browserstack-node-sdk 1.60.0 → 1.61.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (216) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
  56. package/src/bin/jasmine/command.js +1 -1
  57. package/src/bin/jasmine/test.setup.js +1 -1
  58. package/src/bin/jasmine/testRunMap.js +1 -1
  59. package/src/bin/jest/command.js +1 -1
  60. package/src/bin/jest/customImplements/customCircus.js +1 -1
  61. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  62. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  63. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  64. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  65. package/src/bin/jest/jest.setup.js +1 -1
  66. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  67. package/src/bin/jest/test-observability/helper.js +1 -1
  68. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  69. package/src/bin/jest/test-observability/test-details.js +1 -1
  70. package/src/bin/jest/test.setup.js +1 -1
  71. package/src/bin/jest/test_before.setup.js +1 -1
  72. package/src/bin/launcher/launcher.js +1 -1
  73. package/src/bin/load/index.js +1 -1
  74. package/src/bin/load/loadUtils.js +1 -1
  75. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  76. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  77. package/src/bin/mocha/command.js +1 -1
  78. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  79. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  80. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  81. package/src/bin/mocha/test.setup.js +1 -1
  82. package/src/bin/newman/command.js +1 -1
  83. package/src/bin/newman/helper.js +1 -1
  84. package/src/bin/newman/reporter/index.js +1 -1
  85. package/src/bin/newman/scriptRunner.js +1 -1
  86. package/src/bin/nightwatch/command.js +1 -1
  87. package/src/bin/playwright/accessibility-helper.js +1 -1
  88. package/src/bin/playwright/command.js +1 -1
  89. package/src/bin/playwright/globalSetup.js +1 -1
  90. package/src/bin/playwright/mock-process.js +1 -1
  91. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  92. package/src/bin/playwright/patches.js +1 -1
  93. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  94. package/src/bin/playwright/reporter/reporter.js +1 -1
  95. package/src/bin/playwright/reporter/test-details.js +1 -1
  96. package/src/bin/playwright/sessionDetails.js +1 -1
  97. package/src/bin/puppeteer/patches.js +1 -1
  98. package/src/bin/puppeteer/sessionDetails.js +1 -1
  99. package/src/bin/puppeteer/test.setup.js +1 -1
  100. package/src/bin/runner.js +1 -1
  101. package/src/bin/setup.js +1 -1
  102. package/src/bin/test-runner/index.js +1 -1
  103. package/src/bin/test-runner/runTest.js +1 -1
  104. package/src/bin/test-runner/testWorker.js +1 -1
  105. package/src/bin/testcafe/a11y-runner.js +1 -1
  106. package/src/bin/testcafe/command.js +1 -1
  107. package/src/bin/testcafe/reporter/index.js +1 -1
  108. package/src/bin/testcafe/reporter/tcUtils.js +1 -1
  109. package/src/bin/testcafe/session-registry.js +1 -1
  110. package/src/bin/testcafe/stdout-interceptor.js +1 -1
  111. package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
  112. package/src/bin/testcafe/w3c-driver.js +1 -1
  113. package/src/bin/utils/apiUtilityMethods.js +1 -1
  114. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  115. package/src/bin/utils/constants.js +1 -1
  116. package/src/bin/utils/log4jsAppender.js +1 -1
  117. package/src/bin/utils/logPatcher.js +1 -1
  118. package/src/bin/utils/logReportingAPI.js +1 -1
  119. package/src/bin/utils/playwright-patcher.js +1 -1
  120. package/src/bin/utils/puppeteer-patcher.js +1 -1
  121. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  122. package/src/bin/utils/sharedUtils.js +1 -1
  123. package/src/bin/v2/TestInfo.js +1 -1
  124. package/src/bin/v2/browserstackCLI.js +1 -1
  125. package/src/bin/v2/cliUtils.js +1 -1
  126. package/src/bin/v2/customTagManager.js +1 -1
  127. package/src/bin/v2/eventDispatcher.js +1 -1
  128. package/src/bin/v2/framework/automationFramework.js +1 -1
  129. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  130. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  131. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  132. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  133. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  134. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  135. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  136. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  137. package/src/bin/v2/framework/testFramework.js +1 -1
  138. package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
  139. package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
  140. package/src/bin/v2/grpcClient.js +1 -1
  141. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  142. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  143. package/src/bin/v2/instances/trackedContext.js +1 -1
  144. package/src/bin/v2/instances/trackedInstance.js +1 -1
  145. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  146. package/src/bin/v2/modules/baseModule.js +1 -1
  147. package/src/bin/v2/modules/loadTestModule.js +1 -1
  148. package/src/bin/v2/modules/observabilityModule.js +1 -1
  149. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  150. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  151. package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
  152. package/src/bin/v2/modules/testhubModule.js +1 -1
  153. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  154. package/src/bin/v2/state/hookState.js +1 -1
  155. package/src/bin/v2/state/testFrameworkState.js +1 -1
  156. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  157. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  158. package/src/bin/v2/utils/jest-utils.js +1 -1
  159. package/src/bin/vanilla-js/command.js +1 -1
  160. package/src/browserStackSdk.js +1 -1
  161. package/src/helpers/BrowserStackSetup.js +1 -1
  162. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  163. package/src/helpers/accessibility-automation/constants.js +1 -1
  164. package/src/helpers/accessibility-automation/helper.js +1 -1
  165. package/src/helpers/accessibility-automation/scripts.js +1 -1
  166. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  167. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  168. package/src/helpers/ats/constants.js +1 -1
  169. package/src/helpers/ats/helper.js +1 -1
  170. package/src/helpers/caCertHelper.js +1 -1
  171. package/src/helpers/capsMapping.js +1 -1
  172. package/src/helpers/central-scanner/constants.js +1 -1
  173. package/src/helpers/central-scanner/helpers.js +1 -1
  174. package/src/helpers/classLogger.js +1 -1
  175. package/src/helpers/driverInitErrorReporter.js +1 -1
  176. package/src/helpers/globals.js +1 -1
  177. package/src/helpers/helper.js +1 -1
  178. package/src/helpers/logger.js +1 -1
  179. package/src/helpers/metadata.js +1 -1
  180. package/src/helpers/patchHelper.js +1 -1
  181. package/src/helpers/patchHelpers.js +1 -1
  182. package/src/helpers/percy/Percy.js +1 -1
  183. package/src/helpers/percy/PercyBinary.js +1 -1
  184. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  185. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  186. package/src/helpers/percy/PercySDK.js +1 -1
  187. package/src/helpers/percy/index.js +1 -1
  188. package/src/helpers/percy/utils.js +1 -1
  189. package/src/helpers/performance/constants.js +1 -1
  190. package/src/helpers/performance/performance-tester.js +1 -1
  191. package/src/helpers/playwright-helper.js +1 -1
  192. package/src/helpers/processHelper.js +1 -1
  193. package/src/helpers/puppeteer-helper.js +1 -1
  194. package/src/helpers/request-spy.js +1 -1
  195. package/src/helpers/setKeepAlive.js +1 -1
  196. package/src/helpers/stackFrameUtils.js +1 -1
  197. package/src/helpers/test-observability/constants.js +1 -1
  198. package/src/helpers/test-observability/error-handler.js +1 -1
  199. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  200. package/src/helpers/test-observability/sessionHandler.js +1 -1
  201. package/src/helpers/test-observability/utils.js +1 -1
  202. package/src/helpers/test-orchestration/constants.js +1 -1
  203. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  204. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  205. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  206. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  207. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  208. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  209. package/src/helpers/testhub/constants.js +1 -1
  210. package/src/helpers/testhub/testhubHandler.js +1 -1
  211. package/src/helpers/testhub/utils.js +1 -1
  212. package/src/helpers/timeoutPromise.js +1 -1
  213. package/src/helpers/utilities.js +1 -1
  214. package/src/helpers/w3cMapping.js +1 -1
  215. package/src/hubAllocationMethods.js +1 -1
  216. package/src/index.js +1 -1
