browserstack-node-sdk 1.54.0 → 1.54.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 +7 -7
  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
- const a10_0x1c415f=a10_0x4aec;function a10_0x4aec(_0xe93a87,_0x4793d9){const _0x5997e6=a10_0x5997();return a10_0x4aec=function(_0x4aec42,_0x30145a){_0x4aec42=_0x4aec42-0x9e;let _0x354e72=_0x5997e6[_0x4aec42];return _0x354e72;},a10_0x4aec(_0xe93a87,_0x4793d9);}(function(_0x88246f,_0x48a0ef){const _0x3208f7=a10_0x4aec,_0x263822=_0x88246f();while(!![]){try{const _0x2c1941=parseInt(_0x3208f7(0xb3))/0x1+parseInt(_0x3208f7(0xae))/0x2*(parseInt(_0x3208f7(0xca))/0x3)+parseInt(_0x3208f7(0xa6))/0x4+parseInt(_0x3208f7(0xbd))/0x5+-parseInt(_0x3208f7(0xb4))/0x6+-parseInt(_0x3208f7(0x9e))/0x7+parseInt(_0x3208f7(0xbf))/0x8*(-parseInt(_0x3208f7(0xab))/0x9);if(_0x2c1941===_0x48a0ef)break;else _0x263822['push'](_0x263822['shift']());}catch(_0x568651){_0x263822['push'](_0x263822['shift']());}}}(a10_0x5997,0xc7c9c));const {requireModule,modifyCommand,isTrue,markSessionStatus}=require('../../helpers/helper'),setKeepAlive=require(a10_0x1c415f(0xb6)),cucumberModule=requireModule(a10_0x1c415f(0xb9),a10_0x1c415f(0xad)),logger=require('../../helpers/logger')['winstonLogger'];modifyCommand(),setKeepAlive();const Before=cucumberModule[a10_0x1c415f(0xbc)],After=cucumberModule['After'],configuration=process[a10_0x1c415f(0xc8)][a10_0x1c415f(0xa3)];if(configuration!==undefined){const config=JSON['parse'](configuration);isTrue(config[a10_0x1c415f(0xcc)])&&(global[a10_0x1c415f(0xa2)]=!![]),global[a10_0x1c415f(0xb5)]=isTrue(config[a10_0x1c415f(0xc3)]),require(a10_0x1c415f(0xc4))['browserstackAgentV2'](config),global[a10_0x1c415f(0xb7)]=config[a10_0x1c415f(0xaa)]||{};}global[a10_0x1c415f(0xc5)]=0x0;const __setDefaultTimeout=cucumberModule[a10_0x1c415f(0xaf)];function a10_0x5997(){const _0x8aa869=['name','executeScript','QeRXD','__skipSessionName','CONFIG','failed','AoYHI','4295912xQVLRQ','Error:\x20setting\x20status\x20at\x20After:\x20','SKJYM','result','platformCaps','4728177bzkIEe','LJHyR','cucumber','4uKzbkP','setDefaultTimeout','status','passed','timeout','893453YAVxhl','7089414byKnoN','__skipSessionStatus','../../helpers/setKeepAlive','__platformCaps','__error_messages__','cucumber/lib/index.js','initQuit','debug','Before','5699815xuxzZb','\x20|\x20','8wCSMJd','bzcta','join','UqMWi','skipSessionStatus','../../index','__timeout','\x22}}','__driver','env','bstack','321645DmNNnx','then','skipSessionName','HzcgH','ypVVN','session_','5575990NKIJEe'];a10_0x5997=function(){return _0x8aa869;};return a10_0x5997();}cucumberModule['setDefaultTimeout']=_0x514876=>{const _0x45bccd={'GozHO':function(_0x2361c7,_0x3ccb72){return _0x2361c7(_0x3ccb72);}};global['__timeout']=_0x514876,_0x45bccd['GozHO'](__setDefaultTimeout,_0x514876);};const a10_0x4ecad1={};a10_0x4ecad1['name']=a10_0x1c415f(0xc9),Before(a10_0x4ecad1,function(){const _0x21fde5=a10_0x1c415f,_0x8ec443={};_0x8ec443[_0x21fde5(0xcd)]='Inside\x20browserstack\x20Before';const _0x4dd7d2=_0x8ec443;logger[_0x21fde5(0xbb)](_0x4dd7d2[_0x21fde5(0xcd)]),global['__error_messages__']=[];});const a10_0x48c775={};a10_0x48c775[a10_0x1c415f(0x9f)]=a10_0x1c415f(0xc9),a10_0x48c775[a10_0x1c415f(0xb2)]=0x2710,After(a10_0x48c775,function(_0x415d4d,_0x20a724){const _0x4e32b2=a10_0x1c415f,_0x307047={'MIMWc':function(_0x10c12d,_0x49fc33){return _0x10c12d===_0x49fc33;},'SKJYM':_0x4e32b2(0xa4),'bzcta':function(_0x3d3b1f,_0x650e52,_0x463468,_0x2ec86a){return _0x3d3b1f(_0x650e52,_0x463468,_0x2ec86a);},'QeRXD':_0x4e32b2(0xbe),'KYQnC':function(_0x54d340,_0x2bcb4c,_0x38fa59){return _0x54d340(_0x2bcb4c,_0x38fa59);},'ypVVN':_0x4e32b2(0xb1),'UqMWi':function(_0x32aadc){return _0x32aadc();},'LJHyR':function(_0x5e6f1c,_0x359ac7){return _0x5e6f1c(_0x359ac7);},'AoYHI':'Inside\x20browserstack\x20After'};logger[_0x4e32b2(0xbb)](_0x307047[_0x4e32b2(0xa5)]),new Promise(async(_0x3b82c4,_0x4e63c1)=>{const _0x3dbf99=_0x4e32b2;let _0x207f84=![];try{await global[_0x3dbf99(0xc7)][_0x3dbf99(0xcf)],_0x207f84=!![],!global[_0x3dbf99(0xa2)]&&await global['__driver'][_0x3dbf99(0xa0)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22'+_0x415d4d['pickle'][_0x3dbf99(0x9f)]+_0x3dbf99(0xc6)),_0x307047['MIMWc'](_0x415d4d[_0x3dbf99(0xa9)][_0x3dbf99(0xb0)]['toLowerCase'](),_0x307047[_0x3dbf99(0xa8)])?await _0x307047[_0x3dbf99(0xc0)](markSessionStatus,global[_0x3dbf99(0xc7)],_0x307047[_0x3dbf99(0xa8)],global[_0x3dbf99(0xb8)][_0x3dbf99(0xc1)](_0x307047[_0x3dbf99(0xa1)])):await _0x307047['KYQnC'](markSessionStatus,global['__driver'],_0x307047[_0x3dbf99(0xce)]);}catch(_0x55e6c8){logger[_0x3dbf99(0xbb)](_0x3dbf99(0xa7)+_0x55e6c8);}if(_0x207f84)try{await global[_0x3dbf99(0xc7)][_0x3dbf99(0xba)](),_0x307047['UqMWi'](_0x3b82c4);}catch(_0x58a024){logger[_0x3dbf99(0xbb)]('Error:\x20quiting\x20at\x20After:\x20'+_0x58a024),_0x307047[_0x3dbf99(0xac)](_0x4e63c1,_0x58a024);}else _0x307047[_0x3dbf99(0xc2)](_0x4e63c1);})[_0x4e32b2(0xcb)](()=>_0x20a724());});
1
+ const a10_0x1915e9=a10_0x2a62;(function(_0x1b368e,_0x4c5604){const _0x660c2b=a10_0x2a62,_0x537a64=_0x1b368e();while(!![]){try{const _0x2e6f1e=-parseInt(_0x660c2b(0x1e2))/0x1*(parseInt(_0x660c2b(0x1fb))/0x2)+parseInt(_0x660c2b(0x1d5))/0x3*(parseInt(_0x660c2b(0x1fc))/0x4)+-parseInt(_0x660c2b(0x1e0))/0x5+parseInt(_0x660c2b(0x1ec))/0x6+parseInt(_0x660c2b(0x1df))/0x7+parseInt(_0x660c2b(0x1db))/0x8+-parseInt(_0x660c2b(0x1fd))/0x9*(-parseInt(_0x660c2b(0x1f6))/0xa);if(_0x2e6f1e===_0x4c5604)break;else _0x537a64['push'](_0x537a64['shift']());}catch(_0x140226){_0x537a64['push'](_0x537a64['shift']());}}}(a10_0x3801,0xc2566));const {requireModule,modifyCommand,isTrue,markSessionStatus}=require(a10_0x1915e9(0x1ed)),setKeepAlive=require(a10_0x1915e9(0x1e9)),cucumberModule=requireModule(a10_0x1915e9(0x1cc),'cucumber'),logger=require(a10_0x1915e9(0x1d7))[a10_0x1915e9(0x1dd)];modifyCommand(),setKeepAlive();const Before=cucumberModule[a10_0x1915e9(0x1eb)],After=cucumberModule[a10_0x1915e9(0x1d6)],configuration=process[a10_0x1915e9(0x1ea)][a10_0x1915e9(0x1f4)];if(configuration!==undefined){const config=JSON[a10_0x1915e9(0x1cb)](configuration);isTrue(config[a10_0x1915e9(0x1fa)])&&(global[a10_0x1915e9(0x1e8)]=!![]),global[a10_0x1915e9(0x1f5)]=isTrue(config['skipSessionStatus']),require('../../index')[a10_0x1915e9(0x1c6)](config),global[a10_0x1915e9(0x1e4)]=config[a10_0x1915e9(0x1c7)]||{};}global['__timeout']=0x0;function a10_0x3801(){const _0x2a910e=['TFsSB','result','session_','debug','CONFIG','__skipSessionStatus','3195070mCGJBV','\x22}}','__driver','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','skipSessionName','208054jBnLXF','2388728jkchaF','36JYFhYN','SYvkd','browserstackAgentV2','platformCaps','Inside\x20browserstack\x20After','status','failed','parse','cucumber/lib/index.js','passed','__timeout','lyfmJ','__error_messages__','\x20|\x20','LsxnP','ZLksc','then','6JlkSWW','After','../../helpers/logger','setDefaultTimeout','Error:\x20setting\x20status\x20at\x20After:\x20','bstack','5532968lRSWkU','dYXqk','winstonLogger','KLAVS','879207kEjKNj','5392180riAsjH','FgGRb','14PTXUtr','pickle','__platformCaps','executeScript','name','timeout','__skipSessionName','../../helpers/setKeepAlive','env','Before','247236ZjWWXc','../../helpers/helper','RfItE','join'];a10_0x3801=function(){return _0x2a910e;};return a10_0x3801();}const __setDefaultTimeout=cucumberModule[a10_0x1915e9(0x1d8)];cucumberModule[a10_0x1915e9(0x1d8)]=_0x31d294=>{const _0x31b4bc=a10_0x1915e9,_0x1b60f2={'FgGRb':function(_0x491a97,_0x3531c1){return _0x491a97(_0x3531c1);}};global[_0x31b4bc(0x1ce)]=_0x31d294,_0x1b60f2[_0x31b4bc(0x1e1)](__setDefaultTimeout,_0x31d294);};function a10_0x2a62(_0x5246d9,_0xe377ca){const _0x38016c=a10_0x3801();return a10_0x2a62=function(_0x2a6298,_0xae541b){_0x2a6298=_0x2a6298-0x1c5;let _0x5255a0=_0x38016c[_0x2a6298];return _0x5255a0;},a10_0x2a62(_0x5246d9,_0xe377ca);}const a10_0x27f1b0={};a10_0x27f1b0['name']=a10_0x1915e9(0x1da),Before(a10_0x27f1b0,function(){const _0x24d466=a10_0x1915e9,_0x4928c2={};_0x4928c2['jHXvp']='Inside\x20browserstack\x20Before';const _0x35decd=_0x4928c2;logger[_0x24d466(0x1f3)](_0x35decd['jHXvp']),global['__error_messages__']=[];});const a10_0x3a60bf={};a10_0x3a60bf[a10_0x1915e9(0x1e6)]='bstack',a10_0x3a60bf[a10_0x1915e9(0x1e7)]=0x2710,After(a10_0x3a60bf,function(_0x51abc0,_0x12b289){const _0x59cf18=a10_0x1915e9,_0x53acb1={'RfItE':function(_0x5d7a4f,_0x19fecb){return _0x5d7a4f===_0x19fecb;},'LsxnP':_0x59cf18(0x1ca),'aOagW':function(_0x5d5a54,_0x2e9d20,_0x1f004,_0x33ff5d){return _0x5d5a54(_0x2e9d20,_0x1f004,_0x33ff5d);},'ZOwxV':_0x59cf18(0x1d1),'SYvkd':function(_0x3f1be1,_0x2b2fed,_0x3db2d){return _0x3f1be1(_0x2b2fed,_0x3db2d);},'KLAVS':_0x59cf18(0x1cd),'lyfmJ':function(_0xd081bb){return _0xd081bb();},'dYXqk':function(_0x34f09c,_0x32b041){return _0x34f09c(_0x32b041);},'TFsSB':function(_0x19cac1){return _0x19cac1();},'ZLksc':_0x59cf18(0x1c8)};logger[_0x59cf18(0x1f3)](_0x53acb1[_0x59cf18(0x1d3)]),new Promise(async(_0x44fab5,_0x5446e6)=>{const _0x2f923b=_0x59cf18;let _0xb62cc5=![];try{await global['__driver'][_0x2f923b(0x1f2)],_0xb62cc5=!![],!global[_0x2f923b(0x1e8)]&&await global['__driver'][_0x2f923b(0x1e5)](_0x2f923b(0x1f9)+_0x51abc0[_0x2f923b(0x1e3)][_0x2f923b(0x1e6)]+_0x2f923b(0x1f7)),_0x53acb1[_0x2f923b(0x1ee)](_0x51abc0[_0x2f923b(0x1f1)][_0x2f923b(0x1c9)]['toLowerCase'](),_0x53acb1[_0x2f923b(0x1d2)])?await _0x53acb1['aOagW'](markSessionStatus,global[_0x2f923b(0x1f8)],_0x53acb1[_0x2f923b(0x1d2)],global[_0x2f923b(0x1d0)][_0x2f923b(0x1ef)](_0x53acb1['ZOwxV'])):await _0x53acb1[_0x2f923b(0x1c5)](markSessionStatus,global['__driver'],_0x53acb1[_0x2f923b(0x1de)]);}catch(_0xa886ff){logger['debug'](_0x2f923b(0x1d9)+_0xa886ff);}if(_0xb62cc5)try{await global[_0x2f923b(0x1f8)]['initQuit'](),_0x53acb1[_0x2f923b(0x1cf)](_0x44fab5);}catch(_0x3062cb){logger[_0x2f923b(0x1f3)]('Error:\x20quiting\x20at\x20After:\x20'+_0x3062cb),_0x53acb1[_0x2f923b(0x1dc)](_0x5446e6,_0x3062cb);}else _0x53acb1[_0x2f923b(0x1f0)](_0x5446e6);})[_0x59cf18(0x1d4)](()=>_0x12b289());});
@@ -1 +1 @@
1
- const a11_0x36249c=a11_0x1001;function a11_0x106e(){const _0x4af956=['cucumber/lib/index.js','8TgdbAn','9kFkOJK','254694NtiMSf','502kRqFxn','155HOMAob','2555870duQCsO','150796sDbkCC','@cucumber/cucumber/lib/index.js','BSTACK_DELTA','3421243rjiMOk','114829vOOBdX','@cucumber/cucumber','cucumber','2998938aVAIPM','636CyWTBq','__timeout','3618cIvRYN','../../helpers/helper'];a11_0x106e=function(){return _0x4af956;};return a11_0x106e();}(function(_0x5771b3,_0x4a7a16){const _0x4defc2=a11_0x1001,_0x1bedb2=_0x5771b3();while(!![]){try{const _0x42efa3=parseInt(_0x4defc2(0x7b))/0x1+parseInt(_0x4defc2(0x74))/0x2*(parseInt(_0x4defc2(0x6e))/0x3)+-parseInt(_0x4defc2(0x77))/0x4*(parseInt(_0x4defc2(0x75))/0x5)+-parseInt(_0x4defc2(0x7e))/0x6+-parseInt(_0x4defc2(0x7a))/0x7*(-parseInt(_0x4defc2(0x71))/0x8)+parseInt(_0x4defc2(0x72))/0x9*(parseInt(_0x4defc2(0x76))/0xa)+parseInt(_0x4defc2(0x73))/0xb*(parseInt(_0x4defc2(0x6c))/0xc);if(_0x42efa3===_0x4a7a16)break;else _0x1bedb2['push'](_0x1bedb2['shift']());}catch(_0x537407){_0x1bedb2['push'](_0x1bedb2['shift']());}}}(a11_0x106e,0xafe9d));const {requireModule}=require(a11_0x36249c(0x6f)),constants=require('../utils/constants');let cucumberModule=null;try{cucumberModule=requireModule(a11_0x36249c(0x78),a11_0x36249c(0x7c));}catch(a11_0x45079e){cucumberModule=requireModule(a11_0x36249c(0x70),a11_0x36249c(0x7d));}function a11_0x1001(_0x1a7a0a,_0x22ffa9){const _0x106e48=a11_0x106e();return a11_0x1001=function(_0x10015f,_0x5c4741){_0x10015f=_0x10015f-0x6c;let _0x3b3e33=_0x106e48[_0x10015f];return _0x3b3e33;},a11_0x1001(_0x1a7a0a,_0x22ffa9);}const userValue=global[a11_0x36249c(0x6d)]||0x0;(userValue===0x0||userValue<constants[a11_0x36249c(0x79)])&&cucumberModule['setDefaultTimeout'](constants['BSTACK_DELTA']);
1
+ const a11_0x3d35d3=a11_0x2828;(function(_0x2b909e,_0x3b2e6a){const _0x2471ea=a11_0x2828,_0x268999=_0x2b909e();while(!![]){try{const _0x4b9847=parseInt(_0x2471ea(0xd0))/0x1+parseInt(_0x2471ea(0xcd))/0x2+-parseInt(_0x2471ea(0xd3))/0x3*(parseInt(_0x2471ea(0xd7))/0x4)+parseInt(_0x2471ea(0xd5))/0x5*(-parseInt(_0x2471ea(0xcf))/0x6)+-parseInt(_0x2471ea(0xd6))/0x7+parseInt(_0x2471ea(0xce))/0x8+-parseInt(_0x2471ea(0xcc))/0x9;if(_0x4b9847===_0x3b2e6a)break;else _0x268999['push'](_0x268999['shift']());}catch(_0x40b105){_0x268999['push'](_0x268999['shift']());}}}(a11_0x169e,0xb97f0));const {requireModule}=require('../../helpers/helper'),constants=require('../utils/constants');let cucumberModule=null;function a11_0x2828(_0x31bdec,_0x4cf8b5){const _0x169e98=a11_0x169e();return a11_0x2828=function(_0x282813,_0x1de463){_0x282813=_0x282813-0xcc;let _0x3214d3=_0x169e98[_0x282813];return _0x3214d3;},a11_0x2828(_0x31bdec,_0x4cf8b5);}try{cucumberModule=requireModule('@cucumber/cucumber/lib/index.js','@cucumber/cucumber');}catch(a11_0x34a2dc){cucumberModule=requireModule(a11_0x3d35d3(0xd2),a11_0x3d35d3(0xd1));}const userValue=global[a11_0x3d35d3(0xd4)]||0x0;function a11_0x169e(){const _0x5a20ff=['586722sVfSOw','974182UWXPYr','cucumber','cucumber/lib/index.js','638004hChvMt','__timeout','20LiGvqo','1921094ICsaws','28cjlTAI','2640132AnTOUz','1959540KcCRMw','10027632DeLQmD'];a11_0x169e=function(){return _0x5a20ff;};return a11_0x169e();}(userValue===0x0||userValue<constants['BSTACK_DELTA'])&&cucumberModule['setDefaultTimeout'](constants['BSTACK_DELTA']);
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a12_0x2666bb=a12_0x3638;(function(_0x87dc0b,_0x1b927f){const _0x4714bd=a12_0x3638,_0x58e87c=_0x87dc0b();while(!![]){try{const _0xb0656f=parseInt(_0x4714bd(0x160))/0x1*(-parseInt(_0x4714bd(0x153))/0x2)+parseInt(_0x4714bd(0x172))/0x3+-parseInt(_0x4714bd(0x174))/0x4*(-parseInt(_0x4714bd(0x15e))/0x5)+parseInt(_0x4714bd(0x16a))/0x6*(parseInt(_0x4714bd(0x155))/0x7)+-parseInt(_0x4714bd(0x164))/0x8+parseInt(_0x4714bd(0x163))/0x9*(-parseInt(_0x4714bd(0x177))/0xa)+-parseInt(_0x4714bd(0x17c))/0xb*(parseInt(_0x4714bd(0x15c))/0xc);if(_0xb0656f===_0x1b927f)break;else _0x58e87c['push'](_0x58e87c['shift']());}catch(_0x2df02b){_0x58e87c['push'](_0x58e87c['shift']());}}}(a12_0x5913,0x5340b));const {default:BrowserStackSetup}=require(a12_0x2666bb(0x180)),logger=require(a12_0x2666bb(0x181))[a12_0x2666bb(0x191)],{URL}=require(a12_0x2666bb(0x18d)),helper=require(a12_0x2666bb(0x16d)),{HELP_MESSAGES,ERROR_MESSAGES}=require('./constants'),validHosts=function(_0x566ade){const _0x2bf0d4=a12_0x2666bb;return _0x566ade[_0x2bf0d4(0x16c)](',')[_0x2bf0d4(0x17d)](_0x3ed7cc=>{const _0x4cd899=_0x2bf0d4;try{new URL(_0x3ed7cc[_0x4cd899(0x189)]());}catch(_0x32b5ff){return![];}return!![];});},parseOnPremHosts=function(_0x22cd26){const _0x1f183e=a12_0x2666bb,_0x149c33={};_0x149c33['YAsDP']=function(_0x62fead,_0x4137c4){return _0x62fead===_0x4137c4;},_0x149c33[_0x1f183e(0x168)]='https:',_0x149c33[_0x1f183e(0x14e)]=_0x1f183e(0x166),_0x149c33[_0x1f183e(0x158)]='https';const _0x51e53e=_0x149c33;return _0x22cd26[_0x1f183e(0x16c)](',')['map'](_0x26015e=>{const _0xacbe11=_0x1f183e,_0x1c2c92=new URL(_0x26015e['trim']()),_0xe207b7=_0x1c2c92[_0xacbe11(0x175)],_0x3e2d51=_0x1c2c92[_0xacbe11(0x152)]||(_0x51e53e[_0xacbe11(0x159)](_0x1c2c92['protocol'],_0x51e53e[_0xacbe11(0x168)])?_0x51e53e['XrxNe']:'80'),_0x4a0b06=_0x1c2c92['protocol'][_0xacbe11(0x18e)](':',''),_0x2c36cd=_0x51e53e['YAsDP'](_0x4a0b06,_0x51e53e[_0xacbe11(0x158)])?0x1:0x0;return _0xe207b7+','+_0x3e2d51+','+_0x2c36cd;});},connectCommandBuilder=function(_0x302b8f){const _0x54b791=a12_0x2666bb,_0xee9df0={};_0xee9df0[_0x54b791(0x17a)]=_0x54b791(0x183);const _0x2bd44d=_0xee9df0,_0x10d4c9={};_0x10d4c9[_0x54b791(0x185)]=HELP_MESSAGES[_0x54b791(0x179)][_0x54b791(0x16b)],_0x10d4c9['type']=_0x2bd44d[_0x54b791(0x17a)];const _0x41cb05={};_0x41cb05[_0x54b791(0x185)]=HELP_MESSAGES[_0x54b791(0x179)][_0x54b791(0x18c)],_0x41cb05[_0x54b791(0x161)]=_0x2bd44d[_0x54b791(0x17a)],_0x41cb05[_0x54b791(0x192)]=!![];const _0xeb83f9={};return _0xeb83f9[_0x54b791(0x14b)]=_0x10d4c9,_0xeb83f9[_0x54b791(0x18c)]=_0x41cb05,_0x302b8f[_0x54b791(0x179)](_0xeb83f9);},connectCommandHandler=async function(_0x56036b){const _0x428fc2=a12_0x2666bb,_0x4d55c3={'vaqbB':_0x428fc2(0x17b),'DkCjJ':function(_0x7ad86d,_0x191cc0){return _0x7ad86d===_0x191cc0;},'wivLQ':_0x428fc2(0x182),'dBIZC':_0x428fc2(0x171),'JwzHD':function(_0x21c10b,_0x14053e){return _0x21c10b===_0x14053e;},'WETXv':_0x428fc2(0x170),'avcnZ':function(_0x5e5e1a,_0x4747d0){return _0x5e5e1a(_0x4747d0);},'eDkJn':'Hosts\x20not\x20valid','ipkba':function(_0x155c88,_0x1e2049){return _0x155c88(_0x1e2049);},'Hgvop':_0x428fc2(0x14f),'fKiwh':_0x428fc2(0x188),'oELZc':_0x428fc2(0x15a)};try{const _0xbaccb0=new BrowserStackSetup(_0x56036b,_0x4d55c3['vaqbB']);_0x56036b['bstackAccesskey']&&(_0xbaccb0['config'][_0x428fc2(0x186)]=_0x56036b[_0x428fc2(0x154)]);if(_0x4d55c3[_0x428fc2(0x165)](typeof _0xbaccb0[_0x428fc2(0x173)][_0x428fc2(0x186)],_0x4d55c3['wivLQ'])){logger[_0x428fc2(0x14d)](_0x4d55c3[_0x428fc2(0x190)]);throw new Error(ERROR_MESSAGES[_0x428fc2(0x16b)][_0x428fc2(0x184)]);}const _0x4c85a3=_0x56036b['hosts'];if(_0x4d55c3[_0x428fc2(0x193)](typeof _0x4c85a3,_0x4d55c3[_0x428fc2(0x18f)])){logger[_0x428fc2(0x14d)](_0x4d55c3[_0x428fc2(0x18b)]);throw new Error(ERROR_MESSAGES[_0x428fc2(0x18c)]['missing']);}if(!_0x4d55c3[_0x428fc2(0x18a)](validHosts,_0x4c85a3)){logger[_0x428fc2(0x14d)](_0x4d55c3['eDkJn']);throw new Error(ERROR_MESSAGES[_0x428fc2(0x18c)][_0x428fc2(0x15f)]);}const _0x3144ef=_0x4d55c3[_0x428fc2(0x169)](parseOnPremHosts,_0x4c85a3);_0xbaccb0[_0x428fc2(0x173)][_0x428fc2(0x149)]=!![],_0xbaccb0[_0x428fc2(0x173)][_0x428fc2(0x17f)]['localIdentifier']=_0x4d55c3['Hgvop'],_0xbaccb0['config']['browserStackLocalOptions'][_0x428fc2(0x162)]=_0x3144ef[_0x428fc2(0x14c)](','),helper[_0x428fc2(0x15d)](_0xbaccb0[_0x428fc2(0x173)]),await _0xbaccb0[_0x428fc2(0x176)](),logger[_0x428fc2(0x14a)](_0x4d55c3[_0x428fc2(0x15b)]);}catch(_0x4e8416){logger[_0x428fc2(0x14d)](_0x4d55c3[_0x428fc2(0x151)]);throw new Error(_0x4e8416[_0x428fc2(0x150)]());}};function run(_0x22a175){const _0x2c5252=a12_0x2666bb,_0x42e976={};_0x42e976['vBAmn']=_0x2c5252(0x16e),_0x42e976['QDZxz']='help';const _0x2ee9e4=_0x42e976;_0x22a175['usage'](HELP_MESSAGES[_0x2c5252(0x167)][_0x2c5252(0x178)])[_0x2c5252(0x167)](_0x2ee9e4[_0x2c5252(0x156)],HELP_MESSAGES[_0x2c5252(0x167)][_0x2c5252(0x16e)],connectCommandBuilder,connectCommandHandler)['demandCommand']()['help'](_0x2ee9e4[_0x2c5252(0x16f)])[_0x2c5252(0x187)](HELP_MESSAGES[_0x2c5252(0x167)][_0x2c5252(0x157)]);}function a12_0x3638(_0x1f455,_0x44cb8){const _0x591395=a12_0x5913();return a12_0x3638=function(_0x3638ff,_0x2c633c){_0x3638ff=_0x3638ff-0x149;let _0x4e9b53=_0x591395[_0x3638ff];return _0x4e9b53;},a12_0x3638(_0x1f455,_0x44cb8);}function a12_0x5913(){const _0xc2d87d=['4580032kGHfnK','DkCjJ','443','command','FohQz','ipkba','1146954ovCUtU','bstackAccessKey','split','../../helpers/helper','connect','QDZxz','Integration\x20hosts\x20missing.','BrowserStack\x20access\x20key\x20missing.','1877490DQiBGD','config','43564nMccFX','hostname','setupBrowserstackLocal','20ALqoVA','root','options','ClFdP','integrations','2843203yJpILq','every','exports','browserStackLocalOptions','../../helpers/BrowserStackSetup','../../helpers/logger','undefined','string','missing','describe','accessKey','epilogue','Connection\x20established\x20successfully.','trim','avcnZ','WETXv','hosts','url','replace','wivLQ','dBIZC','winstonLogger','demandOption','JwzHD','browserstackLocal','info','bstack-accesskey','join','error','XrxNe','integrations-repeater','toString','oELZc','port','6sXhSsP','bstackAccesskey','21uyWTeQ','vBAmn','footer','HDwda','YAsDP','Failed\x20to\x20establish\x20connection.','fKiwh','12ydiZpQ','setProxySettings','215iDGyIb','invalid','246GzjImd','type','only','2227059XGHiph'];a12_0x5913=function(){return _0xc2d87d;};return a12_0x5913();}module[a12_0x2666bb(0x17e)]=run;
2
+ 'use strict';function a12_0x456b(_0x49a0f1,_0x137062){const _0x422bad=a12_0x422b();return a12_0x456b=function(_0x456b77,_0x4659aa){_0x456b77=_0x456b77-0xb0;let _0xc21f09=_0x422bad[_0x456b77];return _0xc21f09;},a12_0x456b(_0x49a0f1,_0x137062);}const a12_0x41f712=a12_0x456b;(function(_0x25131d,_0xb42247){const _0x1c0daa=a12_0x456b,_0x47dab9=_0x25131d();while(!![]){try{const _0x5db13b=-parseInt(_0x1c0daa(0xf3))/0x1*(parseInt(_0x1c0daa(0xea))/0x2)+-parseInt(_0x1c0daa(0xe6))/0x3*(parseInt(_0x1c0daa(0xb2))/0x4)+-parseInt(_0x1c0daa(0xf8))/0x5*(parseInt(_0x1c0daa(0xe7))/0x6)+parseInt(_0x1c0daa(0xf0))/0x7+-parseInt(_0x1c0daa(0xcf))/0x8*(parseInt(_0x1c0daa(0xcb))/0x9)+parseInt(_0x1c0daa(0xf9))/0xa*(-parseInt(_0x1c0daa(0xee))/0xb)+parseInt(_0x1c0daa(0xc7))/0xc;if(_0x5db13b===_0xb42247)break;else _0x47dab9['push'](_0x47dab9['shift']());}catch(_0x461b92){_0x47dab9['push'](_0x47dab9['shift']());}}}(a12_0x422b,0x1d60b));function a12_0x422b(){const _0x2478bc=['config','split','Hosts\x20not\x20valid','xMXQT','oWzkF','KZxkE','NNcYi','usage','cUGOq','map','4074xgpbvE','530520SCxNMb','setProxySettings','lHUwp','142HNrGif','../../helpers/BrowserStackSetup','join','qfOvy','189750oQqIzD','error','346689KBsPeg','footer','invalid','637iIXBTS','describe','JdYaD','integrations-repeater','winstonLogger','5fUxxBG','100MXiMDh','JDSrg','browserStackLocalOptions','304GyRPbP','../../helpers/logger','Failed\x20to\x20establish\x20connection.','browserstackLocal','epilogue','type','options','exports','hosts','url','443','bstackAccessKey','./constants','LCRhG','protocol','integrations','bstackAccesskey','toString','missing','trim','QKvGm','7170012cYlKGO','replace','BrowserStack\x20access\x20key\x20missing.','hostname','19926wnVtuW','accessKey','demandOption','port','424yUVZVz','string','help','connect','undefined','setupBrowserstackLocal','RVlcN','https','eVEXH','command','NjlOR','info','pHrWN'];a12_0x422b=function(){return _0x2478bc;};return a12_0x422b();}const {default:BrowserStackSetup}=require(a12_0x41f712(0xeb)),logger=require(a12_0x41f712(0xb3))[a12_0x41f712(0xf7)],{URL}=require(a12_0x41f712(0xbb)),helper=require('../../helpers/helper'),{HELP_MESSAGES,ERROR_MESSAGES}=require(a12_0x41f712(0xbe)),validHosts=function(_0x4600b8){const _0x230164=a12_0x41f712;return _0x4600b8[_0x230164(0xdd)](',')['every'](_0x57adad=>{const _0x5bd569=_0x230164;try{new URL(_0x57adad[_0x5bd569(0xc5)]());}catch(_0x3ff078){return![];}return!![];});},parseOnPremHosts=function(_0x42a660){const _0x5ad689=a12_0x41f712,_0xd3103d={};_0xd3103d[_0x5ad689(0xe2)]=function(_0x3af09c,_0x379167){return _0x3af09c===_0x379167;},_0xd3103d[_0x5ad689(0xed)]='https:',_0xd3103d[_0x5ad689(0xd9)]=_0x5ad689(0xbc),_0xd3103d[_0x5ad689(0xd7)]=function(_0x418414,_0x2f3293){return _0x418414===_0x2f3293;},_0xd3103d['DQmOu']=_0x5ad689(0xd6);const _0x3b698b=_0xd3103d;return _0x42a660[_0x5ad689(0xdd)](',')[_0x5ad689(0xe5)](_0x1e34f2=>{const _0x2089b8=_0x5ad689,_0x3d62b8=new URL(_0x1e34f2[_0x2089b8(0xc5)]()),_0x52f8e5=_0x3d62b8[_0x2089b8(0xca)],_0x5aab44=_0x3d62b8[_0x2089b8(0xce)]||(_0x3b698b[_0x2089b8(0xe2)](_0x3d62b8['protocol'],_0x3b698b[_0x2089b8(0xed)])?_0x3b698b[_0x2089b8(0xd9)]:'80'),_0x42f120=_0x3d62b8[_0x2089b8(0xc0)][_0x2089b8(0xc8)](':',''),_0xda4303=_0x3b698b[_0x2089b8(0xd7)](_0x42f120,_0x3b698b['DQmOu'])?0x1:0x0;return _0x52f8e5+','+_0x5aab44+','+_0xda4303;});},connectCommandBuilder=function(_0x233e02){const _0x33c17a=a12_0x41f712,_0x3a5bee={};_0x3a5bee[_0x33c17a(0xe0)]=_0x33c17a(0xd0);const _0x1be521=_0x3a5bee,_0x279004={};_0x279004[_0x33c17a(0xf4)]=HELP_MESSAGES['options'][_0x33c17a(0xbd)],_0x279004[_0x33c17a(0xb7)]=_0x1be521[_0x33c17a(0xe0)];const _0x38258e={};_0x38258e[_0x33c17a(0xf4)]=HELP_MESSAGES[_0x33c17a(0xb8)][_0x33c17a(0xba)],_0x38258e[_0x33c17a(0xb7)]=_0x1be521[_0x33c17a(0xe0)],_0x38258e[_0x33c17a(0xcd)]=!![];const _0x351d89={};return _0x351d89['bstack-accesskey']=_0x279004,_0x351d89[_0x33c17a(0xba)]=_0x38258e,_0x233e02[_0x33c17a(0xb8)](_0x351d89);},connectCommandHandler=async function(_0x41d29b){const _0x3fdf63=a12_0x41f712,_0x14ef54={'LCRhG':_0x3fdf63(0xc1),'cUGOq':function(_0x54a8ce,_0x4a33d0){return _0x54a8ce===_0x4a33d0;},'KZxkE':_0x3fdf63(0xd3),'LRNbj':_0x3fdf63(0xc9),'JDSrg':'Integration\x20hosts\x20missing.','RVlcN':function(_0x34e86b,_0x3a82ff){return _0x34e86b(_0x3a82ff);},'pHrWN':_0x3fdf63(0xde),'QKvGm':_0x3fdf63(0xf6),'zegMa':'Connection\x20established\x20successfully.','JdYaD':_0x3fdf63(0xb4)};try{const _0x19436b=new BrowserStackSetup(_0x41d29b,_0x14ef54[_0x3fdf63(0xbf)]);_0x41d29b[_0x3fdf63(0xc2)]&&(_0x19436b[_0x3fdf63(0xdc)][_0x3fdf63(0xcc)]=_0x41d29b['bstackAccesskey']);if(_0x14ef54[_0x3fdf63(0xe4)](typeof _0x19436b['config'][_0x3fdf63(0xcc)],_0x14ef54['KZxkE'])){logger['error'](_0x14ef54['LRNbj']);throw new Error(ERROR_MESSAGES['bstackAccessKey'][_0x3fdf63(0xc4)]);}const _0x5b388f=_0x41d29b[_0x3fdf63(0xba)];if(_0x14ef54[_0x3fdf63(0xe4)](typeof _0x5b388f,_0x14ef54[_0x3fdf63(0xe1)])){logger[_0x3fdf63(0xef)](_0x14ef54[_0x3fdf63(0xb0)]);throw new Error(ERROR_MESSAGES[_0x3fdf63(0xba)]['missing']);}if(!_0x14ef54['RVlcN'](validHosts,_0x5b388f)){logger[_0x3fdf63(0xef)](_0x14ef54[_0x3fdf63(0xdb)]);throw new Error(ERROR_MESSAGES[_0x3fdf63(0xba)][_0x3fdf63(0xf2)]);}const _0x19f10c=_0x14ef54[_0x3fdf63(0xd5)](parseOnPremHosts,_0x5b388f);_0x19436b[_0x3fdf63(0xdc)][_0x3fdf63(0xb5)]=!![],_0x19436b[_0x3fdf63(0xdc)][_0x3fdf63(0xb1)]['localIdentifier']=_0x14ef54[_0x3fdf63(0xc6)],_0x19436b[_0x3fdf63(0xdc)]['browserStackLocalOptions']['only']=_0x19f10c[_0x3fdf63(0xec)](','),helper[_0x3fdf63(0xe8)](_0x19436b[_0x3fdf63(0xdc)]),await _0x19436b[_0x3fdf63(0xd4)](),logger[_0x3fdf63(0xda)](_0x14ef54['zegMa']);}catch(_0x1d3506){logger[_0x3fdf63(0xef)](_0x14ef54[_0x3fdf63(0xf5)]);throw new Error(_0x1d3506[_0x3fdf63(0xc3)]());}};function run(_0x5bcd97){const _0x196e9e=a12_0x41f712,_0x31fa63={};_0x31fa63[_0x196e9e(0xe9)]='connect',_0x31fa63[_0x196e9e(0xdf)]=_0x196e9e(0xd1);const _0x1e6d01=_0x31fa63;_0x5bcd97[_0x196e9e(0xe3)](HELP_MESSAGES[_0x196e9e(0xd8)]['root'])[_0x196e9e(0xd8)](_0x1e6d01['lHUwp'],HELP_MESSAGES[_0x196e9e(0xd8)][_0x196e9e(0xd2)],connectCommandBuilder,connectCommandHandler)['demandCommand']()[_0x196e9e(0xd1)](_0x1e6d01[_0x196e9e(0xdf)])[_0x196e9e(0xb6)](HELP_MESSAGES[_0x196e9e(0xd8)][_0x196e9e(0xf1)]);}module[a12_0x41f712(0xb9)]=run;
@@ -1 +1 @@
1
- var a13_0x5398e2=a13_0x5dcf;(function(_0x1db778,_0x16054f){var _0x2c2c36=a13_0x5dcf,_0x4f7653=_0x1db778();while(!![]){try{var _0x5214c3=parseInt(_0x2c2c36(0xdb))/0x1+parseInt(_0x2c2c36(0xd3))/0x2*(parseInt(_0x2c2c36(0xcb))/0x3)+-parseInt(_0x2c2c36(0xc3))/0x4+parseInt(_0x2c2c36(0xce))/0x5*(parseInt(_0x2c2c36(0xd4))/0x6)+-parseInt(_0x2c2c36(0xd6))/0x7*(-parseInt(_0x2c2c36(0xca))/0x8)+-parseInt(_0x2c2c36(0xd0))/0x9+parseInt(_0x2c2c36(0xd5))/0xa*(-parseInt(_0x2c2c36(0xc9))/0xb);if(_0x5214c3===_0x16054f)break;else _0x4f7653['push'](_0x4f7653['shift']());}catch(_0x5b232a){_0x4f7653['push'](_0x4f7653['shift']());}}}(a13_0x3aca,0xefc54));var a13_0x4cec9f={};a13_0x4cec9f['bstackAccessKey']='Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.',a13_0x4cec9f[a13_0x5398e2(0xcf)]=a13_0x5398e2(0xc7);var a13_0x5a22f1={};a13_0x5a22f1['root']=a13_0x5398e2(0xd7),a13_0x5a22f1[a13_0x5398e2(0xd2)]='Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.',a13_0x5a22f1[a13_0x5398e2(0xc5)]=a13_0x5398e2(0xc6);var a13_0x3a4a72={};a13_0x3a4a72['options']=a13_0x4cec9f,a13_0x3a4a72[a13_0x5398e2(0xcd)]=a13_0x5a22f1,exports[a13_0x5398e2(0xcc)]=a13_0x3a4a72;var a13_0x539bb3={};a13_0x539bb3[a13_0x5398e2(0xd9)]='BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.';var a13_0x1c87f2={};function a13_0x5dcf(_0x4fe3c0,_0x5d1527){var _0x3aca65=a13_0x3aca();return a13_0x5dcf=function(_0x5dcfdd,_0x36e4a7){_0x5dcfdd=_0x5dcfdd-0xc3;var _0x2d3818=_0x3aca65[_0x5dcfdd];return _0x2d3818;},a13_0x5dcf(_0x4fe3c0,_0x5d1527);}a13_0x1c87f2[a13_0x5398e2(0xd9)]=a13_0x5398e2(0xc8),a13_0x1c87f2[a13_0x5398e2(0xda)]=a13_0x5398e2(0xd1);function a13_0x3aca(){var _0x4a1ad5=['395vNHGpC','hosts','8762598BTHgjd','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.','connect','1345574qhOcZK','89058dxjHma','20RQWVnW','7maQoIM','Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.','bstackAccessKey','missing','invalid','1460642LCQsqP','1998912iEMyiA','ERROR_MESSAGES','footer','Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.','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.','Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','11759957rfUyRK','10300784AKubVA','3vGrYsD','HELP_MESSAGES','command'];a13_0x3aca=function(){return _0x4a1ad5;};return a13_0x3aca();}var a13_0x3b864e={};a13_0x3b864e[a13_0x5398e2(0xd8)]=a13_0x539bb3,a13_0x3b864e['hosts']=a13_0x1c87f2,exports[a13_0x5398e2(0xc4)]=a13_0x3b864e;
1
+ var a13_0x3af13a=a13_0x3832;(function(_0x12cc03,_0x5b73b0){var _0x2c12fb=a13_0x3832,_0x13040c=_0x12cc03();while(!![]){try{var _0x485333=parseInt(_0x2c12fb(0x1d8))/0x1+-parseInt(_0x2c12fb(0x1d0))/0x2*(-parseInt(_0x2c12fb(0x1cc))/0x3)+-parseInt(_0x2c12fb(0x1cd))/0x4+-parseInt(_0x2c12fb(0x1d3))/0x5*(parseInt(_0x2c12fb(0x1ca))/0x6)+-parseInt(_0x2c12fb(0x1d9))/0x7*(parseInt(_0x2c12fb(0x1cf))/0x8)+-parseInt(_0x2c12fb(0x1cb))/0x9+parseInt(_0x2c12fb(0x1c7))/0xa;if(_0x485333===_0x5b73b0)break;else _0x13040c['push'](_0x13040c['shift']());}catch(_0x50af3e){_0x13040c['push'](_0x13040c['shift']());}}}(a13_0x4605,0x47efa));var a13_0x26190f={};a13_0x26190f['bstackAccessKey']='Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.',a13_0x26190f[a13_0x3af13a(0x1ce)]='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.';var a13_0x56e87c={};a13_0x56e87c[a13_0x3af13a(0x1c9)]=a13_0x3af13a(0x1da),a13_0x56e87c['connect']=a13_0x3af13a(0x1c8),a13_0x56e87c[a13_0x3af13a(0x1d7)]=a13_0x3af13a(0x1d4);var a13_0x445195={};a13_0x445195[a13_0x3af13a(0x1db)]=a13_0x26190f,a13_0x445195['command']=a13_0x56e87c,exports[a13_0x3af13a(0x1d1)]=a13_0x445195;function a13_0x3832(_0x26bff0,_0x239436){var _0x460502=a13_0x4605();return a13_0x3832=function(_0x383282,_0x311704){_0x383282=_0x383282-0x1c7;var _0x2bdf87=_0x460502[_0x383282];return _0x2bdf87;},a13_0x3832(_0x26bff0,_0x239436);}var a13_0x40c22e={};a13_0x40c22e[a13_0x3af13a(0x1d2)]=a13_0x3af13a(0x1d5);var a13_0x4586de={};a13_0x4586de[a13_0x3af13a(0x1d2)]='Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.',a13_0x4586de['invalid']='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.';var a13_0x1af6fd={};a13_0x1af6fd[a13_0x3af13a(0x1d6)]=a13_0x40c22e,a13_0x1af6fd[a13_0x3af13a(0x1ce)]=a13_0x4586de,exports['ERROR_MESSAGES']=a13_0x1af6fd;function a13_0x4605(){var _0x429785=['77018XPwKyb','7zovXHz','Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.','options','5239660HpLxYr','Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.','root','31986fYCYmX','4181787rMSLHB','6ZQGKbr','569212euQjVp','hosts','313336uJGDUR','441068UuRQmf','HELP_MESSAGES','missing','95ZmzOcN','Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.','BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','bstackAccessKey','footer'];a13_0x4605=function(){return _0x429785;};return a13_0x4605();}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a14_0x9beb67=a14_0x2e73;(function(_0x16f5ee,_0x112ec1){const _0x361fd9=a14_0x2e73,_0x411813=_0x16f5ee();while(!![]){try{const _0x2fc631=parseInt(_0x361fd9(0x25d))/0x1*(parseInt(_0x361fd9(0x224))/0x2)+parseInt(_0x361fd9(0x27b))/0x3*(-parseInt(_0x361fd9(0x204))/0x4)+-parseInt(_0x361fd9(0x242))/0x5*(-parseInt(_0x361fd9(0x22b))/0x6)+-parseInt(_0x361fd9(0x28d))/0x7+parseInt(_0x361fd9(0x251))/0x8*(parseInt(_0x361fd9(0x2b1))/0x9)+parseInt(_0x361fd9(0x2bc))/0xa*(parseInt(_0x361fd9(0x2a0))/0xb)+parseInt(_0x361fd9(0x24a))/0xc*(-parseInt(_0x361fd9(0x2f9))/0xd);if(_0x2fc631===_0x112ec1)break;else _0x411813['push'](_0x411813['shift']());}catch(_0x3dfe89){_0x411813['push'](_0x411813['shift']());}}}(a14_0x4bb9,0x7bc61));function a14_0x2e73(_0x3403d9,_0x198753){const _0x4bb91b=a14_0x4bb9();return a14_0x2e73=function(_0x2e7358,_0x5e7b34){_0x2e7358=_0x2e7358-0x1f3;let _0x249a76=_0x4bb91b[_0x2e7358];return _0x249a76;},a14_0x2e73(_0x3403d9,_0x198753);}const fs=require('fs'),path=require(a14_0x9beb67(0x2d0)),util=require('util'),{spawn}=require(a14_0x9beb67(0x26c)),logger=require(a14_0x9beb67(0x2c7))[a14_0x9beb67(0x238)],{default:BrowserStackSetup}=require(a14_0x9beb67(0x258)),helper=require(a14_0x9beb67(0x211)),utilities=require(a14_0x9beb67(0x21f)),constants=require('../utils/constants'),accessibilityHelper=require(a14_0x9beb67(0x2c0)),{updateTestRerunConfig}=require(a14_0x9beb67(0x285)),testOpsHelper=require('../../helpers/test-observability/utils'),{debug}=require(a14_0x9beb67(0x2a6)),TestDetails=require(a14_0x9beb67(0x249)),{getPercyOptions}=require(a14_0x9beb67(0x2b0)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),testhubUtils=require('../../helpers/testhub/utils'),{FRAMEWORKS}=require(a14_0x9beb67(0x252)),PerformanceTester=require(a14_0x9beb67(0x2fb)),PerformanceEvents=require('../../helpers/performance/constants')['EVENTS'],TestOrchestrationHandler=require(a14_0x9beb67(0x23c)),BrowserstackCLI=require(a14_0x9beb67(0x2dd)),{checkPwandBootstrapCli}=require(a14_0x9beb67(0x241)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a14_0x9beb67(0x217)),ClientTroubleShootingService=require(a14_0x9beb67(0x227)),{checkAccessibilityPlatformConfig}=require(a14_0x9beb67(0x2c0)),getUserJestConfigs=async(_0x5e338c,_0x13e30b)=>{const _0x15ef0b=a14_0x9beb67,_0x568104={'sXtNK':_0x15ef0b(0x200),'lvjcT':_0x15ef0b(0x284),'MRlzU':function(_0x277a98,_0x29a6f1){return _0x277a98||_0x29a6f1;},'tOQMl':function(_0xa481e4,_0x3a998f){return _0xa481e4(_0x3a998f);},'yZDSU':_0x15ef0b(0x267),'jcKOx':_0x15ef0b(0x2f2),'jXXDY':_0x15ef0b(0x21a),'QXmPo':_0x15ef0b(0x2df),'dtMAY':_0x15ef0b(0x2ad)};let _0x53656d;try{_0x53656d=helper[_0x15ef0b(0x2d6)](_0x568104[_0x15ef0b(0x25c)],_0x568104[_0x15ef0b(0x2f3)]);}catch{const _0x19e213=helper[_0x15ef0b(0x2d6)](_0x568104[_0x15ef0b(0x2f3)]);_0x53656d={'default':async _0x4ae1d7=>{const _0x2c8ce8=_0x15ef0b,_0x2d1bb1=await _0x19e213[_0x2c8ce8(0x27f)](_0x4ae1d7,{});return _0x2d1bb1[_0x2c8ce8(0x256)];}};}const _0x28de97=_0x13e30b[_0x15ef0b(0x231)](_0x2e2bc1=>_0x2e2bc1===_0x15ef0b(0x2e3));if(!helper['isUndefined'](_0x5e338c['config'])){logger[_0x15ef0b(0x244)]('Getting\x20your\x20jest\x20configs\x20from\x20'+_0x5e338c['config']),process[_0x15ef0b(0x2f4)][_0x15ef0b(0x280)]=_0x5e338c[_0x15ef0b(0x256)];const _0x484655=await(0x0,_0x53656d[_0x15ef0b(0x215)])(path[_0x15ef0b(0x2a5)](_0x5e338c[_0x15ef0b(0x256)]));return _0x13e30b[_0x15ef0b(0x21b)](_0x28de97,0x2),_0x568104[_0x15ef0b(0x2f5)](_0x484655,{});}const _0x235108=_0x568104[_0x15ef0b(0x281)](require,path['join'](process[_0x15ef0b(0x27d)](),_0x568104[_0x15ef0b(0x2a7)]));if(_0x235108['jest'])return logger[_0x15ef0b(0x244)](_0x568104[_0x15ef0b(0x2d9)]),_0x235108[_0x15ef0b(0x214)];const _0x3714f4=['js',_0x568104[_0x15ef0b(0x2e7)],_0x568104[_0x15ef0b(0x2d1)],_0x568104[_0x15ef0b(0x28f)],'ts'];for(const _0x418671 of _0x3714f4){const _0x347618=path[_0x15ef0b(0x2ca)](process['cwd'](),_0x15ef0b(0x247)+_0x418671);if(fs['existsSync'](_0x347618)){process[_0x15ef0b(0x2f4)]['USER_CONFIG_DETAILS_PATH']=_0x347618;const _0x26cd38=await(0x0,_0x53656d['default'])(_0x347618);return _0x26cd38;}}return{};},getSerial=(_0x6ff14c,_0x3d7278)=>{const _0x270670=a14_0x9beb67,_0x3b1dae={};_0x3b1dae[_0x270670(0x283)]=_0x270670(0x1fb),_0x3b1dae[_0x270670(0x1fe)]=function(_0x1bb79c,_0x10acdd){return _0x1bb79c>_0x10acdd;},_0x3b1dae[_0x270670(0x2fa)]=_0x270670(0x2bb);const _0x1cf636=_0x3b1dae;let _0x263744=_0x1cf636['Erwyp'];return _0x1cf636[_0x270670(0x1fe)](_0x6ff14c[_0x270670(0x239)],0x1)&&(!_0x3d7278[_0x270670(0x203)]&&(helper[_0x270670(0x250)](_0x3d7278[_0x270670(0x275)])||_0x1cf636[_0x270670(0x1fe)](_0x3d7278[_0x270670(0x275)],0x1)))&&(_0x263744=_0x1cf636[_0x270670(0x2fa)]),_0x263744;},getMaxWorkers=(_0x317b41,_0x4b7c72,_0x1e867a)=>{const _0x2b3571=a14_0x9beb67,_0x13841e={'LXDjF':function(_0x4f8b1e,_0x11fecd){return _0x4f8b1e(_0x11fecd);}};let _0x26ef90=0x1;if(!helper[_0x2b3571(0x250)](_0x4b7c72['parallelsPerPlatform']))_0x26ef90=_0x13841e[_0x2b3571(0x23f)](parseInt,_0x4b7c72['parallelsPerPlatform']);else{if(!helper[_0x2b3571(0x250)](_0x317b41['maxWorkers']))_0x26ef90=_0x317b41[_0x2b3571(0x275)];else!helper['isUndefined'](_0x1e867a['maxWorkers'])&&(_0x26ef90=_0x1e867a[_0x2b3571(0x275)]);}return _0x26ef90;};async function run(_0x531051,_0x3dab41,_0x8a56af){const _0x3e2893=a14_0x9beb67,_0x403e20={'WRVOB':_0x3e2893(0x2a8),'HGxzz':_0x3e2893(0x214),'lKsJp':function(_0x37fb2a,_0x35a7aa){return _0x37fb2a(_0x35a7aa);},'oLzCP':_0x3e2893(0x230),'yhcwR':function(_0x25def0){return _0x25def0();},'uDeCw':function(_0x55a6ea,_0x58f66d,_0x47608a,_0x17caef){return _0x55a6ea(_0x58f66d,_0x47608a,_0x17caef);},'IHLxF':function(_0x38b2bd,_0x2f84e6,_0x5edfd2,_0x532b24){return _0x38b2bd(_0x2f84e6,_0x5edfd2,_0x532b24);},'ntmWN':function(_0x23fea4,_0x55c06a){return _0x23fea4!=_0x55c06a;},'wtplE':_0x3e2893(0x1fb),'OxZMc':function(_0x344fe1,_0x329505,_0x94a71f){return _0x344fe1(_0x329505,_0x94a71f);},'vUofm':_0x3e2893(0x216),'UHZVg':function(_0x3ed33d,_0x42f131){return _0x3ed33d(_0x42f131);},'CBiYq':'false','eufEH':function(_0x58c5ff,_0x118404,_0x56c710,_0x28285b){return _0x58c5ff(_0x118404,_0x56c710,_0x28285b);},'zZvqw':function(_0x3ec3e6,_0x15de2f){return _0x3ec3e6*_0x15de2f;},'zwlfr':function(_0x406920,_0x521c6e){return _0x406920===_0x521c6e;},'wiUkM':'jest_browserstack.config.cjs','MIelk':'jest_browserstack.config.js','ofTlQ':_0x3e2893(0x295),'pGfER':_0x3e2893(0x21e),'gszsi':_0x3e2893(0x29b),'PxlqU':'customTestRunnerTemplate.js','UvARH':_0x3e2893(0x2e5),'VtMDe':function(_0x53a9f9,_0x18d505){return _0x53a9f9!==_0x18d505;},'BrNJO':_0x3e2893(0x290),'GywlZ':_0x3e2893(0x2b4),'ZoJfo':_0x3e2893(0x22a),'ILeiV':_0x3e2893(0x2a2),'BhzJU':_0x3e2893(0x273),'tCINd':_0x3e2893(0x2d8),'rZPBi':_0x3e2893(0x260),'OIvuk':_0x3e2893(0x28a),'tVmMp':_0x3e2893(0x255),'fEVEM':'customCircus.js','tvRwG':_0x3e2893(0x20d),'Cgvra':_0x3e2893(0x22e),'Geszv':_0x3e2893(0x287),'eqIEZ':_0x3e2893(0x2cc),'qXikU':'test.setup.js','Tprli':_0x3e2893(0x1f8),'CkXYj':function(_0x1ec92b,_0x27c277){return _0x1ec92b&&_0x27c277;},'jmWlt':_0x3e2893(0x294),'lOaXh':_0x3e2893(0x259),'KHlpX':_0x3e2893(0x288),'STygG':_0x3e2893(0x215),'TwFwB':'@jest/core/build/ReporterDispatcher.js','VVnFq':_0x3e2893(0x293),'bRdCv':_0x3e2893(0x23b),'vNMTE':function(_0x4f7541,_0x4659bb){return _0x4f7541>_0x4659bb;},'kchcp':'Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','oKvdm':'--config','KqhhO':function(_0x271c5a,_0x3ec169,_0x2052b6,_0x524348){return _0x271c5a(_0x3ec169,_0x2052b6,_0x524348);},'JVvQV':_0x3e2893(0x2c1),'qYbmb':function(_0x3f0542,_0x402c71){return _0x3f0542===_0x402c71;},'oSpJb':_0x3e2893(0x274),'DgNkZ':_0x3e2893(0x2b7),'nOwwv':'close'},_0x2ec7e7=helper[_0x3e2893(0x2b8)](_0x403e20[_0x3e2893(0x237)]);global[_0x3e2893(0x2d4)]=!!_0x2ec7e7;const _0x36e1a5=_0x403e20['yhcwR'](getPuppeteerVersion);global['__isPuppeteerInstalled']=!!_0x36e1a5;helper['isBrowserstackInfra']()?(await _0x8a56af[_0x3e2893(0x1f5)](_0x531051),await helper[_0x3e2893(0x210)](_0x8a56af[_0x3e2893(0x256)])):await _0x8a56af[_0x3e2893(0x254)]();if(_0x2ec7e7)await _0x403e20[_0x3e2893(0x2af)](checkPwandBootstrapCli,_0x2ec7e7,constants['FRAMEWORKS']['JEST'],_0x8a56af);else _0x36e1a5&&await _0x403e20[_0x3e2893(0x243)](checkPuppeteerAndBootstrapCli,_0x36e1a5,constants[_0x3e2893(0x24e)][_0x3e2893(0x2f7)],_0x8a56af);if(!_0x8a56af['config'])return;_0x403e20['ntmWN'](_0x8a56af[_0x3e2893(0x256)]['testObservability'],null)?process[_0x3e2893(0x2f4)][_0x3e2893(0x2e1)]=_0x8a56af['config'][_0x3e2893(0x20f)]:process[_0x3e2893(0x2f4)][_0x3e2893(0x2e1)]=_0x403e20[_0x3e2893(0x291)];const _0x5e16db=new TestOrchestrationHandler(_0x8a56af[_0x3e2893(0x256)]),_0x404147=await _0x403e20[_0x3e2893(0x2be)](getUserJestConfigs,_0x531051,_0x3dab41);logger[_0x3e2893(0x244)](_0x403e20[_0x3e2893(0x2ba)]);const _0x58fb96=Object[_0x3e2893(0x1fc)]({},_0x404147);_0x58fb96[_0x3e2893(0x2ac)]=Object['assign']({},_0x58fb96[_0x3e2893(0x2ac)],{'server':helper['getHubUrl'](_0x8a56af[_0x3e2893(0x256)]),'environment':_0x404147['testEnvironment']}),_0x58fb96[_0x3e2893(0x2ac)][_0x3e2893(0x207)]=_0x403e20[_0x3e2893(0x2da)](getPercyOptions,_0x8a56af['config']);const _0x4609ed=helper[_0x3e2893(0x2e6)](_0x8a56af[_0x3e2893(0x256)]);!helper[_0x3e2893(0x250)](_0x8a56af[_0x3e2893(0x256)][_0x3e2893(0x24c)])&&(process[_0x3e2893(0x2f4)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x3e2893(0x222)](_0x8a56af['config'][_0x3e2893(0x24c)]));if(!BrowserstackCLI[_0x3e2893(0x2b6)]()[_0x3e2893(0x1f9)]()){const _0x2f60c8=await TestHubHandler[_0x3e2893(0x2ee)](FRAMEWORKS[_0x3e2893(0x2f7)],_0x8a56af);}const _0xeedeff=helper[_0x3e2893(0x1ff)](_0x8a56af[_0x3e2893(0x256)],_0x4609ed,constants[_0x3e2893(0x24e)][_0x3e2893(0x2f7)]);process[_0x3e2893(0x2f4)][_0x3e2893(0x2f0)]=JSON['stringify'](_0xeedeff);let _0xcf250a=_0x8a56af[_0x3e2893(0x256)][_0x3e2893(0x25e)];_0xcf250a=_0xcf250a||accessibilityHelper[_0x3e2893(0x2d5)](_0x8a56af[_0x3e2893(0x256)]),process['env'][_0x3e2893(0x1fd)]=_0xcf250a,logger['debug']('[Jest\x20Command]\x20Accessibility\x20enabled:\x20'+_0xcf250a+_0x3e2893(0x2c2)+BrowserstackCLI['getInstance']()['isRunning']());if(_0x2ec7e7)try{const _0x3e911f=_0x403e20[_0x3e2893(0x2a4)](checkAccessibilityPlatformConfig,_0x8a56af[_0x3e2893(0x256)]);process[_0x3e2893(0x2f4)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x3e911f?_0x403e20['wtplE']:_0x403e20[_0x3e2893(0x1fa)],logger[_0x3e2893(0x2aa)](_0x3e2893(0x228)+_0x3e911f+_0x3e2893(0x2cf)+process[_0x3e2893(0x2f4)][_0x3e2893(0x2b5)]);}catch(_0x1da8f8){logger[_0x3e2893(0x2aa)](_0x3e2893(0x22c)+util[_0x3e2893(0x263)](_0x1da8f8));}_0x58fb96[_0x3e2893(0x2ac)][_0x3e2893(0x209)]=_0xeedeff,_0x58fb96[_0x3e2893(0x2ac)][_0x3e2893(0x20e)]=_0x403e20[_0x3e2893(0x2be)](getSerial,_0xeedeff,_0x531051),_0x58fb96[_0x3e2893(0x2ac)][_0x3e2893(0x206)]=_0x403e20['eufEH'](getMaxWorkers,_0x531051,_0x8a56af['config'],_0x404147),_0x58fb96['testEnvironmentOptions'][_0x3e2893(0x264)]=_0x8a56af[_0x3e2893(0x256)]['proxySettings'],_0x58fb96[_0x3e2893(0x2ac)][_0x3e2893(0x26e)]=_0x403e20[_0x3e2893(0x236)](_0x531051[_0x3e2893(0x24d)],0x1)||0x1388,_0x58fb96[_0x3e2893(0x2ac)]['skipSessionName']=_0x8a56af['config'][_0x3e2893(0x286)][_0x3e2893(0x27a)],_0x58fb96[_0x3e2893(0x2ac)][_0x3e2893(0x229)]=_0x8a56af['config']['testContextOptions'][_0x3e2893(0x229)],_0x58fb96[_0x3e2893(0x2ac)][_0x3e2893(0x27e)]=_0x8a56af[_0x3e2893(0x256)][_0x3e2893(0x2e2)],_0x58fb96[_0x3e2893(0x2ac)][_0x3e2893(0x29f)]=_0x8a56af[_0x3e2893(0x256)][_0x3e2893(0x29f)],_0x58fb96['testEnvironmentOptions']['platformCaps']=_0x8a56af[_0x3e2893(0x256)]['platforms'];const _0x223b7a=helper['parseTestOrchestrationOptions'](_0x8a56af[_0x3e2893(0x256)]);if(!helper[_0x3e2893(0x2f1)](_0x223b7a)){helper['isNotUndefined'](_0x223b7a[_0x3e2893(0x233)])&&(_0x58fb96[_0x3e2893(0x2ac)][_0x3e2893(0x221)]=_0x223b7a[_0x3e2893(0x233)][_0x3e2893(0x25f)]);if(helper[_0x3e2893(0x25b)](_0x223b7a[_0x3e2893(0x2ea)])&&helper[_0x3e2893(0x25b)](_0x223b7a['abortBuildOnFailure']['workingDir'])){const _0x279642={};_0x279642[_0x3e2893(0x223)]=_0x223b7a['abortBuildOnFailure']['maxFailures'],_0x279642[_0x3e2893(0x248)]=_0x223b7a[_0x3e2893(0x2ea)]['workingDir'],_0x58fb96[_0x3e2893(0x2ac)][_0x3e2893(0x2e8)]=_0x279642;}}let _0x494b95='';_0x403e20[_0x3e2893(0x2bf)](helper[_0x3e2893(0x26b)](),constants[_0x3e2893(0x2b2)]['MODULE'])?_0x494b95=_0x403e20[_0x3e2893(0x2ae)]:_0x494b95=_0x403e20['MIelk'];const _0x2b7c17=_0x494b95,_0x26e266=path[_0x3e2893(0x2ca)](__dirname,_0x403e20[_0x3e2893(0x261)],_0x403e20[_0x3e2893(0x28b)]),_0x236896=path['join'](__dirname,_0x403e20['ofTlQ'],_0x403e20['gszsi']),_0x94d32c=path['join'](__dirname,_0x403e20[_0x3e2893(0x261)],_0x403e20[_0x3e2893(0x2e9)]);_0x58fb96[_0x3e2893(0x24b)]&&(process[_0x3e2893(0x2f4)]['BSTACK_JEST_TEST_ENV']=_0x58fb96[_0x3e2893(0x24b)]);_0x58fb96[_0x3e2893(0x24b)]=path[_0x3e2893(0x2ca)](__dirname,_0x403e20['ofTlQ'],_0x403e20[_0x3e2893(0x235)]);const _0xbd7995=_0x404147['runner'];if(_0xbd7995&&_0x403e20[_0x3e2893(0x2ce)](_0xbd7995,_0x403e20[_0x3e2893(0x21d)])){const _0x53e472=_0xbd7995[_0x3e2893(0x23e)](_0x403e20[_0x3e2893(0x2eb)])?_0xbd7995:'jest-runner-'+_0xbd7995;process[_0x3e2893(0x2f4)][_0x3e2893(0x282)]=_0x53e472,logger[_0x3e2893(0x244)](_0x3e2893(0x205)+_0x53e472);}_0x58fb96[_0x3e2893(0x240)]=_0x236896,_0x58fb96[_0x3e2893(0x2cd)]=_0x58fb96[_0x3e2893(0x2cd)]||[],_0x58fb96[_0x3e2893(0x2cd)][_0x3e2893(0x2c5)](path[_0x3e2893(0x2ca)](__dirname,_0x403e20['ZoJfo']));_0x5e16db[_0x3e2893(0x22d)]()&&(_0x58fb96['testSequencer']=path['join'](__dirname,_0x403e20[_0x3e2893(0x261)],_0x403e20[_0x3e2893(0x268)]));if(testhubUtils['shouldProcessEventForTesthub']()||BrowserstackCLI[_0x3e2893(0x2b6)]()[_0x3e2893(0x28e)]()){let _0x55549d=null;try{_0x55549d=helper[_0x3e2893(0x2d6)](_0x403e20['BhzJU'],_0x403e20[_0x3e2893(0x2f8)]);}catch(_0x23afc0){try{_0x55549d=helper[_0x3e2893(0x2d6)](_0x403e20['rZPBi'],_0x403e20['tCINd']);}catch(_0x4fbafb){_0x403e20[_0x3e2893(0x2da)](debug,_0x3e2893(0x21c)+_0x4fbafb);}}_0x55549d&&(testhubUtils[_0x3e2893(0x213)]()&&_0x58fb96[_0x3e2893(0x2cd)][_0x3e2893(0x2c5)](path['join'](__dirname,_0x403e20[_0x3e2893(0x2a3)],_0x403e20[_0x3e2893(0x257)])),_0x58fb96[_0x3e2893(0x2d2)]=path[_0x3e2893(0x2ca)](__dirname,_0x403e20[_0x3e2893(0x261)],_0x403e20[_0x3e2893(0x299)]));}_0x58fb96['setupFiles']=_0x58fb96['setupFiles']||[];try{helper[_0x3e2893(0x20c)](),_0x58fb96[_0x3e2893(0x272)]['push'](path[_0x3e2893(0x2ca)](__dirname,_0x403e20['tvRwG']));}catch{logger['debug'](_0x403e20[_0x3e2893(0x2c6)]);}try{helper[_0x3e2893(0x22f)]['apply'](null,[_0x403e20[_0x3e2893(0x237)],_0x403e20[_0x3e2893(0x296)]]),logger[_0x3e2893(0x2aa)](_0x403e20[_0x3e2893(0x29c)]),_0x58fb96[_0x3e2893(0x272)]['push'](path[_0x3e2893(0x2ca)](__dirname,_0x403e20['qXikU']));}catch(_0x5a05ff){logger[_0x3e2893(0x2aa)](_0x403e20[_0x3e2893(0x292)],_0x5a05ff);}if(_0x403e20[_0x3e2893(0x262)](!_0x2ec7e7,_0x36e1a5)){try{logger['debug'](_0x403e20[_0x3e2893(0x29d)]),_0x58fb96[_0x3e2893(0x272)][_0x3e2893(0x2c5)](path[_0x3e2893(0x2ca)](__dirname,'..',_0x403e20[_0x3e2893(0x1f7)],_0x403e20[_0x3e2893(0x297)]));}catch(_0x53e7ae){logger[_0x3e2893(0x2aa)](_0x3e2893(0x208)+_0x53e7ae['message']);}try{const _0x7ce32c=require[_0x3e2893(0x2a5)](_0x403e20[_0x3e2893(0x23a)]),_0x4f748f=path[_0x3e2893(0x2ef)](_0x7ce32c)['replace'](/\\/g,'/'),_0x5b019c={};_0x5b019c[_0x3e2893(0x2c4)]=_0x4f748f+_0x3e2893(0x279),_0x58fb96['moduleNameMapper']=Object[_0x3e2893(0x1fc)]({},_0x58fb96[_0x3e2893(0x2ec)]||{},_0x5b019c),logger[_0x3e2893(0x2aa)](_0x3e2893(0x298)+_0x4f748f);}catch(_0x1d00a5){logger[_0x3e2893(0x2aa)](_0x3e2893(0x2de)+_0x1d00a5[_0x3e2893(0x2e0)]);}}_0x58fb96[_0x3e2893(0x25a)]=_0x58fb96[_0x3e2893(0x25a)]||[_0x403e20[_0x3e2893(0x270)]],_0x403e20[_0x3e2893(0x2be)](updateTestRerunConfig,_0x58fb96,_0x8a56af);const _0x2ae2d3=fs['readFileSync'](_0x94d32c),_0x54603c=helper[_0x3e2893(0x2ab)](_0x403e20['TwFwB'],_0x403e20[_0x3e2893(0x276)]);!_0x54603c[_0x3e2893(0x277)]?fs[_0x3e2893(0x225)](_0x58fb96['runner'],'\x0a\x20\x20\x20\x20\x20\x20'+_0x2ae2d3+_0x3e2893(0x2d3)+_0x8a56af['config'][_0x3e2893(0x29e)][_0x3e2893(0x239)]+_0x3e2893(0x2a9)):fs[_0x3e2893(0x225)](_0x58fb96[_0x3e2893(0x240)],_0x3e2893(0x1f4)+_0x2ae2d3+_0x3e2893(0x253)+_0x8a56af[_0x3e2893(0x256)][_0x3e2893(0x29e)][_0x3e2893(0x239)]+';\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['info'](_0x3e2893(0x201)+_0x2b7c17+_0x3e2893(0x220)),fs[_0x3e2893(0x225)](_0x2b7c17,_0x3e2893(0x234)+JSON[_0x3e2893(0x222)](_0x58fb96)+'\x0amodule.exports\x20=\x20config;');if(_0x5e16db[_0x3e2893(0x22d)]()){logger[_0x3e2893(0x2aa)](_0x403e20['bRdCv']);const _0x120f0d=await _0x5e16db['findTestFiles'](_0x58fb96,_0x3dab41[_0x3e2893(0x20a)](0x1),_0x2b7c17);logger[_0x3e2893(0x2aa)](_0x3e2893(0x218)+JSON['stringify'](_0x120f0d)+_0x3e2893(0x26f));const _0x34ad2a=await _0x5e16db[_0x3e2893(0x266)](_0x120f0d);logger['debug'](_0x3e2893(0x28c)+JSON['stringify'](_0x34ad2a)),_0x34ad2a&&_0x403e20[_0x3e2893(0x246)](_0x34ad2a[_0x3e2893(0x239)],0x0)&&(process[_0x3e2893(0x2f4)][_0x3e2893(0x278)]=_0x34ad2a?.[_0x3e2893(0x2ca)](','));}logger[_0x3e2893(0x244)](_0x403e20['kchcp']);testhubUtils[_0x3e2893(0x213)]()&&TestDetails[_0x3e2893(0x2ed)]();helper[_0x3e2893(0x29a)]({},_0x3dab41),PerformanceTester['end'](PerformanceEvents[_0x3e2893(0x2cb)]);const _0x2e16b0=[_0x403e20[_0x3e2893(0x2dc)],_0x403e20[_0x3e2893(0x1f6)],_0x2b7c17,..._0x3dab41[_0x3e2893(0x20a)](0x1)],_0x2ade3b=_0x403e20[_0x3e2893(0x2d7)](spawn,_0x403e20[_0x3e2893(0x2c3)],_0x2e16b0,{'shell':_0x403e20[_0x3e2893(0x26d)](process[_0x3e2893(0x20b)],_0x403e20[_0x3e2893(0x289)]),'stdio':_0x403e20[_0x3e2893(0x212)],'env':Object[_0x3e2893(0x1fc)]({},process['env'])});_0x2ade3b['on'](_0x403e20[_0x3e2893(0x269)],async _0x2f1150=>{const _0x16cab5=_0x3e2893;PerformanceTester[_0x16cab5(0x202)](PerformanceEvents['SDK_CLEANUP']);try{const {browserstackFolderPath:_0x7b714,tcgConfigPath:_0x229158}=helper['getTCGConfigFilePaths']();fs[_0x16cab5(0x1f3)](_0x229158),fs[_0x16cab5(0x2db)](_0x7b714);}catch(_0x582f43){logger[_0x16cab5(0x2aa)](_0x403e20[_0x16cab5(0x26a)],_0x582f43);}process[_0x16cab5(0x27c)]=_0x2f1150,logger['debug'](_0x16cab5(0x2b9)+_0x2f1150),logger[_0x16cab5(0x244)](_0x16cab5(0x265)+_0x2b7c17);if(helper[_0x16cab5(0x25b)](_0x223b7a)&&helper[_0x16cab5(0x25b)](_0x223b7a['abortBuildOnFailure'])&&fs['existsSync'](_0x223b7a['abortBuildOnFailure']['workingDir']))try{const _0x2328a0={};_0x2328a0[_0x16cab5(0x245)]=!![],_0x2328a0['force']=!![],fs[_0x16cab5(0x2e4)](_0x223b7a[_0x16cab5(0x2ea)][_0x16cab5(0x248)],_0x2328a0),logger['debug'](_0x16cab5(0x2b3)+_0x223b7a[_0x16cab5(0x2ea)][_0x16cab5(0x248)]);}catch(_0x8fe8c8){logger[_0x16cab5(0x277)]('Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20'+_0x8fe8c8);}let _0x4310f6=null;if(fs['existsSync'](_0x26e266)){_0x4310f6=fs[_0x16cab5(0x226)](_0x26e266);try{_0x4310f6=JSON[_0x16cab5(0x232)](_0x4310f6);}catch(_0x8c7558){logger[_0x16cab5(0x2aa)](_0x16cab5(0x2c8)+_0x26e266+',\x20'+_0x4310f6+_0x16cab5(0x2f6)+_0x8c7558);}fs[_0x16cab5(0x1f3)](_0x26e266);}fs[_0x16cab5(0x1f3)](_0x2b7c17),fs[_0x16cab5(0x1f3)](_0x236896),_0x4310f6&&(_0x8a56af['errorMessage']=helper[_0x16cab5(0x2a1)](_0x4310f6,_0x403e20['HGxzz'],_0x8a56af));const _0x49f4d8=BrowserstackCLI[_0x16cab5(0x219)]();try{await TestHubHandler[_0x16cab5(0x2bd)](),await BrowserstackCLI['getInstance']()[_0x16cab5(0x2bd)]();}catch(_0x12e966){console['log'](_0x12e966),_0x403e20[_0x16cab5(0x2a4)](debug,_0x16cab5(0x271)+util[_0x16cab5(0x263)](_0x12e966));}testOpsHelper[_0x16cab5(0x2c9)](),TestDetails[_0x16cab5(0x23d)](),await utilities[_0x16cab5(0x24f)](_0x8a56af,_0x49f4d8);});}module['exports']=run;function a14_0x4bb9(){const _0x362bc5=['skipSessionName','150Atmhre','exitCode','cwd','browserStackLogLevel','readInitialOptions','USER_CONFIG_DETAILS_PATH','tOQMl','BSTACK_USER_JEST_RUNNER','Erwyp','jest-config','./test-observability/helper','testContextOptions','playwright','puppeteer-core/package.json','oSpJb','test-observability','pGfER','Reodered\x20Test\x20Files:\x20','1793036Kmzmou','isCliEnabled','dtMAY','jest-runner','wtplE','Tprli','@jest/core','Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','customImplements','Geszv','qXikU','[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20','fEVEM','filterBrowserstackArgs','customTestRunner.js','eqIEZ','jmWlt','platforms','turboScaleUrl','124311MfiyHd','getErrorMessageFromResults','customSequencer.js','OIvuk','lKsJp','resolve','../../helpers/test-observability/utils','yZDSU','error\x20removing\x20tcg\x20config\x20file',';\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','debug','resolveModule','testEnvironmentOptions','json','wiUkM','uDeCw','../../helpers/percy/utils','1809HpCfzl','PACKAGE_TYPE','Deleted\x20fail-fast\x20state\x20folder:\x20','jest-runner-','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','getInstance','inherit','getPackageVersion','child\x20process\x20exited\x20with\x20code\x20','vUofm','false','530FTXFDG','stop','OxZMc','zwlfr','../../helpers/accessibility-automation/helper','npx',',\x20CLI\x20running:\x20','JVvQV','^puppeteer-core/internal/(.*)','push','Cgvra','../../helpers/logger','Error\x20while\x20parsing\x20','printBuildLink','join','SDK_SETUP','Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','setupFilesAfterEnv','VtMDe',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','path','QXmPo','testRunner','\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','__isPlaywrightInstalled','checkAccessibilityPlatformConfig','requireModule','KqhhO','jest-circus','jcKOx','UHZVg','rmdirSync','HGxzz','../v2/browserstackCLI','[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20','cjs','message','BROWSERSTACK_TEST_OBSERVABILITY_YML','logLevel','--config','rmSync','customEnvironment.js','useW3C','jXXDY','failFast','PxlqU','abortBuildOnFailure','GywlZ','moduleNameMapper','setup','launchBuild','dirname','BROWSERSTACK_CAPABILITIES','isEmpty','Getting\x20your\x20jest\x20configs\x20from\x20package.json','lvjcT','env','MRlzU','\x20:\x20','JEST','tCINd','35048EKouIV','bznRm','../../helpers/performance/performance-tester','unlinkSync','\x0a\x20\x20\x20\x20\x20\x20','initialize','oKvdm','lOaXh','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','isRunning','CBiYq','true','assign','BROWSERSTACK_TEST_ACCESSIBILITY_YML','gqZYG','prepareCapabilities','jest-config/build/readConfigFileAndSetRootDir.js','Creating\x20','start','runInBand','3572XgOGEb','Preserving\x20user\x27s\x20Jest\x20runner:\x20','parallels__','browserStackPercyOptions','Puppeteer\x20setup\x20error:\x20','capabilities','slice','platform','requireSeleniumWebdriver','test_before.setup.js','serial__','testObservability','handleApp','../../helpers/helper','DgNkZ','shouldProcessEventForTesthub','jest','default','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','../../helpers/puppeteer-helper','Found:\x20','isCLIEnabled','mjs','splice','Unable\x20to\x20find\x20jest-circus,\x20','BrNJO','jest_browserstack_results.json','../../helpers/utilities','\x20with\x20browserstack\x20jest\x20configs','retries__','stringify','failureThresholdCount','14NtaawF','writeFileSync','readFileSync','../utils/clientTroubleshootingService','[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20','skipSessionStatus','jest.setup.js','582bQiHMt','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','isTestOrchestrationEnabled','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','requirePWModule','@playwright/test','findIndex','parse','retryTestsOnFailure','const\x20config=','UvARH','zZvqw','oLzCP','winstonLogger','length','KHlpX','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','../../helpers/test-orchestration/testOrchestrationHandler','shutdown','startsWith','LXDjF','runner','../../helpers/playwright-helper','27890iLBVBW','IHLxF','info','recursive','vNMTE','jest.config.','workingDir','./test-observability/test-details','7656ilytDp','testEnvironment','accessibilityOptions','testTimeout','FRAMEWORKS','finalExecution','isUndefined','38088hnlerm','../../helpers/test-observability/constants','\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','setupTCGAuth','data-hooks.js','config','tVmMp','../../helpers/BrowserStackSetup','puppeteer','reporters','isNotUndefined','sXtNK','61549pGZNyg','accessibility','maxRetries','jest-circus/build/runner.js','ofTlQ','CkXYj','format','proxySettings','Deleting\x20','reorderTestFiles','package.json','ILeiV','nOwwv','WRVOB','getPackageType','child_process','qYbmb','timeout__','\x20test\x20files\x20to\x20run.','STygG','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','setupFiles','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','win32','maxWorkers','VVnFq','error','JEST_TEST_ORDER','/internal/$1'];a14_0x4bb9=function(){return _0x362bc5;};return a14_0x4bb9();}
2
+ 'use strict';const a14_0x133cd2=a14_0x2ff0;(function(_0x1c9bd5,_0xd6f669){const _0xf0c912=a14_0x2ff0,_0x389c97=_0x1c9bd5();while(!![]){try{const _0x2e5428=parseInt(_0xf0c912(0x1e2))/0x1+-parseInt(_0xf0c912(0x16e))/0x2*(parseInt(_0xf0c912(0x1b1))/0x3)+parseInt(_0xf0c912(0x134))/0x4+parseInt(_0xf0c912(0x1c7))/0x5*(parseInt(_0xf0c912(0x1a0))/0x6)+parseInt(_0xf0c912(0x12c))/0x7*(-parseInt(_0xf0c912(0x102))/0x8)+-parseInt(_0xf0c912(0x146))/0x9*(parseInt(_0xf0c912(0x126))/0xa)+-parseInt(_0xf0c912(0x16f))/0xb;if(_0x2e5428===_0xd6f669)break;else _0x389c97['push'](_0x389c97['shift']());}catch(_0x3beadf){_0x389c97['push'](_0x389c97['shift']());}}}(a14_0x1532,0x3f5c0));const fs=require('fs'),path=require('path'),util=require(a14_0x133cd2(0x129)),{spawn}=require(a14_0x133cd2(0x170)),logger=require('../../helpers/logger')['winstonLogger'],{default:BrowserStackSetup}=require(a14_0x133cd2(0x18f)),helper=require('../../helpers/helper'),utilities=require(a14_0x133cd2(0x105)),constants=require(a14_0x133cd2(0x12f)),accessibilityHelper=require('../../helpers/accessibility-automation/helper'),{updateTestRerunConfig}=require(a14_0x133cd2(0x18c)),testOpsHelper=require(a14_0x133cd2(0x1b6)),{debug}=require('../../helpers/test-observability/utils'),TestDetails=require(a14_0x133cd2(0x16a)),{getPercyOptions}=require(a14_0x133cd2(0x17d)),TestHubHandler=require(a14_0x133cd2(0x1e6)),testhubUtils=require('../../helpers/testhub/utils'),{FRAMEWORKS}=require(a14_0x133cd2(0x144)),PerformanceTester=require(a14_0x133cd2(0x1db)),PerformanceEvents=require(a14_0x133cd2(0x138))['EVENTS'],TestOrchestrationHandler=require(a14_0x133cd2(0x140)),BrowserstackCLI=require(a14_0x133cd2(0x185)),{checkPwandBootstrapCli}=require('../../helpers/playwright-helper'),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require('../../helpers/puppeteer-helper'),ClientTroubleShootingService=require('../utils/clientTroubleshootingService'),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),getUserJestConfigs=async(_0x51b023,_0x355969)=>{const _0x33c41d=a14_0x133cd2,_0xdae227={'NVBAK':_0x33c41d(0x1eb),'rRlDH':_0x33c41d(0x19a),'dsSTC':function(_0x3dacc2,_0xae166a){return _0x3dacc2||_0xae166a;},'CQDtk':function(_0x62d6f8,_0x3ab293){return _0x62d6f8(_0x3ab293);},'GrXxu':'package.json','HZVQT':'Getting\x20your\x20jest\x20configs\x20from\x20package.json','rXZhZ':_0x33c41d(0x1df),'EupiO':_0x33c41d(0x1e8),'LSxKE':_0x33c41d(0x125)};let _0x2c0f9c;try{_0x2c0f9c=helper[_0x33c41d(0x173)](_0xdae227[_0x33c41d(0x159)],_0xdae227[_0x33c41d(0x1b5)]);}catch{const _0x6219c8=helper['requireModule'](_0xdae227[_0x33c41d(0x1b5)]);_0x2c0f9c={'default':async _0x23571d=>{const _0x5f57f5=await _0x6219c8['readInitialOptions'](_0x23571d,{});return _0x5f57f5['config'];}};}const _0x393911=_0x355969[_0x33c41d(0x10a)](_0x12e69f=>_0x12e69f==='--config');if(!helper[_0x33c41d(0x115)](_0x51b023[_0x33c41d(0x1c0)])){logger[_0x33c41d(0x14d)](_0x33c41d(0x118)+_0x51b023['config']),process[_0x33c41d(0x143)][_0x33c41d(0x1ad)]=_0x51b023[_0x33c41d(0x1c0)];const _0x31a0d4=await(0x0,_0x2c0f9c['default'])(path['resolve'](_0x51b023[_0x33c41d(0x1c0)]));return _0x355969[_0x33c41d(0x17a)](_0x393911,0x2),_0xdae227[_0x33c41d(0x121)](_0x31a0d4,{});}const _0x33d5b9=_0xdae227[_0x33c41d(0x13b)](require,path['join'](process['cwd'](),_0xdae227[_0x33c41d(0x137)]));if(_0x33d5b9[_0x33c41d(0x189)])return logger[_0x33c41d(0x14d)](_0xdae227[_0x33c41d(0x1c5)]),_0x33d5b9[_0x33c41d(0x189)];const _0x358b23=['js',_0xdae227[_0x33c41d(0x1d6)],_0xdae227['EupiO'],_0xdae227[_0x33c41d(0x187)],'ts'];for(const _0x3adc69 of _0x358b23){const _0xeec7ce=path[_0x33c41d(0x19f)](process[_0x33c41d(0x1ce)](),'jest.config.'+_0x3adc69);if(fs[_0x33c41d(0x151)](_0xeec7ce)){process[_0x33c41d(0x143)][_0x33c41d(0x1ad)]=_0xeec7ce;const _0xaf19cc=await(0x0,_0x2c0f9c[_0x33c41d(0x1b9)])(_0xeec7ce);return _0xaf19cc;}}return{};},getSerial=(_0x31752c,_0x4ce2e8)=>{const _0x391e9f=a14_0x133cd2,_0x50b818={};_0x50b818[_0x391e9f(0x17e)]=_0x391e9f(0x14b),_0x50b818[_0x391e9f(0x19c)]=function(_0x4cc0cb,_0x238a1a){return _0x4cc0cb>_0x238a1a;},_0x50b818[_0x391e9f(0x1d5)]='false';const _0x521c0f=_0x50b818;let _0x2ec2f0=_0x521c0f[_0x391e9f(0x17e)];return _0x521c0f[_0x391e9f(0x19c)](_0x31752c[_0x391e9f(0x106)],0x1)&&(!_0x4ce2e8['runInBand']&&(helper[_0x391e9f(0x115)](_0x4ce2e8['maxWorkers'])||_0x521c0f[_0x391e9f(0x19c)](_0x4ce2e8['maxWorkers'],0x1)))&&(_0x2ec2f0=_0x521c0f[_0x391e9f(0x1d5)]),_0x2ec2f0;},getMaxWorkers=(_0x8e2b5f,_0x4f3cb4,_0x2cedcd)=>{const _0xe6eec7=a14_0x133cd2,_0x565588={'YuwNC':function(_0x2e5566,_0x5157a1){return _0x2e5566(_0x5157a1);}};let _0x370d77=0x1;if(!helper[_0xe6eec7(0x115)](_0x4f3cb4[_0xe6eec7(0x1a5)]))_0x370d77=_0x565588[_0xe6eec7(0x1e5)](parseInt,_0x4f3cb4[_0xe6eec7(0x1a5)]);else{if(!helper[_0xe6eec7(0x115)](_0x8e2b5f[_0xe6eec7(0x139)]))_0x370d77=_0x8e2b5f[_0xe6eec7(0x139)];else!helper[_0xe6eec7(0x115)](_0x2cedcd[_0xe6eec7(0x139)])&&(_0x370d77=_0x2cedcd[_0xe6eec7(0x139)]);}return _0x370d77;};async function run(_0x4e6e7a,_0x288c23,_0x476ca6){const _0x314759=a14_0x133cd2,_0x47b961={'Inkor':_0x314759(0x12e),'IbAxp':'jest','jHDvy':function(_0xc3fb20,_0x573965){return _0xc3fb20(_0x573965);},'KTAML':_0x314759(0x169),'knnvM':function(_0x35804a){return _0x35804a();},'EqkvR':function(_0x4adc76,_0x1acd46,_0xd8b903,_0x3e2192){return _0x4adc76(_0x1acd46,_0xd8b903,_0x3e2192);},'QHFVj':function(_0x32e415,_0x33f25f){return _0x32e415!=_0x33f25f;},'sefIs':'true','EFnPL':function(_0x6690d3,_0x52d15f,_0x20e986){return _0x6690d3(_0x52d15f,_0x20e986);},'LoZRV':_0x314759(0x175),'lfhLF':_0x314759(0x1d1),'NMMvf':function(_0x191e6e,_0x2c5627,_0xb5438e){return _0x191e6e(_0x2c5627,_0xb5438e);},'tiTSF':function(_0x11b70a,_0x151ccf,_0x3fbd17,_0x44112f){return _0x11b70a(_0x151ccf,_0x3fbd17,_0x44112f);},'zKelf':function(_0x248e62,_0x49caaa){return _0x248e62*_0x49caaa;},'IdKaA':function(_0x5eedc5,_0x23647e){return _0x5eedc5===_0x23647e;},'bLRsq':'jest_browserstack.config.cjs','rPRnI':_0x314759(0x161),'wdmVf':_0x314759(0x1ea),'FBFVp':'jest_browserstack_results.json','FyXSK':_0x314759(0x119),'OvZbo':_0x314759(0x1c2),'ElqhU':'customEnvironment.js','sZqlI':function(_0x1d0b8a,_0x9a6871){return _0x1d0b8a!==_0x9a6871;},'LjUib':'jest-runner','Idurq':_0x314759(0x127),'rwZLM':'jest.setup.js','YwAqx':'customSequencer.js','WYyKa':_0x314759(0x16d),'TcZGL':'jest-circus','KDBid':_0x314759(0x13d),'lfzNH':_0x314759(0x15d),'mpjkU':_0x314759(0x150),'UZfQH':'customCircus.js','BZJod':_0x314759(0x117),'ymyyD':'skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','mqUBk':_0x314759(0x1b8),'ESelK':_0x314759(0x1c1),'AYqfr':_0x314759(0x1d0),'sLVHJ':_0x314759(0x198),'QHaQm':function(_0xa3058c,_0xc35f98){return _0xa3058c&&_0xc35f98;},'TqeyS':_0x314759(0x1a4),'xpOpQ':'puppeteer','OpSbu':_0x314759(0x18a),'OFIBa':_0x314759(0x1b9),'ieXCh':function(_0x2a01c8,_0x6be20b,_0x495340){return _0x2a01c8(_0x6be20b,_0x495340);},'JBbVu':_0x314759(0x15b),'JZhXo':_0x314759(0x122),'ribbw':_0x314759(0x1d4),'KlXbi':function(_0x58ee97,_0x5d20ee){return _0x58ee97>_0x5d20ee;},'nYfJj':_0x314759(0x17b),'jukfU':_0x314759(0x182),'fHKJj':_0x314759(0x176),'RemAv':function(_0x5d7ba0,_0x566649){return _0x5d7ba0===_0x566649;},'HtSlY':_0x314759(0x158),'gFRUw':_0x314759(0x1b0),'QaGWX':'close'},_0x517082=helper[_0x314759(0x101)](_0x47b961[_0x314759(0x109)]);global[_0x314759(0x1cc)]=!!_0x517082;const _0x733438=_0x47b961[_0x314759(0x147)](getPuppeteerVersion);global['__isPuppeteerInstalled']=!!_0x733438;helper['isBrowserstackInfra']()?(await _0x476ca6[_0x314759(0x157)](_0x4e6e7a),await helper[_0x314759(0x1e1)](_0x476ca6[_0x314759(0x1c0)])):await _0x476ca6[_0x314759(0x19d)]();if(_0x517082)await _0x47b961[_0x314759(0x11a)](checkPwandBootstrapCli,_0x517082,constants[_0x314759(0x112)]['JEST'],_0x476ca6);else _0x733438&&await _0x47b961[_0x314759(0x11a)](checkPuppeteerAndBootstrapCli,_0x733438,constants['FRAMEWORKS'][_0x314759(0x197)],_0x476ca6);if(!_0x476ca6[_0x314759(0x1c0)])return;_0x47b961[_0x314759(0x10e)](_0x476ca6[_0x314759(0x1c0)]['testObservability'],null)?process[_0x314759(0x143)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x476ca6[_0x314759(0x1c0)][_0x314759(0x1a8)]:process[_0x314759(0x143)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x47b961[_0x314759(0x136)];const _0x3d879c=new TestOrchestrationHandler(_0x476ca6[_0x314759(0x1c0)]),_0x30174c=await _0x47b961[_0x314759(0x145)](getUserJestConfigs,_0x4e6e7a,_0x288c23);logger[_0x314759(0x14d)](_0x47b961['LoZRV']);const _0x529091=Object['assign']({},_0x30174c);_0x529091[_0x314759(0x124)]=Object[_0x314759(0x15c)]({},_0x529091[_0x314759(0x124)],{'server':helper['getHubUrl'](_0x476ca6[_0x314759(0x1c0)]),'environment':_0x30174c[_0x314759(0x18d)]}),_0x529091[_0x314759(0x124)]['browserStackPercyOptions']=_0x47b961[_0x314759(0x10d)](getPercyOptions,_0x476ca6[_0x314759(0x1c0)]);const _0x32367c=helper[_0x314759(0x1a2)](_0x476ca6[_0x314759(0x1c0)]);!helper[_0x314759(0x115)](_0x476ca6[_0x314759(0x1c0)][_0x314759(0x132)])&&(process[_0x314759(0x143)][_0x314759(0x1ab)]=JSON[_0x314759(0x111)](_0x476ca6[_0x314759(0x1c0)]['accessibilityOptions']));if(!BrowserstackCLI[_0x314759(0x156)]()[_0x314759(0x1a1)]()){const _0x4c4196=await TestHubHandler['launchBuild'](FRAMEWORKS[_0x314759(0x197)],_0x476ca6);}const _0xe7fa98=helper[_0x314759(0x1e9)](_0x476ca6[_0x314759(0x1c0)],_0x32367c,constants[_0x314759(0x112)][_0x314759(0x197)]);process[_0x314759(0x143)][_0x314759(0x172)]=JSON[_0x314759(0x111)](_0xe7fa98);let _0x518810=_0x476ca6[_0x314759(0x1c0)][_0x314759(0x135)];_0x518810=_0x518810||accessibilityHelper[_0x314759(0x104)](_0x476ca6['config']),process[_0x314759(0x143)][_0x314759(0x1bf)]=_0x518810,logger[_0x314759(0x18e)]('[Jest\x20Command]\x20Accessibility\x20enabled:\x20'+_0x518810+_0x314759(0x184)+BrowserstackCLI[_0x314759(0x156)]()[_0x314759(0x1a1)]());if(_0x517082)try{const _0x4f8f75=_0x47b961[_0x314759(0x10d)](checkAccessibilityPlatformConfig,_0x476ca6['config']);process[_0x314759(0x143)][_0x314759(0x1d3)]=_0x4f8f75?_0x47b961[_0x314759(0x136)]:_0x47b961[_0x314759(0x1ec)],logger['debug'](_0x314759(0x1bc)+_0x4f8f75+_0x314759(0x174)+process['env'][_0x314759(0x1d3)]);}catch(_0x2e9bc8){logger['debug']('Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20'+util[_0x314759(0x1cf)](_0x2e9bc8));}_0x529091[_0x314759(0x124)][_0x314759(0x177)]=_0xe7fa98,_0x529091[_0x314759(0x124)][_0x314759(0x183)]=_0x47b961['NMMvf'](getSerial,_0xe7fa98,_0x4e6e7a),_0x529091[_0x314759(0x124)][_0x314759(0x131)]=_0x47b961[_0x314759(0x1e0)](getMaxWorkers,_0x4e6e7a,_0x476ca6[_0x314759(0x1c0)],_0x30174c),_0x529091[_0x314759(0x124)]['proxySettings']=_0x476ca6[_0x314759(0x1c0)][_0x314759(0x1ef)],_0x529091[_0x314759(0x124)][_0x314759(0x10b)]=_0x47b961[_0x314759(0x1dc)](_0x4e6e7a['testTimeout'],0x1)||0x1388,_0x529091[_0x314759(0x124)][_0x314759(0x128)]=_0x476ca6[_0x314759(0x1c0)][_0x314759(0x194)][_0x314759(0x128)],_0x529091[_0x314759(0x124)][_0x314759(0x133)]=_0x476ca6[_0x314759(0x1c0)][_0x314759(0x194)]['skipSessionStatus'],_0x529091['testEnvironmentOptions'][_0x314759(0x1ae)]=_0x476ca6[_0x314759(0x1c0)][_0x314759(0x15e)],_0x529091[_0x314759(0x124)][_0x314759(0x1e4)]=_0x476ca6[_0x314759(0x1c0)]['turboScaleUrl'],_0x529091[_0x314759(0x124)][_0x314759(0x188)]=_0x476ca6[_0x314759(0x1c0)]['platforms'];const _0x810eff=helper['parseTestOrchestrationOptions'](_0x476ca6['config']);if(!helper[_0x314759(0x192)](_0x810eff)){helper['isNotUndefined'](_0x810eff['retryTestsOnFailure'])&&(_0x529091[_0x314759(0x124)]['retries__']=_0x810eff[_0x314759(0x116)]['maxRetries']);if(helper['isNotUndefined'](_0x810eff[_0x314759(0x1cb)])&&helper[_0x314759(0x1a6)](_0x810eff[_0x314759(0x1cb)][_0x314759(0x1ac)])){const _0x36fe3b={};_0x36fe3b[_0x314759(0x160)]=_0x810eff[_0x314759(0x1cb)][_0x314759(0x13e)],_0x36fe3b[_0x314759(0x1ac)]=_0x810eff['abortBuildOnFailure']['workingDir'],_0x529091[_0x314759(0x124)]['failFast']=_0x36fe3b;}}let _0x3f61f6='';_0x47b961[_0x314759(0x14a)](helper['getPackageType'](),constants[_0x314759(0x1a3)][_0x314759(0x1d9)])?_0x3f61f6=_0x47b961[_0x314759(0x19e)]:_0x3f61f6=_0x47b961['rPRnI'];const _0x34b734=_0x3f61f6,_0x57ceac=path[_0x314759(0x19f)](__dirname,_0x47b961[_0x314759(0x11e)],_0x47b961[_0x314759(0x1da)]),_0x4be3ed=path[_0x314759(0x19f)](__dirname,_0x47b961[_0x314759(0x11e)],_0x47b961[_0x314759(0x1c4)]),_0x57052c=path[_0x314759(0x19f)](__dirname,_0x47b961[_0x314759(0x11e)],_0x47b961[_0x314759(0x13a)]);_0x529091[_0x314759(0x18d)]&&(process[_0x314759(0x143)][_0x314759(0x1be)]=_0x529091[_0x314759(0x18d)]);_0x529091[_0x314759(0x18d)]=path['join'](__dirname,_0x47b961[_0x314759(0x11e)],_0x47b961[_0x314759(0x1e3)]);const _0x54c6c7=_0x30174c[_0x314759(0x178)];if(_0x54c6c7&&_0x47b961[_0x314759(0x179)](_0x54c6c7,_0x47b961['LjUib'])){const _0x2d7fb2=_0x54c6c7[_0x314759(0x164)](_0x47b961['Idurq'])?_0x54c6c7:_0x314759(0x127)+_0x54c6c7;process[_0x314759(0x143)][_0x314759(0x181)]=_0x2d7fb2,logger[_0x314759(0x14d)]('Preserving\x20user\x27s\x20Jest\x20runner:\x20'+_0x2d7fb2);}_0x529091['runner']=_0x4be3ed,_0x529091[_0x314759(0x14e)]=_0x529091[_0x314759(0x14e)]||[],_0x529091[_0x314759(0x14e)][_0x314759(0x190)](path[_0x314759(0x19f)](__dirname,_0x47b961[_0x314759(0x1ed)]));_0x3d879c[_0x314759(0x1b7)]()&&(_0x529091[_0x314759(0x195)]=path[_0x314759(0x19f)](__dirname,_0x47b961[_0x314759(0x11e)],_0x47b961[_0x314759(0x15f)]));if(testhubUtils[_0x314759(0x100)]()||BrowserstackCLI[_0x314759(0x156)]()[_0x314759(0x10c)]()){let _0x4e5ea7=null;try{_0x4e5ea7=helper[_0x314759(0x173)](_0x47b961[_0x314759(0x153)],_0x47b961[_0x314759(0x10f)]);}catch(_0x361236){try{_0x4e5ea7=helper[_0x314759(0x173)](_0x47b961[_0x314759(0x107)],_0x47b961[_0x314759(0x10f)]);}catch(_0x53934b){_0x47b961['jHDvy'](debug,_0x314759(0x13c)+_0x53934b);}}_0x4e5ea7&&(testhubUtils[_0x314759(0x100)]()&&_0x529091[_0x314759(0x14e)][_0x314759(0x190)](path[_0x314759(0x19f)](__dirname,_0x47b961[_0x314759(0x17f)],_0x47b961[_0x314759(0x1bd)])),_0x529091[_0x314759(0x1d7)]=path[_0x314759(0x19f)](__dirname,_0x47b961['wdmVf'],_0x47b961[_0x314759(0x11b)]));}_0x529091['setupFiles']=_0x529091[_0x314759(0x165)]||[];try{helper[_0x314759(0x13f)](),_0x529091[_0x314759(0x165)][_0x314759(0x190)](path[_0x314759(0x19f)](__dirname,_0x47b961['BZJod']));}catch{logger[_0x314759(0x18e)](_0x47b961[_0x314759(0x12d)]);}try{helper[_0x314759(0x1ee)][_0x314759(0x1b3)](null,[_0x47b961[_0x314759(0x109)],_0x47b961['mqUBk']]),logger[_0x314759(0x18e)](_0x47b961[_0x314759(0x1ba)]),_0x529091['setupFiles']['push'](path[_0x314759(0x19f)](__dirname,_0x47b961[_0x314759(0x191)]));}catch(_0x56efab){logger['debug'](_0x47b961[_0x314759(0x1c8)],_0x56efab);}if(_0x47b961[_0x314759(0x1cd)](!_0x517082,_0x733438)){try{logger[_0x314759(0x18e)](_0x47b961[_0x314759(0x155)]),_0x529091[_0x314759(0x165)][_0x314759(0x190)](path[_0x314759(0x19f)](__dirname,'..',_0x47b961['xpOpQ'],_0x47b961[_0x314759(0x191)]));}catch(_0x219e04){logger['debug'](_0x314759(0x166)+_0x219e04[_0x314759(0x1a9)]);}try{const _0x124ce8=require[_0x314759(0x196)](_0x47b961[_0x314759(0x12a)]),_0x443d7b=path[_0x314759(0x1c3)](_0x124ce8)[_0x314759(0x103)](/\\/g,'/'),_0x1621b6={};_0x1621b6['^puppeteer-core/internal/(.*)']=_0x443d7b+_0x314759(0x142),_0x529091[_0x314759(0x108)]=Object['assign']({},_0x529091['moduleNameMapper']||{},_0x1621b6),logger[_0x314759(0x18e)]('[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20'+_0x443d7b);}catch(_0x5ac2d0){logger['debug']('[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20'+_0x5ac2d0[_0x314759(0x1a9)]);}}_0x529091[_0x314759(0x14f)]=_0x529091[_0x314759(0x14f)]||[_0x47b961[_0x314759(0x1e7)]],_0x47b961['ieXCh'](updateTestRerunConfig,_0x529091,_0x476ca6);const _0x2bb6ed=fs['readFileSync'](_0x57052c),_0x28f002=helper[_0x314759(0x1d2)](_0x47b961[_0x314759(0x186)],_0x47b961[_0x314759(0x11d)]);!_0x28f002['error']?fs[_0x314759(0x199)](_0x529091[_0x314759(0x178)],_0x314759(0x1c6)+_0x2bb6ed+'\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'+_0x476ca6[_0x314759(0x1c0)]['platforms'][_0x314759(0x106)]+_0x314759(0x149)):fs[_0x314759(0x199)](_0x529091[_0x314759(0x178)],_0x314759(0x1c6)+_0x2bb6ed+_0x314759(0x18b)+_0x476ca6['config'][_0x314759(0x167)]['length']+_0x314759(0x114));logger[_0x314759(0x14d)]('Creating\x20'+_0x34b734+_0x314759(0x123)),fs[_0x314759(0x199)](_0x34b734,_0x314759(0x17c)+JSON[_0x314759(0x111)](_0x529091)+'\x0amodule.exports\x20=\x20config;');if(_0x3d879c[_0x314759(0x1b7)]()){logger['debug'](_0x47b961['ribbw']);const _0x1083c3=await _0x3d879c[_0x314759(0x11c)](_0x529091,_0x288c23[_0x314759(0x1b4)](0x1),_0x34b734);logger['debug'](_0x314759(0x1bb)+JSON[_0x314759(0x111)](_0x1083c3)+'\x20test\x20files\x20to\x20run.');const _0x488da1=await _0x3d879c[_0x314759(0x1c9)](_0x1083c3);logger['debug']('Reodered\x20Test\x20Files:\x20'+JSON['stringify'](_0x488da1)),_0x488da1&&_0x47b961['KlXbi'](_0x488da1[_0x314759(0x106)],0x0)&&(process[_0x314759(0x143)][_0x314759(0x171)]=_0x488da1?.['join'](','));}logger[_0x314759(0x14d)](_0x47b961['nYfJj']);testhubUtils[_0x314759(0x100)]()&&TestDetails[_0x314759(0x1b2)]();helper[_0x314759(0x1de)]({},_0x288c23),PerformanceTester[_0x314759(0x15a)](PerformanceEvents[_0x314759(0x1dd)]);const _0x5030f1=[_0x47b961['IbAxp'],_0x47b961[_0x314759(0x154)],_0x34b734,..._0x288c23[_0x314759(0x1b4)](0x1)],_0x9aa22f=_0x47b961[_0x314759(0x1e0)](spawn,_0x47b961[_0x314759(0x14c)],_0x5030f1,{'shell':_0x47b961[_0x314759(0x193)](process['platform'],_0x47b961['HtSlY']),'stdio':_0x47b961[_0x314759(0x12b)],'env':Object[_0x314759(0x15c)]({},process[_0x314759(0x143)])});_0x9aa22f['on'](_0x47b961['QaGWX'],async _0x43f4bf=>{const _0x14e426=_0x314759;PerformanceTester['start'](PerformanceEvents[_0x14e426(0x16b)]);try{const {browserstackFolderPath:_0xae2c12,tcgConfigPath:_0x39b036}=helper[_0x14e426(0x168)]();fs[_0x14e426(0x1d8)](_0x39b036),fs[_0x14e426(0x19b)](_0xae2c12);}catch(_0x2ee128){logger[_0x14e426(0x18e)](_0x47b961['Inkor'],_0x2ee128);}process[_0x14e426(0x1af)]=_0x43f4bf,logger[_0x14e426(0x18e)](_0x14e426(0x113)+_0x43f4bf),logger[_0x14e426(0x14d)](_0x14e426(0x1a7)+_0x34b734);if(helper[_0x14e426(0x1a6)](_0x810eff)&&helper[_0x14e426(0x1a6)](_0x810eff[_0x14e426(0x1cb)])&&fs[_0x14e426(0x151)](_0x810eff[_0x14e426(0x1cb)]['workingDir']))try{const _0x32aa68={};_0x32aa68['recursive']=!![],_0x32aa68['force']=!![],fs['rmSync'](_0x810eff[_0x14e426(0x1cb)][_0x14e426(0x1ac)],_0x32aa68),logger[_0x14e426(0x18e)](_0x14e426(0x163)+_0x810eff[_0x14e426(0x1cb)][_0x14e426(0x1ac)]);}catch(_0x405884){logger[_0x14e426(0x148)](_0x14e426(0x1aa)+_0x405884);}let _0x2c31ca=null;if(fs['existsSync'](_0x57ceac)){_0x2c31ca=fs['readFileSync'](_0x57ceac);try{_0x2c31ca=JSON[_0x14e426(0x180)](_0x2c31ca);}catch(_0xba0c2){logger[_0x14e426(0x18e)](_0x14e426(0x16c)+_0x57ceac+',\x20'+_0x2c31ca+_0x14e426(0x141)+_0xba0c2);}fs[_0x14e426(0x1d8)](_0x57ceac);}fs[_0x14e426(0x1d8)](_0x34b734),fs[_0x14e426(0x1d8)](_0x4be3ed),_0x2c31ca&&(_0x476ca6[_0x14e426(0x162)]=helper[_0x14e426(0x130)](_0x2c31ca,_0x47b961['IbAxp'],_0x476ca6));const _0x178d52=BrowserstackCLI['isCLIEnabled']();try{await TestHubHandler[_0x14e426(0x152)](),await BrowserstackCLI[_0x14e426(0x156)]()[_0x14e426(0x152)]();}catch(_0x13e6ab){console[_0x14e426(0x1ca)](_0x13e6ab),_0x47b961[_0x14e426(0x10d)](debug,_0x14e426(0x120)+util[_0x14e426(0x1cf)](_0x13e6ab));}testOpsHelper[_0x14e426(0x11f)](),TestDetails[_0x14e426(0x110)](),await utilities['finalExecution'](_0x476ca6,_0x178d52);});}function a14_0x2ff0(_0x3d419c,_0x5514fa){const _0x153275=a14_0x1532();return a14_0x2ff0=function(_0x2ff06f,_0x4753b3){_0x2ff06f=_0x2ff06f-0x100;let _0x3ded7e=_0x153275[_0x2ff06f];return _0x3ded7e;},a14_0x2ff0(_0x3d419c,_0x5514fa);}module['exports']=run;function a14_0x1532(){const _0x174dd1=['setupFilesAfterEnv','reporters','data-hooks.js','existsSync','stop','WYyKa','jukfU','TqeyS','getInstance','initialize','win32','NVBAK','end','@jest/core/build/ReporterDispatcher.js','assign','test-observability','logLevel','YwAqx','failureThresholdCount','jest_browserstack.config.js','errorMessage','Deleted\x20fail-fast\x20state\x20folder:\x20','startsWith','setupFiles','Puppeteer\x20setup\x20error:\x20','platforms','getTCGConfigFilePaths','@playwright/test','./test-observability/test-details','SDK_CLEANUP','Error\x20while\x20parsing\x20','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','2020vwnBEo','3035329MLaNTM','child_process','JEST_TEST_ORDER','BROWSERSTACK_CAPABILITIES','requireModule',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','npx','capabilities','runner','sZqlI','splice','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','const\x20config=','../../helpers/percy/utils','mAeyR','lfzNH','parse','BSTACK_USER_JEST_RUNNER','--config','serial__',',\x20CLI\x20running:\x20','../v2/browserstackCLI','JBbVu','LSxKE','platformCaps','jest','puppeteer-core/package.json','\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-observability/helper','testEnvironment','debug','../../helpers/BrowserStackSetup','push','AYqfr','isEmpty','RemAv','testContextOptions','testSequencer','resolve','JEST','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','writeFileSync','jest-config','rmdirSync','hERkt','setupTCGAuth','bLRsq','join','204OrAdlV','isRunning','useW3C','PACKAGE_TYPE','Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','parallelsPerPlatform','isNotUndefined','Deleting\x20','testObservability','message','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','workingDir','USER_CONFIG_DETAILS_PATH','browserStackLogLevel','exitCode','inherit','327toMvCC','setup','apply','slice','rRlDH','../../helpers/test-observability/utils','isTestOrchestrationEnabled','playwright','default','ESelK','Found:\x20','[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20','mpjkU','BSTACK_JEST_TEST_ENV','BROWSERSTACK_TEST_ACCESSIBILITY_YML','config','Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','customTestRunnerTemplate.js','dirname','FyXSK','HZVQT','\x0a\x20\x20\x20\x20\x20\x20','60310RWRGxo','sLVHJ','reorderTestFiles','log','abortBuildOnFailure','__isPlaywrightInstalled','QHaQm','cwd','format','test.setup.js','false','resolveModule','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','QhKgQ','rXZhZ','testRunner','unlinkSync','MODULE','FBFVp','../../helpers/performance/performance-tester','zKelf','SDK_SETUP','filterBrowserstackArgs','mjs','tiTSF','handleApp','67153WXYHbC','ElqhU','turboScaleUrl','YuwNC','../../helpers/testhub/testhubHandler','OFIBa','cjs','prepareCapabilities','customImplements','jest-config/build/readConfigFileAndSetRootDir.js','lfhLF','rwZLM','requirePWModule','proxySettings','shouldProcessEventForTesthub','getPackageVersion','11432Gorpng','replace','checkAccessibilityPlatformConfig','../../helpers/utilities','length','KDBid','moduleNameMapper','KTAML','findIndex','timeout__','isCliEnabled','jHDvy','QHFVj','TcZGL','shutdown','stringify','FRAMEWORKS','child\x20process\x20exited\x20with\x20code\x20',';\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','isUndefined','retryTestsOnFailure','test_before.setup.js','Getting\x20your\x20jest\x20configs\x20from\x20','customTestRunner.js','EqkvR','UZfQH','findTestFiles','JZhXo','wdmVf','printBuildLink','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','dsSTC','@jest/core','\x20with\x20browserstack\x20jest\x20configs','testEnvironmentOptions','json','690LsUpXK','jest-runner-','skipSessionName','util','OpSbu','gFRUw','329phHjAP','ymyyD','error\x20removing\x20tcg\x20config\x20file','../utils/constants','getErrorMessageFromResults','parallels__','accessibilityOptions','skipSessionStatus','1152116WLnXPj','accessibility','sefIs','GrXxu','../../helpers/performance/constants','maxWorkers','OvZbo','CQDtk','Unable\x20to\x20find\x20jest-circus,\x20','jest-circus/build/runner.js','maxFailures','requireSeleniumWebdriver','../../helpers/test-orchestration/testOrchestrationHandler','\x20:\x20','/internal/$1','env','../../helpers/test-observability/constants','EFnPL','6858KZzUqH','knnvM','error',';\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','IdKaA','true','fHKJj','info'];a14_0x1532=function(){return _0x174dd1;};return a14_0x1532();}
@@ -1 +1 @@
1
- const a15_0x12cd91=a15_0x1dd8;function a15_0x3610(){const _0x35ff34=['22681KNhinL','jest-circus','jestAdapterInit','63MUKpfg','41458060XPvYFa','1073672MoPrXQ','initRequireModule','exports','jXNgF','join','5741508nSuHjC','116gJWFNJ','1026370yCnlqP','28vbOEQv','../../../helpers/helper','loGiO','default','customJestAdapterInit.js','function','rIsHF','path','includes','260784osTqxx','4022208cFFkBM','requireInternalModule','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js'];a15_0x3610=function(){return _0x35ff34;};return a15_0x3610();}function a15_0x1dd8(_0x1e105c,_0x14042d){const _0x36101c=a15_0x3610();return a15_0x1dd8=function(_0x1dd8f7,_0x39693f){_0x1dd8f7=_0x1dd8f7-0xc6;let _0x34e7bd=_0x36101c[_0x1dd8f7];return _0x34e7bd;},a15_0x1dd8(_0x1e105c,_0x14042d);}(function(_0xd05d2b,_0x138b59){const _0x3c37d8=a15_0x1dd8,_0x1e1dad=_0xd05d2b();while(!![]){try{const _0x3b0a19=parseInt(_0x3c37d8(0xd7))/0x1*(-parseInt(_0x3c37d8(0xc8))/0x2)+-parseInt(_0x3c37d8(0xd4))/0x3+-parseInt(_0x3c37d8(0xca))/0x4*(-parseInt(_0x3c37d8(0xc9))/0x5)+-parseInt(_0x3c37d8(0xc7))/0x6+parseInt(_0x3c37d8(0xda))/0x7*(-parseInt(_0x3c37d8(0xdc))/0x8)+-parseInt(_0x3c37d8(0xd3))/0x9+parseInt(_0x3c37d8(0xdb))/0xa;if(_0x3b0a19===_0x138b59)break;else _0x1e1dad['push'](_0x1e1dad['shift']());}catch(_0x4d9015){_0x1e1dad['push'](_0x1e1dad['shift']());}}}(a15_0x3610,0xb2e2b));const path=require(a15_0x12cd91(0xd1)),{requireModule}=require(a15_0x12cd91(0xcb));let initJestAdapter;try{initJestAdapter=requireModule(a15_0x12cd91(0xd6),a15_0x12cd91(0xd8));}catch{initJestAdapter=requireModule('jest-circus/build/runner.js',a15_0x12cd91(0xd8));}initJestAdapter=typeof initJestAdapter===a15_0x12cd91(0xcf)?initJestAdapter:initJestAdapter[a15_0x12cd91(0xcd)];const FRAMEWORK_INITIALIZER=path[a15_0x12cd91(0xc6)](__dirname,a15_0x12cd91(0xce));module[a15_0x12cd91(0xde)]=(..._0x481853)=>{const _0x40922f=a15_0x12cd91,_0x3eff06={'jXNgF':_0x40922f(0xd9),'loGiO':function(_0x2bb984,_0x43fef7){return _0x2bb984===_0x43fef7;},'rIsHF':function(_0x5e8eab,..._0x111959){return _0x5e8eab(..._0x111959);}};return _0x481853[0x3]['initRequireModule']=_0x481853[0x3][_0x40922f(0xd5)],_0x481853[0x3][_0x40922f(0xd5)]=(..._0x1e60cb)=>{const _0x5c478c=_0x40922f;if(_0x1e60cb[0x0]&&_0x1e60cb[0x0][_0x5c478c(0xd2)](_0x3eff06[_0x5c478c(0xdf)])&&_0x3eff06[_0x5c478c(0xcc)](_0x1e60cb[0x1],undefined))return _0x481853[0x3]['initRequireModule'](FRAMEWORK_INITIALIZER);return _0x481853[0x3][_0x5c478c(0xdd)](..._0x1e60cb);},_0x3eff06[_0x40922f(0xd0)](initJestAdapter,..._0x481853);};
1
+ function a15_0x1c51(){const _0x4a1e4b=['rmDHZ','jest-circus','201EVNCJe','jestAdapterInit','14404rJSUaV','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','DAwwp','function','includes','../../../helpers/helper','1527402mIEyyP','requireInternalModule','initRequireModule','jest-circus/build/runner.js','default','5006490TYyJDg','104rEafcO','join','30hSQSvw','1269560xRgyWc','894054aTJpRh','3031450mwDIwt','728262FPtpcH'];a15_0x1c51=function(){return _0x4a1e4b;};return a15_0x1c51();}const a15_0xe53b73=a15_0x562a;(function(_0x2d3d3b,_0x583795){const _0xaba912=a15_0x562a,_0x485eb8=_0x2d3d3b();while(!![]){try{const _0x5c9f9c=parseInt(_0xaba912(0xcf))/0x1+parseInt(_0xaba912(0xba))/0x2+parseInt(_0xaba912(0xbe))/0x3*(parseInt(_0xaba912(0xc0))/0x4)+-parseInt(_0xaba912(0xce))/0x5*(parseInt(_0xaba912(0xc6))/0x6)+-parseInt(_0xaba912(0xb9))/0x7+-parseInt(_0xaba912(0xcc))/0x8*(parseInt(_0xaba912(0xbb))/0x9)+parseInt(_0xaba912(0xcb))/0xa;if(_0x5c9f9c===_0x583795)break;else _0x485eb8['push'](_0x485eb8['shift']());}catch(_0xc3d203){_0x485eb8['push'](_0x485eb8['shift']());}}}(a15_0x1c51,0xc83af));const path=require('path'),{requireModule}=require(a15_0xe53b73(0xc5));let initJestAdapter;try{initJestAdapter=requireModule(a15_0xe53b73(0xc1),a15_0xe53b73(0xbd));}catch{initJestAdapter=requireModule(a15_0xe53b73(0xc9),a15_0xe53b73(0xbd));}initJestAdapter=typeof initJestAdapter===a15_0xe53b73(0xc3)?initJestAdapter:initJestAdapter[a15_0xe53b73(0xca)];const FRAMEWORK_INITIALIZER=path[a15_0xe53b73(0xcd)](__dirname,'customJestAdapterInit.js');function a15_0x562a(_0x135038,_0x57d629){const _0x1c5130=a15_0x1c51();return a15_0x562a=function(_0x562aad,_0x337398){_0x562aad=_0x562aad-0xb9;let _0x561531=_0x1c5130[_0x562aad];return _0x561531;},a15_0x562a(_0x135038,_0x57d629);}module['exports']=(..._0x7871c2)=>{const _0x1e8cea=a15_0xe53b73,_0x24b6f={'XKqol':_0x1e8cea(0xbf),'rmDHZ':function(_0x18f7d5,_0x185929){return _0x18f7d5===_0x185929;},'DAwwp':function(_0x170fa8,..._0x14ae47){return _0x170fa8(..._0x14ae47);}};return _0x7871c2[0x3]['initRequireModule']=_0x7871c2[0x3]['requireInternalModule'],_0x7871c2[0x3][_0x1e8cea(0xc7)]=(..._0x23c9fc)=>{const _0xb2abfe=_0x1e8cea;if(_0x23c9fc[0x0]&&_0x23c9fc[0x0][_0xb2abfe(0xc4)](_0x24b6f['XKqol'])&&_0x24b6f[_0xb2abfe(0xbc)](_0x23c9fc[0x1],undefined))return _0x7871c2[0x3][_0xb2abfe(0xc8)](FRAMEWORK_INITIALIZER);return _0x7871c2[0x3][_0xb2abfe(0xc8)](..._0x23c9fc);},_0x24b6f[_0x1e8cea(0xc2)](initJestAdapter,..._0x7871c2);};
@@ -1 +1 @@
1
- const a16_0xae3271=a16_0x2434;(function(_0x5a2d52,_0x3672c5){const _0x1f22d6=a16_0x2434,_0xd77c6d=_0x5a2d52();while(!![]){try{const _0x1176fe=parseInt(_0x1f22d6(0x142))/0x1*(parseInt(_0x1f22d6(0x103))/0x2)+parseInt(_0x1f22d6(0x127))/0x3+parseInt(_0x1f22d6(0x14e))/0x4*(-parseInt(_0x1f22d6(0x153))/0x5)+-parseInt(_0x1f22d6(0x146))/0x6+parseInt(_0x1f22d6(0x12d))/0x7*(-parseInt(_0x1f22d6(0xfd))/0x8)+parseInt(_0x1f22d6(0xf0))/0x9+-parseInt(_0x1f22d6(0xfa))/0xa;if(_0x1176fe===_0x3672c5)break;else _0xd77c6d['push'](_0xd77c6d['shift']());}catch(_0x35c5bb){_0xd77c6d['push'](_0xd77c6d['shift']());}}}(a16_0xf877,0x92d95));const helper=require(a16_0xae3271(0x11d)),constants=require('../../utils/constants'),{isTestObservabilitySession}=require(a16_0xae3271(0x148)),RequestQueueHandler=require(a16_0xae3271(0x14d)),ObservabilityReporter=require(a16_0xae3271(0x147)),testhubUtils=require(a16_0xae3271(0xe3)),logger=require(a16_0xae3271(0x136))[a16_0xae3271(0x14a)],getTestEnvironment=((()=>{const _0x4c93f9=a16_0xae3271,_0x1869a7={};_0x1869a7[_0x4c93f9(0x10f)]=_0x4c93f9(0x116),_0x1869a7[_0x4c93f9(0x143)]='jest-config';const _0x4e9f61=_0x1869a7;try{const _0x1130a9=helper[_0x4c93f9(0xfb)](_0x4e9f61[_0x4c93f9(0x10f)]);if(_0x1130a9[_0x4c93f9(0x117)])return _0x1130a9[_0x4c93f9(0x117)];const _0x56e45b=helper['requireModule'](_0x4e9f61[_0x4c93f9(0x143)]);if(_0x56e45b[_0x4c93f9(0x141)])return _0x56e45b[_0x4c93f9(0x141)];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x5252fd=a16_0xae3271,_0x2246ed={'ZIhyo':function(_0x13d784,_0x1768c2){return _0x13d784(_0x1768c2);},'KUjQL':'node','JcvGA':function(_0x3a99b3,_0x12e5bc){return _0x3a99b3(_0x12e5bc);},'VFHON':_0x5252fd(0xfc),'KABjW':function(_0x6c0c2d,_0x2a12ea){return _0x6c0c2d(_0x2a12ea);}},_0x3dc44e=_0x2246ed['ZIhyo'](getTestEnvironment,{'rootDir':process[_0x5252fd(0xec)](),'testEnvironment':process[_0x5252fd(0x112)][_0x5252fd(0xe4)]||_0x2246ed[_0x5252fd(0x10c)]});if(!_0x3dc44e)return _0x2246ed[_0x5252fd(0x132)](_interopRequireDefault,helper['requireModule'](_0x2246ed[_0x5252fd(0xee)]));return _0x2246ed[_0x5252fd(0x126)](_interopRequireDefault,helper['requireModule'](_0x3dc44e));})()),_seleniumWebdriver2=((()=>{const _0xe2c6e9=a16_0xae3271,_0x155611={'ObALr':function(_0x3f3b3d,_0x93b86b){return _0x3f3b3d(_0x93b86b);}};try{const _0x57a1e2=helper['requireSeleniumWebdriver']();return helper[_0xe2c6e9(0x151)](),_0x155611[_0xe2c6e9(0x124)](_interopRequireDefault,_0x57a1e2);}catch{return null;}})());function _interopRequireDefault(_0x15dcd0){const _0x34b0e9=a16_0xae3271;return _0x15dcd0&&_0x15dcd0[_0x34b0e9(0x12a)]?_0x15dcd0:{'default':_0x15dcd0};}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2[a16_0xae3271(0x144)]['Builder']:null;function a16_0x2434(_0x2f3e40,_0xdb8ff5){const _0xf877b5=a16_0xf877();return a16_0x2434=function(_0x2434a9,_0x9a5bc0){_0x2434a9=_0x2434a9-0xe2;let _0x86649d=_0xf877b5[_0x2434a9];return _0x86649d;},a16_0x2434(_0x2f3e40,_0xdb8ff5);}class CustomEnvironment extends _jestUserEnvironment[a16_0xae3271(0x144)]{constructor(_0x36d3ef){const _0x1d26ab=a16_0xae3271,_0x384ef7={'thCYE':_0x1d26ab(0x130),'AnKUx':function(_0x5c7c84,_0x27b966){return _0x5c7c84+_0x27b966;},'UcTCR':_0x1d26ab(0xf6),'Atueh':function(_0x488361,_0x4543b5){return _0x488361(_0x4543b5);},'LUrgP':_0x1d26ab(0x12b),'DtXUg':_0x1d26ab(0x118),'SCqEi':_0x1d26ab(0x150),'waKOp':_0x1d26ab(0xe7),'rFjOB':_0x1d26ab(0xe6),'FyhSN':_0x1d26ab(0x14b),'HEBND':'browserstackPercyBestPlatform','Usiuc':_0x1d26ab(0x134)};super(_0x36d3ef),this[_0x1d26ab(0x13c)]['__timeout']=0x0,this[_0x1d26ab(0x100)]={};!_0x36d3ef[_0x1d26ab(0x150)]&&(_0x36d3ef[_0x1d26ab(0x150)]={});if(helper[_0x1d26ab(0x140)]()){_0x36d3ef[_0x1d26ab(0x150)]=_0x36d3ef[_0x1d26ab(0x135)]?_0x36d3ef[_0x1d26ab(0x135)][_0x1d26ab(0x150)]:_0x36d3ef['testEnvironmentOptions'];_seleniumWebdriver2&&(this['builder']=new _seleniumWebdriver2[(_0x1d26ab(0x144))]['Builder']());this[_0x1d26ab(0x131)]=_0x36d3ef[_0x1d26ab(0x135)]?_0x36d3ef[_0x1d26ab(0x135)][_0x1d26ab(0x131)]:_0x36d3ef[_0x1d26ab(0x131)],this[_0x1d26ab(0x13c)][_0x1d26ab(0xe8)]=_0x384ef7[_0x1d26ab(0xf7)](_0x36d3ef[_0x1d26ab(0x150)][_0x1d26ab(0x111)]||0x1388,constants[_0x1d26ab(0xf8)]),this[_0x1d26ab(0x129)]=_0x36d3ef['testEnvironmentOptions']['failFast'];if(this['failFastOptions']){const _0x44d06b=this[_0x1d26ab(0x131)][_0x384ef7[_0x1d26ab(0xfe)]]?.['buildName']||'',_0x7dc3de=this[_0x1d26ab(0x131)][_0x384ef7['UcTCR']]?.['projectName']||'';this[_0x1d26ab(0x13b)]=new(_0x384ef7[_0x1d26ab(0x12f)](require,_0x384ef7['LUrgP']))(this[_0x1d26ab(0x129)],_0x44d06b,_0x7dc3de),this['global'][_0x1d26ab(0x13f)]=![];}helper[_0x1d26ab(0x105)](_0x36d3ef['testEnvironmentOptions'][_0x1d26ab(0xed)])&&(this[_0x1d26ab(0x13c)]['__jestRetries']=_0x36d3ef[_0x1d26ab(0x150)][_0x1d26ab(0xed)]);}if(testhubUtils[_0x1d26ab(0x125)]()){const _0x1a3a4e=new ObservabilityReporter();_0x1a3a4e['registerListeners']();}this[_0x1d26ab(0x13c)][_0x1d26ab(0xef)]={},this[_0x1d26ab(0x100)]=_0x36d3ef['testEnvironmentOptions'],this[_0x1d26ab(0x100)][_0x1d26ab(0x11a)]=constants['FRAMEWORKS']['JEST'],this[_0x1d26ab(0x13c)][_0x1d26ab(0xf5)]=(_0x36d3ef[_0x1d26ab(0x135)]?_0x36d3ef[_0x1d26ab(0x135)][_0x1d26ab(0xf5)]:_0x36d3ef[_0x1d26ab(0xf5)])||0x0,this[_0x1d26ab(0x13c)][_0x1d26ab(0x123)]=this[_0x1d26ab(0x100)]&&this[_0x1d26ab(0x100)]['platformCaps']&&Array[_0x1d26ab(0x12e)](this[_0x1d26ab(0x100)]['platformCaps'])&&this[_0x1d26ab(0x100)][_0x1d26ab(0x120)][this[_0x1d26ab(0x13c)]['browserstackPlatformIndex']]||{};const _0x43190f=this[_0x1d26ab(0x13c)][_0x1d26ab(0xf5)],_0x4ca68a={...this[_0x1d26ab(0x100)],'capability':this[_0x1d26ab(0x100)][_0x1d26ab(0xf2)]&&Array[_0x1d26ab(0x12e)](this[_0x1d26ab(0x100)]['capabilities'])&&this[_0x1d26ab(0x100)][_0x1d26ab(0xf2)][_0x43190f]||{},'platformCaps':this['configuration'][_0x1d26ab(0x120)]&&Array[_0x1d26ab(0x12e)](this[_0x1d26ab(0x100)]['platformCaps'])&&this[_0x1d26ab(0x100)][_0x1d26ab(0x120)][_0x43190f]||{}};delete _0x4ca68a[_0x1d26ab(0xf2)],this['global'][_0x1d26ab(0x119)]=_0x4ca68a;if(_seleniumWebdriver2){const _0x358cb7=_0x384ef7['DtXUg'][_0x1d26ab(0xeb)]('|');let _0x1ff44b=0x0;while(!![]){switch(_0x358cb7[_0x1ff44b++]){case'0':this[_0x1d26ab(0x13c)]['percyCaptureMode']=helper[_0x1d26ab(0xf4)](_0x36d3ef,[_0x384ef7['SCqEi'],_0x384ef7[_0x1d26ab(0xf1)],_0x384ef7[_0x1d26ab(0x114)]]);continue;case'1':helper[_0x1d26ab(0x108)](this[_0x1d26ab(0x100)][_0x1d26ab(0x154)])?this[_0x1d26ab(0x13c)][_0x1d26ab(0x101)]=!![]:this[_0x1d26ab(0x13c)][_0x1d26ab(0x101)]=![];continue;case'2':this[_0x1d26ab(0x13c)][_0x1d26ab(0x11f)]=_0x384ef7[_0x1d26ab(0x12f)](require,_0x384ef7['FyhSN'])[_0x1d26ab(0x106)]({...this[_0x1d26ab(0x100)],'capability':this[_0x1d26ab(0x131)]||{}},this,testhubUtils[_0x1d26ab(0x125)]());continue;case'3':this[_0x1d26ab(0x13c)][_0x1d26ab(0x138)]=helper[_0x1d26ab(0xf4)](_0x36d3ef,[_0x384ef7[_0x1d26ab(0x121)],_0x384ef7[_0x1d26ab(0xf1)],_0x384ef7[_0x1d26ab(0x104)]]);continue;case'4':this['global']['percy']=helper[_0x1d26ab(0xf4)](_0x36d3ef,[_0x384ef7[_0x1d26ab(0x121)],_0x384ef7[_0x1d26ab(0xf1)],_0x384ef7[_0x1d26ab(0x14f)]]);continue;case'5':this['global'][_0x1d26ab(0x10a)]=[];continue;case'6':this[_0x1d26ab(0x13c)][_0x1d26ab(0xe9)]=helper[_0x1d26ab(0x108)](this[_0x1d26ab(0x100)][_0x1d26ab(0x145)]);continue;case'7':this['global'][_0x1d26ab(0x11b)]=async()=>{const _0x16bc06=_0x1d26ab;await this[_0x16bc06(0x13c)][_0x16bc06(0x14c)][_0x16bc06(0x130)](_0x384ef7[_0x16bc06(0x10e)]);};continue;}break;}}}async['teardown'](){const _0x42f6e3=a16_0xae3271;_seleniumWebdriver2&&(await helper[_0x42f6e3(0x113)](this['global'][_0x42f6e3(0x110)]),this['global'][_0x42f6e3(0x11f)]['Builder']=originalBuilder),await RequestQueueHandler[_0x42f6e3(0x10b)]()['shutdown']();}async[a16_0xae3271(0x13d)](){}async['handleTestEvent'](_0x4a4996,_0x54ff89){const _0x5e1185=a16_0xae3271,_0x198a84={};_0x198a84[_0x5e1185(0x11e)]=function(_0x573c08,_0x1009c6){return _0x573c08===_0x1009c6;},_0x198a84[_0x5e1185(0x10d)]=_0x5e1185(0x13a),_0x198a84[_0x5e1185(0x107)]=function(_0xb69f72,_0x33cc8c){return _0xb69f72===_0x33cc8c;},_0x198a84[_0x5e1185(0xe5)]=_0x5e1185(0x133),_0x198a84[_0x5e1185(0x13e)]=function(_0x3fabcd,_0x3848e7){return _0x3fabcd===_0x3848e7;},_0x198a84[_0x5e1185(0xea)]='test_done',_0x198a84[_0x5e1185(0x109)]=_0x5e1185(0xf9),_0x198a84[_0x5e1185(0xe2)]=function(_0x41dbd3,_0x3c978a){return _0x41dbd3===_0x3c978a;},_0x198a84[_0x5e1185(0x122)]='Error\x20in\x20fail-fast\x20test_done\x20handler:',_0x198a84[_0x5e1185(0xf3)]=function(_0x28ecf2,_0x3d48bf){return _0x28ecf2===_0x3d48bf;},_0x198a84['TVfGc']='teardown';const _0xb38ae1=_0x198a84,{name:_0x52b668}=_0x4a4996;if(_0xb38ae1['XxByH'](_0x52b668,_0xb38ae1[_0x5e1185(0x10d)])){this[_0x5e1185(0x13c)]['testContext']=_0x4a4996[_0x5e1185(0x128)];if(_0xb38ae1[_0x5e1185(0x107)](this[_0x5e1185(0x13c)][_0x5e1185(0x13f)],!![])){const _0x512b73=_0x4a4996['test'][_0x5e1185(0x139)];logger['info'](_0x5e1185(0x11c)+_0x512b73),_0x4a4996['test'][_0x5e1185(0x12c)]=_0xb38ae1[_0x5e1185(0xe5)];}}if(this['failFast']&&_0xb38ae1[_0x5e1185(0x13e)](_0x52b668,_0xb38ae1[_0x5e1185(0xea)]))try{const _0x264ee8=_0x4a4996['test']['testPath'][_0x5e1185(0x149)](_0xb38ae1[_0x5e1185(0x109)]),_0x4da764=_0x4a4996['test']['errors'];await this['failFast'][_0x5e1185(0x102)](_0x264ee8,_0x4da764);const _0x2aa7b3=await this['failFast'][_0x5e1185(0x115)]();_0xb38ae1[_0x5e1185(0xe2)](this[_0x5e1185(0x13c)][_0x5e1185(0x13f)],![])&&_0xb38ae1[_0x5e1185(0x11e)](_0x2aa7b3,!![])&&(this[_0x5e1185(0x13c)]['failFastActive']=!![]);}catch(_0x1cdcb3){logger[_0x5e1185(0xff)](_0xb38ae1[_0x5e1185(0x122)],_0x1cdcb3[_0x5e1185(0x137)]);}_0xb38ae1[_0x5e1185(0xf3)](_0x52b668,_0xb38ae1[_0x5e1185(0x152)])&&(this[_0x5e1185(0x13b)]&&this[_0x5e1185(0x13b)][_0x5e1185(0x11b)]());}}module['exports']=CustomEnvironment;function a16_0xf877(){const _0x561e84=['percy','projectConfig','../../../helpers/logger','message','browserstackPercyBestPlatform','name','test_start','failFast','global','setup','TIzla','failFastActive','isBrowserstackInfra','getTestEnvironment','39uPXRAP','zJTIL','default','skipSessionStatus','14190Pqggnn','../test-observability/obsReporter','../../../helpers/test-observability/utils','join','winstonLogger','../../../index','driver','../../../helpers/test-observability/requestQueueHandler','2992820GoydWf','Usiuc','testEnvironmentOptions','modifyCommand','TVfGc','5cdqXGR','skipSessionName','HzfkA','../../../helpers/testhub/utils','BSTACK_JEST_TEST_ENV','SIRkp','percyCaptureMode','browserStackPercyOptions','__timeout','__skipSessionStatus','FfsDf','split','cwd','retries__','VFHON','browserStackGlobals','2264229kwcfFP','waKOp','capabilities','LYWuD','nestedKeyValue','browserstackPlatformIndex','bstack:options','AnKUx','BSTACK_DELTA','\x20>\x20','1056450ZzOfyb','requireModule','jest-environment-node','1038032zXjxHm','UcTCR','debug','configuration','sessionNameProvided','onTestDone','39132KYDrHD','HEBND','isNotUndefined','browserstackAgentV2','FoQhc','isTrue','AjMfH','__drivers','getInstance','KUjQL','kAVqc','thCYE','EKiHZ','__driversArray','timeout__','env','cleanupDrivers','rFjOB','shouldFailFast','jest-resolve','resolveTestEnvironment','5|2|3|4|0|1|6|7','jestConfig','framework','cleanup','Fail-fast\x20is\x20active,\x20skipping\x20test::\x20','../../../helpers/helper','XxByH','__webdriver','platformCaps','SCqEi','sFQlP','__platformCaps','ObALr','shouldProcessEventForTesthub','KABjW','3275469FReNXv','test','failFastOptions','__esModule','../../../helpers/test-orchestration/failfastManager','mode','35nVDmJA','isArray','Atueh','quit','capability','JcvGA','skip'];a16_0xf877=function(){return _0x561e84;};return a16_0xf877();}
1
+ const a16_0x34c9bb=a16_0x1dda;(function(_0x350101,_0x1b0cd5){const _0x1a8a50=a16_0x1dda,_0x5c3a88=_0x350101();while(!![]){try{const _0x43271c=-parseInt(_0x1a8a50(0x1c0))/0x1+parseInt(_0x1a8a50(0x1a9))/0x2*(-parseInt(_0x1a8a50(0x1ec))/0x3)+parseInt(_0x1a8a50(0x1e9))/0x4+parseInt(_0x1a8a50(0x1b6))/0x5*(parseInt(_0x1a8a50(0x193))/0x6)+parseInt(_0x1a8a50(0x195))/0x7*(-parseInt(_0x1a8a50(0x18d))/0x8)+-parseInt(_0x1a8a50(0x1a2))/0x9+-parseInt(_0x1a8a50(0x1bd))/0xa*(-parseInt(_0x1a8a50(0x1d6))/0xb);if(_0x43271c===_0x1b0cd5)break;else _0x5c3a88['push'](_0x5c3a88['shift']());}catch(_0x5eefef){_0x5c3a88['push'](_0x5c3a88['shift']());}}}(a16_0xd86e,0x8f2dd));const helper=require(a16_0x34c9bb(0x1db)),constants=require(a16_0x34c9bb(0x1cc)),{isTestObservabilitySession}=require(a16_0x34c9bb(0x19c)),RequestQueueHandler=require('../../../helpers/test-observability/requestQueueHandler'),ObservabilityReporter=require(a16_0x34c9bb(0x1c2)),testhubUtils=require(a16_0x34c9bb(0x1a5)),logger=require('../../../helpers/logger')[a16_0x34c9bb(0x1d9)],getTestEnvironment=((()=>{const _0x3b092b=a16_0x34c9bb,_0xbb8d6c={};_0xbb8d6c['LFVRD']=_0x3b092b(0x199),_0xbb8d6c[_0x3b092b(0x1ca)]=_0x3b092b(0x1c6);const _0x4ceb45=_0xbb8d6c;try{const _0x290ffc=helper[_0x3b092b(0x18c)](_0x4ceb45[_0x3b092b(0x1f5)]);if(_0x290ffc[_0x3b092b(0x1ce)])return _0x290ffc['resolveTestEnvironment'];const _0x48feec=helper[_0x3b092b(0x18c)](_0x4ceb45[_0x3b092b(0x1ca)]);if(_0x48feec[_0x3b092b(0x19f)])return _0x48feec[_0x3b092b(0x19f)];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x342010=a16_0x34c9bb,_0x4417c1={'obiNz':function(_0x5d9dad,_0x32e2ef){return _0x5d9dad(_0x32e2ef);},'hoRwl':'node','yLyUw':'jest-environment-node'},_0x5f119b=_0x4417c1[_0x342010(0x1e2)](getTestEnvironment,{'rootDir':process['cwd'](),'testEnvironment':process[_0x342010(0x1a1)][_0x342010(0x191)]||_0x4417c1[_0x342010(0x1af)]});if(!_0x5f119b)return _0x4417c1['obiNz'](_interopRequireDefault,helper[_0x342010(0x18c)](_0x4417c1[_0x342010(0x1ea)]));return _0x4417c1[_0x342010(0x1e2)](_interopRequireDefault,helper[_0x342010(0x18c)](_0x5f119b));})()),_seleniumWebdriver2=((()=>{const _0x2b4558=a16_0x34c9bb,_0x3f1ecd={'XducX':function(_0xff3772,_0x7ada95){return _0xff3772(_0x7ada95);}};try{const _0x9a222d=helper[_0x2b4558(0x198)]();return helper[_0x2b4558(0x1f7)](),_0x3f1ecd[_0x2b4558(0x18a)](_interopRequireDefault,_0x9a222d);}catch{return null;}})());function _interopRequireDefault(_0x3d7e47){const _0x1dc94d=a16_0x34c9bb;return _0x3d7e47&&_0x3d7e47[_0x1dc94d(0x1d5)]?_0x3d7e47:{'default':_0x3d7e47};}function a16_0x1dda(_0x42a7f1,_0x189a65){const _0xd86e83=a16_0xd86e();return a16_0x1dda=function(_0x1ddaf2,_0x14eddd){_0x1ddaf2=_0x1ddaf2-0x185;let _0x5abbdf=_0xd86e83[_0x1ddaf2];return _0x5abbdf;},a16_0x1dda(_0x42a7f1,_0x189a65);}function a16_0xd86e(){const _0x56b888=['../test-observability/obsReporter','shouldFailFast','info','global','jest-config','FeHNk','../../../helpers/test-orchestration/failfastManager','isArray','DAuzQ','exports','../../utils/constants','qFVpW','resolveTestEnvironment','browserstackPercyBestPlatform','quit','errors','timeout__','KpOKa','jZLUw','__esModule','9185tfgGoC','Builder','mode','winstonLogger','Binlc','../../../helpers/helper','registerListeners','skip','../../../index','browserStackPercyOptions','framework','default','obiNz','cleanup','__jestRetries','browserStackGlobals','nestedKeyValue','message','jestConfig','2689044jEDpaj','yLyUw','builder','15pvgBbV','setup','Fail-fast\x20is\x20active,\x20skipping\x20test::\x20','join','bOcgs','browserstackPlatformIndex','shouldProcessEventForTesthub','percy','BPpCK','LFVRD','czWOz','modifyCommand','Cobac','configuration','failFastOptions','ixgWA','testPath','XducX','QqbIg','requireModule','152jTYRPm','ldYdG','debug','capability','BSTACK_JEST_TEST_ENV','buildName','94602HWYwgS','isTrue','381101GLBnLv','projectName','__drivers','requireSeleniumWebdriver','jest-resolve','testContext','test','../../../helpers/test-observability/utils','FRAMEWORKS','handleTestEvent','getTestEnvironment','onTestDone','env','1959444bBHzxj','__timeout','sessionNameProvided','../../../helpers/testhub/utils','test_done','skipSessionName','testEnvironmentOptions','410610EjXKPO','isBrowserstackInfra','split','retries__','capabilities','failFast','hoRwl','__webdriver','__driversArray','7|6|3|5|2|0|4|1','WjUTU','Error\x20in\x20fail-fast\x20test_done\x20handler:','teardown','25icgUoU','projectConfig','\x20>\x20','nLnPS','platformCaps','bstack:options','shutdown','25930vucaty','mcnqA','failFastActive','51132XFrvWP','browserstackAgentV2'];a16_0xd86e=function(){return _0x56b888;};return a16_0xd86e();}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2[a16_0x34c9bb(0x1e1)][a16_0x34c9bb(0x1d7)]:null;class CustomEnvironment extends _jestUserEnvironment[a16_0x34c9bb(0x1e1)]{constructor(_0x5ceb59){const _0x87b425=a16_0x34c9bb,_0x47533e={'WjUTU':_0x87b425(0x1d0),'TuwFM':function(_0xed5161,_0x3d8297){return _0xed5161+_0x3d8297;},'mcnqA':_0x87b425(0x1bb),'KoKij':function(_0x4e8ffc,_0x10be88){return _0x4e8ffc(_0x10be88);},'BPpCK':_0x87b425(0x1c8),'hSPdn':_0x87b425(0x1b2),'FeHNk':_0x87b425(0x1a8),'qFVpW':_0x87b425(0x1df),'GzwwL':'percyCaptureMode','KpOKa':_0x87b425(0x1cf),'ixgWA':_0x87b425(0x1f3),'Cobac':function(_0x2694fe,_0x9fac8c){return _0x2694fe(_0x9fac8c);},'lnhWj':_0x87b425(0x1de)};super(_0x5ceb59),this['global'][_0x87b425(0x1a3)]=0x0,this[_0x87b425(0x186)]={};!_0x5ceb59[_0x87b425(0x1a8)]&&(_0x5ceb59['testEnvironmentOptions']={});if(helper[_0x87b425(0x1aa)]()){_0x5ceb59[_0x87b425(0x1a8)]=_0x5ceb59[_0x87b425(0x1b7)]?_0x5ceb59[_0x87b425(0x1b7)][_0x87b425(0x1a8)]:_0x5ceb59['testEnvironmentOptions'];_seleniumWebdriver2&&(this[_0x87b425(0x1eb)]=new _seleniumWebdriver2[(_0x87b425(0x1e1))][(_0x87b425(0x1d7))]());this['capability']=_0x5ceb59[_0x87b425(0x1b7)]?_0x5ceb59[_0x87b425(0x1b7)]['capability']:_0x5ceb59['capability'],this[_0x87b425(0x1c5)][_0x87b425(0x1a3)]=_0x47533e['TuwFM'](_0x5ceb59['testEnvironmentOptions'][_0x87b425(0x1d2)]||0x1388,constants['BSTACK_DELTA']),this[_0x87b425(0x187)]=_0x5ceb59[_0x87b425(0x1a8)]['failFast'];if(this[_0x87b425(0x187)]){const _0x4cdb48=this[_0x87b425(0x190)][_0x47533e['mcnqA']]?.[_0x87b425(0x192)]||'',_0x3cb23c=this['capability'][_0x47533e[_0x87b425(0x1be)]]?.[_0x87b425(0x196)]||'';this['failFast']=new(_0x47533e['KoKij'](require,_0x47533e[_0x87b425(0x1f4)]))(this[_0x87b425(0x187)],_0x4cdb48,_0x3cb23c),this['global'][_0x87b425(0x1bf)]=![];}helper['isNotUndefined'](_0x5ceb59['testEnvironmentOptions'][_0x87b425(0x1ac)])&&(this[_0x87b425(0x1c5)][_0x87b425(0x1e4)]=_0x5ceb59[_0x87b425(0x1a8)]['retries__']);}if(testhubUtils[_0x87b425(0x1f2)]()){const _0x546f72=new ObservabilityReporter();_0x546f72[_0x87b425(0x1dc)]();}this[_0x87b425(0x1c5)][_0x87b425(0x1e5)]={},this['configuration']=_0x5ceb59[_0x87b425(0x1a8)],this[_0x87b425(0x186)][_0x87b425(0x1e0)]=constants[_0x87b425(0x19d)]['JEST'],this['global'][_0x87b425(0x1f1)]=(_0x5ceb59[_0x87b425(0x1b7)]?_0x5ceb59['projectConfig'][_0x87b425(0x1f1)]:_0x5ceb59[_0x87b425(0x1f1)])||0x0,this[_0x87b425(0x1c5)]['__platformCaps']=this['configuration']&&this[_0x87b425(0x186)][_0x87b425(0x1ba)]&&Array['isArray'](this[_0x87b425(0x186)]['platformCaps'])&&this[_0x87b425(0x186)][_0x87b425(0x1ba)][this[_0x87b425(0x1c5)][_0x87b425(0x1f1)]]||{};const _0x548a4c=this[_0x87b425(0x1c5)][_0x87b425(0x1f1)],_0x12e52b={...this[_0x87b425(0x186)],'capability':this['configuration'][_0x87b425(0x1ad)]&&Array[_0x87b425(0x1c9)](this[_0x87b425(0x186)][_0x87b425(0x1ad)])&&this[_0x87b425(0x186)][_0x87b425(0x1ad)][_0x548a4c]||{},'platformCaps':this[_0x87b425(0x186)][_0x87b425(0x1ba)]&&Array[_0x87b425(0x1c9)](this[_0x87b425(0x186)][_0x87b425(0x1ba)])&&this[_0x87b425(0x186)][_0x87b425(0x1ba)][_0x548a4c]||{}};delete _0x12e52b[_0x87b425(0x1ad)],this['global'][_0x87b425(0x1e8)]=_0x12e52b;if(_seleniumWebdriver2){const _0x5bfe8d=_0x47533e['hSPdn'][_0x87b425(0x1ab)]('|');let _0x4e82d6=0x0;while(!![]){switch(_0x5bfe8d[_0x4e82d6++]){case'0':helper[_0x87b425(0x194)](this[_0x87b425(0x186)][_0x87b425(0x1a7)])?this['global']['sessionNameProvided']=!![]:this[_0x87b425(0x1c5)][_0x87b425(0x1a4)]=![];continue;case'1':this['global']['cleanup']=async()=>{const _0x4e6fbb=_0x87b425;await this['global']['driver'][_0x4e6fbb(0x1d0)](_0x47533e[_0x4e6fbb(0x1b3)]);};continue;case'2':this[_0x87b425(0x1c5)]['percyCaptureMode']=helper[_0x87b425(0x1e6)](_0x5ceb59,[_0x47533e[_0x87b425(0x1c7)],_0x47533e[_0x87b425(0x1cd)],_0x47533e['GzwwL']]);continue;case'3':this['global'][_0x87b425(0x1cf)]=helper[_0x87b425(0x1e6)](_0x5ceb59,[_0x47533e['FeHNk'],_0x47533e[_0x87b425(0x1cd)],_0x47533e[_0x87b425(0x1d3)]]);continue;case'4':this['global']['__skipSessionStatus']=helper[_0x87b425(0x194)](this[_0x87b425(0x186)]['skipSessionStatus']);continue;case'5':this['global'][_0x87b425(0x1f3)]=helper['nestedKeyValue'](_0x5ceb59,[_0x47533e[_0x87b425(0x1c7)],_0x47533e['qFVpW'],_0x47533e[_0x87b425(0x188)]]);continue;case'6':this[_0x87b425(0x1c5)][_0x87b425(0x1b0)]=_0x47533e[_0x87b425(0x185)](require,_0x47533e['lnhWj'])[_0x87b425(0x1c1)]({...this[_0x87b425(0x186)],'capability':this[_0x87b425(0x190)]||{}},this,testhubUtils[_0x87b425(0x1f2)]());continue;case'7':this['global'][_0x87b425(0x197)]=[];continue;}break;}}}async[a16_0x34c9bb(0x1b5)](){const _0x4caf23=a16_0x34c9bb;_seleniumWebdriver2&&(await helper['cleanupDrivers'](this[_0x4caf23(0x1c5)][_0x4caf23(0x1b1)]),this[_0x4caf23(0x1c5)][_0x4caf23(0x1b0)]['Builder']=originalBuilder),await RequestQueueHandler['getInstance']()[_0x4caf23(0x1bc)]();}async[a16_0x34c9bb(0x1ed)](){}async[a16_0x34c9bb(0x19e)](_0x2266d0,_0x20ad3e){const _0x14a249=a16_0x34c9bb,_0x4285fc={};_0x4285fc[_0x14a249(0x18b)]=function(_0x42fc12,_0x485a88){return _0x42fc12===_0x485a88;},_0x4285fc['Binlc']='test_start',_0x4285fc[_0x14a249(0x1f0)]=_0x14a249(0x1dd),_0x4285fc[_0x14a249(0x1d4)]=_0x14a249(0x1a6),_0x4285fc['nLnPS']=_0x14a249(0x1b8),_0x4285fc[_0x14a249(0x18e)]=_0x14a249(0x1b4),_0x4285fc[_0x14a249(0x1f6)]=_0x14a249(0x1b5);const _0x3010f1=_0x4285fc,{name:_0x4162cb}=_0x2266d0;if(_0x3010f1[_0x14a249(0x18b)](_0x4162cb,_0x3010f1[_0x14a249(0x1da)])){this[_0x14a249(0x1c5)][_0x14a249(0x19a)]=_0x2266d0[_0x14a249(0x19b)];if(_0x3010f1[_0x14a249(0x18b)](this[_0x14a249(0x1c5)][_0x14a249(0x1bf)],!![])){const _0x3b35e9=_0x2266d0[_0x14a249(0x19b)]['name'];logger[_0x14a249(0x1c4)](_0x14a249(0x1ee)+_0x3b35e9),_0x2266d0[_0x14a249(0x19b)][_0x14a249(0x1d8)]=_0x3010f1[_0x14a249(0x1f0)];}}if(this[_0x14a249(0x1ae)]&&_0x3010f1['QqbIg'](_0x4162cb,_0x3010f1['jZLUw']))try{const _0x1285e8=_0x2266d0[_0x14a249(0x19b)][_0x14a249(0x189)][_0x14a249(0x1ef)](_0x3010f1[_0x14a249(0x1b9)]),_0x12f719=_0x2266d0[_0x14a249(0x19b)][_0x14a249(0x1d1)];await this[_0x14a249(0x1ae)][_0x14a249(0x1a0)](_0x1285e8,_0x12f719);const _0x2112df=await this[_0x14a249(0x1ae)][_0x14a249(0x1c3)]();_0x3010f1['QqbIg'](this['global'][_0x14a249(0x1bf)],![])&&_0x3010f1['QqbIg'](_0x2112df,!![])&&(this['global'][_0x14a249(0x1bf)]=!![]);}catch(_0xa665d9){logger[_0x14a249(0x18f)](_0x3010f1['ldYdG'],_0xa665d9[_0x14a249(0x1e7)]);}_0x3010f1[_0x14a249(0x18b)](_0x4162cb,_0x3010f1[_0x14a249(0x1f6)])&&(this[_0x14a249(0x1ae)]&&this[_0x14a249(0x1ae)][_0x14a249(0x1e3)]());}}module[a16_0x34c9bb(0x1cb)]=CustomEnvironment;
@@ -1 +1 @@
1
- const a17_0x4424f8=a17_0x4371;(function(_0x1ba95d,_0x2ad6c7){const _0x313025=a17_0x4371,_0x74efa5=_0x1ba95d();while(!![]){try{const _0x118de8=parseInt(_0x313025(0x18a))/0x1+parseInt(_0x313025(0x186))/0x2*(-parseInt(_0x313025(0x1c0))/0x3)+parseInt(_0x313025(0x1ed))/0x4+-parseInt(_0x313025(0x1e0))/0x5+-parseInt(_0x313025(0x131))/0x6+parseInt(_0x313025(0x17e))/0x7*(-parseInt(_0x313025(0x19c))/0x8)+parseInt(_0x313025(0x1bf))/0x9*(parseInt(_0x313025(0x183))/0xa);if(_0x118de8===_0x2ad6c7)break;else _0x74efa5['push'](_0x74efa5['shift']());}catch(_0x2e89da){_0x74efa5['push'](_0x74efa5['shift']());}}}(a17_0x3203,0x893c6));const {requireModule}=require('../../../helpers/helper'),ObservabilityReporter=require(a17_0x4424f8(0x16a)),RequestQueueHandler=require(a17_0x4424f8(0x1d0)),TestDetails=require(a17_0x4424f8(0x180)),{patchConsoleLogger,debug}=require(a17_0x4424f8(0x155)),{o11yErrorHandler}=require(a17_0x4424f8(0x151)),{shouldProcessEventForTesthub}=require(a17_0x4424f8(0x11e)),testHubConstants=require(a17_0x4424f8(0x1f4)),BrowserstackCLI=require(a17_0x4424f8(0x19e)),TestFrameworkState=require(a17_0x4424f8(0x185)),HookState=require('../../v2/state/hookState'),JestUtils=require(a17_0x4424f8(0x158)),{v4:uuidv4}=require(a17_0x4424f8(0x1f3)),util=require(a17_0x4424f8(0x1b8)),logger=require(a17_0x4424f8(0x16b))[a17_0x4424f8(0x10b)],{FRAMEWORKS}=require(a17_0x4424f8(0x1bb));let exportsI;try{exportsI=requireModule(a17_0x4424f8(0x1d4),a17_0x4424f8(0x112));}catch{exportsI=requireModule(a17_0x4424f8(0x17f),a17_0x4424f8(0x112));}function a17_0x3203(){const _0x576e7d=['AFTER_EACH',':hookAnalyticsId','hDPZL','env','winstonLogger','test_done','mJxMY','testUUID','lAuaT','Bampj','call','jest-circus','BEFORE_EACH','\x20for\x20hook\x20type:\x20','stack-trace','TEST','PRE','TestRunStarted','\x20>\x20','tetPy','kIOpJ','jest-circus/build/utils.js','WOEOh','../../../helpers/testhub/utils','Error\x20reading\x20platformIndex\x20from\x20args:\x20','DDWTC','map','testAnalyticsId','bootstrap','UQJzD','trackEvent','currentTest','agQvP','CnwAK','setFrameworkDetail','HookFinished','siOrA','BROWSERSTACK_PUPPETEER','pihvx','JEST','Error\x20routing\x20to\x20JestTestFramework:\x20','Error\x20handling\x20hook\x20event\x20for\x20CLI:\x20','6115680rAFXQc','jestConfig','VXyOU','hook_failure','seLVX','ASBvO','POST','BROWSERSTACK_PLATFORM_INDEX','run_describe_finish','started_at','name','unhandledErrors','debug','huDrX','createHookData','toString','FGChe','[customJestAdapterInit]\x20Skipping\x20heavy\x20init\x20for\x20platformIndex=','file','sendTestRunEvent','Wmrik','pid','afterAll','../../v2/cliUtils','raSsS','number','iQDyQ','BROWSERSTACK_CLI_BIN_SESSION_ID','AFXWR','hSqgc','mCkhB','markedStatus','../../../helpers/test-observability/error-handler','Ojism','beforeEach','vMfzr','../../../helpers/test-observability/utils','wXGSw','YZmqv','../../v2/utils/jest-utils','createIdentifierFromJestTest','PUPPETEER','parse','hookUUID','Error\x20bootstrapping\x20CLI\x20in\x20jest\x20adapter:\x20','vaXhl','PKXKz','SMwXZ','getFileName','isCliEnabled','state','FdBcl','browserstackPlatformIndex','PLAYWRIGHT','getTestFramework','tqqXn','currentHook','../test-observability/obsReporter','../../../helpers/logger','LOG_REPORT','ZHJNh',',\x20BROWSERSTACK_PUPPETEER=','current_test','EVENT','makeSingleTestResult','removeTestUUID','[customJestAdapterInit]\x20Error\x20in\x20test_start\x20name\x20storage:\x20','HookStarted','__jestCurrentTestIdentifier','status','originalTest','sizpW','_bstackTestStatus','setActiveHook','tqBYW','lKEaj','message','233821oYkXCX','jest-circus/build/jestAdapterInit.js','../test-observability/test-details','tALdC','HookRunFinished','3543430kphTMY','oOiNs','../../v2/state/testFrameworkState','136SZthkg','ROOT_DESCRIBE_BLOCK','__workerDetails','has','216798SvQfqc','initialize','hookData','title','sHCRX','createTestFrameworkData','uCCss','NYGkf','registerListeners','BEFORE_ALL','nDUzo','yzoAF','lVpcB','mqeZA','ljkgd','nRMfC','YwAcf','isArray','24oWNThe','RfaKc','../../v2/browserstackCLI','afterEach','XhRFf','[customJestAdapterInit]\x20Set\x20test\x20status:\x20\x22','join','test_skip','errorsDetailed','fail','Error\x20while\x20adding\x20o11y\x20event\x20handler,\x20','passed','rbnFB','[customJestAdapterInit]\x20Initializing\x20for\x20platformIndex=','_bstackTestName','KwZhR','retryOf','mFoCj','parent','HookRunStarted',',\x20re-registering\x20event\x20handler','forEach','qTRCT','TestRunFinished','addEventHandler','isRunning','TestRunSkipped','testInfo','util','QqwWo','removeActiveHook','../../utils/constants','jest-circus/build/state.js','hook_success','VDKoX','63ALLuOR','38769cyUBuc','QpedW','hookAnalyticsId','kJDKc','test_start','CLI\x20is\x20enabled\x20and\x20running.','testIdentifier','hook','HqJzH','qajUI','configuration','teardown','Handling\x20test\x20event\x20for\x20CLI:\x20','buDdg','type','length','../../../helpers/test-observability/requestQueueHandler','pUcxn','wTfza','[customJestAdapterInit]\x20Error\x20building\x20test\x20name:\x20','jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js','mZfaQ','asyncError','setTestUUID','FIFBe','Error\x20parsing\x20stack\x20trace\x20for\x20hook\x20asyncError:\x20','test','getAutomationFrameworkDetail','Exception\x20in\x20jest\x20custom\x20reporter\x20with\x20error:\x20','error','true','PaEFh','4697210WwZedL','shutdown','[customJestAdapterInit]\x20Set\x20test\x20name:\x20\x22','add','_bstackTestFailureReason','beforeAll','Handling\x20hook\x20event\x20for\x20CLI:\x20','match','zZOjA','toISOString','browserstackTestName','removeAllListeners','getInstance','3210456izlwUf','format','OXMMI','__bstackPlatformIndex','config','failed','uuid','../../../helpers/testhub/constants','gqVtQ','cJXco'];a17_0x3203=function(){return _0x576e7d;};return a17_0x3203();}const initInitialize=exportsI['initialize'],jestUtils=new JestUtils(),_initializedPlatformIndices=new Set();async function isCLIReady(){const _0x6a325=a17_0x4424f8,_0x1f21c0={'RfaKc':_0x6a325(0x1c5),'tqBYW':function(_0x4dcd27,_0x522a4a){return _0x4dcd27(_0x522a4a);},'vMfzr':_0x6a325(0x148),'YZmqv':function(_0x8ece1a,_0x3f154f){return _0x8ece1a===_0x3f154f;},'raSsS':_0x6a325(0x1de),'vaXhl':function(_0x22d8c9,_0x57533a){return _0x22d8c9(_0x57533a);}};try{const _0x5ac873=BrowserstackCLI[_0x6a325(0x1ec)]();if(_0x5ac873[_0x6a325(0x162)]()&&_0x5ac873[_0x6a325(0x1b5)]())return logger[_0x6a325(0x13d)](_0x1f21c0[_0x6a325(0x19d)]),!![];const _0x195355=process[_0x6a325(0x10a)][_0x6a325(0x14c)];if(_0x195355&&_0x5ac873[_0x6a325(0x162)]()){if(!_0x5ac873[_0x6a325(0x1b5)]())try{const _0x42f587=_0x1f21c0['tqBYW'](require,_0x1f21c0[_0x6a325(0x154)]),_0x27f9fd=_0x42f587[_0x6a325(0x1db)]();(!_0x27f9fd||!_0x27f9fd['name'])&&(_0x1f21c0[_0x6a325(0x157)](process[_0x6a325(0x10a)][_0x6a325(0x12c)],_0x1f21c0[_0x6a325(0x149)])?_0x42f587['setFrameworkDetail'](FRAMEWORKS[_0x6a325(0x12e)],FRAMEWORKS[_0x6a325(0x15a)]):_0x42f587[_0x6a325(0x129)](FRAMEWORKS['JEST'],FRAMEWORKS[_0x6a325(0x166)])),await _0x5ac873[_0x6a325(0x123)]();}catch(_0x2990ed){return _0x1f21c0[_0x6a325(0x17b)](debug,_0x6a325(0x15d)+util[_0x6a325(0x1ee)](_0x2990ed)),![];}return _0x5ac873['isRunning']();}return![];}catch(_0x46cae4){return _0x1f21c0[_0x6a325(0x15e)](debug,'Error\x20checking\x20CLI\x20readiness:\x20'+util[_0x6a325(0x1ee)](_0x46cae4)),![];}}function getTestIdentifierForHook(_0x1c21aa){const _0x1837fc=a17_0x4424f8,_0x55110c={};_0x55110c[_0x1837fc(0x190)]=function(_0x42b276,_0xfb5e19){return _0x42b276===_0xfb5e19;},_0x55110c[_0x1837fc(0x1f5)]='beforeEach',_0x55110c[_0x1837fc(0x136)]=_0x1837fc(0x1e5);const _0x37a7cb=_0x55110c;if(_0x37a7cb['uCCss'](_0x1c21aa[_0x1837fc(0x1ce)],_0x37a7cb['gqVtQ'])||_0x37a7cb[_0x1837fc(0x190)](_0x1c21aa[_0x1837fc(0x1ce)],_0x37a7cb[_0x1837fc(0x136)])){let _0x238f56=global[_0x1837fc(0x175)];if(!_0x238f56&&_0x37a7cb[_0x1837fc(0x190)](_0x1c21aa['type'],_0x37a7cb[_0x1837fc(0x136)])&&_0x1c21aa[_0x1837fc(0x1ae)]){const _0x1c95d3={};_0x1c95d3[_0x1837fc(0x13b)]=_0x1c21aa['parent'][_0x1837fc(0x13b)],_0x1c95d3[_0x1837fc(0x1ae)]=_0x1c21aa[_0x1837fc(0x1ae)][_0x1837fc(0x1ae)],_0x1c95d3[_0x1837fc(0x1d6)]=_0x1c21aa[_0x1837fc(0x1d6)],_0x1c95d3['file']=_0x1c21aa[_0x1837fc(0x143)];const _0x5bd49a=_0x1c95d3;_0x238f56=jestUtils[_0x1837fc(0x159)](_0x5bd49a);}return _0x238f56;}return global[_0x1837fc(0x175)];}function mapHookTypeToState(_0xe3f7a8){const _0x214257=a17_0x4424f8,_0xd84b21={};_0xd84b21[_0x214257(0x1e5)]=TestFrameworkState[_0x214257(0x193)],_0xd84b21[_0x214257(0x147)]=TestFrameworkState['AFTER_ALL'],_0xd84b21[_0x214257(0x153)]=TestFrameworkState['BEFORE_EACH'],_0xd84b21[_0x214257(0x19f)]=TestFrameworkState[_0x214257(0x1f7)];const _0x55827f=_0xd84b21;return _0x55827f[_0xe3f7a8]||TestFrameworkState[_0x214257(0x113)];}async function handleHookEventCLI(_0x5b0fc9,_0x54611f,_0x3ed9dc){const _0x119d0e=a17_0x4424f8,_0x30c3af={'Ojism':function(_0xe9ff81,_0x59b3d2){return _0xe9ff81(_0x59b3d2);},'DIIAE':_0x119d0e(0x115),'CnwAK':function(_0x587e31,_0x4e41ae){return _0x587e31===_0x4e41ae;},'ljkgd':_0x119d0e(0x187),'SaGoG':function(_0x291327){return _0x291327();},'seLVX':function(_0x258189){return _0x258189();},'mqeZA':_0x119d0e(0x1af),'QqwWo':function(_0x3cec45,_0x41ee6){return _0x3cec45(_0x41ee6);},'FdBcl':function(_0x7aa58d,_0x54ecf3){return _0x7aa58d===_0x54ecf3;},'hDPZL':_0x119d0e(0x182),'wTfza':_0x119d0e(0x1c7)};logger[_0x119d0e(0x13d)](_0x119d0e(0x1e6)+_0x54611f+_0x119d0e(0x114)+_0x5b0fc9['type']);try{if(_0x5b0fc9['fn']&&_0x5b0fc9['fn'][_0x119d0e(0x140)]()[_0x119d0e(0x1e7)](/browserstack internal helper hook/))return;if(_0x5b0fc9[_0x119d0e(0x1ae)]&&_0x30c3af[_0x119d0e(0x128)](_0x5b0fc9[_0x119d0e(0x1ae)]['name'],_0x30c3af[_0x119d0e(0x198)])){const _0x274486=_0x5b0fc9[_0x119d0e(0x1d6)]&&((()=>{const _0x2ad212=_0x119d0e;try{const _0xe83284=_0x30c3af[_0x2ad212(0x152)](require,_0x30c3af['DIIAE']),_0xa9980b=_0xe83284[_0x2ad212(0x15b)][_0x2ad212(0x111)](_0xe83284,_0x5b0fc9[_0x2ad212(0x1d6)]);return _0xa9980b[0x0]&&_0xa9980b[0x0]['getFileName']?_0xa9980b[0x0][_0x2ad212(0x161)]():null;}catch(_0x19cd60){return logger['debug']('Error\x20parsing\x20stack\x20trace\x20for\x20hook\x20asyncError:\x20'+_0x19cd60['message']),null;}})())||_0x5b0fc9[_0x119d0e(0x143)]||null;if(!_0x274486)return;}let _0xcadab3=_0x5b0fc9[_0x119d0e(0x1c2)];if(!_0xcadab3)_0xcadab3=_0x30c3af['SaGoG'](uuidv4),_0x5b0fc9['hookAnalyticsId']=_0xcadab3;else _0x5b0fc9['markedStatus']&&(_0xcadab3=_0x30c3af[_0x119d0e(0x135)](uuidv4),_0x5b0fc9['hookAnalyticsId']=_0xcadab3,delete _0x5b0fc9[_0x119d0e(0x150)]);_0x30c3af[_0x119d0e(0x128)](_0x54611f,_0x30c3af[_0x119d0e(0x197)])&&(_0x5b0fc9[_0x119d0e(0x13a)]=new Date()[_0x119d0e(0x1e9)]());const _0x486504=_0x30c3af['QqwWo'](getTestIdentifierForHook,_0x5b0fc9);!global[_0x119d0e(0x188)]&&(global[_0x119d0e(0x188)]={});if(_0x30c3af['CnwAK'](_0x54611f,_0x30c3af[_0x119d0e(0x197)])){global[_0x119d0e(0x188)]['currentHook']={'hookUUID':_0xcadab3,'testIdentifier':_0x486504,'hookType':_0x5b0fc9[_0x119d0e(0x1ce)],'startedAt':new Date()[_0x119d0e(0x1e9)]()};const _0x343a48=BrowserstackCLI[_0x119d0e(0x1ec)]()[_0x119d0e(0x167)]();_0x343a48&&_0x343a48[_0x119d0e(0x17a)]&&_0x343a48[_0x119d0e(0x17a)](_0x486504,_0xcadab3,_0x5b0fc9[_0x119d0e(0x1ce)]);}const _0x49156b=await jestUtils[_0x119d0e(0x13f)](_0x5b0fc9,_0xcadab3,_0x54611f,_0x486504);if(!_0x49156b)return;const _0x2a8cfc=_0x30c3af[_0x119d0e(0x1b9)](mapHookTypeToState,_0x5b0fc9['type']),_0x4490ad=_0x30c3af[_0x119d0e(0x128)](_0x54611f,_0x30c3af[_0x119d0e(0x197)])?HookState[_0x119d0e(0x117)]:HookState['POST'],_0x308d88=BrowserstackCLI[_0x119d0e(0x1ec)]()[_0x119d0e(0x167)]();if(_0x308d88){const _0x50e182={};_0x50e182[_0x119d0e(0x18c)]=_0x49156b,await _0x308d88[_0x119d0e(0x125)](_0x2a8cfc,_0x4490ad,_0x50e182);if(_0x30c3af[_0x119d0e(0x164)](_0x54611f,_0x30c3af[_0x119d0e(0x109)])){const _0x4d0f09={};_0x4d0f09['testUUID']=_0x486504,_0x4d0f09[_0x119d0e(0x1ce)]=_0x30c3af[_0x119d0e(0x1d2)],await _0x308d88[_0x119d0e(0x125)](TestFrameworkState['LOG_REPORT'],HookState[_0x119d0e(0x137)],_0x4d0f09),global[_0x119d0e(0x188)]&&global[_0x119d0e(0x188)][_0x119d0e(0x169)]&&_0x30c3af[_0x119d0e(0x164)](global[_0x119d0e(0x188)][_0x119d0e(0x169)][_0x119d0e(0x15c)],_0xcadab3)&&delete global[_0x119d0e(0x188)][_0x119d0e(0x169)],_0x308d88['removeActiveHook']&&_0x308d88[_0x119d0e(0x1ba)](_0x486504,_0xcadab3);}}}catch(_0x3cf302){logger[_0x119d0e(0x1dd)](_0x119d0e(0x130)+util['format'](_0x3cf302));throw _0x3cf302;}}async function handleTestEventCLI(_0x3abac9,_0x56888a,_0x779c03){const _0x335c79=a17_0x4424f8,_0x1063f9={};_0x1063f9['qGTjR']=function(_0x395b9f,_0x1e8174){return _0x395b9f===_0x1e8174;},_0x1063f9[_0x335c79(0x1b2)]=_0x335c79(0x118),_0x1063f9['cAwws']=function(_0x5dd18d,_0x12abf1){return _0x5dd18d>_0x12abf1;},_0x1063f9['uJWKx']=function(_0x4c6ef0,_0x4f7f74){return _0x4c6ef0===_0x4f7f74;},_0x1063f9['mJxMY']=function(_0x14f5d3,_0x42bf29){return _0x14f5d3&&_0x42bf29;},_0x1063f9[_0x335c79(0x11a)]=_0x335c79(0x1f2),_0x1063f9[_0x335c79(0x133)]=_0x335c79(0x1b3),_0x1063f9[_0x335c79(0x120)]=_0x335c79(0x1da);const _0x5e49d2=_0x1063f9;logger[_0x335c79(0x13d)](_0x335c79(0x1cc)+_0x56888a);try{let _0x2e22d3;if(_0x5e49d2['qGTjR'](_0x56888a,_0x5e49d2['qTRCT'])){_0x2e22d3=jestUtils[_0x335c79(0x159)](_0x3abac9),global[_0x335c79(0x175)]=_0x2e22d3,_0x3abac9[_0x335c79(0x122)]=_0x2e22d3,_0x3abac9['id']=_0x2e22d3,_0x3abac9[_0x335c79(0x13a)]=new Date()[_0x335c79(0x1e9)]();const _0x2a4aa6=_0x779c03[_0x335c79(0x16f)];_0x779c03[_0x335c79(0x16f)]=_0x3abac9,_0x3abac9[_0x335c79(0x1ac)]=null;if(_0x5e49d2['cAwws'](_0x3abac9['_currentRetry'],0x0)&&_0x2a4aa6&&_0x5e49d2['uJWKx'](_0x2a4aa6['title'],_0x3abac9[_0x335c79(0x18d)])){_0x3abac9[_0x335c79(0x1ac)]=_0x2a4aa6[_0x335c79(0x122)];const _0x5e4509=await jestUtils['createTestFrameworkData'](_0x3abac9,_0x2e22d3,_0x5e49d2[_0x335c79(0x1b2)]),_0xd6cc0d=BrowserstackCLI[_0x335c79(0x1ec)]()['getTestFramework']();if(_0x5e49d2[_0x335c79(0x10d)](_0x5e4509,_0xd6cc0d)){const _0x58cb4f={};_0x58cb4f[_0x335c79(0x1da)]=_0x5e4509,await _0xd6cc0d[_0x335c79(0x125)](TestFrameworkState['TEST'],HookState[_0x335c79(0x117)],_0x58cb4f);}_0x2a4aa6[_0x335c79(0x163)]=_0x5e49d2[_0x335c79(0x11a)];const _0x16df3c=await jestUtils[_0x335c79(0x18f)](_0x2a4aa6,_0x2a4aa6[_0x335c79(0x122)],_0x5e49d2['VXyOU']);if(_0x5e49d2[_0x335c79(0x10d)](_0x16df3c,_0xd6cc0d)){const _0x23a8d3={};_0x23a8d3[_0x335c79(0x1da)]=_0x16df3c,await _0xd6cc0d['trackEvent'](TestFrameworkState[_0x335c79(0x116)],HookState[_0x335c79(0x137)],_0x23a8d3);}}else{const _0x752ea5=await jestUtils[_0x335c79(0x18f)](_0x3abac9,_0x2e22d3,_0x5e49d2['qTRCT']),_0x4e5f91=BrowserstackCLI['getInstance']()[_0x335c79(0x167)]();if(_0x5e49d2[_0x335c79(0x10d)](_0x752ea5,_0x4e5f91)){const _0x12eb70={};_0x12eb70['test']=_0x752ea5,await _0x4e5f91[_0x335c79(0x125)](TestFrameworkState[_0x335c79(0x116)],HookState[_0x335c79(0x117)],_0x12eb70);}}}else{_0x2e22d3=_0x3abac9[_0x335c79(0x122)]||_0x3abac9['id']||global[_0x335c79(0x175)];const _0x192652=await jestUtils[_0x335c79(0x18f)](_0x3abac9,_0x2e22d3,_0x56888a),_0x32f465=BrowserstackCLI['getInstance']()[_0x335c79(0x167)]();if(_0x5e49d2[_0x335c79(0x10d)](_0x192652,_0x32f465)){const _0x5c6838={};_0x5c6838['test']=_0x192652,_0x5c6838[_0x335c79(0x177)]=_0x3abac9,_0x5c6838[_0x335c79(0x1c6)]=_0x2e22d3,await _0x32f465[_0x335c79(0x125)](TestFrameworkState[_0x335c79(0x116)],HookState[_0x335c79(0x137)],_0x5c6838);const _0xddd2ae={};_0xddd2ae[_0x335c79(0x10e)]=_0x2e22d3,_0xddd2ae['type']=_0x5e49d2[_0x335c79(0x120)],await _0x32f465[_0x335c79(0x125)](TestFrameworkState[_0x335c79(0x16c)],HookState[_0x335c79(0x137)],_0xddd2ae);}}}catch(_0x29d153){logger[_0x335c79(0x1dd)]('Error\x20handling\x20test\x20event\x20for\x20CLI:\x20'+util[_0x335c79(0x1ee)](_0x29d153));throw _0x29d153;}}function a17_0x4371(_0x51c1b1,_0x18040e){const _0x32037c=a17_0x3203();return a17_0x4371=function(_0x437125,_0x4c269e){_0x437125=_0x437125-0x109;let _0x3ee9d4=_0x32037c[_0x437125];return _0x3ee9d4;},a17_0x4371(_0x51c1b1,_0x18040e);}exportsI[a17_0x4424f8(0x18b)]=(..._0x565357)=>{const _0x3288f0=a17_0x4424f8,_0xf589f={'ZHJNh':function(_0x4f22d3,_0x369bfb){return _0x4f22d3(_0x369bfb);},'wXGSw':function(_0x1e53b8,_0x3dd088){return _0x1e53b8(_0x3dd088);},'UBmMu':_0x3288f0(0x115),'nRMfC':'hook_start','lAuaT':function(_0x54e2b7,_0x1acd54){return _0x54e2b7===_0x1acd54;},'Bampj':_0x3288f0(0x187),'siOrA':function(_0x5800e9){return _0x5800e9();},'iQDyQ':function(_0x5a3bfd,_0x50749d){return _0x5a3bfd(_0x50749d);},'pUcxn':function(_0x4dc45b,_0x276d72,_0x733606,_0x430264){return _0x4dc45b(_0x276d72,_0x733606,_0x430264);},'mCkhB':_0x3288f0(0x1af),'VYAKz':_0x3288f0(0x1bd),'kIOpJ':function(_0x349e3a,_0x1d6633){return _0x349e3a(_0x1d6633);},'UQJzD':'HookRunFinished','PaEFh':function(_0x4f1a4b,_0x24e949){return _0x4f1a4b(_0x24e949);},'pihvx':function(_0x50101f,_0x56921e){return _0x50101f(_0x56921e);},'FIFBe':_0x3288f0(0x134),'hSqgc':_0x3288f0(0x1e5),'lVpcB':_0x3288f0(0x153),'HKMBa':_0x3288f0(0x19f),'YwAcf':function(_0x5448c7,_0x5873f7){return _0x5448c7>_0x5873f7;},'OXMMI':function(_0x1c8e9d,_0x282e6c){return _0x1c8e9d(_0x282e6c);},'FGChe':function(_0x2a786d,_0x1cbdb1){return _0x2a786d(_0x1cbdb1);},'AFXWR':_0x3288f0(0x1c4),'VDKoX':function(_0x4d385a,_0xe345f6){return _0x4d385a!==_0xe345f6;},'lKEaj':_0x3288f0(0x119),'PKXKz':function(_0x49ed66){return _0x49ed66();},'xeauD':_0x3288f0(0x118),'agQvP':_0x3288f0(0x10c),'kJDKc':function(_0x1b14d3,_0xf4ed25){return _0x1b14d3>_0xf4ed25;},'oOiNs':_0x3288f0(0x1a5),'zFbRl':'failed','QpedW':_0x3288f0(0x1a7),'mFoCj':function(_0x19350e,_0x1c5fd0){return _0x19350e||_0x1c5fd0;},'sHCRX':function(_0x3fbcab){return _0x3fbcab();},'WOEOh':function(_0x1bd8f1,_0x442769,_0x56dcf5,_0x28f964){return _0x1bd8f1(_0x442769,_0x56dcf5,_0x28f964);},'SMwXZ':_0x3288f0(0x1b3),'irbbk':function(_0x22ee87,_0x2771d3){return _0x22ee87(_0x2771d3);},'XhRFf':_0x3288f0(0x1a3),'huDrX':function(_0x10ee66,_0x56fa43,_0x27061a,_0x263805){return _0x10ee66(_0x56fa43,_0x27061a,_0x263805);},'tALdC':_0x3288f0(0x1b6),'buDdg':function(_0x319af9,_0x1d5d56){return _0x319af9(_0x1d5d56);},'mZfaQ':_0x3288f0(0x139),'sizpW':_0x3288f0(0x1cb),'nDUzo':_0x3288f0(0x14a),'yzoAF':function(_0x4bad73,_0x33d68d){return _0x4bad73===_0x33d68d;},'MyFUY':function(_0x6a64fd){return _0x6a64fd();},'eaotK':function(_0xb914bc){return _0xb914bc();},'NYGkf':function(_0x162555,_0x3e58b2,_0x3a80bb){return _0x162555(_0x3e58b2,_0x3a80bb);},'rbnFB':_0x3288f0(0x1bc),'HqJzH':_0x3288f0(0x112),'hIkrQ':function(_0x5c3ecc,_0x2f9960){return _0x5c3ecc(_0x2f9960);},'qajUI':function(_0x5ee50b,_0x244b91,_0x2ee155){return _0x5ee50b(_0x244b91,_0x2ee155);},'zZOjA':_0x3288f0(0x11c),'Wmrik':function(_0x34fec4){return _0x34fec4();},'cJXco':'EventHandler','uaXQq':function(_0x1df4a8,_0x4d85c7){return _0x1df4a8(_0x4d85c7);}};try{logger['debug']('[customJestAdapterInit]\x20initialize\x20called,\x20shouldProcessEventForTesthub='+_0xf589f[_0x3288f0(0x12b)](shouldProcessEventForTesthub)+_0x3288f0(0x16e)+process[_0x3288f0(0x10a)]['BROWSERSTACK_PUPPETEER']);const _0x21ab48=_0x565357&&_0x565357[0x0]?_0x565357[0x0]:{};let _0x2b9c50=0x0;try{if(_0x21ab48[_0x3288f0(0x1f1)]&&_0xf589f[_0x3288f0(0x10f)](typeof _0x21ab48['config'][_0x3288f0(0x165)],_0xf589f['nDUzo']))_0x2b9c50=_0x21ab48[_0x3288f0(0x1f1)]['browserstackPlatformIndex'];else{if(_0x21ab48[_0x3288f0(0x1ca)]&&_0xf589f[_0x3288f0(0x10f)](typeof _0x21ab48[_0x3288f0(0x1ca)][_0x3288f0(0x165)],_0xf589f[_0x3288f0(0x194)]))_0x2b9c50=_0x21ab48[_0x3288f0(0x1ca)]['browserstackPlatformIndex'];else global[_0x3288f0(0x132)]&&_0xf589f[_0x3288f0(0x195)](typeof global[_0x3288f0(0x132)]['browserstackPlatformIndex'],_0xf589f[_0x3288f0(0x194)])&&(_0x2b9c50=global[_0x3288f0(0x132)]['browserstackPlatformIndex']);}}catch(_0x493001){logger[_0x3288f0(0x13d)](_0x3288f0(0x11f)+util['format'](_0x493001));}global[_0x3288f0(0x1f0)]=_0x2b9c50,process[_0x3288f0(0x10a)][_0x3288f0(0x138)]=_0xf589f[_0x3288f0(0x11b)](String,_0x2b9c50);const _0x18aca5=new ObservabilityReporter();!_initializedPlatformIndices[_0x3288f0(0x189)](_0x2b9c50)?(logger[_0x3288f0(0x13d)](_0x3288f0(0x1a9)+_0x2b9c50),_initializedPlatformIndices[_0x3288f0(0x1e3)](_0x2b9c50),_0xf589f['MyFUY'](shouldProcessEventForTesthub)&&(_0xf589f['eaotK'](patchConsoleLogger),_0x18aca5[_0x3288f0(0x192)]())):logger[_0x3288f0(0x13d)](_0x3288f0(0x142)+_0x2b9c50+_0x3288f0(0x1b0));let _0x186707;try{_0x186707=_0xf589f[_0x3288f0(0x191)](requireModule,_0xf589f[_0x3288f0(0x1a8)],_0xf589f[_0x3288f0(0x1c8)]);}catch{_0x186707=_0xf589f['hIkrQ'](requireModule,_0xf589f[_0x3288f0(0x1c8)]);}let _0x25a59c;try{_0x25a59c=_0xf589f[_0x3288f0(0x1c9)](requireModule,_0xf589f[_0x3288f0(0x1e8)],_0xf589f['HqJzH'])[_0x3288f0(0x171)];}catch{_0x25a59c=_0xf589f[_0x3288f0(0x1cd)](requireModule,_0xf589f['HqJzH'])[_0x3288f0(0x171)]||(()=>({}));}const _0x3c3705=BrowserstackCLI[_0x3288f0(0x1ec)]()[_0x3288f0(0x162)]();(_0xf589f[_0x3288f0(0x145)](shouldProcessEventForTesthub)||_0x3c3705)&&_0x186707[_0x3288f0(0x1b4)](_0xf589f['NYGkf'](o11yErrorHandler,async(_0x4e23e6,_0xd9739)=>{const _0x56f9f0=_0x3288f0,_0x4c88d9={'yaBVT':function(_0x189fe5,_0x5e4f49){return _0xf589f['wXGSw'](_0x189fe5,_0x5e4f49);},'KwZhR':_0xf589f['UBmMu']};switch(_0x4e23e6['name']){case _0xf589f[_0x56f9f0(0x199)]:if(_0x4e23e6[_0x56f9f0(0x1c7)]['fn']&&_0x4e23e6[_0x56f9f0(0x1c7)]['fn'][_0x56f9f0(0x140)]()[_0x56f9f0(0x1e7)](/browserstack internal helper hook/))break;if(_0x4e23e6[_0x56f9f0(0x1c7)]['parent']&&_0xf589f['lAuaT'](_0x4e23e6[_0x56f9f0(0x1c7)]['parent']['name'],_0xf589f[_0x56f9f0(0x110)])){const _0x185c12=_0x4e23e6[_0x56f9f0(0x1c7)][_0x56f9f0(0x1d6)]&&((()=>{const _0x1a4993=_0x56f9f0;try{const _0x105bb4=_0x4c88d9['yaBVT'](require,_0x4c88d9[_0x1a4993(0x1ab)]),_0x1411d6=_0x105bb4[_0x1a4993(0x15b)][_0x1a4993(0x111)](_0x105bb4,_0x4e23e6[_0x1a4993(0x1c7)][_0x1a4993(0x1d6)]);return _0x1411d6[0x0]&&_0x1411d6[0x0][_0x1a4993(0x161)]?_0x1411d6[0x0][_0x1a4993(0x161)]():null;}catch(_0x13d87b){return logger[_0x1a4993(0x13d)](_0x1a4993(0x1d9)+_0x13d87b[_0x1a4993(0x17d)]),null;}})())||_0x4e23e6[_0x56f9f0(0x1c7)][_0x56f9f0(0x143)]||null;if(!_0x185c12)break;}if(BrowserstackCLI[_0x56f9f0(0x1ec)]()['isCliEnabled']()&&await _0xf589f[_0x56f9f0(0x12b)](isCLIReady)){if(_0xf589f[_0x56f9f0(0x14b)](shouldProcessEventForTesthub,testHubConstants['EVENT']['HookStarted']))try{await _0xf589f[_0x56f9f0(0x1d1)](handleHookEventCLI,_0x4e23e6['hook'],_0xf589f['mCkhB'],_0xd9739);break;}catch(_0x1cb8ba){_0xf589f['iQDyQ'](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util[_0x56f9f0(0x1ee)](_0x1cb8ba));}}if(_0xf589f[_0x56f9f0(0x14b)](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0x56f9f0(0x174)])){if(!_0x4e23e6[_0x56f9f0(0x1c7)][_0x56f9f0(0x1c2)]){const _0x5f261e=TestDetails[_0x56f9f0(0x1d7)](process['pid']+_0x56f9f0(0x1f8));_0x4e23e6['hook'][_0x56f9f0(0x1c2)]=_0x5f261e;}else _0x4e23e6[_0x56f9f0(0x1c7)][_0x56f9f0(0x150)]&&(_0x4e23e6['hook'][_0x56f9f0(0x1c2)]=TestDetails[_0x56f9f0(0x1d7)](process[_0x56f9f0(0x146)]+_0x56f9f0(0x1f8)),delete _0x4e23e6['hook'][_0x56f9f0(0x150)]);_0x4e23e6[_0x56f9f0(0x1c7)][_0x56f9f0(0x13a)]=new Date()['toISOString'](),await _0x18aca5[_0x56f9f0(0x144)](_0x4e23e6[_0x56f9f0(0x1c7)],undefined,![],_0xf589f[_0x56f9f0(0x14f)]);}break;case _0xf589f['VYAKz']:if(BrowserstackCLI[_0x56f9f0(0x1ec)]()[_0x56f9f0(0x162)]()&&await _0xf589f[_0x56f9f0(0x12b)](isCLIReady)){if(_0xf589f[_0x56f9f0(0x11b)](shouldProcessEventForTesthub,testHubConstants[_0x56f9f0(0x170)][_0x56f9f0(0x12a)]))try{await _0xf589f[_0x56f9f0(0x1d1)](handleHookEventCLI,_0x4e23e6[_0x56f9f0(0x1c7)],_0xf589f['UQJzD'],_0xd9739);break;}catch(_0x298e85){_0xf589f[_0x56f9f0(0x1df)](debug,_0x56f9f0(0x12f)+util[_0x56f9f0(0x1ee)](_0x298e85));}}_0xf589f[_0x56f9f0(0x12d)](shouldProcessEventForTesthub,testHubConstants[_0x56f9f0(0x170)][_0x56f9f0(0x12a)])&&(await _0x18aca5[_0x56f9f0(0x144)](_0x4e23e6[_0x56f9f0(0x1c7)],undefined,![],_0xf589f[_0x56f9f0(0x124)]),TestDetails[_0x56f9f0(0x172)](process['pid']+_0x56f9f0(0x1f8)));break;case _0xf589f[_0x56f9f0(0x1d8)]:[_0xf589f[_0x56f9f0(0x14e)],_0xf589f[_0x56f9f0(0x196)],_0xf589f['HKMBa']]['includes'](_0x4e23e6[_0x56f9f0(0x1c7)]['type'])&&(_0x18aca5['hook_failure']=_0x4e23e6[_0x56f9f0(0x1c7)]['type']),_0xd9739['unhandledErrors']&&_0xf589f[_0x56f9f0(0x19a)](_0xd9739[_0x56f9f0(0x13c)][_0x56f9f0(0x1cf)],0x0)&&(_0x4e23e6[_0x56f9f0(0x1c7)][_0x56f9f0(0x1a4)]=[_0xd9739['unhandledErrors'][0x0][0x0]]);if(BrowserstackCLI[_0x56f9f0(0x1ec)]()['isCliEnabled']()&&await _0xf589f[_0x56f9f0(0x12b)](isCLIReady)){if(_0xf589f[_0x56f9f0(0x1ef)](shouldProcessEventForTesthub,testHubConstants[_0x56f9f0(0x170)][_0x56f9f0(0x12a)]))try{await _0xf589f[_0x56f9f0(0x1d1)](handleHookEventCLI,_0x4e23e6[_0x56f9f0(0x1c7)],_0xf589f[_0x56f9f0(0x124)],_0xd9739);break;}catch(_0x2b6878){_0xf589f[_0x56f9f0(0x12d)](debug,_0x56f9f0(0x12f)+util['format'](_0x2b6878));}}_0xf589f[_0x56f9f0(0x141)](shouldProcessEventForTesthub,testHubConstants[_0x56f9f0(0x170)][_0x56f9f0(0x12a)])&&(await _0x18aca5[_0x56f9f0(0x144)](_0x4e23e6[_0x56f9f0(0x1c7)],undefined,![],_0xf589f['UQJzD']),TestDetails[_0x56f9f0(0x172)](process[_0x56f9f0(0x146)]+_0x56f9f0(0x1f8)));break;case _0xf589f[_0x56f9f0(0x14d)]:try{let _0x37fc86=_0x4e23e6['test'][_0x56f9f0(0x13b)]||'';try{let _0x27befe=_0x4e23e6[_0x56f9f0(0x1da)][_0x56f9f0(0x1ae)];const _0x5f1b27=[_0x37fc86];while(_0x27befe&&_0x27befe['name']&&_0xf589f[_0x56f9f0(0x1be)](_0x27befe['name'],_0xf589f['Bampj'])){_0x5f1b27['unshift'](_0x27befe['name']),_0x27befe=_0x27befe[_0x56f9f0(0x1ae)];}_0x37fc86=_0x5f1b27[_0x56f9f0(0x1a2)](_0xf589f[_0x56f9f0(0x17c)]);}catch(_0x1e02f0){logger[_0x56f9f0(0x13d)](_0x56f9f0(0x1d3)+_0x1e02f0['message']);}process[_0x56f9f0(0x1aa)]=_0x37fc86,process[_0x56f9f0(0x179)]=null,process['_bstackTestFailureReason']=null,logger[_0x56f9f0(0x13d)](_0x56f9f0(0x1e2)+_0x37fc86+'\x22');if(!global[_0x56f9f0(0x188)]){const _0x34ce72={};_0x34ce72[_0x56f9f0(0x126)]={},global[_0x56f9f0(0x188)]=_0x34ce72;}!global['__workerDetails']['currentTest']&&(global[_0x56f9f0(0x188)]['currentTest']={});const _0x573fd8={};_0x573fd8[_0x56f9f0(0x18d)]=_0x37fc86,_0x573fd8[_0x56f9f0(0x13b)]=_0x37fc86,global[_0x56f9f0(0x188)]['currentTest']['testInfo']=_0x573fd8,global[_0x56f9f0(0x1ea)]=_0x37fc86;}catch(_0x28a168){logger[_0x56f9f0(0x13d)](_0x56f9f0(0x173)+_0x28a168[_0x56f9f0(0x17d)]);}if(BrowserstackCLI[_0x56f9f0(0x1ec)]()[_0x56f9f0(0x162)]()&&await _0xf589f[_0x56f9f0(0x15f)](isCLIReady))try{await _0xf589f[_0x56f9f0(0x1d1)](handleTestEventCLI,_0x4e23e6['test'],_0xf589f['xeauD'],_0x18aca5);break;}catch(_0x262cbc){_0xf589f[_0x56f9f0(0x16d)](debug,_0x56f9f0(0x12f)+util[_0x56f9f0(0x1ee)](_0x262cbc));}_0xf589f['siOrA'](shouldProcessEventForTesthub)&&await _0x18aca5['testStarted'](_0x4e23e6[_0x56f9f0(0x1da)]);break;case _0xf589f[_0x56f9f0(0x127)]:_0x4e23e6[_0x56f9f0(0x1da)]={..._0xf589f[_0x56f9f0(0x156)](_0x25a59c,_0x4e23e6[_0x56f9f0(0x1da)]),..._0x4e23e6['test']};try{const _0x4fc66b=_0x4e23e6[_0x56f9f0(0x1da)]['errors']||[],_0x36e1ac=_0xf589f[_0x56f9f0(0x1c3)](_0x4fc66b[_0x56f9f0(0x1cf)],0x0)||_0xf589f['lAuaT'](_0x4e23e6[_0x56f9f0(0x1da)][_0x56f9f0(0x176)],_0xf589f[_0x56f9f0(0x184)]),_0x36a543=_0x36e1ac?_0xf589f['zFbRl']:_0xf589f[_0x56f9f0(0x1c1)];let _0x4d91a4='';_0x36e1ac&&(_0x4d91a4=_0x4fc66b[_0x56f9f0(0x121)](_0x27ef80=>{const _0x164192=_0x56f9f0;if(Array[_0x164192(0x19b)](_0x27ef80))return _0x27ef80[_0x164192(0x121)](_0x38869d=>_0x38869d&&_0x38869d[_0x164192(0x17d)]||String(_0x38869d))['join'](';\x20');return _0x27ef80&&_0x27ef80[_0x164192(0x17d)]||_0xf589f[_0x164192(0x16d)](String,_0x27ef80);})[_0x56f9f0(0x1a2)](';\x20')),process[_0x56f9f0(0x179)]=_0x36a543,process[_0x56f9f0(0x1e4)]=_0xf589f[_0x56f9f0(0x1ad)](_0x4d91a4,''),logger['debug'](_0x56f9f0(0x1a1)+_0x36a543+'\x22'),global[_0x56f9f0(0x188)]&&global['__workerDetails'][_0x56f9f0(0x126)]&&(!global['__workerDetails'][_0x56f9f0(0x126)]['testInfo']&&(global[_0x56f9f0(0x188)][_0x56f9f0(0x126)][_0x56f9f0(0x1b7)]={}),global['__workerDetails'][_0x56f9f0(0x126)][_0x56f9f0(0x1b7)][_0x56f9f0(0x176)]=_0x36a543,_0x36e1ac&&(global['__workerDetails']['currentTest'][_0x56f9f0(0x1b7)]['failureMessage']=_0x4d91a4));}catch(_0x59ee8c){logger['debug']('[customJestAdapterInit]\x20Error\x20in\x20test_done\x20status\x20storage:\x20'+_0x59ee8c['message']);}if(!_0x4e23e6[_0x56f9f0(0x1da)]['markedStatus']){_0x4e23e6[_0x56f9f0(0x1da)][_0x56f9f0(0x150)]=!![];if(BrowserstackCLI[_0x56f9f0(0x1ec)]()[_0x56f9f0(0x162)]()&&await _0xf589f[_0x56f9f0(0x18e)](isCLIReady))try{await _0xf589f[_0x56f9f0(0x11d)](handleTestEventCLI,_0x4e23e6[_0x56f9f0(0x1da)],_0xf589f[_0x56f9f0(0x160)],_0x18aca5);break;}catch(_0x47c564){_0xf589f['irbbk'](debug,_0x56f9f0(0x12f)+util[_0x56f9f0(0x1ee)](_0x47c564));}_0xf589f[_0x56f9f0(0x12b)](shouldProcessEventForTesthub)&&await _0x18aca5[_0x56f9f0(0x144)](_0x4e23e6[_0x56f9f0(0x1da)]);}break;case _0xf589f[_0x56f9f0(0x1a0)]:_0x4e23e6[_0x56f9f0(0x1da)]={..._0xf589f[_0x56f9f0(0x16d)](_0x25a59c,_0x4e23e6[_0x56f9f0(0x1da)]),..._0x4e23e6[_0x56f9f0(0x1da)]};if(!_0x4e23e6[_0x56f9f0(0x1da)][_0x56f9f0(0x150)]){_0x4e23e6[_0x56f9f0(0x1da)][_0x56f9f0(0x150)]=!![];if(BrowserstackCLI[_0x56f9f0(0x1ec)]()[_0x56f9f0(0x162)]()&&await _0xf589f[_0x56f9f0(0x15f)](isCLIReady))try{await _0xf589f[_0x56f9f0(0x13e)](handleTestEventCLI,_0x4e23e6['test'],_0xf589f[_0x56f9f0(0x181)],_0x18aca5);break;}catch(_0x2875f2){_0xf589f[_0x56f9f0(0x1cd)](debug,_0x56f9f0(0x12f)+util['format'](_0x2875f2));}_0xf589f['sHCRX'](shouldProcessEventForTesthub)&&await _0x18aca5['sendTestRunEvent'](_0x4e23e6[_0x56f9f0(0x1da)],undefined,![],_0xf589f['tALdC']);}break;case _0xf589f[_0x56f9f0(0x1d5)]:_0x18aca5['hook_failure']=null;break;case _0xf589f[_0x56f9f0(0x178)]:await RequestQueueHandler[_0x56f9f0(0x1ec)]()[_0x56f9f0(0x1e1)](),process[_0x56f9f0(0x1eb)]();break;default:}},_0xf589f[_0x3288f0(0x1f6)]));}catch(_0x4ec864){_0xf589f['uaXQq'](debug,_0x3288f0(0x1a6)+_0x4ec864);}return _0xf589f['PaEFh'](initInitialize,..._0x565357);};try{Object['keys'](exportsI)[a17_0x4424f8(0x1b1)](_0x1e9ee7=>{const _0x582483=a17_0x4424f8,_0xe99cda={'tqqXn':function(_0x2f870b,_0x2fea33){return _0x2f870b(_0x2fea33);}};try{exports&&(exports[_0x1e9ee7]=exportsI[_0x1e9ee7]);}catch(_0x391a56){_0xe99cda[_0x582483(0x168)](debug,_0x582483(0x1dc)+_0x391a56);}});}catch(a17_0x5d8e5d){debug('Exception\x20in\x20jest\x20custom\x20reporter\x20exports\x20with\x20error:\x20'+a17_0x5d8e5d);}
1
+ function a17_0x336c(_0x1ac324,_0x37c540){const _0x30ad43=a17_0x30ad();return a17_0x336c=function(_0x336ca6,_0x5dee2f){_0x336ca6=_0x336ca6-0x67;let _0x44682=_0x30ad43[_0x336ca6];return _0x44682;},a17_0x336c(_0x1ac324,_0x37c540);}const a17_0x39443d=a17_0x336c;(function(_0x398f81,_0x4ef77c){const _0x4be428=a17_0x336c,_0x216dfe=_0x398f81();while(!![]){try{const _0x33fc03=-parseInt(_0x4be428(0xeb))/0x1*(parseInt(_0x4be428(0x138))/0x2)+parseInt(_0x4be428(0x84))/0x3*(-parseInt(_0x4be428(0xe0))/0x4)+parseInt(_0x4be428(0xb5))/0x5*(parseInt(_0x4be428(0xd3))/0x6)+-parseInt(_0x4be428(0x120))/0x7+parseInt(_0x4be428(0x8a))/0x8+parseInt(_0x4be428(0xc0))/0x9+parseInt(_0x4be428(0x12e))/0xa*(parseInt(_0x4be428(0x80))/0xb);if(_0x33fc03===_0x4ef77c)break;else _0x216dfe['push'](_0x216dfe['shift']());}catch(_0x3a8ead){_0x216dfe['push'](_0x216dfe['shift']());}}}(a17_0x30ad,0x3bebf));const {requireModule}=require('../../../helpers/helper'),ObservabilityReporter=require('../test-observability/obsReporter'),RequestQueueHandler=require(a17_0x39443d(0xa2)),TestDetails=require(a17_0x39443d(0xda)),{patchConsoleLogger,debug}=require(a17_0x39443d(0xcc)),{o11yErrorHandler}=require(a17_0x39443d(0xbb)),{shouldProcessEventForTesthub}=require(a17_0x39443d(0x109)),testHubConstants=require(a17_0x39443d(0x10b)),BrowserstackCLI=require(a17_0x39443d(0xc9)),TestFrameworkState=require(a17_0x39443d(0x102)),HookState=require(a17_0x39443d(0xb1)),JestUtils=require(a17_0x39443d(0x148)),{v4:uuidv4}=require(a17_0x39443d(0xf2)),util=require(a17_0x39443d(0x7d)),logger=require(a17_0x39443d(0xe4))['winstonLogger'],{FRAMEWORKS}=require(a17_0x39443d(0x142));let exportsI;try{exportsI=requireModule(a17_0x39443d(0x9e),a17_0x39443d(0xa5));}catch{exportsI=requireModule(a17_0x39443d(0x68),'jest-circus');}const initInitialize=exportsI[a17_0x39443d(0xc1)],jestUtils=new JestUtils(),_initializedPlatformIndices=new Set();async function isCLIReady(){const _0x483b0c=a17_0x39443d,_0x525514={'aDVpe':_0x483b0c(0x133),'vyGwS':function(_0x3e1589,_0x3564be){return _0x3e1589(_0x3564be);},'rwvgv':_0x483b0c(0x111),'TEKoD':function(_0x2464b7,_0x107810){return _0x2464b7===_0x107810;},'gKAxk':'true'};try{const _0x2e2488=BrowserstackCLI[_0x483b0c(0x144)]();if(_0x2e2488[_0x483b0c(0x97)]()&&_0x2e2488['isRunning']())return logger[_0x483b0c(0x67)](_0x525514[_0x483b0c(0xad)]),!![];const _0x57512b=process[_0x483b0c(0x140)]['BROWSERSTACK_CLI_BIN_SESSION_ID'];if(_0x57512b&&_0x2e2488[_0x483b0c(0x97)]()){if(!_0x2e2488[_0x483b0c(0xbd)]())try{const _0x343529=_0x525514[_0x483b0c(0x7c)](require,_0x525514['rwvgv']),_0x51f0d7=_0x343529['getAutomationFrameworkDetail']();(!_0x51f0d7||!_0x51f0d7[_0x483b0c(0x14c)])&&(_0x525514[_0x483b0c(0xd8)](process[_0x483b0c(0x140)][_0x483b0c(0xa0)],_0x525514[_0x483b0c(0x126)])?_0x343529[_0x483b0c(0x8c)](FRAMEWORKS[_0x483b0c(0xf9)],FRAMEWORKS[_0x483b0c(0xc8)]):_0x343529['setFrameworkDetail'](FRAMEWORKS[_0x483b0c(0xf9)],FRAMEWORKS[_0x483b0c(0x118)])),await _0x2e2488[_0x483b0c(0xff)]();}catch(_0x30fb48){return _0x525514[_0x483b0c(0x7c)](debug,_0x483b0c(0xba)+util[_0x483b0c(0x7e)](_0x30fb48)),![];}return _0x2e2488[_0x483b0c(0xbd)]();}return![];}catch(_0x51fa0b){return _0x525514['vyGwS'](debug,_0x483b0c(0x9f)+util[_0x483b0c(0x7e)](_0x51fa0b)),![];}}function getTestIdentifierForHook(_0x4e67da){const _0x4492d4=a17_0x39443d,_0x3743aa={};_0x3743aa[_0x4492d4(0x121)]=function(_0x115efe,_0x53db92){return _0x115efe===_0x53db92;},_0x3743aa[_0x4492d4(0x10f)]=_0x4492d4(0x10a),_0x3743aa[_0x4492d4(0x82)]=function(_0x454721,_0x134a01){return _0x454721===_0x134a01;},_0x3743aa['JtrGC']=_0x4492d4(0x70);const _0x791294=_0x3743aa;if(_0x791294[_0x4492d4(0x121)](_0x4e67da['type'],_0x791294[_0x4492d4(0x10f)])||_0x791294[_0x4492d4(0x82)](_0x4e67da[_0x4492d4(0x123)],_0x791294[_0x4492d4(0xfc)])){let _0x2b5762=global[_0x4492d4(0x143)];if(!_0x2b5762&&_0x791294[_0x4492d4(0x121)](_0x4e67da[_0x4492d4(0x123)],_0x791294[_0x4492d4(0xfc)])&&_0x4e67da[_0x4492d4(0x69)]){const _0x5a8ddf={};_0x5a8ddf[_0x4492d4(0x14c)]=_0x4e67da[_0x4492d4(0x69)][_0x4492d4(0x14c)],_0x5a8ddf['parent']=_0x4e67da['parent'][_0x4492d4(0x69)],_0x5a8ddf[_0x4492d4(0xe2)]=_0x4e67da['asyncError'],_0x5a8ddf['file']=_0x4e67da[_0x4492d4(0x9c)];const _0x45f6db=_0x5a8ddf;_0x2b5762=jestUtils[_0x4492d4(0x9a)](_0x45f6db);}return _0x2b5762;}return global[_0x4492d4(0x143)];}function mapHookTypeToState(_0x19c4c8){const _0x5a3afc=a17_0x39443d,_0x949523={};_0x949523[_0x5a3afc(0x70)]=TestFrameworkState['BEFORE_ALL'],_0x949523[_0x5a3afc(0x13d)]=TestFrameworkState[_0x5a3afc(0xd0)],_0x949523[_0x5a3afc(0x10a)]=TestFrameworkState[_0x5a3afc(0x11f)],_0x949523[_0x5a3afc(0x77)]=TestFrameworkState[_0x5a3afc(0xcb)];const _0x37ad4f=_0x949523;return _0x37ad4f[_0x19c4c8]||TestFrameworkState[_0x5a3afc(0x11f)];}async function handleHookEventCLI(_0x31deac,_0x346c0d,_0x524aa2){const _0x940d95=a17_0x39443d,_0x9d7a8c={'eGrwt':function(_0x5c8d7d,_0x55531e){return _0x5c8d7d(_0x55531e);},'gAelq':_0x940d95(0xe9),'QVVNB':function(_0x2369bc,_0x47a1f4){return _0x2369bc===_0x47a1f4;},'vKhey':_0x940d95(0x6d),'iPmlx':function(_0x22626a){return _0x22626a();},'XVxtQ':function(_0x5e8eaf){return _0x5e8eaf();},'YmDAS':function(_0x203faf,_0x321a17){return _0x203faf===_0x321a17;},'RjGFt':'HookRunStarted','ZfAAu':function(_0x29a6c9,_0x53515e){return _0x29a6c9===_0x53515e;},'AjfyD':'HookRunFinished','SfJBi':_0x940d95(0x6b)};logger[_0x940d95(0x67)]('Handling\x20hook\x20event\x20for\x20CLI:\x20'+_0x346c0d+_0x940d95(0x79)+_0x31deac['type']);try{if(_0x31deac['fn']&&_0x31deac['fn']['toString']()['match'](/browserstack internal helper hook/))return;if(_0x31deac[_0x940d95(0x69)]&&_0x9d7a8c[_0x940d95(0xd1)](_0x31deac[_0x940d95(0x69)]['name'],_0x9d7a8c[_0x940d95(0x108)])){const _0x1c4c89=_0x31deac['asyncError']&&((()=>{const _0x643f26=_0x940d95;try{const _0x1efb4a=_0x9d7a8c[_0x643f26(0x78)](require,_0x9d7a8c['gAelq']),_0x5903c0=_0x1efb4a[_0x643f26(0xc7)]['call'](_0x1efb4a,_0x31deac['asyncError']);return _0x5903c0[0x0]&&_0x5903c0[0x0][_0x643f26(0x8f)]?_0x5903c0[0x0][_0x643f26(0x8f)]():null;}catch(_0x2742af){return logger[_0x643f26(0x67)](_0x643f26(0xce)+_0x2742af[_0x643f26(0xa7)]),null;}})())||_0x31deac[_0x940d95(0x9c)]||null;if(!_0x1c4c89)return;}let _0x1a3009=_0x31deac[_0x940d95(0x14d)];if(!_0x1a3009)_0x1a3009=_0x9d7a8c[_0x940d95(0x139)](uuidv4),_0x31deac[_0x940d95(0x14d)]=_0x1a3009;else _0x31deac[_0x940d95(0x6f)]&&(_0x1a3009=_0x9d7a8c[_0x940d95(0xdd)](uuidv4),_0x31deac[_0x940d95(0x14d)]=_0x1a3009,delete _0x31deac[_0x940d95(0x6f)]);_0x9d7a8c[_0x940d95(0x12a)](_0x346c0d,_0x9d7a8c[_0x940d95(0x11a)])&&(_0x31deac[_0x940d95(0xc5)]=new Date()[_0x940d95(0xe6)]());const _0x3d9f18=_0x9d7a8c['eGrwt'](getTestIdentifierForHook,_0x31deac);!global[_0x940d95(0x7b)]&&(global[_0x940d95(0x7b)]={});if(_0x9d7a8c[_0x940d95(0xd1)](_0x346c0d,_0x9d7a8c[_0x940d95(0x11a)])){global[_0x940d95(0x7b)][_0x940d95(0x131)]={'hookUUID':_0x1a3009,'testIdentifier':_0x3d9f18,'hookType':_0x31deac[_0x940d95(0x123)],'startedAt':new Date()[_0x940d95(0xe6)]()};const _0x38f162=BrowserstackCLI[_0x940d95(0x144)]()[_0x940d95(0x127)]();_0x38f162&&_0x38f162[_0x940d95(0x103)]&&_0x38f162['setActiveHook'](_0x3d9f18,_0x1a3009,_0x31deac[_0x940d95(0x123)]);}const _0x39edb6=await jestUtils['createHookData'](_0x31deac,_0x1a3009,_0x346c0d,_0x3d9f18);if(!_0x39edb6)return;const _0x5cfa64=_0x9d7a8c[_0x940d95(0x78)](mapHookTypeToState,_0x31deac[_0x940d95(0x123)]),_0x3e1c80=_0x9d7a8c[_0x940d95(0x12a)](_0x346c0d,_0x9d7a8c[_0x940d95(0x11a)])?HookState[_0x940d95(0x76)]:HookState[_0x940d95(0x107)],_0x2d0b49=BrowserstackCLI[_0x940d95(0x144)]()[_0x940d95(0x127)]();if(_0x2d0b49){const _0x2c12fb={};_0x2c12fb[_0x940d95(0x149)]=_0x39edb6,await _0x2d0b49[_0x940d95(0xe1)](_0x5cfa64,_0x3e1c80,_0x2c12fb);if(_0x9d7a8c[_0x940d95(0x6a)](_0x346c0d,_0x9d7a8c[_0x940d95(0x94)])){const _0x379c00={};_0x379c00[_0x940d95(0x74)]=_0x3d9f18,_0x379c00['type']=_0x9d7a8c[_0x940d95(0xdc)],await _0x2d0b49[_0x940d95(0xe1)](TestFrameworkState['LOG_REPORT'],HookState['POST'],_0x379c00),global[_0x940d95(0x7b)]&&global[_0x940d95(0x7b)]['currentHook']&&_0x9d7a8c[_0x940d95(0x6a)](global['__workerDetails'][_0x940d95(0x131)]['hookUUID'],_0x1a3009)&&delete global['__workerDetails'][_0x940d95(0x131)],_0x2d0b49[_0x940d95(0xdb)]&&_0x2d0b49[_0x940d95(0xdb)](_0x3d9f18,_0x1a3009);}}}catch(_0x434791){logger['error']('Error\x20handling\x20hook\x20event\x20for\x20CLI:\x20'+util[_0x940d95(0x7e)](_0x434791));throw _0x434791;}}async function handleTestEventCLI(_0xc7682a,_0x45b51d,_0x2f4a3d){const _0x8744bc=a17_0x39443d,_0x543bd3={};_0x543bd3['uFcyT']=function(_0x3979eb,_0x431b42){return _0x3979eb===_0x431b42;},_0x543bd3[_0x8744bc(0x81)]='TestRunStarted',_0x543bd3[_0x8744bc(0x12c)]=function(_0x586427,_0x3bcf9f){return _0x586427>_0x3bcf9f;},_0x543bd3[_0x8744bc(0xde)]=function(_0x5b5ce1,_0x2b7332){return _0x5b5ce1&&_0x2b7332;},_0x543bd3[_0x8744bc(0x89)]=_0x8744bc(0xc6),_0x543bd3['RpYUM']='TestRunFinished',_0x543bd3['UDutt']=function(_0x3c5acd,_0x261288){return _0x3c5acd&&_0x261288;},_0x543bd3[_0x8744bc(0x135)]=_0x8744bc(0x116);const _0x30538e=_0x543bd3;logger[_0x8744bc(0x67)](_0x8744bc(0x14e)+_0x45b51d);try{let _0x10ad77;if(_0x30538e[_0x8744bc(0xd2)](_0x45b51d,_0x30538e[_0x8744bc(0x81)])){_0x10ad77=jestUtils[_0x8744bc(0x9a)](_0xc7682a),global[_0x8744bc(0x143)]=_0x10ad77,_0xc7682a[_0x8744bc(0xcf)]=_0x10ad77,_0xc7682a['id']=_0x10ad77,_0xc7682a[_0x8744bc(0xc5)]=new Date()['toISOString']();const _0x3d54f9=_0x2f4a3d['current_test'];_0x2f4a3d[_0x8744bc(0xc4)]=_0xc7682a,_0xc7682a[_0x8744bc(0x119)]=null;if(_0x30538e['YanFH'](_0xc7682a['_currentRetry'],0x0)&&_0x3d54f9&&_0x30538e[_0x8744bc(0xd2)](_0x3d54f9[_0x8744bc(0x92)],_0xc7682a[_0x8744bc(0x92)])){_0xc7682a[_0x8744bc(0x119)]=_0x3d54f9[_0x8744bc(0xcf)];const _0x1853b4=await jestUtils[_0x8744bc(0x105)](_0xc7682a,_0x10ad77,_0x30538e[_0x8744bc(0x81)]),_0x5c3990=BrowserstackCLI[_0x8744bc(0x144)]()[_0x8744bc(0x127)]();if(_0x30538e[_0x8744bc(0xde)](_0x1853b4,_0x5c3990)){const _0xec969e={};_0xec969e[_0x8744bc(0x116)]=_0x1853b4,await _0x5c3990[_0x8744bc(0xe1)](TestFrameworkState[_0x8744bc(0x8d)],HookState['PRE'],_0xec969e);}_0x3d54f9[_0x8744bc(0x12d)]=_0x30538e[_0x8744bc(0x89)];const _0x38cb72=await jestUtils[_0x8744bc(0x105)](_0x3d54f9,_0x3d54f9[_0x8744bc(0xcf)],_0x30538e[_0x8744bc(0xac)]);if(_0x30538e[_0x8744bc(0xde)](_0x38cb72,_0x5c3990)){const _0xe9970c={};_0xe9970c[_0x8744bc(0x116)]=_0x38cb72,await _0x5c3990['trackEvent'](TestFrameworkState[_0x8744bc(0x8d)],HookState['POST'],_0xe9970c);}}else{const _0x33b293=await jestUtils[_0x8744bc(0x105)](_0xc7682a,_0x10ad77,_0x30538e['qvDEk']),_0x43ccc8=BrowserstackCLI[_0x8744bc(0x144)]()[_0x8744bc(0x127)]();if(_0x30538e['Eldft'](_0x33b293,_0x43ccc8)){const _0xd5d9ba={};_0xd5d9ba[_0x8744bc(0x116)]=_0x33b293,await _0x43ccc8[_0x8744bc(0xe1)](TestFrameworkState[_0x8744bc(0x8d)],HookState['PRE'],_0xd5d9ba);}}}else{_0x10ad77=_0xc7682a[_0x8744bc(0xcf)]||_0xc7682a['id']||global[_0x8744bc(0x143)];const _0xb5f472=await jestUtils[_0x8744bc(0x105)](_0xc7682a,_0x10ad77,_0x45b51d),_0xf6ba51=BrowserstackCLI['getInstance']()[_0x8744bc(0x127)]();if(_0x30538e[_0x8744bc(0x145)](_0xb5f472,_0xf6ba51)){const _0x600bd3={};_0x600bd3['test']=_0xb5f472,_0x600bd3['originalTest']=_0xc7682a,_0x600bd3['testIdentifier']=_0x10ad77,await _0xf6ba51['trackEvent'](TestFrameworkState[_0x8744bc(0x8d)],HookState['POST'],_0x600bd3);const _0x2aba7f={};_0x2aba7f[_0x8744bc(0x74)]=_0x10ad77,_0x2aba7f[_0x8744bc(0x123)]=_0x30538e['yjVBN'],await _0xf6ba51[_0x8744bc(0xe1)](TestFrameworkState['LOG_REPORT'],HookState['POST'],_0x2aba7f);}}}catch(_0x141bdb){logger[_0x8744bc(0x71)](_0x8744bc(0x91)+util[_0x8744bc(0x7e)](_0x141bdb));throw _0x141bdb;}}exportsI['initialize']=(..._0x2fba77)=>{const _0x42843b=a17_0x39443d,_0x24f65f={'FpzrW':function(_0x4b5a5d,_0x308fa4){return _0x4b5a5d(_0x308fa4);},'UPidI':_0x42843b(0xe9),'unPPQ':function(_0x2376cd,_0x4bc7b3){return _0x2376cd(_0x4bc7b3);},'xPmwg':_0x42843b(0xb7),'FcHUP':function(_0x461a36,_0xaa5621){return _0x461a36===_0xaa5621;},'KqEMt':_0x42843b(0x6d),'Jzuxx':function(_0x43212c){return _0x43212c();},'oMDbU':function(_0x4a7f26,_0x4bb44d){return _0x4a7f26(_0x4bb44d);},'kYCQH':function(_0x3fd5a2,_0x2ae909,_0x533a63,_0x29b366){return _0x3fd5a2(_0x2ae909,_0x533a63,_0x29b366);},'ugSDh':_0x42843b(0x10c),'FOzsl':_0x42843b(0x117),'xIAOQ':function(_0x4986eb,_0x377dce,_0x4f9e4f,_0xb09f7e){return _0x4986eb(_0x377dce,_0x4f9e4f,_0xb09f7e);},'xRmfZ':_0x42843b(0x147),'GBfOD':function(_0x4149c8,_0x9be38c){return _0x4149c8(_0x9be38c);},'JaBPS':_0x42843b(0xbc),'pmeNO':'beforeAll','FvBGF':'beforeEach','UmaoO':_0x42843b(0x77),'Fmtmk':function(_0x323076,_0x23bac7){return _0x323076>_0x23bac7;},'VwgkZ':function(_0x8aa902){return _0x8aa902();},'GqjWZ':function(_0x59be84,_0x3f4bde,_0x370029,_0x12dfa2){return _0x59be84(_0x3f4bde,_0x370029,_0x12dfa2);},'gJDPh':_0x42843b(0xae),'ctRQj':function(_0x554366,_0x5d34a4){return _0x554366!==_0x5d34a4;},'QDKuV':_0x42843b(0x12b),'ZPtdc':function(_0x871375,_0x4c712a,_0x28aabe,_0x4d8078){return _0x871375(_0x4c712a,_0x28aabe,_0x4d8078);},'AdfOF':_0x42843b(0x134),'DlXfD':function(_0x1c456d,_0x322ec7){return _0x1c456d(_0x322ec7);},'IyKkw':function(_0x4c3ff2){return _0x4c3ff2();},'kaDkE':_0x42843b(0x11b),'JcIvd':function(_0x2704e5,_0x3e5ee){return _0x2704e5(_0x3e5ee);},'YOHZu':'fail','DfRiQ':_0x42843b(0xc6),'AKtjI':_0x42843b(0xf3),'PuAuq':function(_0x1eb350,_0x54b1bb){return _0x1eb350||_0x54b1bb;},'BWKbu':_0x42843b(0x11d),'alZOP':function(_0x27e343,_0x449362){return _0x27e343(_0x449362);},'JSHKV':'test_skip','CVYxn':function(_0x4ce1d2,_0x4aedd3){return _0x4ce1d2(_0x4aedd3);},'KDuqk':'TestRunSkipped','EGqfH':function(_0x2375a3){return _0x2375a3();},'oIWpV':_0x42843b(0xa4),'BhDAu':_0x42843b(0xca),'wjUSQ':'number','fxolf':function(_0x1a9059,_0x465b3f){return _0x1a9059===_0x465b3f;},'egQJF':function(_0x5725de,_0x4677ba){return _0x5725de===_0x4677ba;},'vPoiy':function(_0x52b621,_0x4e3c02){return _0x52b621(_0x4e3c02);},'kZaFe':function(_0x46a08e){return _0x46a08e();},'WZwtj':function(_0xd43354,_0xe9dbf0,_0xa9c997){return _0xd43354(_0xe9dbf0,_0xa9c997);},'udGUe':_0x42843b(0xbf),'Jmknw':'jest-circus','ZTOYV':'jest-circus/build/utils.js','agTAq':function(_0x2194a8,_0x374422){return _0x2194a8(_0x374422);},'pCRnf':_0x42843b(0x83),'iOzUU':function(_0x28718f,_0xf4d05){return _0x28718f(_0xf4d05);},'feoTm':function(_0x814e36,..._0x373664){return _0x814e36(..._0x373664);}};try{logger[_0x42843b(0x67)](_0x42843b(0x96)+_0x24f65f[_0x42843b(0x8e)](shouldProcessEventForTesthub)+_0x42843b(0xf6)+process[_0x42843b(0x140)][_0x42843b(0xa0)]);const _0x21f5b8=_0x2fba77&&_0x2fba77[0x0]?_0x2fba77[0x0]:{};let _0xbc8de0=0x0;try{if(_0x21f5b8[_0x42843b(0xb3)]&&_0x24f65f['FcHUP'](typeof _0x21f5b8['config'][_0x42843b(0xb9)],_0x24f65f['wjUSQ']))_0xbc8de0=_0x21f5b8['config'][_0x42843b(0xb9)];else{if(_0x21f5b8[_0x42843b(0x13c)]&&_0x24f65f['fxolf'](typeof _0x21f5b8[_0x42843b(0x13c)][_0x42843b(0xb9)],_0x24f65f[_0x42843b(0xec)]))_0xbc8de0=_0x21f5b8[_0x42843b(0x13c)][_0x42843b(0xb9)];else global[_0x42843b(0x10d)]&&_0x24f65f[_0x42843b(0x136)](typeof global['jestConfig'][_0x42843b(0xb9)],_0x24f65f['wjUSQ'])&&(_0xbc8de0=global[_0x42843b(0x10d)][_0x42843b(0xb9)]);}}catch(_0xfb4d66){logger[_0x42843b(0x67)](_0x42843b(0xea)+util[_0x42843b(0x7e)](_0xfb4d66));}global['__bstackPlatformIndex']=_0xbc8de0,process[_0x42843b(0x140)][_0x42843b(0xef)]=_0x24f65f['vPoiy'](String,_0xbc8de0);const _0x2ae6a2=new ObservabilityReporter();!_initializedPlatformIndices[_0x42843b(0xee)](_0xbc8de0)?(logger[_0x42843b(0x67)](_0x42843b(0x75)+_0xbc8de0),_initializedPlatformIndices[_0x42843b(0xa1)](_0xbc8de0),_0x24f65f[_0x42843b(0x13a)](shouldProcessEventForTesthub)&&(_0x24f65f['kZaFe'](patchConsoleLogger),_0x2ae6a2['registerListeners']())):logger[_0x42843b(0x67)](_0x42843b(0x9d)+_0xbc8de0+_0x42843b(0x122));let _0x5c906f;try{_0x5c906f=_0x24f65f[_0x42843b(0xa3)](requireModule,_0x24f65f[_0x42843b(0xd4)],_0x24f65f[_0x42843b(0x128)]);}catch{_0x5c906f=_0x24f65f['unPPQ'](requireModule,_0x24f65f['Jmknw']);}let _0x55f6f5;try{_0x55f6f5=_0x24f65f[_0x42843b(0xa3)](requireModule,_0x24f65f['ZTOYV'],_0x24f65f[_0x42843b(0x128)])[_0x42843b(0xc3)];}catch{_0x55f6f5=_0x24f65f[_0x42843b(0x9b)](requireModule,_0x24f65f[_0x42843b(0x128)])[_0x42843b(0xc3)]||(()=>({}));}const _0x10c83f=BrowserstackCLI[_0x42843b(0x144)]()['isCliEnabled']();(_0x24f65f[_0x42843b(0xd9)](shouldProcessEventForTesthub)||_0x10c83f)&&_0x5c906f[_0x42843b(0xb8)](_0x24f65f[_0x42843b(0xa3)](o11yErrorHandler,async(_0x32be4f,_0x11923f)=>{const _0xfb1c5e=_0x42843b;switch(_0x32be4f[_0xfb1c5e(0x14c)]){case _0x24f65f[_0xfb1c5e(0xfa)]:if(_0x32be4f[_0xfb1c5e(0x6b)]['fn']&&_0x32be4f[_0xfb1c5e(0x6b)]['fn'][_0xfb1c5e(0xfb)]()[_0xfb1c5e(0x113)](/browserstack internal helper hook/))break;if(_0x32be4f['hook'][_0xfb1c5e(0x69)]&&_0x24f65f[_0xfb1c5e(0x129)](_0x32be4f[_0xfb1c5e(0x6b)][_0xfb1c5e(0x69)][_0xfb1c5e(0x14c)],_0x24f65f[_0xfb1c5e(0x114)])){const _0x152624=_0x32be4f['hook'][_0xfb1c5e(0xe2)]&&((()=>{const _0xeee3b9=_0xfb1c5e;try{const _0x1f7894=_0x24f65f[_0xeee3b9(0xc2)](require,_0x24f65f[_0xeee3b9(0xcd)]),_0x2902bb=_0x1f7894['parse'][_0xeee3b9(0x14b)](_0x1f7894,_0x32be4f[_0xeee3b9(0x6b)]['asyncError']);return _0x2902bb[0x0]&&_0x2902bb[0x0][_0xeee3b9(0x8f)]?_0x2902bb[0x0][_0xeee3b9(0x8f)]():null;}catch(_0x46a443){return logger[_0xeee3b9(0x67)]('Error\x20parsing\x20stack\x20trace\x20for\x20hook\x20asyncError:\x20'+_0x46a443[_0xeee3b9(0xa7)]),null;}})())||_0x32be4f[_0xfb1c5e(0x6b)]['file']||null;if(!_0x152624)break;}if(BrowserstackCLI[_0xfb1c5e(0x144)]()[_0xfb1c5e(0x97)]()&&await _0x24f65f['Jzuxx'](isCLIReady)){if(_0x24f65f[_0xfb1c5e(0x8b)](shouldProcessEventForTesthub,testHubConstants[_0xfb1c5e(0x87)][_0xfb1c5e(0x72)]))try{await _0x24f65f['kYCQH'](handleHookEventCLI,_0x32be4f[_0xfb1c5e(0x6b)],_0x24f65f[_0xfb1c5e(0xa8)],_0x11923f);break;}catch(_0x3d61f3){_0x24f65f[_0xfb1c5e(0x6c)](debug,_0xfb1c5e(0x104)+util[_0xfb1c5e(0x7e)](_0x3d61f3));}}if(_0x24f65f[_0xfb1c5e(0x8b)](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0xfb1c5e(0x72)])){if(!_0x32be4f[_0xfb1c5e(0x6b)][_0xfb1c5e(0x14d)]){const _0x370ec6=TestDetails['setTestUUID'](process['pid']+_0xfb1c5e(0x132));_0x32be4f[_0xfb1c5e(0x6b)][_0xfb1c5e(0x14d)]=_0x370ec6;}else _0x32be4f[_0xfb1c5e(0x6b)]['markedStatus']&&(_0x32be4f[_0xfb1c5e(0x6b)][_0xfb1c5e(0x14d)]=TestDetails[_0xfb1c5e(0x14a)](process[_0xfb1c5e(0xaa)]+_0xfb1c5e(0x132)),delete _0x32be4f[_0xfb1c5e(0x6b)][_0xfb1c5e(0x6f)]);_0x32be4f[_0xfb1c5e(0x6b)][_0xfb1c5e(0xc5)]=new Date()['toISOString'](),await _0x2ae6a2[_0xfb1c5e(0xf8)](_0x32be4f[_0xfb1c5e(0x6b)],undefined,![],_0x24f65f[_0xfb1c5e(0xa8)]);}break;case _0x24f65f[_0xfb1c5e(0x130)]:if(BrowserstackCLI[_0xfb1c5e(0x144)]()['isCliEnabled']()&&await _0x24f65f[_0xfb1c5e(0xb0)](isCLIReady)){if(_0x24f65f[_0xfb1c5e(0x8b)](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0xfb1c5e(0x13f)]))try{await _0x24f65f[_0xfb1c5e(0xf4)](handleHookEventCLI,_0x32be4f['hook'],_0x24f65f[_0xfb1c5e(0xa6)],_0x11923f);break;}catch(_0x5b4d89){_0x24f65f['GBfOD'](debug,_0xfb1c5e(0x104)+util[_0xfb1c5e(0x7e)](_0x5b4d89));}}_0x24f65f[_0xfb1c5e(0x6c)](shouldProcessEventForTesthub,testHubConstants[_0xfb1c5e(0x87)][_0xfb1c5e(0x13f)])&&(await _0x2ae6a2[_0xfb1c5e(0xf8)](_0x32be4f[_0xfb1c5e(0x6b)],undefined,![],_0x24f65f[_0xfb1c5e(0xa6)]),TestDetails[_0xfb1c5e(0x125)](process[_0xfb1c5e(0xaa)]+_0xfb1c5e(0x132)));break;case _0x24f65f[_0xfb1c5e(0xf5)]:[_0x24f65f[_0xfb1c5e(0xe3)],_0x24f65f[_0xfb1c5e(0x11e)],_0x24f65f['UmaoO']]['includes'](_0x32be4f['hook'][_0xfb1c5e(0x123)])&&(_0x2ae6a2[_0xfb1c5e(0xbc)]=_0x32be4f['hook'][_0xfb1c5e(0x123)]),_0x11923f[_0xfb1c5e(0x141)]&&_0x24f65f[_0xfb1c5e(0x115)](_0x11923f[_0xfb1c5e(0x141)][_0xfb1c5e(0x98)],0x0)&&(_0x32be4f[_0xfb1c5e(0x6b)][_0xfb1c5e(0xf7)]=[_0x11923f['unhandledErrors'][0x0][0x0]]);if(BrowserstackCLI['getInstance']()[_0xfb1c5e(0x97)]()&&await _0x24f65f['VwgkZ'](isCLIReady)){if(_0x24f65f[_0xfb1c5e(0xc2)](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0xfb1c5e(0x13f)]))try{await _0x24f65f[_0xfb1c5e(0x110)](handleHookEventCLI,_0x32be4f[_0xfb1c5e(0x6b)],_0x24f65f[_0xfb1c5e(0xa6)],_0x11923f);break;}catch(_0x22c61f){_0x24f65f['unPPQ'](debug,_0xfb1c5e(0x104)+util[_0xfb1c5e(0x7e)](_0x22c61f));}}_0x24f65f['GBfOD'](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0xfb1c5e(0x13f)])&&(await _0x2ae6a2['sendTestRunEvent'](_0x32be4f['hook'],undefined,![],_0x24f65f[_0xfb1c5e(0xa6)]),TestDetails[_0xfb1c5e(0x125)](process[_0xfb1c5e(0xaa)]+_0xfb1c5e(0x132)));break;case _0x24f65f[_0xfb1c5e(0x100)]:try{let _0x5240e2=_0x32be4f[_0xfb1c5e(0x116)][_0xfb1c5e(0x14c)]||'';try{let _0x3e6013=_0x32be4f[_0xfb1c5e(0x116)]['parent'];const _0x1714ae=[_0x5240e2];while(_0x3e6013&&_0x3e6013[_0xfb1c5e(0x14c)]&&_0x24f65f[_0xfb1c5e(0xed)](_0x3e6013[_0xfb1c5e(0x14c)],_0x24f65f['KqEMt'])){_0x1714ae[_0xfb1c5e(0x88)](_0x3e6013['name']),_0x3e6013=_0x3e6013[_0xfb1c5e(0x69)];}_0x5240e2=_0x1714ae[_0xfb1c5e(0xaf)](_0x24f65f[_0xfb1c5e(0xdf)]);}catch(_0x99b2a2){logger[_0xfb1c5e(0x67)](_0xfb1c5e(0xfe)+_0x99b2a2[_0xfb1c5e(0xa7)]);}process[_0xfb1c5e(0x13b)]=_0x5240e2,process[_0xfb1c5e(0xe8)]=null,process['_bstackTestFailureReason']=null,logger['debug'](_0xfb1c5e(0x85)+_0x5240e2+'\x22');if(!global[_0xfb1c5e(0x7b)]){const _0x297728={};_0x297728[_0xfb1c5e(0xa9)]={},global[_0xfb1c5e(0x7b)]=_0x297728;}!global[_0xfb1c5e(0x7b)][_0xfb1c5e(0xa9)]&&(global['__workerDetails'][_0xfb1c5e(0xa9)]={});const _0x3ef6f4={};_0x3ef6f4[_0xfb1c5e(0x92)]=_0x5240e2,_0x3ef6f4[_0xfb1c5e(0x14c)]=_0x5240e2,global['__workerDetails'][_0xfb1c5e(0xa9)][_0xfb1c5e(0x12f)]=_0x3ef6f4,global[_0xfb1c5e(0x146)]=_0x5240e2;}catch(_0x43e066){logger['debug']('[customJestAdapterInit]\x20Error\x20in\x20test_start\x20name\x20storage:\x20'+_0x43e066['message']);}if(BrowserstackCLI[_0xfb1c5e(0x144)]()[_0xfb1c5e(0x97)]()&&await _0x24f65f[_0xfb1c5e(0xb0)](isCLIReady))try{await _0x24f65f[_0xfb1c5e(0x6e)](handleTestEventCLI,_0x32be4f[_0xfb1c5e(0x116)],_0x24f65f[_0xfb1c5e(0x137)],_0x2ae6a2);break;}catch(_0x3007be){_0x24f65f[_0xfb1c5e(0x112)](debug,_0xfb1c5e(0x104)+util['format'](_0x3007be));}_0x24f65f['IyKkw'](shouldProcessEventForTesthub)&&await _0x2ae6a2[_0xfb1c5e(0x106)](_0x32be4f[_0xfb1c5e(0x116)]);break;case _0x24f65f[_0xfb1c5e(0xab)]:_0x32be4f[_0xfb1c5e(0x116)]={..._0x24f65f[_0xfb1c5e(0x7a)](_0x55f6f5,_0x32be4f[_0xfb1c5e(0x116)]),..._0x32be4f[_0xfb1c5e(0x116)]};try{const _0x444d03=_0x32be4f['test'][_0xfb1c5e(0x93)]||[],_0x3c23ac=_0x24f65f['Fmtmk'](_0x444d03[_0xfb1c5e(0x98)],0x0)||_0x24f65f['FcHUP'](_0x32be4f['test'][_0xfb1c5e(0x7f)],_0x24f65f[_0xfb1c5e(0xf1)]),_0x267e4b=_0x3c23ac?_0x24f65f['DfRiQ']:_0x24f65f['AKtjI'];let _0x3e776b='';_0x3c23ac&&(_0x3e776b=_0x444d03['map'](_0xd9ef49=>{const _0x1d97a5=_0xfb1c5e;if(Array[_0x1d97a5(0x86)](_0xd9ef49))return _0xd9ef49[_0x1d97a5(0xbe)](_0x491163=>_0x491163&&_0x491163[_0x1d97a5(0xa7)]||String(_0x491163))['join'](';\x20');return _0xd9ef49&&_0xd9ef49[_0x1d97a5(0xa7)]||_0x24f65f[_0x1d97a5(0x6c)](String,_0xd9ef49);})['join'](';\x20')),process['_bstackTestStatus']=_0x267e4b,process[_0xfb1c5e(0x13e)]=_0x24f65f['PuAuq'](_0x3e776b,''),logger[_0xfb1c5e(0x67)]('[customJestAdapterInit]\x20Set\x20test\x20status:\x20\x22'+_0x267e4b+'\x22'),global[_0xfb1c5e(0x7b)]&&global[_0xfb1c5e(0x7b)][_0xfb1c5e(0xa9)]&&(!global[_0xfb1c5e(0x7b)][_0xfb1c5e(0xa9)][_0xfb1c5e(0x12f)]&&(global[_0xfb1c5e(0x7b)]['currentTest'][_0xfb1c5e(0x12f)]={}),global[_0xfb1c5e(0x7b)]['currentTest'][_0xfb1c5e(0x12f)]['status']=_0x267e4b,_0x3c23ac&&(global[_0xfb1c5e(0x7b)][_0xfb1c5e(0xa9)][_0xfb1c5e(0x12f)][_0xfb1c5e(0x95)]=_0x3e776b));}catch(_0x1fc47b){logger['debug'](_0xfb1c5e(0xd7)+_0x1fc47b['message']);}if(!_0x32be4f[_0xfb1c5e(0x116)][_0xfb1c5e(0x6f)]){_0x32be4f[_0xfb1c5e(0x116)][_0xfb1c5e(0x6f)]=!![];if(BrowserstackCLI[_0xfb1c5e(0x144)]()[_0xfb1c5e(0x97)]()&&await _0x24f65f[_0xfb1c5e(0x13a)](isCLIReady))try{await _0x24f65f[_0xfb1c5e(0x110)](handleTestEventCLI,_0x32be4f[_0xfb1c5e(0x116)],_0x24f65f[_0xfb1c5e(0xb2)],_0x2ae6a2);break;}catch(_0x4364b2){_0x24f65f[_0xfb1c5e(0x99)](debug,_0xfb1c5e(0x104)+util[_0xfb1c5e(0x7e)](_0x4364b2));}_0x24f65f[_0xfb1c5e(0x13a)](shouldProcessEventForTesthub)&&await _0x2ae6a2[_0xfb1c5e(0xf8)](_0x32be4f['test']);}break;case _0x24f65f[_0xfb1c5e(0xe7)]:_0x32be4f[_0xfb1c5e(0x116)]={..._0x24f65f[_0xfb1c5e(0xd5)](_0x55f6f5,_0x32be4f['test']),..._0x32be4f[_0xfb1c5e(0x116)]};if(!_0x32be4f[_0xfb1c5e(0x116)]['markedStatus']){_0x32be4f[_0xfb1c5e(0x116)][_0xfb1c5e(0x6f)]=!![];if(BrowserstackCLI[_0xfb1c5e(0x144)]()[_0xfb1c5e(0x97)]()&&await _0x24f65f[_0xfb1c5e(0xb0)](isCLIReady))try{await _0x24f65f[_0xfb1c5e(0x124)](handleTestEventCLI,_0x32be4f[_0xfb1c5e(0x116)],_0x24f65f['KDuqk'],_0x2ae6a2);break;}catch(_0x1fd3f3){_0x24f65f[_0xfb1c5e(0x11c)](debug,_0xfb1c5e(0x104)+util[_0xfb1c5e(0x7e)](_0x1fd3f3));}_0x24f65f['EGqfH'](shouldProcessEventForTesthub)&&await _0x2ae6a2[_0xfb1c5e(0xf8)](_0x32be4f[_0xfb1c5e(0x116)],undefined,![],_0x24f65f[_0xfb1c5e(0xfd)]);}break;case _0x24f65f['oIWpV']:_0x2ae6a2['hook_failure']=null;break;case _0x24f65f[_0xfb1c5e(0x101)]:await RequestQueueHandler[_0xfb1c5e(0x144)]()[_0xfb1c5e(0x10e)](),process['removeAllListeners']();break;default:}},_0x24f65f[_0x42843b(0xb4)]));}catch(_0x2f8ce1){_0x24f65f[_0x42843b(0xd6)](debug,_0x42843b(0x90)+_0x2f8ce1);}return _0x24f65f[_0x42843b(0xe5)](initInitialize,..._0x2fba77);};try{Object[a17_0x39443d(0x73)](exportsI)['forEach'](_0x2f6405=>{const _0x2b7e8e=a17_0x39443d,_0x54ca01={'YiepO':function(_0x45b7e8,_0x22d516){return _0x45b7e8(_0x22d516);}};try{exports&&(exports[_0x2f6405]=exportsI[_0x2f6405]);}catch(_0xe4db16){_0x54ca01[_0x2b7e8e(0xb6)](debug,_0x2b7e8e(0xf0)+_0xe4db16);}});}catch(a17_0x29dd46){debug('Exception\x20in\x20jest\x20custom\x20reporter\x20exports\x20with\x20error:\x20'+a17_0x29dd46);}function a17_0x30ad(){const _0x2bf597=['ROOT_DESCRIBE_BLOCK','ZPtdc','markedStatus','beforeAll','error','HookStarted','keys','testUUID','[customJestAdapterInit]\x20Initializing\x20for\x20platformIndex=','PRE','afterEach','eGrwt','\x20for\x20hook\x20type:\x20','JcIvd','__workerDetails','vyGwS','util','format','status','22RGlyyy','qvDEk','sUFcC','EventHandler','3gRDqRa','[customJestAdapterInit]\x20Set\x20test\x20name:\x20\x22','isArray','EVENT','unshift','OkOup','3110432Voqlzi','oMDbU','setFrameworkDetail','TEST','IyKkw','getFileName','Error\x20while\x20adding\x20o11y\x20event\x20handler,\x20','Error\x20handling\x20test\x20event\x20for\x20CLI:\x20','title','errors','AjfyD','failureMessage','[customJestAdapterInit]\x20initialize\x20called,\x20shouldProcessEventForTesthub=','isCliEnabled','length','alZOP','createIdentifierFromJestTest','agTAq','file','[customJestAdapterInit]\x20Skipping\x20heavy\x20init\x20for\x20platformIndex=','jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js','Error\x20checking\x20CLI\x20readiness:\x20','BROWSERSTACK_PUPPETEER','add','../../../helpers/test-observability/requestQueueHandler','WZwtj','run_describe_finish','jest-circus','xRmfZ','message','ugSDh','currentTest','pid','kaDkE','RpYUM','aDVpe','test_start','join','Jzuxx','../../v2/state/hookState','BWKbu','config','pCRnf','342885KEvIjw','YiepO','hook_start','addEventHandler','browserstackPlatformIndex','Error\x20bootstrapping\x20CLI\x20in\x20jest\x20adapter:\x20','../../../helpers/test-observability/error-handler','hook_failure','isRunning','map','jest-circus/build/state.js','93753mOzwYo','initialize','FpzrW','makeSingleTestResult','current_test','started_at','failed','parse','PUPPETEER','../../v2/browserstackCLI','teardown','AFTER_EACH','../../../helpers/test-observability/utils','UPidI','Error\x20parsing\x20stack\x20trace\x20for\x20hook\x20asyncError:\x20','testAnalyticsId','AFTER_ALL','QVVNB','uFcyT','42pzbqoC','udGUe','CVYxn','iOzUU','[customJestAdapterInit]\x20Error\x20in\x20test_done\x20status\x20storage:\x20','TEKoD','EGqfH','../test-observability/test-details','removeActiveHook','SfJBi','XVxtQ','Eldft','QDKuV','1107528CJSrma','trackEvent','asyncError','pmeNO','../../../helpers/logger','feoTm','toISOString','JSHKV','_bstackTestStatus','stack-trace','Error\x20reading\x20platformIndex\x20from\x20args:\x20','124369AZlqQW','wjUSQ','ctRQj','has','BROWSERSTACK_PLATFORM_INDEX','Exception\x20in\x20jest\x20custom\x20reporter\x20with\x20error:\x20','YOHZu','uuid','passed','xIAOQ','JaBPS',',\x20BROWSERSTACK_PUPPETEER=','errorsDetailed','sendTestRunEvent','JEST','xPmwg','toString','JtrGC','KDuqk','[customJestAdapterInit]\x20Error\x20building\x20test\x20name:\x20','bootstrap','gJDPh','BhDAu','../../v2/state/testFrameworkState','setActiveHook','Error\x20routing\x20to\x20JestTestFramework:\x20','createTestFrameworkData','testStarted','POST','vKhey','../../../helpers/testhub/utils','beforeEach','../../../helpers/testhub/constants','HookRunStarted','jestConfig','shutdown','slyCQ','GqjWZ','../../v2/cliUtils','DlXfD','match','KqEMt','Fmtmk','test','hook_success','PLAYWRIGHT','retryOf','RjGFt','test_done','GBfOD','TestRunFinished','FvBGF','BEFORE_EACH','690802dosmBc','syHOG',',\x20re-registering\x20event\x20handler','type','kYCQH','removeTestUUID','gKAxk','getTestFramework','Jmknw','FcHUP','YmDAS','\x20>\x20','YanFH','state','574270YSASUs','testInfo','FOzsl','currentHook',':hookAnalyticsId','CLI\x20is\x20enabled\x20and\x20running.','TestRunStarted','yjVBN','egQJF','AdfOF','6LMjcHU','iPmlx','VwgkZ','_bstackTestName','configuration','afterAll','_bstackTestFailureReason','HookFinished','env','unhandledErrors','../../utils/constants','__jestCurrentTestIdentifier','getInstance','UDutt','browserstackTestName','HookRunFinished','../../v2/utils/jest-utils','hookData','setTestUUID','call','name','hookAnalyticsId','Handling\x20test\x20event\x20for\x20CLI:\x20','debug','jest-circus/build/jestAdapterInit.js','parent','ZfAAu','hook','unPPQ'];a17_0x30ad=function(){return _0x2bf597;};return a17_0x30ad();}
@@ -1 +1 @@
1
- function a18_0x2b2c(){const _0x50613c=['filter','6VGlHQG','7656ZAskvG','env','includes','248fcBFKo','map','532372wxzEnf','sort','149824PbkKTT','JEST_TEST_ORDER','839128kgJssF','125237jfvcic','exports','1764865iyEVRT','@jest/test-sequencer','410RlmujH','9nWbNvs','default','get','8481bVFKIt','16803iyQHXg'];a18_0x2b2c=function(){return _0x50613c;};return a18_0x2b2c();}const a18_0x34076b=a18_0x5444;(function(_0x6d4b94,_0x4a7d70){const _0x3eea7c=a18_0x5444,_0x4ea47e=_0x6d4b94();while(!![]){try{const _0x2e14d4=-parseInt(_0x3eea7c(0x14c))/0x1+-parseInt(_0x3eea7c(0x14e))/0x2+-parseInt(_0x3eea7c(0x154))/0x3*(parseInt(_0x3eea7c(0x14a))/0x4)+parseInt(_0x3eea7c(0x151))/0x5*(parseInt(_0x3eea7c(0x15a))/0x6)+parseInt(_0x3eea7c(0x14f))/0x7*(parseInt(_0x3eea7c(0x148))/0x8)+parseInt(_0x3eea7c(0x158))/0x9*(-parseInt(_0x3eea7c(0x153))/0xa)+-parseInt(_0x3eea7c(0x157))/0xb*(-parseInt(_0x3eea7c(0x15b))/0xc);if(_0x2e14d4===_0x4a7d70)break;else _0x4ea47e['push'](_0x4ea47e['shift']());}catch(_0x442f95){_0x4ea47e['push'](_0x4ea47e['shift']());}}}(a18_0x2b2c,0x567e6));const Sequencer=require(a18_0x34076b(0x152))[a18_0x34076b(0x155)];class CustomSequencer extends Sequencer{[a18_0x34076b(0x14b)](_0x4d2666){const _0xcb390b=a18_0x34076b,_0xa7f523=process[_0xcb390b(0x146)][_0xcb390b(0x14d)];if(!_0xa7f523)return _0x4d2666;const _0x41412d=_0xa7f523['split'](','),_0x1f96ad=new Map(_0x4d2666[_0xcb390b(0x159)](_0x41cef7=>_0x41412d[_0xcb390b(0x147)](_0x41cef7['path']))[_0xcb390b(0x149)](_0x14deb6=>[_0x14deb6['path'],_0x14deb6]));return _0x41412d[_0xcb390b(0x149)](_0x2050c9=>_0x1f96ad[_0xcb390b(0x156)](_0x2050c9))[_0xcb390b(0x159)](Boolean);}}function a18_0x5444(_0x4d7d27,_0x368aa2){const _0x2b2c10=a18_0x2b2c();return a18_0x5444=function(_0x54444a,_0x432563){_0x54444a=_0x54444a-0x146;let _0x4b0818=_0x2b2c10[_0x54444a];return _0x4b0818;},a18_0x5444(_0x4d7d27,_0x368aa2);}module[a18_0x34076b(0x150)]=CustomSequencer;
1
+ const a18_0x1db1f8=a18_0x166f;(function(_0x12a748,_0x52f1be){const _0x2d43c2=a18_0x166f,_0x298b38=_0x12a748();while(!![]){try{const _0x2a21c5=-parseInt(_0x2d43c2(0x1c6))/0x1*(parseInt(_0x2d43c2(0x1d3))/0x2)+parseInt(_0x2d43c2(0x1c9))/0x3*(-parseInt(_0x2d43c2(0x1ca))/0x4)+-parseInt(_0x2d43c2(0x1c7))/0x5*(-parseInt(_0x2d43c2(0x1cd))/0x6)+parseInt(_0x2d43c2(0x1c4))/0x7+-parseInt(_0x2d43c2(0x1c5))/0x8+-parseInt(_0x2d43c2(0x1cf))/0x9+parseInt(_0x2d43c2(0x1c8))/0xa*(parseInt(_0x2d43c2(0x1cc))/0xb);if(_0x2a21c5===_0x52f1be)break;else _0x298b38['push'](_0x298b38['shift']());}catch(_0x29b225){_0x298b38['push'](_0x298b38['shift']());}}}(a18_0x2c3c,0x88fc8));function a18_0x2c3c(){const _0x111222=['sort','2081842RXvfVY','3568264UQukgP','312UFCLdK','2228120jLpZIW','4190ScKTvi','3fDFNsE','3533176jVBkqb','map','40315EuciSm','12fkhUny','JEST_TEST_ORDER','2877210OQIRal','includes','filter','split','3296RNGBgG','default','get','path'];a18_0x2c3c=function(){return _0x111222;};return a18_0x2c3c();}const Sequencer=require('@jest/test-sequencer')[a18_0x1db1f8(0x1c0)];function a18_0x166f(_0x3c97c7,_0x2923cd){const _0x2c3cf0=a18_0x2c3c();return a18_0x166f=function(_0x166fcf,_0x364638){_0x166fcf=_0x166fcf-0x1c0;let _0x4a7c5c=_0x2c3cf0[_0x166fcf];return _0x4a7c5c;},a18_0x166f(_0x3c97c7,_0x2923cd);}class CustomSequencer extends Sequencer{[a18_0x1db1f8(0x1c3)](_0x14ee54){const _0x348fcd=a18_0x1db1f8,_0x267c75=process['env'][_0x348fcd(0x1ce)];if(!_0x267c75)return _0x14ee54;const _0x49d3f6=_0x267c75[_0x348fcd(0x1d2)](','),_0x16354a=new Map(_0x14ee54[_0x348fcd(0x1d1)](_0x2a23da=>_0x49d3f6[_0x348fcd(0x1d0)](_0x2a23da[_0x348fcd(0x1c2)]))['map'](_0xf12b8f=>[_0xf12b8f[_0x348fcd(0x1c2)],_0xf12b8f]));return _0x49d3f6[_0x348fcd(0x1cb)](_0x11ef3c=>_0x16354a[_0x348fcd(0x1c1)](_0x11ef3c))[_0x348fcd(0x1d1)](Boolean);}}module['exports']=CustomSequencer;