browserstack-node-sdk 1.68.1 → 1.69.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 (227) 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/generated/sdk-messages_pb.d.ts +172 -0
  41. package/generated/sdk-messages_pb.js +1334 -0
  42. package/generated/sdk_grpc_pb.d.ts +10 -0
  43. package/generated/sdk_grpc_pb.js +69 -0
  44. package/package.json +5 -1
  45. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  46. package/src/bin/codeceptjs/command.js +1 -1
  47. package/src/bin/codeceptjs/helper.js +1 -1
  48. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  49. package/src/bin/cucumber-js/command.js +1 -1
  50. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  51. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  52. package/src/bin/cucumber-js/test-observability.js +1 -1
  53. package/src/bin/cucumber-js/test.setup.js +1 -1
  54. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  55. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  56. package/src/bin/detox/a11ySetup.js +1 -1
  57. package/src/bin/detox/command.js +1 -1
  58. package/src/bin/detox/modifyDetoxConf.js +1 -1
  59. package/src/bin/detox/traEmitter.js +1 -1
  60. package/src/bin/integrations/command.js +1 -1
  61. package/src/bin/integrations/constants.js +1 -1
  62. package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
  63. package/src/bin/jasmine/command.js +1 -1
  64. package/src/bin/jasmine/test.setup.js +1 -1
  65. package/src/bin/jasmine/testRunMap.js +1 -1
  66. package/src/bin/jest/command.js +1 -1
  67. package/src/bin/jest/customImplements/customCircus.js +1 -1
  68. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  69. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  70. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  71. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  72. package/src/bin/jest/jest.setup.js +1 -1
  73. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  74. package/src/bin/jest/test-observability/helper.js +1 -1
  75. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  76. package/src/bin/jest/test-observability/test-details.js +1 -1
  77. package/src/bin/jest/test.setup.js +1 -1
  78. package/src/bin/jest/test_before.setup.js +1 -1
  79. package/src/bin/launcher/launcher.js +1 -1
  80. package/src/bin/load/index.js +1 -1
  81. package/src/bin/load/loadErrors.js +1 -1
  82. package/src/bin/load/loadUtils.js +1 -1
  83. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  84. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  85. package/src/bin/mocha/command.js +1 -1
  86. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  87. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  88. package/src/bin/mocha/test.setup.js +1 -1
  89. package/src/bin/newman/command.js +1 -1
  90. package/src/bin/newman/helper.js +1 -1
  91. package/src/bin/newman/reporter/index.js +1 -1
  92. package/src/bin/newman/scriptRunner.js +1 -1
  93. package/src/bin/nightwatch/command.js +1 -1
  94. package/src/bin/node-generic/client.js +1 -1
  95. package/src/bin/playwright/accessibility-helper.js +1 -1
  96. package/src/bin/playwright/command.js +1 -1
  97. package/src/bin/playwright/globalSetup.js +1 -1
  98. package/src/bin/playwright/mock-process.js +1 -1
  99. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  100. package/src/bin/playwright/patches.js +1 -1
  101. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  102. package/src/bin/playwright/reporter/reporter.js +1 -1
  103. package/src/bin/playwright/reporter/test-details.js +1 -1
  104. package/src/bin/playwright/reporterArgs.js +1 -1
  105. package/src/bin/playwright/sessionDetails.js +1 -1
  106. package/src/bin/puppeteer/patches.js +1 -1
  107. package/src/bin/puppeteer/sessionDetails.js +1 -1
  108. package/src/bin/puppeteer/test.setup.js +1 -1
  109. package/src/bin/runner.js +1 -1
  110. package/src/bin/setup.js +1 -1
  111. package/src/bin/test-runner/index.js +1 -1
  112. package/src/bin/test-runner/runTest.js +1 -1
  113. package/src/bin/test-runner/testWorker.js +1 -1
  114. package/src/bin/testcafe/a11y-runner.js +1 -1
  115. package/src/bin/testcafe/command.js +1 -1
  116. package/src/bin/testcafe/reporter/index.js +1 -1
  117. package/src/bin/testcafe/reporter/tcUtils.js +1 -1
  118. package/src/bin/testcafe/session-registry.js +1 -1
  119. package/src/bin/testcafe/stdout-interceptor.js +1 -1
  120. package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
  121. package/src/bin/testcafe/w3c-driver.js +1 -1
  122. package/src/bin/utils/apiUtilityMethods.js +1 -1
  123. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  124. package/src/bin/utils/constants.js +1 -1
  125. package/src/bin/utils/log4jsAppender.js +1 -1
  126. package/src/bin/utils/logPatcher.js +1 -1
  127. package/src/bin/utils/logReportingAPI.js +1 -1
  128. package/src/bin/utils/playwright-patcher.js +1 -1
  129. package/src/bin/utils/puppeteer-patcher.js +1 -1
  130. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  131. package/src/bin/utils/sharedUtils.js +1 -1
  132. package/src/bin/v2/TestInfo.js +1 -1
  133. package/src/bin/v2/browserstackCLI.js +1 -1
  134. package/src/bin/v2/cliUtils.js +1 -1
  135. package/src/bin/v2/customTagManager.js +1 -1
  136. package/src/bin/v2/eventDispatcher.js +1 -1
  137. package/src/bin/v2/framework/automationFramework.js +1 -1
  138. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  139. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  140. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  141. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  142. package/src/bin/v2/framework/mochaTestFramework.js +1 -0
  143. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  144. package/src/bin/v2/framework/nodeGenericTestFramework.js +1 -1
  145. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  146. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  147. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  148. package/src/bin/v2/framework/seleniumAutomationFramework.js +1 -0
  149. package/src/bin/v2/framework/testFramework.js +1 -1
  150. package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
  151. package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
  152. package/src/bin/v2/grpcClient.js +1 -1
  153. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  154. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  155. package/src/bin/v2/instances/trackedContext.js +1 -1
  156. package/src/bin/v2/instances/trackedInstance.js +1 -1
  157. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  158. package/src/bin/v2/modules/baseModule.js +1 -1
  159. package/src/bin/v2/modules/loadTestModule.js +1 -1
  160. package/src/bin/v2/modules/observabilityModule.js +1 -1
  161. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  162. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  163. package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
  164. package/src/bin/v2/modules/testhubModule.js +1 -1
  165. package/src/bin/v2/runStateStore.js +1 -0
  166. package/src/bin/v2/sdkErrorHandler.js +1 -1
  167. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  168. package/src/bin/v2/state/hookState.js +1 -1
  169. package/src/bin/v2/state/testFrameworkState.js +1 -1
  170. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  171. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  172. package/src/bin/v2/utils/jest-utils.js +1 -1
  173. package/src/bin/vanilla-js/command.js +1 -1
  174. package/src/browserStackSdk.js +1 -1
  175. package/src/helpers/BrowserStackSetup.js +1 -1
  176. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  177. package/src/helpers/accessibility-automation/constants.js +1 -1
  178. package/src/helpers/accessibility-automation/helper.js +1 -1
  179. package/src/helpers/accessibility-automation/scripts.js +1 -1
  180. package/src/helpers/ats/constants.js +1 -1
  181. package/src/helpers/ats/helper.js +1 -1
  182. package/src/helpers/caCertHelper.js +1 -1
  183. package/src/helpers/capsMapping.js +1 -1
  184. package/src/helpers/central-scanner/constants.js +1 -1
  185. package/src/helpers/central-scanner/helpers.js +1 -1
  186. package/src/helpers/classLogger.js +1 -1
  187. package/src/helpers/driverInitErrorReporter.js +1 -1
  188. package/src/helpers/globals.js +1 -1
  189. package/src/helpers/helper.js +1 -1
  190. package/src/helpers/logger.js +1 -1
  191. package/src/helpers/metadata.js +1 -1
  192. package/src/helpers/patchHelper.js +1 -1
  193. package/src/helpers/patchHelpers.js +1 -1
  194. package/src/helpers/percy/Percy.js +1 -1
  195. package/src/helpers/percy/PercyBinary.js +1 -1
  196. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  197. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  198. package/src/helpers/percy/PercySDK.js +1 -1
  199. package/src/helpers/percy/index.js +1 -1
  200. package/src/helpers/percy/utils.js +1 -1
  201. package/src/helpers/performance/constants.js +1 -1
  202. package/src/helpers/performance/performance-tester.js +1 -1
  203. package/src/helpers/playwright-helper.js +1 -1
  204. package/src/helpers/processHelper.js +1 -1
  205. package/src/helpers/puppeteer-helper.js +1 -1
  206. package/src/helpers/request-spy.js +1 -1
  207. package/src/helpers/setKeepAlive.js +1 -1
  208. package/src/helpers/stackFrameUtils.js +1 -1
  209. package/src/helpers/test-observability/constants.js +1 -1
  210. package/src/helpers/test-observability/error-handler.js +1 -1
  211. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  212. package/src/helpers/test-observability/sessionHandler.js +1 -1
  213. package/src/helpers/test-observability/utils.js +1 -1
  214. package/src/helpers/test-orchestration/constants.js +1 -1
  215. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  216. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  217. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  218. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  219. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  220. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  221. package/src/helpers/testhub/constants.js +1 -1
  222. package/src/helpers/testhub/testhubHandler.js +1 -1
  223. package/src/helpers/testhub/utils.js +1 -1
  224. package/src/helpers/utilities.js +1 -1
  225. package/src/helpers/w3cMapping.js +1 -1
  226. package/src/hubAllocationMethods.js +1 -1
  227. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a43_0x366a1f=a43_0x5102;(function(_0xa7100d,_0x1adbbc){const _0x12873b=a43_0x5102,_0x2634d3=_0xa7100d();while(!![]){try{const _0x7b5a8a=-parseInt(_0x12873b(0x1b8))/0x1*(-parseInt(_0x12873b(0x1a8))/0x2)+parseInt(_0x12873b(0x116))/0x3+-parseInt(_0x12873b(0x1d1))/0x4+-parseInt(_0x12873b(0x1cd))/0x5*(parseInt(_0x12873b(0x16e))/0x6)+parseInt(_0x12873b(0x146))/0x7*(parseInt(_0x12873b(0x19c))/0x8)+-parseInt(_0x12873b(0x1b2))/0x9*(-parseInt(_0x12873b(0x118))/0xa)+parseInt(_0x12873b(0x1a6))/0xb*(-parseInt(_0x12873b(0x1ba))/0xc);if(_0x7b5a8a===_0x1adbbc)break;else _0x2634d3['push'](_0x2634d3['shift']());}catch(_0x613dec){_0x2634d3['push'](_0x2634d3['shift']());}}}(a43_0x363b,0xcd154));function a43_0x5102(_0x271c28,_0x29f51e){const _0x363be6=a43_0x363b();return a43_0x5102=function(_0x5102f0,_0x4b7322){_0x5102f0=_0x5102f0-0x110;let _0x29f700=_0x363be6[_0x5102f0];return _0x29f700;},a43_0x5102(_0x271c28,_0x29f51e);}function a43_0x363b(){const _0x1e6605=['percyCaptureMode','MLEno','start','currentTest','__platformCaps','env','rNhlc','ObservabilitySync:','bstackA11yScanOptions','index','27601EqweDz','../../helpers/performance/constants','WuPcd','qUzlB','state','BLcIt','kkeGV','WZJnh','isArray','tJAYv','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','afterEach','Passed','.\x20Error\x20:','Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','XKKts','WKTcr','uqxJI','RMrFm','TZLPr','kJlhR','browserstackSessionName','heDaQ','Dstrj','Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','pFYJc','eBNwW','rSWKU','executeScript','TTTpc','GivKN','tcqjB','YcuAS','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','SESSION_NAME','xRYAQ','zOQtD','bturV','beforeEach','20370IFjHqj','rnEWu','measureWrapper','kzWeY','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','message','testcase','Mocha','zJRzu','LgbMV','gaCVR','QjqTC','then','VkWHT','beforeAll','__sessionFailed','hGUaN','jXVyU','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','error','GqskV','percy','bstackA11yShouldScan','UaqXT','parse','qkZoT','ywbKz','../utils/constants','../../helpers/percy/utils','length','OyTBK','VdRwu','HiHrL','thTestRunUuid','[Accessibility]\x20Auto\x20scan\x20is\x20disabled;\x20skipping\x20final\x20scan\x20and\x20saving\x20current\x20accumulated\x20results','thBuildUuid','saveAccessibilityResultsWithRetry','Automate\x20test\x20case\x20execution\x20has\x20started.','aAnDX','LNLZy','rSsYE','startMonitoring','OogBi','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','EqDjm','2840PCnSib','passed','../../helpers/accessibility-automation/accessibilityRetryHelper','isAccessibilityPlatform','NSHvN','../../helpers/testhub/utils','push','../../helpers/performance/performance-tester','Sjcah','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','44jiyATh','Echsd','4KJzrbx','JEPxo','eSiep','__drivers','poqOF','Accessibility\x20results\x20saved\x20successfully','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','winstonLogger','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','xcnvs','117ijtGUe','timeout','join','YpSui','wTmNw','titlePath','24634XsumWN','lXaVc','5559348JzQqRW','oumnI','fSjpl','XFkrU','XUIKC','session_','../../helpers/driverInitErrorReporter','setGlobal','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','Eqbav','protocol','VQGSe','YyFwe','\x20-\x20','https:','faVEB','Vxuud','__bstackPlatformReported','driverCleanup','1765pqnLFc','warn','http:','info','1636620ZPWczg','err','mochaHooks','__error_messages__','BVAIt','SDK_HOOK','ZteXo','shift','hXrrQ','AWXjw','afterAll','stringify','YkVWk','sessionNameSet__','end','getCurrentUrl','sessionName','accessibilityScanStarted','EfAFt','iiXwF','4844970Axskod','vKqiE','951310DLzabe','mWhbB','getGlobal','util','Failed:\x20','ENV_VAR','SYNC','PERFORM_SCAN','tPilp','../../helpers/globals','LjvkF','CILqv','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','Failed\x20to\x20store\x20session\x20name:\x20','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','ApjiB','QuURB','finally','debug','Accessibility\x20scan\x20completed\x20successfully','dIEHv','LKqQd','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','SESSION_STATUS','BROWSERSTACK_TESTHUB_UUID','lGvud','shouldScanTestForAccessibility','pNIDc','ewrpG','testAnalyticsId','BROWSERSTACK_TESTHUB_JWT','hRXDx','yhFPv','capabilities','ThFCU','__bstackOwningRunUuid'];a43_0x363b=function(){return _0x1e6605;};return a43_0x363b();}const util=require(a43_0x366a1f(0x11b)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),accessibilityRetryHelper=require(a43_0x366a1f(0x19e)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a43_0x366a1f(0x18a)),{percyAutoCapture}=require(a43_0x366a1f(0x18b)),{sendPlatformDetails}=require('./test-observability/mochaUtils'),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require('../../helpers/helper'),PerformanceTester=require(a43_0x366a1f(0x1a3)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a43_0x366a1f(0x147)),globals=require(a43_0x366a1f(0x121)),logger=require('../../helpers/logger')[a43_0x366a1f(0x1af)],{shouldProcessEventForTesthub}=require(a43_0x366a1f(0x1a1)),testHubConstants=require('../../helpers/testhub/constants');try{require(a43_0x366a1f(0x1c0))['installAll']('mocha');}catch(a43_0x48ca54){logger[a43_0x366a1f(0x12a)]('driver-init\x20capture\x20install\x20failed:\x20'+(a43_0x48ca54&&a43_0x48ca54[a43_0x366a1f(0x173)]));}exports[a43_0x366a1f(0x1d3)]={'beforeAll'(){const _0x202172=a43_0x366a1f,_0x5b1975={'LKqQd':function(_0x5d02f3,_0x26e508,_0x50ec88,_0x576b9a){return _0x5d02f3(_0x26e508,_0x50ec88,_0x576b9a);},'cBjxz':'failed','vKqiE':'\x20|\x20','VkWHT':function(_0x13890b,_0x78bb7e,_0x2c90d7){return _0x13890b(_0x78bb7e,_0x2c90d7);},'iiRmN':_0x202172(0x19d),'QuURB':function(_0x1ed7b3){return _0x1ed7b3();},'yhFPv':function(_0x1c8423,_0x414cd3,_0x2ab73d){return _0x1c8423(_0x414cd3,_0x2ab73d);},'wTmNw':'index','eBNwW':_0x202172(0x17c)};PerformanceTester[_0x202172(0x198)]();const _0x10451e='browserstack internal helper hook';PerformanceTester[_0x202172(0x170)](PerformanceSdkEvents[_0x202172(0x1d6)],()=>{const _0x2fea15=_0x202172;global[_0x2fea15(0x1d4)]=[],global[_0x2fea15(0x17d)]=![],global['driverCleanup']=async()=>{const _0x3781df=_0x2fea15;let _0x5b39c6=![];try{await global[_0x3781df(0x1ab)][0x0][_0x3781df(0x1bf)],_0x5b39c6=!![],global[_0x3781df(0x17d)]?await _0x5b1975[_0x3781df(0x12d)](markSessionStatus,global[_0x3781df(0x1ab)][0x0],_0x5b1975['cBjxz'],global[_0x3781df(0x1d4)]['join'](_0x5b1975[_0x3781df(0x117)])):await _0x5b1975[_0x3781df(0x17b)](markSessionStatus,global[_0x3781df(0x1ab)][0x0],_0x5b1975['iiRmN']);}catch(_0x4cd9c8){logger[_0x3781df(0x12a)](_0x3781df(0x19a)+_0x4cd9c8);}global[_0x3781df(0x1d4)]=[],global[_0x3781df(0x17d)]=![];if(_0x5b39c6)try{try{if(_0x5b1975[_0x3781df(0x128)](shouldProcessEventForTesthub)){const _0x10b5e3=global[_0x3781df(0x1ab)][0x0];if(_0x10b5e3&&!_0x10b5e3[_0x3781df(0x1cb)]&&_0x10b5e3[_0x3781df(0x13b)]){const _0x54a154=await _0x5b1975[_0x3781df(0x138)](sendPlatformDetails,_0x10b5e3,_0x10b5e3['__bstackOwningRunUuid']);_0x54a154&&(_0x10b5e3[_0x3781df(0x1cb)]=!![]);}}}catch(_0x31cf4e){logger[_0x3781df(0x12a)](_0x3781df(0x1c2)+_0x31cf4e);}await global[_0x3781df(0x1ab)][0x0]['initQuit']();}catch(_0x223f01){logger[_0x3781df(0x12a)](_0x3781df(0x172)+_0x223f01);}};},{'platform':_0x5b1975[_0x202172(0x138)](nestedKeyValue,global['__platformCaps'],[_0x5b1975[_0x202172(0x1b6)]]),'hookType':_0x5b1975[_0x202172(0x161)]})();},'beforeEach'(_0x4d56b2){const _0x454f8f=a43_0x366a1f,_0x3332bb={'kkeGV':function(_0x1d3842,_0x460a23){return _0x1d3842>_0x460a23;},'GqskV':_0x454f8f(0x1c7),'eSiep':function(_0x3e2e27,_0x32ebe9,_0x15c35f){return _0x3e2e27(_0x32ebe9,_0x15c35f);},'ysMEz':function(_0x4c96b8,_0x356f1d){return _0x4c96b8===_0x356f1d;},'YyFwe':_0x454f8f(0x185),'pFYJc':_0x454f8f(0x144),'nJlFL':function(_0x20c627){return _0x20c627();},'pNIDc':_0x454f8f(0x19f),'ytzHj':_0x454f8f(0x1cf),'vTHDw':function(_0x26ae16,_0x1a0147){return _0x26ae16===_0x1a0147;},'BLcIt':_0x454f8f(0x1c8),'XKKts':_0x454f8f(0x124),'dIEHv':_0x454f8f(0x194),'rSWKU':function(_0x339cbb){return _0x339cbb();},'TZLPr':'browserstackTestName','hXrrQ':_0x454f8f(0x145),'UaqXT':_0x454f8f(0x16d)};globals[_0x454f8f(0x1c1)](_0x3332bb[_0x454f8f(0x159)],this[_0x454f8f(0x13f)]['titlePath']()[_0x454f8f(0x1b4)](_0x3332bb[_0x454f8f(0x183)])),PerformanceTester[_0x454f8f(0x170)](PerformanceSdkEvents[_0x454f8f(0x1d6)],()=>{const _0x16696e=_0x454f8f,_0x4da90e={'ApjiB':function(_0x378ef2,_0x5ed4ab){const _0x22eda5=a43_0x5102;return _0x3332bb[_0x22eda5(0x14c)](_0x378ef2,_0x5ed4ab);},'poqOF':_0x3332bb['GqskV'],'QjqTC':function(_0x26ab54,_0xa22cb0,_0x1f0a84){const _0x535e4d=a43_0x5102;return _0x3332bb[_0x535e4d(0x1aa)](_0x26ab54,_0xa22cb0,_0x1f0a84);},'CFBZh':function(_0x59159c,_0x2aa383){return _0x3332bb['ysMEz'](_0x59159c,_0x2aa383);},'ThFCU':_0x3332bb[_0x16696e(0x1c6)],'WePhB':_0x3332bb[_0x16696e(0x160)],'tepvL':function(_0x39d491){return _0x3332bb['nJlFL'](_0x39d491);},'Sjcah':function(_0x2d6435,_0x221bf7){const _0x4755be=_0x16696e;return _0x3332bb[_0x4755be(0x14c)](_0x2d6435,_0x221bf7);},'tJAYv':_0x3332bb[_0x16696e(0x133)],'YcuAS':_0x3332bb['ytzHj'],'VnNPT':function(_0x2a0cdd,_0x1da664){return _0x3332bb['vTHDw'](_0x2a0cdd,_0x1da664);},'SOBaJ':_0x3332bb[_0x16696e(0x14b)],'sXAcp':_0x3332bb[_0x16696e(0x155)],'rRKkI':_0x3332bb[_0x16696e(0x12c)],'mWhbB':function(_0x5b7427){const _0x26d98e=_0x16696e;return _0x3332bb[_0x26d98e(0x162)](_0x5b7427);}},_0x31d5b9='browserstack internal helper hook';new Promise(async _0x54384c=>{const _0x35abe2=_0x16696e;let _0x54afde=!![];try{_0x4da90e[_0x35abe2(0x127)](global['__drivers'][_0x35abe2(0x18c)],0x1)&&(await global[_0x35abe2(0x1cc)](),global[_0x35abe2(0x1ab)][_0x35abe2(0x1d8)]()),_0x4da90e[_0x35abe2(0x127)](global[_0x35abe2(0x1ab)][0x0]['quitCount_'],0x0)&&(_0x54afde=![],await global['driverCleanup']());}catch(_0x1ae3bf){logger[_0x35abe2(0x12a)](_0x35abe2(0x172)+_0x1ae3bf);}try{Array['isArray'](global[_0x35abe2(0x1ab)])&&global[_0x35abe2(0x1ab)][0x0]&&(global[_0x35abe2(0x1ab)][0x0][_0x35abe2(0x15b)]=this[_0x35abe2(0x13f)][_0x35abe2(0x1b7)]()[_0x35abe2(0x1b4)](_0x4da90e[_0x35abe2(0x1ac)])),global[_0x35abe2(0x15b)]=this['currentTest'][_0x35abe2(0x1b7)]()['join'](_0x4da90e[_0x35abe2(0x1ac)]);}catch(_0xf9da9a){logger[_0x35abe2(0x12a)](_0x35abe2(0x125)+_0xf9da9a);}this[_0x35abe2(0x13f)][_0x35abe2(0x132)]=_0x4da90e[_0x35abe2(0x179)](shouldScanTestForAccessibility,this[_0x35abe2(0x13f)][_0x35abe2(0x1b7)](),!![]);let _0x29daaa=!![];try{const _0xfd0695=JSON[_0x35abe2(0x187)](process[_0x35abe2(0x141)][_0x35abe2(0x1ae)]||'{}');_0x4da90e['CFBZh'](_0xfd0695['autoScanning'],![])&&(_0x29daaa=![]);}catch(_0xb002ae){logger[_0x35abe2(0x12a)](_0x35abe2(0x15e)+_0xb002ae['message']);}const _0x22314f=_0x29daaa&&this[_0x35abe2(0x13f)][_0x35abe2(0x132)];globals[_0x35abe2(0x1c1)](_0x4da90e[_0x35abe2(0x13a)],_0x22314f),globals[_0x35abe2(0x1c1)](_0x4da90e['WePhB'],null),this[_0x35abe2(0x13f)][_0x35abe2(0x113)]=this[_0x35abe2(0x13f)]['shouldScanTestForAccessibility'];if(_0x4da90e['tepvL'](isAccessibilityAutomationSession)&&_0x54afde&&Array[_0x35abe2(0x14e)](global[_0x35abe2(0x1ab)])&&_0x4da90e[_0x35abe2(0x1a4)](global[_0x35abe2(0x1ab)][_0x35abe2(0x18c)],0x0)&&globals['getGlobal'](_0x4da90e[_0x35abe2(0x14f)]))try{const _0x1f8b74=await global[_0x35abe2(0x1ab)][0x0]['session_'];if(_0x1f8b74){let _0x181529=!![];const _0x454f35=await global[_0x35abe2(0x1ab)][0x0][_0x35abe2(0x111)]();let _0x1e1583;try{_0x1e1583=new URL(_0x454f35),_0x181529=_0x4da90e['CFBZh'](_0x1e1583[_0x35abe2(0x1c4)],_0x4da90e[_0x35abe2(0x167)])||_0x4da90e['VnNPT'](_0x1e1583[_0x35abe2(0x1c4)],_0x4da90e['SOBaJ']);}catch(_0x22dfeb){_0x181529=![];}_0x181529&&(this[_0x35abe2(0x13f)][_0x35abe2(0x132)]&&logger[_0x35abe2(0x1d0)](_0x4da90e['sXAcp'])),this[_0x35abe2(0x13f)][_0x35abe2(0x113)]=this['currentTest']['shouldScanTestForAccessibility'],_0x22314f&&logger[_0x35abe2(0x1d0)](_0x4da90e['rRKkI']);}}catch(_0x59763c){logger[_0x35abe2(0x182)]('Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20'+util['format'](_0x59763c));}_0x4da90e[_0x35abe2(0x119)](_0x54384c);})[_0x16696e(0x17a)](()=>{const _0x22cbc3=_0x16696e;_0x4da90e[_0x22cbc3(0x119)](_0x4d56b2);});},{'platform':_0x3332bb[_0x454f8f(0x1aa)](nestedKeyValue,global[_0x454f8f(0x140)],[_0x3332bb[_0x454f8f(0x1d9)]]),'hookType':_0x3332bb[_0x454f8f(0x186)]})();},'afterEach'(_0x353689){const _0x4a81b2=a43_0x366a1f,_0x15222d={'WuPcd':function(_0x80eed9){return _0x80eed9();},'Echsd':_0x4a81b2(0x1c7),'TTTpc':function(_0x2715c8,_0x11cb8c){return _0x2715c8!==_0x11cb8c;},'Vxuud':_0x4a81b2(0x19d),'ywbKz':function(_0x352596,_0x2ec0d8,_0x1680a4){return _0x352596(_0x2ec0d8,_0x1680a4);},'oumnI':function(_0x432def,_0xef50ad){return _0x432def+_0xef50ad;},'tPilp':_0x4a81b2(0x11c),'BVAIt':_0x4a81b2(0x182),'ZteXo':_0x4a81b2(0x152),'OogBi':_0x4a81b2(0x1d0),'cspRt':function(_0x4f5027,_0x315fcd){return _0x4f5027>_0x315fcd;},'LgbMV':function(_0x196905,_0x46b218){return _0x196905===_0x46b218;},'aAnDX':_0x4a81b2(0x174),'RMrFm':'appium:app','hRXDx':function(_0x21e4f9,_0x1ca044,_0x521f0e,_0x20c3f3){return _0x21e4f9(_0x1ca044,_0x521f0e,_0x20c3f3);},'bturV':_0x4a81b2(0x19f),'xRYAQ':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','esKtZ':_0x4a81b2(0x185),'NSHvN':_0x4a81b2(0x181),'uOhVV':'afterTest','XFkrU':_0x4a81b2(0x12b),'CItVF':_0x4a81b2(0x180),'kzWeY':_0x4a81b2(0x191),'Ugudr':_0x4a81b2(0x1ad),'XUIKC':_0x4a81b2(0x154),'xcnvs':_0x4a81b2(0x168),'bEDWV':function(_0x2a8403,_0x2296fa,_0x4b1857){return _0x2a8403(_0x2296fa,_0x4b1857);},'LXfIu':_0x4a81b2(0x12a),'FlpoG':function(_0x99ebca){return _0x99ebca();},'zOQtD':_0x4a81b2(0x175),'faVEB':_0x4a81b2(0x145),'TCsee':_0x4a81b2(0x151)},_0x312bad='browserstack internal helper hook';this[_0x4a81b2(0x1b3)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x15222d[_0x4a81b2(0x16b)]]),global[_0x4a81b2(0x112)]=this['currentTest'][_0x4a81b2(0x1b7)]()[_0x4a81b2(0x1b4)](_0x15222d[_0x4a81b2(0x1a7)]),PerformanceTester[_0x4a81b2(0x170)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x22d74a=_0x4a81b2,_0x240517={'qUzlB':_0x15222d[_0x22d74a(0x1a7)],'rNhlc':function(_0x1eb1e6,_0x956230){const _0x3affa7=_0x22d74a;return _0x15222d[_0x3affa7(0x164)](_0x1eb1e6,_0x956230);},'rnEWu':_0x15222d[_0x22d74a(0x1ca)],'GivKN':function(_0x177191,_0x3f636c,_0x1be13a){const _0xb72130=_0x22d74a;return _0x15222d[_0xb72130(0x189)](_0x177191,_0x3f636c,_0x1be13a);},'zxDIJ':function(_0x35d750,_0x5c75a8){const _0x17d6ce=_0x22d74a;return _0x15222d[_0x17d6ce(0x1bb)](_0x35d750,_0x5c75a8);},'gTgcm':_0x15222d[_0x22d74a(0x120)],'Dstrj':_0x15222d[_0x22d74a(0x1d5)],'lGvud':_0x15222d[_0x22d74a(0x1d7)],'LNLZy':_0x15222d[_0x22d74a(0x199)],'heDaQ':function(_0xa3d2dc,_0x1e858a){return _0x15222d['cspRt'](_0xa3d2dc,_0x1e858a);},'HiHrL':function(_0x2f13c5,_0x5170ad){const _0x3c298d=_0x22d74a;return _0x15222d[_0x3c298d(0x177)](_0x2f13c5,_0x5170ad);},'AWXjw':_0x15222d[_0x22d74a(0x195)],'uqxJI':_0x15222d[_0x22d74a(0x158)],'iiXwF':function(_0x37870f,_0x398e88,_0x303a1d,_0x3c8c70){const _0x4b256a=_0x22d74a;return _0x15222d[_0x4b256a(0x137)](_0x37870f,_0x398e88,_0x303a1d,_0x3c8c70);},'EfAFt':_0x15222d[_0x22d74a(0x16c)],'CILqv':_0x15222d[_0x22d74a(0x16a)],'jXVyU':_0x15222d['esKtZ'],'fSjpl':_0x15222d[_0x22d74a(0x1a0)],'xmHsw':_0x15222d['uOhVV'],'YkVWk':_0x15222d[_0x22d74a(0x1bd)],'WZJnh':_0x15222d['CItVF'],'gaCVR':_0x15222d[_0x22d74a(0x171)],'HNDir':_0x15222d['Ugudr'],'YpSui':_0x15222d[_0x22d74a(0x1be)],'tcqjB':_0x15222d[_0x22d74a(0x1b1)],'rSsYE':function(_0x24048b){const _0x169418=_0x22d74a;return _0x15222d[_0x169418(0x148)](_0x24048b);},'oTSgG':function(_0x384544){const _0x135d6c=_0x22d74a;return _0x15222d[_0x135d6c(0x148)](_0x384544);},'plYWi':function(_0x3b477e,_0x52b6ca,_0x3be644){return _0x15222d['bEDWV'](_0x3b477e,_0x52b6ca,_0x3be644);},'JEPxo':_0x15222d['LXfIu'],'Eqbav':function(_0x53f239){return _0x15222d['FlpoG'](_0x53f239);}},_0x5283b8=async(_0x1db764,_0x5f58e7)=>{const _0x5dfa23=_0x22d74a;await global[_0x5dfa23(0x1ab)][0x0][_0x5dfa23(0x163)](_0x5dfa23(0x1b0)+_0x1db764+',\x22level\x22:\x20\x22'+_0x5f58e7+'\x22}}');};new Promise(async _0x4aaffe=>{const _0x29babe=_0x22d74a,_0x39faea={'LjvkF':function(_0x3bd397,_0x1bcb09){const _0x231538=a43_0x5102;return _0x240517[_0x231538(0x142)](_0x3bd397,_0x1bcb09);},'zJRzu':_0x240517[_0x29babe(0x16f)],'PlrPv':function(_0x542505,_0x39dc89,_0x2d4807){return _0x240517['GivKN'](_0x542505,_0x39dc89,_0x2d4807);},'VQGSe':function(_0xcf0b03,_0x52b9a0){return _0x240517['zxDIJ'](_0xcf0b03,_0x52b9a0);},'OyTBK':_0x240517['gTgcm'],'SVGFf':_0x240517[_0x29babe(0x15d)],'ewrpG':function(_0x4ac54a,_0x2ce83c,_0x305329){const _0x2746cc=_0x29babe;return _0x240517[_0x2746cc(0x165)](_0x4ac54a,_0x2ce83c,_0x305329);},'UdWAo':_0x240517[_0x29babe(0x131)],'MLEno':_0x240517[_0x29babe(0x196)]};try{_0x240517[_0x29babe(0x15c)](global[_0x29babe(0x1ab)][_0x29babe(0x18c)],0x1)&&(await global[_0x29babe(0x1cc)](),global[_0x29babe(0x1ab)][_0x29babe(0x1d8)](),global[_0x29babe(0x1d4)]=[],global[_0x29babe(0x17d)]=![]);try{if(global[_0x29babe(0x184)]&&_0x240517[_0x29babe(0x18f)](global[_0x29babe(0x13c)],_0x240517[_0x29babe(0x1da)])&&global[_0x29babe(0x1ab)][0x0]){const _0x182e37=_0x240517[_0x29babe(0x15c)](global[_0x29babe(0x139)][_0x29babe(0x18c)],0x0)?!!global[_0x29babe(0x139)][0x0]['app']||!!global[_0x29babe(0x139)][0x0][_0x240517[_0x29babe(0x157)]]:![],_0x1b335c={};_0x1b335c['app']=_0x182e37,await _0x240517[_0x29babe(0x115)](percyAutoCapture,global[_0x29babe(0x1ab)][0x0],_0x240517[_0x29babe(0x1da)],_0x1b335c);}}catch(_0x6c3030){logger[_0x29babe(0x12a)](_0x29babe(0x15f)+_0x6c3030);}!global['__skipSessionName']&&(await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x29babe(0x169)],async()=>{const _0x5d93fc=_0x29babe;await global[_0x5d93fc(0x1ab)][0x0]['executeScript']('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20'+JSON[_0x5d93fc(0x1dc)](this['currentTest'][_0x5d93fc(0x1b7)]()[_0x5d93fc(0x1b4)](_0x240517[_0x5d93fc(0x149)]))+'}}');})(),global[_0x29babe(0x1ab)][0x0][_0x29babe(0x1de)]=!![]),await PerformanceTester[_0x29babe(0x170)](PerformanceAutEvents[_0x29babe(0x12f)],async()=>{const _0x5c2b28=_0x29babe,_0x229723=_0x39faea[_0x5c2b28(0x122)](this['currentTest'][_0x5c2b28(0x14a)],_0x39faea[_0x5c2b28(0x176)]);_0x229723?(global[_0x5c2b28(0x17d)]=!![],global[_0x5c2b28(0x1d4)][_0x5c2b28(0x1a2)](this['currentTest'][_0x5c2b28(0x1d2)][_0x5c2b28(0x173)]),await _0x39faea['PlrPv'](_0x5283b8,JSON[_0x5c2b28(0x1dc)](_0x39faea[_0x5c2b28(0x1c5)](_0x39faea[_0x5c2b28(0x18d)],this['currentTest'][_0x5c2b28(0x1d2)][_0x5c2b28(0x173)])),_0x39faea['SVGFf'])):await _0x39faea[_0x5c2b28(0x134)](_0x5283b8,JSON[_0x5c2b28(0x1dc)](_0x39faea['UdWAo']),_0x39faea[_0x5c2b28(0x13d)]);})();}catch(_0x44646d){logger[_0x29babe(0x12a)](_0x29babe(0x12e)+_0x44646d);}try{if(this[_0x29babe(0x13f)][_0x29babe(0x113)]&&globals[_0x29babe(0x11a)](_0x240517[_0x29babe(0x114)])){logger[_0x29babe(0x1d0)](_0x240517[_0x29babe(0x123)]);const _0x2b44ce={};_0x2b44ce[_0x29babe(0x190)]=this[_0x29babe(0x13f)][_0x29babe(0x135)],_0x2b44ce[_0x29babe(0x192)]=process['env'][testHubConstants['ENV_VAR'][_0x29babe(0x130)]],_0x2b44ce['thJwtToken']=process[_0x29babe(0x141)][testHubConstants[_0x29babe(0x11d)][_0x29babe(0x136)]];const _0x1f0f1e=_0x2b44ce;logger[_0x29babe(0x12a)](_0x29babe(0x150)+JSON[_0x29babe(0x1dc)](_0x1f0f1e));if(globals['getGlobal'](_0x240517[_0x29babe(0x17f)])){logger['debug'](_0x240517[_0x29babe(0x1bc)]);const _0x6d7c26={};_0x6d7c26['command']=_0x240517['xmHsw'];const _0x2bac01=await PerformanceTester[_0x29babe(0x170)](PerformanceA11yEvents[_0x29babe(0x11f)],async()=>{const _0x2d75de=_0x29babe;return await accessibilityRetryHelper['performScanWithRetry'](global[_0x2d75de(0x1ab)][0x0],global[_0x2d75de(0x15b)]);},_0x6d7c26)();_0x2bac01?logger[_0x29babe(0x12a)](_0x240517[_0x29babe(0x1dd)]):logger[_0x29babe(0x1ce)](_0x240517[_0x29babe(0x14d)]);}else logger[_0x29babe(0x12a)](_0x240517[_0x29babe(0x178)]);const _0x46de38=await PerformanceTester[_0x29babe(0x170)](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x16b0e2=_0x29babe;return await accessibilityRetryHelper[_0x16b0e2(0x193)](global['__drivers'][0x0],_0x1f0f1e);})();_0x46de38?logger[_0x29babe(0x12a)](_0x240517['HNDir']):logger[_0x29babe(0x1ce)](_0x240517[_0x29babe(0x1b5)]),logger[_0x29babe(0x1d0)](_0x240517[_0x29babe(0x166)]);}}catch(_0x558011){logger[_0x29babe(0x182)](_0x29babe(0x1a5)+this['currentTest']['titlePath']()+_0x29babe(0x153),_0x558011);}try{try{if(_0x240517[_0x29babe(0x197)](shouldProcessEventForTesthub)){const _0xacc83d=global[_0x29babe(0x1ab)][0x0];if(_0xacc83d){const _0x315ea1=await _0x240517[_0x29babe(0x165)](sendPlatformDetails,_0xacc83d,this['currentTest']?this['currentTest'][_0x29babe(0x135)]:null);_0x315ea1&&(_0xacc83d[_0x29babe(0x1cb)]=!![]);}if(_0x240517['oTSgG'](isBrowserstackInfra)){PerformanceTester[_0x29babe(0x13e)](PerformanceO11yEvents[_0x29babe(0x11e)]);const _0x29eb67=_0x29babe(0x143)+Date['now']();await _0x240517['plYWi'](_0x5283b8,JSON[_0x29babe(0x1dc)](_0x29eb67),_0x240517[_0x29babe(0x1a9)]),PerformanceTester[_0x29babe(0x110)](PerformanceO11yEvents[_0x29babe(0x11e)]);}}}catch(_0x1a412f){logger[_0x29babe(0x12a)](_0x29babe(0x126)+_0x1a412f),PerformanceTester['end'](PerformanceO11yEvents[_0x29babe(0x11e)],![],_0x1a412f);}_0x240517['heDaQ'](global['__drivers'][0x0]['quitCount_'],0x0)&&await global[_0x29babe(0x1cc)]();}catch(_0x4bd148){logger[_0x29babe(0x12a)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x4bd148);}_0x240517[_0x29babe(0x1c3)](_0x4aaffe);})['then'](()=>{const _0x5e4520=_0x22d74a;_0x15222d[_0x5e4520(0x148)](_0x353689);});},{'platform':_0x15222d[_0x4a81b2(0x189)](nestedKeyValue,global[_0x4a81b2(0x140)],[_0x15222d[_0x4a81b2(0x1c9)]]),'hookType':_0x15222d['TCsee']})();},'afterAll'(_0x493f15){const _0x43f81a=a43_0x366a1f,_0x4ac8fa={'VdRwu':function(_0x34a75c){return _0x34a75c();},'EqDjm':_0x43f81a(0x175),'qkZoT':function(_0x3369c3,_0x1c2af3,_0x50c18b){return _0x3369c3(_0x1c2af3,_0x50c18b);},'kJlhR':_0x43f81a(0x145),'WKTcr':_0x43f81a(0x1db)},_0x125c1b='browserstack internal helper hook';this[_0x43f81a(0x1b3)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x4ac8fa[_0x43f81a(0x19b)]]),PerformanceTester[_0x43f81a(0x170)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x2aa998=_0x43f81a,_0x54e9f8={'hGUaN':function(_0x34d0c9){const _0x1d35f4=a43_0x5102;return _0x4ac8fa[_0x1d35f4(0x18e)](_0x34d0c9);},'lXaVc':function(_0x5a1bf1){const _0x5e1851=a43_0x5102;return _0x4ac8fa[_0x5e1851(0x18e)](_0x5a1bf1);}};new Promise(async _0x81eac5=>{const _0x43f5c0=a43_0x5102;await global[_0x43f5c0(0x1cc)](),_0x54e9f8[_0x43f5c0(0x17e)](_0x81eac5);})[_0x2aa998(0x17a)]()[_0x2aa998(0x129)](()=>{const _0x35e4bd=_0x2aa998;_0x54e9f8[_0x35e4bd(0x1b9)](_0x493f15);});},{'platform':_0x4ac8fa[_0x43f81a(0x188)](nestedKeyValue,global[_0x43f81a(0x140)],[_0x4ac8fa[_0x43f81a(0x15a)]]),'hookType':_0x4ac8fa[_0x43f81a(0x156)]})();}};