@@ -1 +1 @@
1
- 'use strict';const a43_0x4ae985=a43_0x6a2d;(function(_0x16fd58,_0x47a6aa){const _0x35325d=a43_0x6a2d,_0x34d87e=_0x16fd58();while(!![]){try{const _0x4eb7a0=parseInt(_0x35325d(0x2be))/0x1*(-parseInt(_0x35325d(0x2e3))/0x2)+parseInt(_0x35325d(0x24e))/0x3+parseInt(_0x35325d(0x238))/0x4+parseInt(_0x35325d(0x23c))/0x5*(-parseInt(_0x35325d(0x2e5))/0x6)+-parseInt(_0x35325d(0x233))/0x7*(-parseInt(_0x35325d(0x20f))/0x8)+-parseInt(_0x35325d(0x288))/0x9+parseInt(_0x35325d(0x283))/0xa*(parseInt(_0x35325d(0x24f))/0xb);if(_0x4eb7a0===_0x47a6aa)break;else _0x34d87e['push'](_0x34d87e['shift']());}catch(_0x326ee8){_0x34d87e['push'](_0x34d87e['shift']());}}}(a43_0xb9cd,0xbd1fe));const path=require(a43_0x4ae985(0x1fe)),{v4:uuidv4}=require('uuid'),SessionHandler=require(a43_0x4ae985(0x2a6)),{debug}=require(a43_0x4ae985(0x2a3)),logger=require(a43_0x4ae985(0x2bb))[a43_0x4ae985(0x2de)],BrowserstackCLI=require(a43_0x4ae985(0x1fc)),GrpcClient=require(a43_0x4ae985(0x2c4)),TestFrameworkState=require(a43_0x4ae985(0x23e)),HookState=require(a43_0x4ae985(0x1f7)),LOG_LEVELS=['INFO',a43_0x4ae985(0x23d),'ERROR',a43_0x4ae985(0x27c),'TRACE'];function isCLIRunning(){const _0x2e7ab0=a43_0x4ae985;try{return BrowserstackCLI['getInstance']()[_0x2e7ab0(0x26a)]();}catch(_0xcdb24e){return![];}}function a43_0x6a2d(_0x171692,_0x5dd3f1){const _0xb9cdaf=a43_0xb9cd();return a43_0x6a2d=function(_0x6a2d12,_0x1b165e){_0x6a2d12=_0x6a2d12-0x1f4;let _0xbf7aa2=_0xb9cdaf[_0x6a2d12];return _0xbf7aa2;},a43_0x6a2d(_0x171692,_0x5dd3f1);}function getParentTitles(_0x27cf42){const _0x426737=a43_0x4ae985,_0x7755b={'IqXIv':function(_0x8e37eb,_0x220f85){return _0x8e37eb(_0x220f85);},'VzWoZ':function(_0x330b0c,_0x35602c){return _0x330b0c(_0x35602c);}},_0xfc5f23=[],_0x3fb599=_0x27cf42['parent']();return _0x3fb599&&_0xfc5f23[_0x426737(0x205)][_0x426737(0x215)](_0xfc5f23,_0x7755b[_0x426737(0x206)](getParentTitles,_0x3fb599)),_0x27cf42['name']&&_0xfc5f23[_0x426737(0x205)](_0x7755b[_0x426737(0x200)](String,_0x27cf42[_0x426737(0x20c)])),_0xfc5f23;}function normalizeLogLevel(_0x286fdf){const _0x21c290=a43_0x4ae985,_0x12d198={};_0x12d198['htSba']=_0x21c290(0x22b),_0x12d198[_0x21c290(0x2e8)]=function(_0x2d2b06,_0x32ba6a){return _0x2d2b06!==_0x32ba6a;};const _0x3cc4aa=_0x12d198;if(!_0x286fdf)return _0x3cc4aa['htSba'];const _0x46e5a5=_0x286fdf[_0x21c290(0x240)]();return _0x3cc4aa[_0x21c290(0x2e8)](LOG_LEVELS[_0x21c290(0x260)](_0x46e5a5),-0x1)?_0x46e5a5:_0x3cc4aa[_0x21c290(0x2ca)];}function resolveCollectionFile(_0x38d9a3,_0x9d56c5){const _0x1c94aa=a43_0x4ae985,_0x1fb18d={};_0x1fb18d['bPaeM']=function(_0x4ea2bb,_0x113342){return _0x4ea2bb===_0x113342;},_0x1fb18d['TQhya']=_0x1c94aa(0x2ac),_0x1fb18d[_0x1c94aa(0x285)]=_0x1c94aa(0x24b),_0x1fb18d[_0x1c94aa(0x22e)]=function(_0x232d3d,_0x4c2a56){return _0x232d3d!==_0x4c2a56;},_0x1fb18d[_0x1c94aa(0x278)]=function(_0x491269,_0x4a1e36){return _0x491269<_0x4a1e36;},_0x1fb18d[_0x1c94aa(0x298)]=function(_0x4d3cba,_0x4a9ea3){return _0x4d3cba+_0x4a9ea3;},_0x1fb18d['fSWEY']=function(_0x5deb0a,_0x299f36){return _0x5deb0a+_0x299f36;},_0x1fb18d[_0x1c94aa(0x2e7)]='[Newman\x20Reporter]\x20Could\x20not\x20resolve\x20collection\x20file\x20path,\x20falling\x20back\x20to\x20collection.json',_0x1fb18d[_0x1c94aa(0x277)]=_0x1c94aa(0x24c);const _0x2abd73=_0x1fb18d;try{if(_0x9d56c5&&_0x9d56c5[_0x1c94aa(0x249)])return path['relative'](process['cwd'](),path[_0x1c94aa(0x2e4)](_0x9d56c5['collectionPath']));const _0x24d048=_0x38d9a3[_0x1c94aa(0x2a8)];if(_0x2abd73[_0x1c94aa(0x25b)](typeof _0x24d048,_0x2abd73[_0x1c94aa(0x29c)]))return path['relative'](process[_0x1c94aa(0x204)](),path[_0x1c94aa(0x2e4)](_0x24d048));const _0x229bcd=process[_0x1c94aa(0x291)]['indexOf'](_0x2abd73[_0x1c94aa(0x285)]);if(_0x2abd73['VWbty'](_0x229bcd,-0x1)&&_0x2abd73[_0x1c94aa(0x278)](_0x2abd73[_0x1c94aa(0x298)](_0x229bcd,0x1),process['argv'][_0x1c94aa(0x220)])){const _0x2353d8=process[_0x1c94aa(0x291)][_0x2abd73['fSWEY'](_0x229bcd,0x1)];if(_0x2353d8&&!_0x2353d8['startsWith']('-'))return path[_0x1c94aa(0x25f)](process[_0x1c94aa(0x204)](),path[_0x1c94aa(0x2e4)](_0x2353d8));}}catch(_0x5efec2){}return logger[_0x1c94aa(0x255)](_0x2abd73[_0x1c94aa(0x2e7)]),_0x2abd73[_0x1c94aa(0x277)];}function resolveCollectionName(_0x502fd5){const _0x5f14a2=a43_0x4ae985,_0x3acad5={};_0x3acad5[_0x5f14a2(0x250)]=function(_0xaaecef,_0x490e99){return _0xaaecef===_0x490e99;},_0x3acad5[_0x5f14a2(0x2e2)]=_0x5f14a2(0x2aa);const _0x24b363=_0x3acad5;try{const _0x4ef68c=_0x502fd5[_0x5f14a2(0x2a8)];if(_0x4ef68c&&_0x24b363[_0x5f14a2(0x250)](typeof _0x4ef68c,_0x24b363[_0x5f14a2(0x2e2)]))return _0x4ef68c[_0x5f14a2(0x20c)]||_0x4ef68c['info']&&_0x4ef68c[_0x5f14a2(0x255)][_0x5f14a2(0x20c)]||null;}catch(_0x836213){}return null;}function emitTest(_0x5c0bcd,_0x315793,_0x2c1e6d,_0x4629e4,_0x1b0521){const _0x5911c5=a43_0x4ae985,_0x5992dd={'KbCSi':function(_0x546f33){return _0x546f33();},'RAJvY':_0x5911c5(0x209),'csLhv':function(_0x2efeb5,_0x20b56f){return _0x2efeb5(_0x20b56f);},'jgIiQ':_0x5911c5(0x28e),'CecWq':_0x5911c5(0x213),'XdcUp':function(_0x2cb7f4,_0x4c2c4d){return _0x2cb7f4!=_0x4c2c4d;},'xsLuG':function(_0x21ad3d,_0x45ba61){return _0x21ad3d===_0x45ba61;},'BEyWu':_0x5911c5(0x2d9),'ogYso':'TestRunFinished'};if(_0x5992dd['KbCSi'](isCLIRunning))try{const _0x2a3784=BrowserstackCLI[_0x5911c5(0x2bf)]()[_0x5911c5(0x27a)]();if(!_0x2a3784)return;_0x2a3784[_0x5911c5(0x2ba)](TestFrameworkState[_0x5911c5(0x2c3)],_0x5c0bcd,{'test':{'uuid':_0x315793[_0x5911c5(0x293)],'name':_0x315793[_0x5911c5(0x20c)],'scopes':_0x2c1e6d[_0x5911c5(0x2af)],'scope':_0x2c1e6d[_0x5911c5(0x2af)]['join']('\x20'),'file_path':_0x4629e4,'location':_0x2c1e6d[_0x5911c5(0x28b)],'started_at':_0x2c1e6d['startedAt'],'finished_at':_0x1b0521[_0x5911c5(0x21b)]||null,'result':_0x1b0521['result']||_0x5992dd[_0x5911c5(0x28f)],'failure':_0x1b0521[_0x5911c5(0x2b8)]||[],'failure_type':_0x1b0521[_0x5911c5(0x208)]||null,'failure_reason':_0x1b0521[_0x5911c5(0x2c5)]||null,'tags':[],'meta':{},'custom_metadata':{}}});}catch(_0x5e46ca){_0x5992dd[_0x5911c5(0x259)](debug,_0x5911c5(0x23a)+_0x5e46ca);}else{const _0x55bfcf={'uuid':_0x315793['uuid'],'name':_0x315793[_0x5911c5(0x20c)],'framework':_0x5992dd[_0x5911c5(0x22c)],'body':{'lang':_0x5992dd['CecWq'],'code':null},'scope':_0x2c1e6d['scopes'][_0x5911c5(0x2c1)]('\x20'),'scopes':_0x2c1e6d[_0x5911c5(0x2af)],'identifier':_0x315793[_0x5911c5(0x294)],'file_name':_0x2c1e6d[_0x5911c5(0x28b)],'vc_filepath':_0x2c1e6d['location'],'location':_0x2c1e6d['location'],'started_at':_0x2c1e6d[_0x5911c5(0x25c)],'finished_at':_0x1b0521[_0x5911c5(0x21b)]||null,'duration_in_ms':_0x5992dd[_0x5911c5(0x27e)](_0x1b0521[_0x5911c5(0x235)],null)?Math[_0x5911c5(0x21e)](0x0,_0x1b0521[_0x5911c5(0x235)]):null,'result':_0x1b0521[_0x5911c5(0x2cf)]||_0x5992dd[_0x5911c5(0x28f)],'failure_reason':_0x1b0521[_0x5911c5(0x2c5)]||null,'failure_type':_0x1b0521['failureType']||null,'failure':_0x1b0521[_0x5911c5(0x2b8)]||[],'retry_of':null,'hooks':[]};_0x55bfcf['failure'][0x0]&&(_0x55bfcf[_0x5911c5(0x225)]=_0x55bfcf[_0x5911c5(0x2b8)][0x0][_0x5911c5(0x2cb)],_0x55bfcf[_0x5911c5(0x22a)]=_0x55bfcf['failure'][0x0][_0x5911c5(0x290)]);const _0x565d05=_0x5992dd[_0x5911c5(0x20d)](_0x5c0bcd,HookState[_0x5911c5(0x241)])?_0x5992dd['BEyWu']:_0x5992dd['ogYso'],_0x4a1091={};_0x4a1091[_0x5911c5(0x226)]=_0x565d05,_0x4a1091[_0x5911c5(0x253)]=_0x55bfcf,SessionHandler[_0x5911c5(0x268)](_0x4a1091);}}function emitLog(_0x218a86,_0x48dcf8){const _0x1df909=a43_0x4ae985,_0x5ba4b8={'LCyva':'TEST_LOG','KMbfi':function(_0x3fa51c){return _0x3fa51c();},'dYhvi':function(_0x3afb3d,_0x5773a1){return _0x3afb3d===_0x5773a1;},'BswWZ':_0x1df909(0x276),'PhkSH':_0x1df909(0x28e),'RaLEa':_0x1df909(0x2c3),'dSOwH':_0x1df909(0x22b),'sUWnM':function(_0x47d293,_0xc13986){return _0x47d293(_0xc13986);},'gbIvr':function(_0x321908,_0x665792){return _0x321908+_0x665792;},'mgdPu':'[Newman\x20Reporter]\x20emitLog\x20error:\x20','PFXPH':_0x1df909(0x281)},_0x38f0f0=_0x48dcf8[_0x1df909(0x2a9)]||_0x5ba4b8[_0x1df909(0x221)],_0x278b88=_0x48dcf8[_0x1df909(0x295)]||new Date()['toISOString']();if(_0x5ba4b8[_0x1df909(0x256)](isCLIRunning))try{const _0x3ef9dc=_0x5ba4b8[_0x1df909(0x2c6)](_0x38f0f0,_0x5ba4b8[_0x1df909(0x228)])?JSON[_0x1df909(0x231)](_0x48dcf8):_0x48dcf8[_0x1df909(0x229)]||'',_0x567129={};_0x567129[_0x1df909(0x257)]=0x0,_0x567129[_0x1df909(0x210)]=_0x5ba4b8[_0x1df909(0x218)],_0x567129[_0x1df909(0x2b6)]='',_0x567129[_0x1df909(0x2df)]=_0x5ba4b8[_0x1df909(0x25d)],_0x567129[_0x1df909(0x2b0)]=[{'uuid':_0x218a86,'timestamp':_0x278b88,'kind':_0x38f0f0,'level':_0x48dcf8[_0x1df909(0x29b)]||_0x5ba4b8[_0x1df909(0x29a)],'message':_0x3ef9dc}],GrpcClient[_0x1df909(0x2bf)]()[_0x1df909(0x20e)](_0x567129);}catch(_0x216e4c){_0x5ba4b8['sUWnM'](debug,_0x5ba4b8[_0x1df909(0x2ae)](_0x5ba4b8[_0x1df909(0x211)],_0x216e4c));}else{const _0x18a17f={};_0x18a17f[_0x1df909(0x236)]=_0x218a86,_0x18a17f[_0x1df909(0x295)]=_0x278b88,_0x18a17f[_0x1df909(0x29b)]=_0x48dcf8[_0x1df909(0x29b)]||null,_0x18a17f['message']=_0x48dcf8[_0x1df909(0x229)]||null,_0x18a17f[_0x1df909(0x2a9)]=_0x38f0f0,_0x18a17f[_0x1df909(0x261)]=_0x48dcf8['http_response']||{};const _0x132d21={};_0x132d21['event_type']=_0x5ba4b8['PFXPH'],_0x132d21['logs']=[_0x18a17f],SessionHandler['uploadEventData'](_0x132d21);}}function BrowserStackNewmanReporter(_0x59a0f,_0x169ec2,_0x326d6c){const _0x412668=a43_0x4ae985,_0x10b692={'QnRSC':function(_0xdd9ac,_0x348fe9,_0x59da17){return _0xdd9ac(_0x348fe9,_0x59da17);},'knWHS':function(_0xebe2ee,_0x338474){return _0xebe2ee(_0x338474);},'spVOC':function(_0x3debe2,_0x1def03){return _0x3debe2>_0x1def03;},'axwHo':function(_0x4aa092,_0x160737){return _0x4aa092(_0x160737);},'jnNQD':_0x412668(0x227),'sSatB':function(_0x2c0d9,_0x274b42){return _0x2c0d9+_0x274b42;},'fyWNL':'GET','KzTpf':_0x412668(0x1f4),'lkMVj':function(_0x19f4c9,_0x5e11bc){return _0x19f4c9+_0x5e11bc;},'pBver':function(_0x1fd5a1){return _0x1fd5a1();},'dbyEj':function(_0x575a8f,_0x797eb3){return _0x575a8f||_0x797eb3;},'jqjiw':function(_0x20af67,_0x4dc88c,_0x51a058,_0x14586d,_0x35f5d9,_0x296774){return _0x20af67(_0x4dc88c,_0x51a058,_0x14586d,_0x35f5d9,_0x296774);},'rCwXX':function(_0x449f73,_0xc7919d){return _0x449f73===_0xc7919d;},'ognrV':'HTTP','NIHcZ':function(_0x54c5d1,_0x4c92e8){return _0x54c5d1+_0x4c92e8;},'oKPGE':function(_0xe2c8d3,_0xe263d2){return _0xe2c8d3+_0xe263d2;},'XsjCO':function(_0x55456f,_0x2702b2){return _0x55456f+_0x2702b2;},'dPjnV':_0x412668(0x245),'FNUyX':_0x412668(0x2da),'mVsmu':_0x412668(0x22b),'mOykB':function(_0x32d378,_0x5a9901){return _0x32d378(_0x5a9901);},'ROehn':function(_0x388e7a,_0x21f5f8){return _0x388e7a-_0x21f5f8;},'muWRk':function(_0x275eb4,_0x311f0c){return _0x275eb4(_0x311f0c);},'Vqefx':function(_0x5742e2,_0x3d51ce){return _0x5742e2(_0x3d51ce);},'LvADo':function(_0x2c78a8,_0x2e638a){return _0x2c78a8&&_0x2e638a;},'cceTV':function(_0x336b59,_0x2b5a33){return _0x336b59>_0x2b5a33;},'pHNSj':function(_0x5d09cf,_0x4ed70a){return _0x5d09cf-_0x4ed70a;},'KfPFd':_0x412668(0x2b7),'eunFT':_0x412668(0x26b),'ejmWf':_0x412668(0x2d6),'oGLMh':function(_0x3a9bc3,_0x9d49bc){return _0x3a9bc3-_0x9d49bc;},'TOHFA':_0x412668(0x27f),'JUKeX':function(_0x1806a1,_0x5c76e0,_0x5b5e9b){return _0x1806a1(_0x5c76e0,_0x5b5e9b);},'RDpVf':function(_0x437ecd,_0x22e6e6){return _0x437ecd+_0x22e6e6;},'OhTsk':_0x412668(0x246),'KAqgg':_0x412668(0x20b),'QvQbz':_0x412668(0x2d4),'bpvQJ':'failed','yUQiF':_0x412668(0x2d1),'WvKeq':function(_0x18ecf8,_0x56008d){return _0x18ecf8===_0x56008d;},'pbUVu':_0x412668(0x263),'ELOJR':_0x412668(0x2dd),'mZnIV':'UnhandledError','KtXmU':function(_0x2375a0,_0x291151,_0x572028){return _0x2375a0(_0x291151,_0x572028);},'vwGeW':function(_0x1cf235,_0x144796){return _0x1cf235-_0x144796;},'mILax':function(_0x7c8c02,_0x1d2934){return _0x7c8c02>_0x1d2934;},'iqWFZ':function(_0x3970cd,_0x5b0c52){return _0x3970cd!=_0x5b0c52;},'fDiRh':function(_0x4a5a21,_0x1571d8){return _0x4a5a21>=_0x1571d8;},'VrDxw':function(_0x75363b,_0x5f235e){return _0x75363b<_0x5f235e;},'ypRup':'N/A','Cggie':function(_0x2a5219,_0x1a8593){return _0x2a5219!=_0x1a8593;},'EhuUZ':'No\x20HTTP\x20response\x20received','ESgPQ':function(_0x3f6caf,_0x35a240,_0x3f0cb5){return _0x3f6caf(_0x35a240,_0x3f0cb5);},'dZaTF':function(_0xd50b7,_0x1c348b){return _0xd50b7+_0x1c348b;},'rMRQV':function(_0x59f736,_0x2e1459){return _0x59f736+_0x2e1459;},'WYRcN':function(_0x1a5477,_0x45c289){return _0x1a5477+_0x45c289;},'nJQLa':function(_0x53deec,_0x558934){return _0x53deec+_0x558934;},'zmzsg':function(_0x32bd4d,_0x3499f8,_0x502c77){return _0x32bd4d(_0x3499f8,_0x502c77);},'Oidng':function(_0x396003,_0x57ea71){return _0x396003+_0x57ea71;},'WaLeR':_0x412668(0x271),'pHFRM':function(_0x3e925d,_0x4a7af6){return _0x3e925d||_0x4a7af6;},'geLTm':'\x20(no\x20assertions)','dUFjd':function(_0x3d7dff,_0x2de741){return _0x3d7dff(_0x2de741);},'YiesU':'done','MEVoz':_0x412668(0x2b1),'DDeWb':_0x412668(0x27d),'mvRvr':_0x412668(0x2d0),'Jtttm':_0x412668(0x22d),'OslOv':_0x412668(0x28c),'KpgZX':_0x412668(0x26f),'TPWnM':'script','qmTnf':_0x412668(0x2e9)},_0x52e438=new Map();let _0x4b1ae5=null,_0x4c7021=0x0;const _0x4eba03=_0x10b692[_0x412668(0x2b2)](resolveCollectionFile,_0x326d6c,_0x169ec2),_0x15a32d=_0x10b692[_0x412668(0x28a)](resolveCollectionName,_0x326d6c)||_0x4eba03,_0x451631=path[_0x412668(0x2e4)](_0x4eba03),_0x207a75=_0x412668(0x2b5)+process['pid'],_0x3f949e=_0x2a09e2=>{const _0x1527c7=_0x412668;try{_0x4b1ae5&&_0x10b692[_0x1527c7(0x264)](emitLog,_0x4b1ae5,_0x2a09e2);}catch(_0x3ef50c){_0x10b692[_0x1527c7(0x24a)](debug,_0x1527c7(0x251)+_0x3ef50c);}};process['on'](_0x207a75,_0x3f949e),_0x59a0f['on'](_0x10b692[_0x412668(0x266)],()=>{const _0x5a351e=_0x412668;process['removeListener'](_0x207a75,_0x3f949e),_0x52e438[_0x5a351e(0x21c)]();}),_0x59a0f['on'](_0x10b692[_0x412668(0x1fb)],(_0x2e2e7d,_0x262edc)=>{const _0x2c3241=_0x412668;_0x262edc&&_0x262edc[_0x2c3241(0x297)]&&(_0x4c7021=_0x262edc['cursor'][_0x2c3241(0x203)]||0x0);}),_0x59a0f['on'](_0x10b692[_0x412668(0x2d8)],(_0x3f9c10,_0x51f048)=>{const _0x4e6658=_0x412668;try{_0x4b1ae5=null;const _0x1200e6=_0x51f048[_0x4e6658(0x2e9)],_0x37ba90=_0x1200e6[_0x4e6658(0x28d)]()?_0x10b692[_0x4e6658(0x24a)](getParentTitles,_0x1200e6['parent']()):[],_0x2979ca=_0x10b692[_0x4e6658(0x26c)](_0x37ba90[_0x4e6658(0x220)],0x1)?_0x37ba90['slice'](0x1):_0x37ba90,_0x4578c5=_0x51f048[_0x4e6658(0x297)]&&_0x51f048[_0x4e6658(0x297)][_0x4e6658(0x216)],_0x49d7c6={'itemName':_0x1200e6[_0x4e6658(0x20c)],'scopes':_0x2979ca[_0x4e6658(0x2ad)]([_0x1200e6[_0x4e6658(0x20c)]]),'location':_0x4eba03,'collectionName':_0x15a32d,'startedAt':new Date()[_0x4e6658(0x232)](),'startTimestamp':Date[_0x4e6658(0x2b4)](),'lastResponseCode':null,'httpLog':null,'assertions':[],'bufferedLogs':[]};_0x52e438[_0x4e6658(0x244)](_0x1200e6['id']+'_'+_0x4c7021,_0x49d7c6),_0x4578c5&&_0x52e438[_0x4e6658(0x244)](_0x4578c5+'_'+_0x4c7021,_0x49d7c6);}catch(_0x5bc877){_0x10b692[_0x4e6658(0x29f)](debug,'[Newman\x20Reporter]\x20Error\x20in\x20beforeItem:\x20'+_0x5bc877);}}),_0x59a0f['on'](_0x10b692['mvRvr'],(_0x292e46,_0x3d6f1b)=>{const _0xb7bb3c=_0x412668;try{if(!_0x3d6f1b||!_0x3d6f1b[_0xb7bb3c(0x2e9)])return;const _0x476d59=_0x52e438[_0xb7bb3c(0x1f8)](_0x3d6f1b[_0xb7bb3c(0x2e9)]['id']+'_'+_0x4c7021);if(!_0x476d59)return;_0x3d6f1b[_0xb7bb3c(0x2a0)]&&(_0x476d59[_0xb7bb3c(0x1fd)]=_0x3d6f1b[_0xb7bb3c(0x2a0)][_0xb7bb3c(0x1f5)]||null);if(!_0x3d6f1b[_0xb7bb3c(0x2d0)])return;let _0x497061='',_0x2160b3='';if(_0x3d6f1b[_0xb7bb3c(0x2d0)][_0xb7bb3c(0x21f)])try{const _0x52ee28=_0x3d6f1b[_0xb7bb3c(0x2d0)]['url'][_0xb7bb3c(0x2cc)](),_0x4a282c=new URL(_0x52ee28[_0xb7bb3c(0x21d)](_0x10b692[_0xb7bb3c(0x1fa)])?_0x52ee28:_0xb7bb3c(0x201)+_0x52ee28);_0x497061=_0x4a282c[_0xb7bb3c(0x243)],_0x2160b3=_0x10b692[_0xb7bb3c(0x2d7)](_0x4a282c[_0xb7bb3c(0x2d2)],_0x4a282c[_0xb7bb3c(0x262)]);}catch(_0x3f9379){_0x2160b3=_0x3d6f1b[_0xb7bb3c(0x2d0)][_0xb7bb3c(0x21f)][_0xb7bb3c(0x2cc)]();}const _0x15f7b5={};_0x15f7b5['host']=_0x497061,_0x15f7b5[_0xb7bb3c(0x1fe)]=_0x2160b3,_0x15f7b5[_0xb7bb3c(0x282)]=_0x3d6f1b[_0xb7bb3c(0x2d0)][_0xb7bb3c(0x282)]||_0x10b692[_0xb7bb3c(0x252)],_0x15f7b5[_0xb7bb3c(0x2e1)]={},_0x15f7b5[_0xb7bb3c(0x2e6)]=_0x3d6f1b[_0xb7bb3c(0x2a0)]?_0x3d6f1b[_0xb7bb3c(0x2a0)][_0xb7bb3c(0x1f5)]||0x0:0x0,_0x15f7b5[_0xb7bb3c(0x21a)]=_0x3d6f1b['response']?_0x3d6f1b[_0xb7bb3c(0x2a0)][_0xb7bb3c(0x2ab)]||0x0:0x0,_0x476d59['httpLog']=_0x15f7b5;}catch(_0x4fd56f){_0x10b692[_0xb7bb3c(0x29f)](debug,_0xb7bb3c(0x234)+_0x4fd56f);}}),_0x59a0f['on'](_0x10b692[_0x412668(0x248)],(_0x58f3ad,_0x3c979f)=>{const _0x2c8c30=_0x412668;try{if(!_0x3c979f||!_0x3c979f[_0x2c8c30(0x2e9)])return;const _0x2b4a69=_0x52e438[_0x2c8c30(0x1f8)](_0x3c979f[_0x2c8c30(0x2e9)]['id']+'_'+_0x4c7021);if(!_0x2b4a69)return;const _0x596c9d=_0x3c979f[_0x2c8c30(0x22d)]||_0x2c8c30(0x26d)+_0x10b692[_0x2c8c30(0x272)](_0x2b4a69[_0x2c8c30(0x287)][_0x2c8c30(0x220)],0x1),_0xbf2a26=_0x10b692[_0x2c8c30(0x20a)](uuidv4),_0x578bc4=_0x2b4a69['scopes'][_0x2c8c30(0x2ad)]([_0x596c9d])[_0x2c8c30(0x2c1)]('\x20');_0x2b4a69['assertions'][_0x2c8c30(0x205)]({'uuid':_0xbf2a26,'name':_0x596c9d,'identifier':_0x578bc4,'err':_0x10b692[_0x2c8c30(0x2d3)](_0x58f3ad,null)});const _0x30e24e={};_0x30e24e[_0x2c8c30(0x293)]=_0xbf2a26,_0x30e24e[_0x2c8c30(0x20c)]=_0x596c9d,_0x30e24e[_0x2c8c30(0x294)]=_0x578bc4,_0x10b692[_0x2c8c30(0x2a4)](emitTest,HookState['PRE'],_0x30e24e,_0x2b4a69,_0x451631,{});_0x10b692[_0x2c8c30(0x2a5)](_0x2b4a69[_0x2c8c30(0x287)][_0x2c8c30(0x220)],0x1)&&_0x10b692[_0x2c8c30(0x26c)](_0x2b4a69['bufferedLogs'][_0x2c8c30(0x220)],0x0)&&(_0x2b4a69[_0x2c8c30(0x212)][_0x2c8c30(0x1f6)](_0x470df5=>{const _0x51fbc5=_0x2c8c30;_0x10b692['QnRSC'](emitLog,_0xbf2a26,{'kind':_0x10b692[_0x51fbc5(0x270)],'message':_0x470df5[_0x51fbc5(0x229)],'level':_0x470df5[_0x51fbc5(0x29b)]});}),_0x2b4a69[_0x2c8c30(0x212)]=[]);if(_0x2b4a69[_0x2c8c30(0x2d5)]){_0x10b692[_0x2c8c30(0x264)](emitLog,_0xbf2a26,{'kind':_0x10b692[_0x2c8c30(0x2a2)],'http_response':_0x2b4a69[_0x2c8c30(0x2d5)]});const _0x39d757=_0x10b692[_0x2c8c30(0x2d7)](_0x10b692[_0x2c8c30(0x247)](_0x10b692[_0x2c8c30(0x274)](_0x10b692[_0x2c8c30(0x2d7)](_0x10b692[_0x2c8c30(0x280)](_0x10b692[_0x2c8c30(0x2d7)](_0x10b692['NIHcZ'](_0x10b692[_0x2c8c30(0x2d7)](_0x2b4a69[_0x2c8c30(0x2d5)][_0x2c8c30(0x282)]||_0x10b692['fyWNL'],'\x20'),_0x2b4a69[_0x2c8c30(0x2d5)]['host']),_0x2b4a69[_0x2c8c30(0x2d5)][_0x2c8c30(0x1fe)]),_0x10b692['dPjnV']),_0x2b4a69[_0x2c8c30(0x2d5)][_0x2c8c30(0x2e6)]),'\x20('),_0x2b4a69['httpLog'][_0x2c8c30(0x21a)]),_0x10b692['FNUyX']);_0x10b692['QnRSC'](emitLog,_0xbf2a26,{'kind':_0x10b692[_0x2c8c30(0x270)],'message':_0x39d757,'level':_0x10b692['mVsmu']});}_0x4b1ae5=_0xbf2a26;}catch(_0x570716){_0x10b692['mOykB'](debug,_0x2c8c30(0x2c0)+_0x570716);}}),_0x59a0f['on'](_0x10b692['OslOv'],(_0x5b52ce,_0x5281d5)=>{const _0xf17d19=_0x412668;try{if(!_0x5281d5)return;let _0x5d154a=_0x4b1ae5;if(!_0x5d154a&&_0x5281d5[_0xf17d19(0x297)]&&_0x5281d5[_0xf17d19(0x297)][_0xf17d19(0x216)]){const _0x160c40=_0x52e438[_0xf17d19(0x1f8)](_0x5281d5['cursor'][_0xf17d19(0x216)]+'_'+_0x4c7021);_0x160c40&&_0x10b692['spVOC'](_0x160c40[_0xf17d19(0x287)][_0xf17d19(0x220)],0x0)&&(_0x5d154a=_0x160c40[_0xf17d19(0x287)][_0x10b692[_0xf17d19(0x242)](_0x160c40[_0xf17d19(0x287)]['length'],0x1)]['uuid']);}const _0x16caa3=_0x5281d5[_0xf17d19(0x1ff)]?_0x5281d5[_0xf17d19(0x1ff)]['join'](',\x20'):'';if(_0x5d154a)_0x10b692[_0xf17d19(0x264)](emitLog,_0x5d154a,{'kind':_0x10b692[_0xf17d19(0x270)],'message':_0x16caa3,'level':_0x10b692[_0xf17d19(0x29f)](normalizeLogLevel,_0x5281d5[_0xf17d19(0x29b)])});else{if(_0x5281d5[_0xf17d19(0x297)]&&_0x5281d5[_0xf17d19(0x297)][_0xf17d19(0x216)]){const _0x46d366=_0x52e438['get'](_0x5281d5[_0xf17d19(0x297)][_0xf17d19(0x216)]+'_'+_0x4c7021);_0x46d366&&_0x46d366[_0xf17d19(0x212)][_0xf17d19(0x205)]({'timestamp':new Date()['toISOString'](),'level':_0x10b692[_0xf17d19(0x2a7)](normalizeLogLevel,_0x5281d5['level']),'message':_0x16caa3});}}}catch(_0x291af7){_0x10b692[_0xf17d19(0x24a)](debug,_0xf17d19(0x214)+_0x291af7);}}),_0x59a0f['on'](_0x10b692[_0x412668(0x2ce)],(_0x28a981,_0x2b8146)=>{const _0xecc238=_0x412668;try{if(!_0x28a981&&(!_0x2b8146||!_0x2b8146['error']))return;const _0x4ccbd6=_0x28a981||_0x2b8146['error'],_0x4b6c3f=_0x4ccbd6[_0xecc238(0x229)]||_0x10b692[_0xecc238(0x28a)](String,_0x4ccbd6),_0x3493cc=_0x4ccbd6[_0xecc238(0x267)]||_0x4b6c3f;let _0x454af9=_0x4b1ae5;if(_0x10b692[_0xecc238(0x27b)](!_0x454af9,_0x2b8146)&&_0x2b8146[_0xecc238(0x297)]&&_0x2b8146['cursor'][_0xecc238(0x216)]){const _0x18037f=_0x52e438['get'](_0x2b8146[_0xecc238(0x297)]['ref']+'_'+_0x4c7021);_0x18037f&&_0x10b692[_0xecc238(0x207)](_0x18037f[_0xecc238(0x287)][_0xecc238(0x220)],0x0)&&(_0x454af9=_0x18037f[_0xecc238(0x287)][_0x10b692[_0xecc238(0x224)](_0x18037f['assertions']['length'],0x1)][_0xecc238(0x293)]);}_0x454af9&&_0x10b692[_0xecc238(0x264)](emitLog,_0x454af9,{'kind':_0x10b692[_0xecc238(0x270)],'message':_0x10b692[_0xecc238(0x272)](_0x10b692['KfPFd'],_0x3493cc),'level':_0x10b692[_0xecc238(0x222)]});}catch(_0x18bb79){_0x10b692['axwHo'](debug,_0x10b692[_0xecc238(0x280)](_0x10b692[_0xecc238(0x275)],_0x18bb79));}}),_0x59a0f['on'](_0x10b692['TPWnM'],(_0x14c206,_0xffdd02)=>{const _0x48ce1d=_0x412668;try{if(!_0xffdd02||!_0xffdd02[_0x48ce1d(0x292)])return;let _0x54e530=_0x4b1ae5;if(!_0x54e530&&_0xffdd02[_0x48ce1d(0x297)]&&_0xffdd02['cursor']['ref']){const _0xe27d91=_0x52e438[_0x48ce1d(0x1f8)](_0xffdd02[_0x48ce1d(0x297)][_0x48ce1d(0x216)]+'_'+_0x4c7021);_0xe27d91&&_0x10b692['spVOC'](_0xe27d91['assertions'][_0x48ce1d(0x220)],0x0)&&(_0x54e530=_0xe27d91['assertions'][_0x10b692['oGLMh'](_0xe27d91['assertions']['length'],0x1)][_0x48ce1d(0x293)]);}if(!_0x54e530)return;const _0x3938ed=_0xffdd02['event']&&_0xffdd02['event'][_0x48ce1d(0x2bd)]||_0x10b692[_0x48ce1d(0x25e)];_0x14c206&&_0x10b692[_0x48ce1d(0x29d)](emitLog,_0x54e530,{'kind':_0x10b692[_0x48ce1d(0x270)],'message':_0x10b692[_0x48ce1d(0x2d7)](_0x10b692['RDpVf'](_0x10b692[_0x48ce1d(0x272)](_0x10b692[_0x48ce1d(0x237)],_0x3938ed),_0x10b692['KAqgg']),_0x14c206[_0x48ce1d(0x229)]||_0x14c206),'level':_0x10b692['eunFT']});}catch(_0x3ea472){_0x10b692[_0x48ce1d(0x29f)](debug,_0x10b692['lkMVj'](_0x10b692[_0x48ce1d(0x29e)],_0x3ea472));}}),_0x59a0f['on'](_0x10b692[_0x412668(0x2cd)],(_0x35f16f,_0x32adb3)=>{const _0x3f9fa0=_0x412668;try{if(!_0x32adb3||!_0x32adb3[_0x3f9fa0(0x2e9)])return;const _0x25efd1=_0x32adb3[_0x3f9fa0(0x2e9)]['id']+'_'+_0x4c7021,_0x143f5a=_0x52e438[_0x3f9fa0(0x1f8)](_0x25efd1);if(!_0x143f5a)return;const _0x34da2d=new Date(),_0x40c8b9=_0x10b692['vwGeW'](_0x34da2d[_0x3f9fa0(0x1f9)](),_0x143f5a[_0x3f9fa0(0x202)]);if(_0x10b692[_0x3f9fa0(0x2bc)](_0x143f5a[_0x3f9fa0(0x287)][_0x3f9fa0(0x220)],0x0))_0x143f5a[_0x3f9fa0(0x287)][_0x3f9fa0(0x1f6)](_0x509b97=>{const _0x4e5c41=_0x3f9fa0,_0x844083=!!_0x509b97[_0x4e5c41(0x2c2)],_0x2f126f={'finishedAt':_0x34da2d[_0x4e5c41(0x232)](),'durationMs':_0x40c8b9,'result':_0x844083?_0x10b692[_0x4e5c41(0x219)]:_0x10b692[_0x4e5c41(0x2e0)]};_0x844083&&(_0x2f126f['failureReason']=_0x509b97['err'][_0x4e5c41(0x229)]||'',_0x2f126f[_0x4e5c41(0x208)]=_0x10b692['WvKeq'](_0x509b97[_0x4e5c41(0x2c2)][_0x4e5c41(0x20c)],_0x10b692[_0x4e5c41(0x254)])||_0x509b97[_0x4e5c41(0x2c2)][_0x4e5c41(0x229)]&&_0x509b97['err'][_0x4e5c41(0x229)][_0x4e5c41(0x2dc)](_0x10b692[_0x4e5c41(0x289)])?_0x10b692[_0x4e5c41(0x254)]:_0x10b692[_0x4e5c41(0x258)],_0x2f126f[_0x4e5c41(0x2b8)]=[{'backtrace':_0x509b97[_0x4e5c41(0x2c2)][_0x4e5c41(0x267)]?_0x509b97[_0x4e5c41(0x2c2)][_0x4e5c41(0x267)][_0x4e5c41(0x296)]('\x0a'):[_0x509b97[_0x4e5c41(0x2c2)][_0x4e5c41(0x229)]||''],'expanded':[]}]),_0x10b692[_0x4e5c41(0x2a4)](emitTest,HookState[_0x4e5c41(0x2c7)],_0x509b97,_0x143f5a,_0x451631,_0x2f126f);});else{const _0x55f2a9=_0x10b692[_0x3f9fa0(0x20a)](uuidv4),_0x1c9431=_0x143f5a['lastResponseCode'],_0x9898eb=_0x10b692[_0x3f9fa0(0x299)](_0x1c9431,null)&&_0x10b692[_0x3f9fa0(0x2b3)](_0x1c9431,0xc8)&&_0x10b692['VrDxw'](_0x1c9431,0x190),_0x5cd5d7=_0x143f5a[_0x3f9fa0(0x23f)]+'\x20(HTTP\x20'+_0x10b692[_0x3f9fa0(0x2d3)](_0x1c9431,_0x10b692[_0x3f9fa0(0x273)])+')',_0x5f3269={'uuid':_0x55f2a9,'name':_0x5cd5d7,'identifier':_0x143f5a[_0x3f9fa0(0x2af)][_0x3f9fa0(0x2ad)]([_0x5cd5d7])['join']('\x20')},_0x2afcba={'finishedAt':_0x34da2d[_0x3f9fa0(0x232)](),'durationMs':_0x40c8b9,'result':_0x9898eb?_0x10b692['yUQiF']:_0x10b692['bpvQJ']};!_0x9898eb&&(_0x2afcba[_0x3f9fa0(0x2c5)]=_0x10b692[_0x3f9fa0(0x2b9)](_0x1c9431,null)?_0x3f9fa0(0x2c9)+_0x1c9431+'\x20—\x20response\x20status\x20in\x20failure\x20range':_0x10b692[_0x3f9fa0(0x286)],_0x2afcba[_0x3f9fa0(0x208)]=_0x10b692[_0x3f9fa0(0x258)],_0x2afcba[_0x3f9fa0(0x2b8)]=[{'backtrace':[_0x2afcba[_0x3f9fa0(0x2c5)]],'expanded':[]}]);_0x10b692[_0x3f9fa0(0x2a4)](emitTest,HookState['PRE'],_0x5f3269,_0x143f5a,_0x451631,{}),_0x143f5a[_0x3f9fa0(0x212)][_0x3f9fa0(0x1f6)](_0xe70e15=>{const _0x3c1f8c=_0x3f9fa0;_0x10b692[_0x3c1f8c(0x2b2)](emitLog,_0x55f2a9,{'kind':_0x10b692[_0x3c1f8c(0x270)],'message':_0xe70e15[_0x3c1f8c(0x229)],'level':_0xe70e15[_0x3c1f8c(0x29b)]});});if(_0x143f5a[_0x3f9fa0(0x2d5)]){_0x10b692[_0x3f9fa0(0x2a1)](emitLog,_0x55f2a9,{'kind':_0x10b692[_0x3f9fa0(0x2a2)],'http_response':_0x143f5a[_0x3f9fa0(0x2d5)]});const _0xfcc27a=_0x10b692[_0x3f9fa0(0x279)](_0x10b692[_0x3f9fa0(0x2c8)](_0x10b692['XsjCO'](_0x10b692['WYRcN'](_0x10b692[_0x3f9fa0(0x279)](_0x10b692[_0x3f9fa0(0x23b)](_0x10b692[_0x3f9fa0(0x279)](_0x10b692[_0x3f9fa0(0x280)](_0x143f5a[_0x3f9fa0(0x2d5)][_0x3f9fa0(0x282)]||_0x10b692[_0x3f9fa0(0x252)],'\x20'),_0x143f5a[_0x3f9fa0(0x2d5)][_0x3f9fa0(0x26e)]),_0x143f5a['httpLog']['path']),_0x10b692[_0x3f9fa0(0x217)]),_0x143f5a[_0x3f9fa0(0x2d5)]['status_code']),'\x20('),_0x143f5a[_0x3f9fa0(0x2d5)]['duration_ms']),_0x10b692[_0x3f9fa0(0x223)]);_0x10b692[_0x3f9fa0(0x29d)](emitLog,_0x55f2a9,{'kind':_0x10b692[_0x3f9fa0(0x270)],'message':_0xfcc27a,'level':_0x10b692[_0x3f9fa0(0x265)]});}else _0x10b692[_0x3f9fa0(0x24d)](emitLog,_0x55f2a9,{'kind':_0x10b692[_0x3f9fa0(0x270)],'message':_0x10b692[_0x3f9fa0(0x22f)](_0x10b692['Oidng'](_0x10b692[_0x3f9fa0(0x2db)],_0x10b692[_0x3f9fa0(0x25a)](_0x1c9431,_0x10b692[_0x3f9fa0(0x273)])),_0x10b692['geLTm']),'level':_0x10b692[_0x3f9fa0(0x265)]});_0x10b692[_0x3f9fa0(0x2a4)](emitTest,HookState['POST'],_0x5f3269,_0x143f5a,_0x451631,_0x2afcba);}_0x52e438['delete'](_0x25efd1),_0x32adb3[_0x3f9fa0(0x297)]&&_0x32adb3[_0x3f9fa0(0x297)]['ref']&&_0x52e438[_0x3f9fa0(0x239)](_0x32adb3[_0x3f9fa0(0x297)][_0x3f9fa0(0x216)]+'_'+_0x4c7021);}catch(_0x112810){_0x10b692[_0x3f9fa0(0x269)](debug,_0x3f9fa0(0x284)+_0x112810);}});}module[a43_0x4ae985(0x230)]=BrowserStackNewmanReporter;function a43_0xb9cd(){const _0x570011=['url','length','LCyva','eunFT','FNUyX','pHNSj','failure_backtrace','event_type','http','BswWZ','message','failure_reason_expanded','INFO','jgIiQ','assertion','VWbty','WYRcN','exports','stringify','toISOString','10675FODawU','[Newman\x20Reporter]\x20Error\x20in\x20request:\x20','durationMs','test_run_uuid','OhTsk','697792dcJSsx','delete','[Newman\x20Reporter]\x20emitTest\x20error:\x20','nJQLa','20fcvweT','WARN','../../v2/state/testFrameworkState','itemName','toUpperCase','PRE','ROehn','hostname','set','\x20->\x20','Script\x20error\x20(','NIHcZ','Jtttm','collectionPath','knWHS','run','collection.json','zmzsg','3578841YFwvao','6588681jCQExp','qPhaz','[Newman\x20Reporter]\x20Error\x20in\x20bs:addLog\x20handler:\x20','fyWNL','test_run','pbUVu','info','KMbfi','platformIndex','mZnIV','csLhv','pHFRM','bPaeM','startedAt','RaLEa','TOHFA','relative','indexOf','http_response','search','AssertionError','QnRSC','mVsmu','YiesU','stack','uploadEventData','dUFjd','isRunning','ERROR','spVOC','Assertion\x20','host','exception','KzTpf','HTTP\x20Status:\x20','lkMVj','ypRup','oKPGE','ejmWf','HTTP','rSTqM','pIuPe','dZaTF','getTestFramework','LvADo','DEBUG','beforeItem','XdcUp','unknown','XsjCO','LogCreated','method','20BUuBzt','[Newman\x20Reporter]\x20Error\x20in\x20item:\x20','QDIkQ','EhuUZ','assertions','12002247LcQNMH','ELOJR','Vqefx','collectionName','console','parent','newman','RAJvY','expanded','argv','execution','uuid','identifier','timestamp','split','cursor','LZKpf','iqWFZ','dSOwH','level','TQhya','JUKeX','QvQbz','axwHo','response','ESgPQ','ognrV','../../../helpers/test-observability/utils','jqjiw','rCwXX','../../../helpers/test-observability/sessionHandler','muWRk','collection','kind','object','responseTime','string','concat','gbIvr','scopes','logs','beforeIteration','KtXmU','fDiRh','now','bs:addLog:','testFrameworkVersion','Exception:\x20','failure','Cggie','trackEvent','../../../helpers/logger','mILax','listen','1TNDMIy','getInstance','[Newman\x20Reporter]\x20Error\x20in\x20assertion:\x20','join','err','TEST','../../v2/grpcClient','failureReason','dYhvi','POST','rMRQV','HTTP\x20','htSba','backtrace','toString','qmTnf','KpgZX','result','request','passed','pathname','dbyEj','[Newman\x20Reporter]\x20Error\x20in\x20script:\x20','httpLog','[Newman\x20Reporter]\x20Error\x20in\x20exception:\x20','sSatB','DDeWb','TestRunStarted','ms)','WaLeR','includes','assert','winstonLogger','testFrameworkState','yUQiF','headers','RtzXx','476902bxDhrQ','resolve','1030236BiXUys','status_code','bliJL','QxNlp','item','TEST_LOG','code','forEach','../../v2/state/hookState','get','getTime','jnNQD','MEVoz','../../v2/browserstackCLI','lastResponseCode','path','messages','VzWoZ','http://','startTimestamp','iteration','cwd','push','IqXIv','cceTV','failureType','pending','pBver','):\x20','name','xsLuG','logCreatedEvent','2456VKjyxh','testFrameworkName','mgdPu','bufferedLogs','javascript','[Newman\x20Reporter]\x20Error\x20in\x20console:\x20','apply','ref','dPjnV','PhkSH','bpvQJ','duration_ms','finishedAt','clear','startsWith','max'];a43_0xb9cd=function(){return _0x570011;};return a43_0xb9cd();}
1
+ 'use strict';const a43_0x8ea3b7=a43_0x277c;(function(_0x543842,_0x533227){const _0x15d8fc=a43_0x277c,_0x12bba6=_0x543842();while(!![]){try{const _0x42f7b9=parseInt(_0x15d8fc(0x1dd))/0x1*(-parseInt(_0x15d8fc(0x194))/0x2)+parseInt(_0x15d8fc(0x1bd))/0x3+parseInt(_0x15d8fc(0x15f))/0x4*(-parseInt(_0x15d8fc(0x1a0))/0x5)+parseInt(_0x15d8fc(0x211))/0x6*(-parseInt(_0x15d8fc(0x1ee))/0x7)+parseInt(_0x15d8fc(0x16b))/0x8+-parseInt(_0x15d8fc(0x1a7))/0x9+parseInt(_0x15d8fc(0x24f))/0xa;if(_0x42f7b9===_0x533227)break;else _0x12bba6['push'](_0x12bba6['shift']());}catch(_0x1cccc9){_0x12bba6['push'](_0x12bba6['shift']());}}}(a43_0x4f1d,0x5d8ef));function a43_0x277c(_0xdfa52b,_0x146f21){const _0x4f1d6e=a43_0x4f1d();return a43_0x277c=function(_0x277c6a,_0x3aee42){_0x277c6a=_0x277c6a-0x15f;let _0x2d7a93=_0x4f1d6e[_0x277c6a];return _0x2d7a93;},a43_0x277c(_0xdfa52b,_0x146f21);}function a43_0x4f1d(){const _0x134ee9=['now','5043400fdrWuI','../../v2/state/hookState','KbksD','EZKdF','ref','pHQXd','headers','stack','durationMs','iteration','SOKNa','SNhuG','collection.json','http://','ULYYZ','run','pending','612CbZRwA','platformIndex','argv','cigYI','TRACE','resolve','split','set','path','trackEvent','[Newman\x20Reporter]\x20Error\x20in\x20request:\x20','KMbtR','2087800KesArc','dsbWo','qvqwS','PRE','identifier','../../../helpers/test-observability/utils','duration_ms','N/A','testFrameworkState','javascript','get','concat','CSLuc','logs','TYHBK','RWOBl','response','srnvY','VUDyJ','jsVtE','failure','POST','vyHzx','iTsdx','lxUTr','logCreatedEvent','wgVcO','backtrace','VaAyh','FJQdl','startsWith','sghnN','HTTP\x20Status:\x20','tGHOF','TEST','dJAhL','search','failureReason','test_run','udkgo','[Newman\x20Reporter]\x20Could\x20not\x20resolve\x20collection\x20file\x20path,\x20falling\x20back\x20to\x20collection.json','310qvpgsK','sXSbu','whgdV','itemName','exception','PPZkn','uHQVO','[Newman\x20Reporter]\x20Error\x20in\x20exception:\x20','swNUa','pid','vGsVi','passed','14615pGLxFx','hteQL','level','hBGLU','UQTjb','eNzkR','../../v2/state/testFrameworkState','388773ArksQS','BKGny','artGM','code','result','HJURM','htGUg','gZtUg','jTZsb','wGziN','tTBvm','WARN','push','GeQni','responseTime','err','HSZJK','[Newman\x20Reporter]\x20Error\x20in\x20assertion:\x20','winstonLogger','assertions','../../../helpers/logger','gpqKQ','2239071KIdldc','dyswz','newman','BIczE','assertion','bs:addLog:','[Newman\x20Reporter]\x20Error\x20in\x20item:\x20','pathname','UouzL','sgPAk','stringify','status_code','tTOpf','ezEyp','includes','url','HLoZJ','testFrameworkVersion','location','ERwyO','IsnrN','hmlmU','CzQHN','Hlyia','jHVee','exports','slice','assert','startedAt','CRpRh','test_run_uuid','lnbVs','545HQRXgq','No\x20HTTP\x20response\x20received','OcLXw','forEach','collection','TestRunStarted','http','max','../../v2/browserstackCLI','timestamp','dFBvH','parent','script','gxIan','failed','object','nMoRN','273CFMgWF','qBjCh','error','LogCreated','Script\x20error\x20(','finishedAt','removeListener','unknown','scopes','omeHB','oxzDy','boEIg','hrexh','beforeItem','cwd','\x20(HTTP\x20','message','ms)','uuid','HTTP','ERROR','length','testFrameworkName','indexOf','vFIDV','SJCnb','bufferedLogs','name','uSAbG','LbAKy','\x20->\x20','WMqAk','toString','../../../helpers/test-observability/sessionHandler','qxKUS','85164QipjFt','gIpHV','cdmdP','fILmE','event','SISHj','toISOString','HTTP\x20','host','SwRxS','AfwQZ','):\x20','wGfnW','collectionPath','relative','join','KCWia','HrpFL','[Newman\x20Reporter]\x20Error\x20in\x20script:\x20','clear','nSLJJ','FCdmB','DEBUG','YSPvS','AssertionError','INFO','OlsoD','[Newman\x20Reporter]\x20emitLog\x20error:\x20','KtcCU','wXoSH','startTimestamp','getTestFramework','nOZFL','collectionName','request','gDecO','item','expanded','getInstance','method','info','failureType','fFoYE','cursor','[Newman\x20Reporter]\x20Error\x20in\x20console:\x20','toUpperCase','event_type','tuRNy','http_response','TEST_LOG','UnhandledError','wVdrW','hMKMp','httpLog','zEUcg','lastResponseCode','sgEpQ','listen','done','svIUH','console'];a43_0x4f1d=function(){return _0x134ee9;};return a43_0x4f1d();}const path=require(a43_0x8ea3b7(0x167)),{v4:uuidv4}=require(a43_0x8ea3b7(0x200)),SessionHandler=require(a43_0x8ea3b7(0x20f)),{debug}=require(a43_0x8ea3b7(0x170)),logger=require(a43_0x8ea3b7(0x1bb))[a43_0x8ea3b7(0x1b9)],BrowserstackCLI=require(a43_0x8ea3b7(0x1e5)),GrpcClient=require('../../v2/grpcClient'),TestFrameworkState=require(a43_0x8ea3b7(0x1a6)),HookState=require(a43_0x8ea3b7(0x250)),LOG_LEVELS=['INFO',a43_0x8ea3b7(0x1b2),a43_0x8ea3b7(0x202),a43_0x8ea3b7(0x227),a43_0x8ea3b7(0x163)];function isCLIRunning(){const _0x1e8ad7=a43_0x8ea3b7;try{return BrowserstackCLI[_0x1e8ad7(0x237)]()['isRunning']();}catch(_0x183e20){return![];}}function getParentTitles(_0x5ba68e){const _0x1e7a85=a43_0x8ea3b7,_0x57028d={'srnvY':function(_0xa8bbf,_0x1bef50){return _0xa8bbf(_0x1bef50);},'zEUcg':function(_0x5a2ab0,_0x1e3f83){return _0x5a2ab0(_0x1e3f83);}},_0x143965=[],_0x4c1c87=_0x5ba68e[_0x1e7a85(0x1e8)]();return _0x4c1c87&&_0x143965[_0x1e7a85(0x1b3)]['apply'](_0x143965,_0x57028d[_0x1e7a85(0x17c)](getParentTitles,_0x4c1c87)),_0x5ba68e[_0x1e7a85(0x209)]&&_0x143965[_0x1e7a85(0x1b3)](_0x57028d[_0x1e7a85(0x247)](String,_0x5ba68e[_0x1e7a85(0x209)])),_0x143965;}function normalizeLogLevel(_0x233da9){const _0x17df9d=a43_0x8ea3b7,_0x49611d={};_0x49611d[_0x17df9d(0x22d)]=_0x17df9d(0x22a),_0x49611d['dJAhL']=function(_0x19c955,_0x1e9d1f){return _0x19c955!==_0x1e9d1f;};const _0x27e14d=_0x49611d;if(!_0x233da9)return _0x27e14d['KtcCU'];const _0x1fccf9=_0x233da9[_0x17df9d(0x23e)]();return _0x27e14d[_0x17df9d(0x18e)](LOG_LEVELS[_0x17df9d(0x205)](_0x1fccf9),-0x1)?_0x1fccf9:_0x27e14d[_0x17df9d(0x22d)];}function resolveCollectionFile(_0x145589,_0xbbcd5d){const _0x538d24=a43_0x8ea3b7,_0x5b2721={};_0x5b2721[_0x538d24(0x182)]=function(_0x31fad9,_0x52cd17){return _0x31fad9===_0x52cd17;},_0x5b2721[_0x538d24(0x1fa)]='string',_0x5b2721[_0x538d24(0x192)]=_0x538d24(0x25e),_0x5b2721[_0x538d24(0x1c0)]=function(_0x5c8071,_0x4383af){return _0x5c8071!==_0x4383af;},_0x5b2721[_0x538d24(0x17e)]=function(_0x2d42d6,_0x2ee416){return _0x2d42d6<_0x2ee416;},_0x5b2721[_0x538d24(0x195)]=function(_0xa921c,_0x4eb705){return _0xa921c+_0x4eb705;},_0x5b2721[_0x538d24(0x207)]=function(_0x4026ca,_0x30adec){return _0x4026ca+_0x30adec;},_0x5b2721['WMqAk']=_0x538d24(0x193),_0x5b2721[_0x538d24(0x206)]=_0x538d24(0x25b);const _0x27a6ab=_0x5b2721;try{if(_0xbbcd5d&&_0xbbcd5d[_0x538d24(0x21e)])return path['relative'](process[_0x538d24(0x1fc)](),path[_0x538d24(0x164)](_0xbbcd5d[_0x538d24(0x21e)]));const _0xf262fb=_0x145589[_0x538d24(0x1e1)];if(_0x27a6ab['iTsdx'](typeof _0xf262fb,_0x27a6ab[_0x538d24(0x1fa)]))return path[_0x538d24(0x21f)](process[_0x538d24(0x1fc)](),path['resolve'](_0xf262fb));const _0x400b67=process[_0x538d24(0x161)][_0x538d24(0x205)](_0x27a6ab[_0x538d24(0x192)]);if(_0x27a6ab[_0x538d24(0x1c0)](_0x400b67,-0x1)&&_0x27a6ab['jsVtE'](_0x27a6ab[_0x538d24(0x195)](_0x400b67,0x1),process[_0x538d24(0x161)][_0x538d24(0x203)])){const _0x3c7cb0=process[_0x538d24(0x161)][_0x27a6ab[_0x538d24(0x207)](_0x400b67,0x1)];if(_0x3c7cb0&&!_0x3c7cb0[_0x538d24(0x189)]('-'))return path[_0x538d24(0x21f)](process[_0x538d24(0x1fc)](),path[_0x538d24(0x164)](_0x3c7cb0));}}catch(_0xd18ea5){}return logger['info'](_0x27a6ab[_0x538d24(0x20d)]),_0x27a6ab['vFIDV'];}function resolveCollectionName(_0x5effea){const _0x3ae493=a43_0x8ea3b7,_0x2d6454={};_0x2d6454[_0x3ae493(0x1bc)]=function(_0x1ad476,_0x2eb1a9){return _0x1ad476===_0x2eb1a9;},_0x2d6454[_0x3ae493(0x1af)]=_0x3ae493(0x1ec);const _0x5e7147=_0x2d6454;try{const _0x578f10=_0x5effea[_0x3ae493(0x1e1)];if(_0x578f10&&_0x5e7147[_0x3ae493(0x1bc)](typeof _0x578f10,_0x5e7147[_0x3ae493(0x1af)]))return _0x578f10[_0x3ae493(0x209)]||_0x578f10[_0x3ae493(0x239)]&&_0x578f10[_0x3ae493(0x239)][_0x3ae493(0x209)]||null;}catch(_0x385ef0){}return null;}function emitTest(_0x5de430,_0x539a58,_0x27ed0a,_0x1ceee9,_0x23cd11){const _0x2300f6=a43_0x8ea3b7,_0x4ccb32={'vGsVi':function(_0x21b9e1){return _0x21b9e1();},'RWOBl':_0x2300f6(0x25f),'fILmE':function(_0x2e6947,_0x5386c3){return _0x2e6947(_0x5386c3);},'diVLJ':'newman','FCdmB':_0x2300f6(0x174),'tTBvm':function(_0x20ba7c,_0x4c0b31){return _0x20ba7c!=_0x4c0b31;},'vyHzx':function(_0x21fac7,_0x4067b0){return _0x21fac7===_0x4067b0;},'CQmOP':_0x2300f6(0x1e2),'HSZJK':'TestRunFinished'};if(_0x4ccb32[_0x2300f6(0x19e)](isCLIRunning))try{const _0x1def76=BrowserstackCLI[_0x2300f6(0x237)]()[_0x2300f6(0x230)]();if(!_0x1def76)return;_0x1def76[_0x2300f6(0x168)](TestFrameworkState[_0x2300f6(0x18d)],_0x5de430,{'test':{'uuid':_0x539a58['uuid'],'name':_0x539a58['name'],'scopes':_0x27ed0a[_0x2300f6(0x1f6)],'scope':_0x27ed0a[_0x2300f6(0x1f6)]['join']('\x20'),'file_path':_0x1ceee9,'location':_0x27ed0a[_0x2300f6(0x232)],'started_at':_0x27ed0a['startedAt'],'finished_at':_0x23cd11[_0x2300f6(0x1f3)]||null,'result':_0x23cd11[_0x2300f6(0x1ab)]||_0x4ccb32[_0x2300f6(0x17a)],'failure':_0x23cd11[_0x2300f6(0x17f)]||[],'failure_type':_0x23cd11[_0x2300f6(0x23a)]||null,'failure_reason':_0x23cd11['failureReason']||null,'tags':[],'meta':{},'custom_metadata':{}}});}catch(_0x2d879e){_0x4ccb32[_0x2300f6(0x214)](debug,'[Newman\x20Reporter]\x20emitTest\x20error:\x20'+_0x2d879e);}else{const _0x19f4ad={'uuid':_0x539a58['uuid'],'name':_0x539a58[_0x2300f6(0x209)],'framework':_0x4ccb32['diVLJ'],'body':{'lang':_0x4ccb32[_0x2300f6(0x226)],'code':null},'scope':_0x27ed0a[_0x2300f6(0x1f6)][_0x2300f6(0x220)]('\x20'),'scopes':_0x27ed0a['scopes'],'identifier':_0x539a58[_0x2300f6(0x16f)],'file_name':_0x27ed0a['collectionName'],'vc_filepath':_0x27ed0a['location'],'location':_0x27ed0a[_0x2300f6(0x1cf)],'started_at':_0x27ed0a[_0x2300f6(0x1d9)],'finished_at':_0x23cd11[_0x2300f6(0x1f3)]||null,'duration_in_ms':_0x4ccb32[_0x2300f6(0x1b1)](_0x23cd11[_0x2300f6(0x257)],null)?Math[_0x2300f6(0x1e4)](0x0,_0x23cd11[_0x2300f6(0x257)]):null,'result':_0x23cd11['result']||_0x4ccb32[_0x2300f6(0x17a)],'failure_reason':_0x23cd11[_0x2300f6(0x190)]||null,'failure_type':_0x23cd11[_0x2300f6(0x23a)]||null,'failure':_0x23cd11[_0x2300f6(0x17f)]||[],'retry_of':null,'hooks':[]};_0x19f4ad[_0x2300f6(0x17f)][0x0]&&(_0x19f4ad['failure_backtrace']=_0x19f4ad['failure'][0x0][_0x2300f6(0x186)],_0x19f4ad['failure_reason_expanded']=_0x19f4ad[_0x2300f6(0x17f)][0x0][_0x2300f6(0x236)]);const _0x462f44=_0x4ccb32[_0x2300f6(0x181)](_0x5de430,HookState['PRE'])?_0x4ccb32['CQmOP']:_0x4ccb32[_0x2300f6(0x1b7)],_0x5b37e9={};_0x5b37e9[_0x2300f6(0x23f)]=_0x462f44,_0x5b37e9[_0x2300f6(0x191)]=_0x19f4ad,SessionHandler['uploadEventData'](_0x5b37e9);}}function emitLog(_0x4f9044,_0x2dfdce){const _0x431436=a43_0x8ea3b7,_0x77f70c={'KMbtR':'TEST_LOG','qBjCh':function(_0x373bed){return _0x373bed();},'CRpRh':function(_0x143d2f,_0x595a34){return _0x143d2f===_0x595a34;},'omeHB':_0x431436(0x201),'UxNWV':_0x431436(0x1bf),'ezEyp':_0x431436(0x18d),'cdmdP':_0x431436(0x22a),'xuGvT':function(_0x2e856f,_0xa50a5){return _0x2e856f(_0xa50a5);},'wGfnW':function(_0x5e2307,_0x47aac8){return _0x5e2307+_0x47aac8;},'SOKNa':_0x431436(0x22c),'tGHOF':_0x431436(0x1f1)},_0x48748b=_0x2dfdce['kind']||_0x77f70c[_0x431436(0x16a)],_0x580234=_0x2dfdce[_0x431436(0x1e6)]||new Date()[_0x431436(0x217)]();if(_0x77f70c[_0x431436(0x1ef)](isCLIRunning))try{const _0x326b38=_0x77f70c[_0x431436(0x1da)](_0x48748b,_0x77f70c[_0x431436(0x1f7)])?JSON[_0x431436(0x1c7)](_0x2dfdce):_0x2dfdce[_0x431436(0x1fe)]||'',_0x2a82e3={};_0x2a82e3[_0x431436(0x160)]=0x0,_0x2a82e3[_0x431436(0x204)]=_0x77f70c['UxNWV'],_0x2a82e3[_0x431436(0x1ce)]='',_0x2a82e3[_0x431436(0x173)]=_0x77f70c[_0x431436(0x1ca)],_0x2a82e3['logs']=[{'uuid':_0x4f9044,'timestamp':_0x580234,'kind':_0x48748b,'level':_0x2dfdce[_0x431436(0x1a2)]||_0x77f70c[_0x431436(0x213)],'message':_0x326b38}],GrpcClient['getInstance']()[_0x431436(0x184)](_0x2a82e3);}catch(_0x2e992d){_0x77f70c['xuGvT'](debug,_0x77f70c[_0x431436(0x21d)](_0x77f70c[_0x431436(0x259)],_0x2e992d));}else{const _0xbb646c={};_0xbb646c[_0x431436(0x1db)]=_0x4f9044,_0xbb646c[_0x431436(0x1e6)]=_0x580234,_0xbb646c[_0x431436(0x1a2)]=_0x2dfdce['level']||null,_0xbb646c[_0x431436(0x1fe)]=_0x2dfdce['message']||null,_0xbb646c['kind']=_0x48748b,_0xbb646c[_0x431436(0x241)]=_0x2dfdce['http_response']||{};const _0x3c6d5f={};_0x3c6d5f[_0x431436(0x23f)]=_0x77f70c[_0x431436(0x18c)],_0x3c6d5f[_0x431436(0x178)]=[_0xbb646c],SessionHandler['uploadEventData'](_0x3c6d5f);}}function BrowserStackNewmanReporter(_0x3fb548,_0x3d5112,_0x276662){const _0x557fc5=a43_0x8ea3b7,_0x5ba59d={'BTZmL':function(_0xda4587,_0x39f8cb,_0x13d936){return _0xda4587(_0x39f8cb,_0x13d936);},'gIpHV':function(_0x949311,_0x59c9d2){return _0x949311(_0x59c9d2);},'sghnN':function(_0x21c761,_0x3dbe19){return _0x21c761(_0x3dbe19);},'artGM':function(_0x57d758,_0x48ce49){return _0x57d758>_0x48ce49;},'qvqwS':function(_0x158a5c,_0x26928e){return _0x158a5c(_0x26928e);},'dFBvH':_0x557fc5(0x1e3),'jHVee':function(_0x1fd7c7,_0x42382b){return _0x1fd7c7+_0x42382b;},'gDecO':'GET','svIUH':function(_0x24087c,_0x37c7b0,_0x48dac5){return _0x24087c(_0x37c7b0,_0x48dac5);},'uHQVO':_0x557fc5(0x242),'lnbVs':function(_0x52dc74,_0x27de07){return _0x52dc74+_0x27de07;},'VaAyh':function(_0x290cda){return _0x290cda();},'boEIg':function(_0x3090df,_0x3b8d05){return _0x3090df||_0x3b8d05;},'wVdrW':function(_0x567fde,_0x5550d5,_0x5a5227,_0x4f36fb,_0xdd09a1,_0x443bf7){return _0x567fde(_0x5550d5,_0x5a5227,_0x4f36fb,_0xdd09a1,_0x443bf7);},'teTbl':function(_0x307b31,_0xcdb43d){return _0x307b31===_0xcdb43d;},'cigYI':function(_0x4a58aa,_0x4bdcdc){return _0x4a58aa>_0x4bdcdc;},'hBGLU':_0x557fc5(0x201),'VUDyJ':function(_0x2753ab,_0x96915e){return _0x2753ab+_0x96915e;},'dYhTx':function(_0x40e1b0,_0x4ef18a){return _0x40e1b0+_0x4ef18a;},'lxUTr':function(_0x220284,_0x24ff87){return _0x220284+_0x24ff87;},'wGziN':_0x557fc5(0x20c),'eNzkR':_0x557fc5(0x1ff),'AfwQZ':_0x557fc5(0x22a),'UQTjb':function(_0x1607da,_0x2eacc2){return _0x1607da-_0x2eacc2;},'PPZkn':function(_0x37f074,_0x24905f,_0x3d294a){return _0x37f074(_0x24905f,_0x3d294a);},'gxIan':function(_0x1176ce,_0x15b613){return _0x1176ce(_0x15b613);},'sgEpQ':function(_0x4198ff,_0x2135c2){return _0x4198ff(_0x2135c2);},'UouzL':function(_0x2671f6,_0x4aa554){return _0x2671f6&&_0x4aa554;},'gZtUg':function(_0x1d18d1,_0x172610){return _0x1d18d1-_0x172610;},'HLoZJ':function(_0x21f3cc,_0x24409f,_0x14ff58){return _0x21f3cc(_0x24409f,_0x14ff58);},'swNUa':'Exception:\x20','wXoSH':'ERROR','YSPvS':_0x557fc5(0x19b),'OlsoD':_0x557fc5(0x1f5),'TYHBK':function(_0x5ba6d6,_0x551432,_0x359d87){return _0x5ba6d6(_0x551432,_0x359d87);},'hteQL':function(_0x55a734,_0x1d915b){return _0x55a734+_0x1d915b;},'CzQHN':function(_0x273b82,_0x9117e3){return _0x273b82+_0x9117e3;},'OcLXw':function(_0x400db7,_0x128bb0){return _0x400db7+_0x128bb0;},'CSLuc':_0x557fc5(0x1f2),'pHQXd':_0x557fc5(0x21c),'dsbWo':function(_0x4bd28e,_0x36a17a){return _0x4bd28e(_0x36a17a);},'tuRNy':_0x557fc5(0x223),'SwRxS':_0x557fc5(0x1eb),'oxzDy':_0x557fc5(0x19f),'IEPWd':_0x557fc5(0x229),'ToWgt':_0x557fc5(0x1d8),'gGTWU':_0x557fc5(0x243),'whgdV':function(_0x2e030b,_0x25b754,_0x5d4691){return _0x2e030b(_0x25b754,_0x5d4691);},'BKGny':function(_0x1fbff7,_0x4af059){return _0x1fbff7-_0x4af059;},'XxtcU':function(_0x2e4b40,_0x3aed5b){return _0x2e4b40!=_0x3aed5b;},'bTmvt':function(_0x3b31ca,_0x349a36){return _0x3b31ca>=_0x349a36;},'OIpjl':function(_0xe7794,_0x2c4634){return _0xe7794<_0x2c4634;},'nMoRN':function(_0x2dc012,_0x3407ed){return _0x2dc012||_0x3407ed;},'qxKUS':_0x557fc5(0x172),'KbksD':function(_0x75439b,_0x3769ed){return _0x75439b!=_0x3769ed;},'uSAbG':_0x557fc5(0x1de),'FJQdl':function(_0x1c1a4a,_0x59e558){return _0x1c1a4a+_0x59e558;},'wgVcO':function(_0xfc2e32,_0x9b1904){return _0xfc2e32+_0x9b1904;},'UEMej':function(_0x3102f3,_0x3a0cc4){return _0x3102f3+_0x3a0cc4;},'HrpFL':function(_0x112414,_0x3a983b){return _0x112414+_0x3a983b;},'EZKdF':function(_0x26e1dc,_0x2d9955){return _0x26e1dc+_0x2d9955;},'Hlyia':function(_0xbf586a,_0x1e42ed,_0x414971){return _0xbf586a(_0x1e42ed,_0x414971);},'ERwyO':function(_0x56f0d6,_0x5c36e0,_0x4fcf06){return _0x56f0d6(_0x5c36e0,_0x4fcf06);},'zJThx':_0x557fc5(0x18b),'LbAKy':function(_0x11baf3,_0x4836ae){return _0x11baf3||_0x4836ae;},'GeQni':'\x20(no\x20assertions)','nOZFL':function(_0x3d668f,_0x40d29f,_0x53093c,_0x58e632,_0x229bc5,_0x5924c8){return _0x3d668f(_0x40d29f,_0x53093c,_0x58e632,_0x229bc5,_0x5924c8);},'dyswz':function(_0x441313,_0x1a1da4,_0xd78f51){return _0x441313(_0x1a1da4,_0xd78f51);},'SISHj':function(_0x176023,_0x3903f0){return _0x176023(_0x3903f0);},'nSLJJ':_0x557fc5(0x24b),'hMKMp':'beforeIteration','fFoYE':_0x557fc5(0x1fb),'htGUg':_0x557fc5(0x233),'SNhuG':_0x557fc5(0x1c1),'tTOpf':_0x557fc5(0x24d),'HJURM':_0x557fc5(0x198),'ULYYZ':_0x557fc5(0x1e9),'KCWia':_0x557fc5(0x235)},_0x1f6ad4=new Map();let _0x4649e3=null,_0x49b4f6=0x0;const _0x459d2d=_0x5ba59d[_0x557fc5(0x1be)](resolveCollectionFile,_0x276662,_0x3d5112),_0x12aff0=_0x5ba59d[_0x557fc5(0x216)](resolveCollectionName,_0x276662)||_0x459d2d,_0x32370e=path['resolve'](_0x459d2d),_0x172acc=_0x557fc5(0x1c2)+process[_0x557fc5(0x19d)],_0x3fb260=_0x2f11b6=>{const _0x214bcf=_0x557fc5;try{_0x4649e3&&_0x5ba59d['BTZmL'](emitLog,_0x4649e3,_0x2f11b6);}catch(_0x1e9574){_0x5ba59d[_0x214bcf(0x212)](debug,'[Newman\x20Reporter]\x20Error\x20in\x20bs:addLog\x20handler:\x20'+_0x1e9574);}};process['on'](_0x172acc,_0x3fb260),_0x3fb548['on'](_0x5ba59d[_0x557fc5(0x225)],()=>{const _0x19e99e=_0x557fc5;process[_0x19e99e(0x1f4)](_0x172acc,_0x3fb260),_0x1f6ad4[_0x19e99e(0x224)]();}),_0x3fb548['on'](_0x5ba59d[_0x557fc5(0x245)],(_0x2e6178,_0x2df562)=>{const _0x35835a=_0x557fc5;_0x2df562&&_0x2df562[_0x35835a(0x23c)]&&(_0x49b4f6=_0x2df562[_0x35835a(0x23c)][_0x35835a(0x258)]||0x0);}),_0x3fb548['on'](_0x5ba59d[_0x557fc5(0x23b)],(_0x513223,_0x10c2af)=>{const _0x621e32=_0x557fc5;try{_0x4649e3=null;const _0x32d9ee=_0x10c2af['item'],_0x48dcba=_0x32d9ee['parent']()?_0x5ba59d['sghnN'](getParentTitles,_0x32d9ee[_0x621e32(0x1e8)]()):[],_0x5a90cb=_0x5ba59d[_0x621e32(0x1a9)](_0x48dcba[_0x621e32(0x203)],0x1)?_0x48dcba[_0x621e32(0x1d7)](0x1):_0x48dcba,_0x150fce=_0x10c2af[_0x621e32(0x23c)]&&_0x10c2af['cursor']['ref'],_0x413938={'itemName':_0x32d9ee['name'],'scopes':_0x5a90cb['concat']([_0x32d9ee['name']]),'location':_0x459d2d,'collectionName':_0x12aff0,'startedAt':new Date()['toISOString'](),'startTimestamp':Date[_0x621e32(0x24e)](),'lastResponseCode':null,'httpLog':null,'assertions':[],'bufferedLogs':[]};_0x1f6ad4[_0x621e32(0x166)](_0x32d9ee['id']+'_'+_0x49b4f6,_0x413938),_0x150fce&&_0x1f6ad4['set'](_0x150fce+'_'+_0x49b4f6,_0x413938);}catch(_0x16b02b){_0x5ba59d[_0x621e32(0x16d)](debug,'[Newman\x20Reporter]\x20Error\x20in\x20beforeItem:\x20'+_0x16b02b);}}),_0x3fb548['on'](_0x5ba59d[_0x557fc5(0x1ad)],(_0x3fa232,_0x4c5f34)=>{const _0x4e3a61=_0x557fc5;try{if(!_0x4c5f34||!_0x4c5f34['item'])return;const _0x59ac1c=_0x1f6ad4[_0x4e3a61(0x175)](_0x4c5f34[_0x4e3a61(0x235)]['id']+'_'+_0x49b4f6);if(!_0x59ac1c)return;_0x4c5f34['response']&&(_0x59ac1c['lastResponseCode']=_0x4c5f34[_0x4e3a61(0x17b)]['code']||null);if(!_0x4c5f34['request'])return;let _0x21a55b='',_0x32a080='';if(_0x4c5f34[_0x4e3a61(0x233)]['url'])try{const _0x28dd87=_0x4c5f34[_0x4e3a61(0x233)][_0x4e3a61(0x1cc)]['toString'](),_0x41b8e0=new URL(_0x28dd87[_0x4e3a61(0x189)](_0x5ba59d[_0x4e3a61(0x1e7)])?_0x28dd87:_0x4e3a61(0x25c)+_0x28dd87);_0x21a55b=_0x41b8e0['hostname'],_0x32a080=_0x5ba59d['jHVee'](_0x41b8e0[_0x4e3a61(0x1c4)],_0x41b8e0[_0x4e3a61(0x18f)]);}catch(_0x5abf89){_0x32a080=_0x4c5f34[_0x4e3a61(0x233)][_0x4e3a61(0x1cc)][_0x4e3a61(0x20e)]();}const _0x2a8a03={};_0x2a8a03[_0x4e3a61(0x219)]=_0x21a55b,_0x2a8a03['path']=_0x32a080,_0x2a8a03[_0x4e3a61(0x238)]=_0x4c5f34[_0x4e3a61(0x233)][_0x4e3a61(0x238)]||_0x5ba59d['gDecO'],_0x2a8a03[_0x4e3a61(0x255)]={},_0x2a8a03[_0x4e3a61(0x1c8)]=_0x4c5f34[_0x4e3a61(0x17b)]?_0x4c5f34[_0x4e3a61(0x17b)][_0x4e3a61(0x1aa)]||0x0:0x0,_0x2a8a03['duration_ms']=_0x4c5f34[_0x4e3a61(0x17b)]?_0x4c5f34['response'][_0x4e3a61(0x1b5)]||0x0:0x0,_0x59ac1c['httpLog']=_0x2a8a03;}catch(_0x9214d7){_0x5ba59d['sghnN'](debug,_0x4e3a61(0x169)+_0x9214d7);}}),_0x3fb548['on'](_0x5ba59d[_0x557fc5(0x25a)],(_0x33f1a8,_0x46a5c5)=>{const _0x31dae3=_0x557fc5;try{if(!_0x46a5c5||!_0x46a5c5[_0x31dae3(0x235)])return;const _0x4fffe6=_0x1f6ad4[_0x31dae3(0x175)](_0x46a5c5[_0x31dae3(0x235)]['id']+'_'+_0x49b4f6);if(!_0x4fffe6)return;const _0x3d9589=_0x46a5c5[_0x31dae3(0x1c1)]||'Assertion\x20'+_0x5ba59d[_0x31dae3(0x1dc)](_0x4fffe6['assertions'][_0x31dae3(0x203)],0x1),_0xba49c1=_0x5ba59d[_0x31dae3(0x187)](uuidv4),_0x4c24c6=_0x4fffe6[_0x31dae3(0x1f6)][_0x31dae3(0x176)]([_0x3d9589])[_0x31dae3(0x220)]('\x20');_0x4fffe6[_0x31dae3(0x1ba)][_0x31dae3(0x1b3)]({'uuid':_0xba49c1,'name':_0x3d9589,'identifier':_0x4c24c6,'err':_0x5ba59d[_0x31dae3(0x1f9)](_0x33f1a8,null)});const _0x10c99f={};_0x10c99f['uuid']=_0xba49c1,_0x10c99f[_0x31dae3(0x209)]=_0x3d9589,_0x10c99f['identifier']=_0x4c24c6,_0x5ba59d[_0x31dae3(0x244)](emitTest,HookState[_0x31dae3(0x16e)],_0x10c99f,_0x4fffe6,_0x32370e,{});_0x5ba59d['teTbl'](_0x4fffe6[_0x31dae3(0x1ba)]['length'],0x1)&&_0x5ba59d[_0x31dae3(0x162)](_0x4fffe6[_0x31dae3(0x208)][_0x31dae3(0x203)],0x0)&&(_0x4fffe6[_0x31dae3(0x208)][_0x31dae3(0x1e0)](_0x307b15=>{const _0x2c15a7=_0x31dae3;_0x5ba59d[_0x2c15a7(0x24c)](emitLog,_0xba49c1,{'kind':_0x5ba59d['uHQVO'],'message':_0x307b15[_0x2c15a7(0x1fe)],'level':_0x307b15['level']});}),_0x4fffe6[_0x31dae3(0x208)]=[]);if(_0x4fffe6[_0x31dae3(0x246)]){_0x5ba59d[_0x31dae3(0x24c)](emitLog,_0xba49c1,{'kind':_0x5ba59d[_0x31dae3(0x1a3)],'http_response':_0x4fffe6[_0x31dae3(0x246)]});const _0x321c41=_0x5ba59d[_0x31dae3(0x17d)](_0x5ba59d['VUDyJ'](_0x5ba59d['dYhTx'](_0x5ba59d['dYhTx'](_0x5ba59d[_0x31dae3(0x1d5)](_0x5ba59d['lnbVs'](_0x5ba59d[_0x31dae3(0x1dc)](_0x5ba59d[_0x31dae3(0x183)](_0x4fffe6['httpLog'][_0x31dae3(0x238)]||_0x5ba59d[_0x31dae3(0x234)],'\x20'),_0x4fffe6[_0x31dae3(0x246)][_0x31dae3(0x219)]),_0x4fffe6[_0x31dae3(0x246)]['path']),_0x5ba59d['wGziN']),_0x4fffe6[_0x31dae3(0x246)][_0x31dae3(0x1c8)]),'\x20('),_0x4fffe6[_0x31dae3(0x246)]['duration_ms']),_0x5ba59d[_0x31dae3(0x1a5)]);_0x5ba59d[_0x31dae3(0x24c)](emitLog,_0xba49c1,{'kind':_0x5ba59d[_0x31dae3(0x19a)],'message':_0x321c41,'level':_0x5ba59d['AfwQZ']});}_0x4649e3=_0xba49c1;}catch(_0x39f01a){_0x5ba59d[_0x31dae3(0x16d)](debug,_0x31dae3(0x1b8)+_0x39f01a);}}),_0x3fb548['on'](_0x5ba59d[_0x557fc5(0x1c9)],(_0x1b3499,_0x317d1e)=>{const _0x3a77c0=_0x557fc5;try{if(!_0x317d1e)return;let _0x3b1901=_0x4649e3;if(!_0x3b1901&&_0x317d1e[_0x3a77c0(0x23c)]&&_0x317d1e['cursor'][_0x3a77c0(0x253)]){const _0x5a8b1c=_0x1f6ad4['get'](_0x317d1e[_0x3a77c0(0x23c)][_0x3a77c0(0x253)]+'_'+_0x49b4f6);_0x5a8b1c&&_0x5ba59d['artGM'](_0x5a8b1c[_0x3a77c0(0x1ba)][_0x3a77c0(0x203)],0x0)&&(_0x3b1901=_0x5a8b1c[_0x3a77c0(0x1ba)][_0x5ba59d[_0x3a77c0(0x1a4)](_0x5a8b1c[_0x3a77c0(0x1ba)]['length'],0x1)]['uuid']);}const _0x157350=_0x317d1e['messages']?_0x317d1e['messages'][_0x3a77c0(0x220)](',\x20'):'';if(_0x3b1901)_0x5ba59d[_0x3a77c0(0x199)](emitLog,_0x3b1901,{'kind':_0x5ba59d[_0x3a77c0(0x19a)],'message':_0x157350,'level':_0x5ba59d[_0x3a77c0(0x18a)](normalizeLogLevel,_0x317d1e[_0x3a77c0(0x1a2)])});else{if(_0x317d1e[_0x3a77c0(0x23c)]&&_0x317d1e[_0x3a77c0(0x23c)][_0x3a77c0(0x253)]){const _0x1fbfc5=_0x1f6ad4['get'](_0x317d1e['cursor'][_0x3a77c0(0x253)]+'_'+_0x49b4f6);_0x1fbfc5&&_0x1fbfc5[_0x3a77c0(0x208)][_0x3a77c0(0x1b3)]({'timestamp':new Date()[_0x3a77c0(0x217)](),'level':_0x5ba59d[_0x3a77c0(0x16d)](normalizeLogLevel,_0x317d1e['level']),'message':_0x157350});}}}catch(_0x466e30){_0x5ba59d[_0x3a77c0(0x1ea)](debug,_0x3a77c0(0x23d)+_0x466e30);}}),_0x3fb548['on'](_0x5ba59d[_0x557fc5(0x1ac)],(_0x43ef39,_0x142fe4)=>{const _0x1d956a=_0x557fc5;try{if(!_0x43ef39&&(!_0x142fe4||!_0x142fe4[_0x1d956a(0x1f0)]))return;const _0x24c664=_0x43ef39||_0x142fe4['error'],_0x4f81c1=_0x24c664[_0x1d956a(0x1fe)]||_0x5ba59d[_0x1d956a(0x249)](String,_0x24c664),_0x417ea9=_0x24c664[_0x1d956a(0x256)]||_0x4f81c1;let _0xeafe2e=_0x4649e3;if(_0x5ba59d[_0x1d956a(0x1c5)](!_0xeafe2e,_0x142fe4)&&_0x142fe4[_0x1d956a(0x23c)]&&_0x142fe4[_0x1d956a(0x23c)][_0x1d956a(0x253)]){const _0x50ae4f=_0x1f6ad4[_0x1d956a(0x175)](_0x142fe4[_0x1d956a(0x23c)][_0x1d956a(0x253)]+'_'+_0x49b4f6);_0x50ae4f&&_0x5ba59d[_0x1d956a(0x1a9)](_0x50ae4f['assertions'][_0x1d956a(0x203)],0x0)&&(_0xeafe2e=_0x50ae4f[_0x1d956a(0x1ba)][_0x5ba59d[_0x1d956a(0x1ae)](_0x50ae4f['assertions']['length'],0x1)][_0x1d956a(0x200)]);}_0xeafe2e&&_0x5ba59d[_0x1d956a(0x1cd)](emitLog,_0xeafe2e,{'kind':_0x5ba59d[_0x1d956a(0x19a)],'message':_0x5ba59d['jHVee'](_0x5ba59d[_0x1d956a(0x19c)],_0x417ea9),'level':_0x5ba59d['wXoSH']});}catch(_0x4c8ed9){_0x5ba59d[_0x1d956a(0x1ea)](debug,_0x5ba59d[_0x1d956a(0x1dc)](_0x5ba59d[_0x1d956a(0x228)],_0x4c8ed9));}}),_0x3fb548['on'](_0x5ba59d[_0x557fc5(0x25d)],(_0x3bc20f,_0x47e0d1)=>{const _0x145238=_0x557fc5;try{if(!_0x47e0d1||!_0x47e0d1['execution'])return;let _0x219bff=_0x4649e3;if(!_0x219bff&&_0x47e0d1[_0x145238(0x23c)]&&_0x47e0d1[_0x145238(0x23c)][_0x145238(0x253)]){const _0x28d696=_0x1f6ad4[_0x145238(0x175)](_0x47e0d1['cursor'][_0x145238(0x253)]+'_'+_0x49b4f6);_0x28d696&&_0x5ba59d['cigYI'](_0x28d696[_0x145238(0x1ba)][_0x145238(0x203)],0x0)&&(_0x219bff=_0x28d696[_0x145238(0x1ba)][_0x5ba59d[_0x145238(0x1a4)](_0x28d696['assertions'][_0x145238(0x203)],0x1)]['uuid']);}if(!_0x219bff)return;const _0x293f37=_0x47e0d1[_0x145238(0x215)]&&_0x47e0d1[_0x145238(0x215)][_0x145238(0x24a)]||_0x5ba59d[_0x145238(0x22b)];_0x3bc20f&&_0x5ba59d[_0x145238(0x179)](emitLog,_0x219bff,{'kind':_0x5ba59d['uHQVO'],'message':_0x5ba59d[_0x145238(0x1a1)](_0x5ba59d[_0x145238(0x1d3)](_0x5ba59d[_0x145238(0x1df)](_0x5ba59d[_0x145238(0x177)],_0x293f37),_0x5ba59d[_0x145238(0x254)]),_0x3bc20f[_0x145238(0x1fe)]||_0x3bc20f),'level':_0x5ba59d[_0x145238(0x22e)]});}catch(_0x51b732){_0x5ba59d[_0x145238(0x16c)](debug,_0x5ba59d[_0x145238(0x1df)](_0x5ba59d[_0x145238(0x240)],_0x51b732));}}),_0x3fb548['on'](_0x5ba59d[_0x557fc5(0x221)],(_0x4ac9b5,_0x24421e)=>{const _0x35c51e=_0x557fc5,_0x55111b={'TDgHV':_0x5ba59d['SwRxS'],'sgPAk':_0x5ba59d['oxzDy'],'JPhGW':function(_0x278057,_0x12e6ff){return _0x5ba59d['teTbl'](_0x278057,_0x12e6ff);},'lbDsy':_0x5ba59d['IEPWd'],'IsnrN':_0x5ba59d['ToWgt'],'hmlmU':_0x5ba59d['gGTWU'],'FaYfA':function(_0x36e1f8,_0x4c3b0c,_0x37d12d,_0x34b59f,_0x55b569,_0x2194ac){const _0x50a990=a43_0x277c;return _0x5ba59d[_0x50a990(0x244)](_0x36e1f8,_0x4c3b0c,_0x37d12d,_0x34b59f,_0x55b569,_0x2194ac);},'MchjH':function(_0x554a36,_0x4efbc3,_0x27c924){const _0x4741df=a43_0x277c;return _0x5ba59d[_0x4741df(0x196)](_0x554a36,_0x4efbc3,_0x27c924);},'tQUCh':_0x5ba59d[_0x35c51e(0x19a)]};try{if(!_0x24421e||!_0x24421e[_0x35c51e(0x235)])return;const _0x50b77f=_0x24421e[_0x35c51e(0x235)]['id']+'_'+_0x49b4f6,_0x2ae1ed=_0x1f6ad4[_0x35c51e(0x175)](_0x50b77f);if(!_0x2ae1ed)return;const _0x20820d=new Date(),_0x2c53ee=_0x5ba59d[_0x35c51e(0x1a8)](_0x20820d['getTime'](),_0x2ae1ed[_0x35c51e(0x22f)]);if(_0x5ba59d['artGM'](_0x2ae1ed[_0x35c51e(0x1ba)]['length'],0x0))_0x2ae1ed[_0x35c51e(0x1ba)][_0x35c51e(0x1e0)](_0x1ce8b6=>{const _0x188293=_0x35c51e,_0x49902c=!!_0x1ce8b6[_0x188293(0x1b6)],_0x2c85c0={'finishedAt':_0x20820d['toISOString'](),'durationMs':_0x2c53ee,'result':_0x49902c?_0x55111b['TDgHV']:_0x55111b[_0x188293(0x1c6)]};_0x49902c&&(_0x2c85c0[_0x188293(0x190)]=_0x1ce8b6[_0x188293(0x1b6)][_0x188293(0x1fe)]||'',_0x2c85c0['failureType']=_0x55111b['JPhGW'](_0x1ce8b6['err'][_0x188293(0x209)],_0x55111b['lbDsy'])||_0x1ce8b6[_0x188293(0x1b6)]['message']&&_0x1ce8b6[_0x188293(0x1b6)][_0x188293(0x1fe)][_0x188293(0x1cb)](_0x55111b[_0x188293(0x1d1)])?_0x55111b['lbDsy']:_0x55111b[_0x188293(0x1d2)],_0x2c85c0[_0x188293(0x17f)]=[{'backtrace':_0x1ce8b6[_0x188293(0x1b6)][_0x188293(0x256)]?_0x1ce8b6['err'][_0x188293(0x256)][_0x188293(0x165)]('\x0a'):[_0x1ce8b6[_0x188293(0x1b6)][_0x188293(0x1fe)]||''],'expanded':[]}]),_0x55111b['FaYfA'](emitTest,HookState['POST'],_0x1ce8b6,_0x2ae1ed,_0x32370e,_0x2c85c0);});else{const _0x360502=_0x5ba59d[_0x35c51e(0x187)](uuidv4),_0x20ac42=_0x2ae1ed[_0x35c51e(0x248)],_0x3bd797=_0x5ba59d['XxtcU'](_0x20ac42,null)&&_0x5ba59d['bTmvt'](_0x20ac42,0xc8)&&_0x5ba59d['OIpjl'](_0x20ac42,0x190),_0x38856f=_0x2ae1ed[_0x35c51e(0x197)]+_0x35c51e(0x1fd)+_0x5ba59d[_0x35c51e(0x1ed)](_0x20ac42,_0x5ba59d[_0x35c51e(0x210)])+')',_0xbb8a04={'uuid':_0x360502,'name':_0x38856f,'identifier':_0x2ae1ed[_0x35c51e(0x1f6)][_0x35c51e(0x176)]([_0x38856f])[_0x35c51e(0x220)]('\x20')},_0x2a1010={'finishedAt':_0x20820d[_0x35c51e(0x217)](),'durationMs':_0x2c53ee,'result':_0x3bd797?_0x5ba59d[_0x35c51e(0x1f8)]:_0x5ba59d[_0x35c51e(0x21a)]};!_0x3bd797&&(_0x2a1010[_0x35c51e(0x190)]=_0x5ba59d[_0x35c51e(0x251)](_0x20ac42,null)?_0x35c51e(0x218)+_0x20ac42+'\x20—\x20response\x20status\x20in\x20failure\x20range':_0x5ba59d[_0x35c51e(0x20a)],_0x2a1010[_0x35c51e(0x23a)]=_0x5ba59d['gGTWU'],_0x2a1010[_0x35c51e(0x17f)]=[{'backtrace':[_0x2a1010['failureReason']],'expanded':[]}]);_0x5ba59d[_0x35c51e(0x244)](emitTest,HookState['PRE'],_0xbb8a04,_0x2ae1ed,_0x32370e,{}),_0x2ae1ed[_0x35c51e(0x208)][_0x35c51e(0x1e0)](_0x1001b6=>{const _0x27f83e=_0x35c51e;_0x55111b['MchjH'](emitLog,_0x360502,{'kind':_0x55111b['tQUCh'],'message':_0x1001b6[_0x27f83e(0x1fe)],'level':_0x1001b6['level']});});if(_0x2ae1ed[_0x35c51e(0x246)]){_0x5ba59d[_0x35c51e(0x199)](emitLog,_0x360502,{'kind':_0x5ba59d['hBGLU'],'http_response':_0x2ae1ed[_0x35c51e(0x246)]});const _0x3627e2=_0x5ba59d[_0x35c51e(0x188)](_0x5ba59d[_0x35c51e(0x185)](_0x5ba59d['CzQHN'](_0x5ba59d['UEMej'](_0x5ba59d[_0x35c51e(0x17d)](_0x5ba59d[_0x35c51e(0x222)](_0x5ba59d[_0x35c51e(0x252)](_0x5ba59d[_0x35c51e(0x188)](_0x2ae1ed[_0x35c51e(0x246)][_0x35c51e(0x238)]||_0x5ba59d[_0x35c51e(0x234)],'\x20'),_0x2ae1ed['httpLog'][_0x35c51e(0x219)]),_0x2ae1ed[_0x35c51e(0x246)]['path']),_0x5ba59d[_0x35c51e(0x1b0)]),_0x2ae1ed[_0x35c51e(0x246)][_0x35c51e(0x1c8)]),'\x20('),_0x2ae1ed[_0x35c51e(0x246)][_0x35c51e(0x171)]),_0x5ba59d['eNzkR']);_0x5ba59d[_0x35c51e(0x1d4)](emitLog,_0x360502,{'kind':_0x5ba59d[_0x35c51e(0x19a)],'message':_0x3627e2,'level':_0x5ba59d[_0x35c51e(0x21b)]});}else _0x5ba59d[_0x35c51e(0x1d0)](emitLog,_0x360502,{'kind':_0x5ba59d[_0x35c51e(0x19a)],'message':_0x5ba59d[_0x35c51e(0x185)](_0x5ba59d['wgVcO'](_0x5ba59d['zJThx'],_0x5ba59d[_0x35c51e(0x20b)](_0x20ac42,_0x5ba59d[_0x35c51e(0x210)])),_0x5ba59d[_0x35c51e(0x1b4)]),'level':_0x5ba59d['AfwQZ']});_0x5ba59d[_0x35c51e(0x231)](emitTest,HookState[_0x35c51e(0x180)],_0xbb8a04,_0x2ae1ed,_0x32370e,_0x2a1010);}_0x1f6ad4['delete'](_0x50b77f),_0x24421e[_0x35c51e(0x23c)]&&_0x24421e[_0x35c51e(0x23c)][_0x35c51e(0x253)]&&_0x1f6ad4['delete'](_0x24421e[_0x35c51e(0x23c)]['ref']+'_'+_0x49b4f6);}catch(_0x10b728){_0x5ba59d[_0x35c51e(0x1ea)](debug,_0x35c51e(0x1c3)+_0x10b728);}});}module[a43_0x8ea3b7(0x1d6)]=BrowserStackNewmanReporter;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a44_0x5ad154=a44_0x44b4;(function(_0x4dc3e0,_0x487668){const _0x12bb9e=a44_0x44b4,_0x442e0e=_0x4dc3e0();while(!![]){try{const _0x17937e=-parseInt(_0x12bb9e(0x213))/0x1*(parseInt(_0x12bb9e(0x219))/0x2)+parseInt(_0x12bb9e(0x227))/0x3+parseInt(_0x12bb9e(0x1f1))/0x4*(-parseInt(_0x12bb9e(0x1fe))/0x5)+-parseInt(_0x12bb9e(0x1f0))/0x6+-parseInt(_0x12bb9e(0x1fb))/0x7*(parseInt(_0x12bb9e(0x214))/0x8)+-parseInt(_0x12bb9e(0x1ff))/0x9+-parseInt(_0x12bb9e(0x20e))/0xa*(-parseInt(_0x12bb9e(0x209))/0xb);if(_0x17937e===_0x487668)break;else _0x442e0e['push'](_0x442e0e['shift']());}catch(_0x1516bd){_0x442e0e['push'](_0x442e0e['shift']());}}}(a44_0x1829,0x4ecc0));const path=require(a44_0x5ad154(0x226)),Module=require('module'),BrowserstackCLI=require(a44_0x5ad154(0x207)),scriptFile=process[a44_0x5ad154(0x21a)][0x2],maxParallel=parseInt(process[a44_0x5ad154(0x21a)][0x3])||0x0;!scriptFile&&(process[a44_0x5ad154(0x221)][a44_0x5ad154(0x1f3)](a44_0x5ad154(0x222)),process[a44_0x5ad154(0x1f8)](0x1));function a44_0x1829(){const _0x7f35ce=['[Newman]\x20scriptRunner:\x20no\x20script\x20file\x20provided\x0a','bootstrap','exitCode','create','path','1372881IJLukD','resolve','failures','YllPH','lOWvr','EOsaz','lqLSA','862662gueqDK','36mYOnsH','ZeMVu','write','error','message','reporter','browserstack','exit','newman-reporter-browserstack','mnTVm','198163txAqWK','zUDEn','collectionPath','204285RFBTxz','4458726mRUDon','bind','XJVhk','eLvCi','TsRmI','collection','kCULf','call','../v2/browserstackCLI','cli','11BHDEli','Nygvv','jzGax','ngshw','ZPTgT','13376950crvmuz','vxJix','spQPC','TxFRi','concat','1gKmdtu','40AZrULh','Pagpp','reporters','run','assign','648242lGzgWT','argv','p-limit','GOMCd','oAHyN','_load','join','beforeExit','stderr'];a44_0x1829=function(){return _0x7f35ce;};return a44_0x1829();}const reporterPath=path[a44_0x5ad154(0x21f)](__dirname,a44_0x5ad154(0x1f6),'index.js'),originalResolveFilename=Module['_resolveFilename'];Module['_resolveFilename']=function(_0x1d0668,_0x44c05a,_0x64e3e4,_0x5b0a94){const _0x28bdba=a44_0x5ad154,_0x4367bd={};_0x4367bd[_0x28bdba(0x21c)]=function(_0x213027,_0x108428){return _0x213027===_0x108428;},_0x4367bd[_0x28bdba(0x22a)]=_0x28bdba(0x1f9);const _0x27765f=_0x4367bd;if(_0x27765f[_0x28bdba(0x21c)](_0x1d0668,_0x27765f['YllPH']))return reporterPath;return originalResolveFilename[_0x28bdba(0x206)](this,_0x1d0668,_0x44c05a,_0x64e3e4,_0x5b0a94);};let limit;try{const pLimit=require(a44_0x5ad154(0x21b)),concurrency=maxParallel&&maxParallel>0x0?maxParallel:Infinity;limit=pLimit(concurrency);}catch(a44_0x42d3ab){limit=function(_0x32ac6c){const _0x271c80={'ohIMY':function(_0x4af153){return _0x4af153();}};return _0x271c80['ohIMY'](_0x32ac6c);};}let wrappedNewman=null,hasFailure=![];const originalLoad=Module['_load'];Module[a44_0x5ad154(0x21e)]=function(_0x24eda1,_0x3c2037,_0x44dc05){const _0x13f59a=a44_0x5ad154,_0x5074e9={'ngshw':function(_0x522d78,_0x1a098d){return _0x522d78>_0x1a098d;},'EOsaz':function(_0x11240a,_0x22f9c6){return _0x11240a||_0x22f9c6;},'jzGax':function(_0x57c5a7,_0x17d967,_0x412da5){return _0x57c5a7(_0x17d967,_0x412da5);},'kCULf':function(_0x466e16,_0x2a41df){return _0x466e16(_0x2a41df);},'eLvCi':_0x13f59a(0x208),'Nygvv':function(_0xfa4784,_0x24cb68){return _0xfa4784===_0x24cb68;},'lqLSA':_0x13f59a(0x1f7),'TsRmI':'string','XJVhk':function(_0x573c76,_0x4b93de){return _0x573c76(_0x4b93de);},'tJjyq':function(_0x4e19e8,_0x4d5fe7){return _0x4e19e8!==_0x4d5fe7;},'ZPTgT':'newman'},_0x5c570e=originalLoad[_0x13f59a(0x206)](this,_0x24eda1,_0x3c2037,_0x44dc05);if(_0x5074e9['tJjyq'](_0x24eda1,_0x5074e9[_0x13f59a(0x20d)]))return _0x5c570e;if(wrappedNewman)return wrappedNewman;const _0x3c26f4=_0x5c570e[_0x13f59a(0x217)][_0x13f59a(0x200)](_0x5c570e);return wrappedNewman=Object[_0x13f59a(0x225)](_0x5c570e),wrappedNewman[_0x13f59a(0x217)]=function(_0x2565de,_0x5a62b2){const _0xeab4be=_0x13f59a,_0x3985e9={'oAHyN':function(_0x10b321,_0x490028,_0x3617cf){return _0x5074e9['jzGax'](_0x10b321,_0x490028,_0x3617cf);}};let _0x2481d9=_0x2565de['reporters']||[_0x5074e9[_0xeab4be(0x202)]];_0x5074e9[_0xeab4be(0x20a)](_0x2481d9['indexOf'](_0x5074e9[_0xeab4be(0x22d)]),-0x1)&&(_0x2481d9=_0x2481d9[_0xeab4be(0x212)]([_0x5074e9[_0xeab4be(0x22d)]]));const _0x35b41a=_0x5074e9[_0xeab4be(0x20a)](typeof _0x2565de[_0xeab4be(0x204)],_0x5074e9[_0xeab4be(0x203)])?_0x2565de[_0xeab4be(0x204)]:undefined,_0x2f1e3f={};_0x2f1e3f[_0xeab4be(0x1fd)]=_0x35b41a;const _0x48b28d=Object[_0xeab4be(0x218)]({},_0x2565de[_0xeab4be(0x1f6)],{'browserstack':Object[_0xeab4be(0x218)]({},_0x2565de[_0xeab4be(0x1f6)]&&_0x2565de[_0xeab4be(0x1f6)][_0xeab4be(0x1f7)],_0x2f1e3f)}),_0x1bc486={};return _0x1bc486[_0xeab4be(0x216)]=_0x2481d9,_0x1bc486[_0xeab4be(0x1f6)]=_0x48b28d,_0x2565de=Object[_0xeab4be(0x218)]({},_0x2565de,_0x1bc486),_0x5074e9[_0xeab4be(0x201)](limit,function(){const _0x370dd6={'mnTVm':function(_0x4f82c1,_0x5f54ad){const _0x369b53=a44_0x44b4;return _0x5074e9[_0x369b53(0x20c)](_0x4f82c1,_0x5f54ad);},'TxFRi':function(_0x1e4b12,_0x392586){const _0x147df0=a44_0x44b4;return _0x5074e9[_0x147df0(0x22c)](_0x1e4b12,_0x392586);},'spQPC':function(_0x44ecce,_0x27ef58,_0x2bc5c3){const _0x5b2dda=a44_0x44b4;return _0x5074e9[_0x5b2dda(0x20b)](_0x44ecce,_0x27ef58,_0x2bc5c3);},'lOWvr':function(_0x5c00c4,_0x514034){const _0x4df321=a44_0x44b4;return _0x5074e9[_0x4df321(0x205)](_0x5c00c4,_0x514034);}};return new Promise(function(_0x2cdb23){const _0x38a85d=a44_0x44b4;_0x3985e9[_0x38a85d(0x21d)](_0x3c26f4,_0x2565de,function(_0x55dbc6,_0x396a1b){const _0x483563=_0x38a85d,_0x21831b=_0x396a1b&&_0x396a1b['run']&&(_0x396a1b[_0x483563(0x217)][_0x483563(0x1f4)]||_0x396a1b[_0x483563(0x217)]['failures']&&_0x370dd6[_0x483563(0x1fa)](_0x396a1b[_0x483563(0x217)][_0x483563(0x229)]['length'],0x0));_0x370dd6[_0x483563(0x211)](_0x21831b,_0x55dbc6)&&(hasFailure=!![]),_0x5a62b2&&_0x370dd6[_0x483563(0x210)](_0x5a62b2,_0x55dbc6,_0x396a1b),_0x370dd6[_0x483563(0x22b)](_0x2cdb23,_0x396a1b);});});});},wrappedNewman;};function a44_0x44b4(_0x39335f,_0x5c1a12){const _0x1829f8=a44_0x1829();return a44_0x44b4=function(_0x44b496,_0x35e2d9){_0x44b496=_0x44b496-0x1f0;let _0x49c48d=_0x1829f8[_0x44b496];return _0x49c48d;},a44_0x44b4(_0x39335f,_0x5c1a12);}async function main(){const _0xf925e5=a44_0x5ad154,_0x19e0c3={'bAPcK':function(_0x170fd9,_0x2053a5){return _0x170fd9(_0x2053a5);},'ZeMVu':function(_0x44c287,_0x5f4a4c){return _0x44c287+_0x5f4a4c;},'Pagpp':function(_0xcbb8cf,_0x28c388){return _0xcbb8cf+_0x28c388;},'zUDEn':'[Newman]\x20scriptRunner:\x20failed\x20to\x20load\x20script:\x20'};try{await BrowserstackCLI['getInstance']()[_0xf925e5(0x223)]();}catch(_0x34a96e){}try{_0x19e0c3['bAPcK'](require,path[_0xf925e5(0x228)](scriptFile));}catch(_0x326a93){process[_0xf925e5(0x221)][_0xf925e5(0x1f3)](_0x19e0c3[_0xf925e5(0x1f2)](_0x19e0c3[_0xf925e5(0x215)](_0x19e0c3[_0xf925e5(0x1fc)],_0x326a93[_0xf925e5(0x1f5)]||_0x326a93),'\x0a')),process[_0xf925e5(0x224)]=0x1;}}main(),process['on'](a44_0x5ad154(0x220),function(){const _0x4df6c7=a44_0x5ad154;hasFailure&&(process[_0x4df6c7(0x224)]=0x1);}),process['on']('exit',function(){const _0x309cc9=a44_0x5ad154,_0x8e926e={};_0x8e926e[_0x309cc9(0x20f)]=function(_0x18fd65,_0x277a5f){return _0x18fd65===_0x277a5f;};const _0xfe5f65=_0x8e926e;hasFailure&&_0xfe5f65[_0x309cc9(0x20f)](process[_0x309cc9(0x224)],0x0)&&(process[_0x309cc9(0x224)]=0x1);});
2
+ 'use strict';const a44_0x52e4da=a44_0x5c8e;(function(_0x4e9ff8,_0x6f2dce){const _0x3b4e1f=a44_0x5c8e,_0x3d5a7c=_0x4e9ff8();while(!![]){try{const _0x23d901=-parseInt(_0x3b4e1f(0x1c6))/0x1*(-parseInt(_0x3b4e1f(0x1b4))/0x2)+-parseInt(_0x3b4e1f(0x194))/0x3+-parseInt(_0x3b4e1f(0x18b))/0x4*(parseInt(_0x3b4e1f(0x1ac))/0x5)+parseInt(_0x3b4e1f(0x19a))/0x6*(parseInt(_0x3b4e1f(0x1b6))/0x7)+-parseInt(_0x3b4e1f(0x1b2))/0x8+-parseInt(_0x3b4e1f(0x1b0))/0x9*(-parseInt(_0x3b4e1f(0x1b1))/0xa)+parseInt(_0x3b4e1f(0x1c1))/0xb*(parseInt(_0x3b4e1f(0x19d))/0xc);if(_0x23d901===_0x6f2dce)break;else _0x3d5a7c['push'](_0x3d5a7c['shift']());}catch(_0x3ad5a7){_0x3d5a7c['push'](_0x3d5a7c['shift']());}}}(a44_0x3449,0xd884f));const path=require(a44_0x52e4da(0x1a2)),Module=require('module'),BrowserstackCLI=require(a44_0x52e4da(0x191)),scriptFile=process[a44_0x52e4da(0x18d)][0x2],maxParallel=parseInt(process['argv'][0x3])||0x0;function a44_0x3449(){const _0x7d9ac3=['tyXvN','getInstance','newman','[Newman]\x20scriptRunner:\x20no\x20script\x20file\x20provided\x0a','failures','cli','length','_load','9050ukrtlN','p-limit','reporter','MdrVt','513chFCTB','20030EBeRAb','8478400NPJHld','nMLfj','2QXKapw','AmFNi','7CzVNgk','reporters','cOZFM','string','exitCode','AKAwn','browserstack','dKOrI','OBauv','exit','WGdKJ','517eJcmVg','JbYAL','join','KkVOp','[Newman]\x20scriptRunner:\x20failed\x20to\x20load\x20script:\x20','1112591xVdTGI','bind','collection','ihCWG','write','940FioHAA','message','argv','collectionPath','tjgUe','create','../v2/browserstackCLI','_resolveFilename','resolve','3728994KNBtHW','IXhXH','assign','call','run','RVyyx','9876432bfqVVw','BPfYw','vQwrU','189492NrGYdo','stderr','indexOf','byyFo','newman-reporter-browserstack','path','JKHPF'];a44_0x3449=function(){return _0x7d9ac3;};return a44_0x3449();}function a44_0x5c8e(_0x26046e,_0x32da90){const _0x344913=a44_0x3449();return a44_0x5c8e=function(_0x5c8efb,_0x3088f6){_0x5c8efb=_0x5c8efb-0x189;let _0x14558b=_0x344913[_0x5c8efb];return _0x14558b;},a44_0x5c8e(_0x26046e,_0x32da90);}!scriptFile&&(process[a44_0x52e4da(0x19e)][a44_0x52e4da(0x18a)](a44_0x52e4da(0x1a7)),process[a44_0x52e4da(0x1bf)](0x1));const reporterPath=path[a44_0x52e4da(0x1c3)](__dirname,a44_0x52e4da(0x1ae),'index.js'),originalResolveFilename=Module['_resolveFilename'];Module[a44_0x52e4da(0x192)]=function(_0x1ca3c0,_0x39c459,_0x12456d,_0x35882a){const _0x56aa3d=a44_0x52e4da,_0x4641e8={};_0x4641e8[_0x56aa3d(0x199)]=function(_0x358b1c,_0xa779b6){return _0x358b1c===_0xa779b6;},_0x4641e8[_0x56aa3d(0x1bd)]=_0x56aa3d(0x1a1);const _0x21d96b=_0x4641e8;if(_0x21d96b['RVyyx'](_0x1ca3c0,_0x21d96b[_0x56aa3d(0x1bd)]))return reporterPath;return originalResolveFilename[_0x56aa3d(0x197)](this,_0x1ca3c0,_0x39c459,_0x12456d,_0x35882a);};let limit;try{const pLimit=require(a44_0x52e4da(0x1ad)),concurrency=maxParallel&&maxParallel>0x0?maxParallel:Infinity;limit=pLimit(concurrency);}catch(a44_0x101c10){limit=function(_0x21dc67){const _0x28b7e0=a44_0x52e4da,_0x1c9b78={'AKAwn':function(_0x3e43f9){return _0x3e43f9();}};return _0x1c9b78[_0x28b7e0(0x1bb)](_0x21dc67);};}let wrappedNewman=null,hasFailure=![];const originalLoad=Module['_load'];Module[a44_0x52e4da(0x1ab)]=function(_0x19ec76,_0x4837cf,_0x202e1d){const _0x6992e3=a44_0x52e4da,_0x147746={'MdrVt':function(_0x2c0e44,_0x2e2145){return _0x2c0e44>_0x2e2145;},'cOZFM':function(_0x56cf3c,_0x4cb372){return _0x56cf3c||_0x4cb372;},'Rxyyg':function(_0xefd7c,_0x15ccba,_0x192c2c){return _0xefd7c(_0x15ccba,_0x192c2c);},'AmFNi':function(_0x3e5668,_0x541dc9){return _0x3e5668(_0x541dc9);},'GqEnq':function(_0x1b6fc5,_0x203872,_0x2872f8){return _0x1b6fc5(_0x203872,_0x2872f8);},'IXhXH':_0x6992e3(0x1a9),'JKHPF':function(_0x49b163,_0x13dc5a){return _0x49b163===_0x13dc5a;},'tjgUe':_0x6992e3(0x1bc),'nMLfj':_0x6992e3(0x1b9),'KkVOp':function(_0x521780,_0x4a27){return _0x521780(_0x4a27);},'UPjWs':function(_0x294b7b,_0x50b5fa){return _0x294b7b!==_0x50b5fa;},'BPfYw':_0x6992e3(0x1a6)},_0x47d0a1=originalLoad[_0x6992e3(0x197)](this,_0x19ec76,_0x4837cf,_0x202e1d);if(_0x147746['UPjWs'](_0x19ec76,_0x147746[_0x6992e3(0x19b)]))return _0x47d0a1;if(wrappedNewman)return wrappedNewman;const _0x277518=_0x47d0a1[_0x6992e3(0x198)][_0x6992e3(0x1c7)](_0x47d0a1);return wrappedNewman=Object[_0x6992e3(0x190)](_0x47d0a1),wrappedNewman['run']=function(_0xb5a3a5,_0x3498da){const _0x224409=_0x6992e3;let _0x52e9ee=_0xb5a3a5[_0x224409(0x1b7)]||[_0x147746[_0x224409(0x195)]];_0x147746[_0x224409(0x1a3)](_0x52e9ee[_0x224409(0x19f)](_0x147746[_0x224409(0x18f)]),-0x1)&&(_0x52e9ee=_0x52e9ee['concat']([_0x147746[_0x224409(0x18f)]]));const _0x4786b4=_0x147746[_0x224409(0x1a3)](typeof _0xb5a3a5['collection'],_0x147746[_0x224409(0x1b3)])?_0xb5a3a5[_0x224409(0x1c8)]:undefined,_0x1a52ce={};_0x1a52ce[_0x224409(0x18e)]=_0x4786b4;const _0x472544=Object[_0x224409(0x196)]({},_0xb5a3a5[_0x224409(0x1ae)],{'browserstack':Object[_0x224409(0x196)]({},_0xb5a3a5['reporter']&&_0xb5a3a5['reporter']['browserstack'],_0x1a52ce)}),_0x5873c0={};return _0x5873c0['reporters']=_0x52e9ee,_0x5873c0['reporter']=_0x472544,_0xb5a3a5=Object['assign']({},_0xb5a3a5,_0x5873c0),_0x147746[_0x224409(0x1c4)](limit,function(){const _0x4ca867={'byyFo':function(_0x3de601,_0x179d49){const _0x3524ac=a44_0x5c8e;return _0x147746[_0x3524ac(0x1af)](_0x3de601,_0x179d49);},'OBauv':function(_0x3a4cf3,_0x1b388f){const _0x1dba1a=a44_0x5c8e;return _0x147746[_0x1dba1a(0x1b8)](_0x3a4cf3,_0x1b388f);},'tyXvN':function(_0xd90050,_0x2ea68f,_0x4c8573){return _0x147746['Rxyyg'](_0xd90050,_0x2ea68f,_0x4c8573);},'FKbUe':function(_0x570b6d,_0x363db5){const _0x56cdf7=a44_0x5c8e;return _0x147746[_0x56cdf7(0x1b5)](_0x570b6d,_0x363db5);},'MgcVd':function(_0x5558e9,_0x244aa7,_0x44b6e3){return _0x147746['GqEnq'](_0x5558e9,_0x244aa7,_0x44b6e3);}};return new Promise(function(_0x1787d8){_0x4ca867['MgcVd'](_0x277518,_0xb5a3a5,function(_0x4f3319,_0xdb606a){const _0x41797c=a44_0x5c8e,_0x935266=_0xdb606a&&_0xdb606a[_0x41797c(0x198)]&&(_0xdb606a[_0x41797c(0x198)]['error']||_0xdb606a[_0x41797c(0x198)]['failures']&&_0x4ca867[_0x41797c(0x1a0)](_0xdb606a['run'][_0x41797c(0x1a8)][_0x41797c(0x1aa)],0x0));_0x4ca867[_0x41797c(0x1be)](_0x935266,_0x4f3319)&&(hasFailure=!![]),_0x3498da&&_0x4ca867[_0x41797c(0x1a4)](_0x3498da,_0x4f3319,_0xdb606a),_0x4ca867['FKbUe'](_0x1787d8,_0xdb606a);});});});},wrappedNewman;};async function main(){const _0xe14f58=a44_0x52e4da,_0x2975e2={'WGdKJ':function(_0x231ef5,_0x4da5fc){return _0x231ef5(_0x4da5fc);},'JbYAL':function(_0x4ad565,_0x568451){return _0x4ad565+_0x568451;},'ihCWG':function(_0x324455,_0x4cc33a){return _0x324455+_0x4cc33a;},'OMAXS':_0xe14f58(0x1c5)};try{await BrowserstackCLI[_0xe14f58(0x1a5)]()['bootstrap']();}catch(_0x34ac25){}try{_0x2975e2[_0xe14f58(0x1c0)](require,path[_0xe14f58(0x193)](scriptFile));}catch(_0x4c18f2){process[_0xe14f58(0x19e)]['write'](_0x2975e2[_0xe14f58(0x1c2)](_0x2975e2[_0xe14f58(0x189)](_0x2975e2['OMAXS'],_0x4c18f2[_0xe14f58(0x18c)]||_0x4c18f2),'\x0a')),process[_0xe14f58(0x1ba)]=0x1;}}main(),process['on']('beforeExit',function(){const _0x544001=a44_0x52e4da;hasFailure&&(process[_0x544001(0x1ba)]=0x1);}),process['on']('exit',function(){const _0x4d56ab=a44_0x52e4da,_0x3b28ff={};_0x3b28ff[_0x4d56ab(0x19c)]=function(_0x37165e,_0x27a49b){return _0x37165e===_0x27a49b;};const _0x330a6d=_0x3b28ff;hasFailure&&_0x330a6d['vQwrU'](process[_0x4d56ab(0x1ba)],0x0)&&(process['exitCode']=0x1);});
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a45_0x26f0ce=a45_0x4af4;(function(_0x2cd01b,_0x2706b9){const _0x490dfe=a45_0x4af4,_0x3488a0=_0x2cd01b();while(!![]){try{const _0x54f289=-parseInt(_0x490dfe(0x1b0))/0x1*(parseInt(_0x490dfe(0x1cc))/0x2)+-parseInt(_0x490dfe(0x194))/0x3+parseInt(_0x490dfe(0x1c2))/0x4*(parseInt(_0x490dfe(0x181))/0x5)+parseInt(_0x490dfe(0x180))/0x6*(-parseInt(_0x490dfe(0x1b7))/0x7)+-parseInt(_0x490dfe(0x1bc))/0x8+parseInt(_0x490dfe(0x187))/0x9+parseInt(_0x490dfe(0x18e))/0xa*(parseInt(_0x490dfe(0x1af))/0xb);if(_0x54f289===_0x2706b9)break;else _0x3488a0['push'](_0x3488a0['shift']());}catch(_0x127901){_0x3488a0['push'](_0x3488a0['shift']());}}}(a45_0x523e,0xe7456));function a45_0x4af4(_0x53a4a5,_0x3d548d){const _0x523e47=a45_0x523e();return a45_0x4af4=function(_0x4af460,_0x74ee23){_0x4af460=_0x4af460-0x17d;let _0x40032b=_0x523e47[_0x4af460];return _0x40032b;},a45_0x4af4(_0x53a4a5,_0x3d548d);}const fs=require('fs'),path=require(a45_0x26f0ce(0x1cb)),{spawn}=require(a45_0x26f0ce(0x1ce)),logger=require(a45_0x26f0ce(0x1d3))[a45_0x26f0ce(0x197)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a45_0x26f0ce(0x191)),constants=require(a45_0x26f0ce(0x19e)),getUserNightwatchConfigs=(_0xebc54,_0x5acf0e)=>{const _0x4b402c=a45_0x26f0ce,_0xb46a69={'rzwwq':_0x4b402c(0x195),'wPURd':_0x4b402c(0x1a5),'QoggX':function(_0x3025e2,_0x38c7f9){return _0x3025e2(_0x38c7f9);},'Rafsf':_0x4b402c(0x1a6)};let _0x4a1064=null,_0x5a7372={};const _0x4076ed=_0x5acf0e[_0x4b402c(0x19c)](_0x22762e=>_0x22762e==='--config'),_0x39d6aa=!helper[_0x4b402c(0x19d)](_0xebc54[_0x4b402c(0x1cf)])?helper[_0x4b402c(0x19f)](_0xebc54['config']):null;!helper[_0x4b402c(0x19d)](_0xebc54[_0x4b402c(0x1cf)])&&!_0x39d6aa&&logger[_0x4b402c(0x1ca)](_0x4b402c(0x192)+_0xebc54[_0x4b402c(0x1cf)]+_0x4b402c(0x1c3));if(_0x39d6aa&&fs['existsSync'](_0x39d6aa))_0x4a1064=_0x39d6aa,_0x5acf0e[_0x4b402c(0x18c)](_0x4076ed,0x2);else{if(fs['existsSync'](path[_0x4b402c(0x17e)](process[_0x4b402c(0x1b9)](),_0xb46a69[_0x4b402c(0x1ac)])))_0x4a1064=path[_0x4b402c(0x17e)](process[_0x4b402c(0x1b9)](),_0xb46a69[_0x4b402c(0x1ac)]);else fs[_0x4b402c(0x1b4)](path[_0x4b402c(0x17e)](process[_0x4b402c(0x1b9)](),_0xb46a69[_0x4b402c(0x1a8)]))&&(_0x4a1064=path['join'](process[_0x4b402c(0x1b9)](),_0xb46a69['wPURd']));}return _0x4a1064?(logger[_0x4b402c(0x1b6)](_0x4b402c(0x1b3)+_0x4a1064),_0x5a7372=_0xb46a69[_0x4b402c(0x1c0)](require,_0x4a1064)):logger[_0x4b402c(0x1b6)](_0xb46a69[_0x4b402c(0x1c1)]),_0x5a7372;},removeExistingEnvs=_0x537548=>{const _0x5e998b=a45_0x26f0ce,_0x4ac915={};_0x4ac915[_0x5e998b(0x1a2)]=function(_0x2d0c50,_0x296fa1){return _0x2d0c50>_0x296fa1;};const _0x1d8f96=_0x4ac915;let _0x507dec=_0x537548['findIndex'](_0x1697be=>_0x1697be===_0x5e998b(0x1c5));_0x1d8f96['PHMtG'](_0x507dec,-0x1)&&_0x537548[_0x5e998b(0x18c)](_0x507dec,0x2),_0x507dec=_0x537548[_0x5e998b(0x19c)](_0x1eb56c=>_0x1eb56c==='-e'),_0x1d8f96[_0x5e998b(0x1a2)](_0x507dec,-0x1)&&_0x537548[_0x5e998b(0x18c)](_0x507dec,0x2);};function run(_0x4377fa,_0x2f96b2,_0x3e19c1){const _0x45186b=a45_0x26f0ce,_0x38ed4d={'PDisa':_0x45186b(0x189),'cpqTO':function(_0x419fef,_0x4d7d90){return _0x419fef+_0x4d7d90;},'UQgxr':_0x45186b(0x1bb),'dQoSr':function(_0x37885d,_0x895b09,_0x494569){return _0x37885d(_0x895b09,_0x494569);},'OEDfr':_0x45186b(0x18f),'MRNsL':_0x45186b(0x1ad),'VCbCP':function(_0x2c0bbc,_0x76e1a6){return _0x2c0bbc===_0x76e1a6;},'gQKFb':_0x45186b(0x1b1),'dTjmS':function(_0x3303a0,_0x213a24){return _0x3303a0(_0x213a24);},'SntFi':'../../index','HSorC':function(_0x3d00fe,_0x34b279,_0x2080e9,_0x5197be){return _0x3d00fe(_0x34b279,_0x2080e9,_0x5197be);},'Riwdl':_0x45186b(0x1ba),'Addio':_0x45186b(0x1a4),'QsKJq':_0x45186b(0x1c5),'iZDXl':'inherit','CrHWP':'close'};if(!_0x3e19c1[_0x45186b(0x1cf)])return;const _0x10c021=_0x38ed4d['dQoSr'](getUserNightwatchConfigs,_0x4377fa,_0x2f96b2),_0x1fd20a={};_0x1fd20a[_0x45186b(0x19a)]=![];const _0x4d2876={};_0x4d2876[_0x45186b(0x1d6)]=_0x38ed4d[_0x45186b(0x17f)],_0x4d2876[_0x45186b(0x1a0)]=0x1bb;const _0x137eb6={};_0x137eb6[_0x45186b(0x1cd)]=_0x1fd20a,_0x137eb6['selenium']=_0x4d2876;const _0xaf2ac9=_0x137eb6;logger[_0x45186b(0x1b6)](_0x38ed4d['MRNsL']);const _0x3efe30={..._0x10c021},_0x5e131c=_0x3efe30,_0xf85dcb=helper[_0x45186b(0x1be)](_0x3e19c1['config']),_0x2faaa5=[];_0x3e19c1['config'][_0x45186b(0x199)][_0x45186b(0x1ae)]((_0x55c02d,_0x535d8a)=>{const _0x14e8a4=_0x45186b;_0xf85dcb?_0x2faaa5[_0x14e8a4(0x1a1)](helper[_0x14e8a4(0x1a9)](_0x3e19c1['config'],_0x38ed4d['PDisa'],_0x535d8a)):_0x2faaa5['push'](helper[_0x14e8a4(0x1a7)](_0x3e19c1[_0x14e8a4(0x1cf)],_0x38ed4d['PDisa'],_0x535d8a));});const _0x2b6c0b={},_0x2439cc=[];_0x4377fa['env']=_0x4377fa[_0x45186b(0x1ab)]||_0x4377fa['e'];const _0x13b54f=_0x4377fa[_0x45186b(0x1ab)]?_0x4377fa[_0x45186b(0x1ab)][_0x45186b(0x1aa)]()[_0x45186b(0x18d)](',')[_0x45186b(0x1d4)](_0x1ef277=>_0x1ef277[_0x45186b(0x1aa)]())[_0x45186b(0x17d)](_0x36e93c=>_0x36e93c!==''):[''];_0x38ed4d[_0x45186b(0x19b)](_0x13b54f[_0x45186b(0x190)],0x0)&&_0x13b54f[_0x45186b(0x1a1)]('');_0x13b54f[_0x45186b(0x1ae)](_0x59ecda=>{const _0x1c8dd2=_0x45186b,_0x4873f7={'jDKKi':function(_0x1a728c,_0x2c7b6f){const _0x5b8663=a45_0x4af4;return _0x38ed4d[_0x5b8663(0x188)](_0x1a728c,_0x2c7b6f);},'WVOKR':_0x38ed4d[_0x1c8dd2(0x18b)]};_0x2faaa5[_0x1c8dd2(0x1ae)](_0x4bf2e6=>{const _0x55fa5=_0x1c8dd2;let _0x739042=_0x4873f7[_0x55fa5(0x1d5)](helper[_0x55fa5(0x184)](_0x4bf2e6,'_'),'_'+Date['now']());_0x59ecda&&(_0x739042+='_'+_0x59ecda);if(_0x59ecda&&(!_0x10c021[_0x4873f7['WVOKR']]||!_0x10c021[_0x4873f7[_0x55fa5(0x18a)]][_0x59ecda]))return;const _0xe8fd85={..._0xaf2ac9};_0xe8fd85[_0x55fa5(0x1bf)]=_0x4bf2e6;const _0x1c8ac3=_0xe8fd85;_0x2b6c0b[_0x739042]=_0x59ecda?helper[_0x55fa5(0x1c9)](_0x10c021[_0x4873f7[_0x55fa5(0x18a)]][_0x59ecda],_0x1c8ac3):_0x1c8ac3,_0x2439cc[_0x55fa5(0x1a1)](_0x739042);});});!_0x5e131c[_0x45186b(0x1bb)]&&(_0x5e131c[_0x45186b(0x1bb)]={});_0x5e131c['test_settings']={..._0x5e131c[_0x45186b(0x1bb)],..._0x2b6c0b};const _0x181dc8=path['join'](__dirname,_0x38ed4d[_0x45186b(0x186)]);fs[_0x45186b(0x183)](_0x181dc8,JSON[_0x45186b(0x1bd)](_0x5e131c)),_0x38ed4d[_0x45186b(0x1c4)](removeExistingEnvs,_0x2f96b2);const _0x4f3401=require[_0x45186b(0x196)](_0x38ed4d['SntFi']),_0x544e9e=process[_0x45186b(0x1ab)]['NODE_OPTIONS']||'',_0x14009b=_0x45186b(0x1c8)+JSON[_0x45186b(0x1bd)](_0x4f3401),_0x2ccc60=_0x544e9e?_0x544e9e+'\x20'+_0x14009b:_0x14009b,_0x537323=Object[_0x45186b(0x1c7)]({},process[_0x45186b(0x1ab)],{'NODE_OPTIONS':_0x2ccc60,'BROWSERSTACK_FRAMEWORK':process[_0x45186b(0x1ab)][_0x45186b(0x1b2)]||_0x38ed4d[_0x45186b(0x1a3)]}),_0x294f73=_0x38ed4d['HSorC'](spawn,/^win/[_0x45186b(0x1d1)](process['platform'])?_0x38ed4d[_0x45186b(0x193)]:_0x38ed4d[_0x45186b(0x1a3)],[_0x38ed4d[_0x45186b(0x1c6)],_0x181dc8,..._0x2f96b2[_0x45186b(0x198)](0x1),_0x38ed4d[_0x45186b(0x1b8)],_0x2439cc['join'](',')],{'stdio':_0x38ed4d[_0x45186b(0x185)],'env':_0x537323});_0x294f73['on'](_0x38ed4d[_0x45186b(0x1d0)],async _0x363ad2=>{const _0x48d4a6=_0x45186b;logger[_0x48d4a6(0x1b5)](_0x48d4a6(0x1d2)+_0x363ad2),logger[_0x48d4a6(0x1b6)](_0x48d4a6(0x182)+_0x181dc8),fs['unlinkSync'](_0x181dc8);});}module['exports']=run;function a45_0x523e(){const _0x6c4010=['nightwatch.json','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','modifyBrowserStackCaps','wPURd','modifyBrowserStackW3CCaps','trim','env','rzwwq','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','forEach','12815132MLxThz','4tBXoPX','nightwatch-browserstack.json','BROWSERSTACK_FRAMEWORK','Getting\x20your\x20nightwatch\x20configs\x20from\x20','existsSync','debug','info','55531cMTeuA','QsKJq','cwd','nightwatch.cmd','test_settings','12391696jRXrPK','stringify','useW3C','desiredCapabilities','QoggX','Rafsf','5238124hAJbtx','\x22:\x20it\x20resolves\x20outside\x20the\x20project\x20directory.','dTjmS','--env','Addio','assign','--require\x20','mergeDeep','warn','path','181890uQLusv','webdriver','child_process','config','CrHWP','test','child\x20process\x20exited\x20with\x20code\x20','../../helpers/logger','map','jDKKi','host','filter','join','OEDfr','474MRlFPx','5XhkMcj','Deleting\x20','writeFileSync','getPlatformName','iZDXl','gQKFb','2647278KQcJYj','cpqTO','nightwatch','WVOKR','UQgxr','splice','split','20qCUrFK','hub.browserstack.com','length','../../helpers/helper','Ignoring\x20--config\x20path\x20\x22','Riwdl','1340886wmZmlI','nightwatch.conf.js','resolve','winstonLogger','slice','platforms','start_process','VCbCP','findIndex','isUndefined','../utils/constants','resolveWithinCwd','port','push','PHMtG','PDisa','--config'];a45_0x523e=function(){return _0x6c4010;};return a45_0x523e();}
2
+ 'use strict';function a45_0x50a6(){const _0x5aeccd=['qltKf','HKYUc','unlinkSync','useW3C','OGDfy','filter','7535xfDjQJ','--env','modifyBrowserStackCaps','webdriver','aQVoy','110ZUhVko','--require\x20','1484cVqamL','clNRZ','stringify','VQkmF','--config','splice','Ignoring\x20--config\x20path\x20\x22','assign','debug','534JQVhOn','../../helpers/logger','cwd','inherit','817620GoJsQP','54kEoCFf','port','SIzdK','forEach','nightwatch.cmd','writeFileSync','TVnxh','nightwatch.conf.js','cyaef','NODE_OPTIONS','nightwatch-browserstack.json','modifyBrowserStackW3CCaps','config','1460QPQbBA','join','81328sTolEo','exports','\x22:\x20it\x20resolves\x20outside\x20the\x20project\x20directory.','aXoGG','map','info','start_process','kNpFd','test_settings','desiredCapabilities','push','hub.browserstack.com','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','jDfrV','platforms','child\x20process\x20exited\x20with\x20code\x20','sYlui','../utils/constants','env','trim','winstonLogger','135960kexrOh','resolve','findIndex','length','KwDOD','../../helpers/helper','existsSync','171roWeZg','now','nightwatch.json','child_process','close','DQfMM','bxghS','1250144mbVGvn','isUndefined','Xondt'];a45_0x50a6=function(){return _0x5aeccd;};return a45_0x50a6();}const a45_0x3c173d=a45_0x2b8b;(function(_0x5a48e9,_0x1ad91d){const _0x1e477a=a45_0x2b8b,_0x338515=_0x5a48e9();while(!![]){try{const _0x276cf0=-parseInt(_0x1e477a(0x1d5))/0x1+parseInt(_0x1e477a(0x1ba))/0x2*(parseInt(_0x1e477a(0x1c8))/0x3)+parseInt(_0x1e477a(0x1c7))/0x4+-parseInt(_0x1e477a(0x1b3))/0x5*(-parseInt(_0x1e477a(0x1c3))/0x6)+-parseInt(_0x1e477a(0x1fa))/0x7+parseInt(_0x1e477a(0x1d7))/0x8*(-parseInt(_0x1e477a(0x1f3))/0x9)+parseInt(_0x1e477a(0x1b8))/0xa*(parseInt(_0x1e477a(0x1ec))/0xb);if(_0x276cf0===_0x1ad91d)break;else _0x338515['push'](_0x338515['shift']());}catch(_0x519ba7){_0x338515['push'](_0x338515['shift']());}}}(a45_0x50a6,0x1bfce));const fs=require('fs'),path=require('path'),{spawn}=require(a45_0x3c173d(0x1f6)),logger=require(a45_0x3c173d(0x1c4))[a45_0x3c173d(0x1eb)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a45_0x3c173d(0x1f1)),constants=require(a45_0x3c173d(0x1e8)),getUserNightwatchConfigs=(_0x2d23f1,_0xe5c2f1)=>{const _0x557a6c=a45_0x3c173d,_0x49d6f1={'bxghS':_0x557a6c(0x1cf),'qltKf':_0x557a6c(0x1f5),'HKYUc':function(_0x1f2cc3,_0x1725e2){return _0x1f2cc3(_0x1725e2);},'aXoGG':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file'};let _0x23cd40=null,_0x96c5b6={};const _0x3dbe10=_0xe5c2f1[_0x557a6c(0x1ee)](_0x4347a7=>_0x4347a7==='--config'),_0x47f4d5=!helper[_0x557a6c(0x1fb)](_0x2d23f1[_0x557a6c(0x1d4)])?helper['resolveWithinCwd'](_0x2d23f1[_0x557a6c(0x1d4)]):null;!helper['isUndefined'](_0x2d23f1[_0x557a6c(0x1d4)])&&!_0x47f4d5&&logger['warn'](_0x557a6c(0x1c0)+_0x2d23f1[_0x557a6c(0x1d4)]+_0x557a6c(0x1d9));if(_0x47f4d5&&fs[_0x557a6c(0x1f2)](_0x47f4d5))_0x23cd40=_0x47f4d5,_0xe5c2f1['splice'](_0x3dbe10,0x2);else{if(fs['existsSync'](path[_0x557a6c(0x1d6)](process[_0x557a6c(0x1c5)](),_0x49d6f1['bxghS'])))_0x23cd40=path['join'](process[_0x557a6c(0x1c5)](),_0x49d6f1[_0x557a6c(0x1f9)]);else fs[_0x557a6c(0x1f2)](path[_0x557a6c(0x1d6)](process['cwd'](),_0x49d6f1[_0x557a6c(0x1fd)]))&&(_0x23cd40=path[_0x557a6c(0x1d6)](process[_0x557a6c(0x1c5)](),_0x49d6f1[_0x557a6c(0x1fd)]));}return _0x23cd40?(logger[_0x557a6c(0x1dc)]('Getting\x20your\x20nightwatch\x20configs\x20from\x20'+_0x23cd40),_0x96c5b6=_0x49d6f1[_0x557a6c(0x1fe)](require,_0x23cd40)):logger[_0x557a6c(0x1dc)](_0x49d6f1[_0x557a6c(0x1da)]),_0x96c5b6;},removeExistingEnvs=_0x2fa21b=>{const _0x127e70=a45_0x3c173d,_0x53c45c={};_0x53c45c['SIzdK']=function(_0x5e2da6,_0x764296){return _0x5e2da6>_0x764296;};const _0x3a6cd6=_0x53c45c;let _0x2d1cb1=_0x2fa21b[_0x127e70(0x1ee)](_0xbcb330=>_0xbcb330===_0x127e70(0x1b4));_0x3a6cd6['SIzdK'](_0x2d1cb1,-0x1)&&_0x2fa21b[_0x127e70(0x1bf)](_0x2d1cb1,0x2),_0x2d1cb1=_0x2fa21b[_0x127e70(0x1ee)](_0x117a2c=>_0x117a2c==='-e'),_0x3a6cd6[_0x127e70(0x1ca)](_0x2d1cb1,-0x1)&&_0x2fa21b[_0x127e70(0x1bf)](_0x2d1cb1,0x2);};function run(_0x4d9a8e,_0x28d268,_0x42573a){const _0x4ba1d9=a45_0x3c173d,_0x3d973f={'Xondt':'nightwatch','sYlui':function(_0x3aa99f,_0x1955a5){return _0x3aa99f+_0x1955a5;},'clNRZ':_0x4ba1d9(0x1df),'XYWmr':function(_0x3fc0b8,_0x4e658b,_0x2c979e){return _0x3fc0b8(_0x4e658b,_0x2c979e);},'aQVoy':_0x4ba1d9(0x1e2),'wfFOm':_0x4ba1d9(0x1e3),'OGDfy':function(_0x229f4a,_0x1507cb){return _0x229f4a===_0x1507cb;},'LCewS':_0x4ba1d9(0x1d2),'JrffU':function(_0x3a25ed,_0x2522c9){return _0x3a25ed(_0x2522c9);},'TVnxh':'../../index','cyaef':function(_0x3c8282,_0x449aeb,_0x445a3d,_0xcf0fe6){return _0x3c8282(_0x449aeb,_0x445a3d,_0xcf0fe6);},'KwDOD':_0x4ba1d9(0x1cc),'kNpFd':_0x4ba1d9(0x1be),'DQfMM':_0x4ba1d9(0x1b4),'jDfrV':_0x4ba1d9(0x1c6),'VQkmF':_0x4ba1d9(0x1f7)};if(!_0x42573a[_0x4ba1d9(0x1d4)])return;const _0x198155=_0x3d973f['XYWmr'](getUserNightwatchConfigs,_0x4d9a8e,_0x28d268),_0x4ed29a={};_0x4ed29a[_0x4ba1d9(0x1dd)]=![];const _0x40b29d={};_0x40b29d['host']=_0x3d973f[_0x4ba1d9(0x1b7)],_0x40b29d[_0x4ba1d9(0x1c9)]=0x1bb;const _0x18c5c7={};_0x18c5c7[_0x4ba1d9(0x1b6)]=_0x4ed29a,_0x18c5c7['selenium']=_0x40b29d;const _0x893116=_0x18c5c7;logger[_0x4ba1d9(0x1dc)](_0x3d973f['wfFOm']);const _0x4d1251={..._0x198155},_0x5b8fbd=_0x4d1251,_0x19cc17=helper[_0x4ba1d9(0x1b0)](_0x42573a[_0x4ba1d9(0x1d4)]),_0x45e1cf=[];_0x42573a[_0x4ba1d9(0x1d4)][_0x4ba1d9(0x1e5)]['forEach']((_0x587de8,_0x17a64b)=>{const _0x41239c=_0x4ba1d9;_0x19cc17?_0x45e1cf[_0x41239c(0x1e1)](helper[_0x41239c(0x1d3)](_0x42573a[_0x41239c(0x1d4)],_0x3d973f[_0x41239c(0x1fc)],_0x17a64b)):_0x45e1cf[_0x41239c(0x1e1)](helper[_0x41239c(0x1b5)](_0x42573a[_0x41239c(0x1d4)],_0x3d973f[_0x41239c(0x1fc)],_0x17a64b));});const _0x4bdda0={},_0x2b6a3c=[];_0x4d9a8e['env']=_0x4d9a8e[_0x4ba1d9(0x1e9)]||_0x4d9a8e['e'];const _0x16d4a0=_0x4d9a8e['env']?_0x4d9a8e[_0x4ba1d9(0x1e9)][_0x4ba1d9(0x1ea)]()['split'](',')[_0x4ba1d9(0x1db)](_0x249a3c=>_0x249a3c[_0x4ba1d9(0x1ea)]())[_0x4ba1d9(0x1b2)](_0x30553b=>_0x30553b!==''):[''];_0x3d973f[_0x4ba1d9(0x1b1)](_0x16d4a0[_0x4ba1d9(0x1ef)],0x0)&&_0x16d4a0[_0x4ba1d9(0x1e1)]('');_0x16d4a0['forEach'](_0x286b73=>{const _0x5e2694=_0x4ba1d9;_0x45e1cf[_0x5e2694(0x1cb)](_0x494559=>{const _0x3c4a7f=_0x5e2694;let _0x204270=_0x3d973f[_0x3c4a7f(0x1e7)](helper['getPlatformName'](_0x494559,'_'),'_'+Date[_0x3c4a7f(0x1f4)]());_0x286b73&&(_0x204270+='_'+_0x286b73);if(_0x286b73&&(!_0x198155[_0x3d973f[_0x3c4a7f(0x1bb)]]||!_0x198155[_0x3d973f[_0x3c4a7f(0x1bb)]][_0x286b73]))return;const _0x35935c={..._0x893116};_0x35935c[_0x3c4a7f(0x1e0)]=_0x494559;const _0x440517=_0x35935c;_0x4bdda0[_0x204270]=_0x286b73?helper['mergeDeep'](_0x198155[_0x3d973f[_0x3c4a7f(0x1bb)]][_0x286b73],_0x440517):_0x440517,_0x2b6a3c[_0x3c4a7f(0x1e1)](_0x204270);});});!_0x5b8fbd[_0x4ba1d9(0x1df)]&&(_0x5b8fbd[_0x4ba1d9(0x1df)]={});_0x5b8fbd[_0x4ba1d9(0x1df)]={..._0x5b8fbd[_0x4ba1d9(0x1df)],..._0x4bdda0};const _0x5a963b=path[_0x4ba1d9(0x1d6)](__dirname,_0x3d973f['LCewS']);fs[_0x4ba1d9(0x1cd)](_0x5a963b,JSON[_0x4ba1d9(0x1bc)](_0x5b8fbd)),_0x3d973f['JrffU'](removeExistingEnvs,_0x28d268);const _0x31fa2d=require[_0x4ba1d9(0x1ed)](_0x3d973f[_0x4ba1d9(0x1ce)]),_0x14942c=process['env'][_0x4ba1d9(0x1d1)]||'',_0x5a933b=_0x4ba1d9(0x1b9)+JSON[_0x4ba1d9(0x1bc)](_0x31fa2d),_0x81b0f4=_0x14942c?_0x14942c+'\x20'+_0x5a933b:_0x5a933b,_0x2a6ad5=Object[_0x4ba1d9(0x1c1)]({},process[_0x4ba1d9(0x1e9)],{'NODE_OPTIONS':_0x81b0f4,'BROWSERSTACK_FRAMEWORK':process['env']['BROWSERSTACK_FRAMEWORK']||_0x3d973f[_0x4ba1d9(0x1fc)]}),_0x327fcf=_0x3d973f[_0x4ba1d9(0x1d0)](spawn,/^win/['test'](process['platform'])?_0x3d973f[_0x4ba1d9(0x1f0)]:_0x3d973f[_0x4ba1d9(0x1fc)],[_0x3d973f[_0x4ba1d9(0x1de)],_0x5a963b,..._0x28d268['slice'](0x1),_0x3d973f[_0x4ba1d9(0x1f8)],_0x2b6a3c[_0x4ba1d9(0x1d6)](',')],{'stdio':_0x3d973f[_0x4ba1d9(0x1e4)],'env':_0x2a6ad5});_0x327fcf['on'](_0x3d973f[_0x4ba1d9(0x1bd)],async _0x25c9be=>{const _0x2762ea=_0x4ba1d9;logger[_0x2762ea(0x1c2)](_0x2762ea(0x1e6)+_0x25c9be),logger[_0x2762ea(0x1dc)]('Deleting\x20'+_0x5a963b),fs[_0x2762ea(0x1af)](_0x5a963b);});}function a45_0x2b8b(_0x15204e,_0x20c656){const _0x50a6e0=a45_0x50a6();return a45_0x2b8b=function(_0x2b8b91,_0x358399){_0x2b8b91=_0x2b8b91-0x1af;let _0x2ed106=_0x50a6e0[_0x2b8b91];return _0x2ed106;},a45_0x2b8b(_0x15204e,_0x20c656);}module[a45_0x3c173d(0x1d8)]=run;
@@ -1 +1 @@
1
- const a46_0x578bb2=a46_0x1357;(function(_0x1068fc,_0x1cb6e6){const _0x3e0f3b=a46_0x1357,_0x3c6518=_0x1068fc();while(!![]){try{const _0x243485=-parseInt(_0x3e0f3b(0x9d))/0x1*(parseInt(_0x3e0f3b(0x76))/0x2)+parseInt(_0x3e0f3b(0xd2))/0x3*(-parseInt(_0x3e0f3b(0x7f))/0x4)+parseInt(_0x3e0f3b(0xd7))/0x5+-parseInt(_0x3e0f3b(0xed))/0x6+-parseInt(_0x3e0f3b(0xc1))/0x7*(-parseInt(_0x3e0f3b(0x73))/0x8)+-parseInt(_0x3e0f3b(0x7c))/0x9*(-parseInt(_0x3e0f3b(0x97))/0xa)+parseInt(_0x3e0f3b(0xc4))/0xb*(parseInt(_0x3e0f3b(0x99))/0xc);if(_0x243485===_0x1cb6e6)break;else _0x3c6518['push'](_0x3c6518['shift']());}catch(_0x3e4f1f){_0x3c6518['push'](_0x3c6518['shift']());}}}(a46_0x210d,0x1c5b7));function a46_0x210d(){const _0x43cbd6=['project','includes','../../helpers/performance/performance-tester','KYLCq','browser_version','isBrowserSupportedForAccessibility','toLowerCase','executeAsyncScript','browserstack.accessibilityOptions','jOgkZ','browserStackEvaluate','unuNb','\x20browser\x20version\x20','bhwtB','accessibilityOptions.wcagVersion','ZTsOB','bestPractice','latest','OqgDs','isMobilePlatform','request','getBrowserDisplayName','ccXvq','replace','accessibilityOptions.scannerProcessingTimeout','dzgGJ','message','../../helpers/helper','env','hpWLq','evaluate','1008cFSNrm','warn','UGeMH','135179nRwGSK','lxokr','error','wsEndpoint','platformValidation','../../helpers/accessibility-automation/helper','setAccessibilityCapabilities','dgDuW','vLzGf','bstackSdkArgs','format','body','mkaSl','wVkkp','3Svwxca','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','accessibilityOptions.scannerVersion','wcagVersion','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','955325mYjADb','silly','No\x20summaryResults\x20found.','browserStackExecuteDriver','YTrfg','command','stringify','Gpzha','Playwright','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','getAccessibilityResults','browser','GfkNP','mqGEN','PERFORM_SCAN','\x20page:\x20','dbddR','string','constructor','parse','mHQoH','oEqiR','571392XigRpk','VVRgW','assign','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers\x20or\x20Android\x20Chrome.','accessibilityPlatform','browserName','isVersionSupported','SyJom','BS_A11Y_JWT','browserstack.accessibility','keys','includeIssueType','on\x20non-BrowserStack\x20infrastructure\x20','workerInfo','../../helpers/accessibility-automation/scripts','Eedxg','xNctR','Wxgfy','872KTnZfA','chromium','][\x20SDK-AUTOMATION\x20]\x20','2TQNvep','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20','ZgrQi','connectOptions','platformValidation:\x20Mobile\x20platform\x20already\x20validated.','url','53145iQJSHo','../../helpers/performance/constants','tSkfB','291444SJfrvY','../../helpers/logger','forEach','tizZR','\x20or\x20higher\x20','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20\x20\x20','WebDriver','parameters','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','name','includePartOfPageScope','find','accessibilityOptions.authToken','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','[A11Y]\x20Error\x20logging\x20SDK-AUTOMATION\x20for\x20browserStackEvaluate:\x20','use','performScan','deviceName','uxyKA','azrlZ','Performing\x20scan\x20with\x20method:\x20','No\x20accessibility\x20results\x20were\x20found.','scannerProcessingTimeout','debug','250qwqknC','executeScript','60RCFNNw','TrVkB','nRihS','processAccessibilityCaps','131587ydHyvP','accessibilityOptions','isMobileScanningEnabledForGroup','JMTcD','getMinVersionForBrowser'];a46_0x210d=function(){return _0x43cbd6;};return a46_0x210d();}const util=require('util'),logger=require(a46_0x578bb2(0x80))['winstonLogger'],{automationLogger}=require(a46_0x578bb2(0x80)),{isAccessibilityAutomationSession}=require(a46_0x578bb2(0xc9)),{isUndefined,isBrowserstackInfra}=require(a46_0x578bb2(0xbd)),scripts=require(a46_0x578bb2(0x6f)),PerformanceTester=require(a46_0x578bb2(0xa4)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a46_0x578bb2(0x7d)),accessibilityHelper=require('../../helpers/accessibility-automation/helper'),{AUTOMATION_LOG_COMMANDS}=require('../utils/constants');function a46_0x1357(_0x1c41cb,_0x145949){const _0x210d9d=a46_0x210d();return a46_0x1357=function(_0x135745,_0x26dfbe){_0x135745=_0x135745-0x6a;let _0x3e6897=_0x210d9d[_0x135745];return _0x3e6897;},a46_0x1357(_0x1c41cb,_0x145949);}exports[a46_0x578bb2(0xac)]=async(_0x56358d,_0x1503fc,_0x4a362a={})=>{const _0x13c524=a46_0x578bb2,_0x58fe87={};_0x58fe87['xNctR']=_0x13c524(0xcd),_0x58fe87[_0x13c524(0xad)]=function(_0x3c89c4,_0x628c91){return _0x3c89c4===_0x628c91;},_0x58fe87['mHQoH']=_0x13c524(0xe8);const _0x594271=_0x58fe87,_0x203915=await _0x56358d[_0x13c524(0xc0)]('(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20'+_0x1503fc['replace'](/arguments/g,_0x594271[_0x13c524(0x71)])+'\x0a\x20\x20\x20\x20})\x0a\x20\x20})('+JSON[_0x13c524(0xdd)](_0x4a362a)+')');try{if(_0x1503fc&&_0x594271[_0x13c524(0xad)](typeof _0x1503fc,_0x594271[_0x13c524(0xeb)])){const _0x1fdf18=AUTOMATION_LOG_COMMANDS[_0x13c524(0x8a)](_0x54c653=>_0x1503fc['includes'](_0x54c653));if(_0x1fdf18){const _0x5eddae={};_0x5eddae[_0x13c524(0xdc)]=_0x1fdf18,_0x5eddae[_0x13c524(0x86)]=[_0x4a362a];const _0x323082={};_0x323082[_0x13c524(0xcf)]=_0x203915;const _0x29745a={};_0x29745a[_0x13c524(0xb6)]=_0x5eddae,_0x29745a['response']=_0x323082,automationLogger[_0x13c524(0xd8)]('['+new Date()['toISOString']()+_0x13c524(0x75)+JSON['stringify'](_0x29745a));}}}catch(_0x36b43a){logger[_0x13c524(0x96)](_0x13c524(0x8d)+_0x36b43a[_0x13c524(0xbc)]);}return _0x203915;},exports[a46_0x578bb2(0xda)]=async(_0x91a9a5,_0x3f48fb,_0x29abc1={})=>{const _0x15fc0a=a46_0x578bb2,_0x42f0c8={};_0x42f0c8['TCiSx']=function(_0x42fcfc,_0xa6c020){return _0x42fcfc===_0xa6c020;},_0x42f0c8[_0x15fc0a(0xdb)]=_0x15fc0a(0x85),_0x42f0c8[_0x15fc0a(0x92)]=function(_0xb3a688,_0x38d80a){return _0xb3a688===_0x38d80a;},_0x42f0c8[_0x15fc0a(0x7e)]=_0x15fc0a(0xdf),_0x42f0c8['dzgGJ']='bstackSdkArgs';const _0xc9875e=_0x42f0c8;if(_0xc9875e['TCiSx'](_0x91a9a5[_0x15fc0a(0xe9)][_0x15fc0a(0x88)],_0xc9875e[_0x15fc0a(0xdb)]))return await _0x91a9a5[_0x15fc0a(0xa9)](_0x3f48fb,_0x29abc1);else{if(_0xc9875e[_0x15fc0a(0x92)](_0x91a9a5['constructor']['name'],_0xc9875e[_0x15fc0a(0x7e)]))return await _0x91a9a5[_0x15fc0a(0x98)](_0x15fc0a(0x84)+_0x3f48fb[_0x15fc0a(0xb9)](/arguments/g,_0xc9875e[_0x15fc0a(0xbb)])+_0x15fc0a(0xd3)+JSON[_0x15fc0a(0xdd)](_0x29abc1)+')');}},exports[a46_0x578bb2(0xca)]=async _0x2b726c=>{const _0x17fd26=a46_0x578bb2,_0x12ac34={};_0x12ac34['JMTcD']=_0x17fd26(0xb0),_0x12ac34[_0x17fd26(0xc5)]=_0x17fd26(0xba),_0x12ac34[_0x17fd26(0xb8)]='accessibilityOptions.includeIssueType.bestPractice',_0x12ac34[_0x17fd26(0xd1)]='accessibilityOptions.includeIssueType.needsReview',_0x12ac34[_0x17fd26(0x91)]=_0x17fd26(0x8b),_0x12ac34[_0x17fd26(0xbf)]=_0x17fd26(0xd4);const _0x30663d=_0x12ac34;_0x2b726c[_0x17fd26(0x9e)]&&(_0x2b726c[_0x17fd26(0x9e)][_0x17fd26(0xd5)]&&(_0x2b726c[_0x30663d[_0x17fd26(0xa0)]]=_0x2b726c[_0x17fd26(0x9e)][_0x17fd26(0xd5)]),_0x2b726c['accessibilityOptions']['scannerProcessingTimeout']&&(_0x2b726c[_0x30663d[_0x17fd26(0xc5)]]=_0x2b726c[_0x17fd26(0x9e)][_0x17fd26(0x95)]),_0x2b726c['accessibilityOptions'][_0x17fd26(0x6c)]&&(_0x2b726c[_0x30663d[_0x17fd26(0xb8)]]=_0x2b726c[_0x17fd26(0x9e)][_0x17fd26(0x6c)][_0x17fd26(0xb2)],_0x2b726c[_0x30663d['wVkkp']]=_0x2b726c[_0x17fd26(0x9e)][_0x17fd26(0x6c)]['needsReview']));const _0x1cd76a=JSON[_0x17fd26(0xea)](process[_0x17fd26(0xbe)][_0x17fd26(0xd6)])['scannerVersion'];_0x2b726c[_0x30663d[_0x17fd26(0x91)]]=process['env'][_0x17fd26(0xf6)],_0x2b726c[_0x30663d[_0x17fd26(0xbf)]]=_0x1cd76a,delete _0x2b726c[_0x17fd26(0x9e)];},exports[a46_0x578bb2(0xe1)]=async _0x517b0d=>{const _0x11d642=a46_0x578bb2,_0x90b2bc={};_0x90b2bc['mkaSl']=_0x11d642(0x94),_0x90b2bc[_0x11d642(0xf5)]=_0x11d642(0x8c);const _0x22ebde=_0x90b2bc;if(global[_0x11d642(0xf2)])try{const details={'url':await _0x517b0d.url(),'testhub_btcer_uuid':global.__workerDetails?.currentTest?.id};const mobileArgs=global.isMobilePlatform?{is_mobile_session:true,thTestRunUuid:global.__workerDetails?.currentTest?.thTestRunUuid}:{};logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x517b0d,scripts.performScan,mobileArgs)));},{command:'getAccessibilityResults',...details})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x517b0d,scripts.getResults,mobileArgs);},{...details})();return res;}catch{return logger[_0x11d642(0xc6)](_0x22ebde[_0x11d642(0xd0)]),[];}else return logger[_0x11d642(0xc2)](_0x22ebde[_0x11d642(0xf5)]),[];},exports[a46_0x578bb2(0x8f)]=async(_0x2073c7,_0x673870='',_0x25499e={},_0x1b041c={})=>{const _0x499111=a46_0x578bb2;logger[_0x499111(0x96)](_0x499111(0x93)+_0x673870+_0x499111(0xe6)+_0x2073c7);const _0xaa561d={'url':await _0x2073c7[_0x499111(0x7b)](),'testhub_btcer_uuid':global['__workerDetails']?.['currentTest']?.['id']};if(global[_0x499111(0xf2)])return await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x499111(0xe5)],async()=>{const _0x32be2b=_0x499111,_0x376d4c={};_0x376d4c['command']=_0x673870;const _0x395d6c=_0x376d4c;_0x25499e&&_0x25499e[_0x32be2b(0x89)]&&(_0x395d6c[_0x32be2b(0x89)]=_0x25499e[_0x32be2b(0x89)]);Object[_0x32be2b(0xef)](_0x395d6c,_0x1b041c);const _0x240e3d=await exports['browserStackEvaluate'](_0x2073c7,scripts[_0x32be2b(0x8f)],_0x395d6c);return _0x240e3d;},{'command':_0x673870,..._0xaa561d})();},exports['getAccessibilityResultsSummary']=async _0x42947c=>{const _0x52e003=a46_0x578bb2,_0x314098={};_0x314098[_0x52e003(0xab)]=_0x52e003(0xd9),_0x314098[_0x52e003(0xc3)]=_0x52e003(0xf0);const _0x276a70=_0x314098;if(global['accessibilityPlatform'])try{const mobileArgs=global.isMobilePlatform?{is_mobile_session:true,thTestRunUuid:global.__workerDetails?.currentTest?.thTestRunUuid}:{};await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x42947c,scripts.performScan,mobileArgs)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x42947c,scripts.getResultsSummary,mobileArgs);})();return summaryResults;}catch{return logger[_0x52e003(0x96)](_0x276a70[_0x52e003(0xab)]),{};}else return logger[_0x52e003(0xc2)](_0x276a70[_0x52e003(0xc3)]),{};},exports[a46_0x578bb2(0xc8)]=_0x271a42=>{const _0x1347d5=a46_0x578bb2,_0x379f79={'rnlTH':_0x1347d5(0x7a),'ZgrQi':_0x1347d5(0x87),'TrVkB':function(_0x18b292,_0x5857da){return _0x18b292!==_0x5857da;},'vLzGf':_0x1347d5(0xb3),'KYLCq':function(_0xb13cb0){return _0xb13cb0();},'FnkrQ':_0x1347d5(0x6d)};try{if(global[_0x1347d5(0xb5)])return logger[_0x1347d5(0x96)](_0x379f79['rnlTH']),!![];const _0x5dc346=_0x271a42[_0x1347d5(0xe2)],_0xaadfb2=_0x271a42[_0x1347d5(0xa6)];if(!accessibilityHelper[_0x1347d5(0xa7)](_0x5dc346))return logger['warn'](_0x379f79[_0x1347d5(0x78)]),![];if(_0x379f79[_0x1347d5(0x9a)](_0xaadfb2,_0x379f79[_0x1347d5(0xcc)])){const _0x294702=_0x379f79[_0x1347d5(0xa5)](isBrowserstackInfra),_0x159b1a=accessibilityHelper['getMinVersionForBrowser'](_0x5dc346,_0x294702),_0xa9e8a8=accessibilityHelper[_0x1347d5(0xb7)](_0x5dc346);if(!accessibilityHelper[_0x1347d5(0xf4)](_0xaadfb2,_0x159b1a)){const _0x25ac2d=_0x294702?'':_0x379f79['FnkrQ'];return logger[_0x1347d5(0xc2)]('Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20'+_0xa9e8a8+_0x1347d5(0xae)+_0x159b1a+_0x1347d5(0x83)+_0x25ac2d+'.'),![];}}}catch(_0x2ce9a4){logger[_0x1347d5(0x96)]('Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20'+util[_0x1347d5(0xce)](_0x2ce9a4));}return!![];},exports[a46_0x578bb2(0x9c)]=(_0x336d98,_0x3322cf,_0x31749a)=>{const _0x569b3b=a46_0x578bb2,_0x4161b5={'UVVdy':_0x569b3b(0xaa),'VVRgW':function(_0x2995e1){return _0x2995e1();},'Gpzha':_0x569b3b(0x6a),'tizZR':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','dgDuW':function(_0x4042b8,_0x490140){return _0x4042b8!==_0x490140;},'Eedxg':'latest','dbddR':function(_0x3f28c7){return _0x3f28c7();},'Wxgfy':_0x569b3b(0x6d),'OqgDs':function(_0x1a64c3,_0x36b569){return _0x1a64c3(_0x36b569);},'bhwtB':function(_0x152e92,_0x5a5017){return _0x152e92===_0x5a5017;},'oEqiR':'android','mqGEN':'chrome','ZTsOB':'playwright-chromium','nRihS':_0x569b3b(0x74),'GfkNP':_0x569b3b(0xf1),'aklNo':function(_0x747faf,_0x354b6b){return _0x747faf+_0x354b6b;}};try{if(_0x4161b5[_0x569b3b(0xee)](isAccessibilityAutomationSession)){global[_0x569b3b(0xf2)]=!![];!_0x336d98[_0x4161b5[_0x569b3b(0xde)]]&&(global[_0x569b3b(0xf2)]=![]);const _0x5ec056=_0x336d98[_0x569b3b(0xf3)]||_0x336d98[_0x569b3b(0xe2)],_0x509982=_0x336d98[_0x569b3b(0xa6)];!accessibilityHelper[_0x569b3b(0xa7)](_0x5ec056)&&(logger[_0x569b3b(0xc2)](_0x4161b5[_0x569b3b(0x82)]),global[_0x569b3b(0xf2)]=![]);if(_0x4161b5[_0x569b3b(0xcb)](_0x509982,_0x4161b5[_0x569b3b(0x70)])){const _0xd1dd60=_0x4161b5[_0x569b3b(0xe7)](isBrowserstackInfra),_0x19771d=accessibilityHelper[_0x569b3b(0xa1)](_0x5ec056,_0xd1dd60),_0x430ce1=accessibilityHelper[_0x569b3b(0xb7)](_0x5ec056);if(!accessibilityHelper['isVersionSupported'](_0x509982,_0x19771d)){const _0x884c35=_0xd1dd60?'':_0x4161b5[_0x569b3b(0x72)];logger[_0x569b3b(0xc2)](_0x569b3b(0x77)+_0x430ce1+_0x569b3b(0xae)+_0x19771d+_0x569b3b(0x83)+_0x884c35+'.'),global[_0x569b3b(0xf2)]=![];}}if(!_0x4161b5[_0x569b3b(0xb4)](isUndefined,_0x336d98[_0x569b3b(0x90)])){const _0x1465b4=(_0x336d98['os']||'')[_0x569b3b(0xa8)](),_0x4bd291=(_0x336d98['browserName']||_0x336d98['browser']||'')[_0x569b3b(0xa8)](),_0x3903a9=_0x4161b5[_0x569b3b(0xaf)](_0x1465b4,_0x4161b5[_0x569b3b(0xec)])&&[_0x4161b5[_0x569b3b(0xe4)],_0x4161b5[_0x569b3b(0xb1)],_0x4161b5[_0x569b3b(0x9b)]][_0x569b3b(0xa3)](_0x4bd291);if(!_0x3903a9)logger[_0x569b3b(0xc2)](_0x4161b5[_0x569b3b(0xe3)]),global[_0x569b3b(0xf2)]=![];else!accessibilityHelper[_0x569b3b(0x9f)]()&&(logger[_0x569b3b(0xc2)](accessibilityHelper['MOBILE_SCANNING_DISABLED_WARNING']),global[_0x569b3b(0xf2)]=![]);}if(!global[_0x569b3b(0xf2)]){_0x336d98[_0x4161b5[_0x569b3b(0xde)]]=![],Object[_0x569b3b(0x6b)](_0x336d98)[_0x569b3b(0x81)](_0x2b2710=>{_0x2b2710['startsWith'](_0x4161b5['UVVdy'])&&delete _0x336d98[_0x2b2710];});const _0x3b8ae6=_0x4161b5['aklNo'](_0x3322cf,_0x4161b5[_0x569b3b(0xb4)](encodeURIComponent,JSON[_0x569b3b(0xdd)](_0x336d98)));_0x31749a&&(_0x31749a['currentTest']['testInfo']['project'][_0x569b3b(0x8e)]['connectOptions'][_0x569b3b(0xc7)]=_0x3b8ae6,_0x31749a[_0x569b3b(0x6e)][_0x569b3b(0xa2)]['use'][_0x569b3b(0x79)][_0x569b3b(0xc7)]=_0x3b8ae6);}}else global['accessibilityPlatform']=![];}catch(_0x128ecd){logger[_0x569b3b(0x96)](_0x569b3b(0xe0)+util[_0x569b3b(0xce)](_0x128ecd));}};
1
+ function a46_0x13cc(_0x5fc5eb,_0x2c4f5a){const _0x3d204a=a46_0x3d20();return a46_0x13cc=function(_0x13cc7c,_0x31e17c){_0x13cc7c=_0x13cc7c-0x74;let _0x310f62=_0x3d204a[_0x13cc7c];return _0x310f62;},a46_0x13cc(_0x5fc5eb,_0x2c4f5a);}const a46_0x556cb8=a46_0x13cc;(function(_0x5317d2,_0x571432){const _0x2eb93b=a46_0x13cc,_0x196275=_0x5317d2();while(!![]){try{const _0x188791=parseInt(_0x2eb93b(0x83))/0x1+-parseInt(_0x2eb93b(0x75))/0x2+-parseInt(_0x2eb93b(0xe9))/0x3*(-parseInt(_0x2eb93b(0x84))/0x4)+parseInt(_0x2eb93b(0xeb))/0x5+parseInt(_0x2eb93b(0x9c))/0x6*(-parseInt(_0x2eb93b(0xef))/0x7)+parseInt(_0x2eb93b(0x90))/0x8*(-parseInt(_0x2eb93b(0xd0))/0x9)+parseInt(_0x2eb93b(0xca))/0xa*(parseInt(_0x2eb93b(0x99))/0xb);if(_0x188791===_0x571432)break;else _0x196275['push'](_0x196275['shift']());}catch(_0x57ed5a){_0x196275['push'](_0x196275['shift']());}}}(a46_0x3d20,0x8b2cb));function a46_0x3d20(){const _0x590d3e=['name','toLowerCase','bestPractice','No\x20summaryResults\x20found.','zRHfo','message','\x20page:\x20','pgvmi','getAccessibilityResultsSummary','browser','startsWith','accessibilityOptions','performScan','response','keys','__workerDetails','getMinVersionForBrowser','QgIcs','on\x20non-BrowserStack\x20infrastructure\x20','1077URhoLO','][\x20SDK-AUTOMATION\x20]\x20','829600RSAugb','ZDsdr','currentTest','getAccessibilityResults','5406065cwXKVr','../../helpers/logger','erfXf','PclnV','ghkVz','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','akqeM','platformValidation','SqrmW','isBrowserSupportedForAccessibility','env','latest','connectOptions','wcagVersion','find','project','browser_version','accessibilityOptions.scannerVersion','XEJAE','1556186nqdOLi','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','browserStackEvaluate','BS_A11Y_JWT','GdlYJ','../../helpers/performance/constants','vlAbi','bstackSdkArgs','rCHuk','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','OwCLY','PERFORM_SCAN','constructor','ArcME','347208UuqpkA','4936uFNkEW','needsReview','evaluate','../utils/constants','JRHLb','util','includes','zBxpA','VWIOJ','accessibilityOptions.wcagVersion','MpKCg','getBrowserDisplayName','8NWbqWH','replace','gNiED','wlnsL','scannerVersion','toISOString','testInfo','workerInfo','WebDriver','8245820klqchI','isVersionSupported','accessibilityOptions.scannerProcessingTimeout','6LHXhnO','scannerProcessingTimeout','QOzky','accessibilityPlatform','silly','../../helpers/accessibility-automation/helper','wsEndpoint','parameters','browserStackExecuteDriver','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','includePartOfPageScope','body','debug','accessibilityOptions.includeIssueType.needsReview','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','android','No\x20accessibility\x20results\x20were\x20found.','deviceName','nWZEl','playwright-chromium','mUwPr','inewx','warn','use','browserstack.accessibility','format','isMobileScanningEnabledForGroup','SWuNU','zejjt','measureWrapper','includeIssueType','LUktl','url','isMobilePlatform','TWuwV','izpkJ','UTmNI','stringify','../../helpers/performance/performance-tester','chrome','\x20browser\x20version\x20','VguxY','mNJXP','\x20or\x20higher\x20','GEEDe','error','30OGtHDs','tTaTG','../../helpers/accessibility-automation/scripts','Playwright','winstonLogger','bybbA','9760923wOriRd','parse','request','processAccessibilityCaps','MWDDm','chromium'];a46_0x3d20=function(){return _0x590d3e;};return a46_0x3d20();}const util=require(a46_0x556cb8(0x89)),logger=require(a46_0x556cb8(0xf0))[a46_0x556cb8(0xce)],{automationLogger}=require(a46_0x556cb8(0xf0)),{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{isUndefined,isBrowserstackInfra}=require('../../helpers/helper'),scripts=require(a46_0x556cb8(0xcc)),PerformanceTester=require(a46_0x556cb8(0xc2)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a46_0x556cb8(0x7a)),accessibilityHelper=require(a46_0x556cb8(0xa1)),{AUTOMATION_LOG_COMMANDS}=require(a46_0x556cb8(0x87));exports['browserStackEvaluate']=async(_0x2d2ed6,_0x5c5555,_0x2652eb={})=>{const _0x444ca7=a46_0x556cb8,_0x5ce6ec={};_0x5ce6ec[_0x444ca7(0xbb)]=_0x444ca7(0x7c),_0x5ce6ec[_0x444ca7(0xe7)]=function(_0x29ac9b,_0x297994){return _0x29ac9b===_0x297994;},_0x5ce6ec[_0x444ca7(0xd4)]='string';const _0x193781=_0x5ce6ec,_0x2dc33d=await _0x2d2ed6[_0x444ca7(0x86)]('(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'+_0x5c5555[_0x444ca7(0x91)](/arguments/g,_0x193781[_0x444ca7(0xbb)])+_0x444ca7(0xa5)+JSON['stringify'](_0x2652eb)+')');try{if(_0x5c5555&&_0x193781[_0x444ca7(0xe7)](typeof _0x5c5555,_0x193781[_0x444ca7(0xd4)])){const _0xbf52b3=AUTOMATION_LOG_COMMANDS[_0x444ca7(0xfd)](_0x57923d=>_0x5c5555[_0x444ca7(0x8a)](_0x57923d));if(_0xbf52b3){const _0x11e1d5={};_0x11e1d5['command']=_0xbf52b3,_0x11e1d5[_0x444ca7(0xa3)]=[_0x2652eb];const _0x2388ca={};_0x2388ca[_0x444ca7(0xa7)]=_0x2dc33d;const _0x1024f7={};_0x1024f7[_0x444ca7(0xd2)]=_0x11e1d5,_0x1024f7[_0x444ca7(0xe3)]=_0x2388ca,automationLogger[_0x444ca7(0xa0)]('['+new Date()[_0x444ca7(0x95)]()+_0x444ca7(0xea)+JSON[_0x444ca7(0xc1)](_0x1024f7));}}}catch(_0x1a1a16){logger[_0x444ca7(0xa8)]('[A11Y]\x20Error\x20logging\x20SDK-AUTOMATION\x20for\x20browserStackEvaluate:\x20'+_0x1a1a16[_0x444ca7(0xdb)]);}return _0x2dc33d;},exports[a46_0x556cb8(0xa4)]=async(_0x10ef95,_0x180791,_0x8a67a7={})=>{const _0x53b12d=a46_0x556cb8,_0x3e6e4a={};_0x3e6e4a[_0x53b12d(0xf7)]=function(_0x57ee9a,_0x1fb95d){return _0x57ee9a===_0x1fb95d;},_0x3e6e4a[_0x53b12d(0xc0)]=_0x53b12d(0x98),_0x3e6e4a[_0x53b12d(0x82)]=function(_0x38565c,_0x48ba1f){return _0x38565c===_0x48ba1f;},_0x3e6e4a[_0x53b12d(0xf5)]=_0x53b12d(0xcd),_0x3e6e4a[_0x53b12d(0xb0)]=_0x53b12d(0x7c);const _0x26f5d7=_0x3e6e4a;if(_0x26f5d7[_0x53b12d(0xf7)](_0x10ef95[_0x53b12d(0x81)][_0x53b12d(0xd6)],_0x26f5d7[_0x53b12d(0xc0)]))return await _0x10ef95['executeAsyncScript'](_0x180791,_0x8a67a7);else{if(_0x26f5d7[_0x53b12d(0x82)](_0x10ef95['constructor'][_0x53b12d(0xd6)],_0x26f5d7[_0x53b12d(0xf5)]))return await _0x10ef95['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'+_0x180791[_0x53b12d(0x91)](/arguments/g,_0x26f5d7[_0x53b12d(0xb0)])+_0x53b12d(0x76)+JSON['stringify'](_0x8a67a7)+')');}},exports['setAccessibilityCapabilities']=async _0x3740d1=>{const _0x53b16e=a46_0x556cb8,_0x2b9549={};_0x2b9549[_0x53b16e(0xb1)]=_0x53b16e(0x8d),_0x2b9549[_0x53b16e(0x92)]=_0x53b16e(0x9b),_0x2b9549['QOzky']='accessibilityOptions.includeIssueType.bestPractice',_0x2b9549[_0x53b16e(0x7b)]=_0x53b16e(0xa9),_0x2b9549[_0x53b16e(0xcb)]='accessibilityOptions.authToken',_0x2b9549[_0x53b16e(0x74)]=_0x53b16e(0x100);const _0x1d396d=_0x2b9549;_0x3740d1[_0x53b16e(0xe1)]&&(_0x3740d1[_0x53b16e(0xe1)][_0x53b16e(0xfc)]&&(_0x3740d1[_0x1d396d[_0x53b16e(0xb1)]]=_0x3740d1[_0x53b16e(0xe1)][_0x53b16e(0xfc)]),_0x3740d1[_0x53b16e(0xe1)][_0x53b16e(0x9d)]&&(_0x3740d1[_0x1d396d[_0x53b16e(0x92)]]=_0x3740d1[_0x53b16e(0xe1)][_0x53b16e(0x9d)]),_0x3740d1[_0x53b16e(0xe1)][_0x53b16e(0xba)]&&(_0x3740d1[_0x1d396d[_0x53b16e(0x9e)]]=_0x3740d1[_0x53b16e(0xe1)][_0x53b16e(0xba)][_0x53b16e(0xd8)],_0x3740d1[_0x1d396d[_0x53b16e(0x7b)]]=_0x3740d1[_0x53b16e(0xe1)][_0x53b16e(0xba)][_0x53b16e(0x85)]));const _0x486ccc=JSON[_0x53b16e(0xd1)](process[_0x53b16e(0xf9)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']||'{}')[_0x53b16e(0x94)];_0x3740d1[_0x1d396d[_0x53b16e(0xcb)]]=process['env'][_0x53b16e(0x78)],_0x3740d1[_0x1d396d[_0x53b16e(0x74)]]=_0x486ccc,delete _0x3740d1[_0x53b16e(0xe1)];},exports[a46_0x556cb8(0xee)]=async _0x4ac66b=>{const _0x33aa5a=a46_0x556cb8,_0x5719e4={};_0x5719e4[_0x33aa5a(0xc5)]=_0x33aa5a(0xac),_0x5719e4[_0x33aa5a(0x93)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.';const _0x1fedd1=_0x5719e4;if(global[_0x33aa5a(0x9f)])try{const details={'url':await _0x4ac66b.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(_0x4ac66b,scripts.performScan,mobileArgs)));},{command:'getAccessibilityResults',...details})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x4ac66b,scripts.getResults,mobileArgs);},{...details})();return res;}catch{return logger[_0x33aa5a(0xc9)](_0x1fedd1[_0x33aa5a(0xc5)]),[];}else return logger[_0x33aa5a(0xb2)](_0x1fedd1[_0x33aa5a(0x93)]),[];},exports[a46_0x556cb8(0xe2)]=async(_0x1cd80b,_0x2a4f3d='',_0x5d936d={},_0x3988e8={})=>{const _0x349572=a46_0x556cb8;logger[_0x349572(0xa8)]('Performing\x20scan\x20with\x20method:\x20'+_0x2a4f3d+_0x349572(0xdc)+_0x1cd80b);const _0x3d90f0={'url':await _0x1cd80b[_0x349572(0xbc)](),'testhub_btcer_uuid':global[_0x349572(0xe5)]?.[_0x349572(0xed)]?.['id']};if(global['accessibilityPlatform'])return await PerformanceTester[_0x349572(0xb9)](PerformanceA11yEvents[_0x349572(0x80)],async()=>{const _0x1b62fc=_0x349572,_0x5ea71e={};_0x5ea71e['command']=_0x2a4f3d;const _0x99abe3=_0x5ea71e;_0x5d936d&&_0x5d936d['includePartOfPageScope']&&(_0x99abe3[_0x1b62fc(0xa6)]=_0x5d936d[_0x1b62fc(0xa6)]);Object['assign'](_0x99abe3,_0x3988e8);const _0x44937c=await exports[_0x1b62fc(0x77)](_0x1cd80b,scripts[_0x1b62fc(0xe2)],_0x99abe3);return _0x44937c;},{'command':_0x2a4f3d,..._0x3d90f0})();},exports[a46_0x556cb8(0xde)]=async _0x4222eb=>{const _0x462743=a46_0x556cb8,_0xcf30a0={};_0xcf30a0['mNJXP']=_0x462743(0xd9),_0xcf30a0[_0x462743(0xbf)]=_0x462743(0x7e);const _0x128301=_0xcf30a0;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(_0x4222eb,scripts.performScan,mobileArgs)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x4222eb,scripts.getResultsSummary,mobileArgs);})();return summaryResults;}catch{return logger[_0x462743(0xa8)](_0x128301[_0x462743(0xc6)]),{};}else return logger[_0x462743(0xb2)](_0x128301[_0x462743(0xbf)]),{};},exports[a46_0x556cb8(0xf6)]=_0x4e44f8=>{const _0x329898=a46_0x556cb8,_0x251087={'VWIOJ':'platformValidation:\x20Mobile\x20platform\x20already\x20validated.','zBxpA':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','rCHuk':function(_0x4ebb4c,_0x2422ba){return _0x4ebb4c!==_0x2422ba;},'nWZEl':_0x329898(0xfa),'NUeIo':function(_0x32fbbc){return _0x32fbbc();},'TWuwV':_0x329898(0xe8)};try{if(global[_0x329898(0xbd)])return logger[_0x329898(0xa8)](_0x251087[_0x329898(0x8c)]),!![];const _0x24e054=_0x4e44f8[_0x329898(0xdf)],_0x1b1765=_0x4e44f8[_0x329898(0xff)];if(!accessibilityHelper[_0x329898(0xf8)](_0x24e054))return logger[_0x329898(0xb2)](_0x251087[_0x329898(0x8b)]),![];if(_0x251087[_0x329898(0x7d)](_0x1b1765,_0x251087[_0x329898(0xae)])){const _0x183532=_0x251087['NUeIo'](isBrowserstackInfra),_0x54ef9f=accessibilityHelper[_0x329898(0xe6)](_0x24e054,_0x183532),_0x13d709=accessibilityHelper[_0x329898(0x8f)](_0x24e054);if(!accessibilityHelper[_0x329898(0x9a)](_0x1b1765,_0x54ef9f)){const _0xb8f742=_0x183532?'':_0x251087[_0x329898(0xbe)];return logger[_0x329898(0xb2)]('Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20'+_0x13d709+'\x20browser\x20version\x20'+_0x54ef9f+_0x329898(0xc7)+_0xb8f742+'.'),![];}}}catch(_0x133348){logger['debug'](_0x329898(0xaa)+util[_0x329898(0xb5)](_0x133348));}return!![];},exports[a46_0x556cb8(0xd3)]=(_0x5b54de,_0x573c34,_0x5623fa)=>{const _0x4d8f81=a46_0x556cb8,_0x2737e7={'ZDsdr':'browserstack.accessibilityOptions','VfuUS':function(_0x31f73a){return _0x31f73a();},'ghkVz':_0x4d8f81(0xb4),'pgvmi':_0x4d8f81(0xf4),'KDqmE':function(_0x13eead,_0x19bba9){return _0x13eead!==_0x19bba9;},'bybbA':_0x4d8f81(0xfa),'PclnV':function(_0x3acda8){return _0x3acda8();},'GdlYJ':'on\x20non-BrowserStack\x20infrastructure\x20','GEEDe':function(_0x2de5d4,_0x51a0bf){return _0x2de5d4(_0x51a0bf);},'SWuNU':function(_0x200dad,_0xd1c84e){return _0x200dad===_0xd1c84e;},'erfXf':_0x4d8f81(0xab),'MpKCg':_0x4d8f81(0xc3),'JRHLb':_0x4d8f81(0xaf),'OwCLY':_0x4d8f81(0xd5),'zejjt':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers\x20or\x20Android\x20Chrome.','SJQwc':function(_0x1aa3e3,_0x28b9f4){return _0x1aa3e3+_0x28b9f4;},'zRHfo':function(_0x4172d0,_0x1205cd){return _0x4172d0(_0x1205cd);}};try{if(_0x2737e7['VfuUS'](isAccessibilityAutomationSession)){global[_0x4d8f81(0x9f)]=!![];!_0x5b54de[_0x2737e7[_0x4d8f81(0xf3)]]&&(global['accessibilityPlatform']=![]);const _0x4145c7=_0x5b54de['browserName']||_0x5b54de[_0x4d8f81(0xdf)],_0x4491ed=_0x5b54de['browser_version'];!accessibilityHelper['isBrowserSupportedForAccessibility'](_0x4145c7)&&(logger['warn'](_0x2737e7[_0x4d8f81(0xdd)]),global[_0x4d8f81(0x9f)]=![]);if(_0x2737e7['KDqmE'](_0x4491ed,_0x2737e7[_0x4d8f81(0xcf)])){const _0x12aaf8=_0x2737e7[_0x4d8f81(0xf2)](isBrowserstackInfra),_0x10c2ac=accessibilityHelper['getMinVersionForBrowser'](_0x4145c7,_0x12aaf8),_0xa91183=accessibilityHelper[_0x4d8f81(0x8f)](_0x4145c7);if(!accessibilityHelper['isVersionSupported'](_0x4491ed,_0x10c2ac)){const _0x23d5f4=_0x12aaf8?'':_0x2737e7[_0x4d8f81(0x79)];logger['warn']('Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20'+_0xa91183+_0x4d8f81(0xc4)+_0x10c2ac+_0x4d8f81(0xc7)+_0x23d5f4+'.'),global[_0x4d8f81(0x9f)]=![];}}if(!_0x2737e7[_0x4d8f81(0xc8)](isUndefined,_0x5b54de[_0x4d8f81(0xad)])){const _0x596555=(_0x5b54de['os']||'')['toLowerCase'](),_0xd1c6ea=(_0x5b54de['browserName']||_0x5b54de[_0x4d8f81(0xdf)]||'')[_0x4d8f81(0xd7)](),_0x48402d=_0x2737e7[_0x4d8f81(0xb7)](_0x596555,_0x2737e7[_0x4d8f81(0xf1)])&&[_0x2737e7[_0x4d8f81(0x8e)],_0x2737e7[_0x4d8f81(0x88)],_0x2737e7[_0x4d8f81(0x7f)]]['includes'](_0xd1c6ea);if(!_0x48402d)logger[_0x4d8f81(0xb2)](_0x2737e7[_0x4d8f81(0xb8)]),global[_0x4d8f81(0x9f)]=![];else!accessibilityHelper[_0x4d8f81(0xb6)]()&&(logger[_0x4d8f81(0xb2)](accessibilityHelper['MOBILE_SCANNING_DISABLED_WARNING']),global['accessibilityPlatform']=![]);}if(!global['accessibilityPlatform']){_0x5b54de[_0x2737e7['ghkVz']]=![],Object[_0x4d8f81(0xe4)](_0x5b54de)['forEach'](_0x52a199=>{const _0x4e3c8d=_0x4d8f81;_0x52a199[_0x4e3c8d(0xe0)](_0x2737e7[_0x4e3c8d(0xec)])&&delete _0x5b54de[_0x52a199];});const _0x4de993=_0x2737e7['SJQwc'](_0x573c34,_0x2737e7[_0x4d8f81(0xda)](encodeURIComponent,JSON[_0x4d8f81(0xc1)](_0x5b54de)));_0x5623fa&&(_0x5623fa[_0x4d8f81(0xed)][_0x4d8f81(0x96)][_0x4d8f81(0xfe)][_0x4d8f81(0xb3)][_0x4d8f81(0xfb)][_0x4d8f81(0xa2)]=_0x4de993,_0x5623fa[_0x4d8f81(0x97)][_0x4d8f81(0xfe)][_0x4d8f81(0xb3)][_0x4d8f81(0xfb)][_0x4d8f81(0xa2)]=_0x4de993);}}else global[_0x4d8f81(0x9f)]=![];}catch(_0xd7c88){logger['debug']('Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20'+util[_0x4d8f81(0xb5)](_0xd7c88));}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a47_0x1e4f6b=a47_0x59cc;(function(_0x4a4d31,_0x3e618d){const _0x572ec3=a47_0x59cc,_0x14f538=_0x4a4d31();while(!![]){try{const _0x21e434=parseInt(_0x572ec3(0x1a6))/0x1+-parseInt(_0x572ec3(0x1a1))/0x2*(parseInt(_0x572ec3(0x131))/0x3)+-parseInt(_0x572ec3(0xfe))/0x4+-parseInt(_0x572ec3(0x14f))/0x5+parseInt(_0x572ec3(0xf5))/0x6*(parseInt(_0x572ec3(0x127))/0x7)+parseInt(_0x572ec3(0x102))/0x8*(-parseInt(_0x572ec3(0x196))/0x9)+parseInt(_0x572ec3(0x101))/0xa*(parseInt(_0x572ec3(0x106))/0xb);if(_0x21e434===_0x3e618d)break;else _0x14f538['push'](_0x14f538['shift']());}catch(_0x5707e5){_0x14f538['push'](_0x14f538['shift']());}}}(a47_0x4a17,0x7ba1e));function a47_0x4a17(){const _0x43581c=['rHmkO','WVJyw','winstonLogger','slice','reportDotBrowserStackFolderNotAccessibleIssue','LmxkE','playwright-browserstack-sdk.config.js','../utils/clientTroubleshootingService','BROWSERSTACK_FRAMEWORK','KotWu','testObservability','getInstance','qAGsN','NjAvv','12607wdMCGk','getNoProxy','isUndefined','false','sep','errorMessage','Error\x20in\x20getting\x20funnel\x20data\x20results','Found:\x20','nestedKeyValue','lpEbP','1917459DbWGed','measureWrapper','--config=','splice','Deleting\x20','../../helpers/performance/performance-tester','resolve','isTestOrchestrationEnabled','findPlaywrightTestFiles','../../helpers/performance/constants','Updated\x20config\x20file\x20name\x20to\x20-\x20','juzEV','.browserstack','--disable-browserstack-automation','--grep','isCLIEnabled','eNxRd','cliConfig','setBrowserstackConfig','Playwright\x20process\x20exited\x20with\x20code\x20','playwright','skipSessionName','platform','vFcHQ','getConfig','getConfigPath','XiZqh','lUJJA','BROWSERSTACK_TEST_OBSERVABILITY','KdUcP','2187600ffbqRT','Reordered\x20Test\x20Files:\x20','accessibilityOptions','constants','test','trace_','qEsgW','./accessibility-helper','win32','\x20test\x20files\x20to\x20run.','stop','QeZap','join','IXDrf','OiMGZ','isFalse','debug','mGBiz','validateRerunTestList','KRpBz','shutdown','PLAYWRIGHT','getProxyUrl','length','stringify','has','--config','accessibility','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','lRLvY','pw_result.json','W_OK','SEDuB','SDK_POST_INITIALIZE','HhECF','ugzuH','No\x20Proxy\x20:\x20','mNCrS','end','browserstackAutomation','Error\x20in\x20closing\x20playwright','RBmaq','sVnFm','filter','existsSync','reorderTestFiles','child_process','../v2/browserstackCLI','RksvM','DWeBa','Hhwyq','ijcUS','isYarnPnP','uyOpw','npx','apply','BROWSERSTACK_RERUN_TESTS','requireConfigLoaderYarnPnP','fuTwc','writeFileSync','homedir','requirePWModule','startsWith','get','finalExecution','wzxhB','ydDvs','ioSMI','zJNQS','getPackageType','--disable-test-observability','9pUdLqt','push','unlinkSync','../v2/cliUtils','yarn','assign','../../helpers/utilities','util','BROWSERSTACK_SETUP_CONFIG_PATH','path','QbVpL','2bszNSA','config','Error\x20in\x20accessing\x20.browserstack\x20directory:\x20','USER_CONFIG_DETAILS_PATH','Mvadk','144307rhfgQY','BROWSERSTACK_AUTOMATION','parse','nqprg','close','info','Proxy\x20url\x20:\x20','mvcIU','reportFinalDetectionState','start','setupBrowserstackLocal','isRunning','Xdile','readFileSync','./reporter/pwUtils','BROWSERSTACK_TEST_ACCESSIBILITY_YML','HJxcx','accessSync','2184SSZbOz','IjWDK','indexOf','isTrue','\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20process.env.GLOBAL_AGENT_NO_PROXY=\x22','BROWSERSTACK_RERUN','../../helpers/test-observability/constants','DtDwp','EVENTS','397004cneVve','testContextOptions','bootstrap','30HCldRN','6920392ushQWX','serializeToYamlString','cwd','EkrVS','6407500itgXfK','split','bWTXQ','INTERNALLY_USED_ENV_VARS','Error\x20in\x20deleting\x20playwright\x20results','yZNhS','map','env','PACKAGE_TYPE','logLevel','dvaMW','SDK_CLEANUP','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','exports','TWzsj','mniEy','SDK_PRE_INITIALIZE','wKRHs','../../helpers/test-orchestration/testOrchestrationHandler'];a47_0x4a17=function(){return _0x43581c;};return a47_0x4a17();}function a47_0x59cc(_0x4a39a6,_0x37427f){const _0x4a17c6=a47_0x4a17();return a47_0x59cc=function(_0x59cc8a,_0x579f6c){_0x59cc8a=_0x59cc8a-0xea;let _0x27e5b5=_0x4a17c6[_0x59cc8a];return _0x27e5b5;},a47_0x59cc(_0x4a39a6,_0x37427f);}const fs=require('fs'),path=require(a47_0x1e4f6b(0x19f)),{spawn}=require(a47_0x1e4f6b(0x17d)),{format}=require(a47_0x1e4f6b(0x19d)),logger=require('../../helpers/logger')[a47_0x1e4f6b(0x11b)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require('../../helpers/helper'),utilities=require(a47_0x1e4f6b(0x19c)),constants=require('../utils/constants'),{FRAMEWORKS}=require(a47_0x1e4f6b(0xfb)),{getConfigLoaderPath}=require(a47_0x1e4f6b(0xf1)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities}=require(a47_0x1e4f6b(0x156)),{printBuildLink}=require('../../helpers/test-observability/utils'),TestDetails=require('./reporter/test-details'),TestHubHandler=require('../../helpers/testhub/testhubHandler'),PerformanceTester=require(a47_0x1e4f6b(0x136)),TestOrchestrationHandler=require(a47_0x1e4f6b(0x118)),BrowserstackCLI=require(a47_0x1e4f6b(0x17e)),PerformanceEvents=require(a47_0x1e4f6b(0x13a))[a47_0x1e4f6b(0xfd)],CLIUtils=require(a47_0x1e4f6b(0x199)),TestInfo=require('../v2/TestInfo'),ClientTroubleShootingService=require(a47_0x1e4f6b(0x120)),getUserPlaywrightConfig=async(_0x4c348c,_0x5519fc)=>{const _0x44dd29=a47_0x1e4f6b,_0x33c2a4={'gfkYY':function(_0x211b93){return _0x211b93();},'FUvmp':function(_0xda7c5d){return _0xda7c5d();},'RksvM':function(_0xe495a,_0x41d458){return _0xe495a(_0x41d458);},'HhECF':function(_0x355b57,_0x307004){return _0x355b57(_0x307004);},'eNxRd':'resolvedConfigFile','qAGsN':_0x44dd29(0x133)},_0x50ee48=!helper[_0x44dd29(0x129)](_0x4c348c[_0x44dd29(0x1a2)]),_0x2e4e58=_0x50ee48?path['resolve'](process[_0x44dd29(0x104)](),_0x4c348c[_0x44dd29(0x1a2)]):process[_0x44dd29(0x104)](),{resolveConfigFile:_0x440bd9,resolveConfigLocation:_0x49dc61}=helper[_0x44dd29(0x183)]()?helper[_0x44dd29(0x188)](..._0x33c2a4['gfkYY'](getConfigLoaderPath)):helper[_0x44dd29(0x18c)][_0x44dd29(0x186)](null,_0x33c2a4['FUvmp'](getConfigLoaderPath)),_0x3c3918=_0x440bd9?_0x33c2a4[_0x44dd29(0x17f)](_0x440bd9,_0x2e4e58):helper[_0x44dd29(0x12f)](_0x33c2a4[_0x44dd29(0x171)](_0x49dc61,_0x2e4e58),[_0x33c2a4[_0x44dd29(0x141)]]),_0x42d0c4={};if(_0x50ee48){const _0x3ab65c=_0x5519fc['findIndex'](_0x566d68=>_0x566d68===_0x44dd29(0x169)||_0x566d68==='-c'||_0x566d68[_0x44dd29(0x18d)]('--config='));_0x5519fc[_0x44dd29(0x134)](_0x3ab65c,_0x5519fc[_0x3ab65c][_0x44dd29(0x18d)](_0x33c2a4[_0x44dd29(0x125)])?0x1:0x2);}const _0x4060b1={};return _0x4060b1['path']=_0x3c3918,_0x4060b1[_0x44dd29(0x1a2)]=_0x42d0c4,_0x4060b1;},handleO11yRerun=_0x1ed309=>{const _0x10c21a=a47_0x1e4f6b,_0x41ae72={};_0x41ae72['DtDwp']=_0x10c21a(0x13f);const _0x456ed0=_0x41ae72,_0x374899=helper[_0x10c21a(0xf8)](process[_0x10c21a(0x10d)][_0x10c21a(0xfa)]);if(_0x374899){const _0x546b8f=process[_0x10c21a(0x10d)][_0x10c21a(0x187)],_0x59ff4c=[];if(helper[_0x10c21a(0x161)](_0x546b8f)&&!helper[_0x10c21a(0x129)](_0x546b8f)){_0x546b8f['split'](',')[_0x10c21a(0x10c)](_0x2bdf1f=>{const _0x4e54bd=_0x10c21a;_0x59ff4c[_0x4e54bd(0x197)]('('+_0x2bdf1f['trim']()+')');});const _0x5b0104='^'+_0x59ff4c['join']('|')+'$';_0x1ed309[_0x10c21a(0x197)](_0x456ed0[_0x10c21a(0xfc)],_0x5b0104);}}},spawnOriginalProcess=_0x49c236=>{const _0x4cd9b3=a47_0x1e4f6b,_0x35d9cf={'DWeBa':function(_0x5efc89,_0x48a5d0,_0xd53feb,_0x26311a){return _0x5efc89(_0x48a5d0,_0xd53feb,_0x26311a);},'wzxhB':_0x4cd9b3(0x19a),'KotWu':_0x4cd9b3(0x185),'pBohz':_0x4cd9b3(0x145),'DBCjP':function(_0x167606,_0x5345cd){return _0x167606===_0x5345cd;},'QNnJH':_0x4cd9b3(0x157),'juzEV':'inherit'};_0x35d9cf[_0x4cd9b3(0x180)](spawn,helper[_0x4cd9b3(0x183)]()?_0x35d9cf[_0x4cd9b3(0x190)]:_0x35d9cf[_0x4cd9b3(0x122)],[_0x35d9cf['pBohz'],..._0x49c236[_0x4cd9b3(0x11c)](0x1)],{'shell':_0x35d9cf['DBCjP'](process[_0x4cd9b3(0x147)],_0x35d9cf['QNnJH']),'stdio':_0x35d9cf[_0x4cd9b3(0x13c)],'cwd':process[_0x4cd9b3(0x104)]()});},isTestCommand=(_0x53b644,_0x1c27d2)=>{const _0x1c0ce5=a47_0x1e4f6b,_0x20345e={};_0x20345e[_0x1c0ce5(0x16f)]=function(_0x557539,_0x42a6bc){return _0x557539>_0x42a6bc;},_0x20345e[_0x1c0ce5(0x1a0)]=function(_0x38fd5d,_0x4270df){return _0x38fd5d===_0x4270df;},_0x20345e['Hhwyq']=_0x1c0ce5(0x153);const _0x40923c=_0x20345e;if(_0x40923c[_0x1c0ce5(0x16f)](_0x1c27d2['length'],0x1)&&_0x40923c[_0x1c0ce5(0x1a0)](_0x1c27d2[0x1],_0x40923c[_0x1c0ce5(0x181)]))return!![];return![];};async function run(_0x1a4b32,_0x412214,_0x51cf3b){const _0x39b903=a47_0x1e4f6b,_0x163199={'lUJJA':function(_0x3ac588,_0x52e5ff){return _0x3ac588(_0x52e5ff);},'mniEy':function(_0x444bf2){return _0x444bf2();},'mNCrS':function(_0x2af59c){return _0x2af59c();},'rHmkO':_0x39b903(0x13d),'qEsgW':function(_0x4a9aa2,_0x244126){return _0x4a9aa2+_0x244126;},'KRpBz':_0x39b903(0x177),'RbGzA':_0x39b903(0x16d),'yZNhS':_0x39b903(0x12d),'QeZap':'BrowserStack\x20config\x20file\x20not\x20found.','LmxkE':function(_0x301e8e,_0x41c045){return _0x301e8e<_0x41c045;},'dvaMW':function(_0x34c983,_0x151cf9){return _0x34c983===_0x151cf9;},'lpEbP':_0x39b903(0x12a),'bWTXQ':_0x39b903(0x195),'IGRCt':function(_0x42caaa,_0x32a271){return _0x42caaa>=_0x32a271;},'TWzsj':'automation','nqprg':function(_0x2d1696,_0x1a3707){return _0x2d1696!=_0x1a3707;},'EkrVS':function(_0x33e6df,_0x238aba,_0x35bffa){return _0x33e6df(_0x238aba,_0x35bffa);},'NjAvv':function(_0x43bead,_0x26bba5){return _0x43bead===_0x26bba5;},'lRLvY':'true','WVJyw':'browserstackSetupConfig.json','TcUKN':'playwright-browserstack-sdk.config.cjs','fGKSJ':_0x39b903(0x11f),'JImdT':function(_0x5dd11e,_0x3f367b){return _0x5dd11e-_0x3f367b;},'ugzuH':_0x39b903(0x13b),'IXDrf':function(_0x18385c,_0x2f8910){return _0x18385c>_0x2f8910;},'IjWDK':function(_0x77b26f,_0x48a43c){return _0x77b26f+_0x48a43c;},'KdUcP':'Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','HJxcx':function(_0x32e51b,_0x470f44){return _0x32e51b<_0x470f44;},'sVnFm':_0x39b903(0x145),'mvcIU':function(_0x5a7ddc,_0x148373,_0xeb70d8,_0x45322f){return _0x5a7ddc(_0x148373,_0xeb70d8,_0x45322f);},'qhBNx':_0x39b903(0x19a),'ijcUS':_0x39b903(0x185),'qZwzK':_0x39b903(0x153),'XCkqo':_0x39b903(0x169),'fuTwc':function(_0x2ae2c4,_0x2cd668){return _0x2ae2c4===_0x2cd668;},'zJNQS':_0x39b903(0x157),'uyOpw':function(_0x57af7e,_0x37ece9){return _0x57af7e===_0x37ece9;},'ydDvs':'inherit','ioSMI':_0x39b903(0x1aa),'RHSQp':function(_0x8f241a,_0x53e3a1){return _0x8f241a|_0x53e3a1;},'wKRHs':function(_0x37bce1,_0x7eafc8){return _0x37bce1+_0x7eafc8;},'RBmaq':_0x39b903(0x1a3),'fYnwP':function(_0x5c4c2f,_0x31cb49){return _0x5c4c2f+_0x31cb49;},'vFcHQ':_0x39b903(0x10a),'Xdile':function(_0x1c2182,_0x455f57,_0x37ddbb){return _0x1c2182(_0x455f57,_0x37ddbb);},'rjcKP':function(_0x396c00,_0x3a0ba0){return _0x396c00(_0x3a0ba0);}};try{const _0x558661=path['join'](helper[_0x39b903(0x18b)](),_0x163199[_0x39b903(0x119)]);try{fs[_0x39b903(0xf4)](_0x558661,_0x163199['RHSQp'](fs[_0x39b903(0x152)]['R_OK'],fs['constants'][_0x39b903(0x16e)]));}catch(_0x2423bc){ClientTroubleShootingService[_0x39b903(0x11d)]();}}catch(_0x123f9c){logger[_0x39b903(0x15f)](_0x163199[_0x39b903(0x117)](_0x163199[_0x39b903(0x178)],_0x123f9c));}try{const _0x115d1c=path['join'](helper[_0x39b903(0x18b)](),_0x163199[_0x39b903(0x119)],_0x163199['RbGzA']);fs[_0x39b903(0x17b)](_0x115d1c)&&fs[_0x39b903(0x198)](_0x115d1c);}catch(_0x5c1bc6){logger[_0x39b903(0x15f)](_0x163199['fYnwP'](_0x163199[_0x39b903(0x148)],_0x5c1bc6));}if(!_0x163199[_0x39b903(0xef)](isTestCommand,_0x1a4b32,_0x412214)){_0x163199['rjcKP'](spawnOriginalProcess,_0x412214);return;}await PerformanceTester[_0x39b903(0x132)](PerformanceEvents[_0x39b903(0x116)],async()=>{const _0x1afd0a=_0x39b903,_0x35d6fe={'XiZqh':_0x163199['rHmkO'],'mGBiz':_0x163199['RbGzA'],'Mvadk':function(_0x36953d,_0x4025d0){const _0x2e1745=a47_0x59cc;return _0x163199[_0x2e1745(0x155)](_0x36953d,_0x4025d0);},'OiMGZ':_0x163199[_0x1afd0a(0x10b)]};if(!_0x51cf3b[_0x1afd0a(0x1a2)]){logger['error'](_0x163199[_0x1afd0a(0x15a)]);return;}await _0x51cf3b['initialize'](_0x1a4b32),CLIUtils['setFrameworkDetail'](FRAMEWORKS[_0x1afd0a(0x164)],FRAMEWORKS[_0x1afd0a(0x164)]),BrowserstackCLI[_0x1afd0a(0x124)]()[_0x1afd0a(0x143)](_0x51cf3b[_0x1afd0a(0x1a2)],_0x51cf3b['configPath'],_0x51cf3b[_0x1afd0a(0x142)]),await BrowserstackCLI['getInstance']()[_0x1afd0a(0x100)]();!BrowserstackCLI[_0x1afd0a(0x124)]()[_0x1afd0a(0xee)]()&&await _0x51cf3b[_0x1afd0a(0xed)]();for(var _0xa6ea7a=0x0;_0x163199[_0x1afd0a(0x11e)](_0xa6ea7a,constants[_0x1afd0a(0x109)]['length']);_0xa6ea7a++){var _0x1a8cf1=constants[_0x1afd0a(0x109)][_0xa6ea7a];process['env'][_0x1a8cf1]&&await ClientTroubleShootingService['reportConflictingEnvVarIssue'](_0x1a8cf1);}const _0x3b4e41=BrowserstackCLI[_0x1afd0a(0x124)]()[_0x1afd0a(0x149)]();!helper[_0x1afd0a(0x15e)](_0x3b4e41[_0x1afd0a(0x176)])&&(process['env'][_0x1afd0a(0x1a7)]=!![]);_0x163199['dvaMW'](_0x3b4e41[_0x1afd0a(0x176)],![])&&(process['env']['BROWSERSTACK_AUTOMATION']=_0x163199[_0x1afd0a(0x130)],_0x412214=_0x412214['filter'](_0x471109=>_0x471109!==_0x1afd0a(0x13e)));const _0x4abdec=_0x412214[_0x1afd0a(0xf7)](_0x163199[_0x1afd0a(0x108)]);(_0x163199['IGRCt'](_0x4abdec,0x0)||_0x163199[_0x1afd0a(0x110)](_0x3b4e41[_0x1afd0a(0x123)],![]))&&(process[_0x1afd0a(0x10d)]['BROWSERSTACK_TEST_OBSERVABILITY']=_0x163199[_0x1afd0a(0x130)],_0x412214=_0x412214[_0x1afd0a(0x17a)](_0x16665e=>_0x16665e!==_0x1afd0a(0x195)));!helper['isUndefined'](_0x51cf3b[_0x1afd0a(0x142)])&&_0x51cf3b[_0x1afd0a(0x142)][_0x1afd0a(0x168)](_0x163199[_0x1afd0a(0x114)])&&(process[_0x1afd0a(0x10d)][_0x1afd0a(0x1a7)]=_0x51cf3b['cliConfig'][_0x1afd0a(0x18e)](_0x163199['TWzsj'])||!![]);_0x163199[_0x1afd0a(0x1a9)](_0x51cf3b[_0x1afd0a(0x1a2)][_0x1afd0a(0x123)],null)&&!helper[_0x1afd0a(0xf8)](process[_0x1afd0a(0x10d)][_0x1afd0a(0x14d)])&&(process['env'][_0x1afd0a(0x14d)]=process[_0x1afd0a(0x10d)][_0x1afd0a(0x14d)]||_0x51cf3b[_0x1afd0a(0x1a2)]['testObservability']);const _0x4622e3=!helper[_0x1afd0a(0x15e)](process[_0x1afd0a(0x10d)][_0x1afd0a(0x14d)]);_0x51cf3b['config'][_0x1afd0a(0x151)]&&(process['env'][_0x1afd0a(0x112)]=JSON[_0x1afd0a(0x167)](_0x51cf3b[_0x1afd0a(0x1a2)]['accessibilityOptions']));let _0x4c565b=![];_0x51cf3b[_0x1afd0a(0x1a2)][_0x1afd0a(0x16a)]&&(_0x4c565b=!![],process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x51cf3b[_0x1afd0a(0x1a2)][_0x1afd0a(0x16a)]);const _0x53be28=_0x412214['concat'](),_0x102b06=await _0x163199[_0x1afd0a(0x105)](getUserPlaywrightConfig,_0x1a4b32,_0x412214);if(helper['isUndefined'](_0x102b06)){_0x163199['lUJJA'](spawnOriginalProcess,_0x53be28);return;}const _0x133e93=_0x102b06['path']?path['dirname'](_0x102b06[_0x1afd0a(0x19f)]):process['cwd']();process[_0x1afd0a(0x10d)]['BROWSERSTACK_PW_CONFIG_DIR']=_0x133e93,await PerformanceTester[_0x1afd0a(0x132)](PerformanceEvents[_0x1afd0a(0x170)],async()=>{const _0x8f7f6b=_0x1afd0a;!BrowserstackCLI['getInstance']()[_0x8f7f6b(0xee)]()&&await TestHubHandler['launchBuild'](FRAMEWORKS[_0x8f7f6b(0x164)],_0x51cf3b),_0x4622e3&&_0x163199[_0x8f7f6b(0x14c)](handleO11yRerun,_0x412214);})();if(!BrowserstackCLI['getInstance']()[_0x1afd0a(0xee)]()){let _0x1aced1=_0x163199[_0x1afd0a(0x126)](process[_0x1afd0a(0x10d)][_0x1afd0a(0xf2)],_0x163199[_0x1afd0a(0x16c)]);_0x1aced1=_0x1aced1||_0x163199['lUJJA'](checkAccessibilityPlatformConfig,_0x51cf3b[_0x1afd0a(0x1a2)]),process[_0x1afd0a(0x10d)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x1aced1,_0x1aced1&&_0x163199[_0x1afd0a(0x14c)](setAccessibilityCapabilities,_0x51cf3b['config']);}const _0x15f470=path[_0x1afd0a(0x15b)](_0x102b06['path']?path['dirname'](_0x102b06['path']):process[_0x1afd0a(0x104)](),_0x163199[_0x1afd0a(0x11a)]);fs[_0x1afd0a(0x18a)](_0x15f470,helper[_0x1afd0a(0x103)](_0x51cf3b[_0x1afd0a(0x1a2)])),process[_0x1afd0a(0x10d)][_0x1afd0a(0x19e)]=_0x15f470,helper['clearTempPWConfig']();let _0x3d5e90='';_0x163199[_0x1afd0a(0x110)](helper[_0x1afd0a(0x194)](),constants[_0x1afd0a(0x10e)]['MODULE'])?_0x3d5e90=_0x163199['TcUKN']:_0x3d5e90=_0x163199['fGKSJ'];let _0xd73a40='';if(helper['isTypescriptProject'](_0x102b06[_0x1afd0a(0x19f)])){_0xd73a40='\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a';const _0x4b2367=_0x3d5e90[_0x1afd0a(0x107)]('.');_0x4b2367[_0x163199['JImdT'](_0x4b2367['length'],0x1)]='ts',_0x3d5e90=_0x4b2367['join']('.'),logger['debug'](_0x163199[_0x1afd0a(0x155)](_0x163199[_0x1afd0a(0x172)],_0x3d5e90));}else _0xd73a40='\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a';const _0x18b499=path[_0x1afd0a(0x15b)](_0x102b06[_0x1afd0a(0x19f)]?path['dirname'](_0x102b06[_0x1afd0a(0x19f)]):process[_0x1afd0a(0x104)](),_0x3d5e90);let _0x435483=_0x102b06[_0x1afd0a(0x19f)]?_0x102b06[_0x1afd0a(0x19f)]:'';_0x435483=_0x163199[_0x1afd0a(0x15c)](_0x435483['length'],0x0)?path[_0x1afd0a(0x137)](_0x435483):'',process[_0x1afd0a(0x10d)][_0x1afd0a(0x1a4)]=_0x435483;const _0x5d90bd=helper[_0x1afd0a(0x165)](_0x51cf3b['config']),_0x4a0bff=helper[_0x1afd0a(0x128)](_0x51cf3b[_0x1afd0a(0x1a2)]);logger['debug'](_0x1afd0a(0x1ac)+_0x5d90bd),logger[_0x1afd0a(0x15f)](_0x1afd0a(0x173)+_0x4a0bff);_0x5d90bd&&(_0xd73a40=_0x163199[_0x1afd0a(0xf6)](_0x1afd0a(0x16b)+_0x5d90bd+_0x1afd0a(0xf9)+_0x4a0bff+'\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}catch{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20This\x20is\x20a\x20failsafe\x20if\x20global-agent\x20present\x20inside\x20sdk\x20node_modules\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22./node_modules/browserstack-node-sdk/node_modules/global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap();',_0xd73a40));helper['filterBrowserstackArgs']({},_0x412214),fs[_0x1afd0a(0x18a)](_0x18b499,_0xd73a40);let _0x1313a7=[];const _0x35dd0e=new TestOrchestrationHandler(_0x51cf3b[_0x1afd0a(0x1a2)]);if(_0x35dd0e[_0x1afd0a(0x138)]()){logger[_0x1afd0a(0x15f)](_0x163199[_0x1afd0a(0x14e)]);const _0x51c497=await _0x35dd0e[_0x1afd0a(0x139)](_0x435483,_0x412214[_0x1afd0a(0x11c)](0x2));logger[_0x1afd0a(0x15f)](_0x1afd0a(0x12e)+JSON[_0x1afd0a(0x167)](_0x51c497)+_0x1afd0a(0x158));const _0x283aa1=await _0x35dd0e[_0x1afd0a(0x17c)](_0x51c497);logger[_0x1afd0a(0x15f)](_0x1afd0a(0x150)+JSON[_0x1afd0a(0x167)](_0x283aa1)),_0x283aa1&&_0x163199['IXDrf'](_0x283aa1[_0x1afd0a(0x166)],0x0)&&(process[_0x1afd0a(0x10d)]['BROWSERSTACK_PW_TEST_ORDER']=_0x283aa1[_0x1afd0a(0x15b)](','),_0x163199[_0x1afd0a(0xf3)](_0x283aa1[_0x1afd0a(0x166)],_0x51c497['length'])&&(_0x1313a7=_0x283aa1[_0x1afd0a(0x10c)](_0x4d4e80=>path['relative'](process[_0x1afd0a(0x104)](),_0x4d4e80)[_0x1afd0a(0x107)](path[_0x1afd0a(0x12b)])[_0x1afd0a(0x15b)]('/'))));}PerformanceTester[_0x1afd0a(0x175)](PerformanceEvents['SDK_SETUP']),process['env'][_0x1afd0a(0x121)]=process[_0x1afd0a(0x10d)][_0x1afd0a(0x121)]||_0x163199[_0x1afd0a(0x179)];const _0x2a9936=_0x163199[_0x1afd0a(0xea)](spawn,helper[_0x1afd0a(0x183)]()?_0x163199['qhBNx']:_0x163199[_0x1afd0a(0x182)],[_0x163199[_0x1afd0a(0x179)],_0x163199['qZwzK'],_0x163199['XCkqo'],_0x163199[_0x1afd0a(0x189)](process[_0x1afd0a(0x147)],_0x163199[_0x1afd0a(0x193)])?'\x22'+_0x18b499+'\x22':_0x18b499,..._0x412214['slice'](0x2),..._0x1313a7],{'shell':_0x163199[_0x1afd0a(0x184)](process['platform'],_0x163199[_0x1afd0a(0x193)]),'stdio':_0x163199[_0x1afd0a(0x191)],'cwd':process[_0x1afd0a(0x104)](),'env':Object[_0x1afd0a(0x19b)]({},process[_0x1afd0a(0x10d)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x1afd0a(0x14a)](_0x1a4b32),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x51cf3b[_0x1afd0a(0x1a2)][_0x1afd0a(0xff)]['skipSessionStatus'],'BROWSERSTACK_SKIP_SESSION_NAME':_0x51cf3b[_0x1afd0a(0x1a2)]['testContextOptions'][_0x1afd0a(0x146)],'BROWSERSTACK_LOG_LEVEL':_0x51cf3b[_0x1afd0a(0x1a2)][_0x1afd0a(0x10f)]})}),_0x493259=()=>{const _0x36e2f9=_0x1afd0a;try{const _0x12db50=path[_0x36e2f9(0x15b)](helper[_0x36e2f9(0x18b)](),_0x35d6fe[_0x36e2f9(0x14b)],_0x35d6fe[_0x36e2f9(0x160)]);if(fs[_0x36e2f9(0x17b)](_0x12db50)){let _0x377409=fs[_0x36e2f9(0xf0)](_0x12db50);_0x377409=JSON[_0x36e2f9(0x1a8)](_0x377409),_0x51cf3b[_0x36e2f9(0x12c)]=_0x377409,fs[_0x36e2f9(0x198)](_0x12db50);}}catch(_0x2770a7){logger[_0x36e2f9(0x15f)](_0x35d6fe[_0x36e2f9(0x1a5)](_0x35d6fe[_0x36e2f9(0x15d)],_0x2770a7));}};_0x2a9936['on'](_0x163199[_0x1afd0a(0x192)],async _0x159177=>{const _0x2ba2ef=_0x1afd0a;try{PerformanceTester[_0x2ba2ef(0xec)](PerformanceEvents[_0x2ba2ef(0x111)]),_0x163199[_0x2ba2ef(0x115)](_0x493259),await TestHubHandler[_0x2ba2ef(0x159)](),await ClientTroubleShootingService[_0x2ba2ef(0xeb)]();const _0x25b52d=BrowserstackCLI[_0x2ba2ef(0x140)]();await BrowserstackCLI[_0x2ba2ef(0x124)]()[_0x2ba2ef(0x159)](),TestDetails[_0x2ba2ef(0x163)](),_0x163199[_0x2ba2ef(0x174)](printBuildLink),await utilities[_0x2ba2ef(0x18f)](_0x51cf3b,_0x25b52d),process['exitCode']=_0x159177,logger[_0x2ba2ef(0x15f)](_0x2ba2ef(0x144)+_0x159177),logger[_0x2ba2ef(0x1ab)](_0x2ba2ef(0x135)+_0x18b499),fs[_0x2ba2ef(0x198)](_0x18b499);fs[_0x2ba2ef(0x17b)](_0x15f470)&&(logger[_0x2ba2ef(0x15f)](_0x2ba2ef(0x135)+_0x15f470),fs[_0x2ba2ef(0x198)](_0x15f470));const _0x1f9936=fs['readdirSync'](path[_0x2ba2ef(0x15b)](helper[_0x2ba2ef(0x18b)](),_0x163199[_0x2ba2ef(0x119)]))[_0x2ba2ef(0x17a)](_0x1a8f8e=>_0x1a8f8e[_0x2ba2ef(0x18d)](_0x2ba2ef(0x154)));_0x1f9936['forEach'](_0x392264=>{const _0x4a03db=_0x2ba2ef;fs[_0x4a03db(0x198)](path[_0x4a03db(0x15b)](helper['homedir'](),_0x35d6fe[_0x4a03db(0x14b)],_0x392264));});}catch(_0x5bd189){logger[_0x2ba2ef(0x15f)](_0x163199[_0x2ba2ef(0x155)](_0x163199[_0x2ba2ef(0x162)],_0x5bd189));}});})();}module[a47_0x1e4f6b(0x113)]=run;
2
+ 'use strict';const a47_0x25fc83=a47_0x2bb4;(function(_0x1a2727,_0x26d3bd){const _0x48b943=a47_0x2bb4,_0x508c9e=_0x1a2727();while(!![]){try{const _0x201e8c=parseInt(_0x48b943(0x1d8))/0x1+parseInt(_0x48b943(0x1c9))/0x2+parseInt(_0x48b943(0x18e))/0x3*(-parseInt(_0x48b943(0x1d5))/0x4)+parseInt(_0x48b943(0x1e7))/0x5*(parseInt(_0x48b943(0x236))/0x6)+-parseInt(_0x48b943(0x1ad))/0x7+-parseInt(_0x48b943(0x20a))/0x8*(parseInt(_0x48b943(0x24f))/0x9)+parseInt(_0x48b943(0x19e))/0xa*(-parseInt(_0x48b943(0x1f8))/0xb);if(_0x201e8c===_0x26d3bd)break;else _0x508c9e['push'](_0x508c9e['shift']());}catch(_0x3debbd){_0x508c9e['push'](_0x508c9e['shift']());}}}(a47_0x4d99,0x3266e));const fs=require('fs'),path=require(a47_0x25fc83(0x1ea)),{spawn}=require(a47_0x25fc83(0x201)),{format}=require(a47_0x25fc83(0x1b8)),logger=require(a47_0x25fc83(0x1c0))[a47_0x25fc83(0x233)],{default:BrowserStackSetup}=require(a47_0x25fc83(0x249)),helper=require(a47_0x25fc83(0x22e)),utilities=require(a47_0x25fc83(0x243)),constants=require('../utils/constants'),{FRAMEWORKS}=require(a47_0x25fc83(0x1c7)),{getConfigLoaderPath}=require(a47_0x25fc83(0x23e)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities}=require(a47_0x25fc83(0x1e8)),{printBuildLink}=require(a47_0x25fc83(0x22a)),TestDetails=require(a47_0x25fc83(0x208)),TestHubHandler=require(a47_0x25fc83(0x1e1)),PerformanceTester=require(a47_0x25fc83(0x1ac)),TestOrchestrationHandler=require(a47_0x25fc83(0x217)),BrowserstackCLI=require('../v2/browserstackCLI'),PerformanceEvents=require('../../helpers/performance/constants')[a47_0x25fc83(0x216)],CLIUtils=require('../v2/cliUtils'),TestInfo=require(a47_0x25fc83(0x22f)),ClientTroubleShootingService=require('../utils/clientTroubleshootingService'),getUserPlaywrightConfig=async(_0x2e6523,_0x3c69f6)=>{const _0x847e22=a47_0x25fc83,_0x479258={'nWFag':function(_0x1f2986){return _0x1f2986();},'QkMJn':function(_0xa8723d){return _0xa8723d();},'bFFNR':function(_0x5d433f,_0x14df61){return _0x5d433f(_0x14df61);},'NLMnh':function(_0x2304b0,_0x4b5c57){return _0x2304b0(_0x4b5c57);},'QkKaC':'resolvedConfigFile','rsxqb':_0x847e22(0x22b)},_0x459652=!helper[_0x847e22(0x1f2)](_0x2e6523[_0x847e22(0x1a6)]),_0x5c894b=_0x459652?path[_0x847e22(0x1fe)](process[_0x847e22(0x20b)](),_0x2e6523[_0x847e22(0x1a6)]):process[_0x847e22(0x20b)](),{resolveConfigFile:_0x47f873,resolveConfigLocation:_0x29dc75}=helper['isYarnPnP']()?helper['requireConfigLoaderYarnPnP'](..._0x479258[_0x847e22(0x1b5)](getConfigLoaderPath)):helper[_0x847e22(0x199)]['apply'](null,_0x479258[_0x847e22(0x1b2)](getConfigLoaderPath)),_0x159f7b=_0x47f873?_0x479258[_0x847e22(0x1f9)](_0x47f873,_0x5c894b):helper[_0x847e22(0x239)](_0x479258['NLMnh'](_0x29dc75,_0x5c894b),[_0x479258[_0x847e22(0x1d9)]]),_0x47f1cb={};if(_0x459652){const _0xa78be4=_0x3c69f6[_0x847e22(0x22d)](_0x5ee3df=>_0x5ee3df===_0x847e22(0x234)||_0x5ee3df==='-c'||_0x5ee3df[_0x847e22(0x238)]('--config='));_0x3c69f6[_0x847e22(0x1eb)](_0xa78be4,_0x3c69f6[_0xa78be4][_0x847e22(0x238)](_0x479258['rsxqb'])?0x1:0x2);}const _0x540904={};return _0x540904[_0x847e22(0x1ea)]=_0x159f7b,_0x540904['config']=_0x47f1cb,_0x540904;},handleO11yRerun=_0x67eb9d=>{const _0x4d9fbc=a47_0x25fc83,_0x2c31d1={};_0x2c31d1[_0x4d9fbc(0x1e4)]=_0x4d9fbc(0x21a);const _0x4513a3=_0x2c31d1,_0x172b94=helper[_0x4d9fbc(0x1f0)](process[_0x4d9fbc(0x1e9)][_0x4d9fbc(0x1fc)]);if(_0x172b94){const _0x2a0d40=process['env'][_0x4d9fbc(0x248)],_0xb0b275=[];if(helper[_0x4d9fbc(0x1a4)](_0x2a0d40)&&!helper[_0x4d9fbc(0x1f2)](_0x2a0d40)){_0x2a0d40[_0x4d9fbc(0x1ec)](',')[_0x4d9fbc(0x22c)](_0x1b19d4=>{const _0x1499b2=_0x4d9fbc;_0xb0b275['push']('('+_0x1b19d4[_0x1499b2(0x1a1)]()+')');});const _0x4b462d='^'+_0xb0b275[_0x4d9fbc(0x24b)]('|')+'$';_0x67eb9d[_0x4d9fbc(0x19d)](_0x4513a3[_0x4d9fbc(0x1e4)],_0x4b462d);}}},spawnOriginalProcess=_0x8ded76=>{const _0x3ffa17=a47_0x25fc83,_0x2dc031={'PzrBQ':function(_0x9ca5e,_0x29654d,_0xff691e,_0x440489){return _0x9ca5e(_0x29654d,_0xff691e,_0x440489);},'JjlpN':_0x3ffa17(0x200),'rAQMu':_0x3ffa17(0x218),'HbVJt':_0x3ffa17(0x18f),'obgVJ':function(_0x4af796,_0xbbed07){return _0x4af796===_0xbbed07;},'HlsUf':_0x3ffa17(0x1b3),'BtFPe':_0x3ffa17(0x1aa)};_0x2dc031[_0x3ffa17(0x191)](spawn,helper[_0x3ffa17(0x247)]()?_0x2dc031['JjlpN']:_0x2dc031[_0x3ffa17(0x222)],[_0x2dc031[_0x3ffa17(0x1e6)],..._0x8ded76[_0x3ffa17(0x240)](0x1)],{'shell':_0x2dc031['obgVJ'](process[_0x3ffa17(0x1f3)],_0x2dc031[_0x3ffa17(0x186)]),'stdio':_0x2dc031[_0x3ffa17(0x185)],'cwd':process[_0x3ffa17(0x20b)]()});},isTestCommand=(_0x5945db,_0x5d4249)=>{const _0x2e95a7=a47_0x25fc83,_0x33071f={};_0x33071f[_0x2e95a7(0x1d6)]=function(_0x5de111,_0x1c1575){return _0x5de111>_0x1c1575;},_0x33071f[_0x2e95a7(0x1ef)]=function(_0x347aae,_0x4fb123){return _0x347aae===_0x4fb123;},_0x33071f[_0x2e95a7(0x1ba)]=_0x2e95a7(0x242);const _0x14d069=_0x33071f;if(_0x14d069[_0x2e95a7(0x1d6)](_0x5d4249[_0x2e95a7(0x1cb)],0x1)&&_0x14d069[_0x2e95a7(0x1ef)](_0x5d4249[0x1],_0x14d069[_0x2e95a7(0x1ba)]))return!![];return![];};async function run(_0x1e814a,_0x596c90,_0x2576a1){const _0x411c90=a47_0x25fc83,_0x4fc170={'JBpIw':_0x411c90(0x1d7),'sTsye':function(_0x51403b){return _0x51403b();},'vEXJZ':function(_0x424b41){return _0x424b41();},'oePWU':function(_0xc27ec5,_0x5d55e1){return _0xc27ec5+_0x5d55e1;},'hhfrB':_0x411c90(0x215),'FUjRD':function(_0xdda228,_0x5bbc2f){return _0xdda228(_0x5bbc2f);},'iLfJE':_0x411c90(0x227),'NtODO':function(_0x4ab29c,_0x3f904c){return _0x4ab29c+_0x3f904c;},'kJjPe':_0x411c90(0x24c),'AlrdS':_0x411c90(0x1ae),'Poqtt':function(_0x512966,_0x460f5f){return _0x512966<_0x460f5f;},'rEvsc':function(_0x48711a,_0x4c5246){return _0x48711a===_0x4c5246;},'ltNte':'false','oZrKR':_0x411c90(0x21f),'OvZQz':function(_0x82aaf1,_0x389576){return _0x82aaf1>=_0x389576;},'RwUgX':function(_0x178e44,_0x22fb68){return _0x178e44===_0x22fb68;},'GiNTp':'automation','wGnDa':function(_0xe94fd4,_0x5f4c04){return _0xe94fd4!=_0x5f4c04;},'HtseB':function(_0x585c70,_0x3b0094,_0x2285a8){return _0x585c70(_0x3b0094,_0x2285a8);},'YBugf':function(_0xc4575a,_0x161755){return _0xc4575a===_0x161755;},'QqZKW':_0x411c90(0x219),'jmXSF':_0x411c90(0x23c),'TBsYI':function(_0x5bc885,_0x598c79){return _0x5bc885===_0x598c79;},'xTrRC':_0x411c90(0x1e5),'xqLQR':_0x411c90(0x21c),'LSWYV':function(_0xb94752,_0x358468){return _0xb94752-_0x358468;},'KjeFm':'Updated\x20config\x20file\x20name\x20to\x20-\x20','qCmlr':function(_0x3ec49e,_0x23b87a){return _0x3ec49e>_0x23b87a;},'qSVvw':function(_0x1a8e52,_0x17eaa1){return _0x1a8e52+_0x17eaa1;},'jfboX':_0x411c90(0x1ca),'ByAge':function(_0x446fa6,_0x214f2){return _0x446fa6<_0x214f2;},'mjmvH':'playwright','NlLxO':function(_0x32c715,_0x2b4922,_0xa7699a,_0x528125){return _0x32c715(_0x2b4922,_0xa7699a,_0x528125);},'BgFUa':_0x411c90(0x200),'uDLmI':'npx','ayuRv':_0x411c90(0x242),'eYqdN':_0x411c90(0x234),'TMLYX':_0x411c90(0x1b3),'BvgYA':_0x411c90(0x1aa),'otqiB':_0x411c90(0x21b),'vVccb':function(_0x10ba60,_0x4eb6eb){return _0x10ba60|_0x4eb6eb;},'qrFjc':function(_0x11e756,_0x1fe3da){return _0x11e756+_0x1fe3da;},'DfZWK':'Error\x20in\x20accessing\x20.browserstack\x20directory:\x20','Jjrbx':function(_0x478bd7,_0x7570cc){return _0x478bd7+_0x7570cc;},'UOWis':_0x411c90(0x1d1),'wQPez':function(_0x52c34c,_0x45603f){return _0x52c34c(_0x45603f);}};try{const _0x58b7b3=path['join'](helper[_0x411c90(0x206)](),_0x4fc170[_0x411c90(0x228)]);try{fs[_0x411c90(0x1ff)](_0x58b7b3,_0x4fc170[_0x411c90(0x193)](fs[_0x411c90(0x212)][_0x411c90(0x1c2)],fs['constants'][_0x411c90(0x221)]));}catch(_0x1391ba){ClientTroubleShootingService['reportDotBrowserStackFolderNotAccessibleIssue']();}}catch(_0x23fa42){logger[_0x411c90(0x197)](_0x4fc170[_0x411c90(0x19a)](_0x4fc170[_0x411c90(0x1bb)],_0x23fa42));}try{const _0x43722f=path[_0x411c90(0x24b)](helper[_0x411c90(0x206)](),_0x4fc170[_0x411c90(0x228)],_0x4fc170[_0x411c90(0x213)]);fs[_0x411c90(0x18a)](_0x43722f)&&fs['unlinkSync'](_0x43722f);}catch(_0x321573){logger['debug'](_0x4fc170[_0x411c90(0x1ab)](_0x4fc170[_0x411c90(0x1de)],_0x321573));}if(!_0x4fc170[_0x411c90(0x220)](isTestCommand,_0x1e814a,_0x596c90)){_0x4fc170[_0x411c90(0x203)](spawnOriginalProcess,_0x596c90);return;}await PerformanceTester[_0x411c90(0x19f)](PerformanceEvents[_0x411c90(0x205)],async()=>{const _0x2466d3=_0x411c90,_0x535a88={'jUYht':function(_0x8e978e,_0x58c039){return _0x4fc170['FUjRD'](_0x8e978e,_0x58c039);},'AWgtl':_0x4fc170[_0x2466d3(0x228)],'KIQmR':_0x4fc170[_0x2466d3(0x213)],'mxdyl':function(_0x35d66c,_0x512d2b){const _0x530efa=_0x2466d3;return _0x4fc170[_0x530efa(0x24e)](_0x35d66c,_0x512d2b);},'waDwH':_0x4fc170[_0x2466d3(0x1af)]};if(!_0x2576a1['config']){logger['error'](_0x4fc170[_0x2466d3(0x18b)]);return;}await _0x2576a1[_0x2466d3(0x20f)](_0x1e814a),CLIUtils['setFrameworkDetail'](FRAMEWORKS[_0x2466d3(0x1b1)],FRAMEWORKS[_0x2466d3(0x1b1)]),BrowserstackCLI['getInstance']()['setBrowserstackConfig'](_0x2576a1['config'],_0x2576a1['configPath'],_0x2576a1[_0x2466d3(0x188)]),await BrowserstackCLI[_0x2466d3(0x251)]()[_0x2466d3(0x209)]();!BrowserstackCLI[_0x2466d3(0x251)]()[_0x2466d3(0x244)]()&&await _0x2576a1[_0x2466d3(0x1dc)]();for(var _0x1f38c2=0x0;_0x4fc170['Poqtt'](_0x1f38c2,constants[_0x2466d3(0x1b0)][_0x2466d3(0x1cb)]);_0x1f38c2++){var _0xcb30ea=constants[_0x2466d3(0x1b0)][_0x1f38c2];process['env'][_0xcb30ea]&&await ClientTroubleShootingService[_0x2466d3(0x1fb)](_0xcb30ea);}const _0x3a09b7=BrowserstackCLI[_0x2466d3(0x251)]()['getConfig']();!helper[_0x2466d3(0x23d)](_0x3a09b7[_0x2466d3(0x1a7)])&&(process[_0x2466d3(0x1e9)][_0x2466d3(0x20d)]=!![]);_0x4fc170[_0x2466d3(0x23a)](_0x3a09b7[_0x2466d3(0x1a7)],![])&&(process[_0x2466d3(0x1e9)][_0x2466d3(0x20d)]=_0x4fc170[_0x2466d3(0x202)],_0x596c90=_0x596c90[_0x2466d3(0x1f5)](_0x18ae71=>_0x18ae71!==_0x2466d3(0x24a)));const _0x5bb014=_0x596c90['indexOf'](_0x4fc170[_0x2466d3(0x1dd)]);(_0x4fc170[_0x2466d3(0x195)](_0x5bb014,0x0)||_0x4fc170[_0x2466d3(0x1d2)](_0x3a09b7[_0x2466d3(0x252)],![]))&&(process[_0x2466d3(0x1e9)][_0x2466d3(0x1bf)]=_0x4fc170[_0x2466d3(0x202)],_0x596c90=_0x596c90[_0x2466d3(0x1f5)](_0x46a549=>_0x46a549!=='--disable-test-observability'));!helper['isUndefined'](_0x2576a1['cliConfig'])&&_0x2576a1[_0x2466d3(0x188)]['has'](_0x4fc170['GiNTp'])&&(process['env'][_0x2466d3(0x20d)]=_0x2576a1[_0x2466d3(0x188)][_0x2466d3(0x1f1)](_0x4fc170[_0x2466d3(0x20e)])||!![]);_0x4fc170[_0x2466d3(0x237)](_0x2576a1[_0x2466d3(0x1a6)][_0x2466d3(0x252)],null)&&!helper['isTrue'](process[_0x2466d3(0x1e9)][_0x2466d3(0x1bf)])&&(process['env'][_0x2466d3(0x1bf)]=process[_0x2466d3(0x1e9)][_0x2466d3(0x1bf)]||_0x2576a1['config'][_0x2466d3(0x252)]);const _0x41f05c=!helper[_0x2466d3(0x23d)](process[_0x2466d3(0x1e9)][_0x2466d3(0x1bf)]);_0x2576a1[_0x2466d3(0x1a6)][_0x2466d3(0x1b9)]&&(process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x2466d3(0x1a9)](_0x2576a1['config'][_0x2466d3(0x1b9)]));let _0x5d668d=![];_0x2576a1[_0x2466d3(0x1a6)]['accessibility']&&(_0x5d668d=!![],process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x2576a1['config'][_0x2466d3(0x1a0)]);const _0x5a73d6=_0x596c90[_0x2466d3(0x1c4)](),_0x327224=await _0x4fc170[_0x2466d3(0x220)](getUserPlaywrightConfig,_0x1e814a,_0x596c90);if(helper[_0x2466d3(0x1f2)](_0x327224)){_0x4fc170[_0x2466d3(0x232)](spawnOriginalProcess,_0x5a73d6);return;}const _0x123619=_0x327224[_0x2466d3(0x1ea)]?path[_0x2466d3(0x18d)](_0x327224[_0x2466d3(0x1ea)]):process[_0x2466d3(0x20b)]();process[_0x2466d3(0x1e9)][_0x2466d3(0x214)]=_0x123619,await PerformanceTester[_0x2466d3(0x19f)](PerformanceEvents[_0x2466d3(0x1a8)],async()=>{const _0x237bc2=_0x2466d3;!BrowserstackCLI['getInstance']()['isRunning']()&&await TestHubHandler[_0x237bc2(0x23b)](FRAMEWORKS['PLAYWRIGHT'],_0x2576a1),_0x41f05c&&_0x535a88['jUYht'](handleO11yRerun,_0x596c90);})();if(!BrowserstackCLI[_0x2466d3(0x251)]()[_0x2466d3(0x244)]()){let _0x4a569f=_0x4fc170[_0x2466d3(0x1df)](process[_0x2466d3(0x1e9)][_0x2466d3(0x1ee)],_0x4fc170[_0x2466d3(0x198)]);_0x4a569f=_0x4a569f||_0x4fc170['FUjRD'](checkAccessibilityPlatformConfig,_0x2576a1[_0x2466d3(0x1a6)]),process[_0x2466d3(0x1e9)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x4a569f,_0x4a569f&&_0x4fc170[_0x2466d3(0x232)](setAccessibilityCapabilities,_0x2576a1[_0x2466d3(0x1a6)]);}const _0x241eec=path[_0x2466d3(0x24b)](_0x327224[_0x2466d3(0x1ea)]?path[_0x2466d3(0x18d)](_0x327224[_0x2466d3(0x1ea)]):process[_0x2466d3(0x20b)](),_0x4fc170['jmXSF']);fs[_0x2466d3(0x1a5)](_0x241eec,helper[_0x2466d3(0x245)](_0x2576a1['config'])),process[_0x2466d3(0x1e9)][_0x2466d3(0x187)]=_0x241eec,helper[_0x2466d3(0x226)]();let _0x3e907c='';_0x4fc170[_0x2466d3(0x1cc)](helper[_0x2466d3(0x211)](),constants['PACKAGE_TYPE'][_0x2466d3(0x204)])?_0x3e907c=_0x4fc170[_0x2466d3(0x1bd)]:_0x3e907c=_0x4fc170[_0x2466d3(0x1e0)];let _0x5a4e7e='';if(helper[_0x2466d3(0x1c8)](_0x327224[_0x2466d3(0x1ea)])){_0x5a4e7e=_0x2466d3(0x1c5);const _0x1e3c38=_0x3e907c['split']('.');_0x1e3c38[_0x4fc170[_0x2466d3(0x1c1)](_0x1e3c38['length'],0x1)]='ts',_0x3e907c=_0x1e3c38[_0x2466d3(0x24b)]('.'),logger[_0x2466d3(0x197)](_0x4fc170[_0x2466d3(0x1f4)](_0x4fc170[_0x2466d3(0x1e3)],_0x3e907c));}else _0x5a4e7e=_0x2466d3(0x1a3);const _0xdb1eb5=path[_0x2466d3(0x24b)](_0x327224[_0x2466d3(0x1ea)]?path['dirname'](_0x327224[_0x2466d3(0x1ea)]):process['cwd'](),_0x3e907c);let _0x5ba0f3=_0x327224[_0x2466d3(0x1ea)]?_0x327224[_0x2466d3(0x1ea)]:'';_0x5ba0f3=_0x4fc170[_0x2466d3(0x192)](_0x5ba0f3[_0x2466d3(0x1cb)],0x0)?path[_0x2466d3(0x1fe)](_0x5ba0f3):'',process[_0x2466d3(0x1e9)][_0x2466d3(0x231)]=_0x5ba0f3;const _0x5e2208=helper[_0x2466d3(0x210)](_0x2576a1[_0x2466d3(0x1a6)]),_0x233721=helper['getNoProxy'](_0x2576a1[_0x2466d3(0x1a6)]);logger['debug']('Proxy\x20url\x20:\x20'+_0x5e2208),logger['debug']('No\x20Proxy\x20:\x20'+_0x233721);_0x5e2208&&(_0x5a4e7e=_0x4fc170[_0x2466d3(0x1d3)](_0x2466d3(0x1be)+_0x5e2208+_0x2466d3(0x20c)+_0x233721+'\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();',_0x5a4e7e));helper[_0x2466d3(0x223)]({},_0x596c90),fs['writeFileSync'](_0xdb1eb5,_0x5a4e7e);let _0x4af732=[];const _0x21558c=new TestOrchestrationHandler(_0x2576a1['config']);if(_0x21558c[_0x2466d3(0x190)]()){logger[_0x2466d3(0x197)](_0x4fc170[_0x2466d3(0x1c6)]);const _0x5b94b5=await _0x21558c[_0x2466d3(0x224)](_0x5ba0f3,_0x596c90['slice'](0x2));logger['debug'](_0x2466d3(0x1b6)+JSON[_0x2466d3(0x1a9)](_0x5b94b5)+'\x20test\x20files\x20to\x20run.');const _0x350f28=await _0x21558c[_0x2466d3(0x1da)](_0x5b94b5);logger[_0x2466d3(0x197)](_0x2466d3(0x18c)+JSON[_0x2466d3(0x1a9)](_0x350f28)),_0x350f28&&_0x4fc170[_0x2466d3(0x192)](_0x350f28[_0x2466d3(0x1cb)],0x0)&&(process[_0x2466d3(0x1e9)][_0x2466d3(0x1a2)]=_0x350f28[_0x2466d3(0x24b)](','),_0x4fc170[_0x2466d3(0x189)](_0x350f28['length'],_0x5b94b5[_0x2466d3(0x1cb)])&&(_0x4af732=_0x350f28['map'](_0x372f05=>path[_0x2466d3(0x194)](process['cwd'](),_0x372f05)['split'](path['sep'])[_0x2466d3(0x24b)]('/'))));}PerformanceTester[_0x2466d3(0x1f6)](PerformanceEvents[_0x2466d3(0x19b)]),process[_0x2466d3(0x1e9)][_0x2466d3(0x230)]=process[_0x2466d3(0x1e9)][_0x2466d3(0x230)]||_0x4fc170[_0x2466d3(0x225)];const _0x125563=_0x4fc170[_0x2466d3(0x1fa)](spawn,helper[_0x2466d3(0x247)]()?_0x4fc170['BgFUa']:_0x4fc170['uDLmI'],[_0x4fc170[_0x2466d3(0x225)],_0x4fc170['ayuRv'],_0x4fc170[_0x2466d3(0x1bc)],_0x4fc170['TBsYI'](process['platform'],_0x4fc170[_0x2466d3(0x250)])?'\x22'+_0xdb1eb5+'\x22':_0xdb1eb5,..._0x596c90[_0x2466d3(0x240)](0x2),..._0x4af732],{'shell':_0x4fc170[_0x2466d3(0x1d2)](process[_0x2466d3(0x1f3)],_0x4fc170['TMLYX']),'stdio':_0x4fc170[_0x2466d3(0x235)],'cwd':process[_0x2466d3(0x20b)](),'env':Object[_0x2466d3(0x1b4)]({},process[_0x2466d3(0x1e9)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper['getConfigPath'](_0x1e814a),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x2576a1[_0x2466d3(0x1a6)]['testContextOptions'][_0x2466d3(0x1d0)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x2576a1['config']['testContextOptions'][_0x2466d3(0x21d)],'BROWSERSTACK_LOG_LEVEL':_0x2576a1[_0x2466d3(0x1a6)][_0x2466d3(0x1f7)]})}),_0x922a2e=()=>{const _0x34ce07=_0x2466d3;try{const _0x479248=path[_0x34ce07(0x24b)](helper[_0x34ce07(0x206)](),_0x535a88['AWgtl'],_0x535a88[_0x34ce07(0x229)]);if(fs[_0x34ce07(0x18a)](_0x479248)){let _0x453a7f=fs[_0x34ce07(0x1c3)](_0x479248);_0x453a7f=JSON[_0x34ce07(0x246)](_0x453a7f),_0x2576a1[_0x34ce07(0x1fd)]=_0x453a7f,fs[_0x34ce07(0x1cf)](_0x479248);}}catch(_0x32024b){logger[_0x34ce07(0x197)](_0x535a88[_0x34ce07(0x1e2)](_0x535a88['waDwH'],_0x32024b));}};_0x125563['on'](_0x4fc170[_0x2466d3(0x23f)],async _0x4f4efd=>{const _0x35a8b2=_0x2466d3,_0xad63cd={};_0xad63cd[_0x35a8b2(0x253)]=_0x4fc170[_0x35a8b2(0x228)];const _0x5baf42=_0xad63cd;try{PerformanceTester[_0x35a8b2(0x207)](PerformanceEvents['SDK_CLEANUP']),_0x4fc170[_0x35a8b2(0x196)](_0x922a2e),await TestHubHandler[_0x35a8b2(0x1cd)](),await ClientTroubleShootingService[_0x35a8b2(0x1b7)]();const _0xfab9ce=BrowserstackCLI[_0x35a8b2(0x21e)]();await BrowserstackCLI[_0x35a8b2(0x251)]()['stop'](),TestDetails[_0x35a8b2(0x1ed)](),_0x4fc170['vEXJZ'](printBuildLink),await utilities[_0x35a8b2(0x24d)](_0x2576a1,_0xfab9ce),process[_0x35a8b2(0x19c)]=_0x4f4efd,logger[_0x35a8b2(0x197)](_0x35a8b2(0x1ce)+_0x4f4efd),logger['info'](_0x35a8b2(0x1d4)+_0xdb1eb5),fs['unlinkSync'](_0xdb1eb5);fs[_0x35a8b2(0x18a)](_0x241eec)&&(logger[_0x35a8b2(0x197)](_0x35a8b2(0x1d4)+_0x241eec),fs[_0x35a8b2(0x1cf)](_0x241eec));const _0x4aefe9=fs['readdirSync'](path[_0x35a8b2(0x24b)](helper[_0x35a8b2(0x206)](),_0x4fc170[_0x35a8b2(0x228)]))[_0x35a8b2(0x1f5)](_0x4ce2f3=>_0x4ce2f3['startsWith'](_0x35a8b2(0x241)));_0x4aefe9[_0x35a8b2(0x1db)](_0x105f81=>{const _0x4ed318=_0x35a8b2;fs[_0x4ed318(0x1cf)](path[_0x4ed318(0x24b)](helper[_0x4ed318(0x206)](),_0x5baf42['asFaI'],_0x105f81));});}catch(_0x581164){logger['debug'](_0x4fc170[_0x35a8b2(0x1f4)](_0x4fc170['hhfrB'],_0x581164));}});})();}module['exports']=run;function a47_0x2bb4(_0x48eac2,_0x1e8f42){const _0x4d9959=a47_0x4d99();return a47_0x2bb4=function(_0x2bb4b2,_0x208964){_0x2bb4b2=_0x2bb4b2-0x185;let _0x1cf505=_0x4d9959[_0x2bb4b2];return _0x1cf505;},a47_0x2bb4(_0x48eac2,_0x1e8f42);}function a47_0x4d99(){const _0x532171=['sTsye','debug','QqZKW','requirePWModule','qrFjc','SDK_SETUP','exitCode','push','10nmralp','measureWrapper','accessibility','trim','BROWSERSTACK_PW_TEST_ORDER','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','validateRerunTestList','writeFileSync','config','browserstackAutomation','SDK_POST_INITIALIZE','stringify','inherit','Jjrbx','../../helpers/performance/performance-tester','11830XktzCx','BrowserStack\x20config\x20file\x20not\x20found.','kJjPe','INTERNALLY_USED_ENV_VARS','PLAYWRIGHT','QkMJn','win32','assign','nWFag','Found:\x20','reportFinalDetectionState','util','accessibilityOptions','gfGii','DfZWK','eYqdN','xTrRC','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','BROWSERSTACK_TEST_OBSERVABILITY','../../helpers/logger','LSWYV','R_OK','readFileSync','concat','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','jfboX','../../helpers/test-observability/constants','isTypescriptProject','814420rmYFet','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','length','TBsYI','stop','Playwright\x20process\x20exited\x20with\x20code\x20','unlinkSync','skipSessionStatus','Error\x20in\x20deleting\x20playwright\x20results','RwUgX','qSVvw','Deleting\x20','20rwGrpR','KZthq','.browserstack','186873DsXTXE','QkKaC','reorderTestFiles','forEach','setupBrowserstackLocal','oZrKR','UOWis','YBugf','xqLQR','../../helpers/testhub/testhubHandler','mxdyl','KjeFm','cNYzk','playwright-browserstack-sdk.config.cjs','HbVJt','1658170KEMwXF','./accessibility-helper','env','path','splice','split','shutdown','BROWSERSTACK_TEST_ACCESSIBILITY_YML','iKHUb','isTrue','get','isUndefined','platform','oePWU','filter','end','logLevel','5052641qMCmeR','bFFNR','NlLxO','reportConflictingEnvVarIssue','BROWSERSTACK_RERUN','errorMessage','resolve','accessSync','yarn','child_process','ltNte','wQPez','MODULE','SDK_PRE_INITIALIZE','homedir','start','./reporter/test-details','bootstrap','356440tQjTWN','cwd','\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20process.env.GLOBAL_AGENT_NO_PROXY=\x22','BROWSERSTACK_AUTOMATION','GiNTp','initialize','getProxyUrl','getPackageType','constants','iLfJE','BROWSERSTACK_PW_CONFIG_DIR','Error\x20in\x20closing\x20playwright','EVENTS','../../helpers/test-orchestration/testOrchestrationHandler','npx','true','--grep','close','playwright-browserstack-sdk.config.js','skipSessionName','isCLIEnabled','--disable-test-observability','HtseB','W_OK','rAQMu','filterBrowserstackArgs','findPlaywrightTestFiles','mjmvH','clearTempPWConfig','pw_result.json','JBpIw','KIQmR','../../helpers/test-observability/utils','--config=','map','findIndex','../../helpers/helper','../v2/TestInfo','BROWSERSTACK_FRAMEWORK','USER_CONFIG_DETAILS_PATH','FUjRD','winstonLogger','--config','BvgYA','6OrQDSe','wGnDa','startsWith','nestedKeyValue','rEvsc','launchBuild','browserstackSetupConfig.json','isFalse','./reporter/pwUtils','otqiB','slice','trace_','test','../../helpers/utilities','isRunning','serializeToYamlString','parse','isYarnPnP','BROWSERSTACK_RERUN_TESTS','../../helpers/BrowserStackSetup','--disable-browserstack-automation','join','Error\x20in\x20getting\x20funnel\x20data\x20results','finalExecution','NtODO','18WbEuPK','TMLYX','getInstance','testObservability','asFaI','BtFPe','HlsUf','BROWSERSTACK_SETUP_CONFIG_PATH','cliConfig','ByAge','existsSync','AlrdS','Reordered\x20Test\x20Files:\x20','dirname','101484JYtBpP','playwright','isTestOrchestrationEnabled','PzrBQ','qCmlr','vVccb','relative','OvZQz'];a47_0x4d99=function(){return _0x532171;};return a47_0x4d99();}
@@ -1 +1 @@
1
- const a48_0x1b4ec9=a48_0x248a;function a48_0x248a(_0x420024,_0x23d3a0){const _0x15094f=a48_0x1509();return a48_0x248a=function(_0x248a76,_0xc6596b){_0x248a76=_0x248a76-0x11e;let _0x86f0f4=_0x15094f[_0x248a76];return _0x86f0f4;},a48_0x248a(_0x420024,_0x23d3a0);}(function(_0x3ce735,_0x26ed71){const _0x48a2ab=a48_0x248a,_0x3e21ec=_0x3ce735();while(!![]){try{const _0x215750=parseInt(_0x48a2ab(0x127))/0x1*(parseInt(_0x48a2ab(0x147))/0x2)+parseInt(_0x48a2ab(0x145))/0x3*(-parseInt(_0x48a2ab(0x121))/0x4)+parseInt(_0x48a2ab(0x123))/0x5*(parseInt(_0x48a2ab(0x12b))/0x6)+parseInt(_0x48a2ab(0x11f))/0x7*(parseInt(_0x48a2ab(0x143))/0x8)+-parseInt(_0x48a2ab(0x151))/0x9+-parseInt(_0x48a2ab(0x129))/0xa*(parseInt(_0x48a2ab(0x14a))/0xb)+parseInt(_0x48a2ab(0x12e))/0xc*(parseInt(_0x48a2ab(0x14d))/0xd);if(_0x215750===_0x26ed71)break;else _0x3e21ec['push'](_0x3e21ec['shift']());}catch(_0x1e3990){_0x3e21ec['push'](_0x3e21ec['shift']());}}}(a48_0x1509,0x1b404));const util=require(a48_0x1b4ec9(0x135)),child_process=require(a48_0x1b4ec9(0x13c)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getFrameworkVersion,debug}=require(a48_0x1b4ec9(0x13f)),helper=require('../../helpers/helper'),{getForkProcessPath}=require(a48_0x1b4ec9(0x149)),{mockIsWorkerRedundant}=require('./patches'),logger=require(a48_0x1b4ec9(0x148))[a48_0x1b4ec9(0x152)];try{require(a48_0x1b4ec9(0x14f))['installAll'](a48_0x1b4ec9(0x153));}catch(a48_0x3bd088){logger[a48_0x1b4ec9(0x138)](a48_0x1b4ec9(0x11e)+(a48_0x3bd088&&a48_0x3bd088['message']));}function a48_0x1509(){const _0x5aa609=['1.33.0','4EjrEWU','env','351195pYRxCB','error','Path\x20','dYrNm','775CCmsMA','NFEbt','10ExizFO','iwgdf','6lmsbmC','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','SlNRl','12YDWFFf','\x20is\x20not\x20found','resolve','Call\x20to\x20child\x20fork\x20with\x20args\x20','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','aWdvF','resolveLoadGlobalHook','util','format','czdZM','debug','Asxjm','includes','ofNzg','child_process','apply','toString','../../helpers/test-observability/utils','config','PLAYWRIGHT','fork','8640mlcSnV','exports','536646uuKBzJ','IcJsv','502ywwNBr','../../helpers/logger','./reporter/pwUtils','635558jQtwDr','SQsRI','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','1195870PfcQqg','gcHxD','../../helpers/driverInitErrorReporter','./mock-process.js','192906KPdtlf','winstonLogger','playwright','driver-init\x20capture\x20install\x20failed:\x20','84DPgDpB'];a48_0x1509=function(){return _0x5aa609;};return a48_0x1509();}module[a48_0x1b4ec9(0x144)]=async function(_0xfc097b){const _0x27633a=a48_0x1b4ec9,_0x1c50c8={'ofNzg':function(_0x369654,_0x45f378){return _0x369654(_0x45f378);},'NFEbt':function(_0x1ed2e8){return _0x1ed2e8();},'dYrNm':_0x27633a(0x150),'oIsLK':function(_0x1781a3){return _0x1781a3();},'IcJsv':function(_0x25bb0e){return _0x25bb0e();},'gcHxD':'Running\x20existing\x20global\x20setup','KkZYp':function(_0x52c2e5,_0x678542){return _0x52c2e5!==_0x678542;},'SQsRI':'function','iwgdf':'Not\x20able\x20to\x20resolve\x20loadGlobalHook\x20for\x20current\x20Playwright\x20version','czdZM':function(_0x3217cd,_0x18d322){return _0x3217cd>=_0x18d322;},'gNTrF':_0x27633a(0x120),'aWdvF':function(_0x139327,_0x3efd93,_0x428b01){return _0x139327(_0x3efd93,_0x428b01);},'Asxjm':function(_0x4557b5,_0x3f5187){return _0x4557b5!==_0x3f5187;},'SlNRl':'Not\x20able\x20to\x20import\x20globalSetup'},_0x443361=child_process[_0x27633a(0x142)];if(helper['isHandlePWErrorSet']())try{_0x1c50c8[_0x27633a(0x146)](mockIsWorkerRedundant);}catch(_0xc60bca){logger[_0x27633a(0x138)](_0x27633a(0x14c)+util[_0x27633a(0x136)](_0xc60bca));}child_process[_0x27633a(0x142)]=function(){const _0x2542c3=_0x27633a;return _0x1c50c8[_0x2542c3(0x13b)](debug,_0x2542c3(0x131)+arguments[0x0]),arguments[0x0][_0x2542c3(0x13a)](_0x1c50c8[_0x2542c3(0x128)](getForkProcessPath))?arguments[0x0]=require[_0x2542c3(0x130)](_0x1c50c8[_0x2542c3(0x126)]):logger[_0x2542c3(0x124)](_0x2542c3(0x125)+_0x1c50c8['oIsLK'](getForkProcessPath)+_0x2542c3(0x12f)),_0x443361['apply'](null,arguments);};if(process[_0x27633a(0x122)][_0x27633a(0x12c)]){_0x1c50c8[_0x27633a(0x13b)](debug,_0x1c50c8[_0x27633a(0x14e)]);try{const _0xd8d700=helper[_0x27633a(0x134)]();if(_0x1c50c8['KkZYp'](typeof _0xd8d700,_0x1c50c8[_0x27633a(0x14b)]))throw new Error(_0x1c50c8[_0x27633a(0x12a)]);const _0x2ba203=_0x1c50c8[_0x27633a(0x13b)](getFrameworkVersion,FRAMEWORKS[_0x27633a(0x141)]);let _0x16bb51=_0xfc097b;if(_0x1c50c8[_0x27633a(0x137)](helper['compareVersions'](_0x2ba203,_0x1c50c8['gNTrF']),0x0)){const _0x3b995b={};_0x3b995b[_0x27633a(0x140)]=_0xfc097b,_0x16bb51=_0x3b995b;}const _0x4805a0=await _0x1c50c8[_0x27633a(0x133)](_0xd8d700,_0x16bb51,process[_0x27633a(0x122)][_0x27633a(0x12c)]);if(_0x1c50c8[_0x27633a(0x139)](typeof _0x4805a0,_0x1c50c8['SQsRI']))throw new Error(_0x1c50c8[_0x27633a(0x12d)]);return _0x4805a0[_0x27633a(0x13d)](null,arguments);}catch(_0x3e5e20){_0x1c50c8[_0x27633a(0x13b)](debug,_0x27633a(0x132)+_0x3e5e20[_0x27633a(0x13e)]());}}};
1
+ const a48_0x2ce56e=a48_0x3590;(function(_0x51334e,_0x144683){const _0x3343bc=a48_0x3590,_0x4b450c=_0x51334e();while(!![]){try{const _0x25cee6=-parseInt(_0x3343bc(0xa7))/0x1+parseInt(_0x3343bc(0x9f))/0x2+-parseInt(_0x3343bc(0x90))/0x3+-parseInt(_0x3343bc(0x97))/0x4+-parseInt(_0x3343bc(0xa9))/0x5+-parseInt(_0x3343bc(0x95))/0x6*(-parseInt(_0x3343bc(0x98))/0x7)+-parseInt(_0x3343bc(0x80))/0x8*(-parseInt(_0x3343bc(0x94))/0x9);if(_0x25cee6===_0x144683)break;else _0x4b450c['push'](_0x4b450c['shift']());}catch(_0x16c40d){_0x4b450c['push'](_0x4b450c['shift']());}}}(a48_0xf959,0x21f13));const util=require(a48_0x2ce56e(0x76)),child_process=require('child_process'),{FRAMEWORKS}=require(a48_0x2ce56e(0x78)),{getFrameworkVersion,debug}=require(a48_0x2ce56e(0x9e)),helper=require('../../helpers/helper'),{getForkProcessPath}=require(a48_0x2ce56e(0x7a)),{mockIsWorkerRedundant}=require(a48_0x2ce56e(0x92)),logger=require(a48_0x2ce56e(0x9c))[a48_0x2ce56e(0xa5)];function a48_0x3590(_0x5a7b5e,_0x290fcc){const _0xf9594f=a48_0xf959();return a48_0x3590=function(_0x35901a,_0x159ccb){_0x35901a=_0x35901a-0x74;let _0x16b3db=_0xf9594f[_0x35901a];return _0x16b3db;},a48_0x3590(_0x5a7b5e,_0x290fcc);}try{require('../../helpers/driverInitErrorReporter')['installAll'](a48_0x2ce56e(0x7d));}catch(a48_0x21cad1){logger[a48_0x2ce56e(0x9d)](a48_0x2ce56e(0x8e)+(a48_0x21cad1&&a48_0x21cad1[a48_0x2ce56e(0x87)]));}module[a48_0x2ce56e(0x86)]=async function(_0x52855d){const _0x22688b=a48_0x2ce56e,_0xdb1e8a={'UegFe':function(_0x3ea8a4,_0xc870ed){return _0x3ea8a4(_0xc870ed);},'dnVxV':function(_0x20231d){return _0x20231d();},'BlcwP':_0x22688b(0x8d),'aLCDq':function(_0x410c18){return _0x410c18();},'lWggF':function(_0x35a4e3){return _0x35a4e3();},'JUKAU':function(_0x7efaeb,_0x30a133){return _0x7efaeb(_0x30a133);},'NotVZ':'Running\x20existing\x20global\x20setup','lvJEu':function(_0x841295,_0x50632d){return _0x841295!==_0x50632d;},'YCGYl':_0x22688b(0xa6),'ujfkZ':_0x22688b(0x88),'thKRK':function(_0x137ea4,_0x45df93){return _0x137ea4>=_0x45df93;},'WJatM':_0x22688b(0xa0),'JnRjx':function(_0x4034bb,_0x41e852,_0x35fcfa){return _0x4034bb(_0x41e852,_0x35fcfa);},'natKG':function(_0x1d8d89,_0x792dd5){return _0x1d8d89!==_0x792dd5;},'OjhTU':_0x22688b(0x93)},_0x53cbb4=child_process[_0x22688b(0xaa)];if(helper[_0x22688b(0x7c)]())try{_0xdb1e8a[_0x22688b(0x79)](mockIsWorkerRedundant);}catch(_0x4ed0c9){logger[_0x22688b(0x9d)](_0x22688b(0x99)+util[_0x22688b(0x7b)](_0x4ed0c9));}child_process[_0x22688b(0xaa)]=function(){const _0x3cd1da=_0x22688b;return _0xdb1e8a[_0x3cd1da(0xa8)](debug,_0x3cd1da(0x77)+arguments[0x0]),arguments[0x0][_0x3cd1da(0xa4)](_0xdb1e8a[_0x3cd1da(0x8f)](getForkProcessPath))?arguments[0x0]=require[_0x3cd1da(0xa2)](_0xdb1e8a['BlcwP']):logger[_0x3cd1da(0xa3)]('Path\x20'+_0xdb1e8a[_0x3cd1da(0x96)](getForkProcessPath)+'\x20is\x20not\x20found'),_0x53cbb4['apply'](null,arguments);};if(process['env']['BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP']){_0xdb1e8a['JUKAU'](debug,_0xdb1e8a[_0x22688b(0x84)]);try{const _0x2926a0=helper[_0x22688b(0x8b)]();if(_0xdb1e8a[_0x22688b(0x89)](typeof _0x2926a0,_0xdb1e8a[_0x22688b(0x8a)]))throw new Error(_0xdb1e8a[_0x22688b(0x85)]);const _0x2351e7=_0xdb1e8a[_0x22688b(0xa8)](getFrameworkVersion,FRAMEWORKS[_0x22688b(0x75)]);let _0x13d406=_0x52855d;if(_0xdb1e8a[_0x22688b(0x91)](helper[_0x22688b(0x82)](_0x2351e7,_0xdb1e8a[_0x22688b(0x7f)]),0x0)){const _0x4538a8={};_0x4538a8[_0x22688b(0x81)]=_0x52855d,_0x13d406=_0x4538a8;}const _0x3bdd13=await _0xdb1e8a[_0x22688b(0x9a)](_0x2926a0,_0x13d406,process[_0x22688b(0xa1)]['BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP']);if(_0xdb1e8a[_0x22688b(0x9b)](typeof _0x3bdd13,_0xdb1e8a[_0x22688b(0x8a)]))throw new Error(_0xdb1e8a[_0x22688b(0x74)]);return _0x3bdd13['apply'](null,arguments);}catch(_0x375583){_0xdb1e8a[_0x22688b(0x83)](debug,_0x22688b(0x8c)+_0x375583[_0x22688b(0x7e)]());}}};function a48_0xf959(){const _0x52a409=['driver-init\x20capture\x20install\x20failed:\x20','dnVxV','182655XibHdP','thKRK','./patches','Not\x20able\x20to\x20import\x20globalSetup','18279jdZlUN','36MigaLD','aLCDq','981880shiRlr','276787McEQru','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','JnRjx','natKG','../../helpers/logger','debug','../../helpers/test-observability/utils','366366akVWGs','1.33.0','env','resolve','error','includes','winstonLogger','function','4763nXFsga','UegFe','105295nHHxbC','fork','OjhTU','PLAYWRIGHT','util','Call\x20to\x20child\x20fork\x20with\x20args\x20','../../helpers/test-observability/constants','lWggF','./reporter/pwUtils','format','isHandlePWErrorSet','playwright','toString','WJatM','200veOlmT','config','compareVersions','JUKAU','NotVZ','ujfkZ','exports','message','Not\x20able\x20to\x20resolve\x20loadGlobalHook\x20for\x20current\x20Playwright\x20version','lvJEu','YCGYl','resolveLoadGlobalHook','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','./mock-process.js'];a48_0xf959=function(){return _0x52a409;};return a48_0xf959();}