browserstack-node-sdk 1.58.0 → 1.60.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (217) 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 +3 -3
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/assets/report.html +1 -1
  43. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  44. package/src/bin/codeceptjs/command.js +1 -1
  45. package/src/bin/codeceptjs/helper.js +1 -1
  46. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  47. package/src/bin/cucumber-js/command.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  49. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  50. package/src/bin/cucumber-js/test-observability.js +1 -1
  51. package/src/bin/cucumber-js/test.setup.js +1 -1
  52. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  53. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  54. package/src/bin/integrations/command.js +1 -1
  55. package/src/bin/integrations/constants.js +1 -1
  56. package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
  57. package/src/bin/jasmine/command.js +1 -1
  58. package/src/bin/jasmine/test.setup.js +1 -1
  59. package/src/bin/jasmine/testRunMap.js +1 -1
  60. package/src/bin/jest/command.js +1 -1
  61. package/src/bin/jest/customImplements/customCircus.js +1 -1
  62. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  63. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  64. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  65. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  66. package/src/bin/jest/jest.setup.js +1 -1
  67. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  68. package/src/bin/jest/test-observability/helper.js +1 -1
  69. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  70. package/src/bin/jest/test-observability/test-details.js +1 -1
  71. package/src/bin/jest/test.setup.js +1 -1
  72. package/src/bin/jest/test_before.setup.js +1 -1
  73. package/src/bin/launcher/launcher.js +1 -1
  74. package/src/bin/load/index.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/state/automationFrameworkState.js +1 -1
  155. package/src/bin/v2/state/hookState.js +1 -1
  156. package/src/bin/v2/state/testFrameworkState.js +1 -1
  157. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  158. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  159. package/src/bin/v2/utils/jest-utils.js +1 -1
  160. package/src/bin/vanilla-js/command.js +1 -1
  161. package/src/browserStackSdk.js +1 -1
  162. package/src/helpers/BrowserStackSetup.js +1 -1
  163. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  164. package/src/helpers/accessibility-automation/constants.js +1 -1
  165. package/src/helpers/accessibility-automation/helper.js +1 -1
  166. package/src/helpers/accessibility-automation/scripts.js +1 -1
  167. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  168. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  169. package/src/helpers/ats/constants.js +1 -1
  170. package/src/helpers/ats/helper.js +1 -1
  171. package/src/helpers/caCertHelper.js +1 -1
  172. package/src/helpers/capsMapping.js +1 -1
  173. package/src/helpers/central-scanner/constants.js +1 -1
  174. package/src/helpers/central-scanner/helpers.js +1 -1
  175. package/src/helpers/classLogger.js +1 -1
  176. package/src/helpers/driverInitErrorReporter.js +1 -1
  177. package/src/helpers/globals.js +1 -1
  178. package/src/helpers/helper.js +1 -1
  179. package/src/helpers/logger.js +1 -1
  180. package/src/helpers/metadata.js +1 -1
  181. package/src/helpers/patchHelper.js +1 -1
  182. package/src/helpers/patchHelpers.js +1 -1
  183. package/src/helpers/percy/Percy.js +1 -1
  184. package/src/helpers/percy/PercyBinary.js +1 -1
  185. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  186. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  187. package/src/helpers/percy/PercySDK.js +1 -1
  188. package/src/helpers/percy/index.js +1 -1
  189. package/src/helpers/percy/utils.js +1 -1
  190. package/src/helpers/performance/constants.js +1 -1
  191. package/src/helpers/performance/performance-tester.js +1 -1
  192. package/src/helpers/playwright-helper.js +1 -1
  193. package/src/helpers/processHelper.js +1 -1
  194. package/src/helpers/puppeteer-helper.js +1 -1
  195. package/src/helpers/request-spy.js +1 -1
  196. package/src/helpers/setKeepAlive.js +1 -1
  197. package/src/helpers/stackFrameUtils.js +1 -1
  198. package/src/helpers/test-observability/constants.js +1 -1
  199. package/src/helpers/test-observability/error-handler.js +1 -1
  200. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  201. package/src/helpers/test-observability/sessionHandler.js +1 -1
  202. package/src/helpers/test-observability/utils.js +1 -1
  203. package/src/helpers/test-orchestration/constants.js +1 -1
  204. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  205. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  206. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  207. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  208. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  209. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  210. package/src/helpers/testhub/constants.js +1 -1
  211. package/src/helpers/testhub/testhubHandler.js +1 -1
  212. package/src/helpers/testhub/utils.js +1 -1
  213. package/src/helpers/timeoutPromise.js +1 -1
  214. package/src/helpers/utilities.js +1 -1
  215. package/src/helpers/w3cMapping.js +1 -1
  216. package/src/hubAllocationMethods.js +1 -1
  217. package/src/index.js +1 -1