1
+ const a43_0xfdaa9c=a43_0x3f5f;(function(_0x39c349,_0x19b15b){const _0x5942de=a43_0x3f5f,_0x4e0d25=_0x39c349();while(!![]){try{const _0x5551c1=parseInt(_0x5942de(0x19f))/0x1*(-parseInt(_0x5942de(0x175))/0x2)+-parseInt(_0x5942de(0x1d0))/0x3*(-parseInt(_0x5942de(0x1cd))/0x4)+parseInt(_0x5942de(0x199))/0x5+parseInt(_0x5942de(0x1fe))/0x6+parseInt(_0x5942de(0x1c8))/0x7+parseInt(_0x5942de(0x1c6))/0x8*(parseInt(_0x5942de(0x1f0))/0x9)+parseInt(_0x5942de(0x1b2))/0xa*(-parseInt(_0x5942de(0x1f7))/0xb);if(_0x5551c1===_0x19b15b)break;else _0x4e0d25['push'](_0x4e0d25['shift']());}catch(_0x5f596a){_0x4e0d25['push'](_0x4e0d25['shift']());}}}(a43_0x1d27,0xf2788));const util=require('util'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),accessibilityRetryHelper=require(a43_0xfdaa9c(0x1ce)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a43_0xfdaa9c(0x1d3)),{percyAutoCapture}=require('../../helpers/percy/utils'),{sendPlatformDetails}=require('./test-observability/mochaUtils'),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a43_0xfdaa9c(0x1a9)),PerformanceTester=require(a43_0xfdaa9c(0x172)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a43_0xfdaa9c(0x1be)),globals=require(a43_0xfdaa9c(0x1bc)),logger=require(a43_0xfdaa9c(0x196))[a43_0xfdaa9c(0x153)],{shouldProcessEventForTesthub}=require(a43_0xfdaa9c(0x1b5)),testHubConstants=require('../../helpers/testhub/constants');try{require(a43_0xfdaa9c(0x1fd))['installAll']('mocha');}catch(a43_0x3a5cf8){logger[a43_0xfdaa9c(0x1c4)](a43_0xfdaa9c(0x19d)+(a43_0x3a5cf8&&a43_0x3a5cf8[a43_0xfdaa9c(0x15b)]));}function a43_0x1d27(){const _0x12bdec=['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','\x22}}','shouldScanTestForAccessibility','sessionNameSet__','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','SESSION_NAME','yTigd','YECOy','capabilities','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','browserstackSessionName','aTmCq','nvJID','browserstackTestName','end','ViOme','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','nFqai','isArray','NFfBP','2447073QyaDiQ','dSBTI','ZISHl','[Accessibility]\x20Auto\x20scan\x20is\x20disabled;\x20skipping\x20final\x20scan\x20and\x20saving\x20current\x20accumulated\x20results','protocol','ObservabilitySync:','setGlobal','3898290hlHjCy','Xjlul','executeScript','lcqaO','iksSO','fpSRb','../../helpers/driverInitErrorReporter','10091184krWhbE','jvzdT','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','lltah','app','VksMC','isAccessibilityPlatform','MnOlg','currentTest','Failed:\x20','cdtOz','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','ydoxy','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','percyCaptureMode','JCiXf','state','now','OhHkm','siduw','env','command','GIdcO','HWfcm','winstonLogger','XQzYt','dnkWP','ErBrZ','Failed\x20to\x20store\x20session\x20name:\x20','DTPmr','passed','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','message','info','zBzRT','measureWrapper','wFdZc','EhpXC','stringify','accessibilityScanStarted','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','mochaHooks','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','afFec','warn','QnVsi','__bstackPlatformReported','\x20-\x20','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','HlkRE','ENV_VAR','pAlXS','IFDiZ','UDvPx','eIhuM','../../helpers/performance/performance-tester','error','ZoKSp','29974XGJAmm','qtRvq','format','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','session_','then','finally','saveAccessibilityResultsWithRetry','mKpZm','start','join','performScanWithRetry','PlECf','thTestRunUuid','xRzOq','WRGpi','err','ogaGJ','SDK_HOOK','jxumg','afterTest','bstackA11yScanOptions','vIKeY','jObpJ','SYNC',',\x22level\x22:\x20\x22','NBArQ','SAVE_RESULTS','__platformCaps','hXERl','autoScanning','ZsBYE','shift','../../helpers/logger','ZBsSe','__bstackOwningRunUuid','5718980RcUWBi','GPTAC','Accessibility\x20scan\x20completed\x20successfully','hEavC','driver-init\x20capture\x20install\x20failed:\x20','OyoRr','83CZaExz','Accessibility\x20results\x20saved\x20successfully','IjBZX','startMonitoring','testAnalyticsId','WULhN','oLIfW','hKMim','rvuBv','fGDMC','../../helpers/helper','__drivers','wYPmY','KqnXw','timeout','__sessionFailed','bstackA11yShouldScan','ztWKe','afterEach','150ojGBgO','ZDGCI','quitCount_','../../helpers/testhub/utils','getGlobal','__error_messages__','driverCleanup','EGobl','eevNG','dIMSD','../../helpers/globals','failed','../../helpers/performance/constants','titlePath','afterAll','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','zoQul','getCurrentUrl','debug','BbTAV','56MrYsAA','index','11385892CUFBel','beforeAll','length','Mocha','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','1197436BobQjG','../../helpers/accessibility-automation/accessibilityRetryHelper','Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','12nOBMNM','https:','kjHIu','../utils/constants','nSGLJ','nsQFD','cmvUT','BROWSERSTACK_TESTHUB_JWT','QFBfs','bYSmf','dhuKk','LsHAT'];a43_0x1d27=function(){return _0x12bdec;};return a43_0x1d27();}function a43_0x3f5f(_0x2422bf,_0x1b5fd6){const _0x1d27ed=a43_0x1d27();return a43_0x3f5f=function(_0x3f5fb2,_0x47af09){_0x3f5fb2=_0x3f5fb2-0x148;let _0x4c8b99=_0x1d27ed[_0x3f5fb2];return _0x4c8b99;},a43_0x3f5f(_0x2422bf,_0x1b5fd6);}exports[a43_0xfdaa9c(0x164)]={'beforeAll'(){const _0x2f2733=a43_0xfdaa9c,_0x2559fb={'fQsYa':function(_0x2e3d3c,_0x2ff0b5,_0x490240,_0x8263df){return _0x2e3d3c(_0x2ff0b5,_0x490240,_0x8263df);},'pvLhW':_0x2f2733(0x1bd),'dqElb':'\x20|\x20','cmvUT':function(_0x297f3c,_0xe5ec11,_0x36b7a7){return _0x297f3c(_0xe5ec11,_0x36b7a7);},'xRzOq':'passed','dnkWP':function(_0x410aa1){return _0x410aa1();},'GIdcO':_0x2f2733(0x1c7),'ZDGCI':_0x2f2733(0x1c9)};PerformanceTester[_0x2f2733(0x1a2)]();const _0x24eb76='browserstack internal helper hook';PerformanceTester[_0x2f2733(0x15e)](PerformanceSdkEvents[_0x2f2733(0x187)],()=>{const _0x5a107b=_0x2f2733,_0x239c47={'EhpXC':function(_0x394a1d,_0x4ca4db,_0x1745bc,_0x32f933){return _0x2559fb['fQsYa'](_0x394a1d,_0x4ca4db,_0x1745bc,_0x32f933);},'VksMC':_0x2559fb['pvLhW'],'LsHAT':_0x2559fb['dqElb'],'zoQul':function(_0x1dce54,_0xb628cb,_0xa087a){const _0xecea91=a43_0x3f5f;return _0x2559fb[_0xecea91(0x1d6)](_0x1dce54,_0xb628cb,_0xa087a);},'hEavC':_0x2559fb[_0x5a107b(0x183)],'dSBTI':function(_0xaba256){const _0x1b9d49=_0x5a107b;return _0x2559fb[_0x1b9d49(0x155)](_0xaba256);}};global[_0x5a107b(0x1b7)]=[],global['__sessionFailed']=![],global[_0x5a107b(0x1b8)]=async()=>{const _0x4584ce=_0x5a107b;let _0x5c33b2=![];try{await global[_0x4584ce(0x1aa)][0x0][_0x4584ce(0x179)],_0x5c33b2=!![],global[_0x4584ce(0x1ae)]?await _0x239c47[_0x4584ce(0x160)](markSessionStatus,global['__drivers'][0x0],_0x239c47[_0x4584ce(0x203)],global['__error_messages__'][_0x4584ce(0x17f)](_0x239c47[_0x4584ce(0x1db)])):await _0x239c47[_0x4584ce(0x1c2)](markSessionStatus,global['__drivers'][0x0],_0x239c47[_0x4584ce(0x19c)]);}catch(_0x4e6101){logger[_0x4584ce(0x1c4)]('Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20'+_0x4e6101);}global[_0x4584ce(0x1b7)]=[],global[_0x4584ce(0x1ae)]=![];if(_0x5c33b2)try{try{if(_0x239c47[_0x4584ce(0x1f1)](shouldProcessEventForTesthub)){const _0xf5f7ec=global[_0x4584ce(0x1aa)][0x0];if(_0xf5f7ec&&!_0xf5f7ec[_0x4584ce(0x169)]&&_0xf5f7ec[_0x4584ce(0x198)]){const _0x156179=await _0x239c47['zoQul'](sendPlatformDetails,_0xf5f7ec,_0xf5f7ec[_0x4584ce(0x198)]);_0x156179&&(_0xf5f7ec[_0x4584ce(0x169)]=!![]);}}}catch(_0x14bab9){logger[_0x4584ce(0x1c4)](_0x4584ce(0x1c1)+_0x14bab9);}await global[_0x4584ce(0x1aa)][0x0]['initQuit']();}catch(_0x3ce2f7){logger['debug'](_0x4584ce(0x148)+_0x3ce2f7);}};},{'platform':_0x2559fb['cmvUT'](nestedKeyValue,global['__platformCaps'],[_0x2559fb[_0x2f2733(0x151)]]),'hookType':_0x2559fb[_0x2f2733(0x1b3)]})();},'beforeEach'(_0x292d0e){const _0x3f127b=a43_0xfdaa9c,_0x37ae75={'HWfcm':function(_0xc5bd55,_0xad576b){return _0xc5bd55>_0xad576b;},'mKpZm':function(_0x35b153,_0x466188){return _0x35b153>_0x466188;},'IjBZX':_0x3f127b(0x16a),'EGobl':function(_0x5eb6d2,_0x4be85b,_0x53eff1){return _0x5eb6d2(_0x4be85b,_0x53eff1);},'hKMim':function(_0x297da4,_0x53ad75){return _0x297da4===_0x53ad75;},'dhuKk':_0x3f127b(0x1af),'xChZw':_0x3f127b(0x18a),'XQzYt':function(_0x4cff41){return _0x4cff41();},'kjHIu':function(_0x106937,_0x40e723){return _0x106937>_0x40e723;},'vIKeY':_0x3f127b(0x204),'xUjGZ':function(_0xe37971,_0x2bace5){return _0xe37971===_0x2bace5;},'WQCZb':'http:','YECOy':_0x3f127b(0x1d1),'jxumg':_0x3f127b(0x209),'ZBsSe':'Automate\x20test\x20case\x20execution\x20has\x20started.','oLIfW':function(_0xadd74f){return _0xadd74f();},'IFDiZ':_0x3f127b(0x1e9),'WULhN':function(_0x5ec6a9,_0x2ec498,_0x180bcd){return _0x5ec6a9(_0x2ec498,_0x180bcd);},'afFec':_0x3f127b(0x1c7),'nsQFD':'beforeEach'};globals[_0x3f127b(0x1f6)](_0x37ae75[_0x3f127b(0x16f)],this[_0x3f127b(0x206)][_0x3f127b(0x1bf)]()[_0x3f127b(0x17f)](_0x37ae75[_0x3f127b(0x1a1)])),PerformanceTester[_0x3f127b(0x15e)](PerformanceSdkEvents[_0x3f127b(0x187)],()=>{const _0x51c478=_0x3f127b,_0x23a874={'NFfBP':function(_0x2bf348,_0x230699){const _0x27f085=a43_0x3f5f;return _0x37ae75[_0x27f085(0x152)](_0x2bf348,_0x230699);},'siduw':function(_0x319e85,_0x589d49){const _0x25f74d=a43_0x3f5f;return _0x37ae75[_0x25f74d(0x17d)](_0x319e85,_0x589d49);},'eevNG':_0x37ae75[_0x51c478(0x1a1)],'fpSRb':function(_0x45103b,_0x248547,_0x265bf3){const _0x422cda=_0x51c478;return _0x37ae75[_0x422cda(0x1b9)](_0x45103b,_0x248547,_0x265bf3);},'Xjlul':function(_0xf7b432,_0xcd29a8){const _0x2226cc=_0x51c478;return _0x37ae75[_0x2226cc(0x1a6)](_0xf7b432,_0xcd29a8);},'wFdZc':_0x37ae75[_0x51c478(0x1da)],'QtqaB':_0x37ae75['xChZw'],'sJCHD':function(_0x5cd1b7){const _0x183dbd=_0x51c478;return _0x37ae75[_0x183dbd(0x154)](_0x5cd1b7);},'yTigd':function(_0x19cc84,_0x43af23){const _0x5711b9=_0x51c478;return _0x37ae75[_0x5711b9(0x1d2)](_0x19cc84,_0x43af23);},'gdaxz':_0x37ae75[_0x51c478(0x18b)],'jObpJ':function(_0xc70c67,_0x22ae0a){return _0x37ae75['xUjGZ'](_0xc70c67,_0x22ae0a);},'ogaGJ':_0x37ae75['WQCZb'],'vnnkG':_0x37ae75[_0x51c478(0x1e3)],'nvJID':_0x37ae75[_0x51c478(0x188)],'pAlXS':_0x37ae75[_0x51c478(0x197)],'fGDMC':function(_0x2f56a3){const _0x527b76=_0x51c478;return _0x37ae75[_0x527b76(0x1a5)](_0x2f56a3);}},_0x5edb77='browserstack internal helper hook';new Promise(async _0x508d06=>{const _0x4b241f=_0x51c478;let _0x18b1ea=!![];try{_0x23a874[_0x4b241f(0x1ef)](global[_0x4b241f(0x1aa)][_0x4b241f(0x1ca)],0x1)&&(await global[_0x4b241f(0x1b8)](),global[_0x4b241f(0x1aa)]['shift']()),_0x23a874[_0x4b241f(0x14e)](global[_0x4b241f(0x1aa)][0x0]['quitCount_'],0x0)&&(_0x18b1ea=![],await global[_0x4b241f(0x1b8)]());}catch(_0x16ee30){logger[_0x4b241f(0x1c4)](_0x4b241f(0x148)+_0x16ee30);}try{Array['isArray'](global['__drivers'])&&global['__drivers'][0x0]&&(global[_0x4b241f(0x1aa)][0x0]['browserstackSessionName']=this['currentTest'][_0x4b241f(0x1bf)]()[_0x4b241f(0x17f)](_0x23a874['eevNG'])),global[_0x4b241f(0x1e6)]=this['currentTest'][_0x4b241f(0x1bf)]()[_0x4b241f(0x17f)](_0x23a874[_0x4b241f(0x1ba)]);}catch(_0x2e7981){logger[_0x4b241f(0x1c4)](_0x4b241f(0x157)+_0x2e7981);}this[_0x4b241f(0x206)][_0x4b241f(0x1de)]=_0x23a874[_0x4b241f(0x1fc)](shouldScanTestForAccessibility,this[_0x4b241f(0x206)][_0x4b241f(0x1bf)](),!![]);let _0x2c912e=!![];try{const _0x56b192=JSON['parse'](process[_0x4b241f(0x14f)][_0x4b241f(0x1dc)]||'{}');_0x23a874[_0x4b241f(0x1f8)](_0x56b192[_0x4b241f(0x193)],![])&&(_0x2c912e=![]);}catch(_0x1248d1){logger[_0x4b241f(0x1c4)](_0x4b241f(0x20a)+_0x1248d1['message']);}const _0x524adb=_0x2c912e&&this[_0x4b241f(0x206)][_0x4b241f(0x1de)];globals['setGlobal'](_0x23a874[_0x4b241f(0x15f)],_0x524adb),globals[_0x4b241f(0x1f6)](_0x23a874['QtqaB'],null),this[_0x4b241f(0x206)][_0x4b241f(0x162)]=this[_0x4b241f(0x206)]['shouldScanTestForAccessibility'];if(_0x23a874['sJCHD'](isAccessibilityAutomationSession)&&_0x18b1ea&&Array[_0x4b241f(0x1ee)](global[_0x4b241f(0x1aa)])&&_0x23a874[_0x4b241f(0x1e2)](global['__drivers'][_0x4b241f(0x1ca)],0x0)&&globals[_0x4b241f(0x1b6)](_0x23a874['gdaxz']))try{const _0x4118f1=await global[_0x4b241f(0x1aa)][0x0]['session_'];if(_0x4118f1){let _0x2c0161=!![];const _0x306764=await global[_0x4b241f(0x1aa)][0x0][_0x4b241f(0x1c3)]();let _0x439eac;try{_0x439eac=new URL(_0x306764),_0x2c0161=_0x23a874[_0x4b241f(0x18c)](_0x439eac[_0x4b241f(0x1f4)],_0x23a874[_0x4b241f(0x186)])||_0x23a874[_0x4b241f(0x18c)](_0x439eac['protocol'],_0x23a874['vnnkG']);}catch(_0x1cc6fd){_0x2c0161=![];}_0x2c0161&&(this['currentTest'][_0x4b241f(0x1de)]&&logger['info'](_0x23a874[_0x4b241f(0x1e8)])),this[_0x4b241f(0x206)][_0x4b241f(0x162)]=this[_0x4b241f(0x206)][_0x4b241f(0x1de)],_0x524adb&&logger[_0x4b241f(0x15c)](_0x23a874[_0x4b241f(0x16e)]);}}catch(_0x2c982e){logger[_0x4b241f(0x173)](_0x4b241f(0x15a)+util[_0x4b241f(0x177)](_0x2c982e));}_0x23a874[_0x4b241f(0x1a8)](_0x508d06);})[_0x51c478(0x17a)](()=>{_0x23a874['sJCHD'](_0x292d0e);});},{'platform':_0x37ae75[_0x3f127b(0x1a4)](nestedKeyValue,global['__platformCaps'],[_0x37ae75[_0x3f127b(0x166)]]),'hookType':_0x37ae75[_0x3f127b(0x1d5)]})();},'afterEach'(_0x182b70){const _0xda4bb5=a43_0xfdaa9c,_0x32fabb={'WRGpi':_0xda4bb5(0x16a),'lcqaO':function(_0xaa1d87,_0x53f678){return _0xaa1d87>_0x53f678;},'QFBfs':function(_0x4c4353,_0x51c8e6){return _0x4c4353===_0x51c8e6;},'eIhuM':'testcase','HnEzu':'appium:app','QnVsi':function(_0x566051,_0x14c867,_0x937c22,_0x1faaf2){return _0x566051(_0x14c867,_0x937c22,_0x1faaf2);},'nSGLJ':'isAccessibilityPlatform','MnOlg':_0xda4bb5(0x1cc),'UDvPx':_0xda4bb5(0x1af),'ZsBYE':'Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','eIAlx':_0xda4bb5(0x189),'NBArQ':_0xda4bb5(0x19b),'xYPrm':_0xda4bb5(0x1e0),'NOsFf':_0xda4bb5(0x1f3),'zBzRT':_0xda4bb5(0x1a0),'dIMSD':_0xda4bb5(0x1cf),'KqnXw':_0xda4bb5(0x200),'cdtOz':function(_0x424a0){return _0x424a0();},'wYPmY':function(_0x283066,_0x3ec739,_0x5f581b){return _0x283066(_0x3ec739,_0x5f581b);},'HlkRE':function(_0x4a5054,_0x5b1f61,_0x12edfa){return _0x4a5054(_0x5b1f61,_0x12edfa);},'djaJp':_0xda4bb5(0x1c4),'DTPmr':function(_0x4c053d){return _0x4c053d();},'hXERl':function(_0x52f8da){return _0x52f8da();},'aTmCq':function(_0x9954d4,_0x22e72b){return _0x9954d4!==_0x22e72b;},'lltah':_0xda4bb5(0x159),'ezCPP':function(_0x44c93d,_0x1b215c,_0x37fa01){return _0x44c93d(_0x1b215c,_0x37fa01);},'BbTAV':function(_0x427c27,_0x5571b3){return _0x427c27+_0x5571b3;},'dBusx':_0xda4bb5(0x207),'iksSO':_0xda4bb5(0x173),'rvuBv':function(_0x475e86,_0x5346c,_0x3dc344){return _0x475e86(_0x5346c,_0x3dc344);},'jdUJy':'Passed','PlECf':_0xda4bb5(0x15c),'nFqai':_0xda4bb5(0x1cb),'jvzdT':_0xda4bb5(0x1c7),'yYAcF':_0xda4bb5(0x1b1)},_0x52b6ec='browserstack internal helper hook';this[_0xda4bb5(0x1ad)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x32fabb[_0xda4bb5(0x1ed)]]),global['sessionName']=this[_0xda4bb5(0x206)][_0xda4bb5(0x1bf)]()['join'](_0x32fabb[_0xda4bb5(0x184)]),PerformanceTester[_0xda4bb5(0x15e)](PerformanceSdkEvents[_0xda4bb5(0x187)],()=>{const _0x341efd=_0xda4bb5,_0x422616={'GPTAC':function(_0x738fc,_0x2f7de6){const _0x41d51e=a43_0x3f5f;return _0x32fabb[_0x41d51e(0x1e7)](_0x738fc,_0x2f7de6);},'ydoxy':_0x32fabb[_0x341efd(0x201)],'NXLts':function(_0x22e20f,_0x18eac4,_0x1fab06){return _0x32fabb['ezCPP'](_0x22e20f,_0x18eac4,_0x1fab06);},'ztWKe':function(_0x52fbf2,_0xd0901b){const _0x1241cc=_0x341efd;return _0x32fabb[_0x1241cc(0x1c5)](_0x52fbf2,_0xd0901b);},'ViOme':_0x32fabb['dBusx'],'OhHkm':_0x32fabb[_0x341efd(0x1fb)],'sBgCP':function(_0x1cfe82,_0x4ef7eb,_0x373327){const _0x1903b1=_0x341efd;return _0x32fabb[_0x1903b1(0x1a7)](_0x1cfe82,_0x4ef7eb,_0x373327);},'OyoRr':_0x32fabb['jdUJy'],'ErBrZ':_0x32fabb[_0x341efd(0x181)]},_0x118292=async(_0x45299b,_0x6d4b59)=>{const _0x451192=_0x341efd;await global['__drivers'][0x0][_0x451192(0x1f9)](_0x451192(0x165)+_0x45299b+_0x451192(0x18e)+_0x6d4b59+_0x451192(0x1dd));};new Promise(async _0x4b671e=>{const _0x11b5cc=_0x341efd,_0x4991f8={};_0x4991f8[_0x11b5cc(0x1f2)]=_0x32fabb['WRGpi'];const _0x10fffb=_0x4991f8;try{_0x32fabb[_0x11b5cc(0x1fa)](global[_0x11b5cc(0x1aa)]['length'],0x1)&&(await global[_0x11b5cc(0x1b8)](),global[_0x11b5cc(0x1aa)][_0x11b5cc(0x195)](),global[_0x11b5cc(0x1b7)]=[],global['__sessionFailed']=![]);try{if(global['percy']&&_0x32fabb[_0x11b5cc(0x1d8)](global[_0x11b5cc(0x149)],_0x32fabb[_0x11b5cc(0x171)])&&global[_0x11b5cc(0x1aa)][0x0]){const _0x2ec166=_0x32fabb[_0x11b5cc(0x1fa)](global[_0x11b5cc(0x1e4)][_0x11b5cc(0x1ca)],0x0)?!!global[_0x11b5cc(0x1e4)][0x0]['app']||!!global[_0x11b5cc(0x1e4)][0x0][_0x32fabb['HnEzu']]:![],_0x3d2ace={};_0x3d2ace[_0x11b5cc(0x202)]=_0x2ec166,await _0x32fabb[_0x11b5cc(0x168)](percyAutoCapture,global[_0x11b5cc(0x1aa)][0x0],_0x32fabb[_0x11b5cc(0x171)],_0x3d2ace);}}catch(_0x9aaf66){logger[_0x11b5cc(0x1c4)](_0x11b5cc(0x16b)+_0x9aaf66);}!global['__skipSessionName']&&(await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x11b5cc(0x1e1)],async()=>{const _0x5504b4=_0x11b5cc;await global[_0x5504b4(0x1aa)][0x0][_0x5504b4(0x1f9)](_0x5504b4(0x163)+JSON[_0x5504b4(0x161)](this[_0x5504b4(0x206)][_0x5504b4(0x1bf)]()['join'](_0x10fffb[_0x5504b4(0x1f2)]))+'}}');})(),global['__drivers'][0x0][_0x11b5cc(0x1df)]=!![]),await PerformanceTester['measureWrapper'](PerformanceAutEvents['SESSION_STATUS'],async()=>{const _0x536031=_0x11b5cc,_0x2da029=_0x422616[_0x536031(0x19a)](this[_0x536031(0x206)][_0x536031(0x14b)],_0x422616[_0x536031(0x20b)]);_0x2da029?(global[_0x536031(0x1ae)]=!![],global[_0x536031(0x1b7)]['push'](this[_0x536031(0x206)]['err'][_0x536031(0x15b)]),await _0x422616['NXLts'](_0x118292,JSON[_0x536031(0x161)](_0x422616[_0x536031(0x1b0)](_0x422616[_0x536031(0x1eb)],this[_0x536031(0x206)][_0x536031(0x185)][_0x536031(0x15b)])),_0x422616[_0x536031(0x14d)])):await _0x422616['sBgCP'](_0x118292,JSON['stringify'](_0x422616[_0x536031(0x19e)]),_0x422616[_0x536031(0x156)]);})();}catch(_0x4269ba){logger[_0x11b5cc(0x1c4)](_0x11b5cc(0x1ec)+_0x4269ba);}try{if(this['currentTest']['accessibilityScanStarted']&&globals[_0x11b5cc(0x1b6)](_0x32fabb[_0x11b5cc(0x1d4)])){logger[_0x11b5cc(0x15c)](_0x32fabb[_0x11b5cc(0x205)]);const _0x27171f={};_0x27171f[_0x11b5cc(0x182)]=this[_0x11b5cc(0x206)][_0x11b5cc(0x1a3)],_0x27171f['thBuildUuid']=process[_0x11b5cc(0x14f)][testHubConstants[_0x11b5cc(0x16d)]['BROWSERSTACK_TESTHUB_UUID']],_0x27171f['thJwtToken']=process[_0x11b5cc(0x14f)][testHubConstants[_0x11b5cc(0x16d)][_0x11b5cc(0x1d7)]];const _0x2569f2=_0x27171f;logger['debug'](_0x11b5cc(0x1e5)+JSON['stringify'](_0x2569f2));if(globals['getGlobal'](_0x32fabb[_0x11b5cc(0x170)])){logger['debug'](_0x32fabb[_0x11b5cc(0x194)]);const _0x442e02={};_0x442e02[_0x11b5cc(0x150)]=_0x32fabb['eIAlx'];const _0x1a3cb4=await PerformanceTester[_0x11b5cc(0x15e)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x105766=_0x11b5cc;return await accessibilityRetryHelper[_0x105766(0x180)](global[_0x105766(0x1aa)][0x0],global[_0x105766(0x1e6)]);},_0x442e02)();_0x1a3cb4?logger[_0x11b5cc(0x1c4)](_0x32fabb[_0x11b5cc(0x18f)]):logger[_0x11b5cc(0x167)](_0x32fabb['xYPrm']);}else logger['debug'](_0x32fabb['NOsFf']);const _0x3f1662=await PerformanceTester[_0x11b5cc(0x15e)](PerformanceA11yEvents[_0x11b5cc(0x190)],async()=>{const _0x10f547=_0x11b5cc;return await accessibilityRetryHelper[_0x10f547(0x17c)](global[_0x10f547(0x1aa)][0x0],_0x2569f2);})();_0x3f1662?logger['debug'](_0x32fabb[_0x11b5cc(0x15d)]):logger[_0x11b5cc(0x167)](_0x32fabb[_0x11b5cc(0x1bb)]),logger[_0x11b5cc(0x15c)](_0x32fabb[_0x11b5cc(0x1ac)]);}}catch(_0x4914ed){logger[_0x11b5cc(0x173)](_0x11b5cc(0x178)+this[_0x11b5cc(0x206)]['titlePath']()+'.\x20Error\x20:',_0x4914ed);}try{try{if(_0x32fabb[_0x11b5cc(0x208)](shouldProcessEventForTesthub)){const _0x38263a=global[_0x11b5cc(0x1aa)][0x0];if(_0x38263a){const _0x1b36af=await _0x32fabb['wYPmY'](sendPlatformDetails,_0x38263a,this[_0x11b5cc(0x206)]?this[_0x11b5cc(0x206)]['testAnalyticsId']:null);_0x1b36af&&(_0x38263a['__bstackPlatformReported']=!![]);}if(_0x32fabb[_0x11b5cc(0x208)](isBrowserstackInfra)){PerformanceTester[_0x11b5cc(0x17e)](PerformanceO11yEvents[_0x11b5cc(0x18d)]);const _0xe96883=_0x11b5cc(0x1f5)+Date[_0x11b5cc(0x14c)]();await _0x32fabb[_0x11b5cc(0x16c)](_0x118292,JSON[_0x11b5cc(0x161)](_0xe96883),_0x32fabb['djaJp']),PerformanceTester[_0x11b5cc(0x1ea)](PerformanceO11yEvents['SYNC']);}}}catch(_0x3070a2){logger[_0x11b5cc(0x1c4)]('Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20'+_0x3070a2),PerformanceTester['end'](PerformanceO11yEvents[_0x11b5cc(0x18d)],![],_0x3070a2);}_0x32fabb[_0x11b5cc(0x1fa)](global['__drivers'][0x0][_0x11b5cc(0x1b4)],0x0)&&await global[_0x11b5cc(0x1b8)]();}catch(_0x354759){logger[_0x11b5cc(0x1c4)](_0x11b5cc(0x148)+_0x354759);}_0x32fabb[_0x11b5cc(0x158)](_0x4b671e);})[_0x341efd(0x17a)](()=>{const _0xd467fc=_0x341efd;_0x32fabb[_0xd467fc(0x192)](_0x182b70);});},{'platform':_0x32fabb[_0xda4bb5(0x1ab)](nestedKeyValue,global['__platformCaps'],[_0x32fabb[_0xda4bb5(0x1ff)]]),'hookType':_0x32fabb['yYAcF']})();},'afterAll'(_0x1b10c8){const _0x3feaec=a43_0xfdaa9c,_0x23d96f={'JCOaV':function(_0xe1925e){return _0xe1925e();},'Mkkjx':_0x3feaec(0x1cb),'JCiXf':function(_0x12a13a,_0x1610df,_0x57b53b){return _0x12a13a(_0x1610df,_0x57b53b);},'qtRvq':_0x3feaec(0x1c7),'ZoKSp':_0x3feaec(0x1c0)},_0x21684f='browserstack internal helper hook';this[_0x3feaec(0x1ad)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x23d96f['Mkkjx']]),PerformanceTester[_0x3feaec(0x15e)](PerformanceSdkEvents[_0x3feaec(0x187)],()=>{const _0x3f920f=_0x3feaec,_0xa80737={'bYSmf':function(_0x1c8a7c){return _0x23d96f['JCOaV'](_0x1c8a7c);}};new Promise(async _0x1f8a7e=>{const _0x5549e8=a43_0x3f5f;await global[_0x5549e8(0x1b8)](),_0x23d96f['JCOaV'](_0x1f8a7e);})[_0x3f920f(0x17a)]()[_0x3f920f(0x17b)](()=>{const _0x9f3dcc=_0x3f920f;_0xa80737[_0x9f3dcc(0x1d9)](_0x1b10c8);});},{'platform':_0x23d96f[_0x3feaec(0x14a)](nestedKeyValue,global[_0x3feaec(0x191)],[_0x23d96f[_0x3feaec(0x176)]]),'hookType':_0x23d96f[_0x3feaec(0x174)]})();}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a44_0x562451=a44_0x2e67;(function(_0x2f77d9,_0x46a630){const _0x12c1e6=a44_0x2e67,_0x5c1e05=_0x2f77d9();while(!![]){try{const _0x42f5c2=-parseInt(_0x12c1e6(0x205))/0x1+-parseInt(_0x12c1e6(0x1c3))/0x2+parseInt(_0x12c1e6(0x1fd))/0x3*(parseInt(_0x12c1e6(0x206))/0x4)+parseInt(_0x12c1e6(0x21c))/0x5+-parseInt(_0x12c1e6(0x1ba))/0x6+parseInt(_0x12c1e6(0x1eb))/0x7+parseInt(_0x12c1e6(0x1f9))/0x8*(parseInt(_0x12c1e6(0x213))/0x9);if(_0x42f5c2===_0x46a630)break;else _0x5c1e05['push'](_0x5c1e05['shift']());}catch(_0x14d348){_0x5c1e05['push'](_0x5c1e05['shift']());}}}(a44_0x3bcc,0xc3903));const path=require(a44_0x562451(0x21b)),Module=require('module'),{fork}=require(a44_0x562451(0x21f)),logger=require(a44_0x562451(0x220))[a44_0x562451(0x1db)],helper=require(a44_0x562451(0x207)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),RequestQueueHandler=require(a44_0x562451(0x1df)),{FRAMEWORKS}=require(a44_0x562451(0x1e6)),{printBuildLink}=require('../../helpers/test-observability/utils'),BrowserstackCLI=require(a44_0x562451(0x1fc)),CLIUtils=require(a44_0x562451(0x20a));function registerBrowserStackReporter(){const _0x32ac4e=a44_0x562451,_0x457997={};_0x457997['cUyCS']=function(_0x5c8a90,_0x25c7b8){return _0x5c8a90===_0x25c7b8;},_0x457997[_0x32ac4e(0x1dc)]='newman-reporter-browserstack',_0x457997['NTKmK']=_0x32ac4e(0x1ec),_0x457997[_0x32ac4e(0x1b1)]=_0x32ac4e(0x1bb);const _0x2dc524=_0x457997,_0x4f346c=path[_0x32ac4e(0x1bf)](__dirname,_0x2dc524[_0x32ac4e(0x1be)],_0x2dc524[_0x32ac4e(0x1b1)]),_0x43844f=Module[_0x32ac4e(0x201)];Module[_0x32ac4e(0x201)]=function(_0x93d3ef,_0x2da132,_0xe23183,_0x3f6b22){const _0x4efd7f=_0x32ac4e;if(_0x2dc524['cUyCS'](_0x93d3ef,_0x2dc524['TcarW']))return _0x4f346c;return _0x43844f[_0x4efd7f(0x1e7)](this,_0x93d3ef,_0x2da132,_0xe23183,_0x3f6b22);};}function injectReporterIntoArgs(_0x4fb367){const _0x4eeee8=a44_0x562451,_0x2ebcc6={};_0x2ebcc6['qldXc']=function(_0x513d0a,_0x163fb9){return _0x513d0a<_0x163fb9;},_0x2ebcc6['zscTJ']=function(_0x45a461,_0x1cf8dc){return _0x45a461===_0x1cf8dc;},_0x2ebcc6[_0x4eeee8(0x211)]=function(_0x5906b5,_0x7263da){return _0x5906b5===_0x7263da;},_0x2ebcc6[_0x4eeee8(0x20f)]=_0x4eeee8(0x1da),_0x2ebcc6[_0x4eeee8(0x1af)]=function(_0x1580cc,_0xe117d2){return _0x1580cc+_0xe117d2;},_0x2ebcc6[_0x4eeee8(0x1d2)]=function(_0x3dd536,_0x3c0063){return _0x3dd536===_0x3c0063;},_0x2ebcc6[_0x4eeee8(0x1f8)]=function(_0x41f0ad,_0x21584d){return _0x41f0ad+_0x21584d;},_0x2ebcc6[_0x4eeee8(0x1f2)]='browserstack',_0x2ebcc6['tkuhu']=function(_0x4d8eb7,_0x43b888){return _0x4d8eb7+_0x43b888;},_0x2ebcc6['isfIn']=_0x4eeee8(0x1b8),_0x2ebcc6[_0x4eeee8(0x1cc)]=_0x4eeee8(0x1f7);const _0x5812f8=_0x2ebcc6,_0x446f05=_0x4fb367[_0x4eeee8(0x208)]();for(let _0x44fbff=0x0;_0x5812f8['qldXc'](_0x44fbff,_0x446f05[_0x4eeee8(0x1ca)]);_0x44fbff++){if(_0x5812f8[_0x4eeee8(0x1e9)](_0x446f05[_0x44fbff],'-r')||_0x5812f8[_0x4eeee8(0x211)](_0x446f05[_0x44fbff],_0x5812f8[_0x4eeee8(0x20f)]))return _0x446f05[_0x5812f8[_0x4eeee8(0x1af)](_0x44fbff,0x1)]&&_0x5812f8[_0x4eeee8(0x1d2)](_0x446f05[_0x5812f8['ktgyz'](_0x44fbff,0x1)]['indexOf'](_0x5812f8[_0x4eeee8(0x1f2)]),-0x1)&&(_0x446f05[_0x5812f8['tkuhu'](_0x44fbff,0x1)]+=_0x5812f8[_0x4eeee8(0x219)]),_0x446f05;}return _0x446f05[_0x4eeee8(0x216)]('-r',_0x5812f8[_0x4eeee8(0x1cc)]),_0x446f05;}function a44_0x2e67(_0x433162,_0x25327e){const _0x3bcc6a=a44_0x3bcc();return a44_0x2e67=function(_0x2e67f2,_0x5ce96a){_0x2e67f2=_0x2e67f2-0x1ac;let _0x165e76=_0x3bcc6a[_0x2e67f2];return _0x165e76;},a44_0x2e67(_0x433162,_0x25327e);}function runNewmanCLI(_0x4e9d5f){const _0x5f11c5=a44_0x562451,_0x83f6b9={'kqmhp':function(_0x303a82,_0x2f146e){return _0x303a82>_0x2f146e;},'GunXe':function(_0x542159,_0xf1c2e8){return _0x542159(_0xf1c2e8);},'nReog':function(_0x5284ed,_0x1f1454,_0x23872c){return _0x5284ed(_0x1f1454,_0x23872c);},'NEXdo':_0x5f11c5(0x1b2),'rkVPD':_0x5f11c5(0x1fe),'BkdhE':function(_0x329687,_0x1b1012){return _0x329687(_0x1b1012);},'ikUVQ':function(_0x31b53d,_0x22ad6b){return _0x31b53d(_0x22ad6b);},'FgrRc':_0x5f11c5(0x1cb),'nPLBb':'package.json','jbJzE':_0x5f11c5(0x222),'OmRCP':'node','Nfztc':function(_0x54c170,_0x5555a8){return _0x54c170+_0x5555a8;},'MsJlX':_0x5f11c5(0x21d)};return new Promise(_0x55c949=>{const _0x4ceaaf=_0x5f11c5;let _0x3873d9;try{_0x3873d9=helper[_0x4ceaaf(0x1ff)](_0x83f6b9[_0x4ceaaf(0x203)],_0x83f6b9[_0x4ceaaf(0x203)]);}catch(_0x3d9d6b){return logger[_0x4ceaaf(0x20b)](_0x83f6b9[_0x4ceaaf(0x1f4)]),_0x83f6b9[_0x4ceaaf(0x1cf)](_0x55c949,0x1);}const _0x3ee7e9=_0x3873d9[_0x4ceaaf(0x1f3)];_0x3873d9[_0x4ceaaf(0x1f3)]=function(_0x3421b4,_0x5a52b6){const _0x40cc41=_0x4ceaaf,_0x128d6d={'sqrTq':function(_0x4de72e,_0x26fe2a){const _0x10b222=a44_0x2e67;return _0x83f6b9[_0x10b222(0x209)](_0x4de72e,_0x26fe2a);},'WbCPq':function(_0x2723ae,_0x5897d8){const _0x3ed356=a44_0x2e67;return _0x83f6b9[_0x3ed356(0x217)](_0x2723ae,_0x5897d8);},'kIMph':function(_0x286d4a,_0x3f418f,_0xc3a159){const _0x751fba=a44_0x2e67;return _0x83f6b9[_0x751fba(0x1ce)](_0x286d4a,_0x3f418f,_0xc3a159);}};return _0x3873d9[_0x40cc41(0x1f3)]=_0x3ee7e9,_0x3ee7e9[_0x40cc41(0x1e7)](_0x3873d9,_0x3421b4,(_0x5b6f50,_0x27b7c2)=>{const _0x2e62b0=_0x40cc41,_0x4424e1=_0x27b7c2&&_0x27b7c2[_0x2e62b0(0x1f3)]&&(_0x27b7c2[_0x2e62b0(0x1f3)][_0x2e62b0(0x20b)]||_0x27b7c2[_0x2e62b0(0x1f3)][_0x2e62b0(0x1b4)]&&_0x128d6d[_0x2e62b0(0x204)](_0x27b7c2[_0x2e62b0(0x1f3)][_0x2e62b0(0x1b4)][_0x2e62b0(0x1ca)],0x0));_0x128d6d[_0x2e62b0(0x214)](_0x55c949,_0x4424e1?0x1:0x0),_0x5a52b6&&_0x128d6d[_0x2e62b0(0x1de)](_0x5a52b6,_0x5b6f50,_0x27b7c2);});};try{const _0x58c2e1=_0x83f6b9[_0x4ceaaf(0x1ac)](require,_0x83f6b9[_0x4ceaaf(0x1e3)])['createRequire'](path[_0x4ceaaf(0x1bf)](process[_0x4ceaaf(0x1c6)](),_0x83f6b9[_0x4ceaaf(0x1e4)]));_0x83f6b9['ikUVQ'](_0x58c2e1,_0x83f6b9['jbJzE'])([_0x83f6b9[_0x4ceaaf(0x1d4)],_0x83f6b9[_0x4ceaaf(0x203)]]['concat'](_0x4e9d5f));}catch(_0xf58933){_0x3873d9[_0x4ceaaf(0x1f3)]=_0x3ee7e9,logger[_0x4ceaaf(0x20b)](_0x83f6b9[_0x4ceaaf(0x1d5)](_0x83f6b9[_0x4ceaaf(0x1c8)],_0xf58933['message'])),_0x83f6b9['BkdhE'](_0x55c949,0x1);}});}function a44_0x3bcc(){const _0x87d207=['Jkefw','newman','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','failures','testObservability','lUaUc','setBrowserstackConfig',',browserstack','Failed\x20to\x20bootstrap\x20CLI:\x20','5953134wgvxWw','index.js','[Newman]\x20Test\x20Observability\x20build\x20was\x20not\x20created.\x20No\x20build\x20link\x20available.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','ZUOdI','NTKmK','join','AbfZZ','xPtTS','OrgCb','3080466qAeuhz','exports','env','cwd','true','MsJlX','bootstrap','length','module','tnSre','warn','nReog','BkdhE','BROWSERSTACK_TESTHUB_JWT','assign','gqdAC','BROWSERSTACK_TEST_OBSERVABILITY_YML','OmRCP','Nfztc','parallelsPerPlatform','MaSJH','QJvaO','RSKyX','--reporters','winstonLogger','TcarW','config','kIMph','../../helpers/test-observability/requestQueueHandler','ukkjH','cliConfig','JMmKC','FgrRc','nPLBb','sZVLm','../../helpers/test-observability/constants','call','ZkKEa','zscTJ','GlXEV','4415712aGTOII','reporter','RRJYw','null','EbCMw','Failed\x20to\x20launch\x20build:\x20','fLaIv','ccoHE','run','rkVPD','message','OwSOq','cli,browserstack','ktgyz','16xrVadr','.js','[Newman]\x20Test\x20Observability\x20build\x20creation\x20failed.\x20Tests\x20will\x20run\x20but\x20results\x20will\x20not\x20appear\x20on\x20the\x20BrowserStack\x20dashboard.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','../v2/browserstackCLI','66930AlZGaw','Newman\x20is\x20not\x20installed.\x20Please\x20install\x20newman:\x20npm\x20install\x20newman','requireModule','shutdown','_resolveFilename','endsWith','NEXdo','sqrTq','253583wAeHki','156GUdvlC','../../helpers/helper','slice','kqmhp','../v2/cliUtils','error','IQIOQ','stop','HTADi','arAXE','NEWMAN','Fhskv','aJsoj','6165522Npoehs','WbCPq','O11yHashedID','push','GunXe','GyNsG','isfIn','ewGXj','path','3580050nnBNpY','Newman\x20CLI\x20not\x20found:\x20','aBgVz','child_process','../../helpers/logger','configPath','newman/bin/newman','ikUVQ','GquyH','close','AsbPv','getInstance'];a44_0x3bcc=function(){return _0x87d207;};return a44_0x3bcc();}function runNewmanScript(_0x2dfafe,_0xb517ad){const _0x33a81c=a44_0x562451,_0x439381={'xPtTS':function(_0x119ace,_0x2c3fbc){return _0x119ace(_0x2c3fbc);},'KUwLs':function(_0x3a601d,_0x37671d){return _0x3a601d||_0x37671d;},'QvhMW':function(_0x546e46,_0x573e68,_0x550f2c,_0x4c4c65){return _0x546e46(_0x573e68,_0x550f2c,_0x4c4c65);},'fLaIv':'scriptRunner.js','IQIOQ':function(_0x14b2ea,_0x4be7cb){return _0x14b2ea(_0x4be7cb);},'NzAaq':function(_0x10657a,_0x4bee3c){return _0x10657a||_0x4bee3c;},'dywYX':'inherit','fMbkW':_0x33a81c(0x1ae)};return new Promise(function(_0x4d6ad5){const _0x465c8b=_0x33a81c,_0x2b4fb0={'ZUOdI':function(_0x48d162,_0x3e033b){const _0x3a0448=a44_0x2e67;return _0x439381[_0x3a0448(0x1c1)](_0x48d162,_0x3e033b);},'OwSOq':function(_0x509c44,_0x2c589c){return _0x439381['KUwLs'](_0x509c44,_0x2c589c);}},_0x1675a8=_0x439381['QvhMW'](fork,path[_0x465c8b(0x1bf)](__dirname,_0x439381[_0x465c8b(0x1f1)]),[_0x2dfafe,_0x439381[_0x465c8b(0x20c)](String,_0x439381['NzAaq'](_0xb517ad,0x0))],{'stdio':_0x439381['dywYX'],'env':Object[_0x465c8b(0x1d1)]({},process[_0x465c8b(0x1c5)])});_0x1675a8['on'](_0x439381['fMbkW'],function(_0x3841f6){const _0xa4e93f=_0x465c8b;_0x2b4fb0[_0xa4e93f(0x1bd)](_0x4d6ad5,_0x2b4fb0[_0xa4e93f(0x1f6)](_0x3841f6,0x0));});});}function hasO11yBuild(){const _0x58baa4=a44_0x562451,_0x417852={};_0x417852[_0x58baa4(0x1e0)]=function(_0x3eb9ec,_0x53726f){return _0x3eb9ec!==_0x53726f;},_0x417852[_0x58baa4(0x20e)]=_0x58baa4(0x1ee);const _0x5c21ac=_0x417852;return!!(BrowserstackCLI[_0x58baa4(0x215)]||process[_0x58baa4(0x1c5)][_0x58baa4(0x1d0)]&&_0x5c21ac[_0x58baa4(0x1e0)](process[_0x58baa4(0x1c5)]['BROWSERSTACK_TESTHUB_JWT'],_0x5c21ac[_0x58baa4(0x20e)]));}function runWithoutObservability(_0x539dde,_0xa7cac){const _0x41bf1f=a44_0x562451,_0x652a00={'GlXEV':function(_0x42e315,_0x343f44){return _0x42e315(_0x343f44);}};if(_0x539dde)return _0x652a00[_0x41bf1f(0x1ea)](require,path['resolve'](_0x539dde)),0x0;return _0x652a00[_0x41bf1f(0x1ea)](runNewmanCLI,_0xa7cac);}module[a44_0x562451(0x1c4)]=async function(_0x1bb5d8,_0x49a34b,_0x319c54){const _0x195e19=a44_0x562451,_0x58fa12={'QJvaO':_0x195e19(0x1fa),'aBgVz':function(_0x3e8c5d,_0x45c5d9){return _0x3e8c5d===_0x45c5d9;},'lUaUc':function(_0x4c31cc,_0x3c5ef0){return _0x4c31cc===_0x3c5ef0;},'MaSJH':'false','EbCMw':function(_0x3f3b8c,_0x31c672,_0x624c04){return _0x3f3b8c(_0x31c672,_0x624c04);},'sZVLm':function(_0x7f7ba,_0x239d60){return _0x7f7ba!=_0x239d60;},'GyNsG':_0x195e19(0x1c7),'JMmKC':'newman','ZkKEa':function(_0x3f842b,_0x36d572){return _0x3f842b+_0x36d572;},'ewGXj':_0x195e19(0x1b9),'qGRFC':_0x195e19(0x1f0),'RSKyX':function(_0x29b6dd){return _0x29b6dd();},'YhMEA':_0x195e19(0x1fb),'aJsoj':function(_0x3b0278){return _0x3b0278();},'RRJYw':function(_0x3fb06e,_0x26bf06,_0x3d1448){return _0x3fb06e(_0x26bf06,_0x3d1448);},'AbfZZ':function(_0x533183,_0x2848c3){return _0x533183(_0x2848c3);},'GquyH':function(_0x932b27,_0x32a286){return _0x932b27(_0x32a286);},'OrgCb':_0x195e19(0x1bc)},_0x18d789=_0x49a34b[_0x195e19(0x208)](0x1),_0x116b19=_0x18d789[0x0]&&_0x18d789[0x0][_0x195e19(0x202)](_0x58fa12[_0x195e19(0x1d8)])?_0x18d789[0x0]:null;if(!_0x319c54[_0x195e19(0x1dd)]||_0x58fa12[_0x195e19(0x21e)](_0x319c54[_0x195e19(0x1dd)]['testObservability'],![])||_0x58fa12[_0x195e19(0x1b6)](_0x319c54[_0x195e19(0x1dd)][_0x195e19(0x1b5)],_0x58fa12[_0x195e19(0x1d7)])){process['exitCode']=await _0x58fa12[_0x195e19(0x1ef)](runWithoutObservability,_0x116b19,_0x18d789)||0x0;return;}process[_0x195e19(0x1c5)]['BROWSERSTACK_AUTOMATION']=_0x58fa12[_0x195e19(0x1d7)],process[_0x195e19(0x1c5)][_0x195e19(0x1b3)]=_0x58fa12[_0x195e19(0x1d7)],process[_0x195e19(0x1c5)][_0x195e19(0x1d3)]=_0x58fa12[_0x195e19(0x1e5)](_0x319c54[_0x195e19(0x1dd)][_0x195e19(0x1b5)],null)?_0x319c54['config'][_0x195e19(0x1b5)]:_0x58fa12[_0x195e19(0x218)],CLIUtils['setFrameworkDetail'](_0x58fa12[_0x195e19(0x1e2)],_0x58fa12['JMmKC']),BrowserstackCLI['getInstance']()[_0x195e19(0x1b7)](_0x319c54[_0x195e19(0x1dd)],_0x319c54[_0x195e19(0x221)],_0x319c54[_0x195e19(0x1e1)]);try{await BrowserstackCLI[_0x195e19(0x1b0)]()[_0x195e19(0x1c9)]();}catch(_0x1e6f16){logger['error'](_0x58fa12[_0x195e19(0x1e8)](_0x58fa12[_0x195e19(0x21a)],_0x1e6f16[_0x195e19(0x1f5)]||_0x1e6f16));}if(!BrowserstackCLI[_0x195e19(0x1b0)]()['isRunning']())try{await TestHubHandler['launchBuild'](FRAMEWORKS[_0x195e19(0x210)],_0x319c54);}catch(_0x2ce0db){logger[_0x195e19(0x20b)](_0x58fa12[_0x195e19(0x1e8)](_0x58fa12['qGRFC'],_0x2ce0db[_0x195e19(0x1f5)]||_0x2ce0db));}!_0x58fa12[_0x195e19(0x1d9)](hasO11yBuild)&&logger[_0x195e19(0x1cd)](_0x58fa12['YhMEA']);_0x58fa12[_0x195e19(0x212)](registerBrowserStackReporter);let _0x12a9f4;_0x116b19?_0x12a9f4=await _0x58fa12[_0x195e19(0x1ed)](runNewmanScript,_0x116b19,_0x319c54[_0x195e19(0x1dd)][_0x195e19(0x1d6)]):_0x12a9f4=await _0x58fa12[_0x195e19(0x1c0)](runNewmanCLI,_0x58fa12[_0x195e19(0x1ad)](injectReporterIntoArgs,_0x18d789));try{await TestHubHandler[_0x195e19(0x20d)]();}catch(_0x41d569){}try{await BrowserstackCLI[_0x195e19(0x1b0)]()['stop']();}catch(_0x45c704){}try{await RequestQueueHandler[_0x195e19(0x1b0)]()[_0x195e19(0x200)]();}catch(_0x2b3bcf){}if(_0x58fa12[_0x195e19(0x1d9)](hasO11yBuild))try{_0x58fa12[_0x195e19(0x1d9)](printBuildLink);}catch(_0x369d79){}else logger['warn'](_0x58fa12[_0x195e19(0x1c2)]);process['exitCode']=_0x12a9f4;};
2
+ 'use strict';const a44_0x17b2fe=a44_0x333f;(function(_0x378c4e,_0x1f4124){const _0x12c71b=a44_0x333f,_0x55b75d=_0x378c4e();while(!![]){try{const _0x4912c7=-parseInt(_0x12c71b(0x110))/0x1+-parseInt(_0x12c71b(0x14c))/0x2*(parseInt(_0x12c71b(0x12c))/0x3)+parseInt(_0x12c71b(0x13f))/0x4*(-parseInt(_0x12c71b(0x103))/0x5)+parseInt(_0x12c71b(0x10c))/0x6+-parseInt(_0x12c71b(0x12e))/0x7+-parseInt(_0x12c71b(0x16b))/0x8*(parseInt(_0x12c71b(0xff))/0x9)+parseInt(_0x12c71b(0x108))/0xa*(parseInt(_0x12c71b(0x14e))/0xb);if(_0x4912c7===_0x1f4124)break;else _0x55b75d['push'](_0x55b75d['shift']());}catch(_0x22d447){_0x55b75d['push'](_0x55b75d['shift']());}}}(a44_0x4a5b,0xb288b));const path=require('path'),Module=require(a44_0x17b2fe(0x10b)),{fork}=require(a44_0x17b2fe(0x119)),logger=require('../../helpers/logger')[a44_0x17b2fe(0x11b)],helper=require(a44_0x17b2fe(0x164)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),RequestQueueHandler=require(a44_0x17b2fe(0x109)),{FRAMEWORKS}=require(a44_0x17b2fe(0x135)),{printBuildLink}=require(a44_0x17b2fe(0x136)),BrowserstackCLI=require('../v2/browserstackCLI'),CLIUtils=require('../v2/cliUtils');function registerBrowserStackReporter(){const _0xdbc1de=a44_0x17b2fe,_0x36a5e8={};_0x36a5e8[_0xdbc1de(0x129)]=function(_0x403164,_0x5383e4){return _0x403164===_0x5383e4;},_0x36a5e8[_0xdbc1de(0x10a)]=_0xdbc1de(0x12a),_0x36a5e8[_0xdbc1de(0x10d)]=_0xdbc1de(0x172),_0x36a5e8[_0xdbc1de(0x107)]=_0xdbc1de(0x106);const _0xbdb131=_0x36a5e8,_0x147eb9=path[_0xdbc1de(0x102)](__dirname,_0xbdb131[_0xdbc1de(0x10d)],_0xbdb131[_0xdbc1de(0x107)]),_0x4f4e67=Module['_resolveFilename'];Module[_0xdbc1de(0x15e)]=function(_0x64ad67,_0x31d408,_0x70d195,_0xa42160){const _0x30717d=_0xdbc1de;if(_0xbdb131[_0x30717d(0x129)](_0x64ad67,_0xbdb131[_0x30717d(0x10a)]))return _0x147eb9;return _0x4f4e67[_0x30717d(0x144)](this,_0x64ad67,_0x31d408,_0x70d195,_0xa42160);};}function injectReporterIntoArgs(_0x8eba97){const _0x238354=a44_0x17b2fe,_0x13f021={};_0x13f021['DjCVb']=function(_0x403f02,_0x5e13fa){return _0x403f02<_0x5e13fa;},_0x13f021[_0x238354(0x101)]=function(_0x30193a,_0x290962){return _0x30193a===_0x290962;},_0x13f021['eCBtX']=function(_0x5be753,_0x182cd9){return _0x5be753===_0x182cd9;},_0x13f021[_0x238354(0x159)]=_0x238354(0x169),_0x13f021['XzSKS']=function(_0xf10049,_0x47a733){return _0xf10049+_0x47a733;},_0x13f021[_0x238354(0x130)]=function(_0x531ec7,_0x44bef9){return _0x531ec7+_0x44bef9;},_0x13f021[_0x238354(0x123)]='browserstack',_0x13f021[_0x238354(0x128)]=function(_0x4074e1,_0x219e90){return _0x4074e1+_0x219e90;},_0x13f021[_0x238354(0x149)]=',browserstack',_0x13f021[_0x238354(0x166)]=_0x238354(0x16e);const _0x502bcf=_0x13f021,_0x58db39=_0x8eba97[_0x238354(0x140)]();for(let _0x31d1ac=0x0;_0x502bcf[_0x238354(0x155)](_0x31d1ac,_0x58db39[_0x238354(0x163)]);_0x31d1ac++){if(_0x502bcf[_0x238354(0x101)](_0x58db39[_0x31d1ac],'-r')||_0x502bcf[_0x238354(0x132)](_0x58db39[_0x31d1ac],_0x502bcf[_0x238354(0x159)]))return _0x58db39[_0x502bcf['XzSKS'](_0x31d1ac,0x1)]&&_0x502bcf['Oyzvs'](_0x58db39[_0x502bcf[_0x238354(0x130)](_0x31d1ac,0x1)]['indexOf'](_0x502bcf[_0x238354(0x123)]),-0x1)&&(_0x58db39[_0x502bcf[_0x238354(0x128)](_0x31d1ac,0x1)]+=_0x502bcf['jHhmd']),_0x58db39;}return _0x58db39[_0x238354(0x151)]('-r',_0x502bcf['VAgkt']),_0x58db39;}function runNewmanCLI(_0x139a35){const _0x1593ff=a44_0x17b2fe,_0x33affd={'eYJWH':function(_0x37dde4,_0xb518b8){return _0x37dde4>_0xb518b8;},'UVgGR':function(_0x5baaa1,_0x2bbd08){return _0x5baaa1(_0x2bbd08);},'mAKwP':function(_0x4217a2,_0x5aeed0,_0x46d388){return _0x4217a2(_0x5aeed0,_0x46d388);},'ftcgk':_0x1593ff(0x14d),'mLuXL':_0x1593ff(0x12d),'cRLFc':function(_0x2caf50,_0x2c51da){return _0x2caf50(_0x2c51da);},'cuFSY':_0x1593ff(0x10b),'GCjpl':'package.json','kUGoS':function(_0x2dafe2,_0x43e338){return _0x2dafe2(_0x43e338);},'YTFXq':'newman/bin/newman','lLPZN':_0x1593ff(0x141),'ToKlV':function(_0x2a0ce3,_0x19a86a){return _0x2a0ce3+_0x19a86a;},'umUDw':'Newman\x20CLI\x20not\x20found:\x20'};return new Promise(_0x1a0369=>{const _0x185e9c=_0x1593ff,_0x16c864={'bblTd':function(_0x133f10,_0x38dbd9){const _0x5bdd2a=a44_0x333f;return _0x33affd[_0x5bdd2a(0x100)](_0x133f10,_0x38dbd9);},'hJZUA':function(_0x1d5e23,_0x7bb576){const _0x3ffed8=a44_0x333f;return _0x33affd[_0x3ffed8(0x114)](_0x1d5e23,_0x7bb576);},'Pitlv':function(_0x2a6f7f,_0xb28c60,_0x570ee8){const _0x4ee9f3=a44_0x333f;return _0x33affd[_0x4ee9f3(0x112)](_0x2a6f7f,_0xb28c60,_0x570ee8);}};let _0x92f2d6;try{_0x92f2d6=helper['requireModule'](_0x33affd[_0x185e9c(0x10f)],_0x33affd[_0x185e9c(0x10f)]);}catch(_0x2a7baf){return logger[_0x185e9c(0x13d)](_0x33affd[_0x185e9c(0x13c)]),_0x33affd['cRLFc'](_0x1a0369,0x1);}const _0x207f0=_0x92f2d6[_0x185e9c(0x12b)];_0x92f2d6[_0x185e9c(0x12b)]=function(_0x5cbf3f,_0x3cf54b){return _0x92f2d6['run']=_0x207f0,_0x207f0['call'](_0x92f2d6,_0x5cbf3f,(_0x5784e3,_0x369e7f)=>{const _0x17029a=a44_0x333f,_0x43c110=_0x369e7f&&_0x369e7f[_0x17029a(0x12b)]&&(_0x369e7f['run'][_0x17029a(0x13d)]||_0x369e7f['run'][_0x17029a(0x16f)]&&_0x16c864[_0x17029a(0x126)](_0x369e7f[_0x17029a(0x12b)][_0x17029a(0x16f)][_0x17029a(0x163)],0x0));_0x16c864[_0x17029a(0x154)](_0x1a0369,_0x43c110?0x1:0x0),_0x3cf54b&&_0x16c864['Pitlv'](_0x3cf54b,_0x5784e3,_0x369e7f);});};try{const _0x359d5d=_0x33affd[_0x185e9c(0x113)](require,_0x33affd[_0x185e9c(0x158)])['createRequire'](path['join'](process[_0x185e9c(0x133)](),_0x33affd[_0x185e9c(0x152)]));_0x33affd[_0x185e9c(0x146)](_0x359d5d,_0x33affd[_0x185e9c(0x142)])([_0x33affd[_0x185e9c(0x150)],_0x33affd[_0x185e9c(0x10f)]][_0x185e9c(0x138)](_0x139a35));}catch(_0x23d619){_0x92f2d6[_0x185e9c(0x12b)]=_0x207f0,logger[_0x185e9c(0x13d)](_0x33affd['ToKlV'](_0x33affd[_0x185e9c(0xfe)],_0x23d619[_0x185e9c(0x170)])),_0x33affd[_0x185e9c(0x146)](_0x1a0369,0x1);}});}function runNewmanScript(_0x5b232f,_0x95b850){const _0x4e080c=a44_0x17b2fe,_0x237d1a={'XYeSc':function(_0x552151,_0x5a913d){return _0x552151(_0x5a913d);},'KmoAn':function(_0x589d33,_0x4674a3){return _0x589d33||_0x4674a3;},'dqBUg':function(_0x5c1695,_0x2ba008,_0x4a0716,_0x59e4b3){return _0x5c1695(_0x2ba008,_0x4a0716,_0x59e4b3);},'LHioV':_0x4e080c(0x14f),'RdFmI':function(_0x5de072,_0x4bfc7d){return _0x5de072||_0x4bfc7d;},'MOFyq':_0x4e080c(0x117),'solYg':_0x4e080c(0x122)};return new Promise(function(_0x13a92e){const _0x1d7316=_0x4e080c,_0x58bd35=_0x237d1a[_0x1d7316(0x105)](fork,path[_0x1d7316(0x102)](__dirname,_0x237d1a[_0x1d7316(0x157)]),[_0x5b232f,_0x237d1a['XYeSc'](String,_0x237d1a[_0x1d7316(0x143)](_0x95b850,0x0))],{'stdio':_0x237d1a[_0x1d7316(0x134)],'env':Object[_0x1d7316(0x131)]({},process[_0x1d7316(0x15b)])});_0x58bd35['on'](_0x237d1a['solYg'],function(_0x2828cd){const _0x5d520f=_0x1d7316;_0x237d1a['XYeSc'](_0x13a92e,_0x237d1a[_0x5d520f(0x111)](_0x2828cd,0x0));});});}function hasO11yBuild(){const _0x4f0983=a44_0x17b2fe,_0x14f643={};_0x14f643[_0x4f0983(0x137)]=function(_0x419f66,_0x256b80){return _0x419f66!==_0x256b80;},_0x14f643[_0x4f0983(0x15d)]=_0x4f0983(0x145);const _0x463dca=_0x14f643;return!!(BrowserstackCLI['O11yHashedID']||process['env']['BROWSERSTACK_TESTHUB_JWT']&&_0x463dca[_0x4f0983(0x137)](process[_0x4f0983(0x15b)]['BROWSERSTACK_TESTHUB_JWT'],_0x463dca[_0x4f0983(0x15d)]));}function runWithoutObservability(_0x3dcee7,_0x2dc3f3){const _0x725494=a44_0x17b2fe,_0x5087dc={'GAKyd':function(_0x2999d2,_0x5aea2b){return _0x2999d2(_0x5aea2b);},'sPzxS':function(_0x3e15d3,_0x1ce209){return _0x3e15d3(_0x1ce209);}};if(_0x3dcee7)return _0x5087dc[_0x725494(0x11a)](require,path[_0x725494(0x161)](_0x3dcee7)),0x0;return _0x5087dc[_0x725494(0x162)](runNewmanCLI,_0x2dc3f3);}function a44_0x333f(_0x2c312c,_0x1b19ad){const _0x4a5b89=a44_0x4a5b();return a44_0x333f=function(_0x333f70,_0x45d768){_0x333f70=_0x333f70-0xfe;let _0xa59ee6=_0x4a5b89[_0x333f70];return _0xa59ee6;},a44_0x333f(_0x2c312c,_0x1b19ad);}module['exports']=async function(_0x534c73,_0x46f5c1,_0x2304e0){const _0x4f6ad7=a44_0x17b2fe,_0x3f3ecb={'lwCYZ':'.js','bJkYb':function(_0x2e3502,_0x2e1217){return _0x2e3502===_0x2e1217;},'bqXfo':_0x4f6ad7(0x160),'VcGWb':function(_0x31366f,_0x357256,_0xfaecc5){return _0x31366f(_0x357256,_0xfaecc5);},'WvHkE':function(_0x3302df,_0x26be4e){return _0x3302df!=_0x26be4e;},'cdqrw':_0x4f6ad7(0x147),'bdlhj':_0x4f6ad7(0x14d),'cSJwo':function(_0x193269,_0xd4ccb4){return _0x193269+_0xd4ccb4;},'mZmBN':_0x4f6ad7(0x125),'xDSlG':function(_0x2c0d07,_0x138a1e){return _0x2c0d07+_0x138a1e;},'VPMdt':_0x4f6ad7(0x15f),'gBFsZ':function(_0x456056){return _0x456056();},'pxcnt':_0x4f6ad7(0x14a),'ItChM':function(_0x41d3f8,_0x128a0e){return _0x41d3f8(_0x128a0e);},'dEQNO':function(_0x10b2ff,_0x4074a6){return _0x10b2ff(_0x4074a6);},'PQbcS':function(_0xf1755b){return _0xf1755b();},'tzRIL':function(_0x3eae43){return _0x3eae43();},'nfDIM':'[Newman]\x20Test\x20Observability\x20build\x20was\x20not\x20created.\x20No\x20build\x20link\x20available.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.'},_0x98f566=_0x46f5c1[_0x4f6ad7(0x140)](0x1),_0x815ae6=_0x98f566[0x0]&&_0x98f566[0x0][_0x4f6ad7(0x13e)](_0x3f3ecb[_0x4f6ad7(0x156)])?_0x98f566[0x0]:null;if(!_0x2304e0[_0x4f6ad7(0x13b)]||_0x3f3ecb[_0x4f6ad7(0x11e)](_0x2304e0[_0x4f6ad7(0x13b)][_0x4f6ad7(0x116)],![])||_0x3f3ecb[_0x4f6ad7(0x11e)](_0x2304e0[_0x4f6ad7(0x13b)][_0x4f6ad7(0x116)],_0x3f3ecb[_0x4f6ad7(0x127)])){process[_0x4f6ad7(0x10e)]=await _0x3f3ecb[_0x4f6ad7(0x120)](runWithoutObservability,_0x815ae6,_0x98f566)||0x0;return;}process[_0x4f6ad7(0x15b)][_0x4f6ad7(0x16c)]=_0x3f3ecb[_0x4f6ad7(0x127)],process[_0x4f6ad7(0x15b)][_0x4f6ad7(0x14b)]=_0x3f3ecb['bqXfo'],process[_0x4f6ad7(0x15b)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x3f3ecb['WvHkE'](_0x2304e0['config'][_0x4f6ad7(0x116)],null)?_0x2304e0[_0x4f6ad7(0x13b)][_0x4f6ad7(0x116)]:_0x3f3ecb[_0x4f6ad7(0x11d)],CLIUtils[_0x4f6ad7(0x16a)](_0x3f3ecb[_0x4f6ad7(0x168)],_0x3f3ecb[_0x4f6ad7(0x168)]),BrowserstackCLI[_0x4f6ad7(0x124)]()[_0x4f6ad7(0x165)](_0x2304e0[_0x4f6ad7(0x13b)],_0x2304e0[_0x4f6ad7(0x115)],_0x2304e0['cliConfig']);try{await BrowserstackCLI['getInstance']()[_0x4f6ad7(0x16d)]();}catch(_0x36ab5e){logger[_0x4f6ad7(0x13d)](_0x3f3ecb[_0x4f6ad7(0x171)](_0x3f3ecb['mZmBN'],_0x36ab5e['message']||_0x36ab5e));}if(!BrowserstackCLI[_0x4f6ad7(0x124)]()[_0x4f6ad7(0x13a)]())try{await TestHubHandler['launchBuild'](FRAMEWORKS['NEWMAN'],_0x2304e0);}catch(_0x483312){logger['error'](_0x3f3ecb['xDSlG'](_0x3f3ecb[_0x4f6ad7(0x104)],_0x483312[_0x4f6ad7(0x170)]||_0x483312));}!_0x3f3ecb['gBFsZ'](hasO11yBuild)&&logger[_0x4f6ad7(0x12f)](_0x3f3ecb[_0x4f6ad7(0x139)]);_0x3f3ecb[_0x4f6ad7(0x118)](registerBrowserStackReporter);let _0x501e85;_0x815ae6?_0x501e85=await _0x3f3ecb['VcGWb'](runNewmanScript,_0x815ae6,_0x2304e0['config'][_0x4f6ad7(0x15c)]):_0x501e85=await _0x3f3ecb[_0x4f6ad7(0x167)](runNewmanCLI,_0x3f3ecb[_0x4f6ad7(0x11f)](injectReporterIntoArgs,_0x98f566));try{await TestHubHandler[_0x4f6ad7(0x11c)]();}catch(_0x12c832){}try{await BrowserstackCLI['getInstance']()[_0x4f6ad7(0x11c)]();}catch(_0x3354ac){}try{await RequestQueueHandler[_0x4f6ad7(0x124)]()[_0x4f6ad7(0x121)]();}catch(_0x213842){}if(_0x3f3ecb[_0x4f6ad7(0x15a)](hasO11yBuild))try{_0x3f3ecb[_0x4f6ad7(0x148)](printBuildLink);}catch(_0x1ea7d3){}else logger[_0x4f6ad7(0x12f)](_0x3f3ecb[_0x4f6ad7(0x153)]);process[_0x4f6ad7(0x10e)]=_0x501e85;};function a44_0x4a5b(){const _0x37ee20=['child_process','GAKyd','winstonLogger','stop','cdqrw','bJkYb','dEQNO','VcGWb','shutdown','close','HQrsf','getInstance','Failed\x20to\x20bootstrap\x20CLI:\x20','bblTd','bqXfo','wQzoE','IQonx','newman-reporter-browserstack','run','93jSzHwG','Newman\x20is\x20not\x20installed.\x20Please\x20install\x20newman:\x20npm\x20install\x20newman','6975339cyCylL','warn','sVWyt','assign','eCBtX','cwd','MOFyq','../../helpers/test-observability/constants','../../helpers/test-observability/utils','twuCb','concat','pxcnt','isRunning','config','mLuXL','error','endsWith','370184LSqsIG','slice','node','YTFXq','RdFmI','call','null','kUGoS','true','tzRIL','jHhmd','[Newman]\x20Test\x20Observability\x20build\x20creation\x20failed.\x20Tests\x20will\x20run\x20but\x20results\x20will\x20not\x20appear\x20on\x20the\x20BrowserStack\x20dashboard.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','82542muplrr','newman','1617beShIM','scriptRunner.js','lLPZN','push','GCjpl','nfDIM','hJZUA','DjCVb','lwCYZ','LHioV','cuFSY','bBdea','PQbcS','env','parallelsPerPlatform','NWbWT','_resolveFilename','Failed\x20to\x20launch\x20build:\x20','false','resolve','sPzxS','length','../../helpers/helper','setBrowserstackConfig','VAgkt','ItChM','bdlhj','--reporters','setFrameworkDetail','495424XHsUKw','BROWSERSTACK_AUTOMATION','bootstrap','cli,browserstack','failures','message','cSJwo','reporter','umUDw','99dKhRzR','eYJWH','Oyzvs','join','45suLBSW','VPMdt','dqBUg','index.js','ENnSE','261570VnAJtQ','../../helpers/test-observability/requestQueueHandler','MGNMh','module','6866058HWOunY','GefMG','exitCode','ftcgk','468147Ieyghg','KmoAn','mAKwP','cRLFc','UVgGR','configPath','testObservability','inherit','gBFsZ'];a44_0x4a5b=function(){return _0x37ee20;};return a44_0x4a5b();}
@@ -1 +1 @@
1
- const a45_0x4f1fab=a45_0x212d;(function(_0x484c17,_0x3c3d47){const _0xa8e896=a45_0x212d,_0x1aea3a=_0x484c17();while(!![]){try{const _0x12844c=-parseInt(_0xa8e896(0x16c))/0x1+parseInt(_0xa8e896(0x167))/0x2*(-parseInt(_0xa8e896(0x15e))/0x3)+parseInt(_0xa8e896(0x165))/0x4*(parseInt(_0xa8e896(0x170))/0x5)+parseInt(_0xa8e896(0x16a))/0x6+-parseInt(_0xa8e896(0x160))/0x7+-parseInt(_0xa8e896(0x169))/0x8*(parseInt(_0xa8e896(0x166))/0x9)+parseInt(_0xa8e896(0x16e))/0xa;if(_0x12844c===_0x3c3d47)break;else _0x1aea3a['push'](_0x1aea3a['shift']());}catch(_0x5aacb2){_0x1aea3a['push'](_0x1aea3a['shift']());}}}(a45_0x2d74,0xb0d0b));function isNewman(_0x146ff5){const _0x576da8=a45_0x212d,_0x4d9b64={'EqXlF':function(_0x2ed9fe,_0x581a1c){return _0x2ed9fe===_0x581a1c;},'aJgNW':_0x576da8(0x15f),'lgavx':function(_0x4ae244,_0x59ead8){return _0x4ae244===_0x59ead8;},'ttsur':function(_0x3f7fb4,_0x542960){return _0x3f7fb4(_0x542960);},'JgzRa':function(_0x2415ff,_0xf674ce){return _0x2415ff||_0xf674ce;}},_0x7bc5c3=process[_0x576da8(0x16b)][_0x576da8(0x168)]||'';let _0x1771ea='';_0x146ff5&&_0x146ff5[_0x576da8(0x162)]&&(_0x1771ea=_0x146ff5['framework']);const _0x4f1607=_0x4d9b64[_0x576da8(0x16d)](_0x7bc5c3[_0x576da8(0x164)](),_0x4d9b64[_0x576da8(0x15c)]),_0x24d2ca=_0x4d9b64[_0x576da8(0x161)](_0x4d9b64[_0x576da8(0x163)](String,_0x1771ea)['toLowerCase'](),_0x4d9b64['aJgNW']);return _0x4d9b64[_0x576da8(0x15d)](_0x4f1607,_0x24d2ca);}function a45_0x212d(_0x4c31f5,_0x5ea9e5){const _0x2d7411=a45_0x2d74();return a45_0x212d=function(_0x212db3,_0x39e828){_0x212db3=_0x212db3-0x15c;let _0x26d5d6=_0x2d7411[_0x212db3];return _0x26d5d6;},a45_0x212d(_0x4c31f5,_0x5ea9e5);};function a45_0x2d74(){const _0x2541df=['27kWAIBK','newman','2856091szuTqR','lgavx','framework','ttsur','toLowerCase','164516iLVenV','126ZNpwqF','96610suvxcc','BROWSERSTACK_FRAMEWORK','322768fSQyrt','4636836GpedgX','env','1077350UEVzgi','EqXlF','17783170eLXApl','isNewman','80bZyeKM','aJgNW','JgzRa'];a45_0x2d74=function(){return _0x2541df;};return a45_0x2d74();}const a45_0x3cf7f2={};a45_0x3cf7f2[a45_0x4f1fab(0x16f)]=isNewman,module['exports']=a45_0x3cf7f2;
1
+ const a45_0x59f7ad=a45_0x3a17;function a45_0x4a26(){const _0x586c5c=['26886DPXeRn','OQJTR','18861CtkYPk','exports','498980aCoVay','zytdD','3703248DdKLBs','EUTNA','toLowerCase','framework','isNewman','2035460CrpyNl','5240832gZtwEq','358934cAXUOk','newman','262yayRgw','env','1197fucYCZ'];a45_0x4a26=function(){return _0x586c5c;};return a45_0x4a26();}(function(_0x3a8916,_0x4a7643){const _0x149d29=a45_0x3a17,_0x14a50a=_0x3a8916();while(!![]){try{const _0x4d73bc=-parseInt(_0x149d29(0xfd))/0x1+-parseInt(_0x149d29(0xff))/0x2*(-parseInt(_0x149d29(0x104))/0x3)+parseInt(_0x149d29(0x106))/0x4+-parseInt(_0x149d29(0x10d))/0x5+-parseInt(_0x149d29(0x102))/0x6*(parseInt(_0x149d29(0x101))/0x7)+parseInt(_0x149d29(0x10e))/0x8+parseInt(_0x149d29(0x108))/0x9;if(_0x4d73bc===_0x4a7643)break;else _0x14a50a['push'](_0x14a50a['shift']());}catch(_0x3acf64){_0x14a50a['push'](_0x14a50a['shift']());}}}(a45_0x4a26,0x75d51));function isNewman(_0x32c482){const _0x37bd5b=a45_0x3a17,_0x1a664a={'OQJTR':function(_0x4c43d3,_0x520402){return _0x4c43d3===_0x520402;},'EUTNA':_0x37bd5b(0xfe),'ncuya':function(_0x1b8869,_0x4523a8){return _0x1b8869===_0x4523a8;},'Ntpib':function(_0x1d9916,_0x4e143a){return _0x1d9916(_0x4e143a);},'zytdD':function(_0x2dcecd,_0x475a62){return _0x2dcecd||_0x475a62;}},_0x2bf338=process[_0x37bd5b(0x100)]['BROWSERSTACK_FRAMEWORK']||'';let _0x344ddf='';_0x32c482&&_0x32c482['framework']&&(_0x344ddf=_0x32c482[_0x37bd5b(0x10b)]);const _0x13804c=_0x1a664a[_0x37bd5b(0x103)](_0x2bf338[_0x37bd5b(0x10a)](),_0x1a664a[_0x37bd5b(0x109)]),_0x534fe3=_0x1a664a['ncuya'](_0x1a664a['Ntpib'](String,_0x344ddf)['toLowerCase'](),_0x1a664a[_0x37bd5b(0x109)]);return _0x1a664a[_0x37bd5b(0x107)](_0x13804c,_0x534fe3);}function a45_0x3a17(_0x5ca17b,_0x603c76){const _0x4a26d0=a45_0x4a26();return a45_0x3a17=function(_0x3a1701,_0x315abc){_0x3a1701=_0x3a1701-0xfd;let _0xcdbe51=_0x4a26d0[_0x3a1701];return _0xcdbe51;},a45_0x3a17(_0x5ca17b,_0x603c76);};const a45_0x4380fa={};a45_0x4380fa[a45_0x59f7ad(0x10c)]=isNewman,module[a45_0x59f7ad(0x105)]=a45_0x4380fa;
@@ -1 +1 @@
1
- 'use strict';const a46_0x378cf2=a46_0x3669;(function(_0x148e5a,_0x2323ab){const _0x192d65=a46_0x3669,_0xb6c856=_0x148e5a();while(!![]){try{const _0x591ea3=-parseInt(_0x192d65(0x1a5))/0x1+-parseInt(_0x192d65(0x197))/0x2+-parseInt(_0x192d65(0x1f2))/0x3*(parseInt(_0x192d65(0x157))/0x4)+-parseInt(_0x192d65(0x1fb))/0x5*(parseInt(_0x192d65(0x1ea))/0x6)+parseInt(_0x192d65(0x206))/0x7*(-parseInt(_0x192d65(0x242))/0x8)+parseInt(_0x192d65(0x159))/0x9+parseInt(_0x192d65(0x18e))/0xa;if(_0x591ea3===_0x2323ab)break;else _0xb6c856['push'](_0xb6c856['shift']());}catch(_0x550485){_0xb6c856['push'](_0xb6c856['shift']());}}}(a46_0x5df2,0x9d248));const path=require(a46_0x378cf2(0x1bf)),{v4:uuidv4}=require(a46_0x378cf2(0x223)),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{debug}=require(a46_0x378cf2(0x21a)),logger=require(a46_0x378cf2(0x1d2))['winstonLogger'],BrowserstackCLI=require(a46_0x378cf2(0x247)),GrpcClient=require('../../v2/grpcClient'),TestFrameworkState=require(a46_0x378cf2(0x1d9)),HookState=require(a46_0x378cf2(0x19c)),LOG_LEVELS=['INFO',a46_0x378cf2(0x1e6),a46_0x378cf2(0x207),'DEBUG','TRACE'];function isCLIRunning(){const _0x397ce1=a46_0x378cf2;try{return BrowserstackCLI['getInstance']()[_0x397ce1(0x199)]();}catch(_0x453b6e){return![];}}function getParentTitles(_0x3dcdf6){const _0x1edac4=a46_0x378cf2,_0xab7839={'GRzfL':function(_0x407694,_0x5853cb){return _0x407694(_0x5853cb);},'EDrKZ':function(_0x3f0df0,_0x3dcc88){return _0x3f0df0(_0x3dcc88);}},_0x11536b=[],_0x195c9e=_0x3dcdf6[_0x1edac4(0x22e)]();return _0x195c9e&&_0x11536b['push'][_0x1edac4(0x18d)](_0x11536b,_0xab7839[_0x1edac4(0x14e)](getParentTitles,_0x195c9e)),_0x3dcdf6['name']&&_0x11536b[_0x1edac4(0x212)](_0xab7839[_0x1edac4(0x220)](String,_0x3dcdf6[_0x1edac4(0x238)])),_0x11536b;}function a46_0x3669(_0xd62bab,_0x73db3c){const _0x5df2d4=a46_0x5df2();return a46_0x3669=function(_0x36695c,_0x3399ac){_0x36695c=_0x36695c-0x14c;let _0x126c2d=_0x5df2d4[_0x36695c];return _0x126c2d;},a46_0x3669(_0xd62bab,_0x73db3c);}function normalizeLogLevel(_0x54ad97){const _0x5796bd=a46_0x378cf2,_0xe656a7={};_0xe656a7[_0x5796bd(0x23e)]=_0x5796bd(0x23d),_0xe656a7[_0x5796bd(0x20f)]=function(_0x34f0e7,_0x5f0710){return _0x34f0e7!==_0x5f0710;};const _0x56252a=_0xe656a7;if(!_0x54ad97)return _0x56252a[_0x5796bd(0x23e)];const _0x39e905=_0x54ad97[_0x5796bd(0x1a9)]();return _0x56252a[_0x5796bd(0x20f)](LOG_LEVELS[_0x5796bd(0x1bc)](_0x39e905),-0x1)?_0x39e905:_0x56252a['JMUGq'];}function a46_0x5df2(){const _0x58b908=['RpwGQ','YsoiZ','duration_ms','finishedAt','\x20(HTTP\x20','AkWnc','tOzRv','timestamp','stringify','err','EWPMw','messages','hMmxS','MZxKd','KcTqn','pending','cwd','apply','28258110jgSPtv','backtrace','ref','javascript','No\x20HTTP\x20response\x20received','delete','beforeIteration','PidMA','GbCEk','1855154pOMPoZ','kind','isRunning','forEach','WpQXP','../../v2/state/hookState','[Newman\x20Reporter]\x20emitTest\x20error:\x20','http://','Fzzjf','testFrameworkName','[Newman\x20Reporter]\x20Error\x20in\x20exception:\x20','NfpLL','trackEvent','Luvcr','50547Gsuuaa','level','afhQC','event_type','toUpperCase','hKyrS','gsJnz','expanded','EIdJA','assert','hostname','EqPnV','DMMwE','jNDHk','durationMs','GKzsn','Iwktb','RWwwx','pClAa','assertion','ZGSqz','matZL','axdnQ','indexOf','error','WJsmK','path','script','hektZ','cursor','platformIndex','failureReason','xtMJE','lastResponseCode','SXXbw','RTRTq','XNAvi','method','string','N/A','HTTP','request','[Newman\x20Reporter]\x20Error\x20in\x20script:\x20','KSjIS','console','../../../helpers/logger','TEST_LOG','[Newman\x20Reporter]\x20Error\x20in\x20request:\x20','knaft','info','message','nvSGF','../../v2/state/testFrameworkState','logs','tspLX','HTTP\x20','exception','BojWJ','pid','[Newman\x20Reporter]\x20Error\x20in\x20assertion:\x20','failure_backtrace','location','eHBnI','bs:addLog:','uPfBI','WARN','toString','collectionPath','collection.json','6bcwLWb','TestRunStarted','nOhrs','):\x20','wFLyx','get','TJYKi','POST','3MBiQqn','SQKCY','httpLog','pEUJR','bufferedLogs','startedAt','logCreatedEvent','IndHt','AssertionError','3258910FSaGjG','PSZGY','object','getTestFramework','exports','responseTime','Euhoh','test_run','KbHMx','HrkJc','JQydI','407603NaZJqL','ERROR','code','EKpIP','svcnZ','beforeItem','EgJHR','getInstance','yQPcb','lloWB','host','MBXrL','push','[Newman\x20Reporter]\x20Error\x20in\x20beforeItem:\x20','KPtgD','nCAAs','listen','gJlRg','result','scopes','../../../helpers/test-observability/utils','JglbD','join','failureType','TbXlS','ydBhd','EDrKZ','HyQhy','[Newman\x20Reporter]\x20Error\x20in\x20console:\x20','uuid','startsWith','LogCreated','http_response','qLDzF','search','oJpNz','qyRQm','length','includes','qJGGM','parent','JseyJ','getTime','identifier','\x20(no\x20assertions)','\x20->\x20','hnDgb','collectionName','response','HTwCk','name','WSxus','status_code','XlHas','gOVsk','INFO','JMUGq','clear','run','Exception:\x20','8ufidkS','PRE','item','split','toISOString','../../v2/browserstackCLI','YPuvG','OkeTk','TestRunFinished','GRzfL','NLXMR','vKbna','VGPTP','TEST','newman','ZKlDM','wAyXY','testFrameworkVersion','5078252whXPEU','HTTP\x20Status:\x20','6979887lqfqGf','cpRns','failure','assertions','GiFmF','lWNay','uploadEventData','pathname','itemName','TGMSF','resolve','DZiNU','done','Script\x20error\x20(','LecSK','[Newman\x20Reporter]\x20emitLog\x20error:\x20','now','collection','rYXrc','JyKKK','BTMiP','event','GET','unknown','[Newman\x20Reporter]\x20Error\x20in\x20item:\x20','HqodI','UHbYp','yEoPZ','concat','url','startTimestamp','argv','relative','stack','kBvxm'];a46_0x5df2=function(){return _0x58b908;};return a46_0x5df2();}function resolveCollectionFile(_0xb05f58,_0x384cda){const _0x4870cb=a46_0x378cf2,_0x4a541c={};_0x4a541c[_0x4870cb(0x17d)]=function(_0x11209,_0x48b1f5){return _0x11209===_0x48b1f5;},_0x4a541c[_0x4870cb(0x186)]=_0x4870cb(0x1cb),_0x4a541c['xtMJE']=_0x4870cb(0x240),_0x4a541c['WSxus']=function(_0x3b7e4b,_0x5e39cb){return _0x3b7e4b!==_0x5e39cb;},_0x4a541c[_0x4870cb(0x203)]=function(_0x2632dc,_0x5d5f2b){return _0x2632dc<_0x5d5f2b;},_0x4a541c[_0x4870cb(0x217)]=function(_0x5507b3,_0x1309d2){return _0x5507b3+_0x1309d2;},_0x4a541c[_0x4870cb(0x1e3)]='[Newman\x20Reporter]\x20Could\x20not\x20resolve\x20collection\x20file\x20path,\x20falling\x20back\x20to\x20collection.json',_0x4a541c[_0x4870cb(0x17c)]=_0x4870cb(0x1e9);const _0x39543e=_0x4a541c;try{if(_0x384cda&&_0x384cda[_0x4870cb(0x1e8)])return path[_0x4870cb(0x179)](process[_0x4870cb(0x18c)](),path['resolve'](_0x384cda[_0x4870cb(0x1e8)]));const _0x2572c4=_0xb05f58[_0x4870cb(0x16a)];if(_0x39543e[_0x4870cb(0x17d)](typeof _0x2572c4,_0x39543e['EWPMw']))return path[_0x4870cb(0x179)](process[_0x4870cb(0x18c)](),path[_0x4870cb(0x163)](_0x2572c4));const _0x22f313=process[_0x4870cb(0x178)][_0x4870cb(0x1bc)](_0x39543e[_0x4870cb(0x1c5)]);if(_0x39543e[_0x4870cb(0x239)](_0x22f313,-0x1)&&_0x39543e[_0x4870cb(0x203)](_0x39543e[_0x4870cb(0x217)](_0x22f313,0x1),process[_0x4870cb(0x178)][_0x4870cb(0x22b)])){const _0x2b3fc1=process[_0x4870cb(0x178)][_0x39543e['gJlRg'](_0x22f313,0x1)];if(_0x2b3fc1&&!_0x2b3fc1[_0x4870cb(0x224)]('-'))return path['relative'](process['cwd'](),path[_0x4870cb(0x163)](_0x2b3fc1));}}catch(_0x345ac9){}return logger[_0x4870cb(0x1d6)](_0x39543e[_0x4870cb(0x1e3)]),_0x39543e[_0x4870cb(0x17c)];}function resolveCollectionName(_0x4fb08c){const _0x515c28=a46_0x378cf2,_0xab100={};_0xab100['ZYYWI']=function(_0xe12836,_0x133503){return _0xe12836===_0x133503;},_0xab100[_0x515c28(0x1be)]=_0x515c28(0x1fd);const _0x30d910=_0xab100;try{const _0x6b9e61=_0x4fb08c[_0x515c28(0x16a)];if(_0x6b9e61&&_0x30d910['ZYYWI'](typeof _0x6b9e61,_0x30d910[_0x515c28(0x1be)]))return _0x6b9e61['name']||_0x6b9e61[_0x515c28(0x1d6)]&&_0x6b9e61[_0x515c28(0x1d6)]['name']||null;}catch(_0x1d5ff7){}return null;}function emitTest(_0x1a3563,_0x5edf49,_0x3ae1f9,_0x1b1802,_0x315458){const _0x2f6b3b=a46_0x378cf2,_0x2406f8={'PSZGY':function(_0x224b40){return _0x224b40();},'hKyrS':_0x2f6b3b(0x18b),'kEgRw':function(_0x32a026,_0x163f39){return _0x32a026(_0x163f39);},'UHbYp':_0x2f6b3b(0x153),'JseyJ':_0x2f6b3b(0x191),'uYhXg':function(_0x3cdd34,_0x147d68){return _0x3cdd34!=_0x147d68;},'PidMA':function(_0x1f8463,_0x24bbec){return _0x1f8463===_0x24bbec;},'ICXcC':_0x2f6b3b(0x1eb),'GKzsn':_0x2f6b3b(0x14d)};if(_0x2406f8[_0x2f6b3b(0x1fc)](isCLIRunning))try{const _0x1aadd4=BrowserstackCLI[_0x2f6b3b(0x20d)]()[_0x2f6b3b(0x1fe)]();if(!_0x1aadd4)return;_0x1aadd4[_0x2f6b3b(0x1a3)](TestFrameworkState[_0x2f6b3b(0x152)],_0x1a3563,{'test':{'uuid':_0x5edf49[_0x2f6b3b(0x223)],'name':_0x5edf49['name'],'scopes':_0x3ae1f9[_0x2f6b3b(0x219)],'scope':_0x3ae1f9[_0x2f6b3b(0x219)][_0x2f6b3b(0x21c)]('\x20'),'file_path':_0x1b1802,'location':_0x3ae1f9['collectionName'],'started_at':_0x3ae1f9[_0x2f6b3b(0x1f7)],'finished_at':_0x315458[_0x2f6b3b(0x17f)]||null,'result':_0x315458[_0x2f6b3b(0x218)]||_0x2406f8[_0x2f6b3b(0x1aa)],'failure':_0x315458[_0x2f6b3b(0x15b)]||[],'failure_type':_0x315458[_0x2f6b3b(0x21d)]||null,'failure_reason':_0x315458['failureReason']||null,'tags':[],'meta':{},'custom_metadata':{}}});}catch(_0x3c6951){_0x2406f8['kEgRw'](debug,_0x2f6b3b(0x19d)+_0x3c6951);}else{const _0x5dfab2={'uuid':_0x5edf49['uuid'],'name':_0x5edf49[_0x2f6b3b(0x238)],'framework':_0x2406f8[_0x2f6b3b(0x173)],'body':{'lang':_0x2406f8[_0x2f6b3b(0x22f)],'code':null},'scope':_0x3ae1f9['scopes'][_0x2f6b3b(0x21c)]('\x20'),'scopes':_0x3ae1f9[_0x2f6b3b(0x219)],'identifier':_0x5edf49[_0x2f6b3b(0x231)],'file_name':_0x3ae1f9[_0x2f6b3b(0x235)],'vc_filepath':_0x3ae1f9[_0x2f6b3b(0x1e2)],'location':_0x3ae1f9[_0x2f6b3b(0x1e2)],'started_at':_0x3ae1f9[_0x2f6b3b(0x1f7)],'finished_at':_0x315458['finishedAt']||null,'duration_in_ms':_0x2406f8['uYhXg'](_0x315458[_0x2f6b3b(0x1b3)],null)?Math['max'](0x0,_0x315458[_0x2f6b3b(0x1b3)]):null,'result':_0x315458['result']||_0x2406f8[_0x2f6b3b(0x1aa)],'failure_reason':_0x315458[_0x2f6b3b(0x1c4)]||null,'failure_type':_0x315458[_0x2f6b3b(0x21d)]||null,'failure':_0x315458[_0x2f6b3b(0x15b)]||[],'retry_of':null,'hooks':[]};_0x5dfab2[_0x2f6b3b(0x15b)][0x0]&&(_0x5dfab2[_0x2f6b3b(0x1e1)]=_0x5dfab2[_0x2f6b3b(0x15b)][0x0][_0x2f6b3b(0x18f)],_0x5dfab2['failure_reason_expanded']=_0x5dfab2[_0x2f6b3b(0x15b)][0x0][_0x2f6b3b(0x1ac)]);const _0x29aabb=_0x2406f8[_0x2f6b3b(0x195)](_0x1a3563,HookState[_0x2f6b3b(0x243)])?_0x2406f8['ICXcC']:_0x2406f8[_0x2f6b3b(0x1b4)],_0x5e12e7={};_0x5e12e7[_0x2f6b3b(0x1a8)]=_0x29aabb,_0x5e12e7[_0x2f6b3b(0x202)]=_0x5dfab2,SessionHandler[_0x2f6b3b(0x15f)](_0x5e12e7);}}function emitLog(_0x2e6f17,_0x56cf20){const _0x15cb9a=a46_0x378cf2,_0x3e6b38={'wAyXY':_0x15cb9a(0x1d3),'AgAYg':function(_0x4f5510){return _0x4f5510();},'DZiNU':function(_0xe43e87,_0x3afc20){return _0xe43e87===_0x3afc20;},'nvSGF':_0x15cb9a(0x1cd),'XlHas':_0x15cb9a(0x153),'XNAvi':_0x15cb9a(0x152),'KcTqn':'INFO','zSPjz':function(_0x58180b,_0x3d3326){return _0x58180b(_0x3d3326);},'NfpLL':function(_0x820611,_0x56c075){return _0x820611+_0x56c075;},'afhQC':_0x15cb9a(0x168),'vKbna':_0x15cb9a(0x225)},_0x1b7c5b=_0x56cf20['kind']||_0x3e6b38[_0x15cb9a(0x155)],_0x241f36=_0x56cf20['timestamp']||new Date()[_0x15cb9a(0x246)]();if(_0x3e6b38['AgAYg'](isCLIRunning))try{const _0x4a526a=_0x3e6b38[_0x15cb9a(0x164)](_0x1b7c5b,_0x3e6b38[_0x15cb9a(0x1d8)])?JSON[_0x15cb9a(0x184)](_0x56cf20):_0x56cf20[_0x15cb9a(0x1d7)]||'',_0x4daaa1={};_0x4daaa1[_0x15cb9a(0x1c3)]=0x0,_0x4daaa1[_0x15cb9a(0x1a0)]=_0x3e6b38[_0x15cb9a(0x23b)],_0x4daaa1[_0x15cb9a(0x156)]='',_0x4daaa1['testFrameworkState']=_0x3e6b38[_0x15cb9a(0x1c9)],_0x4daaa1[_0x15cb9a(0x1da)]=[{'uuid':_0x2e6f17,'timestamp':_0x241f36,'kind':_0x1b7c5b,'level':_0x56cf20['level']||_0x3e6b38[_0x15cb9a(0x18a)],'message':_0x4a526a}],GrpcClient[_0x15cb9a(0x20d)]()[_0x15cb9a(0x1f8)](_0x4daaa1);}catch(_0x81b055){_0x3e6b38['zSPjz'](debug,_0x3e6b38[_0x15cb9a(0x1a2)](_0x3e6b38[_0x15cb9a(0x1a7)],_0x81b055));}else{const _0x51dfb3={};_0x51dfb3['test_run_uuid']=_0x2e6f17,_0x51dfb3[_0x15cb9a(0x183)]=_0x241f36,_0x51dfb3[_0x15cb9a(0x1a6)]=_0x56cf20['level']||null,_0x51dfb3['message']=_0x56cf20[_0x15cb9a(0x1d7)]||null,_0x51dfb3[_0x15cb9a(0x198)]=_0x1b7c5b,_0x51dfb3[_0x15cb9a(0x226)]=_0x56cf20[_0x15cb9a(0x226)]||{};const _0x25e50a={};_0x25e50a[_0x15cb9a(0x1a8)]=_0x3e6b38[_0x15cb9a(0x150)],_0x25e50a[_0x15cb9a(0x1da)]=[_0x51dfb3],SessionHandler[_0x15cb9a(0x15f)](_0x25e50a);}}function BrowserStackNewmanReporter(_0x11b270,_0x985ed7,_0x247388){const _0x11d00f=a46_0x378cf2,_0x11eba8={'hMmxS':function(_0x28f223,_0x33e045,_0x120b6c){return _0x28f223(_0x33e045,_0x120b6c);},'kpZUQ':function(_0x456683,_0x11d437){return _0x456683(_0x11d437);},'KPtgD':function(_0x381c69,_0x23eae2){return _0x381c69(_0x23eae2);},'EqPnV':function(_0x19c515,_0x1564af){return _0x19c515>_0x1564af;},'tOzRv':'http','HqodI':function(_0x386ea2,_0x208d3d){return _0x386ea2+_0x208d3d;},'svcnZ':_0x11d00f(0x16f),'GbCEk':function(_0xef52f0,_0x321875){return _0xef52f0(_0x321875);},'ZGSqz':_0x11d00f(0x1d3),'qLDzF':function(_0xc40a09){return _0xc40a09();},'pClAa':function(_0x25b71c,_0x2c2db6){return _0x25b71c||_0x2c2db6;},'Luvcr':function(_0x25fa96,_0x289b60,_0x497fb9,_0xaa3236,_0x4adcad,_0x793f79){return _0x25fa96(_0x289b60,_0x497fb9,_0xaa3236,_0x4adcad,_0x793f79);},'Fzzjf':function(_0x204454,_0x200d07){return _0x204454===_0x200d07;},'YPuvG':function(_0x1de22e,_0x10d74f){return _0x1de22e>_0x10d74f;},'TJYKi':function(_0x5c5963,_0x2fe2cc,_0x354f2d){return _0x5c5963(_0x2fe2cc,_0x354f2d);},'ydBhd':_0x11d00f(0x1cd),'LecSK':function(_0x4bee04,_0x50fd0b){return _0x4bee04+_0x50fd0b;},'NLXMR':function(_0x39668e,_0x317223){return _0x39668e+_0x317223;},'GiFmF':function(_0x227238,_0x880b84){return _0x227238+_0x880b84;},'Vjwfa':function(_0xa2877c,_0xbea3c3){return _0xa2877c+_0xbea3c3;},'OkeTk':function(_0x43235d,_0x354224){return _0x43235d+_0x354224;},'hnDgb':_0x11d00f(0x233),'BojWJ':'ms)','JyKKK':function(_0x470874,_0x109477,_0x3f541a){return _0x470874(_0x109477,_0x3f541a);},'HTwCk':_0x11d00f(0x23d),'Iwktb':function(_0x324307,_0x3553e4){return _0x324307(_0x3553e4);},'hhVDX':function(_0xad9bce,_0x4042a5){return _0xad9bce>_0x4042a5;},'uPfBI':function(_0x1bd3a9,_0x12940d){return _0x1bd3a9-_0x12940d;},'IndHt':function(_0x4ed9e9,_0x36e18f,_0x11c6ea){return _0x4ed9e9(_0x36e18f,_0x11c6ea);},'matZL':function(_0x56f868,_0x541fcd){return _0x56f868(_0x541fcd);},'xTBRL':function(_0x290520,_0x4cd582){return _0x290520&&_0x4cd582;},'yEoPZ':function(_0x239d7a,_0x1a3324){return _0x239d7a>_0x1a3324;},'XXaNr':function(_0x3e4654,_0x1c2562){return _0x3e4654-_0x1c2562;},'SBGaM':_0x11d00f(0x241),'HyQhy':_0x11d00f(0x207),'EgJHR':function(_0x56ad2f,_0xd14766){return _0x56ad2f(_0xd14766);},'hektZ':function(_0x1fefd1,_0x2d1be6){return _0x1fefd1+_0x2d1be6;},'aMznN':_0x11d00f(0x1a1),'Euhoh':function(_0x44ff9e,_0x25a28b){return _0x44ff9e>_0x25a28b;},'HrkJc':_0x11d00f(0x170),'SQKCY':function(_0xe86cb,_0x5ae237){return _0xe86cb+_0x5ae237;},'qJGGM':function(_0x18ae78,_0x53b75d){return _0x18ae78+_0x53b75d;},'oJpNz':_0x11d00f(0x166),'VGPTP':_0x11d00f(0x1ed),'OKlpt':function(_0x1cfba3,_0x578a3b){return _0x1cfba3+_0x578a3b;},'RWwwx':_0x11d00f(0x1cf),'nCAAs':'failed','axdnQ':'passed','nOhrs':_0x11d00f(0x1fa),'DMMwE':_0x11d00f(0x1ae),'jNDHk':'UnhandledError','MZxKd':function(_0x55be01,_0xeff95d,_0x364b8b,_0x24d34b,_0x33c308,_0x16062a){return _0x55be01(_0xeff95d,_0x364b8b,_0x24d34b,_0x33c308,_0x16062a);},'qyRQm':function(_0x552031,_0x29ae83){return _0x552031-_0x29ae83;},'rYXrc':function(_0x235723,_0x5853e9){return _0x235723>_0x5853e9;},'lWNay':function(_0x3c7cd5){return _0x3c7cd5();},'wFLyx':function(_0x53f866,_0x227477){return _0x53f866!=_0x227477;},'EKpIP':function(_0x1bcbae,_0x4cb67){return _0x1bcbae>=_0x4cb67;},'KSjIS':function(_0x205933,_0x15032e){return _0x205933<_0x15032e;},'cpRns':_0x11d00f(0x1cc),'mJQkO':_0x11d00f(0x192),'RTRTq':function(_0x20c0b6,_0x2f4031,_0x453aa3,_0x2f8abb,_0x108594,_0x18989b){return _0x20c0b6(_0x2f4031,_0x453aa3,_0x2f8abb,_0x108594,_0x18989b);},'SXXbw':function(_0x173c39,_0x108269){return _0x173c39+_0x108269;},'kBvxm':function(_0xa6e13,_0x1b2388){return _0xa6e13+_0x1b2388;},'gsJnz':function(_0x54f661,_0x4c26c7){return _0x54f661+_0x4c26c7;},'pEUJR':function(_0x23e6db,_0x3e8653,_0x273592){return _0x23e6db(_0x3e8653,_0x273592);},'ZKlDM':_0x11d00f(0x158),'JQydI':_0x11d00f(0x232),'WpQXP':function(_0x3c9eba,_0x331488){return _0x3c9eba(_0x331488);},'JglbD':function(_0x30f08f,_0x5ba549,_0x170914){return _0x30f08f(_0x5ba549,_0x170914);},'EIdJA':_0x11d00f(0x165),'TGMSF':_0x11d00f(0x194),'gOVsk':_0x11d00f(0x20b),'yQPcb':_0x11d00f(0x1ce),'LBNcc':_0x11d00f(0x1b8),'IFfkM':_0x11d00f(0x1d1),'Vcbit':_0x11d00f(0x1dd),'BTMiP':_0x11d00f(0x1c0),'knaft':_0x11d00f(0x244)},_0x1b22b9=new Map();let _0x482cf1=null,_0x26c681=0x0;const _0x173b9d=_0x11eba8[_0x11d00f(0x21b)](resolveCollectionFile,_0x247388,_0x985ed7),_0x5510ab=_0x11eba8[_0x11d00f(0x20c)](resolveCollectionName,_0x247388)||_0x173b9d,_0x40c02d=path[_0x11d00f(0x163)](_0x173b9d),_0x48235d=_0x11d00f(0x1e4)+process[_0x11d00f(0x1df)],_0x38873e=_0x35da46=>{const _0x3eab86=_0x11d00f;try{_0x482cf1&&_0x11eba8[_0x3eab86(0x188)](emitLog,_0x482cf1,_0x35da46);}catch(_0x4f2515){_0x11eba8['kpZUQ'](debug,'[Newman\x20Reporter]\x20Error\x20in\x20bs:addLog\x20handler:\x20'+_0x4f2515);}};process['on'](_0x48235d,_0x38873e),_0x11b270['on'](_0x11eba8[_0x11d00f(0x1ad)],()=>{const _0x28b902=_0x11d00f;process['removeListener'](_0x48235d,_0x38873e),_0x1b22b9[_0x28b902(0x23f)]();}),_0x11b270['on'](_0x11eba8[_0x11d00f(0x162)],(_0x4d9ff9,_0x3452e3)=>{const _0x367ec7=_0x11d00f;_0x3452e3&&_0x3452e3[_0x367ec7(0x1c2)]&&(_0x26c681=_0x3452e3[_0x367ec7(0x1c2)]['iteration']||0x0);}),_0x11b270['on'](_0x11eba8[_0x11d00f(0x23c)],(_0xc2c54e,_0x1a3bd1)=>{const _0x5ce9bc=_0x11d00f;try{_0x482cf1=null;const _0x35d0f8=_0x1a3bd1[_0x5ce9bc(0x244)],_0x20fcf1=_0x35d0f8['parent']()?_0x11eba8['KPtgD'](getParentTitles,_0x35d0f8[_0x5ce9bc(0x22e)]()):[],_0x5d38b5=_0x11eba8[_0x5ce9bc(0x1b0)](_0x20fcf1[_0x5ce9bc(0x22b)],0x1)?_0x20fcf1['slice'](0x1):_0x20fcf1,_0x1368f9=_0x1a3bd1[_0x5ce9bc(0x1c2)]&&_0x1a3bd1['cursor'][_0x5ce9bc(0x190)],_0x53a752={'itemName':_0x35d0f8['name'],'scopes':_0x5d38b5['concat']([_0x35d0f8[_0x5ce9bc(0x238)]]),'location':_0x173b9d,'collectionName':_0x5510ab,'startedAt':new Date()['toISOString'](),'startTimestamp':Date[_0x5ce9bc(0x169)](),'lastResponseCode':null,'httpLog':null,'assertions':[],'bufferedLogs':[]};_0x1b22b9['set'](_0x35d0f8['id']+'_'+_0x26c681,_0x53a752),_0x1368f9&&_0x1b22b9['set'](_0x1368f9+'_'+_0x26c681,_0x53a752);}catch(_0x163303){_0x11eba8[_0x5ce9bc(0x214)](debug,_0x5ce9bc(0x213)+_0x163303);}}),_0x11b270['on'](_0x11eba8[_0x11d00f(0x20e)],(_0x16682e,_0x1c9a51)=>{const _0x15c08b=_0x11d00f;try{if(!_0x1c9a51||!_0x1c9a51['item'])return;const _0x4347b9=_0x1b22b9['get'](_0x1c9a51[_0x15c08b(0x244)]['id']+'_'+_0x26c681);if(!_0x4347b9)return;_0x1c9a51[_0x15c08b(0x236)]&&(_0x4347b9[_0x15c08b(0x1c6)]=_0x1c9a51['response'][_0x15c08b(0x208)]||null);if(!_0x1c9a51['request'])return;let _0x47eed2='',_0x4a1f2f='';if(_0x1c9a51[_0x15c08b(0x1ce)][_0x15c08b(0x176)])try{const _0x31ea02=_0x1c9a51[_0x15c08b(0x1ce)]['url']['toString'](),_0x297ffe=new URL(_0x31ea02[_0x15c08b(0x224)](_0x11eba8[_0x15c08b(0x182)])?_0x31ea02:_0x15c08b(0x19e)+_0x31ea02);_0x47eed2=_0x297ffe[_0x15c08b(0x1af)],_0x4a1f2f=_0x11eba8[_0x15c08b(0x172)](_0x297ffe[_0x15c08b(0x160)],_0x297ffe[_0x15c08b(0x228)]);}catch(_0x2c89a8){_0x4a1f2f=_0x1c9a51[_0x15c08b(0x1ce)][_0x15c08b(0x176)][_0x15c08b(0x1e7)]();}const _0x3faf6f={};_0x3faf6f[_0x15c08b(0x210)]=_0x47eed2,_0x3faf6f[_0x15c08b(0x1bf)]=_0x4a1f2f,_0x3faf6f[_0x15c08b(0x1ca)]=_0x1c9a51[_0x15c08b(0x1ce)][_0x15c08b(0x1ca)]||_0x11eba8[_0x15c08b(0x20a)],_0x3faf6f['headers']={},_0x3faf6f[_0x15c08b(0x23a)]=_0x1c9a51['response']?_0x1c9a51[_0x15c08b(0x236)][_0x15c08b(0x208)]||0x0:0x0,_0x3faf6f[_0x15c08b(0x17e)]=_0x1c9a51[_0x15c08b(0x236)]?_0x1c9a51[_0x15c08b(0x236)][_0x15c08b(0x200)]||0x0:0x0,_0x4347b9[_0x15c08b(0x1f4)]=_0x3faf6f;}catch(_0x3173ee){_0x11eba8[_0x15c08b(0x196)](debug,_0x15c08b(0x1d4)+_0x3173ee);}}),_0x11b270['on'](_0x11eba8['LBNcc'],(_0x16fe69,_0x21b68a)=>{const _0x1ae9f1=_0x11d00f,_0x3694fe={'MBXrL':function(_0x2659d6,_0x1266fe,_0x49ef43){const _0x3ab25f=a46_0x3669;return _0x11eba8[_0x3ab25f(0x188)](_0x2659d6,_0x1266fe,_0x49ef43);},'YCQnB':_0x11eba8['ZGSqz']};try{if(!_0x21b68a||!_0x21b68a[_0x1ae9f1(0x244)])return;const _0x310ff5=_0x1b22b9[_0x1ae9f1(0x1ef)](_0x21b68a[_0x1ae9f1(0x244)]['id']+'_'+_0x26c681);if(!_0x310ff5)return;const _0x24ccad=_0x21b68a['assertion']||'Assertion\x20'+_0x11eba8[_0x1ae9f1(0x172)](_0x310ff5['assertions'][_0x1ae9f1(0x22b)],0x1),_0x4c65b2=_0x11eba8[_0x1ae9f1(0x227)](uuidv4),_0x1c9565=_0x310ff5['scopes'][_0x1ae9f1(0x175)]([_0x24ccad])[_0x1ae9f1(0x21c)]('\x20');_0x310ff5[_0x1ae9f1(0x15c)][_0x1ae9f1(0x212)]({'uuid':_0x4c65b2,'name':_0x24ccad,'identifier':_0x1c9565,'err':_0x11eba8[_0x1ae9f1(0x1b7)](_0x16fe69,null)});const _0x411459={};_0x411459[_0x1ae9f1(0x223)]=_0x4c65b2,_0x411459[_0x1ae9f1(0x238)]=_0x24ccad,_0x411459[_0x1ae9f1(0x231)]=_0x1c9565,_0x11eba8[_0x1ae9f1(0x1a4)](emitTest,HookState['PRE'],_0x411459,_0x310ff5,_0x40c02d,{});_0x11eba8[_0x1ae9f1(0x19f)](_0x310ff5[_0x1ae9f1(0x15c)][_0x1ae9f1(0x22b)],0x1)&&_0x11eba8[_0x1ae9f1(0x248)](_0x310ff5['bufferedLogs'][_0x1ae9f1(0x22b)],0x0)&&(_0x310ff5[_0x1ae9f1(0x1f6)]['forEach'](_0x588e6b=>{const _0x4e08cb=_0x1ae9f1;_0x3694fe[_0x4e08cb(0x211)](emitLog,_0x4c65b2,{'kind':_0x3694fe['YCQnB'],'message':_0x588e6b['message'],'level':_0x588e6b[_0x4e08cb(0x1a6)]});}),_0x310ff5[_0x1ae9f1(0x1f6)]=[]);if(_0x310ff5[_0x1ae9f1(0x1f4)]){_0x11eba8[_0x1ae9f1(0x1f0)](emitLog,_0x4c65b2,{'kind':_0x11eba8['ydBhd'],'http_response':_0x310ff5[_0x1ae9f1(0x1f4)]});const _0x1394fe=_0x11eba8[_0x1ae9f1(0x167)](_0x11eba8['LecSK'](_0x11eba8['HqodI'](_0x11eba8[_0x1ae9f1(0x14f)](_0x11eba8[_0x1ae9f1(0x15d)](_0x11eba8['Vjwfa'](_0x11eba8[_0x1ae9f1(0x14c)](_0x11eba8[_0x1ae9f1(0x15d)](_0x310ff5['httpLog'][_0x1ae9f1(0x1ca)]||_0x11eba8[_0x1ae9f1(0x20a)],'\x20'),_0x310ff5['httpLog'][_0x1ae9f1(0x210)]),_0x310ff5[_0x1ae9f1(0x1f4)][_0x1ae9f1(0x1bf)]),_0x11eba8[_0x1ae9f1(0x234)]),_0x310ff5[_0x1ae9f1(0x1f4)][_0x1ae9f1(0x23a)]),'\x20('),_0x310ff5['httpLog'][_0x1ae9f1(0x17e)]),_0x11eba8[_0x1ae9f1(0x1de)]);_0x11eba8[_0x1ae9f1(0x16c)](emitLog,_0x4c65b2,{'kind':_0x11eba8['ZGSqz'],'message':_0x1394fe,'level':_0x11eba8[_0x1ae9f1(0x237)]});}_0x482cf1=_0x4c65b2;}catch(_0x532b76){_0x11eba8[_0x1ae9f1(0x1b5)](debug,_0x1ae9f1(0x1e0)+_0x532b76);}}),_0x11b270['on'](_0x11eba8['IFfkM'],(_0x22372c,_0x25de81)=>{const _0x4b8954=_0x11d00f;try{if(!_0x25de81)return;let _0x522aab=_0x482cf1;if(!_0x522aab&&_0x25de81[_0x4b8954(0x1c2)]&&_0x25de81[_0x4b8954(0x1c2)][_0x4b8954(0x190)]){const _0x4ccaf1=_0x1b22b9[_0x4b8954(0x1ef)](_0x25de81[_0x4b8954(0x1c2)]['ref']+'_'+_0x26c681);_0x4ccaf1&&_0x11eba8['hhVDX'](_0x4ccaf1[_0x4b8954(0x15c)]['length'],0x0)&&(_0x522aab=_0x4ccaf1[_0x4b8954(0x15c)][_0x11eba8[_0x4b8954(0x1e5)](_0x4ccaf1['assertions'][_0x4b8954(0x22b)],0x1)][_0x4b8954(0x223)]);}const _0x1a8040=_0x25de81[_0x4b8954(0x187)]?_0x25de81[_0x4b8954(0x187)][_0x4b8954(0x21c)](',\x20'):'';if(_0x522aab)_0x11eba8[_0x4b8954(0x1f9)](emitLog,_0x522aab,{'kind':_0x11eba8[_0x4b8954(0x1b9)],'message':_0x1a8040,'level':_0x11eba8[_0x4b8954(0x214)](normalizeLogLevel,_0x25de81[_0x4b8954(0x1a6)])});else{if(_0x25de81[_0x4b8954(0x1c2)]&&_0x25de81[_0x4b8954(0x1c2)][_0x4b8954(0x190)]){const _0x3fb4d1=_0x1b22b9[_0x4b8954(0x1ef)](_0x25de81[_0x4b8954(0x1c2)]['ref']+'_'+_0x26c681);_0x3fb4d1&&_0x3fb4d1[_0x4b8954(0x1f6)][_0x4b8954(0x212)]({'timestamp':new Date()[_0x4b8954(0x246)](),'level':_0x11eba8['GbCEk'](normalizeLogLevel,_0x25de81[_0x4b8954(0x1a6)]),'message':_0x1a8040});}}}catch(_0x4c2e3a){_0x11eba8[_0x4b8954(0x1ba)](debug,_0x4b8954(0x222)+_0x4c2e3a);}}),_0x11b270['on'](_0x11eba8['Vcbit'],(_0x3ddb9f,_0x216711)=>{const _0x5aab7f=_0x11d00f;try{if(!_0x3ddb9f&&(!_0x216711||!_0x216711[_0x5aab7f(0x1bd)]))return;const _0xe714ca=_0x3ddb9f||_0x216711['error'],_0x410a15=_0xe714ca[_0x5aab7f(0x1d7)]||_0x11eba8[_0x5aab7f(0x1ba)](String,_0xe714ca),_0x3c1c7f=_0xe714ca[_0x5aab7f(0x17a)]||_0x410a15;let _0xfcb070=_0x482cf1;if(_0x11eba8['xTBRL'](!_0xfcb070,_0x216711)&&_0x216711[_0x5aab7f(0x1c2)]&&_0x216711['cursor'][_0x5aab7f(0x190)]){const _0x3d1712=_0x1b22b9[_0x5aab7f(0x1ef)](_0x216711[_0x5aab7f(0x1c2)][_0x5aab7f(0x190)]+'_'+_0x26c681);_0x3d1712&&_0x11eba8[_0x5aab7f(0x174)](_0x3d1712[_0x5aab7f(0x15c)][_0x5aab7f(0x22b)],0x0)&&(_0xfcb070=_0x3d1712[_0x5aab7f(0x15c)][_0x11eba8['XXaNr'](_0x3d1712['assertions'][_0x5aab7f(0x22b)],0x1)]['uuid']);}_0xfcb070&&_0x11eba8[_0x5aab7f(0x1f9)](emitLog,_0xfcb070,{'kind':_0x11eba8['ZGSqz'],'message':_0x11eba8[_0x5aab7f(0x172)](_0x11eba8['SBGaM'],_0x3c1c7f),'level':_0x11eba8[_0x5aab7f(0x221)]});}catch(_0x12a944){_0x11eba8[_0x5aab7f(0x20c)](debug,_0x11eba8[_0x5aab7f(0x1c1)](_0x11eba8['aMznN'],_0x12a944));}}),_0x11b270['on'](_0x11eba8[_0x11d00f(0x16d)],(_0x19d63b,_0x3453f1)=>{const _0x3d7161=_0x11d00f;try{if(!_0x3453f1||!_0x3453f1['execution'])return;let _0x36bcb6=_0x482cf1;if(!_0x36bcb6&&_0x3453f1[_0x3d7161(0x1c2)]&&_0x3453f1[_0x3d7161(0x1c2)][_0x3d7161(0x190)]){const _0x53a7b7=_0x1b22b9[_0x3d7161(0x1ef)](_0x3453f1[_0x3d7161(0x1c2)]['ref']+'_'+_0x26c681);_0x53a7b7&&_0x11eba8[_0x3d7161(0x201)](_0x53a7b7[_0x3d7161(0x15c)][_0x3d7161(0x22b)],0x0)&&(_0x36bcb6=_0x53a7b7[_0x3d7161(0x15c)][_0x11eba8[_0x3d7161(0x1e5)](_0x53a7b7[_0x3d7161(0x15c)][_0x3d7161(0x22b)],0x1)][_0x3d7161(0x223)]);}if(!_0x36bcb6)return;const _0x53c781=_0x3453f1[_0x3d7161(0x16e)]&&_0x3453f1[_0x3d7161(0x16e)][_0x3d7161(0x216)]||_0x11eba8[_0x3d7161(0x204)];_0x19d63b&&_0x11eba8['JyKKK'](emitLog,_0x36bcb6,{'kind':_0x11eba8[_0x3d7161(0x1b9)],'message':_0x11eba8[_0x3d7161(0x1f3)](_0x11eba8[_0x3d7161(0x22d)](_0x11eba8['qJGGM'](_0x11eba8[_0x3d7161(0x229)],_0x53c781),_0x11eba8[_0x3d7161(0x151)]),_0x19d63b['message']||_0x19d63b),'level':_0x11eba8['HyQhy']});}catch(_0x540d72){_0x11eba8[_0x3d7161(0x20c)](debug,_0x11eba8['OKlpt'](_0x11eba8[_0x3d7161(0x1b6)],_0x540d72));}}),_0x11b270['on'](_0x11eba8[_0x11d00f(0x1d5)],(_0x43181a,_0x30de75)=>{const _0x5005ea=_0x11d00f,_0x3e6d48={'jwSMN':_0x11eba8['nCAAs'],'tspLX':_0x11eba8[_0x5005ea(0x1bb)],'ipIkw':function(_0x415306,_0x2f6b8f){const _0x1ff6ea=_0x5005ea;return _0x11eba8[_0x1ff6ea(0x19f)](_0x415306,_0x2f6b8f);},'AkWnc':_0x11eba8[_0x5005ea(0x1ec)],'nOPoj':_0x11eba8[_0x5005ea(0x1b1)],'TbXlS':_0x11eba8['jNDHk'],'IGItX':function(_0x3808f0,_0x1f92a4,_0x105403,_0x429c57,_0x29b4b9,_0x1dafbb){const _0x116553=_0x5005ea;return _0x11eba8[_0x116553(0x189)](_0x3808f0,_0x1f92a4,_0x105403,_0x429c57,_0x29b4b9,_0x1dafbb);}};try{if(!_0x30de75||!_0x30de75[_0x5005ea(0x244)])return;const _0x1bda80=_0x30de75[_0x5005ea(0x244)]['id']+'_'+_0x26c681,_0x2083f0=_0x1b22b9['get'](_0x1bda80);if(!_0x2083f0)return;const _0x5e6f24=new Date(),_0x4e0a74=_0x11eba8[_0x5005ea(0x22a)](_0x5e6f24[_0x5005ea(0x230)](),_0x2083f0[_0x5005ea(0x177)]);if(_0x11eba8[_0x5005ea(0x16b)](_0x2083f0[_0x5005ea(0x15c)][_0x5005ea(0x22b)],0x0))_0x2083f0['assertions'][_0x5005ea(0x19a)](_0x2a256c=>{const _0x509a21=_0x5005ea,_0x78933d=!!_0x2a256c[_0x509a21(0x185)],_0x156d2f={'finishedAt':_0x5e6f24['toISOString'](),'durationMs':_0x4e0a74,'result':_0x78933d?_0x3e6d48['jwSMN']:_0x3e6d48[_0x509a21(0x1db)]};_0x78933d&&(_0x156d2f['failureReason']=_0x2a256c[_0x509a21(0x185)][_0x509a21(0x1d7)]||'',_0x156d2f[_0x509a21(0x21d)]=_0x3e6d48['ipIkw'](_0x2a256c['err'][_0x509a21(0x238)],_0x3e6d48['AkWnc'])||_0x2a256c['err'][_0x509a21(0x1d7)]&&_0x2a256c[_0x509a21(0x185)][_0x509a21(0x1d7)][_0x509a21(0x22c)](_0x3e6d48['nOPoj'])?_0x3e6d48[_0x509a21(0x181)]:_0x3e6d48[_0x509a21(0x21e)],_0x156d2f[_0x509a21(0x15b)]=[{'backtrace':_0x2a256c[_0x509a21(0x185)][_0x509a21(0x17a)]?_0x2a256c[_0x509a21(0x185)][_0x509a21(0x17a)][_0x509a21(0x245)]('\x0a'):[_0x2a256c['err']['message']||''],'expanded':[]}]),_0x3e6d48['IGItX'](emitTest,HookState[_0x509a21(0x1f1)],_0x2a256c,_0x2083f0,_0x40c02d,_0x156d2f);});else{const _0x5ca6fb=_0x11eba8[_0x5005ea(0x15e)](uuidv4),_0x40fc8b=_0x2083f0[_0x5005ea(0x1c6)],_0x393538=_0x11eba8[_0x5005ea(0x1ee)](_0x40fc8b,null)&&_0x11eba8[_0x5005ea(0x209)](_0x40fc8b,0xc8)&&_0x11eba8[_0x5005ea(0x1d0)](_0x40fc8b,0x190),_0xa86017=_0x2083f0[_0x5005ea(0x161)]+_0x5005ea(0x180)+_0x11eba8[_0x5005ea(0x1b7)](_0x40fc8b,_0x11eba8[_0x5005ea(0x15a)])+')',_0x3b24ea={'uuid':_0x5ca6fb,'name':_0xa86017,'identifier':_0x2083f0[_0x5005ea(0x219)][_0x5005ea(0x175)]([_0xa86017])[_0x5005ea(0x21c)]('\x20')},_0x3c0cae={'finishedAt':_0x5e6f24['toISOString'](),'durationMs':_0x4e0a74,'result':_0x393538?_0x11eba8['axdnQ']:_0x11eba8[_0x5005ea(0x215)]};!_0x393538&&(_0x3c0cae[_0x5005ea(0x1c4)]=_0x11eba8['wFLyx'](_0x40fc8b,null)?_0x5005ea(0x1dc)+_0x40fc8b+'\x20—\x20response\x20status\x20in\x20failure\x20range':_0x11eba8['mJQkO'],_0x3c0cae[_0x5005ea(0x21d)]=_0x11eba8[_0x5005ea(0x1b2)],_0x3c0cae[_0x5005ea(0x15b)]=[{'backtrace':[_0x3c0cae['failureReason']],'expanded':[]}]);_0x11eba8[_0x5005ea(0x1c8)](emitTest,HookState['PRE'],_0x3b24ea,_0x2083f0,_0x40c02d,{}),_0x2083f0[_0x5005ea(0x1f6)][_0x5005ea(0x19a)](_0x1facf2=>{const _0x50a6d4=_0x5005ea;_0x11eba8[_0x50a6d4(0x188)](emitLog,_0x5ca6fb,{'kind':_0x11eba8[_0x50a6d4(0x1b9)],'message':_0x1facf2[_0x50a6d4(0x1d7)],'level':_0x1facf2[_0x50a6d4(0x1a6)]});});if(_0x2083f0[_0x5005ea(0x1f4)]){_0x11eba8[_0x5005ea(0x1f9)](emitLog,_0x5ca6fb,{'kind':_0x11eba8[_0x5005ea(0x21f)],'http_response':_0x2083f0[_0x5005ea(0x1f4)]});const _0x3af2a0=_0x11eba8[_0x5005ea(0x1f3)](_0x11eba8['OkeTk'](_0x11eba8['NLXMR'](_0x11eba8[_0x5005ea(0x1c7)](_0x11eba8[_0x5005ea(0x17b)](_0x11eba8[_0x5005ea(0x14f)](_0x11eba8[_0x5005ea(0x167)](_0x11eba8[_0x5005ea(0x1ab)](_0x2083f0['httpLog'][_0x5005ea(0x1ca)]||_0x11eba8[_0x5005ea(0x20a)],'\x20'),_0x2083f0['httpLog'][_0x5005ea(0x210)]),_0x2083f0['httpLog']['path']),_0x11eba8['hnDgb']),_0x2083f0[_0x5005ea(0x1f4)][_0x5005ea(0x23a)]),'\x20('),_0x2083f0[_0x5005ea(0x1f4)][_0x5005ea(0x17e)]),_0x11eba8[_0x5005ea(0x1de)]);_0x11eba8['hMmxS'](emitLog,_0x5ca6fb,{'kind':_0x11eba8[_0x5005ea(0x1b9)],'message':_0x3af2a0,'level':_0x11eba8[_0x5005ea(0x237)]});}else _0x11eba8[_0x5005ea(0x1f5)](emitLog,_0x5ca6fb,{'kind':_0x11eba8[_0x5005ea(0x1b9)],'message':_0x11eba8['qJGGM'](_0x11eba8[_0x5005ea(0x15d)](_0x11eba8[_0x5005ea(0x154)],_0x11eba8[_0x5005ea(0x1b7)](_0x40fc8b,_0x11eba8['cpRns'])),_0x11eba8[_0x5005ea(0x205)]),'level':_0x11eba8[_0x5005ea(0x237)]});_0x11eba8[_0x5005ea(0x1c8)](emitTest,HookState['POST'],_0x3b24ea,_0x2083f0,_0x40c02d,_0x3c0cae);}_0x1b22b9[_0x5005ea(0x193)](_0x1bda80),_0x30de75['cursor']&&_0x30de75[_0x5005ea(0x1c2)][_0x5005ea(0x190)]&&_0x1b22b9['delete'](_0x30de75['cursor'][_0x5005ea(0x190)]+'_'+_0x26c681);}catch(_0x1e76a6){_0x11eba8[_0x5005ea(0x19b)](debug,_0x5005ea(0x171)+_0x1e76a6);}});}module[a46_0x378cf2(0x1ff)]=BrowserStackNewmanReporter;
1
+ 'use strict';const a46_0x3bf17f=a46_0x14e7;(function(_0x4f06da,_0x2b60d6){const _0x4f2565=a46_0x14e7,_0x213bc1=_0x4f06da();while(!![]){try{const _0x4f0d1f=-parseInt(_0x4f2565(0x1d9))/0x1+parseInt(_0x4f2565(0x1b0))/0x2+parseInt(_0x4f2565(0x109))/0x3*(parseInt(_0x4f2565(0x16b))/0x4)+-parseInt(_0x4f2565(0x16e))/0x5+parseInt(_0x4f2565(0x1b2))/0x6+-parseInt(_0x4f2565(0x181))/0x7*(parseInt(_0x4f2565(0x13e))/0x8)+parseInt(_0x4f2565(0x1d8))/0x9*(parseInt(_0x4f2565(0x191))/0xa);if(_0x4f0d1f===_0x2b60d6)break;else _0x213bc1['push'](_0x213bc1['shift']());}catch(_0x1d033a){_0x213bc1['push'](_0x213bc1['shift']());}}}(a46_0x1f0e,0xc9656));const path=require(a46_0x3bf17f(0x178)),{v4:uuidv4}=require(a46_0x3bf17f(0x189)),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{debug}=require('../../../helpers/test-observability/utils'),logger=require('../../../helpers/logger')[a46_0x3bf17f(0x13a)],BrowserstackCLI=require(a46_0x3bf17f(0x1ad)),GrpcClient=require(a46_0x3bf17f(0x17b)),TestFrameworkState=require(a46_0x3bf17f(0x138)),HookState=require(a46_0x3bf17f(0x1df)),LOG_LEVELS=['INFO',a46_0x3bf17f(0x108),'ERROR',a46_0x3bf17f(0x112),a46_0x3bf17f(0x11c)];function isCLIRunning(){const _0x19bad6=a46_0x3bf17f;try{return BrowserstackCLI[_0x19bad6(0x18b)]()[_0x19bad6(0x145)]();}catch(_0x5a8519){return![];}}function getParentTitles(_0x2bdc43){const _0x2fa902=a46_0x3bf17f,_0x1fde86={'aHvty':function(_0x51f300,_0x524e66){return _0x51f300(_0x524e66);},'lEIFr':function(_0x5edeee,_0x3a9b56){return _0x5edeee(_0x3a9b56);}},_0x2c67f2=[],_0x23ba97=_0x2bdc43[_0x2fa902(0x19e)]();return _0x23ba97&&_0x2c67f2[_0x2fa902(0x11e)][_0x2fa902(0x170)](_0x2c67f2,_0x1fde86[_0x2fa902(0x1bb)](getParentTitles,_0x23ba97)),_0x2bdc43['name']&&_0x2c67f2[_0x2fa902(0x11e)](_0x1fde86[_0x2fa902(0x1b1)](String,_0x2bdc43[_0x2fa902(0x1ec)])),_0x2c67f2;}function normalizeLogLevel(_0x2c9244){const _0x3e857e=a46_0x3bf17f,_0x3d7f78={};_0x3d7f78['lKfII']='INFO',_0x3d7f78[_0x3e857e(0x1c3)]=function(_0x46a408,_0x4ee682){return _0x46a408!==_0x4ee682;};const _0x32be79=_0x3d7f78;if(!_0x2c9244)return _0x32be79['lKfII'];const _0x3d3b04=_0x2c9244['toUpperCase']();return _0x32be79[_0x3e857e(0x1c3)](LOG_LEVELS[_0x3e857e(0x15c)](_0x3d3b04),-0x1)?_0x3d3b04:_0x32be79[_0x3e857e(0x146)];}function resolveCollectionFile(_0x4cf63c,_0x3e9229){const _0x404425=a46_0x3bf17f,_0x4b2129={};_0x4b2129[_0x404425(0x162)]=function(_0xc12b32,_0x2cde76){return _0xc12b32===_0x2cde76;},_0x4b2129['UNIxs']=_0x404425(0x16f),_0x4b2129[_0x404425(0x118)]=_0x404425(0x136),_0x4b2129[_0x404425(0x173)]=function(_0x52a305,_0x21771b){return _0x52a305!==_0x21771b;},_0x4b2129[_0x404425(0x1d4)]=function(_0xd8f86,_0x596a29){return _0xd8f86<_0x596a29;},_0x4b2129[_0x404425(0x174)]=function(_0x27abc6,_0x3c67a6){return _0x27abc6+_0x3c67a6;},_0x4b2129[_0x404425(0x1d2)]=_0x404425(0x185),_0x4b2129[_0x404425(0x1d3)]=_0x404425(0x15d);const _0x2e3ba5=_0x4b2129;try{if(_0x3e9229&&_0x3e9229[_0x404425(0x1fb)])return path[_0x404425(0x113)](process[_0x404425(0x1a9)](),path['resolve'](_0x3e9229['collectionPath']));const _0x4d212e=_0x4cf63c[_0x404425(0x107)];if(_0x2e3ba5['uXQeU'](typeof _0x4d212e,_0x2e3ba5['UNIxs']))return path[_0x404425(0x113)](process[_0x404425(0x1a9)](),path['resolve'](_0x4d212e));const _0x285e6e=process[_0x404425(0x1aa)][_0x404425(0x15c)](_0x2e3ba5['TAMHY']);if(_0x2e3ba5[_0x404425(0x173)](_0x285e6e,-0x1)&&_0x2e3ba5[_0x404425(0x1d4)](_0x2e3ba5[_0x404425(0x174)](_0x285e6e,0x1),process[_0x404425(0x1aa)][_0x404425(0x10c)])){const _0x28b975=process[_0x404425(0x1aa)][_0x2e3ba5[_0x404425(0x174)](_0x285e6e,0x1)];if(_0x28b975&&!_0x28b975['startsWith']('-'))return path[_0x404425(0x113)](process[_0x404425(0x1a9)](),path[_0x404425(0x172)](_0x28b975));}}catch(_0x49f4ae){}return logger[_0x404425(0x1f6)](_0x2e3ba5[_0x404425(0x1d2)]),_0x2e3ba5['ghGDa'];}function resolveCollectionName(_0x18f1fd){const _0x19037e=a46_0x3bf17f,_0x53295b={};_0x53295b['EqgSP']=function(_0x3719ae,_0x47acd1){return _0x3719ae===_0x47acd1;},_0x53295b[_0x19037e(0x188)]='object';const _0x8943f8=_0x53295b;try{const _0x171635=_0x18f1fd['collection'];if(_0x171635&&_0x8943f8['EqgSP'](typeof _0x171635,_0x8943f8[_0x19037e(0x188)]))return _0x171635[_0x19037e(0x1ec)]||_0x171635[_0x19037e(0x1f6)]&&_0x171635[_0x19037e(0x1f6)]['name']||null;}catch(_0x1b3afe){}return null;}function a46_0x14e7(_0x17f63c,_0x36227f){const _0x1f0ef4=a46_0x1f0e();return a46_0x14e7=function(_0x14e73c,_0x4d1e22){_0x14e73c=_0x14e73c-0x102;let _0x44f427=_0x1f0ef4[_0x14e73c];return _0x44f427;},a46_0x14e7(_0x17f63c,_0x36227f);}function emitTest(_0x38ce97,_0xa0b83e,_0x2f094f,_0x3652f3,_0x313e43){const _0xd69f8e=a46_0x3bf17f,_0x2063f4={'QuRNG':function(_0x4d3cb0){return _0x4d3cb0();},'TtpbY':_0xd69f8e(0x10e),'uSUoM':function(_0x34afe0,_0x56a4e1){return _0x34afe0(_0x56a4e1);},'AyZbx':_0xd69f8e(0x1bd),'qSCKd':_0xd69f8e(0x1bc),'xqaqK':function(_0x3f5ee4,_0x2f89b7){return _0x3f5ee4!=_0x2f89b7;},'yPJzp':function(_0x25efe8,_0x37766b){return _0x25efe8===_0x37766b;},'UpDLy':'TestRunStarted','GHrSo':'TestRunFinished'};if(_0x2063f4[_0xd69f8e(0x1ca)](isCLIRunning))try{const _0x4693c7=BrowserstackCLI['getInstance']()[_0xd69f8e(0x192)]();if(!_0x4693c7)return;_0x4693c7[_0xd69f8e(0x17e)](TestFrameworkState[_0xd69f8e(0x187)],_0x38ce97,{'test':{'uuid':_0xa0b83e[_0xd69f8e(0x189)],'name':_0xa0b83e[_0xd69f8e(0x1ec)],'scopes':_0x2f094f[_0xd69f8e(0x1b8)],'scope':_0x2f094f[_0xd69f8e(0x1b8)][_0xd69f8e(0x169)]('\x20'),'file_path':_0x3652f3,'location':_0x2f094f[_0xd69f8e(0x1b9)],'started_at':_0x2f094f['startedAt'],'finished_at':_0x313e43[_0xd69f8e(0x183)]||null,'result':_0x313e43[_0xd69f8e(0x142)]||_0x2063f4[_0xd69f8e(0x1dd)],'failure':_0x313e43['failure']||[],'failure_type':_0x313e43[_0xd69f8e(0x13f)]||null,'failure_reason':_0x313e43[_0xd69f8e(0x116)]||null,'tags':[],'meta':{},'custom_metadata':{}}});}catch(_0x40d769){_0x2063f4['uSUoM'](debug,_0xd69f8e(0x1be)+_0x40d769);}else{const _0x4a95bf={'uuid':_0xa0b83e[_0xd69f8e(0x189)],'name':_0xa0b83e[_0xd69f8e(0x1ec)],'framework':_0x2063f4[_0xd69f8e(0x1d6)],'body':{'lang':_0x2063f4[_0xd69f8e(0x111)],'code':null},'scope':_0x2f094f['scopes']['join']('\x20'),'scopes':_0x2f094f[_0xd69f8e(0x1b8)],'identifier':_0xa0b83e[_0xd69f8e(0x104)],'file_name':_0x2f094f[_0xd69f8e(0x1b9)],'vc_filepath':_0x2f094f['location'],'location':_0x2f094f[_0xd69f8e(0x148)],'started_at':_0x2f094f[_0xd69f8e(0x1ba)],'finished_at':_0x313e43[_0xd69f8e(0x183)]||null,'duration_in_ms':_0x2063f4[_0xd69f8e(0x177)](_0x313e43[_0xd69f8e(0x130)],null)?Math[_0xd69f8e(0x17d)](0x0,_0x313e43[_0xd69f8e(0x130)]):null,'result':_0x313e43[_0xd69f8e(0x142)]||_0x2063f4['TtpbY'],'failure_reason':_0x313e43['failureReason']||null,'failure_type':_0x313e43[_0xd69f8e(0x13f)]||null,'failure':_0x313e43['failure']||[],'retry_of':null,'hooks':[]};_0x4a95bf[_0xd69f8e(0x135)][0x0]&&(_0x4a95bf[_0xd69f8e(0x1c6)]=_0x4a95bf[_0xd69f8e(0x135)][0x0]['backtrace'],_0x4a95bf[_0xd69f8e(0x129)]=_0x4a95bf[_0xd69f8e(0x135)][0x0]['expanded']);const _0x54228a=_0x2063f4[_0xd69f8e(0x182)](_0x38ce97,HookState[_0xd69f8e(0x1f0)])?_0x2063f4['UpDLy']:_0x2063f4['GHrSo'],_0x223959={};_0x223959['event_type']=_0x54228a,_0x223959[_0xd69f8e(0x155)]=_0x4a95bf,SessionHandler[_0xd69f8e(0x134)](_0x223959);}}function emitLog(_0x2704d2,_0x52631e){const _0x56f701=a46_0x3bf17f,_0x22e6dc={'MlkvO':_0x56f701(0x120),'uiIrg':function(_0x4a509a){return _0x4a509a();},'SrpBI':function(_0x54cd7e,_0x20840a){return _0x54cd7e===_0x20840a;},'MbDYl':_0x56f701(0x194),'ZMthu':_0x56f701(0x1bd),'Auouw':'TEST','WPbAH':'INFO','SytRX':function(_0x4abecf,_0x12c26d){return _0x4abecf(_0x12c26d);},'qEuCk':function(_0x1be0d8,_0x1b1e71){return _0x1be0d8+_0x1b1e71;},'yLYCo':_0x56f701(0x1a5),'TzIHf':_0x56f701(0x1ac)},_0x7ef12c=_0x52631e[_0x56f701(0x15e)]||_0x22e6dc[_0x56f701(0x115)],_0x5ac759=_0x52631e[_0x56f701(0x12e)]||new Date()[_0x56f701(0x1af)]();if(_0x22e6dc['uiIrg'](isCLIRunning))try{const _0x1100c1=_0x22e6dc['SrpBI'](_0x7ef12c,_0x22e6dc[_0x56f701(0x117)])?JSON[_0x56f701(0x151)](_0x52631e):_0x52631e[_0x56f701(0x1d0)]||'',_0x395ba4={};_0x395ba4[_0x56f701(0x1ee)]=0x0,_0x395ba4[_0x56f701(0x1f8)]=_0x22e6dc[_0x56f701(0x1c1)],_0x395ba4[_0x56f701(0x1e6)]='',_0x395ba4[_0x56f701(0x168)]=_0x22e6dc[_0x56f701(0x10d)],_0x395ba4[_0x56f701(0x1de)]=[{'uuid':_0x2704d2,'timestamp':_0x5ac759,'kind':_0x7ef12c,'level':_0x52631e[_0x56f701(0x1e3)]||_0x22e6dc[_0x56f701(0x14f)],'message':_0x1100c1}],GrpcClient['getInstance']()['logCreatedEvent'](_0x395ba4);}catch(_0x462f5e){_0x22e6dc[_0x56f701(0x1f3)](debug,_0x22e6dc[_0x56f701(0x16a)](_0x22e6dc[_0x56f701(0x124)],_0x462f5e));}else{const _0x2b55f2={};_0x2b55f2[_0x56f701(0x196)]=_0x2704d2,_0x2b55f2[_0x56f701(0x12e)]=_0x5ac759,_0x2b55f2[_0x56f701(0x1e3)]=_0x52631e[_0x56f701(0x1e3)]||null,_0x2b55f2[_0x56f701(0x1d0)]=_0x52631e[_0x56f701(0x1d0)]||null,_0x2b55f2['kind']=_0x7ef12c,_0x2b55f2[_0x56f701(0x1e2)]=_0x52631e[_0x56f701(0x1e2)]||{};const _0x55c7d8={};_0x55c7d8['event_type']=_0x22e6dc[_0x56f701(0x1cf)],_0x55c7d8[_0x56f701(0x1de)]=[_0x2b55f2],SessionHandler['uploadEventData'](_0x55c7d8);}}function BrowserStackNewmanReporter(_0x642c54,_0x4426ea,_0x22310a){const _0x24b42e=a46_0x3bf17f,_0x40ae37={'XQcKQ':function(_0x506429,_0x2a8787,_0xb154b6){return _0x506429(_0x2a8787,_0xb154b6);},'anbtn':function(_0x5616c6,_0x5510fe){return _0x5616c6(_0x5510fe);},'dOjrJ':function(_0x4e7235,_0x4e1f2c){return _0x4e7235>_0x4e1f2c;},'QhpDA':'http','iOawZ':function(_0x88a634,_0x5a204f){return _0x88a634+_0x5a204f;},'VYjnc':_0x24b42e(0x1b6),'UUNbS':function(_0x2e4621,_0x3d29f2){return _0x2e4621(_0x3d29f2);},'cTXuX':_0x24b42e(0x120),'heKyl':function(_0x30ab19,_0x1dd650){return _0x30ab19+_0x1dd650;},'fwsUH':function(_0x4c520e){return _0x4c520e();},'zqmpe':function(_0x2db75d,_0x1a329f){return _0x2db75d||_0x1a329f;},'awUKN':function(_0x171e1f,_0xf15cf1,_0x5b4f0c,_0x3a0d4f,_0x58400d,_0x5255da){return _0x171e1f(_0xf15cf1,_0x5b4f0c,_0x3a0d4f,_0x58400d,_0x5255da);},'QfEos':function(_0x13167c,_0x2f01ad){return _0x13167c===_0x2f01ad;},'bxHSh':function(_0x97c55a,_0x1dac95){return _0x97c55a>_0x1dac95;},'entaR':_0x24b42e(0x194),'aQVtg':function(_0x2f39ff,_0x684922){return _0x2f39ff+_0x684922;},'DoYaq':function(_0x40d7fb,_0x2b4478){return _0x40d7fb+_0x2b4478;},'JMbNe':function(_0x3a8d1b,_0x3e1d75){return _0x3a8d1b+_0x3e1d75;},'ghgHE':function(_0x44a166,_0x9c50e1){return _0x44a166+_0x9c50e1;},'JxmJJ':function(_0x37925e,_0x103f9a){return _0x37925e+_0x103f9a;},'iNsjf':_0x24b42e(0x1cd),'KJGml':'ms)','Wxmxn':'INFO','yDSRN':function(_0x49e357,_0x223737){return _0x49e357>_0x223737;},'dSKgz':function(_0x585411,_0x595b38){return _0x585411-_0x595b38;},'wuzMC':function(_0x3df1e0,_0x9a0ae8,_0x53e58e){return _0x3df1e0(_0x9a0ae8,_0x53e58e);},'FgCtJ':function(_0x3939a9,_0x1e87c1){return _0x3939a9(_0x1e87c1);},'YjAjo':function(_0x31c281,_0x493614){return _0x31c281(_0x493614);},'ZbSkT':function(_0x5323ae,_0xf46cd7){return _0x5323ae(_0xf46cd7);},'PWmqM':function(_0x2e7954,_0x5185b8){return _0x2e7954&&_0x5185b8;},'OJCJN':function(_0x5a00d6,_0x2768a2){return _0x5a00d6>_0x2768a2;},'chEJt':function(_0xd1fcfa,_0xe3d4ec){return _0xd1fcfa-_0xe3d4ec;},'NsIqu':function(_0x1db117,_0x27e784){return _0x1db117+_0x27e784;},'YNdIp':_0x24b42e(0x122),'sxKEZ':_0x24b42e(0x18e),'KoQNQ':'[Newman\x20Reporter]\x20Error\x20in\x20exception:\x20','VFqqB':function(_0x4b8285,_0x13a792){return _0x4b8285-_0x13a792;},'xIXFa':_0x24b42e(0x12d),'evHLf':function(_0x5e2424,_0x3f3eb4,_0x387c6c){return _0x5e2424(_0x3f3eb4,_0x387c6c);},'QhyOH':function(_0x19ef54,_0x479f76){return _0x19ef54+_0x479f76;},'JLxfb':function(_0x57e2dc,_0x300f38){return _0x57e2dc+_0x300f38;},'TpHsr':_0x24b42e(0x1db),'UUgZo':_0x24b42e(0x10b),'USykG':function(_0x5852b7,_0x360f8d){return _0x5852b7(_0x360f8d);},'ygodX':_0x24b42e(0x140),'gvQFI':_0x24b42e(0x1dc),'GViil':'passed','fMQWo':function(_0x588230,_0x1c43b9){return _0x588230===_0x1c43b9;},'yVpjq':_0x24b42e(0x17f),'DOExq':_0x24b42e(0x1d1),'SrBvd':'UnhandledError','QuXRX':function(_0x56e2a0,_0x4fe75e,_0x11af5e,_0x52c6dd,_0x3efb56,_0x273781){return _0x56e2a0(_0x4fe75e,_0x11af5e,_0x52c6dd,_0x3efb56,_0x273781);},'uGwUe':function(_0x2daa1c,_0x3307e0,_0x2584af){return _0x2daa1c(_0x3307e0,_0x2584af);},'ZqAyp':function(_0x2babb9,_0x2e0abb){return _0x2babb9>_0x2e0abb;},'vseUn':function(_0x325263,_0x1d053d){return _0x325263!=_0x1d053d;},'KGlpk':function(_0x5dd597,_0x40a926){return _0x5dd597>=_0x40a926;},'yuIDq':function(_0x582e44,_0x5d2920){return _0x582e44<_0x5d2920;},'EjfYT':'N/A','yZmMk':function(_0x32a3f3,_0x1aa45d){return _0x32a3f3!=_0x1aa45d;},'tyhgi':_0x24b42e(0x157),'nCUcl':function(_0x2f2c6b,_0x4213da,_0x41cf06,_0x412aae,_0x4fc3f6,_0x4120c7){return _0x2f2c6b(_0x4213da,_0x41cf06,_0x412aae,_0x4fc3f6,_0x4120c7);},'LSShr':function(_0x1a52d8,_0x1b53a3){return _0x1a52d8+_0x1b53a3;},'JjCnw':function(_0x3657a8,_0x1de927){return _0x3657a8+_0x1de927;},'TqTYQ':function(_0x44e59d,_0x5041b5){return _0x44e59d+_0x5041b5;},'sIwUp':function(_0x33b4d7,_0x4db644){return _0x33b4d7+_0x4db644;},'hZfku':function(_0x3770a6,_0x5f49f8){return _0x3770a6+_0x5f49f8;},'eidxm':function(_0x4b4237,_0x5479c8,_0x2571b9){return _0x4b4237(_0x5479c8,_0x2571b9);},'gwQSD':function(_0x5e702d,_0x30f8d5){return _0x5e702d+_0x30f8d5;},'OfjcK':_0x24b42e(0x1c4),'jmGPP':function(_0x2c9d6c,_0x1fe1e8){return _0x2c9d6c||_0x1fe1e8;},'VWynH':'\x20(no\x20assertions)','EZklr':function(_0x95f411,_0x2906c0){return _0x95f411(_0x2906c0);},'kVviD':function(_0x237a86,_0x49df9d){return _0x237a86(_0x49df9d);},'HsjVp':'done','IWhMf':_0x24b42e(0x17c),'SaVyF':_0x24b42e(0x11b),'Jfsje':_0x24b42e(0x1e1),'wMUje':_0x24b42e(0x13d),'mejpU':_0x24b42e(0x128),'WryIL':'exception','vnUyo':'script','oRNjX':_0x24b42e(0x1fa)},_0x48b42a=new Map();let _0x482f41=null,_0x24f630=0x0;const _0x65a493=_0x40ae37[_0x24b42e(0x13b)](resolveCollectionFile,_0x22310a,_0x4426ea),_0x4cdf12=_0x40ae37[_0x24b42e(0x11d)](resolveCollectionName,_0x22310a)||_0x65a493,_0x28a217=path['resolve'](_0x65a493),_0x56b763=_0x24b42e(0x195)+process[_0x24b42e(0x12b)],_0x150fdc=_0xeaaaeb=>{const _0x3be334=_0x24b42e;try{_0x482f41&&_0x40ae37['XQcKQ'](emitLog,_0x482f41,_0xeaaaeb);}catch(_0x39d64b){_0x40ae37['anbtn'](debug,_0x3be334(0x19b)+_0x39d64b);}};process['on'](_0x56b763,_0x150fdc),_0x642c54['on'](_0x40ae37[_0x24b42e(0x133)],()=>{const _0x1ca9c1=_0x24b42e;process[_0x1ca9c1(0x14d)](_0x56b763,_0x150fdc),_0x48b42a[_0x1ca9c1(0x19c)]();}),_0x642c54['on'](_0x40ae37[_0x24b42e(0x180)],(_0x468214,_0xb64ae0)=>{const _0x502b70=_0x24b42e;_0xb64ae0&&_0xb64ae0[_0x502b70(0x1a6)]&&(_0x24f630=_0xb64ae0['cursor'][_0x502b70(0x1cc)]||0x0);}),_0x642c54['on'](_0x40ae37[_0x24b42e(0x161)],(_0x48bd17,_0x6e92c2)=>{const _0x28e717=_0x24b42e;try{_0x482f41=null;const _0xfb2a5f=_0x6e92c2[_0x28e717(0x1fa)],_0x20b621=_0xfb2a5f[_0x28e717(0x19e)]()?_0x40ae37[_0x28e717(0x199)](getParentTitles,_0xfb2a5f[_0x28e717(0x19e)]()):[],_0x20caa0=_0x40ae37[_0x28e717(0x18d)](_0x20b621[_0x28e717(0x10c)],0x1)?_0x20b621[_0x28e717(0x114)](0x1):_0x20b621,_0x34a7f9=_0x6e92c2[_0x28e717(0x1a6)]&&_0x6e92c2[_0x28e717(0x1a6)][_0x28e717(0x11f)],_0x4f02c5={'itemName':_0xfb2a5f[_0x28e717(0x1ec)],'scopes':_0x20caa0[_0x28e717(0x1f4)]([_0xfb2a5f[_0x28e717(0x1ec)]]),'location':_0x65a493,'collectionName':_0x4cdf12,'startedAt':new Date()[_0x28e717(0x1af)](),'startTimestamp':Date[_0x28e717(0x158)](),'lastResponseCode':null,'httpLog':null,'assertions':[],'bufferedLogs':[]};_0x48b42a[_0x28e717(0x18a)](_0xfb2a5f['id']+'_'+_0x24f630,_0x4f02c5),_0x34a7f9&&_0x48b42a['set'](_0x34a7f9+'_'+_0x24f630,_0x4f02c5);}catch(_0xc75270){_0x40ae37[_0x28e717(0x199)](debug,'[Newman\x20Reporter]\x20Error\x20in\x20beforeItem:\x20'+_0xc75270);}}),_0x642c54['on'](_0x40ae37['Jfsje'],(_0x5ebef0,_0x24ad16)=>{const _0xaa99ca=_0x24b42e;try{if(!_0x24ad16||!_0x24ad16[_0xaa99ca(0x1fa)])return;const _0xdc0d45=_0x48b42a['get'](_0x24ad16['item']['id']+'_'+_0x24f630);if(!_0xdc0d45)return;_0x24ad16['response']&&(_0xdc0d45[_0xaa99ca(0x153)]=_0x24ad16['response'][_0xaa99ca(0x119)]||null);if(!_0x24ad16['request'])return;let _0x4d5b0e='',_0x249918='';if(_0x24ad16[_0xaa99ca(0x1e1)][_0xaa99ca(0x15b)])try{const _0x5b210f=_0x24ad16[_0xaa99ca(0x1e1)]['url']['toString'](),_0x337ddd=new URL(_0x5b210f['startsWith'](_0x40ae37['QhpDA'])?_0x5b210f:_0xaa99ca(0x163)+_0x5b210f);_0x4d5b0e=_0x337ddd[_0xaa99ca(0x10f)],_0x249918=_0x40ae37['iOawZ'](_0x337ddd[_0xaa99ca(0x186)],_0x337ddd[_0xaa99ca(0x1a1)]);}catch(_0x236828){_0x249918=_0x24ad16['request'][_0xaa99ca(0x15b)][_0xaa99ca(0x18f)]();}const _0x3ffe36={};_0x3ffe36[_0xaa99ca(0x19a)]=_0x4d5b0e,_0x3ffe36[_0xaa99ca(0x178)]=_0x249918,_0x3ffe36['method']=_0x24ad16['request'][_0xaa99ca(0x152)]||_0x40ae37[_0xaa99ca(0x15f)],_0x3ffe36[_0xaa99ca(0x176)]={},_0x3ffe36['status_code']=_0x24ad16[_0xaa99ca(0x16c)]?_0x24ad16['response'][_0xaa99ca(0x119)]||0x0:0x0,_0x3ffe36['duration_ms']=_0x24ad16[_0xaa99ca(0x16c)]?_0x24ad16['response'][_0xaa99ca(0x1da)]||0x0:0x0,_0xdc0d45[_0xaa99ca(0x1e4)]=_0x3ffe36;}catch(_0x2c5aaa){_0x40ae37[_0xaa99ca(0x197)](debug,_0xaa99ca(0x123)+_0x2c5aaa);}}),_0x642c54['on'](_0x40ae37[_0x24b42e(0x1b4)],(_0x2d0377,_0x2d93d7)=>{const _0x58c979=_0x24b42e;try{if(!_0x2d93d7||!_0x2d93d7[_0x58c979(0x1fa)])return;const _0x6e2940=_0x48b42a['get'](_0x2d93d7['item']['id']+'_'+_0x24f630);if(!_0x6e2940)return;const _0x1af026=_0x2d93d7['assertion']||'Assertion\x20'+_0x40ae37[_0x58c979(0x1eb)](_0x6e2940['assertions'][_0x58c979(0x10c)],0x1),_0x42ddc2=_0x40ae37[_0x58c979(0x106)](uuidv4),_0x3a5e57=_0x6e2940[_0x58c979(0x1b8)][_0x58c979(0x1f4)]([_0x1af026])[_0x58c979(0x169)]('\x20');_0x6e2940[_0x58c979(0x149)][_0x58c979(0x11e)]({'uuid':_0x42ddc2,'name':_0x1af026,'identifier':_0x3a5e57,'err':_0x40ae37['zqmpe'](_0x2d0377,null)});const _0x55dd76={};_0x55dd76[_0x58c979(0x189)]=_0x42ddc2,_0x55dd76[_0x58c979(0x1ec)]=_0x1af026,_0x55dd76[_0x58c979(0x104)]=_0x3a5e57,_0x40ae37[_0x58c979(0x156)](emitTest,HookState[_0x58c979(0x1f0)],_0x55dd76,_0x6e2940,_0x28a217,{});_0x40ae37[_0x58c979(0x14e)](_0x6e2940[_0x58c979(0x149)][_0x58c979(0x10c)],0x1)&&_0x40ae37['bxHSh'](_0x6e2940[_0x58c979(0x1b3)][_0x58c979(0x10c)],0x0)&&(_0x6e2940[_0x58c979(0x1b3)][_0x58c979(0x150)](_0x5500af=>{const _0x32a71f=_0x58c979;_0x40ae37[_0x32a71f(0x127)](emitLog,_0x42ddc2,{'kind':_0x40ae37[_0x32a71f(0x1c8)],'message':_0x5500af[_0x32a71f(0x1d0)],'level':_0x5500af[_0x32a71f(0x1e3)]});}),_0x6e2940[_0x58c979(0x1b3)]=[]);if(_0x6e2940[_0x58c979(0x1e4)]){_0x40ae37['XQcKQ'](emitLog,_0x42ddc2,{'kind':_0x40ae37['entaR'],'http_response':_0x6e2940[_0x58c979(0x1e4)]});const _0x2c779d=_0x40ae37['iOawZ'](_0x40ae37[_0x58c979(0x165)](_0x40ae37[_0x58c979(0x137)](_0x40ae37[_0x58c979(0x1f2)](_0x40ae37[_0x58c979(0x137)](_0x40ae37[_0x58c979(0x143)](_0x40ae37[_0x58c979(0x105)](_0x40ae37[_0x58c979(0x110)](_0x6e2940['httpLog'][_0x58c979(0x152)]||_0x40ae37[_0x58c979(0x15f)],'\x20'),_0x6e2940['httpLog'][_0x58c979(0x19a)]),_0x6e2940[_0x58c979(0x1e4)]['path']),_0x40ae37[_0x58c979(0x167)]),_0x6e2940[_0x58c979(0x1e4)][_0x58c979(0x12f)]),'\x20('),_0x6e2940[_0x58c979(0x1e4)]['duration_ms']),_0x40ae37[_0x58c979(0x193)]);_0x40ae37[_0x58c979(0x127)](emitLog,_0x42ddc2,{'kind':_0x40ae37[_0x58c979(0x1c8)],'message':_0x2c779d,'level':_0x40ae37['Wxmxn']});}_0x482f41=_0x42ddc2;}catch(_0x5e150e){_0x40ae37[_0x58c979(0x199)](debug,_0x58c979(0x154)+_0x5e150e);}}),_0x642c54['on'](_0x40ae37[_0x24b42e(0x12a)],(_0x271003,_0x3d970e)=>{const _0x3b9e61=_0x24b42e;try{if(!_0x3d970e)return;let _0x1ffed7=_0x482f41;if(!_0x1ffed7&&_0x3d970e[_0x3b9e61(0x1a6)]&&_0x3d970e[_0x3b9e61(0x1a6)][_0x3b9e61(0x11f)]){const _0x479f65=_0x48b42a[_0x3b9e61(0x10a)](_0x3d970e['cursor'][_0x3b9e61(0x11f)]+'_'+_0x24f630);_0x479f65&&_0x40ae37[_0x3b9e61(0x132)](_0x479f65[_0x3b9e61(0x149)][_0x3b9e61(0x10c)],0x0)&&(_0x1ffed7=_0x479f65['assertions'][_0x40ae37[_0x3b9e61(0x1a4)](_0x479f65[_0x3b9e61(0x149)][_0x3b9e61(0x10c)],0x1)][_0x3b9e61(0x189)]);}const _0x59201d=_0x3d970e[_0x3b9e61(0x1a8)]?_0x3d970e[_0x3b9e61(0x1a8)][_0x3b9e61(0x169)](',\x20'):'';if(_0x1ffed7)_0x40ae37[_0x3b9e61(0x1ae)](emitLog,_0x1ffed7,{'kind':_0x40ae37[_0x3b9e61(0x1c8)],'message':_0x59201d,'level':_0x40ae37[_0x3b9e61(0x197)](normalizeLogLevel,_0x3d970e['level'])});else{if(_0x3d970e[_0x3b9e61(0x1a6)]&&_0x3d970e['cursor'][_0x3b9e61(0x11f)]){const _0x484f23=_0x48b42a['get'](_0x3d970e[_0x3b9e61(0x1a6)][_0x3b9e61(0x11f)]+'_'+_0x24f630);_0x484f23&&_0x484f23[_0x3b9e61(0x1b3)][_0x3b9e61(0x11e)]({'timestamp':new Date()[_0x3b9e61(0x1af)](),'level':_0x40ae37[_0x3b9e61(0x1a7)](normalizeLogLevel,_0x3d970e[_0x3b9e61(0x1e3)]),'message':_0x59201d});}}}catch(_0x5f5a25){_0x40ae37[_0x3b9e61(0x147)](debug,'[Newman\x20Reporter]\x20Error\x20in\x20console:\x20'+_0x5f5a25);}}),_0x642c54['on'](_0x40ae37[_0x24b42e(0x12c)],(_0x3d0804,_0x19ee30)=>{const _0x316aa5=_0x24b42e;try{if(!_0x3d0804&&(!_0x19ee30||!_0x19ee30[_0x316aa5(0x1e7)]))return;const _0x39a88b=_0x3d0804||_0x19ee30[_0x316aa5(0x1e7)],_0x2e2ad1=_0x39a88b[_0x316aa5(0x1d0)]||_0x40ae37[_0x316aa5(0x139)](String,_0x39a88b),_0x44523b=_0x39a88b[_0x316aa5(0x1a0)]||_0x2e2ad1;let _0x106168=_0x482f41;if(_0x40ae37['PWmqM'](!_0x106168,_0x19ee30)&&_0x19ee30['cursor']&&_0x19ee30['cursor']['ref']){const _0x293564=_0x48b42a[_0x316aa5(0x10a)](_0x19ee30[_0x316aa5(0x1a6)][_0x316aa5(0x11f)]+'_'+_0x24f630);_0x293564&&_0x40ae37[_0x316aa5(0x1bf)](_0x293564[_0x316aa5(0x149)][_0x316aa5(0x10c)],0x0)&&(_0x106168=_0x293564[_0x316aa5(0x149)][_0x40ae37[_0x316aa5(0x190)](_0x293564['assertions'][_0x316aa5(0x10c)],0x1)]['uuid']);}_0x106168&&_0x40ae37['wuzMC'](emitLog,_0x106168,{'kind':_0x40ae37[_0x316aa5(0x1c8)],'message':_0x40ae37[_0x316aa5(0x171)](_0x40ae37[_0x316aa5(0x14c)],_0x44523b),'level':_0x40ae37['sxKEZ']});}catch(_0x304d3f){_0x40ae37['FgCtJ'](debug,_0x40ae37['JMbNe'](_0x40ae37['KoQNQ'],_0x304d3f));}}),_0x642c54['on'](_0x40ae37[_0x24b42e(0x144)],(_0x23633a,_0x7a8977)=>{const _0x2c46dc=_0x24b42e;try{if(!_0x7a8977||!_0x7a8977[_0x2c46dc(0x121)])return;let _0x5b88e7=_0x482f41;if(!_0x5b88e7&&_0x7a8977[_0x2c46dc(0x1a6)]&&_0x7a8977[_0x2c46dc(0x1a6)][_0x2c46dc(0x11f)]){const _0x3626a3=_0x48b42a[_0x2c46dc(0x10a)](_0x7a8977[_0x2c46dc(0x1a6)][_0x2c46dc(0x11f)]+'_'+_0x24f630);_0x3626a3&&_0x40ae37[_0x2c46dc(0x18d)](_0x3626a3[_0x2c46dc(0x149)][_0x2c46dc(0x10c)],0x0)&&(_0x5b88e7=_0x3626a3[_0x2c46dc(0x149)][_0x40ae37[_0x2c46dc(0x1e9)](_0x3626a3[_0x2c46dc(0x149)][_0x2c46dc(0x10c)],0x1)][_0x2c46dc(0x189)]);}if(!_0x5b88e7)return;const _0x6aed4f=_0x7a8977[_0x2c46dc(0x19f)]&&_0x7a8977[_0x2c46dc(0x19f)][_0x2c46dc(0x1c7)]||_0x40ae37[_0x2c46dc(0x1d5)];_0x23633a&&_0x40ae37[_0x2c46dc(0x13b)](emitLog,_0x5b88e7,{'kind':_0x40ae37['cTXuX'],'message':_0x40ae37[_0x2c46dc(0x1b5)](_0x40ae37[_0x2c46dc(0x1f9)](_0x40ae37['aQVtg'](_0x40ae37[_0x2c46dc(0x1ce)],_0x6aed4f),_0x40ae37['UUgZo']),_0x23633a[_0x2c46dc(0x1d0)]||_0x23633a),'level':_0x40ae37[_0x2c46dc(0x1ea)]});}catch(_0x5464b5){_0x40ae37['USykG'](debug,_0x40ae37[_0x2c46dc(0x137)](_0x40ae37[_0x2c46dc(0x1cb)],_0x5464b5));}}),_0x642c54['on'](_0x40ae37[_0x24b42e(0x1ed)],(_0x22b171,_0x567ba6)=>{const _0x3d1696=_0x24b42e,_0x1dc868={'qVYKx':_0x40ae37[_0x3d1696(0x1ef)],'cEDVJ':_0x40ae37[_0x3d1696(0x14b)],'ANfKr':function(_0x3a74a4,_0x2a021a){return _0x40ae37['fMQWo'](_0x3a74a4,_0x2a021a);},'WEYlZ':_0x40ae37[_0x3d1696(0x103)],'dHxoT':_0x40ae37[_0x3d1696(0x184)],'RVBKM':_0x40ae37['SrBvd'],'VREPp':function(_0x4517df,_0x2bd4d6,_0x566d5a,_0xb5f28c,_0x3c2ee4,_0x1a1246){const _0x475e0d=_0x3d1696;return _0x40ae37[_0x475e0d(0x19d)](_0x4517df,_0x2bd4d6,_0x566d5a,_0xb5f28c,_0x3c2ee4,_0x1a1246);},'eOOVR':function(_0x5f529f,_0x502b5c,_0x268a65){const _0x23ffbc=_0x3d1696;return _0x40ae37[_0x23ffbc(0x13c)](_0x5f529f,_0x502b5c,_0x268a65);},'zeTyL':_0x40ae37['cTXuX']};try{if(!_0x567ba6||!_0x567ba6[_0x3d1696(0x1fa)])return;const _0x5d41ec=_0x567ba6[_0x3d1696(0x1fa)]['id']+'_'+_0x24f630,_0x407f02=_0x48b42a[_0x3d1696(0x10a)](_0x5d41ec);if(!_0x407f02)return;const _0x2b2eda=new Date(),_0x234323=_0x40ae37[_0x3d1696(0x1a4)](_0x2b2eda['getTime'](),_0x407f02['startTimestamp']);if(_0x40ae37[_0x3d1696(0x160)](_0x407f02[_0x3d1696(0x149)][_0x3d1696(0x10c)],0x0))_0x407f02[_0x3d1696(0x149)][_0x3d1696(0x150)](_0x4cf214=>{const _0x2bc152=_0x3d1696,_0x5652bd=!!_0x4cf214[_0x2bc152(0x1ab)],_0x5e9759={'finishedAt':_0x2b2eda[_0x2bc152(0x1af)](),'durationMs':_0x234323,'result':_0x5652bd?_0x1dc868[_0x2bc152(0x17a)]:_0x1dc868[_0x2bc152(0x1a2)]};_0x5652bd&&(_0x5e9759['failureReason']=_0x4cf214['err'][_0x2bc152(0x1d0)]||'',_0x5e9759[_0x2bc152(0x13f)]=_0x1dc868[_0x2bc152(0x1e8)](_0x4cf214[_0x2bc152(0x1ab)][_0x2bc152(0x1ec)],_0x1dc868[_0x2bc152(0x11a)])||_0x4cf214[_0x2bc152(0x1ab)]['message']&&_0x4cf214[_0x2bc152(0x1ab)][_0x2bc152(0x1d0)]['includes'](_0x1dc868[_0x2bc152(0x125)])?_0x1dc868[_0x2bc152(0x11a)]:_0x1dc868[_0x2bc152(0x166)],_0x5e9759[_0x2bc152(0x135)]=[{'backtrace':_0x4cf214[_0x2bc152(0x1ab)][_0x2bc152(0x1a0)]?_0x4cf214['err'][_0x2bc152(0x1a0)][_0x2bc152(0x141)]('\x0a'):[_0x4cf214[_0x2bc152(0x1ab)][_0x2bc152(0x1d0)]||''],'expanded':[]}]),_0x1dc868[_0x2bc152(0x159)](emitTest,HookState[_0x2bc152(0x1f1)],_0x4cf214,_0x407f02,_0x28a217,_0x5e9759);});else{const _0x1a4c8e=_0x40ae37[_0x3d1696(0x106)](uuidv4),_0x204afd=_0x407f02[_0x3d1696(0x153)],_0x1b0768=_0x40ae37[_0x3d1696(0x1c5)](_0x204afd,null)&&_0x40ae37['KGlpk'](_0x204afd,0xc8)&&_0x40ae37[_0x3d1696(0x198)](_0x204afd,0x190),_0x5323bd=_0x407f02['itemName']+'\x20(HTTP\x20'+_0x40ae37[_0x3d1696(0x1fc)](_0x204afd,_0x40ae37['EjfYT'])+')',_0x6a6947={'uuid':_0x1a4c8e,'name':_0x5323bd,'identifier':_0x407f02[_0x3d1696(0x1b8)]['concat']([_0x5323bd])['join']('\x20')},_0x78e2b6={'finishedAt':_0x2b2eda[_0x3d1696(0x1af)](),'durationMs':_0x234323,'result':_0x1b0768?_0x40ae37[_0x3d1696(0x14b)]:_0x40ae37[_0x3d1696(0x1ef)]};!_0x1b0768&&(_0x78e2b6[_0x3d1696(0x116)]=_0x40ae37[_0x3d1696(0x1d7)](_0x204afd,null)?_0x3d1696(0x18c)+_0x204afd+_0x3d1696(0x1c2):_0x40ae37[_0x3d1696(0x16d)],_0x78e2b6['failureType']=_0x40ae37[_0x3d1696(0x1b7)],_0x78e2b6['failure']=[{'backtrace':[_0x78e2b6[_0x3d1696(0x116)]],'expanded':[]}]);_0x40ae37['nCUcl'](emitTest,HookState[_0x3d1696(0x1f0)],_0x6a6947,_0x407f02,_0x28a217,{}),_0x407f02[_0x3d1696(0x1b3)]['forEach'](_0x4888b7=>{const _0x3578cf=_0x3d1696;_0x1dc868['eOOVR'](emitLog,_0x1a4c8e,{'kind':_0x1dc868[_0x3578cf(0x1c9)],'message':_0x4888b7[_0x3578cf(0x1d0)],'level':_0x4888b7[_0x3578cf(0x1e3)]});});if(_0x407f02[_0x3d1696(0x1e4)]){_0x40ae37['uGwUe'](emitLog,_0x1a4c8e,{'kind':_0x40ae37[_0x3d1696(0x1a3)],'http_response':_0x407f02[_0x3d1696(0x1e4)]});const _0x171df1=_0x40ae37['LSShr'](_0x40ae37['ghgHE'](_0x40ae37['NsIqu'](_0x40ae37['JjCnw'](_0x40ae37[_0x3d1696(0x1e0)](_0x40ae37['sIwUp'](_0x40ae37[_0x3d1696(0x143)](_0x40ae37[_0x3d1696(0x1e5)](_0x407f02[_0x3d1696(0x1e4)]['method']||_0x40ae37[_0x3d1696(0x15f)],'\x20'),_0x407f02[_0x3d1696(0x1e4)][_0x3d1696(0x19a)]),_0x407f02[_0x3d1696(0x1e4)]['path']),_0x40ae37[_0x3d1696(0x167)]),_0x407f02[_0x3d1696(0x1e4)][_0x3d1696(0x12f)]),'\x20('),_0x407f02[_0x3d1696(0x1e4)][_0x3d1696(0x164)]),_0x40ae37[_0x3d1696(0x193)]);_0x40ae37[_0x3d1696(0x102)](emitLog,_0x1a4c8e,{'kind':_0x40ae37[_0x3d1696(0x1c8)],'message':_0x171df1,'level':_0x40ae37[_0x3d1696(0x1f7)]});}else _0x40ae37['wuzMC'](emitLog,_0x1a4c8e,{'kind':_0x40ae37[_0x3d1696(0x1c8)],'message':_0x40ae37[_0x3d1696(0x165)](_0x40ae37[_0x3d1696(0x175)](_0x40ae37[_0x3d1696(0x14a)],_0x40ae37[_0x3d1696(0x15a)](_0x204afd,_0x40ae37['EjfYT'])),_0x40ae37[_0x3d1696(0x1c0)]),'level':_0x40ae37[_0x3d1696(0x1f7)]});_0x40ae37['awUKN'](emitTest,HookState['POST'],_0x6a6947,_0x407f02,_0x28a217,_0x78e2b6);}_0x48b42a[_0x3d1696(0x126)](_0x5d41ec),_0x567ba6['cursor']&&_0x567ba6['cursor'][_0x3d1696(0x11f)]&&_0x48b42a[_0x3d1696(0x126)](_0x567ba6['cursor'][_0x3d1696(0x11f)]+'_'+_0x24f630);}catch(_0x31a498){_0x40ae37[_0x3d1696(0x131)](debug,_0x3d1696(0x1f5)+_0x31a498);}});}function a46_0x1f0e(){const _0x7b602b=['messages','cwd','argv','err','LogCreated','../../v2/browserstackCLI','wuzMC','toISOString','2904788ctNEtH','lEIFr','1377870OukHjA','bufferedLogs','wMUje','QhyOH','GET','SrBvd','scopes','collectionName','startedAt','aHvty','javascript','newman','[Newman\x20Reporter]\x20emitTest\x20error:\x20','OJCJN','VWynH','ZMthu','\x20—\x20response\x20status\x20in\x20failure\x20range','UPUsw','HTTP\x20Status:\x20','vseUn','failure_backtrace','listen','cTXuX','zeTyL','QuRNG','ygodX','iteration','\x20->\x20','TpHsr','TzIHf','message','assert','DrBtH','ghGDa','yAIbO','xIXFa','AyZbx','yZmMk','99bSmMzK','820356asHjvm','responseTime','Script\x20error\x20(','failed','TtpbY','logs','../../v2/state/hookState','TqTYQ','request','http_response','level','httpLog','hZfku','testFrameworkVersion','error','ANfKr','VFqqB','sxKEZ','heKyl','name','oRNjX','platformIndex','gvQFI','PRE','POST','iOawZ','SytRX','concat','[Newman\x20Reporter]\x20Error\x20in\x20item:\x20','info','Wxmxn','testFrameworkName','JLxfb','item','collectionPath','zqmpe','eidxm','yVpjq','identifier','ghgHE','fwsUH','collection','WARN','61041RzIFFW','get','):\x20','length','Auouw','pending','hostname','JxmJJ','qSCKd','DEBUG','relative','slice','MlkvO','failureReason','MbDYl','TAMHY','code','WEYlZ','beforeItem','TRACE','kVviD','push','ref','TEST_LOG','execution','Exception:\x20','[Newman\x20Reporter]\x20Error\x20in\x20request:\x20','yLYCo','dHxoT','delete','XQcKQ','console','failure_reason_expanded','mejpU','pid','WryIL','unknown','timestamp','status_code','durationMs','EZklr','yDSRN','HsjVp','uploadEventData','failure','run','DoYaq','../../v2/state/testFrameworkState','ZbSkT','winstonLogger','evHLf','uGwUe','assertion','56SPnPuQ','failureType','[Newman\x20Reporter]\x20Error\x20in\x20script:\x20','split','result','JMbNe','vnUyo','isRunning','lKfII','YjAjo','location','assertions','OfjcK','GViil','YNdIp','removeListener','QfEos','WPbAH','forEach','stringify','method','lastResponseCode','[Newman\x20Reporter]\x20Error\x20in\x20assertion:\x20','test_run','awUKN','No\x20HTTP\x20response\x20received','now','VREPp','jmGPP','url','indexOf','collection.json','kind','VYjnc','ZqAyp','SaVyF','uXQeU','http://','duration_ms','aQVtg','RVBKM','iNsjf','testFrameworkState','join','qEuCk','280VZpqRk','response','tyhgi','3358645GEykNU','string','apply','NsIqu','resolve','dAJtC','IfEiF','gwQSD','headers','xqaqK','path','exports','qVYKx','../../v2/grpcClient','beforeIteration','max','trackEvent','AssertionError','IWhMf','867041ftEEAV','yPJzp','finishedAt','DOExq','[Newman\x20Reporter]\x20Could\x20not\x20resolve\x20collection\x20file\x20path,\x20falling\x20back\x20to\x20collection.json','pathname','TEST','arLCg','uuid','set','getInstance','HTTP\x20','dOjrJ','ERROR','toString','chEJt','70650nXdXOR','getTestFramework','KJGml','HTTP','bs:addLog:','test_run_uuid','UUNbS','yuIDq','anbtn','host','[Newman\x20Reporter]\x20Error\x20in\x20bs:addLog\x20handler:\x20','clear','QuXRX','parent','event','stack','search','cEDVJ','entaR','dSKgz','[Newman\x20Reporter]\x20emitLog\x20error:\x20','cursor','FgCtJ'];a46_0x1f0e=function(){return _0x7b602b;};return a46_0x1f0e();}module[a46_0x3bf17f(0x179)]=BrowserStackNewmanReporter;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a47_0x37c4(){const _0x204146=['sTnbi','8929907ThHPIk','eKbFY','reporter','_load','awIRg','exit','assign','NeHNj','message','index.js','wGziI','create','RumKT','8KNMnbm','call','388902AppGPe','LPDBv','2421660BGHXHm','oCONi','WrDRx','rlllR','bootstrap','_resolveFilename','cli','argv','exitCode','length','LDriu','4484350wYAWuJ','NgCZE','pMJZk','[Newman]\x20scriptRunner:\x20no\x20script\x20file\x20provided\x0a','313758cqKVvP','collectionPath','resolve','error','beforeExit','BCuNj','write','rsdEI','collection','join','ydjdu','stderr','OLsSS','../v2/browserstackCLI','613878fpBATi','newman-reporter-browserstack','getInstance','OYiHD','indexOf','run','634096hrnsHb','csMyD'];a47_0x37c4=function(){return _0x204146;};return a47_0x37c4();}function a47_0x266a(_0x39a00b,_0x4b37fe){const _0x37c44b=a47_0x37c4();return a47_0x266a=function(_0x266aa0,_0x3da389){_0x266aa0=_0x266aa0-0x149;let _0x292b13=_0x37c44b[_0x266aa0];return _0x292b13;},a47_0x266a(_0x39a00b,_0x4b37fe);}const a47_0x408321=a47_0x266a;(function(_0x19f12f,_0x3b82df){const _0x5c2b9b=a47_0x266a,_0x298d09=_0x19f12f();while(!![]){try{const _0x4a0939=-parseInt(_0x5c2b9b(0x178))/0x1+parseInt(_0x5c2b9b(0x17e))/0x2+-parseInt(_0x5c2b9b(0x16a))/0x3+parseInt(_0x5c2b9b(0x15b))/0x4+-parseInt(_0x5c2b9b(0x166))/0x5+-parseInt(_0x5c2b9b(0x159))/0x6+-parseInt(_0x5c2b9b(0x14a))/0x7*(-parseInt(_0x5c2b9b(0x157))/0x8);if(_0x4a0939===_0x3b82df)break;else _0x298d09['push'](_0x298d09['shift']());}catch(_0x3ac126){_0x298d09['push'](_0x298d09['shift']());}}}(a47_0x37c4,0x7e77d));const path=require('path'),Module=require('module'),BrowserstackCLI=require(a47_0x408321(0x177)),scriptFile=process[a47_0x408321(0x162)][0x2],maxParallel=parseInt(process['argv'][0x3])||0x0;!scriptFile&&(process[a47_0x408321(0x175)][a47_0x408321(0x170)](a47_0x408321(0x169)),process[a47_0x408321(0x14f)](0x1));const reporterPath=path[a47_0x408321(0x173)](__dirname,'reporter',a47_0x408321(0x153)),originalResolveFilename=Module['_resolveFilename'];Module[a47_0x408321(0x160)]=function(_0x8be427,_0x2a1fe7,_0x4e5abd,_0xd5f29){const _0x67cc07=a47_0x408321,_0x4466e4={};_0x4466e4[_0x67cc07(0x154)]=function(_0x535eed,_0x1eea94){return _0x535eed===_0x1eea94;},_0x4466e4['LDriu']=_0x67cc07(0x179);const _0x4bec23=_0x4466e4;if(_0x4bec23[_0x67cc07(0x154)](_0x8be427,_0x4bec23[_0x67cc07(0x165)]))return reporterPath;return originalResolveFilename[_0x67cc07(0x158)](this,_0x8be427,_0x2a1fe7,_0x4e5abd,_0xd5f29);};let limit;try{const pLimit=require('p-limit'),concurrency=maxParallel&&maxParallel>0x0?maxParallel:Infinity;limit=pLimit(concurrency);}catch(a47_0x1ce11a){limit=function(_0x5aade0){const _0x4ed2f4={'mstFR':function(_0x4d5b80){return _0x4d5b80();}};return _0x4ed2f4['mstFR'](_0x5aade0);};}let wrappedNewman=null,hasFailure=![];const originalLoad=Module[a47_0x408321(0x14d)];Module[a47_0x408321(0x14d)]=function(_0x111096,_0x4f884c,_0x43a306){const _0x199276=a47_0x408321,_0x52ecfa={'LPDBv':function(_0x411927,_0x319cd8){return _0x411927>_0x319cd8;},'EYoRJ':function(_0x410db9,_0x3babbd){return _0x410db9||_0x3babbd;},'BCuNj':function(_0x566854,_0xc3e0a5,_0x571266){return _0x566854(_0xc3e0a5,_0x571266);},'ydjdu':function(_0x506a4b,_0x454a11){return _0x506a4b(_0x454a11);},'OLsSS':_0x199276(0x161),'rsdEI':function(_0x4769cf,_0x376ea7){return _0x4769cf===_0x376ea7;},'oCONi':'browserstack','YYptm':'string','WrDRx':function(_0x2a789f,_0x233ed1){return _0x2a789f!==_0x233ed1;},'eKbFY':'newman'},_0x1dd354=originalLoad[_0x199276(0x158)](this,_0x111096,_0x4f884c,_0x43a306);if(_0x52ecfa[_0x199276(0x15d)](_0x111096,_0x52ecfa[_0x199276(0x14b)]))return _0x1dd354;if(wrappedNewman)return wrappedNewman;const _0xb044e7=_0x1dd354[_0x199276(0x17d)]['bind'](_0x1dd354);return wrappedNewman=Object[_0x199276(0x155)](_0x1dd354),wrappedNewman[_0x199276(0x17d)]=function(_0x54eb6f,_0x1275c6){const _0x3b5cc9=_0x199276,_0x23c9ed={'pMJZk':function(_0x218f58,_0x3e382b){const _0x11ce31=a47_0x266a;return _0x52ecfa[_0x11ce31(0x15a)](_0x218f58,_0x3e382b);},'NgCZE':function(_0x2f7efb,_0x25a2e5){return _0x52ecfa['EYoRJ'](_0x2f7efb,_0x25a2e5);},'csMyD':function(_0x13e315,_0xfc0902,_0x32a1b3){const _0x4301df=a47_0x266a;return _0x52ecfa[_0x4301df(0x16f)](_0x13e315,_0xfc0902,_0x32a1b3);},'QyGlI':function(_0x46c651,_0x4e8b24){const _0x3e055a=a47_0x266a;return _0x52ecfa[_0x3e055a(0x174)](_0x46c651,_0x4e8b24);}};let _0x158cac=_0x54eb6f['reporters']||[_0x52ecfa[_0x3b5cc9(0x176)]];_0x52ecfa[_0x3b5cc9(0x171)](_0x158cac[_0x3b5cc9(0x17c)](_0x52ecfa[_0x3b5cc9(0x15c)]),-0x1)&&(_0x158cac=_0x158cac['concat']([_0x52ecfa[_0x3b5cc9(0x15c)]]));const _0x4e117e=_0x52ecfa[_0x3b5cc9(0x171)](typeof _0x54eb6f[_0x3b5cc9(0x172)],_0x52ecfa['YYptm'])?_0x54eb6f[_0x3b5cc9(0x172)]:undefined,_0x231b0f={};_0x231b0f[_0x3b5cc9(0x16b)]=_0x4e117e;const _0x2649e2=Object['assign']({},_0x54eb6f[_0x3b5cc9(0x14c)],{'browserstack':Object[_0x3b5cc9(0x150)]({},_0x54eb6f[_0x3b5cc9(0x14c)]&&_0x54eb6f[_0x3b5cc9(0x14c)]['browserstack'],_0x231b0f)}),_0x2b88b0={};return _0x2b88b0['reporters']=_0x158cac,_0x2b88b0[_0x3b5cc9(0x14c)]=_0x2649e2,_0x54eb6f=Object[_0x3b5cc9(0x150)]({},_0x54eb6f,_0x2b88b0),_0x52ecfa['ydjdu'](limit,function(){const _0x2fbaec={'awIRg':function(_0x1586c8,_0x108800){const _0x403e90=a47_0x266a;return _0x23c9ed[_0x403e90(0x168)](_0x1586c8,_0x108800);},'RumKT':function(_0x1193bc,_0x3cba45){const _0x163fb6=a47_0x266a;return _0x23c9ed[_0x163fb6(0x167)](_0x1193bc,_0x3cba45);},'rlllR':function(_0x32d2f0,_0x41310c,_0x2ea22a){return _0x23c9ed['csMyD'](_0x32d2f0,_0x41310c,_0x2ea22a);},'HwEzU':function(_0x2f8213,_0x2d5f9e){return _0x23c9ed['QyGlI'](_0x2f8213,_0x2d5f9e);},'sTnbi':function(_0x367b00,_0x47e2f8,_0x306701){const _0x26f8d6=a47_0x266a;return _0x23c9ed[_0x26f8d6(0x17f)](_0x367b00,_0x47e2f8,_0x306701);}};return new Promise(function(_0x27c07e){const _0x58e5bb=a47_0x266a;_0x2fbaec[_0x58e5bb(0x149)](_0xb044e7,_0x54eb6f,function(_0x38c7cc,_0x306c2f){const _0x12fe9d=_0x58e5bb,_0x1de7d3=_0x306c2f&&_0x306c2f[_0x12fe9d(0x17d)]&&(_0x306c2f['run'][_0x12fe9d(0x16d)]||_0x306c2f[_0x12fe9d(0x17d)]['failures']&&_0x2fbaec[_0x12fe9d(0x14e)](_0x306c2f[_0x12fe9d(0x17d)]['failures'][_0x12fe9d(0x164)],0x0));_0x2fbaec[_0x12fe9d(0x156)](_0x1de7d3,_0x38c7cc)&&(hasFailure=!![]),_0x1275c6&&_0x2fbaec[_0x12fe9d(0x15e)](_0x1275c6,_0x38c7cc,_0x306c2f),_0x2fbaec['HwEzU'](_0x27c07e,_0x306c2f);});});});},wrappedNewman;};async function main(){const _0x579be0=a47_0x408321,_0x49512b={'LGBfh':function(_0xa7f592,_0x3cd04c){return _0xa7f592(_0x3cd04c);},'NeHNj':function(_0x1b33d5,_0x22ed7c){return _0x1b33d5+_0x22ed7c;},'lOzhe':'[Newman]\x20scriptRunner:\x20failed\x20to\x20load\x20script:\x20'};try{await BrowserstackCLI[_0x579be0(0x17a)]()[_0x579be0(0x15f)]();}catch(_0x14148d){}try{_0x49512b['LGBfh'](require,path[_0x579be0(0x16c)](scriptFile));}catch(_0x552978){process[_0x579be0(0x175)]['write'](_0x49512b['NeHNj'](_0x49512b[_0x579be0(0x151)](_0x49512b['lOzhe'],_0x552978[_0x579be0(0x152)]||_0x552978),'\x0a')),process[_0x579be0(0x163)]=0x1;}}main(),process['on'](a47_0x408321(0x16e),function(){const _0xd875bf=a47_0x408321;hasFailure&&(process[_0xd875bf(0x163)]=0x1);}),process['on'](a47_0x408321(0x14f),function(){const _0x4bedd9=a47_0x408321,_0x4800db={};_0x4800db[_0x4bedd9(0x17b)]=function(_0x922e3c,_0x529d2d){return _0x922e3c===_0x529d2d;};const _0x3c152a=_0x4800db;hasFailure&&_0x3c152a[_0x4bedd9(0x17b)](process[_0x4bedd9(0x163)],0x0)&&(process[_0x4bedd9(0x163)]=0x1);});
2
+ 'use strict';const a47_0x539ff6=a47_0x5cfc;(function(_0x5f3b3d,_0x4c817c){const _0x20de80=a47_0x5cfc,_0x366f27=_0x5f3b3d();while(!![]){try{const _0x5f3785=parseInt(_0x20de80(0x1cb))/0x1+parseInt(_0x20de80(0x1ad))/0x2+-parseInt(_0x20de80(0x1cc))/0x3+-parseInt(_0x20de80(0x1db))/0x4+parseInt(_0x20de80(0x1c3))/0x5*(-parseInt(_0x20de80(0x1de))/0x6)+parseInt(_0x20de80(0x1bb))/0x7*(-parseInt(_0x20de80(0x1c4))/0x8)+-parseInt(_0x20de80(0x1d4))/0x9*(-parseInt(_0x20de80(0x1c1))/0xa);if(_0x5f3785===_0x4c817c)break;else _0x366f27['push'](_0x366f27['shift']());}catch(_0x5e2602){_0x366f27['push'](_0x366f27['shift']());}}}(a47_0x1c0e,0xa702f));const path=require(a47_0x539ff6(0x1d7)),Module=require(a47_0x539ff6(0x1bd)),BrowserstackCLI=require(a47_0x539ff6(0x1e5)),scriptFile=process[a47_0x539ff6(0x1c5)][0x2],maxParallel=parseInt(process[a47_0x539ff6(0x1c5)][0x3])||0x0;!scriptFile&&(process[a47_0x539ff6(0x1e0)]['write'](a47_0x539ff6(0x1e4)),process[a47_0x539ff6(0x1d3)](0x1));const reporterPath=path['join'](__dirname,a47_0x539ff6(0x1e6),a47_0x539ff6(0x1b1)),originalResolveFilename=Module['_resolveFilename'];Module[a47_0x539ff6(0x1b5)]=function(_0x2ea6c5,_0x5a99ce,_0x2dde82,_0x490cd6){const _0x4f3c5f=a47_0x539ff6,_0x87cfe6={};_0x87cfe6[_0x4f3c5f(0x1dc)]=function(_0x3b3a1e,_0x4f28d5){return _0x3b3a1e===_0x4f28d5;},_0x87cfe6['IeUPK']=_0x4f3c5f(0x1d8);const _0x3052fb=_0x87cfe6;if(_0x3052fb['dWoYe'](_0x2ea6c5,_0x3052fb[_0x4f3c5f(0x1c2)]))return reporterPath;return originalResolveFilename[_0x4f3c5f(0x1e2)](this,_0x2ea6c5,_0x5a99ce,_0x2dde82,_0x490cd6);};let limit;try{const pLimit=require(a47_0x539ff6(0x1ce)),concurrency=maxParallel&&maxParallel>0x0?maxParallel:Infinity;limit=pLimit(concurrency);}catch(a47_0x46c433){limit=function(_0x4f878a){const _0x173e65={'vZYqD':function(_0x301114){return _0x301114();}};return _0x173e65['vZYqD'](_0x4f878a);};}let wrappedNewman=null,hasFailure=![];const originalLoad=Module[a47_0x539ff6(0x1e7)];function a47_0x5cfc(_0x44eadb,_0x5c5d6e){const _0x1c0ea4=a47_0x1c0e();return a47_0x5cfc=function(_0x5cfcac,_0x4a7b73){_0x5cfcac=_0x5cfcac-0x1aa;let _0x530886=_0x1c0ea4[_0x5cfcac];return _0x530886;},a47_0x5cfc(_0x44eadb,_0x5c5d6e);}Module[a47_0x539ff6(0x1e7)]=function(_0xa7ea99,_0x46d48e,_0x4beff0){const _0x1bd786=a47_0x539ff6,_0x495e76={'pYpEx':function(_0x14f3c1,_0x51ff0f){return _0x14f3c1>_0x51ff0f;},'IzWVb':function(_0xd75c03,_0x2c2fe9){return _0xd75c03||_0x2c2fe9;},'QvPgf':function(_0x5a41e1,_0x16ccdc,_0x483471){return _0x5a41e1(_0x16ccdc,_0x483471);},'oIcPE':function(_0xdf0fee,_0x36823e){return _0xdf0fee(_0x36823e);},'RnLmi':function(_0x509518,_0x42ca51,_0x207074){return _0x509518(_0x42ca51,_0x207074);},'RBGbU':_0x1bd786(0x1c8),'depZn':function(_0x1c7ded,_0x122cab){return _0x1c7ded===_0x122cab;},'qUzhi':_0x1bd786(0x1dd),'lGFmP':_0x1bd786(0x1c0),'rKplL':function(_0x13343e,_0x5bbbee){return _0x13343e(_0x5bbbee);},'jdSvu':function(_0x8d1362,_0x3c24b8){return _0x8d1362!==_0x3c24b8;},'uaMZg':_0x1bd786(0x1ea)},_0x56e326=originalLoad[_0x1bd786(0x1e2)](this,_0xa7ea99,_0x46d48e,_0x4beff0);if(_0x495e76[_0x1bd786(0x1df)](_0xa7ea99,_0x495e76[_0x1bd786(0x1da)]))return _0x56e326;if(wrappedNewman)return wrappedNewman;const _0xcb4776=_0x56e326['run'][_0x1bd786(0x1bc)](_0x56e326);return wrappedNewman=Object[_0x1bd786(0x1b9)](_0x56e326),wrappedNewman[_0x1bd786(0x1b6)]=function(_0x406ebf,_0x5508da){const _0x3b3c5e=_0x1bd786;let _0x405d00=_0x406ebf[_0x3b3c5e(0x1ae)]||[_0x495e76[_0x3b3c5e(0x1d5)]];_0x495e76[_0x3b3c5e(0x1b3)](_0x405d00[_0x3b3c5e(0x1b7)](_0x495e76[_0x3b3c5e(0x1af)]),-0x1)&&(_0x405d00=_0x405d00[_0x3b3c5e(0x1be)]([_0x495e76['qUzhi']]));const _0x1a560a=_0x495e76[_0x3b3c5e(0x1b3)](typeof _0x406ebf['collection'],_0x495e76[_0x3b3c5e(0x1d9)])?_0x406ebf[_0x3b3c5e(0x1ca)]:undefined,_0x3ec365={};_0x3ec365[_0x3b3c5e(0x1aa)]=_0x1a560a;const _0x2d428c=Object[_0x3b3c5e(0x1cf)]({},_0x406ebf[_0x3b3c5e(0x1e6)],{'browserstack':Object[_0x3b3c5e(0x1cf)]({},_0x406ebf[_0x3b3c5e(0x1e6)]&&_0x406ebf['reporter']['browserstack'],_0x3ec365)}),_0x976194={};return _0x976194[_0x3b3c5e(0x1ae)]=_0x405d00,_0x976194[_0x3b3c5e(0x1e6)]=_0x2d428c,_0x406ebf=Object['assign']({},_0x406ebf,_0x976194),_0x495e76[_0x3b3c5e(0x1b8)](limit,function(){const _0x320683={'zNnvK':function(_0x42a41d,_0x13db0b){return _0x495e76['pYpEx'](_0x42a41d,_0x13db0b);},'Xgstm':function(_0x50adfe,_0x81598f){return _0x495e76['IzWVb'](_0x50adfe,_0x81598f);},'bbMXw':function(_0x453a18,_0x354a68,_0x37ad43){const _0x4fb68c=a47_0x5cfc;return _0x495e76[_0x4fb68c(0x1d2)](_0x453a18,_0x354a68,_0x37ad43);},'VocBt':function(_0x4e63d1,_0x4de8e6){return _0x495e76['oIcPE'](_0x4e63d1,_0x4de8e6);},'vHATj':function(_0x3031e0,_0x55fd84,_0x27854f){return _0x495e76['RnLmi'](_0x3031e0,_0x55fd84,_0x27854f);}};return new Promise(function(_0x54239a){const _0x1b4e9b=a47_0x5cfc,_0x55c40f={'xMeuz':function(_0x1e52d1,_0x2aec91){return _0x320683['zNnvK'](_0x1e52d1,_0x2aec91);},'LbvcM':function(_0x41073a,_0x5732f4){const _0x5a5fbe=a47_0x5cfc;return _0x320683[_0x5a5fbe(0x1b4)](_0x41073a,_0x5732f4);},'EMKrO':function(_0x2eb95b,_0x52f732,_0x951136){return _0x320683['bbMXw'](_0x2eb95b,_0x52f732,_0x951136);},'huFPo':function(_0x4ac7ce,_0x3dc5aa){const _0x54604b=a47_0x5cfc;return _0x320683[_0x54604b(0x1bf)](_0x4ac7ce,_0x3dc5aa);}};_0x320683[_0x1b4e9b(0x1d1)](_0xcb4776,_0x406ebf,function(_0x9ec4b6,_0x568118){const _0x4c0f79=_0x1b4e9b,_0x28e738=_0x568118&&_0x568118[_0x4c0f79(0x1b6)]&&(_0x568118[_0x4c0f79(0x1b6)]['error']||_0x568118[_0x4c0f79(0x1b6)][_0x4c0f79(0x1e1)]&&_0x55c40f[_0x4c0f79(0x1cd)](_0x568118[_0x4c0f79(0x1b6)]['failures']['length'],0x0));_0x55c40f[_0x4c0f79(0x1ab)](_0x28e738,_0x9ec4b6)&&(hasFailure=!![]),_0x5508da&&_0x55c40f[_0x4c0f79(0x1e8)](_0x5508da,_0x9ec4b6,_0x568118),_0x55c40f[_0x4c0f79(0x1c7)](_0x54239a,_0x568118);});});});},wrappedNewman;};async function main(){const _0x457bdf=a47_0x539ff6,_0x3b5eee={'zWrQf':function(_0x15543b,_0x16bd26){return _0x15543b(_0x16bd26);},'VnZUp':function(_0x50f4dc,_0x577673){return _0x50f4dc+_0x577673;},'etQvP':function(_0x487046,_0x46b503){return _0x487046+_0x46b503;},'rhSQi':'[Newman]\x20scriptRunner:\x20failed\x20to\x20load\x20script:\x20'};try{await BrowserstackCLI['getInstance']()[_0x457bdf(0x1c9)]();}catch(_0xae28c3){}try{_0x3b5eee[_0x457bdf(0x1e9)](require,path['resolve'](scriptFile));}catch(_0x54be35){process['stderr'][_0x457bdf(0x1b0)](_0x3b5eee[_0x457bdf(0x1d6)](_0x3b5eee[_0x457bdf(0x1ba)](_0x3b5eee[_0x457bdf(0x1c6)],_0x54be35[_0x457bdf(0x1ac)]||_0x54be35),'\x0a')),process['exitCode']=0x1;}}function a47_0x1c0e(){const _0x5616da=['IeUPK','305XFkkMO','1616fLVRQv','argv','rhSQi','huFPo','cli','bootstrap','collection','1043849njpJpA','367986miLKbv','xMeuz','p-limit','assign','beforeExit','vHATj','QvPgf','exit','8182449jMiQfn','RBGbU','VnZUp','path','newman-reporter-browserstack','lGFmP','uaMZg','4996664IOmLhP','dWoYe','browserstack','20472jomnYG','jdSvu','stderr','failures','call','WaxXr','[Newman]\x20scriptRunner:\x20no\x20script\x20file\x20provided\x0a','../v2/browserstackCLI','reporter','_load','EMKrO','zWrQf','newman','collectionPath','LbvcM','message','1705990oAVgkQ','reporters','qUzhi','write','index.js','exitCode','depZn','Xgstm','_resolveFilename','run','indexOf','rKplL','create','etQvP','18781rfhobc','bind','module','concat','VocBt','string','10NdIwYF'];a47_0x1c0e=function(){return _0x5616da;};return a47_0x1c0e();}main(),process['on'](a47_0x539ff6(0x1d0),function(){const _0x355b74=a47_0x539ff6;hasFailure&&(process[_0x355b74(0x1b2)]=0x1);}),process['on']('exit',function(){const _0x3dad43=a47_0x539ff6,_0x3de1aa={};_0x3de1aa['WaxXr']=function(_0x506cac,_0x52d644){return _0x506cac===_0x52d644;};const _0x441f9e=_0x3de1aa;hasFailure&&_0x441f9e[_0x3dad43(0x1e3)](process[_0x3dad43(0x1b2)],0x0)&&(process[_0x3dad43(0x1b2)]=0x1);});
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a48_0x394e29=a48_0x4485;(function(_0x2ffc76,_0x1f822b){const _0x49f725=a48_0x4485,_0x1cc4d0=_0x2ffc76();while(!![]){try{const _0x34a29c=parseInt(_0x49f725(0xa5))/0x1+parseInt(_0x49f725(0xcb))/0x2*(parseInt(_0x49f725(0xdc))/0x3)+parseInt(_0x49f725(0xcd))/0x4+-parseInt(_0x49f725(0xa0))/0x5*(-parseInt(_0x49f725(0xa7))/0x6)+-parseInt(_0x49f725(0xeb))/0x7*(-parseInt(_0x49f725(0xc1))/0x8)+-parseInt(_0x49f725(0x9a))/0x9*(parseInt(_0x49f725(0xbe))/0xa)+-parseInt(_0x49f725(0xb2))/0xb*(parseInt(_0x49f725(0xce))/0xc);if(_0x34a29c===_0x1f822b)break;else _0x1cc4d0['push'](_0x1cc4d0['shift']());}catch(_0xa7b13a){_0x1cc4d0['push'](_0x1cc4d0['shift']());}}}(a48_0x2939,0x59da1));const fs=require('fs'),path=require('path'),{spawn}=require('child_process'),logger=require(a48_0x394e29(0xb7))[a48_0x394e29(0xc3)],{default:BrowserStackSetup}=require(a48_0x394e29(0xd3)),helper=require(a48_0x394e29(0xb3)),constants=require('../utils/constants'),getUserNightwatchConfigs=(_0x52eeb5,_0x4358cb)=>{const _0x229166=a48_0x394e29,_0x1ebfa8={'oMpwy':'nightwatch.conf.js','zRDLn':_0x229166(0xda),'tyEVx':function(_0x5c736b,_0x550414){return _0x5c736b(_0x550414);},'vbjhH':_0x229166(0xb5)};let _0x534532=null,_0x2798e8={};const _0x403b18=_0x4358cb[_0x229166(0x98)](_0x386de=>_0x386de===_0x229166(0xd1)),_0x2029ab=!helper[_0x229166(0xaf)](_0x52eeb5[_0x229166(0x9b)])?helper['resolveWithinCwd'](_0x52eeb5[_0x229166(0x9b)]):null;!helper[_0x229166(0xaf)](_0x52eeb5[_0x229166(0x9b)])&&!_0x2029ab&&logger['warn'](_0x229166(0xc8)+_0x52eeb5[_0x229166(0x9b)]+_0x229166(0xdf));if(_0x2029ab&&fs['existsSync'](_0x2029ab))_0x534532=_0x2029ab,_0x4358cb[_0x229166(0xca)](_0x403b18,0x2);else{if(fs[_0x229166(0xd4)](path[_0x229166(0xd6)](process[_0x229166(0xc0)](),_0x1ebfa8[_0x229166(0x9f)])))_0x534532=path[_0x229166(0xd6)](process[_0x229166(0xc0)](),_0x1ebfa8[_0x229166(0x9f)]);else fs['existsSync'](path[_0x229166(0xd6)](process['cwd'](),_0x1ebfa8[_0x229166(0xc9)]))&&(_0x534532=path['join'](process[_0x229166(0xc0)](),_0x1ebfa8['zRDLn']));}return _0x534532?(logger[_0x229166(0xbc)](_0x229166(0xad)+_0x534532),_0x2798e8=_0x1ebfa8['tyEVx'](require,_0x534532)):logger[_0x229166(0xbc)](_0x1ebfa8[_0x229166(0xa3)]),_0x2798e8;},removeExistingEnvs=_0x1cba56=>{const _0x5c12c4=a48_0x394e29,_0x5d7472={};_0x5d7472[_0x5c12c4(0xc6)]=function(_0x389489,_0x5f1f79){return _0x389489>_0x5f1f79;};const _0x5384c6=_0x5d7472;let _0x3ce7f8=_0x1cba56['findIndex'](_0x1dc4b0=>_0x1dc4b0==='--env');_0x5384c6[_0x5c12c4(0xc6)](_0x3ce7f8,-0x1)&&_0x1cba56[_0x5c12c4(0xca)](_0x3ce7f8,0x2),_0x3ce7f8=_0x1cba56['findIndex'](_0x6dfc9f=>_0x6dfc9f==='-e'),_0x5384c6[_0x5c12c4(0xc6)](_0x3ce7f8,-0x1)&&_0x1cba56[_0x5c12c4(0xca)](_0x3ce7f8,0x2);};function run(_0x216463,_0x5d23ae,_0x25d72f){const _0xab5ece=a48_0x394e29,_0x391bfe={'oPUfk':_0xab5ece(0xd2),'OTeod':function(_0x3f5835,_0x3a1ecd){return _0x3f5835+_0x3a1ecd;},'wOgZh':'test_settings','foLnV':function(_0x8a51bf,_0x1bd7db,_0x10cd81){return _0x8a51bf(_0x1bd7db,_0x10cd81);},'axsPg':'hub.browserstack.com','KgRqz':'Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','SRApW':function(_0x4a760d,_0x1a6ab6){return _0x4a760d===_0x1a6ab6;},'tjWDS':_0xab5ece(0xa2),'kyqzq':function(_0x5a9f6f,_0xc828dd){return _0x5a9f6f(_0xc828dd);},'NDkYW':'../../index','zRLnU':function(_0xc16a39,_0x39a918,_0x239235,_0x3d825f){return _0xc16a39(_0x39a918,_0x239235,_0x3d825f);},'SdDQE':_0xab5ece(0xcc),'aimZP':_0xab5ece(0xd1),'tzwfG':_0xab5ece(0xe0),'iNYYm':_0xab5ece(0x9c),'rDsnC':_0xab5ece(0xea)};if(!_0x25d72f[_0xab5ece(0x9b)])return;const _0x5dcdc4=_0x391bfe[_0xab5ece(0xa6)](getUserNightwatchConfigs,_0x216463,_0x5d23ae),_0x32ac77={};_0x32ac77['start_process']=![];const _0x4ca1a1={};_0x4ca1a1[_0xab5ece(0x9d)]=_0x391bfe['axsPg'],_0x4ca1a1[_0xab5ece(0x9e)]=0x1bb;const _0x43f8ee={};_0x43f8ee[_0xab5ece(0xae)]=_0x32ac77,_0x43f8ee[_0xab5ece(0xaa)]=_0x4ca1a1;const _0x4f99cd=_0x43f8ee;logger['info'](_0x391bfe[_0xab5ece(0xe5)]);const _0x1b7cb0={..._0x5dcdc4},_0x28fc12=_0x1b7cb0,_0x4c918f=helper[_0xab5ece(0xd5)](_0x25d72f[_0xab5ece(0x9b)]),_0x5b71e1=[];_0x25d72f['config'][_0xab5ece(0xd7)][_0xab5ece(0xc4)]((_0x4cb000,_0x26cb5e)=>{const _0x25979a=_0xab5ece;_0x4c918f?_0x5b71e1['push'](helper['modifyBrowserStackW3CCaps'](_0x25d72f[_0x25979a(0x9b)],_0x391bfe[_0x25979a(0xd8)],_0x26cb5e)):_0x5b71e1[_0x25979a(0xdd)](helper[_0x25979a(0xe4)](_0x25d72f[_0x25979a(0x9b)],_0x391bfe[_0x25979a(0xd8)],_0x26cb5e));});const _0x5ea074={},_0xa69ede=[];_0x216463[_0xab5ece(0xb0)]=_0x216463[_0xab5ece(0xb0)]||_0x216463['e'];const _0x29a5be=_0x216463[_0xab5ece(0xb0)]?_0x216463['env'][_0xab5ece(0xb9)]()[_0xab5ece(0xa4)](',')[_0xab5ece(0xab)](_0x21c259=>_0x21c259[_0xab5ece(0xb9)]())[_0xab5ece(0xcf)](_0x2428f3=>_0x2428f3!==''):[''];_0x391bfe[_0xab5ece(0xe6)](_0x29a5be[_0xab5ece(0xb4)],0x0)&&_0x29a5be[_0xab5ece(0xdd)]('');_0x29a5be[_0xab5ece(0xc4)](_0x8590e=>{const _0x9a40d=_0xab5ece,_0x5a8608={'uetWL':function(_0x8f92a5,_0x113bc4){const _0x46c81a=a48_0x4485;return _0x391bfe[_0x46c81a(0x99)](_0x8f92a5,_0x113bc4);},'IwJsF':_0x391bfe['wOgZh']};_0x5b71e1[_0x9a40d(0xc4)](_0x333569=>{const _0x397df8=_0x9a40d;let _0x5665ef=_0x5a8608[_0x397df8(0xa1)](helper[_0x397df8(0xd9)](_0x333569,'_'),'_'+Date[_0x397df8(0xde)]());_0x8590e&&(_0x5665ef+='_'+_0x8590e);if(_0x8590e&&(!_0x5dcdc4[_0x5a8608[_0x397df8(0xe2)]]||!_0x5dcdc4[_0x5a8608[_0x397df8(0xe2)]][_0x8590e]))return;const _0x1d6036={..._0x4f99cd};_0x1d6036[_0x397df8(0xe3)]=_0x333569;const _0x442bd2=_0x1d6036;_0x5ea074[_0x5665ef]=_0x8590e?helper['mergeDeep'](_0x5dcdc4[_0x5a8608[_0x397df8(0xe2)]][_0x8590e],_0x442bd2):_0x442bd2,_0xa69ede[_0x397df8(0xdd)](_0x5665ef);});});!_0x28fc12[_0xab5ece(0xc5)]&&(_0x28fc12[_0xab5ece(0xc5)]={});_0x28fc12[_0xab5ece(0xc5)]={..._0x28fc12[_0xab5ece(0xc5)],..._0x5ea074};const _0x5e32b3=path[_0xab5ece(0xd6)](__dirname,_0x391bfe['tjWDS']);fs[_0xab5ece(0xe8)](_0x5e32b3,JSON[_0xab5ece(0xe9)](_0x28fc12)),_0x391bfe[_0xab5ece(0xbb)](removeExistingEnvs,_0x5d23ae);const _0x64cf38=require[_0xab5ece(0xc7)](_0x391bfe[_0xab5ece(0xe7)]),_0x34623b=process[_0xab5ece(0xb0)][_0xab5ece(0xa9)]||'',_0x2b0e10=_0xab5ece(0xb6)+JSON[_0xab5ece(0xe9)](_0x64cf38),_0x2345d2=_0x34623b?_0x34623b+'\x20'+_0x2b0e10:_0x2b0e10,_0x3f094e=Object['assign']({},process['env'],{'NODE_OPTIONS':_0x2345d2,'BROWSERSTACK_FRAMEWORK':process[_0xab5ece(0xb0)]['BROWSERSTACK_FRAMEWORK']||_0x391bfe['oPUfk']}),_0x47ced8=_0x391bfe[_0xab5ece(0xb8)](spawn,/^win/['test'](process[_0xab5ece(0xb1)])?_0x391bfe[_0xab5ece(0xbd)]:_0x391bfe[_0xab5ece(0xd8)],[_0x391bfe[_0xab5ece(0xbf)],_0x5e32b3,..._0x5d23ae[_0xab5ece(0xba)](0x1),_0x391bfe[_0xab5ece(0xac)],_0xa69ede[_0xab5ece(0xd6)](',')],{'stdio':_0x391bfe[_0xab5ece(0xa8)],'env':_0x3f094e});_0x47ced8['on'](_0x391bfe['rDsnC'],async _0x35f032=>{const _0x4101d8=_0xab5ece;logger[_0x4101d8(0xdb)](_0x4101d8(0xc2)+_0x35f032),logger[_0x4101d8(0xbc)](_0x4101d8(0xe1)+_0x5e32b3),fs[_0x4101d8(0xd0)](_0x5e32b3);});}function a48_0x4485(_0x905f1b,_0x2d73ca){const _0x293900=a48_0x2939();return a48_0x4485=function(_0x448517,_0x26ebf1){_0x448517=_0x448517-0x98;let _0x2a57a5=_0x293900[_0x448517];return _0x2a57a5;},a48_0x4485(_0x905f1b,_0x2d73ca);}module['exports']=run;function a48_0x2939(){const _0x48ce7e=['5763256ltcXgw','child\x20process\x20exited\x20with\x20code\x20','winstonLogger','forEach','test_settings','ukxpX','resolve','Ignoring\x20--config\x20path\x20\x22','zRDLn','splice','940yBOVUO','nightwatch.cmd','1517124XfPwzC','24QyEBZv','filter','unlinkSync','--config','nightwatch','../../helpers/BrowserStackSetup','existsSync','useW3C','join','platforms','oPUfk','getPlatformName','nightwatch.json','debug','1299yDzYSG','push','now','\x22:\x20it\x20resolves\x20outside\x20the\x20project\x20directory.','--env','Deleting\x20','IwJsF','desiredCapabilities','modifyBrowserStackCaps','KgRqz','SRApW','NDkYW','writeFileSync','stringify','close','7gGCoVU','findIndex','OTeod','97371TIkhwP','config','inherit','host','port','oMpwy','10400WawUNO','uetWL','nightwatch-browserstack.json','vbjhH','split','79172BKFERp','foLnV','1302YhmXWo','iNYYm','NODE_OPTIONS','selenium','map','tzwfG','Getting\x20your\x20nightwatch\x20configs\x20from\x20','webdriver','isUndefined','env','platform','7882820kQerJr','../../helpers/helper','length','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','--require\x20','../../helpers/logger','zRLnU','trim','slice','kyqzq','info','SdDQE','30eBbgcC','aimZP','cwd'];a48_0x2939=function(){return _0x48ce7e;};return a48_0x2939();}
2
+ 'use strict';const a48_0x6ca889=a48_0x2190;(function(_0x516d80,_0xd4cb1){const _0x5a3651=a48_0x2190,_0x30b89c=_0x516d80();while(!![]){try{const _0x1fe36a=parseInt(_0x5a3651(0x189))/0x1+-parseInt(_0x5a3651(0x1c6))/0x2+-parseInt(_0x5a3651(0x1d4))/0x3+-parseInt(_0x5a3651(0x1ac))/0x4*(-parseInt(_0x5a3651(0x1a3))/0x5)+-parseInt(_0x5a3651(0x1d0))/0x6+-parseInt(_0x5a3651(0x1d5))/0x7+parseInt(_0x5a3651(0x19b))/0x8;if(_0x1fe36a===_0xd4cb1)break;else _0x30b89c['push'](_0x30b89c['shift']());}catch(_0x5337bf){_0x30b89c['push'](_0x30b89c['shift']());}}}(a48_0x1e95,0x53187));function a48_0x2190(_0x51bb30,_0x2c0461){const _0x1e95f4=a48_0x1e95();return a48_0x2190=function(_0x2190c1,_0x57cbd8){_0x2190c1=_0x2190c1-0x186;let _0x23e429=_0x1e95f4[_0x2190c1];return _0x23e429;},a48_0x2190(_0x51bb30,_0x2c0461);}const fs=require('fs'),path=require(a48_0x6ca889(0x191)),{spawn}=require(a48_0x6ca889(0x1ab)),logger=require('../../helpers/logger')[a48_0x6ca889(0x1ae)],{default:BrowserStackSetup}=require(a48_0x6ca889(0x18d)),helper=require('../../helpers/helper'),constants=require(a48_0x6ca889(0x1a4)),getUserNightwatchConfigs=(_0x70ef28,_0x5dfa28)=>{const _0x43b9fb=a48_0x6ca889,_0xf8bfa7={'PnhOr':'nightwatch.conf.js','veedB':_0x43b9fb(0x19c),'iyfYI':function(_0x5da74e,_0x192a5){return _0x5da74e(_0x192a5);},'nUDBv':_0x43b9fb(0x1d7)};let _0x1f63b0=null,_0x3e4cf7={};const _0x1bbd75=_0x5dfa28[_0x43b9fb(0x1bc)](_0x53ca4b=>_0x53ca4b==='--config'),_0x3d274f=!helper[_0x43b9fb(0x19f)](_0x70ef28['config'])?helper[_0x43b9fb(0x1cc)](_0x70ef28['config']):null;!helper[_0x43b9fb(0x19f)](_0x70ef28[_0x43b9fb(0x1d3)])&&!_0x3d274f&&logger['warn'](_0x43b9fb(0x18f)+_0x70ef28['config']+_0x43b9fb(0x196));if(_0x3d274f&&fs[_0x43b9fb(0x1a0)](_0x3d274f))_0x1f63b0=_0x3d274f,_0x5dfa28['splice'](_0x1bbd75,0x2);else{if(fs[_0x43b9fb(0x1a0)](path[_0x43b9fb(0x1ba)](process[_0x43b9fb(0x1ce)](),_0xf8bfa7[_0x43b9fb(0x1d8)])))_0x1f63b0=path['join'](process[_0x43b9fb(0x1ce)](),_0xf8bfa7[_0x43b9fb(0x1d8)]);else fs['existsSync'](path[_0x43b9fb(0x1ba)](process[_0x43b9fb(0x1ce)](),_0xf8bfa7[_0x43b9fb(0x1a2)]))&&(_0x1f63b0=path[_0x43b9fb(0x1ba)](process['cwd'](),_0xf8bfa7['veedB']));}return _0x1f63b0?(logger[_0x43b9fb(0x187)](_0x43b9fb(0x1b8)+_0x1f63b0),_0x3e4cf7=_0xf8bfa7[_0x43b9fb(0x195)](require,_0x1f63b0)):logger[_0x43b9fb(0x187)](_0xf8bfa7[_0x43b9fb(0x192)]),_0x3e4cf7;},removeExistingEnvs=_0x361d92=>{const _0x59020b=a48_0x6ca889,_0x2f57e0={};_0x2f57e0['XMqzM']=function(_0x29e5ba,_0x3aa9d7){return _0x29e5ba>_0x3aa9d7;},_0x2f57e0[_0x59020b(0x18c)]=function(_0x4feff9,_0x1fb80d){return _0x4feff9>_0x1fb80d;};const _0x4feaa7=_0x2f57e0;let _0x468869=_0x361d92['findIndex'](_0x12e5fe=>_0x12e5fe==='--env');_0x4feaa7[_0x59020b(0x1cf)](_0x468869,-0x1)&&_0x361d92[_0x59020b(0x1b9)](_0x468869,0x2),_0x468869=_0x361d92['findIndex'](_0x48171d=>_0x48171d==='-e'),_0x4feaa7[_0x59020b(0x18c)](_0x468869,-0x1)&&_0x361d92[_0x59020b(0x1b9)](_0x468869,0x2);};function run(_0x167fad,_0x368cc4,_0x91dc4b){const _0x210103=a48_0x6ca889,_0x24fe13={'VaCHc':'nightwatch','lRBrZ':function(_0x566947,_0x4856af){return _0x566947+_0x4856af;},'YqrTq':'test_settings','BDKHW':function(_0x59ee21,_0x38a5de,_0x49bf22){return _0x59ee21(_0x38a5de,_0x49bf22);},'rErSM':_0x210103(0x19d),'PgeXO':_0x210103(0x1cd),'qoWNq':function(_0x17a9f8,_0x3ef808){return _0x17a9f8===_0x3ef808;},'yccvX':_0x210103(0x194),'KuonI':function(_0x37d3a4,_0x37570f){return _0x37d3a4(_0x37570f);},'gQNjI':_0x210103(0x1d2),'TVvfE':function(_0x3cbf1b,_0x59126f,_0xf9718f,_0x5dea73){return _0x3cbf1b(_0x59126f,_0xf9718f,_0x5dea73);},'TUkKf':_0x210103(0x1d6),'ORMJz':_0x210103(0x1a9),'tRPam':'--env','tHfky':_0x210103(0x1b5),'kznGX':_0x210103(0x1c4)};if(!_0x91dc4b[_0x210103(0x1d3)])return;const _0x5078ab=_0x24fe13[_0x210103(0x1d1)](getUserNightwatchConfigs,_0x167fad,_0x368cc4),_0x436505={};_0x436505['start_process']=![];const _0x9f7def={};_0x9f7def[_0x210103(0x1b7)]=_0x24fe13[_0x210103(0x186)],_0x9f7def[_0x210103(0x1b3)]=0x1bb;const _0x532a30={};_0x532a30[_0x210103(0x1a6)]=_0x436505,_0x532a30[_0x210103(0x18e)]=_0x9f7def;const _0x3d73e1=_0x532a30;logger[_0x210103(0x187)](_0x24fe13[_0x210103(0x19e)]);const _0x1cf1dc={..._0x5078ab},_0x3a23ad=_0x1cf1dc,_0x293dbb=helper['useW3C'](_0x91dc4b[_0x210103(0x1d3)]),_0x5c9931=[];_0x91dc4b['config'][_0x210103(0x198)][_0x210103(0x1be)]((_0x3d077c,_0x39e299)=>{const _0x23a66e=_0x210103;_0x293dbb?_0x5c9931[_0x23a66e(0x1af)](helper[_0x23a66e(0x18a)](_0x91dc4b['config'],_0x24fe13[_0x23a66e(0x1cb)],_0x39e299)):_0x5c9931['push'](helper[_0x23a66e(0x1b4)](_0x91dc4b[_0x23a66e(0x1d3)],_0x24fe13[_0x23a66e(0x1cb)],_0x39e299));});const _0x45bd6d={},_0x47868d=[];_0x167fad[_0x210103(0x1a7)]=_0x167fad['env']||_0x167fad['e'];const _0xde054f=_0x167fad[_0x210103(0x1a7)]?_0x167fad[_0x210103(0x1a7)][_0x210103(0x1c8)]()[_0x210103(0x1ca)](',')['map'](_0x45cfac=>_0x45cfac[_0x210103(0x1c8)]())['filter'](_0x1aeb92=>_0x1aeb92!==''):[''];_0x24fe13[_0x210103(0x197)](_0xde054f[_0x210103(0x1c7)],0x0)&&_0xde054f[_0x210103(0x1af)]('');_0xde054f[_0x210103(0x1be)](_0x1f8797=>{const _0xb91c1a=_0x210103,_0x254d5c={'MoUnb':function(_0x10818d,_0x43ca22){const _0x2ac8f6=a48_0x2190;return _0x24fe13[_0x2ac8f6(0x1bf)](_0x10818d,_0x43ca22);},'rfmKV':_0x24fe13[_0xb91c1a(0x1c3)]};_0x5c9931[_0xb91c1a(0x1be)](_0x135c1f=>{const _0x2b9662=_0xb91c1a;let _0x79db36=_0x254d5c[_0x2b9662(0x193)](helper['getPlatformName'](_0x135c1f,'_'),'_'+Date[_0x2b9662(0x19a)]());_0x1f8797&&(_0x79db36+='_'+_0x1f8797);if(_0x1f8797&&(!_0x5078ab[_0x254d5c['rfmKV']]||!_0x5078ab[_0x254d5c['rfmKV']][_0x1f8797]))return;const _0x4f47b7={..._0x3d73e1};_0x4f47b7['desiredCapabilities']=_0x135c1f;const _0x336d4d=_0x4f47b7;_0x45bd6d[_0x79db36]=_0x1f8797?helper[_0x2b9662(0x1c2)](_0x5078ab[_0x254d5c[_0x2b9662(0x1d9)]][_0x1f8797],_0x336d4d):_0x336d4d,_0x47868d['push'](_0x79db36);});});!_0x3a23ad[_0x210103(0x18b)]&&(_0x3a23ad[_0x210103(0x18b)]={});_0x3a23ad['test_settings']={..._0x3a23ad[_0x210103(0x18b)],..._0x45bd6d};const _0x2334a3=path[_0x210103(0x1ba)](__dirname,_0x24fe13[_0x210103(0x1c5)]);fs[_0x210103(0x1a8)](_0x2334a3,JSON[_0x210103(0x1bb)](_0x3a23ad)),_0x24fe13[_0x210103(0x1a1)](removeExistingEnvs,_0x368cc4);const _0x5baad3=require[_0x210103(0x1ad)](_0x24fe13[_0x210103(0x1c1)]),_0x2b921d=process['env']['NODE_OPTIONS']||'',_0x153846=_0x210103(0x188)+JSON['stringify'](_0x5baad3),_0x5523c5=_0x2b921d?_0x2b921d+'\x20'+_0x153846:_0x153846,_0x220894=Object['assign']({},process[_0x210103(0x1a7)],{'NODE_OPTIONS':_0x5523c5,'BROWSERSTACK_FRAMEWORK':process[_0x210103(0x1a7)][_0x210103(0x1da)]||_0x24fe13[_0x210103(0x1cb)]}),_0x8dfa2e=_0x24fe13[_0x210103(0x1b6)](spawn,/^win/['test'](process[_0x210103(0x1b2)])?_0x24fe13['TUkKf']:_0x24fe13[_0x210103(0x1cb)],[_0x24fe13[_0x210103(0x1c9)],_0x2334a3,..._0x368cc4[_0x210103(0x190)](0x1),_0x24fe13[_0x210103(0x1c0)],_0x47868d[_0x210103(0x1ba)](',')],{'stdio':_0x24fe13[_0x210103(0x199)],'env':_0x220894});_0x8dfa2e['on'](_0x24fe13[_0x210103(0x1bd)],async _0x5e1df3=>{const _0x299bf5=_0x210103;logger[_0x299bf5(0x1b0)](_0x299bf5(0x1b1)+_0x5e1df3),logger[_0x299bf5(0x187)](_0x299bf5(0x1a5)+_0x2334a3),fs['unlinkSync'](_0x2334a3);});}module[a48_0x6ca889(0x1aa)]=run;function a48_0x1e95(){const _0x4b5603=['yccvX','222304PLSGSh','length','trim','ORMJz','split','VaCHc','resolveWithinCwd','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','cwd','XMqzM','1785852TuuAco','BDKHW','../../index','config','447792fRIMBA','4542111DHGgEW','nightwatch.cmd','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','PnhOr','rfmKV','BROWSERSTACK_FRAMEWORK','rErSM','info','--require\x20','369428hUpnTk','modifyBrowserStackW3CCaps','test_settings','mgExU','../../helpers/BrowserStackSetup','selenium','Ignoring\x20--config\x20path\x20\x22','slice','path','nUDBv','MoUnb','nightwatch-browserstack.json','iyfYI','\x22:\x20it\x20resolves\x20outside\x20the\x20project\x20directory.','qoWNq','platforms','tHfky','now','4378800PgccMo','nightwatch.json','hub.browserstack.com','PgeXO','isUndefined','existsSync','KuonI','veedB','20ckEast','../utils/constants','Deleting\x20','webdriver','env','writeFileSync','--config','exports','child_process','630512cPymtC','resolve','winstonLogger','push','debug','child\x20process\x20exited\x20with\x20code\x20','platform','port','modifyBrowserStackCaps','inherit','TVvfE','host','Getting\x20your\x20nightwatch\x20configs\x20from\x20','splice','join','stringify','findIndex','kznGX','forEach','lRBrZ','tRPam','gQNjI','mergeDeep','YqrTq','close'];a48_0x1e95=function(){return _0x4b5603;};return a48_0x1e95();}