browserstack-node-sdk 1.55.0 → 1.55.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (198) 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 +4 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/newman/command.js +1 -1
  79. package/src/bin/newman/helper.js +1 -1
  80. package/src/bin/newman/reporter/index.js +1 -1
  81. package/src/bin/newman/scriptRunner.js +1 -1
  82. package/src/bin/nightwatch/command.js +1 -1
  83. package/src/bin/playwright/accessibility-helper.js +1 -1
  84. package/src/bin/playwright/command.js +1 -1
  85. package/src/bin/playwright/globalSetup.js +1 -1
  86. package/src/bin/playwright/mock-process.js +1 -1
  87. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  88. package/src/bin/playwright/patches.js +1 -1
  89. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  90. package/src/bin/playwright/reporter/reporter.js +1 -1
  91. package/src/bin/playwright/reporter/test-details.js +1 -1
  92. package/src/bin/playwright/sessionDetails.js +1 -1
  93. package/src/bin/puppeteer/patches.js +1 -1
  94. package/src/bin/puppeteer/sessionDetails.js +1 -1
  95. package/src/bin/puppeteer/test.setup.js +1 -1
  96. package/src/bin/runner.js +1 -1
  97. package/src/bin/setup.js +1 -1
  98. package/src/bin/test-runner/index.js +1 -1
  99. package/src/bin/test-runner/runTest.js +1 -1
  100. package/src/bin/test-runner/testWorker.js +1 -1
  101. package/src/bin/utils/apiUtilityMethods.js +1 -1
  102. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  103. package/src/bin/utils/constants.js +1 -1
  104. package/src/bin/utils/log4jsAppender.js +1 -1
  105. package/src/bin/utils/logPatcher.js +1 -1
  106. package/src/bin/utils/logReportingAPI.js +1 -1
  107. package/src/bin/utils/playwright-patcher.js +1 -1
  108. package/src/bin/utils/puppeteer-patcher.js +1 -1
  109. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  110. package/src/bin/utils/sharedUtils.js +1 -1
  111. package/src/bin/v2/TestInfo.js +1 -1
  112. package/src/bin/v2/browserstackCLI.js +1 -1
  113. package/src/bin/v2/cliUtils.js +1 -1
  114. package/src/bin/v2/customTagManager.js +1 -1
  115. package/src/bin/v2/eventDispatcher.js +1 -1
  116. package/src/bin/v2/framework/automationFramework.js +1 -1
  117. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  118. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  119. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  120. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  121. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  122. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  123. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  124. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  125. package/src/bin/v2/framework/testFramework.js +1 -1
  126. package/src/bin/v2/grpcClient.js +1 -1
  127. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  128. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  129. package/src/bin/v2/instances/trackedContext.js +1 -1
  130. package/src/bin/v2/instances/trackedInstance.js +1 -1
  131. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  132. package/src/bin/v2/modules/baseModule.js +1 -1
  133. package/src/bin/v2/modules/loadTestModule.js +1 -1
  134. package/src/bin/v2/modules/observabilityModule.js +1 -1
  135. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  136. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  137. package/src/bin/v2/modules/testhubModule.js +1 -1
  138. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  139. package/src/bin/v2/state/hookState.js +1 -1
  140. package/src/bin/v2/state/testFrameworkState.js +1 -1
  141. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  142. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  143. package/src/bin/v2/utils/jest-utils.js +1 -1
  144. package/src/bin/vanilla-js/command.js +1 -1
  145. package/src/browserStackSdk.js +1 -1
  146. package/src/helpers/BrowserStackSetup.js +1 -1
  147. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  148. package/src/helpers/accessibility-automation/constants.js +1 -1
  149. package/src/helpers/accessibility-automation/helper.js +1 -1
  150. package/src/helpers/accessibility-automation/scripts.js +1 -1
  151. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  152. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  153. package/src/helpers/ats/constants.js +1 -1
  154. package/src/helpers/ats/helper.js +1 -1
  155. package/src/helpers/capsMapping.js +1 -1
  156. package/src/helpers/central-scanner/constants.js +1 -1
  157. package/src/helpers/central-scanner/helpers.js +1 -1
  158. package/src/helpers/classLogger.js +1 -1
  159. package/src/helpers/globals.js +1 -1
  160. package/src/helpers/helper.js +1 -1
  161. package/src/helpers/logger.js +1 -1
  162. package/src/helpers/metadata.js +1 -1
  163. package/src/helpers/patchHelper.js +1 -1
  164. package/src/helpers/patchHelpers.js +1 -1
  165. package/src/helpers/percy/Percy.js +1 -1
  166. package/src/helpers/percy/PercyBinary.js +1 -1
  167. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  168. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  169. package/src/helpers/percy/PercySDK.js +1 -1
  170. package/src/helpers/percy/index.js +1 -1
  171. package/src/helpers/percy/utils.js +1 -1
  172. package/src/helpers/performance/constants.js +1 -1
  173. package/src/helpers/performance/performance-tester.js +1 -1
  174. package/src/helpers/playwright-helper.js +1 -1
  175. package/src/helpers/processHelper.js +1 -1
  176. package/src/helpers/puppeteer-helper.js +1 -1
  177. package/src/helpers/request-spy.js +1 -1
  178. package/src/helpers/setKeepAlive.js +1 -1
  179. package/src/helpers/test-observability/constants.js +1 -1
  180. package/src/helpers/test-observability/error-handler.js +1 -1
  181. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  182. package/src/helpers/test-observability/sessionHandler.js +1 -1
  183. package/src/helpers/test-observability/utils.js +1 -1
  184. package/src/helpers/test-orchestration/constants.js +1 -1
  185. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  186. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  187. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  188. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  189. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  190. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  191. package/src/helpers/testhub/constants.js +1 -1
  192. package/src/helpers/testhub/testhubHandler.js +1 -1
  193. package/src/helpers/testhub/utils.js +1 -1
  194. package/src/helpers/timeoutPromise.js +1 -1
  195. package/src/helpers/utilities.js +1 -1
  196. package/src/helpers/w3cMapping.js +1 -1
  197. package/src/hubAllocationMethods.js +1 -1
  198. package/src/index.js +1 -1
