browserstack-node-sdk 1.63.2 → 1.63.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (218) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
  56. package/src/bin/jasmine/command.js +1 -1
  57. package/src/bin/jasmine/test.setup.js +1 -1
  58. package/src/bin/jasmine/testRunMap.js +1 -1
  59. package/src/bin/jest/command.js +1 -1
  60. package/src/bin/jest/customImplements/customCircus.js +1 -1
  61. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  62. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  63. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  64. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  65. package/src/bin/jest/jest.setup.js +1 -1
  66. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  67. package/src/bin/jest/test-observability/helper.js +1 -1
  68. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  69. package/src/bin/jest/test-observability/test-details.js +1 -1
  70. package/src/bin/jest/test.setup.js +1 -1
  71. package/src/bin/jest/test_before.setup.js +1 -1
  72. package/src/bin/launcher/launcher.js +1 -1
  73. package/src/bin/load/index.js +1 -1
  74. package/src/bin/load/loadErrors.js +1 -1
  75. package/src/bin/load/loadUtils.js +1 -1
  76. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  77. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  78. package/src/bin/mocha/command.js +1 -1
  79. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  80. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  81. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  82. package/src/bin/mocha/test.setup.js +1 -1
  83. package/src/bin/newman/command.js +1 -1
  84. package/src/bin/newman/helper.js +1 -1
  85. package/src/bin/newman/reporter/index.js +1 -1
  86. package/src/bin/newman/scriptRunner.js +1 -1
  87. package/src/bin/nightwatch/command.js +1 -1
  88. package/src/bin/playwright/accessibility-helper.js +1 -1
  89. package/src/bin/playwright/command.js +1 -1
  90. package/src/bin/playwright/globalSetup.js +1 -1
  91. package/src/bin/playwright/mock-process.js +1 -1
  92. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  93. package/src/bin/playwright/patches.js +1 -1
  94. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  95. package/src/bin/playwright/reporter/reporter.js +1 -1
  96. package/src/bin/playwright/reporter/test-details.js +1 -1
  97. package/src/bin/playwright/sessionDetails.js +1 -1
  98. package/src/bin/puppeteer/patches.js +1 -1
  99. package/src/bin/puppeteer/sessionDetails.js +1 -1
  100. package/src/bin/puppeteer/test.setup.js +1 -1
  101. package/src/bin/runner.js +1 -1
  102. package/src/bin/setup.js +1 -1
  103. package/src/bin/test-runner/index.js +1 -1
  104. package/src/bin/test-runner/runTest.js +1 -1
  105. package/src/bin/test-runner/testWorker.js +1 -1
  106. package/src/bin/testcafe/a11y-runner.js +1 -1
  107. package/src/bin/testcafe/command.js +1 -1
  108. package/src/bin/testcafe/reporter/index.js +1 -1
  109. package/src/bin/testcafe/reporter/tcUtils.js +1 -1
  110. package/src/bin/testcafe/session-registry.js +1 -1
  111. package/src/bin/testcafe/stdout-interceptor.js +1 -1
  112. package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
  113. package/src/bin/testcafe/w3c-driver.js +1 -1
  114. package/src/bin/utils/apiUtilityMethods.js +1 -1
  115. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  116. package/src/bin/utils/constants.js +1 -1
  117. package/src/bin/utils/log4jsAppender.js +1 -1
  118. package/src/bin/utils/logPatcher.js +1 -1
  119. package/src/bin/utils/logReportingAPI.js +1 -1
  120. package/src/bin/utils/playwright-patcher.js +1 -1
  121. package/src/bin/utils/puppeteer-patcher.js +1 -1
  122. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  123. package/src/bin/utils/sharedUtils.js +1 -1
  124. package/src/bin/v2/TestInfo.js +1 -1
  125. package/src/bin/v2/browserstackCLI.js +1 -1
  126. package/src/bin/v2/cliUtils.js +1 -1
  127. package/src/bin/v2/customTagManager.js +1 -1
  128. package/src/bin/v2/eventDispatcher.js +1 -1
  129. package/src/bin/v2/framework/automationFramework.js +1 -1
  130. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  131. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  132. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  133. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  134. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  135. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  136. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  137. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  138. package/src/bin/v2/framework/testFramework.js +1 -1
  139. package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
  140. package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
  141. package/src/bin/v2/grpcClient.js +1 -1
  142. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  143. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  144. package/src/bin/v2/instances/trackedContext.js +1 -1
  145. package/src/bin/v2/instances/trackedInstance.js +1 -1
  146. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  147. package/src/bin/v2/modules/baseModule.js +1 -1
  148. package/src/bin/v2/modules/loadTestModule.js +1 -1
  149. package/src/bin/v2/modules/observabilityModule.js +1 -1
  150. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  151. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  152. package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
  153. package/src/bin/v2/modules/testhubModule.js +1 -1
  154. package/src/bin/v2/sdkErrorHandler.js +1 -1
  155. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  156. package/src/bin/v2/state/hookState.js +1 -1
  157. package/src/bin/v2/state/testFrameworkState.js +1 -1
  158. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  159. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  160. package/src/bin/v2/utils/jest-utils.js +1 -1
  161. package/src/bin/vanilla-js/command.js +1 -1
  162. package/src/browserStackSdk.js +1 -1
  163. package/src/helpers/BrowserStackSetup.js +1 -1
  164. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  165. package/src/helpers/accessibility-automation/constants.js +1 -1
  166. package/src/helpers/accessibility-automation/helper.js +1 -1
  167. package/src/helpers/accessibility-automation/scripts.js +1 -1
  168. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  169. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  170. package/src/helpers/ats/constants.js +1 -1
  171. package/src/helpers/ats/helper.js +1 -1
  172. package/src/helpers/caCertHelper.js +1 -1
  173. package/src/helpers/capsMapping.js +1 -1
  174. package/src/helpers/central-scanner/constants.js +1 -1
  175. package/src/helpers/central-scanner/helpers.js +1 -1
  176. package/src/helpers/classLogger.js +1 -1
  177. package/src/helpers/driverInitErrorReporter.js +1 -1
  178. package/src/helpers/globals.js +1 -1
  179. package/src/helpers/helper.js +1 -1
  180. package/src/helpers/logger.js +1 -1
  181. package/src/helpers/metadata.js +1 -1
  182. package/src/helpers/patchHelper.js +1 -1
  183. package/src/helpers/patchHelpers.js +1 -1
  184. package/src/helpers/percy/Percy.js +1 -1
  185. package/src/helpers/percy/PercyBinary.js +1 -1
  186. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  187. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  188. package/src/helpers/percy/PercySDK.js +1 -1
  189. package/src/helpers/percy/index.js +1 -1
  190. package/src/helpers/percy/utils.js +1 -1
  191. package/src/helpers/performance/constants.js +1 -1
  192. package/src/helpers/performance/performance-tester.js +1 -1
  193. package/src/helpers/playwright-helper.js +1 -1
  194. package/src/helpers/processHelper.js +1 -1
  195. package/src/helpers/puppeteer-helper.js +1 -1
  196. package/src/helpers/request-spy.js +1 -1
  197. package/src/helpers/setKeepAlive.js +1 -1
  198. package/src/helpers/stackFrameUtils.js +1 -1
  199. package/src/helpers/test-observability/constants.js +1 -1
  200. package/src/helpers/test-observability/error-handler.js +1 -1
  201. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  202. package/src/helpers/test-observability/sessionHandler.js +1 -1
  203. package/src/helpers/test-observability/utils.js +1 -1
  204. package/src/helpers/test-orchestration/constants.js +1 -1
  205. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  206. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  207. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  208. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  209. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  210. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  211. package/src/helpers/testhub/constants.js +1 -1
  212. package/src/helpers/testhub/testhubHandler.js +1 -1
  213. package/src/helpers/testhub/utils.js +1 -1
  214. package/src/helpers/timeoutPromise.js +1 -1
  215. package/src/helpers/utilities.js +1 -1
  216. package/src/helpers/w3cMapping.js +1 -1
  217. package/src/hubAllocationMethods.js +1 -1
  218. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a41_0x4f38c4=a41_0x5c90;(function(_0x533c48,_0x23807b){const _0x5ecf7f=a41_0x5c90,_0x2c40f1=_0x533c48();while(!![]){try{const _0x1585af=parseInt(_0x5ecf7f(0x14a))/0x1*(-parseInt(_0x5ecf7f(0xbb))/0x2)+parseInt(_0x5ecf7f(0x8a))/0x3+-parseInt(_0x5ecf7f(0xe0))/0x4+parseInt(_0x5ecf7f(0x8d))/0x5+parseInt(_0x5ecf7f(0xff))/0x6*(parseInt(_0x5ecf7f(0xcf))/0x7)+parseInt(_0x5ecf7f(0x10b))/0x8*(-parseInt(_0x5ecf7f(0x9d))/0x9)+-parseInt(_0x5ecf7f(0xfb))/0xa*(-parseInt(_0x5ecf7f(0x12a))/0xb);if(_0x1585af===_0x23807b)break;else _0x2c40f1['push'](_0x2c40f1['shift']());}catch(_0x5e4c50){_0x2c40f1['push'](_0x2c40f1['shift']());}}}(a41_0x1678,0x4c680));const util=require(a41_0x4f38c4(0x121)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),accessibilityRetryHelper=require(a41_0x4f38c4(0x14b)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a41_0x4f38c4(0x99)),{percyAutoCapture}=require(a41_0x4f38c4(0xd4)),{sendPlatformDetails}=require(a41_0x4f38c4(0x13b)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require('../../helpers/helper'),PerformanceTester=require('../../helpers/performance/performance-tester'),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a41_0x4f38c4(0x140)),globals=require('../../helpers/globals'),logger=require(a41_0x4f38c4(0x95))[a41_0x4f38c4(0xb5)],{shouldProcessEventForTesthub}=require(a41_0x4f38c4(0x116)),testHubConstants=require('../../helpers/testhub/constants');try{require(a41_0x4f38c4(0x13c))[a41_0x4f38c4(0xde)](a41_0x4f38c4(0x9e));}catch(a41_0xf37809){logger['debug'](a41_0x4f38c4(0x13f)+(a41_0xf37809&&a41_0xf37809[a41_0x4f38c4(0x124)]));}function a41_0x5c90(_0xacfda6,_0x33c634){const _0x167825=a41_0x1678();return a41_0x5c90=function(_0x5c90bd,_0x3ecaf2){_0x5c90bd=_0x5c90bd-0x83;let _0x38f843=_0x167825[_0x5c90bd];return _0x38f843;},a41_0x5c90(_0xacfda6,_0x33c634);}function a41_0x1678(){const _0x3b76c3=['oNBVH','zlvBK','session_','driverCleanup','umPyZ','yUGeg','xRkTt','VVady','ObservabilitySync:','1760270NcANPq','vdWoJ','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','WuqfC','34014yfAiCo','accessibilityScanStarted','\x20|\x20','performScanWithRetry','flkTC','cDDNJ','owqhV','now','SYNC','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','__platformCaps','__error_messages__','16OSYRDU','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','tbroW','bstackA11yScanOptions','SESSION_NAME','beforeAll','lSMdO','capabilities','qzeBq','oGjXy','SESSION_STATUS','../../helpers/testhub/utils','vzfPZ','UIqAd','ENV_VAR','percyCaptureMode','EJhnI','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','err','__drivers','info','MLFEZ','util','FUGps','app','message','SAVE_RESULTS','GtTVB','Accessibility\x20scan\x20completed\x20successfully','AvUFi','TgLeQ','44JgPVRf','zKHay','isArray','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','start','punYU','ZmbKW','format','Failed\x20to\x20store\x20session\x20name:\x20','timeout','YPbsw','HysjY','iGBMv','shift','__sessionFailed','FYVcY','measureWrapper','./test-observability/mochaUtils','../../helpers/driverInitErrorReporter','getGlobal','env','driver-init\x20capture\x20install\x20failed:\x20','../../helpers/performance/constants','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','cGrwY','cAeCO','BROWSERSTACK_TESTHUB_JWT','UWIHJ','Automate\x20test\x20case\x20execution\x20has\x20started.','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','sessionNameSet__','bkghQ','3JmlFFy','../../helpers/accessibility-automation/accessibilityRetryHelper','http:','TxbAB','gZAbZ','BROWSERSTACK_TESTHUB_UUID','uaNVp','YLfmi','LfSZv','Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','[Accessibility]\x20Auto\x20scan\x20is\x20disabled;\x20skipping\x20final\x20scan\x20and\x20saving\x20current\x20accumulated\x20results','1102425tlkIKy','EjJRB','__skipSessionName','594175OMCMys','EFBIa','BUsYo','bstackA11yShouldScan','thBuildUuid','BurxY','testAnalyticsId','browserstackTestName','../../helpers/logger','\x20-\x20','azlUA','EZmRf','../utils/constants','finally','VTxaI','Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','2388942YubPdK','mocha','Failed:\x20','parse','protocol','xeaIb','OhKjc','vsLCd','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','LoAgU','browserstackSessionName','command','eovZD','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','sBhgL','saveAccessibilityResultsWithRetry','end','xvfGr','PERFORM_SCAN','testcase','uSxoJ','join','then','PZfXO','winstonLogger','IcEVT','adKLE','initQuit','ESJTk','bIAfP','355678LMmAXK','push','YFxjM','afterTest','ZonwL','Passed','ipnSI','oXdqJ','thTestRunUuid','SPEEP','hJofe','startMonitoring','NvdPV','Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','stringify','kxVeA','shouldScanTestForAccessibility','dqMNk','eBPyG','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','357dBJXZi','SDK_HOOK','setGlobal','index','UlAUi','../../helpers/percy/utils','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','\x22}}','currentTest','titlePath','WQxsY','nXkPC','bzJLk','afterAll','dZrpj','installAll','jluAm','408736ssfxYU','isAccessibilityPlatform','autoScanning','dnvnH','Mocha','appium:app','kdcSv','nGPKI','sessionName','OyIZU','AvfBm','DCCQI','oIamc','nwbvk','Aonbq','length','yBsXa','debug'];a41_0x1678=function(){return _0x3b76c3;};return a41_0x1678();}exports['mochaHooks']={'beforeAll'(){const _0x1773e7=a41_0x4f38c4,_0x2e87b7={'NvdPV':function(_0x497809,_0x5bd429,_0x2b109c,_0x15de80){return _0x497809(_0x5bd429,_0x2b109c,_0x15de80);},'tpNDi':'failed','EjJRB':_0x1773e7(0x101),'WuqfC':function(_0x2a646d,_0x284e8f,_0x6f8aec){return _0x2a646d(_0x284e8f,_0x6f8aec);},'VmmWt':'passed','TxbAB':function(_0x337123){return _0x337123();},'uaNVp':function(_0x5b452c,_0x2daf2f,_0x3c473f){return _0x5b452c(_0x2daf2f,_0x3c473f);},'yBsXa':_0x1773e7(0xd2),'ESJTk':_0x1773e7(0x110)};PerformanceTester[_0x1773e7(0xc6)]();const _0x3ec1db='browserstack internal helper hook';PerformanceTester[_0x1773e7(0x13a)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x4acbd9=_0x1773e7;global[_0x4acbd9(0x10a)]=[],global[_0x4acbd9(0x138)]=![],global[_0x4acbd9(0xf5)]=async()=>{const _0x431b8d=_0x4acbd9;let _0x1231d6=![];try{await global[_0x431b8d(0x11e)][0x0][_0x431b8d(0xf4)],_0x1231d6=!![],global[_0x431b8d(0x138)]?await _0x2e87b7[_0x431b8d(0xc7)](markSessionStatus,global[_0x431b8d(0x11e)][0x0],_0x2e87b7['tpNDi'],global[_0x431b8d(0x10a)]['join'](_0x2e87b7[_0x431b8d(0x8b)])):await _0x2e87b7[_0x431b8d(0xfe)](markSessionStatus,global[_0x431b8d(0x11e)][0x0],_0x2e87b7['VmmWt']);}catch(_0x96863a){logger['debug'](_0x431b8d(0xce)+_0x96863a);}global[_0x431b8d(0x10a)]=[],global[_0x431b8d(0x138)]=![];if(_0x1231d6)try{try{_0x2e87b7[_0x431b8d(0x14d)](shouldProcessEventForTesthub)&&(global[_0x431b8d(0x11e)][0x0]&&await _0x2e87b7[_0x431b8d(0xfe)](sendPlatformDetails,global[_0x431b8d(0x11e)][0x0],this[_0x431b8d(0xd7)]?this[_0x431b8d(0xd7)]['testAnalyticsId']:null));}catch(_0x492da1){logger[_0x431b8d(0xf1)](_0x431b8d(0x147)+_0x492da1);}await global[_0x431b8d(0x11e)][0x0][_0x431b8d(0xb8)]();}catch(_0x3c614f){logger['debug']('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x3c614f);}};},{'platform':_0x2e87b7[_0x1773e7(0x85)](nestedKeyValue,global['__platformCaps'],[_0x2e87b7[_0x1773e7(0xf0)]]),'hookType':_0x2e87b7[_0x1773e7(0xb9)]})();},'beforeEach'(_0x19931b){const _0x347e76=a41_0x4f38c4,_0x5bba80={'eovZD':function(_0x5290b5,_0x27503c){return _0x5290b5>_0x27503c;},'jluAm':_0x347e76(0x96),'DCCQI':function(_0x57935e,_0x37fde7,_0x552320){return _0x57935e(_0x37fde7,_0x552320);},'dZrpj':function(_0x1b45c6,_0x2a3a0e){return _0x1b45c6===_0x2a3a0e;},'CmecC':_0x347e76(0x90),'xxeau':_0x347e76(0x10e),'kxVeA':function(_0x2f8cbe){return _0x2f8cbe();},'kkMGb':_0x347e76(0xe1),'UlAUi':_0x347e76(0x14c),'GtTVB':'https:','bzJLk':_0x347e76(0x10c),'dqMNk':_0x347e76(0x146),'oNBVH':function(_0x3d884d){return _0x3d884d();},'oqnRT':_0x347e76(0x94),'vsLCd':function(_0x452014,_0x548be9,_0x4e1683){return _0x452014(_0x548be9,_0x4e1683);},'ZqQHV':_0x347e76(0xd2),'ZmbKW':'beforeEach'};globals['setGlobal'](_0x5bba80['oqnRT'],this[_0x347e76(0xd7)]['titlePath']()[_0x347e76(0xb2)](_0x5bba80[_0x347e76(0xdf)])),PerformanceTester[_0x347e76(0x13a)](PerformanceSdkEvents[_0x347e76(0xd0)],()=>{const _0x77959d=_0x347e76,_0x47da06={'WQxsY':function(_0x5edf0f,_0x88341b){const _0xce68f1=a41_0x5c90;return _0x5bba80[_0xce68f1(0xa9)](_0x5edf0f,_0x88341b);},'MpRlw':function(_0x3a870e,_0x1f4d77){const _0x2a174b=a41_0x5c90;return _0x5bba80[_0x2a174b(0xa9)](_0x3a870e,_0x1f4d77);},'lSMdO':_0x5bba80[_0x77959d(0xdf)],'gZAbZ':function(_0x375d2d,_0xfd9523,_0x72303e){const _0xe487c6=_0x77959d;return _0x5bba80[_0xe487c6(0xeb)](_0x375d2d,_0xfd9523,_0x72303e);},'FUGps':function(_0x32dde2,_0x5446b4){const _0x2723f0=_0x77959d;return _0x5bba80[_0x2723f0(0xdd)](_0x32dde2,_0x5446b4);},'AvUFi':_0x5bba80['CmecC'],'dnvnH':_0x5bba80['xxeau'],'cnDmW':function(_0x372d1a){const _0x4f31cd=_0x77959d;return _0x5bba80[_0x4f31cd(0xca)](_0x372d1a);},'Aonbq':function(_0xc9b63,_0x17b9cb){const _0x2efac5=_0x77959d;return _0x5bba80[_0x2efac5(0xa9)](_0xc9b63,_0x17b9cb);},'bKjFg':_0x5bba80['kkMGb'],'BurxY':_0x5bba80[_0x77959d(0xd3)],'oXdqJ':_0x5bba80[_0x77959d(0x126)],'sBhgL':_0x5bba80[_0x77959d(0xdb)],'UWIHJ':_0x5bba80[_0x77959d(0xcc)],'OyIZU':function(_0x65f30b){const _0x7c82ac=_0x77959d;return _0x5bba80[_0x7c82ac(0xca)](_0x65f30b);},'mNhnN':function(_0x52559b){const _0x5e5b88=_0x77959d;return _0x5bba80[_0x5e5b88(0xf2)](_0x52559b);}},_0x5186c9='browserstack internal helper hook';new Promise(async _0x121c15=>{const _0x19ba42=_0x77959d;let _0x20e82d=!![];try{_0x47da06[_0x19ba42(0xd9)](global[_0x19ba42(0x11e)][_0x19ba42(0xef)],0x1)&&(await global[_0x19ba42(0xf5)](),global['__drivers'][_0x19ba42(0x137)]()),_0x47da06['MpRlw'](global[_0x19ba42(0x11e)][0x0]['quitCount_'],0x0)&&(_0x20e82d=![],await global[_0x19ba42(0xf5)]());}catch(_0x45057e){logger[_0x19ba42(0xf1)](_0x19ba42(0xfd)+_0x45057e);}try{Array[_0x19ba42(0x12c)](global[_0x19ba42(0x11e)])&&global[_0x19ba42(0x11e)][0x0]&&(global[_0x19ba42(0x11e)][0x0]['browserstackSessionName']=this['currentTest'][_0x19ba42(0xd8)]()[_0x19ba42(0xb2)](_0x47da06['lSMdO'])),global[_0x19ba42(0xa7)]=this[_0x19ba42(0xd7)][_0x19ba42(0xd8)]()['join'](_0x47da06[_0x19ba42(0x111)]);}catch(_0xa278ee){logger['debug'](_0x19ba42(0x132)+_0xa278ee);}this['currentTest']['shouldScanTestForAccessibility']=_0x47da06[_0x19ba42(0x83)](shouldScanTestForAccessibility,this[_0x19ba42(0xd7)][_0x19ba42(0xd8)](),!![]);let _0x120045=!![];try{const _0x52e36e=JSON[_0x19ba42(0xa0)](process[_0x19ba42(0x13e)][_0x19ba42(0x12d)]||'{}');_0x47da06[_0x19ba42(0x122)](_0x52e36e[_0x19ba42(0xe2)],![])&&(_0x120045=![]);}catch(_0x385680){logger[_0x19ba42(0xf1)](_0x19ba42(0x9c)+_0x385680['message']);}const _0x1007ef=_0x120045&&this[_0x19ba42(0xd7)][_0x19ba42(0xcb)];globals['setGlobal'](_0x47da06[_0x19ba42(0x128)],_0x1007ef),globals[_0x19ba42(0xd1)](_0x47da06[_0x19ba42(0xe3)],null),this['currentTest'][_0x19ba42(0x100)]=this['currentTest'][_0x19ba42(0xcb)];if(_0x47da06['cnDmW'](isAccessibilityAutomationSession)&&_0x20e82d&&Array[_0x19ba42(0x12c)](global[_0x19ba42(0x11e)])&&_0x47da06[_0x19ba42(0xee)](global[_0x19ba42(0x11e)]['length'],0x0)&&globals[_0x19ba42(0x13d)](_0x47da06['bKjFg']))try{const _0xa9feef=await global[_0x19ba42(0x11e)][0x0][_0x19ba42(0xf4)];if(_0xa9feef){let _0x255171=!![];const _0x3613c5=await global[_0x19ba42(0x11e)][0x0]['getCurrentUrl']();let _0x2391ca;try{_0x2391ca=new URL(_0x3613c5),_0x255171=_0x47da06[_0x19ba42(0x122)](_0x2391ca[_0x19ba42(0xa1)],_0x47da06[_0x19ba42(0x92)])||_0x47da06[_0x19ba42(0x122)](_0x2391ca[_0x19ba42(0xa1)],_0x47da06[_0x19ba42(0xc2)]);}catch(_0x4b641d){_0x255171=![];}_0x255171&&(this[_0x19ba42(0xd7)]['shouldScanTestForAccessibility']&&logger['info'](_0x47da06[_0x19ba42(0xab)])),this[_0x19ba42(0xd7)]['accessibilityScanStarted']=this[_0x19ba42(0xd7)][_0x19ba42(0xcb)],_0x1007ef&&logger[_0x19ba42(0x11f)](_0x47da06[_0x19ba42(0x145)]);}}catch(_0x23c314){logger['error'](_0x19ba42(0x108)+util[_0x19ba42(0x131)](_0x23c314));}_0x47da06[_0x19ba42(0xe9)](_0x121c15);})['then'](()=>{_0x47da06['mNhnN'](_0x19931b);});},{'platform':_0x5bba80[_0x347e76(0xa4)](nestedKeyValue,global[_0x347e76(0x109)],[_0x5bba80['ZqQHV']]),'hookType':_0x5bba80[_0x347e76(0x130)]})();},'afterEach'(_0x306d72){const _0x59245f=a41_0x4f38c4,_0x300956={'OhKjc':function(_0x2ec7c7){return _0x2ec7c7();},'vdWoJ':'\x20-\x20','oIamc':function(_0x39128c,_0x31b853){return _0x39128c!==_0x31b853;},'EFBIa':'passed','zKHay':function(_0x110413,_0x31f5c7,_0xb22a1e){return _0x110413(_0x31f5c7,_0xb22a1e);},'sqsmy':function(_0x33a85c,_0xa46d0){return _0x33a85c+_0xa46d0;},'eBPyG':_0x59245f(0x9f),'nXkPC':'error','tbroW':_0x59245f(0xc0),'SPEEP':_0x59245f(0x11f),'ZonwL':function(_0x2a9150,_0x32c27f){return _0x2a9150>_0x32c27f;},'YFxjM':function(_0x18f0d8,_0x4a97c1){return _0x18f0d8===_0x4a97c1;},'VVady':_0x59245f(0xb0),'xvfGr':_0x59245f(0xe5),'punYU':function(_0x1e6a45,_0x5e1a15,_0x4ff2bc,_0x57df66){return _0x1e6a45(_0x5e1a15,_0x4ff2bc,_0x57df66);},'kdcSv':_0x59245f(0xe1),'eGkRm':_0x59245f(0xaa),'iGBMv':'bstackA11yShouldScan','VTxaI':_0x59245f(0x88),'LfSZv':_0x59245f(0xbe),'hJofe':_0x59245f(0x127),'DcAmZ':'Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','zlvBK':_0x59245f(0x89),'nGPKI':'Accessibility\x20results\x20saved\x20successfully','EZmRf':_0x59245f(0xc8),'oGjXy':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','xeaIb':function(_0x5b3365){return _0x5b3365();},'EJhnI':_0x59245f(0xf1),'qzeBq':function(_0x526191,_0x3221fe){return _0x526191>_0x3221fe;},'MLFEZ':function(_0x4d01be){return _0x4d01be();},'PZfXO':_0x59245f(0xe4),'iVOFV':function(_0x3148f9,_0x58d788,_0x5e6e1f){return _0x3148f9(_0x58d788,_0x5e6e1f);},'bkghQ':_0x59245f(0xd2),'azlUA':'afterEach'},_0x14032a='browserstack internal helper hook';this['timeout'](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x300956[_0x59245f(0xb4)]]),global[_0x59245f(0xe8)]=this['currentTest'][_0x59245f(0xd8)]()[_0x59245f(0xb2)](_0x300956[_0x59245f(0xfc)]),PerformanceTester[_0x59245f(0x13a)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x3c6abe=_0x59245f,_0x50a121={'SHtjh':_0x300956['vdWoJ'],'IcEVT':function(_0x1b0908,_0x1262f3){const _0x5158fd=a41_0x5c90;return _0x300956[_0x5158fd(0xec)](_0x1b0908,_0x1262f3);},'BUsYo':_0x300956[_0x3c6abe(0x8e)],'ipnSI':function(_0x5f7034,_0x288a77,_0x59da94){const _0x561655=_0x3c6abe;return _0x300956[_0x561655(0x12b)](_0x5f7034,_0x288a77,_0x59da94);},'ChvcS':function(_0x141f53,_0x232fc5){return _0x300956['sqsmy'](_0x141f53,_0x232fc5);},'uSxoJ':_0x300956[_0x3c6abe(0xcd)],'YPbsw':_0x300956[_0x3c6abe(0xda)],'flkTC':_0x300956[_0x3c6abe(0x10d)],'vzfPZ':_0x300956[_0x3c6abe(0xc4)],'LoAgU':function(_0xe83ea3,_0x1f52ac){const _0x5b5238=_0x3c6abe;return _0x300956[_0x5b5238(0xbf)](_0xe83ea3,_0x1f52ac);},'AvfBm':function(_0x27d8bf,_0x3c3514){const _0x55a73a=_0x3c6abe;return _0x300956[_0x55a73a(0xbd)](_0x27d8bf,_0x3c3514);},'nwbvk':_0x300956[_0x3c6abe(0xf9)],'cAeCO':_0x300956[_0x3c6abe(0xae)],'GArKE':function(_0x58a050,_0x572212,_0x2f8731,_0x4c6414){const _0x3d85db=_0x3c6abe;return _0x300956[_0x3d85db(0x12f)](_0x58a050,_0x572212,_0x2f8731,_0x4c6414);},'UIqAd':_0x300956[_0x3c6abe(0xe6)],'oZODd':_0x300956['eGkRm'],'xRkTt':_0x300956[_0x3c6abe(0x136)],'TmAux':_0x300956[_0x3c6abe(0x9b)],'owqhV':_0x300956[_0x3c6abe(0x87)],'zJePI':_0x300956[_0x3c6abe(0xc5)],'cDDNJ':_0x300956['DcAmZ'],'wVzfY':_0x300956[_0x3c6abe(0xf3)],'umPyZ':_0x300956[_0x3c6abe(0xe7)],'bIAfP':_0x300956[_0x3c6abe(0x98)],'LPqVx':_0x300956[_0x3c6abe(0x114)],'LgsHu':function(_0x39e626){const _0x5c1a3e=_0x3c6abe;return _0x300956[_0x5c1a3e(0xa2)](_0x39e626);},'YLfmi':_0x300956[_0x3c6abe(0x11b)],'yUGeg':function(_0x151bdf,_0x47a305){const _0x278308=_0x3c6abe;return _0x300956[_0x278308(0x113)](_0x151bdf,_0x47a305);},'adKLE':function(_0x2bc9b0){const _0x24b90a=_0x3c6abe;return _0x300956[_0x24b90a(0x120)](_0x2bc9b0);}},_0x56e7f5=async(_0x4fd852,_0xfdccaf)=>{const _0x28ffac=_0x3c6abe;await global['__drivers'][0x0]['executeScript'](_0x28ffac(0xa5)+_0x4fd852+',\x22level\x22:\x20\x22'+_0xfdccaf+_0x28ffac(0xd6));};new Promise(async _0x1e66af=>{const _0x48be22=_0x3c6abe;try{_0x50a121[_0x48be22(0xa6)](global['__drivers'][_0x48be22(0xef)],0x1)&&(await global[_0x48be22(0xf5)](),global[_0x48be22(0x11e)]['shift'](),global[_0x48be22(0x10a)]=[],global[_0x48be22(0x138)]=![]);try{if(global['percy']&&_0x50a121[_0x48be22(0xea)](global[_0x48be22(0x11a)],_0x50a121[_0x48be22(0xed)])&&global[_0x48be22(0x11e)][0x0]){const _0x5a796d=_0x50a121[_0x48be22(0xa6)](global[_0x48be22(0x112)][_0x48be22(0xef)],0x0)?!!global[_0x48be22(0x112)][0x0]['app']||!!global[_0x48be22(0x112)][0x0][_0x50a121[_0x48be22(0x143)]]:![],_0xef3193={};_0xef3193[_0x48be22(0x123)]=_0x5a796d,await _0x50a121['GArKE'](percyAutoCapture,global[_0x48be22(0x11e)][0x0],_0x50a121[_0x48be22(0xed)],_0xef3193);}}catch(_0x2f4451){logger[_0x48be22(0xf1)]('Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20'+_0x2f4451);}!global[_0x48be22(0x8c)]&&(await PerformanceTester[_0x48be22(0x13a)](PerformanceAutEvents[_0x48be22(0x10f)],async()=>{const _0x307ba0=_0x48be22;await global[_0x307ba0(0x11e)][0x0]['executeScript'](_0x307ba0(0x11c)+JSON[_0x307ba0(0xc9)](this[_0x307ba0(0xd7)][_0x307ba0(0xd8)]()['join'](_0x50a121['SHtjh']))+'}}');})(),global[_0x48be22(0x11e)][0x0][_0x48be22(0x148)]=!![]),await PerformanceTester[_0x48be22(0x13a)](PerformanceAutEvents[_0x48be22(0x115)],async()=>{const _0x5b7ae8=_0x48be22,_0x153c82=_0x50a121[_0x5b7ae8(0xb6)](this[_0x5b7ae8(0xd7)]['state'],_0x50a121[_0x5b7ae8(0x8f)]);_0x153c82?(global[_0x5b7ae8(0x138)]=!![],global[_0x5b7ae8(0x10a)][_0x5b7ae8(0xbc)](this[_0x5b7ae8(0xd7)][_0x5b7ae8(0x11d)][_0x5b7ae8(0x124)]),await _0x50a121[_0x5b7ae8(0xc1)](_0x56e7f5,JSON[_0x5b7ae8(0xc9)](_0x50a121['ChvcS'](_0x50a121[_0x5b7ae8(0xb1)],this[_0x5b7ae8(0xd7)][_0x5b7ae8(0x11d)][_0x5b7ae8(0x124)])),_0x50a121[_0x5b7ae8(0x134)])):await _0x50a121[_0x5b7ae8(0xc1)](_0x56e7f5,JSON['stringify'](_0x50a121[_0x5b7ae8(0x103)]),_0x50a121[_0x5b7ae8(0x117)]);})();}catch(_0x35e3ed){logger[_0x48be22(0xf1)]('Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20'+_0x35e3ed);}try{if(this[_0x48be22(0xd7)][_0x48be22(0x100)]&&globals[_0x48be22(0x13d)](_0x50a121[_0x48be22(0x118)])){logger[_0x48be22(0x11f)](_0x50a121['oZODd']);const _0x54d3a6={};_0x54d3a6[_0x48be22(0xc3)]=this[_0x48be22(0xd7)]['testAnalyticsId'],_0x54d3a6[_0x48be22(0x91)]=process[_0x48be22(0x13e)][testHubConstants[_0x48be22(0x119)][_0x48be22(0x84)]],_0x54d3a6['thJwtToken']=process['env'][testHubConstants[_0x48be22(0x119)][_0x48be22(0x144)]];const _0x21f885=_0x54d3a6;logger[_0x48be22(0xf1)](_0x48be22(0xd5)+JSON[_0x48be22(0xc9)](_0x21f885));if(globals[_0x48be22(0x13d)](_0x50a121[_0x48be22(0xf8)])){logger[_0x48be22(0xf1)](_0x50a121['TmAux']);const _0x438e3a={};_0x438e3a[_0x48be22(0xa8)]=_0x50a121[_0x48be22(0x105)];const _0x284b60=await PerformanceTester[_0x48be22(0x13a)](PerformanceA11yEvents[_0x48be22(0xaf)],async()=>{const _0x188688=_0x48be22;return await accessibilityRetryHelper[_0x188688(0x102)](global[_0x188688(0x11e)][0x0],global[_0x188688(0xa7)]);},_0x438e3a)();_0x284b60?logger[_0x48be22(0xf1)](_0x50a121['zJePI']):logger['warn'](_0x50a121[_0x48be22(0x104)]);}else logger['debug'](_0x50a121['wVzfY']);const _0x28bd80=await PerformanceTester[_0x48be22(0x13a)](PerformanceA11yEvents[_0x48be22(0x125)],async()=>{const _0x14b3be=_0x48be22;return await accessibilityRetryHelper[_0x14b3be(0xac)](global[_0x14b3be(0x11e)][0x0],_0x21f885);})();_0x28bd80?logger['debug'](_0x50a121[_0x48be22(0xf6)]):logger['warn'](_0x50a121[_0x48be22(0xba)]),logger[_0x48be22(0x11f)](_0x50a121['LPqVx']);}}catch(_0x3b0b7f){logger['error'](_0x48be22(0x141)+this[_0x48be22(0xd7)]['titlePath']()+'.\x20Error\x20:',_0x3b0b7f);}try{try{if(_0x50a121['LgsHu'](shouldProcessEventForTesthub)){global[_0x48be22(0x11e)][0x0]&&await _0x50a121['ipnSI'](sendPlatformDetails,global[_0x48be22(0x11e)][0x0],this[_0x48be22(0xd7)]?this['currentTest'][_0x48be22(0x93)]:null);if(_0x50a121['LgsHu'](isBrowserstackInfra)){PerformanceTester[_0x48be22(0x12e)](PerformanceO11yEvents[_0x48be22(0x107)]);const _0xa52660=_0x48be22(0xfa)+Date[_0x48be22(0x106)]();await _0x50a121[_0x48be22(0xc1)](_0x56e7f5,JSON['stringify'](_0xa52660),_0x50a121[_0x48be22(0x86)]),PerformanceTester[_0x48be22(0xad)](PerformanceO11yEvents[_0x48be22(0x107)]);}}}catch(_0x2b2500){logger[_0x48be22(0xf1)]('Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20'+_0x2b2500),PerformanceTester['end'](PerformanceO11yEvents['SYNC'],![],_0x2b2500);}_0x50a121[_0x48be22(0xf7)](global[_0x48be22(0x11e)][0x0]['quitCount_'],0x0)&&await global[_0x48be22(0xf5)]();}catch(_0x1df1b9){logger[_0x48be22(0xf1)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x1df1b9);}_0x50a121[_0x48be22(0xb7)](_0x1e66af);})[_0x3c6abe(0xb3)](()=>{const _0x5e1bd6=_0x3c6abe;_0x300956[_0x5e1bd6(0xa3)](_0x306d72);});},{'platform':_0x300956['iVOFV'](nestedKeyValue,global[_0x59245f(0x109)],[_0x300956[_0x59245f(0x149)]]),'hookType':_0x300956[_0x59245f(0x97)]})();},'afterAll'(_0x20c1b3){const _0x38021c=a41_0x4f38c4,_0x3a17e1={'FYVcY':function(_0x13ac67){return _0x13ac67();},'HysjY':'Mocha','TgLeQ':function(_0x5c3bf9,_0x63681b,_0x48e46e){return _0x5c3bf9(_0x63681b,_0x48e46e);},'cGrwY':_0x38021c(0xd2),'eqCNu':_0x38021c(0xdc)},_0x420062='browserstack internal helper hook';this[_0x38021c(0x133)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x3a17e1[_0x38021c(0x135)]]),PerformanceTester[_0x38021c(0x13a)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x80909=_0x38021c;new Promise(async _0x2517c3=>{await global['driverCleanup'](),_0x3a17e1['FYVcY'](_0x2517c3);})['then']()[_0x80909(0x9a)](()=>{const _0x5d216f=_0x80909;_0x3a17e1[_0x5d216f(0x139)](_0x20c1b3);});},{'platform':_0x3a17e1[_0x38021c(0x129)](nestedKeyValue,global['__platformCaps'],[_0x3a17e1[_0x38021c(0x142)]]),'hookType':_0x3a17e1['eqCNu']})();}};
