browserstack-node-sdk 1.58.0 → 1.60.0

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 (217) 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 +3 -3
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/assets/report.html +1 -1
  43. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  44. package/src/bin/codeceptjs/command.js +1 -1
  45. package/src/bin/codeceptjs/helper.js +1 -1
  46. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  47. package/src/bin/cucumber-js/command.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  49. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  50. package/src/bin/cucumber-js/test-observability.js +1 -1
  51. package/src/bin/cucumber-js/test.setup.js +1 -1
  52. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  53. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  54. package/src/bin/integrations/command.js +1 -1
  55. package/src/bin/integrations/constants.js +1 -1
  56. package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
  57. package/src/bin/jasmine/command.js +1 -1
  58. package/src/bin/jasmine/test.setup.js +1 -1
  59. package/src/bin/jasmine/testRunMap.js +1 -1
  60. package/src/bin/jest/command.js +1 -1
  61. package/src/bin/jest/customImplements/customCircus.js +1 -1
  62. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  63. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  64. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  65. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  66. package/src/bin/jest/jest.setup.js +1 -1
  67. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  68. package/src/bin/jest/test-observability/helper.js +1 -1
  69. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  70. package/src/bin/jest/test-observability/test-details.js +1 -1
  71. package/src/bin/jest/test.setup.js +1 -1
  72. package/src/bin/jest/test_before.setup.js +1 -1
  73. package/src/bin/launcher/launcher.js +1 -1
  74. package/src/bin/load/index.js +1 -1
  75. package/src/bin/load/loadUtils.js +1 -1
  76. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  77. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  78. package/src/bin/mocha/command.js +1 -1
  79. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  80. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  81. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  82. package/src/bin/mocha/test.setup.js +1 -1
  83. package/src/bin/newman/command.js +1 -1
  84. package/src/bin/newman/helper.js +1 -1
  85. package/src/bin/newman/reporter/index.js +1 -1
  86. package/src/bin/newman/scriptRunner.js +1 -1
  87. package/src/bin/nightwatch/command.js +1 -1
  88. package/src/bin/playwright/accessibility-helper.js +1 -1
  89. package/src/bin/playwright/command.js +1 -1
  90. package/src/bin/playwright/globalSetup.js +1 -1
  91. package/src/bin/playwright/mock-process.js +1 -1
  92. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  93. package/src/bin/playwright/patches.js +1 -1
  94. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  95. package/src/bin/playwright/reporter/reporter.js +1 -1
  96. package/src/bin/playwright/reporter/test-details.js +1 -1
  97. package/src/bin/playwright/sessionDetails.js +1 -1
  98. package/src/bin/puppeteer/patches.js +1 -1
  99. package/src/bin/puppeteer/sessionDetails.js +1 -1
  100. package/src/bin/puppeteer/test.setup.js +1 -1
  101. package/src/bin/runner.js +1 -1
  102. package/src/bin/setup.js +1 -1
  103. package/src/bin/test-runner/index.js +1 -1
  104. package/src/bin/test-runner/runTest.js +1 -1
  105. package/src/bin/test-runner/testWorker.js +1 -1
  106. package/src/bin/testcafe/a11y-runner.js +1 -1
  107. package/src/bin/testcafe/command.js +1 -1
  108. package/src/bin/testcafe/reporter/index.js +1 -1
  109. package/src/bin/testcafe/reporter/tcUtils.js +1 -1
  110. package/src/bin/testcafe/session-registry.js +1 -1
  111. package/src/bin/testcafe/stdout-interceptor.js +1 -1
  112. package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
  113. package/src/bin/testcafe/w3c-driver.js +1 -1
  114. package/src/bin/utils/apiUtilityMethods.js +1 -1
  115. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  116. package/src/bin/utils/constants.js +1 -1
  117. package/src/bin/utils/log4jsAppender.js +1 -1
  118. package/src/bin/utils/logPatcher.js +1 -1
  119. package/src/bin/utils/logReportingAPI.js +1 -1
  120. package/src/bin/utils/playwright-patcher.js +1 -1
  121. package/src/bin/utils/puppeteer-patcher.js +1 -1
  122. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  123. package/src/bin/utils/sharedUtils.js +1 -1
  124. package/src/bin/v2/TestInfo.js +1 -1
  125. package/src/bin/v2/browserstackCLI.js +1 -1
  126. package/src/bin/v2/cliUtils.js +1 -1
  127. package/src/bin/v2/customTagManager.js +1 -1
  128. package/src/bin/v2/eventDispatcher.js +1 -1
  129. package/src/bin/v2/framework/automationFramework.js +1 -1
  130. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  131. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  132. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  133. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  134. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  135. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  136. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  137. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  138. package/src/bin/v2/framework/testFramework.js +1 -1
  139. package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
  140. package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
  141. package/src/bin/v2/grpcClient.js +1 -1
  142. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  143. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  144. package/src/bin/v2/instances/trackedContext.js +1 -1
  145. package/src/bin/v2/instances/trackedInstance.js +1 -1
  146. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  147. package/src/bin/v2/modules/baseModule.js +1 -1
  148. package/src/bin/v2/modules/loadTestModule.js +1 -1
  149. package/src/bin/v2/modules/observabilityModule.js +1 -1
  150. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  151. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  152. package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
  153. package/src/bin/v2/modules/testhubModule.js +1 -1
  154. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  155. package/src/bin/v2/state/hookState.js +1 -1
  156. package/src/bin/v2/state/testFrameworkState.js +1 -1
  157. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  158. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  159. package/src/bin/v2/utils/jest-utils.js +1 -1
  160. package/src/bin/vanilla-js/command.js +1 -1
  161. package/src/browserStackSdk.js +1 -1
  162. package/src/helpers/BrowserStackSetup.js +1 -1
  163. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  164. package/src/helpers/accessibility-automation/constants.js +1 -1
  165. package/src/helpers/accessibility-automation/helper.js +1 -1
  166. package/src/helpers/accessibility-automation/scripts.js +1 -1
  167. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  168. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  169. package/src/helpers/ats/constants.js +1 -1
  170. package/src/helpers/ats/helper.js +1 -1
  171. package/src/helpers/caCertHelper.js +1 -1
  172. package/src/helpers/capsMapping.js +1 -1
  173. package/src/helpers/central-scanner/constants.js +1 -1
  174. package/src/helpers/central-scanner/helpers.js +1 -1
  175. package/src/helpers/classLogger.js +1 -1
  176. package/src/helpers/driverInitErrorReporter.js +1 -1
  177. package/src/helpers/globals.js +1 -1
  178. package/src/helpers/helper.js +1 -1
  179. package/src/helpers/logger.js +1 -1
  180. package/src/helpers/metadata.js +1 -1
  181. package/src/helpers/patchHelper.js +1 -1
  182. package/src/helpers/patchHelpers.js +1 -1
  183. package/src/helpers/percy/Percy.js +1 -1
  184. package/src/helpers/percy/PercyBinary.js +1 -1
  185. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  186. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  187. package/src/helpers/percy/PercySDK.js +1 -1
  188. package/src/helpers/percy/index.js +1 -1
  189. package/src/helpers/percy/utils.js +1 -1
  190. package/src/helpers/performance/constants.js +1 -1
  191. package/src/helpers/performance/performance-tester.js +1 -1
  192. package/src/helpers/playwright-helper.js +1 -1
  193. package/src/helpers/processHelper.js +1 -1
  194. package/src/helpers/puppeteer-helper.js +1 -1
  195. package/src/helpers/request-spy.js +1 -1
  196. package/src/helpers/setKeepAlive.js +1 -1
  197. package/src/helpers/stackFrameUtils.js +1 -1
  198. package/src/helpers/test-observability/constants.js +1 -1
  199. package/src/helpers/test-observability/error-handler.js +1 -1
  200. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  201. package/src/helpers/test-observability/sessionHandler.js +1 -1
  202. package/src/helpers/test-observability/utils.js +1 -1
  203. package/src/helpers/test-orchestration/constants.js +1 -1
  204. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  205. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  206. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  207. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  208. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  209. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  210. package/src/helpers/testhub/constants.js +1 -1
  211. package/src/helpers/testhub/testhubHandler.js +1 -1
  212. package/src/helpers/testhub/utils.js +1 -1
  213. package/src/helpers/timeoutPromise.js +1 -1
  214. package/src/helpers/utilities.js +1 -1
  215. package/src/helpers/w3cMapping.js +1 -1
  216. package/src/hubAllocationMethods.js +1 -1
  217. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a80_0x4abeab=a80_0x1cd0;function a80_0x1cd0(_0x5d6478,_0x5bedc8){const _0x29277f=a80_0x2927();return a80_0x1cd0=function(_0x1cd08c,_0x54608d){_0x1cd08c=_0x1cd08c-0x1f2;let _0xbf5038=_0x29277f[_0x1cd08c];return _0xbf5038;},a80_0x1cd0(_0x5d6478,_0x5bedc8);}(function(_0x1d7f7b,_0x2a210d){const _0x2210a0=a80_0x1cd0,_0x237655=_0x1d7f7b();while(!![]){try{const _0x4bbe3a=parseInt(_0x2210a0(0x238))/0x1+parseInt(_0x2210a0(0x27b))/0x2*(parseInt(_0x2210a0(0x27c))/0x3)+parseInt(_0x2210a0(0x2ba))/0x4*(-parseInt(_0x2210a0(0x250))/0x5)+-parseInt(_0x2210a0(0x21e))/0x6*(parseInt(_0x2210a0(0x21a))/0x7)+-parseInt(_0x2210a0(0x24e))/0x8*(parseInt(_0x2210a0(0x202))/0x9)+parseInt(_0x2210a0(0x210))/0xa*(-parseInt(_0x2210a0(0x27a))/0xb)+-parseInt(_0x2210a0(0x228))/0xc*(-parseInt(_0x2210a0(0x2c2))/0xd);if(_0x4bbe3a===_0x2a210d)break;else _0x237655['push'](_0x237655['shift']());}catch(_0xaad424){_0x237655['push'](_0x237655['shift']());}}}(a80_0x2927,0x8e803));const path=require(a80_0x4abeab(0x2c7)),url=require(a80_0x4abeab(0x27e)),util=require(a80_0x4abeab(0x283)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require(a80_0x4abeab(0x268)),{o11yErrorHandler}=require(a80_0x4abeab(0x285)),{debug,getPlatformDetails}=require('../../helpers/test-observability/utils'),logger=require(a80_0x4abeab(0x257))[a80_0x4abeab(0x23a)],constants=require(a80_0x4abeab(0x25a)),AutomationFramework=require('../v2/framework/automationFramework'),BrowserstackCLI=require(a80_0x4abeab(0x24b)),AutomationFrameworkState=require(a80_0x4abeab(0x2c4)),HookState=require(a80_0x4abeab(0x2ac)),{platform}=require('os'),getBrowserNameFromChannel=_0x31842e=>{const _0x3db580=a80_0x4abeab,_0x6fb8ac={};_0x6fb8ac['ORjVZ']='0|5|1|2|4|3',_0x6fb8ac[_0x3db580(0x255)]=_0x3db580(0x26a),_0x6fb8ac[_0x3db580(0x212)]='edge',_0x6fb8ac[_0x3db580(0x225)]=_0x3db580(0x2c1),_0x6fb8ac[_0x3db580(0x24a)]=function(_0x25a17c,_0x89f20c){return _0x25a17c===_0x89f20c;},_0x6fb8ac[_0x3db580(0x20f)]=_0x3db580(0x236),_0x6fb8ac[_0x3db580(0x214)]=_0x3db580(0x1f3),_0x6fb8ac[_0x3db580(0x28b)]=_0x3db580(0x291);const _0x39e549=_0x6fb8ac,_0x162168=_0x39e549[_0x3db580(0x281)][_0x3db580(0x23d)]('|');let _0x4ef1c6=0x0;while(!![]){switch(_0x162168[_0x4ef1c6++]){case'0':if(_0x31842e[_0x3db580(0x279)](_0x39e549[_0x3db580(0x255)]))return _0x39e549[_0x3db580(0x255)];continue;case'1':if(_0x31842e['includes'](_0x39e549[_0x3db580(0x212)]))return _0x39e549[_0x3db580(0x212)];continue;case'2':if(_0x31842e['includes'](_0x39e549[_0x3db580(0x225)]))return _0x39e549['sKPdO'];continue;case'3':if(_0x39e549[_0x3db580(0x24a)](_0x31842e,_0x39e549[_0x3db580(0x20f)]))return _0x39e549['feWrJ'];continue;case'4':if(_0x31842e[_0x3db580(0x279)](_0x39e549[_0x3db580(0x214)]))return _0x39e549[_0x3db580(0x214)];continue;case'5':if(_0x31842e['includes'](_0x39e549[_0x3db580(0x28b)]))return _0x39e549['xugHh'];continue;}break;}},getBrowserFromWSEndpoint=_0x1be306=>{const _0x5c7fc8=a80_0x4abeab,_0x24a8b0={'kwptV':_0x5c7fc8(0x2cd),'SVuuR':function(_0x5484dc,_0x512f2d){return _0x5484dc(_0x512f2d);},'JQfSp':function(_0x3e4f46,_0x184bfc){return _0x3e4f46(_0x184bfc);},'jjXut':_0x5c7fc8(0x249),'VhiPV':'msedge','OMiZu':'firefox','syMnz':_0x5c7fc8(0x2b5),'iYIGI':'safari','vXHEa':_0x5c7fc8(0x236),'bKfec':'chrome','CdupP':function(_0x292839,_0x5a7ace){return _0x292839(_0x5a7ace);}};try{const _0x523cc5=url[_0x5c7fc8(0x273)](_0x1be306),_0x2564b0=new URLSearchParams(_0x523cc5[_0x5c7fc8(0x288)]),_0x478392=Object[_0x5c7fc8(0x25b)](_0x2564b0['entries']()),_0x296a6e=[_0x478392[_0x5c7fc8(0x1fa)],_0x478392[_0x5c7fc8(0x294)],_0x478392[_0x5c7fc8(0x295)],_0x478392[_0x5c7fc8(0x28c)]];for(const _0x187576 of _0x296a6e){if(_0x187576)try{const _0x53cdc2=JSON[_0x5c7fc8(0x273)](_0x187576),_0xc9b9d=_0x53cdc2[_0x5c7fc8(0x230)]||_0x53cdc2[_0x5c7fc8(0x2ce)]||_0x53cdc2[_0x24a8b0['kwptV']]?.['browserName'];if(_0xc9b9d)return _0x24a8b0[_0x5c7fc8(0x22d)](debug,'Browser\x20found\x20in\x20WebSocket\x20caps:\x20'+_0xc9b9d),_0xc9b9d['toLowerCase']();}catch(_0x18b311){_0x24a8b0[_0x5c7fc8(0x261)](debug,_0x5c7fc8(0x2b8)+_0x18b311[_0x5c7fc8(0x21c)]);}}if(_0x1be306['includes'](_0x24a8b0[_0x5c7fc8(0x267)])||_0x1be306[_0x5c7fc8(0x279)](_0x24a8b0[_0x5c7fc8(0x27f)]))return _0x24a8b0[_0x5c7fc8(0x267)];if(_0x1be306[_0x5c7fc8(0x279)](_0x24a8b0[_0x5c7fc8(0x27d)])||_0x1be306[_0x5c7fc8(0x279)](_0x24a8b0[_0x5c7fc8(0x2c9)]))return _0x24a8b0[_0x5c7fc8(0x27d)];if(_0x1be306[_0x5c7fc8(0x279)](_0x24a8b0[_0x5c7fc8(0x204)])||_0x1be306['includes'](_0x24a8b0['vXHEa']))return _0x24a8b0[_0x5c7fc8(0x204)];return _0x24a8b0[_0x5c7fc8(0x289)];}catch(_0x2c466b){return _0x24a8b0[_0x5c7fc8(0x231)](debug,_0x5c7fc8(0x263)+_0x2c466b[_0x5c7fc8(0x208)]()),_0x24a8b0[_0x5c7fc8(0x289)];}},getCloudProviderFromWsEndpoint=_0x218255=>{const _0x538fc2=a80_0x4abeab,_0x53392d={};_0x53392d[_0x538fc2(0x252)]=_0x538fc2(0x2ae),_0x53392d[_0x538fc2(0x1f2)]='unknown_grid';const _0x5478cc=_0x53392d;if(_0x218255['includes'](constants[_0x538fc2(0x266)])||_0x218255['includes'](constants[_0x538fc2(0x292)]))return _0x5478cc[_0x538fc2(0x252)];return _0x5478cc[_0x538fc2(0x1f2)];},a80_0x3404a7={};a80_0x3404a7[a80_0x4abeab(0x22e)]=undefined,a80_0x3404a7[a80_0x4abeab(0x270)]=undefined,a80_0x3404a7[a80_0x4abeab(0x2ce)]=undefined,a80_0x3404a7['browser_version']=undefined,a80_0x3404a7[a80_0x4abeab(0x2a9)]=undefined,a80_0x3404a7[a80_0x4abeab(0x299)]=undefined,a80_0x3404a7['product']=undefined,a80_0x3404a7['capabilities']={};function a80_0x2927(){const _0x601e2c=['platformVersion','Jdhzi','gecko','yVmsD','BViFG','Failed\x20to\x20parse\x20caps\x20from\x20WebSocket:\x20','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','266488tdtRNb','bUtUq','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','lsKau','NNDoz','OerKa','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','firefox','37427qjJrpz','ChGNK','../v2/state/automationFrameworkState.js','xgLZK','the\x20test\x20session\x20event\x20may\x20be\x20dropped\x20due\x20to\x20an\x20empty\x20platform.','path','toLowerCase','syMnz','client','bnnKJ','warn','bstack:options','browser','Connection','hrBDN','safari','turboscale','format','_connection','bStackParams','_name','CRConnection\x20already\x20patched','caps','uMwle','PLAYWRIGHT_DISPATCH','extractBrowserStackParams','ZVVVv','apply','GUgzK','ewbji','5073273xJHZMW','QXPWo','iYIGI','defineProperty','_onMessage','BROWSERSTACK_TEST_OBSERVABILITY','toString','Error\x20extracting\x20BrowserStack\x20parameters:\x20','zRPmZ','crConnection.js','heMwG','(cloudProvider=','Using\x20browser\x20name\x20from\x20browser\x20object:\x20','feWrJ','10dXrMWU','currentSessionDetails','hwMAQ','bsParams','baONC','prototype','PCSRw','patchCRConnection','getInstance','dispatch','889fmTZAz','WryvL','message','patchConnection','45876ylzSFZ','tOtif','GdDTx','wsEndpoint','Error\x20in\x20importing\x20crConnection','getAutomationFramework','model','sKPdO','playwright-','ATS_WSS_URL_REGEX','9456WRhjBj','uAmoS','accessibilityPlatform','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','Unable\x20to\x20determine\x20remote\x20connection\x20state:\x20','SVuuR','cloudProvider','Not\x20able\x20to\x20import\x20Connection\x20class\x20from\x20any\x20path','browserName','CdupP','_defaultConnectOptions','params','gcRHa','sessionId','webkit','join','265792XBYfJm','use','winstonLogger','bjlVV','yHgAK','split','hDzMn','BrowserStack\x20params\x20extracted\x20from\x20WebSocket\x20endpoint','Failed\x20to\x20import\x20connection\x20from\x20','patch','rrnFw','OnYII','_bstackCRPatched','project','wTFif','FWPHw','env','edge','EpKXa','../v2/browserstackCLI','zXlWm','EzOoS','8jqjzge',');\x20','20jXRWFU','_browserType','uDujK','Found\x20Connection\x20class\x20at:\x20','server','CIeml','function','../../helpers/logger','ISmTi','trackEvent','./constants','fromEntries','Successfully\x20patched\x20CRConnection._onMessage','HxuyN','Error\x20triggering\x20PLAYWRIGHT_DISPATCH\x20event:\x20','eLXmL','osVersion','JQfSp','cFguu','Error\x20in\x20getting\x20browser\x20from\x20WebSocket\x20endpoint:\x20','HRXcV','isRemote','BSTACK_URL','jjXut','../../helpers/helper','tDMYc','chromium','AGnrc','triggerPlaywrightDispatchEvent','LOUgb','uakgz','channel','bsSessionId','sFGkm','mZbLA','parse','POST','platformDetails','REnvz','Browser\x20name\x20overridden\x20from\x20WebSocket\x20endpoint:\x20','platformName','includes','12516724IgQoiU','29950GFGQRn','198CRzkja','OMiZu','url','VhiPV','zOnUx','ORjVZ','instance','util','getDetails','../../helpers/test-observability/error-handler','Connection\x20dispatch\x20already\x20patched','fXqtN','query','bKfec','WbtYj','xugHh','browserstack_capabilities','zsPCu','CRConnection','xBpay','Error\x20in\x20importing\x20connection\x20','chrome','BSTACK_ATS_URL','local_grid','capabilities','desiredCapabilities','automate','isRunning','connectOptions','platform_version','Error\x20in\x20finding\x20platform\x20details\x20','browserVersion','exports','sessionError','test','assign','kJgwP','os_version','lib','BBbaV','NomIi','product','zzMir','_bstackDispatchPatched','Error\x20in\x20applying\x20Connection\x20patch\x20','platform','uKOjj','VQSFe','../v2/state/hookState.js','debug','browserstack','vCXWd','mpQZT','Triggering\x20PLAYWRIGHT_DISPATCH\x20event','browser_version'];a80_0x2927=function(){return _0x601e2c;};return a80_0x2927();}class SharedPlaywrightSessionDetails{static [a80_0x4abeab(0x211)]=a80_0x3404a7;constructor(){const _0x4698ef=a80_0x4abeab,_0x33a629={};_0x33a629[_0x4698ef(0x2aa)]=_0x4698ef(0x2c0);const _0x3b4b46=_0x33a629;throw new Error(_0x3b4b46['uKOjj']);}static [a80_0x4abeab(0x29d)]=null;static['setupBrowserDetails'](_0x45e19f,_0x2ae5e0,_0x4e216c=null){const _0x5c9572=a80_0x4abeab,_0xf8e009={'ISmTi':function(_0x239ddb){return _0x239ddb();},'HRXcV':function(_0xb1e55f,_0x26f535){return _0xb1e55f===_0x26f535;},'hDzMn':_0x5c9572(0x256),'bjlVV':_0x5c9572(0x2bc),'HxuyN':function(_0x30a1cc,_0x154001){return _0x30a1cc===_0x154001;},'PAshd':'Device\x20Model\x20is\x20not\x20available','vCXWd':_0x5c9572(0x293),'NNDoz':function(_0x11f902,_0x78343e){return _0x11f902===_0x78343e;},'sFGkm':function(_0x58fe30,_0x2b2864,_0x5a0433){return _0x58fe30(_0x2b2864,_0x5a0433);},'BBbaV':_0x5c9572(0x251),'GUgzK':_0x5c9572(0x232),'rrnFw':'project','yHgAK':_0x5c9572(0x239),'gcRHa':_0x5c9572(0x298),'GdDTx':function(_0x59ff49,_0x35688c){return _0x59ff49&&_0x35688c;},'mZbLA':function(_0x478895,_0x529539){return _0x478895(_0x529539);},'zXlWm':_0x5c9572(0x2ae),'upMyr':_0x5c9572(0x1f4),'mpQZT':_0x5c9572(0x296),'vVzIK':_0x5c9572(0x26a),'REnvz':function(_0x44273c,_0x10a600){return _0x44273c!==_0x10a600;},'QXPWo':function(_0x10a897,_0x6482c2){return _0x10a897+_0x6482c2;},'cFguu':_0x5c9572(0x226),'ZVVVv':function(_0x5c0c86,_0x56cf4e){return _0x5c0c86||_0x56cf4e;},'lsKau':'browser','PCSRw':'Playwright\x20session\x20details\x20resolved\x20without\x20a\x20platform\x20','QucoQ':_0x5c9572(0x2c6),'eLXmL':'setupBrowserDetails'},_0x51cf3d=this;return _0xf8e009[_0x5c9572(0x271)](o11yErrorHandler,async function _0xfbad72(_0x27e2a2,_0x1ad99f,_0x49238a=null){const _0x459ff8=_0x5c9572,_0x23fd12={'xgLZK':function(_0x19da41){const _0x1531f4=a80_0x1cd0;return _0xf8e009[_0x1531f4(0x258)](_0x19da41);}};let _0x47cf01=_0x27e2a2&&_0x27e2a2[_0x459ff8(0x1f8)]||null,_0x73ddc=null;_0x27e2a2&&_0xf8e009[_0x459ff8(0x264)](typeof _0x27e2a2['version'],_0xf8e009['hDzMn'])?_0x73ddc=_0x27e2a2['version']():logger['debug'](_0xf8e009[_0x459ff8(0x23b)]);let _0xba0eb5=null;_0x27e2a2&&_0xf8e009[_0x459ff8(0x25d)](typeof _0x27e2a2['model'],_0xf8e009['hDzMn'])?_0xba0eb5=_0x27e2a2[_0x459ff8(0x224)]():logger[_0x459ff8(0x2ad)](_0xf8e009['PAshd']);let _0x296377=null,_0x568d19=null,_0x1b0723=null,_0xcfba1d=null;const _0x4d2cf5=async()=>{const _0x3b4113=_0x459ff8;return!_0xcfba1d&&(_0xcfba1d=await _0x23fd12[_0x3b4113(0x2c5)](getPlatformDetails)),_0xcfba1d;};let _0x208cac=_0xf8e009[_0x459ff8(0x2af)],_0x303ae6=![],_0x402a30=![];try{_0x27e2a2&&_0x27e2a2[_0x459ff8(0x1f6)]&&_0xf8e009[_0x459ff8(0x2be)](typeof _0x27e2a2[_0x459ff8(0x1f6)][_0x459ff8(0x265)],_0xf8e009[_0x459ff8(0x23e)])&&(_0x303ae6=!!_0x27e2a2['_connection'][_0x459ff8(0x265)](),_0x402a30=!![]);}catch(_0x1d3306){logger['debug'](_0x459ff8(0x22c)+_0x1d3306[_0x459ff8(0x208)]());}let _0x2c5ace=null;_0xf8e009[_0x459ff8(0x271)](nestedKeyValue,_0x27e2a2,[_0xf8e009[_0x459ff8(0x2a3)],_0xf8e009[_0x459ff8(0x200)]])?_0x2c5ace=_0x27e2a2[_0x459ff8(0x251)][_0x459ff8(0x232)]:_0x2c5ace=_0xf8e009[_0x459ff8(0x271)](nestedKeyValue,_0x1ad99f,[_0xf8e009[_0x459ff8(0x242)],_0xf8e009[_0x459ff8(0x23c)],_0xf8e009[_0x459ff8(0x234)]]);const _0x5b8614=_0x49238a||_0x2c5ace&&_0x2c5ace[_0x459ff8(0x221)];if(_0x303ae6||global[_0x459ff8(0x22a)]||_0xf8e009[_0x459ff8(0x220)](!_0x402a30,_0x5b8614)){if(_0x5b8614){_0x208cac=_0xf8e009[_0x459ff8(0x272)](getCloudProviderFromWsEndpoint,_0x5b8614);if(_0xf8e009[_0x459ff8(0x264)](_0x208cac,_0xf8e009['zXlWm'])){_0x1b0723=constants[_0x459ff8(0x227)][_0x459ff8(0x29e)](_0x5b8614)?_0xf8e009['upMyr']:_0xf8e009[_0x459ff8(0x2b0)];const _0x1e9e88=_0xf8e009['mZbLA'](getBrowserFromWSEndpoint,_0x5b8614);if(_0x1e9e88&&(!_0x47cf01||_0xf8e009[_0x459ff8(0x25d)](_0x47cf01,_0xf8e009['vVzIK'])))_0x47cf01=_0x1e9e88,logger[_0x459ff8(0x2ad)](_0x459ff8(0x277)+_0x47cf01);else _0x47cf01&&logger[_0x459ff8(0x2ad)](_0x459ff8(0x20e)+_0x47cf01);_0x296377=_0x51cf3d[_0x459ff8(0x211)][_0x459ff8(0x2a9)],_0x568d19=_0x51cf3d[_0x459ff8(0x211)]['platform_version'];}else{const _0x2a22f2=await _0xf8e009[_0x459ff8(0x258)](_0x4d2cf5);_0x296377=_0x2a22f2[_0x459ff8(0x278)],_0x568d19=_0x2a22f2[_0x459ff8(0x2b3)];}}if(_0xf8e009[_0x459ff8(0x220)](!_0x296377,!_0x568d19)&&_0xf8e009[_0x459ff8(0x276)](_0x208cac,_0xf8e009[_0x459ff8(0x24c)])){const _0x555c7a=await _0xf8e009[_0x459ff8(0x258)](_0x4d2cf5);_0x296377=_0x555c7a[_0x459ff8(0x278)],_0x568d19=_0x555c7a[_0x459ff8(0x2b3)];}}else{_0x1ad99f&&_0x1ad99f[_0x459ff8(0x245)]&&_0x1ad99f[_0x459ff8(0x245)]['use']&&_0x1ad99f[_0x459ff8(0x245)][_0x459ff8(0x239)][_0x459ff8(0x26f)]?_0x47cf01=_0xf8e009[_0x459ff8(0x272)](getBrowserNameFromChannel,_0x1ad99f['project'][_0x459ff8(0x239)][_0x459ff8(0x26f)]):_0x47cf01=_0xf8e009['QXPWo'](_0xf8e009[_0x459ff8(0x262)],_0xf8e009[_0x459ff8(0x1fe)](_0x47cf01,_0xf8e009[_0x459ff8(0x2bd)])[_0x459ff8(0x2c8)]());const _0x2bd171=await _0xf8e009[_0x459ff8(0x258)](_0x4d2cf5);_0x296377=_0x2bd171[_0x459ff8(0x278)],_0x568d19=_0x2bd171[_0x459ff8(0x2b3)];}const _0xc7e095={};_0xc7e095[_0x459ff8(0x2ce)]=_0x47cf01,_0xc7e095[_0x459ff8(0x2b2)]=_0x73ddc,_0xc7e095[_0x459ff8(0x294)]={},_0xc7e095['platform']=_0x296377,_0xc7e095[_0x459ff8(0x299)]=_0x568d19,_0xc7e095['product']=_0x1b0723;const _0x550bd2=_0xc7e095;_0xba0eb5&&(_0x550bd2[_0x459ff8(0x294)]['deviceModel']=_0xba0eb5);const _0x140ed5={};_0x140ed5[_0x459ff8(0x22e)]=_0x208cac,_0x51cf3d['currentSessionDetails']=Object[_0x459ff8(0x29f)]({},_0x51cf3d[_0x459ff8(0x211)],_0x140ed5,_0x550bd2);!_0x51cf3d['currentSessionDetails'][_0x459ff8(0x2a9)]&&_0xf8e009[_0x459ff8(0x276)](_0x51cf3d[_0x459ff8(0x211)][_0x459ff8(0x22e)],_0xf8e009['zXlWm'])&&logger[_0x459ff8(0x2cc)](_0xf8e009[_0x459ff8(0x203)](_0xf8e009[_0x459ff8(0x203)](_0xf8e009[_0x459ff8(0x216)],_0x459ff8(0x20d)+_0x51cf3d[_0x459ff8(0x211)][_0x459ff8(0x22e)]+',\x20browser='+_0x51cf3d['currentSessionDetails'][_0x459ff8(0x2ce)]+_0x459ff8(0x24f)),_0xf8e009['QucoQ']));const _0x47fd5d={};_0x47fd5d[_0x459ff8(0x2ce)]=_0x51cf3d[_0x459ff8(0x211)]['browser'],_0x47fd5d[_0x459ff8(0x29b)]=_0x51cf3d[_0x459ff8(0x211)][_0x459ff8(0x2b2)],_0x47fd5d[_0x459ff8(0x2a9)]=_0x51cf3d[_0x459ff8(0x211)][_0x459ff8(0x2a9)],_0x47fd5d[_0x459ff8(0x2b3)]=_0x51cf3d[_0x459ff8(0x211)][_0x459ff8(0x299)],_0x47fd5d[_0x459ff8(0x22e)]=_0x51cf3d['currentSessionDetails'][_0x459ff8(0x22e)],_0x47fd5d[_0x459ff8(0x2a5)]=_0x51cf3d[_0x459ff8(0x211)][_0x459ff8(0x2a5)],logger[_0x459ff8(0x2ad)]('Session\x20details\x20setup\x20complete:\x20'+JSON['stringify'](_0x47fd5d));},_0xf8e009[_0x5c9572(0x25f)])(_0x45e19f,_0x2ae5e0,_0x4e216c);}static[a80_0x4abeab(0x241)](){const _0x3794f1=a80_0x4abeab;this[_0x3794f1(0x21d)](),this[_0x3794f1(0x217)]();}static[a80_0x4abeab(0x21d)](){const _0x2cb2bf=a80_0x4abeab,_0xa4b10e={'yVmsD':function(_0x446b39,_0x1778c1){return _0x446b39(_0x1778c1);},'zRPmZ':_0x2cb2bf(0x2a2),'bUtUq':_0x2cb2bf(0x2ca),'wTFif':'connection.js','LOUgb':function(_0x43d581,_0x138b9f){return _0x43d581(_0x138b9f);},'ZzxFr':_0x2cb2bf(0x22f),'tDMYc':function(_0xea7bdd,_0x26a5b){return _0xea7bdd(_0x26a5b);},'fXqtN':function(_0x4c6bd0,_0x20eb80){return _0x4c6bd0!=_0x20eb80;},'zzMir':_0x2cb2bf(0x286),'uAmoS':_0x2cb2bf(0x219),'FWPHw':'Successfully\x20patched\x20Connection.dispatch'},_0x283082=this;if(!this[_0x2cb2bf(0x2cf)])try{const _0x2bc5a9=[path['join'](_0xa4b10e[_0x2cb2bf(0x20a)],_0xa4b10e['bUtUq'],_0xa4b10e['wTFif']),path['join'](_0xa4b10e[_0x2cb2bf(0x20a)],_0xa4b10e[_0x2cb2bf(0x246)]),path['join'](_0xa4b10e[_0x2cb2bf(0x2bb)],_0xa4b10e[_0x2cb2bf(0x246)])];for(const _0x41385b of _0x2bc5a9){try{const _0xafc718=_0xa4b10e['yVmsD'](importFileFromPWCore,_0x41385b);if(_0xafc718&&_0xafc718[_0x2cb2bf(0x2cf)]){this[_0x2cb2bf(0x2cf)]=_0xafc718[_0x2cb2bf(0x2cf)],logger['debug'](_0x2cb2bf(0x253)+_0x41385b);break;}}catch(_0x57e9ad){_0xa4b10e[_0x2cb2bf(0x2b6)](debug,_0x2cb2bf(0x240)+_0x41385b+':\x20'+_0x57e9ad[_0x2cb2bf(0x208)]());}}if(!this[_0x2cb2bf(0x2cf)]){_0xa4b10e[_0x2cb2bf(0x26d)](debug,_0xa4b10e['ZzxFr']);return;}}catch(_0xcafdc1){_0xa4b10e[_0x2cb2bf(0x269)](debug,_0x2cb2bf(0x290)+_0xcafdc1['toString']());return;}const _0x16dff6=this[_0x2cb2bf(0x2cf)];try{if(_0xa4b10e[_0x2cb2bf(0x287)](_0x16dff6,null)){const _0x17bc6a=_0x16dff6[_0x2cb2bf(0x215)][_0x2cb2bf(0x219)];if(!_0xa4b10e[_0x2cb2bf(0x2b6)](isFalse,process[_0x2cb2bf(0x248)][_0x2cb2bf(0x207)])){if(_0x16dff6[_0x2cb2bf(0x215)]['_bstackDispatchPatched']){logger[_0x2cb2bf(0x2ad)](_0xa4b10e[_0x2cb2bf(0x2a6)]);return;}Object[_0x2cb2bf(0x205)](_0x16dff6[_0x2cb2bf(0x215)],_0xa4b10e[_0x2cb2bf(0x229)],{'get':function(){return async function _0x71bcbd(_0x5f5050){const _0x35b11d=a80_0x1cd0;if(BrowserstackCLI['getInstance']()[_0x35b11d(0x297)]()){const _0x2574d8={};_0x2574d8['message']=_0x5f5050,await BrowserstackCLI[_0x35b11d(0x218)]()[_0x35b11d(0x223)]()['trackEvent'](AutomationFrameworkState[_0x35b11d(0x1fc)],HookState['POST'],_0x2574d8);}else{const _0x3af294=_0x5f5050&&_0x5f5050[_0x35b11d(0x233)]&&_0x5f5050['params'][_0x35b11d(0x213)];if(_0x3af294){const _0x2e1f19=_0x3af294['sessionId'],_0x26aa3d=_0x3af294[_0x35b11d(0x275)];_0x26aa3d&&(_0xa4b10e[_0x35b11d(0x2b6)](debug,'Setting\x20platform\x20details\x20received\x20from\x20BS:\x20'+_0x26aa3d[_0x35b11d(0x208)]()),_0x283082['currentSessionDetails'][_0x35b11d(0x2a9)]=_0x26aa3d[_0x35b11d(0x278)],_0x283082[_0x35b11d(0x211)]['platform_version']=_0x26aa3d[_0x35b11d(0x2b3)]),_0x2e1f19&&(_0xa4b10e[_0x35b11d(0x2b6)](debug,'Setting\x20session\x20id\x20received\x20from\x20BS\x20'+_0x2e1f19),_0x283082['currentSessionDetails'][_0x35b11d(0x270)]=_0x2e1f19);}}return _0x17bc6a[_0x35b11d(0x1ff)](this,arguments);};}}),_0x16dff6['prototype'][_0x2cb2bf(0x2a7)]=!![],logger['debug'](_0xa4b10e[_0x2cb2bf(0x247)]);}}}catch(_0x1abaf0){_0xa4b10e[_0x2cb2bf(0x26d)](debug,_0x2cb2bf(0x2a8)+_0x1abaf0),_0x283082[_0x2cb2bf(0x29d)]=_0x1abaf0[_0x2cb2bf(0x208)]();}}static['patchCRConnection'](){const _0x482f16=a80_0x4abeab,_0x65120a={'Jdhzi':function(_0x23561b,_0xa33e0c){return _0x23561b(_0xa33e0c);},'kJgwP':_0x482f16(0x2a2),'NomIi':_0x482f16(0x254),'tOtif':'chromium','AGnrc':_0x482f16(0x20b),'VQSFe':function(_0x2968dc,_0x5557b3){return _0x2968dc(_0x5557b3);},'uMwle':function(_0x2a969a,_0x14ac40){return _0x2a969a(_0x14ac40);},'YYfLp':'Not\x20able\x20to\x20import\x20crConnection','fYQUI':_0x482f16(0x222),'WryvL':function(_0x1708a7,_0x393a13){return _0x1708a7!=_0x393a13;},'OnYII':_0x482f16(0x1f9),'bnnKJ':'_onMessage','AWAbl':_0x482f16(0x25c)},_0x400f9c=this;let _0x23bf11=null;try{const _0x389220=path[_0x482f16(0x237)](_0x65120a[_0x482f16(0x2a0)],_0x65120a[_0x482f16(0x2a4)],_0x65120a[_0x482f16(0x21f)],_0x65120a[_0x482f16(0x26b)]),_0x1dba2b=_0x65120a[_0x482f16(0x2ab)](importFileFromPWCore,_0x389220);!_0x1dba2b?_0x65120a[_0x482f16(0x1fb)](debug,_0x65120a['YYfLp']):_0x23bf11=_0x1dba2b[_0x482f16(0x28e)];}catch(_0x6da696){_0x65120a['VQSFe'](debug,_0x65120a['fYQUI']);}try{if(_0x65120a[_0x482f16(0x21b)](_0x23bf11,null)){const _0x1184dd=_0x23bf11[_0x482f16(0x215)][_0x482f16(0x206)];if(_0x23bf11[_0x482f16(0x215)]['_bstackCRPatched']){logger[_0x482f16(0x2ad)](_0x65120a[_0x482f16(0x243)]);return;}Object['defineProperty'](_0x23bf11['prototype'],_0x65120a[_0x482f16(0x2cb)],{'get':function(){const _0x26a095={'OerKa':function(_0x4bff4e,_0x781f3d){const _0x26ff31=a80_0x1cd0;return _0x65120a[_0x26ff31(0x2b4)](_0x4bff4e,_0x781f3d);}};return async function _0x5db15d(_0x343e6b){const _0x4ef859=a80_0x1cd0;try{if(BrowserstackCLI[_0x4ef859(0x218)]()[_0x4ef859(0x297)]()){const _0x3c75bc={};_0x3c75bc['message']=_0x343e6b,await BrowserstackCLI[_0x4ef859(0x218)]()[_0x4ef859(0x223)]()[_0x4ef859(0x259)](AutomationFrameworkState[_0x4ef859(0x1fc)],HookState[_0x4ef859(0x274)],_0x3c75bc),delete _0x343e6b['bStackParams'];}else{const _0x3dae78=_0x343e6b[_0x4ef859(0x1f7)];if(_0x3dae78){delete _0x343e6b[_0x4ef859(0x1f7)];const _0x30230c=_0x3dae78[_0x4ef859(0x235)],_0x571d72=_0x3dae78['platformDetails'];_0x571d72&&(_0x26a095[_0x4ef859(0x2bf)](debug,_0x4ef859(0x22b)+_0x571d72['toString']()),_0x400f9c[_0x4ef859(0x211)][_0x4ef859(0x2a9)]=_0x571d72[_0x4ef859(0x278)],_0x400f9c[_0x4ef859(0x211)][_0x4ef859(0x299)]=_0x571d72[_0x4ef859(0x2b3)]),_0x30230c&&(_0x26a095[_0x4ef859(0x2bf)](debug,_0x4ef859(0x2b9)+_0x30230c),_0x400f9c[_0x4ef859(0x211)][_0x4ef859(0x270)]=_0x30230c);}}}catch(_0x3a66a2){_0x26a095[_0x4ef859(0x2bf)](debug,_0x4ef859(0x29a)+_0x3a66a2[_0x4ef859(0x208)]());}return _0x1184dd[_0x4ef859(0x1ff)](this,arguments);};}}),_0x23bf11[_0x482f16(0x215)][_0x482f16(0x244)]=!![],logger[_0x482f16(0x2ad)](_0x65120a['AWAbl']);}}catch(_0x1bfa72){_0x65120a[_0x482f16(0x2ab)](debug,'Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20'+_0x1bfa72),_0x400f9c[_0x482f16(0x29d)]=_0x1bfa72['toString']();}}static[a80_0x4abeab(0x1fd)](_0x5f5c96,_0x53c5b8){const _0x196298=a80_0x4abeab,_0x10323d={'BViFG':_0x196298(0x2cd),'WbtYj':function(_0x106ec5,_0x370d12){return _0x106ec5||_0x370d12;},'zFVpz':function(_0x1fa84c,_0x5389a3){return _0x1fa84c||_0x5389a3;},'zOnUx':function(_0x2622df,_0x10c2cd){return _0x2622df===_0x10c2cd;},'uakgz':'string','xBpay':_0x196298(0x23f),'EzOoS':function(_0x112697,_0x53b154){return _0x112697(_0x53b154);},'ewbji':function(_0x383003,_0x54c7a7){return _0x383003(_0x54c7a7);}};let _0x4b3969=null,_0xe749c0=null;try{const _0x58af27=[_0x53c5b8,global['__platformCaps'],global['capabilties']];for(const _0x3546ff of _0x58af27){if(_0x3546ff&&(!_0xe749c0||!_0xe749c0['sessionId'])){const _0x19c9cc=_0x3546ff[_0x196298(0x235)]||_0x3546ff[_0x10323d['BViFG']]?.[_0x196298(0x235)],_0x5c8ad0=_0x3546ff[_0x196298(0x230)]||_0x3546ff[_0x196298(0x2ce)]||_0x3546ff[_0x10323d[_0x196298(0x2b7)]]?.[_0x196298(0x230)],_0x13db47=_0x3546ff['browserVersion']||_0x3546ff[_0x196298(0x2b2)]||_0x3546ff[_0x10323d[_0x196298(0x2b7)]]?.[_0x196298(0x29b)],_0x7570bd=_0x3546ff['os']||_0x3546ff[_0x196298(0x2a9)]||_0x3546ff[_0x10323d['BViFG']]?.['os'],_0x25bf8f=_0x3546ff[_0x196298(0x260)]||_0x3546ff['os_version']||_0x3546ff[_0x10323d[_0x196298(0x2b7)]]?.[_0x196298(0x260)];if(_0x10323d[_0x196298(0x28a)](_0x19c9cc,_0x5c8ad0)||_0x7570bd){const _0x1221c4={};_0x1221c4['browserName']=_0x5c8ad0,_0x1221c4[_0x196298(0x29b)]=_0x13db47,_0x1221c4['os']=_0x7570bd,_0x1221c4['osVersion']=_0x25bf8f,_0x1221c4[_0x196298(0x278)]=_0x3546ff[_0x196298(0x278)]||_0x7570bd,_0x1221c4[_0x196298(0x2b3)]=_0x3546ff[_0x196298(0x2b3)]||_0x25bf8f;const _0x2446ed={};_0x2446ed[_0x196298(0x235)]=_0x19c9cc,_0x2446ed['platformDetails']=_0x1221c4,_0xe749c0=_0x2446ed;if(_0x10323d['zFVpz'](_0x19c9cc,_0x5c8ad0)){logger['debug']('BrowserStack\x20params\x20extracted\x20from\x20capabilities:\x20browser='+_0x5c8ad0+',\x20os='+_0x7570bd);break;}}}}if(_0x5f5c96&&_0x10323d[_0x196298(0x280)](typeof _0x5f5c96,_0x10323d[_0x196298(0x26e)]))try{const _0x3e0fab=url[_0x196298(0x273)](_0x5f5c96),_0x45a2e5=new URLSearchParams(_0x3e0fab[_0x196298(0x288)]),_0x40cbd5=Object[_0x196298(0x25b)](_0x45a2e5['entries']()),_0x54d7b0=[_0x40cbd5[_0x196298(0x1fa)],_0x40cbd5['capabilities'],_0x40cbd5[_0x196298(0x295)]];for(const _0x13a50e of _0x54d7b0){if(_0x13a50e&&(!_0x4b3969||!_0x4b3969[_0x196298(0x235)]))try{const _0x1c00a9=JSON[_0x196298(0x273)](_0x13a50e),_0x30436b={};_0x30436b[_0x196298(0x235)]=_0x1c00a9[_0x196298(0x235)]||_0x1c00a9[_0x10323d[_0x196298(0x2b7)]]?.[_0x196298(0x235)],_0x30436b[_0x196298(0x275)]={},_0x30436b[_0x196298(0x275)][_0x196298(0x230)]=_0x1c00a9[_0x196298(0x230)]||_0x1c00a9['browser'],_0x30436b[_0x196298(0x275)][_0x196298(0x29b)]=_0x1c00a9['browserVersion']||_0x1c00a9[_0x196298(0x2b2)],_0x30436b[_0x196298(0x275)]['os']=_0x1c00a9['os']||_0x1c00a9[_0x196298(0x2a9)],_0x30436b[_0x196298(0x275)]['osVersion']=_0x1c00a9['osVersion']||_0x1c00a9['os_version'],_0x30436b[_0x196298(0x275)]['platformName']=_0x1c00a9[_0x196298(0x278)]||_0x1c00a9['os']||_0x1c00a9[_0x196298(0x2a9)],_0x30436b[_0x196298(0x275)][_0x196298(0x2b3)]=_0x1c00a9[_0x196298(0x2b3)]||_0x1c00a9[_0x196298(0x260)]||_0x1c00a9[_0x196298(0x2a1)],_0x4b3969=_0x30436b;if(_0x4b3969[_0x196298(0x235)]||_0x4b3969[_0x196298(0x275)][_0x196298(0x230)]){logger[_0x196298(0x2ad)](_0x10323d[_0x196298(0x28f)]);break;}}catch(_0x174775){_0x10323d[_0x196298(0x24d)](debug,'Failed\x20to\x20parse\x20capabilities\x20from\x20WebSocket:\x20'+_0x174775['toString']());}}}catch(_0x2df967){_0x10323d[_0x196298(0x24d)](debug,'Error\x20parsing\x20WebSocket\x20endpoint:\x20'+_0x2df967[_0x196298(0x208)]());}}catch(_0x5c8989){_0x10323d[_0x196298(0x201)](debug,_0x196298(0x209)+util[_0x196298(0x1f5)](_0x5c8989));}const _0x1dbc0d={};return _0x1dbc0d[_0x196298(0x213)]=_0x4b3969,_0x1dbc0d[_0x196298(0x1f7)]=_0xe749c0,_0x1dbc0d;}static async[a80_0x4abeab(0x26c)](_0x1004dd,_0x1ed9b7){const _0xc7e092=a80_0x4abeab,_0x4d8ba9={'ChGNK':function(_0x1dacd5,_0x1d2f74){return _0x1dacd5||_0x1d2f74;},'zsPCu':_0xc7e092(0x2b1),'heMwG':function(_0x2512eb,_0x3ccafe){return _0x2512eb(_0x3ccafe);}};try{if(!BrowserstackCLI[_0xc7e092(0x218)]()[_0xc7e092(0x297)]())return;if(_0x4d8ba9['ChGNK'](_0x1004dd,_0x1ed9b7)){logger[_0xc7e092(0x2ad)](_0x4d8ba9[_0xc7e092(0x28d)]);const _0xff51c5={'params':_0x1004dd?{'bsParams':_0x1004dd}:null,'bStackParams':_0x4d8ba9[_0xc7e092(0x2c3)](_0x1ed9b7,null)},_0x56122d=AutomationFramework['getTrackedInstance'](),_0x261ed4={};_0x261ed4['message']=_0xff51c5,_0x261ed4[_0xc7e092(0x282)]=_0x56122d,await BrowserstackCLI['getInstance']()[_0xc7e092(0x223)]()['trackEvent'](AutomationFrameworkState[_0xc7e092(0x1fc)],HookState[_0xc7e092(0x274)],_0x261ed4);}}catch(_0x55050a){_0x4d8ba9[_0xc7e092(0x20c)](debug,_0xc7e092(0x25e)+util[_0xc7e092(0x1f5)](_0x55050a));}}static[a80_0x4abeab(0x284)](){return this['currentSessionDetails'];}}module[a80_0x4abeab(0x29c)]=SharedPlaywrightSessionDetails;
1
+ function a80_0x3aca(_0x1b25f8,_0x53f801){const _0x1c36c9=a80_0x1c36();return a80_0x3aca=function(_0x3acac6,_0x31f9f4){_0x3acac6=_0x3acac6-0x16b;let _0x46f2d7=_0x1c36c9[_0x3acac6];return _0x46f2d7;},a80_0x3aca(_0x1b25f8,_0x53f801);}const a80_0x59eb58=a80_0x3aca;(function(_0x4020aa,_0x4a69c6){const _0x2b8f64=a80_0x3aca,_0x2bbeda=_0x4020aa();while(!![]){try{const _0x2afad4=-parseInt(_0x2b8f64(0x226))/0x1*(parseInt(_0x2b8f64(0x1fc))/0x2)+-parseInt(_0x2b8f64(0x1e3))/0x3*(-parseInt(_0x2b8f64(0x1c5))/0x4)+parseInt(_0x2b8f64(0x206))/0x5*(-parseInt(_0x2b8f64(0x1de))/0x6)+-parseInt(_0x2b8f64(0x1f8))/0x7*(-parseInt(_0x2b8f64(0x180))/0x8)+-parseInt(_0x2b8f64(0x19e))/0x9*(-parseInt(_0x2b8f64(0x217))/0xa)+-parseInt(_0x2b8f64(0x1b3))/0xb+parseInt(_0x2b8f64(0x1ef))/0xc;if(_0x2afad4===_0x4a69c6)break;else _0x2bbeda['push'](_0x2bbeda['shift']());}catch(_0x5511f0){_0x2bbeda['push'](_0x2bbeda['shift']());}}}(a80_0x1c36,0x293da));const path=require(a80_0x59eb58(0x175)),url=require(a80_0x59eb58(0x23f)),util=require(a80_0x59eb58(0x245)),helper=require(a80_0x59eb58(0x242)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule,isBrowserstackInfra}=require('../../helpers/helper'),{o11yErrorHandler}=require(a80_0x59eb58(0x22c)),{debug,getPlatformDetails}=require('../../helpers/test-observability/utils'),{FRAMEWORKS}=require(a80_0x59eb58(0x1a4)),logger=require(a80_0x59eb58(0x239))['winstonLogger'],constants=require(a80_0x59eb58(0x170)),AutomationFramework=require('../v2/framework/automationFramework'),BrowserstackCLI=require(a80_0x59eb58(0x193)),AutomationFrameworkState=require(a80_0x59eb58(0x21b)),HookState=require(a80_0x59eb58(0x247)),{platform}=require('os'),getBrowserNameFromChannel=_0x4e3411=>{const _0x2e9dbe=a80_0x59eb58,_0x49d9bb={};_0x49d9bb[_0x2e9dbe(0x20d)]=_0x2e9dbe(0x1e0),_0x49d9bb['idzcH']=_0x2e9dbe(0x1bd),_0x49d9bb[_0x2e9dbe(0x1eb)]=function(_0x1c037f,_0x4d164a){return _0x1c037f===_0x4d164a;},_0x49d9bb[_0x2e9dbe(0x185)]='webkit',_0x49d9bb[_0x2e9dbe(0x1ce)]=_0x2e9dbe(0x23b),_0x49d9bb[_0x2e9dbe(0x199)]=_0x2e9dbe(0x20e),_0x49d9bb[_0x2e9dbe(0x1ed)]=_0x2e9dbe(0x20c),_0x49d9bb[_0x2e9dbe(0x248)]=_0x2e9dbe(0x194);const _0x19bf59=_0x49d9bb,_0x11e65e=_0x19bf59[_0x2e9dbe(0x20d)]['split']('|');let _0x46c5e4=0x0;while(!![]){switch(_0x11e65e[_0x46c5e4++]){case'0':if(_0x4e3411[_0x2e9dbe(0x1d5)](_0x19bf59[_0x2e9dbe(0x21a)]))return _0x19bf59[_0x2e9dbe(0x21a)];continue;case'1':if(_0x19bf59['HCtbN'](_0x4e3411,_0x19bf59[_0x2e9dbe(0x185)]))return _0x19bf59[_0x2e9dbe(0x185)];continue;case'2':if(_0x4e3411[_0x2e9dbe(0x1d5)](_0x19bf59[_0x2e9dbe(0x1ce)]))return _0x19bf59['Vknnt'];continue;case'3':if(_0x4e3411['includes'](_0x19bf59[_0x2e9dbe(0x199)]))return _0x19bf59[_0x2e9dbe(0x199)];continue;case'4':if(_0x4e3411['includes'](_0x19bf59['RtaLG']))return _0x19bf59[_0x2e9dbe(0x1ed)];continue;case'5':if(_0x4e3411['includes'](_0x19bf59[_0x2e9dbe(0x248)]))return _0x19bf59[_0x2e9dbe(0x248)];continue;}break;}},getBrowserFromWSEndpoint=_0xf4ae71=>{const _0x46e347=a80_0x59eb58,_0x5d6ae1={'LdfrD':_0x46e347(0x21f),'zFJsA':function(_0x4ffd39,_0x2f2dfb){return _0x4ffd39(_0x2f2dfb);},'qriLt':'edge','iLEWF':_0x46e347(0x1a7),'YCHwP':_0x46e347(0x1bd),'sORIv':_0x46e347(0x18d),'bWrKz':_0x46e347(0x20c),'QNEtM':_0x46e347(0x1d2),'ilsBk':_0x46e347(0x20e),'spofK':function(_0x40d203,_0x118bde){return _0x40d203(_0x118bde);}};try{const _0x13ffb6=url[_0x46e347(0x222)](_0xf4ae71),_0x27d3e7=new URLSearchParams(_0x13ffb6[_0x46e347(0x18e)]),_0x10722e=Object[_0x46e347(0x1c8)](_0x27d3e7[_0x46e347(0x179)]()),_0x2297f7=[_0x10722e['caps'],_0x10722e[_0x46e347(0x1e1)],_0x10722e['desiredCapabilities'],_0x10722e[_0x46e347(0x1a5)]];for(const _0x12d85a of _0x2297f7){if(_0x12d85a)try{const _0x283272=JSON[_0x46e347(0x222)](_0x12d85a),_0x508c5f=_0x283272['browserName']||_0x283272[_0x46e347(0x215)]||_0x283272[_0x5d6ae1[_0x46e347(0x204)]]?.['browserName'];if(_0x508c5f)return _0x5d6ae1[_0x46e347(0x1a3)](debug,_0x46e347(0x1f0)+_0x508c5f),_0x508c5f[_0x46e347(0x1d3)]();}catch(_0x569a79){_0x5d6ae1[_0x46e347(0x1a3)](debug,'Failed\x20to\x20parse\x20caps\x20from\x20WebSocket:\x20'+_0x569a79['message']);}}if(_0xf4ae71[_0x46e347(0x1d5)](_0x5d6ae1[_0x46e347(0x1b7)])||_0xf4ae71[_0x46e347(0x1d5)](_0x5d6ae1[_0x46e347(0x1e2)]))return _0x5d6ae1[_0x46e347(0x1b7)];if(_0xf4ae71[_0x46e347(0x1d5)](_0x5d6ae1[_0x46e347(0x18c)])||_0xf4ae71['includes'](_0x5d6ae1[_0x46e347(0x17b)]))return _0x5d6ae1[_0x46e347(0x18c)];if(_0xf4ae71['includes'](_0x5d6ae1['bWrKz'])||_0xf4ae71[_0x46e347(0x1d5)](_0x5d6ae1[_0x46e347(0x22d)]))return _0x5d6ae1[_0x46e347(0x22b)];return _0x5d6ae1['ilsBk'];}catch(_0x111344){return _0x5d6ae1[_0x46e347(0x1fd)](debug,_0x46e347(0x22e)+_0x111344['toString']()),_0x5d6ae1['ilsBk'];}},getCloudProviderFromWsEndpoint=_0x4516c8=>{const _0x32a754=a80_0x59eb58,_0x5f2e3d={};_0x5f2e3d[_0x32a754(0x19a)]=_0x32a754(0x1c4),_0x5f2e3d[_0x32a754(0x1a1)]=_0x32a754(0x1d4);const _0x129361=_0x5f2e3d;if(_0x4516c8['includes'](constants[_0x32a754(0x1aa)])||_0x4516c8['includes'](constants[_0x32a754(0x20a)]))return _0x129361[_0x32a754(0x19a)];return _0x129361[_0x32a754(0x1a1)];},a80_0x456084={};a80_0x456084[a80_0x59eb58(0x233)]=undefined,a80_0x456084['bsSessionId']=undefined,a80_0x456084[a80_0x59eb58(0x215)]=undefined,a80_0x456084[a80_0x59eb58(0x173)]=undefined,a80_0x456084['platform']=undefined,a80_0x456084['platform_version']=undefined,a80_0x456084[a80_0x59eb58(0x224)]=undefined,a80_0x456084[a80_0x59eb58(0x1e1)]={};function a80_0x1c36(){const _0x3fe52c=['1626460WEIjDS','debug','YzpSM','xDFDe','qriLt','desiredCapabilities','EFnVx','FjbIn','server','VBszL','firefox','wBMDK','hhUhL','wPKPE','STjLM','patchCRConnection','WtMnF','browserstack','137008sjPJJg','triggerPlaywrightDispatchEvent','defineProperty','fromEntries','getInstance','test','platformName','_onMessage','env','Vknnt','function','lBCdn','_bstackDispatchPatched','webkit','toLowerCase','unknown_grid','includes','uEhwX','GgGAz','_browserType','compareVersions','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','Hyskf','project','2874BDxmol','sLoxS','2|3|5|0|4|1','capabilities','iLEWF','3KidEqJ','rHSEb','patchConnection','prototype','trackEvent','MJxSw','Using\x20browser\x20name\x20from\x20browser\x20object:\x20','rEpwA','HCtbN','IEbeA','RtaLG','jwLQJ','3469656flbzxA','Browser\x20found\x20in\x20WebSocket\x20caps:\x20','KuoMF','browserVersion','os_version','Browser\x20name\x20overridden\x20from\x20WebSocket\x20endpoint:\x20','platform','aikUW','zFesZ','67851CnqZxw','capabilties','lib','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','14942fYyGHV','spofK','sessionError','CRConnection','DRjTZ','Connection\x20dispatch\x20already\x20patched','WxwWQ','NOwqF','LdfrD','Connection','2075pkZQuS','TjgTJ','Error\x20in\x20applying\x20Connection\x20patch\x20','setupBrowserDetails','BSTACK_ATS_URL','patch','safari','bwcJO','chrome','Error\x20extracting\x20BrowserStack\x20parameters:\x20','QWqBf','turboscale','tAVra','ATS_WSS_URL_REGEX','_defaultConnectOptions','browser','caps','682990VJTazA','platform_version','BmoqY','idzcH','../v2/state/automationFrameworkState.js','getAutomationFramework','local_grid','stringify','bstack:options','toString','CRConnection\x20patch\x20unavailable\x20on\x20PW>=1.60\x20(server-side\x20class\x20not\x20reachable\x20in\x20SDK\x20process);\x20platform/sessionId\x20capture\x20continues\x20via\x20Connection.dispatch','parse','zOYxw','product','platformVersion','3KHFiQR','browserName','jultl','bStackParams','Setting\x20session\x20id\x20received\x20from\x20BS\x20','bWrKz','../../helpers/test-observability/error-handler','QNEtM','Error\x20in\x20getting\x20browser\x20from\x20WebSocket\x20endpoint:\x20','UCAiO','Not\x20able\x20to\x20import\x20crConnection','POST','model','cloudProvider','bsParams','_name','NPkjo','BROWSERSTACK_TEST_OBSERVABILITY','ZtFSO','../../helpers/logger','LBVtR','chromium','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','vcBqG','hMJWu','url','Zfouf','ayUhD','../../helpers/helper','ZYCLt','Peeof','util','_connection','../v2/state/hookState.js','BZqGD','BrowserStack\x20params\x20extracted\x20from\x20capabilities:\x20browser=','DNIXk','Error\x20parsing\x20WebSocket\x20endpoint:\x20','APOOI','sessionId','1.60.0','./constants','currentSessionDetails','dispatch','browser_version','XxUjS','path','getDetails','resolveConnectionClass','kDEBC','entries','assign','sORIv','NCbFY','format','_bstackCRPatched','platformDetails','8hVWQJG','deviceModel','CRConnection\x20already\x20patched','LWkql','MjllC','fLJEa','crConnection.js','getTrackedInstance','QRCWy','UFPtn','automate','wvqWh','YCHwP','gecko','query','extractBrowserStackParams','jkTpl','apply','PLAYWRIGHT_DISPATCH','../v2/browserstackCLI','edge','version','Error\x20in\x20finding\x20platform\x20details\x20','Successfully\x20patched\x20Connection.dispatch','channel','Nozxe','vibbV','__platformCaps','use','myMvt','27qUWNks','join','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','maRJV','dSujx','zFJsA','../../helpers/test-observability/constants','browserstack_capabilities','kJckI','msedge','exports','Not\x20able\x20to\x20resolve\x20Connection\x20class','BSTACK_URL','osVersion','connectOptions','message','Session\x20details\x20setup\x20complete:\x20','isRunning','sGZbx','VwDPR','BLMTz'];a80_0x1c36=function(){return _0x3fe52c;};return a80_0x1c36();}class SharedPlaywrightSessionDetails{static [a80_0x59eb58(0x171)]=a80_0x456084;constructor(){const _0x318f9a=a80_0x59eb58,_0x349b4e={};_0x349b4e[_0x318f9a(0x16b)]=_0x318f9a(0x1fb);const _0xbbb937=_0x349b4e;throw new Error(_0xbbb937['DNIXk']);}static [a80_0x59eb58(0x1fe)]=null;static[a80_0x59eb58(0x209)](_0xd030b0,_0x1903d8,_0x118cc8=null){const _0xb76483=a80_0x59eb58,_0x102f98={'VBszL':function(_0x33f7ef,_0x1684cc){return _0x33f7ef===_0x1684cc;},'wvqWh':_0xb76483(0x1cf),'BmoqY':_0xb76483(0x1db),'XcfKb':'Device\x20Model\x20is\x20not\x20available','VwDPR':_0xb76483(0x21d),'hhUhL':function(_0x274814,_0x37fffa,_0x3e7c1b){return _0x274814(_0x37fffa,_0x3e7c1b);},'PJQmT':_0xb76483(0x1d8),'hMJWu':_0xb76483(0x214),'sLoxS':'project','myMvt':_0xb76483(0x19c),'KuoMF':_0xb76483(0x1ac),'NPkjo':function(_0x5c2085,_0xf24781){return _0x5c2085(_0xf24781);},'DRjTZ':_0xb76483(0x1c4),'QmcnA':_0xb76483(0x211),'YzpSM':_0xb76483(0x18a),'EFnVx':function(_0x24ece9,_0x3dcbf0){return _0x24ece9===_0x3dcbf0;},'FjbIn':'chromium','wPKPE':function(_0x3b734a){return _0x3b734a();},'ByWks':function(_0x332221,_0x3ff134){return _0x332221&&_0x3ff134;},'dSujx':function(_0x2a5b8a){return _0x2a5b8a();},'jkTpl':function(_0x4eeb6d){return _0x4eeb6d();},'kDEBC':function(_0x7c3feb,_0x41ef48){return _0x7c3feb(_0x41ef48);},'Peeof':function(_0x3c8c26,_0x21ed84){return _0x3c8c26+_0x21ed84;},'rHSEb':'playwright-','PIbSH':_0xb76483(0x209)},_0x1e175d=this;return _0x102f98[_0xb76483(0x1bf)](o11yErrorHandler,async function _0xdd69e5(_0xbcf31d,_0x230c29,_0xbc7924=null){const _0x4cb574=_0xb76483;let _0x4fc704=_0xbcf31d[_0x4cb574(0x235)],_0x16bd62=null;_0xbcf31d&&_0x102f98[_0x4cb574(0x1bc)](typeof _0xbcf31d[_0x4cb574(0x195)],_0x102f98[_0x4cb574(0x18b)])?_0x16bd62=_0xbcf31d[_0x4cb574(0x195)]():logger[_0x4cb574(0x1b4)](_0x102f98[_0x4cb574(0x219)]);let _0x25921e=null;_0xbcf31d&&_0x102f98[_0x4cb574(0x1bc)](typeof _0xbcf31d[_0x4cb574(0x232)],_0x102f98[_0x4cb574(0x18b)])?_0x25921e=_0xbcf31d[_0x4cb574(0x232)]():logger[_0x4cb574(0x1b4)](_0x102f98['XcfKb']);let _0x32aec3=null,_0x5332a9=null,_0x4ca122=null,_0x1aba4c=_0x102f98[_0x4cb574(0x1b1)];if(_0xbcf31d[_0x4cb574(0x246)]['isRemote']()||global['accessibilityPlatform']){let _0x9548fc=null;_0x102f98['hhUhL'](nestedKeyValue,_0xbcf31d,[_0x102f98['PJQmT'],_0x102f98[_0x4cb574(0x23e)]])?_0x9548fc=_0xbcf31d['_browserType']['_defaultConnectOptions']:_0x9548fc=_0x102f98['hhUhL'](nestedKeyValue,_0x230c29,[_0x102f98[_0x4cb574(0x1df)],_0x102f98[_0x4cb574(0x19d)],_0x102f98[_0x4cb574(0x1f1)]]);const _0x494bea=_0xbc7924||_0x9548fc&&_0x9548fc['wsEndpoint'];if(_0x494bea){_0x1aba4c=_0x102f98[_0x4cb574(0x236)](getCloudProviderFromWsEndpoint,_0x494bea);if(_0x102f98[_0x4cb574(0x1bc)](_0x1aba4c,_0x102f98[_0x4cb574(0x200)])){_0x4ca122=constants[_0x4cb574(0x213)][_0x4cb574(0x1ca)](_0x494bea)?_0x102f98['QmcnA']:_0x102f98[_0x4cb574(0x1b5)];const _0x309c4f=_0x102f98[_0x4cb574(0x236)](getBrowserFromWSEndpoint,_0x494bea);if(_0x309c4f&&(!_0x4fc704||_0x102f98[_0x4cb574(0x1b9)](_0x4fc704,_0x102f98[_0x4cb574(0x1ba)])))_0x4fc704=_0x309c4f,logger[_0x4cb574(0x1b4)](_0x4cb574(0x1f4)+_0x4fc704);else _0x4fc704&&logger['debug'](_0x4cb574(0x1e9)+_0x4fc704);_0x32aec3=_0x1e175d[_0x4cb574(0x171)][_0x4cb574(0x1f5)],_0x5332a9=_0x1e175d[_0x4cb574(0x171)][_0x4cb574(0x218)];}else{const _0x20e665=await _0x102f98[_0x4cb574(0x1c0)](getPlatformDetails);_0x32aec3=_0x20e665[_0x4cb574(0x1cb)],_0x5332a9=_0x20e665[_0x4cb574(0x225)];}}if(_0x102f98['ByWks'](!_0x32aec3,!_0x5332a9)&&!_0x102f98[_0x4cb574(0x1a2)](isBrowserstackInfra)){const _0x59210a=await _0x102f98[_0x4cb574(0x190)](getPlatformDetails);_0x32aec3=_0x59210a[_0x4cb574(0x1cb)],_0x5332a9=_0x59210a[_0x4cb574(0x225)];}}else{_0x230c29&&_0x230c29[_0x4cb574(0x1dd)]&&_0x230c29[_0x4cb574(0x1dd)][_0x4cb574(0x19c)]&&_0x230c29[_0x4cb574(0x1dd)][_0x4cb574(0x19c)][_0x4cb574(0x198)]?_0x4fc704=_0x102f98[_0x4cb574(0x178)](getBrowserNameFromChannel,_0x230c29[_0x4cb574(0x1dd)][_0x4cb574(0x19c)][_0x4cb574(0x198)]):_0x4fc704=_0x102f98[_0x4cb574(0x244)](_0x102f98[_0x4cb574(0x1e4)],_0x4fc704['toLowerCase']());const _0x57be2d=await _0x102f98['wPKPE'](getPlatformDetails);_0x32aec3=_0x57be2d[_0x4cb574(0x1cb)],_0x5332a9=_0x57be2d['platformVersion'];}const _0x74b4ac={};_0x74b4ac[_0x4cb574(0x215)]=_0x4fc704,_0x74b4ac[_0x4cb574(0x173)]=_0x16bd62,_0x74b4ac[_0x4cb574(0x1e1)]={},_0x74b4ac[_0x4cb574(0x1f5)]=_0x32aec3,_0x74b4ac[_0x4cb574(0x218)]=_0x5332a9,_0x74b4ac[_0x4cb574(0x224)]=_0x4ca122;const _0x54dabd=_0x74b4ac;_0x25921e&&(_0x54dabd['capabilities'][_0x4cb574(0x181)]=_0x25921e);const _0x22d880={};_0x22d880[_0x4cb574(0x233)]=_0x1aba4c,_0x1e175d['currentSessionDetails']=Object[_0x4cb574(0x17a)]({},_0x1e175d[_0x4cb574(0x171)],_0x22d880,_0x54dabd);const _0x145ca7={};_0x145ca7[_0x4cb574(0x215)]=_0x1e175d[_0x4cb574(0x171)][_0x4cb574(0x215)],_0x145ca7[_0x4cb574(0x1f2)]=_0x1e175d['currentSessionDetails'][_0x4cb574(0x173)],_0x145ca7[_0x4cb574(0x1f5)]=_0x1e175d[_0x4cb574(0x171)][_0x4cb574(0x1f5)],_0x145ca7[_0x4cb574(0x225)]=_0x1e175d[_0x4cb574(0x171)]['platform_version'],_0x145ca7[_0x4cb574(0x233)]=_0x1e175d[_0x4cb574(0x171)][_0x4cb574(0x233)],_0x145ca7[_0x4cb574(0x224)]=_0x1e175d[_0x4cb574(0x171)][_0x4cb574(0x224)],logger[_0x4cb574(0x1b4)](_0x4cb574(0x1ae)+JSON[_0x4cb574(0x21e)](_0x145ca7));},_0x102f98['PIbSH'])(_0xd030b0,_0x1903d8,_0x118cc8);}static[a80_0x59eb58(0x20b)](){const _0x2e40c4=a80_0x59eb58;this['patchConnection'](),this[_0x2e40c4(0x1c2)]();}static[a80_0x59eb58(0x1e5)](){const _0x320d00=a80_0x59eb58,_0x1267c8={'IEbeA':function(_0x187862,_0x2cb7d3){return _0x187862(_0x2cb7d3);},'NOwqF':_0x320d00(0x1a9),'lysLn':function(_0x242367,_0x3300af){return _0x242367!=_0x3300af;},'QRCWy':function(_0x182a97,_0x621b24){return _0x182a97(_0x621b24);},'sGZbx':_0x320d00(0x201),'NCbFY':_0x320d00(0x172),'NwPYj':_0x320d00(0x197),'Hyskf':function(_0x2264fe,_0x454143){return _0x2264fe(_0x454143);}},_0x52c5c3=this;if(!this['Connection']){this['Connection']=helper[_0x320d00(0x177)]();if(!this[_0x320d00(0x205)]){_0x1267c8['IEbeA'](debug,_0x1267c8[_0x320d00(0x203)]);return;}}const _0x261fb8=this[_0x320d00(0x205)];try{if(_0x1267c8['lysLn'](_0x261fb8,null)){const _0x359e61=_0x261fb8[_0x320d00(0x1e6)][_0x320d00(0x172)];if(!_0x1267c8[_0x320d00(0x188)](isFalse,process[_0x320d00(0x1cd)][_0x320d00(0x237)])){if(_0x261fb8[_0x320d00(0x1e6)]['_bstackDispatchPatched']){logger['debug'](_0x1267c8[_0x320d00(0x1b0)]);return;}Object[_0x320d00(0x1c7)](_0x261fb8[_0x320d00(0x1e6)],_0x1267c8[_0x320d00(0x17c)],{'get':function(){return async function _0x44f141(_0x73e952){const _0x416d01=a80_0x3aca;if(BrowserstackCLI['getInstance']()[_0x416d01(0x1af)]()){const _0x237856={};_0x237856[_0x416d01(0x1ad)]=_0x73e952,await BrowserstackCLI['getInstance']()['getAutomationFramework']()[_0x416d01(0x1e7)](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState[_0x416d01(0x231)],_0x237856);}else{const _0x75eb49=_0x73e952&&_0x73e952['params']&&_0x73e952['params'][_0x416d01(0x234)];if(_0x75eb49){const _0x3523c0=_0x75eb49[_0x416d01(0x16e)],_0x200b09=_0x75eb49[_0x416d01(0x17f)];_0x200b09&&(_0x1267c8[_0x416d01(0x1ec)](debug,'Setting\x20platform\x20details\x20received\x20from\x20BS:\x20'+_0x200b09[_0x416d01(0x220)]()),_0x52c5c3[_0x416d01(0x171)]['platform']=_0x200b09[_0x416d01(0x1cb)],_0x52c5c3[_0x416d01(0x171)][_0x416d01(0x218)]=_0x200b09['platformVersion']),_0x3523c0&&(_0x1267c8[_0x416d01(0x1ec)](debug,_0x416d01(0x22a)+_0x3523c0),_0x52c5c3['currentSessionDetails']['bsSessionId']=_0x3523c0);}}return _0x359e61[_0x416d01(0x191)](this,arguments);};}}),_0x261fb8[_0x320d00(0x1e6)][_0x320d00(0x1d1)]=!![],logger[_0x320d00(0x1b4)](_0x1267c8['NwPYj']);}}}catch(_0xe13166){_0x1267c8[_0x320d00(0x1dc)](debug,_0x320d00(0x208)+_0xe13166),_0x52c5c3['sessionError']=_0xe13166[_0x320d00(0x220)]();}}static[a80_0x59eb58(0x1c2)](){const _0x10057a=a80_0x59eb58,_0x1ba4f7={'TjgTJ':function(_0x5e502b,_0x5aab6e){return _0x5e502b(_0x5aab6e);},'tAVra':function(_0x4c472e,_0x5c7799){return _0x4c472e>=_0x5c7799;},'vcBqG':_0x10057a(0x16f),'LWkql':function(_0x295aab,_0x5c101f){return _0x295aab(_0x5c101f);},'jwLQJ':function(_0x4f3218,_0xe5c503){return _0x4f3218(_0xe5c503);},'APOOI':_0x10057a(0x221),'ZYCLt':_0x10057a(0x1fa),'kJckI':_0x10057a(0x1bb),'lBCdn':_0x10057a(0x23b),'WtMnF':_0x10057a(0x186),'zOYxw':function(_0x4ccfd0,_0x5d33b1){return _0x4ccfd0(_0x5d33b1);},'xDFDe':function(_0x162439,_0x316ec1){return _0x162439(_0x316ec1);},'QWqBf':_0x10057a(0x230),'UCAiO':function(_0x5926e2,_0x412f29){return _0x5926e2(_0x412f29);},'STjLM':'Error\x20in\x20importing\x20crConnection','FwILs':function(_0x2a82c2,_0x59ed4d){return _0x2a82c2!=_0x59ed4d;},'nnfEq':_0x10057a(0x182),'aikUW':_0x10057a(0x1cc),'ZtFSO':'Successfully\x20patched\x20CRConnection._onMessage','BLMTz':function(_0x41b2dd,_0x1db774){return _0x41b2dd(_0x1db774);}},_0x4f69e9=this;let _0x41a543=null,_0x975688=![];try{const _0x5c2ad9=helper['getFrameworkVersion'](FRAMEWORKS['PLAYWRIGHT']);_0x975688=_0x1ba4f7[_0x10057a(0x212)](helper[_0x10057a(0x1d9)](_0x5c2ad9,_0x1ba4f7[_0x10057a(0x23d)]),0x0);}catch(_0x4a79b9){_0x1ba4f7[_0x10057a(0x183)](debug,'Error\x20evaluating\x20Playwright\x20version\x20for\x20CRConnection\x20patch:\x20'+_0x4a79b9['toString']());}if(_0x975688)_0x1ba4f7[_0x10057a(0x1ee)](debug,_0x1ba4f7[_0x10057a(0x16d)]);else try{const _0x433675=path[_0x10057a(0x19f)](_0x1ba4f7[_0x10057a(0x243)],_0x1ba4f7[_0x10057a(0x1a6)],_0x1ba4f7[_0x10057a(0x1d0)],_0x1ba4f7[_0x10057a(0x1c3)]),_0x150426=_0x1ba4f7[_0x10057a(0x223)](importFileFromPWCore,_0x433675);!_0x150426?_0x1ba4f7[_0x10057a(0x1b6)](debug,_0x1ba4f7[_0x10057a(0x210)]):_0x41a543=_0x150426[_0x10057a(0x1ff)];}catch(_0x43fb29){_0x1ba4f7[_0x10057a(0x22f)](debug,_0x1ba4f7[_0x10057a(0x1c1)]);}try{if(_0x1ba4f7['FwILs'](_0x41a543,null)){const _0x5b1b07=_0x41a543[_0x10057a(0x1e6)]['_onMessage'];if(_0x41a543[_0x10057a(0x1e6)]['_bstackCRPatched']){logger[_0x10057a(0x1b4)](_0x1ba4f7['nnfEq']);return;}Object[_0x10057a(0x1c7)](_0x41a543[_0x10057a(0x1e6)],_0x1ba4f7[_0x10057a(0x1f6)],{'get':function(){const _0x1dd7b8={'GgGAz':function(_0x3c5d5c,_0x48f596){return _0x1ba4f7['TjgTJ'](_0x3c5d5c,_0x48f596);},'zFesZ':function(_0x24da60,_0x2ff144){const _0x1f8785=a80_0x3aca;return _0x1ba4f7[_0x1f8785(0x207)](_0x24da60,_0x2ff144);}};return async function _0x36979f(_0x1d52e2){const _0x4e29a1=a80_0x3aca;try{if(BrowserstackCLI[_0x4e29a1(0x1c9)]()[_0x4e29a1(0x1af)]()){const _0x1428ee={};_0x1428ee[_0x4e29a1(0x1ad)]=_0x1d52e2,await BrowserstackCLI[_0x4e29a1(0x1c9)]()[_0x4e29a1(0x21c)]()[_0x4e29a1(0x1e7)](AutomationFrameworkState[_0x4e29a1(0x192)],HookState['POST'],_0x1428ee),delete _0x1d52e2[_0x4e29a1(0x229)];}else{const _0x78c9f8=_0x1d52e2[_0x4e29a1(0x229)];if(_0x78c9f8){delete _0x1d52e2[_0x4e29a1(0x229)];const _0x35b3e1=_0x78c9f8['sessionId'],_0x87404=_0x78c9f8['platformDetails'];_0x87404&&(_0x1dd7b8[_0x4e29a1(0x1d7)](debug,_0x4e29a1(0x1da)+_0x87404['toString']()),_0x4f69e9[_0x4e29a1(0x171)][_0x4e29a1(0x1f5)]=_0x87404[_0x4e29a1(0x1cb)],_0x4f69e9[_0x4e29a1(0x171)]['platform_version']=_0x87404['platformVersion']),_0x35b3e1&&(_0x1dd7b8[_0x4e29a1(0x1f7)](debug,_0x4e29a1(0x1a0)+_0x35b3e1),_0x4f69e9['currentSessionDetails']['bsSessionId']=_0x35b3e1);}}}catch(_0x3edf1b){_0x1dd7b8[_0x4e29a1(0x1f7)](debug,_0x4e29a1(0x196)+_0x3edf1b[_0x4e29a1(0x220)]());}return _0x5b1b07[_0x4e29a1(0x191)](this,arguments);};}}),_0x41a543['prototype'][_0x10057a(0x17e)]=!![],logger[_0x10057a(0x1b4)](_0x1ba4f7[_0x10057a(0x238)]);}}catch(_0x5d38f1){_0x1ba4f7[_0x10057a(0x1b2)](debug,_0x10057a(0x23c)+_0x5d38f1),_0x4f69e9[_0x10057a(0x1fe)]=_0x5d38f1['toString']();}}static[a80_0x59eb58(0x18f)](_0x3fdc14,_0x2002a8){const _0x5d8dde=a80_0x59eb58,_0x2bdc1d={'MJxSw':_0x5d8dde(0x21f),'ayUhD':function(_0x1f8899,_0x2fe370){return _0x1f8899||_0x2fe370;},'jultl':function(_0x4ec1c9,_0xd4020){return _0x4ec1c9||_0xd4020;},'XxUjS':function(_0x31704d,_0x2eb95f){return _0x31704d===_0x2eb95f;},'WxwWQ':'string','Zfouf':'BrowserStack\x20params\x20extracted\x20from\x20WebSocket\x20endpoint','rEpwA':function(_0x4aba8e,_0x52b54f){return _0x4aba8e(_0x52b54f);},'LBVtR':function(_0x2a5bf8,_0x39b4ba){return _0x2a5bf8(_0x39b4ba);},'wBMDK':function(_0x4e665a,_0x29a6fa){return _0x4e665a(_0x29a6fa);}};let _0x1cd94e=null,_0x4fb0a4=null;try{const _0x5605d1=[_0x2002a8,global[_0x5d8dde(0x19b)],global[_0x5d8dde(0x1f9)]];for(const _0x564ddd of _0x5605d1){if(_0x564ddd&&(!_0x4fb0a4||!_0x4fb0a4[_0x5d8dde(0x16e)])){const _0x12475f=_0x564ddd[_0x5d8dde(0x16e)]||_0x564ddd[_0x2bdc1d[_0x5d8dde(0x1e8)]]?.['sessionId'],_0x3b6bc1=_0x564ddd['browserName']||_0x564ddd[_0x5d8dde(0x215)]||_0x564ddd[_0x2bdc1d[_0x5d8dde(0x1e8)]]?.[_0x5d8dde(0x227)],_0x1e81c3=_0x564ddd[_0x5d8dde(0x1f2)]||_0x564ddd[_0x5d8dde(0x173)]||_0x564ddd[_0x2bdc1d[_0x5d8dde(0x1e8)]]?.[_0x5d8dde(0x1f2)],_0x56537f=_0x564ddd['os']||_0x564ddd[_0x5d8dde(0x1f5)]||_0x564ddd[_0x2bdc1d[_0x5d8dde(0x1e8)]]?.['os'],_0x37f8a8=_0x564ddd[_0x5d8dde(0x1ab)]||_0x564ddd[_0x5d8dde(0x1f3)]||_0x564ddd[_0x2bdc1d[_0x5d8dde(0x1e8)]]?.[_0x5d8dde(0x1ab)];if(_0x2bdc1d[_0x5d8dde(0x241)](_0x12475f,_0x3b6bc1)||_0x56537f){const _0x5e5652={};_0x5e5652[_0x5d8dde(0x227)]=_0x3b6bc1,_0x5e5652[_0x5d8dde(0x1f2)]=_0x1e81c3,_0x5e5652['os']=_0x56537f,_0x5e5652[_0x5d8dde(0x1ab)]=_0x37f8a8,_0x5e5652[_0x5d8dde(0x1cb)]=_0x564ddd[_0x5d8dde(0x1cb)]||_0x56537f,_0x5e5652[_0x5d8dde(0x225)]=_0x564ddd[_0x5d8dde(0x225)]||_0x37f8a8;const _0x1b494c={};_0x1b494c[_0x5d8dde(0x16e)]=_0x12475f,_0x1b494c[_0x5d8dde(0x17f)]=_0x5e5652,_0x4fb0a4=_0x1b494c;if(_0x2bdc1d[_0x5d8dde(0x228)](_0x12475f,_0x3b6bc1)){logger['debug'](_0x5d8dde(0x249)+_0x3b6bc1+',\x20os='+_0x56537f);break;}}}}if(_0x3fdc14&&_0x2bdc1d[_0x5d8dde(0x174)](typeof _0x3fdc14,_0x2bdc1d[_0x5d8dde(0x202)]))try{const _0x529c8f=url[_0x5d8dde(0x222)](_0x3fdc14),_0x1d6da6=new URLSearchParams(_0x529c8f['query']),_0x1b331e=Object[_0x5d8dde(0x1c8)](_0x1d6da6[_0x5d8dde(0x179)]()),_0x1ec076=[_0x1b331e[_0x5d8dde(0x216)],_0x1b331e['capabilities'],_0x1b331e[_0x5d8dde(0x1b8)]];for(const _0x1e157b of _0x1ec076){if(_0x1e157b&&(!_0x1cd94e||!_0x1cd94e[_0x5d8dde(0x16e)]))try{const _0x2c9489=JSON[_0x5d8dde(0x222)](_0x1e157b),_0x294e72={};_0x294e72[_0x5d8dde(0x16e)]=_0x2c9489[_0x5d8dde(0x16e)]||_0x2c9489[_0x2bdc1d[_0x5d8dde(0x1e8)]]?.['sessionId'],_0x294e72[_0x5d8dde(0x17f)]={},_0x294e72[_0x5d8dde(0x17f)][_0x5d8dde(0x227)]=_0x2c9489[_0x5d8dde(0x227)]||_0x2c9489[_0x5d8dde(0x215)],_0x294e72[_0x5d8dde(0x17f)][_0x5d8dde(0x1f2)]=_0x2c9489[_0x5d8dde(0x1f2)]||_0x2c9489[_0x5d8dde(0x173)],_0x294e72[_0x5d8dde(0x17f)]['os']=_0x2c9489['os']||_0x2c9489[_0x5d8dde(0x1f5)],_0x294e72[_0x5d8dde(0x17f)]['osVersion']=_0x2c9489[_0x5d8dde(0x1ab)]||_0x2c9489['os_version'],_0x294e72[_0x5d8dde(0x17f)]['platformName']=_0x2c9489[_0x5d8dde(0x1cb)]||_0x2c9489['os']||_0x2c9489[_0x5d8dde(0x1f5)],_0x294e72[_0x5d8dde(0x17f)][_0x5d8dde(0x225)]=_0x2c9489['platformVersion']||_0x2c9489['osVersion']||_0x2c9489[_0x5d8dde(0x1f3)],_0x1cd94e=_0x294e72;if(_0x1cd94e['sessionId']||_0x1cd94e[_0x5d8dde(0x17f)][_0x5d8dde(0x227)]){logger[_0x5d8dde(0x1b4)](_0x2bdc1d[_0x5d8dde(0x240)]);break;}}catch(_0x57b090){_0x2bdc1d[_0x5d8dde(0x1ea)](debug,'Failed\x20to\x20parse\x20capabilities\x20from\x20WebSocket:\x20'+_0x57b090[_0x5d8dde(0x220)]());}}}catch(_0x2f343d){_0x2bdc1d[_0x5d8dde(0x23a)](debug,_0x5d8dde(0x16c)+_0x2f343d[_0x5d8dde(0x220)]());}}catch(_0x3c748d){_0x2bdc1d[_0x5d8dde(0x1be)](debug,_0x5d8dde(0x20f)+util['format'](_0x3c748d));}const _0xdb3a1a={};return _0xdb3a1a[_0x5d8dde(0x234)]=_0x1cd94e,_0xdb3a1a['bStackParams']=_0x4fb0a4,_0xdb3a1a;}static async[a80_0x59eb58(0x1c6)](_0x7e7c8b,_0x124ca4){const _0x50a72a=a80_0x59eb58,_0x280ed4={'uEhwX':function(_0x1230b4,_0x3f3339){return _0x1230b4||_0x3f3339;},'UFPtn':'Triggering\x20PLAYWRIGHT_DISPATCH\x20event','MjllC':function(_0x514059,_0x3ecc6c){return _0x514059(_0x3ecc6c);}};try{if(!BrowserstackCLI[_0x50a72a(0x1c9)]()[_0x50a72a(0x1af)]())return;if(_0x280ed4[_0x50a72a(0x1d6)](_0x7e7c8b,_0x124ca4)){logger[_0x50a72a(0x1b4)](_0x280ed4[_0x50a72a(0x189)]);const _0x3e3e11={'params':_0x7e7c8b?{'bsParams':_0x7e7c8b}:null,'bStackParams':_0x280ed4[_0x50a72a(0x1d6)](_0x124ca4,null)},_0x2b8225=AutomationFramework[_0x50a72a(0x187)](),_0x18f17d={};_0x18f17d[_0x50a72a(0x1ad)]=_0x3e3e11,_0x18f17d['instance']=_0x2b8225,await BrowserstackCLI[_0x50a72a(0x1c9)]()['getAutomationFramework']()[_0x50a72a(0x1e7)](AutomationFrameworkState[_0x50a72a(0x192)],HookState['POST'],_0x18f17d);}}catch(_0xc49825){_0x280ed4[_0x50a72a(0x184)](debug,'Error\x20triggering\x20PLAYWRIGHT_DISPATCH\x20event:\x20'+util[_0x50a72a(0x17d)](_0xc49825));}}static[a80_0x59eb58(0x176)](){const _0x2bd5b0=a80_0x59eb58;return this[_0x2bd5b0(0x171)];}}module[a80_0x59eb58(0x1a8)]=SharedPlaywrightSessionDetails;
@@ -1 +1 @@
1
- function a81_0x1f9b(){const _0x3ab72b=['6445332TqaIVY','exports','kwHYP','reduce','isHash','nestedKeyValue','26189370TrXGlU','ZdCVF','get','134561vOARaV','44NztTGA','yrdWN','1268625eYJqLI','object','OcaaY','5YeDjNq','808RzrMJI','25221nOelSY','2696970PLgGvE','7430040GtIQmV'];a81_0x1f9b=function(){return _0x3ab72b;};return a81_0x1f9b();}function a81_0x4c02(_0x3699fc,_0x3559ad){const _0x1f9bfe=a81_0x1f9b();return a81_0x4c02=function(_0x4c0220,_0x5a00a7){_0x4c0220=_0x4c0220-0x1c7;let _0x582deb=_0x1f9bfe[_0x4c0220];return _0x582deb;},a81_0x4c02(_0x3699fc,_0x3559ad);}const a81_0x203828=a81_0x4c02;(function(_0x365e9c,_0x1f71c3){const _0x332af8=a81_0x4c02,_0xeca3e0=_0x365e9c();while(!![]){try{const _0x4ffa33=-parseInt(_0x332af8(0x1c9))/0x1*(-parseInt(_0x332af8(0x1d6))/0x2)+parseInt(_0x332af8(0x1d8))/0x3+parseInt(_0x332af8(0x1cb))/0x4+parseInt(_0x332af8(0x1c7))/0x5*(-parseInt(_0x332af8(0x1ca))/0x6)+parseInt(_0x332af8(0x1d5))/0x7*(parseInt(_0x332af8(0x1c8))/0x8)+-parseInt(_0x332af8(0x1cc))/0x9+-parseInt(_0x332af8(0x1d2))/0xa;if(_0x4ffa33===_0x1f71c3)break;else _0xeca3e0['push'](_0xeca3e0['shift']());}catch(_0x569d89){_0xeca3e0['push'](_0xeca3e0['shift']());}}}(a81_0x1f9b,0xf23be));const isHash=_0xe45997=>Boolean(_0xe45997&&typeof _0xe45997===a81_0x203828(0x1d9)&&!Array['isArray'](_0xe45997)),nestedKeyValue=(_0x39c6d0,_0x2b47bf)=>{const _0x182886=a81_0x203828,_0x2a51d7={'OcaaY':function(_0x161dc3,_0x2f91b9){return _0x161dc3===_0x2f91b9;},'ZdCVF':function(_0x2d7181,_0x38a4af){return _0x2d7181===_0x38a4af;},'yrdWN':function(_0x258afd,_0x182f63){return _0x258afd===_0x182f63;},'kwHYP':'function','VAWwm':function(_0x4266ae,_0x21cc0b){return _0x4266ae(_0x21cc0b);}};return _0x2b47bf[_0x182886(0x1cf)]((_0x2ac54a,_0x20df37)=>{const _0x3963b2=_0x182886;if(_0x2a51d7[_0x3963b2(0x1da)](_0x2ac54a,undefined)||_0x2a51d7[_0x3963b2(0x1d3)](_0x2ac54a,null))return undefined;if(_0x2ac54a&&_0x2a51d7[_0x3963b2(0x1d7)](typeof _0x2ac54a[_0x3963b2(0x1d4)],_0x2a51d7[_0x3963b2(0x1ce)]))return _0x2ac54a[_0x3963b2(0x1d4)](_0x20df37);if(_0x2a51d7['VAWwm'](isHash,_0x2ac54a))return _0x2ac54a[_0x20df37];return undefined;},_0x39c6d0);},a81_0xc23db2={};a81_0xc23db2[a81_0x203828(0x1d0)]=isHash,a81_0xc23db2[a81_0x203828(0x1d1)]=nestedKeyValue,module[a81_0x203828(0x1cd)]=a81_0xc23db2;
1
+ const a81_0x5a136c=a81_0x1abc;(function(_0xfb08c0,_0x38f637){const _0x44efd8=a81_0x1abc,_0x40f6fc=_0xfb08c0();while(!![]){try{const _0x1b752e=-parseInt(_0x44efd8(0x163))/0x1*(-parseInt(_0x44efd8(0x162))/0x2)+-parseInt(_0x44efd8(0x161))/0x3+-parseInt(_0x44efd8(0x16c))/0x4+parseInt(_0x44efd8(0x168))/0x5*(parseInt(_0x44efd8(0x169))/0x6)+parseInt(_0x44efd8(0x15d))/0x7*(parseInt(_0x44efd8(0x167))/0x8)+-parseInt(_0x44efd8(0x16a))/0x9*(parseInt(_0x44efd8(0x16f))/0xa)+-parseInt(_0x44efd8(0x15f))/0xb;if(_0x1b752e===_0x38f637)break;else _0x40f6fc['push'](_0x40f6fc['shift']());}catch(_0x56bcd1){_0x40f6fc['push'](_0x40f6fc['shift']());}}}(a81_0x4b99,0x9b22c));function a81_0x1abc(_0x296012,_0x178eeb){const _0x4b995c=a81_0x4b99();return a81_0x1abc=function(_0x1abcc8,_0x359ef3){_0x1abcc8=_0x1abcc8-0x15d;let _0x2e7836=_0x4b995c[_0x1abcc8];return _0x2e7836;},a81_0x1abc(_0x296012,_0x178eeb);}function a81_0x4b99(){const _0x2c1e12=['12dhhueb','147313jMIcjY','YLrwh','cgRwr','get','573784MXYiJu','135jSqaRk','239106werGpo','9191430JEEeAH','EBiPQ','584332TwiaJV','exports','nestedKeyValue','10fkbacG','119TiWIkw','isHash','12668832cNoYmS','isArray','673935BGHdVc'];a81_0x4b99=function(){return _0x2c1e12;};return a81_0x4b99();}const isHash=_0x4734af=>Boolean(_0x4734af&&typeof _0x4734af==='object'&&!Array[a81_0x5a136c(0x160)](_0x4734af)),nestedKeyValue=(_0x15ad75,_0x53c0c3)=>{const _0x20763f={'EBiPQ':function(_0x2f9ac3,_0x2d7d3a){return _0x2f9ac3===_0x2d7d3a;},'YLrwh':function(_0x316ba6,_0x12baca){return _0x316ba6===_0x12baca;},'cgRwr':function(_0x354435,_0x499d13){return _0x354435===_0x499d13;},'qAXNo':'function','NHhSI':function(_0x31efa1,_0x23f74c){return _0x31efa1(_0x23f74c);}};return _0x53c0c3['reduce']((_0x4ea75a,_0x149fbe)=>{const _0x33bdad=a81_0x1abc;if(_0x20763f[_0x33bdad(0x16b)](_0x4ea75a,undefined)||_0x20763f[_0x33bdad(0x164)](_0x4ea75a,null))return undefined;if(_0x4ea75a&&_0x20763f[_0x33bdad(0x165)](typeof _0x4ea75a[_0x33bdad(0x166)],_0x20763f['qAXNo']))return _0x4ea75a[_0x33bdad(0x166)](_0x149fbe);if(_0x20763f['NHhSI'](isHash,_0x4ea75a))return _0x4ea75a[_0x149fbe];return undefined;},_0x15ad75);},a81_0x11cf2a={};a81_0x11cf2a[a81_0x5a136c(0x15e)]=isHash,a81_0x11cf2a[a81_0x5a136c(0x16e)]=nestedKeyValue,module[a81_0x5a136c(0x16d)]=a81_0x11cf2a;
@@ -1 +1 @@
1
- const a82_0x349930=a82_0x3b93;(function(_0x1516d7,_0x19649d){const _0x366ee0=a82_0x3b93,_0x371e53=_0x1516d7();while(!![]){try{const _0x318ac9=parseInt(_0x366ee0(0x1c5))/0x1+-parseInt(_0x366ee0(0x166))/0x2+-parseInt(_0x366ee0(0x186))/0x3+-parseInt(_0x366ee0(0x1d5))/0x4*(-parseInt(_0x366ee0(0x16a))/0x5)+parseInt(_0x366ee0(0x1be))/0x6+-parseInt(_0x366ee0(0x1e4))/0x7*(-parseInt(_0x366ee0(0x171))/0x8)+-parseInt(_0x366ee0(0x192))/0x9;if(_0x318ac9===_0x19649d)break;else _0x371e53['push'](_0x371e53['shift']());}catch(_0x1474b5){_0x371e53['push'](_0x371e53['shift']());}}}(a82_0x2e9d,0xc4557));function a82_0x3b93(_0x4fc8c8,_0x10bf84){const _0x2e9d17=a82_0x2e9d();return a82_0x3b93=function(_0x3b930a,_0x820cbb){_0x3b930a=_0x3b930a-0x15e;let _0x208815=_0x2e9d17[_0x3b930a];return _0x208815;},a82_0x3b93(_0x4fc8c8,_0x10bf84);}const fs=require('fs'),path=require(a82_0x349930(0x1d1)),{TEMP_STORE_DIR_NAME}=require(a82_0x349930(0x1c7)),{nestedKeyValue}=require(a82_0x349930(0x19b)),logger=require('../../helpers/logger')['winstonLogger'],util=require(a82_0x349930(0x1b8)),helper=require('../../helpers/helper'),{createClassLogger}=require('../../helpers/classLogger.js'),lockfile=require('proper-lockfile'),{v4:uuidv4}=require(a82_0x349930(0x1a5));class TestInfo{static [a82_0x349930(0x191)]={};static ['dirPath']=TestInfo[a82_0x349930(0x1a6)]();static [a82_0x349930(0x162)]=path[a82_0x349930(0x1c0)](TestInfo[a82_0x349930(0x199)],a82_0x349930(0x1c1));static [a82_0x349930(0x1ac)]=null;[a82_0x349930(0x17b)]=createClassLogger('TestInfo');static['setup'](_0x3b6e6b){const _0x5495d1=a82_0x349930,_0x5e4773={};_0x5e4773[_0x5495d1(0x1a8)]='4|6|3|1|5|2|0',_0x5e4773[_0x5495d1(0x1a3)]=_0x5495d1(0x1c1);const _0x557f32=_0x5e4773,_0x4e3664=_0x557f32[_0x5495d1(0x1a8)][_0x5495d1(0x1e5)]('|');let _0x1c2333=0x0;while(!![]){switch(_0x4e3664[_0x1c2333++]){case'0':logger[_0x5495d1(0x1e3)](_0x5495d1(0x1c4)+this[_0x5495d1(0x199)]);continue;case'1':this[_0x5495d1(0x161)]();continue;case'2':const _0x47fbc7={};_0x47fbc7[_0x5495d1(0x1cc)]=!![],fs[_0x5495d1(0x184)](this[_0x5495d1(0x162)],_0x47fbc7);continue;case'3':this[_0x5495d1(0x1ac)]=_0x3b6e6b;continue;case'4':this[_0x5495d1(0x199)]=TestInfo[_0x5495d1(0x1a6)]();continue;case'5':const _0x117691={};_0x117691[_0x5495d1(0x1cc)]=!![],fs['mkdirSync'](this[_0x5495d1(0x199)],_0x117691);continue;case'6':this['traceZipDir']=path[_0x5495d1(0x1c0)](this[_0x5495d1(0x199)],_0x557f32[_0x5495d1(0x1a3)]);continue;}break;}}static[a82_0x349930(0x1a6)](){const _0x462047=a82_0x349930,_0x1ed28a={};_0x1ed28a['wZqYA']=function(_0x57d5ab,_0x2e2e46){return _0x57d5ab+_0x2e2e46;},_0x1ed28a['XiqBN']=function(_0x269a1c,_0x12f62d){return _0x269a1c+_0x12f62d;},_0x1ed28a['betDr']=_0x462047(0x173);const _0xd4a21c=_0x1ed28a;return _0xd4a21c[_0x462047(0x1b7)](_0xd4a21c[_0x462047(0x1a7)](TEMP_STORE_DIR_NAME,'-'),process[_0x462047(0x195)][_0x462047(0x172)]||_0xd4a21c[_0x462047(0x1db)]);}static[a82_0x349930(0x194)](){const _0x5120f3=a82_0x349930,_0x1ab715={};_0x1ab715[_0x5120f3(0x17c)]=function(_0x114976,_0x269767){return _0x114976+_0x269767;},_0x1ab715['GKITd']=_0x5120f3(0x173);const _0x5dffd4=_0x1ab715;return path[_0x5120f3(0x1c0)](_0x5dffd4[_0x5120f3(0x17c)](_0x5dffd4['JorEC'](TEMP_STORE_DIR_NAME,'-'),process[_0x5120f3(0x195)][_0x5120f3(0x172)]||_0x5dffd4[_0x5120f3(0x189)]));}static[a82_0x349930(0x18b)](){const _0x9439fe=a82_0x349930,_0x198116={};_0x198116[_0x9439fe(0x178)]='traceZipPaths';const _0x5d8062=_0x198116;return path['join'](this[_0x9439fe(0x194)](),_0x5d8062['TdpWE']);}static[a82_0x349930(0x1bb)](_0x1b5bf1){const _0x269746=a82_0x349930,_0x423fa0={};_0x423fa0[_0x269746(0x1d7)]=function(_0x5375ab,_0x4b3958){return _0x5375ab+_0x4b3958;},_0x423fa0[_0x269746(0x16f)]=_0x269746(0x1d4);const _0x4ddf20=_0x423fa0;return path[_0x269746(0x1c0)](this['dirPath'],_0x4ddf20['kfjEl'](_0x1b5bf1,_0x4ddf20[_0x269746(0x16f)]));}static[a82_0x349930(0x1d0)](_0xf7dde3){const _0x4e1321=a82_0x349930,_0x1e33f2={};_0x1e33f2[_0x4e1321(0x1ab)]=function(_0x26ee20,_0x4443d6){return _0x26ee20+_0x4443d6;},_0x1e33f2[_0x4e1321(0x17e)]=function(_0x5d163b,_0x134ae9){return _0x5d163b+_0x134ae9;},_0x1e33f2[_0x4e1321(0x1e0)]=function(_0x163b37,_0x1799d3){return _0x163b37+_0x1799d3;};const _0x3d3d49=_0x1e33f2;return _0x3d3d49['sjCeH'](_0x3d3d49[_0x4e1321(0x17e)](_0x3d3d49['sjCeH'](_0x3d3d49[_0x4e1321(0x1e0)](this[_0x4e1321(0x174)](_0xf7dde3),'-'),this[_0x4e1321(0x193)](_0xf7dde3)),'-'),_0xf7dde3[_0x4e1321(0x1dc)]);}static[a82_0x349930(0x174)](_0x4724fc){const _0x48c6e3=a82_0x349930,_0x37597b={'fIplB':function(_0x395e57,_0x2d7aad,_0x23b7a8){return _0x395e57(_0x2d7aad,_0x23b7a8);},'qvxzt':_0x48c6e3(0x160),'MWHSE':_0x48c6e3(0x19a),'pugKt':_0x48c6e3(0x18f),'bFsaL':'__projectId'};return _0x37597b[_0x48c6e3(0x1af)](nestedKeyValue,_0x4724fc,[_0x37597b[_0x48c6e3(0x1bd)],_0x37597b[_0x48c6e3(0x16e)]])||_0x37597b[_0x48c6e3(0x1af)](nestedKeyValue,_0x4724fc,[_0x37597b[_0x48c6e3(0x1e7)],_0x37597b[_0x48c6e3(0x183)]]);}static[a82_0x349930(0x193)](_0x5b383c){const _0x36f5e2=a82_0x349930,_0x3339c2={'fShOs':function(_0x52607c,_0x4edbe2,_0x12aba9){return _0x52607c(_0x4edbe2,_0x12aba9);},'uYUum':_0x36f5e2(0x160)};return _0x3339c2[_0x36f5e2(0x170)](nestedKeyValue,_0x5b383c,[_0x3339c2['uYUum'],'id'])||_0x5b383c[_0x36f5e2(0x1ad)];}static['getTestIdentifierFromTestInfo'](_0x548d33,_0x406572){const _0x1081b7=a82_0x349930,_0x2a8909={};_0x2a8909[_0x1081b7(0x1aa)]=function(_0x15d200,_0x1007c8){return _0x15d200+_0x1007c8;};const _0x16463e=_0x2a8909;return _0x16463e[_0x1081b7(0x1aa)](_0x16463e[_0x1081b7(0x1aa)](this[_0x1081b7(0x193)](_0x548d33),'-'),_0x406572);}static['getTestUUID'](_0x50c0e1){const _0x39ed94=a82_0x349930,_0x3e2d74={'UjGvQ':function(_0x2b7655,_0x5f2901){return _0x2b7655===_0x5f2901;},'abUZJ':_0x39ed94(0x19c),'ScPqw':function(_0x7c6e3f){return _0x7c6e3f();}};try{if(this[_0x39ed94(0x191)][_0x50c0e1]&&_0x3e2d74[_0x39ed94(0x15e)](typeof this[_0x39ed94(0x191)][_0x50c0e1][_0x39ed94(0x1a5)],_0x3e2d74['abUZJ']))return this[_0x39ed94(0x191)][_0x50c0e1][_0x39ed94(0x1a5)];const _0x4b5f10=this['getFilePath'](_0x50c0e1),_0x2420d7=path[_0x39ed94(0x1b1)](_0x4b5f10);if(fs[_0x39ed94(0x16c)](_0x2420d7)){const _0x14c714=JSON['parse'](fs['readFileSync'](_0x4b5f10)[_0x39ed94(0x180)]());return this[_0x39ed94(0x191)][_0x50c0e1]=_0x14c714,this[_0x39ed94(0x191)][_0x50c0e1][_0x39ed94(0x1a5)];}this['tests'][_0x50c0e1]={'uuid':_0x3e2d74['ScPqw'](uuidv4)};try{fs[_0x39ed94(0x1d3)](_0x4b5f10,JSON[_0x39ed94(0x1d2)](this[_0x39ed94(0x191)][_0x50c0e1]));}catch(_0xa499c8){logger[_0x39ed94(0x1d8)]('Error\x20writing\x20test\x20details\x20to\x20file\x20for\x20'+_0x50c0e1+':\x20'+_0xa499c8[_0x39ed94(0x1bf)]);}return this[_0x39ed94(0x191)][_0x50c0e1]['uuid'];}catch(_0x41d0ee){return logger[_0x39ed94(0x1d8)](_0x39ed94(0x196)+_0x50c0e1+':\x20'+_0x41d0ee['message']),null;}}static[a82_0x349930(0x1b2)](_0x3331ba){const _0x1fa43e=a82_0x349930,_0x252e43=path['join'](this[_0x1fa43e(0x199)],_0x3331ba+_0x1fa43e(0x1ae));if(fs[_0x1fa43e(0x16c)](_0x252e43))return fs[_0x1fa43e(0x185)](_0x252e43)['toString']();}static[a82_0x349930(0x1b9)](_0x33d646,_0xb526f7){const _0x253e5e=a82_0x349930,_0x280923=path[_0x253e5e(0x1c0)](this[_0x253e5e(0x199)],_0xb526f7+_0x253e5e(0x1ae));fs[_0x253e5e(0x1d3)](_0x280923,_0x33d646[_0x253e5e(0x180)]());}static[a82_0x349930(0x161)](){const _0x72a536=a82_0x349930,_0x51d564={};_0x51d564[_0x72a536(0x1cc)]=!![],_0x51d564[_0x72a536(0x1a1)]=!![],fs[_0x72a536(0x18c)](this['dirPath'],_0x51d564);}static[a82_0x349930(0x1a9)](_0x1d4a9b){const _0x146a7e=a82_0x349930,_0x52c510=this[_0x146a7e(0x1bb)](_0x1d4a9b);if(fs[_0x146a7e(0x16c)](_0x52c510))try{const _0x1367de=JSON['parse'](fs[_0x146a7e(0x185)](_0x52c510)[_0x146a7e(0x180)]());return this[_0x146a7e(0x191)][_0x1d4a9b]=_0x1367de,_0x1367de;}catch(_0x56306d){return logger[_0x146a7e(0x1c2)](_0x146a7e(0x1b4)+_0x52c510+':\x20'+util['format'](_0x56306d)+_0x146a7e(0x1e6)),{};}return{};}static['setTestDetails'](_0xafa55a,_0x353c08,_0x3fc08a=![]){const _0x4e6bd0=a82_0x349930,_0x21c08e={'wdKZC':function(_0x1f2d51){return _0x1f2d51();}};logger[_0x4e6bd0(0x1c2)](_0x4e6bd0(0x1cd)+process[_0x4e6bd0(0x165)]+_0x4e6bd0(0x1bc)+_0xafa55a+'\x20with\x20details:\x20'+JSON['stringify'](_0x353c08));const _0x14c10d=this[_0x4e6bd0(0x1bb)](_0xafa55a);if(fs['existsSync'](_0x14c10d))try{const _0x5a6908=lockfile[_0x4e6bd0(0x1d9)](_0x14c10d),_0x410b9d=JSON[_0x4e6bd0(0x187)](fs['readFileSync'](_0x14c10d)[_0x4e6bd0(0x180)]());if(_0x3fc08a)this[_0x4e6bd0(0x191)][_0xafa55a]=helper[_0x4e6bd0(0x176)](_0x410b9d,_0x353c08);else{const _0x1fc1c5={..._0x410b9d,..._0x353c08};this[_0x4e6bd0(0x191)][_0xafa55a]=_0x1fc1c5;}fs[_0x4e6bd0(0x1d3)](_0x14c10d,JSON[_0x4e6bd0(0x1d2)](this['tests'][_0xafa55a])),_0x21c08e[_0x4e6bd0(0x1c6)](_0x5a6908);}catch(_0x1af8a4){logger['debug'](_0x4e6bd0(0x1b4)+_0x14c10d+':\x20'+util[_0x4e6bd0(0x175)](_0x1af8a4)+_0x4e6bd0(0x1cf));}}static[a82_0x349930(0x168)](_0x552420,_0x365a66){const _0x2f0833=a82_0x349930,_0x5879b2={'chCbZ':function(_0x55c154,_0x50f645){return _0x55c154!==_0x50f645;},'NIlHy':_0x2f0833(0x18d),'cUfBU':function(_0x19fdfa){return _0x19fdfa();}};logger[_0x2f0833(0x1c2)](_0x2f0833(0x15f)+process['pid']+_0x2f0833(0x164)+_0x552420+'}');const _0x57f386=this[_0x2f0833(0x1bb)](_0x552420);try{let _0x37bf37={};if(fs[_0x2f0833(0x16c)](_0x57f386)){const _0x44a3ee=lockfile['lockSync'](_0x57f386);_0x37bf37=JSON[_0x2f0833(0x187)](fs['readFileSync'](_0x57f386)[_0x2f0833(0x180)]()),(!_0x37bf37[_0x2f0833(0x1cb)]||_0x5879b2[_0x2f0833(0x1c8)](typeof _0x37bf37[_0x2f0833(0x1cb)],_0x5879b2[_0x2f0833(0x1b6)]))&&(_0x37bf37['logObjects']={}),(!_0x37bf37[_0x2f0833(0x1cb)][_0x552420]||!Array['isArray'](_0x37bf37[_0x2f0833(0x1cb)][_0x552420]))&&(_0x37bf37[_0x2f0833(0x1cb)][_0x552420]=[]),_0x37bf37[_0x2f0833(0x1cb)][_0x552420]['push'](_0x365a66),this[_0x2f0833(0x191)][_0x552420]=_0x37bf37,fs['writeFileSync'](_0x57f386,JSON[_0x2f0833(0x1d2)](this[_0x2f0833(0x191)][_0x552420])),_0x5879b2[_0x2f0833(0x167)](_0x44a3ee);}else{const _0x314fd5={};_0x314fd5['uuid']=_0x552420,_0x314fd5[_0x2f0833(0x1cb)]={},_0x314fd5[_0x2f0833(0x1cb)][_0x552420]=[_0x365a66],_0x37bf37=_0x314fd5,this[_0x2f0833(0x191)][_0x552420]=_0x37bf37,fs[_0x2f0833(0x1d3)](_0x57f386,JSON[_0x2f0833(0x1d2)](this[_0x2f0833(0x191)][_0x552420]));}}catch(_0x4d7777){logger['debug'](_0x2f0833(0x1b4)+_0x57f386+':\x20'+util[_0x2f0833(0x175)](_0x4d7777)+_0x2f0833(0x1dd));}}static[a82_0x349930(0x1b3)](_0x42f7f8){const _0x5084f5=a82_0x349930,_0x1ccef9={'JQljl':function(_0x4d7cef,_0x24f831){return _0x4d7cef!==_0x24f831;},'zHdNa':_0x5084f5(0x18d),'LYBVC':function(_0x1bb3e1){return _0x1bb3e1();},'bXrCO':function(_0x3d3e9b,_0x53a970){return _0x3d3e9b===_0x53a970;},'XzwZm':function(_0x277343){return _0x277343();}};logger[_0x5084f5(0x1c2)](_0x5084f5(0x1df)+process[_0x5084f5(0x165)]+'\x20Retrieving\x20logs\x20for\x20'+_0x42f7f8);const _0x283376=this[_0x5084f5(0x1bb)](_0x42f7f8);try{if(!fs['existsSync'](_0x283376))return logger[_0x5084f5(0x1c2)](_0x5084f5(0x1b5)+_0x42f7f8),[];const _0x2c456c=lockfile['lockSync'](_0x283376),_0x1ad7bb=JSON[_0x5084f5(0x187)](fs['readFileSync'](_0x283376)['toString']());if(!_0x1ad7bb['logObjects']||_0x1ccef9[_0x5084f5(0x18e)](typeof _0x1ad7bb[_0x5084f5(0x1cb)],_0x1ccef9[_0x5084f5(0x169)]))return logger['debug']('readLogObjects:\x20No\x20logObjects\x20object\x20found\x20for\x20testId:\x20'+_0x42f7f8),_0x1ccef9[_0x5084f5(0x19d)](_0x2c456c),[];if(!_0x1ad7bb[_0x5084f5(0x1cb)][_0x42f7f8]||!Array[_0x5084f5(0x17a)](_0x1ad7bb[_0x5084f5(0x1cb)][_0x42f7f8])||_0x1ccef9[_0x5084f5(0x1c3)](_0x1ad7bb[_0x5084f5(0x1cb)][_0x42f7f8][_0x5084f5(0x198)],0x0))return logger[_0x5084f5(0x1c2)](_0x5084f5(0x1d6)+_0x42f7f8),_0x1ccef9[_0x5084f5(0x16b)](_0x2c456c),[];const _0x4ed48f=[..._0x1ad7bb[_0x5084f5(0x1cb)][_0x42f7f8]];return logger['debug']('readLogObjects:\x20Retrieved\x20'+_0x4ed48f[_0x5084f5(0x198)]+_0x5084f5(0x188)+_0x42f7f8),_0x1ad7bb[_0x5084f5(0x1cb)][_0x42f7f8]=[],this[_0x5084f5(0x191)][_0x42f7f8]=_0x1ad7bb,fs[_0x5084f5(0x1d3)](_0x283376,JSON[_0x5084f5(0x1d2)](this[_0x5084f5(0x191)][_0x42f7f8])),_0x1ccef9['LYBVC'](_0x2c456c),_0x4ed48f;}catch(_0x371978){return logger[_0x5084f5(0x1c2)](_0x5084f5(0x1b4)+_0x283376+':\x20'+util[_0x5084f5(0x175)](_0x371978)+'.\x20Unable\x20to\x20retrieve\x20log\x20objects.'),[];}}static[a82_0x349930(0x177)](_0x1ece0d){const _0x456c5c=a82_0x349930,_0x31c48e={};_0x31c48e['hIAJT']=_0x456c5c(0x1e2);const _0x4dcc36=_0x31c48e;try{const _0x4e8b12=process[_0x456c5c(0x165)],_0x5a5eab=path[_0x456c5c(0x1c0)](TestInfo['getTraceZipDir'](),_0x4e8b12+'_traceZipPaths.json');let _0x3ff53f=[];fs['existsSync'](_0x5a5eab)&&(_0x3ff53f=JSON['parse'](fs[_0x456c5c(0x185)](_0x5a5eab)[_0x456c5c(0x180)]()));if(!_0x3ff53f[_0x456c5c(0x163)](_0x48c7c1=>_0x48c7c1['filePath']===_0x1ece0d[_0x456c5c(0x197)])){_0x3ff53f[_0x456c5c(0x1a0)](_0x1ece0d);const _0x2187ff=path[_0x456c5c(0x1e1)](_0x5a5eab);if(!fs[_0x456c5c(0x16c)](_0x2187ff)){const _0x428d05={};_0x428d05['recursive']=!![],fs[_0x456c5c(0x184)](_0x2187ff,_0x428d05);}fs[_0x456c5c(0x1d3)](_0x5a5eab,JSON[_0x456c5c(0x1d2)](_0x3ff53f));}}catch(_0x13fdab){logger[_0x456c5c(0x1d8)](util['format'](_0x4dcc36[_0x456c5c(0x1da)],_0x13fdab));}}static['getTraceFilePaths'](){const _0x2d827b=a82_0x349930,_0x4ba1f8={};_0x4ba1f8[_0x2d827b(0x190)]=_0x2d827b(0x179),_0x4ba1f8[_0x2d827b(0x1c9)]=_0x2d827b(0x1b0);const _0x563e5e=_0x4ba1f8,_0x72eb0f=[];try{const _0xb4adbf=TestInfo['getTraceZipDir']();if(!fs[_0x2d827b(0x16c)](_0xb4adbf))return _0x72eb0f;const _0x50769d=fs[_0x2d827b(0x181)](_0xb4adbf);_0x50769d[_0x2d827b(0x17f)](_0x45284f=>{const _0x1b08af=_0x2d827b;if(_0x45284f[_0x1b08af(0x1a2)](_0x563e5e[_0x1b08af(0x190)])){const _0x229405=JSON[_0x1b08af(0x187)](fs['readFileSync'](path[_0x1b08af(0x1c0)](_0xb4adbf,_0x45284f))[_0x1b08af(0x180)]());_0x72eb0f[_0x1b08af(0x1a0)](..._0x229405);}});}catch(_0x5d161f){logger[_0x2d827b(0x1d8)](util[_0x2d827b(0x175)](_0x563e5e[_0x2d827b(0x1c9)],_0x5d161f));}const _0x28acbb={};return _0x72eb0f[_0x2d827b(0x17f)](_0x3ebfd7=>{const _0x2116f4=_0x2d827b;_0x28acbb[_0x3ebfd7[_0x2116f4(0x197)]]=_0x3ebfd7;}),Object[_0x2d827b(0x1ba)](_0x28acbb);}static[a82_0x349930(0x19e)](_0x2a2c75,_0x15b929){const _0x37d58d=a82_0x349930,_0x35143a={};_0x35143a[_0x37d58d(0x1de)]=_0x37d58d(0x1a4),_0x35143a[_0x37d58d(0x17d)]=_0x37d58d(0x19f),_0x35143a['CTRnI']=_0x37d58d(0x1ca);const _0x322a43=_0x35143a;try{const _0x495a2a=path[_0x37d58d(0x1c0)](helper['homedir'](),_0x322a43['ZTDjG']);if(!fs[_0x37d58d(0x16c)](_0x495a2a)){const _0x343f82={};_0x343f82['recursive']=!![],fs[_0x37d58d(0x184)](_0x495a2a,_0x343f82);}fs[_0x37d58d(0x1ce)](path[_0x37d58d(0x1c0)](_0x495a2a,'trace_'+_0x15b929+_0x37d58d(0x18a)),_0x2a2c75+'\x0a',_0x322a43[_0x37d58d(0x17d)]);}catch(_0x174815){logger[_0x37d58d(0x1d8)](util[_0x37d58d(0x175)](_0x322a43[_0x37d58d(0x16d)],_0x174815));}}}function a82_0x2e9d(){const _0x1f3657=['resolve','getAccessibilityPlatformValidation','readLogObjects','Failed\x20to\x20acquire\x20lock\x20for\x20','readLogObjects:\x20No\x20file\x20found\x20for\x20testId:\x20','NIlHy','wZqYA','util','setAccessibilityPlatformValidation','values','getFilePath','\x20Setting\x20test\x20details\x20for\x20','qvxzt','2961852CkWfpP','message','join','traceZipPaths','debug','bXrCO','Setting\x20up\x20TestInfo\x20directory\x20at\x20','1514532RfONaB','wdKZC','../../helpers/test-observability/constants','chCbZ','mNBMP','Error\x20writing\x20trace\x20file:\x20%O','logObjects','recursive','[setTestDetails]\x20processId:\x20','appendFileSync','.\x20Unable\x20to\x20set\x20test\x20details.','getTestRunIdFromTestInfo','path','stringify','writeFileSync','.json','119012IKvmtB','readLogObjects:\x20No\x20log\x20objects\x20found\x20for\x20testId:\x20','kfjEl','error','lockSync','hIAJT','betDr','retry','.\x20Unable\x20to\x20add\x20console\x20log.','ZTDjG','readLogObjects:\x20processId:\x20','kLimK','dirname','Error\x20handling\x20trace\x20file\x20paths:\x20%O','info','59395bAtDBz','split','.\x20Returning\x20empty\x20test\x20details.','pugKt','UjGvQ','storeLogObjects:\x20processId:\x20','_test','shutdown','traceZipDir','some','\x20Adding\x20console\x20log\x20for\x20','pid','431390LfSvvp','cUfBU','storeLogObjects','zHdNa','50fvSruz','XzwZm','existsSync','CTRnI','MWHSE','rXCmZ','fShOs','1080cZcSiB','BS_TESTOPS_BUILD_HASHED_ID','default','getProjectIdFromTestInfo','format','mergeDeep','addTraceFilePath','TdpWE','_traceZipPaths.json','isArray','logger','JorEC','fJyAK','UQxRe','forEach','toString','readdirSync','exports','bFsaL','mkdirSync','readFileSync','4491063tGSDLk','parse','\x20log\x20objects\x20for\x20testId:\x20','GKITd','.txt','getTraceZipDir','rmSync','object','JQljl','project','EfYHF','tests','8408520eMvOnp','getTestIdFromTestInfo','getStoreDirPath','env','Error\x20while\x20getting\x20test\x20UUID\x20for\x20','filePath','length','dirPath','_projectId','../../helpers/helper','string','LYBVC','appendToTracePaths','utf8','push','force','endsWith','XIynU','.browserstack','uuid','getStoreDirName','XiqBN','qTltT','getTestDetails','xYdHU','sjCeH','testFramework','testId','_platformDetails.json','fIplB','Error\x20reading\x20trace\x20file\x20paths:\x20%O'];a82_0x2e9d=function(){return _0x1f3657;};return a82_0x2e9d();}module[a82_0x349930(0x182)]=TestInfo;
1
+ function a82_0x27ec(){const _0x3fdfb9=['\x20Retrieving\x20logs\x20for\x20','QngJW','testId','info','logger','parse','pwkJy','toString','length','storeLogObjects','push','CYLrE','path','getStoreDirPath','OhbYQ','isTxG','BS_TESTOPS_BUILD_HASHED_ID','exports','xUvvm','ovtBO','logObjects','filePath','env','trace_','retry','Error\x20handling\x20trace\x20file\x20paths:\x20%O','4213865vXmDMX','getTestIdFromTestInfo','uuid','getTraceFilePaths','ANcrY','traceZipDir','Error\x20writing\x20test\x20details\x20to\x20file\x20for\x20','mkdirSync','sAdus','join','proper-lockfile','storeLogObjects:\x20processId:\x20','40460Rudwao','ddlMJ','readdirSync','utf8','addTraceFilePath','some','winstonLogger','rmSync','.\x20Returning\x20empty\x20test\x20details.','SFCNM','10113237dqCpgo','getTraceZipDir','string','mergeDeep','8818554rjNdhi','.browserstack','dirname','rFKzT','hZbbE','error','shutdown','getAccessibilityPlatformValidation','values','\x20with\x20details:\x20','Vihfj','split','tests','dirPath','debug','readLogObjects:\x20No\x20log\x20objects\x20found\x20for\x20testId:\x20','../../helpers/logger','JdwAf','force','readLogObjects:\x20processId:\x20','Error\x20while\x20getting\x20test\x20UUID\x20for\x20','.json','../../helpers/test-observability/constants','writeFileSync','appendFileSync','mPJlU','_projectId','Error\x20reading\x20trace\x20file\x20paths:\x20%O','default','getProjectIdFromTestInfo','testFramework','pid','zdWbK','ZHxEp','.\x20Unable\x20to\x20set\x20test\x20details.','../../helpers/helper','DQBpJ','11tJsLtE','recursive','1497670JbKEZX','fgGLZ','getFilePath','../../helpers/classLogger.js','IlnwA','isArray','fPpwX','16FkRsPv','mOYzc','1696LAAPVB','readFileSync','yXYuN','770871JZvuDB','getTestRunIdFromTestInfo','euJJz','lockSync','AralZ','setAccessibilityPlatformValidation','pAVpg','readLogObjects:\x20No\x20file\x20found\x20for\x20testId:\x20','traceZipPaths','format','Failed\x20to\x20acquire\x20lock\x20for\x20','readLogObjects:\x20No\x20logObjects\x20object\x20found\x20for\x20testId:\x20','\x20log\x20objects\x20for\x20testId:\x20','cPTLd','2396MOMTVt','message','xDhiA','getStoreDirName','_traceZipPaths.json','forEach','11HTtjlT','_platformDetails.json','existsSync','util','stringify','.txt','ROloy','_test','2|4|5|1|6|0|3','\x20Setting\x20test\x20details\x20for\x20','pdROE','TBqpe','FWzbt','object'];a82_0x27ec=function(){return _0x3fdfb9;};return a82_0x27ec();}const a82_0x581c35=a82_0xf287;(function(_0x44b098,_0x5be790){const _0x173f42=a82_0xf287,_0x12cd28=_0x44b098();while(!![]){try{const _0xa627c3=-parseInt(_0x173f42(0x1c2))/0x1*(parseInt(_0x173f42(0x1bc))/0x2)+-parseInt(_0x173f42(0x237))/0x3*(-parseInt(_0x173f42(0x232))/0x4)+parseInt(_0x173f42(0x1ea))/0x5+parseInt(_0x173f42(0x204))/0x6+parseInt(_0x173f42(0x1f6))/0x7*(-parseInt(_0x173f42(0x234))/0x8)+-parseInt(_0x173f42(0x200))/0x9+-parseInt(_0x173f42(0x22b))/0xa*(parseInt(_0x173f42(0x229))/0xb);if(_0xa627c3===_0x5be790)break;else _0x12cd28['push'](_0x12cd28['shift']());}catch(_0x425e9e){_0x12cd28['push'](_0x12cd28['shift']());}}}(a82_0x27ec,0xca3ca));function a82_0xf287(_0xb0c6d1,_0x55bba7){const _0x27ecc0=a82_0x27ec();return a82_0xf287=function(_0xf28763,_0x43168a){_0xf28763=_0xf28763-0x1af;let _0x2ccf1d=_0x27ecc0[_0xf28763];return _0x2ccf1d;},a82_0xf287(_0xb0c6d1,_0x55bba7);}const fs=require('fs'),path=require(a82_0x581c35(0x1dc)),{TEMP_STORE_DIR_NAME}=require(a82_0x581c35(0x21a)),{nestedKeyValue}=require('../../helpers/helper'),logger=require(a82_0x581c35(0x214))[a82_0x581c35(0x1fc)],util=require(a82_0x581c35(0x1c5)),helper=require(a82_0x581c35(0x227)),{createClassLogger}=require(a82_0x581c35(0x22e)),lockfile=require(a82_0x581c35(0x1f4)),{v4:uuidv4}=require(a82_0x581c35(0x1ec));class TestInfo{static ['tests']={};static [a82_0x581c35(0x211)]=TestInfo[a82_0x581c35(0x1bf)]();static [a82_0x581c35(0x1ef)]=path[a82_0x581c35(0x1f3)](TestInfo[a82_0x581c35(0x211)],a82_0x581c35(0x1b6));static ['testFramework']=null;[a82_0x581c35(0x1d4)]=createClassLogger('TestInfo');static['setup'](_0xfca528){const _0x21af89=a82_0x581c35,_0x7a9fb4={};_0x7a9fb4[_0x21af89(0x1db)]=_0x21af89(0x1ca),_0x7a9fb4[_0x21af89(0x1f2)]=_0x21af89(0x1b6);const _0xf3783b=_0x7a9fb4,_0x481682=_0xf3783b[_0x21af89(0x1db)][_0x21af89(0x20f)]('|');let _0xef8341=0x0;while(!![]){switch(_0x481682[_0xef8341++]){case'0':const _0x4f4bad={};_0x4f4bad[_0x21af89(0x22a)]=!![],fs[_0x21af89(0x1f1)](this['traceZipDir'],_0x4f4bad);continue;case'1':this[_0x21af89(0x20a)]();continue;case'2':this[_0x21af89(0x211)]=TestInfo['getStoreDirName']();continue;case'3':logger[_0x21af89(0x1d3)]('Setting\x20up\x20TestInfo\x20directory\x20at\x20'+this[_0x21af89(0x211)]);continue;case'4':this[_0x21af89(0x1ef)]=path[_0x21af89(0x1f3)](this[_0x21af89(0x211)],_0xf3783b[_0x21af89(0x1f2)]);continue;case'5':this[_0x21af89(0x222)]=_0xfca528;continue;case'6':const _0x2d0cba={};_0x2d0cba[_0x21af89(0x22a)]=!![],fs[_0x21af89(0x1f1)](this['dirPath'],_0x2d0cba);continue;}break;}}static['getStoreDirName'](){const _0x3f0f95=a82_0x581c35,_0x3ad14e={};_0x3ad14e[_0x3f0f95(0x1b4)]=function(_0x3b7ccb,_0x26d6f8){return _0x3b7ccb+_0x26d6f8;},_0x3ad14e[_0x3f0f95(0x1bb)]=function(_0x46e314,_0x3a826a){return _0x46e314+_0x3a826a;},_0x3ad14e[_0x3f0f95(0x1ce)]='default';const _0x20add2=_0x3ad14e;return _0x20add2[_0x3f0f95(0x1b4)](_0x20add2[_0x3f0f95(0x1bb)](TEMP_STORE_DIR_NAME,'-'),process[_0x3f0f95(0x1e6)]['BS_TESTOPS_BUILD_HASHED_ID']||_0x20add2['FWzbt']);}static[a82_0x581c35(0x1dd)](){const _0x3d122e=a82_0x581c35,_0xf29839={};_0xf29839['QngJW']=function(_0x447a3b,_0x544360){return _0x447a3b+_0x544360;},_0xf29839[_0x3d122e(0x1e3)]=_0x3d122e(0x220);const _0x2a4c56=_0xf29839;return path[_0x3d122e(0x1f3)](_0x2a4c56[_0x3d122e(0x1d1)](_0x2a4c56[_0x3d122e(0x1d1)](TEMP_STORE_DIR_NAME,'-'),process[_0x3d122e(0x1e6)][_0x3d122e(0x1e0)]||_0x2a4c56[_0x3d122e(0x1e3)]));}static['getTraceZipDir'](){const _0x14ceec=a82_0x581c35,_0xd41986={};_0xd41986[_0x14ceec(0x236)]=_0x14ceec(0x1b6);const _0x3e818a=_0xd41986;return path[_0x14ceec(0x1f3)](this[_0x14ceec(0x1dd)](),_0x3e818a[_0x14ceec(0x236)]);}static[a82_0x581c35(0x22d)](_0x47e27b){const _0x2ae855=a82_0x581c35,_0x261d2e={};_0x261d2e[_0x2ae855(0x22f)]=function(_0x4aecd0,_0x28cc01){return _0x4aecd0+_0x28cc01;},_0x261d2e[_0x2ae855(0x1e2)]=_0x2ae855(0x219);const _0x12cd2c=_0x261d2e;return path[_0x2ae855(0x1f3)](this[_0x2ae855(0x211)],_0x12cd2c[_0x2ae855(0x22f)](_0x47e27b,_0x12cd2c[_0x2ae855(0x1e2)]));}static[a82_0x581c35(0x1af)](_0x1dc16a){const _0x37b848=a82_0x581c35,_0x558e55={};_0x558e55['TBqpe']=function(_0x4da0eb,_0x1c008e){return _0x4da0eb+_0x1c008e;},_0x558e55[_0x37b848(0x1c8)]=function(_0x29ba7c,_0x21cdf8){return _0x29ba7c+_0x21cdf8;},_0x558e55['YfAcR']=function(_0x3bea1f,_0x3a3283){return _0x3bea1f+_0x3a3283;};const _0x5cdfd8=_0x558e55;return _0x5cdfd8[_0x37b848(0x1cd)](_0x5cdfd8['TBqpe'](_0x5cdfd8['ROloy'](_0x5cdfd8['YfAcR'](this[_0x37b848(0x221)](_0x1dc16a),'-'),this[_0x37b848(0x1eb)](_0x1dc16a)),'-'),_0x1dc16a[_0x37b848(0x1e8)]);}static['getProjectIdFromTestInfo'](_0x132a05){const _0x3c8784=a82_0x581c35,_0x543a67={'ANcrY':function(_0x3070fd,_0x1c9be1,_0x2b0ffa){return _0x3070fd(_0x1c9be1,_0x2b0ffa);},'zdWbK':_0x3c8784(0x1c9),'xDhiA':_0x3c8784(0x21e),'fPpwX':function(_0x1344df,_0x523207,_0x325b00){return _0x1344df(_0x523207,_0x325b00);},'pwkJy':'project','ddlMJ':'__projectId'};return _0x543a67[_0x3c8784(0x1ee)](nestedKeyValue,_0x132a05,[_0x543a67[_0x3c8784(0x224)],_0x543a67[_0x3c8784(0x1be)]])||_0x543a67[_0x3c8784(0x231)](nestedKeyValue,_0x132a05,[_0x543a67[_0x3c8784(0x1d6)],_0x543a67[_0x3c8784(0x1f7)]]);}static['getTestIdFromTestInfo'](_0x37e412){const _0x2045da=a82_0x581c35,_0xdf40e6={'fgGLZ':function(_0x357b51,_0x427933,_0x5355eb){return _0x357b51(_0x427933,_0x5355eb);},'ZHxEp':_0x2045da(0x1c9)};return _0xdf40e6[_0x2045da(0x22c)](nestedKeyValue,_0x37e412,[_0xdf40e6[_0x2045da(0x225)],'id'])||_0x37e412[_0x2045da(0x1d2)];}static['getTestIdentifierFromTestInfo'](_0xb01c2,_0x6d0e62){const _0x3e8f0d=a82_0x581c35,_0x592c9b={};_0x592c9b[_0x3e8f0d(0x215)]=function(_0xbaeb03,_0x21e29e){return _0xbaeb03+_0x21e29e;};const _0x58413d=_0x592c9b;return _0x58413d[_0x3e8f0d(0x215)](_0x58413d[_0x3e8f0d(0x215)](this[_0x3e8f0d(0x1eb)](_0xb01c2),'-'),_0x6d0e62);}static['getTestUUID'](_0x57b498){const _0x5d0393=a82_0x581c35,_0x59732f={'rFKzT':function(_0x247e7c,_0x382790){return _0x247e7c===_0x382790;},'ZIQkF':_0x5d0393(0x202),'EJqxg':function(_0x382b3d){return _0x382b3d();}};try{if(this['tests'][_0x57b498]&&_0x59732f[_0x5d0393(0x207)](typeof this[_0x5d0393(0x210)][_0x57b498][_0x5d0393(0x1ec)],_0x59732f['ZIQkF']))return this[_0x5d0393(0x210)][_0x57b498][_0x5d0393(0x1ec)];const _0x19f6f2=this[_0x5d0393(0x22d)](_0x57b498),_0x503a53=path['resolve'](_0x19f6f2);if(fs[_0x5d0393(0x1c4)](_0x503a53)){const _0x2ca7e5=JSON[_0x5d0393(0x1d5)](fs['readFileSync'](_0x19f6f2)[_0x5d0393(0x1d7)]());return this['tests'][_0x57b498]=_0x2ca7e5,this[_0x5d0393(0x210)][_0x57b498][_0x5d0393(0x1ec)];}this['tests'][_0x57b498]={'uuid':_0x59732f['EJqxg'](uuidv4)};try{fs[_0x5d0393(0x21b)](_0x19f6f2,JSON[_0x5d0393(0x1c6)](this[_0x5d0393(0x210)][_0x57b498]));}catch(_0x33d3e9){logger[_0x5d0393(0x209)](_0x5d0393(0x1f0)+_0x57b498+':\x20'+_0x33d3e9[_0x5d0393(0x1bd)]);}return this['tests'][_0x57b498][_0x5d0393(0x1ec)];}catch(_0x487226){return logger[_0x5d0393(0x209)](_0x5d0393(0x218)+_0x57b498+':\x20'+_0x487226['message']),null;}}static[a82_0x581c35(0x20b)](_0x506ff1){const _0x48da40=a82_0x581c35,_0x5281c6=path[_0x48da40(0x1f3)](this['dirPath'],_0x506ff1+_0x48da40(0x1c3));if(fs[_0x48da40(0x1c4)](_0x5281c6))return fs[_0x48da40(0x235)](_0x5281c6)['toString']();}static[a82_0x581c35(0x1b3)](_0x527308,_0x4128a4){const _0x29a476=a82_0x581c35,_0x3190c2=path[_0x29a476(0x1f3)](this[_0x29a476(0x211)],_0x4128a4+_0x29a476(0x1c3));fs[_0x29a476(0x21b)](_0x3190c2,_0x527308[_0x29a476(0x1d7)]());}static[a82_0x581c35(0x20a)](){const _0x316d62=a82_0x581c35,_0x43055c={};_0x43055c[_0x316d62(0x22a)]=!![],_0x43055c[_0x316d62(0x216)]=!![],fs[_0x316d62(0x1fd)](this[_0x316d62(0x211)],_0x43055c);}static['getTestDetails'](_0x12c543){const _0xe02a0e=a82_0x581c35,_0x5c7324=this['getFilePath'](_0x12c543);if(fs[_0xe02a0e(0x1c4)](_0x5c7324))try{const _0x222a9a=JSON['parse'](fs['readFileSync'](_0x5c7324)[_0xe02a0e(0x1d7)]());return this[_0xe02a0e(0x210)][_0x12c543]=_0x222a9a,_0x222a9a;}catch(_0x300164){return logger[_0xe02a0e(0x212)](_0xe02a0e(0x1b8)+_0x5c7324+':\x20'+util[_0xe02a0e(0x1b7)](_0x300164)+_0xe02a0e(0x1fe)),{};}return{};}static['setTestDetails'](_0x23f051,_0x217df5,_0x202afd=![]){const _0x50afe2=a82_0x581c35,_0x2fa788={'Vihfj':function(_0x5e29b1){return _0x5e29b1();}};logger[_0x50afe2(0x212)]('[setTestDetails]\x20processId:\x20'+process['pid']+_0x50afe2(0x1cb)+_0x23f051+_0x50afe2(0x20d)+JSON[_0x50afe2(0x1c6)](_0x217df5));const _0x14e9ad=this[_0x50afe2(0x22d)](_0x23f051);if(fs[_0x50afe2(0x1c4)](_0x14e9ad))try{const _0x449301=lockfile[_0x50afe2(0x1b1)](_0x14e9ad),_0x52f539=JSON[_0x50afe2(0x1d5)](fs[_0x50afe2(0x235)](_0x14e9ad)[_0x50afe2(0x1d7)]());if(_0x202afd)this['tests'][_0x23f051]=helper[_0x50afe2(0x203)](_0x52f539,_0x217df5);else{const _0x4bc839={..._0x52f539,..._0x217df5};this['tests'][_0x23f051]=_0x4bc839;}fs['writeFileSync'](_0x14e9ad,JSON['stringify'](this[_0x50afe2(0x210)][_0x23f051])),_0x2fa788[_0x50afe2(0x20e)](_0x449301);}catch(_0x3534ca){logger[_0x50afe2(0x212)](_0x50afe2(0x1b8)+_0x14e9ad+':\x20'+util['format'](_0x3534ca)+_0x50afe2(0x226));}}static[a82_0x581c35(0x1d9)](_0x399169,_0xd19778){const _0x2003c4=a82_0x581c35,_0x27bc3b={'hZbbE':function(_0x3ff42a,_0x3a4847){return _0x3ff42a!==_0x3a4847;},'wWFtT':_0x2003c4(0x1cf),'CmOwN':function(_0x47c7fd){return _0x47c7fd();}};logger[_0x2003c4(0x212)](_0x2003c4(0x1f5)+process[_0x2003c4(0x223)]+'\x20Adding\x20console\x20log\x20for\x20'+_0x399169+'}');const _0x58a715=this[_0x2003c4(0x22d)](_0x399169);try{let _0x5040fd={};if(fs[_0x2003c4(0x1c4)](_0x58a715)){const _0x4cbec8=lockfile['lockSync'](_0x58a715);_0x5040fd=JSON[_0x2003c4(0x1d5)](fs[_0x2003c4(0x235)](_0x58a715)[_0x2003c4(0x1d7)]()),(!_0x5040fd[_0x2003c4(0x1e4)]||_0x27bc3b[_0x2003c4(0x208)](typeof _0x5040fd[_0x2003c4(0x1e4)],_0x27bc3b['wWFtT']))&&(_0x5040fd['logObjects']={}),(!_0x5040fd[_0x2003c4(0x1e4)][_0x399169]||!Array[_0x2003c4(0x230)](_0x5040fd[_0x2003c4(0x1e4)][_0x399169]))&&(_0x5040fd['logObjects'][_0x399169]=[]),_0x5040fd['logObjects'][_0x399169][_0x2003c4(0x1da)](_0xd19778),this['tests'][_0x399169]=_0x5040fd,fs['writeFileSync'](_0x58a715,JSON['stringify'](this[_0x2003c4(0x210)][_0x399169])),_0x27bc3b['CmOwN'](_0x4cbec8);}else{const _0x150a56={};_0x150a56[_0x2003c4(0x1ec)]=_0x399169,_0x150a56[_0x2003c4(0x1e4)]={},_0x150a56[_0x2003c4(0x1e4)][_0x399169]=[_0xd19778],_0x5040fd=_0x150a56,this['tests'][_0x399169]=_0x5040fd,fs[_0x2003c4(0x21b)](_0x58a715,JSON['stringify'](this[_0x2003c4(0x210)][_0x399169]));}}catch(_0x1f96af){logger['debug'](_0x2003c4(0x1b8)+_0x58a715+':\x20'+util[_0x2003c4(0x1b7)](_0x1f96af)+'.\x20Unable\x20to\x20add\x20console\x20log.');}}static['readLogObjects'](_0x5f2270){const _0xf1d0a5=a82_0x581c35,_0x4a4f57={'DQBpJ':function(_0x461b3f,_0x22866b){return _0x461b3f!==_0x22866b;},'isTxG':_0xf1d0a5(0x1cf),'OhbYQ':function(_0x68bdb7){return _0x68bdb7();},'mOYzc':function(_0x5b66dd,_0x24bda9){return _0x5b66dd===_0x24bda9;},'JDHAU':function(_0xe1798a){return _0xe1798a();}};logger[_0xf1d0a5(0x212)](_0xf1d0a5(0x217)+process[_0xf1d0a5(0x223)]+_0xf1d0a5(0x1d0)+_0x5f2270);const _0x98d745=this[_0xf1d0a5(0x22d)](_0x5f2270);try{if(!fs[_0xf1d0a5(0x1c4)](_0x98d745))return logger['debug'](_0xf1d0a5(0x1b5)+_0x5f2270),[];const _0x1c2758=lockfile[_0xf1d0a5(0x1b1)](_0x98d745),_0x2ec05e=JSON[_0xf1d0a5(0x1d5)](fs[_0xf1d0a5(0x235)](_0x98d745)[_0xf1d0a5(0x1d7)]());if(!_0x2ec05e[_0xf1d0a5(0x1e4)]||_0x4a4f57[_0xf1d0a5(0x228)](typeof _0x2ec05e[_0xf1d0a5(0x1e4)],_0x4a4f57[_0xf1d0a5(0x1df)]))return logger[_0xf1d0a5(0x212)](_0xf1d0a5(0x1b9)+_0x5f2270),_0x4a4f57[_0xf1d0a5(0x1de)](_0x1c2758),[];if(!_0x2ec05e[_0xf1d0a5(0x1e4)][_0x5f2270]||!Array[_0xf1d0a5(0x230)](_0x2ec05e['logObjects'][_0x5f2270])||_0x4a4f57[_0xf1d0a5(0x233)](_0x2ec05e[_0xf1d0a5(0x1e4)][_0x5f2270][_0xf1d0a5(0x1d8)],0x0))return logger[_0xf1d0a5(0x212)](_0xf1d0a5(0x213)+_0x5f2270),_0x4a4f57['OhbYQ'](_0x1c2758),[];const _0xa659c1=[..._0x2ec05e[_0xf1d0a5(0x1e4)][_0x5f2270]];return logger[_0xf1d0a5(0x212)]('readLogObjects:\x20Retrieved\x20'+_0xa659c1[_0xf1d0a5(0x1d8)]+_0xf1d0a5(0x1ba)+_0x5f2270),_0x2ec05e[_0xf1d0a5(0x1e4)][_0x5f2270]=[],this['tests'][_0x5f2270]=_0x2ec05e,fs[_0xf1d0a5(0x21b)](_0x98d745,JSON[_0xf1d0a5(0x1c6)](this[_0xf1d0a5(0x210)][_0x5f2270])),_0x4a4f57['JDHAU'](_0x1c2758),_0xa659c1;}catch(_0xe91ad3){return logger[_0xf1d0a5(0x212)](_0xf1d0a5(0x1b8)+_0x98d745+':\x20'+util[_0xf1d0a5(0x1b7)](_0xe91ad3)+'.\x20Unable\x20to\x20retrieve\x20log\x20objects.'),[];}}static[a82_0x581c35(0x1fa)](_0x29cc3a){const _0xfc32c4=a82_0x581c35,_0x500a92={};_0x500a92[_0xfc32c4(0x1cc)]=_0xfc32c4(0x1e9);const _0x2869f5=_0x500a92;try{const _0x5c11d4=process[_0xfc32c4(0x223)],_0x4f7651=path['join'](TestInfo[_0xfc32c4(0x201)](),_0x5c11d4+_0xfc32c4(0x1c0));let _0xd5a7e2=[];fs['existsSync'](_0x4f7651)&&(_0xd5a7e2=JSON['parse'](fs[_0xfc32c4(0x235)](_0x4f7651)[_0xfc32c4(0x1d7)]()));if(!_0xd5a7e2[_0xfc32c4(0x1fb)](_0x5d956c=>_0x5d956c['filePath']===_0x29cc3a[_0xfc32c4(0x1e5)])){_0xd5a7e2[_0xfc32c4(0x1da)](_0x29cc3a);const _0x45e177=path[_0xfc32c4(0x206)](_0x4f7651);if(!fs['existsSync'](_0x45e177)){const _0xee2eb8={};_0xee2eb8[_0xfc32c4(0x22a)]=!![],fs[_0xfc32c4(0x1f1)](_0x45e177,_0xee2eb8);}fs[_0xfc32c4(0x21b)](_0x4f7651,JSON[_0xfc32c4(0x1c6)](_0xd5a7e2));}}catch(_0x277d87){logger[_0xfc32c4(0x209)](util[_0xfc32c4(0x1b7)](_0x2869f5[_0xfc32c4(0x1cc)],_0x277d87));}}static[a82_0x581c35(0x1ed)](){const _0x273ca0=a82_0x581c35,_0x107f60={};_0x107f60[_0x273ca0(0x1ff)]=_0x273ca0(0x1c0),_0x107f60[_0x273ca0(0x1b2)]=_0x273ca0(0x21f);const _0x305af8=_0x107f60,_0x5cc71f=[];try{const _0x34dd9c=TestInfo[_0x273ca0(0x201)]();if(!fs[_0x273ca0(0x1c4)](_0x34dd9c))return _0x5cc71f;const _0x3e6c5c=fs[_0x273ca0(0x1f8)](_0x34dd9c);_0x3e6c5c[_0x273ca0(0x1c1)](_0x2a0feb=>{const _0x41e2be=_0x273ca0;if(_0x2a0feb['endsWith'](_0x305af8[_0x41e2be(0x1ff)])){const _0x4de82e=JSON['parse'](fs[_0x41e2be(0x235)](path[_0x41e2be(0x1f3)](_0x34dd9c,_0x2a0feb))[_0x41e2be(0x1d7)]());_0x5cc71f[_0x41e2be(0x1da)](..._0x4de82e);}});}catch(_0x4afc60){logger[_0x273ca0(0x209)](util[_0x273ca0(0x1b7)](_0x305af8[_0x273ca0(0x1b2)],_0x4afc60));}const _0x475f48={};return _0x5cc71f['forEach'](_0x5bca7f=>{const _0x157907=_0x273ca0;_0x475f48[_0x5bca7f[_0x157907(0x1e5)]]=_0x5bca7f;}),Object[_0x273ca0(0x20c)](_0x475f48);}static['appendToTracePaths'](_0x4a0e8e,_0x56040c){const _0x36734d=a82_0x581c35,_0x40e73e={};_0x40e73e[_0x36734d(0x21d)]=_0x36734d(0x205),_0x40e73e['zAQsR']=_0x36734d(0x1f9),_0x40e73e[_0x36734d(0x1b0)]='Error\x20writing\x20trace\x20file:\x20%O';const _0x1df525=_0x40e73e;try{const _0x3db12d=path[_0x36734d(0x1f3)](helper['homedir'](),_0x1df525[_0x36734d(0x21d)]);if(!fs['existsSync'](_0x3db12d)){const _0x91b4ba={};_0x91b4ba['recursive']=!![],fs['mkdirSync'](_0x3db12d,_0x91b4ba);}fs[_0x36734d(0x21c)](path[_0x36734d(0x1f3)](_0x3db12d,_0x36734d(0x1e7)+_0x56040c+_0x36734d(0x1c7)),_0x4a0e8e+'\x0a',_0x1df525['zAQsR']);}catch(_0xd1ff1c){logger['error'](util[_0x36734d(0x1b7)](_0x1df525['euJJz'],_0xd1ff1c));}}}module[a82_0x581c35(0x1e1)]=TestInfo;
@@ -1 +1 @@
1
- function a83_0x42f2(_0x5064fa,_0x3fc520){const _0x520040=a83_0x5200();return a83_0x42f2=function(_0x42f296,_0xf77d5e){_0x42f296=_0x42f296-0xab;let _0xb865dc=_0x520040[_0x42f296];return _0xb865dc;},a83_0x42f2(_0x5064fa,_0x3fc520);}const a83_0x30d0a3=a83_0x42f2;(function(_0x5b34c4,_0x53ff94){const _0x4b8777=a83_0x42f2,_0x33d7af=_0x5b34c4();while(!![]){try{const _0x43fefd=-parseInt(_0x4b8777(0x114))/0x1*(parseInt(_0x4b8777(0x150))/0x2)+parseInt(_0x4b8777(0xbf))/0x3*(-parseInt(_0x4b8777(0x1fb))/0x4)+parseInt(_0x4b8777(0xac))/0x5*(-parseInt(_0x4b8777(0xb1))/0x6)+-parseInt(_0x4b8777(0x152))/0x7*(-parseInt(_0x4b8777(0xc4))/0x8)+-parseInt(_0x4b8777(0x151))/0x9*(parseInt(_0x4b8777(0x18b))/0xa)+-parseInt(_0x4b8777(0xee))/0xb+parseInt(_0x4b8777(0x1bc))/0xc;if(_0x43fefd===_0x53ff94)break;else _0x33d7af['push'](_0x33d7af['shift']());}catch(_0x101f70){_0x33d7af['push'](_0x33d7af['shift']());}}}(a83_0x5200,0x97fb7));const {spawn}=require(a83_0x30d0a3(0x14b)),GrpcClient=require(a83_0x30d0a3(0x19e)),util=require(a83_0x30d0a3(0x162)),CLIUtils=require('./cliUtils.js'),PlaywrightAutomationFramework=require(a83_0x30d0a3(0x155)),PuppeteerAutomationFramework=require(a83_0x30d0a3(0xde)),TestCafeAutomationFramework=require(a83_0x30d0a3(0x133)),PlaywrightTestFramework=require('./framework/playwrightTestFramework.js'),CucumberTestFramework=require(a83_0x30d0a3(0x1e0)),JestTestFramework=require(a83_0x30d0a3(0x1a1)),TestCafeTestFramework=require(a83_0x30d0a3(0xfc)),{createClassLogger}=require(a83_0x30d0a3(0x1dc)),PerformanceTester=require(a83_0x30d0a3(0x1e1)),{EVENTS:PerformanceEvents}=require('../../helpers/performance/constants'),AccessibilityModule=require('./modules/accessibilityModule.js'),{CLI_SUPPORTED_FRAMEWORKS,FRAMEWORKS,BINARY_BUSY_ERROR_CODES,MAX_SPAWN_RETRIES,SPAWN_RETRY_DELAY_MS}=require('../utils/constants.js'),helper=require(a83_0x30d0a3(0x1f9)),TestFrameworkConstants=require(a83_0x30d0a3(0x107)),buildLogger=require(a83_0x30d0a3(0x1e8))[a83_0x30d0a3(0xab)],LoadTestModule=require('./modules/loadTestModule.js'),TestInfo=require(a83_0x30d0a3(0x170));let _fallbackWarningEmitted=![];function emitFallbackWarningOnce(_0x475420,_0x3b3be7){const _0x531b05=a83_0x30d0a3,_0x1bc490={};_0x1bc490[_0x531b05(0x1bd)]=_0x531b05(0x121),_0x1bc490[_0x531b05(0x171)]=_0x531b05(0x149),_0x1bc490[_0x531b05(0x1e6)]=_0x531b05(0x11d),_0x1bc490[_0x531b05(0x1ed)]=function(_0x138237,_0xc58a6e){return _0x138237+_0xc58a6e;};const _0x4c6b8d=_0x1bc490;if(_fallbackWarningEmitted)return;_fallbackWarningEmitted=!![];const _0x47dbc2=['',_0x4c6b8d[_0x531b05(0x1bd)],_0x4c6b8d[_0x531b05(0x171)],_0x4c6b8d[_0x531b05(0x1e6)]];_0x475420&&_0x47dbc2['push'](_0x531b05(0x1cd)+_0x475420);_0x3b3be7&&_0x47dbc2[_0x531b05(0x1c8)](_0x531b05(0xc5)+(_0x3b3be7&&_0x3b3be7[_0x531b05(0xcd)]||util['format'](_0x3b3be7)));_0x47dbc2[_0x531b05(0x1c8)](_0x4c6b8d['fhsfS']);const _0x1ed8bb=_0x47dbc2[_0x531b05(0x13b)]('\x0a');try{process[_0x531b05(0x1df)][_0x531b05(0x1f4)](_0x4c6b8d[_0x531b05(0x1ed)](_0x1ed8bb,'\x0a'));}catch(_0x545469){}}class BrowserstackCLI{static #instance=null;static ['BuildLink']=null;static [a83_0x30d0a3(0x1b3)]=null;static [a83_0x30d0a3(0xe3)]=null;static [a83_0x30d0a3(0x11c)]=![];[a83_0x30d0a3(0x153)]=null;[a83_0x30d0a3(0xe9)]=![];[a83_0x30d0a3(0x15e)]=![];['_modulesLoaded']=![];[a83_0x30d0a3(0xbe)]=null;['modules']={};[a83_0x30d0a3(0x1bb)]=null;[a83_0x30d0a3(0x16e)]=null;[a83_0x30d0a3(0x1a9)]=createClassLogger('BrowserstackCLI');constructor(){const _0x1b1b56=a83_0x30d0a3;this[_0x1b1b56(0xf4)]=![],this[_0x1b1b56(0xbc)]={},this[_0x1b1b56(0x1cc)]={},this[_0x1b1b56(0x1d3)]={};}static[a83_0x30d0a3(0x118)](){return!BrowserstackCLI.#instance&&(BrowserstackCLI.#instance=new BrowserstackCLI()),BrowserstackCLI.#instance;}async[a83_0x30d0a3(0xf3)](){const _0x22b4c6=a83_0x30d0a3,_0x38172f={'OAYkD':'Disabling\x20CLI.','wExCB':'3|2|4|1|0','ZOifw':function(_0x34a57c,_0x35daf4){return _0x34a57c===_0x35daf4;},'mxqLd':_0x22b4c6(0x144),'YofUj':function(_0x4b4c82,_0x3ea141,_0x49c1ca){return _0x4b4c82(_0x3ea141,_0x49c1ca);},'LFxpn':_0x22b4c6(0xf8)};if(helper[_0x22b4c6(0x1b6)](process[_0x22b4c6(0x195)][_0x22b4c6(0x1f0)])){this[_0x22b4c6(0x1a9)][_0x22b4c6(0x130)](_0x38172f[_0x22b4c6(0x1fc)]);return;}PerformanceTester[_0x22b4c6(0x1cb)](PerformanceEvents[_0x22b4c6(0x1d4)]);try{const _0x5b2bbc=process[_0x22b4c6(0x195)][_0x22b4c6(0x166)]||null;this[_0x22b4c6(0x138)](),this[_0x22b4c6(0x10e)]();if(_0x5b2bbc){await this[_0x22b4c6(0xe7)](_0x5b2bbc),PerformanceTester[_0x22b4c6(0x110)](PerformanceEvents['SDK_CLI_ON_BOOTSTRAP']);return;}await this[_0x22b4c6(0x1b7)]();}catch(_0x3b5a52){const _0x2307a9=_0x38172f[_0x22b4c6(0x1d2)][_0x22b4c6(0x132)]('|');let _0x256b80=0x0;while(!![]){switch(_0x2307a9[_0x256b80++]){case'0':PerformanceTester[_0x22b4c6(0x110)](PerformanceEvents[_0x22b4c6(0x1d4)],![],util['format'](_0x3b5a52));continue;case'1':try{this['process']&&_0x38172f[_0x22b4c6(0x1b4)](this[_0x22b4c6(0x153)][_0x22b4c6(0x1c2)],null)&&(this['logger'][_0x22b4c6(0x123)](_0x38172f[_0x22b4c6(0x17d)]),this['process'][_0x22b4c6(0x1f1)](),this['isMainConnected']=![]);}catch(_0x5a234d){this[_0x22b4c6(0x1a9)][_0x22b4c6(0x13e)](_0x22b4c6(0x104)+util[_0x22b4c6(0x178)](_0x5a234d)+')');}continue;case'2':_0x38172f['YofUj'](emitFallbackWarningOnce,_0x38172f['LFxpn'],_0x3b5a52);continue;case'3':this[_0x22b4c6(0x1a9)][_0x22b4c6(0x142)](_0x22b4c6(0x1a3)+(_0x3b5a52[_0x22b4c6(0xcd)]||_0x3b5a52));continue;case'4':await this[_0x22b4c6(0xf6)]();continue;}break;}}}async[a83_0x30d0a3(0x1b7)](){const _0x3c6820=a83_0x30d0a3,_0x29cd15={};_0x29cd15['CezDA']=_0x3c6820(0x120),_0x29cd15[_0x3c6820(0x17a)]=_0x3c6820(0xe4);const _0x3608ff=_0x29cd15;this['logger'][_0x3c6820(0x130)](_0x3608ff[_0x3c6820(0x1d1)]),await this[_0x3c6820(0x1cb)](),this[_0x3c6820(0x1a9)][_0x3c6820(0x13e)](_0x3608ff[_0x3c6820(0x17a)]);const _0x953c31=await GrpcClient[_0x3c6820(0x118)]()['startBinSession']();this[_0x3c6820(0xe9)]=!![],this[_0x3c6820(0xe1)](_0x953c31);}[a83_0x30d0a3(0xe1)](_0x40b57d){const _0x414f78=a83_0x30d0a3,_0x61a3df={'frBQT':function(_0x1dae1d,_0x34c503){return _0x1dae1d(_0x34c503);},'sxYIp':_0x414f78(0x137),'ElKhv':_0x414f78(0x1f7),'fwWll':_0x414f78(0x157),'EIVwa':_0x414f78(0x1dd),'hzjYv':'getObservability','wrQmh':_0x414f78(0xed),'eLEVe':_0x414f78(0x1eb),'RtQHp':function(_0x1a8af9,_0xb0fded){return _0x1a8af9||_0xb0fded;},'LBJQg':function(_0x4eae22,_0x5deb0e){return _0x4eae22!==_0x5deb0e;},'FNjUj':function(_0x390b48,_0x1da8ab){return _0x390b48!==_0x1da8ab;},'JKmhk':function(_0x589455,_0x3a367a){return _0x589455===_0x3a367a;},'JybQE':'function','APoIE':function(_0x3686d0,_0xe908f1){return _0x3686d0&&_0xe908f1;},'nlrdK':function(_0x506cd6,_0x11b472){return _0x506cd6===_0x11b472;},'bTBck':_0x414f78(0x196),'kqBGb':function(_0x121a7f,_0x22148e){return _0x121a7f===_0x22148e;},'KUJzG':_0x414f78(0x1ae),'vZlmU':function(_0x42b05c,_0x183b1d){return _0x42b05c===_0x183b1d;},'sqrqI':function(_0x378fd2,_0x46ce96){return _0x378fd2(_0x46ce96);},'VSMDd':_0x414f78(0xcf)},_0x4eaa4e=_0x61a3df['frBQT'](require,_0x61a3df[_0x414f78(0x182)]),_0x5abb44=_0x61a3df[_0x414f78(0x1d0)](require,_0x61a3df[_0x414f78(0x1b5)]),_0x3b4037=_0x61a3df['frBQT'](require,_0x61a3df[_0x414f78(0x119)]);this['logger']['info'](_0x61a3df[_0x414f78(0x17b)]),this['binSessionId']=_0x40b57d['getBinSessionId'](),this['logger'][_0x414f78(0x130)](_0x414f78(0xea)+this['binSessionId']),this[_0x414f78(0x194)](_0x40b57d),this[_0x414f78(0x1e3)]();!this[_0x414f78(0x15e)]&&this[_0x414f78(0x179)](_0x40b57d);const _0x214c47=_0x61a3df['hzjYv'],_0x4c9259=_0x61a3df[_0x414f78(0x172)],_0x3789ae=_0x61a3df['eLEVe'],_0x4d2900=_0x40b57d[_0x214c47]()&&_0x40b57d[_0x214c47]()[_0x3789ae](),_0x3a3baa=_0x40b57d[_0x4c9259]()&&_0x40b57d[_0x4c9259]()[_0x3789ae](),_0x27cb00=process['env'][_0x414f78(0x156)]&&JSON[_0x414f78(0x1b8)](process['env'][_0x414f78(0x156)]);_0x61a3df[_0x414f78(0x190)](_0x4d2900,_0x3a3baa)&&(this[_0x414f78(0x11f)][_0x5abb44['MODULE_NAME']]=new _0x5abb44(_0x40b57d[_0x414f78(0xc9)](),_0x27cb00));_0x4d2900&&(this[_0x414f78(0x11f)][_0x3b4037[_0x414f78(0x1c7)]]=new _0x3b4037(_0x40b57d[_0x214c47]()));if(_0x3a3baa){this[_0x414f78(0x11f)][AccessibilityModule[_0x414f78(0x1c7)]]=new AccessibilityModule(_0x40b57d[_0x4c9259]());const _0x3078bc=this[_0x414f78(0xbc)]&&_0x61a3df[_0x414f78(0x1ca)](this[_0x414f78(0xbc)][_0x414f78(0x124)],undefined)&&_0x61a3df[_0x414f78(0xd8)](this[_0x414f78(0xbc)][_0x414f78(0x124)],null);BrowserstackCLI[_0x414f78(0x11c)]=!_0x3078bc;}else try{const _0x464f92=_0x40b57d[_0x4c9259](),_0x1e28e0=_0x464f92&&_0x61a3df['JKmhk'](typeof _0x464f92[_0x3789ae],_0x61a3df[_0x414f78(0xb6)])?!!_0x464f92[_0x3789ae]():![];this[_0x414f78(0x1a9)][_0x414f78(0x130)](_0x414f78(0xeb)+_0x1e28e0);if(_0x61a3df[_0x414f78(0x112)](!_0x1e28e0,_0x464f92)){const _0x4bad90=_0x464f92[_0x414f78(0x165)]?_0x464f92[_0x414f78(0x165)]():_0x464f92;_0x4bad90[_0x414f78(0x13d)]&&Array['isArray'](_0x4bad90[_0x414f78(0x13d)])&&(this['logger']['error']('Accessibility\x20initialization\x20failed\x20with\x20'+_0x4bad90[_0x414f78(0x13d)][_0x414f78(0x164)]+_0x414f78(0x10a)),_0x4bad90[_0x414f78(0x13d)][_0x414f78(0x147)]((_0x1aa1b8,_0x1db642)=>{const _0x358f24=_0x414f78;this[_0x358f24(0x1a9)][_0x358f24(0x142)](_0x358f24(0x160)+_0x1aa1b8[_0x358f24(0x176)]+']\x20'+_0x1aa1b8[_0x358f24(0x18e)]);}),_0x4bad90[_0x414f78(0xdd)]&&this[_0x414f78(0x1a9)]['error'](_0x414f78(0x1ce)+_0x4bad90[_0x414f78(0xdd)]),_0x4bad90[_0x414f78(0x19b)]&&this[_0x414f78(0x1a9)][_0x414f78(0x142)](_0x414f78(0x12c)+_0x4bad90[_0x414f78(0x19b)]));}}catch(_0x340d76){this[_0x414f78(0x1a9)][_0x414f78(0x142)](_0x414f78(0x199)+_0x340d76);}const _0x5a6584=CLIUtils[_0x414f78(0x1d8)](),_0x3bfb5b=CLIUtils[_0x414f78(0x183)]();if(_0x61a3df[_0x414f78(0x140)](_0x5a6584[_0x414f78(0xcb)][_0x414f78(0x18c)](),FRAMEWORKS[_0x414f78(0x1c4)][_0x414f78(0x18c)]()))this[_0x414f78(0x1a9)][_0x414f78(0x130)](_0x61a3df[_0x414f78(0xd1)]);else{if(_0x61a3df[_0x414f78(0xe5)](_0x5a6584['name'][_0x414f78(0x18c)](),FRAMEWORKS['PUPPETEER'][_0x414f78(0x18c)]())){const _0x5bec05=_0x61a3df['frBQT'](require,_0x61a3df[_0x414f78(0x101)]);this[_0x414f78(0x11f)][_0x5bec05[_0x414f78(0x1c7)]]=new _0x5bec05(_0x27cb00);}else{if(_0x5a6584[_0x414f78(0xcb)]&&_0x61a3df['vZlmU'](_0x5a6584[_0x414f78(0xcb)]['toLowerCase'](),FRAMEWORKS[_0x414f78(0xca)][_0x414f78(0x18c)]())){const _0x2a2f26=_0x61a3df[_0x414f78(0x12e)](require,_0x61a3df[_0x414f78(0x12f)]);this[_0x414f78(0x11f)][_0x2a2f26['MODULE_NAME']]=new _0x2a2f26(_0x27cb00);}else this[_0x414f78(0x11f)][_0x4eaa4e['MODULE_NAME']]=new _0x4eaa4e(_0x27cb00);}}this['_modulesLoaded']=!![],this[_0x414f78(0x174)]();}[a83_0x30d0a3(0x109)](){const _0x1c0e83=a83_0x30d0a3;return this[_0x1c0e83(0x11f)][AccessibilityModule[_0x1c0e83(0x1c7)]];}async[a83_0x30d0a3(0x174)](){const _0x589bf3=a83_0x30d0a3;for(const _0x5e9ff8 in this[_0x589bf3(0x11f)]){const _0x126c85=this['modules'][_0x5e9ff8];await _0x126c85[_0x589bf3(0x16a)](this[_0x589bf3(0xbe)],0x0,GrpcClient[_0x589bf3(0x118)]()[_0x589bf3(0xb7)],this[_0x589bf3(0xbc)]);}}async[a83_0x30d0a3(0x1cb)](){const _0xb60b9d=a83_0x30d0a3,_0x107d04={'xNYhM':_0xb60b9d(0x17c),'CmGZS':_0xb60b9d(0x13c),'FJfMK':function(_0x1e1599,_0x16ee50){return _0x1e1599<=_0x16ee50;},'hqOzM':function(_0xa92ead,_0x48077c){return _0xa92ead>_0x48077c;},'KpUWq':function(_0x1788b3,_0x2ae3a7){return _0x1788b3<_0x2ae3a7;},'EsjGQ':_0xb60b9d(0xf9),'uiKju':function(_0x4c2c02,_0x4cc5eb,_0x31548c){return _0x4c2c02(_0x4cc5eb,_0x31548c);},'lVGkC':'binary\x20spawn\x20failed'};PerformanceTester[_0xb60b9d(0x1cb)](PerformanceEvents['SDK_CLI_START']);if(CLIUtils[_0xb60b9d(0x1de)]())return this[_0xb60b9d(0xf2)](CLIUtils['getCLIParamsForDevEnv']()),PerformanceTester[_0xb60b9d(0x110)](PerformanceEvents[_0xb60b9d(0x1c3)]),Promise['resolve']();if(this[_0xb60b9d(0x153)]&&this['process'][_0xb60b9d(0x1d7)])return PerformanceTester[_0xb60b9d(0x110)](PerformanceEvents[_0xb60b9d(0x1c3)]),Promise['resolve']();const _0x352407=await this[_0xb60b9d(0x18a)]();if(!_0x352407)throw new Error(_0x107d04[_0xb60b9d(0x12a)]);const _0x38399c=[_0x352407,_0x107d04[_0xb60b9d(0xd0)]];this[_0xb60b9d(0x1a9)][_0xb60b9d(0x130)](_0xb60b9d(0x1c1)+_0x38399c+'\x27');for(let _0x146516=0x1;_0x107d04[_0xb60b9d(0xfb)](_0x146516,MAX_SPAWN_RETRIES);_0x146516++){try{await this[_0xb60b9d(0x1ac)](_0x38399c);_0x107d04[_0xb60b9d(0xc7)](_0x146516,0x1)&&this[_0xb60b9d(0x1a9)][_0xb60b9d(0x130)](_0xb60b9d(0x1f5)+_0x146516+'/'+MAX_SPAWN_RETRIES);break;}catch(_0x5e4e2d){if(BINARY_BUSY_ERROR_CODES[_0xb60b9d(0x163)](_0x5e4e2d[_0xb60b9d(0x19b)])&&_0x107d04[_0xb60b9d(0x1fa)](_0x146516,MAX_SPAWN_RETRIES))this['logger'][_0xb60b9d(0x123)](_0xb60b9d(0xd5)+_0x5e4e2d[_0xb60b9d(0x19b)]+_0xb60b9d(0x1e4)+_0x146516+'/'+MAX_SPAWN_RETRIES+_0xb60b9d(0x1a8)+SPAWN_RETRY_DELAY_MS+'ms...'),this[_0xb60b9d(0x153)]&&(this[_0xb60b9d(0x153)][_0xb60b9d(0x1f2)](),!this[_0xb60b9d(0x153)][_0xb60b9d(0x1d6)]&&this[_0xb60b9d(0x153)][_0xb60b9d(0x1f1)](_0x107d04[_0xb60b9d(0x173)]),this[_0xb60b9d(0x153)]=null),await new Promise(_0x1775a6=>setTimeout(_0x1775a6,SPAWN_RETRY_DELAY_MS));else{_0x107d04[_0xb60b9d(0x11b)](emitFallbackWarningOnce,_0x107d04[_0xb60b9d(0x1a2)],_0x5e4e2d);throw _0x5e4e2d;}}}}['_spawnAndAwaitReady'](_0x31258f){const _0x21e22d=a83_0x30d0a3,_0x5b87bf={'IsKFW':function(_0x2aa8db,_0x380414){return _0x2aa8db!==_0x380414;},'oqQgw':_0x21e22d(0xae),'xmspQ':_0x21e22d(0x19f),'fGRGW':function(_0x4d9524){return _0x4d9524();},'PJbDh':'close','KrvAD':_0x21e22d(0x142),'fmVfs':function(_0x5a88d3,_0x4ca803){return _0x5a88d3(_0x4ca803);},'HRUvO':function(_0xa57e52,_0xcc9421){return _0xa57e52!==_0xcc9421;},'UNnep':function(_0x244b8b,_0x5a5b70,_0x2b2c8f,_0x2a8403){return _0x244b8b(_0x5a5b70,_0x2b2c8f,_0x2a8403);},'HvBef':function(_0x5a1b47,_0x16105c){return _0x5a1b47(_0x16105c);},'siXnT':'failed\x20to\x20start\x20CLI,\x20no\x20PID\x20found','CkhKa':_0x21e22d(0xb2)};return new Promise((_0x58d7c9,_0x19f044)=>{const _0x1192dd=_0x21e22d,_0x48cd34={'xAamc':function(_0x198943,_0x53fedb){const _0x10cd9b=a83_0x42f2;return _0x5b87bf[_0x10cd9b(0x1ba)](_0x198943,_0x53fedb);},'ORlDK':function(_0x129346,_0x33aabe){const _0x3b4a64=a83_0x42f2;return _0x5b87bf[_0x3b4a64(0x16c)](_0x129346,_0x33aabe);},'gwZWL':function(_0x50b34f,_0x3bd844){const _0x43f9f5=a83_0x42f2;return _0x5b87bf[_0x43f9f5(0xc3)](_0x50b34f,_0x3bd844);}},_0x3e8c3a={};_0x3e8c3a[_0x1192dd(0x195)]=process[_0x1192dd(0x195)],this[_0x1192dd(0x153)]=_0x5b87bf[_0x1192dd(0x134)](spawn,_0x31258f[0x0],_0x31258f[_0x1192dd(0xfa)](0x1),_0x3e8c3a);if(!this[_0x1192dd(0x153)]||!this[_0x1192dd(0x153)][_0x1192dd(0xf7)]){_0x5b87bf[_0x1192dd(0x18d)](_0x19f044,new Error(_0x5b87bf[_0x1192dd(0x14a)]));return;}const _0x49620e={};this[_0x1192dd(0x153)][_0x1192dd(0x15b)]['on'](_0x5b87bf[_0x1192dd(0xf5)],_0x5abfea=>{const _0x584be0=_0x1192dd,_0x4ce032=_0x5abfea[_0x584be0(0x122)]()[_0x584be0(0xb8)]()[_0x584be0(0x132)]('\x0a');for(const _0x194633 of _0x4ce032){if(/^(id|listen|port)=.*$/[_0x584be0(0x10c)](_0x194633)){const [_0x3538a8,_0x298dce]=_0x194633[_0x584be0(0x132)]('=',0x2);_0x5b87bf[_0x584be0(0x1ba)](_0x298dce,undefined)&&(_0x49620e[_0x3538a8]=_0x298dce);}if(_0x194633[_0x584be0(0x18c)]()['includes'](_0x5b87bf[_0x584be0(0x168)])){const _0x28d15e=_0x5b87bf[_0x584be0(0x12d)]['split']('|');let _0x1f09bd=0x0;while(!![]){switch(_0x28d15e[_0x1f09bd++]){case'0':return;case'1':this[_0x584be0(0xf2)](_0x49620e);continue;case'2':_0x5b87bf['fGRGW'](_0x58d7c9);continue;case'3':this[_0x584be0(0x153)]['on'](_0x5b87bf[_0x584be0(0x184)],_0x5c9321=>{const _0x4a1bf6=_0x584be0;_0x48cd34['xAamc'](_0x5c9321,0x0)&&this[_0x4a1bf6(0x1a9)][_0x4a1bf6(0x142)]('CLI\x20process\x20exited\x20with\x20code\x20'+_0x5c9321+'\x20after\x20ready\x20—\x20gRPC\x20calls\x20will\x20fail');});continue;case'4':this['process'][_0x584be0(0x1f2)](_0x5b87bf[_0x584be0(0x184)]);continue;case'5':this[_0x584be0(0x153)][_0x584be0(0x1f2)](_0x5b87bf[_0x584be0(0x1a0)]);continue;case'6':this[_0x584be0(0x153)]['on'](_0x5b87bf['KrvAD'],_0x54887b=>{const _0x47e155=_0x584be0;this[_0x47e155(0x1a9)]['error'](_0x47e155(0x1a5)+_0x54887b[_0x47e155(0x19b)]+_0x47e155(0x17f)+_0x54887b[_0x47e155(0x18e)]);});continue;case'7':PerformanceTester[_0x584be0(0x110)](PerformanceEvents[_0x584be0(0x1c3)]);continue;}break;}}}}),this[_0x1192dd(0x153)][_0x1192dd(0x1df)]['on'](_0x5b87bf['CkhKa'],_0x4abed1=>{const _0x3456a7=_0x1192dd;this[_0x3456a7(0x1a9)][_0x3456a7(0x142)](_0x3456a7(0xc2)+_0x4abed1['toString']()[_0x3456a7(0xb8)]());}),this[_0x1192dd(0x153)]['on'](_0x5b87bf[_0x1192dd(0x1a0)],_0xbaadf5=>{const _0x3985de=_0x1192dd;_0x49620e[_0x3985de(0x142)]='Error\x20in\x20start\x20(code='+_0xbaadf5['code']+_0x3985de(0xfd)+_0xbaadf5['message'],PerformanceTester[_0x3985de(0x110)](PerformanceEvents[_0x3985de(0x1c3)],![],_0xbaadf5),_0x48cd34[_0x3985de(0xec)](_0x19f044,_0xbaadf5);}),this[_0x1192dd(0x153)]['on'](_0x5b87bf[_0x1192dd(0x184)],_0x1783cf=>{const _0xbc7719=_0x1192dd;_0x48cd34[_0xbc7719(0x14e)](_0x1783cf,0x0)&&_0x48cd34['ORlDK'](_0x19f044,new Error(_0xbc7719(0x106)+_0x1783cf));});});}async['stop'](_0x1c20b5=null){const _0x3e4bb4=a83_0x30d0a3,_0x34f919={'gjKAU':_0x3e4bb4(0xd2),'pwKCR':function(_0xeef3e6){return _0xeef3e6();},'Dtpxz':_0x3e4bb4(0x16d),'rhleE':_0x3e4bb4(0xf9),'TfiWn':function(_0x1e2e74){return _0x1e2e74();},'qwkWN':_0x3e4bb4(0x159),'lnEKb':function(_0x2eb945,_0x414588,_0x428091){return _0x2eb945(_0x414588,_0x428091);},'VZyEN':_0x3e4bb4(0x12b),'PVMnQ':'stop:\x20CLI\x20stop\x20triggered','Wjdtw':function(_0x58e562,_0x186be3){return _0x58e562(_0x186be3);},'qlSTQ':_0x3e4bb4(0x129),'PpVty':function(_0x53d5b1,_0x3fe8d6){return _0x53d5b1(_0x3fe8d6);},'WsatF':_0x3e4bb4(0x11e),'qSuUq':function(_0x390fd0,_0x229f15){return _0x390fd0!==_0x229f15;},'DBlkI':'null','kHbEG':function(_0x12c83b,_0x2c2161){return _0x12c83b>_0x2c2161;},'Xhhbd':_0x3e4bb4(0x198),'EausB':'stop:\x20error\x20in\x20closing\x20channel:\x20%s','yDFKH':_0x3e4bb4(0x154)};if(!this[_0x3e4bb4(0x191)]()){this[_0x3e4bb4(0x1a9)][_0x3e4bb4(0x130)](_0x34f919[_0x3e4bb4(0x145)]);return;}PerformanceTester[_0x3e4bb4(0x1cb)](PerformanceEvents[_0x3e4bb4(0x11a)]),this[_0x3e4bb4(0x1a9)][_0x3e4bb4(0x130)](_0x34f919['PVMnQ']);try{if(this[_0x3e4bb4(0xe9)]){const _0x11a330=_0x34f919['Wjdtw'](require,_0x34f919[_0x3e4bb4(0x19c)]),_0x201481=this[_0x3e4bb4(0x11f)][_0x3e4bb4(0xc0)]?.[_0x3e4bb4(0x15f)]?.[_0x3e4bb4(0x165)]()?.['buildHashedId'];try{const _0x7312db=_0x34f919[_0x3e4bb4(0x1f3)](require,_0x34f919[_0x3e4bb4(0x141)]),_0x8ee28f=process[_0x3e4bb4(0x195)][_0x3e4bb4(0x13a)];if(_0x8ee28f&&_0x34f919[_0x3e4bb4(0x1ab)](_0x8ee28f,_0x34f919[_0x3e4bb4(0x103)])&&_0x201481){const _0x49ceb6=_0x7312db[_0x3e4bb4(0x1ec)](_0x8ee28f,_0x201481);if(_0x34f919[_0x3e4bb4(0x117)](_0x49ceb6,0x0)){const _0x28dcf9=TestInfo['getTestDetails'](_0x201481)||{},_0x3eb12d=_0x28dcf9[TestFrameworkConstants[_0x3e4bb4(0xc1)]]||{};for(const [_0x3b9493,_0x1289e6]of Object[_0x3e4bb4(0x1d9)](_0x7312db[_0x3e4bb4(0x14d)][_0x201481]||{})){Array['isArray'](_0x1289e6)&&_0x7312db[_0x3e4bb4(0x15c)](_0x3eb12d,_0x3b9493,_0x1289e6);}_0x28dcf9[TestFrameworkConstants[_0x3e4bb4(0xc1)]]=_0x3eb12d,TestInfo[_0x3e4bb4(0x116)](_0x201481,_0x28dcf9),this['logger'][_0x3e4bb4(0x130)](_0x3e4bb4(0x1af)+_0x49ceb6+'\x20worker\x20file(s)');}}}catch(_0x3dd37a){this[_0x3e4bb4(0x1a9)][_0x3e4bb4(0x142)]('stop:\x20build-level\x20tag\x20aggregation\x20failed:\x20'+(_0x3dd37a&&_0x3dd37a[_0x3e4bb4(0xcd)]?_0x3dd37a['stack']:_0x3dd37a));}const _0x5ea1ea=TestInfo[_0x3e4bb4(0x131)](_0x201481),_0x1b4d35=_0x5ea1ea[TestFrameworkConstants[_0x3e4bb4(0xc1)]]||{},_0x34f7a0=await GrpcClient['getInstance']()[_0x3e4bb4(0x146)](JSON[_0x3e4bb4(0x1e5)](_0x1b4d35),_0x1c20b5);_0x34f7a0&&_0x34f7a0[_0x3e4bb4(0x1eb)]()&&_0x34f7a0[_0x3e4bb4(0xad)]()&&(BrowserstackCLI[_0x3e4bb4(0x1a4)]=_0x34f7a0[_0x3e4bb4(0xad)](),BrowserstackCLI[_0x3e4bb4(0x1b3)]=_0x34f7a0[_0x3e4bb4(0xd3)]()),await _0x11a330['clearAttachments'](),TestInfo['shutdown'](),buildLogger[_0x3e4bb4(0x130)](_0x3e4bb4(0x1aa)+BrowserstackCLI[_0x3e4bb4(0x1a4)]+_0x3e4bb4(0xb0)+BrowserstackCLI[_0x3e4bb4(0x1b3)]+_0x3e4bb4(0x1b2)+BrowserstackCLI['O11yHashedID']);}await this['unConfigureModules']();const _0x1f6328=GrpcClient['getInstance']()[_0x3e4bb4(0x127)]();if(_0x1f6328){try{_0x1f6328['close'](),this[_0x3e4bb4(0x1a9)][_0x3e4bb4(0x130)](_0x34f919[_0x3e4bb4(0xda)]);}catch(_0x16457d){this[_0x3e4bb4(0x1a9)][_0x3e4bb4(0x142)](util[_0x3e4bb4(0x178)](_0x34f919['EausB'],_0x16457d));}await new Promise(_0x3e4e9a=>setTimeout(_0x3e4e9a,0x1388));}this['process']&&this[_0x3e4bb4(0x153)]['pid']&&(this['logger'][_0x3e4bb4(0x130)](_0x34f919[_0x3e4bb4(0xb5)]),this['process']['kill'](),await new Promise(_0x161fa1=>{const _0x567ae2=_0x3e4bb4,_0xf325b7={'vuAHF':_0x34f919[_0x567ae2(0x180)],'tcwBA':function(_0x3bdbbc){const _0x2aa60e=_0x567ae2;return _0x34f919[_0x2aa60e(0x19d)](_0x3bdbbc);},'nugOv':_0x34f919[_0x567ae2(0x185)],'qYxCK':_0x34f919[_0x567ae2(0xe8)],'PLorj':function(_0x1f3087){return _0x34f919['TfiWn'](_0x1f3087);}};let _0xd8ad79=![];this['process']['on'](_0x34f919[_0x567ae2(0xc6)],()=>{const _0x451288=_0x567ae2;this[_0x451288(0x1a9)][_0x451288(0x130)](_0xf325b7[_0x451288(0x1da)]),_0xd8ad79=!![],PerformanceTester[_0x451288(0x110)](PerformanceEvents['SDK_CLI_ON_STOP']),_0xf325b7[_0x451288(0x108)](_0x161fa1);}),_0x34f919[_0x567ae2(0x128)](setTimeout,()=>{const _0x1ed46c=_0x567ae2;!_0xd8ad79&&(this[_0x1ed46c(0x1a9)][_0x1ed46c(0x123)](_0xf325b7[_0x1ed46c(0x189)]),this[_0x1ed46c(0x153)][_0x1ed46c(0x1f1)](_0xf325b7[_0x1ed46c(0xd4)]),PerformanceTester[_0x1ed46c(0x110)](PerformanceEvents['SDK_CLI_ON_STOP']),_0xf325b7['PLorj'](_0x161fa1));},0xbb8);}));}catch(_0x6d4585){PerformanceTester[_0x3e4bb4(0x110)](PerformanceEvents['SDK_CLI_ON_STOP'],![],util[_0x3e4bb4(0x178)](_0x6d4585)),this['logger']['error'](_0x3e4bb4(0xb3)+(_0x6d4585[_0x3e4bb4(0xcd)]||_0x6d4585));}_0x1c20b5?this[_0x3e4bb4(0x153)]['exitCode']=0x1:this['process']['exitCode']=0x0,this['isChildConnected']=![],this[_0x3e4bb4(0xe9)]=![],process[_0x3e4bb4(0x195)]['BROWSERSTACK_CLI_ENV']=null;}async['unConfigureModules'](){const _0x504462=a83_0x30d0a3,_0x32bb7a={};_0x32bb7a[_0x504462(0x1e2)]=_0x504462(0x187);const _0x5f1fe6=_0x32bb7a;this['logger'][_0x504462(0x130)](_0x5f1fe6[_0x504462(0x1e2)]);}[a83_0x30d0a3(0xf2)](_0x4048e0){const _0x398259=a83_0x30d0a3;this[_0x398259(0x1a9)][_0x398259(0x130)](_0x398259(0x1ad)+JSON[_0x398259(0x1e5)](_0x4048e0)),this[_0x398259(0x102)]=_0x4048e0,GrpcClient[_0x398259(0x118)]()['init'](_0x4048e0);}async[a83_0x30d0a3(0xe7)](_0x3e926d){const _0x39b89b=a83_0x30d0a3,_0xaeb027={'aiRfk':_0x39b89b(0x1ee),'QXSlg':function(_0x1f86ed,_0x4a7cbb,_0x400e6e){return _0x1f86ed(_0x4a7cbb,_0x400e6e);},'nZXiR':_0x39b89b(0x177)};PerformanceTester['start'](PerformanceEvents[_0x39b89b(0x16b)]);try{this[_0x39b89b(0x1a9)]['info'](_0x39b89b(0xaf)+_0x3e926d);const _0x30604f=GrpcClient[_0x39b89b(0x118)]();if(_0x30604f&&_0x30604f[_0x39b89b(0xce)]()&&_0x30604f['getChannel']()){this[_0x39b89b(0x1a9)][_0x39b89b(0x130)](_0xaeb027[_0x39b89b(0xd9)]);return;}GrpcClient[_0x39b89b(0x118)]()[_0x39b89b(0x15a)]();const _0x4aae08=await GrpcClient[_0x39b89b(0x118)]()[_0x39b89b(0x10f)]();this[_0x39b89b(0x15e)]=!![],this['loadModules'](_0x4aae08),PerformanceTester[_0x39b89b(0x110)](PerformanceEvents[_0x39b89b(0x16b)]);}catch(_0x5a4456){PerformanceTester[_0x39b89b(0x110)](PerformanceEvents[_0x39b89b(0x16b)],![],util[_0x39b89b(0x178)](_0x5a4456)),this[_0x39b89b(0x1a9)][_0x39b89b(0x142)](_0x39b89b(0x10d)+util['format'](_0x5a4456)),_0xaeb027[_0x39b89b(0x1b9)](emitFallbackWarningOnce,_0xaeb027[_0x39b89b(0x125)],_0x5a4456);}}static['isCLIEnabled'](){try{return BrowserstackCLI['getInstance']()['isRunning']();}catch(_0x29de3a){return![];}}[a83_0x30d0a3(0x191)](){const _0x2c733c=a83_0x30d0a3,_0x228c57={};_0x228c57[_0x2c733c(0x18f)]=function(_0x227509,_0x54342e){return _0x227509!==_0x54342e;},_0x228c57[_0x2c733c(0xbb)]=function(_0x4229fc,_0x32ce09){return _0x4229fc===_0x32ce09;};const _0x4e19b5=_0x228c57;return CLIUtils[_0x2c733c(0x1de)]()||this[_0x2c733c(0xe9)]&&_0x4e19b5['MVKwG'](this[_0x2c733c(0x153)],null)&&_0x4e19b5['WkVbR'](this[_0x2c733c(0x153)][_0x2c733c(0x1c2)],null)&&_0x4e19b5[_0x2c733c(0x18f)](GrpcClient[_0x2c733c(0x118)]()[_0x2c733c(0xce)](),null)&&!GrpcClient[_0x2c733c(0x118)]()[_0x2c733c(0x127)]()[_0x2c733c(0x148)]||this[_0x2c733c(0x15e)]&&_0x4e19b5[_0x2c733c(0x18f)](GrpcClient[_0x2c733c(0x118)]()[_0x2c733c(0x127)](),null)&&!GrpcClient['getInstance']()[_0x2c733c(0x127)]()[_0x2c733c(0x148)];}[a83_0x30d0a3(0x111)](){const _0x543dd1=a83_0x30d0a3;return this['isRunning']()&&this[_0x543dd1(0xef)];}[a83_0x30d0a3(0x161)](){const _0x48a95c=a83_0x30d0a3;return this[_0x48a95c(0x1d3)];}['setBrowserstackConfig'](_0x4f86f4,_0x5a1a3e,_0x54d752=null){const _0x4d1d13=a83_0x30d0a3,_0x58b8b3={};_0x58b8b3[_0x4d1d13(0x167)]=function(_0x40dc2c,_0x4895be){return _0x40dc2c||_0x4895be;},_0x58b8b3[_0x4d1d13(0x1ef)]=function(_0x5740b8,_0x41366c){return _0x5740b8===_0x41366c;};const _0x5c2ec7=_0x58b8b3;this[_0x4d1d13(0x1d3)]=_0x5c2ec7['TYwqr'](_0x4f86f4,{}),this[_0x4d1d13(0x10b)]=_0x5a1a3e,this[_0x4d1d13(0x1b1)]=_0x54d752,process['env'][_0x4d1d13(0x1b0)]=this[_0x4d1d13(0x1d3)]?.[_0x4d1d13(0x14c)]||![];const _0x44ca27=CLIUtils[_0x4d1d13(0x183)](),_0x297c1f=CLIUtils[_0x4d1d13(0x1d8)]();LoadTestModule['isLTSSession'](this[_0x4d1d13(0x1d3)])&&LoadTestModule[_0x4d1d13(0x139)](this[_0x4d1d13(0x1d3)]||{});const _0x1d6b36=_0x5c2ec7[_0x4d1d13(0x1ef)](_0x44ca27[_0x4d1d13(0xcb)][_0x4d1d13(0x18c)](),FRAMEWORKS[_0x4d1d13(0x1c4)][_0x4d1d13(0x18c)]()),_0x53757d=CLI_SUPPORTED_FRAMEWORKS['includes'](_0x44ca27[_0x4d1d13(0xcb)][_0x4d1d13(0x18c)]()),_0x1c23cd=CLI_SUPPORTED_FRAMEWORKS['includes'](_0x297c1f[_0x4d1d13(0xcb)][_0x4d1d13(0x18c)]());helper[_0x4d1d13(0xe6)](process[_0x4d1d13(0x195)][_0x4d1d13(0x1b0)])||!(_0x53757d&&_0x5c2ec7['TYwqr'](_0x1c23cd,_0x1d6b36))?process['env'][_0x4d1d13(0x1f0)]=![]:process[_0x4d1d13(0x195)][_0x4d1d13(0x1f0)]=!![];}async[a83_0x30d0a3(0x18a)](){const _0x52ccf6=a83_0x30d0a3,_0x109fea={};_0x109fea[_0x52ccf6(0x1a6)]=_0x52ccf6(0x1e7),_0x109fea[_0x52ccf6(0x1be)]='CLIUtils.setupCliPath\x20returned\x20null';const _0x46e052=_0x109fea;if(!this[_0x52ccf6(0xbd)])try{this[_0x52ccf6(0x1a9)][_0x52ccf6(0x13e)](_0x46e052[_0x52ccf6(0x1a6)]),this[_0x52ccf6(0xbd)]=await CLIUtils[_0x52ccf6(0x13f)](this['browserstackConfig']),!this[_0x52ccf6(0xbd)]?this[_0x52ccf6(0x1a9)][_0x52ccf6(0x142)](_0x46e052[_0x52ccf6(0x1be)]):this[_0x52ccf6(0x1a9)][_0x52ccf6(0x13e)](_0x52ccf6(0x1ea)+this[_0x52ccf6(0xbd)]);}catch(_0x18f3fd){this[_0x52ccf6(0x1a9)][_0x52ccf6(0x142)](_0x52ccf6(0x1e9)+_0x18f3fd[_0x52ccf6(0x18e)]),this[_0x52ccf6(0xbd)]=null;}return this['SDK_CLI_BIN_PATH'];}['isCliEnabled'](){const _0x860ca6=a83_0x30d0a3;return helper[_0x860ca6(0xe6)](process[_0x860ca6(0x195)][_0x860ca6(0x1f0)]);}['getConfig'](){return this['config'];}[a83_0x30d0a3(0x194)](_0x22623e){const _0x42a30a=a83_0x30d0a3,_0x5b6d64={};_0x5b6d64[_0x42a30a(0xe0)]=function(_0x467e67,_0x491a5f){return _0x467e67===_0x491a5f;},_0x5b6d64['EXZAg']='setConfig:\x20Empty\x20or\x20missing\x20config\x20string\x20from\x20response',_0x5b6d64['xfTCp']=function(_0x334b3f,_0x293d1c){return _0x334b3f>_0x293d1c;},_0x5b6d64[_0x42a30a(0xd7)]=_0x42a30a(0x100),_0x5b6d64['SToLU']=_0x42a30a(0x115),_0x5b6d64['AoAxv']=_0x42a30a(0x15d),_0x5b6d64[_0x42a30a(0x1c0)]=function(_0x28aaf1,_0x483266){return _0x28aaf1>_0x483266;},_0x5b6d64[_0x42a30a(0x188)]=_0x42a30a(0x1db);const _0xc890b4=_0x5b6d64;try{const _0x40075f=_0x22623e[_0x42a30a(0x143)]?_0x22623e[_0x42a30a(0x143)]():'';if(!_0x40075f||_0xc890b4[_0x42a30a(0xe0)](_0x40075f['trim'](),'')){this[_0x42a30a(0x1a9)][_0x42a30a(0x13e)](_0xc890b4[_0x42a30a(0x158)]);this[_0x42a30a(0x1d3)]&&_0xc890b4['xfTCp'](Object[_0x42a30a(0x136)](this[_0x42a30a(0x1d3)])[_0x42a30a(0x164)],0x0)?(this[_0x42a30a(0x1a9)]['debug'](_0xc890b4[_0x42a30a(0xd7)]),this[_0x42a30a(0xbc)]={'server':this['browserstackConfig'][_0x42a30a(0x181)],'hubUrl':this[_0x42a30a(0x1d3)][_0x42a30a(0xf0)],'accessibility':this[_0x42a30a(0x1d3)]['accessibility']||![]}):(this['logger']['debug'](_0xc890b4[_0x42a30a(0x1c9)]),this['config']={});return;}this[_0x42a30a(0xbc)]=JSON[_0x42a30a(0x1b8)](_0x40075f),this[_0x42a30a(0x1a9)]['info'](_0xc890b4[_0x42a30a(0x1c6)]);}catch(_0x2db522){this[_0x42a30a(0x1a9)]['error'](_0x42a30a(0x169)+util[_0x42a30a(0x178)](_0x2db522)),this[_0x42a30a(0x1d3)]&&_0xc890b4[_0x42a30a(0x1c0)](Object['keys'](this[_0x42a30a(0x1d3)])[_0x42a30a(0x164)],0x0)?(this[_0x42a30a(0x1a9)][_0x42a30a(0x13e)](_0xc890b4[_0x42a30a(0x188)]),this[_0x42a30a(0xbc)]={'server':this[_0x42a30a(0x1d3)][_0x42a30a(0x181)],'hubUrl':this[_0x42a30a(0x1d3)][_0x42a30a(0xf0)],'accessibility':this[_0x42a30a(0x1d3)]['accessibility']||![]}):this[_0x42a30a(0xbc)]={};}}[a83_0x30d0a3(0x1e3)](){const _0x149716=a83_0x30d0a3,_0x1773d0={};_0x1773d0[_0x149716(0xb9)]=_0x149716(0xd6),_0x1773d0[_0x149716(0x113)]=_0x149716(0x126),_0x1773d0[_0x149716(0x19a)]=_0x149716(0xba);const _0xf0a6cc=_0x1773d0;try{if(!this[_0x149716(0x1d3)]){this[_0x149716(0x1a9)][_0x149716(0x13e)](_0xf0a6cc[_0x149716(0xb9)]);return;}const _0x138498=this['getConfig']();if(!_0x138498){this[_0x149716(0x1a9)][_0x149716(0x13e)](_0xf0a6cc[_0x149716(0x113)]);return;}!helper[_0x149716(0xf1)](_0x138498[_0x149716(0xdb)])&&(this[_0x149716(0x1d3)][_0x149716(0xdb)]=_0x138498[_0x149716(0xdb)],this['logger'][_0x149716(0x13e)](_0x149716(0xc8)+_0x138498[_0x149716(0xdb)])),!helper['isUndefined'](_0x138498['accessibilityOptions'])&&(this[_0x149716(0x1d3)][_0x149716(0xe2)]=_0x138498[_0x149716(0xe2)],this[_0x149716(0x1a9)][_0x149716(0x13e)](_0xf0a6cc['sRSFw']));}catch(_0xd5026a){this[_0x149716(0x1a9)][_0x149716(0x142)](_0x149716(0x186)+util[_0x149716(0x178)](_0xd5026a));}}['setCliArgs'](_0x4e22c7){const _0x53b18e=a83_0x30d0a3;try{this[_0x53b18e(0x1cc)]=_0x4e22c7[_0x53b18e(0xfe)]()['split'](','),this[_0x53b18e(0x1a9)][_0x53b18e(0x130)](_0x53b18e(0x1cf)+JSON[_0x53b18e(0x1e5)](this[_0x53b18e(0x1cc)]));}catch(_0x28d00b){this[_0x53b18e(0x1a9)][_0x53b18e(0x142)](_0x53b18e(0x197)+util[_0x53b18e(0x178)](_0x28d00b));}}[a83_0x30d0a3(0xfe)](){const _0x3085a2=a83_0x30d0a3;return this[_0x3085a2(0x1cc)];}['setupTestFramework'](){const _0xb5258=a83_0x30d0a3,_0x149693={'dPGXC':function(_0x2cb5b1,_0x3070ad){return _0x2cb5b1===_0x3070ad;},'gkFjd':function(_0x17514,_0x29b1fe){return _0x17514(_0x29b1fe);},'LiNof':_0xb5258(0x16f)},_0x4ec889=CLIUtils['getTestFrameworkDetail']();if(_0x149693[_0xb5258(0xcc)](_0x4ec889['name'][_0xb5258(0x18c)](),FRAMEWORKS[_0xb5258(0xb4)]['toLowerCase']()))this[_0xb5258(0x1bb)]=new PlaywrightTestFramework([_0x4ec889[_0xb5258(0xcb)]],_0x4ec889[_0xb5258(0x17e)]);else{if(_0x149693[_0xb5258(0xcc)](_0x4ec889[_0xb5258(0xcb)][_0xb5258(0x18c)](),FRAMEWORKS['CUCUMBER'][_0xb5258(0x18c)]()))this['testFramework']=new CucumberTestFramework([_0x4ec889['name']],_0x4ec889['version']);else{if(_0x149693[_0xb5258(0xcc)](_0x4ec889['name'][_0xb5258(0x18c)](),FRAMEWORKS[_0xb5258(0x175)]['toLowerCase']()))this[_0xb5258(0x1bb)]=new JestTestFramework([_0x4ec889['name']],_0x4ec889['version']);else{if(_0x149693[_0xb5258(0xcc)](_0x4ec889[_0xb5258(0xcb)]['toLowerCase'](),FRAMEWORKS[_0xb5258(0xca)]['toLowerCase']()))this['testFramework']=new TestCafeTestFramework([_0x4ec889[_0xb5258(0xcb)]],_0x4ec889[_0xb5258(0x17e)]);else{if(_0x149693[_0xb5258(0xcc)](_0x4ec889[_0xb5258(0xcb)][_0xb5258(0x18c)](),FRAMEWORKS[_0xb5258(0x1c4)][_0xb5258(0x18c)]())){const _0x5b740c=_0x149693[_0xb5258(0x1bf)](require,_0x149693['LiNof']);this[_0xb5258(0x1bb)]=new _0x5b740c([_0x4ec889['name']],_0x4ec889[_0xb5258(0x17e)]);}}}}}}[a83_0x30d0a3(0x138)](){const _0x54ec15=a83_0x30d0a3,_0x17340a={};_0x17340a['jkAgW']=function(_0x2e831a,_0x3e2126){return _0x2e831a===_0x3e2126;};const _0x151ccb=_0x17340a,_0x54027c=CLIUtils[_0x54ec15(0x1d8)](),_0x2f9909=CLIUtils[_0x54ec15(0x183)]();if(_0x151ccb[_0x54ec15(0x1f8)](_0x54027c['name']['toLowerCase'](),FRAMEWORKS[_0x54ec15(0xb4)][_0x54ec15(0x18c)]()))this[_0x54ec15(0x16e)]=new PlaywrightAutomationFramework(_0x54027c[_0x54ec15(0xcb)],_0x54027c[_0x54ec15(0x17e)]);else{if(_0x151ccb[_0x54ec15(0x1f8)](_0x54027c[_0x54ec15(0xcb)]['toLowerCase'](),FRAMEWORKS[_0x54ec15(0xff)][_0x54ec15(0x18c)]()))this[_0x54ec15(0x16e)]=new PuppeteerAutomationFramework(_0x54027c[_0x54ec15(0xcb)],_0x54027c[_0x54ec15(0x17e)]);else _0x54027c[_0x54ec15(0xcb)]&&_0x151ccb[_0x54ec15(0x1f8)](_0x54027c[_0x54ec15(0xcb)][_0x54ec15(0x18c)](),FRAMEWORKS[_0x54ec15(0xca)]['toLowerCase']())&&(this[_0x54ec15(0x16e)]=new TestCafeAutomationFramework(_0x54027c['name'],_0x54027c[_0x54ec15(0x17e)]));}}['getTestFramework'](){const _0x22bf52=a83_0x30d0a3;return this[_0x22bf52(0x1bb)];}[a83_0x30d0a3(0x135)](){const _0x372ffe=a83_0x30d0a3;return this[_0x372ffe(0x16e)];}[a83_0x30d0a3(0x1c5)](){const _0x170636=a83_0x30d0a3;return this[_0x170636(0x1b1)];}async[a83_0x30d0a3(0x192)](_0x558a18,_0x3dabef=null,_0x5128f1=null){const _0x2681cf=a83_0x30d0a3,_0x307078={};_0x307078[_0x2681cf(0x193)]=_0x2681cf(0x1a7),_0x307078[_0x2681cf(0x1f6)]=_0x2681cf(0x1d5);const _0x168d2d=_0x307078;try{if(!this['binSessionId'])return this[_0x2681cf(0x1a9)][_0x2681cf(0x142)](_0x168d2d[_0x2681cf(0x193)]),null;if(GrpcClient&&!GrpcClient[_0x2681cf(0x118)]()['client'])return this[_0x2681cf(0x1a9)]['error'](_0x168d2d[_0x2681cf(0x1f6)]),null;const _0x27c6dd=await GrpcClient[_0x2681cf(0x118)]()[_0x2681cf(0xdc)](_0x558a18,_0x3dabef,_0x5128f1);return _0x27c6dd;}catch(_0x26c996){return this[_0x2681cf(0x1a9)][_0x2681cf(0x142)](_0x2681cf(0xdf)+util[_0x2681cf(0x178)](_0x26c996)),null;}}[a83_0x30d0a3(0x14f)](){const _0x362342=a83_0x30d0a3;return this[_0x362342(0x10b)];}}function a83_0x5200(){const _0x394e0e=['EIVwa','Failed\x20to\x20get\x20CLI\x20binary\x20path.\x20CLI\x20setup\x20failed.','mxqLd','version','\x20msg=','gjKAU','server','sxYIp','getTestFrameworkDetail','PJbDh','Dtpxz','syncAccessibilityConfig:\x20error=','Unconfiguring\x20modules','zceTg','nugOv','getCliBinPath','10aWjfds','toLowerCase','HvBef','message','MVKwG','RtQHp','isRunning','testOrchestrationSession','lRakC','setConfig','env','loadModules:\x20skipping\x20driver\x20module\x20for\x20observability-only\x20framework','setCliArgs:\x20error=','stop:\x20channel\x20closed','Error\x20reading\x20accessibility\x20success\x20value:\x20','sRSFw','code','qlSTQ','pwKCR','./grpcClient.js','1|7|5|4|6|3|2|0','KrvAD','./framework/jestTestFramework.js','lVGkC','bootstrap:\x20failed\x20to\x20bootstrap=','BuildLink','CLI\x20runtime\x20error\x20after\x20ready:\x20code=','pkjoQ','binSessionId\x20is\x20not\x20initialized.\x20Cannot\x20perform\x20test\x20orchestration.',',\x20retrying\x20in\x20','logger','stop:\x20stopBinSession\x20build_link=','qSuUq','_spawnAndAwaitReady','CLI\x20params\x20loaded:\x20','./modules/puppeteerDriverModule.js','stop:\x20aggregated\x20build-level\x20custom\x20tags\x20from\x20','BROWSERSTACK_TURBOSCALE','browserstackCliConfig','\x20o11y_uuid=','HashedID','ZOifw','ElKhv','isFalse','startMain','parse','QXSlg','IsKFW','testFramework','27962256gRkMoQ','fhsfS','QErse','gkFjd','nZpwp','spawning\x20command=\x27','exitCode','SDK_CLI_START','NEWMAN','getBrowserstackCliConfig','AoAxv','MODULE_NAME','push','SToLU','LBJQg','start','cliArgs','Reason:\x20','Error\x20Trace\x20ID:\x20','setCliArgs:\x20cliArgs=','frBQT','CezDA','wExCB','browserstackConfig','SDK_CLI_ON_BOOTSTRAP','gRPC\x20client\x20is\x20not\x20initialized.\x20Cannot\x20perform\x20test\x20orchestration.','killed','connected','getAutomationFrameworkDetail','entries','vuAHF','setConfig:\x20Using\x20browserstackConfig\x20after\x20parse\x20error','../../helpers/classLogger.js','loadModules:\x20Loading\x20modules','isDevelopmentEnv','stderr','./framework/cucumberTestFramework.js','../../helpers/performance/performance-tester.js','vpGXb','syncAccessibilityConfig','\x20on\x20attempt\x20','stringify','QtumN','Setting\x20up\x20CLI\x20binary\x20path...','../../helpers/logger.js','Error\x20in\x20setupCliPath:\x20','CLI\x20binary\x20path\x20resolved\x20to:\x20','getSuccess','aggregateBuildLevelTagsFromTmp','nTwHL','startChild:\x20client\x20and\x20channel\x20already\x20exist,\x20stopping\x20here','CrJrd','BROWSERSTACK_CLI_ENABLED','kill','removeAllListeners','PpVty','write','spawn\x20succeeded\x20on\x20attempt\x20','mIisK','./modules/testhubModule.js','jkAgW','../../helpers/helper.js','KpUWq','1603964NEtRSK','OAYkD','buildLogger','5dfgRya','getAutomateBuildlink','ready','Starting\x20as\x20child\x20process\x20with\x20session\x20ID:\x20','\x20hashed_id=','1525026GesEFI','data','stop:\x20error\x20in\x20stop\x20session\x20exception=','PLAYWRIGHT','yDFKH','JybQE','client','trim','ktHoT','syncAccessibilityConfig:\x20Updated\x20browserstackConfig.accessibilityOptions\x20from\x20CLI\x20response','WkVbR','config','SDK_CLI_BIN_PATH','binSessionId','3gcbimd','TestHubModule','KEY_CUSTOM_TAGS','CLI\x20stderr:\x20','HRUvO','3768nYtAog','Cause:\x20','qwkWN','hqOzM','syncAccessibilityConfig:\x20Updated\x20browserstackConfig.accessibility\x20from\x20CLI\x20response:\x20','getTesthub','TESTCAFE','name','dPGXC','stack','getClient','./modules/testcafeDriverModule.js','CmGZS','bTBck','stop:\x20CLI\x20process\x20exited','getHashedId','qYxCK','spawn\x20','syncAccessibilityConfig:\x20browserstackConfig\x20not\x20set,\x20skipping\x20sync','OvdGt','FNjUj','aiRfk','Xhhbd','accessibility','testOrchestration','errorTraceId','./framework/puppeteerAutomationFramework.js','Error\x20during\x20test\x20orchestration:\x20','yxHDv','loadModules','accessibilityOptions','O11yHashedID','startMain:\x20main-process\x20started','kqBGb','isTrue','startChild','rhleE','isMainConnected','loadModules:\x20binSessionId=','Accessibility\x20success=','ORlDK','getAccessibility','3403235kGOukK','_modulesLoaded','hubUrl','isUndefined','loadCliParams','bootstrap','initialized','CkhKa','stop','pid','binary\x20bootstrap\x20failed','SIGKILL','slice','FJfMK','./framework/testcafeTestFramework.js','):\x20','getCliArgs','PUPPETEER','setConfig:\x20Using\x20browserstackConfig\x20as\x20fallback','KUJzG','cliParams','DBlkI','bootstrap:\x20failed\x20to\x20kill\x20orphan\x20CLI\x20process\x20(','exports','CLI\x20process\x20exited\x20with\x20code\x20','./framework/constants/testFrameworkConstants.js','tcwBA','getAccessibilityModule','\x20errors:','browserstackConfigPath','test','Failed\x20to\x20start\x20as\x20child\x20process:\x20','setupTestFramework','connectBinSession','end','isBootstrapped','APoIE','FjueV','43969NKxVRG','setConfig:\x20No\x20fallback\x20config\x20available,\x20using\x20empty\x20object','setTestDetails','kHbEG','getInstance','fwWll','SDK_CLI_ON_STOP','uiKju','A11yEnabled','If\x20sdk-assets.browserstack.com\x20is\x20blocked\x20by\x20your\x20firewall,\x20whitelist\x20it.','./customTagManager.js','modules','startMain:\x20Starting\x20main\x20process','========================================================================','toString','warn','app','nZXiR','syncAccessibilityConfig:\x20CLI\x20config\x20not\x20available,\x20skipping\x20sync','getChannel','lnEKb','./uploadAttachmentsManager.js','xNYhM','stop:\x20CLI\x20is\x20not\x20running,\x20skipping\x20stop','Error\x20Code:\x20','xmspQ','sqrqI','VSMDd','info','getTestDetails','split','./framework/testcafeAutomationFramework.js','UNnep','getAutomationFramework','keys','./modules/playwrightDriverModule.js','setupAutomationFramework','setLTSSessionId','BROWSERSTACK_TESTHUB_UUID','join','sdk','errorsList','debug','setupCliPath','nlrdK','WsatF','error','getConfig','bootstrap:\x20killing\x20unresponsive\x20CLI\x20process\x20before\x20Direct-flow\x20fallback','VZyEN','stopBinSession','forEach','isClosed','WARNING:\x20Binary\x20CLI\x20failed\x20to\x20start\x20—\x20running\x20in\x20direct\x20flow.','siXnT','child_process','turboScale','buildLevelTags','gwZWL','getBrowserstackConfigPath','38fxjMjf','1466937yVtnSZ','3794YKGIhz','process','stop:\x20shutting\x20down\x20CLI','./framework/playwrightAutomationFramework.js','BROWSERSTACK_TEST_FRAMEWORK_DETAIL','./modules/observabilityModule.js','EXZAg','exit','connect','stdout','mergeIntoTags','loading\x20Modules.','isChildConnected','testhubConfig','Error:\x20[','getBrowserstackConfig','util','includes','length','toObject','BROWSERSTACK_CLI_BIN_SESSION_ID','TYwqr','oqQgw','setConfig:\x20error=','configure','SDK_CONNECT_BIN_SESSION','fmVfs','stop:\x20process\x20exit\x20timeout,\x20forcing\x20kill','automationFramework','./framework/newmanTestFramework.js','./TestInfo.js','Xapsn','wrQmh','EsjGQ','configureModules','JEST','key','child\x20connect\x20to\x20binary\x20failed','format','setCliArgs','kcZBp'];a83_0x5200=function(){return _0x394e0e;};return a83_0x5200();}module[a83_0x30d0a3(0x105)]=BrowserstackCLI;
1
+ const a83_0x207faf=a83_0x1fe4;(function(_0x2f1e18,_0x34ded5){const _0x395b6d=a83_0x1fe4,_0x3698ba=_0x2f1e18();while(!![]){try{const _0x10baf0=-parseInt(_0x395b6d(0x1f4))/0x1*(-parseInt(_0x395b6d(0x314))/0x2)+parseInt(_0x395b6d(0x272))/0x3+-parseInt(_0x395b6d(0x33f))/0x4+parseInt(_0x395b6d(0x2cb))/0x5+-parseInt(_0x395b6d(0x24b))/0x6+parseInt(_0x395b6d(0x294))/0x7*(-parseInt(_0x395b6d(0x293))/0x8)+parseInt(_0x395b6d(0x2e9))/0x9;if(_0x10baf0===_0x34ded5)break;else _0x3698ba['push'](_0x3698ba['shift']());}catch(_0x1dce54){_0x3698ba['push'](_0x3698ba['shift']());}}}(a83_0x5527,0xa1443));const {spawn}=require(a83_0x207faf(0x1f7)),GrpcClient=require('./grpcClient.js'),util=require(a83_0x207faf(0x2ca)),CLIUtils=require(a83_0x207faf(0x27c)),PlaywrightAutomationFramework=require(a83_0x207faf(0x1fc)),PuppeteerAutomationFramework=require('./framework/puppeteerAutomationFramework.js'),TestCafeAutomationFramework=require(a83_0x207faf(0x26e)),PlaywrightTestFramework=require(a83_0x207faf(0x255)),CucumberTestFramework=require(a83_0x207faf(0x237)),JestTestFramework=require('./framework/jestTestFramework.js'),TestCafeTestFramework=require(a83_0x207faf(0x318)),{createClassLogger}=require(a83_0x207faf(0x26d)),PerformanceTester=require(a83_0x207faf(0x331)),{EVENTS:PerformanceEvents}=require(a83_0x207faf(0x2e6)),AccessibilityModule=require('./modules/accessibilityModule.js'),{CLI_SUPPORTED_FRAMEWORKS,FRAMEWORKS,BINARY_BUSY_ERROR_CODES,MAX_SPAWN_RETRIES,SPAWN_RETRY_DELAY_MS}=require(a83_0x207faf(0x2c6)),helper=require(a83_0x207faf(0x29f)),TestFrameworkConstants=require(a83_0x207faf(0x236)),buildLogger=require(a83_0x207faf(0x2ff))[a83_0x207faf(0x326)],LoadTestModule=require('./modules/loadTestModule.js'),TestInfo=require(a83_0x207faf(0x330));let _fallbackWarningEmitted=![];function emitFallbackWarningOnce(_0x4ae648,_0x4d2060){const _0x145e1e=a83_0x207faf,_0xe95c8c={};_0xe95c8c[_0x145e1e(0x267)]=_0x145e1e(0x312),_0xe95c8c['JDaxu']=_0x145e1e(0x1ef),_0xe95c8c[_0x145e1e(0x27f)]='If\x20sdk-assets.browserstack.com\x20is\x20blocked\x20by\x20your\x20firewall,\x20whitelist\x20it.',_0xe95c8c[_0x145e1e(0x335)]=function(_0x4db7a3,_0x2f5e0c){return _0x4db7a3+_0x2f5e0c;};const _0x4af219=_0xe95c8c;if(_fallbackWarningEmitted)return;_fallbackWarningEmitted=!![];const _0x3dff65=['',_0x4af219['MNtRt'],_0x4af219[_0x145e1e(0x29a)],_0x4af219['YBRgP']];_0x4ae648&&_0x3dff65['push'](_0x145e1e(0x2a7)+_0x4ae648);_0x4d2060&&_0x3dff65['push'](_0x145e1e(0x28f)+(_0x4d2060&&_0x4d2060[_0x145e1e(0x301)]||util[_0x145e1e(0x202)](_0x4d2060)));_0x3dff65['push'](_0x4af219['MNtRt']);const _0x3dfd34=_0x3dff65[_0x145e1e(0x22a)]('\x0a');try{process['stderr'][_0x145e1e(0x27e)](_0x4af219[_0x145e1e(0x335)](_0x3dfd34,'\x0a'));}catch(_0x400782){}}class BrowserstackCLI{static #instance=null;static ['BuildLink']=null;static [a83_0x207faf(0x2d5)]=null;static ['O11yHashedID']=null;static [a83_0x207faf(0x261)]=![];[a83_0x207faf(0x297)]=null;[a83_0x207faf(0x215)]=![];[a83_0x207faf(0x273)]=![];[a83_0x207faf(0x243)]=![];[a83_0x207faf(0x322)]=null;[a83_0x207faf(0x33d)]={};['testFramework']=null;[a83_0x207faf(0x254)]=null;[a83_0x207faf(0x2be)]=createClassLogger(a83_0x207faf(0x2a8));constructor(){const _0x1970ad=a83_0x207faf;this[_0x1970ad(0x317)]=![],this['config']={},this[_0x1970ad(0x2b8)]={},this[_0x1970ad(0x320)]={};}static['getInstance'](){return!BrowserstackCLI.#instance&&(BrowserstackCLI.#instance=new BrowserstackCLI()),BrowserstackCLI.#instance;}async['bootstrap'](){const _0xc2bd5a=a83_0x207faf,_0x14a6bc={'xHohO':_0xc2bd5a(0x30f),'mhrjY':_0xc2bd5a(0x2b9),'EeTOH':function(_0xf8b498,_0x181432){return _0xf8b498===_0x181432;},'WYuWe':'bootstrap:\x20killing\x20unresponsive\x20CLI\x20process\x20before\x20Direct-flow\x20fallback','jeBjw':function(_0x2a746c,_0xf92f81,_0x24e4db){return _0x2a746c(_0xf92f81,_0x24e4db);},'Tuawq':_0xc2bd5a(0x2b3)};if(helper[_0xc2bd5a(0x32c)](process['env'][_0xc2bd5a(0x26c)])){this[_0xc2bd5a(0x2be)][_0xc2bd5a(0x249)](_0x14a6bc[_0xc2bd5a(0x22c)]);return;}PerformanceTester[_0xc2bd5a(0x338)](PerformanceEvents[_0xc2bd5a(0x278)]);try{const _0x2e0c1a=process[_0xc2bd5a(0x303)][_0xc2bd5a(0x28d)]||null;this[_0xc2bd5a(0x20f)](),this[_0xc2bd5a(0x286)]();if(_0x2e0c1a){await this['startChild'](_0x2e0c1a),PerformanceTester[_0xc2bd5a(0x2dc)](PerformanceEvents[_0xc2bd5a(0x278)]);return;}await this[_0xc2bd5a(0x20b)]();}catch(_0x36a560){const _0x4f27f5=_0x14a6bc[_0xc2bd5a(0x21c)][_0xc2bd5a(0x280)]('|');let _0x555b7c=0x0;while(!![]){switch(_0x4f27f5[_0x555b7c++]){case'0':try{this['process']&&_0x14a6bc[_0xc2bd5a(0x308)](this[_0xc2bd5a(0x297)][_0xc2bd5a(0x23a)],null)&&(this[_0xc2bd5a(0x2be)]['warn'](_0x14a6bc[_0xc2bd5a(0x1fe)]),this[_0xc2bd5a(0x297)][_0xc2bd5a(0x218)](),this[_0xc2bd5a(0x215)]=![]);}catch(_0x19d5ae){this['logger'][_0xc2bd5a(0x2fa)](_0xc2bd5a(0x219)+util['format'](_0x19d5ae)+')');}continue;case'1':this[_0xc2bd5a(0x2be)][_0xc2bd5a(0x276)](_0xc2bd5a(0x27b)+(_0x36a560[_0xc2bd5a(0x301)]||_0x36a560));continue;case'2':PerformanceTester[_0xc2bd5a(0x2dc)](PerformanceEvents['SDK_CLI_ON_BOOTSTRAP'],![],util[_0xc2bd5a(0x202)](_0x36a560));continue;case'3':await this[_0xc2bd5a(0x32d)]();continue;case'4':_0x14a6bc[_0xc2bd5a(0x20c)](emitFallbackWarningOnce,_0x14a6bc[_0xc2bd5a(0x2e2)],_0x36a560);continue;}break;}}}async[a83_0x207faf(0x20b)](){const _0x4bdd6c=a83_0x207faf,_0x383e85={};_0x383e85[_0x4bdd6c(0x2da)]=_0x4bdd6c(0x20a),_0x383e85['qXEEx']='startMain:\x20main-process\x20started';const _0x57377c=_0x383e85;this[_0x4bdd6c(0x2be)][_0x4bdd6c(0x249)](_0x57377c[_0x4bdd6c(0x2da)]),await this[_0x4bdd6c(0x338)](),this[_0x4bdd6c(0x2be)][_0x4bdd6c(0x2fa)](_0x57377c[_0x4bdd6c(0x288)]);const _0x453e79=await GrpcClient[_0x4bdd6c(0x1f9)]()[_0x4bdd6c(0x214)]();this[_0x4bdd6c(0x215)]=!![],this[_0x4bdd6c(0x226)](_0x453e79);}[a83_0x207faf(0x226)](_0x2905ff){const _0x514169=a83_0x207faf,_0x1120af={'oPFuX':function(_0x4ab882,_0x513c93){return _0x4ab882(_0x513c93);},'KbuFg':_0x514169(0x233),'lZUXN':function(_0x5e3961,_0x2c4e06){return _0x5e3961(_0x2c4e06);},'qkEQG':'./modules/testhubModule.js','CgneA':function(_0x9b9ab8,_0x2f7c93){return _0x9b9ab8(_0x2f7c93);},'NcldF':_0x514169(0x1fd),'VzvDu':_0x514169(0x262),'oUrkR':_0x514169(0x29c),'WnGoc':_0x514169(0x281),'otbyM':_0x514169(0x265),'ruiOK':function(_0xaf13fa,_0x224f64){return _0xaf13fa||_0x224f64;},'cHOhh':function(_0x401e68,_0x114b57){return _0x401e68===_0x114b57;},'nReZX':_0x514169(0x323),'szGYk':function(_0x1810eb,_0x5def44){return _0x1810eb&&_0x5def44;},'hOXDT':function(_0x5bfe64,_0x284b63){return _0x5bfe64===_0x284b63;},'bfKRb':_0x514169(0x22b),'SrXWT':function(_0x2869e8,_0x4f75dc){return _0x2869e8(_0x4f75dc);},'zCyuh':_0x514169(0x263),'whhTi':function(_0x22012f,_0x20c01a){return _0x22012f===_0x20c01a;},'jWmIH':_0x514169(0x2b4)},_0x68ab7e=_0x1120af[_0x514169(0x238)](require,_0x1120af['KbuFg']),_0x3326aa=_0x1120af[_0x514169(0x257)](require,_0x1120af[_0x514169(0x302)]),_0x3507d3=_0x1120af[_0x514169(0x211)](require,_0x1120af[_0x514169(0x2fc)]);this['logger'][_0x514169(0x249)](_0x1120af[_0x514169(0x2fd)]),this[_0x514169(0x322)]=_0x2905ff[_0x514169(0x264)](),this[_0x514169(0x2be)][_0x514169(0x249)](_0x514169(0x1f5)+this[_0x514169(0x322)]),this['setConfig'](_0x2905ff),this[_0x514169(0x2cd)]();!this[_0x514169(0x273)]&&this[_0x514169(0x216)](_0x2905ff);const _0x4523b8=_0x1120af['oUrkR'],_0xc67412=_0x1120af[_0x514169(0x2cc)],_0x1a0ccf=_0x1120af[_0x514169(0x1fb)],_0x93661e=_0x2905ff[_0x4523b8]()&&_0x2905ff[_0x4523b8]()[_0x1a0ccf](),_0x2243e3=_0x2905ff[_0xc67412]()&&_0x2905ff[_0xc67412]()[_0x1a0ccf](),_0x4e83cd=process[_0x514169(0x303)][_0x514169(0x2e5)]&&JSON[_0x514169(0x305)](process[_0x514169(0x303)][_0x514169(0x2e5)]);_0x1120af[_0x514169(0x32b)](_0x93661e,_0x2243e3)&&(this[_0x514169(0x33d)][_0x3326aa[_0x514169(0x291)]]=new _0x3326aa(_0x2905ff[_0x514169(0x2a5)](),_0x4e83cd));_0x93661e&&(this[_0x514169(0x33d)][_0x3507d3[_0x514169(0x291)]]=new _0x3507d3(_0x2905ff[_0x4523b8]()));if(_0x2243e3){this['modules'][AccessibilityModule['MODULE_NAME']]=new AccessibilityModule(_0x2905ff[_0xc67412]());const _0x2bcb94=helper['isAppAutomateSession'](this['config']);BrowserstackCLI[_0x514169(0x261)]=!_0x2bcb94;}else try{const _0x1588d6=_0x2905ff[_0xc67412](),_0x44f63d=_0x1588d6&&_0x1120af[_0x514169(0x2f3)](typeof _0x1588d6[_0x1a0ccf],_0x1120af[_0x514169(0x22d)])?!!_0x1588d6[_0x1a0ccf]():![];this['logger']['info'](_0x514169(0x201)+_0x44f63d);if(_0x1120af[_0x514169(0x334)](!_0x44f63d,_0x1588d6)){const _0x3a659d=_0x1588d6[_0x514169(0x2bf)]?_0x1588d6[_0x514169(0x2bf)]():_0x1588d6;_0x3a659d[_0x514169(0x28a)]&&Array['isArray'](_0x3a659d[_0x514169(0x28a)])&&(this[_0x514169(0x2be)][_0x514169(0x276)](_0x514169(0x2d9)+_0x3a659d['errorsList'][_0x514169(0x2a9)]+_0x514169(0x2c2)),_0x3a659d[_0x514169(0x28a)]['forEach']((_0x1bf8a3,_0x98f631)=>{const _0x5dc945=_0x514169;this['logger'][_0x5dc945(0x276)]('Error:\x20['+_0x1bf8a3[_0x5dc945(0x244)]+']\x20'+_0x1bf8a3['message']);}),_0x3a659d['errorTraceId']&&this[_0x514169(0x2be)]['error']('Error\x20Trace\x20ID:\x20'+_0x3a659d[_0x514169(0x256)]),_0x3a659d['code']&&this[_0x514169(0x2be)][_0x514169(0x276)](_0x514169(0x275)+_0x3a659d[_0x514169(0x1ff)]));}}catch(_0x1ea4b5){this['logger'][_0x514169(0x276)](_0x514169(0x240)+_0x1ea4b5);}const _0x4189be=CLIUtils['getAutomationFrameworkDetail'](),_0x57cb7e=CLIUtils[_0x514169(0x252)]();if(_0x1120af['hOXDT'](_0x4189be[_0x514169(0x2a0)]['toLowerCase'](),FRAMEWORKS[_0x514169(0x1f1)][_0x514169(0x2d1)]()))this['logger'][_0x514169(0x249)](_0x1120af[_0x514169(0x2f7)]);else{if(_0x1120af[_0x514169(0x298)](_0x4189be[_0x514169(0x2a0)][_0x514169(0x2d1)](),FRAMEWORKS[_0x514169(0x2ba)][_0x514169(0x2d1)]())){const _0x2b5d5a=_0x1120af[_0x514169(0x269)](require,_0x1120af[_0x514169(0x2c8)]);this[_0x514169(0x33d)][_0x2b5d5a[_0x514169(0x291)]]=new _0x2b5d5a(_0x4e83cd);}else{if(_0x4189be[_0x514169(0x2a0)]&&_0x1120af[_0x514169(0x307)](_0x4189be[_0x514169(0x2a0)][_0x514169(0x2d1)](),FRAMEWORKS[_0x514169(0x31d)]['toLowerCase']())){const _0x43dc5c=_0x1120af[_0x514169(0x269)](require,_0x1120af[_0x514169(0x200)]);this['modules'][_0x43dc5c['MODULE_NAME']]=new _0x43dc5c(_0x4e83cd);}else this[_0x514169(0x33d)][_0x68ab7e[_0x514169(0x291)]]=new _0x68ab7e(_0x4e83cd);}}this['_modulesLoaded']=!![],this[_0x514169(0x28b)]();}[a83_0x207faf(0x241)](){const _0x3ba0f8=a83_0x207faf;return this[_0x3ba0f8(0x33d)][AccessibilityModule[_0x3ba0f8(0x291)]];}async[a83_0x207faf(0x28b)](){const _0x25f926=a83_0x207faf;for(const _0x5668a1 in this[_0x25f926(0x33d)]){const _0x23c845=this['modules'][_0x5668a1];await _0x23c845[_0x25f926(0x31a)](this['binSessionId'],0x0,GrpcClient[_0x25f926(0x1f9)]()['client'],this['config']);}}async['start'](){const _0x11aeb8=a83_0x207faf,_0x105743={'fTYdZ':_0x11aeb8(0x227),'qtlTA':_0x11aeb8(0x221),'mLWHu':function(_0xa2e085,_0x348e27){return _0xa2e085<=_0x348e27;},'XYcuU':function(_0xefe56,_0x114682){return _0xefe56>_0x114682;},'SBRwv':function(_0x22a309,_0x3514b1){return _0x22a309<_0x3514b1;},'hnAdc':_0x11aeb8(0x220),'Xeiqe':function(_0x12b1c2,_0x524b89,_0x2c02fe){return _0x12b1c2(_0x524b89,_0x2c02fe);},'RvYTG':'binary\x20spawn\x20failed'};PerformanceTester['start'](PerformanceEvents[_0x11aeb8(0x313)]);if(CLIUtils[_0x11aeb8(0x2d7)]())return this[_0x11aeb8(0x232)](CLIUtils[_0x11aeb8(0x1fa)]()),PerformanceTester[_0x11aeb8(0x2dc)](PerformanceEvents[_0x11aeb8(0x313)]),Promise[_0x11aeb8(0x28e)]();if(this[_0x11aeb8(0x297)]&&this[_0x11aeb8(0x297)][_0x11aeb8(0x329)])return PerformanceTester['end'](PerformanceEvents['SDK_CLI_START']),Promise[_0x11aeb8(0x28e)]();const _0x1de2a0=await this[_0x11aeb8(0x2ef)]();if(!_0x1de2a0)throw new Error(_0x105743[_0x11aeb8(0x222)]);const _0xa00a35=[_0x1de2a0,_0x105743[_0x11aeb8(0x27a)]];this[_0x11aeb8(0x2be)][_0x11aeb8(0x249)](_0x11aeb8(0x2f1)+_0xa00a35+'\x27');for(let _0xcf7a24=0x1;_0x105743[_0x11aeb8(0x23f)](_0xcf7a24,MAX_SPAWN_RETRIES);_0xcf7a24++){try{await this[_0x11aeb8(0x32a)](_0xa00a35);_0x105743['XYcuU'](_0xcf7a24,0x1)&&this[_0x11aeb8(0x2be)][_0x11aeb8(0x249)](_0x11aeb8(0x2d8)+_0xcf7a24+'/'+MAX_SPAWN_RETRIES);break;}catch(_0x2f7beb){if(BINARY_BUSY_ERROR_CODES[_0x11aeb8(0x292)](_0x2f7beb['code'])&&_0x105743[_0x11aeb8(0x328)](_0xcf7a24,MAX_SPAWN_RETRIES))this[_0x11aeb8(0x2be)][_0x11aeb8(0x332)](_0x11aeb8(0x2d3)+_0x2f7beb[_0x11aeb8(0x1ff)]+_0x11aeb8(0x32f)+_0xcf7a24+'/'+MAX_SPAWN_RETRIES+_0x11aeb8(0x205)+SPAWN_RETRY_DELAY_MS+_0x11aeb8(0x2bd)),this['process']&&(this[_0x11aeb8(0x297)][_0x11aeb8(0x31c)](),!this[_0x11aeb8(0x297)][_0x11aeb8(0x26f)]&&this[_0x11aeb8(0x297)]['kill'](_0x105743[_0x11aeb8(0x319)]),this['process']=null),await new Promise(_0x530a7a=>setTimeout(_0x530a7a,SPAWN_RETRY_DELAY_MS));else{_0x105743[_0x11aeb8(0x2e7)](emitFallbackWarningOnce,_0x105743[_0x11aeb8(0x2e0)],_0x2f7beb);throw _0x2f7beb;}}}}[a83_0x207faf(0x32a)](_0x5b4e2d){const _0x3f832a=a83_0x207faf,_0x87fa62={'qnzSn':function(_0x5daf33,_0x10e359){return _0x5daf33!==_0x10e359;},'ZFUWK':function(_0x513df2,_0xdb404b){return _0x513df2(_0xdb404b);},'abWXB':function(_0x53c9ee,_0x356cc9){return _0x53c9ee!==_0x356cc9;},'FmqzJ':function(_0x4a1bb2,_0x21fb1a){return _0x4a1bb2!==_0x21fb1a;},'Alzik':_0x3f832a(0x2c7),'thkpE':_0x3f832a(0x2ac),'dVOaV':_0x3f832a(0x1f3),'zuput':function(_0x1edc4e){return _0x1edc4e();},'uCkUW':'error','nvZsR':function(_0x50c268,_0x387807){return _0x50c268(_0x387807);},'hSkyC':function(_0x12c9b7,_0x262acf,_0x374fde,_0x546ebe){return _0x12c9b7(_0x262acf,_0x374fde,_0x546ebe);},'Ogvmq':_0x3f832a(0x304),'lUJZe':'data'};return new Promise((_0x1dfc7a,_0x24c570)=>{const _0x2f4a89=_0x3f832a,_0x28bd5a={'yqZze':function(_0x4588be,_0x335bec){const _0x46b86d=a83_0x1fe4;return _0x87fa62[_0x46b86d(0x296)](_0x4588be,_0x335bec);},'buClW':function(_0x13d5b3,_0x25d6b2){return _0x87fa62['FmqzJ'](_0x13d5b3,_0x25d6b2);},'RtSnd':_0x87fa62[_0x2f4a89(0x1f0)],'BKdGo':_0x87fa62[_0x2f4a89(0x2bb)],'BqYUf':_0x87fa62[_0x2f4a89(0x2de)],'cNtOR':function(_0x378fe2){const _0x573dd9=_0x2f4a89;return _0x87fa62[_0x573dd9(0x223)](_0x378fe2);},'rIMSu':_0x87fa62[_0x2f4a89(0x285)],'YXKVb':function(_0x47d5a1,_0x12fe3d){const _0x131b27=_0x2f4a89;return _0x87fa62[_0x131b27(0x25a)](_0x47d5a1,_0x12fe3d);}},_0x255c45={};_0x255c45[_0x2f4a89(0x303)]=process['env'],this[_0x2f4a89(0x297)]=_0x87fa62[_0x2f4a89(0x325)](spawn,_0x5b4e2d[0x0],_0x5b4e2d[_0x2f4a89(0x266)](0x1),_0x255c45);if(!this['process']||!this[_0x2f4a89(0x297)]['pid']){_0x87fa62[_0x2f4a89(0x25a)](_0x24c570,new Error(_0x87fa62[_0x2f4a89(0x2c0)]));return;}const _0x5a11cb={};this['process'][_0x2f4a89(0x228)]['on'](_0x87fa62[_0x2f4a89(0x2c5)],_0x4cddaf=>{const _0x1083c5=_0x2f4a89,_0x4c57df={'RuYDo':function(_0x43ef0e,_0x3b04b4){const _0x3ffe46=a83_0x1fe4;return _0x28bd5a[_0x3ffe46(0x29b)](_0x43ef0e,_0x3b04b4);}},_0x337cde=_0x4cddaf[_0x1083c5(0x212)]()[_0x1083c5(0x28c)]()[_0x1083c5(0x280)]('\x0a');for(const _0x57fe4b of _0x337cde){if(/^(id|listen|port)=.*$/['test'](_0x57fe4b)){const [_0x4f2f18,_0x2c9b10]=_0x57fe4b['split']('=',0x2);_0x28bd5a[_0x1083c5(0x206)](_0x2c9b10,undefined)&&(_0x5a11cb[_0x4f2f18]=_0x2c9b10);}if(_0x57fe4b[_0x1083c5(0x2d1)]()[_0x1083c5(0x292)](_0x28bd5a[_0x1083c5(0x2a1)])){const _0x2cd8f3=_0x28bd5a[_0x1083c5(0x2a2)][_0x1083c5(0x280)]('|');let _0xb6d08d=0x0;while(!![]){switch(_0x2cd8f3[_0xb6d08d++]){case'0':this[_0x1083c5(0x297)][_0x1083c5(0x31c)](_0x28bd5a[_0x1083c5(0x321)]);continue;case'1':return;case'2':this[_0x1083c5(0x232)](_0x5a11cb);continue;case'3':PerformanceTester['end'](PerformanceEvents[_0x1083c5(0x313)]);continue;case'4':_0x28bd5a['cNtOR'](_0x1dfc7a);continue;case'5':this[_0x1083c5(0x297)][_0x1083c5(0x31c)](_0x28bd5a[_0x1083c5(0x213)]);continue;case'6':this[_0x1083c5(0x297)]['on'](_0x28bd5a[_0x1083c5(0x213)],_0x26e51d=>{const _0x242b52=_0x1083c5;this['logger'][_0x242b52(0x276)](_0x242b52(0x2ce)+_0x26e51d['code']+_0x242b52(0x29e)+_0x26e51d[_0x242b52(0x251)]);});continue;case'7':this['process']['on'](_0x28bd5a[_0x1083c5(0x321)],_0x4f0d6e=>{const _0x59dcc4=_0x1083c5;_0x4c57df[_0x59dcc4(0x2ae)](_0x4f0d6e,0x0)&&this['logger']['error']('CLI\x20process\x20exited\x20with\x20code\x20'+_0x4f0d6e+_0x59dcc4(0x2f4));});continue;}break;}}}}),this['process'][_0x2f4a89(0x310)]['on'](_0x87fa62[_0x2f4a89(0x2c5)],_0x31f3be=>{const _0x135394=_0x2f4a89;this[_0x135394(0x2be)][_0x135394(0x276)](_0x135394(0x315)+_0x31f3be[_0x135394(0x212)]()[_0x135394(0x28c)]());}),this['process']['on'](_0x87fa62['uCkUW'],_0x1de56c=>{const _0x2904d6=_0x2f4a89;_0x5a11cb['error']=_0x2904d6(0x2eb)+_0x1de56c[_0x2904d6(0x1ff)]+_0x2904d6(0x25f)+_0x1de56c['message'],PerformanceTester['end'](PerformanceEvents['SDK_CLI_START'],![],_0x1de56c),_0x28bd5a['YXKVb'](_0x24c570,_0x1de56c);}),this['process']['on'](_0x87fa62[_0x2f4a89(0x2de)],_0x562a68=>{const _0x40535a=_0x2f4a89;_0x87fa62[_0x40535a(0x2f9)](_0x562a68,0x0)&&_0x87fa62[_0x40535a(0x209)](_0x24c570,new Error('CLI\x20process\x20exited\x20with\x20code\x20'+_0x562a68));});});}async[a83_0x207faf(0x32d)](_0x29a64a=null){const _0x2cffce=a83_0x207faf,_0x409c4d={'roARQ':'stop:\x20CLI\x20process\x20exited','aUfWF':function(_0x3ad6e5){return _0x3ad6e5();},'XpiGb':_0x2cffce(0x23c),'AdhRf':_0x2cffce(0x220),'TtDYZ':_0x2cffce(0x239),'CChfG':function(_0x228dd5,_0x159e93,_0x4773ae){return _0x228dd5(_0x159e93,_0x4773ae);},'eeCRS':_0x2cffce(0x26a),'ZOAEp':_0x2cffce(0x289),'vmgnC':function(_0x3d7119,_0x376863){return _0x3d7119(_0x376863);},'YgHZq':_0x2cffce(0x2f0),'TLMer':_0x2cffce(0x2ad),'cWaLA':function(_0x1fc820,_0x2730b9){return _0x1fc820!==_0x2730b9;},'dMZCi':'null','JJIBE':function(_0x5bec72,_0x2fa64d){return _0x5bec72>_0x2fa64d;},'Xlaiq':_0x2cffce(0x22f),'QLEAd':'stop:\x20error\x20in\x20closing\x20channel:\x20%s','aPqPj':_0x2cffce(0x2f6)};if(!this['isRunning']()){this[_0x2cffce(0x2be)][_0x2cffce(0x249)](_0x409c4d[_0x2cffce(0x300)]);return;}PerformanceTester[_0x2cffce(0x338)](PerformanceEvents[_0x2cffce(0x2c1)]),this['logger']['info'](_0x409c4d['ZOAEp']);try{if(this[_0x2cffce(0x215)]){const _0x18c3bc=_0x409c4d[_0x2cffce(0x2af)](require,_0x409c4d[_0x2cffce(0x271)]),_0x484aff=this[_0x2cffce(0x33d)][_0x2cffce(0x204)]?.[_0x2cffce(0x2f5)]?.[_0x2cffce(0x2bf)]()?.[_0x2cffce(0x23b)];try{const _0x24660e=_0x409c4d[_0x2cffce(0x2af)](require,_0x409c4d[_0x2cffce(0x234)]),_0x2a88d2=process[_0x2cffce(0x303)]['BROWSERSTACK_TESTHUB_UUID'];if(_0x2a88d2&&_0x409c4d[_0x2cffce(0x33a)](_0x2a88d2,_0x409c4d[_0x2cffce(0x2e8)])&&_0x484aff){const _0x2d6c79=_0x24660e[_0x2cffce(0x2b0)](_0x2a88d2,_0x484aff);if(_0x409c4d[_0x2cffce(0x246)](_0x2d6c79,0x0)){const _0x44a11c=TestInfo[_0x2cffce(0x33e)](_0x484aff)||{},_0x28b9ac=_0x44a11c[TestFrameworkConstants[_0x2cffce(0x283)]]||{};for(const [_0x3a2276,_0x57b7a9]of Object[_0x2cffce(0x31f)](_0x24660e[_0x2cffce(0x2fb)][_0x484aff]||{})){Array['isArray'](_0x57b7a9)&&_0x24660e[_0x2cffce(0x22e)](_0x28b9ac,_0x3a2276,_0x57b7a9);}_0x44a11c[TestFrameworkConstants[_0x2cffce(0x283)]]=_0x28b9ac,TestInfo['setTestDetails'](_0x484aff,_0x44a11c),this['logger']['info'](_0x2cffce(0x21d)+_0x2d6c79+'\x20worker\x20file(s)');}}}catch(_0x3b06d1){this['logger'][_0x2cffce(0x276)](_0x2cffce(0x2d6)+(_0x3b06d1&&_0x3b06d1[_0x2cffce(0x301)]?_0x3b06d1[_0x2cffce(0x301)]:_0x3b06d1));}const _0x1b4598=TestInfo[_0x2cffce(0x33e)](_0x484aff),_0x2b5da1=_0x1b4598[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{},_0x4d03d2=await GrpcClient[_0x2cffce(0x1f9)]()[_0x2cffce(0x208)](JSON[_0x2cffce(0x2e4)](_0x2b5da1),_0x29a64a);_0x4d03d2&&_0x4d03d2[_0x2cffce(0x265)]()&&_0x4d03d2['getAutomateBuildlink']()&&(BrowserstackCLI[_0x2cffce(0x306)]=_0x4d03d2[_0x2cffce(0x2dd)](),BrowserstackCLI[_0x2cffce(0x2d5)]=_0x4d03d2[_0x2cffce(0x20e)]()),await _0x18c3bc[_0x2cffce(0x2c3)](),TestInfo[_0x2cffce(0x1ee)](),buildLogger[_0x2cffce(0x249)](_0x2cffce(0x2e3)+BrowserstackCLI[_0x2cffce(0x306)]+_0x2cffce(0x2b5)+BrowserstackCLI['HashedID']+'\x20o11y_uuid='+BrowserstackCLI[_0x2cffce(0x207)]);}await this['unConfigureModules']();const _0x57d6d4=GrpcClient[_0x2cffce(0x1f9)]()[_0x2cffce(0x26b)]();if(_0x57d6d4){try{_0x57d6d4[_0x2cffce(0x1f3)](),this[_0x2cffce(0x2be)][_0x2cffce(0x249)](_0x409c4d[_0x2cffce(0x2ec)]);}catch(_0x2d4cc5){this[_0x2cffce(0x2be)][_0x2cffce(0x276)](util[_0x2cffce(0x202)](_0x409c4d[_0x2cffce(0x2b7)],_0x2d4cc5));}await new Promise(_0x1e53d3=>setTimeout(_0x1e53d3,0x1388));}this['process']&&this['process']['pid']&&(this['logger'][_0x2cffce(0x249)](_0x409c4d[_0x2cffce(0x277)]),this['process'][_0x2cffce(0x218)](),await new Promise(_0x33f53c=>{const _0x335344=_0x2cffce;let _0x28c4c2=![];this[_0x335344(0x297)]['on'](_0x409c4d[_0x335344(0x337)],()=>{const _0x5cd821=_0x335344;this[_0x5cd821(0x2be)][_0x5cd821(0x249)](_0x409c4d[_0x5cd821(0x31e)]),_0x28c4c2=!![],PerformanceTester[_0x5cd821(0x2dc)](PerformanceEvents[_0x5cd821(0x2c1)]),_0x409c4d[_0x5cd821(0x224)](_0x33f53c);}),_0x409c4d[_0x335344(0x295)](setTimeout,()=>{const _0x391e65=_0x335344;!_0x28c4c2&&(this[_0x391e65(0x2be)][_0x391e65(0x332)](_0x409c4d['XpiGb']),this[_0x391e65(0x297)][_0x391e65(0x218)](_0x409c4d[_0x391e65(0x25b)]),PerformanceTester[_0x391e65(0x2dc)](PerformanceEvents[_0x391e65(0x2c1)]),_0x409c4d[_0x391e65(0x224)](_0x33f53c));},0xbb8);}));}catch(_0x1781e4){PerformanceTester['end'](PerformanceEvents['SDK_CLI_ON_STOP'],![],util[_0x2cffce(0x202)](_0x1781e4)),this[_0x2cffce(0x2be)][_0x2cffce(0x276)](_0x2cffce(0x225)+(_0x1781e4[_0x2cffce(0x301)]||_0x1781e4));}_0x29a64a?this[_0x2cffce(0x297)]['exitCode']=0x1:this[_0x2cffce(0x297)][_0x2cffce(0x23a)]=0x0,this['isChildConnected']=![],this[_0x2cffce(0x215)]=![],process[_0x2cffce(0x303)][_0x2cffce(0x30a)]=null;}async[a83_0x207faf(0x311)](){const _0x12d919=a83_0x207faf,_0x23e93d={};_0x23e93d[_0x12d919(0x260)]='Unconfiguring\x20modules';const _0x4a639d=_0x23e93d;this[_0x12d919(0x2be)][_0x12d919(0x249)](_0x4a639d[_0x12d919(0x260)]);}[a83_0x207faf(0x232)](_0x5d3ca5){const _0x406ecd=a83_0x207faf;this['logger'][_0x406ecd(0x249)](_0x406ecd(0x2ee)+JSON[_0x406ecd(0x2e4)](_0x5d3ca5)),this[_0x406ecd(0x2aa)]=_0x5d3ca5,GrpcClient[_0x406ecd(0x1f9)]()['init'](_0x5d3ca5);}async[a83_0x207faf(0x274)](_0x5d8af5){const _0x4f9589=a83_0x207faf,_0x5b73b0={'MlzLa':'startChild:\x20client\x20and\x20channel\x20already\x20exist,\x20stopping\x20here','zdrut':function(_0x966471,_0x42ff9b,_0x48d8d1){return _0x966471(_0x42ff9b,_0x48d8d1);},'EYjea':_0x4f9589(0x2b2)};PerformanceTester[_0x4f9589(0x338)](PerformanceEvents[_0x4f9589(0x33c)]);try{this[_0x4f9589(0x2be)]['info'](_0x4f9589(0x2f2)+_0x5d8af5);const _0x5e0eeb=GrpcClient[_0x4f9589(0x1f9)]();if(_0x5e0eeb&&_0x5e0eeb['getClient']()&&_0x5e0eeb[_0x4f9589(0x26b)]()){this[_0x4f9589(0x2be)][_0x4f9589(0x249)](_0x5b73b0[_0x4f9589(0x21f)]);return;}GrpcClient[_0x4f9589(0x1f9)]()[_0x4f9589(0x203)]();const _0x5d2352=await GrpcClient[_0x4f9589(0x1f9)]()['connectBinSession']();this[_0x4f9589(0x273)]=!![],this[_0x4f9589(0x226)](_0x5d2352),PerformanceTester[_0x4f9589(0x2dc)](PerformanceEvents[_0x4f9589(0x33c)]);}catch(_0x4f71d7){PerformanceTester[_0x4f9589(0x2dc)](PerformanceEvents[_0x4f9589(0x33c)],![],util[_0x4f9589(0x202)](_0x4f71d7)),this[_0x4f9589(0x2be)][_0x4f9589(0x276)](_0x4f9589(0x247)+util[_0x4f9589(0x202)](_0x4f71d7)),_0x5b73b0['zdrut'](emitFallbackWarningOnce,_0x5b73b0[_0x4f9589(0x2f8)],_0x4f71d7);}}static[a83_0x207faf(0x230)](){const _0x480c9e=a83_0x207faf;try{return BrowserstackCLI[_0x480c9e(0x1f9)]()[_0x480c9e(0x245)]();}catch(_0x18182){return![];}}['isRunning'](){const _0x4dd8d9=a83_0x207faf,_0x233161={};_0x233161[_0x4dd8d9(0x316)]=function(_0x1da64d,_0x52f378){return _0x1da64d!==_0x52f378;},_0x233161[_0x4dd8d9(0x339)]=function(_0x31848d,_0x487a32){return _0x31848d===_0x487a32;};const _0x364e5b=_0x233161;return CLIUtils[_0x4dd8d9(0x2d7)]()||this[_0x4dd8d9(0x215)]&&_0x364e5b[_0x4dd8d9(0x316)](this['process'],null)&&_0x364e5b['lSlSb'](this['process'][_0x4dd8d9(0x23a)],null)&&_0x364e5b[_0x4dd8d9(0x316)](GrpcClient['getInstance']()[_0x4dd8d9(0x210)](),null)&&!GrpcClient[_0x4dd8d9(0x1f9)]()[_0x4dd8d9(0x26b)]()[_0x4dd8d9(0x2a4)]||this[_0x4dd8d9(0x273)]&&_0x364e5b[_0x4dd8d9(0x316)](GrpcClient[_0x4dd8d9(0x1f9)]()[_0x4dd8d9(0x26b)](),null)&&!GrpcClient['getInstance']()[_0x4dd8d9(0x26b)]()[_0x4dd8d9(0x2a4)];}[a83_0x207faf(0x2d0)](){const _0x708c10=a83_0x207faf;return this[_0x708c10(0x245)]()&&this[_0x708c10(0x243)];}['getBrowserstackConfig'](){const _0x14000b=a83_0x207faf;return this[_0x14000b(0x320)];}[a83_0x207faf(0x30e)](_0x2a2328,_0x1df754,_0x5356c3=null){const _0x80c18c=a83_0x207faf,_0x5b8ff7={};_0x5b8ff7[_0x80c18c(0x324)]=function(_0x1bb778,_0x3f1351){return _0x1bb778||_0x3f1351;},_0x5b8ff7[_0x80c18c(0x1f6)]=function(_0x1bc758,_0x514846){return _0x1bc758===_0x514846;},_0x5b8ff7[_0x80c18c(0x2ea)]=function(_0x338ecb,_0x49d275){return _0x338ecb||_0x49d275;};const _0x5dd38c=_0x5b8ff7;this['browserstackConfig']=_0x5dd38c[_0x80c18c(0x324)](_0x2a2328,{}),this[_0x80c18c(0x268)]=_0x1df754,this[_0x80c18c(0x2ab)]=_0x5356c3,process[_0x80c18c(0x303)][_0x80c18c(0x24d)]=this[_0x80c18c(0x320)]?.[_0x80c18c(0x21b)]||![];const _0x112a4a=CLIUtils[_0x80c18c(0x252)](),_0x495438=CLIUtils['getAutomationFrameworkDetail']();LoadTestModule['isLTSSession'](this['browserstackConfig'])&&LoadTestModule['setLTSSessionId'](this[_0x80c18c(0x320)]||{});const _0x58d226=_0x5dd38c[_0x80c18c(0x1f6)](_0x112a4a[_0x80c18c(0x2a0)][_0x80c18c(0x2d1)](),FRAMEWORKS['NEWMAN'][_0x80c18c(0x2d1)]()),_0x563322=CLI_SUPPORTED_FRAMEWORKS[_0x80c18c(0x292)](_0x112a4a[_0x80c18c(0x2a0)][_0x80c18c(0x2d1)]()),_0x2d2469=CLI_SUPPORTED_FRAMEWORKS[_0x80c18c(0x292)](_0x495438[_0x80c18c(0x2a0)][_0x80c18c(0x2d1)]());helper[_0x80c18c(0x299)](process[_0x80c18c(0x303)][_0x80c18c(0x24d)])||!(_0x563322&&_0x5dd38c['YTIkk'](_0x2d2469,_0x58d226))?process[_0x80c18c(0x303)][_0x80c18c(0x26c)]=![]:process[_0x80c18c(0x303)][_0x80c18c(0x26c)]=!![];}async['getCliBinPath'](){const _0x511b55=a83_0x207faf,_0x138aac={};_0x138aac[_0x511b55(0x24c)]='Setting\x20up\x20CLI\x20binary\x20path...',_0x138aac[_0x511b55(0x248)]=_0x511b55(0x2d4);const _0x59f4b3=_0x138aac;if(!this['SDK_CLI_BIN_PATH'])try{this[_0x511b55(0x2be)]['debug'](_0x59f4b3['rgxlE']),this['SDK_CLI_BIN_PATH']=await CLIUtils['setupCliPath'](this[_0x511b55(0x320)]),!this[_0x511b55(0x2e1)]?this[_0x511b55(0x2be)]['error'](_0x59f4b3[_0x511b55(0x248)]):this[_0x511b55(0x2be)][_0x511b55(0x2fa)](_0x511b55(0x2c4)+this[_0x511b55(0x2e1)]);}catch(_0x31cf3f){this[_0x511b55(0x2be)][_0x511b55(0x276)]('Error\x20in\x20setupCliPath:\x20'+_0x31cf3f[_0x511b55(0x251)]),this[_0x511b55(0x2e1)]=null;}return this[_0x511b55(0x2e1)];}[a83_0x207faf(0x290)](){const _0x5a28b6=a83_0x207faf;return helper['isTrue'](process['env'][_0x5a28b6(0x26c)]);}[a83_0x207faf(0x270)](){const _0x3dbe80=a83_0x207faf;return this[_0x3dbe80(0x30d)];}[a83_0x207faf(0x25c)](_0xd1abf9){const _0x5c26e9=a83_0x207faf,_0x2a5805={};_0x2a5805[_0x5c26e9(0x25e)]=function(_0x559d74,_0x5c11c5){return _0x559d74===_0x5c11c5;},_0x2a5805[_0x5c26e9(0x250)]=_0x5c26e9(0x231),_0x2a5805[_0x5c26e9(0x2bc)]=function(_0x380c9f,_0x2590ea){return _0x380c9f>_0x2590ea;},_0x2a5805['DdqcJ']=_0x5c26e9(0x259),_0x2a5805[_0x5c26e9(0x2d2)]=_0x5c26e9(0x229),_0x2a5805[_0x5c26e9(0x32e)]=_0x5c26e9(0x282),_0x2a5805[_0x5c26e9(0x333)]=_0x5c26e9(0x258);const _0x15636d=_0x2a5805;try{const _0x4ef5e1=_0xd1abf9[_0x5c26e9(0x270)]?_0xd1abf9[_0x5c26e9(0x270)]():'';if(!_0x4ef5e1||_0x15636d[_0x5c26e9(0x25e)](_0x4ef5e1[_0x5c26e9(0x28c)](),'')){this[_0x5c26e9(0x2be)][_0x5c26e9(0x2fa)](_0x15636d['jzlBK']);this[_0x5c26e9(0x320)]&&_0x15636d[_0x5c26e9(0x2bc)](Object['keys'](this['browserstackConfig'])[_0x5c26e9(0x2a9)],0x0)?(this[_0x5c26e9(0x2be)]['debug'](_0x15636d[_0x5c26e9(0x23d)]),this[_0x5c26e9(0x30d)]={'server':this[_0x5c26e9(0x320)][_0x5c26e9(0x24f)],'hubUrl':this[_0x5c26e9(0x320)][_0x5c26e9(0x21a)],'accessibility':this[_0x5c26e9(0x320)][_0x5c26e9(0x217)]||![]}):(this[_0x5c26e9(0x2be)][_0x5c26e9(0x2fa)](_0x15636d[_0x5c26e9(0x2d2)]),this[_0x5c26e9(0x30d)]={});return;}this['config']=JSON[_0x5c26e9(0x305)](_0x4ef5e1),this['logger'][_0x5c26e9(0x249)](_0x15636d[_0x5c26e9(0x32e)]);}catch(_0x4da511){this[_0x5c26e9(0x2be)][_0x5c26e9(0x276)](_0x5c26e9(0x27d)+util['format'](_0x4da511)),this['browserstackConfig']&&_0x15636d[_0x5c26e9(0x2bc)](Object['keys'](this[_0x5c26e9(0x320)])['length'],0x0)?(this[_0x5c26e9(0x2be)][_0x5c26e9(0x2fa)](_0x15636d[_0x5c26e9(0x333)]),this[_0x5c26e9(0x30d)]={'server':this[_0x5c26e9(0x320)][_0x5c26e9(0x24f)],'hubUrl':this[_0x5c26e9(0x320)][_0x5c26e9(0x21a)],'accessibility':this[_0x5c26e9(0x320)][_0x5c26e9(0x217)]||![]}):this[_0x5c26e9(0x30d)]={};}}[a83_0x207faf(0x2cd)](){const _0x110f8a=a83_0x207faf,_0x41df26={};_0x41df26['ePuLI']=_0x110f8a(0x242),_0x41df26[_0x110f8a(0x340)]=_0x110f8a(0x29d),_0x41df26[_0x110f8a(0x2a6)]=_0x110f8a(0x327);const _0x493000=_0x41df26;try{if(!this[_0x110f8a(0x320)]){this[_0x110f8a(0x2be)][_0x110f8a(0x2fa)](_0x493000[_0x110f8a(0x2b1)]);return;}const _0xa36e8=this[_0x110f8a(0x270)]();if(!_0xa36e8){this[_0x110f8a(0x2be)][_0x110f8a(0x2fa)](_0x493000[_0x110f8a(0x340)]);return;}!helper['isUndefined'](_0xa36e8[_0x110f8a(0x217)])&&(this[_0x110f8a(0x320)][_0x110f8a(0x217)]=_0xa36e8[_0x110f8a(0x217)],this[_0x110f8a(0x2be)][_0x110f8a(0x2fa)](_0x110f8a(0x2c9)+_0xa36e8[_0x110f8a(0x217)])),!helper['isUndefined'](_0xa36e8['accessibilityOptions'])&&(this['browserstackConfig'][_0x110f8a(0x1f2)]=_0xa36e8[_0x110f8a(0x1f2)],this['logger']['debug'](_0x493000[_0x110f8a(0x2a6)]));}catch(_0x52daa7){this[_0x110f8a(0x2be)][_0x110f8a(0x276)](_0x110f8a(0x1f8)+util[_0x110f8a(0x202)](_0x52daa7));}}[a83_0x207faf(0x216)](_0x2dcaea){const _0x28ea13=a83_0x207faf;try{this[_0x28ea13(0x2b8)]=_0x2dcaea[_0x28ea13(0x2a3)]()[_0x28ea13(0x280)](','),this[_0x28ea13(0x2be)][_0x28ea13(0x249)](_0x28ea13(0x2df)+JSON['stringify'](this[_0x28ea13(0x2b8)]));}catch(_0x3b4127){this[_0x28ea13(0x2be)]['error'](_0x28ea13(0x25d)+util[_0x28ea13(0x202)](_0x3b4127));}}[a83_0x207faf(0x2a3)](){const _0x5101fa=a83_0x207faf;return this[_0x5101fa(0x2b8)];}[a83_0x207faf(0x286)](){const _0x2715f7=a83_0x207faf,_0x3c8fa6={'aVBWV':function(_0x299586,_0x34f67c){return _0x299586===_0x34f67c;},'NqjgX':function(_0x411f74,_0x54da98){return _0x411f74===_0x54da98;},'UPUht':function(_0x5c8b9c,_0x54d2b1){return _0x5c8b9c(_0x54d2b1);},'BkxkO':_0x2715f7(0x2db)},_0x521d64=CLIUtils['getTestFrameworkDetail']();if(_0x3c8fa6[_0x2715f7(0x279)](_0x521d64[_0x2715f7(0x2a0)][_0x2715f7(0x2d1)](),FRAMEWORKS[_0x2715f7(0x2ed)][_0x2715f7(0x2d1)]()))this[_0x2715f7(0x336)]=new PlaywrightTestFramework([_0x521d64[_0x2715f7(0x2a0)]],_0x521d64['version']);else{if(_0x3c8fa6[_0x2715f7(0x279)](_0x521d64[_0x2715f7(0x2a0)][_0x2715f7(0x2d1)](),FRAMEWORKS[_0x2715f7(0x24a)]['toLowerCase']()))this[_0x2715f7(0x336)]=new CucumberTestFramework([_0x521d64[_0x2715f7(0x2a0)]],_0x521d64[_0x2715f7(0x23e)]);else{if(_0x3c8fa6[_0x2715f7(0x279)](_0x521d64['name'][_0x2715f7(0x2d1)](),FRAMEWORKS['JEST']['toLowerCase']()))this[_0x2715f7(0x336)]=new JestTestFramework([_0x521d64['name']],_0x521d64['version']);else{if(_0x3c8fa6[_0x2715f7(0x30c)](_0x521d64[_0x2715f7(0x2a0)][_0x2715f7(0x2d1)](),FRAMEWORKS['TESTCAFE']['toLowerCase']()))this[_0x2715f7(0x336)]=new TestCafeTestFramework([_0x521d64[_0x2715f7(0x2a0)]],_0x521d64['version']);else{if(_0x3c8fa6[_0x2715f7(0x30c)](_0x521d64[_0x2715f7(0x2a0)]['toLowerCase'](),FRAMEWORKS[_0x2715f7(0x1f1)][_0x2715f7(0x2d1)]())){const _0x54cded=_0x3c8fa6[_0x2715f7(0x20d)](require,_0x3c8fa6[_0x2715f7(0x2fe)]);this[_0x2715f7(0x336)]=new _0x54cded([_0x521d64[_0x2715f7(0x2a0)]],_0x521d64['version']);}}}}}}['setupAutomationFramework'](){const _0x362d44=a83_0x207faf,_0x25f943={};_0x25f943['YLJJO']=function(_0x1de02c,_0x3a8202){return _0x1de02c===_0x3a8202;};const _0x459708=_0x25f943,_0x562327=CLIUtils[_0x362d44(0x31b)](),_0x5b3559=CLIUtils['getTestFrameworkDetail']();if(_0x459708[_0x362d44(0x253)](_0x562327[_0x362d44(0x2a0)]['toLowerCase'](),FRAMEWORKS[_0x362d44(0x2ed)]['toLowerCase']()))this[_0x362d44(0x254)]=new PlaywrightAutomationFramework(_0x562327[_0x362d44(0x2a0)],_0x562327[_0x362d44(0x23e)]);else{if(_0x459708[_0x362d44(0x253)](_0x562327[_0x362d44(0x2a0)][_0x362d44(0x2d1)](),FRAMEWORKS['PUPPETEER'][_0x362d44(0x2d1)]()))this[_0x362d44(0x254)]=new PuppeteerAutomationFramework(_0x562327[_0x362d44(0x2a0)],_0x562327[_0x362d44(0x23e)]);else _0x562327[_0x362d44(0x2a0)]&&_0x459708['YLJJO'](_0x562327[_0x362d44(0x2a0)]['toLowerCase'](),FRAMEWORKS[_0x362d44(0x31d)]['toLowerCase']())&&(this[_0x362d44(0x254)]=new TestCafeAutomationFramework(_0x562327[_0x362d44(0x2a0)],_0x562327[_0x362d44(0x23e)]));}}[a83_0x207faf(0x21e)](){const _0x2d7aef=a83_0x207faf;return this[_0x2d7aef(0x336)];}[a83_0x207faf(0x284)](){return this['automationFramework'];}[a83_0x207faf(0x2b6)](){return this['browserstackCliConfig'];}async[a83_0x207faf(0x33b)](_0x5b73e8,_0x5ddd2a=null,_0x467276=null){const _0xa2fdfc=a83_0x207faf,_0x520c99={};_0x520c99[_0xa2fdfc(0x235)]=_0xa2fdfc(0x24e),_0x520c99['UndYJ']=_0xa2fdfc(0x1ed);const _0x5e9f62=_0x520c99;try{if(!this['binSessionId'])return this[_0xa2fdfc(0x2be)][_0xa2fdfc(0x276)](_0x5e9f62['IJOJJ']),null;if(GrpcClient&&!GrpcClient[_0xa2fdfc(0x1f9)]()['client'])return this[_0xa2fdfc(0x2be)][_0xa2fdfc(0x276)](_0x5e9f62['UndYJ']),null;const _0x46069b=await GrpcClient[_0xa2fdfc(0x1f9)]()[_0xa2fdfc(0x30b)](_0x5b73e8,_0x5ddd2a,_0x467276);return _0x46069b;}catch(_0x3fb299){return this['logger'][_0xa2fdfc(0x276)](_0xa2fdfc(0x287)+util[_0xa2fdfc(0x202)](_0x3fb299)),null;}}[a83_0x207faf(0x309)](){const _0x21bbc6=a83_0x207faf;return this[_0x21bbc6(0x268)];}}module[a83_0x207faf(0x2cf)]=BrowserstackCLI;function a83_0x1fe4(_0x3d477c,_0x2dadfd){const _0x552790=a83_0x5527();return a83_0x1fe4=function(_0x1fe4fc,_0x3d173f){_0x1fe4fc=_0x1fe4fc-0x1ed;let _0x3bd95a=_0x552790[_0x1fe4fc];return _0x3bd95a;},a83_0x1fe4(_0x3d477c,_0x2dadfd);}function a83_0x5527(){const _0xb9676c=['CChfG','abWXB','process','hOXDT','isTrue','JDaxu','yqZze','getObservability','syncAccessibilityConfig:\x20CLI\x20config\x20not\x20available,\x20skipping\x20sync','\x20msg=','../../helpers/helper.js','name','RtSnd','BKdGo','getCliArgs','isClosed','getTesthub','sSnvS','Reason:\x20','BrowserstackCLI','length','cliParams','browserstackCliConfig','2|3|5|0|6|7|4|1','./customTagManager.js','RuYDo','vmgnC','aggregateBuildLevelTagsFromTmp','ePuLI','child\x20connect\x20to\x20binary\x20failed','binary\x20bootstrap\x20failed','./modules/testcafeDriverModule.js','\x20hashed_id=','getBrowserstackCliConfig','QLEAd','cliArgs','1|4|3|0|2','PUPPETEER','thkpE','rAmxC','ms...','logger','toObject','Ogvmq','SDK_CLI_ON_STOP','\x20errors:','clearAttachments','CLI\x20binary\x20path\x20resolved\x20to:\x20','lUJZe','../utils/constants.js','ready','zCyuh','syncAccessibilityConfig:\x20Updated\x20browserstackConfig.accessibility\x20from\x20CLI\x20response:\x20','util','405630rVHNYv','WnGoc','syncAccessibilityConfig','CLI\x20runtime\x20error\x20after\x20ready:\x20code=','exports','isBootstrapped','toLowerCase','euddQ','spawn\x20','CLIUtils.setupCliPath\x20returned\x20null','HashedID','stop:\x20build-level\x20tag\x20aggregation\x20failed:\x20','isDevelopmentEnv','spawn\x20succeeded\x20on\x20attempt\x20','Accessibility\x20initialization\x20failed\x20with\x20','nzCwO','./framework/newmanTestFramework.js','end','getAutomateBuildlink','dVOaV','setCliArgs:\x20cliArgs=','RvYTG','SDK_CLI_BIN_PATH','Tuawq','stop:\x20stopBinSession\x20build_link=','stringify','BROWSERSTACK_TEST_FRAMEWORK_DETAIL','../../helpers/performance/constants','Xeiqe','dMZCi','65106lSrdNN','YTIkk','Error\x20in\x20start\x20(code=','Xlaiq','PLAYWRIGHT','CLI\x20params\x20loaded:\x20','getCliBinPath','./uploadAttachmentsManager.js','spawning\x20command=\x27','Starting\x20as\x20child\x20process\x20with\x20session\x20ID:\x20','cHOhh','\x20after\x20ready\x20—\x20gRPC\x20calls\x20will\x20fail','testhubConfig','stop:\x20shutting\x20down\x20CLI','bfKRb','EYjea','qnzSn','debug','buildLevelTags','NcldF','VzvDu','BkxkO','../../helpers/logger.js','eeCRS','stack','qkEQG','env','failed\x20to\x20start\x20CLI,\x20no\x20PID\x20found','parse','BuildLink','whhTi','EeTOH','getBrowserstackConfigPath','BROWSERSTACK_CLI_ENV','testOrchestration','NqjgX','config','setBrowserstackConfig','Disabling\x20CLI.','stderr','unConfigureModules','========================================================================','SDK_CLI_START','100568nsnmFg','CLI\x20stderr:\x20','fYSEZ','initialized','./framework/testcafeTestFramework.js','hnAdc','configure','getAutomationFrameworkDetail','removeAllListeners','TESTCAFE','roARQ','entries','browserstackConfig','BqYUf','binSessionId','function','khaIo','hSkyC','buildLogger','syncAccessibilityConfig:\x20Updated\x20browserstackConfig.accessibilityOptions\x20from\x20CLI\x20response','SBRwv','connected','_spawnAndAwaitReady','ruiOK','isFalse','stop','mGzDN','\x20on\x20attempt\x20','./TestInfo.js','../../helpers/performance/performance-tester.js','warn','Gyakn','szGYk','owfMm','testFramework','TtDYZ','start','lSlSb','cWaLA','testOrchestrationSession','SDK_CONNECT_BIN_SESSION','modules','getTestDetails','2727044gisjpP','SdFjP','gRPC\x20client\x20is\x20not\x20initialized.\x20Cannot\x20perform\x20test\x20orchestration.','shutdown','WARNING:\x20Binary\x20CLI\x20failed\x20to\x20start\x20—\x20running\x20in\x20direct\x20flow.','Alzik','NEWMAN','accessibilityOptions','close','26IsiCmc','loadModules:\x20binSessionId=','Aplzt','child_process','syncAccessibilityConfig:\x20error=','getInstance','getCLIParamsForDevEnv','otbyM','./framework/playwrightAutomationFramework.js','./modules/observabilityModule.js','WYuWe','code','jWmIH','Accessibility\x20success=','format','connect','TestHubModule',',\x20retrying\x20in\x20','buClW','O11yHashedID','stopBinSession','ZFUWK','startMain:\x20Starting\x20main\x20process','startMain','jeBjw','UPUht','getHashedId','setupAutomationFramework','getClient','CgneA','toString','rIMSu','startBinSession','isMainConnected','setCliArgs','accessibility','kill','bootstrap:\x20failed\x20to\x20kill\x20orphan\x20CLI\x20process\x20(','hubUrl','turboScale','mhrjY','stop:\x20aggregated\x20build-level\x20custom\x20tags\x20from\x20','getTestFramework','MlzLa','SIGKILL','sdk','fTYdZ','zuput','aUfWF','stop:\x20error\x20in\x20stop\x20session\x20exception=','loadModules','Failed\x20to\x20get\x20CLI\x20binary\x20path.\x20CLI\x20setup\x20failed.','stdout','setConfig:\x20No\x20fallback\x20config\x20available,\x20using\x20empty\x20object','join','loadModules:\x20skipping\x20driver\x20module\x20for\x20observability-only\x20framework','xHohO','nReZX','mergeIntoTags','stop:\x20channel\x20closed','isCLIEnabled','setConfig:\x20Empty\x20or\x20missing\x20config\x20string\x20from\x20response','loadCliParams','./modules/playwrightDriverModule.js','TLMer','IJOJJ','./framework/constants/testFrameworkConstants.js','./framework/cucumberTestFramework.js','oPFuX','exit','exitCode','buildHashedId','stop:\x20process\x20exit\x20timeout,\x20forcing\x20kill','DdqcJ','version','mLWHu','Error\x20reading\x20accessibility\x20success\x20value:\x20','getAccessibilityModule','syncAccessibilityConfig:\x20browserstackConfig\x20not\x20set,\x20skipping\x20sync','_modulesLoaded','key','isRunning','JJIBE','Failed\x20to\x20start\x20as\x20child\x20process:\x20','iMAAb','info','CUCUMBER','626472XsmcTv','rgxlE','BROWSERSTACK_TURBOSCALE','binSessionId\x20is\x20not\x20initialized.\x20Cannot\x20perform\x20test\x20orchestration.','server','jzlBK','message','getTestFrameworkDetail','YLJJO','automationFramework','./framework/playwrightTestFramework.js','errorTraceId','lZUXN','setConfig:\x20Using\x20browserstackConfig\x20after\x20parse\x20error','setConfig:\x20Using\x20browserstackConfig\x20as\x20fallback','nvZsR','AdhRf','setConfig','setCliArgs:\x20error=','NIbOD','):\x20','DzKqm','A11yEnabled','loadModules:\x20Loading\x20modules','./modules/puppeteerDriverModule.js','getBinSessionId','getSuccess','slice','MNtRt','browserstackConfigPath','SrXWT','stop:\x20CLI\x20is\x20not\x20running,\x20skipping\x20stop','getChannel','BROWSERSTACK_CLI_ENABLED','../../helpers/classLogger.js','./framework/testcafeAutomationFramework.js','killed','getConfig','YgHZq','2042661SkFycT','isChildConnected','startChild','Error\x20Code:\x20','error','aPqPj','SDK_CLI_ON_BOOTSTRAP','aVBWV','qtlTA','bootstrap:\x20failed\x20to\x20bootstrap=','./cliUtils.js','setConfig:\x20error=','write','YBRgP','split','getAccessibility','loading\x20Modules.','KEY_CUSTOM_TAGS','getAutomationFramework','uCkUW','setupTestFramework','Error\x20during\x20test\x20orchestration:\x20','qXEEx','stop:\x20CLI\x20stop\x20triggered','errorsList','configureModules','trim','BROWSERSTACK_CLI_BIN_SESSION_ID','resolve','Cause:\x20','isCliEnabled','MODULE_NAME','includes','872bCBbCs','40453ynyQcN'];a83_0x5527=function(){return _0xb9676c;};return a83_0x5527();}