browserstack-node-sdk 1.53.3 → 1.53.4

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
+ function a49_0x5c97(_0xb880fa,_0x125834){const _0x25e5c0=a49_0x25e5();return a49_0x5c97=function(_0x5c97d4,_0x266bbc){_0x5c97d4=_0x5c97d4-0x1ea;let _0x56ca8b=_0x25e5c0[_0x5c97d4];return _0x56ca8b;},a49_0x5c97(_0xb880fa,_0x125834);}const a49_0xceb472=a49_0x5c97;(function(_0x35931f,_0x51d0ce){const _0x58a4a1=a49_0x5c97,_0x5ea4d2=_0x35931f();while(!![]){try{const _0xf51124=parseInt(_0x58a4a1(0x21b))/0x1*(-parseInt(_0x58a4a1(0x1f1))/0x2)+parseInt(_0x58a4a1(0x205))/0x3*(parseInt(_0x58a4a1(0x243))/0x4)+-parseInt(_0x58a4a1(0x1fd))/0x5+-parseInt(_0x58a4a1(0x22d))/0x6*(-parseInt(_0x58a4a1(0x208))/0x7)+-parseInt(_0x58a4a1(0x203))/0x8*(parseInt(_0x58a4a1(0x232))/0x9)+parseInt(_0x58a4a1(0x228))/0xa+parseInt(_0x58a4a1(0x215))/0xb*(parseInt(_0x58a4a1(0x20e))/0xc);if(_0xf51124===_0x51d0ce)break;else _0x5ea4d2['push'](_0x5ea4d2['shift']());}catch(_0x4b656a){_0x5ea4d2['push'](_0x5ea4d2['shift']());}}}(a49_0x25e5,0x70b64));const path=require(a49_0xceb472(0x222)),url=require(a49_0xceb472(0x20b)),util=require(a49_0xceb472(0x202)),{nestedKeyValue,isFalse}=require('../../helpers/helper'),{debug,getPlatformDetails}=require('../../helpers/test-observability/utils'),logger=require(a49_0xceb472(0x1f0))[a49_0xceb472(0x1f3)],constants=require(a49_0xceb472(0x1ea)),BrowserstackCLI=require('../v2/browserstackCLI'),AutomationFrameworkState=require('../v2/state/automationFrameworkState.js'),HookState=require(a49_0xceb472(0x227)),getBrowserFromWSEndpoint=_0x217e79=>{const _0x35ba1c=a49_0xceb472,_0x4416d4={'ZYfEr':_0x35ba1c(0x1fe),'mIlSS':function(_0x34084e,_0x51e863){return _0x34084e(_0x51e863);}};try{const _0x277fc4=url[_0x35ba1c(0x233)](_0x217e79),_0x34bf3c=new URLSearchParams(_0x277fc4['query']),_0x543e73=Object[_0x35ba1c(0x22c)](_0x34bf3c[_0x35ba1c(0x204)]()),_0x411e10=JSON[_0x35ba1c(0x233)](_0x543e73['caps']);if(_0x411e10&&(_0x411e10[_0x35ba1c(0x200)]||_0x411e10[_0x35ba1c(0x214)]))return _0x411e10[_0x35ba1c(0x200)]||_0x411e10[_0x35ba1c(0x214)];return _0x4416d4[_0x35ba1c(0x20f)];}catch(_0x3604b7){_0x4416d4[_0x35ba1c(0x218)](debug,'Error\x20in\x20getting\x20browser\x20from\x20caps:\x20'+_0x3604b7['toString']());}},getCloudProviderFromWsEndpoint=_0x1842e9=>{const _0x5bdb78=a49_0xceb472,_0x397750={};_0x397750[_0x5bdb78(0x1fc)]=_0x5bdb78(0x1ed),_0x397750['FwEVM']='unknown_grid';const _0x2ab2f8=_0x397750;if(_0x1842e9['includes'](constants['BSTACK_URL'])||_0x1842e9['includes'](constants[_0x5bdb78(0x22b)]))return _0x2ab2f8[_0x5bdb78(0x1fc)];return _0x2ab2f8[_0x5bdb78(0x23f)];},a49_0x38ed2e={};a49_0x38ed2e[a49_0xceb472(0x240)]=undefined,a49_0x38ed2e[a49_0xceb472(0x211)]=undefined,a49_0x38ed2e[a49_0xceb472(0x200)]=undefined,a49_0x38ed2e[a49_0xceb472(0x1fb)]=undefined,a49_0x38ed2e[a49_0xceb472(0x1f4)]=undefined,a49_0x38ed2e[a49_0xceb472(0x230)]=undefined,a49_0x38ed2e['product']=undefined,a49_0x38ed2e[a49_0xceb472(0x235)]={};class PuppeteerSessionDetails{static ['currentSessionDetails']=a49_0x38ed2e;constructor(){const _0x94a930=a49_0xceb472,_0x4f5243={};_0x4f5243[_0x94a930(0x1f5)]='Invalid\x20constructor,\x20please\x20use\x20static\x20methods';const _0xa19f5=_0x4f5243;throw new Error(_0xa19f5['mmvLx']);}static [a49_0xceb472(0x23d)]=null;static async[a49_0xceb472(0x1f7)](_0x1c66b8,_0x570a3e){const _0x18ffd7=a49_0xceb472,_0x3e54ea={'vJTlv':'chrome','YSpIC':function(_0x59e9ce,_0x4b6dc0){return _0x59e9ce===_0x4b6dc0;},'OVFhR':_0x18ffd7(0x20d),'gVbZl':_0x18ffd7(0x1fa),'oPOYL':function(_0x2f0b8a,_0x562388){return _0x2f0b8a(_0x562388);},'LoWqy':'browserstack','YhrMm':_0x18ffd7(0x1ef),'yxnKv':_0x18ffd7(0x242),'ahkJi':function(_0x49181d){return _0x49181d();},'XUiCl':function(_0x1ac18d,_0x43303c){return _0x1ac18d(_0x43303c);}};try{let _0xd697cf=_0x3e54ea['vJTlv'],_0x133b8f=null;_0x1c66b8&&_0x3e54ea[_0x18ffd7(0x244)](typeof _0x1c66b8[_0x18ffd7(0x1f2)],_0x3e54ea[_0x18ffd7(0x210)])&&(_0x133b8f=await _0x1c66b8[_0x18ffd7(0x1f2)]());let _0x2ced1d=null,_0x24fb44=null,_0x4246c2=null,_0x11fb64=_0x3e54ea['gVbZl'];if(_0x570a3e){_0x11fb64=_0x3e54ea[_0x18ffd7(0x20a)](getCloudProviderFromWsEndpoint,_0x570a3e);if(_0x3e54ea[_0x18ffd7(0x244)](_0x11fb64,_0x3e54ea[_0x18ffd7(0x224)]))_0x4246c2=constants[_0x18ffd7(0x220)]?constants[_0x18ffd7(0x220)][_0x18ffd7(0x1ee)](_0x570a3e)?_0x3e54ea[_0x18ffd7(0x217)]:_0x3e54ea[_0x18ffd7(0x221)]:_0x3e54ea['yxnKv'],_0xd697cf=_0x3e54ea[_0x18ffd7(0x20a)](getBrowserFromWSEndpoint,_0x570a3e)||_0xd697cf,_0x2ced1d=this[_0x18ffd7(0x21c)][_0x18ffd7(0x1f4)],_0x24fb44=this[_0x18ffd7(0x21c)][_0x18ffd7(0x230)];else{const _0xc8587b=await _0x3e54ea[_0x18ffd7(0x237)](getPlatformDetails);_0x2ced1d=_0xc8587b[_0x18ffd7(0x1f6)],_0x24fb44=_0xc8587b[_0x18ffd7(0x234)];}}else{const _0x1d19cd=await _0x3e54ea[_0x18ffd7(0x237)](getPlatformDetails);_0x2ced1d=_0x1d19cd[_0x18ffd7(0x1f6)],_0x24fb44=_0x1d19cd['platformVersion'];}const _0x8d2178={};_0x8d2178[_0x18ffd7(0x200)]=_0xd697cf,_0x8d2178[_0x18ffd7(0x1fb)]=_0x133b8f,_0x8d2178[_0x18ffd7(0x235)]={},_0x8d2178[_0x18ffd7(0x1f4)]=_0x2ced1d,_0x8d2178[_0x18ffd7(0x230)]=_0x24fb44,_0x8d2178[_0x18ffd7(0x23e)]=_0x4246c2;const _0x4f97fb=_0x8d2178,_0x25cdd4={};_0x25cdd4[_0x18ffd7(0x240)]=_0x11fb64,this[_0x18ffd7(0x21c)]=Object[_0x18ffd7(0x1ec)]({},this['currentSessionDetails'],_0x25cdd4,_0x4f97fb);}catch(_0x85a775){_0x3e54ea[_0x18ffd7(0x245)](debug,_0x18ffd7(0x223)+util[_0x18ffd7(0x23b)](_0x85a775)),this[_0x18ffd7(0x23d)]=_0x85a775['toString']();}}static[a49_0xceb472(0x219)](_0xd821bb){const _0x3cafb2=a49_0xceb472,_0x7b287e={'tIPKC':function(_0x20d786,_0x5459f0){return _0x20d786===_0x5459f0;},'vmTQb':_0x3cafb2(0x209),'yWUTV':function(_0x19ea4,_0x305557){return _0x19ea4(_0x305557);},'tvGSB':function(_0x43a59f,_0x5d6ed2){return _0x43a59f===_0x5d6ed2;},'Mgtmg':function(_0x3ec886,_0x3a90dc){return _0x3ec886(_0x3a90dc);},'pxFbJ':'[PuppeteerSessionDetails]\x20Connection\x20patched\x20for\x20session\x20capture'},_0xea8ea0=this;try{const _0x297ff5=_0xd821bb[_0x3cafb2(0x21a)]||_0xd821bb[_0x3cafb2(0x226)];if(!_0x297ff5||_0x297ff5['_bstackPatched'])return;const _0x35dc69=_0x297ff5['onmessage'];_0x297ff5[_0x3cafb2(0x239)]=function(_0x111cda){const _0x283708=_0x3cafb2;try{const _0x31508c=_0x7b287e['tIPKC'](typeof _0x111cda,_0x7b287e['vmTQb'])?JSON[_0x283708(0x233)](_0x111cda):_0x111cda,_0x5f5c98=_0x31508c?.[_0x283708(0x21d)]||_0x31508c?.[_0x283708(0x207)]||_0x31508c?.[_0x283708(0x212)]?.['bsParams']||_0x31508c?.[_0x283708(0x212)]?.[_0x283708(0x21d)]||_0x31508c?.[_0x283708(0x201)]?.[_0x283708(0x207)]||_0x31508c?.[_0x283708(0x201)]?.[_0x283708(0x21d)];if(_0x5f5c98){if(BrowserstackCLI[_0x283708(0x21e)]()[_0x283708(0x213)]()){const _0x56deae={};_0x56deae[_0x283708(0x23c)]=_0x31508c,BrowserstackCLI['getInstance']()[_0x283708(0x236)]()[_0x283708(0x1eb)](AutomationFrameworkState[_0x283708(0x225)],HookState[_0x283708(0x241)],_0x56deae);}else{const _0x1f31d9=_0x5f5c98['sessionId'],_0xccd17e=_0x5f5c98[_0x283708(0x20c)];_0xccd17e&&(_0x7b287e[_0x283708(0x22e)](debug,_0x283708(0x238)+JSON[_0x283708(0x1f9)](_0xccd17e)),_0xea8ea0[_0x283708(0x21c)][_0x283708(0x1f4)]=_0xccd17e['platformName'],_0xea8ea0[_0x283708(0x21c)]['platform_version']=_0xccd17e['platformVersion']),_0x1f31d9&&(_0x7b287e[_0x283708(0x22e)](debug,_0x283708(0x21f)+_0x1f31d9),_0xea8ea0[_0x283708(0x21c)]['bsSessionId']=_0x1f31d9);}_0x7b287e[_0x283708(0x22f)](typeof _0x111cda,_0x7b287e[_0x283708(0x216)])&&(delete _0x31508c[_0x283708(0x21d)],delete _0x31508c[_0x283708(0x207)],_0x31508c[_0x283708(0x212)]&&(delete _0x31508c[_0x283708(0x212)]['bsParams'],delete _0x31508c[_0x283708(0x212)]['bStackParams']),_0x31508c[_0x283708(0x201)]&&(delete _0x31508c['result'][_0x283708(0x207)],delete _0x31508c[_0x283708(0x201)]['bStackParams']));}}catch(_0x547730){_0x7b287e[_0x283708(0x1ff)](debug,'Error\x20extracting\x20bsParams\x20from\x20CDP\x20message:\x20'+_0x547730[_0x283708(0x23c)]);}return _0x35dc69?.['apply'](this,arguments);},_0x297ff5[_0x3cafb2(0x229)]=!![],logger[_0x3cafb2(0x1f8)](_0x7b287e[_0x3cafb2(0x231)]);}catch(_0x6d5edb){_0x7b287e[_0x3cafb2(0x1ff)](debug,_0x3cafb2(0x22a)+util[_0x3cafb2(0x23b)](_0x6d5edb)),_0xea8ea0[_0x3cafb2(0x23d)]=_0x6d5edb[_0x3cafb2(0x23a)]();}}static['getDetails'](){return this['currentSessionDetails'];}}function a49_0x25e5(){const _0x229f38=['../v2/state/hookState.js','4219220teryGZ','_bstackPatched','Error\x20in\x20patchConnection:\x20','BSTACK_ATS_URL','fromEntries','3156lXPiJj','yWUTV','tvGSB','platform_version','pxFbJ','63fCTJrt','parse','platformVersion','capabilities','getAutomationFramework','ahkJi','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','onmessage','toString','format','message','sessionError','product','FwEVM','cloudProvider','POST','automate','636uCJEsh','YSpIC','XUiCl','../utils/constants','trackEvent','assign','browserstack','test','turboscale','../../helpers/logger','2QjhIla','version','winstonLogger','platform','mmvLx','platformName','setupBrowserDetails','debug','stringify','local_grid','browser_version','pgmHi','4109795GqiCvq','chrome','Mgtmg','browser','result','util','86648CUrGXF','entries','750UPNqJN','exports','bsParams','3353nvcqUU','string','oPOYL','url','platformDetails','function','600nfpaef','ZYfEr','OVFhR','bsSessionId','params','isRunning','browserName','341121wOHfJD','vmTQb','YhrMm','mIlSS','patchConnection','_connection','904732WavKFO','currentSessionDetails','bStackParams','getInstance','Setting\x20session\x20id\x20received\x20from\x20BS\x20','ATS_WSS_URL_REGEX','yxnKv','path','Error\x20in\x20setupBrowserDetails:\x20','LoWqy','PLAYWRIGHT_DISPATCH','connection'];a49_0x25e5=function(){return _0x229f38;};return a49_0x25e5();}module[a49_0xceb472(0x206)]=PuppeteerSessionDetails;
@@ -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_0x2579b5=a50_0x3b55;(function(_0x1430d9,_0x485517){const _0x399ef8=a50_0x3b55,_0x3a8c6a=_0x1430d9();while(!![]){try{const _0x29ef68=-parseInt(_0x399ef8(0x1a9))/0x1+parseInt(_0x399ef8(0x1b0))/0x2*(-parseInt(_0x399ef8(0x1a5))/0x3)+parseInt(_0x399ef8(0x1af))/0x4*(-parseInt(_0x399ef8(0x1ce))/0x5)+-parseInt(_0x399ef8(0x1bf))/0x6*(-parseInt(_0x399ef8(0x1a6))/0x7)+-parseInt(_0x399ef8(0x1d5))/0x8*(-parseInt(_0x399ef8(0x1c5))/0x9)+parseInt(_0x399ef8(0x1ab))/0xa*(-parseInt(_0x399ef8(0x1d2))/0xb)+parseInt(_0x399ef8(0x1b2))/0xc*(parseInt(_0x399ef8(0x1c6))/0xd);if(_0x29ef68===_0x485517)break;else _0x3a8c6a['push'](_0x3a8c6a['shift']());}catch(_0x34986e){_0x3a8c6a['push'](_0x3a8c6a['shift']());}}}(a50_0x184a,0x7dc28));const {isTrue,isBrowserstackInfra}=require(a50_0x2579b5(0x1b7)),setKeepAlive=require('../../helpers/setKeepAlive'),util=require(a50_0x2579b5(0x1be)),logger=require(a50_0x2579b5(0x1b9))[a50_0x2579b5(0x1a7)],{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),{addRequestSpy}=require('../../helpers/test-observability/utils'),a50_0x1dfc4b={};a50_0x1dfc4b[a50_0x2579b5(0x1cf)]=undefined,a50_0x1dfc4b[a50_0x2579b5(0x1c2)]={},a50_0x1dfc4b[a50_0x2579b5(0x1d3)]=![],a50_0x1dfc4b[a50_0x2579b5(0x1ae)]=null,a50_0x1dfc4b[a50_0x2579b5(0x1d6)]=![],a50_0x1dfc4b[a50_0x2579b5(0x1c2)]['id']=undefined,a50_0x1dfc4b[a50_0x2579b5(0x1c2)][a50_0x2579b5(0x1bb)]=undefined;const workerDetails=a50_0x1dfc4b;global[a50_0x2579b5(0x1d0)]=workerDetails;let puppeteerPatcher=null;setKeepAlive();function a50_0x184a(){const _0xaf43f4=['20ewMzsx','jestConfig','skipSessionStatus','pwPage','97640baXSNQ','18hoIgob','isCliEnabled','36qBXdaF','catch','[PuppeteerTestSetup]\x20Error\x20reading\x20BrowserStack\x20config:\x20','JEST','initializePuppeteerPatching','../../helpers/helper','[PuppeteerTestSetup]\x20Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20','../../helpers/logger','puppeteer-core','testInfo','[PuppeteerTestSetup]\x20Bootstrapping\x20BrowserstackCLI\x20for\x20Jest\x20worker','PUPPETEER','util','198WkEfrt','getInstance','../v2/cliUtils','currentTest','__skipSessionStatus','[PuppeteerTestSetup]\x20Error\x20bootstrapping\x20BrowserstackCLI:\x20','255456ZCibwI','7166913otyuXA','../utils/puppeteer-patcher','puppeteer','__skipSessionName','format','../v2/browserstackCLI','debug','skipSessionName','95EIMmCb','workerInfo','__workerDetails','true','2380334RrexDH','o11ySyncDone','setFrameworkDetail','24LIDecK','isPageFixture','[PuppeteerTestSetup]\x20Patching\x20Puppeteer\x20for\x20Jest','171852FAXgaw','216349idKoWp','winstonLogger','[PuppeteerTestSetup]\x20Jest-Puppeteer\x20test\x20setup\x20completed','831740QifeAT','env'];a50_0x184a=function(){return _0xaf43f4;};return a50_0x184a();}if(global[a50_0x2579b5(0x1ac)])try{isBrowserstackInfra()?(global[a50_0x2579b5(0x1c9)]=isTrue(global[a50_0x2579b5(0x1ac)]?.[a50_0x2579b5(0x1cd)]),global['__skipSessionStatus']=isTrue(global[a50_0x2579b5(0x1ac)]?.[a50_0x2579b5(0x1ad)])):(global[a50_0x2579b5(0x1c9)]=!![],global[a50_0x2579b5(0x1c3)]=!![]);const helper=require('../../helpers/helper'),puppeteerVersion=helper['getPackageVersion'](a50_0x2579b5(0x1c8))||helper['getPackageVersion'](a50_0x2579b5(0x1ba));if(puppeteerVersion)try{logger[a50_0x2579b5(0x1cc)](a50_0x2579b5(0x1d7)),puppeteerPatcher=require(a50_0x2579b5(0x1c7)),puppeteerPatcher[a50_0x2579b5(0x1b6)](global[a50_0x2579b5(0x1ac)]),logger['debug']('[PuppeteerTestSetup]\x20Puppeteer\x20patching\x20initialized');}catch(a50_0x397489){logger[a50_0x2579b5(0x1cc)]('[PuppeteerTestSetup]\x20Error\x20initializing\x20Puppeteer\x20patching:\x20'+util['format'](a50_0x397489));}if(puppeteerPatcher)try{const BrowserstackCLI=require(a50_0x2579b5(0x1cb)),CLIUtils=require(a50_0x2579b5(0x1c1)),{FRAMEWORKS}=require('../utils/constants');BrowserstackCLI[a50_0x2579b5(0x1c0)]()[a50_0x2579b5(0x1b1)]()&&(logger[a50_0x2579b5(0x1cc)](a50_0x2579b5(0x1bc)),process[a50_0x2579b5(0x1aa)]['BROWSERSTACK_PUPPETEER']=a50_0x2579b5(0x1d1),CLIUtils[a50_0x2579b5(0x1d4)](FRAMEWORKS[a50_0x2579b5(0x1b5)],FRAMEWORKS[a50_0x2579b5(0x1bd)]),BrowserstackCLI[a50_0x2579b5(0x1c0)]()['bootstrap']()[a50_0x2579b5(0x1b3)](_0x1e61e7=>{const _0x3d309a=a50_0x2579b5;logger[_0x3d309a(0x1cc)](_0x3d309a(0x1c4)+util['format'](_0x1e61e7));}));}catch(a50_0x17ff44){logger['debug'](a50_0x2579b5(0x1b8)+util[a50_0x2579b5(0x1ca)](a50_0x17ff44));}shouldProcessEventForTesthub()&&addRequestSpy(![]);}catch(a50_0x4ab6c5){logger[a50_0x2579b5(0x1cc)](a50_0x2579b5(0x1b4)+util[a50_0x2579b5(0x1ca)](a50_0x4ab6c5));}function a50_0x3b55(_0x1d0977,_0x21b385){const _0x184aee=a50_0x184a();return a50_0x3b55=function(_0x3b55f1,_0x10086a){_0x3b55f1=_0x3b55f1-0x1a5;let _0x12fde3=_0x184aee[_0x3b55f1];return _0x12fde3;},a50_0x3b55(_0x1d0977,_0x21b385);}logger['debug'](a50_0x2579b5(0x1a8));
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_0x318921=a51_0x31df;(function(_0x3d6441,_0x1f78aa){const _0x1db694=a51_0x31df,_0x5d31f0=_0x3d6441();while(!![]){try{const _0x36ed87=-parseInt(_0x1db694(0x1cb))/0x1+parseInt(_0x1db694(0x1f8))/0x2*(parseInt(_0x1db694(0x18d))/0x3)+-parseInt(_0x1db694(0x1d3))/0x4+parseInt(_0x1db694(0x18a))/0x5+-parseInt(_0x1db694(0x1fd))/0x6+parseInt(_0x1db694(0x192))/0x7*(-parseInt(_0x1db694(0x189))/0x8)+parseInt(_0x1db694(0x1d1))/0x9;if(_0x36ed87===_0x1f78aa)break;else _0x5d31f0['push'](_0x5d31f0['shift']());}catch(_0x2bca82){_0x5d31f0['push'](_0x5d31f0['shift']());}}}(a51_0x9c42,0x41de6));function a51_0x31df(_0x151b14,_0x1b4446){const _0x9c42f=a51_0x9c42();return a51_0x31df=function(_0x31dfe0,_0x10160c){_0x31dfe0=_0x31dfe0-0x186;let _0xbce89a=_0x9c42f[_0x31dfe0];return _0xbce89a;},a51_0x31df(_0x151b14,_0x1b4446);}const fs=require('fs'),path=require('path'),util=require('util'),spawn=require(a51_0x318921(0x1b7))['spawn'],{requireModule}=require(a51_0x318921(0x1f2)),PerformanceTester=require(a51_0x318921(0x1c4)),PerformanceEvents=require(a51_0x318921(0x1a6))[a51_0x318921(0x197)],helper=require(a51_0x318921(0x1f2)),utilities=require(a51_0x318921(0x196)),{default:BrowserStackSetup}=require(a51_0x318921(0x1ab)),{FRAMEWORKS}=require(a51_0x318921(0x204)),runIntegrations=require(a51_0x318921(0x187)),yargs=require('yargs'),Constants=require(a51_0x318921(0x20c)),BrowserstackCLI=require('./v2/browserstackCLI'),logger=require(a51_0x318921(0x1b3))[a51_0x318921(0x1a5)],origArgs=Object[a51_0x318921(0x1bf)]([],process['argv']),captureError=async(_0xdf381c,_0x3337b6,_0x34a9d3,_0x42c972=null,_0x2ccc5b=![])=>{const _0x597c74=a51_0x318921,_0x1acb7c={'QWpIn':function(_0x2b8947,_0x1ac82a,_0x58bc6b,_0x9f6c92){return _0x2b8947(_0x1ac82a,_0x58bc6b,_0x9f6c92);},'gDcwq':_0x597c74(0x19d)};try{logger[_0x597c74(0x1fc)](_0x597c74(0x1c7)+origArgs[_0x597c74(0x1c8)]('\x20')),await _0x1acb7c[_0x597c74(0x1c3)](_0xdf381c,_0x3337b6,_0x42c972,_0x34a9d3);}catch(_0x518020){process[_0x597c74(0x19a)]=0x1,logger[_0x597c74(0x190)](util[_0x597c74(0x1e1)](_0x518020));const _0x20b31c={'globalException':util[_0x597c74(0x1e1)]('%j',_0x518020)};PerformanceTester[_0x597c74(0x1be)](PerformanceEvents[_0x597c74(0x1e5)],![],util[_0x597c74(0x1e1)](_0x518020));if(helper['isUndefined'](global[_0x597c74(0x1c9)])&&helper[_0x597c74(0x200)](global[_0x597c74(0x1ca)]))return;try{utilities['fireFunnelTestEvent'](_0x1acb7c['gDcwq'],_0x20b31c,global[_0x597c74(0x1c9)],global[_0x597c74(0x1ca)]);}catch(_0x28ebc8){logger[_0x597c74(0x1fe)](_0x597c74(0x1ad)+_0x28ebc8[_0x597c74(0x1b6)]);}try{await helper[_0x597c74(0x1e9)](global[_0x597c74(0x1c9)]);}catch(_0x3dc3c5){logger[_0x597c74(0x1fe)](_0x597c74(0x1c5)+_0x3dc3c5[_0x597c74(0x1b6)]);}PerformanceTester[_0x597c74(0x1be)](PerformanceEvents['SDK_SETUP'],![],util[_0x597c74(0x1e1)](_0x518020));}finally{!_0x2ccc5b&&await BrowserstackCLI['getInstance']()[_0x597c74(0x206)](),PerformanceTester[_0x597c74(0x1bd)](PerformanceEvents[_0x597c74(0x20f)]);}};try{const browserstackFolderPath=path['join'](helper['homedir'](),'.browserstack');if(fs['existsSync'](browserstackFolderPath)){const filePath=path[a51_0x318921(0x1c8)](browserstackFolderPath,'.local-not-set.json');fs[a51_0x318921(0x1c2)](filePath)&&fs[a51_0x318921(0x1b5)](filePath);}}catch(a51_0x183d1d){logger['debug'](a51_0x318921(0x19b)+a51_0x183d1d[a51_0x318921(0x1e8)]);}process[a51_0x318921(0x1de)][a51_0x318921(0x1cc)](a51_0x318921(0x1a0))&&(!process[a51_0x318921(0x1de)][a51_0x318921(0x1cc)](a51_0x318921(0x1a8))&&process['argv'][a51_0x318921(0x1d8)](a51_0x318921(0x203)),!process[a51_0x318921(0x1de)][a51_0x318921(0x1ff)](_0x1c2433=>_0x1c2433[a51_0x318921(0x1cc)](a51_0x318921(0x202)))&&process[a51_0x318921(0x1de)][a51_0x318921(0x1d8)](a51_0x318921(0x1aa)),!process[a51_0x318921(0x1de)][a51_0x318921(0x1cc)](a51_0x318921(0x1c0))&&process[a51_0x318921(0x1de)][a51_0x318921(0x1d8)](a51_0x318921(0x210)),helper[a51_0x318921(0x20d)](process[a51_0x318921(0x1de)],a51_0x318921(0x207),a51_0x318921(0x18c)));PerformanceTester['start'](PerformanceEvents[a51_0x318921(0x1e5)]);const a51_0x45fe81={};function a51_0x9c42(){const _0x46d978=['integrations','./utils/constants','findAndReplace','mocha/lib/cli/cli.js','SDK_CLEANUP','--no-package','jVQaw','version','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','mocha/lib/cli/commands.js','./integrations/command','dot-notation','8JWvgWx','2045315lBbpjs','LeQaM','--mochaRequire','786fLyYkt','./mocha/command','HMRaW','error','./jest/command','2541833BDmQOw','PLAYWRIGHT','QhlcU','lptbS','../helpers/utilities','EVENTS','nightwatch','cucumber-js','exitCode','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','HltXe','SDKTestSuccessful','eLBtV','soMWR','mocha','slice','./load/index','load\x20[subcommand]','HST','winstonLogger','../helpers/performance/constants','setTestObservabilityDisable','--opts','rcuCq','--no-config','../helpers/BrowserStackSetup','xUcfq','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','describe','command','LiQQJ','env','pMvaL','../helpers/logger','help','unlinkSync','stack','child_process','./codeceptjs/command','gmyWI','mocha/lib/cli/run.js','alias','KKGiY','start','end','assign','--package','KFajd','existsSync','QWpIn','../helpers/performance/performance-tester','Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20','IMqUG','Running\x20SDK\x20with\x20args\x20','join','config','framework','523167TDjojl','includes','vanilla','tanTG','INFO','NmqUm','7642449moDFul','parserConfiguration','1740620ffXktB','handler','setBrowserStackAutomationDisable','codeceptjs','AgSRu','push','node','VANILLA','playwright','Show\x20help','CUCUMBER','argv','wboHj','MOCHA','format','HELP','ats','jest','SDK_SETUP','UjBNB','CdSyY','message','sendLogs','gUPrF','WcKrH','mrxdS','BROWSERSTACK_CONFIG_FILE_PATH','dikLe','getConfigPath','xvlou','NTJKx','../helpers/helper','Veylp','INTEGRATIONS','./cucumber-js/command','CODECEPTJS','run','2830RiFlzP','usage:\x20$0\x20<command>\x20[args]','VERSION','YqliQ','info','226290lUROAe','debug','find','isUndefined','strict','--config','--no-opts','../helpers/test-observability/constants','RNYXc','stop','--require','JEST','option','cKnNX'];a51_0x9c42=function(){return _0x46d978;};return a51_0x9c42();}a51_0x45fe81[a51_0x318921(0x188)]=![];const argv=yargs[a51_0x318921(0x1d2)](a51_0x45fe81)['usage'](a51_0x318921(0x1f9))['alias']('v',a51_0x318921(0x212))[a51_0x318921(0x1ae)]('v')[a51_0x318921(0x1bb)]('h','help')[a51_0x318921(0x1b4)](a51_0x318921(0x1b4))['showHelpOnFail'](!![],Constants[a51_0x318921(0x1fa)][a51_0x318921(0x1e2)])[a51_0x318921(0x1af)]('jest',Constants[a51_0x318921(0x208)][a51_0x318921(0x1cf)],function(_0x271474){const _0x48bea2=a51_0x318921,_0x29ce85={'pMvaL':_0x48bea2(0x1e4),'RNYXc':function(_0x2925d3,_0x15a2fa,_0x388f25,_0x5056f8,_0x18ce8e,_0x502a9d){return _0x2925d3(_0x15a2fa,_0x388f25,_0x5056f8,_0x18ce8e,_0x502a9d);},'qIKni':function(_0x4c1072,_0x2c2642){return _0x4c1072(_0x2c2642);},'rcuCq':_0x48bea2(0x191)},_0x3d398b=process[_0x48bea2(0x1de)][_0x48bea2(0x1a1)](0x2);helper['setTestObservabilityDisable'](),helper[_0x48bea2(0x1d5)](),_0x271474[_0x48bea2(0x201)](![]);const _0x2074a7=new BrowserStackSetup(_0x271474[_0x48bea2(0x1de)],_0x29ce85[_0x48bea2(0x1b2)]);return _0x29ce85[_0x48bea2(0x205)](captureError,_0x29ce85['qIKni'](require,_0x29ce85[_0x48bea2(0x1a9)]),_0x271474[_0x48bea2(0x1de)],_0x2074a7,_0x3d398b,!![]);})['command']('mocha',Constants[a51_0x318921(0x1e0)]['INFO'],_0x4f2fa5=>{const _0x3777c0=a51_0x318921,_0x4fd852={'HltXe':function(_0x2e68bf,_0x43654a,_0x210879,_0x27b58a){return _0x2e68bf(_0x43654a,_0x210879,_0x27b58a);},'UjBNB':function(_0xae697e,_0xe9cf5e){return _0xae697e(_0xe9cf5e);},'zgDCp':_0x3777c0(0x18e),'KKGiY':_0x3777c0(0x1a0),'gUPrF':'Parsing\x20command\x20line\x20arguments','hHVAz':function(_0x23d2bb,_0x4b98a6,_0x19ed13){return _0x23d2bb(_0x4b98a6,_0x19ed13);},'QNHeT':_0x3777c0(0x1ba),'jVQaw':_0x3777c0(0x186),'gQJWm':function(_0x524700,_0x4baf4c,_0x761bcb){return _0x524700(_0x4baf4c,_0x761bcb);},'LeQaM':_0x3777c0(0x20e),'dikLe':function(_0x16397a){return _0x16397a();}};process[_0x3777c0(0x1de)]=process[_0x3777c0(0x1de)][_0x3777c0(0x1a1)](0x1),helper['setTestObservabilityDisable'](),helper[_0x3777c0(0x1d5)]();const _0x4ee6ab=new BrowserStackSetup(_0x4f2fa5['argv'],_0x4fd852['KKGiY']);logger[_0x3777c0(0x1fe)](_0x4fd852[_0x3777c0(0x1ea)]);const _0x2afabe=_0x4fd852['hHVAz'](requireModule,_0x4fd852['QNHeT'],_0x4fd852[_0x3777c0(0x1bc)]),_0x29dccc=_0x4fd852['hHVAz'](requireModule,_0x4fd852[_0x3777c0(0x211)],_0x4fd852[_0x3777c0(0x1bc)]);delete _0x2afabe[_0x3777c0(0x1d4)],_0x2afabe['handler']=function(_0x1d6028){const _0x38f499=_0x3777c0;return _0x4fd852[_0x38f499(0x19c)](captureError,_0x4fd852[_0x38f499(0x1e6)](require,_0x4fd852['zgDCp']),_0x1d6028,_0x4ee6ab);},_0x29dccc[_0x3777c0(0x1f7)]=_0x2afabe;const {main:_0x4dc665}=_0x4fd852['gQJWm'](requireModule,_0x4fd852[_0x3777c0(0x18b)],_0x4fd852[_0x3777c0(0x1bc)]);_0x4fd852[_0x3777c0(0x1ee)](_0x4dc665);})[a51_0x318921(0x1af)](a51_0x318921(0x199),Constants[a51_0x318921(0x1dd)][a51_0x318921(0x1cf)],function(_0x880030){const _0x204017=a51_0x318921,_0x2f1899={'XQIPl':_0x204017(0x199),'NTJKx':function(_0x46ea05,_0x4e10eb,_0x3d610b,_0x3ad333,_0x5c8fb6,_0x176414){return _0x46ea05(_0x4e10eb,_0x3d610b,_0x3ad333,_0x5c8fb6,_0x176414);},'WkBXE':function(_0x49b220,_0x4470b6){return _0x49b220(_0x4470b6);},'Veylp':_0x204017(0x1f5)},_0x4b72e5=process[_0x204017(0x1de)][_0x204017(0x1a1)](0x2),_0x359cfc=new BrowserStackSetup(_0x880030[_0x204017(0x1de)],_0x2f1899['XQIPl']);return _0x2f1899[_0x204017(0x1f1)](captureError,_0x2f1899['WkBXE'](require,_0x2f1899[_0x204017(0x1f3)]),_0x880030[_0x204017(0x1de)],_0x359cfc,_0x4b72e5,!![]);})[a51_0x318921(0x1af)](a51_0x318921(0x1d9),Constants[a51_0x318921(0x1da)][a51_0x318921(0x1cf)],function(_0x27aca4){const _0x577d86=a51_0x318921,_0x3b1c7a={'tanTG':_0x577d86(0x1cd),'soMWR':function(_0x304589,_0x4350df,_0x118776,_0x179310,_0x2f93be){return _0x304589(_0x4350df,_0x118776,_0x179310,_0x2f93be);},'kDSpT':function(_0x4842e6,_0x42e2b8){return _0x4842e6(_0x42e2b8);},'mrxdS':'./vanilla-js/command'},_0x1a28c5=process[_0x577d86(0x1de)][_0x577d86(0x1a1)](0x2),_0x20032c=new BrowserStackSetup(_0x27aca4[_0x577d86(0x1de)],_0x3b1c7a[_0x577d86(0x1ce)]);return _0x3b1c7a[_0x577d86(0x19f)](captureError,_0x3b1c7a['kDSpT'](require,_0x3b1c7a[_0x577d86(0x1ec)]),_0x27aca4[_0x577d86(0x1de)],_0x20032c,_0x1a28c5);})['command'](a51_0x318921(0x198),Constants['NIGHTWATCH']['INFO'],function(_0x52f7a2){const _0x394dc1=a51_0x318921,_0x1a2b92={'gmyWI':function(_0x3c20ac,_0x285479,_0x67dbd5,_0x35b2ad,_0x1e5a3e){return _0x3c20ac(_0x285479,_0x67dbd5,_0x35b2ad,_0x1e5a3e);},'AgSRu':function(_0x46627b,_0xcf4926){return _0x46627b(_0xcf4926);},'YqliQ':'./nightwatch/command'},_0x2c9b52=process[_0x394dc1(0x1de)][_0x394dc1(0x1a1)](0x2),_0xb42c9d=new BrowserStackSetup(_0x52f7a2[_0x394dc1(0x1de)]);return _0x1a2b92[_0x394dc1(0x1b9)](captureError,_0x1a2b92[_0x394dc1(0x1d7)](require,_0x1a2b92[_0x394dc1(0x1fb)]),_0x52f7a2['argv'],_0xb42c9d,_0x2c9b52);})[a51_0x318921(0x1af)](a51_0x318921(0x1d6),Constants[a51_0x318921(0x1f6)][a51_0x318921(0x1cf)],function(_0x20fa22){const _0x5525db=a51_0x318921,_0x1c2db3={'lptbS':_0x5525db(0x1d6),'KFajd':function(_0x1422d3,_0x41e477,_0x304f2b,_0x4d968d,_0x1e63b7){return _0x1422d3(_0x41e477,_0x304f2b,_0x4d968d,_0x1e63b7);},'HMRaW':function(_0x55b6f2,_0x1f4baf){return _0x55b6f2(_0x1f4baf);},'LiQQJ':_0x5525db(0x1b8)},_0xa53d84=process['argv'][_0x5525db(0x1a1)](0x2),_0x2a1e8e=new BrowserStackSetup(_0x20fa22[_0x5525db(0x1de)],_0x1c2db3[_0x5525db(0x195)]);return _0x1c2db3[_0x5525db(0x1c1)](captureError,_0x1c2db3[_0x5525db(0x18f)](require,_0x1c2db3[_0x5525db(0x1b0)]),_0x20fa22[_0x5525db(0x1de)],_0x2a1e8e,_0xa53d84);})[a51_0x318921(0x1af)](a51_0x318921(0x1e3),Constants[a51_0x318921(0x1a4)]['INFO'],function(_0x533f2c){const _0x3d46e5=a51_0x318921,_0x1e0720={'YLTzS':function(_0x2821b0,_0x378bad,_0x41629c){return _0x2821b0(_0x378bad,_0x41629c);},'xUcfq':function(_0xdd02d0,_0x4408d2){return _0xdd02d0(_0x4408d2);},'QhlcU':'../../ats/src/index'},_0x32c822=process['argv'][_0x3d46e5(0x1a1)](0x2);return _0x1e0720['YLTzS'](captureError,_0x1e0720[_0x3d46e5(0x1ac)](require,_0x1e0720[_0x3d46e5(0x194)]),_0x533f2c);})[a51_0x318921(0x1af)](a51_0x318921(0x20b),Constants[a51_0x318921(0x1f4)]['INFO'],function(_0x475bab){const _0x10c19d=a51_0x318921,_0x17559f={'IMqUG':function(_0x41f739,_0x55474e){return _0x41f739(_0x55474e);}};return _0x17559f[_0x10c19d(0x1c6)](runIntegrations,_0x475bab);})['command'](a51_0x318921(0x1db),Constants[a51_0x318921(0x193)][a51_0x318921(0x1cf)],function(_0xbc44c0){const _0x1b0a70=a51_0x318921,_0x21f4a1={'wboHj':function(_0x30f8a3,_0x35aac9,_0x5de1e8,_0xe0459d,_0x23ba67,_0x444964){return _0x30f8a3(_0x35aac9,_0x5de1e8,_0xe0459d,_0x23ba67,_0x444964);},'cKnNX':function(_0x22c2b6,_0x2758ca){return _0x22c2b6(_0x2758ca);},'WcKrH':'./playwright/command'},_0x8c06cd=process[_0x1b0a70(0x1de)][_0x1b0a70(0x1a1)](0x2);helper[_0x1b0a70(0x1ef)](process['argv'])&&(process[_0x1b0a70(0x1b1)][_0x1b0a70(0x1ed)]=helper[_0x1b0a70(0x1ef)](process['argv']));helper[_0x1b0a70(0x1a7)](),helper['setBrowserStackAutomationDisable']();const _0x24309d=new BrowserStackSetup(_0xbc44c0[_0x1b0a70(0x1de)],FRAMEWORKS[_0x1b0a70(0x193)]);return _0x21f4a1[_0x1b0a70(0x1df)](captureError,_0x21f4a1[_0x1b0a70(0x20a)](require,_0x21f4a1[_0x1b0a70(0x1eb)]),_0xbc44c0[_0x1b0a70(0x1de)],_0x24309d,_0x8c06cd,!![]);})[a51_0x318921(0x1af)](a51_0x318921(0x1a3),'Runs\x20the\x20binary\x20with\x20load\x20command',function(_0x2f9f28){const _0x565eb3=a51_0x318921,_0xa0950c={};_0xa0950c[_0x565eb3(0x1f0)]='help',_0xa0950c['NmqUm']='boolean',_0xa0950c['Sphdl']=_0x565eb3(0x1dc);const _0x348438=_0xa0950c;return _0x2f9f28[_0x565eb3(0x1b4)](![])[_0x565eb3(0x209)](_0x348438[_0x565eb3(0x1f0)],{'alias':'h','type':_0x348438[_0x565eb3(0x1d0)],'describe':_0x348438['Sphdl']})['strict'](![])['exitProcess'](![]);},function(_0x4fb352){const _0x26d026=a51_0x318921,_0x4757e8={'eLBtV':function(_0x97960a,_0x259f3a,_0x1ef5b8){return _0x97960a(_0x259f3a,_0x1ef5b8);},'CdSyY':function(_0x407435,_0x292600){return _0x407435(_0x292600);},'ggafX':_0x26d026(0x1a2)},_0x33ae99={};return _0x33ae99[_0x26d026(0x1de)]=_0x4fb352,_0x4757e8[_0x26d026(0x19e)](captureError,_0x4757e8[_0x26d026(0x1e7)](require,_0x4757e8['ggafX']),_0x33ae99);})['demandCommand'](0x1,a51_0x318921(0x213))['wrap'](null)[a51_0x318921(0x1de)];!helper[a51_0x318921(0x200)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a51_0x318921(0x1e3)&&console[a51_0x318921(0x190)]('Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.');
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_0x1ff513=a52_0x4cb3;(function(_0x4ce1a0,_0x23ed58){const _0xc427f5=a52_0x4cb3,_0x544f44=_0x4ce1a0();while(!![]){try{const _0x10b2f8=-parseInt(_0xc427f5(0x19f))/0x1+parseInt(_0xc427f5(0x1a0))/0x2*(-parseInt(_0xc427f5(0x198))/0x3)+parseInt(_0xc427f5(0x160))/0x4+parseInt(_0xc427f5(0x196))/0x5+-parseInt(_0xc427f5(0x18b))/0x6+parseInt(_0xc427f5(0x197))/0x7+parseInt(_0xc427f5(0x164))/0x8;if(_0x10b2f8===_0x23ed58)break;else _0x544f44['push'](_0x544f44['shift']());}catch(_0x144cf8){_0x544f44['push'](_0x544f44['shift']());}}}(a52_0x4161,0x37db1));const fs=require('fs'),helper=require(a52_0x1ff513(0x181)),utilities=require(a52_0x1ff513(0x18c)),yaml=require(a52_0x1ff513(0x18f)),yargs=require(a52_0x1ff513(0x18a)),logger=require(a52_0x1ff513(0x1a2))[a52_0x1ff513(0x168)],configFileTemplate=__dirname+'/../../browserstack.yml.sample',configFileTemplatePW=__dirname+a52_0x1ff513(0x19c),configFile=process[a52_0x1ff513(0x191)]()+'/browserstack.yml',packageFile=process[a52_0x1ff513(0x191)]()+a52_0x1ff513(0x167),frameworks=[a52_0x1ff513(0x18e),a52_0x1ff513(0x179),'cucumber-js',a52_0x1ff513(0x16a),'nightwatch',a52_0x1ff513(0x19b),a52_0x1ff513(0x195)];let config;logger[a52_0x1ff513(0x1a1)](a52_0x1ff513(0x189)),createConfigurationFile(yargs['argv']['username'],yargs[a52_0x1ff513(0x190)][a52_0x1ff513(0x16b)],yargs[a52_0x1ff513(0x190)][a52_0x1ff513(0x195)]);try{sdkSetup();}catch(a52_0x417633){logger[a52_0x1ff513(0x16d)](a52_0x1ff513(0x1a3)+a52_0x417633);}addScriptInPackageJson();function a52_0x4cb3(_0xea1333,_0x2c1232){const _0x4161f=a52_0x4161();return a52_0x4cb3=function(_0x4cb39f,_0x43bc2a){_0x4cb39f=_0x4cb39f-0x15f;let _0xed785d=_0x4161f[_0x4cb39f];return _0xed785d;},a52_0x4cb3(_0xea1333,_0x2c1232);}function createConfigurationFile(_0x2247ac,_0x5429f1,_0x5b2035=![]){const _0x174a0d=a52_0x1ff513,_0x133464={};_0x133464[_0x174a0d(0x19d)]=_0x174a0d(0x17f),_0x133464[_0x174a0d(0x174)]=_0x174a0d(0x180),_0x133464[_0x174a0d(0x183)]=_0x174a0d(0x15f);const _0x253387=_0x133464;try{let _0x2926d6=fs['readFileSync'](_0x5b2035?configFileTemplatePW:configFileTemplate,_0x253387[_0x174a0d(0x19d)]);_0x2247ac&&(_0x2926d6=_0x2926d6[_0x174a0d(0x192)](_0x253387[_0x174a0d(0x174)],_0x2247ac)),_0x5429f1&&(_0x2926d6=_0x2926d6['replace'](_0x253387[_0x174a0d(0x183)],_0x5429f1)),config=yaml[_0x174a0d(0x184)](_0x2926d6),fs[_0x174a0d(0x178)](configFile,_0x2926d6,_0x2c8611=>{const _0xb0efca=_0x174a0d;_0x2c8611&&logger[_0xb0efca(0x175)](_0x2c8611);});}catch(_0x6a8e1d){logger[_0x174a0d(0x175)](_0x6a8e1d);}}function a52_0x4161(){const _0x5b5288=['93xRDmbU','splice','Lmnda','codeceptjs','/../../browserstack.pw.yml.sample','DyvSY','LkGwR','85004qbkIYv','20286hatKUc','info','../helpers/logger','Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20','XLrck','stringify','split','length','-browserstack','ewPsD','YOUR_ACCESS_KEY','1378576btGVQK','eJBDz','source','readFileSync','3296648XGHGxA','zLwMq','LGPtM','/package.json','winstonLogger','EtvRB','node','key','isUndefined','debug','SDKSetup','indexOf','vnkdp','npm\x20update\x20browserstack-node-sdk','fireFunnelTestEvent','Setup\x20completed','aTrTj','error','browserstack-node-sdk\x20','scripts','writeFileSync','jest','SvMCr','join','psOnJ','euNCU','ResgE','utf8','YOUR_USERNAME','../helpers/helper','WwlAC','tnwHc','load','browserstack-node-sdk','push','vmgJd','oKaMK','Creating\x20configuration\x20file...','yargs','2157210MhXNuH','../helpers/utilities','includes','mocha','js-yaml','argv','cwd','replace','Adding\x20new\x20script(s)\x20in\x20package.json...','entries','playwright','568815JnRbWY','820883DIXBJR'];a52_0x4161=function(){return _0x5b5288;};return a52_0x4161();}function addPostInstallScript(_0x2b8b5c,_0x40b6fd){const _0x3baa9f=a52_0x1ff513,_0x2cd51f={};_0x2cd51f['XLrck']='postinstall',_0x2cd51f[_0x3baa9f(0x187)]=_0x3baa9f(0x171),_0x2cd51f[_0x3baa9f(0x17e)]='\x20&&\x20npm\x20update\x20browserstack-node-sdk';const _0x57a309=_0x2cd51f;let _0x251770=_0x2b8b5c[_0x57a309[_0x3baa9f(0x1a4)]];if(_0x251770&&_0x251770[_0x3baa9f(0x18d)](_0x57a309[_0x3baa9f(0x187)]))return;!_0x251770?_0x251770=_0x57a309[_0x3baa9f(0x187)]:_0x251770+=_0x57a309[_0x3baa9f(0x17e)],_0x40b6fd['push']([_0x57a309[_0x3baa9f(0x1a4)],_0x251770]);}function addScriptInPackageJson(){const _0x568ab0=a52_0x1ff513,_0x11f720={'EtvRB':_0x568ab0(0x17f),'oKaMK':function(_0x15043d,_0x155559){return _0x15043d<_0x155559;},'LkGwR':function(_0x1b36cc,_0x151d80,_0x5a548c){return _0x1b36cc(_0x151d80,_0x5a548c);},'Lmnda':function(_0x536dea,_0x5edbd8){return _0x536dea<_0x5edbd8;},'LGPtM':function(_0x515886,_0x35bad1){return _0x515886!==_0x35bad1;},'zLwMq':_0x568ab0(0x193)},_0x411572=JSON['parse'](fs[_0x568ab0(0x163)](packageFile,_0x11f720[_0x568ab0(0x169)])),_0x3b4cfa=[];for(let _0x1f3308=0x0;_0x11f720[_0x568ab0(0x188)](_0x1f3308,frameworks[_0x568ab0(0x1a7)]);_0x1f3308+=0x1){const _0x19ca93=_0x11f720['LkGwR'](findScriptsWithFramework,_0x411572[_0x568ab0(0x177)],frameworks[_0x1f3308]);for(let _0x204cf8=0x0;_0x11f720[_0x568ab0(0x19a)](_0x204cf8,_0x19ca93['length']);_0x204cf8+=0x1){_0x3b4cfa[_0x568ab0(0x186)](_0x11f720['LkGwR'](getUpdatedCommand,_0x411572[_0x568ab0(0x177)],_0x19ca93[_0x204cf8]));}_0x11f720[_0x568ab0(0x19e)](addPostInstallScript,_0x411572[_0x568ab0(0x177)],_0x3b4cfa);}const _0x5b0585={..._0x411572[_0x568ab0(0x177)]},_0x292829=_0x5b0585;for(let _0x3775ed=0x0;_0x11f720[_0x568ab0(0x188)](_0x3775ed,_0x3b4cfa[_0x568ab0(0x1a7)]);_0x3775ed+=0x1){_0x292829[_0x3b4cfa[_0x3775ed][0x0]]=_0x3b4cfa[_0x3775ed][0x1];}_0x11f720[_0x568ab0(0x166)](JSON[_0x568ab0(0x1a5)](_0x411572[_0x568ab0(0x177)]),JSON[_0x568ab0(0x1a5)](_0x292829))&&(logger[_0x568ab0(0x1a1)](_0x11f720[_0x568ab0(0x165)]),_0x411572[_0x568ab0(0x177)]=_0x292829,fs['writeFileSync'](packageFile,JSON[_0x568ab0(0x1a5)](_0x411572,null,0x2),_0x1f6fb4=>{_0x1f6fb4&&logger['error'](_0x1f6fb4);}));};function findScriptsWithFramework(_0x68159f,_0x427045){const _0x4616ff=a52_0x1ff513,_0xd607e2={};_0xd607e2[_0x4616ff(0x17a)]=function(_0x53d459,_0x35fee6){return _0x53d459<_0x35fee6;},_0xd607e2['ewPsD']=_0x4616ff(0x185);const _0x3ba469=_0xd607e2,_0x46a331=[],_0x119695=Object[_0x4616ff(0x194)](_0x68159f);for(let _0x335178=0x0;_0x3ba469[_0x4616ff(0x17a)](_0x335178,_0x119695['length']);_0x335178+=0x1){_0x119695[_0x335178][0x1][_0x4616ff(0x18d)](_0x427045)&&!_0x119695[_0x335178][0x1][_0x4616ff(0x18d)](_0x3ba469[_0x4616ff(0x1a9)])&&_0x46a331[_0x4616ff(0x186)](_0x119695[_0x335178][0x0]);}return _0x46a331;}function getUpdatedCommand(_0x384a31,_0x291d0c){const _0x199a74=a52_0x1ff513,_0x1d252d={};_0x1d252d[_0x199a74(0x170)]=function(_0x5917d1,_0x4f4450){return _0x5917d1!==_0x4f4450;},_0x1d252d[_0x199a74(0x17c)]=_0x199a74(0x185),_0x1d252d[_0x199a74(0x161)]=function(_0x18d0cf,_0x257fd0){return _0x18d0cf===_0x257fd0;};const _0x486ddb=_0x1d252d,_0x453e67=_0x291d0c+_0x199a74(0x1a8),_0x2cae62=_0x384a31[_0x291d0c],_0x447970=_0x2cae62[_0x199a74(0x1a6)]('\x20');for(const _0x5a6560 of frameworks){if(_0x486ddb[_0x199a74(0x170)](_0x447970[_0x199a74(0x16f)](_0x5a6560),-0x1)){_0x447970[_0x199a74(0x199)](_0x447970[_0x199a74(0x16f)](_0x5a6560),0x0,_0x486ddb[_0x199a74(0x17c)]);break;}}let _0x51b6d6=_0x447970[_0x199a74(0x17b)]('\x20');return _0x486ddb[_0x199a74(0x161)](_0x51b6d6,_0x2cae62)&&(_0x51b6d6=_0x199a74(0x176)+_0x2cae62),[_0x453e67,_0x51b6d6];}function sdkSetup(){const _0x24bb51=a52_0x1ff513,_0x4e121c={};_0x4e121c[_0x24bb51(0x17d)]='node-setup',_0x4e121c[_0x24bb51(0x182)]=_0x24bb51(0x16e);const _0x3135b6=_0x4e121c;if(helper[_0x24bb51(0x16c)](config))return;config[_0x24bb51(0x162)]=_0x3135b6[_0x24bb51(0x17d)];try{utilities[_0x24bb51(0x172)](_0x3135b6[_0x24bb51(0x182)],{},config,'');}catch(_0xf8b748){logger[_0x24bb51(0x16d)](_0x24bb51(0x1a3)+_0xf8b748);}}logger[a52_0x1ff513(0x1a1)](a52_0x1ff513(0x173));
@@ -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
+ const a53_0x51cc23=a53_0x4168;(function(_0x455701,_0x32ad3f){const _0x1038e2=a53_0x4168,_0x3d60d5=_0x455701();while(!![]){try{const _0x465c86=parseInt(_0x1038e2(0x18e))/0x1*(-parseInt(_0x1038e2(0x1b6))/0x2)+parseInt(_0x1038e2(0x1cb))/0x3*(parseInt(_0x1038e2(0x1af))/0x4)+-parseInt(_0x1038e2(0x19c))/0x5*(-parseInt(_0x1038e2(0x1d3))/0x6)+-parseInt(_0x1038e2(0x1de))/0x7*(parseInt(_0x1038e2(0x1d2))/0x8)+-parseInt(_0x1038e2(0x1c5))/0x9+parseInt(_0x1038e2(0x1a2))/0xa+parseInt(_0x1038e2(0x1ae))/0xb*(-parseInt(_0x1038e2(0x190))/0xc);if(_0x465c86===_0x32ad3f)break;else _0x3d60d5['push'](_0x3d60d5['shift']());}catch(_0x436290){_0x3d60d5['push'](_0x3d60d5['shift']());}}}(a53_0x1208,0x27614));function a53_0x4168(_0x21d199,_0x545e89){const _0x120808=a53_0x1208();return a53_0x4168=function(_0x41683e,_0x1456d5){_0x41683e=_0x41683e-0x187;let _0xdfb8f0=_0x120808[_0x41683e];return _0xdfb8f0;},a53_0x4168(_0x21d199,_0x545e89);}function a53_0x1208(){const _0x50a907=['ABYgW','55797QNnaeU','platformCaps','util','mNscf','config','exitCode','./testWorker.js','length','test-file-success','results','stdout','jest-worker','WWflN','stderr','EFeNy','KCyOB','frYhI','jdeOr','4053YjZrrt','MNUZJ','348WdHMkt','pipe','EfCNt','log','parallelCucumberRun','\x20for','RrTYe','fTQkc','debug','vanillaWorker','resolve','platform','335YkJobm','bTamp','worker_threads','platform-run-success','hVCgY','end','2348440XWjUIs','cucumberWorker','../../helpers/logger','postMessage','QqUBQ','IobbL','platforms','Workers\x20failed\x20to\x20exit\x20gracefully','_workerPool','waitForExit','configuration','../../helpers/test-observability/utils','61413SHfOJN','5248lHfWZn','map','ojsna','parallelVanillaRun','p-limit','wJMAR','XigoM','42cAPvjj','getStderr','format','Running\x20','UNSTABLE_onCustomMessage','SDK_SETUP','platform-run-failure','getWorkers','RkpVJ','json','winstonLogger','icgHF','TFFHt','getStdout','error','35694uAryIa','push','then','info','vrrVp','qtZDX','402jMiFpZ','file','emit','../../helpers/testhub/testhubHandler','exit','Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20','test-file-start','104CFqxZG','9426MGRmFD','aZyGe','_child','test-file-failure','worker','HxgGG','send','hQHwc','all','Rexdc'];a53_0x1208=function(){return _0x50a907;};return a53_0x1208();}const Worker=require(a53_0x51cc23(0x187))['Worker'],Emittery=require('emittery'),pLimit=require(a53_0x51cc23(0x1b3)),{parentPort}=require(a53_0x51cc23(0x19e)),util=require(a53_0x51cc23(0x1e0)),logger=require(a53_0x51cc23(0x1a4))[a53_0x51cc23(0x1c0)],PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require('../../helpers/performance/constants')['EVENTS'],{debug}=require(a53_0x51cc23(0x1ad)),TestHubHandler=require(a53_0x51cc23(0x1ce));exports['parallelTestRun']=(_0x449db7,_0x42ff51,_0x45ecfd)=>new Promise(async _0x31ee0b=>{const _0x2e7fda=a53_0x51cc23,_0x49d95c={'TFFHt':'failureCount','EfCNt':function(_0x222014,_0x12b7f4){return _0x222014+_0x12b7f4;},'WWflN':_0x2e7fda(0x1e7),'ABYgW':_0x2e7fda(0x1a9),'mNscf':function(_0x400ff2,_0x3811fe){return _0x400ff2(_0x3811fe);},'PSfky':_0x2e7fda(0x1d1),'aZyGe':'./testWorker.js','MNUZJ':_0x2e7fda(0x1d7),'tfwUR':_0x2e7fda(0x1bf),'vrrVp':_0x2e7fda(0x191),'dShsU':function(_0x4fdcb7,_0x4d833b){return _0x4fdcb7*_0x4d833b;},'fTQkc':'test-file-success','EFeNy':_0x2e7fda(0x1d6),'hVCgY':function(_0x4485e9,_0x2ff2ae){return _0x4485e9*_0x2ff2ae;}},_0xd94165=_0x45ecfd[_0x2e7fda(0x1e2)],_0x5cb87b={},_0x2971f5=new Worker(require[_0x2e7fda(0x19a)](_0x49d95c[_0x2e7fda(0x1d4)]),{'exposedMethods':[_0x49d95c[_0x2e7fda(0x18f)]],'forkOptions':{'serialization':_0x49d95c['tfwUR'],'stdio':_0x49d95c[_0x2e7fda(0x1c9)]},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0x49d95c['dShsU'](_0x42ff51,0x1),'enableWorkerThreads':!![]}),_0x43aeed=new Emittery();_0x43aeed['on'](_0x49d95c[_0x2e7fda(0x197)],_0x320d5f=>{const _0xc3f862=_0x2e7fda;_0x5cb87b[_0x320d5f[0x0]]?(_0x5cb87b[_0x320d5f[0x0]][_0x49d95c['TFFHt']]=_0x49d95c[_0xc3f862(0x192)](_0x5cb87b[_0x320d5f[0x0]][_0x49d95c['TFFHt']],_0x320d5f[0x1][_0x49d95c[_0xc3f862(0x1c2)]]),_0x5cb87b[_0x320d5f[0x0]][_0x49d95c[_0xc3f862(0x188)]]=[..._0x5cb87b[_0x320d5f[0x0]][_0x49d95c[_0xc3f862(0x188)]],..._0x320d5f[0x1][_0x49d95c['WWflN']]]):_0x5cb87b[_0x320d5f[0x0]]={'failureCount':_0x320d5f[0x1][_0x49d95c[_0xc3f862(0x1c2)]],'results':[..._0x320d5f[0x1][_0x49d95c['WWflN']]]};}),_0x43aeed['on'](_0x49d95c[_0x2e7fda(0x18a)],_0x4b84c9=>console[_0x2e7fda(0x193)](_0x4b84c9[0x1]));_0x2971f5[_0x2e7fda(0x1c3)]()&&_0x2971f5['getStdout']()[_0x2e7fda(0x191)](process[_0x2e7fda(0x1e8)]);_0x2971f5[_0x2e7fda(0x1b7)]()&&_0x2971f5[_0x2e7fda(0x1b7)]()['pipe'](process[_0x2e7fda(0x189)]);const _0x34366d=async()=>{const _0x50f403=_0x2e7fda,{forceExited:_0x20c9ec}=await _0x2971f5[_0x50f403(0x1a1)]();_0x20c9ec&&console['error'](_0x49d95c[_0x50f403(0x1dd)]);try{await TestHubHandler['stop']();}catch(_0x743465){_0x49d95c[_0x50f403(0x1e1)](debug,_0x50f403(0x1d0)+_0x743465);}_0x49d95c['mNscf'](_0x31ee0b,_0x5cb87b);},_0x24c19b=_0x49d95c[_0x2e7fda(0x1e1)](pLimit,_0x49d95c[_0x2e7fda(0x1a0)](_0x42ff51,0x1)),_0x1cf5b1=_0x294513=>_0x24c19b(async()=>{const _0x5dd5fb=_0x2e7fda;await _0x43aeed[_0x5dd5fb(0x1cd)](_0x49d95c['PSfky'],_0x294513);const _0x552104=_0x2971f5[_0x5dd5fb(0x1d7)](_0x294513,_0xd94165);try{parentPort&&_0x552104[_0x5dd5fb(0x1ba)](_0xfa9a25=>{const _0xd6b971=_0x5dd5fb;try{parentPort[_0xd6b971(0x1a5)](_0xfa9a25);}catch(_0xdedf9f){logger[_0xd6b971(0x198)]('Exception\x20in\x20sending\x20worker\x20message\x20'+util[_0xd6b971(0x1b8)](_0xdedf9f));}});}catch(_0x33d881){logger[_0x5dd5fb(0x198)]('Exception\x20in\x20adding\x20custom\x20message\x20channel\x20'+util[_0x5dd5fb(0x1b8)](_0x33d881));}return _0x552104;});PerformanceTester[_0x2e7fda(0x1a1)](PerformanceEvents[_0x2e7fda(0x1bb)]),Promise['all'](_0x449db7[_0x2e7fda(0x1b0)](_0x3b871c=>_0x1cf5b1(_0x3b871c)['then'](_0x930247=>_0x43aeed[_0x2e7fda(0x1cd)](_0x2e7fda(0x1e6),[_0x3b871c['configuration']['platform'],_0x930247]),_0x304e37=>_0x43aeed[_0x2e7fda(0x1cd)](_0x2e7fda(0x1d6),[_0x3b871c,_0x304e37]))))['then'](_0x34366d,_0x34366d);}),exports[a53_0x51cc23(0x194)]=(_0x1156b9,_0x2d463f,_0x1cfafb,_0x1add16,_0x4f27a7)=>{const _0x582a35=a53_0x51cc23,_0x2f1799={'RrTYe':'Workers\x20failed\x20to\x20exit\x20gracefully','RkpVJ':function(_0xd305b1,_0x4527ca){return _0xd305b1(_0x4527ca);},'Rexdc':'platform-run-start','FAWJo':_0x582a35(0x1e4),'IobbL':_0x582a35(0x1a3),'Lgltn':_0x582a35(0x1bf),'frYhI':_0x582a35(0x191),'wJMAR':'platform-run-success','KCyOB':_0x582a35(0x1bc)};return new Promise(_0x214554=>{const _0x16aa44=_0x582a35,_0x157d0d={};_0x157d0d['HxgGG']=_0x2f1799[_0x16aa44(0x1dc)];const _0x35d380=_0x157d0d,_0x3c65d9=[],_0x1b3bef=new Worker(require[_0x16aa44(0x19a)](_0x2f1799['FAWJo']),{'exposedMethods':[_0x2f1799[_0x16aa44(0x1a7)]],'forkOptions':{'serialization':_0x2f1799['Lgltn'],'stdio':_0x2f1799[_0x16aa44(0x18c)]},'numWorkers':_0x1156b9[_0x16aa44(0x1e5)]||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0x20f4e7=new Emittery();_0x20f4e7['on'](_0x2f1799[_0x16aa44(0x1b4)],_0x5330a4=>{const _0x30dc41=_0x16aa44;_0x3c65d9[_0x30dc41(0x1c6)]([_0x5330a4[0x0],_0x5330a4[0x1]]);}),_0x20f4e7['on'](_0x2f1799[_0x16aa44(0x18b)],_0x528df0=>console[_0x16aa44(0x193)](_0x528df0[0x1]));_0x1b3bef[_0x16aa44(0x1c3)]()&&_0x1b3bef[_0x16aa44(0x1c3)]()[_0x16aa44(0x191)](process[_0x16aa44(0x1e8)]);_0x1b3bef[_0x16aa44(0x1b7)]()&&_0x1b3bef[_0x16aa44(0x1b7)]()[_0x16aa44(0x191)](process[_0x16aa44(0x189)]);const _0x577df3=async()=>{const _0x58e3b2=_0x16aa44,{forceExited:_0x3ed20f}=await _0x1b3bef[_0x58e3b2(0x1a1)]();_0x3ed20f&&console[_0x58e3b2(0x1c4)](_0x2f1799[_0x58e3b2(0x196)]),_0x2f1799[_0x58e3b2(0x1be)](_0x214554,_0x3c65d9);},_0x23ebed=_0x2f1799[_0x16aa44(0x1be)](pLimit,_0x1156b9[_0x16aa44(0x1e5)]||0x1),_0x4d2780=(_0x3d3188,_0x584202)=>_0x23ebed(async()=>{const _0x8bc391=_0x16aa44;return await _0x20f4e7[_0x8bc391(0x1cd)](_0x35d380[_0x8bc391(0x1d8)],_0x3d3188),_0x2d463f[_0x8bc391(0x1df)]=_0x1cfafb[_0x8bc391(0x1a8)][_0x584202],_0x2d463f['platformIndex']=_0x584202,_0x1b3bef[_0x8bc391(0x1a3)](_0x3d3188,_0x2d463f,_0x1cfafb,_0x1add16,_0x4f27a7);});Promise['all'](_0x1156b9[_0x16aa44(0x1b0)]((_0x337da2,_0xa975c7)=>_0x4d2780(_0x337da2,_0xa975c7)['then'](_0x4aa1dc=>_0x20f4e7[_0x16aa44(0x1cd)](_0x16aa44(0x19f),[_0x337da2,_0x4aa1dc]),_0x1cc87f=>_0x20f4e7['emit'](_0x16aa44(0x1bc),[_0x337da2,_0x1cc87f]))))[_0x16aa44(0x1c7)](_0x577df3,_0x577df3);});},exports[a53_0x51cc23(0x1b2)]=(_0x2587ab,_0x48823e)=>new Promise(_0x41063f=>{const _0x3841e=a53_0x51cc23,_0x184ec7={'bykHN':_0x3841e(0x1cf),'icgHF':function(_0x541ba1,_0x429b01){return _0x541ba1===_0x429b01;},'QqUBQ':function(_0x5d922c,_0x50edee){return _0x5d922c!==_0x50edee;},'kMFXS':_0x3841e(0x1a9),'qtZDX':function(_0x575803,_0x50889e){return _0x575803(_0x50889e);},'bTamp':_0x3841e(0x1e4),'ojsna':'vanillaWorker','hQHwc':_0x3841e(0x1bf),'QNUZv':_0x3841e(0x191),'jdeOr':_0x3841e(0x1e6),'XigoM':'test-file-failure'},_0x1ff1b9={},_0x24025a=new Worker(require[_0x3841e(0x19a)](_0x184ec7[_0x3841e(0x19d)]),{'exposedMethods':[_0x184ec7[_0x3841e(0x1b1)]],'forkOptions':{'serialization':_0x184ec7[_0x3841e(0x1da)],'stdio':_0x184ec7['QNUZv']},'numWorkers':_0x48823e,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0x28a815=new Emittery();_0x28a815['on'](_0x184ec7[_0x3841e(0x18d)],_0x307cf5=>{const _0x38c307=_0x3841e;_0x307cf5[0x0]&&logger[_0x38c307(0x1c8)](_0x38c307(0x1b9)+_0x307cf5[0x1]+_0x38c307(0x195),_0x307cf5[0x0]);}),_0x28a815['on'](_0x184ec7[_0x3841e(0x1b5)],_0x3dde70=>{const _0x194c3d=_0x3841e;process[_0x194c3d(0x1e3)]=0x1;});_0x24025a[_0x3841e(0x1c3)]()&&_0x24025a[_0x3841e(0x1c3)]()['pipe'](process[_0x3841e(0x1e8)]);_0x24025a[_0x3841e(0x1b7)]()&&_0x24025a[_0x3841e(0x1b7)]()[_0x3841e(0x191)](process['stderr']);const _0x5f3b15=async()=>{const _0x6a9575=_0x3841e,_0x3c9c28={'dVTqX':function(_0x599a4f,_0x22f5b7){const _0x50ea72=a53_0x4168;return _0x184ec7[_0x50ea72(0x1c1)](_0x599a4f,_0x22f5b7);},'rKroE':function(_0x2c4339,_0x5ae396){const _0x23ffcf=a53_0x4168;return _0x184ec7[_0x23ffcf(0x1a6)](_0x2c4339,_0x5ae396);}};let _0x5b82be=0x0;const _0x266283=_0x24025a[_0x6a9575(0x1aa)][_0x6a9575(0x1bd)](),_0x581fdf=()=>{},_0x178f1b=_0x266283['map'](async _0x5968fe=>{const _0x5867a4=_0x6a9575;_0x5968fe[_0x5867a4(0x1d9)]([0x2,![]],_0x581fdf,_0x581fdf,_0x581fdf),_0x5968fe[_0x5867a4(0x1d5)]['on'](_0x184ec7['bykHN'],_0x40f04=>{_0x3c9c28['dVTqX'](_0x5b82be,0x0)&&_0x3c9c28['rKroE'](_0x40f04,0x0)&&(_0x5b82be=_0x40f04);}),await _0x5968fe[_0x5867a4(0x1ab)]();});await Promise['all'](_0x178f1b),process['exitCode']=_0x5b82be;const {forceExited:_0x8d7a66}=await _0x24025a[_0x6a9575(0x1a1)]();_0x8d7a66&&console[_0x6a9575(0x1c4)](_0x184ec7['kMFXS']),_0x184ec7['qtZDX'](_0x41063f,_0x1ff1b9);},_0x8ec71f=_0x184ec7[_0x3841e(0x1ca)](pLimit,_0x48823e),_0x26a8b4=_0xabffad=>_0x8ec71f(async()=>{const _0x21d2ab=_0x3841e;return _0x24025a[_0x21d2ab(0x199)](_0xabffad);});Promise[_0x3841e(0x1db)](_0x2587ab[_0x3841e(0x1b0)](_0x32d115=>_0x26a8b4(_0x32d115)[_0x3841e(0x1c7)](_0x4056cd=>_0x28a815[_0x3841e(0x1cd)](_0x3841e(0x1e6),[_0x32d115[_0x3841e(0x1ac)][_0x3841e(0x19b)],_0x32d115[_0x3841e(0x1ac)][_0x3841e(0x1cc)]]),_0x36edbf=>_0x28a815[_0x3841e(0x1cd)](_0x3841e(0x1d6),[_0x32d115,_0x36edbf]))))[_0x3841e(0x1c7)](_0x5f3b15,_0x5f3b15);});
@@ -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_0x26db33=a54_0x5518;function a54_0x3e64(){const _0x30ead2=['3609AAQjNX','ySOsB','../../helpers/performance/constants','../../helpers/performance/performance-tester','570VzptPB','startMonitoring','runTest','7810450HhJNNY','548350DEwuRv','2392HlGrEd','formatter','../launcher/launcher','uItYe','cucumber-js','3640222RcLdIB','runCucumberTest','4783348OOvOdb','vanilla','whKvu','runVanillaTest','SDK_POST_TEST','JPfck','ZcSKb','3OUKabo','kuhYx','EVENTS','configuration','ZXZdM','end','wmFwx','42905MoIgAB','run','6439517WJMaIL','stopMonitoring'];a54_0x3e64=function(){return _0x30ead2;};return a54_0x3e64();}(function(_0x1144bb,_0x5a0cbb){const _0x1194cd=a54_0x5518,_0x343f6c=_0x1144bb();while(!![]){try{const _0x48bc86=parseInt(_0x1194cd(0x117))/0x1+-parseInt(_0x1194cd(0x11d))/0x2+parseInt(_0x1194cd(0x126))/0x3*(parseInt(_0x1194cd(0x11f))/0x4)+parseInt(_0x1194cd(0x10b))/0x5*(parseInt(_0x1194cd(0x113))/0x6)+parseInt(_0x1194cd(0x10d))/0x7+parseInt(_0x1194cd(0x118))/0x8*(parseInt(_0x1194cd(0x10f))/0x9)+-parseInt(_0x1194cd(0x116))/0xa;if(_0x48bc86===_0x5a0cbb)break;else _0x343f6c['push'](_0x343f6c['shift']());}catch(_0x3bd871){_0x343f6c['push'](_0x343f6c['shift']());}}}(a54_0x3e64,0xf3aa8));const PerformanceEvents=require(a54_0x26db33(0x111))[a54_0x26db33(0x106)],PerformanceTester=require(a54_0x26db33(0x112)),{sleep}=require('../../helpers/test-observability/utils');function a54_0x5518(_0x36a0df,_0x18ddb8){const _0x3e64fb=a54_0x3e64();return a54_0x5518=function(_0x55184b,_0x3a6031){_0x55184b=_0x55184b-0x105;let _0x474f3a=_0x3e64fb[_0x55184b];return _0x474f3a;},a54_0x5518(_0x36a0df,_0x18ddb8);}exports[a54_0x26db33(0x115)]=async(_0xa7af34,_0x45d7f5)=>{const _0x3513b7=a54_0x26db33,_0x3c2215={'JPfck':function(_0x489e36,_0x1e07b5){return _0x489e36(_0x1e07b5);},'ZXZdM':_0x3513b7(0x11a),'ySOsB':'mocha'};PerformanceTester[_0x3513b7(0x114)]();const _0x5344d7=_0x3c2215[_0x3513b7(0x124)](require,_0x3c2215[_0x3513b7(0x108)]),_0xb79c6f=new _0x5344d7(_0x3c2215[_0x3513b7(0x110)],_0xa7af34,_0x45d7f5),_0x20be5d=await _0xb79c6f[_0x3513b7(0x10c)]();return PerformanceTester[_0x3513b7(0x109)](PerformanceEvents[_0x3513b7(0x123)]),await _0x3c2215[_0x3513b7(0x124)](sleep,0x3e8),PerformanceTester[_0x3513b7(0x10e)](),_0x20be5d;},exports[a54_0x26db33(0x11e)]=async(_0xdb5514,_0x204aaf,_0x348081,_0x463a85,_0x413a0f)=>{const _0x48a9d4=a54_0x26db33,_0x3d164e={'kuhYx':function(_0x3922d3,_0x163830){return _0x3922d3(_0x163830);},'uItYe':'../launcher/launcher','wmFwx':_0x48a9d4(0x11c)},_0x59ed92={'capability':_0xdb5514,..._0x204aaf},_0x5f45e8={};_0x5f45e8[_0x48a9d4(0x107)]=_0x59ed92,_0x5f45e8[_0x48a9d4(0x119)]=_0x413a0f;const _0x5a2fe9=_0x5f45e8,_0x1a1707=_0x3d164e[_0x48a9d4(0x105)](require,_0x3d164e[_0x48a9d4(0x11b)]),_0x3f8f1a=new _0x1a1707(_0x3d164e[_0x48a9d4(0x10a)],_0x5a2fe9,_0x348081,_0x463a85);return await _0x3f8f1a[_0x48a9d4(0x10c)]();},exports[a54_0x26db33(0x122)]=async _0x2d8aff=>{const _0x2f3c97=a54_0x26db33,_0x3862df={'ZcSKb':function(_0x4d002a,_0x3d45ad){return _0x4d002a(_0x3d45ad);},'whKvu':_0x2f3c97(0x11a),'whQgP':_0x2f3c97(0x120)},_0x82c58f=_0x3862df[_0x2f3c97(0x125)](require,_0x3862df[_0x2f3c97(0x121)]),_0x596818=new _0x82c58f(_0x3862df['whQgP'],_0x2d8aff);return await _0x596818[_0x2f3c97(0x10c)]();};
@@ -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
+ const a55_0xf2cd20=a55_0x5f08;function a55_0x5f08(_0xaf6e34,_0x667af7){const _0x260782=a55_0x2607();return a55_0x5f08=function(_0x5f0856,_0x1ce446){_0x5f0856=_0x5f0856-0x1ca;let _0x279ae2=_0x260782[_0x5f0856];return _0x279ae2;},a55_0x5f08(_0xaf6e34,_0x667af7);}(function(_0x3e28bf,_0xa756d9){const _0x56f107=a55_0x5f08,_0x291be4=_0x3e28bf();while(!![]){try{const _0x1e78df=-parseInt(_0x56f107(0x1d5))/0x1*(-parseInt(_0x56f107(0x1d7))/0x2)+-parseInt(_0x56f107(0x1d4))/0x3+-parseInt(_0x56f107(0x1ce))/0x4+-parseInt(_0x56f107(0x1cb))/0x5*(-parseInt(_0x56f107(0x1d9))/0x6)+parseInt(_0x56f107(0x1d1))/0x7+parseInt(_0x56f107(0x1d8))/0x8+-parseInt(_0x56f107(0x1cd))/0x9*(parseInt(_0x56f107(0x1d6))/0xa);if(_0x1e78df===_0xa756d9)break;else _0x291be4['push'](_0x291be4['shift']());}catch(_0x1b4654){_0x291be4['push'](_0x291be4['shift']());}}}(a55_0x2607,0x7e2ff));function a55_0x2607(){const _0x308d5a=['1377370SYteuk','4TsglQd','70288vPIYNX','619476buwkbM','Dcmjo','5KRhVZP','ddPaH','63VKidZy','721476uZUHLC','cucumberWorker','vanillaWorker','5338074PELUMl','worker','GvSsh','650283JPRcLV','501769SRXeZi'];a55_0x2607=function(){return _0x308d5a;};return a55_0x2607();}const {runTest,runCucumberTest,runVanillaTest}=require('./runTest');exports[a55_0xf2cd20(0x1d2)]=async(_0x355b39,_0x13fab4)=>{const _0x2202bf=a55_0xf2cd20,_0x71a02d={'Dcmjo':function(_0x25d1df,_0x942550,_0x43449c){return _0x25d1df(_0x942550,_0x43449c);}};return await _0x71a02d[_0x2202bf(0x1ca)](runTest,_0x355b39,_0x13fab4);},exports[a55_0xf2cd20(0x1cf)]=async(_0x531bc1,_0x3df3d0,_0x50daaf,_0x195b58,_0xaf1223)=>{const _0x4f7979=a55_0xf2cd20,_0x3bad43={'GvSsh':function(_0x3a96e4,_0x4ff0f3,_0x4518fd,_0x4f5502,_0x1050d2,_0x5775b){return _0x3a96e4(_0x4ff0f3,_0x4518fd,_0x4f5502,_0x1050d2,_0x5775b);}};return await _0x3bad43[_0x4f7979(0x1d3)](runCucumberTest,_0x531bc1,_0x3df3d0,_0x50daaf,_0x195b58,_0xaf1223);},exports[a55_0xf2cd20(0x1d0)]=async _0x216638=>{const _0x2d6cfb=a55_0xf2cd20,_0x4bb507={'ddPaH':function(_0x20e30b,_0x5b20c3){return _0x20e30b(_0x5b20c3);}};return await _0x4bb507[_0x2d6cfb(0x1cc)](runVanillaTest,_0x216638);};
@@ -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_0x3f2e63=a56_0x5494;(function(_0x22fa3a,_0x16de5f){const _0x1adf63=a56_0x5494,_0x491917=_0x22fa3a();while(!![]){try{const _0x782e79=-parseInt(_0x1adf63(0x1f5))/0x1+parseInt(_0x1adf63(0x1e6))/0x2+parseInt(_0x1adf63(0x19e))/0x3*(-parseInt(_0x1adf63(0x1ae))/0x4)+-parseInt(_0x1adf63(0x1fc))/0x5*(parseInt(_0x1adf63(0x1be))/0x6)+-parseInt(_0x1adf63(0x19a))/0x7*(-parseInt(_0x1adf63(0x19f))/0x8)+parseInt(_0x1adf63(0x1ec))/0x9+-parseInt(_0x1adf63(0x1e4))/0xa;if(_0x782e79===_0x16de5f)break;else _0x491917['push'](_0x491917['shift']());}catch(_0x3193eb){_0x491917['push'](_0x491917['shift']());}}}(a56_0x1ade,0x3357f));const constants=require(a56_0x3f2e63(0x1c7)),{nestedKeyValue}=require('./sharedUtils'),getBrowserstackCLI=()=>{const _0x21474d=a56_0x3f2e63,_0x16c871={'xWCNC':function(_0xf2ed3f,_0x1e1f20){return _0xf2ed3f(_0x1e1f20);},'RmNaC':_0x21474d(0x1ee)};return _0x16c871[_0x21474d(0x1cd)](require,_0x16c871[_0x21474d(0x1f4)]);};class APIUtilityMethods{static[a56_0x3f2e63(0x1a0)](_0x5bd87a){const _0x364a8a=a56_0x3f2e63,_0x4c5fc1={'rrxSF':function(_0x40d97d){return _0x40d97d();},'kzghA':function(_0x5bafa8,_0x3775d9,_0x308e41){return _0x5bafa8(_0x3775d9,_0x308e41);},'uORTM':_0x364a8a(0x1b5),'LrZYl':_0x364a8a(0x1e3),'WfzFS':_0x364a8a(0x1bf),'aCSrq':function(_0x2e45b7,_0x4662d2){return _0x2e45b7===_0x4662d2;},'KjJnL':function(_0x2bd392,_0x13f75f){return _0x2bd392+_0x13f75f;}},_0x3e7d03=_0x4c5fc1[_0x364a8a(0x1ea)](getBrowserstackCLI),_0x102e06=_0x4c5fc1['kzghA'](nestedKeyValue,_0x3e7d03[_0x364a8a(0x1b6)]()[_0x364a8a(0x1b4)](),[_0x4c5fc1['uORTM'],_0x4c5fc1[_0x364a8a(0x19b)],_0x4c5fc1[_0x364a8a(0x1ef)]])||constants[_0x364a8a(0x1c3)];if(!_0x5bd87a||_0x4c5fc1['aCSrq'](_0x5bd87a,''))return _0x102e06;const _0x1b54a2=_0x102e06[_0x364a8a(0x1c6)]('/')?_0x102e06:_0x4c5fc1[_0x364a8a(0x1df)](_0x102e06,'/');return new URL(_0x5bd87a,_0x1b54a2)[_0x364a8a(0x1a1)]();}static[a56_0x3f2e63(0x1c2)](_0xc0d363){const _0x25facb=a56_0x3f2e63,_0x1bfbf1={'vHjtA':function(_0x8b102){return _0x8b102();},'kAErP':function(_0x11bdf7,_0xc1ad0e,_0x382e6d){return _0x11bdf7(_0xc1ad0e,_0x382e6d);},'FNnVg':_0x25facb(0x1b5),'lAiHw':'edsInstrumentation','PLSgW':_0x25facb(0x1bf),'pfAhk':function(_0x53b0f4,_0x26e598){return _0x53b0f4===_0x26e598;},'YgHhL':function(_0x2da491,_0x39cfbd){return _0x2da491+_0x39cfbd;}},_0x4f7e52=_0x1bfbf1[_0x25facb(0x1a6)](getBrowserstackCLI),_0x1e33ac=_0x1bfbf1[_0x25facb(0x1c1)](nestedKeyValue,_0x4f7e52[_0x25facb(0x1b6)]()[_0x25facb(0x1b4)](),[_0x1bfbf1[_0x25facb(0x1aa)],_0x1bfbf1[_0x25facb(0x1f6)],_0x1bfbf1['PLSgW']])||constants[_0x25facb(0x1dd)];if(!_0xc0d363||_0x1bfbf1[_0x25facb(0x1ce)](_0xc0d363,''))return _0x1e33ac;const _0x4f3659=_0x1e33ac[_0x25facb(0x1c6)]('/')?_0x1e33ac:_0x1bfbf1[_0x25facb(0x1b7)](_0x1e33ac,'/');return new URL(_0xc0d363,_0x4f3659)[_0x25facb(0x1a1)]();}static[a56_0x3f2e63(0x1a8)](_0x4d0510){const _0x98dbfe=a56_0x3f2e63,_0x8ba9f1={'KrDOe':function(_0x1295b2){return _0x1295b2();},'BFYIA':function(_0x23511e,_0x1521e2,_0x1ad2bd){return _0x23511e(_0x1521e2,_0x1ad2bd);},'wpztP':_0x98dbfe(0x1b5),'riDtn':_0x98dbfe(0x1e3),'cMBkf':_0x98dbfe(0x1bf),'OLgqY':function(_0x2078ee,_0x2eaa50){return _0x2078ee===_0x2eaa50;},'BHuxA':function(_0x39f867,_0x147dcb){return _0x39f867+_0x147dcb;}},_0x1eab95=_0x8ba9f1['KrDOe'](getBrowserstackCLI),_0x124536=_0x8ba9f1[_0x98dbfe(0x1b2)](nestedKeyValue,_0x1eab95[_0x98dbfe(0x1b6)]()['getConfig'](),[_0x8ba9f1['wpztP'],_0x8ba9f1['riDtn'],_0x8ba9f1[_0x98dbfe(0x1e9)]])||constants[_0x98dbfe(0x1c3)];if(!_0x4d0510||_0x8ba9f1['OLgqY'](_0x4d0510,''))return _0x124536;const _0x563e93=_0x124536['endsWith']('/')?_0x124536:_0x8ba9f1[_0x98dbfe(0x1d1)](_0x124536,'/');return new URL(_0x4d0510,_0x563e93)[_0x98dbfe(0x1a1)]();}static['getAppAutomateSessionStatusAPIUrl'](_0x4e55c5){const _0xa0c494=a56_0x3f2e63,_0x31eba5={'pJxAx':function(_0x2fb619){return _0x2fb619();},'DXHZK':function(_0x30b1b9,_0x23c6c8,_0x3e992b){return _0x30b1b9(_0x23c6c8,_0x3e992b);},'eNsqL':_0xa0c494(0x1b5),'KQqSp':_0xa0c494(0x1f3),'NMfiZ':_0xa0c494(0x1bf),'mnmBI':function(_0x5d0f44,_0x450ed8){return _0x5d0f44===_0x450ed8;},'oSgQF':function(_0x322c88,_0x2088d7){return _0x322c88+_0x2088d7;}},_0xa0b774=_0x31eba5['pJxAx'](getBrowserstackCLI),_0x1768a5=_0x31eba5[_0xa0c494(0x19d)](nestedKeyValue,_0xa0b774['getInstance']()[_0xa0c494(0x1b4)](),[_0x31eba5[_0xa0c494(0x19c)],_0x31eba5[_0xa0c494(0x1b1)],_0x31eba5[_0xa0c494(0x1ba)]])||constants[_0xa0c494(0x1c3)];if(!_0x4e55c5||_0x31eba5[_0xa0c494(0x1d2)](_0x4e55c5,''))return _0x1768a5;const _0x34e8fd=_0x1768a5[_0xa0c494(0x1c6)]('/')?_0x1768a5:_0x31eba5[_0xa0c494(0x1a4)](_0x1768a5,'/');return new URL(_0x4e55c5,_0x34e8fd)[_0xa0c494(0x1a1)]();}static['getAutomateSessionNameAPIUrl'](_0x3bf62b){const _0x136783=a56_0x3f2e63,_0x10cfe7={'gYfHR':function(_0x46969c){return _0x46969c();},'ZDtOc':function(_0x3a51e5,_0x435e32,_0x144205){return _0x3a51e5(_0x435e32,_0x144205);},'KjMrc':_0x136783(0x1b5),'rDcJL':_0x136783(0x1e3),'ZRixN':_0x136783(0x1bf),'qjuZh':function(_0x1621db,_0x41ae0a){return _0x1621db===_0x41ae0a;},'OCTMz':function(_0x590249,_0x46663a){return _0x590249+_0x46663a;}},_0x48e43c=_0x10cfe7[_0x136783(0x1bb)](getBrowserstackCLI),_0x2c5aa2=_0x10cfe7[_0x136783(0x1bd)](nestedKeyValue,_0x48e43c[_0x136783(0x1b6)]()['getConfig'](),[_0x10cfe7[_0x136783(0x1b8)],_0x10cfe7[_0x136783(0x1ed)],_0x10cfe7['ZRixN']])||constants['BROWSERSTACK_API_URL'];if(!_0x3bf62b||_0x10cfe7[_0x136783(0x1b3)](_0x3bf62b,''))return _0x2c5aa2;const _0x4f395d=_0x2c5aa2['endsWith']('/')?_0x2c5aa2:_0x10cfe7[_0x136783(0x1d3)](_0x2c5aa2,'/');return new URL(_0x3bf62b,_0x4f395d)[_0x136783(0x1a1)]();}static[a56_0x3f2e63(0x1dc)](_0x104494){const _0x60bce3=a56_0x3f2e63,_0x436656={'XxUVj':function(_0xa180){return _0xa180();},'BjMRd':function(_0x34fa87,_0x29985a,_0x1a2450){return _0x34fa87(_0x29985a,_0x1a2450);},'DPYFN':'apis','zbfEb':_0x60bce3(0x1f3),'keXrG':_0x60bce3(0x1bf),'TSwoI':function(_0x46ea30,_0x5430c3){return _0x46ea30===_0x5430c3;},'IMFgu':function(_0x26f577,_0xf14d09){return _0x26f577+_0xf14d09;}},_0x45a579=_0x436656['XxUVj'](getBrowserstackCLI),_0x2d8f14=_0x436656['BjMRd'](nestedKeyValue,_0x45a579[_0x60bce3(0x1b6)]()[_0x60bce3(0x1b4)](),[_0x436656[_0x60bce3(0x1f7)],_0x436656[_0x60bce3(0x1f8)],_0x436656[_0x60bce3(0x1d6)]])||constants[_0x60bce3(0x1c3)];if(!_0x104494||_0x436656[_0x60bce3(0x1eb)](_0x104494,''))return _0x2d8f14;const _0x4a4bd9=_0x2d8f14[_0x60bce3(0x1c6)]('/')?_0x2d8f14:_0x436656[_0x60bce3(0x1fa)](_0x2d8f14,'/');return new URL(_0x104494,_0x4a4bd9)[_0x60bce3(0x1a1)]();}static[a56_0x3f2e63(0x197)](_0x4ee9fb){const _0x50ef19=a56_0x3f2e63,_0x33e45f={'mRzap':function(_0x3987e6){return _0x3987e6();},'nJUCK':function(_0x2e6cb6,_0x399d64,_0x1d2f6e){return _0x2e6cb6(_0x399d64,_0x1d2f6e);},'DRTxu':'apis','ZPrly':'automate','zDTzN':_0x50ef19(0x1bf),'GUpuU':function(_0xa9086f,_0x1e259c){return _0xa9086f===_0x1e259c;},'ZQLDY':function(_0x53cc38,_0x1ad08a){return _0x53cc38+_0x1ad08a;}},_0x5adf4c=_0x33e45f[_0x50ef19(0x1c9)](getBrowserstackCLI),_0xe26f53=_0x33e45f[_0x50ef19(0x1f9)](nestedKeyValue,_0x5adf4c[_0x50ef19(0x1b6)]()[_0x50ef19(0x1b4)](),[_0x33e45f[_0x50ef19(0x1db)],_0x33e45f[_0x50ef19(0x1e1)],_0x33e45f[_0x50ef19(0x1af)]])||constants[_0x50ef19(0x1c3)];if(!_0x4ee9fb||_0x33e45f[_0x50ef19(0x1f2)](_0x4ee9fb,''))return _0xe26f53;const _0x378fe9=_0xe26f53[_0x50ef19(0x1c6)]('/')?_0xe26f53:_0x33e45f[_0x50ef19(0x1a3)](_0xe26f53,'/');return new URL(_0x4ee9fb,_0x378fe9)['toString']()[_0x50ef19(0x1cf)](/^https?:\/\//,'');}static[a56_0x3f2e63(0x1d0)](_0x3b5a35){const _0x48b8f8=a56_0x3f2e63,_0x207ccf={'cEDdN':function(_0x2caf6a){return _0x2caf6a();},'PbNGY':function(_0xe817cc,_0x5b2081,_0x14d448){return _0xe817cc(_0x5b2081,_0x14d448);},'LBiaQ':_0x48b8f8(0x1b5),'teDCS':_0x48b8f8(0x1f3),'UdGAe':_0x48b8f8(0x1bf),'Zrdli':function(_0x5a710a,_0x3814ab){return _0x5a710a===_0x3814ab;},'nCxkN':function(_0x252e4d,_0x5dcc15){return _0x252e4d+_0x5dcc15;}},_0x2e396a=_0x207ccf[_0x48b8f8(0x1ab)](getBrowserstackCLI),_0x57ebdc=_0x207ccf[_0x48b8f8(0x198)](nestedKeyValue,_0x2e396a['getInstance']()['getConfig'](),[_0x207ccf[_0x48b8f8(0x199)],_0x207ccf[_0x48b8f8(0x1d5)],_0x207ccf['UdGAe']])||constants['APP_UPLOAD_URL'];if(!_0x3b5a35||_0x207ccf[_0x48b8f8(0x1a7)](_0x3b5a35,''))return _0x57ebdc;const _0xfaa2da=_0x57ebdc[_0x48b8f8(0x1c6)]('/')?_0x57ebdc:_0x207ccf['nCxkN'](_0x57ebdc,'/');return new URL(_0x3b5a35,_0xfaa2da)[_0x48b8f8(0x1a1)]()['replace'](/^https?:\/\//,'');}static[a56_0x3f2e63(0x1ac)](_0x5d7252){const _0x4c4cf6=a56_0x3f2e63,_0xe2dd1e={'GhSRo':function(_0x350ab3){return _0x350ab3();},'EVYwY':function(_0x43c2a7,_0x4a1ca9,_0x167c09){return _0x43c2a7(_0x4a1ca9,_0x167c09);},'UFPdI':'apis','ptQHT':'observability','NHUTs':_0x4c4cf6(0x1a2),'vunZO':function(_0x571c20,_0x403283){return _0x571c20===_0x403283;},'jlVYZ':function(_0x1622bc,_0x46a603){return _0x1622bc+_0x46a603;}},_0x44c473=_0xe2dd1e['GhSRo'](getBrowserstackCLI),_0x1c52de=_0xe2dd1e[_0x4c4cf6(0x1ca)](nestedKeyValue,_0x44c473[_0x4c4cf6(0x1b6)]()[_0x4c4cf6(0x1b4)](),[_0xe2dd1e[_0x4c4cf6(0x1de)],_0xe2dd1e[_0x4c4cf6(0x1ad)],_0xe2dd1e['NHUTs']])||constants[_0x4c4cf6(0x1cc)];if(!_0x5d7252||_0xe2dd1e['vunZO'](_0x5d7252,''))return _0x1c52de;const _0x4e691f=_0x1c52de[_0x4c4cf6(0x1c6)]('/')?_0x1c52de:_0xe2dd1e[_0x4c4cf6(0x1e0)](_0x1c52de,'/');return new URL(_0x5d7252,_0x4e691f)[_0x4c4cf6(0x1a1)]();}static[a56_0x3f2e63(0x1c0)](_0x4c78c8){const _0x5698a2=a56_0x3f2e63,_0x1ee8e5={'hgHQr':function(_0x3ca419){return _0x3ca419();},'kHwrL':function(_0x1ed227,_0x1fc57d,_0x30da3d){return _0x1ed227(_0x1fc57d,_0x30da3d);},'kNIHj':_0x5698a2(0x1b5),'DnsNG':_0x5698a2(0x1e3),'QjWMw':_0x5698a2(0x1c5),'wKSRn':_0x5698a2(0x1e5),'XVGwf':function(_0x1efacc,_0x56ec59){return _0x1efacc===_0x56ec59;},'GbzSc':function(_0x37b48a,_0x4b7078){return _0x37b48a+_0x4b7078;},'OUTgN':_0x5698a2(0x1e2)},_0x2cae1a=_0x1ee8e5[_0x5698a2(0x1cb)](getBrowserstackCLI),_0x2d2830=_0x1ee8e5[_0x5698a2(0x1d8)](nestedKeyValue,_0x2cae1a['getInstance']()[_0x5698a2(0x1b4)](),[_0x1ee8e5[_0x5698a2(0x1e7)],_0x1ee8e5[_0x5698a2(0x1bc)],_0x1ee8e5[_0x5698a2(0x1b0)]]),_0x37824c=(_0x2d2830?_0x2d2830['replace'](/^https:/,_0x1ee8e5['wKSRn']):null)||constants[_0x5698a2(0x1a9)];let _0x3370a6;if(!_0x4c78c8||_0x1ee8e5['XVGwf'](_0x4c78c8,''))_0x3370a6=_0x37824c;else{const _0x53b214=_0x37824c[_0x5698a2(0x1c6)]('/')?_0x37824c:_0x1ee8e5['GbzSc'](_0x37824c,'/');_0x3370a6=new URL(_0x4c78c8,_0x53b214)['toString']();}return!_0x3370a6[_0x5698a2(0x1c6)](_0x1ee8e5['OUTgN'])&&(_0x3370a6+=_0x1ee8e5[_0x5698a2(0x1a5)]),_0x3370a6;}static[a56_0x3f2e63(0x1da)](_0x1cd449){const _0x576d9f=a56_0x3f2e63,_0x466d93={'hYshf':function(_0x361166){return _0x361166();},'QswOp':function(_0x507685,_0x4f4a1f,_0x19ce2c){return _0x507685(_0x4f4a1f,_0x19ce2c);},'Qrvgf':_0x576d9f(0x1b5),'PJDsy':'automate','CNWWQ':_0x576d9f(0x1c5),'HohgJ':_0x576d9f(0x1e5),'pLwKZ':function(_0x4a34e3,_0x28cea1){return _0x4a34e3===_0x28cea1;},'UidtI':function(_0x467178,_0x26a1a8){return _0x467178+_0x26a1a8;},'HogoP':'/puppeteer?caps='},_0xc7d40a=_0x466d93[_0x576d9f(0x1c8)](getBrowserstackCLI),_0x3283c2=_0x466d93[_0x576d9f(0x1fb)](nestedKeyValue,_0xc7d40a[_0x576d9f(0x1b6)]()['getConfig'](),[_0x466d93[_0x576d9f(0x1f1)],_0x466d93[_0x576d9f(0x1b9)],_0x466d93[_0x576d9f(0x1d7)]]),_0xd26d56=(_0x3283c2?_0x3283c2[_0x576d9f(0x1cf)](/^https:/,_0x466d93[_0x576d9f(0x1c4)]):null)||constants[_0x576d9f(0x1e8)];let _0x14036a;if(!_0x1cd449||_0x466d93[_0x576d9f(0x1d4)](_0x1cd449,''))_0x14036a=_0xd26d56;else{const _0xa10575=_0xd26d56[_0x576d9f(0x1c6)]('/')?_0xd26d56:_0x466d93[_0x576d9f(0x1d9)](_0xd26d56,'/');_0x14036a=new URL(_0x1cd449,_0xa10575)['toString']();}return!_0x14036a['endsWith'](_0x466d93['HogoP'])&&(_0x14036a+=_0x466d93['HogoP']),_0x14036a;}}function a56_0x1ade(){const _0x1e8238=['mRzap','EVYwY','hgHQr','OBSERVABILITY_UPLOAD_URL','xWCNC','pfAhk','replace','getAppAutomateSessionsListAPIUrl','BHuxA','mnmBI','OCTMz','pLwKZ','teDCS','keXrG','CNWWQ','kHwrL','UidtI','getPuppeteerHubUrl','DRTxu','getAppAutomateSessionNameAPIUrl','EDS_URL','UFPdI','KjJnL','jlVYZ','ZPrly','/playwright?caps=','automate','2498350vTdxzJ','wss:','692058zBhRrH','kNIHj','PUPPETEER_HUB_URL','cMBkf','rrxSF','TSwoI','2064978LrcIcD','rDcJL','../v2/browserstackCLI','WfzFS','exports','Qrvgf','GUpuU','appAutomate','RmNaC','133495yItZvA','lAiHw','DPYFN','zbfEb','nJUCK','IMFgu','QswOp','5675NnFvIS','getAutomateSessionsListAPIUrl','PbNGY','LBiaQ','21eabuXq','LrZYl','eNsqL','DXHZK','660117JRbUyG','1022616hGknBH','getBStackAPIUrl','toString','upload','ZQLDY','oSgQF','OUTgN','vHjtA','Zrdli','getAutomateSessionStatusAPIUrl','PLAYWRIGHT_HUB_URL','FNnVg','cEDdN','getAutoCaptureLogsAPIUrl','ptQHT','4wNtppg','zDTzN','QjWMw','KQqSp','BFYIA','qjuZh','getConfig','apis','getInstance','YgHhL','KjMrc','PJDsy','NMfiZ','gYfHR','DnsNG','ZDtOc','768lGqeqC','api','getPlaywrightHubUrl','kAErP','getEdsInstrumentationAPIUrl','BROWSERSTACK_API_URL','HohgJ','cdp','endsWith','./constants','hYshf'];a56_0x1ade=function(){return _0x1e8238;};return a56_0x1ade();}function a56_0x5494(_0x290f87,_0xee53e0){const _0x1ade7a=a56_0x1ade();return a56_0x5494=function(_0x5494ee,_0x25e022){_0x5494ee=_0x5494ee-0x197;let _0x3d27d0=_0x1ade7a[_0x5494ee];return _0x3d27d0;},a56_0x5494(_0x290f87,_0xee53e0);}module[a56_0x3f2e63(0x1f0)]=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_0x3904e5=a57_0x38f4;(function(_0x49f805,_0x3cabc1){const _0x17ac3b=a57_0x38f4,_0x2333fe=_0x49f805();while(!![]){try{const _0xa01de5=-parseInt(_0x17ac3b(0xef))/0x1*(-parseInt(_0x17ac3b(0x111))/0x2)+parseInt(_0x17ac3b(0xd8))/0x3+-parseInt(_0x17ac3b(0xee))/0x4*(-parseInt(_0x17ac3b(0xdb))/0x5)+parseInt(_0x17ac3b(0xd2))/0x6*(-parseInt(_0x17ac3b(0x112))/0x7)+parseInt(_0x17ac3b(0xcb))/0x8*(-parseInt(_0x17ac3b(0xe3))/0x9)+-parseInt(_0x17ac3b(0xf6))/0xa*(parseInt(_0x17ac3b(0xf9))/0xb)+-parseInt(_0x17ac3b(0xc5))/0xc*(-parseInt(_0x17ac3b(0xae))/0xd);if(_0xa01de5===_0x3cabc1)break;else _0x2333fe['push'](_0x2333fe['shift']());}catch(_0xba1911){_0x2333fe['push'](_0x2333fe['shift']());}}}(a57_0x431e,0x5a18a));const logger=require(a57_0x3904e5(0xd6))[a57_0x3904e5(0xce)],BrowserstackCLI=require('../v2/browserstackCLI'),GrpcClient=require('../v2/grpcClient'),constants=require(a57_0x3904e5(0x108));class ClientTroubleShootingService{static [a57_0x3904e5(0xd1)]=null;static ['errorCodesOccurredWhenCLINotRunning']=new Set();static async[a57_0x3904e5(0x105)](_0x37abe8){const _0x537751=a57_0x3904e5,_0x4cac57={};_0x4cac57[_0x537751(0xe4)]=function(_0x449811,_0x2979c0){return _0x449811!==_0x2979c0;};const _0x54c1ee=_0x4cac57;try{if(BrowserstackCLI['getInstance']()[_0x537751(0xea)]()){const _0xc349b9=await GrpcClient[_0x537751(0xf8)]()[_0x537751(0xe6)](_0x37abe8);if(_0x54c1ee[_0x537751(0xe4)](_0xc349b9,null)&&_0xc349b9['getSuccess']())return{'errorCode':_0xc349b9[_0x537751(0xf5)](),'errorMessage':_0xc349b9['getErrorMessage']()};return{};}return{};}catch(_0x3e91a0){return this[_0x537751(0xc2)]('Error\x20in\x20getting\x20error\x20details\x20for\x20'+_0x37abe8+':',_0x3e91a0),{};}}static async[a57_0x3904e5(0xe0)](){const _0x3e9ba8=a57_0x3904e5,_0x3c3b25={};_0x3c3b25['gmxCR']=function(_0x1442b4,_0x43a56e){return _0x1442b4!==_0x43a56e;},_0x3c3b25[_0x3e9ba8(0xe1)]=_0x3e9ba8(0xd4),_0x3c3b25[_0x3e9ba8(0xec)]=_0x3e9ba8(0xb6);const _0x503048=_0x3c3b25;try{if(BrowserstackCLI[_0x3e9ba8(0xf8)]()[_0x3e9ba8(0xea)]()){const _0x2b0ceb=await GrpcClient[_0x3e9ba8(0xf8)]()['getAggregatedClientTroubleshootingErrors']();if(_0x503048[_0x3e9ba8(0xde)](_0x2b0ceb,null)&&_0x2b0ceb[_0x3e9ba8(0xb3)]()){const _0x21d83b=Buffer[_0x3e9ba8(0xfe)](_0x2b0ceb[_0x3e9ba8(0xc1)](),_0x503048['GjTQX'])['toString'](),_0x201683=_0x21d83b?JSON[_0x3e9ba8(0xeb)](_0x21d83b):[],_0x52e05c=_0x2b0ceb[_0x3e9ba8(0x10f)](),_0x3b7668=_0x2b0ceb[_0x3e9ba8(0xd5)](),_0x48cc1b=Buffer['from'](_0x2b0ceb['getErrorCodesOccurredInCli'](),_0x503048['GjTQX'])[_0x3e9ba8(0xcf)](),_0x4225c9=_0x48cc1b?JSON['parse'](_0x48cc1b):[],_0x299bae={};return _0x299bae[_0x3e9ba8(0xc3)]=_0x201683,_0x299bae[_0x3e9ba8(0x107)]=_0x52e05c,_0x299bae['finalErrorMessage']=_0x3b7668,_0x299bae['errorCodesOccurredInCLI']=_0x4225c9,_0x299bae;}const _0x1d0f7b={};return _0x1d0f7b['errorCodes']=[],_0x1d0f7b[_0x3e9ba8(0x107)]='',_0x1d0f7b[_0x3e9ba8(0xe5)]='',_0x1d0f7b[_0x3e9ba8(0x100)]=[],_0x1d0f7b;}const _0x29b707={};return _0x29b707['errorCodes']=[],_0x29b707[_0x3e9ba8(0x107)]='',_0x29b707[_0x3e9ba8(0xe5)]='',_0x29b707[_0x3e9ba8(0x100)]=[],_0x29b707;}catch(_0x65dc91){this[_0x3e9ba8(0xc2)](_0x503048[_0x3e9ba8(0xec)],_0x65dc91);const _0x23dc02={};return _0x23dc02[_0x3e9ba8(0xc3)]=[],_0x23dc02['documentationLink']='',_0x23dc02['finalErrorMessage']='',_0x23dc02[_0x3e9ba8(0x100)]=[],_0x23dc02;}}static[a57_0x3904e5(0xfc)](_0x22c355,_0x48dfa5){const _0x334bd4=a57_0x3904e5;logger[_0x334bd4(0xcc)](_0x22c355+':\x20'+_0x48dfa5);}static[a57_0x3904e5(0xc0)](_0x47330e){const _0x180da3=a57_0x3904e5,_0x35efd1={};_0x35efd1[_0x180da3(0x103)]=function(_0x2a8b5d,_0x490f19){return _0x2a8b5d!=_0x490f19;},_0x35efd1[_0x180da3(0xda)]=function(_0x47b579,_0x4090f7){return _0x47b579!=_0x4090f7;},_0x35efd1[_0x180da3(0xb5)]=function(_0x2f3470,_0x25a73f){return _0x2f3470>_0x25a73f;},_0x35efd1[_0x180da3(0xca)]=function(_0x27cf5e,_0x27d9a9){return _0x27cf5e!=_0x27d9a9;};const _0x241a2c=_0x35efd1,_0x1e3a0d=[];if(_0x241a2c[_0x180da3(0x103)](_0x47330e,null)&&_0x241a2c[_0x180da3(0xda)](_0x47330e[_0x180da3(0x100)],null)&&_0x241a2c[_0x180da3(0xb5)](_0x47330e[_0x180da3(0x100)][_0x180da3(0xdc)],0x0))for(const _0x2f671b of _0x47330e['errorCodesOccurredInCLI']){_0x241a2c['rMVJH'](_0x2f671b[_0x180da3(0x104)],null)&&_0x241a2c[_0x180da3(0xca)](_0x2f671b[_0x180da3(0x109)],null)&&(_0x1e3a0d[_0x180da3(0xf4)](_0x2f671b['errorCode']),this['logSituation'](_0x2f671b['errorCode'],_0x2f671b[_0x180da3(0x109)]));}return _0x1e3a0d;}static[a57_0x3904e5(0x10e)](){const _0xee28df=a57_0x3904e5;return this[_0xee28df(0xd1)];}static[a57_0x3904e5(0xc2)](_0x7c5506,_0x1722e4){const _0x52f3b9=a57_0x3904e5,_0xaaa7ad={};_0xaaa7ad[_0x52f3b9(0xc4)]=function(_0x28781a,_0x2e14aa){return _0x28781a===_0x2e14aa;},_0xaaa7ad[_0x52f3b9(0xbe)]='object';const _0x17de4c=_0xaaa7ad;if(_0x17de4c[_0x52f3b9(0xc4)](typeof _0x1722e4,_0x17de4c[_0x52f3b9(0xbe)]))try{logger[_0x52f3b9(0xf0)](_0x52f3b9(0xf2)+_0x7c5506+'\x20'+JSON[_0x52f3b9(0xb7)](_0x1722e4));}catch(_0x1427fd){logger[_0x52f3b9(0xf0)](_0x52f3b9(0xf2)+_0x7c5506+'\x20'+_0x1722e4);}else logger[_0x52f3b9(0xf0)](_0x52f3b9(0xf2)+_0x7c5506+'\x20'+_0x1722e4);}static async['reportProcessInterruptionSituation'](_0x2d4f57){const _0x34d255=a57_0x3904e5,_0x42cd1a={};_0x42cd1a[_0x34d255(0xfa)]=_0x34d255(0xdd),_0x42cd1a[_0x34d255(0x110)]=function(_0x2a3083,_0xdc84dc){return _0x2a3083===_0xdc84dc;},_0x42cd1a[_0x34d255(0xd9)]='Process\x20Interruption\x20details\x20not\x20found:',_0x42cd1a[_0x34d255(0x10b)]=_0x34d255(0xad);const _0xc24686=_0x42cd1a,_0x1b726b=await this[_0x34d255(0x105)](_0xc24686[_0x34d255(0xfa)]);if(!_0x1b726b||_0xc24686[_0x34d255(0x110)](Object[_0x34d255(0xaf)](_0x1b726b)['length'],0x0)){this[_0x34d255(0xc2)](_0xc24686[_0x34d255(0xd9)],_0x1b726b);return;}this[_0x34d255(0xfc)](_0x1b726b[_0x34d255(0x104)],_0x1b726b['errorMessage'][_0x34d255(0xbc)](_0xc24686['UqFbP'],_0x2d4f57));}static async[a57_0x3904e5(0xbf)](){const _0x4c6310=a57_0x3904e5,_0x2757eb={};_0x2757eb[_0x4c6310(0xf7)]='Session\x20Linking\x20Issue',_0x2757eb[_0x4c6310(0xb0)]=function(_0x44bef6,_0x523ccb){return _0x44bef6===_0x523ccb;},_0x2757eb[_0x4c6310(0xb8)]='Session\x20Linking\x20Issue\x20details\x20not\x20found';const _0xd0ee3a=_0x2757eb,_0xa18228=await this[_0x4c6310(0x105)](_0xd0ee3a['KgxUb']);if(!_0xa18228||_0xd0ee3a[_0x4c6310(0xb0)](Object[_0x4c6310(0xaf)](_0xa18228)[_0x4c6310(0xdc)],0x0)){this[_0x4c6310(0xc2)](_0xd0ee3a['ptYKt'],_0xa18228);return;}this[_0x4c6310(0xfc)](_0xa18228[_0x4c6310(0x104)],_0xa18228[_0x4c6310(0x109)]);}static async[a57_0x3904e5(0xc7)](){const _0x555994=a57_0x3904e5,_0x4830cd={};_0x4830cd[_0x555994(0xbd)]=_0x555994(0x113),_0x4830cd[_0x555994(0xff)]=function(_0x1af132,_0x35cabc){return _0x1af132===_0x35cabc;},_0x4830cd[_0x555994(0xab)]=_0x555994(0xb9);const _0x366d3e=_0x4830cd,_0x42f026=await this[_0x555994(0x105)](_0x366d3e[_0x555994(0xbd)]);if(!_0x42f026||_0x366d3e[_0x555994(0xff)](Object['keys'](_0x42f026)[_0x555994(0xdc)],0x0)){this[_0x555994(0xc2)](_0x366d3e[_0x555994(0xab)],_0x42f026);return;}this[_0x555994(0xfc)](_0x42f026['errorCode'],_0x42f026[_0x555994(0x109)]);}static async[a57_0x3904e5(0x10a)](){const _0x41ab2a=a57_0x3904e5,_0x290542={};_0x290542['lhdmo']='ssl\x20cert\x20issue',_0x290542[_0x41ab2a(0xfb)]=function(_0x445710,_0x56413f){return _0x445710===_0x56413f;},_0x290542[_0x41ab2a(0xd0)]=_0x41ab2a(0xb2);const _0x44acbc=_0x290542,_0x42ba01=await this['getErrorDetails'](_0x44acbc[_0x41ab2a(0xed)]);if(!_0x42ba01||_0x44acbc['ltRyx'](Object[_0x41ab2a(0xaf)](_0x42ba01)[_0x41ab2a(0xdc)],0x0)){this[_0x41ab2a(0xc2)](_0x44acbc[_0x41ab2a(0xd0)],_0x42ba01);return;}this[_0x41ab2a(0xfc)](_0x42ba01[_0x41ab2a(0x104)],_0x42ba01[_0x41ab2a(0x109)]);}static[a57_0x3904e5(0xfd)](){const _0x3edbfa=a57_0x3904e5,_0x277bd2={};_0x277bd2['TleEL']=_0x3edbfa(0xe9),_0x277bd2[_0x3edbfa(0xc9)]=function(_0x5e3b92,_0x33e2db){return _0x5e3b92===_0x33e2db;},_0x277bd2['kCWUe']=_0x3edbfa(0xdf);const _0x358397=_0x277bd2,_0x35a1b2=constants['CLIENT_TROUBLESHOOTING_HASH'][_0x358397[_0x3edbfa(0xac)]];if(!_0x35a1b2||_0x358397[_0x3edbfa(0xc9)](Object['keys'](_0x35a1b2)['length'],0x0)){this['logError'](_0x358397[_0x3edbfa(0xe8)],_0x35a1b2);return;}this[_0x3edbfa(0x10d)]['add'](_0x35a1b2[0x0]),this[_0x3edbfa(0xfc)](_0x35a1b2[0x0],_0x35a1b2[0x1]);}static async[a57_0x3904e5(0xc8)](_0xbf1aac){const _0x2ccb04=a57_0x3904e5,_0x49e103={};_0x49e103[_0x2ccb04(0xcd)]=_0x2ccb04(0x106),_0x49e103[_0x2ccb04(0xd7)]=function(_0x36248a,_0x341a65){return _0x36248a===_0x341a65;},_0x49e103[_0x2ccb04(0xe7)]=_0x2ccb04(0xba),_0x49e103[_0x2ccb04(0xb4)]=_0x2ccb04(0xf1);const _0x4c4297=_0x49e103,_0x17a889=await this[_0x2ccb04(0x105)](_0x4c4297['jKbit']);if(!_0x17a889||_0x4c4297[_0x2ccb04(0xd7)](Object['keys'](_0x17a889)[_0x2ccb04(0xdc)],0x0)){this['logError'](_0x4c4297[_0x2ccb04(0xe7)],_0x17a889);return;}const _0x396092=_0x17a889[_0x2ccb04(0x109)][_0x2ccb04(0xbc)](_0x4c4297[_0x2ccb04(0xb4)],_0xbf1aac);this[_0x2ccb04(0xfc)](_0x17a889[_0x2ccb04(0x104)],_0x396092);}static async[a57_0x3904e5(0xbb)](){const _0xc523e9=a57_0x3904e5,_0x172a4d={};_0x172a4d[_0xc523e9(0xf3)]=function(_0x2210e4,_0xefea45){return _0x2210e4>_0xefea45;},_0x172a4d[_0xc523e9(0xe2)]=_0xc523e9(0xd3),_0x172a4d[_0xc523e9(0x10c)]=_0xc523e9(0x101);const _0x2567e8=_0x172a4d,_0x221810=await this[_0xc523e9(0xe0)](),_0x183fc6=this[_0xc523e9(0xc0)](_0x221810),_0x4ffe6f=Array['isArray'](_0x221810[_0xc523e9(0xc3)])?_0x221810[_0xc523e9(0xc3)]:[],_0x55716b=_0x2567e8[_0xc523e9(0xf3)](this['errorCodesOccurredWhenCLINotRunning'][_0xc523e9(0xc6)],0x0)?Array[_0xc523e9(0xfe)](this[_0xc523e9(0x10d)]):[],_0x1261df=new Set([..._0x4ffe6f,..._0x183fc6,..._0x55716b]),_0x45e9e1=Array[_0xc523e9(0xfe)](_0x1261df);if(_0x2567e8[_0xc523e9(0xf3)](_0x45e9e1[_0xc523e9(0xdc)],0x0)){const _0x4eec73=_0x221810[_0xc523e9(0xe5)][_0xc523e9(0xbc)](_0x2567e8[_0xc523e9(0xe2)],_0x45e9e1[_0xc523e9(0xb1)](',\x20'))[_0xc523e9(0xbc)](_0x2567e8['hyvCn'],_0x221810[_0xc523e9(0x107)]);logger[_0xc523e9(0xcc)](_0x4eec73),this[_0xc523e9(0xd1)]=_0x45e9e1;}}}function a57_0x431e(){const _0x2cdabf=['1004829xJhMkU','browserstack\x20cloud\x20not\x20reachable','wkNej','TleEL','{SIGNAL}','1812499wDXNlH','keys','LNNLc','join','SSL\x20Certificate\x20Issue\x20details\x20not\x20found','getSuccess','WcaGd','cBigf','Error\x20in\x20getting\x20aggregated\x20error\x20codes:','stringify','ptYKt','Connectivity\x20Issue\x20details\x20not\x20found','Conflicting\x20Env\x20Var\x20details\x20not\x20found','reportFinalDetectionState','replace','nmWty','tmYZo','reportSessionLinkingIssue','checkForErrorsOccuredInCLI','getErrorCodes','logError','errorCodes','PfAvY','12PljBPE','size','reportConnectivityIssue','reportConflictingEnvVarIssue','uKelP','TpeaM','1535240yOHmjb','warn','jKbit','winstonLogger','toString','Qervb','cachedErrorCodes','6GLssYa','{ERROR_CODES}','base64','getFinalErrorMessage','../../helpers/logger','eyOdg','885084LkuvKM','wHMrS','jRAXy','1965YgKpgJ','length','Process\x20Interruption','gmxCR','.browserstack\x20Folder\x20Not\x20Accessible\x20details\x20not\x20found','getAggregatedErrorCodes','GjTQX','ulYZI','9uqBwGy','ajpAz','finalErrorMessage','reportClientTroubleshootingError','Rccmu','kCWUe','.browserstack\x20folder\x20not\x20accessible','isRunning','parse','LZwQh','lhdmo','3456MysGVE','1oQvYNo','error','{ENV_VAR}','[ClientTroubleShootingService]\x20','ppXCy','push','getErrorCode','220tDBcNW','KgxUb','getInstance','260205tIGqzS','yarXy','ltRyx','logSituation','reportDotBrowserStackFolderNotAccessibleIssue','from','ruCuq','errorCodesOccurredInCLI','{CLIENT_TROUBLESHOOTING_DOCUMENTATION}','exports','rMVJH','errorCode','getErrorDetails','conflicting\x20env\x20var\x20detected','documentationLink','./constants','errorMessage','reportSSLCertIssue','UqFbP','hyvCn','errorCodesOccurredWhenCLINotRunning','getCachedErrorCodes','getDocumentationLink','lfBka','901786GZDpMS'];a57_0x431e=function(){return _0x2cdabf;};return a57_0x431e();}function a57_0x38f4(_0x3f03ed,_0xffc31){const _0x431eca=a57_0x431e();return a57_0x38f4=function(_0x38f441,_0x18ab00){_0x38f441=_0x38f441-0xab;let _0x4a72d6=_0x431eca[_0x38f441];return _0x4a72d6;},a57_0x38f4(_0x3f03ed,_0xffc31);}module[a57_0x3904e5(0x102)]=ClientTroubleShootingService;