browserstack-node-sdk 1.69.0 → 1.70.1

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 (223) 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/detox/a11ySetup.js +1 -1
  53. package/src/bin/detox/command.js +1 -1
  54. package/src/bin/detox/modifyDetoxConf.js +1 -1
  55. package/src/bin/detox/traEmitter.js +1 -1
  56. package/src/bin/integrations/command.js +1 -1
  57. package/src/bin/integrations/constants.js +1 -1
  58. package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
  59. package/src/bin/jasmine/command.js +1 -1
  60. package/src/bin/jasmine/test.setup.js +1 -1
  61. package/src/bin/jasmine/testRunMap.js +1 -1
  62. package/src/bin/jest/command.js +1 -1
  63. package/src/bin/jest/customImplements/customCircus.js +1 -1
  64. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  65. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  66. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  67. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  68. package/src/bin/jest/jest.setup.js +1 -1
  69. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  70. package/src/bin/jest/test-observability/helper.js +1 -1
  71. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  72. package/src/bin/jest/test-observability/test-details.js +1 -1
  73. package/src/bin/jest/test.setup.js +1 -1
  74. package/src/bin/jest/test_before.setup.js +1 -1
  75. package/src/bin/launcher/launcher.js +1 -1
  76. package/src/bin/load/index.js +1 -1
  77. package/src/bin/load/loadErrors.js +1 -1
  78. package/src/bin/load/loadUtils.js +1 -1
  79. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  80. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  81. package/src/bin/mocha/command.js +1 -1
  82. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  83. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  84. package/src/bin/mocha/test.setup.js +1 -1
  85. package/src/bin/newman/command.js +1 -1
  86. package/src/bin/newman/helper.js +1 -1
  87. package/src/bin/newman/reporter/index.js +1 -1
  88. package/src/bin/newman/scriptRunner.js +1 -1
  89. package/src/bin/nightwatch/command.js +1 -1
  90. package/src/bin/node-generic/client.js +1 -1
  91. package/src/bin/playwright/accessibility-helper.js +1 -1
  92. package/src/bin/playwright/command.js +1 -1
  93. package/src/bin/playwright/globalSetup.js +1 -1
  94. package/src/bin/playwright/mock-process.js +1 -1
  95. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  96. package/src/bin/playwright/patches.js +1 -1
  97. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  98. package/src/bin/playwright/reporter/reporter.js +1 -1
  99. package/src/bin/playwright/reporter/test-details.js +1 -1
  100. package/src/bin/playwright/reporterArgs.js +1 -1
  101. package/src/bin/playwright/sessionDetails.js +1 -1
  102. package/src/bin/puppeteer/patches.js +1 -1
  103. package/src/bin/puppeteer/sessionDetails.js +1 -1
  104. package/src/bin/puppeteer/test.setup.js +1 -1
  105. package/src/bin/runner.js +1 -1
  106. package/src/bin/setup.js +1 -1
  107. package/src/bin/test-runner/index.js +1 -1
  108. package/src/bin/test-runner/runTest.js +1 -1
  109. package/src/bin/test-runner/testWorker.js +1 -1
  110. package/src/bin/testcafe/a11y-runner.js +1 -1
  111. package/src/bin/testcafe/command.js +1 -1
  112. package/src/bin/testcafe/reporter/index.js +1 -1
  113. package/src/bin/testcafe/reporter/tcUtils.js +1 -1
  114. package/src/bin/testcafe/session-registry.js +1 -1
  115. package/src/bin/testcafe/stdout-interceptor.js +1 -1
  116. package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
  117. package/src/bin/testcafe/w3c-driver.js +1 -1
  118. package/src/bin/utils/apiUtilityMethods.js +1 -1
  119. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  120. package/src/bin/utils/constants.js +1 -1
  121. package/src/bin/utils/log4jsAppender.js +1 -1
  122. package/src/bin/utils/logPatcher.js +1 -1
  123. package/src/bin/utils/logReportingAPI.js +1 -1
  124. package/src/bin/utils/playwright-patcher.js +1 -1
  125. package/src/bin/utils/puppeteer-patcher.js +1 -1
  126. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  127. package/src/bin/utils/sharedUtils.js +1 -1
  128. package/src/bin/v2/TestInfo.js +1 -1
  129. package/src/bin/v2/browserstackCLI.js +1 -1
  130. package/src/bin/v2/cliUtils.js +1 -1
  131. package/src/bin/v2/customTagManager.js +1 -1
  132. package/src/bin/v2/eventDispatcher.js +1 -1
  133. package/src/bin/v2/framework/automationFramework.js +1 -1
  134. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  135. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  136. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  137. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  138. package/src/bin/v2/framework/mochaTestFramework.js +1 -1
  139. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  140. package/src/bin/v2/framework/nodeGenericTestFramework.js +1 -1
  141. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  142. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  143. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  144. package/src/bin/v2/framework/seleniumAutomationFramework.js +1 -1
  145. package/src/bin/v2/framework/testFramework.js +1 -1
  146. package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
  147. package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
  148. package/src/bin/v2/grpcClient.js +1 -1
  149. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  150. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  151. package/src/bin/v2/instances/trackedContext.js +1 -1
  152. package/src/bin/v2/instances/trackedInstance.js +1 -1
  153. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  154. package/src/bin/v2/modules/baseModule.js +1 -1
  155. package/src/bin/v2/modules/loadTestModule.js +1 -1
  156. package/src/bin/v2/modules/observabilityModule.js +1 -1
  157. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  158. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  159. package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
  160. package/src/bin/v2/modules/testhubModule.js +1 -1
  161. package/src/bin/v2/runStateStore.js +1 -1
  162. package/src/bin/v2/sdkErrorHandler.js +1 -1
  163. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  164. package/src/bin/v2/state/hookState.js +1 -1
  165. package/src/bin/v2/state/testFrameworkState.js +1 -1
  166. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  167. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  168. package/src/bin/v2/utils/jest-utils.js +1 -1
  169. package/src/bin/vanilla-js/command.js +1 -1
  170. package/src/browserStackSdk.js +1 -1
  171. package/src/helpers/BrowserStackSetup.js +1 -1
  172. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  173. package/src/helpers/accessibility-automation/constants.js +1 -1
  174. package/src/helpers/accessibility-automation/helper.js +1 -1
  175. package/src/helpers/accessibility-automation/scripts.js +1 -1
  176. package/src/helpers/ats/constants.js +1 -1
  177. package/src/helpers/ats/helper.js +1 -1
  178. package/src/helpers/caCertHelper.js +1 -1
  179. package/src/helpers/capsMapping.js +1 -1
  180. package/src/helpers/central-scanner/constants.js +1 -1
  181. package/src/helpers/central-scanner/helpers.js +1 -1
  182. package/src/helpers/classLogger.js +1 -1
  183. package/src/helpers/driverInitErrorReporter.js +1 -1
  184. package/src/helpers/globals.js +1 -1
  185. package/src/helpers/helper.js +1 -1
  186. package/src/helpers/logger.js +1 -1
  187. package/src/helpers/metadata.js +1 -1
  188. package/src/helpers/patchHelper.js +1 -1
  189. package/src/helpers/patchHelpers.js +1 -1
  190. package/src/helpers/percy/Percy.js +1 -1
  191. package/src/helpers/percy/PercyBinary.js +1 -1
  192. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  193. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  194. package/src/helpers/percy/PercySDK.js +1 -1
  195. package/src/helpers/percy/index.js +1 -1
  196. package/src/helpers/percy/utils.js +1 -1
  197. package/src/helpers/performance/constants.js +1 -1
  198. package/src/helpers/performance/performance-tester.js +1 -1
  199. package/src/helpers/playwright-helper.js +1 -1
  200. package/src/helpers/processHelper.js +1 -1
  201. package/src/helpers/puppeteer-helper.js +1 -1
  202. package/src/helpers/request-spy.js +1 -1
  203. package/src/helpers/setKeepAlive.js +1 -1
  204. package/src/helpers/stackFrameUtils.js +1 -1
  205. package/src/helpers/test-observability/constants.js +1 -1
  206. package/src/helpers/test-observability/error-handler.js +1 -1
  207. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  208. package/src/helpers/test-observability/sessionHandler.js +1 -1
  209. package/src/helpers/test-observability/utils.js +1 -1
  210. package/src/helpers/test-orchestration/constants.js +1 -1
  211. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  212. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  213. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  214. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  215. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  216. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  217. package/src/helpers/testhub/constants.js +1 -1
  218. package/src/helpers/testhub/testhubHandler.js +1 -1
  219. package/src/helpers/testhub/utils.js +1 -1
  220. package/src/helpers/utilities.js +1 -1
  221. package/src/helpers/w3cMapping.js +1 -1
  222. package/src/hubAllocationMethods.js +1 -1
  223. package/src/index.js +1 -1
