browserstack-node-sdk 1.55.5 → 1.55.7

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 (202) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/generated/sdk-messages_pb.d.ts +40 -0
  41. package/generated/sdk-messages_pb.js +322 -2
  42. package/package.json +2 -2
  43. package/src/ai-sdk-node/bundle.js +1 -1
  44. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  45. package/src/bin/codeceptjs/command.js +1 -1
  46. package/src/bin/codeceptjs/helper.js +1 -1
  47. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  48. package/src/bin/cucumber-js/command.js +1 -1
  49. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  50. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  51. package/src/bin/cucumber-js/test-observability.js +1 -1
  52. package/src/bin/cucumber-js/test.setup.js +1 -1
  53. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  54. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  55. package/src/bin/integrations/command.js +1 -1
  56. package/src/bin/integrations/constants.js +1 -1
  57. package/src/bin/jest/command.js +1 -1
  58. package/src/bin/jest/customImplements/customCircus.js +1 -1
  59. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  60. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  61. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  62. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  63. package/src/bin/jest/jest.setup.js +1 -1
  64. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  65. package/src/bin/jest/test-observability/helper.js +1 -1
  66. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  67. package/src/bin/jest/test-observability/test-details.js +1 -1
  68. package/src/bin/jest/test.setup.js +1 -1
  69. package/src/bin/jest/test_before.setup.js +1 -1
  70. package/src/bin/launcher/launcher.js +1 -1
  71. package/src/bin/load/index.js +1 -1
  72. package/src/bin/load/loadUtils.js +1 -1
  73. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  74. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  75. package/src/bin/mocha/command.js +1 -1
  76. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  77. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  78. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  79. package/src/bin/mocha/test.setup.js +1 -1
  80. package/src/bin/newman/command.js +1 -1
  81. package/src/bin/newman/helper.js +1 -1
  82. package/src/bin/newman/reporter/index.js +1 -1
  83. package/src/bin/newman/scriptRunner.js +1 -1
  84. package/src/bin/nightwatch/command.js +1 -1
  85. package/src/bin/playwright/accessibility-helper.js +1 -1
  86. package/src/bin/playwright/command.js +1 -1
  87. package/src/bin/playwright/globalSetup.js +1 -1
  88. package/src/bin/playwright/mock-process.js +1 -1
  89. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  90. package/src/bin/playwright/patches.js +1 -1
  91. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  92. package/src/bin/playwright/reporter/reporter.js +1 -1
  93. package/src/bin/playwright/reporter/test-details.js +1 -1
  94. package/src/bin/playwright/sessionDetails.js +1 -1
  95. package/src/bin/puppeteer/patches.js +1 -1
  96. package/src/bin/puppeteer/sessionDetails.js +1 -1
  97. package/src/bin/puppeteer/test.setup.js +1 -1
  98. package/src/bin/runner.js +1 -1
  99. package/src/bin/setup.js +1 -1
  100. package/src/bin/test-runner/index.js +1 -1
  101. package/src/bin/test-runner/runTest.js +1 -1
  102. package/src/bin/test-runner/testWorker.js +1 -1
  103. package/src/bin/utils/apiUtilityMethods.js +1 -1
  104. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  105. package/src/bin/utils/constants.js +1 -1
  106. package/src/bin/utils/log4jsAppender.js +1 -1
  107. package/src/bin/utils/logPatcher.js +1 -1
  108. package/src/bin/utils/logReportingAPI.js +1 -1
  109. package/src/bin/utils/playwright-patcher.js +1 -1
  110. package/src/bin/utils/puppeteer-patcher.js +1 -1
  111. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  112. package/src/bin/utils/sharedUtils.js +1 -1
  113. package/src/bin/v2/TestInfo.js +1 -1
  114. package/src/bin/v2/browserstackCLI.js +1 -1
  115. package/src/bin/v2/cliUtils.js +1 -1
  116. package/src/bin/v2/customTagManager.js +1 -1
  117. package/src/bin/v2/eventDispatcher.js +1 -1
  118. package/src/bin/v2/framework/automationFramework.js +1 -1
  119. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  120. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  121. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  122. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  123. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  124. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  125. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  126. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  127. package/src/bin/v2/framework/testFramework.js +1 -1
  128. package/src/bin/v2/grpcClient.js +1 -1
  129. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  130. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  131. package/src/bin/v2/instances/trackedContext.js +1 -1
  132. package/src/bin/v2/instances/trackedInstance.js +1 -1
  133. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  134. package/src/bin/v2/modules/baseModule.js +1 -1
  135. package/src/bin/v2/modules/loadTestModule.js +1 -1
  136. package/src/bin/v2/modules/observabilityModule.js +1 -1
  137. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  138. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  139. package/src/bin/v2/modules/testhubModule.js +1 -1
  140. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  141. package/src/bin/v2/state/hookState.js +1 -1
  142. package/src/bin/v2/state/testFrameworkState.js +1 -1
  143. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  144. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  145. package/src/bin/v2/utils/jest-utils.js +1 -1
  146. package/src/bin/vanilla-js/command.js +1 -1
  147. package/src/browserStackSdk.js +1 -1
  148. package/src/helpers/BrowserStackSetup.js +1 -1
  149. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  150. package/src/helpers/accessibility-automation/constants.js +1 -1
  151. package/src/helpers/accessibility-automation/helper.js +1 -1
  152. package/src/helpers/accessibility-automation/scripts.js +1 -1
  153. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  154. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  155. package/src/helpers/ats/constants.js +1 -1
  156. package/src/helpers/ats/helper.js +1 -1
  157. package/src/helpers/caCertHelper.js +1 -0
  158. package/src/helpers/capsMapping.js +1 -1
  159. package/src/helpers/central-scanner/constants.js +1 -1
  160. package/src/helpers/central-scanner/helpers.js +1 -1
  161. package/src/helpers/classLogger.js +1 -1
  162. package/src/helpers/globals.js +1 -1
  163. package/src/helpers/helper.js +1 -1
  164. package/src/helpers/logger.js +1 -1
  165. package/src/helpers/metadata.js +1 -1
  166. package/src/helpers/patchHelper.js +1 -1
  167. package/src/helpers/patchHelpers.js +1 -1
  168. package/src/helpers/percy/Percy.js +1 -1
  169. package/src/helpers/percy/PercyBinary.js +1 -1
  170. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  171. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  172. package/src/helpers/percy/PercySDK.js +1 -1
  173. package/src/helpers/percy/index.js +1 -1
  174. package/src/helpers/percy/utils.js +1 -1
  175. package/src/helpers/performance/constants.js +1 -1
  176. package/src/helpers/performance/performance-tester.js +1 -1
  177. package/src/helpers/playwright-helper.js +1 -1
  178. package/src/helpers/processHelper.js +1 -1
  179. package/src/helpers/puppeteer-helper.js +1 -1
  180. package/src/helpers/request-spy.js +1 -1
  181. package/src/helpers/setKeepAlive.js +1 -1
  182. package/src/helpers/stackFrameUtils.js +1 -1
  183. package/src/helpers/test-observability/constants.js +1 -1
  184. package/src/helpers/test-observability/error-handler.js +1 -1
  185. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  186. package/src/helpers/test-observability/sessionHandler.js +1 -1
  187. package/src/helpers/test-observability/utils.js +1 -1
  188. package/src/helpers/test-orchestration/constants.js +1 -1
  189. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  190. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  191. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  192. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  193. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  194. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  195. package/src/helpers/testhub/constants.js +1 -1
  196. package/src/helpers/testhub/testhubHandler.js +1 -1
  197. package/src/helpers/testhub/utils.js +1 -1
  198. package/src/helpers/timeoutPromise.js +1 -1
  199. package/src/helpers/utilities.js +1 -1
  200. package/src/helpers/w3cMapping.js +1 -1
  201. package/src/hubAllocationMethods.js +1 -1
  202. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a10_0x36eaee=a10_0x9b41;(function(_0x3f2435,_0x58d6e4){const _0x1a6991=a10_0x9b41,_0x21113a=_0x3f2435();while(!![]){try{const _0x3fda8e=parseInt(_0x1a6991(0x18d))/0x1*(parseInt(_0x1a6991(0x1ad))/0x2)+-parseInt(_0x1a6991(0x1bb))/0x3+parseInt(_0x1a6991(0x19b))/0x4+parseInt(_0x1a6991(0x183))/0x5*(-parseInt(_0x1a6991(0x197))/0x6)+-parseInt(_0x1a6991(0x1ac))/0x7+-parseInt(_0x1a6991(0x194))/0x8*(parseInt(_0x1a6991(0x1ae))/0x9)+parseInt(_0x1a6991(0x193))/0xa;if(_0x3fda8e===_0x58d6e4)break;else _0x21113a['push'](_0x21113a['shift']());}catch(_0x4efde2){_0x21113a['push'](_0x21113a['shift']());}}}(a10_0x2d07,0x55a66));const {requireModule,modifyCommand,isTrue,markSessionStatus}=require(a10_0x36eaee(0x1a4)),setKeepAlive=require(a10_0x36eaee(0x1b3)),cucumberModule=requireModule(a10_0x36eaee(0x1a8),a10_0x36eaee(0x1a2)),logger=require('../../helpers/logger')[a10_0x36eaee(0x1b5)];modifyCommand(),setKeepAlive();const Before=cucumberModule[a10_0x36eaee(0x1bc)],After=cucumberModule[a10_0x36eaee(0x1ba)],configuration=process['env'][a10_0x36eaee(0x1a6)];if(configuration!==undefined){const config=JSON[a10_0x36eaee(0x19c)](configuration);isTrue(config[a10_0x36eaee(0x1b0)])&&(global[a10_0x36eaee(0x19f)]=!![]),global[a10_0x36eaee(0x1b8)]=isTrue(config[a10_0x36eaee(0x1aa)]),require(a10_0x36eaee(0x198))[a10_0x36eaee(0x1a0)](config),global[a10_0x36eaee(0x19a)]=config['platformCaps']||{};}global[a10_0x36eaee(0x196)]=0x0;const __setDefaultTimeout=cucumberModule[a10_0x36eaee(0x1a1)];function a10_0x2d07(){const _0xe0d1d1=['5wyxCkR','failed','session_','passed','pickle','qmAoX','status','initQuit','then','Error:\x20setting\x20status\x20at\x20After:\x20','31GyfMvG','Inside\x20browserstack\x20Before','QtggW','eqjLQ','Error:\x20quiting\x20at\x20After:\x20','Inside\x20browserstack\x20After','7981300CTQIhZ','874672giKush','name','__timeout','1357386qlZXbt','../../index','bstack','__platformCaps','1539476zLgAQD','parse','\x22}}','RbpRf','__skipSessionName','browserstackAgentV2','setDefaultTimeout','cucumber','join','../../helpers/helper','debug','CONFIG','nbxuw','cucumber/lib/index.js','timeout','skipSessionStatus','lEOBv','1918889lsXhYh','11276zlutgr','18qZQgfE','GJxuG','skipSessionName','result','toLowerCase','../../helpers/setKeepAlive','\x20|\x20','winstonLogger','__error_messages__','__driver','__skipSessionStatus','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','After','863787ntYJqB','Before','pIgOG'];a10_0x2d07=function(){return _0xe0d1d1;};return a10_0x2d07();}cucumberModule[a10_0x36eaee(0x1a1)]=_0x379468=>{const _0x2fc656=a10_0x36eaee,_0x1b6c70={'qmAoX':function(_0x1ea8ba,_0x102af2){return _0x1ea8ba(_0x102af2);}};global[_0x2fc656(0x196)]=_0x379468,_0x1b6c70[_0x2fc656(0x188)](__setDefaultTimeout,_0x379468);};function a10_0x9b41(_0x48fdc0,_0x10bac4){const _0x2d0780=a10_0x2d07();return a10_0x9b41=function(_0x9b41a6,_0x527428){_0x9b41a6=_0x9b41a6-0x182;let _0x97ca4=_0x2d0780[_0x9b41a6];return _0x97ca4;},a10_0x9b41(_0x48fdc0,_0x10bac4);}const a10_0x4d9d0c={};a10_0x4d9d0c['name']=a10_0x36eaee(0x199),Before(a10_0x4d9d0c,function(){const _0x38497c=a10_0x36eaee,_0x4e5ced={};_0x4e5ced[_0x38497c(0x1ab)]=_0x38497c(0x18e);const _0x231dc6=_0x4e5ced;logger['debug'](_0x231dc6[_0x38497c(0x1ab)]),global['__error_messages__']=[];});const a10_0x1ec7ea={};a10_0x1ec7ea['name']=a10_0x36eaee(0x199),a10_0x1ec7ea[a10_0x36eaee(0x1a9)]=0x2710,After(a10_0x1ec7ea,function(_0x5c99f5,_0x33b463){const _0x151573=a10_0x36eaee,_0x4ae1fc={'EXLEZ':function(_0x2e2a16,_0x1f7bf0){return _0x2e2a16===_0x1f7bf0;},'pIgOG':_0x151573(0x184),'Kpiae':function(_0x3062ae,_0x3b76fe,_0x1bba07,_0x20b29f){return _0x3062ae(_0x3b76fe,_0x1bba07,_0x20b29f);},'GJxuG':_0x151573(0x1b4),'RbpRf':function(_0x1f4762,_0x38fe07,_0x109a90){return _0x1f4762(_0x38fe07,_0x109a90);},'YCYYQ':_0x151573(0x186),'eqjLQ':function(_0x52e71e){return _0x52e71e();},'QtggW':function(_0x582bb0,_0x32ae7c){return _0x582bb0(_0x32ae7c);},'nbxuw':_0x151573(0x192)};logger[_0x151573(0x1a5)](_0x4ae1fc[_0x151573(0x1a7)]),new Promise(async(_0x42aa90,_0x62ba00)=>{const _0x252256=_0x151573;let _0x3ad476=![];try{await global[_0x252256(0x1b7)][_0x252256(0x185)],_0x3ad476=!![],!global[_0x252256(0x19f)]&&await global[_0x252256(0x1b7)]['executeScript'](_0x252256(0x1b9)+_0x5c99f5[_0x252256(0x187)][_0x252256(0x195)]+_0x252256(0x19d)),_0x4ae1fc['EXLEZ'](_0x5c99f5[_0x252256(0x1b1)][_0x252256(0x189)][_0x252256(0x1b2)](),_0x4ae1fc['pIgOG'])?await _0x4ae1fc['Kpiae'](markSessionStatus,global['__driver'],_0x4ae1fc[_0x252256(0x182)],global[_0x252256(0x1b6)][_0x252256(0x1a3)](_0x4ae1fc[_0x252256(0x1af)])):await _0x4ae1fc[_0x252256(0x19e)](markSessionStatus,global[_0x252256(0x1b7)],_0x4ae1fc['YCYYQ']);}catch(_0x12b1e8){logger[_0x252256(0x1a5)](_0x252256(0x18c)+_0x12b1e8);}if(_0x3ad476)try{await global[_0x252256(0x1b7)][_0x252256(0x18a)](),_0x4ae1fc[_0x252256(0x190)](_0x42aa90);}catch(_0x299426){logger[_0x252256(0x1a5)](_0x252256(0x191)+_0x299426),_0x4ae1fc[_0x252256(0x18f)](_0x62ba00,_0x299426);}else _0x4ae1fc[_0x252256(0x190)](_0x62ba00);})[_0x151573(0x18b)](()=>_0x33b463());});
