browserstack-node-sdk 1.63.0 → 1.63.2

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
- function a41_0x1c6e(_0x2f5bd2,_0x559027){const _0x1eb2ad=a41_0x1eb2();return a41_0x1c6e=function(_0x1c6ecf,_0x4d700c){_0x1c6ecf=_0x1c6ecf-0x135;let _0x4a4b5e=_0x1eb2ad[_0x1c6ecf];return _0x4a4b5e;},a41_0x1c6e(_0x2f5bd2,_0x559027);}const a41_0x5e273d=a41_0x1c6e;(function(_0x371c2a,_0x3dc1b7){const _0x4ff6e5=a41_0x1c6e,_0x1dd1a0=_0x371c2a();while(!![]){try{const _0x480c57=-parseInt(_0x4ff6e5(0x18a))/0x1*(-parseInt(_0x4ff6e5(0x1e9))/0x2)+-parseInt(_0x4ff6e5(0x162))/0x3+-parseInt(_0x4ff6e5(0x1f2))/0x4*(parseInt(_0x4ff6e5(0x19c))/0x5)+parseInt(_0x4ff6e5(0x1b4))/0x6*(-parseInt(_0x4ff6e5(0x1b1))/0x7)+-parseInt(_0x4ff6e5(0x1c0))/0x8+-parseInt(_0x4ff6e5(0x1db))/0x9+parseInt(_0x4ff6e5(0x1eb))/0xa;if(_0x480c57===_0x3dc1b7)break;else _0x1dd1a0['push'](_0x1dd1a0['shift']());}catch(_0x5eda39){_0x1dd1a0['push'](_0x1dd1a0['shift']());}}}(a41_0x1eb2,0xcd6ac));const util=require('util'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a41_0x5e273d(0x1c4)),accessibilityRetryHelper=require(a41_0x5e273d(0x16b)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a41_0x5e273d(0x1e0)),{percyAutoCapture}=require(a41_0x5e273d(0x174)),{sendPlatformDetails}=require(a41_0x5e273d(0x196)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require('../../helpers/helper'),PerformanceTester=require(a41_0x5e273d(0x149)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a41_0x5e273d(0x1d2)),globals=require(a41_0x5e273d(0x15f)),logger=require(a41_0x5e273d(0x171))['winstonLogger'],{shouldProcessEventForTesthub}=require(a41_0x5e273d(0x13e)),testHubConstants=require('../../helpers/testhub/constants');function a41_0x1eb2(){const _0x1f55ca=['OKkZA','TFRBx','measureWrapper','env','wuNUe','2279696BHmSxL','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','\x20-\x20','Mocha','../../helpers/accessibility-automation/helper','start','failed','afterTest','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','oyDvC','NYSWU','beforeAll','afterEach','SAVE_RESULTS','tLklR','qilHN','shouldScanTestForAccessibility','info','../../helpers/performance/constants','getGlobal','zHSiD','saveAccessibilityResultsWithRetry','VoSEq','Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','\x22}}','.\x20Error\x20:','testAnalyticsId','11508102lpkdPS','__skipSessionName','QYDDZ','rZjsY','ysfOo','../utils/constants','WYPTK','PERFORM_SCAN','WVVew','[Accessibility]\x20Auto\x20scan\x20is\x20disabled;\x20skipping\x20final\x20scan\x20and\x20saving\x20current\x20accumulated\x20results','EWFOk','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','VMHJq','finally','411690XptYQv','lsLXb','44199820jUGICZ','gcjMM','YUYIq','IPcrT','jjNWZ','length','gUeMP','637512UQXUXr','HWZUc','hsgir','NiQuS','YXTMn','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','pEGBj','bnDmp','driver-init\x20capture\x20install\x20failed:\x20','ENV_VAR','ASnIF','yAwya','zQdVn','../../helpers/testhub/utils','passed','pPLzb','yOztG','CfWAk','browserstackSessionName','Passed','driverCleanup','paSCR','GtfQm','testcase','../../helpers/performance/performance-tester','http:','__error_messages__','Qlhrq','GnWSM','mXkiI','wGIOi','pWeLE','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','SESSION_NAME','end','browserstackTestName','isAccessibilityPlatform','isArray','wyqFY','getCurrentUrl','__platformCaps','https:','pvuKo','NzLxq','RKCMA','message','../../helpers/globals','nVeTZ','DDPZC','3324546rXbRqk','Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','usoOf','quitCount_','Bxzvk','AnyZc','capabilities','startMonitoring','uuLzn','../../helpers/accessibility-automation/accessibilityRetryHelper','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','thJwtToken','mocha','percyCaptureMode','Fzdrh','../../helpers/logger','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','mochaHooks','../../helpers/percy/utils','sessionName','RdRdh','currentTest','bstackA11yShouldScan','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','push','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','YTREJ','command','titlePath','sWDxR','index','fUayO','BROWSERSTACK_TESTHUB_UUID','VkRms','AbBwJ','mYJyB','performScanWithRetry','Accessibility\x20scan\x20completed\x20successfully','app','ShqwS','1hQSMba','olVLf','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','err','session_','protocol','then','__sessionFailed','beforeEach','wuJkx','aDNfm','Failed:\x20','./test-observability/mochaUtils','initQuit','state','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','Failed\x20to\x20store\x20session\x20name:\x20','SYNC','10dOBsop','EMZYR','SDK_HOOK','cqgyN','shift','aYfbl','error','FjWHh','timeout','stringify','bAruk','sessionNameSet__','OWqHX','autoScanning','WNKwn','GNkvb','__drivers','afterAll','debug','\x20|\x20','vGdRb','8407LcUeje','join','IVlmG','3966uHtqib','executeScript','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','accessibilityScanStarted','PMPIQ','LXzMR','WytGV'];a41_0x1eb2=function(){return _0x1f55ca;};return a41_0x1eb2();}try{require('../../helpers/driverInitErrorReporter')['installAll'](a41_0x5e273d(0x16e));}catch(a41_0x12c493){logger[a41_0x5e273d(0x1ae)](a41_0x5e273d(0x139)+(a41_0x12c493&&a41_0x12c493[a41_0x5e273d(0x15e)]));}exports[a41_0x5e273d(0x173)]={'beforeAll'(){const _0x31f285=a41_0x5e273d,_0x1fe0a8={'usoOf':function(_0x4bea07,_0x12feb6,_0xd51a5e,_0x510ff6){return _0x4bea07(_0x12feb6,_0xd51a5e,_0x510ff6);},'PyZAF':_0x31f285(0x1c6),'sWDxR':_0x31f285(0x1af),'RdRdh':function(_0x5c898a,_0x3d1a45,_0x4ca8f5){return _0x5c898a(_0x3d1a45,_0x4ca8f5);},'TFRBx':_0x31f285(0x13f),'hwksq':function(_0x2a51a3){return _0x2a51a3();},'ysfOo':_0x31f285(0x180),'aDNfm':_0x31f285(0x1cb)};PerformanceTester[_0x31f285(0x169)]();const _0x2a5a60='browserstack internal helper hook';PerformanceTester[_0x31f285(0x1bd)](PerformanceSdkEvents[_0x31f285(0x19e)],()=>{const _0x58fe05=_0x31f285,_0x9e616e={'wGIOi':function(_0x37e1ca,_0x5cfb00,_0xb1bb70,_0x99db9){const _0x443461=a41_0x1c6e;return _0x1fe0a8[_0x443461(0x164)](_0x37e1ca,_0x5cfb00,_0xb1bb70,_0x99db9);},'fUayO':_0x1fe0a8['PyZAF'],'AnyZc':_0x1fe0a8[_0x58fe05(0x17f)],'WNKwn':function(_0x219fa6,_0x582c3e,_0x295504){const _0x4d5abf=_0x58fe05;return _0x1fe0a8[_0x4d5abf(0x176)](_0x219fa6,_0x582c3e,_0x295504);},'oyDvC':_0x1fe0a8[_0x58fe05(0x1bc)],'ShqwS':function(_0x5d860e){return _0x1fe0a8['hwksq'](_0x5d860e);}};global['__error_messages__']=[],global[_0x58fe05(0x191)]=![],global[_0x58fe05(0x145)]=async()=>{const _0x498e83=_0x58fe05;let _0x4f4a1b=![];try{await global['__drivers'][0x0][_0x498e83(0x18e)],_0x4f4a1b=!![],global['__sessionFailed']?await _0x9e616e[_0x498e83(0x14f)](markSessionStatus,global[_0x498e83(0x1ac)][0x0],_0x9e616e[_0x498e83(0x181)],global[_0x498e83(0x14b)][_0x498e83(0x1b2)](_0x9e616e[_0x498e83(0x167)])):await _0x9e616e[_0x498e83(0x1aa)](markSessionStatus,global[_0x498e83(0x1ac)][0x0],_0x9e616e[_0x498e83(0x1c9)]);}catch(_0x357ceb){logger[_0x498e83(0x1ae)]('Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20'+_0x357ceb);}global['__error_messages__']=[],global[_0x498e83(0x191)]=![];if(_0x4f4a1b)try{try{_0x9e616e[_0x498e83(0x189)](shouldProcessEventForTesthub)&&(global[_0x498e83(0x1ac)][0x0]&&await _0x9e616e['WNKwn'](sendPlatformDetails,global['__drivers'][0x0],this[_0x498e83(0x177)]?this['currentTest'][_0x498e83(0x1da)]:null));}catch(_0x141ea2){logger[_0x498e83(0x1ae)](_0x498e83(0x17b)+_0x141ea2);}await global[_0x498e83(0x1ac)][0x0][_0x498e83(0x197)]();}catch(_0x2e2e6f){logger[_0x498e83(0x1ae)](_0x498e83(0x16c)+_0x2e2e6f);}};},{'platform':_0x1fe0a8[_0x31f285(0x176)](nestedKeyValue,global['__platformCaps'],[_0x1fe0a8[_0x31f285(0x1df)]]),'hookType':_0x1fe0a8[_0x31f285(0x194)]})();},'beforeEach'(_0x4a90f1){const _0x259725=a41_0x5e273d,_0x2fb5f2={'ASnIF':function(_0x2f8f68,_0x2e1402){return _0x2f8f68>_0x2e1402;},'IPcrT':_0x259725(0x1c2),'pRPXP':function(_0x28eb1e,_0x96f3c7,_0x25cb5b){return _0x28eb1e(_0x96f3c7,_0x25cb5b);},'OWqHX':function(_0x1865e8,_0x4c1b07){return _0x1865e8===_0x4c1b07;},'EMZYR':_0x259725(0x178),'IVlmG':'bstackA11yScanOptions','ywvHk':function(_0x3c0dda){return _0x3c0dda();},'YTREJ':function(_0x55c457,_0x4d5604){return _0x55c457>_0x4d5604;},'aYfbl':_0x259725(0x155),'GcLmD':_0x259725(0x14a),'GnWSM':_0x259725(0x15a),'SjhOv':_0x259725(0x179),'rZjsY':'Automate\x20test\x20case\x20execution\x20has\x20started.','wuJkx':_0x259725(0x154),'LXzMR':'index','uuLzn':_0x259725(0x192)};globals['setGlobal'](_0x2fb5f2[_0x259725(0x193)],this[_0x259725(0x177)]['titlePath']()['join'](_0x2fb5f2[_0x259725(0x1ee)])),PerformanceTester[_0x259725(0x1bd)](PerformanceSdkEvents[_0x259725(0x19e)],()=>{const _0x5a7d7d=_0x259725,_0x5a86f3={'lsLXb':function(_0x33743f,_0x4b4bcb){const _0x1f27cf=a41_0x1c6e;return _0x2fb5f2[_0x1f27cf(0x13b)](_0x33743f,_0x4b4bcb);},'vGdRb':function(_0x1b338e,_0x2e21dd){const _0x4f4c62=a41_0x1c6e;return _0x2fb5f2[_0x4f4c62(0x13b)](_0x1b338e,_0x2e21dd);},'yOztG':_0x2fb5f2[_0x5a7d7d(0x1ee)],'zHSiD':function(_0x5712f2,_0x51e648,_0x20b40b){return _0x2fb5f2['pRPXP'](_0x5712f2,_0x51e648,_0x20b40b);},'rGJri':function(_0x3584c1,_0x416510){return _0x2fb5f2['OWqHX'](_0x3584c1,_0x416510);},'Qlhrq':_0x2fb5f2[_0x5a7d7d(0x19d)],'wyqFY':_0x2fb5f2[_0x5a7d7d(0x1b3)],'yAwya':function(_0x4f5c79){return _0x2fb5f2['ywvHk'](_0x4f5c79);},'RMBJO':function(_0x1ace2f,_0x5e15cc){const _0x288a4c=_0x5a7d7d;return _0x2fb5f2[_0x288a4c(0x17c)](_0x1ace2f,_0x5e15cc);},'pWeLE':_0x2fb5f2[_0x5a7d7d(0x1a1)],'PMPIQ':_0x2fb5f2['GcLmD'],'pEGBj':function(_0x450ed6,_0x26cf5c){const _0x1cfb1e=_0x5a7d7d;return _0x2fb5f2[_0x1cfb1e(0x1a8)](_0x450ed6,_0x26cf5c);},'jgpVF':_0x2fb5f2[_0x5a7d7d(0x14d)],'tLklR':_0x2fb5f2['SjhOv'],'BIxqc':_0x2fb5f2[_0x5a7d7d(0x1de)]},_0x5e1c94='browserstack internal helper hook';new Promise(async _0x25429b=>{const _0x2d0d8a=_0x5a7d7d;let _0x12104c=!![];try{_0x5a86f3[_0x2d0d8a(0x1ea)](global[_0x2d0d8a(0x1ac)][_0x2d0d8a(0x1f0)],0x1)&&(await global[_0x2d0d8a(0x145)](),global[_0x2d0d8a(0x1ac)][_0x2d0d8a(0x1a0)]()),_0x5a86f3[_0x2d0d8a(0x1b0)](global[_0x2d0d8a(0x1ac)][0x0][_0x2d0d8a(0x165)],0x0)&&(_0x12104c=![],await global[_0x2d0d8a(0x145)]());}catch(_0xc6f780){logger[_0x2d0d8a(0x1ae)](_0x2d0d8a(0x16c)+_0xc6f780);}try{Array[_0x2d0d8a(0x156)](global[_0x2d0d8a(0x1ac)])&&global['__drivers'][0x0]&&(global[_0x2d0d8a(0x1ac)][0x0]['browserstackSessionName']=this['currentTest']['titlePath']()[_0x2d0d8a(0x1b2)](_0x5a86f3['yOztG'])),global[_0x2d0d8a(0x143)]=this['currentTest'][_0x2d0d8a(0x17e)]()[_0x2d0d8a(0x1b2)](_0x5a86f3[_0x2d0d8a(0x141)]);}catch(_0x7aeb34){logger['debug'](_0x2d0d8a(0x19a)+_0x7aeb34);}this['currentTest']['shouldScanTestForAccessibility']=_0x5a86f3[_0x2d0d8a(0x1d4)](shouldScanTestForAccessibility,this['currentTest'][_0x2d0d8a(0x17e)](),!![]);let _0x2c952b=!![];try{const _0x11290c=JSON['parse'](process[_0x2d0d8a(0x1be)][_0x2d0d8a(0x136)]||'{}');_0x5a86f3['rGJri'](_0x11290c[_0x2d0d8a(0x1a9)],![])&&(_0x2c952b=![]);}catch(_0x46f670){logger['debug'](_0x2d0d8a(0x1d7)+_0x46f670['message']);}const _0xcb4578=_0x2c952b&&this['currentTest'][_0x2d0d8a(0x1d0)];globals['setGlobal'](_0x5a86f3[_0x2d0d8a(0x14c)],_0xcb4578),globals['setGlobal'](_0x5a86f3[_0x2d0d8a(0x157)],null),this[_0x2d0d8a(0x177)][_0x2d0d8a(0x1b7)]=this[_0x2d0d8a(0x177)][_0x2d0d8a(0x1d0)];if(_0x5a86f3[_0x2d0d8a(0x13c)](isAccessibilityAutomationSession)&&_0x12104c&&Array[_0x2d0d8a(0x156)](global['__drivers'])&&_0x5a86f3['RMBJO'](global[_0x2d0d8a(0x1ac)][_0x2d0d8a(0x1f0)],0x0)&&globals[_0x2d0d8a(0x1d3)](_0x5a86f3[_0x2d0d8a(0x150)]))try{const _0x318321=await global['__drivers'][0x0][_0x2d0d8a(0x18e)];if(_0x318321){let _0x83f71e=!![];const _0x39d986=await global[_0x2d0d8a(0x1ac)][0x0][_0x2d0d8a(0x158)]();let _0x18f812;try{_0x18f812=new URL(_0x39d986),_0x83f71e=_0x5a86f3['rGJri'](_0x18f812['protocol'],_0x5a86f3[_0x2d0d8a(0x1b8)])||_0x5a86f3[_0x2d0d8a(0x137)](_0x18f812[_0x2d0d8a(0x18f)],_0x5a86f3['jgpVF']);}catch(_0x829793){_0x83f71e=![];}_0x83f71e&&(this[_0x2d0d8a(0x177)][_0x2d0d8a(0x1d0)]&&logger[_0x2d0d8a(0x1d1)](_0x5a86f3[_0x2d0d8a(0x1ce)])),this['currentTest'][_0x2d0d8a(0x1b7)]=this['currentTest'][_0x2d0d8a(0x1d0)],_0xcb4578&&logger[_0x2d0d8a(0x1d1)](_0x5a86f3['BIxqc']);}}catch(_0x5685d9){logger['error']('Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20'+util['format'](_0x5685d9));}_0x5a86f3[_0x2d0d8a(0x13c)](_0x25429b);})[_0x5a7d7d(0x190)](()=>{const _0x37798f=_0x5a7d7d;_0x5a86f3[_0x37798f(0x13c)](_0x4a90f1);});},{'platform':_0x2fb5f2['pRPXP'](nestedKeyValue,global[_0x259725(0x159)],[_0x2fb5f2[_0x259725(0x1b9)]]),'hookType':_0x2fb5f2[_0x259725(0x16a)]})();},'afterEach'(_0x344e0e){const _0xb77cdc=a41_0x5e273d,_0x4e184d={'EWFOk':_0xb77cdc(0x1c2),'YXTMn':function(_0x2dec6c,_0x543fba){return _0x2dec6c>_0x543fba;},'VkRms':function(_0x5894a0,_0x401d40){return _0x5894a0===_0x401d40;},'mYJyB':_0xb77cdc(0x148),'OKkZA':'appium:app','nVeTZ':function(_0x32865b,_0x41fca8,_0x42e5ba,_0x1fe632){return _0x32865b(_0x41fca8,_0x42e5ba,_0x1fe632);},'tDkgW':_0xb77cdc(0x155),'VMHJq':_0xb77cdc(0x1e6),'mXkiI':_0xb77cdc(0x178),'Bxzvk':_0xb77cdc(0x163),'paSCR':_0xb77cdc(0x1c7),'rzjwP':_0xb77cdc(0x187),'NiQuS':_0xb77cdc(0x1c1),'olVLf':_0xb77cdc(0x1e4),'Fzdrh':'Accessibility\x20results\x20saved\x20successfully','gUeMP':'Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','fdreV':_0xb77cdc(0x1c8),'CfWAk':function(_0x3bcb0e){return _0x3bcb0e();},'RKCMA':function(_0x134acd,_0x46a96a,_0x351fbc){return _0x134acd(_0x46a96a,_0x351fbc);},'hsgir':'debug','wTJhP':function(_0x2b555f,_0x39a4ee){return _0x2b555f!==_0x39a4ee;},'NzLxq':_0xb77cdc(0x13f),'pPLzb':function(_0xfbf5a8,_0x26e530){return _0xfbf5a8+_0x26e530;},'dujZg':_0xb77cdc(0x195),'WytGV':_0xb77cdc(0x1a2),'WVVew':_0xb77cdc(0x144),'QYDDZ':_0xb77cdc(0x1d1),'vqvqU':_0xb77cdc(0x1c3),'GtfQm':function(_0x1530c6,_0x57eab1,_0x6b925c){return _0x1530c6(_0x57eab1,_0x6b925c);},'HWZUc':_0xb77cdc(0x180),'VoSEq':_0xb77cdc(0x1cc)},_0x3b3329='browserstack internal helper hook';this['timeout'](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x4e184d['vqvqU']]),global[_0xb77cdc(0x175)]=this[_0xb77cdc(0x177)][_0xb77cdc(0x17e)]()[_0xb77cdc(0x1b2)](_0x4e184d[_0xb77cdc(0x1e5)]),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0xb77cdc(0x19e)],()=>{const _0x5e5d5b=_0xb77cdc,_0x11df1b={'jjNWZ':function(_0x15987e,_0x4b356a){return _0x4e184d['wTJhP'](_0x15987e,_0x4b356a);},'mHEgH':_0x4e184d[_0x5e5d5b(0x15c)],'DDPZC':function(_0x40b0ee,_0x3a2246,_0x720361){const _0x421920=_0x5e5d5b;return _0x4e184d[_0x421920(0x15d)](_0x40b0ee,_0x3a2246,_0x720361);},'qilHN':function(_0x49a807,_0x3c73f2){const _0x3a2500=_0x5e5d5b;return _0x4e184d[_0x3a2500(0x140)](_0x49a807,_0x3c73f2);},'wuNUe':_0x4e184d['dujZg'],'zQdVn':_0x4e184d[_0x5e5d5b(0x1ba)],'FjWHh':_0x4e184d[_0x5e5d5b(0x1e3)],'AbBwJ':_0x4e184d[_0x5e5d5b(0x1dd)],'pvuKo':function(_0x24b67c){const _0x1082f7=_0x5e5d5b;return _0x4e184d[_0x1082f7(0x142)](_0x24b67c);}},_0x3b2724=async(_0x3c081a,_0xa212b2)=>{const _0x1e6c61=_0x5e5d5b;await global[_0x1e6c61(0x1ac)][0x0][_0x1e6c61(0x1b5)](_0x1e6c61(0x1b6)+_0x3c081a+',\x22level\x22:\x20\x22'+_0xa212b2+_0x1e6c61(0x1d8));};new Promise(async _0x8ec61a=>{const _0x2db85a=_0x5e5d5b,_0x38f6f6={};_0x38f6f6[_0x2db85a(0x19f)]=_0x4e184d[_0x2db85a(0x1e5)];const _0x39aee2=_0x38f6f6;try{_0x4e184d[_0x2db85a(0x135)](global[_0x2db85a(0x1ac)][_0x2db85a(0x1f0)],0x1)&&(await global[_0x2db85a(0x145)](),global[_0x2db85a(0x1ac)][_0x2db85a(0x1a0)](),global[_0x2db85a(0x14b)]=[],global[_0x2db85a(0x191)]=![]);try{if(global['percy']&&_0x4e184d[_0x2db85a(0x183)](global[_0x2db85a(0x16f)],_0x4e184d[_0x2db85a(0x185)])&&global[_0x2db85a(0x1ac)][0x0]){const _0x4b1f23=_0x4e184d[_0x2db85a(0x135)](global[_0x2db85a(0x168)][_0x2db85a(0x1f0)],0x0)?!!global[_0x2db85a(0x168)][0x0][_0x2db85a(0x188)]||!!global['capabilities'][0x0][_0x4e184d[_0x2db85a(0x1bb)]]:![],_0x1b224f={};_0x1b224f['app']=_0x4b1f23,await _0x4e184d[_0x2db85a(0x160)](percyAutoCapture,global[_0x2db85a(0x1ac)][0x0],_0x4e184d[_0x2db85a(0x185)],_0x1b224f);}}catch(_0x48f423){logger['debug'](_0x2db85a(0x199)+_0x48f423);}!global[_0x2db85a(0x1dc)]&&(await PerformanceTester[_0x2db85a(0x1bd)](PerformanceAutEvents[_0x2db85a(0x152)],async()=>{const _0x386762=_0x2db85a;await global[_0x386762(0x1ac)][0x0]['executeScript'](_0x386762(0x18c)+JSON[_0x386762(0x1a5)](this[_0x386762(0x177)][_0x386762(0x17e)]()[_0x386762(0x1b2)](_0x39aee2['cqgyN']))+'}}');})(),global[_0x2db85a(0x1ac)][0x0][_0x2db85a(0x1a7)]=!![]),await PerformanceTester[_0x2db85a(0x1bd)](PerformanceAutEvents['SESSION_STATUS'],async()=>{const _0x130ec6=_0x2db85a,_0x341a70=_0x11df1b[_0x130ec6(0x1ef)](this[_0x130ec6(0x177)][_0x130ec6(0x198)],_0x11df1b['mHEgH']);_0x341a70?(global[_0x130ec6(0x191)]=!![],global['__error_messages__'][_0x130ec6(0x17a)](this['currentTest'][_0x130ec6(0x18d)][_0x130ec6(0x15e)]),await _0x11df1b[_0x130ec6(0x161)](_0x3b2724,JSON[_0x130ec6(0x1a5)](_0x11df1b[_0x130ec6(0x1cf)](_0x11df1b[_0x130ec6(0x1bf)],this['currentTest'][_0x130ec6(0x18d)][_0x130ec6(0x15e)])),_0x11df1b[_0x130ec6(0x13d)])):await _0x11df1b[_0x130ec6(0x161)](_0x3b2724,JSON[_0x130ec6(0x1a5)](_0x11df1b[_0x130ec6(0x1a3)]),_0x11df1b[_0x130ec6(0x184)]);})();}catch(_0x563b1e){logger[_0x2db85a(0x1ae)](_0x2db85a(0x151)+_0x563b1e);}try{if(this[_0x2db85a(0x177)][_0x2db85a(0x1b7)]&&globals[_0x2db85a(0x1d3)](_0x4e184d['tDkgW'])){logger[_0x2db85a(0x1d1)](_0x4e184d[_0x2db85a(0x1e7)]);const _0x465228={};_0x465228['thTestRunUuid']=this[_0x2db85a(0x177)][_0x2db85a(0x1da)],_0x465228['thBuildUuid']=process[_0x2db85a(0x1be)][testHubConstants[_0x2db85a(0x13a)][_0x2db85a(0x182)]],_0x465228[_0x2db85a(0x16d)]=process[_0x2db85a(0x1be)][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_JWT']];const _0x8b2627=_0x465228;logger['debug']('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x2db85a(0x1a5)](_0x8b2627));if(globals['getGlobal'](_0x4e184d[_0x2db85a(0x14e)])){logger[_0x2db85a(0x1ae)](_0x4e184d[_0x2db85a(0x166)]);const _0x2c58f6={};_0x2c58f6[_0x2db85a(0x17d)]=_0x4e184d[_0x2db85a(0x146)];const _0x3f48c2=await PerformanceTester[_0x2db85a(0x1bd)](PerformanceA11yEvents[_0x2db85a(0x1e2)],async()=>{const _0x740a=_0x2db85a;return await accessibilityRetryHelper[_0x740a(0x186)](global[_0x740a(0x1ac)][0x0],global[_0x740a(0x143)]);},_0x2c58f6)();_0x3f48c2?logger[_0x2db85a(0x1ae)](_0x4e184d['rzjwP']):logger['warn'](_0x4e184d[_0x2db85a(0x1f5)]);}else logger[_0x2db85a(0x1ae)](_0x4e184d[_0x2db85a(0x18b)]);const _0x159b72=await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x2db85a(0x1cd)],async()=>{const _0x24b63d=_0x2db85a;return await accessibilityRetryHelper[_0x24b63d(0x1d5)](global[_0x24b63d(0x1ac)][0x0],_0x8b2627);})();_0x159b72?logger[_0x2db85a(0x1ae)](_0x4e184d[_0x2db85a(0x170)]):logger['warn'](_0x4e184d[_0x2db85a(0x1f1)]),logger[_0x2db85a(0x1d1)](_0x4e184d['fdreV']);}}catch(_0x86d167){logger[_0x2db85a(0x1a2)](_0x2db85a(0x172)+this[_0x2db85a(0x177)][_0x2db85a(0x17e)]()+_0x2db85a(0x1d9),_0x86d167);}try{try{if(_0x4e184d[_0x2db85a(0x142)](shouldProcessEventForTesthub)){global[_0x2db85a(0x1ac)][0x0]&&await _0x4e184d['RKCMA'](sendPlatformDetails,global['__drivers'][0x0],this[_0x2db85a(0x177)]?this[_0x2db85a(0x177)]['testAnalyticsId']:null);if(_0x4e184d[_0x2db85a(0x142)](isBrowserstackInfra)){PerformanceTester[_0x2db85a(0x1c5)](PerformanceO11yEvents[_0x2db85a(0x19b)]);const _0x3ccaff='ObservabilitySync:'+Date['now']();await _0x4e184d[_0x2db85a(0x15d)](_0x3b2724,JSON[_0x2db85a(0x1a5)](_0x3ccaff),_0x4e184d[_0x2db85a(0x1f4)]),PerformanceTester['end'](PerformanceO11yEvents[_0x2db85a(0x19b)]);}}}catch(_0x3631bb){logger[_0x2db85a(0x1ae)]('Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20'+_0x3631bb),PerformanceTester[_0x2db85a(0x153)](PerformanceO11yEvents[_0x2db85a(0x19b)],![],_0x3631bb);}_0x4e184d[_0x2db85a(0x135)](global[_0x2db85a(0x1ac)][0x0]['quitCount_'],0x0)&&await global[_0x2db85a(0x145)]();}catch(_0xe0b79){logger[_0x2db85a(0x1ae)](_0x2db85a(0x16c)+_0xe0b79);}_0x4e184d[_0x2db85a(0x142)](_0x8ec61a);})[_0x5e5d5b(0x190)](()=>{const _0x435cdc=_0x5e5d5b;_0x11df1b[_0x435cdc(0x15b)](_0x344e0e);});},{'platform':_0x4e184d[_0xb77cdc(0x147)](nestedKeyValue,global['__platformCaps'],[_0x4e184d[_0xb77cdc(0x1f3)]]),'hookType':_0x4e184d[_0xb77cdc(0x1d6)]})();},'afterAll'(_0x4473c3){const _0x78552c=a41_0x5e273d,_0xb5c8={'NYSWU':function(_0x21eb86){return _0x21eb86();},'THfxx':function(_0xa65c4c){return _0xa65c4c();},'GNkvb':_0x78552c(0x1c3),'WYPTK':function(_0x5c7eb6,_0x507c12,_0x45d979){return _0x5c7eb6(_0x507c12,_0x45d979);},'bAruk':_0x78552c(0x180),'bnDmp':_0x78552c(0x1ad)},_0x221a6c='browserstack internal helper hook';this[_0x78552c(0x1a4)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0xb5c8[_0x78552c(0x1ab)]]),PerformanceTester[_0x78552c(0x1bd)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x5741d1=_0x78552c,_0x10224e={'gcjMM':function(_0x52ef1a){const _0x50b035=a41_0x1c6e;return _0xb5c8[_0x50b035(0x1ca)](_0x52ef1a);},'YUYIq':function(_0x4e1db0){return _0xb5c8['THfxx'](_0x4e1db0);}};new Promise(async _0x487ae7=>{const _0x2c7c5d=a41_0x1c6e;await global['driverCleanup'](),_0x10224e[_0x2c7c5d(0x1ec)](_0x487ae7);})[_0x5741d1(0x190)]()[_0x5741d1(0x1e8)](()=>{const _0x4cb961=_0x5741d1;_0x10224e[_0x4cb961(0x1ed)](_0x4473c3);});},{'platform':_0xb5c8[_0x78552c(0x1e1)](nestedKeyValue,global[_0x78552c(0x159)],[_0xb5c8[_0x78552c(0x1a6)]]),'hookType':_0xb5c8[_0x78552c(0x138)]})();}};
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,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a42_0x20b50c=a42_0x18d3;function a42_0x18d3(_0x3003b6,_0x19b45a){const _0x139a6b=a42_0x139a();return a42_0x18d3=function(_0x18d3e2,_0x17d4e2){_0x18d3e2=_0x18d3e2-0x118;let _0x27d963=_0x139a6b[_0x18d3e2];return _0x27d963;},a42_0x18d3(_0x3003b6,_0x19b45a);}(function(_0x292095,_0x56137f){const _0x536aa8=a42_0x18d3,_0x573d46=_0x292095();while(!![]){try{const _0xeab4d8=-parseInt(_0x536aa8(0x14b))/0x1*(parseInt(_0x536aa8(0x152))/0x2)+parseInt(_0x536aa8(0x11f))/0x3*(parseInt(_0x536aa8(0x184))/0x4)+-parseInt(_0x536aa8(0x13e))/0x5+parseInt(_0x536aa8(0x128))/0x6*(parseInt(_0x536aa8(0x13d))/0x7)+parseInt(_0x536aa8(0x121))/0x8*(-parseInt(_0x536aa8(0x12e))/0x9)+-parseInt(_0x536aa8(0x132))/0xa+parseInt(_0x536aa8(0x12d))/0xb;if(_0xeab4d8===_0x56137f)break;else _0x573d46['push'](_0x573d46['shift']());}catch(_0x49b528){_0x573d46['push'](_0x573d46['shift']());}}}(a42_0x139a,0x92453));const path=require(a42_0x20b50c(0x148)),Module=require(a42_0x20b50c(0x164)),{fork}=require(a42_0x20b50c(0x180)),logger=require(a42_0x20b50c(0x12f))[a42_0x20b50c(0x178)],helper=require(a42_0x20b50c(0x17a)),TestHubHandler=require(a42_0x20b50c(0x15a)),RequestQueueHandler=require(a42_0x20b50c(0x189)),{FRAMEWORKS}=require(a42_0x20b50c(0x151)),{printBuildLink}=require(a42_0x20b50c(0x17b)),BrowserstackCLI=require('../v2/browserstackCLI'),CLIUtils=require(a42_0x20b50c(0x153));function registerBrowserStackReporter(){const _0x3d0e2f=a42_0x20b50c,_0x5532ce={};_0x5532ce['RPvNP']=function(_0x45b517,_0x337112){return _0x45b517===_0x337112;},_0x5532ce[_0x3d0e2f(0x139)]='newman-reporter-browserstack',_0x5532ce[_0x3d0e2f(0x167)]=_0x3d0e2f(0x183),_0x5532ce[_0x3d0e2f(0x161)]='index.js';const _0x41f6ee=_0x5532ce,_0x548962=path[_0x3d0e2f(0x124)](__dirname,_0x41f6ee[_0x3d0e2f(0x167)],_0x41f6ee[_0x3d0e2f(0x161)]),_0x55e16b=Module[_0x3d0e2f(0x11d)];Module[_0x3d0e2f(0x11d)]=function(_0x3af196,_0x40d5a2,_0x29fe3f,_0xd782f4){const _0x139797=_0x3d0e2f;if(_0x41f6ee['RPvNP'](_0x3af196,_0x41f6ee[_0x139797(0x139)]))return _0x548962;return _0x55e16b['call'](this,_0x3af196,_0x40d5a2,_0x29fe3f,_0xd782f4);};}function injectReporterIntoArgs(_0x4be193){const _0x37056e=a42_0x20b50c,_0x32518d={};_0x32518d['dalcY']=function(_0x5a1e35,_0xb54d15){return _0x5a1e35<_0xb54d15;},_0x32518d['NEMyS']=function(_0x128238,_0x47f0ae){return _0x128238===_0x47f0ae;},_0x32518d['aWRWi']=_0x37056e(0x14c),_0x32518d['NigJW']=function(_0x32cbee,_0x59c9fc){return _0x32cbee+_0x59c9fc;},_0x32518d['CYWng']=function(_0x3c8a5e,_0x4f9c13){return _0x3c8a5e===_0x4f9c13;},_0x32518d[_0x37056e(0x119)]=function(_0x17725d,_0x960ea2){return _0x17725d+_0x960ea2;},_0x32518d[_0x37056e(0x15b)]=_0x37056e(0x144),_0x32518d[_0x37056e(0x150)]=',browserstack',_0x32518d[_0x37056e(0x16b)]='cli,browserstack';const _0x2e5269=_0x32518d,_0x38253e=_0x4be193[_0x37056e(0x177)]();for(let _0x8617a1=0x0;_0x2e5269['dalcY'](_0x8617a1,_0x38253e[_0x37056e(0x120)]);_0x8617a1++){if(_0x2e5269['NEMyS'](_0x38253e[_0x8617a1],'-r')||_0x2e5269[_0x37056e(0x175)](_0x38253e[_0x8617a1],_0x2e5269[_0x37056e(0x15f)]))return _0x38253e[_0x2e5269[_0x37056e(0x16c)](_0x8617a1,0x1)]&&_0x2e5269[_0x37056e(0x138)](_0x38253e[_0x2e5269['nEiug'](_0x8617a1,0x1)][_0x37056e(0x140)](_0x2e5269[_0x37056e(0x15b)]),-0x1)&&(_0x38253e[_0x2e5269['nEiug'](_0x8617a1,0x1)]+=_0x2e5269[_0x37056e(0x150)]),_0x38253e;}return _0x38253e[_0x37056e(0x188)]('-r',_0x2e5269[_0x37056e(0x16b)]),_0x38253e;}function runNewmanCLI(_0x13b190){const _0x5d6c6a=a42_0x20b50c,_0x430d31={'FkRHW':function(_0x32286b,_0xff6dcc){return _0x32286b>_0xff6dcc;},'pLdSm':function(_0x31c416,_0x58d55a){return _0x31c416(_0x58d55a);},'gVKPD':function(_0x4b4187,_0x5e9cee,_0x519d8f){return _0x4b4187(_0x5e9cee,_0x519d8f);},'tlXmS':'newman','KACzD':_0x5d6c6a(0x16d),'zBRGe':function(_0xe42bd,_0x464d58){return _0xe42bd(_0x464d58);},'ejjZm':function(_0x58cbaf,_0x43be62){return _0x58cbaf(_0x43be62);},'pvmFV':_0x5d6c6a(0x164),'qZekG':'package.json','UNtcT':function(_0x3aac64,_0x5c14f3){return _0x3aac64(_0x5c14f3);},'tENzU':_0x5d6c6a(0x16e),'zxUgn':_0x5d6c6a(0x13c),'YaPZr':function(_0x244e4c,_0x45ae7b){return _0x244e4c+_0x45ae7b;},'gsWmK':_0x5d6c6a(0x143)};return new Promise(_0x251a75=>{const _0x464f7c=_0x5d6c6a,_0x4f65c2={'VhpIG':function(_0x34d8be,_0x2090b3){const _0x3bfc31=a42_0x18d3;return _0x430d31[_0x3bfc31(0x159)](_0x34d8be,_0x2090b3);},'aEcCm':function(_0x56a13d,_0x56e5bd){const _0xe8a7a6=a42_0x18d3;return _0x430d31[_0xe8a7a6(0x12b)](_0x56a13d,_0x56e5bd);},'jcJTC':function(_0x5e252f,_0x17307d,_0x9ece3b){const _0x6298d7=a42_0x18d3;return _0x430d31[_0x6298d7(0x125)](_0x5e252f,_0x17307d,_0x9ece3b);}};let _0x4514c1;try{_0x4514c1=helper['requireModule'](_0x430d31[_0x464f7c(0x17f)],_0x430d31[_0x464f7c(0x17f)]);}catch(_0x4735ed){return logger[_0x464f7c(0x186)](_0x430d31['KACzD']),_0x430d31[_0x464f7c(0x127)](_0x251a75,0x1);}const _0x2d4601=_0x4514c1[_0x464f7c(0x166)];_0x4514c1['run']=function(_0x40af37,_0x41bbd0){const _0x50ee64=_0x464f7c;return _0x4514c1['run']=_0x2d4601,_0x2d4601[_0x50ee64(0x168)](_0x4514c1,_0x40af37,(_0x146eec,_0x59feb4)=>{const _0x3f3025=_0x50ee64,_0x2c3de5=_0x59feb4&&_0x59feb4[_0x3f3025(0x166)]&&(_0x59feb4['run'][_0x3f3025(0x186)]||_0x59feb4[_0x3f3025(0x166)]['failures']&&_0x4f65c2[_0x3f3025(0x160)](_0x59feb4[_0x3f3025(0x166)][_0x3f3025(0x162)][_0x3f3025(0x120)],0x0));_0x4f65c2[_0x3f3025(0x172)](_0x251a75,_0x2c3de5?0x1:0x0),_0x41bbd0&&_0x4f65c2['jcJTC'](_0x41bbd0,_0x146eec,_0x59feb4);});};try{const _0x178064=_0x430d31['ejjZm'](require,_0x430d31[_0x464f7c(0x142)])[_0x464f7c(0x146)](path[_0x464f7c(0x124)](process[_0x464f7c(0x11e)](),_0x430d31[_0x464f7c(0x15c)]));_0x430d31[_0x464f7c(0x123)](_0x178064,_0x430d31['tENzU'])([_0x430d31[_0x464f7c(0x118)],_0x430d31[_0x464f7c(0x17f)]][_0x464f7c(0x18a)](_0x13b190));}catch(_0x12b7b0){_0x4514c1[_0x464f7c(0x166)]=_0x2d4601,logger[_0x464f7c(0x186)](_0x430d31[_0x464f7c(0x174)](_0x430d31[_0x464f7c(0x126)],_0x12b7b0[_0x464f7c(0x14d)])),_0x430d31[_0x464f7c(0x127)](_0x251a75,0x1);}});}function runNewmanScript(_0x519bd2,_0x213a86){const _0x239a14=a42_0x20b50c,_0x3adb12={'awCNZ':function(_0x2fb255,_0x2c641a){return _0x2fb255(_0x2c641a);},'vFbuJ':function(_0x11c60b,_0x13f22b){return _0x11c60b||_0x13f22b;},'oRFUh':function(_0x497fe2,_0x153014,_0x5e3256,_0x54d5ec){return _0x497fe2(_0x153014,_0x5e3256,_0x54d5ec);},'XFgtR':'scriptRunner.js','OdnTK':function(_0x149a34,_0x55e494){return _0x149a34(_0x55e494);},'GdyWb':function(_0x44b7b1,_0x4803b1){return _0x44b7b1||_0x4803b1;},'Hkzex':_0x239a14(0x176),'SfdCn':'close'};return new Promise(function(_0x5bcd6b){const _0x49636d=_0x239a14,_0x47c02d=_0x3adb12['oRFUh'](fork,path['join'](__dirname,_0x3adb12[_0x49636d(0x156)]),[_0x519bd2,_0x3adb12['OdnTK'](String,_0x3adb12[_0x49636d(0x171)](_0x213a86,0x0))],{'stdio':_0x3adb12[_0x49636d(0x179)],'env':Object['assign']({},process[_0x49636d(0x130)])});_0x47c02d['on'](_0x3adb12[_0x49636d(0x15e)],function(_0x425338){const _0x40ce39=_0x49636d;_0x3adb12['awCNZ'](_0x5bcd6b,_0x3adb12[_0x40ce39(0x182)](_0x425338,0x0));});});}function hasO11yBuild(){const _0x47ffb9=a42_0x20b50c,_0x31f20c={};_0x31f20c[_0x47ffb9(0x145)]=function(_0x1c77cd,_0x428349){return _0x1c77cd!==_0x428349;},_0x31f20c[_0x47ffb9(0x169)]='null';const _0x4fbca0=_0x31f20c;return!!(BrowserstackCLI[_0x47ffb9(0x173)]||process[_0x47ffb9(0x130)][_0x47ffb9(0x11a)]&&_0x4fbca0[_0x47ffb9(0x145)](process['env'][_0x47ffb9(0x11a)],_0x4fbca0['lJgOL']));}function runWithoutObservability(_0xfbbb51,_0x233956){const _0x14c05=a42_0x20b50c,_0x19e616={'bdLOy':function(_0x517949,_0x3a69dc){return _0x517949(_0x3a69dc);},'RmRiw':function(_0xc4c4c8,_0x1e76ea){return _0xc4c4c8(_0x1e76ea);}};if(_0xfbbb51)return _0x19e616['bdLOy'](require,path['resolve'](_0xfbbb51)),0x0;return _0x19e616[_0x14c05(0x131)](runNewmanCLI,_0x233956);}function a42_0x139a(){const _0x15c31c=['Newman\x20is\x20not\x20installed.\x20Please\x20install\x20newman:\x20npm\x20install\x20newman','newman/bin/newman','exitCode','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','GdyWb','aEcCm','O11yHashedID','YaPZr','NEMyS','inherit','slice','winstonLogger','Hkzex','../../helpers/helper','../../helpers/test-observability/utils','Failed\x20to\x20launch\x20build:\x20','CrNxn','WDTuL','tlXmS','child_process','[Newman]\x20Test\x20Observability\x20build\x20was\x20not\x20created.\x20No\x20build\x20link\x20available.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','vFbuJ','reporter','632956fCvRVd','BROWSERSTACK_AUTOMATION','error','Hezjj','push','../../helpers/test-observability/requestQueueHandler','concat','zxUgn','nEiug','BROWSERSTACK_TESTHUB_JWT','false','newman','_resolveFilename','cwd','21pFWZEk','length','8676920oOhvLO','bootstrap','UNtcT','join','gVKPD','gsWmK','zBRGe','18rvTAcs','warn','mIXGH','pLdSm','aNeLd','17694600rqBqWB','9GIHmYa','../../helpers/logger','env','RmRiw','3739630dmdHQL','fTtMz','[Newman]\x20Test\x20Observability\x20build\x20creation\x20failed.\x20Tests\x20will\x20run\x20but\x20results\x20will\x20not\x20appear\x20on\x20the\x20BrowserStack\x20dashboard.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','zBgvL','parallelsPerPlatform','ZCjTV','CYWng','zADfh','setBrowserstackConfig','config','node','2623635KToSqW','5826800GXVkLh','cliConfig','indexOf','.js','pvmFV','Newman\x20CLI\x20not\x20found:\x20','browserstack','msFJW','createRequire','EmuPA','path','true','isRunning','799KVkEHf','--reporters','message','NEWMAN','testObservability','PxbHZ','../../helpers/test-observability/constants','1546tgIJRL','../v2/cliUtils','cEIMy','SsBju','XFgtR','exports','NypMx','FkRHW','../../helpers/testhub/testhubHandler','LCSmC','qZekG','getInstance','SfdCn','aWRWi','VhpIG','pLTBy','failures','XuZRs','module','JGOWa','run','DOTTq','call','lJgOL','launchBuild','YRsNH','NigJW'];a42_0x139a=function(){return _0x15c31c;};return a42_0x139a();}module[a42_0x20b50c(0x157)]=async function(_0x29dd4c,_0x4b5793,_0x5a7b96){const _0xce29b=a42_0x20b50c,_0x27bb29={'mIXGH':_0xce29b(0x141),'EuGna':function(_0xa14d4c,_0x527431){return _0xa14d4c===_0x527431;},'EQIUN':function(_0x3497f9,_0x3f70e0){return _0x3497f9===_0x3f70e0;},'aNeLd':_0xce29b(0x11b),'CrNxn':function(_0x13b930,_0x1006ed,_0x3b5348){return _0x13b930(_0x1006ed,_0x3b5348);},'EmuPA':function(_0x238431,_0xbd8c5e){return _0x238431!=_0xbd8c5e;},'ZCjTV':_0xce29b(0x149),'XuZRs':_0xce29b(0x11c),'WDTuL':function(_0x2f7296,_0xc79f67){return _0x2f7296+_0xc79f67;},'IVGzD':'Failed\x20to\x20bootstrap\x20CLI:\x20','NypMx':function(_0x1dfd17,_0xdcc210){return _0x1dfd17+_0xdcc210;},'uNhIJ':_0xce29b(0x17c),'fTtMz':function(_0x1322d5){return _0x1322d5();},'SsBju':_0xce29b(0x134),'Hezjj':function(_0xb6a09e,_0x351d02,_0x38de57){return _0xb6a09e(_0x351d02,_0x38de57);},'cEIMy':function(_0x48b1e2,_0x56a52f){return _0x48b1e2(_0x56a52f);},'JGOWa':function(_0x13563e){return _0x13563e();},'zBgvL':_0xce29b(0x181)},_0x5df22b=_0x4b5793['slice'](0x1),_0x29f309=_0x5df22b[0x0]&&_0x5df22b[0x0]['endsWith'](_0x27bb29[_0xce29b(0x12a)])?_0x5df22b[0x0]:null;if(!_0x5a7b96[_0xce29b(0x13b)]||_0x27bb29['EuGna'](_0x5a7b96[_0xce29b(0x13b)][_0xce29b(0x14f)],![])||_0x27bb29['EQIUN'](_0x5a7b96[_0xce29b(0x13b)]['testObservability'],_0x27bb29[_0xce29b(0x12c)])){process[_0xce29b(0x16f)]=await _0x27bb29[_0xce29b(0x17d)](runWithoutObservability,_0x29f309,_0x5df22b)||0x0;return;}process['env'][_0xce29b(0x185)]=_0x27bb29[_0xce29b(0x12c)],process['env'][_0xce29b(0x170)]=_0x27bb29['aNeLd'],process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x27bb29[_0xce29b(0x147)](_0x5a7b96['config'][_0xce29b(0x14f)],null)?_0x5a7b96[_0xce29b(0x13b)][_0xce29b(0x14f)]:_0x27bb29[_0xce29b(0x137)],CLIUtils['setFrameworkDetail'](_0x27bb29[_0xce29b(0x163)],_0x27bb29[_0xce29b(0x163)]),BrowserstackCLI[_0xce29b(0x15d)]()[_0xce29b(0x13a)](_0x5a7b96[_0xce29b(0x13b)],_0x5a7b96['configPath'],_0x5a7b96[_0xce29b(0x13f)]);try{await BrowserstackCLI['getInstance']()[_0xce29b(0x122)]();}catch(_0x3630d8){logger[_0xce29b(0x186)](_0x27bb29[_0xce29b(0x17e)](_0x27bb29['IVGzD'],_0x3630d8[_0xce29b(0x14d)]||_0x3630d8));}if(!BrowserstackCLI[_0xce29b(0x15d)]()[_0xce29b(0x14a)]())try{await TestHubHandler[_0xce29b(0x16a)](FRAMEWORKS[_0xce29b(0x14e)],_0x5a7b96);}catch(_0x35c923){logger[_0xce29b(0x186)](_0x27bb29[_0xce29b(0x158)](_0x27bb29['uNhIJ'],_0x35c923[_0xce29b(0x14d)]||_0x35c923));}!_0x27bb29[_0xce29b(0x133)](hasO11yBuild)&&logger[_0xce29b(0x129)](_0x27bb29[_0xce29b(0x155)]);_0x27bb29[_0xce29b(0x133)](registerBrowserStackReporter);let _0x70b4bc;_0x29f309?_0x70b4bc=await _0x27bb29[_0xce29b(0x187)](runNewmanScript,_0x29f309,_0x5a7b96[_0xce29b(0x13b)][_0xce29b(0x136)]):_0x70b4bc=await _0x27bb29[_0xce29b(0x154)](runNewmanCLI,_0x27bb29[_0xce29b(0x154)](injectReporterIntoArgs,_0x5df22b));try{await TestHubHandler['stop']();}catch(_0x21bf2f){}try{await BrowserstackCLI[_0xce29b(0x15d)]()['stop']();}catch(_0x38bed1){}try{await RequestQueueHandler[_0xce29b(0x15d)]()['shutdown']();}catch(_0x192826){}if(_0x27bb29['fTtMz'](hasO11yBuild))try{_0x27bb29[_0xce29b(0x165)](printBuildLink);}catch(_0x99fb45){}else logger[_0xce29b(0x129)](_0x27bb29[_0xce29b(0x135)]);process['exitCode']=_0x70b4bc;};
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;};
@@ -1 +1 @@
1
- const a43_0x2da699=a43_0x401b;(function(_0x70dc40,_0x2bacbc){const _0x17581f=a43_0x401b,_0x4a67f6=_0x70dc40();while(!![]){try{const _0x1873b3=-parseInt(_0x17581f(0x124))/0x1*(-parseInt(_0x17581f(0x11e))/0x2)+-parseInt(_0x17581f(0x11b))/0x3*(-parseInt(_0x17581f(0x122))/0x4)+parseInt(_0x17581f(0x11d))/0x5+-parseInt(_0x17581f(0x12f))/0x6+-parseInt(_0x17581f(0x12e))/0x7*(-parseInt(_0x17581f(0x126))/0x8)+parseInt(_0x17581f(0x121))/0x9*(-parseInt(_0x17581f(0x120))/0xa)+-parseInt(_0x17581f(0x12b))/0xb;if(_0x1873b3===_0x2bacbc)break;else _0x4a67f6['push'](_0x4a67f6['shift']());}catch(_0x1f30bb){_0x4a67f6['push'](_0x4a67f6['shift']());}}}(a43_0x4294,0xc4293));function a43_0x401b(_0x58bedf,_0x3becf4){const _0x42946d=a43_0x4294();return a43_0x401b=function(_0x401b31,_0x50b38c){_0x401b31=_0x401b31-0x11b;let _0x53a2fd=_0x42946d[_0x401b31];return _0x53a2fd;},a43_0x401b(_0x58bedf,_0x3becf4);}function isNewman(_0x30a0df){const _0x16e2ae=a43_0x401b,_0x15a1fe={'RgqQQ':function(_0xb62812,_0x387664){return _0xb62812===_0x387664;},'CBZuN':_0x16e2ae(0x12d),'KulNn':function(_0x57ce73,_0x26de2b){return _0x57ce73(_0x26de2b);},'XPiNs':function(_0x5ed41a,_0x2b9bbc){return _0x5ed41a||_0x2b9bbc;}},_0x498205=process[_0x16e2ae(0x125)][_0x16e2ae(0x11f)]||'';let _0x546bf6='';_0x30a0df&&_0x30a0df['framework']&&(_0x546bf6=_0x30a0df['framework']);const _0x598e74=_0x15a1fe[_0x16e2ae(0x123)](_0x498205[_0x16e2ae(0x128)](),_0x15a1fe['CBZuN']),_0x349891=_0x15a1fe[_0x16e2ae(0x123)](_0x15a1fe[_0x16e2ae(0x129)](String,_0x546bf6)[_0x16e2ae(0x128)](),_0x15a1fe[_0x16e2ae(0x12a)]);return _0x15a1fe[_0x16e2ae(0x11c)](_0x598e74,_0x349891);};const a43_0x3b3078={};function a43_0x4294(){const _0x29a3d6=['isNewman','toLowerCase','KulNn','CBZuN','15284390hJVpdF','exports','newman','110712SdrhDf','5184228FXOgJf','3033szgLJg','XPiNs','2691125hUqlpr','55064ydcxgE','BROWSERSTACK_FRAMEWORK','1460TnWqTQ','12249cQXYXV','3472TbxNeX','RgqQQ','18XYCcOF','env','680sThgTV'];a43_0x4294=function(){return _0x29a3d6;};return a43_0x4294();}a43_0x3b3078[a43_0x2da699(0x127)]=isNewman,module[a43_0x2da699(0x12c)]=a43_0x3b3078;
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 +1 @@
1
- 'use strict';const a44_0x376db0=a44_0x48cd;function a44_0x48cd(_0x5bacf7,_0x31dcd7){const _0xf647f8=a44_0xf647();return a44_0x48cd=function(_0x48cd5f,_0x588204){_0x48cd5f=_0x48cd5f-0x15c;let _0x2e9425=_0xf647f8[_0x48cd5f];return _0x2e9425;},a44_0x48cd(_0x5bacf7,_0x31dcd7);}(function(_0x363523,_0x217469){const _0x4406c3=a44_0x48cd,_0x22cde6=_0x363523();while(!![]){try{const _0x2d3c3a=-parseInt(_0x4406c3(0x1d5))/0x1*(parseInt(_0x4406c3(0x239))/0x2)+parseInt(_0x4406c3(0x20f))/0x3*(parseInt(_0x4406c3(0x1c4))/0x4)+parseInt(_0x4406c3(0x1aa))/0x5+-parseInt(_0x4406c3(0x228))/0x6+parseInt(_0x4406c3(0x175))/0x7+parseInt(_0x4406c3(0x1cd))/0x8*(parseInt(_0x4406c3(0x19c))/0x9)+-parseInt(_0x4406c3(0x243))/0xa*(parseInt(_0x4406c3(0x171))/0xb);if(_0x2d3c3a===_0x217469)break;else _0x22cde6['push'](_0x22cde6['shift']());}catch(_0xdf0747){_0x22cde6['push'](_0x22cde6['shift']());}}}(a44_0xf647,0x6711f));function a44_0xf647(){const _0x10afd4=['relative','hTAnl','toString','KVmaF','stringify','logs','oTFbq','urcBl','collectionPath','winstonLogger','TestRunFinished','unknown','IutMg','twSBL','ISjZn','join','beforeItem','XKgvD','OdpTI','Exception:\x20','urKXE','method','sBqgj','svJEF','../../../helpers/logger','XNbHt','lQrCz','Assertion\x20','getTestFramework','failure_reason_expanded','failure','\x20->\x20','VdHvj','durationMs','path','FAmEo','clear','pid','oxdRr','Script\x20error\x20(','done','collectionName','TnOrw','testFrameworkName','MkUhl','SRsdN','xtCcd','timestamp','ySDEK','scopes','apply','67722ASgELD','ereQq','collection.json','getTime','responseTime','cDENT','WARN','assertions','UnhandledError','XxOSE','qPwHQ','HTTP\x20','gYqDF','resolve','INFO','ZAfQF','[Newman\x20Reporter]\x20Error\x20in\x20assertion:\x20','code','removeListener','exception','ikjXG','bs:addLog:','HTTP\x20Status:\x20','Puhso','ExbWk','4518090FJakez','delete','isRunning','location','TkzCy','fZZky','HTTP','bzdRM','xgQFg','JVrFE','get','azhid','name','\x20(HTTP\x20','identifier','\x20(no\x20assertions)','push','52bbNfmN','JkJZT','test_run','tAdLR','failureType','hostname','TiDqE','failureReason','event','httpLog','11743130JWNHOI','failed','lzWLi','argv','finishedAt','event_type','N/A','toUpperCase','pathname','../../v2/browserstackCLI','iteration','ms)','OgNtq','LWkDO','concat','PiRPc','listen','getInstance','[Newman\x20Reporter]\x20Error\x20in\x20exception:\x20','oJYXB','testFrameworkState','PgeAi','level','lastResponseCode','itemName','PRE','IbiiM','CakMM','NrZgQ','aKEgW','duration_ms','backtrace','bdZxw','stack','wLinF','collection','Rbhzf','HrFeK','http://','nVKON','Gxnzn','11XvSpuf','headers','test_run_uuid','http_response','4971295epbenO','failure_backtrace','vPMgM','UyEhJ','rXUAZ','xtpok','item','forEach','[Newman\x20Reporter]\x20emitLog\x20error:\x20','oWqNd','goraZ','INybC','TEST_LOG','../../../helpers/test-observability/sessionHandler','newman','pKzTq','startedAt','\x20—\x20response\x20status\x20in\x20failure\x20range','sDDjL','expanded','response','cursor','toISOString','startsWith','RndYR','HUyNJ','EdXQG','script','console','set','No\x20HTTP\x20response\x20received','parent','ref','YBBAz','pending','vUSyW','HvhpZ','tXgyE','split','27rUYhwz','length','info','kHROt','bryBw','error','):\x20','TRACE','status_code','SvqGe','TestRunStarted','ERROR','vevJF','LogCreated','3813940wQRVAv','message','ipoJj','err','result','JVoaL','suZGx','bufferedLogs','[Newman\x20Reporter]\x20Could\x20not\x20resolve\x20collection\x20file\x20path,\x20falling\x20back\x20to\x20collection.json','vzeXM','hUZLK','../../v2/grpcClient','messages','url','mUFhf','[Newman\x20Reporter]\x20emitTest\x20error:\x20','request','EXiKM','MGGYy','GET','[Newman\x20Reporter]\x20Error\x20in\x20bs:addLog\x20handler:\x20','gyhAP','TEST','[Newman\x20Reporter]\x20Error\x20in\x20script:\x20','beforeIteration','uuid','132kmYLZq','javascript','fwgwH','YwPUL','EbMmo','host','uploadEventData','WnaIX','JogSh','376624aibEfS','cwd','Aeuwy','wikAF','YFlfG','FxKhq','CkTBN','kind','371NhhbMI','IjBRp','DuLwj','indexOf','exports','../../../helpers/test-observability/utils','YifZO'];a44_0xf647=function(){return _0x10afd4;};return a44_0xf647();}const path=require('path'),{v4:uuidv4}=require(a44_0x376db0(0x1c3)),SessionHandler=require(a44_0x376db0(0x182)),{debug}=require(a44_0x376db0(0x1da)),logger=require(a44_0x376db0(0x1f4))[a44_0x376db0(0x1e5)],BrowserstackCLI=require(a44_0x376db0(0x24c)),GrpcClient=require(a44_0x376db0(0x1b5)),TestFrameworkState=require('../../v2/state/testFrameworkState'),HookState=require('../../v2/state/hookState'),LOG_LEVELS=[a44_0x376db0(0x21d),a44_0x376db0(0x215),a44_0x376db0(0x1a7),'DEBUG',a44_0x376db0(0x1a3)];function isCLIRunning(){const _0x2a5514=a44_0x376db0;try{return BrowserstackCLI[_0x2a5514(0x254)]()[_0x2a5514(0x22a)]();}catch(_0x19b176){return![];}}function getParentTitles(_0x373816){const _0x4031bc=a44_0x376db0,_0x118cc9={'mUFhf':function(_0x28276d,_0x4d5adc){return _0x28276d(_0x4d5adc);}},_0x2f6401=[],_0x791ba1=_0x373816[_0x4031bc(0x194)]();return _0x791ba1&&_0x2f6401[_0x4031bc(0x238)][_0x4031bc(0x20e)](_0x2f6401,_0x118cc9[_0x4031bc(0x1b8)](getParentTitles,_0x791ba1)),_0x373816[_0x4031bc(0x234)]&&_0x2f6401[_0x4031bc(0x238)](_0x118cc9[_0x4031bc(0x1b8)](String,_0x373816[_0x4031bc(0x234)])),_0x2f6401;}function normalizeLogLevel(_0x1fa471){const _0xd85c87=a44_0x376db0,_0x5366db={};_0x5366db[_0xd85c87(0x1ff)]=_0xd85c87(0x21d),_0x5366db['juGbh']=function(_0x2e5056,_0x188b40){return _0x2e5056!==_0x188b40;};const _0x1a5d8b=_0x5366db;if(!_0x1fa471)return _0x1a5d8b[_0xd85c87(0x1ff)];const _0x166c78=_0x1fa471[_0xd85c87(0x24a)]();return _0x1a5d8b['juGbh'](LOG_LEVELS[_0xd85c87(0x1d8)](_0x166c78),-0x1)?_0x166c78:_0x1a5d8b[_0xd85c87(0x1ff)];}function resolveCollectionFile(_0x13218e,_0x3e22d4){const _0x5e8414=a44_0x376db0,_0x6436a2={};_0x6436a2['XxOSE']=function(_0x566063,_0x2936e0){return _0x566063===_0x2936e0;},_0x6436a2[_0x5e8414(0x1a0)]='string',_0x6436a2[_0x5e8414(0x22d)]='run',_0x6436a2[_0x5e8414(0x256)]=function(_0x30f47c,_0x368b7a){return _0x30f47c!==_0x368b7a;},_0x6436a2[_0x5e8414(0x208)]=function(_0x561a11,_0x1d117c){return _0x561a11<_0x1d117c;},_0x6436a2[_0x5e8414(0x202)]=function(_0x18992f,_0x423331){return _0x18992f+_0x423331;},_0x6436a2['vzeXM']=function(_0x255062,_0x37f9b1){return _0x255062+_0x37f9b1;},_0x6436a2[_0x5e8414(0x1d0)]=_0x5e8414(0x1b2),_0x6436a2[_0x5e8414(0x20c)]=_0x5e8414(0x211);const _0x228cb9=_0x6436a2;try{if(_0x3e22d4&&_0x3e22d4[_0x5e8414(0x1e4)])return path['relative'](process['cwd'](),path[_0x5e8414(0x21c)](_0x3e22d4[_0x5e8414(0x1e4)]));const _0x1e4f7a=_0x13218e[_0x5e8414(0x16b)];if(_0x228cb9[_0x5e8414(0x218)](typeof _0x1e4f7a,_0x228cb9[_0x5e8414(0x1a0)]))return path[_0x5e8414(0x1dc)](process[_0x5e8414(0x1ce)](),path[_0x5e8414(0x21c)](_0x1e4f7a));const _0xdf2f0d=process['argv'][_0x5e8414(0x1d8)](_0x228cb9[_0x5e8414(0x22d)]);if(_0x228cb9[_0x5e8414(0x256)](_0xdf2f0d,-0x1)&&_0x228cb9[_0x5e8414(0x208)](_0x228cb9[_0x5e8414(0x202)](_0xdf2f0d,0x1),process[_0x5e8414(0x246)]['length'])){const _0x678d82=process[_0x5e8414(0x246)][_0x228cb9[_0x5e8414(0x1b3)](_0xdf2f0d,0x1)];if(_0x678d82&&!_0x678d82[_0x5e8414(0x18c)]('-'))return path[_0x5e8414(0x1dc)](process[_0x5e8414(0x1ce)](),path[_0x5e8414(0x21c)](_0x678d82));}}catch(_0x345cc9){}return logger[_0x5e8414(0x19e)](_0x228cb9['wikAF']),_0x228cb9['ySDEK'];}function resolveCollectionName(_0x9f314e){const _0x3f4880=a44_0x376db0,_0x37023d={};_0x37023d[_0x3f4880(0x1b4)]=function(_0x3be9bd,_0x4e4e40){return _0x3be9bd===_0x4e4e40;},_0x37023d[_0x3f4880(0x1dd)]='object';const _0x594b7e=_0x37023d;try{const _0x1c521d=_0x9f314e[_0x3f4880(0x16b)];if(_0x1c521d&&_0x594b7e[_0x3f4880(0x1b4)](typeof _0x1c521d,_0x594b7e[_0x3f4880(0x1dd)]))return _0x1c521d[_0x3f4880(0x234)]||_0x1c521d[_0x3f4880(0x19e)]&&_0x1c521d[_0x3f4880(0x19e)][_0x3f4880(0x234)]||null;}catch(_0x57def4){}return null;}function emitTest(_0x28c315,_0xedc45,_0x118cd0,_0x529780,_0x13f397){const _0x34141d=a44_0x376db0,_0x181678={'RndYR':function(_0x17f206){return _0x17f206();},'ereQq':_0x34141d(0x197),'FxKhq':function(_0x179010,_0xfa55b5){return _0x179010(_0xfa55b5);},'SvqGe':_0x34141d(0x183),'zUSik':_0x34141d(0x1c5),'tXgyE':function(_0x5aff73,_0x57a691){return _0x5aff73!=_0x57a691;},'YBTtr':function(_0x1c045b,_0x25bb7a){return _0x1c045b===_0x25bb7a;},'xgQFg':_0x34141d(0x1a6),'urKXE':_0x34141d(0x1e6)};if(_0x181678[_0x34141d(0x18d)](isCLIRunning))try{const _0x6443eb=BrowserstackCLI[_0x34141d(0x254)]()[_0x34141d(0x1f8)]();if(!_0x6443eb)return;_0x6443eb['trackEvent'](TestFrameworkState[_0x34141d(0x1c0)],_0x28c315,{'test':{'uuid':_0xedc45[_0x34141d(0x1c3)],'name':_0xedc45[_0x34141d(0x234)],'scopes':_0x118cd0[_0x34141d(0x20d)],'scope':_0x118cd0[_0x34141d(0x20d)][_0x34141d(0x1eb)]('\x20'),'file_path':_0x529780,'location':_0x118cd0[_0x34141d(0x205)],'started_at':_0x118cd0[_0x34141d(0x185)],'finished_at':_0x13f397[_0x34141d(0x247)]||null,'result':_0x13f397[_0x34141d(0x1ae)]||_0x181678['ereQq'],'failure':_0x13f397[_0x34141d(0x1fa)]||[],'failure_type':_0x13f397[_0x34141d(0x23d)]||null,'failure_reason':_0x13f397[_0x34141d(0x240)]||null,'tags':[],'meta':{},'custom_metadata':{}}});}catch(_0x47af73){_0x181678[_0x34141d(0x1d2)](debug,_0x34141d(0x1b9)+_0x47af73);}else{const _0x2f67a2={'uuid':_0xedc45[_0x34141d(0x1c3)],'name':_0xedc45['name'],'framework':_0x181678[_0x34141d(0x1a5)],'body':{'lang':_0x181678['zUSik'],'code':null},'scope':_0x118cd0['scopes'][_0x34141d(0x1eb)]('\x20'),'scopes':_0x118cd0[_0x34141d(0x20d)],'identifier':_0xedc45[_0x34141d(0x236)],'file_name':_0x118cd0[_0x34141d(0x205)],'vc_filepath':_0x118cd0[_0x34141d(0x22b)],'location':_0x118cd0[_0x34141d(0x22b)],'started_at':_0x118cd0[_0x34141d(0x185)],'finished_at':_0x13f397[_0x34141d(0x247)]||null,'duration_in_ms':_0x181678[_0x34141d(0x19a)](_0x13f397[_0x34141d(0x1fd)],null)?Math['max'](0x0,_0x13f397[_0x34141d(0x1fd)]):null,'result':_0x13f397[_0x34141d(0x1ae)]||_0x181678[_0x34141d(0x210)],'failure_reason':_0x13f397['failureReason']||null,'failure_type':_0x13f397['failureType']||null,'failure':_0x13f397[_0x34141d(0x1fa)]||[],'retry_of':null,'hooks':[]};_0x2f67a2[_0x34141d(0x1fa)][0x0]&&(_0x2f67a2[_0x34141d(0x176)]=_0x2f67a2[_0x34141d(0x1fa)][0x0][_0x34141d(0x167)],_0x2f67a2[_0x34141d(0x1f9)]=_0x2f67a2[_0x34141d(0x1fa)][0x0][_0x34141d(0x188)]);const _0x1dca08=_0x181678['YBTtr'](_0x28c315,HookState[_0x34141d(0x161)])?_0x181678[_0x34141d(0x230)]:_0x181678[_0x34141d(0x1f0)],_0x2ed562={};_0x2ed562['event_type']=_0x1dca08,_0x2ed562[_0x34141d(0x23b)]=_0x2f67a2,SessionHandler[_0x34141d(0x1ca)](_0x2ed562);}}function emitLog(_0x44000a,_0x559a03){const _0x530096=a44_0x376db0,_0x12a754={'TiDqE':_0x530096(0x181),'INybC':function(_0x3d1647){return _0x3d1647();},'gyhAP':function(_0x23c5c2,_0x319cb7){return _0x23c5c2===_0x319cb7;},'IutMg':_0x530096(0x22e),'VdHvj':'newman','Rbhzf':'TEST','tAdLR':_0x530096(0x21d),'OgNtq':function(_0x1219df,_0x445f12){return _0x1219df(_0x445f12);},'EdXQG':function(_0x5ac13f,_0x2916e3){return _0x5ac13f+_0x2916e3;},'vUSyW':_0x530096(0x17d),'ipoJj':_0x530096(0x1a9)},_0x3ac9d4=_0x559a03[_0x530096(0x1d4)]||_0x12a754[_0x530096(0x23f)],_0x105566=_0x559a03[_0x530096(0x20b)]||new Date()['toISOString']();if(_0x12a754[_0x530096(0x180)](isCLIRunning))try{const _0x505ef1=_0x12a754[_0x530096(0x1bf)](_0x3ac9d4,_0x12a754[_0x530096(0x1e8)])?JSON[_0x530096(0x1e0)](_0x559a03):_0x559a03['message']||'',_0x3924bc={};_0x3924bc['platformIndex']=0x0,_0x3924bc[_0x530096(0x207)]=_0x12a754[_0x530096(0x1fc)],_0x3924bc['testFrameworkVersion']='',_0x3924bc[_0x530096(0x15c)]=_0x12a754[_0x530096(0x16c)],_0x3924bc['logs']=[{'uuid':_0x44000a,'timestamp':_0x105566,'kind':_0x3ac9d4,'level':_0x559a03[_0x530096(0x15e)]||_0x12a754[_0x530096(0x23c)],'message':_0x505ef1}],GrpcClient[_0x530096(0x254)]()['logCreatedEvent'](_0x3924bc);}catch(_0x267b54){_0x12a754[_0x530096(0x24f)](debug,_0x12a754[_0x530096(0x18f)](_0x12a754[_0x530096(0x198)],_0x267b54));}else{const _0x4de3f9={};_0x4de3f9[_0x530096(0x173)]=_0x44000a,_0x4de3f9[_0x530096(0x20b)]=_0x105566,_0x4de3f9[_0x530096(0x15e)]=_0x559a03['level']||null,_0x4de3f9[_0x530096(0x1ab)]=_0x559a03[_0x530096(0x1ab)]||null,_0x4de3f9[_0x530096(0x1d4)]=_0x3ac9d4,_0x4de3f9[_0x530096(0x174)]=_0x559a03[_0x530096(0x174)]||{};const _0x208d1e={};_0x208d1e[_0x530096(0x248)]=_0x12a754[_0x530096(0x1ac)],_0x208d1e[_0x530096(0x1e1)]=[_0x4de3f9],SessionHandler['uploadEventData'](_0x208d1e);}}function BrowserStackNewmanReporter(_0x1870db,_0x1ce3e0,_0x2c35a6){const _0x41cfa9=a44_0x376db0,_0x269759={'xOHgs':function(_0x356b56,_0x2371fb,_0x41b62d){return _0x356b56(_0x2371fb,_0x41b62d);},'ikjXG':function(_0x299dc2,_0x28e4bf){return _0x299dc2(_0x28e4bf);},'xtCcd':function(_0x1d622f,_0x49e86e){return _0x1d622f>_0x49e86e;},'HUyNJ':function(_0x9b664d,_0x16ab38){return _0x9b664d(_0x16ab38);},'yAXLK':'http','SRsdN':function(_0x592072,_0x1d46f4){return _0x592072+_0x1d46f4;},'PiRPc':_0x41cfa9(0x1bd),'NrZgQ':function(_0x2944a2,_0x265764){return _0x2944a2(_0x265764);},'ISjZn':function(_0xac6227,_0x57868e,_0x3d0fe6){return _0xac6227(_0x57868e,_0x3d0fe6);},'twSBL':'TEST_LOG','XKgvD':function(_0xd1b522){return _0xd1b522();},'YBBAz':function(_0xc5402,_0x3e0881){return _0xc5402||_0x3e0881;},'pKzTq':function(_0x18265a,_0x9f70a1,_0x47697d,_0x2fd454,_0x1bd665,_0x325ab2){return _0x18265a(_0x9f70a1,_0x47697d,_0x2fd454,_0x1bd665,_0x325ab2);},'JogSh':function(_0x5ea432,_0x4fac32){return _0x5ea432===_0x4fac32;},'EXiKM':function(_0x9d8036,_0x340e78,_0x541635){return _0x9d8036(_0x340e78,_0x541635);},'IbiiM':_0x41cfa9(0x22e),'sDDjL':function(_0x1a5032,_0x5c59cc){return _0x1a5032+_0x5c59cc;},'sUrmo':function(_0x15a9c0,_0x4601f1){return _0x15a9c0+_0x4601f1;},'Gxnzn':function(_0x5120b8,_0x57f08e){return _0x5120b8+_0x57f08e;},'DuLwj':function(_0x591b43,_0x5e6820){return _0x591b43+_0x5e6820;},'TkzCy':function(_0x106f61,_0x290be2){return _0x106f61+_0x290be2;},'CkTBN':function(_0x411eb7,_0x3cd5e1){return _0x411eb7+_0x3cd5e1;},'Luedy':_0x41cfa9(0x1fb),'TnOrw':_0x41cfa9(0x24e),'urcBl':_0x41cfa9(0x21d),'lzWLi':function(_0x4f7e27,_0x4da5b6){return _0x4f7e27(_0x4da5b6);},'QsotF':function(_0x216d4a,_0x36b19d){return _0x216d4a-_0x36b19d;},'fwgwH':function(_0xc5a47b,_0xbbdb34,_0xd68e94){return _0xc5a47b(_0xbbdb34,_0xd68e94);},'oWqNd':function(_0x5cc825,_0x11e8a0){return _0x5cc825(_0x11e8a0);},'Aeuwy':function(_0x1a0a46,_0x4e3b05){return _0x1a0a46(_0x4e3b05);},'IjBRp':function(_0x4f01eb,_0x4a2527){return _0x4f01eb(_0x4a2527);},'goraZ':function(_0x3dc700,_0x11bdb1){return _0x3dc700&&_0x11bdb1;},'aKEgW':function(_0x150bd2,_0x13df24){return _0x150bd2-_0x13df24;},'svJEF':function(_0x4ab333,_0x3f5fa3,_0x1df306){return _0x4ab333(_0x3f5fa3,_0x1df306);},'JVrFE':_0x41cfa9(0x1ef),'PgeAi':_0x41cfa9(0x1a7),'OIMGA':_0x41cfa9(0x255),'XNbHt':function(_0x2b0be3,_0x68ff6b){return _0x2b0be3-_0x68ff6b;},'lQrCz':_0x41cfa9(0x1e7),'MGGYy':function(_0x1b2051,_0x5ce735){return _0x1b2051+_0x5ce735;},'sBqgj':function(_0xb4a917,_0x37fc5a){return _0xb4a917+_0x37fc5a;},'KVmaF':function(_0x2d42f4,_0xb99159){return _0x2d42f4+_0xb99159;},'MpjQG':_0x41cfa9(0x203),'OdpTI':_0x41cfa9(0x1a2),'kHROt':function(_0x15189f,_0x469542){return _0x15189f+_0x469542;},'UyEhJ':_0x41cfa9(0x1c1),'JVoaL':_0x41cfa9(0x244),'YifZO':'passed','vevJF':function(_0x25e59f,_0xf61c03){return _0x25e59f===_0xf61c03;},'HrFeK':'AssertionError','bzdRM':'assert','rXUAZ':_0x41cfa9(0x217),'JsKSQ':function(_0xc3d462,_0x83c424){return _0xc3d462-_0x83c424;},'ZAfQF':function(_0x334e4b,_0xe39a22){return _0x334e4b>_0xe39a22;},'JkJZT':function(_0x56b848,_0x4b3906){return _0x56b848!=_0x4b3906;},'CakMM':function(_0x42ebb8,_0x5b576b){return _0x42ebb8>=_0x5b576b;},'YFlfG':function(_0x484dcc,_0x3068e3){return _0x484dcc<_0x3068e3;},'xtpok':_0x41cfa9(0x249),'suZGx':_0x41cfa9(0x193),'WnaIX':function(_0x11c6c5,_0x2ada92,_0x5745ee){return _0x11c6c5(_0x2ada92,_0x5745ee);},'cDENT':function(_0x1e2fd0,_0x1e2243){return _0x1e2fd0+_0x1e2243;},'azhid':function(_0x12f3f6,_0x54efe9){return _0x12f3f6+_0x54efe9;},'oTFbq':function(_0x595fc4,_0x3f1e51){return _0x595fc4+_0x3f1e51;},'vPMgM':function(_0x28633d,_0x14cb5f,_0x3e3d8b){return _0x28633d(_0x14cb5f,_0x3e3d8b);},'gYqDF':_0x41cfa9(0x225),'ExbWk':_0x41cfa9(0x237),'EbMmo':function(_0x467ce3,_0x26c7e8,_0x548284,_0x45dcde,_0x4ce556,_0x4eb34d){return _0x467ce3(_0x26c7e8,_0x548284,_0x45dcde,_0x4ce556,_0x4eb34d);},'DgrzW':function(_0x17c4a3,_0x50d32e,_0x434b9d){return _0x17c4a3(_0x50d32e,_0x434b9d);},'nVKON':function(_0x92b208,_0x27e665){return _0x92b208(_0x27e665);},'YwPUL':_0x41cfa9(0x204),'qPwHQ':_0x41cfa9(0x1c2),'HvhpZ':_0x41cfa9(0x1ec),'cJmss':'request','LWkDO':'assertion','wLinF':_0x41cfa9(0x191),'IDesO':_0x41cfa9(0x222),'bdZxw':_0x41cfa9(0x190),'Puhso':_0x41cfa9(0x17b)},_0x314997=new Map();let _0x490aa5=null,_0x339128=0x0;const _0x5101ec=_0x269759['DgrzW'](resolveCollectionFile,_0x2c35a6,_0x1ce3e0),_0x8ccb51=_0x269759[_0x41cfa9(0x16f)](resolveCollectionName,_0x2c35a6)||_0x5101ec,_0x36b7fb=path['resolve'](_0x5101ec),_0x5759bd=_0x41cfa9(0x224)+process[_0x41cfa9(0x201)],_0x1f7bed=_0x4715fc=>{const _0x58fede=_0x41cfa9;try{_0x490aa5&&_0x269759['xOHgs'](emitLog,_0x490aa5,_0x4715fc);}catch(_0x285b64){_0x269759[_0x58fede(0x223)](debug,_0x58fede(0x1be)+_0x285b64);}};process['on'](_0x5759bd,_0x1f7bed),_0x1870db['on'](_0x269759[_0x41cfa9(0x1c7)],()=>{const _0x359081=_0x41cfa9;process[_0x359081(0x221)](_0x5759bd,_0x1f7bed),_0x314997[_0x359081(0x200)]();}),_0x1870db['on'](_0x269759[_0x41cfa9(0x219)],(_0x3ecce2,_0x4f6173)=>{const _0x6e8fb=_0x41cfa9;_0x4f6173&&_0x4f6173[_0x6e8fb(0x18a)]&&(_0x339128=_0x4f6173['cursor'][_0x6e8fb(0x24d)]||0x0);}),_0x1870db['on'](_0x269759[_0x41cfa9(0x199)],(_0x49f3ff,_0x23fb47)=>{const _0x12f2b0=_0x41cfa9;try{_0x490aa5=null;const _0x2fb0dd=_0x23fb47[_0x12f2b0(0x17b)],_0xedf574=_0x2fb0dd[_0x12f2b0(0x194)]()?_0x269759[_0x12f2b0(0x223)](getParentTitles,_0x2fb0dd['parent']()):[],_0x782753=_0x269759[_0x12f2b0(0x20a)](_0xedf574[_0x12f2b0(0x19d)],0x1)?_0xedf574['slice'](0x1):_0xedf574,_0xa08e8d=_0x23fb47['cursor']&&_0x23fb47['cursor']['ref'],_0x4cc1ab={'itemName':_0x2fb0dd[_0x12f2b0(0x234)],'scopes':_0x782753[_0x12f2b0(0x251)]([_0x2fb0dd[_0x12f2b0(0x234)]]),'location':_0x5101ec,'collectionName':_0x8ccb51,'startedAt':new Date()[_0x12f2b0(0x18b)](),'startTimestamp':Date['now'](),'lastResponseCode':null,'httpLog':null,'assertions':[],'bufferedLogs':[]};_0x314997[_0x12f2b0(0x192)](_0x2fb0dd['id']+'_'+_0x339128,_0x4cc1ab),_0xa08e8d&&_0x314997['set'](_0xa08e8d+'_'+_0x339128,_0x4cc1ab);}catch(_0x13a491){_0x269759[_0x12f2b0(0x18e)](debug,'[Newman\x20Reporter]\x20Error\x20in\x20beforeItem:\x20'+_0x13a491);}}),_0x1870db['on'](_0x269759['cJmss'],(_0x2f746a,_0x34c502)=>{const _0x29a70b=_0x41cfa9;try{if(!_0x34c502||!_0x34c502[_0x29a70b(0x17b)])return;const _0x57640b=_0x314997[_0x29a70b(0x232)](_0x34c502[_0x29a70b(0x17b)]['id']+'_'+_0x339128);if(!_0x57640b)return;_0x34c502[_0x29a70b(0x189)]&&(_0x57640b[_0x29a70b(0x15f)]=_0x34c502[_0x29a70b(0x189)][_0x29a70b(0x220)]||null);if(!_0x34c502['request'])return;let _0x2f6b93='',_0x515a5c='';if(_0x34c502[_0x29a70b(0x1ba)][_0x29a70b(0x1b7)])try{const _0xc4821f=_0x34c502[_0x29a70b(0x1ba)]['url'][_0x29a70b(0x1de)](),_0xcefff8=new URL(_0xc4821f['startsWith'](_0x269759['yAXLK'])?_0xc4821f:_0x29a70b(0x16e)+_0xc4821f);_0x2f6b93=_0xcefff8[_0x29a70b(0x23e)],_0x515a5c=_0x269759[_0x29a70b(0x209)](_0xcefff8[_0x29a70b(0x24b)],_0xcefff8['search']);}catch(_0x4efd8d){_0x515a5c=_0x34c502[_0x29a70b(0x1ba)][_0x29a70b(0x1b7)][_0x29a70b(0x1de)]();}const _0x2b28c0={};_0x2b28c0[_0x29a70b(0x1c9)]=_0x2f6b93,_0x2b28c0['path']=_0x515a5c,_0x2b28c0[_0x29a70b(0x1f1)]=_0x34c502[_0x29a70b(0x1ba)][_0x29a70b(0x1f1)]||_0x269759['PiRPc'],_0x2b28c0[_0x29a70b(0x172)]={},_0x2b28c0[_0x29a70b(0x1a4)]=_0x34c502[_0x29a70b(0x189)]?_0x34c502['response'][_0x29a70b(0x220)]||0x0:0x0,_0x2b28c0[_0x29a70b(0x166)]=_0x34c502[_0x29a70b(0x189)]?_0x34c502[_0x29a70b(0x189)][_0x29a70b(0x213)]||0x0:0x0,_0x57640b[_0x29a70b(0x242)]=_0x2b28c0;}catch(_0xa91e9c){_0x269759[_0x29a70b(0x164)](debug,'[Newman\x20Reporter]\x20Error\x20in\x20request:\x20'+_0xa91e9c);}}),_0x1870db['on'](_0x269759[_0x41cfa9(0x250)],(_0x56aed,_0x32d358)=>{const _0xfe07eb=_0x41cfa9;try{if(!_0x32d358||!_0x32d358[_0xfe07eb(0x17b)])return;const _0x49c19c=_0x314997[_0xfe07eb(0x232)](_0x32d358[_0xfe07eb(0x17b)]['id']+'_'+_0x339128);if(!_0x49c19c)return;const _0x482226=_0x32d358['assertion']||_0xfe07eb(0x1f7)+_0x269759[_0xfe07eb(0x209)](_0x49c19c[_0xfe07eb(0x216)][_0xfe07eb(0x19d)],0x1),_0xd44666=_0x269759['XKgvD'](uuidv4),_0x49b18f=_0x49c19c[_0xfe07eb(0x20d)][_0xfe07eb(0x251)]([_0x482226])[_0xfe07eb(0x1eb)]('\x20');_0x49c19c[_0xfe07eb(0x216)][_0xfe07eb(0x238)]({'uuid':_0xd44666,'name':_0x482226,'identifier':_0x49b18f,'err':_0x269759[_0xfe07eb(0x196)](_0x56aed,null)});const _0x5b7ebd={};_0x5b7ebd[_0xfe07eb(0x1c3)]=_0xd44666,_0x5b7ebd[_0xfe07eb(0x234)]=_0x482226,_0x5b7ebd[_0xfe07eb(0x236)]=_0x49b18f,_0x269759[_0xfe07eb(0x184)](emitTest,HookState['PRE'],_0x5b7ebd,_0x49c19c,_0x36b7fb,{});_0x269759[_0xfe07eb(0x1cc)](_0x49c19c[_0xfe07eb(0x216)][_0xfe07eb(0x19d)],0x1)&&_0x269759[_0xfe07eb(0x20a)](_0x49c19c[_0xfe07eb(0x1b1)][_0xfe07eb(0x19d)],0x0)&&(_0x49c19c['bufferedLogs'][_0xfe07eb(0x17c)](_0x1c386a=>{const _0x26ce5a=_0xfe07eb;_0x269759['ISjZn'](emitLog,_0xd44666,{'kind':_0x269759['twSBL'],'message':_0x1c386a[_0x26ce5a(0x1ab)],'level':_0x1c386a[_0x26ce5a(0x15e)]});}),_0x49c19c[_0xfe07eb(0x1b1)]=[]);if(_0x49c19c[_0xfe07eb(0x242)]){_0x269759[_0xfe07eb(0x1bb)](emitLog,_0xd44666,{'kind':_0x269759[_0xfe07eb(0x162)],'http_response':_0x49c19c['httpLog']});const _0x63fb61=_0x269759[_0xfe07eb(0x187)](_0x269759['sUrmo'](_0x269759['sDDjL'](_0x269759[_0xfe07eb(0x170)](_0x269759[_0xfe07eb(0x1d7)](_0x269759['TkzCy'](_0x269759[_0xfe07eb(0x1d7)](_0x269759[_0xfe07eb(0x1d3)](_0x49c19c[_0xfe07eb(0x242)][_0xfe07eb(0x1f1)]||_0x269759[_0xfe07eb(0x252)],'\x20'),_0x49c19c['httpLog'][_0xfe07eb(0x1c9)]),_0x49c19c[_0xfe07eb(0x242)][_0xfe07eb(0x1fe)]),_0x269759['Luedy']),_0x49c19c[_0xfe07eb(0x242)][_0xfe07eb(0x1a4)]),'\x20('),_0x49c19c[_0xfe07eb(0x242)][_0xfe07eb(0x166)]),_0x269759[_0xfe07eb(0x206)]);_0x269759[_0xfe07eb(0x1ea)](emitLog,_0xd44666,{'kind':_0x269759['twSBL'],'message':_0x63fb61,'level':_0x269759[_0xfe07eb(0x1e3)]});}_0x490aa5=_0xd44666;}catch(_0x40b1e4){_0x269759[_0xfe07eb(0x245)](debug,_0xfe07eb(0x21f)+_0x40b1e4);}}),_0x1870db['on'](_0x269759[_0x41cfa9(0x16a)],(_0x491bfd,_0x1a1514)=>{const _0x4dca38=_0x41cfa9;try{if(!_0x1a1514)return;let _0xb62982=_0x490aa5;if(!_0xb62982&&_0x1a1514[_0x4dca38(0x18a)]&&_0x1a1514['cursor'][_0x4dca38(0x195)]){const _0x2f9286=_0x314997[_0x4dca38(0x232)](_0x1a1514['cursor'][_0x4dca38(0x195)]+'_'+_0x339128);_0x2f9286&&_0x269759[_0x4dca38(0x20a)](_0x2f9286['assertions'][_0x4dca38(0x19d)],0x0)&&(_0xb62982=_0x2f9286[_0x4dca38(0x216)][_0x269759['QsotF'](_0x2f9286[_0x4dca38(0x216)][_0x4dca38(0x19d)],0x1)][_0x4dca38(0x1c3)]);}const _0x3a8400=_0x1a1514[_0x4dca38(0x1b6)]?_0x1a1514['messages']['join'](',\x20'):'';if(_0xb62982)_0x269759[_0x4dca38(0x1c6)](emitLog,_0xb62982,{'kind':_0x269759[_0x4dca38(0x1e9)],'message':_0x3a8400,'level':_0x269759[_0x4dca38(0x17e)](normalizeLogLevel,_0x1a1514[_0x4dca38(0x15e)])});else{if(_0x1a1514[_0x4dca38(0x18a)]&&_0x1a1514[_0x4dca38(0x18a)][_0x4dca38(0x195)]){const _0x3a8165=_0x314997['get'](_0x1a1514[_0x4dca38(0x18a)][_0x4dca38(0x195)]+'_'+_0x339128);_0x3a8165&&_0x3a8165['bufferedLogs'][_0x4dca38(0x238)]({'timestamp':new Date()[_0x4dca38(0x18b)](),'level':_0x269759[_0x4dca38(0x1cf)](normalizeLogLevel,_0x1a1514[_0x4dca38(0x15e)]),'message':_0x3a8400});}}}catch(_0x109288){_0x269759[_0x4dca38(0x1d6)](debug,'[Newman\x20Reporter]\x20Error\x20in\x20console:\x20'+_0x109288);}}),_0x1870db['on'](_0x269759['IDesO'],(_0x2908d1,_0x2b5382)=>{const _0x1a2b76=_0x41cfa9;try{if(!_0x2908d1&&(!_0x2b5382||!_0x2b5382[_0x1a2b76(0x1a1)]))return;const _0x59ec67=_0x2908d1||_0x2b5382[_0x1a2b76(0x1a1)],_0x17c3df=_0x59ec67[_0x1a2b76(0x1ab)]||_0x269759[_0x1a2b76(0x1cf)](String,_0x59ec67),_0x50e6a3=_0x59ec67[_0x1a2b76(0x169)]||_0x17c3df;let _0x48e67a=_0x490aa5;if(_0x269759[_0x1a2b76(0x17f)](!_0x48e67a,_0x2b5382)&&_0x2b5382[_0x1a2b76(0x18a)]&&_0x2b5382[_0x1a2b76(0x18a)][_0x1a2b76(0x195)]){const _0xe7d198=_0x314997[_0x1a2b76(0x232)](_0x2b5382[_0x1a2b76(0x18a)][_0x1a2b76(0x195)]+'_'+_0x339128);_0xe7d198&&_0x269759[_0x1a2b76(0x20a)](_0xe7d198[_0x1a2b76(0x216)][_0x1a2b76(0x19d)],0x0)&&(_0x48e67a=_0xe7d198[_0x1a2b76(0x216)][_0x269759[_0x1a2b76(0x165)](_0xe7d198['assertions']['length'],0x1)][_0x1a2b76(0x1c3)]);}_0x48e67a&&_0x269759[_0x1a2b76(0x1f3)](emitLog,_0x48e67a,{'kind':_0x269759[_0x1a2b76(0x1e9)],'message':_0x269759[_0x1a2b76(0x1d7)](_0x269759[_0x1a2b76(0x231)],_0x50e6a3),'level':_0x269759[_0x1a2b76(0x15d)]});}catch(_0x5316cb){_0x269759[_0x1a2b76(0x18e)](debug,_0x269759[_0x1a2b76(0x170)](_0x269759['OIMGA'],_0x5316cb));}}),_0x1870db['on'](_0x269759[_0x41cfa9(0x168)],(_0x464a98,_0x394f5a)=>{const _0x2c0051=_0x41cfa9;try{if(!_0x394f5a||!_0x394f5a['execution'])return;let _0x21d561=_0x490aa5;if(!_0x21d561&&_0x394f5a[_0x2c0051(0x18a)]&&_0x394f5a['cursor']['ref']){const _0x3429e9=_0x314997[_0x2c0051(0x232)](_0x394f5a[_0x2c0051(0x18a)][_0x2c0051(0x195)]+'_'+_0x339128);_0x3429e9&&_0x269759[_0x2c0051(0x20a)](_0x3429e9['assertions']['length'],0x0)&&(_0x21d561=_0x3429e9[_0x2c0051(0x216)][_0x269759[_0x2c0051(0x1f5)](_0x3429e9[_0x2c0051(0x216)]['length'],0x1)][_0x2c0051(0x1c3)]);}if(!_0x21d561)return;const _0x1f41df=_0x394f5a['event']&&_0x394f5a[_0x2c0051(0x241)][_0x2c0051(0x253)]||_0x269759[_0x2c0051(0x1f6)];_0x464a98&&_0x269759['fwgwH'](emitLog,_0x21d561,{'kind':_0x269759['twSBL'],'message':_0x269759[_0x2c0051(0x1bc)](_0x269759['sBqgj'](_0x269759[_0x2c0051(0x1df)](_0x269759['MpjQG'],_0x1f41df),_0x269759[_0x2c0051(0x1ee)]),_0x464a98[_0x2c0051(0x1ab)]||_0x464a98),'level':_0x269759['PgeAi']});}catch(_0x4ed4a9){_0x269759[_0x2c0051(0x245)](debug,_0x269759[_0x2c0051(0x19f)](_0x269759[_0x2c0051(0x178)],_0x4ed4a9));}}),_0x1870db['on'](_0x269759[_0x41cfa9(0x226)],(_0x38941e,_0x2b2164)=>{const _0x599b97=_0x41cfa9;try{if(!_0x2b2164||!_0x2b2164[_0x599b97(0x17b)])return;const _0x46b309=_0x2b2164[_0x599b97(0x17b)]['id']+'_'+_0x339128,_0x3d0895=_0x314997[_0x599b97(0x232)](_0x46b309);if(!_0x3d0895)return;const _0x10ddc0=new Date(),_0x17ed20=_0x269759['JsKSQ'](_0x10ddc0[_0x599b97(0x212)](),_0x3d0895['startTimestamp']);if(_0x269759[_0x599b97(0x21e)](_0x3d0895[_0x599b97(0x216)][_0x599b97(0x19d)],0x0))_0x3d0895[_0x599b97(0x216)][_0x599b97(0x17c)](_0x270b13=>{const _0x353269=_0x599b97,_0x64ed49=!!_0x270b13[_0x353269(0x1ad)],_0x341eb2={'finishedAt':_0x10ddc0['toISOString'](),'durationMs':_0x17ed20,'result':_0x64ed49?_0x269759['JVoaL']:_0x269759[_0x353269(0x1db)]};_0x64ed49&&(_0x341eb2[_0x353269(0x240)]=_0x270b13[_0x353269(0x1ad)][_0x353269(0x1ab)]||'',_0x341eb2[_0x353269(0x23d)]=_0x269759[_0x353269(0x1a8)](_0x270b13[_0x353269(0x1ad)][_0x353269(0x234)],_0x269759[_0x353269(0x16d)])||_0x270b13[_0x353269(0x1ad)][_0x353269(0x1ab)]&&_0x270b13[_0x353269(0x1ad)]['message']['includes'](_0x269759[_0x353269(0x22f)])?_0x269759['HrFeK']:_0x269759['rXUAZ'],_0x341eb2[_0x353269(0x1fa)]=[{'backtrace':_0x270b13['err']['stack']?_0x270b13['err']['stack'][_0x353269(0x19b)]('\x0a'):[_0x270b13[_0x353269(0x1ad)][_0x353269(0x1ab)]||''],'expanded':[]}]),_0x269759['pKzTq'](emitTest,HookState['POST'],_0x270b13,_0x3d0895,_0x36b7fb,_0x341eb2);});else{const _0x2e3b92=_0x269759[_0x599b97(0x1ed)](uuidv4),_0x4d8145=_0x3d0895[_0x599b97(0x15f)],_0x1f18db=_0x269759['JkJZT'](_0x4d8145,null)&&_0x269759[_0x599b97(0x163)](_0x4d8145,0xc8)&&_0x269759[_0x599b97(0x1d1)](_0x4d8145,0x190),_0x30cad3=_0x3d0895[_0x599b97(0x160)]+_0x599b97(0x235)+_0x269759[_0x599b97(0x196)](_0x4d8145,_0x269759['xtpok'])+')',_0x9b62f4={'uuid':_0x2e3b92,'name':_0x30cad3,'identifier':_0x3d0895[_0x599b97(0x20d)][_0x599b97(0x251)]([_0x30cad3])['join']('\x20')},_0x21ffca={'finishedAt':_0x10ddc0[_0x599b97(0x18b)](),'durationMs':_0x17ed20,'result':_0x1f18db?_0x269759[_0x599b97(0x1db)]:_0x269759[_0x599b97(0x1af)]};!_0x1f18db&&(_0x21ffca[_0x599b97(0x240)]=_0x269759[_0x599b97(0x23a)](_0x4d8145,null)?_0x599b97(0x21a)+_0x4d8145+_0x599b97(0x186):_0x269759[_0x599b97(0x1b0)],_0x21ffca[_0x599b97(0x23d)]=_0x269759[_0x599b97(0x179)],_0x21ffca[_0x599b97(0x1fa)]=[{'backtrace':[_0x21ffca[_0x599b97(0x240)]],'expanded':[]}]);_0x269759[_0x599b97(0x184)](emitTest,HookState[_0x599b97(0x161)],_0x9b62f4,_0x3d0895,_0x36b7fb,{}),_0x3d0895[_0x599b97(0x1b1)][_0x599b97(0x17c)](_0x1dec7c=>{const _0x2702f3=_0x599b97;_0x269759[_0x2702f3(0x1ea)](emitLog,_0x2e3b92,{'kind':_0x269759[_0x2702f3(0x1e9)],'message':_0x1dec7c['message'],'level':_0x1dec7c['level']});});if(_0x3d0895[_0x599b97(0x242)]){_0x269759[_0x599b97(0x1cb)](emitLog,_0x2e3b92,{'kind':_0x269759[_0x599b97(0x162)],'http_response':_0x3d0895[_0x599b97(0x242)]});const _0x5980d7=_0x269759[_0x599b97(0x1f2)](_0x269759[_0x599b97(0x214)](_0x269759[_0x599b97(0x19f)](_0x269759[_0x599b97(0x233)](_0x269759[_0x599b97(0x1e2)](_0x269759[_0x599b97(0x19f)](_0x269759[_0x599b97(0x1d3)](_0x269759[_0x599b97(0x1df)](_0x3d0895[_0x599b97(0x242)][_0x599b97(0x1f1)]||_0x269759[_0x599b97(0x252)],'\x20'),_0x3d0895[_0x599b97(0x242)][_0x599b97(0x1c9)]),_0x3d0895[_0x599b97(0x242)]['path']),_0x269759['Luedy']),_0x3d0895[_0x599b97(0x242)][_0x599b97(0x1a4)]),'\x20('),_0x3d0895[_0x599b97(0x242)][_0x599b97(0x166)]),_0x269759['TnOrw']);_0x269759[_0x599b97(0x1ea)](emitLog,_0x2e3b92,{'kind':_0x269759[_0x599b97(0x1e9)],'message':_0x5980d7,'level':_0x269759[_0x599b97(0x1e3)]});}else _0x269759[_0x599b97(0x177)](emitLog,_0x2e3b92,{'kind':_0x269759['twSBL'],'message':_0x269759[_0x599b97(0x22c)](_0x269759[_0x599b97(0x170)](_0x269759[_0x599b97(0x21b)],_0x269759[_0x599b97(0x196)](_0x4d8145,_0x269759[_0x599b97(0x17a)])),_0x269759[_0x599b97(0x227)]),'level':_0x269759['urcBl']});_0x269759[_0x599b97(0x1c8)](emitTest,HookState['POST'],_0x9b62f4,_0x3d0895,_0x36b7fb,_0x21ffca);}_0x314997['delete'](_0x46b309),_0x2b2164[_0x599b97(0x18a)]&&_0x2b2164[_0x599b97(0x18a)][_0x599b97(0x195)]&&_0x314997[_0x599b97(0x229)](_0x2b2164[_0x599b97(0x18a)]['ref']+'_'+_0x339128);}catch(_0x60145a){_0x269759[_0x599b97(0x164)](debug,'[Newman\x20Reporter]\x20Error\x20in\x20item:\x20'+_0x60145a);}});}module[a44_0x376db0(0x1d9)]=BrowserStackNewmanReporter;
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,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a45_0x2eddee=a45_0x2670;(function(_0x5d3ee4,_0xac93d5){const _0x3d3563=a45_0x2670,_0x2f05e1=_0x5d3ee4();while(!![]){try{const _0x227279=parseInt(_0x3d3563(0x188))/0x1+-parseInt(_0x3d3563(0x1b0))/0x2*(-parseInt(_0x3d3563(0x1a0))/0x3)+-parseInt(_0x3d3563(0x1a7))/0x4+-parseInt(_0x3d3563(0x17f))/0x5+parseInt(_0x3d3563(0x17e))/0x6+parseInt(_0x3d3563(0x1a5))/0x7*(-parseInt(_0x3d3563(0x199))/0x8)+parseInt(_0x3d3563(0x1b2))/0x9;if(_0x227279===_0xac93d5)break;else _0x2f05e1['push'](_0x2f05e1['shift']());}catch(_0x22623e){_0x2f05e1['push'](_0x2f05e1['shift']());}}}(a45_0x432c,0xaeff7));const path=require(a45_0x2eddee(0x186)),Module=require(a45_0x2eddee(0x181)),BrowserstackCLI=require(a45_0x2eddee(0x198)),scriptFile=process[a45_0x2eddee(0x17a)][0x2],maxParallel=parseInt(process[a45_0x2eddee(0x17a)][0x3])||0x0;!scriptFile&&(process[a45_0x2eddee(0x177)][a45_0x2eddee(0x1a3)]('[Newman]\x20scriptRunner:\x20no\x20script\x20file\x20provided\x0a'),process[a45_0x2eddee(0x182)](0x1));const reporterPath=path[a45_0x2eddee(0x19b)](__dirname,a45_0x2eddee(0x19d),'index.js'),originalResolveFilename=Module[a45_0x2eddee(0x195)];Module[a45_0x2eddee(0x195)]=function(_0x1ca6d9,_0x383a69,_0x3cf6bf,_0x4ce2b3){const _0x228d45=a45_0x2eddee,_0x1496f3={};_0x1496f3[_0x228d45(0x1ad)]=function(_0x13839a,_0x3a61ff){return _0x13839a===_0x3a61ff;},_0x1496f3[_0x228d45(0x19f)]=_0x228d45(0x1a8);const _0x13bcb9=_0x1496f3;if(_0x13bcb9[_0x228d45(0x1ad)](_0x1ca6d9,_0x13bcb9[_0x228d45(0x19f)]))return reporterPath;return originalResolveFilename[_0x228d45(0x1ab)](this,_0x1ca6d9,_0x383a69,_0x3cf6bf,_0x4ce2b3);};let limit;try{const pLimit=require(a45_0x2eddee(0x18b)),concurrency=maxParallel&&maxParallel>0x0?maxParallel:Infinity;limit=pLimit(concurrency);}catch(a45_0x33a770){limit=function(_0x3364e9){const _0xb22264=a45_0x2eddee,_0x28c403={'EwMZe':function(_0x58bef8){return _0x58bef8();}};return _0x28c403[_0xb22264(0x1a4)](_0x3364e9);};}let wrappedNewman=null,hasFailure=![];const originalLoad=Module['_load'];function a45_0x2670(_0x5f2d94,_0xc5feb3){const _0x432cbf=a45_0x432c();return a45_0x2670=function(_0x2670b7,_0x27b4e6){_0x2670b7=_0x2670b7-0x177;let _0x59cd29=_0x432cbf[_0x2670b7];return _0x59cd29;},a45_0x2670(_0x5f2d94,_0xc5feb3);}Module[a45_0x2eddee(0x17d)]=function(_0x297d07,_0x26fcc8,_0x528eab){const _0x269589=a45_0x2eddee,_0x4a050d={'bBtrL':function(_0x15541a,_0x32ad04,_0x1c0d71){return _0x15541a(_0x32ad04,_0x1c0d71);},'CzwSP':function(_0x4312bc,_0x567b1a){return _0x4312bc>_0x567b1a;},'zUkPy':function(_0x4d0788,_0x58f750){return _0x4d0788||_0x58f750;},'HpCrN':function(_0x2fd303,_0x38b00b,_0x42816d){return _0x2fd303(_0x38b00b,_0x42816d);},'pFrdz':function(_0x5d2454,_0x319370){return _0x5d2454(_0x319370);},'kfiox':_0x269589(0x1af),'Hxota':function(_0x53ef14,_0x165c06){return _0x53ef14===_0x165c06;},'CEpfN':_0x269589(0x19a),'BaYpT':'string','hQjth':function(_0x550873,_0x21ceba){return _0x550873!==_0x21ceba;},'HDHIc':_0x269589(0x1ac)},_0x239cfb=originalLoad[_0x269589(0x1ab)](this,_0x297d07,_0x26fcc8,_0x528eab);if(_0x4a050d[_0x269589(0x1b5)](_0x297d07,_0x4a050d[_0x269589(0x1b3)]))return _0x239cfb;if(wrappedNewman)return wrappedNewman;const _0x4d493a=_0x239cfb[_0x269589(0x197)][_0x269589(0x18a)](_0x239cfb);return wrappedNewman=Object[_0x269589(0x18f)](_0x239cfb),wrappedNewman[_0x269589(0x197)]=function(_0x312376,_0x1f43b5){const _0x2191ea=_0x269589,_0x1415f0={'uoCyA':function(_0x3aecda,_0xac34df,_0x2a0ef3){const _0x2402cb=a45_0x2670;return _0x4a050d[_0x2402cb(0x184)](_0x3aecda,_0xac34df,_0x2a0ef3);},'UXixo':function(_0x52b4a9,_0x691be6){const _0x468d4a=a45_0x2670;return _0x4a050d[_0x468d4a(0x196)](_0x52b4a9,_0x691be6);},'zlxxW':function(_0x1f4d33,_0x1bb3a7){const _0x1bc490=a45_0x2670;return _0x4a050d[_0x1bc490(0x19e)](_0x1f4d33,_0x1bb3a7);},'Mzbvm':function(_0x3ebda8,_0x23efec,_0x53fcc6){const _0x14aea6=a45_0x2670;return _0x4a050d[_0x14aea6(0x190)](_0x3ebda8,_0x23efec,_0x53fcc6);},'UWQwE':function(_0x41cba3,_0x291e56){return _0x4a050d['pFrdz'](_0x41cba3,_0x291e56);}};let _0x3e8250=_0x312376[_0x2191ea(0x193)]||[_0x4a050d['kfiox']];_0x4a050d[_0x2191ea(0x1a2)](_0x3e8250['indexOf'](_0x4a050d[_0x2191ea(0x191)]),-0x1)&&(_0x3e8250=_0x3e8250[_0x2191ea(0x1ae)]([_0x4a050d['CEpfN']]));const _0x8fcce8=_0x4a050d[_0x2191ea(0x1a2)](typeof _0x312376[_0x2191ea(0x1aa)],_0x4a050d['BaYpT'])?_0x312376[_0x2191ea(0x1aa)]:undefined,_0x1b1817={};_0x1b1817[_0x2191ea(0x1a9)]=_0x8fcce8;const _0x44ed13=Object[_0x2191ea(0x180)]({},_0x312376[_0x2191ea(0x19d)],{'browserstack':Object[_0x2191ea(0x180)]({},_0x312376[_0x2191ea(0x19d)]&&_0x312376[_0x2191ea(0x19d)][_0x2191ea(0x19a)],_0x1b1817)}),_0xa226b7={};return _0xa226b7[_0x2191ea(0x193)]=_0x3e8250,_0xa226b7[_0x2191ea(0x19d)]=_0x44ed13,_0x312376=Object[_0x2191ea(0x180)]({},_0x312376,_0xa226b7),_0x4a050d[_0x2191ea(0x1b4)](limit,function(){const _0x16bfaa={'yISzV':function(_0x352d25,_0x151ff7){const _0xd8fe79=a45_0x2670;return _0x1415f0[_0xd8fe79(0x17b)](_0x352d25,_0x151ff7);},'yQmAJ':function(_0x3c3023,_0x2c83e9){const _0x26971c=a45_0x2670;return _0x1415f0[_0x26971c(0x189)](_0x3c3023,_0x2c83e9);},'esymY':function(_0x4349a5,_0x1dec79,_0x44ded8){const _0x486946=a45_0x2670;return _0x1415f0[_0x486946(0x194)](_0x4349a5,_0x1dec79,_0x44ded8);},'WObnh':function(_0x289abc,_0x25f029){const _0x40e87c=a45_0x2670;return _0x1415f0[_0x40e87c(0x192)](_0x289abc,_0x25f029);}};return new Promise(function(_0x2b69c5){const _0x164de7=a45_0x2670;_0x1415f0[_0x164de7(0x187)](_0x4d493a,_0x312376,function(_0x2bc752,_0x3d42bb){const _0x225cfa=_0x164de7,_0x3118e1=_0x3d42bb&&_0x3d42bb['run']&&(_0x3d42bb[_0x225cfa(0x197)][_0x225cfa(0x185)]||_0x3d42bb[_0x225cfa(0x197)][_0x225cfa(0x1a6)]&&_0x16bfaa['yISzV'](_0x3d42bb['run'][_0x225cfa(0x1a6)]['length'],0x0));_0x16bfaa[_0x225cfa(0x183)](_0x3118e1,_0x2bc752)&&(hasFailure=!![]),_0x1f43b5&&_0x16bfaa[_0x225cfa(0x1a1)](_0x1f43b5,_0x2bc752,_0x3d42bb),_0x16bfaa['WObnh'](_0x2b69c5,_0x3d42bb);});});});},wrappedNewman;};function a45_0x432c(){const _0x2b2a19=['bBtrL','error','path','uoCyA','27996xYIqkN','zlxxW','bind','p-limit','[Newman]\x20scriptRunner:\x20failed\x20to\x20load\x20script:\x20','beforeExit','message','create','HpCrN','CEpfN','UWQwE','reporters','Mzbvm','_resolveFilename','CzwSP','run','../v2/browserstackCLI','86816DVQywX','browserstack','join','bootstrap','reporter','zUkPy','WDrsn','93iaizoO','esymY','Hxota','write','EwMZe','749ynZTsU','failures','3341532pkerZc','newman-reporter-browserstack','collectionPath','collection','call','newman','BYMAY','concat','cli','51746WeOXMh','HpcRx','16624764xnSKXA','HDHIc','pFrdz','hQjth','stderr','exitCode','XKatf','argv','UXixo','fXIZD','_load','8244366uMkgao','6689890LMQWJf','assign','module','exit','yQmAJ'];a45_0x432c=function(){return _0x2b2a19;};return a45_0x432c();}async function main(){const _0x362e75=a45_0x2eddee,_0x8aea00={'lVeHg':function(_0x43abd9,_0x13daed){return _0x43abd9(_0x13daed);},'HpcRx':function(_0x1c8904,_0x3901a4){return _0x1c8904+_0x3901a4;},'BoAHN':function(_0x567a9c,_0x5a7b2f){return _0x567a9c+_0x5a7b2f;},'fXIZD':_0x362e75(0x18c)};try{await BrowserstackCLI['getInstance']()[_0x362e75(0x19c)]();}catch(_0x418daf){}try{_0x8aea00['lVeHg'](require,path['resolve'](scriptFile));}catch(_0xf0ca72){process[_0x362e75(0x177)][_0x362e75(0x1a3)](_0x8aea00[_0x362e75(0x1b1)](_0x8aea00['BoAHN'](_0x8aea00[_0x362e75(0x17c)],_0xf0ca72[_0x362e75(0x18e)]||_0xf0ca72),'\x0a')),process[_0x362e75(0x178)]=0x1;}}main(),process['on'](a45_0x2eddee(0x18d),function(){const _0x2a18ef=a45_0x2eddee;hasFailure&&(process[_0x2a18ef(0x178)]=0x1);}),process['on'](a45_0x2eddee(0x182),function(){const _0x4a43b5=a45_0x2eddee,_0x3c8772={};_0x3c8772['XKatf']=function(_0x5ac287,_0x3cc9ba){return _0x5ac287===_0x3cc9ba;};const _0x5aa5e0=_0x3c8772;hasFailure&&_0x5aa5e0[_0x4a43b5(0x179)](process[_0x4a43b5(0x178)],0x0)&&(process[_0x4a43b5(0x178)]=0x1);});
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);});
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a46_0xcd9e(_0x4a9b13,_0xb3494f){const _0x7b2a4=a46_0x7b2a();return a46_0xcd9e=function(_0xcd9e37,_0x46b66e){_0xcd9e37=_0xcd9e37-0x10b;let _0x4e57b1=_0x7b2a4[_0xcd9e37];return _0x4e57b1;},a46_0xcd9e(_0x4a9b13,_0xb3494f);}const a46_0x44712f=a46_0xcd9e;(function(_0xed60e9,_0x2ff3f6){const _0x513d45=a46_0xcd9e,_0x43edeb=_0xed60e9();while(!![]){try{const _0x53ca47=-parseInt(_0x513d45(0x115))/0x1+parseInt(_0x513d45(0x135))/0x2+parseInt(_0x513d45(0x143))/0x3+parseInt(_0x513d45(0x123))/0x4*(parseInt(_0x513d45(0x150))/0x5)+parseInt(_0x513d45(0x14e))/0x6*(-parseInt(_0x513d45(0x126))/0x7)+-parseInt(_0x513d45(0x134))/0x8+parseInt(_0x513d45(0x114))/0x9;if(_0x53ca47===_0x2ff3f6)break;else _0x43edeb['push'](_0x43edeb['shift']());}catch(_0x4b0700){_0x43edeb['push'](_0x43edeb['shift']());}}}(a46_0x7b2a,0x87207));const fs=require('fs'),path=require(a46_0x44712f(0x118)),{spawn}=require(a46_0x44712f(0x152)),logger=require('../../helpers/logger')[a46_0x44712f(0x127)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a46_0x44712f(0x11b)),constants=require(a46_0x44712f(0x11d)),getUserNightwatchConfigs=(_0x3a17a6,_0x13d96f)=>{const _0x1c0854=a46_0x44712f,_0x43926c={'eNdOM':_0x1c0854(0x11f),'PnnFz':_0x1c0854(0x116),'UCYng':function(_0x5c3072,_0xfa55ff){return _0x5c3072(_0xfa55ff);},'kxPpe':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file'};let _0x4dba86=null,_0x3a621d={};const _0x50f8e3=_0x13d96f[_0x1c0854(0x142)](_0x377298=>_0x377298===_0x1c0854(0x129)),_0xf850e2=!helper[_0x1c0854(0x13b)](_0x3a17a6[_0x1c0854(0x132)])?helper[_0x1c0854(0x148)](_0x3a17a6[_0x1c0854(0x132)]):null;!helper[_0x1c0854(0x13b)](_0x3a17a6['config'])&&!_0xf850e2&&logger[_0x1c0854(0x137)](_0x1c0854(0x11e)+_0x3a17a6[_0x1c0854(0x132)]+_0x1c0854(0x130));if(_0xf850e2&&fs[_0x1c0854(0x153)](_0xf850e2))_0x4dba86=_0xf850e2,_0x13d96f[_0x1c0854(0x156)](_0x50f8e3,0x2);else{if(fs[_0x1c0854(0x153)](path[_0x1c0854(0x119)](process[_0x1c0854(0x11a)](),_0x43926c[_0x1c0854(0x122)])))_0x4dba86=path['join'](process['cwd'](),_0x43926c[_0x1c0854(0x122)]);else fs[_0x1c0854(0x153)](path[_0x1c0854(0x119)](process[_0x1c0854(0x11a)](),_0x43926c[_0x1c0854(0x10c)]))&&(_0x4dba86=path['join'](process['cwd'](),_0x43926c['PnnFz']));}return _0x4dba86?(logger['info'](_0x1c0854(0x159)+_0x4dba86),_0x3a621d=_0x43926c[_0x1c0854(0x128)](require,_0x4dba86)):logger[_0x1c0854(0x111)](_0x43926c[_0x1c0854(0x14f)]),_0x3a621d;},removeExistingEnvs=_0x13f440=>{const _0x359592=a46_0x44712f,_0x51b3ba={};_0x51b3ba[_0x359592(0x144)]=function(_0x9cd0a3,_0x3cc02f){return _0x9cd0a3>_0x3cc02f;};const _0x4c8905=_0x51b3ba;let _0x1bc32c=_0x13f440[_0x359592(0x142)](_0x3ee14a=>_0x3ee14a===_0x359592(0x146));_0x4c8905[_0x359592(0x144)](_0x1bc32c,-0x1)&&_0x13f440[_0x359592(0x156)](_0x1bc32c,0x2),_0x1bc32c=_0x13f440[_0x359592(0x142)](_0x9eaf20=>_0x9eaf20==='-e'),_0x4c8905['HPAyt'](_0x1bc32c,-0x1)&&_0x13f440[_0x359592(0x156)](_0x1bc32c,0x2);};function run(_0x4e9777,_0x28d241,_0x2828d3){const _0x25fc51=a46_0x44712f,_0x8e51f0={'pKBuZ':_0x25fc51(0x12a),'ybOzA':function(_0x1f78a2,_0x2355d0){return _0x1f78a2+_0x2355d0;},'QOAch':_0x25fc51(0x14b),'FywXR':function(_0x405f63,_0x2a54fb,_0x313b1d){return _0x405f63(_0x2a54fb,_0x313b1d);},'QlCDA':_0x25fc51(0x10f),'hqKur':'Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','dpHUj':function(_0x447751,_0x4e5d89){return _0x447751===_0x4e5d89;},'wVWaN':'nightwatch-browserstack.json','cgakd':function(_0x5296fc,_0x2548b2){return _0x5296fc(_0x2548b2);},'cmFvd':_0x25fc51(0x136),'LjEXY':function(_0x53a7b9,_0x5dc105,_0x54806c,_0x33f6b1){return _0x53a7b9(_0x5dc105,_0x54806c,_0x33f6b1);},'UYtfD':'nightwatch.cmd','topWx':_0x25fc51(0x129),'zbwAx':'--env','PlEgr':'inherit','DMlkY':_0x25fc51(0x120)};if(!_0x2828d3['config'])return;const _0x218c0e=_0x8e51f0[_0x25fc51(0x138)](getUserNightwatchConfigs,_0x4e9777,_0x28d241),_0x1f77a0={};_0x1f77a0[_0x25fc51(0x145)]=![];const _0x184775={};_0x184775['host']=_0x8e51f0[_0x25fc51(0x14c)],_0x184775['port']=0x1bb;const _0x42708c={};_0x42708c['webdriver']=_0x1f77a0,_0x42708c[_0x25fc51(0x12e)]=_0x184775;const _0x101405=_0x42708c;logger[_0x25fc51(0x111)](_0x8e51f0['hqKur']);const _0x19a9d5={..._0x218c0e},_0x15ed3b=_0x19a9d5,_0x59d9eb=helper[_0x25fc51(0x139)](_0x2828d3[_0x25fc51(0x132)]),_0x4df21b=[];_0x2828d3[_0x25fc51(0x132)][_0x25fc51(0x14d)][_0x25fc51(0x155)]((_0x2fdb9d,_0x4619fc)=>{const _0x20dc25=_0x25fc51;_0x59d9eb?_0x4df21b[_0x20dc25(0x125)](helper['modifyBrowserStackW3CCaps'](_0x2828d3[_0x20dc25(0x132)],_0x8e51f0[_0x20dc25(0x158)],_0x4619fc)):_0x4df21b[_0x20dc25(0x125)](helper['modifyBrowserStackCaps'](_0x2828d3[_0x20dc25(0x132)],_0x8e51f0['pKBuZ'],_0x4619fc));});const _0x445b5c={},_0x118318=[];_0x4e9777[_0x25fc51(0x141)]=_0x4e9777['env']||_0x4e9777['e'];const _0x5c7347=_0x4e9777[_0x25fc51(0x141)]?_0x4e9777[_0x25fc51(0x141)][_0x25fc51(0x13e)]()[_0x25fc51(0x157)](',')['map'](_0x2b322e=>_0x2b322e['trim']())['filter'](_0x4977f6=>_0x4977f6!==''):[''];_0x8e51f0[_0x25fc51(0x11c)](_0x5c7347[_0x25fc51(0x12c)],0x0)&&_0x5c7347[_0x25fc51(0x125)]('');_0x5c7347[_0x25fc51(0x155)](_0x3daddd=>{const _0x35319d=_0x25fc51,_0x52dc0b={'gFBqJ':function(_0x16625b,_0x491962){return _0x8e51f0['ybOzA'](_0x16625b,_0x491962);},'mGadI':_0x8e51f0[_0x35319d(0x12f)]};_0x4df21b['forEach'](_0x3cd89b=>{const _0x158fbd=_0x35319d;let _0x34d17f=_0x52dc0b[_0x158fbd(0x121)](helper['getPlatformName'](_0x3cd89b,'_'),'_'+Date[_0x158fbd(0x133)]());_0x3daddd&&(_0x34d17f+='_'+_0x3daddd);if(_0x3daddd&&(!_0x218c0e[_0x52dc0b['mGadI']]||!_0x218c0e[_0x52dc0b[_0x158fbd(0x140)]][_0x3daddd]))return;const _0x559df7={..._0x101405};_0x559df7['desiredCapabilities']=_0x3cd89b;const _0x5aa430=_0x559df7;_0x445b5c[_0x34d17f]=_0x3daddd?helper[_0x158fbd(0x131)](_0x218c0e[_0x52dc0b[_0x158fbd(0x140)]][_0x3daddd],_0x5aa430):_0x5aa430,_0x118318['push'](_0x34d17f);});});!_0x15ed3b[_0x25fc51(0x14b)]&&(_0x15ed3b[_0x25fc51(0x14b)]={});_0x15ed3b[_0x25fc51(0x14b)]={..._0x15ed3b[_0x25fc51(0x14b)],..._0x445b5c};const _0x1a0775=path[_0x25fc51(0x119)](__dirname,_0x8e51f0[_0x25fc51(0x112)]);fs[_0x25fc51(0x124)](_0x1a0775,JSON[_0x25fc51(0x10d)](_0x15ed3b)),_0x8e51f0[_0x25fc51(0x151)](removeExistingEnvs,_0x28d241);const _0x59e8c8=require['resolve'](_0x8e51f0[_0x25fc51(0x12d)]),_0x1bc11b=process['env'][_0x25fc51(0x117)]||'',_0x40465a=_0x25fc51(0x13a)+JSON['stringify'](_0x59e8c8),_0x546e52=_0x1bc11b?_0x1bc11b+'\x20'+_0x40465a:_0x40465a,_0x4916ba=Object[_0x25fc51(0x113)]({},process[_0x25fc51(0x141)],{'NODE_OPTIONS':_0x546e52,'BROWSERSTACK_FRAMEWORK':process['env'][_0x25fc51(0x110)]||_0x8e51f0['pKBuZ']}),_0x135d19=_0x8e51f0['LjEXY'](spawn,/^win/[_0x25fc51(0x149)](process['platform'])?_0x8e51f0[_0x25fc51(0x14a)]:_0x8e51f0[_0x25fc51(0x158)],[_0x8e51f0[_0x25fc51(0x154)],_0x1a0775,..._0x28d241[_0x25fc51(0x147)](0x1),_0x8e51f0[_0x25fc51(0x13d)],_0x118318[_0x25fc51(0x119)](',')],{'stdio':_0x8e51f0[_0x25fc51(0x10b)],'env':_0x4916ba});_0x135d19['on'](_0x8e51f0['DMlkY'],async _0x1b22eb=>{const _0x483c1d=_0x25fc51;logger[_0x483c1d(0x13f)](_0x483c1d(0x10e)+_0x1b22eb),logger[_0x483c1d(0x111)](_0x483c1d(0x12b)+_0x1a0775),fs[_0x483c1d(0x13c)](_0x1a0775);});}function a46_0x7b2a(){const _0x1a0cd3=['Ignoring\x20--config\x20path\x20\x22','nightwatch.conf.js','close','gFBqJ','eNdOM','8SaBigA','writeFileSync','push','40117SmfoAm','winstonLogger','UCYng','--config','nightwatch','Deleting\x20','length','cmFvd','selenium','QOAch','\x22:\x20it\x20resolves\x20outside\x20the\x20project\x20directory.','mergeDeep','config','now','1178928lTtUih','510044ePsXGK','../../index','warn','FywXR','useW3C','--require\x20','isUndefined','unlinkSync','zbwAx','trim','debug','mGadI','env','findIndex','163377JcPWnh','HPAyt','start_process','--env','slice','resolveWithinCwd','test','UYtfD','test_settings','QlCDA','platforms','474vvaGZL','kxPpe','2393135MnhiMf','cgakd','child_process','existsSync','topWx','forEach','splice','split','pKBuZ','Getting\x20your\x20nightwatch\x20configs\x20from\x20','PlEgr','PnnFz','stringify','child\x20process\x20exited\x20with\x20code\x20','hub.browserstack.com','BROWSERSTACK_FRAMEWORK','info','wVWaN','assign','4305168elviAp','591493WIkgZn','nightwatch.json','NODE_OPTIONS','path','join','cwd','../../helpers/helper','dpHUj','../utils/constants'];a46_0x7b2a=function(){return _0x1a0cd3;};return a46_0x7b2a();}module['exports']=run;
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;