browserstack-node-sdk 1.50.5 → 1.50.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (186) 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 +2 -2
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/nightwatch/command.js +1 -1
  79. package/src/bin/playwright/accessibility-helper.js +1 -1
  80. package/src/bin/playwright/command.js +1 -1
  81. package/src/bin/playwright/globalSetup.js +1 -1
  82. package/src/bin/playwright/mock-process.js +1 -1
  83. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  84. package/src/bin/playwright/patches.js +1 -1
  85. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  86. package/src/bin/playwright/reporter/reporter.js +1 -1
  87. package/src/bin/playwright/reporter/test-details.js +1 -1
  88. package/src/bin/playwright/sessionDetails.js +1 -1
  89. package/src/bin/runner.js +1 -1
  90. package/src/bin/setup.js +1 -1
  91. package/src/bin/test-runner/index.js +1 -1
  92. package/src/bin/test-runner/runTest.js +1 -1
  93. package/src/bin/test-runner/testWorker.js +1 -1
  94. package/src/bin/utils/apiUtilityMethods.js +1 -1
  95. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  96. package/src/bin/utils/constants.js +1 -1
  97. package/src/bin/utils/log4jsAppender.js +1 -1
  98. package/src/bin/utils/logPatcher.js +1 -1
  99. package/src/bin/utils/logReportingAPI.js +1 -1
  100. package/src/bin/utils/playwright-patcher.js +1 -1
  101. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  102. package/src/bin/utils/sharedUtils.js +1 -1
  103. package/src/bin/v2/TestInfo.js +1 -1
  104. package/src/bin/v2/browserstackCLI.js +1 -1
  105. package/src/bin/v2/cliUtils.js +1 -1
  106. package/src/bin/v2/customTagManager.js +1 -1
  107. package/src/bin/v2/eventDispatcher.js +1 -1
  108. package/src/bin/v2/framework/automationFramework.js +1 -1
  109. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  110. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  111. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  112. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  113. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  114. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  115. package/src/bin/v2/framework/testFramework.js +1 -1
  116. package/src/bin/v2/grpcClient.js +1 -1
  117. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  118. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  119. package/src/bin/v2/instances/trackedContext.js +1 -1
  120. package/src/bin/v2/instances/trackedInstance.js +1 -1
  121. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  122. package/src/bin/v2/modules/baseModule.js +1 -1
  123. package/src/bin/v2/modules/loadTestModule.js +1 -1
  124. package/src/bin/v2/modules/observabilityModule.js +1 -1
  125. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  126. package/src/bin/v2/modules/testhubModule.js +1 -1
  127. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  128. package/src/bin/v2/state/hookState.js +1 -1
  129. package/src/bin/v2/state/testFrameworkState.js +1 -1
  130. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  131. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  132. package/src/bin/v2/utils/jest-utils.js +1 -1
  133. package/src/bin/vanilla-js/command.js +1 -1
  134. package/src/browserStackSdk.js +1 -1
  135. package/src/helpers/BrowserStackSetup.js +1 -1
  136. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  137. package/src/helpers/accessibility-automation/constants.js +1 -1
  138. package/src/helpers/accessibility-automation/helper.js +1 -1
  139. package/src/helpers/accessibility-automation/scripts.js +1 -1
  140. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  141. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  142. package/src/helpers/ats/constants.js +1 -1
  143. package/src/helpers/ats/helper.js +1 -1
  144. package/src/helpers/capsMapping.js +1 -1
  145. package/src/helpers/central-scanner/constants.js +1 -1
  146. package/src/helpers/central-scanner/helpers.js +1 -1
  147. package/src/helpers/classLogger.js +1 -1
  148. package/src/helpers/globals.js +1 -1
  149. package/src/helpers/helper.js +1 -1
  150. package/src/helpers/logger.js +1 -1
  151. package/src/helpers/metadata.js +1 -1
  152. package/src/helpers/patchHelper.js +1 -1
  153. package/src/helpers/patchHelpers.js +1 -1
  154. package/src/helpers/percy/Percy.js +1 -1
  155. package/src/helpers/percy/PercyBinary.js +1 -1
  156. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  157. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  158. package/src/helpers/percy/PercySDK.js +1 -1
  159. package/src/helpers/percy/index.js +1 -1
  160. package/src/helpers/percy/utils.js +1 -1
  161. package/src/helpers/performance/constants.js +1 -1
  162. package/src/helpers/performance/performance-tester.js +1 -1
  163. package/src/helpers/playwright-helper.js +1 -1
  164. package/src/helpers/processHelper.js +1 -1
  165. package/src/helpers/request-spy.js +1 -1
  166. package/src/helpers/setKeepAlive.js +1 -1
  167. package/src/helpers/test-observability/constants.js +1 -1
  168. package/src/helpers/test-observability/error-handler.js +1 -1
  169. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  170. package/src/helpers/test-observability/sessionHandler.js +1 -1
  171. package/src/helpers/test-observability/utils.js +1 -1
  172. package/src/helpers/test-orchestration/constants.js +1 -1
  173. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  174. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  175. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  176. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  177. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  178. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  179. package/src/helpers/testhub/constants.js +1 -1
  180. package/src/helpers/testhub/testhubHandler.js +1 -1
  181. package/src/helpers/testhub/utils.js +1 -1
  182. package/src/helpers/timeoutPromise.js +1 -1
  183. package/src/helpers/utilities.js +1 -1
  184. package/src/helpers/w3cMapping.js +1 -1
  185. package/src/hubAllocationMethods.js +1 -1
  186. package/src/index.js +1 -1