1
+ const a41_0x549370=a41_0x7a6c;(function(_0x454931,_0x35d411){const _0x44fa23=a41_0x7a6c,_0x434cfe=_0x454931();while(!![]){try{const _0xc62f26=parseInt(_0x44fa23(0x1a2))/0x1*(parseInt(_0x44fa23(0x1cc))/0x2)+parseInt(_0x44fa23(0x1c8))/0x3+-parseInt(_0x44fa23(0x1fc))/0x4+parseInt(_0x44fa23(0x1a8))/0x5+parseInt(_0x44fa23(0x258))/0x6*(-parseInt(_0x44fa23(0x1e9))/0x7)+parseInt(_0x44fa23(0x24e))/0x8+-parseInt(_0x44fa23(0x205))/0x9;if(_0xc62f26===_0x35d411)break;else _0x434cfe['push'](_0x434cfe['shift']());}catch(_0x555e73){_0x434cfe['push'](_0x434cfe['shift']());}}}(a41_0x2018,0x52efe));function a41_0x7a6c(_0x589424,_0x4df72d){const _0x20181b=a41_0x2018();return a41_0x7a6c=function(_0x7a6c98,_0x3d3436){_0x7a6c98=_0x7a6c98-0x19c;let _0x3dda1e=_0x20181b[_0x7a6c98];return _0x3dda1e;},a41_0x7a6c(_0x589424,_0x4df72d);}const util=require(a41_0x549370(0x221)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),accessibilityRetryHelper=require(a41_0x549370(0x23e)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require('../utils/constants'),{percyAutoCapture}=require('../../helpers/percy/utils'),{sendPlatformDetails}=require(a41_0x549370(0x261)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a41_0x549370(0x20a)),PerformanceTester=require(a41_0x549370(0x240)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require('../../helpers/performance/constants'),globals=require(a41_0x549370(0x201)),logger=require(a41_0x549370(0x20b))[a41_0x549370(0x24a)],{shouldProcessEventForTesthub}=require(a41_0x549370(0x251)),testHubConstants=require(a41_0x549370(0x253));function a41_0x2018(){const _0xeed4a=['installAll','sessionNameSet__','CJsrb','startMonitoring','initQuit','./test-observability/mochaUtils','qHCnv','now','FGKdx','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','setGlobal','BROWSERSTACK_TESTHUB_UUID','https:','Jgjuv','SDK_HOOK','lIHos','467GWjkbK','meQiR','NTMpP','capabilities','command','diJRr','1063195ymlNsr','GGIwe','thJwtToken','browserstackSessionName','SESSION_STATUS','Accessibility\x20results\x20saved\x20successfully','__sessionFailed','PJSmh','ibCzN','HiDYn','EPGae','quitCount_','ObservabilitySync:','PEtVC','hvpNr','getCurrentUrl','SdebJ','debug','Failed:\x20','then','__drivers','VCOuN','shift','autoScanning','percy','FbhmP','message','ryWkY','ZGtgE','currentTest','percyCaptureMode','__skipSessionName','549279zXYyMs','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','GHXjw','1682EbZXOc','start','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','fZOsw','mochaHooks','dCfWI','pWwmP','zDnQq','err','VJGtw','Mplsg',',\x22level\x22:\x20\x22','msVWf','qIYgc','http:','getGlobal','accessibilityScanStarted','rzJLV','timeout','mQyWg','wmBMh','ENV_VAR','end','error','kwecY','.\x20Error\x20:','saveAccessibilityResultsWithRetry','VAMUM','112hVJojR','TcrWy','Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','ZnEaV','cKcoY','info','performScanWithRetry','eVxxs','index','isArray','jYffi','bePAN','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','appium:app','Qmgle','ggEtT','passed','BROWSERSTACK_TESTHUB_JWT','1116220LYYlMT','stringify','VmpTE','__error_messages__','session_','../../helpers/globals','protocol','[Accessibility]\x20Auto\x20scan\x20is\x20disabled;\x20skipping\x20final\x20scan\x20and\x20saving\x20current\x20accumulated\x20results','sIMLy','3136248dWLdcy','LELUA','driverCleanup','wDAxk','eaBeb','../../helpers/helper','../../helpers/logger','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','bstackA11yScanOptions','warn','finally','Mocha','../../helpers/driverInitErrorReporter','CPapZ','YvhDC','Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','join','thTestRunUuid','eioKO','mocha','rMigV','bSWdd','xDqgF','WCfTX','SAVE_RESULTS','afterAll','UzWaW','aPkfE','util','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','Cqtth','tPoZT','OUlcD','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','Failed\x20to\x20store\x20session\x20name:\x20','HnuLQ','afterTest','beforeAll','app','testcase','SYNC','length','state','CKCYm','isAccessibilityPlatform','format','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','__platformCaps','browserstackTestName','pFIsV','bbExY','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','titlePath','liGup','env','QpXpb','PLnIj','../../helpers/accessibility-automation/accessibilityRetryHelper','Tnror','../../helpers/performance/performance-tester','driver-init\x20capture\x20install\x20failed:\x20','bstackA11yShouldScan','thBuildUuid','OHUGW','executeScript','sfOUz','Accessibility\x20scan\x20completed\x20successfully','\x20-\x20','DYqqP','winstonLogger','YUoKI','testAnalyticsId','wMRtS','2693552DNxlXa','GhkdS','gyyXc','../../helpers/testhub/utils','HudGC','../../helpers/testhub/constants','failed','Passed','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','Automate\x20test\x20case\x20execution\x20has\x20started.','59226jJfYEO','dMAfR','measureWrapper','shouldScanTestForAccessibility'];a41_0x2018=function(){return _0xeed4a;};return a41_0x2018();}try{require(a41_0x549370(0x211))[a41_0x549370(0x25c)](a41_0x549370(0x218));}catch(a41_0x51f317){logger[a41_0x549370(0x1b9)](a41_0x549370(0x241)+(a41_0x51f317&&a41_0x51f317[a41_0x549370(0x1c2)]));}exports[a41_0x549370(0x1d1)]={'beforeAll'(){const _0x132b48=a41_0x549370,_0x3ea07c={'GGIwe':function(_0x597950,_0x24cc85,_0x28edae,_0xf8de38){return _0x597950(_0x24cc85,_0x28edae,_0xf8de38);},'PKnnY':_0x132b48(0x254),'Tnror':'\x20|\x20','SQhSJ':function(_0xc3c395,_0x5e5580,_0x4ec88e){return _0xc3c395(_0x5e5580,_0x4ec88e);},'wmBMh':'passed','YUoKI':function(_0xbd29f9){return _0xbd29f9();},'bSWdd':function(_0x453bc1,_0x3e7242,_0x3f97f6){return _0x453bc1(_0x3e7242,_0x3f97f6);},'aPkfE':function(_0x1622c1,_0x344d7f,_0xefb465){return _0x1622c1(_0x344d7f,_0xefb465);},'zDnQq':_0x132b48(0x1f2),'wDAxk':_0x132b48(0x22a)};PerformanceTester[_0x132b48(0x25f)]();const _0x21848b='browserstack internal helper hook';PerformanceTester[_0x132b48(0x25a)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x34d4=_0x132b48;global[_0x34d4(0x1ff)]=[],global[_0x34d4(0x1ae)]=![],global[_0x34d4(0x207)]=async()=>{const _0x31abca=_0x34d4;let _0x1637b0=![];try{await global[_0x31abca(0x1bc)][0x0][_0x31abca(0x200)],_0x1637b0=!![],global['__sessionFailed']?await _0x3ea07c[_0x31abca(0x1a9)](markSessionStatus,global[_0x31abca(0x1bc)][0x0],_0x3ea07c['PKnnY'],global['__error_messages__'][_0x31abca(0x215)](_0x3ea07c[_0x31abca(0x23f)])):await _0x3ea07c['SQhSJ'](markSessionStatus,global['__drivers'][0x0],_0x3ea07c[_0x31abca(0x1e1)]);}catch(_0x591eee){logger['debug']('Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20'+_0x591eee);}global['__error_messages__']=[],global[_0x31abca(0x1ae)]=![];if(_0x1637b0)try{try{_0x3ea07c[_0x31abca(0x24b)](shouldProcessEventForTesthub)&&(global[_0x31abca(0x1bc)][0x0]&&await _0x3ea07c[_0x31abca(0x21a)](sendPlatformDetails,global[_0x31abca(0x1bc)][0x0],this[_0x31abca(0x1c5)]?this[_0x31abca(0x1c5)][_0x31abca(0x24c)]:null));}catch(_0xadf536){logger[_0x31abca(0x1b9)](_0x31abca(0x1f6)+_0xadf536);}await global[_0x31abca(0x1bc)][0x0][_0x31abca(0x260)]();}catch(_0x44c75a){logger[_0x31abca(0x1b9)](_0x31abca(0x20c)+_0x44c75a);}};},{'platform':_0x3ea07c[_0x132b48(0x220)](nestedKeyValue,global['__platformCaps'],[_0x3ea07c[_0x132b48(0x1d4)]]),'hookType':_0x3ea07c[_0x132b48(0x208)]})();},'beforeEach'(_0x774100){const _0x59c7fa=a41_0x549370,_0x55da8c={'diJRr':function(_0x4344c8){return _0x4344c8();},'Qmgle':function(_0x4ac98f,_0x1a36a0){return _0x4ac98f>_0x1a36a0;},'DYqqP':_0x59c7fa(0x248),'ZGtgE':function(_0x30dfc9,_0x8a8e8b,_0x4dd6e6){return _0x30dfc9(_0x8a8e8b,_0x4dd6e6);},'tPoZT':function(_0x272527,_0xf26a9a){return _0x272527===_0xf26a9a;},'dCfWI':'bstackA11yShouldScan','meQiR':_0x59c7fa(0x20d),'ibCzN':function(_0x5650ac){return _0x5650ac();},'HudGC':function(_0x1390d5,_0x4622cd){return _0x1390d5>_0x4622cd;},'bbExY':_0x59c7fa(0x231),'rzJLV':_0x59c7fa(0x1db),'EPGae':_0x59c7fa(0x19e),'CJsrb':_0x59c7fa(0x238),'PqSjb':_0x59c7fa(0x257),'FbhmP':_0x59c7fa(0x235),'QpXpb':function(_0x56724c,_0x4453fe,_0x4cb009){return _0x56724c(_0x4453fe,_0x4cb009);},'HiDYn':'index','eioKO':'beforeEach'};globals[_0x59c7fa(0x19c)](_0x55da8c[_0x59c7fa(0x1c1)],this['currentTest'][_0x59c7fa(0x239)]()[_0x59c7fa(0x215)](_0x55da8c[_0x59c7fa(0x249)])),PerformanceTester[_0x59c7fa(0x25a)](PerformanceSdkEvents[_0x59c7fa(0x1a0)],()=>{const _0x181c33=_0x59c7fa,_0x5a8c11={'FGKdx':function(_0x5015b2,_0x13772c){return _0x55da8c['Qmgle'](_0x5015b2,_0x13772c);},'TcrWy':function(_0x4b90b8,_0x24c9b4){const _0x5d93ca=a41_0x7a6c;return _0x55da8c[_0x5d93ca(0x1f8)](_0x4b90b8,_0x24c9b4);},'rMigV':_0x55da8c[_0x181c33(0x249)],'HNoFF':function(_0x37df8d,_0xe05897,_0xcb7141){const _0x566dcf=_0x181c33;return _0x55da8c[_0x566dcf(0x1c4)](_0x37df8d,_0xe05897,_0xcb7141);},'NKQnU':function(_0x13fd4e,_0x14da20){const _0x23d816=_0x181c33;return _0x55da8c[_0x23d816(0x224)](_0x13fd4e,_0x14da20);},'PLnIj':_0x55da8c[_0x181c33(0x1d2)],'SdebJ':_0x55da8c[_0x181c33(0x1a3)],'CPapZ':function(_0x161927){const _0x180bf1=_0x181c33;return _0x55da8c[_0x180bf1(0x1b0)](_0x161927);},'WCfTX':function(_0x569031,_0x31fc26){const _0x2c86cc=_0x181c33;return _0x55da8c[_0x2c86cc(0x252)](_0x569031,_0x31fc26);},'jYffi':_0x55da8c[_0x181c33(0x237)],'LELUA':_0x55da8c[_0x181c33(0x1de)],'gyyXc':_0x55da8c[_0x181c33(0x1b2)],'jDOxM':_0x55da8c[_0x181c33(0x25e)],'Jgjuv':_0x55da8c['PqSjb']},_0x1474f0='browserstack internal helper hook';new Promise(async _0x1e8b03=>{const _0x3ffa52=_0x181c33;let _0x1c0aae=!![];try{_0x5a8c11[_0x3ffa52(0x264)](global[_0x3ffa52(0x1bc)]['length'],0x1)&&(await global[_0x3ffa52(0x207)](),global[_0x3ffa52(0x1bc)][_0x3ffa52(0x1be)]()),_0x5a8c11[_0x3ffa52(0x1ea)](global['__drivers'][0x0]['quitCount_'],0x0)&&(_0x1c0aae=![],await global[_0x3ffa52(0x207)]());}catch(_0x25bf60){logger[_0x3ffa52(0x1b9)](_0x3ffa52(0x20c)+_0x25bf60);}try{Array[_0x3ffa52(0x1f3)](global[_0x3ffa52(0x1bc)])&&global[_0x3ffa52(0x1bc)][0x0]&&(global[_0x3ffa52(0x1bc)][0x0][_0x3ffa52(0x1ab)]=this['currentTest'][_0x3ffa52(0x239)]()[_0x3ffa52(0x215)](_0x5a8c11['rMigV'])),global[_0x3ffa52(0x1ab)]=this[_0x3ffa52(0x1c5)][_0x3ffa52(0x239)]()[_0x3ffa52(0x215)](_0x5a8c11[_0x3ffa52(0x219)]);}catch(_0x32aa24){logger[_0x3ffa52(0x1b9)](_0x3ffa52(0x227)+_0x32aa24);}this[_0x3ffa52(0x1c5)][_0x3ffa52(0x25b)]=_0x5a8c11['HNoFF'](shouldScanTestForAccessibility,this['currentTest']['titlePath'](),!![]);let _0x4ee933=!![];try{const _0x1a5280=JSON['parse'](process[_0x3ffa52(0x23b)][_0x3ffa52(0x1ec)]||'{}');_0x5a8c11['NKQnU'](_0x1a5280[_0x3ffa52(0x1bf)],![])&&(_0x4ee933=![]);}catch(_0x17b4de){logger[_0x3ffa52(0x1b9)](_0x3ffa52(0x1eb)+_0x17b4de[_0x3ffa52(0x1c2)]);}const _0x121fe0=_0x4ee933&&this['currentTest'][_0x3ffa52(0x25b)];globals[_0x3ffa52(0x19c)](_0x5a8c11[_0x3ffa52(0x23d)],_0x121fe0),globals[_0x3ffa52(0x19c)](_0x5a8c11[_0x3ffa52(0x1b8)],null),this[_0x3ffa52(0x1c5)][_0x3ffa52(0x1dd)]=this[_0x3ffa52(0x1c5)][_0x3ffa52(0x25b)];if(_0x5a8c11['CPapZ'](isAccessibilityAutomationSession)&&_0x1c0aae&&Array['isArray'](global['__drivers'])&&_0x5a8c11[_0x3ffa52(0x21c)](global[_0x3ffa52(0x1bc)][_0x3ffa52(0x22e)],0x0)&&globals[_0x3ffa52(0x1dc)](_0x5a8c11[_0x3ffa52(0x1f4)]))try{const _0x3012b4=await global['__drivers'][0x0]['session_'];if(_0x3012b4){let _0x173570=!![];const _0x281797=await global[_0x3ffa52(0x1bc)][0x0][_0x3ffa52(0x1b7)]();let _0x99c587;try{_0x99c587=new URL(_0x281797),_0x173570=_0x5a8c11['NKQnU'](_0x99c587[_0x3ffa52(0x202)],_0x5a8c11[_0x3ffa52(0x206)])||_0x5a8c11['NKQnU'](_0x99c587[_0x3ffa52(0x202)],_0x5a8c11[_0x3ffa52(0x250)]);}catch(_0x413383){_0x173570=![];}_0x173570&&(this['currentTest'][_0x3ffa52(0x25b)]&&logger[_0x3ffa52(0x1ef)](_0x5a8c11['jDOxM'])),this[_0x3ffa52(0x1c5)]['accessibilityScanStarted']=this[_0x3ffa52(0x1c5)][_0x3ffa52(0x25b)],_0x121fe0&&logger[_0x3ffa52(0x1ef)](_0x5a8c11[_0x3ffa52(0x19f)]);}}catch(_0x31f6f3){logger[_0x3ffa52(0x1e4)](_0x3ffa52(0x222)+util[_0x3ffa52(0x232)](_0x31f6f3));}_0x5a8c11[_0x3ffa52(0x212)](_0x1e8b03);})[_0x181c33(0x1bb)](()=>{const _0x1b4bcc=_0x181c33;_0x55da8c[_0x1b4bcc(0x1a7)](_0x774100);});},{'platform':_0x55da8c[_0x59c7fa(0x23c)](nestedKeyValue,global['__platformCaps'],[_0x55da8c[_0x59c7fa(0x1b1)]]),'hookType':_0x55da8c[_0x59c7fa(0x217)]})();},'afterEach'(_0x22e08b){const _0x29a726=a41_0x549370,_0x5a8e77={'dMAfR':function(_0x334dcb,_0x4aa330){return _0x334dcb!==_0x4aa330;},'owhoy':_0x29a726(0x1fa),'xDqgF':function(_0x5182b5,_0x6924be,_0x3ba002){return _0x5182b5(_0x6924be,_0x3ba002);},'NTMpP':function(_0x212643,_0x3a540f){return _0x212643+_0x3a540f;},'eVxxs':_0x29a726(0x1ba),'msVWf':_0x29a726(0x1e4),'cKcoY':_0x29a726(0x255),'klJQa':_0x29a726(0x1ef),'qIYgc':function(_0xe423ac,_0x4d89b3){return _0xe423ac>_0x4d89b3;},'Mplsg':function(_0x2f0f23,_0x19eda3){return _0x2f0f23===_0x19eda3;},'GHXjw':_0x29a726(0x22c),'ggEtT':function(_0x53f3a5,_0x46a712){return _0x53f3a5>_0x46a712;},'Txpbe':_0x29a726(0x1f7),'HbTQf':function(_0x1eba8b,_0x12348b,_0x21e276,_0x3e525e){return _0x1eba8b(_0x12348b,_0x21e276,_0x3e525e);},'OHUGW':_0x29a726(0x231),'oBiTn':_0x29a726(0x265),'VJGtw':_0x29a726(0x242),'UzWaW':'Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','Cqtth':_0x29a726(0x229),'lIHos':_0x29a726(0x247),'PJSmh':_0x29a726(0x226),'sfOUz':_0x29a726(0x203),'OUlcD':_0x29a726(0x1ad),'liGup':_0x29a726(0x214),'pFIsV':_0x29a726(0x1ca),'ryWkY':function(_0x4f5170){return _0x4f5170();},'HnuLQ':function(_0x186035,_0x2f6f65,_0xafaefc){return _0x186035(_0x2f6f65,_0xafaefc);},'mQyWg':function(_0x34c96f){return _0x34c96f();},'CKCYm':_0x29a726(0x1b9),'VAMUM':function(_0x5ad87f,_0x3c9056){return _0x5ad87f>_0x3c9056;},'ZnEaV':function(_0x84496e){return _0x84496e();},'eaBeb':_0x29a726(0x248),'hvpNr':_0x29a726(0x210),'bePAN':_0x29a726(0x1f2),'YvhDC':'afterEach'},_0x383fcf='browserstack internal helper hook';this[_0x29a726(0x1df)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x5a8e77[_0x29a726(0x1b6)]]),global['sessionName']=this['currentTest']['titlePath']()[_0x29a726(0x215)](_0x5a8e77[_0x29a726(0x209)]),PerformanceTester[_0x29a726(0x25a)](PerformanceSdkEvents[_0x29a726(0x1a0)],()=>{const _0x2486a2=_0x29a726,_0x57bcf3={'exOPe':_0x5a8e77[_0x2486a2(0x209)],'wMRtS':function(_0x17c726){const _0x53e861=_0x2486a2;return _0x5a8e77[_0x53e861(0x1e0)](_0x17c726);}},_0x2e3337=async(_0x3ab1f0,_0x5ae63b)=>{const _0x6a2ad4=_0x2486a2;await global[_0x6a2ad4(0x1bc)][0x0][_0x6a2ad4(0x245)](_0x6a2ad4(0x233)+_0x3ab1f0+_0x6a2ad4(0x1d8)+_0x5ae63b+'\x22}}');};new Promise(async _0x3d094f=>{const _0x52d4c8=_0x2486a2,_0x4171d5={'fZOsw':function(_0x369de6,_0x381f0b){const _0x15498e=a41_0x7a6c;return _0x5a8e77[_0x15498e(0x259)](_0x369de6,_0x381f0b);},'VCOuN':_0x5a8e77['owhoy'],'qHCnv':function(_0x5a2d9e,_0x351346,_0x500765){const _0x2435ec=a41_0x7a6c;return _0x5a8e77[_0x2435ec(0x21b)](_0x5a2d9e,_0x351346,_0x500765);},'GhkdS':function(_0x29332a,_0x206d8b){const _0x20fc7f=a41_0x7a6c;return _0x5a8e77[_0x20fc7f(0x1a4)](_0x29332a,_0x206d8b);},'LHpGr':_0x5a8e77[_0x52d4c8(0x1f1)],'PEtVC':_0x5a8e77[_0x52d4c8(0x1d9)],'VmpTE':_0x5a8e77[_0x52d4c8(0x1ee)],'nCqBL':_0x5a8e77['klJQa']};try{_0x5a8e77[_0x52d4c8(0x1da)](global['__drivers'][_0x52d4c8(0x22e)],0x1)&&(await global[_0x52d4c8(0x207)](),global[_0x52d4c8(0x1bc)]['shift'](),global['__error_messages__']=[],global[_0x52d4c8(0x1ae)]=![]);try{if(global[_0x52d4c8(0x1c0)]&&_0x5a8e77[_0x52d4c8(0x1d7)](global[_0x52d4c8(0x1c6)],_0x5a8e77[_0x52d4c8(0x1cb)])&&global[_0x52d4c8(0x1bc)][0x0]){const _0xc13fc4=_0x5a8e77[_0x52d4c8(0x1f9)](global[_0x52d4c8(0x1a5)][_0x52d4c8(0x22e)],0x0)?!!global['capabilities'][0x0][_0x52d4c8(0x22b)]||!!global[_0x52d4c8(0x1a5)][0x0][_0x5a8e77['Txpbe']]:![],_0x83a805={};_0x83a805[_0x52d4c8(0x22b)]=_0xc13fc4,await _0x5a8e77['HbTQf'](percyAutoCapture,global['__drivers'][0x0],_0x5a8e77[_0x52d4c8(0x1cb)],_0x83a805);}}catch(_0x3c0ed1){logger[_0x52d4c8(0x1b9)]('Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20'+_0x3c0ed1);}!global[_0x52d4c8(0x1c7)]&&(await PerformanceTester[_0x52d4c8(0x25a)](PerformanceAutEvents['SESSION_NAME'],async()=>{const _0xffb2a8=_0x52d4c8;await global[_0xffb2a8(0x1bc)][0x0][_0xffb2a8(0x245)](_0xffb2a8(0x1ce)+JSON['stringify'](this['currentTest'][_0xffb2a8(0x239)]()[_0xffb2a8(0x215)](_0x57bcf3['exOPe']))+'}}');})(),global[_0x52d4c8(0x1bc)][0x0][_0x52d4c8(0x25d)]=!![]),await PerformanceTester[_0x52d4c8(0x25a)](PerformanceAutEvents[_0x52d4c8(0x1ac)],async()=>{const _0x50f007=_0x52d4c8,_0x6dd641=_0x4171d5[_0x50f007(0x1d0)](this['currentTest'][_0x50f007(0x22f)],_0x4171d5[_0x50f007(0x1bd)]);_0x6dd641?(global[_0x50f007(0x1ae)]=!![],global['__error_messages__']['push'](this[_0x50f007(0x1c5)][_0x50f007(0x1d5)][_0x50f007(0x1c2)]),await _0x4171d5[_0x50f007(0x262)](_0x2e3337,JSON[_0x50f007(0x1fd)](_0x4171d5[_0x50f007(0x24f)](_0x4171d5['LHpGr'],this[_0x50f007(0x1c5)][_0x50f007(0x1d5)][_0x50f007(0x1c2)])),_0x4171d5[_0x50f007(0x1b5)])):await _0x4171d5[_0x50f007(0x262)](_0x2e3337,JSON[_0x50f007(0x1fd)](_0x4171d5[_0x50f007(0x1fe)]),_0x4171d5['nCqBL']);})();}catch(_0xb2de2b){logger[_0x52d4c8(0x1b9)](_0x52d4c8(0x1c9)+_0xb2de2b);}try{if(this['currentTest']['accessibilityScanStarted']&&globals[_0x52d4c8(0x1dc)](_0x5a8e77[_0x52d4c8(0x244)])){logger[_0x52d4c8(0x1ef)](_0x5a8e77['oBiTn']);const _0x91f87f={};_0x91f87f[_0x52d4c8(0x216)]=this[_0x52d4c8(0x1c5)][_0x52d4c8(0x24c)],_0x91f87f[_0x52d4c8(0x243)]=process['env'][testHubConstants[_0x52d4c8(0x1e2)][_0x52d4c8(0x19d)]],_0x91f87f[_0x52d4c8(0x1aa)]=process[_0x52d4c8(0x23b)][testHubConstants[_0x52d4c8(0x1e2)][_0x52d4c8(0x1fb)]];const _0x5e6263=_0x91f87f;logger['debug'](_0x52d4c8(0x256)+JSON[_0x52d4c8(0x1fd)](_0x5e6263));if(globals[_0x52d4c8(0x1dc)](_0x5a8e77[_0x52d4c8(0x1d6)])){logger['debug'](_0x5a8e77[_0x52d4c8(0x21f)]);const _0x2db91e={};_0x2db91e[_0x52d4c8(0x1a6)]=_0x5a8e77[_0x52d4c8(0x223)];const _0x458474=await PerformanceTester[_0x52d4c8(0x25a)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x8b8cf4=_0x52d4c8;return await accessibilityRetryHelper[_0x8b8cf4(0x1f0)](global[_0x8b8cf4(0x1bc)][0x0],global['browserstackSessionName']);},_0x2db91e)();_0x458474?logger['debug'](_0x5a8e77[_0x52d4c8(0x1a1)]):logger[_0x52d4c8(0x20e)](_0x5a8e77[_0x52d4c8(0x1af)]);}else logger[_0x52d4c8(0x1b9)](_0x5a8e77[_0x52d4c8(0x246)]);const _0x34c04c=await PerformanceTester[_0x52d4c8(0x25a)](PerformanceA11yEvents[_0x52d4c8(0x21d)],async()=>{const _0xe40d07=_0x52d4c8;return await accessibilityRetryHelper[_0xe40d07(0x1e7)](global[_0xe40d07(0x1bc)][0x0],_0x5e6263);})();_0x34c04c?logger['debug'](_0x5a8e77[_0x52d4c8(0x225)]):logger[_0x52d4c8(0x20e)](_0x5a8e77[_0x52d4c8(0x23a)]),logger['info'](_0x5a8e77[_0x52d4c8(0x236)]);}}catch(_0x289745){logger['error']('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20'+this[_0x52d4c8(0x1c5)][_0x52d4c8(0x239)]()+_0x52d4c8(0x1e6),_0x289745);}try{try{if(_0x5a8e77[_0x52d4c8(0x1c3)](shouldProcessEventForTesthub)){global[_0x52d4c8(0x1bc)][0x0]&&await _0x5a8e77['HnuLQ'](sendPlatformDetails,global[_0x52d4c8(0x1bc)][0x0],this[_0x52d4c8(0x1c5)]?this[_0x52d4c8(0x1c5)][_0x52d4c8(0x24c)]:null);if(_0x5a8e77[_0x52d4c8(0x1e0)](isBrowserstackInfra)){PerformanceTester[_0x52d4c8(0x1cd)](PerformanceO11yEvents[_0x52d4c8(0x22d)]);const _0x1fb4f7=_0x52d4c8(0x1b4)+Date[_0x52d4c8(0x263)]();await _0x5a8e77[_0x52d4c8(0x21b)](_0x2e3337,JSON[_0x52d4c8(0x1fd)](_0x1fb4f7),_0x5a8e77[_0x52d4c8(0x230)]),PerformanceTester[_0x52d4c8(0x1e3)](PerformanceO11yEvents['SYNC']);}}}catch(_0x3a768d){logger['debug'](_0x52d4c8(0x1cf)+_0x3a768d),PerformanceTester[_0x52d4c8(0x1e3)](PerformanceO11yEvents[_0x52d4c8(0x22d)],![],_0x3a768d);}_0x5a8e77[_0x52d4c8(0x1e8)](global['__drivers'][0x0][_0x52d4c8(0x1b3)],0x0)&&await global[_0x52d4c8(0x207)]();}catch(_0x44d7c6){logger[_0x52d4c8(0x1b9)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x44d7c6);}_0x5a8e77[_0x52d4c8(0x1ed)](_0x3d094f);})['then'](()=>{const _0x371681=_0x2486a2;_0x57bcf3[_0x371681(0x24d)](_0x22e08b);});},{'platform':_0x5a8e77[_0x29a726(0x228)](nestedKeyValue,global[_0x29a726(0x234)],[_0x5a8e77[_0x29a726(0x1f5)]]),'hookType':_0x5a8e77[_0x29a726(0x213)]})();},'afterAll'(_0x3f0523){const _0x1b4d10=a41_0x549370,_0x35ff56={'dEOqQ':function(_0x2f6786){return _0x2f6786();},'sIMLy':_0x1b4d10(0x210),'xQSyk':function(_0x3041be,_0x35a944,_0x4d2b71){return _0x3041be(_0x35a944,_0x4d2b71);},'pWwmP':'index','gtpxU':_0x1b4d10(0x21e)},_0x5501c5='browserstack internal helper hook';this[_0x1b4d10(0x1df)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x35ff56[_0x1b4d10(0x204)]]),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x1b4d10(0x1a0)],()=>{const _0xbf1232=_0x1b4d10,_0x4d8ef2={'kwecY':function(_0x2a3b0c){return _0x35ff56['dEOqQ'](_0x2a3b0c);}};new Promise(async _0x2afe65=>{const _0xae8f9e=a41_0x7a6c;await global['driverCleanup'](),_0x4d8ef2[_0xae8f9e(0x1e5)](_0x2afe65);})[_0xbf1232(0x1bb)]()[_0xbf1232(0x20f)](()=>{_0x35ff56['dEOqQ'](_0x3f0523);});},{'platform':_0x35ff56['xQSyk'](nestedKeyValue,global[_0x1b4d10(0x234)],[_0x35ff56[_0x1b4d10(0x1d3)]]),'hookType':_0x35ff56['gtpxU']})();}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a42_0x4eb707=a42_0x3784;(function(_0x37e6aa,_0x1ac015){const _0x371c41=a42_0x3784,_0x1a5888=_0x37e6aa();while(!![]){try{const _0x171a58=-parseInt(_0x371c41(0xd3))/0x1+parseInt(_0x371c41(0x132))/0x2*(-parseInt(_0x371c41(0xd1))/0x3)+parseInt(_0x371c41(0x109))/0x4*(parseInt(_0x371c41(0x102))/0x5)+parseInt(_0x371c41(0xd5))/0x6+parseInt(_0x371c41(0x142))/0x7+-parseInt(_0x371c41(0xdf))/0x8*(-parseInt(_0x371c41(0xeb))/0x9)+parseInt(_0x371c41(0x104))/0xa;if(_0x171a58===_0x1ac015)break;else _0x1a5888['push'](_0x1a5888['shift']());}catch(_0x215ae9){_0x1a5888['push'](_0x1a5888['shift']());}}}(a42_0x1478,0x3afd5));function a42_0x1478(){const _0xb3d283=['cXLiV','obBwW','failures','BDWgI','index.js','true','BjSJt','YWwOk','bAWrh','winstonLogger','BROWSERSTACK_TEST_OBSERVABILITY_YML','iigha','scriptRunner.js','configPath','Enhbe','slice','join','../../helpers/test-observability/requestQueueHandler','browserstack','exports','../v2/cliUtils','isRunning','run','createRequire','message','shutdown','cliConfig','child_process','../../helpers/testhub/testhubHandler','pkOmR','_resolveFilename','2cmpGGc','QiwRT','newman/bin/newman','exitCode','DhbMM','vXvoD','oXPba','PkxMk','call','WHbIu','package.json','yvWmx','rcaFT','setBrowserstackConfig','tcuVW','BROWSERSTACK_AUTOMATION','1061319pnuiOX','QaLWn','zUPDb','DNgId','GFPoR','Newman\x20is\x20not\x20installed.\x20Please\x20install\x20newman:\x20npm\x20install\x20newman','GbAOI','GGSOT','rUlxf','length','config','1176828HBVLMq','assign','263410GVEKRa','cnFre','1139628GfAmIx','concat','jFqFV','.js','warn','setFrameworkDetail','twqDg','--reporters','getInstance','bootstrap','72zSBCQq','../../helpers/helper','newman-reporter-browserstack','WNxvj','NXbKF','null','false','hrbpx','ZOGyE','resolve','grvjO','nujLu','422622XiPwGu','parallelsPerPlatform','Wfghv','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','indexOf','LoWDU','KgYwF','blMwc','close','module','cBocb','OXNNN','NWEQJ','error','push','newman','Failed\x20to\x20launch\x20build:\x20','BRDLS','[Newman]\x20Test\x20Observability\x20build\x20was\x20not\x20created.\x20No\x20build\x20link\x20available.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','stop','Failed\x20to\x20bootstrap\x20CLI:\x20','LefHF','endsWith','17385jnDOmf','testObservability','1087910MemFCp','FzaPE','NEWMAN','Newman\x20CLI\x20not\x20found:\x20','oWlNo','28rqxPAS','rarSq','sbkpB','env','leuqW','BROWSERSTACK_TESTHUB_JWT','zETKt','jsUBe','RsNcs','NerRO'];a42_0x1478=function(){return _0xb3d283;};return a42_0x1478();}const path=require('path'),Module=require(a42_0x4eb707(0xf4)),{fork}=require(a42_0x4eb707(0x12e)),logger=require('../../helpers/logger')[a42_0x4eb707(0x11c)],helper=require(a42_0x4eb707(0xe0)),TestHubHandler=require(a42_0x4eb707(0x12f)),RequestQueueHandler=require(a42_0x4eb707(0x124)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{printBuildLink}=require('../../helpers/test-observability/utils'),BrowserstackCLI=require('../v2/browserstackCLI'),CLIUtils=require(a42_0x4eb707(0x127));function registerBrowserStackReporter(){const _0xde98e8=a42_0x4eb707,_0xf6ea52={};_0xf6ea52['rarSq']=function(_0xe20b20,_0x403fc3){return _0xe20b20===_0x403fc3;},_0xf6ea52[_0xde98e8(0x133)]=_0xde98e8(0xe1),_0xf6ea52['WNxvj']='reporter',_0xf6ea52[_0xde98e8(0xd4)]=_0xde98e8(0x117);const _0x30c3f3=_0xf6ea52,_0x34ffab=path[_0xde98e8(0x123)](__dirname,_0x30c3f3[_0xde98e8(0xe2)],_0x30c3f3[_0xde98e8(0xd4)]),_0x13369d=Module[_0xde98e8(0x131)];Module[_0xde98e8(0x131)]=function(_0x52eae5,_0x497756,_0x561019,_0x56c36b){const _0x4abbea=_0xde98e8;if(_0x30c3f3[_0x4abbea(0x10a)](_0x52eae5,_0x30c3f3['QiwRT']))return _0x34ffab;return _0x13369d[_0x4abbea(0x13a)](this,_0x52eae5,_0x497756,_0x561019,_0x56c36b);};}function injectReporterIntoArgs(_0x178c2c){const _0x3e5379=a42_0x4eb707,_0x3f39af={};_0x3f39af[_0x3e5379(0x111)]=function(_0xbf6f7e,_0x5f4f6d){return _0xbf6f7e<_0x5f4f6d;},_0x3f39af[_0x3e5379(0xe6)]=function(_0x15a88a,_0x3ed215){return _0x15a88a===_0x3ed215;},_0x3f39af[_0x3e5379(0x13d)]=function(_0x71581b,_0x2be7ce){return _0x71581b===_0x2be7ce;},_0x3f39af[_0x3e5379(0xe3)]=_0x3e5379(0xdc),_0x3f39af[_0x3e5379(0x140)]=function(_0x560aa3,_0x2da932){return _0x560aa3+_0x2da932;},_0x3f39af[_0x3e5379(0x119)]=function(_0x26f533,_0x5986a3){return _0x26f533===_0x5986a3;},_0x3f39af[_0x3e5379(0x11a)]=_0x3e5379(0x125),_0x3f39af[_0x3e5379(0x13e)]=',browserstack',_0x3f39af[_0x3e5379(0xf6)]='cli,browserstack';const _0xfe505d=_0x3f39af,_0x4b96a1=_0x178c2c[_0x3e5379(0x122)]();for(let _0x30e4aa=0x0;_0xfe505d[_0x3e5379(0x111)](_0x30e4aa,_0x4b96a1['length']);_0x30e4aa++){if(_0xfe505d[_0x3e5379(0xe6)](_0x4b96a1[_0x30e4aa],'-r')||_0xfe505d[_0x3e5379(0x13d)](_0x4b96a1[_0x30e4aa],_0xfe505d[_0x3e5379(0xe3)]))return _0x4b96a1[_0xfe505d[_0x3e5379(0x140)](_0x30e4aa,0x1)]&&_0xfe505d['BjSJt'](_0x4b96a1[_0xfe505d[_0x3e5379(0x140)](_0x30e4aa,0x1)][_0x3e5379(0xef)](_0xfe505d[_0x3e5379(0x11a)]),-0x1)&&(_0x4b96a1[_0xfe505d[_0x3e5379(0x140)](_0x30e4aa,0x1)]+=_0xfe505d[_0x3e5379(0x13e)]),_0x4b96a1;}return _0x4b96a1[_0x3e5379(0xf9)]('-r',_0xfe505d[_0x3e5379(0xf6)]),_0x4b96a1;}function runNewmanCLI(_0xa76f8c){const _0x4bd14c=a42_0x4eb707,_0x251462={'cdAei':function(_0x113998,_0x516f93){return _0x113998>_0x516f93;},'Wfghv':function(_0x152ff6,_0x2853eb){return _0x152ff6(_0x2853eb);},'sbkpB':function(_0x2db3be,_0x35fe28,_0x505985){return _0x2db3be(_0x35fe28,_0x505985);},'WHbIu':_0x4bd14c(0xfa),'iigha':_0x4bd14c(0xcb),'twqDg':_0x4bd14c(0xf4),'zUPDb':_0x4bd14c(0x13c),'DNgId':function(_0x256160,_0x41545d){return _0x256160(_0x41545d);},'bAWrh':_0x4bd14c(0x134),'grvjO':'node','oXPba':function(_0x5d3767,_0x1eb545){return _0x5d3767+_0x1eb545;},'jFqFV':_0x4bd14c(0x107),'zETKt':function(_0x2da0c4,_0x329f54){return _0x2da0c4(_0x329f54);}};return new Promise(_0x480960=>{const _0x577759=_0x4bd14c,_0x2c8e00={'cXLiV':function(_0xc1cfb7,_0x35194e){return _0x251462['cdAei'](_0xc1cfb7,_0x35194e);},'MIhFz':function(_0x1222fc,_0x146cd4){return _0x251462['Wfghv'](_0x1222fc,_0x146cd4);},'NerRO':function(_0x3209bc,_0x16380e,_0x347c08){const _0x2b905b=a42_0x3784;return _0x251462[_0x2b905b(0x10b)](_0x3209bc,_0x16380e,_0x347c08);}};let _0x143de4;try{_0x143de4=helper['requireModule'](_0x251462[_0x577759(0x13b)],_0x251462[_0x577759(0x13b)]);}catch(_0x2e6a06){return logger[_0x577759(0xf8)](_0x251462[_0x577759(0x11e)]),_0x251462[_0x577759(0xed)](_0x480960,0x1);}const _0x14c33e=_0x143de4[_0x577759(0x129)];_0x143de4['run']=function(_0x1debab,_0x7e88be){const _0x194a69=_0x577759,_0x10c391={'BRDLS':function(_0x23a9d5,_0x362b0a){const _0x994849=a42_0x3784;return _0x2c8e00[_0x994849(0x113)](_0x23a9d5,_0x362b0a);},'QaLWn':function(_0x2bbe44,_0x4edf53){return _0x2c8e00['MIhFz'](_0x2bbe44,_0x4edf53);},'NWEQJ':function(_0x43ba36,_0x543b1d,_0x1c4f4f){const _0x3cd21c=a42_0x3784;return _0x2c8e00[_0x3cd21c(0x112)](_0x43ba36,_0x543b1d,_0x1c4f4f);}};return _0x143de4[_0x194a69(0x129)]=_0x14c33e,_0x14c33e[_0x194a69(0x13a)](_0x143de4,_0x1debab,(_0x444d3a,_0x33d85)=>{const _0x46aa06=_0x194a69,_0x2727c3=_0x33d85&&_0x33d85[_0x46aa06(0x129)]&&(_0x33d85[_0x46aa06(0x129)][_0x46aa06(0xf8)]||_0x33d85[_0x46aa06(0x129)][_0x46aa06(0x115)]&&_0x10c391[_0x46aa06(0xfc)](_0x33d85['run'][_0x46aa06(0x115)][_0x46aa06(0xcf)],0x0));_0x10c391[_0x46aa06(0x143)](_0x480960,_0x2727c3?0x1:0x0),_0x7e88be&&_0x10c391[_0x46aa06(0xf7)](_0x7e88be,_0x444d3a,_0x33d85);});};try{const _0x56dd92=_0x251462[_0x577759(0xed)](require,_0x251462[_0x577759(0xdb)])[_0x577759(0x12a)](path[_0x577759(0x123)](process['cwd'](),_0x251462[_0x577759(0x144)]));_0x251462[_0x577759(0x145)](_0x56dd92,_0x251462[_0x577759(0x11b)])([_0x251462[_0x577759(0xe9)],_0x251462['WHbIu']][_0x577759(0xd6)](_0xa76f8c));}catch(_0x5eeaea){_0x143de4[_0x577759(0x129)]=_0x14c33e,logger[_0x577759(0xf8)](_0x251462[_0x577759(0x138)](_0x251462[_0x577759(0xd7)],_0x5eeaea[_0x577759(0x12b)])),_0x251462[_0x577759(0x10f)](_0x480960,0x1);}});}function runNewmanScript(_0x17cfbc,_0x31b6c7){const _0x2d8f19=a42_0x4eb707,_0x729eae={'ZOGyE':function(_0x2545c3,_0x5d8631){return _0x2545c3(_0x5d8631);},'GbAOI':function(_0x5f03f5,_0x191b14){return _0x5f03f5||_0x191b14;},'nujLu':function(_0x10e14b,_0x208b77,_0x311e96,_0x544e44){return _0x10e14b(_0x208b77,_0x311e96,_0x544e44);},'obBwW':_0x2d8f19(0x11f),'KgYwF':function(_0x2ca3d2,_0x3c7992){return _0x2ca3d2(_0x3c7992);},'cBocb':'inherit','jsUBe':_0x2d8f19(0xf3)};return new Promise(function(_0x13d9ad){const _0x5d31d8=_0x2d8f19,_0x1030b5=_0x729eae[_0x5d31d8(0xea)](fork,path[_0x5d31d8(0x123)](__dirname,_0x729eae[_0x5d31d8(0x114)]),[_0x17cfbc,_0x729eae[_0x5d31d8(0xf1)](String,_0x729eae[_0x5d31d8(0xcc)](_0x31b6c7,0x0))],{'stdio':_0x729eae[_0x5d31d8(0xf5)],'env':Object[_0x5d31d8(0xd2)]({},process['env'])});_0x1030b5['on'](_0x729eae[_0x5d31d8(0x110)],function(_0x426265){const _0x28adef=_0x5d31d8;_0x729eae[_0x28adef(0xe7)](_0x13d9ad,_0x729eae[_0x28adef(0xcc)](_0x426265,0x0));});});}function hasO11yBuild(){const _0x58a3d5=a42_0x4eb707,_0x1e1ccf={};_0x1e1ccf[_0x58a3d5(0x116)]=function(_0x257d7a,_0xc2acfd){return _0x257d7a!==_0xc2acfd;},_0x1e1ccf[_0x58a3d5(0x136)]=_0x58a3d5(0xe4);const _0x302e94=_0x1e1ccf;return!!(BrowserstackCLI['O11yHashedID']||process[_0x58a3d5(0x10c)][_0x58a3d5(0x10e)]&&_0x302e94[_0x58a3d5(0x116)](process['env']['BROWSERSTACK_TESTHUB_JWT'],_0x302e94[_0x58a3d5(0x136)]));}function a42_0x3784(_0x1da524,_0x47dc92){const _0x147867=a42_0x1478();return a42_0x3784=function(_0x378413,_0x3abb7a){_0x378413=_0x378413-0xca;let _0x372958=_0x147867[_0x378413];return _0x372958;},a42_0x3784(_0x1da524,_0x47dc92);}function runWithoutObservability(_0x10cb97,_0x215cb3){const _0x5f3e3a=a42_0x4eb707,_0x657ea5={'leuqW':function(_0x21ff0d,_0x38798e){return _0x21ff0d(_0x38798e);}};if(_0x10cb97)return _0x657ea5['leuqW'](require,path[_0x5f3e3a(0xe8)](_0x10cb97)),0x0;return _0x657ea5[_0x5f3e3a(0x10d)](runNewmanCLI,_0x215cb3);}module[a42_0x4eb707(0x126)]=async function(_0x2e613c,_0x353e0c,_0x57fdf4){const _0x2e1ffe=a42_0x4eb707,_0x26b71c={'VSpzj':_0x2e1ffe(0xd8),'LefHF':function(_0x3032d4,_0xf3cba){return _0x3032d4===_0xf3cba;},'oWlNo':_0x2e1ffe(0xe5),'rUlxf':function(_0x16ada8,_0x4d70f9,_0x1cf54d){return _0x16ada8(_0x4d70f9,_0x1cf54d);},'GSpyc':function(_0x4bddd5,_0x455b0e){return _0x4bddd5!=_0x455b0e;},'GGSOT':_0x2e1ffe(0x118),'blMwc':'newman','azWKx':function(_0x312721,_0x12c2a0){return _0x312721+_0x12c2a0;},'BHQwS':_0x2e1ffe(0xff),'xxMEE':function(_0x2a40f0,_0x5acb33){return _0x2a40f0+_0x5acb33;},'Enhbe':_0x2e1ffe(0xfb),'GFPoR':function(_0x212129){return _0x212129();},'pkOmR':'[Newman]\x20Test\x20Observability\x20build\x20creation\x20failed.\x20Tests\x20will\x20run\x20but\x20results\x20will\x20not\x20appear\x20on\x20the\x20BrowserStack\x20dashboard.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','LoWDU':function(_0x5a8e20){return _0x5a8e20();},'FzaPE':function(_0x4db95a,_0x1a6e7c){return _0x4db95a(_0x1a6e7c);},'dkrYL':function(_0x1823aa,_0x321676){return _0x1823aa(_0x321676);},'vXvoD':function(_0x3c4c06){return _0x3c4c06();},'PkxMk':_0x2e1ffe(0xfd)},_0x3d7f9a=_0x353e0c[_0x2e1ffe(0x122)](0x1),_0x11ee92=_0x3d7f9a[0x0]&&_0x3d7f9a[0x0][_0x2e1ffe(0x101)](_0x26b71c['VSpzj'])?_0x3d7f9a[0x0]:null;if(!_0x57fdf4[_0x2e1ffe(0xd0)]||_0x26b71c[_0x2e1ffe(0x100)](_0x57fdf4[_0x2e1ffe(0xd0)][_0x2e1ffe(0x103)],![])||_0x26b71c[_0x2e1ffe(0x100)](_0x57fdf4[_0x2e1ffe(0xd0)][_0x2e1ffe(0x103)],_0x26b71c[_0x2e1ffe(0x108)])){process[_0x2e1ffe(0x135)]=await _0x26b71c[_0x2e1ffe(0xce)](runWithoutObservability,_0x11ee92,_0x3d7f9a)||0x0;return;}process[_0x2e1ffe(0x10c)][_0x2e1ffe(0x141)]=_0x26b71c['oWlNo'],process[_0x2e1ffe(0x10c)][_0x2e1ffe(0xee)]=_0x26b71c[_0x2e1ffe(0x108)],process[_0x2e1ffe(0x10c)][_0x2e1ffe(0x11d)]=_0x26b71c['GSpyc'](_0x57fdf4[_0x2e1ffe(0xd0)][_0x2e1ffe(0x103)],null)?_0x57fdf4['config'][_0x2e1ffe(0x103)]:_0x26b71c[_0x2e1ffe(0xcd)],CLIUtils[_0x2e1ffe(0xda)](_0x26b71c[_0x2e1ffe(0xf2)],_0x26b71c['blMwc']),BrowserstackCLI[_0x2e1ffe(0xdd)]()[_0x2e1ffe(0x13f)](_0x57fdf4['config'],_0x57fdf4[_0x2e1ffe(0x120)],_0x57fdf4[_0x2e1ffe(0x12d)]);try{await BrowserstackCLI['getInstance']()[_0x2e1ffe(0xde)]();}catch(_0x3ba53f){logger[_0x2e1ffe(0xf8)](_0x26b71c['azWKx'](_0x26b71c['BHQwS'],_0x3ba53f[_0x2e1ffe(0x12b)]||_0x3ba53f));}if(!BrowserstackCLI[_0x2e1ffe(0xdd)]()[_0x2e1ffe(0x128)]())try{await TestHubHandler['launchBuild'](FRAMEWORKS[_0x2e1ffe(0x106)],_0x57fdf4);}catch(_0x2c717f){logger[_0x2e1ffe(0xf8)](_0x26b71c['xxMEE'](_0x26b71c[_0x2e1ffe(0x121)],_0x2c717f['message']||_0x2c717f));}!_0x26b71c[_0x2e1ffe(0xca)](hasO11yBuild)&&logger[_0x2e1ffe(0xd9)](_0x26b71c[_0x2e1ffe(0x130)]);_0x26b71c[_0x2e1ffe(0xf0)](registerBrowserStackReporter);let _0x1f6f82;_0x11ee92?_0x1f6f82=await _0x26b71c[_0x2e1ffe(0xce)](runNewmanScript,_0x11ee92,_0x57fdf4[_0x2e1ffe(0xd0)][_0x2e1ffe(0xec)]):_0x1f6f82=await _0x26b71c[_0x2e1ffe(0x105)](runNewmanCLI,_0x26b71c['dkrYL'](injectReporterIntoArgs,_0x3d7f9a));try{await TestHubHandler['stop']();}catch(_0x369001){}try{await BrowserstackCLI[_0x2e1ffe(0xdd)]()[_0x2e1ffe(0xfe)]();}catch(_0x2a9baa){}try{await RequestQueueHandler[_0x2e1ffe(0xdd)]()[_0x2e1ffe(0x12c)]();}catch(_0x5819e9){}if(_0x26b71c['vXvoD'](hasO11yBuild))try{_0x26b71c[_0x2e1ffe(0x137)](printBuildLink);}catch(_0x113a81){}else logger[_0x2e1ffe(0xd9)](_0x26b71c[_0x2e1ffe(0x139)]);process[_0x2e1ffe(0x135)]=_0x1f6f82;};
2
+ 'use strict';function a42_0x282f(){const _0x41f09d=['fHJZQ','mfLGX','reporter','MbHUY','UlrsH','Failed\x20to\x20launch\x20build:\x20','24LFcVaa','17485GKUuae','resolve','.js','slice','createRequire','run','BROWSERSTACK_TEST_OBSERVABILITY_YML','CDZXo','Mwwiw','cli,browserstack','bciIX','../../helpers/test-observability/utils','NzjlG','rRKHO','BHxsP','assign','rfmuY','SvzGu','_resolveFilename','GquWv','NEWMAN','winstonLogger','../v2/cliUtils','concat','ZLkQi','zyDya','isRunning','cwd','parallelsPerPlatform','606745HVZIIM','eCfQa','747492RmYSQx','--reporters','../../helpers/test-observability/requestQueueHandler','true','newman/bin/newman','GJzFA','lDWPt','dcFkE','RBQRO','gylyC','29211HIRWXk','GcyUz','CzhgC','ALVXX','length','failures','exports','call','env','configPath','nxSnb','gtMpk','ZMGzE','../../helpers/testhub/testhubHandler','PKBuN','module','stop','false','warn','dgnuM','aTonV','../../helpers/test-observability/constants','vGool','TSvEa','browserstack','72iIkQGx','BROWSERSTACK_AUTOMATION','1010270nJQfrs','iBnvT','config','error','ufNJW',',browserstack','yHBFr','scriptRunner.js','58XngnhI','node','KHQxU','message','[Newman]\x20Test\x20Observability\x20build\x20creation\x20failed.\x20Tests\x20will\x20run\x20but\x20results\x20will\x20not\x20appear\x20on\x20the\x20BrowserStack\x20dashboard.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','QqJNT','VcpcM','../../helpers/logger','path','GtTBy','join','newman','null','wckHS','3606360DwBrFp','vDbZU','vYfJX','fSnry','329961XKKmMA','child_process','pKQEw','../../helpers/helper','NYNYb','requireModule','testObservability','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','getInstance','Newman\x20is\x20not\x20installed.\x20Please\x20install\x20newman:\x20npm\x20install\x20newman','exitCode','[Newman]\x20Test\x20Observability\x20build\x20was\x20not\x20created.\x20No\x20build\x20link\x20available.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','BROWSERSTACK_TESTHUB_JWT','cliConfig','inherit','TIPue','ytmFD','RjQgh','FIpmB','indexOf','iemgJ','setBrowserstackConfig','O11yHashedID','Failed\x20to\x20bootstrap\x20CLI:\x20','LKXRc','zvOJB','WotQZ'];a42_0x282f=function(){return _0x41f09d;};return a42_0x282f();}const a42_0x2c8c19=a42_0x4ca4;(function(_0xac73dc,_0x3e96bf){const _0x1441b3=a42_0x4ca4,_0x24a75b=_0xac73dc();while(!![]){try{const _0x14c3ce=-parseInt(_0x1441b3(0xaa))/0x1*(parseInt(_0x1441b3(0xf6))/0x2)+parseInt(_0x1441b3(0x108))/0x3+-parseInt(_0x1441b3(0xc9))/0x4+parseInt(_0x1441b3(0xc7))/0x5*(parseInt(_0x1441b3(0x129))/0x6)+-parseInt(_0x1441b3(0xd3))/0x7+-parseInt(_0x1441b3(0x104))/0x8+-parseInt(_0x1441b3(0xec))/0x9*(-parseInt(_0x1441b3(0xee))/0xa);if(_0x14c3ce===_0x3e96bf)break;else _0x24a75b['push'](_0x24a75b['shift']());}catch(_0x2753c6){_0x24a75b['push'](_0x24a75b['shift']());}}}(a42_0x282f,0x3e2e5));const path=require(a42_0x2c8c19(0xfe)),Module=require(a42_0x2c8c19(0xe2)),{fork}=require(a42_0x2c8c19(0x109)),logger=require(a42_0x2c8c19(0xfd))[a42_0x2c8c19(0xbf)],helper=require(a42_0x2c8c19(0x10b)),TestHubHandler=require(a42_0x2c8c19(0xe0)),RequestQueueHandler=require(a42_0x2c8c19(0xcb)),{FRAMEWORKS}=require(a42_0x2c8c19(0xe8)),{printBuildLink}=require(a42_0x2c8c19(0xb5)),BrowserstackCLI=require('../v2/browserstackCLI'),CLIUtils=require(a42_0x2c8c19(0xc0));function a42_0x4ca4(_0x3c3e0f,_0x5f7075){const _0x282fe4=a42_0x282f();return a42_0x4ca4=function(_0x4ca49b,_0x1d25c8){_0x4ca49b=_0x4ca49b-0xaa;let _0x2b3e0d=_0x282fe4[_0x4ca49b];return _0x2b3e0d;},a42_0x4ca4(_0x3c3e0f,_0x5f7075);}function registerBrowserStackReporter(){const _0x5829a4=a42_0x2c8c19,_0x57a427={};_0x57a427['GJzFA']=function(_0x331218,_0x59844b){return _0x331218===_0x59844b;},_0x57a427[_0x5829a4(0x103)]='newman-reporter-browserstack',_0x57a427[_0x5829a4(0x107)]=_0x5829a4(0x125),_0x57a427[_0x5829a4(0xdd)]='index.js';const _0x52c7d9=_0x57a427,_0x46078d=path[_0x5829a4(0x100)](__dirname,_0x52c7d9[_0x5829a4(0x107)],_0x52c7d9['nxSnb']),_0x582daf=Module[_0x5829a4(0xbc)];Module['_resolveFilename']=function(_0x30239f,_0x5b61ce,_0x44873a,_0x42890d){const _0x76cd3f=_0x5829a4;if(_0x52c7d9[_0x76cd3f(0xce)](_0x30239f,_0x52c7d9[_0x76cd3f(0x103)]))return _0x46078d;return _0x582daf[_0x76cd3f(0xda)](this,_0x30239f,_0x5b61ce,_0x44873a,_0x42890d);};}function injectReporterIntoArgs(_0x22c4ad){const _0x483e7c=a42_0x2c8c19,_0x49ab5f={};_0x49ab5f['oaxhe']=function(_0x317bd8,_0x4378df){return _0x317bd8<_0x4378df;},_0x49ab5f[_0x483e7c(0xfb)]=function(_0x40960a,_0x15e2a3){return _0x40960a===_0x15e2a3;},_0x49ab5f['VcpcM']=_0x483e7c(0xca),_0x49ab5f[_0x483e7c(0xb8)]=function(_0x5ce362,_0x214221){return _0x5ce362+_0x214221;},_0x49ab5f[_0x483e7c(0xbb)]=function(_0x5f4e26,_0x3ee59c){return _0x5f4e26+_0x3ee59c;},_0x49ab5f[_0x483e7c(0xf2)]=_0x483e7c(0xeb),_0x49ab5f[_0x483e7c(0x10c)]=_0x483e7c(0xf3),_0x49ab5f[_0x483e7c(0x122)]=_0x483e7c(0xb3);const _0x58f058=_0x49ab5f,_0x3fd6ac=_0x22c4ad[_0x483e7c(0xad)]();for(let _0x42ae4e=0x0;_0x58f058['oaxhe'](_0x42ae4e,_0x3fd6ac[_0x483e7c(0xd7)]);_0x42ae4e++){if(_0x58f058[_0x483e7c(0xfb)](_0x3fd6ac[_0x42ae4e],'-r')||_0x58f058[_0x483e7c(0xfb)](_0x3fd6ac[_0x42ae4e],_0x58f058[_0x483e7c(0xfc)]))return _0x3fd6ac[_0x58f058[_0x483e7c(0xb8)](_0x42ae4e,0x1)]&&_0x58f058['QqJNT'](_0x3fd6ac[_0x58f058[_0x483e7c(0xbb)](_0x42ae4e,0x1)][_0x483e7c(0x11b)](_0x58f058['ufNJW']),-0x1)&&(_0x3fd6ac[_0x58f058[_0x483e7c(0xb8)](_0x42ae4e,0x1)]+=_0x58f058[_0x483e7c(0x10c)]),_0x3fd6ac;}return _0x3fd6ac['push']('-r',_0x58f058[_0x483e7c(0x122)]),_0x3fd6ac;}function runNewmanCLI(_0x2317fc){const _0x29f7c6=a42_0x2c8c19,_0x46630b={'iemgJ':function(_0x33bd55,_0xe0108b){return _0x33bd55>_0xe0108b;},'Mwwiw':function(_0x32867f,_0x3eff35){return _0x32867f(_0x3eff35);},'TIPue':function(_0xe075d3,_0x324509,_0x3134b7){return _0xe075d3(_0x324509,_0x3134b7);},'zvOJB':_0x29f7c6(0x101),'RjQgh':_0x29f7c6(0x111),'iBnvT':function(_0x444dec,_0x5596ae){return _0x444dec(_0x5596ae);},'KHQxU':_0x29f7c6(0xe2),'rRKHO':'package.json','GquWv':function(_0x3a691f,_0x135fe8){return _0x3a691f(_0x135fe8);},'eCfQa':_0x29f7c6(0xcd),'gtMpk':_0x29f7c6(0xf7),'PKBuN':function(_0x53ea94,_0xe1d478){return _0x53ea94+_0xe1d478;},'pKQEw':'Newman\x20CLI\x20not\x20found:\x20','dcFkE':function(_0x22ebb5,_0x5df307){return _0x22ebb5(_0x5df307);}};return new Promise(_0x3ebc07=>{const _0x237675=_0x29f7c6,_0x3a4d08={'CzhgC':function(_0x307525,_0x6bb872){const _0x1298af=a42_0x4ca4;return _0x46630b[_0x1298af(0x11c)](_0x307525,_0x6bb872);},'FIpmB':function(_0x45450b,_0x32c7c5){return _0x46630b['Mwwiw'](_0x45450b,_0x32c7c5);},'fHJZQ':function(_0x856826,_0x585d8d,_0x3d8bd5){const _0x338f9e=a42_0x4ca4;return _0x46630b[_0x338f9e(0x117)](_0x856826,_0x585d8d,_0x3d8bd5);}};let _0x4fac7c;try{_0x4fac7c=helper[_0x237675(0x10d)](_0x46630b[_0x237675(0x121)],_0x46630b['zvOJB']);}catch(_0x4c664d){return logger[_0x237675(0xf1)](_0x46630b[_0x237675(0x119)]),_0x46630b[_0x237675(0xb2)](_0x3ebc07,0x1);}const _0x5cc869=_0x4fac7c['run'];_0x4fac7c[_0x237675(0xaf)]=function(_0x2c64c0,_0x42f67a){const _0x2f776b=_0x237675;return _0x4fac7c[_0x2f776b(0xaf)]=_0x5cc869,_0x5cc869[_0x2f776b(0xda)](_0x4fac7c,_0x2c64c0,(_0x1ecb1d,_0x40d37c)=>{const _0xb3d2a7=_0x2f776b,_0x51318a=_0x40d37c&&_0x40d37c['run']&&(_0x40d37c[_0xb3d2a7(0xaf)][_0xb3d2a7(0xf1)]||_0x40d37c['run'][_0xb3d2a7(0xd8)]&&_0x3a4d08[_0xb3d2a7(0xd5)](_0x40d37c[_0xb3d2a7(0xaf)][_0xb3d2a7(0xd8)][_0xb3d2a7(0xd7)],0x0));_0x3a4d08[_0xb3d2a7(0x11a)](_0x3ebc07,_0x51318a?0x1:0x0),_0x42f67a&&_0x3a4d08[_0xb3d2a7(0x123)](_0x42f67a,_0x1ecb1d,_0x40d37c);});};try{const _0x8bbed5=_0x46630b[_0x237675(0xef)](require,_0x46630b[_0x237675(0xf8)])[_0x237675(0xae)](path[_0x237675(0x100)](process[_0x237675(0xc5)](),_0x46630b[_0x237675(0xb7)]));_0x46630b[_0x237675(0xbd)](_0x8bbed5,_0x46630b[_0x237675(0xc8)])([_0x46630b[_0x237675(0xde)],_0x46630b[_0x237675(0x121)]][_0x237675(0xc1)](_0x2317fc));}catch(_0x2ae919){_0x4fac7c[_0x237675(0xaf)]=_0x5cc869,logger['error'](_0x46630b[_0x237675(0xe1)](_0x46630b[_0x237675(0x10a)],_0x2ae919[_0x237675(0xf9)])),_0x46630b[_0x237675(0xd0)](_0x3ebc07,0x1);}});}function runNewmanScript(_0x19860a,_0x2124c0){const _0x523fb5=a42_0x2c8c19,_0x2b54ec={'mfLGX':function(_0x3d572,_0x210b1a){return _0x3d572(_0x210b1a);},'ShEkJ':function(_0xee5da5,_0x375170){return _0xee5da5||_0x375170;},'zyDya':function(_0x42f4d1,_0x2ca883,_0x1eab42,_0x2cd3de){return _0x42f4d1(_0x2ca883,_0x1eab42,_0x2cd3de);},'GcyUz':_0x523fb5(0xf5),'gylyC':function(_0x21026f,_0x4bc431){return _0x21026f||_0x4bc431;},'MbHUY':_0x523fb5(0x116),'TSvEa':'close'};return new Promise(function(_0x28a7e4){const _0x490686=_0x523fb5,_0x479e92={'aTonV':function(_0x35ec3b,_0x464f78){const _0x191fc4=a42_0x4ca4;return _0x2b54ec[_0x191fc4(0x124)](_0x35ec3b,_0x464f78);},'ytmFD':function(_0x5e9eb7,_0x58c251){return _0x2b54ec['ShEkJ'](_0x5e9eb7,_0x58c251);}},_0x108dca=_0x2b54ec[_0x490686(0xc3)](fork,path['join'](__dirname,_0x2b54ec[_0x490686(0xd4)]),[_0x19860a,_0x2b54ec[_0x490686(0x124)](String,_0x2b54ec[_0x490686(0xd2)](_0x2124c0,0x0))],{'stdio':_0x2b54ec[_0x490686(0x126)],'env':Object[_0x490686(0xb9)]({},process[_0x490686(0xdb)])});_0x108dca['on'](_0x2b54ec[_0x490686(0xea)],function(_0x25997b){const _0x2b0cd5=_0x490686;_0x479e92[_0x2b0cd5(0xe7)](_0x28a7e4,_0x479e92[_0x2b0cd5(0x118)](_0x25997b,0x0));});});}function hasO11yBuild(){const _0x579b07=a42_0x2c8c19,_0x5dd983={};_0x5dd983['UlrsH']=function(_0x40ac42,_0x3fe67f){return _0x40ac42!==_0x3fe67f;},_0x5dd983[_0x579b07(0xf4)]=_0x579b07(0x102);const _0x5b4200=_0x5dd983;return!!(BrowserstackCLI[_0x579b07(0x11e)]||process[_0x579b07(0xdb)][_0x579b07(0x114)]&&_0x5b4200[_0x579b07(0x127)](process['env'][_0x579b07(0x114)],_0x5b4200[_0x579b07(0xf4)]));}function runWithoutObservability(_0x15069d,_0x27d065){const _0x27db00=a42_0x2c8c19,_0x101d77={'vDbZU':function(_0x322ef8,_0x57aade){return _0x322ef8(_0x57aade);}};if(_0x15069d)return _0x101d77[_0x27db00(0x105)](require,path[_0x27db00(0xab)](_0x15069d)),0x0;return _0x101d77[_0x27db00(0x105)](runNewmanCLI,_0x27d065);}module[a42_0x2c8c19(0xd9)]=async function(_0x51f16b,_0x1ede77,_0x3030d1){const _0x485874=a42_0x2c8c19,_0xeb98f0={'ALVXX':_0x485874(0xac),'bciIX':function(_0x5213ea,_0x7ab4a8){return _0x5213ea===_0x7ab4a8;},'vGool':_0x485874(0xe4),'ZMGzE':function(_0x540c23,_0xf251fb,_0x52fcab){return _0x540c23(_0xf251fb,_0x52fcab);},'GtTBy':function(_0x2131f4,_0x469138){return _0x2131f4!=_0x469138;},'RYABN':_0x485874(0xcc),'LKXRc':_0x485874(0x101),'rfmuY':function(_0x2ca27c,_0x1190dd){return _0x2ca27c+_0x1190dd;},'lDWPt':_0x485874(0x11f),'ZLkQi':function(_0x4ad882,_0x2178a7){return _0x4ad882+_0x2178a7;},'CDZXo':_0x485874(0x128),'dgnuM':function(_0x40fec3){return _0x40fec3();},'xLZjf':_0x485874(0xfa),'NzjlG':function(_0x17988a){return _0x17988a();},'sXxvP':function(_0x29b926,_0x40cdbe,_0x43391e){return _0x29b926(_0x40cdbe,_0x43391e);},'RBQRO':function(_0x2248e7,_0x50b17a){return _0x2248e7(_0x50b17a);},'vYfJX':function(_0xa0251){return _0xa0251();},'Zyqpo':_0x485874(0x113)},_0x4e2ae5=_0x1ede77[_0x485874(0xad)](0x1),_0x462d62=_0x4e2ae5[0x0]&&_0x4e2ae5[0x0]['endsWith'](_0xeb98f0[_0x485874(0xd6)])?_0x4e2ae5[0x0]:null;if(!_0x3030d1[_0x485874(0xf0)]||_0xeb98f0[_0x485874(0xb4)](_0x3030d1['config']['testObservability'],![])||_0xeb98f0['bciIX'](_0x3030d1['config'][_0x485874(0x10e)],_0xeb98f0[_0x485874(0xe9)])){process[_0x485874(0x112)]=await _0xeb98f0[_0x485874(0xdf)](runWithoutObservability,_0x462d62,_0x4e2ae5)||0x0;return;}process[_0x485874(0xdb)][_0x485874(0xed)]=_0xeb98f0[_0x485874(0xe9)],process['env'][_0x485874(0x10f)]=_0xeb98f0[_0x485874(0xe9)],process[_0x485874(0xdb)][_0x485874(0xb0)]=_0xeb98f0[_0x485874(0xff)](_0x3030d1[_0x485874(0xf0)][_0x485874(0x10e)],null)?_0x3030d1[_0x485874(0xf0)]['testObservability']:_0xeb98f0['RYABN'],CLIUtils['setFrameworkDetail'](_0xeb98f0[_0x485874(0x120)],_0xeb98f0['LKXRc']),BrowserstackCLI['getInstance']()[_0x485874(0x11d)](_0x3030d1[_0x485874(0xf0)],_0x3030d1[_0x485874(0xdc)],_0x3030d1[_0x485874(0x115)]);try{await BrowserstackCLI[_0x485874(0x110)]()['bootstrap']();}catch(_0x5e3569){logger['error'](_0xeb98f0[_0x485874(0xba)](_0xeb98f0[_0x485874(0xcf)],_0x5e3569[_0x485874(0xf9)]||_0x5e3569));}if(!BrowserstackCLI[_0x485874(0x110)]()[_0x485874(0xc4)]())try{await TestHubHandler['launchBuild'](FRAMEWORKS[_0x485874(0xbe)],_0x3030d1);}catch(_0x435bd6){logger[_0x485874(0xf1)](_0xeb98f0[_0x485874(0xc2)](_0xeb98f0[_0x485874(0xb1)],_0x435bd6[_0x485874(0xf9)]||_0x435bd6));}!_0xeb98f0[_0x485874(0xe6)](hasO11yBuild)&&logger[_0x485874(0xe5)](_0xeb98f0['xLZjf']);_0xeb98f0[_0x485874(0xb6)](registerBrowserStackReporter);let _0x49187b;_0x462d62?_0x49187b=await _0xeb98f0['sXxvP'](runNewmanScript,_0x462d62,_0x3030d1[_0x485874(0xf0)][_0x485874(0xc6)]):_0x49187b=await _0xeb98f0[_0x485874(0xd1)](runNewmanCLI,_0xeb98f0[_0x485874(0xd1)](injectReporterIntoArgs,_0x4e2ae5));try{await TestHubHandler[_0x485874(0xe3)]();}catch(_0x2f7067){}try{await BrowserstackCLI[_0x485874(0x110)]()['stop']();}catch(_0x61f5c7){}try{await RequestQueueHandler[_0x485874(0x110)]()['shutdown']();}catch(_0x34dbdf){}if(_0xeb98f0[_0x485874(0x106)](hasO11yBuild))try{_0xeb98f0[_0x485874(0x106)](printBuildLink);}catch(_0x326150){}else logger[_0x485874(0xe5)](_0xeb98f0['Zyqpo']);process['exitCode']=_0x49187b;};
@@ -1 +1 @@
1
- const a43_0x52c6cb=a43_0x2c2d;(function(_0x3b7047,_0x261c4d){const _0x9802f9=a43_0x2c2d,_0xca3c3b=_0x3b7047();while(!![]){try{const _0x4494c5=parseInt(_0x9802f9(0xd6))/0x1*(-parseInt(_0x9802f9(0xd1))/0x2)+parseInt(_0x9802f9(0xcd))/0x3*(-parseInt(_0x9802f9(0xd7))/0x4)+-parseInt(_0x9802f9(0xd9))/0x5*(parseInt(_0x9802f9(0xca))/0x6)+-parseInt(_0x9802f9(0xdc))/0x7+parseInt(_0x9802f9(0xd5))/0x8*(parseInt(_0x9802f9(0xcf))/0x9)+-parseInt(_0x9802f9(0xce))/0xa*(parseInt(_0x9802f9(0xc7))/0xb)+parseInt(_0x9802f9(0xc8))/0xc*(parseInt(_0x9802f9(0xd8))/0xd);if(_0x4494c5===_0x261c4d)break;else _0xca3c3b['push'](_0xca3c3b['shift']());}catch(_0xae7992){_0xca3c3b['push'](_0xca3c3b['shift']());}}}(a43_0x3811,0xd4c7d));function a43_0x3811(){const _0x41c2df=['6wOMxIp','toLowerCase','isNewman','BROWSERSTACK_FRAMEWORK','481408JBdCpN','336529PTZbQt','8332QXKDuB','76153597CbRdaY','5RVwTTa','newman','env','8793505pSwrKl','ZQxlT','gFOwC','44VcREsB','12VMwWDT','QPpUx','3183306vLTfZL','framework','exports','1779OLYGlk','3590640hONBci','72ghkOjo','Tvida'];a43_0x3811=function(){return _0x41c2df;};return a43_0x3811();}function isNewman(_0x74b987){const _0x4d8ca9=a43_0x2c2d,_0x38e51b={'tTshW':function(_0x5d65e1,_0x3c25d3){return _0x5d65e1===_0x3c25d3;},'gFOwC':_0x4d8ca9(0xda),'Tvida':function(_0x2c2278,_0x54983f){return _0x2c2278===_0x54983f;},'ZQxlT':function(_0xbfd661,_0x47bcf0){return _0xbfd661(_0x47bcf0);},'QPpUx':function(_0x5841e4,_0xb9cde1){return _0x5841e4||_0xb9cde1;}},_0x20f1be=process[_0x4d8ca9(0xdb)][_0x4d8ca9(0xd4)]||'';let _0xa27908='';_0x74b987&&_0x74b987[_0x4d8ca9(0xcb)]&&(_0xa27908=_0x74b987[_0x4d8ca9(0xcb)]);const _0x2f8c9a=_0x38e51b['tTshW'](_0x20f1be['toLowerCase'](),_0x38e51b[_0x4d8ca9(0xc6)]),_0x355186=_0x38e51b[_0x4d8ca9(0xd0)](_0x38e51b[_0x4d8ca9(0xdd)](String,_0xa27908)[_0x4d8ca9(0xd2)](),_0x38e51b[_0x4d8ca9(0xc6)]);return _0x38e51b[_0x4d8ca9(0xc9)](_0x2f8c9a,_0x355186);}function a43_0x2c2d(_0x2b6b07,_0x230168){const _0x3811b6=a43_0x3811();return a43_0x2c2d=function(_0x2c2d72,_0x4c0d61){_0x2c2d72=_0x2c2d72-0xc6;let _0x2fc853=_0x3811b6[_0x2c2d72];return _0x2fc853;},a43_0x2c2d(_0x2b6b07,_0x230168);};const a43_0x4c27bf={};a43_0x4c27bf[a43_0x52c6cb(0xd3)]=isNewman,module[a43_0x52c6cb(0xcc)]=a43_0x4c27bf;
1
+ function a43_0x1cf6(){const _0x45ae1d=['1325txoAot','toLowerCase','RQCrb','3425128rPCnwo','framework','1871TqhYmS','534fcwJVh','fuGCS','BROWSERSTACK_FRAMEWORK','2022zVjrDi','152367clCnPV','11WMKwoR','4769630izjdrB','3766401JQDzcC','UDWHS','4RLfEZv','5223050TsOdVx','env','newman'];a43_0x1cf6=function(){return _0x45ae1d;};return a43_0x1cf6();}(function(_0x32f874,_0x3d0a9b){const _0x182638=a43_0x1d9e,_0x2bb931=_0x32f874();while(!![]){try{const _0x1cd018=-parseInt(_0x182638(0x196))/0x1*(-parseInt(_0x182638(0x197))/0x2)+-parseInt(_0x182638(0x19b))/0x3*(-parseInt(_0x182638(0x1a0))/0x4)+-parseInt(_0x182638(0x191))/0x5*(-parseInt(_0x182638(0x19a))/0x6)+-parseInt(_0x182638(0x1a1))/0x7+parseInt(_0x182638(0x194))/0x8+-parseInt(_0x182638(0x19e))/0x9+parseInt(_0x182638(0x19d))/0xa*(parseInt(_0x182638(0x19c))/0xb);if(_0x1cd018===_0x3d0a9b)break;else _0x2bb931['push'](_0x2bb931['shift']());}catch(_0x4bd6d3){_0x2bb931['push'](_0x2bb931['shift']());}}}(a43_0x1cf6,0x5ccd4));function isNewman(_0x3e63ea){const _0x2f1c4d=a43_0x1d9e,_0x2cae72={'RQCrb':function(_0x29aa67,_0x26cf7c){return _0x29aa67===_0x26cf7c;},'UDWHS':_0x2f1c4d(0x190),'wJxNj':function(_0xc41a39,_0x59cfd1){return _0xc41a39===_0x59cfd1;},'GtRKG':function(_0x4400b5,_0x4c428d){return _0x4400b5(_0x4c428d);},'fuGCS':function(_0x42a150,_0x21b21d){return _0x42a150||_0x21b21d;}},_0x953561=process[_0x2f1c4d(0x18f)][_0x2f1c4d(0x199)]||'';let _0x4badb7='';_0x3e63ea&&_0x3e63ea[_0x2f1c4d(0x195)]&&(_0x4badb7=_0x3e63ea[_0x2f1c4d(0x195)]);const _0x3dd265=_0x2cae72[_0x2f1c4d(0x193)](_0x953561['toLowerCase'](),_0x2cae72[_0x2f1c4d(0x19f)]),_0x2241d3=_0x2cae72['wJxNj'](_0x2cae72['GtRKG'](String,_0x4badb7)[_0x2f1c4d(0x192)](),_0x2cae72[_0x2f1c4d(0x19f)]);return _0x2cae72[_0x2f1c4d(0x198)](_0x3dd265,_0x2241d3);};const a43_0x5356da={};function a43_0x1d9e(_0x24aec7,_0x799689){const _0x1cf6bb=a43_0x1cf6();return a43_0x1d9e=function(_0x1d9e17,_0x21fbb0){_0x1d9e17=_0x1d9e17-0x18f;let _0x160919=_0x1cf6bb[_0x1d9e17];return _0x160919;},a43_0x1d9e(_0x24aec7,_0x799689);}a43_0x5356da['isNewman']=isNewman,module['exports']=a43_0x5356da;
@@ -1 +1 @@
1
- 'use strict';const a44_0x4e39a0=a44_0x1ea6;(function(_0x5437ca,_0xe8b8a1){const _0x4b18bd=a44_0x1ea6,_0x3684fe=_0x5437ca();while(!![]){try{const _0x39834d=-parseInt(_0x4b18bd(0x249))/0x1*(-parseInt(_0x4b18bd(0x1d1))/0x2)+-parseInt(_0x4b18bd(0x244))/0x3*(-parseInt(_0x4b18bd(0x2a9))/0x4)+parseInt(_0x4b18bd(0x2b8))/0x5*(parseInt(_0x4b18bd(0x1e3))/0x6)+parseInt(_0x4b18bd(0x274))/0x7*(parseInt(_0x4b18bd(0x20e))/0x8)+-parseInt(_0x4b18bd(0x27f))/0x9*(parseInt(_0x4b18bd(0x279))/0xa)+parseInt(_0x4b18bd(0x21c))/0xb*(-parseInt(_0x4b18bd(0x1fc))/0xc)+parseInt(_0x4b18bd(0x2aa))/0xd*(parseInt(_0x4b18bd(0x242))/0xe);if(_0x39834d===_0xe8b8a1)break;else _0x3684fe['push'](_0x3684fe['shift']());}catch(_0x79ab17){_0x3684fe['push'](_0x3684fe['shift']());}}}(a44_0x33be,0xd9bb7));const path=require(a44_0x4e39a0(0x2a7)),{v4:uuidv4}=require('uuid'),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{debug}=require(a44_0x4e39a0(0x266)),logger=require(a44_0x4e39a0(0x24c))[a44_0x4e39a0(0x296)],BrowserstackCLI=require(a44_0x4e39a0(0x29e)),GrpcClient=require(a44_0x4e39a0(0x2af)),TestFrameworkState=require(a44_0x4e39a0(0x205)),HookState=require(a44_0x4e39a0(0x229)),LOG_LEVELS=[a44_0x4e39a0(0x1ee),a44_0x4e39a0(0x26a),'ERROR',a44_0x4e39a0(0x23a),'TRACE'];function isCLIRunning(){const _0x82cbf5=a44_0x4e39a0;try{return BrowserstackCLI[_0x82cbf5(0x265)]()[_0x82cbf5(0x1f8)]();}catch(_0x59281a){return![];}}function getParentTitles(_0x1e212){const _0x23a7e0=a44_0x4e39a0,_0x3cd256={'hdRPS':function(_0x1a8f8f,_0x5b2484){return _0x1a8f8f(_0x5b2484);},'UOtCI':function(_0x27214e,_0x43f52f){return _0x27214e(_0x43f52f);}},_0x9c8c5=[],_0x5af62b=_0x1e212[_0x23a7e0(0x291)]();return _0x5af62b&&_0x9c8c5[_0x23a7e0(0x1ef)]['apply'](_0x9c8c5,_0x3cd256[_0x23a7e0(0x2b3)](getParentTitles,_0x5af62b)),_0x1e212[_0x23a7e0(0x26b)]&&_0x9c8c5[_0x23a7e0(0x1ef)](_0x3cd256['UOtCI'](String,_0x1e212[_0x23a7e0(0x26b)])),_0x9c8c5;}function normalizeLogLevel(_0x2844f5){const _0x4b653e=a44_0x4e39a0,_0x4280a2={};_0x4280a2['qcAXo']=_0x4b653e(0x1ee),_0x4280a2['vIHNz']=function(_0x5a0956,_0x39e376){return _0x5a0956!==_0x39e376;};const _0x5119a0=_0x4280a2;if(!_0x2844f5)return _0x5119a0[_0x4b653e(0x203)];const _0x1e871e=_0x2844f5[_0x4b653e(0x233)]();return _0x5119a0[_0x4b653e(0x295)](LOG_LEVELS[_0x4b653e(0x283)](_0x1e871e),-0x1)?_0x1e871e:_0x5119a0[_0x4b653e(0x203)];}function resolveCollectionFile(_0x3c2351,_0x22b89d){const _0x5592ae=a44_0x4e39a0,_0x3ec475={};_0x3ec475[_0x5592ae(0x264)]=function(_0x3440aa,_0x1076fd){return _0x3440aa===_0x1076fd;},_0x3ec475['ldObk']='string',_0x3ec475[_0x5592ae(0x293)]=_0x5592ae(0x28e),_0x3ec475[_0x5592ae(0x246)]=function(_0x30052b,_0x20714c){return _0x30052b!==_0x20714c;},_0x3ec475['qbFjk']=function(_0x4ea165,_0x3bc79b){return _0x4ea165<_0x3bc79b;},_0x3ec475[_0x5592ae(0x22f)]=function(_0x24b276,_0x20481f){return _0x24b276+_0x20481f;},_0x3ec475['xjljY']=function(_0x44db1a,_0x54e092){return _0x44db1a+_0x54e092;},_0x3ec475[_0x5592ae(0x206)]=_0x5592ae(0x219),_0x3ec475[_0x5592ae(0x27c)]='collection.json';const _0xec6ca8=_0x3ec475;try{if(_0x22b89d&&_0x22b89d[_0x5592ae(0x269)])return path[_0x5592ae(0x1d2)](process[_0x5592ae(0x2b4)](),path['resolve'](_0x22b89d[_0x5592ae(0x269)]));const _0x4f5cfd=_0x3c2351[_0x5592ae(0x22b)];if(_0xec6ca8['kKspX'](typeof _0x4f5cfd,_0xec6ca8[_0x5592ae(0x214)]))return path['relative'](process['cwd'](),path[_0x5592ae(0x2a6)](_0x4f5cfd));const _0x102cb1=process[_0x5592ae(0x223)][_0x5592ae(0x283)](_0xec6ca8[_0x5592ae(0x293)]);if(_0xec6ca8[_0x5592ae(0x246)](_0x102cb1,-0x1)&&_0xec6ca8[_0x5592ae(0x2b6)](_0xec6ca8[_0x5592ae(0x22f)](_0x102cb1,0x1),process[_0x5592ae(0x223)][_0x5592ae(0x1d0)])){const _0x70f458=process[_0x5592ae(0x223)][_0xec6ca8[_0x5592ae(0x1e8)](_0x102cb1,0x1)];if(_0x70f458&&!_0x70f458['startsWith']('-'))return path[_0x5592ae(0x1d2)](process[_0x5592ae(0x2b4)](),path['resolve'](_0x70f458));}}catch(_0x23b146){}return logger[_0x5592ae(0x2bf)](_0xec6ca8['cGfui']),_0xec6ca8['eUqCT'];}function resolveCollectionName(_0x5459aa){const _0x5c0bc7=a44_0x4e39a0,_0x4c6579={};_0x4c6579[_0x5c0bc7(0x299)]=function(_0xd9c342,_0x217971){return _0xd9c342===_0x217971;},_0x4c6579[_0x5c0bc7(0x215)]=_0x5c0bc7(0x23d);const _0x3fa521=_0x4c6579;try{const _0xef4b1b=_0x5459aa[_0x5c0bc7(0x22b)];if(_0xef4b1b&&_0x3fa521[_0x5c0bc7(0x299)](typeof _0xef4b1b,_0x3fa521['Xnwvq']))return _0xef4b1b[_0x5c0bc7(0x26b)]||_0xef4b1b['info']&&_0xef4b1b['info'][_0x5c0bc7(0x26b)]||null;}catch(_0x1c55a9){}return null;}function a44_0x33be(){const _0x2f7128=['[Newman\x20Reporter]\x20emitLog\x20error:\x20','tvaOo','failure','getTestFramework','durationMs','PRE','roRSj','YpqQC','expanded','bQpFJ','510kUwVLg','evefu','max','request','wDEUu','xjljY','hkBrF','listen','hLvOS','JxfyE','code','INFO','push','HTTP','qtcpF','iDMit','hostname','uploadEventData','jdKdF','kind','GET','isRunning','script','startTimestamp','level','84jzOeJc','gfBSa','exception','cursor','[Newman\x20Reporter]\x20Error\x20in\x20request:\x20','collectionName','pIJXQ','qcAXo','finishedAt','../../v2/state/testFrameworkState','cGfui','tztyY','toString','failureType','http://','[Newman\x20Reporter]\x20Error\x20in\x20console:\x20','uuid','LDGdC','16ZwRpLj','delete','lastResponseCode','pathname','event','TzKTv','ldObk','Xnwvq','kofcC','rnkMk','ERROR','[Newman\x20Reporter]\x20Could\x20not\x20resolve\x20collection\x20file\x20path,\x20falling\x20back\x20to\x20collection.json','response','eDxUc','613569sLvJNI','StKmy','hVjhl','CRrDW','\x20(no\x20assertions)','[Newman\x20Reporter]\x20Error\x20in\x20item:\x20','EMZiU','argv','MEigd','HTTP\x20Status:\x20','startedAt','TEST_LOG','[Newman\x20Reporter]\x20Error\x20in\x20bs:addLog\x20handler:\x20','../../v2/state/hookState','cHUuM','collection','lKKOY','N/A','identifier','EJwlX','failure_reason_expanded','JBIUb','scopes','toUpperCase','http_response','duration_ms','ZCWnP','newman','location','CNUpO','DEBUG','testFrameworkName','NujSl','object','ovblC','[Newman\x20Reporter]\x20Error\x20in\x20script:\x20','bufferedLogs','Ztlkc','141134HHQMSc','httpLog','174oDrqdP','join','FxTGF','search','testFrameworkVersion','193ujOUJU','status_code','logs','../../../helpers/logger','TestRunStarted','McmGE','item','kFcre','WIyQP','PXHte','fUbCQ','err','beforeIteration','exports','KZLRI','JLKIa','http','toISOString','messages','method','url','sGngu','assertion','[Newman\x20Reporter]\x20Error\x20in\x20beforeItem:\x20','OrwCg','now','eJhXg','kKspX','getInstance','../../../helpers/test-observability/utils','mkKQL','assertions','collectionPath','WARN','name','OcBXM','gRuud','getTime','platformIndex','failure_backtrace','trackEvent','logCreatedEvent','message','22953XmPPcT','passed','AssertionError','result','BhWsM','10LwnkCC','AyxCA','IdrZP','eUqCT','JKczA','ubCvR','13735935qxKiDb','execution','stack','error','indexOf','ZvTrd','NGtEA','pid','failed','console','IJfMs','YLMhY','bs:addLog:','bbGmG','test_run_uuid','run','ZDLUq','host','parent','concat','GVxUw','ref','vIHNz','winstonLogger','Assertion\x20','TEST','yyeKZ','includes','tFkmm','OHhuy','sobbL','../../v2/browserstackCLI','timestamp','removeListener','fqxwl','sBcba','):\x20','snbAO','Script\x20error\x20(','resolve','path','Btqxl','48292zNRgYh','13lYEJwY','lBdbJ','failureReason','Exception:\x20','javascript','../../v2/grpcClient','pending','clear','EUnbt','hdRPS','cwd','rcIYt','qbFjk','responseTime','25095pCtHOz','OSMYV','POST','BCfTw','RlFGl','assert','PGtOo','info','\x20->\x20','DFjpd','startsWith','GXdir','length','17254rJBvnR','relative','forEach','get','pZwpO','set','kWSns','No\x20HTTP\x20response\x20received'];a44_0x33be=function(){return _0x2f7128;};return a44_0x33be();}function a44_0x1ea6(_0x451fea,_0x2a822d){const _0x33be56=a44_0x33be();return a44_0x1ea6=function(_0x1ea613,_0x1c1e88){_0x1ea613=_0x1ea613-0x1cd;let _0x2b0f59=_0x33be56[_0x1ea613];return _0x2b0f59;},a44_0x1ea6(_0x451fea,_0x2a822d);}function emitTest(_0x4ada48,_0x483847,_0x14474f,_0xfd190a,_0x118fd7){const _0x4b7bb2=a44_0x4e39a0,_0xf93be7={'YLMhY':function(_0x32e21d){return _0x32e21d();},'TzKTv':_0x4b7bb2(0x2b0),'HtnrZ':function(_0x21325e,_0x4187f0){return _0x21325e(_0x4187f0);},'BCfTw':_0x4b7bb2(0x237),'EpDFw':_0x4b7bb2(0x2ae),'ZDLUq':function(_0x1a830d,_0x424b1b){return _0x1a830d!=_0x424b1b;},'Exrqq':function(_0x4c509a,_0x5e5671){return _0x4c509a===_0x5e5671;},'lBdbJ':_0x4b7bb2(0x24d),'sHbsw':'TestRunFinished'};if(_0xf93be7[_0x4b7bb2(0x28a)](isCLIRunning))try{const _0x191e1b=BrowserstackCLI[_0x4b7bb2(0x265)]()[_0x4b7bb2(0x1dc)]();if(!_0x191e1b)return;_0x191e1b[_0x4b7bb2(0x271)](TestFrameworkState[_0x4b7bb2(0x298)],_0x4ada48,{'test':{'uuid':_0x483847[_0x4b7bb2(0x20c)],'name':_0x483847[_0x4b7bb2(0x26b)],'scopes':_0x14474f['scopes'],'scope':_0x14474f['scopes'][_0x4b7bb2(0x245)]('\x20'),'file_path':_0xfd190a,'location':_0x14474f[_0x4b7bb2(0x201)],'started_at':_0x14474f[_0x4b7bb2(0x226)],'finished_at':_0x118fd7[_0x4b7bb2(0x204)]||null,'result':_0x118fd7['result']||_0xf93be7['TzKTv'],'failure':_0x118fd7[_0x4b7bb2(0x1db)]||[],'failure_type':_0x118fd7['failureType']||null,'failure_reason':_0x118fd7[_0x4b7bb2(0x2ac)]||null,'tags':[],'meta':{},'custom_metadata':{}}});}catch(_0x5c09d5){_0xf93be7['HtnrZ'](debug,'[Newman\x20Reporter]\x20emitTest\x20error:\x20'+_0x5c09d5);}else{const _0x30edd9={'uuid':_0x483847[_0x4b7bb2(0x20c)],'name':_0x483847[_0x4b7bb2(0x26b)],'framework':_0xf93be7[_0x4b7bb2(0x2bb)],'body':{'lang':_0xf93be7['EpDFw'],'code':null},'scope':_0x14474f[_0x4b7bb2(0x232)][_0x4b7bb2(0x245)]('\x20'),'scopes':_0x14474f['scopes'],'identifier':_0x483847[_0x4b7bb2(0x22e)],'file_name':_0x14474f['collectionName'],'vc_filepath':_0x14474f[_0x4b7bb2(0x238)],'location':_0x14474f[_0x4b7bb2(0x238)],'started_at':_0x14474f[_0x4b7bb2(0x226)],'finished_at':_0x118fd7[_0x4b7bb2(0x204)]||null,'duration_in_ms':_0xf93be7[_0x4b7bb2(0x28f)](_0x118fd7[_0x4b7bb2(0x1dd)],null)?Math[_0x4b7bb2(0x1e5)](0x0,_0x118fd7['durationMs']):null,'result':_0x118fd7[_0x4b7bb2(0x277)]||_0xf93be7[_0x4b7bb2(0x213)],'failure_reason':_0x118fd7[_0x4b7bb2(0x2ac)]||null,'failure_type':_0x118fd7[_0x4b7bb2(0x209)]||null,'failure':_0x118fd7['failure']||[],'retry_of':null,'hooks':[]};_0x30edd9[_0x4b7bb2(0x1db)][0x0]&&(_0x30edd9[_0x4b7bb2(0x270)]=_0x30edd9[_0x4b7bb2(0x1db)][0x0]['backtrace'],_0x30edd9[_0x4b7bb2(0x230)]=_0x30edd9['failure'][0x0][_0x4b7bb2(0x1e1)]);const _0x4aa06b=_0xf93be7['Exrqq'](_0x4ada48,HookState['PRE'])?_0xf93be7[_0x4b7bb2(0x2ab)]:_0xf93be7['sHbsw'],_0x4ab326={};_0x4ab326['event_type']=_0x4aa06b,_0x4ab326['test_run']=_0x30edd9,SessionHandler[_0x4b7bb2(0x1f4)](_0x4ab326);}}function emitLog(_0x4745bf,_0x4b41e2){const _0x175ace=a44_0x4e39a0,_0x3052c8={'fUbCQ':'TEST_LOG','CRrDW':function(_0x37466d){return _0x37466d();},'bQpFJ':function(_0x284a9f,_0x1469ba){return _0x284a9f===_0x1469ba;},'kWSns':_0x175ace(0x1f0),'NGtEA':'newman','wDEUu':'TEST','hQikI':'INFO','LtGIH':function(_0x4f807f,_0x57a1ae){return _0x4f807f(_0x57a1ae);},'bbGmG':function(_0x129033,_0x56bb33){return _0x129033+_0x56bb33;},'ubCvR':_0x175ace(0x1d9),'NipEQ':'LogCreated'},_0x32a3b5=_0x4b41e2['kind']||_0x3052c8[_0x175ace(0x253)],_0x1226e6=_0x4b41e2[_0x175ace(0x29f)]||new Date()[_0x175ace(0x25a)]();if(_0x3052c8[_0x175ace(0x21f)](isCLIRunning))try{const _0x4c3385=_0x3052c8[_0x175ace(0x1e2)](_0x32a3b5,_0x3052c8[_0x175ace(0x1d7)])?JSON['stringify'](_0x4b41e2):_0x4b41e2['message']||'',_0xaa3bdb={};_0xaa3bdb[_0x175ace(0x26f)]=0x0,_0xaa3bdb[_0x175ace(0x23b)]=_0x3052c8[_0x175ace(0x285)],_0xaa3bdb[_0x175ace(0x248)]='',_0xaa3bdb['testFrameworkState']=_0x3052c8[_0x175ace(0x1e7)],_0xaa3bdb['logs']=[{'uuid':_0x4745bf,'timestamp':_0x1226e6,'kind':_0x32a3b5,'level':_0x4b41e2[_0x175ace(0x1fb)]||_0x3052c8['hQikI'],'message':_0x4c3385}],GrpcClient[_0x175ace(0x265)]()[_0x175ace(0x272)](_0xaa3bdb);}catch(_0x4f73a1){_0x3052c8['LtGIH'](debug,_0x3052c8[_0x175ace(0x28c)](_0x3052c8[_0x175ace(0x27e)],_0x4f73a1));}else{const _0x411bcd={};_0x411bcd[_0x175ace(0x28d)]=_0x4745bf,_0x411bcd[_0x175ace(0x29f)]=_0x1226e6,_0x411bcd[_0x175ace(0x1fb)]=_0x4b41e2[_0x175ace(0x1fb)]||null,_0x411bcd[_0x175ace(0x273)]=_0x4b41e2[_0x175ace(0x273)]||null,_0x411bcd[_0x175ace(0x1f6)]=_0x32a3b5,_0x411bcd[_0x175ace(0x234)]=_0x4b41e2[_0x175ace(0x234)]||{};const _0x5274f4={};_0x5274f4['event_type']=_0x3052c8['NipEQ'],_0x5274f4[_0x175ace(0x24b)]=[_0x411bcd],SessionHandler[_0x175ace(0x1f4)](_0x5274f4);}}function BrowserStackNewmanReporter(_0x2adf03,_0x5496d5,_0x450b2b){const _0x1a709d=a44_0x4e39a0,_0x50be3c={'roRSj':function(_0x2c5f9a,_0xdbe92f,_0x1c083d){return _0x2c5f9a(_0xdbe92f,_0x1c083d);},'gRuud':function(_0x3d4447,_0x1598cf){return _0x3d4447(_0x1598cf);},'tztyY':function(_0x23308d,_0x53e770){return _0x23308d>_0x53e770;},'JxfyE':_0x1a709d(0x259),'fqxwl':function(_0x31fdd6,_0x4f1e99){return _0x31fdd6+_0x4f1e99;},'StKmy':_0x1a709d(0x1f7),'JBIUb':_0x1a709d(0x227),'DnKGh':function(_0x70f0){return _0x70f0();},'pZwpO':function(_0x5e14d6,_0x56f9d5){return _0x5e14d6||_0x56f9d5;},'cHUuM':function(_0x459ec5,_0x3508ac,_0x10addd,_0xf92490,_0x4fb824,_0x467d7a){return _0x459ec5(_0x3508ac,_0x10addd,_0xf92490,_0x4fb824,_0x467d7a);},'WIyQP':function(_0x12c4fe,_0xf94ac8){return _0x12c4fe===_0xf94ac8;},'XpvPp':function(_0x46c975,_0x1f8961){return _0x46c975>_0x1f8961;},'Ztlkc':'HTTP','MEigd':function(_0x3c7561,_0x15690b){return _0x3c7561+_0x15690b;},'ZvTrd':function(_0x58b9da,_0xf9668a){return _0x58b9da+_0xf9668a;},'CNUpO':function(_0x561b15,_0x362e5a){return _0x561b15+_0x362e5a;},'AyxCA':function(_0x2ee2b0,_0x4163e7){return _0x2ee2b0+_0x4163e7;},'OHhuy':function(_0x3b2889,_0x924416){return _0x3b2889+_0x924416;},'hLvOS':_0x1a709d(0x2c0),'PXHte':'ms)','IJfMs':_0x1a709d(0x1ee),'YpqQC':function(_0x5f3ea3,_0x53f914){return _0x5f3ea3>_0x53f914;},'snbAO':function(_0x5add19,_0x334755){return _0x5add19-_0x334755;},'PGtOo':function(_0x52fd8a,_0x3457d3){return _0x52fd8a(_0x3457d3);},'cZzUa':function(_0x19469d,_0x242a03){return _0x19469d(_0x242a03);},'IawLd':function(_0x110608,_0x3ea13b){return _0x110608&&_0x3ea13b;},'ovblC':function(_0x2725b0,_0x36615f){return _0x2725b0-_0x36615f;},'dJDKQ':function(_0x487d3b,_0xaa5116){return _0x487d3b+_0xaa5116;},'mkKQL':_0x1a709d(0x2ad),'OcBXM':_0x1a709d(0x218),'ZCWnP':function(_0x5288e8,_0x27a9dd){return _0x5288e8+_0x27a9dd;},'JsRfS':'[Newman\x20Reporter]\x20Error\x20in\x20exception:\x20','sBcba':function(_0x5a0763,_0x256377){return _0x5a0763>_0x256377;},'BhWsM':function(_0x1f2976,_0x59d48a){return _0x1f2976-_0x59d48a;},'IwnoD':'unknown','pIJXQ':function(_0x412e9e,_0x5d14bc,_0x2d83e2){return _0x412e9e(_0x5d14bc,_0x2d83e2);},'gfBSa':function(_0x4cdbad,_0x4b0396){return _0x4cdbad+_0x4b0396;},'eJhXg':_0x1a709d(0x2a5),'DFjpd':_0x1a709d(0x2a3),'rcIYt':_0x1a709d(0x23f),'McmGE':_0x1a709d(0x287),'lKKOY':_0x1a709d(0x275),'OrwCg':function(_0x5a1f76,_0x1d63ec){return _0x5a1f76===_0x1d63ec;},'evefu':_0x1a709d(0x276),'PeHOj':_0x1a709d(0x2bd),'fcJBg':'UnhandledError','GTZQt':function(_0x4b4d2c,_0x57e033,_0x1edcdf){return _0x4b4d2c(_0x57e033,_0x1edcdf);},'IdrZP':function(_0x2c7714,_0x1676df){return _0x2c7714-_0x1676df;},'GXdir':function(_0x2a1f7b){return _0x2a1f7b();},'EMZiU':function(_0x4ea22d,_0x5388ba){return _0x4ea22d!=_0x5388ba;},'eDxUc':function(_0x1b6ebe,_0x52cb46){return _0x1b6ebe>=_0x52cb46;},'RlFGl':function(_0x13ffe7,_0x46d47b){return _0x13ffe7<_0x46d47b;},'sobbL':function(_0x38580b,_0x3be8fd){return _0x38580b||_0x3be8fd;},'qtcpF':_0x1a709d(0x22d),'uSsvK':function(_0x52cfc2,_0x33af95){return _0x52cfc2!=_0x33af95;},'NujSl':_0x1a709d(0x1d8),'RDyII':function(_0x42ba5e,_0x1704fc){return _0x42ba5e+_0x1704fc;},'hkBrF':function(_0x37ef9f,_0x10acc2){return _0x37ef9f+_0x10acc2;},'tvaOo':function(_0x5f0fc7,_0x37cfa4){return _0x5f0fc7+_0x37cfa4;},'fPUTq':function(_0x52d4a3,_0x8d3a57){return _0x52d4a3+_0x8d3a57;},'hVjhl':function(_0x43d004,_0xae803){return _0x43d004+_0xae803;},'sGngu':function(_0x3778bf,_0x112e90){return _0x3778bf+_0x112e90;},'kofcC':_0x1a709d(0x225),'KZLRI':function(_0x1498ee,_0xb60c2){return _0x1498ee||_0xb60c2;},'tFkmm':_0x1a709d(0x220),'JLKIa':function(_0x4a22b2,_0x3c3f4e){return _0x4a22b2(_0x3c3f4e);},'vhnqE':'done','iDMit':_0x1a709d(0x255),'kFcre':'beforeItem','rnkMk':_0x1a709d(0x1e6),'EUnbt':_0x1a709d(0x25f),'LDGdC':_0x1a709d(0x288),'rHvCi':_0x1a709d(0x1fe),'jdKdF':_0x1a709d(0x1f9),'DYwtm':_0x1a709d(0x24f)},_0x5a1f81=new Map();let _0xe3f462=null,_0x523b16=0x0;const _0x2c7a1f=_0x50be3c['pIJXQ'](resolveCollectionFile,_0x450b2b,_0x5496d5),_0x2fe6a0=_0x50be3c['gRuud'](resolveCollectionName,_0x450b2b)||_0x2c7a1f,_0x54857f=path['resolve'](_0x2c7a1f),_0x576c83=_0x1a709d(0x28b)+process[_0x1a709d(0x286)],_0x5d2daf=_0x318331=>{const _0x2389d6=_0x1a709d;try{_0xe3f462&&_0x50be3c[_0x2389d6(0x1df)](emitLog,_0xe3f462,_0x318331);}catch(_0x372dc1){_0x50be3c[_0x2389d6(0x26d)](debug,_0x2389d6(0x228)+_0x372dc1);}};process['on'](_0x576c83,_0x5d2daf),_0x2adf03['on'](_0x50be3c['vhnqE'],()=>{const _0x212a7f=_0x1a709d;process[_0x212a7f(0x2a0)](_0x576c83,_0x5d2daf),_0x5a1f81[_0x212a7f(0x2b1)]();}),_0x2adf03['on'](_0x50be3c[_0x1a709d(0x1f2)],(_0xc19efe,_0x339ee)=>{const _0x4e870d=_0x1a709d;_0x339ee&&_0x339ee[_0x4e870d(0x1ff)]&&(_0x523b16=_0x339ee[_0x4e870d(0x1ff)]['iteration']||0x0);}),_0x2adf03['on'](_0x50be3c[_0x1a709d(0x250)],(_0x1f9c37,_0xd8615f)=>{const _0x140f53=_0x1a709d;try{_0xe3f462=null;const _0x425946=_0xd8615f[_0x140f53(0x24f)],_0x461b4c=_0x425946[_0x140f53(0x291)]()?_0x50be3c[_0x140f53(0x26d)](getParentTitles,_0x425946[_0x140f53(0x291)]()):[],_0x3b98f3=_0x50be3c[_0x140f53(0x207)](_0x461b4c[_0x140f53(0x1d0)],0x1)?_0x461b4c['slice'](0x1):_0x461b4c,_0x3cbcff=_0xd8615f[_0x140f53(0x1ff)]&&_0xd8615f['cursor'][_0x140f53(0x294)],_0x565df8={'itemName':_0x425946[_0x140f53(0x26b)],'scopes':_0x3b98f3[_0x140f53(0x292)]([_0x425946[_0x140f53(0x26b)]]),'location':_0x2c7a1f,'collectionName':_0x2fe6a0,'startedAt':new Date()[_0x140f53(0x25a)](),'startTimestamp':Date[_0x140f53(0x262)](),'lastResponseCode':null,'httpLog':null,'assertions':[],'bufferedLogs':[]};_0x5a1f81['set'](_0x425946['id']+'_'+_0x523b16,_0x565df8),_0x3cbcff&&_0x5a1f81[_0x140f53(0x1d6)](_0x3cbcff+'_'+_0x523b16,_0x565df8);}catch(_0x11376e){_0x50be3c['gRuud'](debug,_0x140f53(0x260)+_0x11376e);}}),_0x2adf03['on'](_0x50be3c[_0x1a709d(0x217)],(_0x4961d5,_0x1d0e8f)=>{const _0x341a55=_0x1a709d;try{if(!_0x1d0e8f||!_0x1d0e8f[_0x341a55(0x24f)])return;const _0x6c6730=_0x5a1f81['get'](_0x1d0e8f['item']['id']+'_'+_0x523b16);if(!_0x6c6730)return;_0x1d0e8f[_0x341a55(0x21a)]&&(_0x6c6730[_0x341a55(0x210)]=_0x1d0e8f[_0x341a55(0x21a)][_0x341a55(0x1ed)]||null);if(!_0x1d0e8f[_0x341a55(0x1e6)])return;let _0x1b436b='',_0x320213='';if(_0x1d0e8f[_0x341a55(0x1e6)][_0x341a55(0x25d)])try{const _0x31d860=_0x1d0e8f[_0x341a55(0x1e6)][_0x341a55(0x25d)][_0x341a55(0x208)](),_0x2c99a6=new URL(_0x31d860[_0x341a55(0x1ce)](_0x50be3c[_0x341a55(0x1ec)])?_0x31d860:_0x341a55(0x20a)+_0x31d860);_0x1b436b=_0x2c99a6[_0x341a55(0x1f3)],_0x320213=_0x50be3c[_0x341a55(0x2a1)](_0x2c99a6[_0x341a55(0x211)],_0x2c99a6[_0x341a55(0x247)]);}catch(_0x19eb5d){_0x320213=_0x1d0e8f[_0x341a55(0x1e6)][_0x341a55(0x25d)]['toString']();}const _0x453aa1={};_0x453aa1[_0x341a55(0x290)]=_0x1b436b,_0x453aa1[_0x341a55(0x2a7)]=_0x320213,_0x453aa1[_0x341a55(0x25c)]=_0x1d0e8f[_0x341a55(0x1e6)]['method']||_0x50be3c[_0x341a55(0x21d)],_0x453aa1['headers']={},_0x453aa1['status_code']=_0x1d0e8f[_0x341a55(0x21a)]?_0x1d0e8f[_0x341a55(0x21a)][_0x341a55(0x1ed)]||0x0:0x0,_0x453aa1['duration_ms']=_0x1d0e8f[_0x341a55(0x21a)]?_0x1d0e8f[_0x341a55(0x21a)][_0x341a55(0x2b7)]||0x0:0x0,_0x6c6730[_0x341a55(0x243)]=_0x453aa1;}catch(_0x353e97){_0x50be3c['gRuud'](debug,_0x341a55(0x200)+_0x353e97);}}),_0x2adf03['on'](_0x50be3c[_0x1a709d(0x2b2)],(_0x49604d,_0x96d1fc)=>{const _0x5a5dc4=_0x1a709d,_0x53d555={'Btqxl':function(_0x35cf96,_0x4619d3,_0x4ec874){return _0x50be3c['roRSj'](_0x35cf96,_0x4619d3,_0x4ec874);},'OSMYV':_0x50be3c[_0x5a5dc4(0x231)]};try{if(!_0x96d1fc||!_0x96d1fc[_0x5a5dc4(0x24f)])return;const _0xa9b4e0=_0x5a1f81[_0x5a5dc4(0x1d4)](_0x96d1fc[_0x5a5dc4(0x24f)]['id']+'_'+_0x523b16);if(!_0xa9b4e0)return;const _0x2efa30=_0x96d1fc[_0x5a5dc4(0x25f)]||_0x5a5dc4(0x297)+_0x50be3c[_0x5a5dc4(0x2a1)](_0xa9b4e0[_0x5a5dc4(0x268)][_0x5a5dc4(0x1d0)],0x1),_0x22f867=_0x50be3c['DnKGh'](uuidv4),_0x506857=_0xa9b4e0[_0x5a5dc4(0x232)][_0x5a5dc4(0x292)]([_0x2efa30])['join']('\x20');_0xa9b4e0[_0x5a5dc4(0x268)]['push']({'uuid':_0x22f867,'name':_0x2efa30,'identifier':_0x506857,'err':_0x50be3c[_0x5a5dc4(0x1d5)](_0x49604d,null)});const _0x3dff24={};_0x3dff24[_0x5a5dc4(0x20c)]=_0x22f867,_0x3dff24['name']=_0x2efa30,_0x3dff24[_0x5a5dc4(0x22e)]=_0x506857,_0x50be3c[_0x5a5dc4(0x22a)](emitTest,HookState[_0x5a5dc4(0x1de)],_0x3dff24,_0xa9b4e0,_0x54857f,{});_0x50be3c[_0x5a5dc4(0x251)](_0xa9b4e0[_0x5a5dc4(0x268)]['length'],0x1)&&_0x50be3c['XpvPp'](_0xa9b4e0['bufferedLogs'][_0x5a5dc4(0x1d0)],0x0)&&(_0xa9b4e0['bufferedLogs'][_0x5a5dc4(0x1d3)](_0x2a2dd0=>{const _0x213ba7=_0x5a5dc4;_0x53d555[_0x213ba7(0x2a8)](emitLog,_0x22f867,{'kind':_0x53d555[_0x213ba7(0x2b9)],'message':_0x2a2dd0[_0x213ba7(0x273)],'level':_0x2a2dd0[_0x213ba7(0x1fb)]});}),_0xa9b4e0[_0x5a5dc4(0x240)]=[]);if(_0xa9b4e0[_0x5a5dc4(0x243)]){_0x50be3c[_0x5a5dc4(0x1df)](emitLog,_0x22f867,{'kind':_0x50be3c[_0x5a5dc4(0x241)],'http_response':_0xa9b4e0[_0x5a5dc4(0x243)]});const _0x497d27=_0x50be3c[_0x5a5dc4(0x224)](_0x50be3c[_0x5a5dc4(0x284)](_0x50be3c[_0x5a5dc4(0x2a1)](_0x50be3c[_0x5a5dc4(0x239)](_0x50be3c[_0x5a5dc4(0x27a)](_0x50be3c[_0x5a5dc4(0x239)](_0x50be3c['MEigd'](_0x50be3c[_0x5a5dc4(0x29c)](_0xa9b4e0[_0x5a5dc4(0x243)][_0x5a5dc4(0x25c)]||_0x50be3c[_0x5a5dc4(0x21d)],'\x20'),_0xa9b4e0['httpLog'][_0x5a5dc4(0x290)]),_0xa9b4e0[_0x5a5dc4(0x243)][_0x5a5dc4(0x2a7)]),_0x50be3c[_0x5a5dc4(0x1eb)]),_0xa9b4e0['httpLog'][_0x5a5dc4(0x24a)]),'\x20('),_0xa9b4e0['httpLog'][_0x5a5dc4(0x235)]),_0x50be3c[_0x5a5dc4(0x252)]);_0x50be3c[_0x5a5dc4(0x1df)](emitLog,_0x22f867,{'kind':_0x50be3c[_0x5a5dc4(0x231)],'message':_0x497d27,'level':_0x50be3c[_0x5a5dc4(0x289)]});}_0xe3f462=_0x22f867;}catch(_0x31faa4){_0x50be3c['gRuud'](debug,'[Newman\x20Reporter]\x20Error\x20in\x20assertion:\x20'+_0x31faa4);}}),_0x2adf03['on'](_0x50be3c[_0x1a709d(0x20d)],(_0x4f9d02,_0x2daa97)=>{const _0x108de4=_0x1a709d;try{if(!_0x2daa97)return;let _0x4180fe=_0xe3f462;if(!_0x4180fe&&_0x2daa97[_0x108de4(0x1ff)]&&_0x2daa97['cursor'][_0x108de4(0x294)]){const _0x55f29b=_0x5a1f81[_0x108de4(0x1d4)](_0x2daa97[_0x108de4(0x1ff)][_0x108de4(0x294)]+'_'+_0x523b16);_0x55f29b&&_0x50be3c[_0x108de4(0x1e0)](_0x55f29b[_0x108de4(0x268)]['length'],0x0)&&(_0x4180fe=_0x55f29b['assertions'][_0x50be3c[_0x108de4(0x2a4)](_0x55f29b[_0x108de4(0x268)]['length'],0x1)][_0x108de4(0x20c)]);}const _0x17b6bf=_0x2daa97['messages']?_0x2daa97[_0x108de4(0x25b)]['join'](',\x20'):'';if(_0x4180fe)_0x50be3c[_0x108de4(0x1df)](emitLog,_0x4180fe,{'kind':_0x50be3c['JBIUb'],'message':_0x17b6bf,'level':_0x50be3c['gRuud'](normalizeLogLevel,_0x2daa97[_0x108de4(0x1fb)])});else{if(_0x2daa97[_0x108de4(0x1ff)]&&_0x2daa97[_0x108de4(0x1ff)][_0x108de4(0x294)]){const _0x187782=_0x5a1f81[_0x108de4(0x1d4)](_0x2daa97['cursor']['ref']+'_'+_0x523b16);_0x187782&&_0x187782['bufferedLogs'][_0x108de4(0x1ef)]({'timestamp':new Date()[_0x108de4(0x25a)](),'level':_0x50be3c[_0x108de4(0x2be)](normalizeLogLevel,_0x2daa97[_0x108de4(0x1fb)]),'message':_0x17b6bf});}}}catch(_0x1ff48c){_0x50be3c['cZzUa'](debug,_0x108de4(0x20b)+_0x1ff48c);}}),_0x2adf03['on'](_0x50be3c['rHvCi'],(_0x22207b,_0x456e98)=>{const _0x4363eb=_0x1a709d;try{if(!_0x22207b&&(!_0x456e98||!_0x456e98['error']))return;const _0x1f02f3=_0x22207b||_0x456e98[_0x4363eb(0x282)],_0x17144c=_0x1f02f3[_0x4363eb(0x273)]||_0x50be3c[_0x4363eb(0x2be)](String,_0x1f02f3),_0x65f198=_0x1f02f3[_0x4363eb(0x281)]||_0x17144c;let _0x26e261=_0xe3f462;if(_0x50be3c['IawLd'](!_0x26e261,_0x456e98)&&_0x456e98['cursor']&&_0x456e98[_0x4363eb(0x1ff)][_0x4363eb(0x294)]){const _0x14aa39=_0x5a1f81['get'](_0x456e98[_0x4363eb(0x1ff)][_0x4363eb(0x294)]+'_'+_0x523b16);_0x14aa39&&_0x50be3c[_0x4363eb(0x207)](_0x14aa39[_0x4363eb(0x268)][_0x4363eb(0x1d0)],0x0)&&(_0x26e261=_0x14aa39[_0x4363eb(0x268)][_0x50be3c[_0x4363eb(0x23e)](_0x14aa39[_0x4363eb(0x268)][_0x4363eb(0x1d0)],0x1)][_0x4363eb(0x20c)]);}_0x26e261&&_0x50be3c['roRSj'](emitLog,_0x26e261,{'kind':_0x50be3c[_0x4363eb(0x231)],'message':_0x50be3c['dJDKQ'](_0x50be3c[_0x4363eb(0x267)],_0x65f198),'level':_0x50be3c[_0x4363eb(0x26c)]});}catch(_0x46b950){_0x50be3c[_0x4363eb(0x26d)](debug,_0x50be3c[_0x4363eb(0x236)](_0x50be3c['JsRfS'],_0x46b950));}}),_0x2adf03['on'](_0x50be3c[_0x1a709d(0x1f5)],(_0x1e72dc,_0x4ea838)=>{const _0x4f0294=_0x1a709d;try{if(!_0x4ea838||!_0x4ea838[_0x4f0294(0x280)])return;let _0x5e0286=_0xe3f462;if(!_0x5e0286&&_0x4ea838[_0x4f0294(0x1ff)]&&_0x4ea838['cursor']['ref']){const _0x287864=_0x5a1f81[_0x4f0294(0x1d4)](_0x4ea838[_0x4f0294(0x1ff)][_0x4f0294(0x294)]+'_'+_0x523b16);_0x287864&&_0x50be3c[_0x4f0294(0x2a2)](_0x287864[_0x4f0294(0x268)][_0x4f0294(0x1d0)],0x0)&&(_0x5e0286=_0x287864[_0x4f0294(0x268)][_0x50be3c[_0x4f0294(0x278)](_0x287864[_0x4f0294(0x268)][_0x4f0294(0x1d0)],0x1)]['uuid']);}if(!_0x5e0286)return;const _0x5a662d=_0x4ea838[_0x4f0294(0x212)]&&_0x4ea838['event'][_0x4f0294(0x1ea)]||_0x50be3c['IwnoD'];_0x1e72dc&&_0x50be3c[_0x4f0294(0x202)](emitLog,_0x5e0286,{'kind':_0x50be3c['JBIUb'],'message':_0x50be3c[_0x4f0294(0x1fd)](_0x50be3c[_0x4f0294(0x1fd)](_0x50be3c['AyxCA'](_0x50be3c[_0x4f0294(0x263)],_0x5a662d),_0x50be3c[_0x4f0294(0x1cd)]),_0x1e72dc[_0x4f0294(0x273)]||_0x1e72dc),'level':_0x50be3c[_0x4f0294(0x26c)]});}catch(_0x2a77b1){_0x50be3c['cZzUa'](debug,_0x50be3c['fqxwl'](_0x50be3c[_0x4f0294(0x2b5)],_0x2a77b1));}}),_0x2adf03['on'](_0x50be3c['DYwtm'],(_0x4ce7c8,_0x5d310c)=>{const _0x314dd0=_0x1a709d,_0x4c8f6f={'JKczA':function(_0x5b0e07,_0x1f78f7,_0x320a1e){return _0x50be3c['GTZQt'](_0x5b0e07,_0x1f78f7,_0x320a1e);},'oKCCU':_0x50be3c[_0x314dd0(0x231)]};try{if(!_0x5d310c||!_0x5d310c[_0x314dd0(0x24f)])return;const _0x16ae5d=_0x5d310c[_0x314dd0(0x24f)]['id']+'_'+_0x523b16,_0x341cdb=_0x5a1f81['get'](_0x16ae5d);if(!_0x341cdb)return;const _0x380000=new Date(),_0x5003ef=_0x50be3c[_0x314dd0(0x27b)](_0x380000[_0x314dd0(0x26e)](),_0x341cdb[_0x314dd0(0x1fa)]);if(_0x50be3c[_0x314dd0(0x1e0)](_0x341cdb[_0x314dd0(0x268)]['length'],0x0))_0x341cdb[_0x314dd0(0x268)][_0x314dd0(0x1d3)](_0x424441=>{const _0x4abc42=_0x314dd0,_0x2b5924=!!_0x424441[_0x4abc42(0x254)],_0x5d36a4={'finishedAt':_0x380000[_0x4abc42(0x25a)](),'durationMs':_0x5003ef,'result':_0x2b5924?_0x50be3c[_0x4abc42(0x24e)]:_0x50be3c[_0x4abc42(0x22c)]};_0x2b5924&&(_0x5d36a4[_0x4abc42(0x2ac)]=_0x424441[_0x4abc42(0x254)][_0x4abc42(0x273)]||'',_0x5d36a4[_0x4abc42(0x209)]=_0x50be3c[_0x4abc42(0x261)](_0x424441[_0x4abc42(0x254)][_0x4abc42(0x26b)],_0x50be3c[_0x4abc42(0x1e4)])||_0x424441[_0x4abc42(0x254)][_0x4abc42(0x273)]&&_0x424441['err'][_0x4abc42(0x273)][_0x4abc42(0x29a)](_0x50be3c['PeHOj'])?_0x50be3c[_0x4abc42(0x1e4)]:_0x50be3c['fcJBg'],_0x5d36a4['failure']=[{'backtrace':_0x424441['err'][_0x4abc42(0x281)]?_0x424441[_0x4abc42(0x254)][_0x4abc42(0x281)]['split']('\x0a'):[_0x424441[_0x4abc42(0x254)][_0x4abc42(0x273)]||''],'expanded':[]}]),_0x50be3c[_0x4abc42(0x22a)](emitTest,HookState[_0x4abc42(0x2ba)],_0x424441,_0x341cdb,_0x54857f,_0x5d36a4);});else{const _0x6a3166=_0x50be3c[_0x314dd0(0x1cf)](uuidv4),_0x533396=_0x341cdb[_0x314dd0(0x210)],_0x41f2f8=_0x50be3c[_0x314dd0(0x222)](_0x533396,null)&&_0x50be3c[_0x314dd0(0x21b)](_0x533396,0xc8)&&_0x50be3c[_0x314dd0(0x2bc)](_0x533396,0x190),_0x111fb9=_0x341cdb['itemName']+'\x20(HTTP\x20'+_0x50be3c[_0x314dd0(0x29d)](_0x533396,_0x50be3c[_0x314dd0(0x1f1)])+')',_0x5e3f96={'uuid':_0x6a3166,'name':_0x111fb9,'identifier':_0x341cdb[_0x314dd0(0x232)][_0x314dd0(0x292)]([_0x111fb9])[_0x314dd0(0x245)]('\x20')},_0x369b89={'finishedAt':_0x380000[_0x314dd0(0x25a)](),'durationMs':_0x5003ef,'result':_0x41f2f8?_0x50be3c[_0x314dd0(0x22c)]:_0x50be3c['McmGE']};!_0x41f2f8&&(_0x369b89[_0x314dd0(0x2ac)]=_0x50be3c['uSsvK'](_0x533396,null)?'HTTP\x20'+_0x533396+'\x20—\x20response\x20status\x20in\x20failure\x20range':_0x50be3c[_0x314dd0(0x23c)],_0x369b89['failureType']=_0x50be3c['fcJBg'],_0x369b89[_0x314dd0(0x1db)]=[{'backtrace':[_0x369b89[_0x314dd0(0x2ac)]],'expanded':[]}]);_0x50be3c['cHUuM'](emitTest,HookState[_0x314dd0(0x1de)],_0x5e3f96,_0x341cdb,_0x54857f,{}),_0x341cdb[_0x314dd0(0x240)][_0x314dd0(0x1d3)](_0x581ecd=>{const _0x95e548=_0x314dd0;_0x4c8f6f[_0x95e548(0x27d)](emitLog,_0x6a3166,{'kind':_0x4c8f6f['oKCCU'],'message':_0x581ecd[_0x95e548(0x273)],'level':_0x581ecd['level']});});if(_0x341cdb[_0x314dd0(0x243)]){_0x50be3c['roRSj'](emitLog,_0x6a3166,{'kind':_0x50be3c['Ztlkc'],'http_response':_0x341cdb[_0x314dd0(0x243)]});const _0x29e2c8=_0x50be3c[_0x314dd0(0x236)](_0x50be3c[_0x314dd0(0x29c)](_0x50be3c['RDyII'](_0x50be3c[_0x314dd0(0x1e9)](_0x50be3c[_0x314dd0(0x1da)](_0x50be3c['fPUTq'](_0x50be3c['ZvTrd'](_0x50be3c[_0x314dd0(0x21e)](_0x341cdb[_0x314dd0(0x243)]['method']||_0x50be3c[_0x314dd0(0x21d)],'\x20'),_0x341cdb[_0x314dd0(0x243)][_0x314dd0(0x290)]),_0x341cdb['httpLog'][_0x314dd0(0x2a7)]),_0x50be3c[_0x314dd0(0x1eb)]),_0x341cdb[_0x314dd0(0x243)]['status_code']),'\x20('),_0x341cdb[_0x314dd0(0x243)][_0x314dd0(0x235)]),_0x50be3c[_0x314dd0(0x252)]);_0x50be3c['GTZQt'](emitLog,_0x6a3166,{'kind':_0x50be3c[_0x314dd0(0x231)],'message':_0x29e2c8,'level':_0x50be3c[_0x314dd0(0x289)]});}else _0x50be3c[_0x314dd0(0x202)](emitLog,_0x6a3166,{'kind':_0x50be3c[_0x314dd0(0x231)],'message':_0x50be3c[_0x314dd0(0x25e)](_0x50be3c['CNUpO'](_0x50be3c[_0x314dd0(0x216)],_0x50be3c[_0x314dd0(0x257)](_0x533396,_0x50be3c['qtcpF'])),_0x50be3c[_0x314dd0(0x29b)]),'level':_0x50be3c['IJfMs']});_0x50be3c['cHUuM'](emitTest,HookState[_0x314dd0(0x2ba)],_0x5e3f96,_0x341cdb,_0x54857f,_0x369b89);}_0x5a1f81['delete'](_0x16ae5d),_0x5d310c[_0x314dd0(0x1ff)]&&_0x5d310c['cursor'][_0x314dd0(0x294)]&&_0x5a1f81[_0x314dd0(0x20f)](_0x5d310c[_0x314dd0(0x1ff)][_0x314dd0(0x294)]+'_'+_0x523b16);}catch(_0x14b7c7){_0x50be3c[_0x314dd0(0x258)](debug,_0x314dd0(0x221)+_0x14b7c7);}});}module[a44_0x4e39a0(0x256)]=BrowserStackNewmanReporter;
1
+ 'use strict';const a44_0x55a253=a44_0x348e;(function(_0x17e491,_0x1afe4d){const _0x55535d=a44_0x348e,_0x44524b=_0x17e491();while(!![]){try{const _0x490a31=parseInt(_0x55535d(0x24a))/0x1+parseInt(_0x55535d(0x1f0))/0x2+parseInt(_0x55535d(0x204))/0x3+parseInt(_0x55535d(0x20c))/0x4*(parseInt(_0x55535d(0x19e))/0x5)+parseInt(_0x55535d(0x242))/0x6*(parseInt(_0x55535d(0x218))/0x7)+parseInt(_0x55535d(0x253))/0x8*(parseInt(_0x55535d(0x1a5))/0x9)+-parseInt(_0x55535d(0x1dc))/0xa;if(_0x490a31===_0x1afe4d)break;else _0x44524b['push'](_0x44524b['shift']());}catch(_0x12a78f){_0x44524b['push'](_0x44524b['shift']());}}}(a44_0xf009,0xd6ee1));const path=require('path'),{v4:uuidv4}=require(a44_0x55a253(0x1d7)),SessionHandler=require(a44_0x55a253(0x1c0)),{debug}=require(a44_0x55a253(0x276)),logger=require('../../../helpers/logger')[a44_0x55a253(0x1f1)],BrowserstackCLI=require(a44_0x55a253(0x233)),GrpcClient=require(a44_0x55a253(0x280)),TestFrameworkState=require(a44_0x55a253(0x25a)),HookState=require('../../v2/state/hookState'),LOG_LEVELS=[a44_0x55a253(0x1b0),a44_0x55a253(0x1ff),a44_0x55a253(0x1b5),a44_0x55a253(0x1ce),a44_0x55a253(0x203)];function isCLIRunning(){const _0x56db97=a44_0x55a253;try{return BrowserstackCLI[_0x56db97(0x287)]()[_0x56db97(0x210)]();}catch(_0x9ad1c0){return![];}}function getParentTitles(_0x1ca0be){const _0x59b3b6=a44_0x55a253,_0x21d21e={'acsAC':function(_0x43188f,_0x426cc2){return _0x43188f(_0x426cc2);},'tQgBt':function(_0x2b33db,_0x1769b5){return _0x2b33db(_0x1769b5);}},_0x24808a=[],_0x2e29e9=_0x1ca0be[_0x59b3b6(0x241)]();return _0x2e29e9&&_0x24808a[_0x59b3b6(0x200)][_0x59b3b6(0x1e9)](_0x24808a,_0x21d21e['acsAC'](getParentTitles,_0x2e29e9)),_0x1ca0be[_0x59b3b6(0x24e)]&&_0x24808a['push'](_0x21d21e[_0x59b3b6(0x1c1)](String,_0x1ca0be['name'])),_0x24808a;}function normalizeLogLevel(_0x38977f){const _0x108034=a44_0x55a253,_0x93cade={};_0x93cade[_0x108034(0x24b)]=_0x108034(0x1b0),_0x93cade[_0x108034(0x21e)]=function(_0xd3d1e5,_0x24d89b){return _0xd3d1e5!==_0x24d89b;};const _0x530306=_0x93cade;if(!_0x38977f)return _0x530306['kPAtX'];const _0x1f934a=_0x38977f['toUpperCase']();return _0x530306[_0x108034(0x21e)](LOG_LEVELS[_0x108034(0x222)](_0x1f934a),-0x1)?_0x1f934a:_0x530306[_0x108034(0x24b)];}function resolveCollectionFile(_0x3fd275,_0x3417ff){const _0x2d6196=a44_0x55a253,_0x489316={};_0x489316['VwrsH']=function(_0x1abcfe,_0x4e00f8){return _0x1abcfe===_0x4e00f8;},_0x489316[_0x2d6196(0x1de)]=_0x2d6196(0x20e),_0x489316[_0x2d6196(0x1ae)]='run',_0x489316['bXuqt']=function(_0x98ce0,_0x503c7c){return _0x98ce0!==_0x503c7c;},_0x489316[_0x2d6196(0x1f9)]=function(_0x41e2cb,_0x1a9c8a){return _0x41e2cb<_0x1a9c8a;},_0x489316['QjkeK']=function(_0x70b697,_0x2c73dd){return _0x70b697+_0x2c73dd;},_0x489316[_0x2d6196(0x1ca)]=_0x2d6196(0x27e),_0x489316[_0x2d6196(0x236)]=_0x2d6196(0x228);const _0x5d2519=_0x489316;try{if(_0x3417ff&&_0x3417ff[_0x2d6196(0x207)])return path[_0x2d6196(0x21b)](process['cwd'](),path['resolve'](_0x3417ff[_0x2d6196(0x207)]));const _0x26e84c=_0x3fd275[_0x2d6196(0x1bc)];if(_0x5d2519[_0x2d6196(0x198)](typeof _0x26e84c,_0x5d2519[_0x2d6196(0x1de)]))return path[_0x2d6196(0x21b)](process['cwd'](),path[_0x2d6196(0x239)](_0x26e84c));const _0x2f15d4=process['argv'][_0x2d6196(0x222)](_0x5d2519[_0x2d6196(0x1ae)]);if(_0x5d2519[_0x2d6196(0x284)](_0x2f15d4,-0x1)&&_0x5d2519[_0x2d6196(0x1f9)](_0x5d2519[_0x2d6196(0x1ee)](_0x2f15d4,0x1),process[_0x2d6196(0x21a)][_0x2d6196(0x1d2)])){const _0x52c805=process[_0x2d6196(0x21a)][_0x5d2519[_0x2d6196(0x1ee)](_0x2f15d4,0x1)];if(_0x52c805&&!_0x52c805[_0x2d6196(0x1f7)]('-'))return path[_0x2d6196(0x21b)](process[_0x2d6196(0x24f)](),path['resolve'](_0x52c805));}}catch(_0x5208d8){}return logger['info'](_0x5d2519[_0x2d6196(0x1ca)]),_0x5d2519['WRLmh'];}function resolveCollectionName(_0x6182fc){const _0xaf0cb3=a44_0x55a253,_0x20f12a={};_0x20f12a['TBNSp']=function(_0x1afc76,_0x31d974){return _0x1afc76===_0x31d974;},_0x20f12a[_0xaf0cb3(0x211)]='object';const _0x4991e3=_0x20f12a;try{const _0x1edf01=_0x6182fc[_0xaf0cb3(0x1bc)];if(_0x1edf01&&_0x4991e3[_0xaf0cb3(0x24d)](typeof _0x1edf01,_0x4991e3[_0xaf0cb3(0x211)]))return _0x1edf01['name']||_0x1edf01[_0xaf0cb3(0x20f)]&&_0x1edf01[_0xaf0cb3(0x20f)][_0xaf0cb3(0x24e)]||null;}catch(_0x506511){}return null;}function emitTest(_0x4f0726,_0x44402f,_0x4e7b37,_0x51e5bb,_0x5207a6){const _0x3309bd=a44_0x55a253,_0x563c24={'vQwtv':function(_0xe95995){return _0xe95995();},'wuQsN':_0x3309bd(0x1a0),'sMwEx':function(_0x3b8520,_0x56b4dc){return _0x3b8520(_0x56b4dc);},'DcVRq':_0x3309bd(0x1b6),'cZfPI':_0x3309bd(0x270),'wwqGp':function(_0x2d3017,_0xdf9011){return _0x2d3017!=_0xdf9011;},'nYHTS':function(_0x2576e7,_0x596aca){return _0x2576e7===_0x596aca;},'utWQR':_0x3309bd(0x285),'bITyi':'TestRunFinished'};if(_0x563c24['vQwtv'](isCLIRunning))try{const _0x19736c=BrowserstackCLI[_0x3309bd(0x287)]()[_0x3309bd(0x1d1)]();if(!_0x19736c)return;_0x19736c[_0x3309bd(0x237)](TestFrameworkState[_0x3309bd(0x1d4)],_0x4f0726,{'test':{'uuid':_0x44402f[_0x3309bd(0x1d7)],'name':_0x44402f[_0x3309bd(0x24e)],'scopes':_0x4e7b37[_0x3309bd(0x256)],'scope':_0x4e7b37[_0x3309bd(0x256)][_0x3309bd(0x245)]('\x20'),'file_path':_0x51e5bb,'location':_0x4e7b37[_0x3309bd(0x244)],'started_at':_0x4e7b37[_0x3309bd(0x23f)],'finished_at':_0x5207a6[_0x3309bd(0x1c9)]||null,'result':_0x5207a6[_0x3309bd(0x1b3)]||_0x563c24['wuQsN'],'failure':_0x5207a6[_0x3309bd(0x281)]||[],'failure_type':_0x5207a6['failureType']||null,'failure_reason':_0x5207a6['failureReason']||null,'tags':[],'meta':{},'custom_metadata':{}}});}catch(_0xd3727d){_0x563c24['sMwEx'](debug,_0x3309bd(0x261)+_0xd3727d);}else{const _0x49c30d={'uuid':_0x44402f[_0x3309bd(0x1d7)],'name':_0x44402f[_0x3309bd(0x24e)],'framework':_0x563c24[_0x3309bd(0x209)],'body':{'lang':_0x563c24[_0x3309bd(0x1a9)],'code':null},'scope':_0x4e7b37[_0x3309bd(0x256)][_0x3309bd(0x245)]('\x20'),'scopes':_0x4e7b37[_0x3309bd(0x256)],'identifier':_0x44402f[_0x3309bd(0x25d)],'file_name':_0x4e7b37[_0x3309bd(0x244)],'vc_filepath':_0x4e7b37[_0x3309bd(0x27c)],'location':_0x4e7b37[_0x3309bd(0x27c)],'started_at':_0x4e7b37[_0x3309bd(0x23f)],'finished_at':_0x5207a6[_0x3309bd(0x1c9)]||null,'duration_in_ms':_0x563c24[_0x3309bd(0x286)](_0x5207a6[_0x3309bd(0x248)],null)?Math[_0x3309bd(0x1e0)](0x0,_0x5207a6[_0x3309bd(0x248)]):null,'result':_0x5207a6['result']||_0x563c24[_0x3309bd(0x258)],'failure_reason':_0x5207a6[_0x3309bd(0x23c)]||null,'failure_type':_0x5207a6[_0x3309bd(0x26d)]||null,'failure':_0x5207a6[_0x3309bd(0x281)]||[],'retry_of':null,'hooks':[]};_0x49c30d['failure'][0x0]&&(_0x49c30d[_0x3309bd(0x1f4)]=_0x49c30d[_0x3309bd(0x281)][0x0][_0x3309bd(0x20b)],_0x49c30d['failure_reason_expanded']=_0x49c30d[_0x3309bd(0x281)][0x0][_0x3309bd(0x27f)]);const _0x55cb45=_0x563c24[_0x3309bd(0x1e7)](_0x4f0726,HookState['PRE'])?_0x563c24[_0x3309bd(0x259)]:_0x563c24['bITyi'],_0x16db58={};_0x16db58[_0x3309bd(0x1fd)]=_0x55cb45,_0x16db58[_0x3309bd(0x22b)]=_0x49c30d,SessionHandler[_0x3309bd(0x1bf)](_0x16db58);}}function a44_0x348e(_0x315276,_0x36eb3c){const _0xf009d0=a44_0xf009();return a44_0x348e=function(_0x348e45,_0x58fded){_0x348e45=_0x348e45-0x197;let _0x56db66=_0xf009d0[_0x348e45];return _0x56db66;},a44_0x348e(_0x315276,_0x36eb3c);}function a44_0xf009(){const _0x57e99d=['indexOf','concat','Atenl','now','includes','bpCRV','collection.json','err','error','test_run','ivkhM','VhqXn','eRuKL','[Newman\x20Reporter]\x20Error\x20in\x20assertion:\x20','startTimestamp','xMtkO','testFrameworkName','../../v2/browserstackCLI','dUUAH','FeFlY','WRLmh','trackEvent','\x20(no\x20assertions)','resolve','jsuRd','puCLQ','failureReason','message','platformIndex','startedAt','cdKHR','parent','12wdvVhh','YlYLo','collectionName','join','YSHdp','method','durationMs','SBkzi','1065515dEgTqt','kPAtX','http','TBNSp','name','cwd','wWEAo','moCpG','http_response','456ZMXnaH','Cowzh','logCreatedEvent','scopes','pathname','wuQsN','utWQR','../../v2/state/testFrameworkState','xesKA','csepJ','identifier','ndcJR','request','jYkEp','[Newman\x20Reporter]\x20emitTest\x20error:\x20','listen','gJDJK','HTTP\x20','ZKDXF','YyFpv','path','sThSu','done','stringify','uVYBq','\x20—\x20response\x20status\x20in\x20failure\x20range','failureType','ayMQw','httpLog','javascript','aXTmW','FVPMq','status_code','Wkgxs','item','../../../helpers/test-observability/utils','ZntaY','Assertion\x20','vmyQy','wZnAx','UmQPw','location','VBbQK','[Newman\x20Reporter]\x20Could\x20not\x20resolve\x20collection\x20file\x20path,\x20falling\x20back\x20to\x20collection.json','expanded','../../v2/grpcClient','failure','response','bkvYr','bXuqt','TestRunStarted','wwqGp','getInstance','iteration','execution','rwtnu','cursor','Script\x20error\x20(','XqMEd','search','VwrsH','duration_ms','test_run_uuid','otzgB','headers','KzFXf','291920fqXqph','PRE','pending','[Newman\x20Reporter]\x20Error\x20in\x20bs:addLog\x20handler:\x20','toISOString','[Newman\x20Reporter]\x20Error\x20in\x20request:\x20','passed','245313tbRYrd','jVzPf','[Newman\x20Reporter]\x20Error\x20in\x20exception:\x20','delete','cZfPI','lastResponseCode','level','MvwOc','Sgxdw','cXDdK','bQvdK','INFO','MGbDl','UfHMM','result','FiSjf','ERROR','newman','QRJJM','[Newman\x20Reporter]\x20emitLog\x20error:\x20','szHIG','logs','HTTP','collection','timestamp','WaRwR','uploadEventData','../../../helpers/test-observability/sessionHandler','tQgBt','console','HTTP\x20Status:\x20','script','Xrlav','SvmUS','bs:addLog:','AfvRG','finishedAt','TGBXF','ms)','BFPtr','host','DEBUG','set','wAytK','getTestFramework','length','fhXYx','TEST','PXett','removeListener','uuid','AssertionError','assertions','split','GHXIN','39111930lvDbeP','Qvcpv','zmoYK','XFOCE','max','TEST_LOG','UYaNc','Lytgh','UnhandledError','WhmZG','clear','nYHTS','N/A','apply','Exception:\x20','bROpB','stack','zHkIo','QjkeK','TudAu','777802fqqHfH','winstonLogger','kind','eZRta','failure_backtrace','sNgZM','code','startsWith','[Newman\x20Reporter]\x20Error\x20in\x20script:\x20','DAlzP','forEach','exports','MuZwM','event_type','bufferedLogs','WARN','push','CDKnD','getTime','TRACE','585429RhQoNA','toString','ETnQi','collectionPath','url','DcVRq','get','backtrace','24BPdTZP','itemName','string','info','isRunning','LFbDl','assert','svoNV','):\x20','event','pdLWY','rrlvl','4333119Wocfwk','gxXkl','argv','relative','ref','zTSJR','pcpkn','messages','ChRWD','POST'];a44_0xf009=function(){return _0x57e99d;};return a44_0xf009();}function emitLog(_0x4f07f3,_0x5e9566){const _0x3294a5=a44_0x55a253,_0x4f0a9f={'XqMEd':_0x3294a5(0x1e1),'Lytgh':function(_0x22dcc7){return _0x22dcc7();},'dUUAH':function(_0x420015,_0x15efad){return _0x420015===_0x15efad;},'jYkEp':_0x3294a5(0x1bb),'WhmZG':_0x3294a5(0x1b6),'sThSu':_0x3294a5(0x1d4),'WaRwR':_0x3294a5(0x1b0),'LyVlV':function(_0x102e9f,_0xdb8322){return _0x102e9f(_0xdb8322);},'Qvcpv':function(_0x2ec87a,_0x261e2a){return _0x2ec87a+_0x261e2a;},'DwZvP':_0x3294a5(0x1b8),'jVzPf':'LogCreated'},_0x14b593=_0x5e9566['kind']||_0x4f0a9f[_0x3294a5(0x28d)],_0x46fcb1=_0x5e9566[_0x3294a5(0x1bd)]||new Date()[_0x3294a5(0x1a2)]();if(_0x4f0a9f[_0x3294a5(0x1e3)](isCLIRunning))try{const _0x2ac633=_0x4f0a9f[_0x3294a5(0x234)](_0x14b593,_0x4f0a9f[_0x3294a5(0x260)])?JSON[_0x3294a5(0x26a)](_0x5e9566):_0x5e9566[_0x3294a5(0x23d)]||'',_0x2bb17a={};_0x2bb17a[_0x3294a5(0x23e)]=0x0,_0x2bb17a[_0x3294a5(0x232)]=_0x4f0a9f[_0x3294a5(0x1e5)],_0x2bb17a['testFrameworkVersion']='',_0x2bb17a['testFrameworkState']=_0x4f0a9f[_0x3294a5(0x268)],_0x2bb17a['logs']=[{'uuid':_0x4f07f3,'timestamp':_0x46fcb1,'kind':_0x14b593,'level':_0x5e9566[_0x3294a5(0x1ab)]||_0x4f0a9f[_0x3294a5(0x1be)],'message':_0x2ac633}],GrpcClient['getInstance']()[_0x3294a5(0x255)](_0x2bb17a);}catch(_0x59d290){_0x4f0a9f['LyVlV'](debug,_0x4f0a9f[_0x3294a5(0x1dd)](_0x4f0a9f['DwZvP'],_0x59d290));}else{const _0x39d18f={};_0x39d18f[_0x3294a5(0x19a)]=_0x4f07f3,_0x39d18f[_0x3294a5(0x1bd)]=_0x46fcb1,_0x39d18f[_0x3294a5(0x1ab)]=_0x5e9566[_0x3294a5(0x1ab)]||null,_0x39d18f[_0x3294a5(0x23d)]=_0x5e9566['message']||null,_0x39d18f[_0x3294a5(0x1f2)]=_0x14b593,_0x39d18f[_0x3294a5(0x252)]=_0x5e9566[_0x3294a5(0x252)]||{};const _0x563968={};_0x563968['event_type']=_0x4f0a9f[_0x3294a5(0x1a6)],_0x563968[_0x3294a5(0x1ba)]=[_0x39d18f],SessionHandler[_0x3294a5(0x1bf)](_0x563968);}}function BrowserStackNewmanReporter(_0x5f1c2b,_0x5bd003,_0x4f1af9){const _0x1e869a=a44_0x55a253,_0x540219={'bROpB':function(_0x303027,_0x171f9e,_0x2f7a26){return _0x303027(_0x171f9e,_0x2f7a26);},'ETnQi':function(_0x24ebe8,_0x1713ce){return _0x24ebe8(_0x1713ce);},'PXett':function(_0x4e61ad,_0x7e619d){return _0x4e61ad>_0x7e619d;},'gJDJK':function(_0x59aa0b,_0x34a89a){return _0x59aa0b(_0x34a89a);},'wZnAx':_0x1e869a(0x24c),'sNgZM':function(_0x3776f4,_0x3ba3bf){return _0x3776f4+_0x3ba3bf;},'XFOCE':'GET','VhqXn':function(_0x469845,_0x3f9754){return _0x469845(_0x3f9754);},'UfHMM':_0x1e869a(0x1e1),'szHIG':function(_0x47d2db){return _0x47d2db();},'ayMQw':function(_0x109e65,_0x5c493a){return _0x109e65||_0x5c493a;},'QRJJM':function(_0x4d1d0a,_0x395d98,_0x2fa339,_0x1982d5,_0x490b0f,_0x45e3d4){return _0x4d1d0a(_0x395d98,_0x2fa339,_0x1982d5,_0x490b0f,_0x45e3d4);},'XjUhx':function(_0x771483,_0x173e9f){return _0x771483===_0x173e9f;},'wAytK':_0x1e869a(0x1bb),'Wkgxs':function(_0x5824dc,_0x2bdb69){return _0x5824dc+_0x2bdb69;},'otzgB':function(_0x1bbb9f,_0x4a1d00){return _0x1bbb9f+_0x4a1d00;},'fhXYx':function(_0x22e35b,_0x5354cd){return _0x22e35b+_0x5354cd;},'jsuRd':function(_0x537df,_0x440d77){return _0x537df+_0x440d77;},'Cowzh':'\x20->\x20','pdLWY':_0x1e869a(0x1cb),'eZRta':_0x1e869a(0x1b0),'aXTmW':function(_0x8857e0,_0x58c04f){return _0x8857e0>_0x58c04f;},'moCpG':function(_0x2825e1,_0x2c6971){return _0x2825e1-_0x2c6971;},'YSHdp':function(_0x5f0de0,_0x37eb9f,_0xb5d9e0){return _0x5f0de0(_0x37eb9f,_0xb5d9e0);},'bQvdK':function(_0x1157be,_0x4c655b){return _0x1157be(_0x4c655b);},'xesKA':function(_0x3bbb45,_0x325d2f){return _0x3bbb45&&_0x325d2f;},'TudAu':function(_0x8169c7,_0x3d6a3a){return _0x8169c7+_0x3d6a3a;},'lpitW':_0x1e869a(0x1ea),'rwtnu':_0x1e869a(0x1b5),'svoNV':function(_0x21d961,_0x3dee05){return _0x21d961(_0x3dee05);},'ZntaY':_0x1e869a(0x1a7),'SvmUS':function(_0x4bee2f,_0x3bfdf5){return _0x4bee2f>_0x3bfdf5;},'YlYLo':function(_0xc3da03,_0x511585){return _0xc3da03-_0x511585;},'ChRWD':'unknown','yTocS':function(_0x226cbb,_0x438677,_0x169955){return _0x226cbb(_0x438677,_0x169955);},'CDKnD':function(_0x1ade10,_0x529e1a){return _0x1ade10+_0x529e1a;},'kOPDE':function(_0xe5bf0c,_0x159418){return _0xe5bf0c+_0x159418;},'KzFXf':_0x1e869a(0x28c),'ndcJR':_0x1e869a(0x214),'uVYBq':function(_0x13c8f8,_0x362fed){return _0x13c8f8+_0x362fed;},'VBbQK':_0x1e869a(0x1f8),'AfvRG':'failed','Atenl':_0x1e869a(0x1a4),'FiSjf':function(_0x1376b8,_0x412a6d){return _0x1376b8===_0x412a6d;},'zTSJR':_0x1e869a(0x1d8),'UYaNc':_0x1e869a(0x212),'bpCRV':_0x1e869a(0x1e4),'vmyQy':function(_0x450cc8,_0xacbc8a){return _0x450cc8>_0xacbc8a;},'UixTf':function(_0x29a364){return _0x29a364();},'Xrlav':function(_0x4b5fa6,_0xaab11c){return _0x4b5fa6!=_0xaab11c;},'GpVgJ':function(_0x41b5df,_0x35fa64){return _0x41b5df>=_0x35fa64;},'ruxAM':function(_0x365ebf,_0x80892d){return _0x365ebf<_0x80892d;},'MuZwM':_0x1e869a(0x1e8),'SBkzi':'No\x20HTTP\x20response\x20received','eRuKL':function(_0x363015,_0x263b37,_0xe240ef){return _0x363015(_0x263b37,_0xe240ef);},'UmQPw':function(_0x36c040,_0x36e062){return _0x36c040+_0x36e062;},'cTqrS':function(_0x140b9e,_0x1480a0){return _0x140b9e+_0x1480a0;},'Sgxdw':function(_0x39add2,_0x3bb67f){return _0x39add2+_0x3bb67f;},'BFPtr':function(_0x5ced59,_0x296861){return _0x5ced59+_0x296861;},'xMtkO':function(_0x5a3e17,_0x29be4a,_0x3d0231){return _0x5a3e17(_0x29be4a,_0x3d0231);},'CvzoG':function(_0x3c7e83,_0x177b8c){return _0x3c7e83+_0x177b8c;},'MvwOc':function(_0x3697a2,_0xee263d){return _0x3697a2+_0xee263d;},'gxXkl':_0x1e869a(0x1c3),'wWEAo':_0x1e869a(0x238),'tZqTj':function(_0x4086a4,_0x56ead6){return _0x4086a4(_0x56ead6);},'cdKHR':_0x1e869a(0x269),'qJKXs':'beforeIteration','dYBAB':'beforeItem','FVPMq':_0x1e869a(0x25f),'ivkhM':'assertion','ZneWK':_0x1e869a(0x1c2),'rrlvl':'exception','csepJ':_0x1e869a(0x1c4),'wCQff':_0x1e869a(0x275)},_0x1c6efa=new Map();let _0x26fa04=null,_0x24de38=0x0;const _0x2449ba=_0x540219['bROpB'](resolveCollectionFile,_0x4f1af9,_0x5bd003),_0xe5ca6e=_0x540219[_0x1e869a(0x213)](resolveCollectionName,_0x4f1af9)||_0x2449ba,_0x5ea8ed=path[_0x1e869a(0x239)](_0x2449ba),_0x4af559=_0x1e869a(0x1c7)+process['pid'],_0x2a8b47=_0xcc225a=>{const _0x4226b1=_0x1e869a;try{_0x26fa04&&_0x540219['bROpB'](emitLog,_0x26fa04,_0xcc225a);}catch(_0x37510f){_0x540219[_0x4226b1(0x206)](debug,_0x4226b1(0x1a1)+_0x37510f);}};process['on'](_0x4af559,_0x2a8b47),_0x5f1c2b['on'](_0x540219[_0x1e869a(0x240)],()=>{const _0x435946=_0x1e869a;process[_0x435946(0x1d6)](_0x4af559,_0x2a8b47),_0x1c6efa[_0x435946(0x1e6)]();}),_0x5f1c2b['on'](_0x540219['qJKXs'],(_0x296672,_0xbc72a8)=>{const _0xb10812=_0x1e869a;_0xbc72a8&&_0xbc72a8[_0xb10812(0x28b)]&&(_0x24de38=_0xbc72a8[_0xb10812(0x28b)][_0xb10812(0x288)]||0x0);}),_0x5f1c2b['on'](_0x540219['dYBAB'],(_0x2d28cc,_0x5f2566)=>{const _0x5bc50b=_0x1e869a;try{_0x26fa04=null;const _0x4a042c=_0x5f2566['item'],_0x53702b=_0x4a042c[_0x5bc50b(0x241)]()?_0x540219[_0x5bc50b(0x206)](getParentTitles,_0x4a042c[_0x5bc50b(0x241)]()):[],_0x5841e7=_0x540219[_0x5bc50b(0x1d5)](_0x53702b['length'],0x1)?_0x53702b['slice'](0x1):_0x53702b,_0x4a5caf=_0x5f2566['cursor']&&_0x5f2566[_0x5bc50b(0x28b)]['ref'],_0x49c1af={'itemName':_0x4a042c[_0x5bc50b(0x24e)],'scopes':_0x5841e7[_0x5bc50b(0x223)]([_0x4a042c[_0x5bc50b(0x24e)]]),'location':_0x2449ba,'collectionName':_0xe5ca6e,'startedAt':new Date()[_0x5bc50b(0x1a2)](),'startTimestamp':Date[_0x5bc50b(0x225)](),'lastResponseCode':null,'httpLog':null,'assertions':[],'bufferedLogs':[]};_0x1c6efa['set'](_0x4a042c['id']+'_'+_0x24de38,_0x49c1af),_0x4a5caf&&_0x1c6efa[_0x5bc50b(0x1cf)](_0x4a5caf+'_'+_0x24de38,_0x49c1af);}catch(_0x256d7c){_0x540219[_0x5bc50b(0x263)](debug,'[Newman\x20Reporter]\x20Error\x20in\x20beforeItem:\x20'+_0x256d7c);}}),_0x5f1c2b['on'](_0x540219[_0x1e869a(0x272)],(_0x5e140b,_0x182af0)=>{const _0x1b08dd=_0x1e869a;try{if(!_0x182af0||!_0x182af0['item'])return;const _0x510260=_0x1c6efa[_0x1b08dd(0x20a)](_0x182af0['item']['id']+'_'+_0x24de38);if(!_0x510260)return;_0x182af0[_0x1b08dd(0x282)]&&(_0x510260[_0x1b08dd(0x1aa)]=_0x182af0[_0x1b08dd(0x282)][_0x1b08dd(0x1f6)]||null);if(!_0x182af0[_0x1b08dd(0x25f)])return;let _0x38968a='',_0x4ec497='';if(_0x182af0[_0x1b08dd(0x25f)][_0x1b08dd(0x208)])try{const _0x568d67=_0x182af0[_0x1b08dd(0x25f)][_0x1b08dd(0x208)][_0x1b08dd(0x205)](),_0x20cdd5=new URL(_0x568d67[_0x1b08dd(0x1f7)](_0x540219[_0x1b08dd(0x27a)])?_0x568d67:'http://'+_0x568d67);_0x38968a=_0x20cdd5['hostname'],_0x4ec497=_0x540219[_0x1b08dd(0x1f5)](_0x20cdd5[_0x1b08dd(0x257)],_0x20cdd5[_0x1b08dd(0x197)]);}catch(_0x15e601){_0x4ec497=_0x182af0[_0x1b08dd(0x25f)][_0x1b08dd(0x208)]['toString']();}const _0x1e7ae4={};_0x1e7ae4[_0x1b08dd(0x1cd)]=_0x38968a,_0x1e7ae4['path']=_0x4ec497,_0x1e7ae4['method']=_0x182af0['request'][_0x1b08dd(0x247)]||_0x540219['XFOCE'],_0x1e7ae4[_0x1b08dd(0x19c)]={},_0x1e7ae4[_0x1b08dd(0x273)]=_0x182af0[_0x1b08dd(0x282)]?_0x182af0[_0x1b08dd(0x282)][_0x1b08dd(0x1f6)]||0x0:0x0,_0x1e7ae4[_0x1b08dd(0x199)]=_0x182af0[_0x1b08dd(0x282)]?_0x182af0[_0x1b08dd(0x282)]['responseTime']||0x0:0x0,_0x510260[_0x1b08dd(0x26f)]=_0x1e7ae4;}catch(_0x24cbd2){_0x540219[_0x1b08dd(0x22d)](debug,_0x1b08dd(0x1a3)+_0x24cbd2);}}),_0x5f1c2b['on'](_0x540219[_0x1e869a(0x22c)],(_0x22f88d,_0x5d8608)=>{const _0x40cee5=_0x1e869a,_0x62309f={'ZKDXF':function(_0x503055,_0x55b165,_0x30a8c6){return _0x540219['bROpB'](_0x503055,_0x55b165,_0x30a8c6);},'puCLQ':_0x540219['UfHMM']};try{if(!_0x5d8608||!_0x5d8608[_0x40cee5(0x275)])return;const _0x511ed3=_0x1c6efa['get'](_0x5d8608[_0x40cee5(0x275)]['id']+'_'+_0x24de38);if(!_0x511ed3)return;const _0x331a05=_0x5d8608['assertion']||_0x40cee5(0x278)+_0x540219[_0x40cee5(0x1f5)](_0x511ed3[_0x40cee5(0x1d9)][_0x40cee5(0x1d2)],0x1),_0x460df6=_0x540219[_0x40cee5(0x1b9)](uuidv4),_0x19650c=_0x511ed3[_0x40cee5(0x256)][_0x40cee5(0x223)]([_0x331a05])['join']('\x20');_0x511ed3[_0x40cee5(0x1d9)][_0x40cee5(0x200)]({'uuid':_0x460df6,'name':_0x331a05,'identifier':_0x19650c,'err':_0x540219[_0x40cee5(0x26e)](_0x22f88d,null)});const _0x11240a={};_0x11240a[_0x40cee5(0x1d7)]=_0x460df6,_0x11240a[_0x40cee5(0x24e)]=_0x331a05,_0x11240a[_0x40cee5(0x25d)]=_0x19650c,_0x540219['QRJJM'](emitTest,HookState[_0x40cee5(0x19f)],_0x11240a,_0x511ed3,_0x5ea8ed,{});_0x540219['XjUhx'](_0x511ed3[_0x40cee5(0x1d9)][_0x40cee5(0x1d2)],0x1)&&_0x540219[_0x40cee5(0x1d5)](_0x511ed3[_0x40cee5(0x1fe)][_0x40cee5(0x1d2)],0x0)&&(_0x511ed3['bufferedLogs'][_0x40cee5(0x1fa)](_0x342d18=>{const _0x84ea5e=_0x40cee5;_0x62309f[_0x84ea5e(0x265)](emitLog,_0x460df6,{'kind':_0x62309f[_0x84ea5e(0x23b)],'message':_0x342d18[_0x84ea5e(0x23d)],'level':_0x342d18[_0x84ea5e(0x1ab)]});}),_0x511ed3[_0x40cee5(0x1fe)]=[]);if(_0x511ed3['httpLog']){_0x540219[_0x40cee5(0x1eb)](emitLog,_0x460df6,{'kind':_0x540219[_0x40cee5(0x1d0)],'http_response':_0x511ed3[_0x40cee5(0x26f)]});const _0x533b7b=_0x540219[_0x40cee5(0x1f5)](_0x540219['sNgZM'](_0x540219[_0x40cee5(0x274)](_0x540219[_0x40cee5(0x19b)](_0x540219[_0x40cee5(0x1d3)](_0x540219[_0x40cee5(0x274)](_0x540219[_0x40cee5(0x19b)](_0x540219['jsuRd'](_0x511ed3[_0x40cee5(0x26f)][_0x40cee5(0x247)]||_0x540219[_0x40cee5(0x1df)],'\x20'),_0x511ed3[_0x40cee5(0x26f)][_0x40cee5(0x1cd)]),_0x511ed3[_0x40cee5(0x26f)][_0x40cee5(0x267)]),_0x540219['Cowzh']),_0x511ed3[_0x40cee5(0x26f)]['status_code']),'\x20('),_0x511ed3[_0x40cee5(0x26f)][_0x40cee5(0x199)]),_0x540219[_0x40cee5(0x216)]);_0x540219['bROpB'](emitLog,_0x460df6,{'kind':_0x540219[_0x40cee5(0x1b2)],'message':_0x533b7b,'level':_0x540219[_0x40cee5(0x1f3)]});}_0x26fa04=_0x460df6;}catch(_0x1e767c){_0x540219[_0x40cee5(0x263)](debug,_0x40cee5(0x22f)+_0x1e767c);}}),_0x5f1c2b['on'](_0x540219['ZneWK'],(_0x8cc99e,_0x2dfa80)=>{const _0x51d023=_0x1e869a;try{if(!_0x2dfa80)return;let _0x3d4b3c=_0x26fa04;if(!_0x3d4b3c&&_0x2dfa80['cursor']&&_0x2dfa80[_0x51d023(0x28b)]['ref']){const _0x27f846=_0x1c6efa[_0x51d023(0x20a)](_0x2dfa80[_0x51d023(0x28b)][_0x51d023(0x21c)]+'_'+_0x24de38);_0x27f846&&_0x540219['aXTmW'](_0x27f846[_0x51d023(0x1d9)][_0x51d023(0x1d2)],0x0)&&(_0x3d4b3c=_0x27f846[_0x51d023(0x1d9)][_0x540219[_0x51d023(0x251)](_0x27f846[_0x51d023(0x1d9)][_0x51d023(0x1d2)],0x1)][_0x51d023(0x1d7)]);}const _0x2c7005=_0x2dfa80[_0x51d023(0x21f)]?_0x2dfa80[_0x51d023(0x21f)]['join'](',\x20'):'';if(_0x3d4b3c)_0x540219[_0x51d023(0x246)](emitLog,_0x3d4b3c,{'kind':_0x540219[_0x51d023(0x1b2)],'message':_0x2c7005,'level':_0x540219[_0x51d023(0x1af)](normalizeLogLevel,_0x2dfa80['level'])});else{if(_0x2dfa80[_0x51d023(0x28b)]&&_0x2dfa80[_0x51d023(0x28b)]['ref']){const _0x4bddf1=_0x1c6efa[_0x51d023(0x20a)](_0x2dfa80[_0x51d023(0x28b)][_0x51d023(0x21c)]+'_'+_0x24de38);_0x4bddf1&&_0x4bddf1[_0x51d023(0x1fe)][_0x51d023(0x200)]({'timestamp':new Date()[_0x51d023(0x1a2)](),'level':_0x540219[_0x51d023(0x206)](normalizeLogLevel,_0x2dfa80[_0x51d023(0x1ab)]),'message':_0x2c7005});}}}catch(_0x2135a7){_0x540219[_0x51d023(0x206)](debug,'[Newman\x20Reporter]\x20Error\x20in\x20console:\x20'+_0x2135a7);}}),_0x5f1c2b['on'](_0x540219[_0x1e869a(0x217)],(_0x43d166,_0x52e019)=>{const _0x593992=_0x1e869a;try{if(!_0x43d166&&(!_0x52e019||!_0x52e019[_0x593992(0x22a)]))return;const _0x293a9a=_0x43d166||_0x52e019['error'],_0x3b1618=_0x293a9a[_0x593992(0x23d)]||_0x540219['bQvdK'](String,_0x293a9a),_0x12b40d=_0x293a9a[_0x593992(0x1ec)]||_0x3b1618;let _0x200710=_0x26fa04;if(_0x540219[_0x593992(0x25b)](!_0x200710,_0x52e019)&&_0x52e019[_0x593992(0x28b)]&&_0x52e019['cursor'][_0x593992(0x21c)]){const _0x3ca3a7=_0x1c6efa[_0x593992(0x20a)](_0x52e019[_0x593992(0x28b)][_0x593992(0x21c)]+'_'+_0x24de38);_0x3ca3a7&&_0x540219[_0x593992(0x271)](_0x3ca3a7[_0x593992(0x1d9)][_0x593992(0x1d2)],0x0)&&(_0x200710=_0x3ca3a7[_0x593992(0x1d9)][_0x540219['moCpG'](_0x3ca3a7[_0x593992(0x1d9)]['length'],0x1)][_0x593992(0x1d7)]);}_0x200710&&_0x540219[_0x593992(0x246)](emitLog,_0x200710,{'kind':_0x540219[_0x593992(0x1b2)],'message':_0x540219[_0x593992(0x1ef)](_0x540219['lpitW'],_0x12b40d),'level':_0x540219[_0x593992(0x28a)]});}catch(_0x5d7a36){_0x540219[_0x593992(0x213)](debug,_0x540219[_0x593992(0x23a)](_0x540219[_0x593992(0x277)],_0x5d7a36));}}),_0x5f1c2b['on'](_0x540219[_0x1e869a(0x25c)],(_0x205fdc,_0x15a2c2)=>{const _0x432893=_0x1e869a;try{if(!_0x15a2c2||!_0x15a2c2[_0x432893(0x289)])return;let _0x5e557b=_0x26fa04;if(!_0x5e557b&&_0x15a2c2[_0x432893(0x28b)]&&_0x15a2c2[_0x432893(0x28b)]['ref']){const _0x5d08e8=_0x1c6efa['get'](_0x15a2c2['cursor']['ref']+'_'+_0x24de38);_0x5d08e8&&_0x540219[_0x432893(0x1c6)](_0x5d08e8[_0x432893(0x1d9)]['length'],0x0)&&(_0x5e557b=_0x5d08e8[_0x432893(0x1d9)][_0x540219[_0x432893(0x243)](_0x5d08e8[_0x432893(0x1d9)]['length'],0x1)][_0x432893(0x1d7)]);}if(!_0x5e557b)return;const _0x4529b7=_0x15a2c2[_0x432893(0x215)]&&_0x15a2c2[_0x432893(0x215)][_0x432893(0x262)]||_0x540219[_0x432893(0x220)];_0x205fdc&&_0x540219['yTocS'](emitLog,_0x5e557b,{'kind':_0x540219[_0x432893(0x1b2)],'message':_0x540219[_0x432893(0x201)](_0x540219[_0x432893(0x1d3)](_0x540219['kOPDE'](_0x540219[_0x432893(0x19d)],_0x4529b7),_0x540219[_0x432893(0x25e)]),_0x205fdc['message']||_0x205fdc),'level':_0x540219[_0x432893(0x28a)]});}catch(_0x15504c){_0x540219[_0x432893(0x206)](debug,_0x540219[_0x432893(0x26b)](_0x540219[_0x432893(0x27d)],_0x15504c));}}),_0x5f1c2b['on'](_0x540219['wCQff'],(_0x5f0e85,_0x3fa116)=>{const _0x4e9477=_0x1e869a,_0x49e5d4={'FeFlY':_0x540219['AfvRG'],'MGbDl':_0x540219[_0x4e9477(0x224)],'GHXIN':function(_0x555def,_0x2c7aab){const _0x502288=_0x4e9477;return _0x540219[_0x502288(0x1b4)](_0x555def,_0x2c7aab);},'bkvYr':_0x540219[_0x4e9477(0x21d)],'PHtSb':_0x540219[_0x4e9477(0x1e2)],'YyFpv':_0x540219['bpCRV'],'zHkIo':function(_0x41305c,_0x5d0a59,_0x34b204,_0x512718,_0x350ca2,_0x2dbb78){const _0x39cfbb=_0x4e9477;return _0x540219[_0x39cfbb(0x1b7)](_0x41305c,_0x5d0a59,_0x34b204,_0x512718,_0x350ca2,_0x2dbb78);}};try{if(!_0x3fa116||!_0x3fa116[_0x4e9477(0x275)])return;const _0x2a1364=_0x3fa116[_0x4e9477(0x275)]['id']+'_'+_0x24de38,_0x28be27=_0x1c6efa[_0x4e9477(0x20a)](_0x2a1364);if(!_0x28be27)return;const _0x3718b0=new Date(),_0xfb69e1=_0x540219[_0x4e9477(0x243)](_0x3718b0[_0x4e9477(0x202)](),_0x28be27[_0x4e9477(0x230)]);if(_0x540219[_0x4e9477(0x279)](_0x28be27[_0x4e9477(0x1d9)][_0x4e9477(0x1d2)],0x0))_0x28be27[_0x4e9477(0x1d9)][_0x4e9477(0x1fa)](_0x3e164c=>{const _0x51f4ac=_0x4e9477,_0x4d0c9a=!!_0x3e164c['err'],_0x4ebf5e={'finishedAt':_0x3718b0[_0x51f4ac(0x1a2)](),'durationMs':_0xfb69e1,'result':_0x4d0c9a?_0x49e5d4[_0x51f4ac(0x235)]:_0x49e5d4[_0x51f4ac(0x1b1)]};_0x4d0c9a&&(_0x4ebf5e[_0x51f4ac(0x23c)]=_0x3e164c[_0x51f4ac(0x229)][_0x51f4ac(0x23d)]||'',_0x4ebf5e[_0x51f4ac(0x26d)]=_0x49e5d4[_0x51f4ac(0x1db)](_0x3e164c[_0x51f4ac(0x229)][_0x51f4ac(0x24e)],_0x49e5d4[_0x51f4ac(0x283)])||_0x3e164c[_0x51f4ac(0x229)][_0x51f4ac(0x23d)]&&_0x3e164c[_0x51f4ac(0x229)][_0x51f4ac(0x23d)][_0x51f4ac(0x226)](_0x49e5d4['PHtSb'])?_0x49e5d4[_0x51f4ac(0x283)]:_0x49e5d4[_0x51f4ac(0x266)],_0x4ebf5e[_0x51f4ac(0x281)]=[{'backtrace':_0x3e164c[_0x51f4ac(0x229)]['stack']?_0x3e164c[_0x51f4ac(0x229)][_0x51f4ac(0x1ec)][_0x51f4ac(0x1da)]('\x0a'):[_0x3e164c[_0x51f4ac(0x229)][_0x51f4ac(0x23d)]||''],'expanded':[]}]),_0x49e5d4[_0x51f4ac(0x1ed)](emitTest,HookState[_0x51f4ac(0x221)],_0x3e164c,_0x28be27,_0x5ea8ed,_0x4ebf5e);});else{const _0x170b58=_0x540219['UixTf'](uuidv4),_0x2f232b=_0x28be27['lastResponseCode'],_0x5c0c0f=_0x540219[_0x4e9477(0x1c5)](_0x2f232b,null)&&_0x540219['GpVgJ'](_0x2f232b,0xc8)&&_0x540219['ruxAM'](_0x2f232b,0x190),_0x396816=_0x28be27[_0x4e9477(0x20d)]+'\x20(HTTP\x20'+_0x540219['ayMQw'](_0x2f232b,_0x540219['MuZwM'])+')',_0xd6934d={'uuid':_0x170b58,'name':_0x396816,'identifier':_0x28be27[_0x4e9477(0x256)][_0x4e9477(0x223)]([_0x396816])[_0x4e9477(0x245)]('\x20')},_0x2bbe80={'finishedAt':_0x3718b0[_0x4e9477(0x1a2)](),'durationMs':_0xfb69e1,'result':_0x5c0c0f?_0x540219[_0x4e9477(0x224)]:_0x540219[_0x4e9477(0x1c8)]};!_0x5c0c0f&&(_0x2bbe80[_0x4e9477(0x23c)]=_0x540219[_0x4e9477(0x1c5)](_0x2f232b,null)?_0x4e9477(0x264)+_0x2f232b+_0x4e9477(0x26c):_0x540219[_0x4e9477(0x249)],_0x2bbe80[_0x4e9477(0x26d)]=_0x540219[_0x4e9477(0x227)],_0x2bbe80[_0x4e9477(0x281)]=[{'backtrace':[_0x2bbe80[_0x4e9477(0x23c)]],'expanded':[]}]);_0x540219[_0x4e9477(0x1b7)](emitTest,HookState[_0x4e9477(0x19f)],_0xd6934d,_0x28be27,_0x5ea8ed,{}),_0x28be27[_0x4e9477(0x1fe)]['forEach'](_0x5d1ea7=>{const _0x5ad86a=_0x4e9477;_0x540219[_0x5ad86a(0x246)](emitLog,_0x170b58,{'kind':_0x540219[_0x5ad86a(0x1b2)],'message':_0x5d1ea7[_0x5ad86a(0x23d)],'level':_0x5d1ea7[_0x5ad86a(0x1ab)]});});if(_0x28be27[_0x4e9477(0x26f)]){_0x540219[_0x4e9477(0x22e)](emitLog,_0x170b58,{'kind':_0x540219[_0x4e9477(0x1d0)],'http_response':_0x28be27[_0x4e9477(0x26f)]});const _0x40d821=_0x540219[_0x4e9477(0x27b)](_0x540219[_0x4e9477(0x23a)](_0x540219['cTqrS'](_0x540219[_0x4e9477(0x1d3)](_0x540219[_0x4e9477(0x1d3)](_0x540219[_0x4e9477(0x1ad)](_0x540219[_0x4e9477(0x1cc)](_0x540219[_0x4e9477(0x1ef)](_0x28be27[_0x4e9477(0x26f)][_0x4e9477(0x247)]||_0x540219['XFOCE'],'\x20'),_0x28be27[_0x4e9477(0x26f)][_0x4e9477(0x1cd)]),_0x28be27[_0x4e9477(0x26f)][_0x4e9477(0x267)]),_0x540219[_0x4e9477(0x254)]),_0x28be27['httpLog'][_0x4e9477(0x273)]),'\x20('),_0x28be27[_0x4e9477(0x26f)]['duration_ms']),_0x540219[_0x4e9477(0x216)]);_0x540219[_0x4e9477(0x246)](emitLog,_0x170b58,{'kind':_0x540219[_0x4e9477(0x1b2)],'message':_0x40d821,'level':_0x540219[_0x4e9477(0x1f3)]});}else _0x540219[_0x4e9477(0x231)](emitLog,_0x170b58,{'kind':_0x540219[_0x4e9477(0x1b2)],'message':_0x540219['CvzoG'](_0x540219[_0x4e9477(0x1ac)](_0x540219[_0x4e9477(0x219)],_0x540219[_0x4e9477(0x26e)](_0x2f232b,_0x540219[_0x4e9477(0x1fc)])),_0x540219[_0x4e9477(0x250)]),'level':_0x540219[_0x4e9477(0x1f3)]});_0x540219[_0x4e9477(0x1b7)](emitTest,HookState[_0x4e9477(0x221)],_0xd6934d,_0x28be27,_0x5ea8ed,_0x2bbe80);}_0x1c6efa[_0x4e9477(0x1a8)](_0x2a1364),_0x3fa116[_0x4e9477(0x28b)]&&_0x3fa116['cursor']['ref']&&_0x1c6efa[_0x4e9477(0x1a8)](_0x3fa116[_0x4e9477(0x28b)]['ref']+'_'+_0x24de38);}catch(_0x102648){_0x540219['tZqTj'](debug,'[Newman\x20Reporter]\x20Error\x20in\x20item:\x20'+_0x102648);}});}module[a44_0x55a253(0x1fb)]=BrowserStackNewmanReporter;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a45_0x44cab6=a45_0x274f;(function(_0x3de9df,_0x1bcf6a){const _0x2454d2=a45_0x274f,_0x2f8d1e=_0x3de9df();while(!![]){try{const _0x1fb7f7=parseInt(_0x2454d2(0x197))/0x1+-parseInt(_0x2454d2(0x19d))/0x2+-parseInt(_0x2454d2(0x19e))/0x3*(-parseInt(_0x2454d2(0x178))/0x4)+-parseInt(_0x2454d2(0x19c))/0x5*(-parseInt(_0x2454d2(0x17a))/0x6)+-parseInt(_0x2454d2(0x1a7))/0x7+parseInt(_0x2454d2(0x1ae))/0x8+parseInt(_0x2454d2(0x1b0))/0x9*(-parseInt(_0x2454d2(0x17c))/0xa);if(_0x1fb7f7===_0x1bcf6a)break;else _0x2f8d1e['push'](_0x2f8d1e['shift']());}catch(_0x458d0c){_0x2f8d1e['push'](_0x2f8d1e['shift']());}}}(a45_0x1f35,0xbfb19));function a45_0x274f(_0x1b6857,_0x1f0ca1){const _0x1f3563=a45_0x1f35();return a45_0x274f=function(_0x274f37,_0x251e60){_0x274f37=_0x274f37-0x173;let _0x398d81=_0x1f3563[_0x274f37];return _0x398d81;},a45_0x274f(_0x1b6857,_0x1f0ca1);}const path=require('path'),Module=require(a45_0x44cab6(0x179)),BrowserstackCLI=require(a45_0x44cab6(0x187)),scriptFile=process[a45_0x44cab6(0x186)][0x2],maxParallel=parseInt(process[a45_0x44cab6(0x186)][0x3])||0x0;!scriptFile&&(process['stderr'][a45_0x44cab6(0x198)](a45_0x44cab6(0x18b)),process[a45_0x44cab6(0x1a3)](0x1));const reporterPath=path[a45_0x44cab6(0x1a9)](__dirname,a45_0x44cab6(0x195),a45_0x44cab6(0x18c)),originalResolveFilename=Module['_resolveFilename'];function a45_0x1f35(){const _0x1db16b=['PIrsU','[Newman]\x20scriptRunner:\x20failed\x20to\x20load\x20script:\x20','exit','newman','AutZu','nngUn','3174542EFQuLC','create','join','browserstack','concat','call','BtLQO','2411352UNLRUr','collection','567450ThxBWZ','exitCode','OeWEw','failures','error','NbjaA','160heQDPq','module','72fKRekg','fJZSF','40eeocMq','indexOf','reporters','YJiTE','p-limit','fzPiV','GAapO','ClDKp','message','lZggA','argv','../v2/browserstackCLI','_load','string','rRomB','[Newman]\x20scriptRunner:\x20no\x20script\x20file\x20provided\x0a','index.js','itIoQ','JXodk','beforeExit','assign','hihXX','ObvPH','aoJAg','nnQkm','reporter','ujcNU','1130602AoMIjT','write','ybyeu','collectionPath','zTBWD','43270cFDxXr','2146132PoGPRb','77106arhTOP','run','hRWIp'];a45_0x1f35=function(){return _0x1db16b;};return a45_0x1f35();}Module['_resolveFilename']=function(_0x44bad2,_0x16d217,_0x532b53,_0x45efb9){const _0x5173ca=a45_0x44cab6,_0x3233dc={};_0x3233dc[_0x5173ca(0x183)]=function(_0x3f9b89,_0x4113bd){return _0x3f9b89===_0x4113bd;},_0x3233dc[_0x5173ca(0x17b)]='newman-reporter-browserstack';const _0x2d36b6=_0x3233dc;if(_0x2d36b6['ClDKp'](_0x44bad2,_0x2d36b6[_0x5173ca(0x17b)]))return reporterPath;return originalResolveFilename[_0x5173ca(0x1ac)](this,_0x44bad2,_0x16d217,_0x532b53,_0x45efb9);};let limit;try{const pLimit=require(a45_0x44cab6(0x180)),concurrency=maxParallel&&maxParallel>0x0?maxParallel:Infinity;limit=pLimit(concurrency);}catch(a45_0x33bf0f){limit=function(_0x56c6fd){const _0x1fa5b6=a45_0x44cab6,_0x21a8d6={'nngUn':function(_0x21baa6){return _0x21baa6();}};return _0x21a8d6[_0x1fa5b6(0x1a6)](_0x56c6fd);};}let wrappedNewman=null,hasFailure=![];const originalLoad=Module['_load'];Module[a45_0x44cab6(0x188)]=function(_0xcfe08a,_0x4a7dfa,_0x3ff1d7){const _0x51aeb6=a45_0x44cab6,_0x1d7190={'nnQkm':function(_0x21396d,_0x4bafdd){return _0x21396d>_0x4bafdd;},'itIoQ':function(_0x4a528c,_0x19bddc){return _0x4a528c||_0x19bddc;},'JXodk':function(_0x3b6d29,_0x3459b7,_0x175876){return _0x3b6d29(_0x3459b7,_0x175876);},'PIrsU':function(_0x3e16f2,_0x5465cd){return _0x3e16f2(_0x5465cd);},'theVZ':'cli','aoJAg':function(_0x14d349,_0x87a39){return _0x14d349===_0x87a39;},'NbjaA':_0x51aeb6(0x1aa),'ZORbe':_0x51aeb6(0x189),'hRWIp':function(_0x1095b6,_0x53d493){return _0x1095b6(_0x53d493);},'ybyeu':function(_0xea39d9,_0x535bae){return _0xea39d9!==_0x535bae;},'hihXX':_0x51aeb6(0x1a4)},_0x509155=originalLoad['call'](this,_0xcfe08a,_0x4a7dfa,_0x3ff1d7);if(_0x1d7190[_0x51aeb6(0x199)](_0xcfe08a,_0x1d7190[_0x51aeb6(0x191)]))return _0x509155;if(wrappedNewman)return wrappedNewman;const _0x54f776=_0x509155[_0x51aeb6(0x19f)]['bind'](_0x509155);return wrappedNewman=Object[_0x51aeb6(0x1a8)](_0x509155),wrappedNewman[_0x51aeb6(0x19f)]=function(_0x5a9cfa,_0x26c0ae){const _0x4ff9b4=_0x51aeb6,_0xe7f0ca={'ObvPH':function(_0x27c075,_0x4a8489){const _0x1816ad=a45_0x274f;return _0x1d7190[_0x1816ad(0x194)](_0x27c075,_0x4a8489);},'lZggA':function(_0x329d62,_0x153da9){const _0x821d7d=a45_0x274f;return _0x1d7190[_0x821d7d(0x18d)](_0x329d62,_0x153da9);},'ipTPg':function(_0x2f88c6,_0x2d4b06,_0x5a3d42){const _0x5ce395=a45_0x274f;return _0x1d7190[_0x5ce395(0x18e)](_0x2f88c6,_0x2d4b06,_0x5a3d42);},'GAapO':function(_0x6fef00,_0x5772b6){const _0x49ca5d=a45_0x274f;return _0x1d7190[_0x49ca5d(0x1a1)](_0x6fef00,_0x5772b6);}};let _0x27fb82=_0x5a9cfa[_0x4ff9b4(0x17e)]||[_0x1d7190['theVZ']];_0x1d7190[_0x4ff9b4(0x193)](_0x27fb82[_0x4ff9b4(0x17d)](_0x1d7190[_0x4ff9b4(0x177)]),-0x1)&&(_0x27fb82=_0x27fb82[_0x4ff9b4(0x1ab)]([_0x1d7190['NbjaA']]));const _0x1d44f3=_0x1d7190[_0x4ff9b4(0x193)](typeof _0x5a9cfa[_0x4ff9b4(0x1af)],_0x1d7190['ZORbe'])?_0x5a9cfa[_0x4ff9b4(0x1af)]:undefined,_0x596a47={};_0x596a47[_0x4ff9b4(0x19a)]=_0x1d44f3;const _0x3a22b8=Object[_0x4ff9b4(0x190)]({},_0x5a9cfa[_0x4ff9b4(0x195)],{'browserstack':Object['assign']({},_0x5a9cfa[_0x4ff9b4(0x195)]&&_0x5a9cfa[_0x4ff9b4(0x195)][_0x4ff9b4(0x1aa)],_0x596a47)}),_0x150b63={};return _0x150b63[_0x4ff9b4(0x17e)]=_0x27fb82,_0x150b63[_0x4ff9b4(0x195)]=_0x3a22b8,_0x5a9cfa=Object[_0x4ff9b4(0x190)]({},_0x5a9cfa,_0x150b63),_0x1d7190[_0x4ff9b4(0x1a0)](limit,function(){return new Promise(function(_0x1f435f){const _0x246013={'YJiTE':function(_0x12b1b4,_0x8963e8){const _0xa0abba=a45_0x274f;return _0xe7f0ca[_0xa0abba(0x192)](_0x12b1b4,_0x8963e8);},'BtLQO':function(_0x31e6e6,_0x1eb84a){const _0x49f4cb=a45_0x274f;return _0xe7f0ca[_0x49f4cb(0x185)](_0x31e6e6,_0x1eb84a);},'rRomB':function(_0x2c83ad,_0xcda434,_0x571aef){return _0xe7f0ca['ipTPg'](_0x2c83ad,_0xcda434,_0x571aef);},'AutZu':function(_0x457b5a,_0x246c3b){const _0x2500be=a45_0x274f;return _0xe7f0ca[_0x2500be(0x182)](_0x457b5a,_0x246c3b);}};_0xe7f0ca['ipTPg'](_0x54f776,_0x5a9cfa,function(_0x32aeea,_0xdcb1be){const _0x54b005=a45_0x274f,_0x3b496a=_0xdcb1be&&_0xdcb1be[_0x54b005(0x19f)]&&(_0xdcb1be[_0x54b005(0x19f)][_0x54b005(0x176)]||_0xdcb1be[_0x54b005(0x19f)][_0x54b005(0x175)]&&_0x246013[_0x54b005(0x17f)](_0xdcb1be[_0x54b005(0x19f)][_0x54b005(0x175)]['length'],0x0));_0x246013[_0x54b005(0x1ad)](_0x3b496a,_0x32aeea)&&(hasFailure=!![]),_0x26c0ae&&_0x246013[_0x54b005(0x18a)](_0x26c0ae,_0x32aeea,_0xdcb1be),_0x246013[_0x54b005(0x1a5)](_0x1f435f,_0xdcb1be);});});});},wrappedNewman;};async function main(){const _0x10bbd9=a45_0x44cab6,_0x2c7864={'OeWEw':function(_0x308226,_0x2795d8){return _0x308226(_0x2795d8);},'ujcNU':function(_0x4203fc,_0x1275ef){return _0x4203fc+_0x1275ef;},'fzPiV':_0x10bbd9(0x1a2)};try{await BrowserstackCLI['getInstance']()['bootstrap']();}catch(_0x5cbacc){}try{_0x2c7864[_0x10bbd9(0x174)](require,path['resolve'](scriptFile));}catch(_0x3172bf){process['stderr'][_0x10bbd9(0x198)](_0x2c7864[_0x10bbd9(0x196)](_0x2c7864['ujcNU'](_0x2c7864[_0x10bbd9(0x181)],_0x3172bf[_0x10bbd9(0x184)]||_0x3172bf),'\x0a')),process[_0x10bbd9(0x173)]=0x1;}}main(),process['on'](a45_0x44cab6(0x18f),function(){const _0x501c61=a45_0x44cab6;hasFailure&&(process[_0x501c61(0x173)]=0x1);}),process['on'](a45_0x44cab6(0x1a3),function(){const _0x58bb3b=a45_0x44cab6,_0x21e9f5={};_0x21e9f5[_0x58bb3b(0x19b)]=function(_0x1e15aa,_0x2df127){return _0x1e15aa===_0x2df127;};const _0x4adc07=_0x21e9f5;hasFailure&&_0x4adc07[_0x58bb3b(0x19b)](process[_0x58bb3b(0x173)],0x0)&&(process[_0x58bb3b(0x173)]=0x1);});
2
+ 'use strict';const a45_0x13e128=a45_0x9516;(function(_0x53b788,_0xe1009d){const _0x2839b1=a45_0x9516,_0x3c7ee0=_0x53b788();while(!![]){try{const _0x3b2598=-parseInt(_0x2839b1(0x156))/0x1+parseInt(_0x2839b1(0x158))/0x2+-parseInt(_0x2839b1(0x12a))/0x3*(-parseInt(_0x2839b1(0x12e))/0x4)+-parseInt(_0x2839b1(0x151))/0x5+-parseInt(_0x2839b1(0x143))/0x6+-parseInt(_0x2839b1(0x137))/0x7+parseInt(_0x2839b1(0x148))/0x8*(parseInt(_0x2839b1(0x14a))/0x9);if(_0x3b2598===_0xe1009d)break;else _0x3c7ee0['push'](_0x3c7ee0['shift']());}catch(_0xeb1d46){_0x3c7ee0['push'](_0x3c7ee0['shift']());}}}(a45_0x4460,0x90ced));const path=require('path'),Module=require(a45_0x13e128(0x11f)),BrowserstackCLI=require(a45_0x13e128(0x118)),scriptFile=process[a45_0x13e128(0x13f)][0x2],maxParallel=parseInt(process[a45_0x13e128(0x13f)][0x3])||0x0;!scriptFile&&(process['stderr']['write'](a45_0x13e128(0x120)),process[a45_0x13e128(0x14d)](0x1));const reporterPath=path[a45_0x13e128(0x139)](__dirname,'reporter',a45_0x13e128(0x116)),originalResolveFilename=Module[a45_0x13e128(0x124)];Module['_resolveFilename']=function(_0x1e70b8,_0x39857e,_0x4b4d7e,_0x268cf6){const _0x3c4b19=a45_0x13e128,_0x4773e3={};_0x4773e3['nrTHX']=function(_0x15a05c,_0x571084){return _0x15a05c===_0x571084;},_0x4773e3[_0x3c4b19(0x12c)]='newman-reporter-browserstack';const _0x383026=_0x4773e3;if(_0x383026[_0x3c4b19(0x11b)](_0x1e70b8,_0x383026[_0x3c4b19(0x12c)]))return reporterPath;return originalResolveFilename['call'](this,_0x1e70b8,_0x39857e,_0x4b4d7e,_0x268cf6);};function a45_0x9516(_0x1b64e8,_0xbb0fde){const _0x4460a7=a45_0x4460();return a45_0x9516=function(_0x951678,_0x3bff81){_0x951678=_0x951678-0x115;let _0x4d62da=_0x4460a7[_0x951678];return _0x4d62da;},a45_0x9516(_0x1b64e8,_0xbb0fde);}let limit;try{const pLimit=require('p-limit'),concurrency=maxParallel&&maxParallel>0x0?maxParallel:Infinity;limit=pLimit(concurrency);}catch(a45_0x485b68){limit=function(_0x6b7253){const _0x38473f=a45_0x13e128,_0x31ddbb={'aMxvU':function(_0x45b8c7){return _0x45b8c7();}};return _0x31ddbb[_0x38473f(0x140)](_0x6b7253);};}let wrappedNewman=null,hasFailure=![];function a45_0x4460(){const _0x41573e=['knwDx','9UByXDk','string','_load','exit','collection','[Newman]\x20scriptRunner:\x20failed\x20to\x20load\x20script:\x20','run','2600575UhAKGL','write','reporter','bootstrap','sbcjY','311969pybkyk','Hbzwj','1748852wbvLDn','hLvxz','index.js','call','../v2/browserstackCLI','resolve','message','nrTHX','fcsoq','YXtZn','beforeExit','module','[Newman]\x20scriptRunner:\x20no\x20script\x20file\x20provided\x0a','reporters','assign','failures','_resolveFilename','bind','iVktD','tXUDw','newman','hGlXV','858pCavvj','TdCdu','VyvOI','niytS','4444kQlnmY','oRhxL','create','jsEzJ','ockXR','cli','browserstack','NEmcQ','aBYYf','5562515qwqGvT','XAMrq','join','collectionPath','error','indexOf','getInstance','exitCode','argv','aMxvU','XWUqs','concat','2288046noXihM','HhztJ','fSLmE','XLWhY','stderr','11272248YHgtPL'];a45_0x4460=function(){return _0x41573e;};return a45_0x4460();}const originalLoad=Module[a45_0x13e128(0x14c)];Module[a45_0x13e128(0x14c)]=function(_0x35c1a8,_0x145ce4,_0x5c5c81){const _0x5554ae=a45_0x13e128,_0x326e86={'VsMrS':function(_0x5e27bf,_0x2f2f2d){return _0x5e27bf>_0x2f2f2d;},'XWUqs':function(_0x3b88b2,_0x4c9ebf){return _0x3b88b2||_0x4c9ebf;},'XLWhY':function(_0xafdda2,_0x3a2df9,_0x288bd0){return _0xafdda2(_0x3a2df9,_0x288bd0);},'ockXR':function(_0x1e2c85,_0x5ce89a){return _0x1e2c85(_0x5ce89a);},'jsEzJ':function(_0x2ce6b8,_0x2a35da,_0x332374){return _0x2ce6b8(_0x2a35da,_0x332374);},'iVktD':_0x5554ae(0x133),'niytS':function(_0x2f1a88,_0x300d5e){return _0x2f1a88===_0x300d5e;},'oRhxL':_0x5554ae(0x134),'xvPIL':function(_0x3aeb01,_0x363ad7){return _0x3aeb01===_0x363ad7;},'Hbzwj':_0x5554ae(0x14b),'HhztJ':function(_0x584973,_0x4cb1b4){return _0x584973(_0x4cb1b4);},'fcsoq':function(_0x3ac2ad,_0x7f6eda){return _0x3ac2ad!==_0x7f6eda;},'hLvxz':_0x5554ae(0x128)},_0x2b360d=originalLoad[_0x5554ae(0x117)](this,_0x35c1a8,_0x145ce4,_0x5c5c81);if(_0x326e86[_0x5554ae(0x11c)](_0x35c1a8,_0x326e86[_0x5554ae(0x115)]))return _0x2b360d;if(wrappedNewman)return wrappedNewman;const _0x283e84=_0x2b360d[_0x5554ae(0x150)][_0x5554ae(0x125)](_0x2b360d);return wrappedNewman=Object[_0x5554ae(0x130)](_0x2b360d),wrappedNewman[_0x5554ae(0x150)]=function(_0x2e70f6,_0x53faeb){const _0xe655e8=_0x5554ae;let _0x163104=_0x2e70f6['reporters']||[_0x326e86[_0xe655e8(0x126)]];_0x326e86[_0xe655e8(0x12d)](_0x163104[_0xe655e8(0x13c)](_0x326e86[_0xe655e8(0x12f)]),-0x1)&&(_0x163104=_0x163104[_0xe655e8(0x142)]([_0x326e86[_0xe655e8(0x12f)]]));const _0x36371c=_0x326e86['xvPIL'](typeof _0x2e70f6[_0xe655e8(0x14e)],_0x326e86[_0xe655e8(0x157)])?_0x2e70f6[_0xe655e8(0x14e)]:undefined,_0xa98ed7={};_0xa98ed7[_0xe655e8(0x13a)]=_0x36371c;const _0x120e2f=Object[_0xe655e8(0x122)]({},_0x2e70f6[_0xe655e8(0x153)],{'browserstack':Object['assign']({},_0x2e70f6[_0xe655e8(0x153)]&&_0x2e70f6[_0xe655e8(0x153)][_0xe655e8(0x134)],_0xa98ed7)}),_0x5c72af={};return _0x5c72af[_0xe655e8(0x121)]=_0x163104,_0x5c72af[_0xe655e8(0x153)]=_0x120e2f,_0x2e70f6=Object[_0xe655e8(0x122)]({},_0x2e70f6,_0x5c72af),_0x326e86[_0xe655e8(0x144)](limit,function(){const _0xe4296e={'sbcjY':function(_0x2d746f,_0x3bd037){return _0x326e86['VsMrS'](_0x2d746f,_0x3bd037);},'YXtZn':function(_0x163b39,_0x266132){const _0x25e6c4=a45_0x9516;return _0x326e86[_0x25e6c4(0x141)](_0x163b39,_0x266132);},'NEmcQ':function(_0x1b63b3,_0x2628ed,_0x2e3de5){const _0x4d53e8=a45_0x9516;return _0x326e86[_0x4d53e8(0x146)](_0x1b63b3,_0x2628ed,_0x2e3de5);},'knwDx':function(_0x5f0eaa,_0x23fcce){const _0x351f85=a45_0x9516;return _0x326e86[_0x351f85(0x132)](_0x5f0eaa,_0x23fcce);},'hGlXV':function(_0x5bacd2,_0x35b176,_0x58f6c9){const _0x1f18fe=a45_0x9516;return _0x326e86[_0x1f18fe(0x131)](_0x5bacd2,_0x35b176,_0x58f6c9);}};return new Promise(function(_0x5d19b8){const _0x243f3e=a45_0x9516;_0xe4296e[_0x243f3e(0x129)](_0x283e84,_0x2e70f6,function(_0xd000f5,_0x4024d1){const _0x52a9b2=_0x243f3e,_0x4459a1=_0x4024d1&&_0x4024d1[_0x52a9b2(0x150)]&&(_0x4024d1[_0x52a9b2(0x150)][_0x52a9b2(0x13b)]||_0x4024d1['run'][_0x52a9b2(0x123)]&&_0xe4296e[_0x52a9b2(0x155)](_0x4024d1[_0x52a9b2(0x150)][_0x52a9b2(0x123)]['length'],0x0));_0xe4296e[_0x52a9b2(0x11d)](_0x4459a1,_0xd000f5)&&(hasFailure=!![]),_0x53faeb&&_0xe4296e[_0x52a9b2(0x135)](_0x53faeb,_0xd000f5,_0x4024d1),_0xe4296e[_0x52a9b2(0x149)](_0x5d19b8,_0x4024d1);});});});},wrappedNewman;};async function main(){const _0x238f65=a45_0x13e128,_0x134d5b={'aBYYf':function(_0x241954,_0x179e2e){return _0x241954(_0x179e2e);},'tXUDw':function(_0x2abddb,_0x5d9f94){return _0x2abddb+_0x5d9f94;},'fSLmE':function(_0x448e4c,_0x2a1708){return _0x448e4c+_0x2a1708;},'TdCdu':_0x238f65(0x14f)};try{await BrowserstackCLI[_0x238f65(0x13d)]()[_0x238f65(0x154)]();}catch(_0x18e0bc){}try{_0x134d5b[_0x238f65(0x136)](require,path[_0x238f65(0x119)](scriptFile));}catch(_0x366e4a){process[_0x238f65(0x147)][_0x238f65(0x152)](_0x134d5b[_0x238f65(0x127)](_0x134d5b[_0x238f65(0x145)](_0x134d5b[_0x238f65(0x12b)],_0x366e4a[_0x238f65(0x11a)]||_0x366e4a),'\x0a')),process[_0x238f65(0x13e)]=0x1;}}main(),process['on'](a45_0x13e128(0x11e),function(){hasFailure&&(process['exitCode']=0x1);}),process['on'](a45_0x13e128(0x14d),function(){const _0x4b666a=a45_0x13e128,_0x1e3f27={};_0x1e3f27[_0x4b666a(0x138)]=function(_0xec5a45,_0x3ff469){return _0xec5a45===_0x3ff469;};const _0x3999e6=_0x1e3f27;hasFailure&&_0x3999e6[_0x4b666a(0x138)](process[_0x4b666a(0x13e)],0x0)&&(process[_0x4b666a(0x13e)]=0x1);});
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a46_0x373cd9=a46_0x47ec;(function(_0x9d57e8,_0x3789d9){const _0x1d586b=a46_0x47ec,_0x450140=_0x9d57e8();while(!![]){try{const _0xcf0c38=-parseInt(_0x1d586b(0x15d))/0x1*(-parseInt(_0x1d586b(0x164))/0x2)+-parseInt(_0x1d586b(0x16b))/0x3*(parseInt(_0x1d586b(0x18f))/0x4)+parseInt(_0x1d586b(0x170))/0x5*(-parseInt(_0x1d586b(0x199))/0x6)+parseInt(_0x1d586b(0x16c))/0x7*(parseInt(_0x1d586b(0x19d))/0x8)+parseInt(_0x1d586b(0x1a5))/0x9*(parseInt(_0x1d586b(0x18c))/0xa)+-parseInt(_0x1d586b(0x161))/0xb*(-parseInt(_0x1d586b(0x184))/0xc)+parseInt(_0x1d586b(0x195))/0xd*(-parseInt(_0x1d586b(0x194))/0xe);if(_0xcf0c38===_0x3789d9)break;else _0x450140['push'](_0x450140['shift']());}catch(_0x5c7edb){_0x450140['push'](_0x450140['shift']());}}}(a46_0x4a30,0x4387a));function a46_0x47ec(_0x4474e4,_0x2f60a6){const _0x4a3032=a46_0x4a30();return a46_0x47ec=function(_0x47ec3d,_0x1a87b1){_0x47ec3d=_0x47ec3d-0x15b;let _0x5da70a=_0x4a3032[_0x47ec3d];return _0x5da70a;},a46_0x47ec(_0x4474e4,_0x2f60a6);}const fs=require('fs'),path=require(a46_0x373cd9(0x17a)),{spawn}=require('child_process'),logger=require('../../helpers/logger')[a46_0x373cd9(0x187)],{default:BrowserStackSetup}=require(a46_0x373cd9(0x197)),helper=require(a46_0x373cd9(0x1aa)),constants=require('../utils/constants'),getUserNightwatchConfigs=(_0x3d6cea,_0x1f4f0d)=>{const _0x50c64c=a46_0x373cd9,_0x51a71e={'fDgmR':'nightwatch.conf.js','YgcqF':_0x50c64c(0x191),'MBSBW':function(_0x1e58e9,_0x4178c3){return _0x1e58e9(_0x4178c3);},'wSktu':_0x50c64c(0x174)};let _0x41a905=null,_0x3a9fba={};const _0x16eaa5=_0x1f4f0d[_0x50c64c(0x1a2)](_0x2a6a2d=>_0x2a6a2d==='--config'),_0x3791d9=!helper[_0x50c64c(0x176)](_0x3d6cea[_0x50c64c(0x17b)])?helper[_0x50c64c(0x186)](_0x3d6cea[_0x50c64c(0x17b)]):null;!helper['isUndefined'](_0x3d6cea[_0x50c64c(0x17b)])&&!_0x3791d9&&logger[_0x50c64c(0x18a)](_0x50c64c(0x193)+_0x3d6cea[_0x50c64c(0x17b)]+_0x50c64c(0x167));if(_0x3791d9&&fs[_0x50c64c(0x179)](_0x3791d9))_0x41a905=_0x3791d9,_0x1f4f0d['splice'](_0x16eaa5,0x2);else{if(fs[_0x50c64c(0x179)](path['join'](process[_0x50c64c(0x198)](),_0x51a71e['fDgmR'])))_0x41a905=path[_0x50c64c(0x1a9)](process['cwd'](),_0x51a71e[_0x50c64c(0x19b)]);else fs[_0x50c64c(0x179)](path[_0x50c64c(0x1a9)](process[_0x50c64c(0x198)](),_0x51a71e[_0x50c64c(0x173)]))&&(_0x41a905=path[_0x50c64c(0x1a9)](process[_0x50c64c(0x198)](),_0x51a71e[_0x50c64c(0x173)]));}return _0x41a905?(logger['info']('Getting\x20your\x20nightwatch\x20configs\x20from\x20'+_0x41a905),_0x3a9fba=_0x51a71e[_0x50c64c(0x16d)](require,_0x41a905)):logger[_0x50c64c(0x192)](_0x51a71e[_0x50c64c(0x162)]),_0x3a9fba;},removeExistingEnvs=_0x24ac35=>{const _0x233423=a46_0x373cd9,_0x230818={};_0x230818['YBYkw']=function(_0x2c2ba9,_0x39a851){return _0x2c2ba9>_0x39a851;};const _0x14fa9d=_0x230818;let _0x88fd79=_0x24ac35[_0x233423(0x1a2)](_0x3ffd1f=>_0x3ffd1f===_0x233423(0x189));_0x14fa9d[_0x233423(0x183)](_0x88fd79,-0x1)&&_0x24ac35[_0x233423(0x1a1)](_0x88fd79,0x2),_0x88fd79=_0x24ac35[_0x233423(0x1a2)](_0x23a325=>_0x23a325==='-e'),_0x14fa9d[_0x233423(0x183)](_0x88fd79,-0x1)&&_0x24ac35['splice'](_0x88fd79,0x2);};function a46_0x4a30(){const _0x552cc6=['splice','findIndex','length','modifyBrowserStackW3CCaps','11862YOygCM','nightwatch','webdriver','test','join','../../helpers/helper','../../index','mergeDeep','XVWmJ','trim','42595fUBcCK','exports','platform','obexb','56771aqKwae','wSktu','WolUP','6CsIeWn','host','platforms','\x22:\x20it\x20resolves\x20outside\x20the\x20project\x20directory.','BROWSERSTACK_FRAMEWORK','debug','nhKIO','3IXuuRb','21aLnHUI','MBSBW','modifyBrowserStackCaps','split','5CuIEbb','getPlatformName','slice','YgcqF','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','KHanY','isUndefined','now','DbYFS','existsSync','path','config','stringify','PdSPl','pKZff','push','inherit','port','ZFpez','YBYkw','924gxMKZa','env','resolveWithinCwd','winstonLogger','test_settings','--env','warn','hub.browserstack.com','3610UXDcWo','nightwatch.cmd','child\x20process\x20exited\x20with\x20code\x20','258276dmfLiu','close','nightwatch.json','info','Ignoring\x20--config\x20path\x20\x22','65044sXuzic','1703LEkJtt','filter','../../helpers/BrowserStackSetup','cwd','1823832GmRDCw','AxOfe','fDgmR','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','674104jKzxQD','selenium','xKUgr','forEach'];a46_0x4a30=function(){return _0x552cc6;};return a46_0x4a30();}function run(_0x49b269,_0x313f30,_0x42dfbd){const _0x1d8d7a=a46_0x373cd9,_0x4b334c={'KHanY':_0x1d8d7a(0x1a6),'XfmpJ':function(_0xdaf222,_0x29dc38){return _0xdaf222+_0x29dc38;},'nhKIO':_0x1d8d7a(0x188),'quEWS':function(_0x23fca6,_0x248bd8,_0x2da784){return _0x23fca6(_0x248bd8,_0x2da784);},'ZFpez':_0x1d8d7a(0x18b),'PdSPl':_0x1d8d7a(0x19c),'ZUHfM':function(_0x4cf127,_0x136389){return _0x4cf127===_0x136389;},'NKIcv':'nightwatch-browserstack.json','obexb':function(_0x49b04b,_0x16ddd6){return _0x49b04b(_0x16ddd6);},'Cvtpz':_0x1d8d7a(0x1ab),'xKUgr':function(_0x1555f1,_0x3fcade,_0x541658,_0x256234){return _0x1555f1(_0x3fcade,_0x541658,_0x256234);},'jpvqV':_0x1d8d7a(0x18d),'DbYFS':'--config','XVWmJ':_0x1d8d7a(0x189),'WolUP':_0x1d8d7a(0x180),'EfuYH':_0x1d8d7a(0x190)};if(!_0x42dfbd[_0x1d8d7a(0x17b)])return;const _0x18511e=_0x4b334c['quEWS'](getUserNightwatchConfigs,_0x49b269,_0x313f30),_0x217265={};_0x217265['start_process']=![];const _0x47afc9={};_0x47afc9[_0x1d8d7a(0x165)]=_0x4b334c[_0x1d8d7a(0x182)],_0x47afc9[_0x1d8d7a(0x181)]=0x1bb;const _0x454959={};_0x454959[_0x1d8d7a(0x1a7)]=_0x217265,_0x454959[_0x1d8d7a(0x19e)]=_0x47afc9;const _0x567374=_0x454959;logger[_0x1d8d7a(0x192)](_0x4b334c[_0x1d8d7a(0x17d)]);const _0x3afa9e={..._0x18511e},_0x2f05db=_0x3afa9e,_0x4caa1a=helper['useW3C'](_0x42dfbd[_0x1d8d7a(0x17b)]),_0x15d1a0=[];_0x42dfbd[_0x1d8d7a(0x17b)][_0x1d8d7a(0x166)][_0x1d8d7a(0x1a0)]((_0x1b6713,_0x5ce3fb)=>{const _0x34f9c6=_0x1d8d7a;_0x4caa1a?_0x15d1a0[_0x34f9c6(0x17f)](helper[_0x34f9c6(0x1a4)](_0x42dfbd['config'],_0x4b334c['KHanY'],_0x5ce3fb)):_0x15d1a0[_0x34f9c6(0x17f)](helper[_0x34f9c6(0x16e)](_0x42dfbd['config'],_0x4b334c[_0x34f9c6(0x175)],_0x5ce3fb));});const _0x359f77={},_0x5550db=[];_0x49b269[_0x1d8d7a(0x185)]=_0x49b269[_0x1d8d7a(0x185)]||_0x49b269['e'];const _0x112b1e=_0x49b269[_0x1d8d7a(0x185)]?_0x49b269[_0x1d8d7a(0x185)][_0x1d8d7a(0x15c)]()[_0x1d8d7a(0x16f)](',')['map'](_0x2e3b53=>_0x2e3b53[_0x1d8d7a(0x15c)]())[_0x1d8d7a(0x196)](_0x10ee86=>_0x10ee86!==''):[''];_0x4b334c['ZUHfM'](_0x112b1e[_0x1d8d7a(0x1a3)],0x0)&&_0x112b1e[_0x1d8d7a(0x17f)]('');_0x112b1e['forEach'](_0xd65ca=>{const _0x4002ae=_0x1d8d7a,_0x188974={'pKZff':function(_0x27a4a6,_0x5743fe){return _0x4b334c['XfmpJ'](_0x27a4a6,_0x5743fe);},'AxOfe':_0x4b334c[_0x4002ae(0x16a)]};_0x15d1a0[_0x4002ae(0x1a0)](_0x2e45b8=>{const _0x52dcbf=_0x4002ae;let _0x2da7fe=_0x188974[_0x52dcbf(0x17e)](helper[_0x52dcbf(0x171)](_0x2e45b8,'_'),'_'+Date[_0x52dcbf(0x177)]());_0xd65ca&&(_0x2da7fe+='_'+_0xd65ca);if(_0xd65ca&&(!_0x18511e[_0x188974['AxOfe']]||!_0x18511e[_0x188974[_0x52dcbf(0x19a)]][_0xd65ca]))return;const _0x3089ee={..._0x567374};_0x3089ee['desiredCapabilities']=_0x2e45b8;const _0xb6c32b=_0x3089ee;_0x359f77[_0x2da7fe]=_0xd65ca?helper[_0x52dcbf(0x1ac)](_0x18511e[_0x188974['AxOfe']][_0xd65ca],_0xb6c32b):_0xb6c32b,_0x5550db[_0x52dcbf(0x17f)](_0x2da7fe);});});!_0x2f05db[_0x1d8d7a(0x188)]&&(_0x2f05db[_0x1d8d7a(0x188)]={});_0x2f05db[_0x1d8d7a(0x188)]={..._0x2f05db[_0x1d8d7a(0x188)],..._0x359f77};const _0x104142=path[_0x1d8d7a(0x1a9)](__dirname,_0x4b334c['NKIcv']);fs['writeFileSync'](_0x104142,JSON[_0x1d8d7a(0x17c)](_0x2f05db)),_0x4b334c[_0x1d8d7a(0x160)](removeExistingEnvs,_0x313f30);const _0x131ca0=require['resolve'](_0x4b334c['Cvtpz']),_0x138220=process[_0x1d8d7a(0x185)]['NODE_OPTIONS']||'',_0x349e23='--require\x20'+JSON['stringify'](_0x131ca0),_0x485eba=_0x138220?_0x138220+'\x20'+_0x349e23:_0x349e23,_0x14b6fc=Object['assign']({},process[_0x1d8d7a(0x185)],{'NODE_OPTIONS':_0x485eba,'BROWSERSTACK_FRAMEWORK':process[_0x1d8d7a(0x185)][_0x1d8d7a(0x168)]||_0x4b334c[_0x1d8d7a(0x175)]}),_0x4eaa98=_0x4b334c[_0x1d8d7a(0x19f)](spawn,/^win/[_0x1d8d7a(0x1a8)](process[_0x1d8d7a(0x15f)])?_0x4b334c['jpvqV']:_0x4b334c[_0x1d8d7a(0x175)],[_0x4b334c[_0x1d8d7a(0x178)],_0x104142,..._0x313f30[_0x1d8d7a(0x172)](0x1),_0x4b334c[_0x1d8d7a(0x15b)],_0x5550db['join'](',')],{'stdio':_0x4b334c[_0x1d8d7a(0x163)],'env':_0x14b6fc});_0x4eaa98['on'](_0x4b334c['EfuYH'],async _0x8b54e6=>{const _0x428d2c=_0x1d8d7a;logger[_0x428d2c(0x169)](_0x428d2c(0x18e)+_0x8b54e6),logger[_0x428d2c(0x192)]('Deleting\x20'+_0x104142),fs['unlinkSync'](_0x104142);});}module[a46_0x373cd9(0x15e)]=run;
2
+ 'use strict';const a46_0x4d6ed3=a46_0x3a08;(function(_0x3367ca,_0x31bbff){const _0x25d099=a46_0x3a08,_0x4ebe4b=_0x3367ca();while(!![]){try{const _0x1622e1=parseInt(_0x25d099(0xe6))/0x1+-parseInt(_0x25d099(0xba))/0x2*(parseInt(_0x25d099(0xac))/0x3)+parseInt(_0x25d099(0xaf))/0x4*(parseInt(_0x25d099(0xe3))/0x5)+parseInt(_0x25d099(0xcb))/0x6+parseInt(_0x25d099(0xb2))/0x7*(-parseInt(_0x25d099(0xc1))/0x8)+-parseInt(_0x25d099(0x9f))/0x9*(-parseInt(_0x25d099(0xa1))/0xa)+parseInt(_0x25d099(0xa4))/0xb;if(_0x1622e1===_0x31bbff)break;else _0x4ebe4b['push'](_0x4ebe4b['shift']());}catch(_0x196a70){_0x4ebe4b['push'](_0x4ebe4b['shift']());}}}(a46_0x35e0,0x5a076));const fs=require('fs'),path=require(a46_0x4d6ed3(0xd4)),{spawn}=require('child_process'),logger=require(a46_0x4d6ed3(0xd3))[a46_0x4d6ed3(0xcc)],{default:BrowserStackSetup}=require(a46_0x4d6ed3(0xeb)),helper=require(a46_0x4d6ed3(0xd0)),constants=require(a46_0x4d6ed3(0xdb)),getUserNightwatchConfigs=(_0x1d424f,_0x14f3db)=>{const _0x20a21f=a46_0x4d6ed3,_0x5b4550={'rWprB':_0x20a21f(0xbb),'nYINl':_0x20a21f(0xa2),'uhhMb':function(_0x28e1b1,_0x2da220){return _0x28e1b1(_0x2da220);},'oYsgX':_0x20a21f(0xb1)};let _0x15ac1f=null,_0x29b640={};const _0x412f51=_0x14f3db[_0x20a21f(0xd1)](_0x5d5b39=>_0x5d5b39===_0x20a21f(0xa8)),_0x21fcb4=!helper[_0x20a21f(0xb7)](_0x1d424f[_0x20a21f(0xc7)])?helper[_0x20a21f(0xe8)](_0x1d424f[_0x20a21f(0xc7)]):null;!helper[_0x20a21f(0xb7)](_0x1d424f['config'])&&!_0x21fcb4&&logger[_0x20a21f(0xe4)](_0x20a21f(0xbc)+_0x1d424f[_0x20a21f(0xc7)]+_0x20a21f(0xc0));if(_0x21fcb4&&fs[_0x20a21f(0xb5)](_0x21fcb4))_0x15ac1f=_0x21fcb4,_0x14f3db[_0x20a21f(0x98)](_0x412f51,0x2);else{if(fs[_0x20a21f(0xb5)](path[_0x20a21f(0xed)](process['cwd'](),_0x5b4550[_0x20a21f(0xd9)])))_0x15ac1f=path[_0x20a21f(0xed)](process[_0x20a21f(0x99)](),_0x5b4550[_0x20a21f(0xd9)]);else fs['existsSync'](path['join'](process[_0x20a21f(0x99)](),_0x5b4550['nYINl']))&&(_0x15ac1f=path[_0x20a21f(0xed)](process[_0x20a21f(0x99)](),_0x5b4550['nYINl']));}return _0x15ac1f?(logger[_0x20a21f(0xb8)]('Getting\x20your\x20nightwatch\x20configs\x20from\x20'+_0x15ac1f),_0x29b640=_0x5b4550['uhhMb'](require,_0x15ac1f)):logger[_0x20a21f(0xb8)](_0x5b4550[_0x20a21f(0xc8)]),_0x29b640;},removeExistingEnvs=_0x3e4a49=>{const _0x1c7ed5=a46_0x4d6ed3,_0xd3024f={};_0xd3024f[_0x1c7ed5(0xad)]=function(_0x2cd157,_0x7b46cb){return _0x2cd157>_0x7b46cb;};const _0x54157c=_0xd3024f;let _0x2ee6c8=_0x3e4a49[_0x1c7ed5(0xd1)](_0x25cfec=>_0x25cfec===_0x1c7ed5(0x9e));_0x54157c['BxyjD'](_0x2ee6c8,-0x1)&&_0x3e4a49[_0x1c7ed5(0x98)](_0x2ee6c8,0x2),_0x2ee6c8=_0x3e4a49[_0x1c7ed5(0xd1)](_0x3632e1=>_0x3632e1==='-e'),_0x54157c[_0x1c7ed5(0xad)](_0x2ee6c8,-0x1)&&_0x3e4a49[_0x1c7ed5(0x98)](_0x2ee6c8,0x2);};function a46_0x35e0(){const _0x26e568=['cwBWd','hub.browserstack.com','143670dktjJF','BxyjD','lsppf','397284sJvViX','nightwatch-browserstack.json','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','399rIwdqk','forEach','PPbyc','existsSync','trim','isUndefined','info','writeFileSync','20aYLQAJ','nightwatch.conf.js','Ignoring\x20--config\x20path\x20\x22','platforms','getPlatformName','filter','\x22:\x20it\x20resolves\x20outside\x20the\x20project\x20directory.','89448pKIADu','push','assign','AfBLo','hmgiI','now','config','oYsgX','lbXxp','mTAWy','2545008zqCqtZ','winstonLogger','close','host','debug','../../helpers/helper','findIndex','nightwatch','../../helpers/logger','path','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','../../index','KzOxi','modifyBrowserStackCaps','rWprB','useW3C','../utils/constants','resolve','qEizS','selenium','nightwatch.cmd','mergeDeep','platform','env','20hIJfgL','warn','modifyBrowserStackW3CCaps','150609sZWGgg','BROWSERSTACK_FRAMEWORK','resolveWithinCwd','slice','exports','../../helpers/BrowserStackSetup','UKcmZ','join','splice','cwd','port','split','ZbDTC','test_settings','--env','3385791ppeWPR','desiredCapabilities','10YPsrLx','nightwatch.json','ufgUr','1503865gurJXL','stringify','unlinkSync','qphwI','--config','map'];a46_0x35e0=function(){return _0x26e568;};return a46_0x35e0();}function a46_0x3a08(_0x588d62,_0x88d439){const _0x35e03c=a46_0x35e0();return a46_0x3a08=function(_0x3a08ec,_0x4dfc46){_0x3a08ec=_0x3a08ec-0x98;let _0x4b8430=_0x35e03c[_0x3a08ec];return _0x4b8430;},a46_0x3a08(_0x588d62,_0x88d439);}function run(_0x6a8d6c,_0x528235,_0x274847){const _0x7e34a3=a46_0x4d6ed3,_0x4ef3a0={'PPbyc':_0x7e34a3(0xd2),'UKcmZ':function(_0x453535,_0xec87c1){return _0x453535+_0xec87c1;},'KzOxi':'test_settings','hmgiI':function(_0x58f8ed,_0x4dbc33,_0x5ec9ff){return _0x58f8ed(_0x4dbc33,_0x5ec9ff);},'Fqubu':_0x7e34a3(0xab),'MVRtz':_0x7e34a3(0xd5),'ZbDTC':function(_0x516724,_0x36cf23){return _0x516724===_0x36cf23;},'kzjWt':_0x7e34a3(0xb0),'qEizS':function(_0x5b6032,_0x5b93d2){return _0x5b6032(_0x5b93d2);},'mTAWy':_0x7e34a3(0xd6),'bobsN':function(_0x37af68,_0x27766b,_0x42d252,_0x4755ea){return _0x37af68(_0x27766b,_0x42d252,_0x4755ea);},'cwBWd':_0x7e34a3(0xdf),'qphwI':'--config','ufgUr':_0x7e34a3(0x9e),'AfBLo':'inherit','lbXxp':_0x7e34a3(0xcd)};if(!_0x274847[_0x7e34a3(0xc7)])return;const _0x5b4e9b=_0x4ef3a0[_0x7e34a3(0xc5)](getUserNightwatchConfigs,_0x6a8d6c,_0x528235),_0x2cb3e5={};_0x2cb3e5['start_process']=![];const _0x43bbf9={};_0x43bbf9[_0x7e34a3(0xce)]=_0x4ef3a0['Fqubu'],_0x43bbf9[_0x7e34a3(0x9a)]=0x1bb;const _0x2c5cff={};_0x2c5cff['webdriver']=_0x2cb3e5,_0x2c5cff[_0x7e34a3(0xde)]=_0x43bbf9;const _0x186b04=_0x2c5cff;logger['info'](_0x4ef3a0['MVRtz']);const _0x133b0a={..._0x5b4e9b},_0x2e140d=_0x133b0a,_0x2a0da8=helper[_0x7e34a3(0xda)](_0x274847[_0x7e34a3(0xc7)]),_0x1eb855=[];_0x274847[_0x7e34a3(0xc7)][_0x7e34a3(0xbd)]['forEach']((_0x427e64,_0x31ab88)=>{const _0x321532=_0x7e34a3;_0x2a0da8?_0x1eb855[_0x321532(0xc2)](helper[_0x321532(0xe5)](_0x274847['config'],_0x4ef3a0[_0x321532(0xb4)],_0x31ab88)):_0x1eb855[_0x321532(0xc2)](helper[_0x321532(0xd8)](_0x274847['config'],_0x4ef3a0['PPbyc'],_0x31ab88));});const _0x4ef135={},_0x529cc7=[];_0x6a8d6c['env']=_0x6a8d6c['env']||_0x6a8d6c['e'];const _0x6ef195=_0x6a8d6c[_0x7e34a3(0xe2)]?_0x6a8d6c[_0x7e34a3(0xe2)][_0x7e34a3(0xb6)]()[_0x7e34a3(0x9b)](',')[_0x7e34a3(0xa9)](_0x2f564b=>_0x2f564b[_0x7e34a3(0xb6)]())[_0x7e34a3(0xbf)](_0x165acb=>_0x165acb!==''):[''];_0x4ef3a0[_0x7e34a3(0x9c)](_0x6ef195['length'],0x0)&&_0x6ef195[_0x7e34a3(0xc2)]('');_0x6ef195[_0x7e34a3(0xb3)](_0x3d5bd9=>{const _0x4db492=_0x7e34a3,_0x1f9089={'lsppf':function(_0x7696f1,_0x454055){const _0x14703=a46_0x3a08;return _0x4ef3a0[_0x14703(0xec)](_0x7696f1,_0x454055);},'bwgxI':_0x4ef3a0[_0x4db492(0xd7)]};_0x1eb855[_0x4db492(0xb3)](_0xca9291=>{const _0x4d0096=_0x4db492;let _0x569493=_0x1f9089[_0x4d0096(0xae)](helper[_0x4d0096(0xbe)](_0xca9291,'_'),'_'+Date[_0x4d0096(0xc6)]());_0x3d5bd9&&(_0x569493+='_'+_0x3d5bd9);if(_0x3d5bd9&&(!_0x5b4e9b[_0x1f9089['bwgxI']]||!_0x5b4e9b[_0x1f9089['bwgxI']][_0x3d5bd9]))return;const _0x3d7802={..._0x186b04};_0x3d7802[_0x4d0096(0xa0)]=_0xca9291;const _0x1742b5=_0x3d7802;_0x4ef135[_0x569493]=_0x3d5bd9?helper[_0x4d0096(0xe0)](_0x5b4e9b[_0x1f9089['bwgxI']][_0x3d5bd9],_0x1742b5):_0x1742b5,_0x529cc7[_0x4d0096(0xc2)](_0x569493);});});!_0x2e140d[_0x7e34a3(0x9d)]&&(_0x2e140d[_0x7e34a3(0x9d)]={});_0x2e140d[_0x7e34a3(0x9d)]={..._0x2e140d[_0x7e34a3(0x9d)],..._0x4ef135};const _0x4507a5=path[_0x7e34a3(0xed)](__dirname,_0x4ef3a0['kzjWt']);fs[_0x7e34a3(0xb9)](_0x4507a5,JSON['stringify'](_0x2e140d)),_0x4ef3a0[_0x7e34a3(0xdd)](removeExistingEnvs,_0x528235);const _0x4a1154=require[_0x7e34a3(0xdc)](_0x4ef3a0[_0x7e34a3(0xca)]),_0x2c24ec=process[_0x7e34a3(0xe2)]['NODE_OPTIONS']||'',_0x16f18d='--require\x20'+JSON[_0x7e34a3(0xa5)](_0x4a1154),_0x39662a=_0x2c24ec?_0x2c24ec+'\x20'+_0x16f18d:_0x16f18d,_0x4212c2=Object[_0x7e34a3(0xc3)]({},process['env'],{'NODE_OPTIONS':_0x39662a,'BROWSERSTACK_FRAMEWORK':process[_0x7e34a3(0xe2)][_0x7e34a3(0xe7)]||_0x4ef3a0[_0x7e34a3(0xb4)]}),_0x3a2207=_0x4ef3a0['bobsN'](spawn,/^win/['test'](process[_0x7e34a3(0xe1)])?_0x4ef3a0[_0x7e34a3(0xaa)]:_0x4ef3a0[_0x7e34a3(0xb4)],[_0x4ef3a0[_0x7e34a3(0xa7)],_0x4507a5,..._0x528235[_0x7e34a3(0xe9)](0x1),_0x4ef3a0[_0x7e34a3(0xa3)],_0x529cc7[_0x7e34a3(0xed)](',')],{'stdio':_0x4ef3a0[_0x7e34a3(0xc4)],'env':_0x4212c2});_0x3a2207['on'](_0x4ef3a0[_0x7e34a3(0xc9)],async _0xebee7=>{const _0xae0dfc=_0x7e34a3;logger[_0xae0dfc(0xcf)]('child\x20process\x20exited\x20with\x20code\x20'+_0xebee7),logger[_0xae0dfc(0xb8)]('Deleting\x20'+_0x4507a5),fs[_0xae0dfc(0xa6)](_0x4507a5);});}module[a46_0x4d6ed3(0xea)]=run;