browserstack-node-sdk 1.53.2 → 1.53.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (193) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +6 -4
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/nightwatch/command.js +1 -1
  79. package/src/bin/playwright/accessibility-helper.js +1 -1
  80. package/src/bin/playwright/command.js +1 -1
  81. package/src/bin/playwright/globalSetup.js +1 -1
  82. package/src/bin/playwright/mock-process.js +1 -1
  83. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  84. package/src/bin/playwright/patches.js +1 -1
  85. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  86. package/src/bin/playwright/reporter/reporter.js +1 -1
  87. package/src/bin/playwright/reporter/test-details.js +1 -1
  88. package/src/bin/playwright/sessionDetails.js +1 -1
  89. package/src/bin/puppeteer/patches.js +1 -1
  90. package/src/bin/puppeteer/sessionDetails.js +1 -1
  91. package/src/bin/puppeteer/test.setup.js +1 -1
  92. package/src/bin/runner.js +1 -1
  93. package/src/bin/setup.js +1 -1
  94. package/src/bin/test-runner/index.js +1 -1
  95. package/src/bin/test-runner/runTest.js +1 -1
  96. package/src/bin/test-runner/testWorker.js +1 -1
  97. package/src/bin/utils/apiUtilityMethods.js +1 -1
  98. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  99. package/src/bin/utils/constants.js +1 -1
  100. package/src/bin/utils/log4jsAppender.js +1 -1
  101. package/src/bin/utils/logPatcher.js +1 -1
  102. package/src/bin/utils/logReportingAPI.js +1 -1
  103. package/src/bin/utils/playwright-patcher.js +1 -1
  104. package/src/bin/utils/puppeteer-patcher.js +1 -1
  105. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  106. package/src/bin/utils/sharedUtils.js +1 -1
  107. package/src/bin/v2/TestInfo.js +1 -1
  108. package/src/bin/v2/browserstackCLI.js +1 -1
  109. package/src/bin/v2/cliUtils.js +1 -1
  110. package/src/bin/v2/customTagManager.js +1 -1
  111. package/src/bin/v2/eventDispatcher.js +1 -1
  112. package/src/bin/v2/framework/automationFramework.js +1 -1
  113. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  114. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  115. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  116. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  117. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  118. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  119. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  120. package/src/bin/v2/framework/testFramework.js +1 -1
  121. package/src/bin/v2/grpcClient.js +1 -1
  122. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  123. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  124. package/src/bin/v2/instances/trackedContext.js +1 -1
  125. package/src/bin/v2/instances/trackedInstance.js +1 -1
  126. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  127. package/src/bin/v2/modules/baseModule.js +1 -1
  128. package/src/bin/v2/modules/loadTestModule.js +1 -1
  129. package/src/bin/v2/modules/observabilityModule.js +1 -1
  130. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  131. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  132. package/src/bin/v2/modules/testhubModule.js +1 -1
  133. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  134. package/src/bin/v2/state/hookState.js +1 -1
  135. package/src/bin/v2/state/testFrameworkState.js +1 -1
  136. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  137. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  138. package/src/bin/v2/utils/jest-utils.js +1 -1
  139. package/src/bin/vanilla-js/command.js +1 -1
  140. package/src/browserStackSdk.js +1 -1
  141. package/src/helpers/BrowserStackSetup.js +1 -1
  142. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  143. package/src/helpers/accessibility-automation/constants.js +1 -1
  144. package/src/helpers/accessibility-automation/helper.js +1 -1
  145. package/src/helpers/accessibility-automation/scripts.js +1 -1
  146. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  147. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  148. package/src/helpers/ats/constants.js +1 -1
  149. package/src/helpers/ats/helper.js +1 -1
  150. package/src/helpers/capsMapping.js +1 -1
  151. package/src/helpers/central-scanner/constants.js +1 -1
  152. package/src/helpers/central-scanner/helpers.js +1 -1
  153. package/src/helpers/classLogger.js +1 -1
  154. package/src/helpers/globals.js +1 -1
  155. package/src/helpers/helper.js +1 -1
  156. package/src/helpers/logger.js +1 -1
  157. package/src/helpers/metadata.js +1 -1
  158. package/src/helpers/patchHelper.js +1 -1
  159. package/src/helpers/patchHelpers.js +1 -1
  160. package/src/helpers/percy/Percy.js +1 -1
  161. package/src/helpers/percy/PercyBinary.js +1 -1
  162. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  163. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  164. package/src/helpers/percy/PercySDK.js +1 -1
  165. package/src/helpers/percy/index.js +1 -1
  166. package/src/helpers/percy/utils.js +1 -1
  167. package/src/helpers/performance/constants.js +1 -1
  168. package/src/helpers/performance/performance-tester.js +1 -1
  169. package/src/helpers/playwright-helper.js +1 -1
  170. package/src/helpers/processHelper.js +1 -1
  171. package/src/helpers/puppeteer-helper.js +1 -1
  172. package/src/helpers/request-spy.js +1 -1
  173. package/src/helpers/setKeepAlive.js +1 -1
  174. package/src/helpers/test-observability/constants.js +1 -1
  175. package/src/helpers/test-observability/error-handler.js +1 -1
  176. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  177. package/src/helpers/test-observability/sessionHandler.js +1 -1
  178. package/src/helpers/test-observability/utils.js +1 -1
  179. package/src/helpers/test-orchestration/constants.js +1 -1
  180. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  181. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  182. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  183. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  184. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  185. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  186. package/src/helpers/testhub/constants.js +1 -1
  187. package/src/helpers/testhub/testhubHandler.js +1 -1
  188. package/src/helpers/testhub/utils.js +1 -1
  189. package/src/helpers/timeoutPromise.js +1 -1
  190. package/src/helpers/utilities.js +1 -1
  191. package/src/helpers/w3cMapping.js +1 -1
  192. package/src/hubAllocationMethods.js +1 -1
  193. package/src/index.js +1 -1