package/src/bin/runner.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a48_0x1dd747=a48_0x2fea;(function(_0x4dba92,_0x18d0fd){const _0x2e7e68=a48_0x2fea,_0x50d815=_0x4dba92();while(!![]){try{const _0x17eeab=parseInt(_0x2e7e68(0x1ae))/0x1*(parseInt(_0x2e7e68(0x1a5))/0x2)+parseInt(_0x2e7e68(0x134))/0x3+parseInt(_0x2e7e68(0x1ab))/0x4+-parseInt(_0x2e7e68(0x13f))/0x5*(-parseInt(_0x2e7e68(0x14a))/0x6)+parseInt(_0x2e7e68(0x18b))/0x7+parseInt(_0x2e7e68(0x139))/0x8*(parseInt(_0x2e7e68(0x19c))/0x9)+-parseInt(_0x2e7e68(0x14f))/0xa;if(_0x17eeab===_0x18d0fd)break;else _0x50d815['push'](_0x50d815['shift']());}catch(_0x17e5db){_0x50d815['push'](_0x50d815['shift']());}}}(a48_0x32a4,0xd3d3d));const fs=require('fs'),path=require(a48_0x1dd747(0x13b)),util=require(a48_0x1dd747(0x172)),spawn=require(a48_0x1dd747(0x1af))[a48_0x1dd747(0x15d)],{requireModule}=require(a48_0x1dd747(0x170)),PerformanceTester=require('../helpers/performance/performance-tester'),PerformanceEvents=require(a48_0x1dd747(0x18a))[a48_0x1dd747(0x19f)],helper=require(a48_0x1dd747(0x170)),utilities=require(a48_0x1dd747(0x153)),{default:BrowserStackSetup}=require(a48_0x1dd747(0x1a7)),{FRAMEWORKS}=require(a48_0x1dd747(0x19e)),runIntegrations=require(a48_0x1dd747(0x130)),yargs=require(a48_0x1dd747(0x174)),Constants=require(a48_0x1dd747(0x141)),BrowserstackCLI=require(a48_0x1dd747(0x12a)),logger=require('../helpers/logger')[a48_0x1dd747(0x14d)],origArgs=Object[a48_0x1dd747(0x189)]([],process['argv']),captureError=async(_0x4fe490,_0x2b5986,_0x1e5f9d,_0x1d67bb=null)=>{const _0x546385=a48_0x1dd747,_0xfdb4f2={'qVAZN':function(_0x4c340c,_0x201f1c,_0x52c6e0,_0x403905){return _0x4c340c(_0x201f1c,_0x52c6e0,_0x403905);},'XRwEa':_0x546385(0x191)};try{logger[_0x546385(0x143)](_0x546385(0x192)+origArgs[_0x546385(0x175)]('\x20')),await _0xfdb4f2[_0x546385(0x1b1)](_0x4fe490,_0x2b5986,_0x1d67bb,_0x1e5f9d);}catch(_0x458710){process['exitCode']=0x1,logger[_0x546385(0x149)](util[_0x546385(0x12f)](_0x458710));const _0x480498={'globalException':util['format']('%j',_0x458710)};PerformanceTester[_0x546385(0x168)](PerformanceEvents[_0x546385(0x17b)],![],util[_0x546385(0x12f)](_0x458710));if(helper['isUndefined'](global[_0x546385(0x179)])&&helper['isUndefined'](global[_0x546385(0x186)]))return;try{utilities[_0x546385(0x14b)](_0xfdb4f2[_0x546385(0x136)],_0x480498,global['config'],global[_0x546385(0x186)]);}catch(_0x480278){logger[_0x546385(0x1a6)]('Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20'+_0x480278[_0x546385(0x183)]);}try{await helper[_0x546385(0x187)](global[_0x546385(0x179)]);}catch(_0x32bea2){logger[_0x546385(0x1a6)](_0x546385(0x1b3)+_0x32bea2[_0x546385(0x183)]);}await BrowserstackCLI['getInstance']()[_0x546385(0x145)](),PerformanceTester[_0x546385(0x168)](PerformanceEvents[_0x546385(0x17b)],![],util['format'](_0x458710));}finally{PerformanceTester[_0x546385(0x1b2)](PerformanceEvents['SDK_CLEANUP']);}};try{const browserstackFolderPath=path[a48_0x1dd747(0x175)](helper[a48_0x1dd747(0x196)](),a48_0x1dd747(0x1ad));if(fs[a48_0x1dd747(0x16c)](browserstackFolderPath)){const filePath=path[a48_0x1dd747(0x175)](browserstackFolderPath,a48_0x1dd747(0x17f));fs[a48_0x1dd747(0x16c)](filePath)&&fs[a48_0x1dd747(0x12c)](filePath);}}catch(a48_0x1ed88d){logger['debug'](a48_0x1dd747(0x140)+a48_0x1ed88d[a48_0x1dd747(0x17e)]);}process[a48_0x1dd747(0x19b)]['includes']('mocha')&&(!process['argv'][a48_0x1dd747(0x180)]('--opts')&&process[a48_0x1dd747(0x19b)][a48_0x1dd747(0x14c)](a48_0x1dd747(0x12b)),!process['argv'][a48_0x1dd747(0x182)](_0x264cc7=>_0x264cc7[a48_0x1dd747(0x180)](a48_0x1dd747(0x16f)))&&process[a48_0x1dd747(0x19b)][a48_0x1dd747(0x14c)](a48_0x1dd747(0x164)),!process[a48_0x1dd747(0x19b)][a48_0x1dd747(0x180)](a48_0x1dd747(0x16e))&&process[a48_0x1dd747(0x19b)][a48_0x1dd747(0x14c)](a48_0x1dd747(0x1a1)),helper[a48_0x1dd747(0x181)](process[a48_0x1dd747(0x19b)],a48_0x1dd747(0x142),a48_0x1dd747(0x18e)));PerformanceTester[a48_0x1dd747(0x1b2)](PerformanceEvents[a48_0x1dd747(0x17b)]);const a48_0x5b9f42={};a48_0x5b9f42[a48_0x1dd747(0x15f)]=![];function a48_0x2fea(_0x33e087,_0x454c6b){const _0x32a471=a48_0x32a4();return a48_0x2fea=function(_0x2feaba,_0xd1e7df){_0x2feaba=_0x2feaba-0x127;let _0x570ffb=_0x32a471[_0x2feaba];return _0x570ffb;},a48_0x2fea(_0x33e087,_0x454c6b);}const argv=yargs['parserConfiguration'](a48_0x5b9f42)[a48_0x1dd747(0x15a)](a48_0x1dd747(0x17d))['alias']('v',a48_0x1dd747(0x167))[a48_0x1dd747(0x1b7)]('v')['alias']('h',a48_0x1dd747(0x157))['help'](a48_0x1dd747(0x157))[a48_0x1dd747(0x1b6)](!![],Constants[a48_0x1dd747(0x131)][a48_0x1dd747(0x199)])[a48_0x1dd747(0x129)](a48_0x1dd747(0x177),Constants[a48_0x1dd747(0x137)]['INFO'],function(_0x31cbc3){const _0x20a106=a48_0x1dd747,_0x1c4c02={'zdigV':_0x20a106(0x177),'OafIY':function(_0x2a95c8,_0x2de36e,_0x5c6d5d,_0x2f6e65,_0x11ed07){return _0x2a95c8(_0x2de36e,_0x5c6d5d,_0x2f6e65,_0x11ed07);},'MEwDo':function(_0x1ea03c,_0x2143b8){return _0x1ea03c(_0x2143b8);},'vrDUK':'./jest/command'},_0x2321c6=process['argv'][_0x20a106(0x1a4)](0x2);helper[_0x20a106(0x198)](),helper['setBrowserStackAutomationDisable']();const _0x7d83f6=new BrowserStackSetup(_0x31cbc3[_0x20a106(0x19b)],_0x1c4c02['zdigV']);return _0x1c4c02['OafIY'](captureError,_0x1c4c02[_0x20a106(0x12e)](require,_0x1c4c02[_0x20a106(0x1a0)]),_0x31cbc3['argv'],_0x7d83f6,_0x2321c6);})['command'](a48_0x1dd747(0x132),Constants[a48_0x1dd747(0x197)][a48_0x1dd747(0x156)],_0x27155b=>{const _0x7f195a=a48_0x1dd747,_0xf11859={'DzEEf':function(_0x2ff690,_0x3f3ba5,_0x378ba4,_0x23cf26){return _0x2ff690(_0x3f3ba5,_0x378ba4,_0x23cf26);},'WFyoI':function(_0x47bcbb,_0x138ea7){return _0x47bcbb(_0x138ea7);},'AkWmG':'./mocha/command','bCAMk':'mocha','alBTP':_0x7f195a(0x16b),'SCLYV':function(_0x17a0b8,_0x51ef84,_0x40354a){return _0x17a0b8(_0x51ef84,_0x40354a);},'CebIt':_0x7f195a(0x169),'EDbyB':function(_0x3e10de,_0x5b5954,_0x1b8fc2){return _0x3e10de(_0x5b5954,_0x1b8fc2);},'zeAPS':_0x7f195a(0x190),'eTxvT':function(_0x4bf357,_0x4779ab,_0x13a33f){return _0x4bf357(_0x4779ab,_0x13a33f);},'ifbDG':_0x7f195a(0x159),'nUuxb':function(_0x1a738e){return _0x1a738e();}};process[_0x7f195a(0x19b)]=process['argv'][_0x7f195a(0x1a4)](0x1),helper['setTestObservabilityDisable'](),helper[_0x7f195a(0x1b4)]();const _0x4e655d=new BrowserStackSetup(_0x27155b[_0x7f195a(0x19b)],_0xf11859[_0x7f195a(0x195)]);logger[_0x7f195a(0x1a6)](_0xf11859['alBTP']);const _0x3e0794=_0xf11859[_0x7f195a(0x152)](requireModule,_0xf11859[_0x7f195a(0x176)],_0xf11859[_0x7f195a(0x195)]),_0x40bbd2=_0xf11859[_0x7f195a(0x1a2)](requireModule,_0xf11859['zeAPS'],_0xf11859[_0x7f195a(0x195)]);delete _0x3e0794[_0x7f195a(0x185)],_0x3e0794[_0x7f195a(0x185)]=function(_0x4ee156){const _0x1b35ce=_0x7f195a;return _0xf11859[_0x1b35ce(0x151)](captureError,_0xf11859[_0x1b35ce(0x155)](require,_0xf11859[_0x1b35ce(0x16d)]),_0x4ee156,_0x4e655d);},_0x40bbd2[_0x7f195a(0x144)]=_0x3e0794;const {main:_0x5c4ebe}=_0xf11859['eTxvT'](requireModule,_0xf11859[_0x7f195a(0x128)],_0xf11859[_0x7f195a(0x195)]);_0xf11859[_0x7f195a(0x1ac)](_0x5c4ebe);})[a48_0x1dd747(0x129)](a48_0x1dd747(0x15c),Constants['CUCUMBER'][a48_0x1dd747(0x156)],function(_0x338066){const _0x5dbbb9=a48_0x1dd747,_0x494cfa={'bcGsI':'cucumber-js','VlfPK':function(_0xe6daea,_0x8c2560,_0x9cccf3,_0xffaeed,_0x3b4468){return _0xe6daea(_0x8c2560,_0x9cccf3,_0xffaeed,_0x3b4468);},'lBVlr':function(_0x2c6650,_0x1fee05){return _0x2c6650(_0x1fee05);},'YkWbd':_0x5dbbb9(0x194)},_0x50b18a=process[_0x5dbbb9(0x19b)][_0x5dbbb9(0x1a4)](0x2),_0x27efb6=new BrowserStackSetup(_0x338066['argv'],_0x494cfa[_0x5dbbb9(0x173)]);return _0x494cfa[_0x5dbbb9(0x135)](captureError,_0x494cfa[_0x5dbbb9(0x1b5)](require,_0x494cfa[_0x5dbbb9(0x158)]),_0x338066[_0x5dbbb9(0x19b)],_0x27efb6,_0x50b18a);})[a48_0x1dd747(0x129)](a48_0x1dd747(0x138),Constants['VANILLA']['INFO'],function(_0x5eb1c4){const _0x1589dc=a48_0x1dd747,_0x38291b={'kNJOP':_0x1589dc(0x1aa),'BWOoJ':function(_0x186a0d,_0x390171,_0x58294d,_0x5eda7f,_0x703e3f){return _0x186a0d(_0x390171,_0x58294d,_0x5eda7f,_0x703e3f);},'ZrfMP':function(_0x6b5a25,_0x253047){return _0x6b5a25(_0x253047);},'rxuie':'./vanilla-js/command'},_0x3be3b7=process[_0x1589dc(0x19b)][_0x1589dc(0x1a4)](0x2),_0x406969=new BrowserStackSetup(_0x5eb1c4[_0x1589dc(0x19b)],_0x38291b[_0x1589dc(0x160)]);return _0x38291b[_0x1589dc(0x17a)](captureError,_0x38291b['ZrfMP'](require,_0x38291b['rxuie']),_0x5eb1c4[_0x1589dc(0x19b)],_0x406969,_0x3be3b7);})[a48_0x1dd747(0x129)]('nightwatch',Constants['NIGHTWATCH']['INFO'],function(_0x34618d){const _0x511f3f=a48_0x1dd747,_0x2ad0d1={'ZHqFQ':function(_0x1db577,_0x7cb9b5,_0x2e9fbd,_0x3cd292,_0x206ffa){return _0x1db577(_0x7cb9b5,_0x2e9fbd,_0x3cd292,_0x206ffa);},'PKOcL':function(_0x5b16ba,_0x2a5bb0){return _0x5b16ba(_0x2a5bb0);},'MBqgE':'./nightwatch/command'},_0x42ac81=process[_0x511f3f(0x19b)]['slice'](0x2),_0x451b3e=new BrowserStackSetup(_0x34618d[_0x511f3f(0x19b)]);return _0x2ad0d1[_0x511f3f(0x18f)](captureError,_0x2ad0d1[_0x511f3f(0x154)](require,_0x2ad0d1[_0x511f3f(0x16a)]),_0x34618d['argv'],_0x451b3e,_0x42ac81);})[a48_0x1dd747(0x129)](a48_0x1dd747(0x17c),Constants[a48_0x1dd747(0x161)][a48_0x1dd747(0x156)],function(_0xb9bfb9){const _0x4e68e2=a48_0x1dd747,_0x478891={'Zvqar':_0x4e68e2(0x17c),'Whxda':function(_0x5a5744,_0x349712,_0x1bb567,_0x28d6a0,_0x37affd){return _0x5a5744(_0x349712,_0x1bb567,_0x28d6a0,_0x37affd);},'PxPEu':function(_0x4f5f5f,_0x1eb3f4){return _0x4f5f5f(_0x1eb3f4);},'xxvHk':_0x4e68e2(0x193)},_0x3b957d=process['argv']['slice'](0x2),_0x36ae7a=new BrowserStackSetup(_0xb9bfb9[_0x4e68e2(0x19b)],_0x478891['Zvqar']);return _0x478891[_0x4e68e2(0x18c)](captureError,_0x478891['PxPEu'](require,_0x478891[_0x4e68e2(0x133)]),_0xb9bfb9[_0x4e68e2(0x19b)],_0x36ae7a,_0x3b957d);})[a48_0x1dd747(0x129)]('ats',Constants['HST'][a48_0x1dd747(0x156)],function(_0x40e410){const _0x45bff5=a48_0x1dd747,_0x182638={'dYokD':function(_0x21881c,_0x5703ea,_0x18c37a){return _0x21881c(_0x5703ea,_0x18c37a);},'axGeY':function(_0x3f566d,_0x57d586){return _0x3f566d(_0x57d586);},'XwGsM':_0x45bff5(0x166)},_0x4e0115=process[_0x45bff5(0x19b)][_0x45bff5(0x1a4)](0x2);return _0x182638[_0x45bff5(0x1a8)](captureError,_0x182638[_0x45bff5(0x13a)](require,_0x182638['XwGsM']),_0x40e410);})[a48_0x1dd747(0x129)](a48_0x1dd747(0x150),Constants[a48_0x1dd747(0x178)][a48_0x1dd747(0x156)],function(_0xbc7b8c){const _0x5e77f4=a48_0x1dd747,_0x530998={'QEuue':function(_0xd3438e,_0x5d82a6){return _0xd3438e(_0x5d82a6);}};return _0x530998[_0x5e77f4(0x147)](runIntegrations,_0xbc7b8c);})['command'](a48_0x1dd747(0x13d),Constants[a48_0x1dd747(0x146)][a48_0x1dd747(0x156)],function(_0x1274d5){const _0x454afb=a48_0x1dd747,_0x5b520d={'gkziy':function(_0x21ecdc,_0x59d7ce,_0x42a6ce,_0x1f60ae,_0x5eb40c){return _0x21ecdc(_0x59d7ce,_0x42a6ce,_0x1f60ae,_0x5eb40c);},'GrxVF':function(_0x1007a4,_0x693d76){return _0x1007a4(_0x693d76);},'uQtUT':_0x454afb(0x1b0)},_0x10e50b=process['argv']['slice'](0x2);helper[_0x454afb(0x15e)](process['argv'])&&(process[_0x454afb(0x127)][_0x454afb(0x13c)]=helper['getConfigPath'](process[_0x454afb(0x19b)]));helper[_0x454afb(0x198)](),helper[_0x454afb(0x1b4)]();const _0x160210=new BrowserStackSetup(_0x1274d5[_0x454afb(0x19b)],FRAMEWORKS['PLAYWRIGHT']);return _0x5b520d['gkziy'](captureError,_0x5b520d[_0x454afb(0x1b8)](require,_0x5b520d['uQtUT']),_0x1274d5[_0x454afb(0x19b)],_0x160210,_0x10e50b);})[a48_0x1dd747(0x129)](a48_0x1dd747(0x13e),'Runs\x20the\x20binary\x20with\x20load\x20command',function(_0x2b17ef){const _0x24c504=a48_0x1dd747,_0x407d7b={};_0x407d7b[_0x24c504(0x163)]=_0x24c504(0x157),_0x407d7b[_0x24c504(0x19d)]=_0x24c504(0x12d),_0x407d7b[_0x24c504(0x1a3)]=_0x24c504(0x19a);const _0x239bb4=_0x407d7b;return _0x2b17ef[_0x24c504(0x157)](![])['option'](_0x239bb4['XHDfP'],{'alias':'h','type':_0x239bb4[_0x24c504(0x19d)],'describe':_0x239bb4[_0x24c504(0x1a3)]})[_0x24c504(0x14e)](![])[_0x24c504(0x18d)](![]);},function(_0x1e6d48){const _0x340ad9=a48_0x1dd747,_0x42d6a7={'IHBHS':function(_0x460066,_0x256c15,_0x3f5fa4){return _0x460066(_0x256c15,_0x3f5fa4);},'lzzLb':function(_0x427f4c,_0x49045b){return _0x427f4c(_0x49045b);},'jtlil':_0x340ad9(0x1a9)},_0x2ccb47={};return _0x2ccb47[_0x340ad9(0x19b)]=_0x1e6d48,_0x42d6a7[_0x340ad9(0x188)](captureError,_0x42d6a7[_0x340ad9(0x184)](require,_0x42d6a7[_0x340ad9(0x162)]),_0x2ccb47);})[a48_0x1dd747(0x165)](0x1,'You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.')[a48_0x1dd747(0x171)](null)[a48_0x1dd747(0x19b)];function a48_0x32a4(){const _0x6cf58c=['nUuxb','.browserstack','1LjzrzO','child_process','./playwright/command','qVAZN','start','Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20','setBrowserStackAutomationDisable','lBVlr','showHelpOnFail','describe','GrxVF','env','ifbDG','command','./v2/browserstackCLI','--no-opts','unlinkSync','boolean','MEwDo','format','./integrations/command','VERSION','mocha','xxvHk','3955344jsjTEO','VlfPK','XRwEa','JEST','node','4616louCEk','axGeY','path','BROWSERSTACK_CONFIG_FILE_PATH','playwright','load\x20[subcommand]','310asVIyt','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','./utils/constants','--require','info','run','stop','PLAYWRIGHT','QEuue','ats','error','115530LGesXQ','fireFunnelTestEvent','push','winstonLogger','strict','54677190UkHTBn','integrations','DzEEf','SCLYV','../helpers/utilities','PKOcL','WFyoI','INFO','help','YkWbd','mocha/lib/cli/cli.js','usage','isUndefined','cucumber-js','spawn','getConfigPath','dot-notation','kNJOP','CODECEPTJS','jtlil','XHDfP','--no-config','demandCommand','../../ats/src/index','version','end','mocha/lib/cli/run.js','MBqgE','Parsing\x20command\x20line\x20arguments','existsSync','AkWmG','--package','--config','../helpers/helper','wrap','util','bcGsI','yargs','join','CebIt','jest','INTEGRATIONS','config','BWOoJ','SDK_SETUP','codeceptjs','usage:\x20$0\x20<command>\x20[args]','message','.local-not-set.json','includes','findAndReplace','find','stack','lzzLb','handler','framework','sendLogs','IHBHS','assign','../helpers/performance/constants','10862964JGxAtm','Whxda','exitProcess','--mochaRequire','ZHqFQ','mocha/lib/cli/commands.js','SDKTestSuccessful','Running\x20SDK\x20with\x20args\x20','./codeceptjs/command','./cucumber-js/command','bCAMk','homedir','MOCHA','setTestObservabilityDisable','HELP','Show\x20help','argv','7335Ckbpdi','BrIcz','../helpers/test-observability/constants','EVENTS','vrDUK','--no-package','EDbyB','wOygb','slice','2896958UptOKf','debug','../helpers/BrowserStackSetup','dYokD','./load/index','vanilla','1410080ebvDos'];a48_0x32a4=function(){return _0x6cf58c;};return a48_0x32a4();}!helper[a48_0x1dd747(0x15b)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a48_0x1dd747(0x148)&&console[a48_0x1dd747(0x149)]('Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.');
2
+ 'use strict';const a48_0x3bd298=a48_0x35cd;(function(_0x7590e,_0x3089f0){const _0x50c17e=a48_0x35cd,_0x272ecf=_0x7590e();while(!![]){try{const _0x1baba8=-parseInt(_0x50c17e(0x133))/0x1+-parseInt(_0x50c17e(0x18e))/0x2*(parseInt(_0x50c17e(0x1a6))/0x3)+-parseInt(_0x50c17e(0x146))/0x4+parseInt(_0x50c17e(0x16d))/0x5+parseInt(_0x50c17e(0x14d))/0x6+-parseInt(_0x50c17e(0x187))/0x7+parseInt(_0x50c17e(0x13c))/0x8;if(_0x1baba8===_0x3089f0)break;else _0x272ecf['push'](_0x272ecf['shift']());}catch(_0x2359f4){_0x272ecf['push'](_0x272ecf['shift']());}}}(a48_0x5c0d,0x7df13));function a48_0x35cd(_0x2c52ac,_0x11fac1){const _0x5c0d33=a48_0x5c0d();return a48_0x35cd=function(_0x35cd2b,_0x5cc99f){_0x35cd2b=_0x35cd2b-0x126;let _0x3f751f=_0x5c0d33[_0x35cd2b];return _0x3f751f;},a48_0x35cd(_0x2c52ac,_0x11fac1);}const fs=require('fs'),path=require(a48_0x3bd298(0x13d)),util=require(a48_0x3bd298(0x1b1)),spawn=require('child_process')['spawn'],{requireModule}=require(a48_0x3bd298(0x17d)),PerformanceTester=require(a48_0x3bd298(0x14f)),PerformanceEvents=require(a48_0x3bd298(0x12d))[a48_0x3bd298(0x1a9)],helper=require('../helpers/helper'),utilities=require('../helpers/utilities'),{default:BrowserStackSetup}=require(a48_0x3bd298(0x198)),{FRAMEWORKS}=require(a48_0x3bd298(0x1a7)),runIntegrations=require(a48_0x3bd298(0x160)),yargs=require(a48_0x3bd298(0x199)),Constants=require(a48_0x3bd298(0x140)),BrowserstackCLI=require(a48_0x3bd298(0x164)),logger=require(a48_0x3bd298(0x155))[a48_0x3bd298(0x165)],origArgs=Object[a48_0x3bd298(0x138)]([],process['argv']),captureError=async(_0x3890d1,_0x4d2bb3,_0x41a748,_0x390aec=null)=>{const _0x39f59c=a48_0x3bd298,_0x20826a={'imWXE':function(_0x13bb6c,_0x47e466,_0x305f54,_0x308557){return _0x13bb6c(_0x47e466,_0x305f54,_0x308557);},'CMmpI':_0x39f59c(0x186)};try{logger[_0x39f59c(0x192)](_0x39f59c(0x167)+origArgs[_0x39f59c(0x13b)]('\x20')),await _0x20826a[_0x39f59c(0x15c)](_0x3890d1,_0x4d2bb3,_0x390aec,_0x41a748);}catch(_0x3db77f){process['exitCode']=0x1,logger[_0x39f59c(0x14b)](util['format'](_0x3db77f));const _0x4b9bec={'globalException':util['format']('%j',_0x3db77f)};PerformanceTester[_0x39f59c(0x15e)](PerformanceEvents['SDK_SETUP'],![],util[_0x39f59c(0x18a)](_0x3db77f));if(helper['isUndefined'](global['config'])&&helper['isUndefined'](global[_0x39f59c(0x1b5)]))return;try{utilities[_0x39f59c(0x1a8)](_0x20826a[_0x39f59c(0x191)],_0x4b9bec,global[_0x39f59c(0x1ad)],global['framework']);}catch(_0x261a4a){logger[_0x39f59c(0x1aa)](_0x39f59c(0x189)+_0x261a4a[_0x39f59c(0x18b)]);}try{await helper['sendLogs'](global[_0x39f59c(0x1ad)]);}catch(_0x328705){logger[_0x39f59c(0x1aa)]('Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20'+_0x328705[_0x39f59c(0x18b)]);}await BrowserstackCLI[_0x39f59c(0x1a2)]()['stop'](),PerformanceTester[_0x39f59c(0x15e)](PerformanceEvents[_0x39f59c(0x19e)],![],util[_0x39f59c(0x18a)](_0x3db77f));}finally{PerformanceTester['start'](PerformanceEvents[_0x39f59c(0x16b)]);}};try{const browserstackFolderPath=path[a48_0x3bd298(0x13b)](helper[a48_0x3bd298(0x196)](),a48_0x3bd298(0x163));if(fs[a48_0x3bd298(0x182)](browserstackFolderPath)){const filePath=path[a48_0x3bd298(0x13b)](browserstackFolderPath,a48_0x3bd298(0x154));fs[a48_0x3bd298(0x182)](filePath)&&fs[a48_0x3bd298(0x19d)](filePath);}}catch(a48_0x4f880e){logger[a48_0x3bd298(0x1aa)]('Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20'+a48_0x4f880e[a48_0x3bd298(0x1af)]);}process[a48_0x3bd298(0x170)][a48_0x3bd298(0x14e)](a48_0x3bd298(0x197))&&(!process['argv']['includes'](a48_0x3bd298(0x166))&&process[a48_0x3bd298(0x170)][a48_0x3bd298(0x12f)](a48_0x3bd298(0x1ae)),!process[a48_0x3bd298(0x170)][a48_0x3bd298(0x130)](_0x5f1bcf=>_0x5f1bcf[a48_0x3bd298(0x14e)]('--config'))&&process[a48_0x3bd298(0x170)]['push'](a48_0x3bd298(0x19b)),!process['argv'][a48_0x3bd298(0x14e)](a48_0x3bd298(0x17a))&&process[a48_0x3bd298(0x170)][a48_0x3bd298(0x12f)](a48_0x3bd298(0x171)),helper[a48_0x3bd298(0x16a)](process['argv'],'--require',a48_0x3bd298(0x17f)));function a48_0x5c0d(){const _0x3569df=['--no-package','CUCUMBER','slice','node','MhcJC','playwright','./mocha/command','usage','usage:\x20$0\x20<command>\x20[args]','--package','cFtpc','getConfigPath','../helpers/helper','dyzJi','--mochaRequire','nightwatch','HST','existsSync','ZWZNK','NIGHTWATCH','handler','SDKTestSuccessful','1149526kCQGzX','codeceptjs','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','format','stack','DNKyJ','EnjWR','81862wIhtvR','AwGsF','strict','CMmpI','info','ats','BvxWK','Lyktx','homedir','mocha','../helpers/BrowserStackSetup','yargs','mocha/lib/cli/commands.js','--no-config','setBrowserStackAutomationDisable','unlinkSync','SDK_SETUP','ZmzFN','NLjnh','INFO','getInstance','integrations','gaHYr','demandCommand','9ydhmHj','../helpers/test-observability/constants','fireFunnelTestEvent','EVENTS','debug','isUndefined','VERSION','config','--no-opts','message','setTestObservabilityDisable','util','wrap','dJDlj','HZgKH','framework','./playwright/command','dot-notation','GFlbY','INTEGRATIONS','cucumber-js','alias','Runs\x20the\x20binary\x20with\x20load\x20command','../helpers/performance/constants','ZLLOi','push','find','tiGxf','HELP','554794aRvrOg','spXOn','Parsing\x20command\x20line\x20arguments','mstfn','USGtL','assign','../../ats/src/index','EeFNt','join','6907408tuxMMs','path','version','eWfdS','./utils/constants','load\x20[subcommand]','lwYOY','lbTiQ','parserConfiguration','option','3085416uoBdlh','qXEfF','VANILLA','HDVcP','Xjfug','error','./cucumber-js/command','3880470BtYvGt','includes','../helpers/performance/performance-tester','PLAYWRIGHT','./nightwatch/command','yKwwO','QtNsy','.local-not-set.json','../helpers/logger','describe','tWbgg','Obqpu','qSfAK','command','FhjzH','imWXE','help','end','jest','./integrations/command','BROWSERSTACK_CONFIG_FILE_PATH','mocha/lib/cli/cli.js','.browserstack','./v2/browserstackCLI','winstonLogger','--opts','Running\x20SDK\x20with\x20args\x20','zlZzb','JEST','findAndReplace','SDK_CLEANUP','uAdir','3094235vFUAWP','sXand','start','argv'];a48_0x5c0d=function(){return _0x3569df;};return a48_0x5c0d();}PerformanceTester[a48_0x3bd298(0x16f)](PerformanceEvents['SDK_SETUP']);const a48_0x87d468={};a48_0x87d468[a48_0x3bd298(0x127)]=![];const argv=yargs[a48_0x3bd298(0x144)](a48_0x87d468)[a48_0x3bd298(0x178)](a48_0x3bd298(0x179))[a48_0x3bd298(0x12b)]('v',a48_0x3bd298(0x13e))[a48_0x3bd298(0x156)]('v')[a48_0x3bd298(0x12b)]('h',a48_0x3bd298(0x15d))[a48_0x3bd298(0x15d)](a48_0x3bd298(0x15d))['showHelpOnFail'](!![],Constants[a48_0x3bd298(0x1ac)][a48_0x3bd298(0x132)])[a48_0x3bd298(0x15a)](a48_0x3bd298(0x15f),Constants[a48_0x3bd298(0x169)][a48_0x3bd298(0x1a1)],function(_0x527c00){const _0x31cf5f=a48_0x3bd298,_0x344246={'ZmzFN':_0x31cf5f(0x15f),'dJDlj':function(_0x331a22,_0x4cf01f,_0x2b613d,_0x575a96,_0x26247f){return _0x331a22(_0x4cf01f,_0x2b613d,_0x575a96,_0x26247f);},'DNKyJ':function(_0x10f21a,_0x44d696){return _0x10f21a(_0x44d696);},'EnjWR':'./jest/command'},_0x4c4229=process['argv']['slice'](0x2);helper[_0x31cf5f(0x1b0)](),helper[_0x31cf5f(0x19c)](),_0x527c00[_0x31cf5f(0x190)](![]);const _0x25c1bd=new BrowserStackSetup(_0x527c00['argv'],_0x344246[_0x31cf5f(0x19f)]);return _0x344246[_0x31cf5f(0x1b3)](captureError,_0x344246[_0x31cf5f(0x18c)](require,_0x344246[_0x31cf5f(0x18d)]),_0x527c00[_0x31cf5f(0x170)],_0x25c1bd,_0x4c4229);})[a48_0x3bd298(0x15a)](a48_0x3bd298(0x197),Constants['MOCHA'][a48_0x3bd298(0x1a1)],_0x3f47ce=>{const _0x50771f=a48_0x3bd298,_0x4d6fbc={'cFtpc':function(_0xac6ae6,_0x4933d6,_0x3c49de,_0x31f730){return _0xac6ae6(_0x4933d6,_0x3c49de,_0x31f730);},'gaHYr':function(_0x5176a1,_0xc1a945){return _0x5176a1(_0xc1a945);},'mstfn':_0x50771f(0x177),'AwGsF':_0x50771f(0x197),'ctUmK':_0x50771f(0x135),'Xjfug':function(_0x42e3cb,_0x34396a,_0x494025){return _0x42e3cb(_0x34396a,_0x494025);},'uAdir':'mocha/lib/cli/run.js','tiGxf':function(_0x297b75,_0x5ae4d7,_0x2731c4){return _0x297b75(_0x5ae4d7,_0x2731c4);},'qXEfF':_0x50771f(0x19a),'tWbgg':function(_0x2f0a70,_0x321da7,_0x57612b){return _0x2f0a70(_0x321da7,_0x57612b);},'eWfdS':_0x50771f(0x162),'REtMH':function(_0x2eda36){return _0x2eda36();}};process['argv']=process[_0x50771f(0x170)][_0x50771f(0x173)](0x1),helper[_0x50771f(0x1b0)](),helper['setBrowserStackAutomationDisable']();const _0x26b4b0=new BrowserStackSetup(_0x3f47ce['argv'],_0x4d6fbc[_0x50771f(0x18f)]);logger[_0x50771f(0x1aa)](_0x4d6fbc['ctUmK']);const _0x4603d1=_0x4d6fbc[_0x50771f(0x14a)](requireModule,_0x4d6fbc[_0x50771f(0x16c)],_0x4d6fbc['AwGsF']),_0x1e6938=_0x4d6fbc[_0x50771f(0x131)](requireModule,_0x4d6fbc[_0x50771f(0x147)],_0x4d6fbc[_0x50771f(0x18f)]);delete _0x4603d1[_0x50771f(0x185)],_0x4603d1['handler']=function(_0x48ea43){const _0x3f700a=_0x50771f;return _0x4d6fbc[_0x3f700a(0x17b)](captureError,_0x4d6fbc[_0x3f700a(0x1a4)](require,_0x4d6fbc[_0x3f700a(0x136)]),_0x48ea43,_0x26b4b0);},_0x1e6938['run']=_0x4603d1;const {main:_0x2ff338}=_0x4d6fbc[_0x50771f(0x157)](requireModule,_0x4d6fbc[_0x50771f(0x13f)],_0x4d6fbc[_0x50771f(0x18f)]);_0x4d6fbc['REtMH'](_0x2ff338);})[a48_0x3bd298(0x15a)](a48_0x3bd298(0x12a),Constants[a48_0x3bd298(0x172)][a48_0x3bd298(0x1a1)],function(_0x22ad24){const _0x2e87a4=a48_0x3bd298,_0x2a8993={'RqyuV':_0x2e87a4(0x12a),'HDVcP':function(_0x352fe9,_0x2eacbf,_0x42cadb,_0x318664,_0x4e4668){return _0x352fe9(_0x2eacbf,_0x42cadb,_0x318664,_0x4e4668);},'qSfAK':function(_0x536397,_0x1945c2){return _0x536397(_0x1945c2);},'sXand':_0x2e87a4(0x14c)},_0x419bb6=process[_0x2e87a4(0x170)][_0x2e87a4(0x173)](0x2),_0x1581a4=new BrowserStackSetup(_0x22ad24[_0x2e87a4(0x170)],_0x2a8993['RqyuV']);return _0x2a8993[_0x2e87a4(0x149)](captureError,_0x2a8993[_0x2e87a4(0x159)](require,_0x2a8993[_0x2e87a4(0x16e)]),_0x22ad24[_0x2e87a4(0x170)],_0x1581a4,_0x419bb6);})[a48_0x3bd298(0x15a)](a48_0x3bd298(0x174),Constants[a48_0x3bd298(0x148)]['INFO'],function(_0x43217a){const _0x300a84=a48_0x3bd298,_0x22763d={'QtNsy':'vanilla','USGtL':function(_0x2f5bc3,_0x2e1a2d,_0x4d611e,_0x1496c6,_0xa9ec1b){return _0x2f5bc3(_0x2e1a2d,_0x4d611e,_0x1496c6,_0xa9ec1b);},'yKwwO':function(_0x4db331,_0x39c33c){return _0x4db331(_0x39c33c);},'BvxWK':'./vanilla-js/command'},_0x484cfc=process[_0x300a84(0x170)]['slice'](0x2),_0x5f33c5=new BrowserStackSetup(_0x43217a[_0x300a84(0x170)],_0x22763d[_0x300a84(0x153)]);return _0x22763d[_0x300a84(0x137)](captureError,_0x22763d[_0x300a84(0x152)](require,_0x22763d[_0x300a84(0x194)]),_0x43217a[_0x300a84(0x170)],_0x5f33c5,_0x484cfc);})[a48_0x3bd298(0x15a)](a48_0x3bd298(0x180),Constants[a48_0x3bd298(0x184)]['INFO'],function(_0xca4726){const _0x84e145=a48_0x3bd298,_0x551661={'NLjnh':function(_0x9bb79f,_0x478698,_0x35ccf6,_0x42e198,_0x42d2fd){return _0x9bb79f(_0x478698,_0x35ccf6,_0x42e198,_0x42d2fd);},'dyzJi':function(_0x3a725e,_0x185791){return _0x3a725e(_0x185791);},'GFlbY':_0x84e145(0x151)},_0x33c719=process[_0x84e145(0x170)][_0x84e145(0x173)](0x2),_0xa951fa=new BrowserStackSetup(_0xca4726[_0x84e145(0x170)]);return _0x551661[_0x84e145(0x1a0)](captureError,_0x551661[_0x84e145(0x17e)](require,_0x551661[_0x84e145(0x128)]),_0xca4726[_0x84e145(0x170)],_0xa951fa,_0x33c719);})[a48_0x3bd298(0x15a)]('codeceptjs',Constants['CODECEPTJS'][a48_0x3bd298(0x1a1)],function(_0x2ead24){const _0x197380=a48_0x3bd298,_0x2036c7={'MhcJC':_0x197380(0x188),'IXKVE':function(_0x8f0ba6,_0x1f0775,_0x319c27,_0x580f78,_0xe0715d){return _0x8f0ba6(_0x1f0775,_0x319c27,_0x580f78,_0xe0715d);},'ZLLOi':function(_0x2f18bd,_0x1827ad){return _0x2f18bd(_0x1827ad);},'zcTUv':'./codeceptjs/command'},_0x46e701=process['argv'][_0x197380(0x173)](0x2),_0x1e3a49=new BrowserStackSetup(_0x2ead24[_0x197380(0x170)],_0x2036c7[_0x197380(0x175)]);return _0x2036c7['IXKVE'](captureError,_0x2036c7[_0x197380(0x12e)](require,_0x2036c7['zcTUv']),_0x2ead24[_0x197380(0x170)],_0x1e3a49,_0x46e701);})['command'](a48_0x3bd298(0x193),Constants[a48_0x3bd298(0x181)]['INFO'],function(_0x1a0fcd){const _0x58ab62=a48_0x3bd298,_0x4035be={'FhjzH':function(_0x45b001,_0x12a66f,_0x1a8fdf){return _0x45b001(_0x12a66f,_0x1a8fdf);},'Obqpu':function(_0x33de73,_0x36ac42){return _0x33de73(_0x36ac42);},'zlZzb':_0x58ab62(0x139)},_0x324caf=process[_0x58ab62(0x170)]['slice'](0x2);return _0x4035be[_0x58ab62(0x15b)](captureError,_0x4035be[_0x58ab62(0x158)](require,_0x4035be[_0x58ab62(0x168)]),_0x1a0fcd);})['command'](a48_0x3bd298(0x1a3),Constants[a48_0x3bd298(0x129)]['INFO'],function(_0xd25824){const _0x34cf3e={'nBCqn':function(_0x4b12cc,_0x497f6d){return _0x4b12cc(_0x497f6d);}};return _0x34cf3e['nBCqn'](runIntegrations,_0xd25824);})[a48_0x3bd298(0x15a)](a48_0x3bd298(0x176),Constants['PLAYWRIGHT']['INFO'],function(_0x5a0899){const _0x386bae=a48_0x3bd298,_0x3178eb={'lwYOY':function(_0x4000f7,_0x9ab518,_0x57d486,_0x24c5e1,_0x2db460){return _0x4000f7(_0x9ab518,_0x57d486,_0x24c5e1,_0x2db460);},'HZgKH':function(_0x1d4120,_0x26705f){return _0x1d4120(_0x26705f);},'saqZJ':_0x386bae(0x126)},_0x13705b=process[_0x386bae(0x170)][_0x386bae(0x173)](0x2);helper[_0x386bae(0x17c)](process[_0x386bae(0x170)])&&(process['env'][_0x386bae(0x161)]=helper[_0x386bae(0x17c)](process['argv']));helper[_0x386bae(0x1b0)](),helper[_0x386bae(0x19c)]();const _0x22b216=new BrowserStackSetup(_0x5a0899[_0x386bae(0x170)],FRAMEWORKS[_0x386bae(0x150)]);return _0x3178eb[_0x386bae(0x142)](captureError,_0x3178eb[_0x386bae(0x1b4)](require,_0x3178eb['saqZJ']),_0x5a0899[_0x386bae(0x170)],_0x22b216,_0x13705b);})[a48_0x3bd298(0x15a)](a48_0x3bd298(0x141),a48_0x3bd298(0x12c),function(_0x514cb3){const _0x302f32=a48_0x3bd298,_0x2a9677={};_0x2a9677[_0x302f32(0x134)]='help',_0x2a9677[_0x302f32(0x13a)]='boolean',_0x2a9677['Lyktx']='Show\x20help';const _0x43df93=_0x2a9677;return _0x514cb3[_0x302f32(0x15d)](![])[_0x302f32(0x145)](_0x43df93[_0x302f32(0x134)],{'alias':'h','type':_0x43df93[_0x302f32(0x13a)],'describe':_0x43df93[_0x302f32(0x195)]})['strict'](![])['exitProcess'](![]);},function(_0x1316e9){const _0x53927d=a48_0x3bd298,_0x4e8724={'ZWZNK':function(_0x44a405,_0x420cc3,_0x3c7f98){return _0x44a405(_0x420cc3,_0x3c7f98);},'JACUE':function(_0x238079,_0x3de613){return _0x238079(_0x3de613);},'lbTiQ':'./load/index'},_0x30f0f4={};return _0x30f0f4[_0x53927d(0x170)]=_0x1316e9,_0x4e8724[_0x53927d(0x183)](captureError,_0x4e8724['JACUE'](require,_0x4e8724[_0x53927d(0x143)]),_0x30f0f4);})[a48_0x3bd298(0x1a5)](0x1,'You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.')[a48_0x3bd298(0x1b2)](null)[a48_0x3bd298(0x170)];!helper[a48_0x3bd298(0x1ab)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!=='ats'&&console[a48_0x3bd298(0x14b)]('Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.');
package/src/bin/setup.js CHANGED
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- const a49_0x3cda28=a49_0x58ff;(function(_0x33f95f,_0x414e9d){const _0x15c486=a49_0x58ff,_0xdd8511=_0x33f95f();while(!![]){try{const _0x4779dd=parseInt(_0x15c486(0x1f2))/0x1+parseInt(_0x15c486(0x1f5))/0x2*(parseInt(_0x15c486(0x210))/0x3)+parseInt(_0x15c486(0x215))/0x4*(-parseInt(_0x15c486(0x208))/0x5)+-parseInt(_0x15c486(0x207))/0x6*(-parseInt(_0x15c486(0x1fa))/0x7)+parseInt(_0x15c486(0x21b))/0x8+parseInt(_0x15c486(0x209))/0x9+-parseInt(_0x15c486(0x1e9))/0xa;if(_0x4779dd===_0x414e9d)break;else _0xdd8511['push'](_0xdd8511['shift']());}catch(_0x5758ca){_0xdd8511['push'](_0xdd8511['shift']());}}}(a49_0x5aef,0xc1434));const fs=require('fs'),helper=require(a49_0x3cda28(0x1fc)),utilities=require(a49_0x3cda28(0x21d)),yaml=require(a49_0x3cda28(0x20e)),yargs=require('yargs'),logger=require('../helpers/logger')[a49_0x3cda28(0x21e)],configFileTemplate=__dirname+a49_0x3cda28(0x214),configFileTemplatePW=__dirname+a49_0x3cda28(0x1fe),configFile=process['cwd']()+a49_0x3cda28(0x1dd),packageFile=process[a49_0x3cda28(0x1e8)]()+a49_0x3cda28(0x1e7),frameworks=[a49_0x3cda28(0x206),a49_0x3cda28(0x1d8),a49_0x3cda28(0x20b),'node',a49_0x3cda28(0x216),'codeceptjs',a49_0x3cda28(0x1de)];let config;logger[a49_0x3cda28(0x20c)](a49_0x3cda28(0x213)),createConfigurationFile(yargs[a49_0x3cda28(0x1d9)][a49_0x3cda28(0x1e6)],yargs[a49_0x3cda28(0x1d9)][a49_0x3cda28(0x204)],yargs[a49_0x3cda28(0x1d9)][a49_0x3cda28(0x1de)]);try{sdkSetup();}catch(a49_0x5b8710){logger[a49_0x3cda28(0x1d7)](a49_0x3cda28(0x1f7)+a49_0x5b8710);}addScriptInPackageJson();function a49_0x58ff(_0x9b69a1,_0x2abcd2){const _0x5aefe3=a49_0x5aef();return a49_0x58ff=function(_0x58ff84,_0x18410f){_0x58ff84=_0x58ff84-0x1d3;let _0xe85582=_0x5aefe3[_0x58ff84];return _0xe85582;},a49_0x58ff(_0x9b69a1,_0x2abcd2);}function createConfigurationFile(_0x599179,_0x102bb7,_0x575f22=![]){const _0x1a3e75=a49_0x3cda28,_0x510457={};_0x510457[_0x1a3e75(0x21a)]=_0x1a3e75(0x218),_0x510457[_0x1a3e75(0x202)]=_0x1a3e75(0x1ea),_0x510457[_0x1a3e75(0x21c)]=_0x1a3e75(0x1df);const _0x1daaa8=_0x510457;try{let _0x4aef36=fs[_0x1a3e75(0x20a)](_0x575f22?configFileTemplatePW:configFileTemplate,_0x1daaa8[_0x1a3e75(0x21a)]);_0x599179&&(_0x4aef36=_0x4aef36[_0x1a3e75(0x1d3)](_0x1daaa8[_0x1a3e75(0x202)],_0x599179)),_0x102bb7&&(_0x4aef36=_0x4aef36[_0x1a3e75(0x1d3)](_0x1daaa8['Xtvnw'],_0x102bb7)),config=yaml[_0x1a3e75(0x203)](_0x4aef36),fs['writeFileSync'](configFile,_0x4aef36,_0x4028fd=>{_0x4028fd&&logger['error'](_0x4028fd);});}catch(_0x290825){logger[_0x1a3e75(0x1ed)](_0x290825);}}function addPostInstallScript(_0x135353,_0x232911){const _0x4c2226=a49_0x3cda28,_0x1baada={};_0x1baada[_0x4c2226(0x217)]=_0x4c2226(0x1fb),_0x1baada[_0x4c2226(0x1e2)]=_0x4c2226(0x1f6),_0x1baada[_0x4c2226(0x212)]=_0x4c2226(0x1ee);const _0x64618f=_0x1baada;let _0x5e493b=_0x135353[_0x64618f[_0x4c2226(0x217)]];if(_0x5e493b&&_0x5e493b['includes'](_0x64618f[_0x4c2226(0x1e2)]))return;!_0x5e493b?_0x5e493b=_0x64618f['LXWoz']:_0x5e493b+=_0x64618f[_0x4c2226(0x212)],_0x232911['push']([_0x64618f[_0x4c2226(0x217)],_0x5e493b]);}function a49_0x5aef(){const _0x114ffa=['YOUR_ACCESS_KEY','writeFileSync','scripts','LXWoz','length','VBYIO','YXdkm','username','/package.json','cwd','23695030KtOKfr','YOUR_USERNAME','indexOf','DNEhl','error','\x20&&\x20npm\x20update\x20browserstack-node-sdk','dgULq','parse','onaOi','851356nWUOFs','stringify','push','2180838CbFidn','npm\x20update\x20browserstack-node-sdk','Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20','splice','split','7UtpCGH','postinstall','../helpers/helper','isUndefined','/../../browserstack.pw.yml.sample','jRdLw','rOjMH','aePef','fXHAx','load','key','bqpZW','mocha','2812182DTwEQH','1179390jAEeNv','4594275LUVrms','readFileSync','cucumber-js','info','JPPFJ','js-yaml','Setup\x20completed','3xHhmxF','SDKSetup','cTtRD','Creating\x20configuration\x20file...','/../../browserstack.yml.sample','4iynbPn','nightwatch','ZuZKC','utf8','node-setup','AoYDA','3808304redMNg','Xtvnw','../helpers/utilities','winstonLogger','browserstack-node-sdk\x20','replace','-browserstack','PazvS','pzAmy','debug','jest','argv','OoqBO','includes','grcAi','/browserstack.yml','playwright'];a49_0x5aef=function(){return _0x114ffa;};return a49_0x5aef();}function addScriptInPackageJson(){const _0x4e6f1d=a49_0x3cda28,_0x2fb75d={'DNEhl':_0x4e6f1d(0x218),'rOjMH':function(_0x2fb623,_0x12bc01){return _0x2fb623<_0x12bc01;},'grcAi':function(_0x1f082f,_0x1d2620,_0xe12a01){return _0x1f082f(_0x1d2620,_0xe12a01);},'JjWwV':function(_0x115efb,_0x144d8e,_0xfc91cc){return _0x115efb(_0x144d8e,_0xfc91cc);},'JPPFJ':function(_0xc2784d,_0x5ab319,_0x418ec9){return _0xc2784d(_0x5ab319,_0x418ec9);},'pzAmy':function(_0x4fb2a0,_0x54c87b){return _0x4fb2a0<_0x54c87b;},'dgULq':function(_0x31ecca,_0x87991){return _0x31ecca!==_0x87991;},'OoqBO':'Adding\x20new\x20script(s)\x20in\x20package.json...'},_0x438d37=JSON[_0x4e6f1d(0x1f0)](fs[_0x4e6f1d(0x20a)](packageFile,_0x2fb75d[_0x4e6f1d(0x1ec)])),_0x110c7d=[];for(let _0x382917=0x0;_0x2fb75d[_0x4e6f1d(0x200)](_0x382917,frameworks[_0x4e6f1d(0x1e3)]);_0x382917+=0x1){const _0x48bb12=_0x2fb75d[_0x4e6f1d(0x1dc)](findScriptsWithFramework,_0x438d37[_0x4e6f1d(0x1e1)],frameworks[_0x382917]);for(let _0x336c82=0x0;_0x2fb75d['rOjMH'](_0x336c82,_0x48bb12[_0x4e6f1d(0x1e3)]);_0x336c82+=0x1){_0x110c7d[_0x4e6f1d(0x1f4)](_0x2fb75d['JjWwV'](getUpdatedCommand,_0x438d37[_0x4e6f1d(0x1e1)],_0x48bb12[_0x336c82]));}_0x2fb75d[_0x4e6f1d(0x20d)](addPostInstallScript,_0x438d37['scripts'],_0x110c7d);}const _0x10b29c={..._0x438d37['scripts']},_0x5475d9=_0x10b29c;for(let _0x4989f5=0x0;_0x2fb75d[_0x4e6f1d(0x1d6)](_0x4989f5,_0x110c7d[_0x4e6f1d(0x1e3)]);_0x4989f5+=0x1){_0x5475d9[_0x110c7d[_0x4989f5][0x0]]=_0x110c7d[_0x4989f5][0x1];}_0x2fb75d[_0x4e6f1d(0x1ef)](JSON[_0x4e6f1d(0x1f3)](_0x438d37['scripts']),JSON[_0x4e6f1d(0x1f3)](_0x5475d9))&&(logger['info'](_0x2fb75d[_0x4e6f1d(0x1da)]),_0x438d37[_0x4e6f1d(0x1e1)]=_0x5475d9,fs[_0x4e6f1d(0x1e0)](packageFile,JSON[_0x4e6f1d(0x1f3)](_0x438d37,null,0x2),_0x5d9fca=>{const _0xd4f052=_0x4e6f1d;_0x5d9fca&&logger[_0xd4f052(0x1ed)](_0x5d9fca);}));};function findScriptsWithFramework(_0x509be9,_0x1f65a5){const _0x258d66=a49_0x3cda28,_0x2b0c2b={};_0x2b0c2b[_0x258d66(0x1ff)]=function(_0x4abd0c,_0x3025a7){return _0x4abd0c<_0x3025a7;},_0x2b0c2b[_0x258d66(0x201)]='browserstack-node-sdk';const _0x38aa92=_0x2b0c2b,_0x2b859b=[],_0x364f14=Object['entries'](_0x509be9);for(let _0x153257=0x0;_0x38aa92[_0x258d66(0x1ff)](_0x153257,_0x364f14[_0x258d66(0x1e3)]);_0x153257+=0x1){_0x364f14[_0x153257][0x1]['includes'](_0x1f65a5)&&!_0x364f14[_0x153257][0x1][_0x258d66(0x1db)](_0x38aa92[_0x258d66(0x201)])&&_0x2b859b[_0x258d66(0x1f4)](_0x364f14[_0x153257][0x0]);}return _0x2b859b;}function getUpdatedCommand(_0x40bdab,_0x1ccf87){const _0x24bd14=a49_0x3cda28,_0x190238={};_0x190238[_0x24bd14(0x1f1)]=function(_0x12eeac,_0x42cd3b){return _0x12eeac!==_0x42cd3b;},_0x190238[_0x24bd14(0x205)]='browserstack-node-sdk',_0x190238[_0x24bd14(0x1d5)]=function(_0xc028b5,_0x3c5a80){return _0xc028b5===_0x3c5a80;};const _0x493bba=_0x190238,_0x970fcc=_0x1ccf87+_0x24bd14(0x1d4),_0x715fb7=_0x40bdab[_0x1ccf87],_0xe7419d=_0x715fb7[_0x24bd14(0x1f9)]('\x20');for(const _0x3e7340 of frameworks){if(_0x493bba[_0x24bd14(0x1f1)](_0xe7419d[_0x24bd14(0x1eb)](_0x3e7340),-0x1)){_0xe7419d[_0x24bd14(0x1f8)](_0xe7419d[_0x24bd14(0x1eb)](_0x3e7340),0x0,_0x493bba[_0x24bd14(0x205)]);break;}}let _0x10f4b0=_0xe7419d['join']('\x20');return _0x493bba[_0x24bd14(0x1d5)](_0x10f4b0,_0x715fb7)&&(_0x10f4b0=_0x24bd14(0x21f)+_0x715fb7),[_0x970fcc,_0x10f4b0];}function sdkSetup(){const _0x3c6c6d=a49_0x3cda28,_0x322e67={};_0x322e67[_0x3c6c6d(0x1e5)]=_0x3c6c6d(0x219),_0x322e67['VBYIO']=_0x3c6c6d(0x211);const _0xe36a46=_0x322e67;if(helper[_0x3c6c6d(0x1fd)](config))return;config['source']=_0xe36a46['YXdkm'];try{utilities['fireFunnelTestEvent'](_0xe36a46[_0x3c6c6d(0x1e4)],{},config,'');}catch(_0x2ac9e6){logger['debug']('Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20'+_0x2ac9e6);}}logger['info'](a49_0x3cda28(0x20f));
3
+ const a49_0xe1922d=a49_0x1e30;(function(_0x1dfe2b,_0x5c9bf4){const _0x253cde=a49_0x1e30,_0x35ad59=_0x1dfe2b();while(!![]){try{const _0x584f31=parseInt(_0x253cde(0xbf))/0x1+-parseInt(_0x253cde(0x98))/0x2*(parseInt(_0x253cde(0xc1))/0x3)+-parseInt(_0x253cde(0x9c))/0x4+-parseInt(_0x253cde(0xc4))/0x5+-parseInt(_0x253cde(0xc3))/0x6*(-parseInt(_0x253cde(0xae))/0x7)+parseInt(_0x253cde(0xb5))/0x8*(parseInt(_0x253cde(0xa1))/0x9)+parseInt(_0x253cde(0xba))/0xa*(parseInt(_0x253cde(0xb0))/0xb);if(_0x584f31===_0x5c9bf4)break;else _0x35ad59['push'](_0x35ad59['shift']());}catch(_0x39a57e){_0x35ad59['push'](_0x35ad59['shift']());}}}(a49_0x21d3,0x49293));const fs=require('fs'),helper=require(a49_0xe1922d(0x93)),utilities=require(a49_0xe1922d(0xab)),yaml=require(a49_0xe1922d(0x8f)),yargs=require(a49_0xe1922d(0xc8)),logger=require(a49_0xe1922d(0xaf))[a49_0xe1922d(0xbe)],configFileTemplate=__dirname+'/../../browserstack.yml.sample',configFileTemplatePW=__dirname+'/../../browserstack.pw.yml.sample',configFile=process[a49_0xe1922d(0xa0)]()+a49_0xe1922d(0xbc),packageFile=process[a49_0xe1922d(0xa0)]()+'/package.json',frameworks=[a49_0xe1922d(0x8c),a49_0xe1922d(0x9a),a49_0xe1922d(0xa9),a49_0xe1922d(0x9e),a49_0xe1922d(0x96),'codeceptjs',a49_0xe1922d(0xbb)];let config;logger['info'](a49_0xe1922d(0x8a)),createConfigurationFile(yargs[a49_0xe1922d(0xa5)][a49_0xe1922d(0xc2)],yargs[a49_0xe1922d(0xa5)][a49_0xe1922d(0x82)],yargs[a49_0xe1922d(0xa5)]['playwright']);try{sdkSetup();}catch(a49_0x18cc43){logger[a49_0xe1922d(0x9b)](a49_0xe1922d(0xb2)+a49_0x18cc43);}function a49_0x1e30(_0x46a67a,_0x266d95){const _0x21d365=a49_0x21d3();return a49_0x1e30=function(_0x1e3075,_0x5f2a3c){_0x1e3075=_0x1e3075-0x7e;let _0x177149=_0x21d365[_0x1e3075];return _0x177149;},a49_0x1e30(_0x46a67a,_0x266d95);}addScriptInPackageJson();function createConfigurationFile(_0x486966,_0x4244cd,_0x3b9059=![]){const _0x4e68c7=a49_0xe1922d,_0x520ae3={};_0x520ae3[_0x4e68c7(0x99)]=_0x4e68c7(0x83),_0x520ae3[_0x4e68c7(0xa6)]=_0x4e68c7(0x90),_0x520ae3[_0x4e68c7(0x81)]=_0x4e68c7(0x91);const _0x41fac1=_0x520ae3;try{let _0x372226=fs[_0x4e68c7(0xc9)](_0x3b9059?configFileTemplatePW:configFileTemplate,_0x41fac1[_0x4e68c7(0x99)]);_0x486966&&(_0x372226=_0x372226[_0x4e68c7(0xc6)](_0x41fac1[_0x4e68c7(0xa6)],_0x486966)),_0x4244cd&&(_0x372226=_0x372226[_0x4e68c7(0xc6)](_0x41fac1[_0x4e68c7(0x81)],_0x4244cd)),config=yaml[_0x4e68c7(0xc5)](_0x372226),fs[_0x4e68c7(0x86)](configFile,_0x372226,_0x50e369=>{const _0x1a7abf=_0x4e68c7;_0x50e369&&logger[_0x1a7abf(0xc0)](_0x50e369);});}catch(_0x1f0a93){logger[_0x4e68c7(0xc0)](_0x1f0a93);}}function addPostInstallScript(_0x1aec33,_0x578bac){const _0x367cc4=a49_0xe1922d,_0x42c7a3={};_0x42c7a3[_0x367cc4(0x84)]=_0x367cc4(0x9d),_0x42c7a3[_0x367cc4(0xa4)]='npm\x20update\x20browserstack-node-sdk',_0x42c7a3['hsObv']=_0x367cc4(0xac);const _0x196e6d=_0x42c7a3;let _0x58c046=_0x1aec33[_0x196e6d['Cnney']];if(_0x58c046&&_0x58c046[_0x367cc4(0x8d)](_0x196e6d['zdXGW']))return;!_0x58c046?_0x58c046=_0x196e6d[_0x367cc4(0xa4)]:_0x58c046+=_0x196e6d[_0x367cc4(0xb9)],_0x578bac['push']([_0x196e6d['Cnney'],_0x58c046]);}function a49_0x21d3(){const _0x5b281e=['hqLHS','js-yaml','YOUR_USERNAME','YOUR_ACCESS_KEY','VpkgI','../helpers/helper','isUndefined','GwVeL','nightwatch','WjJfo','46ZWCVGh','EdLbK','jest','debug','1737620npcDDA','postinstall','node','browserstack-node-sdk\x20','cwd','25317rILFEW','yJpaO','split','zdXGW','argv','UQxiZ','thqal','KUjGw','cucumber-js','source','../helpers/utilities','\x20&&\x20npm\x20update\x20browserstack-node-sdk','node-setup','3178441Vyngik','../helpers/logger','165LWOaqw','FszqY','Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20','parse','stringify','424PQKemy','Adding\x20new\x20script(s)\x20in\x20package.json...','scripts','indexOf','hsObv','623870RhOlzA','playwright','/browserstack.yml','KKJHH','winstonLogger','14597kXWdIn','error','32199zxtTSI','username','6WeKecJ','2863115EyDiYk','load','replace','splice','yargs','readFileSync','-browserstack','hCTAJ','length','HcmOe','key','utf8','Cnney','GIXaD','writeFileSync','push','info','Setup\x20completed','Creating\x20configuration\x20file...','ObXkh','mocha','includes'];a49_0x21d3=function(){return _0x5b281e;};return a49_0x21d3();}function addScriptInPackageJson(){const _0x536079=a49_0xe1922d,_0x206047={'KUjGw':_0x536079(0x83),'VpkgI':function(_0x3ead2e,_0x18b447){return _0x3ead2e<_0x18b447;},'KBmTx':function(_0x5874be,_0x17f798,_0xc99a0c){return _0x5874be(_0x17f798,_0xc99a0c);},'yrica':function(_0x21219c,_0x2905f2,_0x25ae6c){return _0x21219c(_0x2905f2,_0x25ae6c);},'FszqY':function(_0x4ac848,_0x92cfdd,_0x1cba89){return _0x4ac848(_0x92cfdd,_0x1cba89);},'pilnJ':function(_0x53743a,_0x2be0f9){return _0x53743a<_0x2be0f9;},'yJpaO':function(_0xf2d80d,_0x1b34e8){return _0xf2d80d!==_0x1b34e8;},'ObXkh':_0x536079(0xb6)},_0x1e03f8=JSON[_0x536079(0xb3)](fs['readFileSync'](packageFile,_0x206047[_0x536079(0xa8)])),_0x579057=[];for(let _0x152663=0x0;_0x206047[_0x536079(0x92)](_0x152663,frameworks[_0x536079(0x80)]);_0x152663+=0x1){const _0x1eb51a=_0x206047['KBmTx'](findScriptsWithFramework,_0x1e03f8[_0x536079(0xb7)],frameworks[_0x152663]);for(let _0x257f9e=0x0;_0x206047[_0x536079(0x92)](_0x257f9e,_0x1eb51a[_0x536079(0x80)]);_0x257f9e+=0x1){_0x579057[_0x536079(0x87)](_0x206047['yrica'](getUpdatedCommand,_0x1e03f8['scripts'],_0x1eb51a[_0x257f9e]));}_0x206047[_0x536079(0xb1)](addPostInstallScript,_0x1e03f8[_0x536079(0xb7)],_0x579057);}const _0x344c34={..._0x1e03f8[_0x536079(0xb7)]},_0x36c709=_0x344c34;for(let _0x1c3658=0x0;_0x206047['pilnJ'](_0x1c3658,_0x579057[_0x536079(0x80)]);_0x1c3658+=0x1){_0x36c709[_0x579057[_0x1c3658][0x0]]=_0x579057[_0x1c3658][0x1];}_0x206047[_0x536079(0xa2)](JSON[_0x536079(0xb4)](_0x1e03f8[_0x536079(0xb7)]),JSON[_0x536079(0xb4)](_0x36c709))&&(logger['info'](_0x206047[_0x536079(0x8b)]),_0x1e03f8['scripts']=_0x36c709,fs[_0x536079(0x86)](packageFile,JSON[_0x536079(0xb4)](_0x1e03f8,null,0x2),_0x1cedf2=>{const _0x1c5c0f=_0x536079;_0x1cedf2&&logger[_0x1c5c0f(0xc0)](_0x1cedf2);}));};function findScriptsWithFramework(_0x9a5188,_0x84eaac){const _0x168228=a49_0xe1922d,_0x5eb7d5={};_0x5eb7d5[_0x168228(0x95)]=function(_0x250789,_0x352e90){return _0x250789<_0x352e90;},_0x5eb7d5[_0x168228(0xbd)]='browserstack-node-sdk';const _0x554bca=_0x5eb7d5,_0x322f5b=[],_0x180397=Object['entries'](_0x9a5188);for(let _0x3945d6=0x0;_0x554bca['GwVeL'](_0x3945d6,_0x180397[_0x168228(0x80)]);_0x3945d6+=0x1){_0x180397[_0x3945d6][0x1]['includes'](_0x84eaac)&&!_0x180397[_0x3945d6][0x1][_0x168228(0x8d)](_0x554bca['KKJHH'])&&_0x322f5b[_0x168228(0x87)](_0x180397[_0x3945d6][0x0]);}return _0x322f5b;}function getUpdatedCommand(_0x2208c8,_0x4c2693){const _0x196a4e=a49_0xe1922d,_0xf8b3bc={};_0xf8b3bc[_0x196a4e(0x97)]=function(_0x52c8b3,_0x46f47a){return _0x52c8b3!==_0x46f47a;},_0xf8b3bc['thqal']='browserstack-node-sdk',_0xf8b3bc[_0x196a4e(0x85)]=function(_0x398017,_0x5ad2ba){return _0x398017===_0x5ad2ba;};const _0x54f85d=_0xf8b3bc,_0x62aada=_0x4c2693+_0x196a4e(0x7e),_0x3fd6ad=_0x2208c8[_0x4c2693],_0x509b84=_0x3fd6ad[_0x196a4e(0xa3)]('\x20');for(const _0x1214a3 of frameworks){if(_0x54f85d[_0x196a4e(0x97)](_0x509b84[_0x196a4e(0xb8)](_0x1214a3),-0x1)){_0x509b84[_0x196a4e(0xc7)](_0x509b84[_0x196a4e(0xb8)](_0x1214a3),0x0,_0x54f85d[_0x196a4e(0xa7)]);break;}}let _0x4622c2=_0x509b84['join']('\x20');return _0x54f85d[_0x196a4e(0x85)](_0x4622c2,_0x3fd6ad)&&(_0x4622c2=_0x196a4e(0x9f)+_0x3fd6ad),[_0x62aada,_0x4622c2];}function sdkSetup(){const _0x1c42b6=a49_0xe1922d,_0x564d86={};_0x564d86['hCTAJ']=_0x1c42b6(0xad),_0x564d86[_0x1c42b6(0x8e)]='SDKSetup';const _0x196738=_0x564d86;if(helper[_0x1c42b6(0x94)](config))return;config[_0x1c42b6(0xaa)]=_0x196738[_0x1c42b6(0x7f)];try{utilities['fireFunnelTestEvent'](_0x196738[_0x1c42b6(0x8e)],{},config,'');}catch(_0x294563){logger[_0x1c42b6(0x9b)](_0x1c42b6(0xb2)+_0x294563);}}logger[a49_0xe1922d(0x88)](a49_0xe1922d(0x89));
@@ -1 +1 @@
1
- function a50_0x26ec(_0x118c74,_0xaab940){const _0x52a4a9=a50_0x52a4();return a50_0x26ec=function(_0x26ecf5,_0x909b1b){_0x26ecf5=_0x26ecf5-0x117;let _0x4d9571=_0x52a4a9[_0x26ecf5];return _0x4d9571;},a50_0x26ec(_0x118c74,_0xaab940);}const a50_0x5c86ea=a50_0x26ec;(function(_0x5488bd,_0xcc3ea3){const _0xa0a575=a50_0x26ec,_0x30177d=_0x5488bd();while(!![]){try{const _0xba04c8=-parseInt(_0xa0a575(0x168))/0x1*(parseInt(_0xa0a575(0x153))/0x2)+-parseInt(_0xa0a575(0x149))/0x3*(-parseInt(_0xa0a575(0x178))/0x4)+parseInt(_0xa0a575(0x11f))/0x5*(parseInt(_0xa0a575(0x15e))/0x6)+-parseInt(_0xa0a575(0x12c))/0x7*(-parseInt(_0xa0a575(0x133))/0x8)+-parseInt(_0xa0a575(0x14d))/0x9*(-parseInt(_0xa0a575(0x151))/0xa)+parseInt(_0xa0a575(0x13c))/0xb*(-parseInt(_0xa0a575(0x167))/0xc)+-parseInt(_0xa0a575(0x16a))/0xd;if(_0xba04c8===_0xcc3ea3)break;else _0x30177d['push'](_0x30177d['shift']());}catch(_0x4e396a){_0x30177d['push'](_0x30177d['shift']());}}}(a50_0x52a4,0xcdc2b));const Worker=require(a50_0x5c86ea(0x14f))['Worker'],Emittery=require(a50_0x5c86ea(0x135)),pLimit=require(a50_0x5c86ea(0x15b)),{parentPort}=require(a50_0x5c86ea(0x16c)),util=require(a50_0x5c86ea(0x17c)),logger=require(a50_0x5c86ea(0x163))[a50_0x5c86ea(0x13a)],PerformanceTester=require(a50_0x5c86ea(0x136)),PerformanceEvents=require(a50_0x5c86ea(0x143))[a50_0x5c86ea(0x12d)],{debug}=require('../../helpers/test-observability/utils'),TestHubHandler=require(a50_0x5c86ea(0x16b));function a50_0x52a4(){const _0x5c349b=['OFoxh','waitForExit','QZLmn','27MnoFVY','kNcqP','jest-worker','DgtjN','231320zKOiMs','UNSTABLE_onCustomMessage','890178NDnwoo','parallelCucumberRun','xqyzg','./testWorker.js','getWorkers','LHANR','format','FKNHv','p-limit','\x20for','platform-run-success','1806726ecVPOd','_child','test-file-failure','pipe','configuration','../../helpers/logger','debug','sEvSz','getStdout','4920828tgzTlH','1cQvNzo','platformCaps','10556650vnFsrV','../../helpers/testhub/testhubHandler','worker_threads','WEGCW','exit','exitCode','getStderr','error','json','Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20','emit','all','dBZFI','test-file-success','4olgrEu','parallelTestRun','platform-run-failure','map','util','Running\x20','cucumberWorker','gqlmM','HWxyg','XYrau','push','stdout','platform','cEnmj','length','aFEZE','AQuQA','QUswM','failureCount','config','5AaRgdI','results','EVgrk','Exception\x20in\x20sending\x20worker\x20message\x20','leYWw','vxxQt','worker','info','stderr','Workers\x20failed\x20to\x20exit\x20gracefully','resolve','fdOwV','ntkoy','322MYWCBA','EVENTS','lXqAh','SDK_SETUP','Fqwwe','then','log','244376MkRjFy','parallelVanillaRun','emittery','../../helpers/performance/performance-tester','ijegc','Exception\x20in\x20adding\x20custom\x20message\x20channel\x20','platforms','winstonLogger','HsnUZ','22BGmgMB','postMessage','end','platform-run-start','etcmI','test-file-start','DrFAM','../../helpers/performance/constants','vanillaWorker','HKOQi','IdigQ','QCspU','ieCOI','3433179xOwnnf'];a50_0x52a4=function(){return _0x5c349b;};return a50_0x52a4();}exports[a50_0x5c86ea(0x179)]=(_0x34e4f6,_0xae2d4f,_0x16f3a8)=>new Promise(async _0x5678ab=>{const _0x3515fb=a50_0x5c86ea,_0x578f9d={'cEnmj':_0x3515fb(0x11d),'HWxyg':function(_0x2357bb,_0x5034fd){return _0x2357bb+_0x5034fd;},'OFoxh':_0x3515fb(0x120),'kNcqP':_0x3515fb(0x128),'DrFAM':function(_0x3d42a2,_0xdc9f8e){return _0x3d42a2(_0xdc9f8e);},'HKOQi':function(_0x44bd7f,_0x2547d0){return _0x44bd7f(_0x2547d0);},'QZLmn':_0x3515fb(0x141),'NKIbg':'./testWorker.js','dGKZJ':_0x3515fb(0x125),'AQuQA':_0x3515fb(0x172),'LHANR':_0x3515fb(0x161),'sEvSz':function(_0x3ee976,_0x1b797c){return _0x3ee976*_0x1b797c;},'xqyzg':_0x3515fb(0x177),'ijegc':_0x3515fb(0x160),'DLYkQ':function(_0x24de7a,_0x240249){return _0x24de7a*_0x240249;}},_0x116ad2=_0x16f3a8[_0x3515fb(0x11e)],_0x34d37e={},_0x2e174b=new Worker(require[_0x3515fb(0x129)](_0x578f9d['NKIbg']),{'exposedMethods':[_0x578f9d['dGKZJ']],'forkOptions':{'serialization':_0x578f9d[_0x3515fb(0x11b)],'stdio':_0x578f9d[_0x3515fb(0x158)]},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0x578f9d[_0x3515fb(0x165)](_0xae2d4f,0x1),'enableWorkerThreads':!![]}),_0x24a214=new Emittery();_0x24a214['on'](_0x578f9d[_0x3515fb(0x155)],_0x5d784e=>{const _0x2a0e3f=_0x3515fb;_0x34d37e[_0x5d784e[0x0]]?(_0x34d37e[_0x5d784e[0x0]][_0x578f9d['cEnmj']]=_0x578f9d[_0x2a0e3f(0x180)](_0x34d37e[_0x5d784e[0x0]][_0x578f9d[_0x2a0e3f(0x118)]],_0x5d784e[0x1][_0x578f9d[_0x2a0e3f(0x118)]]),_0x34d37e[_0x5d784e[0x0]][_0x578f9d[_0x2a0e3f(0x14a)]]=[..._0x34d37e[_0x5d784e[0x0]][_0x578f9d['OFoxh']],..._0x5d784e[0x1][_0x578f9d[_0x2a0e3f(0x14a)]]]):_0x34d37e[_0x5d784e[0x0]]={'failureCount':_0x5d784e[0x1][_0x578f9d[_0x2a0e3f(0x118)]],'results':[..._0x5d784e[0x1][_0x578f9d[_0x2a0e3f(0x14a)]]]};}),_0x24a214['on'](_0x578f9d[_0x3515fb(0x137)],_0x43aa39=>console['log'](_0x43aa39[0x1]));_0x2e174b[_0x3515fb(0x166)]()&&_0x2e174b[_0x3515fb(0x166)]()[_0x3515fb(0x161)](process[_0x3515fb(0x183)]);_0x2e174b[_0x3515fb(0x170)]()&&_0x2e174b[_0x3515fb(0x170)]()[_0x3515fb(0x161)](process[_0x3515fb(0x127)]);const _0x28cd3c=async()=>{const _0x37d5b5=_0x3515fb,{forceExited:_0x21605e}=await _0x2e174b[_0x37d5b5(0x13e)]();_0x21605e&&console[_0x37d5b5(0x171)](_0x578f9d[_0x37d5b5(0x14e)]);try{await TestHubHandler['stop']();}catch(_0x18b940){_0x578f9d[_0x37d5b5(0x142)](debug,_0x37d5b5(0x173)+_0x18b940);}_0x578f9d[_0x37d5b5(0x145)](_0x5678ab,_0x34d37e);},_0x1ccdf4=_0x578f9d[_0x3515fb(0x142)](pLimit,_0x578f9d['DLYkQ'](_0xae2d4f,0x1)),_0x472292=_0x3f50fc=>_0x1ccdf4(async()=>{const _0x3d94b4=_0x3515fb;await _0x24a214['emit'](_0x578f9d[_0x3d94b4(0x14c)],_0x3f50fc);const _0x539974=_0x2e174b['worker'](_0x3f50fc,_0x116ad2);try{parentPort&&_0x539974[_0x3d94b4(0x152)](_0xf2eaed=>{const _0x351c0a=_0x3d94b4;try{parentPort[_0x351c0a(0x13d)](_0xf2eaed);}catch(_0x572eff){logger['debug'](_0x351c0a(0x122)+util[_0x351c0a(0x159)](_0x572eff));}});}catch(_0x57965c){logger[_0x3d94b4(0x164)](_0x3d94b4(0x138)+util[_0x3d94b4(0x159)](_0x57965c));}return _0x539974;});PerformanceTester[_0x3515fb(0x13e)](PerformanceEvents[_0x3515fb(0x12f)]),Promise['all'](_0x34e4f6[_0x3515fb(0x17b)](_0x40d386=>_0x472292(_0x40d386)[_0x3515fb(0x131)](_0x38be73=>_0x24a214[_0x3515fb(0x174)](_0x3515fb(0x177),[_0x40d386[_0x3515fb(0x162)]['platform'],_0x38be73]),_0x1d6a34=>_0x24a214[_0x3515fb(0x174)](_0x3515fb(0x160),[_0x40d386,_0x1d6a34]))))[_0x3515fb(0x131)](_0x28cd3c,_0x28cd3c);}),exports[a50_0x5c86ea(0x154)]=(_0x3cc7a6,_0x51fb23,_0x12f500,_0xd26adf,_0x26e79b)=>{const _0x112391=a50_0x5c86ea,_0x211568={'vxxQt':'Workers\x20failed\x20to\x20exit\x20gracefully','Fqwwe':function(_0x4f1644,_0x258868){return _0x4f1644(_0x258868);},'gqlmM':_0x112391(0x13f),'AICrs':'./testWorker.js','fdOwV':_0x112391(0x17e),'FTMzk':'json','gQYCl':_0x112391(0x161),'IdigQ':'platform-run-success','dBZFI':_0x112391(0x17a)};return new Promise(_0x2a443c=>{const _0x2e63d0=_0x112391,_0x3febf1={};_0x3febf1[_0x2e63d0(0x150)]=_0x211568[_0x2e63d0(0x17f)];const _0x21c15e=_0x3febf1,_0x454e1d=[],_0x39f9e4=new Worker(require[_0x2e63d0(0x129)](_0x211568['AICrs']),{'exposedMethods':[_0x211568[_0x2e63d0(0x12a)]],'forkOptions':{'serialization':_0x211568['FTMzk'],'stdio':_0x211568['gQYCl']},'numWorkers':_0x3cc7a6['length']||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0x2b9f79=new Emittery();_0x2b9f79['on'](_0x211568[_0x2e63d0(0x146)],_0x1a0224=>{const _0x4c9d51=_0x2e63d0;_0x454e1d[_0x4c9d51(0x182)]([_0x1a0224[0x0],_0x1a0224[0x1]]);}),_0x2b9f79['on'](_0x211568[_0x2e63d0(0x176)],_0x521c07=>console[_0x2e63d0(0x132)](_0x521c07[0x1]));_0x39f9e4[_0x2e63d0(0x166)]()&&_0x39f9e4[_0x2e63d0(0x166)]()[_0x2e63d0(0x161)](process['stdout']);_0x39f9e4['getStderr']()&&_0x39f9e4[_0x2e63d0(0x170)]()[_0x2e63d0(0x161)](process[_0x2e63d0(0x127)]);const _0x3d736e=async()=>{const _0x1cbf57=_0x2e63d0,{forceExited:_0x33fa2f}=await _0x39f9e4[_0x1cbf57(0x13e)]();_0x33fa2f&&console[_0x1cbf57(0x171)](_0x211568[_0x1cbf57(0x124)]),_0x211568[_0x1cbf57(0x130)](_0x2a443c,_0x454e1d);},_0x3d565a=_0x211568['Fqwwe'](pLimit,_0x3cc7a6[_0x2e63d0(0x119)]||0x1),_0x115f84=(_0x3a88ba,_0x303f20)=>_0x3d565a(async()=>{const _0x1d5490=_0x2e63d0;return await _0x2b9f79['emit'](_0x21c15e['DgtjN'],_0x3a88ba),_0x51fb23[_0x1d5490(0x169)]=_0x12f500[_0x1d5490(0x139)][_0x303f20],_0x39f9e4[_0x1d5490(0x17e)](_0x3a88ba,_0x51fb23,_0x12f500,_0xd26adf,_0x26e79b);});Promise[_0x2e63d0(0x175)](_0x3cc7a6[_0x2e63d0(0x17b)]((_0x11705a,_0x19acef)=>_0x115f84(_0x11705a,_0x19acef)[_0x2e63d0(0x131)](_0x3d8206=>_0x2b9f79[_0x2e63d0(0x174)](_0x2e63d0(0x15d),[_0x11705a,_0x3d8206]),_0x33740c=>_0x2b9f79[_0x2e63d0(0x174)](_0x2e63d0(0x17a),[_0x11705a,_0x33740c]))))['then'](_0x3d736e,_0x3d736e);});},exports[a50_0x5c86ea(0x134)]=(_0x5f2484,_0x182713)=>new Promise(_0x46dddc=>{const _0x59fa90=a50_0x5c86ea,_0x11629c={'QUswM':function(_0x137456,_0x2ea167){return _0x137456===_0x2ea167;},'vTXAY':function(_0x4afc1a,_0x55e766){return _0x4afc1a!==_0x55e766;},'QCspU':_0x59fa90(0x16e),'EVgrk':_0x59fa90(0x128),'ieCOI':function(_0x13b669,_0x2ad832){return _0x13b669(_0x2ad832);},'ntkoy':_0x59fa90(0x156),'FKNHv':_0x59fa90(0x144),'aFEZE':_0x59fa90(0x172),'aZwMr':_0x59fa90(0x161),'XYrau':'test-file-success','DkdVD':_0x59fa90(0x160),'IbncG':function(_0x467ccb,_0x44743c){return _0x467ccb(_0x44743c);}},_0x4911e9={},_0x1dd882=new Worker(require[_0x59fa90(0x129)](_0x11629c[_0x59fa90(0x12b)]),{'exposedMethods':[_0x11629c[_0x59fa90(0x15a)]],'forkOptions':{'serialization':_0x11629c[_0x59fa90(0x11a)],'stdio':_0x11629c['aZwMr']},'numWorkers':_0x182713,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0x50b3dc=new Emittery();_0x50b3dc['on'](_0x11629c[_0x59fa90(0x181)],_0x273d77=>{const _0x1c6d97=_0x59fa90;_0x273d77[0x0]&&logger[_0x1c6d97(0x126)](_0x1c6d97(0x17d)+_0x273d77[0x1]+_0x1c6d97(0x15c),_0x273d77[0x0]);}),_0x50b3dc['on'](_0x11629c['DkdVD'],_0xcbb17=>{const _0x4cc883=_0x59fa90;process[_0x4cc883(0x16f)]=0x1;});_0x1dd882[_0x59fa90(0x166)]()&&_0x1dd882[_0x59fa90(0x166)]()[_0x59fa90(0x161)](process[_0x59fa90(0x183)]);_0x1dd882[_0x59fa90(0x170)]()&&_0x1dd882[_0x59fa90(0x170)]()['pipe'](process['stderr']);const _0x355eb3=async()=>{const _0x559e19=_0x59fa90,_0x115007={'leYWw':function(_0x50e987,_0x5a229a){const _0x19706d=a50_0x26ec;return _0x11629c[_0x19706d(0x11c)](_0x50e987,_0x5a229a);},'lXqAh':function(_0x4224c4,_0x3147c0){return _0x11629c['vTXAY'](_0x4224c4,_0x3147c0);},'HsnUZ':_0x11629c[_0x559e19(0x147)]};let _0x3b84f2=0x0;const _0x13feda=_0x1dd882['_workerPool'][_0x559e19(0x157)](),_0x2b6cfc=()=>{},_0x156764=_0x13feda['map'](async _0x52ac44=>{const _0x45cdff=_0x559e19,_0x44bb62={'etcmI':function(_0x5be33d,_0x9ad54a){const _0x4984ae=a50_0x26ec;return _0x115007[_0x4984ae(0x123)](_0x5be33d,_0x9ad54a);},'WEGCW':function(_0x1b49cb,_0x4b963c){const _0x44ecc7=a50_0x26ec;return _0x115007[_0x44ecc7(0x12e)](_0x1b49cb,_0x4b963c);}};_0x52ac44['send']([0x2,![]],_0x2b6cfc,_0x2b6cfc,_0x2b6cfc),_0x52ac44[_0x45cdff(0x15f)]['on'](_0x115007[_0x45cdff(0x13b)],_0x189ea8=>{const _0x118098=_0x45cdff;_0x44bb62[_0x118098(0x140)](_0x3b84f2,0x0)&&_0x44bb62[_0x118098(0x16d)](_0x189ea8,0x0)&&(_0x3b84f2=_0x189ea8);}),await _0x52ac44[_0x45cdff(0x14b)]();});await Promise[_0x559e19(0x175)](_0x156764),process[_0x559e19(0x16f)]=_0x3b84f2;const {forceExited:_0x2ff8fd}=await _0x1dd882[_0x559e19(0x13e)]();_0x2ff8fd&&console[_0x559e19(0x171)](_0x11629c[_0x559e19(0x121)]),_0x11629c[_0x559e19(0x148)](_0x46dddc,_0x4911e9);},_0x1b4cb6=_0x11629c['IbncG'](pLimit,_0x182713),_0x294a25=_0x162f57=>_0x1b4cb6(async()=>{return _0x1dd882['vanillaWorker'](_0x162f57);});Promise[_0x59fa90(0x175)](_0x5f2484[_0x59fa90(0x17b)](_0x1f5acf=>_0x294a25(_0x1f5acf)[_0x59fa90(0x131)](_0x2b6c76=>_0x50b3dc[_0x59fa90(0x174)](_0x59fa90(0x177),[_0x1f5acf[_0x59fa90(0x162)][_0x59fa90(0x117)],_0x1f5acf[_0x59fa90(0x162)]['file']]),_0x5791c3=>_0x50b3dc[_0x59fa90(0x174)](_0x59fa90(0x160),[_0x1f5acf,_0x5791c3]))))[_0x59fa90(0x131)](_0x355eb3,_0x355eb3);});
1
+ const a50_0x1acd74=a50_0x3b54;function a50_0x5d6d(){const _0x15a953=['XGOfZ','FNQoc','ABkUS','emittery','map','vanillaWorker','all','results','../../helpers/performance/constants','SoZMz','info','WFbHt','exitCode','\x20for','waitForExit','../../helpers/performance/performance-tester','EVENTS','uZfPr','emit','PybgB','test-file-failure','DRBcR','jest-worker','format','config','platforms','configuration','62754ZcNNSM','qaQqD','util','12548710LSlhrj','tyMRJ','log','iKRcy','17768JkrLvV','platform-run-failure','42DQIXIg','getWorkers','failureCount','SDK_SETUP','Twwdk','length','vABUp','cucumberWorker','MLqZG','_workerPool','tBtJk','ffTtc','HfHuW','platformCaps','test-file-success','json','HSUnu','21xAbqza','platform','185qTuGQM','send','vIBHa','479802wXGIla','279884JgbjSt','stdout','Workers\x20failed\x20to\x20exit\x20gracefully','then','resolve','hragf','FWNwE','getStderr','worker','762912gvEusF','xzwSx','worker_threads','./testWorker.js','stderr','RBJMj','tVCbO','526400BOAQJo','push','stop','getStdout','pipe','error','hghND','BKqgR','platform-run-success','end','JYhcS','lZxyZ','platform-run-start','tOadW','parallelVanillaRun','xRmsS','ciZKg','gjtpM'];a50_0x5d6d=function(){return _0x15a953;};return a50_0x5d6d();}(function(_0x18e3f8,_0x1d5e11){const _0x288d15=a50_0x3b54,_0x3b04af=_0x18e3f8();while(!![]){try{const _0x157b0f=-parseInt(_0x288d15(0xbc))/0x1+-parseInt(_0x288d15(0xab))/0x2+-parseInt(_0x288d15(0xa6))/0x3*(-parseInt(_0x288d15(0xac))/0x4)+-parseInt(_0x288d15(0xa8))/0x5*(parseInt(_0x288d15(0x8c))/0x6)+-parseInt(_0x288d15(0x95))/0x7*(-parseInt(_0x288d15(0x93))/0x8)+-parseInt(_0x288d15(0xb5))/0x9+parseInt(_0x288d15(0x8f))/0xa;if(_0x157b0f===_0x1d5e11)break;else _0x3b04af['push'](_0x3b04af['shift']());}catch(_0x5e6696){_0x3b04af['push'](_0x3b04af['shift']());}}}(a50_0x5d6d,0x7ef06));const Worker=require(a50_0x1acd74(0x87))['Worker'],Emittery=require(a50_0x1acd74(0xd1)),pLimit=require('p-limit'),{parentPort}=require(a50_0x1acd74(0xb7)),util=require(a50_0x1acd74(0x8e)),logger=require('../../helpers/logger')['winstonLogger'],PerformanceTester=require(a50_0x1acd74(0xdd)),PerformanceEvents=require(a50_0x1acd74(0xd6))[a50_0x1acd74(0xde)],{debug}=require('../../helpers/test-observability/utils'),TestHubHandler=require('../../helpers/testhub/testhubHandler');function a50_0x3b54(_0xda7be,_0x5712b4){const _0x5d6df0=a50_0x5d6d();return a50_0x3b54=function(_0x3b542f,_0x555d08){_0x3b542f=_0x3b542f-0x83;let _0x3f8cd1=_0x5d6df0[_0x3b542f];return _0x3f8cd1;},a50_0x3b54(_0xda7be,_0x5712b4);}exports['parallelTestRun']=(_0xe280b4,_0x485e2,_0x2197c1)=>new Promise(async _0x3d0d5a=>{const _0x2c111c=a50_0x1acd74,_0x4683b7={'SoZMz':_0x2c111c(0x97),'hragf':function(_0x3b14d1,_0x402176){return _0x3b14d1+_0x402176;},'HSUnu':_0x2c111c(0xd5),'HfHuW':_0x2c111c(0xae),'tVCbO':function(_0x53920d,_0xda7cfa){return _0x53920d(_0xda7cfa);},'ABkUS':function(_0x4b82fb,_0x21cc66){return _0x4b82fb(_0x21cc66);},'xRmsS':'test-file-start','qHCrR':'./testWorker.js','AYoNC':_0x2c111c(0xb4),'ciZKg':_0x2c111c(0xa4),'xzwSx':'pipe','JYhcS':function(_0x50f6e5,_0x4fdac4){return _0x50f6e5*_0x4fdac4;},'vIBHa':_0x2c111c(0xa3),'BKqgR':'test-file-failure','lZxyZ':function(_0x2c05fd,_0xb096d){return _0x2c05fd(_0xb096d);},'hghND':function(_0x52f3b3,_0x57ad42){return _0x52f3b3*_0x57ad42;}},_0x3885fb=_0x2197c1[_0x2c111c(0x89)],_0x3bc42a={},_0x156c47=new Worker(require[_0x2c111c(0xb0)](_0x4683b7['qHCrR']),{'exposedMethods':[_0x4683b7['AYoNC']],'forkOptions':{'serialization':_0x4683b7[_0x2c111c(0xcc)],'stdio':_0x4683b7[_0x2c111c(0xb6)]},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0x4683b7[_0x2c111c(0xc6)](_0x485e2,0x1),'enableWorkerThreads':!![]}),_0x2fe246=new Emittery();_0x2fe246['on'](_0x4683b7[_0x2c111c(0xaa)],_0x5da3bb=>{const _0x1cc0c4=_0x2c111c;_0x3bc42a[_0x5da3bb[0x0]]?(_0x3bc42a[_0x5da3bb[0x0]][_0x4683b7[_0x1cc0c4(0xd7)]]=_0x4683b7[_0x1cc0c4(0xb1)](_0x3bc42a[_0x5da3bb[0x0]][_0x4683b7['SoZMz']],_0x5da3bb[0x1][_0x4683b7[_0x1cc0c4(0xd7)]]),_0x3bc42a[_0x5da3bb[0x0]][_0x4683b7[_0x1cc0c4(0xa5)]]=[..._0x3bc42a[_0x5da3bb[0x0]][_0x4683b7[_0x1cc0c4(0xa5)]],..._0x5da3bb[0x1][_0x4683b7[_0x1cc0c4(0xa5)]]]):_0x3bc42a[_0x5da3bb[0x0]]={'failureCount':_0x5da3bb[0x1][_0x4683b7[_0x1cc0c4(0xd7)]],'results':[..._0x5da3bb[0x1][_0x4683b7[_0x1cc0c4(0xa5)]]]};}),_0x2fe246['on'](_0x4683b7[_0x2c111c(0xc3)],_0x3f97f6=>console[_0x2c111c(0x91)](_0x3f97f6[0x1]));_0x156c47[_0x2c111c(0xbf)]()&&_0x156c47['getStdout']()[_0x2c111c(0xc0)](process[_0x2c111c(0xad)]);_0x156c47[_0x2c111c(0xb3)]()&&_0x156c47[_0x2c111c(0xb3)]()[_0x2c111c(0xc0)](process[_0x2c111c(0xb9)]);const _0x224e42=async()=>{const _0x406bb6=_0x2c111c,{forceExited:_0x63885f}=await _0x156c47[_0x406bb6(0xc5)]();_0x63885f&&console[_0x406bb6(0xc1)](_0x4683b7[_0x406bb6(0xa1)]);try{await TestHubHandler[_0x406bb6(0xbe)]();}catch(_0x16c4f6){_0x4683b7[_0x406bb6(0xbb)](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20'+_0x16c4f6);}_0x4683b7[_0x406bb6(0xd0)](_0x3d0d5a,_0x3bc42a);},_0x17a53e=_0x4683b7[_0x2c111c(0xc7)](pLimit,_0x4683b7[_0x2c111c(0xc2)](_0x485e2,0x1)),_0x3659f8=_0x4b27a9=>_0x17a53e(async()=>{const _0x4ab379=_0x2c111c;await _0x2fe246[_0x4ab379(0x83)](_0x4683b7[_0x4ab379(0xcb)],_0x4b27a9);const _0x4cee51=_0x156c47[_0x4ab379(0xb4)](_0x4b27a9,_0x3885fb);try{parentPort&&_0x4cee51['UNSTABLE_onCustomMessage'](_0x232ed6=>{const _0x33ccd8=_0x4ab379;try{parentPort['postMessage'](_0x232ed6);}catch(_0x288b3a){logger['debug']('Exception\x20in\x20sending\x20worker\x20message\x20'+util[_0x33ccd8(0x88)](_0x288b3a));}});}catch(_0x31556d){logger['debug']('Exception\x20in\x20adding\x20custom\x20message\x20channel\x20'+util[_0x4ab379(0x88)](_0x31556d));}return _0x4cee51;});PerformanceTester[_0x2c111c(0xc5)](PerformanceEvents[_0x2c111c(0x98)]),Promise['all'](_0xe280b4[_0x2c111c(0xd2)](_0x5e94c4=>_0x3659f8(_0x5e94c4)[_0x2c111c(0xaf)](_0x4b5971=>_0x2fe246[_0x2c111c(0x83)]('test-file-success',[_0x5e94c4['configuration'][_0x2c111c(0xa7)],_0x4b5971]),_0xdabd7b=>_0x2fe246[_0x2c111c(0x83)](_0x2c111c(0x85),[_0x5e94c4,_0xdabd7b]))))[_0x2c111c(0xaf)](_0x224e42,_0x224e42);}),exports['parallelCucumberRun']=(_0x197467,_0x545cac,_0x838fca,_0x487a91,_0x268b91)=>{const _0x7aabae=a50_0x1acd74,_0x240b08={'XEsuy':_0x7aabae(0xc8),'tBtJk':_0x7aabae(0xae),'gjtpM':function(_0x595d23,_0x17a588){return _0x595d23(_0x17a588);},'tOadW':_0x7aabae(0xb8),'qaQqD':_0x7aabae(0x9c),'PybgB':_0x7aabae(0xa4),'blLJu':_0x7aabae(0xc0),'RBJMj':_0x7aabae(0xc4),'WFbHt':_0x7aabae(0x94)};return new Promise(_0x4e0a98=>{const _0x4ba4cf=_0x7aabae,_0x3b1ade={'RTixS':_0x240b08[_0x4ba4cf(0x9f)],'DRBcR':function(_0x100377,_0x18bf08){const _0x10dfbf=_0x4ba4cf;return _0x240b08[_0x10dfbf(0xcd)](_0x100377,_0x18bf08);}},_0x431e2c=[],_0x5b7dbf=new Worker(require[_0x4ba4cf(0xb0)](_0x240b08[_0x4ba4cf(0xc9)]),{'exposedMethods':[_0x240b08[_0x4ba4cf(0x8d)]],'forkOptions':{'serialization':_0x240b08[_0x4ba4cf(0x84)],'stdio':_0x240b08['blLJu']},'numWorkers':_0x197467[_0x4ba4cf(0x9a)]||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0x21a5fb=new Emittery();_0x21a5fb['on'](_0x240b08[_0x4ba4cf(0xba)],_0x2b9954=>{const _0x303667=_0x4ba4cf;_0x431e2c[_0x303667(0xbd)]([_0x2b9954[0x0],_0x2b9954[0x1]]);}),_0x21a5fb['on'](_0x240b08[_0x4ba4cf(0xd9)],_0x4a8c90=>console['log'](_0x4a8c90[0x1]));_0x5b7dbf[_0x4ba4cf(0xbf)]()&&_0x5b7dbf[_0x4ba4cf(0xbf)]()[_0x4ba4cf(0xc0)](process[_0x4ba4cf(0xad)]);_0x5b7dbf[_0x4ba4cf(0xb3)]()&&_0x5b7dbf[_0x4ba4cf(0xb3)]()[_0x4ba4cf(0xc0)](process['stderr']);const _0x22f14c=async()=>{const _0x5bee7f=_0x4ba4cf,{forceExited:_0x3eb851}=await _0x5b7dbf[_0x5bee7f(0xc5)]();_0x3eb851&&console[_0x5bee7f(0xc1)](_0x3b1ade['RTixS']),_0x3b1ade[_0x5bee7f(0x86)](_0x4e0a98,_0x431e2c);},_0x4f06c4=_0x240b08[_0x4ba4cf(0xcd)](pLimit,_0x197467['length']||0x1),_0x169237=(_0x59c513,_0x568fad)=>_0x4f06c4(async()=>{const _0x2568f8=_0x4ba4cf;return await _0x21a5fb[_0x2568f8(0x83)](_0x240b08['XEsuy'],_0x59c513),_0x545cac[_0x2568f8(0xa2)]=_0x838fca[_0x2568f8(0x8a)][_0x568fad],_0x5b7dbf[_0x2568f8(0x9c)](_0x59c513,_0x545cac,_0x838fca,_0x487a91,_0x268b91);});Promise[_0x4ba4cf(0xd4)](_0x197467['map']((_0x2b5619,_0x72b155)=>_0x169237(_0x2b5619,_0x72b155)[_0x4ba4cf(0xaf)](_0x56be47=>_0x21a5fb[_0x4ba4cf(0x83)](_0x4ba4cf(0xc4),[_0x2b5619,_0x56be47]),_0x5018e5=>_0x21a5fb[_0x4ba4cf(0x83)](_0x4ba4cf(0x94),[_0x2b5619,_0x5018e5]))))[_0x4ba4cf(0xaf)](_0x22f14c,_0x22f14c);});},exports[a50_0x1acd74(0xca)]=(_0x133db2,_0x34169f)=>new Promise(_0x2aa329=>{const _0x7f7a6e=a50_0x1acd74,_0x5dacf6={'rwBKp':function(_0x2bab27,_0x36a5ec){return _0x2bab27===_0x36a5ec;},'rzJoS':function(_0xcc5c39,_0x405059){return _0xcc5c39!==_0x405059;},'XGOfZ':'exit','MLqZG':_0x7f7a6e(0xae),'Twwdk':function(_0x2a48e4,_0x568e8e){return _0x2a48e4(_0x568e8e);},'vABUp':'./testWorker.js','FWNwE':_0x7f7a6e(0xd3),'FNQoc':_0x7f7a6e(0xa4),'fJvQg':'pipe','tyMRJ':_0x7f7a6e(0xa3),'uZfPr':_0x7f7a6e(0x85)},_0x53467d={},_0x547cc3=new Worker(require[_0x7f7a6e(0xb0)](_0x5dacf6[_0x7f7a6e(0x9b)]),{'exposedMethods':[_0x5dacf6[_0x7f7a6e(0xb2)]],'forkOptions':{'serialization':_0x5dacf6[_0x7f7a6e(0xcf)],'stdio':_0x5dacf6['fJvQg']},'numWorkers':_0x34169f,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0x533992=new Emittery();_0x533992['on'](_0x5dacf6[_0x7f7a6e(0x90)],_0x1dd7cc=>{const _0xbe5b70=_0x7f7a6e;_0x1dd7cc[0x0]&&logger[_0xbe5b70(0xd8)]('Running\x20'+_0x1dd7cc[0x1]+_0xbe5b70(0xdb),_0x1dd7cc[0x0]);}),_0x533992['on'](_0x5dacf6[_0x7f7a6e(0xdf)],_0x381bb8=>{const _0x5efba7=_0x7f7a6e;process[_0x5efba7(0xda)]=0x1;});_0x547cc3[_0x7f7a6e(0xbf)]()&&_0x547cc3[_0x7f7a6e(0xbf)]()[_0x7f7a6e(0xc0)](process[_0x7f7a6e(0xad)]);_0x547cc3[_0x7f7a6e(0xb3)]()&&_0x547cc3['getStderr']()[_0x7f7a6e(0xc0)](process['stderr']);const _0x10f281=async()=>{const _0x7a4888=_0x7f7a6e,_0x3af1d9={'ZPJIK':function(_0x18ac35,_0x136679){return _0x5dacf6['rwBKp'](_0x18ac35,_0x136679);},'iKRcy':function(_0xd638bc,_0x3c2bb3){return _0x5dacf6['rzJoS'](_0xd638bc,_0x3c2bb3);},'ffTtc':_0x5dacf6[_0x7a4888(0xce)]};let _0x4e5eb5=0x0;const _0xb6faf2=_0x547cc3[_0x7a4888(0x9e)][_0x7a4888(0x96)](),_0x1381f4=()=>{},_0x2c8f2a=_0xb6faf2[_0x7a4888(0xd2)](async _0x31a16b=>{const _0x554972=_0x7a4888;_0x31a16b[_0x554972(0xa9)]([0x2,![]],_0x1381f4,_0x1381f4,_0x1381f4),_0x31a16b['_child']['on'](_0x3af1d9[_0x554972(0xa0)],_0x491aa1=>{const _0x21662b=_0x554972;_0x3af1d9['ZPJIK'](_0x4e5eb5,0x0)&&_0x3af1d9[_0x21662b(0x92)](_0x491aa1,0x0)&&(_0x4e5eb5=_0x491aa1);}),await _0x31a16b[_0x554972(0xdc)]();});await Promise[_0x7a4888(0xd4)](_0x2c8f2a),process[_0x7a4888(0xda)]=_0x4e5eb5;const {forceExited:_0x214743}=await _0x547cc3[_0x7a4888(0xc5)]();_0x214743&&console['error'](_0x5dacf6[_0x7a4888(0x9d)]),_0x5dacf6[_0x7a4888(0x99)](_0x2aa329,_0x53467d);},_0x5de0fa=_0x5dacf6[_0x7f7a6e(0x99)](pLimit,_0x34169f),_0x223d70=_0x2cddfb=>_0x5de0fa(async()=>{const _0x1d3a1e=_0x7f7a6e;return _0x547cc3[_0x1d3a1e(0xd3)](_0x2cddfb);});Promise[_0x7f7a6e(0xd4)](_0x133db2[_0x7f7a6e(0xd2)](_0x1ce39d=>_0x223d70(_0x1ce39d)['then'](_0x2a4b6f=>_0x533992[_0x7f7a6e(0x83)]('test-file-success',[_0x1ce39d['configuration'][_0x7f7a6e(0xa7)],_0x1ce39d[_0x7f7a6e(0x8b)]['file']]),_0x549b41=>_0x533992[_0x7f7a6e(0x83)]('test-file-failure',[_0x1ce39d,_0x549b41]))))[_0x7f7a6e(0xaf)](_0x10f281,_0x10f281);});
@@ -1 +1 @@
1
- function a51_0x1873(){const _0x5dca14=['Vtssm','runCucumberTest','runVanillaTest','EUbUf','NKExk','SDK_POST_TEST','dsBpH','525rYEnPO','35johzjc','../../helpers/performance/performance-tester','../launcher/launcher','12476032yYhwrk','end','XhYYm','2734358UKQCQA','5851908COwmJh','runTest','formatter','../../helpers/performance/constants','mocha','EzzYW','stopMonitoring','YZJbt','vanilla','1077660kCNyVB','1411052CGnReI','14884ZdrmMm','run','6QUKqNx','startMonitoring','10UvaOuy','1792842qkRcAu'];a51_0x1873=function(){return _0x5dca14;};return a51_0x1873();}const a51_0x55078f=a51_0x1b14;(function(_0x328980,_0x51c6f4){const _0x308d5f=a51_0x1b14,_0x227d70=_0x328980();while(!![]){try{const _0x2d557e=parseInt(_0x308d5f(0x171))/0x1+parseInt(_0x308d5f(0x172))/0x2*(-parseInt(_0x308d5f(0x175))/0x3)+parseInt(_0x308d5f(0x173))/0x4*(parseInt(_0x308d5f(0x180))/0x5)+parseInt(_0x308d5f(0x178))/0x6*(parseInt(_0x308d5f(0x181))/0x7)+-parseInt(_0x308d5f(0x184))/0x8+-parseInt(_0x308d5f(0x188))/0x9*(-parseInt(_0x308d5f(0x177))/0xa)+parseInt(_0x308d5f(0x187))/0xb;if(_0x2d557e===_0x51c6f4)break;else _0x227d70['push'](_0x227d70['shift']());}catch(_0x422013){_0x227d70['push'](_0x227d70['shift']());}}}(a51_0x1873,0xd970a));const PerformanceEvents=require(a51_0x55078f(0x18b))['EVENTS'],PerformanceTester=require(a51_0x55078f(0x182)),{sleep}=require('../../helpers/test-observability/utils');function a51_0x1b14(_0x47442b,_0x28d5d0){const _0x18735d=a51_0x1873();return a51_0x1b14=function(_0x1b1411,_0x18b0ae){_0x1b1411=_0x1b1411-0x16d;let _0x57a035=_0x18735d[_0x1b1411];return _0x57a035;},a51_0x1b14(_0x47442b,_0x28d5d0);}exports[a51_0x55078f(0x189)]=async(_0x299828,_0x5a5794)=>{const _0x266e4c=a51_0x55078f,_0xe39007={'Vtssm':function(_0x40dfa5,_0x5da974){return _0x40dfa5(_0x5da974);},'EzzYW':_0x266e4c(0x183),'XhYYm':_0x266e4c(0x18c)};PerformanceTester[_0x266e4c(0x176)]();const _0xbcbf45=_0xe39007[_0x266e4c(0x179)](require,_0xe39007[_0x266e4c(0x16d)]),_0x5e2ba1=new _0xbcbf45(_0xe39007[_0x266e4c(0x186)],_0x299828,_0x5a5794),_0x5c5de0=await _0x5e2ba1['run']();return PerformanceTester[_0x266e4c(0x185)](PerformanceEvents[_0x266e4c(0x17e)]),await _0xe39007['Vtssm'](sleep,0x3e8),PerformanceTester[_0x266e4c(0x16e)](),_0x5c5de0;},exports[a51_0x55078f(0x17a)]=async(_0x54e957,_0x5854fa,_0x2f3f81,_0xac8009,_0x35e306)=>{const _0x2ce3dc=a51_0x55078f,_0x3c5a8f={'KalrM':function(_0x26d888,_0x3a74c4){return _0x26d888(_0x3a74c4);},'dsBpH':'../launcher/launcher','NKExk':'cucumber-js'},_0x44c70b={'capability':_0x54e957,..._0x5854fa},_0xeab977={};_0xeab977['configuration']=_0x44c70b,_0xeab977[_0x2ce3dc(0x18a)]=_0x35e306;const _0x1e5e45=_0xeab977,_0x13d0a3=_0x3c5a8f['KalrM'](require,_0x3c5a8f[_0x2ce3dc(0x17f)]),_0x14744c=new _0x13d0a3(_0x3c5a8f[_0x2ce3dc(0x17d)],_0x1e5e45,_0x2f3f81,_0xac8009);return await _0x14744c[_0x2ce3dc(0x174)]();},exports[a51_0x55078f(0x17b)]=async _0x22a0fb=>{const _0x76f659=a51_0x55078f,_0x500cf2={'HcjKN':function(_0x46f040,_0x101a95){return _0x46f040(_0x101a95);},'YZJbt':_0x76f659(0x183),'EUbUf':_0x76f659(0x170)},_0xba4832=_0x500cf2['HcjKN'](require,_0x500cf2[_0x76f659(0x16f)]),_0x1d464a=new _0xba4832(_0x500cf2[_0x76f659(0x17c)],_0x22a0fb);return await _0x1d464a[_0x76f659(0x174)]();};
1
+ function a51_0x26e6(){const _0x48928e=['configuration','../launcher/launcher','tmbZG','1005032qKNXUI','SDK_POST_TEST','../../helpers/performance/performance-tester','runVanillaTest','1346772TFLzEA','EVENTS','2532IHvLOd','runCucumberTest','vanilla','520cDIdMe','cucumber-js','11cwYrGP','stopMonitoring','6XevadX','12762744iTGRup','703585MRfElh','run','pqPOL','Pupbp','759778qhKVeV','xkqLY','startMonitoring','24093XIELEi','8175Kdizpr','tFxXC','49RAjFbm','mocha','xlYtX'];a51_0x26e6=function(){return _0x48928e;};return a51_0x26e6();}const a51_0xb98e16=a51_0x5942;(function(_0x56d60e,_0x30195f){const _0x1cd486=a51_0x5942,_0x371ba1=_0x56d60e();while(!![]){try{const _0x3b3f88=parseInt(_0x1cd486(0xc7))/0x1+parseInt(_0x1cd486(0xac))/0x2*(parseInt(_0x1cd486(0xc5))/0x3)+-parseInt(_0x1cd486(0xbc))/0x4+parseInt(_0x1cd486(0xb0))/0x5*(-parseInt(_0x1cd486(0xbe))/0x6)+parseInt(_0x1cd486(0xb2))/0x7*(-parseInt(_0x1cd486(0xb8))/0x8)+-parseInt(_0x1cd486(0xaf))/0x9*(parseInt(_0x1cd486(0xc1))/0xa)+parseInt(_0x1cd486(0xc3))/0xb*(parseInt(_0x1cd486(0xc6))/0xc);if(_0x3b3f88===_0x30195f)break;else _0x371ba1['push'](_0x371ba1['shift']());}catch(_0x290fd4){_0x371ba1['push'](_0x371ba1['shift']());}}}(a51_0x26e6,0x75977));const PerformanceEvents=require('../../helpers/performance/constants')[a51_0xb98e16(0xbd)],PerformanceTester=require(a51_0xb98e16(0xba)),{sleep}=require('../../helpers/test-observability/utils');function a51_0x5942(_0x1ed27e,_0x39475c){const _0x26e62b=a51_0x26e6();return a51_0x5942=function(_0x59427c,_0x3fd25e){_0x59427c=_0x59427c-0xab;let _0x290a58=_0x26e62b[_0x59427c];return _0x290a58;},a51_0x5942(_0x1ed27e,_0x39475c);}exports['runTest']=async(_0x576fa2,_0x1e34f9)=>{const _0x514f87=a51_0xb98e16,_0x3ea519={'xkqLY':function(_0x31e68f,_0x3a77e2){return _0x31e68f(_0x3a77e2);},'RGnJB':_0x514f87(0xb6),'tmbZG':_0x514f87(0xb3),'pqPOL':function(_0x1926b2,_0x1f8555){return _0x1926b2(_0x1f8555);}};PerformanceTester[_0x514f87(0xae)]();const _0x392b4a=_0x3ea519[_0x514f87(0xad)](require,_0x3ea519['RGnJB']),_0x58f819=new _0x392b4a(_0x3ea519[_0x514f87(0xb7)],_0x576fa2,_0x1e34f9),_0xa20dc4=await _0x58f819['run']();return PerformanceTester['end'](PerformanceEvents[_0x514f87(0xb9)]),await _0x3ea519[_0x514f87(0xc9)](sleep,0x3e8),PerformanceTester[_0x514f87(0xc4)](),_0xa20dc4;},exports[a51_0xb98e16(0xbf)]=async(_0x32fcd4,_0x24241b,_0x5412f3,_0x47021c,_0x1475d5)=>{const _0x52baff=a51_0xb98e16,_0x1e7989={'tFxXC':function(_0x2145fe,_0x346227){return _0x2145fe(_0x346227);},'JbklQ':'../launcher/launcher','eCGPz':_0x52baff(0xc2)},_0x413f83={'capability':_0x32fcd4,..._0x24241b},_0x4f29a8={};_0x4f29a8[_0x52baff(0xb5)]=_0x413f83,_0x4f29a8['formatter']=_0x1475d5;const _0x5ef9bc=_0x4f29a8,_0x18d639=_0x1e7989[_0x52baff(0xb1)](require,_0x1e7989['JbklQ']),_0x4583bc=new _0x18d639(_0x1e7989['eCGPz'],_0x5ef9bc,_0x5412f3,_0x47021c);return await _0x4583bc[_0x52baff(0xc8)]();},exports[a51_0xb98e16(0xbb)]=async _0x536c06=>{const _0x2599ab=a51_0xb98e16,_0x5ad113={'xlYtX':function(_0x4423c3,_0x54cdcd){return _0x4423c3(_0x54cdcd);},'kZfwt':_0x2599ab(0xb6),'Pupbp':_0x2599ab(0xc0)},_0x546320=_0x5ad113[_0x2599ab(0xb4)](require,_0x5ad113['kZfwt']),_0x19ae41=new _0x546320(_0x5ad113[_0x2599ab(0xab)],_0x536c06);return await _0x19ae41[_0x2599ab(0xc8)]();};
@@ -1 +1 @@
1
- const a52_0x58f591=a52_0x59b1;(function(_0x5367af,_0x4e9f4b){const _0x18bc02=a52_0x59b1,_0x3d350f=_0x5367af();while(!![]){try{const _0x594cfb=parseInt(_0x18bc02(0x7a))/0x1+-parseInt(_0x18bc02(0x7b))/0x2+parseInt(_0x18bc02(0x77))/0x3*(-parseInt(_0x18bc02(0x7c))/0x4)+-parseInt(_0x18bc02(0x7e))/0x5*(-parseInt(_0x18bc02(0x76))/0x6)+parseInt(_0x18bc02(0x78))/0x7+parseInt(_0x18bc02(0x74))/0x8+-parseInt(_0x18bc02(0x7d))/0x9*(parseInt(_0x18bc02(0x7f))/0xa);if(_0x594cfb===_0x4e9f4b)break;else _0x3d350f['push'](_0x3d350f['shift']());}catch(_0xf56ffa){_0x3d350f['push'](_0x3d350f['shift']());}}}(a52_0x10ea,0xb61b2));function a52_0x10ea(){const _0x271faa=['15564IPhOBp','8598079VGxeyq','./runTest','881031pLPbne','1382166BkTMLJ','460vTdUAO','553257WFiVtr','15HuNTQO','310dYhFXx','wBQmn','cucumberWorker','11652104iVTqAW','pdoXg','746862TkArRt'];a52_0x10ea=function(){return _0x271faa;};return a52_0x10ea();}function a52_0x59b1(_0x40df77,_0x177a65){const _0x10ea80=a52_0x10ea();return a52_0x59b1=function(_0x59b198,_0x46e0a6){_0x59b198=_0x59b198-0x72;let _0x2ca0dd=_0x10ea80[_0x59b198];return _0x2ca0dd;},a52_0x59b1(_0x40df77,_0x177a65);}const {runTest,runCucumberTest,runVanillaTest}=require(a52_0x58f591(0x79));exports['worker']=async(_0x174ddb,_0xdf15fd)=>{const _0x1509d8={'LBRVb':function(_0x366695,_0x552bda,_0x3edddd){return _0x366695(_0x552bda,_0x3edddd);}};return await _0x1509d8['LBRVb'](runTest,_0x174ddb,_0xdf15fd);},exports[a52_0x58f591(0x73)]=async(_0xdbade1,_0x3d4826,_0x3b0881,_0x2d4f7b,_0x40e6b9)=>{const _0x39e2e6=a52_0x58f591,_0x5f2a3b={'pdoXg':function(_0x484781,_0x12c3e8,_0x1eea5b,_0x536c6a,_0x134847,_0xefb132){return _0x484781(_0x12c3e8,_0x1eea5b,_0x536c6a,_0x134847,_0xefb132);}};return await _0x5f2a3b[_0x39e2e6(0x75)](runCucumberTest,_0xdbade1,_0x3d4826,_0x3b0881,_0x2d4f7b,_0x40e6b9);},exports['vanillaWorker']=async _0x56b02b=>{const _0x3bb5ad=a52_0x58f591,_0x39c015={'wBQmn':function(_0x2fc16f,_0x276241){return _0x2fc16f(_0x276241);}};return await _0x39c015[_0x3bb5ad(0x72)](runVanillaTest,_0x56b02b);};
1
+ function a52_0x43ff(){const _0x345bdf=['31127qNrfeH','2765CGgUHu','6067075ntAdTr','168066gJywgV','10DZXwjk','Kpzio','5143160jrSnZD','vanillaWorker','BEYik','6213576yWkKZj','cucumberWorker','7250004UuVRav','./runTest','12cTvYok','2946UkNllq'];a52_0x43ff=function(){return _0x345bdf;};return a52_0x43ff();}const a52_0x2236ef=a52_0x15b7;(function(_0x14a164,_0x433953){const _0x4f864b=a52_0x15b7,_0x202576=_0x14a164();while(!![]){try{const _0x2e712a=parseInt(_0x4f864b(0x12f))/0x1*(-parseInt(_0x4f864b(0x133))/0x2)+parseInt(_0x4f864b(0x132))/0x3*(parseInt(_0x4f864b(0x12d))/0x4)+parseInt(_0x4f864b(0x130))/0x5*(parseInt(_0x4f864b(0x12e))/0x6)+-parseInt(_0x4f864b(0x131))/0x7+parseInt(_0x4f864b(0x138))/0x8+parseInt(_0x4f864b(0x13a))/0x9+-parseInt(_0x4f864b(0x135))/0xa;if(_0x2e712a===_0x433953)break;else _0x202576['push'](_0x202576['shift']());}catch(_0x5c0a28){_0x202576['push'](_0x202576['shift']());}}}(a52_0x43ff,0x7672e));function a52_0x15b7(_0x2ba5ef,_0x4885a8){const _0x43ff2b=a52_0x43ff();return a52_0x15b7=function(_0x15b77c,_0x4cc130){_0x15b77c=_0x15b77c-0x12c;let _0x5f52b4=_0x43ff2b[_0x15b77c];return _0x5f52b4;},a52_0x15b7(_0x2ba5ef,_0x4885a8);}const {runTest,runCucumberTest,runVanillaTest}=require(a52_0x2236ef(0x12c));exports['worker']=async(_0x20202b,_0x4d65f0)=>{const _0x357c59={'FYkrE':function(_0x5ace26,_0x4e851f,_0x260b2d){return _0x5ace26(_0x4e851f,_0x260b2d);}};return await _0x357c59['FYkrE'](runTest,_0x20202b,_0x4d65f0);},exports[a52_0x2236ef(0x139)]=async(_0x660cda,_0x36e4a0,_0x4a9281,_0x5d6ca8,_0x4eaab7)=>{const _0x41a1c2=a52_0x2236ef,_0x520e4a={'BEYik':function(_0x1b89b7,_0x53fced,_0x371b79,_0x37c551,_0x58d913,_0x7eb331){return _0x1b89b7(_0x53fced,_0x371b79,_0x37c551,_0x58d913,_0x7eb331);}};return await _0x520e4a[_0x41a1c2(0x137)](runCucumberTest,_0x660cda,_0x36e4a0,_0x4a9281,_0x5d6ca8,_0x4eaab7);},exports[a52_0x2236ef(0x136)]=async _0x1d4f57=>{const _0x4dc368=a52_0x2236ef,_0xe47374={'Kpzio':function(_0x4eee31,_0xc2b72){return _0x4eee31(_0xc2b72);}};return await _0xe47374[_0x4dc368(0x134)](runVanillaTest,_0x1d4f57);};
@@ -1 +1 @@
1
- function a53_0x2b89(){const _0x851c25=['jnkwU','fsHNk','qUiIg','yxtMm','kITCn','fWtPn','PApMu','QVkdN','GZUif','api','automate','drmnd','296HcexPF','JOuqV','upload','appAutomate','99080tJesDe','JJZdz','EDS_URL','OXpgp','rflLX','qnyWA','Ndnid','CAqAn','replace','vnRvl','OHxLS','VGeUa','YEAIh','wss:','getInstance','BcEqS','getAppAutomateSessionNameAPIUrl','AXEHx','getAutomateSessionNameAPIUrl','iQFxG','kSKPn','PAeyy','cdp','UbpwK','exports','5061YaIbTm','nsbYj','WZfsJ','LEwdc','toString','4951OjETzk','qzYYc','endsWith','OBSERVABILITY_UPLOAD_URL','APP_UPLOAD_URL','SvRYF','99wJUyEl','cBHiU','fYayE','BROWSERSTACK_API_URL','AtIEp','psQlx','apis','observability','getConfig','GevRG','PLAYWRIGHT_HUB_URL','sWgHK','35MaktPE','6773vVReoV','ZHFNw','66sFeFnl','./constants','AlXri','10572ukvKhZ','GKWSx','SZkZA','getAppAutomateSessionsListAPIUrl','snsir','5990kFdVNA','3047MaYPhN','AeMEY','kGUEE','mJcQJ','bECmC','1686JKCPtu','55480XPvXIR','TKwki','sgVmN','EjRFT','YhciW','zDvOh','getAppAutomateSessionStatusAPIUrl','buTzL','acRYA'];a53_0x2b89=function(){return _0x851c25;};return a53_0x2b89();}const a53_0x2af812=a53_0x3c88;function a53_0x3c88(_0x4eba0d,_0x4c0d9a){const _0x2b893f=a53_0x2b89();return a53_0x3c88=function(_0x3c8810,_0x98ef81){_0x3c8810=_0x3c8810-0x66;let _0xb728a9=_0x2b893f[_0x3c8810];return _0xb728a9;},a53_0x3c88(_0x4eba0d,_0x4c0d9a);}(function(_0x4892f5,_0x2fcd36){const _0x477917=a53_0x3c88,_0x1d2020=_0x4892f5();while(!![]){try{const _0x47fe4c=parseInt(_0x477917(0xc0))/0x1*(-parseInt(_0x477917(0x7a))/0x2)+parseInt(_0x477917(0xbb))/0x3*(-parseInt(_0x477917(0x9e))/0x4)+parseInt(_0x477917(0xa2))/0x5+parseInt(_0x477917(0x88))/0x6*(parseInt(_0x477917(0x77))/0x7)+parseInt(_0x477917(0x89))/0x8*(parseInt(_0x477917(0x6b))/0x9)+-parseInt(_0x477917(0x82))/0xa*(parseInt(_0x477917(0x83))/0xb)+parseInt(_0x477917(0x7d))/0xc*(parseInt(_0x477917(0x78))/0xd);if(_0x47fe4c===_0x2fcd36)break;else _0x1d2020['push'](_0x1d2020['shift']());}catch(_0x16c040){_0x1d2020['push'](_0x1d2020['shift']());}}}(a53_0x2b89,0x18fdb));const constants=require(a53_0x2af812(0x7b)),{nestedKeyValue}=require('./sharedUtils'),getBrowserstackCLI=()=>{const _0x16348e=a53_0x2af812,_0x2115a8={'LEwdc':function(_0x4727a1,_0x4bcbfd){return _0x4727a1(_0x4bcbfd);},'Ndnid':'../v2/browserstackCLI'};return _0x2115a8[_0x16348e(0xbe)](require,_0x2115a8[_0x16348e(0xa8)]);};class APIUtilityMethods{static['getBStackAPIUrl'](_0x299d0b){const _0x2141d8=a53_0x2af812,_0x8d56be={'YhciW':function(_0x341105){return _0x341105();},'OXpgp':function(_0x3d1a0e,_0x501a25,_0x5e59eb){return _0x3d1a0e(_0x501a25,_0x5e59eb);},'GKWSx':_0x2141d8(0x71),'uKuag':'automate','vnRvl':_0x2141d8(0x9b),'sWgHK':function(_0x3395b7,_0x21ece4){return _0x3395b7===_0x21ece4;},'LIrBe':function(_0x25245c,_0x1080b5){return _0x25245c+_0x1080b5;}},_0x5aba3d=_0x8d56be[_0x2141d8(0x8d)](getBrowserstackCLI),_0x17a64e=_0x8d56be[_0x2141d8(0xa5)](nestedKeyValue,_0x5aba3d[_0x2141d8(0xb0)]()['getConfig'](),[_0x8d56be[_0x2141d8(0x7e)],_0x8d56be['uKuag'],_0x8d56be[_0x2141d8(0xab)]])||constants['BROWSERSTACK_API_URL'];if(!_0x299d0b||_0x8d56be[_0x2141d8(0x76)](_0x299d0b,''))return _0x17a64e;const _0x29acc4=_0x17a64e[_0x2141d8(0x67)]('/')?_0x17a64e:_0x8d56be['LIrBe'](_0x17a64e,'/');return new URL(_0x299d0b,_0x29acc4)[_0x2141d8(0xbf)]();}static['getEdsInstrumentationAPIUrl'](_0x1ea1c4){const _0x3ea53f=a53_0x2af812,_0xb4042d={'JJZdz':function(_0x3dd485){return _0x3dd485();},'acRYA':function(_0x38aff5,_0x435e6a,_0x3df1b2){return _0x38aff5(_0x435e6a,_0x3df1b2);},'gFgLC':_0x3ea53f(0x71),'zDvOh':'edsInstrumentation','fWtPn':'api','buTzL':function(_0xff1a14,_0x296688){return _0xff1a14===_0x296688;},'TKwki':function(_0x1ec98c,_0xef8a4d){return _0x1ec98c+_0xef8a4d;}},_0x35fcf8=_0xb4042d[_0x3ea53f(0xa3)](getBrowserstackCLI),_0x296da7=_0xb4042d[_0x3ea53f(0x91)](nestedKeyValue,_0x35fcf8[_0x3ea53f(0xb0)]()[_0x3ea53f(0x73)](),[_0xb4042d['gFgLC'],_0xb4042d[_0x3ea53f(0x8e)],_0xb4042d[_0x3ea53f(0x97)]])||constants[_0x3ea53f(0xa4)];if(!_0x1ea1c4||_0xb4042d[_0x3ea53f(0x90)](_0x1ea1c4,''))return _0x296da7;const _0x11ab66=_0x296da7[_0x3ea53f(0x67)]('/')?_0x296da7:_0xb4042d[_0x3ea53f(0x8a)](_0x296da7,'/');return new URL(_0x1ea1c4,_0x11ab66)[_0x3ea53f(0xbf)]();}static['getAutomateSessionStatusAPIUrl'](_0x519ab9){const _0x4e2829=a53_0x2af812,_0x1b7bc5={'kGUEE':function(_0x4a29e4){return _0x4a29e4();},'BcEqS':function(_0x597cec,_0x55a708,_0x1c3c38){return _0x597cec(_0x55a708,_0x1c3c38);},'lAFQG':_0x4e2829(0x71),'DEzBS':_0x4e2829(0x9c),'CUfFg':_0x4e2829(0x9b),'AXEHx':function(_0x1a9c71,_0x2f57d4){return _0x1a9c71===_0x2f57d4;},'CAqAn':function(_0x42e4d9,_0x256ecd){return _0x42e4d9+_0x256ecd;}},_0x10b8ba=_0x1b7bc5[_0x4e2829(0x85)](getBrowserstackCLI),_0x2f62ac=_0x1b7bc5[_0x4e2829(0xb1)](nestedKeyValue,_0x10b8ba[_0x4e2829(0xb0)]()[_0x4e2829(0x73)](),[_0x1b7bc5['lAFQG'],_0x1b7bc5['DEzBS'],_0x1b7bc5['CUfFg']])||constants['BROWSERSTACK_API_URL'];if(!_0x519ab9||_0x1b7bc5[_0x4e2829(0xb3)](_0x519ab9,''))return _0x2f62ac;const _0x480074=_0x2f62ac['endsWith']('/')?_0x2f62ac:_0x1b7bc5[_0x4e2829(0xa9)](_0x2f62ac,'/');return new URL(_0x519ab9,_0x480074)[_0x4e2829(0xbf)]();}static[a53_0x2af812(0x8f)](_0x356a86){const _0x45411f=a53_0x2af812,_0x2a6d6a={'iQFxG':function(_0x4bf77f){return _0x4bf77f();},'qUiIg':function(_0x4fab5f,_0x1a9109,_0x71ed37){return _0x4fab5f(_0x1a9109,_0x71ed37);},'vRGWv':_0x45411f(0x71),'GevRG':_0x45411f(0xa1),'eFLNe':_0x45411f(0x9b),'fYayE':function(_0x9459a4,_0x2c73b8){return _0x9459a4===_0x2c73b8;},'MZpzb':function(_0x332ebd,_0x206cbd){return _0x332ebd+_0x206cbd;}},_0x3bcaab=_0x2a6d6a[_0x45411f(0xb5)](getBrowserstackCLI),_0x4e13cb=_0x2a6d6a[_0x45411f(0x94)](nestedKeyValue,_0x3bcaab[_0x45411f(0xb0)]()[_0x45411f(0x73)](),[_0x2a6d6a['vRGWv'],_0x2a6d6a[_0x45411f(0x74)],_0x2a6d6a['eFLNe']])||constants[_0x45411f(0x6e)];if(!_0x356a86||_0x2a6d6a[_0x45411f(0x6d)](_0x356a86,''))return _0x4e13cb;const _0x3fd8ef=_0x4e13cb[_0x45411f(0x67)]('/')?_0x4e13cb:_0x2a6d6a['MZpzb'](_0x4e13cb,'/');return new URL(_0x356a86,_0x3fd8ef)[_0x45411f(0xbf)]();}static[a53_0x2af812(0xb4)](_0x1b7450){const _0x2a7a9b=a53_0x2af812,_0x49f1c0={'YEAIh':function(_0x1cfa69){return _0x1cfa69();},'iNTrF':function(_0x551d8c,_0x48e333,_0x22abf4){return _0x551d8c(_0x48e333,_0x22abf4);},'AlXri':_0x2a7a9b(0x71),'SvRYF':_0x2a7a9b(0x9c),'UlYer':'api','SZkZA':function(_0x1ff2c0,_0x334675){return _0x1ff2c0===_0x334675;},'RFTPW':function(_0x22d0c2,_0x234f1b){return _0x22d0c2+_0x234f1b;}},_0x1cc8ae=_0x49f1c0[_0x2a7a9b(0xae)](getBrowserstackCLI),_0x1c0582=_0x49f1c0['iNTrF'](nestedKeyValue,_0x1cc8ae[_0x2a7a9b(0xb0)]()[_0x2a7a9b(0x73)](),[_0x49f1c0[_0x2a7a9b(0x7c)],_0x49f1c0[_0x2a7a9b(0x6a)],_0x49f1c0['UlYer']])||constants[_0x2a7a9b(0x6e)];if(!_0x1b7450||_0x49f1c0[_0x2a7a9b(0x7f)](_0x1b7450,''))return _0x1c0582;const _0x25778d=_0x1c0582[_0x2a7a9b(0x67)]('/')?_0x1c0582:_0x49f1c0['RFTPW'](_0x1c0582,'/');return new URL(_0x1b7450,_0x25778d)[_0x2a7a9b(0xbf)]();}static[a53_0x2af812(0xb2)](_0x4f52b0){const _0x5d71be=a53_0x2af812,_0x5c7088={'OHxLS':function(_0x19988c){return _0x19988c();},'jnkwU':function(_0x169f22,_0x51da1f,_0x275f5a){return _0x169f22(_0x51da1f,_0x275f5a);},'PAeyy':_0x5d71be(0x71),'yxtMm':_0x5d71be(0xa1),'AeMEY':_0x5d71be(0x9b),'sgVmN':function(_0x406a48,_0x30461){return _0x406a48===_0x30461;},'VGeUa':function(_0x1e8eed,_0x52e48a){return _0x1e8eed+_0x52e48a;}},_0x522f6f=_0x5c7088[_0x5d71be(0xac)](getBrowserstackCLI),_0x29a088=_0x5c7088[_0x5d71be(0x92)](nestedKeyValue,_0x522f6f['getInstance']()['getConfig'](),[_0x5c7088[_0x5d71be(0xb7)],_0x5c7088[_0x5d71be(0x95)],_0x5c7088[_0x5d71be(0x84)]])||constants[_0x5d71be(0x6e)];if(!_0x4f52b0||_0x5c7088[_0x5d71be(0x8b)](_0x4f52b0,''))return _0x29a088;const _0x28e318=_0x29a088['endsWith']('/')?_0x29a088:_0x5c7088[_0x5d71be(0xad)](_0x29a088,'/');return new URL(_0x4f52b0,_0x28e318)[_0x5d71be(0xbf)]();}static['getAutomateSessionsListAPIUrl'](_0x1f0d96){const _0x5d9a53=a53_0x2af812,_0x24b527={'UbpwK':function(_0x1b8816){return _0x1b8816();},'jwqcB':function(_0x2267b5,_0x37eac8,_0x5805fc){return _0x2267b5(_0x37eac8,_0x5805fc);},'JotAI':_0x5d9a53(0x71),'Jmumb':_0x5d9a53(0x9c),'JOuqV':_0x5d9a53(0x9b),'fsHNk':function(_0x55ae20,_0x4e9b6a){return _0x55ae20===_0x4e9b6a;},'cBHiU':function(_0x40e9cf,_0x26e8ec){return _0x40e9cf+_0x26e8ec;}},_0x22c2cb=_0x24b527[_0x5d9a53(0xb9)](getBrowserstackCLI),_0x2acb82=_0x24b527['jwqcB'](nestedKeyValue,_0x22c2cb[_0x5d9a53(0xb0)]()[_0x5d9a53(0x73)](),[_0x24b527['JotAI'],_0x24b527['Jmumb'],_0x24b527[_0x5d9a53(0x9f)]])||constants['BROWSERSTACK_API_URL'];if(!_0x1f0d96||_0x24b527[_0x5d9a53(0x93)](_0x1f0d96,''))return _0x2acb82;const _0x183faf=_0x2acb82[_0x5d9a53(0x67)]('/')?_0x2acb82:_0x24b527[_0x5d9a53(0x6c)](_0x2acb82,'/');return new URL(_0x1f0d96,_0x183faf)[_0x5d9a53(0xbf)]()[_0x5d9a53(0xaa)](/^https?:\/\//,'');}static[a53_0x2af812(0x80)](_0x3545c2){const _0x48a4bb=a53_0x2af812,_0x4ddac3={'MCHZD':function(_0x2fce7d){return _0x2fce7d();},'EjRFT':function(_0x31668d,_0x1bbc7d,_0x4d56db){return _0x31668d(_0x1bbc7d,_0x4d56db);},'rflLX':'apis','mJcQJ':_0x48a4bb(0xa1),'PApMu':_0x48a4bb(0x9b),'DRPUe':function(_0x32b5c8,_0x322511){return _0x32b5c8===_0x322511;},'AtIEp':function(_0x46dadb,_0x69a1c){return _0x46dadb+_0x69a1c;}},_0x386988=_0x4ddac3['MCHZD'](getBrowserstackCLI),_0x263429=_0x4ddac3[_0x48a4bb(0x8c)](nestedKeyValue,_0x386988[_0x48a4bb(0xb0)]()['getConfig'](),[_0x4ddac3[_0x48a4bb(0xa6)],_0x4ddac3[_0x48a4bb(0x86)],_0x4ddac3[_0x48a4bb(0x98)]])||constants[_0x48a4bb(0x69)];if(!_0x3545c2||_0x4ddac3['DRPUe'](_0x3545c2,''))return _0x263429;const _0x16c133=_0x263429[_0x48a4bb(0x67)]('/')?_0x263429:_0x4ddac3[_0x48a4bb(0x6f)](_0x263429,'/');return new URL(_0x3545c2,_0x16c133)[_0x48a4bb(0xbf)]()['replace'](/^https?:\/\//,'');}static['getAutoCaptureLogsAPIUrl'](_0x4397de){const _0x481f53=a53_0x2af812,_0x4a9aad={'QVkdN':function(_0x4d0535){return _0x4d0535();},'bECmC':function(_0x3b4624,_0x571fe9,_0x278523){return _0x3b4624(_0x571fe9,_0x278523);},'GZUif':_0x481f53(0x71),'nsbYj':_0x481f53(0x72),'WZfsJ':_0x481f53(0xa0),'ZHFNw':function(_0x55e304,_0x48ac23){return _0x55e304===_0x48ac23;},'kSKPn':function(_0x4514e0,_0x211c3f){return _0x4514e0+_0x211c3f;}},_0x54e295=_0x4a9aad[_0x481f53(0x99)](getBrowserstackCLI),_0xd398da=_0x4a9aad[_0x481f53(0x87)](nestedKeyValue,_0x54e295['getInstance']()[_0x481f53(0x73)](),[_0x4a9aad[_0x481f53(0x9a)],_0x4a9aad[_0x481f53(0xbc)],_0x4a9aad[_0x481f53(0xbd)]])||constants[_0x481f53(0x68)];if(!_0x4397de||_0x4a9aad[_0x481f53(0x79)](_0x4397de,''))return _0xd398da;const _0x236950=_0xd398da['endsWith']('/')?_0xd398da:_0x4a9aad[_0x481f53(0xb6)](_0xd398da,'/');return new URL(_0x4397de,_0x236950)[_0x481f53(0xbf)]();}static['getPlaywrightHubUrl'](_0xa02b69){const _0x1edecc=a53_0x2af812,_0x250bf5={'BURro':function(_0x4057a1){return _0x4057a1();},'drmnd':function(_0x56341d,_0x170c2d,_0x5ec198){return _0x56341d(_0x170c2d,_0x5ec198);},'xVqVU':_0x1edecc(0x71),'qzYYc':_0x1edecc(0x9c),'psQlx':_0x1edecc(0xb8),'kITCn':_0x1edecc(0xaf),'vHHHl':function(_0x3afaef,_0x3d0445){return _0x3afaef===_0x3d0445;},'qnyWA':function(_0x296677,_0x2c48fa){return _0x296677+_0x2c48fa;},'snsir':'/playwright?caps='},_0x231876=_0x250bf5['BURro'](getBrowserstackCLI),_0x18d09d=_0x250bf5[_0x1edecc(0x9d)](nestedKeyValue,_0x231876[_0x1edecc(0xb0)]()[_0x1edecc(0x73)](),[_0x250bf5['xVqVU'],_0x250bf5[_0x1edecc(0x66)],_0x250bf5[_0x1edecc(0x70)]]),_0x2d3052=(_0x18d09d?_0x18d09d[_0x1edecc(0xaa)](/^https:/,_0x250bf5[_0x1edecc(0x96)]):null)||constants[_0x1edecc(0x75)];let _0x52dfc3;if(!_0xa02b69||_0x250bf5['vHHHl'](_0xa02b69,''))_0x52dfc3=_0x2d3052;else{const _0x541bd5=_0x2d3052[_0x1edecc(0x67)]('/')?_0x2d3052:_0x250bf5[_0x1edecc(0xa7)](_0x2d3052,'/');_0x52dfc3=new URL(_0xa02b69,_0x541bd5)[_0x1edecc(0xbf)]();}return!_0x52dfc3[_0x1edecc(0x67)](_0x250bf5['snsir'])&&(_0x52dfc3+=_0x250bf5[_0x1edecc(0x81)]),_0x52dfc3;}}module[a53_0x2af812(0xba)]=APIUtilityMethods;
1
+ function a53_0x1e23(_0x5bc20d,_0x16e00e){const _0x156c8a=a53_0x156c();return a53_0x1e23=function(_0x1e2328,_0x3c42d5){_0x1e2328=_0x1e2328-0x19d;let _0x59536a=_0x156c8a[_0x1e2328];return _0x59536a;},a53_0x1e23(_0x5bc20d,_0x16e00e);}function a53_0x156c(){const _0xb1514=['api','KVckd','VIqdv','PViDt','fTWKr','jjdxw','ZHzod','VjKml','2078220XPKAaO','lcrnV','getAutomateSessionsListAPIUrl','edZsk','78230sqcEhC','wXRxi','getPlaywrightHubUrl','BFTsf','./constants','./sharedUtils','girVM','106348WHwZrl','apis','ObNiV','getAppAutomateSessionStatusAPIUrl','NAXla','getInstance','tSSgG','OcNZX','oSROr','33vjKxux','2gJlCvG','ywHzV','getAppAutomateSessionsListAPIUrl','getAutomateSessionNameAPIUrl','getAutomateSessionStatusAPIUrl','Lbaqd','gGWeH','appAutomate','QiqEv','1986887wdQyjg','BROWSERSTACK_API_URL','268zKWPxt','bgXHe','UnAxS','exports','888285PfEJFR','DloGC','OBSERVABILITY_UPLOAD_URL','OJQdC','automate','upload','jnfOP','Pyqfe','xhwKO','hLDZf','GLlyt','SJetI','mpVXH','getConfig','replace','Hlfmr','FTJwt','ZFpMj','zMTZp','180fJawLh','getBStackAPIUrl','MIRjY','isbtT','EtOon','wrjKI','ejffr','vsrWr','ppEGj','UOKHZ','6CFvQKd','EDS_URL','xuQbS','1267184Ifvdhz','tbYea','Iidza','endsWith','umKit','TLfdM','toString','13449ZhVvTa','TstLD'];a53_0x156c=function(){return _0xb1514;};return a53_0x156c();}const a53_0x7dd8ce=a53_0x1e23;(function(_0x570619,_0x1af394){const _0x86c13d=a53_0x1e23,_0x3d18d6=_0x570619();while(!![]){try{const _0x5ffbf3=-parseInt(_0x86c13d(0x1f1))/0x1*(-parseInt(_0x86c13d(0x1e7))/0x2)+-parseInt(_0x86c13d(0x1d2))/0x3*(parseInt(_0x86c13d(0x1a7))/0x4)+-parseInt(_0x86c13d(0x1ab))/0x5+parseInt(_0x86c13d(0x1c8))/0x6*(-parseInt(_0x86c13d(0x1a5))/0x7)+parseInt(_0x86c13d(0x1cb))/0x8+parseInt(_0x86c13d(0x1be))/0x9*(parseInt(_0x86c13d(0x1e0))/0xa)+parseInt(_0x86c13d(0x1f0))/0xb*(parseInt(_0x86c13d(0x1dc))/0xc);if(_0x5ffbf3===_0x1af394)break;else _0x3d18d6['push'](_0x3d18d6['shift']());}catch(_0x597dc2){_0x3d18d6['push'](_0x3d18d6['shift']());}}}(a53_0x156c,0x2bad6));const constants=require(a53_0x7dd8ce(0x1e4)),{nestedKeyValue}=require(a53_0x7dd8ce(0x1e5)),getBrowserstackCLI=()=>{const _0xd096af=a53_0x7dd8ce,_0x32e2d8={'fTWKr':function(_0x4a00a6,_0x24e9a4){return _0x4a00a6(_0x24e9a4);},'uEiyP':'../v2/browserstackCLI'};return _0x32e2d8[_0xd096af(0x1d8)](require,_0x32e2d8['uEiyP']);};class APIUtilityMethods{static[a53_0x7dd8ce(0x1bf)](_0x593a8d){const _0x45d987=a53_0x7dd8ce,_0x26af38={'BcPuR':function(_0x3e8ede){return _0x3e8ede();},'rkwAd':function(_0x3ef69d,_0x39d8ca,_0x1ba13e){return _0x3ef69d(_0x39d8ca,_0x1ba13e);},'NAXla':_0x45d987(0x1e8),'MIRjY':_0x45d987(0x1af),'lcrnV':_0x45d987(0x1d4),'umKit':function(_0xc062f4,_0x37b6b1){return _0xc062f4===_0x37b6b1;},'ywHzV':function(_0xe0f7c,_0x246d0e){return _0xe0f7c+_0x246d0e;}},_0x550f51=_0x26af38['BcPuR'](getBrowserstackCLI),_0x225e01=_0x26af38['rkwAd'](nestedKeyValue,_0x550f51['getInstance']()[_0x45d987(0x1b8)](),[_0x26af38[_0x45d987(0x1eb)],_0x26af38[_0x45d987(0x1c0)],_0x26af38[_0x45d987(0x1dd)]])||constants[_0x45d987(0x1a6)];if(!_0x593a8d||_0x26af38[_0x45d987(0x1cf)](_0x593a8d,''))return _0x225e01;const _0x1eeadd=_0x225e01['endsWith']('/')?_0x225e01:_0x26af38[_0x45d987(0x19d)](_0x225e01,'/');return new URL(_0x593a8d,_0x1eeadd)[_0x45d987(0x1d1)]();}static['getEdsInstrumentationAPIUrl'](_0x255d2d){const _0x10597d=a53_0x7dd8ce,_0x3f292a={'WAVne':function(_0x2b60e7){return _0x2b60e7();},'JldPW':function(_0xca908,_0x39ecdf,_0x1cc1af){return _0xca908(_0x39ecdf,_0x1cc1af);},'ejffr':_0x10597d(0x1e8),'FTJwt':'edsInstrumentation','dvoLD':_0x10597d(0x1d4),'Pyqfe':function(_0x5958bb,_0x2ed554){return _0x5958bb===_0x2ed554;},'UOKHZ':function(_0x1b6329,_0x55ad00){return _0x1b6329+_0x55ad00;}},_0x25fc4f=_0x3f292a['WAVne'](getBrowserstackCLI),_0x364f0e=_0x3f292a['JldPW'](nestedKeyValue,_0x25fc4f['getInstance']()[_0x10597d(0x1b8)](),[_0x3f292a[_0x10597d(0x1c4)],_0x3f292a[_0x10597d(0x1bb)],_0x3f292a['dvoLD']])||constants[_0x10597d(0x1c9)];if(!_0x255d2d||_0x3f292a[_0x10597d(0x1b2)](_0x255d2d,''))return _0x364f0e;const _0x591dc5=_0x364f0e[_0x10597d(0x1ce)]('/')?_0x364f0e:_0x3f292a[_0x10597d(0x1c7)](_0x364f0e,'/');return new URL(_0x255d2d,_0x591dc5)[_0x10597d(0x1d1)]();}static[a53_0x7dd8ce(0x1a0)](_0x439d03){const _0x4738f3=a53_0x7dd8ce,_0x22c7b3={'QiqEv':function(_0x568958){return _0x568958();},'ppEGj':function(_0x1e0426,_0x559a8e,_0x46591b){return _0x1e0426(_0x559a8e,_0x46591b);},'MqGTu':_0x4738f3(0x1e8),'ZHzod':_0x4738f3(0x1af),'vFUzg':_0x4738f3(0x1d4),'tSSgG':function(_0x29aea5,_0xa06b7d){return _0x29aea5===_0xa06b7d;},'dmoQF':function(_0x467db8,_0x349fdc){return _0x467db8+_0x349fdc;}},_0x4ea55f=_0x22c7b3[_0x4738f3(0x1a4)](getBrowserstackCLI),_0x51bbc3=_0x22c7b3[_0x4738f3(0x1c6)](nestedKeyValue,_0x4ea55f[_0x4738f3(0x1ec)]()[_0x4738f3(0x1b8)](),[_0x22c7b3['MqGTu'],_0x22c7b3[_0x4738f3(0x1da)],_0x22c7b3['vFUzg']])||constants[_0x4738f3(0x1a6)];if(!_0x439d03||_0x22c7b3[_0x4738f3(0x1ed)](_0x439d03,''))return _0x51bbc3;const _0xdd4fc1=_0x51bbc3[_0x4738f3(0x1ce)]('/')?_0x51bbc3:_0x22c7b3['dmoQF'](_0x51bbc3,'/');return new URL(_0x439d03,_0xdd4fc1)['toString']();}static[a53_0x7dd8ce(0x1ea)](_0x24ccda){const _0xe027b1=a53_0x7dd8ce,_0x6d8ba1={'SJetI':function(_0x3cc994){return _0x3cc994();},'bFjER':function(_0x381212,_0xe6a3ed,_0x457014){return _0x381212(_0xe6a3ed,_0x457014);},'jnfOP':_0xe027b1(0x1e8),'zMTZp':_0xe027b1(0x1a3),'BFTsf':'api','EtOon':function(_0x5e57bf,_0x1ea3a9){return _0x5e57bf===_0x1ea3a9;},'jjdxw':function(_0x358d8c,_0x413ec3){return _0x358d8c+_0x413ec3;}},_0x54c9b5=_0x6d8ba1[_0xe027b1(0x1b6)](getBrowserstackCLI),_0x676954=_0x6d8ba1['bFjER'](nestedKeyValue,_0x54c9b5[_0xe027b1(0x1ec)]()[_0xe027b1(0x1b8)](),[_0x6d8ba1[_0xe027b1(0x1b1)],_0x6d8ba1[_0xe027b1(0x1bd)],_0x6d8ba1[_0xe027b1(0x1e3)]])||constants['BROWSERSTACK_API_URL'];if(!_0x24ccda||_0x6d8ba1[_0xe027b1(0x1c2)](_0x24ccda,''))return _0x676954;const _0x35f2ab=_0x676954['endsWith']('/')?_0x676954:_0x6d8ba1[_0xe027b1(0x1d9)](_0x676954,'/');return new URL(_0x24ccda,_0x35f2ab)[_0xe027b1(0x1d1)]();}static[a53_0x7dd8ce(0x19f)](_0x167d98){const _0x5b93f1=a53_0x7dd8ce,_0x149116={'hHEFm':function(_0x196568){return _0x196568();},'TstLD':function(_0x2290f5,_0x44c988,_0x7168bb){return _0x2290f5(_0x44c988,_0x7168bb);},'LEJru':_0x5b93f1(0x1e8),'KVckd':'automate','PViDt':_0x5b93f1(0x1d4),'hLDZf':function(_0x1e6079,_0x5166a1){return _0x1e6079===_0x5166a1;},'mpVXH':function(_0x2b6f8a,_0x51bbee){return _0x2b6f8a+_0x51bbee;}},_0x2158af=_0x149116['hHEFm'](getBrowserstackCLI),_0xc107c3=_0x149116[_0x5b93f1(0x1d3)](nestedKeyValue,_0x2158af['getInstance']()[_0x5b93f1(0x1b8)](),[_0x149116['LEJru'],_0x149116[_0x5b93f1(0x1d5)],_0x149116[_0x5b93f1(0x1d7)]])||constants[_0x5b93f1(0x1a6)];if(!_0x167d98||_0x149116[_0x5b93f1(0x1b4)](_0x167d98,''))return _0xc107c3;const _0x13c18b=_0xc107c3[_0x5b93f1(0x1ce)]('/')?_0xc107c3:_0x149116[_0x5b93f1(0x1b7)](_0xc107c3,'/');return new URL(_0x167d98,_0x13c18b)[_0x5b93f1(0x1d1)]();}static['getAppAutomateSessionNameAPIUrl'](_0x45d4b2){const _0x468732=a53_0x7dd8ce,_0x38de22={'YaMzC':function(_0x5c8448){return _0x5c8448();},'gatKA':function(_0x1ce2e0,_0x590e70,_0x2c33e7){return _0x1ce2e0(_0x590e70,_0x2c33e7);},'isbtT':_0x468732(0x1e8),'Iidza':'appAutomate','wrjKI':_0x468732(0x1d4),'DloGC':function(_0x24252f,_0x12f385){return _0x24252f===_0x12f385;},'UnAxS':function(_0x2a5c39,_0x5494d0){return _0x2a5c39+_0x5494d0;}},_0x3770a8=_0x38de22['YaMzC'](getBrowserstackCLI),_0x1d70ff=_0x38de22['gatKA'](nestedKeyValue,_0x3770a8[_0x468732(0x1ec)]()[_0x468732(0x1b8)](),[_0x38de22[_0x468732(0x1c1)],_0x38de22[_0x468732(0x1cd)],_0x38de22[_0x468732(0x1c3)]])||constants[_0x468732(0x1a6)];if(!_0x45d4b2||_0x38de22[_0x468732(0x1ac)](_0x45d4b2,''))return _0x1d70ff;const _0x58ca9e=_0x1d70ff[_0x468732(0x1ce)]('/')?_0x1d70ff:_0x38de22[_0x468732(0x1a9)](_0x1d70ff,'/');return new URL(_0x45d4b2,_0x58ca9e)[_0x468732(0x1d1)]();}static[a53_0x7dd8ce(0x1de)](_0x6d2a94){const _0x32878e=a53_0x7dd8ce,_0x424e2b={'wXRxi':function(_0x2fcac4){return _0x2fcac4();},'OJQdC':function(_0x5535f1,_0x2a1963,_0x10a289){return _0x5535f1(_0x2a1963,_0x10a289);},'Lbaqd':_0x32878e(0x1e8),'KfBqA':_0x32878e(0x1af),'GLlyt':_0x32878e(0x1d4),'ZFpMj':function(_0x332a82,_0x5dc5cb){return _0x332a82===_0x5dc5cb;},'xhwKO':function(_0x5d2759,_0x10b452){return _0x5d2759+_0x10b452;}},_0x5eac6c=_0x424e2b[_0x32878e(0x1e1)](getBrowserstackCLI),_0x4de6a9=_0x424e2b[_0x32878e(0x1ae)](nestedKeyValue,_0x5eac6c[_0x32878e(0x1ec)]()[_0x32878e(0x1b8)](),[_0x424e2b[_0x32878e(0x1a1)],_0x424e2b['KfBqA'],_0x424e2b[_0x32878e(0x1b5)]])||constants[_0x32878e(0x1a6)];if(!_0x6d2a94||_0x424e2b[_0x32878e(0x1bc)](_0x6d2a94,''))return _0x4de6a9;const _0x2acf3d=_0x4de6a9[_0x32878e(0x1ce)]('/')?_0x4de6a9:_0x424e2b[_0x32878e(0x1b3)](_0x4de6a9,'/');return new URL(_0x6d2a94,_0x2acf3d)[_0x32878e(0x1d1)]()[_0x32878e(0x1b9)](/^https?:\/\//,'');}static[a53_0x7dd8ce(0x19e)](_0x4c8b2a){const _0x2dfd2f=a53_0x7dd8ce,_0x2ed787={'VIqdv':function(_0x164c0d){return _0x164c0d();},'TLfdM':function(_0x578c6c,_0x3e128f,_0x1dd2d8){return _0x578c6c(_0x3e128f,_0x1dd2d8);},'edZsk':'apis','OcNZX':'appAutomate','ObNiV':'api','FpbcS':function(_0x39c958,_0x29a215){return _0x39c958===_0x29a215;},'hWMPK':function(_0x466c18,_0x13d9fd){return _0x466c18+_0x13d9fd;}},_0x526c1e=_0x2ed787[_0x2dfd2f(0x1d6)](getBrowserstackCLI),_0x5d0423=_0x2ed787[_0x2dfd2f(0x1d0)](nestedKeyValue,_0x526c1e[_0x2dfd2f(0x1ec)]()[_0x2dfd2f(0x1b8)](),[_0x2ed787[_0x2dfd2f(0x1df)],_0x2ed787[_0x2dfd2f(0x1ee)],_0x2ed787[_0x2dfd2f(0x1e9)]])||constants['APP_UPLOAD_URL'];if(!_0x4c8b2a||_0x2ed787['FpbcS'](_0x4c8b2a,''))return _0x5d0423;const _0x2cc2dc=_0x5d0423[_0x2dfd2f(0x1ce)]('/')?_0x5d0423:_0x2ed787['hWMPK'](_0x5d0423,'/');return new URL(_0x4c8b2a,_0x2cc2dc)[_0x2dfd2f(0x1d1)]()[_0x2dfd2f(0x1b9)](/^https?:\/\//,'');}static['getAutoCaptureLogsAPIUrl'](_0x1fb0af){const _0x5646cd=a53_0x7dd8ce,_0x57dbb9={'tbYea':function(_0x24e254){return _0x24e254();},'Hlfmr':function(_0x5e8287,_0x2ac1ff,_0x4895c4){return _0x5e8287(_0x2ac1ff,_0x4895c4);},'dUQMP':_0x5646cd(0x1e8),'HYHoZ':'observability','VjKml':_0x5646cd(0x1b0),'gGWeH':function(_0x2f8b06,_0x4f8852){return _0x2f8b06===_0x4f8852;},'girVM':function(_0x61c307,_0x850601){return _0x61c307+_0x850601;}},_0x284769=_0x57dbb9[_0x5646cd(0x1cc)](getBrowserstackCLI),_0x10a281=_0x57dbb9[_0x5646cd(0x1ba)](nestedKeyValue,_0x284769['getInstance']()[_0x5646cd(0x1b8)](),[_0x57dbb9['dUQMP'],_0x57dbb9['HYHoZ'],_0x57dbb9[_0x5646cd(0x1db)]])||constants[_0x5646cd(0x1ad)];if(!_0x1fb0af||_0x57dbb9[_0x5646cd(0x1a2)](_0x1fb0af,''))return _0x10a281;const _0x466646=_0x10a281['endsWith']('/')?_0x10a281:_0x57dbb9[_0x5646cd(0x1e6)](_0x10a281,'/');return new URL(_0x1fb0af,_0x466646)[_0x5646cd(0x1d1)]();}static[a53_0x7dd8ce(0x1e2)](_0x37a800){const _0x47e81b=a53_0x7dd8ce,_0x25d7a8={'slOhv':function(_0x24b0e0){return _0x24b0e0();},'bgXHe':function(_0x5243ed,_0xf08854,_0x37e2a2){return _0x5243ed(_0xf08854,_0x37e2a2);},'TiAMK':_0x47e81b(0x1e8),'xuQbS':_0x47e81b(0x1af),'HviGs':'cdp','mloqU':'wss:','vsrWr':function(_0x4b2c69,_0x5112f4){return _0x4b2c69===_0x5112f4;},'ijQAi':function(_0x13134a,_0xa127b8){return _0x13134a+_0xa127b8;},'oSROr':'/playwright?caps='},_0xac9ae4=_0x25d7a8['slOhv'](getBrowserstackCLI),_0x29a89a=_0x25d7a8[_0x47e81b(0x1a8)](nestedKeyValue,_0xac9ae4[_0x47e81b(0x1ec)]()[_0x47e81b(0x1b8)](),[_0x25d7a8['TiAMK'],_0x25d7a8[_0x47e81b(0x1ca)],_0x25d7a8['HviGs']]),_0x4431dc=(_0x29a89a?_0x29a89a[_0x47e81b(0x1b9)](/^https:/,_0x25d7a8['mloqU']):null)||constants['PLAYWRIGHT_HUB_URL'];let _0x3ddce3;if(!_0x37a800||_0x25d7a8[_0x47e81b(0x1c5)](_0x37a800,''))_0x3ddce3=_0x4431dc;else{const _0x2033f7=_0x4431dc[_0x47e81b(0x1ce)]('/')?_0x4431dc:_0x25d7a8['ijQAi'](_0x4431dc,'/');_0x3ddce3=new URL(_0x37a800,_0x2033f7)[_0x47e81b(0x1d1)]();}return!_0x3ddce3[_0x47e81b(0x1ce)](_0x25d7a8[_0x47e81b(0x1ef)])&&(_0x3ddce3+=_0x25d7a8[_0x47e81b(0x1ef)]),_0x3ddce3;}}module[a53_0x7dd8ce(0x1aa)]=APIUtilityMethods;
@@ -1 +1 @@
1
- function a54_0x4fbb(_0xc01bf5,_0x2e79c9){const _0x8772d9=a54_0x8772();return a54_0x4fbb=function(_0x4fbbd9,_0x27ce7e){_0x4fbbd9=_0x4fbbd9-0x1d3;let _0x54b99a=_0x8772d9[_0x4fbbd9];return _0x54b99a;},a54_0x4fbb(_0xc01bf5,_0x2e79c9);}function a54_0x8772(){const _0x38d3b5=['16677nzpOKc','Process\x20Interruption\x20details\x20not\x20found:','./constants','size','UMwfd','Vwply','883572BHniNQ','replace','Quoua','.browserstack\x20folder\x20not\x20accessible','errorCode','oYvbW','../v2/grpcClient','1lWesOb','VFhCv','uZdjg','getAggregatedErrorCodes','object','getErrorDetails','GbQCT','reportFinalDetectionState','sTSSx','1012364StnkHj','1882195ehhzrr','jNkme','VZars','errorCodesOccurredWhenCLINotRunning','join','jtmrz','getErrorCodesOccurredInCli','VylDk','ssl\x20cert\x20issue','1088630wEHShr','nsetR','Error\x20in\x20getting\x20error\x20details\x20for\x20','{ERROR_CODES}','logError','documentationLink','finalErrorMessage','cHQMB','OevTE','IFMII','yNYNV','getAggregatedClientTroubleshootingErrors','reportSSLCertIssue','errorMessage','SSL\x20Certificate\x20Issue\x20details\x20not\x20found','xgLAM','cachedErrorCodes','../v2/browserstackCLI','jlQfi','[ClientTroubleShootingService]\x20','Error\x20in\x20getting\x20aggregated\x20error\x20codes:','tYPen','Session\x20Linking\x20Issue\x20details\x20not\x20found','errorCodesOccurredInCLI','2396610bmzZnP','dLVei','getErrorCodes','QeJwq','error','reportDotBrowserStackFolderNotAccessibleIssue','from','4992GspNJl','{SIGNAL}','conflicting\x20env\x20var\x20detected','stringify','length','Qiuvj','{ENV_VAR}','2182005aaBrkt','reportSessionLinkingIssue','CLIENT_TROUBLESHOOTING_HASH','isRunning','winstonLogger','reportConnectivityIssue','reportClientTroubleshootingError','getSuccess','getErrorMessage','../../helpers/logger','getDocumentationLink','checkForErrorsOccuredInCLI','getInstance','base64','warn','keys','getFinalErrorMessage','errorCodes','logSituation','RqMNO','toString','ZSjda','{CLIENT_TROUBLESHOOTING_DOCUMENTATION}','getErrorCode','fquyz','bZNvQ','xKsJX','parse','tmBDK','push','aKOCi','EfeEU','AzOzC'];a54_0x8772=function(){return _0x38d3b5;};return a54_0x8772();}const a54_0x9ef1f=a54_0x4fbb;(function(_0x6793f0,_0x4feca3){const _0x432994=a54_0x4fbb,_0x393594=_0x6793f0();while(!![]){try{const _0x590be3=parseInt(_0x432994(0x21c))/0x1*(-parseInt(_0x432994(0x22f))/0x2)+parseInt(_0x432994(0x215))/0x3+-parseInt(_0x432994(0x225))/0x4+parseInt(_0x432994(0x226))/0x5+-parseInt(_0x432994(0x1e0))/0x6+-parseInt(_0x432994(0x1ee))/0x7+-parseInt(_0x432994(0x1e7))/0x8*(-parseInt(_0x432994(0x20f))/0x9);if(_0x590be3===_0x4feca3)break;else _0x393594['push'](_0x393594['shift']());}catch(_0xff735e){_0x393594['push'](_0x393594['shift']());}}}(a54_0x8772,0x4dcd7));const logger=require(a54_0x9ef1f(0x1f7))[a54_0x9ef1f(0x1f2)],BrowserstackCLI=require(a54_0x9ef1f(0x1d9)),GrpcClient=require(a54_0x9ef1f(0x21b)),constants=require(a54_0x9ef1f(0x211));class ClientTroubleShootingService{static [a54_0x9ef1f(0x1d8)]=null;static ['errorCodesOccurredWhenCLINotRunning']=new Set();static async[a54_0x9ef1f(0x221)](_0x358f6d){const _0x42df6d=a54_0x9ef1f,_0x5a07b5={};_0x5a07b5[_0x42df6d(0x21e)]=function(_0x5472bf,_0x3f0941){return _0x5472bf!==_0x3f0941;};const _0x2d0b37=_0x5a07b5;try{if(BrowserstackCLI[_0x42df6d(0x1fa)]()[_0x42df6d(0x1f1)]()){const _0x1d9569=await GrpcClient[_0x42df6d(0x1fa)]()[_0x42df6d(0x1f4)](_0x358f6d);if(_0x2d0b37[_0x42df6d(0x21e)](_0x1d9569,null)&&_0x1d9569[_0x42df6d(0x1f5)]())return{'errorCode':_0x1d9569[_0x42df6d(0x205)](),'errorMessage':_0x1d9569[_0x42df6d(0x1f6)]()};return{};}return{};}catch(_0x85d9ab){return this['logError'](_0x42df6d(0x231)+_0x358f6d+':',_0x85d9ab),{};}}static async[a54_0x9ef1f(0x21f)](){const _0x33b4ce=a54_0x9ef1f,_0x5b650e={};_0x5b650e['Vwply']=function(_0x598daa,_0x48332d){return _0x598daa!==_0x48332d;},_0x5b650e[_0x33b4ce(0x237)]=_0x33b4ce(0x1fb),_0x5b650e[_0x33b4ce(0x222)]=_0x33b4ce(0x1dc);const _0x4a19db=_0x5b650e;try{if(BrowserstackCLI[_0x33b4ce(0x1fa)]()[_0x33b4ce(0x1f1)]()){const _0x247a9c=await GrpcClient[_0x33b4ce(0x1fa)]()[_0x33b4ce(0x1d3)]();if(_0x4a19db[_0x33b4ce(0x214)](_0x247a9c,null)&&_0x247a9c[_0x33b4ce(0x1f5)]()){const _0x4c4036=Buffer['from'](_0x247a9c[_0x33b4ce(0x1e2)](),_0x4a19db[_0x33b4ce(0x237)])[_0x33b4ce(0x202)](),_0x591534=_0x4c4036?JSON['parse'](_0x4c4036):[],_0x376193=_0x247a9c[_0x33b4ce(0x1f8)](),_0x583009=_0x247a9c[_0x33b4ce(0x1fe)](),_0x47c4a8=Buffer['from'](_0x247a9c[_0x33b4ce(0x22c)](),_0x4a19db[_0x33b4ce(0x237)])[_0x33b4ce(0x202)](),_0xd296d2=_0x47c4a8?JSON[_0x33b4ce(0x209)](_0x47c4a8):[],_0x1d6cc1={};return _0x1d6cc1[_0x33b4ce(0x1ff)]=_0x591534,_0x1d6cc1[_0x33b4ce(0x234)]=_0x376193,_0x1d6cc1[_0x33b4ce(0x235)]=_0x583009,_0x1d6cc1[_0x33b4ce(0x1df)]=_0xd296d2,_0x1d6cc1;}const _0x49760b={};return _0x49760b[_0x33b4ce(0x1ff)]=[],_0x49760b[_0x33b4ce(0x234)]='',_0x49760b['finalErrorMessage']='',_0x49760b[_0x33b4ce(0x1df)]=[],_0x49760b;}const _0x232b9f={};return _0x232b9f[_0x33b4ce(0x1ff)]=[],_0x232b9f[_0x33b4ce(0x234)]='',_0x232b9f[_0x33b4ce(0x235)]='',_0x232b9f['errorCodesOccurredInCLI']=[],_0x232b9f;}catch(_0x26f3ae){this[_0x33b4ce(0x233)](_0x4a19db[_0x33b4ce(0x222)],_0x26f3ae);const _0x9b9095={};return _0x9b9095[_0x33b4ce(0x1ff)]=[],_0x9b9095[_0x33b4ce(0x234)]='',_0x9b9095[_0x33b4ce(0x235)]='',_0x9b9095['errorCodesOccurredInCLI']=[],_0x9b9095;}}static[a54_0x9ef1f(0x200)](_0x59af11,_0x334e8e){logger['warn'](_0x59af11+':\x20'+_0x334e8e);}static['checkForErrorsOccuredInCLI'](_0x1e4a13){const _0x103db8=a54_0x9ef1f,_0x90d10b={};_0x90d10b['nsetR']=function(_0x46364a,_0x53c8d3){return _0x46364a!=_0x53c8d3;},_0x90d10b[_0x103db8(0x20d)]=function(_0x51c0b0,_0x72ec3a){return _0x51c0b0!=_0x72ec3a;},_0x90d10b[_0x103db8(0x1d7)]=function(_0x1e2df2,_0x570f5e){return _0x1e2df2>_0x570f5e;},_0x90d10b['aKOCi']=function(_0x56a6f5,_0x12c2a9){return _0x56a6f5!=_0x12c2a9;};const _0x210ad7=_0x90d10b,_0x40d858=[];if(_0x210ad7[_0x103db8(0x230)](_0x1e4a13,null)&&_0x210ad7[_0x103db8(0x20d)](_0x1e4a13[_0x103db8(0x1df)],null)&&_0x210ad7[_0x103db8(0x1d7)](_0x1e4a13[_0x103db8(0x1df)][_0x103db8(0x1eb)],0x0))for(const _0x4f7199 of _0x1e4a13[_0x103db8(0x1df)]){_0x210ad7[_0x103db8(0x20c)](_0x4f7199[_0x103db8(0x219)],null)&&_0x210ad7['nsetR'](_0x4f7199[_0x103db8(0x1d5)],null)&&(_0x40d858[_0x103db8(0x20b)](_0x4f7199[_0x103db8(0x219)]),this[_0x103db8(0x200)](_0x4f7199['errorCode'],_0x4f7199[_0x103db8(0x1d5)]));}return _0x40d858;}static['getCachedErrorCodes'](){const _0x4bc455=a54_0x9ef1f;return this[_0x4bc455(0x1d8)];}static['logError'](_0xd835c2,_0x1a9202){const _0x48e7ec=a54_0x9ef1f,_0x1776b2={};_0x1776b2[_0x48e7ec(0x22b)]=function(_0x1ba249,_0x30867b){return _0x1ba249===_0x30867b;},_0x1776b2[_0x48e7ec(0x21a)]=_0x48e7ec(0x220);const _0x588e15=_0x1776b2;if(_0x588e15[_0x48e7ec(0x22b)](typeof _0x1a9202,_0x588e15[_0x48e7ec(0x21a)]))try{logger['error'](_0x48e7ec(0x1db)+_0xd835c2+'\x20'+JSON[_0x48e7ec(0x1ea)](_0x1a9202));}catch(_0x2fc4d2){logger[_0x48e7ec(0x1e4)](_0x48e7ec(0x1db)+_0xd835c2+'\x20'+_0x1a9202);}else logger['error'](_0x48e7ec(0x1db)+_0xd835c2+'\x20'+_0x1a9202);}static async['reportProcessInterruptionSituation'](_0x303667){const _0x1f32ce=a54_0x9ef1f,_0x4e6136={};_0x4e6136[_0x1f32ce(0x239)]='Process\x20Interruption',_0x4e6136['tYPen']=function(_0x198a02,_0x4fb5fb){return _0x198a02===_0x4fb5fb;},_0x4e6136[_0x1f32ce(0x1e3)]=_0x1f32ce(0x210),_0x4e6136['ZSjda']=_0x1f32ce(0x1e8);const _0x32af99=_0x4e6136,_0x3d3884=await this['getErrorDetails'](_0x32af99[_0x1f32ce(0x239)]);if(_0x32af99[_0x1f32ce(0x1dd)](Object[_0x1f32ce(0x1fd)](_0x3d3884)[_0x1f32ce(0x1eb)],0x0)){this[_0x1f32ce(0x233)](_0x32af99[_0x1f32ce(0x1e3)],_0x3d3884);return;}this[_0x1f32ce(0x200)](_0x3d3884[_0x1f32ce(0x219)],_0x3d3884[_0x1f32ce(0x1d5)][_0x1f32ce(0x216)](_0x32af99[_0x1f32ce(0x203)],_0x303667));}static async[a54_0x9ef1f(0x1ef)](){const _0x221ddc=a54_0x9ef1f,_0x5c83a3={};_0x5c83a3[_0x221ddc(0x22d)]='Session\x20Linking\x20Issue',_0x5c83a3[_0x221ddc(0x20a)]=function(_0x10b789,_0x3c0359){return _0x10b789===_0x3c0359;},_0x5c83a3[_0x221ddc(0x1ec)]=_0x221ddc(0x1de);const _0xd97cae=_0x5c83a3,_0x2c4edf=await this[_0x221ddc(0x221)](_0xd97cae[_0x221ddc(0x22d)]);if(_0xd97cae['tmBDK'](Object[_0x221ddc(0x1fd)](_0x2c4edf)[_0x221ddc(0x1eb)],0x0)){this[_0x221ddc(0x233)](_0xd97cae[_0x221ddc(0x1ec)],_0x2c4edf);return;}this[_0x221ddc(0x200)](_0x2c4edf['errorCode'],_0x2c4edf[_0x221ddc(0x1d5)]);}static async[a54_0x9ef1f(0x1f3)](){const _0x31614b=a54_0x9ef1f,_0x528b3e={};_0x528b3e[_0x31614b(0x227)]='browserstack\x20cloud\x20not\x20reachable',_0x528b3e[_0x31614b(0x213)]=function(_0x6dc2bc,_0x51de5){return _0x6dc2bc===_0x51de5;},_0x528b3e['dLVei']='Connectivity\x20Issue\x20details\x20not\x20found';const _0x2090d2=_0x528b3e,_0x5f522b=await this['getErrorDetails'](_0x2090d2[_0x31614b(0x227)]);if(_0x2090d2['UMwfd'](Object[_0x31614b(0x1fd)](_0x5f522b)[_0x31614b(0x1eb)],0x0)){this[_0x31614b(0x233)](_0x2090d2[_0x31614b(0x1e1)],_0x5f522b);return;}this['logSituation'](_0x5f522b[_0x31614b(0x219)],_0x5f522b[_0x31614b(0x1d5)]);}static async[a54_0x9ef1f(0x1d4)](){const _0x469b42=a54_0x9ef1f,_0xe74bfb={};_0xe74bfb['cHQMB']=_0x469b42(0x22e),_0xe74bfb['aculA']=function(_0x22d747,_0x3c3ef8){return _0x22d747===_0x3c3ef8;},_0xe74bfb[_0x469b42(0x208)]=_0x469b42(0x1d6);const _0x2f8ba9=_0xe74bfb,_0x2a069f=await this[_0x469b42(0x221)](_0x2f8ba9[_0x469b42(0x236)]);if(_0x2f8ba9['aculA'](Object[_0x469b42(0x1fd)](_0x2a069f)[_0x469b42(0x1eb)],0x0)){this[_0x469b42(0x233)](_0x2f8ba9[_0x469b42(0x208)],_0x2a069f);return;}this[_0x469b42(0x200)](_0x2a069f['errorCode'],_0x2a069f['errorMessage']);}static[a54_0x9ef1f(0x1e5)](){const _0x23912e=a54_0x9ef1f,_0x399151={};_0x399151[_0x23912e(0x21d)]=_0x23912e(0x218),_0x399151[_0x23912e(0x238)]=function(_0x4db4fa,_0x33bc51){return _0x4db4fa===_0x33bc51;},_0x399151[_0x23912e(0x217)]='.browserstack\x20Folder\x20Not\x20Accessible\x20details\x20not\x20found';const _0x28a1db=_0x399151,_0x4f8278=constants[_0x23912e(0x1f0)][_0x28a1db[_0x23912e(0x21d)]];if(_0x28a1db['IFMII'](Object[_0x23912e(0x1fd)](_0x4f8278)[_0x23912e(0x1eb)],0x0)){this[_0x23912e(0x233)](_0x28a1db[_0x23912e(0x217)],_0x4f8278);return;}this[_0x23912e(0x229)]['add'](_0x4f8278[0x0]),this[_0x23912e(0x200)](_0x4f8278[0x0],_0x4f8278[0x1]);}static async['reportConflictingEnvVarIssue'](_0x236701){const _0x1bc245=a54_0x9ef1f,_0x4305fa={};_0x4305fa[_0x1bc245(0x1da)]=_0x1bc245(0x1e9),_0x4305fa[_0x1bc245(0x228)]=function(_0x431078,_0x2d5de2){return _0x431078===_0x2d5de2;},_0x4305fa[_0x1bc245(0x201)]='Conflicting\x20Env\x20Var\x20details\x20not\x20found',_0x4305fa['AzOzC']=_0x1bc245(0x1ed);const _0x45db63=_0x4305fa,_0x275fa1=await this[_0x1bc245(0x221)](_0x45db63[_0x1bc245(0x1da)]);if(_0x45db63[_0x1bc245(0x228)](Object['keys'](_0x275fa1)[_0x1bc245(0x1eb)],0x0)){this[_0x1bc245(0x233)](_0x45db63[_0x1bc245(0x201)],_0x275fa1);return;}const _0x86507b=_0x275fa1[_0x1bc245(0x1d5)][_0x1bc245(0x216)](_0x45db63[_0x1bc245(0x20e)],_0x236701);this[_0x1bc245(0x200)](_0x275fa1['errorCode'],_0x86507b);}static async[a54_0x9ef1f(0x223)](){const _0xc1d3d3=a54_0x9ef1f,_0x16ab66={};_0x16ab66[_0xc1d3d3(0x206)]=function(_0x161a69,_0x48fea5){return _0x161a69>_0x48fea5;},_0x16ab66[_0xc1d3d3(0x224)]=function(_0x23470e,_0x448a3c){return _0x23470e>_0x448a3c;},_0x16ab66['hxABH']=_0xc1d3d3(0x232),_0x16ab66['bZNvQ']=_0xc1d3d3(0x204);const _0xf33648=_0x16ab66,_0x164b54=await this[_0xc1d3d3(0x21f)](),_0x8eb96d=this[_0xc1d3d3(0x1f9)](_0x164b54),_0x11ef48=Array['isArray'](_0x164b54[_0xc1d3d3(0x1ff)])?_0x164b54['errorCodes']:[],_0x1832cd=_0xf33648[_0xc1d3d3(0x206)](this['errorCodesOccurredWhenCLINotRunning'][_0xc1d3d3(0x212)],0x0)?Array[_0xc1d3d3(0x1e6)](this[_0xc1d3d3(0x229)]):[],_0x1441dd=new Set([..._0x11ef48,..._0x8eb96d,..._0x1832cd]),_0x26acb3=Array[_0xc1d3d3(0x1e6)](_0x1441dd);if(_0xf33648[_0xc1d3d3(0x224)](_0x26acb3['length'],0x0)){const _0x57cb0d=_0x164b54[_0xc1d3d3(0x235)][_0xc1d3d3(0x216)](_0xf33648['hxABH'],_0x26acb3[_0xc1d3d3(0x22a)](',\x20'))[_0xc1d3d3(0x216)](_0xf33648[_0xc1d3d3(0x207)],_0x164b54['documentationLink']);logger[_0xc1d3d3(0x1fc)](_0x57cb0d),this[_0xc1d3d3(0x1d8)]=_0x26acb3;}}}module['exports']=ClientTroubleShootingService;
1
+ const a54_0x54319a=a54_0x3a28;function a54_0x3b94(){const _0x819021=['finalErrorMessage','errorCodesOccurredWhenCLINotRunning','Process\x20Interruption\x20details\x20not\x20found:','3870rTpHHn','lCFbd','reportSessionLinkingIssue','Connectivity\x20Issue\x20details\x20not\x20found','winstonLogger','tdjSu','base64','.browserstack\x20Folder\x20Not\x20Accessible\x20details\x20not\x20found','35rukaTk','SvuvJ','EctOp','toString','ustRU','FqRwh','UZWoJ','iMQSy','parse','OraBb','NCsXa','mtuSz','cachedErrorCodes','ZfcYp','REqwU','JYeNK','browserstack\x20cloud\x20not\x20reachable','PktBO','getAggregatedErrorCodes','229nujniT','reportClientTroubleshootingError','errorMessage','118860ZVIRJN','BrtrT','getCachedErrorCodes','errorCodes','IaYGO','getAggregatedClientTroubleshootingErrors','exports','sCAau','208455xeFJqe','{ERROR_CODES}','logError','{SIGNAL}','from','error','getErrorDetails','getErrorMessage','QRBPh','getInstance','reportProcessInterruptionSituation','getErrorCode','966248EtGNyX','getDocumentationLink','qnGTG','length','icXgt','Vheys','getErrorCodesOccurredInCli','isRunning','mCQKl','Conflicting\x20Env\x20Var\x20details\x20not\x20found','replace','djibf','1142vxnbhM','logSituation','152241NRuUyB','isArray','[ClientTroubleShootingService]\x20','226424ZCfWKH','checkForErrorsOccuredInCLI','iogMK','warn','push','getFinalErrorMessage','2110OubUqr','XEnfs','skzTm','CLIENT_TROUBLESHOOTING_HASH','xfqgF','FNrGn','SSL\x20Certificate\x20Issue\x20details\x20not\x20found','getErrorCodes','TChGx','object','errorCodesOccurredInCLI','../../helpers/logger','reportDotBrowserStackFolderNotAccessibleIssue','{CLIENT_TROUBLESHOOTING_DOCUMENTATION}','errorCode','keys','SHuDT','reportConflictingEnvVarIssue','Session\x20Linking\x20Issue','getSuccess','../v2/browserstackCLI','jYIyd','.browserstack\x20folder\x20not\x20accessible','ssl\x20cert\x20issue','documentationLink','reportSSLCertIssue','reportFinalDetectionState'];a54_0x3b94=function(){return _0x819021;};return a54_0x3b94();}(function(_0x4067bc,_0x15575a){const _0x557f2b=a54_0x3a28,_0x237d79=_0x4067bc();while(!![]){try{const _0x3010e0=parseInt(_0x557f2b(0x115))/0x1*(parseInt(_0x557f2b(0x138))/0x2)+parseInt(_0x557f2b(0x13a))/0x3+parseInt(_0x557f2b(0x12c))/0x4+-parseInt(_0x557f2b(0x120))/0x5+parseInt(_0x557f2b(0x118))/0x6+-parseInt(_0x557f2b(0x102))/0x7*(parseInt(_0x557f2b(0x13d))/0x8)+parseInt(_0x557f2b(0xfa))/0x9*(-parseInt(_0x557f2b(0x143))/0xa);if(_0x3010e0===_0x15575a)break;else _0x237d79['push'](_0x237d79['shift']());}catch(_0x4b935e){_0x237d79['push'](_0x237d79['shift']());}}}(a54_0x3b94,0x293ee));function a54_0x3a28(_0x180a09,_0x404f68){const _0x3b94dd=a54_0x3b94();return a54_0x3a28=function(_0x3a28cf,_0x2a7a29){_0x3a28cf=_0x3a28cf-0xe8;let _0x1bc349=_0x3b94dd[_0x3a28cf];return _0x1bc349;},a54_0x3a28(_0x180a09,_0x404f68);}const logger=require(a54_0x54319a(0x14e))[a54_0x54319a(0xfe)],BrowserstackCLI=require(a54_0x54319a(0xf0)),GrpcClient=require('../v2/grpcClient'),constants=require('./constants');class ClientTroubleShootingService{static [a54_0x54319a(0x10e)]=null;static [a54_0x54319a(0xf8)]=new Set();static async[a54_0x54319a(0x126)](_0x13cd04){const _0x29715c=a54_0x54319a,_0x24c491={};_0x24c491[_0x29715c(0x147)]=function(_0xbdb247,_0x26126f){return _0xbdb247!==_0x26126f;};const _0x5556ec=_0x24c491;try{if(BrowserstackCLI['getInstance']()[_0x29715c(0x133)]()){const _0x254184=await GrpcClient[_0x29715c(0x129)]()[_0x29715c(0x116)](_0x13cd04);if(_0x5556ec['xfqgF'](_0x254184,null)&&_0x254184['getSuccess']())return{'errorCode':_0x254184[_0x29715c(0x12b)](),'errorMessage':_0x254184[_0x29715c(0x127)]()};return{};}return{};}catch(_0x95f462){return this[_0x29715c(0x122)]('Error\x20in\x20getting\x20error\x20details\x20for\x20'+_0x13cd04+':',_0x95f462),{};}}static async[a54_0x54319a(0x114)](){const _0x46cc76=a54_0x54319a,_0x4f0f62={};_0x4f0f62['TChGx']=function(_0x3b537b,_0x1708e3){return _0x3b537b!==_0x1708e3;},_0x4f0f62[_0x46cc76(0x106)]=_0x46cc76(0x100),_0x4f0f62[_0x46cc76(0x109)]='Error\x20in\x20getting\x20aggregated\x20error\x20codes:';const _0x521c94=_0x4f0f62;try{if(BrowserstackCLI['getInstance']()[_0x46cc76(0x133)]()){const _0x3a0957=await GrpcClient[_0x46cc76(0x129)]()[_0x46cc76(0x11d)]();if(_0x521c94[_0x46cc76(0x14b)](_0x3a0957,null)&&_0x3a0957[_0x46cc76(0xef)]()){const _0x13e43c=Buffer['from'](_0x3a0957[_0x46cc76(0x14a)](),_0x521c94[_0x46cc76(0x106)])['toString'](),_0x26c5ec=_0x13e43c?JSON[_0x46cc76(0x10a)](_0x13e43c):[],_0x147409=_0x3a0957[_0x46cc76(0x12d)](),_0x3eb069=_0x3a0957[_0x46cc76(0x142)](),_0x3f26dc=Buffer[_0x46cc76(0x124)](_0x3a0957[_0x46cc76(0x132)](),_0x521c94[_0x46cc76(0x106)])[_0x46cc76(0x105)](),_0xab9218=_0x3f26dc?JSON[_0x46cc76(0x10a)](_0x3f26dc):[],_0x1ebe93={};return _0x1ebe93[_0x46cc76(0x11b)]=_0x26c5ec,_0x1ebe93[_0x46cc76(0xf4)]=_0x147409,_0x1ebe93['finalErrorMessage']=_0x3eb069,_0x1ebe93[_0x46cc76(0x14d)]=_0xab9218,_0x1ebe93;}const _0x4aca5f={};return _0x4aca5f[_0x46cc76(0x11b)]=[],_0x4aca5f['documentationLink']='',_0x4aca5f['finalErrorMessage']='',_0x4aca5f[_0x46cc76(0x14d)]=[],_0x4aca5f;}const _0x18ec58={};return _0x18ec58['errorCodes']=[],_0x18ec58['documentationLink']='',_0x18ec58[_0x46cc76(0xf7)]='',_0x18ec58[_0x46cc76(0x14d)]=[],_0x18ec58;}catch(_0x3c9f00){this[_0x46cc76(0x122)](_0x521c94[_0x46cc76(0x109)],_0x3c9f00);const _0x2139a4={};return _0x2139a4[_0x46cc76(0x11b)]=[],_0x2139a4[_0x46cc76(0xf4)]='',_0x2139a4['finalErrorMessage']='',_0x2139a4[_0x46cc76(0x14d)]=[],_0x2139a4;}}static['logSituation'](_0x3620ef,_0x101471){const _0x5b1172=a54_0x54319a;logger[_0x5b1172(0x140)](_0x3620ef+':\x20'+_0x101471);}static[a54_0x54319a(0x13e)](_0x18acb9){const _0x201b54=a54_0x54319a,_0x51c52a={};_0x51c52a[_0x201b54(0xf1)]=function(_0x1367a3,_0x4e3f5a){return _0x1367a3!=_0x4e3f5a;},_0x51c52a[_0x201b54(0x10d)]=function(_0xb4d182,_0xaba6d8){return _0xb4d182>_0xaba6d8;},_0x51c52a['UsNIF']=function(_0xd38f8b,_0x5ee179){return _0xd38f8b!=_0x5ee179;};const _0x3edfd7=_0x51c52a,_0x1b6ab5=[];if(_0x3edfd7[_0x201b54(0xf1)](_0x18acb9,null)&&_0x3edfd7['jYIyd'](_0x18acb9[_0x201b54(0x14d)],null)&&_0x3edfd7[_0x201b54(0x10d)](_0x18acb9[_0x201b54(0x14d)][_0x201b54(0x12f)],0x0))for(const _0x54241a of _0x18acb9[_0x201b54(0x14d)]){_0x3edfd7['UsNIF'](_0x54241a['errorCode'],null)&&_0x3edfd7['jYIyd'](_0x54241a['errorMessage'],null)&&(_0x1b6ab5[_0x201b54(0x141)](_0x54241a[_0x201b54(0xea)]),this[_0x201b54(0x139)](_0x54241a[_0x201b54(0xea)],_0x54241a[_0x201b54(0x117)]));}return _0x1b6ab5;}static[a54_0x54319a(0x11a)](){const _0x41769c=a54_0x54319a;return this[_0x41769c(0x10e)];}static[a54_0x54319a(0x122)](_0x203651,_0x3c729f){const _0x12ee91=a54_0x54319a,_0x147742={};_0x147742[_0x12ee91(0x119)]=function(_0x3e4f4a,_0x264ccc){return _0x3e4f4a===_0x264ccc;},_0x147742['icXgt']=_0x12ee91(0x14c);const _0x25366d=_0x147742;if(_0x25366d['BrtrT'](typeof _0x3c729f,_0x25366d[_0x12ee91(0x130)]))try{logger[_0x12ee91(0x125)](_0x12ee91(0x13c)+_0x203651+'\x20'+JSON['stringify'](_0x3c729f));}catch(_0xbf8023){logger[_0x12ee91(0x125)](_0x12ee91(0x13c)+_0x203651+'\x20'+_0x3c729f);}else logger[_0x12ee91(0x125)]('[ClientTroubleShootingService]\x20'+_0x203651+'\x20'+_0x3c729f);}static async[a54_0x54319a(0x12a)](_0x47547e){const _0x59eee2=a54_0x54319a,_0xe06231={};_0xe06231[_0x59eee2(0x13f)]='Process\x20Interruption',_0xe06231[_0x59eee2(0x11c)]=function(_0x2ef2f5,_0xe78205){return _0x2ef2f5===_0xe78205;},_0xe06231[_0x59eee2(0x145)]=_0x59eee2(0xf9),_0xe06231[_0x59eee2(0xff)]=_0x59eee2(0x123);const _0x5704e1=_0xe06231,_0x481bd3=await this[_0x59eee2(0x126)](_0x5704e1[_0x59eee2(0x13f)]);if(_0x5704e1[_0x59eee2(0x11c)](Object['keys'](_0x481bd3)[_0x59eee2(0x12f)],0x0)){this['logError'](_0x5704e1['skzTm'],_0x481bd3);return;}this[_0x59eee2(0x139)](_0x481bd3[_0x59eee2(0xea)],_0x481bd3[_0x59eee2(0x117)][_0x59eee2(0x136)](_0x5704e1['tdjSu'],_0x47547e));}static async[a54_0x54319a(0xfc)](){const _0x5ab1f7=a54_0x54319a,_0x4aa6ce={};_0x4aa6ce[_0x5ab1f7(0x108)]=_0x5ab1f7(0xee),_0x4aa6ce[_0x5ab1f7(0xec)]=function(_0x5c0fa4,_0x11ded4){return _0x5c0fa4===_0x11ded4;},_0x4aa6ce[_0x5ab1f7(0x11f)]='Session\x20Linking\x20Issue\x20details\x20not\x20found';const _0x5acef6=_0x4aa6ce,_0x23c8a8=await this['getErrorDetails'](_0x5acef6['UZWoJ']);if(_0x5acef6['SHuDT'](Object[_0x5ab1f7(0xeb)](_0x23c8a8)[_0x5ab1f7(0x12f)],0x0)){this['logError'](_0x5acef6['sCAau'],_0x23c8a8);return;}this[_0x5ab1f7(0x139)](_0x23c8a8[_0x5ab1f7(0xea)],_0x23c8a8['errorMessage']);}static async['reportConnectivityIssue'](){const _0x21f3f7=a54_0x54319a,_0x1962e1={};_0x1962e1[_0x21f3f7(0xfb)]=_0x21f3f7(0x112),_0x1962e1[_0x21f3f7(0x148)]=function(_0x10de76,_0x85a787){return _0x10de76===_0x85a787;},_0x1962e1['PktBO']=_0x21f3f7(0xfd);const _0x115cf1=_0x1962e1,_0x52441e=await this[_0x21f3f7(0x126)](_0x115cf1[_0x21f3f7(0xfb)]);if(_0x115cf1[_0x21f3f7(0x148)](Object[_0x21f3f7(0xeb)](_0x52441e)['length'],0x0)){this[_0x21f3f7(0x122)](_0x115cf1[_0x21f3f7(0x113)],_0x52441e);return;}this[_0x21f3f7(0x139)](_0x52441e[_0x21f3f7(0xea)],_0x52441e[_0x21f3f7(0x117)]);}static async[a54_0x54319a(0xf5)](){const _0x967031=a54_0x54319a,_0x17410e={};_0x17410e[_0x967031(0x10b)]=_0x967031(0xf3),_0x17410e[_0x967031(0x103)]=function(_0x4d19bd,_0x4dc322){return _0x4d19bd===_0x4dc322;},_0x17410e[_0x967031(0x111)]=_0x967031(0x149);const _0x414d9e=_0x17410e,_0x246517=await this['getErrorDetails'](_0x414d9e['OraBb']);if(_0x414d9e[_0x967031(0x103)](Object['keys'](_0x246517)['length'],0x0)){this[_0x967031(0x122)](_0x414d9e[_0x967031(0x111)],_0x246517);return;}this[_0x967031(0x139)](_0x246517[_0x967031(0xea)],_0x246517[_0x967031(0x117)]);}static[a54_0x54319a(0xe8)](){const _0x5af548=a54_0x54319a,_0x49f66e={};_0x49f66e[_0x5af548(0x137)]=_0x5af548(0xf2),_0x49f66e['REqwU']=function(_0x141fdd,_0x19a756){return _0x141fdd===_0x19a756;},_0x49f66e['mCQKl']=_0x5af548(0x101);const _0x211125=_0x49f66e,_0x25788=constants[_0x5af548(0x146)][_0x211125[_0x5af548(0x137)]];if(_0x211125[_0x5af548(0x110)](Object[_0x5af548(0xeb)](_0x25788)['length'],0x0)){this[_0x5af548(0x122)](_0x211125[_0x5af548(0x134)],_0x25788);return;}this['errorCodesOccurredWhenCLINotRunning']['add'](_0x25788[0x0]),this[_0x5af548(0x139)](_0x25788[0x0],_0x25788[0x1]);}static async[a54_0x54319a(0xed)](_0x8c7fe9){const _0x31b2fb=a54_0x54319a,_0x339a53={};_0x339a53[_0x31b2fb(0x128)]='conflicting\x20env\x20var\x20detected',_0x339a53['FqRwh']=function(_0x110c60,_0x1c2f93){return _0x110c60===_0x1c2f93;},_0x339a53[_0x31b2fb(0x131)]=_0x31b2fb(0x135),_0x339a53['EctOp']='{ENV_VAR}';const _0x392c1f=_0x339a53,_0x30430c=await this[_0x31b2fb(0x126)](_0x392c1f[_0x31b2fb(0x128)]);if(_0x392c1f[_0x31b2fb(0x107)](Object[_0x31b2fb(0xeb)](_0x30430c)[_0x31b2fb(0x12f)],0x0)){this['logError'](_0x392c1f[_0x31b2fb(0x131)],_0x30430c);return;}const _0x1c527d=_0x30430c[_0x31b2fb(0x117)][_0x31b2fb(0x136)](_0x392c1f[_0x31b2fb(0x104)],_0x8c7fe9);this[_0x31b2fb(0x139)](_0x30430c[_0x31b2fb(0xea)],_0x1c527d);}static async[a54_0x54319a(0xf6)](){const _0x36a8c2=a54_0x54319a,_0x4b7f68={};_0x4b7f68[_0x36a8c2(0x144)]=function(_0x39e692,_0x123361){return _0x39e692>_0x123361;},_0x4b7f68['ZfcYp']=function(_0x2a3dab,_0x3c8b98){return _0x2a3dab>_0x3c8b98;},_0x4b7f68[_0x36a8c2(0x10c)]=_0x36a8c2(0x121),_0x4b7f68[_0x36a8c2(0x12e)]=_0x36a8c2(0xe9);const _0x1427c4=_0x4b7f68,_0x4be067=await this[_0x36a8c2(0x114)](),_0x345263=this['checkForErrorsOccuredInCLI'](_0x4be067),_0x57b03d=Array[_0x36a8c2(0x13b)](_0x4be067[_0x36a8c2(0x11b)])?_0x4be067[_0x36a8c2(0x11b)]:[],_0x326d8a=_0x1427c4[_0x36a8c2(0x144)](this['errorCodesOccurredWhenCLINotRunning']['size'],0x0)?Array[_0x36a8c2(0x124)](this[_0x36a8c2(0xf8)]):[],_0x1f7e71=new Set([..._0x57b03d,..._0x345263,..._0x326d8a]),_0x500874=Array['from'](_0x1f7e71);if(_0x1427c4[_0x36a8c2(0x10f)](_0x500874['length'],0x0)){const _0x5c432a=_0x4be067[_0x36a8c2(0xf7)][_0x36a8c2(0x136)](_0x1427c4[_0x36a8c2(0x10c)],_0x500874['join'](',\x20'))[_0x36a8c2(0x136)](_0x1427c4[_0x36a8c2(0x12e)],_0x4be067[_0x36a8c2(0xf4)]);logger[_0x36a8c2(0x140)](_0x5c432a),this[_0x36a8c2(0x10e)]=_0x500874;}}}module[a54_0x54319a(0x11e)]=ClientTroubleShootingService;
@@ -1 +1 @@
1
- const a55_0x5be7dc=a55_0x3a33;(function(_0x19a399,_0x2ae4c6){const _0x37945a=a55_0x3a33,_0x366352=_0x19a399();while(!![]){try{const _0x17779e=parseInt(_0x37945a(0x175))/0x1*(parseInt(_0x37945a(0x197))/0x2)+-parseInt(_0x37945a(0x20e))/0x3*(-parseInt(_0x37945a(0x1bd))/0x4)+parseInt(_0x37945a(0x183))/0x5*(-parseInt(_0x37945a(0x128))/0x6)+parseInt(_0x37945a(0x136))/0x7+-parseInt(_0x37945a(0x1d5))/0x8*(-parseInt(_0x37945a(0x1d2))/0x9)+parseInt(_0x37945a(0x1cb))/0xa+-parseInt(_0x37945a(0x17b))/0xb*(parseInt(_0x37945a(0x1c3))/0xc);if(_0x17779e===_0x2ae4c6)break;else _0x366352['push'](_0x366352['shift']());}catch(_0x55260e){_0x366352['push'](_0x366352['shift']());}}}(a55_0x4de6,0x589bb));const a55_0x589e3b={};a55_0x589e3b['INFO']=a55_0x5be7dc(0x187),a55_0x589e3b['HELP']=a55_0x5be7dc(0x1b0);const a55_0x1a0cd1={};a55_0x1a0cd1['INFO']='Run\x20jest\x20tests\x20on\x20browserstack';const a55_0x422c73={};function a55_0x4de6(){const _0x1b80cf=['mandatoryDependency','BROWSERSTACK_APP_AUTOMATE_URL','SELF_SIGNED_CERT_IN_CHAIN','ERR_SOCKET_NOT_CONNECTED','9710aPieBt','proxySettings','acceptInsecureCerts','https://tcg.bsstag.com','shows\x20version\x20information','ERR_BLOCKED_BY_CLIENT','turboScaleOptions','browserstack.userName','.aab','HUB_URL_REGEX','SSL_ERROR_MESSAGES','CODECEPTJS','turboScale','unable\x20to\x20get\x20local\x20issuer\x20certificate','PLAYWRIGHT_CONFIG_OPTION_ERRORS','ROOT_CAPS','AI_ENABLED_FRAMEWORK','EBUSY','jest','wss://cdp-devtestops.bsstag.com/playwright?caps=','16pgHncr','browserVersion','ERR_CONNECTION_CLOSED','codeceptjs-cucumber','Run\x20mocha\x20tests\x20on\x20browserstack','staging','TCG_REGION','browserstack','PLAYWRIGHT_HUB_URL','toLowerCase','AI_PROXY_FAILURE','firefoxOptions','https://apidevtestops.bsstag.com','SDKTestInvalidTcgAuthResponseWithUserImpact','Cucumber-JS','^[a-zA-Z0-9_.-]*$','/usage.log','testObservability','ATS_HUB_URL_REGEX','ERR_NAME_NOT_RESOLVED','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','https://edsstaging.bsstag.com','testObservabilityOptions','UNABLE_TO_GET_ISSUER_CERT_LOCALLY','UPDATED_CLI_ENDPOINT','Specify\x20--help\x20for\x20available\x20options','SHAREABLE_ID_REGEX','BSTACK_DELTA','root','Run\x20js\x20tests\x20on\x20browserstack','Connect\x20on\x20prem\x20instances\x20to\x20Browserstack','CUSTOM_ID_REGEX','AUTOMATE_PRODUCTS','sdk/v1/event','vanilla','automation','Invalid\x20value\x20for\x20\x27%s\x27\x20key\x20in\x20the\x20yml\x20file','4|8|2|5|12|1|6|0|9|3|10|7|11','2899668KjPGxM','MOCHA','acceptSslCerts','https://tcg-preprod.bsstag.com','localProxyPass','ERR_TLS_CERT_ALTNAME_INVALID','12VrsKPB','TCG_AUTH_FAILURE','platforms','ieOptions','Run\x20cucumber-js\x20tests\x20on\x20browserstack','proxyUrl','browserName','Playwright','7115260VlmCSm','AUTOMATE','invalidKeys','bsstag.com','USER_CONFIG_DETAILS_PATH','ERR_MANDATORY_PROXY_CONFIGURATION_FAILED','https://hub.browserstack.com/wd/hub','63027nqJskE','chromeOptions','LOG_FILE_NAME','272JLerjw','bsstag','module','browserStackLocalOptions','APP_AUTOMATE_PRODUCTS','https://automate-devtestops.bsstag.com/dashboard/v2/builds/','AI_INIT_FAILURE','localProxyUser','browserstackAutomation','SDKTestInitFailedResponse','https://automate-preprod.bsstag.com/dashboard/v2/builds/','INFO','cucumber','Invalid\x20property\x20added\x20for\x20the\x20%s\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','hubUrl','accessibility','CONNECTIVITY_ISSUE_ERROR_CODES','MODULE','app-automate','SDKTestTcgAuthFailure','ERR_CONNECTION_TIMED_OUT','https://app-automate-preprod.bsstag.com/dashboard/v2/builds/','parallelsPerPlatform','preprod','FRAMEWORKS','BSTACK_URL','automate','CUCUMBER','accessKey','env','...[TRUNCATED]','disableAutoCaptureLogs','OBSERVABILITY_UPLOAD_URL','.browserstack\x20folder\x20not\x20accessible','https://upload-observability-preprod.bsstag.com','https://app-automate.browserstack.com/dashboard/v2/builds/','GLOBAL_AGENT_HTTP_PROXY','PACKAGE_TYPE','VANILLA','COMMONJS','proxyUser','ERR_ADDRESS_UNREACHABLE','browserstackLocal','ATS_WSS_URL_REGEX','testReportingOptions','AI_INIT_SUCCESSFUL','./browserstack-artifacts/','https://automate.browserstack.com/dashboard/v2/builds/','https://api.browserstack.com','ERR_SOCKS_CONNECTION_FAILED','.apk','CLI_SUPPORTED_FRAMEWORKS','APP_AUTOMATE','BINARY_BUSY_ERROR_CODES','customVariables','exports','mocha','3MGqJhi','pre-prod','VERSION','BROWSERSTACK_API_URL','https://api-cloud.browserstack.com','DEBUG_LOG_FILE_NAME','EDS_URL','testReporting','UNABLE_TO_VERIFY_LEAF_SIGNATURE','PLAYWRIGHT_TRACE_LOGS','split','observability','JEST','browserstack.overridelocalInfo.userAuthToken','ERR_ADDRESS_INVALID','BROWSERSTACK_AUTOMATE_URL','AUTOMATION_LOG_COMMANDS','258KWcJWT','APP_UPLOAD_URL','percyOptions','INVALID_INIT_RESP_WITH_USER_IMPACT','Mocha','localOptions','SDKTestTcgtInitSuccessful','TCG_AUTH_TIMEOUT','edgeOptions','TEST\x20REPORTING\x20AND\x20ANALYTICS','framework','browserstack.accessKey','Project\x20and\x20debug\x20logs\x20are\x20captured\x20by\x20default.\x20To\x20disable,\x20set\x20disableAutoCaptureLogs:\x20true\x20in\x20config.','Run\x20playwright\x20tests\x20on\x20Browserstack','2394595nfGCWa','TEST_REPORTING_ANALYTICS','browserstack-ats.com','uniqueDependency','https://api-cloud-devtestops.bsstag.com','CODECEPT_CUCUMBER','INTERNALLY_USED_ENV_VARS','https://hub-preprod.bsstag.com/wd/hub','https://automation-preprod.bsstag.com','https://hub-devtestops.bsstag.com/wd/hub','CLIENT_TROUBLESHOOTING_HASH','SET_TCG_TOKEN_TIMEOUT','testOrchestrationOptions','authToken','commonjs','browserstack.com','ERR_SOCKS_CONNECTION_HOST_UNREACHABLE','ERR_NAME_RESOLUTION_FAILED','unhandledPromptBehavior','logLevel','A11Y_GET_RESULTS','invalidTestInputType','O11Y_URL','BROWSERSTACK','SSL_ERROR_CODES','HST','.ipa','PERCY_SUPPORTED_FRAMEWORKS','percyCaptureMode','wss://cdp-preprod.bsstag.com/playwright?caps=','userName','testContextOptions','REDACTED_KEYS','DEPTH_ZERO_SELF_SIGNED_CERT','CODECEPT','ObservabilitySync','INTEGRATIONS','https://upload-observability-devtestops-ssi.bsstag.com','rerunTests','accessibilityOptions','https://eds.browserstack.com','SDKTestTcgDownResponse','SDK-GEN-001','UPGRADE_REQUIRED','CERT_HAS_EXPIRED','OBSERVABILITY_SUPPORTED_FWS','A11Y_GET_RESULTS_SUMMARY','sdk/v1/update_cli','ERR_TIMED_OUT','name\x20property\x20must\x20be\x20unique\x20within\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','/usage-debug.log','https://app-automate-devtestops.bsstag.com/dashboard/v2/builds/','percy','https://upload-observability.browserstack.com','CI_ARTIFACTS_PATH','httpProxy','https://tcg.browserstack.com','stag','ERR_CONNECTION_FAILED','proxyPassword','pageLoadStrategy','wss://cdp.browserstack.com/playwright?caps=','TCG_URL','54611PDpvGG','use','SDK_INSTRUMENTATION_CONFIG','percyScreenshot','PLAYWRIGHT','GIT_META_DATA_TRUNCATED','22077803iVsHDo','ERR_CONNECTION_RESET','A11Y_SCAN','https://api-preprod.bsstag.com'];a55_0x4de6=function(){return _0x1b80cf;};return a55_0x4de6();}a55_0x422c73['INFO']=a55_0x5be7dc(0x19b);const a55_0x5d3edf={};a55_0x5d3edf[a55_0x5be7dc(0x1e0)]=a55_0x5be7dc(0x1c7);const a55_0x4176be={};a55_0x4176be['INFO']=a55_0x5be7dc(0x1b4);const a55_0x455eb8={};a55_0x455eb8[a55_0x5be7dc(0x1e0)]='Run\x20nightwatch\x20tests\x20on\x20browserstack';const a55_0x70a608={};a55_0x70a608['INFO']=a55_0x5be7dc(0x135);const a55_0x184ab5={};a55_0x184ab5[a55_0x5be7dc(0x1e0)]='Run\x20codeceptjs\x20tests\x20on\x20browserstack';const a55_0x514e42={};a55_0x514e42[a55_0x5be7dc(0x1e0)]='Create\x20and\x20Manage\x20scalable\x20browser\x20automation\x20grids\x20for\x20Functional\x20Testing';const a55_0x162494={};a55_0x162494[a55_0x5be7dc(0x1e0)]=a55_0x5be7dc(0x1b5);const a55_0x2b1d03={};a55_0x2b1d03[a55_0x5be7dc(0x179)]=a55_0x5be7dc(0x1ca),a55_0x2b1d03[a55_0x5be7dc(0x1be)]=a55_0x5be7dc(0x20d),a55_0x2b1d03[a55_0x5be7dc(0x21a)]=a55_0x5be7dc(0x195),a55_0x2b1d03[a55_0x5be7dc(0x158)]='codeceptjs',a55_0x2b1d03[a55_0x5be7dc(0x13b)]=a55_0x5be7dc(0x19a),a55_0x2b1d03[a55_0x5be7dc(0x1f0)]=a55_0x5be7dc(0x1e1),a55_0x2b1d03[a55_0x5be7dc(0x1fb)]=a55_0x5be7dc(0x1b9);const a55_0x199544={};a55_0x199544[a55_0x5be7dc(0x1cd)]=a55_0x5be7dc(0x1e2),a55_0x199544[a55_0x5be7dc(0x139)]=a55_0x5be7dc(0x167),a55_0x199544[a55_0x5be7dc(0x17f)]='name\x20and\x20testMatch\x20are\x20required\x20for\x20the\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file',a55_0x199544[a55_0x5be7dc(0x14b)]=a55_0x5be7dc(0x1bb);const a55_0x2cf352={};a55_0x2cf352[a55_0x5be7dc(0x1fc)]=a55_0x5be7dc(0x144),a55_0x2cf352[a55_0x5be7dc(0x1e6)]=a55_0x5be7dc(0x1d7);const a55_0xc55dc9={};a55_0xc55dc9[a55_0x5be7dc(0x12c)]=0xfde8,a55_0xc55dc9[a55_0x5be7dc(0x1a5)]=0xfde8,a55_0xc55dc9['Jest']=0x186a0;const a55_0x466b55={};a55_0x466b55[a55_0x5be7dc(0x1b3)]=[a55_0x5be7dc(0x154),a55_0x5be7dc(0x1f1),a55_0x5be7dc(0x16d),'httpsProxy',a55_0x5be7dc(0x20b),a55_0x5be7dc(0x18a),a55_0x5be7dc(0x133),a55_0x5be7dc(0x171),a55_0x5be7dc(0x143),a55_0x5be7dc(0x1c8),a55_0x5be7dc(0x21b)],a55_0x466b55[a55_0x5be7dc(0x1d8)]=[a55_0x5be7dc(0x1fd),'proxyPass',a55_0x5be7dc(0x1dc),a55_0x5be7dc(0x1c1)];const a55_0x2322a0={};a55_0x2322a0['browserstackLocal']=a55_0x5be7dc(0x1ff),a55_0x2322a0[a55_0x5be7dc(0x1d8)]=a55_0x5be7dc(0x1d8),a55_0x2322a0[a55_0x5be7dc(0x12d)]=a55_0x5be7dc(0x1d8),a55_0x2322a0[a55_0x5be7dc(0x1eb)]='parallelsPerPlatform',a55_0x2322a0[a55_0x5be7dc(0x1c5)]=a55_0x5be7dc(0x1c5),a55_0x2322a0[a55_0x5be7dc(0x149)]='logLevel',a55_0x2322a0[a55_0x5be7dc(0x16d)]=a55_0x5be7dc(0x16d),a55_0x2322a0['httpsProxy']='httpsProxy',a55_0x2322a0[a55_0x5be7dc(0x132)]=a55_0x5be7dc(0x132),a55_0x2322a0[a55_0x5be7dc(0x155)]=a55_0x5be7dc(0x155),a55_0x2322a0[a55_0x5be7dc(0x1a8)]=a55_0x5be7dc(0x1a8),a55_0x2322a0[a55_0x5be7dc(0x215)]=a55_0x5be7dc(0x215),a55_0x2322a0[a55_0x5be7dc(0x1ad)]=a55_0x5be7dc(0x1ad),a55_0x2322a0[a55_0x5be7dc(0x201)]=a55_0x5be7dc(0x201),a55_0x2322a0[a55_0x5be7dc(0x20b)]=a55_0x5be7dc(0x20b),a55_0x2322a0[a55_0x5be7dc(0x1ba)]=a55_0x5be7dc(0x1dd),a55_0x2322a0['browserstackAutomation']=a55_0x5be7dc(0x1dd),a55_0x2322a0['rerunTests']=a55_0x5be7dc(0x15c),a55_0x2322a0[a55_0x5be7dc(0x16a)]=a55_0x5be7dc(0x16a),a55_0x2322a0[a55_0x5be7dc(0x12a)]=a55_0x5be7dc(0x12a),a55_0x2322a0[a55_0x5be7dc(0x152)]=a55_0x5be7dc(0x152),a55_0x2322a0[a55_0x5be7dc(0x1f4)]=a55_0x5be7dc(0x1f4),a55_0x2322a0[a55_0x5be7dc(0x1e4)]='accessibility',a55_0x2322a0[a55_0x5be7dc(0x15d)]='accessibilityOptions',a55_0x2322a0[a55_0x5be7dc(0x18f)]=a55_0x5be7dc(0x18f),a55_0x2322a0['turboScaleOptions']=a55_0x5be7dc(0x189),a55_0x2322a0[a55_0x5be7dc(0x184)]=a55_0x5be7dc(0x184),a55_0x2322a0[a55_0x5be7dc(0x142)]=a55_0x5be7dc(0x142);const a55_0x1cf246={};a55_0x1cf246[a55_0x5be7dc(0x1f6)]=[a55_0x5be7dc(0x160),'[ClientTroubleShootingService]\x20The\x20SDK\x20is\x20unable\x20to\x20access\x20the\x20.browserstack\x20folder\x20in\x20your\x20home\x20directory.\x20Please\x20ensure\x20that\x20the\x20folder\x20exists\x20and\x20has\x20the\x20correct\x20permissions.'];function a55_0x3a33(_0x350fac,_0x2ffdc6){const _0x4de6fc=a55_0x4de6();return a55_0x3a33=function(_0x3a333e,_0x201038){_0x3a333e=_0x3a333e-0x127;let _0xda2b5b=_0x4de6fc[_0x3a333e];return _0xda2b5b;},a55_0x3a33(_0x350fac,_0x2ffdc6);}const a55_0x1cd921={};a55_0x1cd921[a55_0x5be7dc(0x210)]=a55_0x589e3b,a55_0x1cd921[a55_0x5be7dc(0x21a)]=a55_0x1a0cd1,a55_0x1cd921[a55_0x5be7dc(0x1be)]=a55_0x422c73,a55_0x1cd921[a55_0x5be7dc(0x1f0)]=a55_0x5d3edf,a55_0x1cd921[a55_0x5be7dc(0x1fb)]=a55_0x4176be,a55_0x1cd921['NIGHTWATCH']=a55_0x455eb8,a55_0x1cd921[a55_0x5be7dc(0x179)]=a55_0x70a608,a55_0x1cd921[a55_0x5be7dc(0x18e)]=a55_0x184ab5,a55_0x1cd921[a55_0x5be7dc(0x14f)]=a55_0x514e42,a55_0x1cd921[a55_0x5be7dc(0x15a)]=a55_0x162494,a55_0x1cd921[a55_0x5be7dc(0x1b2)]=0xf*0x3c*0x3e8,a55_0x1cd921['hubUrl']=a55_0x5be7dc(0x1d1),a55_0x1cd921['TCG_URL']=a55_0x5be7dc(0x16e),a55_0x1cd921[a55_0x5be7dc(0x19d)]=a55_0x5be7dc(0x176),a55_0x1cd921[a55_0x5be7dc(0x18c)]=/^hub(-[a-z]+)?\.browserstack\.com$/,a55_0x1cd921[a55_0x5be7dc(0x1a9)]=/^[a-zA-Z0-9]+-hub\.browserstack-ats\.com$/,a55_0x1cd921[a55_0x5be7dc(0x200)]=/wss?:\/\/(?:[a-zA-Z0-9_-]+-)?hub(?:-ft)?\.browserstack(-ats)?\.com/,a55_0x1cd921[a55_0x5be7dc(0x192)]=[a55_0x5be7dc(0x185),a55_0x5be7dc(0x172),'strictFileInteractability',a55_0x5be7dc(0x148),'timeouts',a55_0x5be7dc(0x1c9),a55_0x5be7dc(0x198),a55_0x5be7dc(0x1bf),'acceptSslCert',a55_0x5be7dc(0x1d3),a55_0x5be7dc(0x1a2),a55_0x5be7dc(0x130),a55_0x5be7dc(0x1c6)],a55_0x1cd921['ROOT_REGEX']=/^[\w-]+:.*$/,a55_0x1cd921['PRIVATE_DOMAIN_OR_IP_REGEX']=[/localhost/,/bs-local.com/,/^127\./,/^10\./,/^172\.1[6-9]\./,/^172\.2[0-9]\./,/^172\.3[0-1]\./,/^192\.168\./],a55_0x1cd921[a55_0x5be7dc(0x214)]=a55_0x5be7dc(0x15e),a55_0x1cd921['BROWSERSTACK_API_URL']=a55_0x5be7dc(0x205),a55_0x1cd921[a55_0x5be7dc(0x129)]=a55_0x5be7dc(0x212),a55_0x1cd921[a55_0x5be7dc(0x1af)]=a55_0x5be7dc(0x165),a55_0x1cd921['FUNNEL_INSTRUMENTATION_API_URL']=a55_0x5be7dc(0x1b8),a55_0x1cd921[a55_0x5be7dc(0x1b7)]=[a55_0x5be7dc(0x1ef),a55_0x5be7dc(0x219)],a55_0x1cd921[a55_0x5be7dc(0x1d9)]=[a55_0x5be7dc(0x1e7),a55_0x5be7dc(0x219)],a55_0x1cd921[a55_0x5be7dc(0x1ab)]=[a55_0x5be7dc(0x219)],a55_0x1cd921['OBSERVABILITY_UPLOAD_URL']=a55_0x5be7dc(0x16b),a55_0x1cd921[a55_0x5be7dc(0x163)]=[a55_0x5be7dc(0x20d),a55_0x5be7dc(0x1ca)],a55_0x1cd921[a55_0x5be7dc(0x1cc)]=[a55_0x5be7dc(0x1ef)],a55_0x1cd921[a55_0x5be7dc(0x21d)]=a55_0x5be7dc(0x204),a55_0x1cd921['BROWSERSTACK_APP_AUTOMATE_URL']=a55_0x5be7dc(0x1f8),a55_0x1cd921[a55_0x5be7dc(0x209)]=[a55_0x5be7dc(0x1e7)],a55_0x1cd921['NUDGE_LOCAL_ERRORS']=['ERR_FAILED',a55_0x5be7dc(0x166),a55_0x5be7dc(0x188),'ERR_NETWORK_CHANGED',a55_0x5be7dc(0x182),a55_0x5be7dc(0x199),a55_0x5be7dc(0x17c),'ERR_CONNECTION_REFUSED','ERR_CONNECTION_ABORTED',a55_0x5be7dc(0x170),a55_0x5be7dc(0x1aa),a55_0x5be7dc(0x21c),a55_0x5be7dc(0x1fe),'ERR_TUNNEL_CONNECTION_FAILED',a55_0x5be7dc(0x1e9),a55_0x5be7dc(0x206),a55_0x5be7dc(0x146),'ERR_PROXY_CONNECTION_FAILED',a55_0x5be7dc(0x1aa),a55_0x5be7dc(0x147),a55_0x5be7dc(0x1d0)],a55_0x1cd921['VALID_APP_EXTENSION']=[a55_0x5be7dc(0x207),a55_0x5be7dc(0x18b),a55_0x5be7dc(0x150)],a55_0x1cd921[a55_0x5be7dc(0x1b6)]=a55_0x5be7dc(0x1a6),a55_0x1cd921[a55_0x5be7dc(0x1b1)]='^[a-zA-Z0-9_.-]*/[a-zA-Z0-9_.-]*$',a55_0x1cd921[a55_0x5be7dc(0x16c)]=a55_0x5be7dc(0x203),a55_0x1cd921['PLAYWRIGHT_HUB_URL']=a55_0x5be7dc(0x173),a55_0x1cd921[a55_0x5be7dc(0x1ed)]=a55_0x2b1d03,a55_0x1cd921[a55_0x5be7dc(0x151)]=[a55_0x5be7dc(0x195),'mocha'],a55_0x1cd921[a55_0x5be7dc(0x191)]=a55_0x199544,a55_0x1cd921['AUTOLOGCAPTURE_NOTIFICATION']=a55_0x5be7dc(0x134),a55_0x1cd921[a55_0x5be7dc(0x1fa)]=a55_0x2cf352,a55_0x1cd921['MAX_GIT_META_DATA_SIZE_IN_BYTES']=0x40*0x400,a55_0x1cd921[a55_0x5be7dc(0x17a)]=a55_0x5be7dc(0x1f3),a55_0x1cd921[a55_0x5be7dc(0x161)]='Upgrade\x20required',a55_0x1cd921['TCG_DOWN']=a55_0x5be7dc(0x15f),a55_0x1cd921[a55_0x5be7dc(0x12b)]=a55_0x5be7dc(0x1a4),a55_0x1cd921[a55_0x5be7dc(0x1c4)]=a55_0x5be7dc(0x1e8),a55_0x1cd921[a55_0x5be7dc(0x202)]=a55_0x5be7dc(0x12e),a55_0x1cd921[a55_0x5be7dc(0x1db)]=a55_0x5be7dc(0x1de),a55_0x1cd921[a55_0x5be7dc(0x1a1)]='SDKTestTcgProxyFailure',a55_0x1cd921[a55_0x5be7dc(0x12f)]=0x1388,a55_0x1cd921[a55_0x5be7dc(0x141)]=0x1388,a55_0x1cd921['HEALING_LOG_DATA_TIMEOUT']=0x1388,a55_0x1cd921['HEALING_FAILURE_TIMEOUT']=0x1388,a55_0x1cd921['POLL_HEALING_RESULT_TIMEOUT']=0xc350,a55_0x1cd921['TEST_FRAMEWORK_HOOK_TIMEOUT']=a55_0xc55dc9,a55_0x1cd921[a55_0x5be7dc(0x156)]=a55_0x466b55,a55_0x1cd921[a55_0x5be7dc(0x193)]=[a55_0x5be7dc(0x1b9),'codeceptjs'],a55_0x1cd921[a55_0x5be7dc(0x177)]=a55_0x2322a0,a55_0x1cd921[a55_0x5be7dc(0x1d4)]=a55_0x5be7dc(0x1a7),a55_0x1cd921[a55_0x5be7dc(0x213)]=a55_0x5be7dc(0x168),a55_0x1cd921[a55_0x5be7dc(0x1ee)]=a55_0x5be7dc(0x145),a55_0x1cd921['BSTACK_ATS_URL']=a55_0x5be7dc(0x138),a55_0x1cd921['O11Y_URL']='https://automation.browserstack.com',a55_0x1cd921[a55_0x5be7dc(0x137)]=a55_0x5be7dc(0x131),a55_0x1cd921[a55_0x5be7dc(0x14d)]=a55_0x5be7dc(0x19e),a55_0x1cd921[a55_0x5be7dc(0x208)]=['playwright',a55_0x5be7dc(0x1e1),a55_0x5be7dc(0x195)],a55_0x1cd921[a55_0x5be7dc(0x127)]=[a55_0x5be7dc(0x17d),a55_0x5be7dc(0x164),a55_0x5be7dc(0x14a),'A11Y_SAVE_RESULTS',a55_0x5be7dc(0x178),a55_0x5be7dc(0x159)],a55_0x1cd921[a55_0x5be7dc(0x217)]=a55_0x5be7dc(0x217),a55_0x1cd921[a55_0x5be7dc(0x18d)]=['self\x20signed\x20certificate','unable\x20to\x20verify\x20the\x20first\x20certificate','certificate\x20has\x20expired',a55_0x5be7dc(0x190),a55_0x5be7dc(0x1c2),a55_0x5be7dc(0x157)],a55_0x1cd921[a55_0x5be7dc(0x14e)]=[a55_0x5be7dc(0x181),a55_0x5be7dc(0x157),a55_0x5be7dc(0x216),a55_0x5be7dc(0x162),a55_0x5be7dc(0x1c2),a55_0x5be7dc(0x1ae)],a55_0x1cd921[a55_0x5be7dc(0x1e5)]=[0x193,0x197,0x1f6,0x1f7,0x1f8],a55_0x1cd921[a55_0x5be7dc(0x140)]=a55_0x1cf246,a55_0x1cd921[a55_0x5be7dc(0x13c)]=[a55_0x5be7dc(0x1f9),'GLOBAL_AGENT_NO_PROXY',a55_0x5be7dc(0x1cf)],a55_0x1cd921[a55_0x5be7dc(0x20a)]=['ETXTBSY',a55_0x5be7dc(0x194)],module[a55_0x5be7dc(0x20c)]=a55_0x1cd921;const _env=(process[a55_0x5be7dc(0x1f2)]['BROWSERSTACK_ENV']||'prod')[a55_0x5be7dc(0x1a0)]();if(_env===a55_0x5be7dc(0x19c)||_env===a55_0x5be7dc(0x16f)){const sEvzKD=a55_0x5be7dc(0x1bc)[a55_0x5be7dc(0x218)]('|');let SuqggG=0x0;while(!![]){switch(sEvzKD[SuqggG++]){case'0':module[a55_0x5be7dc(0x20c)]['PLAYWRIGHT_HUB_URL']=a55_0x5be7dc(0x196);continue;case'1':module['exports']['BROWSERSTACK_APP_AUTOMATE_URL']=a55_0x5be7dc(0x169);continue;case'2':module[a55_0x5be7dc(0x20c)][a55_0x5be7dc(0x174)]=a55_0x5be7dc(0x186);continue;case'3':module[a55_0x5be7dc(0x20c)][a55_0x5be7dc(0x14c)]='https://observability-devtestops.bsstag.com';continue;case'4':module[a55_0x5be7dc(0x20c)][a55_0x5be7dc(0x1e3)]=a55_0x5be7dc(0x13f);continue;case'5':module[a55_0x5be7dc(0x20c)][a55_0x5be7dc(0x18c)]=/^hub(-[a-z]+)?\.bsstag\.com$/;continue;case'6':module[a55_0x5be7dc(0x20c)][a55_0x5be7dc(0x129)]=a55_0x5be7dc(0x13a);continue;case'7':module[a55_0x5be7dc(0x20c)]['EDS_URL']=a55_0x5be7dc(0x1ac);continue;case'8':module[a55_0x5be7dc(0x20c)]['BROWSERSTACK_API_URL']=a55_0x5be7dc(0x1a3);continue;case'9':module[a55_0x5be7dc(0x20c)][a55_0x5be7dc(0x1ee)]='bsstag.com';continue;case'10':module['exports'][a55_0x5be7dc(0x1f5)]=a55_0x5be7dc(0x15b);continue;case'11':module[a55_0x5be7dc(0x20c)]['BROWSERSTACK']='bsstag';continue;case'12':module[a55_0x5be7dc(0x20c)][a55_0x5be7dc(0x21d)]=a55_0x5be7dc(0x1da);continue;}break;}}else{if(_env===a55_0x5be7dc(0x1ec)||_env===a55_0x5be7dc(0x20f)){const ohAxOG='8|1|12|11|4|6|10|3|9|5|0|7|2'[a55_0x5be7dc(0x218)]('|');let jAZVqz=0x0;while(!![]){switch(ohAxOG[jAZVqz++]){case'0':module[a55_0x5be7dc(0x20c)]['OBSERVABILITY_UPLOAD_URL']=a55_0x5be7dc(0x1f7);continue;case'1':module[a55_0x5be7dc(0x20c)][a55_0x5be7dc(0x211)]=a55_0x5be7dc(0x17e);continue;case'2':module[a55_0x5be7dc(0x20c)][a55_0x5be7dc(0x14d)]=a55_0x5be7dc(0x1d6);continue;case'3':module[a55_0x5be7dc(0x20c)][a55_0x5be7dc(0x19f)]=a55_0x5be7dc(0x153);continue;case'4':module[a55_0x5be7dc(0x20c)][a55_0x5be7dc(0x21d)]=a55_0x5be7dc(0x1df);continue;case'5':module[a55_0x5be7dc(0x20c)]['O11Y_URL']=a55_0x5be7dc(0x13e);continue;case'6':module[a55_0x5be7dc(0x20c)][a55_0x5be7dc(0x180)]=a55_0x5be7dc(0x1ea);continue;case'7':module[a55_0x5be7dc(0x20c)]['EDS_URL']='https://edsstaging.bsstag.com';continue;case'8':module[a55_0x5be7dc(0x20c)][a55_0x5be7dc(0x1e3)]=a55_0x5be7dc(0x13d);continue;case'9':module[a55_0x5be7dc(0x20c)][a55_0x5be7dc(0x1ee)]=a55_0x5be7dc(0x1ce);continue;case'10':module['exports'][a55_0x5be7dc(0x129)]=a55_0x5be7dc(0x17e);continue;case'11':module[a55_0x5be7dc(0x20c)][a55_0x5be7dc(0x18c)]=/^hub(-[a-z]+)?\.bsstag\.com$/;continue;case'12':module[a55_0x5be7dc(0x20c)][a55_0x5be7dc(0x174)]=a55_0x5be7dc(0x1c0);continue;}break;}}}
1
+ const a55_0x5454b8=a55_0x2442;(function(_0x340671,_0x4f2c55){const _0x4115f8=a55_0x2442,_0x4319a1=_0x340671();while(!![]){try{const _0x4a7a21=parseInt(_0x4115f8(0xff))/0x1*(-parseInt(_0x4115f8(0x1b9))/0x2)+parseInt(_0x4115f8(0x196))/0x3+-parseInt(_0x4115f8(0x168))/0x4+parseInt(_0x4115f8(0x134))/0x5*(-parseInt(_0x4115f8(0x15f))/0x6)+parseInt(_0x4115f8(0x10f))/0x7+parseInt(_0x4115f8(0x1df))/0x8*(parseInt(_0x4115f8(0x1b2))/0x9)+-parseInt(_0x4115f8(0x1d7))/0xa;if(_0x4a7a21===_0x4f2c55)break;else _0x4319a1['push'](_0x4319a1['shift']());}catch(_0x242ec1){_0x4319a1['push'](_0x4319a1['shift']());}}}(a55_0x23ed,0x2e17d));const a55_0x256e48={};a55_0x256e48[a55_0x5454b8(0x1b5)]=a55_0x5454b8(0x143),a55_0x256e48['HELP']=a55_0x5454b8(0x1a6);const a55_0x3d676f={};a55_0x3d676f[a55_0x5454b8(0x1b5)]=a55_0x5454b8(0x104);const a55_0x51dfb3={};a55_0x51dfb3['INFO']=a55_0x5454b8(0x17b);const a55_0x47e3d8={};a55_0x47e3d8[a55_0x5454b8(0x1b5)]=a55_0x5454b8(0x1ae);const a55_0x552002={};a55_0x552002[a55_0x5454b8(0x1b5)]=a55_0x5454b8(0x1bc);const a55_0x50d542={};a55_0x50d542[a55_0x5454b8(0x1b5)]=a55_0x5454b8(0x18d);const a55_0x2feb17={};a55_0x2feb17[a55_0x5454b8(0x1b5)]=a55_0x5454b8(0x1bb);const a55_0x2217d5={};a55_0x2217d5[a55_0x5454b8(0x1b5)]=a55_0x5454b8(0x1e3);const a55_0xfcdbba={};a55_0xfcdbba['INFO']='Create\x20and\x20Manage\x20scalable\x20browser\x20automation\x20grids\x20for\x20Functional\x20Testing';const a55_0x3023f9={};a55_0x3023f9[a55_0x5454b8(0x1b5)]='Connect\x20on\x20prem\x20instances\x20to\x20Browserstack';const a55_0x1c4a42={};a55_0x1c4a42[a55_0x5454b8(0x163)]='Playwright',a55_0x1c4a42[a55_0x5454b8(0x155)]=a55_0x5454b8(0x145),a55_0x1c4a42[a55_0x5454b8(0x132)]='jest',a55_0x1c4a42[a55_0x5454b8(0x1d4)]=a55_0x5454b8(0x10a),a55_0x1c4a42['CODECEPT_CUCUMBER']=a55_0x5454b8(0x1d9),a55_0x1c4a42[a55_0x5454b8(0x16d)]='cucumber',a55_0x1c4a42[a55_0x5454b8(0x1a9)]=a55_0x5454b8(0x15b);const a55_0x2868a7={};a55_0x2868a7[a55_0x5454b8(0x1c5)]='Invalid\x20property\x20added\x20for\x20the\x20%s\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file',a55_0x2868a7[a55_0x5454b8(0x147)]=a55_0x5454b8(0x19e),a55_0x2868a7[a55_0x5454b8(0x135)]=a55_0x5454b8(0x120),a55_0x2868a7[a55_0x5454b8(0x153)]='Invalid\x20value\x20for\x20\x27%s\x27\x20key\x20in\x20the\x20yml\x20file';const a55_0x189f77={};a55_0x189f77[a55_0x5454b8(0x1a5)]=a55_0x5454b8(0x101),a55_0x189f77[a55_0x5454b8(0x1ce)]='module';const a55_0x2a5203={};a55_0x2a5203[a55_0x5454b8(0x158)]=0xfde8,a55_0x2a5203['Cucumber-JS']=0xfde8,a55_0x2a5203[a55_0x5454b8(0x1b7)]=0x186a0;const a55_0x299dc3={};function a55_0x23ed(){const _0x1a4559=['APP_AUTOMATE_PRODUCTS','automation','accessibilityOptions','shows\x20version\x20information','APP_AUTOMATE','mocha','BSTACK_ATS_URL','uniqueDependency','PLAYWRIGHT_TRACE_LOGS','playwright','Project\x20and\x20debug\x20logs\x20are\x20captured\x20by\x20default.\x20To\x20disable,\x20set\x20disableAutoCaptureLogs:\x20true\x20in\x20config.','root','ERR_ADDRESS_UNREACHABLE','PRIVATE_DOMAIN_OR_IP_REGEX','https://hub-devtestops.bsstag.com/wd/hub','browserstack','platforms','wss://cdp.browserstack.com/playwright?caps=','testContextOptions','invalidTestInputType','AI_ENABLED_FRAMEWORK','MOCHA','testReportingOptions','ROOT_REGEX','Mocha','bsstag','A11Y_SCAN','vanilla','percyScreenshot','unhandledPromptBehavior','unable\x20to\x20verify\x20the\x20first\x20certificate','1113846LVWGlT','split','proxyUrl','pre-prod','PLAYWRIGHT','PLAYWRIGHT_HUB_URL','APP_UPLOAD_URL','BROWSERSTACK_AUTOMATE_URL','httpProxy','9540TBqxAi','FUNNEL_INSTRUMENTATION_API_URL','testOrchestrationOptions','https://api-preprod.bsstag.com','turboScaleOptions','CUCUMBER','UNABLE_TO_GET_ISSUER_CERT_LOCALLY','https://edsstaging.bsstag.com','8|3|6|4|5|2|12|11|10|0|7|9|1','browserVersion','browserstackAutomation','exports','localProxyUser','proxySettings','BSTACK_DELTA','PERCY_SUPPORTED_FRAMEWORKS','USER_CONFIG_DETAILS_PATH','prod','SHAREABLE_ID_REGEX','Run\x20mocha\x20tests\x20on\x20browserstack','^[a-zA-Z0-9_.-]*$','userName','SELF_SIGNED_CERT_IN_CHAIN','ETXTBSY','https://upload-observability-devtestops-ssi.bsstag.com','bsstag.com','NUDGE_LOCAL_ERRORS','hubUrl','proxyPass','SSL_ERROR_CODES','NIGHTWATCH','parallelsPerPlatform','ERR_PROXY_CONNECTION_FAILED','acceptInsecureCerts','ERR_SOCKS_CONNECTION_HOST_UNREACHABLE','pageLoadStrategy','https://upload-observability-preprod.bsstag.com','Run\x20nightwatch\x20tests\x20on\x20browserstack','TCG_AUTH_FAILURE','SSL_ERROR_MESSAGES','https://observability-devtestops.bsstag.com','BSTACK_URL','https://hub-preprod.bsstag.com/wd/hub','wss://cdp-preprod.bsstag.com/playwright?caps=','REDACTED_KEYS','SDKTestInvalidTcgAuthResponseWithUserImpact','854493SXpDlL','BROWSERSTACK','https://upload-observability.browserstack.com','browserstack.overridelocalInfo.userAuthToken','TCG_REGION','observability','SDKTestTcgtInitSuccessful','testReporting','name\x20property\x20must\x20be\x20unique\x20within\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','https://api-cloud.browserstack.com','edgeOptions','AI_PROXY_FAILURE','chromeOptions','httpsProxy','ERR_BLOCKED_BY_CLIENT','COMMONJS','Specify\x20--help\x20for\x20available\x20options','ERR_SOCKS_CONNECTION_FAILED','TCG_DOWN','VANILLA','stag','UNABLE_TO_VERIFY_LEAF_SIGNATURE','unable\x20to\x20get\x20local\x20issuer\x20certificate','ERR_ADDRESS_INVALID','Run\x20cucumber-js\x20tests\x20on\x20browserstack','testObservabilityOptions','browserstack.userName','ERR_NAME_NOT_RESOLVED','8901GKorFK','ROOT_CAPS','AI_INIT_FAILURE','INFO','GIT_META_DATA_TRUNCATED','Jest','ERR_CONNECTION_CLOSED','8QBKEEA','SDKTestTcgDownResponse','Run\x20playwright\x20tests\x20on\x20Browserstack','Run\x20js\x20tests\x20on\x20browserstack','https://automate-devtestops.bsstag.com/dashboard/v2/builds/','TEST_REPORTING_ANALYTICS','browserstackLocal','turboScale','AUTOMATE','GLOBAL_AGENT_HTTP_PROXY','...[TRUNCATED]','CERT_HAS_EXPIRED','invalidKeys','Upgrade\x20required','BINARY_BUSY_ERROR_CODES','[ClientTroubleShootingService]\x20The\x20SDK\x20is\x20unable\x20to\x20access\x20the\x20.browserstack\x20folder\x20in\x20your\x20home\x20directory.\x20Please\x20ensure\x20that\x20the\x20folder\x20exists\x20and\x20has\x20the\x20correct\x20permissions.','ERR_CONNECTION_FAILED','accessibility','strictFileInteractability','HEALING_LOG_DATA_TIMEOUT','https://api.browserstack.com','MODULE','OBSERVABILITY_UPLOAD_URL','cucumber','disableAutoCaptureLogs','customVariables','BROWSERSTACK_APP_AUTOMATE_URL','CODECEPT','Playwright','.apk','63540ExcYea','acceptSslCerts','codeceptjs-cucumber','testObservability','self\x20signed\x20certificate','7|11|3|1|12|0|8|9|10|5|4|6|2','A11Y_GET_RESULTS','O11Y_URL','752cVQGjB','accessKey','https://hub.browserstack.com/wd/hub','https://app-automate.browserstack.com/dashboard/v2/builds/','Run\x20codeceptjs\x20tests\x20on\x20browserstack','LOG_FILE_NAME','DEPTH_ZERO_SELF_SIGNED_CERT','GLOBAL_AGENT_NO_PROXY','VALID_APP_EXTENSION','localProxyPass','33863fGZNnS','app-automate','commonjs','BROWSERSTACK_API_URL','CLI_SUPPORTED_FRAMEWORKS','Run\x20jest\x20tests\x20on\x20browserstack','https://automation.browserstack.com','VERSION','OBSERVABILITY_SUPPORTED_FWS','percyOptions','automate','codeceptjs','toLowerCase','AUTOLOGCAPTURE_NOTIFICATION','timeouts','SDK_INSTRUMENTATION_CONFIG','985824dSIHPe','wss://cdp-devtestops.bsstag.com/playwright?caps=','CODECEPTJS','^[a-zA-Z0-9_.-]*/[a-zA-Z0-9_.-]*$','https://apidevtestops.bsstag.com','SDK-GEN-001','EDS_URL','jest','percyCaptureMode','SDKTestInitFailedResponse','logLevel','https://eds.browserstack.com','ERR_NAME_RESOLUTION_FAILED','ATS_WSS_URL_REGEX','HUB_URL_REGEX','authToken','A11Y_GET_RESULTS_SUMMARY','name\x20and\x20testMatch\x20are\x20required\x20for\x20the\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','browserstack.accessKey','A11Y_SAVE_RESULTS','ERR_SOCKET_NOT_CONNECTED','https://tcg-preprod.bsstag.com','ERR_TLS_CERT_ALTNAME_INVALID','DEBUG_LOG_FILE_NAME','rerunTests','sdk/v1/event','TCG_URL','browserStackLocalOptions','.aab','PACKAGE_TYPE','AUTOMATION_LOG_COMMANDS','TCG_AUTH_TIMEOUT','browserstack-ats.com','CLIENT_TROUBLESHOOTING_HASH','HST','JEST','UPDATED_CLI_ENDPOINT','5ogrNOu','mandatoryDependency','ERR_FAILED','ObservabilitySync','ATS_HUB_URL_REGEX','ERR_TIMED_OUT','proxyUser','proxyPassword','framework','browserName','use','sdk/v1/update_cli'];a55_0x23ed=function(){return _0x1a4559;};return a55_0x23ed();}function a55_0x2442(_0x3b40f7,_0x25cdfc){const _0x23edc0=a55_0x23ed();return a55_0x2442=function(_0x24425b,_0x6e0a62){_0x24425b=_0x24425b-0xfe;let _0x5916d0=_0x23edc0[_0x24425b];return _0x5916d0;},a55_0x2442(_0x3b40f7,_0x25cdfc);}a55_0x299dc3[a55_0x5454b8(0x14b)]=[a55_0x5454b8(0x17d),a55_0x5454b8(0x1e0),a55_0x5454b8(0x167),'httpsProxy','customVariables',a55_0x5454b8(0x1b0),a55_0x5454b8(0x121),a55_0x5454b8(0x13b),a55_0x5454b8(0x11e),a55_0x5454b8(0x161),a55_0x5454b8(0x199)],a55_0x299dc3[a55_0x5454b8(0x12a)]=[a55_0x5454b8(0x13a),a55_0x5454b8(0x184),a55_0x5454b8(0x174),a55_0x5454b8(0xfe)];const a55_0x4f48af={};a55_0x4f48af[a55_0x5454b8(0x1bf)]='browserstackLocal',a55_0x4f48af[a55_0x5454b8(0x12a)]='browserStackLocalOptions',a55_0x4f48af['localOptions']=a55_0x5454b8(0x12a),a55_0x4f48af[a55_0x5454b8(0x187)]='parallelsPerPlatform',a55_0x4f48af[a55_0x5454b8(0x150)]=a55_0x5454b8(0x150),a55_0x4f48af[a55_0x5454b8(0x119)]=a55_0x5454b8(0x119),a55_0x4f48af[a55_0x5454b8(0x167)]=a55_0x5454b8(0x167),a55_0x4f48af[a55_0x5454b8(0x1a3)]=a55_0x5454b8(0x1a3),a55_0x4f48af[a55_0x5454b8(0x13c)]='framework',a55_0x4f48af[a55_0x5454b8(0x152)]='testContextOptions',a55_0x4f48af[a55_0x5454b8(0x1da)]=a55_0x5454b8(0x1da),a55_0x4f48af[a55_0x5454b8(0x19d)]=a55_0x5454b8(0x19d),a55_0x4f48af[a55_0x5454b8(0x1af)]=a55_0x5454b8(0x1af),a55_0x4f48af[a55_0x5454b8(0x156)]=a55_0x5454b8(0x156),a55_0x4f48af[a55_0x5454b8(0x1d2)]=a55_0x5454b8(0x1d2),a55_0x4f48af[a55_0x5454b8(0x141)]=a55_0x5454b8(0x172),a55_0x4f48af[a55_0x5454b8(0x172)]=a55_0x5454b8(0x172),a55_0x4f48af['rerunTests']=a55_0x5454b8(0x127),a55_0x4f48af['percy']='percy',a55_0x4f48af[a55_0x5454b8(0x108)]=a55_0x5454b8(0x108),a55_0x4f48af[a55_0x5454b8(0x117)]='percyCaptureMode',a55_0x4f48af[a55_0x5454b8(0x1d1)]='disableAutoCaptureLogs',a55_0x4f48af[a55_0x5454b8(0x1ca)]=a55_0x5454b8(0x1ca),a55_0x4f48af[a55_0x5454b8(0x142)]=a55_0x5454b8(0x142),a55_0x4f48af[a55_0x5454b8(0x1c0)]=a55_0x5454b8(0x1c0),a55_0x4f48af['turboScaleOptions']=a55_0x5454b8(0x16c),a55_0x4f48af[a55_0x5454b8(0x175)]=a55_0x5454b8(0x175),a55_0x4f48af[a55_0x5454b8(0x16a)]=a55_0x5454b8(0x16a);const a55_0x1e87db={};a55_0x1e87db['.browserstack\x20folder\x20not\x20accessible']=[a55_0x5454b8(0x114),a55_0x5454b8(0x1c8)];const a55_0x216655={};a55_0x216655[a55_0x5454b8(0x106)]=a55_0x256e48,a55_0x216655[a55_0x5454b8(0x132)]=a55_0x3d676f,a55_0x216655[a55_0x5454b8(0x155)]=a55_0x51dfb3,a55_0x216655[a55_0x5454b8(0x16d)]=a55_0x47e3d8,a55_0x216655[a55_0x5454b8(0x1a9)]=a55_0x552002,a55_0x216655[a55_0x5454b8(0x186)]=a55_0x50d542,a55_0x216655['PLAYWRIGHT']=a55_0x2feb17,a55_0x216655[a55_0x5454b8(0x111)]=a55_0x2217d5,a55_0x216655[a55_0x5454b8(0x131)]=a55_0xfcdbba,a55_0x216655['INTEGRATIONS']=a55_0x3023f9,a55_0x216655[a55_0x5454b8(0x176)]=0xf*0x3c*0x3e8,a55_0x216655['hubUrl']=a55_0x5454b8(0x1e1),a55_0x216655['TCG_URL']='https://tcg.browserstack.com',a55_0x216655[a55_0x5454b8(0x19a)]=a55_0x5454b8(0x13e),a55_0x216655[a55_0x5454b8(0x11d)]=/^hub(-[a-z]+)?\.browserstack\.com$/,a55_0x216655[a55_0x5454b8(0x138)]=/^[a-zA-Z0-9]+-hub\.browserstack-ats\.com$/,a55_0x216655[a55_0x5454b8(0x11c)]=/wss?:\/\/(?:[a-zA-Z0-9_-]+-)?hub(?:-ft)?\.browserstack(-ats)?\.com/,a55_0x216655[a55_0x5454b8(0x1b3)]=[a55_0x5454b8(0x189),a55_0x5454b8(0x18b),a55_0x5454b8(0x1cb),a55_0x5454b8(0x15d),a55_0x5454b8(0x10d),a55_0x5454b8(0x13d),a55_0x5454b8(0x171),a55_0x5454b8(0x1d8),'acceptSslCert',a55_0x5454b8(0x1a2),'firefoxOptions',a55_0x5454b8(0x1a0),'ieOptions'],a55_0x216655[a55_0x5454b8(0x157)]=/^[\w-]+:.*$/,a55_0x216655[a55_0x5454b8(0x14d)]=[/localhost/,/bs-local.com/,/^127\./,/^10\./,/^172\.1[6-9]\./,/^172\.2[0-9]\./,/^172\.3[0-1]\./,/^192\.168\./],a55_0x216655['EDS_URL']=a55_0x5454b8(0x11a),a55_0x216655['BROWSERSTACK_API_URL']=a55_0x5454b8(0x1cd),a55_0x216655[a55_0x5454b8(0x165)]=a55_0x5454b8(0x19f),a55_0x216655[a55_0x5454b8(0x133)]=a55_0x5454b8(0x13f),a55_0x216655[a55_0x5454b8(0x169)]=a55_0x5454b8(0x128),a55_0x216655['AUTOMATE_PRODUCTS']=[a55_0x5454b8(0x109),a55_0x5454b8(0x19b)],a55_0x216655[a55_0x5454b8(0x140)]=[a55_0x5454b8(0x100),a55_0x5454b8(0x19b)],a55_0x216655['PRODUCT_IF_NOT_BROWSERSTACK_INFRA']=[a55_0x5454b8(0x19b)],a55_0x216655['OBSERVABILITY_UPLOAD_URL']=a55_0x5454b8(0x198),a55_0x216655[a55_0x5454b8(0x107)]=[a55_0x5454b8(0x145),a55_0x5454b8(0x1d5)],a55_0x216655[a55_0x5454b8(0x1c1)]=['automate'],a55_0x216655[a55_0x5454b8(0x166)]='https://automate.browserstack.com/dashboard/v2/builds/',a55_0x216655[a55_0x5454b8(0x1d3)]=a55_0x5454b8(0x1e2),a55_0x216655[a55_0x5454b8(0x144)]=[a55_0x5454b8(0x100)],a55_0x216655[a55_0x5454b8(0x182)]=[a55_0x5454b8(0x136),a55_0x5454b8(0x139),a55_0x5454b8(0x1a4),'ERR_NETWORK_CHANGED',a55_0x5454b8(0x123),a55_0x5454b8(0x1b8),'ERR_CONNECTION_RESET','ERR_CONNECTION_REFUSED','ERR_CONNECTION_ABORTED',a55_0x5454b8(0x1c9),a55_0x5454b8(0x1b1),a55_0x5454b8(0x1ad),a55_0x5454b8(0x14c),'ERR_TUNNEL_CONNECTION_FAILED','ERR_CONNECTION_TIMED_OUT',a55_0x5454b8(0x1a7),a55_0x5454b8(0x18a),a55_0x5454b8(0x188),a55_0x5454b8(0x1b1),a55_0x5454b8(0x11b),'ERR_MANDATORY_PROXY_CONFIGURATION_FAILED'],a55_0x216655[a55_0x5454b8(0x1e7)]=[a55_0x5454b8(0x1d6),a55_0x5454b8(0x12b),'.ipa'],a55_0x216655['CUSTOM_ID_REGEX']=a55_0x5454b8(0x17c),a55_0x216655[a55_0x5454b8(0x17a)]=a55_0x5454b8(0x112),a55_0x216655['CI_ARTIFACTS_PATH']='./browserstack-artifacts/',a55_0x216655['PLAYWRIGHT_HUB_URL']=a55_0x5454b8(0x151),a55_0x216655['FRAMEWORKS']=a55_0x1c4a42,a55_0x216655[a55_0x5454b8(0x177)]=[a55_0x5454b8(0x116),a55_0x5454b8(0x145)],a55_0x216655['PLAYWRIGHT_CONFIG_OPTION_ERRORS']=a55_0x2868a7,a55_0x216655[a55_0x5454b8(0x10c)]=a55_0x5454b8(0x14a),a55_0x216655[a55_0x5454b8(0x12c)]=a55_0x189f77,a55_0x216655['MAX_GIT_META_DATA_SIZE_IN_BYTES']=0x40*0x400,a55_0x216655[a55_0x5454b8(0x1b6)]=a55_0x5454b8(0x1c3),a55_0x216655['UPGRADE_REQUIRED']=a55_0x5454b8(0x1c6),a55_0x216655[a55_0x5454b8(0x1a8)]=a55_0x5454b8(0x1ba),a55_0x216655['INVALID_INIT_RESP_WITH_USER_IMPACT']=a55_0x5454b8(0x195),a55_0x216655[a55_0x5454b8(0x18e)]='SDKTestTcgAuthFailure',a55_0x216655['AI_INIT_SUCCESSFUL']=a55_0x5454b8(0x19c),a55_0x216655[a55_0x5454b8(0x1b4)]=a55_0x5454b8(0x118),a55_0x216655[a55_0x5454b8(0x1a1)]='SDKTestTcgProxyFailure',a55_0x216655[a55_0x5454b8(0x12e)]=0x1388,a55_0x216655['SET_TCG_TOKEN_TIMEOUT']=0x1388,a55_0x216655[a55_0x5454b8(0x1cc)]=0x1388,a55_0x216655['HEALING_FAILURE_TIMEOUT']=0x1388,a55_0x216655['POLL_HEALING_RESULT_TIMEOUT']=0xc350,a55_0x216655['TEST_FRAMEWORK_HOOK_TIMEOUT']=a55_0x2a5203,a55_0x216655[a55_0x5454b8(0x194)]=a55_0x299dc3,a55_0x216655[a55_0x5454b8(0x154)]=[a55_0x5454b8(0x15b),'codeceptjs'],a55_0x216655[a55_0x5454b8(0x10e)]=a55_0x4f48af,a55_0x216655[a55_0x5454b8(0x1e4)]='/usage.log',a55_0x216655[a55_0x5454b8(0x126)]='/usage-debug.log',a55_0x216655[a55_0x5454b8(0x191)]='browserstack.com',a55_0x216655[a55_0x5454b8(0x146)]=a55_0x5454b8(0x12f),a55_0x216655[a55_0x5454b8(0x1de)]=a55_0x5454b8(0x105),a55_0x216655[a55_0x5454b8(0x1be)]='TEST\x20REPORTING\x20AND\x20ANALYTICS',a55_0x216655[a55_0x5454b8(0x197)]=a55_0x5454b8(0x14f),a55_0x216655[a55_0x5454b8(0x103)]=[a55_0x5454b8(0x149),a55_0x5454b8(0x1d0),a55_0x5454b8(0x116)],a55_0x216655[a55_0x5454b8(0x12d)]=[a55_0x5454b8(0x15a),a55_0x5454b8(0x11f),a55_0x5454b8(0x1dd),a55_0x5454b8(0x122),a55_0x5454b8(0x15c),a55_0x5454b8(0x137)],a55_0x216655[a55_0x5454b8(0x148)]=a55_0x5454b8(0x148),a55_0x216655[a55_0x5454b8(0x18f)]=[a55_0x5454b8(0x1db),a55_0x5454b8(0x15e),'certificate\x20has\x20expired',a55_0x5454b8(0x1ac),a55_0x5454b8(0x125),'DEPTH_ZERO_SELF_SIGNED_CERT'],a55_0x216655[a55_0x5454b8(0x185)]=[a55_0x5454b8(0x17e),a55_0x5454b8(0x1e5),a55_0x5454b8(0x1ab),a55_0x5454b8(0x1c4),a55_0x5454b8(0x125),a55_0x5454b8(0x16e)],a55_0x216655['CONNECTIVITY_ISSUE_ERROR_CODES']=[0x193,0x197,0x1f6,0x1f7,0x1f8],a55_0x216655[a55_0x5454b8(0x130)]=a55_0x1e87db,a55_0x216655['INTERNALLY_USED_ENV_VARS']=[a55_0x5454b8(0x1c2),a55_0x5454b8(0x1e6),a55_0x5454b8(0x178)],a55_0x216655[a55_0x5454b8(0x1c7)]=[a55_0x5454b8(0x17f),'EBUSY'],module['exports']=a55_0x216655;const _env=(process['env']['BROWSERSTACK_ENV']||a55_0x5454b8(0x179))[a55_0x5454b8(0x10b)]();if(_env==='staging'||_env===a55_0x5454b8(0x1aa)){const SNmJXF=a55_0x5454b8(0x170)['split']('|');let TOIaNS=0x0;while(!![]){switch(SNmJXF[TOIaNS++]){case'0':module[a55_0x5454b8(0x173)]['O11Y_URL']=a55_0x5454b8(0x190);continue;case'1':module[a55_0x5454b8(0x173)]['BROWSERSTACK']='bsstag';continue;case'2':module['exports'][a55_0x5454b8(0x1d3)]='https://app-automate-devtestops.bsstag.com/dashboard/v2/builds/';continue;case'3':module[a55_0x5454b8(0x173)][a55_0x5454b8(0x102)]=a55_0x5454b8(0x113);continue;case'4':module[a55_0x5454b8(0x173)][a55_0x5454b8(0x11d)]=/^hub(-[a-z]+)?\.bsstag\.com$/;continue;case'5':module[a55_0x5454b8(0x173)][a55_0x5454b8(0x166)]=a55_0x5454b8(0x1bd);continue;case'6':module[a55_0x5454b8(0x173)][a55_0x5454b8(0x129)]='https://tcg.bsstag.com';continue;case'7':module[a55_0x5454b8(0x173)][a55_0x5454b8(0x1cf)]=a55_0x5454b8(0x180);continue;case'8':module[a55_0x5454b8(0x173)][a55_0x5454b8(0x183)]=a55_0x5454b8(0x14e);continue;case'9':module[a55_0x5454b8(0x173)][a55_0x5454b8(0x115)]='https://edsstaging.bsstag.com';continue;case'10':module[a55_0x5454b8(0x173)][a55_0x5454b8(0x191)]=a55_0x5454b8(0x181);continue;case'11':module[a55_0x5454b8(0x173)][a55_0x5454b8(0x164)]=a55_0x5454b8(0x110);continue;case'12':module['exports'][a55_0x5454b8(0x165)]='https://api-cloud-devtestops.bsstag.com';continue;}break;}}else{if(_env==='preprod'||_env===a55_0x5454b8(0x162)){const PyReeP=a55_0x5454b8(0x1dc)[a55_0x5454b8(0x160)]('|');let SLVFho=0x0;while(!![]){switch(PyReeP[SLVFho++]){case'0':module[a55_0x5454b8(0x173)][a55_0x5454b8(0x1d3)]='https://app-automate-preprod.bsstag.com/dashboard/v2/builds/';continue;case'1':module[a55_0x5454b8(0x173)][a55_0x5454b8(0x11d)]=/^hub(-[a-z]+)?\.bsstag\.com$/;continue;case'2':module[a55_0x5454b8(0x173)][a55_0x5454b8(0x197)]=a55_0x5454b8(0x159);continue;case'3':module[a55_0x5454b8(0x173)]['TCG_URL']=a55_0x5454b8(0x124);continue;case'4':module[a55_0x5454b8(0x173)][a55_0x5454b8(0x1cf)]=a55_0x5454b8(0x18c);continue;case'5':module[a55_0x5454b8(0x173)][a55_0x5454b8(0x1de)]='https://automation-preprod.bsstag.com';continue;case'6':module[a55_0x5454b8(0x173)][a55_0x5454b8(0x115)]=a55_0x5454b8(0x16f);continue;case'7':module[a55_0x5454b8(0x173)][a55_0x5454b8(0x183)]=a55_0x5454b8(0x192);continue;case'8':module['exports']['APP_UPLOAD_URL']=a55_0x5454b8(0x16b);continue;case'9':module['exports'][a55_0x5454b8(0x164)]=a55_0x5454b8(0x193);continue;case'10':module[a55_0x5454b8(0x173)][a55_0x5454b8(0x191)]=a55_0x5454b8(0x181);continue;case'11':module[a55_0x5454b8(0x173)][a55_0x5454b8(0x102)]=a55_0x5454b8(0x16b);continue;case'12':module[a55_0x5454b8(0x173)][a55_0x5454b8(0x166)]='https://automate-preprod.bsstag.com/dashboard/v2/builds/';continue;}break;}}}
@@ -1 +1 @@
1
- function a56_0xf798(_0x56cd2b,_0x2aedf0){const _0x12df7f=a56_0x12df();return a56_0xf798=function(_0xf798ff,_0x265013){_0xf798ff=_0xf798ff-0x7e;let _0x276af4=_0x12df7f[_0xf798ff];return _0x276af4;},a56_0xf798(_0x56cd2b,_0x2aedf0);}const a56_0x18eacc=a56_0xf798;function a56_0x12df(){const _0x1683e1=['data','7516866vJvRve','./logReportingAPI','41854239OwtMMZ','8200688dnMtLH','11084KQviyE','level','1925aaseTS','levelStr','3582852WozorB','configure','1905522BuDqLp','log','7OHTgvv','type','timezoneOffset','join','layout','326492iMxsUb'];a56_0x12df=function(){return _0x1683e1;};return a56_0x12df();}(function(_0x5aba96,_0x346335){const _0x268372=a56_0xf798,_0x2e1381=_0x5aba96();while(!![]){try{const _0xf0668c=-parseInt(_0x268372(0x83))/0x1+-parseInt(_0x268372(0x8f))/0x2+-parseInt(_0x268372(0x8d))/0x3+parseInt(_0x268372(0x89))/0x4*(-parseInt(_0x268372(0x8b))/0x5)+-parseInt(_0x268372(0x85))/0x6+parseInt(_0x268372(0x7e))/0x7*(parseInt(_0x268372(0x88))/0x8)+parseInt(_0x268372(0x87))/0x9;if(_0xf0668c===_0x346335)break;else _0x2e1381['push'](_0x2e1381['shift']());}catch(_0x47fd08){_0x2e1381['push'](_0x2e1381['shift']());}}}(a56_0x12df,0xd76c6));const logReportingAPI=require(a56_0x18eacc(0x86)),BSTestOpsLogger=new logReportingAPI({});function BSTestOpsLog4JSAppender(_0x3af406,_0x58c636){return _0x2d07b9=>{const _0x3a6c51=a56_0xf798;BSTestOpsLogger[_0x3a6c51(0x90)]({'level':_0x2d07b9[_0x3a6c51(0x8a)]?_0x2d07b9['level'][_0x3a6c51(0x8c)]:null,'message':_0x2d07b9[_0x3a6c51(0x84)]?_0x2d07b9[_0x3a6c51(0x84)][_0x3a6c51(0x81)]('\x20'):null});};}exports[a56_0x18eacc(0x8e)]=(_0x26c03b,_0xd1de05)=>{const _0x1f4431=a56_0x18eacc,_0x5caa29={'SZaXY':function(_0x1c0a04,_0x85dde,_0x59783a){return _0x1c0a04(_0x85dde,_0x59783a);}};let _0x180e29=_0xd1de05['colouredLayout'];return _0x26c03b[_0x1f4431(0x82)]&&(_0x180e29=_0xd1de05[_0x1f4431(0x82)](_0x26c03b[_0x1f4431(0x82)][_0x1f4431(0x7f)],_0x26c03b[_0x1f4431(0x82)])),_0x5caa29['SZaXY'](BSTestOpsLog4JSAppender,_0x180e29,_0x26c03b[_0x1f4431(0x80)]);};
1
+ const a56_0x5d6f79=a56_0x2c3e;(function(_0x2b8e51,_0x3de9a8){const _0x1b77fc=a56_0x2c3e,_0x460da8=_0x2b8e51();while(!![]){try{const _0x125b06=parseInt(_0x1b77fc(0x76))/0x1*(parseInt(_0x1b77fc(0x69))/0x2)+-parseInt(_0x1b77fc(0x6c))/0x3+-parseInt(_0x1b77fc(0x77))/0x4*(-parseInt(_0x1b77fc(0x70))/0x5)+-parseInt(_0x1b77fc(0x7a))/0x6*(parseInt(_0x1b77fc(0x78))/0x7)+-parseInt(_0x1b77fc(0x6d))/0x8+-parseInt(_0x1b77fc(0x72))/0x9+parseInt(_0x1b77fc(0x67))/0xa;if(_0x125b06===_0x3de9a8)break;else _0x460da8['push'](_0x460da8['shift']());}catch(_0x59b86b){_0x460da8['push'](_0x460da8['shift']());}}}(a56_0x3f80,0x190ca));function a56_0x2c3e(_0xab105a,_0x203166){const _0x3f804c=a56_0x3f80();return a56_0x2c3e=function(_0x2c3e0b,_0x144dbc){_0x2c3e0b=_0x2c3e0b-0x66;let _0x1fd420=_0x3f804c[_0x2c3e0b];return _0x1fd420;},a56_0x2c3e(_0xab105a,_0x203166);}const logReportingAPI=require(a56_0x5d6f79(0x6e)),BSTestOpsLogger=new logReportingAPI({});function BSTestOpsLog4JSAppender(_0x46e1c1,_0x1ab17e){return _0x5b2296=>{const _0x41f981=a56_0x2c3e;BSTestOpsLogger[_0x41f981(0x66)]({'level':_0x5b2296[_0x41f981(0x6b)]?_0x5b2296[_0x41f981(0x6b)]['levelStr']:null,'message':_0x5b2296[_0x41f981(0x6a)]?_0x5b2296[_0x41f981(0x6a)][_0x41f981(0x73)]('\x20'):null});};}exports[a56_0x5d6f79(0x74)]=(_0x2bffc1,_0x483c2f)=>{const _0x1550a8=a56_0x5d6f79,_0x5738ec={'Rwttg':function(_0x41390f,_0x30807c,_0x3e43cf){return _0x41390f(_0x30807c,_0x3e43cf);}};let _0x4926e3=_0x483c2f[_0x1550a8(0x68)];return _0x2bffc1['layout']&&(_0x4926e3=_0x483c2f[_0x1550a8(0x79)](_0x2bffc1[_0x1550a8(0x79)][_0x1550a8(0x75)],_0x2bffc1['layout'])),_0x5738ec[_0x1550a8(0x6f)](BSTestOpsLog4JSAppender,_0x4926e3,_0x2bffc1[_0x1550a8(0x71)]);};function a56_0x3f80(){const _0x2331dc=['555993gsJiio','995520GpquQU','./logReportingAPI','Rwttg','375STOVqy','timezoneOffset','1167417pevFqa','join','configure','type','2oIXgjO','1944OcpeSO','28oHKcuW','layout','260346tRggeZ','log','6099160beMGFo','colouredLayout','69284HLKIxi','data','level'];a56_0x3f80=function(){return _0x2331dc;};return a56_0x3f80();}
@@ -1 +1 @@
1
- function a57_0x3a2f(){const _0x28d32b=['1813840iVksmo','5004ZpLrwu','log','emit','109294RvWphz','TRACE','1742195wNLTgB','winston-transport','160UhaGrM','3zyfTuM','bs:addLog:','toLowerCase','logToTestOps','INFO','460548AsYFvb','DEBUG','toISOString','1MmHYpp','6107410bHOxRt','nEFBl','2138628RDDVwf','WARN','debug','toUpperCase','error','../../helpers/test-observability/constants'];a57_0x3a2f=function(){return _0x28d32b;};return a57_0x3a2f();}const a57_0x3864ff=a57_0x4de7;(function(_0x15dd95,_0x6d38eb){const _0x4f1495=a57_0x4de7,_0x6a1891=_0x15dd95();while(!![]){try{const _0x5192a2=parseInt(_0x4f1495(0x123))/0x1*(-parseInt(_0x4f1495(0x116))/0x2)+parseInt(_0x4f1495(0x11b))/0x3*(-parseInt(_0x4f1495(0x120))/0x4)+-parseInt(_0x4f1495(0x118))/0x5+parseInt(_0x4f1495(0x126))/0x6+-parseInt(_0x4f1495(0x112))/0x7+parseInt(_0x4f1495(0x11a))/0x8*(-parseInt(_0x4f1495(0x113))/0x9)+parseInt(_0x4f1495(0x124))/0xa;if(_0x5192a2===_0x6d38eb)break;else _0x6a1891['push'](_0x6a1891['shift']());}catch(_0x10b959){_0x6a1891['push'](_0x6a1891['shift']());}}}(a57_0x3a2f,0x2ba1c));function a57_0x4de7(_0x322ebc,_0xc55d3c){const _0x3a2f49=a57_0x3a2f();return a57_0x4de7=function(_0x4de73a,_0x334d98){_0x4de73a=_0x4de73a-0x112;let _0x175337=_0x3a2f49[_0x4de73a];return _0x175337;},a57_0x4de7(_0x322ebc,_0xc55d3c);}const Transport=require(a57_0x3864ff(0x119)),{consoleHolder}=require(a57_0x3864ff(0x12b)),a57_0x48b5e0={};a57_0x48b5e0['INFO']='INFO',a57_0x48b5e0['ERROR']='ERROR',a57_0x48b5e0[a57_0x3864ff(0x121)]='DEBUG',a57_0x48b5e0[a57_0x3864ff(0x117)]=a57_0x3864ff(0x117),a57_0x48b5e0[a57_0x3864ff(0x127)]=a57_0x3864ff(0x127);const LOG_LEVELS=a57_0x48b5e0;class logPatcher extends Transport{constructor(_0x508e3a){super(_0x508e3a);}[a57_0x3864ff(0x11e)]=(_0x5c389a=LOG_LEVELS[a57_0x3864ff(0x11f)],_0xc368f7=[''])=>{const _0x4c935b=a57_0x3864ff,_0x466c84={};_0x466c84[_0x4c935b(0x125)]='TEST_LOG';const _0x3d23a7=_0x466c84;consoleHolder[_0x5c389a[_0x4c935b(0x11d)]()](..._0xc368f7),process[_0x4c935b(0x115)](_0x4c935b(0x11c)+process['pid'],{'timestamp':new Date()[_0x4c935b(0x122)](),'level':_0x5c389a[_0x4c935b(0x129)](),'message':'\x22'+_0xc368f7['join'](',\x20')+'\x22','kind':_0x3d23a7['nEFBl'],'http_response':{}});};['trace']=(..._0xeafd6a)=>{const _0x7eaf66=a57_0x3864ff;this[_0x7eaf66(0x11e)](LOG_LEVELS[_0x7eaf66(0x117)],_0xeafd6a);};[a57_0x3864ff(0x128)]=(..._0x21e374)=>{const _0x39470d=a57_0x3864ff;this[_0x39470d(0x11e)](LOG_LEVELS[_0x39470d(0x121)],_0x21e374);};['info']=(..._0x140fb3)=>{const _0x17fdf5=a57_0x3864ff;this[_0x17fdf5(0x11e)](LOG_LEVELS[_0x17fdf5(0x11f)],_0x140fb3);};['warn']=(..._0x2841a9)=>{const _0xb6f515=a57_0x3864ff;this[_0xb6f515(0x11e)](LOG_LEVELS[_0xb6f515(0x127)],_0x2841a9);};[a57_0x3864ff(0x12a)]=(..._0xf167a2)=>{const _0x17bd12=a57_0x3864ff;this[_0x17bd12(0x11e)](LOG_LEVELS['ERROR'],_0xf167a2);};[a57_0x3864ff(0x114)]=(..._0x42a8f0)=>{const _0x2bcfb5=a57_0x3864ff;this['logToTestOps'](LOG_LEVELS[_0x2bcfb5(0x11f)],_0x42a8f0);};};module['exports']=logPatcher;
1
+ function a57_0x40f3(){const _0x255dcf=['20gNxkZz','7766848VApUuZ','6MmmjEZ','toUpperCase','toLowerCase','372546zooUxE','6114190PsuFuV','../../helpers/test-observability/constants','485346LFfIcr','logToTestOps','join','debug','TEST_LOG','winston-transport','DEBUG','ERROR','log','451460jultXw','TRACE','error','633826bGebQf','bs:addLog:','exports','toISOString','tweVL','4676679EiBetj','emit','INFO','warn','WARN','7RfgjMK','info'];a57_0x40f3=function(){return _0x255dcf;};return a57_0x40f3();}const a57_0x2a5edd=a57_0x1867;(function(_0x2ac514,_0x3e9eaa){const _0x46b1ce=a57_0x1867,_0x446217=_0x2ac514();while(!![]){try{const _0x4ea3c7=-parseInt(_0x46b1ce(0x1b4))/0x1+-parseInt(_0x46b1ce(0x1c5))/0x2+parseInt(_0x46b1ce(0x1c2))/0x3*(parseInt(_0x46b1ce(0x1d1))/0x4)+-parseInt(_0x46b1ce(0x1c0))/0x5*(-parseInt(_0x46b1ce(0x1c8))/0x6)+parseInt(_0x46b1ce(0x1be))/0x7*(parseInt(_0x46b1ce(0x1c1))/0x8)+parseInt(_0x46b1ce(0x1b9))/0x9+-parseInt(_0x46b1ce(0x1c6))/0xa;if(_0x4ea3c7===_0x3e9eaa)break;else _0x446217['push'](_0x446217['shift']());}catch(_0x226076){_0x446217['push'](_0x446217['shift']());}}}(a57_0x40f3,0x94807));const Transport=require(a57_0x2a5edd(0x1cd)),{consoleHolder}=require(a57_0x2a5edd(0x1c7)),a57_0x1824e0={};function a57_0x1867(_0x21bbdd,_0x5bdb49){const _0x40f3c2=a57_0x40f3();return a57_0x1867=function(_0x1867bc,_0x8f8efe){_0x1867bc=_0x1867bc-0x1b2;let _0x15239c=_0x40f3c2[_0x1867bc];return _0x15239c;},a57_0x1867(_0x21bbdd,_0x5bdb49);}a57_0x1824e0[a57_0x2a5edd(0x1bb)]=a57_0x2a5edd(0x1bb),a57_0x1824e0[a57_0x2a5edd(0x1cf)]=a57_0x2a5edd(0x1cf),a57_0x1824e0[a57_0x2a5edd(0x1ce)]='DEBUG',a57_0x1824e0[a57_0x2a5edd(0x1b2)]=a57_0x2a5edd(0x1b2),a57_0x1824e0[a57_0x2a5edd(0x1bd)]=a57_0x2a5edd(0x1bd);const LOG_LEVELS=a57_0x1824e0;class logPatcher extends Transport{constructor(_0x2002db){super(_0x2002db);}[a57_0x2a5edd(0x1c9)]=(_0x4e8e43=LOG_LEVELS['INFO'],_0x1b95c4=[''])=>{const _0x4bc049=a57_0x2a5edd,_0x264cfb={};_0x264cfb[_0x4bc049(0x1b8)]=_0x4bc049(0x1cc);const _0x1991a7=_0x264cfb;consoleHolder[_0x4e8e43[_0x4bc049(0x1c4)]()](..._0x1b95c4),process[_0x4bc049(0x1ba)](_0x4bc049(0x1b5)+process['pid'],{'timestamp':new Date()[_0x4bc049(0x1b7)](),'level':_0x4e8e43[_0x4bc049(0x1c3)](),'message':'\x22'+_0x1b95c4[_0x4bc049(0x1ca)](',\x20')+'\x22','kind':_0x1991a7[_0x4bc049(0x1b8)],'http_response':{}});};['trace']=(..._0x42e3b2)=>{const _0x15d5a2=a57_0x2a5edd;this['logToTestOps'](LOG_LEVELS[_0x15d5a2(0x1b2)],_0x42e3b2);};[a57_0x2a5edd(0x1cb)]=(..._0x30e934)=>{const _0x55bf81=a57_0x2a5edd;this[_0x55bf81(0x1c9)](LOG_LEVELS[_0x55bf81(0x1ce)],_0x30e934);};[a57_0x2a5edd(0x1bf)]=(..._0x5e842a)=>{const _0x19e830=a57_0x2a5edd;this[_0x19e830(0x1c9)](LOG_LEVELS[_0x19e830(0x1bb)],_0x5e842a);};[a57_0x2a5edd(0x1bc)]=(..._0xbe3e37)=>{const _0x55a001=a57_0x2a5edd;this[_0x55a001(0x1c9)](LOG_LEVELS['WARN'],_0xbe3e37);};[a57_0x2a5edd(0x1b3)]=(..._0x572a95)=>{const _0x2a0587=a57_0x2a5edd;this['logToTestOps'](LOG_LEVELS[_0x2a0587(0x1cf)],_0x572a95);};[a57_0x2a5edd(0x1d0)]=(..._0x27cdea)=>{const _0x3d581d=a57_0x2a5edd;this[_0x3d581d(0x1c9)](LOG_LEVELS[_0x3d581d(0x1bb)],_0x27cdea);};};module[a57_0x2a5edd(0x1b6)]=logPatcher;