browserstack-node-sdk 1.63.6 → 1.64.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (218) 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/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
  56. package/src/bin/jasmine/command.js +1 -1
  57. package/src/bin/jasmine/test.setup.js +1 -1
  58. package/src/bin/jasmine/testRunMap.js +1 -1
  59. package/src/bin/jest/command.js +1 -1
  60. package/src/bin/jest/customImplements/customCircus.js +1 -1
  61. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  62. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  63. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  64. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  65. package/src/bin/jest/jest.setup.js +1 -1
  66. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  67. package/src/bin/jest/test-observability/helper.js +1 -1
  68. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  69. package/src/bin/jest/test-observability/test-details.js +1 -1
  70. package/src/bin/jest/test.setup.js +1 -1
  71. package/src/bin/jest/test_before.setup.js +1 -1
  72. package/src/bin/launcher/launcher.js +1 -1
  73. package/src/bin/load/index.js +1 -1
  74. package/src/bin/load/loadErrors.js +1 -1
  75. package/src/bin/load/loadUtils.js +1 -1
  76. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  77. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  78. package/src/bin/mocha/command.js +1 -1
  79. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  80. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  81. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  82. package/src/bin/mocha/test.setup.js +1 -1
  83. package/src/bin/newman/command.js +1 -1
  84. package/src/bin/newman/helper.js +1 -1
  85. package/src/bin/newman/reporter/index.js +1 -1
  86. package/src/bin/newman/scriptRunner.js +1 -1
  87. package/src/bin/nightwatch/command.js +1 -1
  88. package/src/bin/playwright/accessibility-helper.js +1 -1
  89. package/src/bin/playwright/command.js +1 -1
  90. package/src/bin/playwright/globalSetup.js +1 -1
  91. package/src/bin/playwright/mock-process.js +1 -1
  92. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  93. package/src/bin/playwright/patches.js +1 -1
  94. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  95. package/src/bin/playwright/reporter/reporter.js +1 -1
  96. package/src/bin/playwright/reporter/test-details.js +1 -1
  97. package/src/bin/playwright/sessionDetails.js +1 -1
  98. package/src/bin/puppeteer/patches.js +1 -1
  99. package/src/bin/puppeteer/sessionDetails.js +1 -1
  100. package/src/bin/puppeteer/test.setup.js +1 -1
  101. package/src/bin/runner.js +1 -1
  102. package/src/bin/setup.js +1 -1
  103. package/src/bin/test-runner/index.js +1 -1
  104. package/src/bin/test-runner/runTest.js +1 -1
  105. package/src/bin/test-runner/testWorker.js +1 -1
  106. package/src/bin/testcafe/a11y-runner.js +1 -1
  107. package/src/bin/testcafe/command.js +1 -1
  108. package/src/bin/testcafe/reporter/index.js +1 -1
  109. package/src/bin/testcafe/reporter/tcUtils.js +1 -1
  110. package/src/bin/testcafe/session-registry.js +1 -1
  111. package/src/bin/testcafe/stdout-interceptor.js +1 -1
  112. package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
  113. package/src/bin/testcafe/w3c-driver.js +1 -1
  114. package/src/bin/utils/apiUtilityMethods.js +1 -1
  115. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  116. package/src/bin/utils/constants.js +1 -1
  117. package/src/bin/utils/log4jsAppender.js +1 -1
  118. package/src/bin/utils/logPatcher.js +1 -1
  119. package/src/bin/utils/logReportingAPI.js +1 -1
  120. package/src/bin/utils/playwright-patcher.js +1 -1
  121. package/src/bin/utils/puppeteer-patcher.js +1 -1
  122. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  123. package/src/bin/utils/sharedUtils.js +1 -1
  124. package/src/bin/v2/TestInfo.js +1 -1
  125. package/src/bin/v2/browserstackCLI.js +1 -1
  126. package/src/bin/v2/cliUtils.js +1 -1
  127. package/src/bin/v2/customTagManager.js +1 -1
  128. package/src/bin/v2/eventDispatcher.js +1 -1
  129. package/src/bin/v2/framework/automationFramework.js +1 -1
  130. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  131. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  132. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  133. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  134. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  135. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  136. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  137. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  138. package/src/bin/v2/framework/testFramework.js +1 -1
  139. package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
  140. package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
  141. package/src/bin/v2/grpcClient.js +1 -1
  142. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  143. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  144. package/src/bin/v2/instances/trackedContext.js +1 -1
  145. package/src/bin/v2/instances/trackedInstance.js +1 -1
  146. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  147. package/src/bin/v2/modules/baseModule.js +1 -1
  148. package/src/bin/v2/modules/loadTestModule.js +1 -1
  149. package/src/bin/v2/modules/observabilityModule.js +1 -1
  150. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  151. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  152. package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
  153. package/src/bin/v2/modules/testhubModule.js +1 -1
  154. package/src/bin/v2/sdkErrorHandler.js +1 -1
  155. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  156. package/src/bin/v2/state/hookState.js +1 -1
  157. package/src/bin/v2/state/testFrameworkState.js +1 -1
  158. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  159. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  160. package/src/bin/v2/utils/jest-utils.js +1 -1
  161. package/src/bin/vanilla-js/command.js +1 -1
  162. package/src/browserStackSdk.js +1 -1
  163. package/src/helpers/BrowserStackSetup.js +1 -1
  164. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  165. package/src/helpers/accessibility-automation/constants.js +1 -1
  166. package/src/helpers/accessibility-automation/helper.js +1 -1
  167. package/src/helpers/accessibility-automation/scripts.js +1 -1
  168. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  169. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  170. package/src/helpers/ats/constants.js +1 -1
  171. package/src/helpers/ats/helper.js +1 -1
  172. package/src/helpers/caCertHelper.js +1 -1
  173. package/src/helpers/capsMapping.js +1 -1
  174. package/src/helpers/central-scanner/constants.js +1 -1
  175. package/src/helpers/central-scanner/helpers.js +1 -1
  176. package/src/helpers/classLogger.js +1 -1
  177. package/src/helpers/driverInitErrorReporter.js +1 -1
  178. package/src/helpers/globals.js +1 -1
  179. package/src/helpers/helper.js +1 -1
  180. package/src/helpers/logger.js +1 -1
  181. package/src/helpers/metadata.js +1 -1
  182. package/src/helpers/patchHelper.js +1 -1
  183. package/src/helpers/patchHelpers.js +1 -1
  184. package/src/helpers/percy/Percy.js +1 -1
  185. package/src/helpers/percy/PercyBinary.js +1 -1
  186. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  187. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  188. package/src/helpers/percy/PercySDK.js +1 -1
  189. package/src/helpers/percy/index.js +1 -1
  190. package/src/helpers/percy/utils.js +1 -1
  191. package/src/helpers/performance/constants.js +1 -1
  192. package/src/helpers/performance/performance-tester.js +1 -1
  193. package/src/helpers/playwright-helper.js +1 -1
  194. package/src/helpers/processHelper.js +1 -1
  195. package/src/helpers/puppeteer-helper.js +1 -1
  196. package/src/helpers/request-spy.js +1 -1
  197. package/src/helpers/setKeepAlive.js +1 -1
  198. package/src/helpers/stackFrameUtils.js +1 -1
  199. package/src/helpers/test-observability/constants.js +1 -1
  200. package/src/helpers/test-observability/error-handler.js +1 -1
  201. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  202. package/src/helpers/test-observability/sessionHandler.js +1 -1
  203. package/src/helpers/test-observability/utils.js +1 -1
  204. package/src/helpers/test-orchestration/constants.js +1 -1
  205. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  206. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  207. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  208. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  209. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  210. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  211. package/src/helpers/testhub/constants.js +1 -1
  212. package/src/helpers/testhub/testhubHandler.js +1 -1
  213. package/src/helpers/testhub/utils.js +1 -1
  214. package/src/helpers/timeoutPromise.js +1 -1
  215. package/src/helpers/utilities.js +1 -1
  216. package/src/helpers/w3cMapping.js +1 -1
  217. package/src/hubAllocationMethods.js +1 -1
  218. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a41_0x487000=a41_0x20ed;(function(_0x1fec2f,_0x3ba554){const _0x1698cc=a41_0x20ed,_0x4b853f=_0x1fec2f();while(!![]){try{const _0x14574a=-parseInt(_0x1698cc(0x1b4))/0x1+parseInt(_0x1698cc(0x10c))/0x2+parseInt(_0x1698cc(0x15e))/0x3+-parseInt(_0x1698cc(0x187))/0x4*(parseInt(_0x1698cc(0x1b2))/0x5)+-parseInt(_0x1698cc(0x183))/0x6+-parseInt(_0x1698cc(0x10f))/0x7*(-parseInt(_0x1698cc(0x195))/0x8)+-parseInt(_0x1698cc(0x178))/0x9;if(_0x14574a===_0x3ba554)break;else _0x4b853f['push'](_0x4b853f['shift']());}catch(_0x40c6dd){_0x4b853f['push'](_0x4b853f['shift']());}}}(a41_0x280e,0x915ae));const util=require(a41_0x487000(0x179)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a41_0x487000(0x146)),accessibilityRetryHelper=require(a41_0x487000(0x138)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require('../utils/constants'),{percyAutoCapture}=require(a41_0x487000(0x14f)),{sendPlatformDetails}=require('./test-observability/mochaUtils'),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a41_0x487000(0x190)),PerformanceTester=require(a41_0x487000(0x158)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require('../../helpers/performance/constants'),globals=require(a41_0x487000(0x128)),logger=require('../../helpers/logger')['winstonLogger'],{shouldProcessEventForTesthub}=require(a41_0x487000(0x164)),testHubConstants=require('../../helpers/testhub/constants');try{require(a41_0x487000(0x10e))[a41_0x487000(0x113)](a41_0x487000(0x15b));}catch(a41_0x3d6606){logger[a41_0x487000(0x147)](a41_0x487000(0x177)+(a41_0x3d6606&&a41_0x3d6606[a41_0x487000(0x15a)]));}exports['mochaHooks']={'beforeAll'(){const _0x5303c3=a41_0x487000,_0x17f0d1={'tqlyr':function(_0x5171fc,_0x16c184,_0x56970a,_0x3ae8f5){return _0x5171fc(_0x16c184,_0x56970a,_0x3ae8f5);},'prBJl':_0x5303c3(0x13d),'FQgSa':'\x20|\x20','FOJcM':function(_0x480b23,_0x254606,_0x23f4d2){return _0x480b23(_0x254606,_0x23f4d2);},'MXRQv':_0x5303c3(0x176),'WlKpR':function(_0x2e8186){return _0x2e8186();},'Ppznv':function(_0x75cf68,_0x5009da,_0x1c58c2){return _0x75cf68(_0x5009da,_0x1c58c2);},'Wrdgo':'index','MhYkC':_0x5303c3(0x15d)};PerformanceTester[_0x5303c3(0x13c)]();const _0x52effa='browserstack internal helper hook';PerformanceTester[_0x5303c3(0x17f)](PerformanceSdkEvents[_0x5303c3(0x1c5)],()=>{const _0x585ca7=_0x5303c3;global[_0x585ca7(0x143)]=[],global[_0x585ca7(0x194)]=![],global[_0x585ca7(0x13b)]=async()=>{const _0x4377a7=_0x585ca7;let _0x2f1d15=![];try{await global['__drivers'][0x0][_0x4377a7(0x16f)],_0x2f1d15=!![],global[_0x4377a7(0x194)]?await _0x17f0d1[_0x4377a7(0x132)](markSessionStatus,global[_0x4377a7(0x156)][0x0],_0x17f0d1[_0x4377a7(0x1c8)],global[_0x4377a7(0x143)][_0x4377a7(0x19d)](_0x17f0d1[_0x4377a7(0x12a)])):await _0x17f0d1[_0x4377a7(0x100)](markSessionStatus,global[_0x4377a7(0x156)][0x0],_0x17f0d1[_0x4377a7(0x1c6)]);}catch(_0x240e16){logger[_0x4377a7(0x147)](_0x4377a7(0x142)+_0x240e16);}global[_0x4377a7(0x143)]=[],global[_0x4377a7(0x194)]=![];if(_0x2f1d15)try{try{_0x17f0d1[_0x4377a7(0x10a)](shouldProcessEventForTesthub)&&(global['__drivers'][0x0]&&await _0x17f0d1['FOJcM'](sendPlatformDetails,global[_0x4377a7(0x156)][0x0],this['currentTest']?this['currentTest'][_0x4377a7(0x141)]:null));}catch(_0x2e95d3){logger[_0x4377a7(0x147)](_0x4377a7(0x157)+_0x2e95d3);}await global[_0x4377a7(0x156)][0x0][_0x4377a7(0x1bf)]();}catch(_0x2d4e10){logger[_0x4377a7(0x147)](_0x4377a7(0x1b7)+_0x2d4e10);}};},{'platform':_0x17f0d1[_0x5303c3(0x103)](nestedKeyValue,global[_0x5303c3(0x1a0)],[_0x17f0d1['Wrdgo']]),'hookType':_0x17f0d1['MhYkC']})();},'beforeEach'(_0x4b9c7f){const _0x465ba7=a41_0x487000,_0x25983a={'jEDXA':function(_0x2de786){return _0x2de786();},'TyBvp':function(_0x430418,_0x3d7274){return _0x430418>_0x3d7274;},'VDUtt':'\x20-\x20','CpvOr':function(_0x290714,_0x475b9c,_0x40d99f){return _0x290714(_0x475b9c,_0x40d99f);},'MkUVL':function(_0x35d863,_0x518b40){return _0x35d863===_0x518b40;},'Mvcmn':_0x465ba7(0x1a4),'DeAhx':_0x465ba7(0x148),'aBObk':_0x465ba7(0x11b),'sVshJ':_0x465ba7(0x174),'gtFXL':_0x465ba7(0x19c),'EhxjT':'Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','qCspE':_0x465ba7(0x16e),'glEld':_0x465ba7(0x1c3),'UdryQ':'index','PGpFa':_0x465ba7(0x16d)};globals[_0x465ba7(0x170)](_0x25983a[_0x465ba7(0x16c)],this[_0x465ba7(0x1b0)][_0x465ba7(0x172)]()[_0x465ba7(0x19d)](_0x25983a[_0x465ba7(0x16a)])),PerformanceTester[_0x465ba7(0x17f)](PerformanceSdkEvents[_0x465ba7(0x1c5)],()=>{const _0xe1abba=_0x465ba7,_0x4adca1={'htwjx':function(_0x365d78,_0x54a9bd){return _0x25983a['TyBvp'](_0x365d78,_0x54a9bd);},'Nazpp':_0x25983a[_0xe1abba(0x16a)],'GOmzV':function(_0x23f910,_0xf3765c,_0x23516f){const _0x3d6b06=_0xe1abba;return _0x25983a[_0x3d6b06(0x1be)](_0x23f910,_0xf3765c,_0x23516f);},'ixTFe':function(_0x2217b6,_0x4778f8){const _0x394ca5=_0xe1abba;return _0x25983a[_0x394ca5(0x12e)](_0x2217b6,_0x4778f8);},'sDBFJ':_0x25983a['Mvcmn'],'sxRdd':_0x25983a[_0xe1abba(0x1ab)],'brHVf':function(_0x42e39f){const _0x37c941=_0xe1abba;return _0x25983a[_0x37c941(0x191)](_0x42e39f);},'XqvDU':function(_0x277f61,_0x36396d){return _0x25983a['TyBvp'](_0x277f61,_0x36396d);},'kwYcN':_0x25983a[_0xe1abba(0x124)],'nxiWm':_0x25983a['sVshJ'],'cVFFe':_0x25983a[_0xe1abba(0x101)],'eQThJ':_0x25983a[_0xe1abba(0x184)],'KMFSR':_0x25983a[_0xe1abba(0x149)],'efLhk':function(_0x10eca9){return _0x25983a['jEDXA'](_0x10eca9);}},_0x39e922='browserstack internal helper hook';new Promise(async _0x54b7e3=>{const _0x19de40=_0xe1abba;let _0x3afa7a=!![];try{_0x4adca1[_0x19de40(0x137)](global[_0x19de40(0x156)][_0x19de40(0x15f)],0x1)&&(await global[_0x19de40(0x13b)](),global[_0x19de40(0x156)]['shift']()),_0x4adca1[_0x19de40(0x137)](global['__drivers'][0x0][_0x19de40(0x160)],0x0)&&(_0x3afa7a=![],await global['driverCleanup']());}catch(_0x1f222f){logger['debug'](_0x19de40(0x1b7)+_0x1f222f);}try{Array[_0x19de40(0x1c1)](global['__drivers'])&&global[_0x19de40(0x156)][0x0]&&(global[_0x19de40(0x156)][0x0][_0x19de40(0x1b6)]=this[_0x19de40(0x1b0)]['titlePath']()[_0x19de40(0x19d)](_0x4adca1[_0x19de40(0x152)])),global[_0x19de40(0x1b6)]=this['currentTest'][_0x19de40(0x172)]()['join'](_0x4adca1[_0x19de40(0x152)]);}catch(_0x117895){logger['debug'](_0x19de40(0x17e)+_0x117895);}this['currentTest'][_0x19de40(0x150)]=_0x4adca1[_0x19de40(0x162)](shouldScanTestForAccessibility,this['currentTest'][_0x19de40(0x172)](),!![]);let _0x4128e8=!![];try{const _0x25072d=JSON[_0x19de40(0x1b1)](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']||'{}');_0x4adca1[_0x19de40(0x10b)](_0x25072d[_0x19de40(0x13a)],![])&&(_0x4128e8=![]);}catch(_0x27def9){logger[_0x19de40(0x147)](_0x19de40(0x14c)+_0x27def9[_0x19de40(0x15a)]);}const _0x20271e=_0x4128e8&&this[_0x19de40(0x1b0)][_0x19de40(0x150)];globals[_0x19de40(0x170)](_0x4adca1[_0x19de40(0x14a)],_0x20271e),globals[_0x19de40(0x170)](_0x4adca1['sxRdd'],null),this['currentTest'][_0x19de40(0x199)]=this['currentTest'][_0x19de40(0x150)];if(_0x4adca1['brHVf'](isAccessibilityAutomationSession)&&_0x3afa7a&&Array[_0x19de40(0x1c1)](global[_0x19de40(0x156)])&&_0x4adca1['XqvDU'](global[_0x19de40(0x156)]['length'],0x0)&&globals[_0x19de40(0x110)](_0x4adca1[_0x19de40(0x1c0)]))try{const _0x198340=await global[_0x19de40(0x156)][0x0][_0x19de40(0x16f)];if(_0x198340){let _0x412533=!![];const _0x37c882=await global[_0x19de40(0x156)][0x0][_0x19de40(0x102)]();let _0x4e0b10;try{_0x4e0b10=new URL(_0x37c882),_0x412533=_0x4adca1[_0x19de40(0x10b)](_0x4e0b10['protocol'],_0x4adca1[_0x19de40(0x116)])||_0x4adca1['ixTFe'](_0x4e0b10[_0x19de40(0x1ba)],_0x4adca1[_0x19de40(0xff)]);}catch(_0x47e494){_0x412533=![];}_0x412533&&(this[_0x19de40(0x1b0)]['shouldScanTestForAccessibility']&&logger[_0x19de40(0x196)](_0x4adca1['eQThJ'])),this[_0x19de40(0x1b0)][_0x19de40(0x199)]=this[_0x19de40(0x1b0)][_0x19de40(0x150)],_0x20271e&&logger[_0x19de40(0x196)](_0x4adca1['KMFSR']);}}catch(_0x57b484){logger[_0x19de40(0x12b)](_0x19de40(0x1bb)+util[_0x19de40(0x153)](_0x57b484));}_0x4adca1['efLhk'](_0x54b7e3);})[_0xe1abba(0x1c2)](()=>{_0x25983a['jEDXA'](_0x4b9c7f);});},{'platform':_0x25983a[_0x465ba7(0x1be)](nestedKeyValue,global[_0x465ba7(0x1a0)],[_0x25983a[_0x465ba7(0x181)]]),'hookType':_0x25983a[_0x465ba7(0x144)]})();},'afterEach'(_0x3f1efc){const _0x24a60d=a41_0x487000,_0x5be98c={'hhioD':_0x24a60d(0x180),'eGRKf':function(_0x344b5f,_0x3117e7){return _0x344b5f!==_0x3117e7;},'gLbTr':'passed','EZNFJ':function(_0x3c1876,_0x3b3f28,_0x24ad78){return _0x3c1876(_0x3b3f28,_0x24ad78);},'WJXUg':function(_0xaec7ae,_0x149ee4){return _0xaec7ae+_0x149ee4;},'lbuow':'Failed:\x20','FLdYZ':_0x24a60d(0x12b),'dpQZW':_0x24a60d(0x185),'fyRwX':_0x24a60d(0x196),'sQyIo':function(_0x44e6e3,_0x24af62){return _0x44e6e3>_0x24af62;},'rkheW':function(_0x2e7f2f,_0x26d216){return _0x2e7f2f===_0x26d216;},'eLTNV':'testcase','WXPkF':_0x24a60d(0x127),'cUKDZ':function(_0x2fc72b,_0x140645,_0x59406f,_0x457988){return _0x2fc72b(_0x140645,_0x59406f,_0x457988);},'IOuDs':'isAccessibilityPlatform','hxfyI':_0x24a60d(0x18c),'ngims':_0x24a60d(0x1a4),'uJMDR':'Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','qyDhc':_0x24a60d(0x169),'KxjWw':_0x24a60d(0x151),'BMZuY':_0x24a60d(0x175),'mhwKr':'[Accessibility]\x20Auto\x20scan\x20is\x20disabled;\x20skipping\x20final\x20scan\x20and\x20saving\x20current\x20accumulated\x20results','KudhU':'Accessibility\x20results\x20saved\x20successfully','KDalM':'Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','ETJvK':_0x24a60d(0x17c),'AYoQf':function(_0x280c09){return _0x280c09();},'KnXJW':function(_0x36fe09){return _0x36fe09();},'XuyHe':_0x24a60d(0x147),'kJISL':function(_0x5a8cb9,_0x3fb34c){return _0x5a8cb9>_0x3fb34c;},'rQQur':function(_0x4b4551){return _0x4b4551();},'LtqkT':_0x24a60d(0x1ae),'orDNE':_0x24a60d(0x1b9),'nAcyU':_0x24a60d(0x1a9)},_0x5e6460='browserstack internal helper hook';this[_0x24a60d(0x1b5)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x5be98c[_0x24a60d(0x117)]]),global[_0x24a60d(0x12f)]=this[_0x24a60d(0x1b0)][_0x24a60d(0x172)]()[_0x24a60d(0x19d)](_0x5be98c[_0x24a60d(0x139)]),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x24a60d(0x1c5)],()=>{const _0x48102e=_0x24a60d,_0x1781a5={'wGdiG':_0x5be98c[_0x48102e(0x139)],'VICVp':function(_0x487c10,_0x407046){const _0x483a7=_0x48102e;return _0x5be98c[_0x483a7(0x18a)](_0x487c10,_0x407046);},'XAbTh':_0x5be98c[_0x48102e(0x115)],'SHsRH':function(_0x5e1512,_0x41f0a7,_0x25e127){const _0x2b98a0=_0x48102e;return _0x5be98c[_0x2b98a0(0x19f)](_0x5e1512,_0x41f0a7,_0x25e127);},'IemPn':function(_0x4e2f14,_0x463e86){const _0x2cd42c=_0x48102e;return _0x5be98c[_0x2cd42c(0x131)](_0x4e2f14,_0x463e86);},'frqFe':_0x5be98c['lbuow'],'nfhro':_0x5be98c[_0x48102e(0x163)],'osxnU':_0x5be98c[_0x48102e(0x114)],'yxVuX':_0x5be98c[_0x48102e(0x129)],'EkoIO':function(_0x11aeef,_0xecc908){const _0xb04208=_0x48102e;return _0x5be98c[_0xb04208(0x134)](_0x11aeef,_0xecc908);},'SzSFc':function(_0x5c3a82,_0x4edb48){const _0x2d7b3b=_0x48102e;return _0x5be98c[_0x2d7b3b(0x197)](_0x5c3a82,_0x4edb48);},'hGtci':_0x5be98c['eLTNV'],'NSjAC':function(_0x2ce938,_0x36e720){const _0x480613=_0x48102e;return _0x5be98c[_0x480613(0x134)](_0x2ce938,_0x36e720);},'pUnsI':_0x5be98c['WXPkF'],'BQytw':function(_0x4f108c,_0x3937e5,_0x396770,_0x3d8ac6){const _0xc8470a=_0x48102e;return _0x5be98c[_0xc8470a(0x193)](_0x4f108c,_0x3937e5,_0x396770,_0x3d8ac6);},'VWUIX':_0x5be98c[_0x48102e(0x186)],'OjRaN':_0x5be98c[_0x48102e(0x154)],'sGzUH':_0x5be98c[_0x48102e(0x1bc)],'kXCao':_0x5be98c[_0x48102e(0x1b8)],'CDdHX':_0x5be98c[_0x48102e(0x17d)],'UqzyH':_0x5be98c['KxjWw'],'IoATx':_0x5be98c[_0x48102e(0x1a8)],'knmGY':_0x5be98c[_0x48102e(0x1a1)],'tOPDg':_0x5be98c[_0x48102e(0x168)],'VqzDp':_0x5be98c[_0x48102e(0x165)],'Tjxun':_0x5be98c[_0x48102e(0x1bd)],'duNbh':function(_0x13ca25){return _0x5be98c['AYoQf'](_0x13ca25);},'mXUUM':function(_0x47cc8f){const _0x4e7151=_0x48102e;return _0x5be98c[_0x4e7151(0x182)](_0x47cc8f);},'KQvJu':_0x5be98c[_0x48102e(0x105)],'YTseW':function(_0x565571,_0x13c412){return _0x5be98c['kJISL'](_0x565571,_0x13c412);},'IRRcx':function(_0x115294){const _0x48cb91=_0x48102e;return _0x5be98c[_0x48cb91(0x126)](_0x115294);}},_0x49616a=async(_0x63ca2d,_0x8ac313)=>{const _0xbd9c1c=_0x48102e;await global[_0xbd9c1c(0x156)][0x0][_0xbd9c1c(0x107)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0x63ca2d+_0xbd9c1c(0x18b)+_0x8ac313+_0xbd9c1c(0x120));};new Promise(async _0x5c430e=>{const _0x58dc56=_0x48102e;try{_0x1781a5['EkoIO'](global[_0x58dc56(0x156)][_0x58dc56(0x15f)],0x1)&&(await global['driverCleanup'](),global[_0x58dc56(0x156)][_0x58dc56(0x1a2)](),global[_0x58dc56(0x143)]=[],global[_0x58dc56(0x194)]=![]);try{if(global[_0x58dc56(0x122)]&&_0x1781a5['SzSFc'](global['percyCaptureMode'],_0x1781a5[_0x58dc56(0x13e)])&&global[_0x58dc56(0x156)][0x0]){const _0x121f12=_0x1781a5[_0x58dc56(0x1c4)](global[_0x58dc56(0x111)][_0x58dc56(0x15f)],0x0)?!!global[_0x58dc56(0x111)][0x0]['app']||!!global[_0x58dc56(0x111)][0x0][_0x1781a5[_0x58dc56(0x17a)]]:![],_0x2630ed={};_0x2630ed[_0x58dc56(0x16b)]=_0x121f12,await _0x1781a5[_0x58dc56(0x18d)](percyAutoCapture,global['__drivers'][0x0],_0x1781a5[_0x58dc56(0x13e)],_0x2630ed);}}catch(_0x235553){logger['debug']('Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20'+_0x235553);}!global[_0x58dc56(0x145)]&&(await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x58dc56(0x19b)],async()=>{const _0x338637=_0x58dc56;await global[_0x338637(0x156)][0x0][_0x338637(0x107)](_0x338637(0x109)+JSON[_0x338637(0x11f)](this[_0x338637(0x1b0)][_0x338637(0x172)]()['join'](_0x1781a5[_0x338637(0x167)]))+'}}');})(),global[_0x58dc56(0x156)][0x0][_0x58dc56(0x14b)]=!![]),await PerformanceTester[_0x58dc56(0x17f)](PerformanceAutEvents[_0x58dc56(0x14d)],async()=>{const _0x416603=_0x58dc56,_0x38d9af=_0x1781a5[_0x416603(0x159)](this[_0x416603(0x1b0)]['state'],_0x1781a5['XAbTh']);_0x38d9af?(global[_0x416603(0x194)]=!![],global[_0x416603(0x143)][_0x416603(0x1c7)](this['currentTest'][_0x416603(0x192)][_0x416603(0x15a)]),await _0x1781a5[_0x416603(0x11a)](_0x49616a,JSON[_0x416603(0x11f)](_0x1781a5[_0x416603(0x106)](_0x1781a5['frqFe'],this[_0x416603(0x1b0)]['err']['message'])),_0x1781a5[_0x416603(0x15c)])):await _0x1781a5[_0x416603(0x11a)](_0x49616a,JSON[_0x416603(0x11f)](_0x1781a5[_0x416603(0x1af)]),_0x1781a5[_0x416603(0x11d)]);})();}catch(_0x1098e8){logger[_0x58dc56(0x147)](_0x58dc56(0x173)+_0x1098e8);}try{if(this[_0x58dc56(0x1b0)][_0x58dc56(0x199)]&&globals[_0x58dc56(0x110)](_0x1781a5['VWUIX'])){logger[_0x58dc56(0x196)](_0x1781a5[_0x58dc56(0x12d)]);const _0x376b4d={};_0x376b4d[_0x58dc56(0x18e)]=this['currentTest']['testAnalyticsId'],_0x376b4d[_0x58dc56(0x104)]=process[_0x58dc56(0x189)][testHubConstants[_0x58dc56(0x11c)]['BROWSERSTACK_TESTHUB_UUID']],_0x376b4d[_0x58dc56(0x19e)]=process['env'][testHubConstants['ENV_VAR'][_0x58dc56(0x198)]];const _0x4de8c1=_0x376b4d;logger[_0x58dc56(0x147)](_0x58dc56(0x133)+JSON[_0x58dc56(0x11f)](_0x4de8c1));if(globals['getGlobal'](_0x1781a5[_0x58dc56(0x119)])){logger['debug'](_0x1781a5['kXCao']);const _0x5eb2d3={};_0x5eb2d3[_0x58dc56(0x1a3)]=_0x1781a5[_0x58dc56(0x112)];const _0x410d48=await PerformanceTester[_0x58dc56(0x17f)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x64eb5a=_0x58dc56;return await accessibilityRetryHelper[_0x64eb5a(0x19a)](global['__drivers'][0x0],global[_0x64eb5a(0x1b6)]);},_0x5eb2d3)();_0x410d48?logger['debug'](_0x1781a5[_0x58dc56(0x136)]):logger[_0x58dc56(0x1b3)](_0x1781a5[_0x58dc56(0x108)]);}else logger[_0x58dc56(0x147)](_0x1781a5[_0x58dc56(0x1a6)]);const _0x4711f4=await PerformanceTester[_0x58dc56(0x17f)](PerformanceA11yEvents[_0x58dc56(0x118)],async()=>{const _0xa92acb=_0x58dc56;return await accessibilityRetryHelper[_0xa92acb(0x14e)](global['__drivers'][0x0],_0x4de8c1);})();_0x4711f4?logger['debug'](_0x1781a5[_0x58dc56(0x166)]):logger[_0x58dc56(0x1b3)](_0x1781a5[_0x58dc56(0x123)]),logger[_0x58dc56(0x196)](_0x1781a5[_0x58dc56(0x125)]);}}catch(_0x116f8d){logger['error'](_0x58dc56(0x1a7)+this[_0x58dc56(0x1b0)][_0x58dc56(0x172)]()+_0x58dc56(0x161),_0x116f8d);}try{try{if(_0x1781a5[_0x58dc56(0x135)](shouldProcessEventForTesthub)){global[_0x58dc56(0x156)][0x0]&&await _0x1781a5[_0x58dc56(0x11a)](sendPlatformDetails,global[_0x58dc56(0x156)][0x0],this['currentTest']?this[_0x58dc56(0x1b0)][_0x58dc56(0x141)]:null);if(_0x1781a5[_0x58dc56(0x1c9)](isBrowserstackInfra)){PerformanceTester[_0x58dc56(0x10d)](PerformanceO11yEvents[_0x58dc56(0x140)]);const _0x16d4fb=_0x58dc56(0x12c)+Date[_0x58dc56(0x11e)]();await _0x1781a5[_0x58dc56(0x11a)](_0x49616a,JSON[_0x58dc56(0x11f)](_0x16d4fb),_0x1781a5[_0x58dc56(0x1ac)]),PerformanceTester['end'](PerformanceO11yEvents['SYNC']);}}}catch(_0x16c257){logger['debug'](_0x58dc56(0x155)+_0x16c257),PerformanceTester[_0x58dc56(0x130)](PerformanceO11yEvents[_0x58dc56(0x140)],![],_0x16c257);}_0x1781a5[_0x58dc56(0x188)](global['__drivers'][0x0][_0x58dc56(0x160)],0x0)&&await global['driverCleanup']();}catch(_0xa776ba){logger[_0x58dc56(0x147)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0xa776ba);}_0x1781a5[_0x58dc56(0x171)](_0x5c430e);})['then'](()=>{const _0x160069=_0x48102e;_0x1781a5[_0x160069(0x135)](_0x3f1efc);});},{'platform':_0x5be98c[_0x24a60d(0x19f)](nestedKeyValue,global[_0x24a60d(0x1a0)],[_0x5be98c[_0x24a60d(0x121)]]),'hookType':_0x5be98c['nAcyU']})();},'afterAll'(_0x4b3789){const _0x5dd39d=a41_0x487000,_0x3459e2={'JNlAS':function(_0x300200){return _0x300200();},'yRGAl':function(_0x40cde9){return _0x40cde9();},'irixj':_0x5dd39d(0x1ae),'aVXsP':function(_0x47b1ec,_0x224eed,_0x2898ee){return _0x47b1ec(_0x224eed,_0x2898ee);},'CWxFE':_0x5dd39d(0x1b9),'NBPfc':_0x5dd39d(0x1a5)},_0x52e096='browserstack internal helper hook';this[_0x5dd39d(0x1b5)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x3459e2[_0x5dd39d(0x13f)]]),PerformanceTester[_0x5dd39d(0x17f)](PerformanceSdkEvents[_0x5dd39d(0x1c5)],()=>{const _0x31312b=_0x5dd39d,_0x5f3a3c={'FKlZt':function(_0x291953){return _0x3459e2['yRGAl'](_0x291953);}};new Promise(async _0x366fcd=>{const _0x33dafe=a41_0x20ed;await global[_0x33dafe(0x13b)](),_0x3459e2[_0x33dafe(0x18f)](_0x366fcd);})['then']()[_0x31312b(0x1ad)](()=>{const _0x5451ea=_0x31312b;_0x5f3a3c[_0x5451ea(0x1aa)](_0x4b3789);});},{'platform':_0x3459e2['aVXsP'](nestedKeyValue,global[_0x5dd39d(0x1a0)],[_0x3459e2['CWxFE']]),'hookType':_0x3459e2[_0x5dd39d(0x17b)]})();}};function a41_0x20ed(_0x13131b,_0x3b17c4){const _0x280ef4=a41_0x280e();return a41_0x20ed=function(_0x20ed2d,_0x44bdc2){_0x20ed2d=_0x20ed2d-0xff;let _0x45ecc4=_0x280ef4[_0x20ed2d];return _0x45ecc4;},a41_0x20ed(_0x13131b,_0x3b17c4);}function a41_0x280e(){const _0x183e3a=['tqlyr','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','sQyIo','duNbh','UqzyH','htwjx','../../helpers/accessibility-automation/accessibilityRetryHelper','hhioD','autoScanning','driverCleanup','startMonitoring','failed','hGtci','irixj','SYNC','testAnalyticsId','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','__error_messages__','PGpFa','__skipSessionName','../../helpers/accessibility-automation/helper','debug','bstackA11yScanOptions','qCspE','sDBFJ','sessionNameSet__','Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','SESSION_STATUS','saveAccessibilityResultsWithRetry','../../helpers/percy/utils','shouldScanTestForAccessibility','Accessibility\x20scan\x20completed\x20successfully','Nazpp','format','hxfyI','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','__drivers','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','../../helpers/performance/performance-tester','VICVp','message','mocha','nfhro','beforeAll','2449401bZskJt','length','quitCount_','.\x20Error\x20:','GOmzV','FLdYZ','../../helpers/testhub/utils','KDalM','tOPDg','wGdiG','KudhU','afterTest','VDUtt','app','glEld','beforeEach','Automate\x20test\x20case\x20execution\x20has\x20started.','session_','setGlobal','IRRcx','titlePath','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','http:','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','passed','driver-init\x20capture\x20install\x20failed:\x20','8916426LuhbOJ','util','pUnsI','NBPfc','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','qyDhc','Failed\x20to\x20store\x20session\x20name:\x20','measureWrapper','\x20-\x20','UdryQ','KnXJW','1678614TgoegL','EhxjT','Passed','IOuDs','585812mXGxox','YTseW','env','eGRKf',',\x22level\x22:\x20\x22','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','BQytw','thTestRunUuid','JNlAS','../../helpers/helper','jEDXA','err','cUKDZ','__sessionFailed','8hadBXg','info','rkheW','BROWSERSTACK_TESTHUB_JWT','accessibilityScanStarted','performScanWithRetry','SESSION_NAME','https:','join','thJwtToken','EZNFJ','__platformCaps','mhwKr','shift','command','bstackA11yShouldScan','afterAll','knmGY','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','BMZuY','afterEach','FKlZt','DeAhx','KQvJu','finally','Mocha','osxnU','currentTest','parse','15dNtAYI','warn','98928mgyhLJ','timeout','browserstackSessionName','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','uJMDR','index','protocol','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','ngims','ETJvK','CpvOr','initQuit','kwYcN','isArray','then','browserstackTestName','NSjAC','SDK_HOOK','MXRQv','push','prBJl','mXUUM','cVFFe','FOJcM','gtFXL','getCurrentUrl','Ppznv','thBuildUuid','XuyHe','IemPn','executeScript','IoATx','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','WlKpR','ixTFe','1239756jNEEIG','start','../../helpers/driverInitErrorReporter','6774593ytoUYV','getGlobal','capabilities','CDdHX','installAll','dpQZW','gLbTr','nxiWm','LtqkT','SAVE_RESULTS','sGzUH','SHsRH','isAccessibilityPlatform','ENV_VAR','yxVuX','now','stringify','\x22}}','orDNE','percy','VqzDp','aBObk','Tjxun','rQQur','appium:app','../../helpers/globals','fyRwX','FQgSa','error','ObservabilitySync:','OjRaN','MkUVL','sessionName','end','WJXUg'];a41_0x280e=function(){return _0x183e3a;};return a41_0x280e();}
1
+ const a41_0x21c80f=a41_0x1d60;function a41_0x1d60(_0x11be53,_0xfd55d1){const _0x4dc1d3=a41_0x4dc1();return a41_0x1d60=function(_0x1d6047,_0x4d2e14){_0x1d6047=_0x1d6047-0x122;let _0x5a7860=_0x4dc1d3[_0x1d6047];return _0x5a7860;},a41_0x1d60(_0x11be53,_0xfd55d1);}(function(_0x21cfa9,_0x2b6734){const _0x1c15b6=a41_0x1d60,_0x5a79d9=_0x21cfa9();while(!![]){try{const _0x398e36=-parseInt(_0x1c15b6(0x1b6))/0x1+-parseInt(_0x1c15b6(0x144))/0x2*(parseInt(_0x1c15b6(0x176))/0x3)+-parseInt(_0x1c15b6(0x164))/0x4*(parseInt(_0x1c15b6(0x1d2))/0x5)+-parseInt(_0x1c15b6(0x18d))/0x6*(parseInt(_0x1c15b6(0x1dd))/0x7)+parseInt(_0x1c15b6(0x168))/0x8+-parseInt(_0x1c15b6(0x126))/0x9*(parseInt(_0x1c15b6(0x122))/0xa)+parseInt(_0x1c15b6(0x162))/0xb;if(_0x398e36===_0x2b6734)break;else _0x5a79d9['push'](_0x5a79d9['shift']());}catch(_0x3f4394){_0x5a79d9['push'](_0x5a79d9['shift']());}}}(a41_0x4dc1,0x7b480));function a41_0x4dc1(){const _0x52f2ae=['TwVFN','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','sessionName','fKmDC','ENV_VAR','PeUiU','../../helpers/helper','__sessionFailed','Nbxem','RIApL','YJwyv','afterEach','qBegI','kCbVQ','PONQZ','ZjgMY','Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','mocha','end','phrxx','xHsFY','QsesF','autoScanning','LTmLp','debug','SnfEl','getGlobal','pTQZA','length','22781649zHWyys','../utils/constants','4944PjxMOu','../../helpers/percy/utils','currentTest','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','6525232beJZLN','parse','kWgre','RNPjg','nbRhh','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','jGMiu','EvgpY','../../helpers/globals','IACkU','XHgoU','SYNC','https:','[Accessibility]\x20Auto\x20scan\x20is\x20disabled;\x20skipping\x20final\x20scan\x20and\x20saving\x20current\x20accumulated\x20results','883191MPseeC','push','fACnh','SAVE_RESULTS','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','ZFGqd','UAosj','Failed\x20to\x20store\x20session\x20name:\x20','TkSQn','thBuildUuid','xIMMl','SDK_HOOK','installAll','dZLfo','../../helpers/testhub/utils','VdnaK','shouldScanTestForAccessibility','now','Failed:\x20','vAvdH','setGlobal','shift','appium:app','4197816PeLAAR','BROWSERSTACK_TESTHUB_JWT','fFahw','ObservabilitySync:','measureWrapper','DppCr','DblCm','xzRmn','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','titlePath','sessionNameSet__','PERFORM_SCAN','nIwss','__error_messages__','env','thTestRunUuid','afterTest','http:','doxZB','rszoa','zVNAq','Pyfth','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','startMonitoring','Automate\x20test\x20case\x20execution\x20has\x20started.','info','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','snGag','PCqkp','stringify','\x20-\x20','browserstackSessionName','then','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','zkhQM','tQqlr','ntWtK','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','app','timeout','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','721124UVhgSs','performScanWithRetry','../../helpers/performance/constants','QgoDd','TPncz','Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','gPRUM','browserstackTestName','xJkPu','\x22}}','warn','quitCount_','index','join','beforeAll','getCurrentUrl','isAccessibilityPlatform','eppwJ','message','GHXsL','state','yKgpw','GWRcf','OWsEZ','yZQtd','session_','executeScript','Accessibility\x20results\x20saved\x20successfully','80ycTCgd','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','__platformCaps','afterAll','Passed','SESSION_STATUS','driver-init\x20capture\x20install\x20failed:\x20','ObQLN','./test-observability/mochaUtils','7rFsVzD','error','HAOTy','10180iqotYA','testAnalyticsId','capabilities','err','513HJJQbK','mvmKP','IlTTw','FdEOI','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','format','driverCleanup','finally','thJwtToken','lblec','__drivers','accessibilityScanStarted','testcase','\x20|\x20','QRHnt','SESSION_NAME','../../helpers/logger','tHKAI','Mocha','mTmJn','pwxaU','UxIjx','kGtOp','__skipSessionName','cyrkw','bstackA11yShouldScan','OxBxN','ojKfk','Accessibility\x20scan\x20completed\x20successfully','isArray','6URbGDt'];a41_0x4dc1=function(){return _0x52f2ae;};return a41_0x4dc1();}const util=require('util'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),accessibilityRetryHelper=require('../../helpers/accessibility-automation/accessibilityRetryHelper'),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a41_0x21c80f(0x163)),{percyAutoCapture}=require(a41_0x21c80f(0x165)),{sendPlatformDetails}=require(a41_0x21c80f(0x1dc)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a41_0x21c80f(0x14b)),PerformanceTester=require('../../helpers/performance/performance-tester'),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a41_0x21c80f(0x1b8)),globals=require(a41_0x21c80f(0x170)),logger=require(a41_0x21c80f(0x136))['winstonLogger'],{shouldProcessEventForTesthub}=require(a41_0x21c80f(0x184)),testHubConstants=require('../../helpers/testhub/constants');try{require('../../helpers/driverInitErrorReporter')[a41_0x21c80f(0x182)](a41_0x21c80f(0x156));}catch(a41_0x478173){logger['debug'](a41_0x21c80f(0x1da)+(a41_0x478173&&a41_0x478173[a41_0x21c80f(0x1c8)]));}exports['mochaHooks']={'beforeAll'(){const _0x327144=a41_0x21c80f,_0x236946={'hlHrw':function(_0x5288f4,_0x30d5d0,_0x115f04,_0x161d3f){return _0x5288f4(_0x30d5d0,_0x115f04,_0x161d3f);},'nIwss':'failed','QRHnt':_0x327144(0x133),'ntWtK':function(_0x9968a0,_0x1185d6,_0x9518c8){return _0x9968a0(_0x1185d6,_0x9518c8);},'PCqkp':'passed','HAOTy':function(_0x2cf068){return _0x2cf068();},'PONQZ':function(_0x4b5e42,_0xd60458,_0x5670b5){return _0x4b5e42(_0xd60458,_0x5670b5);},'xzRmn':_0x327144(0x1c2),'uNiqH':_0x327144(0x1c4)};PerformanceTester[_0x327144(0x1a4)]();const _0x473c69='browserstack internal helper hook';PerformanceTester[_0x327144(0x191)](PerformanceSdkEvents[_0x327144(0x181)],()=>{const _0x20c32c=_0x327144;global[_0x20c32c(0x19a)]=[],global[_0x20c32c(0x14c)]=![],global[_0x20c32c(0x12c)]=async()=>{const _0x49b4c1=_0x20c32c;let _0x31859f=![];try{await global[_0x49b4c1(0x130)][0x0][_0x49b4c1(0x1cf)],_0x31859f=!![],global['__sessionFailed']?await _0x236946['hlHrw'](markSessionStatus,global[_0x49b4c1(0x130)][0x0],_0x236946[_0x49b4c1(0x199)],global[_0x49b4c1(0x19a)][_0x49b4c1(0x1c3)](_0x236946[_0x49b4c1(0x134)])):await _0x236946['ntWtK'](markSessionStatus,global[_0x49b4c1(0x130)][0x0],_0x236946[_0x49b4c1(0x1a9)]);}catch(_0x26c174){logger[_0x49b4c1(0x15d)](_0x49b4c1(0x12a)+_0x26c174);}global[_0x49b4c1(0x19a)]=[],global['__sessionFailed']=![];if(_0x31859f)try{try{_0x236946[_0x49b4c1(0x1df)](shouldProcessEventForTesthub)&&(global[_0x49b4c1(0x130)][0x0]&&await _0x236946[_0x49b4c1(0x1b1)](sendPlatformDetails,global['__drivers'][0x0],this[_0x49b4c1(0x166)]?this[_0x49b4c1(0x166)]['testAnalyticsId']:null));}catch(_0x43016e){logger[_0x49b4c1(0x15d)](_0x49b4c1(0x1ae)+_0x43016e);}await global[_0x49b4c1(0x130)][0x0]['initQuit']();}catch(_0x16c669){logger[_0x49b4c1(0x15d)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x16c669);}};},{'platform':_0x236946[_0x327144(0x153)](nestedKeyValue,global[_0x327144(0x1d6)],[_0x236946[_0x327144(0x194)]]),'hookType':_0x236946['uNiqH']})();},'beforeEach'(_0x44021d){const _0x35a234=a41_0x21c80f,_0x42dd6c={'eppwJ':function(_0x4bf847){return _0x4bf847();},'fKmDC':function(_0xab105d,_0x40d0b6){return _0xab105d>_0x40d0b6;},'PeUiU':function(_0x21460e,_0x41621d){return _0x21460e>_0x41621d;},'QgoDd':'\x20-\x20','ORYbZ':function(_0xf61a1b,_0x5b26ab,_0x59f382){return _0xf61a1b(_0x5b26ab,_0x59f382);},'TwVFN':function(_0x5d4793,_0xb06785){return _0x5d4793===_0xb06785;},'FeiuK':'bstackA11yShouldScan','XHgoU':'bstackA11yScanOptions','IlTTw':function(_0x599bec){return _0x599bec();},'OYWAe':_0x35a234(0x1c6),'xHsFY':_0x35a234(0x19e),'uPtkd':_0x35a234(0x174),'yKgpw':_0x35a234(0x195),'kCbVQ':_0x35a234(0x1a5),'kGtOp':function(_0x56685e){return _0x56685e();},'yZQtd':_0x35a234(0x1bd),'cyrkw':_0x35a234(0x1c2),'xJkPu':'beforeEach'};globals[_0x35a234(0x18a)](_0x42dd6c[_0x35a234(0x1ce)],this[_0x35a234(0x166)][_0x35a234(0x196)]()[_0x35a234(0x1c3)](_0x42dd6c[_0x35a234(0x1b9)])),PerformanceTester[_0x35a234(0x191)](PerformanceSdkEvents[_0x35a234(0x181)],()=>{const _0x59a065=_0x35a234,_0x48ad27={'fFahw':function(_0x4bf87a,_0x165e4a){const _0xfcf02b=a41_0x1d60;return _0x42dd6c[_0xfcf02b(0x148)](_0x4bf87a,_0x165e4a);},'GWRcf':function(_0x8f7aa0,_0x28c15b){const _0x14d8ac=a41_0x1d60;return _0x42dd6c[_0x14d8ac(0x14a)](_0x8f7aa0,_0x28c15b);},'nbRhh':_0x42dd6c[_0x59a065(0x1b9)],'rzQbC':function(_0x4d1951,_0x57cf36,_0x2d3a4e){return _0x42dd6c['ORYbZ'](_0x4d1951,_0x57cf36,_0x2d3a4e);},'qBegI':function(_0x44c5fa,_0x4d14a5){const _0x390557=_0x59a065;return _0x42dd6c[_0x390557(0x145)](_0x44c5fa,_0x4d14a5);},'tHKAI':_0x42dd6c['FeiuK'],'mvmKP':_0x42dd6c[_0x59a065(0x172)],'ojKfk':function(_0x375fc2){const _0x4fb34d=_0x59a065;return _0x42dd6c[_0x4fb34d(0x128)](_0x375fc2);},'jYpyl':_0x42dd6c['OYWAe'],'YJwyv':_0x42dd6c[_0x59a065(0x159)],'aCQYZ':_0x42dd6c['uPtkd'],'DblCm':_0x42dd6c[_0x59a065(0x1cb)],'DppCr':_0x42dd6c[_0x59a065(0x152)],'FdEOI':function(_0x49e697){const _0x3dfe2e=_0x59a065;return _0x42dd6c[_0x3dfe2e(0x13c)](_0x49e697);}},_0x29b7ca='browserstack internal helper hook';new Promise(async _0x24678e=>{const _0x2abc36=_0x59a065;let _0x21c02e=!![];try{_0x48ad27[_0x2abc36(0x18f)](global[_0x2abc36(0x130)][_0x2abc36(0x161)],0x1)&&(await global[_0x2abc36(0x12c)](),global[_0x2abc36(0x130)][_0x2abc36(0x18b)]()),_0x48ad27[_0x2abc36(0x1cc)](global[_0x2abc36(0x130)][0x0][_0x2abc36(0x1c1)],0x0)&&(_0x21c02e=![],await global['driverCleanup']());}catch(_0x31c267){logger[_0x2abc36(0x15d)](_0x2abc36(0x1b5)+_0x31c267);}try{Array[_0x2abc36(0x143)](global[_0x2abc36(0x130)])&&global['__drivers'][0x0]&&(global[_0x2abc36(0x130)][0x0]['browserstackSessionName']=this['currentTest'][_0x2abc36(0x196)]()[_0x2abc36(0x1c3)](_0x48ad27[_0x2abc36(0x16c)])),global[_0x2abc36(0x1ac)]=this[_0x2abc36(0x166)][_0x2abc36(0x196)]()[_0x2abc36(0x1c3)](_0x48ad27[_0x2abc36(0x16c)]);}catch(_0x554c7a){logger[_0x2abc36(0x15d)](_0x2abc36(0x17d)+_0x554c7a);}this[_0x2abc36(0x166)][_0x2abc36(0x186)]=_0x48ad27['rzQbC'](shouldScanTestForAccessibility,this['currentTest']['titlePath'](),!![]);let _0x5539f1=!![];try{const _0x41a4b7=JSON[_0x2abc36(0x169)](process['env'][_0x2abc36(0x1a3)]||'{}');_0x48ad27['qBegI'](_0x41a4b7[_0x2abc36(0x15b)],![])&&(_0x5539f1=![]);}catch(_0x39c03d){logger[_0x2abc36(0x15d)](_0x2abc36(0x1bb)+_0x39c03d['message']);}const _0x3762c7=_0x5539f1&&this['currentTest'][_0x2abc36(0x186)];globals['setGlobal'](_0x48ad27[_0x2abc36(0x137)],_0x3762c7),globals['setGlobal'](_0x48ad27[_0x2abc36(0x127)],null),this[_0x2abc36(0x166)][_0x2abc36(0x131)]=this[_0x2abc36(0x166)][_0x2abc36(0x186)];if(_0x48ad27[_0x2abc36(0x141)](isAccessibilityAutomationSession)&&_0x21c02e&&Array[_0x2abc36(0x143)](global[_0x2abc36(0x130)])&&_0x48ad27[_0x2abc36(0x1cc)](global[_0x2abc36(0x130)][_0x2abc36(0x161)],0x0)&&globals[_0x2abc36(0x15f)](_0x48ad27['jYpyl']))try{const _0x45d3d8=await global[_0x2abc36(0x130)][0x0]['session_'];if(_0x45d3d8){let _0xcaee9b=!![];const _0x8e459e=await global['__drivers'][0x0][_0x2abc36(0x1c5)]();let _0x29f0ac;try{_0x29f0ac=new URL(_0x8e459e),_0xcaee9b=_0x48ad27[_0x2abc36(0x151)](_0x29f0ac['protocol'],_0x48ad27[_0x2abc36(0x14f)])||_0x48ad27[_0x2abc36(0x151)](_0x29f0ac['protocol'],_0x48ad27['aCQYZ']);}catch(_0x5b3fa1){_0xcaee9b=![];}_0xcaee9b&&(this[_0x2abc36(0x166)][_0x2abc36(0x186)]&&logger[_0x2abc36(0x1a6)](_0x48ad27[_0x2abc36(0x193)])),this[_0x2abc36(0x166)]['accessibilityScanStarted']=this['currentTest'][_0x2abc36(0x186)],_0x3762c7&&logger[_0x2abc36(0x1a6)](_0x48ad27[_0x2abc36(0x192)]);}}catch(_0x5388f0){logger['error'](_0x2abc36(0x1d4)+util[_0x2abc36(0x12b)](_0x5388f0));}_0x48ad27[_0x2abc36(0x129)](_0x24678e);})[_0x59a065(0x1ad)](()=>{const _0x786688=_0x59a065;_0x42dd6c[_0x786688(0x1c7)](_0x44021d);});},{'platform':_0x42dd6c['ORYbZ'](nestedKeyValue,global[_0x35a234(0x1d6)],[_0x42dd6c[_0x35a234(0x13e)]]),'hookType':_0x42dd6c[_0x35a234(0x1be)]})();},'afterEach'(_0x4091fb){const _0x75311=a41_0x21c80f,_0xf82c6={'mtizL':function(_0x2c4365,_0x431903){return _0x2c4365>_0x431903;},'OxBxN':function(_0xcd25e3,_0x372078){return _0xcd25e3===_0x372078;},'ObQLN':_0x75311(0x132),'SnfEl':_0x75311(0x18c),'UxIjx':function(_0x2d6546,_0xcc601e,_0x2aa595,_0x4726e8){return _0x2d6546(_0xcc601e,_0x2aa595,_0x4726e8);},'vAvdH':_0x75311(0x1c6),'TkSQn':_0x75311(0x1a7),'tQqlr':_0x75311(0x13f),'zkhQM':_0x75311(0x1d5),'ZjgMY':_0x75311(0x19d),'UAosj':_0x75311(0x142),'rszoa':_0x75311(0x1b2),'GHXsL':_0x75311(0x175),'RIApL':_0x75311(0x1d1),'UtXzP':_0x75311(0x155),'hgxsr':_0x75311(0x146),'ZFGqd':function(_0x496abc){return _0x496abc();},'csgYG':function(_0x536528,_0x38f208,_0x14285a){return _0x536528(_0x38f208,_0x14285a);},'pwxaU':function(_0xe4c9cb,_0x260cc5,_0x3331ad){return _0xe4c9cb(_0x260cc5,_0x3331ad);},'hvjeE':_0x75311(0x15d),'EvgpY':function(_0x5bc693,_0x21f91d){return _0x5bc693>_0x21f91d;},'mroGu':function(_0x148d35){return _0x148d35();},'gPRUM':_0x75311(0x1ab),'doxZB':function(_0x312972,_0x17ae46){return _0x312972!==_0x17ae46;},'jGMiu':'passed','XzOie':function(_0x41434f,_0x4552f7,_0x2bae4b){return _0x41434f(_0x4552f7,_0x2bae4b);},'QsesF':function(_0x1b35cc,_0x54ee46){return _0x1b35cc+_0x54ee46;},'mTmJn':_0x75311(0x188),'eOPtz':'error','pTQZA':_0x75311(0x1d8),'xIMMl':_0x75311(0x1a6),'TPncz':'Mocha','snGag':function(_0x20a70b,_0x2ecd91,_0x2a9c01){return _0x20a70b(_0x2ecd91,_0x2a9c01);},'kWgre':_0x75311(0x1c2),'RNPjg':_0x75311(0x150)},_0x48e1fd='browserstack internal helper hook';this[_0x75311(0x1b4)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0xf82c6[_0x75311(0x1ba)]]),global[_0x75311(0x147)]=this['currentTest'][_0x75311(0x196)]()[_0x75311(0x1c3)](_0xf82c6[_0x75311(0x1bc)]),PerformanceTester[_0x75311(0x191)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x12636a=_0x75311,_0x44837b={'VdnaK':_0xf82c6['gPRUM'],'LTmLp':function(_0x1b862c,_0x45378d){const _0x35a1d1=a41_0x1d60;return _0xf82c6[_0x35a1d1(0x19f)](_0x1b862c,_0x45378d);},'afzdB':_0xf82c6[_0x12636a(0x16e)],'fACnh':function(_0x214a0f,_0x40a2ab,_0x403738){return _0xf82c6['XzOie'](_0x214a0f,_0x40a2ab,_0x403738);},'Rviec':function(_0x17e428,_0x57025d){const _0x231b8f=_0x12636a;return _0xf82c6[_0x231b8f(0x15a)](_0x17e428,_0x57025d);},'IACkU':_0xf82c6[_0x12636a(0x139)],'dZLfo':_0xf82c6['eOPtz'],'chMGd':function(_0x305c06,_0x24a91e,_0x5e8289){const _0x458020=_0x12636a;return _0xf82c6[_0x458020(0x13a)](_0x305c06,_0x24a91e,_0x5e8289);},'oDlXH':_0xf82c6[_0x12636a(0x160)],'OWsEZ':_0xf82c6[_0x12636a(0x180)]},_0x584626=async(_0x1f7720,_0x2f119a)=>{const _0x1a0994=_0x12636a;await global['__drivers'][0x0][_0x1a0994(0x1d0)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0x1f7720+',\x22level\x22:\x20\x22'+_0x2f119a+_0x1a0994(0x1bf));};new Promise(async _0x15cdc1=>{const _0x5b73e8=_0x12636a;try{_0xf82c6['mtizL'](global['__drivers'][_0x5b73e8(0x161)],0x1)&&(await global[_0x5b73e8(0x12c)](),global[_0x5b73e8(0x130)][_0x5b73e8(0x18b)](),global[_0x5b73e8(0x19a)]=[],global[_0x5b73e8(0x14c)]=![]);try{if(global['percy']&&_0xf82c6[_0x5b73e8(0x140)](global['percyCaptureMode'],_0xf82c6[_0x5b73e8(0x1db)])&&global[_0x5b73e8(0x130)][0x0]){const _0x1e0ecc=_0xf82c6['mtizL'](global[_0x5b73e8(0x124)][_0x5b73e8(0x161)],0x0)?!!global['capabilities'][0x0][_0x5b73e8(0x1b3)]||!!global['capabilities'][0x0][_0xf82c6[_0x5b73e8(0x15e)]]:![],_0x4de653={};_0x4de653[_0x5b73e8(0x1b3)]=_0x1e0ecc,await _0xf82c6[_0x5b73e8(0x13b)](percyAutoCapture,global[_0x5b73e8(0x130)][0x0],_0xf82c6[_0x5b73e8(0x1db)],_0x4de653);}}catch(_0x589414){logger[_0x5b73e8(0x15d)]('Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20'+_0x589414);}!global[_0x5b73e8(0x13d)]&&(await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x5b73e8(0x135)],async()=>{const _0x48e9df=_0x5b73e8;await global['__drivers'][0x0][_0x48e9df(0x1d0)](_0x48e9df(0x16d)+JSON[_0x48e9df(0x1aa)](this[_0x48e9df(0x166)][_0x48e9df(0x196)]()[_0x48e9df(0x1c3)](_0x44837b[_0x48e9df(0x185)]))+'}}');})(),global[_0x5b73e8(0x130)][0x0][_0x5b73e8(0x197)]=!![]),await PerformanceTester[_0x5b73e8(0x191)](PerformanceAutEvents[_0x5b73e8(0x1d9)],async()=>{const _0x1546f3=_0x5b73e8,_0x536852=_0x44837b[_0x1546f3(0x15c)](this['currentTest'][_0x1546f3(0x1ca)],_0x44837b['afzdB']);_0x536852?(global[_0x1546f3(0x14c)]=!![],global['__error_messages__'][_0x1546f3(0x177)](this[_0x1546f3(0x166)][_0x1546f3(0x125)][_0x1546f3(0x1c8)]),await _0x44837b[_0x1546f3(0x178)](_0x584626,JSON['stringify'](_0x44837b['Rviec'](_0x44837b[_0x1546f3(0x171)],this['currentTest']['err'][_0x1546f3(0x1c8)])),_0x44837b[_0x1546f3(0x183)])):await _0x44837b['chMGd'](_0x584626,JSON['stringify'](_0x44837b['oDlXH']),_0x44837b[_0x1546f3(0x1cd)]);})();}catch(_0x395f62){logger[_0x5b73e8(0x15d)]('Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20'+_0x395f62);}try{if(this[_0x5b73e8(0x166)][_0x5b73e8(0x131)]&&globals['getGlobal'](_0xf82c6[_0x5b73e8(0x189)])){logger[_0x5b73e8(0x1a6)](_0xf82c6[_0x5b73e8(0x17e)]);const _0x437f90={};_0x437f90[_0x5b73e8(0x19c)]=this[_0x5b73e8(0x166)][_0x5b73e8(0x123)],_0x437f90[_0x5b73e8(0x17f)]=process['env'][testHubConstants[_0x5b73e8(0x149)]['BROWSERSTACK_TESTHUB_UUID']],_0x437f90[_0x5b73e8(0x12e)]=process[_0x5b73e8(0x19b)][testHubConstants['ENV_VAR'][_0x5b73e8(0x18e)]];const _0x399980=_0x437f90;logger[_0x5b73e8(0x15d)](_0x5b73e8(0x1d3)+JSON[_0x5b73e8(0x1aa)](_0x399980));if(globals[_0x5b73e8(0x15f)](_0xf82c6[_0x5b73e8(0x1b0)])){logger[_0x5b73e8(0x15d)](_0xf82c6[_0x5b73e8(0x1af)]);const _0x3243e9={};_0x3243e9['command']=_0xf82c6[_0x5b73e8(0x154)];const _0x31135f=await PerformanceTester[_0x5b73e8(0x191)](PerformanceA11yEvents[_0x5b73e8(0x198)],async()=>{const _0xaf9f08=_0x5b73e8;return await accessibilityRetryHelper[_0xaf9f08(0x1b7)](global[_0xaf9f08(0x130)][0x0],global['browserstackSessionName']);},_0x3243e9)();_0x31135f?logger['debug'](_0xf82c6[_0x5b73e8(0x17c)]):logger[_0x5b73e8(0x1c0)](_0xf82c6[_0x5b73e8(0x1a0)]);}else logger[_0x5b73e8(0x15d)](_0xf82c6[_0x5b73e8(0x1c9)]);const _0x483204=await PerformanceTester[_0x5b73e8(0x191)](PerformanceA11yEvents[_0x5b73e8(0x179)],async()=>{const _0x29d402=_0x5b73e8;return await accessibilityRetryHelper['saveAccessibilityResultsWithRetry'](global[_0x29d402(0x130)][0x0],_0x399980);})();_0x483204?logger[_0x5b73e8(0x15d)](_0xf82c6[_0x5b73e8(0x14e)]):logger[_0x5b73e8(0x1c0)](_0xf82c6['UtXzP']),logger[_0x5b73e8(0x1a6)](_0xf82c6['hgxsr']);}}catch(_0x382c8d){logger[_0x5b73e8(0x1de)](_0x5b73e8(0x167)+this[_0x5b73e8(0x166)][_0x5b73e8(0x196)]()+'.\x20Error\x20:',_0x382c8d);}try{try{if(_0xf82c6[_0x5b73e8(0x17b)](shouldProcessEventForTesthub)){global['__drivers'][0x0]&&await _0xf82c6['csgYG'](sendPlatformDetails,global[_0x5b73e8(0x130)][0x0],this[_0x5b73e8(0x166)]?this[_0x5b73e8(0x166)][_0x5b73e8(0x123)]:null);if(_0xf82c6[_0x5b73e8(0x17b)](isBrowserstackInfra)){PerformanceTester['start'](PerformanceO11yEvents[_0x5b73e8(0x173)]);const _0x240356=_0x5b73e8(0x190)+Date[_0x5b73e8(0x187)]();await _0xf82c6[_0x5b73e8(0x13a)](_0x584626,JSON[_0x5b73e8(0x1aa)](_0x240356),_0xf82c6['hvjeE']),PerformanceTester[_0x5b73e8(0x157)](PerformanceO11yEvents['SYNC']);}}}catch(_0x4d53e3){logger[_0x5b73e8(0x15d)](_0x5b73e8(0x17a)+_0x4d53e3),PerformanceTester[_0x5b73e8(0x157)](PerformanceO11yEvents[_0x5b73e8(0x173)],![],_0x4d53e3);}_0xf82c6[_0x5b73e8(0x16f)](global['__drivers'][0x0][_0x5b73e8(0x1c1)],0x0)&&await global[_0x5b73e8(0x12c)]();}catch(_0xedc33a){logger[_0x5b73e8(0x15d)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0xedc33a);}_0xf82c6['mroGu'](_0x15cdc1);})[_0x12636a(0x1ad)](()=>{_0xf82c6['mroGu'](_0x4091fb);});},{'platform':_0xf82c6[_0x75311(0x1a8)](nestedKeyValue,global[_0x75311(0x1d6)],[_0xf82c6[_0x75311(0x16a)]]),'hookType':_0xf82c6[_0x75311(0x16b)]})();},'afterAll'(_0x524159){const _0x36d866=a41_0x21c80f,_0x389fae={'zVNAq':function(_0x288f7d){return _0x288f7d();},'lblec':function(_0x127d6f){return _0x127d6f();},'Pyfth':_0x36d866(0x138),'umriO':function(_0x1fc2f0,_0x420d24,_0x4f1a90){return _0x1fc2f0(_0x420d24,_0x4f1a90);},'Nbxem':'index','phrxx':_0x36d866(0x1d7)},_0x496da2='browserstack internal helper hook';this[_0x36d866(0x1b4)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x389fae[_0x36d866(0x1a2)]]),PerformanceTester[_0x36d866(0x191)](PerformanceSdkEvents[_0x36d866(0x181)],()=>{const _0x4fdf73=_0x36d866,_0x5bad37={'HLixp':function(_0x27e90c){const _0x325b45=a41_0x1d60;return _0x389fae[_0x325b45(0x12f)](_0x27e90c);}};new Promise(async _0x4abb15=>{const _0x2ad92d=a41_0x1d60;await global['driverCleanup'](),_0x389fae[_0x2ad92d(0x1a1)](_0x4abb15);})[_0x4fdf73(0x1ad)]()[_0x4fdf73(0x12d)](()=>{_0x5bad37['HLixp'](_0x524159);});},{'platform':_0x389fae['umriO'](nestedKeyValue,global[_0x36d866(0x1d6)],[_0x389fae[_0x36d866(0x14d)]]),'hookType':_0x389fae[_0x36d866(0x158)]})();}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a42_0xb0a7(){const _0x37edc8=['browserstack','setFrameworkDetail','668075qJvtkk','error','NSZUt','pAgLe','_resolveFilename','join','ByZvc','mIEpK','tuqIX','call','jlnJu','cli,browserstack',',browserstack','newman-reporter-browserstack','child_process','upKsD','xbNyw','zePUk','mKWOQ','MTxSE','2796CsOATb','CNTZs','message','NKGCt','scriptRunner.js','KQWRb','Failed\x20to\x20bootstrap\x20CLI:\x20','4528257BxQVyR','ubUvp','irTbg','env','length','createRequire','CdClA','KuSMs','GFGMu','AHJKP','winstonLogger','getInstance','BROWSERSTACK_TESTHUB_JWT','jgbja','SpQXK','testObservability','Smlrm','WOHwq','module','O11yHashedID','409936WMARYP','KUOVD','FAKrK','setBrowserstackConfig','newman/bin/newman','5152427TFBNdb','NUUiZ','warn','node','112486TnKuTK','null','isRunning','resolve','[Newman]\x20Test\x20Observability\x20build\x20was\x20not\x20created.\x20No\x20build\x20link\x20available.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','igrpg','VqxiR','vdJZE','endsWith','true','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','Izsvq','.js','iJsKc','vOdbv','bootstrap','NtEmN','exitCode','Newman\x20is\x20not\x20installed.\x20Please\x20install\x20newman:\x20npm\x20install\x20newman','exports','5HjlCoT','shutdown','NEWMAN','cMHwH','eQXth','false','CVjkg','../../helpers/helper','close','BROWSERSTACK_TEST_OBSERVABILITY_YML','6YTBGJW','TxszG','xJOrX','hcRUp','cNOiI','slice','concat','OKbhX','path','../../helpers/test-observability/requestQueueHandler','package.json','GoKpR','sCXHv','parallelsPerPlatform','../../helpers/test-observability/utils','../../helpers/test-observability/constants','../v2/browserstackCLI','stop','run','ZJElS','BROWSERSTACK_AUTOMATION','gPIHl','requireModule','../../helpers/testhub/testhubHandler','push','failures','4907956Mmqwcx','[Newman]\x20Test\x20Observability\x20build\x20creation\x20failed.\x20Tests\x20will\x20run\x20but\x20results\x20will\x20not\x20appear\x20on\x20the\x20BrowserStack\x20dashboard.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','jSlbi','--reporters','QTTcL','fgxIw','newman','configPath','fVrXA','10bFKysC','NZqvm','KHJoe','bfMHa','2AfnnZE','config','supWO','RNMCR','1200321mPdmEo'];a42_0xb0a7=function(){return _0x37edc8;};return a42_0xb0a7();}function a42_0x355b(_0x23b905,_0x3a21c0){const _0xb0a744=a42_0xb0a7();return a42_0x355b=function(_0x355b20,_0x336891){_0x355b20=_0x355b20-0x121;let _0x468480=_0xb0a744[_0x355b20];return _0x468480;},a42_0x355b(_0x23b905,_0x3a21c0);}const a42_0x2eec0d=a42_0x355b;(function(_0x4ca90d,_0x517303){const _0x463f20=a42_0x355b,_0x2f7221=_0x4ca90d();while(!![]){try{const _0x2f006c=parseInt(_0x463f20(0x17c))/0x1*(-parseInt(_0x463f20(0x175))/0x2)+-parseInt(_0x463f20(0x197))/0x3+parseInt(_0x463f20(0x168))/0x4*(parseInt(_0x463f20(0x144))/0x5)+-parseInt(_0x463f20(0x14e))/0x6*(parseInt(_0x463f20(0x12c))/0x7)+-parseInt(_0x463f20(0x127))/0x8+parseInt(_0x463f20(0x179))/0x9*(parseInt(_0x463f20(0x171))/0xa)+parseInt(_0x463f20(0x130))/0xb*(parseInt(_0x463f20(0x190))/0xc);if(_0x2f006c===_0x517303)break;else _0x2f7221['push'](_0x2f7221['shift']());}catch(_0xb67cb9){_0x2f7221['push'](_0x2f7221['shift']());}}}(a42_0xb0a7,0xbdfeb));const path=require(a42_0x2eec0d(0x156)),Module=require(a42_0x2eec0d(0x125)),{fork}=require(a42_0x2eec0d(0x18a)),logger=require('../../helpers/logger')[a42_0x2eec0d(0x1a1)],helper=require(a42_0x2eec0d(0x14b)),TestHubHandler=require(a42_0x2eec0d(0x165)),RequestQueueHandler=require(a42_0x2eec0d(0x157)),{FRAMEWORKS}=require(a42_0x2eec0d(0x15d)),{printBuildLink}=require(a42_0x2eec0d(0x15c)),BrowserstackCLI=require(a42_0x2eec0d(0x15e)),CLIUtils=require('../v2/cliUtils');function registerBrowserStackReporter(){const _0x4635df=a42_0x2eec0d,_0x2d16f9={};_0x2d16f9['vOdbv']=function(_0x55f571,_0xb89239){return _0x55f571===_0xb89239;},_0x2d16f9[_0x4635df(0x129)]=_0x4635df(0x189),_0x2d16f9[_0x4635df(0x184)]='reporter',_0x2d16f9[_0x4635df(0x173)]='index.js';const _0xe2b162=_0x2d16f9,_0x1b8a6d=path[_0x4635df(0x181)](__dirname,_0xe2b162[_0x4635df(0x184)],_0xe2b162['KHJoe']),_0x1292ab=Module['_resolveFilename'];Module[_0x4635df(0x180)]=function(_0x3d9b2d,_0x4ae675,_0x46417e,_0xfb1a87){const _0x4be3ec=_0x4635df;if(_0xe2b162[_0x4be3ec(0x13e)](_0x3d9b2d,_0xe2b162['FAKrK']))return _0x1b8a6d;return _0x1292ab[_0x4be3ec(0x185)](this,_0x3d9b2d,_0x4ae675,_0x46417e,_0xfb1a87);};}function injectReporterIntoArgs(_0x333a81){const _0x3dfa84=a42_0x2eec0d,_0x324294={};_0x324294[_0x3dfa84(0x123)]=function(_0x36029c,_0x12add6){return _0x36029c<_0x12add6;},_0x324294[_0x3dfa84(0x18b)]=function(_0x580620,_0x1fa07e){return _0x580620===_0x1fa07e;},_0x324294[_0x3dfa84(0x124)]=function(_0x499589,_0x40977b){return _0x499589===_0x40977b;},_0x324294[_0x3dfa84(0x193)]=_0x3dfa84(0x16b),_0x324294[_0x3dfa84(0x151)]=function(_0x48d4f1,_0x4791e8){return _0x48d4f1+_0x4791e8;},_0x324294[_0x3dfa84(0x147)]=function(_0x7e4e9c,_0x2adc48){return _0x7e4e9c===_0x2adc48;},_0x324294[_0x3dfa84(0x191)]=function(_0x54e672,_0x2528c6){return _0x54e672+_0x2528c6;},_0x324294[_0x3dfa84(0x186)]=_0x3dfa84(0x17a),_0x324294['xbNyw']=_0x3dfa84(0x188),_0x324294[_0x3dfa84(0x198)]=_0x3dfa84(0x187);const _0x27470a=_0x324294,_0x35d953=_0x333a81[_0x3dfa84(0x153)]();for(let _0x2577c8=0x0;_0x27470a[_0x3dfa84(0x123)](_0x2577c8,_0x35d953[_0x3dfa84(0x19b)]);_0x2577c8++){if(_0x27470a[_0x3dfa84(0x18b)](_0x35d953[_0x2577c8],'-r')||_0x27470a[_0x3dfa84(0x124)](_0x35d953[_0x2577c8],_0x27470a[_0x3dfa84(0x193)]))return _0x35d953[_0x27470a[_0x3dfa84(0x151)](_0x2577c8,0x1)]&&_0x27470a[_0x3dfa84(0x147)](_0x35d953[_0x27470a[_0x3dfa84(0x191)](_0x2577c8,0x1)]['indexOf'](_0x27470a['jlnJu']),-0x1)&&(_0x35d953[_0x27470a[_0x3dfa84(0x151)](_0x2577c8,0x1)]+=_0x27470a[_0x3dfa84(0x18c)]),_0x35d953;}return _0x35d953[_0x3dfa84(0x166)]('-r',_0x27470a[_0x3dfa84(0x198)]),_0x35d953;}function runNewmanCLI(_0x147127){const _0x4181f6=a42_0x2eec0d,_0x20090e={'fgxIw':function(_0x13f328,_0x145f13){return _0x13f328>_0x145f13;},'GFGMu':function(_0x2adf1b,_0x459b38){return _0x2adf1b(_0x459b38);},'rghIX':function(_0x597176,_0x2e7aad,_0x1b7472){return _0x597176(_0x2e7aad,_0x1b7472);},'CdClA':_0x4181f6(0x16e),'sCXHv':_0x4181f6(0x142),'pAgLe':_0x4181f6(0x125),'mIEpK':_0x4181f6(0x158),'GoKpR':function(_0x5c2b92,_0x4991ee){return _0x5c2b92(_0x4991ee);},'Izsvq':_0x4181f6(0x12b),'NtEmN':_0x4181f6(0x12f),'NZqvm':function(_0x3e6f67,_0x123a5b){return _0x3e6f67+_0x123a5b;},'VttZu':'Newman\x20CLI\x20not\x20found:\x20'};return new Promise(_0x3b5e9b=>{const _0x133938=_0x4181f6,_0x1253d3={'MTxSE':function(_0x31a14a,_0x47982c){const _0x3cec4d=a42_0x355b;return _0x20090e[_0x3cec4d(0x16d)](_0x31a14a,_0x47982c);},'irTbg':function(_0x7470,_0x878ab4){const _0x30052f=a42_0x355b;return _0x20090e[_0x30052f(0x19f)](_0x7470,_0x878ab4);},'CVNbs':function(_0x2ead38,_0x512401,_0x4e47da){return _0x20090e['rghIX'](_0x2ead38,_0x512401,_0x4e47da);}};let _0x529a4d;try{_0x529a4d=helper[_0x133938(0x164)](_0x20090e[_0x133938(0x19d)],_0x20090e[_0x133938(0x19d)]);}catch(_0x1d8a7f){return logger[_0x133938(0x17d)](_0x20090e[_0x133938(0x15a)]),_0x20090e[_0x133938(0x19f)](_0x3b5e9b,0x1);}const _0x1642fa=_0x529a4d[_0x133938(0x160)];_0x529a4d[_0x133938(0x160)]=function(_0x26e9f3,_0x421236){const _0x293db1=_0x133938,_0x272a02={'CVjkg':function(_0x1f72c4,_0x1560ba){const _0x318cf1=a42_0x355b;return _0x1253d3[_0x318cf1(0x18f)](_0x1f72c4,_0x1560ba);},'QTTcL':function(_0x530b16,_0x17e018){const _0x4bc8f8=a42_0x355b;return _0x1253d3[_0x4bc8f8(0x199)](_0x530b16,_0x17e018);},'vdJZE':function(_0x28f0e1,_0x1250df,_0x22d2c2){return _0x1253d3['CVNbs'](_0x28f0e1,_0x1250df,_0x22d2c2);}};return _0x529a4d['run']=_0x1642fa,_0x1642fa[_0x293db1(0x185)](_0x529a4d,_0x26e9f3,(_0x53248a,_0xbd6b74)=>{const _0x2407b4=_0x293db1,_0x4ccb41=_0xbd6b74&&_0xbd6b74[_0x2407b4(0x160)]&&(_0xbd6b74['run'][_0x2407b4(0x17d)]||_0xbd6b74[_0x2407b4(0x160)]['failures']&&_0x272a02[_0x2407b4(0x14a)](_0xbd6b74[_0x2407b4(0x160)][_0x2407b4(0x167)][_0x2407b4(0x19b)],0x0));_0x272a02[_0x2407b4(0x16c)](_0x3b5e9b,_0x4ccb41?0x1:0x0),_0x421236&&_0x272a02[_0x2407b4(0x137)](_0x421236,_0x53248a,_0xbd6b74);});};try{const _0x5d3455=_0x20090e['GFGMu'](require,_0x20090e[_0x133938(0x17f)])[_0x133938(0x19c)](path['join'](process['cwd'](),_0x20090e[_0x133938(0x183)]));_0x20090e[_0x133938(0x159)](_0x5d3455,_0x20090e[_0x133938(0x13b)])([_0x20090e[_0x133938(0x140)],_0x20090e[_0x133938(0x19d)]][_0x133938(0x154)](_0x147127));}catch(_0x3a1cdf){_0x529a4d[_0x133938(0x160)]=_0x1642fa,logger[_0x133938(0x17d)](_0x20090e[_0x133938(0x172)](_0x20090e['VttZu'],_0x3a1cdf[_0x133938(0x192)])),_0x20090e[_0x133938(0x19f)](_0x3b5e9b,0x1);}});}function runNewmanScript(_0x1f317d,_0x1a13c3){const _0x4fe92a=a42_0x2eec0d,_0xda287b={'fVrXA':function(_0x2e290f,_0x28f59d){return _0x2e290f(_0x28f59d);},'jSlbi':function(_0x48dfa2,_0x45f07a){return _0x48dfa2||_0x45f07a;},'qynkS':function(_0x52d137,_0x43f96d,_0x81e1f4,_0x1a28d1){return _0x52d137(_0x43f96d,_0x81e1f4,_0x1a28d1);},'xJOrX':_0x4fe92a(0x194),'igrpg':function(_0x21fa20,_0x345a94){return _0x21fa20||_0x345a94;},'supWO':'inherit','mKWOQ':_0x4fe92a(0x14c)};return new Promise(function(_0x39ff0b){const _0x3f991d=_0x4fe92a,_0x90503a={'AHJKP':function(_0x4b14b1,_0x100e5c){const _0x5b06b4=a42_0x355b;return _0xda287b[_0x5b06b4(0x170)](_0x4b14b1,_0x100e5c);},'iJsKc':function(_0xc8d59f,_0x6d2e14){const _0x153620=a42_0x355b;return _0xda287b[_0x153620(0x16a)](_0xc8d59f,_0x6d2e14);}},_0x193916=_0xda287b['qynkS'](fork,path[_0x3f991d(0x181)](__dirname,_0xda287b[_0x3f991d(0x150)]),[_0x1f317d,_0xda287b[_0x3f991d(0x170)](String,_0xda287b[_0x3f991d(0x135)](_0x1a13c3,0x0))],{'stdio':_0xda287b[_0x3f991d(0x177)],'env':Object['assign']({},process[_0x3f991d(0x19a)])});_0x193916['on'](_0xda287b[_0x3f991d(0x18e)],function(_0x22ffab){const _0x5a967e=_0x3f991d;_0x90503a[_0x5a967e(0x1a0)](_0x39ff0b,_0x90503a[_0x5a967e(0x13d)](_0x22ffab,0x0));});});}function hasO11yBuild(){const _0x273887=a42_0x2eec0d,_0x281506={};_0x281506[_0x273887(0x121)]=function(_0x12413d,_0x472c55){return _0x12413d!==_0x472c55;},_0x281506['KuSMs']=_0x273887(0x131);const _0x1aa60f=_0x281506;return!!(BrowserstackCLI[_0x273887(0x126)]||process[_0x273887(0x19a)][_0x273887(0x1a3)]&&_0x1aa60f['SpQXK'](process[_0x273887(0x19a)]['BROWSERSTACK_TESTHUB_JWT'],_0x1aa60f[_0x273887(0x19e)]));}function runWithoutObservability(_0x55c9a1,_0x4f49e9){const _0x44b58f=a42_0x2eec0d,_0x47685e={'KQWRb':function(_0x45c3ee,_0x5b8626){return _0x45c3ee(_0x5b8626);},'YTNcA':function(_0x19de76,_0x7712e3){return _0x19de76(_0x7712e3);}};if(_0x55c9a1)return _0x47685e[_0x44b58f(0x195)](require,path[_0x44b58f(0x133)](_0x55c9a1)),0x0;return _0x47685e['YTNcA'](runNewmanCLI,_0x4f49e9);}module[a42_0x2eec0d(0x143)]=async function(_0x3edcfb,_0x167d11,_0x15b492){const _0x82aa71=a42_0x2eec0d,_0x1a3b1b={'jgbja':_0x82aa71(0x13c),'ByZvc':function(_0xa8d28b,_0x153089){return _0xa8d28b===_0x153089;},'zePUk':_0x82aa71(0x149),'gPIHl':function(_0xedbfb6,_0x3a87d2,_0x4b78a3){return _0xedbfb6(_0x3a87d2,_0x4b78a3);},'RNMCR':function(_0xe570c1,_0xfe17c9){return _0xe570c1!=_0xfe17c9;},'NSZUt':_0x82aa71(0x139),'cNOiI':_0x82aa71(0x16e),'NUUiZ':function(_0x42ac13,_0x2c8b52){return _0x42ac13+_0x2c8b52;},'eQXth':_0x82aa71(0x196),'GUrrl':function(_0x4f08b0,_0x40ea69){return _0x4f08b0+_0x40ea69;},'bfMHa':'Failed\x20to\x20launch\x20build:\x20','OKbhX':function(_0x3d0663){return _0x3d0663();},'KUOVD':_0x82aa71(0x169),'GDkpZ':function(_0x22f704,_0x4c339c,_0x1836f7){return _0x22f704(_0x4c339c,_0x1836f7);},'mxCyG':function(_0x7636af,_0x42c4dd){return _0x7636af(_0x42c4dd);},'VqxiR':function(_0x283e69,_0x16e9b2){return _0x283e69(_0x16e9b2);},'ZJElS':function(_0x1c3a04){return _0x1c3a04();},'TxszG':_0x82aa71(0x134)},_0x250e28=_0x167d11[_0x82aa71(0x153)](0x1),_0x452110=_0x250e28[0x0]&&_0x250e28[0x0][_0x82aa71(0x138)](_0x1a3b1b[_0x82aa71(0x1a4)])?_0x250e28[0x0]:null;if(!_0x15b492[_0x82aa71(0x176)]||_0x1a3b1b['ByZvc'](_0x15b492[_0x82aa71(0x176)][_0x82aa71(0x122)],![])||_0x1a3b1b[_0x82aa71(0x182)](_0x15b492['config'][_0x82aa71(0x122)],_0x1a3b1b[_0x82aa71(0x18d)])){process[_0x82aa71(0x141)]=await _0x1a3b1b[_0x82aa71(0x163)](runWithoutObservability,_0x452110,_0x250e28)||0x0;return;}process[_0x82aa71(0x19a)][_0x82aa71(0x162)]=_0x1a3b1b['zePUk'],process[_0x82aa71(0x19a)][_0x82aa71(0x13a)]=_0x1a3b1b[_0x82aa71(0x18d)],process[_0x82aa71(0x19a)][_0x82aa71(0x14d)]=_0x1a3b1b[_0x82aa71(0x178)](_0x15b492[_0x82aa71(0x176)]['testObservability'],null)?_0x15b492['config'][_0x82aa71(0x122)]:_0x1a3b1b[_0x82aa71(0x17e)],CLIUtils[_0x82aa71(0x17b)](_0x1a3b1b[_0x82aa71(0x152)],_0x1a3b1b[_0x82aa71(0x152)]),BrowserstackCLI[_0x82aa71(0x1a2)]()[_0x82aa71(0x12a)](_0x15b492[_0x82aa71(0x176)],_0x15b492[_0x82aa71(0x16f)],_0x15b492['cliConfig']);try{await BrowserstackCLI['getInstance']()[_0x82aa71(0x13f)]();}catch(_0x3b4afa){logger[_0x82aa71(0x17d)](_0x1a3b1b[_0x82aa71(0x12d)](_0x1a3b1b[_0x82aa71(0x148)],_0x3b4afa[_0x82aa71(0x192)]||_0x3b4afa));}if(!BrowserstackCLI[_0x82aa71(0x1a2)]()[_0x82aa71(0x132)]())try{await TestHubHandler['launchBuild'](FRAMEWORKS[_0x82aa71(0x146)],_0x15b492);}catch(_0x2c3689){logger[_0x82aa71(0x17d)](_0x1a3b1b['GUrrl'](_0x1a3b1b[_0x82aa71(0x174)],_0x2c3689[_0x82aa71(0x192)]||_0x2c3689));}!_0x1a3b1b[_0x82aa71(0x155)](hasO11yBuild)&&logger[_0x82aa71(0x12e)](_0x1a3b1b[_0x82aa71(0x128)]);_0x1a3b1b[_0x82aa71(0x155)](registerBrowserStackReporter);let _0x3518da;_0x452110?_0x3518da=await _0x1a3b1b['GDkpZ'](runNewmanScript,_0x452110,_0x15b492['config'][_0x82aa71(0x15b)]):_0x3518da=await _0x1a3b1b['mxCyG'](runNewmanCLI,_0x1a3b1b[_0x82aa71(0x136)](injectReporterIntoArgs,_0x250e28));try{await TestHubHandler['stop']();}catch(_0x3a69ad){}try{await BrowserstackCLI[_0x82aa71(0x1a2)]()[_0x82aa71(0x15f)]();}catch(_0xdb9482){}try{await RequestQueueHandler[_0x82aa71(0x1a2)]()[_0x82aa71(0x145)]();}catch(_0x5c3735){}if(_0x1a3b1b[_0x82aa71(0x161)](hasO11yBuild))try{_0x1a3b1b[_0x82aa71(0x161)](printBuildLink);}catch(_0xd2c595){}else logger[_0x82aa71(0x12e)](_0x1a3b1b[_0x82aa71(0x14f)]);process[_0x82aa71(0x141)]=_0x3518da;};
2
+ 'use strict';const a42_0x545e97=a42_0x1f6f;(function(_0x2c4704,_0x1e70fc){const _0x898f44=a42_0x1f6f,_0x4a2202=_0x2c4704();while(!![]){try{const _0x353e35=-parseInt(_0x898f44(0x1a3))/0x1+-parseInt(_0x898f44(0x1da))/0x2*(parseInt(_0x898f44(0x1e4))/0x3)+-parseInt(_0x898f44(0x19d))/0x4+-parseInt(_0x898f44(0x1b8))/0x5+-parseInt(_0x898f44(0x18e))/0x6*(-parseInt(_0x898f44(0x1de))/0x7)+-parseInt(_0x898f44(0x1bf))/0x8*(-parseInt(_0x898f44(0x1b6))/0x9)+-parseInt(_0x898f44(0x1ff))/0xa*(-parseInt(_0x898f44(0x1a1))/0xb);if(_0x353e35===_0x1e70fc)break;else _0x4a2202['push'](_0x4a2202['shift']());}catch(_0x5bcbcf){_0x4a2202['push'](_0x4a2202['shift']());}}}(a42_0x9a64,0x8feb3));function a42_0x1f6f(_0x457180,_0x5f3314){const _0x9a64c1=a42_0x9a64();return a42_0x1f6f=function(_0x1f6f84,_0x5c0413){_0x1f6f84=_0x1f6f84-0x18a;let _0x4c6d6d=_0x9a64c1[_0x1f6f84];return _0x4c6d6d;},a42_0x1f6f(_0x457180,_0x5f3314);}const path=require(a42_0x545e97(0x199)),Module=require(a42_0x545e97(0x1a5)),{fork}=require('child_process'),logger=require(a42_0x545e97(0x1f2))[a42_0x545e97(0x197)],helper=require(a42_0x545e97(0x1ea)),TestHubHandler=require(a42_0x545e97(0x1c5)),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),{FRAMEWORKS}=require(a42_0x545e97(0x192)),{printBuildLink}=require('../../helpers/test-observability/utils'),BrowserstackCLI=require(a42_0x545e97(0x19e)),CLIUtils=require(a42_0x545e97(0x1a2));function registerBrowserStackReporter(){const _0x302f14=a42_0x545e97,_0x35d62e={};_0x35d62e[_0x302f14(0x1cd)]=function(_0x2ffdc0,_0x258d08){return _0x2ffdc0===_0x258d08;},_0x35d62e[_0x302f14(0x1e2)]=_0x302f14(0x1e8),_0x35d62e[_0x302f14(0x1bb)]='reporter',_0x35d62e['APOgY']='index.js';const _0x3bb248=_0x35d62e,_0xeac659=path[_0x302f14(0x1db)](__dirname,_0x3bb248[_0x302f14(0x1bb)],_0x3bb248[_0x302f14(0x1ca)]),_0x2350f1=Module[_0x302f14(0x18d)];Module[_0x302f14(0x18d)]=function(_0x474347,_0x2fc431,_0x48c789,_0x15be84){const _0x47a88f=_0x302f14;if(_0x3bb248[_0x47a88f(0x1cd)](_0x474347,_0x3bb248[_0x47a88f(0x1e2)]))return _0xeac659;return _0x2350f1[_0x47a88f(0x1bc)](this,_0x474347,_0x2fc431,_0x48c789,_0x15be84);};}function injectReporterIntoArgs(_0x416a68){const _0x1f3b62=a42_0x545e97,_0x1fa104={};_0x1fa104[_0x1f3b62(0x191)]=function(_0x39faf3,_0x46e26c){return _0x39faf3<_0x46e26c;},_0x1fa104['wYbgk']=function(_0x4bf63a,_0x206b39){return _0x4bf63a===_0x206b39;},_0x1fa104[_0x1f3b62(0x1f5)]=_0x1f3b62(0x1e5),_0x1fa104[_0x1f3b62(0x1df)]=function(_0x3d8383,_0x34c6a2){return _0x3d8383+_0x34c6a2;},_0x1fa104['coMbQ']=function(_0x163c92,_0xf77cb){return _0x163c92===_0xf77cb;},_0x1fa104[_0x1f3b62(0x204)]=_0x1f3b62(0x1f3),_0x1fa104[_0x1f3b62(0x1f6)]=',browserstack',_0x1fa104[_0x1f3b62(0x201)]=_0x1f3b62(0x1e3);const _0x256c3d=_0x1fa104,_0x1ae6b9=_0x416a68[_0x1f3b62(0x1d8)]();for(let _0x3a9274=0x0;_0x256c3d[_0x1f3b62(0x191)](_0x3a9274,_0x1ae6b9[_0x1f3b62(0x1fe)]);_0x3a9274++){if(_0x256c3d[_0x1f3b62(0x18f)](_0x1ae6b9[_0x3a9274],'-r')||_0x256c3d[_0x1f3b62(0x18f)](_0x1ae6b9[_0x3a9274],_0x256c3d[_0x1f3b62(0x1f5)]))return _0x1ae6b9[_0x256c3d[_0x1f3b62(0x1df)](_0x3a9274,0x1)]&&_0x256c3d['coMbQ'](_0x1ae6b9[_0x256c3d[_0x1f3b62(0x1df)](_0x3a9274,0x1)]['indexOf'](_0x256c3d['pDuan']),-0x1)&&(_0x1ae6b9[_0x256c3d[_0x1f3b62(0x1df)](_0x3a9274,0x1)]+=_0x256c3d[_0x1f3b62(0x1f6)]),_0x1ae6b9;}return _0x1ae6b9[_0x1f3b62(0x1fd)]('-r',_0x256c3d['gYnNF']),_0x1ae6b9;}function runNewmanCLI(_0x33bdc9){const _0x21f1c5=a42_0x545e97,_0x33cc8e={'FnOpO':function(_0x36365e,_0x28f20b){return _0x36365e>_0x28f20b;},'URAcI':function(_0x338618,_0x506e80){return _0x338618(_0x506e80);},'rekhE':function(_0x532c84,_0x3e81b1,_0xa208d){return _0x532c84(_0x3e81b1,_0xa208d);},'XUBxd':_0x21f1c5(0x1eb),'jCXpW':_0x21f1c5(0x1a4),'CWUdF':function(_0x3545db,_0x96fa4){return _0x3545db(_0x96fa4);},'arruw':_0x21f1c5(0x1a5),'thWXq':_0x21f1c5(0x1b5),'UBSEZ':_0x21f1c5(0x194),'ueTRe':_0x21f1c5(0x1f4),'hKFiH':function(_0x54019e,_0x4d7e80){return _0x54019e+_0x4d7e80;},'xEHOR':'Newman\x20CLI\x20not\x20found:\x20','mlqfa':function(_0x8140a9,_0x421c18){return _0x8140a9(_0x421c18);}};return new Promise(_0x24028a=>{const _0x3b8e2b=_0x21f1c5;let _0x53a18c;try{_0x53a18c=helper['requireModule'](_0x33cc8e[_0x3b8e2b(0x1fa)],_0x33cc8e[_0x3b8e2b(0x1fa)]);}catch(_0xbb3d62){return logger['error'](_0x33cc8e[_0x3b8e2b(0x1b3)]),_0x33cc8e[_0x3b8e2b(0x1ae)](_0x24028a,0x1);}const _0x57fdf2=_0x53a18c[_0x3b8e2b(0x1d4)];_0x53a18c[_0x3b8e2b(0x1d4)]=function(_0xe1619,_0x14c621){const _0x1f7e29=_0x3b8e2b,_0x1ee7f6={'rgqnK':function(_0x2dfc7e,_0x479569){const _0x2f3971=a42_0x1f6f;return _0x33cc8e[_0x2f3971(0x1c2)](_0x2dfc7e,_0x479569);},'ulMec':function(_0x5ce34b,_0x2d365a){const _0x57d5ce=a42_0x1f6f;return _0x33cc8e[_0x57d5ce(0x1ae)](_0x5ce34b,_0x2d365a);},'hxMrg':function(_0x13dd33,_0x182cfe,_0x4d313f){const _0x34c105=a42_0x1f6f;return _0x33cc8e[_0x34c105(0x195)](_0x13dd33,_0x182cfe,_0x4d313f);}};return _0x53a18c['run']=_0x57fdf2,_0x57fdf2[_0x1f7e29(0x1bc)](_0x53a18c,_0xe1619,(_0x266fa2,_0x42f92e)=>{const _0x1fb0a6=_0x1f7e29,_0x3e1728=_0x42f92e&&_0x42f92e[_0x1fb0a6(0x1d4)]&&(_0x42f92e[_0x1fb0a6(0x1d4)][_0x1fb0a6(0x1b2)]||_0x42f92e[_0x1fb0a6(0x1d4)][_0x1fb0a6(0x1f8)]&&_0x1ee7f6['rgqnK'](_0x42f92e['run']['failures'][_0x1fb0a6(0x1fe)],0x0));_0x1ee7f6[_0x1fb0a6(0x18b)](_0x24028a,_0x3e1728?0x1:0x0),_0x14c621&&_0x1ee7f6[_0x1fb0a6(0x1f7)](_0x14c621,_0x266fa2,_0x42f92e);});};try{const _0x191f95=_0x33cc8e['CWUdF'](require,_0x33cc8e[_0x3b8e2b(0x1ee)])[_0x3b8e2b(0x1e9)](path[_0x3b8e2b(0x1db)](process[_0x3b8e2b(0x1cc)](),_0x33cc8e[_0x3b8e2b(0x193)]));_0x33cc8e[_0x3b8e2b(0x1b7)](_0x191f95,_0x33cc8e[_0x3b8e2b(0x1d5)])([_0x33cc8e[_0x3b8e2b(0x1aa)],_0x33cc8e[_0x3b8e2b(0x1fa)]][_0x3b8e2b(0x1fb)](_0x33bdc9));}catch(_0x1b4667){_0x53a18c[_0x3b8e2b(0x1d4)]=_0x57fdf2,logger[_0x3b8e2b(0x1b2)](_0x33cc8e[_0x3b8e2b(0x202)](_0x33cc8e[_0x3b8e2b(0x1c0)],_0x1b4667[_0x3b8e2b(0x19f)])),_0x33cc8e[_0x3b8e2b(0x1ce)](_0x24028a,0x1);}});}function runNewmanScript(_0x48aa10,_0xf94960){const _0x19d312=a42_0x545e97,_0x3d7003={'SWeFm':function(_0x5dc5c4,_0x5ae36b){return _0x5dc5c4(_0x5ae36b);},'UUgWc':function(_0x4e162b,_0x396696){return _0x4e162b||_0x396696;},'JiIjH':function(_0x828a30,_0x4d8a14,_0x18b09c,_0x5d068d){return _0x828a30(_0x4d8a14,_0x18b09c,_0x5d068d);},'QJbNF':_0x19d312(0x19c),'lnTXE':function(_0x4c2e70,_0x3bee88){return _0x4c2e70||_0x3bee88;},'PQOrs':_0x19d312(0x200),'amoIa':'close'};return new Promise(function(_0x4559c9){const _0x3ffb5f=_0x19d312,_0x505e31=_0x3d7003['JiIjH'](fork,path[_0x3ffb5f(0x1db)](__dirname,_0x3d7003[_0x3ffb5f(0x190)]),[_0x48aa10,_0x3d7003[_0x3ffb5f(0x1c7)](String,_0x3d7003[_0x3ffb5f(0x1c9)](_0xf94960,0x0))],{'stdio':_0x3d7003[_0x3ffb5f(0x1ed)],'env':Object['assign']({},process[_0x3ffb5f(0x196)])});_0x505e31['on'](_0x3d7003[_0x3ffb5f(0x1a0)],function(_0x120231){const _0x22bf91=_0x3ffb5f;_0x3d7003[_0x22bf91(0x1c7)](_0x4559c9,_0x3d7003[_0x22bf91(0x1a6)](_0x120231,0x0));});});}function hasO11yBuild(){const _0x1629d6=a42_0x545e97,_0x1d2088={};_0x1d2088[_0x1629d6(0x18c)]=function(_0x4f2866,_0x1f291d){return _0x4f2866!==_0x1f291d;},_0x1d2088[_0x1629d6(0x198)]=_0x1629d6(0x1d1);const _0x61e722=_0x1d2088;return!!(BrowserstackCLI['O11yHashedID']||process['env'][_0x1629d6(0x1be)]&&_0x61e722[_0x1629d6(0x18c)](process[_0x1629d6(0x196)]['BROWSERSTACK_TESTHUB_JWT'],_0x61e722[_0x1629d6(0x198)]));}function a42_0x9a64(){const _0x4188b4=['QJbNF','VjqTk','../../helpers/test-observability/constants','thWXq','newman/bin/newman','rekhE','env','winstonLogger','kqwhE','path','exports','launchBuild','scriptRunner.js','1710564gdYsmV','../v2/browserstackCLI','message','amoIa','6361289qEYBXy','../v2/cliUtils','158199kRzObk','Newman\x20is\x20not\x20installed.\x20Please\x20install\x20newman:\x20npm\x20install\x20newman','module','UUgWc','cliConfig','BROWSERSTACK_AUTOMATION','configPath','ueTRe','Failed\x20to\x20bootstrap\x20CLI:\x20','jmaoo','false','URAcI','hgEHf','HjtIn','.js','error','jCXpW','yCaXC','package.json','2691jnvXsk','CWUdF','5056745WCWJaR','exitCode','resolve','LwzbZ','call','stop','BROWSERSTACK_TESTHUB_JWT','27448AimPnF','xEHOR','warn','FnOpO','shutdown','setFrameworkDetail','../../helpers/testhub/testhubHandler','parallelsPerPlatform','SWeFm','config','lnTXE','APOgY','saNRS','cwd','jibKb','mlqfa','getInstance','ofXtF','null','uLlBa','endsWith','run','UBSEZ','wUZHi','vMkMj','slice','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','427510NJggoW','join','testObservability','TlCMf','203NBjCuH','yQXNh','oIcvH','zUUOu','VoYDO','cli,browserstack','6sRbhcs','--reporters','MLjVF','bootstrap','newman-reporter-browserstack','createRequire','../../helpers/helper','newman','[Newman]\x20Test\x20Observability\x20build\x20was\x20not\x20created.\x20No\x20build\x20link\x20available.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','PQOrs','arruw','Failed\x20to\x20launch\x20build:\x20','smalv','true','../../helpers/logger','browserstack','node','IKFdy','sDJKi','hxMrg','failures','mJfCG','XUBxd','concat','isRunning','push','length','20yRESOv','inherit','gYnNF','hKFiH','kjfjS','pDuan','jtYIk','ulMec','btjjH','_resolveFilename','89322UVClVV','wYbgk'];a42_0x9a64=function(){return _0x4188b4;};return a42_0x9a64();}function runWithoutObservability(_0x40c4e7,_0x1c0ce4){const _0x847e1a=a42_0x545e97,_0x40f227={'hgEHf':function(_0x2e577d,_0x3ed2c0){return _0x2e577d(_0x3ed2c0);}};if(_0x40c4e7)return _0x40f227['hgEHf'](require,path[_0x847e1a(0x1ba)](_0x40c4e7)),0x0;return _0x40f227[_0x847e1a(0x1af)](runNewmanCLI,_0x1c0ce4);}module[a42_0x545e97(0x19a)]=async function(_0x29201d,_0x30a111,_0x327bc6){const _0x3237c6=a42_0x545e97,_0x28f78e={'bWJfs':_0x3237c6(0x1b1),'vMkMj':function(_0x1695e4,_0x57df31){return _0x1695e4===_0x57df31;},'zUUOu':_0x3237c6(0x1ad),'smalv':function(_0x2e739d,_0x67eb4c,_0x3baa6f){return _0x2e739d(_0x67eb4c,_0x3baa6f);},'MLjVF':function(_0x4d4302,_0x29bdee){return _0x4d4302!=_0x29bdee;},'jtYIk':_0x3237c6(0x1f1),'ofXtF':'newman','unSwA':function(_0x491c0a,_0x4d87fb){return _0x491c0a+_0x4d87fb;},'HjtIn':_0x3237c6(0x1ab),'yCaXC':function(_0x485d2d,_0x35893c){return _0x485d2d+_0x35893c;},'oIcvH':_0x3237c6(0x1ef),'jmaoo':function(_0x57068c){return _0x57068c();},'kjfjS':'[Newman]\x20Test\x20Observability\x20build\x20creation\x20failed.\x20Tests\x20will\x20run\x20but\x20results\x20will\x20not\x20appear\x20on\x20the\x20BrowserStack\x20dashboard.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','saNRS':function(_0x2d4a71){return _0x2d4a71();},'wUZHi':function(_0x5e6c7a,_0x5440e5){return _0x5e6c7a(_0x5440e5);},'uLlBa':function(_0x55dfae){return _0x55dfae();},'mJfCG':function(_0x2cf0c7){return _0x2cf0c7();},'TlCMf':_0x3237c6(0x1ec)},_0x1c8b75=_0x30a111[_0x3237c6(0x1d8)](0x1),_0xa621de=_0x1c8b75[0x0]&&_0x1c8b75[0x0][_0x3237c6(0x1d3)](_0x28f78e['bWJfs'])?_0x1c8b75[0x0]:null;if(!_0x327bc6[_0x3237c6(0x1c8)]||_0x28f78e[_0x3237c6(0x1d7)](_0x327bc6[_0x3237c6(0x1c8)][_0x3237c6(0x1dc)],![])||_0x28f78e[_0x3237c6(0x1d7)](_0x327bc6[_0x3237c6(0x1c8)][_0x3237c6(0x1dc)],_0x28f78e['zUUOu'])){process[_0x3237c6(0x1b9)]=await _0x28f78e[_0x3237c6(0x1f0)](runWithoutObservability,_0xa621de,_0x1c8b75)||0x0;return;}process[_0x3237c6(0x196)][_0x3237c6(0x1a8)]=_0x28f78e[_0x3237c6(0x1e1)],process[_0x3237c6(0x196)][_0x3237c6(0x1d9)]=_0x28f78e[_0x3237c6(0x1e1)],process[_0x3237c6(0x196)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x28f78e[_0x3237c6(0x1e6)](_0x327bc6[_0x3237c6(0x1c8)][_0x3237c6(0x1dc)],null)?_0x327bc6[_0x3237c6(0x1c8)][_0x3237c6(0x1dc)]:_0x28f78e[_0x3237c6(0x18a)],CLIUtils[_0x3237c6(0x1c4)](_0x28f78e[_0x3237c6(0x1d0)],_0x28f78e['ofXtF']),BrowserstackCLI['getInstance']()['setBrowserstackConfig'](_0x327bc6['config'],_0x327bc6[_0x3237c6(0x1a9)],_0x327bc6[_0x3237c6(0x1a7)]);try{await BrowserstackCLI[_0x3237c6(0x1cf)]()[_0x3237c6(0x1e7)]();}catch(_0x15ffa1){logger[_0x3237c6(0x1b2)](_0x28f78e['unSwA'](_0x28f78e[_0x3237c6(0x1b0)],_0x15ffa1['message']||_0x15ffa1));}if(!BrowserstackCLI[_0x3237c6(0x1cf)]()[_0x3237c6(0x1fc)]())try{await TestHubHandler[_0x3237c6(0x19b)](FRAMEWORKS['NEWMAN'],_0x327bc6);}catch(_0x466801){logger['error'](_0x28f78e[_0x3237c6(0x1b4)](_0x28f78e[_0x3237c6(0x1e0)],_0x466801[_0x3237c6(0x19f)]||_0x466801));}!_0x28f78e[_0x3237c6(0x1ac)](hasO11yBuild)&&logger['warn'](_0x28f78e[_0x3237c6(0x203)]);_0x28f78e[_0x3237c6(0x1cb)](registerBrowserStackReporter);let _0x325b58;_0xa621de?_0x325b58=await _0x28f78e[_0x3237c6(0x1f0)](runNewmanScript,_0xa621de,_0x327bc6['config'][_0x3237c6(0x1c6)]):_0x325b58=await _0x28f78e[_0x3237c6(0x1d6)](runNewmanCLI,_0x28f78e['wUZHi'](injectReporterIntoArgs,_0x1c8b75));try{await TestHubHandler[_0x3237c6(0x1bd)]();}catch(_0x1c570f){}try{await BrowserstackCLI['getInstance']()[_0x3237c6(0x1bd)]();}catch(_0x1882ea){}try{await RequestQueueHandler[_0x3237c6(0x1cf)]()[_0x3237c6(0x1c3)]();}catch(_0x499f25){}if(_0x28f78e[_0x3237c6(0x1d2)](hasO11yBuild))try{_0x28f78e[_0x3237c6(0x1f9)](printBuildLink);}catch(_0x379af3){}else logger[_0x3237c6(0x1c1)](_0x28f78e[_0x3237c6(0x1dd)]);process[_0x3237c6(0x1b9)]=_0x325b58;};
@@ -1 +1 @@
1
- const a43_0x15435f=a43_0x4efb;function a43_0x4efb(_0xf873f7,_0x5f482c){const _0x3ebc70=a43_0x3ebc();return a43_0x4efb=function(_0x4efbe0,_0x4c8b71){_0x4efbe0=_0x4efbe0-0x1ed;let _0x1dc442=_0x3ebc70[_0x4efbe0];return _0x1dc442;},a43_0x4efb(_0xf873f7,_0x5f482c);}function a43_0x3ebc(){const _0x381d61=['127950lzvXNM','360vMvgBS','12526bXLLdE','2148028mnARUw','13698003MWVLId','ZaJIh','319768vaKZNE','YdjGQ','newman','585UoeTDy','oHSsp','toLowerCase','isNewman','BROWSERSTACK_FRAMEWORK','266JfdmZC','exports','27505XMtxuM','141kjwpWA','framework','3107979QpHVSw'];a43_0x3ebc=function(){return _0x381d61;};return a43_0x3ebc();}(function(_0x550a6a,_0x50e7b6){const _0x4dc6d8=a43_0x4efb,_0x3f9ccf=_0x550a6a();while(!![]){try{const _0x5843bc=-parseInt(_0x4dc6d8(0x1fe))/0x1*(parseInt(_0x4dc6d8(0x1ef))/0x2)+parseInt(_0x4dc6d8(0x200))/0x3+parseInt(_0x4dc6d8(0x1f0))/0x4+-parseInt(_0x4dc6d8(0x1fd))/0x5*(parseInt(_0x4dc6d8(0x1ee))/0x6)+parseInt(_0x4dc6d8(0x1fb))/0x7*(-parseInt(_0x4dc6d8(0x1f3))/0x8)+-parseInt(_0x4dc6d8(0x1f6))/0x9*(-parseInt(_0x4dc6d8(0x1ed))/0xa)+parseInt(_0x4dc6d8(0x1f1))/0xb;if(_0x5843bc===_0x50e7b6)break;else _0x3f9ccf['push'](_0x3f9ccf['shift']());}catch(_0x324b7c){_0x3f9ccf['push'](_0x3f9ccf['shift']());}}}(a43_0x3ebc,0xe0193));function isNewman(_0x4badf2){const _0x3f6f4a=a43_0x4efb,_0x3ac955={'YdjGQ':function(_0x2245a8,_0x11df38){return _0x2245a8===_0x11df38;},'oHSsp':_0x3f6f4a(0x1f5),'tLoOd':function(_0x119b72,_0x1e72e5){return _0x119b72(_0x1e72e5);},'ZaJIh':function(_0x1f5e71,_0x297ce9){return _0x1f5e71||_0x297ce9;}},_0x1f3c46=process['env'][_0x3f6f4a(0x1fa)]||'';let _0x21bbc8='';_0x4badf2&&_0x4badf2['framework']&&(_0x21bbc8=_0x4badf2[_0x3f6f4a(0x1ff)]);const _0x350eae=_0x3ac955[_0x3f6f4a(0x1f4)](_0x1f3c46[_0x3f6f4a(0x1f8)](),_0x3ac955[_0x3f6f4a(0x1f7)]),_0x59cfcc=_0x3ac955['YdjGQ'](_0x3ac955['tLoOd'](String,_0x21bbc8)[_0x3f6f4a(0x1f8)](),_0x3ac955[_0x3f6f4a(0x1f7)]);return _0x3ac955[_0x3f6f4a(0x1f2)](_0x350eae,_0x59cfcc);};const a43_0x2a0bc1={};a43_0x2a0bc1[a43_0x15435f(0x1f9)]=isNewman,module[a43_0x15435f(0x1fc)]=a43_0x2a0bc1;
1
+ const a43_0x2ce51f=a43_0x3533;function a43_0x36fc(){const _0x4d8216=['1jNPgfi','1975617UUyweL','3527300QmcbZU','isNewman','env','5419456LVhbCN','exports','12DORoxt','14663kihZHA','framework','newman','KgiiY','WfEXD','STmtC','vPKOt','14860BQJLKl','816027rUaGvP','2398564NudZAk','4pTiSec','7211813hpeiyp','BROWSERSTACK_FRAMEWORK','toLowerCase'];a43_0x36fc=function(){return _0x4d8216;};return a43_0x36fc();}(function(_0xaeee83,_0x2202db){const _0x4592e4=a43_0x3533,_0xd560d7=_0xaeee83();while(!![]){try{const _0x23bb36=parseInt(_0x4592e4(0x17f))/0x1*(parseInt(_0x4592e4(0x190))/0x2)+-parseInt(_0x4592e4(0x18f))/0x3*(-parseInt(_0x4592e4(0x191))/0x4)+-parseInt(_0x4592e4(0x181))/0x5*(-parseInt(_0x4592e4(0x186))/0x6)+-parseInt(_0x4592e4(0x17c))/0x7+parseInt(_0x4592e4(0x184))/0x8+parseInt(_0x4592e4(0x180))/0x9+parseInt(_0x4592e4(0x18e))/0xa*(-parseInt(_0x4592e4(0x187))/0xb);if(_0x23bb36===_0x2202db)break;else _0xd560d7['push'](_0xd560d7['shift']());}catch(_0x10c522){_0xd560d7['push'](_0xd560d7['shift']());}}}(a43_0x36fc,0xbb83b));function a43_0x3533(_0x5b68eb,_0x5ae0cd){const _0x36fcbb=a43_0x36fc();return a43_0x3533=function(_0x3533c8,_0x32a82a){_0x3533c8=_0x3533c8-0x17c;let _0x56d441=_0x36fcbb[_0x3533c8];return _0x56d441;},a43_0x3533(_0x5b68eb,_0x5ae0cd);}function isNewman(_0x49a396){const _0x34690b=a43_0x3533,_0x1a5ecd={'WfEXD':function(_0x180758,_0x2afef4){return _0x180758===_0x2afef4;},'STmtC':_0x34690b(0x189),'vPKOt':function(_0x32d621,_0x1aaaf2){return _0x32d621===_0x1aaaf2;},'yGOfE':function(_0x16ac45,_0x37b5ad){return _0x16ac45(_0x37b5ad);},'KgiiY':function(_0x1f75d6,_0x1b3849){return _0x1f75d6||_0x1b3849;}},_0x42be92=process[_0x34690b(0x183)][_0x34690b(0x17d)]||'';let _0x136963='';_0x49a396&&_0x49a396['framework']&&(_0x136963=_0x49a396[_0x34690b(0x188)]);const _0x3122e3=_0x1a5ecd[_0x34690b(0x18b)](_0x42be92[_0x34690b(0x17e)](),_0x1a5ecd['STmtC']),_0x123fbc=_0x1a5ecd[_0x34690b(0x18d)](_0x1a5ecd['yGOfE'](String,_0x136963)[_0x34690b(0x17e)](),_0x1a5ecd[_0x34690b(0x18c)]);return _0x1a5ecd[_0x34690b(0x18a)](_0x3122e3,_0x123fbc);};const a43_0x5cef7e={};a43_0x5cef7e[a43_0x2ce51f(0x182)]=isNewman,module[a43_0x2ce51f(0x185)]=a43_0x5cef7e;
@@ -1 +1 @@
1
- 'use strict';const a44_0x5a4256=a44_0x865e;(function(_0xbac60b,_0x25285a){const _0x12c09a=a44_0x865e,_0x23b186=_0xbac60b();while(!![]){try{const _0x9ffc0f=parseInt(_0x12c09a(0x22e))/0x1+parseInt(_0x12c09a(0x209))/0x2*(-parseInt(_0x12c09a(0x22c))/0x3)+parseInt(_0x12c09a(0x24e))/0x4+parseInt(_0x12c09a(0x20c))/0x5+parseInt(_0x12c09a(0x271))/0x6*(-parseInt(_0x12c09a(0x1d2))/0x7)+parseInt(_0x12c09a(0x226))/0x8+-parseInt(_0x12c09a(0x2a0))/0x9;if(_0x9ffc0f===_0x25285a)break;else _0x23b186['push'](_0x23b186['shift']());}catch(_0x3af69e){_0x23b186['push'](_0x23b186['shift']());}}}(a44_0x1ab4,0x7adc3));const path=require(a44_0x5a4256(0x206)),{v4:uuidv4}=require(a44_0x5a4256(0x262)),SessionHandler=require(a44_0x5a4256(0x1c1)),{debug}=require(a44_0x5a4256(0x214)),logger=require('../../../helpers/logger')[a44_0x5a4256(0x1bf)],BrowserstackCLI=require(a44_0x5a4256(0x251)),GrpcClient=require('../../v2/grpcClient'),TestFrameworkState=require(a44_0x5a4256(0x22a)),HookState=require(a44_0x5a4256(0x290)),LOG_LEVELS=[a44_0x5a4256(0x1b2),a44_0x5a4256(0x27e),a44_0x5a4256(0x23c),'DEBUG',a44_0x5a4256(0x278)];function isCLIRunning(){const _0x570ce1=a44_0x5a4256;try{return BrowserstackCLI[_0x570ce1(0x238)]()['isRunning']();}catch(_0x1320f0){return![];}}function a44_0x865e(_0x18ef9b,_0x39fcb9){const _0x1ab40a=a44_0x1ab4();return a44_0x865e=function(_0x865e00,_0x186ec4){_0x865e00=_0x865e00-0x1a8;let _0x2d94b2=_0x1ab40a[_0x865e00];return _0x2d94b2;},a44_0x865e(_0x18ef9b,_0x39fcb9);}function getParentTitles(_0x239f95){const _0x1e42e1=a44_0x5a4256,_0x3a0fb4={'fxkpG':function(_0x1f5279,_0x3d9961){return _0x1f5279(_0x3d9961);}},_0x58374d=[],_0x34c542=_0x239f95[_0x1e42e1(0x29d)]();return _0x34c542&&_0x58374d['push']['apply'](_0x58374d,_0x3a0fb4[_0x1e42e1(0x26e)](getParentTitles,_0x34c542)),_0x239f95[_0x1e42e1(0x1ac)]&&_0x58374d[_0x1e42e1(0x259)](_0x3a0fb4['fxkpG'](String,_0x239f95[_0x1e42e1(0x1ac)])),_0x58374d;}function normalizeLogLevel(_0x335ed4){const _0x3e9319=a44_0x5a4256,_0x4280fe={};_0x4280fe[_0x3e9319(0x1d5)]=_0x3e9319(0x1b2),_0x4280fe[_0x3e9319(0x1bc)]=function(_0x4b052e,_0x41153c){return _0x4b052e!==_0x41153c;};const _0xe3cfe=_0x4280fe;if(!_0x335ed4)return _0xe3cfe[_0x3e9319(0x1d5)];const _0x1c2968=_0x335ed4['toUpperCase']();return _0xe3cfe[_0x3e9319(0x1bc)](LOG_LEVELS[_0x3e9319(0x25a)](_0x1c2968),-0x1)?_0x1c2968:_0xe3cfe[_0x3e9319(0x1d5)];}function resolveCollectionFile(_0x151bf4,_0x1f03f2){const _0x390997=a44_0x5a4256,_0x3f3276={};_0x3f3276[_0x390997(0x24a)]=function(_0x5e09a8,_0x4b7efd){return _0x5e09a8===_0x4b7efd;},_0x3f3276[_0x390997(0x204)]='string',_0x3f3276[_0x390997(0x270)]='run',_0x3f3276[_0x390997(0x23d)]=function(_0x1f4fbf,_0xaec036){return _0x1f4fbf!==_0xaec036;},_0x3f3276[_0x390997(0x1a9)]=function(_0x42db6c,_0x1008b0){return _0x42db6c<_0x1008b0;},_0x3f3276[_0x390997(0x1d4)]=function(_0x4ff10b,_0x225936){return _0x4ff10b+_0x225936;},_0x3f3276[_0x390997(0x1b6)]=function(_0x11301b,_0x3d6098){return _0x11301b+_0x3d6098;},_0x3f3276[_0x390997(0x1cd)]='[Newman\x20Reporter]\x20Could\x20not\x20resolve\x20collection\x20file\x20path,\x20falling\x20back\x20to\x20collection.json',_0x3f3276[_0x390997(0x1e6)]=_0x390997(0x24c);const _0x1f1dc1=_0x3f3276;try{if(_0x1f03f2&&_0x1f03f2['collectionPath'])return path[_0x390997(0x28d)](process['cwd'](),path['resolve'](_0x1f03f2[_0x390997(0x207)]));const _0x45c716=_0x151bf4['collection'];if(_0x1f1dc1[_0x390997(0x24a)](typeof _0x45c716,_0x1f1dc1['xxxfY']))return path[_0x390997(0x28d)](process['cwd'](),path['resolve'](_0x45c716));const _0xcff9e6=process[_0x390997(0x28b)][_0x390997(0x25a)](_0x1f1dc1[_0x390997(0x270)]);if(_0x1f1dc1[_0x390997(0x23d)](_0xcff9e6,-0x1)&&_0x1f1dc1[_0x390997(0x1a9)](_0x1f1dc1['zlwPP'](_0xcff9e6,0x1),process[_0x390997(0x28b)][_0x390997(0x274)])){const _0x2412fc=process[_0x390997(0x28b)][_0x1f1dc1[_0x390997(0x1b6)](_0xcff9e6,0x1)];if(_0x2412fc&&!_0x2412fc['startsWith']('-'))return path[_0x390997(0x28d)](process[_0x390997(0x1cf)](),path[_0x390997(0x26c)](_0x2412fc));}}catch(_0x249186){}return logger[_0x390997(0x224)](_0x1f1dc1[_0x390997(0x1cd)]),_0x1f1dc1['sdBrl'];}function resolveCollectionName(_0x2990c6){const _0xfde6f=a44_0x5a4256,_0x260b24={};_0x260b24[_0xfde6f(0x1b4)]=function(_0x449ace,_0x3094b4){return _0x449ace===_0x3094b4;},_0x260b24['qQuQZ']='object';const _0x9c3e42=_0x260b24;try{const _0x1b3479=_0x2990c6[_0xfde6f(0x26d)];if(_0x1b3479&&_0x9c3e42[_0xfde6f(0x1b4)](typeof _0x1b3479,_0x9c3e42[_0xfde6f(0x1e7)]))return _0x1b3479[_0xfde6f(0x1ac)]||_0x1b3479['info']&&_0x1b3479[_0xfde6f(0x224)][_0xfde6f(0x1ac)]||null;}catch(_0x289499){}return null;}function a44_0x1ab4(){const _0x2a13c8=['path','collectionPath','ViBYJ','1016zXyTyr','testFrameworkName','bcVwt','222745IKIvif','Assertion\x20','getTestFramework','N/A','kGymo','response','TNxhV','bufferedLogs','../../../helpers/test-observability/utils','LDNnK','oYXFn','No\x20HTTP\x20response\x20received','DusrL','PBSsk','event','uAFUp','CDtWE','oJdIb','listen','dymqL','lAyUk','HVrZB','err','MrnJl','info','aEpdv','1584448orxqIx','stringify','wvSwL','messages','../../v2/state/testFrameworkState','IRNLi','678WtGQTV','EkeIl','884395lmqFxG','script','mQCua','PRE','vyfHR','GAhpP','logCreatedEvent','startedAt','lPQzB','level','getInstance','SUkmY','hllOk','uLXhF','ERROR','yVDqe','httpLog','forEach','hostname','durationMs','delete','EVjCA','HTbzw','timestamp','startTimestamp','failure','[Newman\x20Reporter]\x20emitTest\x20error:\x20','HJcAu','fxMSt','search','collection.json','CQLHh','3346072efMIel','KaGsE','lastResponseCode','../../v2/browserstackCLI','AssertionError','OkqJU','GCEyP','ysiMS','assertions','EjFii','EjrdW','push','indexOf','startsWith','duration_ms','NuKHG','beforeItem','LogCreated','[Newman\x20Reporter]\x20Error\x20in\x20bs:addLog\x20handler:\x20','qXTev','uuid','PcDZO','backtrace','item','join','execution','EgxXb','zpjQB','stack','beforeIteration','resolve','collection','fxkpG','\x20(no\x20assertions)','IwqbN','66uCUSIK','status_code','failed','length','uwfDZ','failure_reason_expanded','OEAfV','TRACE','TestRunFinished','pathname','iuWrX','failureType','expanded','WARN','pending','cursor','rRFnB','ms)','oAkRn','TestRunStarted','collectionName','uploadEventData','[Newman\x20Reporter]\x20Error\x20in\x20request:\x20','bs:addLog:','responseTime','slice','argv','finishedAt','relative','lpRHt','bpLBr','../../v2/state/hookState','clear','vWKzS','\x20—\x20response\x20status\x20in\x20failure\x20range','[Newman\x20Reporter]\x20Error\x20in\x20console:\x20','rPwnw','nuOsx','done','KAuze','lpnBB','concat','BBlJF','MueTC','parent','removeListener','platformIndex','7562007AskxaO','url','jJUOS','xNOub','TEST','toString','name','ovujf','assertion','Exception:\x20','code','cAiys','INFO','[Newman\x20Reporter]\x20Error\x20in\x20script:\x20','MnUwA','YTKFs','pjKIf','wlVqH','now','yTrFV','msOBM','AWMUl','BkRAT','set','message','winstonLogger','failureReason','../../../helpers/test-observability/sessionHandler','ZfMDh','nrGfg','MSypN','QKAiu','host','unknown','getTime','headers','http_response','exception','[Newman\x20Reporter]\x20emitLog\x20error:\x20','gjtWX','PDFLj','cwd','CGcmf','POST','321524MsFuPx','testFrameworkVersion','zlwPP','URimy','request','bDLJp','ref','):\x20','testFrameworkState','EONWk','newman','poHxn','toISOString','Script\x20error\x20(','http','failure_backtrace','sdMeC','DGcRC','scopes','OqEgg','sdBrl','qQuQZ','pid','rfYlW','jbIBg','get','TEST_LOG','exports','jrxLc','TTlYa','HTTP','FbpvC','fXgIw','kind','MKvmK','HTTP\x20Status:\x20','javascript','identifier','gHzZa','gGCKv','includes','uDMnz','gzRJm','\x20->\x20','VCXMb','HHwCe','assert','split','location','method','xxxfY','passed'];a44_0x1ab4=function(){return _0x2a13c8;};return a44_0x1ab4();}function emitTest(_0x348bf2,_0x463c8e,_0x563afb,_0x1d16f6,_0x1ebc60){const _0x44f7ba=a44_0x5a4256,_0x3e3a16={'ovujf':function(_0x2f630f){return _0x2f630f();},'yTrFV':_0x44f7ba(0x27f),'zfbRJ':function(_0x3299db,_0x2d1a53){return _0x3299db(_0x2d1a53);},'EONWk':_0x44f7ba(0x1dc),'ysiMS':_0x44f7ba(0x1f6),'wvSwL':function(_0x2e6eba,_0x546b56){return _0x2e6eba!=_0x546b56;},'gHzZa':function(_0x310094,_0x16e02a){return _0x310094===_0x16e02a;},'WJPci':_0x44f7ba(0x284),'OXqgN':_0x44f7ba(0x279)};if(_0x3e3a16[_0x44f7ba(0x1ad)](isCLIRunning))try{const _0xf888fb=BrowserstackCLI[_0x44f7ba(0x238)]()[_0x44f7ba(0x20e)]();if(!_0xf888fb)return;_0xf888fb['trackEvent'](TestFrameworkState[_0x44f7ba(0x1aa)],_0x348bf2,{'test':{'uuid':_0x463c8e['uuid'],'name':_0x463c8e[_0x44f7ba(0x1ac)],'scopes':_0x563afb[_0x44f7ba(0x1e4)],'scope':_0x563afb['scopes'][_0x44f7ba(0x266)]('\x20'),'file_path':_0x1d16f6,'location':_0x563afb[_0x44f7ba(0x285)],'started_at':_0x563afb['startedAt'],'finished_at':_0x1ebc60[_0x44f7ba(0x28c)]||null,'result':_0x1ebc60['result']||_0x3e3a16[_0x44f7ba(0x1b9)],'failure':_0x1ebc60[_0x44f7ba(0x247)]||[],'failure_type':_0x1ebc60[_0x44f7ba(0x27c)]||null,'failure_reason':_0x1ebc60[_0x44f7ba(0x1c0)]||null,'tags':[],'meta':{},'custom_metadata':{}}});}catch(_0x99f2a7){_0x3e3a16['zfbRJ'](debug,_0x44f7ba(0x248)+_0x99f2a7);}else{const _0x128f5b={'uuid':_0x463c8e[_0x44f7ba(0x262)],'name':_0x463c8e[_0x44f7ba(0x1ac)],'framework':_0x3e3a16[_0x44f7ba(0x1db)],'body':{'lang':_0x3e3a16[_0x44f7ba(0x255)],'code':null},'scope':_0x563afb[_0x44f7ba(0x1e4)][_0x44f7ba(0x266)]('\x20'),'scopes':_0x563afb[_0x44f7ba(0x1e4)],'identifier':_0x463c8e[_0x44f7ba(0x1f7)],'file_name':_0x563afb[_0x44f7ba(0x285)],'vc_filepath':_0x563afb[_0x44f7ba(0x202)],'location':_0x563afb[_0x44f7ba(0x202)],'started_at':_0x563afb[_0x44f7ba(0x235)],'finished_at':_0x1ebc60[_0x44f7ba(0x28c)]||null,'duration_in_ms':_0x3e3a16[_0x44f7ba(0x228)](_0x1ebc60['durationMs'],null)?Math['max'](0x0,_0x1ebc60[_0x44f7ba(0x241)]):null,'result':_0x1ebc60['result']||_0x3e3a16['yTrFV'],'failure_reason':_0x1ebc60[_0x44f7ba(0x1c0)]||null,'failure_type':_0x1ebc60['failureType']||null,'failure':_0x1ebc60[_0x44f7ba(0x247)]||[],'retry_of':null,'hooks':[]};_0x128f5b[_0x44f7ba(0x247)][0x0]&&(_0x128f5b[_0x44f7ba(0x1e1)]=_0x128f5b[_0x44f7ba(0x247)][0x0][_0x44f7ba(0x264)],_0x128f5b[_0x44f7ba(0x276)]=_0x128f5b[_0x44f7ba(0x247)][0x0][_0x44f7ba(0x27d)]);const _0x3ff24f=_0x3e3a16[_0x44f7ba(0x1f8)](_0x348bf2,HookState[_0x44f7ba(0x231)])?_0x3e3a16['WJPci']:_0x3e3a16['OXqgN'],_0x85bf86={};_0x85bf86['event_type']=_0x3ff24f,_0x85bf86['test_run']=_0x128f5b,SessionHandler[_0x44f7ba(0x286)](_0x85bf86);}}function emitLog(_0x1675e8,_0x3b2dfc){const _0x4bdd0a=a44_0x5a4256,_0x7eb9d0={'vyfHR':_0x4bdd0a(0x1ec),'TTlYa':function(_0x405d5a){return _0x405d5a();},'igUtO':function(_0x28e487,_0x12a6cc){return _0x28e487===_0x12a6cc;},'lPQzB':'HTTP','jrxLc':'newman','kGymo':_0x4bdd0a(0x1aa),'IziqQ':_0x4bdd0a(0x1b2),'CDtWE':function(_0x3931ff,_0x1d3374){return _0x3931ff(_0x1d3374);},'aUHGR':function(_0x2b4cfa,_0x9d7119){return _0x2b4cfa+_0x9d7119;},'KaGsE':_0x4bdd0a(0x1cc),'OEAfV':_0x4bdd0a(0x25f)},_0x388115=_0x3b2dfc[_0x4bdd0a(0x1f3)]||_0x7eb9d0[_0x4bdd0a(0x232)],_0x5a7f1f=_0x3b2dfc[_0x4bdd0a(0x245)]||new Date()[_0x4bdd0a(0x1de)]();if(_0x7eb9d0[_0x4bdd0a(0x1ef)](isCLIRunning))try{const _0x869ade=_0x7eb9d0['igUtO'](_0x388115,_0x7eb9d0[_0x4bdd0a(0x236)])?JSON[_0x4bdd0a(0x227)](_0x3b2dfc):_0x3b2dfc[_0x4bdd0a(0x1be)]||'',_0x3811c0={};_0x3811c0[_0x4bdd0a(0x29f)]=0x0,_0x3811c0[_0x4bdd0a(0x20a)]=_0x7eb9d0[_0x4bdd0a(0x1ee)],_0x3811c0[_0x4bdd0a(0x1d3)]='',_0x3811c0[_0x4bdd0a(0x1da)]=_0x7eb9d0[_0x4bdd0a(0x210)],_0x3811c0['logs']=[{'uuid':_0x1675e8,'timestamp':_0x5a7f1f,'kind':_0x388115,'level':_0x3b2dfc[_0x4bdd0a(0x237)]||_0x7eb9d0['IziqQ'],'message':_0x869ade}],GrpcClient[_0x4bdd0a(0x238)]()[_0x4bdd0a(0x234)](_0x3811c0);}catch(_0x313804){_0x7eb9d0[_0x4bdd0a(0x21c)](debug,_0x7eb9d0['aUHGR'](_0x7eb9d0[_0x4bdd0a(0x24f)],_0x313804));}else{const _0x2bec30={};_0x2bec30['test_run_uuid']=_0x1675e8,_0x2bec30[_0x4bdd0a(0x245)]=_0x5a7f1f,_0x2bec30[_0x4bdd0a(0x237)]=_0x3b2dfc[_0x4bdd0a(0x237)]||null,_0x2bec30['message']=_0x3b2dfc[_0x4bdd0a(0x1be)]||null,_0x2bec30[_0x4bdd0a(0x1f3)]=_0x388115,_0x2bec30[_0x4bdd0a(0x1ca)]=_0x3b2dfc[_0x4bdd0a(0x1ca)]||{};const _0x324735={};_0x324735['event_type']=_0x7eb9d0[_0x4bdd0a(0x277)],_0x324735['logs']=[_0x2bec30],SessionHandler[_0x4bdd0a(0x286)](_0x324735);}}function BrowserStackNewmanReporter(_0xd39663,_0x2ae696,_0x1d5599){const _0x283d24=a44_0x5a4256,_0x430dde={'miGhj':function(_0x57d96f,_0xa894f3,_0x485e5c){return _0x57d96f(_0xa894f3,_0x485e5c);},'AWMUl':function(_0x14f762,_0x49d6a5){return _0x14f762(_0x49d6a5);},'oJdIb':function(_0x376c90,_0x107753){return _0x376c90(_0x107753);},'dymqL':function(_0x4b668b,_0x5335b3){return _0x4b668b>_0x5335b3;},'uDMnz':function(_0xb6a1a,_0x252be6){return _0xb6a1a(_0x252be6);},'KCwJL':_0x283d24(0x1e0),'SUkmY':function(_0xe611b6,_0x36235f){return _0xe611b6+_0x36235f;},'poHxn':'GET','dqAUv':function(_0x28ef0c,_0x14a437){return _0x28ef0c(_0x14a437);},'qXTev':function(_0x4ea351,_0x67ffb4,_0x5577c6){return _0x4ea351(_0x67ffb4,_0x5577c6);},'iuWrX':_0x283d24(0x1ec),'hllOk':function(_0x9ed17a,_0x4627ba){return _0x9ed17a+_0x4627ba;},'HTbzw':function(_0x280456){return _0x280456();},'FbpvC':function(_0x1e99b3,_0x366d58){return _0x1e99b3||_0x366d58;},'VCXMb':function(_0x3ae189,_0x2f868c,_0x5cb193,_0x5cd727,_0x3c95b1,_0x220cc3){return _0x3ae189(_0x2f868c,_0x5cb193,_0x5cd727,_0x3c95b1,_0x220cc3);},'GiUyK':function(_0x4dbafc,_0x1259c7){return _0x4dbafc===_0x1259c7;},'BBlJF':function(_0x2b6223,_0x2c26c4,_0x15fde7){return _0x2b6223(_0x2c26c4,_0x15fde7);},'vWKzS':_0x283d24(0x1f0),'lpnBB':function(_0x4eed9b,_0x4688bb){return _0x4eed9b+_0x4688bb;},'jJUOS':function(_0x880268,_0x219c35){return _0x880268+_0x219c35;},'aEpdv':function(_0x5dfbe4,_0x253679){return _0x5dfbe4+_0x253679;},'rRFnB':function(_0x28465f,_0x31e24c){return _0x28465f+_0x31e24c;},'OkqJU':function(_0x6e3be8,_0x158d4a){return _0x6e3be8+_0x158d4a;},'EjrdW':function(_0x39dfbe,_0x3a1207){return _0x39dfbe+_0x3a1207;},'CGcmf':_0x283d24(0x1fd),'wlVqH':_0x283d24(0x282),'oYXFn':_0x283d24(0x1b2),'uAFUp':function(_0x5738ad,_0x52d724){return _0x5738ad-_0x52d724;},'EkeIl':function(_0xdbf93c,_0x567195){return _0xdbf93c(_0x567195);},'DlkAy':function(_0x31670b,_0x1cbba7){return _0x31670b(_0x1cbba7);},'cXAPu':function(_0x57f321,_0x717b87){return _0x57f321&&_0x717b87;},'PBSsk':function(_0x2106a0,_0x16556b){return _0x2106a0>_0x16556b;},'rfYlW':function(_0x234df9,_0x2a9c1d){return _0x234df9-_0x2a9c1d;},'MSypN':function(_0x3f1625,_0x102dd6,_0x1d619f){return _0x3f1625(_0x102dd6,_0x1d619f);},'HJcAu':_0x283d24(0x1af),'EgxXb':_0x283d24(0x23c),'LDNnK':function(_0x141344,_0x310176){return _0x141344(_0x310176);},'DKHjU':'[Newman\x20Reporter]\x20Error\x20in\x20exception:\x20','cAiys':function(_0x5e80c8,_0x595ba0){return _0x5e80c8-_0x595ba0;},'mQCua':_0x283d24(0x1c7),'zpjQB':_0x283d24(0x1df),'PDFLj':_0x283d24(0x1d9),'cYLML':function(_0x5927b6,_0x1d3686){return _0x5927b6(_0x1d3686);},'bpLBr':_0x283d24(0x1b3),'KAuze':_0x283d24(0x273),'fXgIw':_0x283d24(0x205),'lpRHt':function(_0x2dd4e8,_0x83d437){return _0x2dd4e8===_0x83d437;},'YqIIH':_0x283d24(0x252),'IRNLi':_0x283d24(0x200),'HHwCe':'UnhandledError','sdMeC':function(_0x2bd182,_0x3cf9ef,_0x3514c6){return _0x2bd182(_0x3cf9ef,_0x3514c6);},'ViBYJ':function(_0x41f08e,_0x351b37){return _0x41f08e-_0x351b37;},'ToTAE':function(_0x2bd2be,_0x5e4a71){return _0x2bd2be>_0x5e4a71;},'PcDZO':function(_0x4edff3,_0x54f3cd){return _0x4edff3!=_0x54f3cd;},'nrGfg':function(_0xe42b88,_0x22d96a){return _0xe42b88>=_0x22d96a;},'MrnJl':function(_0x57df44,_0x5e1785){return _0x57df44<_0x5e1785;},'bnQIa':_0x283d24(0x20f),'MKvmK':function(_0x3f7a7a,_0x3bda12){return _0x3f7a7a!=_0x3bda12;},'gzRJm':_0x283d24(0x217),'OqEgg':function(_0x557614,_0x53431a,_0xcb483a,_0x41bbf9,_0x11f17a,_0x3e7707){return _0x557614(_0x53431a,_0xcb483a,_0x41bbf9,_0x11f17a,_0x3e7707);},'TNxhV':function(_0x417cc1,_0x4b9dee){return _0x417cc1+_0x4b9dee;},'jbIBg':function(_0x386c6a,_0x263b08){return _0x386c6a+_0x263b08;},'EjFii':function(_0x2c151c,_0x378c43){return _0x2c151c+_0x378c43;},'rPwnw':function(_0xd885f,_0x3bff5d){return _0xd885f+_0x3bff5d;},'bcVwt':function(_0x4dd19b,_0x12bfc3,_0x15acdb){return _0x4dd19b(_0x12bfc3,_0x15acdb);},'lAyUk':_0x283d24(0x1f5),'MueTC':_0x283d24(0x26f),'DGcRC':function(_0x2cb5d7,_0x2f7ab3,_0x2da1a6,_0x5d3134,_0x2bbf35,_0x8881aa){return _0x2cb5d7(_0x2f7ab3,_0x2da1a6,_0x5d3134,_0x2bbf35,_0x8881aa);},'Jthcg':function(_0x38aab9,_0x490da9){return _0x38aab9(_0x490da9);},'GAhpP':_0x283d24(0x297),'HVrZB':_0x283d24(0x26b),'YTKFs':_0x283d24(0x25e),'cbYSp':'request','bDLJp':_0x283d24(0x1ae),'ZfMDh':'console','msOBM':_0x283d24(0x1cb),'EVjCA':_0x283d24(0x22f),'oAkRn':'item'},_0x618944=new Map();let _0x3d1265=null,_0x5813bd=0x0;const _0x30d605=_0x430dde['bcVwt'](resolveCollectionFile,_0x1d5599,_0x2ae696),_0x245cff=_0x430dde[_0x283d24(0x1bb)](resolveCollectionName,_0x1d5599)||_0x30d605,_0x20da14=path[_0x283d24(0x26c)](_0x30d605),_0x477c84=_0x283d24(0x288)+process[_0x283d24(0x1e8)],_0x597061=_0x4a74a9=>{const _0x5f1a1a=_0x283d24;try{_0x3d1265&&_0x430dde['miGhj'](emitLog,_0x3d1265,_0x4a74a9);}catch(_0x550b70){_0x430dde[_0x5f1a1a(0x1bb)](debug,_0x5f1a1a(0x260)+_0x550b70);}};process['on'](_0x477c84,_0x597061),_0xd39663['on'](_0x430dde[_0x283d24(0x233)],()=>{const _0x303dca=_0x283d24;process[_0x303dca(0x29e)](_0x477c84,_0x597061),_0x618944[_0x303dca(0x291)]();}),_0xd39663['on'](_0x430dde[_0x283d24(0x221)],(_0x22003e,_0x5b6396)=>{const _0xda7e18=_0x283d24;_0x5b6396&&_0x5b6396[_0xda7e18(0x280)]&&(_0x5813bd=_0x5b6396['cursor']['iteration']||0x0);}),_0xd39663['on'](_0x430dde[_0x283d24(0x1b5)],(_0x15390f,_0x18b1de)=>{const _0x32f74d=_0x283d24;try{_0x3d1265=null;const _0x517b11=_0x18b1de[_0x32f74d(0x265)],_0x453aa7=_0x517b11[_0x32f74d(0x29d)]()?_0x430dde[_0x32f74d(0x21d)](getParentTitles,_0x517b11[_0x32f74d(0x29d)]()):[],_0x5d0d26=_0x430dde['dymqL'](_0x453aa7['length'],0x1)?_0x453aa7[_0x32f74d(0x28a)](0x1):_0x453aa7,_0x3a0672=_0x18b1de['cursor']&&_0x18b1de[_0x32f74d(0x280)]['ref'],_0x2fe2e2={'itemName':_0x517b11[_0x32f74d(0x1ac)],'scopes':_0x5d0d26[_0x32f74d(0x29a)]([_0x517b11[_0x32f74d(0x1ac)]]),'location':_0x30d605,'collectionName':_0x245cff,'startedAt':new Date()[_0x32f74d(0x1de)](),'startTimestamp':Date[_0x32f74d(0x1b8)](),'lastResponseCode':null,'httpLog':null,'assertions':[],'bufferedLogs':[]};_0x618944[_0x32f74d(0x1bd)](_0x517b11['id']+'_'+_0x5813bd,_0x2fe2e2),_0x3a0672&&_0x618944[_0x32f74d(0x1bd)](_0x3a0672+'_'+_0x5813bd,_0x2fe2e2);}catch(_0xb643fa){_0x430dde[_0x32f74d(0x1fb)](debug,'[Newman\x20Reporter]\x20Error\x20in\x20beforeItem:\x20'+_0xb643fa);}}),_0xd39663['on'](_0x430dde['cbYSp'],(_0x145f33,_0x82cfd0)=>{const _0x1902d0=_0x283d24;try{if(!_0x82cfd0||!_0x82cfd0[_0x1902d0(0x265)])return;const _0x46bd3d=_0x618944['get'](_0x82cfd0[_0x1902d0(0x265)]['id']+'_'+_0x5813bd);if(!_0x46bd3d)return;_0x82cfd0[_0x1902d0(0x211)]&&(_0x46bd3d[_0x1902d0(0x250)]=_0x82cfd0[_0x1902d0(0x211)][_0x1902d0(0x1b0)]||null);if(!_0x82cfd0[_0x1902d0(0x1d6)])return;let _0x1ddc93='',_0x4a8a45='';if(_0x82cfd0[_0x1902d0(0x1d6)][_0x1902d0(0x2a1)])try{const _0x205c35=_0x82cfd0[_0x1902d0(0x1d6)]['url']['toString'](),_0xfb177d=new URL(_0x205c35[_0x1902d0(0x25b)](_0x430dde['KCwJL'])?_0x205c35:'http://'+_0x205c35);_0x1ddc93=_0xfb177d[_0x1902d0(0x240)],_0x4a8a45=_0x430dde[_0x1902d0(0x239)](_0xfb177d[_0x1902d0(0x27a)],_0xfb177d[_0x1902d0(0x24b)]);}catch(_0x5c6912){_0x4a8a45=_0x82cfd0[_0x1902d0(0x1d6)]['url'][_0x1902d0(0x1ab)]();}const _0x4d8644={};_0x4d8644['host']=_0x1ddc93,_0x4d8644[_0x1902d0(0x206)]=_0x4a8a45,_0x4d8644[_0x1902d0(0x203)]=_0x82cfd0[_0x1902d0(0x1d6)][_0x1902d0(0x203)]||_0x430dde[_0x1902d0(0x1dd)],_0x4d8644[_0x1902d0(0x1c9)]={},_0x4d8644[_0x1902d0(0x272)]=_0x82cfd0['response']?_0x82cfd0[_0x1902d0(0x211)][_0x1902d0(0x1b0)]||0x0:0x0,_0x4d8644[_0x1902d0(0x25c)]=_0x82cfd0[_0x1902d0(0x211)]?_0x82cfd0['response'][_0x1902d0(0x289)]||0x0:0x0,_0x46bd3d[_0x1902d0(0x23e)]=_0x4d8644;}catch(_0x59d19e){_0x430dde['dqAUv'](debug,_0x1902d0(0x287)+_0x59d19e);}}),_0xd39663['on'](_0x430dde[_0x283d24(0x1d7)],(_0x8b0c04,_0x30f7dc)=>{const _0x1f4a9c=_0x283d24;try{if(!_0x30f7dc||!_0x30f7dc['item'])return;const _0x284d88=_0x618944['get'](_0x30f7dc[_0x1f4a9c(0x265)]['id']+'_'+_0x5813bd);if(!_0x284d88)return;const _0x1e770f=_0x30f7dc[_0x1f4a9c(0x1ae)]||_0x1f4a9c(0x20d)+_0x430dde[_0x1f4a9c(0x23a)](_0x284d88['assertions'][_0x1f4a9c(0x274)],0x1),_0x452dfc=_0x430dde[_0x1f4a9c(0x244)](uuidv4),_0x2fc5be=_0x284d88['scopes'][_0x1f4a9c(0x29a)]([_0x1e770f])['join']('\x20');_0x284d88[_0x1f4a9c(0x256)][_0x1f4a9c(0x259)]({'uuid':_0x452dfc,'name':_0x1e770f,'identifier':_0x2fc5be,'err':_0x430dde[_0x1f4a9c(0x1f1)](_0x8b0c04,null)});const _0x707310={};_0x707310['uuid']=_0x452dfc,_0x707310[_0x1f4a9c(0x1ac)]=_0x1e770f,_0x707310['identifier']=_0x2fc5be,_0x430dde[_0x1f4a9c(0x1fe)](emitTest,HookState[_0x1f4a9c(0x231)],_0x707310,_0x284d88,_0x20da14,{});_0x430dde['GiUyK'](_0x284d88['assertions'][_0x1f4a9c(0x274)],0x1)&&_0x430dde[_0x1f4a9c(0x21f)](_0x284d88[_0x1f4a9c(0x213)][_0x1f4a9c(0x274)],0x0)&&(_0x284d88[_0x1f4a9c(0x213)][_0x1f4a9c(0x23f)](_0x3e8150=>{const _0x3145c5=_0x1f4a9c;_0x430dde[_0x3145c5(0x261)](emitLog,_0x452dfc,{'kind':_0x430dde[_0x3145c5(0x27b)],'message':_0x3e8150[_0x3145c5(0x1be)],'level':_0x3e8150[_0x3145c5(0x237)]});}),_0x284d88[_0x1f4a9c(0x213)]=[]);if(_0x284d88[_0x1f4a9c(0x23e)]){_0x430dde[_0x1f4a9c(0x29b)](emitLog,_0x452dfc,{'kind':_0x430dde[_0x1f4a9c(0x292)],'http_response':_0x284d88[_0x1f4a9c(0x23e)]});const _0x44fb2c=_0x430dde[_0x1f4a9c(0x299)](_0x430dde[_0x1f4a9c(0x299)](_0x430dde[_0x1f4a9c(0x1a8)](_0x430dde[_0x1f4a9c(0x299)](_0x430dde[_0x1f4a9c(0x225)](_0x430dde['rRFnB'](_0x430dde[_0x1f4a9c(0x253)](_0x430dde['EjrdW'](_0x284d88[_0x1f4a9c(0x23e)][_0x1f4a9c(0x203)]||_0x430dde[_0x1f4a9c(0x1dd)],'\x20'),_0x284d88[_0x1f4a9c(0x23e)][_0x1f4a9c(0x1c6)]),_0x284d88[_0x1f4a9c(0x23e)]['path']),_0x430dde[_0x1f4a9c(0x1d0)]),_0x284d88[_0x1f4a9c(0x23e)][_0x1f4a9c(0x272)]),'\x20('),_0x284d88['httpLog'][_0x1f4a9c(0x25c)]),_0x430dde['wlVqH']);_0x430dde[_0x1f4a9c(0x261)](emitLog,_0x452dfc,{'kind':_0x430dde[_0x1f4a9c(0x27b)],'message':_0x44fb2c,'level':_0x430dde[_0x1f4a9c(0x216)]});}_0x3d1265=_0x452dfc;}catch(_0x3bb25f){_0x430dde['dqAUv'](debug,'[Newman\x20Reporter]\x20Error\x20in\x20assertion:\x20'+_0x3bb25f);}}),_0xd39663['on'](_0x430dde[_0x283d24(0x1c2)],(_0x7644be,_0x4c4917)=>{const _0x10441a=_0x283d24;try{if(!_0x4c4917)return;let _0xa4cd5b=_0x3d1265;if(!_0xa4cd5b&&_0x4c4917[_0x10441a(0x280)]&&_0x4c4917[_0x10441a(0x280)]['ref']){const _0x1d766c=_0x618944[_0x10441a(0x1eb)](_0x4c4917['cursor'][_0x10441a(0x1d8)]+'_'+_0x5813bd);_0x1d766c&&_0x430dde['dymqL'](_0x1d766c[_0x10441a(0x256)][_0x10441a(0x274)],0x0)&&(_0xa4cd5b=_0x1d766c[_0x10441a(0x256)][_0x430dde[_0x10441a(0x21b)](_0x1d766c['assertions']['length'],0x1)][_0x10441a(0x262)]);}const _0x49fb83=_0x4c4917[_0x10441a(0x229)]?_0x4c4917[_0x10441a(0x229)][_0x10441a(0x266)](',\x20'):'';if(_0xa4cd5b)_0x430dde[_0x10441a(0x29b)](emitLog,_0xa4cd5b,{'kind':_0x430dde['iuWrX'],'message':_0x49fb83,'level':_0x430dde[_0x10441a(0x22d)](normalizeLogLevel,_0x4c4917[_0x10441a(0x237)])});else{if(_0x4c4917[_0x10441a(0x280)]&&_0x4c4917[_0x10441a(0x280)][_0x10441a(0x1d8)]){const _0x3e785b=_0x618944[_0x10441a(0x1eb)](_0x4c4917[_0x10441a(0x280)][_0x10441a(0x1d8)]+'_'+_0x5813bd);_0x3e785b&&_0x3e785b['bufferedLogs']['push']({'timestamp':new Date()[_0x10441a(0x1de)](),'level':_0x430dde[_0x10441a(0x1bb)](normalizeLogLevel,_0x4c4917[_0x10441a(0x237)]),'message':_0x49fb83});}}}catch(_0x25dac6){_0x430dde[_0x10441a(0x1bb)](debug,_0x10441a(0x294)+_0x25dac6);}}),_0xd39663['on'](_0x430dde[_0x283d24(0x1ba)],(_0x4d8e91,_0x245f2b)=>{const _0x44ce40=_0x283d24;try{if(!_0x4d8e91&&(!_0x245f2b||!_0x245f2b['error']))return;const _0x1c5d5c=_0x4d8e91||_0x245f2b['error'],_0x4c7ed5=_0x1c5d5c[_0x44ce40(0x1be)]||_0x430dde['DlkAy'](String,_0x1c5d5c),_0x33d6b2=_0x1c5d5c[_0x44ce40(0x26a)]||_0x4c7ed5;let _0x243e25=_0x3d1265;if(_0x430dde['cXAPu'](!_0x243e25,_0x245f2b)&&_0x245f2b['cursor']&&_0x245f2b[_0x44ce40(0x280)][_0x44ce40(0x1d8)]){const _0x25b490=_0x618944[_0x44ce40(0x1eb)](_0x245f2b[_0x44ce40(0x280)][_0x44ce40(0x1d8)]+'_'+_0x5813bd);_0x25b490&&_0x430dde[_0x44ce40(0x219)](_0x25b490[_0x44ce40(0x256)]['length'],0x0)&&(_0x243e25=_0x25b490[_0x44ce40(0x256)][_0x430dde[_0x44ce40(0x1e9)](_0x25b490[_0x44ce40(0x256)][_0x44ce40(0x274)],0x1)][_0x44ce40(0x262)]);}_0x243e25&&_0x430dde[_0x44ce40(0x1c4)](emitLog,_0x243e25,{'kind':_0x430dde[_0x44ce40(0x27b)],'message':_0x430dde[_0x44ce40(0x239)](_0x430dde[_0x44ce40(0x249)],_0x33d6b2),'level':_0x430dde[_0x44ce40(0x268)]});}catch(_0x99947f){_0x430dde[_0x44ce40(0x215)](debug,_0x430dde[_0x44ce40(0x281)](_0x430dde['DKHjU'],_0x99947f));}}),_0xd39663['on'](_0x430dde[_0x283d24(0x243)],(_0x5d84b5,_0x31d81b)=>{const _0x2b26e4=_0x283d24;try{if(!_0x31d81b||!_0x31d81b[_0x2b26e4(0x267)])return;let _0x47dab6=_0x3d1265;if(!_0x47dab6&&_0x31d81b['cursor']&&_0x31d81b[_0x2b26e4(0x280)][_0x2b26e4(0x1d8)]){const _0x3e3e33=_0x618944['get'](_0x31d81b[_0x2b26e4(0x280)][_0x2b26e4(0x1d8)]+'_'+_0x5813bd);_0x3e3e33&&_0x430dde[_0x2b26e4(0x219)](_0x3e3e33[_0x2b26e4(0x256)][_0x2b26e4(0x274)],0x0)&&(_0x47dab6=_0x3e3e33[_0x2b26e4(0x256)][_0x430dde[_0x2b26e4(0x1b1)](_0x3e3e33[_0x2b26e4(0x256)]['length'],0x1)][_0x2b26e4(0x262)]);}if(!_0x47dab6)return;const _0x3fe146=_0x31d81b[_0x2b26e4(0x21a)]&&_0x31d81b[_0x2b26e4(0x21a)][_0x2b26e4(0x21e)]||_0x430dde[_0x2b26e4(0x230)];_0x5d84b5&&_0x430dde[_0x2b26e4(0x261)](emitLog,_0x47dab6,{'kind':_0x430dde['iuWrX'],'message':_0x430dde[_0x2b26e4(0x23a)](_0x430dde[_0x2b26e4(0x258)](_0x430dde[_0x2b26e4(0x253)](_0x430dde[_0x2b26e4(0x269)],_0x3fe146),_0x430dde[_0x2b26e4(0x1ce)]),_0x5d84b5['message']||_0x5d84b5),'level':_0x430dde[_0x2b26e4(0x268)]});}catch(_0x342f6f){_0x430dde['cYLML'](debug,_0x430dde[_0x2b26e4(0x258)](_0x430dde[_0x2b26e4(0x28f)],_0x342f6f));}}),_0xd39663['on'](_0x430dde[_0x283d24(0x283)],(_0x55a7de,_0x5176fb)=>{const _0x4bd785=_0x283d24,_0x4dd08f={'CQLHh':_0x430dde[_0x4bd785(0x298)],'GCEyP':_0x430dde[_0x4bd785(0x1f2)],'uLXhF':function(_0x17b4ee,_0x523dde){const _0x1a8981=_0x4bd785;return _0x430dde[_0x1a8981(0x28e)](_0x17b4ee,_0x523dde);},'QKAiu':_0x430dde['YqIIH'],'NuKHG':_0x430dde[_0x4bd785(0x22b)],'uwfDZ':_0x430dde[_0x4bd785(0x1ff)],'gGCKv':function(_0xf5e35d,_0x3ee95e,_0x56a5ed,_0x32dd90,_0x5cc119,_0x3619ef){const _0x4376c2=_0x4bd785;return _0x430dde[_0x4376c2(0x1fe)](_0xf5e35d,_0x3ee95e,_0x56a5ed,_0x32dd90,_0x5cc119,_0x3619ef);},'DusrL':function(_0x233c2c,_0x379ce0,_0x2b0394){const _0x1c9360=_0x4bd785;return _0x430dde[_0x1c9360(0x1e2)](_0x233c2c,_0x379ce0,_0x2b0394);},'nuOsx':_0x430dde[_0x4bd785(0x27b)]};try{if(!_0x5176fb||!_0x5176fb[_0x4bd785(0x265)])return;const _0x2e4516=_0x5176fb['item']['id']+'_'+_0x5813bd,_0x26a9d3=_0x618944[_0x4bd785(0x1eb)](_0x2e4516);if(!_0x26a9d3)return;const _0x140164=new Date(),_0x462aee=_0x430dde[_0x4bd785(0x208)](_0x140164[_0x4bd785(0x1c8)](),_0x26a9d3[_0x4bd785(0x246)]);if(_0x430dde['ToTAE'](_0x26a9d3['assertions'][_0x4bd785(0x274)],0x0))_0x26a9d3[_0x4bd785(0x256)][_0x4bd785(0x23f)](_0x5158f1=>{const _0x50fae4=_0x4bd785,_0x5142fe=!!_0x5158f1[_0x50fae4(0x222)],_0x42d190={'finishedAt':_0x140164[_0x50fae4(0x1de)](),'durationMs':_0x462aee,'result':_0x5142fe?_0x4dd08f[_0x50fae4(0x24d)]:_0x4dd08f[_0x50fae4(0x254)]};_0x5142fe&&(_0x42d190[_0x50fae4(0x1c0)]=_0x5158f1['err']['message']||'',_0x42d190[_0x50fae4(0x27c)]=_0x4dd08f[_0x50fae4(0x23b)](_0x5158f1['err'][_0x50fae4(0x1ac)],_0x4dd08f[_0x50fae4(0x1c5)])||_0x5158f1[_0x50fae4(0x222)][_0x50fae4(0x1be)]&&_0x5158f1['err'][_0x50fae4(0x1be)][_0x50fae4(0x1fa)](_0x4dd08f[_0x50fae4(0x25d)])?_0x4dd08f[_0x50fae4(0x1c5)]:_0x4dd08f[_0x50fae4(0x275)],_0x42d190[_0x50fae4(0x247)]=[{'backtrace':_0x5158f1[_0x50fae4(0x222)][_0x50fae4(0x26a)]?_0x5158f1[_0x50fae4(0x222)][_0x50fae4(0x26a)][_0x50fae4(0x201)]('\x0a'):[_0x5158f1['err'][_0x50fae4(0x1be)]||''],'expanded':[]}]),_0x4dd08f[_0x50fae4(0x1f9)](emitTest,HookState['POST'],_0x5158f1,_0x26a9d3,_0x20da14,_0x42d190);});else{const _0x3ff568=_0x430dde[_0x4bd785(0x244)](uuidv4),_0x1705bd=_0x26a9d3[_0x4bd785(0x250)],_0x1ec845=_0x430dde[_0x4bd785(0x263)](_0x1705bd,null)&&_0x430dde[_0x4bd785(0x1c3)](_0x1705bd,0xc8)&&_0x430dde[_0x4bd785(0x223)](_0x1705bd,0x190),_0x4f7888=_0x26a9d3['itemName']+'\x20(HTTP\x20'+_0x430dde[_0x4bd785(0x1f1)](_0x1705bd,_0x430dde['bnQIa'])+')',_0x4c4739={'uuid':_0x3ff568,'name':_0x4f7888,'identifier':_0x26a9d3['scopes'][_0x4bd785(0x29a)]([_0x4f7888])[_0x4bd785(0x266)]('\x20')},_0x2fb1a5={'finishedAt':_0x140164['toISOString'](),'durationMs':_0x462aee,'result':_0x1ec845?_0x430dde[_0x4bd785(0x1f2)]:_0x430dde[_0x4bd785(0x298)]};!_0x1ec845&&(_0x2fb1a5['failureReason']=_0x430dde[_0x4bd785(0x1f4)](_0x1705bd,null)?'HTTP\x20'+_0x1705bd+_0x4bd785(0x293):_0x430dde[_0x4bd785(0x1fc)],_0x2fb1a5[_0x4bd785(0x27c)]=_0x430dde[_0x4bd785(0x1ff)],_0x2fb1a5[_0x4bd785(0x247)]=[{'backtrace':[_0x2fb1a5[_0x4bd785(0x1c0)]],'expanded':[]}]);_0x430dde[_0x4bd785(0x1e5)](emitTest,HookState[_0x4bd785(0x231)],_0x4c4739,_0x26a9d3,_0x20da14,{}),_0x26a9d3[_0x4bd785(0x213)][_0x4bd785(0x23f)](_0x159537=>{const _0x1678d3=_0x4bd785;_0x4dd08f[_0x1678d3(0x218)](emitLog,_0x3ff568,{'kind':_0x4dd08f[_0x1678d3(0x296)],'message':_0x159537[_0x1678d3(0x1be)],'level':_0x159537[_0x1678d3(0x237)]});});if(_0x26a9d3[_0x4bd785(0x23e)]){_0x430dde['qXTev'](emitLog,_0x3ff568,{'kind':_0x430dde[_0x4bd785(0x292)],'http_response':_0x26a9d3[_0x4bd785(0x23e)]});const _0x2a8cd3=_0x430dde[_0x4bd785(0x212)](_0x430dde['OkqJU'](_0x430dde['jbIBg'](_0x430dde['EjFii'](_0x430dde[_0x4bd785(0x23a)](_0x430dde['hllOk'](_0x430dde[_0x4bd785(0x1ea)](_0x430dde[_0x4bd785(0x295)](_0x26a9d3[_0x4bd785(0x23e)][_0x4bd785(0x203)]||_0x430dde[_0x4bd785(0x1dd)],'\x20'),_0x26a9d3[_0x4bd785(0x23e)][_0x4bd785(0x1c6)]),_0x26a9d3[_0x4bd785(0x23e)][_0x4bd785(0x206)]),_0x430dde[_0x4bd785(0x1d0)]),_0x26a9d3[_0x4bd785(0x23e)][_0x4bd785(0x272)]),'\x20('),_0x26a9d3['httpLog'][_0x4bd785(0x25c)]),_0x430dde[_0x4bd785(0x1b7)]);_0x430dde[_0x4bd785(0x20b)](emitLog,_0x3ff568,{'kind':_0x430dde['iuWrX'],'message':_0x2a8cd3,'level':_0x430dde[_0x4bd785(0x216)]});}else _0x430dde['sdMeC'](emitLog,_0x3ff568,{'kind':_0x430dde[_0x4bd785(0x27b)],'message':_0x430dde[_0x4bd785(0x257)](_0x430dde[_0x4bd785(0x225)](_0x430dde[_0x4bd785(0x220)],_0x430dde[_0x4bd785(0x1f1)](_0x1705bd,_0x430dde['bnQIa'])),_0x430dde[_0x4bd785(0x29c)]),'level':_0x430dde[_0x4bd785(0x216)]});_0x430dde[_0x4bd785(0x1e3)](emitTest,HookState[_0x4bd785(0x1d1)],_0x4c4739,_0x26a9d3,_0x20da14,_0x2fb1a5);}_0x618944[_0x4bd785(0x242)](_0x2e4516),_0x5176fb[_0x4bd785(0x280)]&&_0x5176fb[_0x4bd785(0x280)]['ref']&&_0x618944['delete'](_0x5176fb['cursor'][_0x4bd785(0x1d8)]+'_'+_0x5813bd);}catch(_0x25c373){_0x430dde['Jthcg'](debug,'[Newman\x20Reporter]\x20Error\x20in\x20item:\x20'+_0x25c373);}});}module[a44_0x5a4256(0x1ed)]=BrowserStackNewmanReporter;
1
+ 'use strict';const a44_0x28ce0d=a44_0x55b4;(function(_0x4d466d,_0x52fad9){const _0x5c640a=a44_0x55b4,_0x963bc4=_0x4d466d();while(!![]){try{const _0x35f077=parseInt(_0x5c640a(0x265))/0x1+-parseInt(_0x5c640a(0x286))/0x2+parseInt(_0x5c640a(0x290))/0x3+parseInt(_0x5c640a(0x238))/0x4*(-parseInt(_0x5c640a(0x23b))/0x5)+parseInt(_0x5c640a(0x1e3))/0x6+-parseInt(_0x5c640a(0x1c5))/0x7*(parseInt(_0x5c640a(0x20f))/0x8)+parseInt(_0x5c640a(0x1f7))/0x9;if(_0x35f077===_0x52fad9)break;else _0x963bc4['push'](_0x963bc4['shift']());}catch(_0x43e471){_0x963bc4['push'](_0x963bc4['shift']());}}}(a44_0x1e92,0x2b504));const path=require(a44_0x28ce0d(0x293)),{v4:uuidv4}=require(a44_0x28ce0d(0x223)),SessionHandler=require(a44_0x28ce0d(0x1ab)),{debug}=require('../../../helpers/test-observability/utils'),logger=require(a44_0x28ce0d(0x23a))[a44_0x28ce0d(0x270)],BrowserstackCLI=require(a44_0x28ce0d(0x1d3)),GrpcClient=require(a44_0x28ce0d(0x279)),TestFrameworkState=require(a44_0x28ce0d(0x1e8)),HookState=require(a44_0x28ce0d(0x1ea)),LOG_LEVELS=[a44_0x28ce0d(0x23d),a44_0x28ce0d(0x294),a44_0x28ce0d(0x231),a44_0x28ce0d(0x1f0),'TRACE'];function isCLIRunning(){const _0x5ee2be=a44_0x28ce0d;try{return BrowserstackCLI[_0x5ee2be(0x1ad)]()[_0x5ee2be(0x210)]();}catch(_0x8afdda){return![];}}function a44_0x1e92(){const _0x41ecaf=['RkZIa','ogBPN','CCWZy','WOYDt','err','FBYlS','push','message','duiEq','XHLYe','failureReason','FuGXt','timestamp','dshmW','WdzXi','[Newman\x20Reporter]\x20Could\x20not\x20resolve\x20collection\x20file\x20path,\x20falling\x20back\x20to\x20collection.json','[Newman\x20Reporter]\x20Error\x20in\x20exception:\x20','newman','HvCGY','18792GFoegG','isRunning','GbPib','itemName','cursor','sZNdz','failure','HKUbY','hubLc','UnhandledError','jmuuA','TestRunFinished','QQBtd','[Newman\x20Reporter]\x20emitLog\x20error:\x20','YMKbU','No\x20HTTP\x20response\x20received','level','HMTqP','zMteo','length','uuid','method','concat','TYtOE','forEach','collectionName','httpLog','viTtZ','miIxz','getTestFramework','assertion','uuobn','TpqjL','PRpux','ERROR','AssertionError','ITbeT','status_code','bs:addLog:','collectionPath','cPzAu','228428THMNew','[Newman\x20Reporter]\x20Error\x20in\x20request:\x20','../../../helpers/logger','10PmJJIn','mUdpA','INFO','qaeuU','IOguV','result','relative','failureType','kind','WnoTJ','pdbmR','TEST','indexOf','resolve','SNhQc','VstWV','http','OWVYW','Hirmv','aesDR','vzYeM','url','removeListener','toString','ms)','beforeItem','SYwAE','BoQpe','listen','startsWith','BtLOF','failure_reason_expanded','KwsOD','BtcHQ','lmHPh','lDdWx','get','cwd','iKNQW','yLkJa','collection','UztUI','51869uTOWDB','includes','txIxO','UjhYK','item','RYHWT','finishedAt','riXFH','search','uploadEventData','TestRunStarted','winstonLogger','execution','argv','\x20—\x20response\x20status\x20in\x20failure\x20range','startedAt','zBNoj','testFrameworkState','now','beforeIteration','../../v2/grpcClient','EJhWS','event_type','collection.json','http://','bufferedLogs','HshWw','messages','BYULD','testFrameworkName','mdMyk','pathname','set','219810yGaiGH','oVkup','hostname','scopes','[Newman\x20Reporter]\x20emitTest\x20error:\x20','host','logCreatedEvent','N/A','toUpperCase','AOkUB','71916wxFUsp','GET','MBzDh','path','WARN','stack','PvMSU','oudem','WLgtJ','event','HTTP','../../../helpers/test-observability/sessionHandler','PRE','getInstance','byxGS','fOAkp','kIOua','expanded','object','Script\x20error\x20(','TEST_LOG','ref','[Newman\x20Reporter]\x20Error\x20in\x20console:\x20','BdiCI','assertions','sjNcY','parent','cnaXR','failed','join','LCoMO','request','bijsU','HTTP\x20','duration_ms','dYeVL','headers','427lYZSbn','ssuLU','response','backtrace','WsGQp','[Newman\x20Reporter]\x20Error\x20in\x20bs:addLog\x20handler:\x20','slice','PfnxI','YcQLs','http_response','rDRFP','MhNmr','SoFwH','tHFUt','../../v2/browserstackCLI','[Newman\x20Reporter]\x20Error\x20in\x20beforeItem:\x20','GFkYL','toISOString','):\x20','xRRld','code','cldfn','test_run','testFrameworkVersion','\x20->\x20','delete','BviAx','console','eLDzC','failure_backtrace','207576iPktQR','passed','WBiBq','\x20(HTTP\x20','lastResponseCode','../../v2/state/testFrameworkState','identifier','../../v2/state/hookState','vnhTY','\x20(no\x20assertions)','OHnCe','[Newman\x20Reporter]\x20Error\x20in\x20script:\x20','rICsG','DEBUG','info','name','erTpF','apply','split','bOSpF','3909447MBhYpw','ikckb','mWIlB','EwTDE','iebdZ'];a44_0x1e92=function(){return _0x41ecaf;};return a44_0x1e92();}function getParentTitles(_0x4982ea){const _0x2ae311=a44_0x28ce0d,_0x182e40={'vnhTY':function(_0x2424ba,_0x1ee997){return _0x2424ba(_0x1ee997);}},_0x574c60=[],_0x4277ac=_0x4982ea[_0x2ae311(0x1ba)]();return _0x4277ac&&_0x574c60[_0x2ae311(0x202)][_0x2ae311(0x1f4)](_0x574c60,_0x182e40[_0x2ae311(0x1eb)](getParentTitles,_0x4277ac)),_0x4982ea[_0x2ae311(0x1f2)]&&_0x574c60[_0x2ae311(0x202)](_0x182e40[_0x2ae311(0x1eb)](String,_0x4982ea[_0x2ae311(0x1f2)])),_0x574c60;}function normalizeLogLevel(_0x16b257){const _0x19fb8d=a44_0x28ce0d,_0x2d9f8d={};_0x2d9f8d['WBiBq']='INFO',_0x2d9f8d[_0x19fb8d(0x292)]=function(_0x364f30,_0x2bd8ce){return _0x364f30!==_0x2bd8ce;};const _0x3d5ebf=_0x2d9f8d;if(!_0x16b257)return _0x3d5ebf[_0x19fb8d(0x1e5)];const _0x151562=_0x16b257[_0x19fb8d(0x28e)]();return _0x3d5ebf['MBzDh'](LOG_LEVELS['indexOf'](_0x151562),-0x1)?_0x151562:_0x3d5ebf[_0x19fb8d(0x1e5)];}function resolveCollectionFile(_0x5841de,_0x21ccbd){const _0x376e10=a44_0x28ce0d,_0x4431b6={};_0x4431b6[_0x376e10(0x275)]=function(_0x318d0e,_0x34eddd){return _0x318d0e===_0x34eddd;},_0x4431b6[_0x376e10(0x1af)]='string',_0x4431b6[_0x376e10(0x226)]='run',_0x4431b6[_0x376e10(0x233)]=function(_0xc0d291,_0x2b6748){return _0xc0d291!==_0x2b6748;},_0x4431b6[_0x376e10(0x24d)]=function(_0x2cc4c1,_0x22a0ea){return _0x2cc4c1<_0x22a0ea;},_0x4431b6[_0x376e10(0x22b)]=function(_0x49dd95,_0x420937){return _0x49dd95+_0x420937;},_0x4431b6[_0x376e10(0x1f9)]=function(_0x117507,_0x29c6d1){return _0x117507+_0x29c6d1;},_0x4431b6[_0x376e10(0x205)]=_0x376e10(0x20b),_0x4431b6[_0x376e10(0x20e)]=_0x376e10(0x27c);const _0x330643=_0x4431b6;try{if(_0x21ccbd&&_0x21ccbd[_0x376e10(0x236)])return path[_0x376e10(0x241)](process[_0x376e10(0x260)](),path['resolve'](_0x21ccbd[_0x376e10(0x236)]));const _0x38d31c=_0x5841de[_0x376e10(0x263)];if(_0x330643[_0x376e10(0x275)](typeof _0x38d31c,_0x330643[_0x376e10(0x1af)]))return path[_0x376e10(0x241)](process[_0x376e10(0x260)](),path['resolve'](_0x38d31c));const _0x2b3206=process[_0x376e10(0x272)][_0x376e10(0x247)](_0x330643[_0x376e10(0x226)]);if(_0x330643['ITbeT'](_0x2b3206,-0x1)&&_0x330643[_0x376e10(0x24d)](_0x330643['miIxz'](_0x2b3206,0x1),process[_0x376e10(0x272)][_0x376e10(0x222)])){const _0x397e1a=process['argv'][_0x330643[_0x376e10(0x1f9)](_0x2b3206,0x1)];if(_0x397e1a&&!_0x397e1a[_0x376e10(0x258)]('-'))return path[_0x376e10(0x241)](process[_0x376e10(0x260)](),path['resolve'](_0x397e1a));}}catch(_0x1155be){}return logger['info'](_0x330643[_0x376e10(0x205)]),_0x330643[_0x376e10(0x20e)];}function resolveCollectionName(_0x2fa294){const _0x30b44f=a44_0x28ce0d,_0x139b59={};_0x139b59['CCWZy']=function(_0x74f47a,_0x5952dc){return _0x74f47a===_0x5952dc;},_0x139b59[_0x30b44f(0x23c)]=_0x30b44f(0x1b2);const _0x63a332=_0x139b59;try{const _0x3b0287=_0x2fa294['collection'];if(_0x3b0287&&_0x63a332[_0x30b44f(0x1fe)](typeof _0x3b0287,_0x63a332[_0x30b44f(0x23c)]))return _0x3b0287['name']||_0x3b0287[_0x30b44f(0x1f1)]&&_0x3b0287[_0x30b44f(0x1f1)][_0x30b44f(0x1f2)]||null;}catch(_0x2dae43){}return null;}function emitTest(_0x1d5e70,_0x3ed50b,_0x4bf6f7,_0x58aabf,_0x3e2deb){const _0x15812e=a44_0x28ce0d,_0xe085d4={'hubLc':function(_0x3af4be){return _0x3af4be();},'VstWV':'pending','yimpq':function(_0x11c7c2,_0x2609cf){return _0x11c7c2(_0x2609cf);},'LUDyT':_0x15812e(0x20d),'txIxO':'javascript','PRpux':function(_0x59afe3,_0x4716c5){return _0x59afe3!=_0x4716c5;},'vzYeM':function(_0x20dcd9,_0x40d777){return _0x20dcd9===_0x40d777;},'FuGXt':_0x15812e(0x26f),'BYULD':_0x15812e(0x21a)};if(_0xe085d4[_0x15812e(0x217)](isCLIRunning))try{const _0x2a3755=BrowserstackCLI[_0x15812e(0x1ad)]()[_0x15812e(0x22c)]();if(!_0x2a3755)return;_0x2a3755['trackEvent'](TestFrameworkState[_0x15812e(0x246)],_0x1d5e70,{'test':{'uuid':_0x3ed50b['uuid'],'name':_0x3ed50b[_0x15812e(0x1f2)],'scopes':_0x4bf6f7[_0x15812e(0x289)],'scope':_0x4bf6f7[_0x15812e(0x289)][_0x15812e(0x1bd)]('\x20'),'file_path':_0x58aabf,'location':_0x4bf6f7['collectionName'],'started_at':_0x4bf6f7['startedAt'],'finished_at':_0x3e2deb[_0x15812e(0x26b)]||null,'result':_0x3e2deb[_0x15812e(0x240)]||_0xe085d4[_0x15812e(0x24a)],'failure':_0x3e2deb['failure']||[],'failure_type':_0x3e2deb[_0x15812e(0x242)]||null,'failure_reason':_0x3e2deb[_0x15812e(0x206)]||null,'tags':[],'meta':{},'custom_metadata':{}}});}catch(_0x90617f){_0xe085d4['yimpq'](debug,_0x15812e(0x28a)+_0x90617f);}else{const _0x556813={'uuid':_0x3ed50b['uuid'],'name':_0x3ed50b[_0x15812e(0x1f2)],'framework':_0xe085d4['LUDyT'],'body':{'lang':_0xe085d4[_0x15812e(0x267)],'code':null},'scope':_0x4bf6f7[_0x15812e(0x289)][_0x15812e(0x1bd)]('\x20'),'scopes':_0x4bf6f7[_0x15812e(0x289)],'identifier':_0x3ed50b[_0x15812e(0x1e9)],'file_name':_0x4bf6f7[_0x15812e(0x228)],'vc_filepath':_0x4bf6f7['location'],'location':_0x4bf6f7['location'],'started_at':_0x4bf6f7[_0x15812e(0x274)],'finished_at':_0x3e2deb[_0x15812e(0x26b)]||null,'duration_in_ms':_0xe085d4[_0x15812e(0x230)](_0x3e2deb['durationMs'],null)?Math['max'](0x0,_0x3e2deb['durationMs']):null,'result':_0x3e2deb[_0x15812e(0x240)]||_0xe085d4[_0x15812e(0x24a)],'failure_reason':_0x3e2deb['failureReason']||null,'failure_type':_0x3e2deb[_0x15812e(0x242)]||null,'failure':_0x3e2deb[_0x15812e(0x215)]||[],'retry_of':null,'hooks':[]};_0x556813[_0x15812e(0x215)][0x0]&&(_0x556813[_0x15812e(0x1e2)]=_0x556813['failure'][0x0][_0x15812e(0x1c8)],_0x556813[_0x15812e(0x25a)]=_0x556813[_0x15812e(0x215)][0x0][_0x15812e(0x1b1)]);const _0x29abe2=_0xe085d4[_0x15812e(0x24f)](_0x1d5e70,HookState[_0x15812e(0x1ac)])?_0xe085d4[_0x15812e(0x207)]:_0xe085d4[_0x15812e(0x281)],_0x41d0e8={};_0x41d0e8[_0x15812e(0x27b)]=_0x29abe2,_0x41d0e8[_0x15812e(0x1db)]=_0x556813,SessionHandler['uploadEventData'](_0x41d0e8);}}function emitLog(_0x356aab,_0xe8ad3a){const _0x4e25e1=a44_0x28ce0d,_0x1e6696={'HkKep':'TEST_LOG','BSFrv':function(_0x2a84b6){return _0x2a84b6();},'OHnCe':function(_0x37ae90,_0x66d646){return _0x37ae90===_0x66d646;},'EwTDE':_0x4e25e1(0x1aa),'lDdWx':_0x4e25e1(0x20d),'bYKfE':'TEST','WnoTJ':'INFO','OlqXR':function(_0x325c32,_0x35d946){return _0x325c32(_0x35d946);},'WsGQp':function(_0x50b473,_0x8b602c){return _0x50b473+_0x8b602c;},'BtcHQ':_0x4e25e1(0x21c),'WLgtJ':'LogCreated'},_0xd65a86=_0xe8ad3a[_0x4e25e1(0x243)]||_0x1e6696['HkKep'],_0x48c1b9=_0xe8ad3a['timestamp']||new Date()['toISOString']();if(_0x1e6696['BSFrv'](isCLIRunning))try{const _0x3e4c11=_0x1e6696[_0x4e25e1(0x1ed)](_0xd65a86,_0x1e6696[_0x4e25e1(0x1fa)])?JSON['stringify'](_0xe8ad3a):_0xe8ad3a[_0x4e25e1(0x203)]||'',_0x265737={};_0x265737['platformIndex']=0x0,_0x265737[_0x4e25e1(0x282)]=_0x1e6696[_0x4e25e1(0x25e)],_0x265737[_0x4e25e1(0x1dc)]='',_0x265737[_0x4e25e1(0x276)]=_0x1e6696['bYKfE'],_0x265737['logs']=[{'uuid':_0x356aab,'timestamp':_0x48c1b9,'kind':_0xd65a86,'level':_0xe8ad3a[_0x4e25e1(0x21f)]||_0x1e6696[_0x4e25e1(0x244)],'message':_0x3e4c11}],GrpcClient['getInstance']()[_0x4e25e1(0x28c)](_0x265737);}catch(_0xeabe40){_0x1e6696['OlqXR'](debug,_0x1e6696[_0x4e25e1(0x1c9)](_0x1e6696[_0x4e25e1(0x25c)],_0xeabe40));}else{const _0x223246={};_0x223246['test_run_uuid']=_0x356aab,_0x223246[_0x4e25e1(0x208)]=_0x48c1b9,_0x223246[_0x4e25e1(0x21f)]=_0xe8ad3a[_0x4e25e1(0x21f)]||null,_0x223246['message']=_0xe8ad3a['message']||null,_0x223246[_0x4e25e1(0x243)]=_0xd65a86,_0x223246['http_response']=_0xe8ad3a[_0x4e25e1(0x1ce)]||{};const _0x4df00f={};_0x4df00f[_0x4e25e1(0x27b)]=_0x1e6696[_0x4e25e1(0x1a8)],_0x4df00f['logs']=[_0x223246],SessionHandler[_0x4e25e1(0x26e)](_0x4df00f);}}function BrowserStackNewmanReporter(_0x317173,_0x1da7ce,_0x282616){const _0x5085ad=a44_0x28ce0d,_0x825f91={'KwsOD':function(_0x1ad929,_0x3263be,_0x13fb38){return _0x1ad929(_0x3263be,_0x13fb38);},'cPzAu':function(_0x1249be,_0x82cd29){return _0x1249be(_0x82cd29);},'PvMSU':function(_0x5916e1,_0x136d89){return _0x5916e1(_0x136d89);},'dshmW':function(_0x40e6ab,_0x1fc6ba){return _0x40e6ab>_0x1fc6ba;},'ogBPN':_0x5085ad(0x24b),'YcQLs':function(_0x3d6f5e,_0x1dc18f){return _0x3d6f5e+_0x1dc18f;},'BdiCI':_0x5085ad(0x291),'LCoMO':function(_0x408b46,_0xb32d3b){return _0x408b46(_0xb32d3b);},'bijsU':_0x5085ad(0x1b4),'pdbmR':function(_0x55acbe){return _0x55acbe();},'sjNcY':function(_0x28b8a5,_0x21814f){return _0x28b8a5||_0x21814f;},'dUaWe':function(_0x5d40d9,_0x53b09c,_0x1cd5a5,_0x48e4c2,_0x32e1bb,_0x2f53c2){return _0x5d40d9(_0x53b09c,_0x1cd5a5,_0x48e4c2,_0x32e1bb,_0x2f53c2);},'kIOua':function(_0xb5b382,_0x4440e9){return _0xb5b382===_0x4440e9;},'UjhYK':_0x5085ad(0x1aa),'GbPib':function(_0x3cfdf6,_0x4a1acc){return _0x3cfdf6+_0x4a1acc;},'BoQpe':function(_0x48bd7f,_0x36544c){return _0x48bd7f+_0x36544c;},'HKUbY':function(_0x65e741,_0x11ea36){return _0x65e741+_0x11ea36;},'EJhWS':function(_0x225771,_0x2778a5){return _0x225771+_0x2778a5;},'erTpF':_0x5085ad(0x1dd),'MhNmr':_0x5085ad(0x253),'sZNdz':_0x5085ad(0x23d),'duiEq':function(_0xfb539a,_0x4c7bc9){return _0xfb539a>_0x4c7bc9;},'yLkJa':function(_0x525590,_0x5c0fce){return _0x525590-_0x5c0fce;},'uuobn':function(_0x16d8c0,_0xf2f878,_0x2bdec5){return _0x16d8c0(_0xf2f878,_0x2bdec5);},'WOYDt':function(_0x5b33ca,_0x438c16){return _0x5b33ca(_0x438c16);},'HshWw':function(_0x4e150c,_0x4d0c85){return _0x4e150c(_0x4d0c85);},'HMTqP':function(_0x3a49be,_0x5d8092){return _0x3a49be&&_0x5d8092;},'UztUI':function(_0xfa2f38,_0x4be6bd){return _0xfa2f38>_0x4be6bd;},'eOuZS':'Exception:\x20','OWVYW':_0x5085ad(0x231),'QQBtd':function(_0x129486,_0x31dc45){return _0x129486(_0x31dc45);},'xRRld':_0x5085ad(0x20c),'qaeuU':'unknown','iebdZ':function(_0x23bdc3,_0x53ac59){return _0x23bdc3+_0x53ac59;},'SoFwH':function(_0x5ba36b,_0x1eb520){return _0x5ba36b+_0x1eb520;},'lmHPh':_0x5085ad(0x1b3),'eLDzC':_0x5085ad(0x1d7),'AOkUB':function(_0x27afbd,_0x4ec7a6){return _0x27afbd+_0x4ec7a6;},'TePAS':_0x5085ad(0x1ee),'SYwAE':_0x5085ad(0x1bc),'YMKbU':_0x5085ad(0x1e4),'hddGa':function(_0x4555ab,_0x2fffb7){return _0x4555ab===_0x2fffb7;},'CXeoJ':_0x5085ad(0x232),'ikckb':'assert','tHFUt':_0x5085ad(0x218),'SNhQc':function(_0x2c40cd,_0x190763,_0x226821,_0x1c7c0e,_0x38f231,_0x5abddd){return _0x2c40cd(_0x190763,_0x226821,_0x1c7c0e,_0x38f231,_0x5abddd);},'bOSpF':function(_0x2e6695){return _0x2e6695();},'FBYlS':function(_0x21f1c4,_0x275047){return _0x21f1c4!=_0x275047;},'oudem':function(_0x3b741a,_0x331cdf){return _0x3b741a>=_0x331cdf;},'GFkYL':function(_0x5d143b,_0x409e61){return _0x5d143b<_0x409e61;},'BviAx':_0x5085ad(0x28d),'mdMyk':function(_0x2b0614,_0x2abf03){return _0x2b0614!=_0x2abf03;},'aesDR':_0x5085ad(0x21e),'BtLOF':function(_0x24092a,_0x17fac7,_0x1124a5){return _0x24092a(_0x17fac7,_0x1124a5);},'viTtZ':function(_0x1cf09d,_0x3e7687){return _0x1cf09d+_0x3e7687;},'sJHZS':function(_0x56df98,_0x323f17){return _0x56df98+_0x323f17;},'byxGS':function(_0x24f2d5,_0x46d459){return _0x24f2d5+_0x46d459;},'ssuLU':function(_0x2bca89,_0x53f397){return _0x2bca89+_0x53f397;},'JrbZF':function(_0x2f7de8,_0x1dce15){return _0x2f7de8+_0x1dce15;},'RkZIa':'HTTP\x20Status:\x20','dYeVL':_0x5085ad(0x1ec),'riXFH':function(_0x5754e1,_0x35e26e){return _0x5754e1(_0x35e26e);},'rICsG':function(_0x5cb55b,_0x3b5f00,_0x2f6aae){return _0x5cb55b(_0x3b5f00,_0x2f6aae);},'cnaXR':function(_0x524b9a,_0x1139f9){return _0x524b9a(_0x1139f9);},'WdzXi':'done','rDRFP':_0x5085ad(0x278),'RYHWT':_0x5085ad(0x254),'oJImJ':'request','IOguV':_0x5085ad(0x22d),'oVkup':_0x5085ad(0x1e0),'TpqjL':'exception','nXTea':'script','iKNQW':_0x5085ad(0x269)},_0x45415d=new Map();let _0x8a8345=null,_0x10d13f=0x0;const _0x8e7260=_0x825f91[_0x5085ad(0x1ef)](resolveCollectionFile,_0x282616,_0x1da7ce),_0x926108=_0x825f91[_0x5085ad(0x1bb)](resolveCollectionName,_0x282616)||_0x8e7260,_0x56ebfd=path[_0x5085ad(0x248)](_0x8e7260),_0x503757=_0x5085ad(0x235)+process['pid'],_0xd703be=_0x5282b3=>{const _0x3e3f1e=_0x5085ad;try{_0x8a8345&&_0x825f91[_0x3e3f1e(0x25b)](emitLog,_0x8a8345,_0x5282b3);}catch(_0x20f1fe){_0x825f91[_0x3e3f1e(0x237)](debug,_0x3e3f1e(0x1ca)+_0x20f1fe);}};process['on'](_0x503757,_0xd703be),_0x317173['on'](_0x825f91[_0x5085ad(0x20a)],()=>{const _0x269869=_0x5085ad;process[_0x269869(0x251)](_0x503757,_0xd703be),_0x45415d['clear']();}),_0x317173['on'](_0x825f91[_0x5085ad(0x1cf)],(_0x548611,_0xdbcbb0)=>{const _0x492f57=_0x5085ad;_0xdbcbb0&&_0xdbcbb0[_0x492f57(0x213)]&&(_0x10d13f=_0xdbcbb0[_0x492f57(0x213)]['iteration']||0x0);}),_0x317173['on'](_0x825f91[_0x5085ad(0x26a)],(_0x54f2d9,_0x3c07a3)=>{const _0x29a110=_0x5085ad;try{_0x8a8345=null;const _0x5b5a9a=_0x3c07a3[_0x29a110(0x269)],_0x2c2565=_0x5b5a9a[_0x29a110(0x1ba)]()?_0x825f91[_0x29a110(0x1a6)](getParentTitles,_0x5b5a9a[_0x29a110(0x1ba)]()):[],_0x3293f5=_0x825f91[_0x29a110(0x209)](_0x2c2565[_0x29a110(0x222)],0x1)?_0x2c2565[_0x29a110(0x1cb)](0x1):_0x2c2565,_0x472a75=_0x3c07a3[_0x29a110(0x213)]&&_0x3c07a3[_0x29a110(0x213)][_0x29a110(0x1b5)],_0x4950da={'itemName':_0x5b5a9a['name'],'scopes':_0x3293f5[_0x29a110(0x225)]([_0x5b5a9a[_0x29a110(0x1f2)]]),'location':_0x8e7260,'collectionName':_0x926108,'startedAt':new Date()['toISOString'](),'startTimestamp':Date[_0x29a110(0x277)](),'lastResponseCode':null,'httpLog':null,'assertions':[],'bufferedLogs':[]};_0x45415d[_0x29a110(0x285)](_0x5b5a9a['id']+'_'+_0x10d13f,_0x4950da),_0x472a75&&_0x45415d[_0x29a110(0x285)](_0x472a75+'_'+_0x10d13f,_0x4950da);}catch(_0x2f3ed5){_0x825f91[_0x29a110(0x237)](debug,_0x29a110(0x1d4)+_0x2f3ed5);}}),_0x317173['on'](_0x825f91['oJImJ'],(_0x5e0b0d,_0x47f205)=>{const _0x44831c=_0x5085ad;try{if(!_0x47f205||!_0x47f205[_0x44831c(0x269)])return;const _0x486481=_0x45415d[_0x44831c(0x25f)](_0x47f205[_0x44831c(0x269)]['id']+'_'+_0x10d13f);if(!_0x486481)return;_0x47f205['response']&&(_0x486481[_0x44831c(0x1e7)]=_0x47f205[_0x44831c(0x1c7)][_0x44831c(0x1d9)]||null);if(!_0x47f205[_0x44831c(0x1bf)])return;let _0x802b04='',_0x415081='';if(_0x47f205[_0x44831c(0x1bf)][_0x44831c(0x250)])try{const _0x3250c0=_0x47f205['request']['url'][_0x44831c(0x252)](),_0x3718ab=new URL(_0x3250c0[_0x44831c(0x258)](_0x825f91[_0x44831c(0x1fd)])?_0x3250c0:_0x44831c(0x27d)+_0x3250c0);_0x802b04=_0x3718ab[_0x44831c(0x288)],_0x415081=_0x825f91[_0x44831c(0x1cd)](_0x3718ab[_0x44831c(0x284)],_0x3718ab[_0x44831c(0x26d)]);}catch(_0x20b50f){_0x415081=_0x47f205['request'][_0x44831c(0x250)]['toString']();}const _0x24ff43={};_0x24ff43[_0x44831c(0x28b)]=_0x802b04,_0x24ff43['path']=_0x415081,_0x24ff43[_0x44831c(0x224)]=_0x47f205[_0x44831c(0x1bf)]['method']||_0x825f91[_0x44831c(0x1b7)],_0x24ff43[_0x44831c(0x1c4)]={},_0x24ff43[_0x44831c(0x234)]=_0x47f205[_0x44831c(0x1c7)]?_0x47f205[_0x44831c(0x1c7)]['code']||0x0:0x0,_0x24ff43['duration_ms']=_0x47f205['response']?_0x47f205[_0x44831c(0x1c7)]['responseTime']||0x0:0x0,_0x486481[_0x44831c(0x229)]=_0x24ff43;}catch(_0x4741b2){_0x825f91[_0x44831c(0x1be)](debug,_0x44831c(0x239)+_0x4741b2);}}),_0x317173['on'](_0x825f91[_0x5085ad(0x23f)],(_0x58120a,_0x579d64)=>{const _0x2f7982=_0x5085ad;try{if(!_0x579d64||!_0x579d64[_0x2f7982(0x269)])return;const _0x478946=_0x45415d[_0x2f7982(0x25f)](_0x579d64[_0x2f7982(0x269)]['id']+'_'+_0x10d13f);if(!_0x478946)return;const _0x26533e=_0x579d64[_0x2f7982(0x22d)]||'Assertion\x20'+_0x825f91['YcQLs'](_0x478946[_0x2f7982(0x1b8)][_0x2f7982(0x222)],0x1),_0x38362d=_0x825f91[_0x2f7982(0x245)](uuidv4),_0x5ea0b0=_0x478946[_0x2f7982(0x289)][_0x2f7982(0x225)]([_0x26533e])['join']('\x20');_0x478946[_0x2f7982(0x1b8)][_0x2f7982(0x202)]({'uuid':_0x38362d,'name':_0x26533e,'identifier':_0x5ea0b0,'err':_0x825f91[_0x2f7982(0x1b9)](_0x58120a,null)});const _0x1f817a={};_0x1f817a[_0x2f7982(0x223)]=_0x38362d,_0x1f817a[_0x2f7982(0x1f2)]=_0x26533e,_0x1f817a['identifier']=_0x5ea0b0,_0x825f91['dUaWe'](emitTest,HookState[_0x2f7982(0x1ac)],_0x1f817a,_0x478946,_0x56ebfd,{});_0x825f91[_0x2f7982(0x1b0)](_0x478946[_0x2f7982(0x1b8)]['length'],0x1)&&_0x825f91[_0x2f7982(0x209)](_0x478946[_0x2f7982(0x27e)]['length'],0x0)&&(_0x478946[_0x2f7982(0x27e)][_0x2f7982(0x227)](_0x38606e=>{const _0x4f559e=_0x2f7982;_0x825f91[_0x4f559e(0x25b)](emitLog,_0x38362d,{'kind':_0x825f91[_0x4f559e(0x1c0)],'message':_0x38606e['message'],'level':_0x38606e[_0x4f559e(0x21f)]});}),_0x478946['bufferedLogs']=[]);if(_0x478946[_0x2f7982(0x229)]){_0x825f91[_0x2f7982(0x25b)](emitLog,_0x38362d,{'kind':_0x825f91[_0x2f7982(0x268)],'http_response':_0x478946[_0x2f7982(0x229)]});const _0x50c549=_0x825f91['YcQLs'](_0x825f91['GbPib'](_0x825f91['BoQpe'](_0x825f91['BoQpe'](_0x825f91['YcQLs'](_0x825f91['YcQLs'](_0x825f91[_0x2f7982(0x216)](_0x825f91[_0x2f7982(0x27a)](_0x478946[_0x2f7982(0x229)]['method']||_0x825f91[_0x2f7982(0x1b7)],'\x20'),_0x478946[_0x2f7982(0x229)]['host']),_0x478946[_0x2f7982(0x229)][_0x2f7982(0x293)]),_0x825f91[_0x2f7982(0x1f3)]),_0x478946['httpLog']['status_code']),'\x20('),_0x478946[_0x2f7982(0x229)][_0x2f7982(0x1c2)]),_0x825f91[_0x2f7982(0x1d0)]);_0x825f91[_0x2f7982(0x25b)](emitLog,_0x38362d,{'kind':_0x825f91['bijsU'],'message':_0x50c549,'level':_0x825f91[_0x2f7982(0x214)]});}_0x8a8345=_0x38362d;}catch(_0x30156e){_0x825f91[_0x2f7982(0x237)](debug,'[Newman\x20Reporter]\x20Error\x20in\x20assertion:\x20'+_0x30156e);}}),_0x317173['on'](_0x825f91[_0x5085ad(0x287)],(_0x32b9c7,_0x46855e)=>{const _0x151ae9=_0x5085ad;try{if(!_0x46855e)return;let _0x47b3a4=_0x8a8345;if(!_0x47b3a4&&_0x46855e['cursor']&&_0x46855e[_0x151ae9(0x213)]['ref']){const _0x4239c3=_0x45415d[_0x151ae9(0x25f)](_0x46855e['cursor'][_0x151ae9(0x1b5)]+'_'+_0x10d13f);_0x4239c3&&_0x825f91[_0x151ae9(0x204)](_0x4239c3[_0x151ae9(0x1b8)][_0x151ae9(0x222)],0x0)&&(_0x47b3a4=_0x4239c3[_0x151ae9(0x1b8)][_0x825f91[_0x151ae9(0x262)](_0x4239c3['assertions']['length'],0x1)][_0x151ae9(0x223)]);}const _0x454135=_0x46855e[_0x151ae9(0x280)]?_0x46855e[_0x151ae9(0x280)][_0x151ae9(0x1bd)](',\x20'):'';if(_0x47b3a4)_0x825f91[_0x151ae9(0x22e)](emitLog,_0x47b3a4,{'kind':_0x825f91[_0x151ae9(0x1c0)],'message':_0x454135,'level':_0x825f91[_0x151ae9(0x237)](normalizeLogLevel,_0x46855e[_0x151ae9(0x21f)])});else{if(_0x46855e['cursor']&&_0x46855e[_0x151ae9(0x213)][_0x151ae9(0x1b5)]){const _0x2377a5=_0x45415d[_0x151ae9(0x25f)](_0x46855e[_0x151ae9(0x213)][_0x151ae9(0x1b5)]+'_'+_0x10d13f);_0x2377a5&&_0x2377a5[_0x151ae9(0x27e)][_0x151ae9(0x202)]({'timestamp':new Date()[_0x151ae9(0x1d6)](),'level':_0x825f91[_0x151ae9(0x1ff)](normalizeLogLevel,_0x46855e['level']),'message':_0x454135});}}}catch(_0x4e1397){_0x825f91[_0x151ae9(0x1be)](debug,_0x151ae9(0x1b6)+_0x4e1397);}}),_0x317173['on'](_0x825f91[_0x5085ad(0x22f)],(_0xec00fc,_0x57deb9)=>{const _0x22e2ce=_0x5085ad;try{if(!_0xec00fc&&(!_0x57deb9||!_0x57deb9['error']))return;const _0x12e019=_0xec00fc||_0x57deb9['error'],_0x5e8ad4=_0x12e019[_0x22e2ce(0x203)]||_0x825f91[_0x22e2ce(0x27f)](String,_0x12e019),_0x90070c=_0x12e019['stack']||_0x5e8ad4;let _0x387253=_0x8a8345;if(_0x825f91[_0x22e2ce(0x220)](!_0x387253,_0x57deb9)&&_0x57deb9[_0x22e2ce(0x213)]&&_0x57deb9[_0x22e2ce(0x213)][_0x22e2ce(0x1b5)]){const _0x370c72=_0x45415d[_0x22e2ce(0x25f)](_0x57deb9[_0x22e2ce(0x213)]['ref']+'_'+_0x10d13f);_0x370c72&&_0x825f91[_0x22e2ce(0x264)](_0x370c72[_0x22e2ce(0x1b8)]['length'],0x0)&&(_0x387253=_0x370c72[_0x22e2ce(0x1b8)][_0x825f91[_0x22e2ce(0x262)](_0x370c72[_0x22e2ce(0x1b8)][_0x22e2ce(0x222)],0x1)]['uuid']);}_0x387253&&_0x825f91[_0x22e2ce(0x25b)](emitLog,_0x387253,{'kind':_0x825f91[_0x22e2ce(0x1c0)],'message':_0x825f91[_0x22e2ce(0x256)](_0x825f91['eOuZS'],_0x90070c),'level':_0x825f91[_0x22e2ce(0x24c)]});}catch(_0x1cb37d){_0x825f91[_0x22e2ce(0x21b)](debug,_0x825f91[_0x22e2ce(0x27a)](_0x825f91[_0x22e2ce(0x1d8)],_0x1cb37d));}}),_0x317173['on'](_0x825f91['nXTea'],(_0x215b2b,_0x4afc54)=>{const _0x441d17=_0x5085ad;try{if(!_0x4afc54||!_0x4afc54[_0x441d17(0x271)])return;let _0x20fa54=_0x8a8345;if(!_0x20fa54&&_0x4afc54[_0x441d17(0x213)]&&_0x4afc54['cursor'][_0x441d17(0x1b5)]){const _0x1ec226=_0x45415d['get'](_0x4afc54[_0x441d17(0x213)][_0x441d17(0x1b5)]+'_'+_0x10d13f);_0x1ec226&&_0x825f91[_0x441d17(0x264)](_0x1ec226['assertions'][_0x441d17(0x222)],0x0)&&(_0x20fa54=_0x1ec226[_0x441d17(0x1b8)][_0x825f91[_0x441d17(0x262)](_0x1ec226[_0x441d17(0x1b8)][_0x441d17(0x222)],0x1)][_0x441d17(0x223)]);}if(!_0x20fa54)return;const _0x41282f=_0x4afc54['event']&&_0x4afc54[_0x441d17(0x1a9)][_0x441d17(0x257)]||_0x825f91[_0x441d17(0x23e)];_0x215b2b&&_0x825f91[_0x441d17(0x25b)](emitLog,_0x20fa54,{'kind':_0x825f91[_0x441d17(0x1c0)],'message':_0x825f91[_0x441d17(0x27a)](_0x825f91[_0x441d17(0x1fb)](_0x825f91[_0x441d17(0x1d1)](_0x825f91[_0x441d17(0x25d)],_0x41282f),_0x825f91[_0x441d17(0x1e1)]),_0x215b2b['message']||_0x215b2b),'level':_0x825f91[_0x441d17(0x24c)]});}catch(_0x44493a){_0x825f91[_0x441d17(0x1ff)](debug,_0x825f91[_0x441d17(0x28f)](_0x825f91['TePAS'],_0x44493a));}}),_0x317173['on'](_0x825f91[_0x5085ad(0x261)],(_0x7a18e5,_0x4ea999)=>{const _0x3ccfc2=_0x5085ad,_0x2c782d={'zMteo':_0x825f91[_0x3ccfc2(0x255)],'PfnxI':_0x825f91[_0x3ccfc2(0x21d)],'QmnwX':function(_0x44e2ca,_0x5a1cd3){return _0x825f91['hddGa'](_0x44e2ca,_0x5a1cd3);},'NNrzz':_0x825f91['CXeoJ'],'mIefF':_0x825f91[_0x3ccfc2(0x1f8)],'jmuuA':_0x825f91['tHFUt'],'cldfn':function(_0x131d5e,_0x4b4e45,_0x50e285,_0x5868f6,_0x59a160,_0x161534){const _0x14d2ba=_0x3ccfc2;return _0x825f91[_0x14d2ba(0x249)](_0x131d5e,_0x4b4e45,_0x50e285,_0x5868f6,_0x59a160,_0x161534);}};try{if(!_0x4ea999||!_0x4ea999[_0x3ccfc2(0x269)])return;const _0x2af567=_0x4ea999[_0x3ccfc2(0x269)]['id']+'_'+_0x10d13f,_0x3af933=_0x45415d[_0x3ccfc2(0x25f)](_0x2af567);if(!_0x3af933)return;const _0x170097=new Date(),_0x15df92=_0x825f91[_0x3ccfc2(0x262)](_0x170097['getTime'](),_0x3af933['startTimestamp']);if(_0x825f91[_0x3ccfc2(0x264)](_0x3af933[_0x3ccfc2(0x1b8)][_0x3ccfc2(0x222)],0x0))_0x3af933[_0x3ccfc2(0x1b8)][_0x3ccfc2(0x227)](_0x3ae594=>{const _0x44c284=_0x3ccfc2,_0x4f62db=!!_0x3ae594[_0x44c284(0x200)],_0x2e15fc={'finishedAt':_0x170097[_0x44c284(0x1d6)](),'durationMs':_0x15df92,'result':_0x4f62db?_0x2c782d[_0x44c284(0x221)]:_0x2c782d[_0x44c284(0x1cc)]};_0x4f62db&&(_0x2e15fc['failureReason']=_0x3ae594[_0x44c284(0x200)][_0x44c284(0x203)]||'',_0x2e15fc[_0x44c284(0x242)]=_0x2c782d['QmnwX'](_0x3ae594[_0x44c284(0x200)][_0x44c284(0x1f2)],_0x2c782d['NNrzz'])||_0x3ae594[_0x44c284(0x200)][_0x44c284(0x203)]&&_0x3ae594[_0x44c284(0x200)][_0x44c284(0x203)][_0x44c284(0x266)](_0x2c782d['mIefF'])?_0x2c782d['NNrzz']:_0x2c782d[_0x44c284(0x219)],_0x2e15fc[_0x44c284(0x215)]=[{'backtrace':_0x3ae594[_0x44c284(0x200)][_0x44c284(0x295)]?_0x3ae594[_0x44c284(0x200)]['stack'][_0x44c284(0x1f5)]('\x0a'):[_0x3ae594['err'][_0x44c284(0x203)]||''],'expanded':[]}]),_0x2c782d[_0x44c284(0x1da)](emitTest,HookState['POST'],_0x3ae594,_0x3af933,_0x56ebfd,_0x2e15fc);});else{const _0x477516=_0x825f91[_0x3ccfc2(0x1f6)](uuidv4),_0x15d1ae=_0x3af933[_0x3ccfc2(0x1e7)],_0xab994c=_0x825f91[_0x3ccfc2(0x201)](_0x15d1ae,null)&&_0x825f91[_0x3ccfc2(0x1a7)](_0x15d1ae,0xc8)&&_0x825f91[_0x3ccfc2(0x1d5)](_0x15d1ae,0x190),_0x53eb5e=_0x3af933[_0x3ccfc2(0x212)]+_0x3ccfc2(0x1e6)+_0x825f91[_0x3ccfc2(0x1b9)](_0x15d1ae,_0x825f91['BviAx'])+')',_0x3a1d11={'uuid':_0x477516,'name':_0x53eb5e,'identifier':_0x3af933[_0x3ccfc2(0x289)]['concat']([_0x53eb5e])[_0x3ccfc2(0x1bd)]('\x20')},_0x26b921={'finishedAt':_0x170097[_0x3ccfc2(0x1d6)](),'durationMs':_0x15df92,'result':_0xab994c?_0x825f91['YMKbU']:_0x825f91[_0x3ccfc2(0x255)]};!_0xab994c&&(_0x26b921['failureReason']=_0x825f91[_0x3ccfc2(0x283)](_0x15d1ae,null)?_0x3ccfc2(0x1c1)+_0x15d1ae+_0x3ccfc2(0x273):_0x825f91[_0x3ccfc2(0x24e)],_0x26b921[_0x3ccfc2(0x242)]=_0x825f91[_0x3ccfc2(0x1d2)],_0x26b921[_0x3ccfc2(0x215)]=[{'backtrace':[_0x26b921[_0x3ccfc2(0x206)]],'expanded':[]}]);_0x825f91['dUaWe'](emitTest,HookState[_0x3ccfc2(0x1ac)],_0x3a1d11,_0x3af933,_0x56ebfd,{}),_0x3af933[_0x3ccfc2(0x27e)][_0x3ccfc2(0x227)](_0x1a2abe=>{const _0x51f0db=_0x3ccfc2;_0x825f91['KwsOD'](emitLog,_0x477516,{'kind':_0x825f91['bijsU'],'message':_0x1a2abe[_0x51f0db(0x203)],'level':_0x1a2abe['level']});});if(_0x3af933[_0x3ccfc2(0x229)]){_0x825f91[_0x3ccfc2(0x259)](emitLog,_0x477516,{'kind':_0x825f91[_0x3ccfc2(0x268)],'http_response':_0x3af933['httpLog']});const _0x4237ff=_0x825f91[_0x3ccfc2(0x22a)](_0x825f91['SoFwH'](_0x825f91['sJHZS'](_0x825f91[_0x3ccfc2(0x1ae)](_0x825f91[_0x3ccfc2(0x1c6)](_0x825f91['YcQLs'](_0x825f91[_0x3ccfc2(0x211)](_0x825f91['iebdZ'](_0x3af933[_0x3ccfc2(0x229)][_0x3ccfc2(0x224)]||_0x825f91['BdiCI'],'\x20'),_0x3af933[_0x3ccfc2(0x229)][_0x3ccfc2(0x28b)]),_0x3af933[_0x3ccfc2(0x229)][_0x3ccfc2(0x293)]),_0x825f91['erTpF']),_0x3af933[_0x3ccfc2(0x229)]['status_code']),'\x20('),_0x3af933[_0x3ccfc2(0x229)]['duration_ms']),_0x825f91[_0x3ccfc2(0x1d0)]);_0x825f91[_0x3ccfc2(0x25b)](emitLog,_0x477516,{'kind':_0x825f91['bijsU'],'message':_0x4237ff,'level':_0x825f91['sZNdz']});}else _0x825f91[_0x3ccfc2(0x25b)](emitLog,_0x477516,{'kind':_0x825f91['bijsU'],'message':_0x825f91[_0x3ccfc2(0x27a)](_0x825f91['JrbZF'](_0x825f91[_0x3ccfc2(0x1fc)],_0x825f91[_0x3ccfc2(0x1b9)](_0x15d1ae,_0x825f91[_0x3ccfc2(0x1df)])),_0x825f91[_0x3ccfc2(0x1c3)]),'level':_0x825f91[_0x3ccfc2(0x214)]});_0x825f91[_0x3ccfc2(0x249)](emitTest,HookState['POST'],_0x3a1d11,_0x3af933,_0x56ebfd,_0x26b921);}_0x45415d['delete'](_0x2af567),_0x4ea999['cursor']&&_0x4ea999[_0x3ccfc2(0x213)][_0x3ccfc2(0x1b5)]&&_0x45415d[_0x3ccfc2(0x1de)](_0x4ea999[_0x3ccfc2(0x213)][_0x3ccfc2(0x1b5)]+'_'+_0x10d13f);}catch(_0x19b1a2){_0x825f91[_0x3ccfc2(0x26c)](debug,'[Newman\x20Reporter]\x20Error\x20in\x20item:\x20'+_0x19b1a2);}});}function a44_0x55b4(_0x30691a,_0x51021a){const _0x1e920c=a44_0x1e92();return a44_0x55b4=function(_0x55b46e,_0x3c01e0){_0x55b46e=_0x55b46e-0x1a6;let _0x1e5c0e=_0x1e920c[_0x55b46e];return _0x1e5c0e;},a44_0x55b4(_0x30691a,_0x51021a);}module['exports']=BrowserStackNewmanReporter;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a45_0x149166=a45_0x2779;(function(_0x5926f0,_0x23e043){const _0x28686e=a45_0x2779,_0x3368a0=_0x5926f0();while(!![]){try{const _0xef594b=-parseInt(_0x28686e(0x148))/0x1+-parseInt(_0x28686e(0x14f))/0x2+-parseInt(_0x28686e(0x150))/0x3*(-parseInt(_0x28686e(0x132))/0x4)+parseInt(_0x28686e(0x153))/0x5*(parseInt(_0x28686e(0x158))/0x6)+parseInt(_0x28686e(0x135))/0x7+-parseInt(_0x28686e(0x16b))/0x8*(parseInt(_0x28686e(0x166))/0x9)+-parseInt(_0x28686e(0x149))/0xa*(-parseInt(_0x28686e(0x147))/0xb);if(_0xef594b===_0x23e043)break;else _0x3368a0['push'](_0x3368a0['shift']());}catch(_0x5c1f87){_0x3368a0['push'](_0x3368a0['shift']());}}}(a45_0x27d3,0x38d0f));const path=require('path'),Module=require(a45_0x149166(0x12e)),BrowserstackCLI=require(a45_0x149166(0x164)),scriptFile=process[a45_0x149166(0x12f)][0x2],maxParallel=parseInt(process['argv'][0x3])||0x0;function a45_0x2779(_0x47389d,_0x46173d){const _0x27d368=a45_0x27d3();return a45_0x2779=function(_0x2779ba,_0x60dc18){_0x2779ba=_0x2779ba-0x12d;let _0x21a8e1=_0x27d368[_0x2779ba];return _0x21a8e1;},a45_0x2779(_0x47389d,_0x46173d);}!scriptFile&&(process['stderr'][a45_0x149166(0x134)](a45_0x149166(0x140)),process[a45_0x149166(0x168)](0x1));const reporterPath=path[a45_0x149166(0x160)](__dirname,a45_0x149166(0x159),a45_0x149166(0x13c)),originalResolveFilename=Module[a45_0x149166(0x152)];Module[a45_0x149166(0x152)]=function(_0x41f8c7,_0x1f2f48,_0x65aca0,_0x312792){const _0x4285d9=a45_0x149166,_0x5589dc={};_0x5589dc[_0x4285d9(0x13e)]=function(_0x5312bc,_0x3fc9e5){return _0x5312bc===_0x3fc9e5;},_0x5589dc[_0x4285d9(0x15c)]=_0x4285d9(0x154);const _0x4e3556=_0x5589dc;if(_0x4e3556[_0x4285d9(0x13e)](_0x41f8c7,_0x4e3556['snrZf']))return reporterPath;return originalResolveFilename['call'](this,_0x41f8c7,_0x1f2f48,_0x65aca0,_0x312792);};let limit;function a45_0x27d3(){const _0x345393=['call','stderr','aqrmH','bind','index.js','OLTaq','YQOxD','run','[Newman]\x20scriptRunner:\x20no\x20script\x20file\x20provided\x0a','miXuX','qDGmS','assign','cVxrN','bootstrap','Lxgon','3817GHUTbT','412855tNhGDw','10860bMadWW','[Newman]\x20scriptRunner:\x20failed\x20to\x20load\x20script:\x20','exitCode','_load','string','zQzWi','225784tIrqYa','45jGFWOw','failures','_resolveFilename','30iONkAY','newman-reporter-browserstack','qTfTo','length','concat','159738OZqvZd','reporter','collection','pWitQ','snrZf','resolve','cli','collectionPath','join','reporters','browserstack','error','../v2/browserstackCLI','indexOf','1287cmisol','XhYub','exit','zoQZB','VlNLr','7496zUwFAe','RxWxu','FpWPx','module','argv','message','RkewI','16556JSelBr','QsTux','write','2056544MJrYac','jtnFO','VTPOR'];a45_0x27d3=function(){return _0x345393;};return a45_0x27d3();}try{const pLimit=require('p-limit'),concurrency=maxParallel&&maxParallel>0x0?maxParallel:Infinity;limit=pLimit(concurrency);}catch(a45_0x79df38){limit=function(_0x30f501){const _0x438d21=a45_0x149166,_0x41f8ad={'aqrmH':function(_0x4a222c){return _0x4a222c();}};return _0x41f8ad[_0x438d21(0x13a)](_0x30f501);};}let wrappedNewman=null,hasFailure=![];const originalLoad=Module[a45_0x149166(0x14c)];Module['_load']=function(_0x6fe3b7,_0x432fa7,_0x4dcbdb){const _0x5da718=a45_0x149166,_0x34a744={'XhYub':function(_0x35087c,_0x163a51,_0x47c2ab){return _0x35087c(_0x163a51,_0x47c2ab);},'zQzWi':function(_0x35398f,_0x5ec66f){return _0x35398f>_0x5ec66f;},'OLTaq':function(_0x4ae2cf,_0x3e9e8c){return _0x4ae2cf||_0x3e9e8c;},'QsTux':function(_0x205bdf,_0x2f7780){return _0x205bdf(_0x2f7780);},'bilKG':_0x5da718(0x15e),'LhWnr':function(_0x15fcdc,_0x59925a){return _0x15fcdc===_0x59925a;},'Lxgon':'browserstack','pWitQ':function(_0xcdcb66,_0x538e80){return _0xcdcb66===_0x538e80;},'RxWxu':_0x5da718(0x14d),'miXuX':function(_0x2bdb99,_0x46c4a2){return _0x2bdb99!==_0x46c4a2;},'RkewI':'newman'},_0x1af32d=originalLoad[_0x5da718(0x138)](this,_0x6fe3b7,_0x432fa7,_0x4dcbdb);if(_0x34a744[_0x5da718(0x141)](_0x6fe3b7,_0x34a744[_0x5da718(0x131)]))return _0x1af32d;if(wrappedNewman)return wrappedNewman;const _0xcd9256=_0x1af32d[_0x5da718(0x13f)][_0x5da718(0x13b)](_0x1af32d);return wrappedNewman=Object['create'](_0x1af32d),wrappedNewman[_0x5da718(0x13f)]=function(_0x276ef9,_0x21f156){const _0x549428=_0x5da718,_0x3169ce={'zoQZB':function(_0x4cb9b4,_0x239abe,_0x383949){const _0x279774=a45_0x2779;return _0x34a744[_0x279774(0x167)](_0x4cb9b4,_0x239abe,_0x383949);},'edHed':function(_0x48aa07,_0x4b6045){const _0x1a14b2=a45_0x2779;return _0x34a744[_0x1a14b2(0x14e)](_0x48aa07,_0x4b6045);},'OFaYj':function(_0x1592c7,_0x926d92){const _0x337231=a45_0x2779;return _0x34a744[_0x337231(0x13d)](_0x1592c7,_0x926d92);},'qDGmS':function(_0x31e839,_0x1a6a6a){const _0x2f5332=a45_0x2779;return _0x34a744[_0x2f5332(0x133)](_0x31e839,_0x1a6a6a);}};let _0x3b060e=_0x276ef9[_0x549428(0x161)]||[_0x34a744['bilKG']];_0x34a744['LhWnr'](_0x3b060e[_0x549428(0x165)](_0x34a744[_0x549428(0x146)]),-0x1)&&(_0x3b060e=_0x3b060e[_0x549428(0x157)]([_0x34a744[_0x549428(0x146)]]));const _0x240006=_0x34a744[_0x549428(0x15b)](typeof _0x276ef9[_0x549428(0x15a)],_0x34a744[_0x549428(0x16c)])?_0x276ef9[_0x549428(0x15a)]:undefined,_0x40d589={};_0x40d589[_0x549428(0x15f)]=_0x240006;const _0x3cbd2a=Object[_0x549428(0x143)]({},_0x276ef9[_0x549428(0x159)],{'browserstack':Object[_0x549428(0x143)]({},_0x276ef9['reporter']&&_0x276ef9[_0x549428(0x159)][_0x549428(0x162)],_0x40d589)}),_0x206df5={};return _0x206df5[_0x549428(0x161)]=_0x3b060e,_0x206df5['reporter']=_0x3cbd2a,_0x276ef9=Object[_0x549428(0x143)]({},_0x276ef9,_0x206df5),_0x34a744[_0x549428(0x133)](limit,function(){const _0x98bdd1={'FpWPx':function(_0x19af98,_0x420643){return _0x3169ce['edHed'](_0x19af98,_0x420643);},'VTPOR':function(_0x30cad3,_0x1377e1){return _0x3169ce['OFaYj'](_0x30cad3,_0x1377e1);},'VlNLr':function(_0x1a2cb6,_0x1329f3,_0x46db8d){const _0xbefcc8=a45_0x2779;return _0x3169ce[_0xbefcc8(0x169)](_0x1a2cb6,_0x1329f3,_0x46db8d);},'XUDww':function(_0x267588,_0x5a4415){const _0x281196=a45_0x2779;return _0x3169ce[_0x281196(0x142)](_0x267588,_0x5a4415);}};return new Promise(function(_0x3dc48a){_0x3169ce['zoQZB'](_0xcd9256,_0x276ef9,function(_0x437a76,_0x497611){const _0x43636b=a45_0x2779,_0x4a7c81=_0x497611&&_0x497611['run']&&(_0x497611[_0x43636b(0x13f)][_0x43636b(0x163)]||_0x497611[_0x43636b(0x13f)][_0x43636b(0x151)]&&_0x98bdd1[_0x43636b(0x12d)](_0x497611['run'][_0x43636b(0x151)][_0x43636b(0x156)],0x0));_0x98bdd1[_0x43636b(0x137)](_0x4a7c81,_0x437a76)&&(hasFailure=!![]),_0x21f156&&_0x98bdd1[_0x43636b(0x16a)](_0x21f156,_0x437a76,_0x497611),_0x98bdd1['XUDww'](_0x3dc48a,_0x497611);});});});},wrappedNewman;};async function main(){const _0x27f5da=a45_0x149166,_0x1c3a1d={'LxBtc':function(_0x44719e,_0x31ca58){return _0x44719e(_0x31ca58);},'qTfTo':function(_0x5f2111,_0x1d8731){return _0x5f2111+_0x1d8731;},'jtnFO':_0x27f5da(0x14a)};try{await BrowserstackCLI['getInstance']()[_0x27f5da(0x145)]();}catch(_0x2866c8){}try{_0x1c3a1d['LxBtc'](require,path[_0x27f5da(0x15d)](scriptFile));}catch(_0x36e5f1){process[_0x27f5da(0x139)][_0x27f5da(0x134)](_0x1c3a1d[_0x27f5da(0x155)](_0x1c3a1d['qTfTo'](_0x1c3a1d[_0x27f5da(0x136)],_0x36e5f1[_0x27f5da(0x130)]||_0x36e5f1),'\x0a')),process[_0x27f5da(0x14b)]=0x1;}}main(),process['on']('beforeExit',function(){const _0x18d4f2=a45_0x149166;hasFailure&&(process[_0x18d4f2(0x14b)]=0x1);}),process['on'](a45_0x149166(0x168),function(){const _0x26a2cb=a45_0x149166,_0x26fb30={};_0x26fb30[_0x26a2cb(0x144)]=function(_0xe7eb78,_0x4e3de5){return _0xe7eb78===_0x4e3de5;};const _0x324b19=_0x26fb30;hasFailure&&_0x324b19[_0x26a2cb(0x144)](process[_0x26a2cb(0x14b)],0x0)&&(process[_0x26a2cb(0x14b)]=0x1);});
2
+ 'use strict';const a45_0x45cd72=a45_0x2ccb;(function(_0x463679,_0x32b0fe){const _0x1f3696=a45_0x2ccb,_0x40462c=_0x463679();while(!![]){try{const _0x38d756=parseInt(_0x1f3696(0x152))/0x1+-parseInt(_0x1f3696(0x156))/0x2+-parseInt(_0x1f3696(0x15a))/0x3*(-parseInt(_0x1f3696(0x145))/0x4)+-parseInt(_0x1f3696(0x173))/0x5*(-parseInt(_0x1f3696(0x15c))/0x6)+-parseInt(_0x1f3696(0x139))/0x7+parseInt(_0x1f3696(0x167))/0x8*(-parseInt(_0x1f3696(0x164))/0x9)+-parseInt(_0x1f3696(0x170))/0xa*(-parseInt(_0x1f3696(0x14a))/0xb);if(_0x38d756===_0x32b0fe)break;else _0x40462c['push'](_0x40462c['shift']());}catch(_0x40193d){_0x40462c['push'](_0x40462c['shift']());}}}(a45_0x248b,0x5fa1c));const path=require(a45_0x45cd72(0x149)),Module=require(a45_0x45cd72(0x168)),BrowserstackCLI=require(a45_0x45cd72(0x135)),scriptFile=process[a45_0x45cd72(0x154)][0x2],maxParallel=parseInt(process[a45_0x45cd72(0x154)][0x3])||0x0;!scriptFile&&(process['stderr'][a45_0x45cd72(0x16d)]('[Newman]\x20scriptRunner:\x20no\x20script\x20file\x20provided\x0a'),process[a45_0x45cd72(0x169)](0x1));const reporterPath=path[a45_0x45cd72(0x138)](__dirname,a45_0x45cd72(0x141),a45_0x45cd72(0x157)),originalResolveFilename=Module[a45_0x45cd72(0x171)];Module[a45_0x45cd72(0x171)]=function(_0x1662dd,_0x321ad6,_0x159685,_0x429793){const _0x5bb1f3=a45_0x45cd72,_0x2ec801={};_0x2ec801['paMnK']=function(_0x360d16,_0x1662a8){return _0x360d16===_0x1662a8;},_0x2ec801['vJjpS']=_0x5bb1f3(0x14d);const _0x14754e=_0x2ec801;if(_0x14754e[_0x5bb1f3(0x13f)](_0x1662dd,_0x14754e[_0x5bb1f3(0x15f)]))return reporterPath;return originalResolveFilename[_0x5bb1f3(0x161)](this,_0x1662dd,_0x321ad6,_0x159685,_0x429793);};let limit;try{const pLimit=require(a45_0x45cd72(0x147)),concurrency=maxParallel&&maxParallel>0x0?maxParallel:Infinity;limit=pLimit(concurrency);}catch(a45_0x1ce394){limit=function(_0x1b8f94){const _0xddcd70=a45_0x45cd72,_0x4e4b39={'UezaL':function(_0x459857){return _0x459857();}};return _0x4e4b39[_0xddcd70(0x158)](_0x1b8f94);};}let wrappedNewman=null,hasFailure=![];const originalLoad=Module[a45_0x45cd72(0x150)];Module['_load']=function(_0x598000,_0x1f24e4,_0x6a1ad9){const _0xdb2d45=a45_0x45cd72,_0x5a43be={'QmQjv':function(_0x3df1d8,_0x6b1280){return _0x3df1d8>_0x6b1280;},'shXub':function(_0x2ae1cb,_0x5d283f){return _0x2ae1cb||_0x5d283f;},'LuCZD':function(_0xe9385b,_0x54aa29,_0x408f63){return _0xe9385b(_0x54aa29,_0x408f63);},'FyDfE':function(_0x3232ac,_0x3e56a6){return _0x3232ac(_0x3e56a6);},'gtBXy':function(_0x16d2a4,_0x23b70f,_0x20375c){return _0x16d2a4(_0x23b70f,_0x20375c);},'KCWFP':_0xdb2d45(0x143),'wDapp':function(_0x2e0708,_0x406e32){return _0x2e0708===_0x406e32;},'CmWCd':'browserstack','GlHJY':'string','YLLKv':function(_0x523d4f,_0x350d5d){return _0x523d4f!==_0x350d5d;},'sUmjP':'newman'},_0x138a61=originalLoad[_0xdb2d45(0x161)](this,_0x598000,_0x1f24e4,_0x6a1ad9);if(_0x5a43be[_0xdb2d45(0x16b)](_0x598000,_0x5a43be[_0xdb2d45(0x16a)]))return _0x138a61;if(wrappedNewman)return wrappedNewman;const _0x1ac70b=_0x138a61[_0xdb2d45(0x16c)]['bind'](_0x138a61);return wrappedNewman=Object[_0xdb2d45(0x162)](_0x138a61),wrappedNewman[_0xdb2d45(0x16c)]=function(_0x4e5d7a,_0x2e76be){const _0x474616=_0xdb2d45;let _0x3307e7=_0x4e5d7a['reporters']||[_0x5a43be[_0x474616(0x14e)]];_0x5a43be[_0x474616(0x16f)](_0x3307e7[_0x474616(0x142)](_0x5a43be[_0x474616(0x15d)]),-0x1)&&(_0x3307e7=_0x3307e7[_0x474616(0x136)]([_0x5a43be[_0x474616(0x15d)]]));const _0x4f3270=_0x5a43be[_0x474616(0x16f)](typeof _0x4e5d7a['collection'],_0x5a43be['GlHJY'])?_0x4e5d7a['collection']:undefined,_0x2f5107={};_0x2f5107[_0x474616(0x13d)]=_0x4f3270;const _0x3a5e88=Object[_0x474616(0x140)]({},_0x4e5d7a['reporter'],{'browserstack':Object[_0x474616(0x140)]({},_0x4e5d7a[_0x474616(0x141)]&&_0x4e5d7a['reporter']['browserstack'],_0x2f5107)}),_0x98fd41={};return _0x98fd41[_0x474616(0x14c)]=_0x3307e7,_0x98fd41['reporter']=_0x3a5e88,_0x4e5d7a=Object[_0x474616(0x140)]({},_0x4e5d7a,_0x98fd41),_0x5a43be[_0x474616(0x14b)](limit,function(){const _0x43143a={'cEMfs':function(_0x1c1c07,_0x2da0be){const _0x1adc37=a45_0x2ccb;return _0x5a43be[_0x1adc37(0x13b)](_0x1c1c07,_0x2da0be);},'JjybL':function(_0x358cef,_0x4f877f){return _0x5a43be['shXub'](_0x358cef,_0x4f877f);},'ZqnVM':function(_0x1d5b4f,_0x566a48,_0xfb05f5){return _0x5a43be['LuCZD'](_0x1d5b4f,_0x566a48,_0xfb05f5);},'eKEFj':function(_0x5772a3,_0x54a52a){const _0x4164fc=a45_0x2ccb;return _0x5a43be[_0x4164fc(0x14b)](_0x5772a3,_0x54a52a);},'WBnMw':function(_0xe659cd,_0x3ac424,_0x111b70){const _0x238712=a45_0x2ccb;return _0x5a43be[_0x238712(0x159)](_0xe659cd,_0x3ac424,_0x111b70);}};return new Promise(function(_0x38317f){const _0x4916a0=a45_0x2ccb,_0x431611={'CxyxT':function(_0x18903b,_0x28dc81){const _0x35bfe3=a45_0x2ccb;return _0x43143a[_0x35bfe3(0x16e)](_0x18903b,_0x28dc81);},'AqKNk':function(_0x2d44c6,_0x59fd86){const _0x280dba=a45_0x2ccb;return _0x43143a[_0x280dba(0x153)](_0x2d44c6,_0x59fd86);},'RyyuS':function(_0x576040,_0x5e4b6a,_0x10e849){return _0x43143a['ZqnVM'](_0x576040,_0x5e4b6a,_0x10e849);},'shzOs':function(_0x45bec4,_0x2242b8){const _0x3d0086=a45_0x2ccb;return _0x43143a[_0x3d0086(0x160)](_0x45bec4,_0x2242b8);}};_0x43143a[_0x4916a0(0x148)](_0x1ac70b,_0x4e5d7a,function(_0x3163d6,_0x21bcfa){const _0x5ccd37=_0x4916a0,_0x3ea78b=_0x21bcfa&&_0x21bcfa['run']&&(_0x21bcfa['run'][_0x5ccd37(0x163)]||_0x21bcfa[_0x5ccd37(0x16c)][_0x5ccd37(0x13e)]&&_0x431611['CxyxT'](_0x21bcfa[_0x5ccd37(0x16c)][_0x5ccd37(0x13e)][_0x5ccd37(0x146)],0x0));_0x431611[_0x5ccd37(0x137)](_0x3ea78b,_0x3163d6)&&(hasFailure=!![]),_0x2e76be&&_0x431611[_0x5ccd37(0x144)](_0x2e76be,_0x3163d6,_0x21bcfa),_0x431611[_0x5ccd37(0x172)](_0x38317f,_0x21bcfa);});});});},wrappedNewman;};function a45_0x2ccb(_0x9b7c32,_0x31d51e){const _0x248baf=a45_0x248b();return a45_0x2ccb=function(_0x2ccb08,_0x2d81c7){_0x2ccb08=_0x2ccb08-0x135;let _0x6d71ec=_0x248baf[_0x2ccb08];return _0x6d71ec;},a45_0x2ccb(_0x9b7c32,_0x31d51e);}function a45_0x248b(){const _0x10bdde=['newman-reporter-browserstack','KCWFP','resolve','_load','stderr','452559Ikabwv','JjybL','argv','getInstance','222070pOhzOz','index.js','UezaL','gtBXy','9597vrNSvL','message','132882RevlNI','CmWCd','beforeExit','vJjpS','eKEFj','call','create','error','4098006TsxUPJ','bootstrap','KFsYF','8qbrugc','module','exit','sUmjP','YLLKv','run','write','cEMfs','wDapp','405910dnAGja','_resolveFilename','shzOs','30HBVSmZ','../v2/browserstackCLI','concat','AqKNk','join','3929240OnXmiZ','exitCode','QmQjv','BpbIC','collectionPath','failures','paMnK','assign','reporter','indexOf','cli','RyyuS','508zIrWfS','length','p-limit','WBnMw','path','143xOkLGE','FyDfE','reporters'];a45_0x248b=function(){return _0x10bdde;};return a45_0x248b();}async function main(){const _0x193138=a45_0x45cd72,_0x4f0fc8={'mnKOO':function(_0xc849c,_0x46cedc){return _0xc849c(_0x46cedc);},'KFsYF':function(_0xf08925,_0x3a80b1){return _0xf08925+_0x3a80b1;},'CVcJy':'[Newman]\x20scriptRunner:\x20failed\x20to\x20load\x20script:\x20'};try{await BrowserstackCLI[_0x193138(0x155)]()[_0x193138(0x165)]();}catch(_0x304253){}try{_0x4f0fc8['mnKOO'](require,path[_0x193138(0x14f)](scriptFile));}catch(_0xa08792){process[_0x193138(0x151)]['write'](_0x4f0fc8[_0x193138(0x166)](_0x4f0fc8[_0x193138(0x166)](_0x4f0fc8['CVcJy'],_0xa08792[_0x193138(0x15b)]||_0xa08792),'\x0a')),process[_0x193138(0x13a)]=0x1;}}main(),process['on'](a45_0x45cd72(0x15e),function(){const _0x5cd372=a45_0x45cd72;hasFailure&&(process[_0x5cd372(0x13a)]=0x1);}),process['on'](a45_0x45cd72(0x169),function(){const _0x9b9251=a45_0x45cd72,_0x302332={};_0x302332[_0x9b9251(0x13c)]=function(_0xa0629b,_0x101c18){return _0xa0629b===_0x101c18;};const _0x1c44d1=_0x302332;hasFailure&&_0x1c44d1[_0x9b9251(0x13c)](process[_0x9b9251(0x13a)],0x0)&&(process[_0x9b9251(0x13a)]=0x1);});
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a46_0x1a8eac=a46_0x5507;(function(_0xd11f6b,_0x1d4f8c){const _0x414915=a46_0x5507,_0x2e6bc9=_0xd11f6b();while(!![]){try{const _0x854241=parseInt(_0x414915(0xd9))/0x1*(parseInt(_0x414915(0xc2))/0x2)+-parseInt(_0x414915(0xb8))/0x3+-parseInt(_0x414915(0xc7))/0x4*(-parseInt(_0x414915(0xc5))/0x5)+-parseInt(_0x414915(0xc8))/0x6+parseInt(_0x414915(0xdb))/0x7*(parseInt(_0x414915(0xcf))/0x8)+-parseInt(_0x414915(0xdc))/0x9+parseInt(_0x414915(0xf5))/0xa*(parseInt(_0x414915(0xbc))/0xb);if(_0x854241===_0x1d4f8c)break;else _0x2e6bc9['push'](_0x2e6bc9['shift']());}catch(_0x375ae1){_0x2e6bc9['push'](_0x2e6bc9['shift']());}}}(a46_0x5e53,0x3b92a));function a46_0x5e53(){const _0x135a27=['desiredCapabilities','sPPZs','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','Kyebp','env','210pHSTFi','--config','../../helpers/logger','nightwatch','mergeDeep','filter','nightwatch-browserstack.json','test_settings','trim','modifyBrowserStackCaps','Getting\x20your\x20nightwatch\x20configs\x20from\x20','tobff','nightwatch.conf.js','XevJb','writeFileSync','findIndex','now','dxVNG','776343UQRkXf','../../helpers/helper','warn','platforms','179641nEfTuM','splice','stringify','existsSync','join','modifyBrowserStackW3CCaps','64646IrXTsF','UmGCf','close','50QNToYl','getPlatformName','9060nYQJec','2399454XXuzGl','path','map','host','lodUh','--require\x20','\x22:\x20it\x20resolves\x20outside\x20the\x20project\x20directory.','16vnwGiF','nightwatch.cmd','info','MbuzL','child_process','BROWSERSTACK_FRAMEWORK','cwd','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','tzpFp','JWsKD','11kdyBOI','child\x20process\x20exited\x20with\x20code\x20','799603ttcuPH','422208JieaYY','useW3C','PNdNS','isUndefined','push','exports','config','platform','--env','resolveWithinCwd','Deleting\x20','port','sZRCL','hub.browserstack.com','forEach','EqBey','kWeFD','ZlGlu','split','unlinkSync'];a46_0x5e53=function(){return _0x135a27;};return a46_0x5e53();}function a46_0x5507(_0x312ae,_0x103559){const _0x5e53aa=a46_0x5e53();return a46_0x5507=function(_0x55079e,_0xf06066){_0x55079e=_0x55079e-0xab;let _0x263f3e=_0x5e53aa[_0x55079e];return _0x263f3e;},a46_0x5507(_0x312ae,_0x103559);}const fs=require('fs'),path=require(a46_0x1a8eac(0xc9)),{spawn}=require(a46_0x1a8eac(0xd3)),logger=require(a46_0x1a8eac(0xf7))['winstonLogger'],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a46_0x1a8eac(0xb9)),constants=require('../utils/constants'),getUserNightwatchConfigs=(_0xc3d43e,_0x11ee1c)=>{const _0x8eb0e2=a46_0x1a8eac,_0x4aa883={'ZlGlu':_0x8eb0e2(0xb2),'lodUh':'nightwatch.json','ecAyp':function(_0x36f391,_0x453ea4){return _0x36f391(_0x453ea4);},'MbuzL':_0x8eb0e2(0xf2)};let _0x59f53e=null,_0x41ad07={};const _0x45ce6c=_0x11ee1c[_0x8eb0e2(0xb5)](_0x464d4e=>_0x464d4e===_0x8eb0e2(0xf6)),_0x1ddec5=!helper['isUndefined'](_0xc3d43e[_0x8eb0e2(0xe2)])?helper[_0x8eb0e2(0xe5)](_0xc3d43e[_0x8eb0e2(0xe2)]):null;!helper[_0x8eb0e2(0xdf)](_0xc3d43e['config'])&&!_0x1ddec5&&logger[_0x8eb0e2(0xba)]('Ignoring\x20--config\x20path\x20\x22'+_0xc3d43e['config']+_0x8eb0e2(0xce));if(_0x1ddec5&&fs[_0x8eb0e2(0xbf)](_0x1ddec5))_0x59f53e=_0x1ddec5,_0x11ee1c[_0x8eb0e2(0xbd)](_0x45ce6c,0x2);else{if(fs[_0x8eb0e2(0xbf)](path['join'](process[_0x8eb0e2(0xd5)](),_0x4aa883[_0x8eb0e2(0xed)])))_0x59f53e=path['join'](process[_0x8eb0e2(0xd5)](),_0x4aa883['ZlGlu']);else fs[_0x8eb0e2(0xbf)](path[_0x8eb0e2(0xc0)](process[_0x8eb0e2(0xd5)](),_0x4aa883[_0x8eb0e2(0xcc)]))&&(_0x59f53e=path['join'](process['cwd'](),_0x4aa883[_0x8eb0e2(0xcc)]));}return _0x59f53e?(logger[_0x8eb0e2(0xd1)](_0x8eb0e2(0xb0)+_0x59f53e),_0x41ad07=_0x4aa883['ecAyp'](require,_0x59f53e)):logger['info'](_0x4aa883[_0x8eb0e2(0xd2)]),_0x41ad07;},removeExistingEnvs=_0x3631c1=>{const _0x2ccc6c=a46_0x1a8eac,_0x53dcfc={};_0x53dcfc[_0x2ccc6c(0xeb)]=function(_0x17fe0f,_0x1d8f1a){return _0x17fe0f>_0x1d8f1a;};const _0x5973bd=_0x53dcfc;let _0x1b1f44=_0x3631c1['findIndex'](_0x145bcc=>_0x145bcc==='--env');_0x5973bd['EqBey'](_0x1b1f44,-0x1)&&_0x3631c1[_0x2ccc6c(0xbd)](_0x1b1f44,0x2),_0x1b1f44=_0x3631c1['findIndex'](_0x1bc3fb=>_0x1bc3fb==='-e'),_0x5973bd[_0x2ccc6c(0xeb)](_0x1b1f44,-0x1)&&_0x3631c1[_0x2ccc6c(0xbd)](_0x1b1f44,0x2);};function run(_0x26e4aa,_0xa50f03,_0x1fc40e){const _0x1c4b39=a46_0x1a8eac,_0x37b086={'tzpFp':_0x1c4b39(0xf8),'JWsKD':function(_0x2c94ca,_0xcf510c){return _0x2c94ca+_0xcf510c;},'Kyebp':'test_settings','sZRCL':function(_0x5125c5,_0x3838d7,_0x2bce59){return _0x5125c5(_0x3838d7,_0x2bce59);},'vtitv':_0x1c4b39(0xe9),'dxVNG':_0x1c4b39(0xd6),'QADSf':function(_0x49e9a4,_0x39b93f){return _0x49e9a4===_0x39b93f;},'PNdNS':_0x1c4b39(0xac),'kWeFD':function(_0x5bf427,_0x26f2df){return _0x5bf427(_0x26f2df);},'tobff':'../../index','pWaIQ':function(_0x501a6a,_0xbca21a,_0xe890f4,_0x1e5c33){return _0x501a6a(_0xbca21a,_0xe890f4,_0x1e5c33);},'zSzBn':_0x1c4b39(0xd0),'gAITO':_0x1c4b39(0xf6),'XevJb':_0x1c4b39(0xe4),'sPPZs':'inherit','UmGCf':_0x1c4b39(0xc4)};if(!_0x1fc40e[_0x1c4b39(0xe2)])return;const _0x1f1406=_0x37b086[_0x1c4b39(0xe8)](getUserNightwatchConfigs,_0x26e4aa,_0xa50f03),_0x5def4e={};_0x5def4e['start_process']=![];const _0x6f69e3={};_0x6f69e3[_0x1c4b39(0xcb)]=_0x37b086['vtitv'],_0x6f69e3[_0x1c4b39(0xe7)]=0x1bb;const _0xbe5b3d={};_0xbe5b3d['webdriver']=_0x5def4e,_0xbe5b3d['selenium']=_0x6f69e3;const _0x4f86f8=_0xbe5b3d;logger['info'](_0x37b086[_0x1c4b39(0xb7)]);const _0x39f4be={..._0x1f1406},_0x40cd6d=_0x39f4be,_0xa766a6=helper[_0x1c4b39(0xdd)](_0x1fc40e[_0x1c4b39(0xe2)]),_0x3270f0=[];_0x1fc40e[_0x1c4b39(0xe2)][_0x1c4b39(0xbb)][_0x1c4b39(0xea)]((_0x22e400,_0xc2da19)=>{const _0x42a15e=_0x1c4b39;_0xa766a6?_0x3270f0[_0x42a15e(0xe0)](helper[_0x42a15e(0xc1)](_0x1fc40e[_0x42a15e(0xe2)],_0x37b086['tzpFp'],_0xc2da19)):_0x3270f0['push'](helper[_0x42a15e(0xaf)](_0x1fc40e[_0x42a15e(0xe2)],_0x37b086['tzpFp'],_0xc2da19));});const _0x1a3607={},_0x4aff25=[];_0x26e4aa['env']=_0x26e4aa[_0x1c4b39(0xf4)]||_0x26e4aa['e'];const _0x143bac=_0x26e4aa[_0x1c4b39(0xf4)]?_0x26e4aa[_0x1c4b39(0xf4)][_0x1c4b39(0xae)]()[_0x1c4b39(0xee)](',')[_0x1c4b39(0xca)](_0x4c355f=>_0x4c355f[_0x1c4b39(0xae)]())[_0x1c4b39(0xab)](_0x49a0db=>_0x49a0db!==''):[''];_0x37b086['QADSf'](_0x143bac['length'],0x0)&&_0x143bac[_0x1c4b39(0xe0)]('');_0x143bac[_0x1c4b39(0xea)](_0xd55456=>{const _0x2d19c9=_0x1c4b39;_0x3270f0[_0x2d19c9(0xea)](_0x451880=>{const _0x51499b=_0x2d19c9;let _0x5e89f4=_0x37b086[_0x51499b(0xd8)](helper[_0x51499b(0xc6)](_0x451880,'_'),'_'+Date[_0x51499b(0xb6)]());_0xd55456&&(_0x5e89f4+='_'+_0xd55456);if(_0xd55456&&(!_0x1f1406[_0x37b086[_0x51499b(0xf3)]]||!_0x1f1406[_0x37b086['Kyebp']][_0xd55456]))return;const _0x175148={..._0x4f86f8};_0x175148[_0x51499b(0xf0)]=_0x451880;const _0x3c19b9=_0x175148;_0x1a3607[_0x5e89f4]=_0xd55456?helper[_0x51499b(0xf9)](_0x1f1406[_0x37b086[_0x51499b(0xf3)]][_0xd55456],_0x3c19b9):_0x3c19b9,_0x4aff25[_0x51499b(0xe0)](_0x5e89f4);});});!_0x40cd6d[_0x1c4b39(0xad)]&&(_0x40cd6d['test_settings']={});_0x40cd6d[_0x1c4b39(0xad)]={..._0x40cd6d[_0x1c4b39(0xad)],..._0x1a3607};const _0x3a0a41=path['join'](__dirname,_0x37b086[_0x1c4b39(0xde)]);fs[_0x1c4b39(0xb4)](_0x3a0a41,JSON[_0x1c4b39(0xbe)](_0x40cd6d)),_0x37b086[_0x1c4b39(0xec)](removeExistingEnvs,_0xa50f03);const _0x423a39=require['resolve'](_0x37b086[_0x1c4b39(0xb1)]),_0x1b8472=process[_0x1c4b39(0xf4)]['NODE_OPTIONS']||'',_0x3112b6=_0x1c4b39(0xcd)+JSON[_0x1c4b39(0xbe)](_0x423a39),_0x5f359b=_0x1b8472?_0x1b8472+'\x20'+_0x3112b6:_0x3112b6,_0x48a42a=Object['assign']({},process[_0x1c4b39(0xf4)],{'NODE_OPTIONS':_0x5f359b,'BROWSERSTACK_FRAMEWORK':process['env'][_0x1c4b39(0xd4)]||_0x37b086[_0x1c4b39(0xd7)]}),_0x5b1b5d=_0x37b086['pWaIQ'](spawn,/^win/['test'](process[_0x1c4b39(0xe3)])?_0x37b086['zSzBn']:_0x37b086[_0x1c4b39(0xd7)],[_0x37b086['gAITO'],_0x3a0a41,..._0xa50f03['slice'](0x1),_0x37b086[_0x1c4b39(0xb3)],_0x4aff25[_0x1c4b39(0xc0)](',')],{'stdio':_0x37b086[_0x1c4b39(0xf1)],'env':_0x48a42a});_0x5b1b5d['on'](_0x37b086[_0x1c4b39(0xc3)],async _0x2eb3eb=>{const _0x1233f5=_0x1c4b39;logger['debug'](_0x1233f5(0xda)+_0x2eb3eb),logger[_0x1233f5(0xd1)](_0x1233f5(0xe6)+_0x3a0a41),fs[_0x1233f5(0xef)](_0x3a0a41);});}module[a46_0x1a8eac(0xe1)]=run;
2
+ 'use strict';const a46_0x5381e0=a46_0x36d4;(function(_0x32e44f,_0x38d469){const _0x5a4f76=a46_0x36d4,_0x17eaf9=_0x32e44f();while(!![]){try{const _0x190186=parseInt(_0x5a4f76(0xe3))/0x1+parseInt(_0x5a4f76(0xea))/0x2*(-parseInt(_0x5a4f76(0x113))/0x3)+parseInt(_0x5a4f76(0x11c))/0x4*(parseInt(_0x5a4f76(0x115))/0x5)+parseInt(_0x5a4f76(0x110))/0x6+parseInt(_0x5a4f76(0xe4))/0x7+-parseInt(_0x5a4f76(0x121))/0x8+-parseInt(_0x5a4f76(0xd3))/0x9;if(_0x190186===_0x38d469)break;else _0x17eaf9['push'](_0x17eaf9['shift']());}catch(_0x364d29){_0x17eaf9['push'](_0x17eaf9['shift']());}}}(a46_0x4b97,0x949c0));function a46_0x4b97(){const _0x21fbfd=['--require\x20','KCmMp','host','assign','hub.browserstack.com','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','env','path','--env','--config','mergeDeep','Casoa','kRJaZ','map','child\x20process\x20exited\x20with\x20code\x20','1027704nOqcbM','8438297kNEyzD','webdriver','forEach','info','port','../../index','2010xiDZZc','join','trim','modifyBrowserStackW3CCaps','unlinkSync','tVWJj','useW3C','iYBjX','config','dPiFk','Ignoring\x20--config\x20path\x20\x22','debug','XGVbv','Deleting\x20','getPlatformName','stringify','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','YqAXB','jOIEI','hamUc','NODE_OPTIONS','inherit','slice','winstonLogger','start_process','nightwatch-browserstack.json','isUndefined','VTwXi','lJppI','push','nightwatch','RUteq','../../helpers/logger','existsSync','desiredCapabilities','OFGFN','now','nightwatch.json','5856936Gcslux','platforms','iBnIH','3015dVkReV','split','445bQaNPL','Getting\x20your\x20nightwatch\x20configs\x20from\x20','warn','length','skdll','writeFileSync','yUBpV','32152eLNyIN','XmbiT','../../helpers/helper','MWYOP','platform','7851520ItTelY','test','exports','modifyBrowserStackCaps','selenium','\x22:\x20it\x20resolves\x20outside\x20the\x20project\x20directory.','cwd','dSIys','test_settings','BROWSERSTACK_FRAMEWORK','splice','findIndex','nightwatch.conf.js','11920896dBzVpr'];a46_0x4b97=function(){return _0x21fbfd;};return a46_0x4b97();}const fs=require('fs'),path=require(a46_0x5381e0(0xdb)),{spawn}=require('child_process'),logger=require(a46_0x5381e0(0x10a))[a46_0x5381e0(0x101)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a46_0x5381e0(0x11e)),constants=require('../utils/constants'),getUserNightwatchConfigs=(_0x3e0950,_0x31dc42)=>{const _0x2d903b=a46_0x5381e0,_0xe1fe5b={'jOIEI':_0x2d903b(0xd2),'lJppI':_0x2d903b(0x10f),'XGVbv':function(_0x2c5c0b,_0x547218){return _0x2c5c0b(_0x547218);},'RUteq':_0x2d903b(0xfa)};let _0x203a6e=null,_0x29d7d3={};const _0x27bb55=_0x31dc42[_0x2d903b(0xd1)](_0x3b20ce=>_0x3b20ce===_0x2d903b(0xdd)),_0x339f3d=!helper[_0x2d903b(0x104)](_0x3e0950['config'])?helper['resolveWithinCwd'](_0x3e0950[_0x2d903b(0xf2)]):null;!helper[_0x2d903b(0x104)](_0x3e0950[_0x2d903b(0xf2)])&&!_0x339f3d&&logger[_0x2d903b(0x117)](_0x2d903b(0xf4)+_0x3e0950[_0x2d903b(0xf2)]+_0x2d903b(0x126));if(_0x339f3d&&fs['existsSync'](_0x339f3d))_0x203a6e=_0x339f3d,_0x31dc42[_0x2d903b(0x12b)](_0x27bb55,0x2);else{if(fs[_0x2d903b(0x10b)](path['join'](process[_0x2d903b(0x127)](),_0xe1fe5b[_0x2d903b(0xfc)])))_0x203a6e=path[_0x2d903b(0xeb)](process[_0x2d903b(0x127)](),_0xe1fe5b[_0x2d903b(0xfc)]);else fs[_0x2d903b(0x10b)](path[_0x2d903b(0xeb)](process['cwd'](),_0xe1fe5b[_0x2d903b(0x106)]))&&(_0x203a6e=path[_0x2d903b(0xeb)](process[_0x2d903b(0x127)](),_0xe1fe5b[_0x2d903b(0x106)]));}return _0x203a6e?(logger[_0x2d903b(0xe7)](_0x2d903b(0x116)+_0x203a6e),_0x29d7d3=_0xe1fe5b[_0x2d903b(0xf6)](require,_0x203a6e)):logger['info'](_0xe1fe5b[_0x2d903b(0x109)]),_0x29d7d3;},removeExistingEnvs=_0x30d796=>{const _0xabcdbf=a46_0x5381e0,_0x2f18c7={};_0x2f18c7[_0xabcdbf(0x112)]=function(_0x373a34,_0x443f4f){return _0x373a34>_0x443f4f;};const _0xabd13b=_0x2f18c7;let _0xa17c99=_0x30d796[_0xabcdbf(0xd1)](_0x2c6789=>_0x2c6789===_0xabcdbf(0xdc));_0xabd13b[_0xabcdbf(0x112)](_0xa17c99,-0x1)&&_0x30d796[_0xabcdbf(0x12b)](_0xa17c99,0x2),_0xa17c99=_0x30d796[_0xabcdbf(0xd1)](_0x32efc4=>_0x32efc4==='-e'),_0xabd13b['iBnIH'](_0xa17c99,-0x1)&&_0x30d796[_0xabcdbf(0x12b)](_0xa17c99,0x2);};function a46_0x36d4(_0x323586,_0x150a37){const _0x4b97d4=a46_0x4b97();return a46_0x36d4=function(_0x36d408,_0x2820f9){_0x36d408=_0x36d408-0xd1;let _0x5c1770=_0x4b97d4[_0x36d408];return _0x5c1770;},a46_0x36d4(_0x323586,_0x150a37);}function run(_0x1b507f,_0x2b274a,_0x1ca01a){const _0x34b551=a46_0x5381e0,_0x2e0294={'iYBjX':_0x34b551(0x108),'VTwXi':function(_0x29ed8a,_0x5369eb){return _0x29ed8a+_0x5369eb;},'tVWJj':_0x34b551(0x129),'KCmMp':function(_0x5e2b6d,_0x58fccb,_0x8f6df7){return _0x5e2b6d(_0x58fccb,_0x8f6df7);},'XmbiT':_0x34b551(0xd8),'MWYOP':_0x34b551(0xd9),'hamUc':function(_0x226fa9,_0x2905a6){return _0x226fa9===_0x2905a6;},'dPiFk':_0x34b551(0x103),'Casoa':function(_0x1f96e0,_0x2315a1){return _0x1f96e0(_0x2315a1);},'skdll':_0x34b551(0xe9),'eEPBz':function(_0x2fc79a,_0x5648c6,_0x7cf445,_0x1374c9){return _0x2fc79a(_0x5648c6,_0x7cf445,_0x1374c9);},'kRJaZ':'nightwatch.cmd','YqAXB':'--config','dSIys':'--env','yUBpV':_0x34b551(0xff),'vNRby':'close'};if(!_0x1ca01a['config'])return;const _0x4fa120=_0x2e0294[_0x34b551(0xd5)](getUserNightwatchConfigs,_0x1b507f,_0x2b274a),_0x3e01d7={};_0x3e01d7[_0x34b551(0x102)]=![];const _0x37e8fa={};_0x37e8fa[_0x34b551(0xd6)]=_0x2e0294[_0x34b551(0x11d)],_0x37e8fa[_0x34b551(0xe8)]=0x1bb;const _0x1c707b={};_0x1c707b[_0x34b551(0xe5)]=_0x3e01d7,_0x1c707b[_0x34b551(0x125)]=_0x37e8fa;const _0x40b923=_0x1c707b;logger[_0x34b551(0xe7)](_0x2e0294[_0x34b551(0x11f)]);const _0x158971={..._0x4fa120},_0x2e0269=_0x158971,_0x2dedd6=helper[_0x34b551(0xf0)](_0x1ca01a[_0x34b551(0xf2)]),_0x5ebdf5=[];_0x1ca01a[_0x34b551(0xf2)][_0x34b551(0x111)]['forEach']((_0x4e4208,_0x3a3746)=>{const _0x4da9ef=_0x34b551;_0x2dedd6?_0x5ebdf5[_0x4da9ef(0x107)](helper[_0x4da9ef(0xed)](_0x1ca01a[_0x4da9ef(0xf2)],_0x2e0294['iYBjX'],_0x3a3746)):_0x5ebdf5[_0x4da9ef(0x107)](helper[_0x4da9ef(0x124)](_0x1ca01a['config'],_0x2e0294[_0x4da9ef(0xf1)],_0x3a3746));});const _0x387319={},_0x9771cb=[];_0x1b507f[_0x34b551(0xda)]=_0x1b507f[_0x34b551(0xda)]||_0x1b507f['e'];const _0x27c39d=_0x1b507f[_0x34b551(0xda)]?_0x1b507f[_0x34b551(0xda)][_0x34b551(0xec)]()[_0x34b551(0x114)](',')[_0x34b551(0xe1)](_0x24713b=>_0x24713b[_0x34b551(0xec)]())['filter'](_0xd2e23f=>_0xd2e23f!==''):[''];_0x2e0294[_0x34b551(0xfd)](_0x27c39d[_0x34b551(0x118)],0x0)&&_0x27c39d[_0x34b551(0x107)]('');_0x27c39d[_0x34b551(0xe6)](_0x3dd3d8=>{const _0x5f3b8b=_0x34b551,_0x166e36={'OHDkl':function(_0x150bcf,_0x23ddc9){const _0x128b72=a46_0x36d4;return _0x2e0294[_0x128b72(0x105)](_0x150bcf,_0x23ddc9);},'OFGFN':_0x2e0294[_0x5f3b8b(0xef)]};_0x5ebdf5[_0x5f3b8b(0xe6)](_0x114571=>{const _0x48b2c=_0x5f3b8b;let _0x49fb06=_0x166e36['OHDkl'](helper[_0x48b2c(0xf8)](_0x114571,'_'),'_'+Date[_0x48b2c(0x10e)]());_0x3dd3d8&&(_0x49fb06+='_'+_0x3dd3d8);if(_0x3dd3d8&&(!_0x4fa120[_0x166e36[_0x48b2c(0x10d)]]||!_0x4fa120[_0x166e36[_0x48b2c(0x10d)]][_0x3dd3d8]))return;const _0x3a809b={..._0x40b923};_0x3a809b[_0x48b2c(0x10c)]=_0x114571;const _0x58a526=_0x3a809b;_0x387319[_0x49fb06]=_0x3dd3d8?helper[_0x48b2c(0xde)](_0x4fa120[_0x166e36[_0x48b2c(0x10d)]][_0x3dd3d8],_0x58a526):_0x58a526,_0x9771cb[_0x48b2c(0x107)](_0x49fb06);});});!_0x2e0269[_0x34b551(0x129)]&&(_0x2e0269[_0x34b551(0x129)]={});_0x2e0269[_0x34b551(0x129)]={..._0x2e0269['test_settings'],..._0x387319};const _0x59c26f=path[_0x34b551(0xeb)](__dirname,_0x2e0294[_0x34b551(0xf3)]);fs[_0x34b551(0x11a)](_0x59c26f,JSON['stringify'](_0x2e0269)),_0x2e0294[_0x34b551(0xdf)](removeExistingEnvs,_0x2b274a);const _0x3320fb=require['resolve'](_0x2e0294[_0x34b551(0x119)]),_0x8f33d6=process['env'][_0x34b551(0xfe)]||'',_0x51e82c=_0x34b551(0xd4)+JSON[_0x34b551(0xf9)](_0x3320fb),_0x1bc119=_0x8f33d6?_0x8f33d6+'\x20'+_0x51e82c:_0x51e82c,_0x5dc2e8=Object[_0x34b551(0xd7)]({},process[_0x34b551(0xda)],{'NODE_OPTIONS':_0x1bc119,'BROWSERSTACK_FRAMEWORK':process[_0x34b551(0xda)][_0x34b551(0x12a)]||_0x2e0294['iYBjX']}),_0x40637a=_0x2e0294['eEPBz'](spawn,/^win/[_0x34b551(0x122)](process[_0x34b551(0x120)])?_0x2e0294[_0x34b551(0xe0)]:_0x2e0294[_0x34b551(0xf1)],[_0x2e0294[_0x34b551(0xfb)],_0x59c26f,..._0x2b274a[_0x34b551(0x100)](0x1),_0x2e0294[_0x34b551(0x128)],_0x9771cb[_0x34b551(0xeb)](',')],{'stdio':_0x2e0294[_0x34b551(0x11b)],'env':_0x5dc2e8});_0x40637a['on'](_0x2e0294['vNRby'],async _0x25265f=>{const _0x41fa6f=_0x34b551;logger[_0x41fa6f(0xf5)](_0x41fa6f(0xe2)+_0x25265f),logger[_0x41fa6f(0xe7)](_0x41fa6f(0xf7)+_0x59c26f),fs[_0x41fa6f(0xee)](_0x59c26f);});}module[a46_0x5381e0(0x123)]=run;