@@ -1 +1 @@
1
- 'use strict';const a43_0x3d1610=a43_0x3672;(function(_0x4005f3,_0x3a17c9){const _0x544fcd=a43_0x3672,_0x261107=_0x4005f3();while(!![]){try{const _0x3538ac=parseInt(_0x544fcd(0x246))/0x1*(-parseInt(_0x544fcd(0x1cc))/0x2)+-parseInt(_0x544fcd(0x276))/0x3+-parseInt(_0x544fcd(0x1d0))/0x4+parseInt(_0x544fcd(0x1c7))/0x5+parseInt(_0x544fcd(0x218))/0x6+-parseInt(_0x544fcd(0x287))/0x7*(parseInt(_0x544fcd(0x24e))/0x8)+parseInt(_0x544fcd(0x26f))/0x9;if(_0x3538ac===_0x3a17c9)break;else _0x261107['push'](_0x261107['shift']());}catch(_0x1c2153){_0x261107['push'](_0x261107['shift']());}}}(a43_0x55f5,0x634ed));const path=require(a43_0x3d1610(0x1e6)),{v4:uuidv4}=require(a43_0x3d1610(0x1dd)),SessionHandler=require(a43_0x3d1610(0x231)),{debug}=require(a43_0x3d1610(0x1ba)),logger=require(a43_0x3d1610(0x1d3))['winstonLogger'],BrowserstackCLI=require(a43_0x3d1610(0x280)),GrpcClient=require(a43_0x3d1610(0x266)),TestFrameworkState=require(a43_0x3d1610(0x1bc)),HookState=require(a43_0x3d1610(0x22e)),LOG_LEVELS=[a43_0x3d1610(0x290),a43_0x3d1610(0x1ef),a43_0x3d1610(0x1d9),'DEBUG','TRACE'];function isCLIRunning(){const _0x530716=a43_0x3d1610;try{return BrowserstackCLI[_0x530716(0x1da)]()[_0x530716(0x282)]();}catch(_0x40a56c){return![];}}function a43_0x3672(_0x4faa5b,_0x2ef200){const _0x55f561=a43_0x55f5();return a43_0x3672=function(_0x367272,_0x50868a){_0x367272=_0x367272-0x19f;let _0x285a3f=_0x55f561[_0x367272];return _0x285a3f;},a43_0x3672(_0x4faa5b,_0x2ef200);}function getParentTitles(_0x418bb8){const _0x32b2ec=a43_0x3d1610,_0x37c799={'brZGS':function(_0x4e5f94,_0x203c5e){return _0x4e5f94(_0x203c5e);},'KzNYv':function(_0x1cad11,_0x2ab508){return _0x1cad11(_0x2ab508);}},_0x1988d5=[],_0x4ec921=_0x418bb8[_0x32b2ec(0x25b)]();return _0x4ec921&&_0x1988d5[_0x32b2ec(0x252)][_0x32b2ec(0x254)](_0x1988d5,_0x37c799[_0x32b2ec(0x23b)](getParentTitles,_0x4ec921)),_0x418bb8[_0x32b2ec(0x235)]&&_0x1988d5[_0x32b2ec(0x252)](_0x37c799[_0x32b2ec(0x1bd)](String,_0x418bb8[_0x32b2ec(0x235)])),_0x1988d5;}function a43_0x55f5(){const _0x3a72ec=['ZPxHg','MooYP','bs:addLog:','aigvo','logs','responseTime','koErF','../../v2/grpcClient','Lxnau','eROeq','HTTP\x20','error','timestamp','IxYPt','CRcKR','):\x20','13025916sQBXow','beforeIteration','SZWHK','Assertion\x20','startedAt','WctRN','failureType','2255223ZmGBEi','RrDZc','UnhandledError','zKZJK','YWqYE','resolve','LJQGp','method','Script\x20error\x20(','collectionName','../../v2/browserstackCLI','tDHsr','isRunning','unknown','jisLP','dsUdo','ATUYT','28315XnDTiD','TestRunStarted','idWUZ','LdYGI','HDmKy','pyJdb','testFrameworkVersion','IXEcu','YDkfc','INFO','err','Sklgx','FCZCf','object','result','ref','vPGTJ','execution','test_run_uuid','split','beforeItem','WVaxr','YUtXR','WHGss','http_response','[Newman\x20Reporter]\x20Error\x20in\x20bs:addLog\x20handler:\x20','trackEvent','xOSok','pid','duration_ms','ehOtc','[Newman\x20Reporter]\x20emitLog\x20error:\x20','JrZWT','item','test_run','LogCreated','jjigd','OiJfy','failure','passed','concat','toUpperCase','Kelbo','UPWyP','iteration','cursor','PXBJk','../../../helpers/test-observability/utils','newman','../../v2/state/testFrameworkState','KzNYv','RxjrI','XVsyU','messages','identifier','location','tgGtA','forEach','EEegK','[Newman\x20Reporter]\x20Error\x20in\x20script:\x20','1887750xPtAFz','TEST_LOG','ZUkOh','\x20—\x20response\x20status\x20in\x20failure\x20range','level','3490tglPQZ','lVGHG','VDXMg','console','1280552yRofZn','bSuXX','scopes','../../../helpers/logger','FGoCS','UPjcE','Kpqhi','collection','host','ERROR','getInstance','lastResponseCode','vqiyD','uuid','info','kzpuv','ZcovH','toString','toISOString','IldCJ','startsWith','ciYyU','path','nJCmU','getTime','ZlWBQ','response','vmzIw','[Newman\x20Reporter]\x20Error\x20in\x20assertion:\x20','FKERi','set','WARN','oJzWV','status_code','testFrameworkState','assertion','durationMs','ms)','HDJjk','[Newman\x20Reporter]\x20Error\x20in\x20exception:\x20','HWdIu','POST','stringify','N/A','join','finishedAt','http://','includes','event_type','collectionPath','\x20(HTTP\x20','HHIUe','assertions','IkQyV','failure_reason_expanded','ofCCp','failed','kind','McgcB','JqaFD','QHuos','wXNAL','LKxZZ','[Newman\x20Reporter]\x20emitTest\x20error:\x20','startTimestamp','HTTP','MovXd','TpgWp','removeListener','zpfct','nPGAv','uploadEventData','2724810vjGpRu','expanded','HkpQL','\x20(no\x20assertions)','kszCF','TestRunFinished','code','message','sojOQ','length','stack','nDTiy','No\x20HTTP\x20response\x20received','MzAKA','exports','[Newman\x20Reporter]\x20Error\x20in\x20item:\x20','script','YENEs','failureReason','zFQET','headers','listen','../../v2/state/hookState','url','request','../../../helpers/test-observability/sessionHandler','fFxUC','relative','TEST','name','MNEKK','bufferedLogs','ifyDg','backtrace','search','brZGS','vbtqw','xUZHR','PRE','GET','now','hostname','BPJcU','clear','BAuAn','slice','104GiMdYg','http','gFxOO','GvccG','dkcql','cwd','\x20->\x20','ckCiU','1224qbuDkA','get','platformIndex','delete','push','pathname','apply','run','HwAiU','[Newman\x20Reporter]\x20Could\x20not\x20resolve\x20collection\x20file\x20path,\x20falling\x20back\x20to\x20collection.json','event','fjCRi','NBnhZ','parent','fjeDN','httpLog','logCreatedEvent'];a43_0x55f5=function(){return _0x3a72ec;};return a43_0x55f5();}function normalizeLogLevel(_0x3eec33){const _0x274e58=a43_0x3d1610,_0x3d5443={};_0x3d5443[_0x274e58(0x28b)]=_0x274e58(0x290),_0x3d5443[_0x274e58(0x1d1)]=function(_0x523259,_0x268cb6){return _0x523259!==_0x268cb6;};const _0x722b17=_0x3d5443;if(!_0x3eec33)return _0x722b17['HDmKy'];const _0x26e1f3=_0x3eec33[_0x274e58(0x1b4)]();return _0x722b17[_0x274e58(0x1d1)](LOG_LEVELS['indexOf'](_0x26e1f3),-0x1)?_0x26e1f3:_0x722b17[_0x274e58(0x28b)];}function resolveCollectionFile(_0x227656,_0x3672af){const _0x46c5d0=a43_0x3d1610,_0x3f9ac4={};_0x3f9ac4[_0x46c5d0(0x25c)]=function(_0x2aa315,_0x15963b){return _0x2aa315===_0x15963b;},_0x3f9ac4[_0x46c5d0(0x1d5)]='string',_0x3f9ac4[_0x46c5d0(0x265)]=_0x46c5d0(0x255),_0x3f9ac4[_0x46c5d0(0x1b9)]=function(_0xd85df9,_0x22421e){return _0xd85df9!==_0x22421e;},_0x3f9ac4[_0x46c5d0(0x1a9)]=function(_0x2f4527,_0x1fa617){return _0x2f4527<_0x1fa617;},_0x3f9ac4['vbtqw']=function(_0x18a0f3,_0x35e77d){return _0x18a0f3+_0x35e77d;},_0x3f9ac4[_0x46c5d0(0x20b)]=function(_0x28466a,_0x425321){return _0x28466a+_0x425321;},_0x3f9ac4[_0x46c5d0(0x229)]=_0x46c5d0(0x257),_0x3f9ac4[_0x46c5d0(0x26c)]='collection.json';const _0x3ec275=_0x3f9ac4;try{if(_0x3672af&&_0x3672af[_0x46c5d0(0x201)])return path[_0x46c5d0(0x233)](process[_0x46c5d0(0x24b)](),path[_0x46c5d0(0x27b)](_0x3672af[_0x46c5d0(0x201)]));const _0x515243=_0x227656['collection'];if(_0x3ec275[_0x46c5d0(0x25c)](typeof _0x515243,_0x3ec275[_0x46c5d0(0x1d5)]))return path[_0x46c5d0(0x233)](process[_0x46c5d0(0x24b)](),path['resolve'](_0x515243));const _0x4be4c1=process['argv']['indexOf'](_0x3ec275[_0x46c5d0(0x265)]);if(_0x3ec275[_0x46c5d0(0x1b9)](_0x4be4c1,-0x1)&&_0x3ec275[_0x46c5d0(0x1a9)](_0x3ec275[_0x46c5d0(0x23c)](_0x4be4c1,0x1),process['argv'][_0x46c5d0(0x221)])){const _0xf79f76=process['argv'][_0x3ec275[_0x46c5d0(0x20b)](_0x4be4c1,0x1)];if(_0xf79f76&&!_0xf79f76[_0x46c5d0(0x1e4)]('-'))return path['relative'](process['cwd'](),path['resolve'](_0xf79f76));}}catch(_0x1517f4){}return logger['info'](_0x3ec275[_0x46c5d0(0x229)]),_0x3ec275['IxYPt'];}function resolveCollectionName(_0x3c9342){const _0x4c7119=a43_0x3d1610,_0x2df1f5={};_0x2df1f5['IkQyV']=function(_0x3652cd,_0x1e740a){return _0x3652cd===_0x1e740a;},_0x2df1f5['SZWHK']=_0x4c7119(0x294);const _0x471572=_0x2df1f5;try{const _0x50c76e=_0x3c9342[_0x4c7119(0x1d7)];if(_0x50c76e&&_0x471572[_0x4c7119(0x205)](typeof _0x50c76e,_0x471572[_0x4c7119(0x271)]))return _0x50c76e[_0x4c7119(0x235)]||_0x50c76e[_0x4c7119(0x1de)]&&_0x50c76e[_0x4c7119(0x1de)][_0x4c7119(0x235)]||null;}catch(_0x35f5e4){}return null;}function emitTest(_0x4b02ae,_0x31e315,_0x4815ba,_0x1bb1c9,_0x3afbd1){const _0x41df0f=a43_0x3d1610,_0x475d97={'zFQET':function(_0x48bc49){return _0x48bc49();},'zxcBd':'pending','qqwac':function(_0x31b739,_0x55c9c4){return _0x31b739(_0x55c9c4);},'jjigd':_0x41df0f(0x1bb),'QHuos':'javascript','XbAqL':function(_0x350a5a,_0x554597){return _0x350a5a!=_0x554597;},'Sklgx':function(_0x17f85c,_0x1496d1){return _0x17f85c===_0x1496d1;},'idWUZ':_0x41df0f(0x288),'HDJjk':_0x41df0f(0x21d)};if(_0x475d97[_0x41df0f(0x22b)](isCLIRunning))try{const _0x387c49=BrowserstackCLI[_0x41df0f(0x1da)]()['getTestFramework']();if(!_0x387c49)return;_0x387c49[_0x41df0f(0x1a5)](TestFrameworkState[_0x41df0f(0x234)],_0x4b02ae,{'test':{'uuid':_0x31e315['uuid'],'name':_0x31e315[_0x41df0f(0x235)],'scopes':_0x4815ba[_0x41df0f(0x1d2)],'scope':_0x4815ba[_0x41df0f(0x1d2)][_0x41df0f(0x1fc)]('\x20'),'file_path':_0x1bb1c9,'location':_0x4815ba[_0x41df0f(0x27f)],'started_at':_0x4815ba[_0x41df0f(0x273)],'finished_at':_0x3afbd1['finishedAt']||null,'result':_0x3afbd1[_0x41df0f(0x295)]||_0x475d97['zxcBd'],'failure':_0x3afbd1[_0x41df0f(0x1b1)]||[],'failure_type':_0x3afbd1[_0x41df0f(0x275)]||null,'failure_reason':_0x3afbd1[_0x41df0f(0x22a)]||null,'tags':[],'meta':{},'custom_metadata':{}}});}catch(_0xee2893){_0x475d97['qqwac'](debug,_0x41df0f(0x20f)+_0xee2893);}else{const _0x3698af={'uuid':_0x31e315[_0x41df0f(0x1dd)],'name':_0x31e315[_0x41df0f(0x235)],'framework':_0x475d97[_0x41df0f(0x1af)],'body':{'lang':_0x475d97[_0x41df0f(0x20c)],'code':null},'scope':_0x4815ba[_0x41df0f(0x1d2)][_0x41df0f(0x1fc)]('\x20'),'scopes':_0x4815ba[_0x41df0f(0x1d2)],'identifier':_0x31e315['identifier'],'file_name':_0x4815ba[_0x41df0f(0x27f)],'vc_filepath':_0x4815ba['location'],'location':_0x4815ba[_0x41df0f(0x1c2)],'started_at':_0x4815ba[_0x41df0f(0x273)],'finished_at':_0x3afbd1[_0x41df0f(0x1fd)]||null,'duration_in_ms':_0x475d97['XbAqL'](_0x3afbd1[_0x41df0f(0x1f4)],null)?Math['max'](0x0,_0x3afbd1[_0x41df0f(0x1f4)]):null,'result':_0x3afbd1[_0x41df0f(0x295)]||_0x475d97['zxcBd'],'failure_reason':_0x3afbd1['failureReason']||null,'failure_type':_0x3afbd1[_0x41df0f(0x275)]||null,'failure':_0x3afbd1['failure']||[],'retry_of':null,'hooks':[]};_0x3698af[_0x41df0f(0x1b1)][0x0]&&(_0x3698af['failure_backtrace']=_0x3698af[_0x41df0f(0x1b1)][0x0][_0x41df0f(0x239)],_0x3698af[_0x41df0f(0x206)]=_0x3698af[_0x41df0f(0x1b1)][0x0][_0x41df0f(0x219)]);const _0x4686a4=_0x475d97[_0x41df0f(0x292)](_0x4b02ae,HookState[_0x41df0f(0x23e)])?_0x475d97[_0x41df0f(0x289)]:_0x475d97[_0x41df0f(0x1f6)],_0x2650d1={};_0x2650d1['event_type']=_0x4686a4,_0x2650d1[_0x41df0f(0x1ad)]=_0x3698af,SessionHandler[_0x41df0f(0x217)](_0x2650d1);}}function emitLog(_0x1197f0,_0x4d15bb){const _0x23f995=a43_0x3d1610,_0x5d068f={'FKERi':_0x23f995(0x1c8),'zFwcS':function(_0x3c03f4){return _0x3c03f4();},'dsUdo':function(_0x48fe9b,_0x4aaf3d){return _0x48fe9b===_0x4aaf3d;},'oJzWV':_0x23f995(0x211),'hQDju':_0x23f995(0x1bb),'tgGtA':_0x23f995(0x234),'aigvo':_0x23f995(0x290),'hMDvV':function(_0x3aca39,_0x42abc5){return _0x3aca39(_0x42abc5);},'ABUmR':function(_0x203a5c,_0x5dc8cd){return _0x203a5c+_0x5dc8cd;},'YDkfc':_0x23f995(0x1aa),'dkcql':_0x23f995(0x1ae)},_0x13f867=_0x4d15bb[_0x23f995(0x209)]||_0x5d068f[_0x23f995(0x1ed)],_0x23d580=_0x4d15bb[_0x23f995(0x26b)]||new Date()['toISOString']();if(_0x5d068f['zFwcS'](isCLIRunning))try{const _0x3ddb98=_0x5d068f[_0x23f995(0x285)](_0x13f867,_0x5d068f[_0x23f995(0x1f0)])?JSON[_0x23f995(0x1fa)](_0x4d15bb):_0x4d15bb['message']||'',_0x788fa8={};_0x788fa8[_0x23f995(0x250)]=0x0,_0x788fa8['testFrameworkName']=_0x5d068f['hQDju'],_0x788fa8[_0x23f995(0x28d)]='',_0x788fa8[_0x23f995(0x1f2)]=_0x5d068f[_0x23f995(0x1c3)],_0x788fa8[_0x23f995(0x263)]=[{'uuid':_0x1197f0,'timestamp':_0x23d580,'kind':_0x13f867,'level':_0x4d15bb[_0x23f995(0x1cb)]||_0x5d068f[_0x23f995(0x262)],'message':_0x3ddb98}],GrpcClient['getInstance']()[_0x23f995(0x25e)](_0x788fa8);}catch(_0x369af0){_0x5d068f['hMDvV'](debug,_0x5d068f['ABUmR'](_0x5d068f[_0x23f995(0x28f)],_0x369af0));}else{const _0x1f36bc={};_0x1f36bc[_0x23f995(0x299)]=_0x1197f0,_0x1f36bc[_0x23f995(0x26b)]=_0x23d580,_0x1f36bc[_0x23f995(0x1cb)]=_0x4d15bb['level']||null,_0x1f36bc[_0x23f995(0x21f)]=_0x4d15bb[_0x23f995(0x21f)]||null,_0x1f36bc['kind']=_0x13f867,_0x1f36bc[_0x23f995(0x1a3)]=_0x4d15bb[_0x23f995(0x1a3)]||{};const _0x114328={};_0x114328[_0x23f995(0x200)]=_0x5d068f[_0x23f995(0x24a)],_0x114328['logs']=[_0x1f36bc],SessionHandler[_0x23f995(0x217)](_0x114328);}}function BrowserStackNewmanReporter(_0x597cea,_0x1aca7a,_0x247667){const _0x5a40ee=a43_0x3d1610,_0x10a5c8={'Kelbo':function(_0x2ed00e,_0x1c3d10,_0x5ce4aa){return _0x2ed00e(_0x1c3d10,_0x5ce4aa);},'nJCmU':function(_0x5b29e9,_0xac0489){return _0x5b29e9(_0xac0489);},'IXEcu':function(_0x1494ee,_0x9ebe3d){return _0x1494ee(_0x9ebe3d);},'UPWyP':function(_0x4edd85,_0x5f6a1b){return _0x4edd85>_0x5f6a1b;},'qwMIf':function(_0x7c9718,_0x41a896){return _0x7c9718(_0x41a896);},'vqiyD':_0x5a40ee(0x247),'HHIUe':function(_0x494d28,_0x31e82f){return _0x494d28+_0x31e82f;},'gFxOO':_0x5a40ee(0x23f),'XVsyU':function(_0x2f2e99,_0x5d17f7){return _0x2f2e99(_0x5d17f7);},'WctRN':_0x5a40ee(0x1c8),'xUZHR':function(_0x394a5a){return _0x394a5a();},'GvccG':function(_0x5c2ffa,_0x4f8c9e){return _0x5c2ffa||_0x4f8c9e;},'haSGE':function(_0x6d8c2f,_0x24ef55,_0x211955,_0x824281,_0x263216,_0x203da8){return _0x6d8c2f(_0x24ef55,_0x211955,_0x824281,_0x263216,_0x203da8);},'McgcB':function(_0xdfb348,_0x38c448){return _0xdfb348===_0x38c448;},'JrZWT':function(_0x480124,_0xb00739){return _0x480124>_0xb00739;},'RrDZc':_0x5a40ee(0x211),'CRcKR':function(_0x88d573,_0x55dba7){return _0x88d573+_0x55dba7;},'WVaxr':function(_0x9d1034,_0x21aea5){return _0x9d1034+_0x21aea5;},'LdYGI':function(_0x3e8961,_0x49b692){return _0x3e8961+_0x49b692;},'nDTiy':function(_0x495795,_0x584a60){return _0x495795+_0x584a60;},'fFxUC':function(_0xfefdd,_0x401503){return _0xfefdd+_0x401503;},'BAuAn':_0x5a40ee(0x24c),'RxjrI':_0x5a40ee(0x1f5),'ckCiU':_0x5a40ee(0x290),'zKZJK':function(_0x43eee3,_0x3475ae){return _0x43eee3(_0x3475ae);},'rFuFz':function(_0x95f092,_0x59d5c0){return _0x95f092-_0x59d5c0;},'tDHsr':function(_0x5f3bfc,_0x18ac0a,_0x8ede3c){return _0x5f3bfc(_0x18ac0a,_0x8ede3c);},'kszCF':function(_0x38d5d4,_0x31d7f2){return _0x38d5d4(_0x31d7f2);},'MzAKA':function(_0x41f922,_0x4e2c49){return _0x41f922(_0x4e2c49);},'pyJdb':function(_0x333f2d,_0x5d2efb){return _0x333f2d(_0x5d2efb);},'kzpuv':function(_0x3d91de,_0x3851f2){return _0x3d91de&&_0x3851f2;},'PqWJW':function(_0x29e567,_0x1cc2bd){return _0x29e567>_0x1cc2bd;},'VhZIc':'Exception:\x20','ciYyU':'ERROR','nPGAv':function(_0x340a4a,_0x1d8f4f){return _0x340a4a(_0x1d8f4f);},'lqkGB':_0x5a40ee(0x1f7),'jnHZu':function(_0x175949,_0x57c8b7){return _0x175949>_0x57c8b7;},'sojOQ':function(_0x53facd,_0xd243a6){return _0x53facd-_0xd243a6;},'ifyDg':_0x5a40ee(0x283),'LNQJm':function(_0x3efd7f,_0x4b4b8b,_0x5f57b7){return _0x3efd7f(_0x4b4b8b,_0x5f57b7);},'jisLP':function(_0x5a3bde,_0x405808){return _0x5a3bde+_0x405808;},'vmzIw':_0x5a40ee(0x27e),'eROeq':_0x5a40ee(0x26e),'Kpqhi':function(_0x575755,_0x1dc9ef){return _0x575755(_0x1dc9ef);},'ZPxHg':function(_0x2e69f3,_0x39ceac){return _0x2e69f3+_0x39ceac;},'ZlWBQ':_0x5a40ee(0x1c6),'YUtXR':_0x5a40ee(0x208),'wXNAL':_0x5a40ee(0x1b2),'BAszp':function(_0x30712c,_0x51e2e5){return _0x30712c===_0x51e2e5;},'dTUnr':'AssertionError','WHGss':'assert','IldCJ':_0x5a40ee(0x278),'vPGTJ':function(_0x1c31fe,_0x56c0e9,_0x3c4bc7,_0x1d7243,_0x4635d7,_0x567dfc){return _0x1c31fe(_0x56c0e9,_0x3c4bc7,_0x1d7243,_0x4635d7,_0x567dfc);},'LJQGp':function(_0x2faa76,_0x40fd23,_0x14d3df){return _0x2faa76(_0x40fd23,_0x14d3df);},'FGoCS':function(_0xe95152,_0x493103){return _0xe95152>_0x493103;},'HkpQL':function(_0x51d760,_0x47b35a){return _0x51d760!=_0x47b35a;},'HwAiU':function(_0x148c6e,_0x16e20e){return _0x148c6e>=_0x16e20e;},'FCZCf':function(_0x1ba8ca,_0x338465){return _0x1ba8ca<_0x338465;},'MovXd':function(_0x12fe11,_0x2789e9){return _0x12fe11||_0x2789e9;},'MooYP':_0x5a40ee(0x1fb),'YWqYE':_0x5a40ee(0x224),'MNEKK':function(_0x45ce3f,_0x192813,_0x41e8b8,_0x10842e,_0xb40b34,_0x4d37a7){return _0x45ce3f(_0x192813,_0x41e8b8,_0x10842e,_0xb40b34,_0x4d37a7);},'ATUYT':function(_0x561f16,_0x20ca1f,_0x1159b9){return _0x561f16(_0x20ca1f,_0x1159b9);},'lVGHG':function(_0x39d292,_0x52f80a){return _0x39d292+_0x52f80a;},'fjCRi':function(_0x448b3a,_0x5d9762){return _0x448b3a+_0x5d9762;},'OiJfy':function(_0x4815ab,_0x358839){return _0x4815ab+_0x358839;},'LKxZZ':function(_0x2e236a,_0x4bee71){return _0x2e236a+_0x4bee71;},'TpgWp':function(_0x1950ae,_0x572c47){return _0x1950ae+_0x572c47;},'BPJcU':function(_0xc1de8a,_0x11f115){return _0xc1de8a+_0x11f115;},'ZcovH':'HTTP\x20Status:\x20','zpfct':_0x5a40ee(0x21b),'AHVEw':function(_0x2c4470,_0x2b3626,_0x2c733a){return _0x2c4470(_0x2b3626,_0x2c733a);},'ofCCp':function(_0x4acbbf,_0x4a046f){return _0x4acbbf(_0x4a046f);},'ESSXD':'done','yceSd':_0x5a40ee(0x270),'xOSok':_0x5a40ee(0x19f),'HWdIu':_0x5a40ee(0x230),'ZUkOh':_0x5a40ee(0x1f3),'NBnhZ':_0x5a40ee(0x1cf),'EEegK':'exception','IfhTG':_0x5a40ee(0x228),'Lxnau':_0x5a40ee(0x1ac)},_0x52765c=new Map();let _0x561f78=null,_0x17394e=0x0;const _0x4ca8b4=_0x10a5c8['AHVEw'](resolveCollectionFile,_0x247667,_0x1aca7a),_0x197103=_0x10a5c8[_0x5a40ee(0x207)](resolveCollectionName,_0x247667)||_0x4ca8b4,_0x36231f=path[_0x5a40ee(0x27b)](_0x4ca8b4),_0x3cb122=_0x5a40ee(0x261)+process[_0x5a40ee(0x1a7)],_0x2305b7=_0x321e31=>{const _0x30c9f2=_0x5a40ee;try{_0x561f78&&_0x10a5c8[_0x30c9f2(0x1b5)](emitLog,_0x561f78,_0x321e31);}catch(_0x5b301c){_0x10a5c8[_0x30c9f2(0x1e7)](debug,_0x30c9f2(0x1a4)+_0x5b301c);}};process['on'](_0x3cb122,_0x2305b7),_0x597cea['on'](_0x10a5c8['ESSXD'],()=>{const _0x39d1c6=_0x5a40ee;process[_0x39d1c6(0x214)](_0x3cb122,_0x2305b7),_0x52765c[_0x39d1c6(0x243)]();}),_0x597cea['on'](_0x10a5c8['yceSd'],(_0x2a347d,_0x400de7)=>{const _0x5ce4c9=_0x5a40ee;_0x400de7&&_0x400de7[_0x5ce4c9(0x1b8)]&&(_0x17394e=_0x400de7[_0x5ce4c9(0x1b8)][_0x5ce4c9(0x1b7)]||0x0);}),_0x597cea['on'](_0x10a5c8[_0x5a40ee(0x1a6)],(_0x2b8305,_0x137191)=>{const _0x4fa80c=_0x5a40ee;try{_0x561f78=null;const _0x4c3ad6=_0x137191[_0x4fa80c(0x1ac)],_0x4648a4=_0x4c3ad6[_0x4fa80c(0x25b)]()?_0x10a5c8[_0x4fa80c(0x28e)](getParentTitles,_0x4c3ad6['parent']()):[],_0x11ac74=_0x10a5c8[_0x4fa80c(0x1b6)](_0x4648a4['length'],0x1)?_0x4648a4[_0x4fa80c(0x245)](0x1):_0x4648a4,_0x202d49=_0x137191[_0x4fa80c(0x1b8)]&&_0x137191[_0x4fa80c(0x1b8)]['ref'],_0x56d2ba={'itemName':_0x4c3ad6['name'],'scopes':_0x11ac74[_0x4fa80c(0x1b3)]([_0x4c3ad6['name']]),'location':_0x4ca8b4,'collectionName':_0x197103,'startedAt':new Date()[_0x4fa80c(0x1e2)](),'startTimestamp':Date[_0x4fa80c(0x240)](),'lastResponseCode':null,'httpLog':null,'assertions':[],'bufferedLogs':[]};_0x52765c[_0x4fa80c(0x1ee)](_0x4c3ad6['id']+'_'+_0x17394e,_0x56d2ba),_0x202d49&&_0x52765c[_0x4fa80c(0x1ee)](_0x202d49+'_'+_0x17394e,_0x56d2ba);}catch(_0x65d5f6){_0x10a5c8['qwMIf'](debug,'[Newman\x20Reporter]\x20Error\x20in\x20beforeItem:\x20'+_0x65d5f6);}}),_0x597cea['on'](_0x10a5c8[_0x5a40ee(0x1f8)],(_0x400569,_0x373aad)=>{const _0x1ae48f=_0x5a40ee;try{if(!_0x373aad||!_0x373aad[_0x1ae48f(0x1ac)])return;const _0x371f31=_0x52765c['get'](_0x373aad[_0x1ae48f(0x1ac)]['id']+'_'+_0x17394e);if(!_0x371f31)return;_0x373aad[_0x1ae48f(0x1ea)]&&(_0x371f31[_0x1ae48f(0x1db)]=_0x373aad[_0x1ae48f(0x1ea)][_0x1ae48f(0x21e)]||null);if(!_0x373aad['request'])return;let _0x193c47='',_0x2270d1='';if(_0x373aad[_0x1ae48f(0x230)][_0x1ae48f(0x22f)])try{const _0x4d6f79=_0x373aad[_0x1ae48f(0x230)][_0x1ae48f(0x22f)][_0x1ae48f(0x1e1)](),_0xf2281b=new URL(_0x4d6f79[_0x1ae48f(0x1e4)](_0x10a5c8[_0x1ae48f(0x1dc)])?_0x4d6f79:_0x1ae48f(0x1fe)+_0x4d6f79);_0x193c47=_0xf2281b[_0x1ae48f(0x241)],_0x2270d1=_0x10a5c8[_0x1ae48f(0x203)](_0xf2281b[_0x1ae48f(0x253)],_0xf2281b[_0x1ae48f(0x23a)]);}catch(_0x512b38){_0x2270d1=_0x373aad[_0x1ae48f(0x230)][_0x1ae48f(0x22f)][_0x1ae48f(0x1e1)]();}const _0x40670c={};_0x40670c[_0x1ae48f(0x1d8)]=_0x193c47,_0x40670c['path']=_0x2270d1,_0x40670c[_0x1ae48f(0x27d)]=_0x373aad[_0x1ae48f(0x230)][_0x1ae48f(0x27d)]||_0x10a5c8[_0x1ae48f(0x248)],_0x40670c[_0x1ae48f(0x22c)]={},_0x40670c[_0x1ae48f(0x1f1)]=_0x373aad[_0x1ae48f(0x1ea)]?_0x373aad[_0x1ae48f(0x1ea)][_0x1ae48f(0x21e)]||0x0:0x0,_0x40670c[_0x1ae48f(0x1a8)]=_0x373aad[_0x1ae48f(0x1ea)]?_0x373aad['response'][_0x1ae48f(0x264)]||0x0:0x0,_0x371f31[_0x1ae48f(0x25d)]=_0x40670c;}catch(_0x47594f){_0x10a5c8[_0x1ae48f(0x1bf)](debug,'[Newman\x20Reporter]\x20Error\x20in\x20request:\x20'+_0x47594f);}}),_0x597cea['on'](_0x10a5c8[_0x5a40ee(0x1c9)],(_0x143081,_0x43e237)=>{const _0x27e161=_0x5a40ee;try{if(!_0x43e237||!_0x43e237['item'])return;const _0x43cb8d=_0x52765c['get'](_0x43e237['item']['id']+'_'+_0x17394e);if(!_0x43cb8d)return;const _0x44fb9e=_0x43e237[_0x27e161(0x1f3)]||_0x27e161(0x272)+_0x10a5c8[_0x27e161(0x203)](_0x43cb8d[_0x27e161(0x204)][_0x27e161(0x221)],0x1),_0x4f9345=_0x10a5c8[_0x27e161(0x23d)](uuidv4),_0x44ac3e=_0x43cb8d[_0x27e161(0x1d2)][_0x27e161(0x1b3)]([_0x44fb9e])['join']('\x20');_0x43cb8d[_0x27e161(0x204)][_0x27e161(0x252)]({'uuid':_0x4f9345,'name':_0x44fb9e,'identifier':_0x44ac3e,'err':_0x10a5c8['GvccG'](_0x143081,null)});const _0x19fe2e={};_0x19fe2e['uuid']=_0x4f9345,_0x19fe2e[_0x27e161(0x235)]=_0x44fb9e,_0x19fe2e[_0x27e161(0x1c1)]=_0x44ac3e,_0x10a5c8['haSGE'](emitTest,HookState[_0x27e161(0x23e)],_0x19fe2e,_0x43cb8d,_0x36231f,{});_0x10a5c8[_0x27e161(0x20a)](_0x43cb8d['assertions'][_0x27e161(0x221)],0x1)&&_0x10a5c8['JrZWT'](_0x43cb8d[_0x27e161(0x237)]['length'],0x0)&&(_0x43cb8d[_0x27e161(0x237)][_0x27e161(0x1c4)](_0x2aa7e9=>{const _0x41530e=_0x27e161;_0x10a5c8['Kelbo'](emitLog,_0x4f9345,{'kind':_0x10a5c8['WctRN'],'message':_0x2aa7e9[_0x41530e(0x21f)],'level':_0x2aa7e9[_0x41530e(0x1cb)]});}),_0x43cb8d[_0x27e161(0x237)]=[]);if(_0x43cb8d[_0x27e161(0x25d)]){_0x10a5c8['Kelbo'](emitLog,_0x4f9345,{'kind':_0x10a5c8['RrDZc'],'http_response':_0x43cb8d['httpLog']});const _0x119a61=_0x10a5c8[_0x27e161(0x26d)](_0x10a5c8[_0x27e161(0x1a0)](_0x10a5c8[_0x27e161(0x28a)](_0x10a5c8[_0x27e161(0x223)](_0x10a5c8[_0x27e161(0x26d)](_0x10a5c8[_0x27e161(0x28a)](_0x10a5c8[_0x27e161(0x26d)](_0x10a5c8[_0x27e161(0x232)](_0x43cb8d['httpLog']['method']||_0x10a5c8[_0x27e161(0x248)],'\x20'),_0x43cb8d[_0x27e161(0x25d)][_0x27e161(0x1d8)]),_0x43cb8d[_0x27e161(0x25d)][_0x27e161(0x1e6)]),_0x10a5c8[_0x27e161(0x244)]),_0x43cb8d[_0x27e161(0x25d)]['status_code']),'\x20('),_0x43cb8d[_0x27e161(0x25d)][_0x27e161(0x1a8)]),_0x10a5c8['RxjrI']);_0x10a5c8[_0x27e161(0x1b5)](emitLog,_0x4f9345,{'kind':_0x10a5c8[_0x27e161(0x274)],'message':_0x119a61,'level':_0x10a5c8[_0x27e161(0x24d)]});}_0x561f78=_0x4f9345;}catch(_0x504e24){_0x10a5c8[_0x27e161(0x279)](debug,_0x27e161(0x1ec)+_0x504e24);}}),_0x597cea['on'](_0x10a5c8[_0x5a40ee(0x25a)],(_0x3dc90e,_0x311457)=>{const _0x43f72d=_0x5a40ee;try{if(!_0x311457)return;let _0x52d3da=_0x561f78;if(!_0x52d3da&&_0x311457[_0x43f72d(0x1b8)]&&_0x311457[_0x43f72d(0x1b8)][_0x43f72d(0x296)]){const _0x1fd9a0=_0x52765c[_0x43f72d(0x24f)](_0x311457[_0x43f72d(0x1b8)][_0x43f72d(0x296)]+'_'+_0x17394e);_0x1fd9a0&&_0x10a5c8[_0x43f72d(0x1ab)](_0x1fd9a0[_0x43f72d(0x204)]['length'],0x0)&&(_0x52d3da=_0x1fd9a0[_0x43f72d(0x204)][_0x10a5c8['rFuFz'](_0x1fd9a0[_0x43f72d(0x204)][_0x43f72d(0x221)],0x1)][_0x43f72d(0x1dd)]);}const _0x1fd00a=_0x311457['messages']?_0x311457[_0x43f72d(0x1c0)][_0x43f72d(0x1fc)](',\x20'):'';if(_0x52d3da)_0x10a5c8['tDHsr'](emitLog,_0x52d3da,{'kind':_0x10a5c8[_0x43f72d(0x274)],'message':_0x1fd00a,'level':_0x10a5c8[_0x43f72d(0x1bf)](normalizeLogLevel,_0x311457[_0x43f72d(0x1cb)])});else{if(_0x311457['cursor']&&_0x311457['cursor']['ref']){const _0x338b79=_0x52765c[_0x43f72d(0x24f)](_0x311457[_0x43f72d(0x1b8)]['ref']+'_'+_0x17394e);_0x338b79&&_0x338b79[_0x43f72d(0x237)][_0x43f72d(0x252)]({'timestamp':new Date()[_0x43f72d(0x1e2)](),'level':_0x10a5c8[_0x43f72d(0x21c)](normalizeLogLevel,_0x311457['level']),'message':_0x1fd00a});}}}catch(_0x43bdb3){_0x10a5c8[_0x43f72d(0x225)](debug,'[Newman\x20Reporter]\x20Error\x20in\x20console:\x20'+_0x43bdb3);}}),_0x597cea['on'](_0x10a5c8[_0x5a40ee(0x1c5)],(_0x511f05,_0x244a56)=>{const _0x5eee49=_0x5a40ee;try{if(!_0x511f05&&(!_0x244a56||!_0x244a56[_0x5eee49(0x26a)]))return;const _0x42ac77=_0x511f05||_0x244a56['error'],_0x101ec=_0x42ac77[_0x5eee49(0x21f)]||_0x10a5c8[_0x5eee49(0x28c)](String,_0x42ac77),_0x3ceb10=_0x42ac77['stack']||_0x101ec;let _0x145746=_0x561f78;if(_0x10a5c8[_0x5eee49(0x1df)](!_0x145746,_0x244a56)&&_0x244a56[_0x5eee49(0x1b8)]&&_0x244a56['cursor'][_0x5eee49(0x296)]){const _0x1561d3=_0x52765c[_0x5eee49(0x24f)](_0x244a56[_0x5eee49(0x1b8)][_0x5eee49(0x296)]+'_'+_0x17394e);_0x1561d3&&_0x10a5c8['PqWJW'](_0x1561d3['assertions'][_0x5eee49(0x221)],0x0)&&(_0x145746=_0x1561d3[_0x5eee49(0x204)][_0x10a5c8['rFuFz'](_0x1561d3[_0x5eee49(0x204)][_0x5eee49(0x221)],0x1)][_0x5eee49(0x1dd)]);}_0x145746&&_0x10a5c8[_0x5eee49(0x281)](emitLog,_0x145746,{'kind':_0x10a5c8[_0x5eee49(0x274)],'message':_0x10a5c8[_0x5eee49(0x1a0)](_0x10a5c8['VhZIc'],_0x3ceb10),'level':_0x10a5c8[_0x5eee49(0x1e5)]});}catch(_0x5a88db){_0x10a5c8[_0x5eee49(0x216)](debug,_0x10a5c8[_0x5eee49(0x26d)](_0x10a5c8['lqkGB'],_0x5a88db));}}),_0x597cea['on'](_0x10a5c8['IfhTG'],(_0x4ae7f0,_0x5a5a0c)=>{const _0x1330bd=_0x5a40ee;try{if(!_0x5a5a0c||!_0x5a5a0c[_0x1330bd(0x298)])return;let _0x3c32a7=_0x561f78;if(!_0x3c32a7&&_0x5a5a0c['cursor']&&_0x5a5a0c['cursor'][_0x1330bd(0x296)]){const _0xbc9b74=_0x52765c[_0x1330bd(0x24f)](_0x5a5a0c[_0x1330bd(0x1b8)][_0x1330bd(0x296)]+'_'+_0x17394e);_0xbc9b74&&_0x10a5c8['jnHZu'](_0xbc9b74[_0x1330bd(0x204)]['length'],0x0)&&(_0x3c32a7=_0xbc9b74[_0x1330bd(0x204)][_0x10a5c8[_0x1330bd(0x220)](_0xbc9b74[_0x1330bd(0x204)][_0x1330bd(0x221)],0x1)]['uuid']);}if(!_0x3c32a7)return;const _0x5a8261=_0x5a5a0c[_0x1330bd(0x258)]&&_0x5a5a0c[_0x1330bd(0x258)][_0x1330bd(0x22d)]||_0x10a5c8[_0x1330bd(0x238)];_0x4ae7f0&&_0x10a5c8['LNQJm'](emitLog,_0x3c32a7,{'kind':_0x10a5c8['WctRN'],'message':_0x10a5c8[_0x1330bd(0x284)](_0x10a5c8[_0x1330bd(0x223)](_0x10a5c8[_0x1330bd(0x223)](_0x10a5c8[_0x1330bd(0x1eb)],_0x5a8261),_0x10a5c8[_0x1330bd(0x268)]),_0x4ae7f0[_0x1330bd(0x21f)]||_0x4ae7f0),'level':_0x10a5c8[_0x1330bd(0x1e5)]});}catch(_0x239192){_0x10a5c8[_0x1330bd(0x1d6)](debug,_0x10a5c8[_0x1330bd(0x25f)](_0x10a5c8[_0x1330bd(0x1e9)],_0x239192));}}),_0x597cea['on'](_0x10a5c8[_0x5a40ee(0x267)],(_0x2677c7,_0x24f9b2)=>{const _0x534f9a=_0x5a40ee,_0x45306f={'FqBii':function(_0x7f2e8e,_0x27ebb7,_0x51a0a2){return _0x10a5c8['LJQGp'](_0x7f2e8e,_0x27ebb7,_0x51a0a2);},'VDXMg':_0x10a5c8[_0x534f9a(0x274)]};try{if(!_0x24f9b2||!_0x24f9b2['item'])return;const _0x5dd5c5=_0x24f9b2[_0x534f9a(0x1ac)]['id']+'_'+_0x17394e,_0x3f4ad1=_0x52765c[_0x534f9a(0x24f)](_0x5dd5c5);if(!_0x3f4ad1)return;const _0x5114dc=new Date(),_0x5b8baa=_0x10a5c8[_0x534f9a(0x220)](_0x5114dc[_0x534f9a(0x1e8)](),_0x3f4ad1[_0x534f9a(0x210)]);if(_0x10a5c8[_0x534f9a(0x1d4)](_0x3f4ad1[_0x534f9a(0x204)][_0x534f9a(0x221)],0x0))_0x3f4ad1[_0x534f9a(0x204)]['forEach'](_0xe2d638=>{const _0x244fec=_0x534f9a,_0x19529d=!!_0xe2d638[_0x244fec(0x291)],_0x299112={'finishedAt':_0x5114dc[_0x244fec(0x1e2)](),'durationMs':_0x5b8baa,'result':_0x19529d?_0x10a5c8['YUtXR']:_0x10a5c8[_0x244fec(0x20d)]};_0x19529d&&(_0x299112[_0x244fec(0x22a)]=_0xe2d638[_0x244fec(0x291)][_0x244fec(0x21f)]||'',_0x299112['failureType']=_0x10a5c8['BAszp'](_0xe2d638[_0x244fec(0x291)][_0x244fec(0x235)],_0x10a5c8['dTUnr'])||_0xe2d638[_0x244fec(0x291)][_0x244fec(0x21f)]&&_0xe2d638['err'][_0x244fec(0x21f)][_0x244fec(0x1ff)](_0x10a5c8[_0x244fec(0x1a2)])?_0x10a5c8['dTUnr']:_0x10a5c8[_0x244fec(0x1e3)],_0x299112[_0x244fec(0x1b1)]=[{'backtrace':_0xe2d638[_0x244fec(0x291)][_0x244fec(0x222)]?_0xe2d638[_0x244fec(0x291)][_0x244fec(0x222)][_0x244fec(0x29a)]('\x0a'):[_0xe2d638[_0x244fec(0x291)][_0x244fec(0x21f)]||''],'expanded':[]}]),_0x10a5c8[_0x244fec(0x297)](emitTest,HookState[_0x244fec(0x1f9)],_0xe2d638,_0x3f4ad1,_0x36231f,_0x299112);});else{const _0x61a47d=_0x10a5c8[_0x534f9a(0x23d)](uuidv4),_0x40fd0b=_0x3f4ad1[_0x534f9a(0x1db)],_0x1f42a4=_0x10a5c8['HkpQL'](_0x40fd0b,null)&&_0x10a5c8[_0x534f9a(0x256)](_0x40fd0b,0xc8)&&_0x10a5c8[_0x534f9a(0x293)](_0x40fd0b,0x190),_0x42f8a7=_0x3f4ad1['itemName']+_0x534f9a(0x202)+_0x10a5c8[_0x534f9a(0x212)](_0x40fd0b,_0x10a5c8[_0x534f9a(0x260)])+')',_0x161832={'uuid':_0x61a47d,'name':_0x42f8a7,'identifier':_0x3f4ad1[_0x534f9a(0x1d2)][_0x534f9a(0x1b3)]([_0x42f8a7])[_0x534f9a(0x1fc)]('\x20')},_0x493db9={'finishedAt':_0x5114dc[_0x534f9a(0x1e2)](),'durationMs':_0x5b8baa,'result':_0x1f42a4?_0x10a5c8[_0x534f9a(0x20d)]:_0x10a5c8[_0x534f9a(0x1a1)]};!_0x1f42a4&&(_0x493db9[_0x534f9a(0x22a)]=_0x10a5c8[_0x534f9a(0x21a)](_0x40fd0b,null)?_0x534f9a(0x269)+_0x40fd0b+_0x534f9a(0x1ca):_0x10a5c8[_0x534f9a(0x27a)],_0x493db9['failureType']=_0x10a5c8[_0x534f9a(0x1e3)],_0x493db9[_0x534f9a(0x1b1)]=[{'backtrace':[_0x493db9['failureReason']],'expanded':[]}]);_0x10a5c8[_0x534f9a(0x236)](emitTest,HookState[_0x534f9a(0x23e)],_0x161832,_0x3f4ad1,_0x36231f,{}),_0x3f4ad1[_0x534f9a(0x237)]['forEach'](_0x2036bb=>{const _0x4e24b5=_0x534f9a;_0x45306f['FqBii'](emitLog,_0x61a47d,{'kind':_0x45306f[_0x4e24b5(0x1ce)],'message':_0x2036bb['message'],'level':_0x2036bb['level']});});if(_0x3f4ad1[_0x534f9a(0x25d)]){_0x10a5c8[_0x534f9a(0x286)](emitLog,_0x61a47d,{'kind':_0x10a5c8[_0x534f9a(0x277)],'http_response':_0x3f4ad1['httpLog']});const _0x2da155=_0x10a5c8[_0x534f9a(0x1cd)](_0x10a5c8['lVGHG'](_0x10a5c8[_0x534f9a(0x259)](_0x10a5c8[_0x534f9a(0x26d)](_0x10a5c8['nDTiy'](_0x10a5c8['jisLP'](_0x10a5c8[_0x534f9a(0x1b0)](_0x10a5c8[_0x534f9a(0x20e)](_0x3f4ad1[_0x534f9a(0x25d)][_0x534f9a(0x27d)]||_0x10a5c8[_0x534f9a(0x248)],'\x20'),_0x3f4ad1[_0x534f9a(0x25d)][_0x534f9a(0x1d8)]),_0x3f4ad1['httpLog'][_0x534f9a(0x1e6)]),_0x10a5c8[_0x534f9a(0x244)]),_0x3f4ad1['httpLog']['status_code']),'\x20('),_0x3f4ad1['httpLog'][_0x534f9a(0x1a8)]),_0x10a5c8[_0x534f9a(0x1be)]);_0x10a5c8['Kelbo'](emitLog,_0x61a47d,{'kind':_0x10a5c8[_0x534f9a(0x274)],'message':_0x2da155,'level':_0x10a5c8[_0x534f9a(0x24d)]});}else _0x10a5c8[_0x534f9a(0x27c)](emitLog,_0x61a47d,{'kind':_0x10a5c8[_0x534f9a(0x274)],'message':_0x10a5c8[_0x534f9a(0x213)](_0x10a5c8[_0x534f9a(0x242)](_0x10a5c8[_0x534f9a(0x1e0)],_0x10a5c8[_0x534f9a(0x249)](_0x40fd0b,_0x10a5c8[_0x534f9a(0x260)])),_0x10a5c8[_0x534f9a(0x215)]),'level':_0x10a5c8[_0x534f9a(0x24d)]});_0x10a5c8['haSGE'](emitTest,HookState[_0x534f9a(0x1f9)],_0x161832,_0x3f4ad1,_0x36231f,_0x493db9);}_0x52765c['delete'](_0x5dd5c5),_0x24f9b2[_0x534f9a(0x1b8)]&&_0x24f9b2['cursor'][_0x534f9a(0x296)]&&_0x52765c[_0x534f9a(0x251)](_0x24f9b2['cursor'][_0x534f9a(0x296)]+'_'+_0x17394e);}catch(_0x2ad41f){_0x10a5c8[_0x534f9a(0x225)](debug,_0x534f9a(0x227)+_0x2ad41f);}});}module[a43_0x3d1610(0x226)]=BrowserStackNewmanReporter;
1
+ 'use strict';const a43_0x4ae985=a43_0x6a2d;(function(_0x16fd58,_0x47a6aa){const _0x35325d=a43_0x6a2d,_0x34d87e=_0x16fd58();while(!![]){try{const _0x4eb7a0=parseInt(_0x35325d(0x2be))/0x1*(-parseInt(_0x35325d(0x2e3))/0x2)+parseInt(_0x35325d(0x24e))/0x3+parseInt(_0x35325d(0x238))/0x4+parseInt(_0x35325d(0x23c))/0x5*(-parseInt(_0x35325d(0x2e5))/0x6)+-parseInt(_0x35325d(0x233))/0x7*(-parseInt(_0x35325d(0x20f))/0x8)+-parseInt(_0x35325d(0x288))/0x9+parseInt(_0x35325d(0x283))/0xa*(parseInt(_0x35325d(0x24f))/0xb);if(_0x4eb7a0===_0x47a6aa)break;else _0x34d87e['push'](_0x34d87e['shift']());}catch(_0x326ee8){_0x34d87e['push'](_0x34d87e['shift']());}}}(a43_0xb9cd,0xbd1fe));const path=require(a43_0x4ae985(0x1fe)),{v4:uuidv4}=require('uuid'),SessionHandler=require(a43_0x4ae985(0x2a6)),{debug}=require(a43_0x4ae985(0x2a3)),logger=require(a43_0x4ae985(0x2bb))[a43_0x4ae985(0x2de)],BrowserstackCLI=require(a43_0x4ae985(0x1fc)),GrpcClient=require(a43_0x4ae985(0x2c4)),TestFrameworkState=require(a43_0x4ae985(0x23e)),HookState=require(a43_0x4ae985(0x1f7)),LOG_LEVELS=['INFO',a43_0x4ae985(0x23d),'ERROR',a43_0x4ae985(0x27c),'TRACE'];function isCLIRunning(){const _0x2e7ab0=a43_0x4ae985;try{return BrowserstackCLI['getInstance']()[_0x2e7ab0(0x26a)]();}catch(_0xcdb24e){return![];}}function a43_0x6a2d(_0x171692,_0x5dd3f1){const _0xb9cdaf=a43_0xb9cd();return a43_0x6a2d=function(_0x6a2d12,_0x1b165e){_0x6a2d12=_0x6a2d12-0x1f4;let _0xbf7aa2=_0xb9cdaf[_0x6a2d12];return _0xbf7aa2;},a43_0x6a2d(_0x171692,_0x5dd3f1);}function getParentTitles(_0x27cf42){const _0x426737=a43_0x4ae985,_0x7755b={'IqXIv':function(_0x8e37eb,_0x220f85){return _0x8e37eb(_0x220f85);},'VzWoZ':function(_0x330b0c,_0x35602c){return _0x330b0c(_0x35602c);}},_0xfc5f23=[],_0x3fb599=_0x27cf42['parent']();return _0x3fb599&&_0xfc5f23[_0x426737(0x205)][_0x426737(0x215)](_0xfc5f23,_0x7755b[_0x426737(0x206)](getParentTitles,_0x3fb599)),_0x27cf42['name']&&_0xfc5f23[_0x426737(0x205)](_0x7755b[_0x426737(0x200)](String,_0x27cf42[_0x426737(0x20c)])),_0xfc5f23;}function normalizeLogLevel(_0x286fdf){const _0x21c290=a43_0x4ae985,_0x12d198={};_0x12d198['htSba']=_0x21c290(0x22b),_0x12d198[_0x21c290(0x2e8)]=function(_0x2d2b06,_0x32ba6a){return _0x2d2b06!==_0x32ba6a;};const _0x3cc4aa=_0x12d198;if(!_0x286fdf)return _0x3cc4aa['htSba'];const _0x46e5a5=_0x286fdf[_0x21c290(0x240)]();return _0x3cc4aa[_0x21c290(0x2e8)](LOG_LEVELS[_0x21c290(0x260)](_0x46e5a5),-0x1)?_0x46e5a5:_0x3cc4aa[_0x21c290(0x2ca)];}function resolveCollectionFile(_0x38d9a3,_0x9d56c5){const _0x1c94aa=a43_0x4ae985,_0x1fb18d={};_0x1fb18d['bPaeM']=function(_0x4ea2bb,_0x113342){return _0x4ea2bb===_0x113342;},_0x1fb18d['TQhya']=_0x1c94aa(0x2ac),_0x1fb18d[_0x1c94aa(0x285)]=_0x1c94aa(0x24b),_0x1fb18d[_0x1c94aa(0x22e)]=function(_0x232d3d,_0x4c2a56){return _0x232d3d!==_0x4c2a56;},_0x1fb18d[_0x1c94aa(0x278)]=function(_0x491269,_0x4a1e36){return _0x491269<_0x4a1e36;},_0x1fb18d[_0x1c94aa(0x298)]=function(_0x4d3cba,_0x4a9ea3){return _0x4d3cba+_0x4a9ea3;},_0x1fb18d['fSWEY']=function(_0x5deb0a,_0x299f36){return _0x5deb0a+_0x299f36;},_0x1fb18d[_0x1c94aa(0x2e7)]='[Newman\x20Reporter]\x20Could\x20not\x20resolve\x20collection\x20file\x20path,\x20falling\x20back\x20to\x20collection.json',_0x1fb18d[_0x1c94aa(0x277)]=_0x1c94aa(0x24c);const _0x2abd73=_0x1fb18d;try{if(_0x9d56c5&&_0x9d56c5[_0x1c94aa(0x249)])return path['relative'](process['cwd'](),path[_0x1c94aa(0x2e4)](_0x9d56c5['collectionPath']));const _0x24d048=_0x38d9a3[_0x1c94aa(0x2a8)];if(_0x2abd73[_0x1c94aa(0x25b)](typeof _0x24d048,_0x2abd73[_0x1c94aa(0x29c)]))return path['relative'](process[_0x1c94aa(0x204)](),path[_0x1c94aa(0x2e4)](_0x24d048));const _0x229bcd=process[_0x1c94aa(0x291)]['indexOf'](_0x2abd73[_0x1c94aa(0x285)]);if(_0x2abd73['VWbty'](_0x229bcd,-0x1)&&_0x2abd73[_0x1c94aa(0x278)](_0x2abd73[_0x1c94aa(0x298)](_0x229bcd,0x1),process['argv'][_0x1c94aa(0x220)])){const _0x2353d8=process[_0x1c94aa(0x291)][_0x2abd73['fSWEY'](_0x229bcd,0x1)];if(_0x2353d8&&!_0x2353d8['startsWith']('-'))return path[_0x1c94aa(0x25f)](process[_0x1c94aa(0x204)](),path[_0x1c94aa(0x2e4)](_0x2353d8));}}catch(_0x5efec2){}return logger[_0x1c94aa(0x255)](_0x2abd73[_0x1c94aa(0x2e7)]),_0x2abd73[_0x1c94aa(0x277)];}function resolveCollectionName(_0x502fd5){const _0x5f14a2=a43_0x4ae985,_0x3acad5={};_0x3acad5[_0x5f14a2(0x250)]=function(_0xaaecef,_0x490e99){return _0xaaecef===_0x490e99;},_0x3acad5[_0x5f14a2(0x2e2)]=_0x5f14a2(0x2aa);const _0x24b363=_0x3acad5;try{const _0x4ef68c=_0x502fd5[_0x5f14a2(0x2a8)];if(_0x4ef68c&&_0x24b363[_0x5f14a2(0x250)](typeof _0x4ef68c,_0x24b363[_0x5f14a2(0x2e2)]))return _0x4ef68c[_0x5f14a2(0x20c)]||_0x4ef68c['info']&&_0x4ef68c[_0x5f14a2(0x255)][_0x5f14a2(0x20c)]||null;}catch(_0x836213){}return null;}function emitTest(_0x5c0bcd,_0x315793,_0x2c1e6d,_0x4629e4,_0x1b0521){const _0x5911c5=a43_0x4ae985,_0x5992dd={'KbCSi':function(_0x546f33){return _0x546f33();},'RAJvY':_0x5911c5(0x209),'csLhv':function(_0x2efeb5,_0x20b56f){return _0x2efeb5(_0x20b56f);},'jgIiQ':_0x5911c5(0x28e),'CecWq':_0x5911c5(0x213),'XdcUp':function(_0x2cb7f4,_0x4c2c4d){return _0x2cb7f4!=_0x4c2c4d;},'xsLuG':function(_0x21ad3d,_0x45ba61){return _0x21ad3d===_0x45ba61;},'BEyWu':_0x5911c5(0x2d9),'ogYso':'TestRunFinished'};if(_0x5992dd['KbCSi'](isCLIRunning))try{const _0x2a3784=BrowserstackCLI[_0x5911c5(0x2bf)]()[_0x5911c5(0x27a)]();if(!_0x2a3784)return;_0x2a3784[_0x5911c5(0x2ba)](TestFrameworkState[_0x5911c5(0x2c3)],_0x5c0bcd,{'test':{'uuid':_0x315793[_0x5911c5(0x293)],'name':_0x315793[_0x5911c5(0x20c)],'scopes':_0x2c1e6d[_0x5911c5(0x2af)],'scope':_0x2c1e6d[_0x5911c5(0x2af)]['join']('\x20'),'file_path':_0x4629e4,'location':_0x2c1e6d[_0x5911c5(0x28b)],'started_at':_0x2c1e6d['startedAt'],'finished_at':_0x1b0521[_0x5911c5(0x21b)]||null,'result':_0x1b0521['result']||_0x5992dd[_0x5911c5(0x28f)],'failure':_0x1b0521[_0x5911c5(0x2b8)]||[],'failure_type':_0x1b0521[_0x5911c5(0x208)]||null,'failure_reason':_0x1b0521[_0x5911c5(0x2c5)]||null,'tags':[],'meta':{},'custom_metadata':{}}});}catch(_0x5e46ca){_0x5992dd[_0x5911c5(0x259)](debug,_0x5911c5(0x23a)+_0x5e46ca);}else{const _0x55bfcf={'uuid':_0x315793['uuid'],'name':_0x315793[_0x5911c5(0x20c)],'framework':_0x5992dd[_0x5911c5(0x22c)],'body':{'lang':_0x5992dd['CecWq'],'code':null},'scope':_0x2c1e6d['scopes'][_0x5911c5(0x2c1)]('\x20'),'scopes':_0x2c1e6d[_0x5911c5(0x2af)],'identifier':_0x315793[_0x5911c5(0x294)],'file_name':_0x2c1e6d[_0x5911c5(0x28b)],'vc_filepath':_0x2c1e6d['location'],'location':_0x2c1e6d['location'],'started_at':_0x2c1e6d[_0x5911c5(0x25c)],'finished_at':_0x1b0521[_0x5911c5(0x21b)]||null,'duration_in_ms':_0x5992dd[_0x5911c5(0x27e)](_0x1b0521[_0x5911c5(0x235)],null)?Math[_0x5911c5(0x21e)](0x0,_0x1b0521[_0x5911c5(0x235)]):null,'result':_0x1b0521[_0x5911c5(0x2cf)]||_0x5992dd[_0x5911c5(0x28f)],'failure_reason':_0x1b0521[_0x5911c5(0x2c5)]||null,'failure_type':_0x1b0521['failureType']||null,'failure':_0x1b0521[_0x5911c5(0x2b8)]||[],'retry_of':null,'hooks':[]};_0x55bfcf['failure'][0x0]&&(_0x55bfcf[_0x5911c5(0x225)]=_0x55bfcf[_0x5911c5(0x2b8)][0x0][_0x5911c5(0x2cb)],_0x55bfcf[_0x5911c5(0x22a)]=_0x55bfcf['failure'][0x0][_0x5911c5(0x290)]);const _0x565d05=_0x5992dd[_0x5911c5(0x20d)](_0x5c0bcd,HookState[_0x5911c5(0x241)])?_0x5992dd['BEyWu']:_0x5992dd['ogYso'],_0x4a1091={};_0x4a1091[_0x5911c5(0x226)]=_0x565d05,_0x4a1091[_0x5911c5(0x253)]=_0x55bfcf,SessionHandler[_0x5911c5(0x268)](_0x4a1091);}}function emitLog(_0x218a86,_0x48dcf8){const _0x1df909=a43_0x4ae985,_0x5ba4b8={'LCyva':'TEST_LOG','KMbfi':function(_0x3fa51c){return _0x3fa51c();},'dYhvi':function(_0x3afb3d,_0x5773a1){return _0x3afb3d===_0x5773a1;},'BswWZ':_0x1df909(0x276),'PhkSH':_0x1df909(0x28e),'RaLEa':_0x1df909(0x2c3),'dSOwH':_0x1df909(0x22b),'sUWnM':function(_0x47d293,_0xc13986){return _0x47d293(_0xc13986);},'gbIvr':function(_0x321908,_0x665792){return _0x321908+_0x665792;},'mgdPu':'[Newman\x20Reporter]\x20emitLog\x20error:\x20','PFXPH':_0x1df909(0x281)},_0x38f0f0=_0x48dcf8[_0x1df909(0x2a9)]||_0x5ba4b8[_0x1df909(0x221)],_0x278b88=_0x48dcf8[_0x1df909(0x295)]||new Date()['toISOString']();if(_0x5ba4b8[_0x1df909(0x256)](isCLIRunning))try{const _0x3ef9dc=_0x5ba4b8[_0x1df909(0x2c6)](_0x38f0f0,_0x5ba4b8[_0x1df909(0x228)])?JSON[_0x1df909(0x231)](_0x48dcf8):_0x48dcf8[_0x1df909(0x229)]||'',_0x567129={};_0x567129[_0x1df909(0x257)]=0x0,_0x567129[_0x1df909(0x210)]=_0x5ba4b8[_0x1df909(0x218)],_0x567129[_0x1df909(0x2b6)]='',_0x567129[_0x1df909(0x2df)]=_0x5ba4b8[_0x1df909(0x25d)],_0x567129[_0x1df909(0x2b0)]=[{'uuid':_0x218a86,'timestamp':_0x278b88,'kind':_0x38f0f0,'level':_0x48dcf8[_0x1df909(0x29b)]||_0x5ba4b8[_0x1df909(0x29a)],'message':_0x3ef9dc}],GrpcClient[_0x1df909(0x2bf)]()[_0x1df909(0x20e)](_0x567129);}catch(_0x216e4c){_0x5ba4b8['sUWnM'](debug,_0x5ba4b8[_0x1df909(0x2ae)](_0x5ba4b8[_0x1df909(0x211)],_0x216e4c));}else{const _0x18a17f={};_0x18a17f[_0x1df909(0x236)]=_0x218a86,_0x18a17f[_0x1df909(0x295)]=_0x278b88,_0x18a17f[_0x1df909(0x29b)]=_0x48dcf8[_0x1df909(0x29b)]||null,_0x18a17f['message']=_0x48dcf8[_0x1df909(0x229)]||null,_0x18a17f[_0x1df909(0x2a9)]=_0x38f0f0,_0x18a17f[_0x1df909(0x261)]=_0x48dcf8['http_response']||{};const _0x132d21={};_0x132d21['event_type']=_0x5ba4b8['PFXPH'],_0x132d21['logs']=[_0x18a17f],SessionHandler['uploadEventData'](_0x132d21);}}function BrowserStackNewmanReporter(_0x59a0f,_0x169ec2,_0x326d6c){const _0x412668=a43_0x4ae985,_0x10b692={'QnRSC':function(_0xdd9ac,_0x348fe9,_0x59da17){return _0xdd9ac(_0x348fe9,_0x59da17);},'knWHS':function(_0xebe2ee,_0x338474){return _0xebe2ee(_0x338474);},'spVOC':function(_0x3debe2,_0x1def03){return _0x3debe2>_0x1def03;},'axwHo':function(_0x4aa092,_0x160737){return _0x4aa092(_0x160737);},'jnNQD':_0x412668(0x227),'sSatB':function(_0x2c0d9,_0x274b42){return _0x2c0d9+_0x274b42;},'fyWNL':'GET','KzTpf':_0x412668(0x1f4),'lkMVj':function(_0x19f4c9,_0x5e11bc){return _0x19f4c9+_0x5e11bc;},'pBver':function(_0x1fd5a1){return _0x1fd5a1();},'dbyEj':function(_0x575a8f,_0x797eb3){return _0x575a8f||_0x797eb3;},'jqjiw':function(_0x20af67,_0x4dc88c,_0x51a058,_0x14586d,_0x35f5d9,_0x296774){return _0x20af67(_0x4dc88c,_0x51a058,_0x14586d,_0x35f5d9,_0x296774);},'rCwXX':function(_0x449f73,_0xc7919d){return _0x449f73===_0xc7919d;},'ognrV':'HTTP','NIHcZ':function(_0x54c5d1,_0x4c92e8){return _0x54c5d1+_0x4c92e8;},'oKPGE':function(_0xe2c8d3,_0xe263d2){return _0xe2c8d3+_0xe263d2;},'XsjCO':function(_0x55456f,_0x2702b2){return _0x55456f+_0x2702b2;},'dPjnV':_0x412668(0x245),'FNUyX':_0x412668(0x2da),'mVsmu':_0x412668(0x22b),'mOykB':function(_0x32d378,_0x5a9901){return _0x32d378(_0x5a9901);},'ROehn':function(_0x388e7a,_0x21f5f8){return _0x388e7a-_0x21f5f8;},'muWRk':function(_0x275eb4,_0x311f0c){return _0x275eb4(_0x311f0c);},'Vqefx':function(_0x5742e2,_0x3d51ce){return _0x5742e2(_0x3d51ce);},'LvADo':function(_0x2c78a8,_0x2e638a){return _0x2c78a8&&_0x2e638a;},'cceTV':function(_0x336b59,_0x2b5a33){return _0x336b59>_0x2b5a33;},'pHNSj':function(_0x5d09cf,_0x4ed70a){return _0x5d09cf-_0x4ed70a;},'KfPFd':_0x412668(0x2b7),'eunFT':_0x412668(0x26b),'ejmWf':_0x412668(0x2d6),'oGLMh':function(_0x3a9bc3,_0x9d49bc){return _0x3a9bc3-_0x9d49bc;},'TOHFA':_0x412668(0x27f),'JUKeX':function(_0x1806a1,_0x5c76e0,_0x5b5e9b){return _0x1806a1(_0x5c76e0,_0x5b5e9b);},'RDpVf':function(_0x437ecd,_0x22e6e6){return _0x437ecd+_0x22e6e6;},'OhTsk':_0x412668(0x246),'KAqgg':_0x412668(0x20b),'QvQbz':_0x412668(0x2d4),'bpvQJ':'failed','yUQiF':_0x412668(0x2d1),'WvKeq':function(_0x18ecf8,_0x56008d){return _0x18ecf8===_0x56008d;},'pbUVu':_0x412668(0x263),'ELOJR':_0x412668(0x2dd),'mZnIV':'UnhandledError','KtXmU':function(_0x2375a0,_0x291151,_0x572028){return _0x2375a0(_0x291151,_0x572028);},'vwGeW':function(_0x1cf235,_0x144796){return _0x1cf235-_0x144796;},'mILax':function(_0x7c8c02,_0x1d2934){return _0x7c8c02>_0x1d2934;},'iqWFZ':function(_0x3970cd,_0x5b0c52){return _0x3970cd!=_0x5b0c52;},'fDiRh':function(_0x4a5a21,_0x1571d8){return _0x4a5a21>=_0x1571d8;},'VrDxw':function(_0x75363b,_0x5f235e){return _0x75363b<_0x5f235e;},'ypRup':'N/A','Cggie':function(_0x2a5219,_0x1a8593){return _0x2a5219!=_0x1a8593;},'EhuUZ':'No\x20HTTP\x20response\x20received','ESgPQ':function(_0x3f6caf,_0x35a240,_0x3f0cb5){return _0x3f6caf(_0x35a240,_0x3f0cb5);},'dZaTF':function(_0xd50b7,_0x1c348b){return _0xd50b7+_0x1c348b;},'rMRQV':function(_0x59f736,_0x2e1459){return _0x59f736+_0x2e1459;},'WYRcN':function(_0x1a5477,_0x45c289){return _0x1a5477+_0x45c289;},'nJQLa':function(_0x53deec,_0x558934){return _0x53deec+_0x558934;},'zmzsg':function(_0x32bd4d,_0x3499f8,_0x502c77){return _0x32bd4d(_0x3499f8,_0x502c77);},'Oidng':function(_0x396003,_0x57ea71){return _0x396003+_0x57ea71;},'WaLeR':_0x412668(0x271),'pHFRM':function(_0x3e925d,_0x4a7af6){return _0x3e925d||_0x4a7af6;},'geLTm':'\x20(no\x20assertions)','dUFjd':function(_0x3d7dff,_0x2de741){return _0x3d7dff(_0x2de741);},'YiesU':'done','MEVoz':_0x412668(0x2b1),'DDeWb':_0x412668(0x27d),'mvRvr':_0x412668(0x2d0),'Jtttm':_0x412668(0x22d),'OslOv':_0x412668(0x28c),'KpgZX':_0x412668(0x26f),'TPWnM':'script','qmTnf':_0x412668(0x2e9)},_0x52e438=new Map();let _0x4b1ae5=null,_0x4c7021=0x0;const _0x4eba03=_0x10b692[_0x412668(0x2b2)](resolveCollectionFile,_0x326d6c,_0x169ec2),_0x15a32d=_0x10b692[_0x412668(0x28a)](resolveCollectionName,_0x326d6c)||_0x4eba03,_0x451631=path[_0x412668(0x2e4)](_0x4eba03),_0x207a75=_0x412668(0x2b5)+process['pid'],_0x3f949e=_0x2a09e2=>{const _0x1527c7=_0x412668;try{_0x4b1ae5&&_0x10b692[_0x1527c7(0x264)](emitLog,_0x4b1ae5,_0x2a09e2);}catch(_0x3ef50c){_0x10b692[_0x1527c7(0x24a)](debug,_0x1527c7(0x251)+_0x3ef50c);}};process['on'](_0x207a75,_0x3f949e),_0x59a0f['on'](_0x10b692[_0x412668(0x266)],()=>{const _0x5a351e=_0x412668;process['removeListener'](_0x207a75,_0x3f949e),_0x52e438[_0x5a351e(0x21c)]();}),_0x59a0f['on'](_0x10b692[_0x412668(0x1fb)],(_0x2e2e7d,_0x262edc)=>{const _0x2c3241=_0x412668;_0x262edc&&_0x262edc[_0x2c3241(0x297)]&&(_0x4c7021=_0x262edc['cursor'][_0x2c3241(0x203)]||0x0);}),_0x59a0f['on'](_0x10b692[_0x412668(0x2d8)],(_0x3f9c10,_0x51f048)=>{const _0x4e6658=_0x412668;try{_0x4b1ae5=null;const _0x1200e6=_0x51f048[_0x4e6658(0x2e9)],_0x37ba90=_0x1200e6[_0x4e6658(0x28d)]()?_0x10b692[_0x4e6658(0x24a)](getParentTitles,_0x1200e6['parent']()):[],_0x2979ca=_0x10b692[_0x4e6658(0x26c)](_0x37ba90[_0x4e6658(0x220)],0x1)?_0x37ba90['slice'](0x1):_0x37ba90,_0x4578c5=_0x51f048[_0x4e6658(0x297)]&&_0x51f048[_0x4e6658(0x297)][_0x4e6658(0x216)],_0x49d7c6={'itemName':_0x1200e6[_0x4e6658(0x20c)],'scopes':_0x2979ca[_0x4e6658(0x2ad)]([_0x1200e6[_0x4e6658(0x20c)]]),'location':_0x4eba03,'collectionName':_0x15a32d,'startedAt':new Date()[_0x4e6658(0x232)](),'startTimestamp':Date[_0x4e6658(0x2b4)](),'lastResponseCode':null,'httpLog':null,'assertions':[],'bufferedLogs':[]};_0x52e438[_0x4e6658(0x244)](_0x1200e6['id']+'_'+_0x4c7021,_0x49d7c6),_0x4578c5&&_0x52e438[_0x4e6658(0x244)](_0x4578c5+'_'+_0x4c7021,_0x49d7c6);}catch(_0x5bc877){_0x10b692[_0x4e6658(0x29f)](debug,'[Newman\x20Reporter]\x20Error\x20in\x20beforeItem:\x20'+_0x5bc877);}}),_0x59a0f['on'](_0x10b692['mvRvr'],(_0x292e46,_0x3d6f1b)=>{const _0xb7bb3c=_0x412668;try{if(!_0x3d6f1b||!_0x3d6f1b[_0xb7bb3c(0x2e9)])return;const _0x476d59=_0x52e438[_0xb7bb3c(0x1f8)](_0x3d6f1b[_0xb7bb3c(0x2e9)]['id']+'_'+_0x4c7021);if(!_0x476d59)return;_0x3d6f1b[_0xb7bb3c(0x2a0)]&&(_0x476d59[_0xb7bb3c(0x1fd)]=_0x3d6f1b[_0xb7bb3c(0x2a0)][_0xb7bb3c(0x1f5)]||null);if(!_0x3d6f1b[_0xb7bb3c(0x2d0)])return;let _0x497061='',_0x2160b3='';if(_0x3d6f1b[_0xb7bb3c(0x2d0)][_0xb7bb3c(0x21f)])try{const _0x52ee28=_0x3d6f1b[_0xb7bb3c(0x2d0)]['url'][_0xb7bb3c(0x2cc)](),_0x4a282c=new URL(_0x52ee28[_0xb7bb3c(0x21d)](_0x10b692[_0xb7bb3c(0x1fa)])?_0x52ee28:_0xb7bb3c(0x201)+_0x52ee28);_0x497061=_0x4a282c[_0xb7bb3c(0x243)],_0x2160b3=_0x10b692[_0xb7bb3c(0x2d7)](_0x4a282c[_0xb7bb3c(0x2d2)],_0x4a282c[_0xb7bb3c(0x262)]);}catch(_0x3f9379){_0x2160b3=_0x3d6f1b[_0xb7bb3c(0x2d0)][_0xb7bb3c(0x21f)][_0xb7bb3c(0x2cc)]();}const _0x15f7b5={};_0x15f7b5['host']=_0x497061,_0x15f7b5[_0xb7bb3c(0x1fe)]=_0x2160b3,_0x15f7b5[_0xb7bb3c(0x282)]=_0x3d6f1b[_0xb7bb3c(0x2d0)][_0xb7bb3c(0x282)]||_0x10b692[_0xb7bb3c(0x252)],_0x15f7b5[_0xb7bb3c(0x2e1)]={},_0x15f7b5[_0xb7bb3c(0x2e6)]=_0x3d6f1b[_0xb7bb3c(0x2a0)]?_0x3d6f1b[_0xb7bb3c(0x2a0)][_0xb7bb3c(0x1f5)]||0x0:0x0,_0x15f7b5[_0xb7bb3c(0x21a)]=_0x3d6f1b['response']?_0x3d6f1b[_0xb7bb3c(0x2a0)][_0xb7bb3c(0x2ab)]||0x0:0x0,_0x476d59['httpLog']=_0x15f7b5;}catch(_0x4fd56f){_0x10b692[_0xb7bb3c(0x29f)](debug,_0xb7bb3c(0x234)+_0x4fd56f);}}),_0x59a0f['on'](_0x10b692[_0x412668(0x248)],(_0x58f3ad,_0x3c979f)=>{const _0x2c8c30=_0x412668;try{if(!_0x3c979f||!_0x3c979f[_0x2c8c30(0x2e9)])return;const _0x2b4a69=_0x52e438[_0x2c8c30(0x1f8)](_0x3c979f[_0x2c8c30(0x2e9)]['id']+'_'+_0x4c7021);if(!_0x2b4a69)return;const _0x596c9d=_0x3c979f[_0x2c8c30(0x22d)]||_0x2c8c30(0x26d)+_0x10b692[_0x2c8c30(0x272)](_0x2b4a69[_0x2c8c30(0x287)][_0x2c8c30(0x220)],0x1),_0xbf2a26=_0x10b692[_0x2c8c30(0x20a)](uuidv4),_0x578bc4=_0x2b4a69['scopes'][_0x2c8c30(0x2ad)]([_0x596c9d])[_0x2c8c30(0x2c1)]('\x20');_0x2b4a69['assertions'][_0x2c8c30(0x205)]({'uuid':_0xbf2a26,'name':_0x596c9d,'identifier':_0x578bc4,'err':_0x10b692[_0x2c8c30(0x2d3)](_0x58f3ad,null)});const _0x30e24e={};_0x30e24e[_0x2c8c30(0x293)]=_0xbf2a26,_0x30e24e[_0x2c8c30(0x20c)]=_0x596c9d,_0x30e24e[_0x2c8c30(0x294)]=_0x578bc4,_0x10b692[_0x2c8c30(0x2a4)](emitTest,HookState['PRE'],_0x30e24e,_0x2b4a69,_0x451631,{});_0x10b692[_0x2c8c30(0x2a5)](_0x2b4a69[_0x2c8c30(0x287)][_0x2c8c30(0x220)],0x1)&&_0x10b692[_0x2c8c30(0x26c)](_0x2b4a69['bufferedLogs'][_0x2c8c30(0x220)],0x0)&&(_0x2b4a69[_0x2c8c30(0x212)][_0x2c8c30(0x1f6)](_0x470df5=>{const _0x51fbc5=_0x2c8c30;_0x10b692['QnRSC'](emitLog,_0xbf2a26,{'kind':_0x10b692[_0x51fbc5(0x270)],'message':_0x470df5[_0x51fbc5(0x229)],'level':_0x470df5[_0x51fbc5(0x29b)]});}),_0x2b4a69[_0x2c8c30(0x212)]=[]);if(_0x2b4a69[_0x2c8c30(0x2d5)]){_0x10b692[_0x2c8c30(0x264)](emitLog,_0xbf2a26,{'kind':_0x10b692[_0x2c8c30(0x2a2)],'http_response':_0x2b4a69[_0x2c8c30(0x2d5)]});const _0x39d757=_0x10b692[_0x2c8c30(0x2d7)](_0x10b692[_0x2c8c30(0x247)](_0x10b692[_0x2c8c30(0x274)](_0x10b692[_0x2c8c30(0x2d7)](_0x10b692[_0x2c8c30(0x280)](_0x10b692[_0x2c8c30(0x2d7)](_0x10b692['NIHcZ'](_0x10b692[_0x2c8c30(0x2d7)](_0x2b4a69[_0x2c8c30(0x2d5)][_0x2c8c30(0x282)]||_0x10b692['fyWNL'],'\x20'),_0x2b4a69[_0x2c8c30(0x2d5)]['host']),_0x2b4a69[_0x2c8c30(0x2d5)][_0x2c8c30(0x1fe)]),_0x10b692['dPjnV']),_0x2b4a69[_0x2c8c30(0x2d5)][_0x2c8c30(0x2e6)]),'\x20('),_0x2b4a69['httpLog'][_0x2c8c30(0x21a)]),_0x10b692['FNUyX']);_0x10b692['QnRSC'](emitLog,_0xbf2a26,{'kind':_0x10b692[_0x2c8c30(0x270)],'message':_0x39d757,'level':_0x10b692['mVsmu']});}_0x4b1ae5=_0xbf2a26;}catch(_0x570716){_0x10b692['mOykB'](debug,_0x2c8c30(0x2c0)+_0x570716);}}),_0x59a0f['on'](_0x10b692['OslOv'],(_0x5b52ce,_0x5281d5)=>{const _0xf17d19=_0x412668;try{if(!_0x5281d5)return;let _0x5d154a=_0x4b1ae5;if(!_0x5d154a&&_0x5281d5[_0xf17d19(0x297)]&&_0x5281d5[_0xf17d19(0x297)][_0xf17d19(0x216)]){const _0x160c40=_0x52e438[_0xf17d19(0x1f8)](_0x5281d5['cursor'][_0xf17d19(0x216)]+'_'+_0x4c7021);_0x160c40&&_0x10b692['spVOC'](_0x160c40[_0xf17d19(0x287)][_0xf17d19(0x220)],0x0)&&(_0x5d154a=_0x160c40[_0xf17d19(0x287)][_0x10b692[_0xf17d19(0x242)](_0x160c40[_0xf17d19(0x287)]['length'],0x1)]['uuid']);}const _0x16caa3=_0x5281d5[_0xf17d19(0x1ff)]?_0x5281d5[_0xf17d19(0x1ff)]['join'](',\x20'):'';if(_0x5d154a)_0x10b692[_0xf17d19(0x264)](emitLog,_0x5d154a,{'kind':_0x10b692[_0xf17d19(0x270)],'message':_0x16caa3,'level':_0x10b692[_0xf17d19(0x29f)](normalizeLogLevel,_0x5281d5[_0xf17d19(0x29b)])});else{if(_0x5281d5[_0xf17d19(0x297)]&&_0x5281d5[_0xf17d19(0x297)][_0xf17d19(0x216)]){const _0x46d366=_0x52e438['get'](_0x5281d5[_0xf17d19(0x297)][_0xf17d19(0x216)]+'_'+_0x4c7021);_0x46d366&&_0x46d366[_0xf17d19(0x212)][_0xf17d19(0x205)]({'timestamp':new Date()['toISOString'](),'level':_0x10b692[_0xf17d19(0x2a7)](normalizeLogLevel,_0x5281d5['level']),'message':_0x16caa3});}}}catch(_0x291af7){_0x10b692[_0xf17d19(0x24a)](debug,_0xf17d19(0x214)+_0x291af7);}}),_0x59a0f['on'](_0x10b692[_0x412668(0x2ce)],(_0x28a981,_0x2b8146)=>{const _0xecc238=_0x412668;try{if(!_0x28a981&&(!_0x2b8146||!_0x2b8146['error']))return;const _0x4ccbd6=_0x28a981||_0x2b8146['error'],_0x4b6c3f=_0x4ccbd6[_0xecc238(0x229)]||_0x10b692[_0xecc238(0x28a)](String,_0x4ccbd6),_0x3493cc=_0x4ccbd6[_0xecc238(0x267)]||_0x4b6c3f;let _0x454af9=_0x4b1ae5;if(_0x10b692[_0xecc238(0x27b)](!_0x454af9,_0x2b8146)&&_0x2b8146[_0xecc238(0x297)]&&_0x2b8146['cursor'][_0xecc238(0x216)]){const _0x18037f=_0x52e438['get'](_0x2b8146[_0xecc238(0x297)]['ref']+'_'+_0x4c7021);_0x18037f&&_0x10b692[_0xecc238(0x207)](_0x18037f[_0xecc238(0x287)][_0xecc238(0x220)],0x0)&&(_0x454af9=_0x18037f[_0xecc238(0x287)][_0x10b692[_0xecc238(0x224)](_0x18037f['assertions']['length'],0x1)][_0xecc238(0x293)]);}_0x454af9&&_0x10b692[_0xecc238(0x264)](emitLog,_0x454af9,{'kind':_0x10b692[_0xecc238(0x270)],'message':_0x10b692[_0xecc238(0x272)](_0x10b692['KfPFd'],_0x3493cc),'level':_0x10b692[_0xecc238(0x222)]});}catch(_0x18bb79){_0x10b692['axwHo'](debug,_0x10b692[_0xecc238(0x280)](_0x10b692[_0xecc238(0x275)],_0x18bb79));}}),_0x59a0f['on'](_0x10b692['TPWnM'],(_0x14c206,_0xffdd02)=>{const _0x48ce1d=_0x412668;try{if(!_0xffdd02||!_0xffdd02[_0x48ce1d(0x292)])return;let _0x54e530=_0x4b1ae5;if(!_0x54e530&&_0xffdd02[_0x48ce1d(0x297)]&&_0xffdd02['cursor']['ref']){const _0xe27d91=_0x52e438[_0x48ce1d(0x1f8)](_0xffdd02[_0x48ce1d(0x297)][_0x48ce1d(0x216)]+'_'+_0x4c7021);_0xe27d91&&_0x10b692['spVOC'](_0xe27d91['assertions'][_0x48ce1d(0x220)],0x0)&&(_0x54e530=_0xe27d91['assertions'][_0x10b692['oGLMh'](_0xe27d91['assertions']['length'],0x1)][_0x48ce1d(0x293)]);}if(!_0x54e530)return;const _0x3938ed=_0xffdd02['event']&&_0xffdd02['event'][_0x48ce1d(0x2bd)]||_0x10b692[_0x48ce1d(0x25e)];_0x14c206&&_0x10b692[_0x48ce1d(0x29d)](emitLog,_0x54e530,{'kind':_0x10b692[_0x48ce1d(0x270)],'message':_0x10b692[_0x48ce1d(0x2d7)](_0x10b692['RDpVf'](_0x10b692[_0x48ce1d(0x272)](_0x10b692[_0x48ce1d(0x237)],_0x3938ed),_0x10b692['KAqgg']),_0x14c206[_0x48ce1d(0x229)]||_0x14c206),'level':_0x10b692['eunFT']});}catch(_0x3ea472){_0x10b692[_0x48ce1d(0x29f)](debug,_0x10b692['lkMVj'](_0x10b692[_0x48ce1d(0x29e)],_0x3ea472));}}),_0x59a0f['on'](_0x10b692[_0x412668(0x2cd)],(_0x35f16f,_0x32adb3)=>{const _0x3f9fa0=_0x412668;try{if(!_0x32adb3||!_0x32adb3[_0x3f9fa0(0x2e9)])return;const _0x25efd1=_0x32adb3[_0x3f9fa0(0x2e9)]['id']+'_'+_0x4c7021,_0x143f5a=_0x52e438[_0x3f9fa0(0x1f8)](_0x25efd1);if(!_0x143f5a)return;const _0x34da2d=new Date(),_0x40c8b9=_0x10b692['vwGeW'](_0x34da2d[_0x3f9fa0(0x1f9)](),_0x143f5a[_0x3f9fa0(0x202)]);if(_0x10b692[_0x3f9fa0(0x2bc)](_0x143f5a[_0x3f9fa0(0x287)][_0x3f9fa0(0x220)],0x0))_0x143f5a[_0x3f9fa0(0x287)][_0x3f9fa0(0x1f6)](_0x509b97=>{const _0x4e5c41=_0x3f9fa0,_0x844083=!!_0x509b97[_0x4e5c41(0x2c2)],_0x2f126f={'finishedAt':_0x34da2d[_0x4e5c41(0x232)](),'durationMs':_0x40c8b9,'result':_0x844083?_0x10b692[_0x4e5c41(0x219)]:_0x10b692[_0x4e5c41(0x2e0)]};_0x844083&&(_0x2f126f['failureReason']=_0x509b97['err'][_0x4e5c41(0x229)]||'',_0x2f126f[_0x4e5c41(0x208)]=_0x10b692['WvKeq'](_0x509b97[_0x4e5c41(0x2c2)][_0x4e5c41(0x20c)],_0x10b692[_0x4e5c41(0x254)])||_0x509b97[_0x4e5c41(0x2c2)][_0x4e5c41(0x229)]&&_0x509b97['err'][_0x4e5c41(0x229)][_0x4e5c41(0x2dc)](_0x10b692[_0x4e5c41(0x289)])?_0x10b692[_0x4e5c41(0x254)]:_0x10b692[_0x4e5c41(0x258)],_0x2f126f[_0x4e5c41(0x2b8)]=[{'backtrace':_0x509b97[_0x4e5c41(0x2c2)][_0x4e5c41(0x267)]?_0x509b97[_0x4e5c41(0x2c2)][_0x4e5c41(0x267)][_0x4e5c41(0x296)]('\x0a'):[_0x509b97[_0x4e5c41(0x2c2)][_0x4e5c41(0x229)]||''],'expanded':[]}]),_0x10b692[_0x4e5c41(0x2a4)](emitTest,HookState[_0x4e5c41(0x2c7)],_0x509b97,_0x143f5a,_0x451631,_0x2f126f);});else{const _0x55f2a9=_0x10b692[_0x3f9fa0(0x20a)](uuidv4),_0x1c9431=_0x143f5a['lastResponseCode'],_0x9898eb=_0x10b692[_0x3f9fa0(0x299)](_0x1c9431,null)&&_0x10b692[_0x3f9fa0(0x2b3)](_0x1c9431,0xc8)&&_0x10b692['VrDxw'](_0x1c9431,0x190),_0x5cd5d7=_0x143f5a[_0x3f9fa0(0x23f)]+'\x20(HTTP\x20'+_0x10b692[_0x3f9fa0(0x2d3)](_0x1c9431,_0x10b692[_0x3f9fa0(0x273)])+')',_0x5f3269={'uuid':_0x55f2a9,'name':_0x5cd5d7,'identifier':_0x143f5a[_0x3f9fa0(0x2af)][_0x3f9fa0(0x2ad)]([_0x5cd5d7])['join']('\x20')},_0x2afcba={'finishedAt':_0x34da2d[_0x3f9fa0(0x232)](),'durationMs':_0x40c8b9,'result':_0x9898eb?_0x10b692['yUQiF']:_0x10b692['bpvQJ']};!_0x9898eb&&(_0x2afcba[_0x3f9fa0(0x2c5)]=_0x10b692[_0x3f9fa0(0x2b9)](_0x1c9431,null)?_0x3f9fa0(0x2c9)+_0x1c9431+'\x20—\x20response\x20status\x20in\x20failure\x20range':_0x10b692[_0x3f9fa0(0x286)],_0x2afcba[_0x3f9fa0(0x208)]=_0x10b692[_0x3f9fa0(0x258)],_0x2afcba[_0x3f9fa0(0x2b8)]=[{'backtrace':[_0x2afcba[_0x3f9fa0(0x2c5)]],'expanded':[]}]);_0x10b692[_0x3f9fa0(0x2a4)](emitTest,HookState['PRE'],_0x5f3269,_0x143f5a,_0x451631,{}),_0x143f5a[_0x3f9fa0(0x212)][_0x3f9fa0(0x1f6)](_0xe70e15=>{const _0x3c1f8c=_0x3f9fa0;_0x10b692[_0x3c1f8c(0x2b2)](emitLog,_0x55f2a9,{'kind':_0x10b692[_0x3c1f8c(0x270)],'message':_0xe70e15[_0x3c1f8c(0x229)],'level':_0xe70e15[_0x3c1f8c(0x29b)]});});if(_0x143f5a[_0x3f9fa0(0x2d5)]){_0x10b692[_0x3f9fa0(0x2a1)](emitLog,_0x55f2a9,{'kind':_0x10b692[_0x3f9fa0(0x2a2)],'http_response':_0x143f5a[_0x3f9fa0(0x2d5)]});const _0xfcc27a=_0x10b692[_0x3f9fa0(0x279)](_0x10b692[_0x3f9fa0(0x2c8)](_0x10b692['XsjCO'](_0x10b692['WYRcN'](_0x10b692[_0x3f9fa0(0x279)](_0x10b692[_0x3f9fa0(0x23b)](_0x10b692[_0x3f9fa0(0x279)](_0x10b692[_0x3f9fa0(0x280)](_0x143f5a[_0x3f9fa0(0x2d5)][_0x3f9fa0(0x282)]||_0x10b692[_0x3f9fa0(0x252)],'\x20'),_0x143f5a[_0x3f9fa0(0x2d5)][_0x3f9fa0(0x26e)]),_0x143f5a['httpLog']['path']),_0x10b692[_0x3f9fa0(0x217)]),_0x143f5a[_0x3f9fa0(0x2d5)]['status_code']),'\x20('),_0x143f5a[_0x3f9fa0(0x2d5)]['duration_ms']),_0x10b692[_0x3f9fa0(0x223)]);_0x10b692[_0x3f9fa0(0x29d)](emitLog,_0x55f2a9,{'kind':_0x10b692[_0x3f9fa0(0x270)],'message':_0xfcc27a,'level':_0x10b692[_0x3f9fa0(0x265)]});}else _0x10b692[_0x3f9fa0(0x24d)](emitLog,_0x55f2a9,{'kind':_0x10b692[_0x3f9fa0(0x270)],'message':_0x10b692[_0x3f9fa0(0x22f)](_0x10b692['Oidng'](_0x10b692[_0x3f9fa0(0x2db)],_0x10b692[_0x3f9fa0(0x25a)](_0x1c9431,_0x10b692[_0x3f9fa0(0x273)])),_0x10b692['geLTm']),'level':_0x10b692[_0x3f9fa0(0x265)]});_0x10b692[_0x3f9fa0(0x2a4)](emitTest,HookState['POST'],_0x5f3269,_0x143f5a,_0x451631,_0x2afcba);}_0x52e438['delete'](_0x25efd1),_0x32adb3[_0x3f9fa0(0x297)]&&_0x32adb3[_0x3f9fa0(0x297)]['ref']&&_0x52e438[_0x3f9fa0(0x239)](_0x32adb3[_0x3f9fa0(0x297)][_0x3f9fa0(0x216)]+'_'+_0x4c7021);}catch(_0x112810){_0x10b692[_0x3f9fa0(0x269)](debug,_0x3f9fa0(0x284)+_0x112810);}});}module[a43_0x4ae985(0x230)]=BrowserStackNewmanReporter;function a43_0xb9cd(){const _0x570011=['url','length','LCyva','eunFT','FNUyX','pHNSj','failure_backtrace','event_type','http','BswWZ','message','failure_reason_expanded','INFO','jgIiQ','assertion','VWbty','WYRcN','exports','stringify','toISOString','10675FODawU','[Newman\x20Reporter]\x20Error\x20in\x20request:\x20','durationMs','test_run_uuid','OhTsk','697792dcJSsx','delete','[Newman\x20Reporter]\x20emitTest\x20error:\x20','nJQLa','20fcvweT','WARN','../../v2/state/testFrameworkState','itemName','toUpperCase','PRE','ROehn','hostname','set','\x20->\x20','Script\x20error\x20(','NIHcZ','Jtttm','collectionPath','knWHS','run','collection.json','zmzsg','3578841YFwvao','6588681jCQExp','qPhaz','[Newman\x20Reporter]\x20Error\x20in\x20bs:addLog\x20handler:\x20','fyWNL','test_run','pbUVu','info','KMbfi','platformIndex','mZnIV','csLhv','pHFRM','bPaeM','startedAt','RaLEa','TOHFA','relative','indexOf','http_response','search','AssertionError','QnRSC','mVsmu','YiesU','stack','uploadEventData','dUFjd','isRunning','ERROR','spVOC','Assertion\x20','host','exception','KzTpf','HTTP\x20Status:\x20','lkMVj','ypRup','oKPGE','ejmWf','HTTP','rSTqM','pIuPe','dZaTF','getTestFramework','LvADo','DEBUG','beforeItem','XdcUp','unknown','XsjCO','LogCreated','method','20BUuBzt','[Newman\x20Reporter]\x20Error\x20in\x20item:\x20','QDIkQ','EhuUZ','assertions','12002247LcQNMH','ELOJR','Vqefx','collectionName','console','parent','newman','RAJvY','expanded','argv','execution','uuid','identifier','timestamp','split','cursor','LZKpf','iqWFZ','dSOwH','level','TQhya','JUKeX','QvQbz','axwHo','response','ESgPQ','ognrV','../../../helpers/test-observability/utils','jqjiw','rCwXX','../../../helpers/test-observability/sessionHandler','muWRk','collection','kind','object','responseTime','string','concat','gbIvr','scopes','logs','beforeIteration','KtXmU','fDiRh','now','bs:addLog:','testFrameworkVersion','Exception:\x20','failure','Cggie','trackEvent','../../../helpers/logger','mILax','listen','1TNDMIy','getInstance','[Newman\x20Reporter]\x20Error\x20in\x20assertion:\x20','join','err','TEST','../../v2/grpcClient','failureReason','dYhvi','POST','rMRQV','HTTP\x20','htSba','backtrace','toString','qmTnf','KpgZX','result','request','passed','pathname','dbyEj','[Newman\x20Reporter]\x20Error\x20in\x20script:\x20','httpLog','[Newman\x20Reporter]\x20Error\x20in\x20exception:\x20','sSatB','DDeWb','TestRunStarted','ms)','WaLeR','includes','assert','winstonLogger','testFrameworkState','yUQiF','headers','RtzXx','476902bxDhrQ','resolve','1030236BiXUys','status_code','bliJL','QxNlp','item','TEST_LOG','code','forEach','../../v2/state/hookState','get','getTime','jnNQD','MEVoz','../../v2/browserstackCLI','lastResponseCode','path','messages','VzWoZ','http://','startTimestamp','iteration','cwd','push','IqXIv','cceTV','failureType','pending','pBver','):\x20','name','xsLuG','logCreatedEvent','2456VKjyxh','testFrameworkName','mgdPu','bufferedLogs','javascript','[Newman\x20Reporter]\x20Error\x20in\x20console:\x20','apply','ref','dPjnV','PhkSH','bpvQJ','duration_ms','finishedAt','clear','startsWith','max'];a43_0xb9cd=function(){return _0x570011;};return a43_0xb9cd();}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a44_0x5e2e(_0x1a5672,_0x464eb5){const _0x1e7bad=a44_0x1e7b();return a44_0x5e2e=function(_0x5e2e37,_0x33f2a1){_0x5e2e37=_0x5e2e37-0x13b;let _0x58b9b3=_0x1e7bad[_0x5e2e37];return _0x58b9b3;},a44_0x5e2e(_0x1a5672,_0x464eb5);}const a44_0x52c985=a44_0x5e2e;(function(_0xa8dd04,_0x1242a4){const _0x17ab95=a44_0x5e2e,_0x1a5554=_0xa8dd04();while(!![]){try{const _0x463571=-parseInt(_0x17ab95(0x149))/0x1+-parseInt(_0x17ab95(0x16c))/0x2*(parseInt(_0x17ab95(0x17a))/0x3)+-parseInt(_0x17ab95(0x144))/0x4*(-parseInt(_0x17ab95(0x154))/0x5)+parseInt(_0x17ab95(0x168))/0x6+-parseInt(_0x17ab95(0x160))/0x7*(parseInt(_0x17ab95(0x14a))/0x8)+parseInt(_0x17ab95(0x158))/0x9*(parseInt(_0x17ab95(0x14b))/0xa)+-parseInt(_0x17ab95(0x143))/0xb*(-parseInt(_0x17ab95(0x13e))/0xc);if(_0x463571===_0x1242a4)break;else _0x1a5554['push'](_0x1a5554['shift']());}catch(_0x5cc97){_0x1a5554['push'](_0x1a5554['shift']());}}}(a44_0x1e7b,0xb6646));const path=require(a44_0x52c985(0x161)),Module=require(a44_0x52c985(0x16e)),BrowserstackCLI=require('../v2/browserstackCLI'),scriptFile=process[a44_0x52c985(0x15f)][0x2],maxParallel=parseInt(process[a44_0x52c985(0x15f)][0x3])||0x0;!scriptFile&&(process[a44_0x52c985(0x14d)][a44_0x52c985(0x174)](a44_0x52c985(0x15d)),process['exit'](0x1));function a44_0x1e7b(){const _0x2355cb=['_load','cli','fPtKo','[Newman]\x20scriptRunner:\x20failed\x20to\x20load\x20script:\x20','run','559863eBiJUU','tIbXq','reporter','hOqom','42514212NhSkYb','_resolveFilename','assign','p-limit','IhsLC','11RrFGHc','1828396oxtgRU','vvcAM','browserstack','orjcM','call','1284597yipYIH','8231176OQOhEB','126550muUOkr','exitCode','stderr','oLixx','XtWdP','error','reporters','stRPH','beforeExit','5vIAGWn','indexOf','failures','concat','117rYFejz','Fuond','bootstrap','bind','exit','[Newman]\x20scriptRunner:\x20no\x20script\x20file\x20provided\x0a','zEhVC','argv','7GbyZkr','path','rsqUk','SGwvK','join','EBhHV','resolve','length','2334450oxXgyT','GaSUA','newman-reporter-browserstack','AYmjM','16gWpCyA','osTfe','module','jGvrd','masaG','ejGUt','GRdNo','collection','write'];a44_0x1e7b=function(){return _0x2355cb;};return a44_0x1e7b();}const reporterPath=path[a44_0x52c985(0x164)](__dirname,'reporter','index.js'),originalResolveFilename=Module[a44_0x52c985(0x13f)];Module['_resolveFilename']=function(_0x56df26,_0x4224ea,_0x24ff46,_0x588e24){const _0x3791e6=a44_0x52c985,_0x4acf26={};_0x4acf26[_0x3791e6(0x165)]=function(_0x1a49c2,_0x31114c){return _0x1a49c2===_0x31114c;},_0x4acf26['EQShX']=_0x3791e6(0x16a);const _0x17e251=_0x4acf26;if(_0x17e251[_0x3791e6(0x165)](_0x56df26,_0x17e251['EQShX']))return reporterPath;return originalResolveFilename[_0x3791e6(0x148)](this,_0x56df26,_0x4224ea,_0x24ff46,_0x588e24);};let limit;try{const pLimit=require(a44_0x52c985(0x141)),concurrency=maxParallel&&maxParallel>0x0?maxParallel:Infinity;limit=pLimit(concurrency);}catch(a44_0x2d752){limit=function(_0x369e8c){const _0x56b7f7=a44_0x52c985,_0x523ca5={'osTfe':function(_0x15c42c){return _0x15c42c();}};return _0x523ca5[_0x56b7f7(0x16d)](_0x369e8c);};}let wrappedNewman=null,hasFailure=![];const originalLoad=Module[a44_0x52c985(0x175)];Module[a44_0x52c985(0x175)]=function(_0x1d11d7,_0xfebd7f,_0x3c56f2){const _0x51c6cb=a44_0x52c985,_0x34ab09={'stRPH':function(_0x7f8a71,_0x32f6e6){return _0x7f8a71>_0x32f6e6;},'GaSUA':function(_0x15ffdb,_0x49fcb9){return _0x15ffdb||_0x49fcb9;},'jGvrd':function(_0x3c73ed,_0x4671aa,_0x345c44){return _0x3c73ed(_0x4671aa,_0x345c44);},'zEhVC':function(_0x174346,_0x5484ef){return _0x174346(_0x5484ef);},'tIbXq':_0x51c6cb(0x176),'fPtKo':function(_0x1b8f62,_0x29e935){return _0x1b8f62===_0x29e935;},'pIZID':_0x51c6cb(0x146),'GRdNo':function(_0x2b596f,_0x59b8b7){return _0x2b596f===_0x59b8b7;},'masaG':'string','hOqom':function(_0x2a4aab,_0x19ab2a){return _0x2a4aab!==_0x19ab2a;},'SGwvK':'newman'},_0x135902=originalLoad[_0x51c6cb(0x148)](this,_0x1d11d7,_0xfebd7f,_0x3c56f2);if(_0x34ab09[_0x51c6cb(0x13d)](_0x1d11d7,_0x34ab09[_0x51c6cb(0x163)]))return _0x135902;if(wrappedNewman)return wrappedNewman;const _0x451974=_0x135902['run'][_0x51c6cb(0x15b)](_0x135902);return wrappedNewman=Object['create'](_0x135902),wrappedNewman[_0x51c6cb(0x179)]=function(_0x2293d1,_0x466208){const _0x2cec90=_0x51c6cb,_0x177e65={'KtlQm':function(_0x4a2fbf,_0x477ff1){const _0x1fedc9=a44_0x5e2e;return _0x34ab09[_0x1fedc9(0x152)](_0x4a2fbf,_0x477ff1);},'JidpO':function(_0x707b60,_0xf96b6f){const _0x17ffdb=a44_0x5e2e;return _0x34ab09[_0x17ffdb(0x169)](_0x707b60,_0xf96b6f);},'ejGUt':function(_0x2a3264,_0x2c8f7a,_0xa659e1){const _0x109f36=a44_0x5e2e;return _0x34ab09[_0x109f36(0x16f)](_0x2a3264,_0x2c8f7a,_0xa659e1);},'vvcAM':function(_0x3ab227,_0xd4f22f){const _0x42212a=a44_0x5e2e;return _0x34ab09[_0x42212a(0x15e)](_0x3ab227,_0xd4f22f);},'XtWdP':function(_0xce890f,_0x1ea974,_0x13c5f4){const _0x25f9bb=a44_0x5e2e;return _0x34ab09[_0x25f9bb(0x16f)](_0xce890f,_0x1ea974,_0x13c5f4);}};let _0x4bbce5=_0x2293d1[_0x2cec90(0x151)]||[_0x34ab09[_0x2cec90(0x13b)]];_0x34ab09[_0x2cec90(0x177)](_0x4bbce5[_0x2cec90(0x155)](_0x34ab09['pIZID']),-0x1)&&(_0x4bbce5=_0x4bbce5[_0x2cec90(0x157)]([_0x34ab09['pIZID']]));const _0x490750=_0x34ab09[_0x2cec90(0x172)](typeof _0x2293d1[_0x2cec90(0x173)],_0x34ab09[_0x2cec90(0x170)])?_0x2293d1[_0x2cec90(0x173)]:undefined,_0x325b2d={};_0x325b2d['collectionPath']=_0x490750;const _0x1a996b=Object[_0x2cec90(0x140)]({},_0x2293d1[_0x2cec90(0x13c)],{'browserstack':Object['assign']({},_0x2293d1[_0x2cec90(0x13c)]&&_0x2293d1[_0x2cec90(0x13c)]['browserstack'],_0x325b2d)}),_0x280fd4={};return _0x280fd4[_0x2cec90(0x151)]=_0x4bbce5,_0x280fd4[_0x2cec90(0x13c)]=_0x1a996b,_0x2293d1=Object[_0x2cec90(0x140)]({},_0x2293d1,_0x280fd4),_0x34ab09[_0x2cec90(0x15e)](limit,function(){return new Promise(function(_0x57ec99){const _0x5daca2=a44_0x5e2e,_0x47ab22={'nfHTC':function(_0x1c42d3,_0x30049a){return _0x177e65['KtlQm'](_0x1c42d3,_0x30049a);},'SfeXN':function(_0x33643d,_0x53b069){return _0x177e65['JidpO'](_0x33643d,_0x53b069);},'oLixx':function(_0x53736b,_0x98e4c5,_0x15913d){const _0x1b7fa3=a44_0x5e2e;return _0x177e65[_0x1b7fa3(0x171)](_0x53736b,_0x98e4c5,_0x15913d);},'rsqUk':function(_0x2c5ff7,_0x28a7f4){const _0x4cfdbe=a44_0x5e2e;return _0x177e65[_0x4cfdbe(0x145)](_0x2c5ff7,_0x28a7f4);}};_0x177e65[_0x5daca2(0x14f)](_0x451974,_0x2293d1,function(_0x1443de,_0x3fa455){const _0x16005e=_0x5daca2,_0xa5c726=_0x3fa455&&_0x3fa455['run']&&(_0x3fa455[_0x16005e(0x179)][_0x16005e(0x150)]||_0x3fa455[_0x16005e(0x179)]['failures']&&_0x47ab22['nfHTC'](_0x3fa455[_0x16005e(0x179)][_0x16005e(0x156)][_0x16005e(0x167)],0x0));_0x47ab22['SfeXN'](_0xa5c726,_0x1443de)&&(hasFailure=!![]),_0x466208&&_0x47ab22[_0x16005e(0x14e)](_0x466208,_0x1443de,_0x3fa455),_0x47ab22[_0x16005e(0x162)](_0x57ec99,_0x3fa455);});});});},wrappedNewman;};async function main(){const _0x5bf8aa=a44_0x52c985,_0x45266e={'IhsLC':function(_0x3c7765,_0x1c3ef1){return _0x3c7765(_0x1c3ef1);},'AYmjM':function(_0x15c595,_0x2f014b){return _0x15c595+_0x2f014b;},'Fuond':_0x5bf8aa(0x178)};try{await BrowserstackCLI['getInstance']()[_0x5bf8aa(0x15a)]();}catch(_0x2a5d01){}try{_0x45266e[_0x5bf8aa(0x142)](require,path[_0x5bf8aa(0x166)](scriptFile));}catch(_0x57c8f7){process[_0x5bf8aa(0x14d)]['write'](_0x45266e['AYmjM'](_0x45266e[_0x5bf8aa(0x16b)](_0x45266e[_0x5bf8aa(0x159)],_0x57c8f7['message']||_0x57c8f7),'\x0a')),process[_0x5bf8aa(0x14c)]=0x1;}}main(),process['on'](a44_0x52c985(0x153),function(){const _0x1fa273=a44_0x52c985;hasFailure&&(process[_0x1fa273(0x14c)]=0x1);}),process['on'](a44_0x52c985(0x15c),function(){const _0x57a370=a44_0x52c985,_0x552566={};_0x552566[_0x57a370(0x147)]=function(_0x5ddc88,_0x16564b){return _0x5ddc88===_0x16564b;};const _0x42d2df=_0x552566;hasFailure&&_0x42d2df[_0x57a370(0x147)](process['exitCode'],0x0)&&(process[_0x57a370(0x14c)]=0x1);});
2
+ 'use strict';const a44_0x5ad154=a44_0x44b4;(function(_0x4dc3e0,_0x487668){const _0x12bb9e=a44_0x44b4,_0x442e0e=_0x4dc3e0();while(!![]){try{const _0x17937e=-parseInt(_0x12bb9e(0x213))/0x1*(parseInt(_0x12bb9e(0x219))/0x2)+parseInt(_0x12bb9e(0x227))/0x3+parseInt(_0x12bb9e(0x1f1))/0x4*(-parseInt(_0x12bb9e(0x1fe))/0x5)+-parseInt(_0x12bb9e(0x1f0))/0x6+-parseInt(_0x12bb9e(0x1fb))/0x7*(parseInt(_0x12bb9e(0x214))/0x8)+-parseInt(_0x12bb9e(0x1ff))/0x9+-parseInt(_0x12bb9e(0x20e))/0xa*(-parseInt(_0x12bb9e(0x209))/0xb);if(_0x17937e===_0x487668)break;else _0x442e0e['push'](_0x442e0e['shift']());}catch(_0x1516bd){_0x442e0e['push'](_0x442e0e['shift']());}}}(a44_0x1829,0x4ecc0));const path=require(a44_0x5ad154(0x226)),Module=require('module'),BrowserstackCLI=require(a44_0x5ad154(0x207)),scriptFile=process[a44_0x5ad154(0x21a)][0x2],maxParallel=parseInt(process[a44_0x5ad154(0x21a)][0x3])||0x0;!scriptFile&&(process[a44_0x5ad154(0x221)][a44_0x5ad154(0x1f3)](a44_0x5ad154(0x222)),process[a44_0x5ad154(0x1f8)](0x1));function a44_0x1829(){const _0x7f35ce=['[Newman]\x20scriptRunner:\x20no\x20script\x20file\x20provided\x0a','bootstrap','exitCode','create','path','1372881IJLukD','resolve','failures','YllPH','lOWvr','EOsaz','lqLSA','862662gueqDK','36mYOnsH','ZeMVu','write','error','message','reporter','browserstack','exit','newman-reporter-browserstack','mnTVm','198163txAqWK','zUDEn','collectionPath','204285RFBTxz','4458726mRUDon','bind','XJVhk','eLvCi','TsRmI','collection','kCULf','call','../v2/browserstackCLI','cli','11BHDEli','Nygvv','jzGax','ngshw','ZPTgT','13376950crvmuz','vxJix','spQPC','TxFRi','concat','1gKmdtu','40AZrULh','Pagpp','reporters','run','assign','648242lGzgWT','argv','p-limit','GOMCd','oAHyN','_load','join','beforeExit','stderr'];a44_0x1829=function(){return _0x7f35ce;};return a44_0x1829();}const reporterPath=path[a44_0x5ad154(0x21f)](__dirname,a44_0x5ad154(0x1f6),'index.js'),originalResolveFilename=Module['_resolveFilename'];Module['_resolveFilename']=function(_0x1d0668,_0x44c05a,_0x64e3e4,_0x5b0a94){const _0x28bdba=a44_0x5ad154,_0x4367bd={};_0x4367bd[_0x28bdba(0x21c)]=function(_0x213027,_0x108428){return _0x213027===_0x108428;},_0x4367bd[_0x28bdba(0x22a)]=_0x28bdba(0x1f9);const _0x27765f=_0x4367bd;if(_0x27765f[_0x28bdba(0x21c)](_0x1d0668,_0x27765f['YllPH']))return reporterPath;return originalResolveFilename[_0x28bdba(0x206)](this,_0x1d0668,_0x44c05a,_0x64e3e4,_0x5b0a94);};let limit;try{const pLimit=require(a44_0x5ad154(0x21b)),concurrency=maxParallel&&maxParallel>0x0?maxParallel:Infinity;limit=pLimit(concurrency);}catch(a44_0x42d3ab){limit=function(_0x32ac6c){const _0x271c80={'ohIMY':function(_0x4af153){return _0x4af153();}};return _0x271c80['ohIMY'](_0x32ac6c);};}let wrappedNewman=null,hasFailure=![];const originalLoad=Module['_load'];Module[a44_0x5ad154(0x21e)]=function(_0x24eda1,_0x3c2037,_0x44dc05){const _0x13f59a=a44_0x5ad154,_0x5074e9={'ngshw':function(_0x522d78,_0x1a098d){return _0x522d78>_0x1a098d;},'EOsaz':function(_0x11240a,_0x22f9c6){return _0x11240a||_0x22f9c6;},'jzGax':function(_0x57c5a7,_0x17d967,_0x412da5){return _0x57c5a7(_0x17d967,_0x412da5);},'kCULf':function(_0x466e16,_0x2a41df){return _0x466e16(_0x2a41df);},'eLvCi':_0x13f59a(0x208),'Nygvv':function(_0xfa4784,_0x24cb68){return _0xfa4784===_0x24cb68;},'lqLSA':_0x13f59a(0x1f7),'TsRmI':'string','XJVhk':function(_0x573c76,_0x4b93de){return _0x573c76(_0x4b93de);},'tJjyq':function(_0x4e19e8,_0x4d5fe7){return _0x4e19e8!==_0x4d5fe7;},'ZPTgT':'newman'},_0x5c570e=originalLoad[_0x13f59a(0x206)](this,_0x24eda1,_0x3c2037,_0x44dc05);if(_0x5074e9['tJjyq'](_0x24eda1,_0x5074e9[_0x13f59a(0x20d)]))return _0x5c570e;if(wrappedNewman)return wrappedNewman;const _0x3c26f4=_0x5c570e[_0x13f59a(0x217)][_0x13f59a(0x200)](_0x5c570e);return wrappedNewman=Object[_0x13f59a(0x225)](_0x5c570e),wrappedNewman[_0x13f59a(0x217)]=function(_0x2565de,_0x5a62b2){const _0xeab4be=_0x13f59a,_0x3985e9={'oAHyN':function(_0x10b321,_0x490028,_0x3617cf){return _0x5074e9['jzGax'](_0x10b321,_0x490028,_0x3617cf);}};let _0x2481d9=_0x2565de['reporters']||[_0x5074e9[_0xeab4be(0x202)]];_0x5074e9[_0xeab4be(0x20a)](_0x2481d9['indexOf'](_0x5074e9[_0xeab4be(0x22d)]),-0x1)&&(_0x2481d9=_0x2481d9[_0xeab4be(0x212)]([_0x5074e9[_0xeab4be(0x22d)]]));const _0x35b41a=_0x5074e9[_0xeab4be(0x20a)](typeof _0x2565de[_0xeab4be(0x204)],_0x5074e9[_0xeab4be(0x203)])?_0x2565de[_0xeab4be(0x204)]:undefined,_0x2f1e3f={};_0x2f1e3f[_0xeab4be(0x1fd)]=_0x35b41a;const _0x48b28d=Object[_0xeab4be(0x218)]({},_0x2565de[_0xeab4be(0x1f6)],{'browserstack':Object[_0xeab4be(0x218)]({},_0x2565de[_0xeab4be(0x1f6)]&&_0x2565de[_0xeab4be(0x1f6)][_0xeab4be(0x1f7)],_0x2f1e3f)}),_0x1bc486={};return _0x1bc486[_0xeab4be(0x216)]=_0x2481d9,_0x1bc486[_0xeab4be(0x1f6)]=_0x48b28d,_0x2565de=Object[_0xeab4be(0x218)]({},_0x2565de,_0x1bc486),_0x5074e9[_0xeab4be(0x201)](limit,function(){const _0x370dd6={'mnTVm':function(_0x4f82c1,_0x5f54ad){const _0x369b53=a44_0x44b4;return _0x5074e9[_0x369b53(0x20c)](_0x4f82c1,_0x5f54ad);},'TxFRi':function(_0x1e4b12,_0x392586){const _0x147df0=a44_0x44b4;return _0x5074e9[_0x147df0(0x22c)](_0x1e4b12,_0x392586);},'spQPC':function(_0x44ecce,_0x27ef58,_0x2bc5c3){const _0x5b2dda=a44_0x44b4;return _0x5074e9[_0x5b2dda(0x20b)](_0x44ecce,_0x27ef58,_0x2bc5c3);},'lOWvr':function(_0x5c00c4,_0x514034){const _0x4df321=a44_0x44b4;return _0x5074e9[_0x4df321(0x205)](_0x5c00c4,_0x514034);}};return new Promise(function(_0x2cdb23){const _0x38a85d=a44_0x44b4;_0x3985e9[_0x38a85d(0x21d)](_0x3c26f4,_0x2565de,function(_0x55dbc6,_0x396a1b){const _0x483563=_0x38a85d,_0x21831b=_0x396a1b&&_0x396a1b['run']&&(_0x396a1b[_0x483563(0x217)][_0x483563(0x1f4)]||_0x396a1b[_0x483563(0x217)]['failures']&&_0x370dd6[_0x483563(0x1fa)](_0x396a1b[_0x483563(0x217)][_0x483563(0x229)]['length'],0x0));_0x370dd6[_0x483563(0x211)](_0x21831b,_0x55dbc6)&&(hasFailure=!![]),_0x5a62b2&&_0x370dd6[_0x483563(0x210)](_0x5a62b2,_0x55dbc6,_0x396a1b),_0x370dd6[_0x483563(0x22b)](_0x2cdb23,_0x396a1b);});});});},wrappedNewman;};function a44_0x44b4(_0x39335f,_0x5c1a12){const _0x1829f8=a44_0x1829();return a44_0x44b4=function(_0x44b496,_0x35e2d9){_0x44b496=_0x44b496-0x1f0;let _0x49c48d=_0x1829f8[_0x44b496];return _0x49c48d;},a44_0x44b4(_0x39335f,_0x5c1a12);}async function main(){const _0xf925e5=a44_0x5ad154,_0x19e0c3={'bAPcK':function(_0x170fd9,_0x2053a5){return _0x170fd9(_0x2053a5);},'ZeMVu':function(_0x44c287,_0x5f4a4c){return _0x44c287+_0x5f4a4c;},'Pagpp':function(_0xcbb8cf,_0x28c388){return _0xcbb8cf+_0x28c388;},'zUDEn':'[Newman]\x20scriptRunner:\x20failed\x20to\x20load\x20script:\x20'};try{await BrowserstackCLI['getInstance']()[_0xf925e5(0x223)]();}catch(_0x34a96e){}try{_0x19e0c3['bAPcK'](require,path[_0xf925e5(0x228)](scriptFile));}catch(_0x326a93){process[_0xf925e5(0x221)][_0xf925e5(0x1f3)](_0x19e0c3[_0xf925e5(0x1f2)](_0x19e0c3[_0xf925e5(0x215)](_0x19e0c3[_0xf925e5(0x1fc)],_0x326a93[_0xf925e5(0x1f5)]||_0x326a93),'\x0a')),process[_0xf925e5(0x224)]=0x1;}}main(),process['on'](a44_0x5ad154(0x220),function(){const _0x4df6c7=a44_0x5ad154;hasFailure&&(process[_0x4df6c7(0x224)]=0x1);}),process['on']('exit',function(){const _0x309cc9=a44_0x5ad154,_0x8e926e={};_0x8e926e[_0x309cc9(0x20f)]=function(_0x18fd65,_0x277a5f){return _0x18fd65===_0x277a5f;};const _0xfe5f65=_0x8e926e;hasFailure&&_0xfe5f65[_0x309cc9(0x20f)](process[_0x309cc9(0x224)],0x0)&&(process[_0x309cc9(0x224)]=0x1);});
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a45_0x26418e=a45_0xbce1;(function(_0x26dfa0,_0x4c1bd1){const _0x15ef6b=a45_0xbce1,_0x185014=_0x26dfa0();while(!![]){try{const _0x297131=parseInt(_0x15ef6b(0x235))/0x1+-parseInt(_0x15ef6b(0x223))/0x2*(-parseInt(_0x15ef6b(0x22a))/0x3)+-parseInt(_0x15ef6b(0x214))/0x4+parseInt(_0x15ef6b(0x1f3))/0x5+parseInt(_0x15ef6b(0x1f9))/0x6*(-parseInt(_0x15ef6b(0x23a))/0x7)+-parseInt(_0x15ef6b(0x1f7))/0x8+parseInt(_0x15ef6b(0x208))/0x9;if(_0x297131===_0x4c1bd1)break;else _0x185014['push'](_0x185014['shift']());}catch(_0x5aabc8){_0x185014['push'](_0x185014['shift']());}}}(a45_0x2ade,0x9f102));function a45_0xbce1(_0x557002,_0x5370ee){const _0x2ade66=a45_0x2ade();return a45_0xbce1=function(_0xbce1a7,_0x4a8260){_0xbce1a7=_0xbce1a7-0x1ea;let _0x41d0aa=_0x2ade66[_0xbce1a7];return _0x41d0aa;},a45_0xbce1(_0x557002,_0x5370ee);}const fs=require('fs'),path=require(a45_0x26418e(0x21c)),{spawn}=require(a45_0x26418e(0x22d)),logger=require(a45_0x26418e(0x1f6))[a45_0x26418e(0x220)],{default:BrowserStackSetup}=require(a45_0x26418e(0x229)),helper=require(a45_0x26418e(0x224)),constants=require('../utils/constants'),getUserNightwatchConfigs=(_0x35b5ec,_0x227e55)=>{const _0x1f30ed=a45_0x26418e,_0x5332f9={'CirKw':_0x1f30ed(0x1ef),'PjvTH':_0x1f30ed(0x237),'PnWdC':function(_0x228fd9,_0x455dc5){return _0x228fd9(_0x455dc5);},'yNmbr':_0x1f30ed(0x211)};let _0x37de1c=null,_0x31f5ca={};const _0x5d8824=_0x227e55[_0x1f30ed(0x1f2)](_0x1f37bb=>_0x1f37bb===_0x1f30ed(0x231)),_0x1334e8=!helper['isUndefined'](_0x35b5ec[_0x1f30ed(0x205)])?helper[_0x1f30ed(0x1f5)](_0x35b5ec[_0x1f30ed(0x205)]):null;!helper[_0x1f30ed(0x1f1)](_0x35b5ec[_0x1f30ed(0x205)])&&!_0x1334e8&&logger[_0x1f30ed(0x1ea)](_0x1f30ed(0x230)+_0x35b5ec[_0x1f30ed(0x205)]+_0x1f30ed(0x217));if(_0x1334e8&&fs[_0x1f30ed(0x225)](_0x1334e8))_0x37de1c=_0x1334e8,_0x227e55[_0x1f30ed(0x1f8)](_0x5d8824,0x2);else{if(fs[_0x1f30ed(0x225)](path['join'](process[_0x1f30ed(0x203)](),_0x5332f9[_0x1f30ed(0x228)])))_0x37de1c=path[_0x1f30ed(0x20c)](process['cwd'](),_0x5332f9[_0x1f30ed(0x228)]);else fs['existsSync'](path[_0x1f30ed(0x20c)](process[_0x1f30ed(0x203)](),_0x5332f9[_0x1f30ed(0x20f)]))&&(_0x37de1c=path[_0x1f30ed(0x20c)](process[_0x1f30ed(0x203)](),_0x5332f9[_0x1f30ed(0x20f)]));}return _0x37de1c?(logger[_0x1f30ed(0x1fd)](_0x1f30ed(0x1fe)+_0x37de1c),_0x31f5ca=_0x5332f9[_0x1f30ed(0x20e)](require,_0x37de1c)):logger['info'](_0x5332f9[_0x1f30ed(0x23b)]),_0x31f5ca;},removeExistingEnvs=_0x577f12=>{const _0x275af2=a45_0x26418e,_0xbc33a6={};_0xbc33a6[_0x275af2(0x202)]=function(_0xc16dcc,_0x499a64){return _0xc16dcc>_0x499a64;};const _0x554dc4=_0xbc33a6;let _0x3fa66b=_0x577f12[_0x275af2(0x1f2)](_0x282921=>_0x282921===_0x275af2(0x215));_0x554dc4[_0x275af2(0x202)](_0x3fa66b,-0x1)&&_0x577f12[_0x275af2(0x1f8)](_0x3fa66b,0x2),_0x3fa66b=_0x577f12[_0x275af2(0x1f2)](_0x58a876=>_0x58a876==='-e'),_0x554dc4[_0x275af2(0x202)](_0x3fa66b,-0x1)&&_0x577f12[_0x275af2(0x1f8)](_0x3fa66b,0x2);};function a45_0x2ade(){const _0x480b6b=['exports','Ignoring\x20--config\x20path\x20\x22','--config','hub.browserstack.com','forEach','map','544483XVJnVk','BROWSERSTACK_FRAMEWORK','nightwatch.json','Ndqgk','ppMFa','1416044DmGszt','yNmbr','nightwatch','FQQdY','filter','slice','warn','gNDdd','NODE_OPTIONS','nUPoX','iurVw','nightwatch.conf.js','desiredCapabilities','isUndefined','findIndex','3538340fSQXYY','env','resolveWithinCwd','../../helpers/logger','4225312dvTLwa','splice','6SoJzqo','useW3C','platform','unlinkSync','info','Getting\x20your\x20nightwatch\x20configs\x20from\x20','nightwatch-browserstack.json','debug','inherit','GnXse','cwd','modifyBrowserStackW3CCaps','config','--require\x20','Deleting\x20','2890566nAqBil','../../index','close','NMDTG','join','nightwatch.cmd','PnWdC','PjvTH','SFtMQ','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','child\x20process\x20exited\x20with\x20code\x20','selenium','1326676JLtDaE','--env','length','\x22:\x20it\x20resolves\x20outside\x20the\x20project\x20directory.','lQFkj','push','split','trim','path','EEoWd','QwXQv','start_process','winstonLogger','cXFdh','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','42LtOUWh','../../helpers/helper','existsSync','test_settings','webdriver','CirKw','../../helpers/BrowserStackSetup','20046ttyQrt','mergeDeep','stringify','child_process','now'];a45_0x2ade=function(){return _0x480b6b;};return a45_0x2ade();}function run(_0x5c4b8a,_0x52a1e2,_0xb33dae){const _0xc889c9=a45_0x26418e,_0x535392={'iurVw':_0xc889c9(0x23c),'YsLcp':function(_0x1f7aa3,_0x5e330b){return _0x1f7aa3+_0x5e330b;},'YvheT':_0xc889c9(0x226),'ppMFa':function(_0x1ed7f8,_0x54a5ad,_0x50679c){return _0x1ed7f8(_0x54a5ad,_0x50679c);},'nUPoX':_0xc889c9(0x232),'lQFkj':_0xc889c9(0x222),'QwXQv':function(_0x3594a9,_0x160862){return _0x3594a9===_0x160862;},'gNDdd':_0xc889c9(0x1ff),'XSsfI':function(_0x2f325f,_0x5c7690){return _0x2f325f(_0x5c7690);},'Afrly':_0xc889c9(0x209),'SFtMQ':function(_0x56d62f,_0x5ec7d1,_0x2b74fd,_0x30b279){return _0x56d62f(_0x5ec7d1,_0x2b74fd,_0x30b279);},'tNhZZ':_0xc889c9(0x20d),'Ndqgk':_0xc889c9(0x231),'NMDTG':_0xc889c9(0x215),'FQQdY':_0xc889c9(0x201),'hjcVa':_0xc889c9(0x20a)};if(!_0xb33dae['config'])return;const _0x1bd471=_0x535392[_0xc889c9(0x239)](getUserNightwatchConfigs,_0x5c4b8a,_0x52a1e2),_0x22a7f9={};_0x22a7f9[_0xc889c9(0x21f)]=![];const _0x58d101={};_0x58d101['host']=_0x535392[_0xc889c9(0x1ed)],_0x58d101['port']=0x1bb;const _0xdf7e7a={};_0xdf7e7a[_0xc889c9(0x227)]=_0x22a7f9,_0xdf7e7a[_0xc889c9(0x213)]=_0x58d101;const _0x113d42=_0xdf7e7a;logger['info'](_0x535392[_0xc889c9(0x218)]);const _0x34944b={..._0x1bd471},_0x241def=_0x34944b,_0x581d95=helper[_0xc889c9(0x1fa)](_0xb33dae[_0xc889c9(0x205)]),_0x2d2b2a=[];_0xb33dae[_0xc889c9(0x205)]['platforms'][_0xc889c9(0x233)]((_0x2f0dae,_0x61d433)=>{const _0x2bcbed=_0xc889c9;_0x581d95?_0x2d2b2a[_0x2bcbed(0x219)](helper[_0x2bcbed(0x204)](_0xb33dae[_0x2bcbed(0x205)],_0x535392[_0x2bcbed(0x1ee)],_0x61d433)):_0x2d2b2a[_0x2bcbed(0x219)](helper['modifyBrowserStackCaps'](_0xb33dae['config'],_0x535392[_0x2bcbed(0x1ee)],_0x61d433));});const _0x85b9c5={},_0x2da798=[];_0x5c4b8a[_0xc889c9(0x1f4)]=_0x5c4b8a[_0xc889c9(0x1f4)]||_0x5c4b8a['e'];const _0x143233=_0x5c4b8a[_0xc889c9(0x1f4)]?_0x5c4b8a['env'][_0xc889c9(0x21b)]()[_0xc889c9(0x21a)](',')[_0xc889c9(0x234)](_0x46b027=>_0x46b027['trim']())[_0xc889c9(0x23e)](_0x176e91=>_0x176e91!==''):[''];_0x535392[_0xc889c9(0x21e)](_0x143233[_0xc889c9(0x216)],0x0)&&_0x143233[_0xc889c9(0x219)]('');_0x143233[_0xc889c9(0x233)](_0x5ab31c=>{const _0x3df297=_0xc889c9,_0x57e368={'cXFdh':function(_0x303bfd,_0x88ff5c){return _0x535392['YsLcp'](_0x303bfd,_0x88ff5c);},'EEoWd':_0x535392['YvheT']};_0x2d2b2a[_0x3df297(0x233)](_0x31ec94=>{const _0x14a259=_0x3df297;let _0x2c11fc=_0x57e368[_0x14a259(0x221)](helper['getPlatformName'](_0x31ec94,'_'),'_'+Date[_0x14a259(0x22e)]());_0x5ab31c&&(_0x2c11fc+='_'+_0x5ab31c);if(_0x5ab31c&&(!_0x1bd471[_0x57e368[_0x14a259(0x21d)]]||!_0x1bd471[_0x57e368[_0x14a259(0x21d)]][_0x5ab31c]))return;const _0x112dee={..._0x113d42};_0x112dee[_0x14a259(0x1f0)]=_0x31ec94;const _0x475000=_0x112dee;_0x85b9c5[_0x2c11fc]=_0x5ab31c?helper[_0x14a259(0x22b)](_0x1bd471[_0x57e368['EEoWd']][_0x5ab31c],_0x475000):_0x475000,_0x2da798['push'](_0x2c11fc);});});!_0x241def[_0xc889c9(0x226)]&&(_0x241def[_0xc889c9(0x226)]={});_0x241def[_0xc889c9(0x226)]={..._0x241def['test_settings'],..._0x85b9c5};const _0x43e7e7=path[_0xc889c9(0x20c)](__dirname,_0x535392[_0xc889c9(0x1eb)]);fs['writeFileSync'](_0x43e7e7,JSON['stringify'](_0x241def)),_0x535392['XSsfI'](removeExistingEnvs,_0x52a1e2);const _0x560eee=require['resolve'](_0x535392['Afrly']),_0x530858=process['env'][_0xc889c9(0x1ec)]||'',_0x1174c2=_0xc889c9(0x206)+JSON[_0xc889c9(0x22c)](_0x560eee),_0x4c0467=_0x530858?_0x530858+'\x20'+_0x1174c2:_0x1174c2,_0x39e4fb=Object['assign']({},process[_0xc889c9(0x1f4)],{'NODE_OPTIONS':_0x4c0467,'BROWSERSTACK_FRAMEWORK':process[_0xc889c9(0x1f4)][_0xc889c9(0x236)]||_0x535392[_0xc889c9(0x1ee)]}),_0x4128f7=_0x535392[_0xc889c9(0x210)](spawn,/^win/['test'](process[_0xc889c9(0x1fb)])?_0x535392['tNhZZ']:_0x535392['iurVw'],[_0x535392[_0xc889c9(0x238)],_0x43e7e7,..._0x52a1e2[_0xc889c9(0x23f)](0x1),_0x535392[_0xc889c9(0x20b)],_0x2da798['join'](',')],{'stdio':_0x535392[_0xc889c9(0x23d)],'env':_0x39e4fb});_0x4128f7['on'](_0x535392['hjcVa'],async _0xdb2f6=>{const _0x5405de=_0xc889c9;logger[_0x5405de(0x200)](_0x5405de(0x212)+_0xdb2f6),logger['info'](_0x5405de(0x207)+_0x43e7e7),fs[_0x5405de(0x1fc)](_0x43e7e7);});}module[a45_0x26418e(0x22f)]=run;
2
+ 'use strict';const a45_0x26f0ce=a45_0x4af4;(function(_0x2cd01b,_0x2706b9){const _0x490dfe=a45_0x4af4,_0x3488a0=_0x2cd01b();while(!![]){try{const _0x54f289=-parseInt(_0x490dfe(0x1b0))/0x1*(parseInt(_0x490dfe(0x1cc))/0x2)+-parseInt(_0x490dfe(0x194))/0x3+parseInt(_0x490dfe(0x1c2))/0x4*(parseInt(_0x490dfe(0x181))/0x5)+parseInt(_0x490dfe(0x180))/0x6*(-parseInt(_0x490dfe(0x1b7))/0x7)+-parseInt(_0x490dfe(0x1bc))/0x8+parseInt(_0x490dfe(0x187))/0x9+parseInt(_0x490dfe(0x18e))/0xa*(parseInt(_0x490dfe(0x1af))/0xb);if(_0x54f289===_0x2706b9)break;else _0x3488a0['push'](_0x3488a0['shift']());}catch(_0x127901){_0x3488a0['push'](_0x3488a0['shift']());}}}(a45_0x523e,0xe7456));function a45_0x4af4(_0x53a4a5,_0x3d548d){const _0x523e47=a45_0x523e();return a45_0x4af4=function(_0x4af460,_0x74ee23){_0x4af460=_0x4af460-0x17d;let _0x40032b=_0x523e47[_0x4af460];return _0x40032b;},a45_0x4af4(_0x53a4a5,_0x3d548d);}const fs=require('fs'),path=require(a45_0x26f0ce(0x1cb)),{spawn}=require(a45_0x26f0ce(0x1ce)),logger=require(a45_0x26f0ce(0x1d3))[a45_0x26f0ce(0x197)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a45_0x26f0ce(0x191)),constants=require(a45_0x26f0ce(0x19e)),getUserNightwatchConfigs=(_0xebc54,_0x5acf0e)=>{const _0x4b402c=a45_0x26f0ce,_0xb46a69={'rzwwq':_0x4b402c(0x195),'wPURd':_0x4b402c(0x1a5),'QoggX':function(_0x3025e2,_0x38c7f9){return _0x3025e2(_0x38c7f9);},'Rafsf':_0x4b402c(0x1a6)};let _0x4a1064=null,_0x5a7372={};const _0x4076ed=_0x5acf0e[_0x4b402c(0x19c)](_0x22762e=>_0x22762e==='--config'),_0x39d6aa=!helper[_0x4b402c(0x19d)](_0xebc54[_0x4b402c(0x1cf)])?helper[_0x4b402c(0x19f)](_0xebc54['config']):null;!helper[_0x4b402c(0x19d)](_0xebc54[_0x4b402c(0x1cf)])&&!_0x39d6aa&&logger[_0x4b402c(0x1ca)](_0x4b402c(0x192)+_0xebc54[_0x4b402c(0x1cf)]+_0x4b402c(0x1c3));if(_0x39d6aa&&fs['existsSync'](_0x39d6aa))_0x4a1064=_0x39d6aa,_0x5acf0e[_0x4b402c(0x18c)](_0x4076ed,0x2);else{if(fs['existsSync'](path[_0x4b402c(0x17e)](process[_0x4b402c(0x1b9)](),_0xb46a69[_0x4b402c(0x1ac)])))_0x4a1064=path[_0x4b402c(0x17e)](process[_0x4b402c(0x1b9)](),_0xb46a69[_0x4b402c(0x1ac)]);else fs[_0x4b402c(0x1b4)](path[_0x4b402c(0x17e)](process[_0x4b402c(0x1b9)](),_0xb46a69[_0x4b402c(0x1a8)]))&&(_0x4a1064=path['join'](process[_0x4b402c(0x1b9)](),_0xb46a69['wPURd']));}return _0x4a1064?(logger[_0x4b402c(0x1b6)](_0x4b402c(0x1b3)+_0x4a1064),_0x5a7372=_0xb46a69[_0x4b402c(0x1c0)](require,_0x4a1064)):logger[_0x4b402c(0x1b6)](_0xb46a69[_0x4b402c(0x1c1)]),_0x5a7372;},removeExistingEnvs=_0x537548=>{const _0x5e998b=a45_0x26f0ce,_0x4ac915={};_0x4ac915[_0x5e998b(0x1a2)]=function(_0x2d0c50,_0x296fa1){return _0x2d0c50>_0x296fa1;};const _0x1d8f96=_0x4ac915;let _0x507dec=_0x537548['findIndex'](_0x1697be=>_0x1697be===_0x5e998b(0x1c5));_0x1d8f96['PHMtG'](_0x507dec,-0x1)&&_0x537548[_0x5e998b(0x18c)](_0x507dec,0x2),_0x507dec=_0x537548[_0x5e998b(0x19c)](_0x1eb56c=>_0x1eb56c==='-e'),_0x1d8f96[_0x5e998b(0x1a2)](_0x507dec,-0x1)&&_0x537548[_0x5e998b(0x18c)](_0x507dec,0x2);};function run(_0x4377fa,_0x2f96b2,_0x3e19c1){const _0x45186b=a45_0x26f0ce,_0x38ed4d={'PDisa':_0x45186b(0x189),'cpqTO':function(_0x419fef,_0x4d7d90){return _0x419fef+_0x4d7d90;},'UQgxr':_0x45186b(0x1bb),'dQoSr':function(_0x37885d,_0x895b09,_0x494569){return _0x37885d(_0x895b09,_0x494569);},'OEDfr':_0x45186b(0x18f),'MRNsL':_0x45186b(0x1ad),'VCbCP':function(_0x2c0bbc,_0x76e1a6){return _0x2c0bbc===_0x76e1a6;},'gQKFb':_0x45186b(0x1b1),'dTjmS':function(_0x3303a0,_0x213a24){return _0x3303a0(_0x213a24);},'SntFi':'../../index','HSorC':function(_0x3d00fe,_0x34b279,_0x2080e9,_0x5197be){return _0x3d00fe(_0x34b279,_0x2080e9,_0x5197be);},'Riwdl':_0x45186b(0x1ba),'Addio':_0x45186b(0x1a4),'QsKJq':_0x45186b(0x1c5),'iZDXl':'inherit','CrHWP':'close'};if(!_0x3e19c1[_0x45186b(0x1cf)])return;const _0x10c021=_0x38ed4d['dQoSr'](getUserNightwatchConfigs,_0x4377fa,_0x2f96b2),_0x1fd20a={};_0x1fd20a[_0x45186b(0x19a)]=![];const _0x4d2876={};_0x4d2876[_0x45186b(0x1d6)]=_0x38ed4d[_0x45186b(0x17f)],_0x4d2876[_0x45186b(0x1a0)]=0x1bb;const _0x137eb6={};_0x137eb6[_0x45186b(0x1cd)]=_0x1fd20a,_0x137eb6['selenium']=_0x4d2876;const _0xaf2ac9=_0x137eb6;logger[_0x45186b(0x1b6)](_0x38ed4d['MRNsL']);const _0x3efe30={..._0x10c021},_0x5e131c=_0x3efe30,_0xf85dcb=helper[_0x45186b(0x1be)](_0x3e19c1['config']),_0x2faaa5=[];_0x3e19c1['config'][_0x45186b(0x199)][_0x45186b(0x1ae)]((_0x55c02d,_0x535d8a)=>{const _0x14e8a4=_0x45186b;_0xf85dcb?_0x2faaa5[_0x14e8a4(0x1a1)](helper[_0x14e8a4(0x1a9)](_0x3e19c1['config'],_0x38ed4d['PDisa'],_0x535d8a)):_0x2faaa5['push'](helper[_0x14e8a4(0x1a7)](_0x3e19c1[_0x14e8a4(0x1cf)],_0x38ed4d['PDisa'],_0x535d8a));});const _0x2b6c0b={},_0x2439cc=[];_0x4377fa['env']=_0x4377fa[_0x45186b(0x1ab)]||_0x4377fa['e'];const _0x13b54f=_0x4377fa[_0x45186b(0x1ab)]?_0x4377fa[_0x45186b(0x1ab)][_0x45186b(0x1aa)]()[_0x45186b(0x18d)](',')[_0x45186b(0x1d4)](_0x1ef277=>_0x1ef277[_0x45186b(0x1aa)]())[_0x45186b(0x17d)](_0x36e93c=>_0x36e93c!==''):[''];_0x38ed4d[_0x45186b(0x19b)](_0x13b54f[_0x45186b(0x190)],0x0)&&_0x13b54f[_0x45186b(0x1a1)]('');_0x13b54f[_0x45186b(0x1ae)](_0x59ecda=>{const _0x1c8dd2=_0x45186b,_0x4873f7={'jDKKi':function(_0x1a728c,_0x2c7b6f){const _0x5b8663=a45_0x4af4;return _0x38ed4d[_0x5b8663(0x188)](_0x1a728c,_0x2c7b6f);},'WVOKR':_0x38ed4d[_0x1c8dd2(0x18b)]};_0x2faaa5[_0x1c8dd2(0x1ae)](_0x4bf2e6=>{const _0x55fa5=_0x1c8dd2;let _0x739042=_0x4873f7[_0x55fa5(0x1d5)](helper[_0x55fa5(0x184)](_0x4bf2e6,'_'),'_'+Date['now']());_0x59ecda&&(_0x739042+='_'+_0x59ecda);if(_0x59ecda&&(!_0x10c021[_0x4873f7['WVOKR']]||!_0x10c021[_0x4873f7[_0x55fa5(0x18a)]][_0x59ecda]))return;const _0xe8fd85={..._0xaf2ac9};_0xe8fd85[_0x55fa5(0x1bf)]=_0x4bf2e6;const _0x1c8ac3=_0xe8fd85;_0x2b6c0b[_0x739042]=_0x59ecda?helper[_0x55fa5(0x1c9)](_0x10c021[_0x4873f7[_0x55fa5(0x18a)]][_0x59ecda],_0x1c8ac3):_0x1c8ac3,_0x2439cc[_0x55fa5(0x1a1)](_0x739042);});});!_0x5e131c[_0x45186b(0x1bb)]&&(_0x5e131c[_0x45186b(0x1bb)]={});_0x5e131c['test_settings']={..._0x5e131c[_0x45186b(0x1bb)],..._0x2b6c0b};const _0x181dc8=path['join'](__dirname,_0x38ed4d[_0x45186b(0x186)]);fs[_0x45186b(0x183)](_0x181dc8,JSON[_0x45186b(0x1bd)](_0x5e131c)),_0x38ed4d[_0x45186b(0x1c4)](removeExistingEnvs,_0x2f96b2);const _0x4f3401=require[_0x45186b(0x196)](_0x38ed4d['SntFi']),_0x544e9e=process[_0x45186b(0x1ab)]['NODE_OPTIONS']||'',_0x14009b=_0x45186b(0x1c8)+JSON[_0x45186b(0x1bd)](_0x4f3401),_0x2ccc60=_0x544e9e?_0x544e9e+'\x20'+_0x14009b:_0x14009b,_0x537323=Object[_0x45186b(0x1c7)]({},process[_0x45186b(0x1ab)],{'NODE_OPTIONS':_0x2ccc60,'BROWSERSTACK_FRAMEWORK':process[_0x45186b(0x1ab)][_0x45186b(0x1b2)]||_0x38ed4d[_0x45186b(0x1a3)]}),_0x294f73=_0x38ed4d['HSorC'](spawn,/^win/[_0x45186b(0x1d1)](process['platform'])?_0x38ed4d[_0x45186b(0x193)]:_0x38ed4d[_0x45186b(0x1a3)],[_0x38ed4d[_0x45186b(0x1c6)],_0x181dc8,..._0x2f96b2[_0x45186b(0x198)](0x1),_0x38ed4d[_0x45186b(0x1b8)],_0x2439cc['join'](',')],{'stdio':_0x38ed4d[_0x45186b(0x185)],'env':_0x537323});_0x294f73['on'](_0x38ed4d[_0x45186b(0x1d0)],async _0x363ad2=>{const _0x48d4a6=_0x45186b;logger[_0x48d4a6(0x1b5)](_0x48d4a6(0x1d2)+_0x363ad2),logger[_0x48d4a6(0x1b6)](_0x48d4a6(0x182)+_0x181dc8),fs['unlinkSync'](_0x181dc8);});}module['exports']=run;function a45_0x523e(){const _0x6c4010=['nightwatch.json','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','modifyBrowserStackCaps','wPURd','modifyBrowserStackW3CCaps','trim','env','rzwwq','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','forEach','12815132MLxThz','4tBXoPX','nightwatch-browserstack.json','BROWSERSTACK_FRAMEWORK','Getting\x20your\x20nightwatch\x20configs\x20from\x20','existsSync','debug','info','55531cMTeuA','QsKJq','cwd','nightwatch.cmd','test_settings','12391696jRXrPK','stringify','useW3C','desiredCapabilities','QoggX','Rafsf','5238124hAJbtx','\x22:\x20it\x20resolves\x20outside\x20the\x20project\x20directory.','dTjmS','--env','Addio','assign','--require\x20','mergeDeep','warn','path','181890uQLusv','webdriver','child_process','config','CrHWP','test','child\x20process\x20exited\x20with\x20code\x20','../../helpers/logger','map','jDKKi','host','filter','join','OEDfr','474MRlFPx','5XhkMcj','Deleting\x20','writeFileSync','getPlatformName','iZDXl','gQKFb','2647278KQcJYj','cpqTO','nightwatch','WVOKR','UQgxr','splice','split','20qCUrFK','hub.browserstack.com','length','../../helpers/helper','Ignoring\x20--config\x20path\x20\x22','Riwdl','1340886wmZmlI','nightwatch.conf.js','resolve','winstonLogger','slice','platforms','start_process','VCbCP','findIndex','isUndefined','../utils/constants','resolveWithinCwd','port','push','PHMtG','PDisa','--config'];a45_0x523e=function(){return _0x6c4010;};return a45_0x523e();}
@@ -1 +1 @@
1
- const a46_0x249ea2=a46_0x19b5;function a46_0x19b5(_0x48eed7,_0x113ce4){const _0x2ad138=a46_0x2ad1();return a46_0x19b5=function(_0x19b5b1,_0x52c133){_0x19b5b1=_0x19b5b1-0x187;let _0x39bbfc=_0x2ad138[_0x19b5b1];return _0x39bbfc;},a46_0x19b5(_0x48eed7,_0x113ce4);}(function(_0x2e53e8,_0x5af88f){const _0xa372b7=a46_0x19b5,_0x42bf5c=_0x2e53e8();while(!![]){try{const _0x32d72b=parseInt(_0xa372b7(0x1ff))/0x1*(parseInt(_0xa372b7(0x1a5))/0x2)+-parseInt(_0xa372b7(0x1e7))/0x3+parseInt(_0xa372b7(0x1f4))/0x4*(-parseInt(_0xa372b7(0x1d9))/0x5)+parseInt(_0xa372b7(0x18b))/0x6+parseInt(_0xa372b7(0x19e))/0x7*(-parseInt(_0xa372b7(0x1c2))/0x8)+parseInt(_0xa372b7(0x1c7))/0x9+-parseInt(_0xa372b7(0x1d1))/0xa*(-parseInt(_0xa372b7(0x1d7))/0xb);if(_0x32d72b===_0x5af88f)break;else _0x42bf5c['push'](_0x42bf5c['shift']());}catch(_0x3bdd75){_0x42bf5c['push'](_0x42bf5c['shift']());}}}(a46_0x2ad1,0xe0c3f));const util=require(a46_0x249ea2(0x193)),logger=require(a46_0x249ea2(0x209))['winstonLogger'],{automationLogger}=require(a46_0x249ea2(0x209)),{isAccessibilityAutomationSession}=require(a46_0x249ea2(0x1f1)),{isUndefined,isBrowserstackInfra}=require(a46_0x249ea2(0x1c6)),scripts=require(a46_0x249ea2(0x199)),PerformanceTester=require(a46_0x249ea2(0x201)),{A11Y_EVENTS:PerformanceA11yEvents}=require('../../helpers/performance/constants'),accessibilityHelper=require(a46_0x249ea2(0x1f1)),{AUTOMATION_LOG_COMMANDS}=require('../utils/constants');exports[a46_0x249ea2(0x1fa)]=async(_0x4cec4b,_0xe32c3c,_0x5c84c4={})=>{const _0x5f6811=a46_0x249ea2,_0x215121={};_0x215121[_0x5f6811(0x1b2)]=_0x5f6811(0x197),_0x215121[_0x5f6811(0x1ed)]=function(_0xe6761b,_0x144979){return _0xe6761b===_0x144979;},_0x215121[_0x5f6811(0x1dc)]=_0x5f6811(0x196);const _0x5dbd78=_0x215121,_0x5c660f=await _0x4cec4b[_0x5f6811(0x1b9)](_0x5f6811(0x1ce)+_0xe32c3c[_0x5f6811(0x1cd)](/arguments/g,_0x5dbd78[_0x5f6811(0x1b2)])+_0x5f6811(0x1ec)+JSON[_0x5f6811(0x1a8)](_0x5c84c4)+')');try{if(_0xe32c3c&&_0x5dbd78[_0x5f6811(0x1ed)](typeof _0xe32c3c,_0x5dbd78[_0x5f6811(0x1dc)])){const _0x3c2038=AUTOMATION_LOG_COMMANDS[_0x5f6811(0x20a)](_0x4593df=>_0xe32c3c['includes'](_0x4593df));if(_0x3c2038){const _0x40abc5={};_0x40abc5[_0x5f6811(0x1fd)]=_0x3c2038,_0x40abc5['parameters']=[_0x5c84c4];const _0x2556c4={};_0x2556c4[_0x5f6811(0x19b)]=_0x5c660f;const _0x525d73={};_0x525d73[_0x5f6811(0x1c5)]=_0x40abc5,_0x525d73['response']=_0x2556c4,automationLogger['silly']('['+new Date()[_0x5f6811(0x18d)]()+_0x5f6811(0x19c)+JSON[_0x5f6811(0x1a8)](_0x525d73));}}}catch(_0x5327fe){logger[_0x5f6811(0x1a0)](_0x5f6811(0x1dd)+_0x5327fe[_0x5f6811(0x1d6)]);}return _0x5c660f;},exports[a46_0x249ea2(0x1f0)]=async(_0x54c9cf,_0x36cca8,_0x3d420c={})=>{const _0x13b548=a46_0x249ea2,_0x59d2c8={};_0x59d2c8[_0x13b548(0x204)]=function(_0x3777f2,_0x3a23fb){return _0x3777f2===_0x3a23fb;},_0x59d2c8[_0x13b548(0x1a7)]=_0x13b548(0x1e3),_0x59d2c8['LxijE']=function(_0x43978f,_0x3c8614){return _0x43978f===_0x3c8614;},_0x59d2c8[_0x13b548(0x1f9)]=_0x13b548(0x1c3),_0x59d2c8[_0x13b548(0x1aa)]='bstackSdkArgs';const _0x178f4f=_0x59d2c8;if(_0x178f4f[_0x13b548(0x204)](_0x54c9cf[_0x13b548(0x1ac)]['name'],_0x178f4f[_0x13b548(0x1a7)]))return await _0x54c9cf['executeAsyncScript'](_0x36cca8,_0x3d420c);else{if(_0x178f4f['LxijE'](_0x54c9cf[_0x13b548(0x1ac)][_0x13b548(0x1ab)],_0x178f4f['YFnLa']))return await _0x54c9cf[_0x13b548(0x202)]('(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+_0x36cca8[_0x13b548(0x1cd)](/arguments/g,_0x178f4f[_0x13b548(0x1aa)])+'\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})('+JSON[_0x13b548(0x1a8)](_0x3d420c)+')');}},exports[a46_0x249ea2(0x191)]=async _0x29ebff=>{const _0x966d67=a46_0x249ea2,_0xf4e495={};_0xf4e495[_0x966d67(0x1a6)]=_0x966d67(0x198),_0xf4e495[_0x966d67(0x1e2)]='accessibilityOptions.scannerProcessingTimeout',_0xf4e495[_0x966d67(0x1cb)]='accessibilityOptions.includeIssueType.bestPractice',_0xf4e495['OKUzC']=_0x966d67(0x1be),_0xf4e495[_0x966d67(0x1b5)]='accessibilityOptions.authToken',_0xf4e495[_0x966d67(0x1f2)]=_0x966d67(0x1f7);const _0x470d8e=_0xf4e495;_0x29ebff[_0x966d67(0x1ee)]&&(_0x29ebff[_0x966d67(0x1ee)][_0x966d67(0x1da)]&&(_0x29ebff[_0x470d8e['kpbwt']]=_0x29ebff[_0x966d67(0x1ee)]['wcagVersion']),_0x29ebff[_0x966d67(0x1ee)]['scannerProcessingTimeout']&&(_0x29ebff[_0x470d8e[_0x966d67(0x1e2)]]=_0x29ebff[_0x966d67(0x1ee)]['scannerProcessingTimeout']),_0x29ebff[_0x966d67(0x1ee)]['includeIssueType']&&(_0x29ebff[_0x470d8e[_0x966d67(0x1cb)]]=_0x29ebff['accessibilityOptions'][_0x966d67(0x1b8)][_0x966d67(0x192)],_0x29ebff[_0x470d8e[_0x966d67(0x19a)]]=_0x29ebff[_0x966d67(0x1ee)][_0x966d67(0x1b8)][_0x966d67(0x1b6)]));const _0x37929b=JSON[_0x966d67(0x20c)](process['env'][_0x966d67(0x1f3)])[_0x966d67(0x1f8)];_0x29ebff[_0x470d8e[_0x966d67(0x1b5)]]=process[_0x966d67(0x1c8)][_0x966d67(0x1cf)],_0x29ebff[_0x470d8e[_0x966d67(0x1f2)]]=_0x37929b,delete _0x29ebff[_0x966d67(0x1ee)];},exports[a46_0x249ea2(0x1cc)]=async _0x4efc45=>{const _0x5aad82=a46_0x249ea2,_0xa2fda2={};_0xa2fda2[_0x5aad82(0x1c9)]=_0x5aad82(0x1a4),_0xa2fda2[_0x5aad82(0x1df)]=_0x5aad82(0x1d5);const _0x539bbf=_0xa2fda2;if(global[_0x5aad82(0x1fe)])try{const details={'url':await _0x4efc45.url(),'testhub_btcer_uuid':global.__workerDetails?.currentTest?.id};const mobileArgs=global.isMobilePlatform?{is_mobile_session:true,thTestRunUuid:global.__workerDetails?.currentTest?.thTestRunUuid}:{};logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x4efc45,scripts.performScan,mobileArgs)));},{command:'getAccessibilityResults',...details})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x4efc45,scripts.getResults,mobileArgs);},{...details})();return res;}catch{return logger['error'](_0x539bbf[_0x5aad82(0x1c9)]),[];}else return logger[_0x5aad82(0x1a3)](_0x539bbf[_0x5aad82(0x1df)]),[];},exports[a46_0x249ea2(0x1c0)]=async(_0x362e95,_0x4318a7='',_0x5060bd={},_0x46b0ad={})=>{const _0x385c6b=a46_0x249ea2;logger['debug'](_0x385c6b(0x20d)+_0x4318a7+_0x385c6b(0x207)+_0x362e95);const _0x3d6658={'url':await _0x362e95[_0x385c6b(0x1db)](),'testhub_btcer_uuid':global[_0x385c6b(0x1b7)]?.[_0x385c6b(0x1f6)]?.['id']};if(global['accessibilityPlatform'])return await PerformanceTester[_0x385c6b(0x1b3)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x2009c0=_0x385c6b,_0x349007={};_0x349007[_0x2009c0(0x1fd)]=_0x4318a7;const _0x19dd80=_0x349007;_0x5060bd&&_0x5060bd['includePartOfPageScope']&&(_0x19dd80[_0x2009c0(0x1bd)]=_0x5060bd[_0x2009c0(0x1bd)]);Object[_0x2009c0(0x211)](_0x19dd80,_0x46b0ad);const _0x19473c=await exports[_0x2009c0(0x1fa)](_0x362e95,scripts['performScan'],_0x19dd80);return _0x19473c;},{'command':_0x4318a7,..._0x3d6658})();},exports[a46_0x249ea2(0x189)]=async _0x443e81=>{const _0x23e18f=a46_0x249ea2,_0x49164b={};_0x49164b[_0x23e18f(0x18c)]=_0x23e18f(0x190),_0x49164b[_0x23e18f(0x1d4)]=_0x23e18f(0x1d3);const _0x1bf08c=_0x49164b;if(global[_0x23e18f(0x1fe)])try{const mobileArgs=global.isMobilePlatform?{is_mobile_session:true,thTestRunUuid:global.__workerDetails?.currentTest?.thTestRunUuid}:{};await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x443e81,scripts.performScan,mobileArgs)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x443e81,scripts.getResultsSummary,mobileArgs);})();return summaryResults;}catch{return logger[_0x23e18f(0x1a0)](_0x1bf08c[_0x23e18f(0x18c)]),{};}else return logger['warn'](_0x1bf08c[_0x23e18f(0x1d4)]),{};},exports[a46_0x249ea2(0x1b4)]=_0x1a87b0=>{const _0x935e5c=a46_0x249ea2,_0xaac6bc={'qDieX':_0x935e5c(0x1eb),'zrYOv':_0x935e5c(0x1fc),'MicdY':function(_0x3b993d,_0x475d85){return _0x3b993d!==_0x475d85;},'GzpMs':_0x935e5c(0x1af),'XLlQI':function(_0x416d4b){return _0x416d4b();},'xbYzB':_0x935e5c(0x187)};try{if(global[_0x935e5c(0x1ef)])return logger[_0x935e5c(0x1a0)](_0xaac6bc[_0x935e5c(0x18a)]),!![];const _0x134a8c=_0x1a87b0['browser'],_0x317745=_0x1a87b0[_0x935e5c(0x195)];if(!accessibilityHelper['isBrowserSupportedForAccessibility'](_0x134a8c))return logger['warn'](_0xaac6bc[_0x935e5c(0x1b1)]),![];if(_0xaac6bc[_0x935e5c(0x1a2)](_0x317745,_0xaac6bc[_0x935e5c(0x1de)])){const _0x353a48=_0xaac6bc[_0x935e5c(0x1e9)](isBrowserstackInfra),_0x24b6fc=accessibilityHelper[_0x935e5c(0x20b)](_0x134a8c,_0x353a48),_0x45f690=accessibilityHelper[_0x935e5c(0x1e0)](_0x134a8c);if(!accessibilityHelper[_0x935e5c(0x194)](_0x317745,_0x24b6fc)){const _0x1400d2=_0x353a48?'':_0xaac6bc['xbYzB'];return logger[_0x935e5c(0x1a3)](_0x935e5c(0x1ad)+_0x45f690+'\x20browser\x20version\x20'+_0x24b6fc+_0x935e5c(0x208)+_0x1400d2+'.'),![];}}}catch(_0x3fdd40){logger[_0x935e5c(0x1a0)](_0x935e5c(0x1e5)+util[_0x935e5c(0x1ca)](_0x3fdd40));}return!![];},exports[a46_0x249ea2(0x1c1)]=(_0x52ca26,_0x511070,_0x496817)=>{const _0x105ada=a46_0x249ea2,_0x583bd1={'sjNII':_0x105ada(0x18f),'hmNrW':function(_0x470d2f){return _0x470d2f();},'Yefqe':_0x105ada(0x1c4),'gxYQY':_0x105ada(0x1fc),'fdLdx':function(_0x9d4317,_0x5757f4){return _0x9d4317!==_0x5757f4;},'ZkdJw':_0x105ada(0x1af),'JtKre':_0x105ada(0x187),'UXjlW':function(_0x3e3e10,_0x871da2){return _0x3e3e10(_0x871da2);},'kOntT':function(_0x3d514a,_0x33acc8){return _0x3d514a===_0x33acc8;},'jbIPO':'android','wIuGo':_0x105ada(0x1f5),'iHLxg':_0x105ada(0x20f),'KfvCX':_0x105ada(0x18e),'XjNzW':_0x105ada(0x1ea),'xljes':function(_0x584b32,_0x3f652d){return _0x584b32+_0x3f652d;}};try{if(_0x583bd1[_0x105ada(0x1bf)](isAccessibilityAutomationSession)){global[_0x105ada(0x1fe)]=!![];!_0x52ca26[_0x583bd1[_0x105ada(0x1e8)]]&&(global['accessibilityPlatform']=![]);const _0x34ee05=_0x52ca26[_0x105ada(0x1e1)]||_0x52ca26[_0x105ada(0x1a9)],_0x1a1892=_0x52ca26[_0x105ada(0x195)];!accessibilityHelper[_0x105ada(0x1ba)](_0x34ee05)&&(logger[_0x105ada(0x1a3)](_0x583bd1['gxYQY']),global['accessibilityPlatform']=![]);if(_0x583bd1['fdLdx'](_0x1a1892,_0x583bd1['ZkdJw'])){const _0x1b9316=_0x583bd1[_0x105ada(0x1bf)](isBrowserstackInfra),_0x1d4ff3=accessibilityHelper['getMinVersionForBrowser'](_0x34ee05,_0x1b9316),_0x3f0e42=accessibilityHelper[_0x105ada(0x1e0)](_0x34ee05);if(!accessibilityHelper['isVersionSupported'](_0x1a1892,_0x1d4ff3)){const _0x507f31=_0x1b9316?'':_0x583bd1['JtKre'];logger['warn'](_0x105ada(0x1ad)+_0x3f0e42+_0x105ada(0x1e4)+_0x1d4ff3+_0x105ada(0x208)+_0x507f31+'.'),global['accessibilityPlatform']=![];}}if(!_0x583bd1[_0x105ada(0x1d2)](isUndefined,_0x52ca26['deviceName'])){const _0x204cbd=(_0x52ca26['os']||'')[_0x105ada(0x1b0)](),_0x157c2b=(_0x52ca26[_0x105ada(0x1e1)]||_0x52ca26[_0x105ada(0x1a9)]||'')[_0x105ada(0x1b0)](),_0x32b76c=_0x583bd1[_0x105ada(0x188)](_0x204cbd,_0x583bd1['jbIPO'])&&[_0x583bd1[_0x105ada(0x1e6)],_0x583bd1['iHLxg'],_0x583bd1[_0x105ada(0x210)]][_0x105ada(0x1d0)](_0x157c2b);if(!_0x32b76c)logger['warn'](_0x583bd1[_0x105ada(0x20e)]),global[_0x105ada(0x1fe)]=![];else!accessibilityHelper[_0x105ada(0x206)]()&&(logger[_0x105ada(0x1a3)](accessibilityHelper['MOBILE_SCANNING_DISABLED_WARNING']),global[_0x105ada(0x1fe)]=![]);}if(!global[_0x105ada(0x1fe)]){_0x52ca26[_0x583bd1[_0x105ada(0x1e8)]]=![],Object[_0x105ada(0x1fb)](_0x52ca26)['forEach'](_0x54f6a6=>{const _0x3f89b3=_0x105ada;_0x54f6a6[_0x3f89b3(0x205)](_0x583bd1[_0x3f89b3(0x203)])&&delete _0x52ca26[_0x54f6a6];});const _0x5b91ac=_0x583bd1[_0x105ada(0x1bc)](_0x511070,_0x583bd1[_0x105ada(0x1d2)](encodeURIComponent,JSON[_0x105ada(0x1a8)](_0x52ca26)));_0x496817&&(_0x496817['currentTest'][_0x105ada(0x19d)]['project'][_0x105ada(0x19f)][_0x105ada(0x1a1)]['wsEndpoint']=_0x5b91ac,_0x496817[_0x105ada(0x1d8)][_0x105ada(0x1ae)][_0x105ada(0x19f)][_0x105ada(0x1a1)][_0x105ada(0x1bb)]=_0x5b91ac);}}else global['accessibilityPlatform']=![];}catch(_0x929c73){logger[_0x105ada(0x1a0)](_0x105ada(0x200)+util['format'](_0x929c73));}};function a46_0x2ad1(){const _0x177b0d=['constructor','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20','project','latest','toLowerCase','zrYOv','gMCay','measureWrapper','platformValidation','DFixI','needsReview','__workerDetails','includeIssueType','evaluate','isBrowserSupportedForAccessibility','wsEndpoint','xljes','includePartOfPageScope','accessibilityOptions.includeIssueType.needsReview','hmNrW','performScan','processAccessibilityCaps','39496QvqYme','Playwright','browserstack.accessibility','request','../../helpers/helper','12926421RpxVXY','env','WWFWq','format','yhunj','getAccessibilityResults','replace','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20','BS_A11Y_JWT','includes','10940710NaseWu','UXjlW','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','qdhwA','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','message','11PDocEO','workerInfo','5745BDtMLG','wcagVersion','url','JylzO','[A11Y]\x20Error\x20logging\x20SDK-AUTOMATION\x20for\x20browserStackEvaluate:\x20','GzpMs','AZJhc','getBrowserDisplayName','browserName','LCeRt','WebDriver','\x20browser\x20version\x20','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','wIuGo','1095141izuVYh','Yefqe','XLlQI','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers\x20or\x20Android\x20Chrome.','platformValidation:\x20Mobile\x20platform\x20already\x20validated.','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','rwnnW','accessibilityOptions','isMobilePlatform','browserStackExecuteDriver','../../helpers/accessibility-automation/helper','anvkU','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','5716xLCECa','chrome','currentTest','accessibilityOptions.scannerVersion','scannerVersion','YFnLa','browserStackEvaluate','keys','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','command','accessibilityPlatform','259825KSAsiv','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','../../helpers/performance/performance-tester','executeScript','sjNII','DbpWl','startsWith','isMobileScanningEnabledForGroup','\x20page:\x20','\x20or\x20higher\x20','../../helpers/logger','find','getMinVersionForBrowser','parse','Performing\x20scan\x20with\x20method:\x20','XjNzW','playwright-chromium','KfvCX','assign','on\x20non-BrowserStack\x20infrastructure\x20','kOntT','getAccessibilityResultsSummary','qDieX','6445242YYXgQw','zXrwa','toISOString','chromium','browserstack.accessibilityOptions','No\x20summaryResults\x20found.','setAccessibilityCapabilities','bestPractice','util','isVersionSupported','browser_version','string','bstackSdkArgs','accessibilityOptions.wcagVersion','../../helpers/accessibility-automation/scripts','OKUzC','body','][\x20SDK-AUTOMATION\x20]\x20','testInfo','2065ovLuzo','use','debug','connectOptions','MicdY','warn','No\x20accessibility\x20results\x20were\x20found.','6RnOAQF','kpbwt','XfFVZ','stringify','browser','coWcA','name'];a46_0x2ad1=function(){return _0x177b0d;};return a46_0x2ad1();}
1
+ const a46_0x578bb2=a46_0x1357;(function(_0x1068fc,_0x1cb6e6){const _0x3e0f3b=a46_0x1357,_0x3c6518=_0x1068fc();while(!![]){try{const _0x243485=-parseInt(_0x3e0f3b(0x9d))/0x1*(parseInt(_0x3e0f3b(0x76))/0x2)+parseInt(_0x3e0f3b(0xd2))/0x3*(-parseInt(_0x3e0f3b(0x7f))/0x4)+parseInt(_0x3e0f3b(0xd7))/0x5+-parseInt(_0x3e0f3b(0xed))/0x6+-parseInt(_0x3e0f3b(0xc1))/0x7*(-parseInt(_0x3e0f3b(0x73))/0x8)+-parseInt(_0x3e0f3b(0x7c))/0x9*(-parseInt(_0x3e0f3b(0x97))/0xa)+parseInt(_0x3e0f3b(0xc4))/0xb*(parseInt(_0x3e0f3b(0x99))/0xc);if(_0x243485===_0x1cb6e6)break;else _0x3c6518['push'](_0x3c6518['shift']());}catch(_0x3e4f1f){_0x3c6518['push'](_0x3c6518['shift']());}}}(a46_0x210d,0x1c5b7));function a46_0x210d(){const _0x43cbd6=['project','includes','../../helpers/performance/performance-tester','KYLCq','browser_version','isBrowserSupportedForAccessibility','toLowerCase','executeAsyncScript','browserstack.accessibilityOptions','jOgkZ','browserStackEvaluate','unuNb','\x20browser\x20version\x20','bhwtB','accessibilityOptions.wcagVersion','ZTsOB','bestPractice','latest','OqgDs','isMobilePlatform','request','getBrowserDisplayName','ccXvq','replace','accessibilityOptions.scannerProcessingTimeout','dzgGJ','message','../../helpers/helper','env','hpWLq','evaluate','1008cFSNrm','warn','UGeMH','135179nRwGSK','lxokr','error','wsEndpoint','platformValidation','../../helpers/accessibility-automation/helper','setAccessibilityCapabilities','dgDuW','vLzGf','bstackSdkArgs','format','body','mkaSl','wVkkp','3Svwxca','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','accessibilityOptions.scannerVersion','wcagVersion','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','955325mYjADb','silly','No\x20summaryResults\x20found.','browserStackExecuteDriver','YTrfg','command','stringify','Gpzha','Playwright','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','getAccessibilityResults','browser','GfkNP','mqGEN','PERFORM_SCAN','\x20page:\x20','dbddR','string','constructor','parse','mHQoH','oEqiR','571392XigRpk','VVRgW','assign','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers\x20or\x20Android\x20Chrome.','accessibilityPlatform','browserName','isVersionSupported','SyJom','BS_A11Y_JWT','browserstack.accessibility','keys','includeIssueType','on\x20non-BrowserStack\x20infrastructure\x20','workerInfo','../../helpers/accessibility-automation/scripts','Eedxg','xNctR','Wxgfy','872KTnZfA','chromium','][\x20SDK-AUTOMATION\x20]\x20','2TQNvep','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20','ZgrQi','connectOptions','platformValidation:\x20Mobile\x20platform\x20already\x20validated.','url','53145iQJSHo','../../helpers/performance/constants','tSkfB','291444SJfrvY','../../helpers/logger','forEach','tizZR','\x20or\x20higher\x20','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20\x20\x20','WebDriver','parameters','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','name','includePartOfPageScope','find','accessibilityOptions.authToken','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','[A11Y]\x20Error\x20logging\x20SDK-AUTOMATION\x20for\x20browserStackEvaluate:\x20','use','performScan','deviceName','uxyKA','azrlZ','Performing\x20scan\x20with\x20method:\x20','No\x20accessibility\x20results\x20were\x20found.','scannerProcessingTimeout','debug','250qwqknC','executeScript','60RCFNNw','TrVkB','nRihS','processAccessibilityCaps','131587ydHyvP','accessibilityOptions','isMobileScanningEnabledForGroup','JMTcD','getMinVersionForBrowser'];a46_0x210d=function(){return _0x43cbd6;};return a46_0x210d();}const util=require('util'),logger=require(a46_0x578bb2(0x80))['winstonLogger'],{automationLogger}=require(a46_0x578bb2(0x80)),{isAccessibilityAutomationSession}=require(a46_0x578bb2(0xc9)),{isUndefined,isBrowserstackInfra}=require(a46_0x578bb2(0xbd)),scripts=require(a46_0x578bb2(0x6f)),PerformanceTester=require(a46_0x578bb2(0xa4)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a46_0x578bb2(0x7d)),accessibilityHelper=require('../../helpers/accessibility-automation/helper'),{AUTOMATION_LOG_COMMANDS}=require('../utils/constants');function a46_0x1357(_0x1c41cb,_0x145949){const _0x210d9d=a46_0x210d();return a46_0x1357=function(_0x135745,_0x26dfbe){_0x135745=_0x135745-0x6a;let _0x3e6897=_0x210d9d[_0x135745];return _0x3e6897;},a46_0x1357(_0x1c41cb,_0x145949);}exports[a46_0x578bb2(0xac)]=async(_0x56358d,_0x1503fc,_0x4a362a={})=>{const _0x13c524=a46_0x578bb2,_0x58fe87={};_0x58fe87['xNctR']=_0x13c524(0xcd),_0x58fe87[_0x13c524(0xad)]=function(_0x3c89c4,_0x628c91){return _0x3c89c4===_0x628c91;},_0x58fe87['mHQoH']=_0x13c524(0xe8);const _0x594271=_0x58fe87,_0x203915=await _0x56358d[_0x13c524(0xc0)]('(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20'+_0x1503fc['replace'](/arguments/g,_0x594271[_0x13c524(0x71)])+'\x0a\x20\x20\x20\x20})\x0a\x20\x20})('+JSON[_0x13c524(0xdd)](_0x4a362a)+')');try{if(_0x1503fc&&_0x594271[_0x13c524(0xad)](typeof _0x1503fc,_0x594271[_0x13c524(0xeb)])){const _0x1fdf18=AUTOMATION_LOG_COMMANDS[_0x13c524(0x8a)](_0x54c653=>_0x1503fc['includes'](_0x54c653));if(_0x1fdf18){const _0x5eddae={};_0x5eddae[_0x13c524(0xdc)]=_0x1fdf18,_0x5eddae[_0x13c524(0x86)]=[_0x4a362a];const _0x323082={};_0x323082[_0x13c524(0xcf)]=_0x203915;const _0x29745a={};_0x29745a[_0x13c524(0xb6)]=_0x5eddae,_0x29745a['response']=_0x323082,automationLogger[_0x13c524(0xd8)]('['+new Date()['toISOString']()+_0x13c524(0x75)+JSON['stringify'](_0x29745a));}}}catch(_0x36b43a){logger[_0x13c524(0x96)](_0x13c524(0x8d)+_0x36b43a[_0x13c524(0xbc)]);}return _0x203915;},exports[a46_0x578bb2(0xda)]=async(_0x91a9a5,_0x3f48fb,_0x29abc1={})=>{const _0x15fc0a=a46_0x578bb2,_0x42f0c8={};_0x42f0c8['TCiSx']=function(_0x42fcfc,_0xa6c020){return _0x42fcfc===_0xa6c020;},_0x42f0c8[_0x15fc0a(0xdb)]=_0x15fc0a(0x85),_0x42f0c8[_0x15fc0a(0x92)]=function(_0xb3a688,_0x38d80a){return _0xb3a688===_0x38d80a;},_0x42f0c8[_0x15fc0a(0x7e)]=_0x15fc0a(0xdf),_0x42f0c8['dzgGJ']='bstackSdkArgs';const _0xc9875e=_0x42f0c8;if(_0xc9875e['TCiSx'](_0x91a9a5[_0x15fc0a(0xe9)][_0x15fc0a(0x88)],_0xc9875e[_0x15fc0a(0xdb)]))return await _0x91a9a5[_0x15fc0a(0xa9)](_0x3f48fb,_0x29abc1);else{if(_0xc9875e[_0x15fc0a(0x92)](_0x91a9a5['constructor']['name'],_0xc9875e[_0x15fc0a(0x7e)]))return await _0x91a9a5[_0x15fc0a(0x98)](_0x15fc0a(0x84)+_0x3f48fb[_0x15fc0a(0xb9)](/arguments/g,_0xc9875e[_0x15fc0a(0xbb)])+_0x15fc0a(0xd3)+JSON[_0x15fc0a(0xdd)](_0x29abc1)+')');}},exports[a46_0x578bb2(0xca)]=async _0x2b726c=>{const _0x17fd26=a46_0x578bb2,_0x12ac34={};_0x12ac34['JMTcD']=_0x17fd26(0xb0),_0x12ac34[_0x17fd26(0xc5)]=_0x17fd26(0xba),_0x12ac34[_0x17fd26(0xb8)]='accessibilityOptions.includeIssueType.bestPractice',_0x12ac34[_0x17fd26(0xd1)]='accessibilityOptions.includeIssueType.needsReview',_0x12ac34[_0x17fd26(0x91)]=_0x17fd26(0x8b),_0x12ac34[_0x17fd26(0xbf)]=_0x17fd26(0xd4);const _0x30663d=_0x12ac34;_0x2b726c[_0x17fd26(0x9e)]&&(_0x2b726c[_0x17fd26(0x9e)][_0x17fd26(0xd5)]&&(_0x2b726c[_0x30663d[_0x17fd26(0xa0)]]=_0x2b726c[_0x17fd26(0x9e)][_0x17fd26(0xd5)]),_0x2b726c['accessibilityOptions']['scannerProcessingTimeout']&&(_0x2b726c[_0x30663d[_0x17fd26(0xc5)]]=_0x2b726c[_0x17fd26(0x9e)][_0x17fd26(0x95)]),_0x2b726c['accessibilityOptions'][_0x17fd26(0x6c)]&&(_0x2b726c[_0x30663d[_0x17fd26(0xb8)]]=_0x2b726c[_0x17fd26(0x9e)][_0x17fd26(0x6c)][_0x17fd26(0xb2)],_0x2b726c[_0x30663d['wVkkp']]=_0x2b726c[_0x17fd26(0x9e)][_0x17fd26(0x6c)]['needsReview']));const _0x1cd76a=JSON[_0x17fd26(0xea)](process[_0x17fd26(0xbe)][_0x17fd26(0xd6)])['scannerVersion'];_0x2b726c[_0x30663d[_0x17fd26(0x91)]]=process['env'][_0x17fd26(0xf6)],_0x2b726c[_0x30663d[_0x17fd26(0xbf)]]=_0x1cd76a,delete _0x2b726c[_0x17fd26(0x9e)];},exports[a46_0x578bb2(0xe1)]=async _0x517b0d=>{const _0x11d642=a46_0x578bb2,_0x90b2bc={};_0x90b2bc['mkaSl']=_0x11d642(0x94),_0x90b2bc[_0x11d642(0xf5)]=_0x11d642(0x8c);const _0x22ebde=_0x90b2bc;if(global[_0x11d642(0xf2)])try{const details={'url':await _0x517b0d.url(),'testhub_btcer_uuid':global.__workerDetails?.currentTest?.id};const mobileArgs=global.isMobilePlatform?{is_mobile_session:true,thTestRunUuid:global.__workerDetails?.currentTest?.thTestRunUuid}:{};logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x517b0d,scripts.performScan,mobileArgs)));},{command:'getAccessibilityResults',...details})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x517b0d,scripts.getResults,mobileArgs);},{...details})();return res;}catch{return logger[_0x11d642(0xc6)](_0x22ebde[_0x11d642(0xd0)]),[];}else return logger[_0x11d642(0xc2)](_0x22ebde[_0x11d642(0xf5)]),[];},exports[a46_0x578bb2(0x8f)]=async(_0x2073c7,_0x673870='',_0x25499e={},_0x1b041c={})=>{const _0x499111=a46_0x578bb2;logger[_0x499111(0x96)](_0x499111(0x93)+_0x673870+_0x499111(0xe6)+_0x2073c7);const _0xaa561d={'url':await _0x2073c7[_0x499111(0x7b)](),'testhub_btcer_uuid':global['__workerDetails']?.['currentTest']?.['id']};if(global[_0x499111(0xf2)])return await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x499111(0xe5)],async()=>{const _0x32be2b=_0x499111,_0x376d4c={};_0x376d4c['command']=_0x673870;const _0x395d6c=_0x376d4c;_0x25499e&&_0x25499e[_0x32be2b(0x89)]&&(_0x395d6c[_0x32be2b(0x89)]=_0x25499e[_0x32be2b(0x89)]);Object[_0x32be2b(0xef)](_0x395d6c,_0x1b041c);const _0x240e3d=await exports['browserStackEvaluate'](_0x2073c7,scripts[_0x32be2b(0x8f)],_0x395d6c);return _0x240e3d;},{'command':_0x673870,..._0xaa561d})();},exports['getAccessibilityResultsSummary']=async _0x42947c=>{const _0x52e003=a46_0x578bb2,_0x314098={};_0x314098[_0x52e003(0xab)]=_0x52e003(0xd9),_0x314098[_0x52e003(0xc3)]=_0x52e003(0xf0);const _0x276a70=_0x314098;if(global['accessibilityPlatform'])try{const mobileArgs=global.isMobilePlatform?{is_mobile_session:true,thTestRunUuid:global.__workerDetails?.currentTest?.thTestRunUuid}:{};await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x42947c,scripts.performScan,mobileArgs)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x42947c,scripts.getResultsSummary,mobileArgs);})();return summaryResults;}catch{return logger[_0x52e003(0x96)](_0x276a70[_0x52e003(0xab)]),{};}else return logger[_0x52e003(0xc2)](_0x276a70[_0x52e003(0xc3)]),{};},exports[a46_0x578bb2(0xc8)]=_0x271a42=>{const _0x1347d5=a46_0x578bb2,_0x379f79={'rnlTH':_0x1347d5(0x7a),'ZgrQi':_0x1347d5(0x87),'TrVkB':function(_0x18b292,_0x5857da){return _0x18b292!==_0x5857da;},'vLzGf':_0x1347d5(0xb3),'KYLCq':function(_0xb13cb0){return _0xb13cb0();},'FnkrQ':_0x1347d5(0x6d)};try{if(global[_0x1347d5(0xb5)])return logger[_0x1347d5(0x96)](_0x379f79['rnlTH']),!![];const _0x5dc346=_0x271a42[_0x1347d5(0xe2)],_0xaadfb2=_0x271a42[_0x1347d5(0xa6)];if(!accessibilityHelper[_0x1347d5(0xa7)](_0x5dc346))return logger['warn'](_0x379f79[_0x1347d5(0x78)]),![];if(_0x379f79[_0x1347d5(0x9a)](_0xaadfb2,_0x379f79[_0x1347d5(0xcc)])){const _0x294702=_0x379f79[_0x1347d5(0xa5)](isBrowserstackInfra),_0x159b1a=accessibilityHelper['getMinVersionForBrowser'](_0x5dc346,_0x294702),_0xa9e8a8=accessibilityHelper[_0x1347d5(0xb7)](_0x5dc346);if(!accessibilityHelper[_0x1347d5(0xf4)](_0xaadfb2,_0x159b1a)){const _0x25ac2d=_0x294702?'':_0x379f79['FnkrQ'];return logger[_0x1347d5(0xc2)]('Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20'+_0xa9e8a8+_0x1347d5(0xae)+_0x159b1a+_0x1347d5(0x83)+_0x25ac2d+'.'),![];}}}catch(_0x2ce9a4){logger[_0x1347d5(0x96)]('Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20'+util[_0x1347d5(0xce)](_0x2ce9a4));}return!![];},exports[a46_0x578bb2(0x9c)]=(_0x336d98,_0x3322cf,_0x31749a)=>{const _0x569b3b=a46_0x578bb2,_0x4161b5={'UVVdy':_0x569b3b(0xaa),'VVRgW':function(_0x2995e1){return _0x2995e1();},'Gpzha':_0x569b3b(0x6a),'tizZR':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','dgDuW':function(_0x4042b8,_0x490140){return _0x4042b8!==_0x490140;},'Eedxg':'latest','dbddR':function(_0x3f28c7){return _0x3f28c7();},'Wxgfy':_0x569b3b(0x6d),'OqgDs':function(_0x1a64c3,_0x36b569){return _0x1a64c3(_0x36b569);},'bhwtB':function(_0x152e92,_0x5a5017){return _0x152e92===_0x5a5017;},'oEqiR':'android','mqGEN':'chrome','ZTsOB':'playwright-chromium','nRihS':_0x569b3b(0x74),'GfkNP':_0x569b3b(0xf1),'aklNo':function(_0x747faf,_0x354b6b){return _0x747faf+_0x354b6b;}};try{if(_0x4161b5[_0x569b3b(0xee)](isAccessibilityAutomationSession)){global[_0x569b3b(0xf2)]=!![];!_0x336d98[_0x4161b5[_0x569b3b(0xde)]]&&(global[_0x569b3b(0xf2)]=![]);const _0x5ec056=_0x336d98[_0x569b3b(0xf3)]||_0x336d98[_0x569b3b(0xe2)],_0x509982=_0x336d98[_0x569b3b(0xa6)];!accessibilityHelper[_0x569b3b(0xa7)](_0x5ec056)&&(logger[_0x569b3b(0xc2)](_0x4161b5[_0x569b3b(0x82)]),global[_0x569b3b(0xf2)]=![]);if(_0x4161b5[_0x569b3b(0xcb)](_0x509982,_0x4161b5[_0x569b3b(0x70)])){const _0xd1dd60=_0x4161b5[_0x569b3b(0xe7)](isBrowserstackInfra),_0x19771d=accessibilityHelper[_0x569b3b(0xa1)](_0x5ec056,_0xd1dd60),_0x430ce1=accessibilityHelper[_0x569b3b(0xb7)](_0x5ec056);if(!accessibilityHelper['isVersionSupported'](_0x509982,_0x19771d)){const _0x884c35=_0xd1dd60?'':_0x4161b5[_0x569b3b(0x72)];logger[_0x569b3b(0xc2)](_0x569b3b(0x77)+_0x430ce1+_0x569b3b(0xae)+_0x19771d+_0x569b3b(0x83)+_0x884c35+'.'),global[_0x569b3b(0xf2)]=![];}}if(!_0x4161b5[_0x569b3b(0xb4)](isUndefined,_0x336d98[_0x569b3b(0x90)])){const _0x1465b4=(_0x336d98['os']||'')[_0x569b3b(0xa8)](),_0x4bd291=(_0x336d98['browserName']||_0x336d98['browser']||'')[_0x569b3b(0xa8)](),_0x3903a9=_0x4161b5[_0x569b3b(0xaf)](_0x1465b4,_0x4161b5[_0x569b3b(0xec)])&&[_0x4161b5[_0x569b3b(0xe4)],_0x4161b5[_0x569b3b(0xb1)],_0x4161b5[_0x569b3b(0x9b)]][_0x569b3b(0xa3)](_0x4bd291);if(!_0x3903a9)logger[_0x569b3b(0xc2)](_0x4161b5[_0x569b3b(0xe3)]),global[_0x569b3b(0xf2)]=![];else!accessibilityHelper[_0x569b3b(0x9f)]()&&(logger[_0x569b3b(0xc2)](accessibilityHelper['MOBILE_SCANNING_DISABLED_WARNING']),global[_0x569b3b(0xf2)]=![]);}if(!global[_0x569b3b(0xf2)]){_0x336d98[_0x4161b5[_0x569b3b(0xde)]]=![],Object[_0x569b3b(0x6b)](_0x336d98)[_0x569b3b(0x81)](_0x2b2710=>{_0x2b2710['startsWith'](_0x4161b5['UVVdy'])&&delete _0x336d98[_0x2b2710];});const _0x3b8ae6=_0x4161b5['aklNo'](_0x3322cf,_0x4161b5[_0x569b3b(0xb4)](encodeURIComponent,JSON[_0x569b3b(0xdd)](_0x336d98)));_0x31749a&&(_0x31749a['currentTest']['testInfo']['project'][_0x569b3b(0x8e)]['connectOptions'][_0x569b3b(0xc7)]=_0x3b8ae6,_0x31749a[_0x569b3b(0x6e)][_0x569b3b(0xa2)]['use'][_0x569b3b(0x79)][_0x569b3b(0xc7)]=_0x3b8ae6);}}else global['accessibilityPlatform']=![];}catch(_0x128ecd){logger[_0x569b3b(0x96)](_0x569b3b(0xe0)+util[_0x569b3b(0xce)](_0x128ecd));}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a47_0x53e65f=a47_0x270f;function a47_0x5382(){const _0x248758=['--config','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','mFeqA','../v2/browserstackCLI','isYarnPnP','../../helpers/test-observability/utils','indexOf','join','initialize','../../helpers/test-orchestration/testOrchestrationHandler','Reordered\x20Test\x20Files:\x20','jjmdn','../../helpers/testhub/testhubHandler','FLjFA','JWrgL','iEZqF','ETxWU','Playwright\x20process\x20exited\x20with\x20code\x20','requirePWModule','skipSessionStatus','cwd','ajpqx','isTypescriptProject','VqJqB','readdirSync','3664970JuZXUB','findPlaywrightTestFiles','.browserstack','assign','2578376AsyHqc','KBFId','accessibilityOptions','BROWSERSTACK_TEST_ACCESSIBILITY_YML','relative','unlinkSync','Error\x20in\x20deleting\x20playwright\x20results','HfkJB','slice','../../helpers/test-observability/constants','dirname','16aJNRWZ','constants','isFalse','concat','YcERD','IhPWu','requireConfigLoaderYarnPnP','nWLCo','shutdown','../../helpers/accessibility-automation/helper','testContextOptions','QmBju','INTERNALLY_USED_ENV_VARS','Error\x20in\x20getting\x20funnel\x20data\x20results','homedir','\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20process.env.GLOBAL_AGENT_NO_PROXY=\x22','../utils/constants','accessSync','PLAYWRIGHT','findIndex','KSHqi','filterBrowserstackArgs','resolve','push','splice','IrOvf','BROWSERSTACK_TEST_OBSERVABILITY','Proxy\x20url\x20:\x20','exports','yVpuZ','split','NBPMB','serializeToYamlString','parse','AOOvG','pw_result.json','playwright','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','62ASnHoY','isRunning','zsWxl','GbGMU','end','yarn','mfkxI','../../helpers/utilities','win32','Mekeo','2595069ebTJSj','util','2765nOdprx','kAVsM','pcgTi','W_OK','--config=','exitCode','cliConfig','PiuWr','WZSKs','YyhyH','writeFileSync','OcTYq','reportConflictingEnvVarIssue','getConfig','BROWSERSTACK_FRAMEWORK','WOVcm','alIOP','../v2/TestInfo','gdxUt','path','existsSync','close','platform','SDK_CLEANUP','../../helpers/BrowserStackSetup','resolvedConfigFile','./reporter/pwUtils','accessibility','ashkH','WrkFG','SxyYB','true','474JXojRM','reorderTestFiles','bootstrap','get','measureWrapper','BWZuO','stringify','BROWSERSTACK_PW_CONFIG_DIR','--disable-test-observability','trace_','config','vUHGg','blPvh','jHUqT','BROWSERSTACK_AUTOMATION','../../helpers/performance/constants','aBTWs','R_OK','false','debug','Deleting\x20','getInstance','EVENTS','Found:\x20','joMWz','testObservability','reportDotBrowserStackFolderNotAccessibleIssue','BROWSERSTACK_RERUN_TESTS','env','RrSlL','IHDoJ','USER_CONFIG_DETAILS_PATH','isCLIEnabled','iaSbx','QNmLN','inherit','error','playwright-browserstack-sdk.config.js','isTrue','1311EtMPHD','627513SqEmtl','./reporter/test-details','isUndefined','BrowserStack\x20config\x20file\x20not\x20found.','qWnha','startsWith','setupBrowserstackLocal','browserstackAutomation','child_process','WARWT','npx','Error\x20in\x20accessing\x20.browserstack\x20directory:\x20','./accessibility-helper','forEach','ZMoDK','map','getConfigPath','nestedKeyValue','../../helpers/helper','filter','AYNVx','skipSessionName','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','../../helpers/performance/performance-tester','errorMessage','No\x20Proxy\x20:\x20','Error\x20in\x20closing\x20playwright','YyGKn','test','MNprm','kYkpk','length','sOUZw','2192900zuvOGW','../../helpers/logger'];a47_0x5382=function(){return _0x248758;};return a47_0x5382();}(function(_0x3011e0,_0x32a712){const _0x48a431=a47_0x270f,_0x2b0362=_0x3011e0();while(!![]){try{const _0x2f8229=parseInt(_0x48a431(0x1ff))/0x1+-parseInt(_0x48a431(0x1ab))/0x2*(parseInt(_0x48a431(0x1fe))/0x3)+-parseInt(_0x48a431(0x23f))/0x4+-parseInt(_0x48a431(0x220))/0x5+-parseInt(_0x48a431(0x1d7))/0x6*(parseInt(_0x48a431(0x1b7))/0x7)+-parseInt(_0x48a431(0x24a))/0x8*(-parseInt(_0x48a431(0x1b5))/0x9)+parseInt(_0x48a431(0x23b))/0xa;if(_0x2f8229===_0x32a712)break;else _0x2b0362['push'](_0x2b0362['shift']());}catch(_0xcd0c0a){_0x2b0362['push'](_0x2b0362['shift']());}}}(a47_0x5382,0x6c18e));const fs=require('fs'),path=require(a47_0x53e65f(0x1ca)),{spawn}=require(a47_0x53e65f(0x207)),{format}=require(a47_0x53e65f(0x1b6)),logger=require(a47_0x53e65f(0x221))['winstonLogger'],{default:BrowserStackSetup}=require(a47_0x53e65f(0x1cf)),helper=require(a47_0x53e65f(0x211)),utilities=require(a47_0x53e65f(0x1b2)),constants=require(a47_0x53e65f(0x25a)),{FRAMEWORKS}=require(a47_0x53e65f(0x248)),{getConfigLoaderPath}=require(a47_0x53e65f(0x1d1)),{checkAccessibilityPlatformConfig}=require(a47_0x53e65f(0x253)),{setAccessibilityCapabilities}=require(a47_0x53e65f(0x20b)),{printBuildLink}=require(a47_0x53e65f(0x227)),TestDetails=require(a47_0x53e65f(0x200)),TestHubHandler=require(a47_0x53e65f(0x22e)),PerformanceTester=require(a47_0x53e65f(0x216)),TestOrchestrationHandler=require(a47_0x53e65f(0x22b)),BrowserstackCLI=require(a47_0x53e65f(0x225)),PerformanceEvents=require(a47_0x53e65f(0x1e6))[a47_0x53e65f(0x1ed)],CLIUtils=require('../v2/cliUtils'),TestInfo=require(a47_0x53e65f(0x1c8)),ClientTroubleShootingService=require('../utils/clientTroubleshootingService'),getUserPlaywrightConfig=async(_0x309d2d,_0x4a17c1)=>{const _0x3feacc=a47_0x53e65f,_0x221cb5={'NRHFI':function(_0x50b3d6){return _0x50b3d6();},'IrOvf':function(_0x4cd06c){return _0x4cd06c();},'qWnha':function(_0x21412a,_0x2929dd){return _0x21412a(_0x2929dd);},'Mekeo':_0x3feacc(0x1d0),'MwOpQ':'--config='},_0x1727b2=!helper[_0x3feacc(0x201)](_0x309d2d[_0x3feacc(0x1e1)]),_0x51433a=_0x1727b2?path[_0x3feacc(0x19b)](process[_0x3feacc(0x236)](),_0x309d2d['config']):process[_0x3feacc(0x236)](),{resolveConfigFile:_0x4f51fd,resolveConfigLocation:_0xa680a5}=helper[_0x3feacc(0x226)]()?helper[_0x3feacc(0x250)](..._0x221cb5['NRHFI'](getConfigLoaderPath)):helper[_0x3feacc(0x234)]['apply'](null,_0x221cb5[_0x3feacc(0x19e)](getConfigLoaderPath)),_0x58f705=_0x4f51fd?_0x221cb5[_0x3feacc(0x203)](_0x4f51fd,_0x51433a):helper[_0x3feacc(0x210)](_0x221cb5[_0x3feacc(0x203)](_0xa680a5,_0x51433a),[_0x221cb5[_0x3feacc(0x1b4)]]),_0x5768bd={};if(_0x1727b2){const _0x3191ab=_0x4a17c1[_0x3feacc(0x198)](_0x406ac5=>_0x406ac5==='--config'||_0x406ac5==='-c'||_0x406ac5['startsWith'](_0x3feacc(0x1bb)));_0x4a17c1[_0x3feacc(0x19d)](_0x3191ab,_0x4a17c1[_0x3191ab][_0x3feacc(0x204)](_0x221cb5['MwOpQ'])?0x1:0x2);}const _0x391868={};return _0x391868['path']=_0x58f705,_0x391868['config']=_0x5768bd,_0x391868;},handleO11yRerun=_0x357578=>{const _0x4eab85=a47_0x53e65f,_0x1bc2f7={};_0x1bc2f7[_0x4eab85(0x1b8)]='--grep';const _0x4323c4=_0x1bc2f7,_0x17ec5c=helper[_0x4eab85(0x1fd)](process[_0x4eab85(0x1f3)]['BROWSERSTACK_RERUN']);if(_0x17ec5c){const _0x4a616a=process[_0x4eab85(0x1f3)][_0x4eab85(0x1f2)],_0x33d84e=[];if(helper['validateRerunTestList'](_0x4a616a)&&!helper[_0x4eab85(0x201)](_0x4a616a)){_0x4a616a[_0x4eab85(0x1a3)](',')[_0x4eab85(0x20e)](_0x548f9d=>{_0x33d84e['push']('('+_0x548f9d['trim']()+')');});const _0x385085='^'+_0x33d84e[_0x4eab85(0x229)]('|')+'$';_0x357578[_0x4eab85(0x19c)](_0x4323c4[_0x4eab85(0x1b8)],_0x385085);}}},spawnOriginalProcess=_0x459737=>{const _0x328c1d=a47_0x53e65f,_0x3c37d3={'yLhTw':function(_0x292d17,_0x3bbdb5,_0x18a8cb,_0x47b87f){return _0x292d17(_0x3bbdb5,_0x18a8cb,_0x47b87f);},'VqJqB':_0x328c1d(0x1b0),'lInUM':'npx','AOOvG':_0x328c1d(0x1a9),'KBFId':function(_0x255953,_0x341a9b){return _0x255953===_0x341a9b;},'MNprm':'win32','IhPWu':_0x328c1d(0x1fa)};_0x3c37d3['yLhTw'](spawn,helper[_0x328c1d(0x226)]()?_0x3c37d3[_0x328c1d(0x239)]:_0x3c37d3['lInUM'],[_0x3c37d3[_0x328c1d(0x1a7)],..._0x459737[_0x328c1d(0x247)](0x1)],{'shell':_0x3c37d3[_0x328c1d(0x240)](process[_0x328c1d(0x1cd)],_0x3c37d3[_0x328c1d(0x21c)]),'stdio':_0x3c37d3[_0x328c1d(0x24f)],'cwd':process[_0x328c1d(0x236)]()});},isTestCommand=(_0x15ad70,_0x1296c3)=>{const _0x25f9ec=a47_0x53e65f,_0x19af54={};_0x19af54['alIOP']=function(_0x4de6af,_0x198c74){return _0x4de6af>_0x198c74;},_0x19af54[_0x25f9ec(0x208)]=function(_0x4b3123,_0x4ba8ed){return _0x4b3123===_0x4ba8ed;},_0x19af54[_0x25f9ec(0x1ae)]=_0x25f9ec(0x21b);const _0x412c54=_0x19af54;if(_0x412c54[_0x25f9ec(0x1c7)](_0x1296c3[_0x25f9ec(0x21e)],0x1)&&_0x412c54[_0x25f9ec(0x208)](_0x1296c3[0x1],_0x412c54[_0x25f9ec(0x1ae)]))return!![];return![];};async function run(_0x20060d,_0x96871a,_0x2cd2dc){const _0x439210=a47_0x53e65f,_0x1b9164={'blPvh':_0x439210(0x23d),'QNmLN':_0x439210(0x1a8),'WZSKs':function(_0x64f0f,_0x1f88c0){return _0x64f0f+_0x1f88c0;},'FLjFA':_0x439210(0x257),'iEZqF':function(_0x5951e8,_0x1ae0a9){return _0x5951e8(_0x1ae0a9);},'nWLCo':function(_0xeb3831){return _0xeb3831();},'HfkJB':function(_0x10dbe2){return _0x10dbe2();},'mfkxI':function(_0xa285eb,_0x397b0a){return _0xa285eb+_0x397b0a;},'WrkFG':_0x439210(0x219),'JfbVE':_0x439210(0x202),'KSHqi':function(_0x269d08,_0x304562){return _0x269d08<_0x304562;},'vUHGg':function(_0x4d7e9b,_0x66e34a){return _0x4d7e9b===_0x66e34a;},'aBTWs':_0x439210(0x1e9),'BWZuO':_0x439210(0x1df),'ajpqx':function(_0x28f1a7,_0x2d804d){return _0x28f1a7>=_0x2d804d;},'gdxUt':function(_0x36b84b,_0x2e364d){return _0x36b84b===_0x2e364d;},'OcTYq':'automation','joMWz':function(_0x22b22d,_0x37811a){return _0x22b22d!=_0x37811a;},'iaSbx':function(_0xbd4574,_0x5347e4,_0x40de56){return _0xbd4574(_0x5347e4,_0x40de56);},'mFeqA':function(_0x3356d1,_0x3df790){return _0x3356d1(_0x3df790);},'ETxWU':function(_0x52d943,_0x181e80){return _0x52d943===_0x181e80;},'IHDoJ':_0x439210(0x1d6),'YFLDq':function(_0x4cb4e0,_0x3aab19){return _0x4cb4e0(_0x3aab19);},'sOUZw':'browserstackSetupConfig.json','YyGKn':'playwright-browserstack-sdk.config.cjs','ZMoDK':_0x439210(0x1fc),'uucTE':function(_0xae49e9,_0x137c1a){return _0xae49e9-_0x137c1a;},'NlTQq':'Updated\x20config\x20file\x20name\x20to\x20-\x20','JWrgL':function(_0x2e0a75,_0xbfd85c){return _0x2e0a75>_0xbfd85c;},'SxqOo':_0x439210(0x223),'bSapX':function(_0x5b3b13,_0x1bf66a){return _0x5b3b13<_0x1bf66a;},'kYkpk':_0x439210(0x1a9),'PiuWr':function(_0x5636c7,_0x563a9d,_0x38593b,_0xdd2a47){return _0x5636c7(_0x563a9d,_0x38593b,_0xdd2a47);},'ashkH':'yarn','NBPMB':_0x439210(0x209),'QmBju':_0x439210(0x21b),'AYNVx':_0x439210(0x222),'yVpuZ':_0x439210(0x1b3),'jjmdn':_0x439210(0x1fa),'YyhyH':_0x439210(0x1cc),'IRXYR':function(_0x378bfd,_0x3dd8c8){return _0x378bfd|_0x3dd8c8;},'zsWxl':_0x439210(0x20a),'jHUqT':_0x439210(0x245),'WOVcm':function(_0x28aa38,_0x3634b1){return _0x28aa38(_0x3634b1);}};try{const _0x1e19ee=path[_0x439210(0x229)](helper[_0x439210(0x258)](),_0x1b9164[_0x439210(0x1e3)]);try{fs[_0x439210(0x25b)](_0x1e19ee,_0x1b9164['IRXYR'](fs[_0x439210(0x24b)][_0x439210(0x1e8)],fs[_0x439210(0x24b)][_0x439210(0x1ba)]));}catch(_0x1cc2ce){ClientTroubleShootingService[_0x439210(0x1f1)]();}}catch(_0x36354a){logger[_0x439210(0x1ea)](_0x1b9164[_0x439210(0x1b1)](_0x1b9164[_0x439210(0x1ad)],_0x36354a));}try{const _0x18c2ed=path[_0x439210(0x229)](helper['homedir'](),_0x1b9164[_0x439210(0x1e3)],_0x1b9164[_0x439210(0x1f9)]);fs[_0x439210(0x1cb)](_0x18c2ed)&&fs['unlinkSync'](_0x18c2ed);}catch(_0x3f98d2){logger[_0x439210(0x1ea)](_0x1b9164[_0x439210(0x1bf)](_0x1b9164[_0x439210(0x1e4)],_0x3f98d2));}if(!_0x1b9164[_0x439210(0x1f8)](isTestCommand,_0x20060d,_0x96871a)){_0x1b9164[_0x439210(0x1c6)](spawnOriginalProcess,_0x96871a);return;}await PerformanceTester[_0x439210(0x1db)](PerformanceEvents['SDK_PRE_INITIALIZE'],async()=>{const _0x435ba8=_0x439210,_0x518f22={'YcERD':function(_0x1ec7a9,_0x15a2ca){const _0x3cb9ca=a47_0x270f;return _0x1b9164[_0x3cb9ca(0x231)](_0x1ec7a9,_0x15a2ca);},'SxyYB':_0x1b9164[_0x435ba8(0x1e3)],'pcgTi':function(_0x47d5ba){const _0xc38cb3=_0x435ba8;return _0x1b9164[_0xc38cb3(0x251)](_0x47d5ba);},'WfTUT':function(_0x48bdcf){const _0x14de6a=_0x435ba8;return _0x1b9164[_0x14de6a(0x246)](_0x48bdcf);},'RrSlL':function(_0x1f86a4,_0x103548){const _0xfce731=_0x435ba8;return _0x1b9164[_0xfce731(0x1b1)](_0x1f86a4,_0x103548);},'qWuQR':_0x1b9164[_0x435ba8(0x1d4)]};if(!_0x2cd2dc[_0x435ba8(0x1e1)]){logger[_0x435ba8(0x1fb)](_0x1b9164['JfbVE']);return;}await _0x2cd2dc[_0x435ba8(0x22a)](_0x20060d),CLIUtils['setFrameworkDetail'](FRAMEWORKS[_0x435ba8(0x25c)],FRAMEWORKS['PLAYWRIGHT']),BrowserstackCLI['getInstance']()['setBrowserstackConfig'](_0x2cd2dc[_0x435ba8(0x1e1)],_0x2cd2dc['configPath'],_0x2cd2dc[_0x435ba8(0x1bd)]),await BrowserstackCLI['getInstance']()[_0x435ba8(0x1d9)]();!BrowserstackCLI[_0x435ba8(0x1ec)]()[_0x435ba8(0x1ac)]()&&await _0x2cd2dc[_0x435ba8(0x205)]();for(var _0x598e82=0x0;_0x1b9164[_0x435ba8(0x199)](_0x598e82,constants[_0x435ba8(0x256)][_0x435ba8(0x21e)]);_0x598e82++){var _0x52bb14=constants[_0x435ba8(0x256)][_0x598e82];process[_0x435ba8(0x1f3)][_0x52bb14]&&await ClientTroubleShootingService[_0x435ba8(0x1c3)](_0x52bb14);}const _0x2779f9=BrowserstackCLI['getInstance']()[_0x435ba8(0x1c4)]();!helper['isFalse'](_0x2779f9[_0x435ba8(0x206)])&&(process[_0x435ba8(0x1f3)][_0x435ba8(0x1e5)]=!![]);_0x1b9164[_0x435ba8(0x1e2)](_0x2779f9['browserstackAutomation'],![])&&(process['env'][_0x435ba8(0x1e5)]=_0x1b9164[_0x435ba8(0x1e7)],_0x96871a=_0x96871a[_0x435ba8(0x212)](_0x19bf08=>_0x19bf08!=='--disable-browserstack-automation'));const _0xeb8a3=_0x96871a[_0x435ba8(0x228)](_0x1b9164[_0x435ba8(0x1dc)]);(_0x1b9164[_0x435ba8(0x237)](_0xeb8a3,0x0)||_0x1b9164[_0x435ba8(0x1c9)](_0x2779f9[_0x435ba8(0x1f0)],![]))&&(process[_0x435ba8(0x1f3)][_0x435ba8(0x19f)]=_0x1b9164[_0x435ba8(0x1e7)],_0x96871a=_0x96871a[_0x435ba8(0x212)](_0x22b590=>_0x22b590!=='--disable-test-observability'));!helper['isUndefined'](_0x2cd2dc[_0x435ba8(0x1bd)])&&_0x2cd2dc[_0x435ba8(0x1bd)]['has'](_0x1b9164[_0x435ba8(0x1c2)])&&(process[_0x435ba8(0x1f3)]['BROWSERSTACK_AUTOMATION']=_0x2cd2dc[_0x435ba8(0x1bd)][_0x435ba8(0x1da)](_0x1b9164[_0x435ba8(0x1c2)])||!![]);_0x1b9164[_0x435ba8(0x1ef)](_0x2cd2dc['config']['testObservability'],null)&&!helper[_0x435ba8(0x1fd)](process['env'][_0x435ba8(0x19f)])&&(process[_0x435ba8(0x1f3)]['BROWSERSTACK_TEST_OBSERVABILITY']=process[_0x435ba8(0x1f3)][_0x435ba8(0x19f)]||_0x2cd2dc[_0x435ba8(0x1e1)][_0x435ba8(0x1f0)]);const _0x1fb911=!helper[_0x435ba8(0x24c)](process[_0x435ba8(0x1f3)][_0x435ba8(0x19f)]);_0x2cd2dc[_0x435ba8(0x1e1)][_0x435ba8(0x241)]&&(process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x435ba8(0x1dd)](_0x2cd2dc['config'][_0x435ba8(0x241)]));let _0xfae6ce=![];_0x2cd2dc[_0x435ba8(0x1e1)][_0x435ba8(0x1d2)]&&(_0xfae6ce=!![],process[_0x435ba8(0x1f3)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x2cd2dc[_0x435ba8(0x1e1)][_0x435ba8(0x1d2)]);const _0x390cec=_0x96871a[_0x435ba8(0x24d)](),_0x1341d1=await _0x1b9164[_0x435ba8(0x1f8)](getUserPlaywrightConfig,_0x20060d,_0x96871a);if(helper[_0x435ba8(0x201)](_0x1341d1)){_0x1b9164[_0x435ba8(0x224)](spawnOriginalProcess,_0x390cec);return;}const _0x1bdcab=_0x1341d1[_0x435ba8(0x1ca)]?path[_0x435ba8(0x249)](_0x1341d1['path']):process['cwd']();process[_0x435ba8(0x1f3)][_0x435ba8(0x1de)]=_0x1bdcab,await PerformanceTester[_0x435ba8(0x1db)](PerformanceEvents['SDK_POST_INITIALIZE'],async()=>{const _0xfb8793=_0x435ba8;!BrowserstackCLI[_0xfb8793(0x1ec)]()[_0xfb8793(0x1ac)]()&&await TestHubHandler['launchBuild'](FRAMEWORKS[_0xfb8793(0x25c)],_0x2cd2dc),_0x1fb911&&_0x518f22[_0xfb8793(0x24e)](handleO11yRerun,_0x96871a);})();if(!BrowserstackCLI['getInstance']()[_0x435ba8(0x1ac)]()){let _0x363f4f=_0x1b9164[_0x435ba8(0x232)](process[_0x435ba8(0x1f3)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'],_0x1b9164[_0x435ba8(0x1f5)]);_0x363f4f=_0x363f4f||_0x1b9164['YFLDq'](checkAccessibilityPlatformConfig,_0x2cd2dc[_0x435ba8(0x1e1)]),process['env'][_0x435ba8(0x242)]=_0x363f4f,_0x363f4f&&_0x1b9164[_0x435ba8(0x231)](setAccessibilityCapabilities,_0x2cd2dc[_0x435ba8(0x1e1)]);}const _0x1ee589=path[_0x435ba8(0x229)](_0x1341d1['path']?path[_0x435ba8(0x249)](_0x1341d1[_0x435ba8(0x1ca)]):process['cwd'](),_0x1b9164[_0x435ba8(0x21f)]);fs['writeFileSync'](_0x1ee589,helper[_0x435ba8(0x1a5)](_0x2cd2dc[_0x435ba8(0x1e1)])),process[_0x435ba8(0x1f3)]['BROWSERSTACK_SETUP_CONFIG_PATH']=_0x1ee589,helper['clearTempPWConfig']();let _0xa492b1='';_0x1b9164[_0x435ba8(0x232)](helper['getPackageType'](),constants['PACKAGE_TYPE']['MODULE'])?_0xa492b1=_0x1b9164[_0x435ba8(0x21a)]:_0xa492b1=_0x1b9164[_0x435ba8(0x20d)];let _0x165255='';if(helper[_0x435ba8(0x238)](_0x1341d1[_0x435ba8(0x1ca)])){_0x165255='\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a';const _0x2f1743=_0xa492b1[_0x435ba8(0x1a3)]('.');_0x2f1743[_0x1b9164['uucTE'](_0x2f1743['length'],0x1)]='ts',_0xa492b1=_0x2f1743[_0x435ba8(0x229)]('.'),logger[_0x435ba8(0x1ea)](_0x1b9164[_0x435ba8(0x1b1)](_0x1b9164['NlTQq'],_0xa492b1));}else _0x165255=_0x435ba8(0x215);const _0x32fce7=path['join'](_0x1341d1[_0x435ba8(0x1ca)]?path[_0x435ba8(0x249)](_0x1341d1[_0x435ba8(0x1ca)]):process[_0x435ba8(0x236)](),_0xa492b1);let _0xbdbe2a=_0x1341d1[_0x435ba8(0x1ca)]?_0x1341d1[_0x435ba8(0x1ca)]:'';_0xbdbe2a=_0x1b9164[_0x435ba8(0x230)](_0xbdbe2a[_0x435ba8(0x21e)],0x0)?path[_0x435ba8(0x19b)](_0xbdbe2a):'',process[_0x435ba8(0x1f3)][_0x435ba8(0x1f6)]=_0xbdbe2a;const _0x465a89=helper['getProxyUrl'](_0x2cd2dc[_0x435ba8(0x1e1)]),_0x4d73f1=helper['getNoProxy'](_0x2cd2dc['config']);logger[_0x435ba8(0x1ea)](_0x435ba8(0x1a0)+_0x465a89),logger[_0x435ba8(0x1ea)](_0x435ba8(0x218)+_0x4d73f1);_0x465a89&&(_0x165255=_0x1b9164['mfkxI'](_0x435ba8(0x1aa)+_0x465a89+_0x435ba8(0x259)+_0x4d73f1+'\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}catch{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20This\x20is\x20a\x20failsafe\x20if\x20global-agent\x20present\x20inside\x20sdk\x20node_modules\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22./node_modules/browserstack-node-sdk/node_modules/global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap();',_0x165255));helper[_0x435ba8(0x19a)]({},_0x96871a),fs[_0x435ba8(0x1c1)](_0x32fce7,_0x165255);let _0x34ac99=[];const _0x48df70=new TestOrchestrationHandler(_0x2cd2dc[_0x435ba8(0x1e1)]);if(_0x48df70['isTestOrchestrationEnabled']()){logger[_0x435ba8(0x1ea)](_0x1b9164['SxqOo']);const _0xc17c40=await _0x48df70[_0x435ba8(0x23c)](_0xbdbe2a,_0x96871a[_0x435ba8(0x247)](0x2));logger[_0x435ba8(0x1ea)](_0x435ba8(0x1ee)+JSON[_0x435ba8(0x1dd)](_0xc17c40)+'\x20test\x20files\x20to\x20run.');const _0x4bafe6=await _0x48df70[_0x435ba8(0x1d8)](_0xc17c40);logger[_0x435ba8(0x1ea)](_0x435ba8(0x22c)+JSON[_0x435ba8(0x1dd)](_0x4bafe6)),_0x4bafe6&&_0x1b9164[_0x435ba8(0x230)](_0x4bafe6[_0x435ba8(0x21e)],0x0)&&(process[_0x435ba8(0x1f3)]['BROWSERSTACK_PW_TEST_ORDER']=_0x4bafe6[_0x435ba8(0x229)](','),_0x1b9164['bSapX'](_0x4bafe6['length'],_0xc17c40['length'])&&(_0x34ac99=_0x4bafe6[_0x435ba8(0x20e)](_0x3cb0b7=>path[_0x435ba8(0x243)](process[_0x435ba8(0x236)](),_0x3cb0b7)[_0x435ba8(0x1a3)](path['sep'])[_0x435ba8(0x229)]('/'))));}PerformanceTester[_0x435ba8(0x1af)](PerformanceEvents['SDK_SETUP']),process[_0x435ba8(0x1f3)][_0x435ba8(0x1c5)]=process[_0x435ba8(0x1f3)][_0x435ba8(0x1c5)]||_0x1b9164[_0x435ba8(0x21d)];const _0x52b8c4=_0x1b9164[_0x435ba8(0x1be)](spawn,helper[_0x435ba8(0x226)]()?_0x1b9164[_0x435ba8(0x1d3)]:_0x1b9164[_0x435ba8(0x1a4)],[_0x1b9164['kYkpk'],_0x1b9164[_0x435ba8(0x255)],_0x1b9164[_0x435ba8(0x213)],_0x1b9164['gdxUt'](process['platform'],_0x1b9164['yVpuZ'])?'\x22'+_0x32fce7+'\x22':_0x32fce7,..._0x96871a[_0x435ba8(0x247)](0x2),..._0x34ac99],{'shell':_0x1b9164[_0x435ba8(0x1c9)](process['platform'],_0x1b9164[_0x435ba8(0x1a2)]),'stdio':_0x1b9164[_0x435ba8(0x22d)],'cwd':process[_0x435ba8(0x236)](),'env':Object[_0x435ba8(0x23e)]({},process[_0x435ba8(0x1f3)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x435ba8(0x20f)](_0x20060d),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x2cd2dc['config'][_0x435ba8(0x254)][_0x435ba8(0x235)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x2cd2dc['config']['testContextOptions'][_0x435ba8(0x214)],'BROWSERSTACK_LOG_LEVEL':_0x2cd2dc['config']['logLevel']})}),_0x383bfe=()=>{const _0x1c759a=_0x435ba8;try{const _0x2a27ac=path[_0x1c759a(0x229)](helper['homedir'](),_0x1b9164[_0x1c759a(0x1e3)],_0x1b9164[_0x1c759a(0x1f9)]);if(fs[_0x1c759a(0x1cb)](_0x2a27ac)){let _0x3f7414=fs['readFileSync'](_0x2a27ac);_0x3f7414=JSON[_0x1c759a(0x1a6)](_0x3f7414),_0x2cd2dc[_0x1c759a(0x217)]=_0x3f7414,fs[_0x1c759a(0x244)](_0x2a27ac);}}catch(_0x528035){logger[_0x1c759a(0x1ea)](_0x1b9164[_0x1c759a(0x1bf)](_0x1b9164[_0x1c759a(0x22f)],_0x528035));}};_0x52b8c4['on'](_0x1b9164[_0x435ba8(0x1c0)],async _0x3a0536=>{const _0x58b7ab=_0x435ba8;try{PerformanceTester['start'](PerformanceEvents[_0x58b7ab(0x1ce)]),_0x518f22[_0x58b7ab(0x1b9)](_0x383bfe),await TestHubHandler['stop'](),await ClientTroubleShootingService['reportFinalDetectionState']();const _0x258645=BrowserstackCLI[_0x58b7ab(0x1f7)]();await BrowserstackCLI[_0x58b7ab(0x1ec)]()['stop'](),TestDetails[_0x58b7ab(0x252)](),_0x518f22['WfTUT'](printBuildLink),await utilities['finalExecution'](_0x2cd2dc,_0x258645),process[_0x58b7ab(0x1bc)]=_0x3a0536,logger[_0x58b7ab(0x1ea)](_0x58b7ab(0x233)+_0x3a0536),logger['info'](_0x58b7ab(0x1eb)+_0x32fce7),fs[_0x58b7ab(0x244)](_0x32fce7);fs[_0x58b7ab(0x1cb)](_0x1ee589)&&(logger[_0x58b7ab(0x1ea)](_0x58b7ab(0x1eb)+_0x1ee589),fs['unlinkSync'](_0x1ee589));const _0x197d5d=fs[_0x58b7ab(0x23a)](path[_0x58b7ab(0x229)](helper[_0x58b7ab(0x258)](),_0x518f22['SxyYB']))['filter'](_0xb159a7=>_0xb159a7[_0x58b7ab(0x204)](_0x58b7ab(0x1e0)));_0x197d5d[_0x58b7ab(0x20c)](_0x295ecd=>{const _0x3034c5=_0x58b7ab;fs['unlinkSync'](path[_0x3034c5(0x229)](helper['homedir'](),_0x518f22[_0x3034c5(0x1d5)],_0x295ecd));});}catch(_0x75a7ff){logger[_0x58b7ab(0x1ea)](_0x518f22[_0x58b7ab(0x1f4)](_0x518f22['qWuQR'],_0x75a7ff));}});})();}function a47_0x270f(_0x24fc94,_0x1b3aac){const _0x5382a0=a47_0x5382();return a47_0x270f=function(_0x270f18,_0x2f444e){_0x270f18=_0x270f18-0x198;let _0x3ee541=_0x5382a0[_0x270f18];return _0x3ee541;},a47_0x270f(_0x24fc94,_0x1b3aac);}module[a47_0x53e65f(0x1a1)]=run;
2
+ 'use strict';const a47_0x1e4f6b=a47_0x59cc;(function(_0x4a4d31,_0x3e618d){const _0x572ec3=a47_0x59cc,_0x14f538=_0x4a4d31();while(!![]){try{const _0x21e434=parseInt(_0x572ec3(0x1a6))/0x1+-parseInt(_0x572ec3(0x1a1))/0x2*(parseInt(_0x572ec3(0x131))/0x3)+-parseInt(_0x572ec3(0xfe))/0x4+-parseInt(_0x572ec3(0x14f))/0x5+parseInt(_0x572ec3(0xf5))/0x6*(parseInt(_0x572ec3(0x127))/0x7)+parseInt(_0x572ec3(0x102))/0x8*(-parseInt(_0x572ec3(0x196))/0x9)+parseInt(_0x572ec3(0x101))/0xa*(parseInt(_0x572ec3(0x106))/0xb);if(_0x21e434===_0x3e618d)break;else _0x14f538['push'](_0x14f538['shift']());}catch(_0x5707e5){_0x14f538['push'](_0x14f538['shift']());}}}(a47_0x4a17,0x7ba1e));function a47_0x4a17(){const _0x43581c=['rHmkO','WVJyw','winstonLogger','slice','reportDotBrowserStackFolderNotAccessibleIssue','LmxkE','playwright-browserstack-sdk.config.js','../utils/clientTroubleshootingService','BROWSERSTACK_FRAMEWORK','KotWu','testObservability','getInstance','qAGsN','NjAvv','12607wdMCGk','getNoProxy','isUndefined','false','sep','errorMessage','Error\x20in\x20getting\x20funnel\x20data\x20results','Found:\x20','nestedKeyValue','lpEbP','1917459DbWGed','measureWrapper','--config=','splice','Deleting\x20','../../helpers/performance/performance-tester','resolve','isTestOrchestrationEnabled','findPlaywrightTestFiles','../../helpers/performance/constants','Updated\x20config\x20file\x20name\x20to\x20-\x20','juzEV','.browserstack','--disable-browserstack-automation','--grep','isCLIEnabled','eNxRd','cliConfig','setBrowserstackConfig','Playwright\x20process\x20exited\x20with\x20code\x20','playwright','skipSessionName','platform','vFcHQ','getConfig','getConfigPath','XiZqh','lUJJA','BROWSERSTACK_TEST_OBSERVABILITY','KdUcP','2187600ffbqRT','Reordered\x20Test\x20Files:\x20','accessibilityOptions','constants','test','trace_','qEsgW','./accessibility-helper','win32','\x20test\x20files\x20to\x20run.','stop','QeZap','join','IXDrf','OiMGZ','isFalse','debug','mGBiz','validateRerunTestList','KRpBz','shutdown','PLAYWRIGHT','getProxyUrl','length','stringify','has','--config','accessibility','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','lRLvY','pw_result.json','W_OK','SEDuB','SDK_POST_INITIALIZE','HhECF','ugzuH','No\x20Proxy\x20:\x20','mNCrS','end','browserstackAutomation','Error\x20in\x20closing\x20playwright','RBmaq','sVnFm','filter','existsSync','reorderTestFiles','child_process','../v2/browserstackCLI','RksvM','DWeBa','Hhwyq','ijcUS','isYarnPnP','uyOpw','npx','apply','BROWSERSTACK_RERUN_TESTS','requireConfigLoaderYarnPnP','fuTwc','writeFileSync','homedir','requirePWModule','startsWith','get','finalExecution','wzxhB','ydDvs','ioSMI','zJNQS','getPackageType','--disable-test-observability','9pUdLqt','push','unlinkSync','../v2/cliUtils','yarn','assign','../../helpers/utilities','util','BROWSERSTACK_SETUP_CONFIG_PATH','path','QbVpL','2bszNSA','config','Error\x20in\x20accessing\x20.browserstack\x20directory:\x20','USER_CONFIG_DETAILS_PATH','Mvadk','144307rhfgQY','BROWSERSTACK_AUTOMATION','parse','nqprg','close','info','Proxy\x20url\x20:\x20','mvcIU','reportFinalDetectionState','start','setupBrowserstackLocal','isRunning','Xdile','readFileSync','./reporter/pwUtils','BROWSERSTACK_TEST_ACCESSIBILITY_YML','HJxcx','accessSync','2184SSZbOz','IjWDK','indexOf','isTrue','\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20process.env.GLOBAL_AGENT_NO_PROXY=\x22','BROWSERSTACK_RERUN','../../helpers/test-observability/constants','DtDwp','EVENTS','397004cneVve','testContextOptions','bootstrap','30HCldRN','6920392ushQWX','serializeToYamlString','cwd','EkrVS','6407500itgXfK','split','bWTXQ','INTERNALLY_USED_ENV_VARS','Error\x20in\x20deleting\x20playwright\x20results','yZNhS','map','env','PACKAGE_TYPE','logLevel','dvaMW','SDK_CLEANUP','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','exports','TWzsj','mniEy','SDK_PRE_INITIALIZE','wKRHs','../../helpers/test-orchestration/testOrchestrationHandler'];a47_0x4a17=function(){return _0x43581c;};return a47_0x4a17();}function a47_0x59cc(_0x4a39a6,_0x37427f){const _0x4a17c6=a47_0x4a17();return a47_0x59cc=function(_0x59cc8a,_0x579f6c){_0x59cc8a=_0x59cc8a-0xea;let _0x27e5b5=_0x4a17c6[_0x59cc8a];return _0x27e5b5;},a47_0x59cc(_0x4a39a6,_0x37427f);}const fs=require('fs'),path=require(a47_0x1e4f6b(0x19f)),{spawn}=require(a47_0x1e4f6b(0x17d)),{format}=require(a47_0x1e4f6b(0x19d)),logger=require('../../helpers/logger')[a47_0x1e4f6b(0x11b)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require('../../helpers/helper'),utilities=require(a47_0x1e4f6b(0x19c)),constants=require('../utils/constants'),{FRAMEWORKS}=require(a47_0x1e4f6b(0xfb)),{getConfigLoaderPath}=require(a47_0x1e4f6b(0xf1)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities}=require(a47_0x1e4f6b(0x156)),{printBuildLink}=require('../../helpers/test-observability/utils'),TestDetails=require('./reporter/test-details'),TestHubHandler=require('../../helpers/testhub/testhubHandler'),PerformanceTester=require(a47_0x1e4f6b(0x136)),TestOrchestrationHandler=require(a47_0x1e4f6b(0x118)),BrowserstackCLI=require(a47_0x1e4f6b(0x17e)),PerformanceEvents=require(a47_0x1e4f6b(0x13a))[a47_0x1e4f6b(0xfd)],CLIUtils=require(a47_0x1e4f6b(0x199)),TestInfo=require('../v2/TestInfo'),ClientTroubleShootingService=require(a47_0x1e4f6b(0x120)),getUserPlaywrightConfig=async(_0x4c348c,_0x5519fc)=>{const _0x44dd29=a47_0x1e4f6b,_0x33c2a4={'gfkYY':function(_0x211b93){return _0x211b93();},'FUvmp':function(_0xda7c5d){return _0xda7c5d();},'RksvM':function(_0xe495a,_0x41d458){return _0xe495a(_0x41d458);},'HhECF':function(_0x355b57,_0x307004){return _0x355b57(_0x307004);},'eNxRd':'resolvedConfigFile','qAGsN':_0x44dd29(0x133)},_0x50ee48=!helper[_0x44dd29(0x129)](_0x4c348c[_0x44dd29(0x1a2)]),_0x2e4e58=_0x50ee48?path['resolve'](process[_0x44dd29(0x104)](),_0x4c348c[_0x44dd29(0x1a2)]):process[_0x44dd29(0x104)](),{resolveConfigFile:_0x440bd9,resolveConfigLocation:_0x49dc61}=helper[_0x44dd29(0x183)]()?helper[_0x44dd29(0x188)](..._0x33c2a4['gfkYY'](getConfigLoaderPath)):helper[_0x44dd29(0x18c)][_0x44dd29(0x186)](null,_0x33c2a4['FUvmp'](getConfigLoaderPath)),_0x3c3918=_0x440bd9?_0x33c2a4[_0x44dd29(0x17f)](_0x440bd9,_0x2e4e58):helper[_0x44dd29(0x12f)](_0x33c2a4[_0x44dd29(0x171)](_0x49dc61,_0x2e4e58),[_0x33c2a4[_0x44dd29(0x141)]]),_0x42d0c4={};if(_0x50ee48){const _0x3ab65c=_0x5519fc['findIndex'](_0x566d68=>_0x566d68===_0x44dd29(0x169)||_0x566d68==='-c'||_0x566d68[_0x44dd29(0x18d)]('--config='));_0x5519fc[_0x44dd29(0x134)](_0x3ab65c,_0x5519fc[_0x3ab65c][_0x44dd29(0x18d)](_0x33c2a4[_0x44dd29(0x125)])?0x1:0x2);}const _0x4060b1={};return _0x4060b1['path']=_0x3c3918,_0x4060b1[_0x44dd29(0x1a2)]=_0x42d0c4,_0x4060b1;},handleO11yRerun=_0x1ed309=>{const _0x10c21a=a47_0x1e4f6b,_0x41ae72={};_0x41ae72['DtDwp']=_0x10c21a(0x13f);const _0x456ed0=_0x41ae72,_0x374899=helper[_0x10c21a(0xf8)](process[_0x10c21a(0x10d)][_0x10c21a(0xfa)]);if(_0x374899){const _0x546b8f=process[_0x10c21a(0x10d)][_0x10c21a(0x187)],_0x59ff4c=[];if(helper[_0x10c21a(0x161)](_0x546b8f)&&!helper[_0x10c21a(0x129)](_0x546b8f)){_0x546b8f['split'](',')[_0x10c21a(0x10c)](_0x2bdf1f=>{const _0x4e54bd=_0x10c21a;_0x59ff4c[_0x4e54bd(0x197)]('('+_0x2bdf1f['trim']()+')');});const _0x5b0104='^'+_0x59ff4c['join']('|')+'$';_0x1ed309[_0x10c21a(0x197)](_0x456ed0[_0x10c21a(0xfc)],_0x5b0104);}}},spawnOriginalProcess=_0x49c236=>{const _0x4cd9b3=a47_0x1e4f6b,_0x35d9cf={'DWeBa':function(_0x5efc89,_0x48a5d0,_0xd53feb,_0x26311a){return _0x5efc89(_0x48a5d0,_0xd53feb,_0x26311a);},'wzxhB':_0x4cd9b3(0x19a),'KotWu':_0x4cd9b3(0x185),'pBohz':_0x4cd9b3(0x145),'DBCjP':function(_0x167606,_0x5345cd){return _0x167606===_0x5345cd;},'QNnJH':_0x4cd9b3(0x157),'juzEV':'inherit'};_0x35d9cf[_0x4cd9b3(0x180)](spawn,helper[_0x4cd9b3(0x183)]()?_0x35d9cf[_0x4cd9b3(0x190)]:_0x35d9cf[_0x4cd9b3(0x122)],[_0x35d9cf['pBohz'],..._0x49c236[_0x4cd9b3(0x11c)](0x1)],{'shell':_0x35d9cf['DBCjP'](process[_0x4cd9b3(0x147)],_0x35d9cf['QNnJH']),'stdio':_0x35d9cf[_0x4cd9b3(0x13c)],'cwd':process[_0x4cd9b3(0x104)]()});},isTestCommand=(_0x53b644,_0x1c27d2)=>{const _0x1c0ce5=a47_0x1e4f6b,_0x20345e={};_0x20345e[_0x1c0ce5(0x16f)]=function(_0x557539,_0x42a6bc){return _0x557539>_0x42a6bc;},_0x20345e[_0x1c0ce5(0x1a0)]=function(_0x38fd5d,_0x4270df){return _0x38fd5d===_0x4270df;},_0x20345e['Hhwyq']=_0x1c0ce5(0x153);const _0x40923c=_0x20345e;if(_0x40923c[_0x1c0ce5(0x16f)](_0x1c27d2['length'],0x1)&&_0x40923c[_0x1c0ce5(0x1a0)](_0x1c27d2[0x1],_0x40923c[_0x1c0ce5(0x181)]))return!![];return![];};async function run(_0x1a4b32,_0x412214,_0x51cf3b){const _0x39b903=a47_0x1e4f6b,_0x163199={'lUJJA':function(_0x3ac588,_0x52e5ff){return _0x3ac588(_0x52e5ff);},'mniEy':function(_0x444bf2){return _0x444bf2();},'mNCrS':function(_0x2af59c){return _0x2af59c();},'rHmkO':_0x39b903(0x13d),'qEsgW':function(_0x4a9aa2,_0x244126){return _0x4a9aa2+_0x244126;},'KRpBz':_0x39b903(0x177),'RbGzA':_0x39b903(0x16d),'yZNhS':_0x39b903(0x12d),'QeZap':'BrowserStack\x20config\x20file\x20not\x20found.','LmxkE':function(_0x301e8e,_0x41c045){return _0x301e8e<_0x41c045;},'dvaMW':function(_0x34c983,_0x151cf9){return _0x34c983===_0x151cf9;},'lpEbP':_0x39b903(0x12a),'bWTXQ':_0x39b903(0x195),'IGRCt':function(_0x42caaa,_0x32a271){return _0x42caaa>=_0x32a271;},'TWzsj':'automation','nqprg':function(_0x2d1696,_0x1a3707){return _0x2d1696!=_0x1a3707;},'EkrVS':function(_0x33e6df,_0x238aba,_0x35bffa){return _0x33e6df(_0x238aba,_0x35bffa);},'NjAvv':function(_0x43bead,_0x26bba5){return _0x43bead===_0x26bba5;},'lRLvY':'true','WVJyw':'browserstackSetupConfig.json','TcUKN':'playwright-browserstack-sdk.config.cjs','fGKSJ':_0x39b903(0x11f),'JImdT':function(_0x5dd11e,_0x3f367b){return _0x5dd11e-_0x3f367b;},'ugzuH':_0x39b903(0x13b),'IXDrf':function(_0x18385c,_0x2f8910){return _0x18385c>_0x2f8910;},'IjWDK':function(_0x77b26f,_0x48a43c){return _0x77b26f+_0x48a43c;},'KdUcP':'Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','HJxcx':function(_0x32e51b,_0x470f44){return _0x32e51b<_0x470f44;},'sVnFm':_0x39b903(0x145),'mvcIU':function(_0x5a7ddc,_0x148373,_0xeb70d8,_0x45322f){return _0x5a7ddc(_0x148373,_0xeb70d8,_0x45322f);},'qhBNx':_0x39b903(0x19a),'ijcUS':_0x39b903(0x185),'qZwzK':_0x39b903(0x153),'XCkqo':_0x39b903(0x169),'fuTwc':function(_0x2ae2c4,_0x2cd668){return _0x2ae2c4===_0x2cd668;},'zJNQS':_0x39b903(0x157),'uyOpw':function(_0x57af7e,_0x37ece9){return _0x57af7e===_0x37ece9;},'ydDvs':'inherit','ioSMI':_0x39b903(0x1aa),'RHSQp':function(_0x8f241a,_0x53e3a1){return _0x8f241a|_0x53e3a1;},'wKRHs':function(_0x37bce1,_0x7eafc8){return _0x37bce1+_0x7eafc8;},'RBmaq':_0x39b903(0x1a3),'fYnwP':function(_0x5c4c2f,_0x31cb49){return _0x5c4c2f+_0x31cb49;},'vFcHQ':_0x39b903(0x10a),'Xdile':function(_0x1c2182,_0x455f57,_0x37ddbb){return _0x1c2182(_0x455f57,_0x37ddbb);},'rjcKP':function(_0x396c00,_0x3a0ba0){return _0x396c00(_0x3a0ba0);}};try{const _0x558661=path['join'](helper[_0x39b903(0x18b)](),_0x163199[_0x39b903(0x119)]);try{fs[_0x39b903(0xf4)](_0x558661,_0x163199['RHSQp'](fs[_0x39b903(0x152)]['R_OK'],fs['constants'][_0x39b903(0x16e)]));}catch(_0x2423bc){ClientTroubleShootingService[_0x39b903(0x11d)]();}}catch(_0x123f9c){logger[_0x39b903(0x15f)](_0x163199[_0x39b903(0x117)](_0x163199[_0x39b903(0x178)],_0x123f9c));}try{const _0x115d1c=path['join'](helper[_0x39b903(0x18b)](),_0x163199[_0x39b903(0x119)],_0x163199['RbGzA']);fs[_0x39b903(0x17b)](_0x115d1c)&&fs[_0x39b903(0x198)](_0x115d1c);}catch(_0x5c1bc6){logger[_0x39b903(0x15f)](_0x163199['fYnwP'](_0x163199[_0x39b903(0x148)],_0x5c1bc6));}if(!_0x163199[_0x39b903(0xef)](isTestCommand,_0x1a4b32,_0x412214)){_0x163199['rjcKP'](spawnOriginalProcess,_0x412214);return;}await PerformanceTester[_0x39b903(0x132)](PerformanceEvents[_0x39b903(0x116)],async()=>{const _0x1afd0a=_0x39b903,_0x35d6fe={'XiZqh':_0x163199['rHmkO'],'mGBiz':_0x163199['RbGzA'],'Mvadk':function(_0x36953d,_0x4025d0){const _0x2e1745=a47_0x59cc;return _0x163199[_0x2e1745(0x155)](_0x36953d,_0x4025d0);},'OiMGZ':_0x163199[_0x1afd0a(0x10b)]};if(!_0x51cf3b[_0x1afd0a(0x1a2)]){logger['error'](_0x163199[_0x1afd0a(0x15a)]);return;}await _0x51cf3b['initialize'](_0x1a4b32),CLIUtils['setFrameworkDetail'](FRAMEWORKS[_0x1afd0a(0x164)],FRAMEWORKS[_0x1afd0a(0x164)]),BrowserstackCLI[_0x1afd0a(0x124)]()[_0x1afd0a(0x143)](_0x51cf3b[_0x1afd0a(0x1a2)],_0x51cf3b['configPath'],_0x51cf3b[_0x1afd0a(0x142)]),await BrowserstackCLI['getInstance']()[_0x1afd0a(0x100)]();!BrowserstackCLI[_0x1afd0a(0x124)]()[_0x1afd0a(0xee)]()&&await _0x51cf3b[_0x1afd0a(0xed)]();for(var _0xa6ea7a=0x0;_0x163199[_0x1afd0a(0x11e)](_0xa6ea7a,constants[_0x1afd0a(0x109)]['length']);_0xa6ea7a++){var _0x1a8cf1=constants[_0x1afd0a(0x109)][_0xa6ea7a];process['env'][_0x1a8cf1]&&await ClientTroubleShootingService['reportConflictingEnvVarIssue'](_0x1a8cf1);}const _0x3b4e41=BrowserstackCLI[_0x1afd0a(0x124)]()[_0x1afd0a(0x149)]();!helper[_0x1afd0a(0x15e)](_0x3b4e41[_0x1afd0a(0x176)])&&(process['env'][_0x1afd0a(0x1a7)]=!![]);_0x163199['dvaMW'](_0x3b4e41[_0x1afd0a(0x176)],![])&&(process['env']['BROWSERSTACK_AUTOMATION']=_0x163199[_0x1afd0a(0x130)],_0x412214=_0x412214['filter'](_0x471109=>_0x471109!==_0x1afd0a(0x13e)));const _0x4abdec=_0x412214[_0x1afd0a(0xf7)](_0x163199[_0x1afd0a(0x108)]);(_0x163199['IGRCt'](_0x4abdec,0x0)||_0x163199[_0x1afd0a(0x110)](_0x3b4e41[_0x1afd0a(0x123)],![]))&&(process[_0x1afd0a(0x10d)]['BROWSERSTACK_TEST_OBSERVABILITY']=_0x163199[_0x1afd0a(0x130)],_0x412214=_0x412214[_0x1afd0a(0x17a)](_0x16665e=>_0x16665e!==_0x1afd0a(0x195)));!helper['isUndefined'](_0x51cf3b[_0x1afd0a(0x142)])&&_0x51cf3b[_0x1afd0a(0x142)][_0x1afd0a(0x168)](_0x163199[_0x1afd0a(0x114)])&&(process[_0x1afd0a(0x10d)][_0x1afd0a(0x1a7)]=_0x51cf3b['cliConfig'][_0x1afd0a(0x18e)](_0x163199['TWzsj'])||!![]);_0x163199[_0x1afd0a(0x1a9)](_0x51cf3b[_0x1afd0a(0x1a2)][_0x1afd0a(0x123)],null)&&!helper[_0x1afd0a(0xf8)](process[_0x1afd0a(0x10d)][_0x1afd0a(0x14d)])&&(process['env'][_0x1afd0a(0x14d)]=process[_0x1afd0a(0x10d)][_0x1afd0a(0x14d)]||_0x51cf3b[_0x1afd0a(0x1a2)]['testObservability']);const _0x4622e3=!helper[_0x1afd0a(0x15e)](process[_0x1afd0a(0x10d)][_0x1afd0a(0x14d)]);_0x51cf3b['config'][_0x1afd0a(0x151)]&&(process['env'][_0x1afd0a(0x112)]=JSON[_0x1afd0a(0x167)](_0x51cf3b[_0x1afd0a(0x1a2)]['accessibilityOptions']));let _0x4c565b=![];_0x51cf3b[_0x1afd0a(0x1a2)][_0x1afd0a(0x16a)]&&(_0x4c565b=!![],process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x51cf3b[_0x1afd0a(0x1a2)][_0x1afd0a(0x16a)]);const _0x53be28=_0x412214['concat'](),_0x102b06=await _0x163199[_0x1afd0a(0x105)](getUserPlaywrightConfig,_0x1a4b32,_0x412214);if(helper['isUndefined'](_0x102b06)){_0x163199['lUJJA'](spawnOriginalProcess,_0x53be28);return;}const _0x133e93=_0x102b06['path']?path['dirname'](_0x102b06[_0x1afd0a(0x19f)]):process['cwd']();process[_0x1afd0a(0x10d)]['BROWSERSTACK_PW_CONFIG_DIR']=_0x133e93,await PerformanceTester[_0x1afd0a(0x132)](PerformanceEvents[_0x1afd0a(0x170)],async()=>{const _0x8f7f6b=_0x1afd0a;!BrowserstackCLI['getInstance']()[_0x8f7f6b(0xee)]()&&await TestHubHandler['launchBuild'](FRAMEWORKS[_0x8f7f6b(0x164)],_0x51cf3b),_0x4622e3&&_0x163199[_0x8f7f6b(0x14c)](handleO11yRerun,_0x412214);})();if(!BrowserstackCLI['getInstance']()[_0x1afd0a(0xee)]()){let _0x1aced1=_0x163199[_0x1afd0a(0x126)](process[_0x1afd0a(0x10d)][_0x1afd0a(0xf2)],_0x163199[_0x1afd0a(0x16c)]);_0x1aced1=_0x1aced1||_0x163199['lUJJA'](checkAccessibilityPlatformConfig,_0x51cf3b[_0x1afd0a(0x1a2)]),process[_0x1afd0a(0x10d)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x1aced1,_0x1aced1&&_0x163199[_0x1afd0a(0x14c)](setAccessibilityCapabilities,_0x51cf3b['config']);}const _0x15f470=path[_0x1afd0a(0x15b)](_0x102b06['path']?path['dirname'](_0x102b06['path']):process[_0x1afd0a(0x104)](),_0x163199[_0x1afd0a(0x11a)]);fs[_0x1afd0a(0x18a)](_0x15f470,helper[_0x1afd0a(0x103)](_0x51cf3b[_0x1afd0a(0x1a2)])),process[_0x1afd0a(0x10d)][_0x1afd0a(0x19e)]=_0x15f470,helper['clearTempPWConfig']();let _0x3d5e90='';_0x163199[_0x1afd0a(0x110)](helper[_0x1afd0a(0x194)](),constants[_0x1afd0a(0x10e)]['MODULE'])?_0x3d5e90=_0x163199['TcUKN']:_0x3d5e90=_0x163199['fGKSJ'];let _0xd73a40='';if(helper['isTypescriptProject'](_0x102b06[_0x1afd0a(0x19f)])){_0xd73a40='\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a';const _0x4b2367=_0x3d5e90[_0x1afd0a(0x107)]('.');_0x4b2367[_0x163199['JImdT'](_0x4b2367['length'],0x1)]='ts',_0x3d5e90=_0x4b2367['join']('.'),logger['debug'](_0x163199[_0x1afd0a(0x155)](_0x163199[_0x1afd0a(0x172)],_0x3d5e90));}else _0xd73a40='\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a';const _0x18b499=path[_0x1afd0a(0x15b)](_0x102b06[_0x1afd0a(0x19f)]?path['dirname'](_0x102b06[_0x1afd0a(0x19f)]):process[_0x1afd0a(0x104)](),_0x3d5e90);let _0x435483=_0x102b06[_0x1afd0a(0x19f)]?_0x102b06[_0x1afd0a(0x19f)]:'';_0x435483=_0x163199[_0x1afd0a(0x15c)](_0x435483['length'],0x0)?path[_0x1afd0a(0x137)](_0x435483):'',process[_0x1afd0a(0x10d)][_0x1afd0a(0x1a4)]=_0x435483;const _0x5d90bd=helper[_0x1afd0a(0x165)](_0x51cf3b['config']),_0x4a0bff=helper[_0x1afd0a(0x128)](_0x51cf3b[_0x1afd0a(0x1a2)]);logger['debug'](_0x1afd0a(0x1ac)+_0x5d90bd),logger[_0x1afd0a(0x15f)](_0x1afd0a(0x173)+_0x4a0bff);_0x5d90bd&&(_0xd73a40=_0x163199[_0x1afd0a(0xf6)](_0x1afd0a(0x16b)+_0x5d90bd+_0x1afd0a(0xf9)+_0x4a0bff+'\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}catch{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20This\x20is\x20a\x20failsafe\x20if\x20global-agent\x20present\x20inside\x20sdk\x20node_modules\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22./node_modules/browserstack-node-sdk/node_modules/global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap();',_0xd73a40));helper['filterBrowserstackArgs']({},_0x412214),fs[_0x1afd0a(0x18a)](_0x18b499,_0xd73a40);let _0x1313a7=[];const _0x35dd0e=new TestOrchestrationHandler(_0x51cf3b[_0x1afd0a(0x1a2)]);if(_0x35dd0e[_0x1afd0a(0x138)]()){logger[_0x1afd0a(0x15f)](_0x163199[_0x1afd0a(0x14e)]);const _0x51c497=await _0x35dd0e[_0x1afd0a(0x139)](_0x435483,_0x412214[_0x1afd0a(0x11c)](0x2));logger[_0x1afd0a(0x15f)](_0x1afd0a(0x12e)+JSON[_0x1afd0a(0x167)](_0x51c497)+_0x1afd0a(0x158));const _0x283aa1=await _0x35dd0e[_0x1afd0a(0x17c)](_0x51c497);logger[_0x1afd0a(0x15f)](_0x1afd0a(0x150)+JSON[_0x1afd0a(0x167)](_0x283aa1)),_0x283aa1&&_0x163199['IXDrf'](_0x283aa1[_0x1afd0a(0x166)],0x0)&&(process[_0x1afd0a(0x10d)]['BROWSERSTACK_PW_TEST_ORDER']=_0x283aa1[_0x1afd0a(0x15b)](','),_0x163199[_0x1afd0a(0xf3)](_0x283aa1[_0x1afd0a(0x166)],_0x51c497['length'])&&(_0x1313a7=_0x283aa1[_0x1afd0a(0x10c)](_0x4d4e80=>path['relative'](process[_0x1afd0a(0x104)](),_0x4d4e80)[_0x1afd0a(0x107)](path[_0x1afd0a(0x12b)])[_0x1afd0a(0x15b)]('/'))));}PerformanceTester[_0x1afd0a(0x175)](PerformanceEvents['SDK_SETUP']),process['env'][_0x1afd0a(0x121)]=process[_0x1afd0a(0x10d)][_0x1afd0a(0x121)]||_0x163199[_0x1afd0a(0x179)];const _0x2a9936=_0x163199[_0x1afd0a(0xea)](spawn,helper[_0x1afd0a(0x183)]()?_0x163199['qhBNx']:_0x163199[_0x1afd0a(0x182)],[_0x163199[_0x1afd0a(0x179)],_0x163199['qZwzK'],_0x163199['XCkqo'],_0x163199[_0x1afd0a(0x189)](process[_0x1afd0a(0x147)],_0x163199[_0x1afd0a(0x193)])?'\x22'+_0x18b499+'\x22':_0x18b499,..._0x412214['slice'](0x2),..._0x1313a7],{'shell':_0x163199[_0x1afd0a(0x184)](process['platform'],_0x163199[_0x1afd0a(0x193)]),'stdio':_0x163199[_0x1afd0a(0x191)],'cwd':process[_0x1afd0a(0x104)](),'env':Object[_0x1afd0a(0x19b)]({},process[_0x1afd0a(0x10d)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x1afd0a(0x14a)](_0x1a4b32),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x51cf3b[_0x1afd0a(0x1a2)][_0x1afd0a(0xff)]['skipSessionStatus'],'BROWSERSTACK_SKIP_SESSION_NAME':_0x51cf3b[_0x1afd0a(0x1a2)]['testContextOptions'][_0x1afd0a(0x146)],'BROWSERSTACK_LOG_LEVEL':_0x51cf3b[_0x1afd0a(0x1a2)][_0x1afd0a(0x10f)]})}),_0x493259=()=>{const _0x36e2f9=_0x1afd0a;try{const _0x12db50=path[_0x36e2f9(0x15b)](helper[_0x36e2f9(0x18b)](),_0x35d6fe[_0x36e2f9(0x14b)],_0x35d6fe[_0x36e2f9(0x160)]);if(fs[_0x36e2f9(0x17b)](_0x12db50)){let _0x377409=fs[_0x36e2f9(0xf0)](_0x12db50);_0x377409=JSON[_0x36e2f9(0x1a8)](_0x377409),_0x51cf3b[_0x36e2f9(0x12c)]=_0x377409,fs[_0x36e2f9(0x198)](_0x12db50);}}catch(_0x2770a7){logger[_0x36e2f9(0x15f)](_0x35d6fe[_0x36e2f9(0x1a5)](_0x35d6fe[_0x36e2f9(0x15d)],_0x2770a7));}};_0x2a9936['on'](_0x163199[_0x1afd0a(0x192)],async _0x159177=>{const _0x2ba2ef=_0x1afd0a;try{PerformanceTester[_0x2ba2ef(0xec)](PerformanceEvents[_0x2ba2ef(0x111)]),_0x163199[_0x2ba2ef(0x115)](_0x493259),await TestHubHandler[_0x2ba2ef(0x159)](),await ClientTroubleShootingService[_0x2ba2ef(0xeb)]();const _0x25b52d=BrowserstackCLI[_0x2ba2ef(0x140)]();await BrowserstackCLI[_0x2ba2ef(0x124)]()[_0x2ba2ef(0x159)](),TestDetails[_0x2ba2ef(0x163)](),_0x163199[_0x2ba2ef(0x174)](printBuildLink),await utilities[_0x2ba2ef(0x18f)](_0x51cf3b,_0x25b52d),process['exitCode']=_0x159177,logger[_0x2ba2ef(0x15f)](_0x2ba2ef(0x144)+_0x159177),logger[_0x2ba2ef(0x1ab)](_0x2ba2ef(0x135)+_0x18b499),fs[_0x2ba2ef(0x198)](_0x18b499);fs[_0x2ba2ef(0x17b)](_0x15f470)&&(logger[_0x2ba2ef(0x15f)](_0x2ba2ef(0x135)+_0x15f470),fs[_0x2ba2ef(0x198)](_0x15f470));const _0x1f9936=fs['readdirSync'](path[_0x2ba2ef(0x15b)](helper[_0x2ba2ef(0x18b)](),_0x163199[_0x2ba2ef(0x119)]))[_0x2ba2ef(0x17a)](_0x1a8f8e=>_0x1a8f8e[_0x2ba2ef(0x18d)](_0x2ba2ef(0x154)));_0x1f9936['forEach'](_0x392264=>{const _0x4a03db=_0x2ba2ef;fs[_0x4a03db(0x198)](path[_0x4a03db(0x15b)](helper['homedir'](),_0x35d6fe[_0x4a03db(0x14b)],_0x392264));});}catch(_0x5bd189){logger[_0x2ba2ef(0x15f)](_0x163199[_0x2ba2ef(0x155)](_0x163199[_0x2ba2ef(0x162)],_0x5bd189));}});})();}module[a47_0x1e4f6b(0x113)]=run;
@@ -1 +1 @@
1
- function a48_0x2091(_0x3a699f,_0x418aca){const _0x4103ae=a48_0x4103();return a48_0x2091=function(_0x2091ad,_0x509768){_0x2091ad=_0x2091ad-0x66;let _0xe4e22b=_0x4103ae[_0x2091ad];return _0xe4e22b;},a48_0x2091(_0x3a699f,_0x418aca);}const a48_0x27a855=a48_0x2091;function a48_0x4103(){const _0x472879=['wDnkA','1.33.0','compareVersions','toString','driver-init\x20capture\x20install\x20failed:\x20','2170638nPplky','format','oQLea','38910905fSCzLT','../../helpers/driverInitErrorReporter','installAll','winstonLogger','90345aVZHTa','393012LZsIOq','StZMV','./mock-process.js','playwright','11097096udQxcu','14vPHZOJ','Running\x20existing\x20global\x20setup','1297650hxoKog','Call\x20to\x20child\x20fork\x20with\x20args\x20','PLAYWRIGHT','exports','message','child_process','100NdNFRr','544215FwBCBb','requirePWModule','190MYZGLK','config','\x20is\x20not\x20found','qxlnN','./patches','../../helpers/logger','10fNQqOB','apply','util','lbInF','debug','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','labyj','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','includes','dBWTi','OXlLq','fork','resolve','env','../../helpers/test-observability/utils','isHandlePWErrorSet','function'];a48_0x4103=function(){return _0x472879;};return a48_0x4103();}(function(_0x143a67,_0x780012){const _0x84b478=a48_0x2091,_0x5f5bea=_0x143a67();while(!![]){try{const _0x4959df=-parseInt(_0x84b478(0x8f))/0x1+-parseInt(_0x84b478(0x6a))/0x2*(parseInt(_0x84b478(0x96))/0x3)+-parseInt(_0x84b478(0x95))/0x4*(parseInt(_0x84b478(0x87))/0x5)+parseInt(_0x84b478(0x80))/0x6*(-parseInt(_0x84b478(0x8d))/0x7)+parseInt(_0x84b478(0x8c))/0x8+-parseInt(_0x84b478(0x88))/0x9*(parseInt(_0x84b478(0x98))/0xa)+parseInt(_0x84b478(0x83))/0xb;if(_0x4959df===_0x780012)break;else _0x5f5bea['push'](_0x5f5bea['shift']());}catch(_0x4c1d0d){_0x5f5bea['push'](_0x5f5bea['shift']());}}}(a48_0x4103,0xae866));const util=require(a48_0x27a855(0x6c)),child_process=require(a48_0x27a855(0x94)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getFrameworkVersion,debug}=require(a48_0x27a855(0x78)),helper=require('../../helpers/helper'),{getLoadUtilsPath,getForkProcessPath}=require('./reporter/pwUtils'),{mockIsWorkerRedundant}=require(a48_0x27a855(0x68)),logger=require(a48_0x27a855(0x69))[a48_0x27a855(0x86)];try{require(a48_0x27a855(0x84))[a48_0x27a855(0x85)](a48_0x27a855(0x8b));}catch(a48_0xb04c47){logger['debug'](a48_0x27a855(0x7f)+(a48_0xb04c47&&a48_0xb04c47[a48_0x27a855(0x93)]));}module[a48_0x27a855(0x92)]=async function(_0x36fe82){const _0x53b301=a48_0x27a855,_0x44369b={'qxlnN':function(_0x110cb5,_0x33a0f0){return _0x110cb5(_0x33a0f0);},'wDnkA':function(_0x367df2){return _0x367df2();},'StZMV':_0x53b301(0x8a),'labyj':function(_0x5d6690,_0x2112af){return _0x5d6690(_0x2112af);},'caAup':_0x53b301(0x8e),'oQLea':function(_0x59746f,_0x2a6e06){return _0x59746f>=_0x2a6e06;},'lbInF':_0x53b301(0x7c),'dBWTi':function(_0x27795d,_0x509430,_0x1f7a78){return _0x27795d(_0x509430,_0x1f7a78);},'ppqag':function(_0x13cbf2,_0x291007){return _0x13cbf2!==_0x291007;},'OXlLq':_0x53b301(0x7a),'Osyjh':'Not\x20able\x20to\x20import\x20globalSetup'},_0x190c70=child_process[_0x53b301(0x75)];if(helper[_0x53b301(0x79)]())try{_0x44369b[_0x53b301(0x7b)](mockIsWorkerRedundant);}catch(_0x1bba26){logger[_0x53b301(0x6e)]('Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20'+util[_0x53b301(0x81)](_0x1bba26));}child_process['fork']=function(){const _0x5b60e8=_0x53b301;return _0x44369b[_0x5b60e8(0x67)](debug,_0x5b60e8(0x90)+arguments[0x0]),arguments[0x0][_0x5b60e8(0x72)](_0x44369b['wDnkA'](getForkProcessPath))?arguments[0x0]=require[_0x5b60e8(0x76)](_0x44369b[_0x5b60e8(0x89)]):logger['error']('Path\x20'+_0x44369b['wDnkA'](getForkProcessPath)+_0x5b60e8(0x66)),_0x190c70['apply'](null,arguments);};if(process['env'][_0x53b301(0x6f)]){_0x44369b[_0x53b301(0x70)](debug,_0x44369b['caAup']);try{const {loadGlobalHook:_0x1adebd}=helper[_0x53b301(0x97)][_0x53b301(0x6b)](null,_0x44369b['wDnkA'](getLoadUtilsPath)),_0x477402=_0x44369b[_0x53b301(0x67)](getFrameworkVersion,FRAMEWORKS[_0x53b301(0x91)]);let _0x470cc6=_0x36fe82;if(_0x44369b[_0x53b301(0x82)](helper[_0x53b301(0x7d)](_0x477402,_0x44369b[_0x53b301(0x6d)]),0x0)){const _0x102a03={};_0x102a03[_0x53b301(0x99)]=_0x36fe82,_0x470cc6=_0x102a03;}const _0x3beb7c=await _0x44369b[_0x53b301(0x73)](_0x1adebd,_0x470cc6,process[_0x53b301(0x77)][_0x53b301(0x6f)]);if(_0x44369b['ppqag'](typeof _0x3beb7c,_0x44369b[_0x53b301(0x74)]))throw new Error(_0x44369b['Osyjh']);return _0x3beb7c['apply'](null,arguments);}catch(_0x4dd258){_0x44369b[_0x53b301(0x67)](debug,_0x53b301(0x71)+_0x4dd258[_0x53b301(0x7e)]());}}};
1
+ const a48_0x1b4ec9=a48_0x248a;function a48_0x248a(_0x420024,_0x23d3a0){const _0x15094f=a48_0x1509();return a48_0x248a=function(_0x248a76,_0xc6596b){_0x248a76=_0x248a76-0x11e;let _0x86f0f4=_0x15094f[_0x248a76];return _0x86f0f4;},a48_0x248a(_0x420024,_0x23d3a0);}(function(_0x3ce735,_0x26ed71){const _0x48a2ab=a48_0x248a,_0x3e21ec=_0x3ce735();while(!![]){try{const _0x215750=parseInt(_0x48a2ab(0x127))/0x1*(parseInt(_0x48a2ab(0x147))/0x2)+parseInt(_0x48a2ab(0x145))/0x3*(-parseInt(_0x48a2ab(0x121))/0x4)+parseInt(_0x48a2ab(0x123))/0x5*(parseInt(_0x48a2ab(0x12b))/0x6)+parseInt(_0x48a2ab(0x11f))/0x7*(parseInt(_0x48a2ab(0x143))/0x8)+-parseInt(_0x48a2ab(0x151))/0x9+-parseInt(_0x48a2ab(0x129))/0xa*(parseInt(_0x48a2ab(0x14a))/0xb)+parseInt(_0x48a2ab(0x12e))/0xc*(parseInt(_0x48a2ab(0x14d))/0xd);if(_0x215750===_0x26ed71)break;else _0x3e21ec['push'](_0x3e21ec['shift']());}catch(_0x1e3990){_0x3e21ec['push'](_0x3e21ec['shift']());}}}(a48_0x1509,0x1b404));const util=require(a48_0x1b4ec9(0x135)),child_process=require(a48_0x1b4ec9(0x13c)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getFrameworkVersion,debug}=require(a48_0x1b4ec9(0x13f)),helper=require('../../helpers/helper'),{getForkProcessPath}=require(a48_0x1b4ec9(0x149)),{mockIsWorkerRedundant}=require('./patches'),logger=require(a48_0x1b4ec9(0x148))[a48_0x1b4ec9(0x152)];try{require(a48_0x1b4ec9(0x14f))['installAll'](a48_0x1b4ec9(0x153));}catch(a48_0x3bd088){logger[a48_0x1b4ec9(0x138)](a48_0x1b4ec9(0x11e)+(a48_0x3bd088&&a48_0x3bd088['message']));}function a48_0x1509(){const _0x5aa609=['1.33.0','4EjrEWU','env','351195pYRxCB','error','Path\x20','dYrNm','775CCmsMA','NFEbt','10ExizFO','iwgdf','6lmsbmC','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','SlNRl','12YDWFFf','\x20is\x20not\x20found','resolve','Call\x20to\x20child\x20fork\x20with\x20args\x20','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','aWdvF','resolveLoadGlobalHook','util','format','czdZM','debug','Asxjm','includes','ofNzg','child_process','apply','toString','../../helpers/test-observability/utils','config','PLAYWRIGHT','fork','8640mlcSnV','exports','536646uuKBzJ','IcJsv','502ywwNBr','../../helpers/logger','./reporter/pwUtils','635558jQtwDr','SQsRI','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','1195870PfcQqg','gcHxD','../../helpers/driverInitErrorReporter','./mock-process.js','192906KPdtlf','winstonLogger','playwright','driver-init\x20capture\x20install\x20failed:\x20','84DPgDpB'];a48_0x1509=function(){return _0x5aa609;};return a48_0x1509();}module[a48_0x1b4ec9(0x144)]=async function(_0xfc097b){const _0x27633a=a48_0x1b4ec9,_0x1c50c8={'ofNzg':function(_0x369654,_0x45f378){return _0x369654(_0x45f378);},'NFEbt':function(_0x1ed2e8){return _0x1ed2e8();},'dYrNm':_0x27633a(0x150),'oIsLK':function(_0x1781a3){return _0x1781a3();},'IcJsv':function(_0x25bb0e){return _0x25bb0e();},'gcHxD':'Running\x20existing\x20global\x20setup','KkZYp':function(_0x52c2e5,_0x678542){return _0x52c2e5!==_0x678542;},'SQsRI':'function','iwgdf':'Not\x20able\x20to\x20resolve\x20loadGlobalHook\x20for\x20current\x20Playwright\x20version','czdZM':function(_0x3217cd,_0x18d322){return _0x3217cd>=_0x18d322;},'gNTrF':_0x27633a(0x120),'aWdvF':function(_0x139327,_0x3efd93,_0x428b01){return _0x139327(_0x3efd93,_0x428b01);},'Asxjm':function(_0x4557b5,_0x3f5187){return _0x4557b5!==_0x3f5187;},'SlNRl':'Not\x20able\x20to\x20import\x20globalSetup'},_0x443361=child_process[_0x27633a(0x142)];if(helper['isHandlePWErrorSet']())try{_0x1c50c8[_0x27633a(0x146)](mockIsWorkerRedundant);}catch(_0xc60bca){logger[_0x27633a(0x138)](_0x27633a(0x14c)+util[_0x27633a(0x136)](_0xc60bca));}child_process[_0x27633a(0x142)]=function(){const _0x2542c3=_0x27633a;return _0x1c50c8[_0x2542c3(0x13b)](debug,_0x2542c3(0x131)+arguments[0x0]),arguments[0x0][_0x2542c3(0x13a)](_0x1c50c8[_0x2542c3(0x128)](getForkProcessPath))?arguments[0x0]=require[_0x2542c3(0x130)](_0x1c50c8[_0x2542c3(0x126)]):logger[_0x2542c3(0x124)](_0x2542c3(0x125)+_0x1c50c8['oIsLK'](getForkProcessPath)+_0x2542c3(0x12f)),_0x443361['apply'](null,arguments);};if(process[_0x27633a(0x122)][_0x27633a(0x12c)]){_0x1c50c8[_0x27633a(0x13b)](debug,_0x1c50c8[_0x27633a(0x14e)]);try{const _0xd8d700=helper[_0x27633a(0x134)]();if(_0x1c50c8['KkZYp'](typeof _0xd8d700,_0x1c50c8[_0x27633a(0x14b)]))throw new Error(_0x1c50c8[_0x27633a(0x12a)]);const _0x2ba203=_0x1c50c8[_0x27633a(0x13b)](getFrameworkVersion,FRAMEWORKS[_0x27633a(0x141)]);let _0x16bb51=_0xfc097b;if(_0x1c50c8[_0x27633a(0x137)](helper['compareVersions'](_0x2ba203,_0x1c50c8['gNTrF']),0x0)){const _0x3b995b={};_0x3b995b[_0x27633a(0x140)]=_0xfc097b,_0x16bb51=_0x3b995b;}const _0x4805a0=await _0x1c50c8[_0x27633a(0x133)](_0xd8d700,_0x16bb51,process[_0x27633a(0x122)][_0x27633a(0x12c)]);if(_0x1c50c8[_0x27633a(0x139)](typeof _0x4805a0,_0x1c50c8['SQsRI']))throw new Error(_0x1c50c8[_0x27633a(0x12d)]);return _0x4805a0[_0x27633a(0x13d)](null,arguments);}catch(_0x3e5e20){_0x1c50c8[_0x27633a(0x13b)](debug,_0x27633a(0x132)+_0x3e5e20[_0x27633a(0x13e)]());}}};