browserstack-node-sdk 1.53.3 → 1.53.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (193) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/nightwatch/command.js +1 -1
  79. package/src/bin/playwright/accessibility-helper.js +1 -1
  80. package/src/bin/playwright/command.js +1 -1
  81. package/src/bin/playwright/globalSetup.js +1 -1
  82. package/src/bin/playwright/mock-process.js +1 -1
  83. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  84. package/src/bin/playwright/patches.js +1 -1
  85. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  86. package/src/bin/playwright/reporter/reporter.js +1 -1
  87. package/src/bin/playwright/reporter/test-details.js +1 -1
  88. package/src/bin/playwright/sessionDetails.js +1 -1
  89. package/src/bin/puppeteer/patches.js +1 -1
  90. package/src/bin/puppeteer/sessionDetails.js +1 -1
  91. package/src/bin/puppeteer/test.setup.js +1 -1
  92. package/src/bin/runner.js +1 -1
  93. package/src/bin/setup.js +1 -1
  94. package/src/bin/test-runner/index.js +1 -1
  95. package/src/bin/test-runner/runTest.js +1 -1
  96. package/src/bin/test-runner/testWorker.js +1 -1
  97. package/src/bin/utils/apiUtilityMethods.js +1 -1
  98. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  99. package/src/bin/utils/constants.js +1 -1
  100. package/src/bin/utils/log4jsAppender.js +1 -1
  101. package/src/bin/utils/logPatcher.js +1 -1
  102. package/src/bin/utils/logReportingAPI.js +1 -1
  103. package/src/bin/utils/playwright-patcher.js +1 -1
  104. package/src/bin/utils/puppeteer-patcher.js +1 -1
  105. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  106. package/src/bin/utils/sharedUtils.js +1 -1
  107. package/src/bin/v2/TestInfo.js +1 -1
  108. package/src/bin/v2/browserstackCLI.js +1 -1
  109. package/src/bin/v2/cliUtils.js +1 -1
  110. package/src/bin/v2/customTagManager.js +1 -1
  111. package/src/bin/v2/eventDispatcher.js +1 -1
  112. package/src/bin/v2/framework/automationFramework.js +1 -1
  113. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  114. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  115. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  116. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  117. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  118. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  119. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  120. package/src/bin/v2/framework/testFramework.js +1 -1
  121. package/src/bin/v2/grpcClient.js +1 -1
  122. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  123. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  124. package/src/bin/v2/instances/trackedContext.js +1 -1
  125. package/src/bin/v2/instances/trackedInstance.js +1 -1
  126. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  127. package/src/bin/v2/modules/baseModule.js +1 -1
  128. package/src/bin/v2/modules/loadTestModule.js +1 -1
  129. package/src/bin/v2/modules/observabilityModule.js +1 -1
  130. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  131. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  132. package/src/bin/v2/modules/testhubModule.js +1 -1
  133. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  134. package/src/bin/v2/state/hookState.js +1 -1
  135. package/src/bin/v2/state/testFrameworkState.js +1 -1
  136. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  137. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  138. package/src/bin/v2/utils/jest-utils.js +1 -1
  139. package/src/bin/vanilla-js/command.js +1 -1
  140. package/src/browserStackSdk.js +1 -1
  141. package/src/helpers/BrowserStackSetup.js +1 -1
  142. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  143. package/src/helpers/accessibility-automation/constants.js +1 -1
  144. package/src/helpers/accessibility-automation/helper.js +1 -1
  145. package/src/helpers/accessibility-automation/scripts.js +1 -1
  146. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  147. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  148. package/src/helpers/ats/constants.js +1 -1
  149. package/src/helpers/ats/helper.js +1 -1
  150. package/src/helpers/capsMapping.js +1 -1
  151. package/src/helpers/central-scanner/constants.js +1 -1
  152. package/src/helpers/central-scanner/helpers.js +1 -1
  153. package/src/helpers/classLogger.js +1 -1
  154. package/src/helpers/globals.js +1 -1
  155. package/src/helpers/helper.js +1 -1
  156. package/src/helpers/logger.js +1 -1
  157. package/src/helpers/metadata.js +1 -1
  158. package/src/helpers/patchHelper.js +1 -1
  159. package/src/helpers/patchHelpers.js +1 -1
  160. package/src/helpers/percy/Percy.js +1 -1
  161. package/src/helpers/percy/PercyBinary.js +1 -1
  162. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  163. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  164. package/src/helpers/percy/PercySDK.js +1 -1
  165. package/src/helpers/percy/index.js +1 -1
  166. package/src/helpers/percy/utils.js +1 -1
  167. package/src/helpers/performance/constants.js +1 -1
  168. package/src/helpers/performance/performance-tester.js +1 -1
  169. package/src/helpers/playwright-helper.js +1 -1
  170. package/src/helpers/processHelper.js +1 -1
  171. package/src/helpers/puppeteer-helper.js +1 -1
  172. package/src/helpers/request-spy.js +1 -1
  173. package/src/helpers/setKeepAlive.js +1 -1
  174. package/src/helpers/test-observability/constants.js +1 -1
  175. package/src/helpers/test-observability/error-handler.js +1 -1
  176. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  177. package/src/helpers/test-observability/sessionHandler.js +1 -1
  178. package/src/helpers/test-observability/utils.js +1 -1
  179. package/src/helpers/test-orchestration/constants.js +1 -1
  180. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  181. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  182. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  183. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  184. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  185. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  186. package/src/helpers/testhub/constants.js +1 -1
  187. package/src/helpers/testhub/testhubHandler.js +1 -1
  188. package/src/helpers/testhub/utils.js +1 -1
  189. package/src/helpers/timeoutPromise.js +1 -1
  190. package/src/helpers/utilities.js +1 -1
  191. package/src/helpers/w3cMapping.js +1 -1
  192. package/src/hubAllocationMethods.js +1 -1
  193. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a49_0x279ea8=a49_0x4d6b;(function(_0x28ea29,_0x6ebbfd){const _0x4e9e52=a49_0x4d6b,_0x5613da=_0x28ea29();while(!![]){try{const _0x42427f=parseInt(_0x4e9e52(0x13e))/0x1*(parseInt(_0x4e9e52(0x156))/0x2)+-parseInt(_0x4e9e52(0x185))/0x3+parseInt(_0x4e9e52(0x151))/0x4*(parseInt(_0x4e9e52(0x189))/0x5)+-parseInt(_0x4e9e52(0x149))/0x6+-parseInt(_0x4e9e52(0x173))/0x7*(parseInt(_0x4e9e52(0x171))/0x8)+parseInt(_0x4e9e52(0x163))/0x9+-parseInt(_0x4e9e52(0x15c))/0xa;if(_0x42427f===_0x6ebbfd)break;else _0x5613da['push'](_0x5613da['shift']());}catch(_0x264234){_0x5613da['push'](_0x5613da['shift']());}}}(a49_0x3837,0x5ea6d));const path=require(a49_0x279ea8(0x168)),url=require(a49_0x279ea8(0x18d)),util=require(a49_0x279ea8(0x186)),{nestedKeyValue,isFalse}=require(a49_0x279ea8(0x16e)),{debug,getPlatformDetails}=require(a49_0x279ea8(0x155)),logger=require(a49_0x279ea8(0x148))[a49_0x279ea8(0x14a)],constants=require(a49_0x279ea8(0x150)),BrowserstackCLI=require(a49_0x279ea8(0x191)),AutomationFrameworkState=require('../v2/state/automationFrameworkState.js'),HookState=require(a49_0x279ea8(0x18c)),getBrowserFromWSEndpoint=_0x42450e=>{const _0x243b51=a49_0x279ea8,_0x2124a4={'ENXMl':_0x243b51(0x182),'zaQca':function(_0x563a19,_0x1295c3){return _0x563a19(_0x1295c3);}};try{const _0x2d7eda=url['parse'](_0x42450e),_0x23f9a0=new URLSearchParams(_0x2d7eda['query']),_0x5d87dc=Object['fromEntries'](_0x23f9a0[_0x243b51(0x147)]()),_0x4a6b6b=JSON[_0x243b51(0x16b)](_0x5d87dc[_0x243b51(0x169)]);if(_0x4a6b6b&&(_0x4a6b6b[_0x243b51(0x181)]||_0x4a6b6b[_0x243b51(0x141)]))return _0x4a6b6b[_0x243b51(0x181)]||_0x4a6b6b['browserName'];return _0x2124a4[_0x243b51(0x152)];}catch(_0x336149){_0x2124a4[_0x243b51(0x158)](debug,_0x243b51(0x15e)+_0x336149[_0x243b51(0x187)]());}},getCloudProviderFromWsEndpoint=_0x22f4a1=>{const _0x359a15=a49_0x279ea8,_0xec6939={};_0xec6939['ZcNHU']='browserstack',_0xec6939[_0x359a15(0x13a)]=_0x359a15(0x145);const _0x1c0723=_0xec6939;if(_0x22f4a1[_0x359a15(0x16f)](constants['BSTACK_URL'])||_0x22f4a1[_0x359a15(0x16f)](constants[_0x359a15(0x142)]))return _0x1c0723[_0x359a15(0x18e)];return _0x1c0723[_0x359a15(0x13a)];},a49_0x4e7fad={};a49_0x4e7fad[a49_0x279ea8(0x178)]=undefined,a49_0x4e7fad[a49_0x279ea8(0x183)]=undefined,a49_0x4e7fad[a49_0x279ea8(0x181)]=undefined,a49_0x4e7fad['browser_version']=undefined,a49_0x4e7fad[a49_0x279ea8(0x136)]=undefined,a49_0x4e7fad[a49_0x279ea8(0x177)]=undefined,a49_0x4e7fad[a49_0x279ea8(0x17c)]=undefined,a49_0x4e7fad[a49_0x279ea8(0x179)]={};function a49_0x4d6b(_0x4ed532,_0x4e3595){const _0x3837cd=a49_0x3837();return a49_0x4d6b=function(_0x4d6b59,_0x73d67b){_0x4d6b59=_0x4d6b59-0x134;let _0x1f1500=_0x3837cd[_0x4d6b59];return _0x1f1500;},a49_0x4d6b(_0x4ed532,_0x4e3595);}class PuppeteerSessionDetails{static [a49_0x279ea8(0x172)]=a49_0x4e7fad;constructor(){const _0x96eeed=a49_0x279ea8,_0x38b4cf={};_0x38b4cf['MNfLx']=_0x96eeed(0x14b);const _0x1203a2=_0x38b4cf;throw new Error(_0x1203a2[_0x96eeed(0x161)]);}static ['sessionError']=null;static async[a49_0x279ea8(0x180)](_0x443906,_0x20383c){const _0x3c52e0=a49_0x279ea8,_0x950344={'SHFLe':_0x3c52e0(0x182),'ifdlX':function(_0x3697c4,_0x187a0a){return _0x3697c4===_0x187a0a;},'TsArO':'function','CUybD':'local_grid','TVOim':function(_0x1e6b53,_0x26c62c){return _0x1e6b53(_0x26c62c);},'lKDcN':function(_0x3922fb,_0x184188){return _0x3922fb===_0x184188;},'GSvyf':_0x3c52e0(0x137),'ZNEnm':'turboscale','cLCAX':_0x3c52e0(0x164),'AdMcD':function(_0x1de296,_0x8b0017){return _0x1de296(_0x8b0017);},'wElBG':function(_0x5a78d1){return _0x5a78d1();},'wdqAt':function(_0x58de42){return _0x58de42();},'QlRqN':function(_0x1a7473,_0x42c3a8){return _0x1a7473(_0x42c3a8);}};try{let _0x1a80d0=_0x950344[_0x3c52e0(0x176)],_0x167739=null;_0x443906&&_0x950344['ifdlX'](typeof _0x443906[_0x3c52e0(0x14f)],_0x950344['TsArO'])&&(_0x167739=await _0x443906[_0x3c52e0(0x14f)]());let _0x52fa9e=null,_0xf16ed1=null,_0x1db14f=null,_0x52ae08=_0x950344[_0x3c52e0(0x153)];if(_0x20383c){_0x52ae08=_0x950344[_0x3c52e0(0x166)](getCloudProviderFromWsEndpoint,_0x20383c);if(_0x950344[_0x3c52e0(0x143)](_0x52ae08,_0x950344[_0x3c52e0(0x15f)]))_0x1db14f=constants['ATS_WSS_URL_REGEX']?constants[_0x3c52e0(0x14d)][_0x3c52e0(0x13b)](_0x20383c)?_0x950344[_0x3c52e0(0x188)]:_0x950344[_0x3c52e0(0x135)]:_0x950344[_0x3c52e0(0x135)],_0x1a80d0=_0x950344[_0x3c52e0(0x17a)](getBrowserFromWSEndpoint,_0x20383c)||_0x1a80d0,_0x52fa9e=this[_0x3c52e0(0x172)][_0x3c52e0(0x136)],_0xf16ed1=this[_0x3c52e0(0x172)][_0x3c52e0(0x177)];else{const _0x24b2f9=await _0x950344[_0x3c52e0(0x140)](getPlatformDetails);_0x52fa9e=_0x24b2f9[_0x3c52e0(0x162)],_0xf16ed1=_0x24b2f9[_0x3c52e0(0x138)];}}else{const _0x3d3589=await _0x950344[_0x3c52e0(0x13c)](getPlatformDetails);_0x52fa9e=_0x3d3589[_0x3c52e0(0x162)],_0xf16ed1=_0x3d3589['platformVersion'];}const _0x43d4cb={};_0x43d4cb[_0x3c52e0(0x181)]=_0x1a80d0,_0x43d4cb[_0x3c52e0(0x144)]=_0x167739,_0x43d4cb[_0x3c52e0(0x179)]={},_0x43d4cb['platform']=_0x52fa9e,_0x43d4cb[_0x3c52e0(0x177)]=_0xf16ed1,_0x43d4cb['product']=_0x1db14f;const _0x4a81bf=_0x43d4cb,_0x19fc44={};_0x19fc44['cloudProvider']=_0x52ae08,this[_0x3c52e0(0x172)]=Object[_0x3c52e0(0x146)]({},this[_0x3c52e0(0x172)],_0x19fc44,_0x4a81bf);}catch(_0x419df6){_0x950344['QlRqN'](debug,'Error\x20in\x20setupBrowserDetails:\x20'+util[_0x3c52e0(0x17e)](_0x419df6)),this[_0x3c52e0(0x159)]=_0x419df6[_0x3c52e0(0x187)]();}}static['patchConnection'](_0x56a7ad){const _0x115213=a49_0x279ea8,_0x4652a5={'GnPxG':function(_0x2dd1e9,_0x4bd0b3){return _0x2dd1e9===_0x4bd0b3;},'flJsg':'string','QvIgi':function(_0x28f884,_0x2dec45){return _0x28f884(_0x2dec45);},'BTfoC':function(_0x917710,_0x1fd6e8){return _0x917710(_0x1fd6e8);},'qCWrY':_0x115213(0x13d)},_0x897c16=this;try{const _0x153ef2=_0x56a7ad[_0x115213(0x192)]||_0x56a7ad[_0x115213(0x190)];if(!_0x153ef2||_0x153ef2['_bstackPatched'])return;const _0x368f27=_0x153ef2['onmessage'];_0x153ef2[_0x115213(0x14e)]=function(_0xe6e7fc){const _0x370c60=_0x115213;try{const _0x5a1d68=_0x4652a5[_0x370c60(0x13f)](typeof _0xe6e7fc,_0x4652a5[_0x370c60(0x18b)])?JSON[_0x370c60(0x16b)](_0xe6e7fc):_0xe6e7fc,_0x220cad=_0x5a1d68?.[_0x370c60(0x165)]||_0x5a1d68?.[_0x370c60(0x154)]||_0x5a1d68?.['params']?.['bsParams']||_0x5a1d68?.[_0x370c60(0x14c)]?.[_0x370c60(0x165)]||_0x5a1d68?.[_0x370c60(0x17f)]?.[_0x370c60(0x154)]||_0x5a1d68?.[_0x370c60(0x17f)]?.[_0x370c60(0x165)];if(_0x220cad){if(BrowserstackCLI['getInstance']()[_0x370c60(0x134)]()){const _0xc3d23f={};_0xc3d23f[_0x370c60(0x18f)]=_0x5a1d68,BrowserstackCLI[_0x370c60(0x15b)]()[_0x370c60(0x157)]()[_0x370c60(0x16d)](AutomationFrameworkState[_0x370c60(0x17b)],HookState[_0x370c60(0x18a)],_0xc3d23f);}else{const _0x23b9bb=_0x220cad['sessionId'],_0x325b0a=_0x220cad[_0x370c60(0x139)];_0x325b0a&&(_0x4652a5['QvIgi'](debug,_0x370c60(0x15d)+JSON[_0x370c60(0x184)](_0x325b0a)),_0x897c16['currentSessionDetails'][_0x370c60(0x136)]=_0x325b0a[_0x370c60(0x162)],_0x897c16['currentSessionDetails'][_0x370c60(0x177)]=_0x325b0a[_0x370c60(0x138)]),_0x23b9bb&&(_0x4652a5[_0x370c60(0x16c)](debug,_0x370c60(0x15a)+_0x23b9bb),_0x897c16[_0x370c60(0x172)]['bsSessionId']=_0x23b9bb);}_0x4652a5[_0x370c60(0x13f)](typeof _0xe6e7fc,_0x4652a5['flJsg'])&&(delete _0x5a1d68[_0x370c60(0x165)],delete _0x5a1d68[_0x370c60(0x154)],_0x5a1d68[_0x370c60(0x14c)]&&(delete _0x5a1d68[_0x370c60(0x14c)][_0x370c60(0x154)],delete _0x5a1d68['params']['bStackParams']),_0x5a1d68['result']&&(delete _0x5a1d68[_0x370c60(0x17f)]['bsParams'],delete _0x5a1d68[_0x370c60(0x17f)][_0x370c60(0x165)]));}}catch(_0x4c650b){_0x4652a5[_0x370c60(0x167)](debug,'Error\x20extracting\x20bsParams\x20from\x20CDP\x20message:\x20'+_0x4c650b[_0x370c60(0x18f)]);}return _0x368f27?.[_0x370c60(0x16a)](this,arguments);},_0x153ef2[_0x115213(0x170)]=!![],logger[_0x115213(0x160)](_0x4652a5['qCWrY']);}catch(_0xece624){_0x4652a5[_0x115213(0x16c)](debug,_0x115213(0x174)+util['format'](_0xece624)),_0x897c16[_0x115213(0x159)]=_0xece624[_0x115213(0x187)]();}}static[a49_0x279ea8(0x175)](){const _0x335108=a49_0x279ea8;return this[_0x335108(0x172)];}}module[a49_0x279ea8(0x17d)]=PuppeteerSessionDetails;function a49_0x3837(){const _0x48bb42=['platformDetails','EZbWl','test','wdqAt','[PuppeteerSessionDetails]\x20Connection\x20patched\x20for\x20session\x20capture','1bumkrX','GnPxG','wElBG','browserName','BSTACK_ATS_URL','lKDcN','browser_version','unknown_grid','assign','entries','../../helpers/logger','158976vRqyVG','winstonLogger','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','params','ATS_WSS_URL_REGEX','onmessage','version','../utils/constants','4kiwsFg','ENXMl','CUybD','bsParams','../../helpers/test-observability/utils','578348FuqRbU','getAutomationFramework','zaQca','sessionError','Setting\x20session\x20id\x20received\x20from\x20BS\x20','getInstance','8628570DKSXyX','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','GSvyf','debug','MNfLx','platformName','6869637Rrznbs','automate','bStackParams','TVOim','BTfoC','path','caps','apply','parse','QvIgi','trackEvent','../../helpers/helper','includes','_bstackPatched','656lqnIpT','currentSessionDetails','8253TlFtcZ','Error\x20in\x20patchConnection:\x20','getDetails','SHFLe','platform_version','cloudProvider','capabilities','AdMcD','PLAYWRIGHT_DISPATCH','product','exports','format','result','setupBrowserDetails','browser','chrome','bsSessionId','stringify','1016820QAlVoo','util','toString','ZNEnm','3300985BkROHs','POST','flJsg','../v2/state/hookState.js','url','ZcNHU','message','connection','../v2/browserstackCLI','_connection','isRunning','cLCAX','platform','browserstack','platformVersion'];a49_0x3837=function(){return _0x48bb42;};return a49_0x3837();}