@@ -1 +1 @@
1
- function a49_0x3602(_0x325e3a,_0x208083){const _0x3bba08=a49_0x3bba();return a49_0x3602=function(_0x360293,_0x4d6318){_0x360293=_0x360293-0x163;let _0x791172=_0x3bba08[_0x360293];return _0x791172;},a49_0x3602(_0x325e3a,_0x208083);}const a49_0x4cfddf=a49_0x3602;(function(_0x21425,_0x4c440d){const _0x539c18=a49_0x3602,_0x46e48c=_0x21425();while(!![]){try{const _0x57c21a=parseInt(_0x539c18(0x1b6))/0x1+parseInt(_0x539c18(0x1b5))/0x2+parseInt(_0x539c18(0x1a7))/0x3+-parseInt(_0x539c18(0x196))/0x4+-parseInt(_0x539c18(0x182))/0x5*(-parseInt(_0x539c18(0x17f))/0x6)+parseInt(_0x539c18(0x165))/0x7*(parseInt(_0x539c18(0x19c))/0x8)+-parseInt(_0x539c18(0x16c))/0x9*(parseInt(_0x539c18(0x191))/0xa);if(_0x57c21a===_0x4c440d)break;else _0x46e48c['push'](_0x46e48c['shift']());}catch(_0x17ccae){_0x46e48c['push'](_0x46e48c['shift']());}}}(a49_0x3bba,0x603e1));const path=require(a49_0x4cfddf(0x199)),url=require(a49_0x4cfddf(0x185)),util=require(a49_0x4cfddf(0x16f)),{nestedKeyValue,isFalse}=require(a49_0x4cfddf(0x172)),{debug,getPlatformDetails}=require(a49_0x4cfddf(0x176)),logger=require(a49_0x4cfddf(0x1bc))[a49_0x4cfddf(0x1c3)],constants=require(a49_0x4cfddf(0x1ab)),BrowserstackCLI=require(a49_0x4cfddf(0x1bb)),AutomationFrameworkState=require('../v2/state/automationFrameworkState.js'),HookState=require('../v2/state/hookState.js'),getBrowserFromWSEndpoint=_0x2d4e90=>{const _0x52f115=a49_0x4cfddf,_0x930360={'ittRz':'chrome','wOAhE':function(_0x193826,_0x4f2dee){return _0x193826(_0x4f2dee);}};try{const _0x20e524=url['parse'](_0x2d4e90),_0x57991f=new URLSearchParams(_0x20e524[_0x52f115(0x16e)]),_0x3229d0=Object[_0x52f115(0x175)](_0x57991f[_0x52f115(0x1bd)]()),_0x2d9385=JSON['parse'](_0x3229d0[_0x52f115(0x17c)]);if(_0x2d9385&&(_0x2d9385[_0x52f115(0x19e)]||_0x2d9385[_0x52f115(0x17a)]))return _0x2d9385[_0x52f115(0x19e)]||_0x2d9385[_0x52f115(0x17a)];return _0x930360[_0x52f115(0x192)];}catch(_0x4028dc){_0x930360[_0x52f115(0x19f)](debug,_0x52f115(0x18a)+_0x4028dc['toString']());}},getCloudProviderFromWsEndpoint=_0x10e853=>{const _0x10aa1f=a49_0x4cfddf,_0x11863f={};_0x11863f['QpnMk']=_0x10aa1f(0x171),_0x11863f[_0x10aa1f(0x18e)]='unknown_grid';const _0x5db0d4=_0x11863f;if(_0x10e853[_0x10aa1f(0x170)](constants[_0x10aa1f(0x178)])||_0x10e853[_0x10aa1f(0x170)](constants['BSTACK_ATS_URL']))return _0x5db0d4['QpnMk'];return _0x5db0d4[_0x10aa1f(0x18e)];},a49_0x3a9645={};a49_0x3a9645[a49_0x4cfddf(0x18f)]=undefined,a49_0x3a9645['bsSessionId']=undefined,a49_0x3a9645[a49_0x4cfddf(0x19e)]=undefined,a49_0x3a9645[a49_0x4cfddf(0x190)]=undefined,a49_0x3a9645[a49_0x4cfddf(0x1be)]=undefined,a49_0x3a9645[a49_0x4cfddf(0x181)]=undefined,a49_0x3a9645[a49_0x4cfddf(0x19a)]=undefined,a49_0x3a9645['capabilities']={};class PuppeteerSessionDetails{static [a49_0x4cfddf(0x16a)]=a49_0x3a9645;constructor(){const _0x58a297=a49_0x4cfddf,_0x500e13={};_0x500e13[_0x58a297(0x1a9)]=_0x58a297(0x177);const _0x44f0e7=_0x500e13;throw new Error(_0x44f0e7[_0x58a297(0x1a9)]);}static ['sessionError']=null;static async[a49_0x4cfddf(0x1b7)](_0x40025d,_0x4e2bdf){const _0x2cef2f=a49_0x4cfddf,_0x26a659={'DLSkU':_0x2cef2f(0x18d),'PUwfx':function(_0x3eda12,_0x61a60a){return _0x3eda12===_0x61a60a;},'Gdzgu':_0x2cef2f(0x187),'EGoiJ':'local_grid','AKTHC':function(_0x379ec4,_0x269f6c){return _0x379ec4(_0x269f6c);},'QHEFL':_0x2cef2f(0x171),'yKgAI':_0x2cef2f(0x1ae),'DxVlx':_0x2cef2f(0x1c2),'MDbRO':function(_0x4558dc,_0x46b82f){return _0x4558dc(_0x46b82f);},'brNKB':function(_0x56122c){return _0x56122c();}};try{let _0xb3d59b=_0x26a659[_0x2cef2f(0x167)],_0x550972=null;_0x40025d&&_0x26a659[_0x2cef2f(0x195)](typeof _0x40025d[_0x2cef2f(0x17b)],_0x26a659[_0x2cef2f(0x1a5)])&&(_0x550972=await _0x40025d[_0x2cef2f(0x17b)]());let _0x14f3ec=null,_0x18f5de=null,_0x308dec=null,_0x319abe=_0x26a659[_0x2cef2f(0x193)];if(_0x4e2bdf){_0x319abe=_0x26a659[_0x2cef2f(0x17d)](getCloudProviderFromWsEndpoint,_0x4e2bdf);if(_0x26a659[_0x2cef2f(0x195)](_0x319abe,_0x26a659[_0x2cef2f(0x186)]))_0x308dec=constants[_0x2cef2f(0x1c1)]?constants[_0x2cef2f(0x1c1)][_0x2cef2f(0x168)](_0x4e2bdf)?_0x26a659[_0x2cef2f(0x16b)]:_0x26a659[_0x2cef2f(0x166)]:_0x26a659[_0x2cef2f(0x166)],_0xb3d59b=_0x26a659[_0x2cef2f(0x1a3)](getBrowserFromWSEndpoint,_0x4e2bdf)||_0xb3d59b,_0x14f3ec=this[_0x2cef2f(0x16a)]['platform'],_0x18f5de=this[_0x2cef2f(0x16a)][_0x2cef2f(0x181)];else{const _0x4b685e=await _0x26a659[_0x2cef2f(0x198)](getPlatformDetails);_0x14f3ec=_0x4b685e[_0x2cef2f(0x180)],_0x18f5de=_0x4b685e[_0x2cef2f(0x183)];}}else{const _0x299517=await _0x26a659[_0x2cef2f(0x198)](getPlatformDetails);_0x14f3ec=_0x299517[_0x2cef2f(0x180)],_0x18f5de=_0x299517[_0x2cef2f(0x183)];}const _0x4c13e2={};_0x4c13e2['browser']=_0xb3d59b,_0x4c13e2[_0x2cef2f(0x190)]=_0x550972,_0x4c13e2[_0x2cef2f(0x164)]={},_0x4c13e2['platform']=_0x14f3ec,_0x4c13e2[_0x2cef2f(0x181)]=_0x18f5de,_0x4c13e2['product']=_0x308dec;const _0x37e2e7=_0x4c13e2,_0x2ce767={};_0x2ce767[_0x2cef2f(0x18f)]=_0x319abe,this[_0x2cef2f(0x16a)]=Object['assign']({},this['currentSessionDetails'],_0x2ce767,_0x37e2e7);}catch(_0x23e47e){_0x26a659['MDbRO'](debug,_0x2cef2f(0x16d)+util[_0x2cef2f(0x18c)](_0x23e47e)),this['sessionError']=_0x23e47e[_0x2cef2f(0x1ba)]();}}static[a49_0x4cfddf(0x19d)](_0x23ee23){const _0xf10ea3=a49_0x4cfddf,_0x57062c={'hOhHm':function(_0x5700e2,_0x5b3bf6){return _0x5700e2===_0x5b3bf6;},'CdjZx':_0xf10ea3(0x1b8),'Nxprt':function(_0x24629a,_0x3d9f1c){return _0x24629a(_0x3d9f1c);},'AzyMf':function(_0x260e18,_0x5643b3){return _0x260e18===_0x5643b3;},'eQAKx':function(_0x55aa45,_0x55c7b9){return _0x55aa45(_0x55c7b9);},'Uytrd':_0xf10ea3(0x1a4)},_0xf735dc=this;try{const _0xbb2125=_0x23ee23['_connection']||_0x23ee23['connection'];if(!_0xbb2125||_0xbb2125['_bstackPatched'])return;const _0x108020=_0xbb2125[_0xf10ea3(0x194)];_0xbb2125[_0xf10ea3(0x194)]=function(_0x2310da){const _0x151e23=_0xf10ea3;try{const _0x2af692=_0x57062c[_0x151e23(0x1a1)](typeof _0x2310da,_0x57062c[_0x151e23(0x197)])?JSON[_0x151e23(0x1aa)](_0x2310da):_0x2310da,_0x5b975b=_0x2af692?.[_0x151e23(0x1a6)]||_0x2af692?.[_0x151e23(0x1b9)]||_0x2af692?.[_0x151e23(0x1af)]?.['bsParams']||_0x2af692?.[_0x151e23(0x1af)]?.['bStackParams']||_0x2af692?.[_0x151e23(0x1a2)]?.['bsParams']||_0x2af692?.[_0x151e23(0x1a2)]?.[_0x151e23(0x1a6)];if(_0x5b975b){if(BrowserstackCLI[_0x151e23(0x17e)]()[_0x151e23(0x1ac)]()){const _0x167acf={};_0x167acf[_0x151e23(0x1a8)]=_0x2af692,BrowserstackCLI['getInstance']()[_0x151e23(0x1b1)]()[_0x151e23(0x169)](AutomationFrameworkState[_0x151e23(0x173)],HookState[_0x151e23(0x163)],_0x167acf);}else{const _0x29e82e=_0x5b975b[_0x151e23(0x1c0)],_0x2e5e64=_0x5b975b[_0x151e23(0x19b)];_0x2e5e64&&(_0x57062c[_0x151e23(0x184)](debug,_0x151e23(0x18b)+JSON[_0x151e23(0x188)](_0x2e5e64)),_0xf735dc[_0x151e23(0x16a)]['platform']=_0x2e5e64[_0x151e23(0x180)],_0xf735dc[_0x151e23(0x16a)][_0x151e23(0x181)]=_0x2e5e64['platformVersion']),_0x29e82e&&(_0x57062c[_0x151e23(0x184)](debug,_0x151e23(0x174)+_0x29e82e),_0xf735dc['currentSessionDetails']['bsSessionId']=_0x29e82e);}_0x57062c[_0x151e23(0x1b4)](typeof _0x2310da,_0x57062c[_0x151e23(0x197)])&&(delete _0x2af692[_0x151e23(0x1a6)],delete _0x2af692[_0x151e23(0x1b9)],_0x2af692[_0x151e23(0x1af)]&&(delete _0x2af692['params']['bsParams'],delete _0x2af692['params'][_0x151e23(0x1a6)]),_0x2af692['result']&&(delete _0x2af692[_0x151e23(0x1a2)][_0x151e23(0x1b9)],delete _0x2af692['result'][_0x151e23(0x1a6)]));}}catch(_0x2058b5){_0x57062c['eQAKx'](debug,_0x151e23(0x1b0)+_0x2058b5[_0x151e23(0x1a8)]);}return _0x108020?.[_0x151e23(0x189)](this,arguments);},_0xbb2125[_0xf10ea3(0x1ad)]=!![],logger[_0xf10ea3(0x1a0)](_0x57062c['Uytrd']);}catch(_0x5dfd9e){_0x57062c[_0xf10ea3(0x1b3)](debug,_0xf10ea3(0x179)+util[_0xf10ea3(0x18c)](_0x5dfd9e)),_0xf735dc[_0xf10ea3(0x1b2)]=_0x5dfd9e[_0xf10ea3(0x1ba)]();}}static[a49_0x4cfddf(0x1bf)](){const _0x2cfa3a=a49_0x4cfddf;return this[_0x2cfa3a(0x16a)];}}module['exports']=PuppeteerSessionDetails;function a49_0x3bba(){const _0x419200=['AKTHC','getInstance','151050GrtWLD','platformName','platform_version','15Hwsngn','platformVersion','Nxprt','url','QHEFL','function','stringify','apply','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','format','chrome','hRguK','cloudProvider','browser_version','8802060vdjJxJ','ittRz','EGoiJ','onmessage','PUwfx','1523412oDiCMs','CdjZx','brNKB','path','product','platformDetails','8IPmqug','patchConnection','browser','wOAhE','debug','hOhHm','result','MDbRO','[PuppeteerSessionDetails]\x20Connection\x20patched\x20for\x20session\x20capture','Gdzgu','bStackParams','714216KLUDVF','message','RNuSW','parse','../utils/constants','isRunning','_bstackPatched','turboscale','params','Error\x20extracting\x20bsParams\x20from\x20CDP\x20message:\x20','getAutomationFramework','sessionError','eQAKx','AzyMf','1134374ILNeLC','100773IhFEna','setupBrowserDetails','string','bsParams','toString','../v2/browserstackCLI','../../helpers/logger','entries','platform','getDetails','sessionId','ATS_WSS_URL_REGEX','automate','winstonLogger','POST','capabilities','4715977zGQQZd','DxVlx','DLSkU','test','trackEvent','currentSessionDetails','yKgAI','9ZpaUWU','Error\x20in\x20setupBrowserDetails:\x20','query','util','includes','browserstack','../../helpers/helper','PLAYWRIGHT_DISPATCH','Setting\x20session\x20id\x20received\x20from\x20BS\x20','fromEntries','../../helpers/test-observability/utils','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','BSTACK_URL','Error\x20in\x20patchConnection:\x20','browserName','version','caps'];a49_0x3bba=function(){return _0x419200;};return a49_0x3bba();}
1
+ function a49_0x5c97(_0xb880fa,_0x125834){const _0x25e5c0=a49_0x25e5();return a49_0x5c97=function(_0x5c97d4,_0x266bbc){_0x5c97d4=_0x5c97d4-0x1ea;let _0x56ca8b=_0x25e5c0[_0x5c97d4];return _0x56ca8b;},a49_0x5c97(_0xb880fa,_0x125834);}const a49_0xceb472=a49_0x5c97;(function(_0x35931f,_0x51d0ce){const _0x58a4a1=a49_0x5c97,_0x5ea4d2=_0x35931f();while(!![]){try{const _0xf51124=parseInt(_0x58a4a1(0x21b))/0x1*(-parseInt(_0x58a4a1(0x1f1))/0x2)+parseInt(_0x58a4a1(0x205))/0x3*(parseInt(_0x58a4a1(0x243))/0x4)+-parseInt(_0x58a4a1(0x1fd))/0x5+-parseInt(_0x58a4a1(0x22d))/0x6*(-parseInt(_0x58a4a1(0x208))/0x7)+-parseInt(_0x58a4a1(0x203))/0x8*(parseInt(_0x58a4a1(0x232))/0x9)+parseInt(_0x58a4a1(0x228))/0xa+parseInt(_0x58a4a1(0x215))/0xb*(parseInt(_0x58a4a1(0x20e))/0xc);if(_0xf51124===_0x51d0ce)break;else _0x5ea4d2['push'](_0x5ea4d2['shift']());}catch(_0x4b656a){_0x5ea4d2['push'](_0x5ea4d2['shift']());}}}(a49_0x25e5,0x70b64));const path=require(a49_0xceb472(0x222)),url=require(a49_0xceb472(0x20b)),util=require(a49_0xceb472(0x202)),{nestedKeyValue,isFalse}=require('../../helpers/helper'),{debug,getPlatformDetails}=require('../../helpers/test-observability/utils'),logger=require(a49_0xceb472(0x1f0))[a49_0xceb472(0x1f3)],constants=require(a49_0xceb472(0x1ea)),BrowserstackCLI=require('../v2/browserstackCLI'),AutomationFrameworkState=require('../v2/state/automationFrameworkState.js'),HookState=require(a49_0xceb472(0x227)),getBrowserFromWSEndpoint=_0x217e79=>{const _0x35ba1c=a49_0xceb472,_0x4416d4={'ZYfEr':_0x35ba1c(0x1fe),'mIlSS':function(_0x34084e,_0x51e863){return _0x34084e(_0x51e863);}};try{const _0x277fc4=url[_0x35ba1c(0x233)](_0x217e79),_0x34bf3c=new URLSearchParams(_0x277fc4['query']),_0x543e73=Object[_0x35ba1c(0x22c)](_0x34bf3c[_0x35ba1c(0x204)]()),_0x411e10=JSON[_0x35ba1c(0x233)](_0x543e73['caps']);if(_0x411e10&&(_0x411e10[_0x35ba1c(0x200)]||_0x411e10[_0x35ba1c(0x214)]))return _0x411e10[_0x35ba1c(0x200)]||_0x411e10[_0x35ba1c(0x214)];return _0x4416d4[_0x35ba1c(0x20f)];}catch(_0x3604b7){_0x4416d4[_0x35ba1c(0x218)](debug,'Error\x20in\x20getting\x20browser\x20from\x20caps:\x20'+_0x3604b7['toString']());}},getCloudProviderFromWsEndpoint=_0x1842e9=>{const _0x5bdb78=a49_0xceb472,_0x397750={};_0x397750[_0x5bdb78(0x1fc)]=_0x5bdb78(0x1ed),_0x397750['FwEVM']='unknown_grid';const _0x2ab2f8=_0x397750;if(_0x1842e9['includes'](constants['BSTACK_URL'])||_0x1842e9['includes'](constants[_0x5bdb78(0x22b)]))return _0x2ab2f8[_0x5bdb78(0x1fc)];return _0x2ab2f8[_0x5bdb78(0x23f)];},a49_0x38ed2e={};a49_0x38ed2e[a49_0xceb472(0x240)]=undefined,a49_0x38ed2e[a49_0xceb472(0x211)]=undefined,a49_0x38ed2e[a49_0xceb472(0x200)]=undefined,a49_0x38ed2e[a49_0xceb472(0x1fb)]=undefined,a49_0x38ed2e[a49_0xceb472(0x1f4)]=undefined,a49_0x38ed2e[a49_0xceb472(0x230)]=undefined,a49_0x38ed2e['product']=undefined,a49_0x38ed2e[a49_0xceb472(0x235)]={};class PuppeteerSessionDetails{static ['currentSessionDetails']=a49_0x38ed2e;constructor(){const _0x94a930=a49_0xceb472,_0x4f5243={};_0x4f5243[_0x94a930(0x1f5)]='Invalid\x20constructor,\x20please\x20use\x20static\x20methods';const _0xa19f5=_0x4f5243;throw new Error(_0xa19f5['mmvLx']);}static [a49_0xceb472(0x23d)]=null;static async[a49_0xceb472(0x1f7)](_0x1c66b8,_0x570a3e){const _0x18ffd7=a49_0xceb472,_0x3e54ea={'vJTlv':'chrome','YSpIC':function(_0x59e9ce,_0x4b6dc0){return _0x59e9ce===_0x4b6dc0;},'OVFhR':_0x18ffd7(0x20d),'gVbZl':_0x18ffd7(0x1fa),'oPOYL':function(_0x2f0b8a,_0x562388){return _0x2f0b8a(_0x562388);},'LoWqy':'browserstack','YhrMm':_0x18ffd7(0x1ef),'yxnKv':_0x18ffd7(0x242),'ahkJi':function(_0x49181d){return _0x49181d();},'XUiCl':function(_0x1ac18d,_0x43303c){return _0x1ac18d(_0x43303c);}};try{let _0xd697cf=_0x3e54ea['vJTlv'],_0x133b8f=null;_0x1c66b8&&_0x3e54ea[_0x18ffd7(0x244)](typeof _0x1c66b8[_0x18ffd7(0x1f2)],_0x3e54ea[_0x18ffd7(0x210)])&&(_0x133b8f=await _0x1c66b8[_0x18ffd7(0x1f2)]());let _0x2ced1d=null,_0x24fb44=null,_0x4246c2=null,_0x11fb64=_0x3e54ea['gVbZl'];if(_0x570a3e){_0x11fb64=_0x3e54ea[_0x18ffd7(0x20a)](getCloudProviderFromWsEndpoint,_0x570a3e);if(_0x3e54ea[_0x18ffd7(0x244)](_0x11fb64,_0x3e54ea[_0x18ffd7(0x224)]))_0x4246c2=constants[_0x18ffd7(0x220)]?constants[_0x18ffd7(0x220)][_0x18ffd7(0x1ee)](_0x570a3e)?_0x3e54ea[_0x18ffd7(0x217)]:_0x3e54ea[_0x18ffd7(0x221)]:_0x3e54ea['yxnKv'],_0xd697cf=_0x3e54ea[_0x18ffd7(0x20a)](getBrowserFromWSEndpoint,_0x570a3e)||_0xd697cf,_0x2ced1d=this[_0x18ffd7(0x21c)][_0x18ffd7(0x1f4)],_0x24fb44=this[_0x18ffd7(0x21c)][_0x18ffd7(0x230)];else{const _0xc8587b=await _0x3e54ea[_0x18ffd7(0x237)](getPlatformDetails);_0x2ced1d=_0xc8587b[_0x18ffd7(0x1f6)],_0x24fb44=_0xc8587b[_0x18ffd7(0x234)];}}else{const _0x1d19cd=await _0x3e54ea[_0x18ffd7(0x237)](getPlatformDetails);_0x2ced1d=_0x1d19cd[_0x18ffd7(0x1f6)],_0x24fb44=_0x1d19cd['platformVersion'];}const _0x8d2178={};_0x8d2178[_0x18ffd7(0x200)]=_0xd697cf,_0x8d2178[_0x18ffd7(0x1fb)]=_0x133b8f,_0x8d2178[_0x18ffd7(0x235)]={},_0x8d2178[_0x18ffd7(0x1f4)]=_0x2ced1d,_0x8d2178[_0x18ffd7(0x230)]=_0x24fb44,_0x8d2178[_0x18ffd7(0x23e)]=_0x4246c2;const _0x4f97fb=_0x8d2178,_0x25cdd4={};_0x25cdd4[_0x18ffd7(0x240)]=_0x11fb64,this[_0x18ffd7(0x21c)]=Object[_0x18ffd7(0x1ec)]({},this['currentSessionDetails'],_0x25cdd4,_0x4f97fb);}catch(_0x85a775){_0x3e54ea[_0x18ffd7(0x245)](debug,_0x18ffd7(0x223)+util[_0x18ffd7(0x23b)](_0x85a775)),this[_0x18ffd7(0x23d)]=_0x85a775['toString']();}}static[a49_0xceb472(0x219)](_0xd821bb){const _0x3cafb2=a49_0xceb472,_0x7b287e={'tIPKC':function(_0x20d786,_0x5459f0){return _0x20d786===_0x5459f0;},'vmTQb':_0x3cafb2(0x209),'yWUTV':function(_0x19ea4,_0x305557){return _0x19ea4(_0x305557);},'tvGSB':function(_0x43a59f,_0x5d6ed2){return _0x43a59f===_0x5d6ed2;},'Mgtmg':function(_0x3ec886,_0x3a90dc){return _0x3ec886(_0x3a90dc);},'pxFbJ':'[PuppeteerSessionDetails]\x20Connection\x20patched\x20for\x20session\x20capture'},_0xea8ea0=this;try{const _0x297ff5=_0xd821bb[_0x3cafb2(0x21a)]||_0xd821bb[_0x3cafb2(0x226)];if(!_0x297ff5||_0x297ff5['_bstackPatched'])return;const _0x35dc69=_0x297ff5['onmessage'];_0x297ff5[_0x3cafb2(0x239)]=function(_0x111cda){const _0x283708=_0x3cafb2;try{const _0x31508c=_0x7b287e['tIPKC'](typeof _0x111cda,_0x7b287e['vmTQb'])?JSON[_0x283708(0x233)](_0x111cda):_0x111cda,_0x5f5c98=_0x31508c?.[_0x283708(0x21d)]||_0x31508c?.[_0x283708(0x207)]||_0x31508c?.[_0x283708(0x212)]?.['bsParams']||_0x31508c?.[_0x283708(0x212)]?.[_0x283708(0x21d)]||_0x31508c?.[_0x283708(0x201)]?.[_0x283708(0x207)]||_0x31508c?.[_0x283708(0x201)]?.[_0x283708(0x21d)];if(_0x5f5c98){if(BrowserstackCLI[_0x283708(0x21e)]()[_0x283708(0x213)]()){const _0x56deae={};_0x56deae[_0x283708(0x23c)]=_0x31508c,BrowserstackCLI['getInstance']()[_0x283708(0x236)]()[_0x283708(0x1eb)](AutomationFrameworkState[_0x283708(0x225)],HookState[_0x283708(0x241)],_0x56deae);}else{const _0x1f31d9=_0x5f5c98['sessionId'],_0xccd17e=_0x5f5c98[_0x283708(0x20c)];_0xccd17e&&(_0x7b287e[_0x283708(0x22e)](debug,_0x283708(0x238)+JSON[_0x283708(0x1f9)](_0xccd17e)),_0xea8ea0[_0x283708(0x21c)][_0x283708(0x1f4)]=_0xccd17e['platformName'],_0xea8ea0[_0x283708(0x21c)]['platform_version']=_0xccd17e['platformVersion']),_0x1f31d9&&(_0x7b287e[_0x283708(0x22e)](debug,_0x283708(0x21f)+_0x1f31d9),_0xea8ea0[_0x283708(0x21c)]['bsSessionId']=_0x1f31d9);}_0x7b287e[_0x283708(0x22f)](typeof _0x111cda,_0x7b287e[_0x283708(0x216)])&&(delete _0x31508c[_0x283708(0x21d)],delete _0x31508c[_0x283708(0x207)],_0x31508c[_0x283708(0x212)]&&(delete _0x31508c[_0x283708(0x212)]['bsParams'],delete _0x31508c[_0x283708(0x212)]['bStackParams']),_0x31508c[_0x283708(0x201)]&&(delete _0x31508c['result'][_0x283708(0x207)],delete _0x31508c[_0x283708(0x201)]['bStackParams']));}}catch(_0x547730){_0x7b287e[_0x283708(0x1ff)](debug,'Error\x20extracting\x20bsParams\x20from\x20CDP\x20message:\x20'+_0x547730[_0x283708(0x23c)]);}return _0x35dc69?.['apply'](this,arguments);},_0x297ff5[_0x3cafb2(0x229)]=!![],logger[_0x3cafb2(0x1f8)](_0x7b287e[_0x3cafb2(0x231)]);}catch(_0x6d5edb){_0x7b287e[_0x3cafb2(0x1ff)](debug,_0x3cafb2(0x22a)+util[_0x3cafb2(0x23b)](_0x6d5edb)),_0xea8ea0[_0x3cafb2(0x23d)]=_0x6d5edb[_0x3cafb2(0x23a)]();}}static['getDetails'](){return this['currentSessionDetails'];}}function a49_0x25e5(){const _0x229f38=['../v2/state/hookState.js','4219220teryGZ','_bstackPatched','Error\x20in\x20patchConnection:\x20','BSTACK_ATS_URL','fromEntries','3156lXPiJj','yWUTV','tvGSB','platform_version','pxFbJ','63fCTJrt','parse','platformVersion','capabilities','getAutomationFramework','ahkJi','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','onmessage','toString','format','message','sessionError','product','FwEVM','cloudProvider','POST','automate','636uCJEsh','YSpIC','XUiCl','../utils/constants','trackEvent','assign','browserstack','test','turboscale','../../helpers/logger','2QjhIla','version','winstonLogger','platform','mmvLx','platformName','setupBrowserDetails','debug','stringify','local_grid','browser_version','pgmHi','4109795GqiCvq','chrome','Mgtmg','browser','result','util','86648CUrGXF','entries','750UPNqJN','exports','bsParams','3353nvcqUU','string','oPOYL','url','platformDetails','function','600nfpaef','ZYfEr','OVFhR','bsSessionId','params','isRunning','browserName','341121wOHfJD','vmTQb','YhrMm','mIlSS','patchConnection','_connection','904732WavKFO','currentSessionDetails','bStackParams','getInstance','Setting\x20session\x20id\x20received\x20from\x20BS\x20','ATS_WSS_URL_REGEX','yxnKv','path','Error\x20in\x20setupBrowserDetails:\x20','LoWqy','PLAYWRIGHT_DISPATCH','connection'];a49_0x25e5=function(){return _0x229f38;};return a49_0x25e5();}module[a49_0xceb472(0x206)]=PuppeteerSessionDetails;
@@ -1 +1 @@
1
- const a50_0x1395a5=a50_0x115c;(function(_0x9e30b,_0x124dc9){const _0xdb3a23=a50_0x115c,_0x4a5725=_0x9e30b();while(!![]){try{const _0xf65666=parseInt(_0xdb3a23(0x123))/0x1*(parseInt(_0xdb3a23(0x108))/0x2)+-parseInt(_0xdb3a23(0x102))/0x3*(parseInt(_0xdb3a23(0xfc))/0x4)+parseInt(_0xdb3a23(0x107))/0x5+parseInt(_0xdb3a23(0x114))/0x6*(parseInt(_0xdb3a23(0xf7))/0x7)+-parseInt(_0xdb3a23(0xfe))/0x8+-parseInt(_0xdb3a23(0x11b))/0x9+-parseInt(_0xdb3a23(0xf9))/0xa;if(_0xf65666===_0x124dc9)break;else _0x4a5725['push'](_0x4a5725['shift']());}catch(_0x55949e){_0x4a5725['push'](_0x4a5725['shift']());}}}(a50_0x36ab,0x70b84));const {isTrue,isBrowserstackInfra}=require('../../helpers/helper'),setKeepAlive=require(a50_0x1395a5(0x111)),util=require(a50_0x1395a5(0x10f)),logger=require(a50_0x1395a5(0x106))[a50_0x1395a5(0xff)],{shouldProcessEventForTesthub}=require(a50_0x1395a5(0x11d)),{addRequestSpy}=require(a50_0x1395a5(0xfa)),a50_0x1e95c9={};a50_0x1e95c9[a50_0x1395a5(0xf8)]=undefined,a50_0x1e95c9[a50_0x1395a5(0x101)]={},a50_0x1e95c9[a50_0x1395a5(0x103)]=![],a50_0x1e95c9[a50_0x1395a5(0x118)]=null,a50_0x1e95c9[a50_0x1395a5(0x126)]=![],a50_0x1e95c9[a50_0x1395a5(0x101)]['id']=undefined,a50_0x1e95c9[a50_0x1395a5(0x101)]['testInfo']=undefined;const workerDetails=a50_0x1e95c9;global[a50_0x1395a5(0x105)]=workerDetails;let puppeteerPatcher=null;function a50_0x115c(_0x177caa,_0x1d43d0){const _0x36ab13=a50_0x36ab();return a50_0x115c=function(_0x115cd2,_0xc5cc79){_0x115cd2=_0x115cd2-0xf6;let _0x3a6d79=_0x36ab13[_0x115cd2];return _0x3a6d79;},a50_0x115c(_0x177caa,_0x1d43d0);}setKeepAlive();function a50_0x36ab(){const _0x2fe69a=['JEST','../../helpers/testhub/utils','getInstance','puppeteer-core','isCliEnabled','__skipSessionStatus','../utils/constants','183778MmjOnG','catch','BROWSERSTACK_PUPPETEER','isPageFixture','[PuppeteerTestSetup]\x20Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20','1099crycta','workerInfo','5992540sdEdqu','../../helpers/test-observability/utils','getPackageVersion','6044TQmbPT','true','2352960tOSQoz','winstonLogger','PUPPETEER','currentTest','1332kSpXsA','o11ySyncDone','jestConfig','__workerDetails','../../helpers/logger','3276765wgnwKS','8daNTDW','[PuppeteerTestSetup]\x20Jest-Puppeteer\x20test\x20setup\x20completed','debug','skipSessionName','[PuppeteerTestSetup]\x20Patching\x20Puppeteer\x20for\x20Jest','__skipSessionName','skipSessionStatus','util','../v2/cliUtils','../../helpers/setKeepAlive','format','setFrameworkDetail','28734DbfEzz','puppeteer','[PuppeteerTestSetup]\x20Error\x20bootstrapping\x20BrowserstackCLI:\x20','bootstrap','pwPage','../v2/browserstackCLI','[PuppeteerTestSetup]\x20Error\x20initializing\x20Puppeteer\x20patching:\x20','1047420uRfrsj'];a50_0x36ab=function(){return _0x2fe69a;};return a50_0x36ab();}if(global[a50_0x1395a5(0x104)])try{isBrowserstackInfra()?(global[a50_0x1395a5(0x10d)]=isTrue(global[a50_0x1395a5(0x104)]?.[a50_0x1395a5(0x10b)]),global[a50_0x1395a5(0x121)]=isTrue(global[a50_0x1395a5(0x104)]?.[a50_0x1395a5(0x10e)])):(global[a50_0x1395a5(0x10d)]=!![],global[a50_0x1395a5(0x121)]=!![]);const helper=require('../../helpers/helper'),puppeteerVersion=helper[a50_0x1395a5(0xfb)](a50_0x1395a5(0x115))||helper['getPackageVersion'](a50_0x1395a5(0x11f));if(puppeteerVersion)try{logger[a50_0x1395a5(0x10a)](a50_0x1395a5(0x10c)),puppeteerPatcher=require('../utils/puppeteer-patcher'),puppeteerPatcher['initializePuppeteerPatching'](global['jestConfig']),logger['debug']('[PuppeteerTestSetup]\x20Puppeteer\x20patching\x20initialized');}catch(a50_0x1bf336){logger['debug'](a50_0x1395a5(0x11a)+util['format'](a50_0x1bf336));}if(puppeteerPatcher)try{const BrowserstackCLI=require(a50_0x1395a5(0x119)),CLIUtils=require(a50_0x1395a5(0x110)),{FRAMEWORKS}=require(a50_0x1395a5(0x122));BrowserstackCLI[a50_0x1395a5(0x11e)]()[a50_0x1395a5(0x120)]()&&(logger[a50_0x1395a5(0x10a)]('[PuppeteerTestSetup]\x20Bootstrapping\x20BrowserstackCLI\x20for\x20Jest\x20worker'),process['env'][a50_0x1395a5(0x125)]=a50_0x1395a5(0xfd),CLIUtils[a50_0x1395a5(0x113)](FRAMEWORKS[a50_0x1395a5(0x11c)],FRAMEWORKS[a50_0x1395a5(0x100)]),BrowserstackCLI[a50_0x1395a5(0x11e)]()[a50_0x1395a5(0x117)]()[a50_0x1395a5(0x124)](_0x51a69a=>{const _0x1a6bf0=a50_0x1395a5;logger['debug'](_0x1a6bf0(0x116)+util[_0x1a6bf0(0x112)](_0x51a69a));}));}catch(a50_0x22d082){logger[a50_0x1395a5(0x10a)](a50_0x1395a5(0xf6)+util[a50_0x1395a5(0x112)](a50_0x22d082));}shouldProcessEventForTesthub()&&addRequestSpy(![]);}catch(a50_0x4022b8){logger[a50_0x1395a5(0x10a)]('[PuppeteerTestSetup]\x20Error\x20reading\x20BrowserStack\x20config:\x20'+util['format'](a50_0x4022b8));}logger[a50_0x1395a5(0x10a)](a50_0x1395a5(0x109));
1
+ const a50_0x2579b5=a50_0x3b55;(function(_0x1430d9,_0x485517){const _0x399ef8=a50_0x3b55,_0x3a8c6a=_0x1430d9();while(!![]){try{const _0x29ef68=-parseInt(_0x399ef8(0x1a9))/0x1+parseInt(_0x399ef8(0x1b0))/0x2*(-parseInt(_0x399ef8(0x1a5))/0x3)+parseInt(_0x399ef8(0x1af))/0x4*(-parseInt(_0x399ef8(0x1ce))/0x5)+-parseInt(_0x399ef8(0x1bf))/0x6*(-parseInt(_0x399ef8(0x1a6))/0x7)+-parseInt(_0x399ef8(0x1d5))/0x8*(-parseInt(_0x399ef8(0x1c5))/0x9)+parseInt(_0x399ef8(0x1ab))/0xa*(-parseInt(_0x399ef8(0x1d2))/0xb)+parseInt(_0x399ef8(0x1b2))/0xc*(parseInt(_0x399ef8(0x1c6))/0xd);if(_0x29ef68===_0x485517)break;else _0x3a8c6a['push'](_0x3a8c6a['shift']());}catch(_0x34986e){_0x3a8c6a['push'](_0x3a8c6a['shift']());}}}(a50_0x184a,0x7dc28));const {isTrue,isBrowserstackInfra}=require(a50_0x2579b5(0x1b7)),setKeepAlive=require('../../helpers/setKeepAlive'),util=require(a50_0x2579b5(0x1be)),logger=require(a50_0x2579b5(0x1b9))[a50_0x2579b5(0x1a7)],{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),{addRequestSpy}=require('../../helpers/test-observability/utils'),a50_0x1dfc4b={};a50_0x1dfc4b[a50_0x2579b5(0x1cf)]=undefined,a50_0x1dfc4b[a50_0x2579b5(0x1c2)]={},a50_0x1dfc4b[a50_0x2579b5(0x1d3)]=![],a50_0x1dfc4b[a50_0x2579b5(0x1ae)]=null,a50_0x1dfc4b[a50_0x2579b5(0x1d6)]=![],a50_0x1dfc4b[a50_0x2579b5(0x1c2)]['id']=undefined,a50_0x1dfc4b[a50_0x2579b5(0x1c2)][a50_0x2579b5(0x1bb)]=undefined;const workerDetails=a50_0x1dfc4b;global[a50_0x2579b5(0x1d0)]=workerDetails;let puppeteerPatcher=null;setKeepAlive();function a50_0x184a(){const _0xaf43f4=['20ewMzsx','jestConfig','skipSessionStatus','pwPage','97640baXSNQ','18hoIgob','isCliEnabled','36qBXdaF','catch','[PuppeteerTestSetup]\x20Error\x20reading\x20BrowserStack\x20config:\x20','JEST','initializePuppeteerPatching','../../helpers/helper','[PuppeteerTestSetup]\x20Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20','../../helpers/logger','puppeteer-core','testInfo','[PuppeteerTestSetup]\x20Bootstrapping\x20BrowserstackCLI\x20for\x20Jest\x20worker','PUPPETEER','util','198WkEfrt','getInstance','../v2/cliUtils','currentTest','__skipSessionStatus','[PuppeteerTestSetup]\x20Error\x20bootstrapping\x20BrowserstackCLI:\x20','255456ZCibwI','7166913otyuXA','../utils/puppeteer-patcher','puppeteer','__skipSessionName','format','../v2/browserstackCLI','debug','skipSessionName','95EIMmCb','workerInfo','__workerDetails','true','2380334RrexDH','o11ySyncDone','setFrameworkDetail','24LIDecK','isPageFixture','[PuppeteerTestSetup]\x20Patching\x20Puppeteer\x20for\x20Jest','171852FAXgaw','216349idKoWp','winstonLogger','[PuppeteerTestSetup]\x20Jest-Puppeteer\x20test\x20setup\x20completed','831740QifeAT','env'];a50_0x184a=function(){return _0xaf43f4;};return a50_0x184a();}if(global[a50_0x2579b5(0x1ac)])try{isBrowserstackInfra()?(global[a50_0x2579b5(0x1c9)]=isTrue(global[a50_0x2579b5(0x1ac)]?.[a50_0x2579b5(0x1cd)]),global['__skipSessionStatus']=isTrue(global[a50_0x2579b5(0x1ac)]?.[a50_0x2579b5(0x1ad)])):(global[a50_0x2579b5(0x1c9)]=!![],global[a50_0x2579b5(0x1c3)]=!![]);const helper=require('../../helpers/helper'),puppeteerVersion=helper['getPackageVersion'](a50_0x2579b5(0x1c8))||helper['getPackageVersion'](a50_0x2579b5(0x1ba));if(puppeteerVersion)try{logger[a50_0x2579b5(0x1cc)](a50_0x2579b5(0x1d7)),puppeteerPatcher=require(a50_0x2579b5(0x1c7)),puppeteerPatcher[a50_0x2579b5(0x1b6)](global[a50_0x2579b5(0x1ac)]),logger['debug']('[PuppeteerTestSetup]\x20Puppeteer\x20patching\x20initialized');}catch(a50_0x397489){logger[a50_0x2579b5(0x1cc)]('[PuppeteerTestSetup]\x20Error\x20initializing\x20Puppeteer\x20patching:\x20'+util['format'](a50_0x397489));}if(puppeteerPatcher)try{const BrowserstackCLI=require(a50_0x2579b5(0x1cb)),CLIUtils=require(a50_0x2579b5(0x1c1)),{FRAMEWORKS}=require('../utils/constants');BrowserstackCLI[a50_0x2579b5(0x1c0)]()[a50_0x2579b5(0x1b1)]()&&(logger[a50_0x2579b5(0x1cc)](a50_0x2579b5(0x1bc)),process[a50_0x2579b5(0x1aa)]['BROWSERSTACK_PUPPETEER']=a50_0x2579b5(0x1d1),CLIUtils[a50_0x2579b5(0x1d4)](FRAMEWORKS[a50_0x2579b5(0x1b5)],FRAMEWORKS[a50_0x2579b5(0x1bd)]),BrowserstackCLI[a50_0x2579b5(0x1c0)]()['bootstrap']()[a50_0x2579b5(0x1b3)](_0x1e61e7=>{const _0x3d309a=a50_0x2579b5;logger[_0x3d309a(0x1cc)](_0x3d309a(0x1c4)+util['format'](_0x1e61e7));}));}catch(a50_0x17ff44){logger['debug'](a50_0x2579b5(0x1b8)+util[a50_0x2579b5(0x1ca)](a50_0x17ff44));}shouldProcessEventForTesthub()&&addRequestSpy(![]);}catch(a50_0x4ab6c5){logger[a50_0x2579b5(0x1cc)](a50_0x2579b5(0x1b4)+util[a50_0x2579b5(0x1ca)](a50_0x4ab6c5));}function a50_0x3b55(_0x1d0977,_0x21b385){const _0x184aee=a50_0x184a();return a50_0x3b55=function(_0x3b55f1,_0x10086a){_0x3b55f1=_0x3b55f1-0x1a5;let _0x12fde3=_0x184aee[_0x3b55f1];return _0x12fde3;},a50_0x3b55(_0x1d0977,_0x21b385);}logger['debug'](a50_0x2579b5(0x1a8));
package/src/bin/runner.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a51_0x2296d7=a51_0x41f7;(function(_0x23aee8,_0x34806b){const _0x454234=a51_0x41f7,_0x26934d=_0x23aee8();while(!![]){try{const _0x5a88da=-parseInt(_0x454234(0x25b))/0x1+parseInt(_0x454234(0x1f6))/0x2+parseInt(_0x454234(0x1d5))/0x3+parseInt(_0x454234(0x249))/0x4+-parseInt(_0x454234(0x243))/0x5*(parseInt(_0x454234(0x216))/0x6)+parseInt(_0x454234(0x23f))/0x7*(-parseInt(_0x454234(0x215))/0x8)+parseInt(_0x454234(0x20c))/0x9;if(_0x5a88da===_0x34806b)break;else _0x26934d['push'](_0x26934d['shift']());}catch(_0x19cae1){_0x26934d['push'](_0x26934d['shift']());}}}(a51_0x5538,0xe1165));const fs=require('fs'),path=require(a51_0x2296d7(0x1da)),util=require(a51_0x2296d7(0x1f3)),spawn=require(a51_0x2296d7(0x253))[a51_0x2296d7(0x220)],{requireModule}=require(a51_0x2296d7(0x1e3)),PerformanceTester=require('../helpers/performance/performance-tester'),PerformanceEvents=require(a51_0x2296d7(0x1df))[a51_0x2296d7(0x22a)],helper=require('../helpers/helper'),utilities=require(a51_0x2296d7(0x1ed)),{default:BrowserStackSetup}=require(a51_0x2296d7(0x1ea)),{FRAMEWORKS}=require(a51_0x2296d7(0x255)),runIntegrations=require(a51_0x2296d7(0x229)),yargs=require(a51_0x2296d7(0x20b)),Constants=require(a51_0x2296d7(0x1db)),BrowserstackCLI=require(a51_0x2296d7(0x1d4)),logger=require(a51_0x2296d7(0x24a))['winstonLogger'],origArgs=Object[a51_0x2296d7(0x205)]([],process[a51_0x2296d7(0x1d9)]),captureError=async(_0x571bae,_0x2d7519,_0x1dee89,_0x5bf9d=null,_0x89a71a=![])=>{const _0x22fef1=a51_0x2296d7,_0x2f444a={'edORy':function(_0x48bdc4,_0x4aca67,_0xcf0e33,_0x214afe){return _0x48bdc4(_0x4aca67,_0xcf0e33,_0x214afe);},'reNIH':_0x22fef1(0x1f0)};try{logger['info']('Running\x20SDK\x20with\x20args\x20'+origArgs['join']('\x20')),await _0x2f444a['edORy'](_0x571bae,_0x2d7519,_0x5bf9d,_0x1dee89);}catch(_0x1431ff){process[_0x22fef1(0x257)]=0x1,logger[_0x22fef1(0x228)](util['format'](_0x1431ff));const _0x5043d0={'globalException':util[_0x22fef1(0x1e9)]('%j',_0x1431ff)};PerformanceTester[_0x22fef1(0x236)](PerformanceEvents['SDK_SETUP'],![],util[_0x22fef1(0x1e9)](_0x1431ff));if(helper[_0x22fef1(0x201)](global[_0x22fef1(0x227)])&&helper['isUndefined'](global[_0x22fef1(0x203)]))return;try{utilities[_0x22fef1(0x1ee)](_0x2f444a[_0x22fef1(0x20d)],_0x5043d0,global[_0x22fef1(0x227)],global[_0x22fef1(0x203)]);}catch(_0x2e4b9e){logger['debug'](_0x22fef1(0x202)+_0x2e4b9e[_0x22fef1(0x1d1)]);}try{await helper[_0x22fef1(0x250)](global['config']);}catch(_0x37261f){logger[_0x22fef1(0x259)](_0x22fef1(0x20a)+_0x37261f[_0x22fef1(0x1d1)]);}PerformanceTester[_0x22fef1(0x236)](PerformanceEvents['SDK_SETUP'],![],util[_0x22fef1(0x1e9)](_0x1431ff));}finally{!_0x89a71a&&await BrowserstackCLI[_0x22fef1(0x256)]()[_0x22fef1(0x1cf)](),PerformanceTester[_0x22fef1(0x248)](PerformanceEvents[_0x22fef1(0x21e)]);}};try{const browserstackFolderPath=path[a51_0x2296d7(0x1eb)](helper[a51_0x2296d7(0x222)](),a51_0x2296d7(0x1e6));if(fs[a51_0x2296d7(0x231)](browserstackFolderPath)){const filePath=path[a51_0x2296d7(0x1eb)](browserstackFolderPath,a51_0x2296d7(0x1e5));fs[a51_0x2296d7(0x231)](filePath)&&fs['unlinkSync'](filePath);}}catch(a51_0x62bf47){logger[a51_0x2296d7(0x259)](a51_0x2296d7(0x239)+a51_0x62bf47['message']);}process[a51_0x2296d7(0x1d9)][a51_0x2296d7(0x1fc)](a51_0x2296d7(0x25c))&&(!process[a51_0x2296d7(0x1d9)][a51_0x2296d7(0x1fc)](a51_0x2296d7(0x21f))&&process[a51_0x2296d7(0x1d9)][a51_0x2296d7(0x24b)](a51_0x2296d7(0x1d0)),!process[a51_0x2296d7(0x1d9)][a51_0x2296d7(0x233)](_0x110f18=>_0x110f18['includes']('--config'))&&process[a51_0x2296d7(0x1d9)][a51_0x2296d7(0x24b)](a51_0x2296d7(0x1f5)),!process[a51_0x2296d7(0x1d9)][a51_0x2296d7(0x1fc)]('--package')&&process[a51_0x2296d7(0x1d9)][a51_0x2296d7(0x24b)]('--no-package'),helper[a51_0x2296d7(0x209)](process[a51_0x2296d7(0x1d9)],a51_0x2296d7(0x218),a51_0x2296d7(0x1f8)));PerformanceTester['start'](PerformanceEvents[a51_0x2296d7(0x25f)]);function a51_0x41f7(_0x1a2991,_0x20476a){const _0x5538bf=a51_0x5538();return a51_0x41f7=function(_0x41f74a,_0x5dd209){_0x41f74a=_0x41f74a-0x1cf;let _0x4f9dfd=_0x5538bf[_0x41f74a];return _0x4f9dfd;},a51_0x41f7(_0x1a2991,_0x20476a);}const a51_0x2a7032={};a51_0x2a7032[a51_0x2296d7(0x208)]=![];const argv=yargs['parserConfiguration'](a51_0x2a7032)['usage'](a51_0x2296d7(0x22f))[a51_0x2296d7(0x244)]('v',a51_0x2296d7(0x246))['describe']('v')['alias']('h',a51_0x2296d7(0x214))[a51_0x2296d7(0x214)]('help')[a51_0x2296d7(0x211)](!![],Constants[a51_0x2296d7(0x23a)]['HELP'])[a51_0x2296d7(0x242)](a51_0x2296d7(0x23d),Constants[a51_0x2296d7(0x24c)][a51_0x2296d7(0x21a)],function(_0x153acc){const _0x5e2a06=a51_0x2296d7,_0x4704d2={'xDGYC':_0x5e2a06(0x23d),'AhDYf':function(_0x2ef87e,_0x395b24,_0x42b7fe,_0x4a1808,_0x5c806c,_0x2cd1a5){return _0x2ef87e(_0x395b24,_0x42b7fe,_0x4a1808,_0x5c806c,_0x2cd1a5);},'fqMiF':function(_0x1373e1,_0x11a68f){return _0x1373e1(_0x11a68f);},'IubOW':_0x5e2a06(0x234)},_0x193dbc=process[_0x5e2a06(0x1d9)][_0x5e2a06(0x213)](0x2);helper[_0x5e2a06(0x1f7)](),helper[_0x5e2a06(0x254)](),_0x153acc[_0x5e2a06(0x207)](![]);const _0x3d51fb=new BrowserStackSetup(_0x153acc[_0x5e2a06(0x1d9)],_0x4704d2[_0x5e2a06(0x25e)]);return _0x4704d2[_0x5e2a06(0x1ff)](captureError,_0x4704d2[_0x5e2a06(0x22e)](require,_0x4704d2[_0x5e2a06(0x1fe)]),_0x153acc['argv'],_0x3d51fb,_0x193dbc,!![]);})[a51_0x2296d7(0x242)](a51_0x2296d7(0x25c),Constants[a51_0x2296d7(0x225)][a51_0x2296d7(0x21a)],_0x5521e5=>{const _0xad6797=a51_0x2296d7,_0x1ae91e={'FpUOU':function(_0x36cfb0,_0x3a10db,_0x38c9ac,_0x3b5d40){return _0x36cfb0(_0x3a10db,_0x38c9ac,_0x3b5d40);},'bdIHs':function(_0x560fe3,_0xe8e123){return _0x560fe3(_0xe8e123);},'HTHVA':_0xad6797(0x223),'FGHcy':_0xad6797(0x25c),'apXRz':_0xad6797(0x210),'QzhJu':function(_0x4188b7,_0x1c9ee6,_0x4dbe94){return _0x4188b7(_0x1c9ee6,_0x4dbe94);},'dEvBw':'mocha/lib/cli/run.js','qAXKG':function(_0x1d7771,_0x48083f,_0x2bafab){return _0x1d7771(_0x48083f,_0x2bafab);},'eclGo':_0xad6797(0x1e2),'PohhO':function(_0x20e798,_0x20b5b3,_0x2c7984){return _0x20e798(_0x20b5b3,_0x2c7984);},'AbOWP':'mocha/lib/cli/cli.js','PnzEc':function(_0x40a8d9){return _0x40a8d9();}};process['argv']=process[_0xad6797(0x1d9)][_0xad6797(0x213)](0x1),helper[_0xad6797(0x1f7)](),helper[_0xad6797(0x254)]();const _0x24f1ed=new BrowserStackSetup(_0x5521e5['argv'],_0x1ae91e[_0xad6797(0x21b)]);logger[_0xad6797(0x259)](_0x1ae91e[_0xad6797(0x258)]);const _0x6e8039=_0x1ae91e['QzhJu'](requireModule,_0x1ae91e[_0xad6797(0x25d)],_0x1ae91e[_0xad6797(0x21b)]),_0x537bed=_0x1ae91e[_0xad6797(0x247)](requireModule,_0x1ae91e[_0xad6797(0x23b)],_0x1ae91e['FGHcy']);delete _0x6e8039['handler'],_0x6e8039[_0xad6797(0x1f1)]=function(_0x1fc06e){const _0x40da1e=_0xad6797;return _0x1ae91e[_0x40da1e(0x21c)](captureError,_0x1ae91e[_0x40da1e(0x25a)](require,_0x1ae91e[_0x40da1e(0x20f)]),_0x1fc06e,_0x24f1ed);},_0x537bed[_0xad6797(0x251)]=_0x6e8039;const {main:_0x63ec4e}=_0x1ae91e[_0xad6797(0x1ef)](requireModule,_0x1ae91e[_0xad6797(0x1f4)],_0x1ae91e[_0xad6797(0x21b)]);_0x1ae91e['PnzEc'](_0x63ec4e);})[a51_0x2296d7(0x242)](a51_0x2296d7(0x1e0),Constants[a51_0x2296d7(0x1dd)][a51_0x2296d7(0x21a)],function(_0x4c2b11){const _0x403d04=a51_0x2296d7,_0x3bb8ff={'HzBLP':_0x403d04(0x1e0),'QeYam':function(_0x23fed6,_0x4c78f4,_0x2f378a,_0x2530a4,_0x440b68,_0x5ecd48){return _0x23fed6(_0x4c78f4,_0x2f378a,_0x2530a4,_0x440b68,_0x5ecd48);},'vAiSp':function(_0x33e428,_0x142f15){return _0x33e428(_0x142f15);},'mvGqp':_0x403d04(0x252)},_0x4abcf5=process[_0x403d04(0x1d9)][_0x403d04(0x213)](0x2),_0x3a0a82=new BrowserStackSetup(_0x4c2b11[_0x403d04(0x1d9)],_0x3bb8ff[_0x403d04(0x24f)]);return _0x3bb8ff[_0x403d04(0x219)](captureError,_0x3bb8ff[_0x403d04(0x21d)](require,_0x3bb8ff[_0x403d04(0x1de)]),_0x4c2b11['argv'],_0x3a0a82,_0x4abcf5,!![]);})[a51_0x2296d7(0x242)]('node',Constants['VANILLA']['INFO'],function(_0xa751cc){const _0x27371d=a51_0x2296d7,_0x1edce9={'IJAyN':'vanilla','LeJol':function(_0x3c3bbb,_0x52eab6,_0x578367,_0x39f862,_0x45fa5f){return _0x3c3bbb(_0x52eab6,_0x578367,_0x39f862,_0x45fa5f);},'QkOuE':function(_0x3059dc,_0x5a1037){return _0x3059dc(_0x5a1037);},'VjQSL':_0x27371d(0x1e7)},_0x3cb13b=process[_0x27371d(0x1d9)][_0x27371d(0x213)](0x2),_0x32398c=new BrowserStackSetup(_0xa751cc['argv'],_0x1edce9['IJAyN']);return _0x1edce9[_0x27371d(0x238)](captureError,_0x1edce9[_0x27371d(0x232)](require,_0x1edce9['VjQSL']),_0xa751cc[_0x27371d(0x1d9)],_0x32398c,_0x3cb13b);})[a51_0x2296d7(0x242)](a51_0x2296d7(0x1d6),Constants['NIGHTWATCH'][a51_0x2296d7(0x21a)],function(_0x573ac7){const _0x4eaa2f=a51_0x2296d7,_0x2074f5={'sjxRW':function(_0x1bc0e9,_0x129e61,_0x1ca49e,_0x27ab96,_0x380624){return _0x1bc0e9(_0x129e61,_0x1ca49e,_0x27ab96,_0x380624);},'WoQYO':function(_0x3cc075,_0x573b2c){return _0x3cc075(_0x573b2c);},'nzKYh':'./nightwatch/command'},_0x4b4eb4=process['argv'][_0x4eaa2f(0x213)](0x2),_0x393b26=new BrowserStackSetup(_0x573ac7[_0x4eaa2f(0x1d9)]);return _0x2074f5[_0x4eaa2f(0x237)](captureError,_0x2074f5[_0x4eaa2f(0x235)](require,_0x2074f5[_0x4eaa2f(0x1e4)]),_0x573ac7['argv'],_0x393b26,_0x4b4eb4);})[a51_0x2296d7(0x242)]('codeceptjs',Constants[a51_0x2296d7(0x240)][a51_0x2296d7(0x21a)],function(_0x21fc02){const _0x349381=a51_0x2296d7,_0xd0158d={'Yzyep':_0x349381(0x1d2),'IcGcT':function(_0x375273,_0x42c81c,_0x2c74f7,_0x62c02d,_0x300ba2){return _0x375273(_0x42c81c,_0x2c74f7,_0x62c02d,_0x300ba2);},'dhwnu':function(_0xad269f,_0x480664){return _0xad269f(_0x480664);},'SzXXw':_0x349381(0x1f9)},_0x450a2a=process['argv'][_0x349381(0x213)](0x2),_0x6d5152=new BrowserStackSetup(_0x21fc02['argv'],_0xd0158d[_0x349381(0x260)]);return _0xd0158d[_0x349381(0x200)](captureError,_0xd0158d[_0x349381(0x22d)](require,_0xd0158d[_0x349381(0x1d3)]),_0x21fc02[_0x349381(0x1d9)],_0x6d5152,_0x450a2a);})[a51_0x2296d7(0x242)](a51_0x2296d7(0x22c),Constants['HST']['INFO'],function(_0x464d1c){const _0x2ffeea=a51_0x2296d7,_0x3eaac7={'bVEle':function(_0x5d22b4,_0x881523,_0x61e08d){return _0x5d22b4(_0x881523,_0x61e08d);},'PvLIC':function(_0x71a021,_0x3796a4){return _0x71a021(_0x3796a4);},'XwKUt':_0x2ffeea(0x1ec)},_0x33b0ce=process[_0x2ffeea(0x1d9)]['slice'](0x2);return _0x3eaac7['bVEle'](captureError,_0x3eaac7[_0x2ffeea(0x212)](require,_0x3eaac7[_0x2ffeea(0x1fb)]),_0x464d1c);})[a51_0x2296d7(0x242)](a51_0x2296d7(0x226),Constants[a51_0x2296d7(0x204)]['INFO'],function(_0x4263d3){const _0x1f2ca9={'FmVGQ':function(_0x96a74a,_0x2cb51f){return _0x96a74a(_0x2cb51f);}};return _0x1f2ca9['FmVGQ'](runIntegrations,_0x4263d3);})[a51_0x2296d7(0x242)]('playwright',Constants[a51_0x2296d7(0x20e)][a51_0x2296d7(0x21a)],function(_0x954a70){const _0x236e7f=a51_0x2296d7,_0x368acc={'oHkun':function(_0x466a00,_0x59838b,_0x5e9a42,_0x2fc236,_0x4358c9,_0x4e9762){return _0x466a00(_0x59838b,_0x5e9a42,_0x2fc236,_0x4358c9,_0x4e9762);},'KkNye':function(_0x1932a1,_0x55144a){return _0x1932a1(_0x55144a);},'sFFJU':_0x236e7f(0x221)},_0x1bf97c=process['argv'][_0x236e7f(0x213)](0x2);helper[_0x236e7f(0x1f2)](process[_0x236e7f(0x1d9)])&&(process[_0x236e7f(0x241)][_0x236e7f(0x23e)]=helper[_0x236e7f(0x1f2)](process[_0x236e7f(0x1d9)]));helper[_0x236e7f(0x1f7)](),helper[_0x236e7f(0x254)]();const _0xfab642=new BrowserStackSetup(_0x954a70[_0x236e7f(0x1d9)],FRAMEWORKS[_0x236e7f(0x20e)]);return _0x368acc[_0x236e7f(0x230)](captureError,_0x368acc['KkNye'](require,_0x368acc[_0x236e7f(0x1fa)]),_0x954a70[_0x236e7f(0x1d9)],_0xfab642,_0x1bf97c,!![]);})['command'](a51_0x2296d7(0x1d7),a51_0x2296d7(0x24e),function(_0xc57b8f){const _0x15b604=a51_0x2296d7,_0x430e45={};_0x430e45['yfEFn']=_0x15b604(0x214),_0x430e45[_0x15b604(0x1d8)]=_0x15b604(0x245),_0x430e45[_0x15b604(0x224)]='Show\x20help';const _0x2369c5=_0x430e45;return _0xc57b8f[_0x15b604(0x214)](![])[_0x15b604(0x23c)](_0x2369c5['yfEFn'],{'alias':'h','type':_0x2369c5[_0x15b604(0x1d8)],'describe':_0x2369c5[_0x15b604(0x224)]})['strict'](![])['exitProcess'](![]);},function(_0x2c8838){const _0x13752c=a51_0x2296d7,_0xd2ca64={'uhvny':function(_0x14dd6d,_0x319b47,_0x488d42){return _0x14dd6d(_0x319b47,_0x488d42);},'mRXGY':function(_0x546507,_0x3d6a50){return _0x546507(_0x3d6a50);},'bjBTS':_0x13752c(0x1e1)},_0x232e3e={};return _0x232e3e[_0x13752c(0x1d9)]=_0x2c8838,_0xd2ca64[_0x13752c(0x1dc)](captureError,_0xd2ca64[_0x13752c(0x206)](require,_0xd2ca64[_0x13752c(0x1fd)]),_0x232e3e);})[a51_0x2296d7(0x24d)](0x1,a51_0x2296d7(0x1e8))[a51_0x2296d7(0x22b)](null)[a51_0x2296d7(0x1d9)];function a51_0x5538(){const _0x4618c3=['error','./integrations/command','EVENTS','wrap','ats','dhwnu','fqMiF','usage:\x20$0\x20<command>\x20[args]','oHkun','existsSync','QkOuE','find','./jest/command','WoQYO','end','sjxRW','LeJol','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','VERSION','eclGo','option','jest','BROWSERSTACK_CONFIG_FILE_PATH','2354219lpGXwV','CODECEPTJS','env','command','475rvWgzV','alias','boolean','version','qAXKG','start','1895292imkewQ','../helpers/logger','push','JEST','demandCommand','Runs\x20the\x20binary\x20with\x20load\x20command','HzBLP','sendLogs','run','./cucumber-js/command','child_process','setBrowserStackAutomationDisable','../helpers/test-observability/constants','getInstance','exitCode','apXRz','debug','bdIHs','1335653nSeNmc','mocha','dEvBw','xDGYC','SDK_SETUP','Yzyep','stop','--no-opts','stack','codeceptjs','SzXXw','./v2/browserstackCLI','4383087JQSdAK','nightwatch','load\x20[subcommand]','DpqBb','argv','path','./utils/constants','uhvny','CUCUMBER','mvGqp','../helpers/performance/constants','cucumber-js','./load/index','mocha/lib/cli/commands.js','../helpers/helper','nzKYh','.local-not-set.json','.browserstack','./vanilla-js/command','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','format','../helpers/BrowserStackSetup','join','../../ats/src/index','../helpers/utilities','fireFunnelTestEvent','PohhO','SDKTestSuccessful','handler','getConfigPath','util','AbOWP','--no-config','1606738SmvyFa','setTestObservabilityDisable','--mochaRequire','./codeceptjs/command','sFFJU','XwKUt','includes','bjBTS','IubOW','AhDYf','IcGcT','isUndefined','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','framework','INTEGRATIONS','assign','mRXGY','strict','dot-notation','findAndReplace','Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20','yargs','17385822VtjySV','reNIH','PLAYWRIGHT','HTHVA','Parsing\x20command\x20line\x20arguments','showHelpOnFail','PvLIC','slice','help','16sKhqDJ','109878JVhtGv','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','--require','QeYam','INFO','FGHcy','FpUOU','vAiSp','SDK_CLEANUP','--opts','spawn','./playwright/command','homedir','./mocha/command','WGAns','MOCHA','integrations','config'];a51_0x5538=function(){return _0x4618c3;};return a51_0x5538();}!helper[a51_0x2296d7(0x201)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a51_0x2296d7(0x22c)&&console[a51_0x2296d7(0x228)](a51_0x2296d7(0x217));
2
+ 'use strict';const a51_0x318921=a51_0x31df;(function(_0x3d6441,_0x1f78aa){const _0x1db694=a51_0x31df,_0x5d31f0=_0x3d6441();while(!![]){try{const _0x36ed87=-parseInt(_0x1db694(0x1cb))/0x1+parseInt(_0x1db694(0x1f8))/0x2*(parseInt(_0x1db694(0x18d))/0x3)+-parseInt(_0x1db694(0x1d3))/0x4+parseInt(_0x1db694(0x18a))/0x5+-parseInt(_0x1db694(0x1fd))/0x6+parseInt(_0x1db694(0x192))/0x7*(-parseInt(_0x1db694(0x189))/0x8)+parseInt(_0x1db694(0x1d1))/0x9;if(_0x36ed87===_0x1f78aa)break;else _0x5d31f0['push'](_0x5d31f0['shift']());}catch(_0x2bca82){_0x5d31f0['push'](_0x5d31f0['shift']());}}}(a51_0x9c42,0x41de6));function a51_0x31df(_0x151b14,_0x1b4446){const _0x9c42f=a51_0x9c42();return a51_0x31df=function(_0x31dfe0,_0x10160c){_0x31dfe0=_0x31dfe0-0x186;let _0xbce89a=_0x9c42f[_0x31dfe0];return _0xbce89a;},a51_0x31df(_0x151b14,_0x1b4446);}const fs=require('fs'),path=require('path'),util=require('util'),spawn=require(a51_0x318921(0x1b7))['spawn'],{requireModule}=require(a51_0x318921(0x1f2)),PerformanceTester=require(a51_0x318921(0x1c4)),PerformanceEvents=require(a51_0x318921(0x1a6))[a51_0x318921(0x197)],helper=require(a51_0x318921(0x1f2)),utilities=require(a51_0x318921(0x196)),{default:BrowserStackSetup}=require(a51_0x318921(0x1ab)),{FRAMEWORKS}=require(a51_0x318921(0x204)),runIntegrations=require(a51_0x318921(0x187)),yargs=require('yargs'),Constants=require(a51_0x318921(0x20c)),BrowserstackCLI=require('./v2/browserstackCLI'),logger=require(a51_0x318921(0x1b3))[a51_0x318921(0x1a5)],origArgs=Object[a51_0x318921(0x1bf)]([],process['argv']),captureError=async(_0xdf381c,_0x3337b6,_0x34a9d3,_0x42c972=null,_0x2ccc5b=![])=>{const _0x597c74=a51_0x318921,_0x1acb7c={'QWpIn':function(_0x2b8947,_0x1ac82a,_0x58bc6b,_0x9f6c92){return _0x2b8947(_0x1ac82a,_0x58bc6b,_0x9f6c92);},'gDcwq':_0x597c74(0x19d)};try{logger[_0x597c74(0x1fc)](_0x597c74(0x1c7)+origArgs[_0x597c74(0x1c8)]('\x20')),await _0x1acb7c[_0x597c74(0x1c3)](_0xdf381c,_0x3337b6,_0x42c972,_0x34a9d3);}catch(_0x518020){process[_0x597c74(0x19a)]=0x1,logger[_0x597c74(0x190)](util[_0x597c74(0x1e1)](_0x518020));const _0x20b31c={'globalException':util[_0x597c74(0x1e1)]('%j',_0x518020)};PerformanceTester[_0x597c74(0x1be)](PerformanceEvents[_0x597c74(0x1e5)],![],util[_0x597c74(0x1e1)](_0x518020));if(helper['isUndefined'](global[_0x597c74(0x1c9)])&&helper[_0x597c74(0x200)](global[_0x597c74(0x1ca)]))return;try{utilities['fireFunnelTestEvent'](_0x1acb7c['gDcwq'],_0x20b31c,global[_0x597c74(0x1c9)],global[_0x597c74(0x1ca)]);}catch(_0x28ebc8){logger[_0x597c74(0x1fe)](_0x597c74(0x1ad)+_0x28ebc8[_0x597c74(0x1b6)]);}try{await helper[_0x597c74(0x1e9)](global[_0x597c74(0x1c9)]);}catch(_0x3dc3c5){logger[_0x597c74(0x1fe)](_0x597c74(0x1c5)+_0x3dc3c5[_0x597c74(0x1b6)]);}PerformanceTester[_0x597c74(0x1be)](PerformanceEvents['SDK_SETUP'],![],util[_0x597c74(0x1e1)](_0x518020));}finally{!_0x2ccc5b&&await BrowserstackCLI['getInstance']()[_0x597c74(0x206)](),PerformanceTester[_0x597c74(0x1bd)](PerformanceEvents[_0x597c74(0x20f)]);}};try{const browserstackFolderPath=path['join'](helper['homedir'](),'.browserstack');if(fs['existsSync'](browserstackFolderPath)){const filePath=path[a51_0x318921(0x1c8)](browserstackFolderPath,'.local-not-set.json');fs[a51_0x318921(0x1c2)](filePath)&&fs[a51_0x318921(0x1b5)](filePath);}}catch(a51_0x183d1d){logger['debug'](a51_0x318921(0x19b)+a51_0x183d1d[a51_0x318921(0x1e8)]);}process[a51_0x318921(0x1de)][a51_0x318921(0x1cc)](a51_0x318921(0x1a0))&&(!process[a51_0x318921(0x1de)][a51_0x318921(0x1cc)](a51_0x318921(0x1a8))&&process['argv'][a51_0x318921(0x1d8)](a51_0x318921(0x203)),!process[a51_0x318921(0x1de)][a51_0x318921(0x1ff)](_0x1c2433=>_0x1c2433[a51_0x318921(0x1cc)](a51_0x318921(0x202)))&&process[a51_0x318921(0x1de)][a51_0x318921(0x1d8)](a51_0x318921(0x1aa)),!process[a51_0x318921(0x1de)][a51_0x318921(0x1cc)](a51_0x318921(0x1c0))&&process[a51_0x318921(0x1de)][a51_0x318921(0x1d8)](a51_0x318921(0x210)),helper[a51_0x318921(0x20d)](process[a51_0x318921(0x1de)],a51_0x318921(0x207),a51_0x318921(0x18c)));PerformanceTester['start'](PerformanceEvents[a51_0x318921(0x1e5)]);const a51_0x45fe81={};function a51_0x9c42(){const _0x46d978=['integrations','./utils/constants','findAndReplace','mocha/lib/cli/cli.js','SDK_CLEANUP','--no-package','jVQaw','version','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','mocha/lib/cli/commands.js','./integrations/command','dot-notation','8JWvgWx','2045315lBbpjs','LeQaM','--mochaRequire','786fLyYkt','./mocha/command','HMRaW','error','./jest/command','2541833BDmQOw','PLAYWRIGHT','QhlcU','lptbS','../helpers/utilities','EVENTS','nightwatch','cucumber-js','exitCode','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','HltXe','SDKTestSuccessful','eLBtV','soMWR','mocha','slice','./load/index','load\x20[subcommand]','HST','winstonLogger','../helpers/performance/constants','setTestObservabilityDisable','--opts','rcuCq','--no-config','../helpers/BrowserStackSetup','xUcfq','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','describe','command','LiQQJ','env','pMvaL','../helpers/logger','help','unlinkSync','stack','child_process','./codeceptjs/command','gmyWI','mocha/lib/cli/run.js','alias','KKGiY','start','end','assign','--package','KFajd','existsSync','QWpIn','../helpers/performance/performance-tester','Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20','IMqUG','Running\x20SDK\x20with\x20args\x20','join','config','framework','523167TDjojl','includes','vanilla','tanTG','INFO','NmqUm','7642449moDFul','parserConfiguration','1740620ffXktB','handler','setBrowserStackAutomationDisable','codeceptjs','AgSRu','push','node','VANILLA','playwright','Show\x20help','CUCUMBER','argv','wboHj','MOCHA','format','HELP','ats','jest','SDK_SETUP','UjBNB','CdSyY','message','sendLogs','gUPrF','WcKrH','mrxdS','BROWSERSTACK_CONFIG_FILE_PATH','dikLe','getConfigPath','xvlou','NTJKx','../helpers/helper','Veylp','INTEGRATIONS','./cucumber-js/command','CODECEPTJS','run','2830RiFlzP','usage:\x20$0\x20<command>\x20[args]','VERSION','YqliQ','info','226290lUROAe','debug','find','isUndefined','strict','--config','--no-opts','../helpers/test-observability/constants','RNYXc','stop','--require','JEST','option','cKnNX'];a51_0x9c42=function(){return _0x46d978;};return a51_0x9c42();}a51_0x45fe81[a51_0x318921(0x188)]=![];const argv=yargs[a51_0x318921(0x1d2)](a51_0x45fe81)['usage'](a51_0x318921(0x1f9))['alias']('v',a51_0x318921(0x212))[a51_0x318921(0x1ae)]('v')[a51_0x318921(0x1bb)]('h','help')[a51_0x318921(0x1b4)](a51_0x318921(0x1b4))['showHelpOnFail'](!![],Constants[a51_0x318921(0x1fa)][a51_0x318921(0x1e2)])[a51_0x318921(0x1af)]('jest',Constants[a51_0x318921(0x208)][a51_0x318921(0x1cf)],function(_0x271474){const _0x48bea2=a51_0x318921,_0x29ce85={'pMvaL':_0x48bea2(0x1e4),'RNYXc':function(_0x2925d3,_0x15a2fa,_0x388f25,_0x5056f8,_0x18ce8e,_0x502a9d){return _0x2925d3(_0x15a2fa,_0x388f25,_0x5056f8,_0x18ce8e,_0x502a9d);},'qIKni':function(_0x4c1072,_0x2c2642){return _0x4c1072(_0x2c2642);},'rcuCq':_0x48bea2(0x191)},_0x3d398b=process[_0x48bea2(0x1de)][_0x48bea2(0x1a1)](0x2);helper['setTestObservabilityDisable'](),helper[_0x48bea2(0x1d5)](),_0x271474[_0x48bea2(0x201)](![]);const _0x2074a7=new BrowserStackSetup(_0x271474[_0x48bea2(0x1de)],_0x29ce85[_0x48bea2(0x1b2)]);return _0x29ce85[_0x48bea2(0x205)](captureError,_0x29ce85['qIKni'](require,_0x29ce85[_0x48bea2(0x1a9)]),_0x271474[_0x48bea2(0x1de)],_0x2074a7,_0x3d398b,!![]);})['command']('mocha',Constants[a51_0x318921(0x1e0)]['INFO'],_0x4f2fa5=>{const _0x3777c0=a51_0x318921,_0x4fd852={'HltXe':function(_0x2e68bf,_0x43654a,_0x210879,_0x27b58a){return _0x2e68bf(_0x43654a,_0x210879,_0x27b58a);},'UjBNB':function(_0xae697e,_0xe9cf5e){return _0xae697e(_0xe9cf5e);},'zgDCp':_0x3777c0(0x18e),'KKGiY':_0x3777c0(0x1a0),'gUPrF':'Parsing\x20command\x20line\x20arguments','hHVAz':function(_0x23d2bb,_0x4b98a6,_0x19ed13){return _0x23d2bb(_0x4b98a6,_0x19ed13);},'QNHeT':_0x3777c0(0x1ba),'jVQaw':_0x3777c0(0x186),'gQJWm':function(_0x524700,_0x4baf4c,_0x761bcb){return _0x524700(_0x4baf4c,_0x761bcb);},'LeQaM':_0x3777c0(0x20e),'dikLe':function(_0x16397a){return _0x16397a();}};process[_0x3777c0(0x1de)]=process[_0x3777c0(0x1de)][_0x3777c0(0x1a1)](0x1),helper['setTestObservabilityDisable'](),helper[_0x3777c0(0x1d5)]();const _0x4ee6ab=new BrowserStackSetup(_0x4f2fa5['argv'],_0x4fd852['KKGiY']);logger[_0x3777c0(0x1fe)](_0x4fd852[_0x3777c0(0x1ea)]);const _0x2afabe=_0x4fd852['hHVAz'](requireModule,_0x4fd852['QNHeT'],_0x4fd852[_0x3777c0(0x1bc)]),_0x29dccc=_0x4fd852['hHVAz'](requireModule,_0x4fd852[_0x3777c0(0x211)],_0x4fd852[_0x3777c0(0x1bc)]);delete _0x2afabe[_0x3777c0(0x1d4)],_0x2afabe['handler']=function(_0x1d6028){const _0x38f499=_0x3777c0;return _0x4fd852[_0x38f499(0x19c)](captureError,_0x4fd852[_0x38f499(0x1e6)](require,_0x4fd852['zgDCp']),_0x1d6028,_0x4ee6ab);},_0x29dccc[_0x3777c0(0x1f7)]=_0x2afabe;const {main:_0x4dc665}=_0x4fd852['gQJWm'](requireModule,_0x4fd852[_0x3777c0(0x18b)],_0x4fd852[_0x3777c0(0x1bc)]);_0x4fd852[_0x3777c0(0x1ee)](_0x4dc665);})[a51_0x318921(0x1af)](a51_0x318921(0x199),Constants[a51_0x318921(0x1dd)][a51_0x318921(0x1cf)],function(_0x880030){const _0x204017=a51_0x318921,_0x2f1899={'XQIPl':_0x204017(0x199),'NTJKx':function(_0x46ea05,_0x4e10eb,_0x3d610b,_0x3ad333,_0x5c8fb6,_0x176414){return _0x46ea05(_0x4e10eb,_0x3d610b,_0x3ad333,_0x5c8fb6,_0x176414);},'WkBXE':function(_0x49b220,_0x4470b6){return _0x49b220(_0x4470b6);},'Veylp':_0x204017(0x1f5)},_0x4b72e5=process[_0x204017(0x1de)][_0x204017(0x1a1)](0x2),_0x359cfc=new BrowserStackSetup(_0x880030[_0x204017(0x1de)],_0x2f1899['XQIPl']);return _0x2f1899[_0x204017(0x1f1)](captureError,_0x2f1899['WkBXE'](require,_0x2f1899[_0x204017(0x1f3)]),_0x880030[_0x204017(0x1de)],_0x359cfc,_0x4b72e5,!![]);})[a51_0x318921(0x1af)](a51_0x318921(0x1d9),Constants[a51_0x318921(0x1da)][a51_0x318921(0x1cf)],function(_0x27aca4){const _0x577d86=a51_0x318921,_0x3b1c7a={'tanTG':_0x577d86(0x1cd),'soMWR':function(_0x304589,_0x4350df,_0x118776,_0x179310,_0x2f93be){return _0x304589(_0x4350df,_0x118776,_0x179310,_0x2f93be);},'kDSpT':function(_0x4842e6,_0x42e2b8){return _0x4842e6(_0x42e2b8);},'mrxdS':'./vanilla-js/command'},_0x1a28c5=process[_0x577d86(0x1de)][_0x577d86(0x1a1)](0x2),_0x20032c=new BrowserStackSetup(_0x27aca4[_0x577d86(0x1de)],_0x3b1c7a[_0x577d86(0x1ce)]);return _0x3b1c7a[_0x577d86(0x19f)](captureError,_0x3b1c7a['kDSpT'](require,_0x3b1c7a[_0x577d86(0x1ec)]),_0x27aca4[_0x577d86(0x1de)],_0x20032c,_0x1a28c5);})['command'](a51_0x318921(0x198),Constants['NIGHTWATCH']['INFO'],function(_0x52f7a2){const _0x394dc1=a51_0x318921,_0x1a2b92={'gmyWI':function(_0x3c20ac,_0x285479,_0x67dbd5,_0x35b2ad,_0x1e5a3e){return _0x3c20ac(_0x285479,_0x67dbd5,_0x35b2ad,_0x1e5a3e);},'AgSRu':function(_0x46627b,_0xcf4926){return _0x46627b(_0xcf4926);},'YqliQ':'./nightwatch/command'},_0x2c9b52=process[_0x394dc1(0x1de)][_0x394dc1(0x1a1)](0x2),_0xb42c9d=new BrowserStackSetup(_0x52f7a2[_0x394dc1(0x1de)]);return _0x1a2b92[_0x394dc1(0x1b9)](captureError,_0x1a2b92[_0x394dc1(0x1d7)](require,_0x1a2b92[_0x394dc1(0x1fb)]),_0x52f7a2['argv'],_0xb42c9d,_0x2c9b52);})[a51_0x318921(0x1af)](a51_0x318921(0x1d6),Constants[a51_0x318921(0x1f6)][a51_0x318921(0x1cf)],function(_0x20fa22){const _0x5525db=a51_0x318921,_0x1c2db3={'lptbS':_0x5525db(0x1d6),'KFajd':function(_0x1422d3,_0x41e477,_0x304f2b,_0x4d968d,_0x1e63b7){return _0x1422d3(_0x41e477,_0x304f2b,_0x4d968d,_0x1e63b7);},'HMRaW':function(_0x55b6f2,_0x1f4baf){return _0x55b6f2(_0x1f4baf);},'LiQQJ':_0x5525db(0x1b8)},_0xa53d84=process['argv'][_0x5525db(0x1a1)](0x2),_0x2a1e8e=new BrowserStackSetup(_0x20fa22[_0x5525db(0x1de)],_0x1c2db3[_0x5525db(0x195)]);return _0x1c2db3[_0x5525db(0x1c1)](captureError,_0x1c2db3[_0x5525db(0x18f)](require,_0x1c2db3[_0x5525db(0x1b0)]),_0x20fa22[_0x5525db(0x1de)],_0x2a1e8e,_0xa53d84);})[a51_0x318921(0x1af)](a51_0x318921(0x1e3),Constants[a51_0x318921(0x1a4)]['INFO'],function(_0x533f2c){const _0x3d46e5=a51_0x318921,_0x1e0720={'YLTzS':function(_0x2821b0,_0x378bad,_0x41629c){return _0x2821b0(_0x378bad,_0x41629c);},'xUcfq':function(_0xdd02d0,_0x4408d2){return _0xdd02d0(_0x4408d2);},'QhlcU':'../../ats/src/index'},_0x32c822=process['argv'][_0x3d46e5(0x1a1)](0x2);return _0x1e0720['YLTzS'](captureError,_0x1e0720[_0x3d46e5(0x1ac)](require,_0x1e0720[_0x3d46e5(0x194)]),_0x533f2c);})[a51_0x318921(0x1af)](a51_0x318921(0x20b),Constants[a51_0x318921(0x1f4)]['INFO'],function(_0x475bab){const _0x10c19d=a51_0x318921,_0x17559f={'IMqUG':function(_0x41f739,_0x55474e){return _0x41f739(_0x55474e);}};return _0x17559f[_0x10c19d(0x1c6)](runIntegrations,_0x475bab);})['command'](a51_0x318921(0x1db),Constants[a51_0x318921(0x193)][a51_0x318921(0x1cf)],function(_0xbc44c0){const _0x1b0a70=a51_0x318921,_0x21f4a1={'wboHj':function(_0x30f8a3,_0x35aac9,_0x5de1e8,_0xe0459d,_0x23ba67,_0x444964){return _0x30f8a3(_0x35aac9,_0x5de1e8,_0xe0459d,_0x23ba67,_0x444964);},'cKnNX':function(_0x22c2b6,_0x2758ca){return _0x22c2b6(_0x2758ca);},'WcKrH':'./playwright/command'},_0x8c06cd=process[_0x1b0a70(0x1de)][_0x1b0a70(0x1a1)](0x2);helper[_0x1b0a70(0x1ef)](process['argv'])&&(process[_0x1b0a70(0x1b1)][_0x1b0a70(0x1ed)]=helper[_0x1b0a70(0x1ef)](process['argv']));helper[_0x1b0a70(0x1a7)](),helper['setBrowserStackAutomationDisable']();const _0x24309d=new BrowserStackSetup(_0xbc44c0[_0x1b0a70(0x1de)],FRAMEWORKS[_0x1b0a70(0x193)]);return _0x21f4a1[_0x1b0a70(0x1df)](captureError,_0x21f4a1[_0x1b0a70(0x20a)](require,_0x21f4a1[_0x1b0a70(0x1eb)]),_0xbc44c0[_0x1b0a70(0x1de)],_0x24309d,_0x8c06cd,!![]);})[a51_0x318921(0x1af)](a51_0x318921(0x1a3),'Runs\x20the\x20binary\x20with\x20load\x20command',function(_0x2f9f28){const _0x565eb3=a51_0x318921,_0xa0950c={};_0xa0950c[_0x565eb3(0x1f0)]='help',_0xa0950c['NmqUm']='boolean',_0xa0950c['Sphdl']=_0x565eb3(0x1dc);const _0x348438=_0xa0950c;return _0x2f9f28[_0x565eb3(0x1b4)](![])[_0x565eb3(0x209)](_0x348438[_0x565eb3(0x1f0)],{'alias':'h','type':_0x348438[_0x565eb3(0x1d0)],'describe':_0x348438['Sphdl']})['strict'](![])['exitProcess'](![]);},function(_0x4fb352){const _0x26d026=a51_0x318921,_0x4757e8={'eLBtV':function(_0x97960a,_0x259f3a,_0x1ef5b8){return _0x97960a(_0x259f3a,_0x1ef5b8);},'CdSyY':function(_0x407435,_0x292600){return _0x407435(_0x292600);},'ggafX':_0x26d026(0x1a2)},_0x33ae99={};return _0x33ae99[_0x26d026(0x1de)]=_0x4fb352,_0x4757e8[_0x26d026(0x19e)](captureError,_0x4757e8[_0x26d026(0x1e7)](require,_0x4757e8['ggafX']),_0x33ae99);})['demandCommand'](0x1,a51_0x318921(0x213))['wrap'](null)[a51_0x318921(0x1de)];!helper[a51_0x318921(0x200)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a51_0x318921(0x1e3)&&console[a51_0x318921(0x190)]('Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.');
package/src/bin/setup.js CHANGED
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- function a52_0x427a(_0x145570,_0x18b210){const _0x3be596=a52_0x3be5();return a52_0x427a=function(_0x427ad6,_0x3ad449){_0x427ad6=_0x427ad6-0x1e4;let _0x20038b=_0x3be596[_0x427ad6];return _0x20038b;},a52_0x427a(_0x145570,_0x18b210);}const a52_0x1f48a9=a52_0x427a;(function(_0x54d98a,_0x371c17){const _0x298480=a52_0x427a,_0x23865a=_0x54d98a();while(!![]){try{const _0x57de07=-parseInt(_0x298480(0x1ef))/0x1+-parseInt(_0x298480(0x20f))/0x2*(-parseInt(_0x298480(0x208))/0x3)+parseInt(_0x298480(0x224))/0x4*(-parseInt(_0x298480(0x1ee))/0x5)+-parseInt(_0x298480(0x1f1))/0x6+-parseInt(_0x298480(0x211))/0x7*(-parseInt(_0x298480(0x1e8))/0x8)+-parseInt(_0x298480(0x1f7))/0x9*(parseInt(_0x298480(0x1fd))/0xa)+parseInt(_0x298480(0x214))/0xb;if(_0x57de07===_0x371c17)break;else _0x23865a['push'](_0x23865a['shift']());}catch(_0xe023d1){_0x23865a['push'](_0x23865a['shift']());}}}(a52_0x3be5,0xeb24c));const fs=require('fs'),helper=require('../helpers/helper'),utilities=require(a52_0x1f48a9(0x1e4)),yaml=require(a52_0x1f48a9(0x213)),yargs=require(a52_0x1f48a9(0x207)),logger=require(a52_0x1f48a9(0x21e))[a52_0x1f48a9(0x1e6)],configFileTemplate=__dirname+'/../../browserstack.yml.sample',configFileTemplatePW=__dirname+a52_0x1f48a9(0x221),configFile=process[a52_0x1f48a9(0x1f2)]()+'/browserstack.yml',packageFile=process['cwd']()+a52_0x1f48a9(0x204),frameworks=[a52_0x1f48a9(0x225),a52_0x1f48a9(0x1eb),a52_0x1f48a9(0x212),a52_0x1f48a9(0x210),a52_0x1f48a9(0x20b),'codeceptjs',a52_0x1f48a9(0x227)];let config;logger[a52_0x1f48a9(0x1fe)](a52_0x1f48a9(0x21d)),createConfigurationFile(yargs[a52_0x1f48a9(0x1f6)][a52_0x1f48a9(0x22b)],yargs['argv'][a52_0x1f48a9(0x1e5)],yargs[a52_0x1f48a9(0x1f6)][a52_0x1f48a9(0x227)]);try{sdkSetup();}catch(a52_0x5b40a6){logger[a52_0x1f48a9(0x226)](a52_0x1f48a9(0x1f9)+a52_0x5b40a6);}addScriptInPackageJson();function createConfigurationFile(_0x3c43f0,_0x2be754,_0x356cd2=![]){const _0x19ad05=a52_0x1f48a9,_0x2a2b45={};_0x2a2b45['asPIN']='utf8',_0x2a2b45[_0x19ad05(0x1fa)]=_0x19ad05(0x21b),_0x2a2b45[_0x19ad05(0x1ea)]=_0x19ad05(0x22e);const _0x5e99ae=_0x2a2b45;try{let _0x17eb5b=fs[_0x19ad05(0x1f5)](_0x356cd2?configFileTemplatePW:configFileTemplate,_0x5e99ae['asPIN']);_0x3c43f0&&(_0x17eb5b=_0x17eb5b[_0x19ad05(0x20a)](_0x5e99ae[_0x19ad05(0x1fa)],_0x3c43f0)),_0x2be754&&(_0x17eb5b=_0x17eb5b[_0x19ad05(0x20a)](_0x5e99ae[_0x19ad05(0x1ea)],_0x2be754)),config=yaml[_0x19ad05(0x22c)](_0x17eb5b),fs[_0x19ad05(0x200)](configFile,_0x17eb5b,_0xa0d770=>{const _0x49bf61=_0x19ad05;_0xa0d770&&logger[_0x49bf61(0x202)](_0xa0d770);});}catch(_0x4a3fdd){logger[_0x19ad05(0x202)](_0x4a3fdd);}}function addPostInstallScript(_0x387682,_0x5cd84){const _0x33f7bd=a52_0x1f48a9,_0x17ea20={};_0x17ea20['JfsOQ']='postinstall',_0x17ea20[_0x33f7bd(0x1ed)]=_0x33f7bd(0x215),_0x17ea20['zJXlm']=_0x33f7bd(0x222);const _0x46f9d5=_0x17ea20;let _0x150c2d=_0x387682[_0x46f9d5[_0x33f7bd(0x205)]];if(_0x150c2d&&_0x150c2d['includes'](_0x46f9d5[_0x33f7bd(0x1ed)]))return;!_0x150c2d?_0x150c2d=_0x46f9d5['Daxxm']:_0x150c2d+=_0x46f9d5[_0x33f7bd(0x218)],_0x5cd84['push']([_0x46f9d5[_0x33f7bd(0x205)],_0x150c2d]);}function addScriptInPackageJson(){const _0xde3482=a52_0x1f48a9,_0xdcd9dc={'DKmQM':'utf8','ZGRgo':function(_0x262049,_0x35360a){return _0x262049<_0x35360a;},'Emnlk':function(_0x8191e9,_0x1db8c9,_0xb4cf4){return _0x8191e9(_0x1db8c9,_0xb4cf4);},'rQEwn':function(_0x15ea62,_0x5042fc){return _0x15ea62<_0x5042fc;},'ZqLQS':function(_0x1d6e34,_0x246019){return _0x1d6e34!==_0x246019;},'KlRzr':_0xde3482(0x228)},_0x16ae1b=JSON[_0xde3482(0x21f)](fs[_0xde3482(0x1f5)](packageFile,_0xdcd9dc[_0xde3482(0x1f4)])),_0x4dd8f2=[];for(let _0x35b300=0x0;_0xdcd9dc['ZGRgo'](_0x35b300,frameworks[_0xde3482(0x1ec)]);_0x35b300+=0x1){const _0x182fb1=_0xdcd9dc[_0xde3482(0x1ff)](findScriptsWithFramework,_0x16ae1b['scripts'],frameworks[_0x35b300]);for(let _0x697450=0x0;_0xdcd9dc[_0xde3482(0x220)](_0x697450,_0x182fb1[_0xde3482(0x1ec)]);_0x697450+=0x1){_0x4dd8f2[_0xde3482(0x1e7)](_0xdcd9dc[_0xde3482(0x1ff)](getUpdatedCommand,_0x16ae1b[_0xde3482(0x21c)],_0x182fb1[_0x697450]));}_0xdcd9dc[_0xde3482(0x1ff)](addPostInstallScript,_0x16ae1b[_0xde3482(0x21c)],_0x4dd8f2);}const _0x491c9d={..._0x16ae1b[_0xde3482(0x21c)]},_0x28ca3c=_0x491c9d;for(let _0x461395=0x0;_0xdcd9dc[_0xde3482(0x1f8)](_0x461395,_0x4dd8f2['length']);_0x461395+=0x1){_0x28ca3c[_0x4dd8f2[_0x461395][0x0]]=_0x4dd8f2[_0x461395][0x1];}_0xdcd9dc[_0xde3482(0x223)](JSON[_0xde3482(0x20e)](_0x16ae1b[_0xde3482(0x21c)]),JSON[_0xde3482(0x20e)](_0x28ca3c))&&(logger[_0xde3482(0x1fe)](_0xdcd9dc[_0xde3482(0x1fc)]),_0x16ae1b[_0xde3482(0x21c)]=_0x28ca3c,fs[_0xde3482(0x200)](packageFile,JSON['stringify'](_0x16ae1b,null,0x2),_0x3b060f=>{_0x3b060f&&logger['error'](_0x3b060f);}));};function findScriptsWithFramework(_0x20e8f0,_0x1244fb){const _0x2c24d6=a52_0x1f48a9,_0x2e21a8={};_0x2e21a8['NQfhh']=function(_0x4fc1fc,_0x511d02){return _0x4fc1fc<_0x511d02;},_0x2e21a8[_0x2c24d6(0x1fb)]=_0x2c24d6(0x1f0);const _0x5bf683=_0x2e21a8,_0x51dbc0=[],_0x48ec12=Object[_0x2c24d6(0x20d)](_0x20e8f0);for(let _0x30d5e7=0x0;_0x5bf683[_0x2c24d6(0x21a)](_0x30d5e7,_0x48ec12[_0x2c24d6(0x1ec)]);_0x30d5e7+=0x1){_0x48ec12[_0x30d5e7][0x1]['includes'](_0x1244fb)&&!_0x48ec12[_0x30d5e7][0x1]['includes'](_0x5bf683['lYPxY'])&&_0x51dbc0['push'](_0x48ec12[_0x30d5e7][0x0]);}return _0x51dbc0;}function getUpdatedCommand(_0x4ae4a0,_0x277525){const _0x53124d=a52_0x1f48a9,_0xcd875e={};_0xcd875e[_0x53124d(0x20c)]=function(_0xc8db0e,_0x78d754){return _0xc8db0e!==_0x78d754;},_0xcd875e['eUcAb']='browserstack-node-sdk',_0xcd875e[_0x53124d(0x216)]=function(_0x2c78df,_0x32e353){return _0x2c78df===_0x32e353;};const _0x3b5ec4=_0xcd875e,_0x217373=_0x277525+_0x53124d(0x203),_0x379d34=_0x4ae4a0[_0x277525],_0x323ab6=_0x379d34[_0x53124d(0x201)]('\x20');for(const _0x34faab of frameworks){if(_0x3b5ec4['uECea'](_0x323ab6['indexOf'](_0x34faab),-0x1)){_0x323ab6[_0x53124d(0x1f3)](_0x323ab6['indexOf'](_0x34faab),0x0,_0x3b5ec4[_0x53124d(0x22d)]);break;}}let _0x3220b9=_0x323ab6[_0x53124d(0x22a)]('\x20');return _0x3b5ec4[_0x53124d(0x216)](_0x3220b9,_0x379d34)&&(_0x3220b9=_0x53124d(0x219)+_0x379d34),[_0x217373,_0x3220b9];}function sdkSetup(){const _0x5d768e=a52_0x1f48a9,_0x49e815={};_0x49e815[_0x5d768e(0x209)]=_0x5d768e(0x217),_0x49e815['KRhlR']='SDKSetup';const _0x11a80b=_0x49e815;if(helper[_0x5d768e(0x206)](config))return;config['source']=_0x11a80b[_0x5d768e(0x209)];try{utilities[_0x5d768e(0x229)](_0x11a80b['KRhlR'],{},config,'');}catch(_0x3a9e82){logger[_0x5d768e(0x226)]('Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20'+_0x3a9e82);}}logger['info'](a52_0x1f48a9(0x1e9));function a52_0x3be5(){const _0x3a0f81=['mocha','debug','playwright','Adding\x20new\x20script(s)\x20in\x20package.json...','fireFunnelTestEvent','join','username','load','eUcAb','YOUR_ACCESS_KEY','../helpers/utilities','key','winstonLogger','push','16JieTAN','Setup\x20completed','iYWNj','jest','length','Daxxm','32290COrVdj','354087VfGAKC','browserstack-node-sdk','7225212tFwWpr','cwd','splice','DKmQM','readFileSync','argv','1791LFrqMZ','ZGRgo','Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20','klaQW','lYPxY','KlRzr','75960yGKQvY','info','Emnlk','writeFileSync','split','error','-browserstack','/package.json','JfsOQ','isUndefined','yargs','3caQrSu','XnAvT','replace','nightwatch','uECea','entries','stringify','2214116jxzJjJ','node','5127619CZPhHV','cucumber-js','js-yaml','16851857NKTeGZ','npm\x20update\x20browserstack-node-sdk','WmhRT','node-setup','zJXlm','browserstack-node-sdk\x20','NQfhh','YOUR_USERNAME','scripts','Creating\x20configuration\x20file...','../helpers/logger','parse','rQEwn','/../../browserstack.pw.yml.sample','\x20&&\x20npm\x20update\x20browserstack-node-sdk','ZqLQS','44MDqSmJ'];a52_0x3be5=function(){return _0x3a0f81;};return a52_0x3be5();}
3
+ const a52_0x1ff513=a52_0x4cb3;(function(_0x4ce1a0,_0x23ed58){const _0xc427f5=a52_0x4cb3,_0x544f44=_0x4ce1a0();while(!![]){try{const _0x10b2f8=-parseInt(_0xc427f5(0x19f))/0x1+parseInt(_0xc427f5(0x1a0))/0x2*(-parseInt(_0xc427f5(0x198))/0x3)+parseInt(_0xc427f5(0x160))/0x4+parseInt(_0xc427f5(0x196))/0x5+-parseInt(_0xc427f5(0x18b))/0x6+parseInt(_0xc427f5(0x197))/0x7+parseInt(_0xc427f5(0x164))/0x8;if(_0x10b2f8===_0x23ed58)break;else _0x544f44['push'](_0x544f44['shift']());}catch(_0x144cf8){_0x544f44['push'](_0x544f44['shift']());}}}(a52_0x4161,0x37db1));const fs=require('fs'),helper=require(a52_0x1ff513(0x181)),utilities=require(a52_0x1ff513(0x18c)),yaml=require(a52_0x1ff513(0x18f)),yargs=require(a52_0x1ff513(0x18a)),logger=require(a52_0x1ff513(0x1a2))[a52_0x1ff513(0x168)],configFileTemplate=__dirname+'/../../browserstack.yml.sample',configFileTemplatePW=__dirname+a52_0x1ff513(0x19c),configFile=process[a52_0x1ff513(0x191)]()+'/browserstack.yml',packageFile=process[a52_0x1ff513(0x191)]()+a52_0x1ff513(0x167),frameworks=[a52_0x1ff513(0x18e),a52_0x1ff513(0x179),'cucumber-js',a52_0x1ff513(0x16a),'nightwatch',a52_0x1ff513(0x19b),a52_0x1ff513(0x195)];let config;logger[a52_0x1ff513(0x1a1)](a52_0x1ff513(0x189)),createConfigurationFile(yargs['argv']['username'],yargs[a52_0x1ff513(0x190)][a52_0x1ff513(0x16b)],yargs[a52_0x1ff513(0x190)][a52_0x1ff513(0x195)]);try{sdkSetup();}catch(a52_0x417633){logger[a52_0x1ff513(0x16d)](a52_0x1ff513(0x1a3)+a52_0x417633);}addScriptInPackageJson();function a52_0x4cb3(_0xea1333,_0x2c1232){const _0x4161f=a52_0x4161();return a52_0x4cb3=function(_0x4cb39f,_0x43bc2a){_0x4cb39f=_0x4cb39f-0x15f;let _0xed785d=_0x4161f[_0x4cb39f];return _0xed785d;},a52_0x4cb3(_0xea1333,_0x2c1232);}function createConfigurationFile(_0x2247ac,_0x5429f1,_0x5b2035=![]){const _0x174a0d=a52_0x1ff513,_0x133464={};_0x133464[_0x174a0d(0x19d)]=_0x174a0d(0x17f),_0x133464[_0x174a0d(0x174)]=_0x174a0d(0x180),_0x133464[_0x174a0d(0x183)]=_0x174a0d(0x15f);const _0x253387=_0x133464;try{let _0x2926d6=fs['readFileSync'](_0x5b2035?configFileTemplatePW:configFileTemplate,_0x253387[_0x174a0d(0x19d)]);_0x2247ac&&(_0x2926d6=_0x2926d6[_0x174a0d(0x192)](_0x253387[_0x174a0d(0x174)],_0x2247ac)),_0x5429f1&&(_0x2926d6=_0x2926d6['replace'](_0x253387[_0x174a0d(0x183)],_0x5429f1)),config=yaml[_0x174a0d(0x184)](_0x2926d6),fs[_0x174a0d(0x178)](configFile,_0x2926d6,_0x2c8611=>{const _0xb0efca=_0x174a0d;_0x2c8611&&logger[_0xb0efca(0x175)](_0x2c8611);});}catch(_0x6a8e1d){logger[_0x174a0d(0x175)](_0x6a8e1d);}}function a52_0x4161(){const _0x5b5288=['93xRDmbU','splice','Lmnda','codeceptjs','/../../browserstack.pw.yml.sample','DyvSY','LkGwR','85004qbkIYv','20286hatKUc','info','../helpers/logger','Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20','XLrck','stringify','split','length','-browserstack','ewPsD','YOUR_ACCESS_KEY','1378576btGVQK','eJBDz','source','readFileSync','3296648XGHGxA','zLwMq','LGPtM','/package.json','winstonLogger','EtvRB','node','key','isUndefined','debug','SDKSetup','indexOf','vnkdp','npm\x20update\x20browserstack-node-sdk','fireFunnelTestEvent','Setup\x20completed','aTrTj','error','browserstack-node-sdk\x20','scripts','writeFileSync','jest','SvMCr','join','psOnJ','euNCU','ResgE','utf8','YOUR_USERNAME','../helpers/helper','WwlAC','tnwHc','load','browserstack-node-sdk','push','vmgJd','oKaMK','Creating\x20configuration\x20file...','yargs','2157210MhXNuH','../helpers/utilities','includes','mocha','js-yaml','argv','cwd','replace','Adding\x20new\x20script(s)\x20in\x20package.json...','entries','playwright','568815JnRbWY','820883DIXBJR'];a52_0x4161=function(){return _0x5b5288;};return a52_0x4161();}function addPostInstallScript(_0x2b8b5c,_0x40b6fd){const _0x3baa9f=a52_0x1ff513,_0x2cd51f={};_0x2cd51f['XLrck']='postinstall',_0x2cd51f[_0x3baa9f(0x187)]=_0x3baa9f(0x171),_0x2cd51f[_0x3baa9f(0x17e)]='\x20&&\x20npm\x20update\x20browserstack-node-sdk';const _0x57a309=_0x2cd51f;let _0x251770=_0x2b8b5c[_0x57a309[_0x3baa9f(0x1a4)]];if(_0x251770&&_0x251770[_0x3baa9f(0x18d)](_0x57a309[_0x3baa9f(0x187)]))return;!_0x251770?_0x251770=_0x57a309[_0x3baa9f(0x187)]:_0x251770+=_0x57a309[_0x3baa9f(0x17e)],_0x40b6fd['push']([_0x57a309[_0x3baa9f(0x1a4)],_0x251770]);}function addScriptInPackageJson(){const _0x568ab0=a52_0x1ff513,_0x11f720={'EtvRB':_0x568ab0(0x17f),'oKaMK':function(_0x15043d,_0x155559){return _0x15043d<_0x155559;},'LkGwR':function(_0x1b36cc,_0x151d80,_0x5a548c){return _0x1b36cc(_0x151d80,_0x5a548c);},'Lmnda':function(_0x536dea,_0x5edbd8){return _0x536dea<_0x5edbd8;},'LGPtM':function(_0x515886,_0x35bad1){return _0x515886!==_0x35bad1;},'zLwMq':_0x568ab0(0x193)},_0x411572=JSON['parse'](fs[_0x568ab0(0x163)](packageFile,_0x11f720[_0x568ab0(0x169)])),_0x3b4cfa=[];for(let _0x1f3308=0x0;_0x11f720[_0x568ab0(0x188)](_0x1f3308,frameworks[_0x568ab0(0x1a7)]);_0x1f3308+=0x1){const _0x19ca93=_0x11f720['LkGwR'](findScriptsWithFramework,_0x411572[_0x568ab0(0x177)],frameworks[_0x1f3308]);for(let _0x204cf8=0x0;_0x11f720[_0x568ab0(0x19a)](_0x204cf8,_0x19ca93['length']);_0x204cf8+=0x1){_0x3b4cfa[_0x568ab0(0x186)](_0x11f720['LkGwR'](getUpdatedCommand,_0x411572[_0x568ab0(0x177)],_0x19ca93[_0x204cf8]));}_0x11f720[_0x568ab0(0x19e)](addPostInstallScript,_0x411572[_0x568ab0(0x177)],_0x3b4cfa);}const _0x5b0585={..._0x411572[_0x568ab0(0x177)]},_0x292829=_0x5b0585;for(let _0x3775ed=0x0;_0x11f720[_0x568ab0(0x188)](_0x3775ed,_0x3b4cfa[_0x568ab0(0x1a7)]);_0x3775ed+=0x1){_0x292829[_0x3b4cfa[_0x3775ed][0x0]]=_0x3b4cfa[_0x3775ed][0x1];}_0x11f720[_0x568ab0(0x166)](JSON[_0x568ab0(0x1a5)](_0x411572[_0x568ab0(0x177)]),JSON[_0x568ab0(0x1a5)](_0x292829))&&(logger[_0x568ab0(0x1a1)](_0x11f720[_0x568ab0(0x165)]),_0x411572[_0x568ab0(0x177)]=_0x292829,fs['writeFileSync'](packageFile,JSON[_0x568ab0(0x1a5)](_0x411572,null,0x2),_0x1f6fb4=>{_0x1f6fb4&&logger['error'](_0x1f6fb4);}));};function findScriptsWithFramework(_0x68159f,_0x427045){const _0x4616ff=a52_0x1ff513,_0xd607e2={};_0xd607e2[_0x4616ff(0x17a)]=function(_0x53d459,_0x35fee6){return _0x53d459<_0x35fee6;},_0xd607e2['ewPsD']=_0x4616ff(0x185);const _0x3ba469=_0xd607e2,_0x46a331=[],_0x119695=Object[_0x4616ff(0x194)](_0x68159f);for(let _0x335178=0x0;_0x3ba469[_0x4616ff(0x17a)](_0x335178,_0x119695['length']);_0x335178+=0x1){_0x119695[_0x335178][0x1][_0x4616ff(0x18d)](_0x427045)&&!_0x119695[_0x335178][0x1][_0x4616ff(0x18d)](_0x3ba469[_0x4616ff(0x1a9)])&&_0x46a331[_0x4616ff(0x186)](_0x119695[_0x335178][0x0]);}return _0x46a331;}function getUpdatedCommand(_0x384a31,_0x291d0c){const _0x199a74=a52_0x1ff513,_0x1d252d={};_0x1d252d[_0x199a74(0x170)]=function(_0x5917d1,_0x4f4450){return _0x5917d1!==_0x4f4450;},_0x1d252d[_0x199a74(0x17c)]=_0x199a74(0x185),_0x1d252d[_0x199a74(0x161)]=function(_0x18d0cf,_0x257fd0){return _0x18d0cf===_0x257fd0;};const _0x486ddb=_0x1d252d,_0x453e67=_0x291d0c+_0x199a74(0x1a8),_0x2cae62=_0x384a31[_0x291d0c],_0x447970=_0x2cae62[_0x199a74(0x1a6)]('\x20');for(const _0x5a6560 of frameworks){if(_0x486ddb[_0x199a74(0x170)](_0x447970[_0x199a74(0x16f)](_0x5a6560),-0x1)){_0x447970[_0x199a74(0x199)](_0x447970[_0x199a74(0x16f)](_0x5a6560),0x0,_0x486ddb[_0x199a74(0x17c)]);break;}}let _0x51b6d6=_0x447970[_0x199a74(0x17b)]('\x20');return _0x486ddb[_0x199a74(0x161)](_0x51b6d6,_0x2cae62)&&(_0x51b6d6=_0x199a74(0x176)+_0x2cae62),[_0x453e67,_0x51b6d6];}function sdkSetup(){const _0x24bb51=a52_0x1ff513,_0x4e121c={};_0x4e121c[_0x24bb51(0x17d)]='node-setup',_0x4e121c[_0x24bb51(0x182)]=_0x24bb51(0x16e);const _0x3135b6=_0x4e121c;if(helper[_0x24bb51(0x16c)](config))return;config[_0x24bb51(0x162)]=_0x3135b6[_0x24bb51(0x17d)];try{utilities[_0x24bb51(0x172)](_0x3135b6[_0x24bb51(0x182)],{},config,'');}catch(_0xf8b748){logger[_0x24bb51(0x16d)](_0x24bb51(0x1a3)+_0xf8b748);}}logger[a52_0x1ff513(0x1a1)](a52_0x1ff513(0x173));
@@ -1 +1 @@
1
- const a53_0x1fdce1=a53_0xbeec;function a53_0x2772(){const _0x1b7776=['Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20','ozMGe','resolve','hrZCJ','emittery','HAhpA','./testWorker.js','Rebff','all','pipe','worker','7QJmdxn','parallelCucumberRun','format','17648832welJnt','vanillaWorker','info','../../helpers/test-observability/utils','debug','Exception\x20in\x20adding\x20custom\x20message\x20channel\x20','LtAZr','DykpD','failureCount','1183220fpEJAy','test-file-success','Exception\x20in\x20sending\x20worker\x20message\x20','platform-run-start','4048956NpiEZN','p-limit','platforms','jRbOt','exit','stderr','send','map','emit','results','uQnCK','rtdwu','qSghG','hnMEt','log','platform-run-success','axube','DsZVR','3466173lWFdaG','parallelTestRun','BBndT','json','length','platformCaps','worker_threads','SDK_SETUP','jest-worker','cRdxw','709314RxfhbA','exitCode','end','WvOdd','stop','parallelVanillaRun','Workers\x20failed\x20to\x20exit\x20gracefully','push','test-file-failure','Ulvdo','afcrb','platformIndex','test-file-start','then','GKprB','util','winstonLogger','LPeEm','Running\x20','BsoLP','EVENTS','kvINT','platform-run-failure','veJUO','stdout','kXWbP','EwgMV','getStderr','error','UoEHH','MjsOX','WgHSz','ERmAM','../../helpers/logger','platform','Worker','ObwfD','LWXic','getStdout','getWorkers','84190fOQztS','2038066UAUodv','otjvT','cucumberWorker'];a53_0x2772=function(){return _0x1b7776;};return a53_0x2772();}function a53_0xbeec(_0x4430b7,_0x11f792){const _0x27724d=a53_0x2772();return a53_0xbeec=function(_0xbeec82,_0x463f29){_0xbeec82=_0xbeec82-0x1b4;let _0x47ea4b=_0x27724d[_0xbeec82];return _0x47ea4b;},a53_0xbeec(_0x4430b7,_0x11f792);}(function(_0x3a7e0b,_0x1c47cb){const _0x1ea658=a53_0xbeec,_0x2cf675=_0x3a7e0b();while(!![]){try{const _0x8f5b82=-parseInt(_0x1ea658(0x1e8))/0x1+-parseInt(_0x1ea658(0x1e9))/0x2+-parseInt(_0x1ea658(0x1b6))/0x3+parseInt(_0x1ea658(0x207))/0x4+-parseInt(_0x1ea658(0x203))/0x5+parseInt(_0x1ea658(0x1c0))/0x6*(-parseInt(_0x1ea658(0x1f7))/0x7)+parseInt(_0x1ea658(0x1fa))/0x8;if(_0x8f5b82===_0x1c47cb)break;else _0x2cf675['push'](_0x2cf675['shift']());}catch(_0xe45ee0){_0x2cf675['push'](_0x2cf675['shift']());}}}(a53_0x2772,0x93ac2));const Worker=require(a53_0x1fdce1(0x1be))[a53_0x1fdce1(0x1e3)],Emittery=require(a53_0x1fdce1(0x1f0)),pLimit=require(a53_0x1fdce1(0x208)),{parentPort}=require(a53_0x1fdce1(0x1bc)),util=require(a53_0x1fdce1(0x1cf)),logger=require(a53_0x1fdce1(0x1e1))[a53_0x1fdce1(0x1d0)],PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require('../../helpers/performance/constants')[a53_0x1fdce1(0x1d4)],{debug}=require(a53_0x1fdce1(0x1fd)),TestHubHandler=require('../../helpers/testhub/testhubHandler');exports[a53_0x1fdce1(0x1b7)]=(_0x206b39,_0x4df685,_0xae2322)=>new Promise(async _0x206423=>{const _0x3bd41b=a53_0x1fdce1,_0x397f56={'ozMGe':_0x3bd41b(0x202),'Ulvdo':function(_0xe5fc3c,_0x65c6c8){return _0xe5fc3c+_0x65c6c8;},'veJUO':_0x3bd41b(0x210),'uQnCK':_0x3bd41b(0x1c6),'LPeEm':function(_0xbeda07,_0x28df71){return _0xbeda07(_0x28df71);},'kvINT':_0x3bd41b(0x1cc),'hrZCJ':_0x3bd41b(0x1f2),'DykpD':_0x3bd41b(0x1f6),'MjsOX':_0x3bd41b(0x1b9),'UoEHH':_0x3bd41b(0x1f5),'Rebff':function(_0x39c82c,_0x24884a){return _0x39c82c*_0x24884a;},'WvOdd':'test-file-success','ugtHc':_0x3bd41b(0x1c8),'DsZVR':function(_0x30ae73,_0x5c331f){return _0x30ae73(_0x5c331f);}},_0x49a40a=_0xae2322['config'],_0x21cf97={},_0x407765=new Worker(require[_0x3bd41b(0x1ee)](_0x397f56[_0x3bd41b(0x1ef)]),{'exposedMethods':[_0x397f56[_0x3bd41b(0x201)]],'forkOptions':{'serialization':_0x397f56[_0x3bd41b(0x1de)],'stdio':_0x397f56[_0x3bd41b(0x1dd)]},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0x397f56[_0x3bd41b(0x1f3)](_0x4df685,0x1),'enableWorkerThreads':!![]}),_0x2cb4c8=new Emittery();_0x2cb4c8['on'](_0x397f56[_0x3bd41b(0x1c3)],_0x3e71e0=>{const _0xdc1d9f=_0x3bd41b;_0x21cf97[_0x3e71e0[0x0]]?(_0x21cf97[_0x3e71e0[0x0]][_0x397f56['ozMGe']]=_0x397f56[_0xdc1d9f(0x1c9)](_0x21cf97[_0x3e71e0[0x0]][_0x397f56['ozMGe']],_0x3e71e0[0x1][_0x397f56[_0xdc1d9f(0x1ed)]]),_0x21cf97[_0x3e71e0[0x0]][_0x397f56[_0xdc1d9f(0x1d7)]]=[..._0x21cf97[_0x3e71e0[0x0]][_0x397f56['veJUO']],..._0x3e71e0[0x1][_0x397f56['veJUO']]]):_0x21cf97[_0x3e71e0[0x0]]={'failureCount':_0x3e71e0[0x1][_0x397f56['ozMGe']],'results':[..._0x3e71e0[0x1][_0x397f56[_0xdc1d9f(0x1d7)]]]};}),_0x2cb4c8['on'](_0x397f56['ugtHc'],_0x32295b=>console[_0x3bd41b(0x215)](_0x32295b[0x1]));_0x407765[_0x3bd41b(0x1e6)]()&&_0x407765[_0x3bd41b(0x1e6)]()[_0x3bd41b(0x1f5)](process[_0x3bd41b(0x1d8)]);_0x407765[_0x3bd41b(0x1db)]()&&_0x407765[_0x3bd41b(0x1db)]()[_0x3bd41b(0x1f5)](process['stderr']);const _0x53e29d=async()=>{const _0x5ee034=_0x3bd41b,{forceExited:_0x5398c9}=await _0x407765[_0x5ee034(0x1c2)]();_0x5398c9&&console[_0x5ee034(0x1dc)](_0x397f56[_0x5ee034(0x211)]);try{await TestHubHandler[_0x5ee034(0x1c4)]();}catch(_0x26dd01){_0x397f56[_0x5ee034(0x1d1)](debug,_0x5ee034(0x1ec)+_0x26dd01);}_0x397f56[_0x5ee034(0x1d1)](_0x206423,_0x21cf97);},_0x197766=_0x397f56[_0x3bd41b(0x1b5)](pLimit,_0x397f56[_0x3bd41b(0x1f3)](_0x4df685,0x1)),_0x4acf41=_0x54490c=>_0x197766(async()=>{const _0xbd4449=_0x3bd41b;await _0x2cb4c8[_0xbd4449(0x20f)](_0x397f56[_0xbd4449(0x1d5)],_0x54490c);const _0x2567d5=_0x407765[_0xbd4449(0x1f6)](_0x54490c,_0x49a40a);try{parentPort&&_0x2567d5['UNSTABLE_onCustomMessage'](_0x49e803=>{const _0x501608=_0xbd4449;try{parentPort['postMessage'](_0x49e803);}catch(_0x76500d){logger[_0x501608(0x1fe)](_0x501608(0x205)+util[_0x501608(0x1f9)](_0x76500d));}});}catch(_0x15b80f){logger[_0xbd4449(0x1fe)](_0xbd4449(0x1ff)+util[_0xbd4449(0x1f9)](_0x15b80f));}return _0x2567d5;});PerformanceTester[_0x3bd41b(0x1c2)](PerformanceEvents[_0x3bd41b(0x1bd)]),Promise[_0x3bd41b(0x1f4)](_0x206b39[_0x3bd41b(0x20e)](_0x58b33c=>_0x4acf41(_0x58b33c)['then'](_0x10d66b=>_0x2cb4c8[_0x3bd41b(0x20f)](_0x3bd41b(0x204),[_0x58b33c['configuration']['platform'],_0x10d66b]),_0x5570ec=>_0x2cb4c8[_0x3bd41b(0x20f)](_0x3bd41b(0x1c8),[_0x58b33c,_0x5570ec]))))['then'](_0x53e29d,_0x53e29d);}),exports[a53_0x1fdce1(0x1f8)]=(_0x1aedc7,_0x3bff5c,_0x5ad52d,_0x2ed240,_0x167816)=>{const _0x26f212=a53_0x1fdce1,_0xe3d0a8={'dKwtD':_0x26f212(0x206),'kXWbP':_0x26f212(0x1c6),'ObwfD':function(_0x40f22e,_0x2a080b){return _0x40f22e(_0x2a080b);},'BsoLP':_0x26f212(0x1f2),'Xwotq':_0x26f212(0x1eb),'ERmAM':_0x26f212(0x1b9),'NPScf':_0x26f212(0x1f5),'Lhjzq':_0x26f212(0x216),'HAhpA':_0x26f212(0x1d6)};return new Promise(_0x15d6f3=>{const _0x184b1c=_0x26f212,_0x479f3c={'hnMEt':_0xe3d0a8[_0x184b1c(0x1d9)],'BBndT':function(_0xc7fa95,_0xcb015a){const _0x2699b0=_0x184b1c;return _0xe3d0a8[_0x2699b0(0x1e4)](_0xc7fa95,_0xcb015a);}},_0x91fcb4=[],_0x9f3218=new Worker(require['resolve'](_0xe3d0a8[_0x184b1c(0x1d3)]),{'exposedMethods':[_0xe3d0a8['Xwotq']],'forkOptions':{'serialization':_0xe3d0a8[_0x184b1c(0x1e0)],'stdio':_0xe3d0a8['NPScf']},'numWorkers':_0x1aedc7[_0x184b1c(0x1ba)]||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0x2612fd=new Emittery();_0x2612fd['on'](_0xe3d0a8['Lhjzq'],_0x43212b=>{const _0x1d257a=_0x184b1c;_0x91fcb4[_0x1d257a(0x1c7)]([_0x43212b[0x0],_0x43212b[0x1]]);}),_0x2612fd['on'](_0xe3d0a8[_0x184b1c(0x1f1)],_0x34e2b0=>console[_0x184b1c(0x215)](_0x34e2b0[0x1]));_0x9f3218['getStdout']()&&_0x9f3218['getStdout']()['pipe'](process[_0x184b1c(0x1d8)]);_0x9f3218[_0x184b1c(0x1db)]()&&_0x9f3218['getStderr']()[_0x184b1c(0x1f5)](process[_0x184b1c(0x20c)]);const _0x13a50d=async()=>{const _0x27b7a3=_0x184b1c,{forceExited:_0xad979d}=await _0x9f3218[_0x27b7a3(0x1c2)]();_0xad979d&&console[_0x27b7a3(0x1dc)](_0x479f3c[_0x27b7a3(0x214)]),_0x479f3c[_0x27b7a3(0x1b8)](_0x15d6f3,_0x91fcb4);},_0x314309=_0xe3d0a8[_0x184b1c(0x1e4)](pLimit,_0x1aedc7[_0x184b1c(0x1ba)]||0x1),_0x55f4aa=(_0xe181c,_0xcd636f)=>_0x314309(async()=>{const _0x26f3fe=_0x184b1c;return await _0x2612fd[_0x26f3fe(0x20f)](_0xe3d0a8['dKwtD'],_0xe181c),_0x3bff5c[_0x26f3fe(0x1bb)]=_0x5ad52d[_0x26f3fe(0x209)][_0xcd636f],_0x3bff5c[_0x26f3fe(0x1cb)]=_0xcd636f,_0x9f3218[_0x26f3fe(0x1eb)](_0xe181c,_0x3bff5c,_0x5ad52d,_0x2ed240,_0x167816);});Promise['all'](_0x1aedc7[_0x184b1c(0x20e)]((_0x2ab211,_0x3234e0)=>_0x55f4aa(_0x2ab211,_0x3234e0)['then'](_0x5228e4=>_0x2612fd[_0x184b1c(0x20f)](_0x184b1c(0x216),[_0x2ab211,_0x5228e4]),_0x1768af=>_0x2612fd['emit'](_0x184b1c(0x1d6),[_0x2ab211,_0x1768af]))))[_0x184b1c(0x1cd)](_0x13a50d,_0x13a50d);});},exports[a53_0x1fdce1(0x1c5)]=(_0x28c25e,_0x392083)=>new Promise(_0x45a62d=>{const _0x2cbbe0=a53_0x1fdce1,_0x37b361={'WgHSz':function(_0x45fb44,_0x2acfec){return _0x45fb44===_0x2acfec;},'fcbxr':function(_0xa27b16,_0x4f9cea){return _0xa27b16!==_0x4f9cea;},'EwgMV':_0x2cbbe0(0x20b),'rtdwu':_0x2cbbe0(0x1c6),'LtAZr':function(_0x23d463,_0x39783e){return _0x23d463(_0x39783e);},'xzJEM':_0x2cbbe0(0x1f2),'LWXic':_0x2cbbe0(0x1fb),'GKprB':_0x2cbbe0(0x1b9),'afcrb':_0x2cbbe0(0x1f5),'otjvT':_0x2cbbe0(0x204),'jRbOt':_0x2cbbe0(0x1c8),'axube':function(_0x57c81b,_0x1b7ac5){return _0x57c81b(_0x1b7ac5);}},_0x31e0f3={},_0x29b5ca=new Worker(require[_0x2cbbe0(0x1ee)](_0x37b361['xzJEM']),{'exposedMethods':[_0x37b361[_0x2cbbe0(0x1e5)]],'forkOptions':{'serialization':_0x37b361[_0x2cbbe0(0x1ce)],'stdio':_0x37b361[_0x2cbbe0(0x1ca)]},'numWorkers':_0x392083,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0x2605bc=new Emittery();_0x2605bc['on'](_0x37b361[_0x2cbbe0(0x1ea)],_0x5cc5b9=>{const _0x98ba9c=_0x2cbbe0;_0x5cc5b9[0x0]&&logger[_0x98ba9c(0x1fc)](_0x98ba9c(0x1d2)+_0x5cc5b9[0x1]+'\x20for',_0x5cc5b9[0x0]);}),_0x2605bc['on'](_0x37b361[_0x2cbbe0(0x20a)],_0x336231=>{const _0x459e14=_0x2cbbe0;process[_0x459e14(0x1c1)]=0x1;});_0x29b5ca[_0x2cbbe0(0x1e6)]()&&_0x29b5ca[_0x2cbbe0(0x1e6)]()[_0x2cbbe0(0x1f5)](process[_0x2cbbe0(0x1d8)]);_0x29b5ca[_0x2cbbe0(0x1db)]()&&_0x29b5ca[_0x2cbbe0(0x1db)]()[_0x2cbbe0(0x1f5)](process['stderr']);const _0x2d3090=async()=>{const _0x210103=_0x2cbbe0;let _0x1b3043=0x0;const _0x2cb4e5=_0x29b5ca['_workerPool'][_0x210103(0x1e7)](),_0x301113=()=>{},_0x2a38be=_0x2cb4e5[_0x210103(0x20e)](async _0x3ac3ae=>{const _0x40948a=_0x210103,_0x40efaa={'qSghG':function(_0x344825,_0x3a34cf){const _0xf7f484=a53_0xbeec;return _0x37b361[_0xf7f484(0x1df)](_0x344825,_0x3a34cf);},'cRdxw':function(_0x589271,_0x492d56){return _0x37b361['fcbxr'](_0x589271,_0x492d56);}};_0x3ac3ae[_0x40948a(0x20d)]([0x2,![]],_0x301113,_0x301113,_0x301113),_0x3ac3ae['_child']['on'](_0x37b361[_0x40948a(0x1da)],_0x5ba391=>{const _0x5787cd=_0x40948a;_0x40efaa[_0x5787cd(0x213)](_0x1b3043,0x0)&&_0x40efaa[_0x5787cd(0x1bf)](_0x5ba391,0x0)&&(_0x1b3043=_0x5ba391);}),await _0x3ac3ae['waitForExit']();});await Promise[_0x210103(0x1f4)](_0x2a38be),process[_0x210103(0x1c1)]=_0x1b3043;const {forceExited:_0x3aa13f}=await _0x29b5ca[_0x210103(0x1c2)]();_0x3aa13f&&console['error'](_0x37b361[_0x210103(0x212)]),_0x37b361[_0x210103(0x200)](_0x45a62d,_0x31e0f3);},_0x1f82cb=_0x37b361[_0x2cbbe0(0x1b4)](pLimit,_0x392083),_0x2904dd=_0x5efb27=>_0x1f82cb(async()=>{const _0x46b33f=_0x2cbbe0;return _0x29b5ca[_0x46b33f(0x1fb)](_0x5efb27);});Promise[_0x2cbbe0(0x1f4)](_0x28c25e[_0x2cbbe0(0x20e)](_0x2973e4=>_0x2904dd(_0x2973e4)[_0x2cbbe0(0x1cd)](_0x2a5753=>_0x2605bc[_0x2cbbe0(0x20f)](_0x2cbbe0(0x204),[_0x2973e4['configuration'][_0x2cbbe0(0x1e2)],_0x2973e4['configuration']['file']]),_0xe4fc9a=>_0x2605bc[_0x2cbbe0(0x20f)](_0x2cbbe0(0x1c8),[_0x2973e4,_0xe4fc9a]))))[_0x2cbbe0(0x1cd)](_0x2d3090,_0x2d3090);});
1
+ const a53_0x51cc23=a53_0x4168;(function(_0x455701,_0x32ad3f){const _0x1038e2=a53_0x4168,_0x3d60d5=_0x455701();while(!![]){try{const _0x465c86=parseInt(_0x1038e2(0x18e))/0x1*(-parseInt(_0x1038e2(0x1b6))/0x2)+parseInt(_0x1038e2(0x1cb))/0x3*(parseInt(_0x1038e2(0x1af))/0x4)+-parseInt(_0x1038e2(0x19c))/0x5*(-parseInt(_0x1038e2(0x1d3))/0x6)+-parseInt(_0x1038e2(0x1de))/0x7*(parseInt(_0x1038e2(0x1d2))/0x8)+-parseInt(_0x1038e2(0x1c5))/0x9+parseInt(_0x1038e2(0x1a2))/0xa+parseInt(_0x1038e2(0x1ae))/0xb*(-parseInt(_0x1038e2(0x190))/0xc);if(_0x465c86===_0x32ad3f)break;else _0x3d60d5['push'](_0x3d60d5['shift']());}catch(_0x436290){_0x3d60d5['push'](_0x3d60d5['shift']());}}}(a53_0x1208,0x27614));function a53_0x4168(_0x21d199,_0x545e89){const _0x120808=a53_0x1208();return a53_0x4168=function(_0x41683e,_0x1456d5){_0x41683e=_0x41683e-0x187;let _0xdfb8f0=_0x120808[_0x41683e];return _0xdfb8f0;},a53_0x4168(_0x21d199,_0x545e89);}function a53_0x1208(){const _0x50a907=['ABYgW','55797QNnaeU','platformCaps','util','mNscf','config','exitCode','./testWorker.js','length','test-file-success','results','stdout','jest-worker','WWflN','stderr','EFeNy','KCyOB','frYhI','jdeOr','4053YjZrrt','MNUZJ','348WdHMkt','pipe','EfCNt','log','parallelCucumberRun','\x20for','RrTYe','fTQkc','debug','vanillaWorker','resolve','platform','335YkJobm','bTamp','worker_threads','platform-run-success','hVCgY','end','2348440XWjUIs','cucumberWorker','../../helpers/logger','postMessage','QqUBQ','IobbL','platforms','Workers\x20failed\x20to\x20exit\x20gracefully','_workerPool','waitForExit','configuration','../../helpers/test-observability/utils','61413SHfOJN','5248lHfWZn','map','ojsna','parallelVanillaRun','p-limit','wJMAR','XigoM','42cAPvjj','getStderr','format','Running\x20','UNSTABLE_onCustomMessage','SDK_SETUP','platform-run-failure','getWorkers','RkpVJ','json','winstonLogger','icgHF','TFFHt','getStdout','error','35694uAryIa','push','then','info','vrrVp','qtZDX','402jMiFpZ','file','emit','../../helpers/testhub/testhubHandler','exit','Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20','test-file-start','104CFqxZG','9426MGRmFD','aZyGe','_child','test-file-failure','worker','HxgGG','send','hQHwc','all','Rexdc'];a53_0x1208=function(){return _0x50a907;};return a53_0x1208();}const Worker=require(a53_0x51cc23(0x187))['Worker'],Emittery=require('emittery'),pLimit=require(a53_0x51cc23(0x1b3)),{parentPort}=require(a53_0x51cc23(0x19e)),util=require(a53_0x51cc23(0x1e0)),logger=require(a53_0x51cc23(0x1a4))[a53_0x51cc23(0x1c0)],PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require('../../helpers/performance/constants')['EVENTS'],{debug}=require(a53_0x51cc23(0x1ad)),TestHubHandler=require(a53_0x51cc23(0x1ce));exports['parallelTestRun']=(_0x449db7,_0x42ff51,_0x45ecfd)=>new Promise(async _0x31ee0b=>{const _0x2e7fda=a53_0x51cc23,_0x49d95c={'TFFHt':'failureCount','EfCNt':function(_0x222014,_0x12b7f4){return _0x222014+_0x12b7f4;},'WWflN':_0x2e7fda(0x1e7),'ABYgW':_0x2e7fda(0x1a9),'mNscf':function(_0x400ff2,_0x3811fe){return _0x400ff2(_0x3811fe);},'PSfky':_0x2e7fda(0x1d1),'aZyGe':'./testWorker.js','MNUZJ':_0x2e7fda(0x1d7),'tfwUR':_0x2e7fda(0x1bf),'vrrVp':_0x2e7fda(0x191),'dShsU':function(_0x4fdcb7,_0x4d833b){return _0x4fdcb7*_0x4d833b;},'fTQkc':'test-file-success','EFeNy':_0x2e7fda(0x1d6),'hVCgY':function(_0x4485e9,_0x2ff2ae){return _0x4485e9*_0x2ff2ae;}},_0xd94165=_0x45ecfd[_0x2e7fda(0x1e2)],_0x5cb87b={},_0x2971f5=new Worker(require[_0x2e7fda(0x19a)](_0x49d95c[_0x2e7fda(0x1d4)]),{'exposedMethods':[_0x49d95c[_0x2e7fda(0x18f)]],'forkOptions':{'serialization':_0x49d95c['tfwUR'],'stdio':_0x49d95c[_0x2e7fda(0x1c9)]},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0x49d95c['dShsU'](_0x42ff51,0x1),'enableWorkerThreads':!![]}),_0x43aeed=new Emittery();_0x43aeed['on'](_0x49d95c[_0x2e7fda(0x197)],_0x320d5f=>{const _0xc3f862=_0x2e7fda;_0x5cb87b[_0x320d5f[0x0]]?(_0x5cb87b[_0x320d5f[0x0]][_0x49d95c['TFFHt']]=_0x49d95c[_0xc3f862(0x192)](_0x5cb87b[_0x320d5f[0x0]][_0x49d95c['TFFHt']],_0x320d5f[0x1][_0x49d95c[_0xc3f862(0x1c2)]]),_0x5cb87b[_0x320d5f[0x0]][_0x49d95c[_0xc3f862(0x188)]]=[..._0x5cb87b[_0x320d5f[0x0]][_0x49d95c[_0xc3f862(0x188)]],..._0x320d5f[0x1][_0x49d95c['WWflN']]]):_0x5cb87b[_0x320d5f[0x0]]={'failureCount':_0x320d5f[0x1][_0x49d95c[_0xc3f862(0x1c2)]],'results':[..._0x320d5f[0x1][_0x49d95c['WWflN']]]};}),_0x43aeed['on'](_0x49d95c[_0x2e7fda(0x18a)],_0x4b84c9=>console[_0x2e7fda(0x193)](_0x4b84c9[0x1]));_0x2971f5[_0x2e7fda(0x1c3)]()&&_0x2971f5['getStdout']()[_0x2e7fda(0x191)](process[_0x2e7fda(0x1e8)]);_0x2971f5[_0x2e7fda(0x1b7)]()&&_0x2971f5[_0x2e7fda(0x1b7)]()['pipe'](process[_0x2e7fda(0x189)]);const _0x34366d=async()=>{const _0x50f403=_0x2e7fda,{forceExited:_0x20c9ec}=await _0x2971f5[_0x50f403(0x1a1)]();_0x20c9ec&&console['error'](_0x49d95c[_0x50f403(0x1dd)]);try{await TestHubHandler['stop']();}catch(_0x743465){_0x49d95c[_0x50f403(0x1e1)](debug,_0x50f403(0x1d0)+_0x743465);}_0x49d95c['mNscf'](_0x31ee0b,_0x5cb87b);},_0x24c19b=_0x49d95c[_0x2e7fda(0x1e1)](pLimit,_0x49d95c[_0x2e7fda(0x1a0)](_0x42ff51,0x1)),_0x1cf5b1=_0x294513=>_0x24c19b(async()=>{const _0x5dd5fb=_0x2e7fda;await _0x43aeed[_0x5dd5fb(0x1cd)](_0x49d95c['PSfky'],_0x294513);const _0x552104=_0x2971f5[_0x5dd5fb(0x1d7)](_0x294513,_0xd94165);try{parentPort&&_0x552104[_0x5dd5fb(0x1ba)](_0xfa9a25=>{const _0xd6b971=_0x5dd5fb;try{parentPort[_0xd6b971(0x1a5)](_0xfa9a25);}catch(_0xdedf9f){logger[_0xd6b971(0x198)]('Exception\x20in\x20sending\x20worker\x20message\x20'+util[_0xd6b971(0x1b8)](_0xdedf9f));}});}catch(_0x33d881){logger[_0x5dd5fb(0x198)]('Exception\x20in\x20adding\x20custom\x20message\x20channel\x20'+util[_0x5dd5fb(0x1b8)](_0x33d881));}return _0x552104;});PerformanceTester[_0x2e7fda(0x1a1)](PerformanceEvents[_0x2e7fda(0x1bb)]),Promise['all'](_0x449db7[_0x2e7fda(0x1b0)](_0x3b871c=>_0x1cf5b1(_0x3b871c)['then'](_0x930247=>_0x43aeed[_0x2e7fda(0x1cd)](_0x2e7fda(0x1e6),[_0x3b871c['configuration']['platform'],_0x930247]),_0x304e37=>_0x43aeed[_0x2e7fda(0x1cd)](_0x2e7fda(0x1d6),[_0x3b871c,_0x304e37]))))['then'](_0x34366d,_0x34366d);}),exports[a53_0x51cc23(0x194)]=(_0x1156b9,_0x2d463f,_0x1cfafb,_0x1add16,_0x4f27a7)=>{const _0x582a35=a53_0x51cc23,_0x2f1799={'RrTYe':'Workers\x20failed\x20to\x20exit\x20gracefully','RkpVJ':function(_0xd305b1,_0x4527ca){return _0xd305b1(_0x4527ca);},'Rexdc':'platform-run-start','FAWJo':_0x582a35(0x1e4),'IobbL':_0x582a35(0x1a3),'Lgltn':_0x582a35(0x1bf),'frYhI':_0x582a35(0x191),'wJMAR':'platform-run-success','KCyOB':_0x582a35(0x1bc)};return new Promise(_0x214554=>{const _0x16aa44=_0x582a35,_0x157d0d={};_0x157d0d['HxgGG']=_0x2f1799[_0x16aa44(0x1dc)];const _0x35d380=_0x157d0d,_0x3c65d9=[],_0x1b3bef=new Worker(require[_0x16aa44(0x19a)](_0x2f1799['FAWJo']),{'exposedMethods':[_0x2f1799[_0x16aa44(0x1a7)]],'forkOptions':{'serialization':_0x2f1799['Lgltn'],'stdio':_0x2f1799[_0x16aa44(0x18c)]},'numWorkers':_0x1156b9[_0x16aa44(0x1e5)]||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0x20f4e7=new Emittery();_0x20f4e7['on'](_0x2f1799[_0x16aa44(0x1b4)],_0x5330a4=>{const _0x30dc41=_0x16aa44;_0x3c65d9[_0x30dc41(0x1c6)]([_0x5330a4[0x0],_0x5330a4[0x1]]);}),_0x20f4e7['on'](_0x2f1799[_0x16aa44(0x18b)],_0x528df0=>console[_0x16aa44(0x193)](_0x528df0[0x1]));_0x1b3bef[_0x16aa44(0x1c3)]()&&_0x1b3bef[_0x16aa44(0x1c3)]()[_0x16aa44(0x191)](process[_0x16aa44(0x1e8)]);_0x1b3bef[_0x16aa44(0x1b7)]()&&_0x1b3bef[_0x16aa44(0x1b7)]()[_0x16aa44(0x191)](process[_0x16aa44(0x189)]);const _0x577df3=async()=>{const _0x58e3b2=_0x16aa44,{forceExited:_0x3ed20f}=await _0x1b3bef[_0x58e3b2(0x1a1)]();_0x3ed20f&&console[_0x58e3b2(0x1c4)](_0x2f1799[_0x58e3b2(0x196)]),_0x2f1799[_0x58e3b2(0x1be)](_0x214554,_0x3c65d9);},_0x23ebed=_0x2f1799[_0x16aa44(0x1be)](pLimit,_0x1156b9[_0x16aa44(0x1e5)]||0x1),_0x4d2780=(_0x3d3188,_0x584202)=>_0x23ebed(async()=>{const _0x8bc391=_0x16aa44;return await _0x20f4e7[_0x8bc391(0x1cd)](_0x35d380[_0x8bc391(0x1d8)],_0x3d3188),_0x2d463f[_0x8bc391(0x1df)]=_0x1cfafb[_0x8bc391(0x1a8)][_0x584202],_0x2d463f['platformIndex']=_0x584202,_0x1b3bef[_0x8bc391(0x1a3)](_0x3d3188,_0x2d463f,_0x1cfafb,_0x1add16,_0x4f27a7);});Promise['all'](_0x1156b9[_0x16aa44(0x1b0)]((_0x337da2,_0xa975c7)=>_0x4d2780(_0x337da2,_0xa975c7)['then'](_0x4aa1dc=>_0x20f4e7[_0x16aa44(0x1cd)](_0x16aa44(0x19f),[_0x337da2,_0x4aa1dc]),_0x1cc87f=>_0x20f4e7['emit'](_0x16aa44(0x1bc),[_0x337da2,_0x1cc87f]))))[_0x16aa44(0x1c7)](_0x577df3,_0x577df3);});},exports[a53_0x51cc23(0x1b2)]=(_0x2587ab,_0x48823e)=>new Promise(_0x41063f=>{const _0x3841e=a53_0x51cc23,_0x184ec7={'bykHN':_0x3841e(0x1cf),'icgHF':function(_0x541ba1,_0x429b01){return _0x541ba1===_0x429b01;},'QqUBQ':function(_0x5d922c,_0x50edee){return _0x5d922c!==_0x50edee;},'kMFXS':_0x3841e(0x1a9),'qtZDX':function(_0x575803,_0x50889e){return _0x575803(_0x50889e);},'bTamp':_0x3841e(0x1e4),'ojsna':'vanillaWorker','hQHwc':_0x3841e(0x1bf),'QNUZv':_0x3841e(0x191),'jdeOr':_0x3841e(0x1e6),'XigoM':'test-file-failure'},_0x1ff1b9={},_0x24025a=new Worker(require[_0x3841e(0x19a)](_0x184ec7[_0x3841e(0x19d)]),{'exposedMethods':[_0x184ec7[_0x3841e(0x1b1)]],'forkOptions':{'serialization':_0x184ec7[_0x3841e(0x1da)],'stdio':_0x184ec7['QNUZv']},'numWorkers':_0x48823e,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0x28a815=new Emittery();_0x28a815['on'](_0x184ec7[_0x3841e(0x18d)],_0x307cf5=>{const _0x38c307=_0x3841e;_0x307cf5[0x0]&&logger[_0x38c307(0x1c8)](_0x38c307(0x1b9)+_0x307cf5[0x1]+_0x38c307(0x195),_0x307cf5[0x0]);}),_0x28a815['on'](_0x184ec7[_0x3841e(0x1b5)],_0x3dde70=>{const _0x194c3d=_0x3841e;process[_0x194c3d(0x1e3)]=0x1;});_0x24025a[_0x3841e(0x1c3)]()&&_0x24025a[_0x3841e(0x1c3)]()['pipe'](process[_0x3841e(0x1e8)]);_0x24025a[_0x3841e(0x1b7)]()&&_0x24025a[_0x3841e(0x1b7)]()[_0x3841e(0x191)](process['stderr']);const _0x5f3b15=async()=>{const _0x6a9575=_0x3841e,_0x3c9c28={'dVTqX':function(_0x599a4f,_0x22f5b7){const _0x50ea72=a53_0x4168;return _0x184ec7[_0x50ea72(0x1c1)](_0x599a4f,_0x22f5b7);},'rKroE':function(_0x2c4339,_0x5ae396){const _0x23ffcf=a53_0x4168;return _0x184ec7[_0x23ffcf(0x1a6)](_0x2c4339,_0x5ae396);}};let _0x5b82be=0x0;const _0x266283=_0x24025a[_0x6a9575(0x1aa)][_0x6a9575(0x1bd)](),_0x581fdf=()=>{},_0x178f1b=_0x266283['map'](async _0x5968fe=>{const _0x5867a4=_0x6a9575;_0x5968fe[_0x5867a4(0x1d9)]([0x2,![]],_0x581fdf,_0x581fdf,_0x581fdf),_0x5968fe[_0x5867a4(0x1d5)]['on'](_0x184ec7['bykHN'],_0x40f04=>{_0x3c9c28['dVTqX'](_0x5b82be,0x0)&&_0x3c9c28['rKroE'](_0x40f04,0x0)&&(_0x5b82be=_0x40f04);}),await _0x5968fe[_0x5867a4(0x1ab)]();});await Promise['all'](_0x178f1b),process['exitCode']=_0x5b82be;const {forceExited:_0x8d7a66}=await _0x24025a[_0x6a9575(0x1a1)]();_0x8d7a66&&console[_0x6a9575(0x1c4)](_0x184ec7['kMFXS']),_0x184ec7['qtZDX'](_0x41063f,_0x1ff1b9);},_0x8ec71f=_0x184ec7[_0x3841e(0x1ca)](pLimit,_0x48823e),_0x26a8b4=_0xabffad=>_0x8ec71f(async()=>{const _0x21d2ab=_0x3841e;return _0x24025a[_0x21d2ab(0x199)](_0xabffad);});Promise[_0x3841e(0x1db)](_0x2587ab[_0x3841e(0x1b0)](_0x32d115=>_0x26a8b4(_0x32d115)[_0x3841e(0x1c7)](_0x4056cd=>_0x28a815[_0x3841e(0x1cd)](_0x3841e(0x1e6),[_0x32d115[_0x3841e(0x1ac)][_0x3841e(0x19b)],_0x32d115[_0x3841e(0x1ac)][_0x3841e(0x1cc)]]),_0x36edbf=>_0x28a815[_0x3841e(0x1cd)](_0x3841e(0x1d6),[_0x32d115,_0x36edbf]))))[_0x3841e(0x1c7)](_0x5f3b15,_0x5f3b15);});
@@ -1 +1 @@
1
- const a54_0x4e9a5f=a54_0x30f2;(function(_0x246954,_0x484136){const _0x2bb78e=a54_0x30f2,_0x82330c=_0x246954();while(!![]){try{const _0x15bc02=-parseInt(_0x2bb78e(0x93))/0x1*(parseInt(_0x2bb78e(0x87))/0x2)+parseInt(_0x2bb78e(0x98))/0x3*(parseInt(_0x2bb78e(0x9e))/0x4)+-parseInt(_0x2bb78e(0x89))/0x5*(parseInt(_0x2bb78e(0x92))/0x6)+parseInt(_0x2bb78e(0xa1))/0x7+parseInt(_0x2bb78e(0x8f))/0x8*(-parseInt(_0x2bb78e(0x8d))/0x9)+parseInt(_0x2bb78e(0x99))/0xa*(parseInt(_0x2bb78e(0x9a))/0xb)+parseInt(_0x2bb78e(0x86))/0xc*(parseInt(_0x2bb78e(0x8b))/0xd);if(_0x15bc02===_0x484136)break;else _0x82330c['push'](_0x82330c['shift']());}catch(_0x455a01){_0x82330c['push'](_0x82330c['shift']());}}}(a54_0x2103,0xc5e37));function a54_0x30f2(_0xd37873,_0x2c4ac9){const _0x21032e=a54_0x2103();return a54_0x30f2=function(_0x30f230,_0x81d41f){_0x30f230=_0x30f230-0x81;let _0x5cf087=_0x21032e[_0x30f230];return _0x5cf087;},a54_0x30f2(_0xd37873,_0x2c4ac9);}const PerformanceEvents=require(a54_0x4e9a5f(0x96))[a54_0x4e9a5f(0x94)],PerformanceTester=require(a54_0x4e9a5f(0x90)),{sleep}=require(a54_0x4e9a5f(0x82));function a54_0x2103(){const _0x522af3=['SDK_POST_TEST','configuration','5986211CkDxiq','nDkXK','LYFXr','../../helpers/test-observability/utils','wWCJB','stopMonitoring','runVanillaTest','240ZDzqSh','54834aJdPlQ','JmZpK','285HyJptV','formatter','196196DxmYnB','startMonitoring','9TeHMeQ','vanilla','6274936uMkcqC','../../helpers/performance/performance-tester','runTest','90282IhmqIn','6Bimsnt','EVENTS','run','../../helpers/performance/constants','ayCIq','3131358swlPCh','181000SVbZio','253fJXwTI','BHFKQ','../launcher/launcher','thXXf','4MThwZd'];a54_0x2103=function(){return _0x522af3;};return a54_0x2103();}exports[a54_0x4e9a5f(0x91)]=async(_0x1db3f8,_0x1883f5)=>{const _0x284a32=a54_0x4e9a5f,_0x2fa0f7={'BHFKQ':function(_0x33fc9e,_0x5cfb47){return _0x33fc9e(_0x5cfb47);},'nDkXK':'../launcher/launcher','mYgjX':'mocha'};PerformanceTester[_0x284a32(0x8c)]();const _0x3590f1=_0x2fa0f7[_0x284a32(0x9b)](require,_0x2fa0f7[_0x284a32(0xa2)]),_0x3f02cf=new _0x3590f1(_0x2fa0f7['mYgjX'],_0x1db3f8,_0x1883f5),_0x140352=await _0x3f02cf['run']();return PerformanceTester['end'](PerformanceEvents[_0x284a32(0x9f)]),await _0x2fa0f7[_0x284a32(0x9b)](sleep,0x3e8),PerformanceTester[_0x284a32(0x84)](),_0x140352;},exports['runCucumberTest']=async(_0xc7b994,_0x277ec0,_0x36f9a5,_0x4b47f5,_0x2c95f7)=>{const _0x3dadb7=a54_0x4e9a5f,_0x3c28c7={'JmZpK':function(_0x5b7bf6,_0x4d091c){return _0x5b7bf6(_0x4d091c);},'thXXf':_0x3dadb7(0x9c),'LYFXr':'cucumber-js'},_0x1309fb={'capability':_0xc7b994,..._0x277ec0},_0x2b03b7={};_0x2b03b7[_0x3dadb7(0xa0)]=_0x1309fb,_0x2b03b7[_0x3dadb7(0x8a)]=_0x2c95f7;const _0x23f22d=_0x2b03b7,_0x3e2d86=_0x3c28c7[_0x3dadb7(0x88)](require,_0x3c28c7[_0x3dadb7(0x9d)]),_0x1df0a1=new _0x3e2d86(_0x3c28c7[_0x3dadb7(0x81)],_0x23f22d,_0x36f9a5,_0x4b47f5);return await _0x1df0a1[_0x3dadb7(0x95)]();},exports[a54_0x4e9a5f(0x85)]=async _0x26df48=>{const _0x15165c=a54_0x4e9a5f,_0x1bee59={'xOvzL':function(_0x14c455,_0x2b99ac){return _0x14c455(_0x2b99ac);},'ayCIq':_0x15165c(0x9c),'wWCJB':_0x15165c(0x8e)},_0x2928ce=_0x1bee59['xOvzL'](require,_0x1bee59[_0x15165c(0x97)]),_0x2b6cd6=new _0x2928ce(_0x1bee59[_0x15165c(0x83)],_0x26df48);return await _0x2b6cd6[_0x15165c(0x95)]();};
1
+ const a54_0x26db33=a54_0x5518;function a54_0x3e64(){const _0x30ead2=['3609AAQjNX','ySOsB','../../helpers/performance/constants','../../helpers/performance/performance-tester','570VzptPB','startMonitoring','runTest','7810450HhJNNY','548350DEwuRv','2392HlGrEd','formatter','../launcher/launcher','uItYe','cucumber-js','3640222RcLdIB','runCucumberTest','4783348OOvOdb','vanilla','whKvu','runVanillaTest','SDK_POST_TEST','JPfck','ZcSKb','3OUKabo','kuhYx','EVENTS','configuration','ZXZdM','end','wmFwx','42905MoIgAB','run','6439517WJMaIL','stopMonitoring'];a54_0x3e64=function(){return _0x30ead2;};return a54_0x3e64();}(function(_0x1144bb,_0x5a0cbb){const _0x1194cd=a54_0x5518,_0x343f6c=_0x1144bb();while(!![]){try{const _0x48bc86=parseInt(_0x1194cd(0x117))/0x1+-parseInt(_0x1194cd(0x11d))/0x2+parseInt(_0x1194cd(0x126))/0x3*(parseInt(_0x1194cd(0x11f))/0x4)+parseInt(_0x1194cd(0x10b))/0x5*(parseInt(_0x1194cd(0x113))/0x6)+parseInt(_0x1194cd(0x10d))/0x7+parseInt(_0x1194cd(0x118))/0x8*(parseInt(_0x1194cd(0x10f))/0x9)+-parseInt(_0x1194cd(0x116))/0xa;if(_0x48bc86===_0x5a0cbb)break;else _0x343f6c['push'](_0x343f6c['shift']());}catch(_0x3bd871){_0x343f6c['push'](_0x343f6c['shift']());}}}(a54_0x3e64,0xf3aa8));const PerformanceEvents=require(a54_0x26db33(0x111))[a54_0x26db33(0x106)],PerformanceTester=require(a54_0x26db33(0x112)),{sleep}=require('../../helpers/test-observability/utils');function a54_0x5518(_0x36a0df,_0x18ddb8){const _0x3e64fb=a54_0x3e64();return a54_0x5518=function(_0x55184b,_0x3a6031){_0x55184b=_0x55184b-0x105;let _0x474f3a=_0x3e64fb[_0x55184b];return _0x474f3a;},a54_0x5518(_0x36a0df,_0x18ddb8);}exports[a54_0x26db33(0x115)]=async(_0xa7af34,_0x45d7f5)=>{const _0x3513b7=a54_0x26db33,_0x3c2215={'JPfck':function(_0x489e36,_0x1e07b5){return _0x489e36(_0x1e07b5);},'ZXZdM':_0x3513b7(0x11a),'ySOsB':'mocha'};PerformanceTester[_0x3513b7(0x114)]();const _0x5344d7=_0x3c2215[_0x3513b7(0x124)](require,_0x3c2215[_0x3513b7(0x108)]),_0xb79c6f=new _0x5344d7(_0x3c2215[_0x3513b7(0x110)],_0xa7af34,_0x45d7f5),_0x20be5d=await _0xb79c6f[_0x3513b7(0x10c)]();return PerformanceTester[_0x3513b7(0x109)](PerformanceEvents[_0x3513b7(0x123)]),await _0x3c2215[_0x3513b7(0x124)](sleep,0x3e8),PerformanceTester[_0x3513b7(0x10e)](),_0x20be5d;},exports[a54_0x26db33(0x11e)]=async(_0xdb5514,_0x204aaf,_0x348081,_0x463a85,_0x413a0f)=>{const _0x48a9d4=a54_0x26db33,_0x3d164e={'kuhYx':function(_0x3922d3,_0x163830){return _0x3922d3(_0x163830);},'uItYe':'../launcher/launcher','wmFwx':_0x48a9d4(0x11c)},_0x59ed92={'capability':_0xdb5514,..._0x204aaf},_0x5f45e8={};_0x5f45e8[_0x48a9d4(0x107)]=_0x59ed92,_0x5f45e8[_0x48a9d4(0x119)]=_0x413a0f;const _0x5a2fe9=_0x5f45e8,_0x1a1707=_0x3d164e[_0x48a9d4(0x105)](require,_0x3d164e[_0x48a9d4(0x11b)]),_0x3f8f1a=new _0x1a1707(_0x3d164e[_0x48a9d4(0x10a)],_0x5a2fe9,_0x348081,_0x463a85);return await _0x3f8f1a[_0x48a9d4(0x10c)]();},exports[a54_0x26db33(0x122)]=async _0x2d8aff=>{const _0x2f3c97=a54_0x26db33,_0x3862df={'ZcSKb':function(_0x4d002a,_0x3d45ad){return _0x4d002a(_0x3d45ad);},'whKvu':_0x2f3c97(0x11a),'whQgP':_0x2f3c97(0x120)},_0x82c58f=_0x3862df[_0x2f3c97(0x125)](require,_0x3862df[_0x2f3c97(0x121)]),_0x596818=new _0x82c58f(_0x3862df['whQgP'],_0x2d8aff);return await _0x596818[_0x2f3c97(0x10c)]();};
@@ -1 +1 @@
1
- const a55_0xdb7bfb=a55_0x12cb;(function(_0x3608fc,_0x247607){const _0x2a5c43=a55_0x12cb,_0x5e2f6c=_0x3608fc();while(!![]){try{const _0x1964ba=parseInt(_0x2a5c43(0x1e3))/0x1+-parseInt(_0x2a5c43(0x1eb))/0x2+parseInt(_0x2a5c43(0x1e1))/0x3+-parseInt(_0x2a5c43(0x1de))/0x4*(-parseInt(_0x2a5c43(0x1df))/0x5)+parseInt(_0x2a5c43(0x1e7))/0x6*(-parseInt(_0x2a5c43(0x1e2))/0x7)+parseInt(_0x2a5c43(0x1ea))/0x8*(parseInt(_0x2a5c43(0x1e5))/0x9)+parseInt(_0x2a5c43(0x1e4))/0xa*(-parseInt(_0x2a5c43(0x1e9))/0xb);if(_0x1964ba===_0x247607)break;else _0x5e2f6c['push'](_0x5e2f6c['shift']());}catch(_0x4ecb75){_0x5e2f6c['push'](_0x5e2f6c['shift']());}}}(a55_0x38bc,0x2b6e2));const {runTest,runCucumberTest,runVanillaTest}=require(a55_0xdb7bfb(0x1e8));function a55_0x38bc(){const _0x27656e=['eVvxM','948285BNKsRQ','693343vFXjBg','47156fpvHSS','398030ORgDes','2138616FchvgZ','worker','18uKedgW','./runTest','22xnjsyl','8pJCREx','462376UHNGYV','cucumberWorker','739824Qimbze','5vymBya'];a55_0x38bc=function(){return _0x27656e;};return a55_0x38bc();}function a55_0x12cb(_0x4ab5b8,_0x135ac3){const _0x38bc31=a55_0x38bc();return a55_0x12cb=function(_0x12cb66,_0x56dafd){_0x12cb66=_0x12cb66-0x1de;let _0x3b76e6=_0x38bc31[_0x12cb66];return _0x3b76e6;},a55_0x12cb(_0x4ab5b8,_0x135ac3);}exports[a55_0xdb7bfb(0x1e6)]=async(_0x335c62,_0x24c12a)=>{const _0x45916d={'UGQnr':function(_0x558b60,_0x43ea28,_0x543d21){return _0x558b60(_0x43ea28,_0x543d21);}};return await _0x45916d['UGQnr'](runTest,_0x335c62,_0x24c12a);},exports[a55_0xdb7bfb(0x1ec)]=async(_0xf5fb0f,_0x27dae2,_0x3ce8b8,_0xa00333,_0x405157)=>{const _0x10beb2={'wyISm':function(_0x552e4f,_0x4a4c83,_0x103d7a,_0x51b648,_0x40fa3e,_0x631b9f){return _0x552e4f(_0x4a4c83,_0x103d7a,_0x51b648,_0x40fa3e,_0x631b9f);}};return await _0x10beb2['wyISm'](runCucumberTest,_0xf5fb0f,_0x27dae2,_0x3ce8b8,_0xa00333,_0x405157);},exports['vanillaWorker']=async _0x275f80=>{const _0x65b447=a55_0xdb7bfb,_0xe373f3={'eVvxM':function(_0x571226,_0x272dde){return _0x571226(_0x272dde);}};return await _0xe373f3[_0x65b447(0x1e0)](runVanillaTest,_0x275f80);};
1
+ const a55_0xf2cd20=a55_0x5f08;function a55_0x5f08(_0xaf6e34,_0x667af7){const _0x260782=a55_0x2607();return a55_0x5f08=function(_0x5f0856,_0x1ce446){_0x5f0856=_0x5f0856-0x1ca;let _0x279ae2=_0x260782[_0x5f0856];return _0x279ae2;},a55_0x5f08(_0xaf6e34,_0x667af7);}(function(_0x3e28bf,_0xa756d9){const _0x56f107=a55_0x5f08,_0x291be4=_0x3e28bf();while(!![]){try{const _0x1e78df=-parseInt(_0x56f107(0x1d5))/0x1*(-parseInt(_0x56f107(0x1d7))/0x2)+-parseInt(_0x56f107(0x1d4))/0x3+-parseInt(_0x56f107(0x1ce))/0x4+-parseInt(_0x56f107(0x1cb))/0x5*(-parseInt(_0x56f107(0x1d9))/0x6)+parseInt(_0x56f107(0x1d1))/0x7+parseInt(_0x56f107(0x1d8))/0x8+-parseInt(_0x56f107(0x1cd))/0x9*(parseInt(_0x56f107(0x1d6))/0xa);if(_0x1e78df===_0xa756d9)break;else _0x291be4['push'](_0x291be4['shift']());}catch(_0x1b4654){_0x291be4['push'](_0x291be4['shift']());}}}(a55_0x2607,0x7e2ff));function a55_0x2607(){const _0x308d5a=['1377370SYteuk','4TsglQd','70288vPIYNX','619476buwkbM','Dcmjo','5KRhVZP','ddPaH','63VKidZy','721476uZUHLC','cucumberWorker','vanillaWorker','5338074PELUMl','worker','GvSsh','650283JPRcLV','501769SRXeZi'];a55_0x2607=function(){return _0x308d5a;};return a55_0x2607();}const {runTest,runCucumberTest,runVanillaTest}=require('./runTest');exports[a55_0xf2cd20(0x1d2)]=async(_0x355b39,_0x13fab4)=>{const _0x2202bf=a55_0xf2cd20,_0x71a02d={'Dcmjo':function(_0x25d1df,_0x942550,_0x43449c){return _0x25d1df(_0x942550,_0x43449c);}};return await _0x71a02d[_0x2202bf(0x1ca)](runTest,_0x355b39,_0x13fab4);},exports[a55_0xf2cd20(0x1cf)]=async(_0x531bc1,_0x3df3d0,_0x50daaf,_0x195b58,_0xaf1223)=>{const _0x4f7979=a55_0xf2cd20,_0x3bad43={'GvSsh':function(_0x3a96e4,_0x4ff0f3,_0x4518fd,_0x4f5502,_0x1050d2,_0x5775b){return _0x3a96e4(_0x4ff0f3,_0x4518fd,_0x4f5502,_0x1050d2,_0x5775b);}};return await _0x3bad43[_0x4f7979(0x1d3)](runCucumberTest,_0x531bc1,_0x3df3d0,_0x50daaf,_0x195b58,_0xaf1223);},exports[a55_0xf2cd20(0x1d0)]=async _0x216638=>{const _0x2d6cfb=a55_0xf2cd20,_0x4bb507={'ddPaH':function(_0x20e30b,_0x5b20c3){return _0x20e30b(_0x5b20c3);}};return await _0x4bb507[_0x2d6cfb(0x1cc)](runVanillaTest,_0x216638);};
@@ -1 +1 @@
1
- function a56_0x51b7(_0x25c9c3,_0x5d71a3){const _0x2f001e=a56_0x2f00();return a56_0x51b7=function(_0x51b728,_0x2c150d){_0x51b728=_0x51b728-0x196;let _0x255d2a=_0x2f001e[_0x51b728];return _0x255d2a;},a56_0x51b7(_0x25c9c3,_0x5d71a3);}const a56_0x265a0b=a56_0x51b7;(function(_0x40bf1e,_0x4f1c28){const _0x45f42d=a56_0x51b7,_0x3a72a5=_0x40bf1e();while(!![]){try{const _0x2879ce=parseInt(_0x45f42d(0x1c2))/0x1+-parseInt(_0x45f42d(0x1da))/0x2+-parseInt(_0x45f42d(0x1a8))/0x3+-parseInt(_0x45f42d(0x1f1))/0x4*(-parseInt(_0x45f42d(0x1bc))/0x5)+parseInt(_0x45f42d(0x198))/0x6*(-parseInt(_0x45f42d(0x1e8))/0x7)+-parseInt(_0x45f42d(0x1ba))/0x8*(-parseInt(_0x45f42d(0x1d8))/0x9)+parseInt(_0x45f42d(0x1b4))/0xa;if(_0x2879ce===_0x4f1c28)break;else _0x3a72a5['push'](_0x3a72a5['shift']());}catch(_0x37729c){_0x3a72a5['push'](_0x3a72a5['shift']());}}}(a56_0x2f00,0xb8d27));function a56_0x2f00(){const _0x1dd744=['getAppAutomateSessionNameAPIUrl','automate','147393UjwGrd','ALYmd','observability','dyqIn','DmrtE','EDS_URL','JWxlH','BROWSERSTACK_API_URL','ADVwY','ILZOH','zZBmr','STzvH','zGEEH','./sharedUtils','jvBUS','OJnes','mYkox','getAppAutomateSessionStatusAPIUrl','../v2/browserstackCLI','BZpqn','api','rAHmI','251271peCyGx','txRnI','1503336kgMgEo','OnhkD','Lzhma','cdp','getAutoCaptureLogsAPIUrl','qqcKI','ChXpy','dqVWl','getAutomateSessionStatusAPIUrl','endsWith','KKWhf','dWgYb','kMitx','USBwl','9349508drQfLW','JNgDk','wURtq','getInstance','SPFSc','rjImH','./constants','getConfig','APP_UPLOAD_URL','3692xGFseg','getBStackAPIUrl','GOQph','toString','LCxLQ','wss:','PUPPETEER_HUB_URL','exports','6dZhawf','appAutomate','getAutomateSessionsListAPIUrl','GoCkT','replace','qgpPJ','getAutomateSessionNameAPIUrl','glaaT','GvNVu','eEHhI','getPuppeteerHubUrl','VshYD','SJsrd','sFhor','QGnhx','upload','3821805haPZax','xtmOS','YbDKQ','wuWto','IBfUH','apis','oOoPJ','/puppeteer?caps=','fgWdM','oCmAX','uwkJg','eWQZk','15266150rTqjBc','getPlaywrightHubUrl','qXgZo','getAppAutomateSessionsListAPIUrl','zSPNk','jhTGI','296ogPVvi','TEQdc','7645XGbohl','VMROX','edsInstrumentation','uJgYy'];a56_0x2f00=function(){return _0x1dd744;};return a56_0x2f00();}const constants=require(a56_0x265a0b(0x1ee)),{nestedKeyValue}=require(a56_0x265a0b(0x1cf)),getBrowserstackCLI=()=>{const _0x4f8869=a56_0x265a0b,_0x4bdc5b={'txRnI':function(_0x4b1159,_0x3e9c3f){return _0x4b1159(_0x3e9c3f);},'bphXD':_0x4f8869(0x1d4)};return _0x4bdc5b[_0x4f8869(0x1d9)](require,_0x4bdc5b['bphXD']);};class APIUtilityMethods{static[a56_0x265a0b(0x1f2)](_0x1e353a){const _0xb00f1e=a56_0x265a0b,_0x37b07e={'dqVWl':function(_0x40baf1){return _0x40baf1();},'ADVwY':function(_0x136a07,_0x30cf3c,_0x272197){return _0x136a07(_0x30cf3c,_0x272197);},'wuWto':_0xb00f1e(0x1ad),'OuRcQ':_0xb00f1e(0x1c1),'dszAT':_0xb00f1e(0x1d6),'QGnhx':function(_0x22f99a,_0x5a14fa){return _0x22f99a===_0x5a14fa;},'qgpPJ':function(_0xf54577,_0x48e163){return _0xf54577+_0x48e163;}},_0x343cb4=_0x37b07e[_0xb00f1e(0x1e1)](getBrowserstackCLI),_0x335ba9=_0x37b07e[_0xb00f1e(0x1ca)](nestedKeyValue,_0x343cb4[_0xb00f1e(0x1eb)]()['getConfig'](),[_0x37b07e[_0xb00f1e(0x1ab)],_0x37b07e['OuRcQ'],_0x37b07e['dszAT']])||constants[_0xb00f1e(0x1c9)];if(!_0x1e353a||_0x37b07e[_0xb00f1e(0x1a6)](_0x1e353a,''))return _0x335ba9;const _0x3fcd0f=_0x335ba9['endsWith']('/')?_0x335ba9:_0x37b07e[_0xb00f1e(0x19d)](_0x335ba9,'/');return new URL(_0x1e353a,_0x3fcd0f)[_0xb00f1e(0x1f4)]();}static['getEdsInstrumentationAPIUrl'](_0x3a17c7){const _0x3b1ede=a56_0x265a0b,_0x798f34={'ChXpy':function(_0x31da27){return _0x31da27();},'YEeXo':function(_0xe9a6ad,_0x3051a9,_0xb3488e){return _0xe9a6ad(_0x3051a9,_0xb3488e);},'sFhor':_0x3b1ede(0x1ad),'ALYmd':_0x3b1ede(0x1be),'BZpqn':_0x3b1ede(0x1d6),'zZBmr':function(_0x4b0f74,_0x3f97d4){return _0x4b0f74===_0x3f97d4;},'LCxLQ':function(_0xf1c904,_0x557dfd){return _0xf1c904+_0x557dfd;}},_0x372dfc=_0x798f34[_0x3b1ede(0x1e0)](getBrowserstackCLI),_0x24a3f9=_0x798f34['YEeXo'](nestedKeyValue,_0x372dfc['getInstance']()[_0x3b1ede(0x1ef)](),[_0x798f34[_0x3b1ede(0x1a5)],_0x798f34[_0x3b1ede(0x1c3)],_0x798f34[_0x3b1ede(0x1d5)]])||constants[_0x3b1ede(0x1c7)];if(!_0x3a17c7||_0x798f34[_0x3b1ede(0x1cc)](_0x3a17c7,''))return _0x24a3f9;const _0x38b940=_0x24a3f9[_0x3b1ede(0x1e3)]('/')?_0x24a3f9:_0x798f34[_0x3b1ede(0x1f5)](_0x24a3f9,'/');return new URL(_0x3a17c7,_0x38b940)['toString']();}static[a56_0x265a0b(0x1e2)](_0x1a1e8f){const _0x4f996b=a56_0x265a0b,_0x1ee1f4={'uJgYy':function(_0x17e3ed){return _0x17e3ed();},'YbDKQ':function(_0x59062,_0x39ee7e,_0x4c110d){return _0x59062(_0x39ee7e,_0x4c110d);},'ILZOH':'apis','DfTpm':_0x4f996b(0x1c1),'oOoPJ':_0x4f996b(0x1d6),'Ghwdm':function(_0x4ee262,_0x1551a2){return _0x4ee262===_0x1551a2;},'fgWdM':function(_0xf27bcb,_0x335241){return _0xf27bcb+_0x335241;}},_0x1def5b=_0x1ee1f4[_0x4f996b(0x1bf)](getBrowserstackCLI),_0x1280a1=_0x1ee1f4[_0x4f996b(0x1aa)](nestedKeyValue,_0x1def5b[_0x4f996b(0x1eb)]()['getConfig'](),[_0x1ee1f4[_0x4f996b(0x1cb)],_0x1ee1f4['DfTpm'],_0x1ee1f4[_0x4f996b(0x1ae)]])||constants[_0x4f996b(0x1c9)];if(!_0x1a1e8f||_0x1ee1f4['Ghwdm'](_0x1a1e8f,''))return _0x1280a1;const _0x33af25=_0x1280a1[_0x4f996b(0x1e3)]('/')?_0x1280a1:_0x1ee1f4[_0x4f996b(0x1b0)](_0x1280a1,'/');return new URL(_0x1a1e8f,_0x33af25)[_0x4f996b(0x1f4)]();}static[a56_0x265a0b(0x1d3)](_0x272b8d){const _0x46b8f9=a56_0x265a0b,_0x27e2c5={'JWxlH':function(_0x2d4489){return _0x2d4489();},'VMROX':function(_0x329e7d,_0x56c021,_0x30bce4){return _0x329e7d(_0x56c021,_0x30bce4);},'rAHmI':_0x46b8f9(0x1ad),'mYkox':_0x46b8f9(0x199),'uwkJg':'api','VshYD':function(_0x12fb12,_0x4b3206){return _0x12fb12===_0x4b3206;},'eWQZk':function(_0x321da8,_0x53e2aa){return _0x321da8+_0x53e2aa;}},_0x19bd98=_0x27e2c5[_0x46b8f9(0x1c8)](getBrowserstackCLI),_0x529638=_0x27e2c5[_0x46b8f9(0x1bd)](nestedKeyValue,_0x19bd98[_0x46b8f9(0x1eb)]()[_0x46b8f9(0x1ef)](),[_0x27e2c5[_0x46b8f9(0x1d7)],_0x27e2c5[_0x46b8f9(0x1d2)],_0x27e2c5[_0x46b8f9(0x1b2)]])||constants[_0x46b8f9(0x1c9)];if(!_0x272b8d||_0x27e2c5[_0x46b8f9(0x1a3)](_0x272b8d,''))return _0x529638;const _0x36971f=_0x529638[_0x46b8f9(0x1e3)]('/')?_0x529638:_0x27e2c5[_0x46b8f9(0x1b3)](_0x529638,'/');return new URL(_0x272b8d,_0x36971f)[_0x46b8f9(0x1f4)]();}static[a56_0x265a0b(0x19e)](_0x3dd265){const _0x5de303=a56_0x265a0b,_0x5c9535={'kMitx':function(_0x3c32ff){return _0x3c32ff();},'naybk':function(_0x4ffeef,_0x48d131,_0x4fe2ba){return _0x4ffeef(_0x48d131,_0x4fe2ba);},'GoCkT':_0x5de303(0x1ad),'eEHhI':_0x5de303(0x1c1),'VsmCV':_0x5de303(0x1d6),'CdKrM':function(_0x1f1262,_0x1c41d6){return _0x1f1262===_0x1c41d6;},'STzvH':function(_0x845e46,_0x2333e1){return _0x845e46+_0x2333e1;}},_0x526170=_0x5c9535[_0x5de303(0x1e6)](getBrowserstackCLI),_0x27ec71=_0x5c9535['naybk'](nestedKeyValue,_0x526170[_0x5de303(0x1eb)]()[_0x5de303(0x1ef)](),[_0x5c9535[_0x5de303(0x19b)],_0x5c9535[_0x5de303(0x1a1)],_0x5c9535['VsmCV']])||constants[_0x5de303(0x1c9)];if(!_0x3dd265||_0x5c9535['CdKrM'](_0x3dd265,''))return _0x27ec71;const _0x2656f6=_0x27ec71['endsWith']('/')?_0x27ec71:_0x5c9535[_0x5de303(0x1cd)](_0x27ec71,'/');return new URL(_0x3dd265,_0x2656f6)[_0x5de303(0x1f4)]();}static[a56_0x265a0b(0x1c0)](_0x35936e){const _0x32e77c=a56_0x265a0b,_0x3e085b={'OTJYi':function(_0x35f7b7){return _0x35f7b7();},'erixB':function(_0x120707,_0x1e91bd,_0x29debc){return _0x120707(_0x1e91bd,_0x29debc);},'Wcpxz':_0x32e77c(0x1ad),'irBKG':'appAutomate','glaaT':_0x32e77c(0x1d6),'Lzhma':function(_0x2f6bd5,_0x5106e8){return _0x2f6bd5===_0x5106e8;},'egsOU':function(_0x5ac3e8,_0x199f4b){return _0x5ac3e8+_0x199f4b;}},_0x2f09d5=_0x3e085b['OTJYi'](getBrowserstackCLI),_0x46ab0b=_0x3e085b['erixB'](nestedKeyValue,_0x2f09d5['getInstance']()[_0x32e77c(0x1ef)](),[_0x3e085b['Wcpxz'],_0x3e085b['irBKG'],_0x3e085b[_0x32e77c(0x19f)]])||constants[_0x32e77c(0x1c9)];if(!_0x35936e||_0x3e085b[_0x32e77c(0x1dc)](_0x35936e,''))return _0x46ab0b;const _0x4ad13b=_0x46ab0b[_0x32e77c(0x1e3)]('/')?_0x46ab0b:_0x3e085b['egsOU'](_0x46ab0b,'/');return new URL(_0x35936e,_0x4ad13b)[_0x32e77c(0x1f4)]();}static[a56_0x265a0b(0x19a)](_0x4e0b02){const _0x253495=a56_0x265a0b,_0x55f769={'dWgYb':function(_0x49734b){return _0x49734b();},'zsqmf':function(_0x3c7fbd,_0x5af40b,_0x12122d){return _0x3c7fbd(_0x5af40b,_0x12122d);},'OJnes':_0x253495(0x1ad),'EeztW':_0x253495(0x1c1),'Hqkvg':_0x253495(0x1d6),'xtmOS':function(_0x24148d,_0x2ee078){return _0x24148d===_0x2ee078;},'EAMez':function(_0x33e64d,_0x3c6046){return _0x33e64d+_0x3c6046;}},_0x2edc00=_0x55f769[_0x253495(0x1e5)](getBrowserstackCLI),_0x2e62b6=_0x55f769['zsqmf'](nestedKeyValue,_0x2edc00['getInstance']()['getConfig'](),[_0x55f769[_0x253495(0x1d1)],_0x55f769['EeztW'],_0x55f769['Hqkvg']])||constants[_0x253495(0x1c9)];if(!_0x4e0b02||_0x55f769[_0x253495(0x1a9)](_0x4e0b02,''))return _0x2e62b6;const _0x4a447e=_0x2e62b6[_0x253495(0x1e3)]('/')?_0x2e62b6:_0x55f769['EAMez'](_0x2e62b6,'/');return new URL(_0x4e0b02,_0x4a447e)['toString']()['replace'](/^https?:\/\//,'');}static[a56_0x265a0b(0x1b7)](_0x527431){const _0x17b0fb=a56_0x265a0b,_0x1d6633={'GHdyO':function(_0x49d4c4){return _0x49d4c4();},'jvBUS':function(_0x34c678,_0x95ad21,_0x5bb24d){return _0x34c678(_0x95ad21,_0x5bb24d);},'JNgDk':_0x17b0fb(0x1ad),'aOmsD':_0x17b0fb(0x199),'DmrtE':_0x17b0fb(0x1d6),'qXgZo':function(_0x1e600e,_0xe0e91c){return _0x1e600e===_0xe0e91c;},'GvNVu':function(_0x24112c,_0x2a4de1){return _0x24112c+_0x2a4de1;}},_0x5caa69=_0x1d6633['GHdyO'](getBrowserstackCLI),_0x3294a1=_0x1d6633[_0x17b0fb(0x1d0)](nestedKeyValue,_0x5caa69[_0x17b0fb(0x1eb)]()[_0x17b0fb(0x1ef)](),[_0x1d6633[_0x17b0fb(0x1e9)],_0x1d6633['aOmsD'],_0x1d6633[_0x17b0fb(0x1c6)]])||constants[_0x17b0fb(0x1f0)];if(!_0x527431||_0x1d6633[_0x17b0fb(0x1b6)](_0x527431,''))return _0x3294a1;const _0x5813be=_0x3294a1[_0x17b0fb(0x1e3)]('/')?_0x3294a1:_0x1d6633[_0x17b0fb(0x1a0)](_0x3294a1,'/');return new URL(_0x527431,_0x5813be)[_0x17b0fb(0x1f4)]()['replace'](/^https?:\/\//,'');}static[a56_0x265a0b(0x1de)](_0x27db54){const _0xbc9783=a56_0x265a0b,_0x651203={'xCFpP':function(_0x38021a){return _0x38021a();},'KKWhf':function(_0x3034f4,_0x41f02e,_0xda22d7){return _0x3034f4(_0x41f02e,_0xda22d7);},'jhTGI':_0xbc9783(0x1ad),'sXAVF':_0xbc9783(0x1c4),'rjImH':_0xbc9783(0x1a7),'dPlve':function(_0x105c75,_0x53a919){return _0x105c75===_0x53a919;},'nSgrT':function(_0x58b442,_0x3523b9){return _0x58b442+_0x3523b9;}},_0x18f8b5=_0x651203['xCFpP'](getBrowserstackCLI),_0x29c1c0=_0x651203[_0xbc9783(0x1e4)](nestedKeyValue,_0x18f8b5['getInstance']()[_0xbc9783(0x1ef)](),[_0x651203[_0xbc9783(0x1b9)],_0x651203['sXAVF'],_0x651203[_0xbc9783(0x1ed)]])||constants['OBSERVABILITY_UPLOAD_URL'];if(!_0x27db54||_0x651203['dPlve'](_0x27db54,''))return _0x29c1c0;const _0x196912=_0x29c1c0[_0xbc9783(0x1e3)]('/')?_0x29c1c0:_0x651203['nSgrT'](_0x29c1c0,'/');return new URL(_0x27db54,_0x196912)['toString']();}static[a56_0x265a0b(0x1b5)](_0x1cbb45){const _0x5cfcea=a56_0x265a0b,_0x2c3bf6={'iDYCU':function(_0x54a326){return _0x54a326();},'oqkYu':function(_0x57ddc5,_0x2ef3fc,_0x4ff730){return _0x57ddc5(_0x2ef3fc,_0x4ff730);},'SJsrd':'apis','wURtq':'automate','USBwl':_0x5cfcea(0x1dd),'GOQph':_0x5cfcea(0x1f6),'IBfUH':function(_0x238ee0,_0x54de5e){return _0x238ee0===_0x54de5e;},'scrKC':function(_0x50df9b,_0x58581c){return _0x50df9b+_0x58581c;},'qqcKI':'/playwright?caps='},_0x4c68e3=_0x2c3bf6['iDYCU'](getBrowserstackCLI),_0x1c0d6a=_0x2c3bf6['oqkYu'](nestedKeyValue,_0x4c68e3['getInstance']()[_0x5cfcea(0x1ef)](),[_0x2c3bf6[_0x5cfcea(0x1a4)],_0x2c3bf6[_0x5cfcea(0x1ea)],_0x2c3bf6[_0x5cfcea(0x1e7)]]),_0xcbb30b=(_0x1c0d6a?_0x1c0d6a[_0x5cfcea(0x19c)](/^https:/,_0x2c3bf6[_0x5cfcea(0x1f3)]):null)||constants['PLAYWRIGHT_HUB_URL'];let _0x8e5d65;if(!_0x1cbb45||_0x2c3bf6[_0x5cfcea(0x1ac)](_0x1cbb45,''))_0x8e5d65=_0xcbb30b;else{const _0x123586=_0xcbb30b[_0x5cfcea(0x1e3)]('/')?_0xcbb30b:_0x2c3bf6['scrKC'](_0xcbb30b,'/');_0x8e5d65=new URL(_0x1cbb45,_0x123586)[_0x5cfcea(0x1f4)]();}return!_0x8e5d65['endsWith'](_0x2c3bf6[_0x5cfcea(0x1df)])&&(_0x8e5d65+=_0x2c3bf6['qqcKI']),_0x8e5d65;}static[a56_0x265a0b(0x1a2)](_0x5926c3){const _0x4d3b71=a56_0x265a0b,_0xf2600f={'LyVuB':function(_0xbd822a){return _0xbd822a();},'zSPNk':function(_0x2dcd02,_0x853cc0,_0x524b21){return _0x2dcd02(_0x853cc0,_0x524b21);},'dyqIn':_0x4d3b71(0x1ad),'zGEEH':_0x4d3b71(0x1c1),'TEQdc':_0x4d3b71(0x1dd),'oCmAX':_0x4d3b71(0x1f6),'OnhkD':function(_0xfc2205,_0xcd785a){return _0xfc2205===_0xcd785a;},'danuL':function(_0xfeb44,_0x1f9382){return _0xfeb44+_0x1f9382;},'SPFSc':_0x4d3b71(0x1af)},_0x164ca4=_0xf2600f['LyVuB'](getBrowserstackCLI),_0x198b04=_0xf2600f[_0x4d3b71(0x1b8)](nestedKeyValue,_0x164ca4[_0x4d3b71(0x1eb)]()['getConfig'](),[_0xf2600f[_0x4d3b71(0x1c5)],_0xf2600f[_0x4d3b71(0x1ce)],_0xf2600f[_0x4d3b71(0x1bb)]]),_0x33504c=(_0x198b04?_0x198b04[_0x4d3b71(0x19c)](/^https:/,_0xf2600f[_0x4d3b71(0x1b1)]):null)||constants[_0x4d3b71(0x196)];let _0x552ebe;if(!_0x5926c3||_0xf2600f[_0x4d3b71(0x1db)](_0x5926c3,''))_0x552ebe=_0x33504c;else{const _0x508722=_0x33504c[_0x4d3b71(0x1e3)]('/')?_0x33504c:_0xf2600f['danuL'](_0x33504c,'/');_0x552ebe=new URL(_0x5926c3,_0x508722)['toString']();}return!_0x552ebe[_0x4d3b71(0x1e3)](_0xf2600f[_0x4d3b71(0x1ec)])&&(_0x552ebe+=_0xf2600f[_0x4d3b71(0x1ec)]),_0x552ebe;}}module[a56_0x265a0b(0x197)]=APIUtilityMethods;
1
+ const a56_0x3f2e63=a56_0x5494;(function(_0x22fa3a,_0x16de5f){const _0x1adf63=a56_0x5494,_0x491917=_0x22fa3a();while(!![]){try{const _0x782e79=-parseInt(_0x1adf63(0x1f5))/0x1+parseInt(_0x1adf63(0x1e6))/0x2+parseInt(_0x1adf63(0x19e))/0x3*(-parseInt(_0x1adf63(0x1ae))/0x4)+-parseInt(_0x1adf63(0x1fc))/0x5*(parseInt(_0x1adf63(0x1be))/0x6)+-parseInt(_0x1adf63(0x19a))/0x7*(-parseInt(_0x1adf63(0x19f))/0x8)+parseInt(_0x1adf63(0x1ec))/0x9+-parseInt(_0x1adf63(0x1e4))/0xa;if(_0x782e79===_0x16de5f)break;else _0x491917['push'](_0x491917['shift']());}catch(_0x3193eb){_0x491917['push'](_0x491917['shift']());}}}(a56_0x1ade,0x3357f));const constants=require(a56_0x3f2e63(0x1c7)),{nestedKeyValue}=require('./sharedUtils'),getBrowserstackCLI=()=>{const _0x21474d=a56_0x3f2e63,_0x16c871={'xWCNC':function(_0xf2ed3f,_0x1e1f20){return _0xf2ed3f(_0x1e1f20);},'RmNaC':_0x21474d(0x1ee)};return _0x16c871[_0x21474d(0x1cd)](require,_0x16c871[_0x21474d(0x1f4)]);};class APIUtilityMethods{static[a56_0x3f2e63(0x1a0)](_0x5bd87a){const _0x364a8a=a56_0x3f2e63,_0x4c5fc1={'rrxSF':function(_0x40d97d){return _0x40d97d();},'kzghA':function(_0x5bafa8,_0x3775d9,_0x308e41){return _0x5bafa8(_0x3775d9,_0x308e41);},'uORTM':_0x364a8a(0x1b5),'LrZYl':_0x364a8a(0x1e3),'WfzFS':_0x364a8a(0x1bf),'aCSrq':function(_0x2e45b7,_0x4662d2){return _0x2e45b7===_0x4662d2;},'KjJnL':function(_0x2bd392,_0x13f75f){return _0x2bd392+_0x13f75f;}},_0x3e7d03=_0x4c5fc1[_0x364a8a(0x1ea)](getBrowserstackCLI),_0x102e06=_0x4c5fc1['kzghA'](nestedKeyValue,_0x3e7d03[_0x364a8a(0x1b6)]()[_0x364a8a(0x1b4)](),[_0x4c5fc1['uORTM'],_0x4c5fc1[_0x364a8a(0x19b)],_0x4c5fc1[_0x364a8a(0x1ef)]])||constants[_0x364a8a(0x1c3)];if(!_0x5bd87a||_0x4c5fc1['aCSrq'](_0x5bd87a,''))return _0x102e06;const _0x1b54a2=_0x102e06[_0x364a8a(0x1c6)]('/')?_0x102e06:_0x4c5fc1[_0x364a8a(0x1df)](_0x102e06,'/');return new URL(_0x5bd87a,_0x1b54a2)[_0x364a8a(0x1a1)]();}static[a56_0x3f2e63(0x1c2)](_0xc0d363){const _0x25facb=a56_0x3f2e63,_0x1bfbf1={'vHjtA':function(_0x8b102){return _0x8b102();},'kAErP':function(_0x11bdf7,_0xc1ad0e,_0x382e6d){return _0x11bdf7(_0xc1ad0e,_0x382e6d);},'FNnVg':_0x25facb(0x1b5),'lAiHw':'edsInstrumentation','PLSgW':_0x25facb(0x1bf),'pfAhk':function(_0x53b0f4,_0x26e598){return _0x53b0f4===_0x26e598;},'YgHhL':function(_0x2da491,_0x39cfbd){return _0x2da491+_0x39cfbd;}},_0x4f7e52=_0x1bfbf1[_0x25facb(0x1a6)](getBrowserstackCLI),_0x1e33ac=_0x1bfbf1[_0x25facb(0x1c1)](nestedKeyValue,_0x4f7e52[_0x25facb(0x1b6)]()[_0x25facb(0x1b4)](),[_0x1bfbf1[_0x25facb(0x1aa)],_0x1bfbf1[_0x25facb(0x1f6)],_0x1bfbf1['PLSgW']])||constants[_0x25facb(0x1dd)];if(!_0xc0d363||_0x1bfbf1[_0x25facb(0x1ce)](_0xc0d363,''))return _0x1e33ac;const _0x4f3659=_0x1e33ac[_0x25facb(0x1c6)]('/')?_0x1e33ac:_0x1bfbf1[_0x25facb(0x1b7)](_0x1e33ac,'/');return new URL(_0xc0d363,_0x4f3659)[_0x25facb(0x1a1)]();}static[a56_0x3f2e63(0x1a8)](_0x4d0510){const _0x98dbfe=a56_0x3f2e63,_0x8ba9f1={'KrDOe':function(_0x1295b2){return _0x1295b2();},'BFYIA':function(_0x23511e,_0x1521e2,_0x1ad2bd){return _0x23511e(_0x1521e2,_0x1ad2bd);},'wpztP':_0x98dbfe(0x1b5),'riDtn':_0x98dbfe(0x1e3),'cMBkf':_0x98dbfe(0x1bf),'OLgqY':function(_0x2078ee,_0x2eaa50){return _0x2078ee===_0x2eaa50;},'BHuxA':function(_0x39f867,_0x147dcb){return _0x39f867+_0x147dcb;}},_0x1eab95=_0x8ba9f1['KrDOe'](getBrowserstackCLI),_0x124536=_0x8ba9f1[_0x98dbfe(0x1b2)](nestedKeyValue,_0x1eab95[_0x98dbfe(0x1b6)]()['getConfig'](),[_0x8ba9f1['wpztP'],_0x8ba9f1['riDtn'],_0x8ba9f1[_0x98dbfe(0x1e9)]])||constants[_0x98dbfe(0x1c3)];if(!_0x4d0510||_0x8ba9f1['OLgqY'](_0x4d0510,''))return _0x124536;const _0x563e93=_0x124536['endsWith']('/')?_0x124536:_0x8ba9f1[_0x98dbfe(0x1d1)](_0x124536,'/');return new URL(_0x4d0510,_0x563e93)[_0x98dbfe(0x1a1)]();}static['getAppAutomateSessionStatusAPIUrl'](_0x4e55c5){const _0xa0c494=a56_0x3f2e63,_0x31eba5={'pJxAx':function(_0x2fb619){return _0x2fb619();},'DXHZK':function(_0x30b1b9,_0x23c6c8,_0x3e992b){return _0x30b1b9(_0x23c6c8,_0x3e992b);},'eNsqL':_0xa0c494(0x1b5),'KQqSp':_0xa0c494(0x1f3),'NMfiZ':_0xa0c494(0x1bf),'mnmBI':function(_0x5d0f44,_0x450ed8){return _0x5d0f44===_0x450ed8;},'oSgQF':function(_0x322c88,_0x2088d7){return _0x322c88+_0x2088d7;}},_0xa0b774=_0x31eba5['pJxAx'](getBrowserstackCLI),_0x1768a5=_0x31eba5[_0xa0c494(0x19d)](nestedKeyValue,_0xa0b774['getInstance']()[_0xa0c494(0x1b4)](),[_0x31eba5[_0xa0c494(0x19c)],_0x31eba5[_0xa0c494(0x1b1)],_0x31eba5[_0xa0c494(0x1ba)]])||constants[_0xa0c494(0x1c3)];if(!_0x4e55c5||_0x31eba5[_0xa0c494(0x1d2)](_0x4e55c5,''))return _0x1768a5;const _0x34e8fd=_0x1768a5[_0xa0c494(0x1c6)]('/')?_0x1768a5:_0x31eba5[_0xa0c494(0x1a4)](_0x1768a5,'/');return new URL(_0x4e55c5,_0x34e8fd)[_0xa0c494(0x1a1)]();}static['getAutomateSessionNameAPIUrl'](_0x3bf62b){const _0x136783=a56_0x3f2e63,_0x10cfe7={'gYfHR':function(_0x46969c){return _0x46969c();},'ZDtOc':function(_0x3a51e5,_0x435e32,_0x144205){return _0x3a51e5(_0x435e32,_0x144205);},'KjMrc':_0x136783(0x1b5),'rDcJL':_0x136783(0x1e3),'ZRixN':_0x136783(0x1bf),'qjuZh':function(_0x1621db,_0x41ae0a){return _0x1621db===_0x41ae0a;},'OCTMz':function(_0x590249,_0x46663a){return _0x590249+_0x46663a;}},_0x48e43c=_0x10cfe7[_0x136783(0x1bb)](getBrowserstackCLI),_0x2c5aa2=_0x10cfe7[_0x136783(0x1bd)](nestedKeyValue,_0x48e43c[_0x136783(0x1b6)]()['getConfig'](),[_0x10cfe7[_0x136783(0x1b8)],_0x10cfe7[_0x136783(0x1ed)],_0x10cfe7['ZRixN']])||constants['BROWSERSTACK_API_URL'];if(!_0x3bf62b||_0x10cfe7[_0x136783(0x1b3)](_0x3bf62b,''))return _0x2c5aa2;const _0x4f395d=_0x2c5aa2['endsWith']('/')?_0x2c5aa2:_0x10cfe7[_0x136783(0x1d3)](_0x2c5aa2,'/');return new URL(_0x3bf62b,_0x4f395d)[_0x136783(0x1a1)]();}static[a56_0x3f2e63(0x1dc)](_0x104494){const _0x60bce3=a56_0x3f2e63,_0x436656={'XxUVj':function(_0xa180){return _0xa180();},'BjMRd':function(_0x34fa87,_0x29985a,_0x1a2450){return _0x34fa87(_0x29985a,_0x1a2450);},'DPYFN':'apis','zbfEb':_0x60bce3(0x1f3),'keXrG':_0x60bce3(0x1bf),'TSwoI':function(_0x46ea30,_0x5430c3){return _0x46ea30===_0x5430c3;},'IMFgu':function(_0x26f577,_0xf14d09){return _0x26f577+_0xf14d09;}},_0x45a579=_0x436656['XxUVj'](getBrowserstackCLI),_0x2d8f14=_0x436656['BjMRd'](nestedKeyValue,_0x45a579[_0x60bce3(0x1b6)]()[_0x60bce3(0x1b4)](),[_0x436656[_0x60bce3(0x1f7)],_0x436656[_0x60bce3(0x1f8)],_0x436656[_0x60bce3(0x1d6)]])||constants[_0x60bce3(0x1c3)];if(!_0x104494||_0x436656[_0x60bce3(0x1eb)](_0x104494,''))return _0x2d8f14;const _0x4a4bd9=_0x2d8f14[_0x60bce3(0x1c6)]('/')?_0x2d8f14:_0x436656[_0x60bce3(0x1fa)](_0x2d8f14,'/');return new URL(_0x104494,_0x4a4bd9)[_0x60bce3(0x1a1)]();}static[a56_0x3f2e63(0x197)](_0x4ee9fb){const _0x50ef19=a56_0x3f2e63,_0x33e45f={'mRzap':function(_0x3987e6){return _0x3987e6();},'nJUCK':function(_0x2e6cb6,_0x399d64,_0x1d2f6e){return _0x2e6cb6(_0x399d64,_0x1d2f6e);},'DRTxu':'apis','ZPrly':'automate','zDTzN':_0x50ef19(0x1bf),'GUpuU':function(_0xa9086f,_0x1e259c){return _0xa9086f===_0x1e259c;},'ZQLDY':function(_0x53cc38,_0x1ad08a){return _0x53cc38+_0x1ad08a;}},_0x5adf4c=_0x33e45f[_0x50ef19(0x1c9)](getBrowserstackCLI),_0xe26f53=_0x33e45f[_0x50ef19(0x1f9)](nestedKeyValue,_0x5adf4c[_0x50ef19(0x1b6)]()[_0x50ef19(0x1b4)](),[_0x33e45f[_0x50ef19(0x1db)],_0x33e45f[_0x50ef19(0x1e1)],_0x33e45f[_0x50ef19(0x1af)]])||constants[_0x50ef19(0x1c3)];if(!_0x4ee9fb||_0x33e45f[_0x50ef19(0x1f2)](_0x4ee9fb,''))return _0xe26f53;const _0x378fe9=_0xe26f53[_0x50ef19(0x1c6)]('/')?_0xe26f53:_0x33e45f[_0x50ef19(0x1a3)](_0xe26f53,'/');return new URL(_0x4ee9fb,_0x378fe9)['toString']()[_0x50ef19(0x1cf)](/^https?:\/\//,'');}static[a56_0x3f2e63(0x1d0)](_0x3b5a35){const _0x48b8f8=a56_0x3f2e63,_0x207ccf={'cEDdN':function(_0x2caf6a){return _0x2caf6a();},'PbNGY':function(_0xe817cc,_0x5b2081,_0x14d448){return _0xe817cc(_0x5b2081,_0x14d448);},'LBiaQ':_0x48b8f8(0x1b5),'teDCS':_0x48b8f8(0x1f3),'UdGAe':_0x48b8f8(0x1bf),'Zrdli':function(_0x5a710a,_0x3814ab){return _0x5a710a===_0x3814ab;},'nCxkN':function(_0x252e4d,_0x5dcc15){return _0x252e4d+_0x5dcc15;}},_0x2e396a=_0x207ccf[_0x48b8f8(0x1ab)](getBrowserstackCLI),_0x57ebdc=_0x207ccf[_0x48b8f8(0x198)](nestedKeyValue,_0x2e396a['getInstance']()['getConfig'](),[_0x207ccf[_0x48b8f8(0x199)],_0x207ccf[_0x48b8f8(0x1d5)],_0x207ccf['UdGAe']])||constants['APP_UPLOAD_URL'];if(!_0x3b5a35||_0x207ccf[_0x48b8f8(0x1a7)](_0x3b5a35,''))return _0x57ebdc;const _0xfaa2da=_0x57ebdc[_0x48b8f8(0x1c6)]('/')?_0x57ebdc:_0x207ccf['nCxkN'](_0x57ebdc,'/');return new URL(_0x3b5a35,_0xfaa2da)[_0x48b8f8(0x1a1)]()['replace'](/^https?:\/\//,'');}static[a56_0x3f2e63(0x1ac)](_0x5d7252){const _0x4c4cf6=a56_0x3f2e63,_0xe2dd1e={'GhSRo':function(_0x350ab3){return _0x350ab3();},'EVYwY':function(_0x43c2a7,_0x4a1ca9,_0x167c09){return _0x43c2a7(_0x4a1ca9,_0x167c09);},'UFPdI':'apis','ptQHT':'observability','NHUTs':_0x4c4cf6(0x1a2),'vunZO':function(_0x571c20,_0x403283){return _0x571c20===_0x403283;},'jlVYZ':function(_0x1622bc,_0x46a603){return _0x1622bc+_0x46a603;}},_0x44c473=_0xe2dd1e['GhSRo'](getBrowserstackCLI),_0x1c52de=_0xe2dd1e[_0x4c4cf6(0x1ca)](nestedKeyValue,_0x44c473[_0x4c4cf6(0x1b6)]()[_0x4c4cf6(0x1b4)](),[_0xe2dd1e[_0x4c4cf6(0x1de)],_0xe2dd1e[_0x4c4cf6(0x1ad)],_0xe2dd1e['NHUTs']])||constants[_0x4c4cf6(0x1cc)];if(!_0x5d7252||_0xe2dd1e['vunZO'](_0x5d7252,''))return _0x1c52de;const _0x4e691f=_0x1c52de[_0x4c4cf6(0x1c6)]('/')?_0x1c52de:_0xe2dd1e[_0x4c4cf6(0x1e0)](_0x1c52de,'/');return new URL(_0x5d7252,_0x4e691f)[_0x4c4cf6(0x1a1)]();}static[a56_0x3f2e63(0x1c0)](_0x4c78c8){const _0x5698a2=a56_0x3f2e63,_0x1ee8e5={'hgHQr':function(_0x3ca419){return _0x3ca419();},'kHwrL':function(_0x1ed227,_0x1fc57d,_0x30da3d){return _0x1ed227(_0x1fc57d,_0x30da3d);},'kNIHj':_0x5698a2(0x1b5),'DnsNG':_0x5698a2(0x1e3),'QjWMw':_0x5698a2(0x1c5),'wKSRn':_0x5698a2(0x1e5),'XVGwf':function(_0x1efacc,_0x56ec59){return _0x1efacc===_0x56ec59;},'GbzSc':function(_0x37b48a,_0x4b7078){return _0x37b48a+_0x4b7078;},'OUTgN':_0x5698a2(0x1e2)},_0x2cae1a=_0x1ee8e5[_0x5698a2(0x1cb)](getBrowserstackCLI),_0x2d2830=_0x1ee8e5[_0x5698a2(0x1d8)](nestedKeyValue,_0x2cae1a['getInstance']()[_0x5698a2(0x1b4)](),[_0x1ee8e5[_0x5698a2(0x1e7)],_0x1ee8e5[_0x5698a2(0x1bc)],_0x1ee8e5[_0x5698a2(0x1b0)]]),_0x37824c=(_0x2d2830?_0x2d2830['replace'](/^https:/,_0x1ee8e5['wKSRn']):null)||constants[_0x5698a2(0x1a9)];let _0x3370a6;if(!_0x4c78c8||_0x1ee8e5['XVGwf'](_0x4c78c8,''))_0x3370a6=_0x37824c;else{const _0x53b214=_0x37824c[_0x5698a2(0x1c6)]('/')?_0x37824c:_0x1ee8e5['GbzSc'](_0x37824c,'/');_0x3370a6=new URL(_0x4c78c8,_0x53b214)['toString']();}return!_0x3370a6[_0x5698a2(0x1c6)](_0x1ee8e5['OUTgN'])&&(_0x3370a6+=_0x1ee8e5[_0x5698a2(0x1a5)]),_0x3370a6;}static[a56_0x3f2e63(0x1da)](_0x1cd449){const _0x576d9f=a56_0x3f2e63,_0x466d93={'hYshf':function(_0x361166){return _0x361166();},'QswOp':function(_0x507685,_0x4f4a1f,_0x19ce2c){return _0x507685(_0x4f4a1f,_0x19ce2c);},'Qrvgf':_0x576d9f(0x1b5),'PJDsy':'automate','CNWWQ':_0x576d9f(0x1c5),'HohgJ':_0x576d9f(0x1e5),'pLwKZ':function(_0x4a34e3,_0x28cea1){return _0x4a34e3===_0x28cea1;},'UidtI':function(_0x467178,_0x26a1a8){return _0x467178+_0x26a1a8;},'HogoP':'/puppeteer?caps='},_0xc7d40a=_0x466d93[_0x576d9f(0x1c8)](getBrowserstackCLI),_0x3283c2=_0x466d93[_0x576d9f(0x1fb)](nestedKeyValue,_0xc7d40a[_0x576d9f(0x1b6)]()['getConfig'](),[_0x466d93[_0x576d9f(0x1f1)],_0x466d93[_0x576d9f(0x1b9)],_0x466d93[_0x576d9f(0x1d7)]]),_0xd26d56=(_0x3283c2?_0x3283c2[_0x576d9f(0x1cf)](/^https:/,_0x466d93[_0x576d9f(0x1c4)]):null)||constants[_0x576d9f(0x1e8)];let _0x14036a;if(!_0x1cd449||_0x466d93[_0x576d9f(0x1d4)](_0x1cd449,''))_0x14036a=_0xd26d56;else{const _0xa10575=_0xd26d56[_0x576d9f(0x1c6)]('/')?_0xd26d56:_0x466d93[_0x576d9f(0x1d9)](_0xd26d56,'/');_0x14036a=new URL(_0x1cd449,_0xa10575)['toString']();}return!_0x14036a['endsWith'](_0x466d93['HogoP'])&&(_0x14036a+=_0x466d93['HogoP']),_0x14036a;}}function a56_0x1ade(){const _0x1e8238=['mRzap','EVYwY','hgHQr','OBSERVABILITY_UPLOAD_URL','xWCNC','pfAhk','replace','getAppAutomateSessionsListAPIUrl','BHuxA','mnmBI','OCTMz','pLwKZ','teDCS','keXrG','CNWWQ','kHwrL','UidtI','getPuppeteerHubUrl','DRTxu','getAppAutomateSessionNameAPIUrl','EDS_URL','UFPdI','KjJnL','jlVYZ','ZPrly','/playwright?caps=','automate','2498350vTdxzJ','wss:','692058zBhRrH','kNIHj','PUPPETEER_HUB_URL','cMBkf','rrxSF','TSwoI','2064978LrcIcD','rDcJL','../v2/browserstackCLI','WfzFS','exports','Qrvgf','GUpuU','appAutomate','RmNaC','133495yItZvA','lAiHw','DPYFN','zbfEb','nJUCK','IMFgu','QswOp','5675NnFvIS','getAutomateSessionsListAPIUrl','PbNGY','LBiaQ','21eabuXq','LrZYl','eNsqL','DXHZK','660117JRbUyG','1022616hGknBH','getBStackAPIUrl','toString','upload','ZQLDY','oSgQF','OUTgN','vHjtA','Zrdli','getAutomateSessionStatusAPIUrl','PLAYWRIGHT_HUB_URL','FNnVg','cEDdN','getAutoCaptureLogsAPIUrl','ptQHT','4wNtppg','zDTzN','QjWMw','KQqSp','BFYIA','qjuZh','getConfig','apis','getInstance','YgHhL','KjMrc','PJDsy','NMfiZ','gYfHR','DnsNG','ZDtOc','768lGqeqC','api','getPlaywrightHubUrl','kAErP','getEdsInstrumentationAPIUrl','BROWSERSTACK_API_URL','HohgJ','cdp','endsWith','./constants','hYshf'];a56_0x1ade=function(){return _0x1e8238;};return a56_0x1ade();}function a56_0x5494(_0x290f87,_0xee53e0){const _0x1ade7a=a56_0x1ade();return a56_0x5494=function(_0x5494ee,_0x25e022){_0x5494ee=_0x5494ee-0x197;let _0x3d27d0=_0x1ade7a[_0x5494ee];return _0x3d27d0;},a56_0x5494(_0x290f87,_0xee53e0);}module[a56_0x3f2e63(0x1f0)]=APIUtilityMethods;
@@ -1 +1 @@
1
- const a57_0x41518b=a57_0x4670;(function(_0x4bd062,_0x1a0c4e){const _0x5d407c=a57_0x4670,_0x12ba57=_0x4bd062();while(!![]){try{const _0x3f15ed=parseInt(_0x5d407c(0x192))/0x1*(-parseInt(_0x5d407c(0x18e))/0x2)+parseInt(_0x5d407c(0x198))/0x3+parseInt(_0x5d407c(0x18c))/0x4+-parseInt(_0x5d407c(0x1dc))/0x5+-parseInt(_0x5d407c(0x1d0))/0x6+parseInt(_0x5d407c(0x1be))/0x7*(-parseInt(_0x5d407c(0x1e2))/0x8)+-parseInt(_0x5d407c(0x1e3))/0x9*(-parseInt(_0x5d407c(0x190))/0xa);if(_0x3f15ed===_0x1a0c4e)break;else _0x12ba57['push'](_0x12ba57['shift']());}catch(_0x2914fe){_0x12ba57['push'](_0x12ba57['shift']());}}}(a57_0x1b56,0x4d52a));function a57_0x4670(_0x46bd64,_0x5366bd){const _0x1b5663=a57_0x1b56();return a57_0x4670=function(_0x467008,_0x86a9ad){_0x467008=_0x467008-0x184;let _0x22592d=_0x1b5663[_0x467008];return _0x22592d;},a57_0x4670(_0x46bd64,_0x5366bd);}const logger=require('../../helpers/logger')[a57_0x41518b(0x184)],BrowserstackCLI=require(a57_0x41518b(0x1b1)),GrpcClient=require(a57_0x41518b(0x1d5)),constants=require('./constants');class ClientTroubleShootingService{static ['cachedErrorCodes']=null;static ['errorCodesOccurredWhenCLINotRunning']=new Set();static async[a57_0x41518b(0x1a2)](_0x197010){const _0xa37f03=a57_0x41518b,_0x4b643e={};_0x4b643e[_0xa37f03(0x1b8)]=function(_0x1c7dc9,_0x2d652d){return _0x1c7dc9!==_0x2d652d;};const _0x477348=_0x4b643e;try{if(BrowserstackCLI[_0xa37f03(0x1e4)]()[_0xa37f03(0x1a7)]()){const _0xf11dcf=await GrpcClient[_0xa37f03(0x1e4)]()['reportClientTroubleshootingError'](_0x197010);if(_0x477348[_0xa37f03(0x1b8)](_0xf11dcf,null)&&_0xf11dcf[_0xa37f03(0x1de)]())return{'errorCode':_0xf11dcf[_0xa37f03(0x1c8)](),'errorMessage':_0xf11dcf[_0xa37f03(0x1b2)]()};return{};}return{};}catch(_0x53a454){return this[_0xa37f03(0x18a)](_0xa37f03(0x1d7)+_0x197010+':',_0x53a454),{};}}static async[a57_0x41518b(0x1c1)](){const _0x11805d=a57_0x41518b,_0x631ce5={};_0x631ce5['iOmeR']=function(_0x48bb25,_0x18ef96){return _0x48bb25!==_0x18ef96;},_0x631ce5[_0x11805d(0x1ac)]='base64',_0x631ce5['wFGcW']='Error\x20in\x20getting\x20aggregated\x20error\x20codes:';const _0x16fd2a=_0x631ce5;try{if(BrowserstackCLI['getInstance']()[_0x11805d(0x1a7)]()){const _0x2bfcb2=await GrpcClient[_0x11805d(0x1e4)]()[_0x11805d(0x1ba)]();if(_0x16fd2a[_0x11805d(0x1d2)](_0x2bfcb2,null)&&_0x2bfcb2[_0x11805d(0x1de)]()){const _0x4a0e49=Buffer[_0x11805d(0x191)](_0x2bfcb2[_0x11805d(0x1cc)](),_0x16fd2a['lJPPr'])['toString'](),_0x44ea0f=_0x4a0e49?JSON[_0x11805d(0x1cf)](_0x4a0e49):[],_0x51e04e=_0x2bfcb2[_0x11805d(0x185)](),_0x518b08=_0x2bfcb2[_0x11805d(0x1b5)](),_0x3d930b=Buffer[_0x11805d(0x191)](_0x2bfcb2[_0x11805d(0x1ae)](),_0x16fd2a[_0x11805d(0x1ac)])[_0x11805d(0x1e5)](),_0x820c57=_0x3d930b?JSON[_0x11805d(0x1cf)](_0x3d930b):[],_0x5b9b8d={};return _0x5b9b8d[_0x11805d(0x1cd)]=_0x44ea0f,_0x5b9b8d[_0x11805d(0x188)]=_0x51e04e,_0x5b9b8d['finalErrorMessage']=_0x518b08,_0x5b9b8d[_0x11805d(0x1e8)]=_0x820c57,_0x5b9b8d;}const _0x4fc375={};return _0x4fc375['errorCodes']=[],_0x4fc375[_0x11805d(0x188)]='',_0x4fc375[_0x11805d(0x19d)]='',_0x4fc375[_0x11805d(0x1e8)]=[],_0x4fc375;}const _0x15a992={};return _0x15a992['errorCodes']=[],_0x15a992[_0x11805d(0x188)]='',_0x15a992[_0x11805d(0x19d)]='',_0x15a992[_0x11805d(0x1e8)]=[],_0x15a992;}catch(_0x4c7766){this[_0x11805d(0x18a)](_0x16fd2a[_0x11805d(0x196)],_0x4c7766);const _0x59d044={};return _0x59d044[_0x11805d(0x1cd)]=[],_0x59d044[_0x11805d(0x188)]='',_0x59d044[_0x11805d(0x19d)]='',_0x59d044[_0x11805d(0x1e8)]=[],_0x59d044;}}static[a57_0x41518b(0x1d6)](_0x1b9af7,_0x5b803f){const _0x1fa47b=a57_0x41518b;logger[_0x1fa47b(0x1b6)](_0x1b9af7+':\x20'+_0x5b803f);}static['checkForErrorsOccuredInCLI'](_0x53d582){const _0x53c22f=a57_0x41518b,_0x178101={};_0x178101[_0x53c22f(0x186)]=function(_0x632d2b,_0x33fa68){return _0x632d2b!=_0x33fa68;},_0x178101[_0x53c22f(0x1e1)]=function(_0x2aff07,_0x44200b){return _0x2aff07!=_0x44200b;},_0x178101[_0x53c22f(0x187)]=function(_0x4b0b0a,_0xb9e5a0){return _0x4b0b0a>_0xb9e5a0;},_0x178101['zXQkv']=function(_0x510649,_0x4e65a6){return _0x510649!=_0x4e65a6;};const _0x547b42=_0x178101,_0xb4c397=[];if(_0x547b42[_0x53c22f(0x186)](_0x53d582,null)&&_0x547b42[_0x53c22f(0x1e1)](_0x53d582['errorCodesOccurredInCLI'],null)&&_0x547b42['FjMhL'](_0x53d582[_0x53c22f(0x1e8)][_0x53c22f(0x189)],0x0))for(const _0x450d78 of _0x53d582['errorCodesOccurredInCLI']){_0x547b42[_0x53c22f(0x186)](_0x450d78['errorCode'],null)&&_0x547b42['zXQkv'](_0x450d78[_0x53c22f(0x19b)],null)&&(_0xb4c397[_0x53c22f(0x1ce)](_0x450d78[_0x53c22f(0x1c0)]),this['logSituation'](_0x450d78['errorCode'],_0x450d78[_0x53c22f(0x19b)]));}return _0xb4c397;}static[a57_0x41518b(0x1a8)](){const _0x280dc5=a57_0x41518b;return this[_0x280dc5(0x197)];}static[a57_0x41518b(0x18a)](_0x37b627,_0x2bea8c){const _0x5a1b33=a57_0x41518b,_0x2ad6b9={};_0x2ad6b9[_0x5a1b33(0x1c4)]=function(_0x385c47,_0x56927d){return _0x385c47===_0x56927d;},_0x2ad6b9[_0x5a1b33(0x1c5)]=_0x5a1b33(0x18f);const _0x2a9f4d=_0x2ad6b9;if(_0x2a9f4d['YvTcG'](typeof _0x2bea8c,_0x2a9f4d[_0x5a1b33(0x1c5)]))try{logger[_0x5a1b33(0x193)](_0x5a1b33(0x1a6)+_0x37b627+'\x20'+JSON[_0x5a1b33(0x1a3)](_0x2bea8c));}catch(_0x55f875){logger[_0x5a1b33(0x193)](_0x5a1b33(0x1a6)+_0x37b627+'\x20'+_0x2bea8c);}else logger[_0x5a1b33(0x193)]('[ClientTroubleShootingService]\x20'+_0x37b627+'\x20'+_0x2bea8c);}static async['reportProcessInterruptionSituation'](_0x216c1d){const _0x5f0feb=a57_0x41518b,_0x281bd4={};_0x281bd4[_0x5f0feb(0x195)]=_0x5f0feb(0x1d1),_0x281bd4[_0x5f0feb(0x1bf)]=function(_0x190113,_0x3c5c8f){return _0x190113===_0x3c5c8f;},_0x281bd4[_0x5f0feb(0x1d4)]='Process\x20Interruption\x20details\x20not\x20found:',_0x281bd4[_0x5f0feb(0x19e)]=_0x5f0feb(0x1a1);const _0xf7ae49=_0x281bd4,_0x4cf0fc=await this[_0x5f0feb(0x1a2)](_0xf7ae49[_0x5f0feb(0x195)]);if(!_0x4cf0fc||_0xf7ae49['HIyKT'](Object[_0x5f0feb(0x1bc)](_0x4cf0fc)[_0x5f0feb(0x189)],0x0)){this[_0x5f0feb(0x18a)](_0xf7ae49[_0x5f0feb(0x1d4)],_0x4cf0fc);return;}this['logSituation'](_0x4cf0fc[_0x5f0feb(0x1c0)],_0x4cf0fc[_0x5f0feb(0x19b)]['replace'](_0xf7ae49['TPuEf'],_0x216c1d));}static async['reportSessionLinkingIssue'](){const _0x2dd0c9=a57_0x41518b,_0x2bb574={};_0x2bb574[_0x2dd0c9(0x1e0)]=_0x2dd0c9(0x1d8),_0x2bb574[_0x2dd0c9(0x1e6)]=function(_0x283922,_0x173d24){return _0x283922===_0x173d24;},_0x2bb574[_0x2dd0c9(0x1a0)]=_0x2dd0c9(0x19f);const _0x5115b5=_0x2bb574,_0x44c849=await this[_0x2dd0c9(0x1a2)](_0x5115b5[_0x2dd0c9(0x1e0)]);if(!_0x44c849||_0x5115b5['SHLaB'](Object[_0x2dd0c9(0x1bc)](_0x44c849)[_0x2dd0c9(0x189)],0x0)){this['logError'](_0x5115b5[_0x2dd0c9(0x1a0)],_0x44c849);return;}this['logSituation'](_0x44c849[_0x2dd0c9(0x1c0)],_0x44c849[_0x2dd0c9(0x19b)]);}static async[a57_0x41518b(0x1da)](){const _0x34504d=a57_0x41518b,_0x4fdf14={};_0x4fdf14[_0x34504d(0x1b0)]=_0x34504d(0x1bd),_0x4fdf14[_0x34504d(0x1b7)]=function(_0x5dd934,_0x135364){return _0x5dd934===_0x135364;},_0x4fdf14[_0x34504d(0x1b3)]='Connectivity\x20Issue\x20details\x20not\x20found';const _0x40ddff=_0x4fdf14,_0x127d93=await this[_0x34504d(0x1a2)](_0x40ddff[_0x34504d(0x1b0)]);if(!_0x127d93||_0x40ddff[_0x34504d(0x1b7)](Object['keys'](_0x127d93)[_0x34504d(0x189)],0x0)){this[_0x34504d(0x18a)](_0x40ddff['TRQIM'],_0x127d93);return;}this[_0x34504d(0x1d6)](_0x127d93[_0x34504d(0x1c0)],_0x127d93[_0x34504d(0x19b)]);}static async['reportSSLCertIssue'](){const _0x73ffb2=a57_0x41518b,_0x44c0bf={};_0x44c0bf[_0x73ffb2(0x1c6)]='ssl\x20cert\x20issue',_0x44c0bf[_0x73ffb2(0x1df)]=function(_0x2646fd,_0x295bce){return _0x2646fd===_0x295bce;},_0x44c0bf['tjtGu']=_0x73ffb2(0x1c9);const _0x1df03b=_0x44c0bf,_0x2a5e33=await this['getErrorDetails'](_0x1df03b[_0x73ffb2(0x1c6)]);if(!_0x2a5e33||_0x1df03b['AvmDQ'](Object[_0x73ffb2(0x1bc)](_0x2a5e33)[_0x73ffb2(0x189)],0x0)){this['logError'](_0x1df03b[_0x73ffb2(0x1c3)],_0x2a5e33);return;}this[_0x73ffb2(0x1d6)](_0x2a5e33[_0x73ffb2(0x1c0)],_0x2a5e33[_0x73ffb2(0x19b)]);}static[a57_0x41518b(0x1a4)](){const _0x1deec7=a57_0x41518b,_0x37f8ac={};_0x37f8ac[_0x1deec7(0x194)]=_0x1deec7(0x199),_0x37f8ac['KCDMy']=function(_0x365eab,_0x4b97fb){return _0x365eab===_0x4b97fb;},_0x37f8ac[_0x1deec7(0x1b4)]='.browserstack\x20Folder\x20Not\x20Accessible\x20details\x20not\x20found';const _0x53c03b=_0x37f8ac,_0x46a9dd=constants['CLIENT_TROUBLESHOOTING_HASH'][_0x53c03b['HkKgH']];if(!_0x46a9dd||_0x53c03b[_0x1deec7(0x1d9)](Object['keys'](_0x46a9dd)[_0x1deec7(0x189)],0x0)){this[_0x1deec7(0x18a)](_0x53c03b[_0x1deec7(0x1b4)],_0x46a9dd);return;}this['errorCodesOccurredWhenCLINotRunning']['add'](_0x46a9dd[0x0]),this[_0x1deec7(0x1d6)](_0x46a9dd[0x0],_0x46a9dd[0x1]);}static async[a57_0x41518b(0x1e7)](_0x457b5d){const _0x4f1306=a57_0x41518b,_0x353453={};_0x353453[_0x4f1306(0x1ad)]=_0x4f1306(0x1cb),_0x353453[_0x4f1306(0x1b9)]=function(_0x5b9d61,_0xd71291){return _0x5b9d61===_0xd71291;},_0x353453['Nwkvq']=_0x4f1306(0x1bb),_0x353453[_0x4f1306(0x1db)]='{ENV_VAR}';const _0x4d0ab6=_0x353453,_0x1acd56=await this[_0x4f1306(0x1a2)](_0x4d0ab6[_0x4f1306(0x1ad)]);if(!_0x1acd56||_0x4d0ab6['swehc'](Object['keys'](_0x1acd56)[_0x4f1306(0x189)],0x0)){this[_0x4f1306(0x18a)](_0x4d0ab6[_0x4f1306(0x1aa)],_0x1acd56);return;}const _0x418c18=_0x1acd56[_0x4f1306(0x19b)][_0x4f1306(0x18b)](_0x4d0ab6[_0x4f1306(0x1db)],_0x457b5d);this[_0x4f1306(0x1d6)](_0x1acd56[_0x4f1306(0x1c0)],_0x418c18);}static async[a57_0x41518b(0x19a)](){const _0x27d78b=a57_0x41518b,_0x145c6f={};_0x145c6f[_0x27d78b(0x1dd)]=function(_0x38b5fe,_0x3c9c40){return _0x38b5fe>_0x3c9c40;},_0x145c6f[_0x27d78b(0x19c)]=function(_0x2bbb9f,_0x250d74){return _0x2bbb9f>_0x250d74;},_0x145c6f[_0x27d78b(0x1a5)]=_0x27d78b(0x18d),_0x145c6f[_0x27d78b(0x1a9)]=_0x27d78b(0x1ab);const _0x2ae4eb=_0x145c6f,_0x2a8994=await this['getAggregatedErrorCodes'](),_0x4f95ac=this[_0x27d78b(0x1ca)](_0x2a8994),_0x355b00=Array[_0x27d78b(0x1c2)](_0x2a8994[_0x27d78b(0x1cd)])?_0x2a8994[_0x27d78b(0x1cd)]:[],_0x49b85b=_0x2ae4eb[_0x27d78b(0x1dd)](this[_0x27d78b(0x1c7)][_0x27d78b(0x1d3)],0x0)?Array[_0x27d78b(0x191)](this[_0x27d78b(0x1c7)]):[],_0x11f810=new Set([..._0x355b00,..._0x4f95ac,..._0x49b85b]),_0xb32572=Array[_0x27d78b(0x191)](_0x11f810);if(_0x2ae4eb[_0x27d78b(0x19c)](_0xb32572['length'],0x0)){const _0x42f37f=_0x2a8994[_0x27d78b(0x19d)][_0x27d78b(0x18b)](_0x2ae4eb[_0x27d78b(0x1a5)],_0xb32572[_0x27d78b(0x1af)](',\x20'))[_0x27d78b(0x18b)](_0x2ae4eb[_0x27d78b(0x1a9)],_0x2a8994[_0x27d78b(0x188)]);logger[_0x27d78b(0x1b6)](_0x42f37f),this[_0x27d78b(0x197)]=_0xb32572;}}}module['exports']=ClientTroubleShootingService;function a57_0x1b56(){const _0x392c9f=['join','CleDa','../v2/browserstackCLI','getErrorMessage','TRQIM','gEvBv','getFinalErrorMessage','warn','Qngsa','tPBgt','swehc','getAggregatedClientTroubleshootingErrors','Conflicting\x20Env\x20Var\x20details\x20not\x20found','keys','browserstack\x20cloud\x20not\x20reachable','1820021OMemGJ','HIyKT','errorCode','getAggregatedErrorCodes','isArray','tjtGu','YvTcG','TatHQ','cyqDy','errorCodesOccurredWhenCLINotRunning','getErrorCode','SSL\x20Certificate\x20Issue\x20details\x20not\x20found','checkForErrorsOccuredInCLI','conflicting\x20env\x20var\x20detected','getErrorCodes','errorCodes','push','parse','849864pDnNra','Process\x20Interruption','iOmeR','size','pOXNd','../v2/grpcClient','logSituation','Error\x20in\x20getting\x20error\x20details\x20for\x20','Session\x20Linking\x20Issue','KCDMy','reportConnectivityIssue','RKLQM','2365445lXiVIC','gbdyD','getSuccess','AvmDQ','vPPvZ','kOBVG','8tWokTP','3827511pXKyXL','getInstance','toString','SHLaB','reportConflictingEnvVarIssue','errorCodesOccurredInCLI','winstonLogger','getDocumentationLink','ehYTD','FjMhL','documentationLink','length','logError','replace','1099180WjmTwo','{ERROR_CODES}','21314WWVPQa','object','30QyWVDQ','from','49XKCOOp','error','HkKgH','gmYAh','wFGcW','cachedErrorCodes','489033njnRHr','.browserstack\x20folder\x20not\x20accessible','reportFinalDetectionState','errorMessage','sIhLF','finalErrorMessage','TPuEf','Session\x20Linking\x20Issue\x20details\x20not\x20found','PQswx','{SIGNAL}','getErrorDetails','stringify','reportDotBrowserStackFolderNotAccessibleIssue','cOBdh','[ClientTroubleShootingService]\x20','isRunning','getCachedErrorCodes','HNfyq','Nwkvq','{CLIENT_TROUBLESHOOTING_DOCUMENTATION}','lJPPr','FjCuF','getErrorCodesOccurredInCli'];a57_0x1b56=function(){return _0x392c9f;};return a57_0x1b56();}
1
+ const a57_0x3904e5=a57_0x38f4;(function(_0x49f805,_0x3cabc1){const _0x17ac3b=a57_0x38f4,_0x2333fe=_0x49f805();while(!![]){try{const _0xa01de5=-parseInt(_0x17ac3b(0xef))/0x1*(-parseInt(_0x17ac3b(0x111))/0x2)+parseInt(_0x17ac3b(0xd8))/0x3+-parseInt(_0x17ac3b(0xee))/0x4*(-parseInt(_0x17ac3b(0xdb))/0x5)+parseInt(_0x17ac3b(0xd2))/0x6*(-parseInt(_0x17ac3b(0x112))/0x7)+parseInt(_0x17ac3b(0xcb))/0x8*(-parseInt(_0x17ac3b(0xe3))/0x9)+-parseInt(_0x17ac3b(0xf6))/0xa*(parseInt(_0x17ac3b(0xf9))/0xb)+-parseInt(_0x17ac3b(0xc5))/0xc*(-parseInt(_0x17ac3b(0xae))/0xd);if(_0xa01de5===_0x3cabc1)break;else _0x2333fe['push'](_0x2333fe['shift']());}catch(_0xba1911){_0x2333fe['push'](_0x2333fe['shift']());}}}(a57_0x431e,0x5a18a));const logger=require(a57_0x3904e5(0xd6))[a57_0x3904e5(0xce)],BrowserstackCLI=require('../v2/browserstackCLI'),GrpcClient=require('../v2/grpcClient'),constants=require(a57_0x3904e5(0x108));class ClientTroubleShootingService{static [a57_0x3904e5(0xd1)]=null;static ['errorCodesOccurredWhenCLINotRunning']=new Set();static async[a57_0x3904e5(0x105)](_0x37abe8){const _0x537751=a57_0x3904e5,_0x4cac57={};_0x4cac57[_0x537751(0xe4)]=function(_0x449811,_0x2979c0){return _0x449811!==_0x2979c0;};const _0x54c1ee=_0x4cac57;try{if(BrowserstackCLI['getInstance']()[_0x537751(0xea)]()){const _0xc349b9=await GrpcClient[_0x537751(0xf8)]()[_0x537751(0xe6)](_0x37abe8);if(_0x54c1ee[_0x537751(0xe4)](_0xc349b9,null)&&_0xc349b9['getSuccess']())return{'errorCode':_0xc349b9[_0x537751(0xf5)](),'errorMessage':_0xc349b9['getErrorMessage']()};return{};}return{};}catch(_0x3e91a0){return this[_0x537751(0xc2)]('Error\x20in\x20getting\x20error\x20details\x20for\x20'+_0x37abe8+':',_0x3e91a0),{};}}static async[a57_0x3904e5(0xe0)](){const _0x3e9ba8=a57_0x3904e5,_0x3c3b25={};_0x3c3b25['gmxCR']=function(_0x1442b4,_0x43a56e){return _0x1442b4!==_0x43a56e;},_0x3c3b25[_0x3e9ba8(0xe1)]=_0x3e9ba8(0xd4),_0x3c3b25[_0x3e9ba8(0xec)]=_0x3e9ba8(0xb6);const _0x503048=_0x3c3b25;try{if(BrowserstackCLI[_0x3e9ba8(0xf8)]()[_0x3e9ba8(0xea)]()){const _0x2b0ceb=await GrpcClient[_0x3e9ba8(0xf8)]()['getAggregatedClientTroubleshootingErrors']();if(_0x503048[_0x3e9ba8(0xde)](_0x2b0ceb,null)&&_0x2b0ceb[_0x3e9ba8(0xb3)]()){const _0x21d83b=Buffer[_0x3e9ba8(0xfe)](_0x2b0ceb[_0x3e9ba8(0xc1)](),_0x503048['GjTQX'])['toString'](),_0x201683=_0x21d83b?JSON[_0x3e9ba8(0xeb)](_0x21d83b):[],_0x52e05c=_0x2b0ceb[_0x3e9ba8(0x10f)](),_0x3b7668=_0x2b0ceb[_0x3e9ba8(0xd5)](),_0x48cc1b=Buffer['from'](_0x2b0ceb['getErrorCodesOccurredInCli'](),_0x503048['GjTQX'])[_0x3e9ba8(0xcf)](),_0x4225c9=_0x48cc1b?JSON['parse'](_0x48cc1b):[],_0x299bae={};return _0x299bae[_0x3e9ba8(0xc3)]=_0x201683,_0x299bae[_0x3e9ba8(0x107)]=_0x52e05c,_0x299bae['finalErrorMessage']=_0x3b7668,_0x299bae['errorCodesOccurredInCLI']=_0x4225c9,_0x299bae;}const _0x1d0f7b={};return _0x1d0f7b['errorCodes']=[],_0x1d0f7b[_0x3e9ba8(0x107)]='',_0x1d0f7b[_0x3e9ba8(0xe5)]='',_0x1d0f7b[_0x3e9ba8(0x100)]=[],_0x1d0f7b;}const _0x29b707={};return _0x29b707['errorCodes']=[],_0x29b707[_0x3e9ba8(0x107)]='',_0x29b707[_0x3e9ba8(0xe5)]='',_0x29b707[_0x3e9ba8(0x100)]=[],_0x29b707;}catch(_0x65dc91){this[_0x3e9ba8(0xc2)](_0x503048[_0x3e9ba8(0xec)],_0x65dc91);const _0x23dc02={};return _0x23dc02[_0x3e9ba8(0xc3)]=[],_0x23dc02['documentationLink']='',_0x23dc02['finalErrorMessage']='',_0x23dc02[_0x3e9ba8(0x100)]=[],_0x23dc02;}}static[a57_0x3904e5(0xfc)](_0x22c355,_0x48dfa5){const _0x334bd4=a57_0x3904e5;logger[_0x334bd4(0xcc)](_0x22c355+':\x20'+_0x48dfa5);}static[a57_0x3904e5(0xc0)](_0x47330e){const _0x180da3=a57_0x3904e5,_0x35efd1={};_0x35efd1[_0x180da3(0x103)]=function(_0x2a8b5d,_0x490f19){return _0x2a8b5d!=_0x490f19;},_0x35efd1[_0x180da3(0xda)]=function(_0x47b579,_0x4090f7){return _0x47b579!=_0x4090f7;},_0x35efd1[_0x180da3(0xb5)]=function(_0x2f3470,_0x25a73f){return _0x2f3470>_0x25a73f;},_0x35efd1[_0x180da3(0xca)]=function(_0x27cf5e,_0x27d9a9){return _0x27cf5e!=_0x27d9a9;};const _0x241a2c=_0x35efd1,_0x1e3a0d=[];if(_0x241a2c[_0x180da3(0x103)](_0x47330e,null)&&_0x241a2c[_0x180da3(0xda)](_0x47330e[_0x180da3(0x100)],null)&&_0x241a2c[_0x180da3(0xb5)](_0x47330e[_0x180da3(0x100)][_0x180da3(0xdc)],0x0))for(const _0x2f671b of _0x47330e['errorCodesOccurredInCLI']){_0x241a2c['rMVJH'](_0x2f671b[_0x180da3(0x104)],null)&&_0x241a2c[_0x180da3(0xca)](_0x2f671b[_0x180da3(0x109)],null)&&(_0x1e3a0d[_0x180da3(0xf4)](_0x2f671b['errorCode']),this['logSituation'](_0x2f671b['errorCode'],_0x2f671b[_0x180da3(0x109)]));}return _0x1e3a0d;}static[a57_0x3904e5(0x10e)](){const _0xee28df=a57_0x3904e5;return this[_0xee28df(0xd1)];}static[a57_0x3904e5(0xc2)](_0x7c5506,_0x1722e4){const _0x52f3b9=a57_0x3904e5,_0xaaa7ad={};_0xaaa7ad[_0x52f3b9(0xc4)]=function(_0x28781a,_0x2e14aa){return _0x28781a===_0x2e14aa;},_0xaaa7ad[_0x52f3b9(0xbe)]='object';const _0x17de4c=_0xaaa7ad;if(_0x17de4c[_0x52f3b9(0xc4)](typeof _0x1722e4,_0x17de4c[_0x52f3b9(0xbe)]))try{logger[_0x52f3b9(0xf0)](_0x52f3b9(0xf2)+_0x7c5506+'\x20'+JSON[_0x52f3b9(0xb7)](_0x1722e4));}catch(_0x1427fd){logger[_0x52f3b9(0xf0)](_0x52f3b9(0xf2)+_0x7c5506+'\x20'+_0x1722e4);}else logger[_0x52f3b9(0xf0)](_0x52f3b9(0xf2)+_0x7c5506+'\x20'+_0x1722e4);}static async['reportProcessInterruptionSituation'](_0x2d4f57){const _0x34d255=a57_0x3904e5,_0x42cd1a={};_0x42cd1a[_0x34d255(0xfa)]=_0x34d255(0xdd),_0x42cd1a[_0x34d255(0x110)]=function(_0x2a3083,_0xdc84dc){return _0x2a3083===_0xdc84dc;},_0x42cd1a[_0x34d255(0xd9)]='Process\x20Interruption\x20details\x20not\x20found:',_0x42cd1a[_0x34d255(0x10b)]=_0x34d255(0xad);const _0xc24686=_0x42cd1a,_0x1b726b=await this[_0x34d255(0x105)](_0xc24686[_0x34d255(0xfa)]);if(!_0x1b726b||_0xc24686[_0x34d255(0x110)](Object[_0x34d255(0xaf)](_0x1b726b)['length'],0x0)){this[_0x34d255(0xc2)](_0xc24686[_0x34d255(0xd9)],_0x1b726b);return;}this[_0x34d255(0xfc)](_0x1b726b[_0x34d255(0x104)],_0x1b726b['errorMessage'][_0x34d255(0xbc)](_0xc24686['UqFbP'],_0x2d4f57));}static async[a57_0x3904e5(0xbf)](){const _0x4c6310=a57_0x3904e5,_0x2757eb={};_0x2757eb[_0x4c6310(0xf7)]='Session\x20Linking\x20Issue',_0x2757eb[_0x4c6310(0xb0)]=function(_0x44bef6,_0x523ccb){return _0x44bef6===_0x523ccb;},_0x2757eb[_0x4c6310(0xb8)]='Session\x20Linking\x20Issue\x20details\x20not\x20found';const _0xd0ee3a=_0x2757eb,_0xa18228=await this[_0x4c6310(0x105)](_0xd0ee3a['KgxUb']);if(!_0xa18228||_0xd0ee3a[_0x4c6310(0xb0)](Object[_0x4c6310(0xaf)](_0xa18228)[_0x4c6310(0xdc)],0x0)){this[_0x4c6310(0xc2)](_0xd0ee3a['ptYKt'],_0xa18228);return;}this[_0x4c6310(0xfc)](_0xa18228[_0x4c6310(0x104)],_0xa18228[_0x4c6310(0x109)]);}static async[a57_0x3904e5(0xc7)](){const _0x555994=a57_0x3904e5,_0x4830cd={};_0x4830cd[_0x555994(0xbd)]=_0x555994(0x113),_0x4830cd[_0x555994(0xff)]=function(_0x1af132,_0x35cabc){return _0x1af132===_0x35cabc;},_0x4830cd[_0x555994(0xab)]=_0x555994(0xb9);const _0x366d3e=_0x4830cd,_0x42f026=await this[_0x555994(0x105)](_0x366d3e[_0x555994(0xbd)]);if(!_0x42f026||_0x366d3e[_0x555994(0xff)](Object['keys'](_0x42f026)[_0x555994(0xdc)],0x0)){this[_0x555994(0xc2)](_0x366d3e[_0x555994(0xab)],_0x42f026);return;}this[_0x555994(0xfc)](_0x42f026['errorCode'],_0x42f026[_0x555994(0x109)]);}static async[a57_0x3904e5(0x10a)](){const _0x41ab2a=a57_0x3904e5,_0x290542={};_0x290542['lhdmo']='ssl\x20cert\x20issue',_0x290542[_0x41ab2a(0xfb)]=function(_0x445710,_0x56413f){return _0x445710===_0x56413f;},_0x290542[_0x41ab2a(0xd0)]=_0x41ab2a(0xb2);const _0x44acbc=_0x290542,_0x42ba01=await this['getErrorDetails'](_0x44acbc[_0x41ab2a(0xed)]);if(!_0x42ba01||_0x44acbc['ltRyx'](Object[_0x41ab2a(0xaf)](_0x42ba01)[_0x41ab2a(0xdc)],0x0)){this[_0x41ab2a(0xc2)](_0x44acbc[_0x41ab2a(0xd0)],_0x42ba01);return;}this[_0x41ab2a(0xfc)](_0x42ba01[_0x41ab2a(0x104)],_0x42ba01[_0x41ab2a(0x109)]);}static[a57_0x3904e5(0xfd)](){const _0x3edbfa=a57_0x3904e5,_0x277bd2={};_0x277bd2['TleEL']=_0x3edbfa(0xe9),_0x277bd2[_0x3edbfa(0xc9)]=function(_0x5e3b92,_0x33e2db){return _0x5e3b92===_0x33e2db;},_0x277bd2['kCWUe']=_0x3edbfa(0xdf);const _0x358397=_0x277bd2,_0x35a1b2=constants['CLIENT_TROUBLESHOOTING_HASH'][_0x358397[_0x3edbfa(0xac)]];if(!_0x35a1b2||_0x358397[_0x3edbfa(0xc9)](Object['keys'](_0x35a1b2)['length'],0x0)){this['logError'](_0x358397[_0x3edbfa(0xe8)],_0x35a1b2);return;}this[_0x3edbfa(0x10d)]['add'](_0x35a1b2[0x0]),this[_0x3edbfa(0xfc)](_0x35a1b2[0x0],_0x35a1b2[0x1]);}static async[a57_0x3904e5(0xc8)](_0xbf1aac){const _0x2ccb04=a57_0x3904e5,_0x49e103={};_0x49e103[_0x2ccb04(0xcd)]=_0x2ccb04(0x106),_0x49e103[_0x2ccb04(0xd7)]=function(_0x36248a,_0x341a65){return _0x36248a===_0x341a65;},_0x49e103[_0x2ccb04(0xe7)]=_0x2ccb04(0xba),_0x49e103[_0x2ccb04(0xb4)]=_0x2ccb04(0xf1);const _0x4c4297=_0x49e103,_0x17a889=await this[_0x2ccb04(0x105)](_0x4c4297['jKbit']);if(!_0x17a889||_0x4c4297[_0x2ccb04(0xd7)](Object['keys'](_0x17a889)[_0x2ccb04(0xdc)],0x0)){this['logError'](_0x4c4297[_0x2ccb04(0xe7)],_0x17a889);return;}const _0x396092=_0x17a889[_0x2ccb04(0x109)][_0x2ccb04(0xbc)](_0x4c4297[_0x2ccb04(0xb4)],_0xbf1aac);this[_0x2ccb04(0xfc)](_0x17a889[_0x2ccb04(0x104)],_0x396092);}static async[a57_0x3904e5(0xbb)](){const _0xc523e9=a57_0x3904e5,_0x172a4d={};_0x172a4d[_0xc523e9(0xf3)]=function(_0x2210e4,_0xefea45){return _0x2210e4>_0xefea45;},_0x172a4d[_0xc523e9(0xe2)]=_0xc523e9(0xd3),_0x172a4d[_0xc523e9(0x10c)]=_0xc523e9(0x101);const _0x2567e8=_0x172a4d,_0x221810=await this[_0xc523e9(0xe0)](),_0x183fc6=this[_0xc523e9(0xc0)](_0x221810),_0x4ffe6f=Array['isArray'](_0x221810[_0xc523e9(0xc3)])?_0x221810[_0xc523e9(0xc3)]:[],_0x55716b=_0x2567e8[_0xc523e9(0xf3)](this['errorCodesOccurredWhenCLINotRunning'][_0xc523e9(0xc6)],0x0)?Array[_0xc523e9(0xfe)](this[_0xc523e9(0x10d)]):[],_0x1261df=new Set([..._0x4ffe6f,..._0x183fc6,..._0x55716b]),_0x45e9e1=Array[_0xc523e9(0xfe)](_0x1261df);if(_0x2567e8[_0xc523e9(0xf3)](_0x45e9e1[_0xc523e9(0xdc)],0x0)){const _0x4eec73=_0x221810[_0xc523e9(0xe5)][_0xc523e9(0xbc)](_0x2567e8[_0xc523e9(0xe2)],_0x45e9e1[_0xc523e9(0xb1)](',\x20'))[_0xc523e9(0xbc)](_0x2567e8['hyvCn'],_0x221810[_0xc523e9(0x107)]);logger[_0xc523e9(0xcc)](_0x4eec73),this[_0xc523e9(0xd1)]=_0x45e9e1;}}}function a57_0x431e(){const _0x2cdabf=['1004829xJhMkU','browserstack\x20cloud\x20not\x20reachable','wkNej','TleEL','{SIGNAL}','1812499wDXNlH','keys','LNNLc','join','SSL\x20Certificate\x20Issue\x20details\x20not\x20found','getSuccess','WcaGd','cBigf','Error\x20in\x20getting\x20aggregated\x20error\x20codes:','stringify','ptYKt','Connectivity\x20Issue\x20details\x20not\x20found','Conflicting\x20Env\x20Var\x20details\x20not\x20found','reportFinalDetectionState','replace','nmWty','tmYZo','reportSessionLinkingIssue','checkForErrorsOccuredInCLI','getErrorCodes','logError','errorCodes','PfAvY','12PljBPE','size','reportConnectivityIssue','reportConflictingEnvVarIssue','uKelP','TpeaM','1535240yOHmjb','warn','jKbit','winstonLogger','toString','Qervb','cachedErrorCodes','6GLssYa','{ERROR_CODES}','base64','getFinalErrorMessage','../../helpers/logger','eyOdg','885084LkuvKM','wHMrS','jRAXy','1965YgKpgJ','length','Process\x20Interruption','gmxCR','.browserstack\x20Folder\x20Not\x20Accessible\x20details\x20not\x20found','getAggregatedErrorCodes','GjTQX','ulYZI','9uqBwGy','ajpAz','finalErrorMessage','reportClientTroubleshootingError','Rccmu','kCWUe','.browserstack\x20folder\x20not\x20accessible','isRunning','parse','LZwQh','lhdmo','3456MysGVE','1oQvYNo','error','{ENV_VAR}','[ClientTroubleShootingService]\x20','ppXCy','push','getErrorCode','220tDBcNW','KgxUb','getInstance','260205tIGqzS','yarXy','ltRyx','logSituation','reportDotBrowserStackFolderNotAccessibleIssue','from','ruCuq','errorCodesOccurredInCLI','{CLIENT_TROUBLESHOOTING_DOCUMENTATION}','exports','rMVJH','errorCode','getErrorDetails','conflicting\x20env\x20var\x20detected','documentationLink','./constants','errorMessage','reportSSLCertIssue','UqFbP','hyvCn','errorCodesOccurredWhenCLINotRunning','getCachedErrorCodes','getDocumentationLink','lfBka','901786GZDpMS'];a57_0x431e=function(){return _0x2cdabf;};return a57_0x431e();}function a57_0x38f4(_0x3f03ed,_0xffc31){const _0x431eca=a57_0x431e();return a57_0x38f4=function(_0x38f441,_0x18ab00){_0x38f441=_0x38f441-0xab;let _0x4a72d6=_0x431eca[_0x38f441];return _0x4a72d6;},a57_0x38f4(_0x3f03ed,_0xffc31);}module[a57_0x3904e5(0x102)]=ClientTroubleShootingService;