browserstack-node-sdk 1.60.1 → 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_0x58df70=a43_0x54ea;(function(_0x420771,_0x26fbc3){const _0x55069e=a43_0x54ea,_0x361e48=_0x420771();while(!![]){try{const _0x1ace69=parseInt(_0x55069e(0x218))/0x1+parseInt(_0x55069e(0x25b))/0x2+parseInt(_0x55069e(0x276))/0x3*(-parseInt(_0x55069e(0x1a2))/0x4)+-parseInt(_0x55069e(0x21c))/0x5+parseInt(_0x55069e(0x205))/0x6*(parseInt(_0x55069e(0x1dd))/0x7)+parseInt(_0x55069e(0x27f))/0x8*(parseInt(_0x55069e(0x1c1))/0x9)+-parseInt(_0x55069e(0x1f8))/0xa*(-parseInt(_0x55069e(0x197))/0xb);if(_0x1ace69===_0x26fbc3)break;else _0x361e48['push'](_0x361e48['shift']());}catch(_0x3c3167){_0x361e48['push'](_0x361e48['shift']());}}}(a43_0x518c,0x8dd13));const path=require(a43_0x58df70(0x275)),{v4:uuidv4}=require(a43_0x58df70(0x190)),SessionHandler=require(a43_0x58df70(0x211)),{debug}=require(a43_0x58df70(0x264)),logger=require(a43_0x58df70(0x194))[a43_0x58df70(0x226)],BrowserstackCLI=require(a43_0x58df70(0x1f9)),GrpcClient=require(a43_0x58df70(0x27c)),TestFrameworkState=require(a43_0x58df70(0x22f)),HookState=require('../../v2/state/hookState'),LOG_LEVELS=[a43_0x58df70(0x22e),a43_0x58df70(0x1f6),'ERROR','DEBUG',a43_0x58df70(0x1a4)];function isCLIRunning(){const _0x156548=a43_0x58df70;try{return BrowserstackCLI[_0x156548(0x251)]()[_0x156548(0x1f4)]();}catch(_0x4d9527){return![];}}function getParentTitles(_0x46158f){const _0x3c0541=a43_0x58df70,_0x41b11f={'CDKgL':function(_0x44dd95,_0x152cbe){return _0x44dd95(_0x152cbe);}},_0x5198dc=[],_0x39ca77=_0x46158f[_0x3c0541(0x248)]();return _0x39ca77&&_0x5198dc[_0x3c0541(0x233)][_0x3c0541(0x18b)](_0x5198dc,_0x41b11f['CDKgL'](getParentTitles,_0x39ca77)),_0x46158f['name']&&_0x5198dc[_0x3c0541(0x233)](_0x41b11f[_0x3c0541(0x277)](String,_0x46158f[_0x3c0541(0x26b)])),_0x5198dc;}function a43_0x518c(){const _0x329c31=['wgwwx','script','[Newman\x20Reporter]\x20Error\x20in\x20console:\x20','HTTP','stack','test_run_uuid','FDlYA','SCXdD','pbxhZ','nVTZk','292dXuufw','itemName','TRACE','afKsG','trackEvent','iteration','ref','request','cSGvS','DjsAE','run','pcMlW','mycHY','exception','kOWiu','LYTAR','startsWith','cargR','backtrace','collection.json','gWdmO','slice','testFrameworkVersion','newman','method','host','SkGxe','QcOwZ','NuNJD','length','messages','9axamfo','httpLog','duration_ms','logCreatedEvent','\x20—\x20response\x20status\x20in\x20failure\x20range','flTEp','status_code','collectionName','iciPE','event','vOgew','headers','toUpperCase','http_response','PQKGF','rtzGe','argv','split','bfFnH','):\x20','item','result','NJxAc','collection','vKVbc','testFrameworkState','platformIndex','resolve','7WYWxTm','tTRVc','delete','removeListener','wOQoG','YsDyP','rOoxR','logs','KogUp','concat','expanded','cwd','collectionPath','[Newman\x20Reporter]\x20Could\x20not\x20resolve\x20collection\x20file\x20path,\x20falling\x20back\x20to\x20collection.json','listen','test_run','err','SFRxt','stringify','PiabP','FndOb','code','viPZF','isRunning','bs:addLog:','WARN','response','190FUIEvf','../../v2/browserstackCLI','url','string','[Newman\x20Reporter]\x20Error\x20in\x20script:\x20','hmDGz','YGErs','scopes','KrlqC','bRQtr','uploadEventData','EJLeg','toString','1311594ikiWVS','UnhandledError','failure_backtrace','forEach','olisl','[Newman\x20Reporter]\x20Error\x20in\x20request:\x20','XNrfN','vCpwq','ZtpwF','[Newman\x20Reporter]\x20Error\x20in\x20beforeItem:\x20','failureReason','error','../../../helpers/test-observability/sessionHandler','ctvjI','beforeItem','Assertion\x20','tLoVN','ubBdI','level','684251DrhAJK','[Newman\x20Reporter]\x20Error\x20in\x20item:\x20','[Newman\x20Reporter]\x20Error\x20in\x20bs:addLog\x20handler:\x20','set','2953955ilFNRO','toISOString','object','LGHzm','OXTJi','BCtNa','wUBkX','VOgLc','BhTrE','ACSaY','winstonLogger','GvpZy','xpklW','qmCLe','BfPIu','getTestFramework','ufBXJ','responseTime','INFO','../../v2/state/testFrameworkState','bZkCM','POST','includes','push','location','wOnOT','finishedAt','ohVPn','DhNTm','get','indexOf','CdSjF','kZioj','failure','HTTP\x20','HPRQN','yvVML','aHEtw','startedAt','JRqcD','durationMs','VXIdc','ULyuc','cObnn','parent','assert','LogCreated','WIDIR','egzov','ERROR','Exception:\x20','getTime','xNwYh','getInstance','PRE','No\x20HTTP\x20response\x20received','testFrameworkName','FWFUk','TEST_LOG','SoTuc','pPTVf','TvUfm','GET','785676upbnWc','DAtbe','WXIrW','INNpi','ms)','console','CcRjx','Uocdn','aPyvQ','../../../helpers/test-observability/utils','uxoOr','kind','dgXOD','lastResponseCode','failed','Xfpya','name','assertions','aYKQP','failureType','YTCAL','vSdSi','ojQps','JAQNA','HTTP\x20Status:\x20','RxySX','path','28248htzCxl','CDKgL','NbqAu','relative','sMEcD','cursor','../../v2/grpcClient','pyEpA','\x20->\x20','3349048eFYhqa','Connz','info','join','LjWgE','bufferedLogs','Nsbfp','apply','message','TestRunFinished','poeVJ','identifier','uuid','OEpUE','YRKFo','stvhG','../../../helpers/logger','lbcjy','ZYIBx','83787PyLBkr'];a43_0x518c=function(){return _0x329c31;};return a43_0x518c();}function normalizeLogLevel(_0x5a51eb){const _0x1cf33a=a43_0x58df70,_0x83ec0a={};_0x83ec0a[_0x1cf33a(0x1a5)]=_0x1cf33a(0x22e),_0x83ec0a[_0x1cf33a(0x200)]=function(_0x3309cb,_0x1f9f3a){return _0x3309cb!==_0x1f9f3a;};const _0x318a3c=_0x83ec0a;if(!_0x5a51eb)return _0x318a3c['afKsG'];const _0x53948c=_0x5a51eb[_0x1cf33a(0x1cd)]();return _0x318a3c[_0x1cf33a(0x200)](LOG_LEVELS[_0x1cf33a(0x23a)](_0x53948c),-0x1)?_0x53948c:_0x318a3c[_0x1cf33a(0x1a5)];}function resolveCollectionFile(_0x1d3a77,_0x593223){const _0x10e480=a43_0x58df70,_0x3c9cae={};_0x3c9cae[_0x10e480(0x1ab)]=function(_0x1d52b,_0x36dc81){return _0x1d52b===_0x36dc81;},_0x3c9cae[_0x10e480(0x237)]=_0x10e480(0x1fb),_0x3c9cae[_0x10e480(0x1d0)]=_0x10e480(0x1ac),_0x3c9cae[_0x10e480(0x21f)]=function(_0x2b90bc,_0x52e2b5){return _0x2b90bc!==_0x52e2b5;},_0x3c9cae[_0x10e480(0x192)]=function(_0x144448,_0x362f5c){return _0x144448<_0x362f5c;},_0x3c9cae['qmCLe']=function(_0x41cc41,_0x2e432e){return _0x41cc41+_0x2e432e;},_0x3c9cae[_0x10e480(0x19f)]=_0x10e480(0x1ea),_0x3c9cae[_0x10e480(0x1bd)]=_0x10e480(0x1b5);const _0x4ada16=_0x3c9cae;try{if(_0x593223&&_0x593223['collectionPath'])return path[_0x10e480(0x279)](process[_0x10e480(0x1e8)](),path[_0x10e480(0x1dc)](_0x593223[_0x10e480(0x1e9)]));const _0x29e2d7=_0x1d3a77['collection'];if(_0x4ada16[_0x10e480(0x1ab)](typeof _0x29e2d7,_0x4ada16[_0x10e480(0x237)]))return path[_0x10e480(0x279)](process[_0x10e480(0x1e8)](),path['resolve'](_0x29e2d7));const _0x516898=process[_0x10e480(0x1d1)][_0x10e480(0x23a)](_0x4ada16['rtzGe']);if(_0x4ada16[_0x10e480(0x21f)](_0x516898,-0x1)&&_0x4ada16[_0x10e480(0x192)](_0x4ada16[_0x10e480(0x229)](_0x516898,0x1),process[_0x10e480(0x1d1)][_0x10e480(0x1bf)])){const _0x2fbeac=process[_0x10e480(0x1d1)][_0x4ada16[_0x10e480(0x229)](_0x516898,0x1)];if(_0x2fbeac&&!_0x2fbeac['startsWith']('-'))return path['relative'](process[_0x10e480(0x1e8)](),path['resolve'](_0x2fbeac));}}catch(_0x5e8e03){}return logger['info'](_0x4ada16[_0x10e480(0x19f)]),_0x4ada16['QcOwZ'];}function a43_0x54ea(_0x164b9f,_0x11c6d2){const _0x518ca5=a43_0x518c();return a43_0x54ea=function(_0x54ea8d,_0x5b9701){_0x54ea8d=_0x54ea8d-0x18b;let _0x79e6f3=_0x518ca5[_0x54ea8d];return _0x79e6f3;},a43_0x54ea(_0x164b9f,_0x11c6d2);}function resolveCollectionName(_0x1049e8){const _0x5066c8=a43_0x58df70,_0x33d41d={};_0x33d41d[_0x5066c8(0x201)]=function(_0x350521,_0x2bfe3c){return _0x350521===_0x2bfe3c;},_0x33d41d[_0x5066c8(0x26f)]=_0x5066c8(0x21e);const _0x162690=_0x33d41d;try{const _0x3eecfb=_0x1049e8[_0x5066c8(0x1d8)];if(_0x3eecfb&&_0x162690[_0x5066c8(0x201)](typeof _0x3eecfb,_0x162690[_0x5066c8(0x26f)]))return _0x3eecfb['name']||_0x3eecfb[_0x5066c8(0x281)]&&_0x3eecfb[_0x5066c8(0x281)][_0x5066c8(0x26b)]||null;}catch(_0x5c6022){}return null;}function emitTest(_0x5134d9,_0x7f59ea,_0xc17210,_0x51d01a,_0x577f4c){const _0x81b633=a43_0x58df70,_0xbf5562={'DAtbe':function(_0x215dc0){return _0x215dc0();},'kZioj':'pending','PQKGF':function(_0x489e91,_0xf129aa){return _0x489e91(_0xf129aa);},'pPTVf':'newman','vOgew':'javascript','CdSjF':function(_0x347fca,_0x49ff11){return _0x347fca!=_0x49ff11;},'PiabP':function(_0x10b148,_0x548f7a){return _0x10b148===_0x548f7a;},'aPyvQ':'TestRunStarted','ubBdI':_0x81b633(0x18d)};if(_0xbf5562[_0x81b633(0x25c)](isCLIRunning))try{const _0x2b86e6=BrowserstackCLI[_0x81b633(0x251)]()[_0x81b633(0x22b)]();if(!_0x2b86e6)return;_0x2b86e6[_0x81b633(0x1a6)](TestFrameworkState['TEST'],_0x5134d9,{'test':{'uuid':_0x7f59ea[_0x81b633(0x190)],'name':_0x7f59ea['name'],'scopes':_0xc17210[_0x81b633(0x1ff)],'scope':_0xc17210['scopes'][_0x81b633(0x282)]('\x20'),'file_path':_0x51d01a,'location':_0xc17210[_0x81b633(0x1c8)],'started_at':_0xc17210[_0x81b633(0x242)],'finished_at':_0x577f4c[_0x81b633(0x236)]||null,'result':_0x577f4c[_0x81b633(0x1d6)]||_0xbf5562['kZioj'],'failure':_0x577f4c[_0x81b633(0x23d)]||[],'failure_type':_0x577f4c[_0x81b633(0x26e)]||null,'failure_reason':_0x577f4c['failureReason']||null,'tags':[],'meta':{},'custom_metadata':{}}});}catch(_0xaf4991){_0xbf5562[_0x81b633(0x1cf)](debug,'[Newman\x20Reporter]\x20emitTest\x20error:\x20'+_0xaf4991);}else{const _0x18b02f={'uuid':_0x7f59ea[_0x81b633(0x190)],'name':_0x7f59ea['name'],'framework':_0xbf5562[_0x81b633(0x258)],'body':{'lang':_0xbf5562[_0x81b633(0x1cb)],'code':null},'scope':_0xc17210[_0x81b633(0x1ff)][_0x81b633(0x282)]('\x20'),'scopes':_0xc17210['scopes'],'identifier':_0x7f59ea[_0x81b633(0x18f)],'file_name':_0xc17210['collectionName'],'vc_filepath':_0xc17210[_0x81b633(0x234)],'location':_0xc17210[_0x81b633(0x234)],'started_at':_0xc17210[_0x81b633(0x242)],'finished_at':_0x577f4c['finishedAt']||null,'duration_in_ms':_0xbf5562[_0x81b633(0x23b)](_0x577f4c[_0x81b633(0x244)],null)?Math['max'](0x0,_0x577f4c[_0x81b633(0x244)]):null,'result':_0x577f4c['result']||_0xbf5562[_0x81b633(0x23c)],'failure_reason':_0x577f4c[_0x81b633(0x20f)]||null,'failure_type':_0x577f4c[_0x81b633(0x26e)]||null,'failure':_0x577f4c[_0x81b633(0x23d)]||[],'retry_of':null,'hooks':[]};_0x18b02f['failure'][0x0]&&(_0x18b02f[_0x81b633(0x207)]=_0x18b02f[_0x81b633(0x23d)][0x0][_0x81b633(0x1b4)],_0x18b02f['failure_reason_expanded']=_0x18b02f[_0x81b633(0x23d)][0x0][_0x81b633(0x1e7)]);const _0x84de08=_0xbf5562[_0x81b633(0x1f0)](_0x5134d9,HookState[_0x81b633(0x252)])?_0xbf5562[_0x81b633(0x263)]:_0xbf5562[_0x81b633(0x216)],_0x2fb48d={};_0x2fb48d['event_type']=_0x84de08,_0x2fb48d[_0x81b633(0x1ec)]=_0x18b02f,SessionHandler[_0x81b633(0x202)](_0x2fb48d);}}function emitLog(_0x223d31,_0x314423){const _0x49bfbc=a43_0x58df70,_0x27aedb={'vKVbc':_0x49bfbc(0x256),'GURGq':function(_0x2b339a){return _0x2b339a();},'Uocdn':function(_0x36dc66,_0x369dbe){return _0x36dc66===_0x369dbe;},'dgXOD':_0x49bfbc(0x19b),'dtqNO':_0x49bfbc(0x1b9),'hriyB':'TEST','dGVhp':_0x49bfbc(0x22e),'LjWgE':function(_0x237957,_0x3bd983){return _0x237957(_0x3bd983);},'poeVJ':function(_0x37e98a,_0xbd7dd1){return _0x37e98a+_0xbd7dd1;},'NJxAc':'[Newman\x20Reporter]\x20emitLog\x20error:\x20','ctvjI':_0x49bfbc(0x24a)},_0x160286=_0x314423['kind']||_0x27aedb[_0x49bfbc(0x1d9)],_0x59e556=_0x314423['timestamp']||new Date()['toISOString']();if(_0x27aedb['GURGq'](isCLIRunning))try{const _0x24840c=_0x27aedb[_0x49bfbc(0x262)](_0x160286,_0x27aedb[_0x49bfbc(0x267)])?JSON[_0x49bfbc(0x1ef)](_0x314423):_0x314423[_0x49bfbc(0x18c)]||'',_0x47a05b={};_0x47a05b[_0x49bfbc(0x1db)]=0x0,_0x47a05b[_0x49bfbc(0x254)]=_0x27aedb['dtqNO'],_0x47a05b[_0x49bfbc(0x1b8)]='',_0x47a05b[_0x49bfbc(0x1da)]=_0x27aedb['hriyB'],_0x47a05b[_0x49bfbc(0x1e4)]=[{'uuid':_0x223d31,'timestamp':_0x59e556,'kind':_0x160286,'level':_0x314423['level']||_0x27aedb['dGVhp'],'message':_0x24840c}],GrpcClient[_0x49bfbc(0x251)]()[_0x49bfbc(0x1c4)](_0x47a05b);}catch(_0x3f9cc6){_0x27aedb[_0x49bfbc(0x283)](debug,_0x27aedb[_0x49bfbc(0x18e)](_0x27aedb[_0x49bfbc(0x1d7)],_0x3f9cc6));}else{const _0x4d1349={};_0x4d1349[_0x49bfbc(0x19d)]=_0x223d31,_0x4d1349['timestamp']=_0x59e556,_0x4d1349['level']=_0x314423['level']||null,_0x4d1349[_0x49bfbc(0x18c)]=_0x314423[_0x49bfbc(0x18c)]||null,_0x4d1349[_0x49bfbc(0x266)]=_0x160286,_0x4d1349['http_response']=_0x314423[_0x49bfbc(0x1ce)]||{};const _0x38a9af={};_0x38a9af['event_type']=_0x27aedb[_0x49bfbc(0x212)],_0x38a9af[_0x49bfbc(0x1e4)]=[_0x4d1349],SessionHandler['uploadEventData'](_0x38a9af);}}function BrowserStackNewmanReporter(_0x79dc46,_0x481633,_0x191663){const _0x286a34=a43_0x58df70,_0x5f49e7={'hmDGz':function(_0x4a33b3,_0x56e9bd,_0xb98b0d){return _0x4a33b3(_0x56e9bd,_0xb98b0d);},'FDlYA':function(_0x2d9c52,_0xbd6cce){return _0x2d9c52(_0xbd6cce);},'EJLeg':function(_0x4eabd9,_0x4db433){return _0x4eabd9>_0x4db433;},'YsDyP':'http','uxoOr':function(_0x5354c7,_0x3d1d91){return _0x5354c7+_0x3d1d91;},'wOQoG':_0x286a34(0x25a),'LYTAR':function(_0x5d266d,_0x462c6f){return _0x5d266d(_0x462c6f);},'xpklW':function(_0x432669,_0x4d5fb3,_0x575f3e){return _0x432669(_0x4d5fb3,_0x575f3e);},'vCpwq':_0x286a34(0x256),'ynIox':function(_0x3c21f8){return _0x3c21f8();},'mycHY':function(_0x4f53b1,_0x250f58){return _0x4f53b1||_0x250f58;},'Nsbfp':function(_0x58229f,_0x1d5c80,_0x534346,_0x384a58,_0x19fce6,_0x5849c3){return _0x58229f(_0x1d5c80,_0x534346,_0x384a58,_0x19fce6,_0x5849c3);},'vSdSi':function(_0xdff3c4,_0x319d4d){return _0xdff3c4===_0x319d4d;},'stvhG':function(_0x45eeab,_0xea7610){return _0x45eeab>_0xea7610;},'cObnn':function(_0x3d49c5,_0x338129,_0x53abbe){return _0x3d49c5(_0x338129,_0x53abbe);},'JAQNA':'HTTP','aYKQP':function(_0x509ee9,_0x21a8d0){return _0x509ee9+_0x21a8d0;},'cSGvS':function(_0x54154c,_0x3d5cd6){return _0x54154c+_0x3d5cd6;},'yvVML':function(_0x59b700,_0x4267b9){return _0x59b700+_0x4267b9;},'bfFnH':function(_0x175056,_0x702cbd){return _0x175056+_0x702cbd;},'INNpi':function(_0x181c0e,_0x3720b8){return _0x181c0e+_0x3720b8;},'XNrfN':_0x286a34(0x27e),'wgwwx':_0x286a34(0x25f),'aHEtw':_0x286a34(0x22e),'ydUZf':function(_0x43d778,_0x85a3d9){return _0x43d778(_0x85a3d9);},'IJeoI':function(_0x57d8a4,_0x43f0bc){return _0x57d8a4-_0x43f0bc;},'VXIdc':function(_0x71f224,_0x9f0379){return _0x71f224(_0x9f0379);},'GvpZy':function(_0x13b56c,_0x4e1ae4){return _0x13b56c&&_0x4e1ae4;},'BfPIu':function(_0x3e72f9,_0x2b96a9){return _0x3e72f9>_0x2b96a9;},'NuNJD':function(_0x311f3b,_0x34d665){return _0x311f3b-_0x34d665;},'MVqpk':function(_0x420fad,_0x3db9f8,_0x3070e6){return _0x420fad(_0x3db9f8,_0x3070e6);},'CcRjx':function(_0x8852d9,_0x2f4512){return _0x8852d9+_0x2f4512;},'Xfpya':_0x286a34(0x24e),'olisl':_0x286a34(0x24d),'WIDIR':'[Newman\x20Reporter]\x20Error\x20in\x20exception:\x20','DhNTm':function(_0x378f04,_0x18dfb8){return _0x378f04>_0x18dfb8;},'ZtpwF':function(_0x460f00,_0x595ddf){return _0x460f00-_0x595ddf;},'bmNML':'unknown','jBRln':function(_0x26b97c,_0x1fcafb,_0x4cbc7d){return _0x26b97c(_0x1fcafb,_0x4cbc7d);},'tLoVN':function(_0x5027f2,_0x57ecbc){return _0x5027f2+_0x57ecbc;},'viPZF':'Script\x20error\x20(','LTdyB':_0x286a34(0x1d4),'cargR':function(_0x2c6826,_0x321f09){return _0x2c6826(_0x321f09);},'OEpUE':function(_0x40bc23,_0x55d336){return _0x40bc23+_0x55d336;},'BhTrE':_0x286a34(0x1fc),'FWFUk':_0x286a34(0x269),'WTmZw':'passed','OXTJi':function(_0x5df014,_0x3897dc){return _0x5df014===_0x3897dc;},'wOnOT':'AssertionError','TvUfm':_0x286a34(0x249),'SFRxt':_0x286a34(0x206),'NCJnS':function(_0x378120,_0x3ee6de,_0x398a4b,_0x2ef721,_0x286cd6,_0x127847){return _0x378120(_0x3ee6de,_0x398a4b,_0x2ef721,_0x286cd6,_0x127847);},'kOWiu':function(_0x4fdf93,_0x4f2e7a,_0x4ec716){return _0x4fdf93(_0x4f2e7a,_0x4ec716);},'RxySX':function(_0x432eba,_0x565534){return _0x432eba>_0x565534;},'pbxhZ':function(_0x5a192b){return _0x5a192b();},'JRqcD':function(_0x13b9af,_0x449366){return _0x13b9af!=_0x449366;},'xNwYh':function(_0x2a3de7,_0x2699b1){return _0x2a3de7>=_0x2699b1;},'SoTuc':function(_0x14447a,_0x8510d8){return _0x14447a<_0x8510d8;},'SkGxe':'N/A','YgwSB':function(_0x55d737,_0x443923){return _0x55d737!=_0x443923;},'nPNPp':_0x286a34(0x253),'VOgLc':function(_0x43e402,_0x279de1,_0x5d2a5a){return _0x43e402(_0x279de1,_0x5d2a5a);},'gWdmO':function(_0x5b7df5,_0x409c47){return _0x5b7df5+_0x409c47;},'iciPE':function(_0x2d5a3e,_0x15fe5e){return _0x2d5a3e+_0x15fe5e;},'wUBkX':function(_0x1bb33d,_0x5f0d01){return _0x1bb33d+_0x5f0d01;},'gzapo':function(_0x1fccaf,_0x32bd0b){return _0x1fccaf+_0x32bd0b;},'LAVZX':function(_0x3411a7,_0x2eff03,_0x3b75e0){return _0x3411a7(_0x2eff03,_0x3b75e0);},'ZYIBx':function(_0x3ef85f,_0x64e4ae,_0x496ee8){return _0x3ef85f(_0x64e4ae,_0x496ee8);},'bZkCM':function(_0x2079d1,_0x302377){return _0x2079d1+_0x302377;},'FndOb':_0x286a34(0x273),'HPRQN':'\x20(no\x20assertions)','pcMlW':function(_0x467e13,_0x2fe761,_0x239aee,_0x1b45a2,_0x3c516c,_0x27b661){return _0x467e13(_0x2fe761,_0x239aee,_0x1b45a2,_0x3c516c,_0x27b661);},'flTEp':function(_0x26c91f,_0x23bd16){return _0x26c91f(_0x23bd16);},'NbqAu':'done','rOoxR':'beforeIteration','oFuoz':_0x286a34(0x213),'tTRVc':_0x286a34(0x1a9),'YGErs':'assertion','WXIrW':_0x286a34(0x260),'Connz':_0x286a34(0x1af),'KogUp':_0x286a34(0x199),'pyEpA':'item'},_0x82b6a=new Map();let _0x27ba60=null,_0x15d6ce=0x0;const _0x1e9d0e=_0x5f49e7[_0x286a34(0x223)](resolveCollectionFile,_0x191663,_0x481633),_0x14bc57=_0x5f49e7[_0x286a34(0x245)](resolveCollectionName,_0x191663)||_0x1e9d0e,_0x4970dd=path[_0x286a34(0x1dc)](_0x1e9d0e),_0x4fb4ee=_0x286a34(0x1f5)+process['pid'],_0x2a6a09=_0x436419=>{const _0x4803ea=_0x286a34;try{_0x27ba60&&_0x5f49e7[_0x4803ea(0x1fd)](emitLog,_0x27ba60,_0x436419);}catch(_0x410508){_0x5f49e7['FDlYA'](debug,_0x4803ea(0x21a)+_0x410508);}};process['on'](_0x4fb4ee,_0x2a6a09),_0x79dc46['on'](_0x5f49e7[_0x286a34(0x278)],()=>{const _0x3dac58=_0x286a34;process[_0x3dac58(0x1e0)](_0x4fb4ee,_0x2a6a09),_0x82b6a['clear']();}),_0x79dc46['on'](_0x5f49e7[_0x286a34(0x1e3)],(_0x252cba,_0x49562f)=>{const _0x353ec4=_0x286a34;_0x49562f&&_0x49562f[_0x353ec4(0x27b)]&&(_0x15d6ce=_0x49562f[_0x353ec4(0x27b)][_0x353ec4(0x1a7)]||0x0);}),_0x79dc46['on'](_0x5f49e7['oFuoz'],(_0x40a470,_0x490558)=>{const _0x56f91f=_0x286a34;try{_0x27ba60=null;const _0x655835=_0x490558['item'],_0x2d67fb=_0x655835[_0x56f91f(0x248)]()?_0x5f49e7[_0x56f91f(0x19e)](getParentTitles,_0x655835[_0x56f91f(0x248)]()):[],_0x140d82=_0x5f49e7[_0x56f91f(0x203)](_0x2d67fb[_0x56f91f(0x1bf)],0x1)?_0x2d67fb[_0x56f91f(0x1b7)](0x1):_0x2d67fb,_0x3c628f=_0x490558['cursor']&&_0x490558[_0x56f91f(0x27b)]['ref'],_0x4cfdb0={'itemName':_0x655835[_0x56f91f(0x26b)],'scopes':_0x140d82[_0x56f91f(0x1e6)]([_0x655835['name']]),'location':_0x1e9d0e,'collectionName':_0x14bc57,'startedAt':new Date()[_0x56f91f(0x21d)](),'startTimestamp':Date['now'](),'lastResponseCode':null,'httpLog':null,'assertions':[],'bufferedLogs':[]};_0x82b6a[_0x56f91f(0x21b)](_0x655835['id']+'_'+_0x15d6ce,_0x4cfdb0),_0x3c628f&&_0x82b6a[_0x56f91f(0x21b)](_0x3c628f+'_'+_0x15d6ce,_0x4cfdb0);}catch(_0x4bb340){_0x5f49e7['FDlYA'](debug,_0x56f91f(0x20e)+_0x4bb340);}}),_0x79dc46['on'](_0x5f49e7[_0x286a34(0x1de)],(_0x1fdf92,_0x50fbb2)=>{const _0x3e44f0=_0x286a34;try{if(!_0x50fbb2||!_0x50fbb2[_0x3e44f0(0x1d5)])return;const _0x29e010=_0x82b6a[_0x3e44f0(0x239)](_0x50fbb2[_0x3e44f0(0x1d5)]['id']+'_'+_0x15d6ce);if(!_0x29e010)return;_0x50fbb2[_0x3e44f0(0x1f7)]&&(_0x29e010[_0x3e44f0(0x268)]=_0x50fbb2[_0x3e44f0(0x1f7)][_0x3e44f0(0x1f2)]||null);if(!_0x50fbb2['request'])return;let _0x1bc950='',_0x1c9a05='';if(_0x50fbb2[_0x3e44f0(0x1a9)]['url'])try{const _0x4d75dc=_0x50fbb2[_0x3e44f0(0x1a9)][_0x3e44f0(0x1fa)][_0x3e44f0(0x204)](),_0x3a638b=new URL(_0x4d75dc[_0x3e44f0(0x1b2)](_0x5f49e7[_0x3e44f0(0x1e2)])?_0x4d75dc:'http://'+_0x4d75dc);_0x1bc950=_0x3a638b['hostname'],_0x1c9a05=_0x5f49e7[_0x3e44f0(0x265)](_0x3a638b['pathname'],_0x3a638b['search']);}catch(_0x567637){_0x1c9a05=_0x50fbb2[_0x3e44f0(0x1a9)][_0x3e44f0(0x1fa)][_0x3e44f0(0x204)]();}const _0x5394d6={};_0x5394d6[_0x3e44f0(0x1bb)]=_0x1bc950,_0x5394d6[_0x3e44f0(0x275)]=_0x1c9a05,_0x5394d6[_0x3e44f0(0x1ba)]=_0x50fbb2['request']['method']||_0x5f49e7[_0x3e44f0(0x1e1)],_0x5394d6[_0x3e44f0(0x1cc)]={},_0x5394d6[_0x3e44f0(0x1c7)]=_0x50fbb2['response']?_0x50fbb2[_0x3e44f0(0x1f7)][_0x3e44f0(0x1f2)]||0x0:0x0,_0x5394d6['duration_ms']=_0x50fbb2['response']?_0x50fbb2[_0x3e44f0(0x1f7)][_0x3e44f0(0x22d)]||0x0:0x0,_0x29e010[_0x3e44f0(0x1c2)]=_0x5394d6;}catch(_0x2a9f8f){_0x5f49e7[_0x3e44f0(0x1b1)](debug,_0x3e44f0(0x20a)+_0x2a9f8f);}}),_0x79dc46['on'](_0x5f49e7[_0x286a34(0x1fe)],(_0x395c02,_0x210b1c)=>{const _0x4f5596=_0x286a34;try{if(!_0x210b1c||!_0x210b1c[_0x4f5596(0x1d5)])return;const _0x37c418=_0x82b6a[_0x4f5596(0x239)](_0x210b1c[_0x4f5596(0x1d5)]['id']+'_'+_0x15d6ce);if(!_0x37c418)return;const _0x5d5426=_0x210b1c['assertion']||_0x4f5596(0x214)+_0x5f49e7['uxoOr'](_0x37c418[_0x4f5596(0x26c)][_0x4f5596(0x1bf)],0x1),_0x1eefd1=_0x5f49e7['ynIox'](uuidv4),_0x46f209=_0x37c418[_0x4f5596(0x1ff)][_0x4f5596(0x1e6)]([_0x5d5426])[_0x4f5596(0x282)]('\x20');_0x37c418[_0x4f5596(0x26c)][_0x4f5596(0x233)]({'uuid':_0x1eefd1,'name':_0x5d5426,'identifier':_0x46f209,'err':_0x5f49e7[_0x4f5596(0x1ae)](_0x395c02,null)});const _0xf5bb8a={};_0xf5bb8a['uuid']=_0x1eefd1,_0xf5bb8a[_0x4f5596(0x26b)]=_0x5d5426,_0xf5bb8a[_0x4f5596(0x18f)]=_0x46f209,_0x5f49e7[_0x4f5596(0x285)](emitTest,HookState[_0x4f5596(0x252)],_0xf5bb8a,_0x37c418,_0x4970dd,{});_0x5f49e7[_0x4f5596(0x270)](_0x37c418[_0x4f5596(0x26c)][_0x4f5596(0x1bf)],0x1)&&_0x5f49e7[_0x4f5596(0x193)](_0x37c418[_0x4f5596(0x284)][_0x4f5596(0x1bf)],0x0)&&(_0x37c418['bufferedLogs']['forEach'](_0x2d495d=>{const _0x2e7ae4=_0x4f5596;_0x5f49e7[_0x2e7ae4(0x228)](emitLog,_0x1eefd1,{'kind':_0x5f49e7['vCpwq'],'message':_0x2d495d['message'],'level':_0x2d495d[_0x2e7ae4(0x217)]});}),_0x37c418['bufferedLogs']=[]);if(_0x37c418['httpLog']){_0x5f49e7[_0x4f5596(0x247)](emitLog,_0x1eefd1,{'kind':_0x5f49e7[_0x4f5596(0x272)],'http_response':_0x37c418[_0x4f5596(0x1c2)]});const _0x264dd7=_0x5f49e7[_0x4f5596(0x265)](_0x5f49e7[_0x4f5596(0x265)](_0x5f49e7[_0x4f5596(0x26d)](_0x5f49e7[_0x4f5596(0x1aa)](_0x5f49e7['uxoOr'](_0x5f49e7[_0x4f5596(0x240)](_0x5f49e7['bfFnH'](_0x5f49e7[_0x4f5596(0x25e)](_0x37c418[_0x4f5596(0x1c2)][_0x4f5596(0x1ba)]||_0x5f49e7['wOQoG'],'\x20'),_0x37c418[_0x4f5596(0x1c2)]['host']),_0x37c418[_0x4f5596(0x1c2)][_0x4f5596(0x275)]),_0x5f49e7[_0x4f5596(0x20b)]),_0x37c418[_0x4f5596(0x1c2)][_0x4f5596(0x1c7)]),'\x20('),_0x37c418['httpLog'][_0x4f5596(0x1c3)]),_0x5f49e7[_0x4f5596(0x198)]);_0x5f49e7[_0x4f5596(0x1fd)](emitLog,_0x1eefd1,{'kind':_0x5f49e7['vCpwq'],'message':_0x264dd7,'level':_0x5f49e7['aHEtw']});}_0x27ba60=_0x1eefd1;}catch(_0x5b8d77){_0x5f49e7['ydUZf'](debug,'[Newman\x20Reporter]\x20Error\x20in\x20assertion:\x20'+_0x5b8d77);}}),_0x79dc46['on'](_0x5f49e7[_0x286a34(0x25d)],(_0x4d855f,_0x5d03f6)=>{const _0x45b76b=_0x286a34;try{if(!_0x5d03f6)return;let _0x3a19ea=_0x27ba60;if(!_0x3a19ea&&_0x5d03f6[_0x45b76b(0x27b)]&&_0x5d03f6[_0x45b76b(0x27b)][_0x45b76b(0x1a8)]){const _0x252216=_0x82b6a[_0x45b76b(0x239)](_0x5d03f6[_0x45b76b(0x27b)]['ref']+'_'+_0x15d6ce);_0x252216&&_0x5f49e7[_0x45b76b(0x203)](_0x252216[_0x45b76b(0x26c)][_0x45b76b(0x1bf)],0x0)&&(_0x3a19ea=_0x252216[_0x45b76b(0x26c)][_0x5f49e7['IJeoI'](_0x252216[_0x45b76b(0x26c)][_0x45b76b(0x1bf)],0x1)][_0x45b76b(0x190)]);}const _0x2f8dc3=_0x5d03f6['messages']?_0x5d03f6[_0x45b76b(0x1c0)]['join'](',\x20'):'';if(_0x3a19ea)_0x5f49e7['cObnn'](emitLog,_0x3a19ea,{'kind':_0x5f49e7[_0x45b76b(0x20c)],'message':_0x2f8dc3,'level':_0x5f49e7[_0x45b76b(0x19e)](normalizeLogLevel,_0x5d03f6[_0x45b76b(0x217)])});else{if(_0x5d03f6[_0x45b76b(0x27b)]&&_0x5d03f6['cursor'][_0x45b76b(0x1a8)]){const _0xacb784=_0x82b6a[_0x45b76b(0x239)](_0x5d03f6[_0x45b76b(0x27b)][_0x45b76b(0x1a8)]+'_'+_0x15d6ce);_0xacb784&&_0xacb784[_0x45b76b(0x284)][_0x45b76b(0x233)]({'timestamp':new Date()[_0x45b76b(0x21d)](),'level':_0x5f49e7[_0x45b76b(0x245)](normalizeLogLevel,_0x5d03f6[_0x45b76b(0x217)]),'message':_0x2f8dc3});}}}catch(_0x578e99){_0x5f49e7['FDlYA'](debug,_0x45b76b(0x19a)+_0x578e99);}}),_0x79dc46['on'](_0x5f49e7[_0x286a34(0x280)],(_0xe75c0d,_0xeb1ff2)=>{const _0x1e5377=_0x286a34;try{if(!_0xe75c0d&&(!_0xeb1ff2||!_0xeb1ff2[_0x1e5377(0x210)]))return;const _0x3ac8b0=_0xe75c0d||_0xeb1ff2[_0x1e5377(0x210)],_0x2be510=_0x3ac8b0[_0x1e5377(0x18c)]||_0x5f49e7['FDlYA'](String,_0x3ac8b0),_0x48f316=_0x3ac8b0[_0x1e5377(0x19c)]||_0x2be510;let _0x1b1f7d=_0x27ba60;if(_0x5f49e7[_0x1e5377(0x227)](!_0x1b1f7d,_0xeb1ff2)&&_0xeb1ff2['cursor']&&_0xeb1ff2[_0x1e5377(0x27b)][_0x1e5377(0x1a8)]){const _0x198ad7=_0x82b6a[_0x1e5377(0x239)](_0xeb1ff2[_0x1e5377(0x27b)][_0x1e5377(0x1a8)]+'_'+_0x15d6ce);_0x198ad7&&_0x5f49e7[_0x1e5377(0x22a)](_0x198ad7[_0x1e5377(0x26c)][_0x1e5377(0x1bf)],0x0)&&(_0x1b1f7d=_0x198ad7['assertions'][_0x5f49e7[_0x1e5377(0x1be)](_0x198ad7[_0x1e5377(0x26c)][_0x1e5377(0x1bf)],0x1)][_0x1e5377(0x190)]);}_0x1b1f7d&&_0x5f49e7['MVqpk'](emitLog,_0x1b1f7d,{'kind':_0x5f49e7[_0x1e5377(0x20c)],'message':_0x5f49e7[_0x1e5377(0x261)](_0x5f49e7[_0x1e5377(0x26a)],_0x48f316),'level':_0x5f49e7[_0x1e5377(0x209)]});}catch(_0x19c6dc){_0x5f49e7[_0x1e5377(0x19e)](debug,_0x5f49e7['INNpi'](_0x5f49e7[_0x1e5377(0x24b)],_0x19c6dc));}}),_0x79dc46['on'](_0x5f49e7[_0x286a34(0x1e5)],(_0x394e57,_0x1fd654)=>{const _0x3dad42=_0x286a34;try{if(!_0x1fd654||!_0x1fd654['execution'])return;let _0x3d3485=_0x27ba60;if(!_0x3d3485&&_0x1fd654['cursor']&&_0x1fd654[_0x3dad42(0x27b)][_0x3dad42(0x1a8)]){const _0x384c9d=_0x82b6a['get'](_0x1fd654[_0x3dad42(0x27b)][_0x3dad42(0x1a8)]+'_'+_0x15d6ce);_0x384c9d&&_0x5f49e7[_0x3dad42(0x238)](_0x384c9d[_0x3dad42(0x26c)][_0x3dad42(0x1bf)],0x0)&&(_0x3d3485=_0x384c9d['assertions'][_0x5f49e7[_0x3dad42(0x20d)](_0x384c9d[_0x3dad42(0x26c)]['length'],0x1)][_0x3dad42(0x190)]);}if(!_0x3d3485)return;const _0x2e0db4=_0x1fd654[_0x3dad42(0x1ca)]&&_0x1fd654[_0x3dad42(0x1ca)][_0x3dad42(0x1eb)]||_0x5f49e7['bmNML'];_0x394e57&&_0x5f49e7['jBRln'](emitLog,_0x3d3485,{'kind':_0x5f49e7[_0x3dad42(0x20c)],'message':_0x5f49e7[_0x3dad42(0x215)](_0x5f49e7[_0x3dad42(0x1d3)](_0x5f49e7[_0x3dad42(0x240)](_0x5f49e7[_0x3dad42(0x1f3)],_0x2e0db4),_0x5f49e7['LTdyB']),_0x394e57[_0x3dad42(0x18c)]||_0x394e57),'level':_0x5f49e7['olisl']});}catch(_0x3409fb){_0x5f49e7[_0x3dad42(0x1b3)](debug,_0x5f49e7[_0x3dad42(0x191)](_0x5f49e7[_0x3dad42(0x224)],_0x3409fb));}}),_0x79dc46['on'](_0x5f49e7[_0x286a34(0x27d)],(_0x3e781c,_0x22b436)=>{const _0x1a5424=_0x286a34,_0x15590a={'BCtNa':_0x5f49e7[_0x1a5424(0x255)],'ACSaY':_0x5f49e7['WTmZw'],'ufBXJ':function(_0x537f1e,_0x2bc87b){const _0x22d75a=_0x1a5424;return _0x5f49e7[_0x22d75a(0x220)](_0x537f1e,_0x2bc87b);},'nVTZk':_0x5f49e7[_0x1a5424(0x235)],'ojQps':_0x5f49e7[_0x1a5424(0x259)],'sMEcD':_0x5f49e7[_0x1a5424(0x1ee)],'egzov':function(_0x290a1b,_0x3f747b,_0x58a8ba,_0x486f26,_0x2d4875,_0x4d78f9){return _0x5f49e7['NCJnS'](_0x290a1b,_0x3f747b,_0x58a8ba,_0x486f26,_0x2d4875,_0x4d78f9);},'lbcjy':function(_0x3c1a3e,_0x30a167,_0x333a50){const _0x5dfcdb=_0x1a5424;return _0x5f49e7[_0x5dfcdb(0x1b0)](_0x3c1a3e,_0x30a167,_0x333a50);},'ULyuc':_0x5f49e7['vCpwq']};try{if(!_0x22b436||!_0x22b436[_0x1a5424(0x1d5)])return;const _0x43b787=_0x22b436[_0x1a5424(0x1d5)]['id']+'_'+_0x15d6ce,_0x2a95f2=_0x82b6a['get'](_0x43b787);if(!_0x2a95f2)return;const _0xd1334a=new Date(),_0x28db9a=_0x5f49e7[_0x1a5424(0x1be)](_0xd1334a[_0x1a5424(0x24f)](),_0x2a95f2['startTimestamp']);if(_0x5f49e7[_0x1a5424(0x274)](_0x2a95f2[_0x1a5424(0x26c)][_0x1a5424(0x1bf)],0x0))_0x2a95f2['assertions'][_0x1a5424(0x208)](_0x30608d=>{const _0x7228d4=_0x1a5424,_0x59a7ce=!!_0x30608d[_0x7228d4(0x1ed)],_0x5b9619={'finishedAt':_0xd1334a['toISOString'](),'durationMs':_0x28db9a,'result':_0x59a7ce?_0x15590a[_0x7228d4(0x221)]:_0x15590a[_0x7228d4(0x225)]};_0x59a7ce&&(_0x5b9619[_0x7228d4(0x20f)]=_0x30608d[_0x7228d4(0x1ed)]['message']||'',_0x5b9619[_0x7228d4(0x26e)]=_0x15590a[_0x7228d4(0x22c)](_0x30608d[_0x7228d4(0x1ed)][_0x7228d4(0x26b)],_0x15590a[_0x7228d4(0x1a1)])||_0x30608d[_0x7228d4(0x1ed)][_0x7228d4(0x18c)]&&_0x30608d['err'][_0x7228d4(0x18c)][_0x7228d4(0x232)](_0x15590a[_0x7228d4(0x271)])?_0x15590a[_0x7228d4(0x1a1)]:_0x15590a[_0x7228d4(0x27a)],_0x5b9619[_0x7228d4(0x23d)]=[{'backtrace':_0x30608d[_0x7228d4(0x1ed)][_0x7228d4(0x19c)]?_0x30608d[_0x7228d4(0x1ed)]['stack'][_0x7228d4(0x1d2)]('\x0a'):[_0x30608d['err'][_0x7228d4(0x18c)]||''],'expanded':[]}]),_0x15590a[_0x7228d4(0x24c)](emitTest,HookState[_0x7228d4(0x231)],_0x30608d,_0x2a95f2,_0x4970dd,_0x5b9619);});else{const _0x49af6a=_0x5f49e7[_0x1a5424(0x1a0)](uuidv4),_0x25228e=_0x2a95f2[_0x1a5424(0x268)],_0x270eb3=_0x5f49e7[_0x1a5424(0x243)](_0x25228e,null)&&_0x5f49e7[_0x1a5424(0x250)](_0x25228e,0xc8)&&_0x5f49e7[_0x1a5424(0x257)](_0x25228e,0x190),_0x5a2f69=_0x2a95f2[_0x1a5424(0x1a3)]+'\x20(HTTP\x20'+_0x5f49e7['mycHY'](_0x25228e,_0x5f49e7['SkGxe'])+')',_0x2f1979={'uuid':_0x49af6a,'name':_0x5a2f69,'identifier':_0x2a95f2[_0x1a5424(0x1ff)][_0x1a5424(0x1e6)]([_0x5a2f69])[_0x1a5424(0x282)]('\x20')},_0x3b1a6a={'finishedAt':_0xd1334a[_0x1a5424(0x21d)](),'durationMs':_0x28db9a,'result':_0x270eb3?_0x5f49e7['WTmZw']:_0x5f49e7['FWFUk']};!_0x270eb3&&(_0x3b1a6a['failureReason']=_0x5f49e7['YgwSB'](_0x25228e,null)?_0x1a5424(0x23e)+_0x25228e+_0x1a5424(0x1c5):_0x5f49e7['nPNPp'],_0x3b1a6a[_0x1a5424(0x26e)]=_0x5f49e7[_0x1a5424(0x1ee)],_0x3b1a6a[_0x1a5424(0x23d)]=[{'backtrace':[_0x3b1a6a[_0x1a5424(0x20f)]],'expanded':[]}]);_0x5f49e7[_0x1a5424(0x285)](emitTest,HookState[_0x1a5424(0x252)],_0x2f1979,_0x2a95f2,_0x4970dd,{}),_0x2a95f2[_0x1a5424(0x284)][_0x1a5424(0x208)](_0x10b1ef=>{const _0x2595f7=_0x1a5424;_0x15590a[_0x2595f7(0x195)](emitLog,_0x49af6a,{'kind':_0x15590a[_0x2595f7(0x246)],'message':_0x10b1ef[_0x2595f7(0x18c)],'level':_0x10b1ef['level']});});if(_0x2a95f2['httpLog']){_0x5f49e7[_0x1a5424(0x223)](emitLog,_0x49af6a,{'kind':_0x5f49e7['JAQNA'],'http_response':_0x2a95f2[_0x1a5424(0x1c2)]});const _0x48353e=_0x5f49e7[_0x1a5424(0x26d)](_0x5f49e7[_0x1a5424(0x1b6)](_0x5f49e7[_0x1a5424(0x1c9)](_0x5f49e7[_0x1a5424(0x222)](_0x5f49e7[_0x1a5424(0x25e)](_0x5f49e7['gzapo'](_0x5f49e7[_0x1a5424(0x1d3)](_0x5f49e7[_0x1a5424(0x1b6)](_0x2a95f2[_0x1a5424(0x1c2)][_0x1a5424(0x1ba)]||_0x5f49e7['wOQoG'],'\x20'),_0x2a95f2['httpLog'][_0x1a5424(0x1bb)]),_0x2a95f2['httpLog'][_0x1a5424(0x275)]),_0x5f49e7[_0x1a5424(0x20b)]),_0x2a95f2[_0x1a5424(0x1c2)][_0x1a5424(0x1c7)]),'\x20('),_0x2a95f2[_0x1a5424(0x1c2)]['duration_ms']),_0x5f49e7[_0x1a5424(0x198)]);_0x5f49e7['LAVZX'](emitLog,_0x49af6a,{'kind':_0x5f49e7[_0x1a5424(0x20c)],'message':_0x48353e,'level':_0x5f49e7[_0x1a5424(0x241)]});}else _0x5f49e7[_0x1a5424(0x196)](emitLog,_0x49af6a,{'kind':_0x5f49e7['vCpwq'],'message':_0x5f49e7['iciPE'](_0x5f49e7[_0x1a5424(0x230)](_0x5f49e7[_0x1a5424(0x1f1)],_0x5f49e7['mycHY'](_0x25228e,_0x5f49e7[_0x1a5424(0x1bc)])),_0x5f49e7[_0x1a5424(0x23f)]),'level':_0x5f49e7['aHEtw']});_0x5f49e7[_0x1a5424(0x1ad)](emitTest,HookState[_0x1a5424(0x231)],_0x2f1979,_0x2a95f2,_0x4970dd,_0x3b1a6a);}_0x82b6a[_0x1a5424(0x1df)](_0x43b787),_0x22b436[_0x1a5424(0x27b)]&&_0x22b436[_0x1a5424(0x27b)][_0x1a5424(0x1a8)]&&_0x82b6a[_0x1a5424(0x1df)](_0x22b436['cursor'][_0x1a5424(0x1a8)]+'_'+_0x15d6ce);}catch(_0x5433af){_0x5f49e7[_0x1a5424(0x1c6)](debug,_0x1a5424(0x219)+_0x5433af);}});}module['exports']=BrowserStackNewmanReporter;
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_0xbb2ecd=a44_0x6dca;(function(_0x296472,_0x54b20d){const _0x57005b=a44_0x6dca,_0x484cbd=_0x296472();while(!![]){try{const _0x479b3d=-parseInt(_0x57005b(0x1a1))/0x1+parseInt(_0x57005b(0x186))/0x2+parseInt(_0x57005b(0x172))/0x3+-parseInt(_0x57005b(0x190))/0x4*(-parseInt(_0x57005b(0x195))/0x5)+-parseInt(_0x57005b(0x187))/0x6*(-parseInt(_0x57005b(0x1a0))/0x7)+-parseInt(_0x57005b(0x1a4))/0x8*(parseInt(_0x57005b(0x183))/0x9)+-parseInt(_0x57005b(0x19e))/0xa;if(_0x479b3d===_0x54b20d)break;else _0x484cbd['push'](_0x484cbd['shift']());}catch(_0x23fb31){_0x484cbd['push'](_0x484cbd['shift']());}}}(a44_0xabdb,0x623c7));function a44_0x6dca(_0x347dcc,_0x33bfb4){const _0xabdbb7=a44_0xabdb();return a44_0x6dca=function(_0x6dca7c,_0x4c9cd1){_0x6dca7c=_0x6dca7c-0x170;let _0x2aa2b4=_0xabdbb7[_0x6dca7c];return _0x2aa2b4;},a44_0x6dca(_0x347dcc,_0x33bfb4);}const path=require(a44_0xbb2ecd(0x176)),Module=require(a44_0xbb2ecd(0x194)),BrowserstackCLI=require('../v2/browserstackCLI'),scriptFile=process['argv'][0x2],maxParallel=parseInt(process[a44_0xbb2ecd(0x174)][0x3])||0x0;!scriptFile&&(process[a44_0xbb2ecd(0x182)][a44_0xbb2ecd(0x19a)](a44_0xbb2ecd(0x197)),process[a44_0xbb2ecd(0x1a3)](0x1));const reporterPath=path['join'](__dirname,a44_0xbb2ecd(0x19b),a44_0xbb2ecd(0x185)),originalResolveFilename=Module[a44_0xbb2ecd(0x18e)];Module[a44_0xbb2ecd(0x18e)]=function(_0x181c08,_0x2e3bf2,_0xbbdbb1,_0x40870c){const _0x59eb2c=a44_0xbb2ecd,_0x247183={};_0x247183[_0x59eb2c(0x18c)]=function(_0x50f754,_0x1aa0af){return _0x50f754===_0x1aa0af;},_0x247183[_0x59eb2c(0x1ae)]='newman-reporter-browserstack';const _0x1b1781=_0x247183;if(_0x1b1781[_0x59eb2c(0x18c)](_0x181c08,_0x1b1781[_0x59eb2c(0x1ae)]))return reporterPath;return originalResolveFilename[_0x59eb2c(0x1ac)](this,_0x181c08,_0x2e3bf2,_0xbbdbb1,_0x40870c);};let limit;try{const pLimit=require(a44_0xbb2ecd(0x1a6)),concurrency=maxParallel&&maxParallel>0x0?maxParallel:Infinity;limit=pLimit(concurrency);}catch(a44_0x400aa5){limit=function(_0x23bb83){const _0x55ec7c=a44_0xbb2ecd,_0x5664db={'QFtWf':function(_0xa89eff){return _0xa89eff();}};return _0x5664db[_0x55ec7c(0x1a7)](_0x23bb83);};}let wrappedNewman=null,hasFailure=![];const originalLoad=Module[a44_0xbb2ecd(0x19d)];function a44_0xabdb(){const _0x2b9545=['exitCode','run','beforeExit','failures','call','XJdkM','GNfoh','ZpQJy','cli','Frvcn','create','2393274exGIVw','collection','argv','pLHIh','path','iTysS','pcFVQ','concat','hriHk','assign','error','bootstrap','newman','message','Hutpv','YUPGd','stderr','938205wcZyEr','collectionPath','index.js','21618unOmRT','84JkKswn','browserstack','NSdFv','Cqkbd','string','UbYap','AIozC','_resolveFilename','getInstance','491316VSJWFB','resolve','[Newman]\x20scriptRunner:\x20failed\x20to\x20load\x20script:\x20','GPUZO','module','5ZRBagV','reporters','[Newman]\x20scriptRunner:\x20no\x20script\x20file\x20provided\x0a','SQGtW','zLmKT','write','reporter','length','_load','3155330TJzQZO','bind','278929dwzeBx','667101xZzZJR','fZZbx','exit','8VLtLeh','mdPeO','p-limit','QFtWf'];a44_0xabdb=function(){return _0x2b9545;};return a44_0xabdb();}Module[a44_0xbb2ecd(0x19d)]=function(_0x40978b,_0x4e79cf,_0x5ce023){const _0x26ddce=a44_0xbb2ecd,_0x1e93d4={'pcFVQ':function(_0x57777f,_0x24b06d){return _0x57777f>_0x24b06d;},'NSdFv':function(_0x1a67cd,_0x647d9e){return _0x1a67cd||_0x647d9e;},'Hutpv':function(_0x4c43fd,_0x15864d,_0x285728){return _0x4c43fd(_0x15864d,_0x285728);},'oZagT':function(_0x841260,_0x4f2d2a){return _0x841260(_0x4f2d2a);},'YUPGd':_0x26ddce(0x1b0),'AIozC':function(_0x110b17,_0x1941af){return _0x110b17===_0x1941af;},'mdPeO':_0x26ddce(0x188),'hriHk':_0x26ddce(0x18b),'fZZbx':function(_0x43263a,_0x27d2b0){return _0x43263a(_0x27d2b0);},'GPUZO':function(_0x573653,_0x242b56){return _0x573653!==_0x242b56;},'Cqkbd':_0x26ddce(0x17e)},_0x5808cd=originalLoad[_0x26ddce(0x1ac)](this,_0x40978b,_0x4e79cf,_0x5ce023);if(_0x1e93d4[_0x26ddce(0x193)](_0x40978b,_0x1e93d4[_0x26ddce(0x18a)]))return _0x5808cd;if(wrappedNewman)return wrappedNewman;const _0xfa3213=_0x5808cd[_0x26ddce(0x1a9)][_0x26ddce(0x19f)](_0x5808cd);return wrappedNewman=Object[_0x26ddce(0x171)](_0x5808cd),wrappedNewman[_0x26ddce(0x1a9)]=function(_0x2bdcfa,_0x2659bb){const _0x4746ab=_0x26ddce;let _0x5b5716=_0x2bdcfa[_0x4746ab(0x196)]||[_0x1e93d4[_0x4746ab(0x181)]];_0x1e93d4['AIozC'](_0x5b5716['indexOf'](_0x1e93d4[_0x4746ab(0x1a5)]),-0x1)&&(_0x5b5716=_0x5b5716[_0x4746ab(0x179)]([_0x1e93d4[_0x4746ab(0x1a5)]]));const _0x1dec1e=_0x1e93d4[_0x4746ab(0x18d)](typeof _0x2bdcfa[_0x4746ab(0x173)],_0x1e93d4[_0x4746ab(0x17a)])?_0x2bdcfa[_0x4746ab(0x173)]:undefined,_0x573d97={};_0x573d97[_0x4746ab(0x184)]=_0x1dec1e;const _0x31ef04=Object[_0x4746ab(0x17b)]({},_0x2bdcfa['reporter'],{'browserstack':Object[_0x4746ab(0x17b)]({},_0x2bdcfa[_0x4746ab(0x19b)]&&_0x2bdcfa[_0x4746ab(0x19b)][_0x4746ab(0x188)],_0x573d97)}),_0x54a446={};return _0x54a446[_0x4746ab(0x196)]=_0x5b5716,_0x54a446[_0x4746ab(0x19b)]=_0x31ef04,_0x2bdcfa=Object[_0x4746ab(0x17b)]({},_0x2bdcfa,_0x54a446),_0x1e93d4[_0x4746ab(0x1a2)](limit,function(){const _0x5ed6e1={'ZpQJy':function(_0x32694f,_0x2dc162){const _0x53e898=a44_0x6dca;return _0x1e93d4[_0x53e898(0x178)](_0x32694f,_0x2dc162);},'pLHIh':function(_0x3737e4,_0x39847f){const _0x8948c6=a44_0x6dca;return _0x1e93d4[_0x8948c6(0x189)](_0x3737e4,_0x39847f);},'XJdkM':function(_0xd78132,_0x549287,_0x367060){const _0x11f73a=a44_0x6dca;return _0x1e93d4[_0x11f73a(0x180)](_0xd78132,_0x549287,_0x367060);},'SQGtW':function(_0x2dbf9e,_0x18c1bb){return _0x1e93d4['oZagT'](_0x2dbf9e,_0x18c1bb);}};return new Promise(function(_0x4ce7e2){const _0x36bd03=a44_0x6dca;_0x5ed6e1[_0x36bd03(0x1ad)](_0xfa3213,_0x2bdcfa,function(_0x303aef,_0x461a19){const _0x3b8471=_0x36bd03,_0x30129a=_0x461a19&&_0x461a19['run']&&(_0x461a19[_0x3b8471(0x1a9)][_0x3b8471(0x17c)]||_0x461a19['run'][_0x3b8471(0x1ab)]&&_0x5ed6e1[_0x3b8471(0x1af)](_0x461a19[_0x3b8471(0x1a9)][_0x3b8471(0x1ab)][_0x3b8471(0x19c)],0x0));_0x5ed6e1[_0x3b8471(0x175)](_0x30129a,_0x303aef)&&(hasFailure=!![]),_0x2659bb&&_0x5ed6e1['XJdkM'](_0x2659bb,_0x303aef,_0x461a19),_0x5ed6e1[_0x3b8471(0x198)](_0x4ce7e2,_0x461a19);});});});},wrappedNewman;};async function main(){const _0x14bd90=a44_0xbb2ecd,_0x1bd5c0={'Frvcn':function(_0x49ad97,_0x215f4a){return _0x49ad97(_0x215f4a);},'TnEkl':function(_0xc8369f,_0x476e5a){return _0xc8369f+_0x476e5a;},'iTysS':_0x14bd90(0x192)};try{await BrowserstackCLI[_0x14bd90(0x18f)]()[_0x14bd90(0x17d)]();}catch(_0x592b14){}try{_0x1bd5c0[_0x14bd90(0x170)](require,path[_0x14bd90(0x191)](scriptFile));}catch(_0x53f343){process['stderr'][_0x14bd90(0x19a)](_0x1bd5c0['TnEkl'](_0x1bd5c0['TnEkl'](_0x1bd5c0[_0x14bd90(0x177)],_0x53f343[_0x14bd90(0x17f)]||_0x53f343),'\x0a')),process[_0x14bd90(0x1a8)]=0x1;}}main(),process['on'](a44_0xbb2ecd(0x1aa),function(){const _0xee403b=a44_0xbb2ecd;hasFailure&&(process[_0xee403b(0x1a8)]=0x1);}),process['on'](a44_0xbb2ecd(0x1a3),function(){const _0x2985eb=a44_0xbb2ecd,_0x2afb94={};_0x2afb94['zLmKT']=function(_0x5d5963,_0x235487){return _0x5d5963===_0x235487;};const _0x47891c=_0x2afb94;hasFailure&&_0x47891c[_0x2985eb(0x199)](process[_0x2985eb(0x1a8)],0x0)&&(process['exitCode']=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_0x52fca8=a45_0x59bc;(function(_0x439465,_0x4732ac){const _0x7881ff=a45_0x59bc,_0x16d4a2=_0x439465();while(!![]){try{const _0x55d007=parseInt(_0x7881ff(0xc4))/0x1+-parseInt(_0x7881ff(0xf7))/0x2+parseInt(_0x7881ff(0xf9))/0x3*(parseInt(_0x7881ff(0x10d))/0x4)+-parseInt(_0x7881ff(0xfc))/0x5+-parseInt(_0x7881ff(0xc8))/0x6+-parseInt(_0x7881ff(0xdb))/0x7+parseInt(_0x7881ff(0x105))/0x8;if(_0x55d007===_0x4732ac)break;else _0x16d4a2['push'](_0x16d4a2['shift']());}catch(_0x4156cc){_0x16d4a2['push'](_0x16d4a2['shift']());}}}(a45_0x198b,0x6651e));function a45_0x59bc(_0x56f8b7,_0x413fee){const _0x198ba2=a45_0x198b();return a45_0x59bc=function(_0x59bcf2,_0x1762dc){_0x59bcf2=_0x59bcf2-0xbe;let _0x5c9773=_0x198ba2[_0x59bcf2];return _0x5c9773;},a45_0x59bc(_0x56f8b7,_0x413fee);}const fs=require('fs'),path=require('path'),{spawn}=require(a45_0x52fca8(0xcc)),logger=require('../../helpers/logger')[a45_0x52fca8(0xc7)],{default:BrowserStackSetup}=require(a45_0x52fca8(0xfb)),helper=require(a45_0x52fca8(0x109)),constants=require(a45_0x52fca8(0xff)),getUserNightwatchConfigs=(_0xa75d00,_0x42917e)=>{const _0x176e99=a45_0x52fca8,_0x187670={'FUgbC':'nightwatch.conf.js','xLGoV':_0x176e99(0x102),'nsJyt':function(_0x4f5715,_0xdbcf6){return _0x4f5715(_0xdbcf6);},'KHnBb':_0x176e99(0xc1)};let _0x56292b=null,_0x54d904={};const _0x1c22cc=_0x42917e['findIndex'](_0x364c9e=>_0x364c9e===_0x176e99(0xd3)),_0x4e7b80=!helper[_0x176e99(0xda)](_0xa75d00[_0x176e99(0xc9)])?helper[_0x176e99(0xfe)](_0xa75d00['config']):null;!helper[_0x176e99(0xda)](_0xa75d00[_0x176e99(0xc9)])&&!_0x4e7b80&&logger[_0x176e99(0xce)](_0x176e99(0xd8)+_0xa75d00['config']+_0x176e99(0xea));if(_0x4e7b80&&fs[_0x176e99(0xe4)](_0x4e7b80))_0x56292b=_0x4e7b80,_0x42917e[_0x176e99(0xde)](_0x1c22cc,0x2);else{if(fs[_0x176e99(0xe4)](path['join'](process[_0x176e99(0xe0)](),_0x187670[_0x176e99(0xf8)])))_0x56292b=path[_0x176e99(0x108)](process[_0x176e99(0xe0)](),_0x187670['FUgbC']);else fs[_0x176e99(0xe4)](path[_0x176e99(0x108)](process[_0x176e99(0xe0)](),_0x187670[_0x176e99(0xd2)]))&&(_0x56292b=path[_0x176e99(0x108)](process[_0x176e99(0xe0)](),_0x187670['xLGoV']));}return _0x56292b?(logger[_0x176e99(0xf5)](_0x176e99(0xe3)+_0x56292b),_0x54d904=_0x187670['nsJyt'](require,_0x56292b)):logger[_0x176e99(0xf5)](_0x187670[_0x176e99(0xe8)]),_0x54d904;},removeExistingEnvs=_0x197b3b=>{const _0x534838=a45_0x52fca8,_0x1d7457={};_0x1d7457['BiAgs']=function(_0x1f2a1a,_0x4e3514){return _0x1f2a1a>_0x4e3514;};const _0x39a48c=_0x1d7457;let _0x1276e1=_0x197b3b[_0x534838(0x10f)](_0x17d4e6=>_0x17d4e6===_0x534838(0xdf));_0x39a48c[_0x534838(0x10c)](_0x1276e1,-0x1)&&_0x197b3b[_0x534838(0xde)](_0x1276e1,0x2),_0x1276e1=_0x197b3b[_0x534838(0x10f)](_0x17e1be=>_0x17e1be==='-e'),_0x39a48c[_0x534838(0x10c)](_0x1276e1,-0x1)&&_0x197b3b[_0x534838(0xde)](_0x1276e1,0x2);};function run(_0x532d2e,_0xe75021,_0x3354bd){const _0x1c1b7d=a45_0x52fca8,_0x3d3dc2={'JxeBd':_0x1c1b7d(0xcb),'UdUja':function(_0x52b1a5,_0x5d1634){return _0x52b1a5+_0x5d1634;},'nXHBM':_0x1c1b7d(0xee),'nzecd':function(_0x5a14f7,_0x8cfb99,_0x16eeac){return _0x5a14f7(_0x8cfb99,_0x16eeac);},'sPHHV':_0x1c1b7d(0x106),'tLshR':_0x1c1b7d(0xdc),'JbQmJ':function(_0x30186a,_0x12569){return _0x30186a===_0x12569;},'gIxSz':'nightwatch-browserstack.json','DICrn':function(_0x3f3c6d,_0x4ea2b2){return _0x3f3c6d(_0x4ea2b2);},'oOllM':_0x1c1b7d(0x10b),'TuAbf':function(_0x592e3a,_0x3c989d,_0x2fea23,_0x3dc903){return _0x592e3a(_0x3c989d,_0x2fea23,_0x3dc903);},'aphmx':_0x1c1b7d(0xfa),'VgfPA':'--config','EByWm':_0x1c1b7d(0xdf),'lcaFs':'inherit','FdOIv':_0x1c1b7d(0xcd)};if(!_0x3354bd[_0x1c1b7d(0xc9)])return;const _0x506412=_0x3d3dc2[_0x1c1b7d(0xd9)](getUserNightwatchConfigs,_0x532d2e,_0xe75021),_0xf93b47={};_0xf93b47[_0x1c1b7d(0xd4)]=![];const _0x58aec4={};_0x58aec4[_0x1c1b7d(0x103)]=_0x3d3dc2[_0x1c1b7d(0xcf)],_0x58aec4['port']=0x1bb;const _0x15d47f={};_0x15d47f[_0x1c1b7d(0xf3)]=_0xf93b47,_0x15d47f[_0x1c1b7d(0xef)]=_0x58aec4;const _0x4456fc=_0x15d47f;logger['info'](_0x3d3dc2[_0x1c1b7d(0xd5)]);const _0x5552ca={..._0x506412},_0x47b9e2=_0x5552ca,_0x326923=helper[_0x1c1b7d(0xed)](_0x3354bd[_0x1c1b7d(0xc9)]),_0x1f1f94=[];_0x3354bd[_0x1c1b7d(0xc9)]['platforms']['forEach']((_0x103ca8,_0x2df766)=>{const _0x29b3bb=_0x1c1b7d;_0x326923?_0x1f1f94[_0x29b3bb(0x107)](helper[_0x29b3bb(0xf0)](_0x3354bd[_0x29b3bb(0xc9)],_0x3d3dc2[_0x29b3bb(0x10a)],_0x2df766)):_0x1f1f94[_0x29b3bb(0x107)](helper[_0x29b3bb(0xdd)](_0x3354bd[_0x29b3bb(0xc9)],_0x3d3dc2[_0x29b3bb(0x10a)],_0x2df766));});const _0x463252={},_0x401203=[];_0x532d2e[_0x1c1b7d(0xe5)]=_0x532d2e[_0x1c1b7d(0xe5)]||_0x532d2e['e'];const _0x1f105b=_0x532d2e[_0x1c1b7d(0xe5)]?_0x532d2e[_0x1c1b7d(0xe5)]['trim']()[_0x1c1b7d(0xd1)](',')['map'](_0x1ad4d8=>_0x1ad4d8['trim']())[_0x1c1b7d(0xe6)](_0x14e144=>_0x14e144!==''):[''];_0x3d3dc2['JbQmJ'](_0x1f105b[_0x1c1b7d(0xf6)],0x0)&&_0x1f105b[_0x1c1b7d(0x107)]('');_0x1f105b[_0x1c1b7d(0x104)](_0x2e8332=>{const _0xf5fed7=_0x1c1b7d,_0x3548bb={'BabuD':function(_0x1a8869,_0x3ce5b4){const _0x2cbd40=a45_0x59bc;return _0x3d3dc2[_0x2cbd40(0xeb)](_0x1a8869,_0x3ce5b4);},'dfNQm':_0x3d3dc2[_0xf5fed7(0xe7)]};_0x1f1f94['forEach'](_0x22a627=>{const _0x1f0352=_0xf5fed7;let _0x32fcd8=_0x3548bb['BabuD'](helper[_0x1f0352(0xc0)](_0x22a627,'_'),'_'+Date[_0x1f0352(0xe2)]());_0x2e8332&&(_0x32fcd8+='_'+_0x2e8332);if(_0x2e8332&&(!_0x506412[_0x3548bb[_0x1f0352(0xfd)]]||!_0x506412[_0x3548bb[_0x1f0352(0xfd)]][_0x2e8332]))return;const _0xfbc818={..._0x4456fc};_0xfbc818[_0x1f0352(0xd7)]=_0x22a627;const _0x1f5282=_0xfbc818;_0x463252[_0x32fcd8]=_0x2e8332?helper[_0x1f0352(0xca)](_0x506412[_0x3548bb[_0x1f0352(0xfd)]][_0x2e8332],_0x1f5282):_0x1f5282,_0x401203[_0x1f0352(0x107)](_0x32fcd8);});});!_0x47b9e2[_0x1c1b7d(0xee)]&&(_0x47b9e2[_0x1c1b7d(0xee)]={});_0x47b9e2[_0x1c1b7d(0xee)]={..._0x47b9e2['test_settings'],..._0x463252};const _0xaa41=path['join'](__dirname,_0x3d3dc2['gIxSz']);fs[_0x1c1b7d(0x101)](_0xaa41,JSON['stringify'](_0x47b9e2)),_0x3d3dc2['DICrn'](removeExistingEnvs,_0xe75021);const _0x48e711=require[_0x1c1b7d(0xf2)](_0x3d3dc2[_0x1c1b7d(0xd6)]),_0x24dfb3=process['env']['NODE_OPTIONS']||'',_0x14fa51=_0x1c1b7d(0xbf)+JSON[_0x1c1b7d(0xec)](_0x48e711),_0x22e082=_0x24dfb3?_0x24dfb3+'\x20'+_0x14fa51:_0x14fa51,_0x1039eb=Object[_0x1c1b7d(0xbe)]({},process['env'],{'NODE_OPTIONS':_0x22e082,'BROWSERSTACK_FRAMEWORK':process[_0x1c1b7d(0xe5)]['BROWSERSTACK_FRAMEWORK']||_0x3d3dc2[_0x1c1b7d(0x10a)]}),_0x2fe118=_0x3d3dc2[_0x1c1b7d(0xc3)](spawn,/^win/[_0x1c1b7d(0x10e)](process[_0x1c1b7d(0xf1)])?_0x3d3dc2['aphmx']:_0x3d3dc2[_0x1c1b7d(0x10a)],[_0x3d3dc2['VgfPA'],_0xaa41,..._0xe75021[_0x1c1b7d(0xd0)](0x1),_0x3d3dc2[_0x1c1b7d(0xe9)],_0x401203['join'](',')],{'stdio':_0x3d3dc2[_0x1c1b7d(0xc6)],'env':_0x1039eb});_0x2fe118['on'](_0x3d3dc2[_0x1c1b7d(0xe1)],async _0x3fe3e0=>{const _0xf10f71=_0x1c1b7d;logger[_0xf10f71(0x110)](_0xf10f71(0xc2)+_0x3fe3e0),logger[_0xf10f71(0xf5)](_0xf10f71(0xc5)+_0xaa41),fs[_0xf10f71(0xf4)](_0xaa41);});}function a45_0x198b(){const _0x3468e8=['EByWm','\x22:\x20it\x20resolves\x20outside\x20the\x20project\x20directory.','UdUja','stringify','useW3C','test_settings','selenium','modifyBrowserStackW3CCaps','platform','resolve','webdriver','unlinkSync','info','length','907304VbHWgK','FUgbC','2364nZOsPy','nightwatch.cmd','../../helpers/BrowserStackSetup','902540IzSzjK','dfNQm','resolveWithinCwd','../utils/constants','exports','writeFileSync','nightwatch.json','host','forEach','9916496eBiTSS','hub.browserstack.com','push','join','../../helpers/helper','JxeBd','../../index','BiAgs','1888nyjcza','test','findIndex','debug','assign','--require\x20','getPlatformName','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','child\x20process\x20exited\x20with\x20code\x20','TuAbf','456715WPYMbW','Deleting\x20','lcaFs','winstonLogger','2408796ruKzgj','config','mergeDeep','nightwatch','child_process','close','warn','sPHHV','slice','split','xLGoV','--config','start_process','tLshR','oOllM','desiredCapabilities','Ignoring\x20--config\x20path\x20\x22','nzecd','isUndefined','4294395IwEUvf','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','modifyBrowserStackCaps','splice','--env','cwd','FdOIv','now','Getting\x20your\x20nightwatch\x20configs\x20from\x20','existsSync','env','filter','nXHBM','KHnBb'];a45_0x198b=function(){return _0x3468e8;};return a45_0x198b();}module[a45_0x52fca8(0x100)]=run;
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_0x405e01=a46_0x5ca7;(function(_0xd08f6a,_0x32b588){const _0x5bddc6=a46_0x5ca7,_0x5481b7=_0xd08f6a();while(!![]){try{const _0x1bab88=-parseInt(_0x5bddc6(0x141))/0x1*(-parseInt(_0x5bddc6(0x188))/0x2)+-parseInt(_0x5bddc6(0x1a2))/0x3+parseInt(_0x5bddc6(0x130))/0x4*(-parseInt(_0x5bddc6(0x1a0))/0x5)+-parseInt(_0x5bddc6(0x14b))/0x6*(parseInt(_0x5bddc6(0x187))/0x7)+parseInt(_0x5bddc6(0x148))/0x8*(-parseInt(_0x5bddc6(0x138))/0x9)+parseInt(_0x5bddc6(0x153))/0xa+parseInt(_0x5bddc6(0x16e))/0xb;if(_0x1bab88===_0x32b588)break;else _0x5481b7['push'](_0x5481b7['shift']());}catch(_0x2836f8){_0x5481b7['push'](_0x5481b7['shift']());}}}(a46_0x25bb,0x396c0));const util=require(a46_0x405e01(0x19c)),logger=require(a46_0x405e01(0x195))[a46_0x405e01(0x1ae)],{automationLogger}=require(a46_0x405e01(0x195)),{isAccessibilityAutomationSession}=require(a46_0x405e01(0x12d)),{isUndefined,isBrowserstackInfra}=require('../../helpers/helper'),scripts=require(a46_0x405e01(0x16a)),PerformanceTester=require(a46_0x405e01(0x167)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a46_0x405e01(0x1b2)),accessibilityHelper=require(a46_0x405e01(0x12d)),{AUTOMATION_LOG_COMMANDS}=require(a46_0x405e01(0x1a3));exports[a46_0x405e01(0x13c)]=async(_0x2b1d26,_0x4cbfdf,_0x180e40={})=>{const _0xc353e2=a46_0x405e01,_0x21add6={};_0x21add6[_0xc353e2(0x19b)]=_0xc353e2(0x163),_0x21add6['laHET']=function(_0x46c92d,_0x4cf61d){return _0x46c92d===_0x4cf61d;},_0x21add6[_0xc353e2(0x142)]=_0xc353e2(0x135);const _0x21d5c2=_0x21add6,_0x161fa1=await _0x2b1d26['evaluate']('(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'+_0x4cbfdf['replace'](/arguments/g,_0x21d5c2[_0xc353e2(0x19b)])+'\x0a\x20\x20\x20\x20})\x0a\x20\x20})('+JSON['stringify'](_0x180e40)+')');try{if(_0x4cbfdf&&_0x21d5c2[_0xc353e2(0x19e)](typeof _0x4cbfdf,_0x21d5c2[_0xc353e2(0x142)])){const _0x37410f=AUTOMATION_LOG_COMMANDS[_0xc353e2(0x1a9)](_0x130624=>_0x4cbfdf[_0xc353e2(0x12c)](_0x130624));if(_0x37410f){const _0x4d6d9e={};_0x4d6d9e[_0xc353e2(0x193)]=_0x37410f,_0x4d6d9e['parameters']=[_0x180e40];const _0x231837={};_0x231837[_0xc353e2(0x17b)]=_0x161fa1;const _0x202ccc={};_0x202ccc[_0xc353e2(0x161)]=_0x4d6d9e,_0x202ccc['response']=_0x231837,automationLogger['silly']('['+new Date()[_0xc353e2(0x143)]()+_0xc353e2(0x169)+JSON[_0xc353e2(0x194)](_0x202ccc));}}}catch(_0x55bfff){logger[_0xc353e2(0x18d)](_0xc353e2(0x16d)+_0x55bfff[_0xc353e2(0x17a)]);}return _0x161fa1;},exports[a46_0x405e01(0x12f)]=async(_0x2883a7,_0x294f8,_0x30535b={})=>{const _0x52eb84=a46_0x405e01,_0x38a787={};_0x38a787['UeiHj']=function(_0x1a473a,_0x41a176){return _0x1a473a===_0x41a176;},_0x38a787['FNcwR']=_0x52eb84(0x185),_0x38a787[_0x52eb84(0x15f)]=function(_0x55d3e9,_0x35961f){return _0x55d3e9===_0x35961f;},_0x38a787[_0x52eb84(0x1ab)]=_0x52eb84(0x18b),_0x38a787[_0x52eb84(0x14a)]=_0x52eb84(0x163);const _0x580250=_0x38a787;if(_0x580250['UeiHj'](_0x2883a7[_0x52eb84(0x19a)][_0x52eb84(0x16f)],_0x580250[_0x52eb84(0x192)]))return await _0x2883a7[_0x52eb84(0x182)](_0x294f8,_0x30535b);else{if(_0x580250['PFnTm'](_0x2883a7[_0x52eb84(0x19a)][_0x52eb84(0x16f)],_0x580250[_0x52eb84(0x1ab)]))return await _0x2883a7[_0x52eb84(0x184)](_0x52eb84(0x166)+_0x294f8[_0x52eb84(0x189)](/arguments/g,_0x580250[_0x52eb84(0x14a)])+_0x52eb84(0x160)+JSON[_0x52eb84(0x194)](_0x30535b)+')');}},exports['setAccessibilityCapabilities']=async _0x5c9f49=>{const _0x32cc2e=a46_0x405e01,_0x45236b={};_0x45236b[_0x32cc2e(0x190)]=_0x32cc2e(0x15c),_0x45236b[_0x32cc2e(0x1ad)]=_0x32cc2e(0x198),_0x45236b[_0x32cc2e(0x19f)]=_0x32cc2e(0x164),_0x45236b[_0x32cc2e(0x1ac)]=_0x32cc2e(0x15b),_0x45236b['ZgkUK']='accessibilityOptions.authToken',_0x45236b[_0x32cc2e(0x191)]=_0x32cc2e(0x151);const _0x2879e2=_0x45236b;_0x5c9f49[_0x32cc2e(0x149)]&&(_0x5c9f49['accessibilityOptions']['wcagVersion']&&(_0x5c9f49[_0x2879e2[_0x32cc2e(0x190)]]=_0x5c9f49[_0x32cc2e(0x149)][_0x32cc2e(0x133)]),_0x5c9f49[_0x32cc2e(0x149)][_0x32cc2e(0x199)]&&(_0x5c9f49[_0x2879e2[_0x32cc2e(0x1ad)]]=_0x5c9f49[_0x32cc2e(0x149)]['scannerProcessingTimeout']),_0x5c9f49['accessibilityOptions']['includeIssueType']&&(_0x5c9f49[_0x2879e2[_0x32cc2e(0x19f)]]=_0x5c9f49[_0x32cc2e(0x149)]['includeIssueType'][_0x32cc2e(0x131)],_0x5c9f49[_0x2879e2['HESqy']]=_0x5c9f49[_0x32cc2e(0x149)][_0x32cc2e(0x140)][_0x32cc2e(0x176)]));const _0x36edef=JSON['parse'](process[_0x32cc2e(0x152)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])[_0x32cc2e(0x137)];_0x5c9f49[_0x2879e2[_0x32cc2e(0x168)]]=process[_0x32cc2e(0x152)][_0x32cc2e(0x18a)],_0x5c9f49[_0x2879e2[_0x32cc2e(0x191)]]=_0x36edef,delete _0x5c9f49[_0x32cc2e(0x149)];},exports[a46_0x405e01(0x136)]=async _0x55c274=>{const _0x4c8731=a46_0x405e01,_0x1265f7={};_0x1265f7['PyZwA']=_0x4c8731(0x170),_0x1265f7[_0x4c8731(0x139)]=_0x4c8731(0x147);const _0x4e680e=_0x1265f7;if(global['accessibilityPlatform'])try{const details={'url':await _0x55c274.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(_0x55c274,scripts.performScan,mobileArgs)));},{command:'getAccessibilityResults',...details})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x55c274,scripts.getResults,mobileArgs);},{...details})();return res;}catch{return logger[_0x4c8731(0x197)](_0x4e680e[_0x4c8731(0x19d)]),[];}else return logger[_0x4c8731(0x14c)](_0x4e680e[_0x4c8731(0x139)]),[];},exports['performScan']=async(_0x397458,_0x33f70a='',_0x3423eb={},_0x58f7df={})=>{const _0x4f03c9=a46_0x405e01;logger[_0x4f03c9(0x18d)]('Performing\x20scan\x20with\x20method:\x20'+_0x33f70a+'\x20page:\x20'+_0x397458);const _0x10cc26={'url':await _0x397458[_0x4f03c9(0x14d)](),'testhub_btcer_uuid':global[_0x4f03c9(0x1b0)]?.[_0x4f03c9(0x1a5)]?.['id']};if(global['accessibilityPlatform'])return await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x4f03c9(0x132)],async()=>{const _0x34ff29=_0x4f03c9,_0x2b399c={};_0x2b399c['command']=_0x33f70a;const _0x402f7c=_0x2b399c;_0x3423eb&&_0x3423eb[_0x34ff29(0x1a6)]&&(_0x402f7c[_0x34ff29(0x1a6)]=_0x3423eb[_0x34ff29(0x1a6)]);Object[_0x34ff29(0x16c)](_0x402f7c,_0x58f7df);const _0x12d1af=await exports[_0x34ff29(0x13c)](_0x397458,scripts[_0x34ff29(0x14f)],_0x402f7c);return _0x12d1af;},{'command':_0x33f70a,..._0x10cc26})();},exports[a46_0x405e01(0x18e)]=async _0x487982=>{const _0x549e43=a46_0x405e01,_0xe74b5b={};_0xe74b5b['OJIRs']=_0x549e43(0x177),_0xe74b5b[_0x549e43(0x17f)]=_0x549e43(0x15d);const _0x114c1a=_0xe74b5b;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(_0x487982,scripts.performScan,mobileArgs)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x487982,scripts.getResultsSummary,mobileArgs);})();return summaryResults;}catch{return logger[_0x549e43(0x18d)](_0x114c1a[_0x549e43(0x13e)]),{};}else return logger[_0x549e43(0x14c)](_0x114c1a[_0x549e43(0x17f)]),{};},exports[a46_0x405e01(0x144)]=_0x2b8b30=>{const _0x39b5f6=a46_0x405e01,_0x12319e={'ocQRn':_0x39b5f6(0x196),'xDlJY':_0x39b5f6(0x17e),'DdATZ':function(_0x1ea63e,_0x389a0b){return _0x1ea63e!==_0x389a0b;},'mhWTY':_0x39b5f6(0x13b),'JKxuP':function(_0x5e4344){return _0x5e4344();},'FlkYu':_0x39b5f6(0x1a4)};try{if(global['isMobilePlatform'])return logger[_0x39b5f6(0x18d)](_0x12319e[_0x39b5f6(0x14e)]),!![];const _0x2ea6b2=_0x2b8b30[_0x39b5f6(0x181)],_0x1beb33=_0x2b8b30[_0x39b5f6(0x171)];if(!accessibilityHelper['isBrowserSupportedForAccessibility'](_0x2ea6b2))return logger['warn'](_0x12319e['xDlJY']),![];if(_0x12319e['DdATZ'](_0x1beb33,_0x12319e['mhWTY'])){const _0x2325db=_0x12319e[_0x39b5f6(0x165)](isBrowserstackInfra),_0x1dbe22=accessibilityHelper[_0x39b5f6(0x13d)](_0x2ea6b2,_0x2325db),_0x39fbf2=accessibilityHelper[_0x39b5f6(0x1a8)](_0x2ea6b2);if(!accessibilityHelper['isVersionSupported'](_0x1beb33,_0x1dbe22)){const _0x197101=_0x2325db?'':_0x12319e[_0x39b5f6(0x150)];return logger[_0x39b5f6(0x14c)](_0x39b5f6(0x178)+_0x39fbf2+_0x39b5f6(0x180)+_0x1dbe22+'\x20or\x20higher\x20'+_0x197101+'.'),![];}}}catch(_0x394511){logger[_0x39b5f6(0x18d)]('Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20'+util[_0x39b5f6(0x154)](_0x394511));}return!![];},exports[a46_0x405e01(0x146)]=(_0x157df1,_0x311aba,_0x1174fd)=>{const _0xeb04f5=a46_0x405e01,_0x2c4f63={'EQJyf':_0xeb04f5(0x158),'ZxyJa':function(_0x561c85){return _0x561c85();},'FFDcA':_0xeb04f5(0x156),'mbhPy':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','jkzAT':function(_0x2fc20d,_0x2d04e8){return _0x2fc20d!==_0x2d04e8;},'AVzdU':_0xeb04f5(0x13b),'bmVZa':_0xeb04f5(0x1a4),'Yurix':function(_0x77e25,_0xdcc7c5){return _0x77e25(_0xdcc7c5);},'EmjuN':function(_0x2b9761,_0x31db4d){return _0x2b9761===_0x31db4d;},'jgQDE':_0xeb04f5(0x1b3),'HqeyD':_0xeb04f5(0x1b1),'ObXDh':_0xeb04f5(0x17d),'nivIj':_0xeb04f5(0x134),'IIlOM':_0xeb04f5(0x15a),'mAqjf':function(_0x435fb4,_0x568c86){return _0x435fb4+_0x568c86;}};try{if(_0x2c4f63[_0xeb04f5(0x179)](isAccessibilityAutomationSession)){global['accessibilityPlatform']=!![];!_0x157df1[_0x2c4f63[_0xeb04f5(0x172)]]&&(global['accessibilityPlatform']=![]);const _0x5d7ee8=_0x157df1[_0xeb04f5(0x13f)]||_0x157df1[_0xeb04f5(0x181)],_0x59f642=_0x157df1[_0xeb04f5(0x171)];!accessibilityHelper['isBrowserSupportedForAccessibility'](_0x5d7ee8)&&(logger[_0xeb04f5(0x14c)](_0x2c4f63[_0xeb04f5(0x174)]),global[_0xeb04f5(0x13a)]=![]);if(_0x2c4f63[_0xeb04f5(0x18c)](_0x59f642,_0x2c4f63[_0xeb04f5(0x12e)])){const _0x2810da=_0x2c4f63[_0xeb04f5(0x179)](isBrowserstackInfra),_0x1bb794=accessibilityHelper[_0xeb04f5(0x13d)](_0x5d7ee8,_0x2810da),_0x49df2b=accessibilityHelper['getBrowserDisplayName'](_0x5d7ee8);if(!accessibilityHelper['isVersionSupported'](_0x59f642,_0x1bb794)){const _0x50c8aa=_0x2810da?'':_0x2c4f63['bmVZa'];logger[_0xeb04f5(0x14c)](_0xeb04f5(0x178)+_0x49df2b+_0xeb04f5(0x180)+_0x1bb794+_0xeb04f5(0x18f)+_0x50c8aa+'.'),global[_0xeb04f5(0x13a)]=![];}}if(!_0x2c4f63[_0xeb04f5(0x12b)](isUndefined,_0x157df1[_0xeb04f5(0x16b)])){const _0x33359e=(_0x157df1['os']||'')['toLowerCase'](),_0x5e9599=(_0x157df1[_0xeb04f5(0x13f)]||_0x157df1['browser']||'')[_0xeb04f5(0x17c)](),_0x9047a9=_0x2c4f63[_0xeb04f5(0x1a7)](_0x33359e,_0x2c4f63['jgQDE'])&&[_0x2c4f63['HqeyD'],_0x2c4f63[_0xeb04f5(0x145)],_0x2c4f63[_0xeb04f5(0x175)]][_0xeb04f5(0x12c)](_0x5e9599);if(!_0x9047a9)logger['warn'](_0x2c4f63[_0xeb04f5(0x157)]),global[_0xeb04f5(0x13a)]=![];else!accessibilityHelper[_0xeb04f5(0x162)]()&&(logger[_0xeb04f5(0x14c)](accessibilityHelper['MOBILE_SCANNING_DISABLED_WARNING']),global[_0xeb04f5(0x13a)]=![]);}if(!global[_0xeb04f5(0x13a)]){_0x157df1[_0x2c4f63[_0xeb04f5(0x172)]]=![],Object[_0xeb04f5(0x15e)](_0x157df1)['forEach'](_0x571ca3=>{const _0x4dfece=_0xeb04f5;_0x571ca3[_0x4dfece(0x183)](_0x2c4f63[_0x4dfece(0x1a1)])&&delete _0x157df1[_0x571ca3];});const _0x1550ea=_0x2c4f63[_0xeb04f5(0x1aa)](_0x311aba,_0x2c4f63[_0xeb04f5(0x12b)](encodeURIComponent,JSON[_0xeb04f5(0x194)](_0x157df1)));_0x1174fd&&(_0x1174fd[_0xeb04f5(0x1a5)][_0xeb04f5(0x159)][_0xeb04f5(0x173)]['use'][_0xeb04f5(0x186)]['wsEndpoint']=_0x1550ea,_0x1174fd['workerInfo'][_0xeb04f5(0x173)][_0xeb04f5(0x1af)][_0xeb04f5(0x186)]['wsEndpoint']=_0x1550ea);}}else global['accessibilityPlatform']=![];}catch(_0xb2a543){logger['debug'](_0xeb04f5(0x155)+util[_0xeb04f5(0x154)](_0xb2a543));}};function a46_0x5ca7(_0x37564c,_0x1cb412){const _0x25bba4=a46_0x25bb();return a46_0x5ca7=function(_0x5ca787,_0x536f51){_0x5ca787=_0x5ca787-0x12b;let _0x19243e=_0x25bba4[_0x5ca787];return _0x19243e;},a46_0x5ca7(_0x37564c,_0x1cb412);}function a46_0x25bb(){const _0xde2c63=['vgbcd','41345CWtEXr','EQJyf','423429ynvkWf','../utils/constants','on\x20non-BrowserStack\x20infrastructure\x20','currentTest','includePartOfPageScope','EmjuN','getBrowserDisplayName','find','mAqjf','nUlPS','HESqy','NJOFk','winstonLogger','use','__workerDetails','chrome','../../helpers/performance/constants','android','Yurix','includes','../../helpers/accessibility-automation/helper','AVzdU','browserStackExecuteDriver','80dTipdf','bestPractice','PERFORM_SCAN','wcagVersion','chromium','string','getAccessibilityResults','scannerVersion','18VngEHT','aHNqM','accessibilityPlatform','latest','browserStackEvaluate','getMinVersionForBrowser','OJIRs','browserName','includeIssueType','7652pHWNyb','aZEsr','toISOString','platformValidation','ObXDh','processAccessibilityCaps','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','726136KJNzto','accessibilityOptions','ZCEhW','6uhlVbq','warn','url','ocQRn','performScan','FlkYu','accessibilityOptions.scannerVersion','env','3209890Frxzja','format','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','browserstack.accessibility','IIlOM','browserstack.accessibilityOptions','testInfo','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers\x20or\x20Android\x20Chrome.','accessibilityOptions.includeIssueType.needsReview','accessibilityOptions.wcagVersion','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','keys','PFnTm','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','request','isMobileScanningEnabledForGroup','bstackSdkArgs','accessibilityOptions.includeIssueType.bestPractice','JKxuP','(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','../../helpers/performance/performance-tester','ZgkUK','][\x20SDK-AUTOMATION\x20]\x20','../../helpers/accessibility-automation/scripts','deviceName','assign','[A11Y]\x20Error\x20logging\x20SDK-AUTOMATION\x20for\x20browserStackEvaluate:\x20','4289813ljVlxr','name','No\x20accessibility\x20results\x20were\x20found.','browser_version','FFDcA','project','mbhPy','nivIj','needsReview','No\x20summaryResults\x20found.','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20','ZxyJa','message','body','toLowerCase','playwright-chromium','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','AoRnq','\x20browser\x20version\x20','browser','executeAsyncScript','startsWith','executeScript','WebDriver','connectOptions','396081aklRcT','18KKTAyO','replace','BS_A11Y_JWT','Playwright','jkzAT','debug','getAccessibilityResultsSummary','\x20or\x20higher\x20','JRYzo','BuPGr','FNcwR','command','stringify','../../helpers/logger','platformValidation:\x20Mobile\x20platform\x20already\x20validated.','error','accessibilityOptions.scannerProcessingTimeout','scannerProcessingTimeout','constructor','FUDYc','util','PyZwA','laHET'];a46_0x25bb=function(){return _0xde2c63;};return a46_0x25bb();}
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_0x1bfb8b=a47_0x159c;(function(_0x585cef,_0x59160f){const _0x39a364=a47_0x159c,_0x3e6c55=_0x585cef();while(!![]){try{const _0x5809af=parseInt(_0x39a364(0xb6))/0x1*(-parseInt(_0x39a364(0xf7))/0x2)+parseInt(_0x39a364(0xf9))/0x3+parseInt(_0x39a364(0xfa))/0x4*(parseInt(_0x39a364(0x107))/0x5)+-parseInt(_0x39a364(0x102))/0x6+parseInt(_0x39a364(0xd6))/0x7+parseInt(_0x39a364(0xb0))/0x8+-parseInt(_0x39a364(0x120))/0x9*(-parseInt(_0x39a364(0xa8))/0xa);if(_0x5809af===_0x59160f)break;else _0x3e6c55['push'](_0x3e6c55['shift']());}catch(_0x3009bf){_0x3e6c55['push'](_0x3e6c55['shift']());}}}(a47_0x42bc,0x35c1e));function a47_0x42bc(){const _0x21e4de=['BROWSERSTACK_PW_TEST_ORDER','IXEEg','nSycU','sodOQ','clearTempPWConfig','stop','measureWrapper','path','../v2/TestInfo','IVtvK','LWays','filterBrowserstackArgs','CNvIi','KdFpJ','end','FZvTL','getConfig','WgxVq','env','testContextOptions','automation','winstonLogger','EPCcO','util','aazdp','browserstackAutomation','constants','readFileSync','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','errorMessage','cliConfig','findIndex','browserstackSetupConfig.json','error','SDK_SETUP','isCLIEnabled','vQWhF','UrIxI','accessibility','win32','Playwright\x20process\x20exited\x20with\x20code\x20','reportConflictingEnvVarIssue','isYarnPnP','No\x20Proxy\x20:\x20','sWUku','Found:\x20','../utils/clientTroubleshootingService','dirname','split','EanBi','--config','pw_result.json','idPrb','vdXgg','isRunning','BROWSERSTACK_FRAMEWORK','INTERNALLY_USED_ENV_VARS','Error\x20in\x20closing\x20playwright','trace_','cwd','configPath','homedir','TwnXg','requireConfigLoaderYarnPnP','NVCkS','isTypescriptProject','Proxy\x20url\x20:\x20','isTestOrchestrationEnabled','10RKIYGF','../../helpers/logger','PbzLI','length','R_OK','lBUgQ','getPackageType','BrowserStack\x20config\x20file\x20not\x20found.','72840brnqLe','BROWSERSTACK_SETUP_CONFIG_PATH','rlqyr','IzIsB','sep','accessSync','4xqyNuh','srhZe','false','../../helpers/BrowserStackSetup','ZxjrR','BROWSERSTACK_TEST_ACCESSIBILITY_YML','existsSync','resolve','info','isFalse','unlinkSync','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','../../helpers/test-observability/utils','RrMFv','push','child_process','ftNFN','initialize','MbtgO','filter','logLevel','bCXSz','bootstrap','TnVgU','Nufdy','BROWSERSTACK_TEST_OBSERVABILITY','validateRerunTestList','platform','VQvxI','join','Deleting\x20','npx','1191141szLCMm','assign','MODULE','inherit','eMjfX','../../helpers/helper','vHdGQ','isUndefined','writeFileSync','eEJyD','Error\x20in\x20getting\x20funnel\x20data\x20results','TJaog','getNoProxy','trim','ramVZ','nestedKeyValue','mgAnz','Cslls','pRLey','get','vNDun','KnyIX','jQkTM','../../helpers/performance/performance-tester','playwright','\x20test\x20files\x20to\x20run.','PACKAGE_TYPE','./reporter/pwUtils','testObservability','stringify','map','ZoNTe','has','75616OQtqZe','PLAYWRIGHT','196878aVMSgZ','12nlQJGg','mXnAq','uhIql','slice','EZExM','zLqXn','serializeToYamlString','playwright-browserstack-sdk.config.js','2590842AsVlAq','setBrowserstackConfig','BROWSERSTACK_RERUN_TESTS','--disable-browserstack-automation','getInstance','41365oNSnKy','findPlaywrightTestFiles','true','Nbaeu','startsWith','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','apply','mWtED','forEach','isTrue','start','playwright-browserstack-sdk.config.cjs','\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','readdirSync','Error\x20in\x20accessing\x20.browserstack\x20directory:\x20','EkEjD','--disable-test-observability','KuISx','relative','Updated\x20config\x20file\x20name\x20to\x20-\x20','MaxsR','ZVBda','--config=','test','debug','4801644toHfrj','accessibilityOptions','close','yarn','config'];a47_0x42bc=function(){return _0x21e4de;};return a47_0x42bc();}function a47_0x159c(_0x376da6,_0x276b7a){const _0x42bc51=a47_0x42bc();return a47_0x159c=function(_0x159cae,_0x466af1){_0x159cae=_0x159cae-0x86;let _0x28d8cf=_0x42bc51[_0x159cae];return _0x28d8cf;},a47_0x159c(_0x376da6,_0x276b7a);}const fs=require('fs'),path=require(a47_0x1bfb8b(0x12c)),{spawn}=require(a47_0x1bfb8b(0xc5)),{format}=require(a47_0x1bfb8b(0x13c)),logger=require(a47_0x1bfb8b(0xa9))[a47_0x1bfb8b(0x13a)],{default:BrowserStackSetup}=require(a47_0x1bfb8b(0xb9)),helper=require(a47_0x1bfb8b(0xdb)),utilities=require('../../helpers/utilities'),constants=require('../utils/constants'),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getConfigLoaderPath}=require(a47_0x1bfb8b(0xf1)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities}=require('./accessibility-helper'),{printBuildLink}=require(a47_0x1bfb8b(0xc2)),TestDetails=require('./reporter/test-details'),TestHubHandler=require('../../helpers/testhub/testhubHandler'),PerformanceTester=require(a47_0x1bfb8b(0xed)),TestOrchestrationHandler=require('../../helpers/test-orchestration/testOrchestrationHandler'),BrowserstackCLI=require('../v2/browserstackCLI'),PerformanceEvents=require('../../helpers/performance/constants')['EVENTS'],CLIUtils=require('../v2/cliUtils'),TestInfo=require(a47_0x1bfb8b(0x12d)),ClientTroubleShootingService=require(a47_0x1bfb8b(0x92)),getUserPlaywrightConfig=async(_0x40d92d,_0x164b54)=>{const _0x351b2f=a47_0x1bfb8b,_0x34c6cb={'KnyIX':function(_0x41b3fd){return _0x41b3fd();},'ftNFN':function(_0x1cdbbd,_0x5b8006){return _0x1cdbbd(_0x5b8006);},'aazdp':'resolvedConfigFile','MaxsR':_0x351b2f(0x11d)},_0x26ade7=!helper['isUndefined'](_0x40d92d[_0x351b2f(0x124)]),_0x5a1e41=_0x26ade7?path[_0x351b2f(0xbd)](process[_0x351b2f(0x9f)](),_0x40d92d[_0x351b2f(0x124)]):process[_0x351b2f(0x9f)](),{resolveConfigFile:_0x2f703d,resolveConfigLocation:_0x4478d5}=helper[_0x351b2f(0x8e)]()?helper[_0x351b2f(0xa3)](..._0x34c6cb[_0x351b2f(0xeb)](getConfigLoaderPath)):helper['requirePWModule'][_0x351b2f(0x10d)](null,_0x34c6cb[_0x351b2f(0xeb)](getConfigLoaderPath)),_0x192c02=_0x2f703d?_0x34c6cb[_0x351b2f(0xc6)](_0x2f703d,_0x5a1e41):helper[_0x351b2f(0xe5)](_0x34c6cb[_0x351b2f(0xc6)](_0x4478d5,_0x5a1e41),[_0x34c6cb[_0x351b2f(0x13d)]]),_0x4f4586={};if(_0x26ade7){const _0x40e606=_0x164b54[_0x351b2f(0x144)](_0x2fd31d=>_0x2fd31d===_0x351b2f(0x96)||_0x2fd31d==='-c'||_0x2fd31d[_0x351b2f(0x10b)]('--config='));_0x164b54['splice'](_0x40e606,_0x164b54[_0x40e606][_0x351b2f(0x10b)](_0x34c6cb[_0x351b2f(0x11b)])?0x1:0x2);}const _0x4b1695={};return _0x4b1695[_0x351b2f(0x12c)]=_0x192c02,_0x4b1695['config']=_0x4f4586,_0x4b1695;},handleO11yRerun=_0x3e3030=>{const _0x26a78f=a47_0x1bfb8b,_0x7f2146={};_0x7f2146[_0x26a78f(0xb3)]='--grep';const _0x345bd1=_0x7f2146,_0x1e61bd=helper[_0x26a78f(0x110)](process[_0x26a78f(0x137)]['BROWSERSTACK_RERUN']);if(_0x1e61bd){const _0x235354=process[_0x26a78f(0x137)][_0x26a78f(0x104)],_0x3005ec=[];if(helper[_0x26a78f(0xd0)](_0x235354)&&!helper['isUndefined'](_0x235354)){_0x235354[_0x26a78f(0x94)](',')[_0x26a78f(0xf4)](_0x5922c1=>{const _0x29c64c=_0x26a78f;_0x3005ec[_0x29c64c(0xc4)]('('+_0x5922c1[_0x29c64c(0xe3)]()+')');});const _0x533fe7='^'+_0x3005ec[_0x26a78f(0xd3)]('|')+'$';_0x3e3030[_0x26a78f(0xc4)](_0x345bd1[_0x26a78f(0xb3)],_0x533fe7);}}},spawnOriginalProcess=_0x38d96=>{const _0x280509=a47_0x1bfb8b,_0x5d5a20={'Cslls':function(_0x423a9b,_0x4d81ac,_0x328d09,_0x1a0db0){return _0x423a9b(_0x4d81ac,_0x328d09,_0x1a0db0);},'srhZe':'yarn','FZvTL':_0x280509(0xd5),'Dsuzp':'playwright','JJXNj':function(_0x180fe3,_0x271e8c){return _0x180fe3===_0x271e8c;},'bCXSz':_0x280509(0x8b),'sodOQ':_0x280509(0xd9)};_0x5d5a20[_0x280509(0xe7)](spawn,helper[_0x280509(0x8e)]()?_0x5d5a20[_0x280509(0xb7)]:_0x5d5a20[_0x280509(0x134)],[_0x5d5a20['Dsuzp'],..._0x38d96['slice'](0x1)],{'shell':_0x5d5a20['JJXNj'](process['platform'],_0x5d5a20[_0x280509(0xcb)]),'stdio':_0x5d5a20[_0x280509(0x128)],'cwd':process[_0x280509(0x9f)]()});},isTestCommand=(_0x22e8ba,_0x397ca3)=>{const _0x2a61db=a47_0x1bfb8b,_0x597834={};_0x597834[_0x2a61db(0xfb)]=function(_0x3e33c4,_0x191fb0){return _0x3e33c4>_0x191fb0;},_0x597834['VbBRR']=function(_0x476168,_0x1b965a){return _0x476168===_0x1b965a;},_0x597834[_0x2a61db(0x12e)]=_0x2a61db(0x11e);const _0x447259=_0x597834;if(_0x447259[_0x2a61db(0xfb)](_0x397ca3[_0x2a61db(0xab)],0x1)&&_0x447259['VbBRR'](_0x397ca3[0x1],_0x447259[_0x2a61db(0x12e)]))return!![];return![];};async function run(_0x48d37f,_0x509e3c,_0xb90c46){const _0x3a4bd3=a47_0x1bfb8b,_0x1d3806={'TJaog':function(_0x56a9bd,_0x109972){return _0x56a9bd(_0x109972);},'ZoNTe':'.browserstack','pRLey':_0x3a4bd3(0x97),'EZExM':function(_0x237172,_0x1e2902){return _0x237172+_0x1e2902;},'mWtED':_0x3a4bd3(0xe0),'ZxjrR':function(_0x1c4f3b){return _0x1c4f3b();},'vfJLw':_0x3a4bd3(0x9d),'Nbaeu':_0x3a4bd3(0xaf),'zLqXn':function(_0x16e352,_0x168add){return _0x16e352<_0x168add;},'vdXgg':function(_0x5b6dc7,_0x3e50f2){return _0x5b6dc7===_0x3e50f2;},'ZVBda':_0x3a4bd3(0xb8),'lBUgQ':'--disable-test-observability','CNvIi':function(_0x201677,_0x510451){return _0x201677>=_0x510451;},'idPrb':_0x3a4bd3(0x139),'jQkTM':function(_0x44ba8f,_0x534b11){return _0x44ba8f!=_0x534b11;},'vNDun':function(_0x3730b6,_0x1723e6,_0x51fb7f){return _0x3730b6(_0x1723e6,_0x51fb7f);},'rlqyr':function(_0x45233b,_0x5401df){return _0x45233b(_0x5401df);},'PVLCl':function(_0x4d185b,_0x284f36){return _0x4d185b===_0x284f36;},'eEJyD':_0x3a4bd3(0x109),'sFwgq':function(_0x32b5b1,_0xb4d362){return _0x32b5b1(_0xb4d362);},'EkYsw':function(_0x16b1a4,_0x17022d){return _0x16b1a4(_0x17022d);},'RrMFv':_0x3a4bd3(0x145),'PbzLI':function(_0x1b54f0,_0x397277){return _0x1b54f0===_0x397277;},'LWays':_0x3a4bd3(0x112),'UrIxI':_0x3a4bd3(0x101),'IXEEg':function(_0x42e986,_0x4287bd){return _0x42e986-_0x4287bd;},'ZuYxB':_0x3a4bd3(0x11a),'bNMfo':function(_0x4d10b1,_0x3b243d){return _0x4d10b1>_0x3b243d;},'TwnXg':function(_0x2daaa0,_0xb61c40){return _0x2daaa0+_0xb61c40;},'KdFpJ':'Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','nSycU':_0x3a4bd3(0xee),'KuISx':function(_0x351339,_0x54a206,_0x583149,_0x28c8ff){return _0x351339(_0x54a206,_0x583149,_0x28c8ff);},'WgxVq':_0x3a4bd3(0x123),'MbtgO':'npx','ramVZ':_0x3a4bd3(0x11e),'TnVgU':_0x3a4bd3(0x96),'EanBi':'win32','mgAnz':_0x3a4bd3(0xd9),'sWUku':_0x3a4bd3(0x122),'EkEjD':function(_0x4610f1,_0x2f8f81){return _0x4610f1|_0x2f8f81;},'UZdDj':function(_0x27ca6f,_0x5c5d27){return _0x27ca6f+_0x5c5d27;},'VQvxI':_0x3a4bd3(0x115),'ZCBpI':function(_0x2b576c,_0x26352f){return _0x2b576c+_0x26352f;},'FMFWM':'Error\x20in\x20deleting\x20playwright\x20results','vHdGQ':function(_0x59c0ba,_0x3927c5,_0x4daa0b){return _0x59c0ba(_0x3927c5,_0x4daa0b);},'gvkpE':function(_0x201079,_0x3aae87){return _0x201079(_0x3aae87);}};try{const _0x40a6ab=path[_0x3a4bd3(0xd3)](helper[_0x3a4bd3(0xa1)](),_0x1d3806[_0x3a4bd3(0xf5)]);try{fs[_0x3a4bd3(0xb5)](_0x40a6ab,_0x1d3806[_0x3a4bd3(0x116)](fs[_0x3a4bd3(0x13f)][_0x3a4bd3(0xac)],fs[_0x3a4bd3(0x13f)]['W_OK']));}catch(_0x315056){ClientTroubleShootingService['reportDotBrowserStackFolderNotAccessibleIssue']();}}catch(_0x47090f){logger[_0x3a4bd3(0x11f)](_0x1d3806['UZdDj'](_0x1d3806[_0x3a4bd3(0xd2)],_0x47090f));}try{const _0x4c8e98=path[_0x3a4bd3(0xd3)](helper['homedir'](),_0x1d3806[_0x3a4bd3(0xf5)],_0x1d3806[_0x3a4bd3(0xe8)]);fs[_0x3a4bd3(0xbc)](_0x4c8e98)&&fs[_0x3a4bd3(0xc0)](_0x4c8e98);}catch(_0x5df8ad){logger[_0x3a4bd3(0x11f)](_0x1d3806['ZCBpI'](_0x1d3806['FMFWM'],_0x5df8ad));}if(!_0x1d3806[_0x3a4bd3(0xdc)](isTestCommand,_0x48d37f,_0x509e3c)){_0x1d3806['gvkpE'](spawnOriginalProcess,_0x509e3c);return;}await PerformanceTester[_0x3a4bd3(0x12b)](PerformanceEvents['SDK_PRE_INITIALIZE'],async()=>{const _0x40a121=_0x3a4bd3,_0x1b99d4={'Nufdy':_0x1d3806[_0x40a121(0xf5)],'EPCcO':_0x1d3806[_0x40a121(0xe8)],'ODfzy':function(_0x1428d9,_0x1e3663){return _0x1d3806['EZExM'](_0x1428d9,_0x1e3663);},'NVCkS':_0x1d3806[_0x40a121(0x10e)],'vQWhF':function(_0x487e3f){const _0xf5be63=_0x40a121;return _0x1d3806[_0xf5be63(0xba)](_0x487e3f);},'eMjfX':function(_0x212cf5){const _0x437526=_0x40a121;return _0x1d3806[_0x437526(0xba)](_0x212cf5);},'uhIql':_0x1d3806['vfJLw']};if(!_0xb90c46['config']){logger[_0x40a121(0x146)](_0x1d3806[_0x40a121(0x10a)]);return;}await _0xb90c46[_0x40a121(0xc7)](_0x48d37f),CLIUtils['setFrameworkDetail'](FRAMEWORKS[_0x40a121(0xf8)],FRAMEWORKS[_0x40a121(0xf8)]),BrowserstackCLI[_0x40a121(0x106)]()[_0x40a121(0x103)](_0xb90c46[_0x40a121(0x124)],_0xb90c46[_0x40a121(0xa0)],_0xb90c46[_0x40a121(0x143)]),await BrowserstackCLI[_0x40a121(0x106)]()[_0x40a121(0xcc)]();!BrowserstackCLI[_0x40a121(0x106)]()['isRunning']()&&await _0xb90c46['setupBrowserstackLocal']();for(var _0x5c5c33=0x0;_0x1d3806[_0x40a121(0xff)](_0x5c5c33,constants[_0x40a121(0x9c)][_0x40a121(0xab)]);_0x5c5c33++){var _0x1d7f28=constants[_0x40a121(0x9c)][_0x5c5c33];process[_0x40a121(0x137)][_0x1d7f28]&&await ClientTroubleShootingService[_0x40a121(0x8d)](_0x1d7f28);}const _0x173b16=BrowserstackCLI['getInstance']()[_0x40a121(0x135)]();!helper[_0x40a121(0xbf)](_0x173b16[_0x40a121(0x13e)])&&(process[_0x40a121(0x137)]['BROWSERSTACK_AUTOMATION']=!![]);_0x1d3806[_0x40a121(0x99)](_0x173b16[_0x40a121(0x13e)],![])&&(process[_0x40a121(0x137)]['BROWSERSTACK_AUTOMATION']=_0x1d3806[_0x40a121(0x11c)],_0x509e3c=_0x509e3c[_0x40a121(0xc9)](_0xceb3e1=>_0xceb3e1!==_0x40a121(0x105)));const _0x3ffda6=_0x509e3c['indexOf'](_0x1d3806[_0x40a121(0xad)]);(_0x1d3806[_0x40a121(0x131)](_0x3ffda6,0x0)||_0x1d3806[_0x40a121(0x99)](_0x173b16[_0x40a121(0xf2)],![]))&&(process[_0x40a121(0x137)]['BROWSERSTACK_TEST_OBSERVABILITY']=_0x1d3806[_0x40a121(0x11c)],_0x509e3c=_0x509e3c[_0x40a121(0xc9)](_0x830942=>_0x830942!==_0x40a121(0x117)));!helper[_0x40a121(0xdd)](_0xb90c46['cliConfig'])&&_0xb90c46['cliConfig'][_0x40a121(0xf6)](_0x1d3806['idPrb'])&&(process[_0x40a121(0x137)]['BROWSERSTACK_AUTOMATION']=_0xb90c46[_0x40a121(0x143)][_0x40a121(0xe9)](_0x1d3806[_0x40a121(0x98)])||!![]);_0x1d3806[_0x40a121(0xec)](_0xb90c46[_0x40a121(0x124)][_0x40a121(0xf2)],null)&&!helper[_0x40a121(0x110)](process[_0x40a121(0x137)]['BROWSERSTACK_TEST_OBSERVABILITY'])&&(process[_0x40a121(0x137)][_0x40a121(0xcf)]=process[_0x40a121(0x137)][_0x40a121(0xcf)]||_0xb90c46[_0x40a121(0x124)][_0x40a121(0xf2)]);const _0x11ce61=!helper[_0x40a121(0xbf)](process[_0x40a121(0x137)]['BROWSERSTACK_TEST_OBSERVABILITY']);_0xb90c46['config'][_0x40a121(0x121)]&&(process[_0x40a121(0x137)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x40a121(0xf3)](_0xb90c46[_0x40a121(0x124)][_0x40a121(0x121)]));let _0x357cd9=![];_0xb90c46['config'][_0x40a121(0x8a)]&&(_0x357cd9=!![],process[_0x40a121(0x137)][_0x40a121(0xbb)]=_0xb90c46['config'][_0x40a121(0x8a)]);const _0x579bba=_0x509e3c['concat'](),_0x1149e2=await _0x1d3806[_0x40a121(0xea)](getUserPlaywrightConfig,_0x48d37f,_0x509e3c);if(helper[_0x40a121(0xdd)](_0x1149e2)){_0x1d3806[_0x40a121(0xb2)](spawnOriginalProcess,_0x579bba);return;}const _0x463534=_0x1149e2[_0x40a121(0x12c)]?path[_0x40a121(0x93)](_0x1149e2[_0x40a121(0x12c)]):process[_0x40a121(0x9f)]();process[_0x40a121(0x137)]['BROWSERSTACK_PW_CONFIG_DIR']=_0x463534,await PerformanceTester[_0x40a121(0x12b)](PerformanceEvents['SDK_POST_INITIALIZE'],async()=>{const _0x2764aa=_0x40a121;!BrowserstackCLI[_0x2764aa(0x106)]()[_0x2764aa(0x9a)]()&&await TestHubHandler['launchBuild'](FRAMEWORKS[_0x2764aa(0xf8)],_0xb90c46),_0x11ce61&&_0x1d3806[_0x2764aa(0xe1)](handleO11yRerun,_0x509e3c);})();if(!BrowserstackCLI[_0x40a121(0x106)]()[_0x40a121(0x9a)]()){let _0xe803f0=_0x1d3806['PVLCl'](process[_0x40a121(0x137)][_0x40a121(0xbb)],_0x1d3806[_0x40a121(0xdf)]);_0xe803f0=_0xe803f0||_0x1d3806['sFwgq'](checkAccessibilityPlatformConfig,_0xb90c46['config']),process[_0x40a121(0x137)][_0x40a121(0xbb)]=_0xe803f0,_0xe803f0&&_0x1d3806['EkYsw'](setAccessibilityCapabilities,_0xb90c46['config']);}const _0x5c23b=path['join'](_0x1149e2[_0x40a121(0x12c)]?path[_0x40a121(0x93)](_0x1149e2['path']):process['cwd'](),_0x1d3806[_0x40a121(0xc3)]);fs['writeFileSync'](_0x5c23b,helper[_0x40a121(0x100)](_0xb90c46[_0x40a121(0x124)])),process[_0x40a121(0x137)][_0x40a121(0xb1)]=_0x5c23b,helper[_0x40a121(0x129)]();let _0x36342a='';_0x1d3806[_0x40a121(0xaa)](helper[_0x40a121(0xae)](),constants[_0x40a121(0xf0)][_0x40a121(0xd8)])?_0x36342a=_0x1d3806[_0x40a121(0x12f)]:_0x36342a=_0x1d3806[_0x40a121(0x89)];let _0x5b224c='';if(helper[_0x40a121(0xa5)](_0x1149e2[_0x40a121(0x12c)])){_0x5b224c=_0x40a121(0x141);const _0x5181d0=_0x36342a[_0x40a121(0x94)]('.');_0x5181d0[_0x1d3806[_0x40a121(0x126)](_0x5181d0['length'],0x1)]='ts',_0x36342a=_0x5181d0[_0x40a121(0xd3)]('.'),logger['debug'](_0x1d3806[_0x40a121(0xfe)](_0x1d3806['ZuYxB'],_0x36342a));}else _0x5b224c=_0x40a121(0xc1);const _0x54363c=path['join'](_0x1149e2[_0x40a121(0x12c)]?path[_0x40a121(0x93)](_0x1149e2[_0x40a121(0x12c)]):process[_0x40a121(0x9f)](),_0x36342a);let _0x1515a0=_0x1149e2['path']?_0x1149e2['path']:'';_0x1515a0=_0x1d3806['bNMfo'](_0x1515a0['length'],0x0)?path[_0x40a121(0xbd)](_0x1515a0):'',process[_0x40a121(0x137)]['USER_CONFIG_DETAILS_PATH']=_0x1515a0;const _0x23ddf6=helper['getProxyUrl'](_0xb90c46[_0x40a121(0x124)]),_0x598d4e=helper[_0x40a121(0xe2)](_0xb90c46['config']);logger[_0x40a121(0x11f)](_0x40a121(0xa6)+_0x23ddf6),logger[_0x40a121(0x11f)](_0x40a121(0x8f)+_0x598d4e);_0x23ddf6&&(_0x5b224c=_0x1d3806[_0x40a121(0xa2)](_0x40a121(0x10c)+_0x23ddf6+_0x40a121(0x113)+_0x598d4e+'\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();',_0x5b224c));helper[_0x40a121(0x130)]({},_0x509e3c),fs[_0x40a121(0xde)](_0x54363c,_0x5b224c);let _0x1c1921=[];const _0x1f9dd8=new TestOrchestrationHandler(_0xb90c46[_0x40a121(0x124)]);if(_0x1f9dd8[_0x40a121(0xa7)]()){logger[_0x40a121(0x11f)](_0x1d3806[_0x40a121(0x132)]);const _0x29ded2=await _0x1f9dd8[_0x40a121(0x108)](_0x1515a0,_0x509e3c[_0x40a121(0xfd)](0x2));logger[_0x40a121(0x11f)](_0x40a121(0x91)+JSON[_0x40a121(0xf3)](_0x29ded2)+_0x40a121(0xef));const _0x24fba0=await _0x1f9dd8['reorderTestFiles'](_0x29ded2);logger[_0x40a121(0x11f)]('Reordered\x20Test\x20Files:\x20'+JSON[_0x40a121(0xf3)](_0x24fba0)),_0x24fba0&&_0x1d3806['bNMfo'](_0x24fba0[_0x40a121(0xab)],0x0)&&(process[_0x40a121(0x137)][_0x40a121(0x125)]=_0x24fba0[_0x40a121(0xd3)](','),_0x1d3806[_0x40a121(0xff)](_0x24fba0[_0x40a121(0xab)],_0x29ded2['length'])&&(_0x1c1921=_0x24fba0[_0x40a121(0xf4)](_0xf7d780=>path[_0x40a121(0x119)](process['cwd'](),_0xf7d780)['split'](path[_0x40a121(0xb4)])[_0x40a121(0xd3)]('/'))));}PerformanceTester[_0x40a121(0x133)](PerformanceEvents[_0x40a121(0x86)]),process[_0x40a121(0x137)][_0x40a121(0x9b)]=process[_0x40a121(0x137)][_0x40a121(0x9b)]||_0x1d3806[_0x40a121(0x127)];const _0xd1d0ce=_0x1d3806[_0x40a121(0x118)](spawn,helper[_0x40a121(0x8e)]()?_0x1d3806[_0x40a121(0x136)]:_0x1d3806[_0x40a121(0xc8)],[_0x1d3806[_0x40a121(0x127)],_0x1d3806[_0x40a121(0xe4)],_0x1d3806[_0x40a121(0xcd)],_0x1d3806[_0x40a121(0xaa)](process['platform'],_0x1d3806['EanBi'])?'\x22'+_0x54363c+'\x22':_0x54363c,..._0x509e3c[_0x40a121(0xfd)](0x2),..._0x1c1921],{'shell':_0x1d3806[_0x40a121(0x99)](process[_0x40a121(0xd1)],_0x1d3806[_0x40a121(0x95)]),'stdio':_0x1d3806[_0x40a121(0xe6)],'cwd':process[_0x40a121(0x9f)](),'env':Object[_0x40a121(0xd7)]({},process[_0x40a121(0x137)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper['getConfigPath'](_0x48d37f),'BROWSERSTACK_SKIP_SESSION_STATUS':_0xb90c46[_0x40a121(0x124)]['testContextOptions']['skipSessionStatus'],'BROWSERSTACK_SKIP_SESSION_NAME':_0xb90c46['config'][_0x40a121(0x138)]['skipSessionName'],'BROWSERSTACK_LOG_LEVEL':_0xb90c46[_0x40a121(0x124)][_0x40a121(0xca)]})}),_0x56aac9=()=>{const _0x1eb1c6=_0x40a121;try{const _0x1a6409=path[_0x1eb1c6(0xd3)](helper[_0x1eb1c6(0xa1)](),_0x1b99d4[_0x1eb1c6(0xce)],_0x1b99d4[_0x1eb1c6(0x13b)]);if(fs[_0x1eb1c6(0xbc)](_0x1a6409)){let _0x57b069=fs[_0x1eb1c6(0x140)](_0x1a6409);_0x57b069=JSON['parse'](_0x57b069),_0xb90c46[_0x1eb1c6(0x142)]=_0x57b069,fs[_0x1eb1c6(0xc0)](_0x1a6409);}}catch(_0xae3631){logger[_0x1eb1c6(0x11f)](_0x1b99d4['ODfzy'](_0x1b99d4[_0x1eb1c6(0xa4)],_0xae3631));}};_0xd1d0ce['on'](_0x1d3806[_0x40a121(0x90)],async _0x4ea98b=>{const _0x4df2f0=_0x40a121;try{PerformanceTester[_0x4df2f0(0x111)](PerformanceEvents['SDK_CLEANUP']),_0x1b99d4[_0x4df2f0(0x88)](_0x56aac9),await TestHubHandler[_0x4df2f0(0x12a)](),await ClientTroubleShootingService['reportFinalDetectionState']();const _0x1f5ddc=BrowserstackCLI[_0x4df2f0(0x87)]();await BrowserstackCLI[_0x4df2f0(0x106)]()['stop'](),TestDetails['shutdown'](),_0x1b99d4[_0x4df2f0(0xda)](printBuildLink),await utilities['finalExecution'](_0xb90c46,_0x1f5ddc),process['exitCode']=_0x4ea98b,logger['debug'](_0x4df2f0(0x8c)+_0x4ea98b),logger[_0x4df2f0(0xbe)](_0x4df2f0(0xd4)+_0x54363c),fs[_0x4df2f0(0xc0)](_0x54363c);fs[_0x4df2f0(0xbc)](_0x5c23b)&&(logger[_0x4df2f0(0x11f)](_0x4df2f0(0xd4)+_0x5c23b),fs[_0x4df2f0(0xc0)](_0x5c23b));const _0x489057=fs[_0x4df2f0(0x114)](path[_0x4df2f0(0xd3)](helper[_0x4df2f0(0xa1)](),_0x1b99d4[_0x4df2f0(0xce)]))[_0x4df2f0(0xc9)](_0x57a6a0=>_0x57a6a0[_0x4df2f0(0x10b)](_0x4df2f0(0x9e)));_0x489057[_0x4df2f0(0x10f)](_0xf59f1d=>{const _0x10e714=_0x4df2f0;fs[_0x10e714(0xc0)](path[_0x10e714(0xd3)](helper['homedir'](),_0x1b99d4[_0x10e714(0xce)],_0xf59f1d));});}catch(_0x1337b1){logger[_0x4df2f0(0x11f)](_0x1b99d4['ODfzy'](_0x1b99d4[_0x4df2f0(0xfc)],_0x1337b1));}});})();}module['exports']=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_0x4aea3f=a48_0x2821;(function(_0x466442,_0x237326){const _0x75a416=a48_0x2821,_0x1103b0=_0x466442();while(!![]){try{const _0x25d646=parseInt(_0x75a416(0xaf))/0x1+-parseInt(_0x75a416(0xac))/0x2+-parseInt(_0x75a416(0xa6))/0x3*(parseInt(_0x75a416(0x8c))/0x4)+-parseInt(_0x75a416(0x9f))/0x5+-parseInt(_0x75a416(0xb7))/0x6*(-parseInt(_0x75a416(0x9e))/0x7)+-parseInt(_0x75a416(0x96))/0x8*(parseInt(_0x75a416(0xae))/0x9)+parseInt(_0x75a416(0x8f))/0xa;if(_0x25d646===_0x237326)break;else _0x1103b0['push'](_0x1103b0['shift']());}catch(_0xc6806d){_0x1103b0['push'](_0x1103b0['shift']());}}}(a48_0x3412,0xd4fce));const util=require(a48_0x4aea3f(0xbc)),child_process=require(a48_0x4aea3f(0x93)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getFrameworkVersion,debug}=require(a48_0x4aea3f(0xbb)),helper=require(a48_0x4aea3f(0x95)),{getForkProcessPath}=require(a48_0x4aea3f(0x9b)),{mockIsWorkerRedundant}=require(a48_0x4aea3f(0x91)),logger=require(a48_0x4aea3f(0xa2))[a48_0x4aea3f(0xa0)];try{require(a48_0x4aea3f(0xb3))[a48_0x4aea3f(0x8e)](a48_0x4aea3f(0xa1));}catch(a48_0x5f1f8f){logger[a48_0x4aea3f(0x8b)](a48_0x4aea3f(0x99)+(a48_0x5f1f8f&&a48_0x5f1f8f[a48_0x4aea3f(0xbe)]));}function a48_0x2821(_0x126d0d,_0x2c99df){const _0x341201=a48_0x3412();return a48_0x2821=function(_0x282136,_0x503428){_0x282136=_0x282136-0x8a;let _0x2c3554=_0x341201[_0x282136];return _0x2c3554;},a48_0x2821(_0x126d0d,_0x2c99df);}function a48_0x3412(){const _0x2c81a4=['fork','../../helpers/helper','11794952HUnoSC','vleaF','function','driver-init\x20capture\x20install\x20failed:\x20','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','./reporter/pwUtils','toString','bcfWF','14IQkPxr','1003330JOqCQh','winstonLogger','playwright','../../helpers/logger','cXaBC','isHandlePWErrorSet','compareVersions','1503453qpouqK','Running\x20existing\x20global\x20setup','Not\x20able\x20to\x20import\x20globalSetup','resolveLoadGlobalHook','format','Call\x20to\x20child\x20fork\x20with\x20args\x20','1182622mkJKwx','jtNGI','9GZXFFA','1151414WMGaxb','\x20is\x20not\x20found','ZdtHv','apply','../../helpers/driverInitErrorReporter','env','ljobQ','DmyQL','397740ABHOnr','config','1.33.0','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','../../helpers/test-observability/utils','util','gkaqb','message','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','resolve','Path\x20','EGbAI','debug','4FleeOb','clave','installAll','23559010fyXmmp','lUbai','./patches','mGcij','child_process'];a48_0x3412=function(){return _0x2c81a4;};return a48_0x3412();}module['exports']=async function(_0x30144d){const _0x34f6bf=a48_0x4aea3f,_0xbed23c={'EGbAI':function(_0x25f9a9,_0x176e59){return _0x25f9a9(_0x176e59);},'jtNGI':function(_0x4f9145){return _0x4f9145();},'mGcij':'./mock-process.js','ZdtHv':function(_0x310734){return _0x310734();},'cXaBC':function(_0x126bf4){return _0x126bf4();},'vleaF':_0x34f6bf(0xa7),'ljobQ':function(_0x49cb85,_0x3c1599){return _0x49cb85!==_0x3c1599;},'DmyQL':_0x34f6bf(0x98),'bcfWF':'Not\x20able\x20to\x20resolve\x20loadGlobalHook\x20for\x20current\x20Playwright\x20version','lUbai':function(_0x52ac8a,_0x5be57d){return _0x52ac8a>=_0x5be57d;},'clave':_0x34f6bf(0xb9),'gkaqb':function(_0x1d0e90,_0x2dcb78,_0x8c3c52){return _0x1d0e90(_0x2dcb78,_0x8c3c52);},'bWUbh':_0x34f6bf(0xa8),'rkNec':function(_0x4bdf27,_0x58f1f4){return _0x4bdf27(_0x58f1f4);}},_0x46442e=child_process[_0x34f6bf(0x94)];if(helper[_0x34f6bf(0xa4)]())try{_0xbed23c[_0x34f6bf(0xa3)](mockIsWorkerRedundant);}catch(_0x4cb0a6){logger[_0x34f6bf(0x8b)](_0x34f6bf(0x9a)+util[_0x34f6bf(0xaa)](_0x4cb0a6));}child_process[_0x34f6bf(0x94)]=function(){const _0xe4be3d=_0x34f6bf;return _0xbed23c['EGbAI'](debug,_0xe4be3d(0xab)+arguments[0x0]),arguments[0x0]['includes'](_0xbed23c[_0xe4be3d(0xad)](getForkProcessPath))?arguments[0x0]=require[_0xe4be3d(0xc0)](_0xbed23c[_0xe4be3d(0x92)]):logger['error'](_0xe4be3d(0xc1)+_0xbed23c[_0xe4be3d(0xb1)](getForkProcessPath)+_0xe4be3d(0xb0)),_0x46442e[_0xe4be3d(0xb2)](null,arguments);};if(process['env'][_0x34f6bf(0xbf)]){_0xbed23c[_0x34f6bf(0x8a)](debug,_0xbed23c[_0x34f6bf(0x97)]);try{const _0x261615=helper[_0x34f6bf(0xa9)]();if(_0xbed23c[_0x34f6bf(0xb5)](typeof _0x261615,_0xbed23c[_0x34f6bf(0xb6)]))throw new Error(_0xbed23c[_0x34f6bf(0x9d)]);const _0x53e242=_0xbed23c[_0x34f6bf(0x8a)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);let _0xa2f68c=_0x30144d;if(_0xbed23c[_0x34f6bf(0x90)](helper[_0x34f6bf(0xa5)](_0x53e242,_0xbed23c[_0x34f6bf(0x8d)]),0x0)){const _0x503714={};_0x503714[_0x34f6bf(0xb8)]=_0x30144d,_0xa2f68c=_0x503714;}const _0x232752=await _0xbed23c[_0x34f6bf(0xbd)](_0x261615,_0xa2f68c,process[_0x34f6bf(0xb4)][_0x34f6bf(0xbf)]);if(_0xbed23c[_0x34f6bf(0xb5)](typeof _0x232752,_0xbed23c['DmyQL']))throw new Error(_0xbed23c['bWUbh']);return _0x232752['apply'](null,arguments);}catch(_0x29ab4e){_0xbed23c['rkNec'](debug,_0x34f6bf(0xba)+_0x29ab4e[_0x34f6bf(0x9c)]());}}};
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();}