browserstack-node-sdk 1.63.1 → 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
- const a41_0xfcb0af=a41_0x3189;function a41_0x3249(){const _0x30d9b3=['yHTCW','zwBfB','tRcBP','shouldScanTestForAccessibility','installAll','../../helpers/testhub/utils','bstackA11yShouldScan','aRGjF','KzpoU','PERFORM_SCAN','failed','length','isAccessibilityPlatform','autoScanning','tFQGd','FbtjZ','Failed\x20to\x20store\x20session\x20name:\x20','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','session_','gqUVD','\x20-\x20','beforeAll','../../helpers/globals','command','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','shift','driverCleanup','../../helpers/testhub/constants','nBoCe','SAVE_RESULTS','1412480maqqVy','ynEjQ','ihNJz','error','nSEZL','uFtPY','executeScript','cDgjC','https:','ObservabilitySync:','warn','ZXDMM','qkeds','titlePath','err','efXOm','juoBZ','RzuWM','DdXME','testcase','NZPKb','65766pELLBa','setGlobal','Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','fGfHq','getCurrentUrl','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','SYNC','state','__platformCaps','winstonLogger','../../helpers/accessibility-automation/accessibilityRetryHelper','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','XIQWO','finally','Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','index','11kuOOom','mYntz','bcqkV','currentTest','beforeEach','enwpQ','ZYMcK','TiGdm','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','mochaHooks','protocol','STpls','Failed:\x20','773949qoAMJJ','tNBOh','BIlDk','XkmsH','qjcZw','app','BuWXp','169694rKydiF','zmvrJ','thBuildUuid','Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','nrxpi','end','jCnWq','driver-init\x20capture\x20install\x20failed:\x20','tmQTu','qnnBw','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','isArray',',\x22level\x22:\x20\x22','PHTdI','BROWSERSTACK_TESTHUB_JWT','ieNnJ','jIrFo','AUZif','Mocha','then','testAnalyticsId','QAcsV','Accessibility\x20scan\x20completed\x20successfully','purqf','startMonitoring','gwbfI','kHQiZ','FbWan','iirfQ','__drivers','../../helpers/accessibility-automation/helper','VseiR','timeout','http:','afterTest','dkLbO','saveAccessibilityResultsWithRetry','aqeWa','push','quitCount_','mocha','BROWSERSTACK_TESTHUB_UUID','4198390kRWNUZ','percyCaptureMode','nlLhK','42AnIMbM','start','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','../../helpers/percy/utils','2038779nCHMPH','afterAll','tCJyp','YnOdH','__error_messages__','ccBtz','SDK_HOOK','ENV_VAR','__skipSessionName','sessionName','Automate\x20test\x20case\x20execution\x20has\x20started.','MpORY','env','cvahY','xCQkq','TEbNU','yNueQ','join','4ugpEhN','YJkzr','measureWrapper','iojSy','performScanWithRetry','Accessibility\x20results\x20saved\x20successfully','OzNov','tPYXb','jCitz','604940GumUQI','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','bstackA11yScanOptions','XQFqQ','bzUVW','tOImn','stringify','SESSION_STATUS','accessibilityScanStarted','thJwtToken','parse','3UJYwrW','./test-observability/mochaUtils','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','../utils/constants','__sessionFailed','GsFzI','passed','JECcY','info','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','ETXLW','getGlobal','Passed','debug','.\x20Error\x20:','iZVcT','sessionNameSet__','capabilities','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','LRHWR','\x20|\x20','SltIA','browserstackSessionName','nTfxW','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.'];a41_0x3249=function(){return _0x30d9b3;};return a41_0x3249();}(function(_0x5e1779,_0x3f7d7f){const _0x4115fa=a41_0x3189,_0xf33726=_0x5e1779();while(!![]){try{const _0x45af91=parseInt(_0x4115fa(0x17a))/0x1*(parseInt(_0x4115fa(0x1c7))/0x2)+parseInt(_0x4115fa(0x1e4))/0x3*(parseInt(_0x4115fa(0x166))/0x4)+parseInt(_0x4115fa(0x16f))/0x5+parseInt(_0x4115fa(0x150))/0x6*(parseInt(_0x4115fa(0x1eb))/0x7)+parseInt(_0x4115fa(0x1b2))/0x8+-parseInt(_0x4115fa(0x154))/0x9+-parseInt(_0x4115fa(0x14d))/0xa*(parseInt(_0x4115fa(0x1d7))/0xb);if(_0x45af91===_0x3f7d7f)break;else _0xf33726['push'](_0xf33726['shift']());}catch(_0x36f95e){_0xf33726['push'](_0xf33726['shift']());}}}(a41_0x3249,0x2b560));const util=require('util'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a41_0xfcb0af(0x141)),accessibilityRetryHelper=require(a41_0xfcb0af(0x1d1)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a41_0xfcb0af(0x17d)),{percyAutoCapture}=require(a41_0xfcb0af(0x153)),{sendPlatformDetails}=require(a41_0xfcb0af(0x17b)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require('../../helpers/helper'),PerformanceTester=require('../../helpers/performance/performance-tester'),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require('../../helpers/performance/constants'),globals=require(a41_0xfcb0af(0x1a9)),logger=require('../../helpers/logger')[a41_0xfcb0af(0x1d0)],{shouldProcessEventForTesthub}=require(a41_0xfcb0af(0x198)),testHubConstants=require(a41_0xfcb0af(0x1af));function a41_0x3189(_0x439cfc,_0xeefdef){const _0x3249af=a41_0x3249();return a41_0x3189=function(_0x31893a,_0x5d8ce4){_0x31893a=_0x31893a-0x13e;let _0x4f65ca=_0x3249af[_0x31893a];return _0x4f65ca;},a41_0x3189(_0x439cfc,_0xeefdef);}try{require('../../helpers/driverInitErrorReporter')[a41_0xfcb0af(0x197)](a41_0xfcb0af(0x14b));}catch(a41_0x5c4853){logger[a41_0xfcb0af(0x187)](a41_0xfcb0af(0x1f2)+(a41_0x5c4853&&a41_0x5c4853['message']));}exports[a41_0xfcb0af(0x1e0)]={'beforeAll'(){const _0x32818d=a41_0xfcb0af,_0x512cb9={'bBnCP':function(_0x433b6f,_0x348edb,_0x5d952c,_0xfc9c3e){return _0x433b6f(_0x348edb,_0x5d952c,_0xfc9c3e);},'nTfxW':_0x32818d(0x19d),'iirfQ':_0x32818d(0x18e),'gwbfI':function(_0x5be921,_0x27bd04,_0x4b508d){return _0x5be921(_0x27bd04,_0x4b508d);},'STpls':_0x32818d(0x180),'FbtjZ':function(_0x43ece6){return _0x43ece6();},'AejMO':function(_0xe4f7a2,_0x1cd2c4,_0x269a26){return _0xe4f7a2(_0x1cd2c4,_0x269a26);},'DGxPu':_0x32818d(0x1d6),'tPYXb':_0x32818d(0x1a8)};PerformanceTester[_0x32818d(0x203)]();const _0x330db0='browserstack internal helper hook';PerformanceTester[_0x32818d(0x168)](PerformanceSdkEvents[_0x32818d(0x15a)],()=>{const _0x50d36c=_0x32818d;global[_0x50d36c(0x158)]=[],global['__sessionFailed']=![],global[_0x50d36c(0x1ae)]=async()=>{const _0x58ab4d=_0x50d36c;let _0x14e1a7=![];try{await global[_0x58ab4d(0x140)][0x0][_0x58ab4d(0x1a5)],_0x14e1a7=!![],global[_0x58ab4d(0x17e)]?await _0x512cb9['bBnCP'](markSessionStatus,global[_0x58ab4d(0x140)][0x0],_0x512cb9[_0x58ab4d(0x191)],global['__error_messages__']['join'](_0x512cb9[_0x58ab4d(0x13f)])):await _0x512cb9[_0x58ab4d(0x204)](markSessionStatus,global[_0x58ab4d(0x140)][0x0],_0x512cb9[_0x58ab4d(0x1e2)]);}catch(_0x3f6fad){logger[_0x58ab4d(0x187)](_0x58ab4d(0x1d2)+_0x3f6fad);}global[_0x58ab4d(0x158)]=[],global[_0x58ab4d(0x17e)]=![];if(_0x14e1a7)try{try{_0x512cb9[_0x58ab4d(0x1a2)](shouldProcessEventForTesthub)&&(global[_0x58ab4d(0x140)][0x0]&&await _0x512cb9['AejMO'](sendPlatformDetails,global['__drivers'][0x0],this['currentTest']?this['currentTest'][_0x58ab4d(0x1ff)]:null));}catch(_0x461130){logger[_0x58ab4d(0x187)](_0x58ab4d(0x1ab)+_0x461130);}await global['__drivers'][0x0]['initQuit']();}catch(_0x3529a1){logger[_0x58ab4d(0x187)](_0x58ab4d(0x152)+_0x3529a1);}};},{'platform':_0x512cb9['AejMO'](nestedKeyValue,global[_0x32818d(0x1cf)],[_0x512cb9['DGxPu']]),'hookType':_0x512cb9[_0x32818d(0x16d)]})();},'beforeEach'(_0x1d40e){const _0x2f0723=a41_0xfcb0af,_0x2bd793={'QAcsV':function(_0x54230a,_0x1fee80){return _0x54230a>_0x1fee80;},'TiGdm':function(_0xb0c708,_0x565940){return _0xb0c708>_0x565940;},'tFQGd':_0x2f0723(0x1a7),'iZVcT':function(_0xb5fa78,_0x207cff,_0x1ed77d){return _0xb5fa78(_0x207cff,_0x1ed77d);},'ETXLW':function(_0xa7654c,_0x5bc3aa){return _0xa7654c===_0x5bc3aa;},'efXOm':_0x2f0723(0x199),'ynEjQ':_0x2f0723(0x171),'bzUVW':function(_0xccff03){return _0xccff03();},'fUcHA':function(_0x5ece4,_0x14be70){return _0x5ece4>_0x14be70;},'xCQkq':'isAccessibilityPlatform','DKUmZ':function(_0x1470d8,_0x215b8a){return _0x1470d8===_0x215b8a;},'pJZFN':_0x2f0723(0x144),'tOImn':function(_0x3cf2fd,_0xb5da95){return _0x3cf2fd===_0xb5da95;},'TEbNU':_0x2f0723(0x1ba),'nBoCe':_0x2f0723(0x192),'UVnZB':_0x2f0723(0x15e),'GsFzI':function(_0x4c3421){return _0x4c3421();},'NZPKb':'browserstackTestName','psIYr':_0x2f0723(0x1d6),'gqUVD':_0x2f0723(0x1db)};globals[_0x2f0723(0x1c8)](_0x2bd793[_0x2f0723(0x1c6)],this[_0x2f0723(0x1da)][_0x2f0723(0x1bf)]()[_0x2f0723(0x165)](_0x2bd793[_0x2f0723(0x1a1)])),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x2f0723(0x15a)],()=>{const _0x40cc51=_0x2f0723,_0x4a62db={'cDgjC':function(_0x2d6ef1){const _0x690194=a41_0x3189;return _0x2bd793[_0x690194(0x17f)](_0x2d6ef1);}},_0x148c68='browserstack internal helper hook';new Promise(async _0x5776c2=>{const _0x4fca8d=a41_0x3189;let _0x4bc32f=!![];try{_0x2bd793[_0x4fca8d(0x200)](global[_0x4fca8d(0x140)][_0x4fca8d(0x19e)],0x1)&&(await global[_0x4fca8d(0x1ae)](),global['__drivers'][_0x4fca8d(0x1ad)]()),_0x2bd793[_0x4fca8d(0x1de)](global[_0x4fca8d(0x140)][0x0][_0x4fca8d(0x14a)],0x0)&&(_0x4bc32f=![],await global[_0x4fca8d(0x1ae)]());}catch(_0x205fb7){logger[_0x4fca8d(0x187)](_0x4fca8d(0x152)+_0x205fb7);}try{Array[_0x4fca8d(0x1f6)](global['__drivers'])&&global[_0x4fca8d(0x140)][0x0]&&(global['__drivers'][0x0][_0x4fca8d(0x190)]=this['currentTest']['titlePath']()[_0x4fca8d(0x165)](_0x2bd793[_0x4fca8d(0x1a1)])),global['browserstackSessionName']=this['currentTest'][_0x4fca8d(0x1bf)]()[_0x4fca8d(0x165)](_0x2bd793['tFQGd']);}catch(_0x55fa47){logger['debug'](_0x4fca8d(0x1a3)+_0x55fa47);}this['currentTest'][_0x4fca8d(0x196)]=_0x2bd793['iZVcT'](shouldScanTestForAccessibility,this['currentTest']['titlePath'](),!![]);let _0x37ba57=!![];try{const _0x537c43=JSON[_0x4fca8d(0x179)](process[_0x4fca8d(0x160)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']||'{}');_0x2bd793[_0x4fca8d(0x184)](_0x537c43[_0x4fca8d(0x1a0)],![])&&(_0x37ba57=![]);}catch(_0x5d7886){logger['debug'](_0x4fca8d(0x1c9)+_0x5d7886['message']);}const _0x3823d4=_0x37ba57&&this[_0x4fca8d(0x1da)][_0x4fca8d(0x196)];globals[_0x4fca8d(0x1c8)](_0x2bd793[_0x4fca8d(0x1c1)],_0x3823d4),globals['setGlobal'](_0x2bd793[_0x4fca8d(0x1b3)],null),this[_0x4fca8d(0x1da)]['accessibilityScanStarted']=this[_0x4fca8d(0x1da)]['shouldScanTestForAccessibility'];if(_0x2bd793[_0x4fca8d(0x173)](isAccessibilityAutomationSession)&&_0x4bc32f&&Array[_0x4fca8d(0x1f6)](global[_0x4fca8d(0x140)])&&_0x2bd793['fUcHA'](global['__drivers']['length'],0x0)&&globals['getGlobal'](_0x2bd793[_0x4fca8d(0x162)]))try{const _0x39dfd6=await global[_0x4fca8d(0x140)][0x0][_0x4fca8d(0x1a5)];if(_0x39dfd6){let _0x5b9e1a=!![];const _0x149965=await global[_0x4fca8d(0x140)][0x0][_0x4fca8d(0x1cb)]();let _0x5c7393;try{_0x5c7393=new URL(_0x149965),_0x5b9e1a=_0x2bd793['DKUmZ'](_0x5c7393[_0x4fca8d(0x1e1)],_0x2bd793['pJZFN'])||_0x2bd793[_0x4fca8d(0x174)](_0x5c7393[_0x4fca8d(0x1e1)],_0x2bd793[_0x4fca8d(0x163)]);}catch(_0x2cfcd5){_0x5b9e1a=![];}_0x5b9e1a&&(this['currentTest'][_0x4fca8d(0x196)]&&logger['info'](_0x2bd793[_0x4fca8d(0x1b0)])),this[_0x4fca8d(0x1da)][_0x4fca8d(0x177)]=this[_0x4fca8d(0x1da)][_0x4fca8d(0x196)],_0x3823d4&&logger['info'](_0x2bd793['UVnZB']);}}catch(_0x136269){logger[_0x4fca8d(0x1b5)]('Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20'+util['format'](_0x136269));}_0x2bd793[_0x4fca8d(0x17f)](_0x5776c2);})[_0x40cc51(0x1fe)](()=>{const _0x3adfac=_0x40cc51;_0x4a62db[_0x3adfac(0x1b9)](_0x1d40e);});},{'platform':_0x2bd793[_0x2f0723(0x189)](nestedKeyValue,global[_0x2f0723(0x1cf)],[_0x2bd793['psIYr']]),'hookType':_0x2bd793[_0x2f0723(0x1a6)]})();},'afterEach'(_0x547e2d){const _0x314862=a41_0xfcb0af,_0x21e0a3={'qkeds':_0x314862(0x1a7),'nrxpi':function(_0x342bae,_0x51d911){return _0x342bae!==_0x51d911;},'AxdLn':_0x314862(0x180),'uFtPY':function(_0x5b9bab,_0x5acfc7,_0x24aa07){return _0x5b9bab(_0x5acfc7,_0x24aa07);},'qnnBw':function(_0x2b68b4,_0x191646){return _0x2b68b4+_0x191646;},'Ctikr':_0x314862(0x1e3),'zHrgk':_0x314862(0x1b5),'yNueQ':_0x314862(0x186),'BIlDk':_0x314862(0x182),'tCJyp':function(_0x1cc5be,_0x37ea9b){return _0x1cc5be>_0x37ea9b;},'opQXH':function(_0x38a94c,_0x90c0f3){return _0x38a94c===_0x90c0f3;},'ieNnJ':_0x314862(0x1c5),'zwBfB':'appium:app','yyJHy':function(_0x2dd6a8,_0x444693,_0x56b150,_0x16d98c){return _0x2dd6a8(_0x444693,_0x56b150,_0x16d98c);},'YnOdH':_0x314862(0x19f),'tNBOh':_0x314862(0x183),'VBisb':_0x314862(0x199),'VAdBY':_0x314862(0x1d5),'tmQTu':_0x314862(0x145),'enwpQ':_0x314862(0x201),'RzuWM':_0x314862(0x1cc),'PHTdI':'[Accessibility]\x20Auto\x20scan\x20is\x20disabled;\x20skipping\x20final\x20scan\x20and\x20saving\x20current\x20accumulated\x20results','oHwTO':_0x314862(0x16b),'BOJis':_0x314862(0x1ee),'nlLhK':_0x314862(0x1ac),'ZYMcK':function(_0x104164){return _0x104164();},'ccBtz':function(_0x1bbdbb,_0x26d606,_0x3b821c){return _0x1bbdbb(_0x26d606,_0x3b821c);},'FjVnA':function(_0x1201a4,_0x363e1e,_0xe433fc){return _0x1201a4(_0x363e1e,_0xe433fc);},'qjcZw':'debug','kHQiZ':function(_0x2612f7){return _0x2612f7();},'VseiR':_0x314862(0x1fd),'mYntz':function(_0x16f346,_0x22e667,_0x5d600f){return _0x16f346(_0x22e667,_0x5d600f);},'bcqkV':_0x314862(0x1d6),'CsHBa':'afterEach'},_0x5b7810='browserstack internal helper hook';this['timeout'](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x21e0a3[_0x314862(0x142)]]),global[_0x314862(0x15d)]=this['currentTest'][_0x314862(0x1bf)]()[_0x314862(0x165)](_0x21e0a3['qkeds']),PerformanceTester[_0x314862(0x168)](PerformanceSdkEvents[_0x314862(0x15a)],()=>{const _0x2b9619=_0x314862,_0x610d02={'jCitz':_0x21e0a3[_0x2b9619(0x1be)],'SltIA':function(_0x523454,_0x15fd9c){const _0x38b6c7=_0x2b9619;return _0x21e0a3[_0x38b6c7(0x1ef)](_0x523454,_0x15fd9c);},'jIrFo':_0x21e0a3['AxdLn'],'XIQWO':function(_0x4222fc,_0x43d0ea,_0x68f407){const _0x510ad5=_0x2b9619;return _0x21e0a3[_0x510ad5(0x1b7)](_0x4222fc,_0x43d0ea,_0x68f407);},'AUZif':function(_0x133faf,_0x3b7624){const _0xe70bb=_0x2b9619;return _0x21e0a3[_0xe70bb(0x1f4)](_0x133faf,_0x3b7624);},'OzNov':_0x21e0a3['Ctikr'],'purqf':_0x21e0a3['zHrgk'],'BuWXp':function(_0x177813,_0x13a585,_0x5cec23){const _0x388cf9=_0x2b9619;return _0x21e0a3[_0x388cf9(0x1b7)](_0x177813,_0x13a585,_0x5cec23);},'YJkzr':_0x21e0a3[_0x2b9619(0x164)],'uGMXr':_0x21e0a3[_0x2b9619(0x1e6)],'KzpoU':function(_0x48cdb2,_0x3a7cc8){const _0x1ef1b3=_0x2b9619;return _0x21e0a3[_0x1ef1b3(0x156)](_0x48cdb2,_0x3a7cc8);},'aRGjF':function(_0x2c93b5,_0x4e2af6){return _0x21e0a3['opQXH'](_0x2c93b5,_0x4e2af6);},'cvahY':_0x21e0a3[_0x2b9619(0x1fa)],'FbWan':_0x21e0a3[_0x2b9619(0x194)],'DdXME':function(_0x50b8cd,_0x11c463,_0xf0aa2c,_0x143a63){return _0x21e0a3['yyJHy'](_0x50b8cd,_0x11c463,_0xf0aa2c,_0x143a63);},'aqeWa':_0x21e0a3[_0x2b9619(0x157)],'FOeSS':_0x21e0a3[_0x2b9619(0x1e5)],'yHTCW':_0x21e0a3['VBisb'],'fGfHq':_0x21e0a3['VAdBY'],'JECcY':_0x21e0a3[_0x2b9619(0x1f3)],'ZXDMM':_0x21e0a3[_0x2b9619(0x1dc)],'iojSy':_0x21e0a3[_0x2b9619(0x1c3)],'juoBZ':_0x21e0a3[_0x2b9619(0x1f8)],'TgedW':_0x21e0a3['oHwTO'],'qoTRD':_0x21e0a3['BOJis'],'dkLbO':_0x21e0a3[_0x2b9619(0x14f)],'zmvrJ':function(_0x400ab1){const _0x1cf9d1=_0x2b9619;return _0x21e0a3[_0x1cf9d1(0x1dd)](_0x400ab1);},'OlnLC':function(_0x3de7da,_0x31e65a,_0x2ce9ce){const _0xd7c519=_0x2b9619;return _0x21e0a3[_0xd7c519(0x159)](_0x3de7da,_0x31e65a,_0x2ce9ce);},'MpORY':function(_0x55830e){return _0x21e0a3['ZYMcK'](_0x55830e);},'MWKuI':function(_0x24d505,_0x2321a6,_0x5e87fa){return _0x21e0a3['FjVnA'](_0x24d505,_0x2321a6,_0x5e87fa);},'jCnWq':_0x21e0a3[_0x2b9619(0x1e8)],'XkmsH':function(_0x57899a){const _0x71a042=_0x2b9619;return _0x21e0a3[_0x71a042(0x205)](_0x57899a);}},_0x34d497=async(_0x3ce9b9,_0x497eb5)=>{const _0x528b5e=_0x2b9619;await global[_0x528b5e(0x140)][0x0]['executeScript']('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0x3ce9b9+_0x528b5e(0x1f7)+_0x497eb5+'\x22}}');};new Promise(async _0x11d8e6=>{const _0x5762a1=_0x2b9619;try{_0x610d02[_0x5762a1(0x19b)](global[_0x5762a1(0x140)][_0x5762a1(0x19e)],0x1)&&(await global['driverCleanup'](),global['__drivers'][_0x5762a1(0x1ad)](),global[_0x5762a1(0x158)]=[],global['__sessionFailed']=![]);try{if(global['percy']&&_0x610d02[_0x5762a1(0x19a)](global[_0x5762a1(0x14e)],_0x610d02['cvahY'])&&global[_0x5762a1(0x140)][0x0]){const _0x25a94d=_0x610d02['KzpoU'](global['capabilities']['length'],0x0)?!!global[_0x5762a1(0x18b)][0x0]['app']||!!global[_0x5762a1(0x18b)][0x0][_0x610d02[_0x5762a1(0x13e)]]:![],_0x3c63e0={};_0x3c63e0[_0x5762a1(0x1e9)]=_0x25a94d,await _0x610d02[_0x5762a1(0x1c4)](percyAutoCapture,global['__drivers'][0x0],_0x610d02[_0x5762a1(0x161)],_0x3c63e0);}}catch(_0x1026f9){logger['debug'](_0x5762a1(0x18c)+_0x1026f9);}!global[_0x5762a1(0x15c)]&&(await PerformanceTester[_0x5762a1(0x168)](PerformanceAutEvents['SESSION_NAME'],async()=>{const _0x1ad143=_0x5762a1;await global['__drivers'][0x0][_0x1ad143(0x1b8)](_0x1ad143(0x170)+JSON['stringify'](this[_0x1ad143(0x1da)]['titlePath']()['join'](_0x610d02[_0x1ad143(0x16e)]))+'}}');})(),global[_0x5762a1(0x140)][0x0][_0x5762a1(0x18a)]=!![]),await PerformanceTester[_0x5762a1(0x168)](PerformanceAutEvents[_0x5762a1(0x176)],async()=>{const _0x93a28=_0x5762a1,_0x39254b=_0x610d02[_0x93a28(0x18f)](this[_0x93a28(0x1da)][_0x93a28(0x1ce)],_0x610d02[_0x93a28(0x1fb)]);_0x39254b?(global[_0x93a28(0x17e)]=!![],global[_0x93a28(0x158)][_0x93a28(0x149)](this['currentTest'][_0x93a28(0x1c0)]['message']),await _0x610d02[_0x93a28(0x1d3)](_0x34d497,JSON[_0x93a28(0x175)](_0x610d02[_0x93a28(0x1fc)](_0x610d02[_0x93a28(0x16c)],this[_0x93a28(0x1da)][_0x93a28(0x1c0)]['message'])),_0x610d02[_0x93a28(0x202)])):await _0x610d02[_0x93a28(0x1ea)](_0x34d497,JSON['stringify'](_0x610d02[_0x93a28(0x167)]),_0x610d02['uGMXr']);})();}catch(_0x3e08c4){logger[_0x5762a1(0x187)](_0x5762a1(0x17c)+_0x3e08c4);}try{if(this['currentTest']['accessibilityScanStarted']&&globals[_0x5762a1(0x185)](_0x610d02[_0x5762a1(0x148)])){logger[_0x5762a1(0x182)](_0x610d02['FOeSS']);const _0x3a942d={};_0x3a942d['thTestRunUuid']=this[_0x5762a1(0x1da)][_0x5762a1(0x1ff)],_0x3a942d[_0x5762a1(0x1ed)]=process[_0x5762a1(0x160)][testHubConstants[_0x5762a1(0x15b)][_0x5762a1(0x14c)]],_0x3a942d[_0x5762a1(0x178)]=process[_0x5762a1(0x160)][testHubConstants['ENV_VAR'][_0x5762a1(0x1f9)]];const _0x2a1875=_0x3a942d;logger['debug'](_0x5762a1(0x1a4)+JSON[_0x5762a1(0x175)](_0x2a1875));if(globals[_0x5762a1(0x185)](_0x610d02[_0x5762a1(0x193)])){logger[_0x5762a1(0x187)](_0x610d02[_0x5762a1(0x1ca)]);const _0x5b7936={};_0x5b7936[_0x5762a1(0x1aa)]=_0x610d02[_0x5762a1(0x181)];const _0x3039df=await PerformanceTester[_0x5762a1(0x168)](PerformanceA11yEvents[_0x5762a1(0x19c)],async()=>{const _0xb52303=_0x5762a1;return await accessibilityRetryHelper[_0xb52303(0x16a)](global[_0xb52303(0x140)][0x0],global[_0xb52303(0x190)]);},_0x5b7936)();_0x3039df?logger['debug'](_0x610d02[_0x5762a1(0x1bd)]):logger[_0x5762a1(0x1bc)](_0x610d02[_0x5762a1(0x169)]);}else logger[_0x5762a1(0x187)](_0x610d02[_0x5762a1(0x1c2)]);const _0x919dce=await PerformanceTester[_0x5762a1(0x168)](PerformanceA11yEvents[_0x5762a1(0x1b1)],async()=>{const _0x436db7=_0x5762a1;return await accessibilityRetryHelper[_0x436db7(0x147)](global[_0x436db7(0x140)][0x0],_0x2a1875);})();_0x919dce?logger['debug'](_0x610d02['TgedW']):logger[_0x5762a1(0x1bc)](_0x610d02['qoTRD']),logger[_0x5762a1(0x182)](_0x610d02[_0x5762a1(0x146)]);}}catch(_0x5359f6){logger[_0x5762a1(0x1b5)](_0x5762a1(0x1df)+this['currentTest'][_0x5762a1(0x1bf)]()+_0x5762a1(0x188),_0x5359f6);}try{try{if(_0x610d02[_0x5762a1(0x1ec)](shouldProcessEventForTesthub)){global[_0x5762a1(0x140)][0x0]&&await _0x610d02['OlnLC'](sendPlatformDetails,global['__drivers'][0x0],this[_0x5762a1(0x1da)]?this[_0x5762a1(0x1da)]['testAnalyticsId']:null);if(_0x610d02[_0x5762a1(0x15f)](isBrowserstackInfra)){PerformanceTester[_0x5762a1(0x151)](PerformanceO11yEvents['SYNC']);const _0x132394=_0x5762a1(0x1bb)+Date['now']();await _0x610d02['MWKuI'](_0x34d497,JSON[_0x5762a1(0x175)](_0x132394),_0x610d02[_0x5762a1(0x1f1)]),PerformanceTester[_0x5762a1(0x1f0)](PerformanceO11yEvents[_0x5762a1(0x1cd)]);}}}catch(_0x5292e4){logger[_0x5762a1(0x187)](_0x5762a1(0x1f5)+_0x5292e4),PerformanceTester['end'](PerformanceO11yEvents[_0x5762a1(0x1cd)],![],_0x5292e4);}_0x610d02[_0x5762a1(0x19b)](global['__drivers'][0x0][_0x5762a1(0x14a)],0x0)&&await global[_0x5762a1(0x1ae)]();}catch(_0x59bb15){logger[_0x5762a1(0x187)](_0x5762a1(0x152)+_0x59bb15);}_0x610d02[_0x5762a1(0x1e7)](_0x11d8e6);})[_0x2b9619(0x1fe)](()=>{_0x610d02['zmvrJ'](_0x547e2d);});},{'platform':_0x21e0a3[_0x314862(0x1d8)](nestedKeyValue,global[_0x314862(0x1cf)],[_0x21e0a3[_0x314862(0x1d9)]]),'hookType':_0x21e0a3['CsHBa']})();},'afterAll'(_0x4b7ae7){const _0x45d55e=a41_0xfcb0af,_0x19547b={'tRcBP':function(_0x1d435b){return _0x1d435b();},'XQFqQ':function(_0x2ae4a4){return _0x2ae4a4();},'LRHWR':_0x45d55e(0x1fd),'ihNJz':function(_0x53b086,_0x449661,_0x335729){return _0x53b086(_0x449661,_0x335729);},'nSEZL':_0x45d55e(0x1d6),'xZLqJ':_0x45d55e(0x155)},_0x3edd47='browserstack internal helper hook';this[_0x45d55e(0x143)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x19547b[_0x45d55e(0x18d)]]),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x45d55e(0x15a)],()=>{const _0xb310dd=_0x45d55e;new Promise(async _0x3503c2=>{const _0x48aaa0=a41_0x3189;await global[_0x48aaa0(0x1ae)](),_0x19547b[_0x48aaa0(0x195)](_0x3503c2);})[_0xb310dd(0x1fe)]()[_0xb310dd(0x1d4)](()=>{const _0x36a772=_0xb310dd;_0x19547b[_0x36a772(0x172)](_0x4b7ae7);});},{'platform':_0x19547b[_0x45d55e(0x1b4)](nestedKeyValue,global['__platformCaps'],[_0x19547b[_0x45d55e(0x1b6)]]),'hookType':_0x19547b['xZLqJ']})();}};
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_0x503eea=a42_0x4f1f;(function(_0x2aa349,_0x4c37ad){const _0xb92f9d=a42_0x4f1f,_0x5ae4bc=_0x2aa349();while(!![]){try{const _0x12460c=parseInt(_0xb92f9d(0xe4))/0x1*(-parseInt(_0xb92f9d(0x124))/0x2)+-parseInt(_0xb92f9d(0x10d))/0x3+-parseInt(_0xb92f9d(0xb7))/0x4*(-parseInt(_0xb92f9d(0xf0))/0x5)+-parseInt(_0xb92f9d(0xe1))/0x6+-parseInt(_0xb92f9d(0xdb))/0x7+parseInt(_0xb92f9d(0xce))/0x8*(-parseInt(_0xb92f9d(0x11c))/0x9)+parseInt(_0xb92f9d(0xb5))/0xa*(parseInt(_0xb92f9d(0xea))/0xb);if(_0x12460c===_0x4c37ad)break;else _0x5ae4bc['push'](_0x5ae4bc['shift']());}catch(_0xccf1c3){_0x5ae4bc['push'](_0x5ae4bc['shift']());}}}(a42_0x352b,0x1908c));const path=require(a42_0x503eea(0xc6)),Module=require(a42_0x503eea(0x115)),{fork}=require('child_process'),logger=require(a42_0x503eea(0x109))[a42_0x503eea(0xdf)],helper=require('../../helpers/helper'),TestHubHandler=require(a42_0x503eea(0xf8)),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),{FRAMEWORKS}=require(a42_0x503eea(0x10b)),{printBuildLink}=require('../../helpers/test-observability/utils'),BrowserstackCLI=require(a42_0x503eea(0xda)),CLIUtils=require(a42_0x503eea(0xd9));function registerBrowserStackReporter(){const _0x2f6f6a=a42_0x503eea,_0x3d78b9={};_0x3d78b9[_0x2f6f6a(0x118)]=function(_0x16859a,_0x3d3f41){return _0x16859a===_0x3d3f41;},_0x3d78b9[_0x2f6f6a(0xd7)]=_0x2f6f6a(0x11d),_0x3d78b9['uhmxZ']=_0x2f6f6a(0xbb),_0x3d78b9[_0x2f6f6a(0xcf)]=_0x2f6f6a(0x127);const _0x11a397=_0x3d78b9,_0x2ac4ad=path[_0x2f6f6a(0xc1)](__dirname,_0x11a397['uhmxZ'],_0x11a397[_0x2f6f6a(0xcf)]),_0xa41af5=Module[_0x2f6f6a(0xd1)];Module['_resolveFilename']=function(_0xc40892,_0x33a977,_0x2e7956,_0x27f0b9){const _0x436200=_0x2f6f6a;if(_0x11a397[_0x436200(0x118)](_0xc40892,_0x11a397[_0x436200(0xd7)]))return _0x2ac4ad;return _0xa41af5[_0x436200(0xbc)](this,_0xc40892,_0x33a977,_0x2e7956,_0x27f0b9);};}function a42_0x4f1f(_0xb18ab4,_0x445020){const _0x352b19=a42_0x352b();return a42_0x4f1f=function(_0x4f1f54,_0x212d0d){_0x4f1f54=_0x4f1f54-0xb5;let _0x3dc96c=_0x352b19[_0x4f1f54];return _0x3dc96c;},a42_0x4f1f(_0xb18ab4,_0x445020);}function injectReporterIntoArgs(_0x278402){const _0x2a3c3e=a42_0x503eea,_0x4b4335={};_0x4b4335[_0x2a3c3e(0xbd)]=function(_0xc23128,_0x408359){return _0xc23128<_0x408359;},_0x4b4335[_0x2a3c3e(0x104)]=function(_0x15af7b,_0x346d9a){return _0x15af7b===_0x346d9a;},_0x4b4335['qktiq']=_0x2a3c3e(0xf7),_0x4b4335[_0x2a3c3e(0xfe)]=function(_0x1c886a,_0x1efba6){return _0x1c886a+_0x1efba6;},_0x4b4335[_0x2a3c3e(0xed)]='browserstack',_0x4b4335[_0x2a3c3e(0xe5)]=',browserstack',_0x4b4335['QaKya']='cli,browserstack';const _0x3ffedd=_0x4b4335,_0x11110b=_0x278402[_0x2a3c3e(0xfb)]();for(let _0x2b77ca=0x0;_0x3ffedd[_0x2a3c3e(0xbd)](_0x2b77ca,_0x11110b[_0x2a3c3e(0xef)]);_0x2b77ca++){if(_0x3ffedd['euFHH'](_0x11110b[_0x2b77ca],'-r')||_0x3ffedd[_0x2a3c3e(0x104)](_0x11110b[_0x2b77ca],_0x3ffedd[_0x2a3c3e(0xb8)]))return _0x11110b[_0x3ffedd[_0x2a3c3e(0xfe)](_0x2b77ca,0x1)]&&_0x3ffedd[_0x2a3c3e(0x104)](_0x11110b[_0x3ffedd[_0x2a3c3e(0xfe)](_0x2b77ca,0x1)][_0x2a3c3e(0xb9)](_0x3ffedd['RjcXy']),-0x1)&&(_0x11110b[_0x3ffedd[_0x2a3c3e(0xfe)](_0x2b77ca,0x1)]+=_0x3ffedd[_0x2a3c3e(0xe5)]),_0x11110b;}return _0x11110b[_0x2a3c3e(0xd8)]('-r',_0x3ffedd[_0x2a3c3e(0x10c)]),_0x11110b;}function runNewmanCLI(_0x2c0d2c){const _0x10809c=a42_0x503eea,_0xb373d4={'COkmN':function(_0x4d9373,_0x3db1c7){return _0x4d9373>_0x3db1c7;},'HoLJJ':function(_0x384f16,_0x48bb52){return _0x384f16(_0x48bb52);},'MYDSK':function(_0x4bdcf0,_0x2a0481,_0x3f7f4a){return _0x4bdcf0(_0x2a0481,_0x3f7f4a);},'NogNj':'newman','JJnAu':'Newman\x20is\x20not\x20installed.\x20Please\x20install\x20newman:\x20npm\x20install\x20newman','xVojc':function(_0x2177df,_0x5bf98b){return _0x2177df(_0x5bf98b);},'YmNIz':_0x10809c(0x115),'Fbwwt':_0x10809c(0xe3),'USTLU':_0x10809c(0x10a),'dJthB':'node','flFqa':function(_0xdee2aa,_0x16351a){return _0xdee2aa+_0x16351a;},'BietY':_0x10809c(0x11f)};return new Promise(_0x4a6c06=>{const _0x5214a1=_0x10809c,_0x239c81={'ymeES':function(_0x258d2f,_0x5459bf){const _0x441c09=a42_0x4f1f;return _0xb373d4[_0x441c09(0x120)](_0x258d2f,_0x5459bf);},'OHmNR':function(_0x108c40,_0x2b6163){return _0xb373d4['HoLJJ'](_0x108c40,_0x2b6163);},'KcOqa':function(_0x17a7b2,_0x46ac8d,_0x5b1f83){return _0xb373d4['MYDSK'](_0x17a7b2,_0x46ac8d,_0x5b1f83);}};let _0x248087;try{_0x248087=helper[_0x5214a1(0x125)](_0xb373d4['NogNj'],_0xb373d4[_0x5214a1(0xcd)]);}catch(_0x5897d1){return logger[_0x5214a1(0xfd)](_0xb373d4[_0x5214a1(0x121)]),_0xb373d4[_0x5214a1(0x106)](_0x4a6c06,0x1);}const _0x5f8628=_0x248087[_0x5214a1(0x110)];_0x248087[_0x5214a1(0x110)]=function(_0x3e740b,_0x39e16a){const _0x4d29fa=_0x5214a1;return _0x248087['run']=_0x5f8628,_0x5f8628[_0x4d29fa(0xbc)](_0x248087,_0x3e740b,(_0x5af6ad,_0x256da8)=>{const _0x5c1999=_0x4d29fa,_0x3b73e1=_0x256da8&&_0x256da8[_0x5c1999(0x110)]&&(_0x256da8[_0x5c1999(0x110)]['error']||_0x256da8[_0x5c1999(0x110)]['failures']&&_0x239c81[_0x5c1999(0xcb)](_0x256da8[_0x5c1999(0x110)]['failures']['length'],0x0));_0x239c81[_0x5c1999(0x11b)](_0x4a6c06,_0x3b73e1?0x1:0x0),_0x39e16a&&_0x239c81['KcOqa'](_0x39e16a,_0x5af6ad,_0x256da8);});};try{const _0x5299c7=_0xb373d4[_0x5214a1(0x11a)](require,_0xb373d4['YmNIz'])[_0x5214a1(0xec)](path[_0x5214a1(0xc1)](process[_0x5214a1(0xe8)](),_0xb373d4['Fbwwt']));_0xb373d4[_0x5214a1(0x11a)](_0x5299c7,_0xb373d4[_0x5214a1(0xc3)])([_0xb373d4[_0x5214a1(0x126)],_0xb373d4['NogNj']][_0x5214a1(0xfa)](_0x2c0d2c));}catch(_0x3e4bd9){_0x248087[_0x5214a1(0x110)]=_0x5f8628,logger[_0x5214a1(0xfd)](_0xb373d4[_0x5214a1(0xdd)](_0xb373d4['BietY'],_0x3e4bd9[_0x5214a1(0xd0)])),_0xb373d4['HoLJJ'](_0x4a6c06,0x1);}});}function runNewmanScript(_0x3441f9,_0x7244e3){const _0x27a672=a42_0x503eea,_0x48c6df={'cQnJN':function(_0x12e449,_0x247b2f){return _0x12e449(_0x247b2f);},'etmZJ':function(_0x4270c7,_0x2f3d5a){return _0x4270c7||_0x2f3d5a;},'HopjH':function(_0x1022ac,_0x1f01d5,_0x2609c8,_0x1f38be){return _0x1022ac(_0x1f01d5,_0x2609c8,_0x1f38be);},'lmPpL':_0x27a672(0xc9),'wexdC':function(_0x3d5b35,_0x46b809){return _0x3d5b35||_0x46b809;},'QXuBW':_0x27a672(0x128),'NxwPW':_0x27a672(0x117)};return new Promise(function(_0x3a3651){const _0x4094ec=_0x27a672,_0x3b5960={'gtLWw':function(_0x26ec71,_0x4cedb4){const _0x18a822=a42_0x4f1f;return _0x48c6df[_0x18a822(0xf9)](_0x26ec71,_0x4cedb4);},'UFDhn':function(_0x424f6e,_0x5dbca3){const _0x1da865=a42_0x4f1f;return _0x48c6df[_0x1da865(0xc8)](_0x424f6e,_0x5dbca3);}},_0x24b917=_0x48c6df['HopjH'](fork,path[_0x4094ec(0xc1)](__dirname,_0x48c6df[_0x4094ec(0xd2)]),[_0x3441f9,_0x48c6df[_0x4094ec(0xf9)](String,_0x48c6df['wexdC'](_0x7244e3,0x0))],{'stdio':_0x48c6df[_0x4094ec(0xe6)],'env':Object[_0x4094ec(0xe0)]({},process[_0x4094ec(0xf1)])});_0x24b917['on'](_0x48c6df['NxwPW'],function(_0x8d49d1){const _0x319b2b=_0x4094ec;_0x3b5960['gtLWw'](_0x3a3651,_0x3b5960[_0x319b2b(0xf4)](_0x8d49d1,0x0));});});}function hasO11yBuild(){const _0x593667=a42_0x503eea,_0xb30e7a={};_0xb30e7a[_0x593667(0x107)]=function(_0x13b253,_0x529aa5){return _0x13b253!==_0x529aa5;},_0xb30e7a[_0x593667(0x123)]=_0x593667(0x101);const _0x4a954d=_0xb30e7a;return!!(BrowserstackCLI['O11yHashedID']||process[_0x593667(0xf1)]['BROWSERSTACK_TESTHUB_JWT']&&_0x4a954d['cCNon'](process[_0x593667(0xf1)][_0x593667(0xeb)],_0x4a954d[_0x593667(0x123)]));}function runWithoutObservability(_0x9caff5,_0x7c7702){const _0x1776a9=a42_0x503eea,_0x41c0e5={'hhpUD':function(_0x7b78cb,_0x3eca59){return _0x7b78cb(_0x3eca59);},'EHiGs':function(_0x54c9b2,_0x407d1d){return _0x54c9b2(_0x407d1d);}};if(_0x9caff5)return _0x41c0e5[_0x1776a9(0x129)](require,path[_0x1776a9(0xc2)](_0x9caff5)),0x0;return _0x41c0e5['EHiGs'](runNewmanCLI,_0x7c7702);}function a42_0x352b(){const _0x438b9a=['43672gAVNQs','Adntq','message','_resolveFilename','lmPpL','exitCode','setBrowserstackConfig','testObservability','GwUZm','LftAn','push','../v2/cliUtils','../v2/browserstackCLI','601447NdVosY','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','flFqa','[Newman]\x20Test\x20Observability\x20build\x20creation\x20failed.\x20Tests\x20will\x20run\x20but\x20results\x20will\x20not\x20appear\x20on\x20the\x20BrowserStack\x20dashboard.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','winstonLogger','assign','346296DafHos','YpRij','package.json','3VvMfPh','Pkezu','QXuBW','cliConfig','cwd','uhbdr','70246UlnNJi','BROWSERSTACK_TESTHUB_JWT','createRequire','RjcXy','bootstrap','length','25BghEhC','env','NEWMAN','tTvcA','UFDhn','cMNRc','froFH','--reporters','../../helpers/testhub/testhubHandler','cQnJN','concat','slice','SAXhS','error','sLaZI','BROWSERSTACK_TEST_OBSERVABILITY_YML','VqaGG','null','PYxiO','BVHgI','euFHH','parallelsPerPlatform','HoLJJ','cCNon','[Newman]\x20Test\x20Observability\x20build\x20was\x20not\x20created.\x20No\x20build\x20link\x20available.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','../../helpers/logger','newman/bin/newman','../../helpers/test-observability/constants','QaKya','250809LsqOXX','getInstance','shutdown','run','BROWSERSTACK_AUTOMATION','SsQNg','exports','setFrameworkDetail','module','newman','close','xEVLm','.js','xVojc','OHmNR','261uaSKWv','newman-reporter-browserstack','warn','Newman\x20CLI\x20not\x20found:\x20','COkmN','JJnAu','VCojW','qyISy','44046nlkFQT','requireModule','dJthB','index.js','inherit','hhpUD','850lfwELI','Failed\x20to\x20bootstrap\x20CLI:\x20','9080SXnORA','qktiq','indexOf','stop','reporter','call','pbALN','HNpCO','ygoGj','false','join','resolve','USTLU','true','launchBuild','path','sUtzN','etmZJ','scriptRunner.js','config','ymeES','MRMhr','NogNj'];a42_0x352b=function(){return _0x438b9a;};return a42_0x352b();}module[a42_0x503eea(0x113)]=async function(_0x517ef9,_0x302b5e,_0x512a3b){const _0x2d53cd=a42_0x503eea,_0x555aea={'ygoGj':_0x2d53cd(0x119),'cMNRc':function(_0x1bbad7,_0x149dff){return _0x1bbad7===_0x149dff;},'HNpCO':_0x2d53cd(0xc0),'GwUZm':function(_0x5d5f5f,_0x5d479f,_0x249337){return _0x5d5f5f(_0x5d479f,_0x249337);},'VqaGG':function(_0x347171,_0x44fc57){return _0x347171!=_0x44fc57;},'MRMhr':_0x2d53cd(0xc4),'SsQNg':_0x2d53cd(0x116),'tTvcA':function(_0x3c87c4,_0x117f3d){return _0x3c87c4+_0x117f3d;},'BImAV':_0x2d53cd(0xb6),'YpRij':'Failed\x20to\x20launch\x20build:\x20','uhbdr':function(_0xbf7662){return _0xbf7662();},'VCojW':_0x2d53cd(0xde),'froFH':function(_0x56673b){return _0x56673b();},'SAXhS':function(_0x4e895f,_0x30daff){return _0x4e895f(_0x30daff);},'PYxiO':function(_0x5462e1,_0x264a4d){return _0x5462e1(_0x264a4d);},'sUtzN':function(_0x46fc53){return _0x46fc53();},'BVHgI':_0x2d53cd(0x108)},_0x23e9d1=_0x302b5e[_0x2d53cd(0xfb)](0x1),_0x5a0d79=_0x23e9d1[0x0]&&_0x23e9d1[0x0]['endsWith'](_0x555aea[_0x2d53cd(0xbf)])?_0x23e9d1[0x0]:null;if(!_0x512a3b[_0x2d53cd(0xca)]||_0x555aea[_0x2d53cd(0xf5)](_0x512a3b['config'][_0x2d53cd(0xd5)],![])||_0x555aea['cMNRc'](_0x512a3b[_0x2d53cd(0xca)]['testObservability'],_0x555aea[_0x2d53cd(0xbe)])){process[_0x2d53cd(0xd3)]=await _0x555aea['GwUZm'](runWithoutObservability,_0x5a0d79,_0x23e9d1)||0x0;return;}process[_0x2d53cd(0xf1)][_0x2d53cd(0x111)]=_0x555aea['HNpCO'],process[_0x2d53cd(0xf1)][_0x2d53cd(0xdc)]=_0x555aea[_0x2d53cd(0xbe)],process['env'][_0x2d53cd(0xff)]=_0x555aea[_0x2d53cd(0x100)](_0x512a3b[_0x2d53cd(0xca)]['testObservability'],null)?_0x512a3b['config'][_0x2d53cd(0xd5)]:_0x555aea[_0x2d53cd(0xcc)],CLIUtils[_0x2d53cd(0x114)](_0x555aea['SsQNg'],_0x555aea[_0x2d53cd(0x112)]),BrowserstackCLI[_0x2d53cd(0x10e)]()[_0x2d53cd(0xd4)](_0x512a3b[_0x2d53cd(0xca)],_0x512a3b['configPath'],_0x512a3b[_0x2d53cd(0xe7)]);try{await BrowserstackCLI[_0x2d53cd(0x10e)]()[_0x2d53cd(0xee)]();}catch(_0x5612e5){logger[_0x2d53cd(0xfd)](_0x555aea[_0x2d53cd(0xf3)](_0x555aea['BImAV'],_0x5612e5[_0x2d53cd(0xd0)]||_0x5612e5));}if(!BrowserstackCLI[_0x2d53cd(0x10e)]()['isRunning']())try{await TestHubHandler[_0x2d53cd(0xc5)](FRAMEWORKS[_0x2d53cd(0xf2)],_0x512a3b);}catch(_0x1af1e0){logger[_0x2d53cd(0xfd)](_0x555aea[_0x2d53cd(0xf3)](_0x555aea[_0x2d53cd(0xe2)],_0x1af1e0[_0x2d53cd(0xd0)]||_0x1af1e0));}!_0x555aea[_0x2d53cd(0xe9)](hasO11yBuild)&&logger[_0x2d53cd(0x11e)](_0x555aea[_0x2d53cd(0x122)]);_0x555aea[_0x2d53cd(0xf6)](registerBrowserStackReporter);let _0x3b772b;_0x5a0d79?_0x3b772b=await _0x555aea[_0x2d53cd(0xd6)](runNewmanScript,_0x5a0d79,_0x512a3b[_0x2d53cd(0xca)][_0x2d53cd(0x105)]):_0x3b772b=await _0x555aea[_0x2d53cd(0xfc)](runNewmanCLI,_0x555aea[_0x2d53cd(0x102)](injectReporterIntoArgs,_0x23e9d1));try{await TestHubHandler[_0x2d53cd(0xba)]();}catch(_0xcc6041){}try{await BrowserstackCLI[_0x2d53cd(0x10e)]()[_0x2d53cd(0xba)]();}catch(_0x147ee0){}try{await RequestQueueHandler[_0x2d53cd(0x10e)]()[_0x2d53cd(0x10f)]();}catch(_0xaf3ba9){}if(_0x555aea[_0x2d53cd(0xc7)](hasO11yBuild))try{_0x555aea[_0x2d53cd(0xe9)](printBuildLink);}catch(_0x345af9){}else logger[_0x2d53cd(0x11e)](_0x555aea[_0x2d53cd(0x103)]);process['exitCode']=_0x3b772b;};
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_0x732665=a43_0x6322;(function(_0x46b7df,_0x20907d){const _0x3532a0=a43_0x6322,_0x526c79=_0x46b7df();while(!![]){try{const _0xbbc5ae=parseInt(_0x3532a0(0x1fd))/0x1+parseInt(_0x3532a0(0x203))/0x2+-parseInt(_0x3532a0(0x1fc))/0x3*(-parseInt(_0x3532a0(0x200))/0x4)+-parseInt(_0x3532a0(0x205))/0x5+-parseInt(_0x3532a0(0x1fe))/0x6*(-parseInt(_0x3532a0(0x1fa))/0x7)+parseInt(_0x3532a0(0x1ff))/0x8+-parseInt(_0x3532a0(0x1fb))/0x9*(parseInt(_0x3532a0(0x1f6))/0xa);if(_0xbbc5ae===_0x20907d)break;else _0x526c79['push'](_0x526c79['shift']());}catch(_0x373fc8){_0x526c79['push'](_0x526c79['shift']());}}}(a43_0x5055,0x4c170));function isNewman(_0x5e7cb3){const _0x1f88ca=a43_0x6322,_0x1913c5={'lnLSJ':function(_0x490a3a,_0x18edcf){return _0x490a3a===_0x18edcf;},'qqNAt':_0x1f88ca(0x1f8),'NcHYQ':function(_0x582dec,_0x480a21){return _0x582dec(_0x480a21);},'RHEge':function(_0x4b5f7a,_0x9f3373){return _0x4b5f7a||_0x9f3373;}},_0x4d09d0=process['env'][_0x1f88ca(0x202)]||'';let _0x2caa14='';_0x5e7cb3&&_0x5e7cb3[_0x1f88ca(0x1f5)]&&(_0x2caa14=_0x5e7cb3[_0x1f88ca(0x1f5)]);const _0x4df1cd=_0x1913c5[_0x1f88ca(0x1f4)](_0x4d09d0[_0x1f88ca(0x201)](),_0x1913c5[_0x1f88ca(0x1f9)]),_0xac7500=_0x1913c5[_0x1f88ca(0x1f4)](_0x1913c5['NcHYQ'](String,_0x2caa14)[_0x1f88ca(0x201)](),_0x1913c5['qqNAt']);return _0x1913c5[_0x1f88ca(0x1f7)](_0x4df1cd,_0xac7500);}function a43_0x5055(){const _0x219061=['qqNAt','7kqKdun','425187NZBwQI','3rjNBju','82225oTblaF','3239478JKmYqH','1436848qtWeBC','361148yFeASd','toLowerCase','BROWSERSTACK_FRAMEWORK','122112HVvaxj','isNewman','136320cIArhj','lnLSJ','framework','130gUhbKE','RHEge','newman'];a43_0x5055=function(){return _0x219061;};return a43_0x5055();};const a43_0x47a152={};function a43_0x6322(_0x15e625,_0x466a2b){const _0x5055db=a43_0x5055();return a43_0x6322=function(_0x632221,_0x1f7af6){_0x632221=_0x632221-0x1f4;let _0x5accba=_0x5055db[_0x632221];return _0x5accba;},a43_0x6322(_0x15e625,_0x466a2b);}a43_0x47a152[a43_0x732665(0x204)]=isNewman,module['exports']=a43_0x47a152;
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_0x68a6dd=a44_0x16b0;(function(_0x5816bd,_0x4240c1){const _0x5a1824=a44_0x16b0,_0x5da6d8=_0x5816bd();while(!![]){try{const _0x1dc15d=parseInt(_0x5a1824(0x21a))/0x1*(-parseInt(_0x5a1824(0x283))/0x2)+parseInt(_0x5a1824(0x1c4))/0x3+parseInt(_0x5a1824(0x1a3))/0x4+parseInt(_0x5a1824(0x1ea))/0x5*(-parseInt(_0x5a1824(0x22f))/0x6)+parseInt(_0x5a1824(0x1c9))/0x7*(parseInt(_0x5a1824(0x237))/0x8)+-parseInt(_0x5a1824(0x27d))/0x9*(-parseInt(_0x5a1824(0x1fd))/0xa)+parseInt(_0x5a1824(0x24f))/0xb*(-parseInt(_0x5a1824(0x267))/0xc);if(_0x1dc15d===_0x4240c1)break;else _0x5da6d8['push'](_0x5da6d8['shift']());}catch(_0x4b3102){_0x5da6d8['push'](_0x5da6d8['shift']());}}}(a44_0x5b55,0x8475c));const path=require(a44_0x68a6dd(0x1a8)),{v4:uuidv4}=require(a44_0x68a6dd(0x182)),SessionHandler=require(a44_0x68a6dd(0x228)),{debug}=require(a44_0x68a6dd(0x246)),logger=require('../../../helpers/logger')[a44_0x68a6dd(0x1d5)],BrowserstackCLI=require(a44_0x68a6dd(0x1a5)),GrpcClient=require(a44_0x68a6dd(0x264)),TestFrameworkState=require(a44_0x68a6dd(0x265)),HookState=require(a44_0x68a6dd(0x1ce)),LOG_LEVELS=['INFO',a44_0x68a6dd(0x23b),a44_0x68a6dd(0x282),a44_0x68a6dd(0x235),a44_0x68a6dd(0x1bc)];function a44_0x5b55(){const _0x46fd99=['resolve','LNeFt','POST','max','WORhK','testFrameworkName','oZhKE','BuNpk','OypbW','collectionName','kmhgx','fUBaD','timestamp','MFoCR','AHzZi','NKMka','collectionPath','assertion','jQHLA','http://','zswxy','getTime','backtrace','JxUjE','166148cEvKEP','item','toString','YLxdM','lastResponseCode','CLsnS','HTTP','testFrameworkVersion','apply','MmFTT','level','method','set','event','../../../helpers/test-observability/sessionHandler','startsWith','result','join','PRE','SPOeZ','get','42jjMzVM','push','GXpHt','VDVzK','cursor','USMDt','DEBUG','VsPpj','139936XxMDXC','JxjRr','bs:addLog:','TkqJJ','WARN','EIkrZ','ObRIV','scopes','durationMs','YLJZv','toISOString','\x20(no\x20assertions)','TEST','failure_reason_expanded','ykRUg','../../../helpers/test-observability/utils','oPhDA','OKrcv','xkzsq','Uwkwu','url','jWSwY','bIaoz','jyJDt','19811qQGOag','RqTPX','GET','assert','[Newman\x20Reporter]\x20Could\x20not\x20resolve\x20collection\x20file\x20path,\x20falling\x20back\x20to\x20collection.json','slice','qoaTM','lTPAs','headers','LogCreated','startedAt','http','[Newman\x20Reporter]\x20Error\x20in\x20request:\x20','GYoPM','console','javascript','HCZfu','[Newman\x20Reporter]\x20emitTest\x20error:\x20','getInstance','PvIhA','VVFeg','../../v2/grpcClient','../../v2/state/testFrameworkState','optHT','3444yWfNOM','MOvsy','YnDsb','GLSYV','uploadEventData','error','[Newman\x20Reporter]\x20Error\x20in\x20console:\x20','hTZZH','status_code','failure','FZuZE','qFTJn','startTimestamp','FYliE','dPqFX','kind','INFO','UhIjs','execution','gKTjC','qKKbF','string','9441HyQHVM','vtmpm','logs','pxMZc','object','ERROR','2WxnCWJ','NVGUV','stack','uuid','sOyeo','cwd','event_type','\x20(HTTP\x20','parent','UrVuS','code','TGrsv','esxxM','olvVn','includes','iwqkP','IbJCC','ynxyt','split','newman','orRqo','beforeItem','BnAkR','xyObC','JKjWE','xRttA','lDeuq','stringify','done','qSwEA','delete','EqYbv','TEST_LOG','assertions','name','collection.json','2137528wCPkCW','PPHkg','../../v2/browserstackCLI','BwcDG','[Newman\x20Reporter]\x20emitLog\x20error:\x20','path','request','now','LDTXX','location','wlzpc','BNTlR','UnhandledError','hostname','WdUDv','failureType','DZjZJ','unknown','err','httpLog','http_response','gNBOm','[Newman\x20Reporter]\x20Error\x20in\x20item:\x20','ms)','[Newman\x20Reporter]\x20Error\x20in\x20bs:addLog\x20handler:\x20','TRACE','passed','DQarJ','host','relative','bufferedLogs','yDBix','LCoIU','1627029EPEFyb','logCreatedEvent','Exception:\x20','ref','dIQxz','224udLyxN','info','rpeff','pending','KJjTh','../../v2/state/hookState','DsftC','\x20—\x20response\x20status\x20in\x20failure\x20range','finishedAt','HTTP\x20Status:\x20','pid','removeListener','winstonLogger','N/A','PBQtW','duration_ms','collection','pathname','TestRunFinished','VfIJQ','length','forEach','messages','gzyNp','UNmrO','message','exception','zNqKx','):\x20','WeMKp','Script\x20error\x20(','EGgom','responseTime','481555yPmUtZ','indexOf','MPvis','failure_backtrace','failureReason','concat','pMncy','fOMeH','getTestFramework','iqQHd','No\x20HTTP\x20response\x20received','argv','platformIndex','HTTP\x20','Gbjif','identifier','[Newman\x20Reporter]\x20Error\x20in\x20beforeItem:\x20','search','itemName','2510teXyfS','NHHcg','response','expGG','test_run'];a44_0x5b55=function(){return _0x46fd99;};return a44_0x5b55();}function isCLIRunning(){try{return BrowserstackCLI['getInstance']()['isRunning']();}catch(_0x52fa86){return![];}}function a44_0x16b0(_0x4b3ce1,_0x1d86a1){const _0x5b557d=a44_0x5b55();return a44_0x16b0=function(_0x16b08b,_0x3f734a){_0x16b08b=_0x16b08b-0x180;let _0x366b7f=_0x5b557d[_0x16b08b];return _0x366b7f;},a44_0x16b0(_0x4b3ce1,_0x1d86a1);}function getParentTitles(_0x21938e){const _0x200e96=a44_0x68a6dd,_0x1da640={'orRqo':function(_0x19f89,_0x55a2cd){return _0x19f89(_0x55a2cd);}},_0x303f62=[],_0x50b24a=_0x21938e[_0x200e96(0x187)]();return _0x50b24a&&_0x303f62[_0x200e96(0x230)][_0x200e96(0x222)](_0x303f62,_0x1da640['orRqo'](getParentTitles,_0x50b24a)),_0x21938e[_0x200e96(0x1a1)]&&_0x303f62[_0x200e96(0x230)](_0x1da640[_0x200e96(0x193)](String,_0x21938e[_0x200e96(0x1a1)])),_0x303f62;}function normalizeLogLevel(_0x23e17a){const _0x126d64=a44_0x68a6dd,_0x429fa8={};_0x429fa8[_0x126d64(0x223)]=_0x126d64(0x277),_0x429fa8[_0x126d64(0x26e)]=function(_0xa491e,_0x2033f8){return _0xa491e!==_0x2033f8;};const _0x55d42e=_0x429fa8;if(!_0x23e17a)return _0x55d42e[_0x126d64(0x223)];const _0x2bb0df=_0x23e17a['toUpperCase']();return _0x55d42e['hTZZH'](LOG_LEVELS[_0x126d64(0x1eb)](_0x2bb0df),-0x1)?_0x2bb0df:_0x55d42e[_0x126d64(0x223)];}function resolveCollectionFile(_0x3d6a62,_0x46bd24){const _0x4feca3=a44_0x68a6dd,_0x1e4099={};_0x1e4099[_0x4feca3(0x1fe)]=function(_0x2aa6bb,_0x27d971){return _0x2aa6bb===_0x27d971;},_0x1e4099[_0x4feca3(0x1b8)]=_0x4feca3(0x27c),_0x1e4099[_0x4feca3(0x1c8)]='run',_0x1e4099[_0x4feca3(0x245)]=function(_0x3c645a,_0x3c4964){return _0x3c645a!==_0x3c4964;},_0x1e4099[_0x4feca3(0x1b1)]=function(_0x359424,_0xfa2c3e){return _0x359424<_0xfa2c3e;},_0x1e4099['NKMka']=function(_0x224a86,_0x29f4e5){return _0x224a86+_0x29f4e5;},_0x1e4099[_0x4feca3(0x26a)]=function(_0x426ba2,_0x5790c3){return _0x426ba2+_0x5790c3;},_0x1e4099[_0x4feca3(0x280)]=_0x4feca3(0x253),_0x1e4099[_0x4feca3(0x24e)]=_0x4feca3(0x1a2);const _0x7ef36=_0x1e4099;try{if(_0x46bd24&&_0x46bd24[_0x4feca3(0x212)])return path[_0x4feca3(0x1c0)](process[_0x4feca3(0x184)](),path[_0x4feca3(0x202)](_0x46bd24[_0x4feca3(0x212)]));const _0x51ecb1=_0x3d6a62['collection'];if(_0x7ef36[_0x4feca3(0x1fe)](typeof _0x51ecb1,_0x7ef36['gNBOm']))return path['relative'](process[_0x4feca3(0x184)](),path[_0x4feca3(0x202)](_0x51ecb1));const _0x13dcbc=process[_0x4feca3(0x1f5)][_0x4feca3(0x1eb)](_0x7ef36['dIQxz']);if(_0x7ef36[_0x4feca3(0x245)](_0x13dcbc,-0x1)&&_0x7ef36[_0x4feca3(0x1b1)](_0x7ef36[_0x4feca3(0x211)](_0x13dcbc,0x1),process[_0x4feca3(0x1f5)][_0x4feca3(0x1dd)])){const _0x175cf0=process[_0x4feca3(0x1f5)][_0x7ef36[_0x4feca3(0x26a)](_0x13dcbc,0x1)];if(_0x175cf0&&!_0x175cf0[_0x4feca3(0x229)]('-'))return path[_0x4feca3(0x1c0)](process[_0x4feca3(0x184)](),path[_0x4feca3(0x202)](_0x175cf0));}}catch(_0x7e0dc){}return logger[_0x4feca3(0x1ca)](_0x7ef36[_0x4feca3(0x280)]),_0x7ef36['jyJDt'];}function resolveCollectionName(_0x228db2){const _0x47e330=a44_0x68a6dd,_0x1a905e={};_0x1a905e['zswxy']=function(_0x2a28dc,_0x1dfd20){return _0x2a28dc===_0x1dfd20;},_0x1a905e['LBeXb']=_0x47e330(0x281);const _0x3a86eb=_0x1a905e;try{const _0x2c811f=_0x228db2[_0x47e330(0x1d9)];if(_0x2c811f&&_0x3a86eb[_0x47e330(0x216)](typeof _0x2c811f,_0x3a86eb['LBeXb']))return _0x2c811f[_0x47e330(0x1a1)]||_0x2c811f['info']&&_0x2c811f[_0x47e330(0x1ca)][_0x47e330(0x1a1)]||null;}catch(_0x5b9e51){}return null;}function emitTest(_0x5f21d0,_0x4abb00,_0x52c682,_0x572321,_0x30e5f7){const _0x507557=a44_0x68a6dd,_0x4cdbdb={'PPHkg':function(_0x582213){return _0x582213();},'JRZYH':_0x507557(0x1cc),'GXpHt':function(_0x2c5991,_0x4abc71){return _0x2c5991(_0x4abc71);},'gzyNp':_0x507557(0x192),'BwcDG':_0x507557(0x25e),'GoTUZ':function(_0x3f7f11,_0x465067){return _0x3f7f11!=_0x465067;},'ynxyt':function(_0x3afd31,_0x3a8da5){return _0x3afd31===_0x3a8da5;},'GYoPM':'TestRunStarted','pjSdB':_0x507557(0x1db)};if(_0x4cdbdb[_0x507557(0x1a4)](isCLIRunning))try{const _0x102746=BrowserstackCLI[_0x507557(0x261)]()[_0x507557(0x1f2)]();if(!_0x102746)return;_0x102746['trackEvent'](TestFrameworkState[_0x507557(0x243)],_0x5f21d0,{'test':{'uuid':_0x4abb00[_0x507557(0x182)],'name':_0x4abb00[_0x507557(0x1a1)],'scopes':_0x52c682['scopes'],'scope':_0x52c682[_0x507557(0x23e)][_0x507557(0x22b)]('\x20'),'file_path':_0x572321,'location':_0x52c682['collectionName'],'started_at':_0x52c682[_0x507557(0x259)],'finished_at':_0x30e5f7[_0x507557(0x1d1)]||null,'result':_0x30e5f7[_0x507557(0x22a)]||_0x4cdbdb['JRZYH'],'failure':_0x30e5f7[_0x507557(0x270)]||[],'failure_type':_0x30e5f7[_0x507557(0x1b2)]||null,'failure_reason':_0x30e5f7[_0x507557(0x1ee)]||null,'tags':[],'meta':{},'custom_metadata':{}}});}catch(_0x2f1759){_0x4cdbdb[_0x507557(0x231)](debug,_0x507557(0x260)+_0x2f1759);}else{const _0x2bc983={'uuid':_0x4abb00[_0x507557(0x182)],'name':_0x4abb00[_0x507557(0x1a1)],'framework':_0x4cdbdb[_0x507557(0x1e0)],'body':{'lang':_0x4cdbdb[_0x507557(0x1a6)],'code':null},'scope':_0x52c682[_0x507557(0x23e)][_0x507557(0x22b)]('\x20'),'scopes':_0x52c682['scopes'],'identifier':_0x4abb00[_0x507557(0x1f9)],'file_name':_0x52c682[_0x507557(0x20b)],'vc_filepath':_0x52c682[_0x507557(0x1ac)],'location':_0x52c682[_0x507557(0x1ac)],'started_at':_0x52c682[_0x507557(0x259)],'finished_at':_0x30e5f7[_0x507557(0x1d1)]||null,'duration_in_ms':_0x4cdbdb['GoTUZ'](_0x30e5f7[_0x507557(0x23f)],null)?Math[_0x507557(0x205)](0x0,_0x30e5f7[_0x507557(0x23f)]):null,'result':_0x30e5f7[_0x507557(0x22a)]||_0x4cdbdb['JRZYH'],'failure_reason':_0x30e5f7[_0x507557(0x1ee)]||null,'failure_type':_0x30e5f7[_0x507557(0x1b2)]||null,'failure':_0x30e5f7['failure']||[],'retry_of':null,'hooks':[]};_0x2bc983[_0x507557(0x270)][0x0]&&(_0x2bc983[_0x507557(0x1ed)]=_0x2bc983[_0x507557(0x270)][0x0][_0x507557(0x218)],_0x2bc983[_0x507557(0x244)]=_0x2bc983[_0x507557(0x270)][0x0]['expanded']);const _0x449b7c=_0x4cdbdb[_0x507557(0x190)](_0x5f21d0,HookState[_0x507557(0x22c)])?_0x4cdbdb[_0x507557(0x25c)]:_0x4cdbdb['pjSdB'],_0x45d3e0={};_0x45d3e0[_0x507557(0x185)]=_0x449b7c,_0x45d3e0[_0x507557(0x201)]=_0x2bc983,SessionHandler['uploadEventData'](_0x45d3e0);}}function emitLog(_0x2d94b9,_0x2f474e){const _0x5197a7=a44_0x68a6dd,_0x37542a={'WeMKp':_0x5197a7(0x19f),'zQtoP':function(_0x3386ba){return _0x3386ba();},'lDeuq':function(_0x24996e,_0x4e1aae){return _0x24996e===_0x4e1aae;},'PBQtW':_0x5197a7(0x220),'BNTlR':_0x5197a7(0x192),'lmjlJ':_0x5197a7(0x243),'ObRIV':_0x5197a7(0x277),'JxUjE':function(_0xc66dd1,_0x170d19){return _0xc66dd1(_0x170d19);},'oPhDA':function(_0x3b1b76,_0x3df7a0){return _0x3b1b76+_0x3df7a0;},'LCoIU':_0x5197a7(0x1a7),'xRttA':_0x5197a7(0x258)},_0x34e847=_0x2f474e[_0x5197a7(0x276)]||_0x37542a[_0x5197a7(0x1e6)],_0x1de56f=_0x2f474e[_0x5197a7(0x20e)]||new Date()['toISOString']();if(_0x37542a['zQtoP'](isCLIRunning))try{const _0x4eb1d5=_0x37542a[_0x5197a7(0x199)](_0x34e847,_0x37542a[_0x5197a7(0x1d7)])?JSON[_0x5197a7(0x19a)](_0x2f474e):_0x2f474e[_0x5197a7(0x1e2)]||'',_0x4be0ac={};_0x4be0ac[_0x5197a7(0x1f6)]=0x0,_0x4be0ac[_0x5197a7(0x207)]=_0x37542a[_0x5197a7(0x1ae)],_0x4be0ac[_0x5197a7(0x221)]='',_0x4be0ac['testFrameworkState']=_0x37542a['lmjlJ'],_0x4be0ac[_0x5197a7(0x27f)]=[{'uuid':_0x2d94b9,'timestamp':_0x1de56f,'kind':_0x34e847,'level':_0x2f474e['level']||_0x37542a[_0x5197a7(0x23d)],'message':_0x4eb1d5}],GrpcClient[_0x5197a7(0x261)]()[_0x5197a7(0x1c5)](_0x4be0ac);}catch(_0x5a5b08){_0x37542a[_0x5197a7(0x219)](debug,_0x37542a[_0x5197a7(0x247)](_0x37542a[_0x5197a7(0x1c3)],_0x5a5b08));}else{const _0x53f263={};_0x53f263['test_run_uuid']=_0x2d94b9,_0x53f263[_0x5197a7(0x20e)]=_0x1de56f,_0x53f263[_0x5197a7(0x224)]=_0x2f474e[_0x5197a7(0x224)]||null,_0x53f263['message']=_0x2f474e[_0x5197a7(0x1e2)]||null,_0x53f263[_0x5197a7(0x276)]=_0x34e847,_0x53f263[_0x5197a7(0x1b7)]=_0x2f474e['http_response']||{};const _0x57f45f={};_0x57f45f[_0x5197a7(0x185)]=_0x37542a[_0x5197a7(0x198)],_0x57f45f[_0x5197a7(0x27f)]=[_0x53f263],SessionHandler[_0x5197a7(0x26b)](_0x57f45f);}}function BrowserStackNewmanReporter(_0x3c9369,_0x1376ee,_0xdfcbc){const _0x317fd4=a44_0x68a6dd,_0x5da5f2={'CLsnS':function(_0x2960d7,_0x1d02f5,_0xd46421){return _0x2960d7(_0x1d02f5,_0xd46421);},'TGrsv':function(_0x4af295,_0x13136e){return _0x4af295(_0x13136e);},'UrVuS':function(_0x1c331a,_0x130832){return _0x1c331a>_0x130832;},'VsPpj':function(_0xa5c1fd,_0x722127){return _0xa5c1fd(_0x722127);},'kdFAk':_0x317fd4(0x25a),'WORhK':function(_0x4e56a7,_0x52ea8f){return _0x4e56a7+_0x52ea8f;},'qSwEA':_0x317fd4(0x251),'EqYbv':function(_0x58811e,_0x374607,_0x19e2e2){return _0x58811e(_0x374607,_0x19e2e2);},'VVFeg':'TEST_LOG','SPOeZ':function(_0x2911a5){return _0x2911a5();},'EGgom':function(_0x5f016d,_0x230af5){return _0x5f016d||_0x230af5;},'MFoCR':function(_0x28dd44,_0x10620e,_0x80e232,_0x598ed0,_0x33b056,_0xaf3a57){return _0x28dd44(_0x10620e,_0x80e232,_0x598ed0,_0x33b056,_0xaf3a57);},'esxxM':function(_0x14442e,_0x89be7c){return _0x14442e===_0x89be7c;},'vtmpm':function(_0x539fc4,_0x23f43d){return _0x539fc4>_0x23f43d;},'USMDt':function(_0x4ae2f5,_0x456418,_0x35cad6){return _0x4ae2f5(_0x456418,_0x35cad6);},'NVGUV':_0x317fd4(0x220),'qFTJn':function(_0x2aee6b,_0x5605d1){return _0x2aee6b+_0x5605d1;},'fUBaD':function(_0x5b0f3b,_0x196842){return _0x5b0f3b+_0x196842;},'olvVn':function(_0x5b8662,_0x2f0170){return _0x5b8662+_0x2f0170;},'iqQHd':'\x20->\x20','BnAkR':_0x317fd4(0x1ba),'gKTjC':_0x317fd4(0x277),'jQHLA':function(_0x194998,_0x58b09b){return _0x194998(_0x58b09b);},'FYliE':function(_0x87d600,_0x3faf53){return _0x87d600>_0x3faf53;},'Uwkwu':function(_0x5b1afd,_0x1c8913){return _0x5b1afd-_0x1c8913;},'YnDsb':function(_0x3d6d82,_0x29b77f){return _0x3d6d82(_0x29b77f);},'fOMeH':function(_0x39ce11,_0x41013f){return _0x39ce11&&_0x41013f;},'xyObC':function(_0x9eccdc,_0x3a5e1b,_0xb1b0e0){return _0x9eccdc(_0x3a5e1b,_0xb1b0e0);},'xChvj':function(_0x33acca,_0x2db4bc){return _0x33acca+_0x2db4bc;},'EIkrZ':_0x317fd4(0x1c6),'expGG':_0x317fd4(0x282),'CQqzG':function(_0x494698,_0x2cdf03){return _0x494698(_0x2cdf03);},'lTPAs':function(_0x2bccb0,_0xa29861){return _0x2bccb0+_0xa29861;},'kMYmd':'[Newman\x20Reporter]\x20Error\x20in\x20exception:\x20','bIaoz':_0x317fd4(0x1b4),'DZjZJ':function(_0x107e9a,_0x35360a){return _0x107e9a+_0x35360a;},'Gbjif':function(_0x59b6c6,_0x5bbb17){return _0x59b6c6+_0x5bbb17;},'LDTXX':_0x317fd4(0x1e7),'JRAPv':_0x317fd4(0x1e5),'DQarJ':'[Newman\x20Reporter]\x20Error\x20in\x20script:\x20','UNmrO':'failed','bILMP':_0x317fd4(0x1bd),'xkzsq':function(_0x6ebc3b,_0x22f4e5){return _0x6ebc3b===_0x22f4e5;},'UhIjs':'AssertionError','dPqFX':_0x317fd4(0x252),'VfIJQ':_0x317fd4(0x1af),'sAFHS':function(_0x1791e9,_0x4da250,_0x446b48,_0x541813,_0x312f0b,_0x31330c){return _0x1791e9(_0x4da250,_0x446b48,_0x541813,_0x312f0b,_0x31330c);},'HCZfu':function(_0x1b4817,_0x166239){return _0x1b4817-_0x166239;},'qKKbF':function(_0x187ad2){return _0x187ad2();},'fpQOU':function(_0x4b4361,_0x5c4f3a){return _0x4b4361!=_0x5c4f3a;},'DsftC':function(_0x13e144,_0x59b7e4){return _0x13e144>=_0x59b7e4;},'jWSwY':function(_0x3b0594,_0x2e32fd){return _0x3b0594<_0x2e32fd;},'wlzpc':_0x317fd4(0x1d6),'IbJCC':function(_0x48f644,_0x56f515){return _0x48f644!=_0x56f515;},'MOvsy':_0x317fd4(0x1f4),'ENtYM':function(_0x549863,_0x437077,_0x58ac5e){return _0x549863(_0x437077,_0x58ac5e);},'TkqJJ':function(_0x8ae30,_0x328d8c){return _0x8ae30+_0x328d8c;},'JKjWE':function(_0x511e33,_0x1479b4){return _0x511e33+_0x1479b4;},'JxjRr':function(_0x4d1038,_0x5029b7){return _0x4d1038+_0x5029b7;},'AHzZi':function(_0x506212,_0x33a6a9){return _0x506212+_0x33a6a9;},'MPvis':function(_0x22b373,_0x4b2529){return _0x22b373+_0x4b2529;},'KJjTh':function(_0x119b32,_0x5e0e55,_0x28b229){return _0x119b32(_0x5e0e55,_0x28b229);},'qoaTM':function(_0x4093e9,_0x4a04b5){return _0x4093e9+_0x4a04b5;},'PvIhA':function(_0x4a0153,_0x50d579){return _0x4a0153+_0x50d579;},'YLxdM':_0x317fd4(0x1d2),'RqTPX':function(_0x8d406e,_0x5bbfa1){return _0x8d406e||_0x5bbfa1;},'pMncy':_0x317fd4(0x242),'sOyeo':function(_0x2404c3,_0x527185){return _0x2404c3(_0x527185);},'ywJFD':function(_0x5c6296,_0x224147,_0x20b8b3){return _0x5c6296(_0x224147,_0x20b8b3);},'optHT':_0x317fd4(0x19b),'FZuZE':'beforeIteration','iwqkP':_0x317fd4(0x194),'OypbW':_0x317fd4(0x1a9),'rpeff':_0x317fd4(0x213),'yDBix':_0x317fd4(0x25d),'REups':_0x317fd4(0x1e3),'BuNpk':'script','VDVzK':_0x317fd4(0x21b)},_0x594164=new Map();let _0x4af0a3=null,_0x7ca84c=0x0;const _0x4d942e=_0x5da5f2['ywJFD'](resolveCollectionFile,_0xdfcbc,_0x1376ee),_0x5ba268=_0x5da5f2['sOyeo'](resolveCollectionName,_0xdfcbc)||_0x4d942e,_0x2a2a3d=path['resolve'](_0x4d942e),_0x1614ed=_0x317fd4(0x239)+process[_0x317fd4(0x1d3)],_0x2cfd55=_0x216647=>{const _0x55a194=_0x317fd4;try{_0x4af0a3&&_0x5da5f2[_0x55a194(0x21f)](emitLog,_0x4af0a3,_0x216647);}catch(_0x4c9777){_0x5da5f2[_0x55a194(0x18a)](debug,_0x55a194(0x1bb)+_0x4c9777);}};process['on'](_0x1614ed,_0x2cfd55),_0x3c9369['on'](_0x5da5f2[_0x317fd4(0x266)],()=>{const _0x4ae156=_0x317fd4;process[_0x4ae156(0x1d4)](_0x1614ed,_0x2cfd55),_0x594164['clear']();}),_0x3c9369['on'](_0x5da5f2[_0x317fd4(0x271)],(_0x53d264,_0x3d57a6)=>{const _0x501b5e=_0x317fd4;_0x3d57a6&&_0x3d57a6[_0x501b5e(0x233)]&&(_0x7ca84c=_0x3d57a6[_0x501b5e(0x233)]['iteration']||0x0);}),_0x3c9369['on'](_0x5da5f2[_0x317fd4(0x18e)],(_0x353e64,_0x5e7db4)=>{const _0x2dc366=_0x317fd4;try{_0x4af0a3=null;const _0x13b18a=_0x5e7db4['item'],_0x20d8d9=_0x13b18a[_0x2dc366(0x187)]()?_0x5da5f2[_0x2dc366(0x18a)](getParentTitles,_0x13b18a[_0x2dc366(0x187)]()):[],_0x348eb8=_0x5da5f2['UrVuS'](_0x20d8d9[_0x2dc366(0x1dd)],0x1)?_0x20d8d9[_0x2dc366(0x254)](0x1):_0x20d8d9,_0x192e84=_0x5e7db4[_0x2dc366(0x233)]&&_0x5e7db4[_0x2dc366(0x233)]['ref'],_0xf83fbd={'itemName':_0x13b18a[_0x2dc366(0x1a1)],'scopes':_0x348eb8[_0x2dc366(0x1ef)]([_0x13b18a[_0x2dc366(0x1a1)]]),'location':_0x4d942e,'collectionName':_0x5ba268,'startedAt':new Date()[_0x2dc366(0x241)](),'startTimestamp':Date[_0x2dc366(0x1aa)](),'lastResponseCode':null,'httpLog':null,'assertions':[],'bufferedLogs':[]};_0x594164[_0x2dc366(0x226)](_0x13b18a['id']+'_'+_0x7ca84c,_0xf83fbd),_0x192e84&&_0x594164['set'](_0x192e84+'_'+_0x7ca84c,_0xf83fbd);}catch(_0xda199c){_0x5da5f2['VsPpj'](debug,_0x2dc366(0x1fa)+_0xda199c);}}),_0x3c9369['on'](_0x5da5f2[_0x317fd4(0x20a)],(_0x4b0140,_0x5f0f4c)=>{const _0x358821=_0x317fd4;try{if(!_0x5f0f4c||!_0x5f0f4c['item'])return;const _0x48e9ff=_0x594164[_0x358821(0x22e)](_0x5f0f4c[_0x358821(0x21b)]['id']+'_'+_0x7ca84c);if(!_0x48e9ff)return;_0x5f0f4c[_0x358821(0x1ff)]&&(_0x48e9ff['lastResponseCode']=_0x5f0f4c[_0x358821(0x1ff)][_0x358821(0x189)]||null);if(!_0x5f0f4c[_0x358821(0x1a9)])return;let _0x2641ba='',_0x3c4da3='';if(_0x5f0f4c[_0x358821(0x1a9)][_0x358821(0x24b)])try{const _0x2bbfd0=_0x5f0f4c[_0x358821(0x1a9)]['url'][_0x358821(0x21c)](),_0x45ec2a=new URL(_0x2bbfd0['startsWith'](_0x5da5f2['kdFAk'])?_0x2bbfd0:_0x358821(0x215)+_0x2bbfd0);_0x2641ba=_0x45ec2a[_0x358821(0x1b0)],_0x3c4da3=_0x5da5f2[_0x358821(0x206)](_0x45ec2a[_0x358821(0x1da)],_0x45ec2a[_0x358821(0x1fb)]);}catch(_0x1a5779){_0x3c4da3=_0x5f0f4c['request'][_0x358821(0x24b)]['toString']();}const _0x484f9c={};_0x484f9c[_0x358821(0x1bf)]=_0x2641ba,_0x484f9c['path']=_0x3c4da3,_0x484f9c[_0x358821(0x225)]=_0x5f0f4c[_0x358821(0x1a9)][_0x358821(0x225)]||_0x5da5f2[_0x358821(0x19c)],_0x484f9c[_0x358821(0x257)]={},_0x484f9c[_0x358821(0x26f)]=_0x5f0f4c[_0x358821(0x1ff)]?_0x5f0f4c[_0x358821(0x1ff)]['code']||0x0:0x0,_0x484f9c[_0x358821(0x1d8)]=_0x5f0f4c[_0x358821(0x1ff)]?_0x5f0f4c[_0x358821(0x1ff)][_0x358821(0x1e9)]||0x0:0x0,_0x48e9ff[_0x358821(0x1b6)]=_0x484f9c;}catch(_0x2823a6){_0x5da5f2[_0x358821(0x236)](debug,_0x358821(0x25b)+_0x2823a6);}}),_0x3c9369['on'](_0x5da5f2[_0x317fd4(0x1cb)],(_0x128bdb,_0x5a7087)=>{const _0x4accb0=_0x317fd4;try{if(!_0x5a7087||!_0x5a7087[_0x4accb0(0x21b)])return;const _0xe9507e=_0x594164[_0x4accb0(0x22e)](_0x5a7087[_0x4accb0(0x21b)]['id']+'_'+_0x7ca84c);if(!_0xe9507e)return;const _0x36b50d=_0x5a7087[_0x4accb0(0x213)]||'Assertion\x20'+_0x5da5f2['WORhK'](_0xe9507e[_0x4accb0(0x1a0)][_0x4accb0(0x1dd)],0x1),_0x1c4e42=_0x5da5f2[_0x4accb0(0x22d)](uuidv4),_0x4dd30d=_0xe9507e[_0x4accb0(0x23e)][_0x4accb0(0x1ef)]([_0x36b50d])['join']('\x20');_0xe9507e[_0x4accb0(0x1a0)][_0x4accb0(0x230)]({'uuid':_0x1c4e42,'name':_0x36b50d,'identifier':_0x4dd30d,'err':_0x5da5f2[_0x4accb0(0x1e8)](_0x128bdb,null)});const _0x24a28b={};_0x24a28b[_0x4accb0(0x182)]=_0x1c4e42,_0x24a28b[_0x4accb0(0x1a1)]=_0x36b50d,_0x24a28b[_0x4accb0(0x1f9)]=_0x4dd30d,_0x5da5f2[_0x4accb0(0x20f)](emitTest,HookState[_0x4accb0(0x22c)],_0x24a28b,_0xe9507e,_0x2a2a3d,{});_0x5da5f2[_0x4accb0(0x18b)](_0xe9507e[_0x4accb0(0x1a0)][_0x4accb0(0x1dd)],0x1)&&_0x5da5f2[_0x4accb0(0x27e)](_0xe9507e[_0x4accb0(0x1c1)][_0x4accb0(0x1dd)],0x0)&&(_0xe9507e[_0x4accb0(0x1c1)]['forEach'](_0x15b09e=>{const _0x23b588=_0x4accb0;_0x5da5f2[_0x23b588(0x19e)](emitLog,_0x1c4e42,{'kind':_0x5da5f2['VVFeg'],'message':_0x15b09e[_0x23b588(0x1e2)],'level':_0x15b09e[_0x23b588(0x224)]});}),_0xe9507e['bufferedLogs']=[]);if(_0xe9507e[_0x4accb0(0x1b6)]){_0x5da5f2[_0x4accb0(0x234)](emitLog,_0x1c4e42,{'kind':_0x5da5f2[_0x4accb0(0x180)],'http_response':_0xe9507e[_0x4accb0(0x1b6)]});const _0x5dbb89=_0x5da5f2[_0x4accb0(0x272)](_0x5da5f2['fUBaD'](_0x5da5f2[_0x4accb0(0x272)](_0x5da5f2[_0x4accb0(0x206)](_0x5da5f2['fUBaD'](_0x5da5f2[_0x4accb0(0x206)](_0x5da5f2[_0x4accb0(0x18c)](_0x5da5f2[_0x4accb0(0x20d)](_0xe9507e[_0x4accb0(0x1b6)][_0x4accb0(0x225)]||_0x5da5f2[_0x4accb0(0x19c)],'\x20'),_0xe9507e[_0x4accb0(0x1b6)]['host']),_0xe9507e[_0x4accb0(0x1b6)][_0x4accb0(0x1a8)]),_0x5da5f2['iqQHd']),_0xe9507e[_0x4accb0(0x1b6)][_0x4accb0(0x26f)]),'\x20('),_0xe9507e['httpLog'][_0x4accb0(0x1d8)]),_0x5da5f2[_0x4accb0(0x195)]);_0x5da5f2['USMDt'](emitLog,_0x1c4e42,{'kind':_0x5da5f2['VVFeg'],'message':_0x5dbb89,'level':_0x5da5f2[_0x4accb0(0x27a)]});}_0x4af0a3=_0x1c4e42;}catch(_0x4c8f77){_0x5da5f2[_0x4accb0(0x214)](debug,'[Newman\x20Reporter]\x20Error\x20in\x20assertion:\x20'+_0x4c8f77);}}),_0x3c9369['on'](_0x5da5f2[_0x317fd4(0x1c2)],(_0x429827,_0x2dd1a6)=>{const _0x2ea33b=_0x317fd4;try{if(!_0x2dd1a6)return;let _0x3ec27b=_0x4af0a3;if(!_0x3ec27b&&_0x2dd1a6[_0x2ea33b(0x233)]&&_0x2dd1a6[_0x2ea33b(0x233)]['ref']){const _0x5a1abf=_0x594164[_0x2ea33b(0x22e)](_0x2dd1a6['cursor'][_0x2ea33b(0x1c7)]+'_'+_0x7ca84c);_0x5a1abf&&_0x5da5f2['FYliE'](_0x5a1abf[_0x2ea33b(0x1a0)][_0x2ea33b(0x1dd)],0x0)&&(_0x3ec27b=_0x5a1abf[_0x2ea33b(0x1a0)][_0x5da5f2[_0x2ea33b(0x24a)](_0x5a1abf[_0x2ea33b(0x1a0)][_0x2ea33b(0x1dd)],0x1)]['uuid']);}const _0x59a9bf=_0x2dd1a6[_0x2ea33b(0x1df)]?_0x2dd1a6[_0x2ea33b(0x1df)][_0x2ea33b(0x22b)](',\x20'):'';if(_0x3ec27b)_0x5da5f2[_0x2ea33b(0x21f)](emitLog,_0x3ec27b,{'kind':_0x5da5f2[_0x2ea33b(0x263)],'message':_0x59a9bf,'level':_0x5da5f2[_0x2ea33b(0x18a)](normalizeLogLevel,_0x2dd1a6['level'])});else{if(_0x2dd1a6[_0x2ea33b(0x233)]&&_0x2dd1a6[_0x2ea33b(0x233)][_0x2ea33b(0x1c7)]){const _0x38031b=_0x594164[_0x2ea33b(0x22e)](_0x2dd1a6[_0x2ea33b(0x233)][_0x2ea33b(0x1c7)]+'_'+_0x7ca84c);_0x38031b&&_0x38031b[_0x2ea33b(0x1c1)][_0x2ea33b(0x230)]({'timestamp':new Date()[_0x2ea33b(0x241)](),'level':_0x5da5f2[_0x2ea33b(0x236)](normalizeLogLevel,_0x2dd1a6[_0x2ea33b(0x224)]),'message':_0x59a9bf});}}}catch(_0x4777f0){_0x5da5f2[_0x2ea33b(0x269)](debug,_0x2ea33b(0x26d)+_0x4777f0);}}),_0x3c9369['on'](_0x5da5f2['REups'],(_0x3c15bb,_0x31634e)=>{const _0x4d80b1=_0x317fd4;try{if(!_0x3c15bb&&(!_0x31634e||!_0x31634e[_0x4d80b1(0x26c)]))return;const _0x1b198e=_0x3c15bb||_0x31634e[_0x4d80b1(0x26c)],_0x18ea57=_0x1b198e['message']||_0x5da5f2[_0x4d80b1(0x214)](String,_0x1b198e),_0x36a807=_0x1b198e['stack']||_0x18ea57;let _0x3bacd9=_0x4af0a3;if(_0x5da5f2[_0x4d80b1(0x1f1)](!_0x3bacd9,_0x31634e)&&_0x31634e['cursor']&&_0x31634e['cursor'][_0x4d80b1(0x1c7)]){const _0x1e1957=_0x594164[_0x4d80b1(0x22e)](_0x31634e['cursor'][_0x4d80b1(0x1c7)]+'_'+_0x7ca84c);_0x1e1957&&_0x5da5f2[_0x4d80b1(0x188)](_0x1e1957['assertions']['length'],0x0)&&(_0x3bacd9=_0x1e1957['assertions'][_0x5da5f2['Uwkwu'](_0x1e1957[_0x4d80b1(0x1a0)][_0x4d80b1(0x1dd)],0x1)]['uuid']);}_0x3bacd9&&_0x5da5f2[_0x4d80b1(0x196)](emitLog,_0x3bacd9,{'kind':_0x5da5f2['VVFeg'],'message':_0x5da5f2['xChvj'](_0x5da5f2[_0x4d80b1(0x23c)],_0x36a807),'level':_0x5da5f2[_0x4d80b1(0x200)]});}catch(_0x5a6a60){_0x5da5f2['CQqzG'](debug,_0x5da5f2[_0x4d80b1(0x256)](_0x5da5f2['kMYmd'],_0x5a6a60));}}),_0x3c9369['on'](_0x5da5f2[_0x317fd4(0x209)],(_0x44828e,_0x543da4)=>{const _0x3b3e7f=_0x317fd4;try{if(!_0x543da4||!_0x543da4[_0x3b3e7f(0x279)])return;let _0x5acd76=_0x4af0a3;if(!_0x5acd76&&_0x543da4[_0x3b3e7f(0x233)]&&_0x543da4['cursor'][_0x3b3e7f(0x1c7)]){const _0x2abad8=_0x594164[_0x3b3e7f(0x22e)](_0x543da4[_0x3b3e7f(0x233)][_0x3b3e7f(0x1c7)]+'_'+_0x7ca84c);_0x2abad8&&_0x5da5f2[_0x3b3e7f(0x274)](_0x2abad8[_0x3b3e7f(0x1a0)]['length'],0x0)&&(_0x5acd76=_0x2abad8[_0x3b3e7f(0x1a0)][_0x5da5f2[_0x3b3e7f(0x24a)](_0x2abad8['assertions'][_0x3b3e7f(0x1dd)],0x1)][_0x3b3e7f(0x182)]);}if(!_0x5acd76)return;const _0x41e92e=_0x543da4[_0x3b3e7f(0x227)]&&_0x543da4[_0x3b3e7f(0x227)]['listen']||_0x5da5f2[_0x3b3e7f(0x24d)];_0x44828e&&_0x5da5f2[_0x3b3e7f(0x234)](emitLog,_0x5acd76,{'kind':_0x5da5f2[_0x3b3e7f(0x263)],'message':_0x5da5f2[_0x3b3e7f(0x272)](_0x5da5f2[_0x3b3e7f(0x1b3)](_0x5da5f2[_0x3b3e7f(0x1f8)](_0x5da5f2[_0x3b3e7f(0x1ab)],_0x41e92e),_0x5da5f2['JRAPv']),_0x44828e[_0x3b3e7f(0x1e2)]||_0x44828e),'level':_0x5da5f2[_0x3b3e7f(0x200)]});}catch(_0x380649){_0x5da5f2[_0x3b3e7f(0x214)](debug,_0x5da5f2[_0x3b3e7f(0x20d)](_0x5da5f2[_0x3b3e7f(0x1be)],_0x380649));}}),_0x3c9369['on'](_0x5da5f2[_0x317fd4(0x232)],(_0x43e0c8,_0x37b9bc)=>{const _0x5dc80d=_0x317fd4,_0x3f8039={'NEsXy':_0x5da5f2[_0x5dc80d(0x1e1)],'LNeFt':_0x5da5f2['bILMP'],'kmhgx':function(_0x50b46a,_0x56cb7a){const _0x3b3956=_0x5dc80d;return _0x5da5f2[_0x3b3956(0x249)](_0x50b46a,_0x56cb7a);},'YLJZv':_0x5da5f2[_0x5dc80d(0x278)],'PzMpE':_0x5da5f2[_0x5dc80d(0x275)],'zNqKx':_0x5da5f2[_0x5dc80d(0x1dc)],'irEpf':function(_0x35e7b1,_0x4310e6,_0x8ca762,_0x5efef2,_0x2ddcd4,_0x5cac3c){return _0x5da5f2['sAFHS'](_0x35e7b1,_0x4310e6,_0x8ca762,_0x5efef2,_0x2ddcd4,_0x5cac3c);},'OKrcv':function(_0x4751b0,_0x1b7ca2,_0x17eff6){return _0x5da5f2['EqYbv'](_0x4751b0,_0x1b7ca2,_0x17eff6);},'oZhKE':_0x5da5f2[_0x5dc80d(0x263)]};try{if(!_0x37b9bc||!_0x37b9bc[_0x5dc80d(0x21b)])return;const _0x3e32f7=_0x37b9bc['item']['id']+'_'+_0x7ca84c,_0x3157e2=_0x594164['get'](_0x3e32f7);if(!_0x3157e2)return;const _0x33bc4f=new Date(),_0x2bdbec=_0x5da5f2[_0x5dc80d(0x25f)](_0x33bc4f[_0x5dc80d(0x217)](),_0x3157e2[_0x5dc80d(0x273)]);if(_0x5da5f2['FYliE'](_0x3157e2['assertions'][_0x5dc80d(0x1dd)],0x0))_0x3157e2[_0x5dc80d(0x1a0)]['forEach'](_0x559a2e=>{const _0x3a17b2=_0x5dc80d,_0x2eb238=!!_0x559a2e['err'],_0x32b6cb={'finishedAt':_0x33bc4f[_0x3a17b2(0x241)](),'durationMs':_0x2bdbec,'result':_0x2eb238?_0x3f8039['NEsXy']:_0x3f8039[_0x3a17b2(0x203)]};_0x2eb238&&(_0x32b6cb[_0x3a17b2(0x1ee)]=_0x559a2e['err'][_0x3a17b2(0x1e2)]||'',_0x32b6cb[_0x3a17b2(0x1b2)]=_0x3f8039[_0x3a17b2(0x20c)](_0x559a2e[_0x3a17b2(0x1b5)][_0x3a17b2(0x1a1)],_0x3f8039['YLJZv'])||_0x559a2e[_0x3a17b2(0x1b5)][_0x3a17b2(0x1e2)]&&_0x559a2e[_0x3a17b2(0x1b5)][_0x3a17b2(0x1e2)][_0x3a17b2(0x18d)](_0x3f8039['PzMpE'])?_0x3f8039[_0x3a17b2(0x240)]:_0x3f8039[_0x3a17b2(0x1e4)],_0x32b6cb[_0x3a17b2(0x270)]=[{'backtrace':_0x559a2e[_0x3a17b2(0x1b5)][_0x3a17b2(0x181)]?_0x559a2e[_0x3a17b2(0x1b5)][_0x3a17b2(0x181)][_0x3a17b2(0x191)]('\x0a'):[_0x559a2e[_0x3a17b2(0x1b5)]['message']||''],'expanded':[]}]),_0x3f8039['irEpf'](emitTest,HookState[_0x3a17b2(0x204)],_0x559a2e,_0x3157e2,_0x2a2a3d,_0x32b6cb);});else{const _0x1b478b=_0x5da5f2[_0x5dc80d(0x27b)](uuidv4),_0x2191e3=_0x3157e2[_0x5dc80d(0x21e)],_0x1d1ac5=_0x5da5f2['fpQOU'](_0x2191e3,null)&&_0x5da5f2[_0x5dc80d(0x1cf)](_0x2191e3,0xc8)&&_0x5da5f2[_0x5dc80d(0x24c)](_0x2191e3,0x190),_0x4a7093=_0x3157e2[_0x5dc80d(0x1fc)]+_0x5dc80d(0x186)+_0x5da5f2[_0x5dc80d(0x1e8)](_0x2191e3,_0x5da5f2['wlzpc'])+')',_0x25eedd={'uuid':_0x1b478b,'name':_0x4a7093,'identifier':_0x3157e2[_0x5dc80d(0x23e)]['concat']([_0x4a7093])['join']('\x20')},_0x39a333={'finishedAt':_0x33bc4f[_0x5dc80d(0x241)](),'durationMs':_0x2bdbec,'result':_0x1d1ac5?_0x5da5f2['bILMP']:_0x5da5f2['UNmrO']};!_0x1d1ac5&&(_0x39a333[_0x5dc80d(0x1ee)]=_0x5da5f2[_0x5dc80d(0x18f)](_0x2191e3,null)?_0x5dc80d(0x1f7)+_0x2191e3+_0x5dc80d(0x1d0):_0x5da5f2[_0x5dc80d(0x268)],_0x39a333[_0x5dc80d(0x1b2)]=_0x5da5f2[_0x5dc80d(0x1dc)],_0x39a333[_0x5dc80d(0x270)]=[{'backtrace':[_0x39a333['failureReason']],'expanded':[]}]);_0x5da5f2[_0x5dc80d(0x20f)](emitTest,HookState[_0x5dc80d(0x22c)],_0x25eedd,_0x3157e2,_0x2a2a3d,{}),_0x3157e2[_0x5dc80d(0x1c1)][_0x5dc80d(0x1de)](_0x28ba7b=>{const _0x2deb9f=_0x5dc80d;_0x3f8039[_0x2deb9f(0x248)](emitLog,_0x1b478b,{'kind':_0x3f8039[_0x2deb9f(0x208)],'message':_0x28ba7b[_0x2deb9f(0x1e2)],'level':_0x28ba7b[_0x2deb9f(0x224)]});});if(_0x3157e2[_0x5dc80d(0x1b6)]){_0x5da5f2['ENtYM'](emitLog,_0x1b478b,{'kind':_0x5da5f2[_0x5dc80d(0x180)],'http_response':_0x3157e2[_0x5dc80d(0x1b6)]});const _0x56335c=_0x5da5f2[_0x5dc80d(0x23a)](_0x5da5f2[_0x5dc80d(0x197)](_0x5da5f2[_0x5dc80d(0x18c)](_0x5da5f2['qFTJn'](_0x5da5f2[_0x5dc80d(0x238)](_0x5da5f2[_0x5dc80d(0x210)](_0x5da5f2[_0x5dc80d(0x210)](_0x5da5f2[_0x5dc80d(0x1ec)](_0x3157e2[_0x5dc80d(0x1b6)]['method']||_0x5da5f2[_0x5dc80d(0x19c)],'\x20'),_0x3157e2[_0x5dc80d(0x1b6)]['host']),_0x3157e2['httpLog']['path']),_0x5da5f2[_0x5dc80d(0x1f3)]),_0x3157e2[_0x5dc80d(0x1b6)][_0x5dc80d(0x26f)]),'\x20('),_0x3157e2[_0x5dc80d(0x1b6)][_0x5dc80d(0x1d8)]),_0x5da5f2[_0x5dc80d(0x195)]);_0x5da5f2[_0x5dc80d(0x1cd)](emitLog,_0x1b478b,{'kind':_0x5da5f2[_0x5dc80d(0x263)],'message':_0x56335c,'level':_0x5da5f2[_0x5dc80d(0x27a)]});}else _0x5da5f2[_0x5dc80d(0x234)](emitLog,_0x1b478b,{'kind':_0x5da5f2['VVFeg'],'message':_0x5da5f2[_0x5dc80d(0x255)](_0x5da5f2[_0x5dc80d(0x262)](_0x5da5f2[_0x5dc80d(0x21d)],_0x5da5f2[_0x5dc80d(0x250)](_0x2191e3,_0x5da5f2[_0x5dc80d(0x1ad)])),_0x5da5f2[_0x5dc80d(0x1f0)]),'level':_0x5da5f2[_0x5dc80d(0x27a)]});_0x5da5f2['sAFHS'](emitTest,HookState[_0x5dc80d(0x204)],_0x25eedd,_0x3157e2,_0x2a2a3d,_0x39a333);}_0x594164[_0x5dc80d(0x19d)](_0x3e32f7),_0x37b9bc['cursor']&&_0x37b9bc[_0x5dc80d(0x233)][_0x5dc80d(0x1c7)]&&_0x594164[_0x5dc80d(0x19d)](_0x37b9bc['cursor']['ref']+'_'+_0x7ca84c);}catch(_0xb97cff){_0x5da5f2[_0x5dc80d(0x183)](debug,_0x5dc80d(0x1b9)+_0xb97cff);}});}module['exports']=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';function a45_0x8677(_0x5e9e3d,_0xd94e53){const _0x334b87=a45_0x334b();return a45_0x8677=function(_0x8677ae,_0x45c413){_0x8677ae=_0x8677ae-0x151;let _0x12d0f7=_0x334b87[_0x8677ae];return _0x12d0f7;},a45_0x8677(_0x5e9e3d,_0xd94e53);}const a45_0x17f533=a45_0x8677;function a45_0x334b(){const _0x37b1e9=['../v2/browserstackCLI','bind','reporter','concat','102402rJdHph','error','write','length','[Newman]\x20scriptRunner:\x20no\x20script\x20file\x20provided\x0a','1581828zpZdbW','newman-reporter-browserstack','XbFak','2154MmeDNt','1049058srGMKO','MITuC','5312870hikqot','468199rBFZUW','collectionPath','DwhLC','stderr','OfzFB','MHnDZ','beforeExit','LiqTz','KLAXn','ggqVF','nQAmG','newman','create','iUdDU','xKxNl','reporters','qSCgH','_load','[Newman]\x20scriptRunner:\x20failed\x20to\x20load\x20script:\x20','path','p-limit','browserstack','exitCode','_resolveFilename','bNaYT','assign','4pMwhVD','getInstance','9632zFeETo','nGEvh','qNfpk','bootstrap','failures','aVIXb','328oDpYyq','indexOf','CovRi','join','cli','aFgkc','YqJqI','argv','run','collection','yMktn','call','1877630zRvmEX','xnHve'];a45_0x334b=function(){return _0x37b1e9;};return a45_0x334b();}(function(_0x6288df,_0x2abe7d){const _0xbc4ae6=a45_0x8677,_0xe5f232=_0x6288df();while(!![]){try{const _0x3a0b40=parseInt(_0xbc4ae6(0x187))/0x1+parseInt(_0xbc4ae6(0x184))/0x2+-parseInt(_0xbc4ae6(0x180))/0x3+-parseInt(_0xbc4ae6(0x161))/0x4*(-parseInt(_0xbc4ae6(0x175))/0x5)+-parseInt(_0xbc4ae6(0x183))/0x6*(parseInt(_0xbc4ae6(0x163))/0x7)+-parseInt(_0xbc4ae6(0x169))/0x8*(-parseInt(_0xbc4ae6(0x17b))/0x9)+-parseInt(_0xbc4ae6(0x186))/0xa;if(_0x3a0b40===_0x2abe7d)break;else _0xe5f232['push'](_0xe5f232['shift']());}catch(_0x248ace){_0xe5f232['push'](_0xe5f232['shift']());}}}(a45_0x334b,0x44e5d));const path=require(a45_0x17f533(0x15a)),Module=require('module'),BrowserstackCLI=require(a45_0x17f533(0x177)),scriptFile=process[a45_0x17f533(0x170)][0x2],maxParallel=parseInt(process['argv'][0x3])||0x0;!scriptFile&&(process[a45_0x17f533(0x18a)][a45_0x17f533(0x17d)](a45_0x17f533(0x17f)),process['exit'](0x1));const reporterPath=path[a45_0x17f533(0x16c)](__dirname,a45_0x17f533(0x179),'index.js'),originalResolveFilename=Module['_resolveFilename'];Module[a45_0x17f533(0x15e)]=function(_0x1d23f7,_0x3d223d,_0x3133b5,_0x4467fe){const _0x38b586=a45_0x17f533,_0x109e7f={};_0x109e7f[_0x38b586(0x165)]=function(_0x3ca1dd,_0x5b8bcb){return _0x3ca1dd===_0x5b8bcb;},_0x109e7f[_0x38b586(0x185)]=_0x38b586(0x181);const _0x42ba1d=_0x109e7f;if(_0x42ba1d[_0x38b586(0x165)](_0x1d23f7,_0x42ba1d[_0x38b586(0x185)]))return reporterPath;return originalResolveFilename[_0x38b586(0x174)](this,_0x1d23f7,_0x3d223d,_0x3133b5,_0x4467fe);};let limit;try{const pLimit=require(a45_0x17f533(0x15b)),concurrency=maxParallel&&maxParallel>0x0?maxParallel:Infinity;limit=pLimit(concurrency);}catch(a45_0x2a17f8){limit=function(_0x2316fe){const _0x55fa29=a45_0x17f533,_0x2d5ae3={'bNaYT':function(_0x3070ac){return _0x3070ac();}};return _0x2d5ae3[_0x55fa29(0x15f)](_0x2316fe);};}let wrappedNewman=null,hasFailure=![];const originalLoad=Module[a45_0x17f533(0x158)];Module['_load']=function(_0x267b8a,_0x4a82e4,_0x502128){const _0x4efb76=a45_0x17f533,_0xcf0fe={'aFgkc':function(_0x5989e0,_0x54627d,_0x2b770f){return _0x5989e0(_0x54627d,_0x2b770f);},'qSCgH':function(_0x2df5e1,_0x4dff65){return _0x2df5e1>_0x4dff65;},'ApoOC':function(_0xa8b821,_0x165025){return _0xa8b821||_0x165025;},'nGEvh':function(_0xae463f,_0x5b903f){return _0xae463f(_0x5b903f);},'KxcSH':_0x4efb76(0x16d),'xnHve':function(_0x25142,_0x17e461){return _0x25142===_0x17e461;},'yMktn':_0x4efb76(0x15c),'aVIXb':'string','nQAmG':function(_0x43ce0b,_0x3a9c72){return _0x43ce0b!==_0x3a9c72;},'DwhLC':_0x4efb76(0x152)},_0x4bf6b2=originalLoad[_0x4efb76(0x174)](this,_0x267b8a,_0x4a82e4,_0x502128);if(_0xcf0fe[_0x4efb76(0x151)](_0x267b8a,_0xcf0fe[_0x4efb76(0x189)]))return _0x4bf6b2;if(wrappedNewman)return wrappedNewman;const _0x4d58b6=_0x4bf6b2['run'][_0x4efb76(0x178)](_0x4bf6b2);return wrappedNewman=Object[_0x4efb76(0x153)](_0x4bf6b2),wrappedNewman['run']=function(_0x1cfb1e,_0x544e36){const _0x471f3e=_0x4efb76,_0x3a7b87={'KLAXn':function(_0x99e168,_0xf984d8,_0x4caaea){const _0x3efba6=a45_0x8677;return _0xcf0fe[_0x3efba6(0x16e)](_0x99e168,_0xf984d8,_0x4caaea);},'IipOU':function(_0x1b58b9,_0x8dcade){const _0x2f9ac5=a45_0x8677;return _0xcf0fe[_0x2f9ac5(0x157)](_0x1b58b9,_0x8dcade);},'fdquM':function(_0x4587d6,_0x5559a1){return _0xcf0fe['ApoOC'](_0x4587d6,_0x5559a1);},'YqJqI':function(_0x4a3e66,_0x5b5308){const _0x14eb5b=a45_0x8677;return _0xcf0fe[_0x14eb5b(0x164)](_0x4a3e66,_0x5b5308);}};let _0xce4b3c=_0x1cfb1e[_0x471f3e(0x156)]||[_0xcf0fe['KxcSH']];_0xcf0fe['xnHve'](_0xce4b3c[_0x471f3e(0x16a)](_0xcf0fe[_0x471f3e(0x173)]),-0x1)&&(_0xce4b3c=_0xce4b3c[_0x471f3e(0x17a)]([_0xcf0fe[_0x471f3e(0x173)]]));const _0x20f9bb=_0xcf0fe[_0x471f3e(0x176)](typeof _0x1cfb1e['collection'],_0xcf0fe[_0x471f3e(0x168)])?_0x1cfb1e[_0x471f3e(0x172)]:undefined,_0x32beb9={};_0x32beb9[_0x471f3e(0x188)]=_0x20f9bb;const _0x175b15=Object[_0x471f3e(0x160)]({},_0x1cfb1e[_0x471f3e(0x179)],{'browserstack':Object[_0x471f3e(0x160)]({},_0x1cfb1e[_0x471f3e(0x179)]&&_0x1cfb1e[_0x471f3e(0x179)][_0x471f3e(0x15c)],_0x32beb9)}),_0x1bef9a={};return _0x1bef9a[_0x471f3e(0x156)]=_0xce4b3c,_0x1bef9a[_0x471f3e(0x179)]=_0x175b15,_0x1cfb1e=Object[_0x471f3e(0x160)]({},_0x1cfb1e,_0x1bef9a),_0xcf0fe[_0x471f3e(0x164)](limit,function(){const _0x3e2d8e={'CovRi':function(_0x436e3f,_0x2bbe93){return _0x3a7b87['IipOU'](_0x436e3f,_0x2bbe93);},'FrkbW':function(_0x1ccabe,_0x46a9b6){return _0x3a7b87['fdquM'](_0x1ccabe,_0x46a9b6);},'ggqVF':function(_0x290e88,_0x534acd,_0x3e80a5){const _0x26f562=a45_0x8677;return _0x3a7b87[_0x26f562(0x18f)](_0x290e88,_0x534acd,_0x3e80a5);},'xKxNl':function(_0xf06ddf,_0x5d08cd){const _0x2fe4e6=a45_0x8677;return _0x3a7b87[_0x2fe4e6(0x16f)](_0xf06ddf,_0x5d08cd);}};return new Promise(function(_0x36deee){const _0x591edc=a45_0x8677;_0x3a7b87[_0x591edc(0x18f)](_0x4d58b6,_0x1cfb1e,function(_0x94f34d,_0x229c3f){const _0x341fca=_0x591edc,_0x45dd95=_0x229c3f&&_0x229c3f[_0x341fca(0x171)]&&(_0x229c3f[_0x341fca(0x171)][_0x341fca(0x17c)]||_0x229c3f['run'][_0x341fca(0x167)]&&_0x3e2d8e[_0x341fca(0x16b)](_0x229c3f['run']['failures'][_0x341fca(0x17e)],0x0));_0x3e2d8e['FrkbW'](_0x45dd95,_0x94f34d)&&(hasFailure=!![]),_0x544e36&&_0x3e2d8e[_0x341fca(0x190)](_0x544e36,_0x94f34d,_0x229c3f),_0x3e2d8e[_0x341fca(0x155)](_0x36deee,_0x229c3f);});});});},wrappedNewman;};async function main(){const _0x24ad7d=a45_0x17f533,_0x23f10d={'MHnDZ':function(_0x322f90,_0x491518){return _0x322f90(_0x491518);},'XbFak':function(_0x1f9575,_0x1481b2){return _0x1f9575+_0x1481b2;},'iUdDU':function(_0x12cac7,_0x2c805a){return _0x12cac7+_0x2c805a;},'LiqTz':_0x24ad7d(0x159)};try{await BrowserstackCLI[_0x24ad7d(0x162)]()[_0x24ad7d(0x166)]();}catch(_0x17dafa){}try{_0x23f10d[_0x24ad7d(0x18c)](require,path['resolve'](scriptFile));}catch(_0x1715c9){process['stderr']['write'](_0x23f10d[_0x24ad7d(0x182)](_0x23f10d[_0x24ad7d(0x154)](_0x23f10d[_0x24ad7d(0x18e)],_0x1715c9['message']||_0x1715c9),'\x0a')),process['exitCode']=0x1;}}main(),process['on'](a45_0x17f533(0x18d),function(){const _0x22ff14=a45_0x17f533;hasFailure&&(process[_0x22ff14(0x15d)]=0x1);}),process['on']('exit',function(){const _0x3ed336=a45_0x17f533,_0x3e299b={};_0x3e299b[_0x3ed336(0x18b)]=function(_0x76fddb,_0xbc4f15){return _0x76fddb===_0xbc4f15;};const _0x199f8a=_0x3e299b;hasFailure&&_0x199f8a[_0x3ed336(0x18b)](process[_0x3ed336(0x15d)],0x0)&&(process[_0x3ed336(0x15d)]=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';const a46_0xf235b9=a46_0x2dda;(function(_0x38f040,_0x2b1b3a){const _0x4ef139=a46_0x2dda,_0x532ebb=_0x38f040();while(!![]){try{const _0x4e0380=-parseInt(_0x4ef139(0x1c0))/0x1*(-parseInt(_0x4ef139(0x1b1))/0x2)+-parseInt(_0x4ef139(0x1bb))/0x3*(parseInt(_0x4ef139(0x1b9))/0x4)+-parseInt(_0x4ef139(0x1ea))/0x5*(-parseInt(_0x4ef139(0x1f0))/0x6)+parseInt(_0x4ef139(0x1af))/0x7*(parseInt(_0x4ef139(0x1bc))/0x8)+parseInt(_0x4ef139(0x1b3))/0x9*(parseInt(_0x4ef139(0x1d7))/0xa)+-parseInt(_0x4ef139(0x1f2))/0xb*(parseInt(_0x4ef139(0x1fd))/0xc)+-parseInt(_0x4ef139(0x1c1))/0xd*(parseInt(_0x4ef139(0x1b5))/0xe);if(_0x4e0380===_0x2b1b3a)break;else _0x532ebb['push'](_0x532ebb['shift']());}catch(_0x177266){_0x532ebb['push'](_0x532ebb['shift']());}}}(a46_0x4733,0xb2753));const fs=require('fs'),path=require('path'),{spawn}=require(a46_0xf235b9(0x202)),logger=require(a46_0xf235b9(0x1d0))[a46_0xf235b9(0x1b6)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a46_0xf235b9(0x1d8)),constants=require(a46_0xf235b9(0x1f9)),getUserNightwatchConfigs=(_0x47f5e2,_0x57ba7a)=>{const _0x28fe6b=a46_0xf235b9,_0x2ebe54={'rnZpS':_0x28fe6b(0x1d1),'KHnoG':_0x28fe6b(0x1ed),'hWXrG':function(_0xaa87a1,_0x3be90e){return _0xaa87a1(_0x3be90e);},'RxmMG':_0x28fe6b(0x200)};let _0x4261de=null,_0xe78f75={};const _0x5bcaa3=_0x57ba7a[_0x28fe6b(0x1fe)](_0x5a2055=>_0x5a2055==='--config'),_0x211c80=!helper[_0x28fe6b(0x1f6)](_0x47f5e2[_0x28fe6b(0x1cc)])?helper['resolveWithinCwd'](_0x47f5e2[_0x28fe6b(0x1cc)]):null;!helper[_0x28fe6b(0x1f6)](_0x47f5e2[_0x28fe6b(0x1cc)])&&!_0x211c80&&logger[_0x28fe6b(0x1c8)](_0x28fe6b(0x1e0)+_0x47f5e2['config']+'\x22:\x20it\x20resolves\x20outside\x20the\x20project\x20directory.');if(_0x211c80&&fs[_0x28fe6b(0x1f8)](_0x211c80))_0x4261de=_0x211c80,_0x57ba7a['splice'](_0x5bcaa3,0x2);else{if(fs[_0x28fe6b(0x1f8)](path[_0x28fe6b(0x1e1)](process['cwd'](),_0x2ebe54[_0x28fe6b(0x1c3)])))_0x4261de=path['join'](process[_0x28fe6b(0x1e5)](),_0x2ebe54[_0x28fe6b(0x1c3)]);else fs['existsSync'](path['join'](process[_0x28fe6b(0x1e5)](),_0x2ebe54[_0x28fe6b(0x1fb)]))&&(_0x4261de=path[_0x28fe6b(0x1e1)](process['cwd'](),_0x2ebe54['KHnoG']));}return _0x4261de?(logger[_0x28fe6b(0x1c2)]('Getting\x20your\x20nightwatch\x20configs\x20from\x20'+_0x4261de),_0xe78f75=_0x2ebe54[_0x28fe6b(0x1df)](require,_0x4261de)):logger['info'](_0x2ebe54[_0x28fe6b(0x1e2)]),_0xe78f75;},removeExistingEnvs=_0x203071=>{const _0x2ee30e=a46_0xf235b9,_0x17f749={};_0x17f749[_0x2ee30e(0x1e4)]=function(_0x19cee8,_0x5ecfdb){return _0x19cee8>_0x5ecfdb;},_0x17f749[_0x2ee30e(0x1cf)]=function(_0x3e8019,_0x1f0fd6){return _0x3e8019>_0x1f0fd6;};const _0xcf3d26=_0x17f749;let _0x4c1f85=_0x203071[_0x2ee30e(0x1fe)](_0x259952=>_0x259952===_0x2ee30e(0x1ec));_0xcf3d26[_0x2ee30e(0x1e4)](_0x4c1f85,-0x1)&&_0x203071[_0x2ee30e(0x1fc)](_0x4c1f85,0x2),_0x4c1f85=_0x203071[_0x2ee30e(0x1fe)](_0x14d827=>_0x14d827==='-e'),_0xcf3d26[_0x2ee30e(0x1cf)](_0x4c1f85,-0x1)&&_0x203071[_0x2ee30e(0x1fc)](_0x4c1f85,0x2);};function run(_0x51a574,_0x110d21,_0x543977){const _0x272cc1=a46_0xf235b9,_0x4271b5={'XsUwZ':_0x272cc1(0x1c5),'SqFkr':function(_0x3884d2,_0x48c115){return _0x3884d2+_0x48c115;},'XxeNT':_0x272cc1(0x1ff),'NCKkg':function(_0x277b6b,_0x1fb719,_0x3df696){return _0x277b6b(_0x1fb719,_0x3df696);},'nkirr':_0x272cc1(0x1d5),'YHfvQ':'Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','zmgPm':function(_0x33affb,_0x2eab7b){return _0x33affb===_0x2eab7b;},'Secpz':_0x272cc1(0x1de),'tOHMC':function(_0x5cb0e4,_0x5bf1ec){return _0x5cb0e4(_0x5bf1ec);},'JyKpL':'../../index','dEVrF':function(_0x15f8e3,_0x36a1f4,_0x22d9ae,_0x17b8f4){return _0x15f8e3(_0x36a1f4,_0x22d9ae,_0x17b8f4);},'boauG':'nightwatch.cmd','GczXc':_0x272cc1(0x1ba),'JWJvi':_0x272cc1(0x1ec),'keEKq':_0x272cc1(0x1d3),'TpPKN':'close'};if(!_0x543977[_0x272cc1(0x1cc)])return;const _0x34125b=_0x4271b5[_0x272cc1(0x1e8)](getUserNightwatchConfigs,_0x51a574,_0x110d21),_0x531276={};_0x531276[_0x272cc1(0x1c6)]=![];const _0x4c28e1={};_0x4c28e1[_0x272cc1(0x1d9)]=_0x4271b5[_0x272cc1(0x1cd)],_0x4c28e1[_0x272cc1(0x1fa)]=0x1bb;const _0x1b2d41={};_0x1b2d41['webdriver']=_0x531276,_0x1b2d41[_0x272cc1(0x1b2)]=_0x4c28e1;const _0x178be9=_0x1b2d41;logger['info'](_0x4271b5[_0x272cc1(0x1ef)]);const _0x1d0f52={..._0x34125b},_0xc14104=_0x1d0f52,_0x7bdd27=helper[_0x272cc1(0x1e6)](_0x543977[_0x272cc1(0x1cc)]),_0x4f042e=[];_0x543977[_0x272cc1(0x1cc)]['platforms'][_0x272cc1(0x1d6)]((_0x66ab00,_0x47f236)=>{const _0x1d08c1=_0x272cc1;_0x7bdd27?_0x4f042e[_0x1d08c1(0x203)](helper[_0x1d08c1(0x1f1)](_0x543977[_0x1d08c1(0x1cc)],_0x4271b5[_0x1d08c1(0x1f7)],_0x47f236)):_0x4f042e['push'](helper[_0x1d08c1(0x1c9)](_0x543977['config'],_0x4271b5[_0x1d08c1(0x1f7)],_0x47f236));});const _0x36135e={},_0x1e64f2=[];_0x51a574[_0x272cc1(0x1bf)]=_0x51a574[_0x272cc1(0x1bf)]||_0x51a574['e'];const _0x14c02a=_0x51a574[_0x272cc1(0x1bf)]?_0x51a574[_0x272cc1(0x1bf)]['trim']()[_0x272cc1(0x1ad)](',')[_0x272cc1(0x1d4)](_0x104824=>_0x104824[_0x272cc1(0x1dd)]())[_0x272cc1(0x1c4)](_0xd73138=>_0xd73138!==''):[''];_0x4271b5[_0x272cc1(0x1ce)](_0x14c02a['length'],0x0)&&_0x14c02a[_0x272cc1(0x203)]('');_0x14c02a[_0x272cc1(0x1d6)](_0x486952=>{const _0x5bda4b=_0x272cc1,_0xfe773c={'gCwxB':function(_0x471aea,_0x4f2620){return _0x4271b5['SqFkr'](_0x471aea,_0x4f2620);},'PGGuJ':_0x4271b5['XxeNT']};_0x4f042e[_0x5bda4b(0x1d6)](_0x4101b8=>{const _0x4cf2a0=_0x5bda4b;let _0x26bd09=_0xfe773c['gCwxB'](helper[_0x4cf2a0(0x1f4)](_0x4101b8,'_'),'_'+Date[_0x4cf2a0(0x201)]());_0x486952&&(_0x26bd09+='_'+_0x486952);if(_0x486952&&(!_0x34125b[_0xfe773c[_0x4cf2a0(0x1e9)]]||!_0x34125b[_0xfe773c[_0x4cf2a0(0x1e9)]][_0x486952]))return;const _0x2edc48={..._0x178be9};_0x2edc48[_0x4cf2a0(0x1b4)]=_0x4101b8;const _0x1c64bc=_0x2edc48;_0x36135e[_0x26bd09]=_0x486952?helper[_0x4cf2a0(0x1da)](_0x34125b[_0xfe773c['PGGuJ']][_0x486952],_0x1c64bc):_0x1c64bc,_0x1e64f2[_0x4cf2a0(0x203)](_0x26bd09);});});!_0xc14104[_0x272cc1(0x1ff)]&&(_0xc14104[_0x272cc1(0x1ff)]={});_0xc14104[_0x272cc1(0x1ff)]={..._0xc14104[_0x272cc1(0x1ff)],..._0x36135e};const _0x319f9e=path[_0x272cc1(0x1e1)](__dirname,_0x4271b5[_0x272cc1(0x1db)]);fs[_0x272cc1(0x1f3)](_0x319f9e,JSON['stringify'](_0xc14104)),_0x4271b5['tOHMC'](removeExistingEnvs,_0x110d21);const _0x3a9c62=require[_0x272cc1(0x1e3)](_0x4271b5[_0x272cc1(0x1c7)]),_0x473fc5=process['env'][_0x272cc1(0x1eb)]||'',_0x2346ea=_0x272cc1(0x1cb)+JSON[_0x272cc1(0x1b0)](_0x3a9c62),_0x4a8252=_0x473fc5?_0x473fc5+'\x20'+_0x2346ea:_0x2346ea,_0x15249a=Object[_0x272cc1(0x1be)]({},process[_0x272cc1(0x1bf)],{'NODE_OPTIONS':_0x4a8252,'BROWSERSTACK_FRAMEWORK':process[_0x272cc1(0x1bf)][_0x272cc1(0x1b7)]||_0x4271b5[_0x272cc1(0x1f7)]}),_0x39af5a=_0x4271b5[_0x272cc1(0x1e7)](spawn,/^win/['test'](process[_0x272cc1(0x204)])?_0x4271b5['boauG']:_0x4271b5['XsUwZ'],[_0x4271b5[_0x272cc1(0x1f5)],_0x319f9e,..._0x110d21[_0x272cc1(0x1ee)](0x1),_0x4271b5[_0x272cc1(0x1b8)],_0x1e64f2[_0x272cc1(0x1e1)](',')],{'stdio':_0x4271b5[_0x272cc1(0x1ca)],'env':_0x15249a});_0x39af5a['on'](_0x4271b5[_0x272cc1(0x1dc)],async _0x31a95d=>{const _0x2e7c63=_0x272cc1;logger['debug'](_0x2e7c63(0x1bd)+_0x31a95d),logger[_0x2e7c63(0x1c2)]('Deleting\x20'+_0x319f9e),fs[_0x2e7c63(0x1d2)](_0x319f9e);});}module[a46_0xf235b9(0x1ae)]=run;function a46_0x2dda(_0x41f77f,_0x198ba9){const _0x47334a=a46_0x4733();return a46_0x2dda=function(_0x2dda4d,_0x187cbf){_0x2dda4d=_0x2dda4d-0x1ad;let _0x3e3fdf=_0x47334a[_0x2dda4d];return _0x3e3fdf;},a46_0x2dda(_0x41f77f,_0x198ba9);}function a46_0x4733(){const _0x15bfc3=['20WpVMSE','NODE_OPTIONS','--env','nightwatch.json','slice','YHfvQ','122052VJTSBf','modifyBrowserStackW3CCaps','1474nCUXFZ','writeFileSync','getPlatformName','GczXc','isUndefined','XsUwZ','existsSync','../utils/constants','port','KHnoG','splice','30012POFYYc','findIndex','test_settings','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','now','child_process','push','platform','split','exports','6444487HCGoaH','stringify','94JOZRnF','selenium','76797eeXvOp','desiredCapabilities','266nDaULp','winstonLogger','BROWSERSTACK_FRAMEWORK','JWJvi','1385740aDEoON','--config','3NQdKQf','8MXsjuD','child\x20process\x20exited\x20with\x20code\x20','assign','env','3029jZFnWH','686439GWHXlv','info','rnZpS','filter','nightwatch','start_process','JyKpL','warn','modifyBrowserStackCaps','keEKq','--require\x20','config','nkirr','zmgPm','MWBAG','../../helpers/logger','nightwatch.conf.js','unlinkSync','inherit','map','hub.browserstack.com','forEach','1490atPPFK','../../helpers/helper','host','mergeDeep','Secpz','TpPKN','trim','nightwatch-browserstack.json','hWXrG','Ignoring\x20--config\x20path\x20\x22','join','RxmMG','resolve','xPNsU','cwd','useW3C','dEVrF','NCKkg','PGGuJ'];a46_0x4733=function(){return _0x15bfc3;};return a46_0x4733();}
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;