browserstack-node-sdk 1.65.2 → 1.65.3

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 (216) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  42. package/src/bin/codeceptjs/command.js +1 -1
  43. package/src/bin/codeceptjs/helper.js +1 -1
  44. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  45. package/src/bin/cucumber-js/command.js +1 -1
  46. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  48. package/src/bin/cucumber-js/test-observability.js +1 -1
  49. package/src/bin/cucumber-js/test.setup.js +1 -1
  50. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  51. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  52. package/src/bin/integrations/command.js +1 -1
  53. package/src/bin/integrations/constants.js +1 -1
  54. package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
  55. package/src/bin/jasmine/command.js +1 -1
  56. package/src/bin/jasmine/test.setup.js +1 -1
  57. package/src/bin/jasmine/testRunMap.js +1 -1
  58. package/src/bin/jest/command.js +1 -1
  59. package/src/bin/jest/customImplements/customCircus.js +1 -1
  60. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  61. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  62. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  63. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  64. package/src/bin/jest/jest.setup.js +1 -1
  65. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  66. package/src/bin/jest/test-observability/helper.js +1 -1
  67. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  68. package/src/bin/jest/test-observability/test-details.js +1 -1
  69. package/src/bin/jest/test.setup.js +1 -1
  70. package/src/bin/jest/test_before.setup.js +1 -1
  71. package/src/bin/launcher/launcher.js +1 -1
  72. package/src/bin/load/index.js +1 -1
  73. package/src/bin/load/loadErrors.js +1 -1
  74. package/src/bin/load/loadUtils.js +1 -1
  75. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  76. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  77. package/src/bin/mocha/command.js +1 -1
  78. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  79. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  80. package/src/bin/mocha/test.setup.js +1 -1
  81. package/src/bin/newman/command.js +1 -1
  82. package/src/bin/newman/helper.js +1 -1
  83. package/src/bin/newman/reporter/index.js +1 -1
  84. package/src/bin/newman/scriptRunner.js +1 -1
  85. package/src/bin/nightwatch/command.js +1 -1
  86. package/src/bin/node-generic/client.js +1 -1
  87. package/src/bin/playwright/accessibility-helper.js +1 -1
  88. package/src/bin/playwright/command.js +1 -1
  89. package/src/bin/playwright/globalSetup.js +1 -1
  90. package/src/bin/playwright/mock-process.js +1 -1
  91. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  92. package/src/bin/playwright/patches.js +1 -1
  93. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  94. package/src/bin/playwright/reporter/reporter.js +1 -1
  95. package/src/bin/playwright/reporter/test-details.js +1 -1
  96. package/src/bin/playwright/reporterArgs.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/nodeGenericTestFramework.js +1 -1
  136. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  137. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  138. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  139. package/src/bin/v2/framework/testFramework.js +1 -1
  140. package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
  141. package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
  142. package/src/bin/v2/grpcClient.js +1 -1
  143. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  144. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  145. package/src/bin/v2/instances/trackedContext.js +1 -1
  146. package/src/bin/v2/instances/trackedInstance.js +1 -1
  147. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  148. package/src/bin/v2/modules/baseModule.js +1 -1
  149. package/src/bin/v2/modules/loadTestModule.js +1 -1
  150. package/src/bin/v2/modules/observabilityModule.js +1 -1
  151. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  152. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  153. package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
  154. package/src/bin/v2/modules/testhubModule.js +1 -1
  155. package/src/bin/v2/sdkErrorHandler.js +1 -1
  156. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  157. package/src/bin/v2/state/hookState.js +1 -1
  158. package/src/bin/v2/state/testFrameworkState.js +1 -1
  159. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  160. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  161. package/src/bin/v2/utils/jest-utils.js +1 -1
  162. package/src/bin/vanilla-js/command.js +1 -1
  163. package/src/browserStackSdk.js +1 -1
  164. package/src/helpers/BrowserStackSetup.js +1 -1
  165. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  166. package/src/helpers/accessibility-automation/constants.js +1 -1
  167. package/src/helpers/accessibility-automation/helper.js +1 -1
  168. package/src/helpers/accessibility-automation/scripts.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/utilities.js +1 -1
  214. package/src/helpers/w3cMapping.js +1 -1
  215. package/src/hubAllocationMethods.js +1 -1
  216. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a54_0x301a82=a54_0x17e7;(function(_0x306944,_0x16cee6){const _0x516f47=a54_0x17e7,_0x56a383=_0x306944();while(!![]){try{const _0x3445b7=parseInt(_0x516f47(0xc1))/0x1+parseInt(_0x516f47(0x101))/0x2+parseInt(_0x516f47(0x10d))/0x3+parseInt(_0x516f47(0xc5))/0x4*(-parseInt(_0x516f47(0xba))/0x5)+parseInt(_0x516f47(0xc7))/0x6*(-parseInt(_0x516f47(0xb9))/0x7)+parseInt(_0x516f47(0xfc))/0x8+-parseInt(_0x516f47(0xc8))/0x9*(parseInt(_0x516f47(0xf1))/0xa);if(_0x3445b7===_0x16cee6)break;else _0x56a383['push'](_0x56a383['shift']());}catch(_0xe56a2d){_0x56a383['push'](_0x56a383['shift']());}}}(a54_0x380f,0xabf62));const fs=require('fs'),path=require(a54_0x301a82(0xbb)),{v4:uuidv4}=require('uuid'),{TEMP_STORE_DIR_NAME}=require('../../../helpers/test-observability/constants'),{nestedKeyValue}=require(a54_0x301a82(0xf9)),logger=require(a54_0x301a82(0xef))[a54_0x301a82(0x10f)],{getLogDir}=require(a54_0x301a82(0xef)),util=require('util'),helper=require(a54_0x301a82(0xf9));function a54_0x17e7(_0x26c1c9,_0x5afcf2){const _0x380f15=a54_0x380f();return a54_0x17e7=function(_0x17e710,_0x15587b){_0x17e710=_0x17e710-0xa6;let _0x28f984=_0x380f15[_0x17e710];return _0x28f984;},a54_0x17e7(_0x26c1c9,_0x5afcf2);}class TestDetails{static [a54_0x301a82(0xc2)]={};static[a54_0x301a82(0xd8)](){const _0x1eb623=a54_0x301a82;this[_0x1eb623(0xeb)]();const _0x4a64aa={};_0x4a64aa[_0x1eb623(0xf0)]=!![],fs['mkdirSync'](this[_0x1eb623(0xa7)](),_0x4a64aa);const _0xf7d7f0={};_0xf7d7f0[_0x1eb623(0xf0)]=!![],fs[_0x1eb623(0xac)](this[_0x1eb623(0xaa)](),_0xf7d7f0);}static['getStoreDirSuffix'](){const _0x5d6aba=a54_0x301a82,_0x2f3a22={};_0x2f3a22['AfVcj']=function(_0x12dcaf,_0x1fc881){return _0x12dcaf===_0x1fc881;},_0x2f3a22[_0x5d6aba(0x108)]=_0x5d6aba(0x100),_0x2f3a22[_0x5d6aba(0x10e)]=function(_0x220045,_0x23b29f){return _0x220045===_0x23b29f;},_0x2f3a22[_0x5d6aba(0xd9)]='null',_0x2f3a22[_0x5d6aba(0xfd)]=_0x5d6aba(0xb3);const _0x3e99ec=_0x2f3a22,_0x44a423=process[_0x5d6aba(0xd5)][_0x5d6aba(0xcc)];if(!_0x44a423||_0x3e99ec[_0x5d6aba(0xbc)](_0x44a423,_0x3e99ec[_0x5d6aba(0x108)])||_0x3e99ec[_0x5d6aba(0x10e)](_0x44a423,_0x3e99ec[_0x5d6aba(0xd9)]))return _0x3e99ec[_0x5d6aba(0xfd)];return _0x44a423;}static[a54_0x301a82(0xc4)](){const _0x423c24=a54_0x301a82,_0x545f33={};_0x545f33[_0x423c24(0xbe)]=function(_0x5575a3,_0x314bec){return _0x5575a3+_0x314bec;},_0x545f33['IwnIY']=function(_0x30fda6,_0x4eed67){return _0x30fda6+_0x4eed67;};const _0x5b8480=_0x545f33;return _0x5b8480[_0x423c24(0xbe)](_0x5b8480[_0x423c24(0xf3)](TEMP_STORE_DIR_NAME,'-'),TestDetails[_0x423c24(0xd0)]());}static[a54_0x301a82(0xc0)](){const _0xca5aa1=a54_0x301a82,_0x190d41={};_0x190d41[_0xca5aa1(0xc6)]=function(_0x9f42c1,_0xdc4f96){return _0x9f42c1+_0xdc4f96;},_0x190d41['zNTcB']=function(_0x34fbe9,_0x5a658f){return _0x34fbe9+_0x5a658f;};const _0x408e21=_0x190d41;return path[_0xca5aa1(0xd7)](_0x408e21[_0xca5aa1(0xc6)](_0x408e21[_0xca5aa1(0xf5)](TEMP_STORE_DIR_NAME,'-'),TestDetails[_0xca5aa1(0xd0)]()));}static[a54_0x301a82(0xaa)](){const _0x4da5e9=a54_0x301a82,_0x54efe2={};_0x54efe2[_0x4da5e9(0x109)]=_0x4da5e9(0x110);const _0x5088aa=_0x54efe2;return path[_0x4da5e9(0xd7)](this[_0x4da5e9(0xc0)](),_0x5088aa[_0x4da5e9(0x109)]);}static['getDirPath'](){const _0x3dbe49=a54_0x301a82;return TestDetails[_0x3dbe49(0xc4)]();}static[a54_0x301a82(0xed)](_0x1d41cc){const _0x57445f=a54_0x301a82,_0x2cc2c9={};_0x2cc2c9[_0x57445f(0xa9)]=function(_0x4c2c3f,_0x41c768){return _0x4c2c3f+_0x41c768;},_0x2cc2c9[_0x57445f(0xf4)]=_0x57445f(0xd1);const _0x1da0c3=_0x2cc2c9;return path['join'](this[_0x57445f(0xa7)](),_0x1da0c3[_0x57445f(0xa9)](_0x1d41cc,_0x1da0c3['lvPmS']));}static[a54_0x301a82(0xe5)](_0xdf3b59){const _0x26bd1c=a54_0x301a82,_0x2ccdc2={};_0x2ccdc2[_0x26bd1c(0xcb)]=function(_0x55c38e,_0x17138a){return _0x55c38e+_0x17138a;};const _0x4af6cd=_0x2ccdc2;return _0x4af6cd[_0x26bd1c(0xcb)](_0x4af6cd['uqQIN'](this['getTestIdFromTestInfo'](_0xdf3b59),'-'),_0xdf3b59['retry']);}static[a54_0x301a82(0xd6)](_0x4dcd35){const _0x231e23=a54_0x301a82,_0x22a9e3={'LWSEW':function(_0x55d055,_0x4a8e65,_0x308956){return _0x55d055(_0x4a8e65,_0x308956);},'BKMTC':'_test','dgFlJ':_0x231e23(0xb2),'xdTyg':function(_0x3d71f3,_0x4b3b92,_0x28e9ae){return _0x3d71f3(_0x4b3b92,_0x28e9ae);},'pFSwm':'project','czPfY':_0x231e23(0x102)};return _0x22a9e3[_0x231e23(0xfa)](nestedKeyValue,_0x4dcd35,[_0x22a9e3[_0x231e23(0xce)],_0x22a9e3[_0x231e23(0xbd)]])||_0x22a9e3[_0x231e23(0xe7)](nestedKeyValue,_0x4dcd35,[_0x22a9e3['pFSwm'],_0x22a9e3[_0x231e23(0xf8)]]);}static[a54_0x301a82(0xe0)](_0x49f74e){const _0x17976e=a54_0x301a82,_0x26466f={'pRBKr':function(_0x3b5ced,_0x4d40ce,_0x385fa6){return _0x3b5ced(_0x4d40ce,_0x385fa6);},'UPhGQ':_0x17976e(0xee)};return _0x26466f['pRBKr'](nestedKeyValue,_0x49f74e,[_0x26466f[_0x17976e(0xe3)],'id'])||_0x49f74e[_0x17976e(0xff)];}static['getTestUUID'](_0x2411fd){const _0x1938aa=a54_0x301a82,_0x3cb594={'XfiwU':function(_0x2a61e3,_0x49987c){return _0x2a61e3===_0x49987c;},'UjSwt':_0x1938aa(0xcf),'AzlEX':function(_0x4f350a){return _0x4f350a();}};if(this['tests'][_0x2411fd]&&_0x3cb594[_0x1938aa(0xe2)](typeof this['tests'][_0x2411fd][_0x1938aa(0x10c)],_0x3cb594[_0x1938aa(0x10b)]))return this['tests'][_0x2411fd][_0x1938aa(0x10c)];const _0x50d36f=this[_0x1938aa(0xed)](_0x2411fd);if(_0x50d36f&&fs[_0x1938aa(0xb1)](_0x50d36f)){const _0x31cf28=JSON['parse'](fs[_0x1938aa(0xdf)](_0x50d36f)[_0x1938aa(0xc9)]());return this[_0x1938aa(0xc2)][_0x2411fd]=_0x31cf28,this['tests'][_0x2411fd][_0x1938aa(0x10c)];}return this[_0x1938aa(0xc2)][_0x2411fd]={'uuid':_0x3cb594[_0x1938aa(0xd4)](uuidv4)},fs[_0x1938aa(0xb5)](_0x50d36f,JSON[_0x1938aa(0x107)](this['tests'][_0x2411fd])),this[_0x1938aa(0xc2)][_0x2411fd][_0x1938aa(0x10c)];}static[a54_0x301a82(0xf6)](_0x8dc94){const _0x325df5=a54_0x301a82,_0x13b154=path[_0x325df5(0xd7)](this['getDirPath'](),_0x8dc94+_0x325df5(0xe4));if(_0x13b154&&fs[_0x325df5(0xb1)](_0x13b154))return fs[_0x325df5(0xdf)](_0x13b154)['toString']();}static[a54_0x301a82(0xb7)](_0x4c5763,_0x13c8ad){const _0x39c9f5=a54_0x301a82;try{const _0xac0dd7=this[_0x39c9f5(0xa7)](),_0xdce85={};_0xdce85[_0x39c9f5(0xf0)]=!![],fs[_0x39c9f5(0xac)](_0xac0dd7,_0xdce85);const _0x1a321=path[_0x39c9f5(0xd7)](_0xac0dd7,_0x13c8ad+_0x39c9f5(0xe4));fs['writeFileSync'](_0x1a321,_0x4c5763['toString']());}catch(_0x36b771){logger[_0x39c9f5(0xc3)](_0x39c9f5(0xb0)+_0x13c8ad+':\x20'+(_0x36b771&&_0x36b771[_0x39c9f5(0xab)]));}}static[a54_0x301a82(0xda)](_0x4641a3){const _0x606ef2=a54_0x301a82,_0x27d4f6=path[_0x606ef2(0xd7)](this[_0x606ef2(0xa7)](),_0x4641a3+_0x606ef2(0xf2));if(_0x27d4f6&&fs['existsSync'](_0x27d4f6))try{return JSON[_0x606ef2(0xae)](fs[_0x606ef2(0xdf)](_0x27d4f6)[_0x606ef2(0xc9)]());}catch(_0xedd196){return logger[_0x606ef2(0xc3)](_0x606ef2(0xcd)+_0x4641a3+':\x20'+(_0xedd196&&_0xedd196['message'])),null;}return null;}static['setIntegrations'](_0x1c5a33,_0x5dd8d1){const _0x4c91bb=a54_0x301a82,_0x5e663b={};_0x5e663b[_0x4c91bb(0xb4)]=function(_0x595ce1,_0x49f84){return _0x595ce1||_0x49f84;};const _0x1d6c2a=_0x5e663b;if(_0x1d6c2a[_0x4c91bb(0xb4)](!_0x1c5a33,!_0x5dd8d1))return;try{const _0x24f458=this[_0x4c91bb(0xa7)](),_0x26c045={};_0x26c045[_0x4c91bb(0xf0)]=!![],fs['mkdirSync'](_0x24f458,_0x26c045);const _0x5b04b3=path[_0x4c91bb(0xd7)](_0x24f458,_0x1c5a33+_0x4c91bb(0xf2));fs[_0x4c91bb(0xb5)](_0x5b04b3,JSON[_0x4c91bb(0x107)](_0x5dd8d1));}catch(_0x265cfe){logger['debug'](_0x4c91bb(0x10a)+_0x1c5a33+':\x20'+(_0x265cfe&&_0x265cfe[_0x4c91bb(0xab)]));}}static['shutdown'](){const _0x3a35bd=a54_0x301a82,_0x4d1a47={};_0x4d1a47[_0x3a35bd(0xf0)]=!![],_0x4d1a47[_0x3a35bd(0xe6)]=!![],fs['rmSync'](this[_0x3a35bd(0xa7)](),_0x4d1a47);}static[a54_0x301a82(0xaf)](_0x4a04b6){const _0x54a32e=a54_0x301a82;if(this[_0x54a32e(0xc2)][_0x4a04b6])return this[_0x54a32e(0xc2)][_0x4a04b6];const _0x57de0d=this[_0x54a32e(0xed)](_0x4a04b6);if(_0x57de0d&&fs['existsSync'](_0x57de0d)){const _0x124293=JSON[_0x54a32e(0xae)](fs['readFileSync'](_0x57de0d)['toString']());return this[_0x54a32e(0xc2)][_0x4a04b6]=_0x124293,_0x124293;}return{};}static[a54_0x301a82(0xd3)](_0x35f7bd,_0x321f0a){const _0x76ff86=a54_0x301a82,_0x241c03=this[_0x76ff86(0xed)](_0x35f7bd);if(_0x241c03&&fs['existsSync'](_0x241c03)){const _0x379aff=JSON[_0x76ff86(0xae)](fs[_0x76ff86(0xdf)](_0x241c03)[_0x76ff86(0xc9)]()),_0x2e0157={..._0x379aff,..._0x321f0a};this[_0x76ff86(0xc2)][_0x35f7bd]=_0x2e0157;}else this[_0x76ff86(0xc2)][_0x35f7bd]=_0x321f0a;fs[_0x76ff86(0xb5)](_0x241c03,this[_0x76ff86(0xc2)][_0x35f7bd]);}static[a54_0x301a82(0xdd)](_0x32ee39){const _0x4aa57c=a54_0x301a82,_0x3186f2={};_0x3186f2['TwGbz']='Error\x20handling\x20trace\x20file\x20paths:\x20';const _0x555e68=_0x3186f2;try{const _0x19f7a4=process[_0x4aa57c(0xde)],_0x2e1c4d=path[_0x4aa57c(0xd7)](TestDetails[_0x4aa57c(0xaa)](),_0x19f7a4+_0x4aa57c(0x104));let _0x1fbfdb=[];_0x2e1c4d&&fs['existsSync'](_0x2e1c4d)&&(_0x1fbfdb=JSON[_0x4aa57c(0xae)](fs[_0x4aa57c(0xdf)](_0x2e1c4d)['toString']())),!_0x1fbfdb['some'](_0x5a5367=>_0x5a5367['filePath']===_0x32ee39[_0x4aa57c(0x105)])&&(_0x1fbfdb[_0x4aa57c(0xdb)](_0x32ee39),fs[_0x4aa57c(0xb5)](_0x2e1c4d,JSON['stringify'](_0x1fbfdb)));}catch(_0x18efba){logger[_0x4aa57c(0xe9)](_0x555e68[_0x4aa57c(0x103)],_0x18efba);}}static[a54_0x301a82(0xfe)](){const _0x3c285d=a54_0x301a82,_0x291d4d={};_0x291d4d['MZCMA']=_0x3c285d(0x104),_0x291d4d['tVLGc']=_0x3c285d(0xad);const _0xd0643a=_0x291d4d,_0x44c05a=[];try{const _0x5971f3=TestDetails[_0x3c285d(0xaa)]();if(_0x5971f3&&!fs[_0x3c285d(0xb1)](_0x5971f3))return _0x44c05a;const _0x378032=fs[_0x3c285d(0xea)](_0x5971f3);_0x378032[_0x3c285d(0xf7)](_0x313dcc=>{const _0x494302=_0x3c285d;if(_0x313dcc&&_0x313dcc[_0x494302(0xa6)](_0xd0643a[_0x494302(0xec)])){const _0x59e21c=JSON[_0x494302(0xae)](fs['readFileSync'](path[_0x494302(0xd7)](_0x5971f3,_0x313dcc))[_0x494302(0xc9)]());_0x44c05a[_0x494302(0xdb)](..._0x59e21c);}});}catch(_0x76b249){logger[_0x3c285d(0xe9)](util[_0x3c285d(0xca)](_0xd0643a[_0x3c285d(0xe1)],_0x76b249));}const _0x1c74b4={};return _0x44c05a[_0x3c285d(0xf7)](_0x47e06f=>{_0x1c74b4[_0x47e06f['filePath']]=_0x47e06f;}),Object[_0x3c285d(0xd2)](_0x1c74b4);}static[a54_0x301a82(0xbf)](_0x1bed7b,_0x569238){const _0x2bf656=a54_0x301a82,_0x374ec8={};_0x374ec8['DNCiU']=_0x2bf656(0xfb),_0x374ec8[_0x2bf656(0xa8)]=_0x2bf656(0x106);const _0x1abd8e=_0x374ec8;try{const _0x23101a=path['join'](helper[_0x2bf656(0xdc)](),_0x1abd8e[_0x2bf656(0xe8)]);if(!fs['existsSync'](_0x23101a)){const _0x2fc368={};_0x2fc368[_0x2bf656(0xf0)]=!![],fs['mkdirSync'](_0x23101a,_0x2fc368);}fs[_0x2bf656(0xb6)](path[_0x2bf656(0xd7)](_0x23101a,_0x2bf656(0xb8)+_0x569238+'.txt'),_0x1bed7b+'\x0a',_0x1abd8e[_0x2bf656(0xa8)]);}catch(_0x1a69f8){console[_0x2bf656(0xe9)]('Error\x20writing\x20trace\x20file:\x20'+_0x1a69f8[_0x2bf656(0xab)]);}}}function a54_0x380f(){const _0x1f4c72=['readFileSync','getTestIdFromTestInfo','tVLGc','XfiwU','UPhGQ','_platformDetails.json','getTestRunIdFromTestInfo','force','xdTyg','DNCiU','error','readdirSync','shutdown','MZCMA','getFilePath','_test','../../../helpers/logger','recursive','20BCwCXs','_integrations.json','IwnIY','lvPmS','zNTcB','getAccessibilityPlatformValidation','forEach','czPfY','../../../helpers/helper','LWSEW','.browserstack','9127912tkNnrg','coxAl','getTraceFilePaths','testId','undefined','2092822rhkAIL','__projectId','TwGbz','_traceZipPaths.json','filePath','utf8','stringify','XQtwl','zrIFn','Failed\x20to\x20write\x20integrations\x20file\x20for\x20test\x20','UjSwt','uuid','4215783iFWIzZ','Dzxon','winstonLogger','traceZipPaths','endsWith','getDirPath','jFwrx','gPqXc','getTraceZipDir','message','mkdirSync','Error\x20reading\x20trace\x20file\x20paths:\x20%s','parse','getTestDetails','Failed\x20to\x20write\x20platform\x20validation\x20file\x20for\x20test\x20','existsSync','_projectId','default','xAunu','writeFileSync','appendFileSync','setAccessibilityPlatformValidation','trace_','14QPzXmr','25495MjHXKl','path','AfVcj','dgFlJ','ZbayF','appendToTracePaths','getStoreDirPath','907290RMsJQM','tests','debug','getStoreDirName','724YCbweS','VCLbR','436398SEgeDA','12272454qpEiHS','toString','format','uqQIN','BS_TESTOPS_BUILD_HASHED_ID','Failed\x20to\x20parse\x20integrations\x20file\x20for\x20test\x20','BKMTC','string','getStoreDirSuffix','.json','values','setTestDetails','AzlEX','env','getProjectIdFromTestInfo','join','setup','XzosN','getIntegrations','push','homedir','addTraceFilePath','pid'];a54_0x380f=function(){return _0x1f4c72;};return a54_0x380f();}module['exports']=TestDetails;
