browserstack-node-sdk 1.55.0 → 1.55.2

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 (198) 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 +4 -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/newman/command.js +1 -1
  79. package/src/bin/newman/helper.js +1 -1
  80. package/src/bin/newman/reporter/index.js +1 -1
  81. package/src/bin/newman/scriptRunner.js +1 -1
  82. package/src/bin/nightwatch/command.js +1 -1
  83. package/src/bin/playwright/accessibility-helper.js +1 -1
  84. package/src/bin/playwright/command.js +1 -1
  85. package/src/bin/playwright/globalSetup.js +1 -1
  86. package/src/bin/playwright/mock-process.js +1 -1
  87. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  88. package/src/bin/playwright/patches.js +1 -1
  89. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  90. package/src/bin/playwright/reporter/reporter.js +1 -1
  91. package/src/bin/playwright/reporter/test-details.js +1 -1
  92. package/src/bin/playwright/sessionDetails.js +1 -1
  93. package/src/bin/puppeteer/patches.js +1 -1
  94. package/src/bin/puppeteer/sessionDetails.js +1 -1
  95. package/src/bin/puppeteer/test.setup.js +1 -1
  96. package/src/bin/runner.js +1 -1
  97. package/src/bin/setup.js +1 -1
  98. package/src/bin/test-runner/index.js +1 -1
  99. package/src/bin/test-runner/runTest.js +1 -1
  100. package/src/bin/test-runner/testWorker.js +1 -1
  101. package/src/bin/utils/apiUtilityMethods.js +1 -1
  102. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  103. package/src/bin/utils/constants.js +1 -1
  104. package/src/bin/utils/log4jsAppender.js +1 -1
  105. package/src/bin/utils/logPatcher.js +1 -1
  106. package/src/bin/utils/logReportingAPI.js +1 -1
  107. package/src/bin/utils/playwright-patcher.js +1 -1
  108. package/src/bin/utils/puppeteer-patcher.js +1 -1
  109. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  110. package/src/bin/utils/sharedUtils.js +1 -1
  111. package/src/bin/v2/TestInfo.js +1 -1
  112. package/src/bin/v2/browserstackCLI.js +1 -1
  113. package/src/bin/v2/cliUtils.js +1 -1
  114. package/src/bin/v2/customTagManager.js +1 -1
  115. package/src/bin/v2/eventDispatcher.js +1 -1
  116. package/src/bin/v2/framework/automationFramework.js +1 -1
  117. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  118. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  119. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  120. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  121. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  122. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  123. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  124. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  125. package/src/bin/v2/framework/testFramework.js +1 -1
  126. package/src/bin/v2/grpcClient.js +1 -1
  127. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  128. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  129. package/src/bin/v2/instances/trackedContext.js +1 -1
  130. package/src/bin/v2/instances/trackedInstance.js +1 -1
  131. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  132. package/src/bin/v2/modules/baseModule.js +1 -1
  133. package/src/bin/v2/modules/loadTestModule.js +1 -1
  134. package/src/bin/v2/modules/observabilityModule.js +1 -1
  135. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  136. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  137. package/src/bin/v2/modules/testhubModule.js +1 -1
  138. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  139. package/src/bin/v2/state/hookState.js +1 -1
  140. package/src/bin/v2/state/testFrameworkState.js +1 -1
  141. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  142. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  143. package/src/bin/v2/utils/jest-utils.js +1 -1
  144. package/src/bin/vanilla-js/command.js +1 -1
  145. package/src/browserStackSdk.js +1 -1
  146. package/src/helpers/BrowserStackSetup.js +1 -1
  147. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  148. package/src/helpers/accessibility-automation/constants.js +1 -1
  149. package/src/helpers/accessibility-automation/helper.js +1 -1
  150. package/src/helpers/accessibility-automation/scripts.js +1 -1
  151. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  152. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  153. package/src/helpers/ats/constants.js +1 -1
  154. package/src/helpers/ats/helper.js +1 -1
  155. package/src/helpers/capsMapping.js +1 -1
  156. package/src/helpers/central-scanner/constants.js +1 -1
  157. package/src/helpers/central-scanner/helpers.js +1 -1
  158. package/src/helpers/classLogger.js +1 -1
  159. package/src/helpers/globals.js +1 -1
  160. package/src/helpers/helper.js +1 -1
  161. package/src/helpers/logger.js +1 -1
  162. package/src/helpers/metadata.js +1 -1
  163. package/src/helpers/patchHelper.js +1 -1
  164. package/src/helpers/patchHelpers.js +1 -1
  165. package/src/helpers/percy/Percy.js +1 -1
  166. package/src/helpers/percy/PercyBinary.js +1 -1
  167. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  168. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  169. package/src/helpers/percy/PercySDK.js +1 -1
  170. package/src/helpers/percy/index.js +1 -1
  171. package/src/helpers/percy/utils.js +1 -1
  172. package/src/helpers/performance/constants.js +1 -1
  173. package/src/helpers/performance/performance-tester.js +1 -1
  174. package/src/helpers/playwright-helper.js +1 -1
  175. package/src/helpers/processHelper.js +1 -1
  176. package/src/helpers/puppeteer-helper.js +1 -1
  177. package/src/helpers/request-spy.js +1 -1
  178. package/src/helpers/setKeepAlive.js +1 -1
  179. package/src/helpers/test-observability/constants.js +1 -1
  180. package/src/helpers/test-observability/error-handler.js +1 -1
  181. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  182. package/src/helpers/test-observability/sessionHandler.js +1 -1
  183. package/src/helpers/test-observability/utils.js +1 -1
  184. package/src/helpers/test-orchestration/constants.js +1 -1
  185. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  186. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  187. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  188. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  189. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  190. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  191. package/src/helpers/testhub/constants.js +1 -1
  192. package/src/helpers/testhub/testhubHandler.js +1 -1
  193. package/src/helpers/testhub/utils.js +1 -1
  194. package/src/helpers/timeoutPromise.js +1 -1
  195. package/src/helpers/utilities.js +1 -1
  196. package/src/helpers/w3cMapping.js +1 -1
  197. package/src/hubAllocationMethods.js +1 -1
  198. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a53_0xd88eb=a53_0xdb4f;(function(_0xa763cf,_0xd60b3f){const _0x45d2f4=a53_0xdb4f,_0x125692=_0xa763cf();while(!![]){try{const _0x16f1c5=-parseInt(_0x45d2f4(0x1f6))/0x1*(parseInt(_0x45d2f4(0x1ae))/0x2)+-parseInt(_0x45d2f4(0x1df))/0x3*(-parseInt(_0x45d2f4(0x1c4))/0x4)+parseInt(_0x45d2f4(0x1dd))/0x5+-parseInt(_0x45d2f4(0x1bf))/0x6+-parseInt(_0x45d2f4(0x1c6))/0x7+-parseInt(_0x45d2f4(0x1d7))/0x8+-parseInt(_0x45d2f4(0x1f5))/0x9*(-parseInt(_0x45d2f4(0x1db))/0xa);if(_0x16f1c5===_0xd60b3f)break;else _0x125692['push'](_0x125692['shift']());}catch(_0x527306){_0x125692['push'](_0x125692['shift']());}}}(a53_0x8dfc,0x88dc4));const path=require(a53_0xd88eb(0x1f4)),url=require('url'),util=require(a53_0xd88eb(0x1da)),{nestedKeyValue,isFalse}=require(a53_0xd88eb(0x1ab)),{debug,getPlatformDetails}=require(a53_0xd88eb(0x1bd)),logger=require(a53_0xd88eb(0x1d0))[a53_0xd88eb(0x1f2)],constants=require('../utils/constants'),BrowserstackCLI=require(a53_0xd88eb(0x1b7)),AutomationFrameworkState=require('../v2/state/automationFrameworkState.js'),HookState=require(a53_0xd88eb(0x1d9)),getBrowserFromWSEndpoint=_0x332f20=>{const _0x45cc97=a53_0xd88eb,_0x282f1f={'oLTHl':_0x45cc97(0x1a6),'GKdwn':function(_0x42d858,_0x2044b0){return _0x42d858(_0x2044b0);}};try{const _0x55c575=url[_0x45cc97(0x1bc)](_0x332f20),_0x14169f=new URLSearchParams(_0x55c575[_0x45cc97(0x1cc)]),_0x50c592=Object[_0x45cc97(0x1f9)](_0x14169f[_0x45cc97(0x1a8)]()),_0x293edd=JSON[_0x45cc97(0x1bc)](_0x50c592[_0x45cc97(0x1be)]);if(_0x293edd&&(_0x293edd[_0x45cc97(0x1d6)]||_0x293edd[_0x45cc97(0x1f1)]))return _0x293edd['browser']||_0x293edd[_0x45cc97(0x1f1)];return _0x282f1f[_0x45cc97(0x1e6)];}catch(_0x7585b0){_0x282f1f[_0x45cc97(0x1ef)](debug,'Error\x20in\x20getting\x20browser\x20from\x20caps:\x20'+_0x7585b0[_0x45cc97(0x1b9)]());}},getCloudProviderFromWsEndpoint=_0x4af327=>{const _0x537e89=a53_0xd88eb,_0x57911a={};_0x57911a['VVtUP']=_0x537e89(0x1fb),_0x57911a['Gqjly']='unknown_grid';const _0x4766db=_0x57911a;if(_0x4af327['includes'](constants['BSTACK_URL'])||_0x4af327[_0x537e89(0x1b0)](constants['BSTACK_ATS_URL']))return _0x4766db[_0x537e89(0x1e2)];return _0x4766db[_0x537e89(0x1ce)];},a53_0x21c92c={};a53_0x21c92c[a53_0xd88eb(0x1eb)]=undefined,a53_0x21c92c['bsSessionId']=undefined,a53_0x21c92c[a53_0xd88eb(0x1d6)]=undefined,a53_0x21c92c[a53_0xd88eb(0x1c5)]=undefined,a53_0x21c92c[a53_0xd88eb(0x1d4)]=undefined,a53_0x21c92c[a53_0xd88eb(0x1e3)]=undefined,a53_0x21c92c[a53_0xd88eb(0x1b1)]=undefined,a53_0x21c92c[a53_0xd88eb(0x1ad)]={};class PuppeteerSessionDetails{static [a53_0xd88eb(0x1b2)]=a53_0x21c92c;constructor(){const _0x5c3173=a53_0xd88eb,_0x2036d7={};_0x2036d7[_0x5c3173(0x1af)]=_0x5c3173(0x1e0);const _0x4fefc8=_0x2036d7;throw new Error(_0x4fefc8['yqkYu']);}static [a53_0xd88eb(0x1e8)]=null;static async[a53_0xd88eb(0x1e5)](_0x3dc66f,_0x27739a){const _0x181d9f=a53_0xd88eb,_0x258e57={'mBruz':_0x181d9f(0x1a6),'ItnsD':function(_0x339201,_0x29acf2){return _0x339201===_0x29acf2;},'PbiWu':_0x181d9f(0x1cf),'FofMe':'local_grid','tyNtH':function(_0x408366,_0x28655c){return _0x408366(_0x28655c);},'QetNr':_0x181d9f(0x1fb),'pZIhR':'turboscale','WGNWw':_0x181d9f(0x1de),'ScsdM':function(_0x17d3a0){return _0x17d3a0();},'lYpSz':function(_0x7d5ab9){return _0x7d5ab9();}};try{let _0x17f119=_0x258e57[_0x181d9f(0x1aa)],_0x280509=null;_0x3dc66f&&_0x258e57[_0x181d9f(0x1b6)](typeof _0x3dc66f[_0x181d9f(0x1d2)],_0x258e57['PbiWu'])&&(_0x280509=await _0x3dc66f[_0x181d9f(0x1d2)]());let _0x1f81f4=null,_0x26a8e3=null,_0xeb5056=null,_0x4a2d13=_0x258e57[_0x181d9f(0x1a9)];if(_0x27739a){_0x4a2d13=_0x258e57[_0x181d9f(0x1ed)](getCloudProviderFromWsEndpoint,_0x27739a);if(_0x258e57[_0x181d9f(0x1b6)](_0x4a2d13,_0x258e57['QetNr']))_0xeb5056=constants[_0x181d9f(0x1f0)]?constants[_0x181d9f(0x1f0)][_0x181d9f(0x1c8)](_0x27739a)?_0x258e57[_0x181d9f(0x1c9)]:_0x258e57[_0x181d9f(0x1c1)]:_0x258e57[_0x181d9f(0x1c1)],_0x17f119=_0x258e57[_0x181d9f(0x1ed)](getBrowserFromWSEndpoint,_0x27739a)||_0x17f119,_0x1f81f4=this[_0x181d9f(0x1b2)][_0x181d9f(0x1d4)],_0x26a8e3=this['currentSessionDetails'][_0x181d9f(0x1e3)];else{const _0x2d6663=await _0x258e57[_0x181d9f(0x1e1)](getPlatformDetails);_0x1f81f4=_0x2d6663['platformName'],_0x26a8e3=_0x2d6663[_0x181d9f(0x1ea)];}}else{const _0x452b02=await _0x258e57[_0x181d9f(0x1e9)](getPlatformDetails);_0x1f81f4=_0x452b02[_0x181d9f(0x1c0)],_0x26a8e3=_0x452b02['platformVersion'];}const _0x205310={};_0x205310[_0x181d9f(0x1d6)]=_0x17f119,_0x205310[_0x181d9f(0x1c5)]=_0x280509,_0x205310[_0x181d9f(0x1ad)]={},_0x205310[_0x181d9f(0x1d4)]=_0x1f81f4,_0x205310[_0x181d9f(0x1e3)]=_0x26a8e3,_0x205310[_0x181d9f(0x1b1)]=_0xeb5056;const _0x4a579a=_0x205310,_0x47ff1e={};_0x47ff1e['cloudProvider']=_0x4a2d13,this[_0x181d9f(0x1b2)]=Object['assign']({},this[_0x181d9f(0x1b2)],_0x47ff1e,_0x4a579a);}catch(_0x3ddd98){_0x258e57[_0x181d9f(0x1ed)](debug,_0x181d9f(0x1ca)+util[_0x181d9f(0x1c3)](_0x3ddd98)),this[_0x181d9f(0x1e8)]=_0x3ddd98[_0x181d9f(0x1b9)]();}}static[a53_0xd88eb(0x1cb)](_0x13b4a8){const _0x2e3aef=a53_0xd88eb,_0x4c39c5={'hKeBe':function(_0x5ddad6,_0x386586){return _0x5ddad6===_0x386586;},'sjNEp':_0x2e3aef(0x1fc),'wDIOQ':function(_0x5953b9,_0x45d986){return _0x5953b9(_0x45d986);},'haIBT':function(_0x2bce55,_0xf80825){return _0x2bce55===_0xf80825;},'mdyuU':_0x2e3aef(0x1ec)},_0xc27f35=this;try{const _0x31aeaf=_0x13b4a8['_connection']||_0x13b4a8[_0x2e3aef(0x1b8)];if(!_0x31aeaf||_0x31aeaf['_bstackPatched'])return;const _0x3d5ef1=_0x31aeaf[_0x2e3aef(0x1d3)];_0x31aeaf[_0x2e3aef(0x1d3)]=function(_0x3b5937){const _0x14d07c=_0x2e3aef;try{const _0x5439ef=_0x4c39c5[_0x14d07c(0x1ee)](typeof _0x3b5937,_0x4c39c5[_0x14d07c(0x1dc)])?JSON[_0x14d07c(0x1bc)](_0x3b5937):_0x3b5937,_0x568f4f=_0x5439ef?.[_0x14d07c(0x1ac)]||_0x5439ef?.[_0x14d07c(0x1d1)]||_0x5439ef?.['params']?.[_0x14d07c(0x1d1)]||_0x5439ef?.['params']?.[_0x14d07c(0x1ac)]||_0x5439ef?.[_0x14d07c(0x1f3)]?.[_0x14d07c(0x1d1)]||_0x5439ef?.[_0x14d07c(0x1f3)]?.[_0x14d07c(0x1ac)];if(_0x568f4f){if(BrowserstackCLI['getInstance']()[_0x14d07c(0x1b4)]()){const _0x797deb={};_0x797deb['message']=_0x5439ef,BrowserstackCLI[_0x14d07c(0x1b5)]()['getAutomationFramework']()[_0x14d07c(0x1ba)](AutomationFrameworkState[_0x14d07c(0x1c2)],HookState['POST'],_0x797deb);}else{const _0x53916f=_0x568f4f['sessionId'],_0x1b6dd9=_0x568f4f[_0x14d07c(0x1bb)];_0x1b6dd9&&(_0x4c39c5[_0x14d07c(0x1d5)](debug,_0x14d07c(0x1f8)+JSON[_0x14d07c(0x1c7)](_0x1b6dd9)),_0xc27f35['currentSessionDetails'][_0x14d07c(0x1d4)]=_0x1b6dd9[_0x14d07c(0x1c0)],_0xc27f35[_0x14d07c(0x1b2)][_0x14d07c(0x1e3)]=_0x1b6dd9[_0x14d07c(0x1ea)]),_0x53916f&&(_0x4c39c5[_0x14d07c(0x1d5)](debug,'Setting\x20session\x20id\x20received\x20from\x20BS\x20'+_0x53916f),_0xc27f35['currentSessionDetails'][_0x14d07c(0x1fa)]=_0x53916f);}_0x4c39c5[_0x14d07c(0x1e7)](typeof _0x3b5937,_0x4c39c5[_0x14d07c(0x1dc)])&&(delete _0x5439ef['bStackParams'],delete _0x5439ef[_0x14d07c(0x1d1)],_0x5439ef[_0x14d07c(0x1a7)]&&(delete _0x5439ef[_0x14d07c(0x1a7)][_0x14d07c(0x1d1)],delete _0x5439ef[_0x14d07c(0x1a7)]['bStackParams']),_0x5439ef['result']&&(delete _0x5439ef[_0x14d07c(0x1f3)]['bsParams'],delete _0x5439ef[_0x14d07c(0x1f3)][_0x14d07c(0x1ac)]));}}catch(_0x58865a){_0x4c39c5[_0x14d07c(0x1d5)](debug,_0x14d07c(0x1f7)+_0x58865a[_0x14d07c(0x1d8)]);}return _0x3d5ef1?.['apply'](this,arguments);},_0x31aeaf['_bstackPatched']=!![],logger[_0x2e3aef(0x1e4)](_0x4c39c5[_0x2e3aef(0x1a5)]);}catch(_0x421cd1){_0x4c39c5['wDIOQ'](debug,_0x2e3aef(0x1b3)+util[_0x2e3aef(0x1c3)](_0x421cd1)),_0xc27f35[_0x2e3aef(0x1e8)]=_0x421cd1[_0x2e3aef(0x1b9)]();}}static[a53_0xd88eb(0x1cd)](){const _0x4507d0=a53_0xd88eb;return this[_0x4507d0(0x1b2)];}}function a53_0xdb4f(_0x2eb2c7,_0x4c1a07){const _0x8dfc08=a53_0x8dfc();return a53_0xdb4f=function(_0xdb4f4f,_0x163e36){_0xdb4f4f=_0xdb4f4f-0x1a4;let _0x180f39=_0x8dfc08[_0xdb4f4f];return _0x180f39;},a53_0xdb4f(_0x2eb2c7,_0x4c1a07);}module[a53_0xd88eb(0x1a4)]=PuppeteerSessionDetails;function a53_0x8dfc(){const _0x59282d=['mdyuU','chrome','params','entries','FofMe','mBruz','../../helpers/helper','bStackParams','capabilities','56172fjRyEV','yqkYu','includes','product','currentSessionDetails','Error\x20in\x20patchConnection:\x20','isRunning','getInstance','ItnsD','../v2/browserstackCLI','connection','toString','trackEvent','platformDetails','parse','../../helpers/test-observability/utils','caps','636006IpRXuq','platformName','WGNWw','PLAYWRIGHT_DISPATCH','format','12ljUTMr','browser_version','7431914bkkBIZ','stringify','test','pZIhR','Error\x20in\x20setupBrowserDetails:\x20','patchConnection','query','getDetails','Gqjly','function','../../helpers/logger','bsParams','version','onmessage','platform','wDIOQ','browser','8542480WGQygy','message','../v2/state/hookState.js','util','110IYYzSU','sjNEp','3286700anDgxT','automate','653694ezLGgr','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','ScsdM','VVtUP','platform_version','debug','setupBrowserDetails','oLTHl','haIBT','sessionError','lYpSz','platformVersion','cloudProvider','[PuppeteerSessionDetails]\x20Connection\x20patched\x20for\x20session\x20capture','tyNtH','hKeBe','GKdwn','ATS_WSS_URL_REGEX','browserName','winstonLogger','result','path','1605699BQiobQ','17hUJYsq','Error\x20extracting\x20bsParams\x20from\x20CDP\x20message:\x20','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','fromEntries','bsSessionId','browserstack','string','exports'];a53_0x8dfc=function(){return _0x59282d;};return a53_0x8dfc();}