1
+ const a10_0x123c86=a10_0x1542;function a10_0x1542(_0x3d1263,_0x43747f){const _0x5b86e9=a10_0x5b86();return a10_0x1542=function(_0x154251,_0x14236e){_0x154251=_0x154251-0x12b;let _0xfee31=_0x5b86e9[_0x154251];return _0xfee31;},a10_0x1542(_0x3d1263,_0x43747f);}(function(_0x5e92f8,_0x3d38c3){const _0x235958=a10_0x1542,_0x5c70ff=_0x5e92f8();while(!![]){try{const _0xaf5c1e=-parseInt(_0x235958(0x136))/0x1+parseInt(_0x235958(0x153))/0x2+-parseInt(_0x235958(0x13e))/0x3*(parseInt(_0x235958(0x12e))/0x4)+-parseInt(_0x235958(0x131))/0x5+parseInt(_0x235958(0x148))/0x6+-parseInt(_0x235958(0x14e))/0x7*(-parseInt(_0x235958(0x146))/0x8)+parseInt(_0x235958(0x12b))/0x9*(parseInt(_0x235958(0x15b))/0xa);if(_0xaf5c1e===_0x3d38c3)break;else _0x5c70ff['push'](_0x5c70ff['shift']());}catch(_0x39598a){_0x5c70ff['push'](_0x5c70ff['shift']());}}}(a10_0x5b86,0x5e1a9));const {requireModule,modifyCommand,isTrue,markSessionStatus}=require(a10_0x123c86(0x159)),setKeepAlive=require('../../helpers/setKeepAlive'),cucumberModule=requireModule(a10_0x123c86(0x12f),'cucumber'),logger=require(a10_0x123c86(0x135))[a10_0x123c86(0x150)];modifyCommand(),setKeepAlive();const Before=cucumberModule[a10_0x123c86(0x15a)],After=cucumberModule[a10_0x123c86(0x142)],configuration=process[a10_0x123c86(0x13c)]['CONFIG'];if(configuration!==undefined){const config=JSON[a10_0x123c86(0x143)](configuration);isTrue(config[a10_0x123c86(0x158)])&&(global['__skipSessionName']=!![]),global[a10_0x123c86(0x12d)]=isTrue(config[a10_0x123c86(0x161)]),require(a10_0x123c86(0x14b))[a10_0x123c86(0x157)](config),global[a10_0x123c86(0x14d)]=config['platformCaps']||{};}global[a10_0x123c86(0x155)]=0x0;const __setDefaultTimeout=cucumberModule[a10_0x123c86(0x15d)];cucumberModule['setDefaultTimeout']=_0x572a09=>{const _0x44f5d4=a10_0x123c86,_0x392a25={'jhQHc':function(_0x35b87d,_0x1b3da7){return _0x35b87d(_0x1b3da7);}};global[_0x44f5d4(0x155)]=_0x572a09,_0x392a25[_0x44f5d4(0x15c)](__setDefaultTimeout,_0x572a09);};const a10_0x512b06={};a10_0x512b06[a10_0x123c86(0x133)]=a10_0x123c86(0x151),Before(a10_0x512b06,function(){const _0x52fecf=a10_0x123c86,_0x13199b={};_0x13199b[_0x52fecf(0x132)]=_0x52fecf(0x152);const _0x2e8625=_0x13199b;logger['debug'](_0x2e8625[_0x52fecf(0x132)]),global[_0x52fecf(0x163)]=[];});const a10_0x5936f9={};function a10_0x5b86(){const _0x4982d1=['debug','browserstackAgentV2','skipSessionName','../../helpers/helper','Before','168380bwGyFH','jhQHc','setDefaultTimeout','DiwWX','join','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','skipSessionStatus','toLowerCase','__error_messages__','288OZvyJT','result','__skipSessionStatus','1348skFbDP','cucumber/lib/index.js','AChwb','232690JxCvQb','pcqko','name','initQuit','../../helpers/logger','193811woaBbq','then','executeScript','status','__driver','tChFB','env','MNIxn','3039zczcEq','\x22}}','pickle','passed','After','parse','__skipSessionName','TfheC','14496ZzYrwr','pAkfQ','902982iQIMWK','timeout','JPHVk','../../index','Error:\x20quiting\x20at\x20After:\x20','__platformCaps','497qNUSyb','\x20|\x20','winstonLogger','bstack','Inside\x20browserstack\x20Before','298428FWJjbE','Inside\x20browserstack\x20After','__timeout'];a10_0x5b86=function(){return _0x4982d1;};return a10_0x5b86();}a10_0x5936f9[a10_0x123c86(0x133)]=a10_0x123c86(0x151),a10_0x5936f9[a10_0x123c86(0x149)]=0x2710,After(a10_0x5936f9,function(_0x4188d3,_0x295b2d){const _0x152b42=a10_0x123c86,_0x49eaf8={'joExq':function(_0xcc3f81,_0x4bee9d){return _0xcc3f81===_0x4bee9d;},'DiwWX':'failed','PBWsZ':function(_0x59e5fa,_0x5017fb,_0xa32874,_0x148a3b){return _0x59e5fa(_0x5017fb,_0xa32874,_0x148a3b);},'AChwb':_0x152b42(0x14f),'pAkfQ':function(_0x2fbd6e,_0x174f58,_0x30501e){return _0x2fbd6e(_0x174f58,_0x30501e);},'TfheC':_0x152b42(0x141),'tChFB':function(_0x526140){return _0x526140();},'JPHVk':function(_0x385ba2,_0x1ca35c){return _0x385ba2(_0x1ca35c);},'MNIxn':_0x152b42(0x154)};logger[_0x152b42(0x156)](_0x49eaf8[_0x152b42(0x13d)]),new Promise(async(_0x52475f,_0x3c9d60)=>{const _0x7fd655=_0x152b42;let _0x18c16a=![];try{await global[_0x7fd655(0x13a)]['session_'],_0x18c16a=!![],!global[_0x7fd655(0x144)]&&await global['__driver'][_0x7fd655(0x138)](_0x7fd655(0x160)+_0x4188d3[_0x7fd655(0x140)][_0x7fd655(0x133)]+_0x7fd655(0x13f)),_0x49eaf8['joExq'](_0x4188d3[_0x7fd655(0x12c)][_0x7fd655(0x139)][_0x7fd655(0x162)](),_0x49eaf8[_0x7fd655(0x15e)])?await _0x49eaf8['PBWsZ'](markSessionStatus,global[_0x7fd655(0x13a)],_0x49eaf8['DiwWX'],global[_0x7fd655(0x163)][_0x7fd655(0x15f)](_0x49eaf8[_0x7fd655(0x130)])):await _0x49eaf8[_0x7fd655(0x147)](markSessionStatus,global[_0x7fd655(0x13a)],_0x49eaf8[_0x7fd655(0x145)]);}catch(_0x1b11a5){logger[_0x7fd655(0x156)]('Error:\x20setting\x20status\x20at\x20After:\x20'+_0x1b11a5);}if(_0x18c16a)try{await global['__driver'][_0x7fd655(0x134)](),_0x49eaf8['tChFB'](_0x52475f);}catch(_0xa68eea){logger[_0x7fd655(0x156)](_0x7fd655(0x14c)+_0xa68eea),_0x49eaf8[_0x7fd655(0x14a)](_0x3c9d60,_0xa68eea);}else _0x49eaf8[_0x7fd655(0x13b)](_0x3c9d60);})[_0x152b42(0x137)](()=>_0x295b2d());});
@@ -1 +1 @@
1
- const a11_0x706e37=a11_0x4b5c;function a11_0x4b5c(_0x354c12,_0x5ce031){const _0x33410e=a11_0x3341();return a11_0x4b5c=function(_0x4b5c98,_0x9cbf5d){_0x4b5c98=_0x4b5c98-0x1eb;let _0x416e57=_0x33410e[_0x4b5c98];return _0x416e57;},a11_0x4b5c(_0x354c12,_0x5ce031);}(function(_0x2faf46,_0x45367e){const _0x19d0a5=a11_0x4b5c,_0xb2ed99=_0x2faf46();while(!![]){try{const _0x487d32=parseInt(_0x19d0a5(0x1eb))/0x1+parseInt(_0x19d0a5(0x1f3))/0x2*(-parseInt(_0x19d0a5(0x1f0))/0x3)+parseInt(_0x19d0a5(0x1f4))/0x4*(-parseInt(_0x19d0a5(0x1ec))/0x5)+-parseInt(_0x19d0a5(0x1f8))/0x6*(-parseInt(_0x19d0a5(0x1f1))/0x7)+-parseInt(_0x19d0a5(0x1fb))/0x8+parseInt(_0x19d0a5(0x1f7))/0x9*(parseInt(_0x19d0a5(0x1f5))/0xa)+parseInt(_0x19d0a5(0x1ee))/0xb;if(_0x487d32===_0x45367e)break;else _0xb2ed99['push'](_0xb2ed99['shift']());}catch(_0x45d24e){_0xb2ed99['push'](_0xb2ed99['shift']());}}}(a11_0x3341,0x2417a));const {requireModule}=require(a11_0x706e37(0x1ed)),constants=require(a11_0x706e37(0x1f6));let cucumberModule=null;try{cucumberModule=requireModule(a11_0x706e37(0x1fa),a11_0x706e37(0x1f9));}catch(a11_0x4e2236){cucumberModule=requireModule(a11_0x706e37(0x1ef),a11_0x706e37(0x1f2));}const userValue=global[a11_0x706e37(0x1fd)]||0x0;function a11_0x3341(){const _0x45a10b=['../../helpers/helper','1652398dATLHU','cucumber/lib/index.js','15WrfLNY','91mMNCfB','cucumber','38476vjVXPV','7704dgKbuR','107290CPWZXg','../utils/constants','126CIhYZG','96162liIGko','@cucumber/cucumber','@cucumber/cucumber/lib/index.js','1343128XQsxWH','setDefaultTimeout','__timeout','39886hNagOd','355qboSIw'];a11_0x3341=function(){return _0x45a10b;};return a11_0x3341();}(userValue===0x0||userValue<constants['BSTACK_DELTA'])&&cucumberModule[a11_0x706e37(0x1fc)](constants['BSTACK_DELTA']);
1
+ const a11_0x4de046=a11_0x13cf;(function(_0x36eee5,_0x2d4868){const _0x12b363=a11_0x13cf,_0x501163=_0x36eee5();while(!![]){try{const _0x578543=-parseInt(_0x12b363(0x103))/0x1*(parseInt(_0x12b363(0x108))/0x2)+-parseInt(_0x12b363(0xff))/0x3*(parseInt(_0x12b363(0x10b))/0x4)+parseInt(_0x12b363(0x107))/0x5+-parseInt(_0x12b363(0x109))/0x6+-parseInt(_0x12b363(0x10e))/0x7+-parseInt(_0x12b363(0xfe))/0x8+parseInt(_0x12b363(0x104))/0x9*(parseInt(_0x12b363(0x10d))/0xa);if(_0x578543===_0x2d4868)break;else _0x501163['push'](_0x501163['shift']());}catch(_0x1fc779){_0x501163['push'](_0x501163['shift']());}}}(a11_0x4d3f,0xe6885));const {requireModule}=require(a11_0x4de046(0x102)),constants=require(a11_0x4de046(0x106));let cucumberModule=null;try{cucumberModule=requireModule(a11_0x4de046(0x101),a11_0x4de046(0x10c));}catch(a11_0x9bb290){cucumberModule=requireModule(a11_0x4de046(0x10a),a11_0x4de046(0x105));}function a11_0x13cf(_0x32aa9d,_0x100216){const _0x4d3f90=a11_0x4d3f();return a11_0x13cf=function(_0x13cfcd,_0x257e75){_0x13cfcd=_0x13cfcd-0xfe;let _0x250d98=_0x4d3f90[_0x13cfcd];return _0x250d98;},a11_0x13cf(_0x32aa9d,_0x100216);}const userValue=global[a11_0x4de046(0x100)]||0x0;function a11_0x4d3f(){const _0x564edc=['1013595MbbcIC','190prdkmQ','11189298VHwbbR','cucumber/lib/index.js','2952604GBQZwv','@cucumber/cucumber','30jZoLdA','8811187NGHwYQ','BSTACK_DELTA','3178016eiwhEi','3ZigoYQ','__timeout','@cucumber/cucumber/lib/index.js','../../helpers/helper','766sATAPR','15220017MJjaOh','cucumber','../utils/constants'];a11_0x4d3f=function(){return _0x564edc;};return a11_0x4d3f();}(userValue===0x0||userValue<constants[a11_0x4de046(0x10f)])&&cucumberModule['setDefaultTimeout'](constants['BSTACK_DELTA']);
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a12_0x3992b1=a12_0x423c;(function(_0xb0c3e8,_0x237865){const _0x493087=a12_0x423c,_0x616ca9=_0xb0c3e8();while(!![]){try{const _0x4d4e30=-parseInt(_0x493087(0x87))/0x1*(parseInt(_0x493087(0xb2))/0x2)+parseInt(_0x493087(0x79))/0x3+parseInt(_0x493087(0xad))/0x4+-parseInt(_0x493087(0x77))/0x5*(parseInt(_0x493087(0xa6))/0x6)+-parseInt(_0x493087(0x78))/0x7+-parseInt(_0x493087(0x86))/0x8*(-parseInt(_0x493087(0xb0))/0x9)+-parseInt(_0x493087(0x7b))/0xa*(-parseInt(_0x493087(0xba))/0xb);if(_0x4d4e30===_0x237865)break;else _0x616ca9['push'](_0x616ca9['shift']());}catch(_0x134e46){_0x616ca9['push'](_0x616ca9['shift']());}}}(a12_0x2368,0x62f71));const {default:BrowserStackSetup}=require(a12_0x3992b1(0xa1)),logger=require(a12_0x3992b1(0xb4))[a12_0x3992b1(0x9f)],{URL}=require('url'),helper=require('../../helpers/helper'),{HELP_MESSAGES,ERROR_MESSAGES}=require(a12_0x3992b1(0xb6)),validHosts=function(_0x31dcd5){const _0x27c3c2=a12_0x3992b1;return _0x31dcd5[_0x27c3c2(0x9a)](',')['every'](_0x356830=>{const _0x6f91f1=_0x27c3c2;try{new URL(_0x356830[_0x6f91f1(0xa3)]());}catch(_0x5cf8af){return![];}return!![];});},parseOnPremHosts=function(_0x41e007){const _0x1c85e6=a12_0x3992b1,_0x2b636c={};_0x2b636c['qJMob']=function(_0x4a8166,_0x9dcd0){return _0x4a8166===_0x9dcd0;},_0x2b636c[_0x1c85e6(0x89)]=_0x1c85e6(0x98),_0x2b636c[_0x1c85e6(0xae)]=_0x1c85e6(0xbc),_0x2b636c[_0x1c85e6(0x8a)]=_0x1c85e6(0xa4);const _0x317906=_0x2b636c;return _0x41e007[_0x1c85e6(0x9a)](',')[_0x1c85e6(0x9c)](_0x277052=>{const _0x307753=_0x1c85e6,_0x4e30c6=new URL(_0x277052[_0x307753(0xa3)]()),_0x89efdc=_0x4e30c6[_0x307753(0xb9)],_0x51019c=_0x4e30c6['port']||(_0x317906[_0x307753(0x7a)](_0x4e30c6['protocol'],_0x317906['NJxSa'])?_0x317906[_0x307753(0xae)]:'80'),_0x26380c=_0x4e30c6[_0x307753(0x83)]['replace'](':',''),_0x220c92=_0x317906[_0x307753(0x7a)](_0x26380c,_0x317906[_0x307753(0x8a)])?0x1:0x0;return _0x89efdc+','+_0x51019c+','+_0x220c92;});},connectCommandBuilder=function(_0x1746be){const _0x4de273=a12_0x3992b1,_0x27bdf5={};_0x27bdf5['nWtPQ']=_0x4de273(0xa7);const _0x61912c=_0x27bdf5,_0x5521f6={};_0x5521f6[_0x4de273(0x97)]=HELP_MESSAGES[_0x4de273(0xa9)][_0x4de273(0xaa)],_0x5521f6[_0x4de273(0xb5)]=_0x61912c[_0x4de273(0x82)];const _0x475e4e={};_0x475e4e['describe']=HELP_MESSAGES[_0x4de273(0xa9)]['hosts'],_0x475e4e[_0x4de273(0xb5)]=_0x61912c[_0x4de273(0x82)],_0x475e4e['demandOption']=!![];const _0x191f75={};return _0x191f75[_0x4de273(0x8c)]=_0x5521f6,_0x191f75[_0x4de273(0x80)]=_0x475e4e,_0x1746be[_0x4de273(0xa9)](_0x191f75);},connectCommandHandler=async function(_0x586cd0){const _0x3ddec7=a12_0x3992b1,_0x5e2c2a={'mzpos':_0x3ddec7(0x93),'UyPED':function(_0x315d80,_0x4dee76){return _0x315d80===_0x4dee76;},'AbjmY':_0x3ddec7(0xa0),'GuQNw':_0x3ddec7(0x9b),'XPjrk':function(_0x518bfa,_0x7cd070){return _0x518bfa===_0x7cd070;},'bsuCx':_0x3ddec7(0xa5),'hPejV':function(_0x3eb3c1,_0x1975a4){return _0x3eb3c1(_0x1975a4);},'EVGxq':'Hosts\x20not\x20valid','sGUnn':_0x3ddec7(0x8e),'wLdwl':'Connection\x20established\x20successfully.','FzHAy':_0x3ddec7(0x90)};try{const _0x51553a=new BrowserStackSetup(_0x586cd0,_0x5e2c2a[_0x3ddec7(0x9e)]);_0x586cd0[_0x3ddec7(0x7e)]&&(_0x51553a[_0x3ddec7(0x9d)][_0x3ddec7(0x91)]=_0x586cd0['bstackAccesskey']);if(_0x5e2c2a['UyPED'](typeof _0x51553a['config'][_0x3ddec7(0x91)],_0x5e2c2a[_0x3ddec7(0x8b)])){logger[_0x3ddec7(0x96)](_0x5e2c2a[_0x3ddec7(0xbb)]);throw new Error(ERROR_MESSAGES['bstackAccessKey'][_0x3ddec7(0xa2)]);}const _0x2f8161=_0x586cd0[_0x3ddec7(0x80)];if(_0x5e2c2a[_0x3ddec7(0x7f)](typeof _0x2f8161,_0x5e2c2a[_0x3ddec7(0x8b)])){logger[_0x3ddec7(0x96)](_0x5e2c2a[_0x3ddec7(0xac)]);throw new Error(ERROR_MESSAGES['hosts'][_0x3ddec7(0xa2)]);}if(!_0x5e2c2a[_0x3ddec7(0x8d)](validHosts,_0x2f8161)){logger[_0x3ddec7(0x96)](_0x5e2c2a['EVGxq']);throw new Error(ERROR_MESSAGES[_0x3ddec7(0x80)][_0x3ddec7(0x95)]);}const _0x318cde=_0x5e2c2a[_0x3ddec7(0x8d)](parseOnPremHosts,_0x2f8161);_0x51553a[_0x3ddec7(0x9d)][_0x3ddec7(0xaf)]=!![],_0x51553a[_0x3ddec7(0x9d)][_0x3ddec7(0x85)]['localIdentifier']=_0x5e2c2a[_0x3ddec7(0xbe)],_0x51553a[_0x3ddec7(0x9d)]['browserStackLocalOptions']['only']=_0x318cde['join'](','),helper[_0x3ddec7(0x7c)](_0x51553a['config']),await _0x51553a[_0x3ddec7(0x7d)](),logger[_0x3ddec7(0xb3)](_0x5e2c2a[_0x3ddec7(0xab)]);}catch(_0x9e86bc){logger[_0x3ddec7(0x96)](_0x5e2c2a['FzHAy']);throw new Error(_0x9e86bc[_0x3ddec7(0x88)]());}};function a12_0x423c(_0x251418,_0x6a40c0){const _0x23689a=a12_0x2368();return a12_0x423c=function(_0x423cc2,_0x11fc4a){_0x423cc2=_0x423cc2-0x77;let _0x25c742=_0x23689a[_0x423cc2];return _0x25c742;},a12_0x423c(_0x251418,_0x6a40c0);}function run(_0x1dc166){const _0x50f5e1=a12_0x3992b1,_0x4cd817={};_0x4cd817[_0x50f5e1(0xbd)]=_0x50f5e1(0x99),_0x4cd817[_0x50f5e1(0x81)]=_0x50f5e1(0x8f);const _0x470732=_0x4cd817;_0x1dc166[_0x50f5e1(0xb1)](HELP_MESSAGES[_0x50f5e1(0x84)][_0x50f5e1(0xa8)])[_0x50f5e1(0x84)](_0x470732[_0x50f5e1(0xbd)],HELP_MESSAGES[_0x50f5e1(0x84)]['connect'],connectCommandBuilder,connectCommandHandler)[_0x50f5e1(0xb8)]()[_0x50f5e1(0x8f)](_0x470732[_0x50f5e1(0x81)])[_0x50f5e1(0x92)](HELP_MESSAGES['command'][_0x50f5e1(0xb7)]);}function a12_0x2368(){const _0x15fa61=['hosts','NqfRZ','nWtPQ','protocol','command','browserStackLocalOptions','416ySRtyN','5EJiGgv','toString','NJxSa','WeqdK','AbjmY','bstack-accesskey','hPejV','integrations-repeater','help','Failed\x20to\x20establish\x20connection.','accessKey','epilogue','integrations','exports','invalid','error','describe','https:','connect','split','BrowserStack\x20access\x20key\x20missing.','map','config','mzpos','winstonLogger','undefined','../../helpers/BrowserStackSetup','missing','trim','https','Integration\x20hosts\x20missing.','1067010wmVHtc','string','root','options','bstackAccessKey','wLdwl','bsuCx','1646356SBbSKc','WdxzQ','browserstackLocal','13806VOrNol','usage','96034ZbsaEP','info','../../helpers/logger','type','./constants','footer','demandCommand','hostname','5364557EJDvsN','GuQNw','443','mcPmU','sGUnn','10rcjWbQ','4629758gTkwFO','587337BrjadQ','qJMob','20hZdCgF','setProxySettings','setupBrowserstackLocal','bstackAccesskey','XPjrk'];a12_0x2368=function(){return _0x15fa61;};return a12_0x2368();}module[a12_0x3992b1(0x94)]=run;
2
+ 'use strict';function a12_0x547d(_0x46f305,_0x1d9545){const _0x58eabd=a12_0x58ea();return a12_0x547d=function(_0x547d87,_0x2bc209){_0x547d87=_0x547d87-0x11b;let _0x30bb3a=_0x58eabd[_0x547d87];return _0x30bb3a;},a12_0x547d(_0x46f305,_0x1d9545);}const a12_0x40a836=a12_0x547d;function a12_0x58ea(){const _0x3b8691=['KxQSx','missing','XzYzQ','info','integrations-repeater','https:','replace','bWHOY','ZYyIT','demandCommand','browserStackLocalOptions','Integration\x20hosts\x20missing.','Connection\x20established\x20successfully.','setupBrowserstackLocal','CZvfe','5438286BqEpcS','options','accessKey','winstonLogger','bstack-accesskey','51JWdPyN','browserstackLocal','218827lVIRTJ','footer','NNavX','337390pNgCPc','iSsMt','connect','url','YyBZS','../../helpers/BrowserStackSetup','cDbie','360xpmXAM','error','916290BvAXpG','bstackAccessKey','help','./constants','rLChg','epilogue','exports','1214229mDYBht','30htASUw','SpZBG','1087295gixSEw','localIdentifier','invalid','port','describe','PGblN','join','MbGrs','443','trim','protocol','command','2HJluZF','171000sbQmow','root','map','integrations','../../helpers/helper','BrowserStack\x20access\x20key\x20missing.','SRJoN','demandOption','usage','setProxySettings','split','FeLCu','config','CyJAk','only','bstackAccesskey','hmsGd','undefined','Cnnsf','type','../../helpers/logger','hosts'];a12_0x58ea=function(){return _0x3b8691;};return a12_0x58ea();}(function(_0x49a192,_0xf42e1){const _0x1026ae=a12_0x547d,_0x2267db=_0x49a192();while(!![]){try{const _0xa23809=-parseInt(_0x1026ae(0x127))/0x1*(parseInt(_0x1026ae(0x136))/0x2)+parseInt(_0x1026ae(0x161))/0x3*(-parseInt(_0x1026ae(0x137))/0x4)+-parseInt(_0x1026ae(0x120))/0x5*(-parseInt(_0x1026ae(0x128))/0x6)+-parseInt(_0x1026ae(0x163))/0x7*(-parseInt(_0x1026ae(0x11e))/0x8)+parseInt(_0x1026ae(0x15c))/0x9+-parseInt(_0x1026ae(0x166))/0xa+-parseInt(_0x1026ae(0x12a))/0xb;if(_0xa23809===_0xf42e1)break;else _0x2267db['push'](_0x2267db['shift']());}catch(_0xef2912){_0x2267db['push'](_0x2267db['shift']());}}}(a12_0x58ea,0xd06de));const {default:BrowserStackSetup}=require(a12_0x40a836(0x11c)),logger=require(a12_0x40a836(0x14b))[a12_0x40a836(0x15f)],{URL}=require(a12_0x40a836(0x169)),helper=require(a12_0x40a836(0x13b)),{HELP_MESSAGES,ERROR_MESSAGES}=require(a12_0x40a836(0x123)),validHosts=function(_0x1cbc67){const _0x113026=a12_0x40a836;return _0x1cbc67[_0x113026(0x141)](',')['every'](_0x5e1456=>{const _0x3df1bf=_0x113026;try{new URL(_0x5e1456[_0x3df1bf(0x133)]());}catch(_0x3fac1e){return![];}return!![];});},parseOnPremHosts=function(_0x4d1746){const _0x220d30=a12_0x40a836,_0x1c603c={};_0x1c603c[_0x220d30(0x14d)]=function(_0x25abc3,_0x312a05){return _0x25abc3===_0x312a05;},_0x1c603c[_0x220d30(0x131)]=_0x220d30(0x152),_0x1c603c[_0x220d30(0x142)]=_0x220d30(0x132),_0x1c603c[_0x220d30(0x11d)]=function(_0x50444d,_0x2077d0){return _0x50444d===_0x2077d0;},_0x1c603c[_0x220d30(0x13d)]='https';const _0x54920f=_0x1c603c;return _0x4d1746[_0x220d30(0x141)](',')[_0x220d30(0x139)](_0x2df8ab=>{const _0x5cdab2=_0x220d30,_0x368bd3=new URL(_0x2df8ab[_0x5cdab2(0x133)]()),_0x412a37=_0x368bd3['hostname'],_0x32099c=_0x368bd3[_0x5cdab2(0x12d)]||(_0x54920f[_0x5cdab2(0x14d)](_0x368bd3[_0x5cdab2(0x134)],_0x54920f[_0x5cdab2(0x131)])?_0x54920f[_0x5cdab2(0x142)]:'80'),_0x2cc174=_0x368bd3['protocol'][_0x5cdab2(0x153)](':',''),_0x2c0805=_0x54920f[_0x5cdab2(0x11d)](_0x2cc174,_0x54920f[_0x5cdab2(0x13d)])?0x1:0x0;return _0x412a37+','+_0x32099c+','+_0x2c0805;});},connectCommandBuilder=function(_0x2bad41){const _0xec710f=a12_0x40a836,_0x33cc96={};_0x33cc96[_0xec710f(0x147)]='string';const _0x349402=_0x33cc96,_0x67caf3={};_0x67caf3[_0xec710f(0x12e)]=HELP_MESSAGES['options']['bstackAccessKey'],_0x67caf3['type']=_0x349402[_0xec710f(0x147)];const _0xbb631f={};_0xbb631f[_0xec710f(0x12e)]=HELP_MESSAGES[_0xec710f(0x15d)][_0xec710f(0x14c)],_0xbb631f[_0xec710f(0x14a)]=_0x349402[_0xec710f(0x147)],_0xbb631f[_0xec710f(0x13e)]=!![];const _0x2bd59b={};return _0x2bd59b[_0xec710f(0x160)]=_0x67caf3,_0x2bd59b[_0xec710f(0x14c)]=_0xbb631f,_0x2bad41[_0xec710f(0x15d)](_0x2bd59b);},connectCommandHandler=async function(_0x5ed11f){const _0x3808f0=a12_0x40a836,_0x3c8e9a={'SpZBG':_0x3808f0(0x13a),'rLChg':function(_0x584512,_0x12606b){return _0x584512===_0x12606b;},'ZYyIT':_0x3808f0(0x148),'QDtZw':_0x3808f0(0x13c),'PGblN':function(_0x33b83b,_0x59830b){return _0x33b83b===_0x59830b;},'XzYzQ':_0x3808f0(0x158),'Cnnsf':function(_0x3417bd,_0x18f92d){return _0x3417bd(_0x18f92d);},'bWHOY':'Hosts\x20not\x20valid','CZvfe':_0x3808f0(0x151),'YyBZS':_0x3808f0(0x159),'NNavX':'Failed\x20to\x20establish\x20connection.'};try{const _0x4bd993=new BrowserStackSetup(_0x5ed11f,_0x3c8e9a[_0x3808f0(0x129)]);_0x5ed11f['bstackAccesskey']&&(_0x4bd993['config'][_0x3808f0(0x15e)]=_0x5ed11f[_0x3808f0(0x146)]);if(_0x3c8e9a[_0x3808f0(0x124)](typeof _0x4bd993[_0x3808f0(0x143)]['accessKey'],_0x3c8e9a[_0x3808f0(0x155)])){logger[_0x3808f0(0x11f)](_0x3c8e9a['QDtZw']);throw new Error(ERROR_MESSAGES[_0x3808f0(0x121)][_0x3808f0(0x14e)]);}const _0x14a24f=_0x5ed11f[_0x3808f0(0x14c)];if(_0x3c8e9a[_0x3808f0(0x12f)](typeof _0x14a24f,_0x3c8e9a['ZYyIT'])){logger[_0x3808f0(0x11f)](_0x3c8e9a[_0x3808f0(0x14f)]);throw new Error(ERROR_MESSAGES[_0x3808f0(0x14c)][_0x3808f0(0x14e)]);}if(!_0x3c8e9a[_0x3808f0(0x149)](validHosts,_0x14a24f)){logger['error'](_0x3c8e9a[_0x3808f0(0x154)]);throw new Error(ERROR_MESSAGES[_0x3808f0(0x14c)][_0x3808f0(0x12c)]);}const _0x1e32ed=_0x3c8e9a['Cnnsf'](parseOnPremHosts,_0x14a24f);_0x4bd993[_0x3808f0(0x143)][_0x3808f0(0x162)]=!![],_0x4bd993[_0x3808f0(0x143)]['browserStackLocalOptions'][_0x3808f0(0x12b)]=_0x3c8e9a[_0x3808f0(0x15b)],_0x4bd993['config'][_0x3808f0(0x157)][_0x3808f0(0x145)]=_0x1e32ed[_0x3808f0(0x130)](','),helper[_0x3808f0(0x140)](_0x4bd993[_0x3808f0(0x143)]),await _0x4bd993[_0x3808f0(0x15a)](),logger[_0x3808f0(0x150)](_0x3c8e9a[_0x3808f0(0x11b)]);}catch(_0x29736c){logger[_0x3808f0(0x11f)](_0x3c8e9a[_0x3808f0(0x165)]);throw new Error(_0x29736c['toString']());}};function run(_0x17dfb6){const _0xc8e322=a12_0x40a836,_0x421089={};_0x421089[_0xc8e322(0x167)]=_0xc8e322(0x168),_0x421089['CyJAk']='help';const _0x3dce06=_0x421089;_0x17dfb6[_0xc8e322(0x13f)](HELP_MESSAGES[_0xc8e322(0x135)][_0xc8e322(0x138)])[_0xc8e322(0x135)](_0x3dce06['iSsMt'],HELP_MESSAGES[_0xc8e322(0x135)]['connect'],connectCommandBuilder,connectCommandHandler)[_0xc8e322(0x156)]()[_0xc8e322(0x122)](_0x3dce06[_0xc8e322(0x144)])[_0xc8e322(0x125)](HELP_MESSAGES[_0xc8e322(0x135)][_0xc8e322(0x164)]);}module[a12_0x40a836(0x126)]=run;
@@ -1 +1 @@
1
- var a13_0x27b645=a13_0x44ff;(function(_0x49f837,_0x2820fc){var _0x2618d4=a13_0x44ff,_0x3f5673=_0x49f837();while(!![]){try{var _0x50b13e=-parseInt(_0x2618d4(0x1be))/0x1+-parseInt(_0x2618d4(0x1b4))/0x2*(parseInt(_0x2618d4(0x1b7))/0x3)+parseInt(_0x2618d4(0x1b8))/0x4+parseInt(_0x2618d4(0x1b6))/0x5*(-parseInt(_0x2618d4(0x1b3))/0x6)+-parseInt(_0x2618d4(0x1ba))/0x7*(parseInt(_0x2618d4(0x1bf))/0x8)+-parseInt(_0x2618d4(0x1bb))/0x9+parseInt(_0x2618d4(0x1b2))/0xa;if(_0x50b13e===_0x2820fc)break;else _0x3f5673['push'](_0x3f5673['shift']());}catch(_0x12e794){_0x3f5673['push'](_0x3f5673['shift']());}}}(a13_0x5b24,0x33603));function a13_0x5b24(){var _0x278504=['options','35xfslIo','1655100Wsocmy','command','Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','2919QasMyx','622616GCtmke','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.','missing','ERROR_MESSAGES','Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.','invalid','Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.','footer','HELP_MESSAGES','root','bstackAccessKey','14157890qmTWxY','1771230RXBAMg','2AtzbDi','connect','5LZnIVk','1104783OKogaX','136264FGeLhM'];a13_0x5b24=function(){return _0x278504;};return a13_0x5b24();}var a13_0x2c0b70={};a13_0x2c0b70[a13_0x27b645(0x1b1)]=a13_0x27b645(0x1bd),a13_0x2c0b70['hosts']='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.';function a13_0x44ff(_0x8ea806,_0x546582){var _0x5b2405=a13_0x5b24();return a13_0x44ff=function(_0x44ff9a,_0x320ef2){_0x44ff9a=_0x44ff9a-0x1a9;var _0x10fc96=_0x5b2405[_0x44ff9a];return _0x10fc96;},a13_0x44ff(_0x8ea806,_0x546582);}var a13_0x5838c7={};a13_0x5838c7[a13_0x27b645(0x1b0)]=a13_0x27b645(0x1ab),a13_0x5838c7[a13_0x27b645(0x1b5)]=a13_0x27b645(0x1ad),a13_0x5838c7[a13_0x27b645(0x1ae)]=a13_0x27b645(0x1c0);var a13_0x4c9d77={};a13_0x4c9d77[a13_0x27b645(0x1b9)]=a13_0x2c0b70,a13_0x4c9d77[a13_0x27b645(0x1bc)]=a13_0x5838c7,exports[a13_0x27b645(0x1af)]=a13_0x4c9d77;var a13_0x26b55c={};a13_0x26b55c[a13_0x27b645(0x1a9)]=a13_0x27b645(0x1c1);var a13_0x1f6959={};a13_0x1f6959[a13_0x27b645(0x1a9)]='Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.',a13_0x1f6959[a13_0x27b645(0x1ac)]='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_0x4a17c9={};a13_0x4a17c9[a13_0x27b645(0x1b1)]=a13_0x26b55c,a13_0x4a17c9['hosts']=a13_0x1f6959,exports[a13_0x27b645(0x1aa)]=a13_0x4a17c9;
1
+ var a13_0x478443=a13_0x5e50;(function(_0x4515c1,_0x534fb4){var _0x439e31=a13_0x5e50,_0x2dc4fe=_0x4515c1();while(!![]){try{var _0x15e03a=parseInt(_0x439e31(0x13b))/0x1*(parseInt(_0x439e31(0x127))/0x2)+-parseInt(_0x439e31(0x129))/0x3+parseInt(_0x439e31(0x132))/0x4*(parseInt(_0x439e31(0x138))/0x5)+-parseInt(_0x439e31(0x12d))/0x6+parseInt(_0x439e31(0x131))/0x7*(parseInt(_0x439e31(0x13a))/0x8)+parseInt(_0x439e31(0x12a))/0x9+-parseInt(_0x439e31(0x13c))/0xa;if(_0x15e03a===_0x534fb4)break;else _0x2dc4fe['push'](_0x2dc4fe['shift']());}catch(_0x3f0a54){_0x2dc4fe['push'](_0x2dc4fe['shift']());}}}(a13_0x4fd2,0x88843));var a13_0x253d31={};function a13_0x4fd2(){var _0x587646=['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.','6iOwUwo','invalid','2181576BBbOln','9958842tmOEPs','Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.','hosts','4219242lWTNmd','root','command','Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.','291886FhiIZW','3884IMExxl','ERROR_MESSAGES','bstackAccessKey','Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','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.','BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','5395AyTjHQ','HELP_MESSAGES','168fxDwXh','22598qmshze','11081290ncgZRk','options','Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.'];a13_0x4fd2=function(){return _0x587646;};return a13_0x4fd2();}a13_0x253d31[a13_0x478443(0x134)]=a13_0x478443(0x13e),a13_0x253d31[a13_0x478443(0x12c)]=a13_0x478443(0x136);var a13_0xb54eca={};a13_0xb54eca[a13_0x478443(0x12e)]='Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.',a13_0xb54eca['connect']=a13_0x478443(0x130),a13_0xb54eca['footer']=a13_0x478443(0x12b);var a13_0x5284b0={};a13_0x5284b0[a13_0x478443(0x13d)]=a13_0x253d31,a13_0x5284b0[a13_0x478443(0x12f)]=a13_0xb54eca,exports[a13_0x478443(0x139)]=a13_0x5284b0;var a13_0x518375={};a13_0x518375['missing']=a13_0x478443(0x137);var a13_0x39c1df={};a13_0x39c1df['missing']=a13_0x478443(0x135),a13_0x39c1df[a13_0x478443(0x128)]=a13_0x478443(0x13f);function a13_0x5e50(_0x37de0b,_0x1e694b){var _0x4fd2dd=a13_0x4fd2();return a13_0x5e50=function(_0x5e5047,_0x1355cb){_0x5e5047=_0x5e5047-0x127;var _0xb7511b=_0x4fd2dd[_0x5e5047];return _0xb7511b;},a13_0x5e50(_0x37de0b,_0x1e694b);}var a13_0x4a06c5={};a13_0x4a06c5[a13_0x478443(0x134)]=a13_0x518375,a13_0x4a06c5['hosts']=a13_0x39c1df,exports[a13_0x478443(0x133)]=a13_0x4a06c5;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a14_0x453ba6=a14_0x5224;(function(_0x4eac1e,_0x15ded7){const _0x481656=a14_0x5224,_0x2443c3=_0x4eac1e();while(!![]){try{const _0x2723fe=-parseInt(_0x481656(0x24a))/0x1*(parseInt(_0x481656(0x263))/0x2)+parseInt(_0x481656(0x1d0))/0x3*(-parseInt(_0x481656(0x27a))/0x4)+parseInt(_0x481656(0x213))/0x5*(-parseInt(_0x481656(0x1ad))/0x6)+-parseInt(_0x481656(0x1ae))/0x7+-parseInt(_0x481656(0x236))/0x8*(parseInt(_0x481656(0x1e5))/0x9)+-parseInt(_0x481656(0x25a))/0xa+parseInt(_0x481656(0x291))/0xb*(parseInt(_0x481656(0x287))/0xc);if(_0x2723fe===_0x15ded7)break;else _0x2443c3['push'](_0x2443c3['shift']());}catch(_0x19a1d4){_0x2443c3['push'](_0x2443c3['shift']());}}}(a14_0x325d,0x760a0));function a14_0x325d(){const _0x1c996b=['retryTestsOnFailure','yiPBQ','KFpep','test.setup.js','failFast','jest-config','isRunning','__isPuppeteerInstalled','ecdbE','setupTCGAuth','SDK_CLEANUP','vUHtT','checkAccessibilityPlatformConfig','SDK_SETUP','resolveModule','maxFailures','Deleting\x20','xOEEI','[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20','info','config','ZdNZX','\x0amodule.exports\x20=\x20config;','[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20','child\x20process\x20exited\x20with\x20code\x20','default','BROWSERSTACK_TEST_OBSERVABILITY_YML','ypiTN','reporters','./test-observability/test-details','browserStackLogLevel','56bGQxpU','const\x20config=','abortBuildOnFailure','customCircus.js','[Jest\x20Command]\x20Accessibility\x20enabled:\x20','lsRQl','KugEf','customEnvironment.js','FRAMEWORKS','xXjyL','accessibility','\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','turboScaleUrl','ussYE','Preserving\x20user\x27s\x20Jest\x20runner:\x20','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','zhLmJ','jest','close','1NXtrOU','parallelsPerPlatform','retries__','QxSwg','data-hooks.js','jest_browserstack_results.json','BSTACK_JEST_TEST_ENV','--config','@jest/core','stringify','getTCGConfigFilePaths','logLevel','printBuildLink','wCuHt','Error\x20while\x20parsing\x20','setupFilesAfterEnv','7294020MJwxwK','platforms','prepareCapabilities','Wguph','existsSync','Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','USER_CONFIG_DETAILS_PATH','requireModule','aEQrN','1190660CQEdqY','shouldProcessEventForTesthub','workingDir','force','ZHimv','Reodered\x20Test\x20Files:\x20','zlqHL','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','../../helpers/testhub/utils','../../helpers/logger','getPackageVersion','readFileSync','setupFiles','Npeju','failureThresholdCount','BVeOl','../utils/clientTroubleshootingService','resolve','DzFqQ','\x0a\x20\x20\x20\x20\x20\x20','testContextOptions','McgkC','writeFileSync','4396DIvpSm','wFlYd','../../helpers/BrowserStackSetup','isUndefined','../../helpers/accessibility-automation/helper','json','skipSessionName','sNbmx','setup','true','tAmdN','KUWVv','\x20:\x20','12GbNJCI','../../helpers/testhub/testhubHandler','errorMessage','push','jest.setup.js','twtue','jest-runner-','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','puppeteer-core/package.json','findIndex','27712850iSyhQf','launchBuild','debug','enaEm',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','platform','filterBrowserstackArgs','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','Getting\x20your\x20jest\x20configs\x20from\x20package.json','rmdirSync','rXRMD','../../helpers/performance/constants','slice','customTestRunnerTemplate.js','OmPBB','tcMzy','splice','../utils/constants','testEnvironment','DkYJW','../../helpers/utilities','serial__','XqZre','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','isQzv','Found:\x20','gOMIA','getErrorMessageFromResults','isBrowserstackInfra','../../helpers/performance/performance-tester','shutdown','end','moduleNameMapper','runInBand','YrzAE','2268guPied','892094YwUcfb','EVENTS','Wjjtm','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','mjs','@jest/core/build/ReporterDispatcher.js','Creating\x20','BLSna','jest.config.','winstonLogger','JEST','duZuz','message','testRunner','getInstance','maxWorkers','inherit','Qanzr','path','../../helpers/playwright-helper','useW3C','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','hBvnK','getPackageType','gNcvN','npx','stop','testEnvironmentOptions','BROWSERSTACK_CAPABILITIES','isNotUndefined','requirePWModule','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','skipSessionStatus','proxySettings','21NWwGzW','jest-runner','exitCode','uGZch','env','reorderTestFiles','MODULE','PpzkY','jest-circus','/internal/$1','djJOv','jest-config/build/readConfigFileAndSetRootDir.js','Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','moYmK','../../helpers/test-observability/utils',';\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','testSequencer','length','wxYaE','testObservability','util','723555KceIKF','\x20test\x20files\x20to\x20run.',';\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','package.json','dirname','BSTACK_USER_JEST_RUNNER','Puppeteer\x20setup\x20error:\x20','runner','findTestFiles','[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20','Getting\x20your\x20jest\x20configs\x20from\x20','puppeteer','NPCVK','doiKn','customImplements','VpUtR','CfHeB','join','../../helpers/test-observability/constants','test-observability','assign','error','hhGeb','isTestOrchestrationEnabled','jest_browserstack.config.cjs','isEmpty','browserStackPercyOptions','unlinkSync','\x20with\x20browserstack\x20jest\x20configs','maxRetries','getHubUrl','win32','rmSync','exports','XHSkP','iPITM','cwd','jjVxx',',\x20CLI\x20running:\x20','requireSeleniumWebdriver','LQCJz','format','PACKAGE_TYPE','vVmaG','capabilities','recursive','175kYEmXo','./test-observability/helper','@playwright/test','false'];a14_0x325d=function(){return _0x1c996b;};return a14_0x325d();}function a14_0x5224(_0x58020f,_0x1d49b4){const _0x325d47=a14_0x325d();return a14_0x5224=function(_0x52245a,_0x54ea3a){_0x52245a=_0x52245a-0x1a0;let _0x3739c2=_0x325d47[_0x52245a];return _0x3739c2;},a14_0x5224(_0x58020f,_0x1d49b4);}const fs=require('fs'),path=require(a14_0x453ba6(0x1c0)),util=require(a14_0x453ba6(0x1e4)),{spawn}=require('child_process'),logger=require(a14_0x453ba6(0x26c))[a14_0x453ba6(0x1b7)],{default:BrowserStackSetup}=require(a14_0x453ba6(0x27c)),helper=require('../../helpers/helper'),utilities=require(a14_0x453ba6(0x2a5)),constants=require(a14_0x453ba6(0x2a2)),accessibilityHelper=require('../../helpers/accessibility-automation/helper'),{updateTestRerunConfig}=require(a14_0x453ba6(0x214)),testOpsHelper=require(a14_0x453ba6(0x1de)),{debug}=require(a14_0x453ba6(0x1de)),TestDetails=require(a14_0x453ba6(0x234)),{getPercyOptions}=require('../../helpers/percy/utils'),TestHubHandler=require(a14_0x453ba6(0x288)),testhubUtils=require(a14_0x453ba6(0x26b)),{FRAMEWORKS}=require(a14_0x453ba6(0x1f7)),PerformanceTester=require(a14_0x453ba6(0x1a7)),PerformanceEvents=require(a14_0x453ba6(0x29c))[a14_0x453ba6(0x1af)],TestOrchestrationHandler=require('../../helpers/test-orchestration/testOrchestrationHandler'),BrowserstackCLI=require('../v2/browserstackCLI'),{checkPwandBootstrapCli}=require(a14_0x453ba6(0x1c1)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require('../../helpers/puppeteer-helper'),ClientTroubleShootingService=require(a14_0x453ba6(0x273)),{checkAccessibilityPlatformConfig}=require(a14_0x453ba6(0x27e)),getUserJestConfigs=async(_0x16c32b,_0x4e0a5b)=>{const _0x5b8cf3=a14_0x453ba6,_0x23b6bf={'YrzAE':_0x5b8cf3(0x1db),'zlqHL':_0x5b8cf3(0x21c),'zhLmJ':function(_0x20500a,_0x3f2dfc){return _0x20500a||_0x3f2dfc;},'ecdbE':function(_0x5f2306,_0x63573f){return _0x5f2306(_0x63573f);},'wxYaE':_0x5b8cf3(0x1e8),'KFpep':_0x5b8cf3(0x299),'NPCVK':_0x5b8cf3(0x1b2),'tAmdN':'cjs','hBvnK':_0x5b8cf3(0x27f)};let _0x26e568;try{_0x26e568=helper[_0x5b8cf3(0x261)](_0x23b6bf[_0x5b8cf3(0x1ac)],_0x23b6bf[_0x5b8cf3(0x269)]);}catch{const _0x44240c=helper['requireModule'](_0x23b6bf[_0x5b8cf3(0x269)]);_0x26e568={'default':async _0x902240=>{const _0x3448b4=await _0x44240c['readInitialOptions'](_0x902240,{});return _0x3448b4['config'];}};}const _0x19b6e6=_0x4e0a5b[_0x5b8cf3(0x290)](_0xfd5b01=>_0xfd5b01==='--config');if(!helper[_0x5b8cf3(0x27d)](_0x16c32b[_0x5b8cf3(0x22b)])){logger[_0x5b8cf3(0x22a)](_0x5b8cf3(0x1ef)+_0x16c32b[_0x5b8cf3(0x22b)]),process[_0x5b8cf3(0x1d4)][_0x5b8cf3(0x260)]=_0x16c32b['config'];const _0x280174=await(0x0,_0x26e568[_0x5b8cf3(0x230)])(path[_0x5b8cf3(0x274)](_0x16c32b[_0x5b8cf3(0x22b)]));return _0x4e0a5b[_0x5b8cf3(0x2a1)](_0x19b6e6,0x2),_0x23b6bf[_0x5b8cf3(0x247)](_0x280174,{});}const _0x3460be=_0x23b6bf[_0x5b8cf3(0x21f)](require,path[_0x5b8cf3(0x1f6)](process[_0x5b8cf3(0x209)](),_0x23b6bf[_0x5b8cf3(0x1e2)]));if(_0x3460be[_0x5b8cf3(0x248)])return logger['info'](_0x23b6bf[_0x5b8cf3(0x219)]),_0x3460be['jest'];const _0x4953ca=['js',_0x23b6bf[_0x5b8cf3(0x1f1)],_0x23b6bf[_0x5b8cf3(0x284)],_0x23b6bf[_0x5b8cf3(0x1c4)],'ts'];for(const _0x1317c9 of _0x4953ca){const _0x20e340=path[_0x5b8cf3(0x1f6)](process[_0x5b8cf3(0x209)](),_0x5b8cf3(0x1b6)+_0x1317c9);if(fs['existsSync'](_0x20e340)){process[_0x5b8cf3(0x1d4)]['USER_CONFIG_DETAILS_PATH']=_0x20e340;const _0x54c6d7=await(0x0,_0x26e568[_0x5b8cf3(0x230)])(_0x20e340);return _0x54c6d7;}}return{};},getSerial=(_0x20e4b4,_0x279060)=>{const _0x12d470=a14_0x453ba6,_0x4a3b2d={};_0x4a3b2d[_0x12d470(0x285)]=_0x12d470(0x283),_0x4a3b2d[_0x12d470(0x20a)]=function(_0x52fb1c,_0x325a09){return _0x52fb1c>_0x325a09;},_0x4a3b2d['sNbmx']=function(_0x103565,_0xaf5976){return _0x103565>_0xaf5976;},_0x4a3b2d[_0x12d470(0x262)]=_0x12d470(0x216);const _0x4a1610=_0x4a3b2d;let _0x47e1ab=_0x4a1610['KUWVv'];return _0x4a1610[_0x12d470(0x20a)](_0x20e4b4[_0x12d470(0x1e1)],0x1)&&(!_0x279060[_0x12d470(0x1ab)]&&(helper[_0x12d470(0x27d)](_0x279060['maxWorkers'])||_0x4a1610[_0x12d470(0x281)](_0x279060[_0x12d470(0x1bd)],0x1)))&&(_0x47e1ab=_0x4a1610[_0x12d470(0x262)]),_0x47e1ab;},getMaxWorkers=(_0x26dd30,_0x5e33ce,_0x3690f9)=>{const _0x5155b6=a14_0x453ba6,_0x38ec00={'xXjyL':function(_0x430edc,_0x3c94af){return _0x430edc(_0x3c94af);}};let _0x4a88da=0x1;if(!helper[_0x5155b6(0x27d)](_0x5e33ce[_0x5155b6(0x24b)]))_0x4a88da=_0x38ec00[_0x5155b6(0x23f)](parseInt,_0x5e33ce[_0x5155b6(0x24b)]);else{if(!helper[_0x5155b6(0x27d)](_0x26dd30[_0x5155b6(0x1bd)]))_0x4a88da=_0x26dd30[_0x5155b6(0x1bd)];else!helper[_0x5155b6(0x27d)](_0x3690f9[_0x5155b6(0x1bd)])&&(_0x4a88da=_0x3690f9[_0x5155b6(0x1bd)]);}return _0x4a88da;};async function run(_0x10b701,_0x351d40,_0x591e30){const _0x190eb4=a14_0x453ba6,_0x163f00={'BLSna':'error\x20removing\x20tcg\x20config\x20file','duZuz':_0x190eb4(0x248),'Wguph':function(_0x196442,_0x19bd30){return _0x196442(_0x19bd30);},'LQCJz':_0x190eb4(0x215),'Wjjtm':function(_0x15e54b){return _0x15e54b();},'isQzv':function(_0x41fe00,_0x1bc181,_0x21f6a2,_0x2c8871){return _0x41fe00(_0x1bc181,_0x21f6a2,_0x2c8871);},'WvkOD':function(_0x2ba7a7,_0x48f33a){return _0x2ba7a7!=_0x48f33a;},'gNcvN':'true','KugEf':function(_0x1f4770,_0x51910f,_0x51e2f1){return _0x1f4770(_0x51910f,_0x51e2f1);},'PpzkY':_0x190eb4(0x26a),'CfHeB':function(_0x4f9747,_0x1c96ea){return _0x4f9747(_0x1c96ea);},'XqZre':function(_0x519e70,_0x113571){return _0x519e70(_0x113571);},'XHSkP':'false','BiInK':function(_0x34bb9c,_0x568ceb){return _0x34bb9c*_0x568ceb;},'UZGTt':function(_0x353c90,_0x132722){return _0x353c90===_0x132722;},'OmPBB':_0x190eb4(0x1fd),'GDBrs':'jest_browserstack.config.js','ZdNZX':_0x190eb4(0x1f3),'Fedht':_0x190eb4(0x24f),'Npeju':'customTestRunner.js','iPITM':_0x190eb4(0x29e),'vZoEM':_0x190eb4(0x23d),'VpUtR':function(_0xc03d25,_0x3dd956){return _0xc03d25!==_0x3dd956;},'qdGKS':_0x190eb4(0x1d1),'QxSwg':_0x190eb4(0x28d),'hhGeb':_0x190eb4(0x28b),'DzFqQ':'customSequencer.js','ussYE':'jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','rXRMD':_0x190eb4(0x1d8),'enaEm':'jest-circus/build/runner.js','vVmaG':function(_0x5b35a3,_0xfb7c44){return _0x5b35a3(_0xfb7c44);},'xOEEI':_0x190eb4(0x1f8),'nhkVs':_0x190eb4(0x24e),'McgkC':_0x190eb4(0x239),'obFGv':'test_before.setup.js','wFlYd':'skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','ypiTN':'playwright','pzElq':_0x190eb4(0x1dc),'BVeOl':_0x190eb4(0x21a),'doiKn':_0x190eb4(0x245),'wCuHt':function(_0x18d9b9,_0x4b388a){return _0x18d9b9&&_0x4b388a;},'EZgOu':_0x190eb4(0x25f),'Qanzr':_0x190eb4(0x1f0),'lsRQl':_0x190eb4(0x28f),'tcMzy':_0x190eb4(0x230),'djJOv':_0x190eb4(0x1b3),'ZHimv':_0x190eb4(0x252),'vUHtT':_0x190eb4(0x1cd),'DkYJW':function(_0x424cff,_0x2ec769){return _0x424cff>_0x2ec769;},'uGZch':_0x190eb4(0x1b1),'yiPBQ':_0x190eb4(0x251),'gOMIA':function(_0x44446b,_0x5dcdef,_0x2e0432,_0x73995e){return _0x44446b(_0x5dcdef,_0x2e0432,_0x73995e);},'psXuG':_0x190eb4(0x1c7),'oSude':_0x190eb4(0x204),'twtue':_0x190eb4(0x1be),'moYmK':_0x190eb4(0x249)},_0x3aa896=helper[_0x190eb4(0x26d)](_0x163f00[_0x190eb4(0x20d)]);global['__isPlaywrightInstalled']=!!_0x3aa896;const _0x598a64=_0x163f00[_0x190eb4(0x1b0)](getPuppeteerVersion);global[_0x190eb4(0x21e)]=!!_0x598a64;helper[_0x190eb4(0x1a6)]()?(await _0x591e30['initialize'](_0x10b701),await helper['handleApp'](_0x591e30['config'])):await _0x591e30[_0x190eb4(0x220)]();if(_0x3aa896)await _0x163f00[_0x190eb4(0x1a2)](checkPwandBootstrapCli,_0x3aa896,constants[_0x190eb4(0x23e)][_0x190eb4(0x1b8)],_0x591e30);else _0x598a64&&await _0x163f00[_0x190eb4(0x1a2)](checkPuppeteerAndBootstrapCli,_0x598a64,constants[_0x190eb4(0x23e)][_0x190eb4(0x1b8)],_0x591e30);if(!_0x591e30[_0x190eb4(0x22b)])return;_0x163f00['WvkOD'](_0x591e30['config'][_0x190eb4(0x1e3)],null)?process[_0x190eb4(0x1d4)][_0x190eb4(0x231)]=_0x591e30[_0x190eb4(0x22b)][_0x190eb4(0x1e3)]:process[_0x190eb4(0x1d4)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x163f00[_0x190eb4(0x1c6)];const _0x397edf=new TestOrchestrationHandler(_0x591e30[_0x190eb4(0x22b)]),_0x2d5859=await _0x163f00[_0x190eb4(0x23c)](getUserJestConfigs,_0x10b701,_0x351d40);logger[_0x190eb4(0x22a)](_0x163f00[_0x190eb4(0x1d7)]);const _0x22ef89=Object[_0x190eb4(0x1f9)]({},_0x2d5859);_0x22ef89[_0x190eb4(0x1c9)]=Object[_0x190eb4(0x1f9)]({},_0x22ef89[_0x190eb4(0x1c9)],{'server':helper[_0x190eb4(0x203)](_0x591e30[_0x190eb4(0x22b)]),'environment':_0x2d5859[_0x190eb4(0x2a3)]}),_0x22ef89['testEnvironmentOptions'][_0x190eb4(0x1ff)]=_0x163f00[_0x190eb4(0x1f5)](getPercyOptions,_0x591e30[_0x190eb4(0x22b)]);const _0x1d6a0a=helper[_0x190eb4(0x1c2)](_0x591e30['config']);!helper[_0x190eb4(0x27d)](_0x591e30[_0x190eb4(0x22b)]['accessibilityOptions'])&&(process[_0x190eb4(0x1d4)][_0x190eb4(0x246)]=JSON[_0x190eb4(0x253)](_0x591e30[_0x190eb4(0x22b)]['accessibilityOptions']));if(!BrowserstackCLI['getInstance']()[_0x190eb4(0x21d)]()){const _0x4a897a=await TestHubHandler[_0x190eb4(0x292)](FRAMEWORKS[_0x190eb4(0x1b8)],_0x591e30);}const _0x199206=helper[_0x190eb4(0x25c)](_0x591e30['config'],_0x1d6a0a,constants[_0x190eb4(0x23e)]['JEST']);process[_0x190eb4(0x1d4)][_0x190eb4(0x1ca)]=JSON['stringify'](_0x199206);let _0x8aeafc=_0x591e30[_0x190eb4(0x22b)][_0x190eb4(0x240)];_0x8aeafc=_0x8aeafc||accessibilityHelper[_0x190eb4(0x223)](_0x591e30['config']),process[_0x190eb4(0x1d4)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x8aeafc,logger[_0x190eb4(0x293)](_0x190eb4(0x23a)+_0x8aeafc+_0x190eb4(0x20b)+BrowserstackCLI['getInstance']()[_0x190eb4(0x21d)]());if(_0x3aa896)try{const _0x537a3b=_0x163f00[_0x190eb4(0x1a0)](checkAccessibilityPlatformConfig,_0x591e30[_0x190eb4(0x22b)]);process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x537a3b?_0x163f00[_0x190eb4(0x1c6)]:_0x163f00[_0x190eb4(0x207)],logger[_0x190eb4(0x293)](_0x190eb4(0x1ee)+_0x537a3b+_0x190eb4(0x295)+process[_0x190eb4(0x1d4)][_0x190eb4(0x28e)]);}catch(_0x4d7f60){logger[_0x190eb4(0x293)](_0x190eb4(0x1c3)+util[_0x190eb4(0x20e)](_0x4d7f60));}_0x22ef89['testEnvironmentOptions'][_0x190eb4(0x211)]=_0x199206,_0x22ef89['testEnvironmentOptions'][_0x190eb4(0x2a6)]=_0x163f00[_0x190eb4(0x23c)](getSerial,_0x199206,_0x10b701),_0x22ef89[_0x190eb4(0x1c9)]['parallels__']=_0x163f00[_0x190eb4(0x1a2)](getMaxWorkers,_0x10b701,_0x591e30[_0x190eb4(0x22b)],_0x2d5859),_0x22ef89[_0x190eb4(0x1c9)][_0x190eb4(0x1cf)]=_0x591e30[_0x190eb4(0x22b)]['proxySettings'],_0x22ef89[_0x190eb4(0x1c9)]['timeout__']=_0x163f00['BiInK'](_0x10b701['testTimeout'],0x1)||0x1388,_0x22ef89[_0x190eb4(0x1c9)][_0x190eb4(0x280)]=_0x591e30['config'][_0x190eb4(0x277)]['skipSessionName'],_0x22ef89[_0x190eb4(0x1c9)][_0x190eb4(0x1ce)]=_0x591e30[_0x190eb4(0x22b)][_0x190eb4(0x277)][_0x190eb4(0x1ce)],_0x22ef89['testEnvironmentOptions'][_0x190eb4(0x235)]=_0x591e30[_0x190eb4(0x22b)][_0x190eb4(0x255)],_0x22ef89[_0x190eb4(0x1c9)][_0x190eb4(0x242)]=_0x591e30[_0x190eb4(0x22b)]['turboScaleUrl'],_0x22ef89[_0x190eb4(0x1c9)]['platformCaps']=_0x591e30['config']['platforms'];const _0xa68510=helper['parseTestOrchestrationOptions'](_0x591e30[_0x190eb4(0x22b)]);if(!helper[_0x190eb4(0x1fe)](_0xa68510)){helper[_0x190eb4(0x1cb)](_0xa68510[_0x190eb4(0x217)])&&(_0x22ef89[_0x190eb4(0x1c9)][_0x190eb4(0x24c)]=_0xa68510[_0x190eb4(0x217)][_0x190eb4(0x202)]);if(helper[_0x190eb4(0x1cb)](_0xa68510[_0x190eb4(0x238)])&&helper[_0x190eb4(0x1cb)](_0xa68510[_0x190eb4(0x238)][_0x190eb4(0x265)])){const _0x1038cd={};_0x1038cd[_0x190eb4(0x271)]=_0xa68510['abortBuildOnFailure'][_0x190eb4(0x226)],_0x1038cd[_0x190eb4(0x265)]=_0xa68510[_0x190eb4(0x238)][_0x190eb4(0x265)],_0x22ef89[_0x190eb4(0x1c9)][_0x190eb4(0x21b)]=_0x1038cd;}}let _0x1ab728='';_0x163f00['UZGTt'](helper[_0x190eb4(0x1c5)](),constants[_0x190eb4(0x20f)][_0x190eb4(0x1d6)])?_0x1ab728=_0x163f00[_0x190eb4(0x29f)]:_0x1ab728=_0x163f00['GDBrs'];const _0x2dc66e=_0x1ab728,_0x4a9a6d=path[_0x190eb4(0x1f6)](__dirname,_0x163f00['ZdNZX'],_0x163f00['Fedht']),_0x298fe9=path[_0x190eb4(0x1f6)](__dirname,_0x163f00[_0x190eb4(0x22c)],_0x163f00[_0x190eb4(0x270)]),_0x493a45=path[_0x190eb4(0x1f6)](__dirname,_0x163f00[_0x190eb4(0x22c)],_0x163f00[_0x190eb4(0x208)]);_0x22ef89['testEnvironment']&&(process['env'][_0x190eb4(0x250)]=_0x22ef89[_0x190eb4(0x2a3)]);_0x22ef89[_0x190eb4(0x2a3)]=path[_0x190eb4(0x1f6)](__dirname,_0x163f00['ZdNZX'],_0x163f00['vZoEM']);const _0x4d7e99=_0x2d5859[_0x190eb4(0x1ec)];if(_0x4d7e99&&_0x163f00[_0x190eb4(0x1f4)](_0x4d7e99,_0x163f00['qdGKS'])){const _0x175f23=_0x4d7e99['startsWith'](_0x163f00[_0x190eb4(0x24d)])?_0x4d7e99:'jest-runner-'+_0x4d7e99;process[_0x190eb4(0x1d4)][_0x190eb4(0x1ea)]=_0x175f23,logger['info'](_0x190eb4(0x244)+_0x175f23);}_0x22ef89[_0x190eb4(0x1ec)]=_0x298fe9,_0x22ef89[_0x190eb4(0x259)]=_0x22ef89[_0x190eb4(0x259)]||[],_0x22ef89[_0x190eb4(0x259)]['push'](path['join'](__dirname,_0x163f00[_0x190eb4(0x1fb)]));_0x397edf[_0x190eb4(0x1fc)]()&&(_0x22ef89[_0x190eb4(0x1e0)]=path[_0x190eb4(0x1f6)](__dirname,_0x163f00[_0x190eb4(0x22c)],_0x163f00[_0x190eb4(0x275)]));if(testhubUtils[_0x190eb4(0x264)]()||BrowserstackCLI[_0x190eb4(0x1bc)]()['isCliEnabled']()){let _0x21016e=null;try{_0x21016e=helper[_0x190eb4(0x261)](_0x163f00[_0x190eb4(0x243)],_0x163f00[_0x190eb4(0x29b)]);}catch(_0xf183dc){try{_0x21016e=helper[_0x190eb4(0x261)](_0x163f00[_0x190eb4(0x294)],_0x163f00[_0x190eb4(0x29b)]);}catch(_0x2c897a){_0x163f00[_0x190eb4(0x210)](debug,'Unable\x20to\x20find\x20jest-circus,\x20'+_0x2c897a);}}_0x21016e&&(testhubUtils[_0x190eb4(0x264)]()&&_0x22ef89[_0x190eb4(0x259)][_0x190eb4(0x28a)](path[_0x190eb4(0x1f6)](__dirname,_0x163f00[_0x190eb4(0x228)],_0x163f00['nhkVs'])),_0x22ef89[_0x190eb4(0x1bb)]=path[_0x190eb4(0x1f6)](__dirname,_0x163f00[_0x190eb4(0x22c)],_0x163f00[_0x190eb4(0x278)]));}_0x22ef89[_0x190eb4(0x26f)]=_0x22ef89[_0x190eb4(0x26f)]||[];try{helper[_0x190eb4(0x20c)](),_0x22ef89[_0x190eb4(0x26f)]['push'](path[_0x190eb4(0x1f6)](__dirname,_0x163f00['obFGv']));}catch{logger['debug'](_0x163f00[_0x190eb4(0x27b)]);}try{helper[_0x190eb4(0x1cc)]['apply'](null,[_0x163f00[_0x190eb4(0x20d)],_0x163f00[_0x190eb4(0x232)]]),logger['debug'](_0x163f00['pzElq']),_0x22ef89[_0x190eb4(0x26f)]['push'](path['join'](__dirname,_0x163f00['BVeOl']));}catch(_0x27677a){logger[_0x190eb4(0x293)](_0x163f00[_0x190eb4(0x1f2)],_0x27677a);}if(_0x163f00[_0x190eb4(0x257)](!_0x3aa896,_0x598a64)){try{logger['debug'](_0x163f00['EZgOu']),_0x22ef89[_0x190eb4(0x26f)]['push'](path[_0x190eb4(0x1f6)](__dirname,'..',_0x163f00[_0x190eb4(0x1bf)],_0x163f00[_0x190eb4(0x272)]));}catch(_0x7b4c2d){logger[_0x190eb4(0x293)](_0x190eb4(0x1eb)+_0x7b4c2d[_0x190eb4(0x1ba)]);}try{const _0x51da44=require[_0x190eb4(0x274)](_0x163f00[_0x190eb4(0x23b)]),_0x17a9b7=path[_0x190eb4(0x1e9)](_0x51da44)['replace'](/\\/g,'/'),_0x69de47={};_0x69de47['^puppeteer-core/internal/(.*)']=_0x17a9b7+_0x190eb4(0x1d9),_0x22ef89['moduleNameMapper']=Object['assign']({},_0x22ef89[_0x190eb4(0x1aa)]||{},_0x69de47),logger['debug'](_0x190eb4(0x229)+_0x17a9b7);}catch(_0x171ac5){logger[_0x190eb4(0x293)](_0x190eb4(0x22e)+_0x171ac5['message']);}}_0x22ef89['reporters']=_0x22ef89[_0x190eb4(0x233)]||[_0x163f00[_0x190eb4(0x2a0)]],_0x163f00[_0x190eb4(0x23c)](updateTestRerunConfig,_0x22ef89,_0x591e30);const _0x17755d=fs[_0x190eb4(0x26e)](_0x493a45),_0x94c62b=helper[_0x190eb4(0x225)](_0x163f00[_0x190eb4(0x1da)],_0x163f00[_0x190eb4(0x267)]);!_0x94c62b[_0x190eb4(0x1fa)]?fs[_0x190eb4(0x279)](_0x22ef89[_0x190eb4(0x1ec)],'\x0a\x20\x20\x20\x20\x20\x20'+_0x17755d+'\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'+_0x591e30['config'][_0x190eb4(0x25b)][_0x190eb4(0x1e1)]+_0x190eb4(0x1df)):fs['writeFileSync'](_0x22ef89[_0x190eb4(0x1ec)],_0x190eb4(0x276)+_0x17755d+_0x190eb4(0x241)+_0x591e30[_0x190eb4(0x22b)][_0x190eb4(0x25b)][_0x190eb4(0x1e1)]+_0x190eb4(0x1e7));logger['info'](_0x190eb4(0x1b4)+_0x2dc66e+_0x190eb4(0x201)),fs[_0x190eb4(0x279)](_0x2dc66e,_0x190eb4(0x237)+JSON[_0x190eb4(0x253)](_0x22ef89)+_0x190eb4(0x22d));if(_0x397edf[_0x190eb4(0x1fc)]()){logger['debug'](_0x163f00[_0x190eb4(0x222)]);const _0x198398=await _0x397edf[_0x190eb4(0x1ed)](_0x22ef89,_0x351d40[_0x190eb4(0x29d)](0x1),_0x2dc66e);logger[_0x190eb4(0x293)](_0x190eb4(0x1a3)+JSON[_0x190eb4(0x253)](_0x198398)+_0x190eb4(0x1e6));const _0x4df733=await _0x397edf[_0x190eb4(0x1d5)](_0x198398);logger[_0x190eb4(0x293)](_0x190eb4(0x268)+JSON[_0x190eb4(0x253)](_0x4df733)),_0x4df733&&_0x163f00[_0x190eb4(0x2a4)](_0x4df733['length'],0x0)&&(process['env']['JEST_TEST_ORDER']=_0x4df733?.['join'](','));}logger[_0x190eb4(0x22a)](_0x163f00[_0x190eb4(0x1d3)]);testhubUtils['shouldProcessEventForTesthub']()&&TestDetails[_0x190eb4(0x282)]();helper[_0x190eb4(0x297)]({},_0x351d40),PerformanceTester[_0x190eb4(0x1a9)](PerformanceEvents[_0x190eb4(0x224)]);const _0x33e07f=[_0x163f00['duZuz'],_0x163f00[_0x190eb4(0x218)],_0x2dc66e,..._0x351d40[_0x190eb4(0x29d)](0x1)],_0x4e46db=_0x163f00[_0x190eb4(0x1a4)](spawn,_0x163f00['psXuG'],_0x33e07f,{'shell':_0x163f00['UZGTt'](process[_0x190eb4(0x296)],_0x163f00['oSude']),'stdio':_0x163f00[_0x190eb4(0x28c)],'env':Object[_0x190eb4(0x1f9)]({},process[_0x190eb4(0x1d4)])});_0x4e46db['on'](_0x163f00[_0x190eb4(0x1dd)],async _0x114429=>{const _0x31cc0c=_0x190eb4;PerformanceTester['start'](PerformanceEvents[_0x31cc0c(0x221)]);try{const {browserstackFolderPath:_0x5ab7aa,tcgConfigPath:_0x1aa6fd}=helper[_0x31cc0c(0x254)]();fs[_0x31cc0c(0x200)](_0x1aa6fd),fs[_0x31cc0c(0x29a)](_0x5ab7aa);}catch(_0x325492){logger[_0x31cc0c(0x293)](_0x163f00[_0x31cc0c(0x1b5)],_0x325492);}process[_0x31cc0c(0x1d2)]=_0x114429,logger[_0x31cc0c(0x293)](_0x31cc0c(0x22f)+_0x114429),logger[_0x31cc0c(0x22a)](_0x31cc0c(0x227)+_0x2dc66e);if(helper['isNotUndefined'](_0xa68510)&&helper[_0x31cc0c(0x1cb)](_0xa68510[_0x31cc0c(0x238)])&&fs['existsSync'](_0xa68510[_0x31cc0c(0x238)]['workingDir']))try{const _0x46db61={};_0x46db61[_0x31cc0c(0x212)]=!![],_0x46db61[_0x31cc0c(0x266)]=!![],fs[_0x31cc0c(0x205)](_0xa68510[_0x31cc0c(0x238)][_0x31cc0c(0x265)],_0x46db61),logger['debug']('Deleted\x20fail-fast\x20state\x20folder:\x20'+_0xa68510[_0x31cc0c(0x238)][_0x31cc0c(0x265)]);}catch(_0x2f9312){logger[_0x31cc0c(0x1fa)](_0x31cc0c(0x298)+_0x2f9312);}let _0x52beaf=null;if(fs[_0x31cc0c(0x25e)](_0x4a9a6d)){_0x52beaf=fs[_0x31cc0c(0x26e)](_0x4a9a6d);try{_0x52beaf=JSON['parse'](_0x52beaf);}catch(_0x13f99a){logger[_0x31cc0c(0x293)](_0x31cc0c(0x258)+_0x4a9a6d+',\x20'+_0x52beaf+_0x31cc0c(0x286)+_0x13f99a);}fs[_0x31cc0c(0x200)](_0x4a9a6d);}fs['unlinkSync'](_0x2dc66e),fs[_0x31cc0c(0x200)](_0x298fe9),_0x52beaf&&(_0x591e30[_0x31cc0c(0x289)]=helper[_0x31cc0c(0x1a5)](_0x52beaf,_0x163f00[_0x31cc0c(0x1b9)],_0x591e30));const _0x436a2c=BrowserstackCLI['isCLIEnabled']();try{await TestHubHandler[_0x31cc0c(0x1c8)](),await BrowserstackCLI[_0x31cc0c(0x1bc)]()[_0x31cc0c(0x1c8)]();}catch(_0x212427){console['log'](_0x212427),_0x163f00[_0x31cc0c(0x25d)](debug,_0x31cc0c(0x1a1)+util['format'](_0x212427));}testOpsHelper[_0x31cc0c(0x256)](),TestDetails[_0x31cc0c(0x1a8)](),await utilities['finalExecution'](_0x591e30,_0x436a2c);});}module[a14_0x453ba6(0x206)]=run;
2
+ 'use strict';const a14_0x15b35d=a14_0x4932;function a14_0x4932(_0x214420,_0x49d701){const _0x37c642=a14_0x37c6();return a14_0x4932=function(_0x49321b,_0x5b428c){_0x49321b=_0x49321b-0x1b8;let _0xec4b5f=_0x37c642[_0x49321b];return _0xec4b5f;},a14_0x4932(_0x214420,_0x49d701);}(function(_0xa36d0a,_0x5f102f){const _0x53947d=a14_0x4932,_0x5a5164=_0xa36d0a();while(!![]){try{const _0x3ed46e=-parseInt(_0x53947d(0x29b))/0x1+-parseInt(_0x53947d(0x264))/0x2*(-parseInt(_0x53947d(0x20c))/0x3)+-parseInt(_0x53947d(0x2ab))/0x4+parseInt(_0x53947d(0x2a6))/0x5+-parseInt(_0x53947d(0x291))/0x6+-parseInt(_0x53947d(0x234))/0x7*(parseInt(_0x53947d(0x22a))/0x8)+parseInt(_0x53947d(0x24f))/0x9;if(_0x3ed46e===_0x5f102f)break;else _0x5a5164['push'](_0x5a5164['shift']());}catch(_0x5291d6){_0x5a5164['push'](_0x5a5164['shift']());}}}(a14_0x37c6,0xb6045));const fs=require('fs'),path=require(a14_0x15b35d(0x1cf)),util=require(a14_0x15b35d(0x1d2)),{spawn}=require(a14_0x15b35d(0x1f6)),logger=require('../../helpers/logger')[a14_0x15b35d(0x27f)],{default:BrowserStackSetup}=require(a14_0x15b35d(0x248)),helper=require(a14_0x15b35d(0x299)),utilities=require(a14_0x15b35d(0x222)),constants=require(a14_0x15b35d(0x1d8)),accessibilityHelper=require(a14_0x15b35d(0x229)),{updateTestRerunConfig}=require('./test-observability/helper'),testOpsHelper=require(a14_0x15b35d(0x1e7)),{debug}=require(a14_0x15b35d(0x1e7)),TestDetails=require(a14_0x15b35d(0x28a)),{getPercyOptions}=require(a14_0x15b35d(0x1d4)),TestHubHandler=require(a14_0x15b35d(0x20b)),testhubUtils=require(a14_0x15b35d(0x22e)),{FRAMEWORKS}=require(a14_0x15b35d(0x21f)),PerformanceTester=require(a14_0x15b35d(0x1c5)),PerformanceEvents=require(a14_0x15b35d(0x284))[a14_0x15b35d(0x1fa)],TestOrchestrationHandler=require(a14_0x15b35d(0x1de)),BrowserstackCLI=require(a14_0x15b35d(0x209)),{checkPwandBootstrapCli}=require(a14_0x15b35d(0x23c)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require('../../helpers/puppeteer-helper'),ClientTroubleShootingService=require(a14_0x15b35d(0x27c)),{checkAccessibilityPlatformConfig}=require(a14_0x15b35d(0x229)),getUserJestConfigs=async(_0x2c8cf9,_0x1e6e90)=>{const _0x27ef08=a14_0x15b35d,_0x31184a={'nNVaf':'jest-config/build/readConfigFileAndSetRootDir.js','IPROJ':_0x27ef08(0x217),'dFxaK':function(_0x31add,_0x533521){return _0x31add||_0x533521;},'JFxxU':function(_0x4ae194,_0x394ace){return _0x4ae194(_0x394ace);},'xCQwf':_0x27ef08(0x258),'FZwEe':_0x27ef08(0x279),'nBFZM':_0x27ef08(0x1b9),'yNIBz':_0x27ef08(0x281),'NDEWj':_0x27ef08(0x277)};let _0x52d3f1;try{_0x52d3f1=helper['requireModule'](_0x31184a[_0x27ef08(0x249)],_0x31184a[_0x27ef08(0x24b)]);}catch{const _0x46502c=helper['requireModule'](_0x31184a[_0x27ef08(0x24b)]);_0x52d3f1={'default':async _0x2981b9=>{const _0x59c97b=_0x27ef08,_0x5f332d=await _0x46502c[_0x59c97b(0x201)](_0x2981b9,{});return _0x5f332d[_0x59c97b(0x21a)];}};}const _0x1ca4c9=_0x1e6e90[_0x27ef08(0x1f7)](_0x263c00=>_0x263c00==='--config');if(!helper[_0x27ef08(0x21b)](_0x2c8cf9['config'])){logger[_0x27ef08(0x220)](_0x27ef08(0x1c1)+_0x2c8cf9[_0x27ef08(0x21a)]),process['env'][_0x27ef08(0x239)]=_0x2c8cf9['config'];const _0x447c58=await(0x0,_0x52d3f1[_0x27ef08(0x1f5)])(path['resolve'](_0x2c8cf9[_0x27ef08(0x21a)]));return _0x1e6e90['splice'](_0x1ca4c9,0x2),_0x31184a['dFxaK'](_0x447c58,{});}const _0xa52422=_0x31184a[_0x27ef08(0x25d)](require,path['join'](process[_0x27ef08(0x214)](),_0x31184a[_0x27ef08(0x1d9)]));if(_0xa52422[_0x27ef08(0x1c7)])return logger[_0x27ef08(0x220)](_0x31184a['FZwEe']),_0xa52422[_0x27ef08(0x1c7)];const _0xc62bc8=['js',_0x31184a[_0x27ef08(0x25e)],_0x31184a[_0x27ef08(0x230)],_0x31184a[_0x27ef08(0x23f)],'ts'];for(const _0x552429 of _0xc62bc8){const _0x4c2ea0=path[_0x27ef08(0x241)](process['cwd'](),_0x27ef08(0x22c)+_0x552429);if(fs['existsSync'](_0x4c2ea0)){process['env'][_0x27ef08(0x239)]=_0x4c2ea0;const _0x179890=await(0x0,_0x52d3f1[_0x27ef08(0x1f5)])(_0x4c2ea0);return _0x179890;}}return{};},getSerial=(_0x18b3c0,_0x33a062)=>{const _0x5c7beb=a14_0x15b35d,_0x5adc3a={};_0x5adc3a['zjXQa']='true',_0x5adc3a[_0x5c7beb(0x22d)]=function(_0x232246,_0x59380c){return _0x232246>_0x59380c;},_0x5adc3a[_0x5c7beb(0x269)]=function(_0x193a4a,_0x43f13a){return _0x193a4a>_0x43f13a;},_0x5adc3a[_0x5c7beb(0x26b)]=_0x5c7beb(0x2a9);const _0x2d6857=_0x5adc3a;let _0x3546e3=_0x2d6857['zjXQa'];return _0x2d6857[_0x5c7beb(0x22d)](_0x18b3c0['length'],0x1)&&(!_0x33a062['runInBand']&&(helper[_0x5c7beb(0x21b)](_0x33a062['maxWorkers'])||_0x2d6857[_0x5c7beb(0x269)](_0x33a062[_0x5c7beb(0x1dd)],0x1)))&&(_0x3546e3=_0x2d6857[_0x5c7beb(0x26b)]),_0x3546e3;},getMaxWorkers=(_0x5b944b,_0x529c2b,_0x35d600)=>{const _0x217210=a14_0x15b35d,_0x3ef9f0={'ZziYQ':function(_0x4dc906,_0x309374){return _0x4dc906(_0x309374);}};let _0x50e2a1=0x1;if(!helper['isUndefined'](_0x529c2b[_0x217210(0x1b8)]))_0x50e2a1=_0x3ef9f0['ZziYQ'](parseInt,_0x529c2b[_0x217210(0x1b8)]);else{if(!helper['isUndefined'](_0x5b944b[_0x217210(0x1dd)]))_0x50e2a1=_0x5b944b[_0x217210(0x1dd)];else!helper[_0x217210(0x21b)](_0x35d600[_0x217210(0x1dd)])&&(_0x50e2a1=_0x35d600[_0x217210(0x1dd)]);}return _0x50e2a1;};async function run(_0x45eb40,_0x4a22b7,_0x1c193d){const _0x5cf9a3=a14_0x15b35d,_0x56b289={'HOHfy':_0x5cf9a3(0x273),'Axxta':_0x5cf9a3(0x1c7),'HVtVW':function(_0x17bd76,_0x46c3f4){return _0x17bd76(_0x46c3f4);},'WjYSK':_0x5cf9a3(0x236),'ZkpYk':function(_0x2349f9){return _0x2349f9();},'Pxfhi':function(_0x211c6e,_0x2aad20,_0x434e5d,_0x3230b1){return _0x211c6e(_0x2aad20,_0x434e5d,_0x3230b1);},'TsJma':function(_0x240495,_0x9632e0,_0x4d407c,_0x3ff3b5){return _0x240495(_0x9632e0,_0x4d407c,_0x3ff3b5);},'hmclc':function(_0x1898db,_0x167dd0){return _0x1898db!=_0x167dd0;},'EJdvS':'true','nGnsZ':function(_0x226e04,_0x5afc91,_0x15684d){return _0x226e04(_0x5afc91,_0x15684d);},'HJnon':_0x5cf9a3(0x23e),'COLns':function(_0x49510c,_0x39755f){return _0x49510c(_0x39755f);},'NWoOF':_0x5cf9a3(0x2a9),'pTOGu':function(_0xf1a0a3,_0x1c4092){return _0xf1a0a3*_0x1c4092;},'QWDbR':function(_0x3eddd2,_0x481515){return _0x3eddd2===_0x481515;},'gMKhh':'jest_browserstack.config.cjs','BzZfp':_0x5cf9a3(0x1cd),'hRgyj':'customImplements','JhwSz':_0x5cf9a3(0x2ae),'gRWhJ':_0x5cf9a3(0x2af),'aGgWI':_0x5cf9a3(0x215),'eVYls':'customEnvironment.js','MWXvz':function(_0x893b23,_0x5a3806){return _0x893b23!==_0x5a3806;},'KslOR':_0x5cf9a3(0x204),'brAbo':'jest-runner-','XtcTD':_0x5cf9a3(0x1d7),'OOXvl':_0x5cf9a3(0x27a),'iqcCi':_0x5cf9a3(0x29c),'RRRnk':_0x5cf9a3(0x1d5),'GdTxy':'jest-circus/build/runner.js','KcjPy':_0x5cf9a3(0x263),'AULyb':'data-hooks.js','smaOO':_0x5cf9a3(0x28e),'MNnGv':_0x5cf9a3(0x227),'FwbnH':'skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','pqDXg':_0x5cf9a3(0x20f),'JgfPn':_0x5cf9a3(0x1e5),'rwrfi':'test.setup.js','yXkxW':_0x5cf9a3(0x226),'YzupN':function(_0x9d6816,_0x4a2426){return _0x9d6816&&_0x4a2426;},'NzxoI':_0x5cf9a3(0x1d3),'uiZzl':'puppeteer','kUBUb':_0x5cf9a3(0x1dc),'upZlG':_0x5cf9a3(0x1f5),'LZxXW':function(_0x26007b,_0xcca1a8,_0x4487b2){return _0x26007b(_0xcca1a8,_0x4487b2);},'aLJld':'@jest/core/build/ReporterDispatcher.js','DBSEB':'@jest/core','MgQFV':_0x5cf9a3(0x203),'rJgdl':function(_0xe98820,_0x296dbc){return _0xe98820>_0x296dbc;},'LaiVQ':_0x5cf9a3(0x223),'EoRys':'--config','XpfEQ':function(_0x49aaf6,_0x67a2eb,_0x2580d5,_0x4ba142){return _0x49aaf6(_0x67a2eb,_0x2580d5,_0x4ba142);},'uXpHh':'npx','xhMbP':function(_0x7daa6a,_0xf7e74a){return _0x7daa6a===_0xf7e74a;},'osYDl':'win32','eELdp':_0x5cf9a3(0x208),'xuGQl':'close'},_0x1fc7b6=helper[_0x5cf9a3(0x23a)](_0x56b289['WjYSK']);global['__isPlaywrightInstalled']=!!_0x1fc7b6;const _0x286199=_0x56b289['ZkpYk'](getPuppeteerVersion);global[_0x5cf9a3(0x26e)]=!!_0x286199;helper[_0x5cf9a3(0x213)]()?(await _0x1c193d[_0x5cf9a3(0x2a2)](_0x45eb40),await helper[_0x5cf9a3(0x25b)](_0x1c193d[_0x5cf9a3(0x21a)])):await _0x1c193d[_0x5cf9a3(0x216)]();if(_0x1fc7b6)await _0x56b289[_0x5cf9a3(0x286)](checkPwandBootstrapCli,_0x1fc7b6,constants[_0x5cf9a3(0x1f8)][_0x5cf9a3(0x1da)],_0x1c193d);else _0x286199&&await _0x56b289[_0x5cf9a3(0x1cb)](checkPuppeteerAndBootstrapCli,_0x286199,constants[_0x5cf9a3(0x1f8)][_0x5cf9a3(0x1da)],_0x1c193d);if(!_0x1c193d[_0x5cf9a3(0x21a)])return;_0x56b289[_0x5cf9a3(0x2aa)](_0x1c193d['config'][_0x5cf9a3(0x219)],null)?process[_0x5cf9a3(0x1e4)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x1c193d[_0x5cf9a3(0x21a)][_0x5cf9a3(0x219)]:process[_0x5cf9a3(0x1e4)][_0x5cf9a3(0x2b0)]=_0x56b289['EJdvS'];const _0x5150b5=new TestOrchestrationHandler(_0x1c193d['config']),_0x6c93b5=await _0x56b289[_0x5cf9a3(0x1ef)](getUserJestConfigs,_0x45eb40,_0x4a22b7);logger[_0x5cf9a3(0x220)](_0x56b289[_0x5cf9a3(0x24d)]);const _0x5b9779=Object[_0x5cf9a3(0x288)]({},_0x6c93b5);_0x5b9779[_0x5cf9a3(0x278)]=Object[_0x5cf9a3(0x288)]({},_0x5b9779[_0x5cf9a3(0x278)],{'server':helper[_0x5cf9a3(0x200)](_0x1c193d[_0x5cf9a3(0x21a)]),'environment':_0x6c93b5[_0x5cf9a3(0x1fc)]}),_0x5b9779[_0x5cf9a3(0x278)][_0x5cf9a3(0x275)]=_0x56b289[_0x5cf9a3(0x274)](getPercyOptions,_0x1c193d[_0x5cf9a3(0x21a)]);const _0x3d2506=helper[_0x5cf9a3(0x2ac)](_0x1c193d[_0x5cf9a3(0x21a)]);!helper[_0x5cf9a3(0x21b)](_0x1c193d['config']['accessibilityOptions'])&&(process[_0x5cf9a3(0x1e4)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x5cf9a3(0x1d1)](_0x1c193d[_0x5cf9a3(0x21a)]['accessibilityOptions']));if(!BrowserstackCLI[_0x5cf9a3(0x205)]()[_0x5cf9a3(0x240)]()){const _0xf88a9b=await TestHubHandler[_0x5cf9a3(0x2a3)](FRAMEWORKS['JEST'],_0x1c193d);}const _0x46d4e9=helper['prepareCapabilities'](_0x1c193d[_0x5cf9a3(0x21a)],_0x3d2506,constants[_0x5cf9a3(0x1f8)][_0x5cf9a3(0x1da)]);process[_0x5cf9a3(0x1e4)][_0x5cf9a3(0x212)]=JSON[_0x5cf9a3(0x1d1)](_0x46d4e9);let _0x4b689d=_0x1c193d[_0x5cf9a3(0x21a)]['accessibility'];_0x4b689d=_0x4b689d||accessibilityHelper['checkAccessibilityPlatformConfig'](_0x1c193d[_0x5cf9a3(0x21a)]),process[_0x5cf9a3(0x1e4)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x4b689d,logger[_0x5cf9a3(0x25c)](_0x5cf9a3(0x228)+_0x4b689d+_0x5cf9a3(0x211)+BrowserstackCLI[_0x5cf9a3(0x205)]()[_0x5cf9a3(0x240)]());if(_0x1fc7b6)try{const _0x210998=_0x56b289[_0x5cf9a3(0x1f3)](checkAccessibilityPlatformConfig,_0x1c193d['config']);process['env'][_0x5cf9a3(0x282)]=_0x210998?_0x56b289[_0x5cf9a3(0x289)]:_0x56b289[_0x5cf9a3(0x1cc)],logger[_0x5cf9a3(0x25c)](_0x5cf9a3(0x1ba)+_0x210998+_0x5cf9a3(0x237)+process[_0x5cf9a3(0x1e4)][_0x5cf9a3(0x282)]);}catch(_0x2a28a8){logger['debug'](_0x5cf9a3(0x23b)+util[_0x5cf9a3(0x210)](_0x2a28a8));}_0x5b9779['testEnvironmentOptions']['capabilities']=_0x46d4e9,_0x5b9779[_0x5cf9a3(0x278)][_0x5cf9a3(0x22b)]=_0x56b289['nGnsZ'](getSerial,_0x46d4e9,_0x45eb40),_0x5b9779['testEnvironmentOptions'][_0x5cf9a3(0x1f4)]=_0x56b289[_0x5cf9a3(0x1cb)](getMaxWorkers,_0x45eb40,_0x1c193d['config'],_0x6c93b5),_0x5b9779['testEnvironmentOptions'][_0x5cf9a3(0x296)]=_0x1c193d[_0x5cf9a3(0x21a)][_0x5cf9a3(0x296)],_0x5b9779[_0x5cf9a3(0x278)][_0x5cf9a3(0x1ec)]=_0x56b289[_0x5cf9a3(0x2a1)](_0x45eb40[_0x5cf9a3(0x1bf)],0x1)||0x1388,_0x5b9779[_0x5cf9a3(0x278)][_0x5cf9a3(0x255)]=_0x1c193d[_0x5cf9a3(0x21a)]['testContextOptions'][_0x5cf9a3(0x255)],_0x5b9779[_0x5cf9a3(0x278)][_0x5cf9a3(0x27b)]=_0x1c193d['config'][_0x5cf9a3(0x233)][_0x5cf9a3(0x27b)],_0x5b9779[_0x5cf9a3(0x278)][_0x5cf9a3(0x235)]=_0x1c193d[_0x5cf9a3(0x21a)][_0x5cf9a3(0x225)],_0x5b9779['testEnvironmentOptions']['turboScaleUrl']=_0x1c193d[_0x5cf9a3(0x21a)][_0x5cf9a3(0x297)],_0x5b9779['testEnvironmentOptions'][_0x5cf9a3(0x1e9)]=_0x1c193d[_0x5cf9a3(0x21a)]['platforms'];const _0x963ebe=helper[_0x5cf9a3(0x1fd)](_0x1c193d[_0x5cf9a3(0x21a)]);if(!helper[_0x5cf9a3(0x2b1)](_0x963ebe)){helper[_0x5cf9a3(0x1df)](_0x963ebe[_0x5cf9a3(0x21e)])&&(_0x5b9779[_0x5cf9a3(0x278)][_0x5cf9a3(0x262)]=_0x963ebe[_0x5cf9a3(0x21e)]['maxRetries']);if(helper[_0x5cf9a3(0x1df)](_0x963ebe[_0x5cf9a3(0x251)])&&helper[_0x5cf9a3(0x1df)](_0x963ebe['abortBuildOnFailure'][_0x5cf9a3(0x20a)])){const _0xf008b={};_0xf008b[_0x5cf9a3(0x294)]=_0x963ebe[_0x5cf9a3(0x251)]['maxFailures'],_0xf008b[_0x5cf9a3(0x20a)]=_0x963ebe[_0x5cf9a3(0x251)][_0x5cf9a3(0x20a)],_0x5b9779[_0x5cf9a3(0x278)][_0x5cf9a3(0x26a)]=_0xf008b;}}let _0x53467f='';_0x56b289[_0x5cf9a3(0x298)](helper[_0x5cf9a3(0x2a8)](),constants[_0x5cf9a3(0x242)][_0x5cf9a3(0x28b)])?_0x53467f=_0x56b289['gMKhh']:_0x53467f=_0x56b289[_0x5cf9a3(0x280)];const _0x363613=_0x53467f,_0x3d98ec=path['join'](__dirname,_0x56b289[_0x5cf9a3(0x24e)],_0x56b289[_0x5cf9a3(0x1fb)]),_0x38a3e1=path[_0x5cf9a3(0x241)](__dirname,_0x56b289[_0x5cf9a3(0x24e)],_0x56b289[_0x5cf9a3(0x1c3)]),_0x14594f=path[_0x5cf9a3(0x241)](__dirname,_0x56b289[_0x5cf9a3(0x24e)],_0x56b289[_0x5cf9a3(0x29e)]);_0x5b9779[_0x5cf9a3(0x1fc)]&&(process['env']['BSTACK_JEST_TEST_ENV']=_0x5b9779[_0x5cf9a3(0x1fc)]);_0x5b9779[_0x5cf9a3(0x1fc)]=path['join'](__dirname,_0x56b289['hRgyj'],_0x56b289[_0x5cf9a3(0x231)]);const _0x3a564e=_0x6c93b5[_0x5cf9a3(0x250)];if(_0x3a564e&&_0x56b289[_0x5cf9a3(0x1d0)](_0x3a564e,_0x56b289['KslOR'])){const _0x265d33=_0x3a564e[_0x5cf9a3(0x253)](_0x56b289[_0x5cf9a3(0x268)])?_0x3a564e:'jest-runner-'+_0x3a564e;process[_0x5cf9a3(0x1e4)]['BSTACK_USER_JEST_RUNNER']=_0x265d33,logger[_0x5cf9a3(0x220)](_0x5cf9a3(0x28f)+_0x265d33);}_0x5b9779['runner']=_0x38a3e1,_0x5b9779[_0x5cf9a3(0x1e6)]=_0x5b9779[_0x5cf9a3(0x1e6)]||[],_0x5b9779[_0x5cf9a3(0x1e6)][_0x5cf9a3(0x246)](path[_0x5cf9a3(0x241)](__dirname,_0x56b289['XtcTD']));_0x5150b5[_0x5cf9a3(0x26d)]()&&(_0x5b9779[_0x5cf9a3(0x26f)]=path[_0x5cf9a3(0x241)](__dirname,_0x56b289[_0x5cf9a3(0x24e)],_0x56b289[_0x5cf9a3(0x290)]));if(testhubUtils[_0x5cf9a3(0x1ea)]()||BrowserstackCLI[_0x5cf9a3(0x205)]()[_0x5cf9a3(0x23d)]()){let _0x3a0f45=null;try{_0x3a0f45=helper[_0x5cf9a3(0x1c2)](_0x56b289['iqcCi'],_0x56b289['RRRnk']);}catch(_0xe3c344){try{_0x3a0f45=helper[_0x5cf9a3(0x1c2)](_0x56b289[_0x5cf9a3(0x1c6)],_0x56b289[_0x5cf9a3(0x266)]);}catch(_0x122b59){_0x56b289[_0x5cf9a3(0x274)](debug,_0x5cf9a3(0x1ed)+_0x122b59);}}_0x3a0f45&&(testhubUtils[_0x5cf9a3(0x1ea)]()&&_0x5b9779[_0x5cf9a3(0x1e6)][_0x5cf9a3(0x246)](path['join'](__dirname,_0x56b289[_0x5cf9a3(0x272)],_0x56b289[_0x5cf9a3(0x1ca)])),_0x5b9779['testRunner']=path[_0x5cf9a3(0x241)](__dirname,_0x56b289[_0x5cf9a3(0x24e)],_0x56b289['smaOO']));}_0x5b9779[_0x5cf9a3(0x2a7)]=_0x5b9779[_0x5cf9a3(0x2a7)]||[];try{helper[_0x5cf9a3(0x24c)](),_0x5b9779[_0x5cf9a3(0x2a7)]['push'](path[_0x5cf9a3(0x241)](__dirname,_0x56b289[_0x5cf9a3(0x247)]));}catch{logger[_0x5cf9a3(0x25c)](_0x56b289[_0x5cf9a3(0x1be)]);}try{helper['requirePWModule'][_0x5cf9a3(0x2a0)](null,[_0x56b289[_0x5cf9a3(0x252)],_0x56b289['pqDXg']]),logger[_0x5cf9a3(0x25c)](_0x56b289[_0x5cf9a3(0x238)]),_0x5b9779['setupFiles']['push'](path[_0x5cf9a3(0x241)](__dirname,_0x56b289[_0x5cf9a3(0x1bb)]));}catch(_0x44fa42){logger[_0x5cf9a3(0x25c)](_0x56b289[_0x5cf9a3(0x1f2)],_0x44fa42);}if(_0x56b289[_0x5cf9a3(0x271)](!_0x1fc7b6,_0x286199)){try{logger[_0x5cf9a3(0x25c)](_0x56b289['NzxoI']),_0x5b9779[_0x5cf9a3(0x2a7)]['push'](path[_0x5cf9a3(0x241)](__dirname,'..',_0x56b289[_0x5cf9a3(0x287)],_0x56b289[_0x5cf9a3(0x1bb)]));}catch(_0x303071){logger[_0x5cf9a3(0x25c)](_0x5cf9a3(0x1eb)+_0x303071[_0x5cf9a3(0x27d)]);}try{const _0x4b3f04=require['resolve'](_0x56b289[_0x5cf9a3(0x29d)]),_0x18cc60=path[_0x5cf9a3(0x283)](_0x4b3f04)[_0x5cf9a3(0x2ad)](/\\/g,'/'),_0x50562d={};_0x50562d[_0x5cf9a3(0x2a5)]=_0x18cc60+_0x5cf9a3(0x232),_0x5b9779['moduleNameMapper']=Object['assign']({},_0x5b9779['moduleNameMapper']||{},_0x50562d),logger[_0x5cf9a3(0x25c)](_0x5cf9a3(0x25f)+_0x18cc60);}catch(_0xf450ea){logger[_0x5cf9a3(0x25c)]('[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20'+_0xf450ea['message']);}}_0x5b9779['reporters']=_0x5b9779[_0x5cf9a3(0x265)]||[_0x56b289['upZlG']],_0x56b289[_0x5cf9a3(0x20d)](updateTestRerunConfig,_0x5b9779,_0x1c193d);const _0x5d6456=fs['readFileSync'](_0x14594f),_0x3cdc66=helper[_0x5cf9a3(0x26c)](_0x56b289[_0x5cf9a3(0x1f1)],_0x56b289['DBSEB']);!_0x3cdc66[_0x5cf9a3(0x1bd)]?fs[_0x5cf9a3(0x1bc)](_0x5b9779['runner'],_0x5cf9a3(0x224)+_0x5d6456+'\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'+_0x1c193d['config'][_0x5cf9a3(0x285)][_0x5cf9a3(0x254)]+_0x5cf9a3(0x221)):fs[_0x5cf9a3(0x1bc)](_0x5b9779[_0x5cf9a3(0x250)],_0x5cf9a3(0x224)+_0x5d6456+_0x5cf9a3(0x243)+_0x1c193d['config'][_0x5cf9a3(0x285)][_0x5cf9a3(0x254)]+_0x5cf9a3(0x1e1));logger['info']('Creating\x20'+_0x363613+_0x5cf9a3(0x1fe)),fs[_0x5cf9a3(0x1bc)](_0x363613,'const\x20config='+JSON[_0x5cf9a3(0x1d1)](_0x5b9779)+_0x5cf9a3(0x22f));if(_0x5150b5[_0x5cf9a3(0x26d)]()){logger[_0x5cf9a3(0x25c)](_0x56b289['MgQFV']);const _0x45510d=await _0x5150b5[_0x5cf9a3(0x206)](_0x5b9779,_0x4a22b7[_0x5cf9a3(0x259)](0x1),_0x363613);logger['debug'](_0x5cf9a3(0x20e)+JSON['stringify'](_0x45510d)+_0x5cf9a3(0x27e));const _0x2b0574=await _0x5150b5[_0x5cf9a3(0x21d)](_0x45510d);logger[_0x5cf9a3(0x25c)](_0x5cf9a3(0x293)+JSON[_0x5cf9a3(0x1d1)](_0x2b0574)),_0x2b0574&&_0x56b289[_0x5cf9a3(0x270)](_0x2b0574['length'],0x0)&&(process[_0x5cf9a3(0x1e4)][_0x5cf9a3(0x261)]=_0x2b0574?.[_0x5cf9a3(0x241)](','));}logger['info'](_0x56b289[_0x5cf9a3(0x1e8)]);testhubUtils['shouldProcessEventForTesthub']()&&TestDetails['setup']();helper[_0x5cf9a3(0x1f0)]({},_0x4a22b7),PerformanceTester[_0x5cf9a3(0x1c9)](PerformanceEvents[_0x5cf9a3(0x295)]);const _0x46100a=[_0x56b289['Axxta'],_0x56b289[_0x5cf9a3(0x1e0)],_0x363613,..._0x4a22b7['slice'](0x1)],_0x4294cc=_0x56b289[_0x5cf9a3(0x28d)](spawn,_0x56b289['uXpHh'],_0x46100a,{'shell':_0x56b289[_0x5cf9a3(0x1ce)](process['platform'],_0x56b289[_0x5cf9a3(0x244)]),'stdio':_0x56b289[_0x5cf9a3(0x207)],'env':Object[_0x5cf9a3(0x288)]({},process['env'])});_0x4294cc['on'](_0x56b289['xuGQl'],async _0x2bade3=>{const _0xc4ac6f=_0x5cf9a3;PerformanceTester[_0xc4ac6f(0x256)](PerformanceEvents[_0xc4ac6f(0x267)]);try{const {browserstackFolderPath:_0x69368d,tcgConfigPath:_0x51741a}=helper[_0xc4ac6f(0x25a)]();fs[_0xc4ac6f(0x1c0)](_0x51741a),fs[_0xc4ac6f(0x24a)](_0x69368d);}catch(_0x27d1f1){logger[_0xc4ac6f(0x25c)](_0x56b289[_0xc4ac6f(0x1c4)],_0x27d1f1);}process['exitCode']=_0x2bade3,logger[_0xc4ac6f(0x25c)](_0xc4ac6f(0x29a)+_0x2bade3),logger['info'](_0xc4ac6f(0x1db)+_0x363613);if(helper[_0xc4ac6f(0x1df)](_0x963ebe)&&helper['isNotUndefined'](_0x963ebe[_0xc4ac6f(0x251)])&&fs['existsSync'](_0x963ebe[_0xc4ac6f(0x251)][_0xc4ac6f(0x20a)]))try{const _0xb43df5={};_0xb43df5[_0xc4ac6f(0x1f9)]=!![],_0xb43df5[_0xc4ac6f(0x1d6)]=!![],fs[_0xc4ac6f(0x276)](_0x963ebe[_0xc4ac6f(0x251)][_0xc4ac6f(0x20a)],_0xb43df5),logger[_0xc4ac6f(0x25c)]('Deleted\x20fail-fast\x20state\x20folder:\x20'+_0x963ebe[_0xc4ac6f(0x251)][_0xc4ac6f(0x20a)]);}catch(_0x26a137){logger['error'](_0xc4ac6f(0x2a4)+_0x26a137);}let _0xb3380f=null;if(fs[_0xc4ac6f(0x1ff)](_0x3d98ec)){_0xb3380f=fs[_0xc4ac6f(0x292)](_0x3d98ec);try{_0xb3380f=JSON[_0xc4ac6f(0x28c)](_0xb3380f);}catch(_0x5a6df7){logger[_0xc4ac6f(0x25c)](_0xc4ac6f(0x29f)+_0x3d98ec+',\x20'+_0xb3380f+_0xc4ac6f(0x245)+_0x5a6df7);}fs[_0xc4ac6f(0x1c0)](_0x3d98ec);}fs[_0xc4ac6f(0x1c0)](_0x363613),fs[_0xc4ac6f(0x1c0)](_0x38a3e1),_0xb3380f&&(_0x1c193d[_0xc4ac6f(0x1e2)]=helper[_0xc4ac6f(0x21c)](_0xb3380f,_0x56b289['Axxta'],_0x1c193d));const _0x2cfcbe=BrowserstackCLI[_0xc4ac6f(0x1e3)]();try{await TestHubHandler[_0xc4ac6f(0x1c8)](),await BrowserstackCLI[_0xc4ac6f(0x205)]()['stop']();}catch(_0x843719){console[_0xc4ac6f(0x1ee)](_0x843719),_0x56b289['HVtVW'](debug,_0xc4ac6f(0x257)+util['format'](_0x843719));}testOpsHelper[_0xc4ac6f(0x218)](),TestDetails[_0xc4ac6f(0x202)](),await utilities[_0xc4ac6f(0x260)](_0x1c193d,_0x2cfcbe);});}function a14_0x37c6(){const _0x4ccecb=['835485PrMZKa','setupFiles','getPackageType','false','hmclc','2761332OlMlhq','useW3C','replace','jest_browserstack_results.json','customTestRunner.js','BROWSERSTACK_TEST_OBSERVABILITY_YML','isEmpty','parallelsPerPlatform','mjs','[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20','rwrfi','writeFileSync','error','FwbnH','testTimeout','unlinkSync','Getting\x20your\x20jest\x20configs\x20from\x20','requireModule','gRWhJ','HOHfy','../../helpers/performance/performance-tester','GdTxy','jest','stop','end','AULyb','TsJma','NWoOF','jest_browserstack.config.js','xhMbP','path','MWXvz','stringify','util','Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','../../helpers/percy/utils','jest-circus','force','jest.setup.js','../utils/constants','xCQwf','JEST','Deleting\x20','puppeteer-core/package.json','maxWorkers','../../helpers/test-orchestration/testOrchestrationHandler','isNotUndefined','EoRys',';\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','errorMessage','isCLIEnabled','env','Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','setupFilesAfterEnv','../../helpers/test-observability/utils','LaiVQ','platformCaps','shouldProcessEventForTesthub','Puppeteer\x20setup\x20error:\x20','timeout__','Unable\x20to\x20find\x20jest-circus,\x20','log','nGnsZ','filterBrowserstackArgs','aLJld','yXkxW','COLns','parallels__','default','child_process','findIndex','FRAMEWORKS','recursive','EVENTS','JhwSz','testEnvironment','parseTestOrchestrationOptions','\x20with\x20browserstack\x20jest\x20configs','existsSync','getHubUrl','readInitialOptions','shutdown','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','jest-runner','getInstance','findTestFiles','eELdp','inherit','../v2/browserstackCLI','workingDir','../../helpers/testhub/testhubHandler','141sapLaI','LZxXW','Found:\x20','playwright','format',',\x20CLI\x20running:\x20','BROWSERSTACK_CAPABILITIES','isBrowserstackInfra','cwd','customTestRunnerTemplate.js','setupTCGAuth','jest-config','printBuildLink','testObservability','config','isUndefined','getErrorMessageFromResults','reorderTestFiles','retryTestsOnFailure','../../helpers/test-observability/constants','info',';\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','../../helpers/utilities','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','\x0a\x20\x20\x20\x20\x20\x20','logLevel','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','test_before.setup.js','[Jest\x20Command]\x20Accessibility\x20enabled:\x20','../../helpers/accessibility-automation/helper','144KuJhmA','serial__','jest.config.','vPyvk','../../helpers/testhub/utils','\x0amodule.exports\x20=\x20config;','yNIBz','eVYls','/internal/$1','testContextOptions','52290ZDjZXQ','browserStackLogLevel','@playwright/test',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','JgfPn','USER_CONFIG_DETAILS_PATH','getPackageVersion','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','../../helpers/playwright-helper','isCliEnabled','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','NDEWj','isRunning','join','PACKAGE_TYPE','\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','osYDl','\x20:\x20','push','MNnGv','../../helpers/BrowserStackSetup','nNVaf','rmdirSync','IPROJ','requireSeleniumWebdriver','HJnon','hRgyj','20208330uXZLKC','runner','abortBuildOnFailure','WjYSK','startsWith','length','skipSessionName','start','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','package.json','slice','getTCGConfigFilePaths','handleApp','debug','JFxxU','nBFZM','[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20','finalExecution','JEST_TEST_ORDER','retries__','test-observability','12434zMHElV','reporters','RRRnk','SDK_CLEANUP','brAbo','fSCFi','failFast','LSLcx','resolveModule','isTestOrchestrationEnabled','__isPuppeteerInstalled','testSequencer','rJgdl','YzupN','KcjPy','error\x20removing\x20tcg\x20config\x20file','HVtVW','browserStackPercyOptions','rmSync','json','testEnvironmentOptions','Getting\x20your\x20jest\x20configs\x20from\x20package.json','customSequencer.js','skipSessionStatus','../utils/clientTroubleshootingService','message','\x20test\x20files\x20to\x20run.','winstonLogger','BzZfp','cjs','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','dirname','../../helpers/performance/constants','platforms','Pxfhi','uiZzl','assign','EJdvS','./test-observability/test-details','MODULE','parse','XpfEQ','customCircus.js','Preserving\x20user\x27s\x20Jest\x20runner:\x20','OOXvl','4107462awiaKf','readFileSync','Reodered\x20Test\x20Files:\x20','failureThresholdCount','SDK_SETUP','proxySettings','turboScaleUrl','QWDbR','../../helpers/helper','child\x20process\x20exited\x20with\x20code\x20','449755EcxdXt','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','kUBUb','aGgWI','Error\x20while\x20parsing\x20','apply','pTOGu','initialize','launchBuild','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','^puppeteer-core/internal/(.*)'];a14_0x37c6=function(){return _0x4ccecb;};return a14_0x37c6();}module['exports']=run;
@@ -1 +1 @@
1
- const a15_0x17ab65=a15_0x9c8d;(function(_0x376976,_0x369536){const _0x11e1a5=a15_0x9c8d,_0x4f74d3=_0x376976();while(!![]){try{const _0x37c49a=-parseInt(_0x11e1a5(0xfb))/0x1*(parseInt(_0x11e1a5(0x10a))/0x2)+parseInt(_0x11e1a5(0x109))/0x3+parseInt(_0x11e1a5(0xfe))/0x4*(-parseInt(_0x11e1a5(0xfc))/0x5)+-parseInt(_0x11e1a5(0xf7))/0x6*(-parseInt(_0x11e1a5(0x104))/0x7)+-parseInt(_0x11e1a5(0x105))/0x8*(parseInt(_0x11e1a5(0xf5))/0x9)+-parseInt(_0x11e1a5(0xf8))/0xa*(-parseInt(_0x11e1a5(0xfa))/0xb)+parseInt(_0x11e1a5(0xf4))/0xc;if(_0x37c49a===_0x369536)break;else _0x4f74d3['push'](_0x4f74d3['shift']());}catch(_0x413d52){_0x4f74d3['push'](_0x4f74d3['shift']());}}}(a15_0x2bd7,0xe4672));const path=require(a15_0x17ab65(0xf9)),{requireModule}=require(a15_0x17ab65(0x107));let initJestAdapter;try{initJestAdapter=requireModule(a15_0x17ab65(0xf3),a15_0x17ab65(0xff));}catch{initJestAdapter=requireModule('jest-circus/build/runner.js',a15_0x17ab65(0xff));}initJestAdapter=typeof initJestAdapter===a15_0x17ab65(0x100)?initJestAdapter:initJestAdapter[a15_0x17ab65(0xfd)];const FRAMEWORK_INITIALIZER=path[a15_0x17ab65(0x108)](__dirname,'customJestAdapterInit.js');function a15_0x9c8d(_0x377fca,_0x5d3a36){const _0x2bd79d=a15_0x2bd7();return a15_0x9c8d=function(_0x9c8d39,_0x567676){_0x9c8d39=_0x9c8d39-0xf3;let _0x1504b1=_0x2bd79d[_0x9c8d39];return _0x1504b1;},a15_0x9c8d(_0x377fca,_0x5d3a36);}function a15_0x2bd7(){const _0x8767e5=['path','88GbxyWD','506923tJEHnj','156675mIvewv','default','36fgeYWk','jest-circus','function','clYWy','jestAdapterInit','initRequireModule','7SjyiQI','32iNVNVc','includes','../../../helpers/helper','join','3031470kaqzTc','6iVoCFt','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','10335300lwFgwF','2773053Hqxfha','requireInternalModule','6699414bugjeb','1228070zyvAcK'];a15_0x2bd7=function(){return _0x8767e5;};return a15_0x2bd7();}module['exports']=(..._0x201f8c)=>{const _0x397777=a15_0x17ab65,_0x152a56={'Xaifo':_0x397777(0x102),'avJrj':function(_0x4aff11,_0x57d65f){return _0x4aff11===_0x57d65f;},'clYWy':function(_0xea9074,..._0x508ece){return _0xea9074(..._0x508ece);}};return _0x201f8c[0x3]['initRequireModule']=_0x201f8c[0x3][_0x397777(0xf6)],_0x201f8c[0x3][_0x397777(0xf6)]=(..._0x11c5e7)=>{const _0x3b107a=_0x397777;if(_0x11c5e7[0x0]&&_0x11c5e7[0x0][_0x3b107a(0x106)](_0x152a56['Xaifo'])&&_0x152a56['avJrj'](_0x11c5e7[0x1],undefined))return _0x201f8c[0x3][_0x3b107a(0x103)](FRAMEWORK_INITIALIZER);return _0x201f8c[0x3][_0x3b107a(0x103)](..._0x11c5e7);},_0x152a56[_0x397777(0x101)](initJestAdapter,..._0x201f8c);};
1
+ const a15_0x40315b=a15_0x3087;(function(_0x4d81bd,_0x16c7dd){const _0x36a799=a15_0x3087,_0x344f72=_0x4d81bd();while(!![]){try{const _0x12d269=parseInt(_0x36a799(0x1d5))/0x1*(-parseInt(_0x36a799(0x1ce))/0x2)+-parseInt(_0x36a799(0x1d7))/0x3*(-parseInt(_0x36a799(0x1dc))/0x4)+-parseInt(_0x36a799(0x1e0))/0x5+parseInt(_0x36a799(0x1e2))/0x6+parseInt(_0x36a799(0x1e6))/0x7*(-parseInt(_0x36a799(0x1db))/0x8)+-parseInt(_0x36a799(0x1e5))/0x9*(-parseInt(_0x36a799(0x1e1))/0xa)+parseInt(_0x36a799(0x1d2))/0xb;if(_0x12d269===_0x16c7dd)break;else _0x344f72['push'](_0x344f72['shift']());}catch(_0xb60656){_0x344f72['push'](_0x344f72['shift']());}}}(a15_0x11e4,0x75aaa));function a15_0x11e4(){const _0x469204=['default','function','138865BQcJPb','50iOOkBy','484764rWvBHj','xgWtZ','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','112743mMbkCb','133YDyimI','2pzwpaM','jest-circus','WQYXT','includes','14198778CPuHcM','jestAdapterInit','join','378431LvwbPb','initRequireModule','379788cHwxxq','customJestAdapterInit.js','requireInternalModule','qkMSG','283224wJkNpr','4uamEFf','exports'];a15_0x11e4=function(){return _0x469204;};return a15_0x11e4();}const path=require('path'),{requireModule}=require('../../../helpers/helper');let initJestAdapter;function a15_0x3087(_0x5180ba,_0x528c86){const _0x11e474=a15_0x11e4();return a15_0x3087=function(_0x308712,_0x5ae5a9){_0x308712=_0x308712-0x1ce;let _0x4b5b43=_0x11e474[_0x308712];return _0x4b5b43;},a15_0x3087(_0x5180ba,_0x528c86);}try{initJestAdapter=requireModule(a15_0x40315b(0x1e4),a15_0x40315b(0x1cf));}catch{initJestAdapter=requireModule('jest-circus/build/runner.js',a15_0x40315b(0x1cf));}initJestAdapter=typeof initJestAdapter===a15_0x40315b(0x1df)?initJestAdapter:initJestAdapter[a15_0x40315b(0x1de)];const FRAMEWORK_INITIALIZER=path[a15_0x40315b(0x1d4)](__dirname,a15_0x40315b(0x1d8));module[a15_0x40315b(0x1dd)]=(..._0x2d36c7)=>{const _0x40db07=a15_0x40315b,_0x203ccf={'xgWtZ':_0x40db07(0x1d3),'qkMSG':function(_0x47d4f0,_0x5f24b0){return _0x47d4f0===_0x5f24b0;},'WQYXT':function(_0x24191d,..._0xdc3fcc){return _0x24191d(..._0xdc3fcc);}};return _0x2d36c7[0x3][_0x40db07(0x1d6)]=_0x2d36c7[0x3][_0x40db07(0x1d9)],_0x2d36c7[0x3][_0x40db07(0x1d9)]=(..._0xef1fcd)=>{const _0x20a301=_0x40db07;if(_0xef1fcd[0x0]&&_0xef1fcd[0x0][_0x20a301(0x1d1)](_0x203ccf[_0x20a301(0x1e3)])&&_0x203ccf[_0x20a301(0x1da)](_0xef1fcd[0x1],undefined))return _0x2d36c7[0x3]['initRequireModule'](FRAMEWORK_INITIALIZER);return _0x2d36c7[0x3][_0x20a301(0x1d6)](..._0xef1fcd);},_0x203ccf[_0x40db07(0x1d0)](initJestAdapter,..._0x2d36c7);};
@@ -1 +1 @@
1
- const a16_0x5a3e5a=a16_0x31c2;function a16_0x31c2(_0x33cc80,_0x29f09d){const _0x363800=a16_0x3638();return a16_0x31c2=function(_0x31c2e3,_0x4d9c5f){_0x31c2e3=_0x31c2e3-0xd8;let _0x52d73f=_0x363800[_0x31c2e3];return _0x52d73f;},a16_0x31c2(_0x33cc80,_0x29f09d);}(function(_0x2b7ce1,_0x7bcdaf){const _0x34821b=a16_0x31c2,_0x1d8af0=_0x2b7ce1();while(!![]){try{const _0x98e8f8=parseInt(_0x34821b(0x10d))/0x1+-parseInt(_0x34821b(0xe1))/0x2+-parseInt(_0x34821b(0xf4))/0x3*(-parseInt(_0x34821b(0xef))/0x4)+parseInt(_0x34821b(0x111))/0x5*(-parseInt(_0x34821b(0x145))/0x6)+parseInt(_0x34821b(0xed))/0x7+-parseInt(_0x34821b(0x117))/0x8+-parseInt(_0x34821b(0x124))/0x9;if(_0x98e8f8===_0x7bcdaf)break;else _0x1d8af0['push'](_0x1d8af0['shift']());}catch(_0x2d5174){_0x1d8af0['push'](_0x1d8af0['shift']());}}}(a16_0x3638,0x464f7));const helper=require(a16_0x5a3e5a(0x139)),constants=require(a16_0x5a3e5a(0x12b)),{isTestObservabilitySession}=require(a16_0x5a3e5a(0x143)),RequestQueueHandler=require(a16_0x5a3e5a(0x10f)),ObservabilityReporter=require(a16_0x5a3e5a(0x148)),testhubUtils=require(a16_0x5a3e5a(0xe6)),logger=require('../../../helpers/logger')[a16_0x5a3e5a(0x136)],getTestEnvironment=((()=>{const _0x5557d1=a16_0x5a3e5a,_0x2bb371={};_0x2bb371[_0x5557d1(0xda)]='jest-resolve',_0x2bb371['yjLoZ']=_0x5557d1(0x149);const _0x335972=_0x2bb371;try{const _0xa6b6ee=helper[_0x5557d1(0x146)](_0x335972[_0x5557d1(0xda)]);if(_0xa6b6ee[_0x5557d1(0x11f)])return _0xa6b6ee[_0x5557d1(0x11f)];const _0x278d79=helper['requireModule'](_0x335972['yjLoZ']);if(_0x278d79[_0x5557d1(0x114)])return _0x278d79[_0x5557d1(0x114)];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x3eb9af=a16_0x5a3e5a,_0x438d00={'yhhTA':function(_0x5e4006,_0x32c2b7){return _0x5e4006(_0x32c2b7);},'CxVhd':_0x3eb9af(0xd8),'IFMMM':_0x3eb9af(0x101)},_0x804b58=_0x438d00[_0x3eb9af(0x12c)](getTestEnvironment,{'rootDir':process[_0x3eb9af(0x123)](),'testEnvironment':process[_0x3eb9af(0x10e)][_0x3eb9af(0x13f)]||_0x438d00[_0x3eb9af(0x138)]});if(!_0x804b58)return _0x438d00[_0x3eb9af(0x12c)](_interopRequireDefault,helper[_0x3eb9af(0x146)](_0x438d00[_0x3eb9af(0xf3)]));return _0x438d00[_0x3eb9af(0x12c)](_interopRequireDefault,helper['requireModule'](_0x804b58));})()),_seleniumWebdriver2=((()=>{const _0x224008=a16_0x5a3e5a,_0x20ad97={'tPJjV':function(_0x5863d1,_0x4be692){return _0x5863d1(_0x4be692);}};try{const _0x50e40c=helper['requireSeleniumWebdriver']();return helper['modifyCommand'](),_0x20ad97[_0x224008(0xf9)](_interopRequireDefault,_0x50e40c);}catch{return null;}})());function _interopRequireDefault(_0x4e78fe){const _0x738504=a16_0x5a3e5a;return _0x4e78fe&&_0x4e78fe[_0x738504(0x13b)]?_0x4e78fe:{'default':_0x4e78fe};}function a16_0x3638(){const _0x584a93=['__esModule','buildName','test_start','pKzwH','BSTACK_JEST_TEST_ENV','percyCaptureMode','browserStackPercyOptions','default','../../../helpers/test-observability/utils','cleanupDrivers','3498YoBHsQ','requireModule','Builder','../test-observability/obsReporter','jest-config','node','percy','jrcKu','capabilities','failFastOptions','exports','__skipSessionStatus','fDpwY','getInstance','148842mDlAcp','bstack:options','bCCbl','shouldProcessEventForTesthub','\x20>\x20','../../../helpers/testhub/utils','jifvh','registerListeners','projectName','WbUrS','sessionNameProvided','xPZRG','2066309cyqsnC','browserstackPercyBestPlatform','4wMelRb','fQlnx','testContext','nBxyY','IFMMM','1584903FuVALw','hzGIz','failFast','nestedKeyValue','BSTACK_DELTA','tPJjV','configuration','browserstackAgentV2','driver','7|6|1|2|0|5|4|3','platformCaps','TlDop','projectConfig','jest-environment-node','info','__platformCaps','../../../helpers/test-orchestration/failfastManager','../../../index','testEnvironmentOptions','isArray','__timeout','WLKaJ','isNotUndefined','quit','JEST','464738qVCxzV','env','../../../helpers/test-observability/requestQueueHandler','capability','2830IhjUKi','teardown','__webdriver','getTestEnvironment','skipSessionStatus','split','555816zdWSGI','testPath','cleanup','test_done','test','retries__','failFastActive','Error\x20in\x20fail-fast\x20test_done\x20handler:','resolveTestEnvironment','skipSessionName','HNGCz','luyok','cwd','4737231hArBwD','Fail-fast\x20is\x20active,\x20skipping\x20test::\x20','shutdown','browserstackPlatformIndex','join','isTrue','yHzaS','../../utils/constants','yhhTA','vzzKz','global','mdebQ','mode','kiYXw','FRAMEWORKS','skip','gMYIK','iYqtf','winstonLogger','pNXye','CxVhd','../../../helpers/helper','shouldFailFast'];a16_0x3638=function(){return _0x584a93;};return a16_0x3638();}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2['default']['Builder']:null;class CustomEnvironment extends _jestUserEnvironment['default']{constructor(_0x5a881c){const _0x38fa52=a16_0x5a3e5a,_0x29a406={'cfQSP':'quit','pKzwH':function(_0x2d2396,_0x5e44fd){return _0x2d2396+_0x5e44fd;},'luyok':_0x38fa52(0xe2),'vzzKz':function(_0x2917c5,_0x8a00df){return _0x2917c5(_0x8a00df);},'jifvh':_0x38fa52(0x104),'mdebQ':_0x38fa52(0xfd),'hzGIz':'testEnvironmentOptions','kiYXw':_0x38fa52(0x141),'WLKaJ':'percyCaptureMode','QNMHl':_0x38fa52(0xee),'WbUrS':'percy','yHzaS':_0x38fa52(0x105)};super(_0x5a881c),this[_0x38fa52(0x12e)][_0x38fa52(0x108)]=0x0,this[_0x38fa52(0xfa)]={};!_0x5a881c['testEnvironmentOptions']&&(_0x5a881c[_0x38fa52(0x106)]={});if(helper['isBrowserstackInfra']()){_0x5a881c[_0x38fa52(0x106)]=_0x5a881c['projectConfig']?_0x5a881c['projectConfig'][_0x38fa52(0x106)]:_0x5a881c[_0x38fa52(0x106)];_seleniumWebdriver2&&(this['builder']=new _seleniumWebdriver2[(_0x38fa52(0x142))]['Builder']());this[_0x38fa52(0x110)]=_0x5a881c[_0x38fa52(0x100)]?_0x5a881c['projectConfig'][_0x38fa52(0x110)]:_0x5a881c[_0x38fa52(0x110)],this[_0x38fa52(0x12e)][_0x38fa52(0x108)]=_0x29a406[_0x38fa52(0x13e)](_0x5a881c[_0x38fa52(0x106)]['timeout__']||0x1388,constants[_0x38fa52(0xf8)]),this[_0x38fa52(0xdc)]=_0x5a881c[_0x38fa52(0x106)]['failFast'];if(this[_0x38fa52(0xdc)]){const _0x212316=this['capability'][_0x29a406[_0x38fa52(0x122)]]?.[_0x38fa52(0x13c)]||'',_0xdeac0e=this[_0x38fa52(0x110)][_0x29a406['luyok']]?.[_0x38fa52(0xe9)]||'';this['failFast']=new(_0x29a406[_0x38fa52(0x12d)](require,_0x29a406[_0x38fa52(0xe7)]))(this[_0x38fa52(0xdc)],_0x212316,_0xdeac0e),this[_0x38fa52(0x12e)][_0x38fa52(0x11d)]=![];}helper[_0x38fa52(0x10a)](_0x5a881c['testEnvironmentOptions']['retries__'])&&(this[_0x38fa52(0x12e)]['__jestRetries']=_0x5a881c[_0x38fa52(0x106)][_0x38fa52(0x11c)]);}if(testhubUtils['shouldProcessEventForTesthub']()){const _0x256756=new ObservabilityReporter();_0x256756[_0x38fa52(0xe8)]();}this[_0x38fa52(0x12e)]['browserStackGlobals']={},this['configuration']=_0x5a881c[_0x38fa52(0x106)],this['configuration']['framework']=constants[_0x38fa52(0x132)][_0x38fa52(0x10c)],this[_0x38fa52(0x12e)][_0x38fa52(0x127)]=(_0x5a881c[_0x38fa52(0x100)]?_0x5a881c[_0x38fa52(0x100)][_0x38fa52(0x127)]:_0x5a881c[_0x38fa52(0x127)])||0x0,this[_0x38fa52(0x12e)][_0x38fa52(0x103)]=this[_0x38fa52(0xfa)]&&this['configuration'][_0x38fa52(0xfe)]&&Array[_0x38fa52(0x107)](this[_0x38fa52(0xfa)]['platformCaps'])&&this[_0x38fa52(0xfa)][_0x38fa52(0xfe)][this[_0x38fa52(0x12e)][_0x38fa52(0x127)]]||{};const _0x46151e=this[_0x38fa52(0x12e)]['browserstackPlatformIndex'],_0x472fdd={...this[_0x38fa52(0xfa)],'capability':this[_0x38fa52(0xfa)][_0x38fa52(0xdb)]&&Array['isArray'](this[_0x38fa52(0xfa)][_0x38fa52(0xdb)])&&this[_0x38fa52(0xfa)]['capabilities'][_0x46151e]||{},'platformCaps':this['configuration'][_0x38fa52(0xfe)]&&Array['isArray'](this[_0x38fa52(0xfa)][_0x38fa52(0xfe)])&&this['configuration']['platformCaps'][_0x46151e]||{}};delete _0x472fdd[_0x38fa52(0xdb)],this[_0x38fa52(0x12e)]['jestConfig']=_0x472fdd;if(_seleniumWebdriver2){const _0x108c13=_0x29a406[_0x38fa52(0x12f)][_0x38fa52(0x116)]('|');let _0x54d42c=0x0;while(!![]){switch(_0x108c13[_0x54d42c++]){case'0':this[_0x38fa52(0x12e)][_0x38fa52(0x140)]=helper[_0x38fa52(0xf7)](_0x5a881c,[_0x29a406['hzGIz'],_0x29a406[_0x38fa52(0x131)],_0x29a406[_0x38fa52(0x109)]]);continue;case'1':this['global'][_0x38fa52(0xee)]=helper['nestedKeyValue'](_0x5a881c,[_0x29a406[_0x38fa52(0xf5)],_0x29a406['kiYXw'],_0x29a406['QNMHl']]);continue;case'2':this[_0x38fa52(0x12e)][_0x38fa52(0xd9)]=helper[_0x38fa52(0xf7)](_0x5a881c,[_0x29a406['hzGIz'],_0x29a406['kiYXw'],_0x29a406[_0x38fa52(0xea)]]);continue;case'3':this[_0x38fa52(0x12e)][_0x38fa52(0x119)]=async()=>{const _0x2c9e0b=_0x38fa52;await this['global'][_0x2c9e0b(0xfc)][_0x2c9e0b(0x10b)](_0x29a406['cfQSP']);};continue;case'4':this['global'][_0x38fa52(0xde)]=helper[_0x38fa52(0x129)](this[_0x38fa52(0xfa)][_0x38fa52(0x115)]);continue;case'5':helper[_0x38fa52(0x129)](this[_0x38fa52(0xfa)][_0x38fa52(0x120)])?this[_0x38fa52(0x12e)][_0x38fa52(0xeb)]=!![]:this[_0x38fa52(0x12e)][_0x38fa52(0xeb)]=![];continue;case'6':this[_0x38fa52(0x12e)][_0x38fa52(0x113)]=_0x29a406[_0x38fa52(0x12d)](require,_0x29a406[_0x38fa52(0x12a)])[_0x38fa52(0xfb)]({...this[_0x38fa52(0xfa)],'capability':this[_0x38fa52(0x110)]||{}},this,testhubUtils[_0x38fa52(0xe4)]());continue;case'7':this[_0x38fa52(0x12e)]['__drivers']=[];continue;}break;}}}async[a16_0x5a3e5a(0x112)](){const _0x35cf3d=a16_0x5a3e5a;_seleniumWebdriver2&&(await helper[_0x35cf3d(0x144)](this[_0x35cf3d(0x12e)]['__driversArray']),this[_0x35cf3d(0x12e)][_0x35cf3d(0x113)][_0x35cf3d(0x147)]=originalBuilder),await RequestQueueHandler[_0x35cf3d(0xe0)]()[_0x35cf3d(0x126)]();}async['setup'](){}async['handleTestEvent'](_0x27fbe2,_0x2a6629){const _0x46100f=a16_0x5a3e5a,_0x4eac3d={};_0x4eac3d[_0x46100f(0xdf)]=function(_0x988790,_0x427e38){return _0x988790===_0x427e38;},_0x4eac3d['QJUBX']=_0x46100f(0x13d),_0x4eac3d[_0x46100f(0xe3)]=function(_0x5bb5aa,_0x36e420){return _0x5bb5aa===_0x36e420;},_0x4eac3d[_0x46100f(0x137)]=_0x46100f(0x133),_0x4eac3d['xPZRG']=function(_0x242b96,_0x21ad9a){return _0x242b96===_0x21ad9a;},_0x4eac3d[_0x46100f(0x135)]=_0x46100f(0x11a),_0x4eac3d['nBxyY']=_0x46100f(0xe5),_0x4eac3d['fQlnx']=function(_0x5d2066,_0x45f04c){return _0x5d2066===_0x45f04c;},_0x4eac3d[_0x46100f(0x121)]=_0x46100f(0x11e),_0x4eac3d[_0x46100f(0x134)]=function(_0x1262f2,_0x424021){return _0x1262f2===_0x424021;},_0x4eac3d[_0x46100f(0xff)]=_0x46100f(0x112);const _0x8800d3=_0x4eac3d,{name:_0x3bd424}=_0x27fbe2;if(_0x8800d3[_0x46100f(0xdf)](_0x3bd424,_0x8800d3['QJUBX'])){this[_0x46100f(0x12e)][_0x46100f(0xf1)]=_0x27fbe2[_0x46100f(0x11b)];if(_0x8800d3[_0x46100f(0xe3)](this[_0x46100f(0x12e)][_0x46100f(0x11d)],!![])){const _0x41b47f=_0x27fbe2[_0x46100f(0x11b)]['name'];logger[_0x46100f(0x102)](_0x46100f(0x125)+_0x41b47f),_0x27fbe2[_0x46100f(0x11b)][_0x46100f(0x130)]=_0x8800d3[_0x46100f(0x137)];}}if(this[_0x46100f(0xf6)]&&_0x8800d3[_0x46100f(0xec)](_0x3bd424,_0x8800d3['iYqtf']))try{const _0x1d6345=_0x27fbe2[_0x46100f(0x11b)][_0x46100f(0x118)][_0x46100f(0x128)](_0x8800d3[_0x46100f(0xf2)]),_0x4e55c5=_0x27fbe2['test']['errors'];await this[_0x46100f(0xf6)]['onTestDone'](_0x1d6345,_0x4e55c5);const _0x2f01cd=await this[_0x46100f(0xf6)][_0x46100f(0x13a)]();_0x8800d3[_0x46100f(0xf0)](this[_0x46100f(0x12e)][_0x46100f(0x11d)],![])&&_0x8800d3[_0x46100f(0xe3)](_0x2f01cd,!![])&&(this[_0x46100f(0x12e)][_0x46100f(0x11d)]=!![]);}catch(_0x40f463){logger['debug'](_0x8800d3[_0x46100f(0x121)],_0x40f463['message']);}_0x8800d3[_0x46100f(0x134)](_0x3bd424,_0x8800d3['TlDop'])&&(this[_0x46100f(0xf6)]&&this[_0x46100f(0xf6)][_0x46100f(0x119)]());}}module[a16_0x5a3e5a(0xdd)]=CustomEnvironment;
1
+ const a16_0x59ab3a=a16_0x350b;function a16_0x350b(_0x35c6fb,_0x3d5109){const _0x1a2d33=a16_0x1a2d();return a16_0x350b=function(_0x350b48,_0x216902){_0x350b48=_0x350b48-0xe4;let _0x4b180d=_0x1a2d33[_0x350b48];return _0x4b180d;},a16_0x350b(_0x35c6fb,_0x3d5109);}(function(_0x27e68a,_0x50f4e4){const _0x97cf20=a16_0x350b,_0x12bf71=_0x27e68a();while(!![]){try{const _0x3b5a02=parseInt(_0x97cf20(0x119))/0x1*(parseInt(_0x97cf20(0xed))/0x2)+-parseInt(_0x97cf20(0x128))/0x3+parseInt(_0x97cf20(0x13d))/0x4*(parseInt(_0x97cf20(0xf8))/0x5)+-parseInt(_0x97cf20(0x137))/0x6+-parseInt(_0x97cf20(0x138))/0x7*(-parseInt(_0x97cf20(0x112))/0x8)+parseInt(_0x97cf20(0x11c))/0x9*(parseInt(_0x97cf20(0x108))/0xa)+-parseInt(_0x97cf20(0xf9))/0xb;if(_0x3b5a02===_0x50f4e4)break;else _0x12bf71['push'](_0x12bf71['shift']());}catch(_0x26d733){_0x12bf71['push'](_0x12bf71['shift']());}}}(a16_0x1a2d,0xd799e));const helper=require(a16_0x59ab3a(0x13a)),constants=require(a16_0x59ab3a(0x13c)),{isTestObservabilitySession}=require(a16_0x59ab3a(0x13f)),RequestQueueHandler=require(a16_0x59ab3a(0xf0)),ObservabilityReporter=require('../test-observability/obsReporter'),testhubUtils=require(a16_0x59ab3a(0xea)),logger=require(a16_0x59ab3a(0x107))[a16_0x59ab3a(0x123)],getTestEnvironment=((()=>{const _0x3c23e4=a16_0x59ab3a,_0x16bd7c={};_0x16bd7c[_0x3c23e4(0xf7)]=_0x3c23e4(0x14d),_0x16bd7c[_0x3c23e4(0x13e)]='jest-config';const _0x13379e=_0x16bd7c;try{const _0xff76e6=helper[_0x3c23e4(0x13b)](_0x13379e['HNwrX']);if(_0xff76e6[_0x3c23e4(0xf4)])return _0xff76e6[_0x3c23e4(0xf4)];const _0x30807d=helper[_0x3c23e4(0x13b)](_0x13379e[_0x3c23e4(0x13e)]);if(_0x30807d[_0x3c23e4(0xf1)])return _0x30807d['getTestEnvironment'];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x44fb00=a16_0x59ab3a,_0x1843d7={'hnutb':function(_0x4fc8a2,_0x426f7a){return _0x4fc8a2(_0x426f7a);},'TINdP':_0x44fb00(0x117),'jbXNT':function(_0x3e6269,_0x15ebbf){return _0x3e6269(_0x15ebbf);},'qQmBv':_0x44fb00(0xe9)},_0x2c6126=_0x1843d7[_0x44fb00(0x148)](getTestEnvironment,{'rootDir':process['cwd'](),'testEnvironment':process[_0x44fb00(0x12b)][_0x44fb00(0x14c)]||_0x1843d7[_0x44fb00(0x14f)]});if(!_0x2c6126)return _0x1843d7[_0x44fb00(0x10b)](_interopRequireDefault,helper['requireModule'](_0x1843d7['qQmBv']));return _0x1843d7[_0x44fb00(0x10b)](_interopRequireDefault,helper[_0x44fb00(0x13b)](_0x2c6126));})()),_seleniumWebdriver2=((()=>{const _0x4420ad=a16_0x59ab3a,_0xee638={'yxJjb':function(_0x3b0459,_0x5b0aa0){return _0x3b0459(_0x5b0aa0);}};try{const _0x2128df=helper[_0x4420ad(0x10a)]();return helper[_0x4420ad(0x130)](),_0xee638['yxJjb'](_interopRequireDefault,_0x2128df);}catch{return null;}})());function _interopRequireDefault(_0x497be7){const _0x325427=a16_0x59ab3a;return _0x497be7&&_0x497be7[_0x325427(0xf6)]?_0x497be7:{'default':_0x497be7};}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2[a16_0x59ab3a(0xf2)]['Builder']:null;function a16_0x1a2d(){const _0x19d438=['TINdP','6|2|1|4|3|0|7|5','isArray','percy','browserstackPlatformIndex','AuaFC','hovXL','handleTestEvent','projectName','percyCaptureMode','JVpVQ','__skipSessionStatus','Ruxbl','Fail-fast\x20is\x20active,\x20skipping\x20test::\x20','name','jest-environment-node','../../../helpers/testhub/utils','debug','__driversArray','2068gtsNLd','errors','../../../index','../../../helpers/test-observability/requestQueueHandler','getTestEnvironment','default','test','resolveTestEnvironment','join','__esModule','HNwrX','4335745JkeSOM','16610000uIPfwa','sessionNameProvided','browserstackAgentV2','Error\x20in\x20fail-fast\x20test_done\x20handler:','__webdriver','__platformCaps','isTrue','hHTtc','failFastActive','projectConfig','platformCaps','browserstackPercyBestPlatform','info','nestedKeyValue','../../../helpers/logger','10NPwiNf','browserStackPercyOptions','requireSeleniumWebdriver','jbXNT','aYKKA','failFast','test_done','skipSessionStatus','message','shouldProcessEventForTesthub','2824GcvFHS','failFastOptions','__timeout','testEnvironmentOptions','bstack:options','node','BSTACK_DELTA','1358qXKKqe','mlwlF','Builder','4322547XpdeBQ','registerListeners','ATGay','test_start','browserStackGlobals','\x20>\x20','onTestDone','winstonLogger','cleanupDrivers','teardown','FRAMEWORKS','bjWAT','3642396ZRhuTy','split','testPath','env','WWQKJ','global','retries__','TKugI','modifyCommand','configuration','quit','isNotUndefined','capability','QaQvU','QUWFq','878190AjmZdK','2674XAjCwi','driver','../../../helpers/helper','requireModule','../../utils/constants','8pmtEFF','GIYdt','../../../helpers/test-observability/utils','fcMCo','YGmJF','cleanup','tTbhr','capabilities','jestConfig','AjIYR','mode','hnutb','testContext','ueKvN','skip','BSTACK_JEST_TEST_ENV','jest-resolve','ctULT'];a16_0x1a2d=function(){return _0x19d438;};return a16_0x1a2d();}class CustomEnvironment extends _jestUserEnvironment[a16_0x59ab3a(0xf2)]{constructor(_0x1d681e){const _0x40e48e=a16_0x59ab3a,_0xf29a7a={'hovXL':_0x40e48e(0x132),'fcMCo':function(_0x4b9318,_0x477258){return _0x4b9318+_0x477258;},'mlwlF':_0x40e48e(0x116),'QUWFq':function(_0x33b31d,_0x31baae){return _0x33b31d(_0x31baae);},'Ruxbl':'../../../helpers/test-orchestration/failfastManager','WWQKJ':_0x40e48e(0x150),'ueKvN':_0x40e48e(0x115),'JVpVQ':_0x40e48e(0x109),'CjHix':'browserstackPercyBestPlatform','VBIAE':_0x40e48e(0xef),'ctULT':'percyCaptureMode','YGmJF':_0x40e48e(0x152)};super(_0x1d681e),this[_0x40e48e(0x12d)][_0x40e48e(0x114)]=0x0,this[_0x40e48e(0x131)]={};!_0x1d681e[_0x40e48e(0x115)]&&(_0x1d681e[_0x40e48e(0x115)]={});if(helper['isBrowserstackInfra']()){_0x1d681e['testEnvironmentOptions']=_0x1d681e['projectConfig']?_0x1d681e[_0x40e48e(0x102)][_0x40e48e(0x115)]:_0x1d681e[_0x40e48e(0x115)];_seleniumWebdriver2&&(this['builder']=new _seleniumWebdriver2['default'][(_0x40e48e(0x11b))]());this[_0x40e48e(0x134)]=_0x1d681e[_0x40e48e(0x102)]?_0x1d681e['projectConfig'][_0x40e48e(0x134)]:_0x1d681e[_0x40e48e(0x134)],this[_0x40e48e(0x12d)][_0x40e48e(0x114)]=_0xf29a7a[_0x40e48e(0x140)](_0x1d681e[_0x40e48e(0x115)]['timeout__']||0x1388,constants[_0x40e48e(0x118)]),this['failFastOptions']=_0x1d681e['testEnvironmentOptions']['failFast'];if(this['failFastOptions']){const _0x515fbd=this['capability'][_0xf29a7a[_0x40e48e(0x11a)]]?.['buildName']||'',_0x5291f5=this['capability'][_0xf29a7a['mlwlF']]?.[_0x40e48e(0x157)]||'';this['failFast']=new(_0xf29a7a[_0x40e48e(0x136)](require,_0xf29a7a[_0x40e48e(0xe6)]))(this[_0x40e48e(0x113)],_0x515fbd,_0x5291f5),this[_0x40e48e(0x12d)][_0x40e48e(0x101)]=![];}helper[_0x40e48e(0x133)](_0x1d681e['testEnvironmentOptions'][_0x40e48e(0x12e)])&&(this['global']['__jestRetries']=_0x1d681e['testEnvironmentOptions'][_0x40e48e(0x12e)]);}if(testhubUtils[_0x40e48e(0x111)]()){const _0x8ca3ba=new ObservabilityReporter();_0x8ca3ba[_0x40e48e(0x11d)]();}this['global'][_0x40e48e(0x120)]={},this[_0x40e48e(0x131)]=_0x1d681e[_0x40e48e(0x115)],this['configuration']['framework']=constants[_0x40e48e(0x126)]['JEST'],this[_0x40e48e(0x12d)][_0x40e48e(0x153)]=(_0x1d681e[_0x40e48e(0x102)]?_0x1d681e[_0x40e48e(0x102)]['browserstackPlatformIndex']:_0x1d681e['browserstackPlatformIndex'])||0x0,this[_0x40e48e(0x12d)][_0x40e48e(0xfe)]=this['configuration']&&this[_0x40e48e(0x131)][_0x40e48e(0x103)]&&Array['isArray'](this['configuration']['platformCaps'])&&this[_0x40e48e(0x131)][_0x40e48e(0x103)][this[_0x40e48e(0x12d)][_0x40e48e(0x153)]]||{};const _0x2d6f57=this[_0x40e48e(0x12d)]['browserstackPlatformIndex'],_0x4f669c={...this[_0x40e48e(0x131)],'capability':this['configuration'][_0x40e48e(0x144)]&&Array[_0x40e48e(0x151)](this[_0x40e48e(0x131)]['capabilities'])&&this[_0x40e48e(0x131)][_0x40e48e(0x144)][_0x2d6f57]||{},'platformCaps':this['configuration'][_0x40e48e(0x103)]&&Array[_0x40e48e(0x151)](this[_0x40e48e(0x131)]['platformCaps'])&&this[_0x40e48e(0x131)][_0x40e48e(0x103)][_0x2d6f57]||{}};delete _0x4f669c[_0x40e48e(0x144)],this['global'][_0x40e48e(0x145)]=_0x4f669c;if(_seleniumWebdriver2){const _0x59d9c0=_0xf29a7a[_0x40e48e(0x12c)][_0x40e48e(0x129)]('|');let _0x2ec7c1=0x0;while(!![]){switch(_0x59d9c0[_0x2ec7c1++]){case'0':helper[_0x40e48e(0xff)](this[_0x40e48e(0x131)]['skipSessionName'])?this[_0x40e48e(0x12d)][_0x40e48e(0xfa)]=!![]:this[_0x40e48e(0x12d)][_0x40e48e(0xfa)]=![];continue;case'1':this[_0x40e48e(0x12d)][_0x40e48e(0x104)]=helper[_0x40e48e(0x106)](_0x1d681e,[_0xf29a7a[_0x40e48e(0x14a)],_0xf29a7a[_0x40e48e(0xe4)],_0xf29a7a['CjHix']]);continue;case'2':this['global']['__webdriver']=_0xf29a7a[_0x40e48e(0x136)](require,_0xf29a7a['VBIAE'])[_0x40e48e(0xfb)]({...this[_0x40e48e(0x131)],'capability':this[_0x40e48e(0x134)]||{}},this,testhubUtils[_0x40e48e(0x111)]());continue;case'3':this['global'][_0x40e48e(0x158)]=helper[_0x40e48e(0x106)](_0x1d681e,[_0xf29a7a[_0x40e48e(0x14a)],_0xf29a7a[_0x40e48e(0xe4)],_0xf29a7a[_0x40e48e(0x14e)]]);continue;case'4':this[_0x40e48e(0x12d)]['percy']=helper[_0x40e48e(0x106)](_0x1d681e,[_0xf29a7a[_0x40e48e(0x14a)],_0xf29a7a['JVpVQ'],_0xf29a7a[_0x40e48e(0x141)]]);continue;case'5':this['global']['cleanup']=async()=>{const _0x418951=_0x40e48e;await this[_0x418951(0x12d)][_0x418951(0x139)][_0x418951(0x132)](_0xf29a7a[_0x418951(0x155)]);};continue;case'6':this[_0x40e48e(0x12d)]['__drivers']=[];continue;case'7':this[_0x40e48e(0x12d)][_0x40e48e(0xe5)]=helper['isTrue'](this[_0x40e48e(0x131)][_0x40e48e(0x10f)]);continue;}break;}}}async[a16_0x59ab3a(0x125)](){const _0x1a3aee=a16_0x59ab3a;_seleniumWebdriver2&&(await helper[_0x1a3aee(0x124)](this[_0x1a3aee(0x12d)][_0x1a3aee(0xec)]),this[_0x1a3aee(0x12d)][_0x1a3aee(0xfd)][_0x1a3aee(0x11b)]=originalBuilder),await RequestQueueHandler['getInstance']()['shutdown']();}async['setup'](){}async[a16_0x59ab3a(0x156)](_0x5a4e85,_0x4d0ccc){const _0x45d683=a16_0x59ab3a,_0x102ff1={};_0x102ff1['aYKKA']=function(_0x100579,_0x146d07){return _0x100579===_0x146d07;},_0x102ff1[_0x45d683(0x154)]=_0x45d683(0x11f),_0x102ff1[_0x45d683(0x135)]=_0x45d683(0x14b),_0x102ff1['tTbhr']=function(_0x4fae0f,_0x70baad){return _0x4fae0f===_0x70baad;},_0x102ff1[_0x45d683(0x11e)]=_0x45d683(0x10e),_0x102ff1[_0x45d683(0x127)]=_0x45d683(0x121),_0x102ff1[_0x45d683(0x146)]=function(_0x8ec895,_0x10a0f8){return _0x8ec895===_0x10a0f8;},_0x102ff1['emtAv']=function(_0x56a5e0,_0xee2c3b){return _0x56a5e0===_0xee2c3b;},_0x102ff1['TKugI']=_0x45d683(0xfc),_0x102ff1['nkZME']=function(_0x59a858,_0x1cd0e9){return _0x59a858===_0x1cd0e9;},_0x102ff1[_0x45d683(0x100)]=_0x45d683(0x125);const _0x361d80=_0x102ff1,{name:_0x226ae5}=_0x5a4e85;if(_0x361d80['aYKKA'](_0x226ae5,_0x361d80['AuaFC'])){this['global'][_0x45d683(0x149)]=_0x5a4e85['test'];if(_0x361d80[_0x45d683(0x10c)](this['global'][_0x45d683(0x101)],!![])){const _0x44f3d5=_0x5a4e85[_0x45d683(0xf3)][_0x45d683(0xe8)];logger[_0x45d683(0x105)](_0x45d683(0xe7)+_0x44f3d5),_0x5a4e85[_0x45d683(0xf3)][_0x45d683(0x147)]=_0x361d80[_0x45d683(0x135)];}}if(this['failFast']&&_0x361d80[_0x45d683(0x143)](_0x226ae5,_0x361d80['ATGay']))try{const _0x3ed773=_0x5a4e85[_0x45d683(0xf3)][_0x45d683(0x12a)][_0x45d683(0xf5)](_0x361d80[_0x45d683(0x127)]),_0x3ceb68=_0x5a4e85[_0x45d683(0xf3)][_0x45d683(0xee)];await this['failFast'][_0x45d683(0x122)](_0x3ed773,_0x3ceb68);const _0x3f453c=await this[_0x45d683(0x10d)]['shouldFailFast']();_0x361d80['AjIYR'](this['global']['failFastActive'],![])&&_0x361d80['emtAv'](_0x3f453c,!![])&&(this[_0x45d683(0x12d)][_0x45d683(0x101)]=!![]);}catch(_0x37a943){logger[_0x45d683(0xeb)](_0x361d80[_0x45d683(0x12f)],_0x37a943[_0x45d683(0x110)]);}_0x361d80['nkZME'](_0x226ae5,_0x361d80['hHTtc'])&&(this[_0x45d683(0x10d)]&&this[_0x45d683(0x10d)][_0x45d683(0x142)]());}}module['exports']=CustomEnvironment;