@@ -1 +1 @@
1
- 'use strict';function a71_0xbbe7(){const _0x49b4e5=['[testcafe-reporter]\x20QUIT/POST\x20trackEvent\x20failed\x20for\x20userAgent=','4InDNLJ','UuZYS','../../v2/browserstackCLI','currentTaskInfo','cDDgt','../session-registry','userAgent','trackEvent','sessionId','listEntries','\x20browsers','stack','skippedCount','AFTER_ALL','rJOon','ylJKS','exports','length','pcNqS','UJGRL','map','info','../../v2/TestInfo','isArray','[testcafe-reporter]\x20reportTestStart:\x20','fixtureName','QUIT','AFTER_EACH','meta','658434UsXgvD','winstonLogger','test','iterAllInstances','testStartInfo','testCount','\x20tests\x20across\x20','31591467DxSZmV','message','isInteger','[testcafe-reporter]\x20swallowed\x20error\x20in\x20','debug','POST','7368774OznfYW','userAgents','sbTDy','\x20@\x20','durationMs','getAutomationFramework','TEST','skipped','lUhHw','BEFORE_ALL','name','capabilities','nFsbg','YVkWX','pop','bkUSY','BEFORE_EACH','handler','2593287shcIwt','quarantine','HqoMj','1136324XhfjyU','push','instance','startTime','testRunInfo','fixtureStack','6742472WkkkEM','BYSRz','INIT_TEST','../../v2/framework/testcafeAutomationFramework','gJSAt','endTime','2rRWGIV','1526415MFGfrZ','PRE','testcafe','hubUrl','getInstance','properties','taskStructure','testName','isRunning','platformIndex','errs','getTestFramework','VauGt','unknown','CREATE','./tcUtils','fixturePath','unstable','FPIZY','[testcafe-reporter]\x20reportTestDone:\x20','10FBWzpX'];a71_0xbbe7=function(){return _0x49b4e5;};return a71_0xbbe7();}const a71_0x11656d=a71_0x3f8b;function a71_0x3f8b(_0x49d775,_0x2fa385){const _0xbbe731=a71_0xbbe7();return a71_0x3f8b=function(_0x3f8ba1,_0x1e26e7){_0x3f8ba1=_0x3f8ba1-0x98;let _0x1c67d8=_0xbbe731[_0x3f8ba1];return _0x1c67d8;},a71_0x3f8b(_0x49d775,_0x2fa385);}(function(_0x24a1ec,_0x188648){const _0x57e19b=a71_0x3f8b,_0x2eef63=_0x24a1ec();while(!![]){try{const _0xf917c4=-parseInt(_0x57e19b(0xb2))/0x1*(parseInt(_0x57e19b(0xa6))/0x2)+-parseInt(_0x57e19b(0xa3))/0x3+parseInt(_0x57e19b(0xc9))/0x4*(-parseInt(_0x57e19b(0xb3))/0x5)+-parseInt(_0x57e19b(0xf3))/0x6+parseInt(_0x57e19b(0xe6))/0x7+parseInt(_0x57e19b(0xac))/0x8+-parseInt(_0x57e19b(0xed))/0x9*(-parseInt(_0x57e19b(0xc7))/0xa);if(_0xf917c4===_0x188648)break;else _0x2eef63['push'](_0x2eef63['shift']());}catch(_0x9dd23a){_0x2eef63['push'](_0x2eef63['shift']());}}}(a71_0xbbe7,0xdede5));const path=require('path'),{getTestIdentifier,getFixtureIdentifier,synthesizeTestObject,getScreenshotPaths,formatError}=require(a71_0x11656d(0xc2)),logger=require('../../../helpers/logger')[a71_0x11656d(0xe7)],BrowserstackCLI=require(a71_0x11656d(0xcb)),TestFrameworkState=require('../../v2/state/testFrameworkState'),AutomationFrameworkState=require('../../v2/state/automationFrameworkState'),HookState=require('../../v2/state/hookState'),TestInfo=require(a71_0x11656d(0xdf)),AutomationFramework=require('../../v2/framework/automationFramework'),TestCafeAutomationFramework=require(a71_0x11656d(0xaf)),sessionRegistry=require(a71_0x11656d(0xce));module[a71_0x11656d(0xd9)]=function(_0x418aa0){const _0x2a72c7=a71_0x11656d,_0x3eb0e5={'FPIZY':function(_0x41b034,..._0x6c2da4){return _0x41b034(..._0x6c2da4);},'ylJKS':_0x2a72c7(0xa2),'YqlNs':_0x2a72c7(0xb5),'bkUSY':function(_0x3e8c45,_0x1f6fc6){return _0x3e8c45===_0x1f6fc6;},'BYSRz':'function','HtfTl':function(_0x2ce358,_0x51d049){return _0x2ce358===_0x51d049;},'rJOon':function(_0x5c553e,_0x3b1f31){return _0x5c553e<_0x3b1f31;},'UJGRL':function(_0x9ef9a3,_0x57c9ba){return _0x9ef9a3||_0x57c9ba;},'nFsbg':function(_0x5d5709,_0x1450aa){return _0x5d5709===_0x1450aa;},'vcZow':function(_0x527e4,_0x578520){return _0x527e4-_0x578520;},'gJSAt':_0x2a72c7(0xc0),'VauGt':function(_0x4bbd5f,_0x5a346d,_0x2ac29f){return _0x4bbd5f(_0x5a346d,_0x2ac29f);},'TmdKy':function(_0x217eb2,_0x48eed9){return _0x217eb2===_0x48eed9;},'HqoMj':function(_0x2bfeb6,_0x3f454d){return _0x2bfeb6(_0x3f454d);},'lUhHw':function(_0x15c9e7,_0x56df3f){return _0x15c9e7(_0x56df3f);},'NdDoK':function(_0x1cd483,_0x4befd8,_0x50b784){return _0x1cd483(_0x4befd8,_0x50b784);},'pcNqS':function(_0x167462,_0x5352a4){return _0x167462===_0x5352a4;},'UuZYS':function(_0x253e32,_0x41d86e){return _0x253e32(_0x41d86e);},'cDDgt':function(_0x47e4d6,_0x40b095){return _0x47e4d6===_0x40b095;},'sbTDy':function(_0x25dc11,_0x131664){return _0x25dc11+_0x131664;},'JJBWC':function(_0x1e0ae8,_0x260bb8){return _0x1e0ae8(_0x260bb8);},'YVkWX':function(_0x2182a2,_0x3a6c9a){return _0x2182a2(_0x3a6c9a);}},_0x51b2bd={'options':_0x3eb0e5['UJGRL'](_0x418aa0,{}),'fixtureStack':[],'currentTaskInfo':null},_0x5304ed=_0x12541e=>async(..._0x2d4458)=>{const _0x44bd40=_0x2a72c7;try{return await _0x3eb0e5[_0x44bd40(0xc5)](_0x12541e,..._0x2d4458);}catch(_0x1838c8){logger['error'](_0x44bd40(0xf0)+(_0x12541e['name']||_0x3eb0e5[_0x44bd40(0xd8)])+':\x20'+(_0x1838c8[_0x44bd40(0xd4)]||_0x1838c8));}};return{'reportTaskStart':_0x3eb0e5['HqoMj'](_0x5304ed,async function _0x4ae875(_0x53d16c,_0x121d2e,_0x53eb0c,_0xe59b6b,_0x2f81e0){const _0x3abd17=_0x2a72c7,_0x565f6b={};_0x565f6b[_0x3abd17(0xa9)]=_0x53d16c,_0x565f6b['userAgents']=_0x121d2e,_0x565f6b[_0x3abd17(0xeb)]=_0x53eb0c,_0x565f6b[_0x3abd17(0xb9)]=_0xe59b6b,_0x565f6b[_0x3abd17(0xb8)]=_0x2f81e0,_0x51b2bd['currentTaskInfo']=_0x565f6b,logger[_0x3abd17(0xde)]('[testcafe-reporter]\x20reportTaskStart:\x20'+_0x53eb0c+_0x3abd17(0xec)+_0x121d2e['length']+_0x3abd17(0xd3)),TestInfo['setup']&&TestInfo['setup'](_0x3eb0e5['YqlNs']);if(!BrowserstackCLI[_0x3abd17(0xb7)]()||!BrowserstackCLI[_0x3abd17(0xb7)]()[_0x3abd17(0xbb)]())return;const _0x58dbea=BrowserstackCLI[_0x3abd17(0xb7)](),_0x237ccc=_0x58dbea[_0x3abd17(0xbe)]();if(_0x237ccc&&_0x3eb0e5['bkUSY'](typeof _0x237ccc['trackEvent'],_0x3eb0e5['BYSRz'])){const _0x56e1be={};_0x56e1be['startTime']=_0x53d16c,_0x56e1be[_0x3abd17(0xf4)]=_0x121d2e,_0x56e1be[_0x3abd17(0xeb)]=_0x53eb0c,_0x56e1be['taskStructure']=_0xe59b6b,await _0x237ccc[_0x3abd17(0xd0)](TestFrameworkState[_0x3abd17(0xae)],HookState['PRE'],_0x56e1be);}const _0xb949aa=_0x58dbea[_0x3abd17(0xf8)](),_0x24b8b9=sessionRegistry[_0x3abd17(0xd2)]();if(_0xb949aa&&_0x3eb0e5['HtfTl'](typeof _0xb949aa[_0x3abd17(0xd0)],_0x3eb0e5[_0x3abd17(0xad)]))for(let _0x5cbe92=0x0;_0x3eb0e5[_0x3abd17(0xd7)](_0x5cbe92,(_0x121d2e||[])[_0x3abd17(0xda)]);_0x5cbe92++){const _0x5c2e0e=_0x121d2e[_0x5cbe92],_0x2fb414=_0x24b8b9[_0x5cbe92]||{};await _0xb949aa[_0x3abd17(0xd0)](AutomationFrameworkState[_0x3abd17(0xc1)],HookState['POST'],{'userAgent':_0x5c2e0e,'startTime':_0x53d16c,'driver':_0x2fb414['driver'],'sessionId':_0x2fb414[_0x3abd17(0xd1)],'platformIndex':Number[_0x3abd17(0xef)](_0x2fb414['platformIndex'])?_0x2fb414[_0x3abd17(0xbc)]:_0x5cbe92,'capabilities':_0x2fb414[_0x3abd17(0x9c)]||{},'hubUrl':_0x2fb414[_0x3abd17(0xb6)]||''});}}),'reportFixtureStart':_0x3eb0e5[_0x2a72c7(0x99)](_0x5304ed,async function _0x273df8(_0x34ffe1,_0x22243c,_0x345716){const _0x1ce742=_0x2a72c7,_0x566041={'name':_0x34ffe1,'path':_0x22243c,'meta':_0x3eb0e5[_0x1ce742(0xdc)](_0x345716,{})};_0x51b2bd[_0x1ce742(0xab)][_0x1ce742(0xa7)](_0x566041),logger['debug']('[testcafe-reporter]\x20reportFixtureStart:\x20'+_0x34ffe1+_0x1ce742(0xf6)+_0x22243c);if(BrowserstackCLI[_0x1ce742(0xb7)]()&&BrowserstackCLI[_0x1ce742(0xb7)]()[_0x1ce742(0xbb)]()){const _0x51eacc=BrowserstackCLI[_0x1ce742(0xb7)](),_0x4170d3=_0x51eacc[_0x1ce742(0xbe)]();if(_0x4170d3&&_0x3eb0e5[_0x1ce742(0x9d)](typeof _0x4170d3[_0x1ce742(0xd0)],_0x3eb0e5[_0x1ce742(0xad)])){const _0xecd2d5=_0x51b2bd[_0x1ce742(0xcc)]&&_0x51b2bd[_0x1ce742(0xcc)][_0x1ce742(0xf4)]||[],_0x3dd3b3={'fixture':_0x566041,'fixtureIdentifier':_0x3eb0e5['FPIZY'](getFixtureIdentifier,_0x566041),'userAgents':_0xecd2d5};await _0x4170d3[_0x1ce742(0xd0)](TestFrameworkState['BEFORE_ALL'],HookState[_0x1ce742(0xb4)],_0x3dd3b3),await _0x4170d3[_0x1ce742(0xd0)](TestFrameworkState[_0x1ce742(0x9a)],HookState[_0x1ce742(0xf2)],_0x3dd3b3);}}}),'reportTestStart':_0x3eb0e5['JJBWC'](_0x5304ed,async function _0x5c43e5(_0x3f7d65,_0x1abe8c,_0x3b84ae){const _0x4229bc=_0x2a72c7,_0x1dfe23=_0x51b2bd[_0x4229bc(0xab)][_0x3eb0e5['vcZow'](_0x51b2bd[_0x4229bc(0xab)][_0x4229bc(0xda)],0x1)]||{'name':_0x3eb0e5[_0x4229bc(0xb0)],'path':_0x3eb0e5[_0x4229bc(0xb0)]},_0x4a6142={};_0x4a6142['fixtureName']=_0x1dfe23['name'],_0x4a6142[_0x4229bc(0xc3)]=_0x1dfe23['path'],_0x4a6142[_0x4229bc(0xba)]=_0x3f7d65,_0x4a6142[_0x4229bc(0xe5)]=_0x1abe8c;const _0x273566=_0x3eb0e5[_0x4229bc(0xc5)](synthesizeTestObject,_0x4a6142);logger[_0x4229bc(0xf1)](_0x4229bc(0xe1)+_0x3eb0e5[_0x4229bc(0xbf)](getTestIdentifier,_0x273566,0x0));const _0x1809f7=_0x51b2bd[_0x4229bc(0xcc)]&&_0x51b2bd[_0x4229bc(0xcc)][_0x4229bc(0xf4)]||[];if(BrowserstackCLI[_0x4229bc(0xb7)]()&&BrowserstackCLI[_0x4229bc(0xb7)]()[_0x4229bc(0xbb)]()){const _0x4e1174=BrowserstackCLI[_0x4229bc(0xb7)](),_0x45b086=_0x4e1174[_0x4229bc(0xbe)]();if(_0x45b086&&_0x3eb0e5['TmdKy'](typeof _0x45b086[_0x4229bc(0xd0)],_0x3eb0e5[_0x4229bc(0xad)])){const _0xa6bb73={'fixture':_0x1dfe23,'test':_0x273566,'fixtureIdentifier':_0x3eb0e5[_0x4229bc(0xa5)](getFixtureIdentifier,_0x1dfe23),'userAgents':_0x1809f7};await _0x45b086['trackEvent'](TestFrameworkState[_0x4229bc(0xa1)],HookState[_0x4229bc(0xb4)],_0xa6bb73),await _0x45b086['trackEvent'](TestFrameworkState[_0x4229bc(0xa1)],HookState[_0x4229bc(0xf2)],_0xa6bb73);const _0x15bc1c={};_0x15bc1c[_0x4229bc(0xe8)]=_0x273566,_0x15bc1c[_0x4229bc(0xea)]=_0x3b84ae,_0x15bc1c[_0x4229bc(0xe5)]=_0x1abe8c,_0x15bc1c[_0x4229bc(0xf4)]=_0x1809f7,await _0x45b086['trackEvent'](TestFrameworkState[_0x4229bc(0xf9)],HookState[_0x4229bc(0xb4)],_0x15bc1c);}}}),'reportTestDone':_0x3eb0e5[_0x2a72c7(0x9e)](_0x5304ed,async function _0xe1a329(_0x2b49e5,_0x43550a,_0x5c2e88){const _0x307ecc=_0x2a72c7,_0x264638=_0x51b2bd[_0x307ecc(0xab)][_0x3eb0e5['vcZow'](_0x51b2bd[_0x307ecc(0xab)][_0x307ecc(0xda)],0x1)]||{'name':_0x3eb0e5[_0x307ecc(0xb0)],'path':_0x3eb0e5[_0x307ecc(0xb0)]},_0xf9dd08={};_0xf9dd08[_0x307ecc(0xe2)]=_0x264638[_0x307ecc(0x9b)],_0xf9dd08[_0x307ecc(0xc3)]=_0x264638['path'],_0xf9dd08[_0x307ecc(0xba)]=_0x2b49e5,_0xf9dd08[_0x307ecc(0xe5)]=_0x5c2e88;const _0x297555=_0x3eb0e5['lUhHw'](synthesizeTestObject,_0xf9dd08),_0x1b2388=Array[_0x307ecc(0xe0)](_0x43550a&&_0x43550a['errs'])?_0x43550a['errs'][_0x307ecc(0xdd)](formatError)['filter'](Boolean):[],_0x1c4754=_0x3eb0e5['lUhHw'](getScreenshotPaths,_0x43550a)[_0x307ecc(0xdd)](_0x9c49d=>({'screenshotPath':_0x9c49d})),_0x448263={};_0x448263[_0x307ecc(0xf7)]=_0x43550a&&_0x43550a[_0x307ecc(0xf7)]||0x0,_0x448263[_0x307ecc(0x98)]=!!(_0x43550a&&_0x43550a[_0x307ecc(0x98)]),_0x448263[_0x307ecc(0xbd)]=_0x1b2388,_0x448263['screenshots']=_0x1c4754,_0x448263[_0x307ecc(0xc4)]=!!(_0x43550a&&_0x43550a[_0x307ecc(0xc4)]),_0x448263[_0x307ecc(0xa4)]=_0x43550a&&_0x43550a['quarantine'];const _0x2a925a=_0x448263;logger[_0x307ecc(0xf1)](_0x307ecc(0xc6)+_0x3eb0e5['NdDoK'](getTestIdentifier,_0x297555,0x0)+'\x20(errs='+_0x1b2388[_0x307ecc(0xda)]+',\x20skipped='+_0x2a925a[_0x307ecc(0x98)]+')');const _0xe4adc6=_0x51b2bd[_0x307ecc(0xcc)]&&_0x51b2bd[_0x307ecc(0xcc)][_0x307ecc(0xf4)]||[];if(BrowserstackCLI[_0x307ecc(0xb7)]()&&BrowserstackCLI[_0x307ecc(0xb7)]()[_0x307ecc(0xbb)]()){const _0x1f6320=BrowserstackCLI[_0x307ecc(0xb7)](),_0x53707d=_0x1f6320[_0x307ecc(0xbe)]();if(_0x53707d&&_0x3eb0e5[_0x307ecc(0xdb)](typeof _0x53707d[_0x307ecc(0xd0)],_0x3eb0e5[_0x307ecc(0xad)])){const _0x29fdfb={};_0x29fdfb[_0x307ecc(0xe8)]=_0x297555,_0x29fdfb[_0x307ecc(0xaa)]=_0x2a925a,_0x29fdfb[_0x307ecc(0xe5)]=_0x5c2e88,_0x29fdfb['userAgents']=_0xe4adc6,await _0x53707d[_0x307ecc(0xd0)](TestFrameworkState['TEST'],HookState[_0x307ecc(0xf2)],_0x29fdfb);const _0x4de9b8={'fixture':_0x264638,'test':_0x297555,'fixtureIdentifier':_0x3eb0e5[_0x307ecc(0xca)](getFixtureIdentifier,_0x264638),'userAgents':_0xe4adc6};await _0x53707d['trackEvent'](TestFrameworkState[_0x307ecc(0xe4)],HookState[_0x307ecc(0xb4)],_0x4de9b8),await _0x53707d[_0x307ecc(0xd0)](TestFrameworkState[_0x307ecc(0xe4)],HookState[_0x307ecc(0xf2)],_0x4de9b8);}}}),'reportTaskDone':_0x3eb0e5[_0x2a72c7(0x9e)](_0x5304ed,async function _0x9b9475(_0x2e5c27,_0xe38841,_0x5b474a,_0x56a66b){const _0x2bd273=_0x2a72c7;while(_0x51b2bd[_0x2bd273(0xab)][_0x2bd273(0xda)]){const _0x237d21=_0x51b2bd[_0x2bd273(0xab)][_0x2bd273(0x9f)]();if(BrowserstackCLI['getInstance']()&&BrowserstackCLI[_0x2bd273(0xb7)]()[_0x2bd273(0xbb)]()){const _0x2e40e5=BrowserstackCLI[_0x2bd273(0xb7)](),_0x1fcfac=_0x2e40e5[_0x2bd273(0xbe)]();if(_0x1fcfac&&_0x3eb0e5[_0x2bd273(0xa0)](typeof _0x1fcfac['trackEvent'],_0x3eb0e5['BYSRz'])){const _0x50c62c=_0x51b2bd[_0x2bd273(0xcc)]&&_0x51b2bd[_0x2bd273(0xcc)]['userAgents']||[],_0x5ca4de={'fixture':_0x237d21,'fixtureIdentifier':_0x3eb0e5['FPIZY'](getFixtureIdentifier,_0x237d21),'userAgents':_0x50c62c};await _0x1fcfac[_0x2bd273(0xd0)](TestFrameworkState[_0x2bd273(0xd6)],HookState['PRE'],_0x5ca4de),await _0x1fcfac[_0x2bd273(0xd0)](TestFrameworkState['AFTER_ALL'],HookState[_0x2bd273(0xf2)],_0x5ca4de);}}}if(BrowserstackCLI[_0x2bd273(0xb7)]()&&BrowserstackCLI[_0x2bd273(0xb7)]()[_0x2bd273(0xbb)]()){const _0x3099ce=BrowserstackCLI[_0x2bd273(0xb7)](),_0x56c9f9=_0x3099ce['getAutomationFramework']();if(_0x56c9f9&&_0x3eb0e5[_0x2bd273(0xcd)](typeof _0x56c9f9[_0x2bd273(0xd0)],_0x3eb0e5[_0x2bd273(0xad)]))for(const {userAgent:_0x425449,platformIndex:_0x112cd2,instance:_0x42c1d9}of TestCafeAutomationFramework[_0x2bd273(0xe9)]()){try{const _0x146a06={};_0x146a06[_0x2bd273(0xcf)]=_0x425449,_0x146a06[_0x2bd273(0xbc)]=_0x112cd2,_0x146a06[_0x2bd273(0xb1)]=_0x2e5c27,_0x146a06[_0x2bd273(0xa8)]=_0x42c1d9,await _0x56c9f9['trackEvent'](AutomationFrameworkState[_0x2bd273(0xe3)],HookState[_0x2bd273(0xf2)],_0x146a06);}catch(_0x4b776d){logger['error'](_0x2bd273(0xc8)+_0x425449+'#'+_0x112cd2+':\x20'+_0x4b776d[_0x2bd273(0xee)]);}TestCafeAutomationFramework['removeInstance'](_0x425449,_0x112cd2);}}logger[_0x2bd273(0xde)]('[testcafe-reporter]\x20reportTaskDone:\x20passed='+_0xe38841+'\x20warnings='+(_0x5b474a&&_0x5b474a[_0x2bd273(0xda)])+'\x20totalDuration='+(_0x56a66b&&_0x3eb0e5[_0x2bd273(0xf5)](_0x3eb0e5[_0x2bd273(0xf5)](_0x56a66b['failedCount'],_0x56a66b['passedCount']),_0x56a66b[_0x2bd273(0xd5)])));})};};
1
+ 'use strict';const a71_0x70726c=a71_0x16f6;function a71_0x16f6(_0xdbd2b5,_0x250852){const _0x29d2ab=a71_0x29d2();return a71_0x16f6=function(_0x16f6dc,_0x5bc127){_0x16f6dc=_0x16f6dc-0x8b;let _0x476ea4=_0x29d2ab[_0x16f6dc];return _0x476ea4;},a71_0x16f6(_0xdbd2b5,_0x250852);}(function(_0x5ca124,_0x40383c){const _0x4d4531=a71_0x16f6,_0x43cf0d=_0x5ca124();while(!![]){try{const _0x42fe2a=parseInt(_0x4d4531(0xa2))/0x1*(parseInt(_0x4d4531(0x8d))/0x2)+-parseInt(_0x4d4531(0xa6))/0x3+parseInt(_0x4d4531(0xf2))/0x4*(parseInt(_0x4d4531(0xe7))/0x5)+-parseInt(_0x4d4531(0xd1))/0x6+parseInt(_0x4d4531(0xdd))/0x7*(parseInt(_0x4d4531(0xee))/0x8)+-parseInt(_0x4d4531(0xba))/0x9*(-parseInt(_0x4d4531(0xd6))/0xa)+-parseInt(_0x4d4531(0xe4))/0xb*(parseInt(_0x4d4531(0xd3))/0xc);if(_0x42fe2a===_0x40383c)break;else _0x43cf0d['push'](_0x43cf0d['shift']());}catch(_0x4f9820){_0x43cf0d['push'](_0x43cf0d['shift']());}}}(a71_0x29d2,0xa32c7));const path=require(a71_0x70726c(0xd5)),{getTestIdentifier,getFixtureIdentifier,synthesizeTestObject,getScreenshotPaths,formatError}=require(a71_0x70726c(0x9e)),logger=require(a71_0x70726c(0xf5))['winstonLogger'],BrowserstackCLI=require(a71_0x70726c(0xaa)),TestFrameworkState=require(a71_0x70726c(0xaf)),AutomationFrameworkState=require('../../v2/state/automationFrameworkState'),HookState=require(a71_0x70726c(0xb4)),TestInfo=require(a71_0x70726c(0xa5)),AutomationFramework=require(a71_0x70726c(0xf0)),TestCafeAutomationFramework=require('../../v2/framework/testcafeAutomationFramework'),sessionRegistry=require(a71_0x70726c(0xa0));function a71_0x29d2(){const _0x9b324c=['zmtwS','../../v2/framework/automationFramework','POST','2358284GJSMPZ','function','listEntries','../../../helpers/logger','properties','fixtureName','debug','errs','BEFORE_EACH','28TLgKrs','error','meta','vTkRX','push','startTime','fixtureStack','taTvh','[testcafe-reporter]\x20reportTestStart:\x20','testCount','platformIndex','endTime','passedCount','CREATE','instance','EkJmS','tjXNS','./tcUtils','currentTaskInfo','../session-registry','BEFORE_ALL','78410aKWaMG','ICkpv','unstable','../../v2/TestInfo','3265029xGunhJ','userAgents','erdWn','xAJkP','../../v2/browserstackCLI','\x20(errs=','driver','RAuMn','Fjtbg','../../v2/state/testFrameworkState','skipped','AphkQ','[testcafe-reporter]\x20reportFixtureStart:\x20','FCoUA','../../v2/state/hookState','quarantine',',\x20skipped=','testName','skippedCount','[testcafe-reporter]\x20QUIT/POST\x20trackEvent\x20failed\x20for\x20userAgent=','46107hbtwYd','getInstance','failedCount','pop','[testcafe-reporter]\x20swallowed\x20error\x20in\x20','vnwSm','hubUrl','xCWZL','ESTnN','test','info','filter','GzosT','fixturePath','uLPcd','map','removeInstance','\x20tests\x20across\x20','AFTER_EACH','\x20browsers','CShSO','taskStructure','[testcafe-reporter]\x20reportTestDone:\x20','176112GYRFwt','trackEvent','22029132qKDZWM','message','path','1630RhukSK','PRE','QUIT','getTestFramework','isRunning','fzwdG','setup','1813YofFiZ','name','[testcafe-reporter]\x20reportTaskStart:\x20','unknown','testRunInfo','length','PVuPF','11ISpQda','ZGdaB','INIT_TEST','5fcrrCn','isInteger','getAutomationFramework','sessionId','[testcafe-reporter]\x20reportTaskDone:\x20passed=','\x20totalDuration=','AFTER_ALL','33960LUulXO'];a71_0x29d2=function(){return _0x9b324c;};return a71_0x29d2();}module['exports']=function(_0x55e565){const _0x5b3156=a71_0x70726c,_0x6bd556={'xAJkP':function(_0x3b1fb1,..._0x8e2f3e){return _0x3b1fb1(..._0x8e2f3e);},'AphkQ':'handler','mWLnh':'testcafe','PVuPF':function(_0x46c34d,_0x308754){return _0x46c34d===_0x308754;},'taTvh':_0x5b3156(0xf3),'RAuMn':function(_0x2de6ea,_0x3c333d){return _0x2de6ea===_0x3c333d;},'EkJmS':function(_0x523e91,_0x12f0b6){return _0x523e91<_0x12f0b6;},'vTkRX':function(_0x1d9511,_0x33d032){return _0x1d9511||_0x33d032;},'CShSO':function(_0x29b311,_0x52e7d9){return _0x29b311-_0x52e7d9;},'xCWZL':_0x5b3156(0xe0),'zmtwS':function(_0x423179,_0x2d0e85){return _0x423179(_0x2d0e85);},'ICkpv':function(_0x342684,_0x2f37e1,_0xbae838){return _0x342684(_0x2f37e1,_0xbae838);},'uLPcd':function(_0x3f6760,_0x316a46){return _0x3f6760===_0x316a46;},'ESTnN':function(_0x60a189,_0x37783d){return _0x60a189-_0x37783d;},'FCoUA':function(_0x7fcc2a,_0x4eeb1d){return _0x7fcc2a(_0x4eeb1d);},'GzosT':function(_0x15f447,_0x4d8b7e){return _0x15f447===_0x4d8b7e;},'VjpHo':function(_0x39632b,_0x54289b){return _0x39632b(_0x54289b);},'Fjtbg':function(_0x194a41,_0x31e324){return _0x194a41===_0x31e324;},'vnwSm':function(_0x5ad67f,_0x454f8d){return _0x5ad67f+_0x454f8d;},'fzwdG':function(_0x5137e8,_0x8396c9){return _0x5137e8+_0x8396c9;},'erdWn':function(_0x1d2569,_0xa64367){return _0x1d2569(_0xa64367);},'ZGdaB':function(_0x48141d,_0x11d8e6){return _0x48141d(_0x11d8e6);},'tjXNS':function(_0x208d65,_0x3ba11d){return _0x208d65(_0x3ba11d);}},_0x4f85a3={'options':_0x6bd556[_0x5b3156(0x90)](_0x55e565,{}),'fixtureStack':[],'currentTaskInfo':null},_0x30c8c5=_0x186275=>async(..._0x31ea61)=>{const _0x4a3c91=_0x5b3156;try{return await _0x6bd556[_0x4a3c91(0xa9)](_0x186275,..._0x31ea61);}catch(_0x12cf04){logger['error'](_0x4a3c91(0xbe)+(_0x186275[_0x4a3c91(0xde)]||_0x6bd556[_0x4a3c91(0xb1)])+':\x20'+(_0x12cf04['stack']||_0x12cf04));}};return{'reportTaskStart':_0x6bd556[_0x5b3156(0xa9)](_0x30c8c5,async function _0x1bdd9b(_0x4f8074,_0x1c690f,_0x10ac69,_0x22505e,_0x89f756){const _0x6f8b06=_0x5b3156,_0x1df1e3={};_0x1df1e3[_0x6f8b06(0x92)]=_0x4f8074,_0x1df1e3['userAgents']=_0x1c690f,_0x1df1e3[_0x6f8b06(0x96)]=_0x10ac69,_0x1df1e3[_0x6f8b06(0xcf)]=_0x22505e,_0x1df1e3[_0x6f8b06(0xf6)]=_0x89f756,_0x4f85a3[_0x6f8b06(0x9f)]=_0x1df1e3,logger[_0x6f8b06(0xc4)](_0x6f8b06(0xdf)+_0x10ac69+_0x6f8b06(0xcb)+_0x1c690f['length']+_0x6f8b06(0xcd)),TestInfo[_0x6f8b06(0xdc)]&&TestInfo[_0x6f8b06(0xdc)](_0x6bd556['mWLnh']);if(!BrowserstackCLI[_0x6f8b06(0xbb)]()||!BrowserstackCLI[_0x6f8b06(0xbb)]()[_0x6f8b06(0xda)]())return;const _0x5145dc=BrowserstackCLI[_0x6f8b06(0xbb)](),_0x2f4e4d=_0x5145dc[_0x6f8b06(0xd9)]();if(_0x2f4e4d&&_0x6bd556[_0x6f8b06(0xe3)](typeof _0x2f4e4d[_0x6f8b06(0xd2)],_0x6bd556['taTvh'])){const _0x613bac={};_0x613bac[_0x6f8b06(0x92)]=_0x4f8074,_0x613bac[_0x6f8b06(0xa7)]=_0x1c690f,_0x613bac[_0x6f8b06(0x96)]=_0x10ac69,_0x613bac[_0x6f8b06(0xcf)]=_0x22505e,await _0x2f4e4d[_0x6f8b06(0xd2)](TestFrameworkState[_0x6f8b06(0xe6)],HookState[_0x6f8b06(0xd7)],_0x613bac);}const _0x1f72b9=_0x5145dc[_0x6f8b06(0xe9)](),_0x482d86=sessionRegistry[_0x6f8b06(0xf4)]();if(_0x1f72b9&&_0x6bd556[_0x6f8b06(0xad)](typeof _0x1f72b9[_0x6f8b06(0xd2)],_0x6bd556['taTvh']))for(let _0x1fe706=0x0;_0x6bd556[_0x6f8b06(0x9c)](_0x1fe706,(_0x1c690f||[])[_0x6f8b06(0xe2)]);_0x1fe706++){const _0x23a621=_0x1c690f[_0x1fe706],_0x3aedfe=_0x482d86[_0x1fe706]||{};await _0x1f72b9['trackEvent'](AutomationFrameworkState[_0x6f8b06(0x9a)],HookState[_0x6f8b06(0xf1)],{'userAgent':_0x23a621,'startTime':_0x4f8074,'driver':_0x3aedfe[_0x6f8b06(0xac)],'sessionId':_0x3aedfe[_0x6f8b06(0xea)],'platformIndex':Number[_0x6f8b06(0xe8)](_0x3aedfe[_0x6f8b06(0x97)])?_0x3aedfe[_0x6f8b06(0x97)]:_0x1fe706,'capabilities':_0x3aedfe['capabilities']||{},'hubUrl':_0x3aedfe[_0x6f8b06(0xc0)]||''});}}),'reportFixtureStart':_0x6bd556[_0x5b3156(0xa8)](_0x30c8c5,async function _0x4d0d80(_0xd29cb7,_0x24d8ec,_0x20a06f){const _0x57552e=_0x5b3156,_0x186d84={'name':_0xd29cb7,'path':_0x24d8ec,'meta':_0x6bd556['vTkRX'](_0x20a06f,{})};_0x4f85a3[_0x57552e(0x93)][_0x57552e(0x91)](_0x186d84),logger[_0x57552e(0xf8)](_0x57552e(0xb2)+_0xd29cb7+'\x20@\x20'+_0x24d8ec);if(BrowserstackCLI[_0x57552e(0xbb)]()&&BrowserstackCLI[_0x57552e(0xbb)]()[_0x57552e(0xda)]()){const _0x24d956=BrowserstackCLI[_0x57552e(0xbb)](),_0xa13e2c=_0x24d956[_0x57552e(0xd9)]();if(_0xa13e2c&&_0x6bd556[_0x57552e(0xe3)](typeof _0xa13e2c[_0x57552e(0xd2)],_0x6bd556[_0x57552e(0x94)])){const _0x3265dc=_0x4f85a3[_0x57552e(0x9f)]&&_0x4f85a3[_0x57552e(0x9f)][_0x57552e(0xa7)]||[],_0x3aa102={'fixture':_0x186d84,'fixtureIdentifier':_0x6bd556['xAJkP'](getFixtureIdentifier,_0x186d84),'userAgents':_0x3265dc};await _0xa13e2c[_0x57552e(0xd2)](TestFrameworkState[_0x57552e(0xa1)],HookState[_0x57552e(0xd7)],_0x3aa102),await _0xa13e2c[_0x57552e(0xd2)](TestFrameworkState[_0x57552e(0xa1)],HookState[_0x57552e(0xf1)],_0x3aa102);}}}),'reportTestStart':_0x6bd556['erdWn'](_0x30c8c5,async function _0x5b122f(_0x5d1477,_0x5d55a3,_0x421ffb){const _0x472001=_0x5b3156,_0x46ee47=_0x4f85a3[_0x472001(0x93)][_0x6bd556[_0x472001(0xce)](_0x4f85a3['fixtureStack']['length'],0x1)]||{'name':_0x6bd556[_0x472001(0xc1)],'path':_0x6bd556[_0x472001(0xc1)]},_0x58c8bc={};_0x58c8bc[_0x472001(0xf7)]=_0x46ee47[_0x472001(0xde)],_0x58c8bc[_0x472001(0xc7)]=_0x46ee47['path'],_0x58c8bc[_0x472001(0xb7)]=_0x5d1477,_0x58c8bc[_0x472001(0x8f)]=_0x5d55a3;const _0x3f2855=_0x6bd556[_0x472001(0xef)](synthesizeTestObject,_0x58c8bc);logger[_0x472001(0xf8)](_0x472001(0x95)+_0x6bd556[_0x472001(0xa3)](getTestIdentifier,_0x3f2855,0x0));const _0x38ccf7=_0x4f85a3['currentTaskInfo']&&_0x4f85a3[_0x472001(0x9f)][_0x472001(0xa7)]||[];if(BrowserstackCLI[_0x472001(0xbb)]()&&BrowserstackCLI[_0x472001(0xbb)]()[_0x472001(0xda)]()){const _0x1212a6=BrowserstackCLI[_0x472001(0xbb)](),_0x567533=_0x1212a6[_0x472001(0xd9)]();if(_0x567533&&_0x6bd556[_0x472001(0xc8)](typeof _0x567533[_0x472001(0xd2)],_0x6bd556[_0x472001(0x94)])){const _0xc88e8b={'fixture':_0x46ee47,'test':_0x3f2855,'fixtureIdentifier':_0x6bd556[_0x472001(0xef)](getFixtureIdentifier,_0x46ee47),'userAgents':_0x38ccf7};await _0x567533[_0x472001(0xd2)](TestFrameworkState[_0x472001(0x8c)],HookState[_0x472001(0xd7)],_0xc88e8b),await _0x567533[_0x472001(0xd2)](TestFrameworkState[_0x472001(0x8c)],HookState[_0x472001(0xf1)],_0xc88e8b);const _0x150120={};_0x150120['test']=_0x3f2855,_0x150120['testStartInfo']=_0x421ffb,_0x150120[_0x472001(0x8f)]=_0x5d55a3,_0x150120[_0x472001(0xa7)]=_0x38ccf7,await _0x567533[_0x472001(0xd2)](TestFrameworkState['TEST'],HookState[_0x472001(0xd7)],_0x150120);}}}),'reportTestDone':_0x6bd556[_0x5b3156(0xe5)](_0x30c8c5,async function _0x7c1d8c(_0x348461,_0x220fee,_0x1dc761){const _0xcc3ec8=_0x5b3156,_0x46cfd8=_0x4f85a3[_0xcc3ec8(0x93)][_0x6bd556[_0xcc3ec8(0xc2)](_0x4f85a3['fixtureStack']['length'],0x1)]||{'name':_0x6bd556[_0xcc3ec8(0xc1)],'path':_0x6bd556[_0xcc3ec8(0xc1)]},_0x83b40a={};_0x83b40a[_0xcc3ec8(0xf7)]=_0x46cfd8['name'],_0x83b40a['fixturePath']=_0x46cfd8[_0xcc3ec8(0xd5)],_0x83b40a[_0xcc3ec8(0xb7)]=_0x348461,_0x83b40a['meta']=_0x1dc761;const _0x421c20=_0x6bd556[_0xcc3ec8(0xa9)](synthesizeTestObject,_0x83b40a),_0x4ad286=Array['isArray'](_0x220fee&&_0x220fee[_0xcc3ec8(0x8b)])?_0x220fee['errs']['map'](formatError)[_0xcc3ec8(0xc5)](Boolean):[],_0x474371=_0x6bd556[_0xcc3ec8(0xb3)](getScreenshotPaths,_0x220fee)[_0xcc3ec8(0xc9)](_0x49aa3b=>({'screenshotPath':_0x49aa3b})),_0x421010={};_0x421010['durationMs']=_0x220fee&&_0x220fee['durationMs']||0x0,_0x421010[_0xcc3ec8(0xb0)]=!!(_0x220fee&&_0x220fee[_0xcc3ec8(0xb0)]),_0x421010[_0xcc3ec8(0x8b)]=_0x4ad286,_0x421010['screenshots']=_0x474371,_0x421010[_0xcc3ec8(0xa4)]=!!(_0x220fee&&_0x220fee['unstable']),_0x421010['quarantine']=_0x220fee&&_0x220fee[_0xcc3ec8(0xb5)];const _0x13ac10=_0x421010;logger[_0xcc3ec8(0xf8)](_0xcc3ec8(0xd0)+_0x6bd556[_0xcc3ec8(0xa3)](getTestIdentifier,_0x421c20,0x0)+_0xcc3ec8(0xab)+_0x4ad286[_0xcc3ec8(0xe2)]+_0xcc3ec8(0xb6)+_0x13ac10['skipped']+')');const _0x32d54d=_0x4f85a3[_0xcc3ec8(0x9f)]&&_0x4f85a3['currentTaskInfo'][_0xcc3ec8(0xa7)]||[];if(BrowserstackCLI[_0xcc3ec8(0xbb)]()&&BrowserstackCLI[_0xcc3ec8(0xbb)]()[_0xcc3ec8(0xda)]()){const _0x463e11=BrowserstackCLI[_0xcc3ec8(0xbb)](),_0x2e9703=_0x463e11[_0xcc3ec8(0xd9)]();if(_0x2e9703&&_0x6bd556[_0xcc3ec8(0xc6)](typeof _0x2e9703[_0xcc3ec8(0xd2)],_0x6bd556[_0xcc3ec8(0x94)])){const _0x147eab={};_0x147eab[_0xcc3ec8(0xc3)]=_0x421c20,_0x147eab[_0xcc3ec8(0xe1)]=_0x13ac10,_0x147eab['meta']=_0x1dc761,_0x147eab['userAgents']=_0x32d54d,await _0x2e9703[_0xcc3ec8(0xd2)](TestFrameworkState['TEST'],HookState[_0xcc3ec8(0xf1)],_0x147eab);const _0x3ea24a={'fixture':_0x46cfd8,'test':_0x421c20,'fixtureIdentifier':_0x6bd556[_0xcc3ec8(0xa9)](getFixtureIdentifier,_0x46cfd8),'userAgents':_0x32d54d};await _0x2e9703[_0xcc3ec8(0xd2)](TestFrameworkState['AFTER_EACH'],HookState[_0xcc3ec8(0xd7)],_0x3ea24a),await _0x2e9703[_0xcc3ec8(0xd2)](TestFrameworkState[_0xcc3ec8(0xcc)],HookState[_0xcc3ec8(0xf1)],_0x3ea24a);}}}),'reportTaskDone':_0x6bd556[_0x5b3156(0x9d)](_0x30c8c5,async function _0x178104(_0x295375,_0x3a85b6,_0x4c8192,_0x3712d8){const _0x56357c=_0x5b3156;while(_0x4f85a3[_0x56357c(0x93)][_0x56357c(0xe2)]){const _0x3dd318=_0x4f85a3[_0x56357c(0x93)][_0x56357c(0xbd)]();if(BrowserstackCLI[_0x56357c(0xbb)]()&&BrowserstackCLI[_0x56357c(0xbb)]()[_0x56357c(0xda)]()){const _0x604c40=BrowserstackCLI[_0x56357c(0xbb)](),_0x57b157=_0x604c40[_0x56357c(0xd9)]();if(_0x57b157&&_0x6bd556['uLPcd'](typeof _0x57b157[_0x56357c(0xd2)],_0x6bd556[_0x56357c(0x94)])){const _0x315c75=_0x4f85a3[_0x56357c(0x9f)]&&_0x4f85a3['currentTaskInfo']['userAgents']||[],_0x390dfa={'fixture':_0x3dd318,'fixtureIdentifier':_0x6bd556['VjpHo'](getFixtureIdentifier,_0x3dd318),'userAgents':_0x315c75};await _0x57b157['trackEvent'](TestFrameworkState['AFTER_ALL'],HookState[_0x56357c(0xd7)],_0x390dfa),await _0x57b157[_0x56357c(0xd2)](TestFrameworkState[_0x56357c(0xed)],HookState[_0x56357c(0xf1)],_0x390dfa);}}}if(BrowserstackCLI['getInstance']()&&BrowserstackCLI[_0x56357c(0xbb)]()['isRunning']()){const _0x4d87bb=BrowserstackCLI[_0x56357c(0xbb)](),_0x478d4d=_0x4d87bb[_0x56357c(0xe9)]();if(_0x478d4d&&_0x6bd556[_0x56357c(0xae)](typeof _0x478d4d[_0x56357c(0xd2)],_0x6bd556[_0x56357c(0x94)]))for(const {userAgent:_0x4392c4,platformIndex:_0x12d97d,instance:_0x25b4f8}of TestCafeAutomationFramework['iterAllInstances']()){try{const _0x9c456f={};_0x9c456f['userAgent']=_0x4392c4,_0x9c456f[_0x56357c(0x97)]=_0x12d97d,_0x9c456f[_0x56357c(0x98)]=_0x295375,_0x9c456f[_0x56357c(0x9b)]=_0x25b4f8,await _0x478d4d[_0x56357c(0xd2)](AutomationFrameworkState[_0x56357c(0xd8)],HookState[_0x56357c(0xf1)],_0x9c456f);}catch(_0x3c79e4){logger[_0x56357c(0x8e)](_0x56357c(0xb9)+_0x4392c4+'#'+_0x12d97d+':\x20'+_0x3c79e4[_0x56357c(0xd4)]);}TestCafeAutomationFramework[_0x56357c(0xca)](_0x4392c4,_0x12d97d);}}logger[_0x56357c(0xc4)](_0x56357c(0xeb)+_0x3a85b6+'\x20warnings='+(_0x4c8192&&_0x4c8192[_0x56357c(0xe2)])+_0x56357c(0xec)+(_0x3712d8&&_0x6bd556[_0x56357c(0xbf)](_0x6bd556[_0x56357c(0xdb)](_0x3712d8[_0x56357c(0xbc)],_0x3712d8[_0x56357c(0x99)]),_0x3712d8[_0x56357c(0xb8)])));})};};
@@ -1 +1 @@
1
- 'use strict';function a72_0x43ca(_0x226209,_0x1c215d){const _0x2b911e=a72_0x2b91();return a72_0x43ca=function(_0x43ca4b,_0x258a90){_0x43ca4b=_0x43ca4b-0x12c;let _0x39df67=_0x2b911e[_0x43ca4b];return _0x39df67;},a72_0x43ca(_0x226209,_0x1c215d);}const a72_0x2073e2=a72_0x43ca;(function(_0x37f1d2,_0x4e4cf4){const _0x19c172=a72_0x43ca,_0x235e6=_0x37f1d2();while(!![]){try{const _0x1595a1=parseInt(_0x19c172(0x149))/0x1*(-parseInt(_0x19c172(0x14c))/0x2)+parseInt(_0x19c172(0x138))/0x3*(-parseInt(_0x19c172(0x140))/0x4)+-parseInt(_0x19c172(0x13e))/0x5+-parseInt(_0x19c172(0x12e))/0x6+-parseInt(_0x19c172(0x154))/0x7*(-parseInt(_0x19c172(0x141))/0x8)+-parseInt(_0x19c172(0x133))/0x9*(-parseInt(_0x19c172(0x152))/0xa)+-parseInt(_0x19c172(0x146))/0xb*(-parseInt(_0x19c172(0x135))/0xc);if(_0x1595a1===_0x4e4cf4)break;else _0x235e6['push'](_0x235e6['shift']());}catch(_0x14c92c){_0x235e6['push'](_0x235e6['shift']());}}}(a72_0x2b91,0x7d46c));function getTestIdentifier(_0x3a9c9d,_0x2942ce){const _0xd008dd=a72_0x43ca,_0x518eeb={};_0x518eeb['fKYKc']='unknown';const _0x5354ab=_0x518eeb,_0x12606c=_0x3a9c9d&&_0x3a9c9d[_0xd008dd(0x132)]&&_0x3a9c9d[_0xd008dd(0x132)][_0xd008dd(0x12d)]||_0x5354ab[_0xd008dd(0x134)],_0x4c402d=_0x3a9c9d&&_0x3a9c9d['fixture']&&_0x3a9c9d[_0xd008dd(0x132)][_0xd008dd(0x139)]||_0x5354ab[_0xd008dd(0x134)],_0x4228d1=_0x3a9c9d&&_0x3a9c9d['name']||_0x5354ab[_0xd008dd(0x134)],_0x3ef74d=_0x12606c+'::'+_0x4c402d+'::'+_0x4228d1;return _0x2942ce?_0x3ef74d+_0xd008dd(0x155)+_0x2942ce:_0x3ef74d;}function getFixtureIdentifier(_0x14fa14){const _0x2b43e9=a72_0x43ca,_0x4cd33d={};_0x4cd33d[_0x2b43e9(0x144)]=_0x2b43e9(0x14e);const _0x1ed976=_0x4cd33d,_0x57f800=_0x14fa14&&_0x14fa14['path']||_0x1ed976[_0x2b43e9(0x144)],_0x3cf747=_0x14fa14&&_0x14fa14[_0x2b43e9(0x139)]||_0x1ed976[_0x2b43e9(0x144)];return _0x57f800+'::'+_0x3cf747;}function synthesizeTestObject({fixtureName:_0x51a8bb,fixturePath:_0x3aaf4b,testName:_0x4f085e,meta:_0x5ce760}){const _0x14dee3=a72_0x43ca,_0x5b69c4={};_0x5b69c4['CwRUS']=function(_0x370c03,_0xdf5128){return _0x370c03||_0xdf5128;};const _0x376c0d=_0x5b69c4,_0x3bce9c={};return _0x3bce9c[_0x14dee3(0x139)]=_0x51a8bb,_0x3bce9c['path']=_0x3aaf4b,{'name':_0x4f085e,'meta':_0x376c0d[_0x14dee3(0x148)](_0x5ce760,{}),'fixture':_0x3bce9c};}function getScreenshotPaths(_0x185cfe){const _0x5b0492=a72_0x43ca;if(!_0x185cfe||!Array['isArray'](_0x185cfe[_0x5b0492(0x150)]))return[];return _0x185cfe[_0x5b0492(0x150)][_0x5b0492(0x136)](_0x4e4008=>_0x4e4008&&(_0x4e4008['screenshotPath']||_0x4e4008[_0x5b0492(0x153)])||null)[_0x5b0492(0x130)](Boolean);}function a72_0x2b91(){const _0x35fafe=['name','exports','fnEQi','formatError','PVYmf','2556910yrOrGR','function','412owcqZb','16vbNqfk','synthesizeTestObject','YhePk','vxeWn','code','21547482qPcKmL','renderSync','CwRUS','900297bZyger','callsite','stackFilter','2rskswq','YPgOZ','unknown','TestCafeError','screenshots','getTestIdentifier','10PIuERu','screenshotPathForPDF','405874ayoNyx','::retry','getScreenshotPaths','path','773376kQBAPV','getFixtureIdentifier','filter','formattedMessage','fixture','2622447fVVZtI','fKYKc','12blyLbU','map','errMsg','9102ugyxXM'];a72_0x2b91=function(){return _0x35fafe;};return a72_0x2b91();}function formatError(_0x2dd7be){const _0x30e408=a72_0x43ca,_0x2416d6={'PVYmf':_0x30e408(0x14f),'YhePk':function(_0x4349f1,_0x3a087a){return _0x4349f1(_0x3a087a);},'ZTobI':function(_0xcea6f3,_0x4d7b54){return _0xcea6f3(_0x4d7b54);}};if(!_0x2dd7be)return null;return{'type':_0x2dd7be[_0x30e408(0x145)]||_0x2416d6[_0x30e408(0x13d)],'message':_0x2dd7be[_0x30e408(0x131)]||_0x2dd7be[_0x30e408(0x137)]||_0x2416d6[_0x30e408(0x143)](String,_0x2dd7be),'stack':_0x2416d6['ZTobI'](_tryRenderCallsite,_0x2dd7be)};}function _tryRenderCallsite(_0x466e78){const _0x3e3568=a72_0x43ca,_0x1287b1={};_0x1287b1[_0x3e3568(0x14d)]=function(_0x8311a1,_0x3479d4){return _0x8311a1===_0x3479d4;},_0x1287b1[_0x3e3568(0x13b)]=_0x3e3568(0x13f);const _0x374c9e=_0x1287b1;try{if(_0x466e78&&_0x466e78[_0x3e3568(0x14a)]&&_0x374c9e['YPgOZ'](typeof _0x466e78[_0x3e3568(0x14a)][_0x3e3568(0x147)],_0x374c9e[_0x3e3568(0x13b)])){const _0x3e7b7f={};return _0x3e7b7f[_0x3e3568(0x14b)]=()=>!![],_0x466e78[_0x3e3568(0x14a)][_0x3e3568(0x147)](_0x3e7b7f);}}catch(_0x4bb562){}return'';}const a72_0x203834={};a72_0x203834[a72_0x2073e2(0x151)]=getTestIdentifier,a72_0x203834[a72_0x2073e2(0x12f)]=getFixtureIdentifier,a72_0x203834[a72_0x2073e2(0x142)]=synthesizeTestObject,a72_0x203834[a72_0x2073e2(0x12c)]=getScreenshotPaths,a72_0x203834[a72_0x2073e2(0x13c)]=formatError,module[a72_0x2073e2(0x13a)]=a72_0x203834;
1
+ 'use strict';const a72_0x5dd175=a72_0x5ce4;(function(_0x3670ce,_0x5c8e1d){const _0x1cb5f9=a72_0x5ce4,_0x4d00fa=_0x3670ce();while(!![]){try{const _0x588edc=parseInt(_0x1cb5f9(0x147))/0x1*(parseInt(_0x1cb5f9(0x12d))/0x2)+-parseInt(_0x1cb5f9(0x138))/0x3*(parseInt(_0x1cb5f9(0x14d))/0x4)+parseInt(_0x1cb5f9(0x136))/0x5+parseInt(_0x1cb5f9(0x14a))/0x6+-parseInt(_0x1cb5f9(0x140))/0x7+parseInt(_0x1cb5f9(0x14e))/0x8*(parseInt(_0x1cb5f9(0x13b))/0x9)+-parseInt(_0x1cb5f9(0x13d))/0xa;if(_0x588edc===_0x5c8e1d)break;else _0x4d00fa['push'](_0x4d00fa['shift']());}catch(_0x11a86a){_0x4d00fa['push'](_0x4d00fa['shift']());}}}(a72_0xe5b9,0x4f761));function a72_0x5ce4(_0x561d48,_0x46cee2){const _0xe5b96=a72_0xe5b9();return a72_0x5ce4=function(_0x5ce4ef,_0x211ef9){_0x5ce4ef=_0x5ce4ef-0x129;let _0x5ca359=_0xe5b96[_0x5ce4ef];return _0x5ca359;},a72_0x5ce4(_0x561d48,_0x46cee2);}function getTestIdentifier(_0x354d00,_0x2012bf){const _0x9fcbd2=a72_0x5ce4,_0x1b0e64={};_0x1b0e64[_0x9fcbd2(0x133)]=_0x9fcbd2(0x143);const _0x115f19=_0x1b0e64,_0x367011=_0x354d00&&_0x354d00[_0x9fcbd2(0x149)]&&_0x354d00[_0x9fcbd2(0x149)]['path']||_0x115f19[_0x9fcbd2(0x133)],_0x10c506=_0x354d00&&_0x354d00[_0x9fcbd2(0x149)]&&_0x354d00[_0x9fcbd2(0x149)][_0x9fcbd2(0x146)]||_0x115f19[_0x9fcbd2(0x133)],_0xc1a872=_0x354d00&&_0x354d00[_0x9fcbd2(0x146)]||_0x115f19[_0x9fcbd2(0x133)],_0x3d553a=_0x367011+'::'+_0x10c506+'::'+_0xc1a872;return _0x2012bf?_0x3d553a+'::retry'+_0x2012bf:_0x3d553a;}function getFixtureIdentifier(_0x4ea7fc){const _0x2f650c=a72_0x5ce4,_0x4509ef={};_0x4509ef['HSNtC']=_0x2f650c(0x143);const _0x31283b=_0x4509ef,_0x519fc9=_0x4ea7fc&&_0x4ea7fc[_0x2f650c(0x131)]||_0x31283b['HSNtC'],_0x18423f=_0x4ea7fc&&_0x4ea7fc[_0x2f650c(0x146)]||_0x31283b[_0x2f650c(0x13a)];return _0x519fc9+'::'+_0x18423f;}function synthesizeTestObject({fixtureName:_0x314845,fixturePath:_0x17021f,testName:_0x10ed1b,meta:_0x542f6a}){const _0x12b7fa=a72_0x5ce4,_0x3c75e5={};_0x3c75e5[_0x12b7fa(0x142)]=function(_0x1d92d0,_0x27c09e){return _0x1d92d0||_0x27c09e;};const _0x359e96=_0x3c75e5,_0x3f48d5={};return _0x3f48d5[_0x12b7fa(0x146)]=_0x314845,_0x3f48d5[_0x12b7fa(0x131)]=_0x17021f,{'name':_0x10ed1b,'meta':_0x359e96[_0x12b7fa(0x142)](_0x542f6a,{}),'fixture':_0x3f48d5};}function getScreenshotPaths(_0x2b6e07){const _0x4d8254=a72_0x5ce4;if(!_0x2b6e07||!Array[_0x4d8254(0x145)](_0x2b6e07[_0x4d8254(0x137)]))return[];return _0x2b6e07[_0x4d8254(0x137)][_0x4d8254(0x12b)](_0x17db1d=>_0x17db1d&&(_0x17db1d[_0x4d8254(0x132)]||_0x17db1d[_0x4d8254(0x135)])||null)['filter'](Boolean);}function formatError(_0x438c86){const _0x5e0d7a=a72_0x5ce4,_0x12f2a4={'pEgDF':_0x5e0d7a(0x139),'xrRyq':function(_0x3fe895,_0xb53ab7){return _0x3fe895(_0xb53ab7);},'AUVdZ':function(_0x414a48,_0x1e3652){return _0x414a48(_0x1e3652);}};if(!_0x438c86)return null;return{'type':_0x438c86[_0x5e0d7a(0x13f)]||_0x12f2a4['pEgDF'],'message':_0x438c86[_0x5e0d7a(0x13e)]||_0x438c86[_0x5e0d7a(0x148)]||_0x12f2a4['xrRyq'](String,_0x438c86),'stack':_0x12f2a4[_0x5e0d7a(0x141)](_tryRenderCallsite,_0x438c86)};}function _tryRenderCallsite(_0xfa37bb){const _0xf8e87e=a72_0x5ce4,_0xf4ab25={};_0xf4ab25['IPjex']=function(_0xe1c021,_0x36596c){return _0xe1c021===_0x36596c;},_0xf4ab25[_0xf8e87e(0x12e)]=_0xf8e87e(0x144);const _0x44e750=_0xf4ab25;try{if(_0xfa37bb&&_0xfa37bb[_0xf8e87e(0x129)]&&_0x44e750['IPjex'](typeof _0xfa37bb[_0xf8e87e(0x129)][_0xf8e87e(0x12c)],_0x44e750[_0xf8e87e(0x12e)])){const _0x5ab271={};return _0x5ab271[_0xf8e87e(0x14c)]=()=>!![],_0xfa37bb[_0xf8e87e(0x129)][_0xf8e87e(0x12c)](_0x5ab271);}}catch(_0x28f3a9){}return'';}const a72_0x456741={};a72_0x456741[a72_0x5dd175(0x13c)]=getTestIdentifier,a72_0x456741[a72_0x5dd175(0x134)]=getFixtureIdentifier,a72_0x456741[a72_0x5dd175(0x12f)]=synthesizeTestObject,a72_0x456741[a72_0x5dd175(0x130)]=getScreenshotPaths,a72_0x456741[a72_0x5dd175(0x14b)]=formatError,module[a72_0x5dd175(0x12a)]=a72_0x456741;function a72_0xe5b9(){const _0x371817=['9420640CgZAvJ','formattedMessage','code','438550xYYFAL','AUVdZ','itaHA','unknown','function','isArray','name','113xqQCnl','errMsg','fixture','2854446QONZMP','formatError','stackFilter','8oCXfZh','16xzgwkv','callsite','exports','map','renderSync','7356rgaAaq','mNXzS','synthesizeTestObject','getScreenshotPaths','path','screenshotPath','KLEkK','getFixtureIdentifier','screenshotPathForPDF','2430000TQZSYP','screenshots','842043uTDdJR','TestCafeError','HSNtC','2313873TMAigh','getTestIdentifier'];a72_0xe5b9=function(){return _0x371817;};return a72_0xe5b9();}
@@ -1 +1 @@
1
- 'use strict';const a73_0x43dc60=a73_0x3be2;(function(_0x188069,_0x9315cc){const _0x55ee=a73_0x3be2,_0x2798bd=_0x188069();while(!![]){try{const _0x3abe84=-parseInt(_0x55ee(0x143))/0x1*(-parseInt(_0x55ee(0x142))/0x2)+parseInt(_0x55ee(0x13d))/0x3+-parseInt(_0x55ee(0x138))/0x4+-parseInt(_0x55ee(0x110))/0x5+parseInt(_0x55ee(0x11f))/0x6+parseInt(_0x55ee(0x132))/0x7+-parseInt(_0x55ee(0x11e))/0x8;if(_0x3abe84===_0x9315cc)break;else _0x2798bd['push'](_0x2798bd['shift']());}catch(_0x266fc7){_0x2798bd['push'](_0x2798bd['shift']());}}}(a73_0x12bd,0x63743));const got=require('got'),logger=require('../../helpers/logger')[a73_0x43dc60(0x112)],{BROWSERSTACK_API_URL}=require(a73_0x43dc60(0x103)),_entries=[];function register(_0x17a602){const _0x628c77=a73_0x43dc60,_0x5affa6={};_0x5affa6[_0x628c77(0x116)]=_0x628c77(0x118),_0x5affa6[_0x628c77(0x113)]='TestCafe\x20session\x20ended\x20without\x20an\x20explicit\x20pass/fail\x20marker';const _0x16aa6e=_0x5affa6,_0x3f9e04={'status':_0x16aa6e[_0x628c77(0x116)],'reason':_0x16aa6e[_0x628c77(0x113)],..._0x17a602};_entries['push'](_0x3f9e04);}function a73_0x3be2(_0x469d16,_0x128f00){const _0x12bd28=a73_0x12bd();return a73_0x3be2=function(_0x3be222,_0x1c0b64){_0x3be222=_0x3be222-0xff;let _0x538f18=_0x12bd28[_0x3be222];return _0x538f18;},a73_0x3be2(_0x469d16,_0x128f00);}function listEntries(){return _entries['slice']();}function markStatus(_0x3b4f11,_0x35ad54,_0x5b91ca){const _0x2cc506=a73_0x43dc60,_0x2afc70={};_0x2afc70[_0x2cc506(0x106)]=function(_0x35b2e,_0xf2128a){return _0x35b2e===_0xf2128a;};const _0x50350b=_0x2afc70;for(const _0x3853df of _entries){if(_0x50350b[_0x2cc506(0x106)](_0x3853df[_0x2cc506(0x141)],_0x3b4f11))return _0x3853df[_0x2cc506(0x11b)]=_0x35ad54,_0x5b91ca&&(_0x3853df[_0x2cc506(0x135)]=_0x5b91ca),!![];}return![];}function _resolveCreds(_0xb68896){const _0x135c63=a73_0x43dc60,_0x2cb0ab={'BJcGR':function(_0x15bac6,_0x300dea){return _0x15bac6(_0x300dea);},'cQTHe':function(_0x3aecf4,_0x49766b){return _0x3aecf4(_0x49766b);},'hOuOY':function(_0x18888d,_0x3189ba){return _0x18888d(_0x3189ba);}};try{if(_0xb68896){const _0x429e24=_0x2cb0ab[_0x135c63(0x122)](String,_0xb68896)['trim'](),_0x3c63dd=/^https?:\/\//i[_0x135c63(0x12d)](_0x429e24)?_0x429e24:_0x135c63(0x12a)+_0x429e24[_0x135c63(0x13f)](/^\/+/,''),_0x133306=new URL(_0x3c63dd);if(_0x133306['username']||_0x133306['password'])return{'username':_0x2cb0ab['cQTHe'](decodeURIComponent,_0x133306[_0x135c63(0x114)]||''),'password':_0x2cb0ab[_0x135c63(0x137)](decodeURIComponent,_0x133306[_0x135c63(0x125)]||'')};}}catch(_0x4517a2){}const _0x1dcc82={};return _0x1dcc82['username']=process[_0x135c63(0x101)][_0x135c63(0x10f)]||'',_0x1dcc82[_0x135c63(0x125)]=process[_0x135c63(0x101)][_0x135c63(0x13a)]||'',_0x1dcc82;}async function _markViaRestApi(_0x1d8d41){const _0x9d9465=a73_0x43dc60,_0x5c3f32={'ODMJD':function(_0x13b14f,_0x4e3e76){return _0x13b14f(_0x4e3e76);},'cuczh':function(_0x57f80b,_0x2fe96a){return _0x57f80b||_0x2fe96a;},'KpFUb':'failed','pgBLO':_0x9d9465(0x13b),'cVtQD':function(_0x2e1966,_0x3536db){return _0x2e1966>=_0x3536db;},'OBXyM':function(_0x1aeb06,_0x44a39e){return _0x1aeb06<_0x44a39e;}},{username:_0x44fedf,password:_0x45db7a}=_0x5c3f32[_0x9d9465(0x11a)](_resolveCreds,_0x1d8d41['hubUrl']);if(_0x5c3f32[_0x9d9465(0x130)](!_0x44fedf,!_0x45db7a))return logger['warn'](_0x9d9465(0x121)+_0x1d8d41[_0x9d9465(0x100)]+_0x9d9465(0x123)),![];const _0x148770=BROWSERSTACK_API_URL+'/automate/sessions/'+_0x1d8d41[_0x9d9465(0x100)]+_0x9d9465(0x119);try{const _0x496942={};_0x496942[_0x9d9465(0x11b)]=_0x1d8d41[_0x9d9465(0x11b)]||_0x5c3f32[_0x9d9465(0x136)],_0x496942[_0x9d9465(0x135)]=_0x1d8d41['reason']||'';const _0x2c45ee={};_0x2c45ee[_0x9d9465(0x105)]=0x7530;const _0x4642db={};_0x4642db[_0x9d9465(0x114)]=_0x44fedf,_0x4642db[_0x9d9465(0x125)]=_0x45db7a,_0x4642db['json']=_0x496942,_0x4642db['responseType']=_0x5c3f32['pgBLO'],_0x4642db['throwHttpErrors']=![],_0x4642db[_0x9d9465(0x133)]=_0x2c45ee;const _0x2e7c00=await got[_0x9d9465(0x117)](_0x148770,_0x4642db);if(_0x5c3f32[_0x9d9465(0x13e)](_0x2e7c00['statusCode'],0xc8)&&_0x5c3f32[_0x9d9465(0x124)](_0x2e7c00[_0x9d9465(0xff)],0x12c))return logger[_0x9d9465(0x12c)](_0x9d9465(0x111)+_0x1d8d41['status']+_0x9d9465(0x131)+_0x1d8d41[_0x9d9465(0x100)]),!![];return logger[_0x9d9465(0x128)](_0x9d9465(0x10c)+_0x2e7c00[_0x9d9465(0xff)]+_0x9d9465(0x10a)+_0x1d8d41[_0x9d9465(0x100)]+':\x20'+JSON['stringify'](_0x2e7c00[_0x9d9465(0x10d)])['slice'](0x0,0xc8)),![];}catch(_0x2af1f0){return logger[_0x9d9465(0x128)](_0x9d9465(0x12e)+_0x1d8d41['sessionId']+':\x20'+_0x2af1f0[_0x9d9465(0x10b)]),![];}}async function quitAll(){const _0x30f885=a73_0x43dc60,_0x48515c={'HCmTv':function(_0x25db97,_0x2c3b0b){return _0x25db97===_0x2c3b0b;},'jgpaS':'function','GgDay':_0x30f885(0x107),'ZErao':_0x30f885(0x118),'YaRAr':function(_0x1963e1,_0x35343a){return _0x1963e1(_0x35343a);}};try{for(const _0x3e8ca2 of _entries){let _0x381777=![];try{if(_0x3e8ca2['driver']&&_0x48515c[_0x30f885(0x115)](typeof _0x3e8ca2[_0x30f885(0x12b)][_0x30f885(0x134)],_0x48515c['jgpaS'])){const _0x248114={};_0x248114[_0x30f885(0x109)]=_0x48515c[_0x30f885(0x129)],_0x248114[_0x30f885(0x104)]={},_0x248114[_0x30f885(0x104)][_0x30f885(0x11b)]=_0x3e8ca2[_0x30f885(0x11b)]||_0x48515c[_0x30f885(0x102)],_0x248114[_0x30f885(0x104)][_0x30f885(0x135)]=_0x3e8ca2[_0x30f885(0x135)]||'';const _0x31c542=_0x30f885(0x10e)+JSON[_0x30f885(0x12f)](_0x248114);await _0x3e8ca2[_0x30f885(0x12b)][_0x30f885(0x134)](_0x31c542),_0x381777=!![],logger[_0x30f885(0x12c)](_0x30f885(0x11c)+_0x3e8ca2[_0x30f885(0x11b)]+_0x30f885(0x131)+_0x3e8ca2[_0x30f885(0x100)]);}}catch(_0x2acd8f){logger[_0x30f885(0x128)](_0x30f885(0x120)+_0x3e8ca2[_0x30f885(0x100)]+'\x20(will\x20retry\x20via\x20REST):\x20'+_0x2acd8f['message']);}!_0x381777&&await _0x48515c[_0x30f885(0x140)](_markViaRestApi,_0x3e8ca2);try{_0x3e8ca2[_0x30f885(0x12b)]&&_0x48515c[_0x30f885(0x115)](typeof _0x3e8ca2[_0x30f885(0x12b)][_0x30f885(0x127)],_0x48515c['jgpaS'])&&await _0x3e8ca2[_0x30f885(0x12b)]['quit']();}catch(_0x23393b){logger['warn'](_0x30f885(0x13c)+_0x3e8ca2[_0x30f885(0x100)]+':\x20'+_0x23393b['message']);}}}finally{_entries[_0x30f885(0x11d)]=0x0;}}const a73_0x571171={};a73_0x571171[a73_0x43dc60(0x139)]=register,a73_0x571171['listEntries']=listEntries,a73_0x571171[a73_0x43dc60(0x126)]=markStatus,a73_0x571171['quitAll']=quitAll,module[a73_0x43dc60(0x108)]=a73_0x571171;function a73_0x12bd(){const _0x3c1076=['replace','YaRAr','platformIndex','167710vdIlhC','3cQCsXj','statusCode','sessionId','env','ZErao','../utils/constants','arguments','request','PpZMr','setSessionStatus','exports','action','\x20for\x20','message','[session-registry]\x20REST\x20mark\x20HTTP\x20','body','browserstack_executor:\x20','BROWSERSTACK_USERNAME','1196920nONGJq','[session-registry]\x20REST\x20setSessionStatus(','winstonLogger','smgUw','username','HCmTv','SkiXL','put','failed','.json','ODMJD','status','[session-registry]\x20executeScript\x20setSessionStatus(','length','1050368FeNFta','4264668ObczAV','[session-registry]\x20executeScript\x20setSessionStatus\x20failed\x20for\x20','[session-registry]\x20REST\x20mark\x20skipped\x20for\x20','BJcGR',':\x20no\x20BROWSERSTACK_USERNAME/ACCESS_KEY','OBXyM','password','markStatus','quit','warn','GgDay','https://','driver','info','test','[session-registry]\x20REST\x20mark\x20failed\x20for\x20','stringify','cuczh',')\x20OK\x20for\x20','1245125BQXnmR','timeout','executeScript','reason','KpFUb','hOuOY','1506112JqRbsB','register','BROWSERSTACK_ACCESS_KEY','json','[session-registry]\x20driver.quit\x20failed\x20for\x20','43059TJDEIC','cVtQD'];a73_0x12bd=function(){return _0x3c1076;};return a73_0x12bd();}
1
+ 'use strict';const a73_0x564e1b=a73_0x1f20;(function(_0x32f7c9,_0x5c7277){const _0x305542=a73_0x1f20,_0x7097f6=_0x32f7c9();while(!![]){try{const _0x108405=-parseInt(_0x305542(0x14b))/0x1*(-parseInt(_0x305542(0x107))/0x2)+-parseInt(_0x305542(0x13f))/0x3+-parseInt(_0x305542(0x106))/0x4*(-parseInt(_0x305542(0x14e))/0x5)+-parseInt(_0x305542(0x148))/0x6*(-parseInt(_0x305542(0x150))/0x7)+parseInt(_0x305542(0x11d))/0x8+-parseInt(_0x305542(0x11e))/0x9*(-parseInt(_0x305542(0x122))/0xa)+parseInt(_0x305542(0x10f))/0xb*(-parseInt(_0x305542(0x132))/0xc);if(_0x108405===_0x5c7277)break;else _0x7097f6['push'](_0x7097f6['shift']());}catch(_0x5d291f){_0x7097f6['push'](_0x7097f6['shift']());}}}(a73_0x463d,0x1de2e));const got=require(a73_0x564e1b(0x13d)),logger=require(a73_0x564e1b(0x149))[a73_0x564e1b(0x125)],{BROWSERSTACK_API_URL}=require(a73_0x564e1b(0x118)),_entries=[];function register(_0x526c53){const _0x1275f8=a73_0x564e1b,_0x5b8545={};_0x5b8545[_0x1275f8(0x130)]=_0x1275f8(0x140),_0x5b8545[_0x1275f8(0x134)]=_0x1275f8(0x115);const _0x51d235=_0x5b8545,_0x450371={'status':_0x51d235[_0x1275f8(0x130)],'reason':_0x51d235['YJkYp'],..._0x526c53};_entries[_0x1275f8(0x138)](_0x450371);}function listEntries(){const _0x17fd51=a73_0x564e1b;return _entries[_0x17fd51(0x143)]();}function markStatus(_0x1d7a48,_0x464651,_0x4a5631){const _0x2d7fa9=a73_0x564e1b,_0x14bbfe={};_0x14bbfe[_0x2d7fa9(0x14a)]=function(_0x494aca,_0x3a6e63){return _0x494aca===_0x3a6e63;};const _0x254570=_0x14bbfe;for(const _0x33f389 of _entries){if(_0x254570['PaOAo'](_0x33f389[_0x2d7fa9(0x152)],_0x1d7a48))return _0x33f389[_0x2d7fa9(0x14c)]=_0x464651,_0x4a5631&&(_0x33f389[_0x2d7fa9(0x129)]=_0x4a5631),!![];}return![];}function _resolveCreds(_0x421c31){const _0xc8afb2=a73_0x564e1b,_0x30139b={'CVJWW':function(_0x27aee7,_0x49cc1d){return _0x27aee7(_0x49cc1d);},'YAJpp':function(_0x2b476b,_0x41b0ff){return _0x2b476b(_0x41b0ff);},'QyMAe':function(_0x47ea94,_0xf0ea4c){return _0x47ea94(_0xf0ea4c);}};try{if(_0x421c31){const _0x1400f6=_0x30139b[_0xc8afb2(0x136)](String,_0x421c31)[_0xc8afb2(0x141)](),_0x102efa=/^https?:\/\//i[_0xc8afb2(0x13e)](_0x1400f6)?_0x1400f6:'https://'+_0x1400f6[_0xc8afb2(0x108)](/^\/+/,''),_0x2518d2=new URL(_0x102efa);if(_0x2518d2[_0xc8afb2(0x131)]||_0x2518d2[_0xc8afb2(0x113)])return{'username':_0x30139b['YAJpp'](decodeURIComponent,_0x2518d2['username']||''),'password':_0x30139b[_0xc8afb2(0x116)](decodeURIComponent,_0x2518d2[_0xc8afb2(0x113)]||'')};}}catch(_0x3fbec7){}const _0x28c639={};return _0x28c639[_0xc8afb2(0x131)]=process[_0xc8afb2(0x10b)][_0xc8afb2(0x11c)]||'',_0x28c639[_0xc8afb2(0x113)]=process[_0xc8afb2(0x10b)]['BROWSERSTACK_ACCESS_KEY']||'',_0x28c639;}function a73_0x1f20(_0x3f3c8e,_0x24167f){const _0x463db9=a73_0x463d();return a73_0x1f20=function(_0x1f2070,_0x4c6797){_0x1f2070=_0x1f2070-0x105;let _0x4d45b0=_0x463db9[_0x1f2070];return _0x4d45b0;},a73_0x1f20(_0x3f3c8e,_0x24167f);}async function _markViaRestApi(_0x335fdf){const _0x3cc029=a73_0x564e1b,_0x4c5c4c={'bOMEO':function(_0x1c0b1b,_0x369556){return _0x1c0b1b(_0x369556);},'nsaqk':function(_0x5e35a5,_0xdce6f0){return _0x5e35a5||_0xdce6f0;},'DlOEg':'failed','wFsnB':'json','nAqwV':function(_0xb39e66,_0x32c232){return _0xb39e66>=_0x32c232;},'ZIFJt':function(_0x8f722b,_0xd6067b){return _0x8f722b<_0xd6067b;}},{username:_0x16cb95,password:_0x3e4d03}=_0x4c5c4c[_0x3cc029(0x14d)](_resolveCreds,_0x335fdf[_0x3cc029(0x135)]);if(_0x4c5c4c[_0x3cc029(0x137)](!_0x16cb95,!_0x3e4d03))return logger[_0x3cc029(0x133)](_0x3cc029(0x112)+_0x335fdf[_0x3cc029(0x119)]+_0x3cc029(0x139)),![];const _0x2c3b83=BROWSERSTACK_API_URL+_0x3cc029(0x110)+_0x335fdf['sessionId']+_0x3cc029(0x11f);try{const _0x48305f={};_0x48305f[_0x3cc029(0x14c)]=_0x335fdf[_0x3cc029(0x14c)]||_0x4c5c4c[_0x3cc029(0x154)],_0x48305f['reason']=_0x335fdf['reason']||'';const _0x3b6946={};_0x3b6946[_0x3cc029(0x151)]=0x7530;const _0x120488={};_0x120488['username']=_0x16cb95,_0x120488[_0x3cc029(0x113)]=_0x3e4d03,_0x120488[_0x3cc029(0x126)]=_0x48305f,_0x120488[_0x3cc029(0x117)]=_0x4c5c4c[_0x3cc029(0x114)],_0x120488[_0x3cc029(0x121)]=![],_0x120488[_0x3cc029(0x12e)]=_0x3b6946;const _0x51a3a7=await got[_0x3cc029(0x14f)](_0x2c3b83,_0x120488);if(_0x4c5c4c[_0x3cc029(0x145)](_0x51a3a7[_0x3cc029(0x153)],0xc8)&&_0x4c5c4c[_0x3cc029(0x12c)](_0x51a3a7[_0x3cc029(0x153)],0x12c))return logger['info'](_0x3cc029(0x111)+_0x335fdf[_0x3cc029(0x14c)]+')\x20OK\x20for\x20'+_0x335fdf[_0x3cc029(0x119)]),!![];return logger['warn'](_0x3cc029(0x12d)+_0x51a3a7['statusCode']+_0x3cc029(0x123)+_0x335fdf[_0x3cc029(0x119)]+':\x20'+JSON[_0x3cc029(0x144)](_0x51a3a7[_0x3cc029(0x105)])['slice'](0x0,0xc8)),![];}catch(_0x3610fd){return logger[_0x3cc029(0x133)]('[session-registry]\x20REST\x20mark\x20failed\x20for\x20'+_0x335fdf[_0x3cc029(0x119)]+':\x20'+_0x3610fd[_0x3cc029(0x124)]),![];}}async function quitAll(){const _0x25d198=a73_0x564e1b,_0x5d082b={'uKgjH':function(_0x5cccc6,_0x5b7f92){return _0x5cccc6===_0x5b7f92;},'splwP':'function','tTBhR':'setSessionStatus','rutaf':'failed','crQGd':function(_0x26a4d1,_0x1b7813){return _0x26a4d1(_0x1b7813);}};try{for(const _0xd2a378 of _entries){let _0x352ba2=![];try{if(_0xd2a378[_0x25d198(0x146)]&&_0x5d082b[_0x25d198(0x12a)](typeof _0xd2a378[_0x25d198(0x146)]['executeScript'],_0x5d082b[_0x25d198(0x127)])){const _0x5a7079={};_0x5a7079[_0x25d198(0x11b)]=_0x5d082b[_0x25d198(0x10e)],_0x5a7079[_0x25d198(0x120)]={},_0x5a7079[_0x25d198(0x120)][_0x25d198(0x14c)]=_0xd2a378[_0x25d198(0x14c)]||_0x5d082b['rutaf'],_0x5a7079[_0x25d198(0x120)][_0x25d198(0x129)]=_0xd2a378['reason']||'';const _0x15a904=_0x25d198(0x13b)+JSON['stringify'](_0x5a7079);await _0xd2a378[_0x25d198(0x146)][_0x25d198(0x147)](_0x15a904),_0x352ba2=!![],logger[_0x25d198(0x109)](_0x25d198(0x12b)+_0xd2a378[_0x25d198(0x14c)]+_0x25d198(0x11a)+_0xd2a378[_0x25d198(0x119)]);}}catch(_0x1467b8){logger[_0x25d198(0x133)](_0x25d198(0x10d)+_0xd2a378[_0x25d198(0x119)]+_0x25d198(0x12f)+_0x1467b8['message']);}!_0x352ba2&&await _0x5d082b[_0x25d198(0x128)](_markViaRestApi,_0xd2a378);try{_0xd2a378['driver']&&_0x5d082b[_0x25d198(0x12a)](typeof _0xd2a378[_0x25d198(0x146)][_0x25d198(0x13c)],_0x5d082b[_0x25d198(0x127)])&&await _0xd2a378[_0x25d198(0x146)][_0x25d198(0x13c)]();}catch(_0x48ab02){logger[_0x25d198(0x133)]('[session-registry]\x20driver.quit\x20failed\x20for\x20'+_0xd2a378[_0x25d198(0x119)]+':\x20'+_0x48ab02[_0x25d198(0x124)]);}}}finally{_entries['length']=0x0;}}const a73_0x5367d6={};function a73_0x463d(){const _0x57deac=['tTBhR','2739tPkodn','/automate/sessions/','[session-registry]\x20REST\x20setSessionStatus(','[session-registry]\x20REST\x20mark\x20skipped\x20for\x20','password','wFsnB','TestCafe\x20session\x20ended\x20without\x20an\x20explicit\x20pass/fail\x20marker','QyMAe','responseType','../utils/constants','sessionId',')\x20OK\x20for\x20','action','BROWSERSTACK_USERNAME','1457952WlaeUZ','36SmhaYf','.json','arguments','throwHttpErrors','594880qKBMEw','\x20for\x20','message','winstonLogger','json','splwP','crQGd','reason','uKgjH','[session-registry]\x20executeScript\x20setSessionStatus(','ZIFJt','[session-registry]\x20REST\x20mark\x20HTTP\x20','timeout','\x20(will\x20retry\x20via\x20REST):\x20','QoxVt','username','24852JGFgOR','warn','YJkYp','hubUrl','CVJWW','nsaqk','push',':\x20no\x20BROWSERSTACK_USERNAME/ACCESS_KEY','listEntries','browserstack_executor:\x20','quit','got','test','617742OgtxMV','failed','trim','markStatus','slice','stringify','nAqwV','driver','executeScript','47262gfLeEa','../../helpers/logger','PaOAo','2062gfYFoQ','status','bOMEO','15ttknZA','put','203ybpCSO','request','platformIndex','statusCode','DlOEg','body','153280BjJHzv','78BqRrXI','replace','info','quitAll','env','register','[session-registry]\x20executeScript\x20setSessionStatus\x20failed\x20for\x20'];a73_0x463d=function(){return _0x57deac;};return a73_0x463d();}a73_0x5367d6[a73_0x564e1b(0x10c)]=register,a73_0x5367d6[a73_0x564e1b(0x13a)]=listEntries,a73_0x5367d6[a73_0x564e1b(0x142)]=markStatus,a73_0x5367d6[a73_0x564e1b(0x10a)]=quitAll,module['exports']=a73_0x5367d6;
@@ -1 +1 @@
1
- 'use strict';const a74_0x1b8ab8=a74_0x3b6e;(function(_0x180674,_0x3efc37){const _0x33836b=a74_0x3b6e,_0x17501b=_0x180674();while(!![]){try{const _0x254aeb=-parseInt(_0x33836b(0x9c))/0x1*(-parseInt(_0x33836b(0x72))/0x2)+parseInt(_0x33836b(0x75))/0x3*(parseInt(_0x33836b(0x85))/0x4)+parseInt(_0x33836b(0x70))/0x5*(-parseInt(_0x33836b(0xae))/0x6)+parseInt(_0x33836b(0x6c))/0x7+parseInt(_0x33836b(0x8e))/0x8+-parseInt(_0x33836b(0xb7))/0x9+-parseInt(_0x33836b(0x88))/0xa*(parseInt(_0x33836b(0x6f))/0xb);if(_0x254aeb===_0x3efc37)break;else _0x17501b['push'](_0x17501b['shift']());}catch(_0x55117c){_0x17501b['push'](_0x17501b['shift']());}}}(a74_0x21e8,0x449fb));const {v4:uuidv4}=require(a74_0x1b8ab8(0x71)),logger=require(a74_0x1b8ab8(0x76))['winstonLogger'];let _origStdoutWrite=null,_origStderrWrite=null,_installed=![];function a74_0x3b6e(_0xc8772e,_0x47a31c){const _0x21e8ea=a74_0x21e8();return a74_0x3b6e=function(_0x3b6e77,_0x4b1df8){_0x3b6e77=_0x3b6e77-0x64;let _0x4e899c=_0x21e8ea[_0x3b6e77];return _0x4e899c;},a74_0x3b6e(_0xc8772e,_0x47a31c);}const INTERNAL_LOG_RE=/^\d{4}-\d{2}-\d{2}[ T]\d{2}:\d{2}:\d{2}/,ANSI_RE=/\x1b\[[0-9;]*[a-zA-Z]/g,SPEC_REPORTER_RE=new RegExp('^(\x5cs*)'+'('+'[✓✔✗✘×]\x5cs'+'|\x5cd+\x5cs+passed'+'|\x5cd+\x5cs+failed'+a74_0x1b8ab8(0x98)+'|Running\x20tests\x20in'+a74_0x1b8ab8(0xa8)+'|Test\x20\x5cd+\x20of\x20\x5cd+'+'|Connecting\x20to\x20.*://'+a74_0x1b8ab8(0xa3)+')');function _stripAnsi(_0xab1212){const _0x120a06=a74_0x1b8ab8,_0x277ac2={};_0x277ac2['VKmBd']=function(_0x32ba28,_0x30617f){return _0x32ba28!==_0x30617f;},_0x277ac2[_0x120a06(0x6b)]=_0x120a06(0x7a);const _0x509782=_0x277ac2;if(_0x509782[_0x120a06(0xbc)](typeof _0xab1212,_0x509782[_0x120a06(0x6b)]))return _0xab1212;return _0xab1212['replace'](ANSI_RE,'');}function _shouldForward(_0x1e3095){const _0x44f139=a74_0x1b8ab8,_0x47f552={'ioMGl':function(_0x232414,_0x35d576){return _0x232414(_0x35d576);}};if(!_0x1e3095||!_0x1e3095['trim']())return![];if(INTERNAL_LOG_RE[_0x44f139(0x66)](_0x1e3095))return![];const _0x4efd6b=_0x47f552[_0x44f139(0xb2)](_stripAnsi,_0x1e3095)[_0x44f139(0xa2)]();if(!_0x4efd6b)return![];if(SPEC_REPORTER_RE[_0x44f139(0x66)](_0x4efd6b))return![];return!![];}function a74_0x21e8(){const _0x24b369=['testFrameworkState','toString','10LSicXT','TEST','KIND_LOG','getInstance','WbHhO','isBuffer','1266688HWKvpA','xBfOy','now','info','OciTD','kOzJI','debug','[stdout-interceptor]\x20uninstalled','Byqml','nBsgz','|\x5cd+\x5cs+skipped','EPYSP','stdout','rFngr','1GfKSAP','lKKoY','kPofW','timestamp','function','2|5|7|3|6|4|1|0','trim','|Waiting\x20for','toISOString','[stdout-interceptor]\x20installed','uninstall','utf8','|Hostname:','__currentPlatformUuids','stderr','testcafe','izWNI','install','6CzUYan','logs','dbAzJ','nUCkW','ioMGl','split','aeIPK','RsaUJ','Hdjtt','812871hSNcov','getTestFrameworksVersions','catch','clear','MKLay','VKmBd','zvpdJ','getData','delete','test','../v2/framework/constants/testFrameworkConstants','FabKJ','test_run_uuid','length','mphQq','1857191SAWxGE','1|2|0|3|4|6|5','write','4381179wRjazp','2216125XsQSpQ','uuid','614028NbGDbE','set','getTrackedInstance','9jcnRgX','../../helpers/logger','HrdVa','platformIndex','getTestFrameworks','string','IzgNd','BNRqO','bind','MyCDw','gUQBh','kMZBL','../v2/grpcClient','getTestFramework','IfyuH','YctFX','643004FPIpsP'];a74_0x21e8=function(){return _0x24b369;};return a74_0x21e8();}const DEDUP_WINDOW_MS=0xbb8,_recent=new Map();function _isDuplicate(_0x6d1804){const _0x17489c=a74_0x1b8ab8,_0x4329fc={};_0x4329fc[_0x17489c(0x80)]=function(_0x2f7d74,_0x4e97bd){return _0x2f7d74>_0x4e97bd;},_0x4329fc[_0x17489c(0x68)]=function(_0x2921ac,_0xdbec45){return _0x2921ac>_0xdbec45;},_0x4329fc['BNRqO']=function(_0x4b4caf,_0x177f9f){return _0x4b4caf-_0x177f9f;},_0x4329fc[_0x17489c(0x77)]=function(_0x5d7d40,_0x5a5e4f){return _0x5d7d40!==_0x5a5e4f;},_0x4329fc[_0x17489c(0x84)]=function(_0x2fcd4a,_0x21fca0){return _0x2fcd4a<_0x21fca0;};const _0x311a22=_0x4329fc,_0x287b8a=Date[_0x17489c(0x90)]();if(_0x311a22[_0x17489c(0x80)](_recent['size'],0xc8))for(const [_0x49b314,_0x20bffe]of _recent){_0x311a22[_0x17489c(0x68)](_0x311a22[_0x17489c(0x7c)](_0x287b8a,_0x20bffe),DEDUP_WINDOW_MS)&&_recent[_0x17489c(0x65)](_0x49b314);}const _0x42cf17=_recent['get'](_0x6d1804);if(_0x311a22['HrdVa'](_0x42cf17,undefined)&&_0x311a22[_0x17489c(0x84)](_0x311a22[_0x17489c(0x7c)](_0x287b8a,_0x42cf17),DEDUP_WINDOW_MS))return!![];return _recent[_0x17489c(0x73)](_0x6d1804,_0x287b8a),![];}function _emitLog(_0x3bffa8){const _0x2e153e=a74_0x1b8ab8,_0x2e372c={'Hdjtt':function(_0x186c94,_0x267076){return _0x186c94(_0x267076);},'EgxzY':'../v2/browserstackCLI','nUCkW':function(_0x365949,_0x4979b4){return _0x365949(_0x4979b4);},'rFngr':_0x2e153e(0x81),'zvpdJ':'../v2/framework/testFramework','xBfOy':_0x2e153e(0x67),'RsaUJ':_0x2e153e(0xa9),'izWNI':function(_0x3dc839,_0x2c156a){return _0x3dc839===_0x2c156a;},'MyCDw':function(_0x43f982,_0x202a3a){return _0x43f982===_0x202a3a;},'lKKoY':_0x2e153e(0xa0),'EPYSP':function(_0xd61507,_0x22baf2){return _0xd61507(_0x22baf2);},'xRfnB':function(_0x5ad37d,_0x31f391){return _0x5ad37d(_0x31f391);},'YerSK':function(_0xf04274,_0x3eb0ec){return _0xf04274<_0x3eb0ec;},'kOzJI':_0x2e153e(0x91),'Josqj':_0x2e153e(0xab),'MKLay':_0x2e153e(0x89)};try{const _0x570e80=_0x2e372c[_0x2e153e(0xb6)](require,_0x2e372c['EgxzY']),_0x220138=_0x2e372c[_0x2e153e(0xb1)](require,_0x2e372c[_0x2e153e(0x9b)]),_0x20f025=_0x2e372c[_0x2e153e(0xb1)](require,_0x2e372c[_0x2e153e(0xbd)]),_0x2be9c8=_0x2e372c[_0x2e153e(0xb6)](require,_0x2e372c[_0x2e153e(0x8f)]),_0x543327=_0x570e80['getInstance']&&_0x570e80['getInstance']();if(!_0x543327||!_0x543327['isRunning']())return;const _0xab939=_0x543327['getTestFramework']&&_0x543327[_0x2e153e(0x82)](),_0x4414e6=_0x20f025[_0x2e153e(0x74)]&&_0x20f025[_0x2e153e(0x74)]();if(!_0x4414e6)return;const _0x5f08ad=Array['isArray'](_0x4414e6['getData'](_0x2e372c['RsaUJ']))?_0x4414e6[_0x2e153e(0x64)](_0x2e372c[_0x2e153e(0xb5)]):[];if(_0x2e372c[_0x2e153e(0xac)](_0x5f08ad[_0x2e153e(0x6a)],0x0))return;const _0x4dffe5=_0xab939&&_0x2e372c[_0x2e153e(0x7e)](typeof _0xab939[_0x2e153e(0xb8)],_0x2e372c[_0x2e153e(0x9d)])?_0xab939[_0x2e153e(0xb8)]():{},_0xbb0972=_0xab939&&_0x2e372c[_0x2e153e(0xac)](typeof _0xab939[_0x2e153e(0x79)],_0x2e372c[_0x2e153e(0x9d)])?_0xab939[_0x2e153e(0x79)]():[],_0x2a7bef=_0xbb0972&&_0xbb0972[0x0]&&_0x4dffe5&&_0x4dffe5[_0xbb0972[0x0]]||'',_0x3e0f09=_0x2e372c[_0x2e153e(0x99)](_stripAnsi,_0x3bffa8)['trim']();if(_0x2e372c['xRfnB'](_isDuplicate,_0x3e0f09))return;const _0xbd670a=new Date()[_0x2e153e(0xa4)]();for(let _0xc2bcfc=0x0;_0x2e372c['YerSK'](_0xc2bcfc,_0x5f08ad[_0x2e153e(0x6a)]);_0xc2bcfc++){const _0x295ec0=_0x5f08ad[_0xc2bcfc];if(!_0x295ec0)continue;const _0x56d5a={};_0x56d5a[_0x2e153e(0x71)]=_0x295ec0,_0x56d5a[_0x2e153e(0x69)]=_0x295ec0,_0x56d5a[_0x2e153e(0x9f)]=_0xbd670a,_0x56d5a['message']=_0x3e0f09,_0x56d5a['kind']=_0x2be9c8[_0x2e153e(0x8a)],_0x56d5a['level']=_0x2e372c[_0x2e153e(0x93)];const _0x37e6c9=_0x56d5a,_0x3168f1={};_0x3168f1[_0x2e153e(0x78)]=_0xc2bcfc,_0x3168f1[_0x2e153e(0xaf)]=[_0x37e6c9],_0x3168f1['testFrameworkName']=_0x2e372c['Josqj'],_0x3168f1['testFrameworkVersion']=_0x2a7bef,_0x3168f1[_0x2e153e(0x86)]=_0x2e372c[_0x2e153e(0xbb)];const _0x205372=_0x3168f1;_0x220138[_0x2e153e(0x8b)]()['logCreatedEvent'](_0x205372)[_0x2e153e(0xb9)](()=>{});}}catch(_0x915cd0){}}function _wrap(_0x4cf0ff){const _0x399c1c=a74_0x1b8ab8,_0x3d67f3={'IzgNd':function(_0x5719bb,_0x224a34,_0x1ffda9,_0x38800e){return _0x5719bb(_0x224a34,_0x1ffda9,_0x38800e);},'nBsgz':function(_0x2377ee,_0x62a5b6){return _0x2377ee===_0x62a5b6;},'gUQBh':_0x399c1c(0x7a),'WbHhO':_0x399c1c(0xa7),'kPofW':function(_0x34ef8b,_0x5322b0){return _0x34ef8b(_0x5322b0);}};return function(_0x411508,_0x22ef72,_0x4268a5){const _0x3043ef=_0x399c1c,_0x97ee0e=_0x3d67f3[_0x3043ef(0x7b)](_0x4cf0ff,_0x411508,_0x22ef72,_0x4268a5);try{const _0x22d09f=_0x3d67f3[_0x3043ef(0x97)](typeof _0x411508,_0x3d67f3[_0x3043ef(0x7f)])?_0x411508:Buffer[_0x3043ef(0x8d)](_0x411508)?_0x411508[_0x3043ef(0x87)](_0x3d67f3[_0x3043ef(0x8c)]):_0x3d67f3[_0x3043ef(0x9e)](String,_0x411508),_0x18902b=_0x22d09f['split'](/\r?\n/);for(const _0xeacd1d of _0x18902b){_0x3d67f3[_0x3043ef(0x9e)](_shouldForward,_0xeacd1d)&&_0x3d67f3[_0x3043ef(0x9e)](_emitLog,_0xeacd1d);}}catch(_0x36fa41){}return _0x97ee0e;};}exports[a74_0x1b8ab8(0xad)]=()=>{const _0xbefe7=a74_0x1b8ab8,_0x5da9d4={'OciTD':_0xbefe7(0x6d),'aeIPK':function(_0x2c79b3,_0x3e6dd3){return _0x2c79b3(_0x3e6dd3);},'dbAzJ':_0xbefe7(0xa5)},_0x32fd3d=_0x5da9d4[_0xbefe7(0x92)]['split']('|');let _0xbdf245=0x0;while(!![]){switch(_0x32fd3d[_0xbdf245++]){case'0':_origStderrWrite=process[_0xbefe7(0xaa)][_0xbefe7(0x6e)][_0xbefe7(0x7d)](process[_0xbefe7(0xaa)]);continue;case'1':if(_installed)return;continue;case'2':_origStdoutWrite=process[_0xbefe7(0x9a)][_0xbefe7(0x6e)][_0xbefe7(0x7d)](process['stdout']);continue;case'3':process[_0xbefe7(0x9a)][_0xbefe7(0x6e)]=_0x5da9d4[_0xbefe7(0xb4)](_wrap,_origStdoutWrite);continue;case'4':process[_0xbefe7(0xaa)]['write']=_0x5da9d4[_0xbefe7(0xb4)](_wrap,_origStderrWrite);continue;case'5':logger['debug'](_0x5da9d4[_0xbefe7(0xb0)]);continue;case'6':_installed=!![];continue;}break;}},exports[a74_0x1b8ab8(0xa6)]=()=>{const _0x58fb14=a74_0x1b8ab8,_0x3a8eca={};_0x3a8eca[_0x58fb14(0x83)]=_0x58fb14(0xa1),_0x3a8eca['Byqml']=_0x58fb14(0x95);const _0x4297ee=_0x3a8eca,_0x365a34=_0x4297ee[_0x58fb14(0x83)][_0x58fb14(0xb3)]('|');let _0x12da1e=0x0;while(!![]){switch(_0x365a34[_0x12da1e++]){case'0':logger[_0x58fb14(0x94)](_0x4297ee[_0x58fb14(0x96)]);continue;case'1':_recent[_0x58fb14(0xba)]();continue;case'2':if(!_installed)return;continue;case'3':_origStdoutWrite=null;continue;case'4':_installed=![];continue;case'5':_origStdoutWrite&&(process['stdout'][_0x58fb14(0x6e)]=_origStdoutWrite);continue;case'6':_origStderrWrite=null;continue;case'7':_origStderrWrite&&(process[_0x58fb14(0xaa)][_0x58fb14(0x6e)]=_origStderrWrite);continue;}break;}};
1
+ 'use strict';const a74_0x47e446=a74_0x54fa;(function(_0x2b3a78,_0x4b1a23){const _0x26eb01=a74_0x54fa,_0xf7514f=_0x2b3a78();while(!![]){try{const _0x251b3f=-parseInt(_0x26eb01(0x1b8))/0x1+-parseInt(_0x26eb01(0x1e2))/0x2*(-parseInt(_0x26eb01(0x1a8))/0x3)+parseInt(_0x26eb01(0x1a2))/0x4*(-parseInt(_0x26eb01(0x1b9))/0x5)+-parseInt(_0x26eb01(0x1d8))/0x6+-parseInt(_0x26eb01(0x1b5))/0x7*(parseInt(_0x26eb01(0x1ae))/0x8)+parseInt(_0x26eb01(0x1bf))/0x9*(-parseInt(_0x26eb01(0x1d6))/0xa)+parseInt(_0x26eb01(0x1b3))/0xb;if(_0x251b3f===_0x4b1a23)break;else _0xf7514f['push'](_0xf7514f['shift']());}catch(_0x49b673){_0xf7514f['push'](_0xf7514f['shift']());}}}(a74_0x24bd,0xe68be));const {v4:uuidv4}=require('uuid'),logger=require('../../helpers/logger')[a74_0x47e446(0x185)];function a74_0x24bd(){const _0x1767ef=['../v2/grpcClient','bQbRS','WHxYb','clear','|Connecting\x20to\x20.*://','sMyWh','trim','kind','toISOString','TEST','split','testFrameworkVersion','52rPtbJw','test_run_uuid','arfAZ','yWWWL','uuid','aUokT','9MIwYrL','WTjAn','get','SuBuL','rmMBC','DBljw','15224nsnwTh','HHzDf','set','timestamp','|\x5cd+\x5cs+skipped','57856502gQGeCL','[✓✔✗✘×]\x5cs','6580YbLtnT','CbDaA','../v2/framework/testFramework','853347ylNHSi','249695EkHJnM','bind','length','delete','|\x5cd+\x5cs+passed','testFrameworkState','36441RAOtcj','yJeRP','IpzWb','size','ZfWtv','function','test','message','WKLUG','platformIndex','JlzBk','IukdW','toString','getTestFrameworks','isRunning','KIND_LOG','isBuffer','../v2/browserstackCLI','getTestFramework','getData','logCreatedEvent','string','2|5|3|4|0|1|6','2720TBBIYE','|\x5cd+\x5cs+failed','9835698YkWTId','testFrameworkName','getTrackedInstance','debug','stdout','0|4|2|1|3|6|5|7','YEwLJ','stderr','isArray','utf8','1144414SuBpwG','replace','|Running\x20tests\x20in','winstonLogger','|Waiting\x20for','dhOBy','Mnisf','write','[stdout-interceptor]\x20uninstalled','wyGZW','../v2/framework/constants/testFrameworkConstants','logs','lzlIX','getInstance','|Test\x20\x5cd+\x20of\x20\x5cd+','getTestFrameworksVersions','xpxCp','ASFEz','info','__currentPlatformUuids'];a74_0x24bd=function(){return _0x1767ef;};return a74_0x24bd();}let _origStdoutWrite=null,_origStderrWrite=null,_installed=![];const INTERNAL_LOG_RE=/^\d{4}-\d{2}-\d{2}[ T]\d{2}:\d{2}:\d{2}/,ANSI_RE=/\x1b\[[0-9;]*[a-zA-Z]/g,SPEC_REPORTER_RE=new RegExp('^(\x5cs*)'+'('+a74_0x47e446(0x1b4)+a74_0x47e446(0x1bd)+a74_0x47e446(0x1d7)+a74_0x47e446(0x1b2)+a74_0x47e446(0x184)+'|Hostname:'+a74_0x47e446(0x190)+a74_0x47e446(0x19a)+a74_0x47e446(0x186)+')');function a74_0x54fa(_0xa93d64,_0x101708){const _0x24bdf9=a74_0x24bd();return a74_0x54fa=function(_0x54faf6,_0xd5fb77){_0x54faf6=_0x54faf6-0x183;let _0x16e019=_0x24bdf9[_0x54faf6];return _0x16e019;},a74_0x54fa(_0xa93d64,_0x101708);}function _stripAnsi(_0x4c569b){const _0x1797a5=a74_0x47e446,_0x426351={};_0x426351['yWWWL']=function(_0x3cb59a,_0x4aca78){return _0x3cb59a!==_0x4aca78;},_0x426351['BsIkJ']='string';const _0x2dc23a=_0x426351;if(_0x2dc23a[_0x1797a5(0x1a5)](typeof _0x4c569b,_0x2dc23a['BsIkJ']))return _0x4c569b;return _0x4c569b[_0x1797a5(0x183)](ANSI_RE,'');}function _shouldForward(_0x2603f8){const _0x186a20=a74_0x47e446,_0xcf208a={'ilRaj':function(_0xcb3344,_0x12e07b){return _0xcb3344(_0x12e07b);}};if(!_0x2603f8||!_0x2603f8['trim']())return![];if(INTERNAL_LOG_RE[_0x186a20(0x1c5)](_0x2603f8))return![];const _0x281f5b=_0xcf208a['ilRaj'](_stripAnsi,_0x2603f8)[_0x186a20(0x19c)]();if(!_0x281f5b)return![];if(SPEC_REPORTER_RE[_0x186a20(0x1c5)](_0x281f5b))return![];return!![];}const DEDUP_WINDOW_MS=0xbb8,_recent=new Map();function _isDuplicate(_0x4d84fa){const _0x293a3c=a74_0x47e446,_0x241007={};_0x241007['JlzBk']=function(_0x58543d,_0x37c32d){return _0x58543d>_0x37c32d;},_0x241007[_0x293a3c(0x1c1)]=function(_0x174c00,_0x305a9a){return _0x174c00-_0x305a9a;},_0x241007[_0x293a3c(0x188)]=function(_0x52172a,_0x15868b){return _0x52172a!==_0x15868b;},_0x241007[_0x293a3c(0x18b)]=function(_0x3a8881,_0x18bc40){return _0x3a8881<_0x18bc40;},_0x241007[_0x293a3c(0x19b)]=function(_0x3e57f5,_0x5006f0){return _0x3e57f5-_0x5006f0;};const _0xea3989=_0x241007,_0x3b7087=Date['now']();if(_0xea3989[_0x293a3c(0x1c9)](_recent[_0x293a3c(0x1c2)],0xc8))for(const [_0x287dc2,_0x5b6611]of _recent){_0xea3989['JlzBk'](_0xea3989[_0x293a3c(0x1c1)](_0x3b7087,_0x5b6611),DEDUP_WINDOW_MS)&&_recent[_0x293a3c(0x1bc)](_0x287dc2);}const _0xbfa9d=_recent[_0x293a3c(0x1aa)](_0x4d84fa);if(_0xea3989[_0x293a3c(0x188)](_0xbfa9d,undefined)&&_0xea3989[_0x293a3c(0x18b)](_0xea3989[_0x293a3c(0x19b)](_0x3b7087,_0xbfa9d),DEDUP_WINDOW_MS))return!![];return _recent[_0x293a3c(0x1b0)](_0x4d84fa,_0x3b7087),![];}function _emitLog(_0x816c18){const _0x4b669d=a74_0x47e446,_0x1ecdf7={'YEwLJ':function(_0x4ba198,_0x152880){return _0x4ba198(_0x152880);},'ZJDPg':_0x4b669d(0x1d0),'lzlIX':_0x4b669d(0x196),'SNNwS':function(_0x4071c4,_0x6f26b1){return _0x4071c4(_0x6f26b1);},'rmMBC':_0x4b669d(0x1b7),'WHxYb':function(_0x5acb13,_0x3a4d74){return _0x5acb13(_0x3a4d74);},'MVxqX':_0x4b669d(0x18c),'arfAZ':_0x4b669d(0x195),'DBljw':function(_0x519ed9,_0x35cf88){return _0x519ed9===_0x35cf88;},'bQbRS':_0x4b669d(0x1c4),'IukdW':function(_0x3581f8,_0x5cf298){return _0x3581f8(_0x5cf298);},'ZfWtv':function(_0x3bf3a8,_0x45f6fc){return _0x3bf3a8<_0x45f6fc;},'HBjPo':_0x4b669d(0x194),'ASFEz':'testcafe','yJeRP':_0x4b669d(0x19f)};try{const _0x453557=_0x1ecdf7['YEwLJ'](require,_0x1ecdf7['ZJDPg']),_0x13756c=_0x1ecdf7[_0x4b669d(0x1de)](require,_0x1ecdf7[_0x4b669d(0x18e)]),_0x10e11a=_0x1ecdf7['SNNwS'](require,_0x1ecdf7[_0x4b669d(0x1ac)]),_0x4a557b=_0x1ecdf7[_0x4b669d(0x198)](require,_0x1ecdf7['MVxqX']),_0x382faf=_0x453557[_0x4b669d(0x18f)]&&_0x453557['getInstance']();if(!_0x382faf||!_0x382faf[_0x4b669d(0x1cd)]())return;const _0x12666a=_0x382faf[_0x4b669d(0x1d1)]&&_0x382faf[_0x4b669d(0x1d1)](),_0x2c9d86=_0x10e11a[_0x4b669d(0x1da)]&&_0x10e11a[_0x4b669d(0x1da)]();if(!_0x2c9d86)return;const _0x20e117=Array[_0x4b669d(0x1e0)](_0x2c9d86[_0x4b669d(0x1d2)](_0x1ecdf7[_0x4b669d(0x1a4)]))?_0x2c9d86[_0x4b669d(0x1d2)](_0x1ecdf7[_0x4b669d(0x1a4)]):[];if(_0x1ecdf7[_0x4b669d(0x1ad)](_0x20e117[_0x4b669d(0x1bb)],0x0))return;const _0x40995f=_0x12666a&&_0x1ecdf7[_0x4b669d(0x1ad)](typeof _0x12666a[_0x4b669d(0x191)],_0x1ecdf7[_0x4b669d(0x197)])?_0x12666a['getTestFrameworksVersions']():{},_0x5ce491=_0x12666a&&_0x1ecdf7[_0x4b669d(0x1ad)](typeof _0x12666a[_0x4b669d(0x1cc)],_0x1ecdf7['bQbRS'])?_0x12666a[_0x4b669d(0x1cc)]():[],_0x127aef=_0x5ce491&&_0x5ce491[0x0]&&_0x40995f&&_0x40995f[_0x5ce491[0x0]]||'',_0x3763a9=_0x1ecdf7[_0x4b669d(0x1de)](_stripAnsi,_0x816c18)[_0x4b669d(0x19c)]();if(_0x1ecdf7[_0x4b669d(0x1ca)](_isDuplicate,_0x3763a9))return;const _0x4051e8=new Date()[_0x4b669d(0x19e)]();for(let _0x2863ca=0x0;_0x1ecdf7[_0x4b669d(0x1c3)](_0x2863ca,_0x20e117[_0x4b669d(0x1bb)]);_0x2863ca++){const _0x1f3d77=_0x20e117[_0x2863ca];if(!_0x1f3d77)continue;const _0x6bbe93={};_0x6bbe93[_0x4b669d(0x1a6)]=_0x1f3d77,_0x6bbe93[_0x4b669d(0x1a3)]=_0x1f3d77,_0x6bbe93[_0x4b669d(0x1b1)]=_0x4051e8,_0x6bbe93[_0x4b669d(0x1c6)]=_0x3763a9,_0x6bbe93[_0x4b669d(0x19d)]=_0x4a557b[_0x4b669d(0x1ce)],_0x6bbe93['level']=_0x1ecdf7['HBjPo'];const _0x2fee01=_0x6bbe93,_0x1da143={};_0x1da143[_0x4b669d(0x1c8)]=_0x2863ca,_0x1da143[_0x4b669d(0x18d)]=[_0x2fee01],_0x1da143[_0x4b669d(0x1d9)]=_0x1ecdf7[_0x4b669d(0x193)],_0x1da143[_0x4b669d(0x1a1)]=_0x127aef,_0x1da143[_0x4b669d(0x1be)]=_0x1ecdf7[_0x4b669d(0x1c0)];const _0x24fde7=_0x1da143;_0x13756c['getInstance']()[_0x4b669d(0x1d3)](_0x24fde7)['catch'](()=>{});}}catch(_0x2dd976){}}function _wrap(_0xc1f12){const _0x392f41=a74_0x47e446,_0x3cf353={'aUokT':function(_0x36b111,_0x38dd2f,_0x4e6715,_0x50095b){return _0x36b111(_0x38dd2f,_0x4e6715,_0x50095b);},'RQkBQ':function(_0x5a6047,_0x21f701){return _0x5a6047===_0x21f701;},'CbDaA':_0x392f41(0x1d4),'dhOBy':_0x392f41(0x1e1),'KcuAY':function(_0x2a7659,_0x4dde62){return _0x2a7659(_0x4dde62);},'SuBuL':function(_0x28f096,_0x1efb9a){return _0x28f096(_0x1efb9a);}};return function(_0x107c19,_0x119672,_0x534439){const _0x49ceac=_0x392f41,_0x25f3b1=_0x3cf353[_0x49ceac(0x1a7)](_0xc1f12,_0x107c19,_0x119672,_0x534439);try{const _0x18c654=_0x3cf353['RQkBQ'](typeof _0x107c19,_0x3cf353[_0x49ceac(0x1b6)])?_0x107c19:Buffer[_0x49ceac(0x1cf)](_0x107c19)?_0x107c19[_0x49ceac(0x1cb)](_0x3cf353[_0x49ceac(0x187)]):_0x3cf353['KcuAY'](String,_0x107c19),_0x411baa=_0x18c654[_0x49ceac(0x1a0)](/\r?\n/);for(const _0x6c8acc of _0x411baa){_0x3cf353['KcuAY'](_shouldForward,_0x6c8acc)&&_0x3cf353[_0x49ceac(0x1ab)](_emitLog,_0x6c8acc);}}catch(_0x54a88e){}return _0x25f3b1;};}exports['install']=()=>{const _0x106343=a74_0x47e446,_0x585ca0={'AGoex':_0x106343(0x1d5),'WTjAn':function(_0x15565e,_0x257294){return _0x15565e(_0x257294);},'WKLUG':'[stdout-interceptor]\x20installed'},_0x2f1238=_0x585ca0['AGoex']['split']('|');let _0x2093f1=0x0;while(!![]){switch(_0x2f1238[_0x2093f1++]){case'0':process['stderr'][_0x106343(0x189)]=_0x585ca0[_0x106343(0x1a9)](_wrap,_origStderrWrite);continue;case'1':_installed=!![];continue;case'2':if(_installed)return;continue;case'3':_origStderrWrite=process[_0x106343(0x1df)]['write'][_0x106343(0x1ba)](process['stderr']);continue;case'4':process[_0x106343(0x1dc)]['write']=_0x585ca0['WTjAn'](_wrap,_origStdoutWrite);continue;case'5':_origStdoutWrite=process[_0x106343(0x1dc)][_0x106343(0x189)]['bind'](process[_0x106343(0x1dc)]);continue;case'6':logger[_0x106343(0x1db)](_0x585ca0[_0x106343(0x1c7)]);continue;}break;}},exports['uninstall']=()=>{const _0x590a3f=a74_0x47e446,_0x354255={};_0x354255[_0x590a3f(0x192)]=_0x590a3f(0x1dd),_0x354255[_0x590a3f(0x1af)]=_0x590a3f(0x18a);const _0x508fe3=_0x354255,_0x34fb65=_0x508fe3[_0x590a3f(0x192)][_0x590a3f(0x1a0)]('|');let _0x7243d2=0x0;while(!![]){switch(_0x34fb65[_0x7243d2++]){case'0':if(!_installed)return;continue;case'1':_origStdoutWrite=null;continue;case'2':_origStderrWrite&&(process[_0x590a3f(0x1df)][_0x590a3f(0x189)]=_origStderrWrite);continue;case'3':_origStderrWrite=null;continue;case'4':_origStdoutWrite&&(process[_0x590a3f(0x1dc)][_0x590a3f(0x189)]=_origStdoutWrite);continue;case'5':_recent[_0x590a3f(0x199)]();continue;case'6':_installed=![];continue;case'7':logger['debug'](_0x508fe3['HHzDf']);continue;}break;}};
@@ -1 +1 @@
1
- 'use strict';const a75_0x4c2ebb=a75_0x3ae1;(function(_0x2c38f2,_0x97d13e){const _0x52713a=a75_0x3ae1,_0xb3b9af=_0x2c38f2();while(!![]){try{const _0x3b39d8=-parseInt(_0x52713a(0x1ab))/0x1*(-parseInt(_0x52713a(0x1e1))/0x2)+parseInt(_0x52713a(0x1d9))/0x3+parseInt(_0x52713a(0x209))/0x4+-parseInt(_0x52713a(0x1d0))/0x5*(parseInt(_0x52713a(0x1e5))/0x6)+-parseInt(_0x52713a(0x1d3))/0x7+-parseInt(_0x52713a(0x1dc))/0x8*(parseInt(_0x52713a(0x1b3))/0x9)+-parseInt(_0x52713a(0x1ff))/0xa*(-parseInt(_0x52713a(0x1b9))/0xb);if(_0x3b39d8===_0x97d13e)break;else _0xb3b9af['push'](_0xb3b9af['shift']());}catch(_0x18e7f6){_0xb3b9af['push'](_0xb3b9af['shift']());}}}(a75_0x52a8,0xbfee8));const logger=require(a75_0x4c2ebb(0x1f8))[a75_0x4c2ebb(0x1ac)];function a75_0x3ae1(_0x563c64,_0x2a984e){const _0x52a83f=a75_0x52a8();return a75_0x3ae1=function(_0x3ae16d,_0x56f2c7){_0x3ae16d=_0x3ae16d-0x1a3;let _0x4ac6fc=_0x52a83f[_0x3ae16d];return _0x4ac6fc;},a75_0x3ae1(_0x563c64,_0x2a984e);}let _installed=![];function a75_0x52a8(){const _0x44e292=['catch','KEY_TEST_RESULT','owner','ybPHy','dRoLg','nnzQN','nJQdj','prototype','\x20TestController\x20methods\x20for\x20accessibility\x20scanning','module','values','sCkdT','DEFAULT_TEST_RESULT','value','getInstance','aNaJC','dirname','pending','../../helpers/logger','zaTqD','originalDescriptor','debug','getAccessibilityModule','length','uninstall','320510JNOcke','defineProperty','./a11y-runner','qUKdD','[testcafe-action-patcher]\x20could\x20not\x20patch\x20','\x20testName=','call','getData','test-controller','[testcafe-action-patcher]\x20no\x20commands\x20to\x20wrap,\x20skipping','1933696FATACV','__currentPlatformUuids','getState','[testcafe-action-patcher]\x20wrapped\x20','yhXoR','../v2/browserstackCLI','XvFlx','cucumber','DKMOX','install','clear','KEY_TEST_STARTED_AT','gNRaE','exports','PmNoV','KEY_TEST_TAGS','getAllData','info','MRxim','WbdaV','OVRdY','11kczahm','winstonLogger','message','[testcafe-action-patcher]\x20uninstalled','[testcafe-action-patcher]\x20TestController.prototype\x20missing,\x20skipping','\x20cmd=','testController','getTrackedInstance','284886udiHFy','KEY_TEST_NAME','FpGyP','FgGiv','\x20tags=','name','451PgqHQM','resolve','cwd','fOVOC','AaNxn','AEJbO','bQxqJ','join','fdMZG','lib','../v2/framework/testcafeAutomationFramework','set','default','isEnabledTestcase','enumerable','api','[testcafe-action-patcher]\x20_performScanForAllDrivers\x20failed:\x20','[testcafe-action-patcher]\x20scope-filter\x20skipped\x20scan\x20for\x20cmd=','../v2/framework/testFramework','isRunning','../v2/modules/testcafeDriverModule','PbwXN','XBYpa','5tJCYpO','getOwnPropertyDescriptor','DAcNd','1557080yblhtB','iterAllInstances','shouldScanForCommand','testcafe/package.json','bnEQI','[testcafe-action-patcher]\x20tag-scope\x20filter\x20error\x20(continuing\x20scan):\x20','522054iQJTzY','TkPIc','\x20(test\x20is\x20excluded\x20by\x20includeTagsInTestingScope\x20/\x20excludeTagsInTestingScope)','136ZVzRNS','fmPFC','isArray','EfJVz','path','39086BtopJg','lIOWs','dOXxC','../v2/framework/constants/testFrameworkConstants','3838776TpLDNN'];a75_0x52a8=function(){return _0x44e292;};return a75_0x52a8();}const _patchedDescriptors=new Map();function _requireTestController(){const _0x4deb1f=a75_0x4c2ebb,_0xda3342={'yhXoR':function(_0x4bffdf,_0x3aa617){return _0x4bffdf(_0x3aa617);},'sCkdT':_0x4deb1f(0x1e0),'dRoLg':_0x4deb1f(0x1d6),'ybPHy':_0x4deb1f(0x1c2),'FgGiv':_0x4deb1f(0x1c8),'bnEQI':_0x4deb1f(0x207)},_0x550a8d=_0xda3342[_0x4deb1f(0x20d)](require,_0xda3342[_0x4deb1f(0x1f1)]),_0x4266da=_0x550a8d[_0x4deb1f(0x1f6)](require[_0x4deb1f(0x1ba)](_0xda3342[_0x4deb1f(0x1ea)],{'paths':[process[_0x4deb1f(0x1bb)]()]})),_0x2a6425=_0x550a8d[_0x4deb1f(0x1c0)](_0x4266da,_0xda3342[_0x4deb1f(0x1e9)],_0xda3342[_0x4deb1f(0x1b6)],_0xda3342[_0x4deb1f(0x1d7)]),_0x539228=_0xda3342[_0x4deb1f(0x20d)](require,_0x2a6425);return _0x539228&&(_0x539228[_0x4deb1f(0x1c5)]||_0x539228);}async function _performScanForAllDrivers(_0x3f30c9){const _0x5896ee=a75_0x4c2ebb,_0x3d22e9={'PbwXN':function(_0x2e4b86,_0x2266dd){return _0x2e4b86(_0x2266dd);},'AaNxn':_0x5896ee(0x20e),'lIOWs':function(_0xe35a4b,_0x5e6025){return _0xe35a4b(_0x5e6025);},'GBfmO':_0x5896ee(0x1c3),'MRxim':function(_0x1dcba5,_0x479564){return _0x1dcba5(_0x479564);},'NOjdl':'../v2/framework/automationFramework','neLOM':function(_0x2594c9,_0x59f273){return _0x2594c9(_0x59f273);},'AEJbO':_0x5896ee(0x1cd),'fOVOC':function(_0x46c35c,_0x40905b){return _0x46c35c(_0x40905b);},'qUKdD':_0x5896ee(0x1cb),'zaTqD':function(_0x38e6f4,_0x15b010){return _0x38e6f4===_0x15b010;},'TkPIc':'function','DKMOX':_0x5896ee(0x20a),'OVRdY':function(_0x81aeaa,_0xd2bf4a){return _0x81aeaa===_0xd2bf4a;},'WbdaV':_0x5896ee(0x1e4),'FpGyP':function(_0x4abee9,_0x24ebe8){return _0x4abee9===_0x24ebe8;},'gNRaE':_0x5896ee(0x1f7),'XBYpa':function(_0x11baa8,_0x33b3c0){return _0x11baa8>_0x33b3c0;},'fmPFC':'<unnamed>','dOXxC':_0x5896ee(0x210),'DAcNd':_0x5896ee(0x201)};try{const _0x38ae72=_0x3d22e9[_0x5896ee(0x1ce)](require,_0x3d22e9[_0x5896ee(0x1bd)]),_0x33fb7f=_0x3d22e9[_0x5896ee(0x1e2)](require,_0x3d22e9['GBfmO']),_0x355f3=_0x3d22e9['MRxim'](require,_0x3d22e9['NOjdl']),_0x3bab7e=_0x3d22e9['neLOM'](require,_0x3d22e9[_0x5896ee(0x1be)]),_0x2f54e7=_0x3d22e9[_0x5896ee(0x1bc)](require,_0x3d22e9[_0x5896ee(0x202)]),_0x4b75c9=_0x38ae72[_0x5896ee(0x1f4)]();if(!_0x4b75c9||!_0x4b75c9[_0x5896ee(0x1cc)]())return;const _0xd982a7=_0x4b75c9[_0x5896ee(0x1fc)]&&_0x4b75c9[_0x5896ee(0x1fc)]();if(!_0xd982a7)return;if(_0x3d22e9[_0x5896ee(0x1f9)](typeof _0xd982a7['shouldScanForCommand'],_0x3d22e9[_0x5896ee(0x1da)])&&!_0xd982a7[_0x5896ee(0x1d5)](_0x3f30c9))return;const _0x2eabb3=_0x2f54e7['getTrackedInstance']&&_0x2f54e7[_0x5896ee(0x1b2)]();if(!_0x2eabb3)return;const _0x44d225=Array['isArray'](_0x2eabb3[_0x5896ee(0x206)](_0x3d22e9[_0x5896ee(0x211)]))?_0x2eabb3[_0x5896ee(0x206)](_0x3d22e9[_0x5896ee(0x211)]):[];if(_0x3d22e9[_0x5896ee(0x1aa)](_0x44d225[_0x5896ee(0x1fd)],0x0))return;try{const _0x5aba78=_0x3d22e9[_0x5896ee(0x1a8)](require,_0x3d22e9[_0x5896ee(0x1a9)]),_0x2d5f09=_0x3d22e9['zaTqD'](typeof _0x2eabb3[_0x5896ee(0x1a6)],_0x3d22e9[_0x5896ee(0x1da)])?_0x2eabb3[_0x5896ee(0x1a6)]():null;if(_0x2d5f09&&_0x3d22e9[_0x5896ee(0x1f9)](typeof _0x2d5f09[_0x5896ee(0x1f0)],_0x3d22e9['TkPIc'])&&_0x3d22e9[_0x5896ee(0x1b5)](typeof _0xd982a7[_0x5896ee(0x1c6)],_0x3d22e9[_0x5896ee(0x1da)])){let _0x300bba=null,_0x19bce9='';for(const _0x4b6183 of _0x2d5f09[_0x5896ee(0x1f0)]()){if(!_0x4b6183)continue;const _0x31497a=_0x4b6183[_0x5aba78[_0x5896ee(0x214)]],_0x1ec2c3=_0x4b6183[_0x5aba78[_0x5896ee(0x1e7)]];_0x31497a&&(_0x3d22e9[_0x5896ee(0x1f9)](_0x1ec2c3,_0x3d22e9[_0x5896ee(0x215)])||_0x3d22e9[_0x5896ee(0x1f9)](_0x1ec2c3,_0x5aba78[_0x5896ee(0x1f2)]))&&(_0x3d22e9[_0x5896ee(0x1cf)](_0x31497a,_0x19bce9)&&(_0x19bce9=_0x31497a,_0x300bba=_0x4b6183));}if(_0x300bba){const _0x4c9343=_0x300bba[_0x5aba78[_0x5896ee(0x1a5)]]||[],_0x2ebb3e=_0x300bba[_0x5aba78[_0x5896ee(0x1b4)]]||_0x3d22e9[_0x5896ee(0x1dd)],_0x19e597=_0xd982a7[_0x5896ee(0x1c6)](_0x4c9343,null,_0x3d22e9[_0x5896ee(0x1e3)]);if(!_0x19e597){logger[_0x5896ee(0x1fb)](_0x5896ee(0x1ca)+_0x3f30c9+_0x5896ee(0x204)+_0x2ebb3e+_0x5896ee(0x1b7)+JSON['stringify'](_0x4c9343)+_0x5896ee(0x1db));return;}}}}catch(_0x40af09){logger[_0x5896ee(0x1fb)](_0x5896ee(0x1d8)+(_0x40af09[_0x5896ee(0x1ad)]||_0x40af09));}const _0x4d746a=_0x3d22e9[_0x5896ee(0x1bc)](require,_0x3d22e9[_0x5896ee(0x1d2)]);for(const {platformIndex:_0x49d504,instance:_0x2bef00}of _0x33fb7f[_0x5896ee(0x1d4)]()){const _0x287b9b=_0x355f3[_0x5896ee(0x20b)](_0x2bef00,_0x3bab7e['KEY_DRIVER'],null);if(!_0x287b9b)continue;const _0x59c7cd=_0x44d225[_0x49d504]||_0x44d225[0x0]||'';try{await _0x4d746a['runScan'](_0x287b9b,_0x59c7cd,_0x3f30c9,![]);}catch(_0x5405d0){logger['debug']('[testcafe-action-patcher]\x20performScan\x20pi='+_0x49d504+_0x5896ee(0x1b0)+_0x3f30c9+'\x20failed:\x20'+(_0x5405d0['message']||_0x5405d0));}}}catch(_0x113cec){logger['debug'](_0x5896ee(0x1c9)+(_0x113cec['message']||_0x113cec));}}function install(_0x5788c9){const _0x3e8881=a75_0x4c2ebb,_0x342a1b={'gskTH':function(_0x4d2b0b,_0x4c137e){return _0x4d2b0b(_0x4c137e);},'QyxrV':function(_0xdf2a93,_0x2dd5ce){return _0xdf2a93(_0x2dd5ce);},'uRnKa':function(_0x200f11,_0x744e45){return _0x200f11!==_0x744e45;},'aNaJC':'function','pBCzY':function(_0x36ebfe,_0x182f10){return _0x36ebfe===_0x182f10;},'nnzQN':_0x3e8881(0x208),'XvFlx':function(_0x15c882){return _0x15c882();},'EGQky':_0x3e8881(0x1af),'nJQdj':function(_0x932970,_0x5b7a17){return _0x932970!==_0x5b7a17;},'bQxqJ':_0x3e8881(0x1b1),'QnZaJ':function(_0x5ca343,_0x2a8740){return _0x5ca343(_0x2a8740);},'EfJVz':function(_0x55c9d5,_0x28fbca){return _0x55c9d5===_0x28fbca;}};if(_installed)return;if(!Array[_0x3e8881(0x1de)](_0x5788c9)||_0x342a1b['pBCzY'](_0x5788c9[_0x3e8881(0x1fd)],0x0)){logger['debug'](_0x342a1b[_0x3e8881(0x1eb)]);return;}let _0x5d32a1;try{_0x5d32a1=_0x342a1b[_0x3e8881(0x20f)](_requireTestController);}catch(_0x3b2a44){logger[_0x3e8881(0x1fb)]('[testcafe-action-patcher]\x20could\x20not\x20load\x20TestController:\x20'+(_0x3b2a44['message']||_0x3b2a44));return;}if(!_0x5d32a1||!_0x5d32a1['prototype']){logger['debug'](_0x342a1b['EGQky']);return;}const _0x50f564=_0x5d32a1[_0x3e8881(0x1ed)];let _0x566106=0x0;function _0x3a1de0(_0x1067fd){const _0x2f40a0=_0x3e8881;let _0x49ed21=_0x50f564;while(_0x49ed21){const _0x4f1f78=Object[_0x2f40a0(0x1d1)](_0x49ed21,_0x1067fd);if(_0x4f1f78){const _0x215a37={};return _0x215a37['descriptor']=_0x4f1f78,_0x215a37[_0x2f40a0(0x1e8)]=_0x49ed21,_0x215a37;}_0x49ed21=Object['getPrototypeOf'](_0x49ed21);}return null;}for(const _0xa06fff of _0x5788c9){if(!_0xa06fff||_0x342a1b[_0x3e8881(0x1ec)](_0xa06fff[_0x3e8881(0x1ef)],_0x342a1b[_0x3e8881(0x1bf)]))continue;const _0x4775e7=_0xa06fff[_0x3e8881(0x1b8)],_0x204c71=_0x342a1b['QnZaJ'](_0x3a1de0,_0x4775e7);if(!_0x204c71)continue;const {descriptor:_0x653957,owner:_0x2b1c2b}=_0x204c71;if(_0x653957['__bstack_a11y_wrapped'])continue;let _0x110f08;if(_0x342a1b[_0x3e8881(0x1df)](typeof _0x653957['value'],_0x342a1b[_0x3e8881(0x1f5)])){const _0x54953d=_0x653957[_0x3e8881(0x1f3)];_0x110f08={'configurable':!![],'writable':!![],'enumerable':_0x653957[_0x3e8881(0x1c7)],'value':function(..._0x280b0a){const _0x140318=_0x3e8881;return _0x342a1b['gskTH'](_performScanForAllDrivers,_0x4775e7)[_0x140318(0x1e6)](()=>{}),_0x54953d['apply'](this,_0x280b0a);}};}else{if(_0x342a1b[_0x3e8881(0x1df)](typeof _0x653957['get'],_0x342a1b['aNaJC'])){const _0x5c84a8=_0x653957['get'];_0x110f08={'configurable':!![],'enumerable':_0x653957[_0x3e8881(0x1c7)],'get'(){const _0x21e056=_0x3e8881,_0x21cc8e={'fdMZG':function(_0x1e3a30,_0x483cc5){return _0x342a1b['QyxrV'](_0x1e3a30,_0x483cc5);}},_0x351417=_0x5c84a8[_0x21e056(0x205)](this);if(_0x342a1b['uRnKa'](typeof _0x351417,_0x342a1b[_0x21e056(0x1f5)]))return _0x351417;return function(..._0x2bebdf){const _0x5bc6e4=_0x21e056;return _0x21cc8e[_0x5bc6e4(0x1c1)](_performScanForAllDrivers,_0x4775e7)['catch'](()=>{}),_0x351417['apply'](this,_0x2bebdf);};},'set':_0x653957[_0x3e8881(0x1c4)]||function(){}};}else continue;}_0x110f08['__bstack_a11y_wrapped']=!![];try{Object[_0x3e8881(0x200)](_0x2b1c2b,_0x4775e7,_0x110f08);const _0x481b45={};_0x481b45['owner']=_0x2b1c2b,_0x481b45[_0x3e8881(0x1fa)]=_0x653957,_patchedDescriptors[_0x3e8881(0x1c4)](_0x4775e7,_0x481b45),_0x566106+=0x1;}catch(_0x20a2e1){logger['debug'](_0x3e8881(0x203)+_0x4775e7+':\x20'+(_0x20a2e1['message']||_0x20a2e1));}}_installed=!![],logger[_0x3e8881(0x1a7)](_0x3e8881(0x20c)+_0x566106+'/'+_0x5788c9['length']+_0x3e8881(0x1ee));}function uninstall(){const _0x2545b0=a75_0x4c2ebb,_0x50ee31={};_0x50ee31[_0x2545b0(0x1a4)]=_0x2545b0(0x1ae);const _0x2bd54e=_0x50ee31;if(!_installed)return;for(const [_0x11621c,{owner:_0xc0cd54,originalDescriptor:_0x1ed1af}]of _patchedDescriptors){try{Object[_0x2545b0(0x200)](_0xc0cd54,_0x11621c,_0x1ed1af);}catch(_0x287248){logger['debug']('[testcafe-action-patcher]\x20could\x20not\x20restore\x20'+_0x11621c+':\x20'+(_0x287248[_0x2545b0(0x1ad)]||_0x287248));}}_patchedDescriptors[_0x2545b0(0x213)](),_installed=![],logger[_0x2545b0(0x1fb)](_0x2bd54e[_0x2545b0(0x1a4)]);}const a75_0x3f5f76={};a75_0x3f5f76[a75_0x4c2ebb(0x212)]=install,a75_0x3f5f76[a75_0x4c2ebb(0x1fe)]=uninstall,module[a75_0x4c2ebb(0x1a3)]=a75_0x3f5f76;
1
+ 'use strict';const a75_0x3e5e9f=a75_0x5826;(function(_0x5c75d6,_0x29f630){const _0x55bb8a=a75_0x5826,_0x414616=_0x5c75d6();while(!![]){try{const _0x19652e=parseInt(_0x55bb8a(0x131))/0x1+parseInt(_0x55bb8a(0x14d))/0x2+-parseInt(_0x55bb8a(0xeb))/0x3+parseInt(_0x55bb8a(0x14a))/0x4*(parseInt(_0x55bb8a(0x138))/0x5)+-parseInt(_0x55bb8a(0x12f))/0x6*(-parseInt(_0x55bb8a(0xfa))/0x7)+parseInt(_0x55bb8a(0x132))/0x8+parseInt(_0x55bb8a(0x123))/0x9*(-parseInt(_0x55bb8a(0x11e))/0xa);if(_0x19652e===_0x29f630)break;else _0x414616['push'](_0x414616['shift']());}catch(_0xb19c31){_0x414616['push'](_0x414616['shift']());}}}(a75_0x3327,0x25a91));const logger=require(a75_0x3e5e9f(0xf7))['winstonLogger'];let _installed=![];const _patchedDescriptors=new Map();function _requireTestController(){const _0x4ec4b9=a75_0x3e5e9f,_0x5463e8={'WFKni':function(_0x594330,_0x206a6b){return _0x594330(_0x206a6b);},'CYSse':_0x4ec4b9(0x158),'LFgMx':'testcafe/package.json','HWOwY':_0x4ec4b9(0x13f),'UUtnU':_0x4ec4b9(0x144),'otZqC':_0x4ec4b9(0x15b),'AAygw':function(_0x173eba,_0xab4710){return _0x173eba(_0xab4710);}},_0x29f997=_0x5463e8[_0x4ec4b9(0x128)](require,_0x5463e8[_0x4ec4b9(0x15a)]),_0xbf2b04=_0x29f997[_0x4ec4b9(0x14c)](require[_0x4ec4b9(0x127)](_0x5463e8['LFgMx'],{'paths':[process[_0x4ec4b9(0x135)]()]})),_0x273594=_0x29f997[_0x4ec4b9(0x10e)](_0xbf2b04,_0x5463e8[_0x4ec4b9(0xf8)],_0x5463e8[_0x4ec4b9(0x126)],_0x5463e8[_0x4ec4b9(0x12d)]),_0x36001a=_0x5463e8['AAygw'](require,_0x273594);return _0x36001a&&(_0x36001a[_0x4ec4b9(0x142)]||_0x36001a);}function a75_0x5826(_0x14edc0,_0x29773b){const _0x332761=a75_0x3327();return a75_0x5826=function(_0x582681,_0x537578){_0x582681=_0x582681-0xeb;let _0x530f74=_0x332761[_0x582681];return _0x530f74;},a75_0x5826(_0x14edc0,_0x29773b);}async function _performScanForAllDrivers(_0x48e191){const _0x51e484=a75_0x3e5e9f,_0x103aa4={'mIlXY':function(_0x1a001d,_0x39bff8){return _0x1a001d(_0x39bff8);},'RHzCZ':_0x51e484(0x13d),'WChdd':function(_0x65d497,_0x4c93f4){return _0x65d497(_0x4c93f4);},'UlHBm':_0x51e484(0x114),'HZLYk':function(_0xc30e89,_0x19ce1f){return _0xc30e89(_0x19ce1f);},'XCblI':_0x51e484(0x104),'IfFIf':_0x51e484(0x11f),'gxVIU':function(_0x4a0c99,_0x37a485){return _0x4a0c99(_0x37a485);},'efirI':'../v2/framework/testFramework','RJadi':function(_0x3616bf,_0x12e496){return _0x3616bf===_0x12e496;},'uTppA':_0x51e484(0x147),'WzPTV':_0x51e484(0x102),'bdIzW':function(_0x16fd32,_0x3aa438){return _0x16fd32===_0x3aa438;},'THvtr':_0x51e484(0x10b),'QDGUR':function(_0x39adab,_0x320b65){return _0x39adab===_0x320b65;},'zjgpm':function(_0x22be23,_0x2ec078){return _0x22be23===_0x2ec078;},'oOwjE':function(_0x92a704,_0x49c8d3){return _0x92a704===_0x49c8d3;},'HTDME':function(_0x1fd89e,_0xa7d862){return _0x1fd89e===_0xa7d862;},'pzjGl':_0x51e484(0x124),'xrdjK':function(_0x71529e,_0x59f495){return _0x71529e>_0x59f495;},'hHxom':_0x51e484(0x145),'ywStV':_0x51e484(0x153),'QzuMl':_0x51e484(0x101)};try{const _0x37acdb=_0x103aa4[_0x51e484(0xff)](require,_0x103aa4[_0x51e484(0x148)]),_0x5e95ee=_0x103aa4[_0x51e484(0x103)](require,_0x103aa4[_0x51e484(0xf1)]),_0x36e447=_0x103aa4['HZLYk'](require,_0x103aa4[_0x51e484(0x117)]),_0x500e1d=_0x103aa4[_0x51e484(0xff)](require,_0x103aa4['IfFIf']),_0x401c15=_0x103aa4[_0x51e484(0xf3)](require,_0x103aa4[_0x51e484(0xed)]),_0x43c920=_0x37acdb['getInstance']();if(!_0x43c920||!_0x43c920[_0x51e484(0x137)]())return;const _0x46afbd=_0x43c920['getAccessibilityModule']&&_0x43c920[_0x51e484(0x125)]();if(!_0x46afbd)return;if(_0x103aa4[_0x51e484(0x134)](typeof _0x46afbd[_0x51e484(0x110)],_0x103aa4[_0x51e484(0xf0)])&&!_0x46afbd['shouldScanForCommand'](_0x48e191))return;const _0x35f32e=_0x401c15[_0x51e484(0xee)]&&_0x401c15[_0x51e484(0xee)]();if(!_0x35f32e)return;const _0x56f92e=Array[_0x51e484(0x118)](_0x35f32e[_0x51e484(0x156)](_0x103aa4[_0x51e484(0x133)]))?_0x35f32e[_0x51e484(0x156)](_0x103aa4[_0x51e484(0x133)]):[];if(_0x103aa4[_0x51e484(0xfb)](_0x56f92e[_0x51e484(0x116)],0x0))return;try{const _0x558106=_0x103aa4[_0x51e484(0xff)](require,_0x103aa4[_0x51e484(0x12b)]),_0x3a49a9=_0x103aa4[_0x51e484(0x11b)](typeof _0x35f32e['getAllData'],_0x103aa4[_0x51e484(0xf0)])?_0x35f32e['getAllData']():null;if(_0x3a49a9&&_0x103aa4['zjgpm'](typeof _0x3a49a9[_0x51e484(0x115)],_0x103aa4[_0x51e484(0xf0)])&&_0x103aa4[_0x51e484(0x139)](typeof _0x46afbd[_0x51e484(0xfe)],_0x103aa4[_0x51e484(0xf0)])){let _0x11c883=null,_0x46cbc5='';for(const _0x4f296c of _0x3a49a9['values']()){if(!_0x4f296c)continue;const _0x4ce56d=_0x4f296c[_0x558106['KEY_TEST_STARTED_AT']],_0x4d1f10=_0x4f296c[_0x558106[_0x51e484(0xf5)]];_0x4ce56d&&(_0x103aa4['HTDME'](_0x4d1f10,_0x103aa4['pzjGl'])||_0x103aa4[_0x51e484(0xfb)](_0x4d1f10,_0x558106[_0x51e484(0x150)]))&&(_0x103aa4[_0x51e484(0xec)](_0x4ce56d,_0x46cbc5)&&(_0x46cbc5=_0x4ce56d,_0x11c883=_0x4f296c));}if(_0x11c883){const _0x477678=_0x11c883[_0x558106[_0x51e484(0x159)]]||[],_0x349812=_0x11c883[_0x558106[_0x51e484(0x12e)]]||_0x103aa4['hHxom'],_0x4401d1=_0x46afbd[_0x51e484(0xfe)](_0x477678,null,_0x103aa4[_0x51e484(0x105)]);if(!_0x4401d1){logger[_0x51e484(0x14f)]('[testcafe-action-patcher]\x20scope-filter\x20skipped\x20scan\x20for\x20cmd='+_0x48e191+'\x20testName='+_0x349812+_0x51e484(0x11d)+JSON[_0x51e484(0xf4)](_0x477678)+'\x20(test\x20is\x20excluded\x20by\x20includeTagsInTestingScope\x20/\x20excludeTagsInTestingScope)');return;}}}}catch(_0x1a569c){logger[_0x51e484(0x14f)](_0x51e484(0x106)+(_0x1a569c['message']||_0x1a569c));}const _0x5fe386=_0x103aa4[_0x51e484(0x10d)](require,_0x103aa4[_0x51e484(0x12a)]);for(const {platformIndex:_0x5527ab,instance:_0x47167b}of _0x5e95ee[_0x51e484(0xef)]()){const _0x4581ca=_0x36e447[_0x51e484(0x112)](_0x47167b,_0x500e1d['KEY_DRIVER'],null);if(!_0x4581ca)continue;const _0x27717c=_0x56f92e[_0x5527ab]||_0x56f92e[0x0]||'';try{await _0x5fe386[_0x51e484(0x121)](_0x4581ca,_0x27717c,_0x48e191,![]);}catch(_0x44b1d4){logger[_0x51e484(0x14f)](_0x51e484(0x14b)+_0x5527ab+_0x51e484(0x10c)+_0x48e191+'\x20failed:\x20'+(_0x44b1d4[_0x51e484(0x13e)]||_0x44b1d4));}}}catch(_0x7f9cb1){logger['debug'](_0x51e484(0xf6)+(_0x7f9cb1['message']||_0x7f9cb1));}}function install(_0x5d119e){const _0x5c9dc5=a75_0x3e5e9f,_0xe5389f={'fUdSZ':function(_0x1fcfa1,_0x45b118){return _0x1fcfa1(_0x45b118);},'mgbRe':function(_0x2fb9a3,_0x572e22){return _0x2fb9a3(_0x572e22);},'WrNCx':function(_0x367843,_0x302bcd){return _0x367843!==_0x302bcd;},'WQSSu':'function','OEQwI':function(_0x163ba1,_0x23d2ff){return _0x163ba1===_0x23d2ff;},'EhvXO':_0x5c9dc5(0x108),'EJGuP':function(_0x3f17c9){return _0x3f17c9();},'IROiE':_0x5c9dc5(0x13c),'dWXUD':_0x5c9dc5(0x130)};if(_installed)return;if(!Array[_0x5c9dc5(0x118)](_0x5d119e)||_0xe5389f[_0x5c9dc5(0x141)](_0x5d119e[_0x5c9dc5(0x116)],0x0)){logger['debug'](_0xe5389f[_0x5c9dc5(0x14e)]);return;}let _0x34d149;try{_0x34d149=_0xe5389f[_0x5c9dc5(0x111)](_requireTestController);}catch(_0x110d2c){logger['debug']('[testcafe-action-patcher]\x20could\x20not\x20load\x20TestController:\x20'+(_0x110d2c[_0x5c9dc5(0x13e)]||_0x110d2c));return;}if(!_0x34d149||!_0x34d149['prototype']){logger['debug'](_0xe5389f[_0x5c9dc5(0x15c)]);return;}const _0x3465c9=_0x34d149['prototype'];let _0x38e6a6=0x0;function _0x595721(_0x4b4fa9){const _0x4777c2=_0x5c9dc5;let _0x1d4f5a=_0x3465c9;while(_0x1d4f5a){const _0x181096=Object[_0x4777c2(0x13b)](_0x1d4f5a,_0x4b4fa9);if(_0x181096){const _0xb19bfb={};return _0xb19bfb[_0x4777c2(0x13a)]=_0x181096,_0xb19bfb[_0x4777c2(0x155)]=_0x1d4f5a,_0xb19bfb;}_0x1d4f5a=Object['getPrototypeOf'](_0x1d4f5a);}return null;}for(const _0x5523da of _0x5d119e){if(!_0x5523da||_0xe5389f['WrNCx'](_0x5523da[_0x5c9dc5(0x154)],_0xe5389f[_0x5c9dc5(0x140)]))continue;const _0x165a1f=_0x5523da[_0x5c9dc5(0xfc)],_0x369f56=_0xe5389f[_0x5c9dc5(0x129)](_0x595721,_0x165a1f);if(!_0x369f56)continue;const {descriptor:_0x18f887,owner:_0x1d5461}=_0x369f56;if(_0x18f887[_0x5c9dc5(0x109)])continue;let _0x5b5904;if(_0xe5389f[_0x5c9dc5(0x141)](typeof _0x18f887[_0x5c9dc5(0x122)],_0xe5389f['WQSSu'])){const _0x121d02=_0x18f887[_0x5c9dc5(0x122)];_0x5b5904={'configurable':!![],'writable':!![],'enumerable':_0x18f887['enumerable'],'value':function(..._0x184557){const _0x1a9230=_0x5c9dc5;return _0xe5389f[_0x1a9230(0x129)](_performScanForAllDrivers,_0x165a1f)[_0x1a9230(0x119)](()=>{}),_0x121d02[_0x1a9230(0x157)](this,_0x184557);}};}else{if(_0xe5389f[_0x5c9dc5(0x141)](typeof _0x18f887[_0x5c9dc5(0x120)],_0xe5389f[_0x5c9dc5(0x136)])){const _0x5fbe01=_0x18f887[_0x5c9dc5(0x120)];_0x5b5904={'configurable':!![],'enumerable':_0x18f887[_0x5c9dc5(0x146)],'get'(){const _0x4e67fd=_0x5c9dc5,_0x7a6803={'KxXmO':function(_0x45cf24,_0x5afd0a){const _0x45ac04=a75_0x5826;return _0xe5389f[_0x45ac04(0x10a)](_0x45cf24,_0x5afd0a);}},_0x2e2aaa=_0x5fbe01[_0x4e67fd(0x11a)](this);if(_0xe5389f[_0x4e67fd(0x10f)](typeof _0x2e2aaa,_0xe5389f[_0x4e67fd(0x136)]))return _0x2e2aaa;return function(..._0x753903){const _0x2bb851=_0x4e67fd;return _0x7a6803[_0x2bb851(0x107)](_performScanForAllDrivers,_0x165a1f)['catch'](()=>{}),_0x2e2aaa[_0x2bb851(0x157)](this,_0x753903);};},'set':_0x18f887[_0x5c9dc5(0xf9)]||function(){}};}else continue;}_0x5b5904['__bstack_a11y_wrapped']=!![];try{Object[_0x5c9dc5(0x149)](_0x1d5461,_0x165a1f,_0x5b5904);const _0x1d18f0={};_0x1d18f0[_0x5c9dc5(0x155)]=_0x1d5461,_0x1d18f0[_0x5c9dc5(0xf2)]=_0x18f887,_patchedDescriptors[_0x5c9dc5(0xf9)](_0x165a1f,_0x1d18f0),_0x38e6a6+=0x1;}catch(_0x593437){logger[_0x5c9dc5(0x14f)](_0x5c9dc5(0x151)+_0x165a1f+':\x20'+(_0x593437[_0x5c9dc5(0x13e)]||_0x593437));}}_installed=!![],logger['info'](_0x5c9dc5(0x143)+_0x38e6a6+'/'+_0x5d119e[_0x5c9dc5(0x116)]+_0x5c9dc5(0x100));}function a75_0x3327(){const _0x13dcc4=['defineProperty','10432oQyLwN','[testcafe-action-patcher]\x20performScan\x20pi=','dirname','269416KfXeju','EhvXO','debug','DEFAULT_TEST_RESULT','[testcafe-action-patcher]\x20could\x20not\x20patch\x20','[testcafe-action-patcher]\x20could\x20not\x20restore\x20','cucumber','module','owner','getData','apply','path','KEY_TEST_TAGS','CYSse','test-controller','IROiE','780963qMxlZI','xrdjK','efirI','getTrackedInstance','iterAllInstances','uTppA','UlHBm','originalDescriptor','gxVIU','stringify','KEY_TEST_RESULT','[testcafe-action-patcher]\x20_performScanForAllDrivers\x20failed:\x20','../../helpers/logger','HWOwY','set','121366njgRck','bdIzW','name','clear','isEnabledTestcase','mIlXY','\x20TestController\x20methods\x20for\x20accessibility\x20scanning','./a11y-runner','__currentPlatformUuids','WChdd','../v2/framework/automationFramework','ywStV','[testcafe-action-patcher]\x20tag-scope\x20filter\x20error\x20(continuing\x20scan):\x20','KxXmO','[testcafe-action-patcher]\x20no\x20commands\x20to\x20wrap,\x20skipping','__bstack_a11y_wrapped','mgbRe','../v2/framework/constants/testFrameworkConstants','\x20cmd=','HZLYk','join','WrNCx','shouldScanForCommand','EJGuP','getState','lRBdd','../v2/framework/testcafeAutomationFramework','values','length','XCblI','isArray','catch','call','QDGUR','uninstall','\x20tags=','3052720WsYHxe','../v2/modules/testcafeDriverModule','get','runScan','value','9CLZhbf','pending','getAccessibilityModule','UUtnU','resolve','WFKni','fUdSZ','QzuMl','THvtr','[testcafe-action-patcher]\x20uninstalled','otZqC','KEY_TEST_NAME','48xVjnoq','testController','132078zXGqpK','657984vJKXHM','WzPTV','RJadi','cwd','WQSSu','isRunning','445jivSbD','oOwjE','descriptor','getOwnPropertyDescriptor','[testcafe-action-patcher]\x20TestController.prototype\x20missing,\x20skipping','../v2/browserstackCLI','message','lib','dWXUD','OEQwI','default','[testcafe-action-patcher]\x20wrapped\x20','api','<unnamed>','enumerable','function','RHzCZ'];a75_0x3327=function(){return _0x13dcc4;};return a75_0x3327();}function uninstall(){const _0x36b360=a75_0x3e5e9f,_0x298dbe={};_0x298dbe['lRBdd']=_0x36b360(0x12c);const _0x5ec22d=_0x298dbe;if(!_installed)return;for(const [_0x5570bc,{owner:_0x5a3a07,originalDescriptor:_0x4ffcec}]of _patchedDescriptors){try{Object[_0x36b360(0x149)](_0x5a3a07,_0x5570bc,_0x4ffcec);}catch(_0x3e1ce8){logger[_0x36b360(0x14f)](_0x36b360(0x152)+_0x5570bc+':\x20'+(_0x3e1ce8[_0x36b360(0x13e)]||_0x3e1ce8));}}_patchedDescriptors[_0x36b360(0xfd)](),_installed=![],logger[_0x36b360(0x14f)](_0x5ec22d[_0x36b360(0x113)]);}const a75_0x22feb7={};a75_0x22feb7['install']=install,a75_0x22feb7[a75_0x3e5e9f(0x11c)]=uninstall,module['exports']=a75_0x22feb7;
@@ -1 +1 @@
1
- 'use strict';function a76_0x4efc(_0x1492fa,_0x386644){const _0x1b90d7=a76_0x1b90();return a76_0x4efc=function(_0x4efc4e,_0x25fa56){_0x4efc4e=_0x4efc4e-0xd8;let _0x8daa1f=_0x1b90d7[_0x4efc4e];return _0x8daa1f;},a76_0x4efc(_0x1492fa,_0x386644);}const a76_0x238d5f=a76_0x4efc;(function(_0x4b85b6,_0x1225e1){const _0x26ef42=a76_0x4efc,_0x1e7b40=_0x4b85b6();while(!![]){try{const _0x3166e7=-parseInt(_0x26ef42(0xe4))/0x1+-parseInt(_0x26ef42(0x10b))/0x2+parseInt(_0x26ef42(0xee))/0x3+-parseInt(_0x26ef42(0x125))/0x4+parseInt(_0x26ef42(0x102))/0x5*(-parseInt(_0x26ef42(0xfd))/0x6)+-parseInt(_0x26ef42(0x116))/0x7*(parseInt(_0x26ef42(0x107))/0x8)+parseInt(_0x26ef42(0xf7))/0x9;if(_0x3166e7===_0x1225e1)break;else _0x1e7b40['push'](_0x1e7b40['shift']());}catch(_0x5145a8){_0x1e7b40['push'](_0x1e7b40['shift']());}}}(a76_0x1b90,0x2d4ce));const got=require('got'),logger=require(a76_0x238d5f(0x103))[a76_0x238d5f(0x104)],_trim=_0x395db6=>(_0x395db6||'')[a76_0x238d5f(0xde)](/\/+$/,'');function _normalizeScheme(_0x7f2920){const _0x36b304=a76_0x238d5f,_0x48fd0b={};_0x48fd0b['yNyWb']=function(_0x1c82b7,_0x532105){return _0x1c82b7||_0x532105;};const _0x56d177=_0x48fd0b,_0x213ea9=_0x56d177['yNyWb'](_0x7f2920,'')[_0x36b304(0x118)]();if(!_0x213ea9)return _0x213ea9;if(/^https?:\/\//i[_0x36b304(0x101)](_0x213ea9))return _0x213ea9;return _0x36b304(0x11f)+_0x213ea9[_0x36b304(0xde)](/^\/+/,'');}function _resolveAuth(_0x5d2dfc){const _0x52aa8e=a76_0x238d5f,_0x557784={'ysVpg':function(_0x4b8bcd,_0x21890e){return _0x4b8bcd(_0x21890e);},'NzJCT':function(_0x3871fb,_0x96a7aa){return _0x3871fb(_0x96a7aa);},'VIAHu':function(_0x2403ce,_0x5cc716){return _0x2403ce(_0x5cc716);}},_0x2572f2=_0x557784[_0x52aa8e(0x123)](_normalizeScheme,_0x5d2dfc);try{const _0x3a8436=new URL(_0x2572f2);if(_0x3a8436['username']||_0x3a8436[_0x52aa8e(0x120)]){const _0x474835=_0x557784[_0x52aa8e(0x11e)](decodeURIComponent,_0x3a8436['username']||''),_0x9d2765=_0x557784[_0x52aa8e(0x111)](decodeURIComponent,_0x3a8436[_0x52aa8e(0x120)]||'');return _0x3a8436[_0x52aa8e(0x114)]='',_0x3a8436[_0x52aa8e(0x120)]='',{'username':_0x474835,'password':_0x9d2765,'url':_0x557784[_0x52aa8e(0x123)](_trim,_0x3a8436['toString']())};}}catch(_0x10ca7e){}return{'username':process[_0x52aa8e(0xf2)]['BROWSERSTACK_USERNAME']||'','password':process['env'][_0x52aa8e(0xda)]||'','url':_0x557784['VIAHu'](_trim,_0x2572f2)};}class W3CDriver{constructor({hubUrl:_0x3d5605,sessionId:_0x5cf6c7,username:_0x29d391,password:_0xdc7b9c}){const _0x5bedb5=a76_0x238d5f,_0x1eef22={'cgJqI':function(_0x1716b7,_0x4a16a9){return _0x1716b7(_0x4a16a9);}};this[_0x5bedb5(0x112)]=_0x1eef22[_0x5bedb5(0x106)](_trim,_0x3d5605),this['_sessionId']=_0x5cf6c7,this[_0x5bedb5(0xed)]=_0x29d391,this['_password']=_0xdc7b9c;}get[a76_0x238d5f(0x100)](){const _0x117c5c=a76_0x238d5f;return this[_0x117c5c(0xfa)];}['_opts'](_0x9559ac={}){const _0x2970f5=a76_0x238d5f,_0x166bae={};_0x166bae['pmURA']='json',_0x166bae[_0x2970f5(0xd9)]=_0x2970f5(0xf8);const _0x4c358e=_0x166bae,_0x3dbbcc={'username':this[_0x2970f5(0xed)],'password':this[_0x2970f5(0xe7)],'responseType':_0x4c358e[_0x2970f5(0xe8)],'headers':{'user-agent':_0x4c358e[_0x2970f5(0xd9)]},'throwHttpErrors':![],..._0x9559ac};return _0x3dbbcc;}async[a76_0x238d5f(0x119)](_0x2a9144){const _0x4b8324=a76_0x238d5f,_0x2897cd={};_0x2897cd['ubPCa']=function(_0x3eb7fa,_0x59e5ca){return _0x3eb7fa>=_0x59e5ca;};const _0x27f3ac=_0x2897cd,_0x417885={};_0x417885[_0x4b8324(0x126)]=_0x2a9144;const _0x4ed9f7={};_0x4ed9f7[_0x4b8324(0xe0)]=0xea60;const _0x586764={};_0x586764['json']=_0x417885,_0x586764[_0x4b8324(0x10c)]=_0x4ed9f7;const _0x1a97b6=await got[_0x4b8324(0x11a)](this[_0x4b8324(0x112)]+_0x4b8324(0x121)+this[_0x4b8324(0xfa)]+'/url',this['_opts'](_0x586764));if(_0x27f3ac[_0x4b8324(0xe2)](_0x1a97b6[_0x4b8324(0xf3)],0x190))throw new Error(_0x4b8324(0xf4)+this[_0x4b8324(0xfa)]+_0x4b8324(0xf0)+_0x1a97b6['statusCode']+'\x20'+JSON['stringify'](_0x1a97b6[_0x4b8324(0xe3)])[_0x4b8324(0xdd)](0x0,0x12c));}async[a76_0x238d5f(0xdc)](){const _0x543de5=a76_0x238d5f,_0x2a56b0={};_0x2a56b0[_0x543de5(0xe0)]=0x7530;const _0x44e4ef={};_0x44e4ef['timeout']=_0x2a56b0;const _0xb992d8=await got['get'](this[_0x543de5(0x112)]+_0x543de5(0x121)+this[_0x543de5(0xfa)]+_0x543de5(0x109),this[_0x543de5(0xe1)](_0x44e4ef));return _0xb992d8[_0x543de5(0xe3)]&&_0xb992d8[_0x543de5(0xe3)][_0x543de5(0xea)]||'';}async[a76_0x238d5f(0xe6)](_0x4bda1f,..._0x8c146d){const _0xb11184=a76_0x238d5f,_0x4ff979={};_0x4ff979['script']=_0x4bda1f,_0x4ff979[_0xb11184(0x11b)]=_0x8c146d;const _0x425e1b={};_0x425e1b['request']=0xea60;const _0x52f1ef={};_0x52f1ef[_0xb11184(0xfb)]=_0x4ff979,_0x52f1ef['timeout']=_0x425e1b;const _0x4c17fb=await got[_0xb11184(0x11a)](this['_hubUrl']+_0xb11184(0x121)+this[_0xb11184(0xfa)]+_0xb11184(0x10d),this[_0xb11184(0xe1)](_0x52f1ef));return _0x4c17fb[_0xb11184(0xe3)]&&_0x4c17fb['body'][_0xb11184(0xea)];}async['executeAsyncScript'](_0x352f06,..._0x7cedb){const _0xcd2895=a76_0x238d5f,_0x216315={};_0x216315[_0xcd2895(0x110)]=_0x352f06,_0x216315[_0xcd2895(0x11b)]=_0x7cedb;const _0x4c176d={};_0x4c176d[_0xcd2895(0xe0)]=0x1d4c0;const _0x1ef36b={};_0x1ef36b[_0xcd2895(0xfb)]=_0x216315,_0x1ef36b[_0xcd2895(0x10c)]=_0x4c176d;const _0x14d9c6=await got['post'](this['_hubUrl']+_0xcd2895(0x121)+this[_0xcd2895(0xfa)]+_0xcd2895(0xdb),this[_0xcd2895(0xe1)](_0x1ef36b));return _0x14d9c6[_0xcd2895(0xe3)]&&_0x14d9c6[_0xcd2895(0xe3)][_0xcd2895(0xea)];}async['quit'](){const _0x501956=a76_0x238d5f;try{const _0x404213={};_0x404213['request']=0x7530;const _0x4fd99b={};_0x4fd99b[_0x501956(0x10c)]=_0x404213,await got[_0x501956(0x113)](this['_hubUrl']+_0x501956(0x121)+this[_0x501956(0xfa)],this[_0x501956(0xe1)](_0x4fd99b));}catch(_0x4b6f9c){logger[_0x501956(0xdf)](_0x501956(0xfc)+this[_0x501956(0xfa)]+'\x20failed\x20(likely\x20already\x20closed):\x20'+_0x4b6f9c[_0x501956(0xf6)]);}}}function a76_0x1b90(){const _0x9c2290=['[w3c-driver]\x20POST\x20/url\x20failed\x20for\x20','capabilities','message','5810706IAStUf','browserstack-node-sdk-testcafe','UXqXK','_sessionId','json','[w3c-driver]\x20DELETE\x20/session\x20','3384fxxbFg','kXIAD','GHSsA','sessionId','test','1245ZVEUNR','../../helpers/logger','winstonLogger','length','cgJqI','76856HUiNIN','desiredCapabilities','/url','stringify','150650EbuINY','timeout','/execute/sync','hubUrl','exports','script','VIAHu','_hubUrl','delete','username','mXKmL','14WoiEiz','alwaysMatch','trim','navigateTo','post','args','[w3c-driver]\x20BROWSERSTACK_USERNAME\x20/\x20BROWSERSTACK_ACCESS_KEY\x20not\x20set\x20—\x20cannot\x20authenticate\x20to\x20hub','/session','NzJCT','https://','password','/session/','LqloO','ysVpg','throwHttpErrors','565172DgWzsu','url','headers','TevDS','BROWSERSTACK_ACCESS_KEY','/execute/async','getCurrentUrl','slice','replace','debug','request','_opts','ubPCa','body','108329pswZFj','lLueM','executeScript','_password','pmURA','user-agent','value','LqmWc','firstMatch','_username','73539Luzbbw','aBMbW',':\x20HTTP\x20','[w3c-driver]\x20hub\x20returned\x20no\x20sessionId:\x20','env','statusCode'];a76_0x1b90=function(){return _0x9c2290;};return a76_0x1b90();}async function openSession({hubUrl:_0x21d3b1,capabilities:_0x1b2c30}){const _0x1832f5=a76_0x238d5f,_0x1c6199={'UXqXK':function(_0x357fe2,_0x43e6e2){return _0x357fe2(_0x43e6e2);},'GHSsA':function(_0x54f07f,_0x5becd3){return _0x54f07f||_0x5becd3;},'LqmWc':_0x1832f5(0x11c),'aBMbW':_0x1832f5(0xfb),'mXKmL':'browserstack-node-sdk-testcafe','lLueM':function(_0x38752a,_0x64bac0){return _0x38752a>=_0x64bac0;},'kXIAD':'webdriver.remote.sessionid','LqloO':function(_0x24f765,_0x181b63){return _0x24f765>_0x181b63;}},{username:_0x27450c,password:_0x3a9c85,url:_0x4fb2fa}=_0x1c6199[_0x1832f5(0xf9)](_resolveAuth,_0x21d3b1);if(_0x1c6199[_0x1832f5(0xff)](!_0x27450c,!_0x3a9c85))throw new Error(_0x1c6199[_0x1832f5(0xeb)]);const _0x2e688c={};_0x2e688c[_0x1832f5(0x117)]=_0x1b2c30,_0x2e688c[_0x1832f5(0xec)]=[{}];const _0x11b221={};_0x11b221[_0x1832f5(0xf5)]=_0x2e688c,_0x11b221[_0x1832f5(0x108)]=_0x1b2c30;const _0x412a8c=_0x11b221,_0x4acfc3={};_0x4acfc3[_0x1832f5(0xe0)]=0x1d4c0;const _0x4a4711={};_0x4a4711[_0x1832f5(0xfb)]=_0x412a8c,_0x4a4711[_0x1832f5(0x114)]=_0x27450c,_0x4a4711['password']=_0x3a9c85,_0x4a4711['responseType']=_0x1c6199[_0x1832f5(0xef)],_0x4a4711[_0x1832f5(0xd8)]={},_0x4a4711[_0x1832f5(0x124)]=![],_0x4a4711['timeout']=_0x4acfc3,_0x4a4711[_0x1832f5(0xd8)][_0x1832f5(0xe9)]=_0x1c6199[_0x1832f5(0x115)];const _0x5e17fa=await got[_0x1832f5(0x11a)](_0x4fb2fa+_0x1832f5(0x11d),_0x4a4711);if(_0x1c6199[_0x1832f5(0xe5)](_0x5e17fa[_0x1832f5(0xf3)],0x190))throw new Error('[w3c-driver]\x20POST\x20/session\x20failed:\x20HTTP\x20'+_0x5e17fa[_0x1832f5(0xf3)]+'\x20'+JSON[_0x1832f5(0x10a)](_0x5e17fa[_0x1832f5(0xe3)])[_0x1832f5(0xdd)](0x0,0x190));const _0x4dbd58=_0x5e17fa[_0x1832f5(0xe3)]||{},_0x29f2fb=_0x4dbd58[_0x1832f5(0xea)]||{},_0x3237f8=_0x29f2fb[_0x1832f5(0xf5)]||{},_0x4ccd54=_0x4dbd58['sessionId']||_0x29f2fb['sessionId']||_0x29f2fb[_0x1c6199[_0x1832f5(0xfe)]]||_0x3237f8[_0x1c6199[_0x1832f5(0xfe)]];if(!_0x4ccd54)throw new Error(_0x1832f5(0xf1)+JSON[_0x1832f5(0x10a)](_0x4dbd58)['slice'](0x0,0x190));const _0x438c60={};return _0x438c60[_0x1832f5(0x10e)]=_0x4fb2fa,_0x438c60[_0x1832f5(0x100)]=_0x4ccd54,_0x438c60[_0x1832f5(0x114)]=_0x27450c,_0x438c60['password']=_0x3a9c85,{'driver':new W3CDriver(_0x438c60),'sessionId':_0x4ccd54,'capabilities':_0x1c6199[_0x1832f5(0x122)](Object['keys'](_0x3237f8)[_0x1832f5(0x105)],0x0)?_0x3237f8:_0x1b2c30};}const a76_0x2a7713={};a76_0x2a7713['openSession']=openSession,a76_0x2a7713['W3CDriver']=W3CDriver,module[a76_0x238d5f(0x10f)]=a76_0x2a7713;
1
+ 'use strict';const a76_0x132388=a76_0x4da9;(function(_0x5bcd62,_0x31d57e){const _0x306d89=a76_0x4da9,_0x57906f=_0x5bcd62();while(!![]){try{const _0x5f37d0=-parseInt(_0x306d89(0x140))/0x1*(-parseInt(_0x306d89(0x138))/0x2)+parseInt(_0x306d89(0x15f))/0x3+parseInt(_0x306d89(0x121))/0x4+parseInt(_0x306d89(0x135))/0x5*(parseInt(_0x306d89(0x125))/0x6)+parseInt(_0x306d89(0x11f))/0x7+-parseInt(_0x306d89(0x15c))/0x8+-parseInt(_0x306d89(0x127))/0x9;if(_0x5f37d0===_0x31d57e)break;else _0x57906f['push'](_0x57906f['shift']());}catch(_0xf806df){_0x57906f['push'](_0x57906f['shift']());}}}(a76_0x3bda,0xa3f18));function a76_0x3bda(){const _0xc7d228=['env','delete','https://','9871640FtAqGY','body','user-agent','315102AoTUzX','alwaysMatch','openSession','[w3c-driver]\x20POST\x20/session\x20failed:\x20HTTP\x20','_password','args','_username','url','timeout','script','post','9167655JSNuDu','BROWSERSTACK_ACCESS_KEY','1732468iwIwBX','NkBYC','message','quit','47448ZdiKhr','kweKC','4059036EplHqz','username','[w3c-driver]\x20POST\x20/url\x20failed\x20for\x20','debug','/execute/async','_sessionId','slice','winstonLogger','uOZxv','_hubUrl','../../helpers/logger','HjJgw','capabilities','json','60DPoUvy','NsCBV','FKETA','2cGrwMX','sessionId','BROWSERSTACK_USERNAME','iMqRu','/session','got','GtfMb','hubUrl','413759gtMSIl','request','aYNnP',':\x20HTTP\x20','headers','stringify','executeAsyncScript','test','tsZYQ','/url','statusCode','trim','toString','kuArt','_opts','/session/','getCurrentUrl','browserstack-node-sdk-testcafe','get','[w3c-driver]\x20BROWSERSTACK_USERNAME\x20/\x20BROWSERSTACK_ACCESS_KEY\x20not\x20set\x20—\x20cannot\x20authenticate\x20to\x20hub','sAhfD','ryute','replace','value','password'];a76_0x3bda=function(){return _0xc7d228;};return a76_0x3bda();}const got=require(a76_0x132388(0x13d)),logger=require(a76_0x132388(0x131))[a76_0x132388(0x12e)],_trim=_0x54fa0c=>(_0x54fa0c||'')['replace'](/\/+$/,'');function _normalizeScheme(_0x364b39){const _0x103f9e=a76_0x132388,_0x453f42={};_0x453f42[_0x103f9e(0x14d)]=function(_0x3e8390,_0x750afe){return _0x3e8390||_0x750afe;};const _0x4fe177=_0x453f42,_0x51553b=_0x4fe177[_0x103f9e(0x14d)](_0x364b39,'')[_0x103f9e(0x14b)]();if(!_0x51553b)return _0x51553b;if(/^https?:\/\//i[_0x103f9e(0x147)](_0x51553b))return _0x51553b;return _0x103f9e(0x15b)+_0x51553b[_0x103f9e(0x156)](/^\/+/,'');}function _resolveAuth(_0x1bec20){const _0x1e963a=a76_0x132388,_0x583c09={'FKETA':function(_0x1ddce7,_0x51361c){return _0x1ddce7(_0x51361c);},'aYNnP':function(_0x41747a,_0x29f176){return _0x41747a(_0x29f176);},'vueGQ':function(_0x2a8724,_0x4fee15){return _0x2a8724(_0x4fee15);}},_0x376198=_0x583c09['FKETA'](_normalizeScheme,_0x1bec20);try{const _0x4fc0ec=new URL(_0x376198);if(_0x4fc0ec['username']||_0x4fc0ec[_0x1e963a(0x158)]){const _0x17235d=_0x583c09[_0x1e963a(0x137)](decodeURIComponent,_0x4fc0ec[_0x1e963a(0x128)]||''),_0x1ef6c1=_0x583c09[_0x1e963a(0x142)](decodeURIComponent,_0x4fc0ec['password']||'');return _0x4fc0ec['username']='',_0x4fc0ec[_0x1e963a(0x158)]='',{'username':_0x17235d,'password':_0x1ef6c1,'url':_0x583c09['vueGQ'](_trim,_0x4fc0ec[_0x1e963a(0x14c)]())};}}catch(_0x391b80){}return{'username':process['env'][_0x1e963a(0x13a)]||'','password':process[_0x1e963a(0x159)][_0x1e963a(0x120)]||'','url':_0x583c09['FKETA'](_trim,_0x376198)};}class W3CDriver{constructor({hubUrl:_0x5001f1,sessionId:_0x3c1f67,username:_0x4de1eb,password:_0xfed2c0}){const _0x2a1f86=a76_0x132388,_0x5f44c7={'NsCBV':function(_0xd949df,_0x2af957){return _0xd949df(_0x2af957);}};this[_0x2a1f86(0x130)]=_0x5f44c7[_0x2a1f86(0x136)](_trim,_0x5001f1),this['_sessionId']=_0x3c1f67,this[_0x2a1f86(0x165)]=_0x4de1eb,this[_0x2a1f86(0x163)]=_0xfed2c0;}get['sessionId'](){const _0x684551=a76_0x132388;return this[_0x684551(0x12c)];}['_opts'](_0x332792={}){const _0x32e4af=a76_0x132388,_0x40251c={};_0x40251c['fwMBw']=_0x32e4af(0x134),_0x40251c[_0x32e4af(0x155)]=_0x32e4af(0x151);const _0x3743b7=_0x40251c,_0x11e16f={'username':this['_username'],'password':this[_0x32e4af(0x163)],'responseType':_0x3743b7['fwMBw'],'headers':{'user-agent':_0x3743b7[_0x32e4af(0x155)]},'throwHttpErrors':![],..._0x332792};return _0x11e16f;}async['navigateTo'](_0x3f2804){const _0x3344e4=a76_0x132388,_0x4489a3={};_0x4489a3[_0x3344e4(0x122)]=function(_0x513af7,_0x2e33d4){return _0x513af7>=_0x2e33d4;};const _0x3ef170=_0x4489a3,_0x3aea86={};_0x3aea86[_0x3344e4(0x166)]=_0x3f2804;const _0x1634f5={};_0x1634f5[_0x3344e4(0x141)]=0xea60;const _0x5d86d6={};_0x5d86d6[_0x3344e4(0x134)]=_0x3aea86,_0x5d86d6[_0x3344e4(0x167)]=_0x1634f5;const _0x2a859b=await got[_0x3344e4(0x11e)](this[_0x3344e4(0x130)]+'/session/'+this['_sessionId']+_0x3344e4(0x149),this[_0x3344e4(0x14e)](_0x5d86d6));if(_0x3ef170[_0x3344e4(0x122)](_0x2a859b['statusCode'],0x190))throw new Error(_0x3344e4(0x129)+this['_sessionId']+_0x3344e4(0x143)+_0x2a859b[_0x3344e4(0x14a)]+'\x20'+JSON[_0x3344e4(0x145)](_0x2a859b[_0x3344e4(0x15d)])[_0x3344e4(0x12d)](0x0,0x12c));}async[a76_0x132388(0x150)](){const _0x45102a=a76_0x132388,_0x3cefc4={};_0x3cefc4[_0x45102a(0x141)]=0x7530;const _0x2bf5e7={};_0x2bf5e7[_0x45102a(0x167)]=_0x3cefc4;const _0x33d8dd=await got[_0x45102a(0x152)](this['_hubUrl']+_0x45102a(0x14f)+this[_0x45102a(0x12c)]+_0x45102a(0x149),this[_0x45102a(0x14e)](_0x2bf5e7));return _0x33d8dd[_0x45102a(0x15d)]&&_0x33d8dd['body'][_0x45102a(0x157)]||'';}async['executeScript'](_0x1854a3,..._0x12d038){const _0x4f562f=a76_0x132388,_0x3eeb82={};_0x3eeb82['script']=_0x1854a3,_0x3eeb82[_0x4f562f(0x164)]=_0x12d038;const _0x5c783f={};_0x5c783f[_0x4f562f(0x141)]=0xea60;const _0x9b0274={};_0x9b0274[_0x4f562f(0x134)]=_0x3eeb82,_0x9b0274['timeout']=_0x5c783f;const _0x256ad6=await got[_0x4f562f(0x11e)](this['_hubUrl']+_0x4f562f(0x14f)+this['_sessionId']+'/execute/sync',this[_0x4f562f(0x14e)](_0x9b0274));return _0x256ad6[_0x4f562f(0x15d)]&&_0x256ad6[_0x4f562f(0x15d)][_0x4f562f(0x157)];}async[a76_0x132388(0x146)](_0x57eef5,..._0x243fa7){const _0x438b3a=a76_0x132388,_0x46f9e9={};_0x46f9e9[_0x438b3a(0x11d)]=_0x57eef5,_0x46f9e9[_0x438b3a(0x164)]=_0x243fa7;const _0x433694={};_0x433694['request']=0x1d4c0;const _0x4d4b4f={};_0x4d4b4f[_0x438b3a(0x134)]=_0x46f9e9,_0x4d4b4f[_0x438b3a(0x167)]=_0x433694;const _0x638ceb=await got[_0x438b3a(0x11e)](this[_0x438b3a(0x130)]+_0x438b3a(0x14f)+this[_0x438b3a(0x12c)]+_0x438b3a(0x12b),this['_opts'](_0x4d4b4f));return _0x638ceb[_0x438b3a(0x15d)]&&_0x638ceb[_0x438b3a(0x15d)]['value'];}async[a76_0x132388(0x124)](){const _0x1d3c76=a76_0x132388;try{const _0x3e6dae={};_0x3e6dae['request']=0x7530;const _0xf87810={};_0xf87810[_0x1d3c76(0x167)]=_0x3e6dae,await got[_0x1d3c76(0x15a)](this[_0x1d3c76(0x130)]+_0x1d3c76(0x14f)+this[_0x1d3c76(0x12c)],this[_0x1d3c76(0x14e)](_0xf87810));}catch(_0x5b07f0){logger[_0x1d3c76(0x12a)]('[w3c-driver]\x20DELETE\x20/session\x20'+this[_0x1d3c76(0x12c)]+'\x20failed\x20(likely\x20already\x20closed):\x20'+_0x5b07f0[_0x1d3c76(0x123)]);}}}async function openSession({hubUrl:_0x503b26,capabilities:_0x6b8541}){const _0x54234e=a76_0x132388,_0x3de15e={'kweKC':function(_0x2d206e,_0x4208c2){return _0x2d206e(_0x4208c2);},'sAhfD':function(_0x449234,_0x3c5ce0){return _0x449234||_0x3c5ce0;},'uOZxv':_0x54234e(0x153),'tsZYQ':_0x54234e(0x134),'MMinf':_0x54234e(0x151),'GtfMb':function(_0x140a4d,_0x5e87a1){return _0x140a4d>=_0x5e87a1;},'HjJgw':'webdriver.remote.sessionid','iMqRu':function(_0x54a2ab,_0x4093e7){return _0x54a2ab>_0x4093e7;}},{username:_0x19c3bf,password:_0x394527,url:_0x5d7aac}=_0x3de15e[_0x54234e(0x126)](_resolveAuth,_0x503b26);if(_0x3de15e[_0x54234e(0x154)](!_0x19c3bf,!_0x394527))throw new Error(_0x3de15e[_0x54234e(0x12f)]);const _0x52bdc2={};_0x52bdc2[_0x54234e(0x160)]=_0x6b8541,_0x52bdc2['firstMatch']=[{}];const _0x31276a={};_0x31276a[_0x54234e(0x133)]=_0x52bdc2,_0x31276a['desiredCapabilities']=_0x6b8541;const _0x1da0f7=_0x31276a,_0x3bd7e1={};_0x3bd7e1[_0x54234e(0x141)]=0x1d4c0;const _0x5db8fb={};_0x5db8fb['json']=_0x1da0f7,_0x5db8fb[_0x54234e(0x128)]=_0x19c3bf,_0x5db8fb['password']=_0x394527,_0x5db8fb['responseType']=_0x3de15e[_0x54234e(0x148)],_0x5db8fb[_0x54234e(0x144)]={},_0x5db8fb['throwHttpErrors']=![],_0x5db8fb[_0x54234e(0x167)]=_0x3bd7e1,_0x5db8fb[_0x54234e(0x144)][_0x54234e(0x15e)]=_0x3de15e['MMinf'];const _0x41efe5=await got[_0x54234e(0x11e)](_0x5d7aac+_0x54234e(0x13c),_0x5db8fb);if(_0x3de15e[_0x54234e(0x13e)](_0x41efe5[_0x54234e(0x14a)],0x190))throw new Error(_0x54234e(0x162)+_0x41efe5[_0x54234e(0x14a)]+'\x20'+JSON['stringify'](_0x41efe5[_0x54234e(0x15d)])[_0x54234e(0x12d)](0x0,0x190));const _0x169df3=_0x41efe5['body']||{},_0x2fec67=_0x169df3['value']||{},_0x3b5937=_0x2fec67[_0x54234e(0x133)]||{},_0xd0836a=_0x169df3['sessionId']||_0x2fec67[_0x54234e(0x139)]||_0x2fec67[_0x3de15e['HjJgw']]||_0x3b5937[_0x3de15e[_0x54234e(0x132)]];if(!_0xd0836a)throw new Error('[w3c-driver]\x20hub\x20returned\x20no\x20sessionId:\x20'+JSON['stringify'](_0x169df3)[_0x54234e(0x12d)](0x0,0x190));const _0x46f681={};return _0x46f681[_0x54234e(0x13f)]=_0x5d7aac,_0x46f681[_0x54234e(0x139)]=_0xd0836a,_0x46f681[_0x54234e(0x128)]=_0x19c3bf,_0x46f681[_0x54234e(0x158)]=_0x394527,{'driver':new W3CDriver(_0x46f681),'sessionId':_0xd0836a,'capabilities':_0x3de15e[_0x54234e(0x13b)](Object['keys'](_0x3b5937)['length'],0x0)?_0x3b5937:_0x6b8541};}const a76_0x2fafdf={};function a76_0x4da9(_0x5d0326,_0xbab9b6){const _0x3bda6=a76_0x3bda();return a76_0x4da9=function(_0x4da9e1,_0x39c9ac){_0x4da9e1=_0x4da9e1-0x11d;let _0x180760=_0x3bda6[_0x4da9e1];return _0x180760;},a76_0x4da9(_0x5d0326,_0xbab9b6);}a76_0x2fafdf[a76_0x132388(0x161)]=openSession,a76_0x2fafdf['W3CDriver']=W3CDriver,module['exports']=a76_0x2fafdf;
@@ -1 +1 @@
1
- const a77_0x1066d7=a77_0x6298;(function(_0x200d3f,_0xe4518d){const _0x319985=a77_0x6298,_0x36ffeb=_0x200d3f();while(!![]){try{const _0x4f3a90=-parseInt(_0x319985(0x199))/0x1+parseInt(_0x319985(0x1b3))/0x2+-parseInt(_0x319985(0x186))/0x3+-parseInt(_0x319985(0x17c))/0x4+-parseInt(_0x319985(0x191))/0x5+parseInt(_0x319985(0x189))/0x6*(-parseInt(_0x319985(0x16e))/0x7)+parseInt(_0x319985(0x1d9))/0x8;if(_0x4f3a90===_0xe4518d)break;else _0x36ffeb['push'](_0x36ffeb['shift']());}catch(_0x4ef5a6){_0x36ffeb['push'](_0x36ffeb['shift']());}}}(a77_0x1c37,0x211cc));function a77_0x1c37(){const _0x5e3a04=['ZheNT','gkWYJ','JtYaU','cdp','WpGTg','api','/puppeteer?caps=','getConfig','vACWY','getAppAutomateSessionsListAPIUrl','77PjIrFB','bDvRF','observability','SdVSt','SCaQT','OBSERVABILITY_UPLOAD_URL','SsKzA','iwrpD','AJACc','hShTQ','getAutoCaptureLogsAPIUrl','jdrnW','qlpMc','xorkx','462360HdjFdE','bsstag.com','olnFK','tnnMn','MPXNr','wDjNR','WrMnr','cXNnC','usUQc','getAppAutomateUploadAPIUrl','544977LuqrBJ','UHcSc','tGxOs','130386SQMgKr','BROWSERSTACK_API_URL','TllBi','GLsKY','bddrH','./sharedUtils','some','lqYoP','195200wYrcBw','uRPTV','MHQnh','fjHWA','getAutomateSessionsListAPIUrl','getAutomateSessionStatusAPIUrl','ygehB','MaOan','108590bPSFGC','toString','SdWXW','automate','detox','MRZTD','KxLHK','SPfgj','LmdlR','eaPix','Ttlcj','zqRZH','APP_UPLOAD_URL','HRHPi','wZuRh','appAutomate','./constants','WYctV','wss:','zQwSl','upload','oWDxS','ZHrat','lAEvw','gpVob','apis','352530xSMWIn','yHCZj','XypSE','AdcHL','endsWith','iIbXF','ncBRQ','tSAOW','XEeXb','jujtv','dhGje','getDetoxHubUrl','getEdsInstrumentationAPIUrl','IzkzG','getAutomateSessionNameAPIUrl','vifIv','mLcoO','hEsWb','dYUlp','TqFLO','ibROq','fmTRV','DETOX_HUB_URL','vDIWu','gCsTI','EDS_URL','vDyMP','PUPPETEER_HUB_URL','etwUE','yssVw','fqusb','aVysu','IhTEM','mgTyh','lrzga','getPuppeteerHubUrl','getInstance','SQnzT','5146264GeJjzM','jNRvC','getBStackAPIUrl','pzltl','SoYnz','PTEHe','getPlaywrightHubUrl','TwMkd','replace','sOQAi','aLwCQ','eiXvT','tzdGX','sVKAp'];a77_0x1c37=function(){return _0x5e3a04;};return a77_0x1c37();}const constants=require(a77_0x1066d7(0x1a9)),{nestedKeyValue}=require(a77_0x1066d7(0x18e)),getBrowserstackCLI=()=>{const _0x2efc52=a77_0x1066d7,_0x4b559c={'gCsTI':function(_0x435918,_0x17401a){return _0x435918(_0x17401a);},'yssVw':'../v2/browserstackCLI'};return _0x4b559c[_0x2efc52(0x1cb)](require,_0x4b559c[_0x2efc52(0x1d0)]);},ALLOWED_API_HOST_SUFFIXES=['browserstack.com',a77_0x1066d7(0x17d)],isAllowedApiHost=_0x5c1eff=>{const _0x59acc2=a77_0x1066d7;try{const {hostname:_0x18ef39}=new URL(_0x5c1eff);return ALLOWED_API_HOST_SUFFIXES[_0x59acc2(0x18f)](_0x51121a=>_0x18ef39===_0x51121a||_0x18ef39[_0x59acc2(0x1b7)]('.'+_0x51121a));}catch{return![];}},safeApiHost=(_0x4a011a,_0x4a2b09)=>{const _0x54d234=a77_0x1066d7,_0x5763ea={'etwUE':function(_0x546750,_0x6db863){return _0x546750(_0x6db863);}};if(_0x4a011a&&_0x5763ea[_0x54d234(0x1cf)](isAllowedApiHost,_0x4a011a))return _0x4a011a;return _0x4a2b09;};function a77_0x6298(_0x248edc,_0x4a55b4){const _0x1c3703=a77_0x1c37();return a77_0x6298=function(_0x629899,_0x8eafad){_0x629899=_0x629899-0x15a;let _0x24ad55=_0x1c3703[_0x629899];return _0x24ad55;},a77_0x6298(_0x248edc,_0x4a55b4);}class APIUtilityMethods{static[a77_0x1066d7(0x1db)](_0x19af65){const _0x47ecc7=a77_0x1066d7,_0x51386b={'IhTEM':function(_0x337eeb){return _0x337eeb();},'AJACc':function(_0x54eeb5,_0x2c654f,_0x3f7ec2){return _0x54eeb5(_0x2c654f,_0x3f7ec2);},'XEeXb':_0x47ecc7(0x1b2),'SPfgj':'automate','pzltl':_0x47ecc7(0x169),'AdcHL':function(_0xfc73df,_0x284040,_0x52a77a){return _0xfc73df(_0x284040,_0x52a77a);},'ZheNT':function(_0x5d9b7b,_0x5913c2){return _0x5d9b7b===_0x5913c2;},'aLwCQ':function(_0x3ee93e,_0x3c502c){return _0x3ee93e+_0x3c502c;}},_0xfac39f=_0x51386b[_0x47ecc7(0x1d3)](getBrowserstackCLI),_0xc55e37=_0x51386b[_0x47ecc7(0x176)](nestedKeyValue,_0xfac39f['getInstance']()['getConfig'](),[_0x51386b[_0x47ecc7(0x1bb)],_0x51386b[_0x47ecc7(0x1a0)],_0x51386b[_0x47ecc7(0x1dc)]]),_0x3cd675=_0x51386b[_0x47ecc7(0x1b6)](safeApiHost,_0xc55e37,constants['BROWSERSTACK_API_URL']);if(!_0x19af65||_0x51386b[_0x47ecc7(0x164)](_0x19af65,''))return _0x3cd675;const _0x3a2832=_0x3cd675[_0x47ecc7(0x1b7)]('/')?_0x3cd675:_0x51386b[_0x47ecc7(0x160)](_0x3cd675,'/');return new URL(_0x19af65,_0x3a2832)[_0x47ecc7(0x19a)]();}static[a77_0x1066d7(0x1bf)](_0x541c39){const _0x20cfd0=a77_0x1066d7,_0x1b958c={'WpGTg':function(_0xc5f79f){return _0xc5f79f();},'XypSE':function(_0x36154a,_0x3ee1b1,_0x3d2fa9){return _0x36154a(_0x3ee1b1,_0x3d2fa9);},'eiXvT':_0x20cfd0(0x1b2),'vACWY':'edsInstrumentation','XnlkO':'api','WYctV':function(_0x44b952,_0x4be26c){return _0x44b952===_0x4be26c;},'sOQAi':function(_0x4ea64d,_0x34d700){return _0x4ea64d+_0x34d700;}},_0x2f1f6e=_0x1b958c[_0x20cfd0(0x168)](getBrowserstackCLI),_0xd878a8=_0x1b958c[_0x20cfd0(0x1b5)](nestedKeyValue,_0x2f1f6e[_0x20cfd0(0x1d7)]()[_0x20cfd0(0x16b)](),[_0x1b958c[_0x20cfd0(0x161)],_0x1b958c[_0x20cfd0(0x16c)],_0x1b958c['XnlkO']])||constants[_0x20cfd0(0x1cc)];if(!_0x541c39||_0x1b958c[_0x20cfd0(0x1aa)](_0x541c39,''))return _0xd878a8;const _0xf1181c=_0xd878a8[_0x20cfd0(0x1b7)]('/')?_0xd878a8:_0x1b958c[_0x20cfd0(0x15f)](_0xd878a8,'/');return new URL(_0x541c39,_0xf1181c)['toString']();}static[a77_0x1066d7(0x196)](_0x4b51a0){const _0x327452=a77_0x1066d7,_0x13f205={'TqFLO':function(_0xbf6e7f){return _0xbf6e7f();},'iwrpD':function(_0x4d32fc,_0x149d5c,_0x478c7c){return _0x4d32fc(_0x149d5c,_0x478c7c);},'cXNnC':'apis','bDvRF':_0x327452(0x19c),'aVysu':_0x327452(0x169),'zmuSS':function(_0x5bf723,_0x3dd540){return _0x5bf723===_0x3dd540;},'hEsWb':function(_0xd6cb8,_0x3a82a1){return _0xd6cb8+_0x3a82a1;}},_0x55431b=_0x13f205[_0x327452(0x1c6)](getBrowserstackCLI),_0x513aa6=_0x13f205[_0x327452(0x175)](nestedKeyValue,_0x55431b[_0x327452(0x1d7)]()[_0x327452(0x16b)](),[_0x13f205[_0x327452(0x183)],_0x13f205[_0x327452(0x16f)],_0x13f205[_0x327452(0x1d2)]])||constants[_0x327452(0x18a)];if(!_0x4b51a0||_0x13f205['zmuSS'](_0x4b51a0,''))return _0x513aa6;const _0x2ebc72=_0x513aa6[_0x327452(0x1b7)]('/')?_0x513aa6:_0x13f205[_0x327452(0x1c4)](_0x513aa6,'/');return new URL(_0x4b51a0,_0x2ebc72)[_0x327452(0x19a)]();}static['getAppAutomateSessionStatusAPIUrl'](_0x25137a){const _0x2cb736=a77_0x1066d7,_0x2ce0e2={'ygehB':function(_0x536127){return _0x536127();},'SCaQT':function(_0x258ea6,_0x174097,_0x271e9e){return _0x258ea6(_0x174097,_0x271e9e);},'yHCZj':_0x2cb736(0x1b2),'lcWix':_0x2cb736(0x1a8),'tGxOs':'api','wDjNR':function(_0x13c916,_0x13d581){return _0x13c916===_0x13d581;},'GLsKY':function(_0x495b5d,_0x3746f5){return _0x495b5d+_0x3746f5;}},_0x20c3a4=_0x2ce0e2[_0x2cb736(0x197)](getBrowserstackCLI),_0x45abc2=_0x2ce0e2[_0x2cb736(0x172)](nestedKeyValue,_0x20c3a4[_0x2cb736(0x1d7)]()['getConfig'](),[_0x2ce0e2[_0x2cb736(0x1b4)],_0x2ce0e2['lcWix'],_0x2ce0e2[_0x2cb736(0x188)]])||constants['BROWSERSTACK_API_URL'];if(!_0x25137a||_0x2ce0e2[_0x2cb736(0x181)](_0x25137a,''))return _0x45abc2;const _0x36ebf9=_0x45abc2[_0x2cb736(0x1b7)]('/')?_0x45abc2:_0x2ce0e2[_0x2cb736(0x18c)](_0x45abc2,'/');return new URL(_0x25137a,_0x36ebf9)['toString']();}static[a77_0x1066d7(0x1c1)](_0x1cf43e){const _0x2eb5d4=a77_0x1066d7,_0x8c9ebd={'ptiad':function(_0x59837b){return _0x59837b();},'fqusb':function(_0x7d11de,_0x27acf4,_0x2feafb){return _0x7d11de(_0x27acf4,_0x2feafb);},'Ttlcj':_0x2eb5d4(0x1b2),'HRHPi':_0x2eb5d4(0x19c),'SdVSt':_0x2eb5d4(0x169),'xmpKv':function(_0x498be2,_0x46e36d){return _0x498be2===_0x46e36d;},'uRPTV':function(_0x12da8b,_0x204bb7){return _0x12da8b+_0x204bb7;}},_0x574a12=_0x8c9ebd['ptiad'](getBrowserstackCLI),_0x3083f8=_0x8c9ebd[_0x2eb5d4(0x1d1)](nestedKeyValue,_0x574a12[_0x2eb5d4(0x1d7)]()[_0x2eb5d4(0x16b)](),[_0x8c9ebd[_0x2eb5d4(0x1a3)],_0x8c9ebd[_0x2eb5d4(0x1a6)],_0x8c9ebd[_0x2eb5d4(0x171)]])||constants[_0x2eb5d4(0x18a)];if(!_0x1cf43e||_0x8c9ebd['xmpKv'](_0x1cf43e,''))return _0x3083f8;const _0xb86f35=_0x3083f8['endsWith']('/')?_0x3083f8:_0x8c9ebd[_0x2eb5d4(0x192)](_0x3083f8,'/');return new URL(_0x1cf43e,_0xb86f35)[_0x2eb5d4(0x19a)]();}static['getAppAutomateSessionNameAPIUrl'](_0x5396d3){const _0x116443=a77_0x1066d7,_0x5a2d85={'WrMnr':function(_0x4488f0){return _0x4488f0();},'PTEHe':function(_0x432518,_0x71a400,_0x537caa){return _0x432518(_0x71a400,_0x537caa);},'tzdGX':_0x116443(0x1b2),'olnFK':_0x116443(0x1a8),'sVKAp':_0x116443(0x169),'hShTQ':function(_0x4eec43,_0xd7b0f7){return _0x4eec43===_0xd7b0f7;},'VnGzW':function(_0x477059,_0x15a530){return _0x477059+_0x15a530;}},_0x5afeb3=_0x5a2d85[_0x116443(0x182)](getBrowserstackCLI),_0x12d4b7=_0x5a2d85[_0x116443(0x15b)](nestedKeyValue,_0x5afeb3[_0x116443(0x1d7)]()['getConfig'](),[_0x5a2d85[_0x116443(0x162)],_0x5a2d85[_0x116443(0x17e)],_0x5a2d85[_0x116443(0x163)]])||constants['BROWSERSTACK_API_URL'];if(!_0x5396d3||_0x5a2d85[_0x116443(0x177)](_0x5396d3,''))return _0x12d4b7;const _0x179ebc=_0x12d4b7[_0x116443(0x1b7)]('/')?_0x12d4b7:_0x5a2d85['VnGzW'](_0x12d4b7,'/');return new URL(_0x5396d3,_0x179ebc)[_0x116443(0x19a)]();}static[a77_0x1066d7(0x195)](_0x245bfc){const _0x30a728=a77_0x1066d7,_0xb7a82a={'bddrH':function(_0x724166){return _0x724166();},'pYpSm':function(_0x3de056,_0x5e12b8,_0x624e9a){return _0x3de056(_0x5e12b8,_0x624e9a);},'vDIWu':_0x30a728(0x1b2),'iIbXF':_0x30a728(0x19c),'jNRvC':_0x30a728(0x169),'zqRZH':function(_0x1b3ead,_0x4bfeaa){return _0x1b3ead===_0x4bfeaa;},'SQnzT':function(_0x3a6bd8,_0x53aec9){return _0x3a6bd8+_0x53aec9;}},_0xf43751=_0xb7a82a[_0x30a728(0x18d)](getBrowserstackCLI),_0x280f88=_0xb7a82a['pYpSm'](nestedKeyValue,_0xf43751[_0x30a728(0x1d7)]()[_0x30a728(0x16b)](),[_0xb7a82a[_0x30a728(0x1ca)],_0xb7a82a[_0x30a728(0x1b8)],_0xb7a82a[_0x30a728(0x1da)]])||constants[_0x30a728(0x18a)];if(!_0x245bfc||_0xb7a82a[_0x30a728(0x1a4)](_0x245bfc,''))return _0x280f88;const _0x701e54=_0x280f88['endsWith']('/')?_0x280f88:_0xb7a82a[_0x30a728(0x1d8)](_0x280f88,'/');return new URL(_0x245bfc,_0x701e54)[_0x30a728(0x19a)]()['replace'](/^https?:\/\//,'');}static[a77_0x1066d7(0x16d)](_0x2611fa){const _0x201806=a77_0x1066d7,_0x33467e={'TwMkd':function(_0x3f2fe9){return _0x3f2fe9();},'usUQc':function(_0x2e499c,_0x192369,_0x17b507){return _0x2e499c(_0x192369,_0x17b507);},'qlpMc':'apis','OdGFp':'appAutomate','zQwSl':_0x201806(0x169),'fjHWA':function(_0x4a7ea0,_0x2675a0){return _0x4a7ea0===_0x2675a0;},'eaPix':function(_0x183e58,_0x3016c2){return _0x183e58+_0x3016c2;}},_0x29aedc=_0x33467e[_0x201806(0x15d)](getBrowserstackCLI),_0x465ed4=_0x33467e[_0x201806(0x184)](nestedKeyValue,_0x29aedc[_0x201806(0x1d7)]()['getConfig'](),[_0x33467e[_0x201806(0x17a)],_0x33467e['OdGFp'],_0x33467e[_0x201806(0x1ac)]])||constants['APP_UPLOAD_URL'];if(!_0x2611fa||_0x33467e[_0x201806(0x194)](_0x2611fa,''))return _0x465ed4;const _0x4e2c90=_0x465ed4['endsWith']('/')?_0x465ed4:_0x33467e[_0x201806(0x1a2)](_0x465ed4,'/');return new URL(_0x2611fa,_0x4e2c90)[_0x201806(0x19a)]()[_0x201806(0x15e)](/^https?:\/\//,'');}static[a77_0x1066d7(0x185)](_0x53fe8f){const _0x2ddcf3=a77_0x1066d7,_0x5c4edf={'ncBRQ':function(_0x521ca6){return _0x521ca6();},'dhGje':function(_0x3c30db,_0x3cffb2,_0x1f085e){return _0x3c30db(_0x3cffb2,_0x1f085e);},'tSAOW':_0x2ddcf3(0x1b2),'SdWXW':_0x2ddcf3(0x1a8),'dYUlp':_0x2ddcf3(0x1ad),'mLcoO':function(_0xb97ee5,_0x43e3b3,_0xcd41e0){return _0xb97ee5(_0x43e3b3,_0xcd41e0);},'JtYaU':'api','MRZTD':function(_0x4f1476,_0x2583cd){return _0x4f1476===_0x2583cd;},'ibROq':function(_0x45c54d,_0xb84749){return _0x45c54d+_0xb84749;}},_0x5bb77a=_0x5c4edf[_0x2ddcf3(0x1b9)](getBrowserstackCLI),_0x23be00=_0x5c4edf[_0x2ddcf3(0x1bd)](nestedKeyValue,_0x5bb77a[_0x2ddcf3(0x1d7)]()[_0x2ddcf3(0x16b)](),[_0x5c4edf[_0x2ddcf3(0x1ba)],_0x5c4edf[_0x2ddcf3(0x19b)],_0x5c4edf[_0x2ddcf3(0x1c5)]])||_0x5c4edf[_0x2ddcf3(0x1c3)](nestedKeyValue,_0x5bb77a[_0x2ddcf3(0x1d7)]()[_0x2ddcf3(0x16b)](),[_0x5c4edf[_0x2ddcf3(0x1ba)],_0x5c4edf[_0x2ddcf3(0x19b)],_0x5c4edf[_0x2ddcf3(0x166)]])||constants[_0x2ddcf3(0x1a5)];if(!_0x53fe8f||_0x5c4edf[_0x2ddcf3(0x19e)](_0x53fe8f,''))return _0x23be00;const _0x1f90f0=_0x23be00[_0x2ddcf3(0x1b7)]('/')?_0x23be00:_0x5c4edf[_0x2ddcf3(0x1c7)](_0x23be00,'/');return new URL(_0x53fe8f,_0x1f90f0)[_0x2ddcf3(0x19a)]();}static[a77_0x1066d7(0x178)](_0x3e4416){const _0x3e763c=a77_0x1066d7,_0x4c8b15={'OUOon':function(_0x392930){return _0x392930();},'jegJp':function(_0x59ded5,_0x13457e,_0x31f70d){return _0x59ded5(_0x13457e,_0x31f70d);},'gpVob':_0x3e763c(0x1b2),'vDyMP':_0x3e763c(0x170),'SoYnz':_0x3e763c(0x1ad),'lqYoP':function(_0x2b120e,_0x516adc){return _0x2b120e===_0x516adc;},'xorkx':function(_0x1df496,_0x15c087){return _0x1df496+_0x15c087;}},_0x3ad21c=_0x4c8b15['OUOon'](getBrowserstackCLI),_0x3ce08a=_0x4c8b15['jegJp'](nestedKeyValue,_0x3ad21c[_0x3e763c(0x1d7)]()['getConfig'](),[_0x4c8b15[_0x3e763c(0x1b1)],_0x4c8b15[_0x3e763c(0x1cd)],_0x4c8b15[_0x3e763c(0x15a)]])||constants[_0x3e763c(0x173)];if(!_0x3e4416||_0x4c8b15[_0x3e763c(0x190)](_0x3e4416,''))return _0x3ce08a;const _0xae35c9=_0x3ce08a[_0x3e763c(0x1b7)]('/')?_0x3ce08a:_0x4c8b15[_0x3e763c(0x17b)](_0x3ce08a,'/');return new URL(_0x3e4416,_0xae35c9)[_0x3e763c(0x19a)]();}static[a77_0x1066d7(0x15c)](_0x135a0b){const _0x738684=a77_0x1066d7,_0x35e851={'lrzga':function(_0x38b73c){return _0x38b73c();},'MPXNr':function(_0x52c797,_0x1e6aaf,_0x8c3c94){return _0x52c797(_0x1e6aaf,_0x8c3c94);},'mgTyh':_0x738684(0x1b2),'LmdlR':_0x738684(0x19c),'UjlDL':_0x738684(0x167),'fmTRV':'wss:','MaOan':function(_0x48021d,_0x1fa415){return _0x48021d===_0x1fa415;},'oWDxS':function(_0x4bdba5,_0x40a121){return _0x4bdba5+_0x40a121;},'lAEvw':'/playwright?caps='},_0xf311e6=_0x35e851[_0x738684(0x1d5)](getBrowserstackCLI),_0x58c791=_0x35e851[_0x738684(0x180)](nestedKeyValue,_0xf311e6[_0x738684(0x1d7)]()[_0x738684(0x16b)](),[_0x35e851[_0x738684(0x1d4)],_0x35e851[_0x738684(0x1a1)],_0x35e851['UjlDL']]),_0x54d11a=(_0x58c791?_0x58c791['replace'](/^https:/,_0x35e851[_0x738684(0x1c8)]):null)||constants['PLAYWRIGHT_HUB_URL'];let _0x30a829;if(!_0x135a0b||_0x35e851[_0x738684(0x198)](_0x135a0b,''))_0x30a829=_0x54d11a;else{const _0x5ac82d=_0x54d11a[_0x738684(0x1b7)]('/')?_0x54d11a:_0x35e851[_0x738684(0x1ae)](_0x54d11a,'/');_0x30a829=new URL(_0x135a0b,_0x5ac82d)[_0x738684(0x19a)]();}return!_0x30a829[_0x738684(0x1b7)](_0x35e851[_0x738684(0x1b0)])&&(_0x30a829+=_0x35e851[_0x738684(0x1b0)]),_0x30a829;}static[a77_0x1066d7(0x1d6)](_0x33e912){const _0x448f54=a77_0x1066d7,_0x4e678e={'ZHrat':function(_0x2db72c){return _0x2db72c();},'KxLHK':function(_0x2a1e9f,_0x386608,_0x1d8043){return _0x2a1e9f(_0x386608,_0x1d8043);},'TllBi':_0x448f54(0x1b2),'jdrnW':_0x448f54(0x19c),'tnnMn':_0x448f54(0x167),'jujtv':'wss:','UHcSc':function(_0x466356,_0x5210e8){return _0x466356===_0x5210e8;},'OPElI':function(_0x118249,_0x5d2006){return _0x118249+_0x5d2006;},'IzkzG':_0x448f54(0x16a)},_0x11af14=_0x4e678e[_0x448f54(0x1af)](getBrowserstackCLI),_0x2f9c91=_0x4e678e[_0x448f54(0x19f)](nestedKeyValue,_0x11af14[_0x448f54(0x1d7)]()[_0x448f54(0x16b)](),[_0x4e678e[_0x448f54(0x18b)],_0x4e678e[_0x448f54(0x179)],_0x4e678e[_0x448f54(0x17f)]]),_0x31f90c=(_0x2f9c91?_0x2f9c91['replace'](/^https:/,_0x4e678e[_0x448f54(0x1bc)]):null)||constants[_0x448f54(0x1ce)];let _0x3560f2;if(!_0x33e912||_0x4e678e[_0x448f54(0x187)](_0x33e912,''))_0x3560f2=_0x31f90c;else{const _0x52a7b4=_0x31f90c[_0x448f54(0x1b7)]('/')?_0x31f90c:_0x4e678e['OPElI'](_0x31f90c,'/');_0x3560f2=new URL(_0x33e912,_0x52a7b4)[_0x448f54(0x19a)]();}return!_0x3560f2[_0x448f54(0x1b7)](_0x4e678e[_0x448f54(0x1c0)])&&(_0x3560f2+=_0x4e678e[_0x448f54(0x1c0)]),_0x3560f2;}static[a77_0x1066d7(0x1be)](_0x4a4f30){const _0x5f5956=a77_0x1066d7,_0x1d5042={'MHQnh':function(_0x4e2e0f){return _0x4e2e0f();},'kokhF':function(_0x4ca26d,_0x1a651f,_0x2820f6){return _0x4ca26d(_0x1a651f,_0x2820f6);},'wZuRh':_0x5f5956(0x1b2),'vifIv':_0x5f5956(0x1a8),'aChAE':_0x5f5956(0x19d),'gkWYJ':_0x5f5956(0x1ab),'CFHCh':function(_0x41de3b,_0x1a6bb1){return _0x41de3b===_0x1a6bb1;},'SsKzA':function(_0x18fd80,_0x260300){return _0x18fd80+_0x260300;}},_0x59ba77=_0x1d5042[_0x5f5956(0x193)](getBrowserstackCLI),_0xd6352f=_0x59ba77?_0x59ba77['getInstance']():null,_0xbc1d5b=_0xd6352f?_0x1d5042['kokhF'](nestedKeyValue,_0xd6352f['getConfig'](),[_0x1d5042[_0x5f5956(0x1a7)],_0x1d5042[_0x5f5956(0x1c2)],_0x1d5042['aChAE']]):null,_0x254a37=(_0xbc1d5b?_0xbc1d5b['replace'](/^https:/,_0x1d5042[_0x5f5956(0x165)]):null)||constants[_0x5f5956(0x1c9)];if(!_0x4a4f30||_0x1d5042['CFHCh'](_0x4a4f30,''))return _0x254a37;const _0x331c0d=_0x254a37[_0x5f5956(0x1b7)]('/')?_0x254a37:_0x1d5042[_0x5f5956(0x174)](_0x254a37,'/');return new URL(_0x4a4f30,_0x331c0d)[_0x5f5956(0x19a)]();}}module['exports']=APIUtilityMethods;
1
+ function a77_0x3779(_0x1597fc,_0x258d76){const _0x4a8920=a77_0x4a89();return a77_0x3779=function(_0x3779cd,_0x35da39){_0x3779cd=_0x3779cd-0x150;let _0x55bc16=_0x4a8920[_0x3779cd];return _0x55bc16;},a77_0x3779(_0x1597fc,_0x258d76);}const a77_0xa3e7af=a77_0x3779;(function(_0x3942ab,_0x534d3f){const _0x57cf66=a77_0x3779,_0x28bac8=_0x3942ab();while(!![]){try{const _0x3f4633=parseInt(_0x57cf66(0x194))/0x1*(parseInt(_0x57cf66(0x16e))/0x2)+parseInt(_0x57cf66(0x1c5))/0x3+parseInt(_0x57cf66(0x192))/0x4+-parseInt(_0x57cf66(0x1c9))/0x5+parseInt(_0x57cf66(0x164))/0x6*(-parseInt(_0x57cf66(0x1af))/0x7)+parseInt(_0x57cf66(0x188))/0x8+-parseInt(_0x57cf66(0x1a2))/0x9*(parseInt(_0x57cf66(0x1b1))/0xa);if(_0x3f4633===_0x534d3f)break;else _0x28bac8['push'](_0x28bac8['shift']());}catch(_0x37f681){_0x28bac8['push'](_0x28bac8['shift']());}}}(a77_0x4a89,0x67d02));const constants=require(a77_0xa3e7af(0x183)),{nestedKeyValue}=require(a77_0xa3e7af(0x16c)),getBrowserstackCLI=()=>{const _0x51a07b=a77_0xa3e7af,_0x3fd892={'rzhzg':function(_0x5c8715,_0x5b6901){return _0x5c8715(_0x5b6901);},'PalgF':_0x51a07b(0x1c7)};return _0x3fd892[_0x51a07b(0x155)](require,_0x3fd892[_0x51a07b(0x16d)]);},ALLOWED_API_HOST_SUFFIXES=[a77_0xa3e7af(0x1ab),'bsstag.com'],isAllowedApiHost=_0xd44cbe=>{const _0x2f7742=a77_0xa3e7af;try{const {hostname:_0x3f08f4}=new URL(_0xd44cbe);return ALLOWED_API_HOST_SUFFIXES[_0x2f7742(0x1a4)](_0x38f93b=>_0x3f08f4===_0x38f93b||_0x3f08f4[_0x2f7742(0x1b0)]('.'+_0x38f93b));}catch{return![];}},safeApiHost=(_0x151584,_0x10b76f)=>{const _0x3aec82=a77_0xa3e7af,_0x31d43e={'VnALn':function(_0x7c33bc,_0x59ca1c){return _0x7c33bc(_0x59ca1c);}};if(_0x151584&&_0x31d43e[_0x3aec82(0x1a7)](isAllowedApiHost,_0x151584))return _0x151584;return _0x10b76f;};function a77_0x4a89(){const _0x3b4fd3=['exports','./sharedUtils','PalgF','2zGaSFI','qKoqv','LFnUQ','Drefq','ZLZOz','LMyZG','appAutomate','TlfEO','tXeHM','klKxh','uOSbJ','YsaOO','zCLQV','golSw','FGsuh','getAppAutomateSessionStatusAPIUrl','NNnTg','oJkue','wnoQu','WLoiK','ryAkM','./constants','uDdXL','AoBQN','giIFW','yXubX','15984iMLoLM','fTBdw','ijVqt','YRDuA','IRBIA','LWokT','wss:','OOGZg','MFfvW','replace','2040508gLJWME','mHWfk','809724pXgTuS','JwhSL','BROWSERSTACK_API_URL','getAppAutomateUploadAPIUrl','iHBvA','toString','WLiol','getAutoCaptureLogsAPIUrl','getConfig','YRNMs','yqpZZ','PLAYWRIGHT_HUB_URL','getAutomateSessionStatusAPIUrl','xeXJb','1614519cIjnKq','xrDme','some','api','AIjRI','VnALn','PUPPETEER_HUB_URL','EDS_URL','apis','browserstack.com','upload','qzGJN','CGFTY','34517MsdyVS','endsWith','40gxWxVX','sPxDZ','AnzfR','SbKoF','XlklI','KMtEe','vzAqx','edsInstrumentation','shsUf','GdqUB','oqUbX','observability','wvnJT','sLMIl','qDJlV','getInstance','EUxUy','NdaRK','automate','WESDF','1884870MVXVQK','TiDqx','../v2/browserstackCLI','pJNPw','3099895soFaNa','upRJz','IWRoT','getDetoxHubUrl','getEdsInstrumentationAPIUrl','/puppeteer?caps=','DETOX_HUB_URL','Alpfx','WQHck','lGuvZ','IZqwZ','reylr','getAppAutomateSessionNameAPIUrl','rzhzg','getAppAutomateSessionsListAPIUrl','OBSERVABILITY_UPLOAD_URL','SPRYz','sljzG','GiBWx','getAutomateSessionNameAPIUrl','getBStackAPIUrl','cdp','iRSCY','uxioG','jSTRC','bOBTo','nONAj','JIniN','228pvsLls','VkYYB','getAutomateSessionsListAPIUrl','dSsXh','VyvsL','GagZZ','ZRJWc'];a77_0x4a89=function(){return _0x3b4fd3;};return a77_0x4a89();}class APIUtilityMethods{static[a77_0xa3e7af(0x15c)](_0x30401f){const _0x36b794=a77_0xa3e7af,_0x1bcf19={'sLMIl':function(_0x2c2984){return _0x2c2984();},'fTBdw':function(_0x53ebae,_0x4a2870,_0x36bccc){return _0x53ebae(_0x4a2870,_0x36bccc);},'PEtwO':_0x36b794(0x1aa),'YRNMs':'automate','vvldn':_0x36b794(0x1a5),'dSsXh':function(_0x1a2063,_0x591b69,_0x145cb6){return _0x1a2063(_0x591b69,_0x145cb6);},'TlfEO':function(_0x574deb,_0x5885f5){return _0x574deb===_0x5885f5;},'ijVqt':function(_0x3a29a7,_0x4c6d3a){return _0x3a29a7+_0x4c6d3a;}},_0x3916d5=_0x1bcf19[_0x36b794(0x1be)](getBrowserstackCLI),_0xcf217d=_0x1bcf19[_0x36b794(0x189)](nestedKeyValue,_0x3916d5[_0x36b794(0x1c0)]()['getConfig'](),[_0x1bcf19['PEtwO'],_0x1bcf19[_0x36b794(0x19d)],_0x1bcf19['vvldn']]),_0x59a95a=_0x1bcf19[_0x36b794(0x167)](safeApiHost,_0xcf217d,constants['BROWSERSTACK_API_URL']);if(!_0x30401f||_0x1bcf19[_0x36b794(0x175)](_0x30401f,''))return _0x59a95a;const _0x82059c=_0x59a95a[_0x36b794(0x1b0)]('/')?_0x59a95a:_0x1bcf19[_0x36b794(0x18a)](_0x59a95a,'/');return new URL(_0x30401f,_0x82059c)[_0x36b794(0x199)]();}static[a77_0xa3e7af(0x1cd)](_0xc6f173){const _0xf9971=a77_0xa3e7af,_0x59f4f0={'jSTRC':function(_0x330379){return _0x330379();},'rwfDP':function(_0x51a7f2,_0x217c47,_0x105d39){return _0x51a7f2(_0x217c47,_0x105d39);},'OOGZg':_0xf9971(0x1aa),'IWRoT':_0xf9971(0x1b8),'JwhSL':_0xf9971(0x1a5),'YRDuA':function(_0x37ca7e,_0x4178d6){return _0x37ca7e===_0x4178d6;},'UYcVg':function(_0x1a84d2,_0x347dc0){return _0x1a84d2+_0x347dc0;}},_0x52863e=_0x59f4f0[_0xf9971(0x160)](getBrowserstackCLI),_0xc9dd00=_0x59f4f0['rwfDP'](nestedKeyValue,_0x52863e[_0xf9971(0x1c0)]()['getConfig'](),[_0x59f4f0[_0xf9971(0x18f)],_0x59f4f0[_0xf9971(0x1cb)],_0x59f4f0[_0xf9971(0x195)]])||constants[_0xf9971(0x1a9)];if(!_0xc6f173||_0x59f4f0[_0xf9971(0x18b)](_0xc6f173,''))return _0xc9dd00;const _0x2fc63c=_0xc9dd00[_0xf9971(0x1b0)]('/')?_0xc9dd00:_0x59f4f0['UYcVg'](_0xc9dd00,'/');return new URL(_0xc6f173,_0x2fc63c)[_0xf9971(0x199)]();}static[a77_0xa3e7af(0x1a0)](_0x534d4e){const _0x15d353=a77_0xa3e7af,_0xe64824={'qzGJN':function(_0xca6467){return _0xca6467();},'sljzG':function(_0x2c1163,_0x132c67,_0x2d9646){return _0x2c1163(_0x132c67,_0x2d9646);},'NNnTg':'apis','oIsJg':_0x15d353(0x1c3),'MFfvW':_0x15d353(0x1a5),'iHBvA':function(_0x19520a,_0x15aeda){return _0x19520a===_0x15aeda;},'tXeHM':function(_0x2e3004,_0x4b989b){return _0x2e3004+_0x4b989b;}},_0x5cc891=_0xe64824[_0x15d353(0x1ad)](getBrowserstackCLI),_0x5660de=_0xe64824[_0x15d353(0x159)](nestedKeyValue,_0x5cc891[_0x15d353(0x1c0)]()[_0x15d353(0x19c)](),[_0xe64824[_0x15d353(0x17e)],_0xe64824['oIsJg'],_0xe64824[_0x15d353(0x190)]])||constants[_0x15d353(0x196)];if(!_0x534d4e||_0xe64824[_0x15d353(0x198)](_0x534d4e,''))return _0x5660de;const _0x475ab4=_0x5660de[_0x15d353(0x1b0)]('/')?_0x5660de:_0xe64824[_0x15d353(0x176)](_0x5660de,'/');return new URL(_0x534d4e,_0x475ab4)[_0x15d353(0x199)]();}static[a77_0xa3e7af(0x17d)](_0x3919ff){const _0x520dd8=a77_0xa3e7af,_0x36f2a8={'QfEFg':function(_0x1d9019){return _0x1d9019();},'qDJlV':function(_0x5111d9,_0x344174,_0x1c2686){return _0x5111d9(_0x344174,_0x1c2686);},'XlklI':_0x520dd8(0x1aa),'golSw':_0x520dd8(0x174),'LMyZG':_0x520dd8(0x1a5),'Drefq':function(_0x540970,_0x86536c){return _0x540970===_0x86536c;},'KMtEe':function(_0x2162c8,_0x5584ba){return _0x2162c8+_0x5584ba;}},_0x176591=_0x36f2a8['QfEFg'](getBrowserstackCLI),_0x51154b=_0x36f2a8[_0x520dd8(0x1bf)](nestedKeyValue,_0x176591[_0x520dd8(0x1c0)]()[_0x520dd8(0x19c)](),[_0x36f2a8[_0x520dd8(0x1b5)],_0x36f2a8[_0x520dd8(0x17b)],_0x36f2a8[_0x520dd8(0x173)]])||constants[_0x520dd8(0x196)];if(!_0x3919ff||_0x36f2a8[_0x520dd8(0x171)](_0x3919ff,''))return _0x51154b;const _0x359064=_0x51154b[_0x520dd8(0x1b0)]('/')?_0x51154b:_0x36f2a8[_0x520dd8(0x1b6)](_0x51154b,'/');return new URL(_0x3919ff,_0x359064)[_0x520dd8(0x199)]();}static[a77_0xa3e7af(0x15b)](_0x2cb613){const _0xce15ae=a77_0xa3e7af,_0x7b9d81={'YdVXK':function(_0x3a24be){return _0x3a24be();},'yTnfN':function(_0x2114fc,_0x42fb52,_0xd2deb4){return _0x2114fc(_0x42fb52,_0xd2deb4);},'LFnUQ':'apis','Alpfx':_0xce15ae(0x1c3),'vzAqx':'api','bOBTo':function(_0x407329,_0x2fd6ac){return _0x407329===_0x2fd6ac;},'FKuOq':function(_0x524dbb,_0xda1a78){return _0x524dbb+_0xda1a78;}},_0x54c38b=_0x7b9d81['YdVXK'](getBrowserstackCLI),_0x8027fd=_0x7b9d81['yTnfN'](nestedKeyValue,_0x54c38b['getInstance']()[_0xce15ae(0x19c)](),[_0x7b9d81[_0xce15ae(0x170)],_0x7b9d81[_0xce15ae(0x1d0)],_0x7b9d81[_0xce15ae(0x1b7)]])||constants[_0xce15ae(0x196)];if(!_0x2cb613||_0x7b9d81[_0xce15ae(0x161)](_0x2cb613,''))return _0x8027fd;const _0x571dcc=_0x8027fd[_0xce15ae(0x1b0)]('/')?_0x8027fd:_0x7b9d81['FKuOq'](_0x8027fd,'/');return new URL(_0x2cb613,_0x571dcc)[_0xce15ae(0x199)]();}static[a77_0xa3e7af(0x154)](_0x4635e8){const _0x769f4b=a77_0xa3e7af,_0x3b7772={'GiBWx':function(_0x149c67){return _0x149c67();},'yqpZZ':function(_0x4bbf81,_0x771c30,_0x390e8a){return _0x4bbf81(_0x771c30,_0x390e8a);},'wvnJT':_0x769f4b(0x1aa),'xrDme':_0x769f4b(0x174),'iRSCY':_0x769f4b(0x1a5),'IZqwZ':function(_0x19c6a9,_0x200f4f){return _0x19c6a9===_0x200f4f;},'NdaRK':function(_0x3b93bf,_0x4ded14){return _0x3b93bf+_0x4ded14;}},_0x19f56e=_0x3b7772[_0x769f4b(0x15a)](getBrowserstackCLI),_0x1a4f9c=_0x3b7772[_0x769f4b(0x19e)](nestedKeyValue,_0x19f56e['getInstance']()[_0x769f4b(0x19c)](),[_0x3b7772[_0x769f4b(0x1bd)],_0x3b7772[_0x769f4b(0x1a3)],_0x3b7772[_0x769f4b(0x15e)]])||constants[_0x769f4b(0x196)];if(!_0x4635e8||_0x3b7772[_0x769f4b(0x152)](_0x4635e8,''))return _0x1a4f9c;const _0x1b19f5=_0x1a4f9c['endsWith']('/')?_0x1a4f9c:_0x3b7772[_0x769f4b(0x1c2)](_0x1a4f9c,'/');return new URL(_0x4635e8,_0x1b19f5)[_0x769f4b(0x199)]();}static[a77_0xa3e7af(0x166)](_0xf52732){const _0x2c8622=a77_0xa3e7af,_0xfced78={'Oevjh':function(_0xc7f513){return _0xc7f513();},'GagZZ':function(_0x184809,_0x4f7ce5,_0x2bd28){return _0x184809(_0x4f7ce5,_0x2bd28);},'coDTb':_0x2c8622(0x1aa),'ZLZOz':_0x2c8622(0x1c3),'qKoqv':'api','WQHck':function(_0xba7601,_0x2a89a9){return _0xba7601===_0x2a89a9;},'SPRYz':function(_0xa23fe8,_0x47b7cb){return _0xa23fe8+_0x47b7cb;}},_0x43226e=_0xfced78['Oevjh'](getBrowserstackCLI),_0x269523=_0xfced78[_0x2c8622(0x169)](nestedKeyValue,_0x43226e[_0x2c8622(0x1c0)]()[_0x2c8622(0x19c)](),[_0xfced78['coDTb'],_0xfced78[_0x2c8622(0x172)],_0xfced78[_0x2c8622(0x16f)]])||constants[_0x2c8622(0x196)];if(!_0xf52732||_0xfced78[_0x2c8622(0x150)](_0xf52732,''))return _0x269523;const _0x50e5b9=_0x269523[_0x2c8622(0x1b0)]('/')?_0x269523:_0xfced78[_0x2c8622(0x158)](_0x269523,'/');return new URL(_0xf52732,_0x50e5b9)[_0x2c8622(0x199)]()[_0x2c8622(0x191)](/^https?:\/\//,'');}static[a77_0xa3e7af(0x156)](_0x6672c4){const _0x5ab8de=a77_0xa3e7af,_0x4fd519={'nONAj':function(_0x277887){return _0x277887();},'sPxDZ':function(_0x8c3d3,_0x28de2d,_0x6f00ca){return _0x8c3d3(_0x28de2d,_0x6f00ca);},'giIFW':_0x5ab8de(0x1aa),'uxioG':_0x5ab8de(0x174),'yXubX':_0x5ab8de(0x1a5),'YsaOO':function(_0x53c948,_0x47d9c6){return _0x53c948===_0x47d9c6;},'WESDF':function(_0x5bcca3,_0x56dcb7){return _0x5bcca3+_0x56dcb7;}},_0xff8526=_0x4fd519[_0x5ab8de(0x162)](getBrowserstackCLI),_0x538ead=_0x4fd519[_0x5ab8de(0x1b2)](nestedKeyValue,_0xff8526[_0x5ab8de(0x1c0)]()['getConfig'](),[_0x4fd519[_0x5ab8de(0x186)],_0x4fd519[_0x5ab8de(0x15f)],_0x4fd519[_0x5ab8de(0x187)]])||constants['APP_UPLOAD_URL'];if(!_0x6672c4||_0x4fd519[_0x5ab8de(0x179)](_0x6672c4,''))return _0x538ead;const _0x31077c=_0x538ead['endsWith']('/')?_0x538ead:_0x4fd519[_0x5ab8de(0x1c4)](_0x538ead,'/');return new URL(_0x6672c4,_0x31077c)[_0x5ab8de(0x199)]()['replace'](/^https?:\/\//,'');}static[a77_0xa3e7af(0x197)](_0x2ed775){const _0x54e430=a77_0xa3e7af,_0x384256={'ZRJWc':function(_0x372976){return _0x372976();},'FGsuh':function(_0x28f93c,_0x282b30,_0x380be5){return _0x28f93c(_0x282b30,_0x380be5);},'AoBQN':_0x54e430(0x1aa),'xeXJb':_0x54e430(0x174),'uOSbJ':_0x54e430(0x1ac),'oJkue':function(_0x4f3041,_0xe51190,_0xb7de6d){return _0x4f3041(_0xe51190,_0xb7de6d);},'CGFTY':_0x54e430(0x1a5),'QjDaw':function(_0x4c95d5,_0x292352){return _0x4c95d5===_0x292352;},'VyvsL':function(_0x4a4b47,_0x14e354){return _0x4a4b47+_0x14e354;}},_0x4053f9=_0x384256[_0x54e430(0x16a)](getBrowserstackCLI),_0x26da6b=_0x384256[_0x54e430(0x17c)](nestedKeyValue,_0x4053f9[_0x54e430(0x1c0)]()[_0x54e430(0x19c)](),[_0x384256[_0x54e430(0x185)],_0x384256[_0x54e430(0x1a1)],_0x384256[_0x54e430(0x178)]])||_0x384256[_0x54e430(0x17f)](nestedKeyValue,_0x4053f9[_0x54e430(0x1c0)]()[_0x54e430(0x19c)](),[_0x384256['AoBQN'],_0x384256[_0x54e430(0x1a1)],_0x384256[_0x54e430(0x1ae)]])||constants['APP_UPLOAD_URL'];if(!_0x2ed775||_0x384256['QjDaw'](_0x2ed775,''))return _0x26da6b;const _0x3d9c50=_0x26da6b[_0x54e430(0x1b0)]('/')?_0x26da6b:_0x384256[_0x54e430(0x168)](_0x26da6b,'/');return new URL(_0x2ed775,_0x3d9c50)['toString']();}static[a77_0xa3e7af(0x19b)](_0x526271){const _0x5c18f8=a77_0xa3e7af,_0x896f5a={'IRBIA':function(_0x1b97bc){return _0x1b97bc();},'zCLQV':function(_0x561093,_0x5f4b5c,_0x144665){return _0x561093(_0x5f4b5c,_0x144665);},'AnzfR':_0x5c18f8(0x1aa),'WLoiK':_0x5c18f8(0x1bc),'yIzIL':_0x5c18f8(0x1ac),'SbKoF':function(_0x4fb028,_0x270d3a){return _0x4fb028===_0x270d3a;},'HVMaH':function(_0x894ba0,_0x46d78c){return _0x894ba0+_0x46d78c;}},_0x48400e=_0x896f5a[_0x5c18f8(0x18c)](getBrowserstackCLI),_0x13b1f5=_0x896f5a[_0x5c18f8(0x17a)](nestedKeyValue,_0x48400e[_0x5c18f8(0x1c0)]()[_0x5c18f8(0x19c)](),[_0x896f5a[_0x5c18f8(0x1b3)],_0x896f5a[_0x5c18f8(0x181)],_0x896f5a['yIzIL']])||constants[_0x5c18f8(0x157)];if(!_0x526271||_0x896f5a[_0x5c18f8(0x1b4)](_0x526271,''))return _0x13b1f5;const _0x3a8df8=_0x13b1f5[_0x5c18f8(0x1b0)]('/')?_0x13b1f5:_0x896f5a['HVMaH'](_0x13b1f5,'/');return new URL(_0x526271,_0x3a8df8)[_0x5c18f8(0x199)]();}static['getPlaywrightHubUrl'](_0x1e5f14){const _0x5ebb66=a77_0xa3e7af,_0x5d94dc={'oqUbX':function(_0x12f1a5){return _0x12f1a5();},'gBgmM':function(_0x5176d4,_0x24b829,_0x2368e2){return _0x5176d4(_0x24b829,_0x2368e2);},'GdqUB':_0x5ebb66(0x1aa),'TgKaF':_0x5ebb66(0x1c3),'mHWfk':_0x5ebb66(0x15d),'VkYYB':_0x5ebb66(0x18e),'eSdDp':function(_0x53bc22,_0x1a776f){return _0x53bc22===_0x1a776f;},'LWokT':function(_0x4bf33c,_0x1e4e0b){return _0x4bf33c+_0x1e4e0b;},'WLiol':'/playwright?caps='},_0x3b25b0=_0x5d94dc[_0x5ebb66(0x1bb)](getBrowserstackCLI),_0x276397=_0x5d94dc['gBgmM'](nestedKeyValue,_0x3b25b0[_0x5ebb66(0x1c0)]()[_0x5ebb66(0x19c)](),[_0x5d94dc[_0x5ebb66(0x1ba)],_0x5d94dc['TgKaF'],_0x5d94dc[_0x5ebb66(0x193)]]),_0x58f0ec=(_0x276397?_0x276397['replace'](/^https:/,_0x5d94dc[_0x5ebb66(0x165)]):null)||constants[_0x5ebb66(0x19f)];let _0x1764ab;if(!_0x1e5f14||_0x5d94dc['eSdDp'](_0x1e5f14,''))_0x1764ab=_0x58f0ec;else{const _0x13059e=_0x58f0ec[_0x5ebb66(0x1b0)]('/')?_0x58f0ec:_0x5d94dc[_0x5ebb66(0x18d)](_0x58f0ec,'/');_0x1764ab=new URL(_0x1e5f14,_0x13059e)[_0x5ebb66(0x199)]();}return!_0x1764ab['endsWith'](_0x5d94dc[_0x5ebb66(0x19a)])&&(_0x1764ab+=_0x5d94dc[_0x5ebb66(0x19a)]),_0x1764ab;}static['getPuppeteerHubUrl'](_0x203b6a){const _0x57b71a=a77_0xa3e7af,_0x30106f={'EUxUy':function(_0x44b8ce){return _0x44b8ce();},'pJNPw':function(_0x50b603,_0x28ca36,_0x313c9c){return _0x50b603(_0x28ca36,_0x313c9c);},'AIjRI':_0x57b71a(0x1aa),'wnoQu':_0x57b71a(0x1c3),'lGuvZ':_0x57b71a(0x15d),'TiDqx':_0x57b71a(0x18e),'shsUf':function(_0x362335,_0x4cac17){return _0x362335===_0x4cac17;},'upRJz':function(_0x116330,_0x19213d){return _0x116330+_0x19213d;},'SJJQh':_0x57b71a(0x1ce)},_0x574fb6=_0x30106f[_0x57b71a(0x1c1)](getBrowserstackCLI),_0x53463c=_0x30106f[_0x57b71a(0x1c8)](nestedKeyValue,_0x574fb6[_0x57b71a(0x1c0)]()[_0x57b71a(0x19c)](),[_0x30106f[_0x57b71a(0x1a6)],_0x30106f[_0x57b71a(0x180)],_0x30106f[_0x57b71a(0x151)]]),_0x1a6afb=(_0x53463c?_0x53463c['replace'](/^https:/,_0x30106f[_0x57b71a(0x1c6)]):null)||constants[_0x57b71a(0x1a8)];let _0x5923d6;if(!_0x203b6a||_0x30106f[_0x57b71a(0x1b9)](_0x203b6a,''))_0x5923d6=_0x1a6afb;else{const _0x30a85b=_0x1a6afb[_0x57b71a(0x1b0)]('/')?_0x1a6afb:_0x30106f[_0x57b71a(0x1ca)](_0x1a6afb,'/');_0x5923d6=new URL(_0x203b6a,_0x30a85b)['toString']();}return!_0x5923d6['endsWith'](_0x30106f['SJJQh'])&&(_0x5923d6+=_0x30106f['SJJQh']),_0x5923d6;}static[a77_0xa3e7af(0x1cc)](_0x20dcf0){const _0x5a6a41=a77_0xa3e7af,_0x2aae55={'ryAkM':function(_0x309315){return _0x309315();},'uSWFd':function(_0x3e4ed7,_0x4b0361,_0x5c3dde){return _0x3e4ed7(_0x4b0361,_0x5c3dde);},'TEGrf':_0x5a6a41(0x1aa),'JIniN':_0x5a6a41(0x174),'uDdXL':'detox','jDtee':_0x5a6a41(0x18e),'reylr':function(_0x49dcc5,_0x240eb0){return _0x49dcc5===_0x240eb0;},'klKxh':function(_0x4cdf4c,_0x2cd5ad){return _0x4cdf4c+_0x2cd5ad;}},_0x38b7be=_0x2aae55[_0x5a6a41(0x182)](getBrowserstackCLI),_0x59303a=_0x38b7be?_0x38b7be[_0x5a6a41(0x1c0)]():null,_0x3abc88=_0x59303a?_0x2aae55['uSWFd'](nestedKeyValue,_0x59303a[_0x5a6a41(0x19c)](),[_0x2aae55['TEGrf'],_0x2aae55[_0x5a6a41(0x163)],_0x2aae55[_0x5a6a41(0x184)]]):null,_0x85a11b=(_0x3abc88?_0x3abc88[_0x5a6a41(0x191)](/^https:/,_0x2aae55['jDtee']):null)||constants[_0x5a6a41(0x1cf)];if(!_0x20dcf0||_0x2aae55[_0x5a6a41(0x153)](_0x20dcf0,''))return _0x85a11b;const _0x11c5e2=_0x85a11b['endsWith']('/')?_0x85a11b:_0x2aae55[_0x5a6a41(0x177)](_0x85a11b,'/');return new URL(_0x20dcf0,_0x11c5e2)[_0x5a6a41(0x199)]();}}module[a77_0xa3e7af(0x16b)]=APIUtilityMethods;
@@ -1 +1 @@
1
- const a78_0x46d37a=a78_0x3b67;function a78_0x3b67(_0xe074c,_0x4f42a7){const _0x5d338b=a78_0x5d33();return a78_0x3b67=function(_0x3b6784,_0x5ee5c8){_0x3b6784=_0x3b6784-0x10c;let _0x17693a=_0x5d338b[_0x3b6784];return _0x17693a;},a78_0x3b67(_0xe074c,_0x4f42a7);}(function(_0x328e3f,_0x11fece){const _0x2250ad=a78_0x3b67,_0x10c31c=_0x328e3f();while(!![]){try{const _0x595991=-parseInt(_0x2250ad(0x16f))/0x1+-parseInt(_0x2250ad(0x123))/0x2*(parseInt(_0x2250ad(0x149))/0x3)+parseInt(_0x2250ad(0x11e))/0x4*(-parseInt(_0x2250ad(0x176))/0x5)+parseInt(_0x2250ad(0x162))/0x6*(-parseInt(_0x2250ad(0x15b))/0x7)+parseInt(_0x2250ad(0x16e))/0x8*(-parseInt(_0x2250ad(0x12b))/0x9)+-parseInt(_0x2250ad(0x132))/0xa*(parseInt(_0x2250ad(0x12a))/0xb)+parseInt(_0x2250ad(0x10d))/0xc;if(_0x595991===_0x11fece)break;else _0x10c31c['push'](_0x10c31c['shift']());}catch(_0x5c7831){_0x10c31c['push'](_0x10c31c['shift']());}}}(a78_0x5d33,0x68ec8));const logger=require(a78_0x46d37a(0x170))[a78_0x46d37a(0x11c)],BrowserstackCLI=require(a78_0x46d37a(0x143)),GrpcClient=require(a78_0x46d37a(0x112)),constants=require(a78_0x46d37a(0x161));function a78_0x5d33(){const _0x3480e4=['ZssfA','logSituation','reportClientTroubleshootingError','3326395AnihzM','isRunning','52224612oViNAh','Connectivity\x20Issue\x20details\x20not\x20found','IVOPV','FmfoZ','checkForErrorsOccuredInCLI','../v2/grpcClient','base64','logError','browserstack\x20cloud\x20not\x20reachable','reportDotBrowserStackFolderNotAccessibleIssue','UlhQJ','[ClientTroubleShootingService]\x20','errorCodesOccurredInCLI','push','reportFinalDetectionState','winstonLogger','errorCodesOccurredWhenCLINotRunning','4JQWHBZ','object','.browserstack\x20Folder\x20Not\x20Accessible\x20details\x20not\x20found','getErrorCodes','ozzGy','1030946htvgcd','ZeFLV','getFinalErrorMessage','sTOkx','GRzoa','getErrorCodesOccurredInCli','conflicting\x20env\x20var\x20detected','2639846WfbNZH','259569SfCsgg','UhUVZ','EFqma','{CLIENT_TROUBLESHOOTING_DOCUMENTATION}','Error\x20in\x20getting\x20aggregated\x20error\x20codes:','CLIENT_TROUBLESHOOTING_HASH','from','30DCmyMm','JkMZr','documentationLink','UmMHF','toString','reportConnectivityIssue','.browserstack\x20folder\x20not\x20accessible','nYCwp','join','reportConflictingEnvVarIssue','hujAv','getErrorDetails','mDmwT','tisbu','bXQGj','Process\x20Interruption','ZwdAH','../v2/browserstackCLI','exports','Error\x20in\x20getting\x20error\x20details\x20for\x20','warn','qZUSN','length','3hMVVud','errorMessage','reportSSLCertIssue','getAggregatedErrorCodes','OBFeK','getAggregatedClientTroubleshootingErrors','Process\x20Interruption\x20details\x20not\x20found:','ZXUWX','hScOc','parse','PDBKe','errorCode','Cttai','finalErrorMessage','replace','getInstance','size','ssl\x20cert\x20issue','35ggqioQ','isArray','ZPKPa','reportSessionLinkingIssue','pujYg','dBfZi','./constants','662814wzCHDX','keys','errorCodes','error','getSuccess','add','RtWew','zjaxe','DLLpG','DeQmh','{SIGNAL}','foHFP','184IptvmQ','805885wftywD','../../helpers/logger','cachedErrorCodes','{ENV_VAR}'];a78_0x5d33=function(){return _0x3480e4;};return a78_0x5d33();}class ClientTroubleShootingService{static ['cachedErrorCodes']=null;static [a78_0x46d37a(0x11d)]=new Set();static async['getErrorDetails'](_0x56ab48){const _0x303cf6=a78_0x46d37a,_0x22ec15={};_0x22ec15[_0x303cf6(0x16b)]=function(_0x3ca873,_0x38b82a){return _0x3ca873!==_0x38b82a;};const _0x4ae19f=_0x22ec15;try{if(BrowserstackCLI[_0x303cf6(0x158)]()[_0x303cf6(0x10c)]()){const _0x5a9449=await GrpcClient[_0x303cf6(0x158)]()[_0x303cf6(0x175)](_0x56ab48);if(_0x4ae19f[_0x303cf6(0x16b)](_0x5a9449,null)&&_0x5a9449['getSuccess']())return{'errorCode':_0x5a9449['getErrorCode'](),'errorMessage':_0x5a9449['getErrorMessage']()};return{};}return{};}catch(_0x2ded4c){return this[_0x303cf6(0x114)](_0x303cf6(0x145)+_0x56ab48+':',_0x2ded4c),{};}}static async['getAggregatedErrorCodes'](){const _0x33d679=a78_0x46d37a,_0x43ed89={};_0x43ed89[_0x33d679(0x12d)]=function(_0x514cb5,_0x460bdd){return _0x514cb5!==_0x460bdd;},_0x43ed89[_0x33d679(0x150)]=_0x33d679(0x113),_0x43ed89[_0x33d679(0x140)]=_0x33d679(0x12f);const _0x4a8198=_0x43ed89;try{if(BrowserstackCLI['getInstance']()[_0x33d679(0x10c)]()){const _0x1f0272=await GrpcClient[_0x33d679(0x158)]()[_0x33d679(0x14e)]();if(_0x4a8198['EFqma'](_0x1f0272,null)&&_0x1f0272[_0x33d679(0x166)]()){const _0x5398b7=Buffer['from'](_0x1f0272[_0x33d679(0x121)](),_0x4a8198['ZXUWX'])['toString'](),_0x43ecfa=_0x5398b7?JSON[_0x33d679(0x152)](_0x5398b7):[],_0x341bbc=_0x1f0272['getDocumentationLink'](),_0x496c4e=_0x1f0272[_0x33d679(0x125)](),_0x88bdaf=Buffer['from'](_0x1f0272[_0x33d679(0x128)](),_0x4a8198[_0x33d679(0x150)])[_0x33d679(0x136)](),_0x3784e3=_0x88bdaf?JSON[_0x33d679(0x152)](_0x88bdaf):[],_0x143b6f={};return _0x143b6f[_0x33d679(0x164)]=_0x43ecfa,_0x143b6f[_0x33d679(0x134)]=_0x341bbc,_0x143b6f[_0x33d679(0x156)]=_0x496c4e,_0x143b6f[_0x33d679(0x119)]=_0x3784e3,_0x143b6f;}const _0x9f72d6={};return _0x9f72d6[_0x33d679(0x164)]=[],_0x9f72d6['documentationLink']='',_0x9f72d6[_0x33d679(0x156)]='',_0x9f72d6[_0x33d679(0x119)]=[],_0x9f72d6;}const _0x3c6164={};return _0x3c6164['errorCodes']=[],_0x3c6164[_0x33d679(0x134)]='',_0x3c6164[_0x33d679(0x156)]='',_0x3c6164[_0x33d679(0x119)]=[],_0x3c6164;}catch(_0x2c83cc){this['logError'](_0x4a8198['bXQGj'],_0x2c83cc);const _0x131f29={};return _0x131f29[_0x33d679(0x164)]=[],_0x131f29[_0x33d679(0x134)]='',_0x131f29[_0x33d679(0x156)]='',_0x131f29['errorCodesOccurredInCLI']=[],_0x131f29;}}static[a78_0x46d37a(0x174)](_0x2cea22,_0x22495f){const _0x5c7e3f=a78_0x46d37a;logger[_0x5c7e3f(0x146)](_0x2cea22+':\x20'+_0x22495f);}static[a78_0x46d37a(0x111)](_0x351dc4){const _0x472565=a78_0x46d37a,_0x413c35={};_0x413c35[_0x472565(0x126)]=function(_0x38ab74,_0x236caf){return _0x38ab74!=_0x236caf;},_0x413c35[_0x472565(0x135)]=function(_0xe6512c,_0x42e293){return _0xe6512c>_0x42e293;},_0x413c35[_0x472565(0x15d)]=function(_0x5a1d6e,_0x184ee2){return _0x5a1d6e!=_0x184ee2;},_0x413c35['hujAv']=function(_0xe2d57,_0x407567){return _0xe2d57!=_0x407567;};const _0x1c6ce1=_0x413c35,_0x73344b=[];if(_0x1c6ce1['sTOkx'](_0x351dc4,null)&&_0x1c6ce1['sTOkx'](_0x351dc4[_0x472565(0x119)],null)&&_0x1c6ce1[_0x472565(0x135)](_0x351dc4['errorCodesOccurredInCLI'][_0x472565(0x148)],0x0))for(const _0x32f7d8 of _0x351dc4[_0x472565(0x119)]){_0x1c6ce1['ZPKPa'](_0x32f7d8[_0x472565(0x154)],null)&&_0x1c6ce1[_0x472565(0x13c)](_0x32f7d8[_0x472565(0x14a)],null)&&(_0x73344b[_0x472565(0x11a)](_0x32f7d8[_0x472565(0x154)]),this[_0x472565(0x174)](_0x32f7d8[_0x472565(0x154)],_0x32f7d8[_0x472565(0x14a)]));}return _0x73344b;}static['getCachedErrorCodes'](){const _0x56e737=a78_0x46d37a;return this[_0x56e737(0x171)];}static['logError'](_0x1f4149,_0x8d7f80){const _0x2f5f31=a78_0x46d37a,_0x2c84d7={};_0x2c84d7['GRzoa']=function(_0x15daf8,_0x1aa282){return _0x15daf8===_0x1aa282;},_0x2c84d7['FmfoZ']=_0x2f5f31(0x11f);const _0x5e091b=_0x2c84d7;if(_0x5e091b[_0x2f5f31(0x127)](typeof _0x8d7f80,_0x5e091b[_0x2f5f31(0x110)]))try{logger['error'](_0x2f5f31(0x118)+_0x1f4149+'\x20'+JSON['stringify'](_0x8d7f80));}catch(_0x4ff78d){logger[_0x2f5f31(0x165)](_0x2f5f31(0x118)+_0x1f4149+'\x20'+_0x8d7f80);}else logger['error'](_0x2f5f31(0x118)+_0x1f4149+'\x20'+_0x8d7f80);}static async['reportProcessInterruptionSituation'](_0x4a66b1){const _0x1162c9=a78_0x46d37a,_0x381a2d={};_0x381a2d[_0x1162c9(0x124)]=_0x1162c9(0x141),_0x381a2d[_0x1162c9(0x13e)]=function(_0x4ee3a6,_0x349d5d){return _0x4ee3a6===_0x349d5d;},_0x381a2d[_0x1162c9(0x155)]=_0x1162c9(0x14f),_0x381a2d[_0x1162c9(0x16d)]=_0x1162c9(0x16c);const _0x573689=_0x381a2d,_0x208392=await this[_0x1162c9(0x13d)](_0x573689[_0x1162c9(0x124)]);if(!_0x208392||_0x573689[_0x1162c9(0x13e)](Object[_0x1162c9(0x163)](_0x208392)[_0x1162c9(0x148)],0x0)){this[_0x1162c9(0x114)](_0x573689['Cttai'],_0x208392);return;}this['logSituation'](_0x208392[_0x1162c9(0x154)],_0x208392[_0x1162c9(0x14a)]['replace'](_0x573689[_0x1162c9(0x16d)],_0x4a66b1));}static async[a78_0x46d37a(0x15e)](){const _0x199c7c=a78_0x46d37a,_0x2e4cb0={};_0x2e4cb0['fsWwy']='Session\x20Linking\x20Issue',_0x2e4cb0['nYCwp']=function(_0x90f1d6,_0x542a58){return _0x90f1d6===_0x542a58;},_0x2e4cb0[_0x199c7c(0x13f)]='Session\x20Linking\x20Issue\x20details\x20not\x20found';const _0x4cd1e9=_0x2e4cb0,_0x11eec6=await this['getErrorDetails'](_0x4cd1e9['fsWwy']);if(!_0x11eec6||_0x4cd1e9[_0x199c7c(0x139)](Object[_0x199c7c(0x163)](_0x11eec6)['length'],0x0)){this[_0x199c7c(0x114)](_0x4cd1e9['tisbu'],_0x11eec6);return;}this[_0x199c7c(0x174)](_0x11eec6['errorCode'],_0x11eec6['errorMessage']);}static async[a78_0x46d37a(0x137)](){const _0xd0be39=a78_0x46d37a,_0x3f4fb2={};_0x3f4fb2[_0xd0be39(0x16a)]=_0xd0be39(0x115),_0x3f4fb2['JkMZr']=function(_0x429368,_0x11e468){return _0x429368===_0x11e468;},_0x3f4fb2[_0xd0be39(0x169)]=_0xd0be39(0x10e);const _0x28e6e6=_0x3f4fb2,_0xbe98bd=await this[_0xd0be39(0x13d)](_0x28e6e6[_0xd0be39(0x16a)]);if(!_0xbe98bd||_0x28e6e6[_0xd0be39(0x133)](Object[_0xd0be39(0x163)](_0xbe98bd)['length'],0x0)){this[_0xd0be39(0x114)](_0x28e6e6['zjaxe'],_0xbe98bd);return;}this[_0xd0be39(0x174)](_0xbe98bd[_0xd0be39(0x154)],_0xbe98bd[_0xd0be39(0x14a)]);}static async[a78_0x46d37a(0x14b)](){const _0x2b5763=a78_0x46d37a,_0x1303da={};_0x1303da[_0x2b5763(0x15f)]=_0x2b5763(0x15a),_0x1303da[_0x2b5763(0x12c)]=function(_0x3d2fe1,_0x1b8250){return _0x3d2fe1===_0x1b8250;},_0x1303da['ozzGy']='SSL\x20Certificate\x20Issue\x20details\x20not\x20found.\x20To\x20pass\x20a\x20custom\x20CA\x20bundle,\x20set\x20NODE_EXTRA_CA_CERTS\x20or\x20BROWSERSTACK_EXTRA_CA_CERTS\x20env\x20var\x20to\x20the\x20certificate\x20file\x20path.';const _0x421599=_0x1303da,_0x1b350e=await this[_0x2b5763(0x13d)](_0x421599[_0x2b5763(0x15f)]);if(!_0x1b350e||_0x421599[_0x2b5763(0x12c)](Object[_0x2b5763(0x163)](_0x1b350e)['length'],0x0)){this[_0x2b5763(0x114)](_0x421599[_0x2b5763(0x122)],_0x1b350e);return;}this[_0x2b5763(0x174)](_0x1b350e[_0x2b5763(0x154)],_0x1b350e[_0x2b5763(0x14a)]);}static[a78_0x46d37a(0x116)](){const _0x4a0a9c=a78_0x46d37a,_0x32db22={};_0x32db22[_0x4a0a9c(0x173)]=_0x4a0a9c(0x138),_0x32db22[_0x4a0a9c(0x142)]=function(_0x2063b7,_0x405867){return _0x2063b7===_0x405867;},_0x32db22[_0x4a0a9c(0x168)]=_0x4a0a9c(0x120);const _0x2ac5e8=_0x32db22,_0x37a9b4=constants[_0x4a0a9c(0x130)][_0x2ac5e8['ZssfA']];if(!_0x37a9b4||_0x2ac5e8['ZwdAH'](Object['keys'](_0x37a9b4)[_0x4a0a9c(0x148)],0x0)){this[_0x4a0a9c(0x114)](_0x2ac5e8[_0x4a0a9c(0x168)],_0x37a9b4);return;}this[_0x4a0a9c(0x11d)][_0x4a0a9c(0x167)](_0x37a9b4[0x0]),this[_0x4a0a9c(0x174)](_0x37a9b4[0x0],_0x37a9b4[0x1]);}static async[a78_0x46d37a(0x13b)](_0xabb904){const _0x5abf94=a78_0x46d37a,_0x172d2d={};_0x172d2d[_0x5abf94(0x14d)]=_0x5abf94(0x129),_0x172d2d['PDBKe']=function(_0x1b0802,_0x3ef93c){return _0x1b0802===_0x3ef93c;},_0x172d2d[_0x5abf94(0x117)]='Conflicting\x20Env\x20Var\x20details\x20not\x20found',_0x172d2d[_0x5abf94(0x147)]=_0x5abf94(0x172);const _0xa39e41=_0x172d2d,_0x18dfa0=await this['getErrorDetails'](_0xa39e41[_0x5abf94(0x14d)]);if(!_0x18dfa0||_0xa39e41[_0x5abf94(0x153)](Object[_0x5abf94(0x163)](_0x18dfa0)[_0x5abf94(0x148)],0x0)){this[_0x5abf94(0x114)](_0xa39e41[_0x5abf94(0x117)],_0x18dfa0);return;}const _0x3f1938=_0x18dfa0[_0x5abf94(0x14a)][_0x5abf94(0x157)](_0xa39e41['qZUSN'],_0xabb904);this[_0x5abf94(0x174)](_0x18dfa0['errorCode'],_0x3f1938);}static async[a78_0x46d37a(0x11b)](){const _0x212c3b=a78_0x46d37a,_0x52b0c6={};_0x52b0c6['IVOPV']=function(_0x4ede8e,_0x5608dd){return _0x4ede8e>_0x5608dd;},_0x52b0c6[_0x212c3b(0x160)]='{ERROR_CODES}',_0x52b0c6[_0x212c3b(0x151)]=_0x212c3b(0x12e);const _0x29f2f9=_0x52b0c6,_0x3c2b26=await this[_0x212c3b(0x14c)](),_0x31ca8f=this[_0x212c3b(0x111)](_0x3c2b26),_0x3fd92c=Array[_0x212c3b(0x15c)](_0x3c2b26[_0x212c3b(0x164)])?_0x3c2b26['errorCodes']:[],_0x4b545b=_0x29f2f9[_0x212c3b(0x10f)](this[_0x212c3b(0x11d)][_0x212c3b(0x159)],0x0)?Array[_0x212c3b(0x131)](this[_0x212c3b(0x11d)]):[],_0x45bbe9=new Set([..._0x3fd92c,..._0x31ca8f,..._0x4b545b]),_0x55da7a=Array[_0x212c3b(0x131)](_0x45bbe9);if(_0x29f2f9['IVOPV'](_0x55da7a['length'],0x0)){const _0x3c3ca0=_0x3c2b26[_0x212c3b(0x156)]['replace'](_0x29f2f9[_0x212c3b(0x160)],_0x55da7a[_0x212c3b(0x13a)](',\x20'))['replace'](_0x29f2f9['hScOc'],_0x3c2b26[_0x212c3b(0x134)]);logger[_0x212c3b(0x146)](_0x3c3ca0),this[_0x212c3b(0x171)]=_0x55da7a;}}}module[a78_0x46d37a(0x144)]=ClientTroubleShootingService;
1
+ const a78_0x5a96a5=a78_0x2468;function a78_0x8012(){const _0x4a32f6=['11qClCEX','fBLUr','{ENV_VAR}','OnPAZ','base64','vVSaU','xIlKv','getAggregatedErrorCodes','push','Session\x20Linking\x20Issue','6NRhQlQ','2956290YphIbl','3032515cKcwpA','isRunning','getFinalErrorMessage','logError','errorCodesOccurredInCLI','replace','getAggregatedClientTroubleshootingErrors','reportSSLCertIssue','Process\x20Interruption','getErrorMessage','error','dCpQX','FJxid','pgvpE','getErrorDetails','FvekV','9XgdmMw','dhsXJ','winstonLogger','1232504XkISXV','length','reportDotBrowserStackFolderNotAccessibleIssue','64710ozmqYf','getSuccess','reportConnectivityIssue','{ERROR_CODES}','size','PJpiP','../v2/browserstackCLI','TAAtj','getErrorCodesOccurredInCli','reportFinalDetectionState','EIPKt','logSituation','RwlBv','errorMessage','uwQbL','CQuXl','9501736OfPeZB','finalErrorMessage','keys','add','Connectivity\x20Issue\x20details\x20not\x20found','parse','zPtvt','getDocumentationLink','CKsgs','Process\x20Interruption\x20details\x20not\x20found:','getInstance','./constants','SSL\x20Certificate\x20Issue\x20details\x20not\x20found.\x20To\x20pass\x20a\x20custom\x20CA\x20bundle,\x20set\x20NODE_EXTRA_CA_CERTS\x20or\x20BROWSERSTACK_EXTRA_CA_CERTS\x20env\x20var\x20to\x20the\x20certificate\x20file\x20path.','NxZKc','{SIGNAL}','browserstack\x20cloud\x20not\x20reachable','sglTL','reportProcessInterruptionSituation','errorCode','qEVkN','toString','tdmnE','[ClientTroubleShootingService]\x20','1752196PSvYeP','FPHfn','1379668TBVDUQ','.browserstack\x20folder\x20not\x20accessible','conflicting\x20env\x20var\x20detected','exports','Conflicting\x20Env\x20Var\x20details\x20not\x20found','naRGn','.browserstack\x20Folder\x20Not\x20Accessible\x20details\x20not\x20found','TGJyu','cachedErrorCodes','HmSmc','cvKvd','checkForErrorsOccuredInCLI','YQXvU','documentationLink','112jSpVHw','Error\x20in\x20getting\x20aggregated\x20error\x20codes:','from','errorCodes','stringify','getErrorCodes','join','XsDrz','NevOx','getErrorCode','reportConflictingEnvVarIssue','errorCodesOccurredWhenCLINotRunning','warn','reportClientTroubleshootingError','BZDZX','OrcYP'];a78_0x8012=function(){return _0x4a32f6;};return a78_0x8012();}function a78_0x2468(_0x8c050b,_0x1aa65a){const _0x8012c7=a78_0x8012();return a78_0x2468=function(_0x2468ca,_0x227fc8){_0x2468ca=_0x2468ca-0x17e;let _0x2beb18=_0x8012c7[_0x2468ca];return _0x2beb18;},a78_0x2468(_0x8c050b,_0x1aa65a);}(function(_0x5593c5,_0xfa57d1){const _0x27e6c3=a78_0x2468,_0x7669c4=_0x5593c5();while(!![]){try{const _0x27eb30=parseInt(_0x27e6c3(0x1d5))/0x1+-parseInt(_0x27e6c3(0x1e3))/0x2*(parseInt(_0x27e6c3(0x1ac))/0x3)+parseInt(_0x27e6c3(0x1d3))/0x4+parseInt(_0x27e6c3(0x196))/0x5*(-parseInt(_0x27e6c3(0x194))/0x6)+-parseInt(_0x27e6c3(0x1a9))/0x7+parseInt(_0x27e6c3(0x1bc))/0x8*(parseInt(_0x27e6c3(0x1a6))/0x9)+parseInt(_0x27e6c3(0x195))/0xa*(-parseInt(_0x27e6c3(0x18a))/0xb);if(_0x27eb30===_0xfa57d1)break;else _0x7669c4['push'](_0x7669c4['shift']());}catch(_0x3c9266){_0x7669c4['push'](_0x7669c4['shift']());}}}(a78_0x8012,0xaf9ce));const logger=require('../../helpers/logger')[a78_0x5a96a5(0x1a8)],BrowserstackCLI=require(a78_0x5a96a5(0x1b2)),GrpcClient=require('../v2/grpcClient'),constants=require(a78_0x5a96a5(0x1c7));class ClientTroubleShootingService{static [a78_0x5a96a5(0x1dd)]=null;static [a78_0x5a96a5(0x185)]=new Set();static async[a78_0x5a96a5(0x1a4)](_0x19f4c9){const _0x2991c3=a78_0x5a96a5,_0xd8e49d={};_0xd8e49d[_0x2991c3(0x1d4)]=function(_0xc88fde,_0x27415e){return _0xc88fde!==_0x27415e;};const _0x23c12c=_0xd8e49d;try{if(BrowserstackCLI[_0x2991c3(0x1c6)]()['isRunning']()){const _0x4d6579=await GrpcClient[_0x2991c3(0x1c6)]()[_0x2991c3(0x187)](_0x19f4c9);if(_0x23c12c[_0x2991c3(0x1d4)](_0x4d6579,null)&&_0x4d6579[_0x2991c3(0x1ad)]())return{'errorCode':_0x4d6579[_0x2991c3(0x183)](),'errorMessage':_0x4d6579[_0x2991c3(0x19f)]()};return{};}return{};}catch(_0x185fde){return this[_0x2991c3(0x199)]('Error\x20in\x20getting\x20error\x20details\x20for\x20'+_0x19f4c9+':',_0x185fde),{};}}static async['getAggregatedErrorCodes'](){const _0x26583f=a78_0x5a96a5,_0x331525={};_0x331525[_0x26583f(0x1a1)]=function(_0x11555d,_0x3985d4){return _0x11555d!==_0x3985d4;},_0x331525[_0x26583f(0x1de)]=_0x26583f(0x18e),_0x331525[_0x26583f(0x1b8)]=_0x26583f(0x1e4);const _0x1ca4d8=_0x331525;try{if(BrowserstackCLI['getInstance']()[_0x26583f(0x197)]()){const _0x46e00d=await GrpcClient['getInstance']()[_0x26583f(0x19c)]();if(_0x1ca4d8[_0x26583f(0x1a1)](_0x46e00d,null)&&_0x46e00d[_0x26583f(0x1ad)]()){const _0x2045d3=Buffer[_0x26583f(0x1e5)](_0x46e00d[_0x26583f(0x17f)](),_0x1ca4d8['HmSmc'])[_0x26583f(0x1d0)](),_0x22497b=_0x2045d3?JSON[_0x26583f(0x1c1)](_0x2045d3):[],_0x1a87f2=_0x46e00d[_0x26583f(0x1c3)](),_0x1fbbb3=_0x46e00d[_0x26583f(0x198)](),_0x3e0d8a=Buffer[_0x26583f(0x1e5)](_0x46e00d[_0x26583f(0x1b4)](),_0x1ca4d8[_0x26583f(0x1de)])[_0x26583f(0x1d0)](),_0x252c47=_0x3e0d8a?JSON['parse'](_0x3e0d8a):[],_0x21465b={};return _0x21465b[_0x26583f(0x1e6)]=_0x22497b,_0x21465b[_0x26583f(0x1e2)]=_0x1a87f2,_0x21465b[_0x26583f(0x1bd)]=_0x1fbbb3,_0x21465b[_0x26583f(0x19a)]=_0x252c47,_0x21465b;}const _0xdec84={};return _0xdec84[_0x26583f(0x1e6)]=[],_0xdec84['documentationLink']='',_0xdec84[_0x26583f(0x1bd)]='',_0xdec84[_0x26583f(0x19a)]=[],_0xdec84;}const _0x605010={};return _0x605010[_0x26583f(0x1e6)]=[],_0x605010[_0x26583f(0x1e2)]='',_0x605010['finalErrorMessage']='',_0x605010[_0x26583f(0x19a)]=[],_0x605010;}catch(_0x1d7471){this['logError'](_0x1ca4d8[_0x26583f(0x1b8)],_0x1d7471);const _0x5d860b={};return _0x5d860b[_0x26583f(0x1e6)]=[],_0x5d860b[_0x26583f(0x1e2)]='',_0x5d860b['finalErrorMessage']='',_0x5d860b[_0x26583f(0x19a)]=[],_0x5d860b;}}static[a78_0x5a96a5(0x1b7)](_0x59dd3d,_0x45d7ab){const _0x128703=a78_0x5a96a5;logger[_0x128703(0x186)](_0x59dd3d+':\x20'+_0x45d7ab);}static['checkForErrorsOccuredInCLI'](_0x5644a0){const _0x4555b7=a78_0x5a96a5,_0x3434d0={};_0x3434d0['NevOx']=function(_0x270272,_0x4abb17){return _0x270272!=_0x4abb17;},_0x3434d0[_0x4555b7(0x189)]=function(_0x5d28fd,_0x180506){return _0x5d28fd>_0x180506;},_0x3434d0[_0x4555b7(0x1e1)]=function(_0x2f3c35,_0x18e21e){return _0x2f3c35!=_0x18e21e;};const _0x5c1509=_0x3434d0,_0x4bfec4=[];if(_0x5c1509[_0x4555b7(0x182)](_0x5644a0,null)&&_0x5c1509[_0x4555b7(0x182)](_0x5644a0['errorCodesOccurredInCLI'],null)&&_0x5c1509[_0x4555b7(0x189)](_0x5644a0[_0x4555b7(0x19a)][_0x4555b7(0x1aa)],0x0))for(const _0x37b072 of _0x5644a0[_0x4555b7(0x19a)]){_0x5c1509['YQXvU'](_0x37b072[_0x4555b7(0x1ce)],null)&&_0x5c1509[_0x4555b7(0x1e1)](_0x37b072[_0x4555b7(0x1b9)],null)&&(_0x4bfec4[_0x4555b7(0x192)](_0x37b072[_0x4555b7(0x1ce)]),this[_0x4555b7(0x1b7)](_0x37b072[_0x4555b7(0x1ce)],_0x37b072[_0x4555b7(0x1b9)]));}return _0x4bfec4;}static['getCachedErrorCodes'](){const _0x2c3a32=a78_0x5a96a5;return this[_0x2c3a32(0x1dd)];}static[a78_0x5a96a5(0x199)](_0x2890b9,_0x37ab85){const _0x8eb6c7=a78_0x5a96a5,_0x2fcc88={};_0x2fcc88['FJxid']=function(_0x17900a,_0x268f2b){return _0x17900a===_0x268f2b;},_0x2fcc88[_0x8eb6c7(0x18b)]='object';const _0x328232=_0x2fcc88;if(_0x328232[_0x8eb6c7(0x1a2)](typeof _0x37ab85,_0x328232[_0x8eb6c7(0x18b)]))try{logger[_0x8eb6c7(0x1a0)](_0x8eb6c7(0x1d2)+_0x2890b9+'\x20'+JSON[_0x8eb6c7(0x17e)](_0x37ab85));}catch(_0x99a6df){logger[_0x8eb6c7(0x1a0)](_0x8eb6c7(0x1d2)+_0x2890b9+'\x20'+_0x37ab85);}else logger[_0x8eb6c7(0x1a0)](_0x8eb6c7(0x1d2)+_0x2890b9+'\x20'+_0x37ab85);}static async[a78_0x5a96a5(0x1cd)](_0x13fc9d){const _0x42dd73=a78_0x5a96a5,_0x466f17={};_0x466f17[_0x42dd73(0x1b6)]=_0x42dd73(0x19e),_0x466f17[_0x42dd73(0x1a5)]=function(_0x437e7e,_0x26eea4){return _0x437e7e===_0x26eea4;},_0x466f17[_0x42dd73(0x1da)]=_0x42dd73(0x1c5),_0x466f17[_0x42dd73(0x18f)]=_0x42dd73(0x1ca);const _0x48589a=_0x466f17,_0x3e122b=await this[_0x42dd73(0x1a4)](_0x48589a['EIPKt']);if(!_0x3e122b||_0x48589a[_0x42dd73(0x1a5)](Object['keys'](_0x3e122b)['length'],0x0)){this[_0x42dd73(0x199)](_0x48589a['naRGn'],_0x3e122b);return;}this[_0x42dd73(0x1b7)](_0x3e122b['errorCode'],_0x3e122b[_0x42dd73(0x1b9)][_0x42dd73(0x19b)](_0x48589a[_0x42dd73(0x18f)],_0x13fc9d));}static async['reportSessionLinkingIssue'](){const _0xe860a=a78_0x5a96a5,_0x310afc={};_0x310afc[_0xe860a(0x181)]=_0xe860a(0x193),_0x310afc[_0xe860a(0x1dc)]=function(_0x47c87f,_0x4a728f){return _0x47c87f===_0x4a728f;},_0x310afc['qEVkN']='Session\x20Linking\x20Issue\x20details\x20not\x20found';const _0x402073=_0x310afc,_0x2d4460=await this['getErrorDetails'](_0x402073[_0xe860a(0x181)]);if(!_0x2d4460||_0x402073[_0xe860a(0x1dc)](Object[_0xe860a(0x1be)](_0x2d4460)[_0xe860a(0x1aa)],0x0)){this[_0xe860a(0x199)](_0x402073[_0xe860a(0x1cf)],_0x2d4460);return;}this[_0xe860a(0x1b7)](_0x2d4460[_0xe860a(0x1ce)],_0x2d4460[_0xe860a(0x1b9)]);}static async[a78_0x5a96a5(0x1ae)](){const _0x3eaea3=a78_0x5a96a5,_0x304509={};_0x304509['iKZXj']=_0x3eaea3(0x1cb),_0x304509['PJpiP']=function(_0x389939,_0x17116b){return _0x389939===_0x17116b;},_0x304509[_0x3eaea3(0x1bb)]=_0x3eaea3(0x1c0);const _0x3b11fc=_0x304509,_0x43e402=await this[_0x3eaea3(0x1a4)](_0x3b11fc['iKZXj']);if(!_0x43e402||_0x3b11fc[_0x3eaea3(0x1b1)](Object[_0x3eaea3(0x1be)](_0x43e402)[_0x3eaea3(0x1aa)],0x0)){this[_0x3eaea3(0x199)](_0x3b11fc[_0x3eaea3(0x1bb)],_0x43e402);return;}this[_0x3eaea3(0x1b7)](_0x43e402['errorCode'],_0x43e402[_0x3eaea3(0x1b9)]);}static async[a78_0x5a96a5(0x19d)](){const _0x5780f8=a78_0x5a96a5,_0x40daab={};_0x40daab['xIlKv']='ssl\x20cert\x20issue',_0x40daab['NxZKc']=function(_0x4dcf60,_0x31a5ba){return _0x4dcf60===_0x31a5ba;},_0x40daab['TAAtj']=_0x5780f8(0x1c8);const _0x41fd61=_0x40daab,_0x103b7a=await this['getErrorDetails'](_0x41fd61[_0x5780f8(0x190)]);if(!_0x103b7a||_0x41fd61[_0x5780f8(0x1c9)](Object[_0x5780f8(0x1be)](_0x103b7a)[_0x5780f8(0x1aa)],0x0)){this[_0x5780f8(0x199)](_0x41fd61[_0x5780f8(0x1b3)],_0x103b7a);return;}this[_0x5780f8(0x1b7)](_0x103b7a[_0x5780f8(0x1ce)],_0x103b7a['errorMessage']);}static[a78_0x5a96a5(0x1ab)](){const _0xd1c96f=a78_0x5a96a5,_0x2c7e15={};_0x2c7e15[_0xd1c96f(0x1c4)]=_0xd1c96f(0x1d6),_0x2c7e15[_0xd1c96f(0x1a7)]=function(_0xf3bdcb,_0x6eb723){return _0xf3bdcb===_0x6eb723;},_0x2c7e15[_0xd1c96f(0x188)]=_0xd1c96f(0x1db);const _0x1c899c=_0x2c7e15,_0x1b38d8=constants['CLIENT_TROUBLESHOOTING_HASH'][_0x1c899c[_0xd1c96f(0x1c4)]];if(!_0x1b38d8||_0x1c899c[_0xd1c96f(0x1a7)](Object[_0xd1c96f(0x1be)](_0x1b38d8)['length'],0x0)){this[_0xd1c96f(0x199)](_0x1c899c[_0xd1c96f(0x188)],_0x1b38d8);return;}this[_0xd1c96f(0x185)][_0xd1c96f(0x1bf)](_0x1b38d8[0x0]),this[_0xd1c96f(0x1b7)](_0x1b38d8[0x0],_0x1b38d8[0x1]);}static async[a78_0x5a96a5(0x184)](_0x147fec){const _0x34237f=a78_0x5a96a5,_0x267775={};_0x267775[_0x34237f(0x1d1)]=_0x34237f(0x1d7),_0x267775[_0x34237f(0x1cc)]=function(_0x2f5182,_0x2d5a94){return _0x2f5182===_0x2d5a94;},_0x267775[_0x34237f(0x1ba)]=_0x34237f(0x1d9),_0x267775['zPtvt']=_0x34237f(0x18c);const _0x12d190=_0x267775,_0x27b4c6=await this['getErrorDetails'](_0x12d190[_0x34237f(0x1d1)]);if(!_0x27b4c6||_0x12d190[_0x34237f(0x1cc)](Object[_0x34237f(0x1be)](_0x27b4c6)[_0x34237f(0x1aa)],0x0)){this['logError'](_0x12d190['uwQbL'],_0x27b4c6);return;}const _0x1e8039=_0x27b4c6[_0x34237f(0x1b9)]['replace'](_0x12d190[_0x34237f(0x1c2)],_0x147fec);this['logSituation'](_0x27b4c6[_0x34237f(0x1ce)],_0x1e8039);}static async[a78_0x5a96a5(0x1b5)](){const _0x51ad21=a78_0x5a96a5,_0x260eab={};_0x260eab['SDCKG']=function(_0x1ad73c,_0x3ba710){return _0x1ad73c>_0x3ba710;},_0x260eab[_0x51ad21(0x1df)]=function(_0x239d29,_0x332053){return _0x239d29>_0x332053;},_0x260eab[_0x51ad21(0x18d)]=_0x51ad21(0x1af),_0x260eab['pgvpE']='{CLIENT_TROUBLESHOOTING_DOCUMENTATION}';const _0x164d77=_0x260eab,_0xa2aabb=await this[_0x51ad21(0x191)](),_0x110241=this[_0x51ad21(0x1e0)](_0xa2aabb),_0x2cf2fa=Array['isArray'](_0xa2aabb['errorCodes'])?_0xa2aabb[_0x51ad21(0x1e6)]:[],_0x174982=_0x164d77['SDCKG'](this['errorCodesOccurredWhenCLINotRunning'][_0x51ad21(0x1b0)],0x0)?Array[_0x51ad21(0x1e5)](this[_0x51ad21(0x185)]):[],_0x4bbab1=new Set([..._0x2cf2fa,..._0x110241,..._0x174982]),_0x2feda5=Array[_0x51ad21(0x1e5)](_0x4bbab1);if(_0x164d77['cvKvd'](_0x2feda5[_0x51ad21(0x1aa)],0x0)){const _0x138c77=_0xa2aabb[_0x51ad21(0x1bd)][_0x51ad21(0x19b)](_0x164d77[_0x51ad21(0x18d)],_0x2feda5[_0x51ad21(0x180)](',\x20'))[_0x51ad21(0x19b)](_0x164d77[_0x51ad21(0x1a3)],_0xa2aabb[_0x51ad21(0x1e2)]);logger['warn'](_0x138c77),this['cachedErrorCodes']=_0x2feda5;}}}module[a78_0x5a96a5(0x1d8)]=ClientTroubleShootingService;