1
+ const a53_0x29025e=a53_0x52e4;(function(_0x876007,_0x557d41){const _0x283d49=a53_0x52e4,_0x950de0=_0x876007();while(!![]){try{const _0x251405=-parseInt(_0x283d49(0x12c))/0x1*(parseInt(_0x283d49(0x128))/0x2)+-parseInt(_0x283d49(0x148))/0x3*(-parseInt(_0x283d49(0x182))/0x4)+parseInt(_0x283d49(0x154))/0x5*(parseInt(_0x283d49(0x13b))/0x6)+-parseInt(_0x283d49(0x13c))/0x7+-parseInt(_0x283d49(0x13a))/0x8*(parseInt(_0x283d49(0x14a))/0x9)+parseInt(_0x283d49(0x15e))/0xa*(parseInt(_0x283d49(0x15d))/0xb)+parseInt(_0x283d49(0x185))/0xc;if(_0x251405===_0x557d41)break;else _0x950de0['push'](_0x950de0['shift']());}catch(_0x3bd3c2){_0x950de0['push'](_0x950de0['shift']());}}}(a53_0x5780,0xdeab0));const path=require(a53_0x29025e(0x164)),url=require(a53_0x29025e(0x16a)),util=require(a53_0x29025e(0x15b)),{nestedKeyValue,isFalse}=require(a53_0x29025e(0x184)),{debug,getPlatformDetails}=require(a53_0x29025e(0x175)),logger=require(a53_0x29025e(0x140))[a53_0x29025e(0x17d)],constants=require(a53_0x29025e(0x172)),BrowserstackCLI=require(a53_0x29025e(0x157)),AutomationFrameworkState=require('../v2/state/automationFrameworkState.js'),HookState=require(a53_0x29025e(0x134)),getBrowserFromWSEndpoint=_0x34ff96=>{const _0xcd01b7=a53_0x29025e,_0x44404f={'takuK':_0xcd01b7(0x15a),'duQoQ':function(_0x2fd508,_0x408026){return _0x2fd508(_0x408026);}};try{const _0x2fc49d=url['parse'](_0x34ff96),_0x1fe00e=new URLSearchParams(_0x2fc49d[_0xcd01b7(0x151)]),_0x299ba1=Object['fromEntries'](_0x1fe00e['entries']()),_0x4a2968=JSON['parse'](_0x299ba1[_0xcd01b7(0x165)]);if(_0x4a2968&&(_0x4a2968[_0xcd01b7(0x147)]||_0x4a2968[_0xcd01b7(0x14c)]))return _0x4a2968[_0xcd01b7(0x147)]||_0x4a2968[_0xcd01b7(0x14c)];return _0x44404f['takuK'];}catch(_0x2a55ec){_0x44404f[_0xcd01b7(0x17a)](debug,_0xcd01b7(0x155)+_0x2a55ec['toString']());}},getCloudProviderFromWsEndpoint=_0x1f9037=>{const _0x92c7=a53_0x29025e,_0x1082c7={};_0x1082c7[_0x92c7(0x156)]=_0x92c7(0x162),_0x1082c7[_0x92c7(0x163)]=_0x92c7(0x12b);const _0x349d47=_0x1082c7;if(_0x1f9037[_0x92c7(0x149)](constants[_0x92c7(0x14f)])||_0x1f9037['includes'](constants[_0x92c7(0x135)]))return _0x349d47[_0x92c7(0x156)];return _0x349d47[_0x92c7(0x163)];},a53_0x365644={};function a53_0x52e4(_0x527083,_0x2ae22c){const _0x5780ad=a53_0x5780();return a53_0x52e4=function(_0x52e4ef,_0x69eb93){_0x52e4ef=_0x52e4ef-0x125;let _0xc90c74=_0x5780ad[_0x52e4ef];return _0xc90c74;},a53_0x52e4(_0x527083,_0x2ae22c);}a53_0x365644[a53_0x29025e(0x153)]=undefined,a53_0x365644[a53_0x29025e(0x137)]=undefined,a53_0x365644[a53_0x29025e(0x147)]=undefined,a53_0x365644[a53_0x29025e(0x12a)]=undefined,a53_0x365644[a53_0x29025e(0x167)]=undefined,a53_0x365644['platform_version']=undefined,a53_0x365644[a53_0x29025e(0x133)]=undefined,a53_0x365644[a53_0x29025e(0x160)]={};class PuppeteerSessionDetails{static [a53_0x29025e(0x152)]=a53_0x365644;constructor(){const _0x2373b2=a53_0x29025e,_0x48e1f0={};_0x48e1f0[_0x2373b2(0x14e)]=_0x2373b2(0x17e);const _0x52f640=_0x48e1f0;throw new Error(_0x52f640['bnLrJ']);}static [a53_0x29025e(0x15f)]=null;static async[a53_0x29025e(0x14b)](_0x41b9b5,_0x3605d7){const _0x2bd61d=a53_0x29025e,_0x2cbc39={'sQhvu':_0x2bd61d(0x15a),'pTCll':function(_0xd7539f,_0x46c123){return _0xd7539f===_0x46c123;},'gxDQs':'function','BGhbz':'local_grid','RhYwp':function(_0x4580a5,_0x5e2f7f){return _0x4580a5(_0x5e2f7f);},'jIPHo':function(_0x44d1c4,_0x565fe1){return _0x44d1c4===_0x565fe1;},'eOFvd':_0x2bd61d(0x162),'ZsZqu':_0x2bd61d(0x129),'GMZxf':_0x2bd61d(0x125),'PfHTM':function(_0x284d8c,_0x5ea738){return _0x284d8c(_0x5ea738);},'rINGy':function(_0x50f3d2){return _0x50f3d2();},'bqlxa':function(_0x5e52e9,_0x440083){return _0x5e52e9(_0x440083);}};try{let _0x4c6981=_0x2cbc39[_0x2bd61d(0x180)],_0x21d286=null;_0x41b9b5&&_0x2cbc39[_0x2bd61d(0x181)](typeof _0x41b9b5['version'],_0x2cbc39[_0x2bd61d(0x17c)])&&(_0x21d286=await _0x41b9b5[_0x2bd61d(0x16c)]());let _0x2ab0a5=null,_0x50dc65=null,_0x166aa7=null,_0x402b91=_0x2cbc39[_0x2bd61d(0x14d)];if(_0x3605d7){_0x402b91=_0x2cbc39[_0x2bd61d(0x141)](getCloudProviderFromWsEndpoint,_0x3605d7);if(_0x2cbc39[_0x2bd61d(0x145)](_0x402b91,_0x2cbc39[_0x2bd61d(0x166)]))_0x166aa7=constants[_0x2bd61d(0x142)]?constants[_0x2bd61d(0x142)]['test'](_0x3605d7)?_0x2cbc39['ZsZqu']:_0x2cbc39[_0x2bd61d(0x146)]:_0x2cbc39[_0x2bd61d(0x146)],_0x4c6981=_0x2cbc39['PfHTM'](getBrowserFromWSEndpoint,_0x3605d7)||_0x4c6981,_0x2ab0a5=this[_0x2bd61d(0x152)][_0x2bd61d(0x167)],_0x50dc65=this[_0x2bd61d(0x152)][_0x2bd61d(0x173)];else{const _0x484165=await _0x2cbc39[_0x2bd61d(0x132)](getPlatformDetails);_0x2ab0a5=_0x484165[_0x2bd61d(0x13d)],_0x50dc65=_0x484165['platformVersion'];}}else{const _0x520c1c=await _0x2cbc39[_0x2bd61d(0x132)](getPlatformDetails);_0x2ab0a5=_0x520c1c[_0x2bd61d(0x13d)],_0x50dc65=_0x520c1c[_0x2bd61d(0x143)];}const _0x5023ec={};_0x5023ec[_0x2bd61d(0x147)]=_0x4c6981,_0x5023ec[_0x2bd61d(0x12a)]=_0x21d286,_0x5023ec[_0x2bd61d(0x160)]={},_0x5023ec[_0x2bd61d(0x167)]=_0x2ab0a5,_0x5023ec['platform_version']=_0x50dc65,_0x5023ec[_0x2bd61d(0x133)]=_0x166aa7;const _0x51f0af=_0x5023ec,_0x56d908={};_0x56d908[_0x2bd61d(0x153)]=_0x402b91,this[_0x2bd61d(0x152)]=Object[_0x2bd61d(0x139)]({},this[_0x2bd61d(0x152)],_0x56d908,_0x51f0af);}catch(_0x1948cd){_0x2cbc39[_0x2bd61d(0x15c)](debug,_0x2bd61d(0x126)+util['format'](_0x1948cd)),this[_0x2bd61d(0x15f)]=_0x1948cd[_0x2bd61d(0x13f)]();}}static[a53_0x29025e(0x16b)](_0xa68838){const _0x175e0e=a53_0x29025e,_0x1c62ee={'gztng':function(_0x1cdddd,_0x233731){return _0x1cdddd===_0x233731;},'xLjxp':_0x175e0e(0x16f),'aiPXh':function(_0x1cb787,_0x4ff5ee){return _0x1cb787(_0x4ff5ee);},'gfWKr':function(_0x223203,_0x2faef1){return _0x223203(_0x2faef1);},'WGjhT':function(_0x38e30b,_0x3e0c69){return _0x38e30b===_0x3e0c69;},'rwggM':function(_0x138c66,_0x30797f){return _0x138c66(_0x30797f);},'gnogi':'[PuppeteerSessionDetails]\x20Connection\x20patched\x20for\x20session\x20capture'},_0xa3e33f=this;try{const _0x1a7eed=_0xa68838['_connection']||_0xa68838[_0x175e0e(0x138)];if(!_0x1a7eed||_0x1a7eed[_0x175e0e(0x12e)])return;const _0x132526=_0x1a7eed['onmessage'];_0x1a7eed['onmessage']=function(_0x452852){const _0x2f78dd=_0x175e0e;try{const _0x3dc242=_0x1c62ee[_0x2f78dd(0x177)](typeof _0x452852,_0x1c62ee[_0x2f78dd(0x170)])?JSON[_0x2f78dd(0x131)](_0x452852):_0x452852,_0x349e5c=_0x3dc242?.[_0x2f78dd(0x161)]||_0x3dc242?.[_0x2f78dd(0x158)]||_0x3dc242?.[_0x2f78dd(0x176)]?.[_0x2f78dd(0x158)]||_0x3dc242?.[_0x2f78dd(0x176)]?.[_0x2f78dd(0x161)]||_0x3dc242?.['result']?.[_0x2f78dd(0x158)]||_0x3dc242?.[_0x2f78dd(0x16d)]?.[_0x2f78dd(0x161)];if(_0x349e5c){if(BrowserstackCLI['getInstance']()[_0x2f78dd(0x17b)]()){const _0x309526={};_0x309526['message']=_0x3dc242,BrowserstackCLI[_0x2f78dd(0x17f)]()['getAutomationFramework']()[_0x2f78dd(0x127)](AutomationFrameworkState[_0x2f78dd(0x183)],HookState[_0x2f78dd(0x171)],_0x309526);}else{const _0xa26ec0=_0x349e5c[_0x2f78dd(0x179)],_0xc29bfb=_0x349e5c[_0x2f78dd(0x136)];_0xc29bfb&&(_0x1c62ee['aiPXh'](debug,_0x2f78dd(0x12d)+JSON['stringify'](_0xc29bfb)),_0xa3e33f['currentSessionDetails'][_0x2f78dd(0x167)]=_0xc29bfb['platformName'],_0xa3e33f['currentSessionDetails'][_0x2f78dd(0x173)]=_0xc29bfb[_0x2f78dd(0x143)]),_0xa26ec0&&(_0x1c62ee['gfWKr'](debug,'Setting\x20session\x20id\x20received\x20from\x20BS\x20'+_0xa26ec0),_0xa3e33f['currentSessionDetails'][_0x2f78dd(0x137)]=_0xa26ec0);}_0x1c62ee[_0x2f78dd(0x13e)](typeof _0x452852,_0x1c62ee['xLjxp'])&&(delete _0x3dc242[_0x2f78dd(0x161)],delete _0x3dc242[_0x2f78dd(0x158)],_0x3dc242['params']&&(delete _0x3dc242[_0x2f78dd(0x176)][_0x2f78dd(0x158)],delete _0x3dc242[_0x2f78dd(0x176)][_0x2f78dd(0x161)]),_0x3dc242[_0x2f78dd(0x16d)]&&(delete _0x3dc242[_0x2f78dd(0x16d)]['bsParams'],delete _0x3dc242[_0x2f78dd(0x16d)][_0x2f78dd(0x161)]));}}catch(_0x284d8a){_0x1c62ee[_0x2f78dd(0x168)](debug,_0x2f78dd(0x150)+_0x284d8a[_0x2f78dd(0x12f)]);}return _0x132526?.[_0x2f78dd(0x16e)](this,arguments);},_0x1a7eed[_0x175e0e(0x12e)]=!![],logger['debug'](_0x1c62ee[_0x175e0e(0x169)]);}catch(_0x23e82f){_0x1c62ee[_0x175e0e(0x174)](debug,_0x175e0e(0x144)+util[_0x175e0e(0x178)](_0x23e82f)),_0xa3e33f[_0x175e0e(0x15f)]=_0x23e82f[_0x175e0e(0x13f)]();}}static[a53_0x29025e(0x159)](){const _0x4b3cd1=a53_0x29025e;return this[_0x4b3cd1(0x152)];}}module[a53_0x29025e(0x130)]=PuppeteerSessionDetails;function a53_0x5780(){const _0x2a396c=['Invalid\x20constructor,\x20please\x20use\x20static\x20methods','getInstance','sQhvu','pTCll','4OlBjmj','PLAYWRIGHT_DISPATCH','../../helpers/helper','12458064azUWff','automate','Error\x20in\x20setupBrowserDetails:\x20','trackEvent','6EIgzeG','turboscale','browser_version','unknown_grid','287099qdbIdt','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','_bstackPatched','message','exports','parse','rINGy','product','../v2/state/hookState.js','BSTACK_ATS_URL','platformDetails','bsSessionId','connection','assign','584vwjfdR','108oTDGlQ','7638141WfxIJs','platformName','WGjhT','toString','../../helpers/logger','RhYwp','ATS_WSS_URL_REGEX','platformVersion','Error\x20in\x20patchConnection:\x20','jIPHo','GMZxf','browser','4361277SKFyQO','includes','129366aJfzhJ','setupBrowserDetails','browserName','BGhbz','bnLrJ','BSTACK_URL','Error\x20extracting\x20bsParams\x20from\x20CDP\x20message:\x20','query','currentSessionDetails','cloudProvider','38615QZMuqz','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','yJSVW','../v2/browserstackCLI','bsParams','getDetails','chrome','util','bqlxa','517vlRXcx','272950RkjUFB','sessionError','capabilities','bStackParams','browserstack','cuubM','path','caps','eOFvd','platform','rwggM','gnogi','url','patchConnection','version','result','apply','string','xLjxp','POST','../utils/constants','platform_version','gfWKr','../../helpers/test-observability/utils','params','gztng','format','sessionId','duQoQ','isRunning','gxDQs','winstonLogger'];a53_0x5780=function(){return _0x2a396c;};return a53_0x5780();}
@@ -1 +1 @@
1
- const a54_0x446884=a54_0x556d;(function(_0x1781c3,_0x14138a){const _0x1e200b=a54_0x556d,_0xa81fe6=_0x1781c3();while(!![]){try{const _0x4e8a29=-parseInt(_0x1e200b(0x111))/0x1*(parseInt(_0x1e200b(0x11a))/0x2)+parseInt(_0x1e200b(0x124))/0x3*(-parseInt(_0x1e200b(0x10a))/0x4)+parseInt(_0x1e200b(0x112))/0x5+-parseInt(_0x1e200b(0x128))/0x6*(-parseInt(_0x1e200b(0x116))/0x7)+parseInt(_0x1e200b(0x107))/0x8+parseInt(_0x1e200b(0x123))/0x9*(-parseInt(_0x1e200b(0x127))/0xa)+parseInt(_0x1e200b(0x110))/0xb*(parseInt(_0x1e200b(0x121))/0xc);if(_0x4e8a29===_0x14138a)break;else _0xa81fe6['push'](_0xa81fe6['shift']());}catch(_0x48cda9){_0xa81fe6['push'](_0xa81fe6['shift']());}}}(a54_0x1d36,0x1d0c5));function a54_0x1d36(){const _0x54fc29=['[PuppeteerTestSetup]\x20Bootstrapping\x20BrowserstackCLI\x20for\x20Jest\x20worker','../utils/constants','[PuppeteerTestSetup]\x20Error\x20reading\x20BrowserStack\x20config:\x20','catch','workerInfo','264xaILNt','../../helpers/logger','54NiuhaN','21xTkehh','debug','initializePuppeteerPatching','247090KVKYzf','60aqpCat','getInstance','../../helpers/testhub/utils','__skipSessionName','__workerDetails','../../helpers/setKeepAlive','../utils/puppeteer-patcher','[PuppeteerTestSetup]\x20Error\x20bootstrapping\x20BrowserstackCLI:\x20','winstonLogger','[PuppeteerTestSetup]\x20Error\x20initializing\x20Puppeteer\x20patching:\x20','__skipSessionStatus','env','o11ySyncDone','[PuppeteerTestSetup]\x20Puppeteer\x20patching\x20initialized','util','../v2/browserstackCLI','pwPage','921560YeqACA','getPackageVersion','[PuppeteerTestSetup]\x20Jest-Puppeteer\x20test\x20setup\x20completed','27932OLuOgd','puppeteer-core','setFrameworkDetail','isPageFixture','jestConfig','format','38302asFcbk','939jGgKhs','627865fYVaOd','bootstrap','currentTest','BROWSERSTACK_PUPPETEER','1750qxGwYv','../v2/cliUtils','isCliEnabled','[PuppeteerTestSetup]\x20Patching\x20Puppeteer\x20for\x20Jest','8OPjyDB','../../helpers/helper'];a54_0x1d36=function(){return _0x54fc29;};return a54_0x1d36();}const {isTrue,isBrowserstackInfra}=require(a54_0x446884(0x11b)),setKeepAlive=require(a54_0x446884(0xfb)),util=require(a54_0x446884(0x104)),logger=require(a54_0x446884(0x122))[a54_0x446884(0xfe)],{shouldProcessEventForTesthub}=require(a54_0x446884(0x12a)),{addRequestSpy}=require('../../helpers/test-observability/utils'),a54_0x2f5ba7={};a54_0x2f5ba7[a54_0x446884(0x120)]=undefined,a54_0x2f5ba7[a54_0x446884(0x114)]={},a54_0x2f5ba7[a54_0x446884(0x102)]=![],a54_0x2f5ba7[a54_0x446884(0x106)]=null,a54_0x2f5ba7[a54_0x446884(0x10d)]=![],a54_0x2f5ba7[a54_0x446884(0x114)]['id']=undefined,a54_0x2f5ba7[a54_0x446884(0x114)]['testInfo']=undefined;function a54_0x556d(_0x467e52,_0x44054d){const _0x1d3636=a54_0x1d36();return a54_0x556d=function(_0x556d4f,_0x9ef73){_0x556d4f=_0x556d4f-0xfa;let _0x22d018=_0x1d3636[_0x556d4f];return _0x22d018;},a54_0x556d(_0x467e52,_0x44054d);}const workerDetails=a54_0x2f5ba7;global[a54_0x446884(0xfa)]=workerDetails;let puppeteerPatcher=null;setKeepAlive();if(global[a54_0x446884(0x10e)])try{isBrowserstackInfra()?(global[a54_0x446884(0x12b)]=isTrue(global[a54_0x446884(0x10e)]?.['skipSessionName']),global[a54_0x446884(0x100)]=isTrue(global[a54_0x446884(0x10e)]?.['skipSessionStatus'])):(global[a54_0x446884(0x12b)]=!![],global['__skipSessionStatus']=!![]);const helper=require(a54_0x446884(0x11b)),puppeteerVersion=helper[a54_0x446884(0x108)]('puppeteer')||helper[a54_0x446884(0x108)](a54_0x446884(0x10b));if(puppeteerVersion)try{logger[a54_0x446884(0x125)](a54_0x446884(0x119)),puppeteerPatcher=require(a54_0x446884(0xfc)),puppeteerPatcher[a54_0x446884(0x126)](global['jestConfig']),logger['debug'](a54_0x446884(0x103));}catch(a54_0x42e51d){logger['debug'](a54_0x446884(0xff)+util[a54_0x446884(0x10f)](a54_0x42e51d));}if(puppeteerPatcher)try{const BrowserstackCLI=require(a54_0x446884(0x105)),CLIUtils=require(a54_0x446884(0x117)),{FRAMEWORKS}=require(a54_0x446884(0x11d));BrowserstackCLI[a54_0x446884(0x129)]()[a54_0x446884(0x118)]()&&(logger[a54_0x446884(0x125)](a54_0x446884(0x11c)),process[a54_0x446884(0x101)][a54_0x446884(0x115)]='true',CLIUtils[a54_0x446884(0x10c)](FRAMEWORKS['JEST'],FRAMEWORKS['PUPPETEER']),BrowserstackCLI[a54_0x446884(0x129)]()[a54_0x446884(0x113)]()[a54_0x446884(0x11f)](_0x2ace44=>{const _0x36f0c4=a54_0x446884;logger[_0x36f0c4(0x125)](_0x36f0c4(0xfd)+util['format'](_0x2ace44));}));}catch(a54_0x548e3b){logger[a54_0x446884(0x125)]('[PuppeteerTestSetup]\x20Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20'+util[a54_0x446884(0x10f)](a54_0x548e3b));}shouldProcessEventForTesthub()&&addRequestSpy(![]);}catch(a54_0xf09787){logger[a54_0x446884(0x125)](a54_0x446884(0x11e)+util[a54_0x446884(0x10f)](a54_0xf09787));}logger[a54_0x446884(0x125)](a54_0x446884(0x109));
1
+ const a54_0x4cde85=a54_0x2fe3;(function(_0x4315c3,_0x393bb3){const _0x5076ff=a54_0x2fe3,_0x1e773e=_0x4315c3();while(!![]){try{const _0x4577c3=parseInt(_0x5076ff(0x12d))/0x1+-parseInt(_0x5076ff(0x12c))/0x2+-parseInt(_0x5076ff(0x13c))/0x3+parseInt(_0x5076ff(0x11c))/0x4+parseInt(_0x5076ff(0x13a))/0x5+-parseInt(_0x5076ff(0x12a))/0x6*(parseInt(_0x5076ff(0x131))/0x7)+parseInt(_0x5076ff(0x112))/0x8;if(_0x4577c3===_0x393bb3)break;else _0x1e773e['push'](_0x1e773e['shift']());}catch(_0x417cf6){_0x1e773e['push'](_0x1e773e['shift']());}}}(a54_0x27a4,0xabcf5));const {isTrue,isBrowserstackInfra}=require(a54_0x4cde85(0x11a)),setKeepAlive=require(a54_0x4cde85(0x11d)),util=require(a54_0x4cde85(0x132)),logger=require(a54_0x4cde85(0x119))[a54_0x4cde85(0x117)],{shouldProcessEventForTesthub}=require(a54_0x4cde85(0x113)),{addRequestSpy}=require(a54_0x4cde85(0x120)),a54_0xa5ab26={};function a54_0x2fe3(_0x4d813d,_0x407450){const _0x27a498=a54_0x27a4();return a54_0x2fe3=function(_0x2fe3f6,_0x5a2c5f){_0x2fe3f6=_0x2fe3f6-0x111;let _0x31c9a0=_0x27a498[_0x2fe3f6];return _0x31c9a0;},a54_0x2fe3(_0x4d813d,_0x407450);}a54_0xa5ab26['workerInfo']=undefined,a54_0xa5ab26[a54_0x4cde85(0x134)]={},a54_0xa5ab26[a54_0x4cde85(0x137)]=![],a54_0xa5ab26['pwPage']=null,a54_0xa5ab26[a54_0x4cde85(0x12b)]=![],a54_0xa5ab26[a54_0x4cde85(0x134)]['id']=undefined,a54_0xa5ab26[a54_0x4cde85(0x134)][a54_0x4cde85(0x121)]=undefined;const workerDetails=a54_0xa5ab26;global[a54_0x4cde85(0x13e)]=workerDetails;function a54_0x27a4(){const _0xe7a39=['1045652KwslVs','JEST','__skipSessionStatus','env','957705nNdeCk','util','catch','currentTest','jestConfig','isCliEnabled','o11ySyncDone','format','getInstance','5407420pBuZeR','skipSessionName','3854424VZoqvP','../v2/cliUtils','__workerDetails','puppeteer','bootstrap','[PuppeteerTestSetup]\x20Error\x20reading\x20BrowserStack\x20config:\x20','setFrameworkDetail','192472OzqknO','../../helpers/testhub/utils','[PuppeteerTestSetup]\x20Error\x20initializing\x20Puppeteer\x20patching:\x20','debug','true','winstonLogger','../utils/constants','../../helpers/logger','../../helpers/helper','[PuppeteerTestSetup]\x20Patching\x20Puppeteer\x20for\x20Jest','4130132UlxXFW','../../helpers/setKeepAlive','skipSessionStatus','initializePuppeteerPatching','../../helpers/test-observability/utils','testInfo','__skipSessionName','[PuppeteerTestSetup]\x20Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20','[PuppeteerTestSetup]\x20Puppeteer\x20patching\x20initialized','BROWSERSTACK_PUPPETEER','[PuppeteerTestSetup]\x20Jest-Puppeteer\x20test\x20setup\x20completed','[PuppeteerTestSetup]\x20Bootstrapping\x20BrowserstackCLI\x20for\x20Jest\x20worker','getPackageVersion','../utils/puppeteer-patcher','36tBOODW','isPageFixture','748594tKqDFS'];a54_0x27a4=function(){return _0xe7a39;};return a54_0x27a4();}let puppeteerPatcher=null;setKeepAlive();if(global['jestConfig'])try{isBrowserstackInfra()?(global[a54_0x4cde85(0x122)]=isTrue(global[a54_0x4cde85(0x135)]?.[a54_0x4cde85(0x13b)]),global[a54_0x4cde85(0x12f)]=isTrue(global['jestConfig']?.[a54_0x4cde85(0x11e)])):(global[a54_0x4cde85(0x122)]=!![],global['__skipSessionStatus']=!![]);const helper=require('../../helpers/helper'),puppeteerVersion=helper[a54_0x4cde85(0x128)](a54_0x4cde85(0x13f))||helper[a54_0x4cde85(0x128)]('puppeteer-core');if(puppeteerVersion)try{logger[a54_0x4cde85(0x115)](a54_0x4cde85(0x11b)),puppeteerPatcher=require(a54_0x4cde85(0x129)),puppeteerPatcher[a54_0x4cde85(0x11f)](global[a54_0x4cde85(0x135)]),logger[a54_0x4cde85(0x115)](a54_0x4cde85(0x124));}catch(a54_0x42a966){logger['debug'](a54_0x4cde85(0x114)+util['format'](a54_0x42a966));}if(puppeteerPatcher)try{const BrowserstackCLI=require('../v2/browserstackCLI'),CLIUtils=require(a54_0x4cde85(0x13d)),{FRAMEWORKS}=require(a54_0x4cde85(0x118));BrowserstackCLI[a54_0x4cde85(0x139)]()[a54_0x4cde85(0x136)]()&&(logger[a54_0x4cde85(0x115)](a54_0x4cde85(0x127)),process[a54_0x4cde85(0x130)][a54_0x4cde85(0x125)]=a54_0x4cde85(0x116),CLIUtils[a54_0x4cde85(0x111)](FRAMEWORKS[a54_0x4cde85(0x12e)],FRAMEWORKS['PUPPETEER']),BrowserstackCLI[a54_0x4cde85(0x139)]()[a54_0x4cde85(0x140)]()[a54_0x4cde85(0x133)](_0x1105c2=>{const _0x32df81=a54_0x4cde85;logger[_0x32df81(0x115)]('[PuppeteerTestSetup]\x20Error\x20bootstrapping\x20BrowserstackCLI:\x20'+util[_0x32df81(0x138)](_0x1105c2));}));}catch(a54_0x2df34a){logger[a54_0x4cde85(0x115)](a54_0x4cde85(0x123)+util[a54_0x4cde85(0x138)](a54_0x2df34a));}shouldProcessEventForTesthub()&&addRequestSpy(![]);}catch(a54_0x342566){logger[a54_0x4cde85(0x115)](a54_0x4cde85(0x141)+util[a54_0x4cde85(0x138)](a54_0x342566));}logger[a54_0x4cde85(0x115)](a54_0x4cde85(0x126));
package/src/bin/runner.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a55_0x52190a=a55_0x4276;(function(_0x4a8e14,_0x5b4db0){const _0x3d27e2=a55_0x4276,_0x13a7c7=_0x4a8e14();while(!![]){try{const _0x287f09=-parseInt(_0x3d27e2(0x15f))/0x1*(parseInt(_0x3d27e2(0x172))/0x2)+-parseInt(_0x3d27e2(0x121))/0x3*(parseInt(_0x3d27e2(0x147))/0x4)+parseInt(_0x3d27e2(0x18c))/0x5+parseInt(_0x3d27e2(0x170))/0x6*(-parseInt(_0x3d27e2(0x177))/0x7)+-parseInt(_0x3d27e2(0x179))/0x8+parseInt(_0x3d27e2(0x190))/0x9+parseInt(_0x3d27e2(0x123))/0xa;if(_0x287f09===_0x5b4db0)break;else _0x13a7c7['push'](_0x13a7c7['shift']());}catch(_0x4eb8e0){_0x13a7c7['push'](_0x13a7c7['shift']());}}}(a55_0x25d4,0x86f01));const fs=require('fs'),path=require('path'),util=require(a55_0x52190a(0x12a)),spawn=require(a55_0x52190a(0x127))['spawn'],{requireModule}=require(a55_0x52190a(0x14b)),PerformanceTester=require('../helpers/performance/performance-tester'),PerformanceEvents=require(a55_0x52190a(0x195))[a55_0x52190a(0x192)],helper=require(a55_0x52190a(0x14b)),utilities=require(a55_0x52190a(0x144)),{default:BrowserStackSetup}=require(a55_0x52190a(0x1a8)),{FRAMEWORKS}=require('../helpers/test-observability/constants'),runIntegrations=require('./integrations/command'),yargs=require(a55_0x52190a(0x119)),Constants=require(a55_0x52190a(0x13d)),BrowserstackCLI=require(a55_0x52190a(0x193)),{isNewman}=require('./newman/helper'),logger=require('../helpers/logger')[a55_0x52190a(0x156)],origArgs=Object[a55_0x52190a(0x164)]([],process['argv']),captureError=async(_0x2d25a1,_0x2062e6,_0x1bf3a3,_0x342873=null,_0x59199a=![])=>{const _0x13b7dd=a55_0x52190a,_0x39ceb3={'MwoaE':function(_0x12ef7f,_0x5ea0b8,_0x3e5691,_0x499bd6){return _0x12ef7f(_0x5ea0b8,_0x3e5691,_0x499bd6);},'MRBdF':_0x13b7dd(0x130)};try{logger['info']('Running\x20SDK\x20with\x20args\x20'+origArgs['join']('\x20')),await _0x39ceb3[_0x13b7dd(0x122)](_0x2d25a1,_0x2062e6,_0x342873,_0x1bf3a3);}catch(_0x33ff7c){process[_0x13b7dd(0x185)]=0x1,logger[_0x13b7dd(0x1a5)](util[_0x13b7dd(0x134)](_0x33ff7c));const _0x35701b={'globalException':util[_0x13b7dd(0x134)]('%j',_0x33ff7c)};PerformanceTester[_0x13b7dd(0x14d)](PerformanceEvents[_0x13b7dd(0x1ae)],![],util['format'](_0x33ff7c));if(helper[_0x13b7dd(0x1b8)](global[_0x13b7dd(0x131)])&&helper['isUndefined'](global[_0x13b7dd(0x18f)]))return;try{utilities[_0x13b7dd(0x13a)](_0x39ceb3[_0x13b7dd(0x139)],_0x35701b,global[_0x13b7dd(0x131)],global[_0x13b7dd(0x18f)]);}catch(_0x47ace6){logger[_0x13b7dd(0x167)]('Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20'+_0x47ace6['stack']);}try{await helper[_0x13b7dd(0x173)](global[_0x13b7dd(0x131)]);}catch(_0x44a0bc){logger[_0x13b7dd(0x167)](_0x13b7dd(0x187)+_0x44a0bc[_0x13b7dd(0x159)]);}PerformanceTester[_0x13b7dd(0x14d)](PerformanceEvents[_0x13b7dd(0x1ae)],![],util[_0x13b7dd(0x134)](_0x33ff7c));}finally{!_0x59199a&&await BrowserstackCLI['getInstance']()[_0x13b7dd(0x18a)](),PerformanceTester[_0x13b7dd(0x141)](PerformanceEvents[_0x13b7dd(0x11a)]);}};try{const browserstackFolderPath=path[a55_0x52190a(0x15a)](helper[a55_0x52190a(0x13e)](),a55_0x52190a(0x14a));if(fs[a55_0x52190a(0x118)](browserstackFolderPath)){const filePath=path[a55_0x52190a(0x15a)](browserstackFolderPath,'.local-not-set.json');fs[a55_0x52190a(0x118)](filePath)&&fs[a55_0x52190a(0x1ab)](filePath);}}catch(a55_0x15d53a){logger['debug']('Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20'+a55_0x15d53a[a55_0x52190a(0x17d)]);}process[a55_0x52190a(0x15e)][a55_0x52190a(0x132)](a55_0x52190a(0x11d))&&(!process[a55_0x52190a(0x15e)]['includes']('--opts')&&process[a55_0x52190a(0x15e)][a55_0x52190a(0x19f)]('--no-opts'),!process[a55_0x52190a(0x15e)][a55_0x52190a(0x163)](_0xc2153f=>_0xc2153f[a55_0x52190a(0x132)]('--config'))&&process[a55_0x52190a(0x15e)][a55_0x52190a(0x19f)]('--no-config'),!process[a55_0x52190a(0x15e)]['includes']('--package')&&process[a55_0x52190a(0x15e)][a55_0x52190a(0x19f)](a55_0x52190a(0x19b)),helper[a55_0x52190a(0x138)](process[a55_0x52190a(0x15e)],a55_0x52190a(0x1a9),a55_0x52190a(0x191)));PerformanceTester['start'](PerformanceEvents['SDK_SETUP']);const a55_0x15dbc1={};function a55_0x25d4(){const _0x4b9653=['OhYDb','end','oFRBz','filter','wrap','showHelpOnFail','HST','./nightwatch/command','version','NIGHTWATCH','winstonLogger','getPwChannelLogPath','AcszQ','stack','join','pkkCC','setBrowserStackAutomationDisable','codeceptjs','argv','563501MTyFai','command','CUCUMBER','OIGxY','find','assign','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','PLAYWRIGHT','debug','-pw:channel','./cucumber-js/command','eaKlQ','PjxMj','pxrvR','pw:channel','CODECEPTJS','EZKYn','1665078hTpxDZ','Gkgpm','2SXFbcc','sendLogs','HzKBh','some','WBuTe','21KIboDw','load\x20[subcommand]','3644064YwqKjS','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','nightwatch','fjtvS','message','run','CRaBt','setTestObservabilityDisable','INTEGRATIONS','usage','TivFv','mocha/lib/cli/commands.js','exitCode','node','Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20','Runs\x20the\x20binary\x20with\x20load\x20command','vanilla','stop','disableAutoCaptureLogs','4067235kpMayE','exitProcess','mocha/lib/cli/cli.js','framework','1770975zLWYAB','--mochaRequire','EVENTS','./v2/browserstackCLI','./mocha/command','../helpers/performance/constants','cucumber-js','newman','AAama','HELP','ufSiv','--no-package','-pw:*','boolean','./playwright/command','push','DEBUG','TFENV','./newman/command','option','EKbfs','error','vxMXa','pOxpX','../helpers/BrowserStackSetup','--require','xABCS','unlinkSync','./vanilla-js/command','demandCommand','SDK_SETUP','YAhcx','gSBYV','env','xrlvd','INFO','MOCHA','split','describe','playwright','isUndefined','jest','fSUBz','handler','KwJoT','VERSION','existsSync','yargs','SDK_CLEANUP','strict','NEWMAN','mocha','dot-notation','JEST','Parsing\x20command\x20line\x20arguments','3RcIfII','MwoaE','17961200BcgJKn','jdsRO','../../ats/src/index','tixIu','child_process','getConfigPath','help','util','cOAcT','gyxmD','tsOLa','DEBUG_FILE','yibmF','SDKTestSuccessful','config','includes','alias','format','VANILLA','XbluW','WKTZm','findAndReplace','MRBdF','fireFunnelTestEvent','gbZZd','pw:channel\x20auto-capture\x20seed\x20failed:\x20','./utils/constants','homedir','vqrsS','WoIAS','start','slice','LKYEI','../helpers/utilities','pw:*','TCDQi','1608356nlbQrI','Vvpzq','mocha/lib/cli/run.js','.browserstack','../helpers/helper'];a55_0x25d4=function(){return _0x4b9653;};return a55_0x25d4();}a55_0x15dbc1[a55_0x52190a(0x11e)]=![];const argv=yargs['parserConfiguration'](a55_0x15dbc1)[a55_0x52190a(0x182)]('usage:\x20$0\x20<command>\x20[args]')[a55_0x52190a(0x133)]('v',a55_0x52190a(0x154))[a55_0x52190a(0x1b6)]('v')[a55_0x52190a(0x133)]('h',a55_0x52190a(0x129))[a55_0x52190a(0x129)](a55_0x52190a(0x129))[a55_0x52190a(0x151)](!![],Constants[a55_0x52190a(0x1bd)][a55_0x52190a(0x199)])[a55_0x52190a(0x160)]('jest',Constants[a55_0x52190a(0x11f)][a55_0x52190a(0x1b3)],function(_0x18ed4f){const _0x55d51c=a55_0x52190a,_0x5e1b8d={'Vvpzq':_0x55d51c(0x1b9),'xvYQL':function(_0x31c5d7,_0x3adc01,_0x1a11af,_0x43ac40,_0x4fbed0,_0x5f0534){return _0x31c5d7(_0x3adc01,_0x1a11af,_0x43ac40,_0x4fbed0,_0x5f0534);},'jdsRO':function(_0x37f061,_0xf570f3){return _0x37f061(_0xf570f3);},'EZKYn':'./jest/command'},_0x17156f=process[_0x55d51c(0x15e)][_0x55d51c(0x142)](0x2);helper[_0x55d51c(0x180)](),helper[_0x55d51c(0x15c)](),_0x18ed4f['strict'](![]);const _0x55c7ba=new BrowserStackSetup(_0x18ed4f[_0x55d51c(0x15e)],_0x5e1b8d[_0x55d51c(0x148)]);return _0x5e1b8d['xvYQL'](captureError,_0x5e1b8d[_0x55d51c(0x124)](require,_0x5e1b8d[_0x55d51c(0x16f)]),_0x18ed4f[_0x55d51c(0x15e)],_0x55c7ba,_0x17156f,!![]);})[a55_0x52190a(0x160)]('mocha',Constants[a55_0x52190a(0x1b4)][a55_0x52190a(0x1b3)],_0x5ca204=>{const _0x37107e=a55_0x52190a,_0x4ed67e={'TGuTa':function(_0x3ff5b0,_0x1ff274,_0x3ad72f,_0x4d558d){return _0x3ff5b0(_0x1ff274,_0x3ad72f,_0x4d558d);},'lItCm':function(_0x342d34,_0x4e618e){return _0x342d34(_0x4e618e);},'tsOLa':_0x37107e(0x194),'OIGxY':'mocha','tEDnl':_0x37107e(0x120),'AcszQ':function(_0x41a55f,_0x4bc5eb,_0x29110a){return _0x41a55f(_0x4bc5eb,_0x29110a);},'fjtvS':_0x37107e(0x149),'CbFzt':function(_0x320b84,_0x18c8fb,_0x1873c3){return _0x320b84(_0x18c8fb,_0x1873c3);},'YAhcx':_0x37107e(0x184),'EKbfs':_0x37107e(0x18e),'LKYEI':function(_0x5abade){return _0x5abade();}};process[_0x37107e(0x15e)]=process[_0x37107e(0x15e)][_0x37107e(0x142)](0x1),helper[_0x37107e(0x180)](),helper[_0x37107e(0x15c)]();const _0x5bcb44=new BrowserStackSetup(_0x5ca204[_0x37107e(0x15e)],_0x4ed67e[_0x37107e(0x162)]);logger[_0x37107e(0x167)](_0x4ed67e['tEDnl']);const _0x3440f2=_0x4ed67e[_0x37107e(0x158)](requireModule,_0x4ed67e[_0x37107e(0x17c)],_0x4ed67e[_0x37107e(0x162)]),_0xdb5094=_0x4ed67e['CbFzt'](requireModule,_0x4ed67e[_0x37107e(0x1af)],_0x4ed67e[_0x37107e(0x162)]);delete _0x3440f2[_0x37107e(0x1bb)],_0x3440f2[_0x37107e(0x1bb)]=function(_0x4f678c){const _0x58ecc1=_0x37107e;return _0x4ed67e['TGuTa'](captureError,_0x4ed67e['lItCm'](require,_0x4ed67e[_0x58ecc1(0x12d)]),_0x4f678c,_0x5bcb44);},_0xdb5094[_0x37107e(0x17e)]=_0x3440f2;const {main:_0x1ea4e8}=_0x4ed67e['AcszQ'](requireModule,_0x4ed67e[_0x37107e(0x1a4)],_0x4ed67e[_0x37107e(0x162)]);_0x4ed67e[_0x37107e(0x143)](_0x1ea4e8);})[a55_0x52190a(0x160)](a55_0x52190a(0x196),Constants[a55_0x52190a(0x161)][a55_0x52190a(0x1b3)],function(_0x299fc4){const _0x3db549=a55_0x52190a,_0x418db9={'PjxMj':'cucumber-js','xrlvd':function(_0x598409,_0x1bae60,_0x35612f,_0xac7132,_0x57fc89,_0x5100ed){return _0x598409(_0x1bae60,_0x35612f,_0xac7132,_0x57fc89,_0x5100ed);},'gyxmD':function(_0x24fb1e,_0x5a193c){return _0x24fb1e(_0x5a193c);},'vxMXa':_0x3db549(0x169)},_0x42f485=process[_0x3db549(0x15e)][_0x3db549(0x142)](0x2),_0x55730c=new BrowserStackSetup(_0x299fc4[_0x3db549(0x15e)],_0x418db9[_0x3db549(0x16b)]);return _0x418db9[_0x3db549(0x1b2)](captureError,_0x418db9[_0x3db549(0x12c)](require,_0x418db9[_0x3db549(0x1a6)]),_0x299fc4[_0x3db549(0x15e)],_0x55730c,_0x42f485,!![]);})['command'](a55_0x52190a(0x186),Constants[a55_0x52190a(0x135)][a55_0x52190a(0x1b3)],function(_0x5d919d){const _0x108594=a55_0x52190a,_0x1a3214={'tixIu':_0x108594(0x189),'cOAcT':function(_0x383c2f,_0x193eb2){return _0x383c2f(_0x193eb2);},'KwJoT':_0x108594(0x197),'NWyAn':function(_0x1031f1,_0x295bb0,_0x1d6aba,_0x54af8b,_0x478bfa){return _0x1031f1(_0x295bb0,_0x1d6aba,_0x54af8b,_0x478bfa);},'vqrsS':function(_0xdbd64f,_0x3998d3){return _0xdbd64f(_0x3998d3);},'fSUBz':'./newman/command','CRaBt':function(_0x30500a,_0x23afc9){return _0x30500a(_0x23afc9);},'TivFv':_0x108594(0x1ac)},_0x2cd2c8=process['argv'][_0x108594(0x142)](0x2),_0x5c9515=new BrowserStackSetup(_0x5d919d[_0x108594(0x15e)],_0x1a3214[_0x108594(0x126)]),_0x178950=_0x5c9515?_0x5c9515[_0x108594(0x131)]:null;if(_0x1a3214[_0x108594(0x12b)](isNewman,_0x178950))return _0x5c9515[_0x108594(0x18f)]=_0x1a3214[_0x108594(0x1bc)],global[_0x108594(0x18f)]=_0x1a3214[_0x108594(0x1bc)],_0x1a3214['NWyAn'](captureError,_0x1a3214[_0x108594(0x13f)](require,_0x1a3214[_0x108594(0x1ba)]),_0x5d919d[_0x108594(0x15e)],_0x5c9515,_0x2cd2c8);return _0x1a3214['NWyAn'](captureError,_0x1a3214[_0x108594(0x17f)](require,_0x1a3214[_0x108594(0x183)]),_0x5d919d[_0x108594(0x15e)],_0x5c9515,_0x2cd2c8);})[a55_0x52190a(0x160)](a55_0x52190a(0x17b),Constants[a55_0x52190a(0x155)]['INFO'],function(_0x30b6ef){const _0x5c3151=a55_0x52190a,_0x1d8ca3={'XbluW':function(_0x349e4e,_0x3221c4,_0x4e2aa8,_0x19774f,_0x3da2e6){return _0x349e4e(_0x3221c4,_0x4e2aa8,_0x19774f,_0x3da2e6);},'pOxpX':function(_0x20b14d,_0x459ee4){return _0x20b14d(_0x459ee4);},'pxrvR':_0x5c3151(0x153)},_0x186482=process[_0x5c3151(0x15e)]['slice'](0x2),_0x5f117b=new BrowserStackSetup(_0x30b6ef['argv']);return _0x1d8ca3[_0x5c3151(0x136)](captureError,_0x1d8ca3[_0x5c3151(0x1a7)](require,_0x1d8ca3[_0x5c3151(0x16c)]),_0x30b6ef[_0x5c3151(0x15e)],_0x5f117b,_0x186482);})[a55_0x52190a(0x160)]('codeceptjs',Constants[a55_0x52190a(0x16e)][a55_0x52190a(0x1b3)],function(_0x465b24){const _0xac7d33=a55_0x52190a,_0x2634ab={'UvCIB':_0xac7d33(0x15d),'pkkCC':function(_0x1d64e5,_0xd958dc,_0xde7add,_0x3eb20d,_0x1f24cd){return _0x1d64e5(_0xd958dc,_0xde7add,_0x3eb20d,_0x1f24cd);},'gbZZd':function(_0x3c6d81,_0x5a12ba){return _0x3c6d81(_0x5a12ba);},'TCDQi':'./codeceptjs/command'},_0xcd4b95=process[_0xac7d33(0x15e)][_0xac7d33(0x142)](0x2),_0x49c84c=new BrowserStackSetup(_0x465b24[_0xac7d33(0x15e)],_0x2634ab['UvCIB']);return _0x2634ab[_0xac7d33(0x15b)](captureError,_0x2634ab[_0xac7d33(0x13b)](require,_0x2634ab[_0xac7d33(0x146)]),_0x465b24[_0xac7d33(0x15e)],_0x49c84c,_0xcd4b95);})[a55_0x52190a(0x160)]('ats',Constants[a55_0x52190a(0x152)][a55_0x52190a(0x1b3)],function(_0x4604b8){const _0xc9358a=a55_0x52190a,_0x169cc2={'HzKBh':function(_0x153adf,_0x5d0437,_0x4337e0){return _0x153adf(_0x5d0437,_0x4337e0);},'OhYDb':function(_0x467e10,_0x439120){return _0x467e10(_0x439120);},'TFENV':_0xc9358a(0x125)},_0x11262a=process['argv'][_0xc9358a(0x142)](0x2);return _0x169cc2[_0xc9358a(0x174)](captureError,_0x169cc2[_0xc9358a(0x14c)](require,_0x169cc2[_0xc9358a(0x1a1)]),_0x4604b8);})[a55_0x52190a(0x160)]('integrations',Constants[a55_0x52190a(0x181)][a55_0x52190a(0x1b3)],function(_0x36feed){const _0x43d30f=a55_0x52190a,_0x5ac946={'eaKlQ':function(_0x43dbe1,_0x56e1c5){return _0x43dbe1(_0x56e1c5);}};return _0x5ac946[_0x43d30f(0x16a)](runIntegrations,_0x36feed);})['command'](a55_0x52190a(0x1b7),Constants[a55_0x52190a(0x166)][a55_0x52190a(0x1b3)],function(_0x671fbd){const _0x1f9227=a55_0x52190a,_0x20e9e0={'nUUgU':_0x1f9227(0x16d),'yibmF':function(_0x542631,_0x5c1a77){return _0x542631&&_0x5c1a77;},'WBuTe':function(_0x2b1fd8,_0x2b2963,_0x217931,_0x3a5f02,_0x3189ad,_0xf43914){return _0x2b1fd8(_0x2b2963,_0x217931,_0x3a5f02,_0x3189ad,_0xf43914);},'WKTZm':function(_0x53717e,_0x33f279){return _0x53717e(_0x33f279);},'Gkgpm':_0x1f9227(0x19e)},_0x3dd197=process['argv'][_0x1f9227(0x142)](0x2);helper[_0x1f9227(0x128)](process['argv'])&&(process['env']['BROWSERSTACK_CONFIG_FILE_PATH']=helper[_0x1f9227(0x128)](process['argv']));helper[_0x1f9227(0x180)](),helper['setBrowserStackAutomationDisable']();const _0x733f70=new BrowserStackSetup(_0x671fbd[_0x1f9227(0x15e)],FRAMEWORKS[_0x1f9227(0x166)]);try{if(!_0x733f70[_0x1f9227(0x131)]||!_0x733f70[_0x1f9227(0x131)][_0x1f9227(0x18b)]){const _0x30e743=_0x20e9e0['nUUgU'],_0x4542b8=process[_0x1f9227(0x1b1)][_0x1f9227(0x1a0)]||'',_0x424668=_0x4542b8[_0x1f9227(0x1b5)](',')['map'](_0x4f3213=>_0x4f3213['trim']())[_0x1f9227(0x14f)](Boolean),_0x4142f7=_0x424668[_0x1f9227(0x175)](_0x3b934b=>_0x3b934b===_0x1f9227(0x168)||_0x3b934b===_0x1f9227(0x19c)||_0x3b934b==='-*'),_0x36c8f5=_0x424668[_0x1f9227(0x175)](_0x2da52d=>_0x2da52d===_0x30e743||_0x2da52d===_0x1f9227(0x145)||_0x2da52d==='*');if(_0x20e9e0[_0x1f9227(0x12f)](!_0x4142f7,!_0x36c8f5)){const _0x4b9f7b=helper[_0x1f9227(0x157)]();_0x4b9f7b&&(process[_0x1f9227(0x1b1)][_0x1f9227(0x1a0)]=_0x4542b8?_0x4542b8+','+_0x30e743:_0x30e743,!process[_0x1f9227(0x1b1)][_0x1f9227(0x12e)]&&(process['env'][_0x1f9227(0x12e)]=_0x4b9f7b));}}}catch(_0x111186){logger['debug'](_0x1f9227(0x13c)+util[_0x1f9227(0x134)](_0x111186));}return _0x20e9e0[_0x1f9227(0x176)](captureError,_0x20e9e0[_0x1f9227(0x137)](require,_0x20e9e0[_0x1f9227(0x171)]),_0x671fbd[_0x1f9227(0x15e)],_0x733f70,_0x3dd197,!![]);})[a55_0x52190a(0x160)](a55_0x52190a(0x178),a55_0x52190a(0x188),function(_0x446a27){const _0x4db8e1=a55_0x52190a,_0x37c9dd={};_0x37c9dd[_0x4db8e1(0x140)]=_0x4db8e1(0x129),_0x37c9dd[_0x4db8e1(0x19a)]=_0x4db8e1(0x19d),_0x37c9dd['WUNtb']='Show\x20help';const _0x650990=_0x37c9dd;return _0x446a27[_0x4db8e1(0x129)](![])[_0x4db8e1(0x1a3)](_0x650990['WoIAS'],{'alias':'h','type':_0x650990[_0x4db8e1(0x19a)],'describe':_0x650990['WUNtb']})[_0x4db8e1(0x11b)](![])[_0x4db8e1(0x18d)](![]);},function(_0x1bf6c1){const _0x4b6f3b=a55_0x52190a,_0x4513c6={'oFRBz':function(_0x1cd16d,_0x282e68,_0xb4048d){return _0x1cd16d(_0x282e68,_0xb4048d);},'AAama':function(_0x30ecb2,_0x4bf48e){return _0x30ecb2(_0x4bf48e);},'smoWs':'./load/index'},_0x454bf0={};return _0x454bf0['argv']=_0x1bf6c1,_0x4513c6[_0x4b6f3b(0x14e)](captureError,_0x4513c6[_0x4b6f3b(0x198)](require,_0x4513c6['smoWs']),_0x454bf0);})['command']('newman',Constants[a55_0x52190a(0x11c)][a55_0x52190a(0x1b3)],function(_0xc6e964){const _0x27347f=a55_0x52190a,_0x82694d={'aBlkS':_0x27347f(0x197),'HqzSD':function(_0x47bcde,_0x26341e,_0xcbe305,_0x428118,_0x589beb){return _0x47bcde(_0x26341e,_0xcbe305,_0x428118,_0x589beb);},'xABCS':function(_0x4b3457,_0x276652){return _0x4b3457(_0x276652);},'gSBYV':_0x27347f(0x1a2)},_0x33250e=process[_0x27347f(0x15e)][_0x27347f(0x142)](0x2);helper[_0x27347f(0x180)](),helper[_0x27347f(0x15c)](),_0xc6e964[_0x27347f(0x11b)](![]);const _0xdb9b90=new BrowserStackSetup(_0xc6e964['argv'],_0x82694d['aBlkS']);return _0x82694d['HqzSD'](captureError,_0x82694d[_0x27347f(0x1aa)](require,_0x82694d[_0x27347f(0x1b0)]),_0xc6e964['argv'],_0xdb9b90,_0x33250e);})[a55_0x52190a(0x1ad)](0x1,a55_0x52190a(0x165))[a55_0x52190a(0x150)](null)[a55_0x52190a(0x15e)];function a55_0x4276(_0xd03621,_0x509199){const _0x25d4de=a55_0x25d4();return a55_0x4276=function(_0x427657,_0x4c970a){_0x427657=_0x427657-0x118;let _0x35b3f3=_0x25d4de[_0x427657];return _0x35b3f3;},a55_0x4276(_0xd03621,_0x509199);}!helper[a55_0x52190a(0x1b8)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!=='ats'&&console[a55_0x52190a(0x1a5)](a55_0x52190a(0x17a));
2
+ 'use strict';const a55_0x2b078e=a55_0xeedc;(function(_0x288570,_0x254852){const _0x3c12dd=a55_0xeedc,_0x4755a0=_0x288570();while(!![]){try{const _0x34f22b=-parseInt(_0x3c12dd(0x21a))/0x1+-parseInt(_0x3c12dd(0x245))/0x2*(-parseInt(_0x3c12dd(0x1ed))/0x3)+-parseInt(_0x3c12dd(0x247))/0x4*(-parseInt(_0x3c12dd(0x23e))/0x5)+-parseInt(_0x3c12dd(0x1d0))/0x6*(parseInt(_0x3c12dd(0x21f))/0x7)+parseInt(_0x3c12dd(0x22e))/0x8+parseInt(_0x3c12dd(0x205))/0x9*(parseInt(_0x3c12dd(0x201))/0xa)+-parseInt(_0x3c12dd(0x1fe))/0xb*(parseInt(_0x3c12dd(0x1f6))/0xc);if(_0x34f22b===_0x254852)break;else _0x4755a0['push'](_0x4755a0['shift']());}catch(_0x406e13){_0x4755a0['push'](_0x4755a0['shift']());}}}(a55_0x19e1,0xeea12));const fs=require('fs'),path=require(a55_0x2b078e(0x215)),util=require(a55_0x2b078e(0x1fd)),spawn=require(a55_0x2b078e(0x1c4))['spawn'],{requireModule}=require(a55_0x2b078e(0x235)),PerformanceTester=require(a55_0x2b078e(0x233)),PerformanceEvents=require(a55_0x2b078e(0x1ee))['EVENTS'],helper=require(a55_0x2b078e(0x235)),utilities=require(a55_0x2b078e(0x1d4)),{default:BrowserStackSetup}=require(a55_0x2b078e(0x1dc)),{FRAMEWORKS}=require('../helpers/test-observability/constants'),runIntegrations=require(a55_0x2b078e(0x1fc)),yargs=require(a55_0x2b078e(0x21c)),Constants=require('./utils/constants'),BrowserstackCLI=require(a55_0x2b078e(0x210)),{isNewman}=require(a55_0x2b078e(0x224)),logger=require(a55_0x2b078e(0x1f9))['winstonLogger'],origArgs=Object[a55_0x2b078e(0x1b7)]([],process[a55_0x2b078e(0x1e9)]),captureError=async(_0x12e7c9,_0x128180,_0x27e27f,_0x51287a=null,_0x1dbedc=![])=>{const _0x59a9d4=a55_0x2b078e,_0x1e7bfc={'GLRtG':function(_0x2316f4,_0x81fce2,_0x3077b7,_0x4c5433){return _0x2316f4(_0x81fce2,_0x3077b7,_0x4c5433);},'kueQY':_0x59a9d4(0x228)};try{logger[_0x59a9d4(0x1c5)](_0x59a9d4(0x22f)+origArgs[_0x59a9d4(0x220)]('\x20')),await _0x1e7bfc[_0x59a9d4(0x251)](_0x12e7c9,_0x128180,_0x51287a,_0x27e27f);}catch(_0x2fd8f0){process['exitCode']=0x1,logger['error'](util[_0x59a9d4(0x1d7)](_0x2fd8f0));const _0x107958={'globalException':util['format']('%j',_0x2fd8f0)};PerformanceTester['end'](PerformanceEvents['SDK_SETUP'],![],util[_0x59a9d4(0x1d7)](_0x2fd8f0));if(helper[_0x59a9d4(0x1fb)](global['config'])&&helper[_0x59a9d4(0x1fb)](global[_0x59a9d4(0x1b4)]))return;try{utilities['fireFunnelTestEvent'](_0x1e7bfc[_0x59a9d4(0x1e0)],_0x107958,global[_0x59a9d4(0x234)],global[_0x59a9d4(0x1b4)]);}catch(_0x4d7833){logger[_0x59a9d4(0x1f7)](_0x59a9d4(0x209)+_0x4d7833[_0x59a9d4(0x1e6)]);}try{await helper[_0x59a9d4(0x24d)](global[_0x59a9d4(0x234)]);}catch(_0xa05054){logger[_0x59a9d4(0x1f7)](_0x59a9d4(0x202)+_0xa05054[_0x59a9d4(0x1e6)]);}PerformanceTester['end'](PerformanceEvents['SDK_SETUP'],![],util[_0x59a9d4(0x1d7)](_0x2fd8f0));}finally{!_0x1dbedc&&await BrowserstackCLI['getInstance']()[_0x59a9d4(0x1f8)](),PerformanceTester['start'](PerformanceEvents[_0x59a9d4(0x244)]);}};try{const browserstackFolderPath=path[a55_0x2b078e(0x220)](helper['homedir'](),'.browserstack');if(fs[a55_0x2b078e(0x24a)](browserstackFolderPath)){const filePath=path[a55_0x2b078e(0x220)](browserstackFolderPath,'.local-not-set.json');fs[a55_0x2b078e(0x24a)](filePath)&&fs[a55_0x2b078e(0x1cb)](filePath);}}catch(a55_0x2f9bb9){logger[a55_0x2b078e(0x1f7)](a55_0x2b078e(0x1c3)+a55_0x2f9bb9[a55_0x2b078e(0x1fa)]);}process[a55_0x2b078e(0x1e9)][a55_0x2b078e(0x23b)](a55_0x2b078e(0x1d8))&&(!process[a55_0x2b078e(0x1e9)]['includes'](a55_0x2b078e(0x1e5))&&process['argv'][a55_0x2b078e(0x236)](a55_0x2b078e(0x24c)),!process[a55_0x2b078e(0x1e9)][a55_0x2b078e(0x1bd)](_0x7579ee=>_0x7579ee[a55_0x2b078e(0x23b)]('--config'))&&process[a55_0x2b078e(0x1e9)][a55_0x2b078e(0x236)]('--no-config'),!process[a55_0x2b078e(0x1e9)][a55_0x2b078e(0x23b)](a55_0x2b078e(0x1bb))&&process[a55_0x2b078e(0x1e9)][a55_0x2b078e(0x236)](a55_0x2b078e(0x1e4)),helper[a55_0x2b078e(0x1df)](process[a55_0x2b078e(0x1e9)],a55_0x2b078e(0x218),a55_0x2b078e(0x1d5)));function a55_0x19e1(){const _0x24398e=['./load/index','BROWSERSTACK_CONFIG_FILE_PATH','uBUst','GLRtG','Runs\x20the\x20binary\x20with\x20load\x20command','MOCHA','version','setTestObservabilityDisable','vTLyp','newman','fIgaV','framework','DEBUG','PVdSp','assign','setBrowserStackAutomationDisable','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','load\x20[subcommand]','--package','NIGHTWATCH','find','epAYr','nightwatch','VERSION','usage:\x20$0\x20<command>\x20[args]','integrations','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','child_process','info','OCAyo','csQkq','wrap','dot-notation','map','unlinkSync','mocha/lib/cli/commands.js','./nightwatch/command','qomou','slice','6IeMMVy','RaCNE','./playwright/command','codeceptjs','../helpers/utilities','--mochaRequire','PUJvf','format','mocha','hhOAa','disableAutoCaptureLogs','jest','../helpers/BrowserStackSetup','strict','mocha/lib/cli/cli.js','findAndReplace','kueQY','dxqAx','XYwaa','./codeceptjs/command','--no-package','--opts','stack','AAapr','trim','argv','iAnaL','Show\x20help','option','66351CiItQs','../helpers/performance/constants','some','vanilla','WOshy','./vanilla-js/command','pw:channel\x20auto-capture\x20seed\x20failed:\x20','node','getPwChannelLogPath','7819236qECagU','debug','stop','../helpers/logger','message','isUndefined','./integrations/command','util','33uPMMyO','command','showHelpOnFail','18536670qDBzrx','Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20','playwright','hZsWq','9QxOIrE','help','run','PLAYWRIGHT','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','-pw:channel','./jest/command','hgLgk','FbuAb','./mocha/command','YMwyK','./v2/browserstackCLI','start','mocha/lib/cli/run.js','env','CUCUMBER','path','FqAfQ','alias','--require','Parsing\x20command\x20line\x20arguments','112490WybSxP','boolean','yargs','XwjVP','bRrtK','12599146RCdPCm','join','yCiQB','SDK_SETUP','INTEGRATIONS','./newman/helper','../../ats/src/index','xLGwn','parserConfiguration','SDKTestSuccessful','swWLB','UWPHL','ooHks','CpiND','filter','7312800Ldoekv','Running\x20SDK\x20with\x20args\x20','XWTIt','qJQue','CODECEPTJS','../helpers/performance/performance-tester','config','../helpers/helper','push','ilcQX','zQwbI','handler','cucumber-js','includes','JEST','INFO','5ukeiWj','mOnKM','getConfigPath','GowRr','error','tOnFD','SDK_CLEANUP','38pemqVE','./newman/command','6626452mAsQVm','./cucumber-js/command','gxzwg','existsSync','ats','--no-opts','sendLogs'];a55_0x19e1=function(){return _0x24398e;};return a55_0x19e1();}PerformanceTester[a55_0x2b078e(0x211)](PerformanceEvents[a55_0x2b078e(0x222)]);function a55_0xeedc(_0x3ddcd1,_0x24bc75){const _0x19e124=a55_0x19e1();return a55_0xeedc=function(_0xeedcaa,_0x157ef2){_0xeedcaa=_0xeedcaa-0x1b4;let _0x28189e=_0x19e124[_0xeedcaa];return _0x28189e;},a55_0xeedc(_0x3ddcd1,_0x24bc75);}const a55_0x2642dc={};a55_0x2642dc[a55_0x2b078e(0x1c9)]=![];const argv=yargs[a55_0x2b078e(0x227)](a55_0x2642dc)['usage'](a55_0x2b078e(0x1c1))[a55_0x2b078e(0x217)]('v',a55_0x2b078e(0x254))['describe']('v')[a55_0x2b078e(0x217)]('h',a55_0x2b078e(0x206))['help'](a55_0x2b078e(0x206))[a55_0x2b078e(0x200)](!![],Constants[a55_0x2b078e(0x1c0)]['HELP'])['command'](a55_0x2b078e(0x1db),Constants[a55_0x2b078e(0x23c)][a55_0x2b078e(0x23d)],function(_0x2b16b7){const _0x1b9bd3=a55_0x2b078e,_0x41e05f={'XYwaa':_0x1b9bd3(0x1db),'ilcQX':function(_0x41bde8,_0x1e1763,_0x45974e,_0x25e9f2,_0x2c0c10,_0x93be80){return _0x41bde8(_0x1e1763,_0x45974e,_0x25e9f2,_0x2c0c10,_0x93be80);},'qJQue':function(_0x261d13,_0x112d72){return _0x261d13(_0x112d72);},'dxqAx':_0x1b9bd3(0x20b)},_0x598bca=process[_0x1b9bd3(0x1e9)]['slice'](0x2);helper[_0x1b9bd3(0x255)](),helper['setBrowserStackAutomationDisable'](),_0x2b16b7[_0x1b9bd3(0x1dd)](![]);const _0x396514=new BrowserStackSetup(_0x2b16b7[_0x1b9bd3(0x1e9)],_0x41e05f[_0x1b9bd3(0x1e2)]);return _0x41e05f[_0x1b9bd3(0x237)](captureError,_0x41e05f[_0x1b9bd3(0x231)](require,_0x41e05f[_0x1b9bd3(0x1e1)]),_0x2b16b7[_0x1b9bd3(0x1e9)],_0x396514,_0x598bca,!![]);})[a55_0x2b078e(0x1ff)](a55_0x2b078e(0x1d8),Constants[a55_0x2b078e(0x253)][a55_0x2b078e(0x23d)],_0x59a055=>{const _0x28c9a4=a55_0x2b078e,_0x28f16c={'npnNF':function(_0x4e4baa,_0x819bba,_0x3d4818,_0x13c4e2){return _0x4e4baa(_0x819bba,_0x3d4818,_0x13c4e2);},'gxzwg':function(_0x2aea62,_0x33f9b1){return _0x2aea62(_0x33f9b1);},'LQWdv':_0x28c9a4(0x20e),'FqAfQ':_0x28c9a4(0x1d8),'FbuAb':_0x28c9a4(0x219),'xLGwn':function(_0x159eb9,_0x1a6bd6,_0x4bf10e){return _0x159eb9(_0x1a6bd6,_0x4bf10e);},'XwjVP':_0x28c9a4(0x212),'UWPHL':function(_0x26700a,_0x33cb3b,_0x49d850){return _0x26700a(_0x33cb3b,_0x49d850);},'GowRr':_0x28c9a4(0x1cc),'vTLyp':function(_0x10f62e,_0x289788,_0x40299d){return _0x10f62e(_0x289788,_0x40299d);},'OCAyo':_0x28c9a4(0x1de),'NnWjm':function(_0x36d5b4){return _0x36d5b4();}};process[_0x28c9a4(0x1e9)]=process[_0x28c9a4(0x1e9)][_0x28c9a4(0x1cf)](0x1),helper[_0x28c9a4(0x255)](),helper[_0x28c9a4(0x1b8)]();const _0x52bc24=new BrowserStackSetup(_0x59a055[_0x28c9a4(0x1e9)],_0x28f16c[_0x28c9a4(0x216)]);logger[_0x28c9a4(0x1f7)](_0x28f16c[_0x28c9a4(0x20d)]);const _0x38e9e2=_0x28f16c[_0x28c9a4(0x226)](requireModule,_0x28f16c[_0x28c9a4(0x21d)],_0x28f16c[_0x28c9a4(0x216)]),_0x3dc95f=_0x28f16c[_0x28c9a4(0x22a)](requireModule,_0x28f16c[_0x28c9a4(0x241)],_0x28f16c[_0x28c9a4(0x216)]);delete _0x38e9e2['handler'],_0x38e9e2[_0x28c9a4(0x239)]=function(_0x3ecaba){const _0x27ce6d=_0x28c9a4;return _0x28f16c['npnNF'](captureError,_0x28f16c[_0x27ce6d(0x249)](require,_0x28f16c['LQWdv']),_0x3ecaba,_0x52bc24);},_0x3dc95f[_0x28c9a4(0x207)]=_0x38e9e2;const {main:_0x371f8d}=_0x28f16c[_0x28c9a4(0x256)](requireModule,_0x28f16c[_0x28c9a4(0x1c6)],_0x28f16c[_0x28c9a4(0x216)]);_0x28f16c['NnWjm'](_0x371f8d);})[a55_0x2b078e(0x1ff)](a55_0x2b078e(0x23a),Constants[a55_0x2b078e(0x214)][a55_0x2b078e(0x23d)],function(_0x227e53){const _0x92eff9=a55_0x2b078e,_0x4a7227={'QwnOJ':_0x92eff9(0x23a),'uqsRi':function(_0x48229e,_0x2c0991,_0x5532b0,_0x122e43,_0x240c76,_0xe2b95d){return _0x48229e(_0x2c0991,_0x5532b0,_0x122e43,_0x240c76,_0xe2b95d);},'FAyPu':function(_0x837e5f,_0x5aef6a){return _0x837e5f(_0x5aef6a);},'RaCNE':_0x92eff9(0x248)},_0x3c830a=process[_0x92eff9(0x1e9)]['slice'](0x2),_0x44fdcf=new BrowserStackSetup(_0x227e53[_0x92eff9(0x1e9)],_0x4a7227['QwnOJ']);return _0x4a7227['uqsRi'](captureError,_0x4a7227['FAyPu'](require,_0x4a7227[_0x92eff9(0x1d1)]),_0x227e53[_0x92eff9(0x1e9)],_0x44fdcf,_0x3c830a,!![]);})[a55_0x2b078e(0x1ff)](a55_0x2b078e(0x1f4),Constants['VANILLA'][a55_0x2b078e(0x23d)],function(_0x2140ef){const _0xacb4d8=a55_0x2b078e,_0x2e1da8={'cyrhq':_0xacb4d8(0x1f0),'fIgaV':function(_0x2f84a8,_0x462045){return _0x2f84a8(_0x462045);},'bRrtK':'newman','swWLB':function(_0x2c3f8b,_0x487db8,_0x2f10c6,_0x2d55a5,_0x1c00d5){return _0x2c3f8b(_0x487db8,_0x2f10c6,_0x2d55a5,_0x1c00d5);},'BGibh':function(_0x10e245,_0x28482e){return _0x10e245(_0x28482e);},'PVdSp':_0xacb4d8(0x246),'IuXZM':function(_0x531cb1,_0x232b8d){return _0x531cb1(_0x232b8d);},'hhOAa':_0xacb4d8(0x1f2)},_0xdae6f2=process[_0xacb4d8(0x1e9)][_0xacb4d8(0x1cf)](0x2),_0x99792=new BrowserStackSetup(_0x2140ef['argv'],_0x2e1da8['cyrhq']),_0x2314f0=_0x99792?_0x99792['config']:null;if(_0x2e1da8[_0xacb4d8(0x258)](isNewman,_0x2314f0))return _0x99792[_0xacb4d8(0x1b4)]=_0x2e1da8[_0xacb4d8(0x21e)],global[_0xacb4d8(0x1b4)]=_0x2e1da8['bRrtK'],_0x2e1da8[_0xacb4d8(0x229)](captureError,_0x2e1da8['BGibh'](require,_0x2e1da8[_0xacb4d8(0x1b6)]),_0x2140ef[_0xacb4d8(0x1e9)],_0x99792,_0xdae6f2);return _0x2e1da8[_0xacb4d8(0x229)](captureError,_0x2e1da8['IuXZM'](require,_0x2e1da8[_0xacb4d8(0x1d9)]),_0x2140ef[_0xacb4d8(0x1e9)],_0x99792,_0xdae6f2);})['command'](a55_0x2b078e(0x1bf),Constants[a55_0x2b078e(0x1bc)][a55_0x2b078e(0x23d)],function(_0x1c8db6){const _0x3af5fc=a55_0x2b078e,_0x3445aa={'mOnKM':function(_0x4ce0d1,_0x158835,_0x48fb9d,_0x19e3df,_0xa789fb){return _0x4ce0d1(_0x158835,_0x48fb9d,_0x19e3df,_0xa789fb);},'amISU':function(_0x1597a4,_0x11b61e){return _0x1597a4(_0x11b61e);},'WOshy':_0x3af5fc(0x1cd)},_0x515fda=process[_0x3af5fc(0x1e9)][_0x3af5fc(0x1cf)](0x2),_0x23f8aa=new BrowserStackSetup(_0x1c8db6[_0x3af5fc(0x1e9)]);return _0x3445aa[_0x3af5fc(0x23f)](captureError,_0x3445aa['amISU'](require,_0x3445aa[_0x3af5fc(0x1f1)]),_0x1c8db6[_0x3af5fc(0x1e9)],_0x23f8aa,_0x515fda);})['command'](a55_0x2b078e(0x1d3),Constants[a55_0x2b078e(0x232)][a55_0x2b078e(0x23d)],function(_0x3f4d5c){const _0x40d066=a55_0x2b078e,_0x5400b0={'CpiND':'codeceptjs','tOnFD':function(_0x43b254,_0x4396f0,_0x5918d7,_0xd0c951,_0x2df4eb){return _0x43b254(_0x4396f0,_0x5918d7,_0xd0c951,_0x2df4eb);},'iAnaL':function(_0x1bdb03,_0x2e3bae){return _0x1bdb03(_0x2e3bae);},'PUJvf':_0x40d066(0x1e3)},_0x54b77d=process[_0x40d066(0x1e9)][_0x40d066(0x1cf)](0x2),_0x19222c=new BrowserStackSetup(_0x3f4d5c['argv'],_0x5400b0[_0x40d066(0x22c)]);return _0x5400b0[_0x40d066(0x243)](captureError,_0x5400b0[_0x40d066(0x1ea)](require,_0x5400b0[_0x40d066(0x1d6)]),_0x3f4d5c[_0x40d066(0x1e9)],_0x19222c,_0x54b77d);})[a55_0x2b078e(0x1ff)](a55_0x2b078e(0x24b),Constants['HST'][a55_0x2b078e(0x23d)],function(_0x518320){const _0x1ab775=a55_0x2b078e,_0x51140e={'GLBPQ':function(_0x48e5cd,_0x56ef1f,_0x289080){return _0x48e5cd(_0x56ef1f,_0x289080);},'GDQGO':function(_0x515c01,_0x2f1179){return _0x515c01(_0x2f1179);},'XWTIt':_0x1ab775(0x225)},_0x2d76d7=process[_0x1ab775(0x1e9)][_0x1ab775(0x1cf)](0x2);return _0x51140e['GLBPQ'](captureError,_0x51140e['GDQGO'](require,_0x51140e[_0x1ab775(0x230)]),_0x518320);})[a55_0x2b078e(0x1ff)](a55_0x2b078e(0x1c2),Constants[a55_0x2b078e(0x223)][a55_0x2b078e(0x23d)],function(_0x3c9285){const _0xb0d18c={'rMEKS':function(_0x3da756,_0x4ec546){return _0x3da756(_0x4ec546);}};return _0xb0d18c['rMEKS'](runIntegrations,_0x3c9285);})[a55_0x2b078e(0x1ff)](a55_0x2b078e(0x203),Constants['PLAYWRIGHT'][a55_0x2b078e(0x23d)],function(_0x10038d){const _0x5e48ad=a55_0x2b078e,_0xddbce1={'yCiQB':'pw:channel','wXFaU':function(_0x308676,_0x57acd4){return _0x308676&&_0x57acd4;},'ooHks':function(_0x107bc2,_0x1e5d48,_0xe8e6fd,_0xd62976,_0x1bdab7,_0x1421a3){return _0x107bc2(_0x1e5d48,_0xe8e6fd,_0xd62976,_0x1bdab7,_0x1421a3);},'epAYr':function(_0x3540f5,_0xb4f45e){return _0x3540f5(_0xb4f45e);},'qomou':_0x5e48ad(0x1d2)},_0x28015e=process['argv']['slice'](0x2);helper['getConfigPath'](process[_0x5e48ad(0x1e9)])&&(process[_0x5e48ad(0x213)][_0x5e48ad(0x24f)]=helper[_0x5e48ad(0x240)](process[_0x5e48ad(0x1e9)]));helper[_0x5e48ad(0x255)](),helper[_0x5e48ad(0x1b8)]();const _0x35c24d=new BrowserStackSetup(_0x10038d[_0x5e48ad(0x1e9)],FRAMEWORKS[_0x5e48ad(0x208)]);try{if(!_0x35c24d[_0x5e48ad(0x234)]||!_0x35c24d[_0x5e48ad(0x234)][_0x5e48ad(0x1da)]){const _0x510dce=_0xddbce1[_0x5e48ad(0x221)],_0x31a8aa=process['env']['DEBUG']||'',_0xf28a7=_0x31a8aa['split'](',')[_0x5e48ad(0x1ca)](_0x29f61c=>_0x29f61c[_0x5e48ad(0x1e8)]())[_0x5e48ad(0x22d)](Boolean),_0x1a843e=_0xf28a7[_0x5e48ad(0x1ef)](_0x276679=>_0x276679===_0x5e48ad(0x20a)||_0x276679==='-pw:*'||_0x276679==='-*'),_0x532190=_0xf28a7['some'](_0x202668=>_0x202668===_0x510dce||_0x202668==='pw:*'||_0x202668==='*');if(_0xddbce1['wXFaU'](!_0x1a843e,!_0x532190)){const _0x536869=helper[_0x5e48ad(0x1f5)]();_0x536869&&(process['env'][_0x5e48ad(0x1b5)]=_0x31a8aa?_0x31a8aa+','+_0x510dce:_0x510dce,!process[_0x5e48ad(0x213)]['DEBUG_FILE']&&(process['env']['DEBUG_FILE']=_0x536869));}}}catch(_0x31b7d3){logger[_0x5e48ad(0x1f7)](_0x5e48ad(0x1f3)+util['format'](_0x31b7d3));}return _0xddbce1[_0x5e48ad(0x22b)](captureError,_0xddbce1[_0x5e48ad(0x1be)](require,_0xddbce1[_0x5e48ad(0x1ce)]),_0x10038d[_0x5e48ad(0x1e9)],_0x35c24d,_0x28015e,!![]);})['command'](a55_0x2b078e(0x1ba),a55_0x2b078e(0x252),function(_0x310b22){const _0x3bb184=a55_0x2b078e,_0x278852={};_0x278852[_0x3bb184(0x20f)]=_0x3bb184(0x206),_0x278852[_0x3bb184(0x1e7)]=_0x3bb184(0x21b),_0x278852['BsXVk']=_0x3bb184(0x1eb);const _0xa39185=_0x278852;return _0x310b22[_0x3bb184(0x206)](![])[_0x3bb184(0x1ec)](_0xa39185[_0x3bb184(0x20f)],{'alias':'h','type':_0xa39185[_0x3bb184(0x1e7)],'describe':_0xa39185['BsXVk']})['strict'](![])['exitProcess'](![]);},function(_0xaa0dee){const _0x21862f=a55_0x2b078e,_0x536bd0={'hZsWq':function(_0x17c06e,_0x3dff82,_0x58012e){return _0x17c06e(_0x3dff82,_0x58012e);},'csQkq':function(_0x28586c,_0x50a97a){return _0x28586c(_0x50a97a);},'CNnKu':_0x21862f(0x24e)},_0x5f1631={};return _0x5f1631[_0x21862f(0x1e9)]=_0xaa0dee,_0x536bd0[_0x21862f(0x204)](captureError,_0x536bd0[_0x21862f(0x1c7)](require,_0x536bd0['CNnKu']),_0x5f1631);})['command'](a55_0x2b078e(0x257),Constants['NEWMAN'][a55_0x2b078e(0x23d)],function(_0x45d545){const _0xfee06c=a55_0x2b078e,_0x17e30d={'uBUst':_0xfee06c(0x257),'PSciH':function(_0x3f9ad9,_0x2c4f17,_0x1e9c17,_0x5562d0,_0x2d13e4){return _0x3f9ad9(_0x2c4f17,_0x1e9c17,_0x5562d0,_0x2d13e4);},'zQwbI':function(_0xc6368b,_0x4b1bda){return _0xc6368b(_0x4b1bda);},'hgLgk':_0xfee06c(0x246)},_0x1e32b8=process[_0xfee06c(0x1e9)]['slice'](0x2);helper['setTestObservabilityDisable'](),helper['setBrowserStackAutomationDisable'](),_0x45d545['strict'](![]);const _0x4a49d2=new BrowserStackSetup(_0x45d545[_0xfee06c(0x1e9)],_0x17e30d[_0xfee06c(0x250)]);return _0x17e30d['PSciH'](captureError,_0x17e30d[_0xfee06c(0x238)](require,_0x17e30d[_0xfee06c(0x20c)]),_0x45d545[_0xfee06c(0x1e9)],_0x4a49d2,_0x1e32b8);})['demandCommand'](0x1,'You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.')[a55_0x2b078e(0x1c8)](null)[a55_0x2b078e(0x1e9)];!helper['isUndefined'](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a55_0x2b078e(0x24b)&&console[a55_0x2b078e(0x242)](a55_0x2b078e(0x1b9));
package/src/bin/setup.js CHANGED
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- const a56_0x1381e7=a56_0x40a9;function a56_0x40a9(_0x32df34,_0x1244ed){const _0x554858=a56_0x5548();return a56_0x40a9=function(_0x40a949,_0x3d508d){_0x40a949=_0x40a949-0x1c9;let _0x47823d=_0x554858[_0x40a949];return _0x47823d;},a56_0x40a9(_0x32df34,_0x1244ed);}(function(_0x163a9a,_0x402213){const _0x5e767d=a56_0x40a9,_0x357b2c=_0x163a9a();while(!![]){try{const _0x145dfe=parseInt(_0x5e767d(0x1cb))/0x1*(parseInt(_0x5e767d(0x1e8))/0x2)+parseInt(_0x5e767d(0x20b))/0x3+parseInt(_0x5e767d(0x20e))/0x4*(-parseInt(_0x5e767d(0x1de))/0x5)+parseInt(_0x5e767d(0x1ff))/0x6+-parseInt(_0x5e767d(0x1f1))/0x7*(-parseInt(_0x5e767d(0x1f3))/0x8)+parseInt(_0x5e767d(0x1cf))/0x9*(parseInt(_0x5e767d(0x1eb))/0xa)+-parseInt(_0x5e767d(0x207))/0xb*(parseInt(_0x5e767d(0x1e3))/0xc);if(_0x145dfe===_0x402213)break;else _0x357b2c['push'](_0x357b2c['shift']());}catch(_0x43cd11){_0x357b2c['push'](_0x357b2c['shift']());}}}(a56_0x5548,0xc5c3c));const fs=require('fs'),helper=require(a56_0x1381e7(0x1ce)),utilities=require('../helpers/utilities'),yaml=require(a56_0x1381e7(0x1d7)),yargs=require('yargs'),logger=require(a56_0x1381e7(0x20d))['winstonLogger'],configFileTemplate=__dirname+a56_0x1381e7(0x1e5),configFileTemplatePW=__dirname+a56_0x1381e7(0x1f7),configFile=process[a56_0x1381e7(0x208)]()+a56_0x1381e7(0x1d0),packageFile=process[a56_0x1381e7(0x208)]()+a56_0x1381e7(0x1d8),frameworks=[a56_0x1381e7(0x1fa),a56_0x1381e7(0x1db),'cucumber-js',a56_0x1381e7(0x1dd),'nightwatch','codeceptjs',a56_0x1381e7(0x206)];let config;logger['info'](a56_0x1381e7(0x1f8)),createConfigurationFile(yargs[a56_0x1381e7(0x1f5)]['username'],yargs[a56_0x1381e7(0x1f5)][a56_0x1381e7(0x1dc)],yargs[a56_0x1381e7(0x1f5)][a56_0x1381e7(0x206)]);try{sdkSetup();}catch(a56_0x3159ac){logger[a56_0x1381e7(0x1ef)]('Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20'+a56_0x3159ac);}function a56_0x5548(){const _0x368380=['BrmxD','load','js-yaml','/package.json','length','browserstack-node-sdk\x20','jest','key','node','1691785ahzFWU','vAfau','zJQYp','writeFileSync','browserstack-node-sdk','19296iwnQrw','utf8','/../../browserstack.yml.sample','indexOf','KghMr','1293244nPNaZd','xtDOm','renWi','10OTFXfL','SDKSetup','error','YOUR_ACCESS_KEY','debug','bxBIa','7nmklkg','includes','720152btzWWT','info','argv','QtVIC','/../../browserstack.pw.yml.sample','Creating\x20configuration\x20file...','vHbis','mocha','NZixN','YxSDN','isUndefined','nYtkw','9261186HNkYLq','scripts','entries','push','\x20&&\x20npm\x20update\x20browserstack-node-sdk','mboae','YOUR_USERNAME','playwright','10670FoYsHx','cwd','join','UFQUq','397074CwoiMw','xPbfC','../helpers/logger','16OdMEbA','LqARy','node-setup','1WTcsBq','postinstall','replace','../helpers/helper','11796318EjqyDQ','/browserstack.yml','lvzek','IdMIf','stringify','vlXgG'];a56_0x5548=function(){return _0x368380;};return a56_0x5548();}addScriptInPackageJson();function createConfigurationFile(_0x513f9a,_0x323207,_0x15b31f=![]){const _0x15f860=a56_0x1381e7,_0x21e38e={};_0x21e38e[_0x15f860(0x20a)]='utf8',_0x21e38e[_0x15f860(0x1e7)]=_0x15f860(0x205),_0x21e38e[_0x15f860(0x1df)]=_0x15f860(0x1ee);const _0x30f1d7=_0x21e38e;try{let _0xa359f=fs['readFileSync'](_0x15b31f?configFileTemplatePW:configFileTemplate,_0x30f1d7[_0x15f860(0x20a)]);_0x513f9a&&(_0xa359f=_0xa359f[_0x15f860(0x1cd)](_0x30f1d7[_0x15f860(0x1e7)],_0x513f9a)),_0x323207&&(_0xa359f=_0xa359f[_0x15f860(0x1cd)](_0x30f1d7[_0x15f860(0x1df)],_0x323207)),config=yaml[_0x15f860(0x1d6)](_0xa359f),fs[_0x15f860(0x1e1)](configFile,_0xa359f,_0x29c677=>{const _0x4bce55=_0x15f860;_0x29c677&&logger[_0x4bce55(0x1ed)](_0x29c677);});}catch(_0x2da269){logger[_0x15f860(0x1ed)](_0x2da269);}}function addPostInstallScript(_0x2d33bb,_0x2377bd){const _0x1629f3=a56_0x1381e7,_0x197aaa={};_0x197aaa[_0x1629f3(0x204)]=_0x1629f3(0x1cc),_0x197aaa[_0x1629f3(0x1f6)]='npm\x20update\x20browserstack-node-sdk',_0x197aaa[_0x1629f3(0x1fe)]=_0x1629f3(0x203);const _0x37b00a=_0x197aaa;let _0x48624c=_0x2d33bb[_0x37b00a[_0x1629f3(0x204)]];if(_0x48624c&&_0x48624c[_0x1629f3(0x1f2)](_0x37b00a[_0x1629f3(0x1f6)]))return;!_0x48624c?_0x48624c=_0x37b00a[_0x1629f3(0x1f6)]:_0x48624c+=_0x37b00a[_0x1629f3(0x1fe)],_0x2377bd[_0x1629f3(0x202)]([_0x37b00a['mboae'],_0x48624c]);}function addScriptInPackageJson(){const _0x2f8fc0=a56_0x1381e7,_0x4dfa33={'AWVNz':_0x2f8fc0(0x1e4),'renWi':function(_0x1739ff,_0x1ba038){return _0x1739ff<_0x1ba038;},'BrmxD':function(_0x303353,_0x5304e8,_0x3be256){return _0x303353(_0x5304e8,_0x3be256);},'NZixN':function(_0x3672a6,_0x351335,_0x5639ee){return _0x3672a6(_0x351335,_0x5639ee);},'zJQYp':function(_0x52a2c7,_0xac3eaf,_0x5bf9ef){return _0x52a2c7(_0xac3eaf,_0x5bf9ef);},'xtDOm':function(_0x292c7e,_0x4dd44b){return _0x292c7e!==_0x4dd44b;},'IdMIf':'Adding\x20new\x20script(s)\x20in\x20package.json...'},_0x65498b=JSON['parse'](fs['readFileSync'](packageFile,_0x4dfa33['AWVNz'])),_0x39db7d=[];for(let _0x6514f6=0x0;_0x4dfa33['renWi'](_0x6514f6,frameworks['length']);_0x6514f6+=0x1){const _0x166b9b=_0x4dfa33[_0x2f8fc0(0x1d5)](findScriptsWithFramework,_0x65498b[_0x2f8fc0(0x200)],frameworks[_0x6514f6]);for(let _0x2264ee=0x0;_0x4dfa33[_0x2f8fc0(0x1ea)](_0x2264ee,_0x166b9b[_0x2f8fc0(0x1d9)]);_0x2264ee+=0x1){_0x39db7d[_0x2f8fc0(0x202)](_0x4dfa33[_0x2f8fc0(0x1fb)](getUpdatedCommand,_0x65498b[_0x2f8fc0(0x200)],_0x166b9b[_0x2264ee]));}_0x4dfa33[_0x2f8fc0(0x1e0)](addPostInstallScript,_0x65498b[_0x2f8fc0(0x200)],_0x39db7d);}const _0x1174bc={..._0x65498b[_0x2f8fc0(0x200)]},_0x53a829=_0x1174bc;for(let _0x12b7ff=0x0;_0x4dfa33['renWi'](_0x12b7ff,_0x39db7d[_0x2f8fc0(0x1d9)]);_0x12b7ff+=0x1){_0x53a829[_0x39db7d[_0x12b7ff][0x0]]=_0x39db7d[_0x12b7ff][0x1];}_0x4dfa33[_0x2f8fc0(0x1e9)](JSON[_0x2f8fc0(0x1d3)](_0x65498b[_0x2f8fc0(0x200)]),JSON[_0x2f8fc0(0x1d3)](_0x53a829))&&(logger['info'](_0x4dfa33[_0x2f8fc0(0x1d2)]),_0x65498b[_0x2f8fc0(0x200)]=_0x53a829,fs[_0x2f8fc0(0x1e1)](packageFile,JSON[_0x2f8fc0(0x1d3)](_0x65498b,null,0x2),_0x1bc2d2=>{const _0x52e335=_0x2f8fc0;_0x1bc2d2&&logger[_0x52e335(0x1ed)](_0x1bc2d2);}));};function findScriptsWithFramework(_0x362781,_0x1d2c0f){const _0x5060b4=a56_0x1381e7,_0x47fb0e={};_0x47fb0e[_0x5060b4(0x1d4)]=function(_0x5395dd,_0x540910){return _0x5395dd<_0x540910;},_0x47fb0e[_0x5060b4(0x1d1)]=_0x5060b4(0x1e2);const _0x3770cf=_0x47fb0e,_0x361cfa=[],_0x323f6a=Object[_0x5060b4(0x201)](_0x362781);for(let _0x174d6d=0x0;_0x3770cf[_0x5060b4(0x1d4)](_0x174d6d,_0x323f6a['length']);_0x174d6d+=0x1){_0x323f6a[_0x174d6d][0x1][_0x5060b4(0x1f2)](_0x1d2c0f)&&!_0x323f6a[_0x174d6d][0x1][_0x5060b4(0x1f2)](_0x3770cf[_0x5060b4(0x1d1)])&&_0x361cfa['push'](_0x323f6a[_0x174d6d][0x0]);}return _0x361cfa;}function getUpdatedCommand(_0x257602,_0x4c1692){const _0x302be6=a56_0x1381e7,_0x4822d0={};_0x4822d0['YxSDN']=function(_0x10fade,_0x233ea2){return _0x10fade!==_0x233ea2;},_0x4822d0[_0x302be6(0x1f9)]=_0x302be6(0x1e2),_0x4822d0['LqARy']=function(_0x268d0f,_0x252186){return _0x268d0f===_0x252186;};const _0x5d5ce2=_0x4822d0,_0x37919b=_0x4c1692+'-browserstack',_0x435cd8=_0x257602[_0x4c1692],_0x547fdc=_0x435cd8['split']('\x20');for(const _0x190392 of frameworks){if(_0x5d5ce2[_0x302be6(0x1fc)](_0x547fdc['indexOf'](_0x190392),-0x1)){_0x547fdc['splice'](_0x547fdc[_0x302be6(0x1e6)](_0x190392),0x0,_0x5d5ce2['vHbis']);break;}}let _0x978bd6=_0x547fdc[_0x302be6(0x209)]('\x20');return _0x5d5ce2[_0x302be6(0x1c9)](_0x978bd6,_0x435cd8)&&(_0x978bd6=_0x302be6(0x1da)+_0x435cd8),[_0x37919b,_0x978bd6];}function sdkSetup(){const _0x35ca50=a56_0x1381e7,_0x34d86f={};_0x34d86f['xPbfC']=_0x35ca50(0x1ca),_0x34d86f['bxBIa']=_0x35ca50(0x1ec);const _0x27f457=_0x34d86f;if(helper[_0x35ca50(0x1fd)](config))return;config['source']=_0x27f457[_0x35ca50(0x20c)];try{utilities['fireFunnelTestEvent'](_0x27f457[_0x35ca50(0x1f0)],{},config,'');}catch(_0x5dbd35){logger[_0x35ca50(0x1ef)]('Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20'+_0x5dbd35);}}logger[a56_0x1381e7(0x1f4)]('Setup\x20completed');
3
+ const a56_0x41eb95=a56_0x45cf;function a56_0x1af7(){const _0x97beaa=['HNVMy','CIebr','winstonLogger','playwright','push','error','cwd','fireFunnelTestEvent','oGgZN','argv','username','npm\x20update\x20browserstack-node-sdk','postinstall','readFileSync','join','mocha','rFskz','zyAZY','1357038oWLvty','3736674kGcSMx','replace','includes','Setup\x20completed','uSSib','Adding\x20new\x20script(s)\x20in\x20package.json...','/../../browserstack.pw.yml.sample','Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20','../helpers/logger','Creating\x20configuration\x20file...','length','load','nGXfB','1289748lZpkOc','indexOf','8DzNgCT','source','148026bBBfta','FlfKX','scripts','RlTgo','parse','jHdNs','key','3665536xLWRgc','YOUR_USERNAME','splice','5CgXelw','iEkFR','writeFileSync','browserstack-node-sdk','YOUR_ACCESS_KEY','yargs','entries','node-setup','node','2ThpOYf','cucumber-js','js-yaml','/package.json','split','/../../browserstack.yml.sample','nightwatch','11298420psCdXZ','browserstack-node-sdk\x20','../helpers/helper','fHIAR','debug','codeceptjs','1559433HbaifA','tgNdQ','uUSrj','stringify','../helpers/utilities','\x20&&\x20npm\x20update\x20browserstack-node-sdk','SDKSetup','UPZMh','ClVdZ','info'];a56_0x1af7=function(){return _0x97beaa;};return a56_0x1af7();}(function(_0x46cfb8,_0x5a5494){const _0x2e5f20=a56_0x45cf,_0x2032e1=_0x46cfb8();while(!![]){try{const _0x167c75=parseInt(_0x2e5f20(0x115))/0x1+parseInt(_0x2e5f20(0x128))/0x2*(parseInt(_0x2e5f20(0x135))/0x3)+-parseInt(_0x2e5f20(0x111))/0x4*(parseInt(_0x2e5f20(0x11f))/0x5)+-parseInt(_0x2e5f20(0x103))/0x6+-parseInt(_0x2e5f20(0x11c))/0x7*(parseInt(_0x2e5f20(0x113))/0x8)+-parseInt(_0x2e5f20(0x104))/0x9+parseInt(_0x2e5f20(0x12f))/0xa;if(_0x167c75===_0x5a5494)break;else _0x2032e1['push'](_0x2032e1['shift']());}catch(_0x35d987){_0x2032e1['push'](_0x2032e1['shift']());}}}(a56_0x1af7,0x4bbdb));const fs=require('fs'),helper=require(a56_0x41eb95(0x131)),utilities=require(a56_0x41eb95(0xeb)),yaml=require(a56_0x41eb95(0x12a)),yargs=require(a56_0x41eb95(0x124)),logger=require(a56_0x41eb95(0x10c))[a56_0x41eb95(0xf3)],configFileTemplate=__dirname+a56_0x41eb95(0x12d),configFileTemplatePW=__dirname+a56_0x41eb95(0x10a),configFile=process[a56_0x41eb95(0xf7)]()+'/browserstack.yml',packageFile=process[a56_0x41eb95(0xf7)]()+a56_0x41eb95(0x12b),frameworks=[a56_0x41eb95(0x100),'jest',a56_0x41eb95(0x129),a56_0x41eb95(0x127),a56_0x41eb95(0x12e),a56_0x41eb95(0x134),'playwright'];let config;logger[a56_0x41eb95(0xf0)](a56_0x41eb95(0x10d)),createConfigurationFile(yargs[a56_0x41eb95(0xfa)][a56_0x41eb95(0xfb)],yargs[a56_0x41eb95(0xfa)][a56_0x41eb95(0x11b)],yargs[a56_0x41eb95(0xfa)][a56_0x41eb95(0xf4)]);try{sdkSetup();}catch(a56_0x3514cc){logger['debug'](a56_0x41eb95(0x10b)+a56_0x3514cc);}addScriptInPackageJson();function createConfigurationFile(_0x4154e7,_0x4c7f95,_0x27e0d0=![]){const _0x5301bc=a56_0x41eb95,_0x4bf2ec={};_0x4bf2ec[_0x5301bc(0x132)]='utf8',_0x4bf2ec[_0x5301bc(0xef)]=_0x5301bc(0x11d),_0x4bf2ec[_0x5301bc(0x116)]=_0x5301bc(0x123);const _0x3528cb=_0x4bf2ec;try{let _0x59a5c4=fs[_0x5301bc(0xfe)](_0x27e0d0?configFileTemplatePW:configFileTemplate,_0x3528cb[_0x5301bc(0x132)]);_0x4154e7&&(_0x59a5c4=_0x59a5c4['replace'](_0x3528cb['ClVdZ'],_0x4154e7)),_0x4c7f95&&(_0x59a5c4=_0x59a5c4[_0x5301bc(0x105)](_0x3528cb[_0x5301bc(0x116)],_0x4c7f95)),config=yaml[_0x5301bc(0x10f)](_0x59a5c4),fs['writeFileSync'](configFile,_0x59a5c4,_0x506148=>{const _0x121937=_0x5301bc;_0x506148&&logger[_0x121937(0xf6)](_0x506148);});}catch(_0x4b34cc){logger[_0x5301bc(0xf6)](_0x4b34cc);}}function addPostInstallScript(_0x1b7b5c,_0x38cf56){const _0x7bab5e=a56_0x41eb95,_0x2b3942={};_0x2b3942[_0x7bab5e(0x136)]=_0x7bab5e(0xfd),_0x2b3942[_0x7bab5e(0xf9)]=_0x7bab5e(0xfc),_0x2b3942['lRlqS']=_0x7bab5e(0xec);const _0x995798=_0x2b3942;let _0x28eb01=_0x1b7b5c[_0x995798[_0x7bab5e(0x136)]];if(_0x28eb01&&_0x28eb01[_0x7bab5e(0x106)](_0x995798['oGgZN']))return;!_0x28eb01?_0x28eb01=_0x995798[_0x7bab5e(0xf9)]:_0x28eb01+=_0x995798['lRlqS'],_0x38cf56[_0x7bab5e(0xf5)]([_0x995798['tgNdQ'],_0x28eb01]);}function addScriptInPackageJson(){const _0x2be01c=a56_0x41eb95,_0x12aa1e={'shuIc':'utf8','zyAZY':function(_0x4bc58d,_0x2cfa81){return _0x4bc58d<_0x2cfa81;},'rFskz':function(_0x1dcbd3,_0x104e60,_0x5b9da0){return _0x1dcbd3(_0x104e60,_0x5b9da0);},'jHdNs':function(_0x10f304,_0x5e8b38,_0x23746d){return _0x10f304(_0x5e8b38,_0x23746d);},'wuklQ':function(_0x249c19,_0x5c1c9e){return _0x249c19!==_0x5c1c9e;},'uSSib':_0x2be01c(0x109)},_0x5eb236=JSON[_0x2be01c(0x119)](fs['readFileSync'](packageFile,_0x12aa1e['shuIc'])),_0x3fa9af=[];for(let _0x5881d2=0x0;_0x12aa1e[_0x2be01c(0x102)](_0x5881d2,frameworks[_0x2be01c(0x10e)]);_0x5881d2+=0x1){const _0x26d2fa=_0x12aa1e[_0x2be01c(0x101)](findScriptsWithFramework,_0x5eb236[_0x2be01c(0x117)],frameworks[_0x5881d2]);for(let _0x45e285=0x0;_0x12aa1e['zyAZY'](_0x45e285,_0x26d2fa[_0x2be01c(0x10e)]);_0x45e285+=0x1){_0x3fa9af['push'](_0x12aa1e[_0x2be01c(0x11a)](getUpdatedCommand,_0x5eb236[_0x2be01c(0x117)],_0x26d2fa[_0x45e285]));}_0x12aa1e[_0x2be01c(0x11a)](addPostInstallScript,_0x5eb236['scripts'],_0x3fa9af);}const _0x19bca6={..._0x5eb236[_0x2be01c(0x117)]},_0x43b782=_0x19bca6;for(let _0x308c0f=0x0;_0x12aa1e[_0x2be01c(0x102)](_0x308c0f,_0x3fa9af[_0x2be01c(0x10e)]);_0x308c0f+=0x1){_0x43b782[_0x3fa9af[_0x308c0f][0x0]]=_0x3fa9af[_0x308c0f][0x1];}_0x12aa1e['wuklQ'](JSON['stringify'](_0x5eb236[_0x2be01c(0x117)]),JSON[_0x2be01c(0x138)](_0x43b782))&&(logger[_0x2be01c(0xf0)](_0x12aa1e[_0x2be01c(0x108)]),_0x5eb236[_0x2be01c(0x117)]=_0x43b782,fs[_0x2be01c(0x121)](packageFile,JSON[_0x2be01c(0x138)](_0x5eb236,null,0x2),_0x19c46f=>{const _0x148340=_0x2be01c;_0x19c46f&&logger[_0x148340(0xf6)](_0x19c46f);}));};function findScriptsWithFramework(_0x447f11,_0x510b18){const _0x2b0fda=a56_0x41eb95,_0x3d3907={};_0x3d3907[_0x2b0fda(0x118)]=function(_0x3682c0,_0x39711c){return _0x3682c0<_0x39711c;},_0x3d3907[_0x2b0fda(0xf2)]=_0x2b0fda(0x122);const _0x3ee1b7=_0x3d3907,_0x3f9bb4=[],_0x4c1e3e=Object[_0x2b0fda(0x125)](_0x447f11);for(let _0x213dec=0x0;_0x3ee1b7[_0x2b0fda(0x118)](_0x213dec,_0x4c1e3e['length']);_0x213dec+=0x1){_0x4c1e3e[_0x213dec][0x1][_0x2b0fda(0x106)](_0x510b18)&&!_0x4c1e3e[_0x213dec][0x1][_0x2b0fda(0x106)](_0x3ee1b7[_0x2b0fda(0xf2)])&&_0x3f9bb4['push'](_0x4c1e3e[_0x213dec][0x0]);}return _0x3f9bb4;}function getUpdatedCommand(_0x5a42aa,_0x2a8e49){const _0xcfb046=a56_0x41eb95,_0x2343fa={};_0x2343fa['uUSrj']=function(_0x3a53f7,_0x1b57ce){return _0x3a53f7!==_0x1b57ce;},_0x2343fa[_0xcfb046(0xf1)]=_0xcfb046(0x122),_0x2343fa[_0xcfb046(0xee)]=function(_0x675201,_0x5adc8b){return _0x675201===_0x5adc8b;};const _0x201137=_0x2343fa,_0x499618=_0x2a8e49+'-browserstack',_0x2f1aaf=_0x5a42aa[_0x2a8e49],_0xb7a034=_0x2f1aaf[_0xcfb046(0x12c)]('\x20');for(const _0x2925b7 of frameworks){if(_0x201137[_0xcfb046(0x137)](_0xb7a034[_0xcfb046(0x112)](_0x2925b7),-0x1)){_0xb7a034[_0xcfb046(0x11e)](_0xb7a034[_0xcfb046(0x112)](_0x2925b7),0x0,_0x201137[_0xcfb046(0xf1)]);break;}}let _0x41ed51=_0xb7a034[_0xcfb046(0xff)]('\x20');return _0x201137[_0xcfb046(0xee)](_0x41ed51,_0x2f1aaf)&&(_0x41ed51=_0xcfb046(0x130)+_0x2f1aaf),[_0x499618,_0x41ed51];}function a56_0x45cf(_0xa4e758,_0x1f5f5d){const _0x1af73f=a56_0x1af7();return a56_0x45cf=function(_0x45cf4b,_0x1dea4e){_0x45cf4b=_0x45cf4b-0xeb;let _0x2f6739=_0x1af73f[_0x45cf4b];return _0x2f6739;},a56_0x45cf(_0xa4e758,_0x1f5f5d);}function sdkSetup(){const _0x264375=a56_0x41eb95,_0x29e63b={};_0x29e63b[_0x264375(0x120)]=_0x264375(0x126),_0x29e63b[_0x264375(0x110)]=_0x264375(0xed);const _0x1949db=_0x29e63b;if(helper['isUndefined'](config))return;config[_0x264375(0x114)]=_0x1949db[_0x264375(0x120)];try{utilities[_0x264375(0xf8)](_0x1949db['nGXfB'],{},config,'');}catch(_0x4d0fa2){logger[_0x264375(0x133)]('Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20'+_0x4d0fa2);}}logger[a56_0x41eb95(0xf0)](a56_0x41eb95(0x107));
@@ -1 +1 @@
1
- function a57_0x899f(){const _0x2cb176=['akRIQ','results','debug','stdout','exitCode','./testWorker.js','../../helpers/testhub/testhubHandler','fKEVT','exit','emittery','winstonLogger','InojX','platform','UcGZW','then','platform-run-failure','LdtiF','WTutN','Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20','all','stderr','tyDND','itvRV','parallelVanillaRun','SZvzh','GclUn','log','wZwwD','map','parallelTestRun','test-file-failure','PDwUa','hUjvv','length','ljocY','test-file-success','cucumberWorker','push','failureCount','parallelCucumberRun','gqmnC','1782460VJpFgs','send','KvEeS','getStdout','Qdihj','4065384BqGlcv','cYOZW','worker_threads','WPciS','ksjyY','pipe','resolve','configuration','_child','7311378jIRMgq','prfwZ','5185112lVBubm','IzdMR','DuflO','Jplpf','NATES','worker','end','../../helpers/performance/performance-tester','iSmMs','21077742nYRUWG','Workers\x20failed\x20to\x20exit\x20gracefully','668508QeTAdW','emit','kASwn','1156509aoLSpi','Exception\x20in\x20sending\x20worker\x20message\x20','p-limit','info','test-file-start','platformIndex','reZjk','platforms','json','UPZph','vanillaWorker','../../helpers/test-observability/utils','jest-worker','postMessage','getStderr','format','error','config','platform-run-start','../../helpers/performance/constants','stop'];a57_0x899f=function(){return _0x2cb176;};return a57_0x899f();}const a57_0xeb97b2=a57_0x5236;(function(_0x2d11f1,_0x58afe0){const _0x140ee8=a57_0x5236,_0x522ffa=_0x2d11f1();while(!![]){try{const _0x57dc22=-parseInt(_0x140ee8(0x1ec))/0x1+-parseInt(_0x140ee8(0x1e9))/0x2+parseInt(_0x140ee8(0x1d3))/0x3+-parseInt(_0x140ee8(0x1de))/0x4+parseInt(_0x140ee8(0x1ce))/0x5+-parseInt(_0x140ee8(0x1dc))/0x6+parseInt(_0x140ee8(0x1e7))/0x7;if(_0x57dc22===_0x58afe0)break;else _0x522ffa['push'](_0x522ffa['shift']());}catch(_0x5728e3){_0x522ffa['push'](_0x522ffa['shift']());}}}(a57_0x899f,0xaf142));const Worker=require(a57_0xeb97b2(0x1f8))['Worker'],Emittery=require(a57_0xeb97b2(0x20a)),pLimit=require(a57_0xeb97b2(0x1ee)),{parentPort}=require(a57_0xeb97b2(0x1d5)),util=require('util'),logger=require('../../helpers/logger')[a57_0xeb97b2(0x20b)],PerformanceTester=require(a57_0xeb97b2(0x1e5)),PerformanceEvents=require(a57_0xeb97b2(0x1ff))['EVENTS'],{debug}=require(a57_0xeb97b2(0x1f7)),TestHubHandler=require(a57_0xeb97b2(0x207));function a57_0x5236(_0x232e72,_0x34de03){const _0x899fb0=a57_0x899f();return a57_0x5236=function(_0x5236cf,_0x27e54f){_0x5236cf=_0x5236cf-0x1b9;let _0x105760=_0x899fb0[_0x5236cf];return _0x105760;},a57_0x5236(_0x232e72,_0x34de03);}exports[a57_0xeb97b2(0x1c2)]=(_0x153851,_0x755828,_0x16873d)=>new Promise(async _0x214fdc=>{const _0xdb8328=a57_0xeb97b2,_0x3f5005={'prfwZ':_0xdb8328(0x1cb),'GclUn':function(_0x2d6b2b,_0x2313ba){return _0x2d6b2b+_0x2313ba;},'ksjyY':_0xdb8328(0x202),'ZIDrk':_0xdb8328(0x1e8),'reZjk':function(_0x5f1567,_0xa3c20c){return _0x5f1567(_0xa3c20c);},'itvRV':_0xdb8328(0x1f0),'JFMdN':_0xdb8328(0x206),'SZvzh':_0xdb8328(0x1e3),'fnBZU':_0xdb8328(0x1f4),'lINBc':_0xdb8328(0x1d8),'fKEVT':function(_0x17dace,_0x50bf2e){return _0x17dace*_0x50bf2e;},'vUtGa':_0xdb8328(0x1c8),'hUjvv':_0xdb8328(0x1c3)},_0x500ddb=_0x16873d[_0xdb8328(0x1fd)],_0x1d34ab={},_0x2c24af=new Worker(require['resolve'](_0x3f5005['JFMdN']),{'exposedMethods':[_0x3f5005[_0xdb8328(0x1bd)]],'forkOptions':{'serialization':_0x3f5005['fnBZU'],'stdio':_0x3f5005['lINBc']},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0x3f5005[_0xdb8328(0x208)](_0x755828,0x1),'enableWorkerThreads':!![]}),_0x5b90a3=new Emittery();_0x5b90a3['on'](_0x3f5005['vUtGa'],_0x598040=>{const _0x176de9=_0xdb8328;_0x1d34ab[_0x598040[0x0]]?(_0x1d34ab[_0x598040[0x0]][_0x3f5005['prfwZ']]=_0x3f5005[_0x176de9(0x1be)](_0x1d34ab[_0x598040[0x0]][_0x3f5005[_0x176de9(0x1dd)]],_0x598040[0x1][_0x3f5005[_0x176de9(0x1dd)]]),_0x1d34ab[_0x598040[0x0]][_0x3f5005[_0x176de9(0x1d7)]]=[..._0x1d34ab[_0x598040[0x0]][_0x3f5005[_0x176de9(0x1d7)]],..._0x598040[0x1][_0x3f5005[_0x176de9(0x1d7)]]]):_0x1d34ab[_0x598040[0x0]]={'failureCount':_0x598040[0x1][_0x3f5005[_0x176de9(0x1dd)]],'results':[..._0x598040[0x1][_0x3f5005[_0x176de9(0x1d7)]]]};}),_0x5b90a3['on'](_0x3f5005[_0xdb8328(0x1c5)],_0x1fe926=>console[_0xdb8328(0x1bf)](_0x1fe926[0x1]));_0x2c24af[_0xdb8328(0x1d1)]()&&_0x2c24af[_0xdb8328(0x1d1)]()[_0xdb8328(0x1d8)](process['stdout']);_0x2c24af['getStderr']()&&_0x2c24af[_0xdb8328(0x1fa)]()['pipe'](process[_0xdb8328(0x1b9)]);const _0x48ce81=async()=>{const _0x456173=_0xdb8328,{forceExited:_0x24bd5f}=await _0x2c24af['end']();_0x24bd5f&&console[_0x456173(0x1fc)](_0x3f5005['ZIDrk']);try{await TestHubHandler[_0x456173(0x200)]();}catch(_0x4831bc){_0x3f5005[_0x456173(0x1f2)](debug,_0x456173(0x213)+_0x4831bc);}_0x3f5005[_0x456173(0x1f2)](_0x214fdc,_0x1d34ab);},_0x467f97=_0x3f5005[_0xdb8328(0x1f2)](pLimit,_0x3f5005['fKEVT'](_0x755828,0x1)),_0x374af2=_0x3305dc=>_0x467f97(async()=>{const _0x1a624b=_0xdb8328;await _0x5b90a3['emit'](_0x3f5005[_0x1a624b(0x1bb)],_0x3305dc);const _0x21747a=_0x2c24af['worker'](_0x3305dc,_0x500ddb);try{parentPort&&_0x21747a['UNSTABLE_onCustomMessage'](_0x21c4a5=>{const _0x5e3d72=_0x1a624b;try{parentPort[_0x5e3d72(0x1f9)](_0x21c4a5);}catch(_0x45b21b){logger['debug'](_0x5e3d72(0x1ed)+util[_0x5e3d72(0x1fb)](_0x45b21b));}});}catch(_0x515847){logger[_0x1a624b(0x203)]('Exception\x20in\x20adding\x20custom\x20message\x20channel\x20'+util['format'](_0x515847));}return _0x21747a;});PerformanceTester[_0xdb8328(0x1e4)](PerformanceEvents['SDK_SETUP']),Promise[_0xdb8328(0x214)](_0x153851[_0xdb8328(0x1c1)](_0x3ecb18=>_0x374af2(_0x3ecb18)[_0xdb8328(0x20f)](_0x21ec84=>_0x5b90a3[_0xdb8328(0x1ea)](_0xdb8328(0x1c8),[_0x3ecb18[_0xdb8328(0x1da)][_0xdb8328(0x20d)],_0x21ec84]),_0x558c40=>_0x5b90a3['emit'](_0xdb8328(0x1c3),[_0x3ecb18,_0x558c40]))))[_0xdb8328(0x20f)](_0x48ce81,_0x48ce81);}),exports[a57_0xeb97b2(0x1cc)]=(_0x54964a,_0xef3e,_0x122ac2,_0x22b51b,_0x2cdee9)=>{const _0x59b868=a57_0xeb97b2,_0x439d5c={'uFHQz':_0x59b868(0x1fe),'iSmMs':_0x59b868(0x1e8),'gqmnC':function(_0x1ff264,_0x37ed39){return _0x1ff264(_0x37ed39);},'eChhp':'./testWorker.js','akRIQ':_0x59b868(0x1c9),'IzdMR':_0x59b868(0x1f4),'WPciS':_0x59b868(0x1d8),'PDwUa':'platform-run-success','Qdihj':_0x59b868(0x210),'UcGZW':function(_0x27bdd3,_0x33706d){return _0x27bdd3(_0x33706d);}};return new Promise(_0x3ed0c1=>{const _0x1b8731=_0x59b868,_0x1bc00e={'wZwwD':_0x439d5c[_0x1b8731(0x1e6)],'DuflO':function(_0x43a81a,_0x7435e2){const _0x5e470f=_0x1b8731;return _0x439d5c[_0x5e470f(0x1cd)](_0x43a81a,_0x7435e2);}},_0xbd4a1f=[],_0x15b942=new Worker(require[_0x1b8731(0x1d9)](_0x439d5c['eChhp']),{'exposedMethods':[_0x439d5c[_0x1b8731(0x201)]],'forkOptions':{'serialization':_0x439d5c[_0x1b8731(0x1df)],'stdio':_0x439d5c[_0x1b8731(0x1d6)]},'numWorkers':_0x54964a[_0x1b8731(0x1c6)]||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0x242e4a=new Emittery();_0x242e4a['on'](_0x439d5c[_0x1b8731(0x1c4)],_0x134b3f=>{const _0x393008=_0x1b8731;_0xbd4a1f[_0x393008(0x1ca)]([_0x134b3f[0x0],_0x134b3f[0x1]]);}),_0x242e4a['on'](_0x439d5c[_0x1b8731(0x1d2)],_0x3bde11=>console[_0x1b8731(0x1bf)](_0x3bde11[0x1]));_0x15b942[_0x1b8731(0x1d1)]()&&_0x15b942[_0x1b8731(0x1d1)]()[_0x1b8731(0x1d8)](process[_0x1b8731(0x204)]);_0x15b942[_0x1b8731(0x1fa)]()&&_0x15b942[_0x1b8731(0x1fa)]()['pipe'](process['stderr']);const _0x55c927=async()=>{const _0x47b400=_0x1b8731,{forceExited:_0x3198e7}=await _0x15b942['end']();_0x3198e7&&console[_0x47b400(0x1fc)](_0x1bc00e[_0x47b400(0x1c0)]),_0x1bc00e[_0x47b400(0x1e0)](_0x3ed0c1,_0xbd4a1f);},_0x46f1d3=_0x439d5c[_0x1b8731(0x20e)](pLimit,_0x54964a[_0x1b8731(0x1c6)]||0x1),_0x16fd5e=(_0x4c2a62,_0x2b353f)=>_0x46f1d3(async()=>{const _0x538672=_0x1b8731;return await _0x242e4a[_0x538672(0x1ea)](_0x439d5c['uFHQz'],_0x4c2a62),_0xef3e['platformCaps']=_0x122ac2[_0x538672(0x1f3)][_0x2b353f],_0xef3e[_0x538672(0x1f1)]=_0x2b353f,_0x15b942[_0x538672(0x1c9)](_0x4c2a62,_0xef3e,_0x122ac2,_0x22b51b,_0x2cdee9);});Promise[_0x1b8731(0x214)](_0x54964a[_0x1b8731(0x1c1)]((_0x275818,_0x5527c5)=>_0x16fd5e(_0x275818,_0x5527c5)['then'](_0x392b0c=>_0x242e4a[_0x1b8731(0x1ea)]('platform-run-success',[_0x275818,_0x392b0c]),_0x3e14b7=>_0x242e4a['emit']('platform-run-failure',[_0x275818,_0x3e14b7]))))['then'](_0x55c927,_0x55c927);});},exports[a57_0xeb97b2(0x1bc)]=(_0x5c43ed,_0x1455db)=>new Promise(_0x33fa9e=>{const _0x31b596=a57_0xeb97b2,_0x2839dd={'InojX':function(_0x59f3c7,_0x1cc8e4){return _0x59f3c7===_0x1cc8e4;},'ljocY':function(_0x1b3116,_0x57998f){return _0x1b3116!==_0x57998f;},'cYOZW':_0x31b596(0x209),'tyDND':_0x31b596(0x1e8),'UPZph':function(_0x258989,_0x289c16){return _0x258989(_0x289c16);},'Jplpf':_0x31b596(0x206),'FHFho':_0x31b596(0x1f6),'kASwn':_0x31b596(0x1f4),'KvEeS':_0x31b596(0x1d8),'WTutN':_0x31b596(0x1c8),'LdtiF':'test-file-failure','PpCyF':function(_0x123bd7,_0x429d3b){return _0x123bd7(_0x429d3b);}},_0x208ae6={},_0x5d2b43=new Worker(require[_0x31b596(0x1d9)](_0x2839dd[_0x31b596(0x1e1)]),{'exposedMethods':[_0x2839dd['FHFho']],'forkOptions':{'serialization':_0x2839dd[_0x31b596(0x1eb)],'stdio':_0x2839dd[_0x31b596(0x1d0)]},'numWorkers':_0x1455db,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0x105235=new Emittery();_0x105235['on'](_0x2839dd[_0x31b596(0x212)],_0x11fd3a=>{const _0x3654a8=_0x31b596;_0x11fd3a[0x0]&&logger[_0x3654a8(0x1ef)]('Running\x20'+_0x11fd3a[0x1]+'\x20for',_0x11fd3a[0x0]);}),_0x105235['on'](_0x2839dd[_0x31b596(0x211)],_0x34fb19=>{const _0x591237=_0x31b596;process[_0x591237(0x205)]=0x1;});_0x5d2b43[_0x31b596(0x1d1)]()&&_0x5d2b43[_0x31b596(0x1d1)]()[_0x31b596(0x1d8)](process[_0x31b596(0x204)]);_0x5d2b43[_0x31b596(0x1fa)]()&&_0x5d2b43[_0x31b596(0x1fa)]()['pipe'](process['stderr']);const _0xbaa012=async()=>{const _0x12dbd2=_0x31b596;let _0x3b5eb=0x0;const _0x254ecb=_0x5d2b43['_workerPool']['getWorkers'](),_0x37e0cc=()=>{},_0xc19932=_0x254ecb['map'](async _0x10c15e=>{const _0x3cc81f=a57_0x5236,_0x3e29e8={'NATES':function(_0x5bbe5a,_0x48b4d9){const _0x3eca6d=a57_0x5236;return _0x2839dd[_0x3eca6d(0x20c)](_0x5bbe5a,_0x48b4d9);},'SawtJ':function(_0x5dfe68,_0x62882c){const _0x2531e2=a57_0x5236;return _0x2839dd[_0x2531e2(0x1c7)](_0x5dfe68,_0x62882c);}};_0x10c15e[_0x3cc81f(0x1cf)]([0x2,![]],_0x37e0cc,_0x37e0cc,_0x37e0cc),_0x10c15e[_0x3cc81f(0x1db)]['on'](_0x2839dd[_0x3cc81f(0x1d4)],_0x538a9d=>{const _0xd6db5a=_0x3cc81f;_0x3e29e8[_0xd6db5a(0x1e2)](_0x3b5eb,0x0)&&_0x3e29e8['SawtJ'](_0x538a9d,0x0)&&(_0x3b5eb=_0x538a9d);}),await _0x10c15e['waitForExit']();});await Promise[_0x12dbd2(0x214)](_0xc19932),process[_0x12dbd2(0x205)]=_0x3b5eb;const {forceExited:_0x46370e}=await _0x5d2b43['end']();_0x46370e&&console[_0x12dbd2(0x1fc)](_0x2839dd[_0x12dbd2(0x1ba)]),_0x2839dd[_0x12dbd2(0x1f5)](_0x33fa9e,_0x208ae6);},_0x18e4c8=_0x2839dd['PpCyF'](pLimit,_0x1455db),_0x27237b=_0x12971a=>_0x18e4c8(async()=>{const _0x2036e2=_0x31b596;return _0x5d2b43[_0x2036e2(0x1f6)](_0x12971a);});Promise[_0x31b596(0x214)](_0x5c43ed[_0x31b596(0x1c1)](_0x27af2f=>_0x27237b(_0x27af2f)[_0x31b596(0x20f)](_0xe82922=>_0x105235[_0x31b596(0x1ea)]('test-file-success',[_0x27af2f[_0x31b596(0x1da)]['platform'],_0x27af2f[_0x31b596(0x1da)]['file']]),_0x1ab03c=>_0x105235[_0x31b596(0x1ea)](_0x31b596(0x1c3),[_0x27af2f,_0x1ab03c]))))[_0x31b596(0x20f)](_0xbaa012,_0xbaa012);});
1
+ const a57_0x5b625c=a57_0x1aa0;(function(_0x31bd15,_0x580944){const _0x2aa9ce=a57_0x1aa0,_0x56d849=_0x31bd15();while(!![]){try{const _0x509bf1=parseInt(_0x2aa9ce(0x1ac))/0x1+parseInt(_0x2aa9ce(0x1ab))/0x2*(-parseInt(_0x2aa9ce(0x1a9))/0x3)+parseInt(_0x2aa9ce(0x194))/0x4*(parseInt(_0x2aa9ce(0x17d))/0x5)+-parseInt(_0x2aa9ce(0x17f))/0x6+parseInt(_0x2aa9ce(0x16b))/0x7*(parseInt(_0x2aa9ce(0x158))/0x8)+-parseInt(_0x2aa9ce(0x15e))/0x9+parseInt(_0x2aa9ce(0x191))/0xa;if(_0x509bf1===_0x580944)break;else _0x56d849['push'](_0x56d849['shift']());}catch(_0x1dd3e6){_0x56d849['push'](_0x56d849['shift']());}}}(a57_0x57a3,0xcd474));function a57_0x57a3(){const _0x139785=['pfjJo','EVENTS','uonaF','platform-run-success','\x20for','length','stdout','stderr','hJIcL','qKgww','push','platform-run-failure','test-file-failure','_child','worker','YjTJj','diJhl','993309YfJdcw','JwOPY','4DILFiS','538098GcOiXj','test-file-success','json','zuFHn','../../helpers/test-observability/utils','platform','LJPNH','then','kbABS','BElES','platformIndex','ciGrK','configuration','SDK_SETUP','rCxTL','waitForExit','kycIr','Exception\x20in\x20sending\x20worker\x20message\x20','vPvup','826208zOPQxH','../../helpers/performance/performance-tester','jest-worker','format','emit','azWiS','14677290rDCLLX','p-limit','pipe','parallelTestRun','file','./testWorker.js','winstonLogger','BbuuU','whYze','zlFVg','all','../../helpers/testhub/testhubHandler','Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20','35OZJZat','QSRrd','gtYVr','xHrhZ','getStderr','parallelCucumberRun','getStdout','QNexW','enfAM','qdjVk','failureCount','ZhLuB','platforms','nQqSy','knjXD','end','emittery','_workerPool','5KjgMoy','util','5411298jilQdV','vanillaWorker','cZcmO','log','ikmyR','getWorkers','Jqgvd','exitCode','XnHBB','Workers\x20failed\x20to\x20exit\x20gracefully','UNSTABLE_onCustomMessage','GeSrK','kHmzL','error','EqCTT','debug','results','gKIEg','23457760qiVjil','map','iVbGv','2541860tRNsRa','test-file-start','resolve','cucumberWorker'];a57_0x57a3=function(){return _0x139785;};return a57_0x57a3();}const Worker=require(a57_0x5b625c(0x15a))['Worker'],Emittery=require(a57_0x5b625c(0x17b)),pLimit=require(a57_0x5b625c(0x15f)),{parentPort}=require('worker_threads'),util=require(a57_0x5b625c(0x17e)),logger=require('../../helpers/logger')[a57_0x5b625c(0x164)],PerformanceTester=require(a57_0x5b625c(0x159)),PerformanceEvents=require('../../helpers/performance/constants')[a57_0x5b625c(0x199)],{debug}=require(a57_0x5b625c(0x1b0)),TestHubHandler=require(a57_0x5b625c(0x169));function a57_0x1aa0(_0x361980,_0x196549){const _0x57a34c=a57_0x57a3();return a57_0x1aa0=function(_0x1aa048,_0x2c57e1){_0x1aa048=_0x1aa048-0x14b;let _0x1d50de=_0x57a34c[_0x1aa048];return _0x1d50de;},a57_0x1aa0(_0x361980,_0x196549);}exports[a57_0x5b625c(0x161)]=(_0x2945a6,_0x3331bf,_0x914d36)=>new Promise(async _0xb216d7=>{const _0x4e0f60=a57_0x5b625c,_0x393e8c={'ZhLuB':_0x4e0f60(0x175),'BbuuU':function(_0x56f8e5,_0x5e826c){return _0x56f8e5+_0x5e826c;},'kbABS':_0x4e0f60(0x18f),'EqCTT':'Workers\x20failed\x20to\x20exit\x20gracefully','enfAM':function(_0x2562ab,_0x5c0127){return _0x2562ab(_0x5c0127);},'ikmyR':function(_0x1b2902,_0x3d1d3d){return _0x1b2902(_0x3d1d3d);},'YjTJj':_0x4e0f60(0x195),'xHrhZ':'./testWorker.js','ciGrK':_0x4e0f60(0x1a6),'iVbGv':_0x4e0f60(0x1ae),'hJIcL':_0x4e0f60(0x160),'zuFHn':function(_0x2c434b,_0x4511a3){return _0x2c434b*_0x4511a3;},'vPvup':'test-file-success','Jqgvd':_0x4e0f60(0x1a4),'LJPNH':function(_0xc2987e,_0x301e30){return _0xc2987e(_0x301e30);},'knjXD':function(_0x53d847,_0x586669){return _0x53d847*_0x586669;}},_0x222d60=_0x914d36['config'],_0x3cda08={},_0x4cf7bc=new Worker(require[_0x4e0f60(0x196)](_0x393e8c[_0x4e0f60(0x16e)]),{'exposedMethods':[_0x393e8c[_0x4e0f60(0x150)]],'forkOptions':{'serialization':_0x393e8c[_0x4e0f60(0x193)],'stdio':_0x393e8c[_0x4e0f60(0x1a0)]},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0x393e8c[_0x4e0f60(0x1af)](_0x3331bf,0x1),'enableWorkerThreads':!![]}),_0x50d56b=new Emittery();_0x50d56b['on'](_0x393e8c[_0x4e0f60(0x157)],_0x229a67=>{const _0x34e05e=_0x4e0f60;_0x3cda08[_0x229a67[0x0]]?(_0x3cda08[_0x229a67[0x0]][_0x393e8c[_0x34e05e(0x176)]]=_0x393e8c[_0x34e05e(0x165)](_0x3cda08[_0x229a67[0x0]][_0x393e8c[_0x34e05e(0x176)]],_0x229a67[0x1][_0x393e8c[_0x34e05e(0x176)]]),_0x3cda08[_0x229a67[0x0]][_0x393e8c[_0x34e05e(0x14d)]]=[..._0x3cda08[_0x229a67[0x0]][_0x393e8c[_0x34e05e(0x14d)]],..._0x229a67[0x1][_0x393e8c[_0x34e05e(0x14d)]]]):_0x3cda08[_0x229a67[0x0]]={'failureCount':_0x229a67[0x1][_0x393e8c['ZhLuB']],'results':[..._0x229a67[0x1][_0x393e8c[_0x34e05e(0x14d)]]]};}),_0x50d56b['on'](_0x393e8c[_0x4e0f60(0x185)],_0x14b9b1=>console[_0x4e0f60(0x182)](_0x14b9b1[0x1]));_0x4cf7bc[_0x4e0f60(0x171)]()&&_0x4cf7bc['getStdout']()['pipe'](process[_0x4e0f60(0x19e)]);_0x4cf7bc[_0x4e0f60(0x16f)]()&&_0x4cf7bc[_0x4e0f60(0x16f)]()[_0x4e0f60(0x160)](process['stderr']);const _0x21c238=async()=>{const _0x52a3c7=_0x4e0f60,{forceExited:_0x59e9a7}=await _0x4cf7bc['end']();_0x59e9a7&&console[_0x52a3c7(0x18c)](_0x393e8c[_0x52a3c7(0x18d)]);try{await TestHubHandler['stop']();}catch(_0x265a7f){_0x393e8c[_0x52a3c7(0x173)](debug,_0x52a3c7(0x16a)+_0x265a7f);}_0x393e8c[_0x52a3c7(0x183)](_0xb216d7,_0x3cda08);},_0x41eeb3=_0x393e8c[_0x4e0f60(0x14b)](pLimit,_0x393e8c[_0x4e0f60(0x179)](_0x3331bf,0x1)),_0x442e24=_0x446742=>_0x41eeb3(async()=>{const _0xb0f71e=_0x4e0f60;await _0x50d56b[_0xb0f71e(0x15c)](_0x393e8c[_0xb0f71e(0x1a7)],_0x446742);const _0x5e55c9=_0x4cf7bc[_0xb0f71e(0x1a6)](_0x446742,_0x222d60);try{parentPort&&_0x5e55c9[_0xb0f71e(0x189)](_0x105a0a=>{const _0x20a747=_0xb0f71e;try{parentPort['postMessage'](_0x105a0a);}catch(_0x461ada){logger[_0x20a747(0x18e)](_0x20a747(0x156)+util[_0x20a747(0x15b)](_0x461ada));}});}catch(_0xec2185){logger[_0xb0f71e(0x18e)]('Exception\x20in\x20adding\x20custom\x20message\x20channel\x20'+util['format'](_0xec2185));}return _0x5e55c9;});PerformanceTester[_0x4e0f60(0x17a)](PerformanceEvents[_0x4e0f60(0x152)]),Promise[_0x4e0f60(0x168)](_0x2945a6[_0x4e0f60(0x192)](_0x5e7c1d=>_0x442e24(_0x5e7c1d)['then'](_0x22d7d9=>_0x50d56b[_0x4e0f60(0x15c)](_0x4e0f60(0x1ad),[_0x5e7c1d[_0x4e0f60(0x151)]['platform'],_0x22d7d9]),_0x284d29=>_0x50d56b[_0x4e0f60(0x15c)](_0x4e0f60(0x1a4),[_0x5e7c1d,_0x284d29]))))[_0x4e0f60(0x14c)](_0x21c238,_0x21c238);}),exports[a57_0x5b625c(0x170)]=(_0x505cac,_0x1b27a9,_0x4b08ed,_0x2cb336,_0x561400)=>{const _0x167e24=a57_0x5b625c,_0x1422ae={'kHmzL':_0x167e24(0x188),'Sqgoi':function(_0x13710c,_0x266905){return _0x13710c(_0x266905);},'QNexW':'platform-run-start','xoUiL':'./testWorker.js','azWiS':'cucumberWorker','PwWOC':_0x167e24(0x1ae),'gtYVr':_0x167e24(0x160),'MfeIV':_0x167e24(0x19b),'vkbrI':'platform-run-failure','kycIr':function(_0x9a8e16,_0xa01cac){return _0x9a8e16(_0xa01cac);}};return new Promise(_0x540af8=>{const _0x479438=_0x167e24,_0x5ac2a2={};_0x5ac2a2[_0x479438(0x1a1)]=_0x1422ae[_0x479438(0x172)];const _0x5bd956=_0x5ac2a2,_0x2e6790=[],_0x3c7ce3=new Worker(require[_0x479438(0x196)](_0x1422ae['xoUiL']),{'exposedMethods':[_0x1422ae[_0x479438(0x15d)]],'forkOptions':{'serialization':_0x1422ae['PwWOC'],'stdio':_0x1422ae[_0x479438(0x16d)]},'numWorkers':_0x505cac[_0x479438(0x19d)]||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0x5f268f=new Emittery();_0x5f268f['on'](_0x1422ae['MfeIV'],_0x4ca62a=>{const _0x2ea6ab=_0x479438;_0x2e6790[_0x2ea6ab(0x1a2)]([_0x4ca62a[0x0],_0x4ca62a[0x1]]);}),_0x5f268f['on'](_0x1422ae['vkbrI'],_0x439cf9=>console[_0x479438(0x182)](_0x439cf9[0x1]));_0x3c7ce3[_0x479438(0x171)]()&&_0x3c7ce3[_0x479438(0x171)]()[_0x479438(0x160)](process['stdout']);_0x3c7ce3['getStderr']()&&_0x3c7ce3[_0x479438(0x16f)]()[_0x479438(0x160)](process[_0x479438(0x19f)]);const _0x32131c=async()=>{const _0x215204=_0x479438,{forceExited:_0x36719a}=await _0x3c7ce3[_0x215204(0x17a)]();_0x36719a&&console[_0x215204(0x18c)](_0x1422ae[_0x215204(0x18b)]),_0x1422ae['Sqgoi'](_0x540af8,_0x2e6790);},_0x1f568b=_0x1422ae[_0x479438(0x155)](pLimit,_0x505cac[_0x479438(0x19d)]||0x1),_0x185722=(_0xe3dcef,_0x204992)=>_0x1f568b(async()=>{const _0x5d75db=_0x479438;return await _0x5f268f['emit'](_0x5bd956['qKgww'],_0xe3dcef),_0x1b27a9['platformCaps']=_0x4b08ed[_0x5d75db(0x177)][_0x204992],_0x1b27a9[_0x5d75db(0x14f)]=_0x204992,_0x3c7ce3[_0x5d75db(0x197)](_0xe3dcef,_0x1b27a9,_0x4b08ed,_0x2cb336,_0x561400);});Promise[_0x479438(0x168)](_0x505cac['map']((_0x358122,_0x1d3614)=>_0x185722(_0x358122,_0x1d3614)[_0x479438(0x14c)](_0x2815f0=>_0x5f268f[_0x479438(0x15c)]('platform-run-success',[_0x358122,_0x2815f0]),_0x470ce3=>_0x5f268f[_0x479438(0x15c)](_0x479438(0x1a3),[_0x358122,_0x470ce3]))))[_0x479438(0x14c)](_0x32131c,_0x32131c);});},exports['parallelVanillaRun']=(_0x416d52,_0xd3e4ad)=>new Promise(_0x76d5e6=>{const _0x27dedd=a57_0x5b625c,_0x53ef71={'nQqSy':function(_0xd7161d,_0x44cf5d){return _0xd7161d===_0x44cf5d;},'rCxTL':function(_0x2596a1,_0x46614a){return _0x2596a1!==_0x46614a;},'XnHBB':'exit','cZcmO':_0x27dedd(0x188),'BElES':function(_0x2d31c2,_0x1c618c){return _0x2d31c2(_0x1c618c);},'JwOPY':_0x27dedd(0x163),'qdjVk':_0x27dedd(0x180),'GeSrK':'json','QSRrd':_0x27dedd(0x160),'pfjJo':'test-file-success','gKIEg':_0x27dedd(0x1a4),'ewpuB':function(_0x206790,_0x47bbfc){return _0x206790(_0x47bbfc);}},_0x315ba7={},_0x2cf3e3=new Worker(require[_0x27dedd(0x196)](_0x53ef71[_0x27dedd(0x1aa)]),{'exposedMethods':[_0x53ef71[_0x27dedd(0x174)]],'forkOptions':{'serialization':_0x53ef71[_0x27dedd(0x18a)],'stdio':_0x53ef71[_0x27dedd(0x16c)]},'numWorkers':_0xd3e4ad,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0x1dd315=new Emittery();_0x1dd315['on'](_0x53ef71[_0x27dedd(0x198)],_0x4f0f5a=>{const _0x4be30d=_0x27dedd;_0x4f0f5a[0x0]&&logger['info']('Running\x20'+_0x4f0f5a[0x1]+_0x4be30d(0x19c),_0x4f0f5a[0x0]);}),_0x1dd315['on'](_0x53ef71[_0x27dedd(0x190)],_0x15c823=>{const _0x1114cb=_0x27dedd;process[_0x1114cb(0x186)]=0x1;});_0x2cf3e3['getStdout']()&&_0x2cf3e3[_0x27dedd(0x171)]()[_0x27dedd(0x160)](process[_0x27dedd(0x19e)]);_0x2cf3e3[_0x27dedd(0x16f)]()&&_0x2cf3e3[_0x27dedd(0x16f)]()[_0x27dedd(0x160)](process[_0x27dedd(0x19f)]);const _0x1d3f02=async()=>{const _0x2ead18=_0x27dedd,_0x49f193={'zlFVg':function(_0x446316,_0x2f62bc){const _0x165cfd=a57_0x1aa0;return _0x53ef71[_0x165cfd(0x178)](_0x446316,_0x2f62bc);},'diJhl':function(_0x2f67d3,_0x32ecda){const _0x22615a=a57_0x1aa0;return _0x53ef71[_0x22615a(0x153)](_0x2f67d3,_0x32ecda);},'uonaF':_0x53ef71[_0x2ead18(0x187)]};let _0x5b0928=0x0;const _0x3f8a85=_0x2cf3e3[_0x2ead18(0x17c)][_0x2ead18(0x184)](),_0x4ed3bb=()=>{},_0x249292=_0x3f8a85['map'](async _0xe43592=>{const _0x3fecdb=_0x2ead18,_0x522de6={'PMNQj':function(_0x232609,_0x5d3572){const _0x370beb=a57_0x1aa0;return _0x49f193[_0x370beb(0x167)](_0x232609,_0x5d3572);},'whYze':function(_0x386382,_0x221273){const _0xd3a1e9=a57_0x1aa0;return _0x49f193[_0xd3a1e9(0x1a8)](_0x386382,_0x221273);}};_0xe43592['send']([0x2,![]],_0x4ed3bb,_0x4ed3bb,_0x4ed3bb),_0xe43592[_0x3fecdb(0x1a5)]['on'](_0x49f193[_0x3fecdb(0x19a)],_0x28e96b=>{const _0x5b3fc9=_0x3fecdb;_0x522de6['PMNQj'](_0x5b0928,0x0)&&_0x522de6[_0x5b3fc9(0x166)](_0x28e96b,0x0)&&(_0x5b0928=_0x28e96b);}),await _0xe43592[_0x3fecdb(0x154)]();});await Promise['all'](_0x249292),process[_0x2ead18(0x186)]=_0x5b0928;const {forceExited:_0x3237b3}=await _0x2cf3e3[_0x2ead18(0x17a)]();_0x3237b3&&console[_0x2ead18(0x18c)](_0x53ef71[_0x2ead18(0x181)]),_0x53ef71[_0x2ead18(0x14e)](_0x76d5e6,_0x315ba7);},_0x25a564=_0x53ef71['ewpuB'](pLimit,_0xd3e4ad),_0x597031=_0x301fa9=>_0x25a564(async()=>{const _0x280e9d=_0x27dedd;return _0x2cf3e3[_0x280e9d(0x180)](_0x301fa9);});Promise[_0x27dedd(0x168)](_0x416d52[_0x27dedd(0x192)](_0x5abbb9=>_0x597031(_0x5abbb9)[_0x27dedd(0x14c)](_0x56f498=>_0x1dd315[_0x27dedd(0x15c)](_0x27dedd(0x1ad),[_0x5abbb9['configuration'][_0x27dedd(0x1b1)],_0x5abbb9[_0x27dedd(0x151)][_0x27dedd(0x162)]]),_0x4d8a49=>_0x1dd315[_0x27dedd(0x15c)]('test-file-failure',[_0x5abbb9,_0x4d8a49]))))[_0x27dedd(0x14c)](_0x1d3f02,_0x1d3f02);});
@@ -1 +1 @@
1
- const a58_0x1575b5=a58_0x2b5c;function a58_0x3326(){const _0x5b22d0=['VtSzN','BwDYv','formatter','jyHgL','875464RnzXqh','runVanillaTest','end','vanilla','XEOnz','2950801DefyVA','625402hoGswo','SDK_POST_TEST','../../helpers/performance/constants','../launcher/launcher','539230lxSisC','lbjKV','whwPz','44084hOtOrR','8njmKoQ','2502580qCljbk','stopMonitoring','configuration','261FkvkyZ','run','EVENTS','3tfHTLH','runCucumberTest','startMonitoring','cucumber-js','EmULV','5581488IgLwFh'];a58_0x3326=function(){return _0x5b22d0;};return a58_0x3326();}(function(_0x42fd00,_0x2426a9){const _0x48cf5b=a58_0x2b5c,_0x1f8926=_0x42fd00();while(!![]){try{const _0x2971a6=-parseInt(_0x48cf5b(0x98))/0x1+-parseInt(_0x48cf5b(0x92))/0x2+-parseInt(_0x48cf5b(0x88))/0x3*(-parseInt(_0x48cf5b(0x9f))/0x4)+parseInt(_0x48cf5b(0xa1))/0x5+-parseInt(_0x48cf5b(0x8d))/0x6+parseInt(_0x48cf5b(0x97))/0x7*(parseInt(_0x48cf5b(0xa0))/0x8)+-parseInt(_0x48cf5b(0xa4))/0x9*(-parseInt(_0x48cf5b(0x9c))/0xa);if(_0x2971a6===_0x2426a9)break;else _0x1f8926['push'](_0x1f8926['shift']());}catch(_0x1d81ab){_0x1f8926['push'](_0x1f8926['shift']());}}}(a58_0x3326,0x7aea9));const PerformanceEvents=require(a58_0x1575b5(0x9a))[a58_0x1575b5(0x87)],PerformanceTester=require('../../helpers/performance/performance-tester'),{sleep}=require('../../helpers/test-observability/utils');function a58_0x2b5c(_0x1aab02,_0x1da3e5){const _0x332694=a58_0x3326();return a58_0x2b5c=function(_0x2b5c41,_0x1358f4){_0x2b5c41=_0x2b5c41-0x87;let _0x4c07fe=_0x332694[_0x2b5c41];return _0x4c07fe;},a58_0x2b5c(_0x1aab02,_0x1da3e5);}exports['runTest']=async(_0x1d33e1,_0x15f4fd)=>{const _0x41768a=a58_0x1575b5,_0x4d2907={'jyHgL':function(_0x1fdbd9,_0x5cbeb1){return _0x1fdbd9(_0x5cbeb1);},'VtSzN':_0x41768a(0x9b),'BwDYv':'mocha'};PerformanceTester[_0x41768a(0x8a)]();const _0x3ffcc=_0x4d2907[_0x41768a(0x91)](require,_0x4d2907[_0x41768a(0x8e)]),_0x3312ba=new _0x3ffcc(_0x4d2907[_0x41768a(0x8f)],_0x1d33e1,_0x15f4fd),_0x309589=await _0x3312ba[_0x41768a(0xa5)]();return PerformanceTester[_0x41768a(0x94)](PerformanceEvents[_0x41768a(0x99)]),await _0x4d2907[_0x41768a(0x91)](sleep,0x3e8),PerformanceTester[_0x41768a(0xa2)](),_0x309589;},exports[a58_0x1575b5(0x89)]=async(_0x3a28bf,_0x27334d,_0x21abef,_0x24d1e4,_0x2fb701)=>{const _0x34a14c=a58_0x1575b5,_0x41119c={'EmULV':function(_0x4ab817,_0x21bb27){return _0x4ab817(_0x21bb27);},'rIhIv':_0x34a14c(0x9b),'Hyghg':_0x34a14c(0x8b)},_0x18bf34={'capability':_0x3a28bf,..._0x27334d},_0x53cb53={};_0x53cb53[_0x34a14c(0xa3)]=_0x18bf34,_0x53cb53[_0x34a14c(0x90)]=_0x2fb701;const _0x15cf50=_0x53cb53,_0x1f384d=_0x41119c[_0x34a14c(0x8c)](require,_0x41119c['rIhIv']),_0x1cf411=new _0x1f384d(_0x41119c['Hyghg'],_0x15cf50,_0x21abef,_0x24d1e4);return await _0x1cf411[_0x34a14c(0xa5)]();},exports[a58_0x1575b5(0x93)]=async _0x33563b=>{const _0x2a1ebb=a58_0x1575b5,_0x13e160={'lbjKV':function(_0x322a07,_0x475fbd){return _0x322a07(_0x475fbd);},'XEOnz':_0x2a1ebb(0x9b),'whwPz':_0x2a1ebb(0x95)},_0x5f5925=_0x13e160[_0x2a1ebb(0x9d)](require,_0x13e160[_0x2a1ebb(0x96)]),_0x1d178b=new _0x5f5925(_0x13e160[_0x2a1ebb(0x9e)],_0x33563b);return await _0x1d178b[_0x2a1ebb(0xa5)]();};
1
+ const a58_0x54cb7f=a58_0x436a;(function(_0x28831b,_0x2525e8){const _0x444cc0=a58_0x436a,_0x573bc5=_0x28831b();while(!![]){try{const _0x1f39c9=parseInt(_0x444cc0(0xf4))/0x1*(-parseInt(_0x444cc0(0xf5))/0x2)+-parseInt(_0x444cc0(0xe7))/0x3+-parseInt(_0x444cc0(0xeb))/0x4+parseInt(_0x444cc0(0xe2))/0x5+parseInt(_0x444cc0(0xe3))/0x6+parseInt(_0x444cc0(0xdb))/0x7*(parseInt(_0x444cc0(0xf3))/0x8)+-parseInt(_0x444cc0(0xd9))/0x9*(-parseInt(_0x444cc0(0xdc))/0xa);if(_0x1f39c9===_0x2525e8)break;else _0x573bc5['push'](_0x573bc5['shift']());}catch(_0x30396f){_0x573bc5['push'](_0x573bc5['shift']());}}}(a58_0x1646,0xa96a3));const PerformanceEvents=require(a58_0x54cb7f(0xf0))[a58_0x54cb7f(0xd8)],PerformanceTester=require(a58_0x54cb7f(0xd5)),{sleep}=require(a58_0x54cb7f(0xee));function a58_0x1646(){const _0x5e4f54=['end','formatter','SDK_POST_TEST','87080QgYxpi','2012880jjJaWv','configuration','runCucumberTest','ZccFR','820893KGPECu','stopMonitoring','runVanillaTest','startMonitoring','1263360LMOVYe','cucumber-js','nJFkU','../../helpers/test-observability/utils','../launcher/launcher','../../helpers/performance/constants','bjtLG','GUkpy','40AKBxRp','133633XQjTve','6RdtCGp','../../helpers/performance/performance-tester','mocha','nRXKH','EVENTS','148896FmXFkQ','run','520583hNIRXL','580bRGjoS','KNcDC','ubcoE'];a58_0x1646=function(){return _0x5e4f54;};return a58_0x1646();}function a58_0x436a(_0x3b9117,_0x4e7e31){const _0x1646e3=a58_0x1646();return a58_0x436a=function(_0x436add,_0x57370e){_0x436add=_0x436add-0xd5;let _0x4aa23b=_0x1646e3[_0x436add];return _0x4aa23b;},a58_0x436a(_0x3b9117,_0x4e7e31);}exports['runTest']=async(_0x10348e,_0x104df8)=>{const _0x25a0ac=a58_0x54cb7f,_0xc430bb={'eYlYQ':function(_0x1c090b,_0x129565){return _0x1c090b(_0x129565);},'GUkpy':_0x25a0ac(0xef),'nJFkU':_0x25a0ac(0xd6),'jEmGh':function(_0x25a6a6,_0x4b5e53){return _0x25a6a6(_0x4b5e53);}};PerformanceTester[_0x25a0ac(0xea)]();const _0x350b4e=_0xc430bb['eYlYQ'](require,_0xc430bb[_0x25a0ac(0xf2)]),_0x446154=new _0x350b4e(_0xc430bb[_0x25a0ac(0xed)],_0x10348e,_0x104df8),_0x230428=await _0x446154[_0x25a0ac(0xda)]();return PerformanceTester[_0x25a0ac(0xdf)](PerformanceEvents[_0x25a0ac(0xe1)]),await _0xc430bb['jEmGh'](sleep,0x3e8),PerformanceTester[_0x25a0ac(0xe8)](),_0x230428;},exports[a58_0x54cb7f(0xe5)]=async(_0x4580bc,_0x1e12ba,_0x3ce734,_0xe8c455,_0x5a428f)=>{const _0x326e6d=a58_0x54cb7f,_0x5dee05={'KNcDC':function(_0x33ef81,_0x69e0b8){return _0x33ef81(_0x69e0b8);},'ZccFR':_0x326e6d(0xef),'nRXKH':_0x326e6d(0xec)},_0x57d2da={'capability':_0x4580bc,..._0x1e12ba},_0x5b59ee={};_0x5b59ee[_0x326e6d(0xe4)]=_0x57d2da,_0x5b59ee[_0x326e6d(0xe0)]=_0x5a428f;const _0x33ef9b=_0x5b59ee,_0x11718f=_0x5dee05[_0x326e6d(0xdd)](require,_0x5dee05[_0x326e6d(0xe6)]),_0x33bf1b=new _0x11718f(_0x5dee05[_0x326e6d(0xd7)],_0x33ef9b,_0x3ce734,_0xe8c455);return await _0x33bf1b['run']();},exports[a58_0x54cb7f(0xe9)]=async _0x39164b=>{const _0x29576f=a58_0x54cb7f,_0x2e5357={'ubcoE':function(_0x24b8a5,_0x1fab93){return _0x24b8a5(_0x1fab93);},'zhIpE':'../launcher/launcher','bjtLG':'vanilla'},_0x4521b7=_0x2e5357[_0x29576f(0xde)](require,_0x2e5357['zhIpE']),_0x5be8a4=new _0x4521b7(_0x2e5357[_0x29576f(0xf1)],_0x39164b);return await _0x5be8a4['run']();};
@@ -1 +1 @@
1
- const a59_0x535206=a59_0x3650;function a59_0x3650(_0x41c192,_0x3e11ff){const _0x44ada9=a59_0x44ad();return a59_0x3650=function(_0x3650dc,_0x2055ba){_0x3650dc=_0x3650dc-0x1da;let _0x21232a=_0x44ada9[_0x3650dc];return _0x21232a;},a59_0x3650(_0x41c192,_0x3e11ff);}(function(_0x1b602c,_0x2ede06){const _0x97f72e=a59_0x3650,_0x459b8a=_0x1b602c();while(!![]){try{const _0x1677bf=-parseInt(_0x97f72e(0x1e4))/0x1+-parseInt(_0x97f72e(0x1de))/0x2*(parseInt(_0x97f72e(0x1e1))/0x3)+parseInt(_0x97f72e(0x1dc))/0x4*(parseInt(_0x97f72e(0x1dd))/0x5)+parseInt(_0x97f72e(0x1e3))/0x6*(parseInt(_0x97f72e(0x1e0))/0x7)+parseInt(_0x97f72e(0x1da))/0x8*(parseInt(_0x97f72e(0x1e8))/0x9)+-parseInt(_0x97f72e(0x1db))/0xa+-parseInt(_0x97f72e(0x1e5))/0xb*(-parseInt(_0x97f72e(0x1e6))/0xc);if(_0x1677bf===_0x2ede06)break;else _0x459b8a['push'](_0x459b8a['shift']());}catch(_0x162066){_0x459b8a['push'](_0x459b8a['shift']());}}}(a59_0x44ad,0x2c9d8));const {runTest,runCucumberTest,runVanillaTest}=require('./runTest');exports[a59_0x535206(0x1df)]=async(_0xf30303,_0x4392cd)=>{const _0x3cb57e={'Uzpmn':function(_0x219dcf,_0x3d4147,_0x133ee9){return _0x219dcf(_0x3d4147,_0x133ee9);}};return await _0x3cb57e['Uzpmn'](runTest,_0xf30303,_0x4392cd);},exports['cucumberWorker']=async(_0x5486eb,_0xf3aea5,_0x5f045b,_0x1eb49a,_0x4cd0fb)=>{const _0x40f6b2=a59_0x535206,_0x597bed={'FSaNA':function(_0x27d4e1,_0x39e62b,_0xf56b6f,_0x1d1593,_0xeaa72c,_0x42993e){return _0x27d4e1(_0x39e62b,_0xf56b6f,_0x1d1593,_0xeaa72c,_0x42993e);}};return await _0x597bed[_0x40f6b2(0x1e2)](runCucumberTest,_0x5486eb,_0xf3aea5,_0x5f045b,_0x1eb49a,_0x4cd0fb);},exports[a59_0x535206(0x1e9)]=async _0x177396=>{const _0x2849b9=a59_0x535206,_0x538e62={'vctUs':function(_0x30712e,_0x14b309){return _0x30712e(_0x14b309);}};return await _0x538e62[_0x2849b9(0x1e7)](runVanillaTest,_0x177396);};function a59_0x44ad(){const _0x87601b=['45NufABA','2pLFeEi','worker','903Phjpdt','763839Jxjikb','FSaNA','1866kiPvZV','191224zuSkNF','11OaawXE','5406804XLFIlK','vctUs','9oOYoNi','vanillaWorker','1179112FeOWmm','95840FViOcQ','40hjxXhY'];a59_0x44ad=function(){return _0x87601b;};return a59_0x44ad();}
1
+ function a59_0x468e(){const _0x4ea4e1=['11216GtGtah','lYYhK','5407376AEOxPh','375515gAyOyE','36JSHJtg','343VYsTEN','5479768uUNUxo','32749574exQUhL','11441480NnbgZE','yECku','./runTest','worker','vanillaWorker','663HyHcru','8006BUBzQV','9MjFfNP'];a59_0x468e=function(){return _0x4ea4e1;};return a59_0x468e();}function a59_0xf450(_0x38fd94,_0x2c9abf){const _0x468e5e=a59_0x468e();return a59_0xf450=function(_0xf4507b,_0x3e2757){_0xf4507b=_0xf4507b-0xd3;let _0x4f93e0=_0x468e5e[_0xf4507b];return _0x4f93e0;},a59_0xf450(_0x38fd94,_0x2c9abf);}const a59_0x43d619=a59_0xf450;(function(_0x37f46d,_0x5c9c47){const _0x570c42=a59_0xf450,_0x3518d4=_0x37f46d();while(!![]){try{const _0x5d36e0=parseInt(_0x570c42(0xdc))/0x1*(parseInt(_0x570c42(0xd5))/0x2)+parseInt(_0x570c42(0xd4))/0x3*(-parseInt(_0x570c42(0xd7))/0x4)+-parseInt(_0x570c42(0xda))/0x5*(-parseInt(_0x570c42(0xdb))/0x6)+parseInt(_0x570c42(0xdd))/0x7+-parseInt(_0x570c42(0xd9))/0x8*(-parseInt(_0x570c42(0xd6))/0x9)+parseInt(_0x570c42(0xdf))/0xa+-parseInt(_0x570c42(0xde))/0xb;if(_0x5d36e0===_0x5c9c47)break;else _0x3518d4['push'](_0x3518d4['shift']());}catch(_0x231040){_0x3518d4['push'](_0x3518d4['shift']());}}}(a59_0x468e,0xca8b7));const {runTest,runCucumberTest,runVanillaTest}=require(a59_0x43d619(0xe1));exports[a59_0x43d619(0xe2)]=async(_0x5cbbab,_0x278852)=>{const _0x3bb77f=a59_0x43d619,_0x5d7e30={'yECku':function(_0x18b29d,_0x537a46,_0x4da729){return _0x18b29d(_0x537a46,_0x4da729);}};return await _0x5d7e30[_0x3bb77f(0xe0)](runTest,_0x5cbbab,_0x278852);},exports['cucumberWorker']=async(_0x57c6a5,_0x34f2c9,_0x95219d,_0x5b3056,_0x586815)=>{const _0x304a54=a59_0x43d619,_0x3273e6={'lYYhK':function(_0x19bae5,_0x2db711,_0x27e626,_0xba30f3,_0x2ba65d,_0x3467a5){return _0x19bae5(_0x2db711,_0x27e626,_0xba30f3,_0x2ba65d,_0x3467a5);}};return await _0x3273e6[_0x304a54(0xd8)](runCucumberTest,_0x57c6a5,_0x34f2c9,_0x95219d,_0x5b3056,_0x586815);},exports[a59_0x43d619(0xd3)]=async _0x7db184=>{const _0x339897={'zoQmD':function(_0x204ef9,_0xd8de31){return _0x204ef9(_0xd8de31);}};return await _0x339897['zoQmD'](runVanillaTest,_0x7db184);};
@@ -1 +1 @@
1
- const a60_0x160bbc=a60_0x298a;function a60_0x298a(_0x4682f4,_0x2d4e11){const _0x5ec36d=a60_0x5ec3();return a60_0x298a=function(_0x298a73,_0x54ae3a){_0x298a73=_0x298a73-0x81;let _0x55ca80=_0x5ec36d[_0x298a73];return _0x55ca80;},a60_0x298a(_0x4682f4,_0x2d4e11);}(function(_0x214a6a,_0x50b909){const _0x3ff7f4=a60_0x298a,_0x375eb2=_0x214a6a();while(!![]){try{const _0x5d9c42=-parseInt(_0x3ff7f4(0xa3))/0x1*(parseInt(_0x3ff7f4(0xde))/0x2)+-parseInt(_0x3ff7f4(0xc3))/0x3+-parseInt(_0x3ff7f4(0xcc))/0x4+parseInt(_0x3ff7f4(0x8c))/0x5+-parseInt(_0x3ff7f4(0xb3))/0x6*(-parseInt(_0x3ff7f4(0x8b))/0x7)+-parseInt(_0x3ff7f4(0xd9))/0x8+-parseInt(_0x3ff7f4(0x86))/0x9*(-parseInt(_0x3ff7f4(0x94))/0xa);if(_0x5d9c42===_0x50b909)break;else _0x375eb2['push'](_0x375eb2['shift']());}catch(_0x34b597){_0x375eb2['push'](_0x375eb2['shift']());}}}(a60_0x5ec3,0x64f6e));const constants=require(a60_0x160bbc(0xc0)),{nestedKeyValue}=require(a60_0x160bbc(0xa9)),getBrowserstackCLI=()=>{const _0x357581=a60_0x160bbc,_0xbfa54a={'PVbzR':function(_0x5c16d9,_0x1be261){return _0x5c16d9(_0x1be261);},'GeRVP':_0x357581(0x9a)};return _0xbfa54a['PVbzR'](require,_0xbfa54a[_0x357581(0xa1)]);};class APIUtilityMethods{static['getBStackAPIUrl'](_0x2c3b34){const _0x35da2b=a60_0x160bbc,_0x113391={'ZmPDC':function(_0x37ae4e){return _0x37ae4e();},'GWYMY':function(_0x3e5d1c,_0x2eaf6d,_0x12ac3b){return _0x3e5d1c(_0x2eaf6d,_0x12ac3b);},'DeJdf':_0x35da2b(0xb6),'vMCJp':_0x35da2b(0x8f),'rApiT':'api','hMFeH':function(_0x1e7647,_0x2f3913){return _0x1e7647===_0x2f3913;},'YTzeA':function(_0x5c9352,_0x41df06){return _0x5c9352+_0x41df06;}},_0x27b183=_0x113391[_0x35da2b(0xe3)](getBrowserstackCLI),_0x5548e4=_0x113391[_0x35da2b(0xad)](nestedKeyValue,_0x27b183[_0x35da2b(0x8a)]()[_0x35da2b(0x93)](),[_0x113391['DeJdf'],_0x113391[_0x35da2b(0xbe)],_0x113391['rApiT']])||constants[_0x35da2b(0xb2)];if(!_0x2c3b34||_0x113391[_0x35da2b(0xb7)](_0x2c3b34,''))return _0x5548e4;const _0x84bb07=_0x5548e4[_0x35da2b(0xd1)]('/')?_0x5548e4:_0x113391[_0x35da2b(0xd5)](_0x5548e4,'/');return new URL(_0x2c3b34,_0x84bb07)[_0x35da2b(0x9b)]();}static['getEdsInstrumentationAPIUrl'](_0x41fd70){const _0x5cb77=a60_0x160bbc,_0x2d9f16={'GMtMJ':function(_0x18d41e){return _0x18d41e();},'GnRZl':function(_0x4879aa,_0xd253a6,_0x507501){return _0x4879aa(_0xd253a6,_0x507501);},'mlTkJ':'apis','raZjz':_0x5cb77(0x84),'MCjEX':_0x5cb77(0x99),'JmYYB':function(_0x5cf6b8,_0x4a6f90){return _0x5cf6b8===_0x4a6f90;},'ZytRm':function(_0x2ff43c,_0x2d484a){return _0x2ff43c+_0x2d484a;}},_0x5370b2=_0x2d9f16['GMtMJ'](getBrowserstackCLI),_0x3fbf22=_0x2d9f16[_0x5cb77(0xc7)](nestedKeyValue,_0x5370b2[_0x5cb77(0x8a)]()['getConfig'](),[_0x2d9f16[_0x5cb77(0x91)],_0x2d9f16['raZjz'],_0x2d9f16['MCjEX']])||constants['EDS_URL'];if(!_0x41fd70||_0x2d9f16[_0x5cb77(0xa7)](_0x41fd70,''))return _0x3fbf22;const _0x40823d=_0x3fbf22['endsWith']('/')?_0x3fbf22:_0x2d9f16[_0x5cb77(0xe1)](_0x3fbf22,'/');return new URL(_0x41fd70,_0x40823d)[_0x5cb77(0x9b)]();}static[a60_0x160bbc(0x8e)](_0x54f3ac){const _0x3d8b0f=a60_0x160bbc,_0x1a1efe={'oHJsU':function(_0x4a0c78){return _0x4a0c78();},'uWTAs':function(_0x1e11e4,_0x45b5ad,_0x2da421){return _0x1e11e4(_0x45b5ad,_0x2da421);},'nKWCa':_0x3d8b0f(0xb6),'snWtC':_0x3d8b0f(0x8f),'NBKeD':_0x3d8b0f(0x99),'sQcmf':function(_0x4be7cd,_0x144cac){return _0x4be7cd===_0x144cac;},'GlhRQ':function(_0x3f6166,_0x2252ab){return _0x3f6166+_0x2252ab;}},_0x3c91d7=_0x1a1efe[_0x3d8b0f(0xa0)](getBrowserstackCLI),_0x3cc059=_0x1a1efe[_0x3d8b0f(0xe4)](nestedKeyValue,_0x3c91d7[_0x3d8b0f(0x8a)]()[_0x3d8b0f(0x93)](),[_0x1a1efe[_0x3d8b0f(0xaf)],_0x1a1efe['snWtC'],_0x1a1efe[_0x3d8b0f(0xd3)]])||constants[_0x3d8b0f(0xb2)];if(!_0x54f3ac||_0x1a1efe[_0x3d8b0f(0xc9)](_0x54f3ac,''))return _0x3cc059;const _0xd0c4b4=_0x3cc059[_0x3d8b0f(0xd1)]('/')?_0x3cc059:_0x1a1efe[_0x3d8b0f(0xb8)](_0x3cc059,'/');return new URL(_0x54f3ac,_0xd0c4b4)['toString']();}static[a60_0x160bbc(0xc5)](_0x4d9008){const _0x53ca77=a60_0x160bbc,_0x533cb4={'EPgjs':function(_0x421a3c){return _0x421a3c();},'QSlbc':function(_0x3addca,_0x3ffc69,_0x3b59fc){return _0x3addca(_0x3ffc69,_0x3b59fc);},'FYgSI':_0x53ca77(0xb6),'pAwMF':_0x53ca77(0x9e),'YiGbW':'api','xBslz':function(_0x1bf81b,_0x16d441){return _0x1bf81b===_0x16d441;},'XUmpE':function(_0x5f29dd,_0x43a26a){return _0x5f29dd+_0x43a26a;}},_0x48697a=_0x533cb4[_0x53ca77(0x88)](getBrowserstackCLI),_0x9ae94f=_0x533cb4[_0x53ca77(0xc1)](nestedKeyValue,_0x48697a[_0x53ca77(0x8a)]()[_0x53ca77(0x93)](),[_0x533cb4[_0x53ca77(0xbc)],_0x533cb4['pAwMF'],_0x533cb4[_0x53ca77(0xc4)]])||constants[_0x53ca77(0xb2)];if(!_0x4d9008||_0x533cb4[_0x53ca77(0xc8)](_0x4d9008,''))return _0x9ae94f;const _0xd834b2=_0x9ae94f[_0x53ca77(0xd1)]('/')?_0x9ae94f:_0x533cb4[_0x53ca77(0xe2)](_0x9ae94f,'/');return new URL(_0x4d9008,_0xd834b2)['toString']();}static[a60_0x160bbc(0xe5)](_0x57ccb5){const _0x21aca9=a60_0x160bbc,_0x2c34c9={'TbAnu':function(_0x1ede27){return _0x1ede27();},'YcqNR':function(_0x580098,_0x4d905c,_0x44626d){return _0x580098(_0x4d905c,_0x44626d);},'IICUw':_0x21aca9(0xb6),'MarSo':_0x21aca9(0x8f),'NwhlZ':_0x21aca9(0x99),'soBvm':function(_0x451b65,_0x5a1cf9){return _0x451b65===_0x5a1cf9;},'FgoTG':function(_0x370438,_0x4874ea){return _0x370438+_0x4874ea;}},_0x160789=_0x2c34c9[_0x21aca9(0x92)](getBrowserstackCLI),_0x359d93=_0x2c34c9[_0x21aca9(0xd8)](nestedKeyValue,_0x160789[_0x21aca9(0x8a)]()[_0x21aca9(0x93)](),[_0x2c34c9[_0x21aca9(0x97)],_0x2c34c9[_0x21aca9(0x87)],_0x2c34c9[_0x21aca9(0xca)]])||constants[_0x21aca9(0xb2)];if(!_0x57ccb5||_0x2c34c9['soBvm'](_0x57ccb5,''))return _0x359d93;const _0x37e6d1=_0x359d93[_0x21aca9(0xd1)]('/')?_0x359d93:_0x2c34c9[_0x21aca9(0xcb)](_0x359d93,'/');return new URL(_0x57ccb5,_0x37e6d1)[_0x21aca9(0x9b)]();}static[a60_0x160bbc(0x89)](_0x32e57e){const _0x51f9f3=a60_0x160bbc,_0x431be1={'fAIBR':function(_0x15c108){return _0x15c108();},'sEkPX':function(_0x190fba,_0x14aa1a,_0xe7a274){return _0x190fba(_0x14aa1a,_0xe7a274);},'ZQVgf':_0x51f9f3(0xb6),'SVGlj':'appAutomate','OeQDN':_0x51f9f3(0x99),'tEHnE':function(_0x58e867,_0x5abadc){return _0x58e867===_0x5abadc;},'XhaqU':function(_0x539134,_0x4818f7){return _0x539134+_0x4818f7;}},_0x3eb11a=_0x431be1[_0x51f9f3(0xdf)](getBrowserstackCLI),_0x3b7ff3=_0x431be1['sEkPX'](nestedKeyValue,_0x3eb11a[_0x51f9f3(0x8a)]()[_0x51f9f3(0x93)](),[_0x431be1['ZQVgf'],_0x431be1[_0x51f9f3(0xe8)],_0x431be1[_0x51f9f3(0xc2)]])||constants[_0x51f9f3(0xb2)];if(!_0x32e57e||_0x431be1[_0x51f9f3(0xac)](_0x32e57e,''))return _0x3b7ff3;const _0x47e208=_0x3b7ff3[_0x51f9f3(0xd1)]('/')?_0x3b7ff3:_0x431be1[_0x51f9f3(0x9c)](_0x3b7ff3,'/');return new URL(_0x32e57e,_0x47e208)[_0x51f9f3(0x9b)]();}static[a60_0x160bbc(0xb0)](_0x19f86e){const _0x46d211=a60_0x160bbc,_0x9dcbc4={'sPfyP':function(_0x4011d1){return _0x4011d1();},'tOxAF':function(_0x403167,_0x2b0d07,_0x4afd30){return _0x403167(_0x2b0d07,_0x4afd30);},'EFEcp':_0x46d211(0xb6),'fGzWW':'automate','isvEB':_0x46d211(0x99),'sCbFm':function(_0x40320f,_0x501c0c){return _0x40320f===_0x501c0c;},'PDFFJ':function(_0x4404ad,_0x5078c0){return _0x4404ad+_0x5078c0;}},_0x35c873=_0x9dcbc4[_0x46d211(0xce)](getBrowserstackCLI),_0x1debe6=_0x9dcbc4[_0x46d211(0xbf)](nestedKeyValue,_0x35c873[_0x46d211(0x8a)]()[_0x46d211(0x93)](),[_0x9dcbc4[_0x46d211(0x95)],_0x9dcbc4[_0x46d211(0xbd)],_0x9dcbc4[_0x46d211(0xbb)]])||constants['BROWSERSTACK_API_URL'];if(!_0x19f86e||_0x9dcbc4['sCbFm'](_0x19f86e,''))return _0x1debe6;const _0x561842=_0x1debe6['endsWith']('/')?_0x1debe6:_0x9dcbc4[_0x46d211(0x9d)](_0x1debe6,'/');return new URL(_0x19f86e,_0x561842)[_0x46d211(0x9b)]()[_0x46d211(0xb9)](/^https?:\/\//,'');}static[a60_0x160bbc(0xd7)](_0x361c72){const _0x366c98=a60_0x160bbc,_0x44dd0a={'QQthN':function(_0x4c0980){return _0x4c0980();},'LFeAo':function(_0x3f9ed7,_0x9b354,_0x162db7){return _0x3f9ed7(_0x9b354,_0x162db7);},'rjAGv':'apis','hQNDV':_0x366c98(0x9e),'yvzXs':_0x366c98(0x99),'eYRKg':function(_0x30a250,_0x2501ab){return _0x30a250===_0x2501ab;},'bCjgA':function(_0x53a6f4,_0x234c5a){return _0x53a6f4+_0x234c5a;}},_0x9c8132=_0x44dd0a[_0x366c98(0xaa)](getBrowserstackCLI),_0xde240b=_0x44dd0a['LFeAo'](nestedKeyValue,_0x9c8132[_0x366c98(0x8a)]()[_0x366c98(0x93)](),[_0x44dd0a[_0x366c98(0xd2)],_0x44dd0a[_0x366c98(0xa4)],_0x44dd0a['yvzXs']])||constants[_0x366c98(0xe0)];if(!_0x361c72||_0x44dd0a['eYRKg'](_0x361c72,''))return _0xde240b;const _0x3e09bb=_0xde240b[_0x366c98(0xd1)]('/')?_0xde240b:_0x44dd0a[_0x366c98(0x96)](_0xde240b,'/');return new URL(_0x361c72,_0x3e09bb)[_0x366c98(0x9b)]()[_0x366c98(0xb9)](/^https?:\/\//,'');}static[a60_0x160bbc(0xdc)](_0x60cb6d){const _0x1d0e69=a60_0x160bbc,_0x429f84={'ROeKB':function(_0x4f4299){return _0x4f4299();},'XRMcL':function(_0x4f5d35,_0x521fdd,_0x5a91c3){return _0x4f5d35(_0x521fdd,_0x5a91c3);},'cwhIZ':_0x1d0e69(0xb6),'uyiCU':'observability','cJetN':_0x1d0e69(0x83),'DXdZG':function(_0x4ef720,_0xf7301d){return _0x4ef720===_0xf7301d;},'JKiTl':function(_0xb95bed,_0x240d42){return _0xb95bed+_0x240d42;}},_0x3e6718=_0x429f84[_0x1d0e69(0x8d)](getBrowserstackCLI),_0x1a7fa7=_0x429f84[_0x1d0e69(0x9f)](nestedKeyValue,_0x3e6718[_0x1d0e69(0x8a)]()[_0x1d0e69(0x93)](),[_0x429f84[_0x1d0e69(0xa8)],_0x429f84[_0x1d0e69(0xae)],_0x429f84[_0x1d0e69(0xd4)]])||constants[_0x1d0e69(0xdd)];if(!_0x60cb6d||_0x429f84[_0x1d0e69(0x98)](_0x60cb6d,''))return _0x1a7fa7;const _0x2b8eaa=_0x1a7fa7[_0x1d0e69(0xd1)]('/')?_0x1a7fa7:_0x429f84[_0x1d0e69(0xcf)](_0x1a7fa7,'/');return new URL(_0x60cb6d,_0x2b8eaa)['toString']();}static[a60_0x160bbc(0x81)](_0x532e02){const _0x1d8ac6=a60_0x160bbc,_0x14dd2d={'tTfTn':function(_0x19bec8){return _0x19bec8();},'NyhsE':function(_0x38ed08,_0x460474,_0x1dba7a){return _0x38ed08(_0x460474,_0x1dba7a);},'qxuzL':'apis','hzzNS':'automate','ggVAG':'cdp','kGjOk':'wss:','Mjjwk':function(_0x4fa394,_0x544645){return _0x4fa394===_0x544645;},'vFtPL':function(_0x29da34,_0x53453c){return _0x29da34+_0x53453c;},'hqBKP':'/playwright?caps='},_0x37d32c=_0x14dd2d[_0x1d8ac6(0xe7)](getBrowserstackCLI),_0x1f5417=_0x14dd2d[_0x1d8ac6(0xab)](nestedKeyValue,_0x37d32c[_0x1d8ac6(0x8a)]()['getConfig'](),[_0x14dd2d['qxuzL'],_0x14dd2d[_0x1d8ac6(0xa6)],_0x14dd2d[_0x1d8ac6(0xd6)]]),_0xe4d4f5=(_0x1f5417?_0x1f5417[_0x1d8ac6(0xb9)](/^https:/,_0x14dd2d[_0x1d8ac6(0x90)]):null)||constants[_0x1d8ac6(0xd0)];let _0xb81096;if(!_0x532e02||_0x14dd2d[_0x1d8ac6(0xba)](_0x532e02,''))_0xb81096=_0xe4d4f5;else{const _0x15dab1=_0xe4d4f5[_0x1d8ac6(0xd1)]('/')?_0xe4d4f5:_0x14dd2d['vFtPL'](_0xe4d4f5,'/');_0xb81096=new URL(_0x532e02,_0x15dab1)['toString']();}return!_0xb81096['endsWith'](_0x14dd2d['hqBKP'])&&(_0xb81096+=_0x14dd2d[_0x1d8ac6(0xda)]),_0xb81096;}static[a60_0x160bbc(0x85)](_0x366b3d){const _0x78904d=a60_0x160bbc,_0x46265e={'GRGhZ':function(_0x498026){return _0x498026();},'bVYzd':function(_0x44df7d,_0x8aa486,_0x5eb8a2){return _0x44df7d(_0x8aa486,_0x5eb8a2);},'fkgOJ':_0x78904d(0xb6),'OjnjI':_0x78904d(0x8f),'PDBXW':_0x78904d(0xb5),'WIPMm':'wss:','FXISR':function(_0x4d5ac9,_0x1606e4){return _0x4d5ac9===_0x1606e4;},'YkKwm':function(_0x3c4048,_0x5978c9){return _0x3c4048+_0x5978c9;},'XyEHW':_0x78904d(0xa2)},_0x62dd84=_0x46265e[_0x78904d(0xe6)](getBrowserstackCLI),_0x545e34=_0x46265e['bVYzd'](nestedKeyValue,_0x62dd84['getInstance']()['getConfig'](),[_0x46265e[_0x78904d(0x82)],_0x46265e['OjnjI'],_0x46265e[_0x78904d(0xdb)]]),_0x2e0f36=(_0x545e34?_0x545e34[_0x78904d(0xb9)](/^https:/,_0x46265e[_0x78904d(0xc6)]):null)||constants[_0x78904d(0xb1)];let _0x3b8770;if(!_0x366b3d||_0x46265e['FXISR'](_0x366b3d,''))_0x3b8770=_0x2e0f36;else{const _0x2c4881=_0x2e0f36[_0x78904d(0xd1)]('/')?_0x2e0f36:_0x46265e[_0x78904d(0xb4)](_0x2e0f36,'/');_0x3b8770=new URL(_0x366b3d,_0x2c4881)['toString']();}return!_0x3b8770[_0x78904d(0xd1)](_0x46265e[_0x78904d(0xa5)])&&(_0x3b8770+=_0x46265e[_0x78904d(0xa5)]),_0x3b8770;}}module[a60_0x160bbc(0xcd)]=APIUtilityMethods;function a60_0x5ec3(){const _0x113272=['XhaqU','PDFFJ','appAutomate','XRMcL','oHJsU','GeRVP','/puppeteer?caps=','556Kivjjh','hQNDV','XyEHW','hzzNS','JmYYB','cwhIZ','./sharedUtils','QQthN','NyhsE','tEHnE','GWYMY','uyiCU','nKWCa','getAutomateSessionsListAPIUrl','PUPPETEER_HUB_URL','BROWSERSTACK_API_URL','399732DPDtbu','YkKwm','cdp','apis','hMFeH','GlhRQ','replace','Mjjwk','isvEB','FYgSI','fGzWW','vMCJp','tOxAF','./constants','QSlbc','OeQDN','2459331Cpxtib','YiGbW','getAppAutomateSessionStatusAPIUrl','WIPMm','GnRZl','xBslz','sQcmf','NwhlZ','FgoTG','746356iuAOdO','exports','sPfyP','JKiTl','PLAYWRIGHT_HUB_URL','endsWith','rjAGv','NBKeD','cJetN','YTzeA','ggVAG','getAppAutomateSessionsListAPIUrl','YcqNR','1367848eCSiDz','hqBKP','PDBXW','getAutoCaptureLogsAPIUrl','OBSERVABILITY_UPLOAD_URL','488ckcQhF','fAIBR','APP_UPLOAD_URL','ZytRm','XUmpE','ZmPDC','uWTAs','getAutomateSessionNameAPIUrl','GRGhZ','tTfTn','SVGlj','getPlaywrightHubUrl','fkgOJ','upload','edsInstrumentation','getPuppeteerHubUrl','717039piyMDQ','MarSo','EPgjs','getAppAutomateSessionNameAPIUrl','getInstance','70DmHquo','3708285pZVuzy','ROeKB','getAutomateSessionStatusAPIUrl','automate','kGjOk','mlTkJ','TbAnu','getConfig','40eWjpwJ','EFEcp','bCjgA','IICUw','DXdZG','api','../v2/browserstackCLI','toString'];a60_0x5ec3=function(){return _0x113272;};return a60_0x5ec3();}
1
+ function a60_0x1392(_0x138a8c,_0x2ba844){const _0x386ffd=a60_0x386f();return a60_0x1392=function(_0x139213,_0x48f170){_0x139213=_0x139213-0x100;let _0x55a74e=_0x386ffd[_0x139213];return _0x55a74e;},a60_0x1392(_0x138a8c,_0x2ba844);}const a60_0xd7ed34=a60_0x1392;function a60_0x386f(){const _0x4269f7=['fEDfB','FKBKt','RFjSB','lUmfF','oGfqZ','oGSWX','tnXZH','ZVxfD','HUNnt','getAutoCaptureLogsAPIUrl','xMyiZ','XJlPw','206256UvPnoi','Ctfng','getAppAutomateSessionNameAPIUrl','wUuAH','4425726lGVkVJ','cUiTP','vvjaG','24266550ggjIXw','EDS_URL','6057076NVdany','toString','ONJPv','pLbmU','UxTst','WDSCm','itlyR','YNncn','vtRsK','xZuEi','../v2/browserstackCLI','DuDrf','GGxAB','FfVEW','AwnMk','getAppAutomateSessionStatusAPIUrl','NUDiV','getPlaywrightHubUrl','kRxpM','jdEmO','TonBZ','UCIPo','ZYXUi','bLWSP','rtiab','JIutK','apis','cdp','eyClP','HjeNC','OBSERVABILITY_UPLOAD_URL','TrrUW','getEdsInstrumentationAPIUrl','124079CtMXeL','UCvuL','tgcxZ','lEvLr','10716790FSLcWb','8268579EWtpsB','dnfGH','lbKfb','xnHXB','uZHBU','oLTTw','10YBfRGL','SzkEw','MWBFD','getConfig','observability','gSyIA','xFGIf','EESQD','./constants','appAutomate','getAutomateSessionStatusAPIUrl','replace','edsInstrumentation','PLAYWRIGHT_HUB_URL','zwaUG','cZSXL','21jjFjFP','endsWith','/playwright?caps=','OTvPR','getInstance','bwzbC','uNoCq','BROWSERSTACK_API_URL','uhOpE','nEfKy','aVraS','getAppAutomateSessionsListAPIUrl','Jwhxd','wss:','exports','8cIjvRG','GPbrB','PUPPETEER_HUB_URL','automate','api','NIcgL'];a60_0x386f=function(){return _0x4269f7;};return a60_0x386f();}(function(_0x4c7317,_0x3fce02){const _0x48351c=a60_0x1392,_0x4a1e5b=_0x4c7317();while(!![]){try{const _0x7f4f22=parseInt(_0x48351c(0x15c))/0x1+-parseInt(_0x48351c(0x132))/0x2*(-parseInt(_0x48351c(0x111))/0x3)+-parseInt(_0x48351c(0x13b))/0x4+-parseInt(_0x48351c(0x101))/0x5*(-parseInt(_0x48351c(0x136))/0x6)+parseInt(_0x48351c(0x160))/0x7*(parseInt(_0x48351c(0x120))/0x8)+parseInt(_0x48351c(0x161))/0x9+-parseInt(_0x48351c(0x139))/0xa;if(_0x7f4f22===_0x3fce02)break;else _0x4a1e5b['push'](_0x4a1e5b['shift']());}catch(_0x48cb85){_0x4a1e5b['push'](_0x4a1e5b['shift']());}}}(a60_0x386f,0xcaa2a));const constants=require(a60_0xd7ed34(0x109)),{nestedKeyValue}=require('./sharedUtils'),getBrowserstackCLI=()=>{const _0x2855f5=a60_0xd7ed34,_0x1df3bc={'FfVEW':function(_0x2f411d,_0x3b27d9){return _0x2f411d(_0x3b27d9);},'GPbrB':_0x2855f5(0x145)};return _0x1df3bc[_0x2855f5(0x148)](require,_0x1df3bc[_0x2855f5(0x121)]);};class APIUtilityMethods{static['getBStackAPIUrl'](_0x593157){const _0x1abd09=a60_0xd7ed34,_0xc79239={'vtRsK':function(_0x11a086){return _0x11a086();},'FJdDk':function(_0x49f510,_0x2f87e2,_0x25a8f8){return _0x49f510(_0x2f87e2,_0x25a8f8);},'srfTa':_0x1abd09(0x155),'xMyiZ':_0x1abd09(0x123),'nEfKy':'api','TrrUW':function(_0x47fd3e,_0x13ed4a){return _0x47fd3e===_0x13ed4a;},'OTvPR':function(_0x2762ef,_0x254b9e){return _0x2762ef+_0x254b9e;}},_0x408336=_0xc79239[_0x1abd09(0x143)](getBrowserstackCLI),_0x115d4c=_0xc79239['FJdDk'](nestedKeyValue,_0x408336[_0x1abd09(0x115)]()['getConfig'](),[_0xc79239['srfTa'],_0xc79239[_0x1abd09(0x130)],_0xc79239[_0x1abd09(0x11a)]])||constants[_0x1abd09(0x118)];if(!_0x593157||_0xc79239[_0x1abd09(0x15a)](_0x593157,''))return _0x115d4c;const _0xe923f8=_0x115d4c[_0x1abd09(0x112)]('/')?_0x115d4c:_0xc79239[_0x1abd09(0x114)](_0x115d4c,'/');return new URL(_0x593157,_0xe923f8)[_0x1abd09(0x13c)]();}static[a60_0xd7ed34(0x15b)](_0xa451bd){const _0x3d1a4e=a60_0xd7ed34,_0x7217b1={'HUNnt':function(_0x3be7bf){return _0x3be7bf();},'wUuAH':function(_0x3f71dc,_0x247609,_0x5baa78){return _0x3f71dc(_0x247609,_0x5baa78);},'jdEmO':_0x3d1a4e(0x155),'udipb':_0x3d1a4e(0x10d),'kRxpM':'api','MFvVj':function(_0x2ee3d3,_0x47937f){return _0x2ee3d3===_0x47937f;},'GGxAB':function(_0x366c77,_0xaca855){return _0x366c77+_0xaca855;}},_0x200fc2=_0x7217b1[_0x3d1a4e(0x12e)](getBrowserstackCLI),_0x12053f=_0x7217b1[_0x3d1a4e(0x135)](nestedKeyValue,_0x200fc2[_0x3d1a4e(0x115)]()[_0x3d1a4e(0x104)](),[_0x7217b1[_0x3d1a4e(0x14e)],_0x7217b1['udipb'],_0x7217b1[_0x3d1a4e(0x14d)]])||constants[_0x3d1a4e(0x13a)];if(!_0xa451bd||_0x7217b1['MFvVj'](_0xa451bd,''))return _0x12053f;const _0x2570e3=_0x12053f[_0x3d1a4e(0x112)]('/')?_0x12053f:_0x7217b1[_0x3d1a4e(0x147)](_0x12053f,'/');return new URL(_0xa451bd,_0x2570e3)[_0x3d1a4e(0x13c)]();}static[a60_0xd7ed34(0x10b)](_0x22171c){const _0xf95b41=a60_0xd7ed34,_0x3ecc6f={'cZSXL':function(_0x2ab46e){return _0x2ab46e();},'Jwhxd':function(_0xbdc06d,_0xe04d96,_0x402e67){return _0xbdc06d(_0xe04d96,_0x402e67);},'uhOpE':'apis','bwzbC':_0xf95b41(0x123),'WDSCm':'api','vvjaG':function(_0x39c86e,_0x52471f){return _0x39c86e===_0x52471f;},'xnHXB':function(_0x384d1d,_0xb5b626){return _0x384d1d+_0xb5b626;}},_0x53fcb7=_0x3ecc6f[_0xf95b41(0x110)](getBrowserstackCLI),_0xe58448=_0x3ecc6f[_0xf95b41(0x11d)](nestedKeyValue,_0x53fcb7[_0xf95b41(0x115)]()[_0xf95b41(0x104)](),[_0x3ecc6f[_0xf95b41(0x119)],_0x3ecc6f[_0xf95b41(0x116)],_0x3ecc6f[_0xf95b41(0x140)]])||constants['BROWSERSTACK_API_URL'];if(!_0x22171c||_0x3ecc6f[_0xf95b41(0x138)](_0x22171c,''))return _0xe58448;const _0x13d68c=_0xe58448[_0xf95b41(0x112)]('/')?_0xe58448:_0x3ecc6f[_0xf95b41(0x164)](_0xe58448,'/');return new URL(_0x22171c,_0x13d68c)[_0xf95b41(0x13c)]();}static[a60_0xd7ed34(0x14a)](_0x98d37){const _0x4e397e=a60_0xd7ed34,_0xbbe026={'MWBFD':function(_0x1463fe){return _0x1463fe();},'xFGIf':function(_0x4c8884,_0x240832,_0x6fd65){return _0x4c8884(_0x240832,_0x6fd65);},'tnXZH':_0x4e397e(0x155),'lEvLr':_0x4e397e(0x10a),'roPNI':'api','ZYXUi':function(_0x141588,_0x431c6b){return _0x141588===_0x431c6b;},'gSyIA':function(_0x3f7ab9,_0x1ccc8b){return _0x3f7ab9+_0x1ccc8b;}},_0x1be16a=_0xbbe026[_0x4e397e(0x103)](getBrowserstackCLI),_0x3b9fba=_0xbbe026[_0x4e397e(0x107)](nestedKeyValue,_0x1be16a['getInstance']()[_0x4e397e(0x104)](),[_0xbbe026[_0x4e397e(0x12c)],_0xbbe026[_0x4e397e(0x15f)],_0xbbe026['roPNI']])||constants[_0x4e397e(0x118)];if(!_0x98d37||_0xbbe026[_0x4e397e(0x151)](_0x98d37,''))return _0x3b9fba;const _0x27b40d=_0x3b9fba['endsWith']('/')?_0x3b9fba:_0xbbe026[_0x4e397e(0x106)](_0x3b9fba,'/');return new URL(_0x98d37,_0x27b40d)[_0x4e397e(0x13c)]();}static['getAutomateSessionNameAPIUrl'](_0x2823b2){const _0x3dd3cd=a60_0xd7ed34,_0x57f1ae={'itlyR':function(_0xba6602){return _0xba6602();},'ADPIU':function(_0x24d270,_0x459ec7,_0x196511){return _0x24d270(_0x459ec7,_0x196511);},'dnfGH':_0x3dd3cd(0x155),'XJlPw':_0x3dd3cd(0x123),'fxOtI':_0x3dd3cd(0x124),'zwaUG':function(_0xd252e,_0x53a8ca){return _0xd252e===_0x53a8ca;},'UCvuL':function(_0x5d725e,_0x406267){return _0x5d725e+_0x406267;}},_0x120629=_0x57f1ae[_0x3dd3cd(0x141)](getBrowserstackCLI),_0x268c75=_0x57f1ae['ADPIU'](nestedKeyValue,_0x120629['getInstance']()[_0x3dd3cd(0x104)](),[_0x57f1ae[_0x3dd3cd(0x162)],_0x57f1ae[_0x3dd3cd(0x131)],_0x57f1ae['fxOtI']])||constants['BROWSERSTACK_API_URL'];if(!_0x2823b2||_0x57f1ae[_0x3dd3cd(0x10f)](_0x2823b2,''))return _0x268c75;const _0x2af56d=_0x268c75['endsWith']('/')?_0x268c75:_0x57f1ae[_0x3dd3cd(0x15d)](_0x268c75,'/');return new URL(_0x2823b2,_0x2af56d)[_0x3dd3cd(0x13c)]();}static[a60_0xd7ed34(0x134)](_0x4c2ff4){const _0x25824c=a60_0xd7ed34,_0x212eab={'HjeNC':function(_0xde9d65){return _0xde9d65();},'oLTTw':function(_0x48eb3c,_0x4f9e21,_0x3eb567){return _0x48eb3c(_0x4f9e21,_0x3eb567);},'omSfu':_0x25824c(0x155),'lbKfb':_0x25824c(0x10a),'AwnMk':_0x25824c(0x124),'UCIPo':function(_0x3ea2e5,_0x5b936d){return _0x3ea2e5===_0x5b936d;},'tgcxZ':function(_0x3365ed,_0x810ee8){return _0x3365ed+_0x810ee8;}},_0x327066=_0x212eab[_0x25824c(0x158)](getBrowserstackCLI),_0x111011=_0x212eab[_0x25824c(0x100)](nestedKeyValue,_0x327066['getInstance']()[_0x25824c(0x104)](),[_0x212eab['omSfu'],_0x212eab[_0x25824c(0x163)],_0x212eab[_0x25824c(0x149)]])||constants[_0x25824c(0x118)];if(!_0x4c2ff4||_0x212eab[_0x25824c(0x150)](_0x4c2ff4,''))return _0x111011;const _0x56f7ba=_0x111011[_0x25824c(0x112)]('/')?_0x111011:_0x212eab[_0x25824c(0x15e)](_0x111011,'/');return new URL(_0x4c2ff4,_0x56f7ba)[_0x25824c(0x13c)]();}static['getAutomateSessionsListAPIUrl'](_0x163c8a){const _0x3fe1f1=a60_0xd7ed34,_0xe07fdb={'tlqjO':function(_0x13da7b){return _0x13da7b();},'uDvOv':function(_0x4be3cc,_0x49d6cf,_0x232150){return _0x4be3cc(_0x49d6cf,_0x232150);},'VYyPI':_0x3fe1f1(0x155),'EESQD':'automate','ONJPv':_0x3fe1f1(0x124),'FKBKt':function(_0x2db7b3,_0x3668b1){return _0x2db7b3===_0x3668b1;},'PJzMn':function(_0x5f29df,_0x6adb87){return _0x5f29df+_0x6adb87;}},_0x30c0c8=_0xe07fdb['tlqjO'](getBrowserstackCLI),_0x2e21d8=_0xe07fdb['uDvOv'](nestedKeyValue,_0x30c0c8[_0x3fe1f1(0x115)]()[_0x3fe1f1(0x104)](),[_0xe07fdb['VYyPI'],_0xe07fdb[_0x3fe1f1(0x108)],_0xe07fdb[_0x3fe1f1(0x13d)]])||constants['BROWSERSTACK_API_URL'];if(!_0x163c8a||_0xe07fdb[_0x3fe1f1(0x127)](_0x163c8a,''))return _0x2e21d8;const _0x12abf3=_0x2e21d8[_0x3fe1f1(0x112)]('/')?_0x2e21d8:_0xe07fdb['PJzMn'](_0x2e21d8,'/');return new URL(_0x163c8a,_0x12abf3)[_0x3fe1f1(0x13c)]()['replace'](/^https?:\/\//,'');}static[a60_0xd7ed34(0x11c)](_0x54f2f7){const _0xe0b8d6=a60_0xd7ed34,_0x47b389={'cUiTP':function(_0x2568b3){return _0x2568b3();},'oGfqZ':function(_0x560fff,_0x195603,_0x1c4e7e){return _0x560fff(_0x195603,_0x1c4e7e);},'YNncn':_0xe0b8d6(0x155),'lUmfF':_0xe0b8d6(0x10a),'NUDiV':_0xe0b8d6(0x124),'KtFUl':function(_0x59a142,_0x5041a8){return _0x59a142===_0x5041a8;},'SzkEw':function(_0x3bec11,_0x356e2b){return _0x3bec11+_0x356e2b;}},_0x2f689b=_0x47b389[_0xe0b8d6(0x137)](getBrowserstackCLI),_0x2db1d9=_0x47b389[_0xe0b8d6(0x12a)](nestedKeyValue,_0x2f689b[_0xe0b8d6(0x115)]()[_0xe0b8d6(0x104)](),[_0x47b389[_0xe0b8d6(0x142)],_0x47b389[_0xe0b8d6(0x129)],_0x47b389[_0xe0b8d6(0x14b)]])||constants['APP_UPLOAD_URL'];if(!_0x54f2f7||_0x47b389['KtFUl'](_0x54f2f7,''))return _0x2db1d9;const _0x2c6473=_0x2db1d9[_0xe0b8d6(0x112)]('/')?_0x2db1d9:_0x47b389[_0xe0b8d6(0x102)](_0x2db1d9,'/');return new URL(_0x54f2f7,_0x2c6473)[_0xe0b8d6(0x13c)]()[_0xe0b8d6(0x10c)](/^https?:\/\//,'');}static[a60_0xd7ed34(0x12f)](_0x2c0218){const _0x297b67=a60_0xd7ed34,_0x50a53d={'rOILW':function(_0x8a13b0){return _0x8a13b0();},'pLbmU':function(_0x291f33,_0x3f41ff,_0x433fc4){return _0x291f33(_0x3f41ff,_0x433fc4);},'XMNLC':_0x297b67(0x155),'vmeMv':_0x297b67(0x105),'xZuEi':'upload','UxTst':function(_0x26d49f,_0x56e966){return _0x26d49f===_0x56e966;},'iTfOq':function(_0xca2e87,_0x26d479){return _0xca2e87+_0x26d479;}},_0x228d46=_0x50a53d['rOILW'](getBrowserstackCLI),_0x265875=_0x50a53d[_0x297b67(0x13e)](nestedKeyValue,_0x228d46[_0x297b67(0x115)]()[_0x297b67(0x104)](),[_0x50a53d['XMNLC'],_0x50a53d['vmeMv'],_0x50a53d[_0x297b67(0x144)]])||constants[_0x297b67(0x159)];if(!_0x2c0218||_0x50a53d[_0x297b67(0x13f)](_0x2c0218,''))return _0x265875;const _0x2c540f=_0x265875[_0x297b67(0x112)]('/')?_0x265875:_0x50a53d['iTfOq'](_0x265875,'/');return new URL(_0x2c0218,_0x2c540f)['toString']();}static[a60_0xd7ed34(0x14c)](_0x39c16e){const _0x3d0d65=a60_0xd7ed34,_0xbe2035={'TsLMK':function(_0x3b6756){return _0x3b6756();},'Ctfng':function(_0x518049,_0x1a3d36,_0x3a5dfd){return _0x518049(_0x1a3d36,_0x3a5dfd);},'rtiab':_0x3d0d65(0x155),'RFjSB':_0x3d0d65(0x123),'NIcgL':_0x3d0d65(0x156),'eyClP':'wss:','xNrtP':function(_0x1bcf07,_0x216d87){return _0x1bcf07===_0x216d87;},'DuDrf':function(_0x1d59cf,_0x1db391){return _0x1d59cf+_0x1db391;},'fEDfB':_0x3d0d65(0x113)},_0x282238=_0xbe2035['TsLMK'](getBrowserstackCLI),_0x338d20=_0xbe2035[_0x3d0d65(0x133)](nestedKeyValue,_0x282238[_0x3d0d65(0x115)]()['getConfig'](),[_0xbe2035[_0x3d0d65(0x153)],_0xbe2035[_0x3d0d65(0x128)],_0xbe2035[_0x3d0d65(0x125)]]),_0x4f98f9=(_0x338d20?_0x338d20['replace'](/^https:/,_0xbe2035[_0x3d0d65(0x157)]):null)||constants[_0x3d0d65(0x10e)];let _0x4d2e9d;if(!_0x39c16e||_0xbe2035['xNrtP'](_0x39c16e,''))_0x4d2e9d=_0x4f98f9;else{const _0x2d1bde=_0x4f98f9[_0x3d0d65(0x112)]('/')?_0x4f98f9:_0xbe2035[_0x3d0d65(0x146)](_0x4f98f9,'/');_0x4d2e9d=new URL(_0x39c16e,_0x2d1bde)[_0x3d0d65(0x13c)]();}return!_0x4d2e9d[_0x3d0d65(0x112)](_0xbe2035[_0x3d0d65(0x126)])&&(_0x4d2e9d+=_0xbe2035['fEDfB']),_0x4d2e9d;}static['getPuppeteerHubUrl'](_0x3dd201){const _0x58bbfc=a60_0xd7ed34,_0x5e799c={'uZHBU':function(_0xa9b171){return _0xa9b171();},'bLWSP':function(_0x48f322,_0x5f3df1,_0xb72240){return _0x48f322(_0x5f3df1,_0xb72240);},'hngtq':_0x58bbfc(0x155),'uNoCq':_0x58bbfc(0x123),'TonBZ':'cdp','JIutK':_0x58bbfc(0x11e),'ZVxfD':function(_0xb14be1,_0x184f35){return _0xb14be1===_0x184f35;},'aVraS':function(_0x18cba2,_0x30cfd5){return _0x18cba2+_0x30cfd5;},'oGSWX':'/puppeteer?caps='},_0x40401c=_0x5e799c[_0x58bbfc(0x165)](getBrowserstackCLI),_0x437b17=_0x5e799c[_0x58bbfc(0x152)](nestedKeyValue,_0x40401c[_0x58bbfc(0x115)]()[_0x58bbfc(0x104)](),[_0x5e799c['hngtq'],_0x5e799c[_0x58bbfc(0x117)],_0x5e799c[_0x58bbfc(0x14f)]]),_0x3d81ce=(_0x437b17?_0x437b17[_0x58bbfc(0x10c)](/^https:/,_0x5e799c[_0x58bbfc(0x154)]):null)||constants[_0x58bbfc(0x122)];let _0x11246d;if(!_0x3dd201||_0x5e799c[_0x58bbfc(0x12d)](_0x3dd201,''))_0x11246d=_0x3d81ce;else{const _0xc2ae38=_0x3d81ce[_0x58bbfc(0x112)]('/')?_0x3d81ce:_0x5e799c[_0x58bbfc(0x11b)](_0x3d81ce,'/');_0x11246d=new URL(_0x3dd201,_0xc2ae38)[_0x58bbfc(0x13c)]();}return!_0x11246d[_0x58bbfc(0x112)](_0x5e799c[_0x58bbfc(0x12b)])&&(_0x11246d+=_0x5e799c['oGSWX']),_0x11246d;}}module[a60_0xd7ed34(0x11f)]=APIUtilityMethods;
@@ -1 +1 @@
1
- function a61_0x5e02(){const _0x2746c6=['reportConnectivityIssue','Error\x20in\x20getting\x20error\x20details\x20for\x20','jQcnh','3994404VWvUgv','anPmS','Process\x20Interruption\x20details\x20not\x20found:','FWyvg','.browserstack\x20folder\x20not\x20accessible','parse','NktLk','reportProcessInterruptionSituation','Error\x20in\x20getting\x20aggregated\x20error\x20codes:','SeEtT','getErrorDetails','Conflicting\x20Env\x20Var\x20details\x20not\x20found','getAggregatedClientTroubleshootingErrors','lafZL','getCachedErrorCodes','{ENV_VAR}','isArray','checkForErrorsOccuredInCLI','nxtqo','exports','join','getAggregatedErrorCodes','getErrorCodesOccurredInCli','zvUrN','zghrb','bbwIo','getErrorMessage','errorCodes','errorCode','length','toString','logError','replace','logSituation','UUHcO','errorCodesOccurredWhenCLINotRunning','reportSSLCertIssue','reportClientTroubleshootingError','3511137JkRvlQ','Teugz','warn','cachedErrorCodes','ckOSW','keys','getErrorCodes','fYIcm','getSuccess','conflicting\x20env\x20var\x20detected','base64','UfkKr','60468CScvQK','gmvBl','YUqoB','YgHnQ','32jXniGU','.browserstack\x20Folder\x20Not\x20Accessible\x20details\x20not\x20found','reportConflictingEnvVarIssue','object','3574928gnLHXH','from','add','getInstance','Process\x20Interruption','TOpqE','reportSessionLinkingIssue','YsYBZ','errorCodesOccurredInCLI','ssl\x20cert\x20issue','documentationLink','SVrrB','vDXRh','2501849JpVlxx','ChemQ','1674944DwxYft','../../helpers/logger','./constants','stringify','fFtuv','rrLjU','browserstack\x20cloud\x20not\x20reachable','inMHT','reportDotBrowserStackFolderNotAccessibleIssue','CLIENT_TROUBLESHOOTING_HASH','160eSCSoM','tSqmI','winstonLogger','finalErrorMessage','errorMessage','vHNLG','../v2/browserstackCLI','Mjnvf','error','31117644EUfJWQ','GipTi','push','size','[ClientTroubleShootingService]\x20','reportFinalDetectionState','getFinalErrorMessage','../v2/grpcClient'];a61_0x5e02=function(){return _0x2746c6;};return a61_0x5e02();}const a61_0x5cae29=a61_0x4398;(function(_0x4ec64c,_0x5515b5){const _0x4e7279=a61_0x4398,_0x22a770=_0x4ec64c();while(!![]){try{const _0x596fd4=parseInt(_0x4e7279(0x151))/0x1+-parseInt(_0x4e7279(0x142))/0x2+-parseInt(_0x4e7279(0x12e))/0x3+-parseInt(_0x4e7279(0x13a))/0x4*(parseInt(_0x4e7279(0xf4))/0x5)+parseInt(_0x4e7279(0x108))/0x6+parseInt(_0x4e7279(0x14f))/0x7*(-parseInt(_0x4e7279(0x13e))/0x8)+parseInt(_0x4e7279(0xfd))/0x9;if(_0x596fd4===_0x5515b5)break;else _0x22a770['push'](_0x22a770['shift']());}catch(_0x10c1e6){_0x22a770['push'](_0x22a770['shift']());}}}(a61_0x5e02,0xe2503));const logger=require(a61_0x5cae29(0x152))[a61_0x5cae29(0xf6)],BrowserstackCLI=require(a61_0x5cae29(0xfa)),GrpcClient=require(a61_0x5cae29(0x104)),constants=require(a61_0x5cae29(0x153));function a61_0x4398(_0x31fb76,_0x743be5){const _0x5e024e=a61_0x5e02();return a61_0x4398=function(_0x4398ce,_0x8e29){_0x4398ce=_0x4398ce-0xef;let _0xf6d7cd=_0x5e024e[_0x4398ce];return _0xf6d7cd;},a61_0x4398(_0x31fb76,_0x743be5);}class ClientTroubleShootingService{static ['cachedErrorCodes']=null;static [a61_0x5cae29(0x12b)]=new Set();static async[a61_0x5cae29(0x112)](_0x1d9aed){const _0x182979=a61_0x5cae29,_0x320fae={};_0x320fae[_0x182979(0x121)]=function(_0xeb3b4f,_0xaca710){return _0xeb3b4f!==_0xaca710;};const _0x5a3933=_0x320fae;try{if(BrowserstackCLI[_0x182979(0x145)]()['isRunning']()){const _0x12a805=await GrpcClient[_0x182979(0x145)]()[_0x182979(0x12d)](_0x1d9aed);if(_0x5a3933['bbwIo'](_0x12a805,null)&&_0x12a805[_0x182979(0x136)]())return{'errorCode':_0x12a805['getErrorCode'](),'errorMessage':_0x12a805[_0x182979(0x122)]()};return{};}return{};}catch(_0x4a6eb5){return this[_0x182979(0x127)](_0x182979(0x106)+_0x1d9aed+':',_0x4a6eb5),{};}}static async['getAggregatedErrorCodes'](){const _0x994e28=a61_0x5cae29,_0xdfc611={};_0xdfc611[_0x994e28(0x13c)]=function(_0x1d3737,_0x15a40f){return _0x1d3737!==_0x15a40f;},_0xdfc611[_0x994e28(0x12f)]=_0x994e28(0x138),_0xdfc611['SeEtT']=_0x994e28(0x110);const _0x38bd3c=_0xdfc611;try{if(BrowserstackCLI[_0x994e28(0x145)]()['isRunning']()){const _0x3ec1ce=await GrpcClient[_0x994e28(0x145)]()[_0x994e28(0x114)]();if(_0x38bd3c[_0x994e28(0x13c)](_0x3ec1ce,null)&&_0x3ec1ce['getSuccess']()){const _0x899d82=Buffer['from'](_0x3ec1ce[_0x994e28(0x134)](),_0x38bd3c['Teugz'])[_0x994e28(0x126)](),_0x35d075=_0x899d82?JSON[_0x994e28(0x10d)](_0x899d82):[],_0x2d9e24=_0x3ec1ce['getDocumentationLink'](),_0x524610=_0x3ec1ce[_0x994e28(0x103)](),_0x4cb518=Buffer['from'](_0x3ec1ce[_0x994e28(0x11e)](),_0x38bd3c[_0x994e28(0x12f)])[_0x994e28(0x126)](),_0x5b8763=_0x4cb518?JSON[_0x994e28(0x10d)](_0x4cb518):[],_0x38429f={};return _0x38429f[_0x994e28(0x123)]=_0x35d075,_0x38429f['documentationLink']=_0x2d9e24,_0x38429f['finalErrorMessage']=_0x524610,_0x38429f['errorCodesOccurredInCLI']=_0x5b8763,_0x38429f;}const _0x187a4c={};return _0x187a4c['errorCodes']=[],_0x187a4c[_0x994e28(0x14c)]='',_0x187a4c[_0x994e28(0xf7)]='',_0x187a4c[_0x994e28(0x14a)]=[],_0x187a4c;}const _0x5ef32e={};return _0x5ef32e['errorCodes']=[],_0x5ef32e['documentationLink']='',_0x5ef32e[_0x994e28(0xf7)]='',_0x5ef32e[_0x994e28(0x14a)]=[],_0x5ef32e;}catch(_0x143725){this[_0x994e28(0x127)](_0x38bd3c[_0x994e28(0x111)],_0x143725);const _0x1a102e={};return _0x1a102e[_0x994e28(0x123)]=[],_0x1a102e['documentationLink']='',_0x1a102e[_0x994e28(0xf7)]='',_0x1a102e[_0x994e28(0x14a)]=[],_0x1a102e;}}static[a61_0x5cae29(0x129)](_0x5d41f2,_0x541342){const _0x4587e2=a61_0x5cae29;logger[_0x4587e2(0x130)](_0x5d41f2+':\x20'+_0x541342);}static['checkForErrorsOccuredInCLI'](_0x4ddb68){const _0x27610=a61_0x5cae29,_0x6801b1={};_0x6801b1[_0x27610(0x12a)]=function(_0x370fcc,_0x17a3a4){return _0x370fcc!=_0x17a3a4;},_0x6801b1['oosGj']=function(_0x2b4f44,_0x30b5be){return _0x2b4f44!=_0x30b5be;},_0x6801b1[_0x27610(0x10e)]=function(_0x128e14,_0x588606){return _0x128e14>_0x588606;};const _0x4b456f=_0x6801b1,_0xb15e8=[];if(_0x4b456f['UUHcO'](_0x4ddb68,null)&&_0x4b456f['oosGj'](_0x4ddb68[_0x27610(0x14a)],null)&&_0x4b456f[_0x27610(0x10e)](_0x4ddb68[_0x27610(0x14a)][_0x27610(0x125)],0x0))for(const _0x490b94 of _0x4ddb68[_0x27610(0x14a)]){_0x4b456f['UUHcO'](_0x490b94[_0x27610(0x124)],null)&&_0x4b456f['UUHcO'](_0x490b94[_0x27610(0xf8)],null)&&(_0xb15e8[_0x27610(0xff)](_0x490b94['errorCode']),this[_0x27610(0x129)](_0x490b94[_0x27610(0x124)],_0x490b94[_0x27610(0xf8)]));}return _0xb15e8;}static[a61_0x5cae29(0x116)](){return this['cachedErrorCodes'];}static[a61_0x5cae29(0x127)](_0x5dd283,_0x4b7882){const _0x4d60d0=a61_0x5cae29,_0x605a37={};_0x605a37['fYdgG']=function(_0x586e37,_0x4d4e90){return _0x586e37===_0x4d4e90;},_0x605a37[_0x4d60d0(0x132)]=_0x4d60d0(0x141);const _0x1d1902=_0x605a37;if(_0x1d1902['fYdgG'](typeof _0x4b7882,_0x1d1902[_0x4d60d0(0x132)]))try{logger[_0x4d60d0(0xfc)](_0x4d60d0(0x101)+_0x5dd283+'\x20'+JSON[_0x4d60d0(0x154)](_0x4b7882));}catch(_0x1aa4a0){logger[_0x4d60d0(0xfc)]('[ClientTroubleShootingService]\x20'+_0x5dd283+'\x20'+_0x4b7882);}else logger['error'](_0x4d60d0(0x101)+_0x5dd283+'\x20'+_0x4b7882);}static async[a61_0x5cae29(0x10f)](_0x3ab911){const _0x2ac9e4=a61_0x5cae29,_0x1109b3={};_0x1109b3[_0x2ac9e4(0x11a)]=_0x2ac9e4(0x146),_0x1109b3[_0x2ac9e4(0x155)]=function(_0x523f17,_0x1c74b7){return _0x523f17===_0x1c74b7;},_0x1109b3['inMHT']=_0x2ac9e4(0x10a),_0x1109b3[_0x2ac9e4(0x135)]='{SIGNAL}';const _0xbefd26=_0x1109b3,_0x1d21d6=await this['getErrorDetails'](_0xbefd26[_0x2ac9e4(0x11a)]);if(!_0x1d21d6||_0xbefd26[_0x2ac9e4(0x155)](Object[_0x2ac9e4(0x133)](_0x1d21d6)['length'],0x0)){this['logError'](_0xbefd26[_0x2ac9e4(0xf1)],_0x1d21d6);return;}this['logSituation'](_0x1d21d6[_0x2ac9e4(0x124)],_0x1d21d6[_0x2ac9e4(0xf8)]['replace'](_0xbefd26['fYIcm'],_0x3ab911));}static async[a61_0x5cae29(0x148)](){const _0x59eae8=a61_0x5cae29,_0x188d24={};_0x188d24[_0x59eae8(0x10b)]='Session\x20Linking\x20Issue',_0x188d24[_0x59eae8(0x149)]=function(_0x4faac4,_0x2dfde5){return _0x4faac4===_0x2dfde5;},_0x188d24[_0x59eae8(0x14e)]='Session\x20Linking\x20Issue\x20details\x20not\x20found';const _0x2019a7=_0x188d24,_0x439b80=await this[_0x59eae8(0x112)](_0x2019a7['FWyvg']);if(!_0x439b80||_0x2019a7[_0x59eae8(0x149)](Object[_0x59eae8(0x133)](_0x439b80)[_0x59eae8(0x125)],0x0)){this[_0x59eae8(0x127)](_0x2019a7[_0x59eae8(0x14e)],_0x439b80);return;}this['logSituation'](_0x439b80[_0x59eae8(0x124)],_0x439b80[_0x59eae8(0xf8)]);}static async[a61_0x5cae29(0x105)](){const _0x124e0c=a61_0x5cae29,_0x5b58bb={};_0x5b58bb['SVrrB']=_0x124e0c(0xf0),_0x5b58bb[_0x124e0c(0x150)]=function(_0x2739f2,_0x30245d){return _0x2739f2===_0x30245d;},_0x5b58bb['zvUrN']='Connectivity\x20Issue\x20details\x20not\x20found';const _0x3ec0be=_0x5b58bb,_0x4cf795=await this[_0x124e0c(0x112)](_0x3ec0be[_0x124e0c(0x14d)]);if(!_0x4cf795||_0x3ec0be['ChemQ'](Object[_0x124e0c(0x133)](_0x4cf795)[_0x124e0c(0x125)],0x0)){this[_0x124e0c(0x127)](_0x3ec0be[_0x124e0c(0x11f)],_0x4cf795);return;}this[_0x124e0c(0x129)](_0x4cf795['errorCode'],_0x4cf795[_0x124e0c(0xf8)]);}static async[a61_0x5cae29(0x12c)](){const _0x2c33c2=a61_0x5cae29,_0xf02a0a={};_0xf02a0a['TOpqE']=_0x2c33c2(0x14b),_0xf02a0a[_0x2c33c2(0x139)]=function(_0x2d19e1,_0x51e483){return _0x2d19e1===_0x51e483;},_0xf02a0a[_0x2c33c2(0xfb)]='SSL\x20Certificate\x20Issue\x20details\x20not\x20found';const _0x5cb9a8=_0xf02a0a,_0x52c686=await this['getErrorDetails'](_0x5cb9a8[_0x2c33c2(0x147)]);if(!_0x52c686||_0x5cb9a8[_0x2c33c2(0x139)](Object['keys'](_0x52c686)['length'],0x0)){this[_0x2c33c2(0x127)](_0x5cb9a8[_0x2c33c2(0xfb)],_0x52c686);return;}this[_0x2c33c2(0x129)](_0x52c686[_0x2c33c2(0x124)],_0x52c686['errorMessage']);}static[a61_0x5cae29(0xf2)](){const _0x411d55=a61_0x5cae29,_0x2518e6={};_0x2518e6[_0x411d55(0x120)]=_0x411d55(0x10c),_0x2518e6[_0x411d55(0xef)]=function(_0x3060c9,_0x2f322e){return _0x3060c9===_0x2f322e;},_0x2518e6[_0x411d55(0x13d)]=_0x411d55(0x13f);const _0x36cded=_0x2518e6,_0x3d0838=constants[_0x411d55(0xf3)][_0x36cded[_0x411d55(0x120)]];if(!_0x3d0838||_0x36cded['rrLjU'](Object['keys'](_0x3d0838)['length'],0x0)){this[_0x411d55(0x127)](_0x36cded[_0x411d55(0x13d)],_0x3d0838);return;}this['errorCodesOccurredWhenCLINotRunning'][_0x411d55(0x144)](_0x3d0838[0x0]),this['logSituation'](_0x3d0838[0x0],_0x3d0838[0x1]);}static async[a61_0x5cae29(0x140)](_0x1d0f18){const _0x2bc5fb=a61_0x5cae29,_0x594130={};_0x594130[_0x2bc5fb(0xf9)]=_0x2bc5fb(0x137),_0x594130[_0x2bc5fb(0x107)]=function(_0x1c6a92,_0xde5121){return _0x1c6a92===_0xde5121;},_0x594130[_0x2bc5fb(0xfe)]=_0x2bc5fb(0x113),_0x594130[_0x2bc5fb(0x13b)]=_0x2bc5fb(0x117);const _0x3f107a=_0x594130,_0xaca0c2=await this[_0x2bc5fb(0x112)](_0x3f107a[_0x2bc5fb(0xf9)]);if(!_0xaca0c2||_0x3f107a[_0x2bc5fb(0x107)](Object[_0x2bc5fb(0x133)](_0xaca0c2)[_0x2bc5fb(0x125)],0x0)){this[_0x2bc5fb(0x127)](_0x3f107a[_0x2bc5fb(0xfe)],_0xaca0c2);return;}const _0x3b22a7=_0xaca0c2[_0x2bc5fb(0xf8)]['replace'](_0x3f107a[_0x2bc5fb(0x13b)],_0x1d0f18);this[_0x2bc5fb(0x129)](_0xaca0c2[_0x2bc5fb(0x124)],_0x3b22a7);}static async[a61_0x5cae29(0x102)](){const _0x35f6d4=a61_0x5cae29,_0x422c8d={};_0x422c8d[_0x35f6d4(0x109)]=function(_0x497d1f,_0x19d85d){return _0x497d1f>_0x19d85d;},_0x422c8d['tSqmI']='{ERROR_CODES}',_0x422c8d[_0x35f6d4(0x115)]='{CLIENT_TROUBLESHOOTING_DOCUMENTATION}';const _0x2ffe37=_0x422c8d,_0x1ee181=await this[_0x35f6d4(0x11d)](),_0x4f279f=this[_0x35f6d4(0x119)](_0x1ee181),_0x4c16f6=Array[_0x35f6d4(0x118)](_0x1ee181[_0x35f6d4(0x123)])?_0x1ee181[_0x35f6d4(0x123)]:[],_0x5edf9c=_0x2ffe37[_0x35f6d4(0x109)](this['errorCodesOccurredWhenCLINotRunning'][_0x35f6d4(0x100)],0x0)?Array[_0x35f6d4(0x143)](this[_0x35f6d4(0x12b)]):[],_0x185d87=new Set([..._0x4c16f6,..._0x4f279f,..._0x5edf9c]),_0xa408eb=Array['from'](_0x185d87);if(_0x2ffe37[_0x35f6d4(0x109)](_0xa408eb[_0x35f6d4(0x125)],0x0)){const _0x223a59=_0x1ee181[_0x35f6d4(0xf7)][_0x35f6d4(0x128)](_0x2ffe37[_0x35f6d4(0xf5)],_0xa408eb[_0x35f6d4(0x11c)](',\x20'))[_0x35f6d4(0x128)](_0x2ffe37[_0x35f6d4(0x115)],_0x1ee181[_0x35f6d4(0x14c)]);logger['warn'](_0x223a59),this[_0x35f6d4(0x131)]=_0xa408eb;}}}module[a61_0x5cae29(0x11b)]=ClientTroubleShootingService;
1
+ const a61_0x190068=a61_0x46c2;function a61_0x39ba(){const _0x1e7ac1=['add','getErrorDetails','135448cABlgJ','xmaxS','WNlEQ','errorCode','8fMwljN','object','base64','getInstance','errorCodes','402470mNnfqc','errorMessage','reportSessionLinkingIssue','error','noxZQ','ssl\x20cert\x20issue','Session\x20Linking\x20Issue\x20details\x20not\x20found','zHkws','iABJS','409339cYIsrA','xDTzw','toString','PrSyk','33DNHVMj','IoZqV','conflicting\x20env\x20var\x20detected','WpWYV','.browserstack\x20folder\x20not\x20accessible','size','{CLIENT_TROUBLESHOOTING_DOCUMENTATION}','getErrorCode','ENABN','Process\x20Interruption\x20details\x20not\x20found:','PspYg','XEIGs','vTKsF','../../helpers/logger','keys','from','reportConflictingEnvVarIssue','winstonLogger','finalErrorMessage','JHjmj','978nirNrx','stringify','reportDotBrowserStackFolderNotAccessibleIssue','EBFlf','RaomU','errorCodesOccurredWhenCLINotRunning','length','161320kvVKYX','checkForErrorsOccuredInCLI','tmkcV','fvuOG','reportClientTroubleshootingError','QcJXP','{ERROR_CODES}','getErrorCodesOccurredInCli','parse','errorCodesOccurredInCLI','reportSSLCertIssue','FNiTS','dTBid','getErrorMessage','jLqJh','{ENV_VAR}','ADEAB','wdcXb','isArray','../v2/grpcClient','./constants','warn','Session\x20Linking\x20Issue','{SIGNAL}','259410zsvqYC','Connectivity\x20Issue\x20details\x20not\x20found','getAggregatedClientTroubleshootingErrors','EWmYN','djMUw','join','getCachedErrorCodes','BCbhS','286CoDEpN','logSituation','reportFinalDetectionState','GIgxJ','SSL\x20Certificate\x20Issue\x20details\x20not\x20found.\x20To\x20pass\x20a\x20custom\x20CA\x20bundle,\x20set\x20NODE_EXTRA_CA_CERTS\x20or\x20BROWSERSTACK_EXTRA_CA_CERTS\x20env\x20var\x20to\x20the\x20certificate\x20file\x20path.','logError','1373490UKuZWi','getSuccess','isRunning','replace','spiuS','push','Error\x20in\x20getting\x20error\x20details\x20for\x20','cachedErrorCodes','OBYPP','11945ybFSvh','documentationLink','getAggregatedErrorCodes'];a61_0x39ba=function(){return _0x1e7ac1;};return a61_0x39ba();}(function(_0x56cb66,_0x700630){const _0xe9023c=a61_0x46c2,_0x4aa0e2=_0x56cb66();while(!![]){try{const _0x285ac8=parseInt(_0xe9023c(0x1e3))/0x1+-parseInt(_0xe9023c(0x1bb))/0x2+parseInt(_0xe9023c(0x1c8))/0x3*(-parseInt(_0xe9023c(0x1b2))/0x4)+-parseInt(_0xe9023c(0x212))/0x5*(-parseInt(_0xe9023c(0x1dc))/0x6)+-parseInt(_0xe9023c(0x1c4))/0x7*(-parseInt(_0xe9023c(0x1b6))/0x8)+-parseInt(_0xe9023c(0x209))/0x9+parseInt(_0xe9023c(0x1fb))/0xa*(parseInt(_0xe9023c(0x203))/0xb);if(_0x285ac8===_0x700630)break;else _0x4aa0e2['push'](_0x4aa0e2['shift']());}catch(_0x4576f7){_0x4aa0e2['push'](_0x4aa0e2['shift']());}}}(a61_0x39ba,0x8811f));const logger=require(a61_0x190068(0x1d5))[a61_0x190068(0x1d9)],BrowserstackCLI=require('../v2/browserstackCLI'),GrpcClient=require(a61_0x190068(0x1f6)),constants=require(a61_0x190068(0x1f7));class ClientTroubleShootingService{static [a61_0x190068(0x210)]=null;static ['errorCodesOccurredWhenCLINotRunning']=new Set();static async['getErrorDetails'](_0x133e63){const _0x1165be=a61_0x190068,_0xf8a176={};_0xf8a176[_0x1165be(0x1d3)]=function(_0x1f6684,_0x51e3a2){return _0x1f6684!==_0x51e3a2;};const _0x5527ca=_0xf8a176;try{if(BrowserstackCLI[_0x1165be(0x1b9)]()['isRunning']()){const _0x46df2f=await GrpcClient['getInstance']()[_0x1165be(0x1e7)](_0x133e63);if(_0x5527ca['XEIGs'](_0x46df2f,null)&&_0x46df2f[_0x1165be(0x20a)]())return{'errorCode':_0x46df2f[_0x1165be(0x1cf)](),'errorMessage':_0x46df2f[_0x1165be(0x1f0)]()};return{};}return{};}catch(_0xbe3159){return this[_0x1165be(0x208)](_0x1165be(0x20f)+_0x133e63+':',_0xbe3159),{};}}static async[a61_0x190068(0x214)](){const _0x434ece=a61_0x190068,_0x4c59cb={};_0x4c59cb[_0x434ece(0x1c7)]=function(_0x5019d2,_0x3e07b2){return _0x5019d2!==_0x3e07b2;},_0x4c59cb[_0x434ece(0x1e5)]=_0x434ece(0x1b8),_0x4c59cb[_0x434ece(0x1db)]='Error\x20in\x20getting\x20aggregated\x20error\x20codes:';const _0x3abc23=_0x4c59cb;try{if(BrowserstackCLI['getInstance']()[_0x434ece(0x20b)]()){const _0x502693=await GrpcClient[_0x434ece(0x1b9)]()[_0x434ece(0x1fd)]();if(_0x3abc23['PrSyk'](_0x502693,null)&&_0x502693[_0x434ece(0x20a)]()){const _0x57c0da=Buffer['from'](_0x502693['getErrorCodes'](),_0x3abc23[_0x434ece(0x1e5)])[_0x434ece(0x1c6)](),_0x5f4d61=_0x57c0da?JSON['parse'](_0x57c0da):[],_0x44f9f1=_0x502693['getDocumentationLink'](),_0x1b6b05=_0x502693['getFinalErrorMessage'](),_0x4e7ea1=Buffer[_0x434ece(0x1d7)](_0x502693[_0x434ece(0x1ea)](),_0x3abc23[_0x434ece(0x1e5)])[_0x434ece(0x1c6)](),_0x17d274=_0x4e7ea1?JSON[_0x434ece(0x1eb)](_0x4e7ea1):[],_0x37a86a={};return _0x37a86a[_0x434ece(0x1ba)]=_0x5f4d61,_0x37a86a['documentationLink']=_0x44f9f1,_0x37a86a['finalErrorMessage']=_0x1b6b05,_0x37a86a[_0x434ece(0x1ec)]=_0x17d274,_0x37a86a;}const _0x2d6873={};return _0x2d6873[_0x434ece(0x1ba)]=[],_0x2d6873[_0x434ece(0x213)]='',_0x2d6873[_0x434ece(0x1da)]='',_0x2d6873['errorCodesOccurredInCLI']=[],_0x2d6873;}const _0x375949={};return _0x375949[_0x434ece(0x1ba)]=[],_0x375949[_0x434ece(0x213)]='',_0x375949[_0x434ece(0x1da)]='',_0x375949[_0x434ece(0x1ec)]=[],_0x375949;}catch(_0x4a30de){this[_0x434ece(0x208)](_0x3abc23['JHjmj'],_0x4a30de);const _0x152f60={};return _0x152f60[_0x434ece(0x1ba)]=[],_0x152f60[_0x434ece(0x213)]='',_0x152f60['finalErrorMessage']='',_0x152f60[_0x434ece(0x1ec)]=[],_0x152f60;}}static[a61_0x190068(0x204)](_0x1d4707,_0x5d98c7){const _0x4d846b=a61_0x190068;logger[_0x4d846b(0x1f8)](_0x1d4707+':\x20'+_0x5d98c7);}static[a61_0x190068(0x1e4)](_0x4589e7){const _0x4f97de=a61_0x190068,_0x45f40e={};_0x45f40e[_0x4f97de(0x1df)]=function(_0x40d67d,_0x27396d){return _0x40d67d!=_0x27396d;},_0x45f40e[_0x4f97de(0x1c3)]=function(_0x53ad05,_0x511a7c){return _0x53ad05>_0x511a7c;};const _0x12de82=_0x45f40e,_0x4e1ef7=[];if(_0x12de82[_0x4f97de(0x1df)](_0x4589e7,null)&&_0x12de82[_0x4f97de(0x1df)](_0x4589e7[_0x4f97de(0x1ec)],null)&&_0x12de82['iABJS'](_0x4589e7[_0x4f97de(0x1ec)]['length'],0x0))for(const _0x2c31b0 of _0x4589e7[_0x4f97de(0x1ec)]){_0x12de82[_0x4f97de(0x1df)](_0x2c31b0[_0x4f97de(0x1b5)],null)&&_0x12de82['EBFlf'](_0x2c31b0[_0x4f97de(0x1bc)],null)&&(_0x4e1ef7[_0x4f97de(0x20e)](_0x2c31b0[_0x4f97de(0x1b5)]),this['logSituation'](_0x2c31b0['errorCode'],_0x2c31b0['errorMessage']));}return _0x4e1ef7;}static[a61_0x190068(0x201)](){return this['cachedErrorCodes'];}static[a61_0x190068(0x208)](_0x5aeb80,_0x498a4a){const _0x5a9e0a=a61_0x190068,_0x17ec81={};_0x17ec81[_0x5a9e0a(0x1e6)]=function(_0x3b4de6,_0x2b3281){return _0x3b4de6===_0x2b3281;},_0x17ec81['jjMWg']=_0x5a9e0a(0x1b7);const _0x598b3a=_0x17ec81;if(_0x598b3a[_0x5a9e0a(0x1e6)](typeof _0x498a4a,_0x598b3a['jjMWg']))try{logger['error']('[ClientTroubleShootingService]\x20'+_0x5aeb80+'\x20'+JSON[_0x5a9e0a(0x1dd)](_0x498a4a));}catch(_0x318251){logger[_0x5a9e0a(0x1be)]('[ClientTroubleShootingService]\x20'+_0x5aeb80+'\x20'+_0x498a4a);}else logger['error']('[ClientTroubleShootingService]\x20'+_0x5aeb80+'\x20'+_0x498a4a);}static async['reportProcessInterruptionSituation'](_0xbc377a){const _0x244dd=a61_0x190068,_0x59e18d={};_0x59e18d[_0x244dd(0x1b3)]='Process\x20Interruption',_0x59e18d[_0x244dd(0x206)]=function(_0x16f8bc,_0x225579){return _0x16f8bc===_0x225579;},_0x59e18d[_0x244dd(0x1fe)]=_0x244dd(0x1d1),_0x59e18d[_0x244dd(0x1c9)]=_0x244dd(0x1fa);const _0x12ea7c=_0x59e18d,_0x105b4a=await this['getErrorDetails'](_0x12ea7c[_0x244dd(0x1b3)]);if(!_0x105b4a||_0x12ea7c[_0x244dd(0x206)](Object[_0x244dd(0x1d6)](_0x105b4a)[_0x244dd(0x1e2)],0x0)){this[_0x244dd(0x208)](_0x12ea7c[_0x244dd(0x1fe)],_0x105b4a);return;}this[_0x244dd(0x204)](_0x105b4a[_0x244dd(0x1b5)],_0x105b4a[_0x244dd(0x1bc)]['replace'](_0x12ea7c[_0x244dd(0x1c9)],_0xbc377a));}static async[a61_0x190068(0x1bd)](){const _0x3f88d6=a61_0x190068,_0x426fb6={};_0x426fb6[_0x3f88d6(0x1cb)]=_0x3f88d6(0x1f9),_0x426fb6[_0x3f88d6(0x1d0)]=function(_0x114d09,_0x506889){return _0x114d09===_0x506889;},_0x426fb6['RaomU']=_0x3f88d6(0x1c1);const _0x5a0e84=_0x426fb6,_0x106b8a=await this[_0x3f88d6(0x1b1)](_0x5a0e84[_0x3f88d6(0x1cb)]);if(!_0x106b8a||_0x5a0e84[_0x3f88d6(0x1d0)](Object[_0x3f88d6(0x1d6)](_0x106b8a)['length'],0x0)){this[_0x3f88d6(0x208)](_0x5a0e84[_0x3f88d6(0x1e0)],_0x106b8a);return;}this[_0x3f88d6(0x204)](_0x106b8a[_0x3f88d6(0x1b5)],_0x106b8a[_0x3f88d6(0x1bc)]);}static async['reportConnectivityIssue'](){const _0x4d102a=a61_0x190068,_0xce7159={};_0xce7159[_0x4d102a(0x1bf)]='browserstack\x20cloud\x20not\x20reachable',_0xce7159[_0x4d102a(0x1ee)]=function(_0x101a9d,_0x1975ff){return _0x101a9d===_0x1975ff;},_0xce7159[_0x4d102a(0x1b4)]=_0x4d102a(0x1fc);const _0x609517=_0xce7159,_0x5061ba=await this['getErrorDetails'](_0x609517[_0x4d102a(0x1bf)]);if(!_0x5061ba||_0x609517[_0x4d102a(0x1ee)](Object['keys'](_0x5061ba)[_0x4d102a(0x1e2)],0x0)){this[_0x4d102a(0x208)](_0x609517[_0x4d102a(0x1b4)],_0x5061ba);return;}this['logSituation'](_0x5061ba[_0x4d102a(0x1b5)],_0x5061ba['errorMessage']);}static async[a61_0x190068(0x1ed)](){const _0x4316c6=a61_0x190068,_0x247672={};_0x247672[_0x4316c6(0x1ef)]=_0x4316c6(0x1c0),_0x247672[_0x4316c6(0x1e8)]=function(_0x5b2011,_0x39a631){return _0x5b2011===_0x39a631;},_0x247672[_0x4316c6(0x1d2)]=_0x4316c6(0x207);const _0x28e475=_0x247672,_0x4f9e06=await this[_0x4316c6(0x1b1)](_0x28e475[_0x4316c6(0x1ef)]);if(!_0x4f9e06||_0x28e475[_0x4316c6(0x1e8)](Object[_0x4316c6(0x1d6)](_0x4f9e06)[_0x4316c6(0x1e2)],0x0)){this[_0x4316c6(0x208)](_0x28e475[_0x4316c6(0x1d2)],_0x4f9e06);return;}this[_0x4316c6(0x204)](_0x4f9e06[_0x4316c6(0x1b5)],_0x4f9e06[_0x4316c6(0x1bc)]);}static[a61_0x190068(0x1de)](){const _0x1a823a=a61_0x190068,_0x3c98f0={};_0x3c98f0[_0x1a823a(0x1c5)]=_0x1a823a(0x1cc),_0x3c98f0['djMUw']=function(_0x3811b1,_0x3cff77){return _0x3811b1===_0x3cff77;},_0x3c98f0[_0x1a823a(0x1c2)]='.browserstack\x20Folder\x20Not\x20Accessible\x20details\x20not\x20found';const _0x26e8a8=_0x3c98f0,_0x181aee=constants['CLIENT_TROUBLESHOOTING_HASH'][_0x26e8a8[_0x1a823a(0x1c5)]];if(!_0x181aee||_0x26e8a8[_0x1a823a(0x1ff)](Object['keys'](_0x181aee)['length'],0x0)){this[_0x1a823a(0x208)](_0x26e8a8['zHkws'],_0x181aee);return;}this[_0x1a823a(0x1e1)][_0x1a823a(0x215)](_0x181aee[0x0]),this[_0x1a823a(0x204)](_0x181aee[0x0],_0x181aee[0x1]);}static async[a61_0x190068(0x1d8)](_0x2e6000){const _0x43cf80=a61_0x190068,_0xe775c4={};_0xe775c4[_0x43cf80(0x1f3)]=_0x43cf80(0x1ca),_0xe775c4[_0x43cf80(0x1f1)]=function(_0x27bda3,_0x50216e){return _0x27bda3===_0x50216e;},_0xe775c4[_0x43cf80(0x1f4)]='Conflicting\x20Env\x20Var\x20details\x20not\x20found',_0xe775c4['TGGhD']=_0x43cf80(0x1f2);const _0x5782be=_0xe775c4,_0x43fac9=await this[_0x43cf80(0x1b1)](_0x5782be[_0x43cf80(0x1f3)]);if(!_0x43fac9||_0x5782be['jLqJh'](Object[_0x43cf80(0x1d6)](_0x43fac9)[_0x43cf80(0x1e2)],0x0)){this[_0x43cf80(0x208)](_0x5782be[_0x43cf80(0x1f4)],_0x43fac9);return;}const _0x566910=_0x43fac9[_0x43cf80(0x1bc)][_0x43cf80(0x20c)](_0x5782be['TGGhD'],_0x2e6000);this[_0x43cf80(0x204)](_0x43fac9[_0x43cf80(0x1b5)],_0x566910);}static async[a61_0x190068(0x205)](){const _0x12d138=a61_0x190068,_0xd0960a={};_0xd0960a[_0x12d138(0x211)]=function(_0x53296b,_0x546d50){return _0x53296b>_0x546d50;},_0xd0960a[_0x12d138(0x202)]=function(_0x5169f9,_0x496f9c){return _0x5169f9>_0x496f9c;},_0xd0960a[_0x12d138(0x20d)]=_0x12d138(0x1e9),_0xd0960a[_0x12d138(0x1d4)]=_0x12d138(0x1ce);const _0x14a92e=_0xd0960a,_0x488ddb=await this[_0x12d138(0x214)](),_0x19c78d=this[_0x12d138(0x1e4)](_0x488ddb),_0xec81bb=Array[_0x12d138(0x1f5)](_0x488ddb[_0x12d138(0x1ba)])?_0x488ddb[_0x12d138(0x1ba)]:[],_0x298a09=_0x14a92e[_0x12d138(0x211)](this['errorCodesOccurredWhenCLINotRunning'][_0x12d138(0x1cd)],0x0)?Array[_0x12d138(0x1d7)](this[_0x12d138(0x1e1)]):[],_0x20769c=new Set([..._0xec81bb,..._0x19c78d,..._0x298a09]),_0x2df48f=Array[_0x12d138(0x1d7)](_0x20769c);if(_0x14a92e[_0x12d138(0x202)](_0x2df48f[_0x12d138(0x1e2)],0x0)){const _0x3e9b63=_0x488ddb[_0x12d138(0x1da)]['replace'](_0x14a92e[_0x12d138(0x20d)],_0x2df48f[_0x12d138(0x200)](',\x20'))[_0x12d138(0x20c)](_0x14a92e[_0x12d138(0x1d4)],_0x488ddb['documentationLink']);logger[_0x12d138(0x1f8)](_0x3e9b63),this[_0x12d138(0x210)]=_0x2df48f;}}}function a61_0x46c2(_0x20d6ed,_0x218359){const _0x39bab9=a61_0x39ba();return a61_0x46c2=function(_0x46c228,_0x14efc0){_0x46c228=_0x46c228-0x1b1;let _0x213aea=_0x39bab9[_0x46c228];return _0x213aea;},a61_0x46c2(_0x20d6ed,_0x218359);}module['exports']=ClientTroubleShootingService;