@@ -1 +1 @@
1
- 'use strict';const a39_0x2974d4=a39_0x5af3;(function(_0x3b4199,_0x26ca7b){const _0xab7a05=a39_0x5af3,_0x2b929e=_0x3b4199();while(!![]){try{const _0x4d562b=parseInt(_0xab7a05(0x1ba))/0x1+parseInt(_0xab7a05(0x195))/0x2+parseInt(_0xab7a05(0x1a2))/0x3+parseInt(_0xab7a05(0x1ee))/0x4+-parseInt(_0xab7a05(0x1b6))/0x5*(parseInt(_0xab7a05(0x1a8))/0x6)+-parseInt(_0xab7a05(0x171))/0x7*(parseInt(_0xab7a05(0x123))/0x8)+-parseInt(_0xab7a05(0x20b))/0x9;if(_0x4d562b===_0x26ca7b)break;else _0x2b929e['push'](_0x2b929e['shift']());}catch(_0x4827b5){_0x2b929e['push'](_0x2b929e['shift']());}}}(a39_0x1e73,0x3d0a6));function a39_0x5af3(_0x950db7,_0x4b61a2){const _0x1e7376=a39_0x1e73();return a39_0x5af3=function(_0x5af323,_0x3f3790){_0x5af323=_0x5af323-0x120;let _0x2e1e68=_0x1e7376[_0x5af323];return _0x2e1e68;},a39_0x5af3(_0x950db7,_0x4b61a2);}const path=require(a39_0x2974d4(0x173)),{v4:uuidv4}=require(a39_0x2974d4(0x1a0)),SessionHandler=require(a39_0x2974d4(0x1bb)),{debug}=require(a39_0x2974d4(0x18f)),logger=require(a39_0x2974d4(0x1e3))[a39_0x2974d4(0x198)],BrowserstackCLI=require(a39_0x2974d4(0x16c)),GrpcClient=require(a39_0x2974d4(0x205)),TestFrameworkState=require(a39_0x2974d4(0x1e2)),HookState=require('../../v2/state/hookState'),LOG_LEVELS=[a39_0x2974d4(0x122),a39_0x2974d4(0x176),a39_0x2974d4(0x1b8),a39_0x2974d4(0x1ec),a39_0x2974d4(0x18d)];function isCLIRunning(){const _0x2a8284=a39_0x2974d4;try{return BrowserstackCLI[_0x2a8284(0x139)]()[_0x2a8284(0x1b0)]();}catch(_0x5932a8){return![];}}function getParentTitles(_0x5b03b9){const _0xf158dc=a39_0x2974d4,_0x7269d={'GDqHv':function(_0x5b0765,_0x5a4f8b){return _0x5b0765(_0x5a4f8b);}},_0x557412=[],_0x677afb=_0x5b03b9[_0xf158dc(0x1ef)]();return _0x677afb&&_0x557412['push'][_0xf158dc(0x1fb)](_0x557412,_0x7269d[_0xf158dc(0x178)](getParentTitles,_0x677afb)),_0x5b03b9['name']&&_0x557412['push'](_0x7269d['GDqHv'](String,_0x5b03b9[_0xf158dc(0x17d)])),_0x557412;}function normalizeLogLevel(_0x2b603a){const _0x376e75=a39_0x2974d4,_0x16b67f={};_0x16b67f[_0x376e75(0x132)]=_0x376e75(0x122),_0x16b67f[_0x376e75(0x158)]=function(_0x489b3a,_0x78d0c4){return _0x489b3a!==_0x78d0c4;};const _0x276570=_0x16b67f;if(!_0x2b603a)return _0x276570['HzFjN'];const _0x59c45b=_0x2b603a[_0x376e75(0x154)]();return _0x276570[_0x376e75(0x158)](LOG_LEVELS[_0x376e75(0x180)](_0x59c45b),-0x1)?_0x59c45b:_0x276570[_0x376e75(0x132)];}function a39_0x1e73(){const _0x533e45=['BtehA','hostname','mlKBX','toISOString','HBAOH','PRE','ONJWH','hSIgt','url','dGphk','logCreatedEvent','logs','bpKkQ','hgBWm','execution','HPRjz','stringify','LULHZ','testFrameworkName','foPvh','../../v2/browserstackCLI','durationMs','akYwi','zjOYy','ref','595nDhiHs','XgtFa','path','[Newman\x20Reporter]\x20Error\x20in\x20bs:addLog\x20handler:\x20','MnIfx','WARN','TIDGw','GDqHv','WsrhW','xZbGF','aSxkQ','SiNsv','name','OPOyz','hDhPa','indexOf','[Newman\x20Reporter]\x20emitLog\x20error:\x20','EcKlQ','kind','test_run','level','info','http','MuZeb','BVoIs','argv','startedAt','TEST','TRACE','ZSFvU','../../../helpers/test-observability/utils','exports','ZpsRS','jmbMF','testFrameworkVersion','TestRunStarted','914976otaona','QxeLd','czYdP','winstonLogger','yKitk','lastResponseCode','bs:addLog:','concat','code','scopes','failure_backtrace','uuid','ZNoFX','745209BySUuA','iteration','expanded','ubZhx','rQPCF','TEST_LOG','90LNZirB','AIENs','[Newman\x20Reporter]\x20Error\x20in\x20beforeItem:\x20','zUAFB','removeListener','location','AsRfY','UqTLx','isRunning','uWjeb','host','MTbUv','aLLxN','[Newman\x20Reporter]\x20Could\x20not\x20resolve\x20collection\x20file\x20path,\x20falling\x20back\x20to\x20collection.json','104710JoLHgm','AssertionError','ERROR','string','200643qlHzHd','../../../helpers/test-observability/sessionHandler','event','headers','PGsgw','HTTP\x20','zSNHH','OIxYU','duration_ms','startsWith','tUZyX','failed','method','IMtEi','pathname','set','collectionName','event_type','[Newman\x20Reporter]\x20emitTest\x20error:\x20','bpIbv','result','rFcQL','OuWHM','pTvll','LMJAU','failureType','BpDcj','LIYsG','[Newman\x20Reporter]\x20Error\x20in\x20assertion:\x20','fxbKN','PXnHR','resolve','kpquG','ubHuG','LnJHA','jKwct','messages','script','failureReason','tksic','../../v2/state/testFrameworkState','../../../helpers/logger','[Newman\x20Reporter]\x20Error\x20in\x20exception:\x20','LScCR','assert','QyIbT','gouln','http_response','\x20—\x20response\x20status\x20in\x20failure\x20range','get','DEBUG','push','677552TDoToE','parent','):\x20','getTime','forEach','startTimestamp','error','stack','Script\x20error\x20(','test_run_uuid','max','\x20(no\x20assertions)','request','apply','slice','uploadEventData','[Newman\x20Reporter]\x20Error\x20in\x20item:\x20','lLhvo','ZxOfn','URHDQ','cwd','http://','KUslW','../../v2/grpcClient','sBbUI','\x20(HTTP\x20','failure','relative','trackEvent','1241460pViAaV','qMFMF','message','identifier','HTTP\x20Status:\x20','run','item','status_code','INFO','35184ImqnxY','atXJa','javascript','bZYRX','WvnfM','[Newman\x20Reporter]\x20Error\x20in\x20console:\x20','done','now','rduVU','HTTP','UTVWB','JeJos','responseTime','collection','toString','HzFjN','whWMJ','length','clear','RKgiM','eSRcv','Fpvqs','getInstance','finishedAt','httpLog','Exception:\x20','POST','newman','dINGK','OKJha','OAeQg','kZFQq','pending','assertions','search','qrhgL','bufferedLogs','uEMta','beforeItem','beforeIteration','join','err','\x20->\x20','assertion','delete','TestRunFinished','ijrVc','aCZZB','xmSpU','toUpperCase','cursor','response','backtrace'];a39_0x1e73=function(){return _0x533e45;};return a39_0x1e73();}function resolveCollectionFile(_0x1a461b,_0xf1242){const _0xbe134a=a39_0x2974d4,_0x17c8ce={};_0x17c8ce['xddNb']=function(_0x30e4b4,_0x1b0116){return _0x30e4b4===_0x1b0116;},_0x17c8ce[_0xbe134a(0x17a)]=_0xbe134a(0x1b9),_0x17c8ce[_0xbe134a(0x1e5)]=_0xbe134a(0x210),_0x17c8ce[_0xbe134a(0x1ab)]=function(_0x197f1d,_0x3d4da3){return _0x197f1d!==_0x3d4da3;},_0x17c8ce[_0xbe134a(0x167)]=function(_0x4c98eb,_0x165122){return _0x4c98eb<_0x165122;},_0x17c8ce[_0xbe134a(0x152)]=function(_0x330eaf,_0x4135c2){return _0x330eaf+_0x4135c2;},_0x17c8ce[_0xbe134a(0x189)]=_0xbe134a(0x1b5),_0x17c8ce['lzyeI']='collection.json';const _0xeb4799=_0x17c8ce;try{if(_0xf1242&&_0xf1242['collectionPath'])return path['relative'](process[_0xbe134a(0x202)](),path[_0xbe134a(0x1d9)](_0xf1242['collectionPath']));const _0xbbca9f=_0x1a461b[_0xbe134a(0x130)];if(_0xeb4799['xddNb'](typeof _0xbbca9f,_0xeb4799['xZbGF']))return path[_0xbe134a(0x209)](process['cwd'](),path[_0xbe134a(0x1d9)](_0xbbca9f));const _0x1bcb2e=process[_0xbe134a(0x18a)][_0xbe134a(0x180)](_0xeb4799['LScCR']);if(_0xeb4799[_0xbe134a(0x1ab)](_0x1bcb2e,-0x1)&&_0xeb4799['HPRjz'](_0xeb4799[_0xbe134a(0x152)](_0x1bcb2e,0x1),process[_0xbe134a(0x18a)][_0xbe134a(0x134)])){const _0xa55e2a=process['argv'][_0xeb4799[_0xbe134a(0x152)](_0x1bcb2e,0x1)];if(_0xa55e2a&&!_0xa55e2a[_0xbe134a(0x1c3)]('-'))return path[_0xbe134a(0x209)](process[_0xbe134a(0x202)](),path[_0xbe134a(0x1d9)](_0xa55e2a));}}catch(_0xbd7cce){}return logger['info'](_0xeb4799[_0xbe134a(0x189)]),_0xeb4799['lzyeI'];}function resolveCollectionName(_0x22045a){const _0x46b755=a39_0x2974d4,_0x257c61={};_0x257c61[_0x46b755(0x1be)]=function(_0x1599d6,_0x1eae2b){return _0x1599d6===_0x1eae2b;},_0x257c61[_0x46b755(0x165)]='object';const _0xf99d1c=_0x257c61;try{const _0x177a0d=_0x22045a[_0x46b755(0x130)];if(_0x177a0d&&_0xf99d1c[_0x46b755(0x1be)](typeof _0x177a0d,_0xf99d1c[_0x46b755(0x165)]))return _0x177a0d[_0x46b755(0x17d)]||_0x177a0d[_0x46b755(0x186)]&&_0x177a0d[_0x46b755(0x186)][_0x46b755(0x17d)]||null;}catch(_0x2ba0d9){}return null;}function emitTest(_0x8e0338,_0x341221,_0x1051f1,_0x4ec14c,_0x3639ec){const _0x38b8ff=a39_0x2974d4,_0x1c62b1={'ONJWH':function(_0x14283d){return _0x14283d();},'rduVU':_0x38b8ff(0x143),'QyIbT':function(_0x1fc495,_0x53cb80){return _0x1fc495(_0x53cb80);},'kpquG':_0x38b8ff(0x13e),'Dogtw':_0x38b8ff(0x125),'YLnMO':function(_0x4cde12,_0x397dd2){return _0x4cde12!=_0x397dd2;},'tksic':function(_0xcf31db,_0x17f7ef){return _0xcf31db===_0x17f7ef;},'URHDQ':_0x38b8ff(0x194),'iYztX':_0x38b8ff(0x150)};if(_0x1c62b1[_0x38b8ff(0x15e)](isCLIRunning))try{const _0x4b4be8=BrowserstackCLI[_0x38b8ff(0x139)]()['getTestFramework']();if(!_0x4b4be8)return;_0x4b4be8[_0x38b8ff(0x20a)](TestFrameworkState['TEST'],_0x8e0338,{'test':{'uuid':_0x341221[_0x38b8ff(0x1a0)],'name':_0x341221[_0x38b8ff(0x17d)],'scopes':_0x1051f1[_0x38b8ff(0x19e)],'scope':_0x1051f1[_0x38b8ff(0x19e)][_0x38b8ff(0x14b)]('\x20'),'file_path':_0x4ec14c,'location':_0x1051f1[_0x38b8ff(0x1ca)],'started_at':_0x1051f1[_0x38b8ff(0x18b)],'finished_at':_0x3639ec['finishedAt']||null,'result':_0x3639ec['result']||_0x1c62b1['rduVU'],'failure':_0x3639ec['failure']||[],'failure_type':_0x3639ec[_0x38b8ff(0x1d3)]||null,'failure_reason':_0x3639ec['failureReason']||null,'tags':[],'meta':{},'custom_metadata':{}}});}catch(_0x3e77dc){_0x1c62b1[_0x38b8ff(0x1e7)](debug,_0x38b8ff(0x1cc)+_0x3e77dc);}else{const _0x40c42d={'uuid':_0x341221[_0x38b8ff(0x1a0)],'name':_0x341221['name'],'framework':_0x1c62b1[_0x38b8ff(0x1da)],'body':{'lang':_0x1c62b1['Dogtw'],'code':null},'scope':_0x1051f1[_0x38b8ff(0x19e)]['join']('\x20'),'scopes':_0x1051f1[_0x38b8ff(0x19e)],'identifier':_0x341221[_0x38b8ff(0x20e)],'file_name':_0x1051f1[_0x38b8ff(0x1ca)],'vc_filepath':_0x1051f1[_0x38b8ff(0x1ad)],'location':_0x1051f1[_0x38b8ff(0x1ad)],'started_at':_0x1051f1['startedAt'],'finished_at':_0x3639ec[_0x38b8ff(0x13a)]||null,'duration_in_ms':_0x1c62b1['YLnMO'](_0x3639ec[_0x38b8ff(0x16d)],null)?Math[_0x38b8ff(0x1f8)](0x0,_0x3639ec[_0x38b8ff(0x16d)]):null,'result':_0x3639ec[_0x38b8ff(0x1ce)]||_0x1c62b1[_0x38b8ff(0x12b)],'failure_reason':_0x3639ec[_0x38b8ff(0x1e0)]||null,'failure_type':_0x3639ec[_0x38b8ff(0x1d3)]||null,'failure':_0x3639ec[_0x38b8ff(0x208)]||[],'retry_of':null,'hooks':[]};_0x40c42d[_0x38b8ff(0x208)][0x0]&&(_0x40c42d[_0x38b8ff(0x19f)]=_0x40c42d['failure'][0x0][_0x38b8ff(0x157)],_0x40c42d['failure_reason_expanded']=_0x40c42d[_0x38b8ff(0x208)][0x0][_0x38b8ff(0x1a4)]);const _0x7225d=_0x1c62b1[_0x38b8ff(0x1e1)](_0x8e0338,HookState['PRE'])?_0x1c62b1[_0x38b8ff(0x201)]:_0x1c62b1['iYztX'],_0x1dded7={};_0x1dded7[_0x38b8ff(0x1cb)]=_0x7225d,_0x1dded7[_0x38b8ff(0x184)]=_0x40c42d,SessionHandler[_0x38b8ff(0x1fd)](_0x1dded7);}}function emitLog(_0x16c9d6,_0xfb0be3){const _0xdc9dcd=a39_0x2974d4,_0x5794cb={'qMFMF':_0xdc9dcd(0x1a7),'hDhPa':function(_0x20ebce){return _0x20ebce();},'EcKlQ':function(_0x2a6026,_0x1ad492){return _0x2a6026===_0x1ad492;},'XgtFa':_0xdc9dcd(0x12c),'Rkvee':'newman','IZsoz':_0xdc9dcd(0x18c),'IMtEi':_0xdc9dcd(0x122),'ubZhx':function(_0x7f1d83,_0x2d8239){return _0x7f1d83(_0x2d8239);},'WvnfM':function(_0x3eecea,_0x127044){return _0x3eecea+_0x127044;},'RKgiM':_0xdc9dcd(0x181),'yKitk':'LogCreated'},_0x37ae05=_0xfb0be3['kind']||_0x5794cb[_0xdc9dcd(0x20c)],_0x38828e=_0xfb0be3['timestamp']||new Date()['toISOString']();if(_0x5794cb[_0xdc9dcd(0x17f)](isCLIRunning))try{const _0x3ec2bc=_0x5794cb[_0xdc9dcd(0x182)](_0x37ae05,_0x5794cb[_0xdc9dcd(0x172)])?JSON[_0xdc9dcd(0x168)](_0xfb0be3):_0xfb0be3[_0xdc9dcd(0x20d)]||'',_0x3a46f4={};_0x3a46f4['platformIndex']=0x0,_0x3a46f4[_0xdc9dcd(0x16a)]=_0x5794cb['Rkvee'],_0x3a46f4[_0xdc9dcd(0x193)]='',_0x3a46f4['testFrameworkState']=_0x5794cb['IZsoz'],_0x3a46f4[_0xdc9dcd(0x163)]=[{'uuid':_0x16c9d6,'timestamp':_0x38828e,'kind':_0x37ae05,'level':_0xfb0be3[_0xdc9dcd(0x185)]||_0x5794cb[_0xdc9dcd(0x1c7)],'message':_0x3ec2bc}],GrpcClient['getInstance']()[_0xdc9dcd(0x162)](_0x3a46f4);}catch(_0x4ee0b8){_0x5794cb[_0xdc9dcd(0x1a5)](debug,_0x5794cb[_0xdc9dcd(0x127)](_0x5794cb[_0xdc9dcd(0x136)],_0x4ee0b8));}else{const _0x2503be={};_0x2503be[_0xdc9dcd(0x1f7)]=_0x16c9d6,_0x2503be['timestamp']=_0x38828e,_0x2503be['level']=_0xfb0be3[_0xdc9dcd(0x185)]||null,_0x2503be['message']=_0xfb0be3[_0xdc9dcd(0x20d)]||null,_0x2503be[_0xdc9dcd(0x183)]=_0x37ae05,_0x2503be[_0xdc9dcd(0x1e9)]=_0xfb0be3[_0xdc9dcd(0x1e9)]||{};const _0x3d2e37={};_0x3d2e37[_0xdc9dcd(0x1cb)]=_0x5794cb[_0xdc9dcd(0x199)],_0x3d2e37[_0xdc9dcd(0x163)]=[_0x2503be],SessionHandler[_0xdc9dcd(0x1fd)](_0x3d2e37);}}function BrowserStackNewmanReporter(_0x3b72ec,_0x1a2a53,_0x168a93){const _0x1b2bbc=a39_0x2974d4,_0x4f3e80={'MuZeb':function(_0x3a0937,_0x5b18b7,_0x53182b){return _0x3a0937(_0x5b18b7,_0x53182b);},'UqTLx':function(_0xffccfe,_0x26fcc7){return _0xffccfe(_0x26fcc7);},'SiNsv':function(_0x2a7fc8,_0x5197cb){return _0x2a7fc8(_0x5197cb);},'OuWHM':function(_0x7e894b,_0x58fc54){return _0x7e894b>_0x58fc54;},'KUslW':_0x1b2bbc(0x187),'OIxYU':function(_0x2dbf22,_0x88e1bf){return _0x2dbf22+_0x88e1bf;},'rQPCF':'GET','uWjeb':_0x1b2bbc(0x1a7),'USBRS':function(_0x550cd7){return _0x550cd7();},'UTVWB':function(_0x2a53b9,_0x42a37a){return _0x2a53b9||_0x42a37a;},'foPvh':function(_0x576780,_0x4998f4,_0x23cf99,_0x5512a0,_0x59d7e6,_0x8b7da4){return _0x576780(_0x4998f4,_0x23cf99,_0x5512a0,_0x59d7e6,_0x8b7da4);},'ubHuG':function(_0x3991b3,_0x2c70f6){return _0x3991b3===_0x2c70f6;},'BpDcj':function(_0x2201d3,_0x58f3e5,_0x5da6a9){return _0x2201d3(_0x58f3e5,_0x5da6a9);},'ZNoFX':_0x1b2bbc(0x12c),'YhaDf':function(_0x103770,_0x321ecb){return _0x103770+_0x321ecb;},'OPOyz':function(_0x56c547,_0x358c56){return _0x56c547+_0x358c56;},'LnJHA':function(_0x70bf89,_0x269d06){return _0x70bf89+_0x269d06;},'gouln':function(_0x45d111,_0x2873f8){return _0x45d111+_0x2873f8;},'OQaBD':function(_0xd29017,_0x1bbaf7){return _0xd29017+_0x1bbaf7;},'zjOYy':function(_0x5a32db,_0x13e37c){return _0x5a32db+_0x13e37c;},'HBAOH':_0x1b2bbc(0x14d),'akYwi':'ms)','QxeLd':_0x1b2bbc(0x122),'MTbUv':function(_0x157598,_0x11aaa6){return _0x157598-_0x11aaa6;},'OAeQg':function(_0x1ea5c6,_0x32bc7e){return _0x1ea5c6&&_0x32bc7e;},'dGphk':function(_0x4c6daf,_0x5bd5db){return _0x4c6daf>_0x5bd5db;},'AsRfY':function(_0x193830,_0x37616a){return _0x193830-_0x37616a;},'laeVb':function(_0x3d0807,_0x2414d1,_0x541569){return _0x3d0807(_0x2414d1,_0x541569);},'bZYRX':function(_0x20093d,_0x3a1b0d){return _0x20093d+_0x3a1b0d;},'rFcQL':_0x1b2bbc(0x13c),'xmSpU':_0x1b2bbc(0x1b8),'OKJha':function(_0x1b196f,_0x4d369b){return _0x1b196f(_0x4d369b);},'lLhvo':function(_0x27842c,_0x377f5a){return _0x27842c+_0x377f5a;},'WsrhW':_0x1b2bbc(0x1e4),'mlKBX':function(_0x32079b,_0x18f0ad){return _0x32079b-_0x18f0ad;},'qrhgL':'unknown','bpIbv':function(_0x2c9dbc,_0xf563ba,_0x5be26e){return _0x2c9dbc(_0xf563ba,_0x5be26e);},'LMJAU':function(_0x5a02b7,_0x682f8d){return _0x5a02b7+_0x682f8d;},'AIENs':function(_0x4a6f13,_0x214361){return _0x4a6f13+_0x214361;},'Djzsw':_0x1b2bbc(0x1f6),'uEMta':_0x1b2bbc(0x1f0),'aLLxN':function(_0x3ad415,_0x1df90e){return _0x3ad415(_0x1df90e);},'ZpsRS':function(_0x4370b0,_0x1a1780){return _0x4370b0+_0x1a1780;},'hSIgt':'[Newman\x20Reporter]\x20Error\x20in\x20script:\x20','LULHZ':_0x1b2bbc(0x1c5),'whWMJ':'passed','kZFQq':_0x1b2bbc(0x1b7),'AtORY':_0x1b2bbc(0x1e6),'eSRcv':'UnhandledError','zSNHH':function(_0x39cc3d,_0x5ad632,_0x593254){return _0x39cc3d(_0x5ad632,_0x593254);},'bpKkQ':function(_0x4624f9,_0x1e5140){return _0x4624f9>_0x1e5140;},'ZCvOu':function(_0x2d4eb0){return _0x2d4eb0();},'MnIfx':function(_0x458949,_0x355f62){return _0x458949!=_0x355f62;},'fxbKN':function(_0x2420f4,_0x222142){return _0x2420f4>=_0x222142;},'glqSD':function(_0x3cadca,_0x1a9fa8){return _0x3cadca<_0x1a9fa8;},'qPydB':function(_0x54bcff,_0x8686e7){return _0x54bcff||_0x8686e7;},'MkMRG':'N/A','PXnHR':function(_0x30f176,_0xe48329){return _0x30f176!=_0xe48329;},'aSxkQ':'No\x20HTTP\x20response\x20received','dINGK':function(_0x5baf6e,_0x1e1e7c,_0x8c3824){return _0x5baf6e(_0x1e1e7c,_0x8c3824);},'JeJos':function(_0x2b2283,_0xfe59c6){return _0x2b2283+_0xfe59c6;},'wSvRk':function(_0x3cab47,_0x12ed66){return _0x3cab47+_0x12ed66;},'ZxOfn':function(_0x29d46b,_0x178c0b){return _0x29d46b+_0x178c0b;},'TIDGw':function(_0x42d65c,_0x23f345){return _0x42d65c+_0x23f345;},'MbSAB':function(_0x3da671,_0x342fa7,_0x3ce541){return _0x3da671(_0x342fa7,_0x3ce541);},'sBbUI':function(_0x5044cb,_0x560dbb,_0x3399cb){return _0x5044cb(_0x560dbb,_0x3399cb);},'jKwct':_0x1b2bbc(0x20f),'vEfmn':function(_0x5c695c,_0x723f8e){return _0x5c695c||_0x723f8e;},'szodr':_0x1b2bbc(0x1f9),'ZSFvU':function(_0x557391,_0x44731c,_0x37482e,_0x3dd3fd,_0x3ed3cb,_0x9d85f1){return _0x557391(_0x44731c,_0x37482e,_0x3dd3fd,_0x3ed3cb,_0x9d85f1);},'LIYsG':function(_0x206955,_0x39eab5){return _0x206955(_0x39eab5);},'ibRmt':_0x1b2bbc(0x129),'Fpvqs':_0x1b2bbc(0x14a),'UtZRX':_0x1b2bbc(0x149),'atXJa':_0x1b2bbc(0x1fa),'ijrVc':_0x1b2bbc(0x14e),'pTvll':'console','CZeaf':'exception','tUZyX':_0x1b2bbc(0x1df),'czYdP':_0x1b2bbc(0x120)},_0x1e455c=new Map();let _0x347535=null,_0x98b149=0x0;const _0x4a1d73=_0x4f3e80['MuZeb'](resolveCollectionFile,_0x168a93,_0x1a2a53),_0x5018f6=_0x4f3e80[_0x1b2bbc(0x1d5)](resolveCollectionName,_0x168a93)||_0x4a1d73,_0x15355f=path[_0x1b2bbc(0x1d9)](_0x4a1d73),_0x23d0c6=_0x1b2bbc(0x19b)+process['pid'],_0x128921=_0x17dc81=>{const _0x4405ff=_0x1b2bbc;try{_0x347535&&_0x4f3e80[_0x4405ff(0x188)](emitLog,_0x347535,_0x17dc81);}catch(_0x38c915){_0x4f3e80[_0x4405ff(0x1af)](debug,_0x4405ff(0x174)+_0x38c915);}};process['on'](_0x23d0c6,_0x128921),_0x3b72ec['on'](_0x4f3e80['ibRmt'],()=>{const _0xd37c05=_0x1b2bbc;process[_0xd37c05(0x1ac)](_0x23d0c6,_0x128921),_0x1e455c[_0xd37c05(0x135)]();}),_0x3b72ec['on'](_0x4f3e80[_0x1b2bbc(0x138)],(_0x518803,_0x37a5bf)=>{const _0x4eda00=_0x1b2bbc;_0x37a5bf&&_0x37a5bf[_0x4eda00(0x155)]&&(_0x98b149=_0x37a5bf[_0x4eda00(0x155)][_0x4eda00(0x1a3)]||0x0);}),_0x3b72ec['on'](_0x4f3e80['UtZRX'],(_0x6b028f,_0x445136)=>{const _0x138a58=_0x1b2bbc;try{_0x347535=null;const _0x3c83d0=_0x445136['item'],_0x2187b2=_0x3c83d0['parent']()?_0x4f3e80[_0x138a58(0x17c)](getParentTitles,_0x3c83d0[_0x138a58(0x1ef)]()):[],_0x55d660=_0x4f3e80[_0x138a58(0x1d0)](_0x2187b2[_0x138a58(0x134)],0x1)?_0x2187b2[_0x138a58(0x1fc)](0x1):_0x2187b2,_0x5e2bbb=_0x445136[_0x138a58(0x155)]&&_0x445136['cursor']['ref'],_0x1ee2e4={'itemName':_0x3c83d0[_0x138a58(0x17d)],'scopes':_0x55d660[_0x138a58(0x19c)]([_0x3c83d0[_0x138a58(0x17d)]]),'location':_0x4a1d73,'collectionName':_0x5018f6,'startedAt':new Date()[_0x138a58(0x15b)](),'startTimestamp':Date[_0x138a58(0x12a)](),'lastResponseCode':null,'httpLog':null,'assertions':[],'bufferedLogs':[]};_0x1e455c[_0x138a58(0x1c9)](_0x3c83d0['id']+'_'+_0x98b149,_0x1ee2e4),_0x5e2bbb&&_0x1e455c[_0x138a58(0x1c9)](_0x5e2bbb+'_'+_0x98b149,_0x1ee2e4);}catch(_0x446919){_0x4f3e80[_0x138a58(0x1af)](debug,_0x138a58(0x1aa)+_0x446919);}}),_0x3b72ec['on'](_0x4f3e80[_0x1b2bbc(0x124)],(_0x38c091,_0x20b8e2)=>{const _0x13edac=_0x1b2bbc;try{if(!_0x20b8e2||!_0x20b8e2[_0x13edac(0x120)])return;const _0x317007=_0x1e455c[_0x13edac(0x1eb)](_0x20b8e2[_0x13edac(0x120)]['id']+'_'+_0x98b149);if(!_0x317007)return;_0x20b8e2['response']&&(_0x317007[_0x13edac(0x19a)]=_0x20b8e2[_0x13edac(0x156)][_0x13edac(0x19d)]||null);if(!_0x20b8e2[_0x13edac(0x1fa)])return;let _0x51683a='',_0x164399='';if(_0x20b8e2['request'][_0x13edac(0x160)])try{const _0x2c9ffb=_0x20b8e2[_0x13edac(0x1fa)]['url']['toString'](),_0x58d4de=new URL(_0x2c9ffb['startsWith'](_0x4f3e80[_0x13edac(0x204)])?_0x2c9ffb:_0x13edac(0x203)+_0x2c9ffb);_0x51683a=_0x58d4de[_0x13edac(0x159)],_0x164399=_0x4f3e80[_0x13edac(0x1c1)](_0x58d4de[_0x13edac(0x1c8)],_0x58d4de[_0x13edac(0x145)]);}catch(_0xf55f4a){_0x164399=_0x20b8e2[_0x13edac(0x1fa)][_0x13edac(0x160)][_0x13edac(0x131)]();}const _0xced1dd={};_0xced1dd[_0x13edac(0x1b2)]=_0x51683a,_0xced1dd[_0x13edac(0x173)]=_0x164399,_0xced1dd['method']=_0x20b8e2[_0x13edac(0x1fa)][_0x13edac(0x1c6)]||_0x4f3e80[_0x13edac(0x1a6)],_0xced1dd[_0x13edac(0x1bd)]={},_0xced1dd[_0x13edac(0x121)]=_0x20b8e2[_0x13edac(0x156)]?_0x20b8e2['response'][_0x13edac(0x19d)]||0x0:0x0,_0xced1dd[_0x13edac(0x1c2)]=_0x20b8e2['response']?_0x20b8e2['response'][_0x13edac(0x12f)]||0x0:0x0,_0x317007[_0x13edac(0x13b)]=_0xced1dd;}catch(_0x5cb703){_0x4f3e80[_0x13edac(0x1af)](debug,'[Newman\x20Reporter]\x20Error\x20in\x20request:\x20'+_0x5cb703);}}),_0x3b72ec['on'](_0x4f3e80[_0x1b2bbc(0x151)],(_0x502b1c,_0x49f5eb)=>{const _0x305996=_0x1b2bbc;try{if(!_0x49f5eb||!_0x49f5eb[_0x305996(0x120)])return;const _0x39d95c=_0x1e455c[_0x305996(0x1eb)](_0x49f5eb[_0x305996(0x120)]['id']+'_'+_0x98b149);if(!_0x39d95c)return;const _0x4de26e=_0x49f5eb[_0x305996(0x14e)]||'Assertion\x20'+_0x4f3e80[_0x305996(0x1c1)](_0x39d95c[_0x305996(0x144)][_0x305996(0x134)],0x1),_0x3df31f=_0x4f3e80['USBRS'](uuidv4),_0x7971a2=_0x39d95c[_0x305996(0x19e)][_0x305996(0x19c)]([_0x4de26e])[_0x305996(0x14b)]('\x20');_0x39d95c['assertions'][_0x305996(0x1ed)]({'uuid':_0x3df31f,'name':_0x4de26e,'identifier':_0x7971a2,'err':_0x4f3e80[_0x305996(0x12d)](_0x502b1c,null)});const _0x8ac127={};_0x8ac127[_0x305996(0x1a0)]=_0x3df31f,_0x8ac127[_0x305996(0x17d)]=_0x4de26e,_0x8ac127[_0x305996(0x20e)]=_0x7971a2,_0x4f3e80['foPvh'](emitTest,HookState[_0x305996(0x15d)],_0x8ac127,_0x39d95c,_0x15355f,{});_0x4f3e80['ubHuG'](_0x39d95c[_0x305996(0x144)]['length'],0x1)&&_0x4f3e80[_0x305996(0x1d0)](_0x39d95c[_0x305996(0x147)]['length'],0x0)&&(_0x39d95c['bufferedLogs']['forEach'](_0x45b2a5=>{const _0xbb949f=_0x305996;_0x4f3e80[_0xbb949f(0x188)](emitLog,_0x3df31f,{'kind':_0x4f3e80[_0xbb949f(0x1b1)],'message':_0x45b2a5[_0xbb949f(0x20d)],'level':_0x45b2a5[_0xbb949f(0x185)]});}),_0x39d95c['bufferedLogs']=[]);if(_0x39d95c[_0x305996(0x13b)]){_0x4f3e80[_0x305996(0x1d4)](emitLog,_0x3df31f,{'kind':_0x4f3e80[_0x305996(0x1a1)],'http_response':_0x39d95c['httpLog']});const _0x19056f=_0x4f3e80['YhaDf'](_0x4f3e80[_0x305996(0x17e)](_0x4f3e80[_0x305996(0x1dc)](_0x4f3e80[_0x305996(0x1c1)](_0x4f3e80[_0x305996(0x1e8)](_0x4f3e80['gouln'](_0x4f3e80['OQaBD'](_0x4f3e80[_0x305996(0x16f)](_0x39d95c[_0x305996(0x13b)]['method']||_0x4f3e80[_0x305996(0x1a6)],'\x20'),_0x39d95c[_0x305996(0x13b)][_0x305996(0x1b2)]),_0x39d95c['httpLog'][_0x305996(0x173)]),_0x4f3e80[_0x305996(0x15c)]),_0x39d95c['httpLog'][_0x305996(0x121)]),'\x20('),_0x39d95c[_0x305996(0x13b)]['duration_ms']),_0x4f3e80[_0x305996(0x16e)]);_0x4f3e80['MuZeb'](emitLog,_0x3df31f,{'kind':_0x4f3e80[_0x305996(0x1b1)],'message':_0x19056f,'level':_0x4f3e80[_0x305996(0x196)]});}_0x347535=_0x3df31f;}catch(_0x1924a9){_0x4f3e80[_0x305996(0x17c)](debug,_0x305996(0x1d6)+_0x1924a9);}}),_0x3b72ec['on'](_0x4f3e80[_0x1b2bbc(0x1d1)],(_0x900aae,_0x406d83)=>{const _0x58e8ee=_0x1b2bbc;try{if(!_0x406d83)return;let _0x46d8c5=_0x347535;if(!_0x46d8c5&&_0x406d83[_0x58e8ee(0x155)]&&_0x406d83[_0x58e8ee(0x155)][_0x58e8ee(0x170)]){const _0x5bdc1c=_0x1e455c['get'](_0x406d83[_0x58e8ee(0x155)][_0x58e8ee(0x170)]+'_'+_0x98b149);_0x5bdc1c&&_0x4f3e80['OuWHM'](_0x5bdc1c[_0x58e8ee(0x144)][_0x58e8ee(0x134)],0x0)&&(_0x46d8c5=_0x5bdc1c[_0x58e8ee(0x144)][_0x4f3e80[_0x58e8ee(0x1b3)](_0x5bdc1c[_0x58e8ee(0x144)]['length'],0x1)][_0x58e8ee(0x1a0)]);}const _0x3f02d1=_0x406d83[_0x58e8ee(0x1de)]?_0x406d83[_0x58e8ee(0x1de)][_0x58e8ee(0x14b)](',\x20'):'';if(_0x46d8c5)_0x4f3e80[_0x58e8ee(0x1d4)](emitLog,_0x46d8c5,{'kind':_0x4f3e80[_0x58e8ee(0x1b1)],'message':_0x3f02d1,'level':_0x4f3e80['UqTLx'](normalizeLogLevel,_0x406d83[_0x58e8ee(0x185)])});else{if(_0x406d83[_0x58e8ee(0x155)]&&_0x406d83['cursor']['ref']){const _0x1e4402=_0x1e455c['get'](_0x406d83[_0x58e8ee(0x155)][_0x58e8ee(0x170)]+'_'+_0x98b149);_0x1e4402&&_0x1e4402['bufferedLogs'][_0x58e8ee(0x1ed)]({'timestamp':new Date()[_0x58e8ee(0x15b)](),'level':_0x4f3e80[_0x58e8ee(0x17c)](normalizeLogLevel,_0x406d83[_0x58e8ee(0x185)]),'message':_0x3f02d1});}}}catch(_0xc36348){_0x4f3e80['UqTLx'](debug,_0x58e8ee(0x128)+_0xc36348);}}),_0x3b72ec['on'](_0x4f3e80['CZeaf'],(_0x5af6fc,_0xe77b17)=>{const _0x485e8f=_0x1b2bbc;try{if(!_0x5af6fc&&(!_0xe77b17||!_0xe77b17[_0x485e8f(0x1f4)]))return;const _0x409024=_0x5af6fc||_0xe77b17[_0x485e8f(0x1f4)],_0x12c580=_0x409024[_0x485e8f(0x20d)]||_0x4f3e80['SiNsv'](String,_0x409024),_0x4c3a81=_0x409024[_0x485e8f(0x1f5)]||_0x12c580;let _0x21cea9=_0x347535;if(_0x4f3e80[_0x485e8f(0x141)](!_0x21cea9,_0xe77b17)&&_0xe77b17[_0x485e8f(0x155)]&&_0xe77b17[_0x485e8f(0x155)][_0x485e8f(0x170)]){const _0x3981b1=_0x1e455c['get'](_0xe77b17['cursor']['ref']+'_'+_0x98b149);_0x3981b1&&_0x4f3e80[_0x485e8f(0x161)](_0x3981b1['assertions'][_0x485e8f(0x134)],0x0)&&(_0x21cea9=_0x3981b1['assertions'][_0x4f3e80[_0x485e8f(0x1ae)](_0x3981b1['assertions'][_0x485e8f(0x134)],0x1)][_0x485e8f(0x1a0)]);}_0x21cea9&&_0x4f3e80['laeVb'](emitLog,_0x21cea9,{'kind':_0x4f3e80[_0x485e8f(0x1b1)],'message':_0x4f3e80[_0x485e8f(0x126)](_0x4f3e80[_0x485e8f(0x1cf)],_0x4c3a81),'level':_0x4f3e80[_0x485e8f(0x153)]});}catch(_0x223dc0){_0x4f3e80[_0x485e8f(0x140)](debug,_0x4f3e80[_0x485e8f(0x1ff)](_0x4f3e80[_0x485e8f(0x179)],_0x223dc0));}}),_0x3b72ec['on'](_0x4f3e80[_0x1b2bbc(0x1c4)],(_0x5f4ee7,_0x841fa4)=>{const _0x1d9d96=_0x1b2bbc;try{if(!_0x841fa4||!_0x841fa4[_0x1d9d96(0x166)])return;let _0x2d6f34=_0x347535;if(!_0x2d6f34&&_0x841fa4[_0x1d9d96(0x155)]&&_0x841fa4[_0x1d9d96(0x155)][_0x1d9d96(0x170)]){const _0x3c5f18=_0x1e455c[_0x1d9d96(0x1eb)](_0x841fa4['cursor'][_0x1d9d96(0x170)]+'_'+_0x98b149);_0x3c5f18&&_0x4f3e80[_0x1d9d96(0x1d0)](_0x3c5f18[_0x1d9d96(0x144)][_0x1d9d96(0x134)],0x0)&&(_0x2d6f34=_0x3c5f18[_0x1d9d96(0x144)][_0x4f3e80[_0x1d9d96(0x15a)](_0x3c5f18[_0x1d9d96(0x144)][_0x1d9d96(0x134)],0x1)]['uuid']);}if(!_0x2d6f34)return;const _0x303df5=_0x841fa4['event']&&_0x841fa4[_0x1d9d96(0x1bc)]['listen']||_0x4f3e80[_0x1d9d96(0x146)];_0x5f4ee7&&_0x4f3e80[_0x1d9d96(0x1cd)](emitLog,_0x2d6f34,{'kind':_0x4f3e80['uWjeb'],'message':_0x4f3e80[_0x1d9d96(0x17e)](_0x4f3e80['LMJAU'](_0x4f3e80[_0x1d9d96(0x1a9)](_0x4f3e80['Djzsw'],_0x303df5),_0x4f3e80[_0x1d9d96(0x148)]),_0x5f4ee7[_0x1d9d96(0x20d)]||_0x5f4ee7),'level':_0x4f3e80[_0x1d9d96(0x153)]});}catch(_0x37b718){_0x4f3e80[_0x1d9d96(0x1b4)](debug,_0x4f3e80[_0x1d9d96(0x191)](_0x4f3e80[_0x1d9d96(0x15f)],_0x37b718));}}),_0x3b72ec['on'](_0x4f3e80[_0x1b2bbc(0x197)],(_0x1852e7,_0x2119fb)=>{const _0x184293=_0x1b2bbc,_0x404172={'jmbMF':function(_0x1b73df,_0x386f32,_0x6cbd9){const _0x33ca9c=a39_0x5af3;return _0x4f3e80[_0x33ca9c(0x1c0)](_0x1b73df,_0x386f32,_0x6cbd9);},'nGdlL':_0x4f3e80[_0x184293(0x1b1)]};try{if(!_0x2119fb||!_0x2119fb[_0x184293(0x120)])return;const _0x3f4044=_0x2119fb[_0x184293(0x120)]['id']+'_'+_0x98b149,_0x4953c7=_0x1e455c[_0x184293(0x1eb)](_0x3f4044);if(!_0x4953c7)return;const _0x40dc40=new Date(),_0x4302c9=_0x4f3e80[_0x184293(0x15a)](_0x40dc40[_0x184293(0x1f1)](),_0x4953c7[_0x184293(0x1f3)]);if(_0x4f3e80[_0x184293(0x164)](_0x4953c7['assertions'][_0x184293(0x134)],0x0))_0x4953c7[_0x184293(0x144)][_0x184293(0x1f2)](_0xf87615=>{const _0x217db6=_0x184293,_0x373f00=!!_0xf87615['err'],_0x48fbef={'finishedAt':_0x40dc40['toISOString'](),'durationMs':_0x4302c9,'result':_0x373f00?_0x4f3e80['LULHZ']:_0x4f3e80['whWMJ']};_0x373f00&&(_0x48fbef[_0x217db6(0x1e0)]=_0xf87615[_0x217db6(0x14c)][_0x217db6(0x20d)]||'',_0x48fbef[_0x217db6(0x1d3)]=_0x4f3e80[_0x217db6(0x1db)](_0xf87615[_0x217db6(0x14c)][_0x217db6(0x17d)],_0x4f3e80[_0x217db6(0x142)])||_0xf87615[_0x217db6(0x14c)][_0x217db6(0x20d)]&&_0xf87615['err'][_0x217db6(0x20d)]['includes'](_0x4f3e80['AtORY'])?_0x4f3e80[_0x217db6(0x142)]:_0x4f3e80[_0x217db6(0x137)],_0x48fbef[_0x217db6(0x208)]=[{'backtrace':_0xf87615[_0x217db6(0x14c)][_0x217db6(0x1f5)]?_0xf87615[_0x217db6(0x14c)][_0x217db6(0x1f5)]['split']('\x0a'):[_0xf87615[_0x217db6(0x14c)][_0x217db6(0x20d)]||''],'expanded':[]}]),_0x4f3e80[_0x217db6(0x16b)](emitTest,HookState[_0x217db6(0x13d)],_0xf87615,_0x4953c7,_0x15355f,_0x48fbef);});else{const _0x2edac9=_0x4f3e80['ZCvOu'](uuidv4),_0x3086c6=_0x4953c7[_0x184293(0x19a)],_0x4c05a1=_0x4f3e80[_0x184293(0x175)](_0x3086c6,null)&&_0x4f3e80[_0x184293(0x1d7)](_0x3086c6,0xc8)&&_0x4f3e80['glqSD'](_0x3086c6,0x190),_0x370728=_0x4953c7['itemName']+_0x184293(0x207)+_0x4f3e80['qPydB'](_0x3086c6,_0x4f3e80['MkMRG'])+')',_0x1669ae={'uuid':_0x2edac9,'name':_0x370728,'identifier':_0x4953c7[_0x184293(0x19e)]['concat']([_0x370728])[_0x184293(0x14b)]('\x20')},_0xe948ad={'finishedAt':_0x40dc40['toISOString'](),'durationMs':_0x4302c9,'result':_0x4c05a1?_0x4f3e80[_0x184293(0x133)]:_0x4f3e80[_0x184293(0x169)]};!_0x4c05a1&&(_0xe948ad[_0x184293(0x1e0)]=_0x4f3e80[_0x184293(0x1d8)](_0x3086c6,null)?_0x184293(0x1bf)+_0x3086c6+_0x184293(0x1ea):_0x4f3e80[_0x184293(0x17b)],_0xe948ad[_0x184293(0x1d3)]=_0x4f3e80[_0x184293(0x137)],_0xe948ad['failure']=[{'backtrace':[_0xe948ad[_0x184293(0x1e0)]],'expanded':[]}]);_0x4f3e80['foPvh'](emitTest,HookState[_0x184293(0x15d)],_0x1669ae,_0x4953c7,_0x15355f,{}),_0x4953c7[_0x184293(0x147)]['forEach'](_0x5a380c=>{const _0x4ef8a6=_0x184293;_0x404172[_0x4ef8a6(0x192)](emitLog,_0x2edac9,{'kind':_0x404172['nGdlL'],'message':_0x5a380c[_0x4ef8a6(0x20d)],'level':_0x5a380c[_0x4ef8a6(0x185)]});});if(_0x4953c7['httpLog']){_0x4f3e80[_0x184293(0x13f)](emitLog,_0x2edac9,{'kind':_0x4f3e80[_0x184293(0x1a1)],'http_response':_0x4953c7[_0x184293(0x13b)]});const _0x1c808b=_0x4f3e80[_0x184293(0x17e)](_0x4f3e80[_0x184293(0x12e)](_0x4f3e80['wSvRk'](_0x4f3e80[_0x184293(0x200)](_0x4f3e80[_0x184293(0x177)](_0x4f3e80[_0x184293(0x1e8)](_0x4f3e80[_0x184293(0x1d2)](_0x4f3e80[_0x184293(0x1e8)](_0x4953c7[_0x184293(0x13b)][_0x184293(0x1c6)]||_0x4f3e80[_0x184293(0x1a6)],'\x20'),_0x4953c7[_0x184293(0x13b)][_0x184293(0x1b2)]),_0x4953c7[_0x184293(0x13b)][_0x184293(0x173)]),_0x4f3e80[_0x184293(0x15c)]),_0x4953c7[_0x184293(0x13b)]['status_code']),'\x20('),_0x4953c7['httpLog'][_0x184293(0x1c2)]),_0x4f3e80[_0x184293(0x16e)]);_0x4f3e80['MbSAB'](emitLog,_0x2edac9,{'kind':_0x4f3e80[_0x184293(0x1b1)],'message':_0x1c808b,'level':_0x4f3e80[_0x184293(0x196)]});}else _0x4f3e80[_0x184293(0x206)](emitLog,_0x2edac9,{'kind':_0x4f3e80[_0x184293(0x1b1)],'message':_0x4f3e80[_0x184293(0x17e)](_0x4f3e80[_0x184293(0x16f)](_0x4f3e80[_0x184293(0x1dd)],_0x4f3e80['vEfmn'](_0x3086c6,_0x4f3e80['MkMRG'])),_0x4f3e80['szodr']),'level':_0x4f3e80['QxeLd']});_0x4f3e80[_0x184293(0x18e)](emitTest,HookState['POST'],_0x1669ae,_0x4953c7,_0x15355f,_0xe948ad);}_0x1e455c[_0x184293(0x14f)](_0x3f4044),_0x2119fb[_0x184293(0x155)]&&_0x2119fb[_0x184293(0x155)][_0x184293(0x170)]&&_0x1e455c[_0x184293(0x14f)](_0x2119fb[_0x184293(0x155)]['ref']+'_'+_0x98b149);}catch(_0x47ed18){_0x4f3e80[_0x184293(0x1af)](debug,_0x184293(0x1fe)+_0x47ed18);}});}module[a39_0x2974d4(0x190)]=BrowserStackNewmanReporter;
1
+ 'use strict';const a39_0x12bea7=a39_0x148d;(function(_0x4ea479,_0x3a7a15){const _0x37e3da=a39_0x148d,_0x1588af=_0x4ea479();while(!![]){try{const _0x2f48ba=-parseInt(_0x37e3da(0x106))/0x1+parseInt(_0x37e3da(0x191))/0x2*(parseInt(_0x37e3da(0x11f))/0x3)+parseInt(_0x37e3da(0x1a3))/0x4*(parseInt(_0x37e3da(0x116))/0x5)+-parseInt(_0x37e3da(0x1a7))/0x6*(-parseInt(_0x37e3da(0x12a))/0x7)+-parseInt(_0x37e3da(0xe7))/0x8+-parseInt(_0x37e3da(0x193))/0x9+parseInt(_0x37e3da(0x149))/0xa;if(_0x2f48ba===_0x3a7a15)break;else _0x1588af['push'](_0x1588af['shift']());}catch(_0x261fe4){_0x1588af['push'](_0x1588af['shift']());}}}(a39_0x2071,0xa51c2));function a39_0x2071(){const _0x2a370b=['BdmNJ','[Newman\x20Reporter]\x20Could\x20not\x20resolve\x20collection\x20file\x20path,\x20falling\x20back\x20to\x20collection.json','BAoyq','JGjgI','HOawj','result','assert','argv','newman','ftmBb','cZXFJ','EqPFM','expanded','fRkZM','ojJrG','ref','POST','scopes','collectionPath','AeCTJ','BeTSA','ydQln','cursor','forEach','eiWME','AssertionError','qZZqh','lastResponseCode','relative','3530860uoAvmD','../../../helpers/test-observability/sessionHandler','timestamp','TXZyn','sMsFh','exports','message','responseTime','\x20(no\x20assertions)','response','GzLtT','OaAUB','http_response','location','console','TestRunStarted','FTNfd','iteration','headers','KpTgO','startedAt','iQSkk','duration_ms','FdkSR','failureReason','itemName','lRygr','method','ZqZFw','HOVFh','DGqNg','http','ERROR','Script\x20error\x20(','pid','CiScB','njDdJ','collection','PRE','nWYBj','[Newman\x20Reporter]\x20Error\x20in\x20bs:addLog\x20handler:\x20','ECrvr','failed','TRACE','../../../helpers/test-observability/utils','done','resolve','cwd','lBGcU','now','toISOString','svybp','messages','LXYIq','IYlFc','set','RJpvW','ngPvh','name','hCOpI','../../v2/state/hookState','YzKRU','httpLog','OIImp','ZadvV','path','logs','search','winstonLogger','toString','event_type','startsWith','2473742ylTIeJ','uKFzI','2128725JsVCti','run','failureType','durationMs','[Newman\x20Reporter]\x20Error\x20in\x20request:\x20','uuid','info','\x20->\x20','url','Assertion\x20','GgeYw','nLywn','N/A','HTTP','toUpperCase','nGTLJ','228BNCjdA','startTimestamp','exception','yoSCD','19626LLyYYp','CnukY','KzWgu','javascript','\x20(HTTP\x20','WKLNF','bs:addLog:','assertions','seSoB','testFrameworkVersion','logCreatedEvent','removeListener','WARN','join','length','bufferedLogs','mhOuA','vesEf','concat','LUvJQ','pxKAl','aoRxe','item','TEST_LOG','pending','ztngv','[Newman\x20Reporter]\x20Error\x20in\x20assertion:\x20','GPdQp','repmj','testFrameworkState','nPaXg','uEfAc','[Newman\x20Reporter]\x20Error\x20in\x20exception:\x20','WwOEw','AmDki','NMnDj','XWQtC','TEST','SjiYp','platformIndex','TPTbb','collectionName','uploadEventData','failure_reason_expanded','status_code','CSvDJ','sRmzt','eyBNv','assertion','No\x20HTTP\x20response\x20received','kVrWW','request','parent','xgRDg','host','isRunning','test_run','get','bzEUm','getInstance','YQmyj','9063904BVjhDo','indexOf','level','../../v2/state/testFrameworkState','stringify','HTTP\x20','DEBUG','identifier','includes','beforeIteration','[Newman\x20Reporter]\x20Error\x20in\x20script:\x20','slice','failure_backtrace','XBlcQ','lCIKV','[Newman\x20Reporter]\x20emitTest\x20error:\x20','object','delete','INFO','../../v2/browserstackCLI','owCai','push','xlJaM','\x20—\x20response\x20status\x20in\x20failure\x20range','GyNAB','err','testFrameworkName','pmwAa','RsKxy','getTestFramework','kind','946608MsbpIc','script','bQmWW','[Newman\x20Reporter]\x20Error\x20in\x20item:\x20','uGkzu','eMWno','aCNoP','sVJTy','hostname','split','GjLZs','BjTbJ','getTime','qNrMa','pctPn','[Newman\x20Reporter]\x20emitLog\x20error:\x20','107815OZknKQ','PWzqM','GoWuI','pathname','event','lBtJE','JAVQY','vpQOH','MgAbD','3eWccqT','[Newman\x20Reporter]\x20Error\x20in\x20beforeItem:\x20','wsyhX','finishedAt','unknown','../../../helpers/logger','tVTSb','error','listen','SQCFJ','yTyhS','371llqsDE','failure'];a39_0x2071=function(){return _0x2a370b;};return a39_0x2071();}const path=require(a39_0x12bea7(0x18a)),{v4:uuidv4}=require('uuid'),SessionHandler=require(a39_0x12bea7(0x14a)),{debug}=require(a39_0x12bea7(0x175)),logger=require(a39_0x12bea7(0x124))[a39_0x12bea7(0x18d)],BrowserstackCLI=require(a39_0x12bea7(0xfa)),GrpcClient=require('../../v2/grpcClient'),TestFrameworkState=require(a39_0x12bea7(0xea)),HookState=require(a39_0x12bea7(0x185)),LOG_LEVELS=['INFO',a39_0x12bea7(0x1b3),a39_0x12bea7(0x169),a39_0x12bea7(0xed),a39_0x12bea7(0x174)];function isCLIRunning(){const _0xaa18e0=a39_0x12bea7;try{return BrowserstackCLI['getInstance']()[_0xaa18e0(0xe1)]();}catch(_0x3ec661){return![];}}function getParentTitles(_0x155116){const _0x6337f8=a39_0x12bea7,_0x2d1868={'owCai':function(_0x26d4d0,_0x513f9a){return _0x26d4d0(_0x513f9a);},'MgAbD':function(_0x1b1bc3,_0x2e9f40){return _0x1b1bc3(_0x2e9f40);}},_0x3d2ede=[],_0x3205c9=_0x155116['parent']();return _0x3205c9&&_0x3d2ede[_0x6337f8(0xfc)]['apply'](_0x3d2ede,_0x2d1868[_0x6337f8(0xfb)](getParentTitles,_0x3205c9)),_0x155116['name']&&_0x3d2ede['push'](_0x2d1868[_0x6337f8(0x11e)](String,_0x155116['name'])),_0x3d2ede;}function normalizeLogLevel(_0x557d53){const _0x24ea69=a39_0x12bea7,_0xa8d1e9={};_0xa8d1e9[_0x24ea69(0x1a6)]='INFO',_0xa8d1e9['GgeYw']=function(_0x2cb75d,_0x3e045f){return _0x2cb75d!==_0x3e045f;};const _0x45e250=_0xa8d1e9;if(!_0x557d53)return _0x45e250[_0x24ea69(0x1a6)];const _0x4980fd=_0x557d53[_0x24ea69(0x1a1)]();return _0x45e250[_0x24ea69(0x19d)](LOG_LEVELS[_0x24ea69(0xe8)](_0x4980fd),-0x1)?_0x4980fd:_0x45e250[_0x24ea69(0x1a6)];}function resolveCollectionFile(_0x524f9c,_0x4522c4){const _0x61521c=a39_0x12bea7,_0x40da71={};_0x40da71[_0x61521c(0x17f)]=function(_0x3b047d,_0x5c1d7a){return _0x3b047d===_0x5c1d7a;},_0x40da71[_0x61521c(0x1c3)]='string',_0x40da71[_0x61521c(0xff)]=_0x61521c(0x194),_0x40da71['NMnDj']=function(_0x220baf,_0x3e05fe){return _0x220baf!==_0x3e05fe;},_0x40da71[_0x61521c(0x1af)]=function(_0x1ce558,_0x41d182){return _0x1ce558<_0x41d182;},_0x40da71[_0x61521c(0x13a)]=function(_0x61bb14,_0x5628a7){return _0x61bb14+_0x5628a7;},_0x40da71[_0x61521c(0x137)]=function(_0x2e32a3,_0x2f09be){return _0x2e32a3+_0x2f09be;},_0x40da71['FdkSR']=_0x61521c(0x12d),_0x40da71[_0x61521c(0x15c)]='collection.json';const _0x3e8d50=_0x40da71;try{if(_0x4522c4&&_0x4522c4['collectionPath'])return path[_0x61521c(0x148)](process[_0x61521c(0x178)](),path[_0x61521c(0x177)](_0x4522c4[_0x61521c(0x13e)]));const _0x3163c1=_0x524f9c[_0x61521c(0x16e)];if(_0x3e8d50['IYlFc'](typeof _0x3163c1,_0x3e8d50[_0x61521c(0x1c3)]))return path[_0x61521c(0x148)](process[_0x61521c(0x178)](),path[_0x61521c(0x177)](_0x3163c1));const _0x423997=process[_0x61521c(0x133)]['indexOf'](_0x3e8d50['GyNAB']);if(_0x3e8d50[_0x61521c(0x1ca)](_0x423997,-0x1)&&_0x3e8d50[_0x61521c(0x1af)](_0x3e8d50[_0x61521c(0x13a)](_0x423997,0x1),process[_0x61521c(0x133)][_0x61521c(0x1b5)])){const _0x3be84e=process[_0x61521c(0x133)][_0x3e8d50[_0x61521c(0x137)](_0x423997,0x1)];if(_0x3be84e&&!_0x3be84e[_0x61521c(0x190)]('-'))return path[_0x61521c(0x148)](process[_0x61521c(0x178)](),path[_0x61521c(0x177)](_0x3be84e));}}catch(_0x11b48e){}return logger[_0x61521c(0x199)](_0x3e8d50[_0x61521c(0x160)]),_0x3e8d50[_0x61521c(0x15c)];}function resolveCollectionName(_0x531c27){const _0x46d0d0=a39_0x12bea7,_0x3da913={};_0x3da913['sVJTy']=function(_0x44535e,_0x97299){return _0x44535e===_0x97299;},_0x3da913[_0x46d0d0(0x1b7)]=_0x46d0d0(0xf7);const _0x354620=_0x3da913;try{const _0x1b48ab=_0x531c27[_0x46d0d0(0x16e)];if(_0x1b48ab&&_0x354620[_0x46d0d0(0x10d)](typeof _0x1b48ab,_0x354620[_0x46d0d0(0x1b7)]))return _0x1b48ab[_0x46d0d0(0x183)]||_0x1b48ab[_0x46d0d0(0x199)]&&_0x1b48ab[_0x46d0d0(0x199)]['name']||null;}catch(_0x282b07){}return null;}function emitTest(_0xc4c2d5,_0x4be5e5,_0x3f2947,_0x1584b9,_0x4be8fe){const _0x392a28=a39_0x12bea7,_0x251c13={'uZgbw':function(_0x408abf){return _0x408abf();},'sRmzt':_0x392a28(0x1bf),'wsyhX':function(_0x3d23db,_0x331f22){return _0x3d23db(_0x331f22);},'ztngv':_0x392a28(0x134),'RJpvW':_0x392a28(0x1aa),'fgXQv':function(_0x5e07d4,_0x4e45d9){return _0x5e07d4!=_0x4e45d9;},'pctPn':function(_0x5d24b2,_0x16d54e){return _0x5d24b2===_0x16d54e;},'uEfAc':_0x392a28(0x158),'tVTSb':'TestRunFinished'};if(_0x251c13['uZgbw'](isCLIRunning))try{const _0xa5dba7=BrowserstackCLI[_0x392a28(0xe5)]()[_0x392a28(0x104)]();if(!_0xa5dba7)return;_0xa5dba7['trackEvent'](TestFrameworkState[_0x392a28(0x1cc)],_0xc4c2d5,{'test':{'uuid':_0x4be5e5[_0x392a28(0x198)],'name':_0x4be5e5[_0x392a28(0x183)],'scopes':_0x3f2947['scopes'],'scope':_0x3f2947['scopes']['join']('\x20'),'file_path':_0x1584b9,'location':_0x3f2947[_0x392a28(0x1d0)],'started_at':_0x3f2947[_0x392a28(0x15d)],'finished_at':_0x4be8fe['finishedAt']||null,'result':_0x4be8fe['result']||_0x251c13[_0x392a28(0x1d5)],'failure':_0x4be8fe[_0x392a28(0x12b)]||[],'failure_type':_0x4be8fe[_0x392a28(0x195)]||null,'failure_reason':_0x4be8fe[_0x392a28(0x161)]||null,'tags':[],'meta':{},'custom_metadata':{}}});}catch(_0x418fd0){_0x251c13[_0x392a28(0x121)](debug,_0x392a28(0xf6)+_0x418fd0);}else{const _0xd9ecaf={'uuid':_0x4be5e5[_0x392a28(0x198)],'name':_0x4be5e5['name'],'framework':_0x251c13[_0x392a28(0x1c0)],'body':{'lang':_0x251c13[_0x392a28(0x181)],'code':null},'scope':_0x3f2947[_0x392a28(0x13d)][_0x392a28(0x1b4)]('\x20'),'scopes':_0x3f2947['scopes'],'identifier':_0x4be5e5[_0x392a28(0xee)],'file_name':_0x3f2947[_0x392a28(0x1d0)],'vc_filepath':_0x3f2947[_0x392a28(0x156)],'location':_0x3f2947[_0x392a28(0x156)],'started_at':_0x3f2947[_0x392a28(0x15d)],'finished_at':_0x4be8fe[_0x392a28(0x122)]||null,'duration_in_ms':_0x251c13['fgXQv'](_0x4be8fe[_0x392a28(0x196)],null)?Math['max'](0x0,_0x4be8fe[_0x392a28(0x196)]):null,'result':_0x4be8fe[_0x392a28(0x131)]||_0x251c13[_0x392a28(0x1d5)],'failure_reason':_0x4be8fe['failureReason']||null,'failure_type':_0x4be8fe['failureType']||null,'failure':_0x4be8fe[_0x392a28(0x12b)]||[],'retry_of':null,'hooks':[]};_0xd9ecaf[_0x392a28(0x12b)][0x0]&&(_0xd9ecaf[_0x392a28(0xf3)]=_0xd9ecaf[_0x392a28(0x12b)][0x0]['backtrace'],_0xd9ecaf[_0x392a28(0x1d2)]=_0xd9ecaf[_0x392a28(0x12b)][0x0][_0x392a28(0x138)]);const _0x375b07=_0x251c13[_0x392a28(0x114)](_0xc4c2d5,HookState[_0x392a28(0x16f)])?_0x251c13[_0x392a28(0x1c6)]:_0x251c13[_0x392a28(0x125)],_0x39c9e9={};_0x39c9e9[_0x392a28(0x18f)]=_0x375b07,_0x39c9e9[_0x392a28(0xe2)]=_0xd9ecaf,SessionHandler[_0x392a28(0x1d1)](_0x39c9e9);}}function emitLog(_0x16ac07,_0x4cf87c){const _0x518d57=a39_0x12bea7,_0x4ba8c9={'GjLZs':_0x518d57(0x1be),'YQmyj':function(_0xd05e13){return _0xd05e13();},'CSvDJ':function(_0x3227cb,_0x37c127){return _0x3227cb===_0x37c127;},'BAoyq':'HTTP','XWQtC':'newman','ydQln':_0x518d57(0x1cc),'ngPvh':'INFO','vesEf':function(_0x3bf93e,_0x42c375){return _0x3bf93e(_0x42c375);},'lRygr':function(_0x127a96,_0x10f1d2){return _0x127a96+_0x10f1d2;},'pxKAl':_0x518d57(0x115),'cZXFJ':'LogCreated'},_0xb111c=_0x4cf87c[_0x518d57(0x105)]||_0x4ba8c9[_0x518d57(0x110)],_0x4216d0=_0x4cf87c[_0x518d57(0x14b)]||new Date()[_0x518d57(0x17b)]();if(_0x4ba8c9[_0x518d57(0xe6)](isCLIRunning))try{const _0x38ff38=_0x4ba8c9[_0x518d57(0x1d4)](_0xb111c,_0x4ba8c9[_0x518d57(0x12e)])?JSON[_0x518d57(0xeb)](_0x4cf87c):_0x4cf87c['message']||'',_0x4a8914={};_0x4a8914[_0x518d57(0x1ce)]=0x0,_0x4a8914[_0x518d57(0x101)]=_0x4ba8c9[_0x518d57(0x1cb)],_0x4a8914[_0x518d57(0x1b0)]='',_0x4a8914[_0x518d57(0x1c4)]=_0x4ba8c9[_0x518d57(0x141)],_0x4a8914[_0x518d57(0x18b)]=[{'uuid':_0x16ac07,'timestamp':_0x4216d0,'kind':_0xb111c,'level':_0x4cf87c[_0x518d57(0xe9)]||_0x4ba8c9[_0x518d57(0x182)],'message':_0x38ff38}],GrpcClient[_0x518d57(0xe5)]()[_0x518d57(0x1b1)](_0x4a8914);}catch(_0x579c53){_0x4ba8c9[_0x518d57(0x1b8)](debug,_0x4ba8c9[_0x518d57(0x163)](_0x4ba8c9[_0x518d57(0x1bb)],_0x579c53));}else{const _0x30d120={};_0x30d120['test_run_uuid']=_0x16ac07,_0x30d120[_0x518d57(0x14b)]=_0x4216d0,_0x30d120[_0x518d57(0xe9)]=_0x4cf87c[_0x518d57(0xe9)]||null,_0x30d120[_0x518d57(0x14f)]=_0x4cf87c[_0x518d57(0x14f)]||null,_0x30d120[_0x518d57(0x105)]=_0xb111c,_0x30d120['http_response']=_0x4cf87c[_0x518d57(0x155)]||{};const _0x3a0f30={};_0x3a0f30[_0x518d57(0x18f)]=_0x4ba8c9[_0x518d57(0x136)],_0x3a0f30[_0x518d57(0x18b)]=[_0x30d120],SessionHandler[_0x518d57(0x1d1)](_0x3a0f30);}}function a39_0x148d(_0x3f7b0c,_0x3eb1f9){const _0x2071d0=a39_0x2071();return a39_0x148d=function(_0x148d98,_0x147f2c){_0x148d98=_0x148d98-0xdf;let _0x6df42b=_0x2071d0[_0x148d98];return _0x6df42b;},a39_0x148d(_0x3f7b0c,_0x3eb1f9);}function BrowserStackNewmanReporter(_0x3b83cf,_0x1d488e,_0x406d05){const _0xa92da4=a39_0x12bea7,_0x11f427={'FTNfd':function(_0x2e5b6f,_0xb854c4,_0x5adb7b){return _0x2e5b6f(_0xb854c4,_0x5adb7b);},'XBlcQ':function(_0xc95c06,_0x4e2945){return _0xc95c06(_0x4e2945);},'iQSkk':function(_0x244c95,_0x566656){return _0x244c95(_0x566656);},'fRkZM':function(_0x133b77,_0x454f21){return _0x133b77>_0x454f21;},'lCIKV':_0xa92da4(0x168),'OLIbs':function(_0x3d20a4,_0x1ec52b){return _0x3d20a4+_0x1ec52b;},'BjTbJ':'GET','WKLNF':function(_0x1da90d,_0x4734c5){return _0x1da90d(_0x4734c5);},'uGkzu':'TEST_LOG','nWYBj':function(_0x57a71b,_0x3094c7){return _0x57a71b+_0x3094c7;},'ZadvV':function(_0x2866e4){return _0x2866e4();},'nGTLJ':function(_0x41b09f,_0x206359){return _0x41b09f||_0x206359;},'CnukY':function(_0x33e07a,_0x19d609,_0x41da9d,_0x354e5c,_0x25c9b6,_0x3076b7){return _0x33e07a(_0x19d609,_0x41da9d,_0x354e5c,_0x25c9b6,_0x3076b7);},'vpQOH':function(_0x52085c,_0x5944db){return _0x52085c===_0x5944db;},'aCNoP':_0xa92da4(0x1a0),'WwOEw':function(_0x293592,_0x25c67a){return _0x293592+_0x25c67a;},'nPaXg':function(_0x58f49b,_0x2ef903){return _0x58f49b+_0x2ef903;},'YzKRU':function(_0x1ec3e7,_0x1e2ed4){return _0x1ec3e7+_0x1e2ed4;},'RsKxy':function(_0x1a45e6,_0x1c80f3){return _0x1a45e6+_0x1c80f3;},'xlJaM':_0xa92da4(0x19a),'eiWME':'ms)','lBGcU':_0xa92da4(0xf9),'HOawj':function(_0x4cd682,_0x40394d){return _0x4cd682>_0x40394d;},'yTyhS':function(_0x26bb6d,_0x225736){return _0x26bb6d-_0x225736;},'LUvJQ':function(_0x4e1da5,_0x55976a,_0x40d3f4){return _0x4e1da5(_0x55976a,_0x40d3f4);},'hCOpI':function(_0x35c1a8,_0x3fcab4){return _0x35c1a8(_0x3fcab4);},'LXYIq':function(_0x1d1335,_0x1d3c44){return _0x1d1335(_0x1d3c44);},'bzEUm':function(_0x5b818a,_0x400ed3){return _0x5b818a&&_0x400ed3;},'BdmNJ':function(_0x3c4583,_0x1aacd8){return _0x3c4583>_0x1aacd8;},'fqDbJ':function(_0xe87d8a,_0x59931c){return _0xe87d8a-_0x59931c;},'AmDki':function(_0x57dc6e,_0x324aff,_0x4bb30){return _0x57dc6e(_0x324aff,_0x4bb30);},'xgRDg':function(_0x44da0a,_0x3c067e){return _0x44da0a+_0x3c067e;},'TXZyn':'Exception:\x20','svybp':'ERROR','aoRxe':function(_0x5de73b,_0x2c5bd3){return _0x5de73b+_0x2c5bd3;},'GPdQp':_0xa92da4(0x1c7),'JGjgI':function(_0xdb4b3a,_0x3e6f55){return _0xdb4b3a>_0x3e6f55;},'bQmWW':function(_0x12a711,_0x175ee6){return _0x12a711-_0x175ee6;},'GoWuI':_0xa92da4(0x123),'BeTSA':function(_0x1f6989,_0x25f085){return _0x1f6989+_0x25f085;},'MJfTo':_0xa92da4(0x16a),'TjDII':'):\x20','PWzqM':function(_0x28e987,_0x116f31){return _0x28e987+_0x116f31;},'SQCFJ':_0xa92da4(0xf1),'qZZqh':_0xa92da4(0x173),'DGqNg':'passed','rpLEl':function(_0x89289a,_0x5675fa){return _0x89289a===_0x5675fa;},'bAOMo':_0xa92da4(0x145),'qNrMa':_0xa92da4(0x132),'AeCTJ':'UnhandledError','uKFzI':function(_0x35f366,_0x89929d,_0x8bcd30,_0x4c9046,_0xe6ce59,_0x581ee4){return _0x35f366(_0x89929d,_0x8bcd30,_0x4c9046,_0xe6ce59,_0x581ee4);},'JAVQY':function(_0xbfe79,_0x46187e){return _0xbfe79!=_0x46187e;},'OIImp':function(_0x1de786,_0x3b20d0){return _0x1de786>=_0x3b20d0;},'sMsFh':function(_0x5a0a7c,_0x202981){return _0x5a0a7c<_0x202981;},'ZqZFw':_0xa92da4(0x19f),'eyBNv':_0xa92da4(0x1d8),'nAZTT':function(_0x76f2aa,_0x26f86b,_0x42105a){return _0x76f2aa(_0x26f86b,_0x42105a);},'TPTbb':function(_0x4d8748,_0x225bf9){return _0x4d8748+_0x225bf9;},'ECrvr':function(_0x112078,_0x36208e){return _0x112078+_0x36208e;},'njDdJ':function(_0x1aacf0,_0x52adb5){return _0x1aacf0+_0x52adb5;},'SjiYp':function(_0x188890,_0x2d52c7){return _0x188890+_0x2d52c7;},'eMWno':function(_0x198a6d,_0x345fe1){return _0x198a6d+_0x345fe1;},'jdjMh':function(_0x29d70a,_0x1582f3){return _0x29d70a+_0x1582f3;},'vBfUA':function(_0x2f847e,_0x1d1909,_0x426157){return _0x2f847e(_0x1d1909,_0x426157);},'KZGzF':function(_0x49544a,_0x5e468b,_0x388779){return _0x49544a(_0x5e468b,_0x388779);},'pmwAa':'HTTP\x20Status:\x20','fMkBI':_0xa92da4(0x151),'WxbDV':function(_0x2299ee,_0x429390,_0x29f2f2){return _0x2299ee(_0x429390,_0x29f2f2);},'GzLtT':function(_0x3736ca,_0x4f58aa){return _0x3736ca(_0x4f58aa);},'lBtJE':_0xa92da4(0x176),'HOVFh':_0xa92da4(0xf0),'OaAUB':'beforeItem','CiScB':_0xa92da4(0x1da),'KzWgu':_0xa92da4(0x1d7),'ftmBb':_0xa92da4(0x157),'trvrx':_0xa92da4(0x1a5),'zxLsO':_0xa92da4(0x107),'kVrWW':'item'},_0xf9f082=new Map();let _0x46da0d=null,_0x1d0fd0=0x0;const _0x7cf0c4=_0x11f427['WxbDV'](resolveCollectionFile,_0x406d05,_0x1d488e),_0x423d75=_0x11f427[_0xa92da4(0x153)](resolveCollectionName,_0x406d05)||_0x7cf0c4,_0x53b23b=path[_0xa92da4(0x177)](_0x7cf0c4),_0x4b4900=_0xa92da4(0x1ad)+process[_0xa92da4(0x16b)],_0x426600=_0x1a3206=>{const _0x3f323c=_0xa92da4;try{_0x46da0d&&_0x11f427[_0x3f323c(0x159)](emitLog,_0x46da0d,_0x1a3206);}catch(_0x3b60cd){_0x11f427[_0x3f323c(0xf4)](debug,_0x3f323c(0x171)+_0x3b60cd);}};process['on'](_0x4b4900,_0x426600),_0x3b83cf['on'](_0x11f427[_0xa92da4(0x11b)],()=>{const _0x3416c7=_0xa92da4;process[_0x3416c7(0x1b2)](_0x4b4900,_0x426600),_0xf9f082['clear']();}),_0x3b83cf['on'](_0x11f427[_0xa92da4(0x166)],(_0x4489f7,_0x351998)=>{const _0x4632ed=_0xa92da4;_0x351998&&_0x351998['cursor']&&(_0x1d0fd0=_0x351998[_0x4632ed(0x142)][_0x4632ed(0x15a)]||0x0);}),_0x3b83cf['on'](_0x11f427[_0xa92da4(0x154)],(_0x1a4685,_0x233acd)=>{const _0xf3d23c=_0xa92da4;try{_0x46da0d=null;const _0x230fa8=_0x233acd[_0xf3d23c(0x1bd)],_0x2069c2=_0x230fa8[_0xf3d23c(0x1db)]()?_0x11f427[_0xf3d23c(0x15e)](getParentTitles,_0x230fa8[_0xf3d23c(0x1db)]()):[],_0x1de0fc=_0x11f427[_0xf3d23c(0x139)](_0x2069c2[_0xf3d23c(0x1b5)],0x1)?_0x2069c2[_0xf3d23c(0xf2)](0x1):_0x2069c2,_0x4e32ad=_0x233acd['cursor']&&_0x233acd[_0xf3d23c(0x142)][_0xf3d23c(0x13b)],_0x2a005e={'itemName':_0x230fa8[_0xf3d23c(0x183)],'scopes':_0x1de0fc[_0xf3d23c(0x1b9)]([_0x230fa8[_0xf3d23c(0x183)]]),'location':_0x7cf0c4,'collectionName':_0x423d75,'startedAt':new Date()[_0xf3d23c(0x17b)](),'startTimestamp':Date[_0xf3d23c(0x17a)](),'lastResponseCode':null,'httpLog':null,'assertions':[],'bufferedLogs':[]};_0xf9f082[_0xf3d23c(0x180)](_0x230fa8['id']+'_'+_0x1d0fd0,_0x2a005e),_0x4e32ad&&_0xf9f082[_0xf3d23c(0x180)](_0x4e32ad+'_'+_0x1d0fd0,_0x2a005e);}catch(_0x2cb68e){_0x11f427[_0xf3d23c(0xf4)](debug,_0xf3d23c(0x120)+_0x2cb68e);}}),_0x3b83cf['on'](_0x11f427[_0xa92da4(0x16c)],(_0x36e92b,_0x2722be)=>{const _0x4e1dc6=_0xa92da4;try{if(!_0x2722be||!_0x2722be[_0x4e1dc6(0x1bd)])return;const _0x2393ba=_0xf9f082[_0x4e1dc6(0xe3)](_0x2722be[_0x4e1dc6(0x1bd)]['id']+'_'+_0x1d0fd0);if(!_0x2393ba)return;_0x2722be[_0x4e1dc6(0x152)]&&(_0x2393ba[_0x4e1dc6(0x147)]=_0x2722be[_0x4e1dc6(0x152)]['code']||null);if(!_0x2722be[_0x4e1dc6(0x1da)])return;let _0x5289d3='',_0x2101bc='';if(_0x2722be[_0x4e1dc6(0x1da)][_0x4e1dc6(0x19b)])try{const _0x37a622=_0x2722be[_0x4e1dc6(0x1da)][_0x4e1dc6(0x19b)][_0x4e1dc6(0x18e)](),_0x5c912a=new URL(_0x37a622[_0x4e1dc6(0x190)](_0x11f427[_0x4e1dc6(0xf5)])?_0x37a622:'http://'+_0x37a622);_0x5289d3=_0x5c912a[_0x4e1dc6(0x10e)],_0x2101bc=_0x11f427['OLIbs'](_0x5c912a[_0x4e1dc6(0x119)],_0x5c912a[_0x4e1dc6(0x18c)]);}catch(_0x489843){_0x2101bc=_0x2722be['request']['url'][_0x4e1dc6(0x18e)]();}const _0x4e9348={};_0x4e9348['host']=_0x5289d3,_0x4e9348[_0x4e1dc6(0x18a)]=_0x2101bc,_0x4e9348[_0x4e1dc6(0x164)]=_0x2722be['request'][_0x4e1dc6(0x164)]||_0x11f427[_0x4e1dc6(0x111)],_0x4e9348[_0x4e1dc6(0x15b)]={},_0x4e9348[_0x4e1dc6(0x1d3)]=_0x2722be[_0x4e1dc6(0x152)]?_0x2722be['response']['code']||0x0:0x0,_0x4e9348[_0x4e1dc6(0x15f)]=_0x2722be[_0x4e1dc6(0x152)]?_0x2722be[_0x4e1dc6(0x152)][_0x4e1dc6(0x150)]||0x0:0x0,_0x2393ba['httpLog']=_0x4e9348;}catch(_0x246fea){_0x11f427[_0x4e1dc6(0x1ac)](debug,_0x4e1dc6(0x197)+_0x246fea);}}),_0x3b83cf['on'](_0x11f427[_0xa92da4(0x1a9)],(_0x50ee9c,_0x3108c3)=>{const _0x40f6b5=_0xa92da4;try{if(!_0x3108c3||!_0x3108c3[_0x40f6b5(0x1bd)])return;const _0x533335=_0xf9f082[_0x40f6b5(0xe3)](_0x3108c3[_0x40f6b5(0x1bd)]['id']+'_'+_0x1d0fd0);if(!_0x533335)return;const _0x3396c3=_0x3108c3[_0x40f6b5(0x1d7)]||_0x40f6b5(0x19c)+_0x11f427['nWYBj'](_0x533335[_0x40f6b5(0x1ae)][_0x40f6b5(0x1b5)],0x1),_0x295133=_0x11f427[_0x40f6b5(0x189)](uuidv4),_0x33cc48=_0x533335['scopes'][_0x40f6b5(0x1b9)]([_0x3396c3])['join']('\x20');_0x533335[_0x40f6b5(0x1ae)]['push']({'uuid':_0x295133,'name':_0x3396c3,'identifier':_0x33cc48,'err':_0x11f427[_0x40f6b5(0x1a2)](_0x50ee9c,null)});const _0x31266b={};_0x31266b[_0x40f6b5(0x198)]=_0x295133,_0x31266b[_0x40f6b5(0x183)]=_0x3396c3,_0x31266b[_0x40f6b5(0xee)]=_0x33cc48,_0x11f427[_0x40f6b5(0x1a8)](emitTest,HookState[_0x40f6b5(0x16f)],_0x31266b,_0x533335,_0x53b23b,{});_0x11f427[_0x40f6b5(0x11d)](_0x533335[_0x40f6b5(0x1ae)][_0x40f6b5(0x1b5)],0x1)&&_0x11f427[_0x40f6b5(0x139)](_0x533335[_0x40f6b5(0x1b6)]['length'],0x0)&&(_0x533335['bufferedLogs'][_0x40f6b5(0x143)](_0xce0f11=>{const _0x5ba99b=_0x40f6b5;_0x11f427[_0x5ba99b(0x159)](emitLog,_0x295133,{'kind':_0x11f427[_0x5ba99b(0x10a)],'message':_0xce0f11[_0x5ba99b(0x14f)],'level':_0xce0f11[_0x5ba99b(0xe9)]});}),_0x533335[_0x40f6b5(0x1b6)]=[]);if(_0x533335[_0x40f6b5(0x187)]){_0x11f427['FTNfd'](emitLog,_0x295133,{'kind':_0x11f427[_0x40f6b5(0x10c)],'http_response':_0x533335['httpLog']});const _0x4d7b4f=_0x11f427[_0x40f6b5(0x1c8)](_0x11f427[_0x40f6b5(0x1c8)](_0x11f427[_0x40f6b5(0x1c5)](_0x11f427[_0x40f6b5(0x186)](_0x11f427[_0x40f6b5(0x1c5)](_0x11f427['nWYBj'](_0x11f427[_0x40f6b5(0x103)](_0x11f427[_0x40f6b5(0x186)](_0x533335[_0x40f6b5(0x187)]['method']||_0x11f427[_0x40f6b5(0x111)],'\x20'),_0x533335[_0x40f6b5(0x187)]['host']),_0x533335[_0x40f6b5(0x187)][_0x40f6b5(0x18a)]),_0x11f427[_0x40f6b5(0xfd)]),_0x533335[_0x40f6b5(0x187)][_0x40f6b5(0x1d3)]),'\x20('),_0x533335[_0x40f6b5(0x187)][_0x40f6b5(0x15f)]),_0x11f427[_0x40f6b5(0x144)]);_0x11f427[_0x40f6b5(0x159)](emitLog,_0x295133,{'kind':_0x11f427[_0x40f6b5(0x10a)],'message':_0x4d7b4f,'level':_0x11f427[_0x40f6b5(0x179)]});}_0x46da0d=_0x295133;}catch(_0x55e9c2){_0x11f427['iQSkk'](debug,_0x40f6b5(0x1c1)+_0x55e9c2);}}),_0x3b83cf['on'](_0x11f427[_0xa92da4(0x135)],(_0x2ffcb7,_0xd95e92)=>{const _0x21c71e=_0xa92da4;try{if(!_0xd95e92)return;let _0x52508b=_0x46da0d;if(!_0x52508b&&_0xd95e92[_0x21c71e(0x142)]&&_0xd95e92[_0x21c71e(0x142)][_0x21c71e(0x13b)]){const _0x9578ba=_0xf9f082[_0x21c71e(0xe3)](_0xd95e92[_0x21c71e(0x142)][_0x21c71e(0x13b)]+'_'+_0x1d0fd0);_0x9578ba&&_0x11f427[_0x21c71e(0x130)](_0x9578ba[_0x21c71e(0x1ae)][_0x21c71e(0x1b5)],0x0)&&(_0x52508b=_0x9578ba[_0x21c71e(0x1ae)][_0x11f427[_0x21c71e(0x129)](_0x9578ba[_0x21c71e(0x1ae)][_0x21c71e(0x1b5)],0x1)][_0x21c71e(0x198)]);}const _0x4dddfa=_0xd95e92['messages']?_0xd95e92[_0x21c71e(0x17d)][_0x21c71e(0x1b4)](',\x20'):'';if(_0x52508b)_0x11f427[_0x21c71e(0x1ba)](emitLog,_0x52508b,{'kind':_0x11f427[_0x21c71e(0x10a)],'message':_0x4dddfa,'level':_0x11f427[_0x21c71e(0x1ac)](normalizeLogLevel,_0xd95e92[_0x21c71e(0xe9)])});else{if(_0xd95e92[_0x21c71e(0x142)]&&_0xd95e92[_0x21c71e(0x142)]['ref']){const _0x11d1ac=_0xf9f082[_0x21c71e(0xe3)](_0xd95e92[_0x21c71e(0x142)][_0x21c71e(0x13b)]+'_'+_0x1d0fd0);_0x11d1ac&&_0x11d1ac[_0x21c71e(0x1b6)]['push']({'timestamp':new Date()[_0x21c71e(0x17b)](),'level':_0x11f427[_0x21c71e(0x184)](normalizeLogLevel,_0xd95e92[_0x21c71e(0xe9)]),'message':_0x4dddfa});}}}catch(_0x391f59){_0x11f427[_0x21c71e(0x17e)](debug,'[Newman\x20Reporter]\x20Error\x20in\x20console:\x20'+_0x391f59);}}),_0x3b83cf['on'](_0x11f427['trvrx'],(_0x3fad0a,_0x18e466)=>{const _0x3c5b3a=_0xa92da4;try{if(!_0x3fad0a&&(!_0x18e466||!_0x18e466[_0x3c5b3a(0x126)]))return;const _0x13d024=_0x3fad0a||_0x18e466[_0x3c5b3a(0x126)],_0x380847=_0x13d024['message']||_0x11f427['XBlcQ'](String,_0x13d024),_0x610fe=_0x13d024['stack']||_0x380847;let _0x18fb69=_0x46da0d;if(_0x11f427[_0x3c5b3a(0xe4)](!_0x18fb69,_0x18e466)&&_0x18e466[_0x3c5b3a(0x142)]&&_0x18e466[_0x3c5b3a(0x142)][_0x3c5b3a(0x13b)]){const _0x5ca13e=_0xf9f082[_0x3c5b3a(0xe3)](_0x18e466[_0x3c5b3a(0x142)][_0x3c5b3a(0x13b)]+'_'+_0x1d0fd0);_0x5ca13e&&_0x11f427['BdmNJ'](_0x5ca13e['assertions'][_0x3c5b3a(0x1b5)],0x0)&&(_0x18fb69=_0x5ca13e['assertions'][_0x11f427['fqDbJ'](_0x5ca13e['assertions'][_0x3c5b3a(0x1b5)],0x1)][_0x3c5b3a(0x198)]);}_0x18fb69&&_0x11f427['AmDki'](emitLog,_0x18fb69,{'kind':_0x11f427[_0x3c5b3a(0x10a)],'message':_0x11f427[_0x3c5b3a(0xdf)](_0x11f427[_0x3c5b3a(0x14c)],_0x610fe),'level':_0x11f427[_0x3c5b3a(0x17c)]});}catch(_0x1ecbef){_0x11f427[_0x3c5b3a(0x17e)](debug,_0x11f427[_0x3c5b3a(0x1bc)](_0x11f427[_0x3c5b3a(0x1c2)],_0x1ecbef));}}),_0x3b83cf['on'](_0x11f427['zxLsO'],(_0x139720,_0x6e3ade)=>{const _0x3a3617=_0xa92da4;try{if(!_0x6e3ade||!_0x6e3ade['execution'])return;let _0x402a84=_0x46da0d;if(!_0x402a84&&_0x6e3ade[_0x3a3617(0x142)]&&_0x6e3ade[_0x3a3617(0x142)][_0x3a3617(0x13b)]){const _0x1b684e=_0xf9f082[_0x3a3617(0xe3)](_0x6e3ade['cursor'][_0x3a3617(0x13b)]+'_'+_0x1d0fd0);_0x1b684e&&_0x11f427[_0x3a3617(0x12f)](_0x1b684e[_0x3a3617(0x1ae)][_0x3a3617(0x1b5)],0x0)&&(_0x402a84=_0x1b684e[_0x3a3617(0x1ae)][_0x11f427[_0x3a3617(0x108)](_0x1b684e['assertions'][_0x3a3617(0x1b5)],0x1)]['uuid']);}if(!_0x402a84)return;const _0x9949b5=_0x6e3ade[_0x3a3617(0x11a)]&&_0x6e3ade[_0x3a3617(0x11a)][_0x3a3617(0x127)]||_0x11f427[_0x3a3617(0x118)];_0x139720&&_0x11f427[_0x3a3617(0x1c9)](emitLog,_0x402a84,{'kind':_0x11f427[_0x3a3617(0x10a)],'message':_0x11f427[_0x3a3617(0x140)](_0x11f427[_0x3a3617(0x170)](_0x11f427[_0x3a3617(0x186)](_0x11f427['MJfTo'],_0x9949b5),_0x11f427['TjDII']),_0x139720[_0x3a3617(0x14f)]||_0x139720),'level':_0x11f427[_0x3a3617(0x17c)]});}catch(_0x898760){_0x11f427[_0x3a3617(0xf4)](debug,_0x11f427[_0x3a3617(0x117)](_0x11f427[_0x3a3617(0x128)],_0x898760));}}),_0x3b83cf['on'](_0x11f427[_0xa92da4(0x1d9)],(_0x56f6df,_0x1bc6ce)=>{const _0x1e287e=_0xa92da4,_0x3f2bef={'nLywn':function(_0xfeb4a1,_0xb55f61,_0x77e3f7){const _0x77171=a39_0x148d;return _0x11f427[_0x77171(0x1ba)](_0xfeb4a1,_0xb55f61,_0x77e3f7);},'ZeOei':_0x11f427[_0x1e287e(0x10a)]};try{if(!_0x1bc6ce||!_0x1bc6ce[_0x1e287e(0x1bd)])return;const _0x5367c3=_0x1bc6ce['item']['id']+'_'+_0x1d0fd0,_0x209c79=_0xf9f082['get'](_0x5367c3);if(!_0x209c79)return;const _0x50cc29=new Date(),_0x267455=_0x11f427['fqDbJ'](_0x50cc29[_0x1e287e(0x112)](),_0x209c79[_0x1e287e(0x1a4)]);if(_0x11f427[_0x1e287e(0x12c)](_0x209c79[_0x1e287e(0x1ae)][_0x1e287e(0x1b5)],0x0))_0x209c79[_0x1e287e(0x1ae)][_0x1e287e(0x143)](_0xa239e1=>{const _0xc0ebdd=_0x1e287e,_0x397bad=!!_0xa239e1['err'],_0xc8507={'finishedAt':_0x50cc29[_0xc0ebdd(0x17b)](),'durationMs':_0x267455,'result':_0x397bad?_0x11f427[_0xc0ebdd(0x146)]:_0x11f427['DGqNg']};_0x397bad&&(_0xc8507[_0xc0ebdd(0x161)]=_0xa239e1[_0xc0ebdd(0x100)][_0xc0ebdd(0x14f)]||'',_0xc8507[_0xc0ebdd(0x195)]=_0x11f427['rpLEl'](_0xa239e1[_0xc0ebdd(0x100)][_0xc0ebdd(0x183)],_0x11f427['bAOMo'])||_0xa239e1[_0xc0ebdd(0x100)]['message']&&_0xa239e1['err'][_0xc0ebdd(0x14f)][_0xc0ebdd(0xef)](_0x11f427[_0xc0ebdd(0x113)])?_0x11f427['bAOMo']:_0x11f427[_0xc0ebdd(0x13f)],_0xc8507['failure']=[{'backtrace':_0xa239e1[_0xc0ebdd(0x100)]['stack']?_0xa239e1[_0xc0ebdd(0x100)]['stack'][_0xc0ebdd(0x10f)]('\x0a'):[_0xa239e1['err'][_0xc0ebdd(0x14f)]||''],'expanded':[]}]),_0x11f427[_0xc0ebdd(0x192)](emitTest,HookState[_0xc0ebdd(0x13c)],_0xa239e1,_0x209c79,_0x53b23b,_0xc8507);});else{const _0x24870f=_0x11f427[_0x1e287e(0x189)](uuidv4),_0x1d5e49=_0x209c79[_0x1e287e(0x147)],_0x229405=_0x11f427[_0x1e287e(0x11c)](_0x1d5e49,null)&&_0x11f427[_0x1e287e(0x188)](_0x1d5e49,0xc8)&&_0x11f427[_0x1e287e(0x14d)](_0x1d5e49,0x190),_0x3162d4=_0x209c79[_0x1e287e(0x162)]+_0x1e287e(0x1ab)+_0x11f427['nGTLJ'](_0x1d5e49,_0x11f427['ZqZFw'])+')',_0x5c5fe2={'uuid':_0x24870f,'name':_0x3162d4,'identifier':_0x209c79[_0x1e287e(0x13d)][_0x1e287e(0x1b9)]([_0x3162d4])[_0x1e287e(0x1b4)]('\x20')},_0x1a1b1a={'finishedAt':_0x50cc29[_0x1e287e(0x17b)](),'durationMs':_0x267455,'result':_0x229405?_0x11f427[_0x1e287e(0x167)]:_0x11f427[_0x1e287e(0x146)]};!_0x229405&&(_0x1a1b1a[_0x1e287e(0x161)]=_0x11f427['JAVQY'](_0x1d5e49,null)?_0x1e287e(0xec)+_0x1d5e49+_0x1e287e(0xfe):_0x11f427[_0x1e287e(0x1d6)],_0x1a1b1a[_0x1e287e(0x195)]=_0x11f427[_0x1e287e(0x13f)],_0x1a1b1a[_0x1e287e(0x12b)]=[{'backtrace':[_0x1a1b1a[_0x1e287e(0x161)]],'expanded':[]}]);_0x11f427[_0x1e287e(0x192)](emitTest,HookState[_0x1e287e(0x16f)],_0x5c5fe2,_0x209c79,_0x53b23b,{}),_0x209c79[_0x1e287e(0x1b6)][_0x1e287e(0x143)](_0x54c78d=>{const _0x20b0ec=_0x1e287e;_0x3f2bef[_0x20b0ec(0x19e)](emitLog,_0x24870f,{'kind':_0x3f2bef['ZeOei'],'message':_0x54c78d['message'],'level':_0x54c78d['level']});});if(_0x209c79[_0x1e287e(0x187)]){_0x11f427['nAZTT'](emitLog,_0x24870f,{'kind':_0x11f427['aCNoP'],'http_response':_0x209c79['httpLog']});const _0x2d2d07=_0x11f427[_0x1e287e(0x1cf)](_0x11f427[_0x1e287e(0x172)](_0x11f427[_0x1e287e(0x16d)](_0x11f427[_0x1e287e(0x1cd)](_0x11f427[_0x1e287e(0x1c5)](_0x11f427[_0x1e287e(0x10b)](_0x11f427['jdjMh'](_0x11f427[_0x1e287e(0x117)](_0x209c79[_0x1e287e(0x187)][_0x1e287e(0x164)]||_0x11f427[_0x1e287e(0x111)],'\x20'),_0x209c79[_0x1e287e(0x187)][_0x1e287e(0xe0)]),_0x209c79[_0x1e287e(0x187)]['path']),_0x11f427[_0x1e287e(0xfd)]),_0x209c79[_0x1e287e(0x187)][_0x1e287e(0x1d3)]),'\x20('),_0x209c79[_0x1e287e(0x187)][_0x1e287e(0x15f)]),_0x11f427[_0x1e287e(0x144)]);_0x11f427['vBfUA'](emitLog,_0x24870f,{'kind':_0x11f427['uGkzu'],'message':_0x2d2d07,'level':_0x11f427[_0x1e287e(0x179)]});}else _0x11f427['KZGzF'](emitLog,_0x24870f,{'kind':_0x11f427[_0x1e287e(0x10a)],'message':_0x11f427[_0x1e287e(0xdf)](_0x11f427['PWzqM'](_0x11f427[_0x1e287e(0x102)],_0x11f427[_0x1e287e(0x1a2)](_0x1d5e49,_0x11f427[_0x1e287e(0x165)])),_0x11f427['fMkBI']),'level':_0x11f427['lBGcU']});_0x11f427[_0x1e287e(0x192)](emitTest,HookState[_0x1e287e(0x13c)],_0x5c5fe2,_0x209c79,_0x53b23b,_0x1a1b1a);}_0xf9f082[_0x1e287e(0xf8)](_0x5367c3),_0x1bc6ce['cursor']&&_0x1bc6ce[_0x1e287e(0x142)]['ref']&&_0xf9f082[_0x1e287e(0xf8)](_0x1bc6ce[_0x1e287e(0x142)]['ref']+'_'+_0x1d0fd0);}catch(_0x1e190c){_0x11f427[_0x1e287e(0x184)](debug,_0x1e287e(0x109)+_0x1e190c);}});}module[a39_0x12bea7(0x14e)]=BrowserStackNewmanReporter;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a40_0x482a(_0x39ecc7,_0x203f49){const _0x279eb4=a40_0x279e();return a40_0x482a=function(_0x482aad,_0x234ac0){_0x482aad=_0x482aad-0xb4;let _0x5c093d=_0x279eb4[_0x482aad];return _0x5c093d;},a40_0x482a(_0x39ecc7,_0x203f49);}const a40_0x13a5b9=a40_0x482a;(function(_0x4f0dc0,_0x1cd98a){const _0x4fd798=a40_0x482a,_0x17dbb8=_0x4f0dc0();while(!![]){try{const _0x15c0d8=-parseInt(_0x4fd798(0xc1))/0x1*(-parseInt(_0x4fd798(0xf3))/0x2)+-parseInt(_0x4fd798(0xf0))/0x3+parseInt(_0x4fd798(0xb6))/0x4*(parseInt(_0x4fd798(0xcf))/0x5)+parseInt(_0x4fd798(0xde))/0x6+parseInt(_0x4fd798(0xc9))/0x7+-parseInt(_0x4fd798(0xc2))/0x8*(parseInt(_0x4fd798(0xdb))/0x9)+-parseInt(_0x4fd798(0xc8))/0xa*(parseInt(_0x4fd798(0xe8))/0xb);if(_0x15c0d8===_0x1cd98a)break;else _0x17dbb8['push'](_0x17dbb8['shift']());}catch(_0x1eb33e){_0x17dbb8['push'](_0x17dbb8['shift']());}}}(a40_0x279e,0xab07b));const path=require(a40_0x13a5b9(0xc5)),Module=require(a40_0x13a5b9(0xf1)),BrowserstackCLI=require('../v2/browserstackCLI'),scriptFile=process['argv'][0x2],maxParallel=parseInt(process[a40_0x13a5b9(0xef)][0x3])||0x0;!scriptFile&&(process['stderr']['write'](a40_0x13a5b9(0xda)),process[a40_0x13a5b9(0xcc)](0x1));const reporterPath=path[a40_0x13a5b9(0xeb)](__dirname,'reporter',a40_0x13a5b9(0xd0)),originalResolveFilename=Module['_resolveFilename'];Module[a40_0x13a5b9(0xba)]=function(_0x2a8f40,_0x40dff8,_0x3852e2,_0x154430){const _0x28763b=a40_0x13a5b9,_0x28274d={};_0x28274d[_0x28763b(0xd7)]=function(_0x1fbc62,_0x47b71a){return _0x1fbc62===_0x47b71a;},_0x28274d[_0x28763b(0xcd)]='newman-reporter-browserstack';const _0x3f5f42=_0x28274d;if(_0x3f5f42['EFJQy'](_0x2a8f40,_0x3f5f42[_0x28763b(0xcd)]))return reporterPath;return originalResolveFilename[_0x28763b(0xc4)](this,_0x2a8f40,_0x40dff8,_0x3852e2,_0x154430);};function a40_0x279e(){const _0xdc928f=['VEwkM','17959KrTNiE','10014040howTfH','failures','call','path','string','lBnXF','3471740vCLZwr','4320988wCoEMl','assign','reporter','exit','dRQCN','wjPif','280940jsJshW','index.js','MSigT','RhbrR','collectionPath','message','pUgfX','Fkwdn','EFJQy','xhAhv','_load','[Newman]\x20scriptRunner:\x20no\x20script\x20file\x20provided\x0a','9VpfGtR','cli','dQeWL','6500442yrVxQn','concat','bind','resolve','error','jDHxx','oMkSZ','write','collection','buDjg','11RpxYtQ','XToas','[Newman]\x20scriptRunner:\x20failed\x20to\x20load\x20script:\x20','join','stderr','eoAZQ','browserstack','argv','2200674NyWoLE','module','length','42kYKEKo','getInstance','exitCode','68hbjYQg','reporters','xyIcm','newman','_resolveFilename','p-limit','oYJmM','SDYjS','run','indexOf'];a40_0x279e=function(){return _0xdc928f;};return a40_0x279e();}let limit;try{const pLimit=require(a40_0x13a5b9(0xbb)),concurrency=maxParallel&&maxParallel>0x0?maxParallel:Infinity;limit=pLimit(concurrency);}catch(a40_0xc028dc){limit=function(_0x14deed){const _0x53e74c=a40_0x13a5b9,_0x198523={'wjPif':function(_0x504146){return _0x504146();}};return _0x198523[_0x53e74c(0xce)](_0x14deed);};}let wrappedNewman=null,hasFailure=![];const originalLoad=Module[a40_0x13a5b9(0xd9)];Module[a40_0x13a5b9(0xd9)]=function(_0x29758d,_0xffa1e2,_0x2e2c6d){const _0x571d76=a40_0x13a5b9,_0x4b65ac={'VEwkM':function(_0x2330e6,_0x859470){return _0x2330e6>_0x859470;},'buDjg':function(_0x5f24ec,_0xf87e9d){return _0x5f24ec||_0xf87e9d;},'Fkwdn':function(_0x3430d2,_0x39c4c1,_0x493199){return _0x3430d2(_0x39c4c1,_0x493199);},'oYJmM':function(_0x30dea2,_0x5389fb){return _0x30dea2(_0x5389fb);},'RgvvX':_0x571d76(0xdc),'SDYjS':function(_0x2bc2e7,_0x1ed427){return _0x2bc2e7===_0x1ed427;},'eoAZQ':'browserstack','dQeWL':_0x571d76(0xc6),'rxSFj':function(_0xabe439,_0x27e14c){return _0xabe439!==_0x27e14c;},'oMkSZ':_0x571d76(0xb9)},_0x48bd26=originalLoad['call'](this,_0x29758d,_0xffa1e2,_0x2e2c6d);if(_0x4b65ac['rxSFj'](_0x29758d,_0x4b65ac[_0x571d76(0xe4)]))return _0x48bd26;if(wrappedNewman)return wrappedNewman;const _0x5d129a=_0x48bd26['run'][_0x571d76(0xe0)](_0x48bd26);return wrappedNewman=Object['create'](_0x48bd26),wrappedNewman[_0x571d76(0xbe)]=function(_0x3d5f2f,_0x18f04e){const _0x3f9e7d=_0x571d76,_0x5234e2={'xhAhv':function(_0x47ff06,_0x5b7c80){const _0x55a298=a40_0x482a;return _0x4b65ac[_0x55a298(0xc0)](_0x47ff06,_0x5b7c80);},'JbNac':function(_0x212585,_0x511bfa){const _0x900d6=a40_0x482a;return _0x4b65ac[_0x900d6(0xe7)](_0x212585,_0x511bfa);},'lBnXF':function(_0x24dfb7,_0x492f35,_0x76140a){const _0x192141=a40_0x482a;return _0x4b65ac[_0x192141(0xd6)](_0x24dfb7,_0x492f35,_0x76140a);},'pUgfX':function(_0x43fb38,_0x221db9){const _0x183d4f=a40_0x482a;return _0x4b65ac[_0x183d4f(0xbc)](_0x43fb38,_0x221db9);}};let _0xfab45b=_0x3d5f2f[_0x3f9e7d(0xb7)]||[_0x4b65ac['RgvvX']];_0x4b65ac[_0x3f9e7d(0xbd)](_0xfab45b[_0x3f9e7d(0xbf)](_0x4b65ac[_0x3f9e7d(0xed)]),-0x1)&&(_0xfab45b=_0xfab45b[_0x3f9e7d(0xdf)]([_0x4b65ac[_0x3f9e7d(0xed)]]));const _0x38346c=_0x4b65ac[_0x3f9e7d(0xbd)](typeof _0x3d5f2f[_0x3f9e7d(0xe6)],_0x4b65ac[_0x3f9e7d(0xdd)])?_0x3d5f2f[_0x3f9e7d(0xe6)]:undefined,_0xda934c={};_0xda934c[_0x3f9e7d(0xd3)]=_0x38346c;const _0x529a9d=Object[_0x3f9e7d(0xca)]({},_0x3d5f2f[_0x3f9e7d(0xcb)],{'browserstack':Object[_0x3f9e7d(0xca)]({},_0x3d5f2f[_0x3f9e7d(0xcb)]&&_0x3d5f2f[_0x3f9e7d(0xcb)][_0x3f9e7d(0xee)],_0xda934c)}),_0xb33ec7={};return _0xb33ec7[_0x3f9e7d(0xb7)]=_0xfab45b,_0xb33ec7[_0x3f9e7d(0xcb)]=_0x529a9d,_0x3d5f2f=Object[_0x3f9e7d(0xca)]({},_0x3d5f2f,_0xb33ec7),_0x4b65ac[_0x3f9e7d(0xbc)](limit,function(){const _0x413ae1={'jDHxx':function(_0x434dd8,_0x41298a){const _0x48a1f7=a40_0x482a;return _0x5234e2[_0x48a1f7(0xd8)](_0x434dd8,_0x41298a);},'iIyaR':function(_0x5d2ae3,_0x9e47f4){return _0x5234e2['JbNac'](_0x5d2ae3,_0x9e47f4);},'XToas':function(_0x316f33,_0x123c83,_0x2899da){const _0x48935a=a40_0x482a;return _0x5234e2[_0x48935a(0xc7)](_0x316f33,_0x123c83,_0x2899da);},'NThtE':function(_0x3c44db,_0x11dd1e){const _0x58b2de=a40_0x482a;return _0x5234e2[_0x58b2de(0xd5)](_0x3c44db,_0x11dd1e);}};return new Promise(function(_0x40e12d){_0x413ae1['XToas'](_0x5d129a,_0x3d5f2f,function(_0x26e719,_0x1db9f9){const _0x353c9c=a40_0x482a,_0x55cdf7=_0x1db9f9&&_0x1db9f9[_0x353c9c(0xbe)]&&(_0x1db9f9[_0x353c9c(0xbe)][_0x353c9c(0xe2)]||_0x1db9f9[_0x353c9c(0xbe)][_0x353c9c(0xc3)]&&_0x413ae1[_0x353c9c(0xe3)](_0x1db9f9[_0x353c9c(0xbe)][_0x353c9c(0xc3)][_0x353c9c(0xf2)],0x0));_0x413ae1['iIyaR'](_0x55cdf7,_0x26e719)&&(hasFailure=!![]),_0x18f04e&&_0x413ae1[_0x353c9c(0xe9)](_0x18f04e,_0x26e719,_0x1db9f9),_0x413ae1['NThtE'](_0x40e12d,_0x1db9f9);});});});},wrappedNewman;};async function main(){const _0x5c1c7b=a40_0x13a5b9,_0x162f4a={'jSfao':function(_0x28260b,_0x118fc4){return _0x28260b(_0x118fc4);},'MSigT':function(_0x1f2f42,_0x5c114d){return _0x1f2f42+_0x5c114d;},'RhbrR':_0x5c1c7b(0xea)};try{await BrowserstackCLI[_0x5c1c7b(0xb4)]()['bootstrap']();}catch(_0x1e95a2){}try{_0x162f4a['jSfao'](require,path[_0x5c1c7b(0xe1)](scriptFile));}catch(_0x203b66){process[_0x5c1c7b(0xec)][_0x5c1c7b(0xe5)](_0x162f4a[_0x5c1c7b(0xd1)](_0x162f4a[_0x5c1c7b(0xd1)](_0x162f4a[_0x5c1c7b(0xd2)],_0x203b66[_0x5c1c7b(0xd4)]||_0x203b66),'\x0a')),process[_0x5c1c7b(0xb5)]=0x1;}}main(),process['on']('beforeExit',function(){const _0x3c7e92=a40_0x13a5b9;hasFailure&&(process[_0x3c7e92(0xb5)]=0x1);}),process['on'](a40_0x13a5b9(0xcc),function(){const _0x6fb629=a40_0x13a5b9,_0x313a9b={};_0x313a9b[_0x6fb629(0xb8)]=function(_0x18cf2e,_0xdb8747){return _0x18cf2e===_0xdb8747;};const _0xb2c115=_0x313a9b;hasFailure&&_0xb2c115['xyIcm'](process[_0x6fb629(0xb5)],0x0)&&(process[_0x6fb629(0xb5)]=0x1);});
2
+ 'use strict';function a40_0x3a62(){const _0x37e508=['gMdTY','reporter','ktbWF','twWgg','browserstack','concat','218338HsvWax','mbxnd','collectionPath','message','UYHie','AmMTN','_load','module','cli','create','2001600oLuQhX','aMIdZ','jtRUh','newman','2860716HLpCZp','xUwTG','BprhB','resolve','3zxNMUK','stderr','6ljTIbU','NfRMn','NhXaq','739940ZBiiVX','wbnRm','assign','beforeExit','AsuKU','exit','77823XbXcKG','5503141ITKMxn','460zEJdPl','CjgOv','length','skzuz','kfzOs','error','exitCode','LyhHU','run','bind','gKjyD','path','write','collection','mPcgx','vOMLy','uDJEo','indexOf','7379296BEpSvf','call','p-limit','failures','getInstance','pHFmz','PNXTo'];a40_0x3a62=function(){return _0x37e508;};return a40_0x3a62();}const a40_0x342dd9=a40_0x37e1;(function(_0x297a8a,_0x44de0c){const _0x5a9315=a40_0x37e1,_0x43c476=_0x297a8a();while(!![]){try{const _0x579571=parseInt(_0x5a9315(0x1d8))/0x1*(parseInt(_0x5a9315(0x1c6))/0x2)+-parseInt(_0x5a9315(0x1d4))/0x3+parseInt(_0x5a9315(0x1d0))/0x4+parseInt(_0x5a9315(0x1dd))/0x5*(parseInt(_0x5a9315(0x1da))/0x6)+-parseInt(_0x5a9315(0x1e4))/0x7+parseInt(_0x5a9315(0x1b9))/0x8+-parseInt(_0x5a9315(0x1e3))/0x9*(-parseInt(_0x5a9315(0x1e5))/0xa);if(_0x579571===_0x44de0c)break;else _0x43c476['push'](_0x43c476['shift']());}catch(_0x2b0aae){_0x43c476['push'](_0x43c476['shift']());}}}(a40_0x3a62,0x87d2e));const path=require(a40_0x342dd9(0x1b2)),Module=require(a40_0x342dd9(0x1cd)),BrowserstackCLI=require('../v2/browserstackCLI'),scriptFile=process['argv'][0x2],maxParallel=parseInt(process['argv'][0x3])||0x0;!scriptFile&&(process[a40_0x342dd9(0x1d9)][a40_0x342dd9(0x1b3)]('[Newman]\x20scriptRunner:\x20no\x20script\x20file\x20provided\x0a'),process[a40_0x342dd9(0x1e2)](0x1));const reporterPath=path['join'](__dirname,a40_0x342dd9(0x1c1),'index.js'),originalResolveFilename=Module['_resolveFilename'];Module['_resolveFilename']=function(_0xbb8749,_0x45c7a1,_0x4cc65e,_0x5cd14e){const _0x378b6a=a40_0x342dd9,_0x18e899={};_0x18e899['kfzOs']=function(_0x559166,_0x1a20b8){return _0x559166===_0x1a20b8;},_0x18e899[_0x378b6a(0x1b1)]='newman-reporter-browserstack';const _0x29fc0c=_0x18e899;if(_0x29fc0c[_0x378b6a(0x1ab)](_0xbb8749,_0x29fc0c[_0x378b6a(0x1b1)]))return reporterPath;return originalResolveFilename['call'](this,_0xbb8749,_0x45c7a1,_0x4cc65e,_0x5cd14e);};let limit;try{const pLimit=require(a40_0x342dd9(0x1bb)),concurrency=maxParallel&&maxParallel>0x0?maxParallel:Infinity;limit=pLimit(concurrency);}catch(a40_0x4c2e7d){limit=function(_0x12d827){const _0xa1c73c=a40_0x342dd9,_0x2d1325={'NhXaq':function(_0x275f89){return _0x275f89();}};return _0x2d1325[_0xa1c73c(0x1dc)](_0x12d827);};}function a40_0x37e1(_0x5242c8,_0x5a7e34){const _0x3a6232=a40_0x3a62();return a40_0x37e1=function(_0x37e1cc,_0x331bde){_0x37e1cc=_0x37e1cc-0x1a9;let _0x3de02a=_0x3a6232[_0x37e1cc];return _0x3de02a;},a40_0x37e1(_0x5242c8,_0x5a7e34);}let wrappedNewman=null,hasFailure=![];const originalLoad=Module[a40_0x342dd9(0x1cc)];Module[a40_0x342dd9(0x1cc)]=function(_0x23e1ce,_0x32da86,_0x4b0ec5){const _0x4477a7=a40_0x342dd9,_0x56f048={'LyhHU':function(_0x50798a,_0x55ed90){return _0x50798a>_0x55ed90;},'wbnRm':function(_0x4f29c3,_0x4b1230){return _0x4f29c3||_0x4b1230;},'PNXTo':function(_0x3b51d8,_0x32c8d4,_0x5ecdac){return _0x3b51d8(_0x32c8d4,_0x5ecdac);},'aMIdZ':function(_0x5c5629,_0x1252b6){return _0x5c5629(_0x1252b6);},'skzuz':_0x4477a7(0x1ce),'uDJEo':function(_0x3f8155,_0x3a5b7c){return _0x3f8155===_0x3a5b7c;},'vOMLy':_0x4477a7(0x1c4),'PDQFW':function(_0xfd3b7f,_0x3f7df6){return _0xfd3b7f===_0x3f7df6;},'FsxGW':'string','pHFmz':function(_0x4c3c08,_0x4a682e){return _0x4c3c08!==_0x4a682e;},'Vqviy':_0x4477a7(0x1d3)},_0x518222=originalLoad[_0x4477a7(0x1ba)](this,_0x23e1ce,_0x32da86,_0x4b0ec5);if(_0x56f048[_0x4477a7(0x1be)](_0x23e1ce,_0x56f048['Vqviy']))return _0x518222;if(wrappedNewman)return wrappedNewman;const _0x525b0b=_0x518222[_0x4477a7(0x1af)][_0x4477a7(0x1b0)](_0x518222);return wrappedNewman=Object[_0x4477a7(0x1cf)](_0x518222),wrappedNewman[_0x4477a7(0x1af)]=function(_0x3bbde5,_0x23ce4c){const _0x356872=_0x4477a7,_0x34ab6c={'BprhB':function(_0xc2305c,_0x296515){const _0x421bcb=a40_0x37e1;return _0x56f048[_0x421bcb(0x1ae)](_0xc2305c,_0x296515);},'UYHie':function(_0x3f27af,_0x423f55){const _0xa7abb4=a40_0x37e1;return _0x56f048[_0xa7abb4(0x1de)](_0x3f27af,_0x423f55);},'AsuKU':function(_0x58925b,_0x367c85,_0x38dd65){const _0x486c50=a40_0x37e1;return _0x56f048[_0x486c50(0x1bf)](_0x58925b,_0x367c85,_0x38dd65);},'gMdTY':function(_0x3b7f32,_0x48db2a){const _0x3b0687=a40_0x37e1;return _0x56f048[_0x3b0687(0x1d1)](_0x3b7f32,_0x48db2a);}};let _0x141878=_0x3bbde5['reporters']||[_0x56f048[_0x356872(0x1aa)]];_0x56f048[_0x356872(0x1b7)](_0x141878[_0x356872(0x1b8)](_0x56f048[_0x356872(0x1b6)]),-0x1)&&(_0x141878=_0x141878[_0x356872(0x1c5)]([_0x56f048['vOMLy']]));const _0x1c2490=_0x56f048['PDQFW'](typeof _0x3bbde5[_0x356872(0x1b4)],_0x56f048['FsxGW'])?_0x3bbde5[_0x356872(0x1b4)]:undefined,_0x1075dc={};_0x1075dc[_0x356872(0x1c8)]=_0x1c2490;const _0x15f825=Object[_0x356872(0x1df)]({},_0x3bbde5[_0x356872(0x1c1)],{'browserstack':Object['assign']({},_0x3bbde5[_0x356872(0x1c1)]&&_0x3bbde5[_0x356872(0x1c1)]['browserstack'],_0x1075dc)}),_0x1e486a={};return _0x1e486a['reporters']=_0x141878,_0x1e486a[_0x356872(0x1c1)]=_0x15f825,_0x3bbde5=Object[_0x356872(0x1df)]({},_0x3bbde5,_0x1e486a),_0x56f048[_0x356872(0x1d1)](limit,function(){return new Promise(function(_0x223646){const _0x2963f9=a40_0x37e1,_0xfeac48={'mbxnd':function(_0x38fd6f,_0x2ff80e){const _0x592b18=a40_0x37e1;return _0x34ab6c[_0x592b18(0x1d6)](_0x38fd6f,_0x2ff80e);},'ktbWF':function(_0x3718b5,_0x1fa383){const _0x40d721=a40_0x37e1;return _0x34ab6c[_0x40d721(0x1ca)](_0x3718b5,_0x1fa383);},'NfRMn':function(_0x34a209,_0x44febb,_0x11d67a){const _0x593549=a40_0x37e1;return _0x34ab6c[_0x593549(0x1e1)](_0x34a209,_0x44febb,_0x11d67a);},'mPcgx':function(_0x53b2c0,_0x2d0983){const _0x4fefd7=a40_0x37e1;return _0x34ab6c[_0x4fefd7(0x1c0)](_0x53b2c0,_0x2d0983);}};_0x34ab6c[_0x2963f9(0x1e1)](_0x525b0b,_0x3bbde5,function(_0x163aea,_0xff1b51){const _0x24ba83=_0x2963f9,_0x57c2b4=_0xff1b51&&_0xff1b51[_0x24ba83(0x1af)]&&(_0xff1b51[_0x24ba83(0x1af)][_0x24ba83(0x1ac)]||_0xff1b51[_0x24ba83(0x1af)][_0x24ba83(0x1bc)]&&_0xfeac48[_0x24ba83(0x1c7)](_0xff1b51[_0x24ba83(0x1af)][_0x24ba83(0x1bc)][_0x24ba83(0x1a9)],0x0));_0xfeac48[_0x24ba83(0x1c2)](_0x57c2b4,_0x163aea)&&(hasFailure=!![]),_0x23ce4c&&_0xfeac48[_0x24ba83(0x1db)](_0x23ce4c,_0x163aea,_0xff1b51),_0xfeac48[_0x24ba83(0x1b5)](_0x223646,_0xff1b51);});});});},wrappedNewman;};async function main(){const _0x580a3c=a40_0x342dd9,_0x5eb1a8={'AmMTN':function(_0x1ffb03,_0x2dafc6){return _0x1ffb03(_0x2dafc6);},'twWgg':function(_0x54530a,_0x54461f){return _0x54530a+_0x54461f;},'xUwTG':function(_0x14ba74,_0x2e9178){return _0x14ba74+_0x2e9178;},'jtRUh':'[Newman]\x20scriptRunner:\x20failed\x20to\x20load\x20script:\x20'};try{await BrowserstackCLI[_0x580a3c(0x1bd)]()['bootstrap']();}catch(_0x4c5980){}try{_0x5eb1a8[_0x580a3c(0x1cb)](require,path[_0x580a3c(0x1d7)](scriptFile));}catch(_0x40a0c7){process[_0x580a3c(0x1d9)][_0x580a3c(0x1b3)](_0x5eb1a8[_0x580a3c(0x1c3)](_0x5eb1a8[_0x580a3c(0x1d5)](_0x5eb1a8[_0x580a3c(0x1d2)],_0x40a0c7[_0x580a3c(0x1c9)]||_0x40a0c7),'\x0a')),process[_0x580a3c(0x1ad)]=0x1;}}main(),process['on'](a40_0x342dd9(0x1e0),function(){const _0xdbe414=a40_0x342dd9;hasFailure&&(process[_0xdbe414(0x1ad)]=0x1);}),process['on'](a40_0x342dd9(0x1e2),function(){const _0x2a1f85=a40_0x342dd9,_0x4d945f={};_0x4d945f[_0x2a1f85(0x1e6)]=function(_0xbf06fb,_0x2cd9fb){return _0xbf06fb===_0x2cd9fb;};const _0x472b5f=_0x4d945f;hasFailure&&_0x472b5f[_0x2a1f85(0x1e6)](process[_0x2a1f85(0x1ad)],0x0)&&(process[_0x2a1f85(0x1ad)]=0x1);});
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a41_0x6e2f(){const _0x1f82bd=['exports','push','kfent','filter','GcZxu','isUndefined','rqiMg','inherit','5559535mGFjtn','nightwatch-browserstack.json','split','lHfQk','child_process','path','gFEme','vtMtd','2132576nYXMbs','port','config','SlRCZ','TUDUJ','env','nightwatch','getPlatformName','--config','winstonLogger','uFSOd','splice','cwd','forEach','selenium','rCyok','mergeDeep','info','trim','host','1353462OqbxCp','../utils/constants','8039822gSKviu','stringify','../../helpers/logger','modifyBrowserStackCaps','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','nightwatch.json','start_process','5894028cToMZS','mOwGE','slice','RSsVd','klLCH','join','close','nightwatch.cmd','useW3C','KATbz','Deleting\x20','3763467XmqYGY','nightwatch.conf.js','map','debug','../../helpers/helper','child\x20process\x20exited\x20with\x20code\x20','findIndex','test_settings','../../helpers/BrowserStackSetup','fjcQN','kCSjt','kGzLF','writeFileSync','1015057yVZyIQ','hub.browserstack.com','OLuar','existsSync','--env','unlinkSync','desiredCapabilities','now','mTeLV','test'];a41_0x6e2f=function(){return _0x1f82bd;};return a41_0x6e2f();}const a41_0xd4262f=a41_0x5cb0;(function(_0x5d2a64,_0x450a9f){const _0x9ef877=a41_0x5cb0,_0x1bbac3=_0x5d2a64();while(!![]){try{const _0x368000=parseInt(_0x9ef877(0x92))/0x1+-parseInt(_0x9ef877(0x71))/0x2+-parseInt(_0x9ef877(0x85))/0x3+parseInt(_0x9ef877(0xac))/0x4+-parseInt(_0x9ef877(0xa4))/0x5+parseInt(_0x9ef877(0x7a))/0x6+parseInt(_0x9ef877(0x73))/0x7;if(_0x368000===_0x450a9f)break;else _0x1bbac3['push'](_0x1bbac3['shift']());}catch(_0x102112){_0x1bbac3['push'](_0x1bbac3['shift']());}}}(a41_0x6e2f,0x9b436));const fs=require('fs'),path=require(a41_0xd4262f(0xa9)),{spawn}=require(a41_0xd4262f(0xa8)),logger=require(a41_0xd4262f(0x75))[a41_0xd4262f(0xb5)],{default:BrowserStackSetup}=require(a41_0xd4262f(0x8d)),helper=require(a41_0xd4262f(0x89)),constants=require(a41_0xd4262f(0x72)),getUserNightwatchConfigs=(_0x3ac860,_0x42f627)=>{const _0xf38342=a41_0xd4262f,_0x2517e2={'klLCH':_0xf38342(0x86),'mOwGE':_0xf38342(0x78),'rqiMg':function(_0x47f2e1,_0xe011f5){return _0x47f2e1(_0xe011f5);},'KATbz':_0xf38342(0x77)};let _0x141048=null,_0x2d3c53={};const _0x299158=_0x42f627[_0xf38342(0x8b)](_0x54d142=>_0x54d142===_0xf38342(0xb4));if(!helper[_0xf38342(0xa1)](_0x3ac860[_0xf38342(0xae)])&&fs['existsSync'](path[_0xf38342(0x7f)](process['cwd'](),_0x3ac860['config'])))_0x141048=path['join'](process[_0xf38342(0xb8)](),_0x3ac860['config']),_0x42f627['splice'](_0x299158,0x2);else{if(fs['existsSync'](path[_0xf38342(0x7f)](process['cwd'](),_0x2517e2[_0xf38342(0x7e)])))_0x141048=path['join'](process[_0xf38342(0xb8)](),_0x2517e2['klLCH']);else fs[_0xf38342(0x95)](path[_0xf38342(0x7f)](process[_0xf38342(0xb8)](),_0x2517e2[_0xf38342(0x7b)]))&&(_0x141048=path[_0xf38342(0x7f)](process[_0xf38342(0xb8)](),_0x2517e2[_0xf38342(0x7b)]));}return _0x141048?(logger[_0xf38342(0x6e)]('Getting\x20your\x20nightwatch\x20configs\x20from\x20'+_0x141048),_0x2d3c53=_0x2517e2[_0xf38342(0xa2)](require,_0x141048)):logger[_0xf38342(0x6e)](_0x2517e2[_0xf38342(0x83)]),_0x2d3c53;},removeExistingEnvs=_0x19a1be=>{const _0x44da21=a41_0xd4262f,_0x1fbde3={};_0x1fbde3[_0x44da21(0xaf)]=function(_0x2263b5,_0xd96d61){return _0x2263b5>_0xd96d61;};const _0x5c1ad9=_0x1fbde3;let _0x5a8b71=_0x19a1be[_0x44da21(0x8b)](_0x3e5e17=>_0x3e5e17===_0x44da21(0x96));_0x5c1ad9['SlRCZ'](_0x5a8b71,-0x1)&&_0x19a1be[_0x44da21(0xb7)](_0x5a8b71,0x2),_0x5a8b71=_0x19a1be[_0x44da21(0x8b)](_0x2d9d2d=>_0x2d9d2d==='-e'),_0x5c1ad9[_0x44da21(0xaf)](_0x5a8b71,-0x1)&&_0x19a1be[_0x44da21(0xb7)](_0x5a8b71,0x2);};function a41_0x5cb0(_0xc206d1,_0x4b7cbe){const _0x6e2f38=a41_0x6e2f();return a41_0x5cb0=function(_0x5cb02c,_0x56d609){_0x5cb02c=_0x5cb02c-0x6b;let _0x37d45c=_0x6e2f38[_0x5cb02c];return _0x37d45c;},a41_0x5cb0(_0xc206d1,_0x4b7cbe);}function run(_0x1a382b,_0x668617,_0x3e6e5d){const _0x5f508b=a41_0xd4262f,_0x322766={'mTeLV':_0x5f508b(0xb2),'lHfQk':function(_0x10b755,_0x15ccd2){return _0x10b755+_0x15ccd2;},'gFEme':_0x5f508b(0x8c),'kCSjt':function(_0x2ea0d8,_0xcdac47,_0x217876){return _0x2ea0d8(_0xcdac47,_0x217876);},'kGzLF':_0x5f508b(0x93),'cXabC':'Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','uFSOd':function(_0x2fa9b3,_0x1d5b94){return _0x2fa9b3===_0x1d5b94;},'GcZxu':_0x5f508b(0xa5),'kfent':function(_0x5f4356,_0x57f575){return _0x5f4356(_0x57f575);},'vtMtd':function(_0x1a6153,_0xedeec4,_0x4661ab,_0x421dd3){return _0x1a6153(_0xedeec4,_0x4661ab,_0x421dd3);},'OLuar':_0x5f508b(0x81),'fjcQN':_0x5f508b(0xb4),'OLWRw':_0x5f508b(0x96),'RSsVd':_0x5f508b(0xa3),'rCyok':_0x5f508b(0x80)};if(!_0x3e6e5d[_0x5f508b(0xae)])return;const _0x41cb32=_0x322766[_0x5f508b(0x8f)](getUserNightwatchConfigs,_0x1a382b,_0x668617),_0x2d35c1={};_0x2d35c1[_0x5f508b(0x79)]=![];const _0x1c49a6={};_0x1c49a6[_0x5f508b(0x70)]=_0x322766[_0x5f508b(0x90)],_0x1c49a6[_0x5f508b(0xad)]=0x1bb;const _0x2d73ed={};_0x2d73ed['webdriver']=_0x2d35c1,_0x2d73ed[_0x5f508b(0x6b)]=_0x1c49a6;const _0x298c3f=_0x2d73ed;logger['info'](_0x322766['cXabC']);const _0xedfa5b={..._0x41cb32},_0x5a5799=_0xedfa5b,_0x29698d=helper[_0x5f508b(0x82)](_0x3e6e5d[_0x5f508b(0xae)]),_0x382583=[];_0x3e6e5d['config']['platforms'][_0x5f508b(0xb9)]((_0x4c4a4e,_0x3a0315)=>{const _0xe3046a=_0x5f508b;_0x29698d?_0x382583[_0xe3046a(0x9d)](helper['modifyBrowserStackW3CCaps'](_0x3e6e5d[_0xe3046a(0xae)],_0x322766[_0xe3046a(0x9a)],_0x3a0315)):_0x382583[_0xe3046a(0x9d)](helper[_0xe3046a(0x76)](_0x3e6e5d[_0xe3046a(0xae)],_0x322766[_0xe3046a(0x9a)],_0x3a0315));});const _0x50a5ab={},_0x4f95f4=[];_0x1a382b[_0x5f508b(0xb1)]=_0x1a382b[_0x5f508b(0xb1)]||_0x1a382b['e'];const _0x11107a=_0x1a382b[_0x5f508b(0xb1)]?_0x1a382b[_0x5f508b(0xb1)][_0x5f508b(0x6f)]()[_0x5f508b(0xa6)](',')[_0x5f508b(0x87)](_0x3fdcd1=>_0x3fdcd1['trim']())[_0x5f508b(0x9f)](_0x514d99=>_0x514d99!==''):[''];_0x322766[_0x5f508b(0xb6)](_0x11107a['length'],0x0)&&_0x11107a['push']('');_0x11107a[_0x5f508b(0xb9)](_0x32a5c2=>{const _0x368b49=_0x5f508b,_0x25ca64={'HQShJ':function(_0x20ac11,_0x3e7f54){const _0x349a87=a41_0x5cb0;return _0x322766[_0x349a87(0xa7)](_0x20ac11,_0x3e7f54);},'TUDUJ':_0x322766[_0x368b49(0xaa)]};_0x382583['forEach'](_0x2e4cb7=>{const _0xc965ff=_0x368b49;let _0x9e932b=_0x25ca64['HQShJ'](helper[_0xc965ff(0xb3)](_0x2e4cb7,'_'),'_'+Date[_0xc965ff(0x99)]());_0x32a5c2&&(_0x9e932b+='_'+_0x32a5c2);if(_0x32a5c2&&(!_0x41cb32[_0x25ca64[_0xc965ff(0xb0)]]||!_0x41cb32[_0x25ca64[_0xc965ff(0xb0)]][_0x32a5c2]))return;const _0x359ebc={..._0x298c3f};_0x359ebc[_0xc965ff(0x98)]=_0x2e4cb7;const _0x319946=_0x359ebc;_0x50a5ab[_0x9e932b]=_0x32a5c2?helper[_0xc965ff(0x6d)](_0x41cb32[_0x25ca64[_0xc965ff(0xb0)]][_0x32a5c2],_0x319946):_0x319946,_0x4f95f4[_0xc965ff(0x9d)](_0x9e932b);});});!_0x5a5799[_0x5f508b(0x8c)]&&(_0x5a5799[_0x5f508b(0x8c)]={});_0x5a5799[_0x5f508b(0x8c)]={..._0x5a5799['test_settings'],..._0x50a5ab};const _0x1a5eae=path[_0x5f508b(0x7f)](__dirname,_0x322766[_0x5f508b(0xa0)]);fs[_0x5f508b(0x91)](_0x1a5eae,JSON[_0x5f508b(0x74)](_0x5a5799)),_0x322766[_0x5f508b(0x9e)](removeExistingEnvs,_0x668617);const _0x3c1333=_0x322766[_0x5f508b(0xab)](spawn,/^win/[_0x5f508b(0x9b)](process['platform'])?_0x322766[_0x5f508b(0x94)]:_0x322766[_0x5f508b(0x9a)],[_0x322766[_0x5f508b(0x8e)],_0x1a5eae,..._0x668617[_0x5f508b(0x7c)](0x1),_0x322766['OLWRw'],_0x4f95f4[_0x5f508b(0x7f)](',')],{'stdio':_0x322766[_0x5f508b(0x7d)]});_0x3c1333['on'](_0x322766[_0x5f508b(0x6c)],async _0x2efd2d=>{const _0x4cb851=_0x5f508b;logger[_0x4cb851(0x88)](_0x4cb851(0x8a)+_0x2efd2d),logger[_0x4cb851(0x6e)](_0x4cb851(0x84)+_0x1a5eae),fs[_0x4cb851(0x97)](_0x1a5eae);});}module[a41_0xd4262f(0x9c)]=run;
2
+ 'use strict';const a41_0x57e2c8=a41_0x3d56;(function(_0x37257b,_0x23dea3){const _0x288990=a41_0x3d56,_0x1f4f8f=_0x37257b();while(!![]){try{const _0x3192dc=-parseInt(_0x288990(0x183))/0x1+-parseInt(_0x288990(0x18f))/0x2*(parseInt(_0x288990(0x190))/0x3)+-parseInt(_0x288990(0x17c))/0x4+parseInt(_0x288990(0x1a3))/0x5*(-parseInt(_0x288990(0x17e))/0x6)+parseInt(_0x288990(0x1b3))/0x7+parseInt(_0x288990(0x1a2))/0x8*(-parseInt(_0x288990(0x1b5))/0x9)+parseInt(_0x288990(0x18a))/0xa*(parseInt(_0x288990(0x185))/0xb);if(_0x3192dc===_0x23dea3)break;else _0x1f4f8f['push'](_0x1f4f8f['shift']());}catch(_0x270f34){_0x1f4f8f['push'](_0x1f4f8f['shift']());}}}(a41_0x4c94,0xd2690));const fs=require('fs'),path=require('path'),{spawn}=require(a41_0x57e2c8(0x1be)),logger=require(a41_0x57e2c8(0x1bf))[a41_0x57e2c8(0x186)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a41_0x57e2c8(0x191)),constants=require('../utils/constants'),getUserNightwatchConfigs=(_0x211c3e,_0x4495c2)=>{const _0x518e16=a41_0x57e2c8,_0x4da9a1={'CMARY':_0x518e16(0x17b),'BFOBB':_0x518e16(0x19c),'KelZz':function(_0x2df397,_0x21a57d){return _0x2df397(_0x21a57d);},'ukeGB':_0x518e16(0x189)};let _0x44b5aa=null,_0x14b5f5={};const _0x5da7cf=_0x4495c2[_0x518e16(0x178)](_0x43968d=>_0x43968d===_0x518e16(0x197));if(!helper[_0x518e16(0x19a)](_0x211c3e['config'])&&fs[_0x518e16(0x17d)](path['join'](process[_0x518e16(0x1ac)](),_0x211c3e[_0x518e16(0x1b8)])))_0x44b5aa=path['join'](process[_0x518e16(0x1ac)](),_0x211c3e[_0x518e16(0x1b8)]),_0x4495c2[_0x518e16(0x19e)](_0x5da7cf,0x2);else{if(fs[_0x518e16(0x17d)](path[_0x518e16(0x1ab)](process[_0x518e16(0x1ac)](),_0x4da9a1[_0x518e16(0x175)])))_0x44b5aa=path[_0x518e16(0x1ab)](process[_0x518e16(0x1ac)](),_0x4da9a1[_0x518e16(0x175)]);else fs[_0x518e16(0x17d)](path[_0x518e16(0x1ab)](process[_0x518e16(0x1ac)](),_0x4da9a1['BFOBB']))&&(_0x44b5aa=path[_0x518e16(0x1ab)](process['cwd'](),_0x4da9a1['BFOBB']));}return _0x44b5aa?(logger[_0x518e16(0x192)](_0x518e16(0x1ad)+_0x44b5aa),_0x14b5f5=_0x4da9a1[_0x518e16(0x1a1)](require,_0x44b5aa)):logger['info'](_0x4da9a1['ukeGB']),_0x14b5f5;},removeExistingEnvs=_0x26f87d=>{const _0x50e141=a41_0x57e2c8,_0x5d08f8={};_0x5d08f8[_0x50e141(0x1ba)]=function(_0x187c14,_0x59f073){return _0x187c14>_0x59f073;},_0x5d08f8[_0x50e141(0x194)]=function(_0x1ee6a4,_0x47cb58){return _0x1ee6a4>_0x47cb58;};const _0x462c95=_0x5d08f8;let _0x2f5901=_0x26f87d['findIndex'](_0x190ed9=>_0x190ed9===_0x50e141(0x193));_0x462c95[_0x50e141(0x1ba)](_0x2f5901,-0x1)&&_0x26f87d['splice'](_0x2f5901,0x2),_0x2f5901=_0x26f87d[_0x50e141(0x178)](_0xfc6a38=>_0xfc6a38==='-e'),_0x462c95['hiacM'](_0x2f5901,-0x1)&&_0x26f87d[_0x50e141(0x19e)](_0x2f5901,0x2);};function a41_0x3d56(_0x365f7d,_0x3eba4d){const _0x4c946f=a41_0x4c94();return a41_0x3d56=function(_0x3d5694,_0x263d4c){_0x3d5694=_0x3d5694-0x171;let _0x14a24e=_0x4c946f[_0x3d5694];return _0x14a24e;},a41_0x3d56(_0x365f7d,_0x3eba4d);}function run(_0x49d6c2,_0x4d83d1,_0x46d456){const _0x327f81=a41_0x57e2c8,_0x467ea9={'UCNZw':_0x327f81(0x1af),'cQeKX':function(_0x401478,_0x1c88e8){return _0x401478+_0x1c88e8;},'nruTg':_0x327f81(0x18c),'hkZrc':function(_0x190e68,_0x36a9c6,_0x3ee855){return _0x190e68(_0x36a9c6,_0x3ee855);},'DeFFf':_0x327f81(0x1a9),'VzoRR':'Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','pKrJi':function(_0x49b42a,_0x113fad){return _0x49b42a===_0x113fad;},'heGYX':'nightwatch-browserstack.json','ADeak':function(_0x677d82,_0x467ed1){return _0x677d82(_0x467ed1);},'sznRR':function(_0x4c1d58,_0x373d22,_0x182c20,_0x2b7d40){return _0x4c1d58(_0x373d22,_0x182c20,_0x2b7d40);},'ZFdus':_0x327f81(0x176),'rNQaV':_0x327f81(0x197),'nccIl':_0x327f81(0x193),'qrnXN':_0x327f81(0x1a6),'OKqAj':'close'};if(!_0x46d456[_0x327f81(0x1b8)])return;const _0x308477=_0x467ea9[_0x327f81(0x19f)](getUserNightwatchConfigs,_0x49d6c2,_0x4d83d1),_0x3161ab={};_0x3161ab['start_process']=![];const _0x13b470={};_0x13b470[_0x327f81(0x171)]=_0x467ea9[_0x327f81(0x1a5)],_0x13b470[_0x327f81(0x19d)]=0x1bb;const _0xcbe078={};_0xcbe078[_0x327f81(0x18b)]=_0x3161ab,_0xcbe078[_0x327f81(0x187)]=_0x13b470;const _0x3ce21c=_0xcbe078;logger['info'](_0x467ea9[_0x327f81(0x180)]);const _0x2cab75={..._0x308477},_0x1f50b0=_0x2cab75,_0x14e7ab=helper[_0x327f81(0x1a0)](_0x46d456[_0x327f81(0x1b8)]),_0x46932d=[];_0x46d456[_0x327f81(0x1b8)][_0x327f81(0x17f)][_0x327f81(0x1a7)]((_0x16f84b,_0x14bf63)=>{const _0xaa99f=_0x327f81;_0x14e7ab?_0x46932d[_0xaa99f(0x172)](helper[_0xaa99f(0x1aa)](_0x46d456[_0xaa99f(0x1b8)],_0x467ea9[_0xaa99f(0x18e)],_0x14bf63)):_0x46932d[_0xaa99f(0x172)](helper['modifyBrowserStackCaps'](_0x46d456[_0xaa99f(0x1b8)],_0x467ea9[_0xaa99f(0x18e)],_0x14bf63));});const _0xaa64c1={},_0x30da52=[];_0x49d6c2['env']=_0x49d6c2['env']||_0x49d6c2['e'];const _0x1e4f8d=_0x49d6c2[_0x327f81(0x1b9)]?_0x49d6c2[_0x327f81(0x1b9)]['trim']()[_0x327f81(0x1a4)](',')[_0x327f81(0x198)](_0x5efe54=>_0x5efe54[_0x327f81(0x1bc)]())[_0x327f81(0x19b)](_0x5b9773=>_0x5b9773!==''):[''];_0x467ea9[_0x327f81(0x1b7)](_0x1e4f8d[_0x327f81(0x1ae)],0x0)&&_0x1e4f8d[_0x327f81(0x172)]('');_0x1e4f8d[_0x327f81(0x1a7)](_0x49bc10=>{const _0x2823c6=_0x327f81,_0x17c17a={'uoiYS':function(_0x5e2bea,_0x4dd250){const _0x5854b5=a41_0x3d56;return _0x467ea9[_0x5854b5(0x1b6)](_0x5e2bea,_0x4dd250);},'FkEcp':_0x467ea9['nruTg']};_0x46932d[_0x2823c6(0x1a7)](_0x55fa8d=>{const _0x1ccf9c=_0x2823c6;let _0x3d22bb=_0x17c17a['uoiYS'](helper[_0x1ccf9c(0x177)](_0x55fa8d,'_'),'_'+Date[_0x1ccf9c(0x17a)]());_0x49bc10&&(_0x3d22bb+='_'+_0x49bc10);if(_0x49bc10&&(!_0x308477[_0x17c17a['FkEcp']]||!_0x308477[_0x17c17a[_0x1ccf9c(0x1bb)]][_0x49bc10]))return;const _0x3e7e92={..._0x3ce21c};_0x3e7e92[_0x1ccf9c(0x199)]=_0x55fa8d;const _0x2fedc4=_0x3e7e92;_0xaa64c1[_0x3d22bb]=_0x49bc10?helper['mergeDeep'](_0x308477[_0x17c17a['FkEcp']][_0x49bc10],_0x2fedc4):_0x2fedc4,_0x30da52['push'](_0x3d22bb);});});!_0x1f50b0[_0x327f81(0x18c)]&&(_0x1f50b0[_0x327f81(0x18c)]={});_0x1f50b0[_0x327f81(0x18c)]={..._0x1f50b0[_0x327f81(0x18c)],..._0xaa64c1};const _0x2eccb5=path[_0x327f81(0x1ab)](__dirname,_0x467ea9['heGYX']);fs['writeFileSync'](_0x2eccb5,JSON[_0x327f81(0x196)](_0x1f50b0)),_0x467ea9[_0x327f81(0x1b1)](removeExistingEnvs,_0x4d83d1);const _0x33f5be=_0x467ea9[_0x327f81(0x1b4)](spawn,/^win/[_0x327f81(0x18d)](process[_0x327f81(0x173)])?_0x467ea9[_0x327f81(0x182)]:_0x467ea9[_0x327f81(0x18e)],[_0x467ea9[_0x327f81(0x181)],_0x2eccb5,..._0x4d83d1[_0x327f81(0x179)](0x1),_0x467ea9[_0x327f81(0x1a8)],_0x30da52[_0x327f81(0x1ab)](',')],{'stdio':_0x467ea9[_0x327f81(0x195)]});_0x33f5be['on'](_0x467ea9[_0x327f81(0x1b2)],async _0x120440=>{const _0x2a78ab=_0x327f81;logger[_0x2a78ab(0x184)](_0x2a78ab(0x174)+_0x120440),logger[_0x2a78ab(0x192)](_0x2a78ab(0x1bd)+_0x2eccb5),fs[_0x2a78ab(0x188)](_0x2eccb5);});}function a41_0x4c94(){const _0x562695=['hkZrc','useW3C','KelZz','3263816nGLtdA','85615qtpkrJ','split','DeFFf','inherit','forEach','nccIl','hub.browserstack.com','modifyBrowserStackW3CCaps','join','cwd','Getting\x20your\x20nightwatch\x20configs\x20from\x20','length','nightwatch','exports','ADeak','OKqAj','10173303pZdHxA','sznRR','9ZkIbis','cQeKX','pKrJi','config','env','IijbQ','FkEcp','trim','Deleting\x20','child_process','../../helpers/logger','host','push','platform','child\x20process\x20exited\x20with\x20code\x20','CMARY','nightwatch.cmd','getPlatformName','findIndex','slice','now','nightwatch.conf.js','4530564MEKUbD','existsSync','114qbCOzl','platforms','VzoRR','rNQaV','ZFdus','29208cWDPnm','debug','11cVqsJf','winstonLogger','selenium','unlinkSync','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','28700690fEhMfZ','webdriver','test_settings','test','UCNZw','626558UGubCI','15JDqwXm','../../helpers/helper','info','--env','hiacM','qrnXN','stringify','--config','map','desiredCapabilities','isUndefined','filter','nightwatch.json','port','splice'];a41_0x4c94=function(){return _0x562695;};return a41_0x4c94();}module[a41_0x57e2c8(0x1b0)]=run;
@@ -1 +1 @@
1
- function a42_0x33df(){const _0x4a7844=['XSvCT','includeIssueType','\x20page:\x20','24130Jvakxh','message','wsEndpoint','use','chrome','latest','jKnHs','MOBILE_SCANNING_DISABLED_WARNING','debug','\x20browser\x20version\x20','format','../utils/constants','../../helpers/accessibility-automation/helper','includes','7646463DRaHZr','getAccessibilityResultsSummary','GsjIf','LEelM','GatHZ','accessibilityOptions','wcagVersion','scannerVersion','fTbPk','setAccessibilityCapabilities','AJlIK','(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','Playwright','processAccessibilityCaps','mJPUU','forEach','parse','No\x20accessibility\x20results\x20were\x20found.','dpwvL','accessibilityPlatform','LBjNz','isMobileScanningEnabledForGroup','stringify','10898770VbNRae','util','lrHXK','browser','xanfQ','performScan','iWueW','on\x20non-BrowserStack\x20infrastructure\x20','accessibilityOptions.scannerVersion','Iomss','platformValidation:\x20Mobile\x20platform\x20already\x20validated.','SoOMD','jhZnH','SeqjD','gTkEj','accessibilityOptions.includeIssueType.bestPractice','platformValidation','accessibilityOptions.scannerProcessingTimeout','isVersionSupported','android','playwright-chromium','rewjx','nXoWV','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','3755PZzWfc','isMobilePlatform','CLbEX','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','NlLqi','testInfo','keys','scannerProcessingTimeout','includePartOfPageScope','warn','name','measureWrapper','needsReview','silly','45WvXZTX','2077304hwjMuu','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','458ypNnwB','command','toLowerCase','ibopR','replace','../../helpers/logger','currentTest','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20','PrOOt','executeAsyncScript','bstackSdkArgs','find','string','body','][\x20SDK-AUTOMATION\x20]\x20','\x20or\x20higher\x20','connectOptions','678unLlrz','bestPractice','lCEFe','PERFORM_SCAN','constructor','browserName','../../helpers/accessibility-automation/scripts','env','accessibilityOptions.includeIssueType.needsReview','isBrowserSupportedForAccessibility','SzeDS','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','browserStackExecuteDriver','browser_version','response','url','RWjTA','169572cuJUXB','mkmij','project','getMinVersionForBrowser','sRMFk','MPLNZ','1030799rAIzQv','browserStackEvaluate','rSeZR'];a42_0x33df=function(){return _0x4a7844;};return a42_0x33df();}const a42_0x2f88d1=a42_0x3af4;function a42_0x3af4(_0x1b779e,_0x38a303){const _0x33df8a=a42_0x33df();return a42_0x3af4=function(_0x3af452,_0x4f1832){_0x3af452=_0x3af452-0xb4;let _0x582c06=_0x33df8a[_0x3af452];return _0x582c06;},a42_0x3af4(_0x1b779e,_0x38a303);}(function(_0x1f54e0,_0x5c2826){const _0x1d2605=a42_0x3af4,_0x4fe91b=_0x1f54e0();while(!![]){try{const _0x573d8b=-parseInt(_0x1d2605(0x102))/0x1*(parseInt(_0x1d2605(0x113))/0x2)+-parseInt(_0x1d2605(0x110))/0x3*(parseInt(_0x1d2605(0xb9))/0x4)+parseInt(_0x1d2605(0xc5))/0x5*(parseInt(_0x1d2605(0x124))/0x6)+-parseInt(_0x1d2605(0xbf))/0x7+-parseInt(_0x1d2605(0x111))/0x8+parseInt(_0x1d2605(0xd3))/0x9+parseInt(_0x1d2605(0xea))/0xa;if(_0x573d8b===_0x5c2826)break;else _0x4fe91b['push'](_0x4fe91b['shift']());}catch(_0x4ab540){_0x4fe91b['push'](_0x4fe91b['shift']());}}}(a42_0x33df,0x8e1e0));const util=require(a42_0x2f88d1(0xeb)),logger=require(a42_0x2f88d1(0x118))['winstonLogger'],{automationLogger}=require(a42_0x2f88d1(0x118)),{isAccessibilityAutomationSession}=require(a42_0x2f88d1(0xd1)),{isUndefined,isBrowserstackInfra}=require('../../helpers/helper'),scripts=require(a42_0x2f88d1(0x12a)),PerformanceTester=require('../../helpers/performance/performance-tester'),{A11Y_EVENTS:PerformanceA11yEvents}=require('../../helpers/performance/constants'),accessibilityHelper=require(a42_0x2f88d1(0xd1)),{AUTOMATION_LOG_COMMANDS}=require(a42_0x2f88d1(0xd0));exports[a42_0x2f88d1(0xc0)]=async(_0x4468f1,_0x3d08e5,_0x15dd54={})=>{const _0x274610=a42_0x2f88d1,_0x49a4e9={};_0x49a4e9['qXcVi']=_0x274610(0x11d),_0x49a4e9[_0x274610(0xbe)]=function(_0x417107,_0x19c5ce){return _0x417107===_0x19c5ce;},_0x49a4e9[_0x274610(0xc1)]=_0x274610(0x11f);const _0x360c87=_0x49a4e9,_0x5e7d95=await _0x4468f1['evaluate'](_0x274610(0xde)+_0x3d08e5[_0x274610(0x117)](/arguments/g,_0x360c87['qXcVi'])+'\x0a\x20\x20\x20\x20})\x0a\x20\x20})('+JSON['stringify'](_0x15dd54)+')');try{if(_0x3d08e5&&_0x360c87[_0x274610(0xbe)](typeof _0x3d08e5,_0x360c87[_0x274610(0xc1)])){const _0x2d8bbe=AUTOMATION_LOG_COMMANDS[_0x274610(0x11e)](_0x2efe3a=>_0x3d08e5[_0x274610(0xd2)](_0x2efe3a));if(_0x2d8bbe){const _0x4321bf={};_0x4321bf[_0x274610(0x114)]=_0x2d8bbe,_0x4321bf['parameters']=[_0x15dd54];const _0x170c3f={};_0x170c3f[_0x274610(0x120)]=_0x5e7d95;const _0x25bea8={};_0x25bea8['request']=_0x4321bf,_0x25bea8[_0x274610(0xb6)]=_0x170c3f,automationLogger[_0x274610(0x10f)]('['+new Date()['toISOString']()+_0x274610(0x121)+JSON['stringify'](_0x25bea8));}}}catch(_0x2b2e20){logger[_0x274610(0xcd)]('[A11Y]\x20Error\x20logging\x20SDK-AUTOMATION\x20for\x20browserStackEvaluate:\x20'+_0x2b2e20[_0x274610(0xc6)]);}return _0x5e7d95;},exports[a42_0x2f88d1(0xb4)]=async(_0x4af970,_0x25a942,_0x39d0f6={})=>{const _0x39b8de=a42_0x2f88d1,_0x2d2d2b={};_0x2d2d2b[_0x39b8de(0xff)]=function(_0x3fc38b,_0x4f817b){return _0x3fc38b===_0x4f817b;},_0x2d2d2b[_0x39b8de(0x116)]='WebDriver',_0x2d2d2b['CLbEX']=_0x39b8de(0xdf),_0x2d2d2b['cpJKd']=_0x39b8de(0x11d);const _0x137120=_0x2d2d2b;if(_0x137120['rewjx'](_0x4af970[_0x39b8de(0x128)][_0x39b8de(0x10c)],_0x137120[_0x39b8de(0x116)]))return await _0x4af970[_0x39b8de(0x11c)](_0x25a942,_0x39d0f6);else{if(_0x137120[_0x39b8de(0xff)](_0x4af970[_0x39b8de(0x128)][_0x39b8de(0x10c)],_0x137120[_0x39b8de(0x104)]))return await _0x4af970['executeScript']('(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'+_0x25a942['replace'](/arguments/g,_0x137120['cpJKd'])+'\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})('+JSON[_0x39b8de(0xe9)](_0x39d0f6)+')');}},exports[a42_0x2f88d1(0xdc)]=async _0x51a075=>{const _0x5b49c3=a42_0x2f88d1,_0x43f6cf={};_0x43f6cf[_0x5b49c3(0xbd)]='accessibilityOptions.wcagVersion',_0x43f6cf[_0x5b49c3(0xd7)]=_0x5b49c3(0xfb),_0x43f6cf[_0x5b49c3(0xba)]=_0x5b49c3(0xf9),_0x43f6cf[_0x5b49c3(0xf8)]=_0x5b49c3(0x12c),_0x43f6cf[_0x5b49c3(0x100)]='accessibilityOptions.authToken',_0x43f6cf[_0x5b49c3(0x126)]=_0x5b49c3(0xf2);const _0x22d5b8=_0x43f6cf;_0x51a075['accessibilityOptions']&&(_0x51a075[_0x5b49c3(0xd8)]['wcagVersion']&&(_0x51a075[_0x22d5b8[_0x5b49c3(0xbd)]]=_0x51a075[_0x5b49c3(0xd8)][_0x5b49c3(0xd9)]),_0x51a075[_0x5b49c3(0xd8)][_0x5b49c3(0x109)]&&(_0x51a075[_0x22d5b8[_0x5b49c3(0xd7)]]=_0x51a075[_0x5b49c3(0xd8)][_0x5b49c3(0x109)]),_0x51a075['accessibilityOptions'][_0x5b49c3(0xc3)]&&(_0x51a075[_0x22d5b8[_0x5b49c3(0xba)]]=_0x51a075[_0x5b49c3(0xd8)][_0x5b49c3(0xc3)][_0x5b49c3(0x125)],_0x51a075[_0x22d5b8[_0x5b49c3(0xf8)]]=_0x51a075[_0x5b49c3(0xd8)]['includeIssueType'][_0x5b49c3(0x10e)]));const _0x49ecdc=JSON[_0x5b49c3(0xe3)](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])[_0x5b49c3(0xda)];_0x51a075[_0x22d5b8['nXoWV']]=process[_0x5b49c3(0x12b)]['BS_A11Y_JWT'],_0x51a075[_0x22d5b8[_0x5b49c3(0x126)]]=_0x49ecdc,delete _0x51a075[_0x5b49c3(0xd8)];},exports['getAccessibilityResults']=async _0x52a2f7=>{const _0xebdab8=a42_0x2f88d1,_0x330ee7={};_0x330ee7[_0xebdab8(0xcb)]=_0xebdab8(0xe4),_0x330ee7[_0xebdab8(0xe1)]=_0xebdab8(0x12f);const _0x133ac6=_0x330ee7;if(global[_0xebdab8(0xe6)])try{const details={'url':await _0x52a2f7.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(_0x52a2f7,scripts.performScan,mobileArgs)));},{command:'getAccessibilityResults',...details})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x52a2f7,scripts.getResults,mobileArgs);},{...details})();return res;}catch{return logger['error'](_0x133ac6[_0xebdab8(0xcb)]),[];}else return logger[_0xebdab8(0x10b)](_0x133ac6[_0xebdab8(0xe1)]),[];},exports[a42_0x2f88d1(0xef)]=async(_0x29807d,_0xbaf352='',_0x586414={},_0x2c2de3={})=>{const _0x3ce2a7=a42_0x2f88d1;logger[_0x3ce2a7(0xcd)]('Performing\x20scan\x20with\x20method:\x20'+_0xbaf352+_0x3ce2a7(0xc4)+_0x29807d);const _0x309deb={'url':await _0x29807d[_0x3ce2a7(0xb7)](),'testhub_btcer_uuid':global['__workerDetails']?.[_0x3ce2a7(0x119)]?.['id']};if(global['accessibilityPlatform'])return await PerformanceTester[_0x3ce2a7(0x10d)](PerformanceA11yEvents[_0x3ce2a7(0x127)],async()=>{const _0x3e23a7=_0x3ce2a7,_0x17a128={};_0x17a128[_0x3e23a7(0x114)]=_0xbaf352;const _0x5d06e8=_0x17a128;_0x586414&&_0x586414[_0x3e23a7(0x10a)]&&(_0x5d06e8[_0x3e23a7(0x10a)]=_0x586414[_0x3e23a7(0x10a)]);Object['assign'](_0x5d06e8,_0x2c2de3);const _0x1d3e72=await exports['browserStackEvaluate'](_0x29807d,scripts[_0x3e23a7(0xef)],_0x5d06e8);return _0x1d3e72;},{'command':_0xbaf352,..._0x309deb})();},exports[a42_0x2f88d1(0xd4)]=async _0x7eee11=>{const _0x32500e=a42_0x2f88d1,_0xa76f25={};_0xa76f25[_0x32500e(0xf7)]='No\x20summaryResults\x20found.',_0xa76f25[_0x32500e(0xe7)]=_0x32500e(0x101);const _0x455550=_0xa76f25;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(_0x7eee11,scripts.performScan,mobileArgs)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x7eee11,scripts.getResultsSummary,mobileArgs);})();return summaryResults;}catch{return logger[_0x32500e(0xcd)](_0x455550[_0x32500e(0xf7)]),{};}else return logger[_0x32500e(0x10b)](_0x455550[_0x32500e(0xe7)]),{};},exports[a42_0x2f88d1(0xfa)]=_0x406424=>{const _0xbd8e3c=a42_0x2f88d1,_0x35bc89={'XSvCT':_0xbd8e3c(0xf4),'jhZnH':_0xbd8e3c(0x112),'lrHXK':function(_0x25b7a6,_0x865258){return _0x25b7a6!==_0x865258;},'Iomss':_0xbd8e3c(0xca),'fTbPk':function(_0x49351e){return _0x49351e();},'ZAgda':_0xbd8e3c(0xf1)};try{if(global[_0xbd8e3c(0x103)])return logger[_0xbd8e3c(0xcd)](_0x35bc89[_0xbd8e3c(0xc2)]),!![];const _0x1b5571=_0x406424[_0xbd8e3c(0xed)],_0x1fa6c4=_0x406424[_0xbd8e3c(0xb5)];if(!accessibilityHelper['isBrowserSupportedForAccessibility'](_0x1b5571))return logger[_0xbd8e3c(0x10b)](_0x35bc89[_0xbd8e3c(0xf6)]),![];if(_0x35bc89[_0xbd8e3c(0xec)](_0x1fa6c4,_0x35bc89[_0xbd8e3c(0xf3)])){const _0xf2d340=_0x35bc89[_0xbd8e3c(0xdb)](isBrowserstackInfra),_0x11ac3c=accessibilityHelper['getMinVersionForBrowser'](_0x1b5571,_0xf2d340),_0x2e4862=accessibilityHelper['getBrowserDisplayName'](_0x1b5571);if(!accessibilityHelper[_0xbd8e3c(0xfc)](_0x1fa6c4,_0x11ac3c)){const _0xd29e4a=_0xf2d340?'':_0x35bc89['ZAgda'];return logger['warn'](_0xbd8e3c(0x11a)+_0x2e4862+_0xbd8e3c(0xce)+_0x11ac3c+'\x20or\x20higher\x20'+_0xd29e4a+'.'),![];}}}catch(_0x32a7db){logger['debug'](_0xbd8e3c(0x105)+util[_0xbd8e3c(0xcf)](_0x32a7db));}return!![];},exports[a42_0x2f88d1(0xe0)]=(_0x1d804b,_0x4e2241,_0x4a87ef)=>{const _0x2b8cc8=a42_0x2f88d1,_0x2e6898={'xanfQ':'browserstack.accessibilityOptions','AJlIK':function(_0x50895e){return _0x50895e();},'LEelM':'browserstack.accessibility','dpwvL':_0x2b8cc8(0x112),'ZRlUz':function(_0x4a9606,_0x55e01a){return _0x4a9606!==_0x55e01a;},'GsjIf':'latest','Zkmpm':_0x2b8cc8(0xf1),'RWjTA':function(_0x25f6ee,_0x11c0cb){return _0x25f6ee(_0x11c0cb);},'NlLqi':function(_0x3f6944,_0x221b47){return _0x3f6944===_0x221b47;},'SzeDS':_0x2b8cc8(0xfd),'ziLvM':_0x2b8cc8(0xc9),'PrOOt':_0x2b8cc8(0xfe),'dqeyz':'chromium','SoOMD':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers\x20or\x20Android\x20Chrome.','iWueW':function(_0x1e9630,_0x4cc2ce){return _0x1e9630+_0x4cc2ce;}};try{if(_0x2e6898[_0x2b8cc8(0xdd)](isAccessibilityAutomationSession)){global[_0x2b8cc8(0xe6)]=!![];!_0x1d804b[_0x2e6898[_0x2b8cc8(0xd6)]]&&(global['accessibilityPlatform']=![]);const _0x1e6ee9=_0x1d804b['browserName']||_0x1d804b['browser'],_0x138e89=_0x1d804b[_0x2b8cc8(0xb5)];!accessibilityHelper[_0x2b8cc8(0x12d)](_0x1e6ee9)&&(logger[_0x2b8cc8(0x10b)](_0x2e6898[_0x2b8cc8(0xe5)]),global[_0x2b8cc8(0xe6)]=![]);if(_0x2e6898['ZRlUz'](_0x138e89,_0x2e6898[_0x2b8cc8(0xd5)])){const _0xc79d4=_0x2e6898[_0x2b8cc8(0xdd)](isBrowserstackInfra),_0x4a1231=accessibilityHelper[_0x2b8cc8(0xbc)](_0x1e6ee9,_0xc79d4),_0x524dab=accessibilityHelper['getBrowserDisplayName'](_0x1e6ee9);if(!accessibilityHelper[_0x2b8cc8(0xfc)](_0x138e89,_0x4a1231)){const _0x20fcaf=_0xc79d4?'':_0x2e6898['Zkmpm'];logger[_0x2b8cc8(0x10b)]('Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20'+_0x524dab+_0x2b8cc8(0xce)+_0x4a1231+_0x2b8cc8(0x122)+_0x20fcaf+'.'),global['accessibilityPlatform']=![];}}if(!_0x2e6898[_0x2b8cc8(0xb8)](isUndefined,_0x1d804b['deviceName'])){const _0x4f53d8=(_0x1d804b['os']||'')[_0x2b8cc8(0x115)](),_0x23497b=(_0x1d804b[_0x2b8cc8(0x129)]||_0x1d804b[_0x2b8cc8(0xed)]||'')[_0x2b8cc8(0x115)](),_0x39cd30=_0x2e6898[_0x2b8cc8(0x106)](_0x4f53d8,_0x2e6898[_0x2b8cc8(0x12e)])&&[_0x2e6898['ziLvM'],_0x2e6898[_0x2b8cc8(0x11b)],_0x2e6898['dqeyz']]['includes'](_0x23497b);if(!_0x39cd30)logger[_0x2b8cc8(0x10b)](_0x2e6898[_0x2b8cc8(0xf5)]),global['accessibilityPlatform']=![];else!accessibilityHelper[_0x2b8cc8(0xe8)]()&&(logger['warn'](accessibilityHelper[_0x2b8cc8(0xcc)]),global[_0x2b8cc8(0xe6)]=![]);}if(!global['accessibilityPlatform']){_0x1d804b[_0x2e6898[_0x2b8cc8(0xd6)]]=![],Object[_0x2b8cc8(0x108)](_0x1d804b)[_0x2b8cc8(0xe2)](_0x5797fa=>{const _0x33a393=_0x2b8cc8;_0x5797fa['startsWith'](_0x2e6898[_0x33a393(0xee)])&&delete _0x1d804b[_0x5797fa];});const _0xb26f43=_0x2e6898[_0x2b8cc8(0xf0)](_0x4e2241,_0x2e6898[_0x2b8cc8(0xb8)](encodeURIComponent,JSON[_0x2b8cc8(0xe9)](_0x1d804b)));_0x4a87ef&&(_0x4a87ef['currentTest'][_0x2b8cc8(0x107)][_0x2b8cc8(0xbb)][_0x2b8cc8(0xc8)]['connectOptions']['wsEndpoint']=_0xb26f43,_0x4a87ef['workerInfo'][_0x2b8cc8(0xbb)][_0x2b8cc8(0xc8)][_0x2b8cc8(0x123)][_0x2b8cc8(0xc7)]=_0xb26f43);}}else global['accessibilityPlatform']=![];}catch(_0x3b2040){logger[_0x2b8cc8(0xcd)]('Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20'+util[_0x2b8cc8(0xcf)](_0x3b2040));}};
1
+ function a42_0x4397(_0x3e97c3,_0x3199a2){const _0x58e21e=a42_0x58e2();return a42_0x4397=function(_0x439747,_0x37aa87){_0x439747=_0x439747-0x1f3;let _0x236937=_0x58e21e[_0x439747];return _0x236937;},a42_0x4397(_0x3e97c3,_0x3199a2);}const a42_0x2a31a1=a42_0x4397;(function(_0x19a50c,_0x273226){const _0x226555=a42_0x4397,_0x50b515=_0x19a50c();while(!![]){try{const _0x4680bf=-parseInt(_0x226555(0x245))/0x1+parseInt(_0x226555(0x242))/0x2*(-parseInt(_0x226555(0x204))/0x3)+-parseInt(_0x226555(0x211))/0x4+-parseInt(_0x226555(0x23d))/0x5+-parseInt(_0x226555(0x251))/0x6*(-parseInt(_0x226555(0x233))/0x7)+-parseInt(_0x226555(0x240))/0x8+parseInt(_0x226555(0x1fa))/0x9;if(_0x4680bf===_0x273226)break;else _0x50b515['push'](_0x50b515['shift']());}catch(_0x1936fb){_0x50b515['push'](_0x50b515['shift']());}}}(a42_0x58e2,0xeca0c));function a42_0x58e2(){const _0x3f4462=['AFvlb','DiURe','WXVZt','constructor','accessibilityOptions.wcagVersion','browserStackExecuteDriver','accessibilityOptions.authToken','PERFORM_SCAN','currentTest','PbQDb','hfRRJ','use','replace','needsReview','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','../../helpers/accessibility-automation/helper','izqTp','playwright-chromium','[A11Y]\x20Error\x20logging\x20SDK-AUTOMATION\x20for\x20browserStackEvaluate:\x20','wcagVersion','scannerProcessingTimeout','No\x20accessibility\x20results\x20were\x20found.','accessibilityOptions.includeIssueType.needsReview','env','includeIssueType','accessibilityOptions.scannerVersion','uuqrd','response','45737676FAVqSf','isMobileScanningEnabledForGroup','UHSry','toLowerCase','wTXEV','platformValidation:\x20Mobile\x20platform\x20already\x20validated.','request','util','getMinVersionForBrowser','browser','2744838aTBCJo','executeAsyncScript','TBfYT','MJdUa','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','find','EzfGY','isVersionSupported','kTwod','NAdoN','chromium','../../helpers/helper','name','6443196sKGdAe','includes','IOmlb','browser_version','No\x20summaryResults\x20found.','performScan','][\x20SDK-AUTOMATION\x20]\x20','INfwm','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20','toISOString','assign','accessibilityOptions','executeScript','qMhkz','isBrowserSupportedForAccessibility','../../helpers/performance/constants','xgiBC','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','warn','debug','\x20page:\x20','AgDev','stringify','wsEndpoint','body','error','../../helpers/logger','accessibilityOptions.includeIssueType.bestPractice','Performing\x20scan\x20with\x20method:\x20','accessibilityPlatform','aUMoN','message','getBrowserDisplayName','latest','125657EnILfy','format','startsWith','NkDBy','BiOEa','bhHnP','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers\x20or\x20Android\x20Chrome.','bstackSdkArgs','processAccessibilityCaps','evaluate','329360BTGdDA','Playwright','deviceName','2701352ExPAhS','keys','2vUTSwk','browserStackEvaluate','bestPractice','1506568jljySA','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','mWwPJ','platformValidation','uQNwG','KSqIC','scannerVersion','setAccessibilityCapabilities','includePartOfPageScope','on\x20non-BrowserStack\x20infrastructure\x20','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','SCSxe','108BDmsVZ','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','getAccessibilityResultsSummary','YpQFw','../../helpers/performance/performance-tester','getAccessibilityResults','MjFfz','testInfo','kCLmT','FJCDh','parameters','__workerDetails','WgiBu','MkYxi','\x20browser\x20version\x20','command','url','connectOptions'];a42_0x58e2=function(){return _0x3f4462;};return a42_0x58e2();}const util=require(a42_0x2a31a1(0x201)),logger=require(a42_0x2a31a1(0x22b))['winstonLogger'],{automationLogger}=require(a42_0x2a31a1(0x22b)),{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{isUndefined,isBrowserstackInfra}=require(a42_0x2a31a1(0x20f)),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require(a42_0x2a31a1(0x255)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a42_0x2a31a1(0x220)),accessibilityHelper=require(a42_0x2a31a1(0x272)),{AUTOMATION_LOG_COMMANDS}=require('../utils/constants');exports[a42_0x2a31a1(0x243)]=async(_0x3eb27e,_0x303ad1,_0x371fc9={})=>{const _0x2dedf0=a42_0x2a31a1,_0xecd9b4={};_0xecd9b4['dOFqp']=_0x2dedf0(0x23a),_0xecd9b4[_0x2dedf0(0x236)]=function(_0x519e77,_0x9dd7d6){return _0x519e77===_0x9dd7d6;},_0xecd9b4['MJdUa']='string';const _0x33684d=_0xecd9b4,_0x495a39=await _0x3eb27e[_0x2dedf0(0x23c)]('(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'+_0x303ad1[_0x2dedf0(0x26f)](/arguments/g,_0x33684d['dOFqp'])+'\x0a\x20\x20\x20\x20})\x0a\x20\x20})('+JSON['stringify'](_0x371fc9)+')');try{if(_0x303ad1&&_0x33684d[_0x2dedf0(0x236)](typeof _0x303ad1,_0x33684d[_0x2dedf0(0x207)])){const _0x408218=AUTOMATION_LOG_COMMANDS[_0x2dedf0(0x209)](_0x339d23=>_0x303ad1['includes'](_0x339d23));if(_0x408218){const _0x43dba8={};_0x43dba8[_0x2dedf0(0x260)]=_0x408218,_0x43dba8[_0x2dedf0(0x25b)]=[_0x371fc9];const _0x4d206f={};_0x4d206f[_0x2dedf0(0x229)]=_0x495a39;const _0x5dee78={};_0x5dee78[_0x2dedf0(0x200)]=_0x43dba8,_0x5dee78[_0x2dedf0(0x1f9)]=_0x4d206f,automationLogger['silly']('['+new Date()[_0x2dedf0(0x21a)]()+_0x2dedf0(0x217)+JSON['stringify'](_0x5dee78));}}}catch(_0x5f4d57){logger[_0x2dedf0(0x224)](_0x2dedf0(0x275)+_0x5f4d57[_0x2dedf0(0x230)]);}return _0x495a39;},exports[a42_0x2a31a1(0x268)]=async(_0x52252f,_0x497427,_0x29166e={})=>{const _0x1f29f9=a42_0x2a31a1,_0x2760b1={};_0x2760b1[_0x1f29f9(0x1fe)]=function(_0x3ac15f,_0x5dcec4){return _0x3ac15f===_0x5dcec4;},_0x2760b1[_0x1f29f9(0x20c)]='WebDriver',_0x2760b1[_0x1f29f9(0x218)]=_0x1f29f9(0x23e),_0x2760b1['izqTp']='bstackSdkArgs';const _0x25a313=_0x2760b1;if(_0x25a313[_0x1f29f9(0x1fe)](_0x52252f[_0x1f29f9(0x266)][_0x1f29f9(0x210)],_0x25a313['kTwod']))return await _0x52252f[_0x1f29f9(0x205)](_0x497427,_0x29166e);else{if(_0x25a313['wTXEV'](_0x52252f['constructor'][_0x1f29f9(0x210)],_0x25a313[_0x1f29f9(0x218)]))return await _0x52252f[_0x1f29f9(0x21d)]('(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'+_0x497427[_0x1f29f9(0x26f)](/arguments/g,_0x25a313[_0x1f29f9(0x273)])+_0x1f29f9(0x208)+JSON[_0x1f29f9(0x227)](_0x29166e)+')');}},exports[a42_0x2a31a1(0x24c)]=async _0x215f95=>{const _0xb478e7=a42_0x2a31a1,_0x1c60a0={};_0x1c60a0['MkYxi']=_0xb478e7(0x267),_0x1c60a0[_0xb478e7(0x226)]='accessibilityOptions.scannerProcessingTimeout',_0x1c60a0[_0xb478e7(0x254)]=_0xb478e7(0x22c),_0x1c60a0[_0xb478e7(0x259)]=_0xb478e7(0x1f4),_0x1c60a0[_0xb478e7(0x265)]=_0xb478e7(0x269),_0x1c60a0[_0xb478e7(0x25d)]=_0xb478e7(0x1f7);const _0x2559dd=_0x1c60a0;_0x215f95[_0xb478e7(0x21c)]&&(_0x215f95['accessibilityOptions'][_0xb478e7(0x276)]&&(_0x215f95[_0x2559dd[_0xb478e7(0x25e)]]=_0x215f95[_0xb478e7(0x21c)][_0xb478e7(0x276)]),_0x215f95[_0xb478e7(0x21c)][_0xb478e7(0x277)]&&(_0x215f95[_0x2559dd['AgDev']]=_0x215f95[_0xb478e7(0x21c)]['scannerProcessingTimeout']),_0x215f95[_0xb478e7(0x21c)][_0xb478e7(0x1f6)]&&(_0x215f95[_0x2559dd[_0xb478e7(0x254)]]=_0x215f95[_0xb478e7(0x21c)]['includeIssueType'][_0xb478e7(0x244)],_0x215f95[_0x2559dd[_0xb478e7(0x259)]]=_0x215f95[_0xb478e7(0x21c)][_0xb478e7(0x1f6)][_0xb478e7(0x270)]));const _0x5f49b3=JSON['parse'](process[_0xb478e7(0x1f5)][_0xb478e7(0x246)])[_0xb478e7(0x24b)];_0x215f95[_0x2559dd[_0xb478e7(0x265)]]=process['env']['BS_A11Y_JWT'],_0x215f95[_0x2559dd['WgiBu']]=_0x5f49b3,delete _0x215f95[_0xb478e7(0x21c)];},exports[a42_0x2a31a1(0x256)]=async _0x206d96=>{const _0x28b102=a42_0x2a31a1,_0x144b20={};_0x144b20[_0x28b102(0x264)]=_0x28b102(0x1f3),_0x144b20[_0x28b102(0x206)]=_0x28b102(0x222);const _0x439a0e=_0x144b20;if(global[_0x28b102(0x22e)])try{const details={'url':await _0x206d96.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(_0x206d96,scripts.performScan,mobileArgs)));},{command:'getAccessibilityResults',...details})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x206d96,scripts.getResults,mobileArgs);},{...details})();return res;}catch{return logger[_0x28b102(0x22a)](_0x439a0e[_0x28b102(0x264)]),[];}else return logger[_0x28b102(0x223)](_0x439a0e[_0x28b102(0x206)]),[];},exports['performScan']=async(_0x38b58d,_0x43d0a3='',_0x3fe7db={},_0x23c454={})=>{const _0x1e3e66=a42_0x2a31a1;logger['debug'](_0x1e3e66(0x22d)+_0x43d0a3+_0x1e3e66(0x225)+_0x38b58d);const _0x2623ca={'url':await _0x38b58d[_0x1e3e66(0x261)](),'testhub_btcer_uuid':global[_0x1e3e66(0x25c)]?.[_0x1e3e66(0x26b)]?.['id']};if(global[_0x1e3e66(0x22e)])return await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x1e3e66(0x26a)],async()=>{const _0x58d7fb=_0x1e3e66,_0x1be696={};_0x1be696['command']=_0x43d0a3;const _0x3088f9=_0x1be696;_0x3fe7db&&_0x3fe7db['includePartOfPageScope']&&(_0x3088f9['includePartOfPageScope']=_0x3fe7db[_0x58d7fb(0x24d)]);Object[_0x58d7fb(0x21b)](_0x3088f9,_0x23c454);const _0x3d2405=await exports['browserStackEvaluate'](_0x38b58d,scripts[_0x58d7fb(0x216)],_0x3088f9);return _0x3d2405;},{'command':_0x43d0a3,..._0x2623ca})();},exports[a42_0x2a31a1(0x253)]=async _0x520d70=>{const _0x54806c=a42_0x2a31a1,_0x4e7f60={};_0x4e7f60['PbQDb']=_0x54806c(0x215),_0x4e7f60['IOmlb']=_0x54806c(0x252);const _0x19fd7f=_0x4e7f60;if(global[_0x54806c(0x22e)])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(_0x520d70,scripts.performScan,mobileArgs)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x520d70,scripts.getResultsSummary,mobileArgs);})();return summaryResults;}catch{return logger['debug'](_0x19fd7f[_0x54806c(0x26c)]),{};}else return logger[_0x54806c(0x223)](_0x19fd7f[_0x54806c(0x213)]),{};},exports[a42_0x2a31a1(0x248)]=_0x139bc5=>{const _0x4b8137=a42_0x2a31a1,_0x2b0da4={'heheQ':_0x4b8137(0x1ff),'MjFfz':_0x4b8137(0x271),'mlOHa':function(_0x4cf69c,_0x1809b2){return _0x4cf69c!==_0x1809b2;},'SCSxe':_0x4b8137(0x232),'FJCDh':function(_0x41c129){return _0x41c129();},'uuqrd':_0x4b8137(0x24e)};try{if(global['isMobilePlatform'])return logger[_0x4b8137(0x224)](_0x2b0da4['heheQ']),!![];const _0x415372=_0x139bc5[_0x4b8137(0x203)],_0xc6ce47=_0x139bc5[_0x4b8137(0x214)];if(!accessibilityHelper[_0x4b8137(0x21f)](_0x415372))return logger[_0x4b8137(0x223)](_0x2b0da4[_0x4b8137(0x257)]),![];if(_0x2b0da4['mlOHa'](_0xc6ce47,_0x2b0da4[_0x4b8137(0x250)])){const _0x5a3e1a=_0x2b0da4[_0x4b8137(0x25a)](isBrowserstackInfra),_0x19b6f0=accessibilityHelper['getMinVersionForBrowser'](_0x415372,_0x5a3e1a),_0x2a5c9b=accessibilityHelper[_0x4b8137(0x231)](_0x415372);if(!accessibilityHelper[_0x4b8137(0x20b)](_0xc6ce47,_0x19b6f0)){const _0x409c75=_0x5a3e1a?'':_0x2b0da4[_0x4b8137(0x1f8)];return logger[_0x4b8137(0x223)](_0x4b8137(0x219)+_0x2a5c9b+'\x20browser\x20version\x20'+_0x19b6f0+'\x20or\x20higher\x20'+_0x409c75+'.'),![];}}}catch(_0x4d037c){logger[_0x4b8137(0x224)]('Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20'+util[_0x4b8137(0x234)](_0x4d037c));}return!![];},exports[a42_0x2a31a1(0x23b)]=(_0x4e70e9,_0x3e51a7,_0x3f353d)=>{const _0x15543f=a42_0x2a31a1,_0xc31fba={'BiOEa':'browserstack.accessibilityOptions','qMhkz':function(_0x37c1e5){return _0x37c1e5();},'EzfGY':'browserstack.accessibility','MhIoJ':_0x15543f(0x271),'hfRRJ':function(_0x5acddf,_0x3c1671){return _0x5acddf!==_0x3c1671;},'mWwPJ':'latest','xgiBC':function(_0x2f464f){return _0x2f464f();},'pEzBi':_0x15543f(0x24e),'AFvlb':function(_0x431f8f,_0xa8bc19){return _0x431f8f(_0xa8bc19);},'uQNwG':function(_0x4be6ad,_0x1aa8dc){return _0x4be6ad===_0x1aa8dc;},'xlNku':'android','UHSry':'chrome','YQuNm':_0x15543f(0x274),'aUMoN':_0x15543f(0x20e),'bhHnP':_0x15543f(0x239),'NAdoN':function(_0x34b33d,_0x8c93b7){return _0x34b33d+_0x8c93b7;},'KSqIC':function(_0x7476d3,_0x1cbcf4){return _0x7476d3(_0x1cbcf4);}};try{if(_0xc31fba[_0x15543f(0x21e)](isAccessibilityAutomationSession)){global[_0x15543f(0x22e)]=!![];!_0x4e70e9[_0xc31fba[_0x15543f(0x20a)]]&&(global[_0x15543f(0x22e)]=![]);const _0x40696b=_0x4e70e9['browserName']||_0x4e70e9['browser'],_0x5058aa=_0x4e70e9[_0x15543f(0x214)];!accessibilityHelper[_0x15543f(0x21f)](_0x40696b)&&(logger[_0x15543f(0x223)](_0xc31fba['MhIoJ']),global[_0x15543f(0x22e)]=![]);if(_0xc31fba[_0x15543f(0x26d)](_0x5058aa,_0xc31fba[_0x15543f(0x247)])){const _0x6c90d6=_0xc31fba[_0x15543f(0x221)](isBrowserstackInfra),_0x3a119b=accessibilityHelper[_0x15543f(0x202)](_0x40696b,_0x6c90d6),_0x566e4c=accessibilityHelper[_0x15543f(0x231)](_0x40696b);if(!accessibilityHelper[_0x15543f(0x20b)](_0x5058aa,_0x3a119b)){const _0x2b62d2=_0x6c90d6?'':_0xc31fba['pEzBi'];logger[_0x15543f(0x223)](_0x15543f(0x219)+_0x566e4c+_0x15543f(0x25f)+_0x3a119b+'\x20or\x20higher\x20'+_0x2b62d2+'.'),global[_0x15543f(0x22e)]=![];}}if(!_0xc31fba[_0x15543f(0x263)](isUndefined,_0x4e70e9[_0x15543f(0x23f)])){const _0x4dbec6=(_0x4e70e9['os']||'')[_0x15543f(0x1fd)](),_0x396650=(_0x4e70e9['browserName']||_0x4e70e9['browser']||'')['toLowerCase'](),_0x4e97a5=_0xc31fba[_0x15543f(0x249)](_0x4dbec6,_0xc31fba['xlNku'])&&[_0xc31fba[_0x15543f(0x1fc)],_0xc31fba['YQuNm'],_0xc31fba[_0x15543f(0x22f)]][_0x15543f(0x212)](_0x396650);if(!_0x4e97a5)logger[_0x15543f(0x223)](_0xc31fba[_0x15543f(0x238)]),global[_0x15543f(0x22e)]=![];else!accessibilityHelper[_0x15543f(0x1fb)]()&&(logger[_0x15543f(0x223)](accessibilityHelper['MOBILE_SCANNING_DISABLED_WARNING']),global[_0x15543f(0x22e)]=![]);}if(!global[_0x15543f(0x22e)]){_0x4e70e9[_0xc31fba[_0x15543f(0x20a)]]=![],Object[_0x15543f(0x241)](_0x4e70e9)['forEach'](_0x1f37ef=>{const _0x4555db=_0x15543f;_0x1f37ef[_0x4555db(0x235)](_0xc31fba[_0x4555db(0x237)])&&delete _0x4e70e9[_0x1f37ef];});const _0x352c09=_0xc31fba[_0x15543f(0x20d)](_0x3e51a7,_0xc31fba[_0x15543f(0x24a)](encodeURIComponent,JSON[_0x15543f(0x227)](_0x4e70e9)));_0x3f353d&&(_0x3f353d[_0x15543f(0x26b)][_0x15543f(0x258)]['project'][_0x15543f(0x26e)][_0x15543f(0x262)]['wsEndpoint']=_0x352c09,_0x3f353d['workerInfo']['project'][_0x15543f(0x26e)][_0x15543f(0x262)][_0x15543f(0x228)]=_0x352c09);}}else global[_0x15543f(0x22e)]=![];}catch(_0x471acb){logger[_0x15543f(0x224)](_0x15543f(0x24f)+util[_0x15543f(0x234)](_0x471acb));}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a43_0xbf86(_0x300971,_0x402d0c){const _0x1dd559=a43_0x1dd5();return a43_0xbf86=function(_0xbf86e5,_0x3986f7){_0xbf86e5=_0xbf86e5-0x1a7;let _0x5a12d9=_0x1dd559[_0xbf86e5];return _0x5a12d9;},a43_0xbf86(_0x300971,_0x402d0c);}function a43_0x1dd5(){const _0x4a56fb=['4181464MVIXpn','lkxtL','588TxYHtY','isRunning','has','--disable-browserstack-automation','QhwTH','qsVCE','exitCode','../../helpers/logger','TAaij','bxQxU','debug','automation','rmrIw','uUMsW','path','clearTempPWConfig','Error\x20in\x20getting\x20funnel\x20data\x20results','platform','858102fLrNVU','dirname','SDK_POST_INITIALIZE','YVZml','taOOR','YYjWi','accessibility','stringify','pWZSZ','writeFileSync','getConfigPath','jBSOV','anuHL','getInstance','requirePWModule','--grep','testContextOptions','slice','reportFinalDetectionState','Playwright\x20process\x20exited\x20with\x20code\x20','aKCne','3467336Wneixk','filter','skIlc','vWPKn','SDK_CLEANUP','apply','BROWSERSTACK_TEST_OBSERVABILITY','../../helpers/testhub/testhubHandler','JPFtC','FZTnq','requireConfigLoaderYarnPnP','46054503MEhKzP','VdNGw','pRboT','push','USER_CONFIG_DETAILS_PATH','--config=','dNvlu','reportDotBrowserStackFolderNotAccessibleIssue','JdRAu','../../helpers/performance/constants','SpAqh','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','BROWSERSTACK_TEST_ACCESSIBILITY_YML','yarn','rofbp','split','jAYfZ','accessSync','npx','start','eBhzQ','GCULr','brpUJ','forEach','ybaug','isUndefined','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','UDYKt','./reporter/test-details','readdirSync','inherit','join','homedir','isYarnPnP','GztLC','SDK_SETUP','measureWrapper','INTERNALLY_USED_ENV_VARS','jHXEp','LqQtb','playwright','unlinkSync','../../helpers/performance/performance-tester','../../helpers/test-observability/utils','cliConfig','eUhHx','validateRerunTestList','info','playwright-browserstack-sdk.config.cjs','../../helpers/BrowserStackSetup','get','PACKAGE_TYPE','isTrue','hJSBa','../../helpers/helper','SDK_PRE_INITIALIZE','isFalse','cwd','BROWSERSTACK_RERUN','Deleting\x20','../v2/cliUtils','Updated\x20config\x20file\x20name\x20to\x20-\x20','246eCdvjS','\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();','1669334merPYK','splice','startsWith','length','nestedKeyValue','isCLIEnabled','testObservability','indexOf','accessibilityOptions','skipSessionName','exports','\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','R_OK','BROWSERSTACK_SETUP_CONFIG_PATH','constants','setFrameworkDetail','browserstackAutomation','parse','false','3342CdEpUe','../../helpers/utilities','test','shutdown','reportConflictingEnvVarIssue','xuRwp','resolvedConfigFile','kvYkX','52685BiPeAZ','cSDWk','config','Error\x20in\x20closing\x20playwright','ogObO','resolve','gywAE','BROWSERSTACK_AUTOMATION','../utils/clientTroubleshootingService','stMmQ','assign','PLAYWRIGHT','Error\x20in\x20accessing\x20.browserstack\x20directory:\x20','trim','.browserstack','playwright-browserstack-sdk.config.js','trace_','win32','iTEsf','child_process','CDdGE','orqEd','Proxy\x20url\x20:\x20','Error\x20in\x20deleting\x20playwright\x20results','BhDVP','hQjrM','BBrGW','existsSync','winstonLogger','MODULE','--config','ysLve','./reporter/pwUtils','fOgjh','getConfig','W_OK','launchBuild','--disable-test-observability','browserstackSetupConfig.json','logLevel','env'];a43_0x1dd5=function(){return _0x4a56fb;};return a43_0x1dd5();}const a43_0x2adca4=a43_0xbf86;(function(_0x413767,_0x45176c){const _0x1574f2=a43_0xbf86,_0x108426=_0x413767();while(!![]){try{const _0x3a3518=-parseInt(_0x1574f2(0x1b5))/0x1+parseInt(_0x1574f2(0x1b3))/0x2*(-parseInt(_0x1574f2(0x1c9))/0x3)+-parseInt(_0x1574f2(0x1fa))/0x4+parseInt(_0x1574f2(0x1d1))/0x5*(-parseInt(_0x1574f2(0x1fc))/0x6)+parseInt(_0x1574f2(0x20e))/0x7+-parseInt(_0x1574f2(0x223))/0x8+parseInt(_0x1574f2(0x22e))/0x9;if(_0x3a3518===_0x45176c)break;else _0x108426['push'](_0x108426['shift']());}catch(_0x1542b0){_0x108426['push'](_0x108426['shift']());}}}(a43_0x1dd5,0xe1184));const fs=require('fs'),path=require(a43_0x2adca4(0x20a)),{spawn}=require(a43_0x2adca4(0x1e4)),{format}=require('util'),logger=require(a43_0x2adca4(0x203))[a43_0x2adca4(0x1ed)],{default:BrowserStackSetup}=require(a43_0x2adca4(0x25f)),helper=require(a43_0x2adca4(0x1ab)),utilities=require(a43_0x2adca4(0x1ca)),constants=require(a43_0x2adca4(0x1c1)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getConfigLoaderPath}=require(a43_0x2adca4(0x1f1)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities}=require('./accessibility-helper'),{printBuildLink}=require(a43_0x2adca4(0x259)),TestDetails=require(a43_0x2adca4(0x24a)),TestHubHandler=require(a43_0x2adca4(0x22a)),PerformanceTester=require(a43_0x2adca4(0x258)),BrowserstackCLI=require('../v2/browserstackCLI'),PerformanceEvents=require(a43_0x2adca4(0x237))['EVENTS'],CLIUtils=require(a43_0x2adca4(0x1b1)),TestInfo=require('../v2/TestInfo'),ClientTroubleShootingService=require(a43_0x2adca4(0x1d9)),getUserPlaywrightConfig=async(_0x48425f,_0x43f402)=>{const _0x401262=a43_0x2adca4,_0x11e9c0={'vWPKn':function(_0x8e018c){return _0x8e018c();},'RYlZO':function(_0x4f3226){return _0x4f3226();},'eBhzQ':function(_0x5f3df3,_0x349668){return _0x5f3df3(_0x349668);},'SpAqh':_0x401262(0x1cf),'UDYKt':_0x401262(0x233)},_0x13c0ba=!helper[_0x401262(0x247)](_0x48425f[_0x401262(0x1d3)]),_0x20bf1b=_0x13c0ba?path[_0x401262(0x1d6)](process['cwd'](),_0x48425f['config']):process[_0x401262(0x1ae)](),{resolveConfigFile:_0x4e95bb,resolveConfigLocation:_0x6f6e1e}=helper[_0x401262(0x24f)]()?helper[_0x401262(0x22d)](..._0x11e9c0[_0x401262(0x226)](getConfigLoaderPath)):helper[_0x401262(0x21c)][_0x401262(0x228)](null,_0x11e9c0['RYlZO'](getConfigLoaderPath)),_0x33274f=_0x4e95bb?_0x11e9c0[_0x401262(0x242)](_0x4e95bb,_0x20bf1b):helper[_0x401262(0x1b9)](_0x11e9c0['eBhzQ'](_0x6f6e1e,_0x20bf1b),[_0x11e9c0[_0x401262(0x238)]]),_0x505702={};if(_0x13c0ba){const _0x125719=_0x43f402['findIndex'](_0xdbe318=>_0xdbe318===_0x401262(0x1ef)||_0xdbe318==='-c'||_0xdbe318[_0x401262(0x1b7)](_0x401262(0x233)));_0x43f402[_0x401262(0x1b6)](_0x125719,_0x43f402[_0x125719][_0x401262(0x1b7)](_0x11e9c0[_0x401262(0x249)])?0x1:0x2);}const _0x23350b={};return _0x23350b[_0x401262(0x20a)]=_0x33274f,_0x23350b['config']=_0x505702,_0x23350b;},handleO11yRerun=_0x408ff0=>{const _0xed9861=a43_0x2adca4,_0xf52ffe={};_0xf52ffe['brpUJ']=_0xed9861(0x21d);const _0x420c8e=_0xf52ffe,_0x42fb2a=helper[_0xed9861(0x1a9)](process['env'][_0xed9861(0x1af)]);if(_0x42fb2a){const _0x5d76c8=process[_0xed9861(0x1f9)]['BROWSERSTACK_RERUN_TESTS'],_0x5f10de=[];if(helper[_0xed9861(0x25c)](_0x5d76c8)&&!helper[_0xed9861(0x247)](_0x5d76c8)){_0x5d76c8[_0xed9861(0x23d)](',')['map'](_0x3cbd50=>{const _0x2e04fe=_0xed9861;_0x5f10de[_0x2e04fe(0x231)]('('+_0x3cbd50[_0x2e04fe(0x1de)]()+')');});const _0x4884a1='^'+_0x5f10de['join']('|')+'$';_0x408ff0[_0xed9861(0x231)](_0x420c8e[_0xed9861(0x244)],_0x4884a1);}}},spawnOriginalProcess=_0x1b2e07=>{const _0x396b57=a43_0x2adca4,_0x35a795={'uUMsW':function(_0x48593,_0x1de44d,_0x4a5a92,_0x193da2){return _0x48593(_0x1de44d,_0x4a5a92,_0x193da2);},'JPFtC':_0x396b57(0x23b),'CDdGE':_0x396b57(0x240),'xuRwp':_0x396b57(0x256),'FurUj':function(_0x183cf7,_0x4c0b0d){return _0x183cf7===_0x4c0b0d;},'cSDWk':_0x396b57(0x1e2),'ysLve':'inherit'};_0x35a795[_0x396b57(0x209)](spawn,helper[_0x396b57(0x24f)]()?_0x35a795[_0x396b57(0x22b)]:_0x35a795[_0x396b57(0x1e5)],[_0x35a795[_0x396b57(0x1ce)],..._0x1b2e07[_0x396b57(0x21f)](0x1)],{'shell':_0x35a795['FurUj'](process[_0x396b57(0x20d)],_0x35a795[_0x396b57(0x1d2)]),'stdio':_0x35a795[_0x396b57(0x1f0)],'cwd':process['cwd']()});},isTestCommand=(_0x333617,_0xaa6e08)=>{const _0xb99e9e=a43_0x2adca4,_0x1f6654={};_0x1f6654[_0xb99e9e(0x200)]=function(_0x4fc363,_0x1a3b9d){return _0x4fc363>_0x1a3b9d;},_0x1f6654['ogObO']=function(_0x2132be,_0x491e7d){return _0x2132be===_0x491e7d;},_0x1f6654[_0xb99e9e(0x250)]=_0xb99e9e(0x1cb);const _0x15d21d=_0x1f6654;if(_0x15d21d[_0xb99e9e(0x200)](_0xaa6e08['length'],0x1)&&_0x15d21d[_0xb99e9e(0x1d5)](_0xaa6e08[0x1],_0x15d21d[_0xb99e9e(0x250)]))return!![];return![];};async function run(_0x200ba0,_0xf802da,_0x2d7b17){const _0x34b380=a43_0x2adca4,_0x1543e3={'stMmQ':_0x34b380(0x1df),'rmrIw':function(_0x350616){return _0x350616();},'TAaij':function(_0x9c9c88){return _0x9c9c88();},'rofbp':function(_0x19dd38,_0x5f0834){return _0x19dd38+_0x5f0834;},'jAYfZ':_0x34b380(0x1d4),'ybaug':function(_0x4f082a,_0x5be87b){return _0x4f082a(_0x5be87b);},'jHXEp':'pw_result.json','jBSOV':function(_0x3c1301,_0x47dd4b){return _0x3c1301+_0x47dd4b;},'orqEd':_0x34b380(0x20c),'voXwf':'BrowserStack\x20config\x20file\x20not\x20found.','lkxtL':function(_0x8b071a,_0xd75228){return _0x8b071a<_0xd75228;},'bxQxU':function(_0xf8aac4,_0x5a73ca){return _0xf8aac4===_0x5a73ca;},'iTEsf':_0x34b380(0x1c8),'XNplz':_0x34b380(0x1f6),'YVZml':function(_0x1d37a5,_0x5aa78c){return _0x1d37a5>=_0x5aa78c;},'TGWAZ':_0x34b380(0x207),'iZWyp':function(_0x356a2c,_0x31a046){return _0x356a2c!=_0x31a046;},'FZTnq':function(_0x4bbf6a,_0x1f2b12,_0x4a5ce9){return _0x4bbf6a(_0x1f2b12,_0x4a5ce9);},'dNvlu':'true','uqLSU':_0x34b380(0x1f7),'skIlc':_0x34b380(0x25e),'fOgjh':_0x34b380(0x1e0),'pRboT':function(_0xe8a284,_0x47e088){return _0xe8a284-_0x47e088;},'LqQtb':_0x34b380(0x1b2),'aZyFW':function(_0x57a2e4,_0x9d6725){return _0x57a2e4>_0x9d6725;},'eUhHx':function(_0x53b387,_0x4d0b7b,_0x2c63c8,_0x1ae8ec){return _0x53b387(_0x4d0b7b,_0x2c63c8,_0x1ae8ec);},'hJSBa':_0x34b380(0x23b),'GCULr':_0x34b380(0x240),'anuHL':_0x34b380(0x256),'kvYkX':'test','gywAE':'--config','hQjrM':function(_0x1de91f,_0x4ee8b5){return _0x1de91f===_0x4ee8b5;},'BBrGW':_0x34b380(0x1e2),'gIgTF':function(_0x1e6929,_0x38d3dd){return _0x1e6929===_0x38d3dd;},'taOOR':_0x34b380(0x24c),'BhDVP':'close','JdRAu':function(_0x24deb1,_0x325276){return _0x24deb1|_0x325276;},'qsVCE':function(_0x168fd5,_0x335495){return _0x168fd5+_0x335495;},'YYjWi':_0x34b380(0x1dd),'qHQPb':_0x34b380(0x1e8)};try{const _0x40337c=path[_0x34b380(0x24d)](helper['homedir'](),_0x1543e3[_0x34b380(0x1da)]);try{fs[_0x34b380(0x23f)](_0x40337c,_0x1543e3[_0x34b380(0x236)](fs[_0x34b380(0x1c4)][_0x34b380(0x1c2)],fs['constants'][_0x34b380(0x1f4)]));}catch(_0x357aab){ClientTroubleShootingService[_0x34b380(0x235)]();}}catch(_0x4d59fd){logger[_0x34b380(0x206)](_0x1543e3[_0x34b380(0x201)](_0x1543e3[_0x34b380(0x213)],_0x4d59fd));}try{const _0x571270=path[_0x34b380(0x24d)](helper[_0x34b380(0x24e)](),_0x1543e3[_0x34b380(0x1da)],_0x1543e3[_0x34b380(0x254)]);fs[_0x34b380(0x1ec)](_0x571270)&&fs['unlinkSync'](_0x571270);}catch(_0x1ab7b5){logger['debug'](_0x1543e3[_0x34b380(0x201)](_0x1543e3['qHQPb'],_0x1ab7b5));}if(!_0x1543e3[_0x34b380(0x22c)](isTestCommand,_0x200ba0,_0xf802da)){_0x1543e3[_0x34b380(0x246)](spawnOriginalProcess,_0xf802da);return;}await PerformanceTester[_0x34b380(0x252)](PerformanceEvents[_0x34b380(0x1ac)],async()=>{const _0x38fbc2=_0x34b380,_0x2d6166={'VdNGw':function(_0x126eab,_0x15e01c){const _0x1b1563=a43_0xbf86;return _0x1543e3[_0x1b1563(0x246)](_0x126eab,_0x15e01c);},'zTGkc':_0x1543e3[_0x38fbc2(0x1da)],'JvOXH':_0x1543e3[_0x38fbc2(0x254)],'pWZSZ':function(_0x1206c7,_0x4103b9){const _0x1de092=_0x38fbc2;return _0x1543e3[_0x1de092(0x219)](_0x1206c7,_0x4103b9);},'erDcb':_0x1543e3[_0x38fbc2(0x1e6)]};if(!_0x2d7b17[_0x38fbc2(0x1d3)]){logger['error'](_0x1543e3['voXwf']);return;}await _0x2d7b17['initialize'](_0x200ba0),CLIUtils[_0x38fbc2(0x1c5)](FRAMEWORKS['PLAYWRIGHT'],FRAMEWORKS[_0x38fbc2(0x1dc)]),BrowserstackCLI[_0x38fbc2(0x21b)]()['setBrowserstackConfig'](_0x2d7b17[_0x38fbc2(0x1d3)],_0x2d7b17['configPath'],_0x2d7b17[_0x38fbc2(0x25a)]),await BrowserstackCLI[_0x38fbc2(0x21b)]()['bootstrap']();for(var _0x16cd2e=0x0;_0x1543e3[_0x38fbc2(0x1fb)](_0x16cd2e,constants['INTERNALLY_USED_ENV_VARS'][_0x38fbc2(0x1b8)]);_0x16cd2e++){var _0x34644d=constants[_0x38fbc2(0x253)][_0x16cd2e];process[_0x38fbc2(0x1f9)][_0x34644d]&&await ClientTroubleShootingService[_0x38fbc2(0x1cd)](_0x34644d);}const _0x4157d3=BrowserstackCLI[_0x38fbc2(0x21b)]()[_0x38fbc2(0x1f3)]();!helper[_0x38fbc2(0x1ad)](_0x4157d3[_0x38fbc2(0x1c6)])&&(process['env'][_0x38fbc2(0x1d8)]=!![]);_0x1543e3['bxQxU'](_0x4157d3[_0x38fbc2(0x1c6)],![])&&(process['env'][_0x38fbc2(0x1d8)]=_0x1543e3[_0x38fbc2(0x1e3)],_0xf802da=_0xf802da[_0x38fbc2(0x224)](_0x3f0ccb=>_0x3f0ccb!==_0x38fbc2(0x1ff)));const _0x24832c=_0xf802da[_0x38fbc2(0x1bc)](_0x1543e3['XNplz']);(_0x1543e3[_0x38fbc2(0x211)](_0x24832c,0x0)||_0x1543e3[_0x38fbc2(0x205)](_0x4157d3[_0x38fbc2(0x1bb)],![]))&&(process[_0x38fbc2(0x1f9)][_0x38fbc2(0x229)]=_0x1543e3[_0x38fbc2(0x1e3)],_0xf802da=_0xf802da['filter'](_0xb74b86=>_0xb74b86!=='--disable-test-observability'));!helper[_0x38fbc2(0x247)](_0x2d7b17['cliConfig'])&&_0x2d7b17[_0x38fbc2(0x25a)][_0x38fbc2(0x1fe)](_0x1543e3['TGWAZ'])&&(process[_0x38fbc2(0x1f9)][_0x38fbc2(0x1d8)]=_0x2d7b17[_0x38fbc2(0x25a)][_0x38fbc2(0x1a7)](_0x1543e3['TGWAZ'])||!![]);_0x1543e3['iZWyp'](_0x2d7b17['config'][_0x38fbc2(0x1bb)],null)&&!helper[_0x38fbc2(0x1a9)](process[_0x38fbc2(0x1f9)]['BROWSERSTACK_TEST_OBSERVABILITY'])&&(process['env'][_0x38fbc2(0x229)]=process['env'][_0x38fbc2(0x229)]||_0x2d7b17['config'][_0x38fbc2(0x1bb)]);const _0x4519f5=!helper[_0x38fbc2(0x1ad)](process['env'][_0x38fbc2(0x229)]);_0x2d7b17[_0x38fbc2(0x1d3)][_0x38fbc2(0x1bd)]&&(process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x38fbc2(0x215)](_0x2d7b17[_0x38fbc2(0x1d3)]['accessibilityOptions']));let _0x1b5ca7=![];_0x2d7b17['config'][_0x38fbc2(0x214)]&&(_0x1b5ca7=!![],process[_0x38fbc2(0x1f9)][_0x38fbc2(0x23a)]=_0x2d7b17['config']['accessibility']);const _0x538a4f=_0xf802da['concat'](),_0x56eba0=await _0x1543e3[_0x38fbc2(0x22c)](getUserPlaywrightConfig,_0x200ba0,_0xf802da);if(helper['isUndefined'](_0x56eba0)){_0x1543e3[_0x38fbc2(0x246)](spawnOriginalProcess,_0x538a4f);return;}const _0x1f66c9=_0x56eba0[_0x38fbc2(0x20a)]?path['dirname'](_0x56eba0['path']):process[_0x38fbc2(0x1ae)]();process[_0x38fbc2(0x1f9)]['BROWSERSTACK_PW_CONFIG_DIR']=_0x1f66c9,await PerformanceTester['measureWrapper'](PerformanceEvents[_0x38fbc2(0x210)],async()=>{const _0x424092=_0x38fbc2;!BrowserstackCLI['getInstance']()[_0x424092(0x1fd)]()&&await TestHubHandler[_0x424092(0x1f5)](FRAMEWORKS['PLAYWRIGHT'],_0x2d7b17),_0x4519f5&&_0x2d6166[_0x424092(0x22f)](handleO11yRerun,_0xf802da);})();if(!BrowserstackCLI[_0x38fbc2(0x21b)]()['isRunning']()){let _0x5e3f5c=_0x1543e3[_0x38fbc2(0x205)](process[_0x38fbc2(0x1f9)][_0x38fbc2(0x23a)],_0x1543e3[_0x38fbc2(0x234)]);_0x5e3f5c=_0x5e3f5c||_0x1543e3[_0x38fbc2(0x246)](checkAccessibilityPlatformConfig,_0x2d7b17['config']),process['env'][_0x38fbc2(0x23a)]=_0x5e3f5c,_0x5e3f5c&&_0x1543e3[_0x38fbc2(0x246)](setAccessibilityCapabilities,_0x2d7b17[_0x38fbc2(0x1d3)]);}const _0x1f566f=path[_0x38fbc2(0x24d)](_0x56eba0[_0x38fbc2(0x20a)]?path[_0x38fbc2(0x20f)](_0x56eba0['path']):process[_0x38fbc2(0x1ae)](),_0x1543e3['uqLSU']);fs[_0x38fbc2(0x217)](_0x1f566f,helper['serializeToYamlString'](_0x2d7b17[_0x38fbc2(0x1d3)])),process[_0x38fbc2(0x1f9)][_0x38fbc2(0x1c3)]=_0x1f566f,helper[_0x38fbc2(0x20b)]();let _0x14cd28='';_0x1543e3[_0x38fbc2(0x205)](helper['getPackageType'](),constants[_0x38fbc2(0x1a8)][_0x38fbc2(0x1ee)])?_0x14cd28=_0x1543e3[_0x38fbc2(0x225)]:_0x14cd28=_0x1543e3[_0x38fbc2(0x1f2)];let _0x568704='';if(helper['isTypescriptProject'](_0x56eba0[_0x38fbc2(0x20a)])){_0x568704=_0x38fbc2(0x248);const _0x5c9c20=_0x14cd28[_0x38fbc2(0x23d)]('.');_0x5c9c20[_0x1543e3[_0x38fbc2(0x230)](_0x5c9c20[_0x38fbc2(0x1b8)],0x1)]='ts',_0x14cd28=_0x5c9c20[_0x38fbc2(0x24d)]('.'),logger['debug'](_0x1543e3[_0x38fbc2(0x23c)](_0x1543e3[_0x38fbc2(0x255)],_0x14cd28));}else _0x568704='\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 _0x5019e5=path[_0x38fbc2(0x24d)](_0x56eba0['path']?path[_0x38fbc2(0x20f)](_0x56eba0[_0x38fbc2(0x20a)]):process[_0x38fbc2(0x1ae)](),_0x14cd28);let _0x2b5967=_0x56eba0[_0x38fbc2(0x20a)]?_0x56eba0[_0x38fbc2(0x20a)]:'';_0x2b5967=_0x1543e3['aZyFW'](_0x2b5967['length'],0x0)?path['resolve'](_0x2b5967):'',process[_0x38fbc2(0x1f9)][_0x38fbc2(0x232)]=_0x2b5967;const _0x23b209=helper['getProxyUrl'](_0x2d7b17[_0x38fbc2(0x1d3)]),_0x441bd3=helper['getNoProxy'](_0x2d7b17[_0x38fbc2(0x1d3)]);logger[_0x38fbc2(0x206)](_0x38fbc2(0x1e7)+_0x23b209),logger[_0x38fbc2(0x206)]('No\x20Proxy\x20:\x20'+_0x441bd3);_0x23b209&&(_0x568704=_0x1543e3[_0x38fbc2(0x219)](_0x38fbc2(0x239)+_0x23b209+_0x38fbc2(0x1c0)+_0x441bd3+_0x38fbc2(0x1b4),_0x568704));helper['filterBrowserstackArgs']({},_0xf802da),fs[_0x38fbc2(0x217)](_0x5019e5,_0x568704),PerformanceTester['end'](PerformanceEvents[_0x38fbc2(0x251)]);const _0x25df48=_0x1543e3[_0x38fbc2(0x25b)](spawn,helper[_0x38fbc2(0x24f)]()?_0x1543e3[_0x38fbc2(0x1aa)]:_0x1543e3[_0x38fbc2(0x243)],[_0x1543e3[_0x38fbc2(0x21a)],_0x1543e3[_0x38fbc2(0x1d0)],_0x1543e3[_0x38fbc2(0x1d7)],_0x1543e3[_0x38fbc2(0x1ea)](process[_0x38fbc2(0x20d)],_0x1543e3['BBrGW'])?'\x22'+_0x5019e5+'\x22':_0x5019e5,..._0xf802da[_0x38fbc2(0x21f)](0x2)],{'shell':_0x1543e3['gIgTF'](process['platform'],_0x1543e3[_0x38fbc2(0x1eb)]),'stdio':_0x1543e3[_0x38fbc2(0x212)],'cwd':process[_0x38fbc2(0x1ae)](),'env':Object[_0x38fbc2(0x1db)]({},process[_0x38fbc2(0x1f9)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x38fbc2(0x218)](_0x200ba0),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x2d7b17[_0x38fbc2(0x1d3)][_0x38fbc2(0x21e)]['skipSessionStatus'],'BROWSERSTACK_SKIP_SESSION_NAME':_0x2d7b17['config'][_0x38fbc2(0x21e)][_0x38fbc2(0x1be)],'BROWSERSTACK_LOG_LEVEL':_0x2d7b17[_0x38fbc2(0x1d3)][_0x38fbc2(0x1f8)]})}),_0xb13e07=()=>{const _0x63ec5a=_0x38fbc2;try{const _0x5a8fc6=path[_0x63ec5a(0x24d)](helper[_0x63ec5a(0x24e)](),_0x2d6166['zTGkc'],_0x2d6166['JvOXH']);if(fs['existsSync'](_0x5a8fc6)){let _0x149105=fs['readFileSync'](_0x5a8fc6);_0x149105=JSON[_0x63ec5a(0x1c7)](_0x149105),_0x2d7b17['errorMessage']=_0x149105,fs[_0x63ec5a(0x257)](_0x5a8fc6);}}catch(_0xcd55cf){logger[_0x63ec5a(0x206)](_0x2d6166[_0x63ec5a(0x216)](_0x2d6166['erDcb'],_0xcd55cf));}};_0x25df48['on'](_0x1543e3[_0x38fbc2(0x1e9)],async _0xdd298=>{const _0x3958a1=_0x38fbc2,_0x221e2d={};_0x221e2d[_0x3958a1(0x222)]=_0x1543e3[_0x3958a1(0x1da)];const _0x3b95be=_0x221e2d;try{PerformanceTester[_0x3958a1(0x241)](PerformanceEvents[_0x3958a1(0x227)]),_0x1543e3[_0x3958a1(0x208)](_0xb13e07),await TestHubHandler['stop'](),await ClientTroubleShootingService[_0x3958a1(0x220)]();const _0x54cf04=BrowserstackCLI[_0x3958a1(0x1ba)]();await BrowserstackCLI[_0x3958a1(0x21b)]()['stop'](),TestDetails[_0x3958a1(0x1cc)](),_0x1543e3[_0x3958a1(0x204)](printBuildLink),await utilities['finalExecution'](_0x2d7b17,_0x54cf04),process[_0x3958a1(0x202)]=_0xdd298,logger[_0x3958a1(0x206)](_0x3958a1(0x221)+_0xdd298),logger[_0x3958a1(0x25d)](_0x3958a1(0x1b0)+_0x5019e5),fs[_0x3958a1(0x257)](_0x5019e5);fs[_0x3958a1(0x1ec)](_0x1f566f)&&(logger[_0x3958a1(0x206)](_0x3958a1(0x1b0)+_0x1f566f),fs[_0x3958a1(0x257)](_0x1f566f));const _0x4d0be3=fs[_0x3958a1(0x24b)](path['join'](helper[_0x3958a1(0x24e)](),_0x1543e3['stMmQ']))[_0x3958a1(0x224)](_0x565f59=>_0x565f59['startsWith'](_0x3958a1(0x1e1)));_0x4d0be3[_0x3958a1(0x245)](_0x2184ac=>{const _0x353a59=_0x3958a1;fs[_0x353a59(0x257)](path[_0x353a59(0x24d)](helper['homedir'](),_0x3b95be[_0x353a59(0x222)],_0x2184ac));});}catch(_0x5eb080){logger[_0x3958a1(0x206)](_0x1543e3[_0x3958a1(0x23c)](_0x1543e3[_0x3958a1(0x23e)],_0x5eb080));}});})();}module[a43_0x2adca4(0x1bf)]=run;
2
+ 'use strict';const a43_0xe653a7=a43_0x395e;(function(_0xcf1dd6,_0x435c1b){const _0x48935a=a43_0x395e,_0xb78e77=_0xcf1dd6();while(!![]){try{const _0x28c097=parseInt(_0x48935a(0xa3))/0x1+parseInt(_0x48935a(0xf3))/0x2*(-parseInt(_0x48935a(0xec))/0x3)+parseInt(_0x48935a(0x11a))/0x4+-parseInt(_0x48935a(0x125))/0x5+parseInt(_0x48935a(0x11b))/0x6+parseInt(_0x48935a(0x138))/0x7+parseInt(_0x48935a(0xb7))/0x8*(parseInt(_0x48935a(0x10a))/0x9);if(_0x28c097===_0x435c1b)break;else _0xb78e77['push'](_0xb78e77['shift']());}catch(_0x29532b){_0xb78e77['push'](_0xb78e77['shift']());}}}(a43_0x1d1e,0x795bf));function a43_0x395e(_0x47e612,_0x30c9e4){const _0x1d1ec8=a43_0x1d1e();return a43_0x395e=function(_0x395e72,_0x345cfd){_0x395e72=_0x395e72-0x7c;let _0x3a79f6=_0x1d1ec8[_0x395e72];return _0x3a79f6;},a43_0x395e(_0x47e612,_0x30c9e4);}const fs=require('fs'),path=require('path'),{spawn}=require(a43_0xe653a7(0xd5)),{format}=require(a43_0xe653a7(0xa8)),logger=require('../../helpers/logger')[a43_0xe653a7(0x91)],{default:BrowserStackSetup}=require(a43_0xe653a7(0xf9)),helper=require(a43_0xe653a7(0x9f)),utilities=require('../../helpers/utilities'),constants=require(a43_0xe653a7(0xf1)),{FRAMEWORKS}=require(a43_0xe653a7(0x95)),{getConfigLoaderPath}=require(a43_0xe653a7(0xd0)),{checkAccessibilityPlatformConfig}=require(a43_0xe653a7(0x8c)),{setAccessibilityCapabilities}=require('./accessibility-helper'),{printBuildLink}=require('../../helpers/test-observability/utils'),TestDetails=require(a43_0xe653a7(0x123)),TestHubHandler=require(a43_0xe653a7(0xea)),PerformanceTester=require(a43_0xe653a7(0xf0)),BrowserstackCLI=require(a43_0xe653a7(0x12c)),PerformanceEvents=require(a43_0xe653a7(0x86))[a43_0xe653a7(0x110)],CLIUtils=require(a43_0xe653a7(0xfa)),TestInfo=require('../v2/TestInfo'),ClientTroubleShootingService=require(a43_0xe653a7(0xb8)),getUserPlaywrightConfig=async(_0x2b91fb,_0xdb7f2c)=>{const _0xaf03cc=a43_0xe653a7,_0x5cc6ab={'yAbiS':function(_0x2e0350){return _0x2e0350();},'XoavT':function(_0xcd5f90){return _0xcd5f90();},'BlrIL':function(_0x56067b,_0x22f295){return _0x56067b(_0x22f295);},'amYZi':function(_0x44a8c2,_0x5abdd2){return _0x44a8c2(_0x5abdd2);},'NITic':'resolvedConfigFile','hLXYF':_0xaf03cc(0xf7)},_0x1024be=!helper[_0xaf03cc(0x85)](_0x2b91fb[_0xaf03cc(0xbf)]),_0x480b95=_0x1024be?path[_0xaf03cc(0x124)](process[_0xaf03cc(0x8e)](),_0x2b91fb[_0xaf03cc(0xbf)]):process[_0xaf03cc(0x8e)](),{resolveConfigFile:_0x2ac3ed,resolveConfigLocation:_0x2271c5}=helper[_0xaf03cc(0x11c)]()?helper[_0xaf03cc(0x12e)](..._0x5cc6ab[_0xaf03cc(0x108)](getConfigLoaderPath)):helper['requirePWModule'][_0xaf03cc(0x7c)](null,_0x5cc6ab[_0xaf03cc(0xe1)](getConfigLoaderPath)),_0x77944e=_0x2ac3ed?_0x5cc6ab[_0xaf03cc(0xc6)](_0x2ac3ed,_0x480b95):helper['nestedKeyValue'](_0x5cc6ab['amYZi'](_0x2271c5,_0x480b95),[_0x5cc6ab[_0xaf03cc(0xf8)]]),_0x17ac5a={};if(_0x1024be){const _0x2659f3=_0xdb7f2c[_0xaf03cc(0x12a)](_0x27cdd7=>_0x27cdd7===_0xaf03cc(0x81)||_0x27cdd7==='-c'||_0x27cdd7['startsWith'](_0xaf03cc(0xf7)));_0xdb7f2c['splice'](_0x2659f3,_0xdb7f2c[_0x2659f3]['startsWith'](_0x5cc6ab[_0xaf03cc(0x80)])?0x1:0x2);}const _0x182630={};return _0x182630[_0xaf03cc(0xd8)]=_0x77944e,_0x182630[_0xaf03cc(0xbf)]=_0x17ac5a,_0x182630;},handleO11yRerun=_0x1fc747=>{const _0x378de3=a43_0xe653a7,_0x4d660c={};_0x4d660c['kQHcF']=_0x378de3(0xae);const _0x30a1b9=_0x4d660c,_0x14ef3f=helper['isTrue'](process[_0x378de3(0x10c)][_0x378de3(0xd9)]);if(_0x14ef3f){const _0x47a93e=process[_0x378de3(0x10c)][_0x378de3(0xd4)],_0x4d8c95=[];if(helper[_0x378de3(0xb1)](_0x47a93e)&&!helper[_0x378de3(0x85)](_0x47a93e)){_0x47a93e['split'](',')[_0x378de3(0xfb)](_0x38e20b=>{const _0x506f7b=_0x378de3;_0x4d8c95['push']('('+_0x38e20b[_0x506f7b(0x90)]()+')');});const _0x4b60af='^'+_0x4d8c95['join']('|')+'$';_0x1fc747[_0x378de3(0x10e)](_0x30a1b9['kQHcF'],_0x4b60af);}}},spawnOriginalProcess=_0x692aca=>{const _0x24fdb1=a43_0xe653a7,_0x300212={'fqCDX':function(_0x1417b3,_0x518294,_0x3a5557,_0x5be38d){return _0x1417b3(_0x518294,_0x3a5557,_0x5be38d);},'QxLVR':_0x24fdb1(0xde),'zWZqU':_0x24fdb1(0x9b),'aObfx':_0x24fdb1(0x128),'wcETI':function(_0x586769,_0x3bad44){return _0x586769===_0x3bad44;},'VadpO':'win32','GlrCU':_0x24fdb1(0x134)};_0x300212['fqCDX'](spawn,helper['isYarnPnP']()?_0x300212['QxLVR']:_0x300212[_0x24fdb1(0x114)],[_0x300212[_0x24fdb1(0x99)],..._0x692aca[_0x24fdb1(0x97)](0x1)],{'shell':_0x300212[_0x24fdb1(0x104)](process[_0x24fdb1(0xbd)],_0x300212[_0x24fdb1(0xb5)]),'stdio':_0x300212['GlrCU'],'cwd':process[_0x24fdb1(0x8e)]()});},isTestCommand=(_0x1e4715,_0x457884)=>{const _0x54688d=a43_0xe653a7,_0x139d21={};_0x139d21['IdGvJ']=function(_0x140225,_0x344370){return _0x140225>_0x344370;},_0x139d21['OEYmG']=function(_0x1375c5,_0x343eef){return _0x1375c5===_0x343eef;},_0x139d21[_0x54688d(0xad)]=_0x54688d(0xc5);const _0x2c0e76=_0x139d21;if(_0x2c0e76[_0x54688d(0x102)](_0x457884[_0x54688d(0x11e)],0x1)&&_0x2c0e76[_0x54688d(0xe0)](_0x457884[0x1],_0x2c0e76[_0x54688d(0xad)]))return!![];return![];};function a43_0x1d1e(){const _0x5de64b=['../../helpers/test-observability/constants','Playwright\x20process\x20exited\x20with\x20code\x20','slice','mgnoe','aObfx','PSrwa','npx','forEach','accessibilityOptions','constants','../../helpers/helper','filter','jUTAF','launchBuild','690463lWcGfn','SDK_CLEANUP','KvLox','shutdown','BROWSERSTACK_TEST_OBSERVABILITY','util','TOyxz','skipSessionName','IKCPm','wavKT','sKUGn','--grep','EPGrt','cCBDt','validateRerunTestList','eYJuT','serializeToYamlString','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','VadpO','readFileSync','40NLsnYV','../utils/clientTroubleshootingService','Proxy\x20url\x20:\x20','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','VdFUG','writeFileSync','platform','SDK_POST_INITIALIZE','config','indexOf','PLAYWRIGHT','isRunning','unlinkSync','getConfig','test','BlrIL','has','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','R_OK','nALLS','.browserstack','browserstackSetupConfig.json','info','Ciouq','RPgoO','./reporter/pwUtils','get','exitCode','getConfigPath','BROWSERSTACK_RERUN_TESTS','child_process','RUmOs','MODULE','path','BROWSERSTACK_RERUN','cliConfig','getInstance','BROWSERSTACK_AUTOMATION','gJzza','yarn','existsSync','OEYmG','XoavT','initialize','PpulR','Error\x20in\x20closing\x20playwright','playwright-browserstack-sdk.config.js','ptOyn','assign','imRaR','PACKAGE_TYPE','../../helpers/testhub/testhubHandler','iwVpg','6159BCIKDP','BrowserStack\x20config\x20file\x20not\x20found.','RfhWF','isCLIEnabled','../../helpers/performance/performance-tester','../utils/constants','isTypescriptProject','922bKIXyf','measureWrapper','aGPpm','bLyTP','--config=','NITic','../../helpers/BrowserStackSetup','../v2/cliUtils','map','exports','Error\x20in\x20accessing\x20.browserstack\x20directory:\x20','getPackageType','accessSync','No\x20Proxy\x20:\x20','startsWith','IdGvJ','FiVPx','wcETI','HONfj','join','USER_CONFIG_DETAILS_PATH','yAbiS','Deleting\x20','229599YLNItI','dirname','env','isTrue','push','homedir','EVENTS','\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','ZSXfK','--disable-test-observability','zWZqU','Error\x20in\x20getting\x20funnel\x20data\x20results','debug','BROWSERSTACK_TEST_ACCESSIBILITY_YML','false','QcDqG','1356964oVaIYD','5203038RaNwsN','isYarnPnP','automation','length','clearTempPWConfig','SDK_SETUP','DLeKg','LDWCF','./reporter/test-details','resolve','4140265KdQiHT','getNoProxy','win32','playwright','start','findIndex','nySHg','../v2/browserstackCLI','stop','requireConfigLoaderYarnPnP','BROWSERSTACK_SETUP_CONFIG_PATH','testObservability','testContextOptions','accessibility','configPath','inherit','tQoHC','true','--disable-browserstack-automation','1729987gIRmDH','YWXGa','apply','JpRla','isFalse','hJXod','hLXYF','--config','skipSessionStatus','Updated\x20config\x20file\x20name\x20to\x20-\x20','Error\x20in\x20deleting\x20playwright\x20results','isUndefined','../../helpers/performance/constants','close','fDwOy','setFrameworkDetail','W_OK','reportFinalDetectionState','../../helpers/accessibility-automation/helper','AgNhS','cwd','mRXrE','trim','winstonLogger','parse','vWsmY','SDK_PRE_INITIALIZE'];a43_0x1d1e=function(){return _0x5de64b;};return a43_0x1d1e();}async function run(_0x36c1c4,_0x4b1e78,_0x3df7ba){const _0x4c5d5b=a43_0xe653a7,_0x42b3fa={'YWXGa':_0x4c5d5b(0xcb),'nySHg':function(_0x358689){return _0x358689();},'Ciouq':function(_0x5b64c8){return _0x5b64c8();},'LDWCF':function(_0x1a2c92,_0x8e26e8){return _0x1a2c92+_0x8e26e8;},'imRaR':_0x4c5d5b(0xe4),'TOyxz':function(_0x3abbbb,_0x1998a5){return _0x3abbbb(_0x1998a5);},'PpulR':'pw_result.json','VdFUG':function(_0x2e1018,_0x22924c){return _0x2e1018+_0x22924c;},'HONfj':_0x4c5d5b(0x115),'vWsmY':_0x4c5d5b(0xed),'jUTAF':function(_0xe34446,_0x209571){return _0xe34446<_0x209571;},'QcDqG':function(_0x61ee00,_0x56d603){return _0x61ee00===_0x56d603;},'aGPpm':_0x4c5d5b(0x118),'DkpcP':_0x4c5d5b(0x113),'eYJuT':function(_0x5f4811,_0x13eb40){return _0x5f4811>=_0x13eb40;},'wavKT':function(_0x309f9f,_0x5bea62){return _0x309f9f===_0x5bea62;},'PSrwa':_0x4c5d5b(0x11d),'mRXrE':function(_0x32ca8b,_0x11adcc){return _0x32ca8b!=_0x11adcc;},'NslhV':function(_0x5cfdc4,_0x510d85,_0x5964cc){return _0x5cfdc4(_0x510d85,_0x5964cc);},'GdTru':function(_0x49c723,_0x583d1e){return _0x49c723(_0x583d1e);},'JpRla':function(_0x2790a9,_0x1ed0f8){return _0x2790a9===_0x1ed0f8;},'hJXod':_0x4c5d5b(0x136),'cCBDt':function(_0x4c5c2e,_0x2c345f){return _0x4c5c2e(_0x2c345f);},'UwWgd':_0x4c5d5b(0xcc),'xEwSs':'playwright-browserstack-sdk.config.cjs','EPGrt':_0x4c5d5b(0xe5),'DLeKg':function(_0xb4be5c,_0x51c312){return _0xb4be5c-_0x51c312;},'bOWjL':_0x4c5d5b(0x83),'YkzZs':function(_0x31bf46,_0x310627){return _0x31bf46>_0x310627;},'RfhWF':function(_0x5057e1,_0x44bd37){return _0x5057e1+_0x44bd37;},'tQoHC':function(_0x40d6fd,_0x8d0ac9,_0x165c7e,_0x1634ec){return _0x40d6fd(_0x8d0ac9,_0x165c7e,_0x1634ec);},'zZTTM':_0x4c5d5b(0xde),'gJzza':_0x4c5d5b(0x9b),'fFful':_0x4c5d5b(0x128),'KvLox':_0x4c5d5b(0xc5),'AgNhS':'--config','fDwOy':_0x4c5d5b(0x127),'nALLS':'inherit','ecfKB':_0x4c5d5b(0x87),'bLyTP':function(_0x3f3f87,_0x25586d){return _0x3f3f87|_0x25586d;},'vnWNS':_0x4c5d5b(0xfd),'IKCPm':_0x4c5d5b(0x84),'ptOyn':function(_0x29ec74,_0x244047,_0x1dfaf4){return _0x29ec74(_0x244047,_0x1dfaf4);}};try{const _0x1f46c3=path[_0x4c5d5b(0x106)](helper[_0x4c5d5b(0x10f)](),_0x42b3fa[_0x4c5d5b(0x139)]);try{fs[_0x4c5d5b(0xff)](_0x1f46c3,_0x42b3fa[_0x4c5d5b(0xf6)](fs[_0x4c5d5b(0x9e)][_0x4c5d5b(0xc9)],fs[_0x4c5d5b(0x9e)][_0x4c5d5b(0x8a)]));}catch(_0x257ea5){ClientTroubleShootingService['reportDotBrowserStackFolderNotAccessibleIssue']();}}catch(_0x1803cb){logger[_0x4c5d5b(0x116)](_0x42b3fa['RfhWF'](_0x42b3fa['vnWNS'],_0x1803cb));}try{const _0x425cc2=path[_0x4c5d5b(0x106)](helper[_0x4c5d5b(0x10f)](),_0x42b3fa[_0x4c5d5b(0x139)],_0x42b3fa[_0x4c5d5b(0xe3)]);fs[_0x4c5d5b(0xdf)](_0x425cc2)&&fs['unlinkSync'](_0x425cc2);}catch(_0x13e4e8){logger[_0x4c5d5b(0x116)](_0x42b3fa[_0x4c5d5b(0xbb)](_0x42b3fa[_0x4c5d5b(0xab)],_0x13e4e8));}if(!_0x42b3fa[_0x4c5d5b(0xe6)](isTestCommand,_0x36c1c4,_0x4b1e78)){_0x42b3fa['cCBDt'](spawnOriginalProcess,_0x4b1e78);return;}await PerformanceTester[_0x4c5d5b(0xf4)](PerformanceEvents[_0x4c5d5b(0x94)],async()=>{const _0x4581b5=_0x4c5d5b,_0x1f3ff0={'FiVPx':function(_0x18d48b,_0x57f0f6){const _0x22910a=a43_0x395e;return _0x42b3fa[_0x22910a(0xa9)](_0x18d48b,_0x57f0f6);},'iwVpg':_0x42b3fa[_0x4581b5(0x139)],'RUmOs':_0x42b3fa[_0x4581b5(0xe3)],'ZSXfK':function(_0x57c8d2,_0x62a923){const _0x521929=_0x4581b5;return _0x42b3fa[_0x521929(0xbb)](_0x57c8d2,_0x62a923);},'RPgoO':_0x42b3fa[_0x4581b5(0x105)]};if(!_0x3df7ba[_0x4581b5(0xbf)]){logger['error'](_0x42b3fa[_0x4581b5(0x93)]);return;}await _0x3df7ba[_0x4581b5(0xe2)](_0x36c1c4),CLIUtils[_0x4581b5(0x89)](FRAMEWORKS['PLAYWRIGHT'],FRAMEWORKS[_0x4581b5(0xc1)]),BrowserstackCLI[_0x4581b5(0xdb)]()['setBrowserstackConfig'](_0x3df7ba[_0x4581b5(0xbf)],_0x3df7ba[_0x4581b5(0x133)],_0x3df7ba[_0x4581b5(0xda)]),await BrowserstackCLI['getInstance']()['bootstrap']();for(var _0x331d69=0x0;_0x42b3fa[_0x4581b5(0xa1)](_0x331d69,constants['INTERNALLY_USED_ENV_VARS'][_0x4581b5(0x11e)]);_0x331d69++){var _0x8c8a7e=constants['INTERNALLY_USED_ENV_VARS'][_0x331d69];process[_0x4581b5(0x10c)][_0x8c8a7e]&&await ClientTroubleShootingService['reportConflictingEnvVarIssue'](_0x8c8a7e);}const _0x51f1b3=BrowserstackCLI['getInstance']()[_0x4581b5(0xc4)]();!helper[_0x4581b5(0x7e)](_0x51f1b3['browserstackAutomation'])&&(process['env'][_0x4581b5(0xdc)]=!![]);_0x42b3fa[_0x4581b5(0x119)](_0x51f1b3['browserstackAutomation'],![])&&(process[_0x4581b5(0x10c)][_0x4581b5(0xdc)]=_0x42b3fa[_0x4581b5(0xf5)],_0x4b1e78=_0x4b1e78['filter'](_0x1ab3ba=>_0x1ab3ba!==_0x4581b5(0x137)));const _0x51a3cc=_0x4b1e78[_0x4581b5(0xc0)](_0x42b3fa['DkpcP']);(_0x42b3fa[_0x4581b5(0xb2)](_0x51a3cc,0x0)||_0x42b3fa[_0x4581b5(0xac)](_0x51f1b3[_0x4581b5(0x130)],![]))&&(process['env'][_0x4581b5(0xa7)]=_0x42b3fa[_0x4581b5(0xf5)],_0x4b1e78=_0x4b1e78[_0x4581b5(0xa0)](_0x49c022=>_0x49c022!==_0x4581b5(0x113)));!helper[_0x4581b5(0x85)](_0x3df7ba[_0x4581b5(0xda)])&&_0x3df7ba[_0x4581b5(0xda)][_0x4581b5(0xc7)](_0x42b3fa[_0x4581b5(0x9a)])&&(process[_0x4581b5(0x10c)][_0x4581b5(0xdc)]=_0x3df7ba['cliConfig'][_0x4581b5(0xd1)](_0x42b3fa[_0x4581b5(0x9a)])||!![]);_0x42b3fa[_0x4581b5(0x8f)](_0x3df7ba[_0x4581b5(0xbf)][_0x4581b5(0x130)],null)&&!helper[_0x4581b5(0x10d)](process['env'][_0x4581b5(0xa7)])&&(process['env'][_0x4581b5(0xa7)]=process['env']['BROWSERSTACK_TEST_OBSERVABILITY']||_0x3df7ba[_0x4581b5(0xbf)][_0x4581b5(0x130)]);const _0x4663f9=!helper['isFalse'](process[_0x4581b5(0x10c)][_0x4581b5(0xa7)]);_0x3df7ba['config'][_0x4581b5(0x9d)]&&(process[_0x4581b5(0x10c)][_0x4581b5(0xb4)]=JSON['stringify'](_0x3df7ba['config'][_0x4581b5(0x9d)]));let _0x51c051=![];_0x3df7ba['config']['accessibility']&&(_0x51c051=!![],process[_0x4581b5(0x10c)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x3df7ba[_0x4581b5(0xbf)][_0x4581b5(0x132)]);const _0xe63c6=_0x4b1e78['concat'](),_0x57e8e7=await _0x42b3fa['NslhV'](getUserPlaywrightConfig,_0x36c1c4,_0x4b1e78);if(helper['isUndefined'](_0x57e8e7)){_0x42b3fa['GdTru'](spawnOriginalProcess,_0xe63c6);return;}const _0x1cbdd4=_0x57e8e7[_0x4581b5(0xd8)]?path['dirname'](_0x57e8e7[_0x4581b5(0xd8)]):process[_0x4581b5(0x8e)]();process[_0x4581b5(0x10c)]['BROWSERSTACK_PW_CONFIG_DIR']=_0x1cbdd4,await PerformanceTester[_0x4581b5(0xf4)](PerformanceEvents[_0x4581b5(0xbe)],async()=>{const _0x1badee=_0x4581b5;!BrowserstackCLI[_0x1badee(0xdb)]()[_0x1badee(0xc2)]()&&await TestHubHandler[_0x1badee(0xa2)](FRAMEWORKS[_0x1badee(0xc1)],_0x3df7ba),_0x4663f9&&_0x1f3ff0[_0x1badee(0x103)](handleO11yRerun,_0x4b1e78);})();if(!BrowserstackCLI[_0x4581b5(0xdb)]()[_0x4581b5(0xc2)]()){let _0x1dcfdf=_0x42b3fa['JpRla'](process[_0x4581b5(0x10c)][_0x4581b5(0x117)],_0x42b3fa[_0x4581b5(0x7f)]);_0x1dcfdf=_0x1dcfdf||_0x42b3fa['TOyxz'](checkAccessibilityPlatformConfig,_0x3df7ba[_0x4581b5(0xbf)]),process[_0x4581b5(0x10c)][_0x4581b5(0x117)]=_0x1dcfdf,_0x1dcfdf&&_0x42b3fa[_0x4581b5(0xb0)](setAccessibilityCapabilities,_0x3df7ba[_0x4581b5(0xbf)]);}const _0x59f2f9=path['join'](_0x57e8e7['path']?path[_0x4581b5(0x10b)](_0x57e8e7[_0x4581b5(0xd8)]):process[_0x4581b5(0x8e)](),_0x42b3fa['UwWgd']);fs[_0x4581b5(0xbc)](_0x59f2f9,helper[_0x4581b5(0xb3)](_0x3df7ba['config'])),process[_0x4581b5(0x10c)][_0x4581b5(0x12f)]=_0x59f2f9,helper[_0x4581b5(0x11f)]();let _0x537621='';_0x42b3fa[_0x4581b5(0x7d)](helper[_0x4581b5(0xfe)](),constants[_0x4581b5(0xe9)][_0x4581b5(0xd7)])?_0x537621=_0x42b3fa['xEwSs']:_0x537621=_0x42b3fa[_0x4581b5(0xaf)];let _0x25c779='';if(helper[_0x4581b5(0xf2)](_0x57e8e7[_0x4581b5(0xd8)])){_0x25c779=_0x4581b5(0xba);const _0x52ee0b=_0x537621['split']('.');_0x52ee0b[_0x42b3fa[_0x4581b5(0x121)](_0x52ee0b[_0x4581b5(0x11e)],0x1)]='ts',_0x537621=_0x52ee0b[_0x4581b5(0x106)]('.'),logger[_0x4581b5(0x116)](_0x42b3fa[_0x4581b5(0xbb)](_0x42b3fa['bOWjL'],_0x537621));}else _0x25c779=_0x4581b5(0xc8);const _0x2e6946=path['join'](_0x57e8e7[_0x4581b5(0xd8)]?path[_0x4581b5(0x10b)](_0x57e8e7[_0x4581b5(0xd8)]):process['cwd'](),_0x537621);let _0x5b9c6d=_0x57e8e7['path']?_0x57e8e7[_0x4581b5(0xd8)]:'';_0x5b9c6d=_0x42b3fa['YkzZs'](_0x5b9c6d[_0x4581b5(0x11e)],0x0)?path[_0x4581b5(0x124)](_0x5b9c6d):'',process[_0x4581b5(0x10c)][_0x4581b5(0x107)]=_0x5b9c6d;const _0x3f693c=helper['getProxyUrl'](_0x3df7ba[_0x4581b5(0xbf)]),_0x2941b0=helper[_0x4581b5(0x126)](_0x3df7ba[_0x4581b5(0xbf)]);logger['debug'](_0x4581b5(0xb9)+_0x3f693c),logger[_0x4581b5(0x116)](_0x4581b5(0x100)+_0x2941b0);_0x3f693c&&(_0x25c779=_0x42b3fa[_0x4581b5(0xee)]('process.env.GLOBAL_AGENT_HTTP_PROXY=\x22'+_0x3f693c+_0x4581b5(0x111)+_0x2941b0+'\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();',_0x25c779));helper['filterBrowserstackArgs']({},_0x4b1e78),fs[_0x4581b5(0xbc)](_0x2e6946,_0x25c779),PerformanceTester['end'](PerformanceEvents[_0x4581b5(0x120)]);const _0x4cdd1c=_0x42b3fa[_0x4581b5(0x135)](spawn,helper['isYarnPnP']()?_0x42b3fa['zZTTM']:_0x42b3fa[_0x4581b5(0xdd)],[_0x42b3fa['fFful'],_0x42b3fa[_0x4581b5(0xa5)],_0x42b3fa[_0x4581b5(0x8d)],_0x42b3fa[_0x4581b5(0x7d)](process[_0x4581b5(0xbd)],_0x42b3fa[_0x4581b5(0x88)])?'\x22'+_0x2e6946+'\x22':_0x2e6946,..._0x4b1e78[_0x4581b5(0x97)](0x2)],{'shell':_0x42b3fa[_0x4581b5(0xac)](process['platform'],_0x42b3fa[_0x4581b5(0x88)]),'stdio':_0x42b3fa[_0x4581b5(0xca)],'cwd':process[_0x4581b5(0x8e)](),'env':Object[_0x4581b5(0xe7)]({},process[_0x4581b5(0x10c)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x4581b5(0xd3)](_0x36c1c4),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x3df7ba[_0x4581b5(0xbf)][_0x4581b5(0x131)][_0x4581b5(0x82)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x3df7ba[_0x4581b5(0xbf)][_0x4581b5(0x131)][_0x4581b5(0xaa)],'BROWSERSTACK_LOG_LEVEL':_0x3df7ba[_0x4581b5(0xbf)]['logLevel']})}),_0x48d400=()=>{const _0x1eb2fa=_0x4581b5;try{const _0x16bd3a=path[_0x1eb2fa(0x106)](helper[_0x1eb2fa(0x10f)](),_0x1f3ff0[_0x1eb2fa(0xeb)],_0x1f3ff0[_0x1eb2fa(0xd6)]);if(fs['existsSync'](_0x16bd3a)){let _0x302b3a=fs[_0x1eb2fa(0xb6)](_0x16bd3a);_0x302b3a=JSON[_0x1eb2fa(0x92)](_0x302b3a),_0x3df7ba['errorMessage']=_0x302b3a,fs['unlinkSync'](_0x16bd3a);}}catch(_0x47c1ac){logger['debug'](_0x1f3ff0[_0x1eb2fa(0x112)](_0x1f3ff0[_0x1eb2fa(0xcf)],_0x47c1ac));}};_0x4cdd1c['on'](_0x42b3fa['ecfKB'],async _0x2be812=>{const _0x27513f=_0x4581b5,_0x1f8cef={};_0x1f8cef[_0x27513f(0x98)]=_0x42b3fa['YWXGa'];const _0x4731f1=_0x1f8cef;try{PerformanceTester[_0x27513f(0x129)](PerformanceEvents[_0x27513f(0xa4)]),_0x42b3fa[_0x27513f(0x12b)](_0x48d400),await TestHubHandler[_0x27513f(0x12d)](),await ClientTroubleShootingService[_0x27513f(0x8b)]();const _0xd83d5f=BrowserstackCLI[_0x27513f(0xef)]();await BrowserstackCLI[_0x27513f(0xdb)]()[_0x27513f(0x12d)](),TestDetails[_0x27513f(0xa6)](),_0x42b3fa[_0x27513f(0xce)](printBuildLink),await utilities['finalExecution'](_0x3df7ba,_0xd83d5f),process[_0x27513f(0xd2)]=_0x2be812,logger['debug'](_0x27513f(0x96)+_0x2be812),logger[_0x27513f(0xcd)]('Deleting\x20'+_0x2e6946),fs['unlinkSync'](_0x2e6946);fs[_0x27513f(0xdf)](_0x59f2f9)&&(logger[_0x27513f(0x116)](_0x27513f(0x109)+_0x59f2f9),fs[_0x27513f(0xc3)](_0x59f2f9));const _0x1cf1cc=fs['readdirSync'](path[_0x27513f(0x106)](helper[_0x27513f(0x10f)](),_0x42b3fa[_0x27513f(0x139)]))[_0x27513f(0xa0)](_0x3b2c6e=>_0x3b2c6e[_0x27513f(0x101)]('trace_'));_0x1cf1cc[_0x27513f(0x9c)](_0x27010f=>{const _0x177c4e=_0x27513f;fs[_0x177c4e(0xc3)](path['join'](helper[_0x177c4e(0x10f)](),_0x4731f1[_0x177c4e(0x98)],_0x27010f));});}catch(_0x21c441){logger[_0x27513f(0x116)](_0x42b3fa[_0x27513f(0x122)](_0x42b3fa[_0x27513f(0xe8)],_0x21c441));}});})();}module[a43_0xe653a7(0xfc)]=run;
@@ -1 +1 @@
1
- function a44_0x2205(){const _0x532bf1=['function','compareVersions','Not\x20able\x20to\x20import\x20globalSetup','810BmGTuh','resolve','Path\x20','../../helpers/test-observability/utils','requirePWModule','apply','./mock-process.js','toString','7316325CkzwHu','EYZnl','isHandlePWErrorSet','bLRrY','dhCBt','2295720MBoaeX','1.33.0','RhhnZ','BcevS','33158DEdUhy','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','2568tuzpBi','10XEfKVL','\x20is\x20not\x20found','fJhkM','includes','GTkMa','yUyAy','format','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','config','child_process','HqSyf','2088DFkzmh','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','exports','../../helpers/test-observability/constants','19012jIzUuD','env','util','./patches','TUJoh','Running\x20existing\x20global\x20setup','1804szNQLq','PLAYWRIGHT','error','fork','./reporter/pwUtils','KOSGC','21370CMhuIk','861IySUTg','6gUNHNk'];a44_0x2205=function(){return _0x532bf1;};return a44_0x2205();}function a44_0x28e0(_0x434960,_0x41d0ec){const _0x220531=a44_0x2205();return a44_0x28e0=function(_0x28e0fc,_0x4e50e3){_0x28e0fc=_0x28e0fc-0x147;let _0xcaffa7=_0x220531[_0x28e0fc];return _0xcaffa7;},a44_0x28e0(_0x434960,_0x41d0ec);}const a44_0x396f45=a44_0x28e0;(function(_0x5a609b,_0x594928){const _0x26de5f=a44_0x28e0,_0x23dd09=_0x5a609b();while(!![]){try{const _0x21c827=parseInt(_0x26de5f(0x163))/0x1*(parseInt(_0x26de5f(0x14e))/0x2)+-parseInt(_0x26de5f(0x14d))/0x3+-parseInt(_0x26de5f(0x15f))/0x4+parseInt(_0x26de5f(0x14c))/0x5*(-parseInt(_0x26de5f(0x152))/0x6)+parseInt(_0x26de5f(0x175))/0x7*(parseInt(_0x26de5f(0x171))/0x8)+-parseInt(_0x26de5f(0x15a))/0x9*(-parseInt(_0x26de5f(0x166))/0xa)+parseInt(_0x26de5f(0x17b))/0xb*(parseInt(_0x26de5f(0x165))/0xc);if(_0x21c827===_0x594928)break;else _0x23dd09['push'](_0x23dd09['shift']());}catch(_0x51079a){_0x23dd09['push'](_0x23dd09['shift']());}}}(a44_0x2205,0x7b54c));const util=require(a44_0x396f45(0x177)),child_process=require(a44_0x396f45(0x16f)),{FRAMEWORKS}=require(a44_0x396f45(0x174)),{getFrameworkVersion,debug}=require(a44_0x396f45(0x155)),helper=require('../../helpers/helper'),{getLoadUtilsPath,getForkProcessPath}=require(a44_0x396f45(0x14a)),{mockIsWorkerRedundant}=require(a44_0x396f45(0x178)),logger=require('../../helpers/logger')['winstonLogger'];module[a44_0x396f45(0x173)]=async function(_0x50db25){const _0x15844e=a44_0x396f45,_0x461168={'fJhkM':function(_0x36fe12,_0x2ee32a){return _0x36fe12(_0x2ee32a);},'dhCBt':function(_0x47ef37){return _0x47ef37();},'BcevS':_0x15844e(0x158),'noKXQ':function(_0x111754){return _0x111754();},'QytXX':function(_0x1db957){return _0x1db957();},'bLRrY':function(_0x917443,_0x20ec86){return _0x917443(_0x20ec86);},'GTkMa':_0x15844e(0x17a),'nZIcM':function(_0x39e2cf){return _0x39e2cf();},'TUJoh':function(_0xcd6b9d,_0x34b5d5){return _0xcd6b9d(_0x34b5d5);},'yUyAy':function(_0xac92d4,_0x165d4d){return _0xac92d4>=_0x165d4d;},'jZQyv':_0x15844e(0x160),'KOSGC':function(_0x3cf861,_0xd8ffef,_0x44e8b3){return _0x3cf861(_0xd8ffef,_0x44e8b3);},'EYZnl':function(_0x3c40e3,_0x52b9f5){return _0x3c40e3!==_0x52b9f5;},'HqSyf':_0x15844e(0x14f),'vlXXx':_0x15844e(0x151),'RhhnZ':function(_0x5a4412,_0x323e01){return _0x5a4412(_0x323e01);}},_0x549de4=child_process[_0x15844e(0x149)];if(helper[_0x15844e(0x15c)]())try{_0x461168['QytXX'](mockIsWorkerRedundant);}catch(_0x166b15){logger['debug'](_0x15844e(0x172)+util[_0x15844e(0x16c)](_0x166b15));}child_process[_0x15844e(0x149)]=function(){const _0x518fe8=_0x15844e;return _0x461168[_0x518fe8(0x168)](debug,'Call\x20to\x20child\x20fork\x20with\x20args\x20'+arguments[0x0]),arguments[0x0][_0x518fe8(0x169)](_0x461168[_0x518fe8(0x15e)](getForkProcessPath))?arguments[0x0]=require[_0x518fe8(0x153)](_0x461168[_0x518fe8(0x162)]):logger[_0x518fe8(0x148)](_0x518fe8(0x154)+_0x461168['noKXQ'](getForkProcessPath)+_0x518fe8(0x167)),_0x549de4[_0x518fe8(0x157)](null,arguments);};if(process[_0x15844e(0x176)][_0x15844e(0x16d)]){_0x461168[_0x15844e(0x15d)](debug,_0x461168[_0x15844e(0x16a)]);try{const {loadGlobalHook:_0x9276cd}=helper[_0x15844e(0x156)][_0x15844e(0x157)](null,_0x461168['nZIcM'](getLoadUtilsPath)),_0x84c2d0=_0x461168[_0x15844e(0x179)](getFrameworkVersion,FRAMEWORKS[_0x15844e(0x147)]);let _0x33c542=_0x50db25;if(_0x461168[_0x15844e(0x16b)](helper[_0x15844e(0x150)](_0x84c2d0,_0x461168['jZQyv']),0x0)){const _0x2ff533={};_0x2ff533[_0x15844e(0x16e)]=_0x50db25,_0x33c542=_0x2ff533;}const _0x56c81f=await _0x461168[_0x15844e(0x14b)](_0x9276cd,_0x33c542,process[_0x15844e(0x176)][_0x15844e(0x16d)]);if(_0x461168[_0x15844e(0x15b)](typeof _0x56c81f,_0x461168[_0x15844e(0x170)]))throw new Error(_0x461168['vlXXx']);return _0x56c81f[_0x15844e(0x157)](null,arguments);}catch(_0x3fceb4){_0x461168[_0x15844e(0x161)](debug,_0x15844e(0x164)+_0x3fceb4[_0x15844e(0x159)]());}}};
1
+ const a44_0x3e241e=a44_0x56a1;(function(_0x4b1af6,_0x570e88){const _0x3c418b=a44_0x56a1,_0x17a3af=_0x4b1af6();while(!![]){try{const _0x4e7e5d=-parseInt(_0x3c418b(0x92))/0x1*(-parseInt(_0x3c418b(0x9b))/0x2)+-parseInt(_0x3c418b(0x97))/0x3+parseInt(_0x3c418b(0x91))/0x4+-parseInt(_0x3c418b(0x7c))/0x5*(parseInt(_0x3c418b(0x9e))/0x6)+parseInt(_0x3c418b(0x88))/0x7+-parseInt(_0x3c418b(0x89))/0x8+parseInt(_0x3c418b(0x84))/0x9*(parseInt(_0x3c418b(0x75))/0xa);if(_0x4e7e5d===_0x570e88)break;else _0x17a3af['push'](_0x17a3af['shift']());}catch(_0x5146d0){_0x17a3af['push'](_0x17a3af['shift']());}}}(a44_0x597a,0x4cf70));function a44_0x56a1(_0x378955,_0xe6e614){const _0x597aab=a44_0x597a();return a44_0x56a1=function(_0x56a105,_0x490c94){_0x56a105=_0x56a105-0x73;let _0x2faa34=_0x597aab[_0x56a105];return _0x2faa34;},a44_0x56a1(_0x378955,_0xe6e614);}function a44_0x597a(){const _0x3a9867=['apply','debug','Not\x20able\x20to\x20import\x20globalSetup','1092087ctLebI','sMueR','env','fork','44708Imgcfq','../../helpers/logger','function','642KiClQJ','winstonLogger','toString','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','btkHB','60uXXuXV','cWTsd','rYfYK','child_process','Call\x20to\x20child\x20fork\x20with\x20args\x20','compareVersions','YEnWT','7295lIkpjl','includes','ccppe','exports','./patches','./reporter/pwUtils','rYsUS','LnNtM','603522COExvL','WVnvE','../../helpers/test-observability/constants','util','1025038baLpQd','2782328UkvTxc','./mock-process.js','PLAYWRIGHT','knbpl','format','../../helpers/helper','resolve','config','1017524whTxju','17EIOGYx','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20'];a44_0x597a=function(){return _0x3a9867;};return a44_0x597a();}const util=require(a44_0x3e241e(0x87)),child_process=require(a44_0x3e241e(0x78)),{FRAMEWORKS}=require(a44_0x3e241e(0x86)),{getFrameworkVersion,debug}=require('../../helpers/test-observability/utils'),helper=require(a44_0x3e241e(0x8e)),{getLoadUtilsPath,getForkProcessPath}=require(a44_0x3e241e(0x81)),{mockIsWorkerRedundant}=require(a44_0x3e241e(0x80)),logger=require(a44_0x3e241e(0x9c))[a44_0x3e241e(0x9f)];module[a44_0x3e241e(0x7f)]=async function(_0x59cd1d){const _0x452791=a44_0x3e241e,_0x128615={'ccppe':function(_0x490de4,_0x39ea4f){return _0x490de4(_0x39ea4f);},'knbpl':function(_0x1100f5){return _0x1100f5();},'sMueR':_0x452791(0x8a),'rYsUS':function(_0x1f3d32,_0x5ed23d){return _0x1f3d32(_0x5ed23d);},'rYfYK':'Running\x20existing\x20global\x20setup','VHnuP':function(_0x7bdb15,_0xb6f618){return _0x7bdb15(_0xb6f618);},'cWTsd':function(_0x2051db,_0x5f5599){return _0x2051db>=_0x5f5599;},'btkHB':'1.33.0','WVnvE':function(_0x385a42,_0x465b8c,_0x330c3e){return _0x385a42(_0x465b8c,_0x330c3e);},'Zcdej':function(_0x268732,_0x581949){return _0x268732!==_0x581949;},'LnNtM':_0x452791(0x9d),'YEnWT':_0x452791(0x96)},_0x4598a7=child_process['fork'];if(helper['isHandlePWErrorSet']())try{_0x128615[_0x452791(0x8c)](mockIsWorkerRedundant);}catch(_0x1345ab){logger[_0x452791(0x95)](_0x452791(0x93)+util[_0x452791(0x8d)](_0x1345ab));}child_process[_0x452791(0x9a)]=function(){const _0x56207f=_0x452791;return _0x128615[_0x56207f(0x7e)](debug,_0x56207f(0x79)+arguments[0x0]),arguments[0x0][_0x56207f(0x7d)](_0x128615[_0x56207f(0x8c)](getForkProcessPath))?arguments[0x0]=require[_0x56207f(0x8f)](_0x128615[_0x56207f(0x98)]):logger['error']('Path\x20'+_0x128615[_0x56207f(0x8c)](getForkProcessPath)+'\x20is\x20not\x20found'),_0x4598a7[_0x56207f(0x94)](null,arguments);};if(process[_0x452791(0x99)][_0x452791(0x73)]){_0x128615[_0x452791(0x82)](debug,_0x128615[_0x452791(0x77)]);try{const {loadGlobalHook:_0x20f10b}=helper['requirePWModule'][_0x452791(0x94)](null,_0x128615[_0x452791(0x8c)](getLoadUtilsPath)),_0x324c8a=_0x128615['VHnuP'](getFrameworkVersion,FRAMEWORKS[_0x452791(0x8b)]);let _0x9ac078=_0x59cd1d;if(_0x128615[_0x452791(0x76)](helper[_0x452791(0x7a)](_0x324c8a,_0x128615[_0x452791(0x74)]),0x0)){const _0xddf6d3={};_0xddf6d3[_0x452791(0x90)]=_0x59cd1d,_0x9ac078=_0xddf6d3;}const _0x194972=await _0x128615[_0x452791(0x85)](_0x20f10b,_0x9ac078,process['env'][_0x452791(0x73)]);if(_0x128615['Zcdej'](typeof _0x194972,_0x128615[_0x452791(0x83)]))throw new Error(_0x128615[_0x452791(0x7b)]);return _0x194972[_0x452791(0x94)](null,arguments);}catch(_0x1b70ec){_0x128615['VHnuP'](debug,'Error\x20in\x20calling\x20existing\x20global\x20setup:\x20'+_0x1b70ec[_0x452791(0xa0)]());}}};