browserstack-node-sdk 1.70.2 → 1.70.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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';const a46_0x3516a3=a46_0x16db;(function(_0x4565f1,_0x8db5f){const _0x191a5e=a46_0x16db,_0x1279a9=_0x4565f1();while(!![]){try{const _0x314f72=-parseInt(_0x191a5e(0x12e))/0x1*(parseInt(_0x191a5e(0x17f))/0x2)+-parseInt(_0x191a5e(0xfd))/0x3*(-parseInt(_0x191a5e(0x110))/0x4)+-parseInt(_0x191a5e(0x16d))/0x5*(-parseInt(_0x191a5e(0x104))/0x6)+parseInt(_0x191a5e(0x14a))/0x7+-parseInt(_0x191a5e(0x100))/0x8+-parseInt(_0x191a5e(0x157))/0x9+parseInt(_0x191a5e(0x180))/0xa;if(_0x314f72===_0x8db5f)break;else _0x1279a9['push'](_0x1279a9['shift']());}catch(_0xab8a){_0x1279a9['push'](_0x1279a9['shift']());}}}(a46_0x5156,0xbea8a));const path=require('path'),{v4:uuidv4}=require(a46_0x3516a3(0x1ac)),SessionHandler=require(a46_0x3516a3(0x19c)),{debug}=require('../../../helpers/test-observability/utils'),logger=require(a46_0x3516a3(0xf3))[a46_0x3516a3(0x17e)],BrowserstackCLI=require(a46_0x3516a3(0xd4)),GrpcClient=require(a46_0x3516a3(0x18f)),TestFrameworkState=require('../../v2/state/testFrameworkState'),HookState=require(a46_0x3516a3(0x18e)),LOG_LEVELS=[a46_0x3516a3(0x184),a46_0x3516a3(0x1b6),a46_0x3516a3(0x177),'DEBUG',a46_0x3516a3(0xeb)];function isCLIRunning(){const _0x4377f5=a46_0x3516a3;try{return BrowserstackCLI['getInstance']()[_0x4377f5(0x1ae)]();}catch(_0x40e2fb){return![];}}function getParentTitles(_0x30484d){const _0x4039e9=a46_0x3516a3,_0x34ee04={'nRToW':function(_0x894574,_0x1e57c1){return _0x894574(_0x1e57c1);}},_0x52f0d6=[],_0x2082d0=_0x30484d[_0x4039e9(0x1be)]();return _0x2082d0&&_0x52f0d6[_0x4039e9(0xd2)][_0x4039e9(0x122)](_0x52f0d6,_0x34ee04[_0x4039e9(0x19d)](getParentTitles,_0x2082d0)),_0x30484d['name']&&_0x52f0d6[_0x4039e9(0xd2)](_0x34ee04[_0x4039e9(0x19d)](String,_0x30484d[_0x4039e9(0x145)])),_0x52f0d6;}function normalizeLogLevel(_0x53c449){const _0x143c8b=a46_0x3516a3,_0x3d47fe={};_0x3d47fe[_0x143c8b(0x166)]='INFO',_0x3d47fe[_0x143c8b(0x14e)]=function(_0x54e7f2,_0x5c322f){return _0x54e7f2!==_0x5c322f;};const _0xfaa9e4=_0x3d47fe;if(!_0x53c449)return _0xfaa9e4[_0x143c8b(0x166)];const _0x418732=_0x53c449['toUpperCase']();return _0xfaa9e4['Phwkx'](LOG_LEVELS[_0x143c8b(0x1ab)](_0x418732),-0x1)?_0x418732:_0xfaa9e4[_0x143c8b(0x166)];}function resolveCollectionFile(_0x5a7a9e,_0x3aa72b){const _0x2febea=a46_0x3516a3,_0x1079d6={};_0x1079d6[_0x2febea(0x19a)]=function(_0x4faa18,_0x493a0b){return _0x4faa18===_0x493a0b;},_0x1079d6[_0x2febea(0xd7)]=_0x2febea(0xdc),_0x1079d6[_0x2febea(0x186)]='run',_0x1079d6['qkcwN']=function(_0x23a7c8,_0x318ae6){return _0x23a7c8!==_0x318ae6;},_0x1079d6[_0x2febea(0x1a0)]=function(_0x5bebf4,_0x5126ac){return _0x5bebf4<_0x5126ac;},_0x1079d6[_0x2febea(0x141)]=function(_0x1eadf4,_0x5bc8aa){return _0x1eadf4+_0x5bc8aa;},_0x1079d6[_0x2febea(0x160)]=function(_0x563751,_0x2b23f0){return _0x563751+_0x2b23f0;},_0x1079d6[_0x2febea(0x10b)]=_0x2febea(0x189),_0x1079d6[_0x2febea(0x139)]=_0x2febea(0x15a);const _0x3fb65f=_0x1079d6;try{if(_0x3aa72b&&_0x3aa72b['collectionPath'])return path[_0x2febea(0x1cc)](process['cwd'](),path[_0x2febea(0x175)](_0x3aa72b[_0x2febea(0x15d)]));const _0x267c3e=_0x5a7a9e[_0x2febea(0x1ad)];if(_0x3fb65f[_0x2febea(0x19a)](typeof _0x267c3e,_0x3fb65f['ESxLC']))return path['relative'](process[_0x2febea(0x152)](),path[_0x2febea(0x175)](_0x267c3e));const _0x28f8bc=process[_0x2febea(0x14f)][_0x2febea(0x1ab)](_0x3fb65f[_0x2febea(0x186)]);if(_0x3fb65f[_0x2febea(0x12c)](_0x28f8bc,-0x1)&&_0x3fb65f[_0x2febea(0x1a0)](_0x3fb65f[_0x2febea(0x141)](_0x28f8bc,0x1),process[_0x2febea(0x14f)][_0x2febea(0xfe)])){const _0x1069d9=process[_0x2febea(0x14f)][_0x3fb65f[_0x2febea(0x160)](_0x28f8bc,0x1)];if(_0x1069d9&&!_0x1069d9['startsWith']('-'))return path['relative'](process['cwd'](),path['resolve'](_0x1069d9));}}catch(_0x487a7d){}return logger[_0x2febea(0x128)](_0x3fb65f[_0x2febea(0x10b)]),_0x3fb65f[_0x2febea(0x139)];}function resolveCollectionName(_0x574e04){const _0x346695=a46_0x3516a3,_0xe8d6d0={};_0xe8d6d0[_0x346695(0x169)]=function(_0x34dc92,_0x3fa24c){return _0x34dc92===_0x3fa24c;},_0xe8d6d0[_0x346695(0x153)]=_0x346695(0x14d);const _0x45df8a=_0xe8d6d0;try{const _0x1dad68=_0x574e04[_0x346695(0x1ad)];if(_0x1dad68&&_0x45df8a['svorB'](typeof _0x1dad68,_0x45df8a['Yihdv']))return _0x1dad68[_0x346695(0x145)]||_0x1dad68[_0x346695(0x128)]&&_0x1dad68[_0x346695(0x128)][_0x346695(0x145)]||null;}catch(_0x540958){}return null;}function emitTest(_0x1680c0,_0x1efaed,_0x32018a,_0x43f1d1,_0x7a6942){const _0xfdf5c4=a46_0x3516a3,_0x25e32c={'VdNfV':function(_0x1f084a){return _0x1f084a();},'EqcNW':_0xfdf5c4(0xd6),'iyhWA':function(_0x317c0e,_0x551192){return _0x317c0e(_0x551192);},'WUxlB':'newman','hQVTO':_0xfdf5c4(0x1b7),'KlFXt':function(_0x5aa4ae,_0x525c40){return _0x5aa4ae!=_0x525c40;},'Xdsxg':function(_0x4493b1,_0x441816){return _0x4493b1===_0x441816;},'GgAMY':_0xfdf5c4(0x154),'mAhYY':_0xfdf5c4(0xdb)};if(_0x25e32c[_0xfdf5c4(0x19f)](isCLIRunning))try{const _0x2a9734=BrowserstackCLI['getInstance']()['getTestFramework']();if(!_0x2a9734)return;_0x2a9734[_0xfdf5c4(0xe1)](TestFrameworkState[_0xfdf5c4(0x134)],_0x1680c0,{'test':{'uuid':_0x1efaed[_0xfdf5c4(0x1ac)],'name':_0x1efaed[_0xfdf5c4(0x145)],'scopes':_0x32018a[_0xfdf5c4(0x108)],'scope':_0x32018a[_0xfdf5c4(0x108)]['join']('\x20'),'file_path':_0x43f1d1,'location':_0x32018a['collectionName'],'started_at':_0x32018a['startedAt'],'finished_at':_0x7a6942['finishedAt']||null,'result':_0x7a6942[_0xfdf5c4(0x146)]||_0x25e32c['EqcNW'],'failure':_0x7a6942[_0xfdf5c4(0xe5)]||[],'failure_type':_0x7a6942[_0xfdf5c4(0x191)]||null,'failure_reason':_0x7a6942[_0xfdf5c4(0x12b)]||null,'tags':[],'meta':{},'custom_metadata':{}}});}catch(_0x5b06be){_0x25e32c[_0xfdf5c4(0x167)](debug,_0xfdf5c4(0x1cb)+_0x5b06be);}else{const _0xfbd38b={'uuid':_0x1efaed[_0xfdf5c4(0x1ac)],'name':_0x1efaed[_0xfdf5c4(0x145)],'framework':_0x25e32c[_0xfdf5c4(0xf5)],'body':{'lang':_0x25e32c[_0xfdf5c4(0x1b5)],'code':null},'scope':_0x32018a[_0xfdf5c4(0x108)][_0xfdf5c4(0x150)]('\x20'),'scopes':_0x32018a['scopes'],'identifier':_0x1efaed[_0xfdf5c4(0x1ba)],'file_name':_0x32018a[_0xfdf5c4(0xf4)],'vc_filepath':_0x32018a['location'],'location':_0x32018a[_0xfdf5c4(0x12f)],'started_at':_0x32018a[_0xfdf5c4(0xff)],'finished_at':_0x7a6942['finishedAt']||null,'duration_in_ms':_0x25e32c[_0xfdf5c4(0x182)](_0x7a6942['durationMs'],null)?Math[_0xfdf5c4(0x140)](0x0,_0x7a6942[_0xfdf5c4(0x165)]):null,'result':_0x7a6942['result']||_0x25e32c[_0xfdf5c4(0x11e)],'failure_reason':_0x7a6942['failureReason']||null,'failure_type':_0x7a6942[_0xfdf5c4(0x191)]||null,'failure':_0x7a6942[_0xfdf5c4(0xe5)]||[],'retry_of':null,'hooks':[]};_0xfbd38b[_0xfdf5c4(0xe5)][0x0]&&(_0xfbd38b[_0xfdf5c4(0xe8)]=_0xfbd38b[_0xfdf5c4(0xe5)][0x0][_0xfdf5c4(0x127)],_0xfbd38b[_0xfdf5c4(0x16b)]=_0xfbd38b[_0xfdf5c4(0xe5)][0x0][_0xfdf5c4(0x196)]);const _0x26d9e9=_0x25e32c[_0xfdf5c4(0xed)](_0x1680c0,HookState[_0xfdf5c4(0x121)])?_0x25e32c[_0xfdf5c4(0x115)]:_0x25e32c[_0xfdf5c4(0x1a4)],_0x44bb83={};_0x44bb83[_0xfdf5c4(0x12d)]=_0x26d9e9,_0x44bb83['test_run']=_0xfbd38b,SessionHandler[_0xfdf5c4(0x126)](_0x44bb83);}}function a46_0x16db(_0x135647,_0xd26c16){const _0x5156ea=a46_0x5156();return a46_0x16db=function(_0x16db24,_0x20bbf1){_0x16db24=_0x16db24-0xd0;let _0x450278=_0x5156ea[_0x16db24];return _0x450278;},a46_0x16db(_0x135647,_0xd26c16);}function emitLog(_0x2cebc8,_0x50faf1){const _0x2dc925=a46_0x3516a3,_0x14b333={'HnDgJ':_0x2dc925(0x10f),'ENITm':function(_0x26a5dc){return _0x26a5dc();},'lrmUt':function(_0x310695,_0x3a0073){return _0x310695===_0x3a0073;},'NeGbk':_0x2dc925(0x132),'btkHq':_0x2dc925(0x14c),'oxRFd':_0x2dc925(0x134),'LkKMk':_0x2dc925(0x184),'vWUjF':function(_0x1c3b64,_0x4f8287){return _0x1c3b64(_0x4f8287);},'CkpMs':function(_0x210ab4,_0x1f4fe7){return _0x210ab4+_0x1f4fe7;},'YZYLG':_0x2dc925(0x16c),'MMdff':'LogCreated'},_0x1f95a2=_0x50faf1[_0x2dc925(0x1c8)]||_0x14b333[_0x2dc925(0x144)],_0x4d152c=_0x50faf1[_0x2dc925(0xd0)]||new Date()['toISOString']();if(_0x14b333[_0x2dc925(0x185)](isCLIRunning))try{const _0xe47d79=_0x14b333[_0x2dc925(0x187)](_0x1f95a2,_0x14b333[_0x2dc925(0xf1)])?JSON[_0x2dc925(0x137)](_0x50faf1):_0x50faf1['message']||'',_0x1d4ad4={};_0x1d4ad4['platformIndex']=0x0,_0x1d4ad4[_0x2dc925(0x1b4)]=_0x14b333[_0x2dc925(0x101)],_0x1d4ad4[_0x2dc925(0xf8)]='',_0x1d4ad4['testFrameworkState']=_0x14b333[_0x2dc925(0x15c)],_0x1d4ad4['logs']=[{'uuid':_0x2cebc8,'timestamp':_0x4d152c,'kind':_0x1f95a2,'level':_0x50faf1[_0x2dc925(0x1c2)]||_0x14b333[_0x2dc925(0x178)],'message':_0xe47d79}],GrpcClient[_0x2dc925(0x13a)]()[_0x2dc925(0x125)](_0x1d4ad4);}catch(_0x40e901){_0x14b333['vWUjF'](debug,_0x14b333['CkpMs'](_0x14b333['YZYLG'],_0x40e901));}else{const _0x588276={};_0x588276['test_run_uuid']=_0x2cebc8,_0x588276[_0x2dc925(0xd0)]=_0x4d152c,_0x588276['level']=_0x50faf1['level']||null,_0x588276[_0x2dc925(0x116)]=_0x50faf1[_0x2dc925(0x116)]||null,_0x588276['kind']=_0x1f95a2,_0x588276[_0x2dc925(0x1c6)]=_0x50faf1['http_response']||{};const _0x287ca3={};_0x287ca3[_0x2dc925(0x12d)]=_0x14b333[_0x2dc925(0x1c1)],_0x287ca3[_0x2dc925(0x143)]=[_0x588276],SessionHandler[_0x2dc925(0x126)](_0x287ca3);}}function a46_0x5156(){const _0x32d778=['URndG','vAMSt','item','TZQeW','set','TEST_LOG','1356xDPzht','\x20(no\x20assertions)','):\x20','prUKB','toISOString','GgAMY','message','GgXrl','IJQrX','NtrBW','startTimestamp','script','dlgIH','code','EqcNW','[Newman\x20Reporter]\x20Error\x20in\x20bs:addLog\x20handler:\x20','KKRjf','PRE','apply','oeycu','assertions','logCreatedEvent','uploadEventData','backtrace','info','get','ASMxC','failureReason','qkcwN','event_type','3wmQNXj','location','\x20->\x20','duration_ms','HTTP','responseTime','TEST','LWmQM','HTTP\x20','stringify','[Newman\x20Reporter]\x20Error\x20in\x20assertion:\x20','Vagwa','getInstance','IZbAa','error','done','PCeQn','RMflZ','max','zxQLU','POST','logs','HnDgJ','name','result','XfsPE','eKSrH','removeListener','1231755eGmxlo','QHpud','newman','object','Phwkx','argv','join','Inydh','cwd','Yihdv','TestRunStarted','pid','dnBLm','10781820qFUimm','UXWFl','forEach','collection.json','[Newman\x20Reporter]\x20Error\x20in\x20item:\x20','oxRFd','collectionPath','host','toString','kYkzU','NVDKN','HauEZ','jdTgE','ZOhcL','durationMs','XpcVn','iyhWA','slice','svorB','zElpt','failure_reason_expanded','[Newman\x20Reporter]\x20emitLog\x20error:\x20','92965tKBqqg','kcbKZ','Vbboq','rrYmw','status_code','[Newman\x20Reporter]\x20Error\x20in\x20script:\x20','jrqjf','Sdjxm','resolve','AeyPo','ERROR','LkKMk','startsWith','UnhandledError','url','ufAbR','delete','winstonLogger','296312xQWagp','12076170awZEFK','err','KlFXt','FXKwA','INFO','ENITm','kBGUr','lrmUt','LPAWS','[Newman\x20Reporter]\x20Could\x20not\x20resolve\x20collection\x20file\x20path,\x20falling\x20back\x20to\x20collection.json','lastResponseCode','PsqyN','bs:addLog:','[Newman\x20Reporter]\x20Error\x20in\x20console:\x20','../../v2/state/hookState','../../v2/grpcClient','assert','failureType','QgtND','sHQin','[Newman\x20Reporter]\x20Error\x20in\x20beforeItem:\x20','nDmAx','expanded','split','exports','pNslU','fXgGC','headers','../../../helpers/test-observability/sessionHandler','nRToW','cursor','VdNfV','NQKEz','passed','concat','hostname','mAhYY','ZPswb','now','method','event','fOTfn','ubNiB','indexOf','uuid','collection','isRunning','EQbpO','request','HTTP\x20Status:\x20','yyevM','oPHfn','testFrameworkName','hQVTO','WARN','javascript','RAoPW','VAulU','identifier','\x20—\x20response\x20status\x20in\x20failure\x20range','listen','ms)','parent','JIDbc','response','MMdff','level','unknown','messages','ref','http_response','itemName','kind','\x20(HTTP\x20','omQYU','[Newman\x20Reporter]\x20emitTest\x20error:\x20','relative','YBvYm','bufferedLogs','N/A','timestamp','http','push','PXAJe','../../v2/browserstackCLI','assertion','pending','ESxLC','JjeBM','LbqrT','LPjMY','TestRunFinished','string','stack','yKHPL','httpLog','xmifT','trackEvent','qwypl','search','xLxKr','failure','kQSob','znFAA','failure_backtrace','nQrbI','jMJUT','TRACE','BoCmy','Xdsxg','VKvFk','QswKH','execution','NeGbk','wbOoq','../../../helpers/logger','collectionName','WUxlB','rGlaN','ZUXHj','testFrameworkVersion','MDkgw','getTime','spptH','opqht','10155fRRasR','length','startedAt','5770240DtAxis','btkHq','Exception:\x20','aRuaF','198kwZvnz','oHemt','OtoRd','huvQx','scopes','path'];a46_0x5156=function(){return _0x32d778;};return a46_0x5156();}function BrowserStackNewmanReporter(_0x2bc2e8,_0x4f74aa,_0x5dce27){const _0x2f5f70=a46_0x3516a3,_0x5dba1a={'LPjMY':function(_0x2fb6a1,_0x48bd28,_0x2eefc9){return _0x2fb6a1(_0x48bd28,_0x2eefc9);},'ASMxC':function(_0x373171,_0x12e0fb){return _0x373171(_0x12e0fb);},'ZOhcL':function(_0x2c94e2,_0x43e3b0){return _0x2c94e2(_0x43e3b0);},'IJQrX':function(_0x5c1a22,_0x3a3c68){return _0x5c1a22>_0x3a3c68;},'ufAbR':_0x2f5f70(0xd1),'JjeBM':function(_0x8912bc,_0x4952e5){return _0x8912bc+_0x4952e5;},'RMflZ':'GET','AekBu':function(_0xc513ad,_0x5805b0){return _0xc513ad(_0x5805b0);},'dnBLm':function(_0x4b0e20,_0x40d845,_0x14db69){return _0x4b0e20(_0x40d845,_0x14db69);},'PsqyN':'TEST_LOG','Vbboq':function(_0x92419f,_0x2aede3){return _0x92419f+_0x2aede3;},'URndG':function(_0x5e88f3){return _0x5e88f3();},'aRuaF':function(_0x1ee2b5,_0x20f9b3){return _0x1ee2b5||_0x20f9b3;},'Sdjxm':function(_0x5bdc09,_0x3c9189,_0x203deb,_0x28e3cc,_0x36ab86,_0x384a85){return _0x5bdc09(_0x3c9189,_0x203deb,_0x28e3cc,_0x36ab86,_0x384a85);},'YBvYm':function(_0x43d2a4,_0x2c298e){return _0x43d2a4===_0x2c298e;},'yKHPL':function(_0x145be5,_0x4c27c2){return _0x145be5>_0x4c27c2;},'EQbpO':function(_0x159e71,_0x5cd0dd,_0x58c4af){return _0x159e71(_0x5cd0dd,_0x58c4af);},'huvQx':'HTTP','rGlaN':function(_0x7b0a3c,_0x409a22){return _0x7b0a3c+_0x409a22;},'oeycu':function(_0x626ae2,_0x28149b){return _0x626ae2+_0x28149b;},'prUKB':function(_0x386849,_0x43dc5b){return _0x386849+_0x43dc5b;},'ubNiB':function(_0x9d990d,_0x102f75){return _0x9d990d+_0x102f75;},'QXPYr':function(_0x1b9e96,_0x1d0df){return _0x1b9e96+_0x1d0df;},'pNslU':_0x2f5f70(0x130),'QswKH':_0x2f5f70(0x1bd),'oHemt':function(_0x14fa84,_0x59af50,_0x51b077){return _0x14fa84(_0x59af50,_0x51b077);},'NVDKN':'INFO','IZbAa':function(_0x145b5f,_0x7a551f){return _0x145b5f>_0x7a551f;},'wbOoq':function(_0x394113,_0x312d4d){return _0x394113-_0x312d4d;},'DDFvV':function(_0x34ccdb,_0x20c468){return _0x34ccdb(_0x20c468);},'spptH':function(_0xaf9639,_0xb068ad){return _0xaf9639(_0xb068ad);},'ZPswb':function(_0x28f155,_0x1fb9c6){return _0x28f155&&_0x1fb9c6;},'eKSrH':_0x2f5f70(0x102),'BoCmy':_0x2f5f70(0x177),'nQrbI':function(_0x1e3b03,_0x173961){return _0x1e3b03(_0x173961);},'QHpud':function(_0x47a863,_0x5857e2){return _0x47a863+_0x5857e2;},'jMJUT':'[Newman\x20Reporter]\x20Error\x20in\x20exception:\x20','fOTfn':function(_0x26dfe3,_0x18ba81){return _0x26dfe3-_0x18ba81;},'FXKwA':_0x2f5f70(0x1c3),'ZUXHj':function(_0x516121,_0x18b67d,_0xccaf70){return _0x516121(_0x18b67d,_0xccaf70);},'jdTgE':function(_0x5b526b,_0x25606c){return _0x5b526b+_0x25606c;},'xLxKr':function(_0x314c58,_0x27a8ac){return _0x314c58+_0x27a8ac;},'LbqrT':'Script\x20error\x20(','yyevM':_0x2f5f70(0x112),'JIDbc':function(_0x5d753e,_0xcaf737){return _0x5d753e(_0xcaf737);},'sWsPQ':_0x2f5f70(0x172),'zElpt':'failed','TZQeW':_0x2f5f70(0x1a1),'rrYmw':'AssertionError','kcbKZ':_0x2f5f70(0x190),'KKRjf':_0x2f5f70(0x17a),'kVlgw':function(_0x4c4cb1,_0x55b274,_0x4a1434,_0x3bb6a2,_0x4fc213,_0x159d17){return _0x4c4cb1(_0x55b274,_0x4a1434,_0x3bb6a2,_0x4fc213,_0x159d17);},'LWmQM':function(_0xfaf86c){return _0xfaf86c();},'RiDxI':function(_0x3b1af3,_0x574389){return _0x3b1af3!=_0x574389;},'CjsYI':function(_0x1ec3e6,_0x6878a1){return _0x1ec3e6>=_0x6878a1;},'VKvFk':function(_0x421408,_0x4daf2e){return _0x421408<_0x4daf2e;},'NtrBW':function(_0x452edd,_0x551ccd){return _0x452edd||_0x551ccd;},'RAoPW':_0x2f5f70(0x1cf),'omQYU':function(_0x18f04a,_0x5b854a){return _0x18f04a!=_0x5b854a;},'AeyPo':'No\x20HTTP\x20response\x20received','NDDtN':function(_0x3890fa,_0x42a0ab,_0x19d2ab,_0x44d71b,_0x5eb560,_0x190be4){return _0x3890fa(_0x42a0ab,_0x19d2ab,_0x44d71b,_0x5eb560,_0x190be4);},'MDkgw':function(_0x2b5051,_0x1a73ca){return _0x2b5051+_0x1a73ca;},'opqht':function(_0x2e0d56,_0xa487d0){return _0x2e0d56+_0xa487d0;},'HauEZ':function(_0x57ea4c,_0x346e70){return _0x57ea4c+_0x346e70;},'sHQin':function(_0x360272,_0x5be6b5){return _0x360272+_0x5be6b5;},'jrqjf':function(_0x543a8d,_0x2a29b8){return _0x543a8d+_0x2a29b8;},'AbNTU':function(_0x1b62b0,_0x2ce3d1){return _0x1b62b0+_0x2ce3d1;},'zWyEO':_0x2f5f70(0x1b1),'LPAWS':_0x2f5f70(0x111),'GgXrl':function(_0x34eb96,_0x1f86c0){return _0x34eb96(_0x1f86c0);},'UXWFl':_0x2f5f70(0x13d),'XfsPE':'beforeIteration','QgtND':'beforeItem','VAulU':_0x2f5f70(0x1b0),'oPHfn':_0x2f5f70(0xd5),'dlgIH':'console','AEdmT':'exception','znFAA':_0x2f5f70(0x11b),'IhDsJ':_0x2f5f70(0x10c)},_0x2ca3d6=new Map();let _0x2e2677=null,_0x5a6cce=0x0;const _0x5c9a87=_0x5dba1a[_0x2f5f70(0x1af)](resolveCollectionFile,_0x5dce27,_0x4f74aa),_0x46edbe=_0x5dba1a[_0x2f5f70(0x117)](resolveCollectionName,_0x5dce27)||_0x5c9a87,_0x9829b4=path[_0x2f5f70(0x175)](_0x5c9a87),_0x59164f=_0x2f5f70(0x18c)+process[_0x2f5f70(0x155)],_0x5872bb=_0x12de48=>{const _0x1ea069=_0x2f5f70;try{_0x2e2677&&_0x5dba1a[_0x1ea069(0xda)](emitLog,_0x2e2677,_0x12de48);}catch(_0x394f3c){_0x5dba1a[_0x1ea069(0x12a)](debug,_0x1ea069(0x11f)+_0x394f3c);}};process['on'](_0x59164f,_0x5872bb),_0x2bc2e8['on'](_0x5dba1a[_0x2f5f70(0x158)],()=>{const _0x1025d7=_0x2f5f70;process[_0x1025d7(0x149)](_0x59164f,_0x5872bb),_0x2ca3d6['clear']();}),_0x2bc2e8['on'](_0x5dba1a[_0x2f5f70(0x147)],(_0x2a8f29,_0x5aed1f)=>{const _0x3ecbb9=_0x2f5f70;_0x5aed1f&&_0x5aed1f[_0x3ecbb9(0x19e)]&&(_0x5a6cce=_0x5aed1f[_0x3ecbb9(0x19e)]['iteration']||0x0);}),_0x2bc2e8['on'](_0x5dba1a[_0x2f5f70(0x192)],(_0x395ad8,_0xa55e7a)=>{const _0x5a83b7=_0x2f5f70;try{_0x2e2677=null;const _0x2be455=_0xa55e7a[_0x5a83b7(0x10c)],_0x2ccd11=_0x2be455[_0x5a83b7(0x1be)]()?_0x5dba1a[_0x5a83b7(0x164)](getParentTitles,_0x2be455[_0x5a83b7(0x1be)]()):[],_0x8e508d=_0x5dba1a[_0x5a83b7(0x118)](_0x2ccd11[_0x5a83b7(0xfe)],0x1)?_0x2ccd11[_0x5a83b7(0x168)](0x1):_0x2ccd11,_0xdeebb6=_0xa55e7a[_0x5a83b7(0x19e)]&&_0xa55e7a[_0x5a83b7(0x19e)]['ref'],_0x297f5={'itemName':_0x2be455[_0x5a83b7(0x145)],'scopes':_0x8e508d['concat']([_0x2be455[_0x5a83b7(0x145)]]),'location':_0x5c9a87,'collectionName':_0x46edbe,'startedAt':new Date()[_0x5a83b7(0x114)](),'startTimestamp':Date[_0x5a83b7(0x1a6)](),'lastResponseCode':null,'httpLog':null,'assertions':[],'bufferedLogs':[]};_0x2ca3d6[_0x5a83b7(0x10e)](_0x2be455['id']+'_'+_0x5a6cce,_0x297f5),_0xdeebb6&&_0x2ca3d6[_0x5a83b7(0x10e)](_0xdeebb6+'_'+_0x5a6cce,_0x297f5);}catch(_0x1d98f1){_0x5dba1a[_0x5a83b7(0x12a)](debug,_0x5a83b7(0x194)+_0x1d98f1);}}),_0x2bc2e8['on'](_0x5dba1a[_0x2f5f70(0x1b9)],(_0x5cff61,_0x31b229)=>{const _0x5857b8=_0x2f5f70;try{if(!_0x31b229||!_0x31b229[_0x5857b8(0x10c)])return;const _0x3e7444=_0x2ca3d6['get'](_0x31b229[_0x5857b8(0x10c)]['id']+'_'+_0x5a6cce);if(!_0x3e7444)return;_0x31b229[_0x5857b8(0x1c0)]&&(_0x3e7444[_0x5857b8(0x18a)]=_0x31b229[_0x5857b8(0x1c0)][_0x5857b8(0x11d)]||null);if(!_0x31b229[_0x5857b8(0x1b0)])return;let _0x5063f1='',_0x596de9='';if(_0x31b229[_0x5857b8(0x1b0)]['url'])try{const _0x40b6cc=_0x31b229[_0x5857b8(0x1b0)][_0x5857b8(0x17b)][_0x5857b8(0x15f)](),_0x1c0fdc=new URL(_0x40b6cc[_0x5857b8(0x179)](_0x5dba1a[_0x5857b8(0x17c)])?_0x40b6cc:'http://'+_0x40b6cc);_0x5063f1=_0x1c0fdc[_0x5857b8(0x1a3)],_0x596de9=_0x5dba1a[_0x5857b8(0xd8)](_0x1c0fdc['pathname'],_0x1c0fdc[_0x5857b8(0xe3)]);}catch(_0x15ae0f){_0x596de9=_0x31b229[_0x5857b8(0x1b0)][_0x5857b8(0x17b)][_0x5857b8(0x15f)]();}const _0x3d75bb={};_0x3d75bb['host']=_0x5063f1,_0x3d75bb[_0x5857b8(0x109)]=_0x596de9,_0x3d75bb[_0x5857b8(0x1a7)]=_0x31b229[_0x5857b8(0x1b0)][_0x5857b8(0x1a7)]||_0x5dba1a[_0x5857b8(0x13f)],_0x3d75bb[_0x5857b8(0x19b)]={},_0x3d75bb['status_code']=_0x31b229[_0x5857b8(0x1c0)]?_0x31b229[_0x5857b8(0x1c0)][_0x5857b8(0x11d)]||0x0:0x0,_0x3d75bb[_0x5857b8(0x131)]=_0x31b229[_0x5857b8(0x1c0)]?_0x31b229[_0x5857b8(0x1c0)][_0x5857b8(0x133)]||0x0:0x0,_0x3e7444[_0x5857b8(0xdf)]=_0x3d75bb;}catch(_0x9ed7aa){_0x5dba1a['AekBu'](debug,'[Newman\x20Reporter]\x20Error\x20in\x20request:\x20'+_0x9ed7aa);}}),_0x2bc2e8['on'](_0x5dba1a[_0x2f5f70(0x1b3)],(_0x2e39e8,_0x4df21a)=>{const _0x51bf3=_0x2f5f70;try{if(!_0x4df21a||!_0x4df21a[_0x51bf3(0x10c)])return;const _0xb4c8d=_0x2ca3d6[_0x51bf3(0x129)](_0x4df21a[_0x51bf3(0x10c)]['id']+'_'+_0x5a6cce);if(!_0xb4c8d)return;const _0x40fd57=_0x4df21a[_0x51bf3(0xd5)]||'Assertion\x20'+_0x5dba1a[_0x51bf3(0x16f)](_0xb4c8d[_0x51bf3(0x124)]['length'],0x1),_0xf0f9c6=_0x5dba1a[_0x51bf3(0x10a)](uuidv4),_0xa6cfd=_0xb4c8d['scopes']['concat']([_0x40fd57])[_0x51bf3(0x150)]('\x20');_0xb4c8d[_0x51bf3(0x124)][_0x51bf3(0xd2)]({'uuid':_0xf0f9c6,'name':_0x40fd57,'identifier':_0xa6cfd,'err':_0x5dba1a[_0x51bf3(0x103)](_0x2e39e8,null)});const _0x48b21c={};_0x48b21c['uuid']=_0xf0f9c6,_0x48b21c[_0x51bf3(0x145)]=_0x40fd57,_0x48b21c[_0x51bf3(0x1ba)]=_0xa6cfd,_0x5dba1a[_0x51bf3(0x174)](emitTest,HookState[_0x51bf3(0x121)],_0x48b21c,_0xb4c8d,_0x9829b4,{});_0x5dba1a['YBvYm'](_0xb4c8d[_0x51bf3(0x124)][_0x51bf3(0xfe)],0x1)&&_0x5dba1a['yKHPL'](_0xb4c8d[_0x51bf3(0x1ce)][_0x51bf3(0xfe)],0x0)&&(_0xb4c8d[_0x51bf3(0x1ce)][_0x51bf3(0x159)](_0x255ba0=>{const _0x3659c0=_0x51bf3;_0x5dba1a[_0x3659c0(0x156)](emitLog,_0xf0f9c6,{'kind':_0x5dba1a['PsqyN'],'message':_0x255ba0[_0x3659c0(0x116)],'level':_0x255ba0[_0x3659c0(0x1c2)]});}),_0xb4c8d['bufferedLogs']=[]);if(_0xb4c8d[_0x51bf3(0xdf)]){_0x5dba1a[_0x51bf3(0x1af)](emitLog,_0xf0f9c6,{'kind':_0x5dba1a[_0x51bf3(0x107)],'http_response':_0xb4c8d[_0x51bf3(0xdf)]});const _0x201aeb=_0x5dba1a[_0x51bf3(0x16f)](_0x5dba1a[_0x51bf3(0xf6)](_0x5dba1a[_0x51bf3(0x16f)](_0x5dba1a['oeycu'](_0x5dba1a[_0x51bf3(0x113)](_0x5dba1a[_0x51bf3(0x1aa)](_0x5dba1a[_0x51bf3(0x113)](_0x5dba1a['QXPYr'](_0xb4c8d[_0x51bf3(0xdf)][_0x51bf3(0x1a7)]||_0x5dba1a[_0x51bf3(0x13f)],'\x20'),_0xb4c8d['httpLog'][_0x51bf3(0x15e)]),_0xb4c8d[_0x51bf3(0xdf)][_0x51bf3(0x109)]),_0x5dba1a[_0x51bf3(0x199)]),_0xb4c8d[_0x51bf3(0xdf)][_0x51bf3(0x171)]),'\x20('),_0xb4c8d[_0x51bf3(0xdf)][_0x51bf3(0x131)]),_0x5dba1a['QswKH']);_0x5dba1a[_0x51bf3(0x105)](emitLog,_0xf0f9c6,{'kind':_0x5dba1a[_0x51bf3(0x18b)],'message':_0x201aeb,'level':_0x5dba1a[_0x51bf3(0x161)]});}_0x2e2677=_0xf0f9c6;}catch(_0xbfe2e3){_0x5dba1a[_0x51bf3(0x12a)](debug,_0x51bf3(0x138)+_0xbfe2e3);}}),_0x2bc2e8['on'](_0x5dba1a[_0x2f5f70(0x11c)],(_0x419ab3,_0x43e467)=>{const _0xb6faa7=_0x2f5f70;try{if(!_0x43e467)return;let _0x59b9c9=_0x2e2677;if(!_0x59b9c9&&_0x43e467[_0xb6faa7(0x19e)]&&_0x43e467[_0xb6faa7(0x19e)]['ref']){const _0x5dbf23=_0x2ca3d6[_0xb6faa7(0x129)](_0x43e467[_0xb6faa7(0x19e)][_0xb6faa7(0x1c5)]+'_'+_0x5a6cce);_0x5dbf23&&_0x5dba1a[_0xb6faa7(0x13b)](_0x5dbf23['assertions'][_0xb6faa7(0xfe)],0x0)&&(_0x59b9c9=_0x5dbf23[_0xb6faa7(0x124)][_0x5dba1a[_0xb6faa7(0xf2)](_0x5dbf23[_0xb6faa7(0x124)][_0xb6faa7(0xfe)],0x1)][_0xb6faa7(0x1ac)]);}const _0x28f116=_0x43e467[_0xb6faa7(0x1c4)]?_0x43e467['messages'][_0xb6faa7(0x150)](',\x20'):'';if(_0x59b9c9)_0x5dba1a['LPjMY'](emitLog,_0x59b9c9,{'kind':_0x5dba1a['PsqyN'],'message':_0x28f116,'level':_0x5dba1a[_0xb6faa7(0x12a)](normalizeLogLevel,_0x43e467[_0xb6faa7(0x1c2)])});else{if(_0x43e467[_0xb6faa7(0x19e)]&&_0x43e467[_0xb6faa7(0x19e)][_0xb6faa7(0x1c5)]){const _0x3d6e84=_0x2ca3d6[_0xb6faa7(0x129)](_0x43e467[_0xb6faa7(0x19e)][_0xb6faa7(0x1c5)]+'_'+_0x5a6cce);_0x3d6e84&&_0x3d6e84[_0xb6faa7(0x1ce)][_0xb6faa7(0xd2)]({'timestamp':new Date()[_0xb6faa7(0x114)](),'level':_0x5dba1a[_0xb6faa7(0x164)](normalizeLogLevel,_0x43e467['level']),'message':_0x28f116});}}}catch(_0x54634c){_0x5dba1a['DDFvV'](debug,_0xb6faa7(0x18d)+_0x54634c);}}),_0x2bc2e8['on'](_0x5dba1a['AEdmT'],(_0x4a1cb4,_0x33ed86)=>{const _0x2bea0b=_0x2f5f70;try{if(!_0x4a1cb4&&(!_0x33ed86||!_0x33ed86[_0x2bea0b(0x13c)]))return;const _0x5bbeb0=_0x4a1cb4||_0x33ed86[_0x2bea0b(0x13c)],_0x5e119f=_0x5bbeb0[_0x2bea0b(0x116)]||_0x5dba1a[_0x2bea0b(0xfb)](String,_0x5bbeb0),_0x4d6f10=_0x5bbeb0[_0x2bea0b(0xdd)]||_0x5e119f;let _0x4adb7e=_0x2e2677;if(_0x5dba1a[_0x2bea0b(0x1a5)](!_0x4adb7e,_0x33ed86)&&_0x33ed86['cursor']&&_0x33ed86['cursor'][_0x2bea0b(0x1c5)]){const _0x2337a5=_0x2ca3d6[_0x2bea0b(0x129)](_0x33ed86[_0x2bea0b(0x19e)][_0x2bea0b(0x1c5)]+'_'+_0x5a6cce);_0x2337a5&&_0x5dba1a[_0x2bea0b(0x13b)](_0x2337a5[_0x2bea0b(0x124)][_0x2bea0b(0xfe)],0x0)&&(_0x4adb7e=_0x2337a5['assertions'][_0x5dba1a[_0x2bea0b(0xf2)](_0x2337a5[_0x2bea0b(0x124)][_0x2bea0b(0xfe)],0x1)][_0x2bea0b(0x1ac)]);}_0x4adb7e&&_0x5dba1a[_0x2bea0b(0x156)](emitLog,_0x4adb7e,{'kind':_0x5dba1a[_0x2bea0b(0x18b)],'message':_0x5dba1a[_0x2bea0b(0x123)](_0x5dba1a[_0x2bea0b(0x148)],_0x4d6f10),'level':_0x5dba1a[_0x2bea0b(0xec)]});}catch(_0x33bc71){_0x5dba1a[_0x2bea0b(0xe9)](debug,_0x5dba1a[_0x2bea0b(0x14b)](_0x5dba1a[_0x2bea0b(0xea)],_0x33bc71));}}),_0x2bc2e8['on'](_0x5dba1a[_0x2f5f70(0xe7)],(_0x186815,_0x2090d5)=>{const _0x44b147=_0x2f5f70;try{if(!_0x2090d5||!_0x2090d5[_0x44b147(0xf0)])return;let _0x345490=_0x2e2677;if(!_0x345490&&_0x2090d5[_0x44b147(0x19e)]&&_0x2090d5[_0x44b147(0x19e)]['ref']){const _0x589862=_0x2ca3d6[_0x44b147(0x129)](_0x2090d5[_0x44b147(0x19e)][_0x44b147(0x1c5)]+'_'+_0x5a6cce);_0x589862&&_0x5dba1a['IZbAa'](_0x589862['assertions'][_0x44b147(0xfe)],0x0)&&(_0x345490=_0x589862[_0x44b147(0x124)][_0x5dba1a[_0x44b147(0x1a9)](_0x589862[_0x44b147(0x124)][_0x44b147(0xfe)],0x1)][_0x44b147(0x1ac)]);}if(!_0x345490)return;const _0x2fe298=_0x2090d5[_0x44b147(0x1a8)]&&_0x2090d5['event'][_0x44b147(0x1bc)]||_0x5dba1a[_0x44b147(0x183)];_0x186815&&_0x5dba1a[_0x44b147(0xf7)](emitLog,_0x345490,{'kind':_0x5dba1a[_0x44b147(0x18b)],'message':_0x5dba1a['jdTgE'](_0x5dba1a[_0x44b147(0x163)](_0x5dba1a[_0x44b147(0xe4)](_0x5dba1a[_0x44b147(0xd9)],_0x2fe298),_0x5dba1a[_0x44b147(0x1b2)]),_0x186815[_0x44b147(0x116)]||_0x186815),'level':_0x5dba1a[_0x44b147(0xec)]});}catch(_0x36e5c6){_0x5dba1a['JIDbc'](debug,_0x5dba1a['jdTgE'](_0x5dba1a['sWsPQ'],_0x36e5c6));}}),_0x2bc2e8['on'](_0x5dba1a['IhDsJ'],(_0x141d30,_0x4305ae)=>{const _0x52a4b4=_0x2f5f70,_0x1aa9c0={'AWJVz':_0x5dba1a[_0x52a4b4(0x16a)],'OtoRd':_0x5dba1a[_0x52a4b4(0x10d)],'PXAJe':function(_0x1f6f16,_0x1afe97){const _0x5774a9=_0x52a4b4;return _0x5dba1a[_0x5774a9(0x1cd)](_0x1f6f16,_0x1afe97);},'PCeQn':_0x5dba1a[_0x52a4b4(0x170)],'nDmAx':_0x5dba1a[_0x52a4b4(0x16e)],'xmifT':_0x5dba1a['KKRjf'],'kQSob':function(_0x3cdf29,_0x5f51cb,_0x16e0be,_0x5402d8,_0x3cc603,_0xb4fc95){return _0x5dba1a['kVlgw'](_0x3cdf29,_0x5f51cb,_0x16e0be,_0x5402d8,_0x3cc603,_0xb4fc95);},'qwypl':function(_0x5c59c6,_0x767ee8,_0x43c7dc){const _0x5b8e6e=_0x52a4b4;return _0x5dba1a[_0x5b8e6e(0x105)](_0x5c59c6,_0x767ee8,_0x43c7dc);},'Inydh':_0x5dba1a[_0x52a4b4(0x18b)]};try{if(!_0x4305ae||!_0x4305ae[_0x52a4b4(0x10c)])return;const _0x49da2f=_0x4305ae[_0x52a4b4(0x10c)]['id']+'_'+_0x5a6cce,_0x1b9bd1=_0x2ca3d6[_0x52a4b4(0x129)](_0x49da2f);if(!_0x1b9bd1)return;const _0x3ee8db=new Date(),_0x30a109=_0x5dba1a[_0x52a4b4(0xf2)](_0x3ee8db[_0x52a4b4(0xfa)](),_0x1b9bd1[_0x52a4b4(0x11a)]);if(_0x5dba1a[_0x52a4b4(0xde)](_0x1b9bd1[_0x52a4b4(0x124)]['length'],0x0))_0x1b9bd1[_0x52a4b4(0x124)][_0x52a4b4(0x159)](_0x362809=>{const _0x494d75=_0x52a4b4,_0x32cc9=!!_0x362809[_0x494d75(0x181)],_0xd2afdd={'finishedAt':_0x3ee8db[_0x494d75(0x114)](),'durationMs':_0x30a109,'result':_0x32cc9?_0x1aa9c0['AWJVz']:_0x1aa9c0[_0x494d75(0x106)]};_0x32cc9&&(_0xd2afdd[_0x494d75(0x12b)]=_0x362809[_0x494d75(0x181)][_0x494d75(0x116)]||'',_0xd2afdd[_0x494d75(0x191)]=_0x1aa9c0[_0x494d75(0xd3)](_0x362809[_0x494d75(0x181)][_0x494d75(0x145)],_0x1aa9c0[_0x494d75(0x13e)])||_0x362809[_0x494d75(0x181)]['message']&&_0x362809['err']['message']['includes'](_0x1aa9c0[_0x494d75(0x195)])?_0x1aa9c0['PCeQn']:_0x1aa9c0[_0x494d75(0xe0)],_0xd2afdd[_0x494d75(0xe5)]=[{'backtrace':_0x362809['err'][_0x494d75(0xdd)]?_0x362809[_0x494d75(0x181)][_0x494d75(0xdd)][_0x494d75(0x197)]('\x0a'):[_0x362809[_0x494d75(0x181)][_0x494d75(0x116)]||''],'expanded':[]}]),_0x1aa9c0[_0x494d75(0xe6)](emitTest,HookState[_0x494d75(0x142)],_0x362809,_0x1b9bd1,_0x9829b4,_0xd2afdd);});else{const _0x4faf70=_0x5dba1a[_0x52a4b4(0x135)](uuidv4),_0x412dfe=_0x1b9bd1[_0x52a4b4(0x18a)],_0x5e88cd=_0x5dba1a['RiDxI'](_0x412dfe,null)&&_0x5dba1a['CjsYI'](_0x412dfe,0xc8)&&_0x5dba1a[_0x52a4b4(0xee)](_0x412dfe,0x190),_0x1c95bf=_0x1b9bd1[_0x52a4b4(0x1c7)]+_0x52a4b4(0x1c9)+_0x5dba1a[_0x52a4b4(0x119)](_0x412dfe,_0x5dba1a['RAoPW'])+')',_0x2a1531={'uuid':_0x4faf70,'name':_0x1c95bf,'identifier':_0x1b9bd1[_0x52a4b4(0x108)][_0x52a4b4(0x1a2)]([_0x1c95bf])[_0x52a4b4(0x150)]('\x20')},_0x46e46f={'finishedAt':_0x3ee8db[_0x52a4b4(0x114)](),'durationMs':_0x30a109,'result':_0x5e88cd?_0x5dba1a[_0x52a4b4(0x10d)]:_0x5dba1a['zElpt']};!_0x5e88cd&&(_0x46e46f[_0x52a4b4(0x12b)]=_0x5dba1a[_0x52a4b4(0x1ca)](_0x412dfe,null)?_0x52a4b4(0x136)+_0x412dfe+_0x52a4b4(0x1bb):_0x5dba1a[_0x52a4b4(0x176)],_0x46e46f[_0x52a4b4(0x191)]=_0x5dba1a[_0x52a4b4(0x120)],_0x46e46f[_0x52a4b4(0xe5)]=[{'backtrace':[_0x46e46f['failureReason']],'expanded':[]}]);_0x5dba1a['NDDtN'](emitTest,HookState[_0x52a4b4(0x121)],_0x2a1531,_0x1b9bd1,_0x9829b4,{}),_0x1b9bd1[_0x52a4b4(0x1ce)][_0x52a4b4(0x159)](_0x5ac022=>{const _0x49475e=_0x52a4b4;_0x1aa9c0[_0x49475e(0xe2)](emitLog,_0x4faf70,{'kind':_0x1aa9c0[_0x49475e(0x151)],'message':_0x5ac022['message'],'level':_0x5ac022[_0x49475e(0x1c2)]});});if(_0x1b9bd1[_0x52a4b4(0xdf)]){_0x5dba1a[_0x52a4b4(0xf7)](emitLog,_0x4faf70,{'kind':_0x5dba1a[_0x52a4b4(0x107)],'http_response':_0x1b9bd1[_0x52a4b4(0xdf)]});const _0x1417bc=_0x5dba1a[_0x52a4b4(0xf9)](_0x5dba1a[_0x52a4b4(0xfc)](_0x5dba1a[_0x52a4b4(0x162)](_0x5dba1a['HauEZ'](_0x5dba1a[_0x52a4b4(0x193)](_0x5dba1a[_0x52a4b4(0x173)](_0x5dba1a[_0x52a4b4(0xd8)](_0x5dba1a['rGlaN'](_0x1b9bd1[_0x52a4b4(0xdf)]['method']||_0x5dba1a[_0x52a4b4(0x13f)],'\x20'),_0x1b9bd1[_0x52a4b4(0xdf)]['host']),_0x1b9bd1[_0x52a4b4(0xdf)][_0x52a4b4(0x109)]),_0x5dba1a[_0x52a4b4(0x199)]),_0x1b9bd1[_0x52a4b4(0xdf)][_0x52a4b4(0x171)]),'\x20('),_0x1b9bd1[_0x52a4b4(0xdf)][_0x52a4b4(0x131)]),_0x5dba1a[_0x52a4b4(0xef)]);_0x5dba1a[_0x52a4b4(0xda)](emitLog,_0x4faf70,{'kind':_0x5dba1a[_0x52a4b4(0x18b)],'message':_0x1417bc,'level':_0x5dba1a[_0x52a4b4(0x161)]});}else _0x5dba1a[_0x52a4b4(0x1af)](emitLog,_0x4faf70,{'kind':_0x5dba1a['PsqyN'],'message':_0x5dba1a[_0x52a4b4(0x173)](_0x5dba1a['AbNTU'](_0x5dba1a['zWyEO'],_0x5dba1a[_0x52a4b4(0x103)](_0x412dfe,_0x5dba1a[_0x52a4b4(0x1b8)])),_0x5dba1a[_0x52a4b4(0x188)]),'level':_0x5dba1a[_0x52a4b4(0x161)]});_0x5dba1a['Sdjxm'](emitTest,HookState['POST'],_0x2a1531,_0x1b9bd1,_0x9829b4,_0x46e46f);}_0x2ca3d6['delete'](_0x49da2f),_0x4305ae[_0x52a4b4(0x19e)]&&_0x4305ae['cursor'][_0x52a4b4(0x1c5)]&&_0x2ca3d6[_0x52a4b4(0x17d)](_0x4305ae['cursor'][_0x52a4b4(0x1c5)]+'_'+_0x5a6cce);}catch(_0x59fad4){_0x5dba1a[_0x52a4b4(0x1bf)](debug,_0x52a4b4(0x15b)+_0x59fad4);}});}module[a46_0x3516a3(0x198)]=BrowserStackNewmanReporter;
1
+ 'use strict';const a46_0x34efb7=a46_0x2fd3;(function(_0x53a5ad,_0x4fc239){const _0xe9903a=a46_0x2fd3,_0x542411=_0x53a5ad();while(!![]){try{const _0x59f2c5=-parseInt(_0xe9903a(0x1f5))/0x1*(parseInt(_0xe9903a(0x1f8))/0x2)+-parseInt(_0xe9903a(0x1a2))/0x3*(parseInt(_0xe9903a(0x162))/0x4)+parseInt(_0xe9903a(0x1ab))/0x5+parseInt(_0xe9903a(0x12e))/0x6+parseInt(_0xe9903a(0x1fa))/0x7*(-parseInt(_0xe9903a(0x187))/0x8)+-parseInt(_0xe9903a(0x183))/0x9+-parseInt(_0xe9903a(0x1a1))/0xa*(-parseInt(_0xe9903a(0x1b2))/0xb);if(_0x59f2c5===_0x4fc239)break;else _0x542411['push'](_0x542411['shift']());}catch(_0x18c3e5){_0x542411['push'](_0x542411['shift']());}}}(a46_0x48da,0x6928c));const path=require(a46_0x34efb7(0x16e)),{v4:uuidv4}=require(a46_0x34efb7(0x166)),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{debug}=require(a46_0x34efb7(0x1c1)),logger=require('../../../helpers/logger')['winstonLogger'],BrowserstackCLI=require(a46_0x34efb7(0x1c3)),GrpcClient=require(a46_0x34efb7(0x1a0)),TestFrameworkState=require('../../v2/state/testFrameworkState'),HookState=require(a46_0x34efb7(0x124)),LOG_LEVELS=['INFO',a46_0x34efb7(0x201),a46_0x34efb7(0x1b9),a46_0x34efb7(0x1b5),a46_0x34efb7(0x15b)];function a46_0x2fd3(_0x31bdeb,_0x339d92){const _0x48daa2=a46_0x48da();return a46_0x2fd3=function(_0x2fd3b5,_0x2a6002){_0x2fd3b5=_0x2fd3b5-0x108;let _0x390ccd=_0x48daa2[_0x2fd3b5];return _0x390ccd;},a46_0x2fd3(_0x31bdeb,_0x339d92);}function isCLIRunning(){const _0x263f87=a46_0x34efb7;try{return BrowserstackCLI[_0x263f87(0x12d)]()[_0x263f87(0x1a4)]();}catch(_0x2c7dae){return![];}}function getParentTitles(_0x5ca5ca){const _0x49f3dc=a46_0x34efb7,_0x5836c8={'ZeDPz':function(_0x20498d,_0x217879){return _0x20498d(_0x217879);}},_0x33bae2=[],_0x558a18=_0x5ca5ca[_0x49f3dc(0x19f)]();return _0x558a18&&_0x33bae2[_0x49f3dc(0x1d0)][_0x49f3dc(0x131)](_0x33bae2,_0x5836c8['ZeDPz'](getParentTitles,_0x558a18)),_0x5ca5ca[_0x49f3dc(0x13f)]&&_0x33bae2[_0x49f3dc(0x1d0)](_0x5836c8[_0x49f3dc(0x117)](String,_0x5ca5ca['name'])),_0x33bae2;}function a46_0x48da(){const _0x4c0862=['max','Zudai','BSaDW','level','event_type','\x20->\x20','TQeXw','forEach','huuqO','Izbrc','httpLog','run','XfEpM','CRGHU','dCeTQ','parent','../../v2/grpcClient','28150cOJsZT','3jkBBUW','cursor','isRunning','resolve','UTFfi','beforeIteration','\x20—\x20response\x20status\x20in\x20failure\x20range','error','oddRq','2656380JcvZfV','method','CrLIo','finishedAt','testFrameworkVersion','response','WjkPo','6941IXujMh','host','BZbhW','DEBUG','Script\x20error\x20(','HTTP\x20','ref','ERROR','delete','GET','wyJdn','getTestFramework','AssertionError','kind','xuLjc','../../../helpers/test-observability/utils','ndFtt','../../v2/browserstackCLI','info','platformIndex','[Newman\x20Reporter]\x20Error\x20in\x20item:\x20','Igary','fyPHw','hostname','iteration','argv','TEST_LOG','oJdrw','stlMS','OVneo','push','PRZtM','execution','UnhandledError','err','qEhZk','ZoWfr','ms)','zmkcZ','):\x20','durationMs','failed','assertion','INFO','YqAxr','eXcfk','http_response','pending','CbIll','failureType','BfVvF','collection','sSenk','Tsleh','listen','result','dUpeB','oOVjo','[Newman\x20Reporter]\x20Error\x20in\x20console:\x20','Jeshc','split','item','pathname','slice','AqkVr','bufferedLogs','failure_reason_expanded','1206YPeTyn','PRE','pid','1168nGDEor','set','131453aVcgAp','assertions','duration_ms','cwd','LwlGZ','ByGhy','TestRunFinished','WARN','console','snsLh','message','jNJFZ','IVins','toISOString','string','VpKKt','YjUVd','[Newman\x20Reporter]\x20Error\x20in\x20assertion:\x20','vnRDj','messages','lvvbt','TEST','rSulm','RWPFs','rxNKV','request','ZeDPz','location','[Newman\x20Reporter]\x20emitTest\x20error:\x20','object','rouWJ','join','cKYKE','[Newman\x20Reporter]\x20Error\x20in\x20beforeItem:\x20','ujHGm','passed','expanded','Exception:\x20','qVSjM','../../v2/state/hookState','cgdLG','relative','responseTime','HUFHv','hFsun','ereLp','scopes','[Newman\x20Reporter]\x20Error\x20in\x20exception:\x20','getInstance','4376622SCKbmS','toString','No\x20HTTP\x20response\x20received','apply','\x20(no\x20assertions)','HCBKf','yZfmD','http://','OaUVU','test_run','UHVOE','QSaNT','hnbSe','collectionName','indexOf','fRiap','iFUjg','name','search','RZfFk','LjyhR','JAhXG','assert','ZDAcR','fDqhW','PuRUn','xubqK','eHWPQ','failure_backtrace','KfyaH','nIAiA','TSdPn','failureReason','efmtI','unknown','javascript','headers','Assertion\x20','timestamp','newman','UeAaU','Hgvpp','cTDhQ','rALkG','failure','TRACE','kHGpl','uploadEventData','lastResponseCode','done','HTTP','N/A','3296996lZkNVO','vJYjN','InJzF','dLBgV','uuid','SrnXO','now','ciwnV','qGPvQ','llAmC','script','stringify','path','getTime','[Newman\x20Reporter]\x20Error\x20in\x20bs:addLog\x20handler:\x20','[Newman\x20Reporter]\x20emitLog\x20error:\x20','WhBte','oGDuz','VsUfS','ZXkJR','collectionPath','POST','jnrvx','length','testFrameworkState','trackEvent','[Newman\x20Reporter]\x20Could\x20not\x20resolve\x20collection\x20file\x20path,\x20falling\x20back\x20to\x20collection.json','event','ZROmC','startedAt','startsWith','nxvkS','ZTAnm','7333083czmBMK','url','HTTP\x20Status:\x20','stack','112OHYZHh','Qfzdn','backtrace','code','get','GocEW','aZgCO','concat','testFrameworkName'];a46_0x48da=function(){return _0x4c0862;};return a46_0x48da();}function normalizeLogLevel(_0x5c91b9){const _0x5d71c0=a46_0x34efb7,_0x1253cc={};_0x1253cc[_0x5d71c0(0x138)]='INFO',_0x1253cc[_0x5d71c0(0x167)]=function(_0x174340,_0x165a73){return _0x174340!==_0x165a73;};const _0x5e766b=_0x1253cc;if(!_0x5c91b9)return _0x5e766b[_0x5d71c0(0x138)];const _0x47e815=_0x5c91b9['toUpperCase']();return _0x5e766b[_0x5d71c0(0x167)](LOG_LEVELS[_0x5d71c0(0x13c)](_0x47e815),-0x1)?_0x47e815:_0x5e766b[_0x5d71c0(0x138)];}function resolveCollectionFile(_0x10217c,_0x39949f){const _0x25c5af=a46_0x34efb7,_0x481942={};_0x481942['WhBte']=function(_0x410fb4,_0x4d35be){return _0x410fb4===_0x4d35be;},_0x481942[_0x25c5af(0x115)]=_0x25c5af(0x10b),_0x481942[_0x25c5af(0x1c2)]=_0x25c5af(0x19b),_0x481942[_0x25c5af(0x10c)]=function(_0x550781,_0xc39ad7){return _0x550781!==_0xc39ad7;},_0x481942['lvvbt']=function(_0x43a8a2,_0x36df7d){return _0x43a8a2<_0x36df7d;},_0x481942[_0x25c5af(0x175)]=function(_0x785f51,_0x1dba69){return _0x785f51+_0x1dba69;},_0x481942['kvfrL']=function(_0x31342b,_0x4db014){return _0x31342b+_0x4db014;},_0x481942[_0x25c5af(0x14f)]=_0x25c5af(0x17c),_0x481942['KfyaH']='collection.json';const _0x1f6c2d=_0x481942;try{if(_0x39949f&&_0x39949f['collectionPath'])return path[_0x25c5af(0x126)](process['cwd'](),path['resolve'](_0x39949f[_0x25c5af(0x176)]));const _0x411e3d=_0x10217c[_0x25c5af(0x1e5)];if(_0x1f6c2d[_0x25c5af(0x172)](typeof _0x411e3d,_0x1f6c2d['rxNKV']))return path[_0x25c5af(0x126)](process[_0x25c5af(0x1fd)](),path[_0x25c5af(0x1a5)](_0x411e3d));const _0xc2b6b2=process['argv'][_0x25c5af(0x13c)](_0x1f6c2d[_0x25c5af(0x1c2)]);if(_0x1f6c2d[_0x25c5af(0x10c)](_0xc2b6b2,-0x1)&&_0x1f6c2d[_0x25c5af(0x111)](_0x1f6c2d[_0x25c5af(0x175)](_0xc2b6b2,0x1),process[_0x25c5af(0x1cb)][_0x25c5af(0x179)])){const _0x4640f8=process[_0x25c5af(0x1cb)][_0x1f6c2d['kvfrL'](_0xc2b6b2,0x1)];if(_0x4640f8&&!_0x4640f8[_0x25c5af(0x180)]('-'))return path[_0x25c5af(0x126)](process[_0x25c5af(0x1fd)](),path[_0x25c5af(0x1a5)](_0x4640f8));}}catch(_0x5095e0){}return logger[_0x25c5af(0x1c4)](_0x1f6c2d['efmtI']),_0x1f6c2d[_0x25c5af(0x14b)];}function resolveCollectionName(_0x38f689){const _0x18dfac=a46_0x34efb7,_0x2c2ace={};_0x2c2ace['yZfmD']=function(_0x383c0e,_0x3f0ba3){return _0x383c0e===_0x3f0ba3;},_0x2c2ace[_0x18dfac(0x18d)]=_0x18dfac(0x11a);const _0x23f908=_0x2c2ace;try{const _0x31f10e=_0x38f689[_0x18dfac(0x1e5)];if(_0x31f10e&&_0x23f908[_0x18dfac(0x134)](typeof _0x31f10e,_0x23f908[_0x18dfac(0x18d)]))return _0x31f10e[_0x18dfac(0x13f)]||_0x31f10e['info']&&_0x31f10e[_0x18dfac(0x1c4)][_0x18dfac(0x13f)]||null;}catch(_0x1e3009){}return null;}function emitTest(_0x19f2b7,_0x2ab4c4,_0x149b2c,_0x1224c1,_0x5cabe4){const _0x23dd88=a46_0x34efb7,_0x552731={'oGDuz':function(_0x31b885){return _0x31b885();},'PuRUn':_0x23dd88(0x1e1),'Izbrc':function(_0x458678,_0x520d9a){return _0x458678(_0x520d9a);},'iATPb':_0x23dd88(0x155),'XfEpM':_0x23dd88(0x151),'bJzLP':function(_0x309cf9,_0x3eb0c9){return _0x309cf9!=_0x3eb0c9;},'GocEW':function(_0x28692d,_0xb53e26){return _0x28692d===_0xb53e26;},'eXcfk':'TestRunStarted','gzUEh':_0x23dd88(0x200)};if(_0x552731[_0x23dd88(0x173)](isCLIRunning))try{const _0x271941=BrowserstackCLI[_0x23dd88(0x12d)]()[_0x23dd88(0x1bd)]();if(!_0x271941)return;_0x271941[_0x23dd88(0x17b)](TestFrameworkState[_0x23dd88(0x112)],_0x19f2b7,{'test':{'uuid':_0x2ab4c4[_0x23dd88(0x166)],'name':_0x2ab4c4[_0x23dd88(0x13f)],'scopes':_0x149b2c[_0x23dd88(0x12b)],'scope':_0x149b2c[_0x23dd88(0x12b)][_0x23dd88(0x11c)]('\x20'),'file_path':_0x1224c1,'location':_0x149b2c['collectionName'],'started_at':_0x149b2c[_0x23dd88(0x17f)],'finished_at':_0x5cabe4[_0x23dd88(0x1ae)]||null,'result':_0x5cabe4[_0x23dd88(0x1e9)]||_0x552731['PuRUn'],'failure':_0x5cabe4[_0x23dd88(0x15a)]||[],'failure_type':_0x5cabe4[_0x23dd88(0x1e3)]||null,'failure_reason':_0x5cabe4[_0x23dd88(0x14e)]||null,'tags':[],'meta':{},'custom_metadata':{}}});}catch(_0x1907e4){_0x552731[_0x23dd88(0x199)](debug,_0x23dd88(0x119)+_0x1907e4);}else{const _0x429857={'uuid':_0x2ab4c4['uuid'],'name':_0x2ab4c4['name'],'framework':_0x552731['iATPb'],'body':{'lang':_0x552731[_0x23dd88(0x19c)],'code':null},'scope':_0x149b2c['scopes']['join']('\x20'),'scopes':_0x149b2c[_0x23dd88(0x12b)],'identifier':_0x2ab4c4['identifier'],'file_name':_0x149b2c[_0x23dd88(0x13b)],'vc_filepath':_0x149b2c[_0x23dd88(0x118)],'location':_0x149b2c[_0x23dd88(0x118)],'started_at':_0x149b2c[_0x23dd88(0x17f)],'finished_at':_0x5cabe4['finishedAt']||null,'duration_in_ms':_0x552731['bJzLP'](_0x5cabe4['durationMs'],null)?Math[_0x23dd88(0x190)](0x0,_0x5cabe4[_0x23dd88(0x1da)]):null,'result':_0x5cabe4[_0x23dd88(0x1e9)]||_0x552731[_0x23dd88(0x147)],'failure_reason':_0x5cabe4[_0x23dd88(0x14e)]||null,'failure_type':_0x5cabe4[_0x23dd88(0x1e3)]||null,'failure':_0x5cabe4['failure']||[],'retry_of':null,'hooks':[]};_0x429857[_0x23dd88(0x15a)][0x0]&&(_0x429857[_0x23dd88(0x14a)]=_0x429857[_0x23dd88(0x15a)][0x0][_0x23dd88(0x189)],_0x429857[_0x23dd88(0x1f4)]=_0x429857[_0x23dd88(0x15a)][0x0][_0x23dd88(0x121)]);const _0x1fd915=_0x552731[_0x23dd88(0x18c)](_0x19f2b7,HookState[_0x23dd88(0x1f6)])?_0x552731[_0x23dd88(0x1df)]:_0x552731['gzUEh'],_0x5534a7={};_0x5534a7[_0x23dd88(0x194)]=_0x1fd915,_0x5534a7[_0x23dd88(0x137)]=_0x429857,SessionHandler[_0x23dd88(0x15d)](_0x5534a7);}}function emitLog(_0x3d8195,_0x2acfc1){const _0x1dbd02=a46_0x34efb7,_0x404465={'LwlGZ':_0x1dbd02(0x1cc),'CrLIo':function(_0x44dd6a){return _0x44dd6a();},'dLBgV':function(_0x59e78b,_0x34db9c){return _0x59e78b===_0x34db9c;},'ZDAcR':_0x1dbd02(0x160),'nSacN':_0x1dbd02(0x155),'tWICk':_0x1dbd02(0x112),'qEhZk':_0x1dbd02(0x1dd),'hFsun':function(_0x3278aa,_0x394433){return _0x3278aa(_0x394433);},'Koqxo':function(_0x393c1c,_0x58fe5c){return _0x393c1c+_0x58fe5c;},'CbIll':_0x1dbd02(0x171),'rSulm':'LogCreated'},_0x4f4b61=_0x2acfc1[_0x1dbd02(0x1bf)]||_0x404465[_0x1dbd02(0x1fe)],_0x3eb2e4=_0x2acfc1[_0x1dbd02(0x154)]||new Date()[_0x1dbd02(0x10a)]();if(_0x404465[_0x1dbd02(0x1ad)](isCLIRunning))try{const _0x3c7850=_0x404465[_0x1dbd02(0x165)](_0x4f4b61,_0x404465[_0x1dbd02(0x145)])?JSON[_0x1dbd02(0x16d)](_0x2acfc1):_0x2acfc1[_0x1dbd02(0x204)]||'',_0x2c3e45={};_0x2c3e45[_0x1dbd02(0x1c5)]=0x0,_0x2c3e45[_0x1dbd02(0x18f)]=_0x404465['nSacN'],_0x2c3e45[_0x1dbd02(0x1af)]='',_0x2c3e45[_0x1dbd02(0x17a)]=_0x404465['tWICk'],_0x2c3e45['logs']=[{'uuid':_0x3d8195,'timestamp':_0x3eb2e4,'kind':_0x4f4b61,'level':_0x2acfc1['level']||_0x404465[_0x1dbd02(0x1d5)],'message':_0x3c7850}],GrpcClient[_0x1dbd02(0x12d)]()['logCreatedEvent'](_0x2c3e45);}catch(_0x429ba7){_0x404465[_0x1dbd02(0x129)](debug,_0x404465['Koqxo'](_0x404465[_0x1dbd02(0x1e2)],_0x429ba7));}else{const _0x19a8d9={};_0x19a8d9['test_run_uuid']=_0x3d8195,_0x19a8d9[_0x1dbd02(0x154)]=_0x3eb2e4,_0x19a8d9['level']=_0x2acfc1['level']||null,_0x19a8d9['message']=_0x2acfc1[_0x1dbd02(0x204)]||null,_0x19a8d9['kind']=_0x4f4b61,_0x19a8d9[_0x1dbd02(0x1e0)]=_0x2acfc1[_0x1dbd02(0x1e0)]||{};const _0x4524b9={};_0x4524b9[_0x1dbd02(0x194)]=_0x404465[_0x1dbd02(0x113)],_0x4524b9['logs']=[_0x19a8d9],SessionHandler[_0x1dbd02(0x15d)](_0x4524b9);}}function BrowserStackNewmanReporter(_0x45b53b,_0x589b61,_0x36f150){const _0x120da5=a46_0x34efb7,_0x3ad226={'jNJFZ':function(_0x359fe6,_0x238bc5,_0x54870d){return _0x359fe6(_0x238bc5,_0x54870d);},'oJdrw':function(_0x2ef6e3,_0x564a5e){return _0x2ef6e3(_0x564a5e);},'oddRq':function(_0x29c364,_0x558986){return _0x29c364>_0x558986;},'hnbSe':function(_0x14a730,_0x396a66){return _0x14a730(_0x396a66);},'llAmC':'http','QSaNT':function(_0x208f3a,_0x36237d){return _0x208f3a+_0x36237d;},'HCBKf':_0x120da5(0x1bb),'RWPFs':'TEST_LOG','HUFHv':function(_0xbdb74f){return _0xbdb74f();},'dUpeB':function(_0x325b60,_0x4b496f){return _0x325b60||_0x4b496f;},'Tsleh':function(_0x23d24e,_0x162a88,_0x255c7f,_0x8a3117,_0x4ed3b4,_0x130917){return _0x23d24e(_0x162a88,_0x255c7f,_0x8a3117,_0x4ed3b4,_0x130917);},'snsLh':function(_0x382d75,_0x21e138){return _0x382d75===_0x21e138;},'fyPHw':'HTTP','oOVjo':function(_0x46af19,_0x48f7cc){return _0x46af19+_0x48f7cc;},'sSenk':function(_0x39809e,_0x1369a8){return _0x39809e+_0x1369a8;},'qVSjM':function(_0x156998,_0x41916e){return _0x156998+_0x41916e;},'vJYjN':function(_0x5a6530,_0xfe2d45){return _0x5a6530+_0xfe2d45;},'JAhXG':_0x120da5(0x195),'iFUjg':_0x120da5(0x1d7),'Hgvpp':function(_0x15b56b,_0x9fcd21,_0x30e4d7){return _0x15b56b(_0x9fcd21,_0x30e4d7);},'ZoWfr':_0x120da5(0x1dd),'cgdLG':function(_0x43b91a,_0x468860){return _0x43b91a-_0x468860;},'xuLjc':function(_0xde49c,_0x4b0858,_0x26b538){return _0xde49c(_0x4b0858,_0x26b538);},'Qfzdn':function(_0x1ddb29,_0x35cb75){return _0x1ddb29(_0x35cb75);},'YjUVd':function(_0x2b2577,_0x33634c){return _0x2b2577(_0x33634c);},'rALkG':function(_0x2cd143,_0x3fc45b){return _0x2cd143(_0x3fc45b);},'IVins':function(_0xffe963,_0x7fd54c){return _0xffe963&&_0x7fd54c;},'jnrvx':function(_0x25039e,_0x4e85b0){return _0x25039e-_0x4e85b0;},'InJzF':function(_0x301299,_0x307177,_0x217f86){return _0x301299(_0x307177,_0x217f86);},'BSaDW':_0x120da5(0x122),'nIAiA':'ERROR','cRljp':function(_0x3859a3,_0x4f422b){return _0x3859a3+_0x4f422b;},'JUGnN':_0x120da5(0x12c),'OaUVU':function(_0x398e0d,_0x43a592){return _0x398e0d>_0x43a592;},'ujHGm':function(_0x47a3de,_0x42acfd){return _0x47a3de-_0x42acfd;},'wJarq':_0x120da5(0x150),'fRiap':function(_0x255171,_0x132f05){return _0x255171+_0x132f05;},'vnRDj':_0x120da5(0x1b6),'zmkcZ':_0x120da5(0x1d9),'cKYKE':function(_0x736ff3,_0x2a5bd2){return _0x736ff3(_0x2a5bd2);},'HxAmq':'[Newman\x20Reporter]\x20Error\x20in\x20script:\x20','dCeTQ':_0x120da5(0x1db),'Igary':_0x120da5(0x120),'rouWJ':_0x120da5(0x1be),'jFfBj':_0x120da5(0x144),'eHWPQ':_0x120da5(0x1d3),'UTFfi':function(_0x30f38d,_0x29c57e,_0x330fbc,_0x5e7894,_0x2e0303,_0xab700){return _0x30f38d(_0x29c57e,_0x330fbc,_0x5e7894,_0x2e0303,_0xab700);},'AqkVr':function(_0x30b30c,_0x5a1d9f,_0x297aef){return _0x30b30c(_0x5a1d9f,_0x297aef);},'Zudai':function(_0x9c569e,_0x1ebb0a){return _0x9c569e>_0x1ebb0a;},'TSdPn':function(_0x180e36,_0x43f101){return _0x180e36!=_0x43f101;},'doVSo':function(_0xbd8369,_0x56816f){return _0xbd8369>=_0x56816f;},'Dtlis':function(_0x3821c6,_0x6c6d82){return _0x3821c6<_0x6c6d82;},'WjkPo':_0x120da5(0x161),'TQeXw':function(_0x4cf81b,_0x20e6c3){return _0x4cf81b!=_0x20e6c3;},'xubqK':_0x120da5(0x130),'cTDhQ':function(_0x5545d7,_0x14cfae,_0x2754ff,_0x7e2f0,_0x485ae3,_0x419d9a){return _0x5545d7(_0x14cfae,_0x2754ff,_0x7e2f0,_0x485ae3,_0x419d9a);},'CRGHU':function(_0x3f6288,_0x1aa548,_0x591982){return _0x3f6288(_0x1aa548,_0x591982);},'BZbhW':function(_0x56fc45,_0x781cb9){return _0x56fc45+_0x781cb9;},'nxvkS':function(_0x1a67e9,_0x2e9acb){return _0x1a67e9+_0x2e9acb;},'ereLp':function(_0x1b0b71,_0x1084eb){return _0x1b0b71+_0x1084eb;},'BfVvF':function(_0x3b01c0,_0xd83e95){return _0x3b01c0+_0xd83e95;},'Jeshc':function(_0xf54f5e,_0x17efe3){return _0xf54f5e+_0x17efe3;},'stlMS':function(_0x28df58,_0x37efc6,_0x3d7455){return _0x28df58(_0x37efc6,_0x3d7455);},'qGPvQ':function(_0x5a22e7,_0x5603ee){return _0x5a22e7+_0x5603ee;},'LjyhR':_0x120da5(0x185),'ByGhy':function(_0x3d5693,_0x27d35e){return _0x3d5693||_0x27d35e;},'YqAxr':_0x120da5(0x132),'ZROmC':function(_0x1c5b25,_0x27690d,_0x1650e2,_0x4481bb,_0x4b0e45,_0x383efb){return _0x1c5b25(_0x27690d,_0x1650e2,_0x4481bb,_0x4b0e45,_0x383efb);},'RZfFk':function(_0x2790a7,_0x2d7111){return _0x2790a7(_0x2d7111);},'fDqhW':_0x120da5(0x15f),'ZTAnm':_0x120da5(0x1a7),'PRZtM':'beforeItem','ciwnV':_0x120da5(0x116),'OVneo':_0x120da5(0x1dc),'QZqjD':_0x120da5(0x202),'UeAaU':'exception','kHGpl':_0x120da5(0x16c),'huuqO':_0x120da5(0x1ef)},_0x54d7eb=new Map();let _0x81f39=null,_0x45e9ed=0x0;const _0x2294ee=_0x3ad226[_0x120da5(0x19d)](resolveCollectionFile,_0x36f150,_0x589b61),_0x5d1772=_0x3ad226[_0x120da5(0x141)](resolveCollectionName,_0x36f150)||_0x2294ee,_0x34be0d=path[_0x120da5(0x1a5)](_0x2294ee),_0x35b67d='bs:addLog:'+process[_0x120da5(0x1f7)],_0x5ad903=_0x528074=>{const _0x19620a=_0x120da5;try{_0x81f39&&_0x3ad226['jNJFZ'](emitLog,_0x81f39,_0x528074);}catch(_0x1c4abb){_0x3ad226[_0x19620a(0x1cd)](debug,_0x19620a(0x170)+_0x1c4abb);}};process['on'](_0x35b67d,_0x5ad903),_0x45b53b['on'](_0x3ad226[_0x120da5(0x146)],()=>{process['removeListener'](_0x35b67d,_0x5ad903),_0x54d7eb['clear']();}),_0x45b53b['on'](_0x3ad226[_0x120da5(0x182)],(_0x5dc6b1,_0x34ab3e)=>{const _0x2bed2d=_0x120da5;_0x34ab3e&&_0x34ab3e[_0x2bed2d(0x1a3)]&&(_0x45e9ed=_0x34ab3e[_0x2bed2d(0x1a3)][_0x2bed2d(0x1ca)]||0x0);}),_0x45b53b['on'](_0x3ad226[_0x120da5(0x1d1)],(_0x4b471b,_0x483a1d)=>{const _0x2dc833=_0x120da5;try{_0x81f39=null;const _0x55baf4=_0x483a1d[_0x2dc833(0x1ef)],_0x3c73a9=_0x55baf4[_0x2dc833(0x19f)]()?_0x3ad226[_0x2dc833(0x1cd)](getParentTitles,_0x55baf4[_0x2dc833(0x19f)]()):[],_0x525610=_0x3ad226[_0x2dc833(0x1aa)](_0x3c73a9[_0x2dc833(0x179)],0x1)?_0x3c73a9[_0x2dc833(0x1f1)](0x1):_0x3c73a9,_0x144fd9=_0x483a1d[_0x2dc833(0x1a3)]&&_0x483a1d[_0x2dc833(0x1a3)][_0x2dc833(0x1b8)],_0x475975={'itemName':_0x55baf4[_0x2dc833(0x13f)],'scopes':_0x525610['concat']([_0x55baf4['name']]),'location':_0x2294ee,'collectionName':_0x5d1772,'startedAt':new Date()[_0x2dc833(0x10a)](),'startTimestamp':Date[_0x2dc833(0x168)](),'lastResponseCode':null,'httpLog':null,'assertions':[],'bufferedLogs':[]};_0x54d7eb[_0x2dc833(0x1f9)](_0x55baf4['id']+'_'+_0x45e9ed,_0x475975),_0x144fd9&&_0x54d7eb[_0x2dc833(0x1f9)](_0x144fd9+'_'+_0x45e9ed,_0x475975);}catch(_0x1fed00){_0x3ad226['hnbSe'](debug,_0x2dc833(0x11e)+_0x1fed00);}}),_0x45b53b['on'](_0x3ad226[_0x120da5(0x169)],(_0xf0fcf6,_0x29de84)=>{const _0x4570f7=_0x120da5;try{if(!_0x29de84||!_0x29de84[_0x4570f7(0x1ef)])return;const _0x4dec2f=_0x54d7eb[_0x4570f7(0x18b)](_0x29de84[_0x4570f7(0x1ef)]['id']+'_'+_0x45e9ed);if(!_0x4dec2f)return;_0x29de84[_0x4570f7(0x1b0)]&&(_0x4dec2f['lastResponseCode']=_0x29de84[_0x4570f7(0x1b0)][_0x4570f7(0x18a)]||null);if(!_0x29de84[_0x4570f7(0x116)])return;let _0x404a41='',_0x17af3c='';if(_0x29de84[_0x4570f7(0x116)]['url'])try{const _0x408202=_0x29de84['request'][_0x4570f7(0x184)][_0x4570f7(0x12f)](),_0x30b5b4=new URL(_0x408202[_0x4570f7(0x180)](_0x3ad226[_0x4570f7(0x16b)])?_0x408202:_0x4570f7(0x135)+_0x408202);_0x404a41=_0x30b5b4[_0x4570f7(0x1c9)],_0x17af3c=_0x3ad226[_0x4570f7(0x139)](_0x30b5b4[_0x4570f7(0x1f0)],_0x30b5b4[_0x4570f7(0x140)]);}catch(_0xd6b047){_0x17af3c=_0x29de84[_0x4570f7(0x116)]['url'][_0x4570f7(0x12f)]();}const _0x1be5aa={};_0x1be5aa[_0x4570f7(0x1b3)]=_0x404a41,_0x1be5aa['path']=_0x17af3c,_0x1be5aa[_0x4570f7(0x1ac)]=_0x29de84['request'][_0x4570f7(0x1ac)]||_0x3ad226[_0x4570f7(0x133)],_0x1be5aa[_0x4570f7(0x152)]={},_0x1be5aa['status_code']=_0x29de84[_0x4570f7(0x1b0)]?_0x29de84['response'][_0x4570f7(0x18a)]||0x0:0x0,_0x1be5aa[_0x4570f7(0x1fc)]=_0x29de84[_0x4570f7(0x1b0)]?_0x29de84[_0x4570f7(0x1b0)][_0x4570f7(0x127)]||0x0:0x0,_0x4dec2f['httpLog']=_0x1be5aa;}catch(_0x448928){_0x3ad226['oJdrw'](debug,'[Newman\x20Reporter]\x20Error\x20in\x20request:\x20'+_0x448928);}}),_0x45b53b['on'](_0x3ad226[_0x120da5(0x1cf)],(_0x3a907f,_0x11b15a)=>{const _0x337cab=_0x120da5;try{if(!_0x11b15a||!_0x11b15a[_0x337cab(0x1ef)])return;const _0x23ad82=_0x54d7eb[_0x337cab(0x18b)](_0x11b15a[_0x337cab(0x1ef)]['id']+'_'+_0x45e9ed);if(!_0x23ad82)return;const _0x56fea7=_0x11b15a[_0x337cab(0x1dc)]||_0x337cab(0x153)+_0x3ad226[_0x337cab(0x139)](_0x23ad82[_0x337cab(0x1fb)][_0x337cab(0x179)],0x1),_0x44e090=_0x3ad226[_0x337cab(0x128)](uuidv4),_0x326428=_0x23ad82['scopes'][_0x337cab(0x18e)]([_0x56fea7])[_0x337cab(0x11c)]('\x20');_0x23ad82[_0x337cab(0x1fb)][_0x337cab(0x1d0)]({'uuid':_0x44e090,'name':_0x56fea7,'identifier':_0x326428,'err':_0x3ad226[_0x337cab(0x1ea)](_0x3a907f,null)});const _0x469fc3={};_0x469fc3['uuid']=_0x44e090,_0x469fc3[_0x337cab(0x13f)]=_0x56fea7,_0x469fc3['identifier']=_0x326428,_0x3ad226[_0x337cab(0x1e7)](emitTest,HookState[_0x337cab(0x1f6)],_0x469fc3,_0x23ad82,_0x34be0d,{});_0x3ad226['snsLh'](_0x23ad82['assertions']['length'],0x1)&&_0x3ad226[_0x337cab(0x1aa)](_0x23ad82['bufferedLogs'][_0x337cab(0x179)],0x0)&&(_0x23ad82[_0x337cab(0x1f3)]['forEach'](_0x3a53c3=>{const _0x9bcb=_0x337cab;_0x3ad226[_0x9bcb(0x108)](emitLog,_0x44e090,{'kind':_0x3ad226[_0x9bcb(0x114)],'message':_0x3a53c3[_0x9bcb(0x204)],'level':_0x3a53c3[_0x9bcb(0x193)]});}),_0x23ad82[_0x337cab(0x1f3)]=[]);if(_0x23ad82[_0x337cab(0x19a)]){_0x3ad226['jNJFZ'](emitLog,_0x44e090,{'kind':_0x3ad226[_0x337cab(0x1c8)],'http_response':_0x23ad82[_0x337cab(0x19a)]});const _0x401b31=_0x3ad226[_0x337cab(0x139)](_0x3ad226[_0x337cab(0x1eb)](_0x3ad226['sSenk'](_0x3ad226[_0x337cab(0x1e6)](_0x3ad226[_0x337cab(0x1eb)](_0x3ad226[_0x337cab(0x123)](_0x3ad226[_0x337cab(0x1eb)](_0x3ad226[_0x337cab(0x163)](_0x23ad82['httpLog'][_0x337cab(0x1ac)]||_0x3ad226['HCBKf'],'\x20'),_0x23ad82[_0x337cab(0x19a)][_0x337cab(0x1b3)]),_0x23ad82[_0x337cab(0x19a)][_0x337cab(0x16e)]),_0x3ad226[_0x337cab(0x143)]),_0x23ad82[_0x337cab(0x19a)]['status_code']),'\x20('),_0x23ad82[_0x337cab(0x19a)][_0x337cab(0x1fc)]),_0x3ad226[_0x337cab(0x13e)]);_0x3ad226[_0x337cab(0x157)](emitLog,_0x44e090,{'kind':_0x3ad226[_0x337cab(0x114)],'message':_0x401b31,'level':_0x3ad226[_0x337cab(0x1d6)]});}_0x81f39=_0x44e090;}catch(_0x3a8b15){_0x3ad226[_0x337cab(0x13a)](debug,_0x337cab(0x10e)+_0x3a8b15);}}),_0x45b53b['on'](_0x3ad226['QZqjD'],(_0x4fed8c,_0x223f6b)=>{const _0x2b99c5=_0x120da5;try{if(!_0x223f6b)return;let _0x5e2f90=_0x81f39;if(!_0x5e2f90&&_0x223f6b[_0x2b99c5(0x1a3)]&&_0x223f6b[_0x2b99c5(0x1a3)]['ref']){const _0x1ad42b=_0x54d7eb[_0x2b99c5(0x18b)](_0x223f6b[_0x2b99c5(0x1a3)]['ref']+'_'+_0x45e9ed);_0x1ad42b&&_0x3ad226[_0x2b99c5(0x1aa)](_0x1ad42b['assertions']['length'],0x0)&&(_0x5e2f90=_0x1ad42b[_0x2b99c5(0x1fb)][_0x3ad226[_0x2b99c5(0x125)](_0x1ad42b[_0x2b99c5(0x1fb)][_0x2b99c5(0x179)],0x1)][_0x2b99c5(0x166)]);}const _0x1931f4=_0x223f6b[_0x2b99c5(0x110)]?_0x223f6b['messages'][_0x2b99c5(0x11c)](',\x20'):'';if(_0x5e2f90)_0x3ad226[_0x2b99c5(0x1c0)](emitLog,_0x5e2f90,{'kind':_0x3ad226[_0x2b99c5(0x114)],'message':_0x1931f4,'level':_0x3ad226[_0x2b99c5(0x188)](normalizeLogLevel,_0x223f6b[_0x2b99c5(0x193)])});else{if(_0x223f6b[_0x2b99c5(0x1a3)]&&_0x223f6b[_0x2b99c5(0x1a3)][_0x2b99c5(0x1b8)]){const _0x19ff0d=_0x54d7eb['get'](_0x223f6b[_0x2b99c5(0x1a3)][_0x2b99c5(0x1b8)]+'_'+_0x45e9ed);_0x19ff0d&&_0x19ff0d['bufferedLogs'][_0x2b99c5(0x1d0)]({'timestamp':new Date()[_0x2b99c5(0x10a)](),'level':_0x3ad226[_0x2b99c5(0x188)](normalizeLogLevel,_0x223f6b[_0x2b99c5(0x193)]),'message':_0x1931f4});}}}catch(_0x50d532){_0x3ad226[_0x2b99c5(0x10d)](debug,_0x2b99c5(0x1ec)+_0x50d532);}}),_0x45b53b['on'](_0x3ad226[_0x120da5(0x156)],(_0x1cfc70,_0x52e8e6)=>{const _0xce99dc=_0x120da5;try{if(!_0x1cfc70&&(!_0x52e8e6||!_0x52e8e6[_0xce99dc(0x1a9)]))return;const _0x588244=_0x1cfc70||_0x52e8e6[_0xce99dc(0x1a9)],_0x594b4e=_0x588244['message']||_0x3ad226[_0xce99dc(0x159)](String,_0x588244),_0x3608e0=_0x588244[_0xce99dc(0x186)]||_0x594b4e;let _0x2f9deb=_0x81f39;if(_0x3ad226[_0xce99dc(0x109)](!_0x2f9deb,_0x52e8e6)&&_0x52e8e6[_0xce99dc(0x1a3)]&&_0x52e8e6[_0xce99dc(0x1a3)]['ref']){const _0x282ede=_0x54d7eb[_0xce99dc(0x18b)](_0x52e8e6[_0xce99dc(0x1a3)][_0xce99dc(0x1b8)]+'_'+_0x45e9ed);_0x282ede&&_0x3ad226[_0xce99dc(0x1aa)](_0x282ede['assertions'][_0xce99dc(0x179)],0x0)&&(_0x2f9deb=_0x282ede[_0xce99dc(0x1fb)][_0x3ad226[_0xce99dc(0x178)](_0x282ede['assertions'][_0xce99dc(0x179)],0x1)]['uuid']);}_0x2f9deb&&_0x3ad226[_0xce99dc(0x164)](emitLog,_0x2f9deb,{'kind':_0x3ad226[_0xce99dc(0x114)],'message':_0x3ad226['vJYjN'](_0x3ad226[_0xce99dc(0x192)],_0x3608e0),'level':_0x3ad226['nIAiA']});}catch(_0x10c1e3){_0x3ad226['rALkG'](debug,_0x3ad226['cRljp'](_0x3ad226['JUGnN'],_0x10c1e3));}}),_0x45b53b['on'](_0x3ad226[_0x120da5(0x15c)],(_0x6d20a6,_0x3c3fed)=>{const _0x57b890=_0x120da5;try{if(!_0x3c3fed||!_0x3c3fed[_0x57b890(0x1d2)])return;let _0x2aa453=_0x81f39;if(!_0x2aa453&&_0x3c3fed[_0x57b890(0x1a3)]&&_0x3c3fed[_0x57b890(0x1a3)]['ref']){const _0x346b1a=_0x54d7eb[_0x57b890(0x18b)](_0x3c3fed['cursor']['ref']+'_'+_0x45e9ed);_0x346b1a&&_0x3ad226[_0x57b890(0x136)](_0x346b1a[_0x57b890(0x1fb)][_0x57b890(0x179)],0x0)&&(_0x2aa453=_0x346b1a[_0x57b890(0x1fb)][_0x3ad226[_0x57b890(0x11f)](_0x346b1a['assertions']['length'],0x1)]['uuid']);}if(!_0x2aa453)return;const _0x46452b=_0x3c3fed[_0x57b890(0x17d)]&&_0x3c3fed['event'][_0x57b890(0x1e8)]||_0x3ad226['wJarq'];_0x6d20a6&&_0x3ad226['jNJFZ'](emitLog,_0x2aa453,{'kind':_0x3ad226[_0x57b890(0x114)],'message':_0x3ad226[_0x57b890(0x1eb)](_0x3ad226[_0x57b890(0x1e6)](_0x3ad226[_0x57b890(0x13d)](_0x3ad226[_0x57b890(0x10f)],_0x46452b),_0x3ad226[_0x57b890(0x1d8)]),_0x6d20a6[_0x57b890(0x204)]||_0x6d20a6),'level':_0x3ad226[_0x57b890(0x14c)]});}catch(_0x41c166){_0x3ad226[_0x57b890(0x11d)](debug,_0x3ad226[_0x57b890(0x139)](_0x3ad226['HxAmq'],_0x41c166));}}),_0x45b53b['on'](_0x3ad226[_0x120da5(0x198)],(_0x1a1a74,_0x2a8efd)=>{const _0x10e727=_0x120da5,_0x2b2ec2={'wyJdn':function(_0xadd2d,_0x46ad0a,_0x2ab059){const _0x5730ee=a46_0x2fd3;return _0x3ad226[_0x5730ee(0x1f2)](_0xadd2d,_0x46ad0a,_0x2ab059);},'VsUfS':_0x3ad226[_0x10e727(0x114)]};try{if(!_0x2a8efd||!_0x2a8efd[_0x10e727(0x1ef)])return;const _0x233ada=_0x2a8efd[_0x10e727(0x1ef)]['id']+'_'+_0x45e9ed,_0x3b34ac=_0x54d7eb[_0x10e727(0x18b)](_0x233ada);if(!_0x3b34ac)return;const _0x259f19=new Date(),_0x58c848=_0x3ad226[_0x10e727(0x125)](_0x259f19[_0x10e727(0x16f)](),_0x3b34ac['startTimestamp']);if(_0x3ad226[_0x10e727(0x191)](_0x3b34ac[_0x10e727(0x1fb)][_0x10e727(0x179)],0x0))_0x3b34ac[_0x10e727(0x1fb)][_0x10e727(0x197)](_0x86649b=>{const _0x190791=_0x10e727,_0x49c2a8=!!_0x86649b[_0x190791(0x1d4)],_0xe0c57={'finishedAt':_0x259f19[_0x190791(0x10a)](),'durationMs':_0x58c848,'result':_0x49c2a8?_0x3ad226[_0x190791(0x19e)]:_0x3ad226[_0x190791(0x1c7)]};_0x49c2a8&&(_0xe0c57['failureReason']=_0x86649b['err'][_0x190791(0x204)]||'',_0xe0c57[_0x190791(0x1e3)]=_0x3ad226[_0x190791(0x203)](_0x86649b[_0x190791(0x1d4)]['name'],_0x3ad226[_0x190791(0x11b)])||_0x86649b[_0x190791(0x1d4)][_0x190791(0x204)]&&_0x86649b[_0x190791(0x1d4)][_0x190791(0x204)]['includes'](_0x3ad226['jFfBj'])?_0x3ad226[_0x190791(0x11b)]:_0x3ad226[_0x190791(0x149)],_0xe0c57[_0x190791(0x15a)]=[{'backtrace':_0x86649b[_0x190791(0x1d4)]['stack']?_0x86649b['err'][_0x190791(0x186)][_0x190791(0x1ee)]('\x0a'):[_0x86649b['err']['message']||''],'expanded':[]}]),_0x3ad226[_0x190791(0x1a6)](emitTest,HookState['POST'],_0x86649b,_0x3b34ac,_0x34be0d,_0xe0c57);});else{const _0x1e3496=_0x3ad226['HUFHv'](uuidv4),_0x476660=_0x3b34ac[_0x10e727(0x15e)],_0x4638fa=_0x3ad226[_0x10e727(0x14d)](_0x476660,null)&&_0x3ad226['doVSo'](_0x476660,0xc8)&&_0x3ad226['Dtlis'](_0x476660,0x190),_0x4832aa=_0x3b34ac['itemName']+'\x20(HTTP\x20'+_0x3ad226[_0x10e727(0x1ea)](_0x476660,_0x3ad226[_0x10e727(0x1b1)])+')',_0x4f87f3={'uuid':_0x1e3496,'name':_0x4832aa,'identifier':_0x3b34ac['scopes']['concat']([_0x4832aa])[_0x10e727(0x11c)]('\x20')},_0x4cd42b={'finishedAt':_0x259f19['toISOString'](),'durationMs':_0x58c848,'result':_0x4638fa?_0x3ad226[_0x10e727(0x1c7)]:_0x3ad226['dCeTQ']};!_0x4638fa&&(_0x4cd42b[_0x10e727(0x14e)]=_0x3ad226[_0x10e727(0x196)](_0x476660,null)?_0x10e727(0x1b7)+_0x476660+_0x10e727(0x1a8):_0x3ad226[_0x10e727(0x148)],_0x4cd42b['failureType']=_0x3ad226[_0x10e727(0x149)],_0x4cd42b[_0x10e727(0x15a)]=[{'backtrace':[_0x4cd42b[_0x10e727(0x14e)]],'expanded':[]}]);_0x3ad226[_0x10e727(0x158)](emitTest,HookState['PRE'],_0x4f87f3,_0x3b34ac,_0x34be0d,{}),_0x3b34ac[_0x10e727(0x1f3)][_0x10e727(0x197)](_0x2dc505=>{const _0xfda02a=_0x10e727;_0x2b2ec2[_0xfda02a(0x1bc)](emitLog,_0x1e3496,{'kind':_0x2b2ec2[_0xfda02a(0x174)],'message':_0x2dc505[_0xfda02a(0x204)],'level':_0x2dc505[_0xfda02a(0x193)]});});if(_0x3b34ac['httpLog']){_0x3ad226[_0x10e727(0x19d)](emitLog,_0x1e3496,{'kind':_0x3ad226[_0x10e727(0x1c8)],'http_response':_0x3b34ac[_0x10e727(0x19a)]});const _0x5e0304=_0x3ad226['BZbhW'](_0x3ad226[_0x10e727(0x1b4)](_0x3ad226[_0x10e727(0x163)](_0x3ad226[_0x10e727(0x13d)](_0x3ad226[_0x10e727(0x181)](_0x3ad226[_0x10e727(0x12a)](_0x3ad226[_0x10e727(0x1e4)](_0x3ad226[_0x10e727(0x1ed)](_0x3b34ac[_0x10e727(0x19a)][_0x10e727(0x1ac)]||_0x3ad226[_0x10e727(0x133)],'\x20'),_0x3b34ac[_0x10e727(0x19a)][_0x10e727(0x1b3)]),_0x3b34ac[_0x10e727(0x19a)][_0x10e727(0x16e)]),_0x3ad226[_0x10e727(0x143)]),_0x3b34ac[_0x10e727(0x19a)]['status_code']),'\x20('),_0x3b34ac['httpLog']['duration_ms']),_0x3ad226[_0x10e727(0x13e)]);_0x3ad226['InJzF'](emitLog,_0x1e3496,{'kind':_0x3ad226[_0x10e727(0x114)],'message':_0x5e0304,'level':_0x3ad226[_0x10e727(0x1d6)]});}else _0x3ad226[_0x10e727(0x1ce)](emitLog,_0x1e3496,{'kind':_0x3ad226[_0x10e727(0x114)],'message':_0x3ad226[_0x10e727(0x16a)](_0x3ad226[_0x10e727(0x13d)](_0x3ad226[_0x10e727(0x142)],_0x3ad226[_0x10e727(0x1ff)](_0x476660,_0x3ad226[_0x10e727(0x1b1)])),_0x3ad226[_0x10e727(0x1de)]),'level':_0x3ad226[_0x10e727(0x1d6)]});_0x3ad226[_0x10e727(0x17e)](emitTest,HookState[_0x10e727(0x177)],_0x4f87f3,_0x3b34ac,_0x34be0d,_0x4cd42b);}_0x54d7eb[_0x10e727(0x1ba)](_0x233ada),_0x2a8efd[_0x10e727(0x1a3)]&&_0x2a8efd[_0x10e727(0x1a3)]['ref']&&_0x54d7eb[_0x10e727(0x1ba)](_0x2a8efd[_0x10e727(0x1a3)][_0x10e727(0x1b8)]+'_'+_0x45e9ed);}catch(_0x1601ea){_0x3ad226[_0x10e727(0x13a)](debug,_0x10e727(0x1c6)+_0x1601ea);}});}module['exports']=BrowserStackNewmanReporter;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a47_0x13b50e=a47_0x4443;function a47_0x5e56(){const _0x29bd66=['nEOOQ','resolve','7pGrqXu','exitCode','bOMgf','Maxoz','QkjQT','run','argv','message','SYiGB','cCouq','getInstance','pWztt','write','oNUGB','cli','assign','SpRNJ','stderr','_load','ifBfr','reporters','bootstrap','exit','PcfHn','2YiRTfM','collectionPath','[Newman]\x20scriptRunner:\x20failed\x20to\x20load\x20script:\x20','join','811587UTNRhv','HVSuR','failures','browserstack','collection','FJjVQ','upXLr','create','path','19314pPqCOi','concat','1030JInItA','string','VfllR','beforeExit','newman','FOwMe','qpOeh','module','[Newman]\x20scriptRunner:\x20no\x20script\x20file\x20provided\x0a','10KDYnTg','reporter','PNKwJ','71574fGEtNL','length','viMQw','../v2/browserstackCLI','index.js','587516eWwWxO','GIWci','NkLQP','XuZgH','call','595552ZIKNCq','91046Tedtrt','4636500HZnGUc'];a47_0x5e56=function(){return _0x29bd66;};return a47_0x5e56();}(function(_0x54e092,_0x1a24f2){const _0x266774=a47_0x4443,_0x1e5d08=_0x54e092();while(!![]){try{const _0x5946b2=parseInt(_0x266774(0x206))/0x1*(parseInt(_0x266774(0x1ea))/0x2)+parseInt(_0x266774(0x20a))/0x3+parseInt(_0x266774(0x1e4))/0x4*(-parseInt(_0x266774(0x1dc))/0x5)+-parseInt(_0x266774(0x1df))/0x6*(-parseInt(_0x266774(0x1ee))/0x7)+-parseInt(_0x266774(0x1e9))/0x8+-parseInt(_0x266774(0x213))/0x9*(parseInt(_0x266774(0x215))/0xa)+parseInt(_0x266774(0x1eb))/0xb;if(_0x5946b2===_0x1a24f2)break;else _0x1e5d08['push'](_0x1e5d08['shift']());}catch(_0x4dfd0f){_0x1e5d08['push'](_0x1e5d08['shift']());}}}(a47_0x5e56,0x323c4));const path=require(a47_0x13b50e(0x212)),Module=require(a47_0x13b50e(0x1da)),BrowserstackCLI=require(a47_0x13b50e(0x1e2)),scriptFile=process[a47_0x13b50e(0x1f4)][0x2],maxParallel=parseInt(process[a47_0x13b50e(0x1f4)][0x3])||0x0;!scriptFile&&(process[a47_0x13b50e(0x1ff)][a47_0x13b50e(0x1fa)](a47_0x13b50e(0x1db)),process[a47_0x13b50e(0x204)](0x1));const reporterPath=path[a47_0x13b50e(0x209)](__dirname,a47_0x13b50e(0x1dd),a47_0x13b50e(0x1e3)),originalResolveFilename=Module['_resolveFilename'];Module['_resolveFilename']=function(_0x1fd718,_0x3b04ec,_0x1a7e45,_0x86e88e){const _0xa270b3=a47_0x13b50e,_0x4ef865={};_0x4ef865[_0xa270b3(0x1e1)]=function(_0x5d00f1,_0x2ed99b){return _0x5d00f1===_0x2ed99b;},_0x4ef865[_0xa270b3(0x1f7)]='newman-reporter-browserstack';const _0x3b907c=_0x4ef865;if(_0x3b907c[_0xa270b3(0x1e1)](_0x1fd718,_0x3b907c[_0xa270b3(0x1f7)]))return reporterPath;return originalResolveFilename[_0xa270b3(0x1e8)](this,_0x1fd718,_0x3b04ec,_0x1a7e45,_0x86e88e);};function a47_0x4443(_0x262772,_0x60a14d){const _0x5e562d=a47_0x5e56();return a47_0x4443=function(_0x444330,_0x3dc7dd){_0x444330=_0x444330-0x1d4;let _0x49ff0e=_0x5e562d[_0x444330];return _0x49ff0e;},a47_0x4443(_0x262772,_0x60a14d);}let limit;try{const pLimit=require('p-limit'),concurrency=maxParallel&&maxParallel>0x0?maxParallel:Infinity;limit=pLimit(concurrency);}catch(a47_0x4acdd3){limit=function(_0x1ad6e0){const _0x458b7b=a47_0x13b50e,_0x4698d5={'PNKwJ':function(_0x5e8e9a){return _0x5e8e9a();}};return _0x4698d5[_0x458b7b(0x1de)](_0x1ad6e0);};}let wrappedNewman=null,hasFailure=![];const originalLoad=Module['_load'];Module[a47_0x13b50e(0x200)]=function(_0x57a501,_0x5a45a2,_0x47fdca){const _0x31eed3=a47_0x13b50e,_0x5496b0={'qpOeh':function(_0x48ed69,_0x11e60f){return _0x48ed69>_0x11e60f;},'upXLr':function(_0x102134,_0x11ec41){return _0x102134||_0x11ec41;},'GIWci':function(_0x2f1831,_0x4fa9bc,_0xb9fcb){return _0x2f1831(_0x4fa9bc,_0xb9fcb);},'SpRNJ':function(_0x672053,_0x17dde2){return _0x672053(_0x17dde2);},'eNQLO':_0x31eed3(0x1fc),'ifBfr':function(_0x3a30cd,_0x4fa13a){return _0x3a30cd===_0x4fa13a;},'SYiGB':_0x31eed3(0x20d),'FJjVQ':_0x31eed3(0x1d4),'IHMye':function(_0xb73d32,_0x4ad41f){return _0xb73d32(_0x4ad41f);},'QkjQT':function(_0x305455,_0x3769bf){return _0x305455!==_0x3769bf;},'XuZgH':_0x31eed3(0x1d7)},_0x55d1ea=originalLoad[_0x31eed3(0x1e8)](this,_0x57a501,_0x5a45a2,_0x47fdca);if(_0x5496b0[_0x31eed3(0x1f2)](_0x57a501,_0x5496b0[_0x31eed3(0x1e7)]))return _0x55d1ea;if(wrappedNewman)return wrappedNewman;const _0x34020b=_0x55d1ea[_0x31eed3(0x1f3)]['bind'](_0x55d1ea);return wrappedNewman=Object[_0x31eed3(0x211)](_0x55d1ea),wrappedNewman[_0x31eed3(0x1f3)]=function(_0x544b71,_0x15f873){const _0x5e0495=_0x31eed3,_0x49ca92={'VfllR':function(_0x5a6902,_0x3ab3e8){const _0x1887aa=a47_0x4443;return _0x5496b0[_0x1887aa(0x1d9)](_0x5a6902,_0x3ab3e8);},'iEDPU':function(_0x2b2204,_0x1ac95d){const _0x37113f=a47_0x4443;return _0x5496b0[_0x37113f(0x210)](_0x2b2204,_0x1ac95d);},'NkLQP':function(_0x188b1f,_0x3da837,_0x57f7fe){const _0xa7e3b3=a47_0x4443;return _0x5496b0[_0xa7e3b3(0x1e5)](_0x188b1f,_0x3da837,_0x57f7fe);},'WVQZC':function(_0x3bae43,_0x5823fb){const _0x49ebc7=a47_0x4443;return _0x5496b0[_0x49ebc7(0x1fe)](_0x3bae43,_0x5823fb);}};let _0x24b05e=_0x544b71[_0x5e0495(0x202)]||[_0x5496b0['eNQLO']];_0x5496b0[_0x5e0495(0x201)](_0x24b05e['indexOf'](_0x5496b0[_0x5e0495(0x1f6)]),-0x1)&&(_0x24b05e=_0x24b05e[_0x5e0495(0x214)]([_0x5496b0[_0x5e0495(0x1f6)]]));const _0x1c06cb=_0x5496b0[_0x5e0495(0x201)](typeof _0x544b71['collection'],_0x5496b0[_0x5e0495(0x20f)])?_0x544b71[_0x5e0495(0x20e)]:undefined,_0x1b7b1a={};_0x1b7b1a[_0x5e0495(0x207)]=_0x1c06cb;const _0xfbf273=Object[_0x5e0495(0x1fd)]({},_0x544b71[_0x5e0495(0x1dd)],{'browserstack':Object['assign']({},_0x544b71['reporter']&&_0x544b71[_0x5e0495(0x1dd)][_0x5e0495(0x20d)],_0x1b7b1a)}),_0x21eadf={};return _0x21eadf['reporters']=_0x24b05e,_0x21eadf[_0x5e0495(0x1dd)]=_0xfbf273,_0x544b71=Object['assign']({},_0x544b71,_0x21eadf),_0x5496b0['IHMye'](limit,function(){const _0x3b03d6={'nEOOQ':function(_0x24471c,_0x126904){const _0x15c045=a47_0x4443;return _0x49ca92[_0x15c045(0x1d5)](_0x24471c,_0x126904);},'Maxoz':function(_0x5c3a0a,_0x5c5630){return _0x49ca92['iEDPU'](_0x5c3a0a,_0x5c5630);},'pWztt':function(_0x28a555,_0x4ec0e9,_0x534e5f){const _0x39518e=a47_0x4443;return _0x49ca92[_0x39518e(0x1e6)](_0x28a555,_0x4ec0e9,_0x534e5f);},'bOMgf':function(_0x3e072e,_0x4527f0){return _0x49ca92['WVQZC'](_0x3e072e,_0x4527f0);}};return new Promise(function(_0x4aa210){const _0x200c42=a47_0x4443;_0x3b03d6[_0x200c42(0x1f9)](_0x34020b,_0x544b71,function(_0x5b3bf6,_0x2723ad){const _0x5bac7e=_0x200c42,_0x2b4fae=_0x2723ad&&_0x2723ad[_0x5bac7e(0x1f3)]&&(_0x2723ad[_0x5bac7e(0x1f3)]['error']||_0x2723ad['run'][_0x5bac7e(0x20c)]&&_0x3b03d6[_0x5bac7e(0x1ec)](_0x2723ad[_0x5bac7e(0x1f3)][_0x5bac7e(0x20c)][_0x5bac7e(0x1e0)],0x0));_0x3b03d6[_0x5bac7e(0x1f1)](_0x2b4fae,_0x5b3bf6)&&(hasFailure=!![]),_0x15f873&&_0x3b03d6['pWztt'](_0x15f873,_0x5b3bf6,_0x2723ad),_0x3b03d6[_0x5bac7e(0x1f0)](_0x4aa210,_0x2723ad);});});});},wrappedNewman;};async function main(){const _0x5858b9=a47_0x13b50e,_0x2f17cb={'PcfHn':function(_0x47497a,_0x43e107){return _0x47497a(_0x43e107);},'FOwMe':function(_0x1b73ae,_0xc83a5f){return _0x1b73ae+_0xc83a5f;},'HVSuR':function(_0x247840,_0x2d2f28){return _0x247840+_0x2d2f28;},'FRKHI':_0x5858b9(0x208)};try{await BrowserstackCLI[_0x5858b9(0x1f8)]()[_0x5858b9(0x203)]();}catch(_0x4220eb){}try{_0x2f17cb[_0x5858b9(0x205)](require,path[_0x5858b9(0x1ed)](scriptFile));}catch(_0x5d7f66){process[_0x5858b9(0x1ff)][_0x5858b9(0x1fa)](_0x2f17cb[_0x5858b9(0x1d8)](_0x2f17cb[_0x5858b9(0x20b)](_0x2f17cb['FRKHI'],_0x5d7f66[_0x5858b9(0x1f5)]||_0x5d7f66),'\x0a')),process[_0x5858b9(0x1ef)]=0x1;}}main(),process['on'](a47_0x13b50e(0x1d6),function(){const _0x2d54b1=a47_0x13b50e;hasFailure&&(process[_0x2d54b1(0x1ef)]=0x1);}),process['on'](a47_0x13b50e(0x204),function(){const _0x31c940=a47_0x13b50e,_0x3388d6={};_0x3388d6[_0x31c940(0x1fb)]=function(_0x2ecd3e,_0x18d3e){return _0x2ecd3e===_0x18d3e;};const _0x5c3219=_0x3388d6;hasFailure&&_0x5c3219['oNUGB'](process[_0x31c940(0x1ef)],0x0)&&(process[_0x31c940(0x1ef)]=0x1);});
2
+ 'use strict';const a47_0x64a397=a47_0x5851;(function(_0x6538c6,_0x3a3e6d){const _0x52605e=a47_0x5851,_0x499811=_0x6538c6();while(!![]){try{const _0x34763b=parseInt(_0x52605e(0x1a6))/0x1*(parseInt(_0x52605e(0x1b8))/0x2)+parseInt(_0x52605e(0x1c7))/0x3*(-parseInt(_0x52605e(0x1b5))/0x4)+-parseInt(_0x52605e(0x1c3))/0x5+parseInt(_0x52605e(0x1b7))/0x6*(parseInt(_0x52605e(0x197))/0x7)+-parseInt(_0x52605e(0x193))/0x8+-parseInt(_0x52605e(0x1a7))/0x9*(parseInt(_0x52605e(0x1b9))/0xa)+-parseInt(_0x52605e(0x1c4))/0xb*(-parseInt(_0x52605e(0x18e))/0xc);if(_0x34763b===_0x3a3e6d)break;else _0x499811['push'](_0x499811['shift']());}catch(_0x2dad8d){_0x499811['push'](_0x499811['shift']());}}}(a47_0x164d,0x431d0));const path=require('path'),Module=require(a47_0x64a397(0x1c8)),BrowserstackCLI=require('../v2/browserstackCLI'),scriptFile=process[a47_0x64a397(0x1b2)][0x2],maxParallel=parseInt(process['argv'][0x3])||0x0;!scriptFile&&(process[a47_0x64a397(0x1a8)][a47_0x64a397(0x19b)](a47_0x64a397(0x19c)),process[a47_0x64a397(0x198)](0x1));const reporterPath=path[a47_0x64a397(0x1b6)](__dirname,a47_0x64a397(0x192),a47_0x64a397(0x1bc)),originalResolveFilename=Module['_resolveFilename'];Module[a47_0x64a397(0x18f)]=function(_0x7ac730,_0x55cfa0,_0x3756b0,_0x4f9438){const _0x58d881=a47_0x64a397,_0x57d571={};_0x57d571[_0x58d881(0x1c1)]=function(_0x3a83d0,_0x18b039){return _0x3a83d0===_0x18b039;},_0x57d571[_0x58d881(0x1a4)]='newman-reporter-browserstack';const _0xaa9add=_0x57d571;if(_0xaa9add[_0x58d881(0x1c1)](_0x7ac730,_0xaa9add['pEAGY']))return reporterPath;return originalResolveFilename[_0x58d881(0x1c2)](this,_0x7ac730,_0x55cfa0,_0x3756b0,_0x4f9438);};let limit;try{const pLimit=require(a47_0x64a397(0x1c9)),concurrency=maxParallel&&maxParallel>0x0?maxParallel:Infinity;limit=pLimit(concurrency);}catch(a47_0x2af7ed){limit=function(_0x594853){const _0x5e6b35={'gEOIs':function(_0xd87090){return _0xd87090();}};return _0x5e6b35['gEOIs'](_0x594853);};}let wrappedNewman=null,hasFailure=![];function a47_0x5851(_0xe31e93,_0x3030b8){const _0x164d0d=a47_0x164d();return a47_0x5851=function(_0x585153,_0x4ddb73){_0x585153=_0x585153-0x189;let _0x275d21=_0x164d0d[_0x585153];return _0x275d21;},a47_0x5851(_0xe31e93,_0x3030b8);}const originalLoad=Module[a47_0x64a397(0x1c6)];function a47_0x164d(){const _0x2a5bbc=['index.js','yNGyY','bootstrap','aodrB','MGIdh','itrDX','call','2246075dFCXSc','657283gnLjyW','length','_load','291lNjmLz','module','p-limit','beforeExit','THoYc','VyxYP','Gznzk','jqEhs','144UeyPbD','_resolveFilename','message','YqGhO','reporter','32520caOpDb','cli','QgVBc','getInstance','3717PZgnLX','exit','reporters','browserstack','write','[Newman]\x20scriptRunner:\x20no\x20script\x20file\x20provided\x0a','collection','KQDNc','exitCode','ckYpA','run','NvRXu','vIXsP','pEAGY','create','1IooCok','12222AEjbzJ','stderr','string','BkkBj','BBQnp','error','failures','vznAP','indexOf','zZeyQ','[Newman]\x20scriptRunner:\x20failed\x20to\x20load\x20script:\x20','argv','kVMEP','concat','3856RYJLsM','join','1698MaGXWq','280842njmZBS','1370gIOuhZ','bind','assign'];a47_0x164d=function(){return _0x2a5bbc;};return a47_0x164d();}Module[a47_0x64a397(0x1c6)]=function(_0x3e9c95,_0x1b1990,_0x1d4bf6){const _0x279f74=a47_0x64a397,_0x533011={'Gznzk':function(_0x3ae5be,_0x10301c){return _0x3ae5be>_0x10301c;},'zZeyQ':function(_0x10b3cd,_0x2cf3e2){return _0x10b3cd||_0x2cf3e2;},'vznAP':function(_0x44b679,_0x4f46e5,_0x24f28c){return _0x44b679(_0x4f46e5,_0x24f28c);},'BBQnp':function(_0x50efa9,_0x1748e3){return _0x50efa9(_0x1748e3);},'yNGyY':_0x279f74(0x194),'YqGhO':function(_0x179445,_0x104000){return _0x179445===_0x104000;},'MGIdh':_0x279f74(0x19a),'aodrB':_0x279f74(0x1a9),'THoYc':function(_0x50012d,_0x17b171){return _0x50012d(_0x17b171);},'NvRXu':function(_0x1cd2cc,_0x3f273a){return _0x1cd2cc!==_0x3f273a;},'vIXsP':'newman'},_0x234b4a=originalLoad[_0x279f74(0x1c2)](this,_0x3e9c95,_0x1b1990,_0x1d4bf6);if(_0x533011[_0x279f74(0x1a2)](_0x3e9c95,_0x533011[_0x279f74(0x1a3)]))return _0x234b4a;if(wrappedNewman)return wrappedNewman;const _0x3cceed=_0x234b4a['run'][_0x279f74(0x1ba)](_0x234b4a);return wrappedNewman=Object[_0x279f74(0x1a5)](_0x234b4a),wrappedNewman[_0x279f74(0x1a1)]=function(_0x24f1b6,_0x335857){const _0x5652d5=_0x279f74;let _0xb64a96=_0x24f1b6[_0x5652d5(0x199)]||[_0x533011[_0x5652d5(0x1bd)]];_0x533011[_0x5652d5(0x191)](_0xb64a96[_0x5652d5(0x1af)](_0x533011[_0x5652d5(0x1c0)]),-0x1)&&(_0xb64a96=_0xb64a96[_0x5652d5(0x1b4)]([_0x533011[_0x5652d5(0x1c0)]]));const _0x41bbcf=_0x533011[_0x5652d5(0x191)](typeof _0x24f1b6[_0x5652d5(0x19d)],_0x533011[_0x5652d5(0x1bf)])?_0x24f1b6[_0x5652d5(0x19d)]:undefined,_0xe178bf={};_0xe178bf['collectionPath']=_0x41bbcf;const _0xaa8ad9=Object[_0x5652d5(0x1bb)]({},_0x24f1b6['reporter'],{'browserstack':Object['assign']({},_0x24f1b6[_0x5652d5(0x192)]&&_0x24f1b6[_0x5652d5(0x192)][_0x5652d5(0x19a)],_0xe178bf)}),_0x12be77={};return _0x12be77[_0x5652d5(0x199)]=_0xb64a96,_0x12be77['reporter']=_0xaa8ad9,_0x24f1b6=Object['assign']({},_0x24f1b6,_0x12be77),_0x533011[_0x5652d5(0x18a)](limit,function(){const _0x4a3b30={'kpulI':function(_0xe0e9c2,_0x34364a){const _0x228cbf=a47_0x5851;return _0x533011[_0x228cbf(0x18c)](_0xe0e9c2,_0x34364a);},'kVMEP':function(_0x5e13f8,_0x28f4ff){const _0x35f833=a47_0x5851;return _0x533011[_0x35f833(0x1b0)](_0x5e13f8,_0x28f4ff);},'ckYpA':function(_0x1e8323,_0x3b70bc,_0x5c5ccf){const _0x4128a0=a47_0x5851;return _0x533011[_0x4128a0(0x1ae)](_0x1e8323,_0x3b70bc,_0x5c5ccf);},'xwpzn':function(_0x39cd14,_0x53bacb){const _0x36b3f7=a47_0x5851;return _0x533011[_0x36b3f7(0x1ab)](_0x39cd14,_0x53bacb);}};return new Promise(function(_0x2578ae){const _0x2248b5=a47_0x5851,_0x373681={'OeuKS':function(_0x226d17,_0x499c0c){return _0x4a3b30['kpulI'](_0x226d17,_0x499c0c);},'ntyDh':function(_0x1cb426,_0x1477e7){const _0x18c8fb=a47_0x5851;return _0x4a3b30[_0x18c8fb(0x1b3)](_0x1cb426,_0x1477e7);},'QgVBc':function(_0x2144bd,_0x2395eb,_0x55258a){const _0x3a398f=a47_0x5851;return _0x4a3b30[_0x3a398f(0x1a0)](_0x2144bd,_0x2395eb,_0x55258a);},'gvkSK':function(_0x44787f,_0x81c59a){return _0x4a3b30['xwpzn'](_0x44787f,_0x81c59a);}};_0x4a3b30[_0x2248b5(0x1a0)](_0x3cceed,_0x24f1b6,function(_0x53c6f0,_0xda1342){const _0x4c5162=_0x2248b5,_0x5d54cd=_0xda1342&&_0xda1342['run']&&(_0xda1342['run'][_0x4c5162(0x1ac)]||_0xda1342[_0x4c5162(0x1a1)][_0x4c5162(0x1ad)]&&_0x373681['OeuKS'](_0xda1342[_0x4c5162(0x1a1)][_0x4c5162(0x1ad)][_0x4c5162(0x1c5)],0x0));_0x373681['ntyDh'](_0x5d54cd,_0x53c6f0)&&(hasFailure=!![]),_0x335857&&_0x373681[_0x4c5162(0x195)](_0x335857,_0x53c6f0,_0xda1342),_0x373681['gvkSK'](_0x2578ae,_0xda1342);});});});},wrappedNewman;};async function main(){const _0x4316a7=a47_0x64a397,_0x787850={'VyxYP':function(_0x330d36,_0x3bdde3){return _0x330d36(_0x3bdde3);},'LQxTO':function(_0x313f91,_0x345924){return _0x313f91+_0x345924;},'jqEhs':function(_0x38ec8a,_0x8ed9b6){return _0x38ec8a+_0x8ed9b6;},'BkkBj':_0x4316a7(0x1b1)};try{await BrowserstackCLI[_0x4316a7(0x196)]()[_0x4316a7(0x1be)]();}catch(_0x2aa6af){}try{_0x787850[_0x4316a7(0x18b)](require,path['resolve'](scriptFile));}catch(_0x571d7b){process[_0x4316a7(0x1a8)][_0x4316a7(0x19b)](_0x787850['LQxTO'](_0x787850[_0x4316a7(0x18d)](_0x787850[_0x4316a7(0x1aa)],_0x571d7b[_0x4316a7(0x190)]||_0x571d7b),'\x0a')),process['exitCode']=0x1;}}main(),process['on'](a47_0x64a397(0x189),function(){const _0x3e6eae=a47_0x64a397;hasFailure&&(process[_0x3e6eae(0x19f)]=0x1);}),process['on']('exit',function(){const _0x3e24d5=a47_0x64a397,_0x3df57b={};_0x3df57b[_0x3e24d5(0x19e)]=function(_0x3cb8ff,_0x22a888){return _0x3cb8ff===_0x22a888;};const _0x464875=_0x3df57b;hasFailure&&_0x464875['KQDNc'](process[_0x3e24d5(0x19f)],0x0)&&(process[_0x3e24d5(0x19f)]=0x1);});
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a48_0x230d54=a48_0x12d0;(function(_0x541bf5,_0x459fd0){const _0x11df4e=a48_0x12d0,_0x3c8c64=_0x541bf5();while(!![]){try{const _0x22ea26=-parseInt(_0x11df4e(0x1d3))/0x1*(parseInt(_0x11df4e(0x20a))/0x2)+-parseInt(_0x11df4e(0x1ef))/0x3*(-parseInt(_0x11df4e(0x1f3))/0x4)+parseInt(_0x11df4e(0x1dd))/0x5+-parseInt(_0x11df4e(0x1ff))/0x6+parseInt(_0x11df4e(0x1e0))/0x7*(parseInt(_0x11df4e(0x1c7))/0x8)+-parseInt(_0x11df4e(0x209))/0x9+parseInt(_0x11df4e(0x1c5))/0xa*(parseInt(_0x11df4e(0x1f2))/0xb);if(_0x22ea26===_0x459fd0)break;else _0x3c8c64['push'](_0x3c8c64['shift']());}catch(_0x40a62a){_0x3c8c64['push'](_0x3c8c64['shift']());}}}(a48_0x42a6,0x5ebee));const fs=require('fs'),path=require(a48_0x230d54(0x1c3)),{spawn}=require(a48_0x230d54(0x1cd)),logger=require(a48_0x230d54(0x1ea))[a48_0x230d54(0x212)],{default:BrowserStackSetup}=require(a48_0x230d54(0x1c6)),helper=require(a48_0x230d54(0x1ca)),constants=require(a48_0x230d54(0x1d2)),getUserNightwatchConfigs=(_0x526802,_0x275f41)=>{const _0x2307f2=a48_0x230d54,_0x10cf36={'EpgnY':_0x2307f2(0x20b),'jGCZI':_0x2307f2(0x1db),'MLeoZ':function(_0x4e3f7f,_0x34eea8){return _0x4e3f7f(_0x34eea8);},'nGJUw':_0x2307f2(0x1f5)};let _0x1661bf=null,_0x41b1d4={};const _0x466875=_0x275f41[_0x2307f2(0x1f6)](_0x537602=>_0x537602===_0x2307f2(0x1d6)),_0x3a1c96=!helper['isUndefined'](_0x526802[_0x2307f2(0x1c9)])?helper[_0x2307f2(0x216)](_0x526802['config']):null;!helper[_0x2307f2(0x1de)](_0x526802['config'])&&!_0x3a1c96&&logger[_0x2307f2(0x207)](_0x2307f2(0x1e4)+_0x526802[_0x2307f2(0x1c9)]+'\x22:\x20it\x20resolves\x20outside\x20the\x20project\x20directory.');if(_0x3a1c96&&fs[_0x2307f2(0x1ec)](_0x3a1c96))_0x1661bf=_0x3a1c96,_0x275f41[_0x2307f2(0x1dc)](_0x466875,0x2);else{if(fs[_0x2307f2(0x1ec)](path[_0x2307f2(0x1f8)](process['cwd'](),_0x10cf36[_0x2307f2(0x1d9)])))_0x1661bf=path['join'](process[_0x2307f2(0x1f0)](),_0x10cf36[_0x2307f2(0x1d9)]);else fs[_0x2307f2(0x1ec)](path[_0x2307f2(0x1f8)](process['cwd'](),_0x10cf36[_0x2307f2(0x218)]))&&(_0x1661bf=path[_0x2307f2(0x1f8)](process[_0x2307f2(0x1f0)](),_0x10cf36['jGCZI']));}return _0x1661bf?(logger[_0x2307f2(0x1c1)](_0x2307f2(0x1fe)+_0x1661bf),_0x41b1d4=_0x10cf36['MLeoZ'](require,_0x1661bf)):logger[_0x2307f2(0x1c1)](_0x10cf36[_0x2307f2(0x1cc)]),_0x41b1d4;},removeExistingEnvs=_0x532d43=>{const _0x3e0caf=a48_0x230d54,_0x345a9f={};_0x345a9f[_0x3e0caf(0x1cb)]=function(_0xcd84d,_0x3219e1){return _0xcd84d>_0x3219e1;},_0x345a9f['CkjBe']=function(_0xab4b2e,_0x49f72a){return _0xab4b2e>_0x49f72a;};const _0x1f1d43=_0x345a9f;let _0x47360d=_0x532d43['findIndex'](_0x4871a6=>_0x4871a6==='--env');_0x1f1d43[_0x3e0caf(0x1cb)](_0x47360d,-0x1)&&_0x532d43[_0x3e0caf(0x1dc)](_0x47360d,0x2),_0x47360d=_0x532d43['findIndex'](_0x552c45=>_0x552c45==='-e'),_0x1f1d43[_0x3e0caf(0x1d5)](_0x47360d,-0x1)&&_0x532d43['splice'](_0x47360d,0x2);};function run(_0x3fae3b,_0x10604a,_0x56906e){const _0x3b1e98=a48_0x230d54,_0x55b134={'DSWPt':_0x3b1e98(0x1f9),'qXTqO':function(_0x235d03,_0x28f78e){return _0x235d03+_0x28f78e;},'xUnlM':_0x3b1e98(0x1d0),'pcFph':function(_0x142006,_0x39a816,_0x188918){return _0x142006(_0x39a816,_0x188918);},'EUowQ':_0x3b1e98(0x210),'vECFa':_0x3b1e98(0x1d7),'YilKg':function(_0x173626,_0x390814){return _0x173626===_0x390814;},'WyYsw':_0x3b1e98(0x1c4),'iXyVs':function(_0x4eeee4,_0x53b0b7){return _0x4eeee4(_0x53b0b7);},'NVSRX':_0x3b1e98(0x1e7),'KkKid':function(_0x2e70d3,_0x5dc77e,_0x1b00a1,_0x330537){return _0x2e70d3(_0x5dc77e,_0x1b00a1,_0x330537);},'KHpUt':_0x3b1e98(0x211),'dKRNT':_0x3b1e98(0x1d6),'QKvvc':'--env','wheVQ':_0x3b1e98(0x1e3),'uxjhK':_0x3b1e98(0x1d8)};if(!_0x56906e[_0x3b1e98(0x1c9)])return;const _0x40f6fb=_0x55b134[_0x3b1e98(0x1ee)](getUserNightwatchConfigs,_0x3fae3b,_0x10604a),_0x39a06f={};_0x39a06f[_0x3b1e98(0x1e9)]=![];const _0x1ab280={};_0x1ab280[_0x3b1e98(0x1fd)]=_0x55b134['EUowQ'],_0x1ab280[_0x3b1e98(0x1d1)]=0x1bb;const _0x2e6081={};_0x2e6081['webdriver']=_0x39a06f,_0x2e6081[_0x3b1e98(0x1e8)]=_0x1ab280;const _0x3797b9=_0x2e6081;logger['info'](_0x55b134['vECFa']);const _0x23f58d={..._0x40f6fb},_0x498e83=_0x23f58d,_0x114434=helper[_0x3b1e98(0x1e5)](_0x56906e[_0x3b1e98(0x1c9)]),_0x308c9c=[];_0x56906e[_0x3b1e98(0x1c9)][_0x3b1e98(0x1f1)]['forEach']((_0x29fef0,_0x3bc6ee)=>{const _0x32500b=_0x3b1e98;_0x114434?_0x308c9c['push'](helper[_0x32500b(0x1ce)](_0x56906e[_0x32500b(0x1c9)],_0x55b134['DSWPt'],_0x3bc6ee)):_0x308c9c[_0x32500b(0x215)](helper[_0x32500b(0x1e1)](_0x56906e[_0x32500b(0x1c9)],_0x55b134[_0x32500b(0x1fb)],_0x3bc6ee));});const _0x189754={},_0x5aa482=[];_0x3fae3b[_0x3b1e98(0x202)]=_0x3fae3b[_0x3b1e98(0x202)]||_0x3fae3b['e'];const _0x4d1411=_0x3fae3b[_0x3b1e98(0x202)]?_0x3fae3b['env']['trim']()[_0x3b1e98(0x20d)](',')[_0x3b1e98(0x1cf)](_0x5533ed=>_0x5533ed[_0x3b1e98(0x1eb)]())[_0x3b1e98(0x213)](_0x46607c=>_0x46607c!==''):[''];_0x55b134[_0x3b1e98(0x206)](_0x4d1411[_0x3b1e98(0x1c2)],0x0)&&_0x4d1411[_0x3b1e98(0x215)]('');_0x4d1411['forEach'](_0x21ada8=>{const _0x41f02a=_0x3b1e98,_0xb87150={'CqMGq':function(_0x140047,_0x982bd9){const _0x25f700=a48_0x12d0;return _0x55b134[_0x25f700(0x1fa)](_0x140047,_0x982bd9);},'uOOeK':_0x55b134['xUnlM']};_0x308c9c[_0x41f02a(0x217)](_0x28fac1=>{const _0x2f1ce2=_0x41f02a;let _0x43c342=_0xb87150[_0x2f1ce2(0x205)](helper[_0x2f1ce2(0x1c8)](_0x28fac1,'_'),'_'+Date[_0x2f1ce2(0x1e2)]());_0x21ada8&&(_0x43c342+='_'+_0x21ada8);if(_0x21ada8&&(!_0x40f6fb[_0xb87150[_0x2f1ce2(0x1c0)]]||!_0x40f6fb[_0xb87150[_0x2f1ce2(0x1c0)]][_0x21ada8]))return;const _0x3e3714={..._0x3797b9};_0x3e3714['desiredCapabilities']=_0x28fac1;const _0x4627b1=_0x3e3714;_0x189754[_0x43c342]=_0x21ada8?helper[_0x2f1ce2(0x20c)](_0x40f6fb[_0xb87150[_0x2f1ce2(0x1c0)]][_0x21ada8],_0x4627b1):_0x4627b1,_0x5aa482['push'](_0x43c342);});});!_0x498e83[_0x3b1e98(0x1d0)]&&(_0x498e83[_0x3b1e98(0x1d0)]={});_0x498e83[_0x3b1e98(0x1d0)]={..._0x498e83[_0x3b1e98(0x1d0)],..._0x189754};const _0x5bdef0=path[_0x3b1e98(0x1f8)](__dirname,_0x55b134[_0x3b1e98(0x1e6)]);fs['writeFileSync'](_0x5bdef0,JSON[_0x3b1e98(0x1fc)](_0x498e83)),_0x55b134[_0x3b1e98(0x1da)](removeExistingEnvs,_0x10604a);const _0x57c064=require[_0x3b1e98(0x203)](_0x55b134[_0x3b1e98(0x1f7)]),_0x4bf8f6=process[_0x3b1e98(0x202)]['NODE_OPTIONS']||'',_0x4b0953=_0x3b1e98(0x208)+JSON['stringify'](_0x57c064),_0x15db26=_0x4bf8f6?_0x4bf8f6+'\x20'+_0x4b0953:_0x4b0953,_0x1045ae=Object[_0x3b1e98(0x1df)]({},process[_0x3b1e98(0x202)],{'NODE_OPTIONS':_0x15db26,'BROWSERSTACK_FRAMEWORK':process[_0x3b1e98(0x202)][_0x3b1e98(0x1f4)]||_0x55b134[_0x3b1e98(0x1fb)]}),_0x14d332=_0x55b134['KkKid'](spawn,/^win/[_0x3b1e98(0x200)](process['platform'])?_0x55b134['KHpUt']:_0x55b134[_0x3b1e98(0x1fb)],[_0x55b134['dKRNT'],_0x5bdef0,..._0x10604a['slice'](0x1),_0x55b134[_0x3b1e98(0x214)],_0x5aa482[_0x3b1e98(0x1f8)](',')],{'stdio':_0x55b134[_0x3b1e98(0x1d4)],'env':_0x1045ae});_0x14d332['on'](_0x55b134[_0x3b1e98(0x204)],async _0x18e8d9=>{const _0x466db6=_0x3b1e98;logger[_0x466db6(0x20f)](_0x466db6(0x201)+_0x18e8d9),logger[_0x466db6(0x1c1)](_0x466db6(0x1ed)+_0x5bdef0),fs[_0x466db6(0x20e)](_0x5bdef0);});}function a48_0x42a6(){const _0x5ee341=['findIndex','NVSRX','join','nightwatch','qXTqO','DSWPt','stringify','host','Getting\x20your\x20nightwatch\x20configs\x20from\x20','2153334Sgzvbf','test','child\x20process\x20exited\x20with\x20code\x20','env','resolve','uxjhK','CqMGq','YilKg','warn','--require\x20','2989638cPOpFA','100942HZFOGN','nightwatch.conf.js','mergeDeep','split','unlinkSync','debug','hub.browserstack.com','nightwatch.cmd','winstonLogger','filter','QKvvc','push','resolveWithinCwd','forEach','jGCZI','uOOeK','info','length','path','nightwatch-browserstack.json','30QVWqAh','../../helpers/BrowserStackSetup','8bNDlPM','getPlatformName','config','../../helpers/helper','HiWiU','nGJUw','child_process','modifyBrowserStackW3CCaps','map','test_settings','port','../utils/constants','1kNnYKa','wheVQ','CkjBe','--config','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','close','EpgnY','iXyVs','nightwatch.json','splice','1703470penvDN','isUndefined','assign','3438869ljOhAo','modifyBrowserStackCaps','now','inherit','Ignoring\x20--config\x20path\x20\x22','useW3C','WyYsw','../../index','selenium','start_process','../../helpers/logger','trim','existsSync','Deleting\x20','pcFph','233139dvqxta','cwd','platforms','521521YyeQwW','8xaFpIj','BROWSERSTACK_FRAMEWORK','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file'];a48_0x42a6=function(){return _0x5ee341;};return a48_0x42a6();}function a48_0x12d0(_0x1bb4ed,_0x193da6){const _0x42a6f0=a48_0x42a6();return a48_0x12d0=function(_0x12d0e5,_0x49bcbd){_0x12d0e5=_0x12d0e5-0x1c0;let _0x10fc98=_0x42a6f0[_0x12d0e5];return _0x10fc98;},a48_0x12d0(_0x1bb4ed,_0x193da6);}module['exports']=run;
2
+ 'use strict';const a48_0x1c81ee=a48_0x2bcc;(function(_0x367af1,_0x50879f){const _0x9557f9=a48_0x2bcc,_0x3d4da2=_0x367af1();while(!![]){try{const _0xe4e942=-parseInt(_0x9557f9(0xa1))/0x1*(-parseInt(_0x9557f9(0xc4))/0x2)+parseInt(_0x9557f9(0x9f))/0x3+parseInt(_0x9557f9(0xbc))/0x4*(parseInt(_0x9557f9(0xd6))/0x5)+-parseInt(_0x9557f9(0xd2))/0x6+parseInt(_0x9557f9(0xc5))/0x7+-parseInt(_0x9557f9(0xce))/0x8*(parseInt(_0x9557f9(0x9d))/0x9)+-parseInt(_0x9557f9(0x88))/0xa*(parseInt(_0x9557f9(0xaa))/0xb);if(_0xe4e942===_0x50879f)break;else _0x3d4da2['push'](_0x3d4da2['shift']());}catch(_0x4ba540){_0x3d4da2['push'](_0x3d4da2['shift']());}}}(a48_0x1d2f,0xcb90c));function a48_0x1d2f(){const _0x4aa10d=['webdriver','nightwatch-browserstack.json','now','UWleZ','LuEQs','start_process','wjFdj','inherit','push','slice','stringify','nightwatch','config','--require\x20','assign','host','../../helpers/BrowserStackSetup','450PiZmTo','JPGHJ','3583764KSTwsx','qzLrM','1kwCCAl','Getting\x20your\x20nightwatch\x20configs\x20from\x20','desiredCapabilities','JGBbk','warn','test_settings','modifyBrowserStackCaps','CacVf','env','11DuAtYu','port','txehw','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','WFHql','VrBlb','nightwatch.json','--config','nightwatch.conf.js','../../helpers/logger','GLkqt','BROWSERSTACK_FRAMEWORK','vJXJo','mergeDeep','platforms','test','WZsGf','pHSLl','29636OXYhAO','path','join','../utils/constants','writeFileSync','existsSync','Deleting\x20','splice','805768wQezPd','8664376qedQLO','findIndex','../../helpers/helper','hub.browserstack.com','cwd','isUndefined','NODE_OPTIONS','forEach','nightwatch.cmd','265680MYptlO','fdyRW','child\x20process\x20exited\x20with\x20code\x20','child_process','6901644SzJnrt','Vuqrc','YTnzY','close','1040JvMtYp','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','\x22:\x20it\x20resolves\x20outside\x20the\x20project\x20directory.','map','info','modifyBrowserStackW3CCaps','getPlatformName','lGONx','--env','resolveWithinCwd','winstonLogger','selenium','trim','7317340IiNLXT','WeGRq','platform','resolve'];a48_0x1d2f=function(){return _0x4aa10d;};return a48_0x1d2f();}const fs=require('fs'),path=require(a48_0x1c81ee(0xbd)),{spawn}=require(a48_0x1c81ee(0xd1)),logger=require(a48_0x1c81ee(0xb3))[a48_0x1c81ee(0xe0)],{default:BrowserStackSetup}=require(a48_0x1c81ee(0x9c)),helper=require(a48_0x1c81ee(0xc7)),constants=require(a48_0x1c81ee(0xbf)),getUserNightwatchConfigs=(_0xaa15f2,_0x5d0a57)=>{const _0x4845a7=a48_0x1c81ee,_0x1163fe={'vJXJo':_0x4845a7(0xb2),'lGONx':_0x4845a7(0xb0),'PZxST':function(_0x2796f8,_0xfdc733){return _0x2796f8(_0xfdc733);},'VrBlb':_0x4845a7(0xad)};let _0x71ae9e=null,_0x33815f={};const _0x40c6e9=_0x5d0a57['findIndex'](_0x12b74e=>_0x12b74e===_0x4845a7(0xb1)),_0x1b0167=!helper[_0x4845a7(0xca)](_0xaa15f2[_0x4845a7(0x98)])?helper[_0x4845a7(0xdf)](_0xaa15f2['config']):null;!helper[_0x4845a7(0xca)](_0xaa15f2['config'])&&!_0x1b0167&&logger[_0x4845a7(0xa5)]('Ignoring\x20--config\x20path\x20\x22'+_0xaa15f2[_0x4845a7(0x98)]+_0x4845a7(0xd8));if(_0x1b0167&&fs['existsSync'](_0x1b0167))_0x71ae9e=_0x1b0167,_0x5d0a57[_0x4845a7(0xc3)](_0x40c6e9,0x2);else{if(fs['existsSync'](path[_0x4845a7(0xbe)](process['cwd'](),_0x1163fe[_0x4845a7(0xb6)])))_0x71ae9e=path[_0x4845a7(0xbe)](process['cwd'](),_0x1163fe[_0x4845a7(0xb6)]);else fs[_0x4845a7(0xc1)](path[_0x4845a7(0xbe)](process['cwd'](),_0x1163fe[_0x4845a7(0xdd)]))&&(_0x71ae9e=path['join'](process[_0x4845a7(0xc9)](),_0x1163fe[_0x4845a7(0xdd)]));}return _0x71ae9e?(logger['info'](_0x4845a7(0xa2)+_0x71ae9e),_0x33815f=_0x1163fe['PZxST'](require,_0x71ae9e)):logger[_0x4845a7(0xda)](_0x1163fe[_0x4845a7(0xaf)]),_0x33815f;},removeExistingEnvs=_0x1d2a67=>{const _0x27fb15=a48_0x1c81ee,_0x579dff={};_0x579dff[_0x27fb15(0x92)]=function(_0xe9dae4,_0x56a3f9){return _0xe9dae4>_0x56a3f9;};const _0x3bfc3c=_0x579dff;let _0x2803bc=_0x1d2a67[_0x27fb15(0xc6)](_0xd7a24b=>_0xd7a24b===_0x27fb15(0xde));_0x3bfc3c['wjFdj'](_0x2803bc,-0x1)&&_0x1d2a67[_0x27fb15(0xc3)](_0x2803bc,0x2),_0x2803bc=_0x1d2a67[_0x27fb15(0xc6)](_0xde19cf=>_0xde19cf==='-e'),_0x3bfc3c[_0x27fb15(0x92)](_0x2803bc,-0x1)&&_0x1d2a67[_0x27fb15(0xc3)](_0x2803bc,0x2);};function run(_0x4c77aa,_0x1902c9,_0x38b5af){const _0x80083b=a48_0x1c81ee,_0x455af6={'JPGHJ':_0x80083b(0x97),'WFHql':function(_0xc59284,_0x6d4bbd){return _0xc59284+_0x6d4bbd;},'qzLrM':_0x80083b(0xa6),'Vuqrc':function(_0x346c12,_0x5b4f6e,_0x5aac46){return _0x346c12(_0x5b4f6e,_0x5aac46);},'YTnzY':_0x80083b(0xc8),'pHSLl':_0x80083b(0xd7),'txehw':function(_0x370962,_0x39b843){return _0x370962===_0x39b843;},'WeGRq':_0x80083b(0x8d),'GLkqt':function(_0x143d28,_0x38ee27){return _0x143d28(_0x38ee27);},'JGBbk':'../../index','WZsGf':function(_0x4c5e55,_0x43124a,_0x552650,_0x2ce55c){return _0x4c5e55(_0x43124a,_0x552650,_0x2ce55c);},'UWleZ':_0x80083b(0xcd),'LuEQs':_0x80083b(0xb1),'fdyRW':'--env','WHuJJ':_0x80083b(0x93),'nzFly':_0x80083b(0xd5)};if(!_0x38b5af[_0x80083b(0x98)])return;const _0x1dfd8b=_0x455af6[_0x80083b(0xd3)](getUserNightwatchConfigs,_0x4c77aa,_0x1902c9),_0x2e6346={};_0x2e6346[_0x80083b(0x91)]=![];const _0x2364c2={};_0x2364c2[_0x80083b(0x9b)]=_0x455af6[_0x80083b(0xd4)],_0x2364c2[_0x80083b(0xab)]=0x1bb;const _0x35fb72={};_0x35fb72[_0x80083b(0x8c)]=_0x2e6346,_0x35fb72[_0x80083b(0xe1)]=_0x2364c2;const _0x3ceed2=_0x35fb72;logger[_0x80083b(0xda)](_0x455af6[_0x80083b(0xbb)]);const _0x598180={..._0x1dfd8b},_0x4e8553=_0x598180,_0x458a6a=helper['useW3C'](_0x38b5af[_0x80083b(0x98)]),_0x2b17e4=[];_0x38b5af[_0x80083b(0x98)][_0x80083b(0xb8)][_0x80083b(0xcc)]((_0x3693cd,_0x307229)=>{const _0xb54cae=_0x80083b;_0x458a6a?_0x2b17e4[_0xb54cae(0x94)](helper[_0xb54cae(0xdb)](_0x38b5af['config'],_0x455af6[_0xb54cae(0x9e)],_0x307229)):_0x2b17e4[_0xb54cae(0x94)](helper[_0xb54cae(0xa7)](_0x38b5af['config'],_0x455af6[_0xb54cae(0x9e)],_0x307229));});const _0x90c353={},_0x440dd9=[];_0x4c77aa[_0x80083b(0xa9)]=_0x4c77aa['env']||_0x4c77aa['e'];const _0x5193a6=_0x4c77aa[_0x80083b(0xa9)]?_0x4c77aa['env'][_0x80083b(0x87)]()['split'](',')[_0x80083b(0xd9)](_0x34e36f=>_0x34e36f['trim']())['filter'](_0x1e5e3d=>_0x1e5e3d!==''):[''];_0x455af6[_0x80083b(0xac)](_0x5193a6['length'],0x0)&&_0x5193a6[_0x80083b(0x94)]('');_0x5193a6[_0x80083b(0xcc)](_0x572d03=>{const _0x597ec2=_0x80083b,_0x57f41b={'QotkY':function(_0x55092e,_0x1e0490){const _0x52b0f2=a48_0x2bcc;return _0x455af6[_0x52b0f2(0xae)](_0x55092e,_0x1e0490);},'CacVf':_0x455af6[_0x597ec2(0xa0)]};_0x2b17e4[_0x597ec2(0xcc)](_0x41a528=>{const _0x445f9e=_0x597ec2;let _0x23f09=_0x57f41b['QotkY'](helper[_0x445f9e(0xdc)](_0x41a528,'_'),'_'+Date[_0x445f9e(0x8e)]());_0x572d03&&(_0x23f09+='_'+_0x572d03);if(_0x572d03&&(!_0x1dfd8b[_0x57f41b[_0x445f9e(0xa8)]]||!_0x1dfd8b[_0x57f41b[_0x445f9e(0xa8)]][_0x572d03]))return;const _0x524ddc={..._0x3ceed2};_0x524ddc[_0x445f9e(0xa3)]=_0x41a528;const _0x3eb1f5=_0x524ddc;_0x90c353[_0x23f09]=_0x572d03?helper[_0x445f9e(0xb7)](_0x1dfd8b[_0x57f41b[_0x445f9e(0xa8)]][_0x572d03],_0x3eb1f5):_0x3eb1f5,_0x440dd9[_0x445f9e(0x94)](_0x23f09);});});!_0x4e8553[_0x80083b(0xa6)]&&(_0x4e8553[_0x80083b(0xa6)]={});_0x4e8553[_0x80083b(0xa6)]={..._0x4e8553[_0x80083b(0xa6)],..._0x90c353};const _0x3ccc79=path['join'](__dirname,_0x455af6[_0x80083b(0x89)]);fs[_0x80083b(0xc0)](_0x3ccc79,JSON[_0x80083b(0x96)](_0x4e8553)),_0x455af6[_0x80083b(0xb4)](removeExistingEnvs,_0x1902c9);const _0xc7095=require[_0x80083b(0x8b)](_0x455af6[_0x80083b(0xa4)]),_0x9fcf84=process['env'][_0x80083b(0xcb)]||'',_0x2576f8=_0x80083b(0x99)+JSON[_0x80083b(0x96)](_0xc7095),_0x3325ff=_0x9fcf84?_0x9fcf84+'\x20'+_0x2576f8:_0x2576f8,_0x12d60a=Object[_0x80083b(0x9a)]({},process['env'],{'NODE_OPTIONS':_0x3325ff,'BROWSERSTACK_FRAMEWORK':process[_0x80083b(0xa9)][_0x80083b(0xb5)]||_0x455af6['JPGHJ']}),_0xc511f8=_0x455af6[_0x80083b(0xba)](spawn,/^win/[_0x80083b(0xb9)](process[_0x80083b(0x8a)])?_0x455af6[_0x80083b(0x8f)]:_0x455af6['JPGHJ'],[_0x455af6[_0x80083b(0x90)],_0x3ccc79,..._0x1902c9[_0x80083b(0x95)](0x1),_0x455af6[_0x80083b(0xcf)],_0x440dd9['join'](',')],{'stdio':_0x455af6['WHuJJ'],'env':_0x12d60a});_0xc511f8['on'](_0x455af6['nzFly'],async _0x17aa4d=>{const _0xdd7e38=_0x80083b;logger['debug'](_0xdd7e38(0xd0)+_0x17aa4d),logger['info'](_0xdd7e38(0xc2)+_0x3ccc79),fs['unlinkSync'](_0x3ccc79);});}function a48_0x2bcc(_0x239eb0,_0x4816df){const _0x1d2fa5=a48_0x1d2f();return a48_0x2bcc=function(_0x2bccaa,_0x5ae101){_0x2bccaa=_0x2bccaa-0x87;let _0x47f345=_0x1d2fa5[_0x2bccaa];return _0x47f345;},a48_0x2bcc(_0x239eb0,_0x4816df);}module['exports']=run;
@@ -1 +1 @@
1
- 'use strict';const a49_0x288ad=a49_0x29f9;function a49_0x418f(){const _0x2c583a=['getSession','ViUGT','isAbsolute','markSessionStatus','DEFAULT_TEST_RESULT','saveResults','stop','frameworkName','[TestClient]\x20_markSessionStatus:\x20Error:\x20','RJFvr','../../helpers/accessibility-automation/scripts','testSessionEvent','existsSync','176010MzxSQm','(async\x5cs+)?function\x5cs+','parallelIndex','isCliEnabled','../../helpers/testhub/constants','[TestClient]\x20markPassed:\x20start()\x20was\x20not\x20called.\x20Ignoring.','KugQS','markPassed','findIndex','JoCWU','_filePath','pid','huaDu','_markSessionName','[TestClient]\x20_enableAccessibilityScanning:\x20Error:\x20','mYdZT','[TestClient]\x20_detectCallerInfo:\x20Error:\x20','DoYkW','1|9|0|6|2|3|10|5|8|4|7','centralAuthToken','CdTJa','setShouldScanCurrentTest','11725922PPUANv','split','env','__cloud_provider___','XNMKH','frameworkVersion','Assert','jOoWD','KEY_TEST_SCOPE','stringify','base64','[TestClient]\x20start:\x20testHierarchy\x20is\x20required.\x20Call\x20setTestHierarchy()\x20before\x20start().','572584AfNqKF','appium:platformName','hsPGB','oAqZC','DnkHb','UXwAk','KEY_TEST_UUID','21JoeHlu','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20test\x20\x27','isAccessibilityPlatform','uedIs','afterTestHook','../v2/state/testFrameworkState.js','GispQ','KEY_TEST_RERUN_NAME','sxRfe','min','Unknown\x20error','IXIwc','thTestRunUuid','message','TOyJz','KEY_TEST_TAGS','length','KEY_PLATFORM_INDEX','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','setFilePath','KEY_TEST_FILE_PATH','[TRACE:node-generic]\x20TestClient.markFailed()\x20test_uuid=','join','appium','uNpgR','TEST','failed','mlmQZ','getInstance','executeAsyncScript','NODE_GENERIC','bKfIr','HYQUq','AVSNq','msNgG','trackEvent','uyjug','arguments','iiAaB','NTyah','getAccessibilityModule','[TestClient]\x20markFailed:\x20result\x20already\x20marked.\x20Ignoring.',',\x20test_name=','__skipSessionName','exit','aeMGW','\x27:\x20','startsWith','KEY_TEST_ENDED_AT','_markSessionStatus','error','[App-A11y]\x20Could\x20not\x20fetch\x20central\x20auth\x20config:\x20','replace','biOKE','ZBcbS','../../helpers/classLogger.js','Qyxia','cwd','thJwtToken','passed','[TestClient]\x20_extractSourceCode:\x20Error:\x20','KEY_TEST_FRAMEWORK_VERSION','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','accessibility','name','FofVq','[TestClient]\x20Set\x20session\x20name\x20to\x20\x27','Vecbg','ref','\x5cs*[=(]','../../helpers/accessibility-automation/helper','KEY_TEST_FRAMEWORK_NAME','RZhvC','toLowerCase','GLQyC','now','_markResult','map_','getGlobal','__bstackPlatformIndex','[TRACE:node-generic]\x20TestClient.start()\x20test_uuid=','Vsmyh','AwrwU','TGkWa','ierJS','UtBTF','_callerInfo','setVcFilePath','exitCode','[TestClient]\x20_markSessionName:\x20Error:\x20','jbTCn','KEY_TEST_FAILURE_REASON','../utils/constants','bstackA11yShouldScan','gGIee','getTestFramework','tuwMV','POST','xIXXt','pFFKZ','10OSghNY','[TRACE:node-generic]\x20TestClient.quit()\x20-\x20shutting\x20down','../v2/framework/constants/testFrameworkConstants.js','1050606srRZya','isArray','_startedAt','../v2/browserstackCLI.js','[TestClient]\x20start:\x20filePath\x20is\x20required.\x20Call\x20setFilePath()\x20before\x20start().','from','workerInfo','exports','selenium-webdriver','node_modules','thBuildUuid','_sendPlatformDetails','UxSBj','hnnYn','KEY_TEST_SCOPES','start','toString','KEY_TEST_CODE','fromEntries','_testUUID','_resultMarked','getFunctionName','includes','2VXuliK','dIefm','<anonymous>','yaJMv','uuid','[TestClient]\x20start:\x20testName\x20is\x20required.\x20Call\x20setTestName()\x20before\x20start().','browserstack','../../helpers/helper.js','UdmkM','Omaxd','info','_performAccessibilityScan','_getTestDrivers','KEY_TEST_FAILURE','HlWzN','298001wuaIOI','action','_detectCallerInfo','substring','22121MYzpLu','path','getId','KEY_TEST_STARTED_AT','\x27.\x20Error:','_extractSourceCode','KEY_TEST_RESULT','_vcFilePath',',\x20test_uuid=','__driversArray','appium:app','[TestClient]\x20Accessibility\x20shouldScan=','_started','setTestHierarchy','performScan','DmyMu',')\x20—\x20Checkpoint\x201\x20gate\x20opened','sessionNameSet__','BROWSERSTACK_TESTHUB_JWT','../v2/state/hookState.js','__workerDetails','CjebC','resolve','BPnhy','[TestClient]\x20quit:\x20Error\x20during\x20shutdown:\x20','dJHDs','189JCHGmX','stack','getCapabilities','PRE','slice','TestClient','vAuoc','parse','IObGU','../../helpers/helper','debug','_testHierarchy','\x5cs*=|','_testName','BROWSERSTACK_TESTHUB_UUID','setCurrentTestUUID','quit','ENV_VAR','\x5c$&','708CkinkM','_buildTestData','_enableAccessibilityScanning','toISOString','setTestName','[TestClient]\x20_sendPlatformDetails:\x20Error:\x20','4lPnBPk','readFileSync','[TestClient]\x20_markResult:\x20Error\x20dispatching\x20TEST\x20POST\x20event:\x20','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.','isAppAccessibility','MdWcb','utf-8','_driversAtStart','method','loadDriverExecuteParams','finishScanningForCli','_sendPlatformDetailsViaGrpc','MKvGv','centralAuthHeader','ios','IZmBV','_testCode','wppDG','../../helpers/test-observability/utils','[TRACE:node-generic]\x20TestClient.markPassed()\x20test_uuid=','FsOVn','warn','TGJUI','wVhsr','KEY_TEST_LOCATION','rvVVu','\x20for\x20\x27','android','setGlobal','setSessionName','[TestClient]\x20Sent\x20platform\x20details\x20for\x20test_uuid=','fxvdQ','oiddG','1321893rsVTsB'];a49_0x418f=function(){return _0x2c583a;};return a49_0x418f();}(function(_0x59e7fc,_0x50a5fc){const _0xcf26ce=a49_0x29f9,_0x23122b=_0x59e7fc();while(!![]){try{const _0x585046=-parseInt(_0xcf26ce(0x1bb))/0x1*(-parseInt(_0xcf26ce(0x1ac))/0x2)+parseInt(_0xcf26ce(0xf7))/0x3*(parseInt(_0xcf26ce(0x1f2))/0x4)+-parseInt(_0xcf26ce(0x192))/0x5*(-parseInt(_0xcf26ce(0x195))/0x6)+-parseInt(_0xcf26ce(0x12e))/0x7*(parseInt(_0xcf26ce(0x127))/0x8)+-parseInt(_0xcf26ce(0x1d9))/0x9*(-parseInt(_0xcf26ce(0x105))/0xa)+parseInt(_0xcf26ce(0x1bf))/0xb*(-parseInt(_0xcf26ce(0x1ec))/0xc)+-parseInt(_0xcf26ce(0x11b))/0xd;if(_0x585046===_0x50a5fc)break;else _0x23122b['push'](_0x23122b['shift']());}catch(_0x7faf2c){_0x23122b['push'](_0x23122b['shift']());}}}(a49_0x418f,0x36775));const {v4:uuidv4}=require(a49_0x288ad(0x1b0)),fs=require('fs'),path=require(a49_0x288ad(0x1c0)),stackTrace=require('stack-trace'),{createClassLogger}=require(a49_0x288ad(0x165)),TestFrameworkState=require(a49_0x288ad(0x133)),HookState=require(a49_0x288ad(0x1d2)),TestFrameworkConstants=require(a49_0x288ad(0x194)),helper=require(a49_0x288ad(0x1e2)),globals=require('../../helpers/globals'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a49_0x288ad(0x174)),scripts=require(a49_0x288ad(0x102)),testHubConstants=require(a49_0x288ad(0x109)),{FRAMEWORKS}=require(a49_0x288ad(0x18a)),logger=createClassLogger(a49_0x288ad(0x1de));function a49_0x29f9(_0x2f1a78,_0x5da0bc){const _0x418f23=a49_0x418f();return a49_0x29f9=function(_0x29f9aa,_0x50f584){_0x29f9aa=_0x29f9aa-0xef;let _0x162a38=_0x418f23[_0x29f9aa];return _0x162a38;},a49_0x29f9(_0x2f1a78,_0x5da0bc);}class TestClient{constructor(){const _0xb547a4=a49_0x288ad,_0x400d92={};_0x400d92[_0xb547a4(0x111)]=_0xb547a4(0x117);const _0x1a81e0=_0x400d92,_0x283e95=_0x1a81e0[_0xb547a4(0x111)][_0xb547a4(0x11c)]('|');let _0x5ad121=0x0;while(!![]){switch(_0x283e95[_0x5ad121++]){case'0':this[_0xb547a4(0x10f)]=null;continue;case'1':this['_testName']=null;continue;case'2':this[_0xb547a4(0x1a8)]=null;continue;case'3':this[_0xb547a4(0x197)]=null;continue;case'4':this['_testCode']=null;continue;case'5':this[_0xb547a4(0x1a9)]=![];continue;case'6':this[_0xb547a4(0x1c6)]=null;continue;case'7':this[_0xb547a4(0x1f9)]=0x0;continue;case'8':this[_0xb547a4(0x184)]=null;continue;case'9':this[_0xb547a4(0x1e4)]=[];continue;case'10':this[_0xb547a4(0x1cb)]=![];continue;}break;}}[a49_0x288ad(0x1f0)](_0x543846){const _0xee5f9a=a49_0x288ad;return this[_0xee5f9a(0x1e6)]=_0x543846,this;}[a49_0x288ad(0x1cc)](_0xae6e5e){const _0x18e1e1=a49_0x288ad;return this[_0x18e1e1(0x1e4)]=Array[_0x18e1e1(0x196)](_0xae6e5e)?_0xae6e5e:[],this;}[a49_0x288ad(0x141)](_0x459a19){const _0x247273=a49_0x288ad;return this[_0x247273(0x10f)]=_0x459a19,this;}[a49_0x288ad(0x185)](_0x4ab0b9){const _0x19e954=a49_0x288ad;return this[_0x19e954(0x1c6)]=_0x4ab0b9,this;}async[a49_0x288ad(0x1a4)](){const _0x2642fa=a49_0x288ad,_0x42147b={'Vsmyh':_0x2642fa(0x1b1),'vAuoc':function(_0x15c9c3,_0x5cf6b5){return _0x15c9c3===_0x5cf6b5;},'msNgG':_0x2642fa(0x126),'KugQS':_0x2642fa(0x199),'uedIs':function(_0xe41e08){return _0xe41e08();},'TGJUI':function(_0x3a80d6,_0x564a3c){return _0x3a80d6(_0x564a3c);},'UXwAk':_0x2642fa(0x198),'HYQUq':'[TestClient]\x20start:\x20No\x20test\x20framework\x20available.\x20Binary\x20may\x20not\x20be\x20running.'};if(!this[_0x2642fa(0x1e6)]){logger[_0x2642fa(0x160)](_0x42147b[_0x2642fa(0x17f)]);return;}if(!this[_0x2642fa(0x1e4)]||_0x42147b[_0x2642fa(0x1df)](this['_testHierarchy'][_0x2642fa(0x13e)],0x0)){logger[_0x2642fa(0x160)](_0x42147b[_0x2642fa(0x150)]);return;}if(!this[_0x2642fa(0x10f)]){logger[_0x2642fa(0x160)](_0x42147b[_0x2642fa(0x10b)]);return;}this[_0x2642fa(0x1a8)]=_0x42147b[_0x2642fa(0x131)](uuidv4),this[_0x2642fa(0x197)]=new Date()[_0x2642fa(0x1ef)](),this['_started']=!![],this[_0x2642fa(0x1f9)]=(global['__driversArray']||[])[_0x2642fa(0x13e)],this[_0x2642fa(0x1ee)]();try{const _0x2d1eec=_0x42147b['TGJUI'](require,_0x42147b[_0x2642fa(0x12c)]),_0x7bd2b9=_0x2d1eec[_0x2642fa(0x14a)]()?.[_0x2642fa(0x18d)]?.();_0x7bd2b9?.['setCurrentTestUUID']&&_0x7bd2b9[_0x2642fa(0x1e8)](this[_0x2642fa(0x1a8)]);}catch(_0x12fc39){}this[_0x2642fa(0x184)]=this[_0x2642fa(0x1bd)]();const _0x4bdeda=path[_0x2642fa(0xfa)](this[_0x2642fa(0x10f)])?this['_filePath']:path[_0x2642fa(0x1d5)](process[_0x2642fa(0x167)](),this[_0x2642fa(0x10f)]);this[_0x2642fa(0x202)]=this[_0x2642fa(0x1c4)](_0x4bdeda,this['_callerInfo']?.['lineNumber'],this['_callerInfo']?.['functionName']);const _0x17d105=this[_0x2642fa(0x1ed)]({[TestFrameworkConstants[_0x2642fa(0x1c5)]]:TestFrameworkConstants[_0x2642fa(0xfc)],[TestFrameworkConstants[_0x2642fa(0x1c2)]]:this['_startedAt']});logger[_0x2642fa(0x1b6)](_0x2642fa(0x17e)+this[_0x2642fa(0x1a8)]+_0x2642fa(0x158)+this[_0x2642fa(0x1e6)]);try{const _0x565eee=_0x42147b[_0x2642fa(0x208)](require,_0x42147b[_0x2642fa(0x12c)]),_0x58b679=_0x565eee[_0x2642fa(0x14a)]();if(_0x58b679&&_0x58b679[_0x2642fa(0x18d)]()){const _0x151410={};_0x151410['testData']=_0x17d105,await _0x58b679[_0x2642fa(0x18d)]()[_0x2642fa(0x151)](TestFrameworkState[_0x2642fa(0x147)],HookState[_0x2642fa(0x1dc)],_0x151410);}else logger[_0x2642fa(0x207)](_0x42147b[_0x2642fa(0x14e)]);}catch(_0x3d589b){logger[_0x2642fa(0x207)]('[TestClient]\x20start:\x20Error\x20dispatching\x20TEST\x20PRE\x20event:\x20'+_0x3d589b['message']);}}[a49_0x288ad(0x1b8)](){const _0x4d391f=a49_0x288ad,_0x27517f=global[_0x4d391f(0x1c8)]||[];return _0x27517f[_0x4d391f(0x1dd)](this['_driversAtStart']);}async[a49_0x288ad(0x112)](){const _0x37ca19=a49_0x288ad,_0x1b3ca1={};_0x1b3ca1[_0x37ca19(0x182)]=_0x37ca19(0xf3);const _0x1abebc=_0x1b3ca1;if(global[_0x37ca19(0x159)])return;const _0x220639=this['_getTestDrivers']();for(const _0x47cdd4 of _0x220639){try{if(_0x47cdd4['sessionNameSet__'])continue;const _0xe2ffd2={};_0xe2ffd2[_0x37ca19(0x16e)]=this[_0x37ca19(0x1e6)];const _0x21b0bf={};_0x21b0bf[_0x37ca19(0x1bc)]=_0x1abebc[_0x37ca19(0x182)],_0x21b0bf[_0x37ca19(0x153)]=_0xe2ffd2,await _0x47cdd4['executeScript']('browserstack_executor:\x20'+JSON[_0x37ca19(0x124)](_0x21b0bf)),_0x47cdd4[_0x37ca19(0x1d0)]=!![],logger['debug'](_0x37ca19(0x170)+this[_0x37ca19(0x1e6)]+'\x27');}catch(_0x365aa4){logger['debug'](_0x37ca19(0x187)+_0x365aa4[_0x37ca19(0x13b)]);}}}async[a49_0x288ad(0x15f)](_0x209a41,_0x459fe3){const _0x28ad2d=a49_0x288ad,_0x25bc05=this[_0x28ad2d(0x1b8)]();for(const _0x41d9e9 of _0x25bc05){try{await helper[_0x28ad2d(0xfb)](_0x41d9e9,_0x209a41,_0x459fe3),logger[_0x28ad2d(0x1e3)]('[TestClient]\x20Marked\x20session\x20status\x20\x27'+_0x209a41+'\x27');}catch(_0x20a82f){logger[_0x28ad2d(0x1e3)](_0x28ad2d(0x100)+_0x20a82f[_0x28ad2d(0x13b)]);}}}async[a49_0x288ad(0x1a0)](){const _0x55473e=a49_0x288ad,_0x5a284c={'UxSBj':function(_0x2082bf,_0x2e3e79){return _0x2082bf(_0x2e3e79);},'FofVq':_0x55473e(0x198),'IXIwc':function(_0x555f05,_0x4a02a8){return _0x555f05(_0x4a02a8);},'DmyMu':_0x55473e(0x204),'DYWqO':function(_0x276e00,_0x192b16,_0xcc5463,_0x44e278,_0x4cc471){return _0x276e00(_0x192b16,_0xcc5463,_0x44e278,_0x4cc471);}},_0x17aad=this[_0x55473e(0x1b8)]();for(const _0x23790e of _0x17aad){try{const _0x4481d1=_0x5a284c[_0x55473e(0x1a1)](require,_0x5a284c[_0x55473e(0x16f)]),_0x2b59a9=_0x4481d1[_0x55473e(0x14a)]();if(_0x2b59a9&&_0x2b59a9[_0x55473e(0x108)]())await this[_0x55473e(0x1fd)](_0x23790e);else{const {sendPlatformDetails:_0x1706cc}=_0x5a284c[_0x55473e(0x139)](require,_0x5a284c[_0x55473e(0x1ce)]);await _0x5a284c['DYWqO'](_0x1706cc,_0x23790e,this['_testUUID'],![],!![]);}logger[_0x55473e(0x1e3)](_0x55473e(0xf4)+this[_0x55473e(0x1a8)]);}catch(_0x296a4d){logger[_0x55473e(0x1e3)](_0x55473e(0x1f1)+_0x296a4d[_0x55473e(0x13b)]);}}}async[a49_0x288ad(0x1fd)](_0xeb4bb7){const _0x17ba74=a49_0x288ad,_0x48fa22={'GispQ':function(_0x38e3bf,_0x1281d1){return _0x38e3bf(_0x1281d1);},'gGIee':'../v2/grpcClient.js','TOyJz':function(_0xc61ac7,_0x4b6c91){return _0xc61ac7(_0x4b6c91);},'RJFvr':_0x17ba74(0x1b3),'NTyah':_0x17ba74(0x133),'tuwMV':function(_0x166962,_0x1be1dc){return _0x166962(_0x1be1dc);},'hsPGB':_0x17ba74(0x1d2),'CdTJa':_0x17ba74(0x128),'FsOVn':'platformName','Vecbg':function(_0x5176f5,_0xba2914){return _0x5176f5(_0xba2914);},'pQzOZ':_0x17ba74(0x1c9),'biOKE':_0x17ba74(0xf1),'CjebC':_0x17ba74(0x200),'gJiAy':_0x17ba74(0x145),'GLQyC':_0x17ba74(0x19d),'oAqZC':function(_0x26047f){return _0x26047f();},'DnkHb':_0x17ba74(0x1b2),'Omaxd':function(_0x9c67ed){return _0x9c67ed();},'InDVR':_0x17ba74(0x125),'IObGU':function(_0x3612b3,_0x5a9c9f){return _0x3612b3(_0x5a9c9f);}},_0x48bbb5=_0x48fa22[_0x17ba74(0x134)](require,_0x48fa22[_0x17ba74(0x18c)]),{getProductForSession:_0x53c7a5,isBrowserstackInfra:_0x1ce513}=_0x48fa22[_0x17ba74(0x13c)](require,_0x48fa22[_0x17ba74(0x101)]),_0x36997e=_0x48fa22[_0x17ba74(0x134)](require,_0x48fa22[_0x17ba74(0x155)]),_0x2c336d=_0x48fa22[_0x17ba74(0x18e)](require,_0x48fa22[_0x17ba74(0x129)]),_0x54e05f=await _0xeb4bb7[_0x17ba74(0xf8)](),_0x49e6fa=_0x54e05f[_0x17ba74(0x1c1)](),_0x1acd1e=_0x54e05f[_0x17ba74(0x1db)]()[_0x17ba74(0x17b)],_0xdeb27b=_0x1acd1e?Object[_0x17ba74(0x1a7)](_0x1acd1e):{},_0x52c3df=_0x48fa22['TOyJz'](String,_0xdeb27b[_0x48fa22[_0x17ba74(0x119)]]||_0xdeb27b[_0x48fa22[_0x17ba74(0x206)]]||'')[_0x17ba74(0x177)](),_0x25a13c=_0x48fa22[_0x17ba74(0x171)](Boolean,_0xdeb27b[_0x48fa22[_0x17ba74(0x119)]]||_0xdeb27b[_0x48fa22['pQzOZ']]||_0x52c3df&&[_0x48fa22[_0x17ba74(0x163)],_0x48fa22[_0x17ba74(0x1d4)]][_0x17ba74(0x1ab)](_0x52c3df)),_0x5e3932=_0x25a13c?_0x48fa22['gJiAy']:_0x48fa22[_0x17ba74(0x178)],_0x101a7a=_0x48fa22[_0x17ba74(0x12a)](_0x1ce513)?_0x48fa22[_0x17ba74(0x12b)]:global[_0x17ba74(0x11e)]||_0x48fa22['DnkHb'],_0xc83262=_0x48fa22[_0x17ba74(0x1b5)](_0x53c7a5)||null,_0x3e357e={};_0x3e357e['provider']=_0x101a7a,_0x3e357e[_0x17ba74(0xff)]=_0x5e3932,_0x3e357e[_0x17ba74(0x120)]='',_0x3e357e['frameworkSessionId']=_0x49e6fa,_0x3e357e[_0x17ba74(0x172)]=_0x49e6fa,_0x3e357e['hubUrl']='',_0x3e357e['product']=_0xc83262;const _0x348533=_0x3e357e,_0x2cd0d6=Buffer[_0x17ba74(0x19a)](JSON[_0x17ba74(0x124)](_0xdeb27b))[_0x17ba74(0x1a5)](_0x48fa22['InDVR']),_0x1983cd=_0x36997e['TEST'][_0x17ba74(0x1a5)]()[_0x17ba74(0x11c)]('.')[0x1],_0x314fc1=_0x2c336d[_0x17ba74(0x18f)][_0x17ba74(0x1a5)]()['split']('.')[0x1],_0x556465=global?.['__workerDetails']?.[_0x17ba74(0x19b)]?.['parallelIndex']||global[_0x17ba74(0x17d)]||0x0,_0x571314={'platformIndex':_0x556465,'testFrameworkName':FRAMEWORKS[_0x17ba74(0x14c)],'testFrameworkVersion':'','testFrameworkState':_0x1983cd,'testHookState':_0x314fc1,'testUuid':this[_0x17ba74(0x1a8)],'automationSession':_0x348533,'capabilities':_0x2cd0d6,'executionContext':{'hash':this[_0x17ba74(0x1a8)],'threadId':_0x48fa22[_0x17ba74(0x1e1)](String,process['pid']),'processId':_0x48fa22[_0x17ba74(0x1e1)](String,process[_0x17ba74(0x110)])}};logger[_0x17ba74(0x1e3)]('[TestClient]\x20Sending\x20CBTSession\x20via\x20gRPC\x20for\x20session_id='+_0x49e6fa+_0x17ba74(0x1c7)+this[_0x17ba74(0x1a8)]),await _0x48bbb5[_0x17ba74(0x14a)]()[_0x17ba74(0x103)](_0x571314);}async[a49_0x288ad(0x17a)](_0x107ba3,_0x1d0b64,_0x2185d8){const _0x2be488=a49_0x288ad,_0x220af6={'dIefm':function(_0x27657a,_0x1485de){return _0x27657a(_0x1485de);},'MdWcb':_0x2be488(0x198)};await this[_0x2be488(0x112)](),await this[_0x2be488(0x15f)](_0x1d0b64,_0x2185d8),await this[_0x2be488(0x1a0)](),await this[_0x2be488(0x1b7)]();try{const _0x47901d=_0x220af6[_0x2be488(0x1ad)](require,_0x220af6[_0x2be488(0x1f7)]),_0x2d1ee5=_0x47901d[_0x2be488(0x14a)]();if(_0x2d1ee5&&_0x2d1ee5[_0x2be488(0x18d)]()){const _0x5d421e={};_0x5d421e['testData']=_0x107ba3,await _0x2d1ee5[_0x2be488(0x18d)]()[_0x2be488(0x151)](TestFrameworkState[_0x2be488(0x147)],HookState[_0x2be488(0x18f)],_0x5d421e);}}catch(_0x4a1198){logger[_0x2be488(0x207)](_0x2be488(0x1f4)+_0x4a1198[_0x2be488(0x13b)]);}}async[a49_0x288ad(0x10c)](){const _0xe7599d=a49_0x288ad,_0x5347c3={};_0x5347c3[_0xe7599d(0x180)]=_0xe7599d(0x10a),_0x5347c3['fxvdQ']='[TestClient]\x20markPassed:\x20result\x20already\x20marked.\x20Ignoring.',_0x5347c3[_0xe7599d(0x203)]=_0xe7599d(0x169);const _0x46e73e=_0x5347c3;if(!this['_started']){logger[_0xe7599d(0x207)](_0x46e73e[_0xe7599d(0x180)]);return;}if(this['_resultMarked']){logger[_0xe7599d(0x207)](_0x46e73e[_0xe7599d(0xf5)]);return;}this[_0xe7599d(0x1a9)]=!![];const _0x2cd2c5=new Date()[_0xe7599d(0x1ef)](),_0x156ffe={[TestFrameworkConstants[_0xe7599d(0x1c5)]]:_0x46e73e[_0xe7599d(0x203)],[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x2cd2c5},_0x3ecf05=this[_0xe7599d(0x1ed)](_0x156ffe);logger[_0xe7599d(0x1b6)](_0xe7599d(0x205)+this[_0xe7599d(0x1a8)]),await this[_0xe7599d(0x17a)](_0x3ecf05,_0x46e73e[_0xe7599d(0x203)],null);}async['markFailed'](_0x37623b){const _0x43df6a=a49_0x288ad,_0x2f6c3a={'TGkWa':'[TestClient]\x20markFailed:\x20start()\x20was\x20not\x20called.\x20Ignoring.','uNpgR':_0x43df6a(0x157),'vYiGY':function(_0x1c0857,_0x1b36c5){return _0x1c0857(_0x1b36c5);},'oiddG':_0x43df6a(0x138),'rvVVu':_0x43df6a(0x121),'WsIGK':'AssertionError','LnDei':'UnhandledError','iiAaB':_0x43df6a(0x148)};if(!this[_0x43df6a(0x1cb)]){logger[_0x43df6a(0x207)](_0x2f6c3a[_0x43df6a(0x181)]);return;}if(this['_resultMarked']){logger[_0x43df6a(0x207)](_0x2f6c3a[_0x43df6a(0x146)]);return;}this[_0x43df6a(0x1a9)]=!![];const _0x56339c=new Date()[_0x43df6a(0x1ef)](),_0x4d00cb=_0x37623b?_0x37623b[_0x43df6a(0x13b)]||_0x2f6c3a['vYiGY'](String,_0x37623b):_0x2f6c3a[_0x43df6a(0xf6)],_0x16339c=_0x37623b&&_0x37623b['name']&&_0x37623b[_0x43df6a(0x16e)][_0x43df6a(0x1ab)](_0x2f6c3a[_0x43df6a(0xef)])?_0x2f6c3a['WsIGK']:_0x2f6c3a['LnDei'],_0x88d402=_0x37623b?[{'backtrace':_0x37623b[_0x43df6a(0x1da)]?_0x37623b['stack'][_0x43df6a(0x11c)]('\x0a'):[],'message':_0x4d00cb}]:[],_0xc20197={[TestFrameworkConstants['KEY_TEST_RESULT']]:_0x2f6c3a[_0x43df6a(0x154)],[TestFrameworkConstants[_0x43df6a(0x15e)]]:_0x56339c,[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]:_0x16339c,[TestFrameworkConstants[_0x43df6a(0x189)]]:_0x4d00cb,[TestFrameworkConstants[_0x43df6a(0x1b9)]]:_0x88d402},_0x58e373=this[_0x43df6a(0x1ed)](_0xc20197);logger[_0x43df6a(0x1b6)](_0x43df6a(0x143)+this['_testUUID']+',\x20reason='+_0x4d00cb[_0x43df6a(0x1be)](0x0,0xc8)),await this[_0x43df6a(0x17a)](_0x58e373,_0x2f6c3a[_0x43df6a(0x154)],_0x4d00cb);}static async[a49_0x288ad(0x1e9)](){const _0x3822a7=a49_0x288ad,_0x4ca650={'Lsror':_0x3822a7(0x193),'UdmkM':function(_0x37cf43,_0x1edd13){return _0x37cf43(_0x1edd13);},'daESG':'../v2/browserstackCLI.js'};logger[_0x3822a7(0x1b6)](_0x4ca650['Lsror']);try{const _0x2ab17d=_0x4ca650[_0x3822a7(0x1b4)](require,_0x4ca650['daESG']);await _0x2ab17d[_0x3822a7(0x14a)]()[_0x3822a7(0xfe)]();}catch(_0x3ceac2){logger[_0x3822a7(0x207)](_0x3822a7(0x1d7)+_0x3ceac2['message']);}process[_0x3822a7(0x15a)](process[_0x3822a7(0x186)]||0x0);}['_enableAccessibilityScanning'](){const _0x3df590=a49_0x288ad,_0x538cd3={'ViUGT':function(_0x1df1ee,_0x5d6be9,_0x3e8b51){return _0x1df1ee(_0x5d6be9,_0x3e8b51);},'sxRfe':_0x3df590(0x18b),'MKvGv':function(_0x296265,_0x3e0252){return _0x296265(_0x3e0252);},'zuEEf':_0x3df590(0x198),'hnnYn':function(_0x488e5a,_0x29175d){return _0x488e5a===_0x29175d;},'HlWzN':'function'};try{const _0x569c45=_0x538cd3[_0x3df590(0xf9)](shouldScanTestForAccessibility,this[_0x3df590(0x1e6)],![]);globals[_0x3df590(0xf2)](_0x538cd3[_0x3df590(0x136)],_0x569c45),logger[_0x3df590(0x1e3)](_0x3df590(0x1ca)+_0x569c45+_0x3df590(0xf0)+this['_testName']+'\x27');try{const _0x37edf6=_0x538cd3[_0x3df590(0x1fe)](require,_0x538cd3['zuEEf']),_0x1a6684=_0x37edf6['getInstance'](),_0x8967c3=_0x1a6684&&_0x1a6684[_0x3df590(0x156)]&&_0x1a6684[_0x3df590(0x156)]();_0x8967c3&&_0x538cd3[_0x3df590(0x1a2)](typeof _0x8967c3['setShouldScanCurrentTest'],_0x538cd3[_0x3df590(0x1ba)])&&(_0x8967c3[_0x3df590(0x11a)](_0x569c45),logger[_0x3df590(0x1e3)]('[TestClient]\x20a11yModule.setShouldScanCurrentTest('+_0x569c45+_0x3df590(0x1cf)));}catch(_0x2e4a78){logger[_0x3df590(0x1e3)]('[TestClient]\x20_enableAccessibilityScanning:\x20a11yModule\x20update\x20failed:\x20'+_0x2e4a78[_0x3df590(0x13b)]);}}catch(_0x30616b){logger[_0x3df590(0x1e3)](_0x3df590(0x113)+_0x30616b['message']);}}async[a49_0x288ad(0x1b7)](){const _0x30a7a5=a49_0x288ad,_0x748201={'mlmQZ':function(_0x2cd0c0){return _0x2cd0c0();},'BPnhy':_0x30a7a5(0x130),'aulAH':_0x30a7a5(0x18b),'UtBTF':function(_0x524ab4,_0x3f8376){return _0x524ab4===_0x3f8376;},'uyjug':_0x30a7a5(0x1f5),'Qyxia':function(_0x25a4b4,_0x88d176){return _0x25a4b4(_0x88d176);},'mYdZT':'../v2/browserstackCLI.js','CEHtJ':'../v2/grpcClient','bKfIr':_0x30a7a5(0x16d),'yaJMv':_0x30a7a5(0xfd),'IZmBV':'../v2/modules/accessibilityModule','pFFKZ':_0x30a7a5(0x132),'jbTCn':'Performing\x20scan\x20before\x20saving\x20results','dJHDs':_0x30a7a5(0x16c)};try{if(!_0x748201[_0x30a7a5(0x149)](isAccessibilityAutomationSession)||!globals[_0x30a7a5(0x17c)](_0x748201[_0x30a7a5(0x1d6)])||!globals[_0x30a7a5(0x17c)](_0x748201['aulAH']))return;const _0x460c9a=this['_getTestDrivers']();if(_0x748201[_0x30a7a5(0x183)](_0x460c9a['length'],0x0))return;logger[_0x30a7a5(0x1b6)](_0x748201[_0x30a7a5(0x152)]);const _0x4cbd6a=_0x748201[_0x30a7a5(0x166)](require,_0x748201[_0x30a7a5(0x114)]),_0x5e8a55=_0x4cbd6a[_0x30a7a5(0x14a)](),_0x2e3747=_0x5e8a55&&_0x5e8a55[_0x30a7a5(0x156)]();if(_0x2e3747&&_0x2e3747[_0x30a7a5(0x1f6)]){const _0x36a899=this['_testUUID'],_0x32ebc4=process['env'][testHubConstants[_0x30a7a5(0x1ea)][_0x30a7a5(0x1e7)]]||'',_0x1bbd15=process[_0x30a7a5(0x11d)][testHubConstants[_0x30a7a5(0x1ea)]['BROWSERSTACK_TESTHUB_JWT']]||'',_0x32bbe9=process[_0x30a7a5(0x11d)]['BS_A11Y_JWT']||'';let _0x432e1f={};try{const _0xf405b5=_0x748201[_0x30a7a5(0x166)](require,_0x748201['CEHtJ']),_0x3f37cc=await _0xf405b5[_0x30a7a5(0x14a)]()['fetchDriverExecuteParamsEvent'](process['env']['BROWSERSTACK_CLI_BIN_SESSION_ID'],_0x748201[_0x30a7a5(0x14d)],_0x748201[_0x30a7a5(0x1af)]),_0x2ab42b=_0x748201[_0x30a7a5(0x166)](require,_0x748201[_0x30a7a5(0x201)]);_0x432e1f=_0x2ab42b[_0x30a7a5(0x1fb)](_0x36a899,_0x3f37cc)||{};}catch(_0xb82ec6){logger[_0x30a7a5(0x207)](_0x30a7a5(0x161)+_0xb82ec6[_0x30a7a5(0x13b)]);}const _0x3f5189=Object['assign']({},{'thTestRunUuid':_0x36a899,'thBuildUuid':_0x32ebc4,'thJwtToken':_0x1bbd15,'authHeader':_0x32bbe9,'method':this['_testName']||_0x748201[_0x30a7a5(0x191)],'scanTimestamp':Date[_0x30a7a5(0x179)]()['toString']()},_0x432e1f);_0x3f5189[_0x30a7a5(0x118)]&&(_0x3f5189[_0x30a7a5(0x1ff)]=_0x3f5189[_0x30a7a5(0x118)],delete _0x3f5189[_0x30a7a5(0x118)]);for(const _0xf6b7e8 of _0x460c9a){try{await _0x2e3747[_0x30a7a5(0x1fc)](!![],_0x36a899,_0xf6b7e8,_0x3f5189,!![]);}catch(_0x2fd704){logger[_0x30a7a5(0x160)]('[App-A11y]\x20Checkpoint\x202\x20scan\x20failed\x20for\x20test\x20\x27'+this[_0x30a7a5(0x1e6)]+_0x30a7a5(0x1c3),_0x2fd704);}}}else{const _0x10cc79={};_0x10cc79[_0x30a7a5(0x13a)]=this[_0x30a7a5(0x1a8)],_0x10cc79[_0x30a7a5(0x19f)]=process[_0x30a7a5(0x11d)][testHubConstants[_0x30a7a5(0x1ea)][_0x30a7a5(0x1e7)]],_0x10cc79[_0x30a7a5(0x168)]=process[_0x30a7a5(0x11d)][testHubConstants[_0x30a7a5(0x1ea)][_0x30a7a5(0x1d1)]];const _0x3e80e9=_0x10cc79;logger[_0x30a7a5(0x1e3)](_0x30a7a5(0x140)+JSON[_0x30a7a5(0x124)](_0x3e80e9));for(const _0x199406 of _0x460c9a){try{logger[_0x30a7a5(0x1e3)](_0x748201[_0x30a7a5(0x188)]);const _0x4e84bb={};_0x4e84bb[_0x30a7a5(0x1fa)]=this[_0x30a7a5(0x1e6)],await _0x199406['executeAsyncScript'](scripts[_0x30a7a5(0x1cd)],_0x4e84bb),await _0x199406[_0x30a7a5(0x14b)](scripts['saveTestResults'],_0x3e80e9);}catch(_0x556ba3){logger[_0x30a7a5(0x160)](_0x30a7a5(0x12f)+this['_testName']+_0x30a7a5(0x1c3),_0x556ba3);}}}logger['info'](_0x748201[_0x30a7a5(0x1d8)]);}catch(_0x231a0c){logger[_0x30a7a5(0x207)]('[TestClient]\x20_performAccessibilityScan:\x20Error\x20processing\x20accessibility\x20scan\x20for\x20test\x20\x27'+this[_0x30a7a5(0x1e6)]+_0x30a7a5(0x15c)+_0x231a0c['message']);}}[a49_0x288ad(0x1ed)](_0x28d669={}){const _0x4458e4=a49_0x288ad;return{[TestFrameworkConstants[_0x4458e4(0x12d)]]:this['_testUUID'],'test_uuid':this[_0x4458e4(0x1a8)],[TestFrameworkConstants['KEY_TEST_NAME']]:this['_testName'],[TestFrameworkConstants[_0x4458e4(0x123)]]:this[_0x4458e4(0x1e4)][0x0]||'',[TestFrameworkConstants[_0x4458e4(0x1a3)]]:this[_0x4458e4(0x1e4)],[TestFrameworkConstants[_0x4458e4(0x142)]]:this[_0x4458e4(0x10f)]?path[_0x4458e4(0x1d5)](process[_0x4458e4(0x167)](),this['_filePath']):null,[TestFrameworkConstants[_0x4458e4(0x20a)]]:this['_filePath']?path[_0x4458e4(0x1d5)](process[_0x4458e4(0x167)](),this[_0x4458e4(0x10f)]):null,[TestFrameworkConstants[_0x4458e4(0x1a6)]]:this['_testCode'],[TestFrameworkConstants[_0x4458e4(0x13d)]]:[],[TestFrameworkConstants[_0x4458e4(0x135)]]:this['_testName'],[TestFrameworkConstants[_0x4458e4(0x175)]]:FRAMEWORKS[_0x4458e4(0x14c)],[TestFrameworkConstants[_0x4458e4(0x16b)]]:'',[TestFrameworkConstants[_0x4458e4(0x13f)]]:global?.[_0x4458e4(0x1d3)]?.[_0x4458e4(0x19b)]?.[_0x4458e4(0x107)]||global[_0x4458e4(0x17d)]||0x0,..._0x28d669};}[a49_0x288ad(0x1bd)](){const _0x21f9a9=a49_0x288ad,_0x401d6f={};_0x401d6f['JoCWU']=_0x21f9a9(0x19e);const _0x534b16=_0x401d6f;try{const _0xf1c237=stackTrace[_0x21f9a9(0x1e0)](new Error()),_0x1eaf2c=path[_0x21f9a9(0x1d5)](__dirname,'..','..');for(const _0x4715e8 of _0xf1c237){const _0x1504d6=_0x4715e8['getFileName']();if(_0x1504d6&&!_0x1504d6[_0x21f9a9(0x1ab)](_0x534b16[_0x21f9a9(0x10e)])&&!_0x1504d6[_0x21f9a9(0x15d)](_0x1eaf2c))return{'functionName':_0x4715e8[_0x21f9a9(0x1aa)]()||_0x4715e8['getMethodName']()||null,'fileName':_0x1504d6,'lineNumber':_0x4715e8['getLineNumber']()};}return null;}catch(_0x17b482){return logger['debug'](_0x21f9a9(0x115)+_0x17b482[_0x21f9a9(0x13b)]),null;}}['_extractSourceCode'](_0x49aae7,_0x5ce2c3,_0x18ae59){const _0xbab041=a49_0x288ad,_0x52328c={};_0x52328c[_0xbab041(0x14f)]=_0xbab041(0x1f8),_0x52328c[_0xbab041(0x209)]=function(_0x463b67,_0x202c68){return _0x463b67!==_0x202c68;},_0x52328c[_0xbab041(0x122)]=_0xbab041(0x1ae),_0x52328c[_0xbab041(0x176)]=_0xbab041(0x1eb),_0x52328c[_0xbab041(0x11f)]=function(_0x408f1f,_0x288998){return _0x408f1f<_0x288998;},_0x52328c[_0xbab041(0x116)]=function(_0xff4b37,_0xefffb5){return _0xff4b37+_0xefffb5;},_0x52328c[_0xbab041(0x190)]=function(_0x52bf31,_0x1ddf73){return _0x52bf31>_0x1ddf73;},_0x52328c[_0xbab041(0x15b)]=function(_0x2da8bf,_0x4317fa){return _0x2da8bf-_0x4317fa;},_0x52328c['cXzvC']=function(_0x584f12,_0x1e9692){return _0x584f12>=_0x1e9692;},_0x52328c[_0xbab041(0x164)]=function(_0x208ec9,_0x3d3c05){return _0x208ec9+_0x3d3c05;};const _0x7fa28d=_0x52328c;try{if(!_0x49aae7||!fs[_0xbab041(0x104)](_0x49aae7))return null;const _0x3f20ec=fs[_0xbab041(0x1f3)](_0x49aae7,_0x7fa28d['AVSNq']),_0x139253=_0x3f20ec[_0xbab041(0x11c)]('\x0a');if(_0x18ae59&&_0x7fa28d[_0xbab041(0x209)](_0x18ae59,_0x7fa28d[_0xbab041(0x122)])){const _0x15b1ce=_0x18ae59[_0xbab041(0x162)](/[.*+?^${}()|[\]\\]/g,_0x7fa28d[_0xbab041(0x176)]),_0x29722f=new RegExp(_0xbab041(0x106)+_0x15b1ce+'|const\x5cs+'+_0x15b1ce+_0xbab041(0x1e5)+_0x15b1ce+_0xbab041(0x173));for(let _0xfd371d=0x0;_0x7fa28d[_0xbab041(0x11f)](_0xfd371d,_0x139253[_0xbab041(0x13e)]);_0xfd371d++){if(_0x29722f['test'](_0x139253[_0xfd371d])){const _0x4a8740=Math[_0xbab041(0x137)](_0x7fa28d[_0xbab041(0x116)](_0xfd371d,0x32),_0x139253[_0xbab041(0x13e)]);return _0x139253[_0xbab041(0x1dd)](_0xfd371d,_0x4a8740)[_0xbab041(0x144)]('\x0a');}}}if(_0x5ce2c3&&_0x7fa28d[_0xbab041(0x190)](_0x5ce2c3,0x0)){const _0x6a5957=Math['max'](0x0,_0x7fa28d[_0xbab041(0x15b)](_0x5ce2c3,0x5)),_0x21fe2a=Math[_0xbab041(0x137)](_0x139253['length'],_0x7fa28d['DoYkW'](_0x5ce2c3,0x2d));return _0x139253[_0xbab041(0x1dd)](_0x6a5957,_0x21fe2a)['join']('\x0a');}const _0x4a71e2=_0x139253[_0xbab041(0x10d)](_0x2495cd=>!_0x2495cd['match'](/^(const|let|var|import)\s.*require|^import\s/));if(_0x7fa28d['cXzvC'](_0x4a71e2,0x0))return _0x139253['slice'](_0x4a71e2,_0x7fa28d['ZBcbS'](_0x4a71e2,0x64))['join']('\x0a');return null;}catch(_0x12515c){return logger[_0xbab041(0x1e3)](_0xbab041(0x16a)+_0x12515c[_0xbab041(0x13b)]),null;}}}module[a49_0x288ad(0x19c)]=TestClient;
1
+ 'use strict';function a49_0x18bf(){const _0x24528f=['[TestClient]\x20quit:\x20Error\x20during\x20shutdown:\x20','_started','[TRACE:node-generic]\x20TestClient.start()\x20test_uuid=','executeAsyncScript','qyliP','browserstack_executor:\x20','KEY_TEST_RESULT','YaxVU','info','__bstackPlatformIndex','XTaLE','_callerInfo','[TestClient]\x20Sent\x20platform\x20details\x20for\x20test_uuid=','KEY_TEST_FAILURE_REASON','../../helpers/accessibility-automation/scripts','saveTestResults','KEY_TEST_RERUN_NAME','_vcFilePath','cwd','isArray',',\x20reason=','dAADG','VLyid','selenium-webdriver','_testCode','XfkYV','nFKrL','TEST','error','exit','../../helpers/helper','SAmvp','path','_driversAtStart','[TestClient]\x20start:\x20No\x20test\x20framework\x20available.\x20Binary\x20may\x20not\x20be\x20running.','uLfFh','stvKV','length','[TestClient]\x20markFailed:\x20start()\x20was\x20not\x20called.\x20Ignoring.','6OgjuYl','name','32AbntSv','toString','gBDvt','QlyAT','setTestHierarchy','_filePath','lqxzB','<anonymous>','min','DcFtv','_buildTestData','Bpzkk','bUtYD','UwmNu','mOXXL','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.','findIndex','[App-A11y]\x20Could\x20not\x20fetch\x20central\x20auth\x20config:\x20','NODE_GENERIC','TestClient','testData','../v2/state/testFrameworkState.js','IaibN',')\x20—\x20Checkpoint\x201\x20gate\x20opened','setShouldScanCurrentTest','\x5cs*[=(]','KEY_TEST_CODE','_testName','../../helpers/helper.js','appium:platformName','__skipSessionName','KEY_TEST_ENDED_AT','[TestClient]\x20_markSessionStatus:\x20Error:\x20','MgFfe','split','Assert','cztKH','__driversArray','getFileName','assign','KEY_TEST_TAGS','../../helpers/globals','XeGuz','3393243FNRaBc','[TRACE:node-generic]\x20TestClient.quit()\x20-\x20shutting\x20down','message','workerInfo','INKIs','appium:app','eLffs','env','MHztp','iyZNa','NTWMG','../v2/modules/accessibilityModule','aADkV','parse','yBdwL','[TestClient]\x20_sendPlatformDetails:\x20Error:\x20','BROWSERSTACK_TESTHUB_JWT','replace','markFailed','HVNPF','[TestClient]\x20start:\x20Error\x20dispatching\x20TEST\x20PRE\x20event:\x20','toISOString','getId','2900359RUimlr','markPassed','centralAuthToken','test','trackEvent','bQlKK','hubUrl','warn','PRE','browserstack','pid','vZbpr','\x20for\x20\x27','resolve','getGlobal','../../helpers/testhub/constants','KEY_TEST_UUID','BQlyj','appium','../../helpers/test-observability/utils','_sendPlatformDetails','frameworkSessionId','[TestClient]\x20markPassed:\x20result\x20already\x20marked.\x20Ignoring.','xBlcA','CRlYx','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20test\x20\x27','DEFAULT_TEST_RESULT','GuTgv','../v2/grpcClient.js','debug','3910pZBBlQ','../../helpers/classLogger.js','passed','mCYkz','join','provider','IXDAJ','getAccessibilityModule','(async\x5cs+)?function\x5cs+','ref','thTestRunUuid','isAccessibilityPlatform','FuUmT','_performAccessibilityScan','exitCode','[TestClient]\x20_detectCallerInfo:\x20Error:\x20','[TestClient]\x20Set\x20session\x20name\x20to\x20\x27','thJwtToken','setGlobal','ZMtpB','_testUUID','16yTcwMG','stack','function','6|5|9|8|3|10|4|0|7|1|2','saveResults','exports','_markSessionName','_resultMarked','_markResult','slkpx','utf-8','BS_A11Y_JWT','getLineNumber','yaBOt','arguments','now','[App-A11y]\x20Checkpoint\x202\x20scan\x20failed\x20for\x20test\x20\x27','finishScanningForCli','stop','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','fetchDriverExecuteParamsEvent','Unknown\x20error','getFunctionName','startsWith','__workerDetails','KEY_TEST_FRAMEWORK_VERSION','../v2/state/hookState.js','../v2/framework/constants/testFrameworkConstants.js','KEY_TEST_NAME','afterTestHook','failed','37651788GvAmzk','ouCwT','YEjdh','KEY_TEST_FAILURE','platformName','JaBcQ','pxjWe','thBuildUuid','testSessionEvent','5516760IIayHe','max','stringify','KEY_PLATFORM_INDEX','fromEntries','android','loadDriverExecuteParams','isCliEnabled','JHMsE','_extractSourceCode','ZUVcf','includes','getMethodName','KEY_TEST_FILE_PATH','getTestFramework','_markSessionStatus','LPyOw','BROWSERSTACK_CLI_BIN_SESSION_ID','isAbsolute','UFXcP','uZkYK','quit','existsSync','bGilx','_startedAt','OcTnz','[TestClient]\x20start:\x20testHierarchy\x20is\x20required.\x20Call\x20setTestHierarchy()\x20before\x20start().','|const\x5cs+','\x5c$&','uuid','[TestClient]\x20_extractSourceCode:\x20Error:\x20','828195wOANyo','70617OQETQF','spOEs','setCurrentTestUUID','FUvHQ','from','[TestClient]\x20_performAccessibilityScan:\x20Error\x20processing\x20accessibility\x20scan\x20for\x20test\x20\x27','stack-trace','[TestClient]\x20Sending\x20CBTSession\x20via\x20gRPC\x20for\x20session_id=','[TestClient]\x20Accessibility\x20shouldScan=','../v2/browserstackCLI.js','RFLzO','Yajax','getCapabilities','[TRACE:node-generic]\x20TestClient.markPassed()\x20test_uuid=','KEY_TEST_SCOPES','pHLaC','fibLg','ENV_VAR','jnogQ','QaNnB','20FdKSqI','wRCeZ','[TRACE:node-generic]\x20TestClient.markFailed()\x20test_uuid=','start','_getTestDrivers','../utils/constants','iXevT','_testHierarchy','KEY_TEST_FAILURE_TYPE','[TestClient]\x20markFailed:\x20result\x20already\x20marked.\x20Ignoring.','markSessionStatus','[TestClient]\x20a11yModule.setShouldScanCurrentTest(','UnhandledError','getInstance','qizqL','sessionNameSet__','toLowerCase','functionName','_detectCallerInfo','substring','parallelIndex','38093qgdVsd','\x27.\x20Error:','executeScript','[TestClient]\x20_markSessionName:\x20Error:\x20','slice','\x5cs*=|'];a49_0x18bf=function(){return _0x24528f;};return a49_0x18bf();}const a49_0x42e918=a49_0x1f24;(function(_0x31559c,_0x158175){const _0xb35d0b=a49_0x1f24,_0x3bb2b0=_0x31559c();while(!![]){try{const _0x4984a9=parseInt(_0xb35d0b(0x14c))/0x1*(parseInt(_0xb35d0b(0x1a4))/0x2)+parseInt(_0xb35d0b(0x14b))/0x3*(parseInt(_0xb35d0b(0x160))/0x4)+-parseInt(_0xb35d0b(0x12c))/0x5+-parseInt(_0xb35d0b(0x1a2))/0x6*(-parseInt(_0xb35d0b(0xd1))/0x7)+parseInt(_0xb35d0b(0x104))/0x8*(parseInt(_0xb35d0b(0x1cf))/0x9)+-parseInt(_0xb35d0b(0xef))/0xa*(-parseInt(_0xb35d0b(0x175))/0xb)+-parseInt(_0xb35d0b(0x123))/0xc;if(_0x4984a9===_0x158175)break;else _0x3bb2b0['push'](_0x3bb2b0['shift']());}catch(_0x5ac9de){_0x3bb2b0['push'](_0x3bb2b0['shift']());}}}(a49_0x18bf,0xc1444));function a49_0x1f24(_0x574596,_0x4dce1f){const _0x18bfba=a49_0x18bf();return a49_0x1f24=function(_0x1f2430,_0x51a311){_0x1f2430=_0x1f2430-0xcf;let _0x22bc91=_0x18bfba[_0x1f2430];return _0x22bc91;},a49_0x1f24(_0x574596,_0x4dce1f);}const {v4:uuidv4}=require(a49_0x42e918(0x149)),fs=require('fs'),path=require(a49_0x42e918(0x19b)),stackTrace=require(a49_0x42e918(0x152)),{createClassLogger}=require(a49_0x42e918(0xf0)),TestFrameworkState=require(a49_0x42e918(0x1b9)),HookState=require(a49_0x42e918(0x11e)),TestFrameworkConstants=require(a49_0x42e918(0x11f)),helper=require(a49_0x42e918(0x199)),globals=require(a49_0x42e918(0x1cd)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),scripts=require(a49_0x42e918(0x189)),testHubConstants=require(a49_0x42e918(0xe0)),{FRAMEWORKS}=require(a49_0x42e918(0x165)),logger=createClassLogger(a49_0x42e918(0x1b7));class TestClient{constructor(){const _0x388053=a49_0x42e918,_0x20790e={};_0x20790e['Cuehr']=_0x388053(0x107);const _0x28aab4=_0x20790e,_0x505d85=_0x28aab4['Cuehr'][_0x388053(0x1c6)]('|');let _0x39dbbe=0x0;while(!![]){switch(_0x505d85[_0x39dbbe++]){case'0':this[_0x388053(0x10b)]=![];continue;case'1':this[_0x388053(0x193)]=null;continue;case'2':this[_0x388053(0x19c)]=0x0;continue;case'3':this['_testUUID']=null;continue;case'4':this[_0x388053(0x17c)]=![];continue;case'5':this[_0x388053(0x167)]=[];continue;case'6':this[_0x388053(0x1bf)]=null;continue;case'7':this[_0x388053(0x186)]=null;continue;case'8':this['_vcFilePath']=null;continue;case'9':this[_0x388053(0x1a9)]=null;continue;case'10':this['_startedAt']=null;continue;}break;}}['setTestName'](_0xf229dc){const _0x36a65c=a49_0x42e918;return this[_0x36a65c(0x1bf)]=_0xf229dc,this;}[a49_0x42e918(0x1a8)](_0x4b969c){const _0x2e1dcb=a49_0x42e918;return this['_testHierarchy']=Array[_0x2e1dcb(0x18e)](_0x4b969c)?_0x4b969c:[],this;}['setFilePath'](_0x4bac61){return this['_filePath']=_0x4bac61,this;}['setVcFilePath'](_0xde3ae3){const _0x7d41cd=a49_0x42e918;return this[_0x7d41cd(0x18c)]=_0xde3ae3,this;}async[a49_0x42e918(0x163)](){const _0x3181b6=a49_0x42e918,_0xbb8433={'ZUVcf':'[TestClient]\x20start:\x20testName\x20is\x20required.\x20Call\x20setTestName()\x20before\x20start().','Kjbgm':function(_0x1789bc,_0x481c69){return _0x1789bc===_0x481c69;},'dAADG':_0x3181b6(0x146),'YaxVU':'[TestClient]\x20start:\x20filePath\x20is\x20required.\x20Call\x20setFilePath()\x20before\x20start().','uZkYK':function(_0x1bc14f){return _0x1bc14f();},'jpblp':function(_0x4ce1d1,_0x13a260){return _0x4ce1d1(_0x13a260);},'uLfFh':_0x3181b6(0x155),'Yajax':function(_0x24a49e,_0x31ca09){return _0x24a49e(_0x31ca09);},'iXevT':_0x3181b6(0x19d)};if(!this[_0x3181b6(0x1bf)]){logger['error'](_0xbb8433[_0x3181b6(0x136)]);return;}if(!this[_0x3181b6(0x167)]||_0xbb8433['Kjbgm'](this['_testHierarchy'][_0x3181b6(0x1a0)],0x0)){logger[_0x3181b6(0x197)](_0xbb8433[_0x3181b6(0x190)]);return;}if(!this[_0x3181b6(0x1a9)]){logger[_0x3181b6(0x197)](_0xbb8433[_0x3181b6(0x182)]);return;}this[_0x3181b6(0x103)]=_0xbb8433[_0x3181b6(0x140)](uuidv4),this[_0x3181b6(0x144)]=new Date()[_0x3181b6(0xcf)](),this[_0x3181b6(0x17c)]=!![],this[_0x3181b6(0x19c)]=(global['__driversArray']||[])[_0x3181b6(0x1a0)],this['_enableAccessibilityScanning']();try{const _0x5246f0=_0xbb8433['jpblp'](require,_0xbb8433[_0x3181b6(0x19e)]),_0x4b901b=_0x5246f0[_0x3181b6(0x16d)]()?.[_0x3181b6(0x13a)]?.();_0x4b901b?.['setCurrentTestUUID']&&_0x4b901b[_0x3181b6(0x14e)](this['_testUUID']);}catch(_0x20f278){}this[_0x3181b6(0x186)]=this['_detectCallerInfo']();const _0x1851e5=path[_0x3181b6(0x13e)](this['_filePath'])?this[_0x3181b6(0x1a9)]:path[_0x3181b6(0xde)](process['cwd'](),this[_0x3181b6(0x1a9)]);this['_testCode']=this['_extractSourceCode'](_0x1851e5,this[_0x3181b6(0x186)]?.['lineNumber'],this['_callerInfo']?.[_0x3181b6(0x171)]);const _0x1f3dfb=this[_0x3181b6(0x1ae)]({[TestFrameworkConstants[_0x3181b6(0x181)]]:TestFrameworkConstants[_0x3181b6(0xeb)],[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:this[_0x3181b6(0x144)]});logger['info'](_0x3181b6(0x17d)+this['_testUUID']+',\x20test_name='+this[_0x3181b6(0x1bf)]);try{const _0xb8fc9d=_0xbb8433[_0x3181b6(0x157)](require,_0xbb8433['uLfFh']),_0x38d2f8=_0xb8fc9d[_0x3181b6(0x16d)]();if(_0x38d2f8&&_0x38d2f8[_0x3181b6(0x13a)]()){const _0x596640={};_0x596640[_0x3181b6(0x1b8)]=_0x1f3dfb,await _0x38d2f8[_0x3181b6(0x13a)]()[_0x3181b6(0xd5)](TestFrameworkState['TEST'],HookState[_0x3181b6(0xd9)],_0x596640);}else logger[_0x3181b6(0xd8)](_0xbb8433[_0x3181b6(0x166)]);}catch(_0x24a714){logger[_0x3181b6(0xd8)](_0x3181b6(0x1e3)+_0x24a714[_0x3181b6(0x1d1)]);}}[a49_0x42e918(0x164)](){const _0x44f437=a49_0x42e918,_0x3369c1=global[_0x44f437(0x1c9)]||[];return _0x3369c1['slice'](this[_0x44f437(0x19c)]);}async[a49_0x42e918(0x10a)](){const _0x514d0a=a49_0x42e918,_0x1e1d9d={};_0x1e1d9d[_0x514d0a(0x156)]='setSessionName';const _0x5c1463=_0x1e1d9d;if(global[_0x514d0a(0x1c2)])return;const _0x299b1a=this['_getTestDrivers']();for(const _0x375144 of _0x299b1a){try{if(_0x375144[_0x514d0a(0x16f)])continue;const _0x589e4a={};_0x589e4a[_0x514d0a(0x1a3)]=this['_testName'];const _0x21823b={};_0x21823b['action']=_0x5c1463[_0x514d0a(0x156)],_0x21823b[_0x514d0a(0x112)]=_0x589e4a,await _0x375144[_0x514d0a(0x177)](_0x514d0a(0x180)+JSON[_0x514d0a(0x12e)](_0x21823b)),_0x375144[_0x514d0a(0x16f)]=!![],logger['debug'](_0x514d0a(0xff)+this[_0x514d0a(0x1bf)]+'\x27');}catch(_0x587997){logger[_0x514d0a(0xee)](_0x514d0a(0x178)+_0x587997['message']);}}}async['_markSessionStatus'](_0x4c2756,_0x4d8e5f){const _0x572324=a49_0x42e918,_0x540bb2=this[_0x572324(0x164)]();for(const _0x23ea42 of _0x540bb2){try{await helper[_0x572324(0x16a)](_0x23ea42,_0x4c2756,_0x4d8e5f),logger['debug']('[TestClient]\x20Marked\x20session\x20status\x20\x27'+_0x4c2756+'\x27');}catch(_0x1cc32c){logger[_0x572324(0xee)](_0x572324(0x1c4)+_0x1cc32c[_0x572324(0x1d1)]);}}}async[a49_0x42e918(0xe5)](){const _0x259118=a49_0x42e918,_0x5165d6={'rhqsF':function(_0x309cc3,_0x508dbd){return _0x309cc3(_0x508dbd);},'ZMtpB':'../v2/browserstackCLI.js','iyZNa':function(_0x3c2bf2,_0x30e08d){return _0x3c2bf2(_0x30e08d);},'MdYrU':_0x259118(0xe4),'jpCAX':function(_0x38f5ea,_0x546a74,_0x470a30,_0xc544a6,_0x59a928){return _0x38f5ea(_0x546a74,_0x470a30,_0xc544a6,_0x59a928);}},_0x325fd0=this[_0x259118(0x164)]();for(const _0x3e6edd of _0x325fd0){try{const _0x266f4f=_0x5165d6['rhqsF'](require,_0x5165d6[_0x259118(0x102)]),_0x41bcde=_0x266f4f[_0x259118(0x16d)]();if(_0x41bcde&&_0x41bcde[_0x259118(0x133)]())await this['_sendPlatformDetailsViaGrpc'](_0x3e6edd);else{const {sendPlatformDetails:_0x509af3}=_0x5165d6[_0x259118(0x1d8)](require,_0x5165d6['MdYrU']);await _0x5165d6['jpCAX'](_0x509af3,_0x3e6edd,this[_0x259118(0x103)],![],!![]);}logger[_0x259118(0xee)](_0x259118(0x187)+this[_0x259118(0x103)]);}catch(_0x6f64d9){logger[_0x259118(0xee)](_0x259118(0x1de)+_0x6f64d9[_0x259118(0x1d1)]);}}}async['_sendPlatformDetailsViaGrpc'](_0x24714e){const _0x2b767a=a49_0x42e918,_0xbc9fbd={'slkpx':function(_0x485838,_0x454820){return _0x485838(_0x454820);},'mOXXL':_0x2b767a(0xed),'IaibN':function(_0x3e21d8,_0x825a){return _0x3e21d8(_0x825a);},'UFXcP':_0x2b767a(0x1c0),'VLyid':_0x2b767a(0x1b9),'bUtYD':_0x2b767a(0x11e),'FUvHQ':function(_0x1ad76d,_0x589d7f){return _0x1ad76d(_0x589d7f);},'yBdwL':_0x2b767a(0x1c1),'FuUmT':_0x2b767a(0x127),'wRCeZ':_0x2b767a(0x1d4),'xBlcA':_0x2b767a(0x131),'lqxzB':'ios','JbRwv':_0x2b767a(0xe3),'tWBaW':_0x2b767a(0x192),'OcTnz':function(_0xdc4083){return _0xdc4083();},'UwmNu':_0x2b767a(0xda),'stvKV':'base64'},_0x341166=_0xbc9fbd['slkpx'](require,_0xbc9fbd[_0x2b767a(0x1b2)]),{getProductForSession:_0x300b73,isBrowserstackInfra:_0x39ebb5}=_0xbc9fbd[_0x2b767a(0x1ba)](require,_0xbc9fbd[_0x2b767a(0x13f)]),_0xd0c09b=_0xbc9fbd[_0x2b767a(0x1ba)](require,_0xbc9fbd[_0x2b767a(0x191)]),_0xcbc929=_0xbc9fbd[_0x2b767a(0x10d)](require,_0xbc9fbd[_0x2b767a(0x1b0)]),_0x47fd0b=await _0x24714e['getSession'](),_0xb489e=_0x47fd0b[_0x2b767a(0xd0)](),_0x1f0fd2=_0x47fd0b[_0x2b767a(0x158)]()['map_'],_0x4ac548=_0x1f0fd2?Object[_0x2b767a(0x130)](_0x1f0fd2):{},_0x13ebdc=_0xbc9fbd[_0x2b767a(0x14f)](String,_0x4ac548[_0xbc9fbd[_0x2b767a(0x1dd)]]||_0x4ac548[_0xbc9fbd[_0x2b767a(0xfb)]]||'')[_0x2b767a(0x170)](),_0x1ac89f=_0xbc9fbd[_0x2b767a(0x14f)](Boolean,_0x4ac548[_0xbc9fbd[_0x2b767a(0x1dd)]]||_0x4ac548[_0xbc9fbd[_0x2b767a(0x161)]]||_0x13ebdc&&[_0xbc9fbd[_0x2b767a(0xe8)],_0xbc9fbd[_0x2b767a(0x1aa)]][_0x2b767a(0x137)](_0x13ebdc)),_0x5c9ec4=_0x1ac89f?_0xbc9fbd['JbRwv']:_0xbc9fbd['tWBaW'],_0x5aa1ce=_0xbc9fbd[_0x2b767a(0x145)](_0x39ebb5)?_0xbc9fbd[_0x2b767a(0x1b1)]:global['__cloud_provider___']||_0xbc9fbd[_0x2b767a(0x1b1)],_0x4408c1=_0xbc9fbd[_0x2b767a(0x145)](_0x300b73)||null,_0x4eeadd={};_0x4eeadd[_0x2b767a(0xf4)]=_0x5aa1ce,_0x4eeadd['frameworkName']=_0x5c9ec4,_0x4eeadd['frameworkVersion']='',_0x4eeadd[_0x2b767a(0xe6)]=_0xb489e,_0x4eeadd[_0x2b767a(0xf8)]=_0xb489e,_0x4eeadd[_0x2b767a(0xd7)]='',_0x4eeadd['product']=_0x4408c1;const _0x3c6a71=_0x4eeadd,_0x184075=Buffer[_0x2b767a(0x150)](JSON['stringify'](_0x4ac548))[_0x2b767a(0x1a5)](_0xbc9fbd[_0x2b767a(0x19f)]),_0x8025bd=_0xd0c09b[_0x2b767a(0x196)]['toString']()[_0x2b767a(0x1c6)]('.')[0x1],_0x3ad538=_0xcbc929['POST'][_0x2b767a(0x1a5)]()[_0x2b767a(0x1c6)]('.')[0x1],_0x3a4156=global?.[_0x2b767a(0x11c)]?.[_0x2b767a(0x1d2)]?.[_0x2b767a(0x174)]||global[_0x2b767a(0x184)]||0x0,_0x1825d7={'platformIndex':_0x3a4156,'testFrameworkName':FRAMEWORKS[_0x2b767a(0x1b6)],'testFrameworkVersion':'','testFrameworkState':_0x8025bd,'testHookState':_0x3ad538,'testUuid':this['_testUUID'],'automationSession':_0x3c6a71,'capabilities':_0x184075,'executionContext':{'hash':this[_0x2b767a(0x103)],'threadId':_0xbc9fbd['IaibN'](String,process[_0x2b767a(0xdb)]),'processId':_0xbc9fbd[_0x2b767a(0x14f)](String,process['pid'])}};logger['debug'](_0x2b767a(0x153)+_0xb489e+',\x20test_uuid='+this['_testUUID']),await _0x341166[_0x2b767a(0x16d)]()[_0x2b767a(0x12b)](_0x1825d7);}async['_markResult'](_0x412a52,_0x3dc2f0,_0x40c773){const _0x5909e2=a49_0x42e918,_0x205a09={'exbRd':function(_0x22197c,_0x47f149){return _0x22197c(_0x47f149);},'zPENh':_0x5909e2(0x155)};await this['_markSessionName'](),await this[_0x5909e2(0x13b)](_0x3dc2f0,_0x40c773),await this['_sendPlatformDetails'](),await this['_performAccessibilityScan']();try{const _0xf96302=_0x205a09['exbRd'](require,_0x205a09['zPENh']),_0x456e17=_0xf96302['getInstance']();if(_0x456e17&&_0x456e17[_0x5909e2(0x13a)]()){const _0x3f4293={};_0x3f4293['testData']=_0x412a52,await _0x456e17[_0x5909e2(0x13a)]()[_0x5909e2(0xd5)](TestFrameworkState['TEST'],HookState['POST'],_0x3f4293);}}catch(_0x440868){logger['warn']('[TestClient]\x20_markResult:\x20Error\x20dispatching\x20TEST\x20POST\x20event:\x20'+_0x440868[_0x5909e2(0x1d1)]);}}async[a49_0x42e918(0xd2)](){const _0x2591cd=a49_0x42e918,_0x3b62cf={};_0x3b62cf['DdnGH']='[TestClient]\x20markPassed:\x20start()\x20was\x20not\x20called.\x20Ignoring.',_0x3b62cf[_0x2591cd(0xdc)]=_0x2591cd(0xe7),_0x3b62cf[_0x2591cd(0x1d5)]=_0x2591cd(0xf1);const _0x45c0de=_0x3b62cf;if(!this['_started']){logger['warn'](_0x45c0de['DdnGH']);return;}if(this['_resultMarked']){logger[_0x2591cd(0xd8)](_0x45c0de[_0x2591cd(0xdc)]);return;}this['_resultMarked']=!![];const _0x1af9c8=new Date()['toISOString'](),_0x29a25d={[TestFrameworkConstants[_0x2591cd(0x181)]]:_0x45c0de[_0x2591cd(0x1d5)],[TestFrameworkConstants[_0x2591cd(0x1c3)]]:_0x1af9c8},_0x55c042=this[_0x2591cd(0x1ae)](_0x29a25d);logger[_0x2591cd(0x183)](_0x2591cd(0x159)+this[_0x2591cd(0x103)]),await this[_0x2591cd(0x10c)](_0x55c042,_0x45c0de['eLffs'],null);}async[a49_0x42e918(0x1e1)](_0x45b058){const _0x5bcf1a=a49_0x42e918,_0x42479b={'IXDAJ':_0x5bcf1a(0x1a1),'cztKH':_0x5bcf1a(0x169),'bQlKK':function(_0x1d928d,_0xc13077){return _0x1d928d(_0xc13077);},'BVzhc':_0x5bcf1a(0x119),'JHMsE':_0x5bcf1a(0x1c7),'QlyAT':'AssertionError','VcTad':_0x5bcf1a(0x16c),'XfkYV':_0x5bcf1a(0x122)};if(!this[_0x5bcf1a(0x17c)]){logger[_0x5bcf1a(0xd8)](_0x42479b[_0x5bcf1a(0xf5)]);return;}if(this[_0x5bcf1a(0x10b)]){logger['warn'](_0x42479b[_0x5bcf1a(0x1c8)]);return;}this[_0x5bcf1a(0x10b)]=!![];const _0x3d05c0=new Date()['toISOString'](),_0x40efe8=_0x45b058?_0x45b058[_0x5bcf1a(0x1d1)]||_0x42479b[_0x5bcf1a(0xd6)](String,_0x45b058):_0x42479b['BVzhc'],_0x250e7a=_0x45b058&&_0x45b058[_0x5bcf1a(0x1a3)]&&_0x45b058[_0x5bcf1a(0x1a3)][_0x5bcf1a(0x137)](_0x42479b[_0x5bcf1a(0x134)])?_0x42479b[_0x5bcf1a(0x1a7)]:_0x42479b['VcTad'],_0xc92f2d=_0x45b058?[{'backtrace':_0x45b058[_0x5bcf1a(0x105)]?_0x45b058[_0x5bcf1a(0x105)][_0x5bcf1a(0x1c6)]('\x0a'):[],'message':_0x40efe8}]:[],_0x193652={[TestFrameworkConstants[_0x5bcf1a(0x181)]]:_0x42479b[_0x5bcf1a(0x194)],[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x3d05c0,[TestFrameworkConstants[_0x5bcf1a(0x168)]]:_0x250e7a,[TestFrameworkConstants[_0x5bcf1a(0x188)]]:_0x40efe8,[TestFrameworkConstants[_0x5bcf1a(0x126)]]:_0xc92f2d},_0x393b88=this[_0x5bcf1a(0x1ae)](_0x193652);logger[_0x5bcf1a(0x183)](_0x5bcf1a(0x162)+this[_0x5bcf1a(0x103)]+_0x5bcf1a(0x18f)+_0x40efe8[_0x5bcf1a(0x173)](0x0,0xc8)),await this[_0x5bcf1a(0x10c)](_0x393b88,_0x42479b[_0x5bcf1a(0x194)],_0x40efe8);}static async[a49_0x42e918(0x141)](){const _0x28c140=a49_0x42e918,_0x230ddd={'jnogQ':_0x28c140(0x1d0),'gBDvt':function(_0x21fe12,_0x10d989){return _0x21fe12(_0x10d989);},'qizqL':_0x28c140(0x155)};logger[_0x28c140(0x183)](_0x230ddd[_0x28c140(0x15e)]);try{const _0x316f95=_0x230ddd[_0x28c140(0x1a6)](require,_0x230ddd[_0x28c140(0x16e)]);await _0x316f95[_0x28c140(0x16d)]()[_0x28c140(0x116)]();}catch(_0x5d3d13){logger[_0x28c140(0xd8)](_0x28c140(0x17b)+_0x5d3d13[_0x28c140(0x1d1)]);}process[_0x28c140(0x198)](process[_0x28c140(0xfd)]||0x0);}['_enableAccessibilityScanning'](){const _0x2db10a=a49_0x42e918,_0x493503={'JaBcQ':function(_0x2e9513,_0x3e0bb4,_0xb5544d){return _0x2e9513(_0x3e0bb4,_0xb5544d);},'MgFfe':'bstackA11yShouldScan','pxjWe':function(_0x527d4c,_0x5dada2){return _0x527d4c(_0x5dada2);},'aADkV':_0x2db10a(0x155),'wXqdP':function(_0x606ce0,_0x44e0f8){return _0x606ce0===_0x44e0f8;},'QaNnB':_0x2db10a(0x106)};try{const _0xea4536=_0x493503[_0x2db10a(0x128)](shouldScanTestForAccessibility,this[_0x2db10a(0x1bf)],![]);globals[_0x2db10a(0x101)](_0x493503[_0x2db10a(0x1c5)],_0xea4536),logger['debug'](_0x2db10a(0x154)+_0xea4536+_0x2db10a(0xdd)+this['_testName']+'\x27');try{const _0x2dbf19=_0x493503[_0x2db10a(0x129)](require,_0x493503[_0x2db10a(0x1db)]),_0x2cafcd=_0x2dbf19[_0x2db10a(0x16d)](),_0x42ae8b=_0x2cafcd&&_0x2cafcd['getAccessibilityModule']&&_0x2cafcd[_0x2db10a(0xf6)]();_0x42ae8b&&_0x493503['wXqdP'](typeof _0x42ae8b[_0x2db10a(0x1bc)],_0x493503[_0x2db10a(0x15f)])&&(_0x42ae8b[_0x2db10a(0x1bc)](_0xea4536),logger[_0x2db10a(0xee)](_0x2db10a(0x16b)+_0xea4536+_0x2db10a(0x1bb)));}catch(_0x3aaa81){logger[_0x2db10a(0xee)]('[TestClient]\x20_enableAccessibilityScanning:\x20a11yModule\x20update\x20failed:\x20'+_0x3aaa81[_0x2db10a(0x1d1)]);}}catch(_0x5be2d0){logger[_0x2db10a(0xee)]('[TestClient]\x20_enableAccessibilityScanning:\x20Error:\x20'+_0x5be2d0[_0x2db10a(0x1d1)]);}}async[a49_0x42e918(0xfc)](){const _0x59efe9=a49_0x42e918,_0x4a5a30={'DcFtv':function(_0x287129){return _0x287129();},'fibLg':_0x59efe9(0xfa),'XeGuz':'bstackA11yShouldScan','Bpzkk':function(_0x233eaf,_0x521dfc){return _0x233eaf===_0x521dfc;},'mCYkz':_0x59efe9(0x1b3),'HVNPF':function(_0x56e7de,_0x41b524){return _0x56e7de(_0x41b524);},'MHztp':'../v2/browserstackCLI.js','uXMxT':'../v2/grpcClient','XTaLE':'accessibility','CRlYx':_0x59efe9(0x108),'GuTgv':function(_0x45acc0,_0x3f4d48){return _0x45acc0(_0x3f4d48);},'yaBOt':_0x59efe9(0x1da),'LPyOw':_0x59efe9(0x121),'bGilx':'Performing\x20scan\x20before\x20saving\x20results','ouCwT':_0x59efe9(0x117)};try{if(!_0x4a5a30[_0x59efe9(0x1ad)](isAccessibilityAutomationSession)||!globals['getGlobal'](_0x4a5a30[_0x59efe9(0x15c)])||!globals[_0x59efe9(0xdf)](_0x4a5a30[_0x59efe9(0x1ce)]))return;const _0x12e674=this[_0x59efe9(0x164)]();if(_0x4a5a30[_0x59efe9(0x1af)](_0x12e674[_0x59efe9(0x1a0)],0x0))return;logger[_0x59efe9(0x183)](_0x4a5a30[_0x59efe9(0xf2)]);const _0x3584f7=_0x4a5a30[_0x59efe9(0x1e2)](require,_0x4a5a30[_0x59efe9(0x1d7)]),_0x145778=_0x3584f7[_0x59efe9(0x16d)](),_0x3241b4=_0x145778&&_0x145778['getAccessibilityModule']();if(_0x3241b4&&_0x3241b4['isAppAccessibility']){const _0x509df3=this[_0x59efe9(0x103)],_0x5e1942=process[_0x59efe9(0x1d6)][testHubConstants[_0x59efe9(0x15d)]['BROWSERSTACK_TESTHUB_UUID']]||'',_0x360c4f=process[_0x59efe9(0x1d6)][testHubConstants['ENV_VAR'][_0x59efe9(0x1df)]]||'',_0x1ccea0=process['env'][_0x59efe9(0x10f)]||'';let _0x598525={};try{const _0xbfdb45=_0x4a5a30['HVNPF'](require,_0x4a5a30['uXMxT']),_0x3b38cc=await _0xbfdb45[_0x59efe9(0x16d)]()[_0x59efe9(0x118)](process[_0x59efe9(0x1d6)][_0x59efe9(0x13d)],_0x4a5a30[_0x59efe9(0x185)],_0x4a5a30[_0x59efe9(0xe9)]),_0x5e0aa8=_0x4a5a30[_0x59efe9(0xec)](require,_0x4a5a30[_0x59efe9(0x111)]);_0x598525=_0x5e0aa8[_0x59efe9(0x132)](_0x509df3,_0x3b38cc)||{};}catch(_0xd9ba5f){logger[_0x59efe9(0xd8)](_0x59efe9(0x1b5)+_0xd9ba5f['message']);}const _0xee99bd=Object[_0x59efe9(0x1cb)]({},{'thTestRunUuid':_0x509df3,'thBuildUuid':_0x5e1942,'thJwtToken':_0x360c4f,'authHeader':_0x1ccea0,'method':this[_0x59efe9(0x1bf)]||_0x4a5a30[_0x59efe9(0x13c)],'scanTimestamp':Date[_0x59efe9(0x113)]()[_0x59efe9(0x1a5)]()},_0x598525);_0xee99bd[_0x59efe9(0xd3)]&&(_0xee99bd['centralAuthHeader']=_0xee99bd[_0x59efe9(0xd3)],delete _0xee99bd[_0x59efe9(0xd3)]);for(const _0x2ec9b7 of _0x12e674){try{await _0x3241b4[_0x59efe9(0x115)](!![],_0x509df3,_0x2ec9b7,_0xee99bd,!![]);}catch(_0x3d45a8){logger[_0x59efe9(0x197)](_0x59efe9(0x114)+this[_0x59efe9(0x1bf)]+_0x59efe9(0x176),_0x3d45a8);}}}else{const _0x313a3b={};_0x313a3b[_0x59efe9(0xf9)]=this[_0x59efe9(0x103)],_0x313a3b[_0x59efe9(0x12a)]=process[_0x59efe9(0x1d6)][testHubConstants[_0x59efe9(0x15d)]['BROWSERSTACK_TESTHUB_UUID']],_0x313a3b[_0x59efe9(0x100)]=process[_0x59efe9(0x1d6)][testHubConstants['ENV_VAR'][_0x59efe9(0x1df)]];const _0x5101a1=_0x313a3b;logger[_0x59efe9(0xee)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x59efe9(0x12e)](_0x5101a1));for(const _0x3f44d9 of _0x12e674){try{logger['debug'](_0x4a5a30[_0x59efe9(0x143)]);const _0x473b4e={};_0x473b4e['method']=this[_0x59efe9(0x1bf)],await _0x3f44d9['executeAsyncScript'](scripts['performScan'],_0x473b4e),await _0x3f44d9[_0x59efe9(0x17e)](scripts[_0x59efe9(0x18a)],_0x5101a1);}catch(_0x11abdd){logger[_0x59efe9(0x197)](_0x59efe9(0xea)+this['_testName']+'\x27.\x20Error:',_0x11abdd);}}}logger[_0x59efe9(0x183)](_0x4a5a30[_0x59efe9(0x124)]);}catch(_0x298bf5){logger[_0x59efe9(0xd8)](_0x59efe9(0x151)+this[_0x59efe9(0x1bf)]+'\x27:\x20'+_0x298bf5[_0x59efe9(0x1d1)]);}}[a49_0x42e918(0x1ae)](_0x1940b8={}){const _0x40acc7=a49_0x42e918;return{[TestFrameworkConstants[_0x40acc7(0xe1)]]:this[_0x40acc7(0x103)],'test_uuid':this[_0x40acc7(0x103)],[TestFrameworkConstants[_0x40acc7(0x120)]]:this[_0x40acc7(0x1bf)],[TestFrameworkConstants['KEY_TEST_SCOPE']]:this[_0x40acc7(0x167)][0x0]||'',[TestFrameworkConstants[_0x40acc7(0x15a)]]:this[_0x40acc7(0x167)],[TestFrameworkConstants[_0x40acc7(0x139)]]:this['_filePath']?path['resolve'](process['cwd'](),this[_0x40acc7(0x1a9)]):null,[TestFrameworkConstants['KEY_TEST_LOCATION']]:this[_0x40acc7(0x1a9)]?path['resolve'](process[_0x40acc7(0x18d)](),this[_0x40acc7(0x1a9)]):null,[TestFrameworkConstants[_0x40acc7(0x1be)]]:this['_testCode'],[TestFrameworkConstants[_0x40acc7(0x1cc)]]:[],[TestFrameworkConstants[_0x40acc7(0x18b)]]:this[_0x40acc7(0x1bf)],[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:FRAMEWORKS[_0x40acc7(0x1b6)],[TestFrameworkConstants[_0x40acc7(0x11d)]]:'',[TestFrameworkConstants[_0x40acc7(0x12f)]]:global?.[_0x40acc7(0x11c)]?.[_0x40acc7(0x1d2)]?.['parallelIndex']||global[_0x40acc7(0x184)]||0x0,..._0x1940b8};}[a49_0x42e918(0x172)](){const _0x1e0583=a49_0x42e918,_0x44d3b7={};_0x44d3b7[_0x1e0583(0x15b)]='node_modules';const _0x3cf9e4=_0x44d3b7;try{const _0x335154=stackTrace[_0x1e0583(0x1dc)](new Error()),_0x4a476b=path[_0x1e0583(0xde)](__dirname,'..','..');for(const _0x169c67 of _0x335154){const _0x1eabe0=_0x169c67[_0x1e0583(0x1ca)]();if(_0x1eabe0&&!_0x1eabe0[_0x1e0583(0x137)](_0x3cf9e4[_0x1e0583(0x15b)])&&!_0x1eabe0[_0x1e0583(0x11b)](_0x4a476b))return{'functionName':_0x169c67[_0x1e0583(0x11a)]()||_0x169c67[_0x1e0583(0x138)]()||null,'fileName':_0x1eabe0,'lineNumber':_0x169c67[_0x1e0583(0x110)]()};}return null;}catch(_0x50ba62){return logger[_0x1e0583(0xee)](_0x1e0583(0xfe)+_0x50ba62[_0x1e0583(0x1d1)]),null;}}[a49_0x42e918(0x135)](_0x4b0742,_0x11c265,_0x3de124){const _0x43724e=a49_0x42e918,_0x417720={};_0x417720[_0x43724e(0x17f)]=_0x43724e(0x10e),_0x417720[_0x43724e(0x1d9)]=function(_0x246271,_0x29b25e){return _0x246271!==_0x29b25e;},_0x417720[_0x43724e(0x19a)]=_0x43724e(0x1ab),_0x417720['YEjdh']=_0x43724e(0x148),_0x417720['tpbWZ']=function(_0x5b5387,_0xd4d34c){return _0x5b5387<_0xd4d34c;},_0x417720[_0x43724e(0xe2)]=function(_0x107ea7,_0x2859ca){return _0x107ea7+_0x2859ca;},_0x417720[_0x43724e(0x195)]=function(_0x1b1165,_0x2d7b0c){return _0x1b1165>_0x2d7b0c;},_0x417720[_0x43724e(0x1d3)]=function(_0x1bdef8,_0xf5e51b){return _0x1bdef8-_0xf5e51b;},_0x417720[_0x43724e(0x14d)]=function(_0x2f4b3d,_0x2e17cd){return _0x2f4b3d>=_0x2e17cd;};const _0x2a570b=_0x417720;try{if(!_0x4b0742||!fs[_0x43724e(0x142)](_0x4b0742))return null;const _0x361463=fs['readFileSync'](_0x4b0742,_0x2a570b[_0x43724e(0x17f)]),_0xbce3f9=_0x361463[_0x43724e(0x1c6)]('\x0a');if(_0x3de124&&_0x2a570b['NTWMG'](_0x3de124,_0x2a570b[_0x43724e(0x19a)])){const _0x4cd18e=_0x3de124[_0x43724e(0x1e0)](/[.*+?^${}()|[\]\\]/g,_0x2a570b[_0x43724e(0x125)]),_0x57b8f8=new RegExp(_0x43724e(0xf7)+_0x4cd18e+_0x43724e(0x147)+_0x4cd18e+_0x43724e(0x17a)+_0x4cd18e+_0x43724e(0x1bd));for(let _0x416fcb=0x0;_0x2a570b['tpbWZ'](_0x416fcb,_0xbce3f9[_0x43724e(0x1a0)]);_0x416fcb++){if(_0x57b8f8[_0x43724e(0xd4)](_0xbce3f9[_0x416fcb])){const _0x163b9e=Math[_0x43724e(0x1ac)](_0x2a570b[_0x43724e(0xe2)](_0x416fcb,0x32),_0xbce3f9[_0x43724e(0x1a0)]);return _0xbce3f9[_0x43724e(0x179)](_0x416fcb,_0x163b9e)['join']('\x0a');}}}if(_0x11c265&&_0x2a570b[_0x43724e(0x195)](_0x11c265,0x0)){const _0x8fbbd5=Math[_0x43724e(0x12d)](0x0,_0x2a570b['INKIs'](_0x11c265,0x5)),_0x30b250=Math[_0x43724e(0x1ac)](_0xbce3f9[_0x43724e(0x1a0)],_0x2a570b[_0x43724e(0xe2)](_0x11c265,0x2d));return _0xbce3f9[_0x43724e(0x179)](_0x8fbbd5,_0x30b250)['join']('\x0a');}const _0x4334d1=_0xbce3f9[_0x43724e(0x1b4)](_0x583126=>!_0x583126['match'](/^(const|let|var|import)\s.*require|^import\s/));if(_0x2a570b[_0x43724e(0x14d)](_0x4334d1,0x0))return _0xbce3f9['slice'](_0x4334d1,_0x2a570b[_0x43724e(0xe2)](_0x4334d1,0x64))[_0x43724e(0xf3)]('\x0a');return null;}catch(_0x258d8a){return logger['debug'](_0x43724e(0x14a)+_0x258d8a[_0x43724e(0x1d1)]),null;}}}module[a49_0x42e918(0x109)]=TestClient;