1
+ const a54_0x5c46a4=a54_0x2522;function a54_0xc8cc(){const _0x61896f=['VMfFM','getTestRunIdFromTestInfo','UxMLg','../../../helpers/helper','utf8','endsWith','pBAPs','YZIGD','stringify','qiaUU','_integrations.json','env','Failed\x20to\x20write\x20platform\x20validation\x20file\x20for\x20test\x20','BS_TESTOPS_BUILD_HASHED_ID','DGcVP','Failed\x20to\x20parse\x20integrations\x20file\x20for\x20test\x20','exports','tTIFy','uuid','421550LkZqno','getDirPath','appendFileSync','forEach','mkdirSync','24nsHsoB','existsSync','readFileSync','default','homedir','getAccessibilityPlatformValidation','setAccessibilityPlatformValidation','getStoreDirSuffix','project','__projectId','addTraceFilePath','Owhvw','setIntegrations','1894755QocXvx','toString','rmSync','.json','../../../helpers/logger','11asdXxa','format','push','GdPxh','winstonLogger','pid','trace_','some','WHWJN','tests','getProjectIdFromTestInfo','.txt','filePath','getStoreDirName','1115atXjku','getTestUUID','siiUD','values','util','qcXrr','getFilePath','cOjaW','traceZipPaths','WxEee','null','_traceZipPaths.json','rWpqS','qHwMk','4500330LUfMhq','writeFileSync','FCwrY','undefined','_test','njyrv','CNHAF','readdirSync','SUpAf','message','getTraceZipDir','testId','getStoreDirPath','parse','lMObM','672QMqFBu','error','64686nBGTuw','getTestDetails','shutdown','setTestDetails','ilohn','_platformDetails.json','4UNjuqN','NJFTR','Failed\x20to\x20write\x20integrations\x20file\x20for\x20test\x20','getTestIdFromTestInfo','setup','2943027HGfyKJ','1458QFICJm','debug','SfMsP','join','recursive','919644eQgWWZ'];a54_0xc8cc=function(){return _0x61896f;};return a54_0xc8cc();}(function(_0x4a50d2,_0x87b92f){const _0x3a9f49=a54_0x2522,_0xad271b=_0x4a50d2();while(!![]){try{const _0x235fd1=-parseInt(_0x3a9f49(0xa6))/0x1*(-parseInt(_0x3a9f49(0xd1))/0x2)+-parseInt(_0x3a9f49(0x93))/0x3*(parseInt(_0x3a9f49(0xcb))/0x4)+-parseInt(_0x3a9f49(0x81))/0x5+parseInt(_0x3a9f49(0xc5))/0x6*(parseInt(_0x3a9f49(0xc3))/0x7)+parseInt(_0x3a9f49(0x86))/0x8*(-parseInt(_0x3a9f49(0xd0))/0x9)+parseInt(_0x3a9f49(0xb4))/0xa+parseInt(_0x3a9f49(0x98))/0xb*(-parseInt(_0x3a9f49(0x6d))/0xc);if(_0x235fd1===_0x87b92f)break;else _0xad271b['push'](_0xad271b['shift']());}catch(_0x90f741){_0xad271b['push'](_0xad271b['shift']());}}}(a54_0xc8cc,0x8000f));function a54_0x2522(_0x5a7ba0,_0xd3a38d){const _0xc8cc80=a54_0xc8cc();return a54_0x2522=function(_0x252209,_0x49f365){_0x252209=_0x252209-0x69;let _0x42bf34=_0xc8cc80[_0x252209];return _0x42bf34;},a54_0x2522(_0x5a7ba0,_0xd3a38d);}const fs=require('fs'),path=require('path'),{v4:uuidv4}=require(a54_0x5c46a4(0x80)),{TEMP_STORE_DIR_NAME}=require('../../../helpers/test-observability/constants'),{nestedKeyValue}=require('../../../helpers/helper'),logger=require(a54_0x5c46a4(0x97))[a54_0x5c46a4(0x9c)],{getLogDir}=require('../../../helpers/logger'),util=require(a54_0x5c46a4(0xaa)),helper=require(a54_0x5c46a4(0x71));class TestDetails{static [a54_0x5c46a4(0xa1)]={};static[a54_0x5c46a4(0xcf)](){const _0x3d173a=a54_0x5c46a4;this[_0x3d173a(0xc7)]();const _0xa93bf4={};_0xa93bf4[_0x3d173a(0x6c)]=!![],fs[_0x3d173a(0x85)](this[_0x3d173a(0x82)](),_0xa93bf4);const _0x1b4409={};_0x1b4409['recursive']=!![],fs[_0x3d173a(0x85)](this[_0x3d173a(0xbe)](),_0x1b4409);}static[a54_0x5c46a4(0x8d)](){const _0x408cdb=a54_0x5c46a4,_0x14409a={};_0x14409a[_0x408cdb(0xb3)]=function(_0x21aaeb,_0x439584){return _0x21aaeb===_0x439584;},_0x14409a['WHWJN']=_0x408cdb(0xb7),_0x14409a['WxEee']=function(_0x10c66f,_0x137055){return _0x10c66f===_0x137055;},_0x14409a[_0x408cdb(0x74)]=_0x408cdb(0xb0),_0x14409a[_0x408cdb(0xb9)]=_0x408cdb(0x89);const _0x5396e1=_0x14409a,_0xd0b1f2=process[_0x408cdb(0x79)][_0x408cdb(0x7b)];if(!_0xd0b1f2||_0x5396e1[_0x408cdb(0xb3)](_0xd0b1f2,_0x5396e1[_0x408cdb(0xa0)])||_0x5396e1[_0x408cdb(0xaf)](_0xd0b1f2,_0x5396e1[_0x408cdb(0x74)]))return _0x5396e1[_0x408cdb(0xb9)];return _0xd0b1f2;}static[a54_0x5c46a4(0xa5)](){const _0x1b6966=a54_0x5c46a4,_0x3aa86a={};_0x3aa86a[_0x1b6966(0x6a)]=function(_0x15c509,_0x326d60){return _0x15c509+_0x326d60;};const _0x4ee2fa=_0x3aa86a;return _0x4ee2fa[_0x1b6966(0x6a)](_0x4ee2fa['SfMsP'](TEMP_STORE_DIR_NAME,'-'),TestDetails['getStoreDirSuffix']());}static['getStoreDirPath'](){const _0x51877c=a54_0x5c46a4,_0x35af6f={};_0x35af6f[_0x51877c(0x7f)]=function(_0x94756a,_0x341e2d){return _0x94756a+_0x341e2d;};const _0x4c2016=_0x35af6f;return path[_0x51877c(0x6b)](_0x4c2016[_0x51877c(0x7f)](_0x4c2016[_0x51877c(0x7f)](TEMP_STORE_DIR_NAME,'-'),TestDetails[_0x51877c(0x8d)]()));}static['getTraceZipDir'](){const _0x5020e9=a54_0x5c46a4,_0x349dde={};_0x349dde['lMObM']=_0x5020e9(0xae);const _0xc133e8=_0x349dde;return path[_0x5020e9(0x6b)](this[_0x5020e9(0xc0)](),_0xc133e8[_0x5020e9(0xc2)]);}static[a54_0x5c46a4(0x82)](){const _0x2d090d=a54_0x5c46a4;return TestDetails[_0x2d090d(0xa5)]();}static['getFilePath'](_0x3457c8){const _0x18d46d=a54_0x5c46a4,_0x554271={};_0x554271['VMfFM']=function(_0x46b762,_0xfc6f10){return _0x46b762+_0xfc6f10;},_0x554271[_0x18d46d(0xb2)]=_0x18d46d(0x96);const _0x8a6dbc=_0x554271;return path[_0x18d46d(0x6b)](this['getDirPath'](),_0x8a6dbc[_0x18d46d(0x6e)](_0x3457c8,_0x8a6dbc[_0x18d46d(0xb2)]));}static[a54_0x5c46a4(0x6f)](_0x44b4ea){const _0x592f8a=a54_0x5c46a4,_0x31e93a={};_0x31e93a[_0x592f8a(0x7c)]=function(_0x38b563,_0x323037){return _0x38b563+_0x323037;};const _0x17a1a7=_0x31e93a;return _0x17a1a7[_0x592f8a(0x7c)](_0x17a1a7['DGcVP'](this[_0x592f8a(0xce)](_0x44b4ea),'-'),_0x44b4ea['retry']);}static[a54_0x5c46a4(0xa2)](_0x291bc8){const _0x59825d=a54_0x5c46a4,_0x2fcfb0={'YZIGD':function(_0x3433d7,_0x20ef83,_0x5aae6e){return _0x3433d7(_0x20ef83,_0x5aae6e);},'Owhvw':'_test','ilohn':'_projectId','FCwrY':_0x59825d(0x8e),'SUpAf':_0x59825d(0x8f)};return _0x2fcfb0['YZIGD'](nestedKeyValue,_0x291bc8,[_0x2fcfb0[_0x59825d(0x91)],_0x2fcfb0[_0x59825d(0xc9)]])||_0x2fcfb0[_0x59825d(0x75)](nestedKeyValue,_0x291bc8,[_0x2fcfb0[_0x59825d(0xb6)],_0x2fcfb0[_0x59825d(0xbc)]]);}static['getTestIdFromTestInfo'](_0x69c344){const _0x44e8cb=a54_0x5c46a4,_0x2a0676={'UXNOk':function(_0x2f52c1,_0x2740be,_0x241b22){return _0x2f52c1(_0x2740be,_0x241b22);},'NJFTR':_0x44e8cb(0xb8)};return _0x2a0676['UXNOk'](nestedKeyValue,_0x69c344,[_0x2a0676[_0x44e8cb(0xcc)],'id'])||_0x69c344[_0x44e8cb(0xbf)];}static[a54_0x5c46a4(0xa7)](_0x4dbd29){const _0x5733ab=a54_0x5c46a4,_0x17974d={'eGOEL':function(_0xe94420,_0x3ff7e3){return _0xe94420===_0x3ff7e3;},'cOjaW':'string','siiUD':function(_0x107e81){return _0x107e81();}};if(this[_0x5733ab(0xa1)][_0x4dbd29]&&_0x17974d['eGOEL'](typeof this['tests'][_0x4dbd29][_0x5733ab(0x80)],_0x17974d[_0x5733ab(0xad)]))return this[_0x5733ab(0xa1)][_0x4dbd29][_0x5733ab(0x80)];const _0x2ab3d5=this[_0x5733ab(0xac)](_0x4dbd29);if(_0x2ab3d5&&fs[_0x5733ab(0x87)](_0x2ab3d5)){const _0x6f7c9=JSON['parse'](fs[_0x5733ab(0x88)](_0x2ab3d5)[_0x5733ab(0x94)]());return this[_0x5733ab(0xa1)][_0x4dbd29]=_0x6f7c9,this[_0x5733ab(0xa1)][_0x4dbd29][_0x5733ab(0x80)];}return this[_0x5733ab(0xa1)][_0x4dbd29]={'uuid':_0x17974d[_0x5733ab(0xa8)](uuidv4)},fs[_0x5733ab(0xb5)](_0x2ab3d5,JSON[_0x5733ab(0x76)](this['tests'][_0x4dbd29])),this[_0x5733ab(0xa1)][_0x4dbd29][_0x5733ab(0x80)];}static[a54_0x5c46a4(0x8b)](_0x2d6ebc){const _0x5e974a=a54_0x5c46a4,_0x2c690b=path['join'](this[_0x5e974a(0x82)](),_0x2d6ebc+_0x5e974a(0xca));if(_0x2c690b&&fs['existsSync'](_0x2c690b))return fs['readFileSync'](_0x2c690b)['toString']();}static[a54_0x5c46a4(0x8c)](_0x2fadee,_0x5197ec){const _0x56ef00=a54_0x5c46a4;try{const _0x1ae8d6=this['getDirPath'](),_0x531758={};_0x531758[_0x56ef00(0x6c)]=!![],fs[_0x56ef00(0x85)](_0x1ae8d6,_0x531758);const _0x353d60=path['join'](_0x1ae8d6,_0x5197ec+_0x56ef00(0xca));fs[_0x56ef00(0xb5)](_0x353d60,_0x2fadee['toString']());}catch(_0xde0c){logger['debug'](_0x56ef00(0x7a)+_0x5197ec+':\x20'+(_0xde0c&&_0xde0c[_0x56ef00(0xbd)]));}}static['getIntegrations'](_0x3e394f){const _0x55d782=a54_0x5c46a4,_0x5ca1b3=path[_0x55d782(0x6b)](this['getDirPath'](),_0x3e394f+_0x55d782(0x78));if(_0x5ca1b3&&fs[_0x55d782(0x87)](_0x5ca1b3))try{return JSON['parse'](fs[_0x55d782(0x88)](_0x5ca1b3)[_0x55d782(0x94)]());}catch(_0x2477da){return logger[_0x55d782(0x69)](_0x55d782(0x7d)+_0x3e394f+':\x20'+(_0x2477da&&_0x2477da[_0x55d782(0xbd)])),null;}return null;}static[a54_0x5c46a4(0x92)](_0x4846a4,_0x435ded){const _0xfbde81=a54_0x5c46a4,_0x3fcf11={};_0x3fcf11['qcXrr']=function(_0x455e7e,_0x27aafe){return _0x455e7e||_0x27aafe;};const _0x38c87b=_0x3fcf11;if(_0x38c87b[_0xfbde81(0xab)](!_0x4846a4,!_0x435ded))return;try{const _0x1de35c=this[_0xfbde81(0x82)](),_0x3e5bf8={};_0x3e5bf8['recursive']=!![],fs[_0xfbde81(0x85)](_0x1de35c,_0x3e5bf8);const _0x2fd6f4=path['join'](_0x1de35c,_0x4846a4+'_integrations.json');fs[_0xfbde81(0xb5)](_0x2fd6f4,JSON[_0xfbde81(0x76)](_0x435ded));}catch(_0x55b6f9){logger[_0xfbde81(0x69)](_0xfbde81(0xcd)+_0x4846a4+':\x20'+(_0x55b6f9&&_0x55b6f9['message']));}}static[a54_0x5c46a4(0xc7)](){const _0x2d125c=a54_0x5c46a4,_0x2ecb8b={};_0x2ecb8b[_0x2d125c(0x6c)]=!![],_0x2ecb8b['force']=!![],fs[_0x2d125c(0x95)](this[_0x2d125c(0x82)](),_0x2ecb8b);}static[a54_0x5c46a4(0xc6)](_0x4fa076){const _0x5ae6f2=a54_0x5c46a4;if(this['tests'][_0x4fa076])return this['tests'][_0x4fa076];const _0x1b32b4=this[_0x5ae6f2(0xac)](_0x4fa076);if(_0x1b32b4&&fs['existsSync'](_0x1b32b4)){const _0x514f59=JSON[_0x5ae6f2(0xc1)](fs[_0x5ae6f2(0x88)](_0x1b32b4)['toString']());return this['tests'][_0x4fa076]=_0x514f59,_0x514f59;}return{};}static[a54_0x5c46a4(0xc8)](_0x1c553a,_0x95503f){const _0x4d7fdf=a54_0x5c46a4,_0x32091e=this['getFilePath'](_0x1c553a);if(_0x32091e&&fs[_0x4d7fdf(0x87)](_0x32091e)){const _0x1ea35c=JSON[_0x4d7fdf(0xc1)](fs[_0x4d7fdf(0x88)](_0x32091e)[_0x4d7fdf(0x94)]()),_0x2959c1={..._0x1ea35c,..._0x95503f};this[_0x4d7fdf(0xa1)][_0x1c553a]=_0x2959c1;}else this['tests'][_0x1c553a]=_0x95503f;fs[_0x4d7fdf(0xb5)](_0x32091e,this[_0x4d7fdf(0xa1)][_0x1c553a]);}static[a54_0x5c46a4(0x90)](_0x4cc91b){const _0x4278be=a54_0x5c46a4,_0x18e6c6={};_0x18e6c6['qiaUU']='Error\x20handling\x20trace\x20file\x20paths:\x20';const _0xe5feaa=_0x18e6c6;try{const _0x3eca7d=process[_0x4278be(0x9d)],_0x4bf497=path[_0x4278be(0x6b)](TestDetails[_0x4278be(0xbe)](),_0x3eca7d+_0x4278be(0xb1));let _0x1c1142=[];_0x4bf497&&fs[_0x4278be(0x87)](_0x4bf497)&&(_0x1c1142=JSON['parse'](fs[_0x4278be(0x88)](_0x4bf497)[_0x4278be(0x94)]())),!_0x1c1142[_0x4278be(0x9f)](_0x213481=>_0x213481[_0x4278be(0xa4)]===_0x4cc91b['filePath'])&&(_0x1c1142[_0x4278be(0x9a)](_0x4cc91b),fs['writeFileSync'](_0x4bf497,JSON[_0x4278be(0x76)](_0x1c1142)));}catch(_0x2059ee){logger[_0x4278be(0xc4)](_0xe5feaa[_0x4278be(0x77)],_0x2059ee);}}static['getTraceFilePaths'](){const _0x9dae1a=a54_0x5c46a4,_0x560785={};_0x560785['jbTbp']=_0x9dae1a(0xb1),_0x560785[_0x9dae1a(0xba)]='Error\x20reading\x20trace\x20file\x20paths:\x20%s';const _0x475ca0=_0x560785,_0x257ba0=[];try{const _0x5cb5e2=TestDetails['getTraceZipDir']();if(_0x5cb5e2&&!fs[_0x9dae1a(0x87)](_0x5cb5e2))return _0x257ba0;const _0x2b348f=fs[_0x9dae1a(0xbb)](_0x5cb5e2);_0x2b348f[_0x9dae1a(0x84)](_0x2ee716=>{const _0x227eb6=_0x9dae1a;if(_0x2ee716&&_0x2ee716[_0x227eb6(0x73)](_0x475ca0['jbTbp'])){const _0xd63d95=JSON[_0x227eb6(0xc1)](fs[_0x227eb6(0x88)](path[_0x227eb6(0x6b)](_0x5cb5e2,_0x2ee716))['toString']());_0x257ba0[_0x227eb6(0x9a)](..._0xd63d95);}});}catch(_0x5a941a){logger[_0x9dae1a(0xc4)](util[_0x9dae1a(0x99)](_0x475ca0[_0x9dae1a(0xba)],_0x5a941a));}const _0x3fd657={};return _0x257ba0[_0x9dae1a(0x84)](_0x9df300=>{const _0x5c75b7=_0x9dae1a;_0x3fd657[_0x9df300[_0x5c75b7(0xa4)]]=_0x9df300;}),Object[_0x9dae1a(0xa9)](_0x3fd657);}static['appendToTracePaths'](_0x461953,_0x3ccbb2){const _0x1c7f12=a54_0x5c46a4,_0x3d13bb={};_0x3d13bb[_0x1c7f12(0x9b)]='.browserstack',_0x3d13bb['UxMLg']=_0x1c7f12(0x72);const _0x12a8cb=_0x3d13bb;try{const _0x442a74=path['join'](helper[_0x1c7f12(0x8a)](),_0x12a8cb[_0x1c7f12(0x9b)]);if(!fs[_0x1c7f12(0x87)](_0x442a74)){const _0x1cc9ab={};_0x1cc9ab[_0x1c7f12(0x6c)]=!![],fs[_0x1c7f12(0x85)](_0x442a74,_0x1cc9ab);}fs[_0x1c7f12(0x83)](path[_0x1c7f12(0x6b)](_0x442a74,_0x1c7f12(0x9e)+_0x3ccbb2+_0x1c7f12(0xa3)),_0x461953+'\x0a',_0x12a8cb[_0x1c7f12(0x70)]);}catch(_0x4def54){console['error']('Error\x20writing\x20trace\x20file:\x20'+_0x4def54[_0x1c7f12(0xbd)]);}}}module[a54_0x5c46a4(0x7e)]=TestDetails;
@@ -1 +1 @@
1
- 'use strict';const a55_0x5a1ef6=a55_0x493d;function a55_0x493d(_0x115b73,_0x4421c7){const _0x2e9ed9=a55_0x2e9e();return a55_0x493d=function(_0x493dfd,_0x1a60ff){_0x493dfd=_0x493dfd-0x68;let _0x20f2f7=_0x2e9ed9[_0x493dfd];return _0x20f2f7;},a55_0x493d(_0x115b73,_0x4421c7);}(function(_0x326a08,_0x260847){const _0x2e658f=a55_0x493d,_0x5e9ae5=_0x326a08();while(!![]){try{const _0x5c74b9=parseInt(_0x2e658f(0x95))/0x1*(parseInt(_0x2e658f(0x94))/0x2)+-parseInt(_0x2e658f(0x9d))/0x3+parseInt(_0x2e658f(0x78))/0x4*(parseInt(_0x2e658f(0x90))/0x5)+-parseInt(_0x2e658f(0x7b))/0x6+-parseInt(_0x2e658f(0x71))/0x7+-parseInt(_0x2e658f(0x8b))/0x8+parseInt(_0x2e658f(0x75))/0x9;if(_0x5c74b9===_0x260847)break;else _0x5e9ae5['push'](_0x5e9ae5['shift']());}catch(_0x216080){_0x5e9ae5['push'](_0x5e9ae5['shift']());}}}(a55_0x2e9e,0xa84da));function a55_0x2e9e(){const _0x20c50e=['pXfzf','find','GsaMD','cEZWy','2440914oYayWc','HJTxi','[BrowserStack]\x20A\x20--reporter\x20flag\x20was\x20passed\x20on\x20the\x20Playwright\x20CLI;\x20it\x20overrides\x20the\x20config\x20reporter.\x20Merged\x20the\x20BrowserStack\x20Observability\x20reporter\x20into\x20it\x20so\x20test\x20events\x20are\x20captured.','slice','22593267loJGtx','NmltJ','sKsLh','768236xPnoDl','join','startsWith','1944030bVbdTn','string','debug','KSqIg','tmmrz','exports','filter','[BrowserStack]\x20Failed\x20to\x20merge\x20BrowserStack\x20reporter\x20into\x20CLI\x20--reporter\x20flag:\x20','flagIdx','SIGaH','some','BROWSERSTACK_PW_REPORTER_PATH','platform','includes','./reporter/reporter.js','VxbbS','4154928fmUkXR','win32','Dqqqq','ROnrD','--reporter=','10oAtuWc','map','length','Gncsv','2qylLrH','167069pqjzbS','hMbJH','mergeBrowserstackReporterIntoCliReporterFlag','--reporter','resolve','bYCLH','YfOAp','push','3540321ehgOol','glqlm','EPxSY','MIZrZ','XJJkg','path','prefix','wYITG'];a55_0x2e9e=function(){return _0x20c50e;};return a55_0x2e9e();}const path=require(a55_0x5a1ef6(0x6a)),{format}=require('util'),logger=require('../../helpers/logger')['winstonLogger'],BROWSERSTACK_PW_REPORTER_PATH=path[a55_0x5a1ef6(0x79)](__dirname,a55_0x5a1ef6(0x89)),INLINE_PREFIXES=[a55_0x5a1ef6(0x8f)],BARE_FLAGS=[a55_0x5a1ef6(0x98)],stripQuotes=_0x384351=>{const _0x4bfe5b=a55_0x5a1ef6,_0x5c4980={'wYITG':function(_0x2fe09b,_0x78a0b4){return _0x2fe09b(_0x78a0b4);},'YfOAp':function(_0x167e5b,_0x52d17a){return _0x167e5b>=_0x52d17a;},'ROnrD':function(_0x1e58cb,_0x20b49c){return _0x1e58cb-_0x20b49c;},'pXfzf':function(_0x3dcfed,_0x484782){return _0x3dcfed===_0x484782;},'HJTxi':function(_0x33c469,_0x5e8b95){return _0x33c469===_0x5e8b95;}},_0x5cc41b=_0x5c4980[_0x4bfe5b(0x6c)](String,_0x384351);if(_0x5c4980[_0x4bfe5b(0x9b)](_0x5cc41b['length'],0x2)){const _0x405082=_0x5cc41b[0x0],_0x5de351=_0x5cc41b[_0x5c4980[_0x4bfe5b(0x8e)](_0x5cc41b[_0x4bfe5b(0x92)],0x1)];if(_0x5c4980[_0x4bfe5b(0x6d)](_0x405082,'\x22')&&_0x5c4980[_0x4bfe5b(0x72)](_0x5de351,'\x22')||_0x5c4980[_0x4bfe5b(0x6d)](_0x405082,'\x27')&&_0x5c4980[_0x4bfe5b(0x72)](_0x5de351,'\x27'))return _0x5cc41b[_0x4bfe5b(0x74)](0x1,-0x1);}return _0x5cc41b;},resolveQuietly=_0x5edfea=>{const _0x50adaf=a55_0x5a1ef6;try{return path[_0x50adaf(0x99)](_0x5edfea);}catch(_0x3a67e2){return null;}},renderValue=(_0x540899,_0x318138)=>{const _0x228b0a=a55_0x5a1ef6,_0x49a0d7={};_0x49a0d7['SIGaH']=function(_0xed5640,_0xaae955){return _0xed5640===_0xaae955;},_0x49a0d7[_0x228b0a(0x76)]=_0x228b0a(0x8c);const _0x5eda4d=_0x49a0d7,_0xec7117=_0x540899['join'](',');return _0x5eda4d[_0x228b0a(0x84)](_0x318138,_0x5eda4d['NmltJ'])?'\x22'+_0xec7117+'\x22':_0xec7117;},buildMergedList=(_0x1f50c2,_0x2ee042)=>{const _0x36f80a=a55_0x5a1ef6,_0x168a70={'glqlm':function(_0x3944da,_0x1175fa){return _0x3944da(_0x1175fa);},'VxbbS':function(_0x14448a,_0x364441){return _0x14448a===_0x364441;},'XJJkg':function(_0x1413d7,_0x12c35f){return _0x1413d7(_0x12c35f);}};if(_0x168a70[_0x36f80a(0x9e)](String,_0x2ee042)[_0x36f80a(0x88)](','))return null;const _0x46707f=_0x168a70[_0x36f80a(0x9e)](stripQuotes,_0x1f50c2)['split'](',')[_0x36f80a(0x91)](_0x25d4d9=>_0x25d4d9['trim']())[_0x36f80a(0x81)](_0x51b09b=>_0x51b09b[_0x36f80a(0x92)]>0x0);if(_0x168a70[_0x36f80a(0x8a)](_0x46707f['length'],0x0))return null;const _0x410717=_0x168a70[_0x36f80a(0x69)](resolveQuietly,_0x2ee042),_0x3525fc=_0x46707f[_0x36f80a(0x85)](_0x3a6c2c=>_0x3a6c2c===_0x2ee042||_0x410717!==null&&resolveQuietly(_0x3a6c2c)===_0x410717);return!_0x3525fc&&_0x46707f[_0x36f80a(0x9c)](_0x2ee042),_0x46707f;},findLastReporterFlag=_0x6763e2=>{const _0x3fe6c9=a55_0x5a1ef6,_0x474321={};_0x474321['bYCLH']=function(_0x1c4099,_0xa39aa2){return _0x1c4099-_0xa39aa2;},_0x474321['cEZWy']=function(_0x5b28ef,_0x74e18c){return _0x5b28ef>=_0x74e18c;},_0x474321['xHLxZ']=function(_0x48f283,_0x5428f4){return _0x48f283!==_0x5428f4;},_0x474321['sKsLh']=_0x3fe6c9(0x7c);const _0x3c7291=_0x474321;for(let _0x28ba7f=_0x3c7291[_0x3fe6c9(0x9a)](_0x6763e2[_0x3fe6c9(0x92)],0x1);_0x3c7291[_0x3fe6c9(0x70)](_0x28ba7f,0x0);_0x28ba7f--){const _0xe01e2f=_0x6763e2[_0x28ba7f];if(_0x3c7291['xHLxZ'](typeof _0xe01e2f,_0x3c7291[_0x3fe6c9(0x77)]))continue;const _0x2c3b02=INLINE_PREFIXES[_0x3fe6c9(0x6e)](_0x26bd97=>_0xe01e2f['startsWith'](_0x26bd97));if(_0x2c3b02){const _0x4b4322={};return _0x4b4322[_0x3fe6c9(0x83)]=_0x28ba7f,_0x4b4322[_0x3fe6c9(0x6b)]=_0x2c3b02,_0x4b4322;}if(BARE_FLAGS[_0x3fe6c9(0x88)](_0xe01e2f)){const _0x4dd81b={};return _0x4dd81b[_0x3fe6c9(0x83)]=_0x28ba7f,_0x4dd81b[_0x3fe6c9(0x6b)]=null,_0x4dd81b;}}return null;},mergeBrowserstackReporterIntoCliReporterFlag=(_0x4375a5,_0xd5fed={})=>{const _0x14c910=a55_0x5a1ef6,_0x10770f={'mUSIM':function(_0x1851e4,_0x2adbc3){return _0x1851e4===_0x2adbc3;},'tmmrz':function(_0x88394,_0x48e5c2){return _0x88394(_0x48e5c2);},'MIZrZ':function(_0x5433a3,_0xa18a80){return _0x5433a3===_0xa18a80;},'RTCwO':function(_0xdbdfa5,_0x2e58e6){return _0xdbdfa5+_0x2e58e6;},'Dqqqq':function(_0x5ab55a,_0x13c1c8){return _0x5ab55a>=_0x13c1c8;},'Gncsv':function(_0x27d963,_0x4cbd1c){return _0x27d963!==_0x4cbd1c;},'hMbJH':_0x14c910(0x7c),'GsaMD':function(_0x59987d,_0x380a59,_0x5b6881){return _0x59987d(_0x380a59,_0x5b6881);},'EPxSY':function(_0x1eff63,_0x58b866,_0x327baa){return _0x1eff63(_0x58b866,_0x327baa);},'KSqIg':_0x14c910(0x73)};try{const {enabled:enabled=!![],reporterPath:reporterPath=BROWSERSTACK_PW_REPORTER_PATH,platform:platform=process[_0x14c910(0x87)]}=_0xd5fed;if(_0x10770f['mUSIM'](enabled,![]))return;if(!Array['isArray'](_0x4375a5))return;const _0x35f3b1=_0x10770f[_0x14c910(0x7f)](findLastReporterFlag,_0x4375a5);if(_0x10770f[_0x14c910(0x68)](_0x35f3b1,null))return;let _0x962182,_0x11e053;if(_0x35f3b1[_0x14c910(0x6b)])_0x962182=_0x35f3b1[_0x14c910(0x83)],_0x11e053=_0x4375a5[_0x35f3b1[_0x14c910(0x83)]][_0x14c910(0x74)](_0x35f3b1[_0x14c910(0x6b)]['length']);else{_0x962182=_0x10770f['RTCwO'](_0x35f3b1[_0x14c910(0x83)],0x1);if(_0x10770f[_0x14c910(0x8d)](_0x962182,_0x4375a5[_0x14c910(0x92)])||_0x10770f[_0x14c910(0x93)](typeof _0x4375a5[_0x962182],_0x10770f[_0x14c910(0x96)])||_0x4375a5[_0x962182][_0x14c910(0x7a)]('-'))return;_0x11e053=_0x4375a5[_0x962182];}const _0x191813=_0x10770f[_0x14c910(0x6f)](buildMergedList,_0x11e053,reporterPath);if(_0x10770f['MIZrZ'](_0x191813,null))return;const _0x44f007=_0x10770f[_0x14c910(0x9f)](renderValue,_0x191813,platform);_0x4375a5[_0x962182]=_0x35f3b1[_0x14c910(0x6b)]?''+_0x35f3b1[_0x14c910(0x6b)]+_0x44f007:_0x44f007,logger['warn'](_0x10770f[_0x14c910(0x7e)]),logger[_0x14c910(0x7d)]('[BrowserStack]\x20CLI\x20reporter\x20arg\x20after\x20merge:\x20'+_0x4375a5[_0x962182]);}catch(_0xe9a23){logger['debug'](_0x14c910(0x82)+_0x10770f[_0x14c910(0x7f)](format,_0xe9a23));}},a55_0x43134d={};a55_0x43134d[a55_0x5a1ef6(0x97)]=mergeBrowserstackReporterIntoCliReporterFlag,a55_0x43134d[a55_0x5a1ef6(0x86)]=BROWSERSTACK_PW_REPORTER_PATH,module[a55_0x5a1ef6(0x80)]=a55_0x43134d;
1
+ 'use strict';function a55_0x23ba(){const _0x429e02=['find','win32','string','split','qaUwa','3378hVFASn','mergeBrowserstackReporterIntoCliReporterFlag','UgZJN','../../helpers/logger','lRaDj','dVBPw','slice','154971ZtCkcs','Vqjyz','1336415KzPBvd','BeDRl','join','gCEoG','ZpKoX','warn','1731652bjKqzg','GymDo','2ZynRhB','Rqwnq','path','XdkaE','flagIdx','nBFqK','length','trim','debug','30gCvAik','winstonLogger','startsWith','1792sJVhKr','324526ZIYRbd','[BrowserStack]\x20A\x20--reporter\x20flag\x20was\x20passed\x20on\x20the\x20Playwright\x20CLI;\x20it\x20overrides\x20the\x20config\x20reporter.\x20Merged\x20the\x20BrowserStack\x20Observability\x20reporter\x20into\x20it\x20so\x20test\x20events\x20are\x20captured.','resolve','454003yByFip','rjgOj','iHWgN','[BrowserStack]\x20CLI\x20reporter\x20arg\x20after\x20merge:\x20','cRlcp','platform','bCncJ','204588lceaAx','[BrowserStack]\x20Failed\x20to\x20merge\x20BrowserStack\x20reporter\x20into\x20CLI\x20--reporter\x20flag:\x20','RbbVI','104OHdXVx','aGSMB','includes','pjoZq','prefix','KfEcd','BROWSERSTACK_PW_REPORTER_PATH'];a55_0x23ba=function(){return _0x429e02;};return a55_0x23ba();}function a55_0x2a7b(_0x199b38,_0x1c1d93){const _0x23ba6a=a55_0x23ba();return a55_0x2a7b=function(_0x2a7b2b,_0x3fc48c){_0x2a7b2b=_0x2a7b2b-0x1eb;let _0x3976d2=_0x23ba6a[_0x2a7b2b];return _0x3976d2;},a55_0x2a7b(_0x199b38,_0x1c1d93);}const a55_0xd9d042=a55_0x2a7b;(function(_0x1ed146,_0x4d0adf){const _0x5edd19=a55_0x2a7b,_0x13af65=_0x1ed146();while(!![]){try{const _0x350ad3=-parseInt(_0x5edd19(0x1f5))/0x1*(-parseInt(_0x5edd19(0x202))/0x2)+parseInt(_0x5edd19(0x1eb))/0x3+-parseInt(_0x5edd19(0x1f3))/0x4+-parseInt(_0x5edd19(0x1ed))/0x5+parseInt(_0x5edd19(0x21b))/0x6*(parseInt(_0x5edd19(0x201))/0x7)+parseInt(_0x5edd19(0x20f))/0x8*(parseInt(_0x5edd19(0x20c))/0x9)+-parseInt(_0x5edd19(0x1fe))/0xa*(-parseInt(_0x5edd19(0x205))/0xb);if(_0x350ad3===_0x4d0adf)break;else _0x13af65['push'](_0x13af65['shift']());}catch(_0x5084bb){_0x13af65['push'](_0x13af65['shift']());}}}(a55_0x23ba,0x3a75a));const path=require(a55_0xd9d042(0x1f7)),{format}=require('util'),logger=require(a55_0xd9d042(0x21e))[a55_0xd9d042(0x1ff)],BROWSERSTACK_PW_REPORTER_PATH=path[a55_0xd9d042(0x1ef)](__dirname,'./reporter/reporter.js'),INLINE_PREFIXES=['--reporter='],BARE_FLAGS=['--reporter'],stripQuotes=_0x3b99cf=>{const _0x264e8e=a55_0xd9d042,_0x344b1a={'kfwwK':function(_0x39ed36,_0x99765b){return _0x39ed36(_0x99765b);},'XdkaE':function(_0x1249e2,_0x2e13a7){return _0x1249e2>=_0x2e13a7;},'UgZJN':function(_0x181683,_0xa6b818){return _0x181683-_0xa6b818;},'ZpKoX':function(_0x2d6a5d,_0x5e16e1){return _0x2d6a5d===_0x5e16e1;},'qaUwa':function(_0x57b6bd,_0x55fc7a){return _0x57b6bd===_0x55fc7a;},'mCupm':function(_0x30f349,_0xc937b1){return _0x30f349===_0xc937b1;}},_0x523b7e=_0x344b1a['kfwwK'](String,_0x3b99cf);if(_0x344b1a[_0x264e8e(0x1f8)](_0x523b7e[_0x264e8e(0x1fb)],0x2)){const _0x3825dd=_0x523b7e[0x0],_0x4c064f=_0x523b7e[_0x344b1a[_0x264e8e(0x21d)](_0x523b7e[_0x264e8e(0x1fb)],0x1)];if(_0x344b1a['ZpKoX'](_0x3825dd,'\x22')&&_0x344b1a[_0x264e8e(0x1f1)](_0x4c064f,'\x22')||_0x344b1a[_0x264e8e(0x21a)](_0x3825dd,'\x27')&&_0x344b1a['mCupm'](_0x4c064f,'\x27'))return _0x523b7e[_0x264e8e(0x221)](0x1,-0x1);}return _0x523b7e;},resolveQuietly=_0x436116=>{const _0x442c9a=a55_0xd9d042;try{return path[_0x442c9a(0x204)](_0x436116);}catch(_0x42e592){return null;}},renderValue=(_0x4740b8,_0x1ee13a)=>{const _0x3d202d=a55_0xd9d042,_0x10e528={};_0x10e528[_0x3d202d(0x1f6)]=function(_0x69e1b5,_0x50f851){return _0x69e1b5===_0x50f851;},_0x10e528[_0x3d202d(0x207)]=_0x3d202d(0x217);const _0x214a9a=_0x10e528,_0x871c12=_0x4740b8[_0x3d202d(0x1ef)](',');return _0x214a9a['Rqwnq'](_0x1ee13a,_0x214a9a[_0x3d202d(0x207)])?'\x22'+_0x871c12+'\x22':_0x871c12;},buildMergedList=(_0x1e4278,_0x4e9332)=>{const _0x35ba6a=a55_0xd9d042,_0x42899c={'KfEcd':function(_0xbe6cce,_0x3b50c2){return _0xbe6cce(_0x3b50c2);},'dVBPw':function(_0x5eb7b4,_0x5a1f5d){return _0x5eb7b4===_0x5a1f5d;},'pjoZq':function(_0x45d8cc,_0x499eb9){return _0x45d8cc(_0x499eb9);}};if(_0x42899c[_0x35ba6a(0x214)](String,_0x4e9332)[_0x35ba6a(0x211)](','))return null;const _0xe471cc=_0x42899c[_0x35ba6a(0x214)](stripQuotes,_0x1e4278)[_0x35ba6a(0x219)](',')['map'](_0x3ff4ac=>_0x3ff4ac[_0x35ba6a(0x1fc)]())['filter'](_0xaee71b=>_0xaee71b[_0x35ba6a(0x1fb)]>0x0);if(_0x42899c[_0x35ba6a(0x220)](_0xe471cc[_0x35ba6a(0x1fb)],0x0))return null;const _0x14632a=_0x42899c[_0x35ba6a(0x212)](resolveQuietly,_0x4e9332),_0x1c4d3d=_0xe471cc['some'](_0x215ebe=>_0x215ebe===_0x4e9332||_0x14632a!==null&&resolveQuietly(_0x215ebe)===_0x14632a);return!_0x1c4d3d&&_0xe471cc['push'](_0x4e9332),_0xe471cc;},findLastReporterFlag=_0x11a6b0=>{const _0x385d36=a55_0xd9d042,_0x2465f2={};_0x2465f2['rjgOj']=function(_0x4ab5b8,_0x581a14){return _0x4ab5b8-_0x581a14;},_0x2465f2[_0x385d36(0x1f4)]=function(_0x30c5b9,_0x123ed7){return _0x30c5b9>=_0x123ed7;},_0x2465f2[_0x385d36(0x1fa)]=function(_0x34f8d2,_0x5570ef){return _0x34f8d2!==_0x5570ef;},_0x2465f2['gCEoG']=_0x385d36(0x218);const _0x413d92=_0x2465f2;for(let _0x150833=_0x413d92[_0x385d36(0x206)](_0x11a6b0[_0x385d36(0x1fb)],0x1);_0x413d92[_0x385d36(0x1f4)](_0x150833,0x0);_0x150833--){const _0x145069=_0x11a6b0[_0x150833];if(_0x413d92['nBFqK'](typeof _0x145069,_0x413d92[_0x385d36(0x1f0)]))continue;const _0x1bef94=INLINE_PREFIXES[_0x385d36(0x216)](_0x4b52e7=>_0x145069['startsWith'](_0x4b52e7));if(_0x1bef94){const _0x3c20b2={};return _0x3c20b2[_0x385d36(0x1f9)]=_0x150833,_0x3c20b2['prefix']=_0x1bef94,_0x3c20b2;}if(BARE_FLAGS[_0x385d36(0x211)](_0x145069)){const _0x5d8c83={};return _0x5d8c83[_0x385d36(0x1f9)]=_0x150833,_0x5d8c83[_0x385d36(0x213)]=null,_0x5d8c83;}}return null;},mergeBrowserstackReporterIntoCliReporterFlag=(_0x379e2f,_0x111cc4={})=>{const _0x1feec3=a55_0xd9d042,_0x3b6523={'Vqjyz':function(_0x46afe6,_0x38076f){return _0x46afe6===_0x38076f;},'aGSMB':function(_0x4eef95,_0x3b1834){return _0x4eef95(_0x3b1834);},'bCncJ':function(_0x371e1f,_0xeafee9){return _0x371e1f===_0xeafee9;},'BeDRl':function(_0x5b301e,_0xd015d0){return _0x5b301e+_0xd015d0;},'RbbVI':function(_0x8870e6,_0x70a32c){return _0x8870e6>=_0x70a32c;},'XaRkv':function(_0x549d7a,_0x424959){return _0x549d7a!==_0x424959;},'lRaDj':_0x1feec3(0x218),'AOYUO':function(_0x1f6bd3,_0x51ee6b,_0x5cd4c4){return _0x1f6bd3(_0x51ee6b,_0x5cd4c4);},'ojYqu':function(_0x5d36ae,_0x195660,_0x1adffe){return _0x5d36ae(_0x195660,_0x1adffe);},'cRlcp':_0x1feec3(0x203)};try{const {enabled:enabled=!![],reporterPath:reporterPath=BROWSERSTACK_PW_REPORTER_PATH,platform:platform=process[_0x1feec3(0x20a)]}=_0x111cc4;if(_0x3b6523[_0x1feec3(0x1ec)](enabled,![]))return;if(!Array['isArray'](_0x379e2f))return;const _0x3d37b1=_0x3b6523[_0x1feec3(0x210)](findLastReporterFlag,_0x379e2f);if(_0x3b6523[_0x1feec3(0x20b)](_0x3d37b1,null))return;let _0x5c0b4c,_0x53524f;if(_0x3d37b1[_0x1feec3(0x213)])_0x5c0b4c=_0x3d37b1['flagIdx'],_0x53524f=_0x379e2f[_0x3d37b1[_0x1feec3(0x1f9)]][_0x1feec3(0x221)](_0x3d37b1[_0x1feec3(0x213)][_0x1feec3(0x1fb)]);else{_0x5c0b4c=_0x3b6523[_0x1feec3(0x1ee)](_0x3d37b1[_0x1feec3(0x1f9)],0x1);if(_0x3b6523[_0x1feec3(0x20e)](_0x5c0b4c,_0x379e2f[_0x1feec3(0x1fb)])||_0x3b6523['XaRkv'](typeof _0x379e2f[_0x5c0b4c],_0x3b6523[_0x1feec3(0x21f)])||_0x379e2f[_0x5c0b4c][_0x1feec3(0x200)]('-'))return;_0x53524f=_0x379e2f[_0x5c0b4c];}const _0x1892bc=_0x3b6523['AOYUO'](buildMergedList,_0x53524f,reporterPath);if(_0x3b6523[_0x1feec3(0x20b)](_0x1892bc,null))return;const _0x130209=_0x3b6523['ojYqu'](renderValue,_0x1892bc,platform);_0x379e2f[_0x5c0b4c]=_0x3d37b1[_0x1feec3(0x213)]?''+_0x3d37b1['prefix']+_0x130209:_0x130209,logger[_0x1feec3(0x1f2)](_0x3b6523[_0x1feec3(0x209)]),logger['debug'](_0x1feec3(0x208)+_0x379e2f[_0x5c0b4c]);}catch(_0x45277d){logger[_0x1feec3(0x1fd)](_0x1feec3(0x20d)+_0x3b6523[_0x1feec3(0x210)](format,_0x45277d));}},a55_0x26e0e9={};a55_0x26e0e9[a55_0xd9d042(0x21c)]=mergeBrowserstackReporterIntoCliReporterFlag,a55_0x26e0e9[a55_0xd9d042(0x215)]=BROWSERSTACK_PW_REPORTER_PATH,module['exports']=a55_0x26e0e9;
@@ -1 +1 @@
1
- function a56_0x2192(){const _0x1b5a49=['4976GFAOrU','shouldWrapCommand','query','_name','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','djnpV','AKqoU','platformDetails','1975445IXXqOI','glPJf','path','testInfo','prototype','deviceModel','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','LeaVe','wgIEx','Yeonf','13APAWjZ','browserName','firefox','PRZps','platformName','connectOptions','../../helpers/accessibility-automation/scripts','titlePath','../../helpers/helper','toLowerCase','chrome','automate','102dPZnmh','mFIii','VUxFd','Page\x20Scan\x20result=','whOtn','gFAlm','zSOMS','_bstackDispatchPatched','zXLht','platform_version','kOosq','qeAdY','getInstance','PLAYWRIGHT','getAutomationFramework','mNdNq','params','test','pyfOp','chromium','_browserType','1253RfZQAx','defineProperty','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','znszh','bstackPerformA11yScan','playwright-','41886BemjsG','DiNNM','MKukl','patchCRConnection','local_grid','tbQmv','reportSessionLinkingIssue','QiAgV','hAXcY','XuIbU','cloudProvider','safari','LYnAX','KuIRl','sessionError','34135764knxele','acAyt','webkit','../../helpers/accessibility-automation/accessibilityRetryHelper.js','debug','__driver','glIOm','HocLN','OElzA','CRConnection','BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE','./accessibility-helper','CRConnection\x20patch\x20unavailable\x20on\x20PW>=1.60\x20(server-side\x20class\x20not\x20reachable\x20in\x20SDK\x20process);\x20platform/sessionId\x20capture\x20continues\x20via\x20Connection.dispatch','browserstack','../../helpers/test-observability/error-handler','assign','_onMessage','GCitV','message','Not\x20able\x20to\x20import\x20crConnection','14923nkNKrU','lNPHV','DrYHo','resolve','bStackParams','accessibilityPlatform','RuoKK','BROWSERSTACK_TEST_OBSERVABILITY','pwPage','UcAkv','crConnection.js','performScan','3|1|2|5|0|7|4|6','channel','setupBrowserDetails','lib','PQNnG','version','../../helpers/test-observability/constants','Setting\x20session\x20id\x20received\x20from\x20BS\x20','JsexG','unknown','sessionId','lnldW','SHPIA','playwright','sendMessageToServer','xCTAe','2382pEDZUI','naXpZ','WxISz','ZNUmF','HzjGn','browser','9841048LYiSsT','JsHPO','IpNtC','trackEvent','tdujv','HaAqB','Device\x20Model\x20is\x20not\x20available','CsPju','siTuW','NHQnq','GoQre','resolveConnectionClass','IzhNu','IFexq','_type','env','dispatch\x20instrumentation\x20error\x20(non-fatal):\x20','dMNRS','browser_version','compareVersions','url','product','format','kApcQ','apply','__workerDetails','project','bsSessionId','lsZoR','dispatch','ztmSA','hQTXO','POST','../v2/state/hookState.js','parse','currentSessionDetails','pycrl','jpoMl','isRunning','platform','vUVUm','pItdP','IEWKR','exports','setupBrowserDetails:\x20browser\x20param\x20is\x20nil;\x20populating\x20playwright\x20fallback\x20so\x20TRA\x20does\x20not\x20render\x20\x22Unknown\x22','lmMuT','isRemote','../../helpers/logger','../utils/constants','fromEntries','../../helpers/accessibility-automation/helper','PkVPs','../v2/browserstackCLI','Failed\x20to\x20perform\x20scan\x20','OSueS','krpuq','_connection','15126859wLxzED','bsParams','DPjOv','10uIBXvb','qIbSV','mUIxK','../utils/clientTroubleshootingService.js','9pYbClq','capabilities','1.60.0','bEMpm','function','TSxvc','uEIwL','currentTest','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','model','getFrameworkVersion','use','../../bin/playwright/accessibility-helper','Not\x20able\x20to\x20resolve\x20Connection\x20class','PLAYWRIGHT_DISPATCH','platformVersion','toString','ZYbRy','APttf','Connection','../v2/state/automationFrameworkState.js','Error\x20evaluating\x20Playwright\x20version\x20for\x20CRConnection\x20patch:\x20','_defaultConnectOptions','JgqgS','tVlbZ','CxbHP','catch','includes','pBzYU','info','swAmC','lsOMy'];a56_0x2192=function(){return _0x1b5a49;};return a56_0x2192();}const a56_0x577a44=a56_0x3a85;(function(_0x5c5f99,_0x3bae94){const _0xc2721f=a56_0x3a85,_0x13e8d0=_0x5c5f99();while(!![]){try{const _0x2f9ad2=-parseInt(_0xc2721f(0x232))/0x1*(-parseInt(_0xc2721f(0x1f4))/0x2)+parseInt(_0xc2721f(0x170))/0x3*(parseInt(_0xc2721f(0x1d6))/0x4)+parseInt(_0xc2721f(0x1de))/0x5+-parseInt(_0xc2721f(0x20f))/0x6*(-parseInt(_0xc2721f(0x209))/0x7)+-parseInt(_0xc2721f(0x176))/0x8*(parseInt(_0xc2721f(0x1b6))/0x9)+-parseInt(_0xc2721f(0x1b2))/0xa*(-parseInt(_0xc2721f(0x1af))/0xb)+parseInt(_0xc2721f(0x21e))/0xc*(-parseInt(_0xc2721f(0x1e8))/0xd);if(_0x2f9ad2===_0x3bae94)break;else _0x13e8d0['push'](_0x13e8d0['shift']());}catch(_0x3f853e){_0x13e8d0['push'](_0x13e8d0['shift']());}}}(a56_0x2192,0xa9680));const path=require(a56_0x577a44(0x1e0)),url=require(a56_0x577a44(0x18a)),util=require('util'),helper=require(a56_0x577a44(0x1f0)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule,isBrowserstackInfra}=require('../../helpers/helper'),{o11yErrorHandler}=require(a56_0x577a44(0x22c)),{debug,getPlatformDetails}=require('../../helpers/test-observability/utils'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a56_0x577a44(0x1a8)),{FRAMEWORKS}=require(a56_0x577a44(0x244)),logger=require(a56_0x577a44(0x1a5))['winstonLogger'],scripts=require(a56_0x577a44(0x1ee)),{browserStackExecuteDriver}=require(a56_0x577a44(0x1c2)),AccessibilityHelper=require(a56_0x577a44(0x229)),constants=require(a56_0x577a44(0x1a6)),BrowserstackCLI=require(a56_0x577a44(0x1aa)),AutomationFrameworkState=require(a56_0x577a44(0x1ca)),HookState=require(a56_0x577a44(0x197)),{performScanWithRetry}=require(a56_0x577a44(0x221)),ClientTroubleShootingService=require(a56_0x577a44(0x1b5)),getBrowserNameFromChannel=_0x1470dd=>{const _0x2a9a46=a56_0x577a44,_0x5958e3={};_0x5958e3[_0x2a9a46(0x1c7)]=_0x2a9a46(0x23e),_0x5958e3[_0x2a9a46(0x1df)]=_0x2a9a46(0x1ea),_0x5958e3[_0x2a9a46(0x192)]=_0x2a9a46(0x207),_0x5958e3[_0x2a9a46(0x1d2)]=_0x2a9a46(0x1f2),_0x5958e3['WxISz']=function(_0x79c4c9,_0x191d03){return _0x79c4c9!==_0x191d03;},_0x5958e3['HaAqB']='string',_0x5958e3[_0x2a9a46(0x238)]=function(_0x36845c,_0x1e0887){return _0x36845c===_0x1e0887;},_0x5958e3[_0x2a9a46(0x233)]=_0x2a9a46(0x220),_0x5958e3[_0x2a9a46(0x187)]='edge',_0x5958e3[_0x2a9a46(0x18d)]=_0x2a9a46(0x21a);const _0x45fc0c=_0x5958e3,_0x25d083=_0x45fc0c[_0x2a9a46(0x1c7)]['split']('|');let _0x292491=0x0;while(!![]){switch(_0x25d083[_0x292491++]){case'0':if(_0x1470dd['includes'](_0x45fc0c[_0x2a9a46(0x1df)]))return _0x45fc0c[_0x2a9a46(0x1df)];continue;case'1':if(_0x1470dd[_0x2a9a46(0x1d1)](_0x45fc0c[_0x2a9a46(0x192)]))return _0x45fc0c[_0x2a9a46(0x192)];continue;case'2':if(_0x1470dd[_0x2a9a46(0x1d1)](_0x45fc0c[_0x2a9a46(0x1d2)]))return _0x45fc0c[_0x2a9a46(0x1d2)];continue;case'3':if(!_0x1470dd||_0x45fc0c[_0x2a9a46(0x172)](typeof _0x1470dd,_0x45fc0c[_0x2a9a46(0x17b)]))return _0x45fc0c[_0x2a9a46(0x192)];continue;case'4':if(_0x45fc0c['RuoKK'](_0x1470dd,_0x45fc0c[_0x2a9a46(0x233)]))return _0x45fc0c[_0x2a9a46(0x233)];continue;case'5':if(_0x1470dd['includes'](_0x45fc0c[_0x2a9a46(0x187)]))return _0x45fc0c[_0x2a9a46(0x187)];continue;case'6':return _0x1470dd;case'7':if(_0x1470dd[_0x2a9a46(0x1d1)](_0x45fc0c[_0x2a9a46(0x18d)]))return _0x45fc0c['kApcQ'];continue;}break;}},getBrowserFromWSEndpoint=_0x2304a3=>{const _0x34e210=a56_0x577a44,_0x487354={'PaXrB':_0x34e210(0x1f2),'bEMpm':function(_0x23b864,_0x25645c){return _0x23b864(_0x25645c);}};try{const _0x19526f=url[_0x34e210(0x198)](_0x2304a3),_0x4b9e1a=new URLSearchParams(_0x19526f[_0x34e210(0x1d8)]),_0x4a2529=Object[_0x34e210(0x1a7)](_0x4b9e1a['entries']()),_0x16ac46=JSON[_0x34e210(0x198)](_0x4a2529['caps']);if(_0x16ac46&&(_0x16ac46[_0x34e210(0x175)]||_0x16ac46[_0x34e210(0x1e9)]))return _0x16ac46[_0x34e210(0x175)]||_0x16ac46[_0x34e210(0x1e9)];return _0x487354['PaXrB'];}catch(_0x49c941){_0x487354[_0x34e210(0x1b9)](debug,'Error\x20in\x20getting\x20browser\x20from\x20caps:\x20'+_0x49c941[_0x34e210(0x1c6)]());}},getCloudProviderFromWsEndpoint=_0x334037=>{const _0x31b02b=a56_0x577a44,_0x252eb6={};_0x252eb6[_0x31b02b(0x1f5)]='browserstack',_0x252eb6[_0x31b02b(0x17e)]='unknown_grid';const _0x45a5ef=_0x252eb6;if(_0x334037['includes'](constants['BSTACK_URL'])||_0x334037[_0x31b02b(0x1d1)](constants['BSTACK_ATS_URL']))return _0x45a5ef[_0x31b02b(0x1f5)];return _0x45a5ef[_0x31b02b(0x17e)];},a56_0x4b8ece={};a56_0x4b8ece[a56_0x577a44(0x219)]=undefined,a56_0x4b8ece[a56_0x577a44(0x191)]=undefined,a56_0x4b8ece[a56_0x577a44(0x175)]=undefined,a56_0x4b8ece[a56_0x577a44(0x188)]=undefined,a56_0x4b8ece[a56_0x577a44(0x19d)]=undefined,a56_0x4b8ece[a56_0x577a44(0x1fd)]=undefined,a56_0x4b8ece[a56_0x577a44(0x18b)]=undefined,a56_0x4b8ece['capabilities']={};function a56_0x3a85(_0x36de97,_0x21fd38){const _0x21925e=a56_0x2192();return a56_0x3a85=function(_0x3a85d0,_0x1d677f){_0x3a85d0=_0x3a85d0-0x16c;let _0x1d5ea8=_0x21925e[_0x3a85d0];return _0x1d5ea8;},a56_0x3a85(_0x36de97,_0x21fd38);}class PlaywrightSessionDetails{static [a56_0x577a44(0x199)]=a56_0x4b8ece;constructor(){const _0x3d6d68=a56_0x577a44,_0x2a1b00={};_0x2a1b00[_0x3d6d68(0x1f9)]=_0x3d6d68(0x1be);const _0x1c5db4=_0x2a1b00;throw new Error(_0x1c5db4[_0x3d6d68(0x1f9)]);}static [a56_0x577a44(0x21d)]=null;static[a56_0x577a44(0x240)](_0x33d90c,_0x1cf564,_0x331055=null){const _0x5b346a=a56_0x577a44,_0x11db65={'OElzA':_0x5b346a(0x1a2),'hQTXO':function(_0x40d4b0){return _0x40d4b0();},'IEWKR':_0x5b346a(0x22b),'znszh':_0x5b346a(0x213),'KKRvo':_0x5b346a(0x16d),'LeaVe':_0x5b346a(0x247),'tFhRv':function(_0x27ffd3,_0x21325f){return _0x27ffd3===_0x21325f;},'swAmC':_0x5b346a(0x1ba),'djnpV':_0x5b346a(0x1da),'UcAkv':function(_0x536c24,_0x1af9ba){return _0x536c24===_0x1af9ba;},'lnldW':_0x5b346a(0x17c),'IpNtC':function(_0xb078bf,_0x50fb5a,_0x543ca7){return _0xb078bf(_0x50fb5a,_0x543ca7);},'DPjOv':_0x5b346a(0x208),'jpoMl':_0x5b346a(0x1cc),'JsHPO':function(_0x58688c,_0x27dbad,_0x341a16){return _0x58688c(_0x27dbad,_0x341a16);},'CsPju':'project','tVlbZ':_0x5b346a(0x1c1),'DiNNM':_0x5b346a(0x1ed),'mUIxK':function(_0x4bbe16,_0x1dfb8d){return _0x4bbe16(_0x1dfb8d);},'erBnu':'turboscale','naXpZ':_0x5b346a(0x1f3),'AKqoU':function(_0x2a52e6,_0x2adf82){return _0x2a52e6(_0x2adf82);},'psBhD':function(_0xd6646a){return _0xd6646a();},'SHPIA':function(_0x5bc5b1,_0x3fdd6b){return _0x5bc5b1&&_0x3fdd6b;},'zSOMS':function(_0x45d271){return _0x45d271();},'KuIRl':function(_0x1314d4,_0x5b7fc3){return _0x1314d4(_0x5b7fc3);},'QiAgV':function(_0x4602c4,_0x26206f){return _0x4602c4+_0x26206f;},'SHoqG':_0x5b346a(0x20e),'qIbSV':function(_0x1a259b,_0x499bde){return _0x1a259b||_0x499bde;},'CxbHP':function(_0x510bdb){return _0x510bdb();},'JsexG':function(_0x7eee7d,_0x4dbc87,_0x430c9c){return _0x7eee7d(_0x4dbc87,_0x430c9c);},'NHQnq':'setupBrowserDetails'},_0x2eb6b4=this;return _0x11db65[_0x5b346a(0x246)](o11yErrorHandler,async function _0x4ff00f(_0x112970,_0x3317b2,_0x63680d=null){const _0x4fdbb4=_0x5b346a;if(!_0x112970){logger[_0x4fdbb4(0x222)](_0x11db65[_0x4fdbb4(0x226)]),_0x2eb6b4[_0x4fdbb4(0x199)]=Object[_0x4fdbb4(0x22d)]({},_0x2eb6b4['currentSessionDetails'],{'cloudProvider':_0x11db65[_0x4fdbb4(0x195)](isBrowserstackInfra)?_0x11db65[_0x4fdbb4(0x1a0)]:_0x11db65[_0x4fdbb4(0x20c)],'browser':_0x11db65['KKRvo'],'browser_version':_0x11db65[_0x4fdbb4(0x1e5)]});return;}let _0x5a23a6=_0x112970[_0x4fdbb4(0x1d9)],_0x1475fd=null;_0x112970&&_0x11db65['tFhRv'](typeof _0x112970[_0x4fdbb4(0x243)],_0x11db65[_0x4fdbb4(0x1d4)])?_0x1475fd=_0x112970[_0x4fdbb4(0x243)]():logger[_0x4fdbb4(0x222)](_0x11db65[_0x4fdbb4(0x1db)]);let _0x3b836d=null;_0x112970&&_0x11db65[_0x4fdbb4(0x23b)](typeof _0x112970[_0x4fdbb4(0x1bf)],_0x11db65[_0x4fdbb4(0x1d4)])?_0x3b836d=_0x112970['model']():logger[_0x4fdbb4(0x222)](_0x11db65[_0x4fdbb4(0x249)]);let _0x4d7889=null,_0x38dce9=null,_0x20ecf6=null,_0x274868=_0x11db65['znszh'];const _0x1a94fb=_0x112970[_0x4fdbb4(0x1ae)]&&_0x11db65['UcAkv'](typeof _0x112970[_0x4fdbb4(0x1ae)][_0x4fdbb4(0x1a4)],_0x11db65[_0x4fdbb4(0x1d4)])?_0x112970[_0x4fdbb4(0x1ae)][_0x4fdbb4(0x1a4)]():![];if(_0x1a94fb||global[_0x4fdbb4(0x237)]&&!process[_0x4fdbb4(0x185)][_0x4fdbb4(0x228)]){let _0x4bcf03=null;_0x11db65[_0x4fdbb4(0x178)](nestedKeyValue,_0x112970,[_0x11db65[_0x4fdbb4(0x1b1)],_0x11db65[_0x4fdbb4(0x19b)]])?_0x4bcf03=_0x112970[_0x4fdbb4(0x208)][_0x4fdbb4(0x1cc)]:_0x4bcf03=_0x11db65[_0x4fdbb4(0x177)](nestedKeyValue,_0x3317b2,[_0x11db65[_0x4fdbb4(0x17d)],_0x11db65[_0x4fdbb4(0x1ce)],_0x11db65[_0x4fdbb4(0x210)]]);const _0x1a75bb=_0x63680d||_0x4bcf03&&_0x4bcf03['wsEndpoint'];if(_0x1a75bb){_0x274868=_0x11db65[_0x4fdbb4(0x1b4)](getCloudProviderFromWsEndpoint,_0x1a75bb);if(_0x11db65[_0x4fdbb4(0x23b)](_0x274868,_0x11db65[_0x4fdbb4(0x1a0)]))_0x20ecf6=constants['ATS_WSS_URL_REGEX'][_0x4fdbb4(0x205)](_0x1a75bb)?_0x11db65['erBnu']:_0x11db65[_0x4fdbb4(0x171)],_0x5a23a6=_0x11db65[_0x4fdbb4(0x1dc)](getBrowserFromWSEndpoint,_0x1a75bb)||_0x5a23a6,_0x4d7889=_0x2eb6b4['currentSessionDetails'][_0x4fdbb4(0x19d)],_0x38dce9=_0x2eb6b4['currentSessionDetails'][_0x4fdbb4(0x1fd)];else{const _0x262c77=await _0x11db65['psBhD'](getPlatformDetails);_0x4d7889=_0x262c77[_0x4fdbb4(0x1ec)],_0x38dce9=_0x262c77[_0x4fdbb4(0x1c5)];}}if(_0x11db65[_0x4fdbb4(0x16c)](!_0x4d7889,!_0x38dce9)&&!_0x11db65[_0x4fdbb4(0x1fa)](isBrowserstackInfra)){const _0x62e9af=await _0x11db65['zSOMS'](getPlatformDetails);_0x4d7889=_0x62e9af[_0x4fdbb4(0x1ec)],_0x38dce9=_0x62e9af[_0x4fdbb4(0x1c5)];}}else{_0x3317b2&&_0x3317b2[_0x4fdbb4(0x190)]['use'][_0x4fdbb4(0x23f)]?_0x5a23a6=_0x11db65[_0x4fdbb4(0x21c)](getBrowserNameFromChannel,_0x3317b2[_0x4fdbb4(0x190)]['use'][_0x4fdbb4(0x23f)]):_0x5a23a6=_0x11db65[_0x4fdbb4(0x216)](_0x11db65['SHoqG'],_0x11db65[_0x4fdbb4(0x1b3)](_0x5a23a6,_0x11db65[_0x4fdbb4(0x1e5)])[_0x4fdbb4(0x1f1)]());const _0x3fe5be=await _0x11db65[_0x4fdbb4(0x1cf)](getPlatformDetails);_0x4d7889=_0x3fe5be['platformName'],_0x38dce9=_0x3fe5be['platformVersion'];}const _0x527e53={};_0x527e53[_0x4fdbb4(0x175)]=_0x5a23a6,_0x527e53[_0x4fdbb4(0x188)]=_0x1475fd,_0x527e53[_0x4fdbb4(0x1b7)]={},_0x527e53[_0x4fdbb4(0x19d)]=_0x4d7889,_0x527e53[_0x4fdbb4(0x1fd)]=_0x38dce9,_0x527e53['product']=_0x20ecf6;const _0x44c727=_0x527e53;_0x3b836d&&(_0x44c727['capabilities'][_0x4fdbb4(0x1e3)]=_0x3b836d);const _0x52aae3={};_0x52aae3[_0x4fdbb4(0x219)]=_0x274868,_0x2eb6b4[_0x4fdbb4(0x199)]=Object[_0x4fdbb4(0x22d)]({},_0x2eb6b4[_0x4fdbb4(0x199)],_0x52aae3,_0x44c727);},_0x11db65[_0x5b346a(0x17f)])(_0x33d90c,_0x1cf564,_0x331055);}static['patch'](){this['patchConnection'](),this['patchCRConnection']();}static['patchConnection'](){const _0x454a3b=a56_0x577a44,_0x23245a={'ztmSA':function(_0x34d28f,_0x486131,_0x2a3fd5){return _0x34d28f(_0x486131,_0x2a3fd5);},'pycrl':_0x454a3b(0x1bd),'DrYHo':'testInfo','uEIwL':'titlePath','IFexq':function(_0x1fb1ae,_0xf93239,_0x25dd6b){return _0x1fb1ae(_0xf93239,_0x25dd6b);},'VUxFd':_0x454a3b(0x18f),'lsOMy':_0x454a3b(0x23a),'hAXcY':function(_0x596280,_0x56f673){return _0x596280===_0x56f673;},'GoQre':'Page','xTuoe':function(_0x2ae039,_0x4c2eb8,_0xf1d1c8,_0x1c978e){return _0x2ae039(_0x4c2eb8,_0xf1d1c8,_0x1c978e);},'glIOm':function(_0x4667a0,_0x3f7dbd){return _0x4667a0||_0x3f7dbd;},'PQNnG':function(_0x526d9d,_0x3fb024){return _0x526d9d(_0x3fb024);},'Yeonf':function(_0x5a04ed,_0x69aef8){return _0x5a04ed(_0x69aef8);},'GCitV':function(_0x5a6965,_0x199bbb){return _0x5a6965(_0x199bbb);},'acAyt':_0x454a3b(0x1c3),'APttf':function(_0x128a5e,_0x1bb515){return _0x128a5e!=_0x1bb515;},'TSxvc':function(_0x15da53,_0x12abaa){return _0x15da53!=_0x12abaa;},'ZNUmF':function(_0x198212){return _0x198212();},'zXLht':'sendMessageToServer','vhTQG':function(_0x3b86ea,_0x4550ab){return _0x3b86ea(_0x4550ab);},'WYkIH':'dispatch','vUVUm':'Successfully\x20patched\x20Connection\x20(sendMessageToServer\x20for\x20a11y,\x20dispatch\x20for\x20o11y)'},_0x54223f=this;!this[_0x454a3b(0x1c9)]&&(this['Connection']=helper[_0x454a3b(0x181)](),!this[_0x454a3b(0x1c9)]&&_0x23245a[_0x454a3b(0x22f)](debug,_0x23245a[_0x454a3b(0x21f)]));const _0x2d8d0a=this[_0x454a3b(0x1c9)];if(_0x23245a[_0x454a3b(0x1c8)](_0x2d8d0a,null)&&_0x2d8d0a[_0x454a3b(0x1e2)][_0x454a3b(0x1fb)])return;try{if(_0x23245a[_0x454a3b(0x1bb)](_0x2d8d0a,null)){const _0x1300cb=_0x2d8d0a['prototype'][_0x454a3b(0x193)],_0x245af8=_0x2d8d0a[_0x454a3b(0x1e2)][_0x454a3b(0x16e)];_0x23245a[_0x454a3b(0x173)](isAccessibilityAutomationSession)&&Object[_0x454a3b(0x20a)](_0x2d8d0a['prototype'],_0x23245a[_0x454a3b(0x1fc)],{'get':function(){const _0x4173ed=_0x454a3b,_0x10275f={'lmMuT':function(_0x3b3efb,_0x358ddc,_0x32cea1){const _0xf1ee26=a56_0x3a85;return _0x23245a[_0xf1ee26(0x194)](_0x3b3efb,_0x358ddc,_0x32cea1);},'Tphar':_0x23245a[_0x4173ed(0x19a)],'KGova':_0x23245a[_0x4173ed(0x234)],'krpuq':_0x23245a[_0x4173ed(0x1bc)],'pyfOp':function(_0x1b1b62,_0x4df132,_0x39b1bf){return _0x23245a['IFexq'](_0x1b1b62,_0x4df132,_0x39b1bf);},'HzjGn':_0x23245a[_0x4173ed(0x1f6)],'IzhNu':_0x23245a[_0x4173ed(0x1d5)],'mxGvI':function(_0x2f7b49,_0x501527,_0x27c28b){const _0x347f81=_0x4173ed;return _0x23245a[_0x347f81(0x183)](_0x2f7b49,_0x501527,_0x27c28b);},'kOosq':function(_0x576e23,_0x1ac8f0){const _0x2a2fd7=_0x4173ed;return _0x23245a[_0x2a2fd7(0x217)](_0x576e23,_0x1ac8f0);},'lYOiX':_0x23245a[_0x4173ed(0x180)],'MKukl':function(_0x12b3aa,_0x1725c3,_0x3689d1,_0x2a1467){return _0x23245a['xTuoe'](_0x12b3aa,_0x1725c3,_0x3689d1,_0x2a1467);}};return async function(){const _0x2ae733=_0x4173ed;try{if(!global[_0x2ae733(0x20d)]&&global['accessibilityPlatform']&&_0x10275f[_0x2ae733(0x1a3)](nestedKeyValue,global[_0x2ae733(0x18f)],[_0x10275f['Tphar'],_0x10275f['KGova'],_0x10275f[_0x2ae733(0x1ad)]])&&_0x10275f[_0x2ae733(0x206)](shouldScanTestForAccessibility,global[_0x2ae733(0x18f)][_0x2ae733(0x1bd)][_0x2ae733(0x1e1)][_0x2ae733(0x1ef)],!![])&&scripts[_0x2ae733(0x1d7)](arguments[0x1])){logger[_0x2ae733(0x222)]('Performing\x20scan\x20for\x20'+arguments[0x1]),global[_0x2ae733(0x20d)]=!![];const _0x1899f5=_0x10275f['pyfOp'](nestedKeyValue,global,[_0x10275f[_0x2ae733(0x174)],_0x10275f[_0x2ae733(0x182)]]);_0x1899f5&&logger[_0x2ae733(0x1d3)](_0x2ae733(0x1f7)+util[_0x2ae733(0x18c)](await _0x10275f['mxGvI'](performScanWithRetry,_0x1899f5,arguments[0x1]))),_0x10275f[_0x2ae733(0x1fe)](arguments[0x0][_0x2ae733(0x184)],_0x10275f['lYOiX'])&&global[_0x2ae733(0x223)]&&logger[_0x2ae733(0x1d3)]('Driver\x20Scan\x20result='+util[_0x2ae733(0x18c)](await _0x10275f[_0x2ae733(0x211)](performScanWithRetry,global[_0x2ae733(0x223)],arguments[0x1],scripts[_0x2ae733(0x23d)])));}}catch(_0x4ee7e7){logger['debug'](_0x2ae733(0x1ab)+util[_0x2ae733(0x18c)](_0x4ee7e7));}return global[_0x2ae733(0x20d)]=![],_0x245af8[_0x2ae733(0x18e)](this,arguments);};}}),!_0x23245a['vhTQG'](isFalse,process[_0x454a3b(0x185)][_0x454a3b(0x239)])&&Object[_0x454a3b(0x20a)](_0x2d8d0a[_0x454a3b(0x1e2)],_0x23245a['WYkIH'],{'get':function(){const _0x2bf4ce={'BHnmv':function(_0x25c783,_0x517bc2){const _0x19b7c6=a56_0x3a85;return _0x23245a[_0x19b7c6(0x224)](_0x25c783,_0x517bc2);},'xCTAe':function(_0x5156b8,_0x53d0e4){const _0xcc1b1=a56_0x3a85;return _0x23245a[_0xcc1b1(0x242)](_0x5156b8,_0x53d0e4);},'OSueS':function(_0x1049c6,_0x260db4){const _0x44a4cf=a56_0x3a85;return _0x23245a[_0x44a4cf(0x1e7)](_0x1049c6,_0x260db4);},'HocLN':function(_0x1c57d5,_0x56990b){const _0x3d18e3=a56_0x3a85;return _0x23245a[_0x3d18e3(0x22f)](_0x1c57d5,_0x56990b);}};return function _0x7e5d42(_0xa2f95a){const _0x50b942=a56_0x3a85,_0x2e3d75=_0x1300cb[_0x50b942(0x18e)](this,arguments);try{if(BrowserstackCLI[_0x50b942(0x200)]()[_0x50b942(0x19c)]()){const _0x5b306a={};_0x5b306a[_0x50b942(0x230)]=_0xa2f95a,Promise[_0x50b942(0x235)](BrowserstackCLI[_0x50b942(0x200)]()['getAutomationFramework']()['trackEvent'](AutomationFrameworkState[_0x50b942(0x1c4)],HookState[_0x50b942(0x196)],_0x5b306a))[_0x50b942(0x1d0)](()=>{});}else{const _0x438ae7=_0xa2f95a&&_0xa2f95a['params']&&_0xa2f95a[_0x50b942(0x204)][_0x50b942(0x1b0)];if(_0x438ae7){const _0x305610=_0x438ae7[_0x50b942(0x248)],_0x461b37=_0x438ae7[_0x50b942(0x1dd)];_0x2bf4ce['BHnmv'](!_0x305610,!_0x461b37)&&Promise[_0x50b942(0x235)](ClientTroubleShootingService[_0x50b942(0x215)]())[_0x50b942(0x1d0)](()=>{}),_0x461b37&&(_0x2bf4ce[_0x50b942(0x16f)](debug,'Setting\x20platform\x20details\x20received\x20from\x20BS:\x20'+_0x461b37['toString']()),_0x54223f['currentSessionDetails']['platform']=_0x461b37[_0x50b942(0x1ec)],_0x54223f[_0x50b942(0x199)][_0x50b942(0x1fd)]=_0x461b37['platformVersion']),_0x305610&&(_0x2bf4ce[_0x50b942(0x1ac)](debug,_0x50b942(0x245)+_0x305610),_0x54223f[_0x50b942(0x199)][_0x50b942(0x191)]=_0x305610);}}}catch(_0x1f9075){_0x2bf4ce[_0x50b942(0x225)](debug,_0x50b942(0x186)+(_0x1f9075&&_0x1f9075[_0x50b942(0x1c6)]?_0x1f9075[_0x50b942(0x1c6)]():_0x1f9075));}return _0x2e3d75;};}}),_0x2d8d0a[_0x454a3b(0x1e2)]['_bstackDispatchPatched']=!![],logger[_0x454a3b(0x222)](_0x23245a[_0x454a3b(0x19e)]);}}catch(_0x24d691){_0x23245a[_0x454a3b(0x22f)](debug,'Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20'+_0x24d691),_0x54223f['sessionError']=_0x24d691[_0x454a3b(0x1c6)]();}}static[a56_0x577a44(0x212)](){const _0x327973=a56_0x577a44,_0x5391c9={'qeAdY':function(_0x51bd7b,_0x241c60){return _0x51bd7b(_0x241c60);},'snSwj':function(_0x317624){return _0x317624();},'wgIEx':function(_0x315901,_0xaca450){return _0x315901>=_0xaca450;},'pItdP':_0x327973(0x1b8),'PRZps':function(_0x59606f,_0x237423){return _0x59606f(_0x237423);},'tdujv':_0x327973(0x22a),'qpHAU':_0x327973(0x241),'JgqgS':'server','mNdNq':_0x327973(0x207),'hBEUZ':_0x327973(0x23c),'whOtn':function(_0x216ab1,_0x33108c){return _0x216ab1(_0x33108c);},'LYnAX':_0x327973(0x231),'tbQmv':function(_0x4b3ff1,_0x7917aa){return _0x4b3ff1(_0x7917aa);},'PkVPs':'Error\x20in\x20importing\x20crConnection','LXXFS':function(_0x55d38a,_0x248ed5){return _0x55d38a!=_0x248ed5;},'XuIbU':_0x327973(0x22e)},_0xde577a=this;if(_0x5391c9['snSwj'](isAccessibilityAutomationSession)){let _0x4c7151=null,_0x22ce94=![];try{const _0x1be4f2=helper[_0x327973(0x1c0)](FRAMEWORKS[_0x327973(0x201)]);_0x22ce94=_0x5391c9[_0x327973(0x1e6)](helper[_0x327973(0x189)](_0x1be4f2,_0x5391c9[_0x327973(0x19f)]),0x0);}catch(_0x45e309){_0x5391c9['PRZps'](debug,_0x327973(0x1cb)+_0x45e309[_0x327973(0x1c6)]());}if(_0x22ce94)_0x5391c9[_0x327973(0x1eb)](debug,_0x5391c9[_0x327973(0x17a)]);else try{const _0x29f5ae=path['join'](_0x5391c9['qpHAU'],_0x5391c9[_0x327973(0x1cd)],_0x5391c9[_0x327973(0x203)],_0x5391c9['hBEUZ']),_0xbaf889=_0x5391c9['qeAdY'](importFileFromPWCore,_0x29f5ae);!_0xbaf889?_0x5391c9[_0x327973(0x1f8)](debug,_0x5391c9[_0x327973(0x21b)]):_0x4c7151=_0xbaf889[_0x327973(0x227)];}catch(_0x5de088){_0x5391c9[_0x327973(0x214)](debug,_0x5391c9[_0x327973(0x1a9)]);}try{if(_0x5391c9['LXXFS'](_0x4c7151,null)){const _0x4dc8d3=_0x4c7151[_0x327973(0x1e2)][_0x327973(0x22e)];Object[_0x327973(0x20a)](_0x4c7151['prototype'],_0x5391c9[_0x327973(0x218)],{'get':function(){return async function _0x517010(_0x26a522){const _0x57e59d=a56_0x3a85;try{if(BrowserstackCLI[_0x57e59d(0x200)]()[_0x57e59d(0x19c)]()){const _0x2bb932={};_0x2bb932[_0x57e59d(0x230)]=_0x26a522,await BrowserstackCLI[_0x57e59d(0x200)]()[_0x57e59d(0x202)]()[_0x57e59d(0x179)](AutomationFrameworkState[_0x57e59d(0x1c4)],HookState[_0x57e59d(0x196)],_0x2bb932),delete _0x26a522[_0x57e59d(0x236)];}else{const _0x332114=_0x26a522[_0x57e59d(0x236)];if(_0x332114){delete _0x26a522[_0x57e59d(0x236)];const _0x13f265=_0x332114['sessionId'],_0x3db2f5=_0x332114[_0x57e59d(0x1dd)];_0x3db2f5&&(_0x5391c9[_0x57e59d(0x1ff)](debug,_0x57e59d(0x1e4)+_0x3db2f5['toString']()),_0xde577a[_0x57e59d(0x199)][_0x57e59d(0x19d)]=_0x3db2f5['platformName'],_0xde577a['currentSessionDetails'][_0x57e59d(0x1fd)]=_0x3db2f5[_0x57e59d(0x1c5)]),_0x13f265&&(_0x5391c9['qeAdY'](debug,_0x57e59d(0x20b)+_0x13f265),_0xde577a['currentSessionDetails'][_0x57e59d(0x191)]=_0x13f265);}}}catch(_0x4006df){_0x5391c9['qeAdY'](debug,'Error\x20in\x20finding\x20platform\x20details\x20'+_0x4006df[_0x57e59d(0x1c6)]());}return _0x4dc8d3[_0x57e59d(0x18e)](this,arguments);};}});}}catch(_0x4c5227){_0x5391c9['qeAdY'](debug,'Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20'+_0x4c5227),_0xde577a['sessionError']=_0x4c5227[_0x327973(0x1c6)]();}}}static['getDetails'](){const _0x1fa0d9=a56_0x577a44;return this[_0x1fa0d9(0x199)];}}module[a56_0x577a44(0x1a1)]=PlaywrightSessionDetails;
1
+ const a56_0x3c678e=a56_0x36ff;(function(_0xc58abe,_0xe3d8d0){const _0x5cfcf2=a56_0x36ff,_0x213821=_0xc58abe();while(!![]){try{const _0x508b59=-parseInt(_0x5cfcf2(0x195))/0x1+-parseInt(_0x5cfcf2(0x169))/0x2+-parseInt(_0x5cfcf2(0x158))/0x3*(parseInt(_0x5cfcf2(0x187))/0x4)+parseInt(_0x5cfcf2(0x1b0))/0x5+parseInt(_0x5cfcf2(0x138))/0x6+parseInt(_0x5cfcf2(0x14e))/0x7+parseInt(_0x5cfcf2(0x121))/0x8;if(_0x508b59===_0xe3d8d0)break;else _0x213821['push'](_0x213821['shift']());}catch(_0x5ed084){_0x213821['push'](_0x213821['shift']());}}}(a56_0x3b71,0xebe50));const path=require(a56_0x3c678e(0x18d)),url=require(a56_0x3c678e(0x154)),util=require(a56_0x3c678e(0x173)),helper=require(a56_0x3c678e(0x176)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule,isBrowserstackInfra}=require('../../helpers/helper'),{o11yErrorHandler}=require(a56_0x3c678e(0x134)),{debug,getPlatformDetails}=require('../../helpers/test-observability/utils'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a56_0x3c678e(0x14a)),{FRAMEWORKS}=require(a56_0x3c678e(0x11d)),logger=require(a56_0x3c678e(0xf6))[a56_0x3c678e(0xfd)],scripts=require(a56_0x3c678e(0x133)),{browserStackExecuteDriver}=require(a56_0x3c678e(0x1ab)),AccessibilityHelper=require('./accessibility-helper'),constants=require(a56_0x3c678e(0x114)),BrowserstackCLI=require(a56_0x3c678e(0x106)),AutomationFrameworkState=require(a56_0x3c678e(0x10f)),HookState=require('../v2/state/hookState.js'),{performScanWithRetry}=require('../../helpers/accessibility-automation/accessibilityRetryHelper.js'),ClientTroubleShootingService=require(a56_0x3c678e(0x1a5)),getBrowserNameFromChannel=_0x1c7293=>{const _0x1d97c2=a56_0x3c678e,_0x58cffc={};_0x58cffc[_0x1d97c2(0x17c)]=_0x1d97c2(0x101),_0x58cffc['JBtun']='firefox',_0x58cffc['lhZPN']='edge',_0x58cffc[_0x1d97c2(0x120)]='safari',_0x58cffc['QkqHg']=_0x1d97c2(0xf8),_0x58cffc[_0x1d97c2(0x174)]=function(_0x5008ba,_0x3c0150){return _0x5008ba===_0x3c0150;},_0x58cffc[_0x1d97c2(0x175)]='webkit',_0x58cffc[_0x1d97c2(0x15d)]=function(_0x8fded9,_0x56dd80){return _0x8fded9!==_0x56dd80;},_0x58cffc[_0x1d97c2(0x110)]='string',_0x58cffc['SdAGK']=_0x1d97c2(0x131);const _0x36d577=_0x58cffc,_0x352330=_0x36d577[_0x1d97c2(0x17c)]['split']('|');let _0x4ee841=0x0;while(!![]){switch(_0x352330[_0x4ee841++]){case'0':if(_0x1c7293['includes'](_0x36d577[_0x1d97c2(0x163)]))return _0x36d577[_0x1d97c2(0x163)];continue;case'1':if(_0x1c7293['includes'](_0x36d577['lhZPN']))return _0x36d577[_0x1d97c2(0x19d)];continue;case'2':if(_0x1c7293['includes'](_0x36d577[_0x1d97c2(0x120)]))return _0x36d577[_0x1d97c2(0x120)];continue;case'3':if(_0x1c7293['includes'](_0x36d577[_0x1d97c2(0x160)]))return _0x36d577[_0x1d97c2(0x160)];continue;case'4':if(_0x36d577['xWcNR'](_0x1c7293,_0x36d577[_0x1d97c2(0x175)]))return _0x36d577[_0x1d97c2(0x175)];continue;case'5':if(!_0x1c7293||_0x36d577[_0x1d97c2(0x15d)](typeof _0x1c7293,_0x36d577['XBpXn']))return _0x36d577['SdAGK'];continue;case'6':return _0x1c7293;case'7':if(_0x1c7293[_0x1d97c2(0x180)](_0x36d577[_0x1d97c2(0x115)]))return _0x36d577['SdAGK'];continue;}break;}},getBrowserFromWSEndpoint=_0x4b975f=>{const _0x4b7eba=a56_0x3c678e,_0x5080eb={'nZiVZ':_0x4b7eba(0xf8),'qAIlO':function(_0x3ec3da,_0x4cca33){return _0x3ec3da(_0x4cca33);}};try{const _0x217e29=url[_0x4b7eba(0x10b)](_0x4b975f),_0x441c24=new URLSearchParams(_0x217e29['query']),_0x43f8fb=Object['fromEntries'](_0x441c24['entries']()),_0x14c574=JSON[_0x4b7eba(0x10b)](_0x43f8fb['caps']);if(_0x14c574&&(_0x14c574[_0x4b7eba(0x13c)]||_0x14c574[_0x4b7eba(0x17a)]))return _0x14c574['browser']||_0x14c574[_0x4b7eba(0x17a)];return _0x5080eb[_0x4b7eba(0x130)];}catch(_0x5d6631){_0x5080eb[_0x4b7eba(0x108)](debug,_0x4b7eba(0x171)+_0x5d6631[_0x4b7eba(0x17d)]());}},getCloudProviderFromWsEndpoint=_0x2d837a=>{const _0x7a5438=a56_0x3c678e,_0x258de5={};_0x258de5['xdDQS']='browserstack',_0x258de5['NZpKA']='unknown_grid';const _0x1a7f1e=_0x258de5;if(_0x2d837a[_0x7a5438(0x180)](constants[_0x7a5438(0x189)])||_0x2d837a[_0x7a5438(0x180)](constants['BSTACK_ATS_URL']))return _0x1a7f1e[_0x7a5438(0x182)];return _0x1a7f1e[_0x7a5438(0x113)];},a56_0x89f4ae={};a56_0x89f4ae['cloudProvider']=undefined,a56_0x89f4ae[a56_0x3c678e(0x152)]=undefined,a56_0x89f4ae['browser']=undefined,a56_0x89f4ae[a56_0x3c678e(0x18b)]=undefined,a56_0x89f4ae[a56_0x3c678e(0x19f)]=undefined,a56_0x89f4ae[a56_0x3c678e(0x127)]=undefined,a56_0x89f4ae['product']=undefined,a56_0x89f4ae[a56_0x3c678e(0x16b)]={};function a56_0x3b71(){const _0x35a66b=['parse','setupBrowserDetails:\x20browser\x20param\x20is\x20nil;\x20populating\x20playwright\x20fallback\x20so\x20TRA\x20does\x20not\x20render\x20\x22Unknown\x22','_name','1.60.0','../v2/state/automationFrameworkState.js','XBpXn','_onMessage','resolveConnectionClass','NZpKA','../utils/constants','SdAGK','Failed\x20to\x20perform\x20scan\x20','VzmkM','Jksls','getAutomationFramework','project','LSdsH','deviceModel','../../helpers/test-observability/constants','ZYPJI','getInstance','rbejv','2670792fXziOd','slrgV','Setting\x20session\x20id\x20received\x20from\x20BS\x20','dBRGG','HOcrF','Not\x20able\x20to\x20import\x20crConnection','platform_version','_type','browserstack','trackEvent','dnusi','Connection','testInfo','version','playwright-','nZiVZ','chromium','Device\x20Model\x20is\x20not\x20available','../../helpers/accessibility-automation/scripts','../../helpers/test-observability/error-handler','Page\x20Scan\x20result=','env','PNmAT','836706Shdljx','exports','isRemote','defineProperty','browser','TUpIm','Pvswq','wwChS','dispatch','SAczB','apply','xSUJJ','prototype','getDetails','Driver\x20Scan\x20result=','use','model','product','../../helpers/accessibility-automation/helper','PLAYWRIGHT','VDSOk','BNHPf','1342992qbdgzY','BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','bsSessionId','debug','url','lib','dispatch\x20instrumentation\x20error\x20(non-fatal):\x20','vRAut','36pooVFk','unknown','BEIUy','test','wABrj','wdYdZ','crConnection.js','MTeeZ','QkqHg','QSVTM','oxVPC','JBtun','setupBrowserDetails','_defaultConnectOptions','platformDetails','bsParams','Error\x20in\x20importing\x20crConnection','1080832nltoKR','info','capabilities','LUxAT','catch','pVUNx','IPtpz','__driver','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','Error\x20in\x20finding\x20platform\x20details\x20','util','xWcNR','pkdDD','../../helpers/helper','params','join','patchConnection','browserName','reportSessionLinkingIssue','ruRuC','toString','vtWjf','sessionId','includes','AmxEU','xdDQS','rLXkL','jteAu','shouldWrapCommand','YxQiY','22588xHLzIT','cRoOC','BSTACK_URL','Not\x20able\x20to\x20resolve\x20Connection\x20class','browser_version','sessionError','path','format','CRConnection\x20patch\x20unavailable\x20on\x20PW>=1.60\x20(server-side\x20class\x20not\x20reachable\x20in\x20SDK\x20process);\x20platform/sessionId\x20capture\x20continues\x20via\x20Connection.dispatch','Njwuv','_connection','Page','qPrmY','Error\x20evaluating\x20Playwright\x20version\x20for\x20CRConnection\x20patch:\x20','415866ltHuFM','channel','CjcBH','_browserType','tFlsq','compareVersions','ENOTP','ATS_WSS_URL_REGEX','lhZPN','cbADM','platform','iXDmX','Seekq','yrYcY','accessibilityPlatform','platformVersion','../utils/clientTroubleshootingService.js','VaNNB','turboscale','tbpso','eZTtj','CVtTc','../../bin/playwright/accessibility-helper','__workerDetails','bayKA','tNifA','NWkBW','6625570GBwxxc','_bstackDispatchPatched','jENMw','Successfully\x20patched\x20Connection\x20(sendMessageToServer\x20for\x20a11y,\x20dispatch\x20for\x20o11y)','playwright','OdiCP','pDUFM','sendMessageToServer','bStackParams','PLAYWRIGHT_DISPATCH','Xnjpz','../../helpers/logger','toLowerCase','chrome','bstackPerformA11yScan','QwsRq','message','patchCRConnection','winstonLogger','Performing\x20scan\x20for\x20','isRunning','UeIaw','5|7|3|1|0|2|4|6','vUpvk','OvmUl','POST','platformName','../v2/browserstackCLI','resolve','qAIlO','GaywO','currentSessionDetails'];a56_0x3b71=function(){return _0x35a66b;};return a56_0x3b71();}function a56_0x36ff(_0x16f85d,_0x1cb55f){const _0x3b71c3=a56_0x3b71();return a56_0x36ff=function(_0x36ff50,_0x5c2e96){_0x36ff50=_0x36ff50-0xf2;let _0x1c853e=_0x3b71c3[_0x36ff50];return _0x1c853e;},a56_0x36ff(_0x16f85d,_0x1cb55f);}class PlaywrightSessionDetails{static [a56_0x3c678e(0x10a)]=a56_0x89f4ae;constructor(){const _0x3d5e38=a56_0x3c678e,_0x405ae7={};_0x405ae7[_0x3d5e38(0x13f)]='Invalid\x20constructor,\x20please\x20use\x20static\x20methods';const _0x335313=_0x405ae7;throw new Error(_0x335313['wwChS']);}static [a56_0x3c678e(0x18c)]=null;static['setupBrowserDetails'](_0x258294,_0x2faa41,_0x47c57d=null){const _0x355be9=a56_0x3c678e,_0x5ca525={'bLsiy':_0x355be9(0x10c),'QwsRq':function(_0x15c6be){return _0x15c6be();},'YxQiY':_0x355be9(0x129),'NWkBW':'local_grid','NdMTJ':_0x355be9(0x1b4),'IPtpz':_0x355be9(0x159),'SAczB':function(_0x5e0bad,_0x114ae7){return _0x5e0bad===_0x114ae7;},'Xnjpz':'function','BEIUy':_0x355be9(0x150),'TUpIm':function(_0x3b0e9f,_0x14cb4a){return _0x3b0e9f===_0x14cb4a;},'LUxAT':_0x355be9(0x132),'HOcrF':function(_0x245e48,_0x2aede0,_0x39012c){return _0x245e48(_0x2aede0,_0x39012c);},'rLXkL':_0x355be9(0x198),'jENMw':_0x355be9(0x165),'Pdmbs':_0x355be9(0x11a),'Pvswq':_0x355be9(0x147),'slrgV':'connectOptions','Jksls':function(_0x31434a,_0x3f4d01){return _0x31434a(_0x3f4d01);},'VDSOk':_0x355be9(0x1a7),'oxVPC':'automate','MTeeZ':function(_0x34a3cb,_0x1b102d){return _0x34a3cb&&_0x1b102d;},'iWoLb':function(_0x4af129){return _0x4af129();},'bayKA':function(_0x1d872f,_0x11b4fd){return _0x1d872f+_0x11b4fd;},'IBlJI':_0x355be9(0x12f),'cbADM':function(_0x32a861,_0x334686){return _0x32a861||_0x334686;},'GaywO':function(_0x42c02a){return _0x42c02a();},'xSUJJ':_0x355be9(0x164)},_0x1a0dc6=this;return _0x5ca525[_0x355be9(0x125)](o11yErrorHandler,async function _0x1b567e(_0x36854f,_0x4012c5,_0x43e080=null){const _0x30a973=_0x355be9;if(!_0x36854f){logger[_0x30a973(0x153)](_0x5ca525['bLsiy']),_0x1a0dc6[_0x30a973(0x10a)]=Object['assign']({},_0x1a0dc6[_0x30a973(0x10a)],{'cloudProvider':_0x5ca525[_0x30a973(0xfa)](isBrowserstackInfra)?_0x5ca525[_0x30a973(0x186)]:_0x5ca525['NWkBW'],'browser':_0x5ca525['NdMTJ'],'browser_version':_0x5ca525[_0x30a973(0x16f)]});return;}let _0x1e4155=_0x36854f[_0x30a973(0x10d)],_0x1f182c=null;_0x36854f&&_0x5ca525[_0x30a973(0x141)](typeof _0x36854f[_0x30a973(0x12e)],_0x5ca525[_0x30a973(0xf5)])?_0x1f182c=_0x36854f['version']():logger[_0x30a973(0x153)](_0x5ca525[_0x30a973(0x15a)]);let _0x2ae13e=null;_0x36854f&&_0x5ca525[_0x30a973(0x13d)](typeof _0x36854f[_0x30a973(0x148)],_0x5ca525['Xnjpz'])?_0x2ae13e=_0x36854f[_0x30a973(0x148)]():logger[_0x30a973(0x153)](_0x5ca525[_0x30a973(0x16c)]);let _0x2d1b83=null,_0x24d163=null,_0x39aea8=null,_0x595e81=_0x5ca525[_0x30a973(0x1af)];const _0x388e2b=_0x36854f[_0x30a973(0x191)]&&_0x5ca525[_0x30a973(0x13d)](typeof _0x36854f[_0x30a973(0x191)][_0x30a973(0x13a)],_0x5ca525[_0x30a973(0xf5)])?_0x36854f[_0x30a973(0x191)][_0x30a973(0x13a)]():![];if(_0x388e2b||global[_0x30a973(0x1a3)]&&!process['env'][_0x30a973(0x14f)]){let _0x2af5b3=null;_0x5ca525[_0x30a973(0x125)](nestedKeyValue,_0x36854f,[_0x5ca525[_0x30a973(0x183)],_0x5ca525[_0x30a973(0x1b2)]])?_0x2af5b3=_0x36854f[_0x30a973(0x198)][_0x30a973(0x165)]:_0x2af5b3=_0x5ca525[_0x30a973(0x125)](nestedKeyValue,_0x4012c5,[_0x5ca525['Pdmbs'],_0x5ca525[_0x30a973(0x13e)],_0x5ca525[_0x30a973(0x122)]]);const _0x44ab2b=_0x43e080||_0x2af5b3&&_0x2af5b3['wsEndpoint'];if(_0x44ab2b){_0x595e81=_0x5ca525[_0x30a973(0x118)](getCloudProviderFromWsEndpoint,_0x44ab2b);if(_0x5ca525[_0x30a973(0x141)](_0x595e81,_0x5ca525[_0x30a973(0x186)]))_0x39aea8=constants[_0x30a973(0x19c)][_0x30a973(0x15b)](_0x44ab2b)?_0x5ca525[_0x30a973(0x14c)]:_0x5ca525[_0x30a973(0x162)],_0x1e4155=_0x5ca525['Jksls'](getBrowserFromWSEndpoint,_0x44ab2b)||_0x1e4155,_0x2d1b83=_0x1a0dc6[_0x30a973(0x10a)][_0x30a973(0x19f)],_0x24d163=_0x1a0dc6['currentSessionDetails'][_0x30a973(0x127)];else{const _0x1382ab=await _0x5ca525[_0x30a973(0xfa)](getPlatformDetails);_0x2d1b83=_0x1382ab['platformName'],_0x24d163=_0x1382ab[_0x30a973(0x1a4)];}}if(_0x5ca525[_0x30a973(0x15f)](!_0x2d1b83,!_0x24d163)&&!_0x5ca525[_0x30a973(0xfa)](isBrowserstackInfra)){const _0xaf0c9c=await _0x5ca525['iWoLb'](getPlatformDetails);_0x2d1b83=_0xaf0c9c['platformName'],_0x24d163=_0xaf0c9c[_0x30a973(0x1a4)];}}else{_0x4012c5&&_0x4012c5[_0x30a973(0x11a)][_0x30a973(0x147)][_0x30a973(0x196)]?_0x1e4155=_0x5ca525[_0x30a973(0x118)](getBrowserNameFromChannel,_0x4012c5[_0x30a973(0x11a)][_0x30a973(0x147)][_0x30a973(0x196)]):_0x1e4155=_0x5ca525[_0x30a973(0x1ad)](_0x5ca525['IBlJI'],_0x5ca525[_0x30a973(0x19e)](_0x1e4155,_0x5ca525[_0x30a973(0x16f)])[_0x30a973(0xf7)]());const _0x11fb5d=await _0x5ca525[_0x30a973(0x109)](getPlatformDetails);_0x2d1b83=_0x11fb5d[_0x30a973(0x105)],_0x24d163=_0x11fb5d[_0x30a973(0x1a4)];}const _0x5c78d7={};_0x5c78d7['browser']=_0x1e4155,_0x5c78d7[_0x30a973(0x18b)]=_0x1f182c,_0x5c78d7[_0x30a973(0x16b)]={},_0x5c78d7['platform']=_0x2d1b83,_0x5c78d7[_0x30a973(0x127)]=_0x24d163,_0x5c78d7[_0x30a973(0x149)]=_0x39aea8;const _0x1f2dbb=_0x5c78d7;_0x2ae13e&&(_0x1f2dbb[_0x30a973(0x16b)][_0x30a973(0x11c)]=_0x2ae13e);const _0x1e827b={};_0x1e827b['cloudProvider']=_0x595e81,_0x1a0dc6[_0x30a973(0x10a)]=Object['assign']({},_0x1a0dc6[_0x30a973(0x10a)],_0x1e827b,_0x1f2dbb);},_0x5ca525[_0x355be9(0x143)])(_0x258294,_0x2faa41,_0x47c57d);}static['patch'](){const _0x3addce=a56_0x3c678e;this[_0x3addce(0x179)](),this['patchCRConnection']();}static[a56_0x3c678e(0x179)](){const _0x7e185d=a56_0x3c678e,_0x245e0a={'Seekq':function(_0x2bcbaa,_0x387038,_0x14bf09){return _0x2bcbaa(_0x387038,_0x14bf09);},'cHPNO':'currentTest','jteAu':_0x7e185d(0x12d),'PNmAT':'titlePath','nCTQZ':function(_0x30993c,_0x5d85d0,_0x17f409){return _0x30993c(_0x5d85d0,_0x17f409);},'tNifA':'__workerDetails','eZTtj':'pwPage','Njwuv':function(_0x5a87cb,_0x3d058b,_0x4eb81d){return _0x5a87cb(_0x3d058b,_0x4eb81d);},'AvsRn':function(_0xf29a5f,_0x11f683){return _0xf29a5f===_0x11f683;},'ENOTP':_0x7e185d(0x192),'rPBEA':function(_0x4cdbab,_0xc32c08,_0x297568,_0x376d51){return _0x4cdbab(_0xc32c08,_0x297568,_0x376d51);},'pDUFM':function(_0x2e2a40,_0x3a0fdb){return _0x2e2a40||_0x3a0fdb;},'ZYPJI':function(_0x10b5bf,_0x3bad03){return _0x10b5bf(_0x3bad03);},'QSVTM':function(_0x11c867,_0x20a3d2){return _0x11c867(_0x20a3d2);},'VzmkM':_0x7e185d(0x18a),'tbpso':function(_0x3949bb,_0x1df302){return _0x3949bb!=_0x1df302;},'CVtTc':function(_0xeef905,_0x2d401d){return _0xeef905!=_0x2d401d;},'vUpvk':function(_0x42405f){return _0x42405f();},'AmxEU':_0x7e185d(0xf2),'UeIaw':_0x7e185d(0x140),'HZSzx':_0x7e185d(0x1b3),'DVUyU':function(_0x57d54a,_0x2ec881){return _0x57d54a(_0x2ec881);}},_0x57e4c5=this;!this[_0x7e185d(0x12c)]&&(this[_0x7e185d(0x12c)]=helper[_0x7e185d(0x112)](),!this[_0x7e185d(0x12c)]&&_0x245e0a[_0x7e185d(0x161)](debug,_0x245e0a[_0x7e185d(0x117)]));const _0x4624b2=this[_0x7e185d(0x12c)];if(_0x245e0a[_0x7e185d(0x1a8)](_0x4624b2,null)&&_0x4624b2[_0x7e185d(0x144)][_0x7e185d(0x1b1)])return;try{if(_0x245e0a[_0x7e185d(0x1aa)](_0x4624b2,null)){const _0xd9b81d=_0x4624b2[_0x7e185d(0x144)][_0x7e185d(0x140)],_0x57f9e7=_0x4624b2[_0x7e185d(0x144)][_0x7e185d(0xf2)];_0x245e0a[_0x7e185d(0x102)](isAccessibilityAutomationSession)&&Object[_0x7e185d(0x13b)](_0x4624b2[_0x7e185d(0x144)],_0x245e0a[_0x7e185d(0x181)],{'get':function(){return async function(){const _0x5ebf6b=a56_0x36ff;try{if(!global['bstackPerformA11yScan']&&global[_0x5ebf6b(0x1a3)]&&_0x245e0a[_0x5ebf6b(0x1a1)](nestedKeyValue,global[_0x5ebf6b(0x1ac)],[_0x245e0a['cHPNO'],_0x245e0a[_0x5ebf6b(0x184)],_0x245e0a[_0x5ebf6b(0x137)]])&&_0x245e0a['Seekq'](shouldScanTestForAccessibility,global[_0x5ebf6b(0x1ac)]['currentTest']['testInfo']['titlePath'],!![])&&scripts[_0x5ebf6b(0x185)](arguments[0x1])){logger[_0x5ebf6b(0x153)](_0x5ebf6b(0xfe)+arguments[0x1]),global[_0x5ebf6b(0xf9)]=!![];const _0x4a100a=_0x245e0a['nCTQZ'](nestedKeyValue,global,[_0x245e0a[_0x5ebf6b(0x1ae)],_0x245e0a[_0x5ebf6b(0x1a9)]]);_0x4a100a&&logger['info'](_0x5ebf6b(0x135)+util[_0x5ebf6b(0x18e)](await _0x245e0a[_0x5ebf6b(0x190)](performScanWithRetry,_0x4a100a,arguments[0x1]))),_0x245e0a['AvsRn'](arguments[0x0][_0x5ebf6b(0x128)],_0x245e0a[_0x5ebf6b(0x19b)])&&global[_0x5ebf6b(0x170)]&&logger[_0x5ebf6b(0x16a)](_0x5ebf6b(0x146)+util[_0x5ebf6b(0x18e)](await _0x245e0a['rPBEA'](performScanWithRetry,global[_0x5ebf6b(0x170)],arguments[0x1],scripts['performScan'])));}}catch(_0x1e894d){logger[_0x5ebf6b(0x153)](_0x5ebf6b(0x116)+util[_0x5ebf6b(0x18e)](_0x1e894d));}return global['bstackPerformA11yScan']=![],_0x57f9e7[_0x5ebf6b(0x142)](this,arguments);};}}),!_0x245e0a[_0x7e185d(0x11e)](isFalse,process[_0x7e185d(0x136)]['BROWSERSTACK_TEST_OBSERVABILITY'])&&Object[_0x7e185d(0x13b)](_0x4624b2[_0x7e185d(0x144)],_0x245e0a[_0x7e185d(0x100)],{'get':function(){return function _0x22dbd9(_0x322399){const _0x37c749=a56_0x36ff,_0xefd21c=_0xd9b81d[_0x37c749(0x142)](this,arguments);try{if(BrowserstackCLI[_0x37c749(0x11f)]()[_0x37c749(0xff)]()){const _0xeae238={};_0xeae238[_0x37c749(0xfb)]=_0x322399,Promise[_0x37c749(0x107)](BrowserstackCLI[_0x37c749(0x11f)]()[_0x37c749(0x119)]()[_0x37c749(0x12a)](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState[_0x37c749(0x104)],_0xeae238))['catch'](()=>{});}else{const _0x5fda68=_0x322399&&_0x322399[_0x37c749(0x177)]&&_0x322399[_0x37c749(0x177)][_0x37c749(0x167)];if(_0x5fda68){const _0x3bf70f=_0x5fda68[_0x37c749(0x17f)],_0x235304=_0x5fda68['platformDetails'];_0x245e0a[_0x37c749(0x1b6)](!_0x3bf70f,!_0x235304)&&Promise[_0x37c749(0x107)](ClientTroubleShootingService[_0x37c749(0x17b)]())[_0x37c749(0x16d)](()=>{}),_0x235304&&(_0x245e0a[_0x37c749(0x11e)](debug,_0x37c749(0x151)+_0x235304[_0x37c749(0x17d)]()),_0x57e4c5[_0x37c749(0x10a)][_0x37c749(0x19f)]=_0x235304[_0x37c749(0x105)],_0x57e4c5[_0x37c749(0x10a)][_0x37c749(0x127)]=_0x235304['platformVersion']),_0x3bf70f&&(_0x245e0a[_0x37c749(0x11e)](debug,_0x37c749(0x123)+_0x3bf70f),_0x57e4c5['currentSessionDetails'][_0x37c749(0x152)]=_0x3bf70f);}}}catch(_0x1d0002){_0x245e0a['QSVTM'](debug,_0x37c749(0x156)+(_0x1d0002&&_0x1d0002[_0x37c749(0x17d)]?_0x1d0002['toString']():_0x1d0002));}return _0xefd21c;};}}),_0x4624b2[_0x7e185d(0x144)]['_bstackDispatchPatched']=!![],logger[_0x7e185d(0x153)](_0x245e0a['HZSzx']);}}catch(_0x24530b){_0x245e0a['DVUyU'](debug,'Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20'+_0x24530b),_0x57e4c5[_0x7e185d(0x18c)]=_0x24530b[_0x7e185d(0x17d)]();}}static[a56_0x3c678e(0xfc)](){const _0x5d1368=a56_0x3c678e,_0x3b796b={'CjcBH':function(_0x4f2151,_0x3269e8){return _0x4f2151(_0x3269e8);},'tFlsq':function(_0x23b4ac,_0x5600c4){return _0x23b4ac(_0x5600c4);},'pyzPu':function(_0xda6c98){return _0xda6c98();},'VaNNB':function(_0xb290ab,_0x19692d){return _0xb290ab>=_0x19692d;},'qPrmY':_0x5d1368(0x10e),'dBRGG':function(_0x5c62f6,_0x518102){return _0x5c62f6(_0x518102);},'vtWjf':_0x5d1368(0x18f),'OvmUl':_0x5d1368(0x155),'LSdsH':'server','pVUNx':_0x5d1368(0x131),'yrYcY':_0x5d1368(0x15e),'OdiCP':function(_0x3eaa60,_0xd71111){return _0x3eaa60(_0xd71111);},'BNHPf':function(_0x423c57,_0x455fd0){return _0x423c57(_0x455fd0);},'dnusi':_0x5d1368(0x126),'wABrj':_0x5d1368(0x168),'iXDmX':function(_0x5f02f9,_0x416fac){return _0x5f02f9!=_0x416fac;},'cRoOC':_0x5d1368(0x111)},_0x482fc8=this;if(_0x3b796b['pyzPu'](isAccessibilityAutomationSession)){let _0x344d09=null,_0x1b862b=![];try{const _0x40099a=helper['getFrameworkVersion'](FRAMEWORKS[_0x5d1368(0x14b)]);_0x1b862b=_0x3b796b[_0x5d1368(0x1a6)](helper[_0x5d1368(0x19a)](_0x40099a,_0x3b796b[_0x5d1368(0x193)]),0x0);}catch(_0x13d10a){_0x3b796b[_0x5d1368(0x124)](debug,_0x5d1368(0x194)+_0x13d10a['toString']());}if(_0x1b862b)_0x3b796b[_0x5d1368(0x124)](debug,_0x3b796b[_0x5d1368(0x17e)]);else try{const _0x40b566=path[_0x5d1368(0x178)](_0x3b796b[_0x5d1368(0x103)],_0x3b796b[_0x5d1368(0x11b)],_0x3b796b[_0x5d1368(0x16e)],_0x3b796b[_0x5d1368(0x1a2)]),_0x200856=_0x3b796b[_0x5d1368(0x1b5)](importFileFromPWCore,_0x40b566);!_0x200856?_0x3b796b[_0x5d1368(0x14d)](debug,_0x3b796b[_0x5d1368(0x12b)]):_0x344d09=_0x200856['CRConnection'];}catch(_0x20e63d){_0x3b796b[_0x5d1368(0x14d)](debug,_0x3b796b[_0x5d1368(0x15c)]);}try{if(_0x3b796b[_0x5d1368(0x1a0)](_0x344d09,null)){const _0x327507=_0x344d09['prototype']['_onMessage'];Object[_0x5d1368(0x13b)](_0x344d09[_0x5d1368(0x144)],_0x3b796b[_0x5d1368(0x188)],{'get':function(){const _0x30e954={'vRAut':function(_0x521333,_0x41f1ab){const _0x3d3648=a56_0x36ff;return _0x3b796b[_0x3d3648(0x197)](_0x521333,_0x41f1ab);},'XNbwX':function(_0xd43fc7,_0x18797c){const _0x33d498=a56_0x36ff;return _0x3b796b[_0x33d498(0x199)](_0xd43fc7,_0x18797c);}};return async function _0x1bf8cd(_0x39ea6f){const _0x6ce971=a56_0x36ff;try{if(BrowserstackCLI[_0x6ce971(0x11f)]()[_0x6ce971(0xff)]()){const _0x17eb27={};_0x17eb27[_0x6ce971(0xfb)]=_0x39ea6f,await BrowserstackCLI[_0x6ce971(0x11f)]()[_0x6ce971(0x119)]()[_0x6ce971(0x12a)](AutomationFrameworkState[_0x6ce971(0xf4)],HookState[_0x6ce971(0x104)],_0x17eb27),delete _0x39ea6f[_0x6ce971(0xf3)];}else{const _0x2a0705=_0x39ea6f[_0x6ce971(0xf3)];if(_0x2a0705){delete _0x39ea6f[_0x6ce971(0xf3)];const _0x276186=_0x2a0705['sessionId'],_0x5d0eed=_0x2a0705[_0x6ce971(0x166)];_0x5d0eed&&(_0x30e954[_0x6ce971(0x157)](debug,'Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20'+_0x5d0eed[_0x6ce971(0x17d)]()),_0x482fc8[_0x6ce971(0x10a)][_0x6ce971(0x19f)]=_0x5d0eed[_0x6ce971(0x105)],_0x482fc8[_0x6ce971(0x10a)][_0x6ce971(0x127)]=_0x5d0eed[_0x6ce971(0x1a4)]),_0x276186&&(_0x30e954[_0x6ce971(0x157)](debug,'Setting\x20session\x20id\x20received\x20from\x20browserstack\x20'+_0x276186),_0x482fc8[_0x6ce971(0x10a)][_0x6ce971(0x152)]=_0x276186);}}}catch(_0x2b2350){_0x30e954['XNbwX'](debug,_0x6ce971(0x172)+_0x2b2350[_0x6ce971(0x17d)]());}return _0x327507['apply'](this,arguments);};}});}}catch(_0x1c9d75){_0x3b796b[_0x5d1368(0x1b5)](debug,'Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20'+_0x1c9d75),_0x482fc8[_0x5d1368(0x18c)]=_0x1c9d75[_0x5d1368(0x17d)]();}}}static[a56_0x3c678e(0x145)](){const _0x56a3bb=a56_0x3c678e;return this[_0x56a3bb(0x10a)];}}module[a56_0x3c678e(0x139)]=PlaywrightSessionDetails;
@@ -1 +1 @@
1
- const a57_0x196295=a57_0x13bb;function a57_0x13bb(_0x471c1f,_0x59e154){const _0x2b054e=a57_0x2b05();return a57_0x13bb=function(_0x13bb0d,_0x48e4a2){_0x13bb0d=_0x13bb0d-0xb6;let _0x2e87fc=_0x2b054e[_0x13bb0d];return _0x2e87fc;},a57_0x13bb(_0x471c1f,_0x59e154);}(function(_0x5c4a9d,_0x2d7d15){const _0x13b4ce=a57_0x13bb,_0x1d8e3a=_0x5c4a9d();while(!![]){try{const _0x4c693b=-parseInt(_0x13b4ce(0xd1))/0x1+-parseInt(_0x13b4ce(0xb8))/0x2*(-parseInt(_0x13b4ce(0xcf))/0x3)+parseInt(_0x13b4ce(0xde))/0x4*(parseInt(_0x13b4ce(0xc8))/0x5)+parseInt(_0x13b4ce(0xd4))/0x6*(parseInt(_0x13b4ce(0xc7))/0x7)+-parseInt(_0x13b4ce(0xbf))/0x8+-parseInt(_0x13b4ce(0xcd))/0x9*(-parseInt(_0x13b4ce(0xd2))/0xa)+-parseInt(_0x13b4ce(0xdf))/0xb*(parseInt(_0x13b4ce(0xcc))/0xc);if(_0x4c693b===_0x2d7d15)break;else _0x1d8e3a['push'](_0x1d8e3a['shift']());}catch(_0x48e406){_0x1d8e3a['push'](_0x1d8e3a['shift']());}}}(a57_0x2b05,0x6117e));const util=require('util'),logger=require('../../helpers/logger'),{nestedKeyValue,isFalse}=require(a57_0x196295(0xd8)),{o11yErrorHandler}=require(a57_0x196295(0xdc)),PerformanceTester=require('../../helpers/performance/performance-tester'),{O11y_EVENTS:PerformanceO11yEvents}=require(a57_0x196295(0xce)),BrowserstackCLI=require('../v2/browserstackCLI'),CustomTagManager=require('../v2/customTagManager'),uploadAttachmentsManager=require('../v2/uploadAttachmentsManager'),doo11ySync=PerformanceTester[a57_0x196295(0xcb)](PerformanceO11yEvents[a57_0x196295(0xda)],o11yErrorHandler(async function doo11ySync(_0x40b8b4){const _0x76420f=a57_0x196295,_0x70a684={'zzEkp':function(_0x518bce,_0x40ee04,_0x560a7d){return _0x518bce(_0x40ee04,_0x560a7d);},'Lzxgg':_0x76420f(0xd3),'DMigr':'o11ySyncDone','NXqzw':'annotate','iGnWa':_0x76420f(0xc9)};if(_0x70a684[_0x76420f(0xbe)](nestedKeyValue,global,[_0x70a684[_0x76420f(0xd9)],_0x70a684[_0x76420f(0xbd)]]))return;await _0x40b8b4['evaluate'](_0x1bdfb1=>{},_0x76420f(0xbb)+JSON[_0x76420f(0xdb)]({'action':_0x70a684[_0x76420f(0xc6)],'arguments':{'data':_0x76420f(0xd7)+Date[_0x76420f(0xb6)](),'level':_0x70a684[_0x76420f(0xb7)]}})),global[_0x76420f(0xd3)]['o11ySyncDone']=!![];},'doo11ySync'));exports[a57_0x196295(0xdd)]=_0x1fb77d=>{const _0x898163=a57_0x196295,_0xb28833={'sqOxC':function(_0x158699,_0x26d2f8){return _0x158699(_0x26d2f8);},'vyWYZ':function(_0x5952ff,_0x5046ec){return _0x5952ff(_0x5046ec);},'fDUvl':function(_0x284f7b,_0xda75d4,_0x353c4f){return _0x284f7b(_0xda75d4,_0x353c4f);},'ceovd':_0x898163(0xd3)};if(!_0x1fb77d||_0x1fb77d[_0x898163(0xbc)])return;const _0x15a9ab=_0x1fb77d[_0x898163(0xd5)]['bind'](_0x1fb77d);_0x1fb77d[_0x898163(0xd5)]=async function _0x5082a6(){const _0xd23eb5=_0x898163,_0x3d4052=await _0x15a9ab[_0xd23eb5(0xb9)](_0x1fb77d,arguments);try{!BrowserstackCLI[_0xd23eb5(0xd6)]()[_0xd23eb5(0xc4)]()&&!_0xb28833[_0xd23eb5(0xca)](isFalse,process['env'][_0xd23eb5(0xd0)])&&await _0xb28833[_0xd23eb5(0xba)](doo11ySync,_0x3d4052),BrowserstackCLI[_0xd23eb5(0xd6)]()[_0xd23eb5(0xc4)]()&&(_0x3d4052['setCustomTags']=async(_0x1a1da8,_0x4fd1f3,_0x1b5822=![])=>{const _0x1d10db=_0xd23eb5;await CustomTagManager[_0x1d10db(0xc0)](_0x1a1da8,_0x4fd1f3,_0x1b5822);},_0x3d4052['uploadAttachment']=async(_0x15bfb9,_0x3d3a3b=![])=>{await uploadAttachmentsManager['uploadAttachments'](_0x15bfb9,_0x3d3a3b);});}catch(_0x42458c){logger['debug'](_0xd23eb5(0xc2)+util[_0xd23eb5(0xc3)](_0x42458c));}return _0xb28833[_0xd23eb5(0xc1)](nestedKeyValue,global,[_0xb28833[_0xd23eb5(0xc5)]])&&(global[_0xd23eb5(0xd3)]['pwPage']=_0x3d4052),_0x3d4052;},_0x1fb77d[_0x898163(0xbc)]=!![];};function a57_0x2b05(){const _0x2087f3=['format','isRunning','ceovd','NXqzw','203FDpSKE','25qVAxyE','debug','sqOxC','measureWrapper','7765044vDJPGK','1161pUxEYL','../../helpers/performance/constants','9318ySAZmK','BROWSERSTACK_TEST_OBSERVABILITY','16414tTDlmW','57210peTaWv','__workerDetails','153378YCDHAq','newPage','getInstance','ObservabilitySync:','../../helpers/helper','Lzxgg','SYNC','stringify','../../helpers/test-observability/error-handler','patchBrowserNewPage','279844zxhMkq','22xUoNgB','now','iGnWa','384ZElsNy','apply','vyWYZ','browserstack_executor:\x20','_bstackNewPagePatched','DMigr','zzEkp','5737688hEXOEt','setCustomTags','fDUvl','Error\x20during\x20syncing\x20o11y\x20with\x20automate\x20'];a57_0x2b05=function(){return _0x2087f3;};return a57_0x2b05();}
1
+ function a57_0xf422(_0x1e7178,_0x5090ea){const _0x2889c5=a57_0x2889();return a57_0xf422=function(_0xf4220b,_0x27b236){_0xf4220b=_0xf4220b-0x171;let _0x5dafcb=_0x2889c5[_0xf4220b];return _0x5dafcb;},a57_0xf422(_0x1e7178,_0x5090ea);}const a57_0x56bff5=a57_0xf422;(function(_0x3fd1e6,_0x29a281){const _0x475fb3=a57_0xf422,_0x2e34a2=_0x3fd1e6();while(!![]){try{const _0x538961=parseInt(_0x475fb3(0x198))/0x1*(parseInt(_0x475fb3(0x189))/0x2)+-parseInt(_0x475fb3(0x194))/0x3+parseInt(_0x475fb3(0x18d))/0x4+-parseInt(_0x475fb3(0x180))/0x5+parseInt(_0x475fb3(0x185))/0x6+-parseInt(_0x475fb3(0x19a))/0x7+parseInt(_0x475fb3(0x176))/0x8;if(_0x538961===_0x29a281)break;else _0x2e34a2['push'](_0x2e34a2['shift']());}catch(_0x44398f){_0x2e34a2['push'](_0x2e34a2['shift']());}}}(a57_0x2889,0x97bb5));function a57_0x2889(){const _0x1a072b=['574GBqGzD','TCoqc','6155289qkOiru','stringify','../../helpers/performance/constants','o11ySyncDone','../../helpers/helper','env','9452632znkbLK','pwPage','../../helpers/performance/performance-tester','../v2/customTagManager','ZRarE','../../helpers/test-observability/error-handler','format','BROWSERSTACK_TEST_OBSERVABILITY','evaluate','newPage','2626225RtzwlG','patchBrowserNewPage','RYOHo','browserstack_executor:\x20','../v2/uploadAttachmentsManager','4029708ksPjML','debug','bind','nRFiL','1366SWBcFS','VYcfm','doo11ySync','_bstackNewPagePatched','2844660mvlMdT','uploadAttachment','uploadAttachments','now','SYNC','__workerDetails','tIdxq','2791017WRvjNS','getInstance','annotate','ObservabilitySync:'];a57_0x2889=function(){return _0x1a072b;};return a57_0x2889();}const util=require('util'),logger=require('../../helpers/logger'),{nestedKeyValue,isFalse}=require(a57_0x56bff5(0x174)),{o11yErrorHandler}=require(a57_0x56bff5(0x17b)),PerformanceTester=require(a57_0x56bff5(0x178)),{O11y_EVENTS:PerformanceO11yEvents}=require(a57_0x56bff5(0x172)),BrowserstackCLI=require('../v2/browserstackCLI'),CustomTagManager=require(a57_0x56bff5(0x179)),uploadAttachmentsManager=require(a57_0x56bff5(0x184)),doo11ySync=PerformanceTester['measureWrapper'](PerformanceO11yEvents[a57_0x56bff5(0x191)],o11yErrorHandler(async function doo11ySync(_0x37487e){const _0x58784c=a57_0x56bff5,_0x37a4da={'udOsA':function(_0x48af60,_0x5e1aa4,_0x20d5c3){return _0x48af60(_0x5e1aa4,_0x20d5c3);},'RYOHo':_0x58784c(0x192),'TCoqc':_0x58784c(0x173),'ZRarE':_0x58784c(0x196),'tIdxq':_0x58784c(0x186)};if(_0x37a4da['udOsA'](nestedKeyValue,global,[_0x37a4da[_0x58784c(0x182)],_0x37a4da[_0x58784c(0x199)]]))return;await _0x37487e[_0x58784c(0x17e)](_0x3c9d00=>{},_0x58784c(0x183)+JSON[_0x58784c(0x171)]({'action':_0x37a4da[_0x58784c(0x17a)],'arguments':{'data':_0x58784c(0x197)+Date[_0x58784c(0x190)](),'level':_0x37a4da[_0x58784c(0x193)]}})),global['__workerDetails'][_0x58784c(0x173)]=!![];},a57_0x56bff5(0x18b)));exports[a57_0x56bff5(0x181)]=_0x30cd2c=>{const _0x3f8327=a57_0x56bff5,_0x29c488={'gQoyK':function(_0x53d8d9,_0x23f5c4){return _0x53d8d9(_0x23f5c4);},'VYcfm':function(_0xd21ef6,_0x2928ab,_0x4336d8){return _0xd21ef6(_0x2928ab,_0x4336d8);},'nRFiL':_0x3f8327(0x192)};if(!_0x30cd2c||_0x30cd2c['_bstackNewPagePatched'])return;const _0x46b87d=_0x30cd2c['newPage'][_0x3f8327(0x187)](_0x30cd2c);_0x30cd2c[_0x3f8327(0x17f)]=async function _0x1811d7(){const _0x2c7d25=_0x3f8327,_0x3872b1=await _0x46b87d['apply'](_0x30cd2c,arguments);try{!BrowserstackCLI[_0x2c7d25(0x195)]()['isRunning']()&&!_0x29c488['gQoyK'](isFalse,process[_0x2c7d25(0x175)][_0x2c7d25(0x17d)])&&await _0x29c488['gQoyK'](doo11ySync,_0x3872b1),BrowserstackCLI[_0x2c7d25(0x195)]()['isRunning']()&&(_0x3872b1['setCustomTags']=async(_0x340356,_0x38d55d,_0x52a83a=![])=>{await CustomTagManager['setCustomTags'](_0x340356,_0x38d55d,_0x52a83a);},_0x3872b1[_0x2c7d25(0x18e)]=async(_0x2b922a,_0x130d72=![])=>{const _0x5a4a4f=_0x2c7d25;await uploadAttachmentsManager[_0x5a4a4f(0x18f)](_0x2b922a,_0x130d72);});}catch(_0x116d20){logger[_0x2c7d25(0x186)]('Error\x20during\x20syncing\x20o11y\x20with\x20automate\x20'+util[_0x2c7d25(0x17c)](_0x116d20));}return _0x29c488[_0x2c7d25(0x18a)](nestedKeyValue,global,[_0x29c488[_0x2c7d25(0x188)]])&&(global['__workerDetails'][_0x2c7d25(0x177)]=_0x3872b1),_0x3872b1;},_0x30cd2c[_0x3f8327(0x18c)]=!![];};
@@ -1 +1 @@
1
- const a58_0x3453ed=a58_0x50ac;function a58_0x7ad3(){const _0x5348aa=['platformVersion','platform','browserstack','fromEntries','sessionError','HAjzq','onmessage','chrome','jalpm','../../helpers/logger','apply','zjmKE','stringify','MFzYZ','platform_version','exports','getAutomationFramework','../v2/browserstackCLI','platformDetails','path','assign','format','currentSessionDetails','params','xxHJZ','BSTACK_URL','oVBDN','product','util','../v2/state/automationFrameworkState.js','TFQQw','isRunning','JBzFb','browserName','IZnUz','browser','entries','turboscale','cOVjm','parse','debug','result','uouvv','78SJsiFH','url','_connection','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','bStackParams','TJthx','VgOCf','187944AVMFON','268kvntAh','toString','lPFZu','../../helpers/helper','413685wNYiyU','version','POST','PLAYWRIGHT_DISPATCH','398140KvOIlh','Error\x20in\x20patchConnection:\x20','function','test','../v2/state/hookState.js','CqHJU','446636tGFSOl','18843UXIZfr','sessionId','patchConnection','9hnhCVm','getInstance','platformName','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','capabilities','jsrop','bsParams','xcZpa','EYeCk','string','RfbsZ','../../helpers/test-observability/utils','186767Rzldwr','232238faVHyk','BSTACK_ATS_URL','browser_version','bsSessionId','local_grid','trackEvent','Error\x20in\x20setupBrowserDetails:\x20','CljoU','ATS_WSS_URL_REGEX','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','automate','connection','[PuppeteerSessionDetails]\x20Connection\x20patched\x20for\x20session\x20capture','includes'];a58_0x7ad3=function(){return _0x5348aa;};return a58_0x7ad3();}(function(_0x1dd772,_0x1a7427){const _0x3b4be2=a58_0x50ac,_0x2b86bb=_0x1dd772();while(!![]){try{const _0x5e9756=parseInt(_0x3b4be2(0x144))/0x1+parseInt(_0x3b4be2(0x133))/0x2+-parseInt(_0x3b4be2(0x134))/0x3*(parseInt(_0x3b4be2(0x125))/0x4)+-parseInt(_0x3b4be2(0x129))/0x5+-parseInt(_0x3b4be2(0x11d))/0x6*(-parseInt(_0x3b4be2(0x143))/0x7)+-parseInt(_0x3b4be2(0x124))/0x8+-parseInt(_0x3b4be2(0x137))/0x9*(parseInt(_0x3b4be2(0x12d))/0xa);if(_0x5e9756===_0x1a7427)break;else _0x2b86bb['push'](_0x2b86bb['shift']());}catch(_0x22319c){_0x2b86bb['push'](_0x2b86bb['shift']());}}}(a58_0x7ad3,0x39812));const path=require(a58_0x3453ed(0x105)),url=require(a58_0x3453ed(0x11e)),util=require(a58_0x3453ed(0x10e)),{nestedKeyValue,isFalse}=require(a58_0x3453ed(0x128)),{debug,getPlatformDetails}=require(a58_0x3453ed(0x142)),logger=require(a58_0x3453ed(0xfb))['winstonLogger'],constants=require('../utils/constants'),BrowserstackCLI=require(a58_0x3453ed(0x103)),AutomationFrameworkState=require(a58_0x3453ed(0x10f)),HookState=require(a58_0x3453ed(0x131)),getBrowserFromWSEndpoint=_0x4d93c8=>{const _0x27d8b7=a58_0x3453ed,_0x1ef2ea={'jsrop':_0x27d8b7(0x159),'MFzYZ':function(_0x22eae7,_0x7c2eaa){return _0x22eae7(_0x7c2eaa);}};try{const _0x613c78=url[_0x27d8b7(0x119)](_0x4d93c8),_0x168fc4=new URLSearchParams(_0x613c78['query']),_0x5f332e=Object[_0x27d8b7(0x155)](_0x168fc4[_0x27d8b7(0x116)]()),_0x628d8e=JSON[_0x27d8b7(0x119)](_0x5f332e['caps']);if(_0x628d8e&&(_0x628d8e[_0x27d8b7(0x115)]||_0x628d8e[_0x27d8b7(0x113)]))return _0x628d8e[_0x27d8b7(0x115)]||_0x628d8e[_0x27d8b7(0x113)];return _0x1ef2ea[_0x27d8b7(0x13c)];}catch(_0x5474ec){_0x1ef2ea[_0x27d8b7(0xff)](debug,_0x27d8b7(0x13a)+_0x5474ec[_0x27d8b7(0x126)]());}},getCloudProviderFromWsEndpoint=_0x55c179=>{const _0x98a6f5=a58_0x3453ed,_0x33363a={};_0x33363a['IZnUz']=_0x98a6f5(0x154),_0x33363a[_0x98a6f5(0x157)]='unknown_grid';const _0x38e8c4=_0x33363a;if(_0x55c179['includes'](constants[_0x98a6f5(0x10b)])||_0x55c179[_0x98a6f5(0x151)](constants[_0x98a6f5(0x145)]))return _0x38e8c4[_0x98a6f5(0x114)];return _0x38e8c4[_0x98a6f5(0x157)];},a58_0x361257={};a58_0x361257['cloudProvider']=undefined,a58_0x361257['bsSessionId']=undefined,a58_0x361257[a58_0x3453ed(0x115)]=undefined,a58_0x361257[a58_0x3453ed(0x146)]=undefined,a58_0x361257[a58_0x3453ed(0x153)]=undefined,a58_0x361257['platform_version']=undefined,a58_0x361257['product']=undefined,a58_0x361257[a58_0x3453ed(0x13b)]={};class PuppeteerSessionDetails{static [a58_0x3453ed(0x108)]=a58_0x361257;constructor(){const _0x188eac=a58_0x3453ed,_0x49d4d5={};_0x49d4d5[_0x188eac(0x118)]=_0x188eac(0x14d);const _0x4fb475=_0x49d4d5;throw new Error(_0x4fb475[_0x188eac(0x118)]);}static [a58_0x3453ed(0x156)]=null;static async['setupBrowserDetails'](_0xae9610,_0x5a42a4){const _0x5a5a18=a58_0x3453ed,_0x22680a={'RfbsZ':_0x5a5a18(0x159),'uouvv':function(_0x3a014a,_0x47453b){return _0x3a014a===_0x47453b;},'jalpm':_0x5a5a18(0x12f),'lPFZu':_0x5a5a18(0x148),'CqHJU':function(_0x5dfc5b,_0x4ff600){return _0x5dfc5b(_0x4ff600);},'xxHJZ':function(_0xf7d74a,_0x20f966){return _0xf7d74a===_0x20f966;},'EYeCk':'browserstack','HtGLS':_0x5a5a18(0x117),'TJthx':_0x5a5a18(0x14e),'TFQQw':function(_0x34d21b){return _0x34d21b();},'xcZpa':function(_0x85eeb2,_0x1d90c1){return _0x85eeb2(_0x1d90c1);}};try{let _0x154ed0=_0x22680a[_0x5a5a18(0x141)],_0x55a691=null;_0xae9610&&_0x22680a[_0x5a5a18(0x11c)](typeof _0xae9610[_0x5a5a18(0x12a)],_0x22680a[_0x5a5a18(0xfa)])&&(_0x55a691=await _0xae9610['version']());let _0x5d4b5a=null,_0x31fa5f=null,_0x3d32b9=null,_0x532f99=_0x22680a[_0x5a5a18(0x127)];if(_0x5a42a4){_0x532f99=_0x22680a[_0x5a5a18(0x132)](getCloudProviderFromWsEndpoint,_0x5a42a4);if(_0x22680a[_0x5a5a18(0x10a)](_0x532f99,_0x22680a[_0x5a5a18(0x13f)]))_0x3d32b9=constants[_0x5a5a18(0x14c)]?constants['ATS_WSS_URL_REGEX'][_0x5a5a18(0x130)](_0x5a42a4)?_0x22680a['HtGLS']:_0x22680a[_0x5a5a18(0x122)]:_0x22680a[_0x5a5a18(0x122)],_0x154ed0=_0x22680a['CqHJU'](getBrowserFromWSEndpoint,_0x5a42a4)||_0x154ed0,_0x5d4b5a=this[_0x5a5a18(0x108)][_0x5a5a18(0x153)],_0x31fa5f=this[_0x5a5a18(0x108)]['platform_version'];else{const _0xa3abf=await _0x22680a[_0x5a5a18(0x110)](getPlatformDetails);_0x5d4b5a=_0xa3abf[_0x5a5a18(0x139)],_0x31fa5f=_0xa3abf[_0x5a5a18(0x152)];}}else{const _0x22f3f5=await _0x22680a[_0x5a5a18(0x110)](getPlatformDetails);_0x5d4b5a=_0x22f3f5[_0x5a5a18(0x139)],_0x31fa5f=_0x22f3f5['platformVersion'];}const _0x55b00b={};_0x55b00b[_0x5a5a18(0x115)]=_0x154ed0,_0x55b00b[_0x5a5a18(0x146)]=_0x55a691,_0x55b00b[_0x5a5a18(0x13b)]={},_0x55b00b[_0x5a5a18(0x153)]=_0x5d4b5a,_0x55b00b[_0x5a5a18(0x100)]=_0x31fa5f,_0x55b00b[_0x5a5a18(0x10d)]=_0x3d32b9;const _0x2ab057=_0x55b00b,_0x4c85a9={};_0x4c85a9['cloudProvider']=_0x532f99,this[_0x5a5a18(0x108)]=Object[_0x5a5a18(0x106)]({},this['currentSessionDetails'],_0x4c85a9,_0x2ab057);}catch(_0x3d13f6){_0x22680a[_0x5a5a18(0x13e)](debug,_0x5a5a18(0x14a)+util[_0x5a5a18(0x107)](_0x3d13f6)),this[_0x5a5a18(0x156)]=_0x3d13f6['toString']();}}static[a58_0x3453ed(0x136)](_0x2f183e){const _0x3e1a99=a58_0x3453ed,_0x3e2b14={'VgOCf':function(_0x58b0b8,_0x570aac){return _0x58b0b8===_0x570aac;},'CljoU':_0x3e1a99(0x140),'zjmKE':function(_0x45b386,_0x100bb6){return _0x45b386(_0x100bb6);},'oVBDN':function(_0x373913,_0x5ac90d){return _0x373913===_0x5ac90d;},'bmiXt':_0x3e1a99(0x150),'JBzFb':function(_0x236e30,_0x164b10){return _0x236e30(_0x164b10);}},_0x2ccbef=this;try{const _0x575b7b=_0x2f183e[_0x3e1a99(0x11f)]||_0x2f183e[_0x3e1a99(0x14f)];if(!_0x575b7b||_0x575b7b['_bstackPatched'])return;const _0x3e2789=_0x575b7b[_0x3e1a99(0x158)];_0x575b7b[_0x3e1a99(0x158)]=function(_0x4ab986){const _0x10b9e9=_0x3e1a99;try{const _0x1824ac=_0x3e2b14[_0x10b9e9(0x123)](typeof _0x4ab986,_0x3e2b14[_0x10b9e9(0x14b)])?JSON['parse'](_0x4ab986):_0x4ab986,_0x22bb75=_0x1824ac?.[_0x10b9e9(0x121)]||_0x1824ac?.[_0x10b9e9(0x13d)]||_0x1824ac?.[_0x10b9e9(0x109)]?.[_0x10b9e9(0x13d)]||_0x1824ac?.[_0x10b9e9(0x109)]?.[_0x10b9e9(0x121)]||_0x1824ac?.[_0x10b9e9(0x11b)]?.[_0x10b9e9(0x13d)]||_0x1824ac?.[_0x10b9e9(0x11b)]?.[_0x10b9e9(0x121)];if(_0x22bb75){if(BrowserstackCLI[_0x10b9e9(0x138)]()[_0x10b9e9(0x111)]()){const _0x27ae8d={};_0x27ae8d['message']=_0x1824ac,BrowserstackCLI[_0x10b9e9(0x138)]()[_0x10b9e9(0x102)]()[_0x10b9e9(0x149)](AutomationFrameworkState[_0x10b9e9(0x12c)],HookState[_0x10b9e9(0x12b)],_0x27ae8d);}else{const _0x9b4968=_0x22bb75[_0x10b9e9(0x135)],_0x43a3a7=_0x22bb75[_0x10b9e9(0x104)];_0x43a3a7&&(_0x3e2b14['zjmKE'](debug,_0x10b9e9(0x120)+JSON[_0x10b9e9(0xfe)](_0x43a3a7)),_0x2ccbef[_0x10b9e9(0x108)][_0x10b9e9(0x153)]=_0x43a3a7[_0x10b9e9(0x139)],_0x2ccbef[_0x10b9e9(0x108)][_0x10b9e9(0x100)]=_0x43a3a7['platformVersion']),_0x9b4968&&(_0x3e2b14[_0x10b9e9(0xfd)](debug,'Setting\x20session\x20id\x20received\x20from\x20BS\x20'+_0x9b4968),_0x2ccbef['currentSessionDetails'][_0x10b9e9(0x147)]=_0x9b4968);}_0x3e2b14[_0x10b9e9(0x10c)](typeof _0x4ab986,_0x3e2b14['CljoU'])&&(delete _0x1824ac[_0x10b9e9(0x121)],delete _0x1824ac[_0x10b9e9(0x13d)],_0x1824ac[_0x10b9e9(0x109)]&&(delete _0x1824ac[_0x10b9e9(0x109)][_0x10b9e9(0x13d)],delete _0x1824ac['params'][_0x10b9e9(0x121)]),_0x1824ac[_0x10b9e9(0x11b)]&&(delete _0x1824ac[_0x10b9e9(0x11b)]['bsParams'],delete _0x1824ac[_0x10b9e9(0x11b)]['bStackParams']));}}catch(_0x2fdfd3){_0x3e2b14['zjmKE'](debug,'Error\x20extracting\x20bsParams\x20from\x20CDP\x20message:\x20'+_0x2fdfd3['message']);}return _0x3e2789?.[_0x10b9e9(0xfc)](this,arguments);},_0x575b7b['_bstackPatched']=!![],logger[_0x3e1a99(0x11a)](_0x3e2b14['bmiXt']);}catch(_0x1a6451){_0x3e2b14[_0x3e1a99(0x112)](debug,_0x3e1a99(0x12e)+util[_0x3e1a99(0x107)](_0x1a6451)),_0x2ccbef[_0x3e1a99(0x156)]=_0x1a6451[_0x3e1a99(0x126)]();}}static['getDetails'](){const _0x56fc99=a58_0x3453ed;return this[_0x56fc99(0x108)];}}function a58_0x50ac(_0x43bbae,_0x2cbe7b){const _0x7ad377=a58_0x7ad3();return a58_0x50ac=function(_0x50ac6f,_0x2c0b62){_0x50ac6f=_0x50ac6f-0xfa;let _0x120bf0=_0x7ad377[_0x50ac6f];return _0x120bf0;},a58_0x50ac(_0x43bbae,_0x2cbe7b);}module[a58_0x3453ed(0x101)]=PuppeteerSessionDetails;
1
+ function a58_0x40f6(_0xe950b1,_0x3d32b8){const _0x4b83cd=a58_0x4b83();return a58_0x40f6=function(_0x40f6c0,_0x4fa9aa){_0x40f6c0=_0x40f6c0-0x186;let _0x49e8be=_0x4b83cd[_0x40f6c0];return _0x49e8be;},a58_0x40f6(_0xe950b1,_0x3d32b8);}const a58_0x4a0c3c=a58_0x40f6;(function(_0x4dc10f,_0x1ab4cd){const _0x36f16d=a58_0x40f6,_0x32b32b=_0x4dc10f();while(!![]){try{const _0x641571=parseInt(_0x36f16d(0x1a6))/0x1+parseInt(_0x36f16d(0x1b7))/0x2*(-parseInt(_0x36f16d(0x1c3))/0x3)+-parseInt(_0x36f16d(0x1b3))/0x4+-parseInt(_0x36f16d(0x1a4))/0x5+parseInt(_0x36f16d(0x1bd))/0x6*(parseInt(_0x36f16d(0x1c0))/0x7)+-parseInt(_0x36f16d(0x1aa))/0x8*(parseInt(_0x36f16d(0x1d2))/0x9)+-parseInt(_0x36f16d(0x1cc))/0xa*(-parseInt(_0x36f16d(0x191))/0xb);if(_0x641571===_0x1ab4cd)break;else _0x32b32b['push'](_0x32b32b['shift']());}catch(_0xd1ad78){_0x32b32b['push'](_0x32b32b['shift']());}}}(a58_0x4b83,0x8835b));const path=require(a58_0x4a0c3c(0x1b1)),url=require(a58_0x4a0c3c(0x198)),util=require('util'),{nestedKeyValue,isFalse}=require(a58_0x4a0c3c(0x1cf)),{debug,getPlatformDetails}=require('../../helpers/test-observability/utils'),logger=require(a58_0x4a0c3c(0x1c7))[a58_0x4a0c3c(0x195)],constants=require('../utils/constants'),BrowserstackCLI=require(a58_0x4a0c3c(0x199)),AutomationFrameworkState=require(a58_0x4a0c3c(0x197)),HookState=require(a58_0x4a0c3c(0x1b8)),getBrowserFromWSEndpoint=_0x20c2e4=>{const _0xc3892d=a58_0x4a0c3c,_0x53a7ed={'IxxPS':'chrome','YhhrX':function(_0x35caf4,_0x24ce03){return _0x35caf4(_0x24ce03);}};try{const _0x11c4c3=url[_0xc3892d(0x1a8)](_0x20c2e4),_0xdf7573=new URLSearchParams(_0x11c4c3[_0xc3892d(0x1c1)]),_0x41711f=Object[_0xc3892d(0x188)](_0xdf7573[_0xc3892d(0x1ac)]()),_0x10752a=JSON['parse'](_0x41711f[_0xc3892d(0x186)]);if(_0x10752a&&(_0x10752a[_0xc3892d(0x187)]||_0x10752a[_0xc3892d(0x1dc)]))return _0x10752a['browser']||_0x10752a[_0xc3892d(0x1dc)];return _0x53a7ed['IxxPS'];}catch(_0x5beafc){_0x53a7ed[_0xc3892d(0x1dd)](debug,_0xc3892d(0x1ce)+_0x5beafc[_0xc3892d(0x1be)]());}},getCloudProviderFromWsEndpoint=_0x50cf7c=>{const _0x36905d=a58_0x4a0c3c,_0x9830af={};_0x9830af['kYuTW']=_0x36905d(0x1e1),_0x9830af[_0x36905d(0x1c5)]=_0x36905d(0x1ab);const _0x4d0386=_0x9830af;if(_0x50cf7c[_0x36905d(0x1db)](constants[_0x36905d(0x1a2)])||_0x50cf7c[_0x36905d(0x1db)](constants[_0x36905d(0x1a9)]))return _0x4d0386[_0x36905d(0x1b9)];return _0x4d0386[_0x36905d(0x1c5)];},a58_0x300223={};a58_0x300223[a58_0x4a0c3c(0x1b4)]=undefined,a58_0x300223[a58_0x4a0c3c(0x1a5)]=undefined,a58_0x300223[a58_0x4a0c3c(0x187)]=undefined,a58_0x300223[a58_0x4a0c3c(0x1d8)]=undefined,a58_0x300223[a58_0x4a0c3c(0x1bf)]=undefined,a58_0x300223[a58_0x4a0c3c(0x193)]=undefined,a58_0x300223[a58_0x4a0c3c(0x1c9)]=undefined,a58_0x300223['capabilities']={};class PuppeteerSessionDetails{static ['currentSessionDetails']=a58_0x300223;constructor(){const _0x431140=a58_0x4a0c3c,_0x15aa6a={};_0x15aa6a[_0x431140(0x18a)]='Invalid\x20constructor,\x20please\x20use\x20static\x20methods';const _0x195475=_0x15aa6a;throw new Error(_0x195475[_0x431140(0x18a)]);}static [a58_0x4a0c3c(0x1e0)]=null;static async[a58_0x4a0c3c(0x1d5)](_0x1e9d69,_0x3f4324){const _0x10ec31=a58_0x4a0c3c,_0x33b200={'wPUmS':_0x10ec31(0x1b5),'deSLo':function(_0x1a619a,_0xa9b491){return _0x1a619a===_0xa9b491;},'OlZiL':_0x10ec31(0x1cb),'CFNQW':'local_grid','uekYn':function(_0x5ee8a9,_0x209479){return _0x5ee8a9(_0x209479);},'pZQNP':_0x10ec31(0x1e1),'mydeF':_0x10ec31(0x18f),'upAKw':_0x10ec31(0x1de),'clGRU':function(_0x3bd2e5){return _0x3bd2e5();},'muOSI':function(_0x30dbde){return _0x30dbde();}};try{let _0x27c183=_0x33b200[_0x10ec31(0x1c4)],_0x40fbb6=null;_0x1e9d69&&_0x33b200[_0x10ec31(0x1bc)](typeof _0x1e9d69[_0x10ec31(0x1da)],_0x33b200[_0x10ec31(0x1ad)])&&(_0x40fbb6=await _0x1e9d69[_0x10ec31(0x1da)]());let _0x295e27=null,_0x1e49e5=null,_0x5e1dce=null,_0x47f7b9=_0x33b200['CFNQW'];if(_0x3f4324){_0x47f7b9=_0x33b200[_0x10ec31(0x19c)](getCloudProviderFromWsEndpoint,_0x3f4324);if(_0x33b200[_0x10ec31(0x1bc)](_0x47f7b9,_0x33b200[_0x10ec31(0x1ca)]))_0x5e1dce=constants[_0x10ec31(0x1d1)]?constants[_0x10ec31(0x1d1)][_0x10ec31(0x1d3)](_0x3f4324)?_0x33b200[_0x10ec31(0x1c2)]:_0x33b200[_0x10ec31(0x1cd)]:_0x33b200['upAKw'],_0x27c183=_0x33b200[_0x10ec31(0x19c)](getBrowserFromWSEndpoint,_0x3f4324)||_0x27c183,_0x295e27=this[_0x10ec31(0x1a0)]['platform'],_0x1e49e5=this[_0x10ec31(0x1a0)][_0x10ec31(0x193)];else{const _0x36f3a4=await _0x33b200['clGRU'](getPlatformDetails);_0x295e27=_0x36f3a4[_0x10ec31(0x1bb)],_0x1e49e5=_0x36f3a4['platformVersion'];}}else{const _0x2c9388=await _0x33b200[_0x10ec31(0x19d)](getPlatformDetails);_0x295e27=_0x2c9388[_0x10ec31(0x1bb)],_0x1e49e5=_0x2c9388[_0x10ec31(0x1d6)];}const _0x4df76a={};_0x4df76a[_0x10ec31(0x187)]=_0x27c183,_0x4df76a[_0x10ec31(0x1d8)]=_0x40fbb6,_0x4df76a['capabilities']={},_0x4df76a[_0x10ec31(0x1bf)]=_0x295e27,_0x4df76a['platform_version']=_0x1e49e5,_0x4df76a[_0x10ec31(0x1c9)]=_0x5e1dce;const _0x524b15=_0x4df76a,_0x520deb={};_0x520deb[_0x10ec31(0x1b4)]=_0x47f7b9,this[_0x10ec31(0x1a0)]=Object[_0x10ec31(0x1c8)]({},this[_0x10ec31(0x1a0)],_0x520deb,_0x524b15);}catch(_0x1fb6b9){_0x33b200[_0x10ec31(0x19c)](debug,_0x10ec31(0x1d7)+util[_0x10ec31(0x18b)](_0x1fb6b9)),this[_0x10ec31(0x1e0)]=_0x1fb6b9[_0x10ec31(0x1be)]();}}static[a58_0x4a0c3c(0x1a1)](_0x1fd073){const _0x3335a3=a58_0x4a0c3c,_0x4c69fe={'bdvLH':function(_0xc99c57,_0x5ea701){return _0xc99c57===_0x5ea701;},'wRncM':'string','nrdsV':function(_0x59b48e,_0xe41ed0){return _0x59b48e(_0xe41ed0);},'PjXOf':_0x3335a3(0x18d)},_0x442df7=this;try{const _0x23ecf4=_0x1fd073['_connection']||_0x1fd073[_0x3335a3(0x1d9)];if(!_0x23ecf4||_0x23ecf4[_0x3335a3(0x18c)])return;const _0x3e4c59=_0x23ecf4[_0x3335a3(0x1ae)];_0x23ecf4['onmessage']=function(_0x1e0c6c){const _0x1eefe7=_0x3335a3;try{const _0x3c178d=_0x4c69fe[_0x1eefe7(0x18e)](typeof _0x1e0c6c,_0x4c69fe[_0x1eefe7(0x19f)])?JSON['parse'](_0x1e0c6c):_0x1e0c6c,_0x4e56a6=_0x3c178d?.[_0x1eefe7(0x189)]||_0x3c178d?.[_0x1eefe7(0x1ba)]||_0x3c178d?.[_0x1eefe7(0x1af)]?.[_0x1eefe7(0x1ba)]||_0x3c178d?.['params']?.[_0x1eefe7(0x189)]||_0x3c178d?.[_0x1eefe7(0x190)]?.[_0x1eefe7(0x1ba)]||_0x3c178d?.[_0x1eefe7(0x190)]?.[_0x1eefe7(0x189)];if(_0x4e56a6){if(BrowserstackCLI[_0x1eefe7(0x19b)]()['isRunning']()){const _0x5c1113={};_0x5c1113['message']=_0x3c178d,BrowserstackCLI[_0x1eefe7(0x19b)]()['getAutomationFramework']()[_0x1eefe7(0x1a3)](AutomationFrameworkState[_0x1eefe7(0x1a7)],HookState[_0x1eefe7(0x1c6)],_0x5c1113);}else{const _0x436aff=_0x4e56a6[_0x1eefe7(0x194)],_0x2d82a2=_0x4e56a6[_0x1eefe7(0x1b2)];_0x2d82a2&&(_0x4c69fe[_0x1eefe7(0x1b6)](debug,_0x1eefe7(0x1d4)+JSON[_0x1eefe7(0x1d0)](_0x2d82a2)),_0x442df7[_0x1eefe7(0x1a0)]['platform']=_0x2d82a2[_0x1eefe7(0x1bb)],_0x442df7[_0x1eefe7(0x1a0)][_0x1eefe7(0x193)]=_0x2d82a2[_0x1eefe7(0x1d6)]),_0x436aff&&(_0x4c69fe['nrdsV'](debug,_0x1eefe7(0x1b0)+_0x436aff),_0x442df7[_0x1eefe7(0x1a0)][_0x1eefe7(0x1a5)]=_0x436aff);}_0x4c69fe['bdvLH'](typeof _0x1e0c6c,_0x4c69fe[_0x1eefe7(0x19f)])&&(delete _0x3c178d[_0x1eefe7(0x189)],delete _0x3c178d[_0x1eefe7(0x1ba)],_0x3c178d[_0x1eefe7(0x1af)]&&(delete _0x3c178d['params']['bsParams'],delete _0x3c178d['params']['bStackParams']),_0x3c178d['result']&&(delete _0x3c178d[_0x1eefe7(0x190)][_0x1eefe7(0x1ba)],delete _0x3c178d[_0x1eefe7(0x190)][_0x1eefe7(0x189)]));}}catch(_0x46bf48){_0x4c69fe['nrdsV'](debug,_0x1eefe7(0x196)+_0x46bf48['message']);}return _0x3e4c59?.['apply'](this,arguments);},_0x23ecf4[_0x3335a3(0x18c)]=!![],logger[_0x3335a3(0x192)](_0x4c69fe['PjXOf']);}catch(_0x561842){_0x4c69fe['nrdsV'](debug,_0x3335a3(0x19e)+util[_0x3335a3(0x18b)](_0x561842)),_0x442df7[_0x3335a3(0x1e0)]=_0x561842['toString']();}}static[a58_0x4a0c3c(0x1df)](){return this['currentSessionDetails'];}}module[a58_0x4a0c3c(0x19a)]=PuppeteerSessionDetails;function a58_0x4b83(){const _0x47aaa1=['stringify','ATS_WSS_URL_REGEX','18lrPgmO','test','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','setupBrowserDetails','platformVersion','Error\x20in\x20setupBrowserDetails:\x20','browser_version','connection','version','includes','browserName','YhhrX','automate','getDetails','sessionError','browserstack','caps','browser','fromEntries','bStackParams','xxtot','format','_bstackPatched','[PuppeteerSessionDetails]\x20Connection\x20patched\x20for\x20session\x20capture','bdvLH','turboscale','result','165uVupJO','debug','platform_version','sessionId','winstonLogger','Error\x20extracting\x20bsParams\x20from\x20CDP\x20message:\x20','../v2/state/automationFrameworkState.js','url','../v2/browserstackCLI','exports','getInstance','uekYn','muOSI','Error\x20in\x20patchConnection:\x20','wRncM','currentSessionDetails','patchConnection','BSTACK_URL','trackEvent','2306505ZCasfm','bsSessionId','59663iPrzmv','PLAYWRIGHT_DISPATCH','parse','BSTACK_ATS_URL','3507848MCGMya','unknown_grid','entries','OlZiL','onmessage','params','Setting\x20session\x20id\x20received\x20from\x20BS\x20','path','platformDetails','408328PRPYsT','cloudProvider','chrome','nrdsV','55436MQfxJU','../v2/state/hookState.js','kYuTW','bsParams','platformName','deSLo','6CoSunC','toString','platform','4573527ihQEKF','query','mydeF','99aTiLEQ','wPUmS','DFKaF','POST','../../helpers/logger','assign','product','pZQNP','function','1466620ISEDhV','upAKw','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','../../helpers/helper'];a58_0x4b83=function(){return _0x47aaa1;};return a58_0x4b83();}
@@ -1 +1 @@
1
- const a59_0x57736d=a59_0x31fa;(function(_0x1b0fab,_0x302cf2){const _0x252bb1=a59_0x31fa,_0x5069a4=_0x1b0fab();while(!![]){try{const _0x1fe5ab=-parseInt(_0x252bb1(0x1ac))/0x1*(-parseInt(_0x252bb1(0x1ca))/0x2)+-parseInt(_0x252bb1(0x1c9))/0x3+parseInt(_0x252bb1(0x1ad))/0x4+-parseInt(_0x252bb1(0x1bd))/0x5+-parseInt(_0x252bb1(0x1b8))/0x6*(parseInt(_0x252bb1(0x1a1))/0x7)+parseInt(_0x252bb1(0x1a8))/0x8+parseInt(_0x252bb1(0x1c0))/0x9;if(_0x1fe5ab===_0x302cf2)break;else _0x5069a4['push'](_0x5069a4['shift']());}catch(_0x5875ff){_0x5069a4['push'](_0x5069a4['shift']());}}}(a59_0x1c9c,0xe01f2));const {isTrue,isBrowserstackInfra}=require(a59_0x57736d(0x19d)),setKeepAlive=require('../../helpers/setKeepAlive'),util=require(a59_0x57736d(0x1a3)),logger=require(a59_0x57736d(0x1a5))[a59_0x57736d(0x1c5)],{shouldProcessEventForTesthub}=require(a59_0x57736d(0x1a0)),{addRequestSpy}=require(a59_0x57736d(0x1a9)),a59_0x362ab6={};a59_0x362ab6[a59_0x57736d(0x1ae)]=undefined,a59_0x362ab6[a59_0x57736d(0x19e)]={},a59_0x362ab6[a59_0x57736d(0x1c6)]=![],a59_0x362ab6['pwPage']=null,a59_0x362ab6[a59_0x57736d(0x19c)]=![],a59_0x362ab6[a59_0x57736d(0x19e)]['id']=undefined,a59_0x362ab6[a59_0x57736d(0x19e)][a59_0x57736d(0x1ba)]=undefined;function a59_0x31fa(_0x1ffd26,_0x56f216){const _0x1c9ccf=a59_0x1c9c();return a59_0x31fa=function(_0x31fa8c,_0xfabf71){_0x31fa8c=_0x31fa8c-0x19c;let _0x195fb2=_0x1c9ccf[_0x31fa8c];return _0x195fb2;},a59_0x31fa(_0x1ffd26,_0x56f216);}const workerDetails=a59_0x362ab6;global[a59_0x57736d(0x1c7)]=workerDetails;let puppeteerPatcher=null;function a59_0x1c9c(){const _0xdbab97=['true','env','../utils/constants','winstonLogger','o11ySyncDone','__workerDetails','isCliEnabled','571935GrwIVJ','258sInUIz','isPageFixture','../../helpers/helper','currentTest','BROWSERSTACK_PUPPETEER','../../helpers/testhub/utils','119yFcfwi','debug','util','skipSessionName','../../helpers/logger','__skipSessionName','initializePuppeteerPatching','3805936zijNCe','../../helpers/test-observability/utils','../utils/puppeteer-patcher','[PuppeteerTestSetup]\x20Puppeteer\x20patching\x20initialized','13438qzgqUI','3684992wlTyPB','workerInfo','[PuppeteerTestSetup]\x20Error\x20bootstrapping\x20BrowserstackCLI:\x20','__skipSessionStatus','jestConfig','[PuppeteerTestSetup]\x20Jest-Puppeteer\x20test\x20setup\x20completed','getInstance','getPackageVersion','setFrameworkDetail','[PuppeteerTestSetup]\x20Patching\x20Puppeteer\x20for\x20Jest','catch','406944jzWkjw','[PuppeteerTestSetup]\x20Bootstrapping\x20BrowserstackCLI\x20for\x20Jest\x20worker','testInfo','JEST','bootstrap','5697805LQVeMb','../v2/browserstackCLI','format','2436516LvvWBn','skipSessionStatus'];a59_0x1c9c=function(){return _0xdbab97;};return a59_0x1c9c();}setKeepAlive();if(global[a59_0x57736d(0x1b1)])try{isBrowserstackInfra()?(global[a59_0x57736d(0x1a6)]=isTrue(global[a59_0x57736d(0x1b1)]?.[a59_0x57736d(0x1a4)]),global[a59_0x57736d(0x1b0)]=isTrue(global[a59_0x57736d(0x1b1)]?.[a59_0x57736d(0x1c1)])):(global[a59_0x57736d(0x1a6)]=!![],global['__skipSessionStatus']=!![]);const helper=require(a59_0x57736d(0x19d)),puppeteerVersion=helper['getPackageVersion']('puppeteer')||helper[a59_0x57736d(0x1b4)]('puppeteer-core');if(puppeteerVersion)try{logger['debug'](a59_0x57736d(0x1b6)),puppeteerPatcher=require(a59_0x57736d(0x1aa)),puppeteerPatcher[a59_0x57736d(0x1a7)](global[a59_0x57736d(0x1b1)]),logger[a59_0x57736d(0x1a2)](a59_0x57736d(0x1ab));}catch(a59_0x1bb815){logger[a59_0x57736d(0x1a2)]('[PuppeteerTestSetup]\x20Error\x20initializing\x20Puppeteer\x20patching:\x20'+util['format'](a59_0x1bb815));}if(puppeteerPatcher)try{const BrowserstackCLI=require(a59_0x57736d(0x1be)),CLIUtils=require('../v2/cliUtils'),{FRAMEWORKS}=require(a59_0x57736d(0x1c4));BrowserstackCLI[a59_0x57736d(0x1b3)]()[a59_0x57736d(0x1c8)]()&&(logger[a59_0x57736d(0x1a2)](a59_0x57736d(0x1b9)),process[a59_0x57736d(0x1c3)][a59_0x57736d(0x19f)]=a59_0x57736d(0x1c2),CLIUtils[a59_0x57736d(0x1b5)](FRAMEWORKS[a59_0x57736d(0x1bb)],FRAMEWORKS['PUPPETEER']),BrowserstackCLI[a59_0x57736d(0x1b3)]()[a59_0x57736d(0x1bc)]()[a59_0x57736d(0x1b7)](_0x1f496e=>{const _0x385c8c=a59_0x57736d;logger[_0x385c8c(0x1a2)](_0x385c8c(0x1af)+util[_0x385c8c(0x1bf)](_0x1f496e));}));}catch(a59_0x280b39){logger[a59_0x57736d(0x1a2)]('[PuppeteerTestSetup]\x20Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20'+util[a59_0x57736d(0x1bf)](a59_0x280b39));}shouldProcessEventForTesthub()&&addRequestSpy(![]);}catch(a59_0x18fca7){logger[a59_0x57736d(0x1a2)]('[PuppeteerTestSetup]\x20Error\x20reading\x20BrowserStack\x20config:\x20'+util[a59_0x57736d(0x1bf)](a59_0x18fca7));}logger['debug'](a59_0x57736d(0x1b2));
1
+ const a59_0x5234bd=a59_0x3d63;function a59_0x3d63(_0x26c992,_0x2f91a2){const _0x11cd58=a59_0x11cd();return a59_0x3d63=function(_0x3d6336,_0x4dfeaa){_0x3d6336=_0x3d6336-0xea;let _0x1c3638=_0x11cd58[_0x3d6336];return _0x1c3638;},a59_0x3d63(_0x26c992,_0x2f91a2);}(function(_0x3404b7,_0x94a75f){const _0x216e45=a59_0x3d63,_0x4bb54b=_0x3404b7();while(!![]){try{const _0x489ca3=parseInt(_0x216e45(0xf8))/0x1*(-parseInt(_0x216e45(0x100))/0x2)+parseInt(_0x216e45(0x10f))/0x3*(-parseInt(_0x216e45(0xfd))/0x4)+-parseInt(_0x216e45(0x103))/0x5*(parseInt(_0x216e45(0x109))/0x6)+-parseInt(_0x216e45(0x115))/0x7+-parseInt(_0x216e45(0x113))/0x8*(parseInt(_0x216e45(0x10e))/0x9)+parseInt(_0x216e45(0xee))/0xa+parseInt(_0x216e45(0x114))/0xb*(parseInt(_0x216e45(0xf2))/0xc);if(_0x489ca3===_0x94a75f)break;else _0x4bb54b['push'](_0x4bb54b['shift']());}catch(_0x4d917c){_0x4bb54b['push'](_0x4bb54b['shift']());}}}(a59_0x11cd,0x3fa10));const {isTrue,isBrowserstackInfra}=require(a59_0x5234bd(0xeb)),setKeepAlive=require(a59_0x5234bd(0x104)),util=require(a59_0x5234bd(0x10a)),logger=require(a59_0x5234bd(0xf5))[a59_0x5234bd(0xfe)],{shouldProcessEventForTesthub}=require(a59_0x5234bd(0xf3)),{addRequestSpy}=require(a59_0x5234bd(0xfb)),a59_0x509783={};a59_0x509783[a59_0x5234bd(0xed)]=undefined,a59_0x509783[a59_0x5234bd(0xf4)]={},a59_0x509783[a59_0x5234bd(0x106)]=![],a59_0x509783[a59_0x5234bd(0x117)]=null,a59_0x509783[a59_0x5234bd(0x105)]=![],a59_0x509783[a59_0x5234bd(0xf4)]['id']=undefined,a59_0x509783[a59_0x5234bd(0xf4)][a59_0x5234bd(0xf7)]=undefined;const workerDetails=a59_0x509783;global['__workerDetails']=workerDetails;let puppeteerPatcher=null;setKeepAlive();function a59_0x11cd(){const _0x413d11=['../../helpers/logger','[PuppeteerTestSetup]\x20Error\x20bootstrapping\x20BrowserstackCLI:\x20','testInfo','11569ldFCIX','jestConfig','../v2/cliUtils','../../helpers/test-observability/utils','__skipSessionStatus','12dBxpdv','winstonLogger','true','36hVCUvA','initializePuppeteerPatching','[PuppeteerTestSetup]\x20Error\x20reading\x20BrowserStack\x20config:\x20','5Srgmhp','../../helpers/setKeepAlive','isPageFixture','o11ySyncDone','__skipSessionName','bootstrap','2705286eMYEvT','util','env','[PuppeteerTestSetup]\x20Bootstrapping\x20BrowserstackCLI\x20for\x20Jest\x20worker','[PuppeteerTestSetup]\x20Jest-Puppeteer\x20test\x20setup\x20completed','9zKnKtY','190758kZsLGp','[PuppeteerTestSetup]\x20Patching\x20Puppeteer\x20for\x20Jest','getInstance','getPackageVersion','1976IfOszW','33DEaoYm','2933196SrubaS','PUPPETEER','pwPage','[PuppeteerTestSetup]\x20Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20','../../helpers/helper','setFrameworkDetail','workerInfo','1049420wyxhLZ','debug','format','[PuppeteerTestSetup]\x20Error\x20initializing\x20Puppeteer\x20patching:\x20','5699352vEgSyE','../../helpers/testhub/utils','currentTest'];a59_0x11cd=function(){return _0x413d11;};return a59_0x11cd();}if(global['jestConfig'])try{isBrowserstackInfra()?(global[a59_0x5234bd(0x107)]=isTrue(global[a59_0x5234bd(0xf9)]?.['skipSessionName']),global[a59_0x5234bd(0xfc)]=isTrue(global[a59_0x5234bd(0xf9)]?.['skipSessionStatus'])):(global[a59_0x5234bd(0x107)]=!![],global[a59_0x5234bd(0xfc)]=!![]);const helper=require(a59_0x5234bd(0xeb)),puppeteerVersion=helper[a59_0x5234bd(0x112)]('puppeteer')||helper[a59_0x5234bd(0x112)]('puppeteer-core');if(puppeteerVersion)try{logger['debug'](a59_0x5234bd(0x110)),puppeteerPatcher=require('../utils/puppeteer-patcher'),puppeteerPatcher[a59_0x5234bd(0x101)](global[a59_0x5234bd(0xf9)]),logger[a59_0x5234bd(0xef)]('[PuppeteerTestSetup]\x20Puppeteer\x20patching\x20initialized');}catch(a59_0x419043){logger[a59_0x5234bd(0xef)](a59_0x5234bd(0xf1)+util['format'](a59_0x419043));}if(puppeteerPatcher)try{const BrowserstackCLI=require('../v2/browserstackCLI'),CLIUtils=require(a59_0x5234bd(0xfa)),{FRAMEWORKS}=require('../utils/constants');BrowserstackCLI[a59_0x5234bd(0x111)]()['isCliEnabled']()&&(logger['debug'](a59_0x5234bd(0x10c)),process[a59_0x5234bd(0x10b)]['BROWSERSTACK_PUPPETEER']=a59_0x5234bd(0xff),CLIUtils[a59_0x5234bd(0xec)](FRAMEWORKS['JEST'],FRAMEWORKS[a59_0x5234bd(0x116)]),BrowserstackCLI[a59_0x5234bd(0x111)]()[a59_0x5234bd(0x108)]()['catch'](_0x43a3a5=>{const _0x2f248f=a59_0x5234bd;logger[_0x2f248f(0xef)](_0x2f248f(0xf6)+util['format'](_0x43a3a5));}));}catch(a59_0x985349){logger[a59_0x5234bd(0xef)](a59_0x5234bd(0xea)+util[a59_0x5234bd(0xf0)](a59_0x985349));}shouldProcessEventForTesthub()&&addRequestSpy(![]);}catch(a59_0x18670a){logger[a59_0x5234bd(0xef)](a59_0x5234bd(0x102)+util['format'](a59_0x18670a));}logger[a59_0x5234bd(0xef)](a59_0x5234bd(0x10d));
package/src/bin/runner.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a60_0x21932d=a60_0x5b9d;function a60_0x1218(){const _0xbdee3=['dot-notation','command','pw:*','INFO','INCZS','zqXJV','zJBiw','.browserstack','./vanilla-js/command','--no-config','start','some','MOCHA','hkysU','load\x20[subcommand]','jest','AOttM','map','JHiSK','describe','./testcafe/command','jasmine','btpZK','testcafe','UeWPe','mocha/lib/cli/run.js','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','hNrFF','KixRM','codeceptjs','EVENTS','integrations','env','kepWN','--package','child_process','wrap','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','pw:channel','./codeceptjs/command','xZtBC','akLrK','pJyFT','ats','CUCUMBER','INTEGRATIONS','isUndefined','showHelpOnFail','mHFCT','540nAmkMi','stop','config','nightwatch','PLAYWRIGHT','SDK_SETUP','qTizf','FUMsG','VANILLA','oFXMq','IrCIx','KOnmM','OjuNn','exitProcess','push','getConfigPath','BjRTf','cucumber-js','jbJcu','hMAel','atFgH','framework','mocha/lib/cli/cli.js','pw:channel\x20auto-capture\x20seed\x20failed:\x20','setBrowserStackAutomationDisable','syldK','BROWSERSTACK_CONFIG_FILE_PATH','JtXij','vanilla','trim','mocha','exitCode','TESTCAFE','QsUjO','DEBUG','./newman/command','parserConfiguration','mFexZ','vaWYX','--no-package','yargs','winstonLogger','fXqUL','strict','path','13028814twCEhi','../helpers/utilities','playwright','DEBUG_FILE','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','./cucumber-js/command','xHMBC','split','demandCommand','message','601818ojUBhn','IPSRa','argv','1866907skXnPc','homedir','mocha/lib/cli/commands.js','KGctS','217876vMVTVH','getPwChannelLogPath','altbf','IwuwN','xPSpg','disableAutoCaptureLogs','./utils/constants','JEST','6723264OdpnRD','newman','--config','uJbWQ','help','../helpers/helper','rJQEI','boolean','node','sendLogs','existsSync','alias','Running\x20SDK\x20with\x20args\x20','EuCMg','getInstance','error','--opts','hFYYg','format','qzmeJ','SDKTestSuccessful','--require','SDK_CLEANUP','unlinkSync','./integrations/command','../helpers/performance/constants','debug','FxSVd','handler','1095732neqmGu','NEWMAN','slice','stack','mTkbJ','../helpers/performance/performance-tester','VERSION','setTestObservabilityDisable','uIaBk','./v2/browserstackCLI','filter','27420oTwXEh','Show\x20help','../helpers/logger','option','usage:\x20$0\x20<command>\x20[args]','assign','CODECEPTJS','./nightwatch/command','zKntn','--no-opts','3ZMuXEK'];a60_0x1218=function(){return _0xbdee3;};return a60_0x1218();}(function(_0x52709f,_0x511987){const _0x4e6f67=a60_0x5b9d,_0x59bfde=_0x52709f();while(!![]){try{const _0x427fe3=-parseInt(_0x4e6f67(0xa8))/0x1+-parseInt(_0x4e6f67(0xd4))/0x2+-parseInt(_0x4e6f67(0xe9))/0x3*(-parseInt(_0x4e6f67(0xaf))/0x4)+-parseInt(_0x4e6f67(0xdf))/0x5*(parseInt(_0x4e6f67(0x71))/0x6)+-parseInt(_0x4e6f67(0xab))/0x7+parseInt(_0x4e6f67(0xb7))/0x8+parseInt(_0x4e6f67(0x9e))/0x9;if(_0x427fe3===_0x511987)break;else _0x59bfde['push'](_0x59bfde['shift']());}catch(_0xb89591){_0x59bfde['push'](_0x59bfde['shift']());}}}(a60_0x1218,0x699c2));const fs=require('fs'),path=require(a60_0x21932d(0x9d)),util=require('util'),spawn=require(a60_0x21932d(0x10d))['spawn'],{requireModule}=require(a60_0x21932d(0xbc)),PerformanceTester=require(a60_0x21932d(0xd9)),PerformanceEvents=require(a60_0x21932d(0xd0))[a60_0x21932d(0x108)],helper=require(a60_0x21932d(0xbc)),utilities=require(a60_0x21932d(0x9f)),{default:BrowserStackSetup}=require('../helpers/BrowserStackSetup'),{FRAMEWORKS}=require('../helpers/test-observability/constants'),runIntegrations=require(a60_0x21932d(0xcf)),yargs=require(a60_0x21932d(0x99)),Constants=require(a60_0x21932d(0xb5)),BrowserstackCLI=require(a60_0x21932d(0xdd)),{isNewman}=require('./newman/helper'),logger=require(a60_0x21932d(0xe1))[a60_0x21932d(0x9a)],origArgs=Object[a60_0x21932d(0xe4)]([],process[a60_0x21932d(0xaa)]),captureError=async(_0x194921,_0xc730ec,_0x156a66,_0x4a78ef=null,_0x4c4a74=![])=>{const _0x15a560=a60_0x21932d,_0x3cdfc5={'jNnWQ':function(_0x29cda7,_0x39faeb,_0x393d65,_0x4e7a79){return _0x29cda7(_0x39faeb,_0x393d65,_0x4e7a79);},'mFexZ':_0x15a560(0xcb)};try{logger['info'](_0x15a560(0xc3)+origArgs['join']('\x20')),await _0x3cdfc5['jNnWQ'](_0x194921,_0xc730ec,_0x4a78ef,_0x156a66);}catch(_0xfc89ea){process[_0x15a560(0x90)]=0x1,logger['error'](util['format'](_0xfc89ea));const _0x4cb68a={'globalException':util['format']('%j',_0xfc89ea)};PerformanceTester['end'](PerformanceEvents[_0x15a560(0x76)],![],util[_0x15a560(0xc9)](_0xfc89ea));if(helper[_0x15a560(0x6e)](global[_0x15a560(0x73)])&&helper['isUndefined'](global[_0x15a560(0x86)]))return;try{utilities['fireFunnelTestEvent'](_0x3cdfc5[_0x15a560(0x96)],_0x4cb68a,global[_0x15a560(0x73)],global[_0x15a560(0x86)]);}catch(_0x57d29e){logger[_0x15a560(0xd1)](_0x15a560(0xa2)+_0x57d29e[_0x15a560(0xd7)]);}try{await helper[_0x15a560(0xc0)](global[_0x15a560(0x73)]);}catch(_0x3babdd){logger[_0x15a560(0xd1)]('Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20'+_0x3babdd[_0x15a560(0xd7)]);}PerformanceTester['end'](PerformanceEvents['SDK_SETUP'],![],util[_0x15a560(0xc9)](_0xfc89ea));}finally{!_0x4c4a74&&await BrowserstackCLI[_0x15a560(0xc5)]()[_0x15a560(0x72)](),PerformanceTester[_0x15a560(0xf4)](PerformanceEvents[_0x15a560(0xcd)]);}};try{const browserstackFolderPath=path['join'](helper[a60_0x21932d(0xac)](),a60_0x21932d(0xf1));if(fs['existsSync'](browserstackFolderPath)){const filePath=path['join'](browserstackFolderPath,'.local-not-set.json');fs[a60_0x21932d(0xc1)](filePath)&&fs[a60_0x21932d(0xce)](filePath);}}catch(a60_0x27b200){logger[a60_0x21932d(0xd1)](a60_0x21932d(0x10f)+a60_0x27b200[a60_0x21932d(0xa7)]);}process[a60_0x21932d(0xaa)]['includes'](a60_0x21932d(0x8f))&&(!process['argv']['includes'](a60_0x21932d(0xc7))&&process['argv'][a60_0x21932d(0x7f)](a60_0x21932d(0xe8)),!process[a60_0x21932d(0xaa)]['find'](_0x2c4738=>_0x2c4738['includes'](a60_0x21932d(0xb9)))&&process['argv'][a60_0x21932d(0x7f)](a60_0x21932d(0xf3)),!process['argv']['includes'](a60_0x21932d(0x10c))&&process[a60_0x21932d(0xaa)][a60_0x21932d(0x7f)](a60_0x21932d(0x98)),helper['findAndReplace'](process['argv'],a60_0x21932d(0xcc),'--mochaRequire'));PerformanceTester[a60_0x21932d(0xf4)](PerformanceEvents[a60_0x21932d(0x76)]);const a60_0x4a49fc={};a60_0x4a49fc[a60_0x21932d(0xea)]=![];const argv=yargs[a60_0x21932d(0x95)](a60_0x4a49fc)['usage'](a60_0x21932d(0xe3))['alias']('v','version')[a60_0x21932d(0xfd)]('v')[a60_0x21932d(0xc2)]('h',a60_0x21932d(0xbb))[a60_0x21932d(0xbb)](a60_0x21932d(0xbb))[a60_0x21932d(0x6f)](!![],Constants[a60_0x21932d(0xda)]['HELP'])[a60_0x21932d(0xeb)](a60_0x21932d(0xf9),Constants[a60_0x21932d(0xb6)]['INFO'],function(_0x657680){const _0x593063=a60_0x21932d,_0x31c24c={'hoWPc':_0x593063(0xf9),'qzmeJ':function(_0x4a103e,_0x5e36e0,_0x561c94,_0x4cdf53,_0x2cee91,_0xc09382){return _0x4a103e(_0x5e36e0,_0x561c94,_0x4cdf53,_0x2cee91,_0xc09382);},'EuCMg':function(_0x442689,_0x1fc458){return _0x442689(_0x1fc458);},'IrCIx':'./jest/command'},_0x1a29ce=process['argv'][_0x593063(0xd6)](0x2);helper[_0x593063(0xdb)](),helper[_0x593063(0x89)](),_0x657680[_0x593063(0x9c)](![]);const _0x13183f=new BrowserStackSetup(_0x657680[_0x593063(0xaa)],_0x31c24c['hoWPc']);return _0x31c24c[_0x593063(0xca)](captureError,_0x31c24c[_0x593063(0xc4)](require,_0x31c24c[_0x593063(0x7b)]),_0x657680[_0x593063(0xaa)],_0x13183f,_0x1a29ce,!![]);})[a60_0x21932d(0xeb)]('jasmine',Constants['JASMINE'][a60_0x21932d(0xed)],function(_0x29d764){const _0x45fb99=a60_0x21932d,_0x2ca052={'mHBgR':_0x45fb99(0xff),'zKntn':function(_0x4e483e,_0x5533da,_0x5cba36,_0x111f2d,_0x5de9a2,_0x245f4a){return _0x4e483e(_0x5533da,_0x5cba36,_0x111f2d,_0x5de9a2,_0x245f4a);},'fXqUL':function(_0x463c44,_0x276ce4){return _0x463c44(_0x276ce4);},'thqnn':'./jasmine/command'},_0x40358a=process[_0x45fb99(0xaa)][_0x45fb99(0xd6)](0x2);helper[_0x45fb99(0xdb)](),helper[_0x45fb99(0x89)](),_0x29d764[_0x45fb99(0x9c)](![]);const _0x34712b=new BrowserStackSetup(_0x29d764[_0x45fb99(0xaa)],_0x2ca052['mHBgR']);return _0x2ca052[_0x45fb99(0xe7)](captureError,_0x2ca052[_0x45fb99(0x9b)](require,_0x2ca052['thqnn']),_0x29d764[_0x45fb99(0xaa)],_0x34712b,_0x40358a,!![]);})[a60_0x21932d(0xeb)](a60_0x21932d(0x8f),Constants[a60_0x21932d(0xf6)]['INFO'],_0x398eb7=>{const _0x16ea6f=a60_0x21932d,_0x4abd70={'uJbWQ':function(_0x482fba,_0x4a2b62,_0x323fd4,_0x337f9e){return _0x482fba(_0x4a2b62,_0x323fd4,_0x337f9e);},'xPSpg':function(_0x2fc8bb,_0x3dbac7){return _0x2fc8bb(_0x3dbac7);},'ERKQC':'./mocha/command','atFgH':'mocha','AOttM':'Parsing\x20command\x20line\x20arguments','altbf':function(_0x358e17,_0x117cef,_0xded0ba){return _0x358e17(_0x117cef,_0xded0ba);},'FxSVd':_0x16ea6f(0x103),'skjIA':function(_0x399c22,_0x1fc3b6,_0x350e88){return _0x399c22(_0x1fc3b6,_0x350e88);},'qTizf':_0x16ea6f(0xad),'pJyFT':_0x16ea6f(0x87),'QsUjO':function(_0x4303d1){return _0x4303d1();}};process[_0x16ea6f(0xaa)]=process[_0x16ea6f(0xaa)][_0x16ea6f(0xd6)](0x1),helper[_0x16ea6f(0xdb)](),helper['setBrowserStackAutomationDisable']();const _0x3148bc=new BrowserStackSetup(_0x398eb7[_0x16ea6f(0xaa)],_0x4abd70[_0x16ea6f(0x85)]);logger[_0x16ea6f(0xd1)](_0x4abd70[_0x16ea6f(0xfa)]);const _0x39a25f=_0x4abd70[_0x16ea6f(0xb1)](requireModule,_0x4abd70[_0x16ea6f(0xd2)],_0x4abd70[_0x16ea6f(0x85)]),_0xc86054=_0x4abd70['skjIA'](requireModule,_0x4abd70[_0x16ea6f(0x77)],_0x4abd70[_0x16ea6f(0x85)]);delete _0x39a25f['handler'],_0x39a25f[_0x16ea6f(0xd3)]=function(_0x5a19f3){const _0x3c247b=_0x16ea6f;return _0x4abd70[_0x3c247b(0xba)](captureError,_0x4abd70[_0x3c247b(0xb3)](require,_0x4abd70['ERKQC']),_0x5a19f3,_0x3148bc);},_0xc86054['run']=_0x39a25f;const {main:_0x4e0cca}=_0x4abd70[_0x16ea6f(0xb1)](requireModule,_0x4abd70[_0x16ea6f(0x114)],_0x4abd70[_0x16ea6f(0x85)]);_0x4abd70[_0x16ea6f(0x92)](_0x4e0cca);})['command'](a60_0x21932d(0x82),Constants[a60_0x21932d(0x6c)]['INFO'],function(_0x18ced9){const _0x570688=a60_0x21932d,_0x143e97={'JHiSK':_0x570688(0x82),'hicPe':function(_0x59c42d,_0x56d066,_0x2a80aa,_0x5de869,_0x48133c,_0x215c8f){return _0x59c42d(_0x56d066,_0x2a80aa,_0x5de869,_0x48133c,_0x215c8f);},'JtXij':function(_0x49b918,_0x560a33){return _0x49b918(_0x560a33);},'mTkbJ':_0x570688(0xa3)},_0x3cd1d4=process[_0x570688(0xaa)]['slice'](0x2),_0x399514=new BrowserStackSetup(_0x18ced9[_0x570688(0xaa)],_0x143e97[_0x570688(0xfc)]);return _0x143e97['hicPe'](captureError,_0x143e97[_0x570688(0x8c)](require,_0x143e97[_0x570688(0xd8)]),_0x18ced9[_0x570688(0xaa)],_0x399514,_0x3cd1d4,!![]);})[a60_0x21932d(0xeb)](a60_0x21932d(0xbf),Constants[a60_0x21932d(0x79)][a60_0x21932d(0xed)],function(_0x595ad6){const _0xa9f103=a60_0x21932d,_0x2b1771={'OjuNn':_0xa9f103(0x8d),'VUehA':function(_0x5f92df,_0x1a9356){return _0x5f92df(_0x1a9356);},'KGctS':'newman','xHMBC':function(_0xe526ca,_0x285066,_0x55902e,_0x2a2043,_0x348d9f){return _0xe526ca(_0x285066,_0x55902e,_0x2a2043,_0x348d9f);},'KOnmM':function(_0x2c1836,_0x32ee87){return _0x2c1836(_0x32ee87);},'vaWYX':'./newman/command','akLrK':function(_0x26eb61,_0x59a5ed,_0x5d46c9,_0x45e9ac,_0x4e0ec7){return _0x26eb61(_0x59a5ed,_0x5d46c9,_0x45e9ac,_0x4e0ec7);},'iPsyt':function(_0x527712,_0x25fa0c){return _0x527712(_0x25fa0c);},'uIaBk':_0xa9f103(0xf2)},_0x4db237=process[_0xa9f103(0xaa)][_0xa9f103(0xd6)](0x2),_0xc4ac65=new BrowserStackSetup(_0x595ad6[_0xa9f103(0xaa)],_0x2b1771[_0xa9f103(0x7d)]),_0x408bad=_0xc4ac65?_0xc4ac65[_0xa9f103(0x73)]:null;if(_0x2b1771['VUehA'](isNewman,_0x408bad))return _0xc4ac65[_0xa9f103(0x86)]=_0x2b1771[_0xa9f103(0xae)],global['framework']=_0x2b1771[_0xa9f103(0xae)],_0x2b1771[_0xa9f103(0xa4)](captureError,_0x2b1771[_0xa9f103(0x7c)](require,_0x2b1771[_0xa9f103(0x97)]),_0x595ad6[_0xa9f103(0xaa)],_0xc4ac65,_0x4db237);return _0x2b1771[_0xa9f103(0x113)](captureError,_0x2b1771['iPsyt'](require,_0x2b1771[_0xa9f103(0xdc)]),_0x595ad6['argv'],_0xc4ac65,_0x4db237);})['command'](a60_0x21932d(0x74),Constants['NIGHTWATCH']['INFO'],function(_0xd261bb){const _0x672e9c=a60_0x21932d,_0x2dea16={'mHFCT':_0x672e9c(0x74),'kepWN':function(_0x1f3209,_0x1368dd,_0x80920c,_0x21fd30,_0x2ce5ab){return _0x1f3209(_0x1368dd,_0x80920c,_0x21fd30,_0x2ce5ab);},'jbJcu':function(_0x66be17,_0x133a9d){return _0x66be17(_0x133a9d);},'ZApll':_0x672e9c(0xe6)},_0x320ada=process[_0x672e9c(0xaa)][_0x672e9c(0xd6)](0x2),_0x212132=new BrowserStackSetup(_0xd261bb[_0x672e9c(0xaa)],_0x2dea16[_0x672e9c(0x70)]);return _0x2dea16[_0x672e9c(0x10b)](captureError,_0x2dea16[_0x672e9c(0x83)](require,_0x2dea16['ZApll']),_0xd261bb['argv'],_0x212132,_0x320ada);})['command'](a60_0x21932d(0x107),Constants[a60_0x21932d(0xe5)][a60_0x21932d(0xed)],function(_0x400b6a){const _0x41185c=a60_0x21932d,_0x144171={'UeWPe':_0x41185c(0x107),'TwpQX':function(_0x34e1cc,_0x24df09,_0x1178e8,_0x35969f,_0x4210bd){return _0x34e1cc(_0x24df09,_0x1178e8,_0x35969f,_0x4210bd);},'ySKAq':function(_0x17579c,_0x98af50){return _0x17579c(_0x98af50);},'FUMsG':_0x41185c(0x111)},_0x30ef97=process[_0x41185c(0xaa)]['slice'](0x2),_0x19cc92=new BrowserStackSetup(_0x400b6a[_0x41185c(0xaa)],_0x144171[_0x41185c(0x102)]);return _0x144171['TwpQX'](captureError,_0x144171['ySKAq'](require,_0x144171[_0x41185c(0x78)]),_0x400b6a[_0x41185c(0xaa)],_0x19cc92,_0x30ef97);})['command'](a60_0x21932d(0x6b),Constants['HST']['INFO'],function(_0xf06c20){const _0x464828=a60_0x21932d,_0x4f665d={'INCZS':function(_0x31c108,_0x3e6d5e,_0x27cdfa){return _0x31c108(_0x3e6d5e,_0x27cdfa);},'btpZK':function(_0x3753dc,_0x2988d1){return _0x3753dc(_0x2988d1);},'BjRTf':'../../ats/src/index'},_0x399de8=process[_0x464828(0xaa)]['slice'](0x2);return _0x4f665d[_0x464828(0xee)](captureError,_0x4f665d[_0x464828(0x100)](require,_0x4f665d[_0x464828(0x81)]),_0xf06c20);})['command'](a60_0x21932d(0x109),Constants[a60_0x21932d(0x6d)][a60_0x21932d(0xed)],function(_0x8a2970){const _0x28a13d={'bEaTx':function(_0x16c6b4,_0x2e2710){return _0x16c6b4(_0x2e2710);}};return _0x28a13d['bEaTx'](runIntegrations,_0x8a2970);})[a60_0x21932d(0xeb)](a60_0x21932d(0xa0),Constants[a60_0x21932d(0x75)]['INFO'],function(_0x113d60){const _0x4a5662=a60_0x21932d,_0x3b9830={'zJBiw':_0x4a5662(0x110),'oFXMq':function(_0x932fdc,_0x16e8da){return _0x932fdc&&_0x16e8da;},'KixRM':function(_0x3cc879,_0x34db43,_0x367b4a,_0x1a9f4d,_0x27a27f,_0x128fa7){return _0x3cc879(_0x34db43,_0x367b4a,_0x1a9f4d,_0x27a27f,_0x128fa7);},'xZtBC':function(_0x501c4a,_0x44d2c3){return _0x501c4a(_0x44d2c3);},'gAMov':'./playwright/command'},_0x510790=process['argv'][_0x4a5662(0xd6)](0x2);helper[_0x4a5662(0x80)](process['argv'])&&(process[_0x4a5662(0x10a)][_0x4a5662(0x8b)]=helper['getConfigPath'](process['argv']));helper[_0x4a5662(0xdb)](),helper[_0x4a5662(0x89)]();const _0x5c3b6b=new BrowserStackSetup(_0x113d60[_0x4a5662(0xaa)],FRAMEWORKS[_0x4a5662(0x75)]);try{if(!_0x5c3b6b[_0x4a5662(0x73)]||!_0x5c3b6b[_0x4a5662(0x73)][_0x4a5662(0xb4)]){const _0x3519db=_0x3b9830[_0x4a5662(0xf0)],_0x168f90=process[_0x4a5662(0x10a)][_0x4a5662(0x93)]||'',_0x5afd4a=_0x168f90[_0x4a5662(0xa5)](',')[_0x4a5662(0xfb)](_0x535238=>_0x535238[_0x4a5662(0x8e)]())[_0x4a5662(0xde)](Boolean),_0x56a47c=_0x5afd4a[_0x4a5662(0xf5)](_0x1dfd29=>_0x1dfd29==='-pw:channel'||_0x1dfd29==='-pw:*'||_0x1dfd29==='-*'),_0x1d958e=_0x5afd4a['some'](_0x225276=>_0x225276===_0x3519db||_0x225276===_0x4a5662(0xec)||_0x225276==='*');if(_0x3b9830[_0x4a5662(0x7a)](!_0x56a47c,!_0x1d958e)){const _0x361f55=helper[_0x4a5662(0xb0)]();_0x361f55&&(process[_0x4a5662(0x10a)]['DEBUG']=_0x168f90?_0x168f90+','+_0x3519db:_0x3519db,!process[_0x4a5662(0x10a)][_0x4a5662(0xa1)]&&(process[_0x4a5662(0x10a)][_0x4a5662(0xa1)]=_0x361f55));}}}catch(_0x2808a9){logger[_0x4a5662(0xd1)](_0x4a5662(0x88)+util[_0x4a5662(0xc9)](_0x2808a9));}return _0x3b9830[_0x4a5662(0x106)](captureError,_0x3b9830[_0x4a5662(0x112)](require,_0x3b9830['gAMov']),_0x113d60[_0x4a5662(0xaa)],_0x5c3b6b,_0x510790,!![]);})['command']('testcafe',Constants[a60_0x21932d(0x91)][a60_0x21932d(0xed)],function(_0xac42a0){const _0x2c6adc=a60_0x21932d,_0x26bf83={'rJQEI':_0x2c6adc(0x101),'IwuwN':function(_0x22e2c3,_0xf2ac03,_0x29f5dd,_0x397bf0,_0x327413,_0x4e32b9){return _0x22e2c3(_0xf2ac03,_0x29f5dd,_0x397bf0,_0x327413,_0x4e32b9);},'sfevT':function(_0xe0ecf8,_0x56b4b6){return _0xe0ecf8(_0x56b4b6);},'iwRAQ':_0x2c6adc(0xfe)},_0x3ab12d=process['argv'][_0x2c6adc(0xd6)](0x2),_0x36a8d9=new BrowserStackSetup(_0xac42a0['argv'],_0x26bf83[_0x2c6adc(0xbd)]);return _0x26bf83[_0x2c6adc(0xb2)](captureError,_0x26bf83['sfevT'](require,_0x26bf83['iwRAQ']),_0xac42a0[_0x2c6adc(0xaa)],_0x36a8d9,_0x3ab12d,!![]);})[a60_0x21932d(0xeb)](a60_0x21932d(0xf8),'Runs\x20the\x20binary\x20with\x20load\x20command',function(_0x44b945){const _0x450e98=a60_0x21932d,_0x3d56b7={};_0x3d56b7[_0x450e98(0x105)]='help',_0x3d56b7[_0x450e98(0xef)]=_0x450e98(0xbe),_0x3d56b7[_0x450e98(0xf7)]=_0x450e98(0xe0);const _0x2546c3=_0x3d56b7;return _0x44b945[_0x450e98(0xbb)](![])[_0x450e98(0xe2)](_0x2546c3[_0x450e98(0x105)],{'alias':'h','type':_0x2546c3[_0x450e98(0xef)],'describe':_0x2546c3[_0x450e98(0xf7)]})[_0x450e98(0x9c)](![])[_0x450e98(0x7e)](![]);},function(_0x511650){const _0x1aec6a=a60_0x21932d,_0x158189={'syldK':function(_0xcee2e1,_0x12898c,_0x490f07){return _0xcee2e1(_0x12898c,_0x490f07);},'IPSRa':function(_0x3b9660,_0x27485b){return _0x3b9660(_0x27485b);},'hFYYg':'./load/index'},_0x3dc955={};return _0x3dc955[_0x1aec6a(0xaa)]=_0x511650,_0x158189[_0x1aec6a(0x8a)](captureError,_0x158189[_0x1aec6a(0xa9)](require,_0x158189[_0x1aec6a(0xc8)]),_0x3dc955);})[a60_0x21932d(0xeb)](a60_0x21932d(0xb8),Constants[a60_0x21932d(0xd5)][a60_0x21932d(0xed)],function(_0x5c2552){const _0x3d00b2=a60_0x21932d,_0x2d50a8={'hMAel':_0x3d00b2(0xb8),'aFMYa':function(_0x2bd8c8,_0x599658,_0x3372ba,_0x115e0d,_0x22f957){return _0x2bd8c8(_0x599658,_0x3372ba,_0x115e0d,_0x22f957);},'siGAN':function(_0x455742,_0x3af341){return _0x455742(_0x3af341);},'jfgYt':_0x3d00b2(0x94)},_0x5f2145=process['argv'][_0x3d00b2(0xd6)](0x2);helper[_0x3d00b2(0xdb)](),helper[_0x3d00b2(0x89)](),_0x5c2552[_0x3d00b2(0x9c)](![]);const _0x3e8afd=new BrowserStackSetup(_0x5c2552[_0x3d00b2(0xaa)],_0x2d50a8[_0x3d00b2(0x84)]);return _0x2d50a8['aFMYa'](captureError,_0x2d50a8['siGAN'](require,_0x2d50a8['jfgYt']),_0x5c2552[_0x3d00b2(0xaa)],_0x3e8afd,_0x5f2145);})[a60_0x21932d(0xa6)](0x1,'You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.')[a60_0x21932d(0x10e)](null)['argv'];function a60_0x5b9d(_0x1fee22,_0x34a906){const _0x1218b5=a60_0x1218();return a60_0x5b9d=function(_0x5b9da6,_0x49c880){_0x5b9da6=_0x5b9da6-0x6b;let _0x170133=_0x1218b5[_0x5b9da6];return _0x170133;},a60_0x5b9d(_0x1fee22,_0x34a906);}!helper[a60_0x21932d(0x6e)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!=='ats'&&console[a60_0x21932d(0xc6)](a60_0x21932d(0x104));
2
+ 'use strict';const a60_0x362c83=a60_0xba71;(function(_0x3e1455,_0xb3415f){const _0x3dbc7f=a60_0xba71,_0x299a31=_0x3e1455();while(!![]){try{const _0xcfd127=parseInt(_0x3dbc7f(0x14e))/0x1*(parseInt(_0x3dbc7f(0xf0))/0x2)+parseInt(_0x3dbc7f(0x129))/0x3+-parseInt(_0x3dbc7f(0x11f))/0x4*(-parseInt(_0x3dbc7f(0x109))/0x5)+parseInt(_0x3dbc7f(0x12e))/0x6+parseInt(_0x3dbc7f(0x167))/0x7+parseInt(_0x3dbc7f(0x13e))/0x8*(-parseInt(_0x3dbc7f(0x102))/0x9)+-parseInt(_0x3dbc7f(0xd1))/0xa*(parseInt(_0x3dbc7f(0x104))/0xb);if(_0xcfd127===_0xb3415f)break;else _0x299a31['push'](_0x299a31['shift']());}catch(_0x574c34){_0x299a31['push'](_0x299a31['shift']());}}}(a60_0x11d2,0xb42da));const fs=require('fs'),path=require(a60_0x362c83(0xbb)),util=require(a60_0x362c83(0x15f)),spawn=require(a60_0x362c83(0xc9))[a60_0x362c83(0x12b)],{requireModule}=require(a60_0x362c83(0xef)),PerformanceTester=require(a60_0x362c83(0xc6)),PerformanceEvents=require(a60_0x362c83(0xf8))[a60_0x362c83(0x125)],helper=require(a60_0x362c83(0xef)),utilities=require('../helpers/utilities'),{default:BrowserStackSetup}=require(a60_0x362c83(0x163)),{FRAMEWORKS}=require(a60_0x362c83(0x103)),runIntegrations=require('./integrations/command'),yargs=require(a60_0x362c83(0xbe)),Constants=require(a60_0x362c83(0x12f)),BrowserstackCLI=require(a60_0x362c83(0x16b)),{isNewman}=require('./newman/helper'),logger=require(a60_0x362c83(0xc5))['winstonLogger'],origArgs=Object['assign']([],process[a60_0x362c83(0x113)]),captureError=async(_0x3f06d8,_0xd92d09,_0x935833,_0x5005a9=null,_0x123293=![])=>{const _0x34489f=a60_0x362c83,_0x16e6c3={'oeKJi':function(_0x2dc4d6,_0x1f0843,_0x489c4d,_0x5cf3b0){return _0x2dc4d6(_0x1f0843,_0x489c4d,_0x5cf3b0);},'owxXk':_0x34489f(0x137),'aUQmG':function(_0x8b884e,_0x17f7de){return _0x8b884e&&_0x17f7de;}};let _0x409250=![];try{logger['info']('Running\x20SDK\x20with\x20args\x20'+origArgs[_0x34489f(0x10f)]('\x20')),await _0x16e6c3[_0x34489f(0x119)](_0x3f06d8,_0xd92d09,_0x5005a9,_0x935833);}catch(_0x529147){process[_0x34489f(0x100)]=0x1,logger['error'](util[_0x34489f(0x11d)](_0x529147));const _0x3c9d86={'globalException':util[_0x34489f(0x11d)]('%j',_0x529147)};PerformanceTester['end'](PerformanceEvents['SDK_SETUP'],![],util[_0x34489f(0x11d)](_0x529147));if(helper[_0x34489f(0xfb)](global['config'])&&helper[_0x34489f(0xfb)](global[_0x34489f(0x140)]))return;try{utilities[_0x34489f(0xd9)](_0x16e6c3['owxXk'],_0x3c9d86,global[_0x34489f(0xe4)],global[_0x34489f(0x140)]);}catch(_0x49e4fb){logger['debug'](_0x34489f(0x120)+_0x49e4fb[_0x34489f(0x14c)]);}if(!_0x123293)try{await BrowserstackCLI[_0x34489f(0x13c)]()[_0x34489f(0x12a)](),_0x409250=!![];}catch(_0x5d07fc){logger[_0x34489f(0x10c)](_0x34489f(0x168)+_0x5d07fc['stack']);}try{await helper['sendLogs'](global[_0x34489f(0xe4)]);}catch(_0x1b7b66){logger[_0x34489f(0x10c)](_0x34489f(0x11b)+_0x1b7b66[_0x34489f(0x14c)]);}PerformanceTester[_0x34489f(0xf4)](PerformanceEvents['SDK_SETUP'],![],util['format'](_0x529147));}finally{_0x16e6c3[_0x34489f(0x10a)](!_0x123293,!_0x409250)&&await BrowserstackCLI[_0x34489f(0x13c)]()[_0x34489f(0x12a)](),PerformanceTester[_0x34489f(0x151)](PerformanceEvents['SDK_CLEANUP']);}};function a60_0xba71(_0x35a68d,_0x23afdd){const _0x11d29e=a60_0x11d2();return a60_0xba71=function(_0xba715a,_0xd05107){_0xba715a=_0xba715a-0xb7;let _0x4ea9c3=_0x11d29e[_0xba715a];return _0x4ea9c3;},a60_0xba71(_0x35a68d,_0x23afdd);}try{const browserstackFolderPath=path[a60_0x362c83(0x10f)](helper[a60_0x362c83(0xcb)](),a60_0x362c83(0xf5));if(fs[a60_0x362c83(0xe9)](browserstackFolderPath)){const filePath=path[a60_0x362c83(0x10f)](browserstackFolderPath,a60_0x362c83(0xd0));fs[a60_0x362c83(0xe9)](filePath)&&fs[a60_0x362c83(0x157)](filePath);}}catch(a60_0x442d70){logger[a60_0x362c83(0x10c)](a60_0x362c83(0xd4)+a60_0x442d70['message']);}process['argv'][a60_0x362c83(0x15c)]('mocha')&&(!process[a60_0x362c83(0x113)][a60_0x362c83(0x15c)]('--opts')&&process[a60_0x362c83(0x113)][a60_0x362c83(0x162)](a60_0x362c83(0xb9)),!process[a60_0x362c83(0x113)][a60_0x362c83(0x142)](_0x6b6e62=>_0x6b6e62['includes'](a60_0x362c83(0xe7)))&&process[a60_0x362c83(0x113)][a60_0x362c83(0x162)](a60_0x362c83(0xeb)),!process['argv'][a60_0x362c83(0x15c)]('--package')&&process[a60_0x362c83(0x113)][a60_0x362c83(0x162)](a60_0x362c83(0xb7)),helper[a60_0x362c83(0x153)](process['argv'],a60_0x362c83(0xfd),a60_0x362c83(0x16a)));PerformanceTester[a60_0x362c83(0x151)](PerformanceEvents[a60_0x362c83(0xfa)]);const a60_0x2570e7={};a60_0x2570e7[a60_0x362c83(0x107)]=![];function a60_0x11d2(){const _0x35c07f=['./utils/constants','./mocha/command','help','disableAutoCaptureLogs','./codeceptjs/command','handler','nqTSy','UCcwT','SDKTestSuccessful','HST','dkkUD','slice','ZStZp','getInstance','MOCHA','366056ASCMyX','KCFHe','framework','option','find','WgSYH','getConfigPath','Runs\x20the\x20binary\x20with\x20load\x20command','jest','playwright','INFO','./vanilla-js/command','opbbP','setTestObservabilityDisable','stack','yUWtG','7921siaJMi','BROWSERSTACK_CONFIG_FILE_PATH','nightwatch','start','uIrsj','findAndReplace','nLqgq','HAQQK','vfBfS','unlinkSync','CUCUMBER','OIsQs','usage','JMJGu','includes','./testcafe/command','JASMINE','util','./jasmine/command','JuqBa','push','../helpers/BrowserStackSetup','setBrowserStackAutomationDisable','./jest/command','kPhMJ','3284477oPoLYF','Error\x20stopping\x20CLI\x20before\x20log\x20archive.\x20Stacktrace:\x20','xzCxG','--mochaRequire','./v2/browserstackCLI','maTax','--no-package','UMFyL','--no-opts','filter','path','describe','./cucumber-js/command','yargs','env','KmNhD','UqvEB','WWYmd','run','Parsing\x20command\x20line\x20arguments','../helpers/logger','../helpers/performance/performance-tester','./newman/command','alias','child_process','mocha','homedir','rDATO','exitProcess','getPwChannelLogPath','VGhsR','.local-not-set.json','3457570hptqEC','CODECEPTJS','zZqGk','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','OWFOQ','VANILLA','./playwright/command','kuiCx','fireFunnelTestEvent','showHelpOnFail','rJQdM','error','JxruE','GpGav','DEBUG','../../ats/src/index','strict','ats','Udzde','config','node','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','--config','WBEfK','existsSync','GqYKo','--no-config','PLAYWRIGHT','testcafe','EnQae','../helpers/helper','48fNDhVS','Show\x20help','integrations','HELP','end','.browserstack','MYNzf','qlFVf','../helpers/performance/constants','mocha/lib/cli/commands.js','SDK_SETUP','isUndefined','HgRDm','--require','some','version','exitCode','boolean','117nJJRPw','../helpers/test-observability/constants','88aWsDDj','OqsXI','cHSek','dot-notation','TjLiO','6063595IOXbZf','aUQmG','pw:channel\x20auto-capture\x20seed\x20failed:\x20','debug','jasmine','NIGHTWATCH','join','knIjK','-pw:*','hlMWI','argv','tnsYz','FnkTs','koTeO','usage:\x20$0\x20<command>\x20[args]','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','oeKJi','wrap','Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20','./load/index','format','parserConfiguration','4UBFFuU','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','command','newman','WkoUt','yfEvU','EVENTS','TESTCAFE','mocha/lib/cli/run.js','cucumber-js','2652141fjJWIU','stop','spawn','INTEGRATIONS','DEBUG_FILE','8056956RfRWCQ'];a60_0x11d2=function(){return _0x35c07f;};return a60_0x11d2();}const argv=yargs[a60_0x362c83(0x11e)](a60_0x2570e7)[a60_0x362c83(0x15a)](a60_0x362c83(0x117))[a60_0x362c83(0xc8)]('v',a60_0x362c83(0xff))[a60_0x362c83(0xbc)]('v')[a60_0x362c83(0xc8)]('h',a60_0x362c83(0x131))[a60_0x362c83(0x131)]('help')[a60_0x362c83(0xda)](!![],Constants['VERSION'][a60_0x362c83(0xf3)])[a60_0x362c83(0x121)]('jest',Constants['JEST'][a60_0x362c83(0x148)],function(_0x2d9371){const _0x65d05e=a60_0x362c83,_0x2d8d36={'rJQdM':_0x65d05e(0x146),'wzKke':function(_0x2ef4ba,_0x5780a9,_0x2ef060,_0x54e093,_0x3e6be0,_0xfd1a12){return _0x2ef4ba(_0x5780a9,_0x2ef060,_0x54e093,_0x3e6be0,_0xfd1a12);},'JMJGu':function(_0x16fd76,_0x555ac4){return _0x16fd76(_0x555ac4);},'GqYKo':_0x65d05e(0x165)},_0x53e682=process[_0x65d05e(0x113)][_0x65d05e(0x13a)](0x2);helper['setTestObservabilityDisable'](),helper[_0x65d05e(0x164)](),_0x2d9371[_0x65d05e(0xe1)](![]);const _0x48a812=new BrowserStackSetup(_0x2d9371[_0x65d05e(0x113)],_0x2d8d36[_0x65d05e(0xdb)]);return _0x2d8d36['wzKke'](captureError,_0x2d8d36[_0x65d05e(0x15b)](require,_0x2d8d36[_0x65d05e(0xea)]),_0x2d9371[_0x65d05e(0x113)],_0x48a812,_0x53e682,!![]);})[a60_0x362c83(0x121)](a60_0x362c83(0x10d),Constants[a60_0x362c83(0x15e)][a60_0x362c83(0x148)],function(_0x9b3562){const _0x25d09c=a60_0x362c83,_0x520cc8={'OqsXI':_0x25d09c(0x10d),'GpGav':function(_0x2958e1,_0x5ae17d,_0x1f9810,_0x3f4ac7,_0x399c32,_0xbec57c){return _0x2958e1(_0x5ae17d,_0x1f9810,_0x3f4ac7,_0x399c32,_0xbec57c);},'MYNzf':function(_0xc9c511,_0x2e30f0){return _0xc9c511(_0x2e30f0);},'dkkUD':_0x25d09c(0x160)},_0x7b3f71=process[_0x25d09c(0x113)][_0x25d09c(0x13a)](0x2);helper[_0x25d09c(0x14b)](),helper[_0x25d09c(0x164)](),_0x9b3562[_0x25d09c(0xe1)](![]);const _0x5df6be=new BrowserStackSetup(_0x9b3562['argv'],_0x520cc8[_0x25d09c(0x105)]);return _0x520cc8[_0x25d09c(0xde)](captureError,_0x520cc8[_0x25d09c(0xf6)](require,_0x520cc8[_0x25d09c(0x139)]),_0x9b3562['argv'],_0x5df6be,_0x7b3f71,!![]);})[a60_0x362c83(0x121)](a60_0x362c83(0xca),Constants[a60_0x362c83(0x13d)][a60_0x362c83(0x148)],_0x339241=>{const _0x989d7d=a60_0x362c83,_0x25d9f0={'RhZxX':function(_0x139f2e,_0x28f3d8,_0x3cc329,_0x2a34b4){return _0x139f2e(_0x28f3d8,_0x3cc329,_0x2a34b4);},'VGhsR':function(_0x50192f,_0x3a191e){return _0x50192f(_0x3a191e);},'nqTSy':_0x989d7d(0x130),'ZStZp':_0x989d7d(0xca),'kuiCx':_0x989d7d(0xc4),'UqvEB':function(_0x477ec0,_0x2af13b,_0x4af82c){return _0x477ec0(_0x2af13b,_0x4af82c);},'PdBVK':_0x989d7d(0x127),'tnsYz':_0x989d7d(0xf9),'nLqgq':'mocha/lib/cli/cli.js','WBEfK':function(_0x4311a0){return _0x4311a0();}};process['argv']=process['argv'][_0x989d7d(0x13a)](0x1),helper[_0x989d7d(0x14b)](),helper[_0x989d7d(0x164)]();const _0x1d78c9=new BrowserStackSetup(_0x339241[_0x989d7d(0x113)],_0x25d9f0[_0x989d7d(0x13b)]);logger['debug'](_0x25d9f0[_0x989d7d(0xd8)]);const _0x36eae5=_0x25d9f0[_0x989d7d(0xc1)](requireModule,_0x25d9f0['PdBVK'],_0x25d9f0[_0x989d7d(0x13b)]),_0x4bd5b1=_0x25d9f0['UqvEB'](requireModule,_0x25d9f0[_0x989d7d(0x114)],_0x25d9f0[_0x989d7d(0x13b)]);delete _0x36eae5[_0x989d7d(0x134)],_0x36eae5[_0x989d7d(0x134)]=function(_0x5a31ec){const _0x2e27fc=_0x989d7d;return _0x25d9f0['RhZxX'](captureError,_0x25d9f0[_0x2e27fc(0xcf)](require,_0x25d9f0[_0x2e27fc(0x135)]),_0x5a31ec,_0x1d78c9);},_0x4bd5b1[_0x989d7d(0xc3)]=_0x36eae5;const {main:_0x236c6c}=_0x25d9f0['UqvEB'](requireModule,_0x25d9f0[_0x989d7d(0x154)],_0x25d9f0[_0x989d7d(0x13b)]);_0x25d9f0[_0x989d7d(0xe8)](_0x236c6c);})[a60_0x362c83(0x121)](a60_0x362c83(0x128),Constants[a60_0x362c83(0x158)][a60_0x362c83(0x148)],function(_0x3cf10f){const _0x175ea0=a60_0x362c83,_0x3545c7={'JuqBa':'cucumber-js','WkoUt':function(_0x1602ef,_0xe27b3,_0x5f5027,_0x1d27d0,_0x183c5c,_0x35ea33){return _0x1602ef(_0xe27b3,_0x5f5027,_0x1d27d0,_0x183c5c,_0x35ea33);},'EnQae':function(_0x1b6547,_0x58ad41){return _0x1b6547(_0x58ad41);},'nWCmv':_0x175ea0(0xbd)},_0x5ddfbf=process['argv'][_0x175ea0(0x13a)](0x2),_0x5521c8=new BrowserStackSetup(_0x3cf10f[_0x175ea0(0x113)],_0x3545c7[_0x175ea0(0x161)]);return _0x3545c7[_0x175ea0(0x123)](captureError,_0x3545c7[_0x175ea0(0xee)](require,_0x3545c7['nWCmv']),_0x3cf10f[_0x175ea0(0x113)],_0x5521c8,_0x5ddfbf,!![]);})['command'](a60_0x362c83(0xe5),Constants[a60_0x362c83(0xd6)]['INFO'],function(_0x5189b9){const _0xa92b7e=a60_0x362c83,_0xa73096={'UMFyL':'vanilla','UCcwT':function(_0x2ad587,_0x1dfb05){return _0x2ad587(_0x1dfb05);},'vfBfS':'newman','HgRDm':function(_0x1ca56a,_0x2e5070,_0x4e6f1a,_0x5950d2,_0x249179){return _0x1ca56a(_0x2e5070,_0x4e6f1a,_0x5950d2,_0x249179);},'koTeO':_0xa92b7e(0xc7),'maTax':_0xa92b7e(0x149)},_0x53c168=process['argv'][_0xa92b7e(0x13a)](0x2),_0x592bfb=new BrowserStackSetup(_0x5189b9[_0xa92b7e(0x113)],_0xa73096[_0xa92b7e(0xb8)]),_0x3f6436=_0x592bfb?_0x592bfb[_0xa92b7e(0xe4)]:null;if(_0xa73096[_0xa92b7e(0x136)](isNewman,_0x3f6436))return _0x592bfb[_0xa92b7e(0x140)]=_0xa73096[_0xa92b7e(0x156)],global[_0xa92b7e(0x140)]=_0xa73096[_0xa92b7e(0x156)],_0xa73096[_0xa92b7e(0xfc)](captureError,_0xa73096[_0xa92b7e(0x136)](require,_0xa73096[_0xa92b7e(0x116)]),_0x5189b9[_0xa92b7e(0x113)],_0x592bfb,_0x53c168);return _0xa73096[_0xa92b7e(0xfc)](captureError,_0xa73096[_0xa92b7e(0x136)](require,_0xa73096[_0xa92b7e(0x16c)]),_0x5189b9[_0xa92b7e(0x113)],_0x592bfb,_0x53c168);})['command'](a60_0x362c83(0x150),Constants[a60_0x362c83(0x10e)][a60_0x362c83(0x148)],function(_0x1f3162){const _0x22564e=a60_0x362c83,_0x4d1f1={'cHSek':'nightwatch','cHnpA':function(_0x424149,_0x230b10,_0x476ea3,_0x57f75f,_0xda9a60){return _0x424149(_0x230b10,_0x476ea3,_0x57f75f,_0xda9a60);},'zZqGk':function(_0x32d4cb,_0x1e12c9){return _0x32d4cb(_0x1e12c9);},'bLzjV':'./nightwatch/command'},_0x3382f1=process['argv'][_0x22564e(0x13a)](0x2),_0x4e8297=new BrowserStackSetup(_0x1f3162[_0x22564e(0x113)],_0x4d1f1[_0x22564e(0x106)]);return _0x4d1f1['cHnpA'](captureError,_0x4d1f1[_0x22564e(0xd3)](require,_0x4d1f1['bLzjV']),_0x1f3162[_0x22564e(0x113)],_0x4e8297,_0x3382f1);})[a60_0x362c83(0x121)]('codeceptjs',Constants[a60_0x362c83(0xd2)][a60_0x362c83(0x148)],function(_0x12fe26){const _0x168971=a60_0x362c83,_0x49b625={'Udzde':'codeceptjs','ildSm':function(_0x3f5661,_0x560324,_0x5c4b43,_0x1d6581,_0x2ca0d0){return _0x3f5661(_0x560324,_0x5c4b43,_0x1d6581,_0x2ca0d0);},'yfEvU':function(_0x3969aa,_0x2a43f4){return _0x3969aa(_0x2a43f4);},'KmNhD':_0x168971(0x133)},_0x459aef=process[_0x168971(0x113)]['slice'](0x2),_0x2dcd98=new BrowserStackSetup(_0x12fe26[_0x168971(0x113)],_0x49b625[_0x168971(0xe3)]);return _0x49b625['ildSm'](captureError,_0x49b625[_0x168971(0x124)](require,_0x49b625[_0x168971(0xc0)]),_0x12fe26[_0x168971(0x113)],_0x2dcd98,_0x459aef);})['command'](a60_0x362c83(0xe2),Constants[a60_0x362c83(0x138)][a60_0x362c83(0x148)],function(_0x1e3d5d){const _0x393c82=a60_0x362c83,_0x517c36={'fPmdC':function(_0x2b9e88,_0x4c4b04,_0x164376){return _0x2b9e88(_0x4c4b04,_0x164376);},'WgSYH':function(_0xbd8c0,_0x565b5a){return _0xbd8c0(_0x565b5a);},'hlMWI':_0x393c82(0xe0)},_0x3ae3af=process[_0x393c82(0x113)]['slice'](0x2);return _0x517c36['fPmdC'](captureError,_0x517c36[_0x393c82(0x143)](require,_0x517c36[_0x393c82(0x112)]),_0x1e3d5d);})['command'](a60_0x362c83(0xf2),Constants[a60_0x362c83(0x12c)][a60_0x362c83(0x148)],function(_0x370894){const _0x281c79=a60_0x362c83,_0x2dd91e={'JxruE':function(_0x5f43f1,_0x8c29ca){return _0x5f43f1(_0x8c29ca);}};return _0x2dd91e[_0x281c79(0xdd)](runIntegrations,_0x370894);})[a60_0x362c83(0x121)](a60_0x362c83(0x147),Constants[a60_0x362c83(0xec)][a60_0x362c83(0x148)],function(_0x558db6){const _0x3e4841=a60_0x362c83,_0x565b28={'KCFHe':'pw:channel','TjLiO':function(_0xd5ca04,_0x534826){return _0xd5ca04&&_0x534826;},'yUWtG':function(_0x1a8954,_0x3489ea,_0x52327e,_0x7d8aa9,_0x465d6b,_0x67e566){return _0x1a8954(_0x3489ea,_0x52327e,_0x7d8aa9,_0x465d6b,_0x67e566);},'opbbP':function(_0xcb2de5,_0x1bfc81){return _0xcb2de5(_0x1bfc81);},'ZMnWD':_0x3e4841(0xd7)},_0x174fa2=process[_0x3e4841(0x113)][_0x3e4841(0x13a)](0x2);helper[_0x3e4841(0x144)](process[_0x3e4841(0x113)])&&(process[_0x3e4841(0xbf)][_0x3e4841(0x14f)]=helper[_0x3e4841(0x144)](process[_0x3e4841(0x113)]));helper[_0x3e4841(0x14b)](),helper[_0x3e4841(0x164)]();const _0x3b58ba=new BrowserStackSetup(_0x558db6[_0x3e4841(0x113)],FRAMEWORKS[_0x3e4841(0xec)]);try{if(!_0x3b58ba['config']||!_0x3b58ba['config'][_0x3e4841(0x132)]){const _0x5b5519=_0x565b28[_0x3e4841(0x13f)],_0xa73d45=process[_0x3e4841(0xbf)][_0x3e4841(0xdf)]||'',_0x16c393=_0xa73d45['split'](',')['map'](_0xb5ea57=>_0xb5ea57['trim']())[_0x3e4841(0xba)](Boolean),_0x3f3929=_0x16c393[_0x3e4841(0xfe)](_0x10d02f=>_0x10d02f==='-pw:channel'||_0x10d02f===_0x3e4841(0x111)||_0x10d02f==='-*'),_0x2c00d3=_0x16c393['some'](_0x29bad7=>_0x29bad7===_0x5b5519||_0x29bad7==='pw:*'||_0x29bad7==='*');if(_0x565b28[_0x3e4841(0x108)](!_0x3f3929,!_0x2c00d3)){const _0x315da2=helper[_0x3e4841(0xce)]();_0x315da2&&(process['env'][_0x3e4841(0xdf)]=_0xa73d45?_0xa73d45+','+_0x5b5519:_0x5b5519,!process[_0x3e4841(0xbf)][_0x3e4841(0x12d)]&&(process['env'][_0x3e4841(0x12d)]=_0x315da2));}}}catch(_0x3833c8){logger[_0x3e4841(0x10c)](_0x3e4841(0x10b)+util[_0x3e4841(0x11d)](_0x3833c8));}return _0x565b28[_0x3e4841(0x14d)](captureError,_0x565b28[_0x3e4841(0x14a)](require,_0x565b28['ZMnWD']),_0x558db6[_0x3e4841(0x113)],_0x3b58ba,_0x174fa2,!![]);})[a60_0x362c83(0x121)]('testcafe',Constants[a60_0x362c83(0x126)][a60_0x362c83(0x148)],function(_0x20eb49){const _0x17db78=a60_0x362c83,_0x3089fd={'kPhMJ':_0x17db78(0xed),'kqAua':function(_0x530aaf,_0x41dd77,_0x63468f,_0x3d08ee,_0x12a9f7,_0x2f73ee){return _0x530aaf(_0x41dd77,_0x63468f,_0x3d08ee,_0x12a9f7,_0x2f73ee);},'rDATO':function(_0x1c7dc2,_0x229ae5){return _0x1c7dc2(_0x229ae5);},'qlFVf':_0x17db78(0x15d)},_0x553c82=process[_0x17db78(0x113)][_0x17db78(0x13a)](0x2),_0x4c4290=new BrowserStackSetup(_0x20eb49[_0x17db78(0x113)],_0x3089fd[_0x17db78(0x166)]);return _0x3089fd['kqAua'](captureError,_0x3089fd[_0x17db78(0xcc)](require,_0x3089fd[_0x17db78(0xf7)]),_0x20eb49['argv'],_0x4c4290,_0x553c82,!![]);})['command']('load\x20[subcommand]',a60_0x362c83(0x145),function(_0x2210a4){const _0x1e082e=a60_0x362c83,_0x46a6bb={};_0x46a6bb[_0x1e082e(0xd5)]=_0x1e082e(0x131),_0x46a6bb[_0x1e082e(0x159)]=_0x1e082e(0x101),_0x46a6bb['uIrsj']=_0x1e082e(0xf1);const _0x1affc8=_0x46a6bb;return _0x2210a4[_0x1e082e(0x131)](![])[_0x1e082e(0x141)](_0x1affc8[_0x1e082e(0xd5)],{'alias':'h','type':_0x1affc8[_0x1e082e(0x159)],'describe':_0x1affc8[_0x1e082e(0x152)]})['strict'](![])[_0x1e082e(0xcd)](![]);},function(_0x41717b){const _0x17260b=a60_0x362c83,_0xb51e3={'knIjK':function(_0x1ade18,_0x1bee88,_0x392353){return _0x1ade18(_0x1bee88,_0x392353);},'HAQQK':function(_0x56e1e5,_0x6e8e3d){return _0x56e1e5(_0x6e8e3d);},'xzCxG':_0x17260b(0x11c)},_0x39e7a2={};return _0x39e7a2[_0x17260b(0x113)]=_0x41717b,_0xb51e3[_0x17260b(0x110)](captureError,_0xb51e3[_0x17260b(0x155)](require,_0xb51e3[_0x17260b(0x169)]),_0x39e7a2);})[a60_0x362c83(0x121)](a60_0x362c83(0x122),Constants['NEWMAN'][a60_0x362c83(0x148)],function(_0x206c19){const _0x492b02=a60_0x362c83,_0x5e9089={'ytKus':_0x492b02(0x122),'FnkTs':function(_0x24a15c,_0x49e640,_0x354084,_0x3297ba,_0x10b24e){return _0x24a15c(_0x49e640,_0x354084,_0x3297ba,_0x10b24e);},'pyDXs':function(_0x5bd6e2,_0x517cb0){return _0x5bd6e2(_0x517cb0);},'WWYmd':_0x492b02(0xc7)},_0x1f8db0=process[_0x492b02(0x113)]['slice'](0x2);helper['setTestObservabilityDisable'](),helper[_0x492b02(0x164)](),_0x206c19[_0x492b02(0xe1)](![]);const _0x353557=new BrowserStackSetup(_0x206c19[_0x492b02(0x113)],_0x5e9089['ytKus']);return _0x5e9089[_0x492b02(0x115)](captureError,_0x5e9089['pyDXs'](require,_0x5e9089[_0x492b02(0xc2)]),_0x206c19['argv'],_0x353557,_0x1f8db0);})['demandCommand'](0x1,a60_0x362c83(0xe6))[a60_0x362c83(0x11a)](null)['argv'];!helper[a60_0x362c83(0xfb)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a60_0x362c83(0xe2)&&console[a60_0x362c83(0xdc)](a60_0x362c83(0x118));