1
+ const a49_0x110859=a49_0x51b7;(function(_0x56c142,_0x2880e4){const _0x430ba8=a49_0x51b7,_0x31f788=_0x56c142();while(!![]){try{const _0x2379b0=parseInt(_0x430ba8(0x10d))/0x1+parseInt(_0x430ba8(0x108))/0x2+-parseInt(_0x430ba8(0x14b))/0x3+parseInt(_0x430ba8(0x13f))/0x4*(-parseInt(_0x430ba8(0x139))/0x5)+parseInt(_0x430ba8(0x159))/0x6*(parseInt(_0x430ba8(0x152))/0x7)+-parseInt(_0x430ba8(0x137))/0x8*(parseInt(_0x430ba8(0x105))/0x9)+parseInt(_0x430ba8(0x162))/0xa*(parseInt(_0x430ba8(0x14e))/0xb);if(_0x2379b0===_0x2880e4)break;else _0x31f788['push'](_0x31f788['shift']());}catch(_0x20574a){_0x31f788['push'](_0x31f788['shift']());}}}(a49_0xcff8,0x80774));const path=require(a49_0x110859(0x100)),url=require(a49_0x110859(0x12f)),util=require('util'),{nestedKeyValue,isFalse}=require(a49_0x110859(0x134)),{debug,getPlatformDetails}=require(a49_0x110859(0x124)),logger=require(a49_0x110859(0x107))[a49_0x110859(0x104)],constants=require('../utils/constants'),BrowserstackCLI=require(a49_0x110859(0x15b)),AutomationFrameworkState=require(a49_0x110859(0x141)),HookState=require(a49_0x110859(0x102)),getBrowserFromWSEndpoint=_0x248ca7=>{const _0x5502b3=a49_0x110859,_0x267094={'ibOiz':_0x5502b3(0x109),'Ecjuo':function(_0x32fb42,_0x55a31f){return _0x32fb42(_0x55a31f);}};try{const _0xa2f3c6=url['parse'](_0x248ca7),_0x128c14=new URLSearchParams(_0xa2f3c6[_0x5502b3(0x10b)]),_0x310556=Object[_0x5502b3(0x147)](_0x128c14[_0x5502b3(0x15d)]()),_0x55bcd7=JSON[_0x5502b3(0x130)](_0x310556[_0x5502b3(0x156)]);if(_0x55bcd7&&(_0x55bcd7['browser']||_0x55bcd7[_0x5502b3(0x119)]))return _0x55bcd7[_0x5502b3(0x111)]||_0x55bcd7[_0x5502b3(0x119)];return _0x267094['ibOiz'];}catch(_0x1819f1){_0x267094[_0x5502b3(0x103)](debug,'Error\x20in\x20getting\x20browser\x20from\x20caps:\x20'+_0x1819f1[_0x5502b3(0x14d)]());}},getCloudProviderFromWsEndpoint=_0x36737b=>{const _0x1505d9=a49_0x110859,_0x5c429c={};_0x5c429c[_0x1505d9(0x146)]=_0x1505d9(0x11e),_0x5c429c[_0x1505d9(0x11b)]=_0x1505d9(0x160);const _0x588f9a=_0x5c429c;if(_0x36737b['includes'](constants[_0x1505d9(0x126)])||_0x36737b[_0x1505d9(0x10e)](constants[_0x1505d9(0x12e)]))return _0x588f9a[_0x1505d9(0x146)];return _0x588f9a['RvMBJ'];},a49_0x2c73fc={};function a49_0x51b7(_0x551f26,_0x3b5710){const _0xcff86e=a49_0xcff8();return a49_0x51b7=function(_0x51b778,_0x342e0d){_0x51b778=_0x51b778-0x100;let _0x1b57f6=_0xcff86e[_0x51b778];return _0x1b57f6;},a49_0x51b7(_0x551f26,_0x3b5710);}a49_0x2c73fc[a49_0x110859(0x13b)]=undefined,a49_0x2c73fc[a49_0x110859(0x122)]=undefined,a49_0x2c73fc[a49_0x110859(0x111)]=undefined,a49_0x2c73fc[a49_0x110859(0x132)]=undefined,a49_0x2c73fc[a49_0x110859(0x149)]=undefined,a49_0x2c73fc[a49_0x110859(0x142)]=undefined,a49_0x2c73fc[a49_0x110859(0x11f)]=undefined,a49_0x2c73fc[a49_0x110859(0x15e)]={};class PuppeteerSessionDetails{static [a49_0x110859(0x151)]=a49_0x2c73fc;constructor(){const _0x5c4a04=a49_0x110859,_0x22a2cd={};_0x22a2cd[_0x5c4a04(0x10f)]=_0x5c4a04(0x133);const _0x29c7d8=_0x22a2cd;throw new Error(_0x29c7d8[_0x5c4a04(0x10f)]);}static [a49_0x110859(0x116)]=null;static async['setupBrowserDetails'](_0x45f239,_0x1dc43d){const _0x4a96e2=a49_0x110859,_0x3faf98={'SABQv':_0x4a96e2(0x109),'XJFgE':function(_0x5f3749,_0x3809a3){return _0x5f3749===_0x3809a3;},'bXoUl':_0x4a96e2(0x121),'ZeHpS':'local_grid','KNfAe':function(_0x23e6ad,_0x1ffae9){return _0x23e6ad(_0x1ffae9);},'bWmNv':function(_0x327529,_0x14d4f8){return _0x327529===_0x14d4f8;},'NXuKi':_0x4a96e2(0x11e),'fyBaa':_0x4a96e2(0x129),'XrADw':_0x4a96e2(0x101),'LSMBO':function(_0x18ad2c){return _0x18ad2c();},'hThNr':function(_0x52bf42){return _0x52bf42();},'iIrGJ':function(_0x4e96b4,_0x196185){return _0x4e96b4(_0x196185);}};try{let _0x4fb488=_0x3faf98[_0x4a96e2(0x112)],_0x343594=null;_0x45f239&&_0x3faf98[_0x4a96e2(0x15c)](typeof _0x45f239['version'],_0x3faf98[_0x4a96e2(0x15f)])&&(_0x343594=await _0x45f239[_0x4a96e2(0x148)]());let _0x39d7f4=null,_0x83f948=null,_0x4d63c2=null,_0x9f7020=_0x3faf98[_0x4a96e2(0x12d)];if(_0x1dc43d){_0x9f7020=_0x3faf98[_0x4a96e2(0x161)](getCloudProviderFromWsEndpoint,_0x1dc43d);if(_0x3faf98[_0x4a96e2(0x153)](_0x9f7020,_0x3faf98[_0x4a96e2(0x143)]))_0x4d63c2=constants[_0x4a96e2(0x13e)]?constants[_0x4a96e2(0x13e)][_0x4a96e2(0x150)](_0x1dc43d)?_0x3faf98[_0x4a96e2(0x155)]:_0x3faf98[_0x4a96e2(0x158)]:_0x3faf98[_0x4a96e2(0x158)],_0x4fb488=_0x3faf98[_0x4a96e2(0x161)](getBrowserFromWSEndpoint,_0x1dc43d)||_0x4fb488,_0x39d7f4=this[_0x4a96e2(0x151)]['platform'],_0x83f948=this[_0x4a96e2(0x151)][_0x4a96e2(0x142)];else{const _0x397955=await _0x3faf98[_0x4a96e2(0x118)](getPlatformDetails);_0x39d7f4=_0x397955[_0x4a96e2(0x12a)],_0x83f948=_0x397955[_0x4a96e2(0x15a)];}}else{const _0x3975a8=await _0x3faf98[_0x4a96e2(0x117)](getPlatformDetails);_0x39d7f4=_0x3975a8['platformName'],_0x83f948=_0x3975a8[_0x4a96e2(0x15a)];}const _0x347cba={};_0x347cba[_0x4a96e2(0x111)]=_0x4fb488,_0x347cba['browser_version']=_0x343594,_0x347cba[_0x4a96e2(0x15e)]={},_0x347cba[_0x4a96e2(0x149)]=_0x39d7f4,_0x347cba[_0x4a96e2(0x142)]=_0x83f948,_0x347cba[_0x4a96e2(0x11f)]=_0x4d63c2;const _0xcb795e=_0x347cba,_0x1fd0f7={};_0x1fd0f7[_0x4a96e2(0x13b)]=_0x9f7020,this['currentSessionDetails']=Object['assign']({},this[_0x4a96e2(0x151)],_0x1fd0f7,_0xcb795e);}catch(_0x3ea96e){_0x3faf98[_0x4a96e2(0x14a)](debug,_0x4a96e2(0x13a)+util['format'](_0x3ea96e)),this[_0x4a96e2(0x116)]=_0x3ea96e[_0x4a96e2(0x14d)]();}}static[a49_0x110859(0x145)](_0x184f3f){const _0x56568d=a49_0x110859,_0x339a60={'Seoyh':function(_0x5956c2,_0x561886){return _0x5956c2===_0x561886;},'sjelv':_0x56568d(0x128),'MGAao':function(_0x4b681c,_0x3e562f){return _0x4b681c(_0x3e562f);},'VFcyc':function(_0x129def,_0x34c776){return _0x129def(_0x34c776);},'blMCt':_0x56568d(0x14f),'qJoaS':function(_0x335229,_0x8d214c){return _0x335229(_0x8d214c);}},_0xd34640=this;try{const _0x1077fd=_0x184f3f[_0x56568d(0x144)]||_0x184f3f['connection'];if(!_0x1077fd||_0x1077fd[_0x56568d(0x10a)])return;const _0x130f5d=_0x1077fd[_0x56568d(0x12c)];_0x1077fd[_0x56568d(0x12c)]=function(_0x452898){const _0x2318df=_0x56568d;try{const _0x37c7b7=_0x339a60[_0x2318df(0x138)](typeof _0x452898,_0x339a60[_0x2318df(0x11a)])?JSON[_0x2318df(0x130)](_0x452898):_0x452898,_0x33afa8=_0x37c7b7?.[_0x2318df(0x11c)]||_0x37c7b7?.[_0x2318df(0x13d)]||_0x37c7b7?.['params']?.[_0x2318df(0x13d)]||_0x37c7b7?.['params']?.[_0x2318df(0x11c)]||_0x37c7b7?.[_0x2318df(0x14c)]?.['bsParams']||_0x37c7b7?.[_0x2318df(0x14c)]?.[_0x2318df(0x11c)];if(_0x33afa8){if(BrowserstackCLI[_0x2318df(0x110)]()[_0x2318df(0x13c)]()){const _0x5cb215={};_0x5cb215['message']=_0x37c7b7,BrowserstackCLI[_0x2318df(0x110)]()[_0x2318df(0x113)]()[_0x2318df(0x127)](AutomationFrameworkState[_0x2318df(0x120)],HookState[_0x2318df(0x131)],_0x5cb215);}else{const _0x2099db=_0x33afa8[_0x2318df(0x115)],_0x25db43=_0x33afa8[_0x2318df(0x123)];_0x25db43&&(_0x339a60[_0x2318df(0x12b)](debug,_0x2318df(0x140)+JSON[_0x2318df(0x11d)](_0x25db43)),_0xd34640[_0x2318df(0x151)][_0x2318df(0x149)]=_0x25db43[_0x2318df(0x12a)],_0xd34640[_0x2318df(0x151)][_0x2318df(0x142)]=_0x25db43[_0x2318df(0x15a)]),_0x2099db&&(_0x339a60[_0x2318df(0x114)](debug,'Setting\x20session\x20id\x20received\x20from\x20BS\x20'+_0x2099db),_0xd34640['currentSessionDetails'][_0x2318df(0x122)]=_0x2099db);}_0x339a60[_0x2318df(0x138)](typeof _0x452898,_0x339a60[_0x2318df(0x11a)])&&(delete _0x37c7b7[_0x2318df(0x11c)],delete _0x37c7b7[_0x2318df(0x13d)],_0x37c7b7[_0x2318df(0x125)]&&(delete _0x37c7b7['params'][_0x2318df(0x13d)],delete _0x37c7b7[_0x2318df(0x125)][_0x2318df(0x11c)]),_0x37c7b7['result']&&(delete _0x37c7b7[_0x2318df(0x14c)]['bsParams'],delete _0x37c7b7[_0x2318df(0x14c)]['bStackParams']));}}catch(_0x29261f){_0x339a60[_0x2318df(0x12b)](debug,'Error\x20extracting\x20bsParams\x20from\x20CDP\x20message:\x20'+_0x29261f[_0x2318df(0x135)]);}return _0x130f5d?.[_0x2318df(0x10c)](this,arguments);},_0x1077fd[_0x56568d(0x10a)]=!![],logger[_0x56568d(0x157)](_0x339a60[_0x56568d(0x154)]);}catch(_0x3bf1b1){_0x339a60['qJoaS'](debug,'Error\x20in\x20patchConnection:\x20'+util[_0x56568d(0x136)](_0x3bf1b1)),_0xd34640[_0x56568d(0x116)]=_0x3bf1b1['toString']();}}static['getDetails'](){const _0x539cb4=a49_0x110859;return this[_0x539cb4(0x151)];}}module[a49_0x110859(0x106)]=PuppeteerSessionDetails;function a49_0xcff8(){const _0x68f2bf=['../v2/state/automationFrameworkState.js','platform_version','NXuKi','_connection','patchConnection','IUrnI','fromEntries','version','platform','iIrGJ','2534421fQNtUH','result','toString','18076179PXtbcs','[PuppeteerSessionDetails]\x20Connection\x20patched\x20for\x20session\x20capture','test','currentSessionDetails','3038HTfTCS','bWmNv','blMCt','fyBaa','caps','debug','XrADw','540qDZlRO','platformVersion','../v2/browserstackCLI','XJFgE','entries','capabilities','bXoUl','unknown_grid','KNfAe','10RfdcTk','path','automate','../v2/state/hookState.js','Ecjuo','winstonLogger','508140DxWrec','exports','../../helpers/logger','340700ESkeUR','chrome','_bstackPatched','query','apply','702829Odrijc','includes','OBbxH','getInstance','browser','SABQv','getAutomationFramework','VFcyc','sessionId','sessionError','hThNr','LSMBO','browserName','sjelv','RvMBJ','bStackParams','stringify','browserstack','product','PLAYWRIGHT_DISPATCH','function','bsSessionId','platformDetails','../../helpers/test-observability/utils','params','BSTACK_URL','trackEvent','string','turboscale','platformName','MGAao','onmessage','ZeHpS','BSTACK_ATS_URL','url','parse','POST','browser_version','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','../../helpers/helper','message','format','80pkLziS','Seoyh','4525pvkmEV','Error\x20in\x20setupBrowserDetails:\x20','cloudProvider','isRunning','bsParams','ATS_WSS_URL_REGEX','2740yfaUsh','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20'];a49_0xcff8=function(){return _0x68f2bf;};return a49_0xcff8();}
@@ -1 +1 @@
1
- const a50_0x115cdd=a50_0x41df;(function(_0x11c922,_0x4a0a1b){const _0x49cfa7=a50_0x41df,_0x4ddf68=_0x11c922();while(!![]){try{const _0x1ce1c2=-parseInt(_0x49cfa7(0xde))/0x1*(parseInt(_0x49cfa7(0xcf))/0x2)+-parseInt(_0x49cfa7(0xe2))/0x3*(-parseInt(_0x49cfa7(0xdc))/0x4)+parseInt(_0x49cfa7(0xec))/0x5+parseInt(_0x49cfa7(0xe3))/0x6*(parseInt(_0x49cfa7(0xf6))/0x7)+parseInt(_0x49cfa7(0xe9))/0x8+parseInt(_0x49cfa7(0xce))/0x9+-parseInt(_0x49cfa7(0xf7))/0xa;if(_0x1ce1c2===_0x4a0a1b)break;else _0x4ddf68['push'](_0x4ddf68['shift']());}catch(_0x290e58){_0x4ddf68['push'](_0x4ddf68['shift']());}}}(a50_0x3494,0x3299b));function a50_0x41df(_0x1104f3,_0x5acb29){const _0x349493=a50_0x3494();return a50_0x41df=function(_0x41df8c,_0x4c4d57){_0x41df8c=_0x41df8c-0xcc;let _0x960505=_0x349493[_0x41df8c];return _0x960505;},a50_0x41df(_0x1104f3,_0x5acb29);}const {isTrue,isBrowserstackInfra}=require(a50_0x115cdd(0xed)),setKeepAlive=require(a50_0x115cdd(0xf9)),util=require(a50_0x115cdd(0xcc)),logger=require(a50_0x115cdd(0xdb))[a50_0x115cdd(0xf3)],{shouldProcessEventForTesthub}=require(a50_0x115cdd(0xd5)),{addRequestSpy}=require(a50_0x115cdd(0xe5)),a50_0xc01172={};a50_0xc01172[a50_0x115cdd(0xda)]=undefined,a50_0xc01172[a50_0x115cdd(0xef)]={},a50_0xc01172[a50_0x115cdd(0xf0)]=![],a50_0xc01172[a50_0x115cdd(0xdd)]=null,a50_0xc01172[a50_0x115cdd(0xf5)]=![],a50_0xc01172[a50_0x115cdd(0xef)]['id']=undefined,a50_0xc01172[a50_0x115cdd(0xef)][a50_0x115cdd(0xf4)]=undefined;const workerDetails=a50_0xc01172;global['__workerDetails']=workerDetails;function a50_0x3494(){const _0x1dc4e6=['isPageFixture','511yMXLTa','11622660aUFwXI','puppeteer','../../helpers/setKeepAlive','__skipSessionStatus','BROWSERSTACK_PUPPETEER','[PuppeteerTestSetup]\x20Bootstrapping\x20BrowserstackCLI\x20for\x20Jest\x20worker','../v2/cliUtils','util','skipSessionName','3293613HcZVUm','207812opmJVi','jestConfig','[PuppeteerTestSetup]\x20Error\x20reading\x20BrowserStack\x20config:\x20','getInstance','catch','[PuppeteerTestSetup]\x20Error\x20initializing\x20Puppeteer\x20patching:\x20','../../helpers/testhub/utils','env','puppeteer-core','../v2/browserstackCLI','PUPPETEER','workerInfo','../../helpers/logger','4algILq','pwPage','2dQdZWu','getPackageVersion','[PuppeteerTestSetup]\x20Jest-Puppeteer\x20test\x20setup\x20completed','skipSessionStatus','1138947UKcVCP','29598gyJVoq','__skipSessionName','../../helpers/test-observability/utils','[PuppeteerTestSetup]\x20Puppeteer\x20patching\x20initialized','debug','format','1719672JDYMSW','../utils/puppeteer-patcher','true','1283315ldPDat','../../helpers/helper','../utils/constants','currentTest','o11ySyncDone','isCliEnabled','bootstrap','winstonLogger','testInfo'];a50_0x3494=function(){return _0x1dc4e6;};return a50_0x3494();}let puppeteerPatcher=null;setKeepAlive();if(global[a50_0x115cdd(0xd0)])try{isBrowserstackInfra()?(global[a50_0x115cdd(0xe4)]=isTrue(global[a50_0x115cdd(0xd0)]?.[a50_0x115cdd(0xcd)]),global[a50_0x115cdd(0xfa)]=isTrue(global[a50_0x115cdd(0xd0)]?.[a50_0x115cdd(0xe1)])):(global[a50_0x115cdd(0xe4)]=!![],global['__skipSessionStatus']=!![]);const helper=require('../../helpers/helper'),puppeteerVersion=helper[a50_0x115cdd(0xdf)](a50_0x115cdd(0xf8))||helper[a50_0x115cdd(0xdf)](a50_0x115cdd(0xd7));if(puppeteerVersion)try{logger[a50_0x115cdd(0xe7)]('[PuppeteerTestSetup]\x20Patching\x20Puppeteer\x20for\x20Jest'),puppeteerPatcher=require(a50_0x115cdd(0xea)),puppeteerPatcher['initializePuppeteerPatching'](global['jestConfig']),logger[a50_0x115cdd(0xe7)](a50_0x115cdd(0xe6));}catch(a50_0x26cccc){logger['debug'](a50_0x115cdd(0xd4)+util['format'](a50_0x26cccc));}if(puppeteerPatcher)try{const BrowserstackCLI=require(a50_0x115cdd(0xd8)),CLIUtils=require(a50_0x115cdd(0xfd)),{FRAMEWORKS}=require(a50_0x115cdd(0xee));BrowserstackCLI[a50_0x115cdd(0xd2)]()[a50_0x115cdd(0xf1)]()&&(logger['debug'](a50_0x115cdd(0xfc)),process[a50_0x115cdd(0xd6)][a50_0x115cdd(0xfb)]=a50_0x115cdd(0xeb),CLIUtils['setFrameworkDetail'](FRAMEWORKS['JEST'],FRAMEWORKS[a50_0x115cdd(0xd9)]),BrowserstackCLI[a50_0x115cdd(0xd2)]()[a50_0x115cdd(0xf2)]()[a50_0x115cdd(0xd3)](_0x4c689f=>{const _0xb9f5c5=a50_0x115cdd;logger[_0xb9f5c5(0xe7)]('[PuppeteerTestSetup]\x20Error\x20bootstrapping\x20BrowserstackCLI:\x20'+util[_0xb9f5c5(0xe8)](_0x4c689f));}));}catch(a50_0x2421b9){logger[a50_0x115cdd(0xe7)]('[PuppeteerTestSetup]\x20Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20'+util['format'](a50_0x2421b9));}shouldProcessEventForTesthub()&&addRequestSpy(![]);}catch(a50_0x356b15){logger[a50_0x115cdd(0xe7)](a50_0x115cdd(0xd1)+util['format'](a50_0x356b15));}logger[a50_0x115cdd(0xe7)](a50_0x115cdd(0xe0));
1
+ const a50_0x392973=a50_0x5064;(function(_0x36473d,_0x4dc762){const _0x3f97b0=a50_0x5064,_0x288b08=_0x36473d();while(!![]){try{const _0xfe0aac=parseInt(_0x3f97b0(0xfb))/0x1*(-parseInt(_0x3f97b0(0xfd))/0x2)+-parseInt(_0x3f97b0(0x10d))/0x3*(-parseInt(_0x3f97b0(0x104))/0x4)+-parseInt(_0x3f97b0(0x110))/0x5+-parseInt(_0x3f97b0(0xf5))/0x6+-parseInt(_0x3f97b0(0x102))/0x7+parseInt(_0x3f97b0(0x11f))/0x8+parseInt(_0x3f97b0(0x121))/0x9*(parseInt(_0x3f97b0(0x105))/0xa);if(_0xfe0aac===_0x4dc762)break;else _0x288b08['push'](_0x288b08['shift']());}catch(_0x4e95d0){_0x288b08['push'](_0x288b08['shift']());}}}(a50_0x40e5,0xae43b));const {isTrue,isBrowserstackInfra}=require(a50_0x392973(0x122)),setKeepAlive=require(a50_0x392973(0xfc)),util=require(a50_0x392973(0xfa)),logger=require('../../helpers/logger')[a50_0x392973(0xf8)],{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),{addRequestSpy}=require('../../helpers/test-observability/utils'),a50_0x3b089b={};a50_0x3b089b['workerInfo']=undefined,a50_0x3b089b[a50_0x392973(0x11e)]={},a50_0x3b089b[a50_0x392973(0xfe)]=![],a50_0x3b089b['pwPage']=null,a50_0x3b089b[a50_0x392973(0xf7)]=![],a50_0x3b089b[a50_0x392973(0x11e)]['id']=undefined,a50_0x3b089b[a50_0x392973(0x11e)][a50_0x392973(0x10c)]=undefined;const workerDetails=a50_0x3b089b;function a50_0x5064(_0xdcd96b,_0x60e251){const _0x40e5d8=a50_0x40e5();return a50_0x5064=function(_0x506408,_0x117bda){_0x506408=_0x506408-0xf5;let _0x145999=_0x40e5d8[_0x506408];return _0x145999;},a50_0x5064(_0xdcd96b,_0x60e251);}global[a50_0x392973(0x10f)]=workerDetails;function a50_0x40e5(){const _0x273e6d=['getInstance','[PuppeteerTestSetup]\x20Bootstrapping\x20BrowserstackCLI\x20for\x20Jest\x20worker','../v2/cliUtils','initializePuppeteerPatching','skipSessionName','env','jestConfig','../v2/browserstackCLI','[PuppeteerTestSetup]\x20Error\x20reading\x20BrowserStack\x20config:\x20','true','setFrameworkDetail','puppeteer','__skipSessionStatus','currentTest','5062128FKKLnP','BROWSERSTACK_PUPPETEER','225ealgrS','../../helpers/helper','8469492hXYTxM','format','isPageFixture','winstonLogger','catch','util','1046091bJiYeQ','../../helpers/setKeepAlive','2qkAyCE','o11ySyncDone','[PuppeteerTestSetup]\x20Patching\x20Puppeteer\x20for\x20Jest','[PuppeteerTestSetup]\x20Jest-Puppeteer\x20test\x20setup\x20completed','__skipSessionName','3502429xoTOhU','PUPPETEER','880FomXSU','1283180DRmgoV','skipSessionStatus','bootstrap','JEST','[PuppeteerTestSetup]\x20Error\x20initializing\x20Puppeteer\x20patching:\x20','[PuppeteerTestSetup]\x20Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20','debug','testInfo','7359gpGXBc','getPackageVersion','__workerDetails','3542845pTnhGi'];a50_0x40e5=function(){return _0x273e6d;};return a50_0x40e5();}let puppeteerPatcher=null;setKeepAlive();if(global[a50_0x392973(0x117)])try{isBrowserstackInfra()?(global[a50_0x392973(0x101)]=isTrue(global[a50_0x392973(0x117)]?.[a50_0x392973(0x115)]),global[a50_0x392973(0x11d)]=isTrue(global['jestConfig']?.[a50_0x392973(0x106)])):(global[a50_0x392973(0x101)]=!![],global[a50_0x392973(0x11d)]=!![]);const helper=require('../../helpers/helper'),puppeteerVersion=helper['getPackageVersion'](a50_0x392973(0x11c))||helper[a50_0x392973(0x10e)]('puppeteer-core');if(puppeteerVersion)try{logger[a50_0x392973(0x10b)](a50_0x392973(0xff)),puppeteerPatcher=require('../utils/puppeteer-patcher'),puppeteerPatcher[a50_0x392973(0x114)](global[a50_0x392973(0x117)]),logger[a50_0x392973(0x10b)]('[PuppeteerTestSetup]\x20Puppeteer\x20patching\x20initialized');}catch(a50_0x35107c){logger[a50_0x392973(0x10b)](a50_0x392973(0x109)+util[a50_0x392973(0xf6)](a50_0x35107c));}if(puppeteerPatcher)try{const BrowserstackCLI=require(a50_0x392973(0x118)),CLIUtils=require(a50_0x392973(0x113)),{FRAMEWORKS}=require('../utils/constants');BrowserstackCLI['getInstance']()['isCliEnabled']()&&(logger[a50_0x392973(0x10b)](a50_0x392973(0x112)),process[a50_0x392973(0x116)][a50_0x392973(0x120)]=a50_0x392973(0x11a),CLIUtils[a50_0x392973(0x11b)](FRAMEWORKS[a50_0x392973(0x108)],FRAMEWORKS[a50_0x392973(0x103)]),BrowserstackCLI[a50_0x392973(0x111)]()[a50_0x392973(0x107)]()[a50_0x392973(0xf9)](_0x10812a=>{const _0x351730=a50_0x392973;logger[_0x351730(0x10b)]('[PuppeteerTestSetup]\x20Error\x20bootstrapping\x20BrowserstackCLI:\x20'+util[_0x351730(0xf6)](_0x10812a));}));}catch(a50_0x3e45dc){logger[a50_0x392973(0x10b)](a50_0x392973(0x10a)+util[a50_0x392973(0xf6)](a50_0x3e45dc));}shouldProcessEventForTesthub()&&addRequestSpy(![]);}catch(a50_0x27c352){logger[a50_0x392973(0x10b)](a50_0x392973(0x119)+util[a50_0x392973(0xf6)](a50_0x27c352));}logger[a50_0x392973(0x10b)](a50_0x392973(0x100));
package/src/bin/runner.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a51_0x5dcf(){const _0x4306d1=['usage:\x20$0\x20<command>\x20[args]','--opts','vanilla','./mocha/command','--no-opts','wrap','config','slice','CKhaY','5nFPpfj','existsSync','RxRuw','option','4307955FnOoKI','JEST','VANILLA','../helpers/test-observability/constants','INFO','handler','17148464olLOqs','debug','info','stack','LudQG','start','UgFat','ibLHp','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','ioIlM','framework','argv','usage','Imkvj','BROWSERSTACK_CONFIG_FILE_PATH','1156890EGlhje','Yqhne','exitProcess','.local-not-set.json','.browserstack','../helpers/performance/constants','kjDes','playwright','--mochaRequire','BhwCL','INTEGRATIONS','--no-config','yargs','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','integrations','VERSION','run','end','NTbfC','iOqGP','oCgCs','./playwright/command','help','GPUuB','zqRVP','GJbFj','TlvNJ','format','child_process','ygfRM','NsMOs','jIzkK','../helpers/helper','join','dot-notation','SDK_CLEANUP','suiSj','../../ats/src/index','Mixjr','stop','../helpers/BrowserStackSetup','ShySQ','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','wLxmm','HST','1339274ZkGAQm','2773940KfWrgY','./jest/command','winstonLogger','codeceptjs','BaSNb','ats','assign','vdOPJ','Parsing\x20command\x20line\x20arguments','--config','./vanilla-js/command','isUndefined','4037922Opapyi','SDK_SETUP','bslhu','tpbdu','./codeceptjs/command','../helpers/performance/performance-tester','showHelpOnFail','message','OPcuF','setBrowserStackAutomationDisable','util','nightwatch','unlinkSync','command','NIGHTWATCH','xbhaM','alias','bQjCW','--require','spawn','CODECEPTJS','lkvbL','qNVIA','PLAYWRIGHT','includes','3869724JpuLvs','./utils/constants','mocha','MOCHA','cucumber-js','tpPpi','push','MHzhU','Runs\x20the\x20binary\x20with\x20load\x20command','ZeulY','TLmmK','getConfigPath','mocha/lib/cli/commands.js','Running\x20SDK\x20with\x20args\x20','node','boolean','error','fireFunnelTestEvent','setTestObservabilityDisable','parserConfiguration','jest','./cucumber-js/command','./integrations/command','exitCode','find'];a51_0x5dcf=function(){return _0x4306d1;};return a51_0x5dcf();}const a51_0x576042=a51_0x5f37;(function(_0x1fbf22,_0x2cf183){const _0x498dab=a51_0x5f37,_0x2a6d24=_0x1fbf22();while(!![]){try{const _0xcb2843=-parseInt(_0x498dab(0xbc))/0x1+parseInt(_0x498dab(0xe9))/0x2+-parseInt(_0x498dab(0x135))/0x3+-parseInt(_0x498dab(0xea))/0x4+parseInt(_0x498dab(0x131))/0x5*(parseInt(_0x498dab(0x10f))/0x6)+parseInt(_0x498dab(0xf6))/0x7+parseInt(_0x498dab(0x13b))/0x8;if(_0xcb2843===_0x2cf183)break;else _0x2a6d24['push'](_0x2a6d24['shift']());}catch(_0x30cd02){_0x2a6d24['push'](_0x2a6d24['shift']());}}}(a51_0x5dcf,0xb6c5b));const fs=require('fs'),path=require('path'),util=require(a51_0x576042(0x100)),spawn=require(a51_0x576042(0xd8))[a51_0x576042(0x109)],{requireModule}=require(a51_0x576042(0xdc)),PerformanceTester=require(a51_0x576042(0xfb)),PerformanceEvents=require(a51_0x576042(0xc1))['EVENTS'],helper=require('../helpers/helper'),utilities=require('../helpers/utilities'),{default:BrowserStackSetup}=require(a51_0x576042(0xe4)),{FRAMEWORKS}=require(a51_0x576042(0x138)),runIntegrations=require(a51_0x576042(0x125)),yargs=require(a51_0x576042(0xc8)),Constants=require(a51_0x576042(0x110)),BrowserstackCLI=require('./v2/browserstackCLI'),logger=require('../helpers/logger')[a51_0x576042(0xec)],origArgs=Object[a51_0x576042(0xf0)]([],process['argv']),captureError=async(_0x5c6957,_0x338eea,_0x417515,_0x3d5b1d=null,_0x57f0b7=![])=>{const _0x180994=a51_0x576042,_0x4287b9={'ioIlM':function(_0x3aedb4,_0x301d53,_0x599fbd,_0x2c229d){return _0x3aedb4(_0x301d53,_0x599fbd,_0x2c229d);},'NLQfG':'SDKTestSuccessful'};try{logger[_0x180994(0x13d)](_0x180994(0x11c)+origArgs[_0x180994(0xdd)]('\x20')),await _0x4287b9[_0x180994(0x144)](_0x5c6957,_0x338eea,_0x3d5b1d,_0x417515);}catch(_0x140ef6){process[_0x180994(0x126)]=0x1,logger[_0x180994(0x11f)](util[_0x180994(0xd7)](_0x140ef6));const _0x529cb2={'globalException':util[_0x180994(0xd7)]('%j',_0x140ef6)};PerformanceTester[_0x180994(0xcd)](PerformanceEvents['SDK_SETUP'],![],util['format'](_0x140ef6));if(helper[_0x180994(0xf5)](global['config'])&&helper[_0x180994(0xf5)](global[_0x180994(0x145)]))return;try{utilities[_0x180994(0x120)](_0x4287b9['NLQfG'],_0x529cb2,global[_0x180994(0x12e)],global[_0x180994(0x145)]);}catch(_0x5f5ac6){logger[_0x180994(0x13c)]('Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20'+_0x5f5ac6[_0x180994(0x13e)]);}try{await helper['sendLogs'](global['config']);}catch(_0xae0034){logger[_0x180994(0x13c)]('Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20'+_0xae0034[_0x180994(0x13e)]);}PerformanceTester[_0x180994(0xcd)](PerformanceEvents['SDK_SETUP'],![],util['format'](_0x140ef6));}finally{!_0x57f0b7&&await BrowserstackCLI['getInstance']()[_0x180994(0xe3)](),PerformanceTester[_0x180994(0x140)](PerformanceEvents[_0x180994(0xdf)]);}};try{const browserstackFolderPath=path[a51_0x576042(0xdd)](helper['homedir'](),a51_0x576042(0xc0));if(fs[a51_0x576042(0x132)](browserstackFolderPath)){const filePath=path[a51_0x576042(0xdd)](browserstackFolderPath,a51_0x576042(0xbf));fs[a51_0x576042(0x132)](filePath)&&fs[a51_0x576042(0x102)](filePath);}}catch(a51_0x10c6a8){logger[a51_0x576042(0x13c)](a51_0x576042(0xc9)+a51_0x10c6a8[a51_0x576042(0xfd)]);}process['argv'][a51_0x576042(0x10e)]('mocha')&&(!process['argv']['includes'](a51_0x576042(0x129))&&process[a51_0x576042(0x146)][a51_0x576042(0x115)](a51_0x576042(0x12c)),!process[a51_0x576042(0x146)][a51_0x576042(0x127)](_0x4660ce=>_0x4660ce['includes'](a51_0x576042(0xf3)))&&process[a51_0x576042(0x146)]['push'](a51_0x576042(0xc7)),!process[a51_0x576042(0x146)]['includes']('--package')&&process[a51_0x576042(0x146)][a51_0x576042(0x115)]('--no-package'),helper['findAndReplace'](process[a51_0x576042(0x146)],a51_0x576042(0x108),a51_0x576042(0xc4)));PerformanceTester['start'](PerformanceEvents[a51_0x576042(0xf7)]);const a51_0x210193={};a51_0x210193[a51_0x576042(0xde)]=![];const argv=yargs[a51_0x576042(0x122)](a51_0x210193)[a51_0x576042(0x147)](a51_0x576042(0x128))['alias']('v','version')['describe']('v')[a51_0x576042(0x106)]('h',a51_0x576042(0xd2))[a51_0x576042(0xd2)](a51_0x576042(0xd2))[a51_0x576042(0xfc)](!![],Constants[a51_0x576042(0xcb)]['HELP'])[a51_0x576042(0x103)](a51_0x576042(0x123),Constants[a51_0x576042(0x136)][a51_0x576042(0x139)],function(_0x3c34ba){const _0xa21c8=a51_0x576042,_0x4bc3d4={'LudQG':_0xa21c8(0x123),'xbhaM':function(_0xfc972c,_0xd18ab4,_0x24dfff,_0x299166,_0x564ff6,_0x3cd0fa){return _0xfc972c(_0xd18ab4,_0x24dfff,_0x299166,_0x564ff6,_0x3cd0fa);},'Mixjr':function(_0x36a817,_0x5c1bb8){return _0x36a817(_0x5c1bb8);},'zqRVP':_0xa21c8(0xeb)},_0xc12944=process[_0xa21c8(0x146)]['slice'](0x2);helper['setTestObservabilityDisable'](),helper['setBrowserStackAutomationDisable'](),_0x3c34ba['strict'](![]);const _0x4bd8b2=new BrowserStackSetup(_0x3c34ba[_0xa21c8(0x146)],_0x4bc3d4[_0xa21c8(0x13f)]);return _0x4bc3d4[_0xa21c8(0x105)](captureError,_0x4bc3d4[_0xa21c8(0xe2)](require,_0x4bc3d4[_0xa21c8(0xd4)]),_0x3c34ba[_0xa21c8(0x146)],_0x4bd8b2,_0xc12944,!![]);})[a51_0x576042(0x103)](a51_0x576042(0x111),Constants[a51_0x576042(0x112)][a51_0x576042(0x139)],_0x458bcd=>{const _0x183afd=a51_0x576042,_0x37630b={'ShySQ':function(_0x314562,_0x35575f,_0x266610,_0x193d10){return _0x314562(_0x35575f,_0x266610,_0x193d10);},'Kytdq':function(_0x3b9b61,_0xb9a5b3){return _0x3b9b61(_0xb9a5b3);},'UgFat':_0x183afd(0x12b),'MHzhU':'mocha','lkvbL':_0x183afd(0xf2),'ZeulY':function(_0x537634,_0x4acb1a,_0x24edcf){return _0x537634(_0x4acb1a,_0x24edcf);},'qNVIA':'mocha/lib/cli/run.js','CKhaY':function(_0xd9ca86,_0x43d65c,_0x546a8f){return _0xd9ca86(_0x43d65c,_0x546a8f);},'bQjCW':_0x183afd(0x11b),'iOqGP':function(_0x1fd075,_0xdef59b,_0x40d0c7){return _0x1fd075(_0xdef59b,_0x40d0c7);},'ibLHp':'mocha/lib/cli/cli.js','oCgCs':function(_0x9e27b8){return _0x9e27b8();}};process['argv']=process[_0x183afd(0x146)]['slice'](0x1),helper[_0x183afd(0x121)](),helper[_0x183afd(0xff)]();const _0x570ea9=new BrowserStackSetup(_0x458bcd[_0x183afd(0x146)],_0x37630b[_0x183afd(0x116)]);logger[_0x183afd(0x13c)](_0x37630b[_0x183afd(0x10b)]);const _0x5526cd=_0x37630b[_0x183afd(0x118)](requireModule,_0x37630b[_0x183afd(0x10c)],_0x37630b[_0x183afd(0x116)]),_0x558572=_0x37630b[_0x183afd(0x130)](requireModule,_0x37630b[_0x183afd(0x107)],_0x37630b[_0x183afd(0x116)]);delete _0x5526cd[_0x183afd(0x13a)],_0x5526cd[_0x183afd(0x13a)]=function(_0x262d9a){const _0x12a241=_0x183afd;return _0x37630b[_0x12a241(0xe5)](captureError,_0x37630b['Kytdq'](require,_0x37630b[_0x12a241(0x141)]),_0x262d9a,_0x570ea9);},_0x558572[_0x183afd(0xcc)]=_0x5526cd;const {main:_0x4a6bd2}=_0x37630b[_0x183afd(0xcf)](requireModule,_0x37630b[_0x183afd(0x142)],_0x37630b[_0x183afd(0x116)]);_0x37630b[_0x183afd(0xd0)](_0x4a6bd2);})['command']('cucumber-js',Constants['CUCUMBER']['INFO'],function(_0x43a7a0){const _0x4b5f03=a51_0x576042,_0x1fd94c={'NTbfC':_0x4b5f03(0x113),'BhwCL':function(_0x80a71c,_0xe41c9e,_0x4e1b59,_0x30fc4d,_0x59a035,_0x37b21b){return _0x80a71c(_0xe41c9e,_0x4e1b59,_0x30fc4d,_0x59a035,_0x37b21b);},'RxRuw':function(_0x591077,_0x8a6326){return _0x591077(_0x8a6326);},'tsVOE':_0x4b5f03(0x124)},_0xb16ea7=process[_0x4b5f03(0x146)][_0x4b5f03(0x12f)](0x2),_0x424498=new BrowserStackSetup(_0x43a7a0[_0x4b5f03(0x146)],_0x1fd94c[_0x4b5f03(0xce)]);return _0x1fd94c[_0x4b5f03(0xc5)](captureError,_0x1fd94c[_0x4b5f03(0x133)](require,_0x1fd94c['tsVOE']),_0x43a7a0['argv'],_0x424498,_0xb16ea7,!![]);})[a51_0x576042(0x103)](a51_0x576042(0x11d),Constants[a51_0x576042(0x137)][a51_0x576042(0x139)],function(_0xf900){const _0x1f8a40=a51_0x576042,_0xacaf1d={'jIzkK':_0x1f8a40(0x12a),'QXuhf':function(_0x1ceb40,_0x407613,_0x22a1f2,_0x246661,_0xcfd059){return _0x1ceb40(_0x407613,_0x22a1f2,_0x246661,_0xcfd059);},'QaWre':function(_0x3b7c30,_0x842b35){return _0x3b7c30(_0x842b35);},'ygfRM':_0x1f8a40(0xf4)},_0x48ee59=process[_0x1f8a40(0x146)]['slice'](0x2),_0x57ccd7=new BrowserStackSetup(_0xf900[_0x1f8a40(0x146)],_0xacaf1d[_0x1f8a40(0xdb)]);return _0xacaf1d['QXuhf'](captureError,_0xacaf1d['QaWre'](require,_0xacaf1d[_0x1f8a40(0xd9)]),_0xf900['argv'],_0x57ccd7,_0x48ee59);})['command'](a51_0x576042(0x101),Constants[a51_0x576042(0x104)]['INFO'],function(_0x1ba9ae){const _0x39f76b=a51_0x576042,_0x2215b2={'GJbFj':function(_0x28a298,_0x1b40e3,_0x327afe,_0x1d9e15,_0x33142b){return _0x28a298(_0x1b40e3,_0x327afe,_0x1d9e15,_0x33142b);},'NsMOs':function(_0x52bf6c,_0x150e3f){return _0x52bf6c(_0x150e3f);},'cQmmx':'./nightwatch/command'},_0x2d7047=process[_0x39f76b(0x146)][_0x39f76b(0x12f)](0x2),_0x4737ae=new BrowserStackSetup(_0x1ba9ae[_0x39f76b(0x146)]);return _0x2215b2[_0x39f76b(0xd5)](captureError,_0x2215b2[_0x39f76b(0xda)](require,_0x2215b2['cQmmx']),_0x1ba9ae['argv'],_0x4737ae,_0x2d7047);})[a51_0x576042(0x103)](a51_0x576042(0xed),Constants[a51_0x576042(0x10a)][a51_0x576042(0x139)],function(_0x4fd551){const _0x2b63d3=a51_0x576042,_0x181f24={'tpPpi':_0x2b63d3(0xed),'suiSj':function(_0x533255,_0x431764,_0x567a44,_0x4095eb,_0x4fbaa6){return _0x533255(_0x431764,_0x567a44,_0x4095eb,_0x4fbaa6);},'TLmmK':function(_0x327a00,_0xb264b6){return _0x327a00(_0xb264b6);},'Imkvj':_0x2b63d3(0xfa)},_0x157e71=process[_0x2b63d3(0x146)]['slice'](0x2),_0x27c431=new BrowserStackSetup(_0x4fd551[_0x2b63d3(0x146)],_0x181f24[_0x2b63d3(0x114)]);return _0x181f24[_0x2b63d3(0xe0)](captureError,_0x181f24[_0x2b63d3(0x119)](require,_0x181f24[_0x2b63d3(0x148)]),_0x4fd551[_0x2b63d3(0x146)],_0x27c431,_0x157e71);})[a51_0x576042(0x103)](a51_0x576042(0xef),Constants[a51_0x576042(0xe8)][a51_0x576042(0x139)],function(_0x93e64c){const _0x5ce5c2=a51_0x576042,_0x1cfd3f={'vdOPJ':function(_0x6b4179,_0x1659bd,_0x3846f9){return _0x6b4179(_0x1659bd,_0x3846f9);},'EzcNh':function(_0x1a1041,_0x4216c7){return _0x1a1041(_0x4216c7);},'kjDes':_0x5ce5c2(0xe1)},_0x25e157=process['argv']['slice'](0x2);return _0x1cfd3f[_0x5ce5c2(0xf1)](captureError,_0x1cfd3f['EzcNh'](require,_0x1cfd3f[_0x5ce5c2(0xc2)]),_0x93e64c);})[a51_0x576042(0x103)](a51_0x576042(0xca),Constants[a51_0x576042(0xc6)][a51_0x576042(0x139)],function(_0x39b330){const _0x721b85=a51_0x576042,_0x143d94={'BaSNb':function(_0x52d4aa,_0x56452e){return _0x52d4aa(_0x56452e);}};return _0x143d94[_0x721b85(0xee)](runIntegrations,_0x39b330);})[a51_0x576042(0x103)](a51_0x576042(0xc3),Constants[a51_0x576042(0x10d)][a51_0x576042(0x139)],function(_0x252660){const _0x3fa355=a51_0x576042,_0x4a7b3b={'bslhu':function(_0x16c153,_0xa99a68,_0x18c921,_0x4f7c39,_0x3ccab1,_0x5673be){return _0x16c153(_0xa99a68,_0x18c921,_0x4f7c39,_0x3ccab1,_0x5673be);},'HVoqb':function(_0x66e49d,_0x385600){return _0x66e49d(_0x385600);},'GPUuB':_0x3fa355(0xd1)},_0x50e1e6=process[_0x3fa355(0x146)]['slice'](0x2);helper[_0x3fa355(0x11a)](process[_0x3fa355(0x146)])&&(process['env'][_0x3fa355(0xbb)]=helper[_0x3fa355(0x11a)](process['argv']));helper[_0x3fa355(0x121)](),helper[_0x3fa355(0xff)]();const _0x3549cf=new BrowserStackSetup(_0x252660[_0x3fa355(0x146)],FRAMEWORKS[_0x3fa355(0x10d)]);return _0x4a7b3b[_0x3fa355(0xf8)](captureError,_0x4a7b3b['HVoqb'](require,_0x4a7b3b[_0x3fa355(0xd3)]),_0x252660['argv'],_0x3549cf,_0x50e1e6,!![]);})[a51_0x576042(0x103)]('load\x20[subcommand]',a51_0x576042(0x117),function(_0x2686f2){const _0x7620cf=a51_0x576042,_0x1fb688={};_0x1fb688[_0x7620cf(0xf9)]=_0x7620cf(0xd2),_0x1fb688['wLxmm']=_0x7620cf(0x11e),_0x1fb688[_0x7620cf(0xbd)]='Show\x20help';const _0x1bbf58=_0x1fb688;return _0x2686f2[_0x7620cf(0xd2)](![])[_0x7620cf(0x134)](_0x1bbf58[_0x7620cf(0xf9)],{'alias':'h','type':_0x1bbf58[_0x7620cf(0xe7)],'describe':_0x1bbf58[_0x7620cf(0xbd)]})['strict'](![])[_0x7620cf(0xbe)](![]);},function(_0x3f2d21){const _0x2f7a48=a51_0x576042,_0x4683e4={'TlvNJ':function(_0x2890e0,_0x51c032,_0x602ed6){return _0x2890e0(_0x51c032,_0x602ed6);},'OPcuF':function(_0x5888f4,_0x3c6cfc){return _0x5888f4(_0x3c6cfc);},'iHdtq':'./load/index'},_0x47bf31={};return _0x47bf31['argv']=_0x3f2d21,_0x4683e4[_0x2f7a48(0xd6)](captureError,_0x4683e4[_0x2f7a48(0xfe)](require,_0x4683e4['iHdtq']),_0x47bf31);})['demandCommand'](0x1,a51_0x576042(0xe6))[a51_0x576042(0x12d)](null)['argv'];function a51_0x5f37(_0x3a806f,_0x25734f){const _0x5dcff8=a51_0x5dcf();return a51_0x5f37=function(_0x5f3745,_0x5282ae){_0x5f3745=_0x5f3745-0xbb;let _0x46c360=_0x5dcff8[_0x5f3745];return _0x46c360;},a51_0x5f37(_0x3a806f,_0x25734f);}!helper[a51_0x576042(0xf5)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!=='ats'&&console[a51_0x576042(0x11f)](a51_0x576042(0x143));
2
+ 'use strict';const a51_0x43318f=a51_0x5d28;(function(_0x29377d,_0x310dcc){const _0x44d8c5=a51_0x5d28,_0x5050ee=_0x29377d();while(!![]){try{const _0x22ebe1=-parseInt(_0x44d8c5(0x157))/0x1+parseInt(_0x44d8c5(0xfc))/0x2*(parseInt(_0x44d8c5(0x110))/0x3)+parseInt(_0x44d8c5(0x119))/0x4*(-parseInt(_0x44d8c5(0x140))/0x5)+-parseInt(_0x44d8c5(0x133))/0x6+parseInt(_0x44d8c5(0x13a))/0x7+-parseInt(_0x44d8c5(0x15c))/0x8+-parseInt(_0x44d8c5(0x149))/0x9*(-parseInt(_0x44d8c5(0x10a))/0xa);if(_0x22ebe1===_0x310dcc)break;else _0x5050ee['push'](_0x5050ee['shift']());}catch(_0x48193d){_0x5050ee['push'](_0x5050ee['shift']());}}}(a51_0x8ea8,0x39ac6));const fs=require('fs'),path=require('path'),util=require('util'),spawn=require(a51_0x43318f(0x128))[a51_0x43318f(0x10b)],{requireModule}=require(a51_0x43318f(0x135)),PerformanceTester=require(a51_0x43318f(0x144)),PerformanceEvents=require(a51_0x43318f(0x175))['EVENTS'],helper=require(a51_0x43318f(0x135)),utilities=require(a51_0x43318f(0x13e)),{default:BrowserStackSetup}=require(a51_0x43318f(0x17d)),{FRAMEWORKS}=require(a51_0x43318f(0x117)),runIntegrations=require('./integrations/command'),yargs=require(a51_0x43318f(0x15e)),Constants=require('./utils/constants'),BrowserstackCLI=require(a51_0x43318f(0x173)),logger=require(a51_0x43318f(0x126))[a51_0x43318f(0x182)],origArgs=Object['assign']([],process[a51_0x43318f(0x116)]),captureError=async(_0x22671a,_0x344ea7,_0x5bf652,_0xd60811=null,_0x269c56=![])=>{const _0x5428e9=a51_0x43318f,_0x2e3505={'cMOCu':function(_0x2e5a20,_0x597757,_0x1d2697,_0x43faf8){return _0x2e5a20(_0x597757,_0x1d2697,_0x43faf8);},'PHgXC':'SDKTestSuccessful'};try{logger[_0x5428e9(0x183)](_0x5428e9(0x13b)+origArgs[_0x5428e9(0x14b)]('\x20')),await _0x2e3505[_0x5428e9(0xfe)](_0x22671a,_0x344ea7,_0xd60811,_0x5bf652);}catch(_0x167b01){process['exitCode']=0x1,logger['error'](util[_0x5428e9(0x13f)](_0x167b01));const _0x1771b0={'globalException':util['format']('%j',_0x167b01)};PerformanceTester['end'](PerformanceEvents['SDK_SETUP'],![],util[_0x5428e9(0x13f)](_0x167b01));if(helper[_0x5428e9(0xed)](global['config'])&&helper[_0x5428e9(0xed)](global[_0x5428e9(0x130)]))return;try{utilities[_0x5428e9(0x132)](_0x2e3505[_0x5428e9(0x15a)],_0x1771b0,global[_0x5428e9(0x181)],global[_0x5428e9(0x130)]);}catch(_0x521481){logger[_0x5428e9(0x184)](_0x5428e9(0x12f)+_0x521481[_0x5428e9(0x11c)]);}try{await helper[_0x5428e9(0x16e)](global[_0x5428e9(0x181)]);}catch(_0x442258){logger[_0x5428e9(0x184)](_0x5428e9(0x16f)+_0x442258[_0x5428e9(0x11c)]);}PerformanceTester[_0x5428e9(0x136)](PerformanceEvents[_0x5428e9(0xfd)],![],util[_0x5428e9(0x13f)](_0x167b01));}finally{!_0x269c56&&await BrowserstackCLI[_0x5428e9(0x134)]()[_0x5428e9(0x12d)](),PerformanceTester[_0x5428e9(0x11a)](PerformanceEvents[_0x5428e9(0x147)]);}};try{const browserstackFolderPath=path[a51_0x43318f(0x14b)](helper['homedir'](),'.browserstack');if(fs['existsSync'](browserstackFolderPath)){const filePath=path[a51_0x43318f(0x14b)](browserstackFolderPath,a51_0x43318f(0x17f));fs[a51_0x43318f(0x158)](filePath)&&fs[a51_0x43318f(0x162)](filePath);}}catch(a51_0x5377b2){logger[a51_0x43318f(0x184)](a51_0x43318f(0x12a)+a51_0x5377b2['message']);}function a51_0x8ea8(){const _0x42c025=['isUndefined','../../ats/src/index','NIGHTWATCH','Udgca','oKjQs','slice','GyMbo','IGsPl','./mocha/command','./vanilla-js/command','setBrowserStackAutomationDisable','BROWSERSTACK_CONFIG_FILE_PATH','DGSLp','jest','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','82CbtFpE','SDK_SETUP','cMOCu','Runs\x20the\x20binary\x20with\x20load\x20command','GXLaY','run','lGwBV','-pw:channel','CUCUMBER','./playwright/command','mocha/lib/cli/run.js','disableAutoCaptureLogs','setTestObservabilityDisable','dkKSz','10220TaeskQ','spawn','xFLuu','aLSWd','MOCHA','EDOkw','1701pOabiZ','--no-config','DEBUG_FILE','dot-notation','VANILLA','filter','argv','../helpers/test-observability/constants','IFaqU','4euRiUR','start','getPwChannelLogPath','stack','MLgGg','kriwE','bbGnC','WxmhR','lwhSn','alias','./jest/command','tNbtT','CODECEPTJS','../helpers/logger','NzuJx','child_process','XkbxC','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','mocha','vanilla','stop','aDEFB','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','framework','--mochaRequire','fireFunnelTestEvent','2057100HEOQTl','getInstance','../helpers/helper','end','mocha/lib/cli/commands.js','mFcXX','IRSQs','592116nWuQdm','Running\x20SDK\x20with\x20args\x20','--opts','INchL','../helpers/utilities','format','838895cWJqcX','HfOcW','hZMaF','env','../helpers/performance/performance-tester','parserConfiguration','xQCUl','SDK_CLEANUP','trim','8136SDLpvQ','INFO','join','integrations','JEST','pw:channel\x20auto-capture\x20seed\x20failed:\x20','ySceS','help','./nightwatch/command','cucumber-js','--no-package','error','ats','strict','131139bdGEEh','existsSync','usage','PHgXC','nightwatch','1229800HqvorS','iaOMl','yargs','pw:*','vQwBG','map','unlinkSync','sMzOu','mocha/lib/cli/cli.js','AaBAR','exitProcess','demandCommand','getConfigPath','command','--require','uZldV','HST','pw:channel','sendLogs','Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20','INTEGRATIONS','--package','some','./v2/browserstackCLI','load\x20[subcommand]','../helpers/performance/constants','push','pZFpb','DEBUG','usage:\x20$0\x20<command>\x20[args]','XPZGJ','PLAYWRIGHT','node','../helpers/BrowserStackSetup','includes','.local-not-set.json','codeceptjs','config','winstonLogger','info','debug','rIDvI','Parsing\x20command\x20line\x20arguments','VERSION','boolean'];a51_0x8ea8=function(){return _0x42c025;};return a51_0x8ea8();}function a51_0x5d28(_0x4bb19d,_0x9f5cf2){const _0x8ea89=a51_0x8ea8();return a51_0x5d28=function(_0x5d281c,_0x579caf){_0x5d281c=_0x5d281c-0xeb;let _0x3adca5=_0x8ea89[_0x5d281c];return _0x3adca5;},a51_0x5d28(_0x4bb19d,_0x9f5cf2);}process[a51_0x43318f(0x116)]['includes'](a51_0x43318f(0x12b))&&(!process[a51_0x43318f(0x116)][a51_0x43318f(0x17e)](a51_0x43318f(0x13c))&&process[a51_0x43318f(0x116)][a51_0x43318f(0x176)]('--no-opts'),!process[a51_0x43318f(0x116)]['find'](_0x8c0341=>_0x8c0341['includes']('--config'))&&process[a51_0x43318f(0x116)]['push'](a51_0x43318f(0x111)),!process[a51_0x43318f(0x116)][a51_0x43318f(0x17e)](a51_0x43318f(0x171))&&process['argv'][a51_0x43318f(0x176)](a51_0x43318f(0x153)),helper['findAndReplace'](process['argv'],a51_0x43318f(0x16a),a51_0x43318f(0x131)));PerformanceTester['start'](PerformanceEvents['SDK_SETUP']);const a51_0x2aeb32={};a51_0x2aeb32[a51_0x43318f(0x113)]=![];const argv=yargs[a51_0x43318f(0x145)](a51_0x2aeb32)[a51_0x43318f(0x159)](a51_0x43318f(0x179))[a51_0x43318f(0x122)]('v','version')['describe']('v')[a51_0x43318f(0x122)]('h',a51_0x43318f(0x150))[a51_0x43318f(0x150)](a51_0x43318f(0x150))['showHelpOnFail'](!![],Constants[a51_0x43318f(0xeb)]['HELP'])[a51_0x43318f(0x169)](a51_0x43318f(0xfa),Constants[a51_0x43318f(0x14d)][a51_0x43318f(0x14a)],function(_0x1c68a2){const _0x35d7d1=a51_0x43318f,_0x425bdd={'GyMbo':'jest','kriwE':function(_0x444184,_0x1c26db,_0x4ed10d,_0x423136,_0x1504ed,_0x1b4219){return _0x444184(_0x1c26db,_0x4ed10d,_0x423136,_0x1504ed,_0x1b4219);},'NzuJx':function(_0x55a3d9,_0x51bfe3){return _0x55a3d9(_0x51bfe3);},'sMzOu':_0x35d7d1(0x123)},_0x1f21e0=process['argv'][_0x35d7d1(0xf2)](0x2);helper[_0x35d7d1(0x108)](),helper[_0x35d7d1(0xf7)](),_0x1c68a2['strict'](![]);const _0x4321f1=new BrowserStackSetup(_0x1c68a2[_0x35d7d1(0x116)],_0x425bdd[_0x35d7d1(0xf3)]);return _0x425bdd[_0x35d7d1(0x11e)](captureError,_0x425bdd[_0x35d7d1(0x127)](require,_0x425bdd[_0x35d7d1(0x163)]),_0x1c68a2[_0x35d7d1(0x116)],_0x4321f1,_0x1f21e0,!![]);})['command'](a51_0x43318f(0x12b),Constants[a51_0x43318f(0x10e)]['INFO'],_0x2c18f9=>{const _0x4898e6=a51_0x43318f,_0x5d4b60={'mFcXX':function(_0x29cbc0,_0x3680a5,_0x32aac5,_0x2cd8ed){return _0x29cbc0(_0x3680a5,_0x32aac5,_0x2cd8ed);},'CZHMo':function(_0x34fb94,_0x4bf111){return _0x34fb94(_0x4bf111);},'eGDJS':_0x4898e6(0xf5),'aLSWd':_0x4898e6(0x12b),'qMaxH':_0x4898e6(0x186),'MLgGg':function(_0x7bb30b,_0x164678,_0x39f3f1){return _0x7bb30b(_0x164678,_0x39f3f1);},'ySceS':_0x4898e6(0x106),'DGSLp':function(_0x91e047,_0x23e4a1,_0x4fef50){return _0x91e047(_0x23e4a1,_0x4fef50);},'EDOkw':_0x4898e6(0x137),'HfOcW':_0x4898e6(0x164),'iaOMl':function(_0x54b66c){return _0x54b66c();}};process[_0x4898e6(0x116)]=process[_0x4898e6(0x116)]['slice'](0x1),helper[_0x4898e6(0x108)](),helper[_0x4898e6(0xf7)]();const _0x41f23e=new BrowserStackSetup(_0x2c18f9[_0x4898e6(0x116)],_0x5d4b60[_0x4898e6(0x10d)]);logger[_0x4898e6(0x184)](_0x5d4b60['qMaxH']);const _0x27f67b=_0x5d4b60[_0x4898e6(0x11d)](requireModule,_0x5d4b60[_0x4898e6(0x14f)],_0x5d4b60['aLSWd']),_0x242de4=_0x5d4b60[_0x4898e6(0xf9)](requireModule,_0x5d4b60[_0x4898e6(0x10f)],_0x5d4b60[_0x4898e6(0x10d)]);delete _0x27f67b['handler'],_0x27f67b['handler']=function(_0x189a97){const _0x5febab=_0x4898e6;return _0x5d4b60[_0x5febab(0x138)](captureError,_0x5d4b60['CZHMo'](require,_0x5d4b60['eGDJS']),_0x189a97,_0x41f23e);},_0x242de4[_0x4898e6(0x101)]=_0x27f67b;const {main:_0x3e36a7}=_0x5d4b60[_0x4898e6(0xf9)](requireModule,_0x5d4b60[_0x4898e6(0x141)],_0x5d4b60[_0x4898e6(0x10d)]);_0x5d4b60[_0x4898e6(0x15d)](_0x3e36a7);})[a51_0x43318f(0x169)]('cucumber-js',Constants[a51_0x43318f(0x104)][a51_0x43318f(0x14a)],function(_0x1f92a7){const _0xa6c02a=a51_0x43318f,_0x3a505c={'LPfBn':_0xa6c02a(0x152),'oKjQs':function(_0x4906a6,_0x111389,_0x3653bf,_0x41f5e7,_0x58d665,_0x31095a){return _0x4906a6(_0x111389,_0x3653bf,_0x41f5e7,_0x58d665,_0x31095a);},'tNbtT':function(_0x5067e6,_0x10bb7a){return _0x5067e6(_0x10bb7a);},'SDavO':'./cucumber-js/command'},_0xe376c6=process['argv']['slice'](0x2),_0x3fc103=new BrowserStackSetup(_0x1f92a7['argv'],_0x3a505c['LPfBn']);return _0x3a505c[_0xa6c02a(0xf1)](captureError,_0x3a505c[_0xa6c02a(0x124)](require,_0x3a505c['SDavO']),_0x1f92a7[_0xa6c02a(0x116)],_0x3fc103,_0xe376c6,!![]);})[a51_0x43318f(0x169)](a51_0x43318f(0x17c),Constants[a51_0x43318f(0x114)][a51_0x43318f(0x14a)],function(_0xb9603b){const _0x509590=a51_0x43318f,_0x4ddaa5={'Udgca':_0x509590(0x12c),'xQCUl':function(_0x509e7e,_0x35c521,_0x104adb,_0x35b86,_0x286ff6){return _0x509e7e(_0x35c521,_0x104adb,_0x35b86,_0x286ff6);},'GXLaY':function(_0x122932,_0x24a9e7){return _0x122932(_0x24a9e7);},'xFLuu':_0x509590(0xf6)},_0x24f8c2=process['argv'][_0x509590(0xf2)](0x2),_0x8e4908=new BrowserStackSetup(_0xb9603b[_0x509590(0x116)],_0x4ddaa5[_0x509590(0xf0)]);return _0x4ddaa5[_0x509590(0x146)](captureError,_0x4ddaa5[_0x509590(0x100)](require,_0x4ddaa5[_0x509590(0x10c)]),_0xb9603b['argv'],_0x8e4908,_0x24f8c2);})[a51_0x43318f(0x169)](a51_0x43318f(0x15b),Constants[a51_0x43318f(0xef)]['INFO'],function(_0x4d97d8){const _0x337afb=a51_0x43318f,_0x1338bd={'lwhSn':function(_0x715e9b,_0x246c09,_0x448643,_0x13f76f,_0x2825dc){return _0x715e9b(_0x246c09,_0x448643,_0x13f76f,_0x2825dc);},'yHlgO':function(_0x53f420,_0x3bec54){return _0x53f420(_0x3bec54);},'IFaqU':_0x337afb(0x151)},_0x4e6ee9=process[_0x337afb(0x116)]['slice'](0x2),_0x61e998=new BrowserStackSetup(_0x4d97d8['argv']);return _0x1338bd[_0x337afb(0x121)](captureError,_0x1338bd['yHlgO'](require,_0x1338bd[_0x337afb(0x118)]),_0x4d97d8['argv'],_0x61e998,_0x4e6ee9);})['command']('codeceptjs',Constants[a51_0x43318f(0x125)]['INFO'],function(_0x51c09b){const _0x24edfa=a51_0x43318f,_0x2af3de={'pZFpb':_0x24edfa(0x180),'aDEFB':function(_0x4f9038,_0x381a3a,_0x4ee39f,_0x45fc9d,_0x1c4cc1){return _0x4f9038(_0x381a3a,_0x4ee39f,_0x45fc9d,_0x1c4cc1);},'WzONl':function(_0x2e6467,_0x1e657c){return _0x2e6467(_0x1e657c);},'IGsPl':'./codeceptjs/command'},_0x48bb2d=process[_0x24edfa(0x116)][_0x24edfa(0xf2)](0x2),_0x575fb7=new BrowserStackSetup(_0x51c09b[_0x24edfa(0x116)],_0x2af3de[_0x24edfa(0x177)]);return _0x2af3de[_0x24edfa(0x12e)](captureError,_0x2af3de['WzONl'](require,_0x2af3de[_0x24edfa(0xf4)]),_0x51c09b[_0x24edfa(0x116)],_0x575fb7,_0x48bb2d);})[a51_0x43318f(0x169)]('ats',Constants[a51_0x43318f(0x16c)][a51_0x43318f(0x14a)],function(_0x37b8e6){const _0x243c0c=a51_0x43318f,_0x5f1dd0={'IRSQs':function(_0x1f2a25,_0x4c7cb0,_0x59fe04){return _0x1f2a25(_0x4c7cb0,_0x59fe04);},'hZMaF':function(_0x541db5,_0x3d2f7c){return _0x541db5(_0x3d2f7c);},'dkKSz':_0x243c0c(0xee)},_0x4d3f38=process[_0x243c0c(0x116)][_0x243c0c(0xf2)](0x2);return _0x5f1dd0[_0x243c0c(0x139)](captureError,_0x5f1dd0[_0x243c0c(0x142)](require,_0x5f1dd0[_0x243c0c(0x109)]),_0x37b8e6);})[a51_0x43318f(0x169)](a51_0x43318f(0x14c),Constants[a51_0x43318f(0x170)][a51_0x43318f(0x14a)],function(_0x3a75d6){const _0xc0ac18=a51_0x43318f,_0x248603={'vQwBG':function(_0xf4875a,_0x3f91fd){return _0xf4875a(_0x3f91fd);}};return _0x248603[_0xc0ac18(0x160)](runIntegrations,_0x3a75d6);})[a51_0x43318f(0x169)]('playwright',Constants['PLAYWRIGHT']['INFO'],function(_0x3a388c){const _0x5ad413=a51_0x43318f,_0xe9ac13={'AaBAR':_0x5ad413(0x16d),'rRTOX':function(_0x5324aa,_0x555e22){return _0x5324aa&&_0x555e22;},'XkbxC':function(_0x580369,_0x4586c4,_0x5e33e5,_0x4ae392,_0x17c734,_0x591e7b){return _0x580369(_0x4586c4,_0x5e33e5,_0x4ae392,_0x17c734,_0x591e7b);},'INchL':function(_0x58df44,_0x54d909){return _0x58df44(_0x54d909);},'uZldV':_0x5ad413(0x105)},_0x4d7741=process[_0x5ad413(0x116)][_0x5ad413(0xf2)](0x2);helper[_0x5ad413(0x168)](process['argv'])&&(process[_0x5ad413(0x143)][_0x5ad413(0xf8)]=helper[_0x5ad413(0x168)](process[_0x5ad413(0x116)]));helper[_0x5ad413(0x108)](),helper['setBrowserStackAutomationDisable']();const _0x2dfa37=new BrowserStackSetup(_0x3a388c[_0x5ad413(0x116)],FRAMEWORKS[_0x5ad413(0x17b)]);try{if(!_0x2dfa37[_0x5ad413(0x181)]||!_0x2dfa37[_0x5ad413(0x181)][_0x5ad413(0x107)]){const _0x195d16=_0xe9ac13[_0x5ad413(0x165)],_0x57896a=process[_0x5ad413(0x143)][_0x5ad413(0x178)]||'',_0x4ec8f6=_0x57896a['split'](',')[_0x5ad413(0x161)](_0xda6b3f=>_0xda6b3f[_0x5ad413(0x148)]())[_0x5ad413(0x115)](Boolean),_0x2db19c=_0x4ec8f6[_0x5ad413(0x172)](_0x5e92ee=>_0x5e92ee===_0x5ad413(0x103)||_0x5e92ee==='-pw:*'||_0x5e92ee==='-*'),_0x33af43=_0x4ec8f6[_0x5ad413(0x172)](_0x5a5dd9=>_0x5a5dd9===_0x195d16||_0x5a5dd9===_0x5ad413(0x15f)||_0x5a5dd9==='*');if(_0xe9ac13['rRTOX'](!_0x2db19c,!_0x33af43)){const _0x2a2da5=helper[_0x5ad413(0x11b)]();_0x2a2da5&&(process[_0x5ad413(0x143)][_0x5ad413(0x178)]=_0x57896a?_0x57896a+','+_0x195d16:_0x195d16,!process[_0x5ad413(0x143)][_0x5ad413(0x112)]&&(process[_0x5ad413(0x143)][_0x5ad413(0x112)]=_0x2a2da5));}}}catch(_0x55243b){logger['debug'](_0x5ad413(0x14e)+util['format'](_0x55243b));}return _0xe9ac13[_0x5ad413(0x129)](captureError,_0xe9ac13[_0x5ad413(0x13d)](require,_0xe9ac13[_0x5ad413(0x16b)]),_0x3a388c[_0x5ad413(0x116)],_0x2dfa37,_0x4d7741,!![]);})[a51_0x43318f(0x169)](a51_0x43318f(0x174),a51_0x43318f(0xff),function(_0x28dc89){const _0x5097c4=a51_0x43318f,_0x5cefe1={};_0x5cefe1[_0x5097c4(0x11f)]=_0x5097c4(0x150),_0x5cefe1[_0x5097c4(0x185)]=_0x5097c4(0xec),_0x5cefe1[_0x5097c4(0x17a)]='Show\x20help';const _0x19d106=_0x5cefe1;return _0x28dc89[_0x5097c4(0x150)](![])['option'](_0x19d106[_0x5097c4(0x11f)],{'alias':'h','type':_0x19d106['rIDvI'],'describe':_0x19d106['XPZGJ']})[_0x5097c4(0x156)](![])[_0x5097c4(0x166)](![]);},function(_0x4b4396){const _0x32f793=a51_0x43318f,_0x122d3c={'WxmhR':function(_0x46970e,_0x6e2de4,_0x462bd4){return _0x46970e(_0x6e2de4,_0x462bd4);},'bpigM':function(_0xe9c7fb,_0x448104){return _0xe9c7fb(_0x448104);},'lGwBV':'./load/index'},_0x193fdf={};return _0x193fdf[_0x32f793(0x116)]=_0x4b4396,_0x122d3c[_0x32f793(0x120)](captureError,_0x122d3c['bpigM'](require,_0x122d3c[_0x32f793(0x102)]),_0x193fdf);})[a51_0x43318f(0x167)](0x1,'You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.')['wrap'](null)['argv'];!helper[a51_0x43318f(0xed)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a51_0x43318f(0x155)&&console[a51_0x43318f(0x154)](a51_0x43318f(0xfb));
package/src/bin/setup.js CHANGED
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- const a52_0x4a0995=a52_0x56f4;(function(_0x64708e,_0x2343e2){const _0x1c2361=a52_0x56f4,_0x27b2f2=_0x64708e();while(!![]){try{const _0x526463=parseInt(_0x1c2361(0x13e))/0x1*(parseInt(_0x1c2361(0x10f))/0x2)+parseInt(_0x1c2361(0x114))/0x3+-parseInt(_0x1c2361(0x138))/0x4+-parseInt(_0x1c2361(0x14a))/0x5+-parseInt(_0x1c2361(0x13c))/0x6+-parseInt(_0x1c2361(0x12f))/0x7+parseInt(_0x1c2361(0x12a))/0x8;if(_0x526463===_0x2343e2)break;else _0x27b2f2['push'](_0x27b2f2['shift']());}catch(_0x41d7ac){_0x27b2f2['push'](_0x27b2f2['shift']());}}}(a52_0x8f62,0x3a2df));const fs=require('fs'),helper=require(a52_0x4a0995(0x11f)),utilities=require(a52_0x4a0995(0x11e)),yaml=require(a52_0x4a0995(0x136)),yargs=require(a52_0x4a0995(0x130)),logger=require(a52_0x4a0995(0x12e))[a52_0x4a0995(0x11b)],configFileTemplate=__dirname+a52_0x4a0995(0x120),configFileTemplatePW=__dirname+'/../../browserstack.pw.yml.sample',configFile=process['cwd']()+'/browserstack.yml',packageFile=process[a52_0x4a0995(0x127)]()+a52_0x4a0995(0x132),frameworks=['mocha','jest','cucumber-js',a52_0x4a0995(0x129),a52_0x4a0995(0x139),'codeceptjs','playwright'];let config;logger['info']('Creating\x20configuration\x20file...'),createConfigurationFile(yargs[a52_0x4a0995(0x11c)][a52_0x4a0995(0x112)],yargs[a52_0x4a0995(0x11c)]['key'],yargs['argv'][a52_0x4a0995(0x12d)]);try{sdkSetup();}catch(a52_0x3904cf){logger[a52_0x4a0995(0x111)](a52_0x4a0995(0x150)+a52_0x3904cf);}function a52_0x56f4(_0x1cacda,_0xf3e152){const _0x8f62fb=a52_0x8f62();return a52_0x56f4=function(_0x56f492,_0x5d7e43){_0x56f492=_0x56f492-0x10d;let _0x1e2ca8=_0x8f62fb[_0x56f492];return _0x1e2ca8;},a52_0x56f4(_0x1cacda,_0xf3e152);}addScriptInPackageJson();function createConfigurationFile(_0x3af37f,_0x7c55ec,_0x3c6f03=![]){const _0x5ee45b=a52_0x4a0995,_0x1c355c={};_0x1c355c[_0x5ee45b(0x122)]=_0x5ee45b(0x12c),_0x1c355c[_0x5ee45b(0x12b)]='YOUR_USERNAME',_0x1c355c[_0x5ee45b(0x113)]='YOUR_ACCESS_KEY';const _0xd4f567=_0x1c355c;try{let _0x2e70d7=fs[_0x5ee45b(0x14d)](_0x3c6f03?configFileTemplatePW:configFileTemplate,_0xd4f567[_0x5ee45b(0x122)]);_0x3af37f&&(_0x2e70d7=_0x2e70d7['replace'](_0xd4f567[_0x5ee45b(0x12b)],_0x3af37f)),_0x7c55ec&&(_0x2e70d7=_0x2e70d7[_0x5ee45b(0x149)](_0xd4f567['JbLKG'],_0x7c55ec)),config=yaml[_0x5ee45b(0x137)](_0x2e70d7),fs[_0x5ee45b(0x14c)](configFile,_0x2e70d7,_0x585796=>{const _0x8d8285=_0x5ee45b;_0x585796&&logger[_0x8d8285(0x147)](_0x585796);});}catch(_0x2d54e9){logger[_0x5ee45b(0x147)](_0x2d54e9);}}function addPostInstallScript(_0x4a1e44,_0x23e89c){const _0x175828=a52_0x4a0995,_0xbc9679={};_0xbc9679['jnAQx']='postinstall',_0xbc9679[_0x175828(0x142)]=_0x175828(0x140),_0xbc9679[_0x175828(0x133)]='\x20&&\x20npm\x20update\x20browserstack-node-sdk';const _0x334a04=_0xbc9679;let _0xa92007=_0x4a1e44[_0x334a04[_0x175828(0x131)]];if(_0xa92007&&_0xa92007['includes'](_0x334a04[_0x175828(0x142)]))return;!_0xa92007?_0xa92007=_0x334a04[_0x175828(0x142)]:_0xa92007+=_0x334a04[_0x175828(0x133)],_0x23e89c[_0x175828(0x126)]([_0x334a04[_0x175828(0x131)],_0xa92007]);}function addScriptInPackageJson(){const _0x2269c9=a52_0x4a0995,_0x5a7d0b={'RDiqh':'utf8','mMzsU':function(_0x58c982,_0x392790){return _0x58c982<_0x392790;},'XwQmk':function(_0x3b7464,_0x18d424,_0x316d01){return _0x3b7464(_0x18d424,_0x316d01);},'UbHsM':function(_0x7918d4,_0x1f54ec,_0x207055){return _0x7918d4(_0x1f54ec,_0x207055);},'lsSaf':function(_0x2cc3da,_0x4e5115,_0x3c4874){return _0x2cc3da(_0x4e5115,_0x3c4874);},'wgOfK':function(_0x5d15b9,_0x1561e0){return _0x5d15b9<_0x1561e0;},'zLkAT':function(_0x57673a,_0x231afe){return _0x57673a!==_0x231afe;},'pYHqi':_0x2269c9(0x128)},_0x3d4987=JSON['parse'](fs[_0x2269c9(0x14d)](packageFile,_0x5a7d0b['RDiqh'])),_0x131fdb=[];for(let _0x15b48f=0x0;_0x5a7d0b['mMzsU'](_0x15b48f,frameworks[_0x2269c9(0x11a)]);_0x15b48f+=0x1){const _0x19f903=_0x5a7d0b[_0x2269c9(0x14f)](findScriptsWithFramework,_0x3d4987['scripts'],frameworks[_0x15b48f]);for(let _0xcc499f=0x0;_0x5a7d0b[_0x2269c9(0x14b)](_0xcc499f,_0x19f903[_0x2269c9(0x11a)]);_0xcc499f+=0x1){_0x131fdb[_0x2269c9(0x126)](_0x5a7d0b[_0x2269c9(0x14e)](getUpdatedCommand,_0x3d4987['scripts'],_0x19f903[_0xcc499f]));}_0x5a7d0b[_0x2269c9(0x143)](addPostInstallScript,_0x3d4987['scripts'],_0x131fdb);}const _0x1f6859={..._0x3d4987[_0x2269c9(0x141)]},_0x269cc6=_0x1f6859;for(let _0x25087d=0x0;_0x5a7d0b[_0x2269c9(0x146)](_0x25087d,_0x131fdb[_0x2269c9(0x11a)]);_0x25087d+=0x1){_0x269cc6[_0x131fdb[_0x25087d][0x0]]=_0x131fdb[_0x25087d][0x1];}_0x5a7d0b[_0x2269c9(0x144)](JSON['stringify'](_0x3d4987[_0x2269c9(0x141)]),JSON[_0x2269c9(0x10d)](_0x269cc6))&&(logger['info'](_0x5a7d0b[_0x2269c9(0x135)]),_0x3d4987[_0x2269c9(0x141)]=_0x269cc6,fs[_0x2269c9(0x14c)](packageFile,JSON[_0x2269c9(0x10d)](_0x3d4987,null,0x2),_0x244198=>{_0x244198&&logger['error'](_0x244198);}));}function a52_0x8f62(){const _0x15cd11=['isUndefined','134vYqfrL','includes','debug','username','JbLKG','756756FZUPLY','source','OwpCG','SDKSetup','node-setup','browserstack-node-sdk\x20','length','winstonLogger','argv','dhCch','../helpers/utilities','../helpers/helper','/../../browserstack.yml.sample','Setup\x20completed','fiCiQ','indexOf','Ojnia','join','push','cwd','Adding\x20new\x20script(s)\x20in\x20package.json...','node','903536bvguvs','KFuEO','utf8','playwright','../helpers/logger','287777CwNKYI','yargs','jnAQx','/package.json','itAhH','GjWoy','pYHqi','js-yaml','load','1012048KnzQTv','nightwatch','fireFunnelTestEvent','entries','1500732lDNbIs','LKyKQ','6639mfLZrD','browserstack-node-sdk','npm\x20update\x20browserstack-node-sdk','scripts','xCWWO','lsSaf','zLkAT','xTxRe','wgOfK','error','splice','replace','137295DBYyul','mMzsU','writeFileSync','readFileSync','UbHsM','XwQmk','Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20','stringify'];a52_0x8f62=function(){return _0x15cd11;};return a52_0x8f62();};function findScriptsWithFramework(_0x57bb7f,_0x33e79b){const _0x2dad16=a52_0x4a0995,_0x49828d={};_0x49828d[_0x2dad16(0x11d)]=function(_0x187991,_0x4aac16){return _0x187991<_0x4aac16;},_0x49828d[_0x2dad16(0x145)]=_0x2dad16(0x13f);const _0x116316=_0x49828d,_0x6b7d18=[],_0x2f427c=Object[_0x2dad16(0x13b)](_0x57bb7f);for(let _0x5709ba=0x0;_0x116316[_0x2dad16(0x11d)](_0x5709ba,_0x2f427c[_0x2dad16(0x11a)]);_0x5709ba+=0x1){_0x2f427c[_0x5709ba][0x1][_0x2dad16(0x110)](_0x33e79b)&&!_0x2f427c[_0x5709ba][0x1][_0x2dad16(0x110)](_0x116316[_0x2dad16(0x145)])&&_0x6b7d18[_0x2dad16(0x126)](_0x2f427c[_0x5709ba][0x0]);}return _0x6b7d18;}function getUpdatedCommand(_0x34b56d,_0x325165){const _0x5c19f7=a52_0x4a0995,_0x22cc3b={};_0x22cc3b['JjynE']=function(_0x4f51a6,_0x2bcad7){return _0x4f51a6!==_0x2bcad7;},_0x22cc3b[_0x5c19f7(0x116)]='browserstack-node-sdk',_0x22cc3b[_0x5c19f7(0x124)]=function(_0x4c0656,_0x3ed8b7){return _0x4c0656===_0x3ed8b7;};const _0x381657=_0x22cc3b,_0x19bfb1=_0x325165+'-browserstack',_0x5c0a0d=_0x34b56d[_0x325165],_0x50b03f=_0x5c0a0d['split']('\x20');for(const _0x42cc88 of frameworks){if(_0x381657['JjynE'](_0x50b03f[_0x5c19f7(0x123)](_0x42cc88),-0x1)){_0x50b03f[_0x5c19f7(0x148)](_0x50b03f['indexOf'](_0x42cc88),0x0,_0x381657[_0x5c19f7(0x116)]);break;}}let _0x2598c9=_0x50b03f[_0x5c19f7(0x125)]('\x20');return _0x381657['Ojnia'](_0x2598c9,_0x5c0a0d)&&(_0x2598c9=_0x5c19f7(0x119)+_0x5c0a0d),[_0x19bfb1,_0x2598c9];}function sdkSetup(){const _0x15309e=a52_0x4a0995,_0x11f1f1={};_0x11f1f1['LKyKQ']=_0x15309e(0x118),_0x11f1f1['GjWoy']=_0x15309e(0x117);const _0x5d09b0=_0x11f1f1;if(helper[_0x15309e(0x10e)](config))return;config[_0x15309e(0x115)]=_0x5d09b0[_0x15309e(0x13d)];try{utilities[_0x15309e(0x13a)](_0x5d09b0[_0x15309e(0x134)],{},config,'');}catch(_0x390136){logger[_0x15309e(0x111)]('Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20'+_0x390136);}}logger['info'](a52_0x4a0995(0x121));
3
+ const a52_0x556a64=a52_0x19a9;(function(_0x1f698b,_0x24d3aa){const _0x583bc3=a52_0x19a9,_0x5bb5a3=_0x1f698b();while(!![]){try{const _0x478cf5=-parseInt(_0x583bc3(0x115))/0x1+-parseInt(_0x583bc3(0x10c))/0x2+-parseInt(_0x583bc3(0xda))/0x3+parseInt(_0x583bc3(0x114))/0x4+parseInt(_0x583bc3(0xe4))/0x5+parseInt(_0x583bc3(0x11d))/0x6*(parseInt(_0x583bc3(0x102))/0x7)+parseInt(_0x583bc3(0x106))/0x8*(parseInt(_0x583bc3(0xd2))/0x9);if(_0x478cf5===_0x24d3aa)break;else _0x5bb5a3['push'](_0x5bb5a3['shift']());}catch(_0x453117){_0x5bb5a3['push'](_0x5bb5a3['shift']());}}}(a52_0x4cef,0x3045f));const fs=require('fs'),helper=require(a52_0x556a64(0xfd)),utilities=require(a52_0x556a64(0x110)),yaml=require('js-yaml'),yargs=require(a52_0x556a64(0x119)),logger=require(a52_0x556a64(0xfb))[a52_0x556a64(0xfa)],configFileTemplate=__dirname+'/../../browserstack.yml.sample',configFileTemplatePW=__dirname+a52_0x556a64(0xe9),configFile=process[a52_0x556a64(0x116)]()+a52_0x556a64(0xe1),packageFile=process[a52_0x556a64(0x116)]()+a52_0x556a64(0x105),frameworks=['mocha',a52_0x556a64(0x10f),a52_0x556a64(0xdd),a52_0x556a64(0xe8),a52_0x556a64(0xd6),a52_0x556a64(0xe3),'playwright'];let config;function a52_0x4cef(){const _0x2e89b1=['cucumber-js','readFileSync','node-setup','scripts','/browserstack.yml','Fioyg','codeceptjs','1430495GkARWA','UPOes','Ykyoi','-browserstack','node','/../../browserstack.pw.yml.sample','Creating\x20configuration\x20file...','push','stringify','indexOf','Setup\x20completed','replace','npm\x20update\x20browserstack-node-sdk','CmJDt','hvuOG','utf8','UncZP','username','YOUR_ACCESS_KEY','postinstall','kFlWo','AxZDR','winstonLogger','../helpers/logger','argv','../helpers/helper','length','ynCyc','Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20','YOUR_USERNAME','154uBwHnM','browserstack-node-sdk','Adding\x20new\x20script(s)\x20in\x20package.json...','/package.json','568TbdsvM','OVUKU','entries','isUndefined','parse','Vtsim','94950UsmMIE','error','PxctF','jest','../helpers/utilities','load','includes','fireFunnelTestEvent','426288LqFDWa','40543wEpjwP','cwd','source','info','yargs','wyiJy','playwright','writeFileSync','4614eRXIJL','16578xvaDJU','cTxPJ','split','OReKt','nightwatch','WoTle','mXVzr','TXWbN','763878vKHzVW','iiEhh','SDKSetup'];a52_0x4cef=function(){return _0x2e89b1;};return a52_0x4cef();}logger[a52_0x556a64(0x118)](a52_0x556a64(0xea)),createConfigurationFile(yargs[a52_0x556a64(0xfc)][a52_0x556a64(0xf5)],yargs[a52_0x556a64(0xfc)]['key'],yargs[a52_0x556a64(0xfc)][a52_0x556a64(0x11b)]);function a52_0x19a9(_0x1468b6,_0x5a323a){const _0x4cef6d=a52_0x4cef();return a52_0x19a9=function(_0x19a97b,_0x2e5f23){_0x19a97b=_0x19a97b-0xd2;let _0x50fab4=_0x4cef6d[_0x19a97b];return _0x50fab4;},a52_0x19a9(_0x1468b6,_0x5a323a);}try{sdkSetup();}catch(a52_0x3c6f09){logger['debug'](a52_0x556a64(0x100)+a52_0x3c6f09);}addScriptInPackageJson();function createConfigurationFile(_0x5044ea,_0x5b3a74,_0x375bce=![]){const _0x5ce7eb=a52_0x556a64,_0x110355={};_0x110355[_0x5ce7eb(0xd5)]=_0x5ce7eb(0xf3),_0x110355[_0x5ce7eb(0xdb)]=_0x5ce7eb(0x101),_0x110355['ugCMk']=_0x5ce7eb(0xf6);const _0x4e549f=_0x110355;try{let _0x3fb38c=fs[_0x5ce7eb(0xde)](_0x375bce?configFileTemplatePW:configFileTemplate,_0x4e549f[_0x5ce7eb(0xd5)]);_0x5044ea&&(_0x3fb38c=_0x3fb38c[_0x5ce7eb(0xef)](_0x4e549f[_0x5ce7eb(0xdb)],_0x5044ea)),_0x5b3a74&&(_0x3fb38c=_0x3fb38c[_0x5ce7eb(0xef)](_0x4e549f['ugCMk'],_0x5b3a74)),config=yaml[_0x5ce7eb(0x111)](_0x3fb38c),fs[_0x5ce7eb(0x11c)](configFile,_0x3fb38c,_0x29133f=>{_0x29133f&&logger['error'](_0x29133f);});}catch(_0x357a72){logger[_0x5ce7eb(0x10d)](_0x357a72);}}function addPostInstallScript(_0x56b12b,_0x55d0c9){const _0x255744=a52_0x556a64,_0x4eadfe={};_0x4eadfe['Vtsim']=_0x255744(0xf7),_0x4eadfe[_0x255744(0xf8)]=_0x255744(0xf0),_0x4eadfe['hvuOG']='\x20&&\x20npm\x20update\x20browserstack-node-sdk';const _0xedd92b=_0x4eadfe;let _0x30dee7=_0x56b12b[_0xedd92b['Vtsim']];if(_0x30dee7&&_0x30dee7[_0x255744(0x112)](_0xedd92b[_0x255744(0xf8)]))return;!_0x30dee7?_0x30dee7=_0xedd92b[_0x255744(0xf8)]:_0x30dee7+=_0xedd92b[_0x255744(0xf2)],_0x55d0c9[_0x255744(0xeb)]([_0xedd92b[_0x255744(0x10b)],_0x30dee7]);}function addScriptInPackageJson(){const _0x2dbb61=a52_0x556a64,_0x4fa9e1={'OVUKU':_0x2dbb61(0xf3),'AxZDR':function(_0x45516e,_0x381201){return _0x45516e<_0x381201;},'mXVzr':function(_0x5def80,_0xd02ac9,_0xb75992){return _0x5def80(_0xd02ac9,_0xb75992);},'cTxPJ':function(_0x57931d,_0x156365){return _0x57931d<_0x156365;},'WoTle':function(_0xd36848,_0x5812c2,_0x34ac64){return _0xd36848(_0x5812c2,_0x34ac64);},'ynCyc':function(_0x13f2ac,_0x2bc1ac){return _0x13f2ac!==_0x2bc1ac;},'CmJDt':_0x2dbb61(0x104)},_0x3871d8=JSON[_0x2dbb61(0x10a)](fs[_0x2dbb61(0xde)](packageFile,_0x4fa9e1[_0x2dbb61(0x107)])),_0x21b33e=[];for(let _0x83e68d=0x0;_0x4fa9e1['AxZDR'](_0x83e68d,frameworks[_0x2dbb61(0xfe)]);_0x83e68d+=0x1){const _0x4c425e=_0x4fa9e1[_0x2dbb61(0xd8)](findScriptsWithFramework,_0x3871d8['scripts'],frameworks[_0x83e68d]);for(let _0x5a4852=0x0;_0x4fa9e1[_0x2dbb61(0xd3)](_0x5a4852,_0x4c425e[_0x2dbb61(0xfe)]);_0x5a4852+=0x1){_0x21b33e[_0x2dbb61(0xeb)](_0x4fa9e1[_0x2dbb61(0xd8)](getUpdatedCommand,_0x3871d8['scripts'],_0x4c425e[_0x5a4852]));}_0x4fa9e1[_0x2dbb61(0xd7)](addPostInstallScript,_0x3871d8[_0x2dbb61(0xe0)],_0x21b33e);}const _0x1d479b={..._0x3871d8[_0x2dbb61(0xe0)]},_0x5df0ee=_0x1d479b;for(let _0x3297ac=0x0;_0x4fa9e1[_0x2dbb61(0xf9)](_0x3297ac,_0x21b33e['length']);_0x3297ac+=0x1){_0x5df0ee[_0x21b33e[_0x3297ac][0x0]]=_0x21b33e[_0x3297ac][0x1];}_0x4fa9e1[_0x2dbb61(0xff)](JSON['stringify'](_0x3871d8[_0x2dbb61(0xe0)]),JSON[_0x2dbb61(0xec)](_0x5df0ee))&&(logger['info'](_0x4fa9e1[_0x2dbb61(0xf1)]),_0x3871d8[_0x2dbb61(0xe0)]=_0x5df0ee,fs[_0x2dbb61(0x11c)](packageFile,JSON['stringify'](_0x3871d8,null,0x2),_0x42d21d=>{const _0x5257f6=_0x2dbb61;_0x42d21d&&logger[_0x5257f6(0x10d)](_0x42d21d);}));};function findScriptsWithFramework(_0x237360,_0x59e6a8){const _0x1a7c00=a52_0x556a64,_0x8e8e64={};_0x8e8e64[_0x1a7c00(0xf4)]=function(_0x1e9b7c,_0x3bac2e){return _0x1e9b7c<_0x3bac2e;},_0x8e8e64[_0x1a7c00(0xd9)]=_0x1a7c00(0x103);const _0x16238d=_0x8e8e64,_0x4e468d=[],_0x5008a7=Object[_0x1a7c00(0x108)](_0x237360);for(let _0x5113ae=0x0;_0x16238d[_0x1a7c00(0xf4)](_0x5113ae,_0x5008a7['length']);_0x5113ae+=0x1){_0x5008a7[_0x5113ae][0x1][_0x1a7c00(0x112)](_0x59e6a8)&&!_0x5008a7[_0x5113ae][0x1][_0x1a7c00(0x112)](_0x16238d['TXWbN'])&&_0x4e468d[_0x1a7c00(0xeb)](_0x5008a7[_0x5113ae][0x0]);}return _0x4e468d;}function getUpdatedCommand(_0x180dcf,_0x495744){const _0x12cddc=a52_0x556a64,_0x5ef243={};_0x5ef243[_0x12cddc(0x10e)]=function(_0x13f4a4,_0x29085e){return _0x13f4a4!==_0x29085e;},_0x5ef243[_0x12cddc(0xe6)]=_0x12cddc(0x103),_0x5ef243[_0x12cddc(0xe2)]=function(_0x47f6da,_0x3d2e0f){return _0x47f6da===_0x3d2e0f;};const _0x14c75a=_0x5ef243,_0x29eaa3=_0x495744+_0x12cddc(0xe7),_0x31c654=_0x180dcf[_0x495744],_0x4be1d3=_0x31c654[_0x12cddc(0xd4)]('\x20');for(const _0x1b39b8 of frameworks){if(_0x14c75a[_0x12cddc(0x10e)](_0x4be1d3['indexOf'](_0x1b39b8),-0x1)){_0x4be1d3['splice'](_0x4be1d3[_0x12cddc(0xed)](_0x1b39b8),0x0,_0x14c75a['Ykyoi']);break;}}let _0x2038cb=_0x4be1d3['join']('\x20');return _0x14c75a[_0x12cddc(0xe2)](_0x2038cb,_0x31c654)&&(_0x2038cb='browserstack-node-sdk\x20'+_0x31c654),[_0x29eaa3,_0x2038cb];}function sdkSetup(){const _0x42b1c3=a52_0x556a64,_0x3ddcd9={};_0x3ddcd9['UPOes']=_0x42b1c3(0xdf),_0x3ddcd9[_0x42b1c3(0x11a)]=_0x42b1c3(0xdc);const _0x2e6627=_0x3ddcd9;if(helper[_0x42b1c3(0x109)](config))return;config[_0x42b1c3(0x117)]=_0x2e6627[_0x42b1c3(0xe5)];try{utilities[_0x42b1c3(0x113)](_0x2e6627['wyiJy'],{},config,'');}catch(_0x465fcd){logger['debug']('Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20'+_0x465fcd);}}logger[a52_0x556a64(0x118)](a52_0x556a64(0xee));
@@ -1 +1 @@
1
- function a53_0x7bef(_0x4aab0b,_0x1f2ba1){const _0x1b8a44=a53_0x1b8a();return a53_0x7bef=function(_0x7bef54,_0x1edebd){_0x7bef54=_0x7bef54-0x99;let _0x8d2231=_0x1b8a44[_0x7bef54];return _0x8d2231;},a53_0x7bef(_0x4aab0b,_0x1f2ba1);}const a53_0x2f7410=a53_0x7bef;(function(_0x369165,_0x26e146){const _0x5eeab2=a53_0x7bef,_0x2448f3=_0x369165();while(!![]){try{const _0x103ed3=-parseInt(_0x5eeab2(0xab))/0x1*(parseInt(_0x5eeab2(0xa1))/0x2)+parseInt(_0x5eeab2(0xc7))/0x3+-parseInt(_0x5eeab2(0xa9))/0x4+parseInt(_0x5eeab2(0xe4))/0x5+parseInt(_0x5eeab2(0xf4))/0x6*(parseInt(_0x5eeab2(0x9b))/0x7)+parseInt(_0x5eeab2(0xf8))/0x8+parseInt(_0x5eeab2(0xd9))/0x9*(-parseInt(_0x5eeab2(0xf6))/0xa);if(_0x103ed3===_0x26e146)break;else _0x2448f3['push'](_0x2448f3['shift']());}catch(_0x46519c){_0x2448f3['push'](_0x2448f3['shift']());}}}(a53_0x1b8a,0x3ca22));const Worker=require(a53_0x2f7410(0xde))[a53_0x2f7410(0xa2)],Emittery=require(a53_0x2f7410(0xb1)),pLimit=require(a53_0x2f7410(0xc8)),{parentPort}=require(a53_0x2f7410(0xf3)),util=require('util'),logger=require(a53_0x2f7410(0xb9))['winstonLogger'],PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a53_0x2f7410(0xe7))['EVENTS'],{debug}=require('../../helpers/test-observability/utils'),TestHubHandler=require(a53_0x2f7410(0xa7));exports[a53_0x2f7410(0xdd)]=(_0x1a299f,_0x397818,_0x9658a0)=>new Promise(async _0x28107c=>{const _0x2bee14=a53_0x2f7410,_0x5ca299={'GOXgB':_0x2bee14(0xc6),'iarWh':function(_0x35feae,_0x52e34c){return _0x35feae+_0x52e34c;},'kDtFl':_0x2bee14(0xa5),'ILzLr':'Workers\x20failed\x20to\x20exit\x20gracefully','VRCZH':function(_0x273253,_0x5e9d9b){return _0x273253(_0x5e9d9b);},'RAuXC':function(_0x2d0029,_0x41f5f5){return _0x2d0029(_0x41f5f5);},'cYQVe':_0x2bee14(0xd2),'yGjJp':_0x2bee14(0xb8),'ERgEy':'worker','vLrkp':_0x2bee14(0xba),'PArsk':_0x2bee14(0xb5),'DZdrO':function(_0x1edbf7,_0x4ed32e){return _0x1edbf7*_0x4ed32e;},'qodBe':_0x2bee14(0xdf),'FLzYy':_0x2bee14(0xd5)},_0x32447d=_0x9658a0['config'],_0x344c3b={},_0x440fe1=new Worker(require[_0x2bee14(0xda)](_0x5ca299[_0x2bee14(0xc3)]),{'exposedMethods':[_0x5ca299[_0x2bee14(0xaa)]],'forkOptions':{'serialization':_0x5ca299[_0x2bee14(0xa4)],'stdio':_0x5ca299[_0x2bee14(0xaf)]},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0x5ca299[_0x2bee14(0xb0)](_0x397818,0x1),'enableWorkerThreads':!![]}),_0x15d041=new Emittery();_0x15d041['on'](_0x5ca299[_0x2bee14(0xed)],_0x33b9b6=>{const _0x4d3450=_0x2bee14;_0x344c3b[_0x33b9b6[0x0]]?(_0x344c3b[_0x33b9b6[0x0]][_0x5ca299['GOXgB']]=_0x5ca299['iarWh'](_0x344c3b[_0x33b9b6[0x0]][_0x5ca299[_0x4d3450(0xcd)]],_0x33b9b6[0x1][_0x5ca299[_0x4d3450(0xcd)]]),_0x344c3b[_0x33b9b6[0x0]][_0x5ca299[_0x4d3450(0xe0)]]=[..._0x344c3b[_0x33b9b6[0x0]][_0x5ca299[_0x4d3450(0xe0)]],..._0x33b9b6[0x1][_0x5ca299['kDtFl']]]):_0x344c3b[_0x33b9b6[0x0]]={'failureCount':_0x33b9b6[0x1][_0x5ca299['GOXgB']],'results':[..._0x33b9b6[0x1][_0x5ca299['kDtFl']]]};}),_0x15d041['on'](_0x5ca299['FLzYy'],_0xe8cef5=>console['log'](_0xe8cef5[0x1]));_0x440fe1[_0x2bee14(0xc9)]()&&_0x440fe1[_0x2bee14(0xc9)]()[_0x2bee14(0xb5)](process[_0x2bee14(0x99)]);_0x440fe1['getStderr']()&&_0x440fe1[_0x2bee14(0xd3)]()[_0x2bee14(0xb5)](process['stderr']);const _0x3ad402=async()=>{const _0x52fb2a=_0x2bee14,{forceExited:_0x3c53a5}=await _0x440fe1[_0x52fb2a(0xf1)]();_0x3c53a5&&console[_0x52fb2a(0x9d)](_0x5ca299[_0x52fb2a(0xb6)]);try{await TestHubHandler[_0x52fb2a(0xe9)]();}catch(_0x4d7c5d){_0x5ca299[_0x52fb2a(0xb7)](debug,_0x52fb2a(0xc5)+_0x4d7c5d);}_0x5ca299['RAuXC'](_0x28107c,_0x344c3b);},_0x510a0b=_0x5ca299[_0x2bee14(0xc2)](pLimit,_0x5ca299[_0x2bee14(0xb0)](_0x397818,0x1)),_0x5c2fc8=_0x3dca22=>_0x510a0b(async()=>{const _0x309d7c=_0x2bee14;await _0x15d041['emit'](_0x5ca299[_0x309d7c(0xee)],_0x3dca22);const _0x4c30cc=_0x440fe1[_0x309d7c(0x9a)](_0x3dca22,_0x32447d);try{parentPort&&_0x4c30cc[_0x309d7c(0x9c)](_0x5309de=>{const _0x360bf7=_0x309d7c;try{parentPort[_0x360bf7(0xca)](_0x5309de);}catch(_0x4b123c){logger[_0x360bf7(0xc0)](_0x360bf7(0xa8)+util['format'](_0x4b123c));}});}catch(_0x4c0cfa){logger[_0x309d7c(0xc0)]('Exception\x20in\x20adding\x20custom\x20message\x20channel\x20'+util[_0x309d7c(0xeb)](_0x4c0cfa));}return _0x4c30cc;});PerformanceTester[_0x2bee14(0xf1)](PerformanceEvents['SDK_SETUP']),Promise[_0x2bee14(0xa0)](_0x1a299f[_0x2bee14(0xf7)](_0x5241c7=>_0x5c2fc8(_0x5241c7)[_0x2bee14(0xef)](_0x189d39=>_0x15d041[_0x2bee14(0xe2)](_0x2bee14(0xdf),[_0x5241c7[_0x2bee14(0xd8)][_0x2bee14(0xb4)],_0x189d39]),_0x4c2d3d=>_0x15d041[_0x2bee14(0xe2)]('test-file-failure',[_0x5241c7,_0x4c2d3d]))))[_0x2bee14(0xef)](_0x3ad402,_0x3ad402);}),exports['parallelCucumberRun']=(_0x43d634,_0x3dda9e,_0x37f90a,_0x41d9ec,_0x381a6d)=>{const _0x35f951=a53_0x2f7410,_0x48908f={'vCCap':_0x35f951(0xc1),'GeCHv':function(_0x2e2959,_0x562ccf){return _0x2e2959(_0x562ccf);},'YFGrh':'platform-run-start','TChgT':_0x35f951(0xb8),'OwFbi':_0x35f951(0xbe),'KYytY':_0x35f951(0xba),'UtSrx':_0x35f951(0xb5),'kpock':_0x35f951(0xcf),'erCTu':_0x35f951(0xdc)};return new Promise(_0x26388=>{const _0x5515c2=_0x35f951,_0x541f5f=[],_0x3a8d34=new Worker(require[_0x5515c2(0xda)](_0x48908f[_0x5515c2(0xea)]),{'exposedMethods':[_0x48908f[_0x5515c2(0xad)]],'forkOptions':{'serialization':_0x48908f['KYytY'],'stdio':_0x48908f[_0x5515c2(0xb3)]},'numWorkers':_0x43d634['length']||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0x2901b7=new Emittery();_0x2901b7['on'](_0x48908f[_0x5515c2(0xd1)],_0x3c3a35=>{const _0xdfed33=_0x5515c2;_0x541f5f[_0xdfed33(0xce)]([_0x3c3a35[0x0],_0x3c3a35[0x1]]);}),_0x2901b7['on'](_0x48908f[_0x5515c2(0xd4)],_0x366c05=>console[_0x5515c2(0xae)](_0x366c05[0x1]));_0x3a8d34[_0x5515c2(0xc9)]()&&_0x3a8d34[_0x5515c2(0xc9)]()[_0x5515c2(0xb5)](process[_0x5515c2(0x99)]);_0x3a8d34[_0x5515c2(0xd3)]()&&_0x3a8d34[_0x5515c2(0xd3)]()[_0x5515c2(0xb5)](process[_0x5515c2(0xe8)]);const _0x557ace=async()=>{const _0x41e47f=_0x5515c2,{forceExited:_0xbd60c8}=await _0x3a8d34[_0x41e47f(0xf1)]();_0xbd60c8&&console[_0x41e47f(0x9d)](_0x48908f[_0x41e47f(0xb2)]),_0x48908f[_0x41e47f(0xcc)](_0x26388,_0x541f5f);},_0x2d032e=_0x48908f[_0x5515c2(0xcc)](pLimit,_0x43d634[_0x5515c2(0xdb)]||0x1),_0x5d5e2b=(_0x1cbd4d,_0x5a9020)=>_0x2d032e(async()=>{const _0x3e0f61=_0x5515c2;return await _0x2901b7[_0x3e0f61(0xe2)](_0x48908f[_0x3e0f61(0xe1)],_0x1cbd4d),_0x3dda9e['platformCaps']=_0x37f90a[_0x3e0f61(0xe5)][_0x5a9020],_0x3dda9e[_0x3e0f61(0xf0)]=_0x5a9020,_0x3a8d34[_0x3e0f61(0xbe)](_0x1cbd4d,_0x3dda9e,_0x37f90a,_0x41d9ec,_0x381a6d);});Promise[_0x5515c2(0xa0)](_0x43d634['map']((_0x186647,_0x549ec4)=>_0x5d5e2b(_0x186647,_0x549ec4)[_0x5515c2(0xef)](_0x1ba5bd=>_0x2901b7['emit'](_0x5515c2(0xcf),[_0x186647,_0x1ba5bd]),_0x536971=>_0x2901b7[_0x5515c2(0xe2)](_0x5515c2(0xdc),[_0x186647,_0x536971]))))[_0x5515c2(0xef)](_0x557ace,_0x557ace);});},exports[a53_0x2f7410(0xa6)]=(_0x4c44aa,_0x2ed35d)=>new Promise(_0x4939c9=>{const _0x4a5372=a53_0x2f7410,_0x5b4ca3={'nujZg':function(_0x9323d,_0x2ffaf5){return _0x9323d===_0x2ffaf5;},'slPSM':function(_0x377f95,_0x31d172){return _0x377f95!==_0x31d172;},'hmPjj':'exit','sMVsN':_0x4a5372(0xc1),'WoEpE':function(_0x499fbd,_0x149a60){return _0x499fbd(_0x149a60);},'naHRp':_0x4a5372(0xb8),'wwYJW':_0x4a5372(0xac),'gEtCe':_0x4a5372(0xba),'KtuKX':_0x4a5372(0xb5),'eIJBp':'test-file-success','RwELV':_0x4a5372(0xd5),'PqsSj':function(_0x384b38,_0xf4ca99){return _0x384b38(_0xf4ca99);}},_0x4490fa={},_0x158580=new Worker(require[_0x4a5372(0xda)](_0x5b4ca3[_0x4a5372(0xe6)]),{'exposedMethods':[_0x5b4ca3[_0x4a5372(0xa3)]],'forkOptions':{'serialization':_0x5b4ca3[_0x4a5372(0xbf)],'stdio':_0x5b4ca3['KtuKX']},'numWorkers':_0x2ed35d,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0x2e9593=new Emittery();_0x2e9593['on'](_0x5b4ca3[_0x4a5372(0xe3)],_0x8137fd=>{const _0x1c2d73=_0x4a5372;_0x8137fd[0x0]&&logger[_0x1c2d73(0xd7)]('Running\x20'+_0x8137fd[0x1]+_0x1c2d73(0x9e),_0x8137fd[0x0]);}),_0x2e9593['on'](_0x5b4ca3[_0x4a5372(0xec)],_0x38959c=>{const _0x2ae455=_0x4a5372;process[_0x2ae455(0xd6)]=0x1;});_0x158580[_0x4a5372(0xc9)]()&&_0x158580[_0x4a5372(0xc9)]()[_0x4a5372(0xb5)](process[_0x4a5372(0x99)]);_0x158580[_0x4a5372(0xd3)]()&&_0x158580[_0x4a5372(0xd3)]()[_0x4a5372(0xb5)](process['stderr']);const _0x7f255e=async()=>{const _0x4d8acf=_0x4a5372,_0x14ca5c={'NZPSv':function(_0xb9d0cb,_0x480cce){const _0xd51aa0=a53_0x7bef;return _0x5b4ca3[_0xd51aa0(0xd0)](_0xb9d0cb,_0x480cce);},'TgQjL':function(_0x526c14,_0x448ec1){return _0x5b4ca3['slPSM'](_0x526c14,_0x448ec1);},'xecZE':_0x5b4ca3[_0x4d8acf(0x9f)]};let _0x2c20e7=0x0;const _0x5bcb48=_0x158580[_0x4d8acf(0xbd)]['getWorkers'](),_0x2f7108=()=>{},_0x3d7e39=_0x5bcb48[_0x4d8acf(0xf7)](async _0x4e8b43=>{const _0x3bfbef=_0x4d8acf;_0x4e8b43['send']([0x2,![]],_0x2f7108,_0x2f7108,_0x2f7108),_0x4e8b43[_0x3bfbef(0xbc)]['on'](_0x14ca5c['xecZE'],_0x414b53=>{const _0x231056=_0x3bfbef;_0x14ca5c[_0x231056(0xcb)](_0x2c20e7,0x0)&&_0x14ca5c['TgQjL'](_0x414b53,0x0)&&(_0x2c20e7=_0x414b53);}),await _0x4e8b43[_0x3bfbef(0xf2)]();});await Promise['all'](_0x3d7e39),process[_0x4d8acf(0xd6)]=_0x2c20e7;const {forceExited:_0xa180f3}=await _0x158580[_0x4d8acf(0xf1)]();_0xa180f3&&console[_0x4d8acf(0x9d)](_0x5b4ca3[_0x4d8acf(0xbb)]),_0x5b4ca3['WoEpE'](_0x4939c9,_0x4490fa);},_0x1a096a=_0x5b4ca3[_0x4a5372(0xf5)](pLimit,_0x2ed35d),_0x13b992=_0x3594f1=>_0x1a096a(async()=>{const _0x4e023b=_0x4a5372;return _0x158580[_0x4e023b(0xac)](_0x3594f1);});Promise[_0x4a5372(0xa0)](_0x4c44aa[_0x4a5372(0xf7)](_0x5af0b6=>_0x13b992(_0x5af0b6)[_0x4a5372(0xef)](_0x1c6655=>_0x2e9593['emit'](_0x4a5372(0xdf),[_0x5af0b6[_0x4a5372(0xd8)]['platform'],_0x5af0b6['configuration'][_0x4a5372(0xc4)]]),_0x5cbc09=>_0x2e9593[_0x4a5372(0xe2)](_0x4a5372(0xd5),[_0x5af0b6,_0x5cbc09]))))[_0x4a5372(0xef)](_0x7f255e,_0x7f255e);});function a53_0x1b8a(){const _0x3d9171=['waitForExit','worker_threads','1033872gImUXY','PqsSj','30MXxswl','map','3210264MragcL','stdout','worker','7QQCIYf','UNSTABLE_onCustomMessage','error','\x20for','hmPjj','all','4GdGtIG','Worker','wwYJW','vLrkp','results','parallelVanillaRun','../../helpers/testhub/testhubHandler','Exception\x20in\x20sending\x20worker\x20message\x20','1482536EYVbgm','ERgEy','192103ASOnJd','vanillaWorker','OwFbi','log','PArsk','DZdrO','emittery','vCCap','UtSrx','platform','pipe','ILzLr','VRCZH','./testWorker.js','../../helpers/logger','json','sMVsN','_child','_workerPool','cucumberWorker','gEtCe','debug','Workers\x20failed\x20to\x20exit\x20gracefully','RAuXC','yGjJp','file','Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20','failureCount','526746wWiXgx','p-limit','getStdout','postMessage','NZPSv','GeCHv','GOXgB','push','platform-run-success','nujZg','kpock','test-file-start','getStderr','erCTu','test-file-failure','exitCode','info','configuration','207387jDaKbW','resolve','length','platform-run-failure','parallelTestRun','jest-worker','test-file-success','kDtFl','YFGrh','emit','eIJBp','1615730YsSXCd','platforms','naHRp','../../helpers/performance/constants','stderr','stop','TChgT','format','RwELV','qodBe','cYQVe','then','platformIndex','end'];a53_0x1b8a=function(){return _0x3d9171;};return a53_0x1b8a();}
1
+ function a53_0x126d(){const _0x4bfdc8=['file','exitCode','platformCaps','pkyZp','getWorkers','jiUmM','YMsFY','platform-run-success','all','hUCgr','PEsfP','error','xydEM','Worker','configuration','aYssX','cucumberWorker','info','CRbyE','debug','getStderr','push','ydvUm','Usejc','platform-run-start','20Tengnr','platform','postMessage','test-file-success','parallelCucumberRun','stderr','end','stdout','STiyQ','send','XrJNB','parallelTestRun','ePaBG','map','../../helpers/logger','_child','winstonLogger','142pVkGUE','nLWvI','emittery','getStdout','Running\x20','128iVbOsS','exit','Exception\x20in\x20sending\x20worker\x20message\x20','failureCount','TGeyJ','Ashjv','waitForExit','results','emit','vanillaWorker','test-file-start','jKFen','_workerPool','Exception\x20in\x20adding\x20custom\x20message\x20channel\x20','veFJD','platforms','qzMMD','ovBaI','../../helpers/performance/performance-tester','then','util','PzOwO','../../helpers/performance/constants','format','pAlVQ','eFRiV','16094007kDsSfa','json','GemnB','log','QKrSh','PcdXN','PKeig','1855900bXzuDm','UvINl','671461KBKlHg','pipe','platformIndex','qEZir','lYgws','glgIp','./testWorker.js','843PtXUtY','parallelVanillaRun','Workers\x20failed\x20to\x20exit\x20gracefully','9107034gKnMUZ','Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20','stop','p-limit','Xfros','yHXET','UNSTABLE_onCustomMessage','test-file-failure','7495920gQfDlW','length','worker','DPffi','eJTdS','1690308kohGqt','resolve','../../helpers/test-observability/utils'];a53_0x126d=function(){return _0x4bfdc8;};return a53_0x126d();}const a53_0x587314=a53_0x1789;(function(_0x3909c6,_0x3172f5){const _0x8b20b8=a53_0x1789,_0x398310=_0x3909c6();while(!![]){try{const _0x293899=-parseInt(_0x8b20b8(0x1e3))/0x1+-parseInt(_0x8b20b8(0x210))/0x2*(parseInt(_0x8b20b8(0x1d3))/0x3)+parseInt(_0x8b20b8(0x1ca))/0x4+-parseInt(_0x8b20b8(0x1de))/0x5+-parseInt(_0x8b20b8(0x1d6))/0x6+-parseInt(_0x8b20b8(0x1cc))/0x7*(-parseInt(_0x8b20b8(0x215))/0x8)+-parseInt(_0x8b20b8(0x1c3))/0x9*(-parseInt(_0x8b20b8(0x1ff))/0xa);if(_0x293899===_0x3172f5)break;else _0x398310['push'](_0x398310['shift']());}catch(_0x2c4899){_0x398310['push'](_0x398310['shift']());}}}(a53_0x126d,0xcf023));const Worker=require('jest-worker')[a53_0x587314(0x1f3)],Emittery=require(a53_0x587314(0x212)),pLimit=require(a53_0x587314(0x1d9)),{parentPort}=require('worker_threads'),util=require(a53_0x587314(0x1bd)),logger=require(a53_0x587314(0x20d))[a53_0x587314(0x20f)],PerformanceTester=require(a53_0x587314(0x1bb)),PerformanceEvents=require(a53_0x587314(0x1bf))['EVENTS'],{debug}=require(a53_0x587314(0x1e5)),TestHubHandler=require('../../helpers/testhub/testhubHandler');function a53_0x1789(_0x877df6,_0x215247){const _0x126dfd=a53_0x126d();return a53_0x1789=function(_0x17890e,_0x599869){_0x17890e=_0x17890e-0x1b0;let _0x43ac18=_0x126dfd[_0x17890e];return _0x43ac18;},a53_0x1789(_0x877df6,_0x215247);}exports[a53_0x587314(0x20a)]=(_0x51610b,_0x4e4b3d,_0x5ef784)=>new Promise(async _0x3720bb=>{const _0x464b58=a53_0x587314,_0x575750={'PzOwO':_0x464b58(0x218),'pkyZp':function(_0x5b7597,_0x4c35be){return _0x5b7597+_0x4c35be;},'xydEM':_0x464b58(0x1b0),'veFJD':_0x464b58(0x1d5),'AMiZr':function(_0xab2c37,_0x285633){return _0xab2c37(_0x285633);},'ovBaI':function(_0xed9071,_0x1f1ebe){return _0xed9071(_0x1f1ebe);},'sZgNg':_0x464b58(0x1b3),'QKrSh':_0x464b58(0x1d2),'DPffi':_0x464b58(0x1e0),'eJTdS':'json','Xfros':'pipe','qEZir':function(_0x302c88,_0x59e2f6){return _0x302c88*_0x59e2f6;},'GemnB':_0x464b58(0x202),'qzMMD':_0x464b58(0x1dd),'ePaBG':function(_0x5d1828,_0x5c06a7){return _0x5d1828(_0x5c06a7);},'aYssX':function(_0x1ea67a,_0x474745){return _0x1ea67a*_0x474745;}},_0x3f4f3a=_0x5ef784['config'],_0x2a8db6={},_0x4bccdd=new Worker(require[_0x464b58(0x1e4)](_0x575750[_0x464b58(0x1c7)]),{'exposedMethods':[_0x575750[_0x464b58(0x1e1)]],'forkOptions':{'serialization':_0x575750[_0x464b58(0x1e2)],'stdio':_0x575750[_0x464b58(0x1da)]},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0x575750[_0x464b58(0x1cf)](_0x4e4b3d,0x1),'enableWorkerThreads':!![]}),_0x6b3dfc=new Emittery();_0x6b3dfc['on'](_0x575750[_0x464b58(0x1c5)],_0x5571d4=>{const _0x28f277=_0x464b58;_0x2a8db6[_0x5571d4[0x0]]?(_0x2a8db6[_0x5571d4[0x0]][_0x575750['PzOwO']]=_0x575750[_0x28f277(0x1e9)](_0x2a8db6[_0x5571d4[0x0]][_0x575750[_0x28f277(0x1be)]],_0x5571d4[0x1][_0x575750['PzOwO']]),_0x2a8db6[_0x5571d4[0x0]][_0x575750[_0x28f277(0x1f2)]]=[..._0x2a8db6[_0x5571d4[0x0]][_0x575750['xydEM']],..._0x5571d4[0x1][_0x575750[_0x28f277(0x1f2)]]]):_0x2a8db6[_0x5571d4[0x0]]={'failureCount':_0x5571d4[0x1][_0x575750[_0x28f277(0x1be)]],'results':[..._0x5571d4[0x1][_0x575750[_0x28f277(0x1f2)]]]};}),_0x6b3dfc['on'](_0x575750[_0x464b58(0x1b9)],_0x24bc51=>console[_0x464b58(0x1c6)](_0x24bc51[0x1]));_0x4bccdd[_0x464b58(0x213)]()&&_0x4bccdd['getStdout']()[_0x464b58(0x1cd)](process['stdout']);_0x4bccdd[_0x464b58(0x1fa)]()&&_0x4bccdd[_0x464b58(0x1fa)]()[_0x464b58(0x1cd)](process[_0x464b58(0x204)]);const _0x3749e3=async()=>{const _0x1fceff=_0x464b58,{forceExited:_0x3573a8}=await _0x4bccdd[_0x1fceff(0x205)]();_0x3573a8&&console[_0x1fceff(0x1f1)](_0x575750[_0x1fceff(0x1b7)]);try{await TestHubHandler[_0x1fceff(0x1d8)]();}catch(_0x3b10ba){_0x575750['AMiZr'](debug,_0x1fceff(0x1d7)+_0x3b10ba);}_0x575750[_0x1fceff(0x1ba)](_0x3720bb,_0x2a8db6);},_0x4cd69c=_0x575750[_0x464b58(0x20b)](pLimit,_0x575750[_0x464b58(0x1f5)](_0x4e4b3d,0x1)),_0xafefe7=_0x56620a=>_0x4cd69c(async()=>{const _0x42ccf0=_0x464b58;await _0x6b3dfc[_0x42ccf0(0x1b1)](_0x575750['sZgNg'],_0x56620a);const _0x5c99f4=_0x4bccdd['worker'](_0x56620a,_0x3f4f3a);try{parentPort&&_0x5c99f4[_0x42ccf0(0x1dc)](_0x5385f5=>{const _0x15ee39=_0x42ccf0;try{parentPort[_0x15ee39(0x201)](_0x5385f5);}catch(_0x215452){logger[_0x15ee39(0x1f9)](_0x15ee39(0x217)+util[_0x15ee39(0x1c0)](_0x215452));}});}catch(_0x3da6fd){logger[_0x42ccf0(0x1f9)](_0x42ccf0(0x1b6)+util['format'](_0x3da6fd));}return _0x5c99f4;});PerformanceTester[_0x464b58(0x205)](PerformanceEvents['SDK_SETUP']),Promise[_0x464b58(0x1ee)](_0x51610b[_0x464b58(0x20c)](_0x262f00=>_0xafefe7(_0x262f00)[_0x464b58(0x1bc)](_0x170ec9=>_0x6b3dfc['emit'](_0x464b58(0x202),[_0x262f00[_0x464b58(0x1f4)][_0x464b58(0x200)],_0x170ec9]),_0x37bce7=>_0x6b3dfc[_0x464b58(0x1b1)]('test-file-failure',[_0x262f00,_0x37bce7]))))['then'](_0x3749e3,_0x3749e3);}),exports[a53_0x587314(0x203)]=(_0x4e93bf,_0x595b2d,_0x23d0ba,_0x254315,_0x73e0b3)=>{const _0x12be43=a53_0x587314,_0x58e852={'UvINl':_0x12be43(0x1d5),'ydvUm':function(_0x74a48,_0x291256){return _0x74a48(_0x291256);},'YMsFY':_0x12be43(0x1fe),'eFRiV':_0x12be43(0x1d2),'TGeyJ':_0x12be43(0x1f6),'nEzYH':_0x12be43(0x1c4),'yHXET':'pipe','nLWvI':_0x12be43(0x1ed),'qIaLE':'platform-run-failure','PcdXN':function(_0x5d7e49,_0x32352c){return _0x5d7e49(_0x32352c);}};return new Promise(_0x4f2e0e=>{const _0x2dddfb=_0x12be43,_0xfea92={'jKFen':_0x58e852[_0x2dddfb(0x1cb)],'Usejc':function(_0x4c7275,_0x50bf30){const _0x253394=_0x2dddfb;return _0x58e852[_0x253394(0x1fc)](_0x4c7275,_0x50bf30);},'VQUJI':_0x58e852[_0x2dddfb(0x1ec)]},_0xee9f40=[],_0x596386=new Worker(require[_0x2dddfb(0x1e4)](_0x58e852[_0x2dddfb(0x1c2)]),{'exposedMethods':[_0x58e852[_0x2dddfb(0x219)]],'forkOptions':{'serialization':_0x58e852['nEzYH'],'stdio':_0x58e852[_0x2dddfb(0x1db)]},'numWorkers':_0x4e93bf[_0x2dddfb(0x1df)]||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0x2a1896=new Emittery();_0x2a1896['on'](_0x58e852[_0x2dddfb(0x211)],_0x7015a4=>{const _0xdce46f=_0x2dddfb;_0xee9f40[_0xdce46f(0x1fb)]([_0x7015a4[0x0],_0x7015a4[0x1]]);}),_0x2a1896['on'](_0x58e852['qIaLE'],_0x3d317a=>console[_0x2dddfb(0x1c6)](_0x3d317a[0x1]));_0x596386[_0x2dddfb(0x213)]()&&_0x596386[_0x2dddfb(0x213)]()[_0x2dddfb(0x1cd)](process[_0x2dddfb(0x206)]);_0x596386['getStderr']()&&_0x596386['getStderr']()[_0x2dddfb(0x1cd)](process[_0x2dddfb(0x204)]);const _0x3e8860=async()=>{const _0x5b0653=_0x2dddfb,{forceExited:_0x571cf0}=await _0x596386[_0x5b0653(0x205)]();_0x571cf0&&console[_0x5b0653(0x1f1)](_0xfea92[_0x5b0653(0x1b4)]),_0xfea92[_0x5b0653(0x1fd)](_0x4f2e0e,_0xee9f40);},_0x1cc6b7=_0x58e852[_0x2dddfb(0x1c8)](pLimit,_0x4e93bf[_0x2dddfb(0x1df)]||0x1),_0x54ff36=(_0x3908a6,_0x1786bb)=>_0x1cc6b7(async()=>{const _0x909700=_0x2dddfb;return await _0x2a1896[_0x909700(0x1b1)](_0xfea92['VQUJI'],_0x3908a6),_0x595b2d[_0x909700(0x1e8)]=_0x23d0ba[_0x909700(0x1b8)][_0x1786bb],_0x595b2d[_0x909700(0x1ce)]=_0x1786bb,_0x596386['cucumberWorker'](_0x3908a6,_0x595b2d,_0x23d0ba,_0x254315,_0x73e0b3);});Promise[_0x2dddfb(0x1ee)](_0x4e93bf['map']((_0x3b672b,_0x558f8f)=>_0x54ff36(_0x3b672b,_0x558f8f)[_0x2dddfb(0x1bc)](_0x4d75fd=>_0x2a1896[_0x2dddfb(0x1b1)](_0x2dddfb(0x1ed),[_0x3b672b,_0x4d75fd]),_0x1acf3c=>_0x2a1896['emit']('platform-run-failure',[_0x3b672b,_0x1acf3c]))))['then'](_0x3e8860,_0x3e8860);});},exports[a53_0x587314(0x1d4)]=(_0x4f7edc,_0x258164)=>new Promise(_0x39cd1d=>{const _0x34b8e5=a53_0x587314,_0x5d49eb={'egykB':function(_0x16757f,_0x1e83aa){return _0x16757f===_0x1e83aa;},'jiUmM':function(_0x37c18b,_0x50ecc4){return _0x37c18b!==_0x50ecc4;},'FdlfD':_0x34b8e5(0x216),'aKcTe':'Workers\x20failed\x20to\x20exit\x20gracefully','lYgws':function(_0x240185,_0xd5a0ca){return _0x240185(_0xd5a0ca);},'PEsfP':_0x34b8e5(0x1d2),'tKzjG':_0x34b8e5(0x1b2),'CRbyE':_0x34b8e5(0x1c4),'Ashjv':_0x34b8e5(0x1cd),'dPdoD':_0x34b8e5(0x202),'PKeig':_0x34b8e5(0x1dd),'XrJNB':function(_0x5a4eda,_0x271432){return _0x5a4eda(_0x271432);}},_0x4bc4dd={},_0x37b047=new Worker(require[_0x34b8e5(0x1e4)](_0x5d49eb[_0x34b8e5(0x1f0)]),{'exposedMethods':[_0x5d49eb['tKzjG']],'forkOptions':{'serialization':_0x5d49eb[_0x34b8e5(0x1f8)],'stdio':_0x5d49eb[_0x34b8e5(0x21a)]},'numWorkers':_0x258164,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0x544008=new Emittery();_0x544008['on'](_0x5d49eb['dPdoD'],_0x505c2b=>{const _0x55ab24=_0x34b8e5;_0x505c2b[0x0]&&logger[_0x55ab24(0x1f7)](_0x55ab24(0x214)+_0x505c2b[0x1]+'\x20for',_0x505c2b[0x0]);}),_0x544008['on'](_0x5d49eb[_0x34b8e5(0x1c9)],_0x10b3c4=>{const _0x4ba4c0=_0x34b8e5;process[_0x4ba4c0(0x1e7)]=0x1;});_0x37b047[_0x34b8e5(0x213)]()&&_0x37b047[_0x34b8e5(0x213)]()[_0x34b8e5(0x1cd)](process[_0x34b8e5(0x206)]);_0x37b047[_0x34b8e5(0x1fa)]()&&_0x37b047[_0x34b8e5(0x1fa)]()['pipe'](process[_0x34b8e5(0x204)]);const _0x70c34a=async()=>{const _0x5eafd9=_0x34b8e5,_0x4ba970={'STiyQ':function(_0xf9bae4,_0x10891a){return _0x5d49eb['egykB'](_0xf9bae4,_0x10891a);},'glgIp':function(_0x3c86ca,_0x478f0f){const _0x541b02=a53_0x1789;return _0x5d49eb[_0x541b02(0x1eb)](_0x3c86ca,_0x478f0f);},'FEuxE':_0x5d49eb['FdlfD']};let _0x190454=0x0;const _0x322f66=_0x37b047[_0x5eafd9(0x1b5)][_0x5eafd9(0x1ea)](),_0x14e1fd=()=>{},_0x3d2c4c=_0x322f66[_0x5eafd9(0x20c)](async _0x49056c=>{const _0xe5d506=_0x5eafd9,_0x4c09ff={'pAlVQ':function(_0x2bb8fb,_0x4c53cb){const _0x552acb=a53_0x1789;return _0x4ba970[_0x552acb(0x207)](_0x2bb8fb,_0x4c53cb);},'hUCgr':function(_0x164d81,_0x5a9ca9){const _0x30d8a4=a53_0x1789;return _0x4ba970[_0x30d8a4(0x1d1)](_0x164d81,_0x5a9ca9);}};_0x49056c[_0xe5d506(0x208)]([0x2,![]],_0x14e1fd,_0x14e1fd,_0x14e1fd),_0x49056c[_0xe5d506(0x20e)]['on'](_0x4ba970['FEuxE'],_0x4f1f70=>{const _0x2bf0f4=_0xe5d506;_0x4c09ff[_0x2bf0f4(0x1c1)](_0x190454,0x0)&&_0x4c09ff[_0x2bf0f4(0x1ef)](_0x4f1f70,0x0)&&(_0x190454=_0x4f1f70);}),await _0x49056c[_0xe5d506(0x21b)]();});await Promise[_0x5eafd9(0x1ee)](_0x3d2c4c),process[_0x5eafd9(0x1e7)]=_0x190454;const {forceExited:_0x947466}=await _0x37b047['end']();_0x947466&&console['error'](_0x5d49eb['aKcTe']),_0x5d49eb[_0x5eafd9(0x1d0)](_0x39cd1d,_0x4bc4dd);},_0x11cb16=_0x5d49eb[_0x34b8e5(0x209)](pLimit,_0x258164),_0x285b6d=_0x5356f8=>_0x11cb16(async()=>{const _0x37ae23=_0x34b8e5;return _0x37b047[_0x37ae23(0x1b2)](_0x5356f8);});Promise[_0x34b8e5(0x1ee)](_0x4f7edc[_0x34b8e5(0x20c)](_0x4621b4=>_0x285b6d(_0x4621b4)['then'](_0x57bfd7=>_0x544008[_0x34b8e5(0x1b1)](_0x34b8e5(0x202),[_0x4621b4[_0x34b8e5(0x1f4)][_0x34b8e5(0x200)],_0x4621b4[_0x34b8e5(0x1f4)][_0x34b8e5(0x1e6)]]),_0x2d5d05=>_0x544008[_0x34b8e5(0x1b1)](_0x34b8e5(0x1dd),[_0x4621b4,_0x2d5d05]))))[_0x34b8e5(0x1bc)](_0x70c34a,_0x70c34a);});
@@ -1 +1 @@
1
- const a54_0x1f705c=a54_0x4cc5;function a54_0x4cc5(_0x1eeb34,_0x4709cc){const _0x52b80a=a54_0x52b8();return a54_0x4cc5=function(_0x4cc51b,_0xfd5862){_0x4cc51b=_0x4cc51b-0x127;let _0x59899e=_0x52b80a[_0x4cc51b];return _0x59899e;},a54_0x4cc5(_0x1eeb34,_0x4709cc);}(function(_0x47afd1,_0x19bd6d){const _0x3b3d05=a54_0x4cc5,_0x43a1ac=_0x47afd1();while(!![]){try{const _0x337a5c=-parseInt(_0x3b3d05(0x147))/0x1+parseInt(_0x3b3d05(0x135))/0x2*(-parseInt(_0x3b3d05(0x149))/0x3)+parseInt(_0x3b3d05(0x12f))/0x4+-parseInt(_0x3b3d05(0x144))/0x5*(-parseInt(_0x3b3d05(0x142))/0x6)+-parseInt(_0x3b3d05(0x137))/0x7*(-parseInt(_0x3b3d05(0x12b))/0x8)+-parseInt(_0x3b3d05(0x13a))/0x9*(parseInt(_0x3b3d05(0x12e))/0xa)+-parseInt(_0x3b3d05(0x148))/0xb;if(_0x337a5c===_0x19bd6d)break;else _0x43a1ac['push'](_0x43a1ac['shift']());}catch(_0x1c4e48){_0x43a1ac['push'](_0x43a1ac['shift']());}}}(a54_0x52b8,0x80c1d));const PerformanceEvents=require(a54_0x1f705c(0x140))[a54_0x1f705c(0x12d)],PerformanceTester=require(a54_0x1f705c(0x133)),{sleep}=require(a54_0x1f705c(0x132));function a54_0x52b8(){const _0xbd2caa=['RxCXc','2367395LzXRUN','bFdQb','CvdVe','279209pKrmZz','3469213fQaQgC','3gLtqMy','KRuCL','../launcher/launcher','end','dnueK','stopMonitoring','cucumber-js','33896FcQbYT','uuWyn','EVENTS','10FRKdqu','2634020koHAUu','runVanillaTest','iBEEQ','../../helpers/test-observability/utils','../../helpers/performance/performance-tester','run','976398VMUIAs','fZOod','952BbnBmw','startMonitoring','EuFrq','882324TtdUPY','eWimV','SDK_POST_TEST','runTest','mocha','runCucumberTest','../../helpers/performance/constants','vanilla','6vnpnps'];a54_0x52b8=function(){return _0xbd2caa;};return a54_0x52b8();}exports[a54_0x1f705c(0x13d)]=async(_0x12c7f1,_0x30b7d0)=>{const _0x17612e=a54_0x1f705c,_0xa8939c={'fZOod':function(_0x72f3f9,_0xe7f295){return _0x72f3f9(_0xe7f295);},'KRuCL':'../launcher/launcher','bFdQb':_0x17612e(0x13e),'dnueK':function(_0x1e4d3b,_0x4b54f5){return _0x1e4d3b(_0x4b54f5);}};PerformanceTester[_0x17612e(0x138)]();const _0x4b07c8=_0xa8939c[_0x17612e(0x136)](require,_0xa8939c[_0x17612e(0x14a)]),_0x170604=new _0x4b07c8(_0xa8939c[_0x17612e(0x145)],_0x12c7f1,_0x30b7d0),_0x5d5a87=await _0x170604['run']();return PerformanceTester[_0x17612e(0x127)](PerformanceEvents[_0x17612e(0x13c)]),await _0xa8939c[_0x17612e(0x128)](sleep,0x3e8),PerformanceTester[_0x17612e(0x129)](),_0x5d5a87;},exports[a54_0x1f705c(0x13f)]=async(_0x58551c,_0x469124,_0x46173e,_0x32709c,_0x1ea274)=>{const _0x4c3fdb=a54_0x1f705c,_0x10aac={'RxCXc':function(_0x970acd,_0x30c79a){return _0x970acd(_0x30c79a);},'eWimV':_0x4c3fdb(0x14b),'iBEEQ':_0x4c3fdb(0x12a)},_0x37f3dc={'capability':_0x58551c,..._0x469124},_0x463d35={};_0x463d35['configuration']=_0x37f3dc,_0x463d35['formatter']=_0x1ea274;const _0x12d0cc=_0x463d35,_0x9ff820=_0x10aac[_0x4c3fdb(0x143)](require,_0x10aac[_0x4c3fdb(0x13b)]),_0x1d0927=new _0x9ff820(_0x10aac[_0x4c3fdb(0x131)],_0x12d0cc,_0x46173e,_0x32709c);return await _0x1d0927[_0x4c3fdb(0x134)]();},exports[a54_0x1f705c(0x130)]=async _0x4ac668=>{const _0x26d730=a54_0x1f705c,_0x2b2730={'uuWyn':function(_0x51fec5,_0x2a1640){return _0x51fec5(_0x2a1640);},'CvdVe':'../launcher/launcher','EuFrq':_0x26d730(0x141)},_0x225e04=_0x2b2730[_0x26d730(0x12c)](require,_0x2b2730[_0x26d730(0x146)]),_0x579087=new _0x225e04(_0x2b2730[_0x26d730(0x139)],_0x4ac668);return await _0x579087['run']();};
1
+ const a54_0x384e2a=a54_0x3964;(function(_0x7bb0a7,_0x5371e4){const _0x459801=a54_0x3964,_0x25e759=_0x7bb0a7();while(!![]){try{const _0x588b09=-parseInt(_0x459801(0x16c))/0x1+parseInt(_0x459801(0x16e))/0x2*(-parseInt(_0x459801(0x172))/0x3)+parseInt(_0x459801(0x175))/0x4+parseInt(_0x459801(0x17d))/0x5*(-parseInt(_0x459801(0x17f))/0x6)+-parseInt(_0x459801(0x18b))/0x7*(parseInt(_0x459801(0x179))/0x8)+-parseInt(_0x459801(0x16d))/0x9*(parseInt(_0x459801(0x186))/0xa)+-parseInt(_0x459801(0x174))/0xb*(-parseInt(_0x459801(0x18a))/0xc);if(_0x588b09===_0x5371e4)break;else _0x25e759['push'](_0x25e759['shift']());}catch(_0x2a72da){_0x25e759['push'](_0x25e759['shift']());}}}(a54_0x5ddf,0x4bf46));const PerformanceEvents=require(a54_0x384e2a(0x181))[a54_0x384e2a(0x178)],PerformanceTester=require('../../helpers/performance/performance-tester'),{sleep}=require(a54_0x384e2a(0x176));function a54_0x5ddf(){const _0x1478e3=['SDK_POST_TEST','94260EnSwzn','7QsVVWh','YNgjk','../launcher/launcher','164742BkboIN','2331DikijR','73598kmoiaF','end','eCmHM','cucumber-js','6MeEZFh','WExpb','2167nbAxOA','285648knVzVQ','../../helpers/test-observability/utils','formatter','EVENTS','4662904OOaYvS','GsjED','runTest','runVanillaTest','273895Krgspw','runCucumberTest','30tBTLsP','GZyFv','../../helpers/performance/constants','LguCh','vanilla','stopMonitoring','mocha','8210tbSGqW','CYgmb','run'];a54_0x5ddf=function(){return _0x1478e3;};return a54_0x5ddf();}function a54_0x3964(_0x549158,_0x2395e6){const _0x5ddf95=a54_0x5ddf();return a54_0x3964=function(_0x39649c,_0x2380fc){_0x39649c=_0x39649c-0x16a;let _0x1614ce=_0x5ddf95[_0x39649c];return _0x1614ce;},a54_0x3964(_0x549158,_0x2395e6);}exports[a54_0x384e2a(0x17b)]=async(_0x2b679a,_0x3938b9)=>{const _0x5c8f6a=a54_0x384e2a,_0x485e76={'GZyFv':function(_0x4ad051,_0x45cdfa){return _0x4ad051(_0x45cdfa);},'GsjED':'../launcher/launcher','EsePK':_0x5c8f6a(0x185)};PerformanceTester['startMonitoring']();const _0x3e26f1=_0x485e76[_0x5c8f6a(0x180)](require,_0x485e76[_0x5c8f6a(0x17a)]),_0x34ec1a=new _0x3e26f1(_0x485e76['EsePK'],_0x2b679a,_0x3938b9),_0x2df0a2=await _0x34ec1a[_0x5c8f6a(0x188)]();return PerformanceTester[_0x5c8f6a(0x16f)](PerformanceEvents[_0x5c8f6a(0x189)]),await _0x485e76[_0x5c8f6a(0x180)](sleep,0x3e8),PerformanceTester[_0x5c8f6a(0x184)](),_0x2df0a2;},exports[a54_0x384e2a(0x17e)]=async(_0x3411e0,_0x211987,_0x7172c8,_0x413afd,_0x125e44)=>{const _0x3f992e=a54_0x384e2a,_0x32aec4={'WExpb':function(_0x3033f4,_0x57dcc6){return _0x3033f4(_0x57dcc6);},'LguCh':_0x3f992e(0x16b),'CYgmb':_0x3f992e(0x171)},_0x2c2006={'capability':_0x3411e0,..._0x211987},_0x494ea7={};_0x494ea7['configuration']=_0x2c2006,_0x494ea7[_0x3f992e(0x177)]=_0x125e44;const _0x8e56eb=_0x494ea7,_0x22dc43=_0x32aec4[_0x3f992e(0x173)](require,_0x32aec4[_0x3f992e(0x182)]),_0x4132f1=new _0x22dc43(_0x32aec4[_0x3f992e(0x187)],_0x8e56eb,_0x7172c8,_0x413afd);return await _0x4132f1[_0x3f992e(0x188)]();},exports[a54_0x384e2a(0x17c)]=async _0x30df68=>{const _0x45b963=a54_0x384e2a,_0x40f715={'eCmHM':function(_0x4a9028,_0x4db7ac){return _0x4a9028(_0x4db7ac);},'YNgjk':_0x45b963(0x16b),'AQonc':_0x45b963(0x183)},_0x1b2957=_0x40f715[_0x45b963(0x170)](require,_0x40f715[_0x45b963(0x16a)]),_0x37b333=new _0x1b2957(_0x40f715['AQonc'],_0x30df68);return await _0x37b333['run']();};
@@ -1 +1 @@
1
- function a55_0x543e(_0x147547,_0x32b12f){const _0x10620c=a55_0x1062();return a55_0x543e=function(_0x543e6a,_0x419611){_0x543e6a=_0x543e6a-0x154;let _0x310649=_0x10620c[_0x543e6a];return _0x310649;},a55_0x543e(_0x147547,_0x32b12f);}const a55_0x240c2e=a55_0x543e;(function(_0x1701db,_0xf301ae){const _0x525720=a55_0x543e,_0x21c23b=_0x1701db();while(!![]){try{const _0x2b654e=parseInt(_0x525720(0x15a))/0x1*(-parseInt(_0x525720(0x157))/0x2)+-parseInt(_0x525720(0x15f))/0x3+-parseInt(_0x525720(0x160))/0x4+parseInt(_0x525720(0x162))/0x5+-parseInt(_0x525720(0x15c))/0x6+parseInt(_0x525720(0x15d))/0x7+parseInt(_0x525720(0x161))/0x8*(parseInt(_0x525720(0x154))/0x9);if(_0x2b654e===_0xf301ae)break;else _0x21c23b['push'](_0x21c23b['shift']());}catch(_0x51ad37){_0x21c23b['push'](_0x21c23b['shift']());}}}(a55_0x1062,0x1ba21));const {runTest,runCucumberTest,runVanillaTest}=require(a55_0x240c2e(0x155));function a55_0x1062(){const _0x4e495d=['vanillaWorker','2HgHSUQ','YPBdU','cucumberWorker','131226KNAPbl','FbuQn','609390wkcVqp','137774bGMJvV','worker','334380zkEJlT','791804fZHVHV','45992AfFqfx','131555YtLmtl','954AmZDeL','./runTest'];a55_0x1062=function(){return _0x4e495d;};return a55_0x1062();}exports[a55_0x240c2e(0x15e)]=async(_0x51cd31,_0xba7067)=>{const _0x4e8558=a55_0x240c2e,_0x532351={'YPBdU':function(_0x10f1d3,_0x16898c,_0xf7c039){return _0x10f1d3(_0x16898c,_0xf7c039);}};return await _0x532351[_0x4e8558(0x158)](runTest,_0x51cd31,_0xba7067);},exports[a55_0x240c2e(0x159)]=async(_0x3d722d,_0x1043bc,_0xe1b534,_0x18cff3,_0x1452cc)=>{const _0x15da93={'WLfwl':function(_0x28f61f,_0x3c4d52,_0x4a5f08,_0x3d4711,_0x4b28ea,_0x48b79d){return _0x28f61f(_0x3c4d52,_0x4a5f08,_0x3d4711,_0x4b28ea,_0x48b79d);}};return await _0x15da93['WLfwl'](runCucumberTest,_0x3d722d,_0x1043bc,_0xe1b534,_0x18cff3,_0x1452cc);},exports[a55_0x240c2e(0x156)]=async _0x5588f8=>{const _0x2739a5=a55_0x240c2e,_0x330e88={'FbuQn':function(_0xb21202,_0x4cd9d7){return _0xb21202(_0x4cd9d7);}};return await _0x330e88[_0x2739a5(0x15b)](runVanillaTest,_0x5588f8);};
1
+ function a55_0x2f8d(_0x4e8593,_0x38918c){const _0x3438c4=a55_0x3438();return a55_0x2f8d=function(_0x2f8d36,_0x1dc4e8){_0x2f8d36=_0x2f8d36-0x7b;let _0x50605b=_0x3438c4[_0x2f8d36];return _0x50605b;},a55_0x2f8d(_0x4e8593,_0x38918c);}const a55_0x5ea501=a55_0x2f8d;(function(_0xc12dae,_0x57f282){const _0x568672=a55_0x2f8d,_0x32d935=_0xc12dae();while(!![]){try{const _0x8d2059=parseInt(_0x568672(0x84))/0x1*(-parseInt(_0x568672(0x80))/0x2)+parseInt(_0x568672(0x7f))/0x3+-parseInt(_0x568672(0x7c))/0x4*(-parseInt(_0x568672(0x82))/0x5)+-parseInt(_0x568672(0x87))/0x6*(-parseInt(_0x568672(0x88))/0x7)+-parseInt(_0x568672(0x83))/0x8*(parseInt(_0x568672(0x86))/0x9)+-parseInt(_0x568672(0x7e))/0xa*(parseInt(_0x568672(0x85))/0xb)+parseInt(_0x568672(0x7b))/0xc;if(_0x8d2059===_0x57f282)break;else _0x32d935['push'](_0x32d935['shift']());}catch(_0x347549){_0x32d935['push'](_0x32d935['shift']());}}}(a55_0x3438,0x69e8a));const {runTest,runCucumberTest,runVanillaTest}=require('./runTest');function a55_0x3438(){const _0x360458=['20fCqrOU','RxAGJ','5aSIPLF','91896RWtEoR','12677EdlAHx','683309kQKpGf','387vHylUQ','390GHZQzv','21679DABfHa','1935564JZNnlM','722332NwvvHr','worker','20iCAKbU','1906698JJTKYH'];a55_0x3438=function(){return _0x360458;};return a55_0x3438();}exports[a55_0x5ea501(0x7d)]=async(_0x1ac921,_0x250387)=>{const _0x238c64={'EjnOZ':function(_0x2329f5,_0xc6a78,_0x2dfe91){return _0x2329f5(_0xc6a78,_0x2dfe91);}};return await _0x238c64['EjnOZ'](runTest,_0x1ac921,_0x250387);},exports['cucumberWorker']=async(_0x14bee5,_0x4c58a7,_0x422a94,_0x285a2b,_0x574256)=>{const _0x319f6f={'ranKq':function(_0x5127de,_0x5b2ea2,_0x4df15f,_0x579337,_0x1d3ae9,_0x306151){return _0x5127de(_0x5b2ea2,_0x4df15f,_0x579337,_0x1d3ae9,_0x306151);}};return await _0x319f6f['ranKq'](runCucumberTest,_0x14bee5,_0x4c58a7,_0x422a94,_0x285a2b,_0x574256);},exports['vanillaWorker']=async _0x352f9a=>{const _0x965a0f=a55_0x5ea501,_0xc04fba={'RxAGJ':function(_0x14817c,_0x4a20f0){return _0x14817c(_0x4a20f0);}};return await _0xc04fba[_0x965a0f(0x81)](runVanillaTest,_0x352f9a);};
@@ -1 +1 @@
1
- function a56_0x58d1(){const _0x5ae3f1=['automate','APP_UPLOAD_URL','8873110jThDYc','getConfig','./constants','RBaYN','EDS_URL','dWGBs','FYcxi','1960zAwBIJ','idVwz','getBStackAPIUrl','yBrGS','PUPPETEER_HUB_URL','DdKYs','lBjgb','zawAi','XzGKj','xevOH','QXtyj','endsWith','apis','JlNfD','ImGdv','eZjbN','yyndS','getAutomateSessionStatusAPIUrl','5cpnUrt','736sYwaNS','jvVgP','exports','OIPNk','MiBPV','api','klffx','URFNi','bVSOn','bKXBl','QzdUn','getPuppeteerHubUrl','tsttm','JjoYC','getAutoCaptureLogsAPIUrl','xZzIe','zgTRR','269480oQPzgR','cAQMv','./sharedUtils','AFIXU','toString','xcLPt','EWDXx','9FiZfgk','QvKhq','1300242DFiliW','TrmrK','replace','3697912luoKdE','getAutomateSessionNameAPIUrl','WcmwD','UmwRn','JIwFE','getPlaywrightHubUrl','NOKHs','bVbQh','getAutomateSessionsListAPIUrl','appAutomate','DoczV','edsInstrumentation','KlvZC','getInstance','wss:','getAppAutomateSessionNameAPIUrl','NLFuo','upload','sKtyF','YgQAv','ybpPu','423192SAszpa','PLAMY','nVtaC','fGOUu','GBhJq','CxvCm','/playwright?caps=','getEdsInstrumentationAPIUrl','TQMEm','BugwD','JBoIz','TfDJB','1381404QZsXBr','OBSERVABILITY_UPLOAD_URL','cdp','BROWSERSTACK_API_URL','smKEt','../v2/browserstackCLI','WWQCo','observability','qtSDA','getAppAutomateSessionStatusAPIUrl','olZNH','DfqUj'];a56_0x58d1=function(){return _0x5ae3f1;};return a56_0x58d1();}const a56_0x5184a3=a56_0x1f34;(function(_0x326700,_0x40ab32){const _0x52d8d5=a56_0x1f34,_0x182989=_0x326700();while(!![]){try{const _0x1c361a=parseInt(_0x52d8d5(0x225))/0x1*(-parseInt(_0x52d8d5(0x212))/0x2)+parseInt(_0x52d8d5(0x1fd))/0x3+-parseInt(_0x52d8d5(0x236))/0x4+parseInt(_0x52d8d5(0x224))/0x5*(parseInt(_0x52d8d5(0x23f))/0x6)+parseInt(_0x52d8d5(0x1f1))/0x7+parseInt(_0x52d8d5(0x242))/0x8*(-parseInt(_0x52d8d5(0x23d))/0x9)+parseInt(_0x52d8d5(0x20b))/0xa;if(_0x1c361a===_0x40ab32)break;else _0x182989['push'](_0x182989['shift']());}catch(_0x506807){_0x182989['push'](_0x182989['shift']());}}}(a56_0x58d1,0x5b525));const constants=require(a56_0x5184a3(0x20d)),{nestedKeyValue}=require(a56_0x5184a3(0x238)),getBrowserstackCLI=()=>{const _0x5c2b08=a56_0x5184a3,_0x9f2d23={'smKEt':function(_0xeb0e26,_0x55fb15){return _0xeb0e26(_0x55fb15);},'DoczV':_0x5c2b08(0x202)};return _0x9f2d23[_0x5c2b08(0x201)](require,_0x9f2d23[_0x5c2b08(0x1e6)]);};function a56_0x1f34(_0x2cecf2,_0x30a522){const _0x58d156=a56_0x58d1();return a56_0x1f34=function(_0x1f34ee,_0x56e945){_0x1f34ee=_0x1f34ee-0x1e0;let _0x51d0f2=_0x58d156[_0x1f34ee];return _0x51d0f2;},a56_0x1f34(_0x2cecf2,_0x30a522);}class APIUtilityMethods{static[a56_0x5184a3(0x214)](_0x2c3c97){const _0x5e89aa=a56_0x5184a3,_0x27c2ab={'xevOH':function(_0x51fd49){return _0x51fd49();},'uxysN':function(_0x7eb206,_0x37cb11,_0x2ead44){return _0x7eb206(_0x37cb11,_0x2ead44);},'bVSOn':_0x5e89aa(0x21e),'aXqUp':_0x5e89aa(0x209),'PCHNB':_0x5e89aa(0x22a),'WWQCo':function(_0xcf56c2,_0x36dc2b){return _0xcf56c2===_0x36dc2b;},'Pdhuh':function(_0x57b90a,_0x4b15c1){return _0x57b90a+_0x4b15c1;}},_0x100ad2=_0x27c2ab[_0x5e89aa(0x21b)](getBrowserstackCLI),_0x5ecd75=_0x27c2ab['uxysN'](nestedKeyValue,_0x100ad2[_0x5e89aa(0x1e9)]()['getConfig'](),[_0x27c2ab[_0x5e89aa(0x22d)],_0x27c2ab['aXqUp'],_0x27c2ab['PCHNB']])||constants['BROWSERSTACK_API_URL'];if(!_0x2c3c97||_0x27c2ab[_0x5e89aa(0x203)](_0x2c3c97,''))return _0x5ecd75;const _0x5c5478=_0x5ecd75[_0x5e89aa(0x21d)]('/')?_0x5ecd75:_0x27c2ab['Pdhuh'](_0x5ecd75,'/');return new URL(_0x2c3c97,_0x5c5478)['toString']();}static[a56_0x5184a3(0x1f8)](_0x539645){const _0x55952c=a56_0x5184a3,_0x158b43={'DHmKA':function(_0x414158){return _0x414158();},'xcLPt':function(_0xb66724,_0x63830b,_0x2df28f){return _0xb66724(_0x63830b,_0x2df28f);},'sXZJK':'apis','WcmwD':_0x55952c(0x1e7),'PLAMY':_0x55952c(0x22a),'LAeWn':function(_0x28b396,_0x3f10e4){return _0x28b396===_0x3f10e4;},'NOKHs':function(_0x66e746,_0x5cb102){return _0x66e746+_0x5cb102;}},_0x451775=_0x158b43['DHmKA'](getBrowserstackCLI),_0x1e9f9c=_0x158b43[_0x55952c(0x23b)](nestedKeyValue,_0x451775[_0x55952c(0x1e9)]()[_0x55952c(0x20c)](),[_0x158b43['sXZJK'],_0x158b43[_0x55952c(0x244)],_0x158b43[_0x55952c(0x1f2)]])||constants[_0x55952c(0x20f)];if(!_0x539645||_0x158b43['LAeWn'](_0x539645,''))return _0x1e9f9c;const _0x290796=_0x1e9f9c[_0x55952c(0x21d)]('/')?_0x1e9f9c:_0x158b43[_0x55952c(0x1e2)](_0x1e9f9c,'/');return new URL(_0x539645,_0x290796)['toString']();}static[a56_0x5184a3(0x223)](_0x2f3dd1){const _0x47a5a4=a56_0x5184a3,_0x2eec2b={'ImGdv':function(_0x4ff7d8){return _0x4ff7d8();},'CTopB':function(_0x3ddf5c,_0x19c65b,_0x5babe0){return _0x3ddf5c(_0x19c65b,_0x5babe0);},'BugwD':'apis','MiBPV':_0x47a5a4(0x209),'PEKKi':_0x47a5a4(0x22a),'CxvCm':function(_0x359205,_0x5378e0){return _0x359205===_0x5378e0;},'GBhJq':function(_0xb5dfbe,_0x1e69e5){return _0xb5dfbe+_0x1e69e5;}},_0x5109c1=_0x2eec2b[_0x47a5a4(0x220)](getBrowserstackCLI),_0x21832d=_0x2eec2b['CTopB'](nestedKeyValue,_0x5109c1['getInstance']()[_0x47a5a4(0x20c)](),[_0x2eec2b[_0x47a5a4(0x1fa)],_0x2eec2b[_0x47a5a4(0x229)],_0x2eec2b['PEKKi']])||constants['BROWSERSTACK_API_URL'];if(!_0x2f3dd1||_0x2eec2b[_0x47a5a4(0x1f6)](_0x2f3dd1,''))return _0x21832d;const _0x256ed9=_0x21832d[_0x47a5a4(0x21d)]('/')?_0x21832d:_0x2eec2b[_0x47a5a4(0x1f5)](_0x21832d,'/');return new URL(_0x2f3dd1,_0x256ed9)['toString']();}static[a56_0x5184a3(0x206)](_0x5e2cad){const _0x5e9503=a56_0x5184a3,_0x216d96={'JBoIz':function(_0x452967){return _0x452967();},'QXtyj':function(_0x52ec90,_0x1b6e6e,_0x1d00bb){return _0x52ec90(_0x1b6e6e,_0x1d00bb);},'AFIXU':_0x5e9503(0x21e),'RBaYN':'appAutomate','NLFuo':_0x5e9503(0x22a),'tkjgy':function(_0x3a2658,_0x1cc81){return _0x3a2658===_0x1cc81;},'FYcxi':function(_0x203b81,_0x192e1b){return _0x203b81+_0x192e1b;}},_0x4ad5bd=_0x216d96[_0x5e9503(0x1fb)](getBrowserstackCLI),_0x164a45=_0x216d96[_0x5e9503(0x21c)](nestedKeyValue,_0x4ad5bd[_0x5e9503(0x1e9)]()[_0x5e9503(0x20c)](),[_0x216d96[_0x5e9503(0x239)],_0x216d96[_0x5e9503(0x20e)],_0x216d96[_0x5e9503(0x1ec)]])||constants[_0x5e9503(0x200)];if(!_0x5e2cad||_0x216d96['tkjgy'](_0x5e2cad,''))return _0x164a45;const _0x184f22=_0x164a45[_0x5e9503(0x21d)]('/')?_0x164a45:_0x216d96[_0x5e9503(0x211)](_0x164a45,'/');return new URL(_0x5e2cad,_0x184f22)[_0x5e9503(0x23a)]();}static[a56_0x5184a3(0x243)](_0x2b747c){const _0x26b167=a56_0x5184a3,_0x35fbdc={'lBjgb':function(_0x24a665){return _0x24a665();},'zgTRR':function(_0x3e88f3,_0x234133,_0x3832ce){return _0x3e88f3(_0x234133,_0x3832ce);},'USYKO':_0x26b167(0x21e),'JjoYC':_0x26b167(0x209),'URFNi':_0x26b167(0x22a),'fGOUu':function(_0x2a6408,_0x2c2fb6){return _0x2a6408===_0x2c2fb6;},'yBrGS':function(_0x28b4eb,_0x137ae6){return _0x28b4eb+_0x137ae6;}},_0x105a0f=_0x35fbdc[_0x26b167(0x218)](getBrowserstackCLI),_0x50d119=_0x35fbdc[_0x26b167(0x235)](nestedKeyValue,_0x105a0f[_0x26b167(0x1e9)]()[_0x26b167(0x20c)](),[_0x35fbdc['USYKO'],_0x35fbdc[_0x26b167(0x232)],_0x35fbdc[_0x26b167(0x22c)]])||constants[_0x26b167(0x200)];if(!_0x2b747c||_0x35fbdc[_0x26b167(0x1f4)](_0x2b747c,''))return _0x50d119;const _0x136793=_0x50d119['endsWith']('/')?_0x50d119:_0x35fbdc[_0x26b167(0x215)](_0x50d119,'/');return new URL(_0x2b747c,_0x136793)[_0x26b167(0x23a)]();}static[a56_0x5184a3(0x1eb)](_0x48a5ac){const _0x541600=a56_0x5184a3,_0x43bd85={'gycXD':function(_0x3b4c2d){return _0x3b4c2d();},'yyndS':function(_0x114680,_0x6d03bb,_0x2fe204){return _0x114680(_0x6d03bb,_0x2fe204);},'ELfmm':_0x541600(0x21e),'GXVsk':_0x541600(0x1e5),'QzdUn':_0x541600(0x22a),'idVwz':function(_0x1f76d7,_0x400472){return _0x1f76d7===_0x400472;},'pydjU':function(_0x46a69b,_0x1e7fd0){return _0x46a69b+_0x1e7fd0;}},_0x216a67=_0x43bd85['gycXD'](getBrowserstackCLI),_0x21cb46=_0x43bd85[_0x541600(0x222)](nestedKeyValue,_0x216a67[_0x541600(0x1e9)]()[_0x541600(0x20c)](),[_0x43bd85['ELfmm'],_0x43bd85['GXVsk'],_0x43bd85[_0x541600(0x22f)]])||constants[_0x541600(0x200)];if(!_0x48a5ac||_0x43bd85[_0x541600(0x213)](_0x48a5ac,''))return _0x21cb46;const _0x35dd02=_0x21cb46[_0x541600(0x21d)]('/')?_0x21cb46:_0x43bd85['pydjU'](_0x21cb46,'/');return new URL(_0x48a5ac,_0x35dd02)['toString']();}static[a56_0x5184a3(0x1e4)](_0x213533){const _0x54c20c=a56_0x5184a3,_0x39b558={'TQMEm':function(_0x3b6058){return _0x3b6058();},'KlvZC':function(_0x306824,_0x100b6a,_0x4a0fd4){return _0x306824(_0x100b6a,_0x4a0fd4);},'TfDJB':'apis','DfqUj':_0x54c20c(0x209),'xlode':_0x54c20c(0x22a),'DYIHR':function(_0x5bfa90,_0x22c9b5){return _0x5bfa90===_0x22c9b5;},'jvVgP':function(_0x1ad0ee,_0x59bf4c){return _0x1ad0ee+_0x59bf4c;}},_0x418138=_0x39b558[_0x54c20c(0x1f9)](getBrowserstackCLI),_0x2a5be2=_0x39b558[_0x54c20c(0x1e8)](nestedKeyValue,_0x418138['getInstance']()[_0x54c20c(0x20c)](),[_0x39b558[_0x54c20c(0x1fc)],_0x39b558[_0x54c20c(0x208)],_0x39b558['xlode']])||constants[_0x54c20c(0x200)];if(!_0x213533||_0x39b558['DYIHR'](_0x213533,''))return _0x2a5be2;const _0x480885=_0x2a5be2[_0x54c20c(0x21d)]('/')?_0x2a5be2:_0x39b558[_0x54c20c(0x226)](_0x2a5be2,'/');return new URL(_0x213533,_0x480885)[_0x54c20c(0x23a)]()[_0x54c20c(0x241)](/^https?:\/\//,'');}static['getAppAutomateSessionsListAPIUrl'](_0x25a801){const _0x578713=a56_0x5184a3,_0x14f912={'YhDYq':function(_0x4ac1f9){return _0x4ac1f9();},'TrmrK':function(_0x2a84fc,_0x2535dc,_0x50775c){return _0x2a84fc(_0x2535dc,_0x50775c);},'sKtyF':_0x578713(0x21e),'bKXBl':_0x578713(0x1e5),'UmwRn':_0x578713(0x22a),'DdKYs':function(_0x31eb82,_0xc9ef0){return _0x31eb82===_0xc9ef0;},'nVtaC':function(_0x274236,_0x256644){return _0x274236+_0x256644;}},_0x4336e0=_0x14f912['YhDYq'](getBrowserstackCLI),_0xf9a6d6=_0x14f912[_0x578713(0x240)](nestedKeyValue,_0x4336e0['getInstance']()['getConfig'](),[_0x14f912[_0x578713(0x1ee)],_0x14f912[_0x578713(0x22e)],_0x14f912[_0x578713(0x245)]])||constants[_0x578713(0x20a)];if(!_0x25a801||_0x14f912[_0x578713(0x217)](_0x25a801,''))return _0xf9a6d6;const _0x348f02=_0xf9a6d6[_0x578713(0x21d)]('/')?_0xf9a6d6:_0x14f912[_0x578713(0x1f3)](_0xf9a6d6,'/');return new URL(_0x25a801,_0x348f02)[_0x578713(0x23a)]()[_0x578713(0x241)](/^https?:\/\//,'');}static[a56_0x5184a3(0x233)](_0x396339){const _0x21812e=a56_0x5184a3,_0x5cf964={'ZSjbo':function(_0x130a18){return _0x130a18();},'QvKhq':function(_0x4e60a0,_0x27e025,_0x3b4a5c){return _0x4e60a0(_0x27e025,_0x3b4a5c);},'cAQMv':_0x21812e(0x21e),'OIPNk':_0x21812e(0x204),'ybpPu':_0x21812e(0x1ed),'qtSDA':function(_0x43871e,_0x3d7404){return _0x43871e===_0x3d7404;},'dWGBs':function(_0x2ea53f,_0x373a3a){return _0x2ea53f+_0x373a3a;}},_0x34d598=_0x5cf964['ZSjbo'](getBrowserstackCLI),_0x2388d0=_0x5cf964[_0x21812e(0x23e)](nestedKeyValue,_0x34d598[_0x21812e(0x1e9)]()[_0x21812e(0x20c)](),[_0x5cf964[_0x21812e(0x237)],_0x5cf964[_0x21812e(0x228)],_0x5cf964[_0x21812e(0x1f0)]])||constants[_0x21812e(0x1fe)];if(!_0x396339||_0x5cf964[_0x21812e(0x205)](_0x396339,''))return _0x2388d0;const _0x255aa3=_0x2388d0[_0x21812e(0x21d)]('/')?_0x2388d0:_0x5cf964[_0x21812e(0x210)](_0x2388d0,'/');return new URL(_0x396339,_0x255aa3)[_0x21812e(0x23a)]();}static[a56_0x5184a3(0x1e1)](_0xa10eac){const _0x7561f=a56_0x5184a3,_0x39df2f={'JaYlX':function(_0x5e5b51){return _0x5e5b51();},'JlNfD':function(_0x37ee65,_0x4f811d,_0x3a2ad4){return _0x37ee65(_0x4f811d,_0x3a2ad4);},'klffx':_0x7561f(0x21e),'eZjbN':_0x7561f(0x209),'tsttm':_0x7561f(0x1ff),'XzGKj':_0x7561f(0x1ea),'kOsnx':function(_0x1a828b,_0x2794e6){return _0x1a828b===_0x2794e6;},'JIwFE':function(_0x5ae82b,_0x4622d6){return _0x5ae82b+_0x4622d6;},'xZzIe':_0x7561f(0x1f7)},_0x367879=_0x39df2f['JaYlX'](getBrowserstackCLI),_0x206842=_0x39df2f[_0x7561f(0x21f)](nestedKeyValue,_0x367879[_0x7561f(0x1e9)]()[_0x7561f(0x20c)](),[_0x39df2f[_0x7561f(0x22b)],_0x39df2f[_0x7561f(0x221)],_0x39df2f[_0x7561f(0x231)]]),_0x2829f5=(_0x206842?_0x206842['replace'](/^https:/,_0x39df2f[_0x7561f(0x21a)]):null)||constants['PLAYWRIGHT_HUB_URL'];let _0x3aaa5d;if(!_0xa10eac||_0x39df2f['kOsnx'](_0xa10eac,''))_0x3aaa5d=_0x2829f5;else{const _0x32d012=_0x2829f5[_0x7561f(0x21d)]('/')?_0x2829f5:_0x39df2f[_0x7561f(0x1e0)](_0x2829f5,'/');_0x3aaa5d=new URL(_0xa10eac,_0x32d012)[_0x7561f(0x23a)]();}return!_0x3aaa5d[_0x7561f(0x21d)](_0x39df2f[_0x7561f(0x234)])&&(_0x3aaa5d+=_0x39df2f['xZzIe']),_0x3aaa5d;}static[a56_0x5184a3(0x230)](_0x1865ed){const _0x46118b=a56_0x5184a3,_0x4062c4={'pmcOn':function(_0x44a697){return _0x44a697();},'olZNH':function(_0x1b4007,_0x562711,_0x4cb8b2){return _0x1b4007(_0x562711,_0x4cb8b2);},'yQSMb':'apis','LsaaX':_0x46118b(0x209),'YgQAv':'cdp','jvAVP':_0x46118b(0x1ea),'zawAi':function(_0x39da47,_0x5448d4){return _0x39da47===_0x5448d4;},'bVbQh':function(_0x5c0ef8,_0x2e4fc5){return _0x5c0ef8+_0x2e4fc5;},'EWDXx':'/puppeteer?caps='},_0x3f635f=_0x4062c4['pmcOn'](getBrowserstackCLI),_0x2075f7=_0x4062c4[_0x46118b(0x207)](nestedKeyValue,_0x3f635f[_0x46118b(0x1e9)]()[_0x46118b(0x20c)](),[_0x4062c4['yQSMb'],_0x4062c4['LsaaX'],_0x4062c4[_0x46118b(0x1ef)]]),_0x269c42=(_0x2075f7?_0x2075f7[_0x46118b(0x241)](/^https:/,_0x4062c4['jvAVP']):null)||constants[_0x46118b(0x216)];let _0x1ebbe3;if(!_0x1865ed||_0x4062c4[_0x46118b(0x219)](_0x1865ed,''))_0x1ebbe3=_0x269c42;else{const _0x66f9c1=_0x269c42[_0x46118b(0x21d)]('/')?_0x269c42:_0x4062c4[_0x46118b(0x1e3)](_0x269c42,'/');_0x1ebbe3=new URL(_0x1865ed,_0x66f9c1)[_0x46118b(0x23a)]();}return!_0x1ebbe3[_0x46118b(0x21d)](_0x4062c4[_0x46118b(0x23c)])&&(_0x1ebbe3+=_0x4062c4[_0x46118b(0x23c)]),_0x1ebbe3;}}module[a56_0x5184a3(0x227)]=APIUtilityMethods;
1
+ const a56_0x4ae0c7=a56_0xa9f7;function a56_0xa9f7(_0xd59720,_0x478bdf){const _0x19bc74=a56_0x19bc();return a56_0xa9f7=function(_0xa9f713,_0x3f5282){_0xa9f713=_0xa9f713-0x1c1;let _0x4f9a51=_0x19bc74[_0xa9f713];return _0x4f9a51;},a56_0xa9f7(_0xd59720,_0x478bdf);}(function(_0x2d2879,_0xc8066e){const _0x27e106=a56_0xa9f7,_0x4e6818=_0x2d2879();while(!![]){try{const _0x4b643f=parseInt(_0x27e106(0x1dc))/0x1*(-parseInt(_0x27e106(0x1ee))/0x2)+parseInt(_0x27e106(0x1d9))/0x3+parseInt(_0x27e106(0x1fe))/0x4*(-parseInt(_0x27e106(0x1c6))/0x5)+parseInt(_0x27e106(0x206))/0x6+-parseInt(_0x27e106(0x1f5))/0x7+parseInt(_0x27e106(0x1ef))/0x8+parseInt(_0x27e106(0x1d4))/0x9;if(_0x4b643f===_0xc8066e)break;else _0x4e6818['push'](_0x4e6818['shift']());}catch(_0x23ff88){_0x4e6818['push'](_0x4e6818['shift']());}}}(a56_0x19bc,0xca961));const constants=require(a56_0x4ae0c7(0x1e7)),{nestedKeyValue}=require(a56_0x4ae0c7(0x1ff)),getBrowserstackCLI=()=>{const _0xe0cd1f=a56_0x4ae0c7,_0x2d57b8={'wBLqa':function(_0xa5d4f1,_0xafd43d){return _0xa5d4f1(_0xafd43d);},'OpsbS':_0xe0cd1f(0x209)};return _0x2d57b8['wBLqa'](require,_0x2d57b8[_0xe0cd1f(0x1df)]);};function a56_0x19bc(){const _0x173f24=['FmXcX','guNFJ','AJAcW','apis','KatBw','./constants','IfrgQ','Xjpzw','QlIMH','MiuGy','endsWith','getPuppeteerHubUrl','2wUZHKZ','11563680uYPDWb','getConfig','toString','TnoHQ','cRljo','getInstance','8716764LJahTN','/puppeteer?caps=','PLAYWRIGHT_HUB_URL','bjEPC','OrqnM','exports','sTijZ','OBSERVABILITY_UPLOAD_URL','YQheg','4GpZIJE','./sharedUtils','dWtBy','esCAQ','wWFoa','UCYwD','api','getAutomateSessionStatusAPIUrl','5760900NiKtxh','NJEVB','jcuqM','../v2/browserstackCLI','lorYO','xRLaL','axSsd','IvjRh','jFIMh','cdp','zwHTG','hCckd','GKWKN','BROWSERSTACK_API_URL','getAutomateSessionsListAPIUrl','xtzUP','tHWsb','MsuAM','ihjkQ','appAutomate','tPdaP','gBnWt','dxEmj','getAppAutomateSessionStatusAPIUrl','FFCQV','getPlaywrightHubUrl','pCVuO','automate','TVZVg','wss:','replace','upload','APP_UPLOAD_URL','EJwoG','getEdsInstrumentationAPIUrl','4143455KgUKLx','jXiJe','ZUdsR','getAppAutomateSessionsListAPIUrl','/playwright?caps=','mbWQn','lRlJG','EwOwv','getAppAutomateSessionNameAPIUrl','FQGkx','getAutomateSessionNameAPIUrl','ESKdo','PoUBY','Uwqlo','4183236eTzrUY','xSQPZ','kcXHg','EDS_URL','getBStackAPIUrl','1118790PydGJn','GAgYu','getAutoCaptureLogsAPIUrl','339608UzJXSe','BIkga','trFiE','OpsbS','observability','OHvSw'];a56_0x19bc=function(){return _0x173f24;};return a56_0x19bc();}class APIUtilityMethods{static[a56_0x4ae0c7(0x1d8)](_0x31d233){const _0x2faa8c=a56_0x4ae0c7,_0x7429ea={'sTijZ':function(_0x5ab2c9){return _0x5ab2c9();},'AJAcW':function(_0x2842fd,_0x296113,_0x1d4dfe){return _0x2842fd(_0x296113,_0x1d4dfe);},'esCAQ':_0x2faa8c(0x1e5),'FFCQV':_0x2faa8c(0x221),'trFiE':'api','lRlJG':function(_0x20adf5,_0x4135a2){return _0x20adf5===_0x4135a2;},'hYCsk':function(_0x1d4e62,_0x32a962){return _0x1d4e62+_0x32a962;}},_0x5df5a1=_0x7429ea[_0x2faa8c(0x1fb)](getBrowserstackCLI),_0x4ac266=_0x7429ea[_0x2faa8c(0x1e4)](nestedKeyValue,_0x5df5a1[_0x2faa8c(0x1f4)]()[_0x2faa8c(0x1f0)](),[_0x7429ea[_0x2faa8c(0x201)],_0x7429ea[_0x2faa8c(0x21e)],_0x7429ea[_0x2faa8c(0x1de)]])||constants[_0x2faa8c(0x213)];if(!_0x31d233||_0x7429ea[_0x2faa8c(0x1cc)](_0x31d233,''))return _0x4ac266;const _0x3c1fa9=_0x4ac266[_0x2faa8c(0x1ec)]('/')?_0x4ac266:_0x7429ea['hYCsk'](_0x4ac266,'/');return new URL(_0x31d233,_0x3c1fa9)[_0x2faa8c(0x1f1)]();}static[a56_0x4ae0c7(0x1c5)](_0x1290f5){const _0x5a1faf=a56_0x4ae0c7,_0x5089bb={'TVZVg':function(_0x453077){return _0x453077();},'ZyZGD':function(_0xfd012f,_0x34c792,_0x415a80){return _0xfd012f(_0x34c792,_0x415a80);},'xtzUP':'apis','xRLaL':'edsInstrumentation','axSsd':_0x5a1faf(0x204),'BIkga':function(_0x155b5e,_0x9c1aaa){return _0x155b5e===_0x9c1aaa;},'tYfBX':function(_0x6907a8,_0x411496){return _0x6907a8+_0x411496;}},_0x412edf=_0x5089bb[_0x5a1faf(0x222)](getBrowserstackCLI),_0x39684d=_0x5089bb['ZyZGD'](nestedKeyValue,_0x412edf['getInstance']()[_0x5a1faf(0x1f0)](),[_0x5089bb[_0x5a1faf(0x215)],_0x5089bb[_0x5a1faf(0x20b)],_0x5089bb[_0x5a1faf(0x20c)]])||constants[_0x5a1faf(0x1d7)];if(!_0x1290f5||_0x5089bb[_0x5a1faf(0x1dd)](_0x1290f5,''))return _0x39684d;const _0x7e3c6f=_0x39684d[_0x5a1faf(0x1ec)]('/')?_0x39684d:_0x5089bb['tYfBX'](_0x39684d,'/');return new URL(_0x1290f5,_0x7e3c6f)[_0x5a1faf(0x1f1)]();}static[a56_0x4ae0c7(0x205)](_0x1311a9){const _0x5508a4=a56_0x4ae0c7,_0x68c01={'XuNcQ':function(_0x1d7068){return _0x1d7068();},'HsQej':function(_0x436fda,_0x7742db,_0x4c3702){return _0x436fda(_0x7742db,_0x4c3702);},'TuGNJ':_0x5508a4(0x1e5),'HuhMS':'automate','tPdaP':_0x5508a4(0x204),'GKWKN':function(_0x4569a8,_0x1478be){return _0x4569a8===_0x1478be;},'OHenN':function(_0x820164,_0x34e119){return _0x820164+_0x34e119;}},_0x1ea5e5=_0x68c01['XuNcQ'](getBrowserstackCLI),_0x1a660e=_0x68c01['HsQej'](nestedKeyValue,_0x1ea5e5[_0x5508a4(0x1f4)]()['getConfig'](),[_0x68c01['TuGNJ'],_0x68c01['HuhMS'],_0x68c01[_0x5508a4(0x21a)]])||constants[_0x5508a4(0x213)];if(!_0x1311a9||_0x68c01[_0x5508a4(0x212)](_0x1311a9,''))return _0x1a660e;const _0x481ab2=_0x1a660e[_0x5508a4(0x1ec)]('/')?_0x1a660e:_0x68c01['OHenN'](_0x1a660e,'/');return new URL(_0x1311a9,_0x481ab2)['toString']();}static[a56_0x4ae0c7(0x21d)](_0x41416f){const _0x47cc9c=a56_0x4ae0c7,_0x5df346={'HphMQ':function(_0x3c698c){return _0x3c698c();},'YQheg':function(_0x4e2172,_0x5da465,_0x3a89fc){return _0x4e2172(_0x5da465,_0x3a89fc);},'EJwoG':_0x47cc9c(0x1e5),'mbWQn':_0x47cc9c(0x219),'pCVuO':_0x47cc9c(0x204),'NJEVB':function(_0x13023b,_0x3e3836){return _0x13023b===_0x3e3836;},'tHWsb':function(_0x63ec1b,_0x5a57e8){return _0x63ec1b+_0x5a57e8;}},_0x573215=_0x5df346['HphMQ'](getBrowserstackCLI),_0x407d24=_0x5df346[_0x47cc9c(0x1fd)](nestedKeyValue,_0x573215['getInstance']()[_0x47cc9c(0x1f0)](),[_0x5df346[_0x47cc9c(0x1c4)],_0x5df346[_0x47cc9c(0x1cb)],_0x5df346[_0x47cc9c(0x220)]])||constants[_0x47cc9c(0x213)];if(!_0x41416f||_0x5df346[_0x47cc9c(0x207)](_0x41416f,''))return _0x407d24;const _0x3af21b=_0x407d24['endsWith']('/')?_0x407d24:_0x5df346[_0x47cc9c(0x216)](_0x407d24,'/');return new URL(_0x41416f,_0x3af21b)[_0x47cc9c(0x1f1)]();}static[a56_0x4ae0c7(0x1d0)](_0x4568c2){const _0x387a9e=a56_0x4ae0c7,_0x3dd480={'ksnSe':function(_0x45cb3e){return _0x45cb3e();},'dxEmj':function(_0x51c6cc,_0x520e3f,_0x1c7270){return _0x51c6cc(_0x520e3f,_0x1c7270);},'XwrBq':_0x387a9e(0x1e5),'GAgYu':_0x387a9e(0x221),'jcuqM':_0x387a9e(0x204),'zwHTG':function(_0x304373,_0x4f3096){return _0x304373===_0x4f3096;},'GtXZo':function(_0x47fbf3,_0x4a9f4b){return _0x47fbf3+_0x4a9f4b;}},_0x265291=_0x3dd480['ksnSe'](getBrowserstackCLI),_0x30825f=_0x3dd480[_0x387a9e(0x21c)](nestedKeyValue,_0x265291[_0x387a9e(0x1f4)]()[_0x387a9e(0x1f0)](),[_0x3dd480['XwrBq'],_0x3dd480[_0x387a9e(0x1da)],_0x3dd480[_0x387a9e(0x208)]])||constants['BROWSERSTACK_API_URL'];if(!_0x4568c2||_0x3dd480[_0x387a9e(0x210)](_0x4568c2,''))return _0x30825f;const _0x551f3a=_0x30825f[_0x387a9e(0x1ec)]('/')?_0x30825f:_0x3dd480['GtXZo'](_0x30825f,'/');return new URL(_0x4568c2,_0x551f3a)[_0x387a9e(0x1f1)]();}static[a56_0x4ae0c7(0x1ce)](_0xd71b7a){const _0x17d21b=a56_0x4ae0c7,_0x65a1b8={'dWtBy':function(_0x168c8b){return _0x168c8b();},'Uwqlo':function(_0x5694e3,_0x34626f,_0x3ad2f8){return _0x5694e3(_0x34626f,_0x3ad2f8);},'MsuAM':_0x17d21b(0x1e5),'bmztd':_0x17d21b(0x219),'cRljo':_0x17d21b(0x204),'tTSGY':function(_0x405598,_0xcf846){return _0x405598===_0xcf846;},'IvjRh':function(_0x516d90,_0x4fb849){return _0x516d90+_0x4fb849;}},_0x1f399f=_0x65a1b8[_0x17d21b(0x200)](getBrowserstackCLI),_0x5e01ea=_0x65a1b8[_0x17d21b(0x1d3)](nestedKeyValue,_0x1f399f[_0x17d21b(0x1f4)]()[_0x17d21b(0x1f0)](),[_0x65a1b8[_0x17d21b(0x217)],_0x65a1b8['bmztd'],_0x65a1b8[_0x17d21b(0x1f3)]])||constants[_0x17d21b(0x213)];if(!_0xd71b7a||_0x65a1b8['tTSGY'](_0xd71b7a,''))return _0x5e01ea;const _0x424a6f=_0x5e01ea['endsWith']('/')?_0x5e01ea:_0x65a1b8[_0x17d21b(0x20d)](_0x5e01ea,'/');return new URL(_0xd71b7a,_0x424a6f)['toString']();}static[a56_0x4ae0c7(0x214)](_0x4a88de){const _0x59a710=a56_0x4ae0c7,_0x5d44c2={'jXiJe':function(_0x27a3a9){return _0x27a3a9();},'IfrgQ':function(_0x36fd17,_0x3ea15c,_0x3e6441){return _0x36fd17(_0x3ea15c,_0x3e6441);},'EwOwv':'apis','kcXHg':_0x59a710(0x221),'OHvSw':_0x59a710(0x204),'SIPFB':function(_0xba4e8d,_0x11f24c){return _0xba4e8d===_0x11f24c;},'PoUBY':function(_0x476611,_0x37ddeb){return _0x476611+_0x37ddeb;}},_0x5e2727=_0x5d44c2[_0x59a710(0x1c7)](getBrowserstackCLI),_0x3201ce=_0x5d44c2[_0x59a710(0x1e8)](nestedKeyValue,_0x5e2727[_0x59a710(0x1f4)]()[_0x59a710(0x1f0)](),[_0x5d44c2[_0x59a710(0x1cd)],_0x5d44c2[_0x59a710(0x1d6)],_0x5d44c2[_0x59a710(0x1e1)]])||constants[_0x59a710(0x213)];if(!_0x4a88de||_0x5d44c2['SIPFB'](_0x4a88de,''))return _0x3201ce;const _0x488eab=_0x3201ce[_0x59a710(0x1ec)]('/')?_0x3201ce:_0x5d44c2[_0x59a710(0x1d2)](_0x3201ce,'/');return new URL(_0x4a88de,_0x488eab)[_0x59a710(0x1f1)]()[_0x59a710(0x1c1)](/^https?:\/\//,'');}static[a56_0x4ae0c7(0x1c9)](_0x2e8977){const _0x92549b=a56_0x4ae0c7,_0x3407bf={'UCYwD':function(_0x5a26ef){return _0x5a26ef();},'CqaOA':function(_0x43bc59,_0x1bd5b8,_0x4086e5){return _0x43bc59(_0x1bd5b8,_0x4086e5);},'hCckd':_0x92549b(0x1e5),'EGooL':_0x92549b(0x219),'vmgJk':_0x92549b(0x204),'jFIMh':function(_0x18a890,_0x1bb186){return _0x18a890===_0x1bb186;},'ihjkQ':function(_0x2fe31c,_0x51f659){return _0x2fe31c+_0x51f659;}},_0x4b8e97=_0x3407bf[_0x92549b(0x203)](getBrowserstackCLI),_0x40bbc9=_0x3407bf['CqaOA'](nestedKeyValue,_0x4b8e97[_0x92549b(0x1f4)]()[_0x92549b(0x1f0)](),[_0x3407bf[_0x92549b(0x211)],_0x3407bf['EGooL'],_0x3407bf['vmgJk']])||constants[_0x92549b(0x1c3)];if(!_0x2e8977||_0x3407bf[_0x92549b(0x20e)](_0x2e8977,''))return _0x40bbc9;const _0x2971d1=_0x40bbc9['endsWith']('/')?_0x40bbc9:_0x3407bf[_0x92549b(0x218)](_0x40bbc9,'/');return new URL(_0x2e8977,_0x2971d1)[_0x92549b(0x1f1)]()['replace'](/^https?:\/\//,'');}static[a56_0x4ae0c7(0x1db)](_0x40450c){const _0x189020=a56_0x4ae0c7,_0x49b464={'KatBw':function(_0x3bdd5b){return _0x3bdd5b();},'FfDdl':function(_0x318ff6,_0x509781,_0x48889){return _0x318ff6(_0x509781,_0x48889);},'lVpjA':_0x189020(0x1e5),'FmXcX':_0x189020(0x1e0),'EZrxp':_0x189020(0x1c2),'OrqnM':function(_0xaddf4e,_0x49a1bc){return _0xaddf4e===_0x49a1bc;},'TnoHQ':function(_0x1b78eb,_0x670ed3){return _0x1b78eb+_0x670ed3;}},_0x2bd2d3=_0x49b464[_0x189020(0x1e6)](getBrowserstackCLI),_0x73b26a=_0x49b464['FfDdl'](nestedKeyValue,_0x2bd2d3[_0x189020(0x1f4)]()['getConfig'](),[_0x49b464['lVpjA'],_0x49b464[_0x189020(0x1e2)],_0x49b464['EZrxp']])||constants[_0x189020(0x1fc)];if(!_0x40450c||_0x49b464[_0x189020(0x1f9)](_0x40450c,''))return _0x73b26a;const _0x595d86=_0x73b26a[_0x189020(0x1ec)]('/')?_0x73b26a:_0x49b464[_0x189020(0x1f2)](_0x73b26a,'/');return new URL(_0x40450c,_0x595d86)[_0x189020(0x1f1)]();}static[a56_0x4ae0c7(0x21f)](_0x3efc2b){const _0x10cfc0=a56_0x4ae0c7,_0xa84cf4={'rrPna':function(_0x53ad17){return _0x53ad17();},'Xjpzw':function(_0x54e900,_0x149c82,_0x1641d9){return _0x54e900(_0x149c82,_0x1641d9);},'SGmAL':'apis','ZUdsR':_0x10cfc0(0x221),'lorYO':_0x10cfc0(0x20f),'FQGkx':_0x10cfc0(0x223),'gVmvx':function(_0x28b349,_0x4d96cb){return _0x28b349===_0x4d96cb;},'bjEPC':function(_0x36b010,_0xe2a88a){return _0x36b010+_0xe2a88a;},'xSQPZ':_0x10cfc0(0x1ca)},_0x1a167e=_0xa84cf4['rrPna'](getBrowserstackCLI),_0x11ba09=_0xa84cf4[_0x10cfc0(0x1e9)](nestedKeyValue,_0x1a167e[_0x10cfc0(0x1f4)]()[_0x10cfc0(0x1f0)](),[_0xa84cf4['SGmAL'],_0xa84cf4[_0x10cfc0(0x1c8)],_0xa84cf4[_0x10cfc0(0x20a)]]),_0x425306=(_0x11ba09?_0x11ba09[_0x10cfc0(0x1c1)](/^https:/,_0xa84cf4[_0x10cfc0(0x1cf)]):null)||constants[_0x10cfc0(0x1f7)];let _0x2b7b14;if(!_0x3efc2b||_0xa84cf4['gVmvx'](_0x3efc2b,''))_0x2b7b14=_0x425306;else{const _0x54f314=_0x425306[_0x10cfc0(0x1ec)]('/')?_0x425306:_0xa84cf4[_0x10cfc0(0x1f8)](_0x425306,'/');_0x2b7b14=new URL(_0x3efc2b,_0x54f314)[_0x10cfc0(0x1f1)]();}return!_0x2b7b14[_0x10cfc0(0x1ec)](_0xa84cf4[_0x10cfc0(0x1d5)])&&(_0x2b7b14+=_0xa84cf4[_0x10cfc0(0x1d5)]),_0x2b7b14;}static[a56_0x4ae0c7(0x1ed)](_0x21ee00){const _0x48c7c0=a56_0x4ae0c7,_0x5d7f80={'wWFoa':function(_0x4a0635){return _0x4a0635();},'QlIMH':function(_0x10f1a8,_0x5a5722,_0x5b8100){return _0x10f1a8(_0x5a5722,_0x5b8100);},'MiuGy':_0x48c7c0(0x1e5),'guNFJ':_0x48c7c0(0x221),'EWXxN':_0x48c7c0(0x20f),'mbHFY':_0x48c7c0(0x223),'ESKdo':function(_0x514778,_0x5e3957){return _0x514778===_0x5e3957;},'RiMzh':function(_0x207f7e,_0x4daeb0){return _0x207f7e+_0x4daeb0;},'gBnWt':_0x48c7c0(0x1f6)},_0x13808f=_0x5d7f80[_0x48c7c0(0x202)](getBrowserstackCLI),_0x341aec=_0x5d7f80[_0x48c7c0(0x1ea)](nestedKeyValue,_0x13808f[_0x48c7c0(0x1f4)]()['getConfig'](),[_0x5d7f80[_0x48c7c0(0x1eb)],_0x5d7f80[_0x48c7c0(0x1e3)],_0x5d7f80['EWXxN']]),_0x492848=(_0x341aec?_0x341aec[_0x48c7c0(0x1c1)](/^https:/,_0x5d7f80['mbHFY']):null)||constants['PUPPETEER_HUB_URL'];let _0x4e321e;if(!_0x21ee00||_0x5d7f80[_0x48c7c0(0x1d1)](_0x21ee00,''))_0x4e321e=_0x492848;else{const _0x5b7f5b=_0x492848[_0x48c7c0(0x1ec)]('/')?_0x492848:_0x5d7f80['RiMzh'](_0x492848,'/');_0x4e321e=new URL(_0x21ee00,_0x5b7f5b)[_0x48c7c0(0x1f1)]();}return!_0x4e321e[_0x48c7c0(0x1ec)](_0x5d7f80[_0x48c7c0(0x21b)])&&(_0x4e321e+=_0x5d7f80[_0x48c7c0(0x21b)]),_0x4e321e;}}module[a56_0x4ae0c7(0x1fa)]=APIUtilityMethods;
@@ -1 +1 @@
1
- function a57_0x525e(){const _0x3d3a9f=['reportClientTroubleshootingError','checkForErrorsOccuredInCLI','boiBz','errorCodesOccurredInCLI','join','Error\x20in\x20getting\x20error\x20details\x20for\x20','TXvkR','getSuccess','VSdMq','CMDoz','12wkDPvC','cachedErrorCodes','SSL\x20Certificate\x20Issue\x20details\x20not\x20found','{ERROR_CODES}','isRunning','getAggregatedClientTroubleshootingErrors','41872DhDMEH','getCachedErrorCodes','reportFinalDetectionState','bNMSQ','CRxzq','45727EpGBen','Conflicting\x20Env\x20Var\x20details\x20not\x20found','getErrorCodes','size','13006gpcLJM','object','yEZlx','OKLhU','logSituation','reportSSLCertIssue','finalErrorMessage','iEVrY','READV','getDocumentationLink','errorCodes','documentationLink','Session\x20Linking\x20Issue','{ENV_VAR}','parse','MNSCE','getErrorCode','ssl\x20cert\x20issue','SAvij','errorMessage','errorCode','DNGkA','replace','1168416adohBl','Process\x20Interruption','Qwqdv','ybpUB','from','[ClientTroubleShootingService]\x20','7640fczbeF','fUgoA','isArray','getErrorDetails','4194921gBHsdR','Session\x20Linking\x20Issue\x20details\x20not\x20found','Error\x20in\x20getting\x20aggregated\x20error\x20codes:','DbmKO','dYjyj','rTzzh','ZjPky','rRGbL','warn','winstonLogger','Connectivity\x20Issue\x20details\x20not\x20found','1587270vQPqlI','CLIENT_TROUBLESHOOTING_HASH','getInstance','gdSUX','getErrorCodesOccurredInCli','646490uHbwwt','conflicting\x20env\x20var\x20detected','error','keys','logError','exports','../../helpers/logger','zbuvg','FUUPN','46WGeBeI','mMGEj','reportConflictingEnvVarIssue','add','getErrorMessage','stringify','getAggregatedErrorCodes','hEUml','reportProcessInterruptionSituation','toString','gsJPl','Process\x20Interruption\x20details\x20not\x20found:','{CLIENT_TROUBLESHOOTING_DOCUMENTATION}','182ngEiba','getFinalErrorMessage','errorCodesOccurredWhenCLINotRunning','length','./constants','kdrJU','reportConnectivityIssue','.browserstack\x20Folder\x20Not\x20Accessible\x20details\x20not\x20found'];a57_0x525e=function(){return _0x3d3a9f;};return a57_0x525e();}const a57_0x51e2ed=a57_0x4ada;(function(_0x44f3db,_0x242dee){const _0x43b9fc=a57_0x4ada,_0x34632e=_0x44f3db();while(!![]){try{const _0x1ef0ea=-parseInt(_0x43b9fc(0xf0))/0x1*(parseInt(_0x43b9fc(0x11e))/0x2)+-parseInt(_0x43b9fc(0x13f))/0x3+parseInt(_0x43b9fc(0x10f))/0x4*(-parseInt(_0x43b9fc(0x14f))/0x5)+-parseInt(_0x43b9fc(0x14a))/0x6+-parseInt(_0x43b9fc(0xfd))/0x7*(-parseInt(_0x43b9fc(0x115))/0x8)+-parseInt(_0x43b9fc(0x135))/0x9+-parseInt(_0x43b9fc(0x13b))/0xa*(-parseInt(_0x43b9fc(0x11a))/0xb);if(_0x1ef0ea===_0x242dee)break;else _0x34632e['push'](_0x34632e['shift']());}catch(_0x3b634c){_0x34632e['push'](_0x34632e['shift']());}}}(a57_0x525e,0xcb344));function a57_0x4ada(_0x3e4de8,_0xb0a1d0){const _0x525e1d=a57_0x525e();return a57_0x4ada=function(_0x4ada74,_0x26163b){_0x4ada74=_0x4ada74-0xed;let _0x39cfaa=_0x525e1d[_0x4ada74];return _0x39cfaa;},a57_0x4ada(_0x3e4de8,_0xb0a1d0);}const logger=require(a57_0x51e2ed(0xed))[a57_0x51e2ed(0x148)],BrowserstackCLI=require('../v2/browserstackCLI'),GrpcClient=require('../v2/grpcClient'),constants=require(a57_0x51e2ed(0x101));class ClientTroubleShootingService{static [a57_0x51e2ed(0x110)]=null;static ['errorCodesOccurredWhenCLINotRunning']=new Set();static async[a57_0x51e2ed(0x13e)](_0x126485){const _0x1d278a=a57_0x51e2ed,_0x44cee9={};_0x44cee9['TXvkR']=function(_0x3df90e,_0x130283){return _0x3df90e!==_0x130283;};const _0x1cd5b6=_0x44cee9;try{if(BrowserstackCLI['getInstance']()[_0x1d278a(0x113)]()){const _0x23c21c=await GrpcClient['getInstance']()[_0x1d278a(0x105)](_0x126485);if(_0x1cd5b6[_0x1d278a(0x10b)](_0x23c21c,null)&&_0x23c21c[_0x1d278a(0x10c)]())return{'errorCode':_0x23c21c[_0x1d278a(0x12e)](),'errorMessage':_0x23c21c[_0x1d278a(0xf4)]()};return{};}return{};}catch(_0x59f1f4){return this['logError'](_0x1d278a(0x10a)+_0x126485+':',_0x59f1f4),{};}}static async['getAggregatedErrorCodes'](){const _0x2f2c03=a57_0x51e2ed,_0x40b862={};_0x40b862['wLzDo']=function(_0x3b9765,_0x2d6c50){return _0x3b9765!==_0x2d6c50;},_0x40b862[_0x2f2c03(0x120)]='base64',_0x40b862['iWuyj']=_0x2f2c03(0x141);const _0x1df9de=_0x40b862;try{if(BrowserstackCLI[_0x2f2c03(0x14c)]()[_0x2f2c03(0x113)]()){const _0x4df34f=await GrpcClient[_0x2f2c03(0x14c)]()[_0x2f2c03(0x114)]();if(_0x1df9de['wLzDo'](_0x4df34f,null)&&_0x4df34f[_0x2f2c03(0x10c)]()){const _0x729368=Buffer[_0x2f2c03(0x139)](_0x4df34f[_0x2f2c03(0x11c)](),_0x1df9de[_0x2f2c03(0x120)])[_0x2f2c03(0xf9)](),_0x3de47c=_0x729368?JSON[_0x2f2c03(0x12c)](_0x729368):[],_0x5855d6=_0x4df34f[_0x2f2c03(0x127)](),_0x4d0384=_0x4df34f[_0x2f2c03(0xfe)](),_0x12d960=Buffer[_0x2f2c03(0x139)](_0x4df34f[_0x2f2c03(0x14e)](),_0x1df9de[_0x2f2c03(0x120)])[_0x2f2c03(0xf9)](),_0x188344=_0x12d960?JSON[_0x2f2c03(0x12c)](_0x12d960):[],_0x18189b={};return _0x18189b[_0x2f2c03(0x128)]=_0x3de47c,_0x18189b['documentationLink']=_0x5855d6,_0x18189b[_0x2f2c03(0x124)]=_0x4d0384,_0x18189b[_0x2f2c03(0x108)]=_0x188344,_0x18189b;}const _0x2aba25={};return _0x2aba25[_0x2f2c03(0x128)]=[],_0x2aba25[_0x2f2c03(0x129)]='',_0x2aba25['finalErrorMessage']='',_0x2aba25[_0x2f2c03(0x108)]=[],_0x2aba25;}const _0x1a9319={};return _0x1a9319['errorCodes']=[],_0x1a9319[_0x2f2c03(0x129)]='',_0x1a9319[_0x2f2c03(0x124)]='',_0x1a9319[_0x2f2c03(0x108)]=[],_0x1a9319;}catch(_0x4d9482){this[_0x2f2c03(0x153)](_0x1df9de['iWuyj'],_0x4d9482);const _0xe41325={};return _0xe41325[_0x2f2c03(0x128)]=[],_0xe41325[_0x2f2c03(0x129)]='',_0xe41325[_0x2f2c03(0x124)]='',_0xe41325[_0x2f2c03(0x108)]=[],_0xe41325;}}static[a57_0x51e2ed(0x122)](_0x325d47,_0x16f03a){const _0x2d60d5=a57_0x51e2ed;logger[_0x2d60d5(0x147)](_0x325d47+':\x20'+_0x16f03a);}static[a57_0x51e2ed(0x106)](_0x4d5e2){const _0x5f4bd9=a57_0x51e2ed,_0xb8cd80={};_0xb8cd80['MNSCE']=function(_0x114ef4,_0x1627d5){return _0x114ef4!=_0x1627d5;},_0xb8cd80[_0x5f4bd9(0x107)]=function(_0x174a7a,_0xcfbf04){return _0x174a7a!=_0xcfbf04;},_0xb8cd80['gsJPl']=function(_0x5b539a,_0x15eaf3){return _0x5b539a>_0x15eaf3;},_0xb8cd80[_0x5f4bd9(0x143)]=function(_0x50bd8e,_0x159565){return _0x50bd8e!=_0x159565;};const _0x210155=_0xb8cd80,_0x193108=[];if(_0x210155[_0x5f4bd9(0x12d)](_0x4d5e2,null)&&_0x210155['boiBz'](_0x4d5e2[_0x5f4bd9(0x108)],null)&&_0x210155[_0x5f4bd9(0xfa)](_0x4d5e2[_0x5f4bd9(0x108)][_0x5f4bd9(0x100)],0x0))for(const _0x24e7f7 of _0x4d5e2[_0x5f4bd9(0x108)]){_0x210155[_0x5f4bd9(0x143)](_0x24e7f7[_0x5f4bd9(0x132)],null)&&_0x210155[_0x5f4bd9(0x107)](_0x24e7f7[_0x5f4bd9(0x131)],null)&&(_0x193108['push'](_0x24e7f7[_0x5f4bd9(0x132)]),this[_0x5f4bd9(0x122)](_0x24e7f7[_0x5f4bd9(0x132)],_0x24e7f7[_0x5f4bd9(0x131)]));}return _0x193108;}static[a57_0x51e2ed(0x116)](){const _0x549826=a57_0x51e2ed;return this[_0x549826(0x110)];}static[a57_0x51e2ed(0x153)](_0x3af5fd,_0x21cf1d){const _0x55b146=a57_0x51e2ed,_0x2a7e49={};_0x2a7e49['gGXcw']=function(_0x549ebd,_0x17684b){return _0x549ebd===_0x17684b;},_0x2a7e49[_0x55b146(0x137)]=_0x55b146(0x11f);const _0x4d65a0=_0x2a7e49;if(_0x4d65a0['gGXcw'](typeof _0x21cf1d,_0x4d65a0[_0x55b146(0x137)]))try{logger[_0x55b146(0x151)](_0x55b146(0x13a)+_0x3af5fd+'\x20'+JSON[_0x55b146(0xf5)](_0x21cf1d));}catch(_0x200159){logger[_0x55b146(0x151)]('[ClientTroubleShootingService]\x20'+_0x3af5fd+'\x20'+_0x21cf1d);}else logger[_0x55b146(0x151)]('[ClientTroubleShootingService]\x20'+_0x3af5fd+'\x20'+_0x21cf1d);}static async[a57_0x51e2ed(0xf8)](_0x1fc0aa){const _0x4148ec=a57_0x51e2ed,_0x2b6535={};_0x2b6535['READV']=_0x4148ec(0x136),_0x2b6535[_0x4148ec(0x118)]=function(_0x210bea,_0x1a3909){return _0x210bea===_0x1a3909;},_0x2b6535[_0x4148ec(0x125)]=_0x4148ec(0xfb),_0x2b6535['KgaFv']='{SIGNAL}';const _0x2a5cef=_0x2b6535,_0x236c2b=await this[_0x4148ec(0x13e)](_0x2a5cef[_0x4148ec(0x126)]);if(!_0x236c2b||_0x2a5cef['bNMSQ'](Object[_0x4148ec(0x152)](_0x236c2b)[_0x4148ec(0x100)],0x0)){this[_0x4148ec(0x153)](_0x2a5cef[_0x4148ec(0x125)],_0x236c2b);return;}this[_0x4148ec(0x122)](_0x236c2b[_0x4148ec(0x132)],_0x236c2b['errorMessage'][_0x4148ec(0x134)](_0x2a5cef['KgaFv'],_0x1fc0aa));}static async['reportSessionLinkingIssue'](){const _0x3130fe=a57_0x51e2ed,_0x297a93={};_0x297a93[_0x3130fe(0x14d)]=_0x3130fe(0x12a),_0x297a93['SAvij']=function(_0x301de9,_0xc41802){return _0x301de9===_0xc41802;},_0x297a93[_0x3130fe(0xee)]=_0x3130fe(0x140);const _0xb46444=_0x297a93,_0x258a82=await this[_0x3130fe(0x13e)](_0xb46444[_0x3130fe(0x14d)]);if(!_0x258a82||_0xb46444[_0x3130fe(0x130)](Object['keys'](_0x258a82)['length'],0x0)){this[_0x3130fe(0x153)](_0xb46444['zbuvg'],_0x258a82);return;}this['logSituation'](_0x258a82[_0x3130fe(0x132)],_0x258a82[_0x3130fe(0x131)]);}static async[a57_0x51e2ed(0x103)](){const _0x7facee=a57_0x51e2ed,_0x13d1f9={};_0x13d1f9['BAgTP']='browserstack\x20cloud\x20not\x20reachable',_0x13d1f9[_0x7facee(0x10e)]=function(_0x350d56,_0x14a3a2){return _0x350d56===_0x14a3a2;},_0x13d1f9[_0x7facee(0x144)]=_0x7facee(0x149);const _0x353196=_0x13d1f9,_0x212eb3=await this[_0x7facee(0x13e)](_0x353196['BAgTP']);if(!_0x212eb3||_0x353196['CMDoz'](Object[_0x7facee(0x152)](_0x212eb3)['length'],0x0)){this['logError'](_0x353196[_0x7facee(0x144)],_0x212eb3);return;}this[_0x7facee(0x122)](_0x212eb3['errorCode'],_0x212eb3[_0x7facee(0x131)]);}static async[a57_0x51e2ed(0x123)](){const _0x3d0425=a57_0x51e2ed,_0x58af7a={};_0x58af7a['DNGkA']=_0x3d0425(0x12f),_0x58af7a[_0x3d0425(0xf7)]=function(_0x2ac426,_0x49dfb0){return _0x2ac426===_0x49dfb0;},_0x58af7a[_0x3d0425(0x146)]=_0x3d0425(0x111);const _0x44a2d1=_0x58af7a,_0x3f950a=await this[_0x3d0425(0x13e)](_0x44a2d1[_0x3d0425(0x133)]);if(!_0x3f950a||_0x44a2d1['hEUml'](Object['keys'](_0x3f950a)[_0x3d0425(0x100)],0x0)){this['logError'](_0x44a2d1[_0x3d0425(0x146)],_0x3f950a);return;}this[_0x3d0425(0x122)](_0x3f950a[_0x3d0425(0x132)],_0x3f950a[_0x3d0425(0x131)]);}static['reportDotBrowserStackFolderNotAccessibleIssue'](){const _0x208ceb=a57_0x51e2ed,_0x107987={};_0x107987[_0x208ceb(0x145)]='.browserstack\x20folder\x20not\x20accessible',_0x107987[_0x208ceb(0xf1)]=function(_0x25a5c4,_0x4bd42d){return _0x25a5c4===_0x4bd42d;},_0x107987[_0x208ceb(0x13c)]=_0x208ceb(0x104);const _0x321249=_0x107987,_0x279a44=constants[_0x208ceb(0x14b)][_0x321249[_0x208ceb(0x145)]];if(!_0x279a44||_0x321249[_0x208ceb(0xf1)](Object['keys'](_0x279a44)[_0x208ceb(0x100)],0x0)){this[_0x208ceb(0x153)](_0x321249['fUgoA'],_0x279a44);return;}this[_0x208ceb(0xff)][_0x208ceb(0xf3)](_0x279a44[0x0]),this[_0x208ceb(0x122)](_0x279a44[0x0],_0x279a44[0x1]);}static async[a57_0x51e2ed(0xf2)](_0xdbc8c7){const _0x46234d=a57_0x51e2ed,_0x1bf62f={};_0x1bf62f[_0x46234d(0x121)]=_0x46234d(0x150),_0x1bf62f[_0x46234d(0x119)]=function(_0x3c22e0,_0x3c498d){return _0x3c22e0===_0x3c498d;},_0x1bf62f[_0x46234d(0x142)]=_0x46234d(0x11b),_0x1bf62f[_0x46234d(0x138)]=_0x46234d(0x12b);const _0x3785fb=_0x1bf62f,_0x2b0412=await this[_0x46234d(0x13e)](_0x3785fb[_0x46234d(0x121)]);if(!_0x2b0412||_0x3785fb[_0x46234d(0x119)](Object[_0x46234d(0x152)](_0x2b0412)['length'],0x0)){this[_0x46234d(0x153)](_0x3785fb['DbmKO'],_0x2b0412);return;}const _0x537f47=_0x2b0412[_0x46234d(0x131)][_0x46234d(0x134)](_0x3785fb['ybpUB'],_0xdbc8c7);this[_0x46234d(0x122)](_0x2b0412[_0x46234d(0x132)],_0x537f47);}static async[a57_0x51e2ed(0x117)](){const _0x6dd789=a57_0x51e2ed,_0x29b539={};_0x29b539['kdrJU']=function(_0x1fd6af,_0x32345d){return _0x1fd6af>_0x32345d;},_0x29b539[_0x6dd789(0xef)]=_0x6dd789(0x112),_0x29b539['VSdMq']=_0x6dd789(0xfc);const _0x5d90c9=_0x29b539,_0x2e8b8c=await this[_0x6dd789(0xf6)](),_0x54aa7f=this[_0x6dd789(0x106)](_0x2e8b8c),_0x5c1b1d=Array[_0x6dd789(0x13d)](_0x2e8b8c[_0x6dd789(0x128)])?_0x2e8b8c[_0x6dd789(0x128)]:[],_0x3e7058=_0x5d90c9['kdrJU'](this[_0x6dd789(0xff)][_0x6dd789(0x11d)],0x0)?Array[_0x6dd789(0x139)](this[_0x6dd789(0xff)]):[],_0x19f6d8=new Set([..._0x5c1b1d,..._0x54aa7f,..._0x3e7058]),_0x34a121=Array['from'](_0x19f6d8);if(_0x5d90c9[_0x6dd789(0x102)](_0x34a121[_0x6dd789(0x100)],0x0)){const _0x149179=_0x2e8b8c[_0x6dd789(0x124)][_0x6dd789(0x134)](_0x5d90c9[_0x6dd789(0xef)],_0x34a121[_0x6dd789(0x109)](',\x20'))[_0x6dd789(0x134)](_0x5d90c9[_0x6dd789(0x10d)],_0x2e8b8c[_0x6dd789(0x129)]);logger[_0x6dd789(0x147)](_0x149179),this[_0x6dd789(0x110)]=_0x34a121;}}}module[a57_0x51e2ed(0x154)]=ClientTroubleShootingService;
1
+ const a57_0x3a333d=a57_0x10bb;(function(_0x17aa5b,_0xcf4871){const _0x47a3be=a57_0x10bb,_0x13d3e6=_0x17aa5b();while(!![]){try{const _0x6342aa=parseInt(_0x47a3be(0xda))/0x1*(parseInt(_0x47a3be(0xb7))/0x2)+-parseInt(_0x47a3be(0xe9))/0x3+parseInt(_0x47a3be(0xa8))/0x4+parseInt(_0x47a3be(0xc0))/0x5+-parseInt(_0x47a3be(0xaa))/0x6*(parseInt(_0x47a3be(0xcb))/0x7)+parseInt(_0x47a3be(0xd6))/0x8*(-parseInt(_0x47a3be(0xd9))/0x9)+-parseInt(_0x47a3be(0xa1))/0xa;if(_0x6342aa===_0xcf4871)break;else _0x13d3e6['push'](_0x13d3e6['shift']());}catch(_0x3ca700){_0x13d3e6['push'](_0x13d3e6['shift']());}}}(a57_0x5875,0xd9c0a));const logger=require(a57_0x3a333d(0x90))[a57_0x3a333d(0xc4)],BrowserstackCLI=require('../v2/browserstackCLI'),GrpcClient=require(a57_0x3a333d(0xe5)),constants=require('./constants');function a57_0x10bb(_0x37b62a,_0x3c1f3e){const _0x587516=a57_0x5875();return a57_0x10bb=function(_0x10bb53,_0x3e1aac){_0x10bb53=_0x10bb53-0x8b;let _0x5d058d=_0x587516[_0x10bb53];return _0x5d058d;},a57_0x10bb(_0x37b62a,_0x3c1f3e);}function a57_0x5875(){const _0x57cf5a=['replace','warn','winstonLogger','getInstance','checkForErrorsOccuredInCLI','SSL\x20Certificate\x20Issue\x20details\x20not\x20found','join','fimZU','cachedErrorCodes','714soVBMB','error','isArray','tvVQl','CLIENT_TROUBLESHOOTING_HASH','ywbOk','HxTTe','reportConnectivityIssue','from','ssl\x20cert\x20issue','RaApx','349352djcwGp','errorCodesOccurredWhenCLINotRunning','WuIFX','27TvxBVe','29IgLCWT','Error\x20in\x20getting\x20error\x20details\x20for\x20','errorCodes','getErrorCode','reportSSLCertIssue','conflicting\x20env\x20var\x20detected','CdJoz','OBObb','exports','getAggregatedClientTroubleshootingErrors','{ERROR_CODES}','../v2/grpcClient','FVaTh','push','sDSGd','2159115pKWfjU','getDocumentationLink','vlpcp','finalErrorMessage','getAggregatedErrorCodes','keys','Process\x20Interruption','length','RBbFP','errorCode','getErrorCodes','myosn','Connectivity\x20Issue\x20details\x20not\x20found','XiBWR','wNWuL','logSituation','parse','object','../../helpers/logger','getFinalErrorMessage','browserstack\x20cloud\x20not\x20reachable','reportProcessInterruptionSituation','getErrorCodesOccurredInCli','pxocU','vsivS','getErrorDetails','stringify','Iosad','bwRpD','Session\x20Linking\x20Issue','pkDpg','{SIGNAL}','bWlta','NHVEV','documentationLink','11074090MMoIQG','Session\x20Linking\x20Issue\x20details\x20not\x20found','base64','toString','eoyVA','logError','reportDotBrowserStackFolderNotAccessibleIssue','3299788ICOCfM','lcnKx','52482mMeDAd','Error\x20in\x20getting\x20aggregated\x20error\x20codes:','RmWiJ','Process\x20Interruption\x20details\x20not\x20found:','sGwJK','reportClientTroubleshootingError','[ClientTroubleShootingService]\x20','qPaDw','AXRaB','.browserstack\x20folder\x20not\x20accessible','vnTLH','loDwk','isRunning','88604ruDElV','KsFap','errorCodesOccurredInCLI','reportConflictingEnvVarIssue','getSuccess','getCachedErrorCodes','pQlBM','errorMessage','reportFinalDetectionState','8162620kIQQHb','ajRSU'];a57_0x5875=function(){return _0x57cf5a;};return a57_0x5875();}class ClientTroubleShootingService{static [a57_0x3a333d(0xca)]=null;static [a57_0x3a333d(0xd7)]=new Set();static async[a57_0x3a333d(0x97)](_0x6a5040){const _0x73983f=a57_0x3a333d,_0x23d343={};_0x23d343[_0x73983f(0x99)]=function(_0x19ad4f,_0xfa13d8){return _0x19ad4f!==_0xfa13d8;};const _0x55a625=_0x23d343;try{if(BrowserstackCLI[_0x73983f(0xc5)]()[_0x73983f(0xb6)]()){const _0x38055a=await GrpcClient['getInstance']()[_0x73983f(0xaf)](_0x6a5040);if(_0x55a625[_0x73983f(0x99)](_0x38055a,null)&&_0x38055a[_0x73983f(0xbb)]())return{'errorCode':_0x38055a[_0x73983f(0xdd)](),'errorMessage':_0x38055a['getErrorMessage']()};return{};}return{};}catch(_0xc40cca){return this[_0x73983f(0xa6)](_0x73983f(0xdb)+_0x6a5040+':',_0xc40cca),{};}}static async[a57_0x3a333d(0xed)](){const _0x180acf=a57_0x3a333d,_0x5003b3={};_0x5003b3[_0x180acf(0xe0)]=function(_0x5e7cdb,_0xc8f0aa){return _0x5e7cdb!==_0xc8f0aa;},_0x5003b3[_0x180acf(0xe1)]=_0x180acf(0xa3),_0x5003b3[_0x180acf(0xe8)]=_0x180acf(0xab);const _0x4fdfb6=_0x5003b3;try{if(BrowserstackCLI[_0x180acf(0xc5)]()['isRunning']()){const _0x1efe87=await GrpcClient[_0x180acf(0xc5)]()[_0x180acf(0xe3)]();if(_0x4fdfb6['CdJoz'](_0x1efe87,null)&&_0x1efe87[_0x180acf(0xbb)]()){const _0x320e80=Buffer['from'](_0x1efe87[_0x180acf(0xf3)](),_0x4fdfb6[_0x180acf(0xe1)])[_0x180acf(0xa4)](),_0x5a1477=_0x320e80?JSON[_0x180acf(0x8e)](_0x320e80):[],_0x4ecb53=_0x1efe87[_0x180acf(0xea)](),_0x534e50=_0x1efe87[_0x180acf(0x91)](),_0x4606ac=Buffer[_0x180acf(0xd3)](_0x1efe87[_0x180acf(0x94)](),_0x4fdfb6[_0x180acf(0xe1)])[_0x180acf(0xa4)](),_0x5838d0=_0x4606ac?JSON[_0x180acf(0x8e)](_0x4606ac):[],_0x94456d={};return _0x94456d[_0x180acf(0xdc)]=_0x5a1477,_0x94456d[_0x180acf(0xa0)]=_0x4ecb53,_0x94456d[_0x180acf(0xec)]=_0x534e50,_0x94456d[_0x180acf(0xb9)]=_0x5838d0,_0x94456d;}const _0x4f12a1={};return _0x4f12a1[_0x180acf(0xdc)]=[],_0x4f12a1['documentationLink']='',_0x4f12a1[_0x180acf(0xec)]='',_0x4f12a1[_0x180acf(0xb9)]=[],_0x4f12a1;}const _0x2b55c7={};return _0x2b55c7['errorCodes']=[],_0x2b55c7[_0x180acf(0xa0)]='',_0x2b55c7[_0x180acf(0xec)]='',_0x2b55c7[_0x180acf(0xb9)]=[],_0x2b55c7;}catch(_0x84890c){this[_0x180acf(0xa6)](_0x4fdfb6[_0x180acf(0xe8)],_0x84890c);const _0x49caf9={};return _0x49caf9['errorCodes']=[],_0x49caf9[_0x180acf(0xa0)]='',_0x49caf9[_0x180acf(0xec)]='',_0x49caf9[_0x180acf(0xb9)]=[],_0x49caf9;}}static[a57_0x3a333d(0x8d)](_0xa7af45,_0x49c954){const _0x3900c6=a57_0x3a333d;logger[_0x3900c6(0xc3)](_0xa7af45+':\x20'+_0x49c954);}static[a57_0x3a333d(0xc6)](_0x8bde93){const _0x542eaf=a57_0x3a333d,_0x582799={};_0x582799[_0x542eaf(0xf4)]=function(_0x1fcc28,_0x113996){return _0x1fcc28!=_0x113996;},_0x582799['qPaDw']=function(_0x54e6cd,_0x2e42fd){return _0x54e6cd!=_0x2e42fd;},_0x582799[_0x542eaf(0x95)]=function(_0x2572b5,_0x3d3093){return _0x2572b5>_0x3d3093;};const _0x3566ce=_0x582799,_0x1e62df=[];if(_0x3566ce[_0x542eaf(0xf4)](_0x8bde93,null)&&_0x3566ce[_0x542eaf(0xb1)](_0x8bde93[_0x542eaf(0xb9)],null)&&_0x3566ce[_0x542eaf(0x95)](_0x8bde93[_0x542eaf(0xb9)][_0x542eaf(0xf0)],0x0))for(const _0xf7a54c of _0x8bde93[_0x542eaf(0xb9)]){_0x3566ce[_0x542eaf(0xb1)](_0xf7a54c[_0x542eaf(0xf2)],null)&&_0x3566ce[_0x542eaf(0xf4)](_0xf7a54c[_0x542eaf(0xbe)],null)&&(_0x1e62df[_0x542eaf(0xe7)](_0xf7a54c[_0x542eaf(0xf2)]),this[_0x542eaf(0x8d)](_0xf7a54c[_0x542eaf(0xf2)],_0xf7a54c[_0x542eaf(0xbe)]));}return _0x1e62df;}static[a57_0x3a333d(0xbc)](){return this['cachedErrorCodes'];}static[a57_0x3a333d(0xa6)](_0x19086f,_0x1538b9){const _0x30bb04=a57_0x3a333d,_0xfa32f2={};_0xfa32f2[_0x30bb04(0xd1)]=function(_0x35a29a,_0x11db88){return _0x35a29a===_0x11db88;},_0xfa32f2['pkDpg']=_0x30bb04(0x8f);const _0x3e773f=_0xfa32f2;if(_0x3e773f[_0x30bb04(0xd1)](typeof _0x1538b9,_0x3e773f[_0x30bb04(0x9c)]))try{logger[_0x30bb04(0xcc)](_0x30bb04(0xb0)+_0x19086f+'\x20'+JSON[_0x30bb04(0x98)](_0x1538b9));}catch(_0x3eb14e){logger[_0x30bb04(0xcc)](_0x30bb04(0xb0)+_0x19086f+'\x20'+_0x1538b9);}else logger['error'](_0x30bb04(0xb0)+_0x19086f+'\x20'+_0x1538b9);}static async[a57_0x3a333d(0x93)](_0x10ab8e){const _0x247b01=a57_0x3a333d,_0x3a4299={};_0x3a4299[_0x247b01(0xd0)]=_0x247b01(0xef),_0x3a4299[_0x247b01(0xac)]=function(_0x220ad9,_0x44bda5){return _0x220ad9===_0x44bda5;},_0x3a4299[_0x247b01(0xb5)]=_0x247b01(0xad),_0x3a4299[_0x247b01(0xeb)]=_0x247b01(0x9d);const _0x1ffb8a=_0x3a4299,_0x7936c0=await this[_0x247b01(0x97)](_0x1ffb8a[_0x247b01(0xd0)]);if(!_0x7936c0||_0x1ffb8a['RmWiJ'](Object['keys'](_0x7936c0)[_0x247b01(0xf0)],0x0)){this[_0x247b01(0xa6)](_0x1ffb8a[_0x247b01(0xb5)],_0x7936c0);return;}this[_0x247b01(0x8d)](_0x7936c0[_0x247b01(0xf2)],_0x7936c0[_0x247b01(0xbe)][_0x247b01(0xc2)](_0x1ffb8a[_0x247b01(0xeb)],_0x10ab8e));}static async['reportSessionLinkingIssue'](){const _0x550617=a57_0x3a333d,_0x52bb60={};_0x52bb60[_0x550617(0xbd)]=_0x550617(0x9b),_0x52bb60['AXRaB']=function(_0x598af5,_0x58a487){return _0x598af5===_0x58a487;},_0x52bb60[_0x550617(0xa5)]=_0x550617(0xa2);const _0xa269b9=_0x52bb60,_0x27e8ac=await this[_0x550617(0x97)](_0xa269b9['pQlBM']);if(!_0x27e8ac||_0xa269b9[_0x550617(0xb2)](Object[_0x550617(0xee)](_0x27e8ac)[_0x550617(0xf0)],0x0)){this[_0x550617(0xa6)](_0xa269b9['eoyVA'],_0x27e8ac);return;}this[_0x550617(0x8d)](_0x27e8ac[_0x550617(0xf2)],_0x27e8ac[_0x550617(0xbe)]);}static async[a57_0x3a333d(0xd2)](){const _0x482f0e=a57_0x3a333d,_0x3616de={};_0x3616de['XiBWR']=_0x482f0e(0x92),_0x3616de[_0x482f0e(0xd5)]=function(_0x3c4d13,_0x343f79){return _0x3c4d13===_0x343f79;},_0x3616de[_0x482f0e(0x8c)]=_0x482f0e(0xf5);const _0x450270=_0x3616de,_0x27ae25=await this[_0x482f0e(0x97)](_0x450270[_0x482f0e(0x8b)]);if(!_0x27ae25||_0x450270[_0x482f0e(0xd5)](Object['keys'](_0x27ae25)[_0x482f0e(0xf0)],0x0)){this['logError'](_0x450270['wNWuL'],_0x27ae25);return;}this[_0x482f0e(0x8d)](_0x27ae25[_0x482f0e(0xf2)],_0x27ae25[_0x482f0e(0xbe)]);}static async[a57_0x3a333d(0xde)](){const _0x58aa6b=a57_0x3a333d,_0x3f9174={};_0x3f9174[_0x58aa6b(0xae)]=_0x58aa6b(0xd4),_0x3f9174[_0x58aa6b(0x9f)]=function(_0x4bafea,_0x196f17){return _0x4bafea===_0x196f17;},_0x3f9174[_0x58aa6b(0xd8)]=_0x58aa6b(0xc7);const _0x34bad2=_0x3f9174,_0x2e2917=await this[_0x58aa6b(0x97)](_0x34bad2[_0x58aa6b(0xae)]);if(!_0x2e2917||_0x34bad2[_0x58aa6b(0x9f)](Object[_0x58aa6b(0xee)](_0x2e2917)['length'],0x0)){this['logError'](_0x34bad2['WuIFX'],_0x2e2917);return;}this[_0x58aa6b(0x8d)](_0x2e2917[_0x58aa6b(0xf2)],_0x2e2917[_0x58aa6b(0xbe)]);}static[a57_0x3a333d(0xa7)](){const _0xe9c489=a57_0x3a333d,_0x4aa33d={};_0x4aa33d[_0xe9c489(0xb4)]=_0xe9c489(0xb3),_0x4aa33d[_0xe9c489(0xce)]=function(_0x535d71,_0x1945e7){return _0x535d71===_0x1945e7;},_0x4aa33d['KsFap']='.browserstack\x20Folder\x20Not\x20Accessible\x20details\x20not\x20found';const _0x3878ab=_0x4aa33d,_0x1be803=constants[_0xe9c489(0xcf)][_0x3878ab[_0xe9c489(0xb4)]];if(!_0x1be803||_0x3878ab['tvVQl'](Object[_0xe9c489(0xee)](_0x1be803)[_0xe9c489(0xf0)],0x0)){this[_0xe9c489(0xa6)](_0x3878ab[_0xe9c489(0xb8)],_0x1be803);return;}this[_0xe9c489(0xd7)]['add'](_0x1be803[0x0]),this[_0xe9c489(0x8d)](_0x1be803[0x0],_0x1be803[0x1]);}static async[a57_0x3a333d(0xba)](_0x20e40c){const _0x44ae34=a57_0x3a333d,_0x12d3a1={};_0x12d3a1[_0x44ae34(0x9e)]=_0x44ae34(0xdf),_0x12d3a1['FVaTh']=function(_0x17727e,_0x40dc4e){return _0x17727e===_0x40dc4e;},_0x12d3a1['bwRpD']='Conflicting\x20Env\x20Var\x20details\x20not\x20found',_0x12d3a1[_0x44ae34(0xc9)]='{ENV_VAR}';const _0x4a6ca3=_0x12d3a1,_0x4f9424=await this[_0x44ae34(0x97)](_0x4a6ca3[_0x44ae34(0x9e)]);if(!_0x4f9424||_0x4a6ca3[_0x44ae34(0xe6)](Object[_0x44ae34(0xee)](_0x4f9424)[_0x44ae34(0xf0)],0x0)){this[_0x44ae34(0xa6)](_0x4a6ca3[_0x44ae34(0x9a)],_0x4f9424);return;}const _0x4487c0=_0x4f9424[_0x44ae34(0xbe)]['replace'](_0x4a6ca3['fimZU'],_0x20e40c);this[_0x44ae34(0x8d)](_0x4f9424[_0x44ae34(0xf2)],_0x4487c0);}static async[a57_0x3a333d(0xbf)](){const _0x52c246=a57_0x3a333d,_0x3d852c={};_0x3d852c[_0x52c246(0xa9)]=function(_0x55997,_0x445f05){return _0x55997>_0x445f05;},_0x3d852c[_0x52c246(0xc1)]=function(_0x1dc51f,_0x452759){return _0x1dc51f>_0x452759;},_0x3d852c[_0x52c246(0xf1)]=_0x52c246(0xe4),_0x3d852c[_0x52c246(0x96)]='{CLIENT_TROUBLESHOOTING_DOCUMENTATION}';const _0x18f3b7=_0x3d852c,_0x4e9595=await this['getAggregatedErrorCodes'](),_0x3456c5=this[_0x52c246(0xc6)](_0x4e9595),_0x48b336=Array[_0x52c246(0xcd)](_0x4e9595['errorCodes'])?_0x4e9595[_0x52c246(0xdc)]:[],_0x194b81=_0x18f3b7['lcnKx'](this[_0x52c246(0xd7)]['size'],0x0)?Array['from'](this[_0x52c246(0xd7)]):[],_0x47eeca=new Set([..._0x48b336,..._0x3456c5,..._0x194b81]),_0x4a9f9a=Array[_0x52c246(0xd3)](_0x47eeca);if(_0x18f3b7[_0x52c246(0xc1)](_0x4a9f9a[_0x52c246(0xf0)],0x0)){const _0xbd10c6=_0x4e9595[_0x52c246(0xec)]['replace'](_0x18f3b7[_0x52c246(0xf1)],_0x4a9f9a[_0x52c246(0xc8)](',\x20'))[_0x52c246(0xc2)](_0x18f3b7[_0x52c246(0x96)],_0x4e9595[_0x52c246(0xa0)]);logger[_0x52c246(0xc3)](_0xbd10c6),this[_0x52c246(0xca)]=_0x4a9f9a;}}}module[a57_0x3a333d(0xe2)]=ClientTroubleShootingService;