browserstack-node-sdk 1.54.1 → 1.55.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 (198) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +3 -3
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/newman/command.js +2 -0
  79. package/src/bin/newman/helper.js +1 -0
  80. package/src/bin/newman/reporter/index.js +1 -0
  81. package/src/bin/newman/scriptRunner.js +2 -0
  82. package/src/bin/nightwatch/command.js +1 -1
  83. package/src/bin/playwright/accessibility-helper.js +1 -1
  84. package/src/bin/playwright/command.js +1 -1
  85. package/src/bin/playwright/globalSetup.js +1 -1
  86. package/src/bin/playwright/mock-process.js +1 -1
  87. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  88. package/src/bin/playwright/patches.js +1 -1
  89. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  90. package/src/bin/playwright/reporter/reporter.js +1 -1
  91. package/src/bin/playwright/reporter/test-details.js +1 -1
  92. package/src/bin/playwright/sessionDetails.js +1 -1
  93. package/src/bin/puppeteer/patches.js +1 -1
  94. package/src/bin/puppeteer/sessionDetails.js +1 -1
  95. package/src/bin/puppeteer/test.setup.js +1 -1
  96. package/src/bin/runner.js +1 -1
  97. package/src/bin/setup.js +1 -1
  98. package/src/bin/test-runner/index.js +1 -1
  99. package/src/bin/test-runner/runTest.js +1 -1
  100. package/src/bin/test-runner/testWorker.js +1 -1
  101. package/src/bin/utils/apiUtilityMethods.js +1 -1
  102. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  103. package/src/bin/utils/constants.js +1 -1
  104. package/src/bin/utils/log4jsAppender.js +1 -1
  105. package/src/bin/utils/logPatcher.js +1 -1
  106. package/src/bin/utils/logReportingAPI.js +1 -1
  107. package/src/bin/utils/playwright-patcher.js +1 -1
  108. package/src/bin/utils/puppeteer-patcher.js +1 -1
  109. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  110. package/src/bin/utils/sharedUtils.js +1 -1
  111. package/src/bin/v2/TestInfo.js +1 -1
  112. package/src/bin/v2/browserstackCLI.js +1 -1
  113. package/src/bin/v2/cliUtils.js +1 -1
  114. package/src/bin/v2/customTagManager.js +1 -1
  115. package/src/bin/v2/eventDispatcher.js +1 -1
  116. package/src/bin/v2/framework/automationFramework.js +1 -1
  117. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  118. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  119. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  120. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  121. package/src/bin/v2/framework/newmanTestFramework.js +1 -0
  122. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  123. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  124. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  125. package/src/bin/v2/framework/testFramework.js +1 -1
  126. package/src/bin/v2/grpcClient.js +1 -1
  127. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  128. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  129. package/src/bin/v2/instances/trackedContext.js +1 -1
  130. package/src/bin/v2/instances/trackedInstance.js +1 -1
  131. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  132. package/src/bin/v2/modules/baseModule.js +1 -1
  133. package/src/bin/v2/modules/loadTestModule.js +1 -1
  134. package/src/bin/v2/modules/observabilityModule.js +1 -1
  135. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  136. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  137. package/src/bin/v2/modules/testhubModule.js +1 -1
  138. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  139. package/src/bin/v2/state/hookState.js +1 -1
  140. package/src/bin/v2/state/testFrameworkState.js +1 -1
  141. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  142. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  143. package/src/bin/v2/utils/jest-utils.js +1 -1
  144. package/src/bin/vanilla-js/command.js +1 -1
  145. package/src/browserStackSdk.js +1 -1
  146. package/src/helpers/BrowserStackSetup.js +1 -1
  147. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  148. package/src/helpers/accessibility-automation/constants.js +1 -1
  149. package/src/helpers/accessibility-automation/helper.js +1 -1
  150. package/src/helpers/accessibility-automation/scripts.js +1 -1
  151. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  152. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  153. package/src/helpers/ats/constants.js +1 -1
  154. package/src/helpers/ats/helper.js +1 -1
  155. package/src/helpers/capsMapping.js +1 -1
  156. package/src/helpers/central-scanner/constants.js +1 -1
  157. package/src/helpers/central-scanner/helpers.js +1 -1
  158. package/src/helpers/classLogger.js +1 -1
  159. package/src/helpers/globals.js +1 -1
  160. package/src/helpers/helper.js +1 -1
  161. package/src/helpers/logger.js +1 -1
  162. package/src/helpers/metadata.js +1 -1
  163. package/src/helpers/patchHelper.js +1 -1
  164. package/src/helpers/patchHelpers.js +1 -1
  165. package/src/helpers/percy/Percy.js +1 -1
  166. package/src/helpers/percy/PercyBinary.js +1 -1
  167. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  168. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  169. package/src/helpers/percy/PercySDK.js +1 -1
  170. package/src/helpers/percy/index.js +1 -1
  171. package/src/helpers/percy/utils.js +1 -1
  172. package/src/helpers/performance/constants.js +1 -1
  173. package/src/helpers/performance/performance-tester.js +1 -1
  174. package/src/helpers/playwright-helper.js +1 -1
  175. package/src/helpers/processHelper.js +1 -1
  176. package/src/helpers/puppeteer-helper.js +1 -1
  177. package/src/helpers/request-spy.js +1 -1
  178. package/src/helpers/setKeepAlive.js +1 -1
  179. package/src/helpers/test-observability/constants.js +1 -1
  180. package/src/helpers/test-observability/error-handler.js +1 -1
  181. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  182. package/src/helpers/test-observability/sessionHandler.js +1 -1
  183. package/src/helpers/test-observability/utils.js +1 -1
  184. package/src/helpers/test-orchestration/constants.js +1 -1
  185. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  186. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  187. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  188. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  189. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  190. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  191. package/src/helpers/testhub/constants.js +1 -1
  192. package/src/helpers/testhub/testhubHandler.js +1 -1
  193. package/src/helpers/testhub/utils.js +1 -1
  194. package/src/helpers/timeoutPromise.js +1 -1
  195. package/src/helpers/utilities.js +1 -1
  196. package/src/helpers/w3cMapping.js +1 -1
  197. package/src/hubAllocationMethods.js +1 -1
  198. package/src/index.js +1 -1
@@ -0,0 +1 @@
1
+ 'use strict';const a39_0x2974d4=a39_0x5af3;(function(_0x3b4199,_0x26ca7b){const _0xab7a05=a39_0x5af3,_0x2b929e=_0x3b4199();while(!![]){try{const _0x4d562b=parseInt(_0xab7a05(0x1ba))/0x1+parseInt(_0xab7a05(0x195))/0x2+parseInt(_0xab7a05(0x1a2))/0x3+parseInt(_0xab7a05(0x1ee))/0x4+-parseInt(_0xab7a05(0x1b6))/0x5*(parseInt(_0xab7a05(0x1a8))/0x6)+-parseInt(_0xab7a05(0x171))/0x7*(parseInt(_0xab7a05(0x123))/0x8)+-parseInt(_0xab7a05(0x20b))/0x9;if(_0x4d562b===_0x26ca7b)break;else _0x2b929e['push'](_0x2b929e['shift']());}catch(_0x4827b5){_0x2b929e['push'](_0x2b929e['shift']());}}}(a39_0x1e73,0x3d0a6));function a39_0x5af3(_0x950db7,_0x4b61a2){const _0x1e7376=a39_0x1e73();return a39_0x5af3=function(_0x5af323,_0x3f3790){_0x5af323=_0x5af323-0x120;let _0x2e1e68=_0x1e7376[_0x5af323];return _0x2e1e68;},a39_0x5af3(_0x950db7,_0x4b61a2);}const path=require(a39_0x2974d4(0x173)),{v4:uuidv4}=require(a39_0x2974d4(0x1a0)),SessionHandler=require(a39_0x2974d4(0x1bb)),{debug}=require(a39_0x2974d4(0x18f)),logger=require(a39_0x2974d4(0x1e3))[a39_0x2974d4(0x198)],BrowserstackCLI=require(a39_0x2974d4(0x16c)),GrpcClient=require(a39_0x2974d4(0x205)),TestFrameworkState=require(a39_0x2974d4(0x1e2)),HookState=require('../../v2/state/hookState'),LOG_LEVELS=[a39_0x2974d4(0x122),a39_0x2974d4(0x176),a39_0x2974d4(0x1b8),a39_0x2974d4(0x1ec),a39_0x2974d4(0x18d)];function isCLIRunning(){const _0x2a8284=a39_0x2974d4;try{return BrowserstackCLI[_0x2a8284(0x139)]()[_0x2a8284(0x1b0)]();}catch(_0x5932a8){return![];}}function getParentTitles(_0x5b03b9){const _0xf158dc=a39_0x2974d4,_0x7269d={'GDqHv':function(_0x5b0765,_0x5a4f8b){return _0x5b0765(_0x5a4f8b);}},_0x557412=[],_0x677afb=_0x5b03b9[_0xf158dc(0x1ef)]();return _0x677afb&&_0x557412['push'][_0xf158dc(0x1fb)](_0x557412,_0x7269d[_0xf158dc(0x178)](getParentTitles,_0x677afb)),_0x5b03b9['name']&&_0x557412['push'](_0x7269d['GDqHv'](String,_0x5b03b9[_0xf158dc(0x17d)])),_0x557412;}function normalizeLogLevel(_0x2b603a){const _0x376e75=a39_0x2974d4,_0x16b67f={};_0x16b67f[_0x376e75(0x132)]=_0x376e75(0x122),_0x16b67f[_0x376e75(0x158)]=function(_0x489b3a,_0x78d0c4){return _0x489b3a!==_0x78d0c4;};const _0x276570=_0x16b67f;if(!_0x2b603a)return _0x276570['HzFjN'];const _0x59c45b=_0x2b603a[_0x376e75(0x154)]();return _0x276570[_0x376e75(0x158)](LOG_LEVELS[_0x376e75(0x180)](_0x59c45b),-0x1)?_0x59c45b:_0x276570[_0x376e75(0x132)];}function a39_0x1e73(){const _0x533e45=['BtehA','hostname','mlKBX','toISOString','HBAOH','PRE','ONJWH','hSIgt','url','dGphk','logCreatedEvent','logs','bpKkQ','hgBWm','execution','HPRjz','stringify','LULHZ','testFrameworkName','foPvh','../../v2/browserstackCLI','durationMs','akYwi','zjOYy','ref','595nDhiHs','XgtFa','path','[Newman\x20Reporter]\x20Error\x20in\x20bs:addLog\x20handler:\x20','MnIfx','WARN','TIDGw','GDqHv','WsrhW','xZbGF','aSxkQ','SiNsv','name','OPOyz','hDhPa','indexOf','[Newman\x20Reporter]\x20emitLog\x20error:\x20','EcKlQ','kind','test_run','level','info','http','MuZeb','BVoIs','argv','startedAt','TEST','TRACE','ZSFvU','../../../helpers/test-observability/utils','exports','ZpsRS','jmbMF','testFrameworkVersion','TestRunStarted','914976otaona','QxeLd','czYdP','winstonLogger','yKitk','lastResponseCode','bs:addLog:','concat','code','scopes','failure_backtrace','uuid','ZNoFX','745209BySUuA','iteration','expanded','ubZhx','rQPCF','TEST_LOG','90LNZirB','AIENs','[Newman\x20Reporter]\x20Error\x20in\x20beforeItem:\x20','zUAFB','removeListener','location','AsRfY','UqTLx','isRunning','uWjeb','host','MTbUv','aLLxN','[Newman\x20Reporter]\x20Could\x20not\x20resolve\x20collection\x20file\x20path,\x20falling\x20back\x20to\x20collection.json','104710JoLHgm','AssertionError','ERROR','string','200643qlHzHd','../../../helpers/test-observability/sessionHandler','event','headers','PGsgw','HTTP\x20','zSNHH','OIxYU','duration_ms','startsWith','tUZyX','failed','method','IMtEi','pathname','set','collectionName','event_type','[Newman\x20Reporter]\x20emitTest\x20error:\x20','bpIbv','result','rFcQL','OuWHM','pTvll','LMJAU','failureType','BpDcj','LIYsG','[Newman\x20Reporter]\x20Error\x20in\x20assertion:\x20','fxbKN','PXnHR','resolve','kpquG','ubHuG','LnJHA','jKwct','messages','script','failureReason','tksic','../../v2/state/testFrameworkState','../../../helpers/logger','[Newman\x20Reporter]\x20Error\x20in\x20exception:\x20','LScCR','assert','QyIbT','gouln','http_response','\x20—\x20response\x20status\x20in\x20failure\x20range','get','DEBUG','push','677552TDoToE','parent','):\x20','getTime','forEach','startTimestamp','error','stack','Script\x20error\x20(','test_run_uuid','max','\x20(no\x20assertions)','request','apply','slice','uploadEventData','[Newman\x20Reporter]\x20Error\x20in\x20item:\x20','lLhvo','ZxOfn','URHDQ','cwd','http://','KUslW','../../v2/grpcClient','sBbUI','\x20(HTTP\x20','failure','relative','trackEvent','1241460pViAaV','qMFMF','message','identifier','HTTP\x20Status:\x20','run','item','status_code','INFO','35184ImqnxY','atXJa','javascript','bZYRX','WvnfM','[Newman\x20Reporter]\x20Error\x20in\x20console:\x20','done','now','rduVU','HTTP','UTVWB','JeJos','responseTime','collection','toString','HzFjN','whWMJ','length','clear','RKgiM','eSRcv','Fpvqs','getInstance','finishedAt','httpLog','Exception:\x20','POST','newman','dINGK','OKJha','OAeQg','kZFQq','pending','assertions','search','qrhgL','bufferedLogs','uEMta','beforeItem','beforeIteration','join','err','\x20->\x20','assertion','delete','TestRunFinished','ijrVc','aCZZB','xmSpU','toUpperCase','cursor','response','backtrace'];a39_0x1e73=function(){return _0x533e45;};return a39_0x1e73();}function resolveCollectionFile(_0x1a461b,_0xf1242){const _0xbe134a=a39_0x2974d4,_0x17c8ce={};_0x17c8ce['xddNb']=function(_0x30e4b4,_0x1b0116){return _0x30e4b4===_0x1b0116;},_0x17c8ce[_0xbe134a(0x17a)]=_0xbe134a(0x1b9),_0x17c8ce[_0xbe134a(0x1e5)]=_0xbe134a(0x210),_0x17c8ce[_0xbe134a(0x1ab)]=function(_0x197f1d,_0x3d4da3){return _0x197f1d!==_0x3d4da3;},_0x17c8ce[_0xbe134a(0x167)]=function(_0x4c98eb,_0x165122){return _0x4c98eb<_0x165122;},_0x17c8ce[_0xbe134a(0x152)]=function(_0x330eaf,_0x4135c2){return _0x330eaf+_0x4135c2;},_0x17c8ce[_0xbe134a(0x189)]=_0xbe134a(0x1b5),_0x17c8ce['lzyeI']='collection.json';const _0xeb4799=_0x17c8ce;try{if(_0xf1242&&_0xf1242['collectionPath'])return path['relative'](process[_0xbe134a(0x202)](),path[_0xbe134a(0x1d9)](_0xf1242['collectionPath']));const _0xbbca9f=_0x1a461b[_0xbe134a(0x130)];if(_0xeb4799['xddNb'](typeof _0xbbca9f,_0xeb4799['xZbGF']))return path[_0xbe134a(0x209)](process['cwd'](),path[_0xbe134a(0x1d9)](_0xbbca9f));const _0x1bcb2e=process[_0xbe134a(0x18a)][_0xbe134a(0x180)](_0xeb4799['LScCR']);if(_0xeb4799[_0xbe134a(0x1ab)](_0x1bcb2e,-0x1)&&_0xeb4799['HPRjz'](_0xeb4799[_0xbe134a(0x152)](_0x1bcb2e,0x1),process[_0xbe134a(0x18a)][_0xbe134a(0x134)])){const _0xa55e2a=process['argv'][_0xeb4799[_0xbe134a(0x152)](_0x1bcb2e,0x1)];if(_0xa55e2a&&!_0xa55e2a[_0xbe134a(0x1c3)]('-'))return path[_0xbe134a(0x209)](process[_0xbe134a(0x202)](),path[_0xbe134a(0x1d9)](_0xa55e2a));}}catch(_0xbd7cce){}return logger['info'](_0xeb4799[_0xbe134a(0x189)]),_0xeb4799['lzyeI'];}function resolveCollectionName(_0x22045a){const _0x46b755=a39_0x2974d4,_0x257c61={};_0x257c61[_0x46b755(0x1be)]=function(_0x1599d6,_0x1eae2b){return _0x1599d6===_0x1eae2b;},_0x257c61[_0x46b755(0x165)]='object';const _0xf99d1c=_0x257c61;try{const _0x177a0d=_0x22045a[_0x46b755(0x130)];if(_0x177a0d&&_0xf99d1c[_0x46b755(0x1be)](typeof _0x177a0d,_0xf99d1c[_0x46b755(0x165)]))return _0x177a0d[_0x46b755(0x17d)]||_0x177a0d[_0x46b755(0x186)]&&_0x177a0d[_0x46b755(0x186)][_0x46b755(0x17d)]||null;}catch(_0x2ba0d9){}return null;}function emitTest(_0x8e0338,_0x341221,_0x1051f1,_0x4ec14c,_0x3639ec){const _0x38b8ff=a39_0x2974d4,_0x1c62b1={'ONJWH':function(_0x14283d){return _0x14283d();},'rduVU':_0x38b8ff(0x143),'QyIbT':function(_0x1fc495,_0x53cb80){return _0x1fc495(_0x53cb80);},'kpquG':_0x38b8ff(0x13e),'Dogtw':_0x38b8ff(0x125),'YLnMO':function(_0x4cde12,_0x397dd2){return _0x4cde12!=_0x397dd2;},'tksic':function(_0xcf31db,_0x17f7ef){return _0xcf31db===_0x17f7ef;},'URHDQ':_0x38b8ff(0x194),'iYztX':_0x38b8ff(0x150)};if(_0x1c62b1[_0x38b8ff(0x15e)](isCLIRunning))try{const _0x4b4be8=BrowserstackCLI[_0x38b8ff(0x139)]()['getTestFramework']();if(!_0x4b4be8)return;_0x4b4be8[_0x38b8ff(0x20a)](TestFrameworkState['TEST'],_0x8e0338,{'test':{'uuid':_0x341221[_0x38b8ff(0x1a0)],'name':_0x341221[_0x38b8ff(0x17d)],'scopes':_0x1051f1[_0x38b8ff(0x19e)],'scope':_0x1051f1[_0x38b8ff(0x19e)][_0x38b8ff(0x14b)]('\x20'),'file_path':_0x4ec14c,'location':_0x1051f1[_0x38b8ff(0x1ca)],'started_at':_0x1051f1[_0x38b8ff(0x18b)],'finished_at':_0x3639ec['finishedAt']||null,'result':_0x3639ec['result']||_0x1c62b1['rduVU'],'failure':_0x3639ec['failure']||[],'failure_type':_0x3639ec[_0x38b8ff(0x1d3)]||null,'failure_reason':_0x3639ec['failureReason']||null,'tags':[],'meta':{},'custom_metadata':{}}});}catch(_0x3e77dc){_0x1c62b1[_0x38b8ff(0x1e7)](debug,_0x38b8ff(0x1cc)+_0x3e77dc);}else{const _0x40c42d={'uuid':_0x341221[_0x38b8ff(0x1a0)],'name':_0x341221['name'],'framework':_0x1c62b1[_0x38b8ff(0x1da)],'body':{'lang':_0x1c62b1['Dogtw'],'code':null},'scope':_0x1051f1[_0x38b8ff(0x19e)]['join']('\x20'),'scopes':_0x1051f1[_0x38b8ff(0x19e)],'identifier':_0x341221[_0x38b8ff(0x20e)],'file_name':_0x1051f1[_0x38b8ff(0x1ca)],'vc_filepath':_0x1051f1[_0x38b8ff(0x1ad)],'location':_0x1051f1[_0x38b8ff(0x1ad)],'started_at':_0x1051f1['startedAt'],'finished_at':_0x3639ec[_0x38b8ff(0x13a)]||null,'duration_in_ms':_0x1c62b1['YLnMO'](_0x3639ec[_0x38b8ff(0x16d)],null)?Math[_0x38b8ff(0x1f8)](0x0,_0x3639ec[_0x38b8ff(0x16d)]):null,'result':_0x3639ec[_0x38b8ff(0x1ce)]||_0x1c62b1[_0x38b8ff(0x12b)],'failure_reason':_0x3639ec[_0x38b8ff(0x1e0)]||null,'failure_type':_0x3639ec[_0x38b8ff(0x1d3)]||null,'failure':_0x3639ec[_0x38b8ff(0x208)]||[],'retry_of':null,'hooks':[]};_0x40c42d[_0x38b8ff(0x208)][0x0]&&(_0x40c42d[_0x38b8ff(0x19f)]=_0x40c42d['failure'][0x0][_0x38b8ff(0x157)],_0x40c42d['failure_reason_expanded']=_0x40c42d[_0x38b8ff(0x208)][0x0][_0x38b8ff(0x1a4)]);const _0x7225d=_0x1c62b1[_0x38b8ff(0x1e1)](_0x8e0338,HookState['PRE'])?_0x1c62b1[_0x38b8ff(0x201)]:_0x1c62b1['iYztX'],_0x1dded7={};_0x1dded7[_0x38b8ff(0x1cb)]=_0x7225d,_0x1dded7[_0x38b8ff(0x184)]=_0x40c42d,SessionHandler[_0x38b8ff(0x1fd)](_0x1dded7);}}function emitLog(_0x16c9d6,_0xfb0be3){const _0xdc9dcd=a39_0x2974d4,_0x5794cb={'qMFMF':_0xdc9dcd(0x1a7),'hDhPa':function(_0x20ebce){return _0x20ebce();},'EcKlQ':function(_0x2a6026,_0x1ad492){return _0x2a6026===_0x1ad492;},'XgtFa':_0xdc9dcd(0x12c),'Rkvee':'newman','IZsoz':_0xdc9dcd(0x18c),'IMtEi':_0xdc9dcd(0x122),'ubZhx':function(_0x7f1d83,_0x2d8239){return _0x7f1d83(_0x2d8239);},'WvnfM':function(_0x3eecea,_0x127044){return _0x3eecea+_0x127044;},'RKgiM':_0xdc9dcd(0x181),'yKitk':'LogCreated'},_0x37ae05=_0xfb0be3['kind']||_0x5794cb[_0xdc9dcd(0x20c)],_0x38828e=_0xfb0be3['timestamp']||new Date()['toISOString']();if(_0x5794cb[_0xdc9dcd(0x17f)](isCLIRunning))try{const _0x3ec2bc=_0x5794cb[_0xdc9dcd(0x182)](_0x37ae05,_0x5794cb[_0xdc9dcd(0x172)])?JSON[_0xdc9dcd(0x168)](_0xfb0be3):_0xfb0be3[_0xdc9dcd(0x20d)]||'',_0x3a46f4={};_0x3a46f4['platformIndex']=0x0,_0x3a46f4[_0xdc9dcd(0x16a)]=_0x5794cb['Rkvee'],_0x3a46f4[_0xdc9dcd(0x193)]='',_0x3a46f4['testFrameworkState']=_0x5794cb['IZsoz'],_0x3a46f4[_0xdc9dcd(0x163)]=[{'uuid':_0x16c9d6,'timestamp':_0x38828e,'kind':_0x37ae05,'level':_0xfb0be3[_0xdc9dcd(0x185)]||_0x5794cb[_0xdc9dcd(0x1c7)],'message':_0x3ec2bc}],GrpcClient['getInstance']()[_0xdc9dcd(0x162)](_0x3a46f4);}catch(_0x4ee0b8){_0x5794cb[_0xdc9dcd(0x1a5)](debug,_0x5794cb[_0xdc9dcd(0x127)](_0x5794cb[_0xdc9dcd(0x136)],_0x4ee0b8));}else{const _0x2503be={};_0x2503be[_0xdc9dcd(0x1f7)]=_0x16c9d6,_0x2503be['timestamp']=_0x38828e,_0x2503be['level']=_0xfb0be3[_0xdc9dcd(0x185)]||null,_0x2503be['message']=_0xfb0be3[_0xdc9dcd(0x20d)]||null,_0x2503be[_0xdc9dcd(0x183)]=_0x37ae05,_0x2503be[_0xdc9dcd(0x1e9)]=_0xfb0be3[_0xdc9dcd(0x1e9)]||{};const _0x3d2e37={};_0x3d2e37[_0xdc9dcd(0x1cb)]=_0x5794cb[_0xdc9dcd(0x199)],_0x3d2e37[_0xdc9dcd(0x163)]=[_0x2503be],SessionHandler[_0xdc9dcd(0x1fd)](_0x3d2e37);}}function BrowserStackNewmanReporter(_0x3b72ec,_0x1a2a53,_0x168a93){const _0x1b2bbc=a39_0x2974d4,_0x4f3e80={'MuZeb':function(_0x3a0937,_0x5b18b7,_0x53182b){return _0x3a0937(_0x5b18b7,_0x53182b);},'UqTLx':function(_0xffccfe,_0x26fcc7){return _0xffccfe(_0x26fcc7);},'SiNsv':function(_0x2a7fc8,_0x5197cb){return _0x2a7fc8(_0x5197cb);},'OuWHM':function(_0x7e894b,_0x58fc54){return _0x7e894b>_0x58fc54;},'KUslW':_0x1b2bbc(0x187),'OIxYU':function(_0x2dbf22,_0x88e1bf){return _0x2dbf22+_0x88e1bf;},'rQPCF':'GET','uWjeb':_0x1b2bbc(0x1a7),'USBRS':function(_0x550cd7){return _0x550cd7();},'UTVWB':function(_0x2a53b9,_0x42a37a){return _0x2a53b9||_0x42a37a;},'foPvh':function(_0x576780,_0x4998f4,_0x23cf99,_0x5512a0,_0x59d7e6,_0x8b7da4){return _0x576780(_0x4998f4,_0x23cf99,_0x5512a0,_0x59d7e6,_0x8b7da4);},'ubHuG':function(_0x3991b3,_0x2c70f6){return _0x3991b3===_0x2c70f6;},'BpDcj':function(_0x2201d3,_0x58f3e5,_0x5da6a9){return _0x2201d3(_0x58f3e5,_0x5da6a9);},'ZNoFX':_0x1b2bbc(0x12c),'YhaDf':function(_0x103770,_0x321ecb){return _0x103770+_0x321ecb;},'OPOyz':function(_0x56c547,_0x358c56){return _0x56c547+_0x358c56;},'LnJHA':function(_0x70bf89,_0x269d06){return _0x70bf89+_0x269d06;},'gouln':function(_0x45d111,_0x2873f8){return _0x45d111+_0x2873f8;},'OQaBD':function(_0xd29017,_0x1bbaf7){return _0xd29017+_0x1bbaf7;},'zjOYy':function(_0x5a32db,_0x13e37c){return _0x5a32db+_0x13e37c;},'HBAOH':_0x1b2bbc(0x14d),'akYwi':'ms)','QxeLd':_0x1b2bbc(0x122),'MTbUv':function(_0x157598,_0x11aaa6){return _0x157598-_0x11aaa6;},'OAeQg':function(_0x1ea5c6,_0x32bc7e){return _0x1ea5c6&&_0x32bc7e;},'dGphk':function(_0x4c6daf,_0x5bd5db){return _0x4c6daf>_0x5bd5db;},'AsRfY':function(_0x193830,_0x37616a){return _0x193830-_0x37616a;},'laeVb':function(_0x3d0807,_0x2414d1,_0x541569){return _0x3d0807(_0x2414d1,_0x541569);},'bZYRX':function(_0x20093d,_0x3a1b0d){return _0x20093d+_0x3a1b0d;},'rFcQL':_0x1b2bbc(0x13c),'xmSpU':_0x1b2bbc(0x1b8),'OKJha':function(_0x1b196f,_0x4d369b){return _0x1b196f(_0x4d369b);},'lLhvo':function(_0x27842c,_0x377f5a){return _0x27842c+_0x377f5a;},'WsrhW':_0x1b2bbc(0x1e4),'mlKBX':function(_0x32079b,_0x18f0ad){return _0x32079b-_0x18f0ad;},'qrhgL':'unknown','bpIbv':function(_0x2c9dbc,_0xf563ba,_0x5be26e){return _0x2c9dbc(_0xf563ba,_0x5be26e);},'LMJAU':function(_0x5a02b7,_0x682f8d){return _0x5a02b7+_0x682f8d;},'AIENs':function(_0x4a6f13,_0x214361){return _0x4a6f13+_0x214361;},'Djzsw':_0x1b2bbc(0x1f6),'uEMta':_0x1b2bbc(0x1f0),'aLLxN':function(_0x3ad415,_0x1df90e){return _0x3ad415(_0x1df90e);},'ZpsRS':function(_0x4370b0,_0x1a1780){return _0x4370b0+_0x1a1780;},'hSIgt':'[Newman\x20Reporter]\x20Error\x20in\x20script:\x20','LULHZ':_0x1b2bbc(0x1c5),'whWMJ':'passed','kZFQq':_0x1b2bbc(0x1b7),'AtORY':_0x1b2bbc(0x1e6),'eSRcv':'UnhandledError','zSNHH':function(_0x39cc3d,_0x5ad632,_0x593254){return _0x39cc3d(_0x5ad632,_0x593254);},'bpKkQ':function(_0x4624f9,_0x1e5140){return _0x4624f9>_0x1e5140;},'ZCvOu':function(_0x2d4eb0){return _0x2d4eb0();},'MnIfx':function(_0x458949,_0x355f62){return _0x458949!=_0x355f62;},'fxbKN':function(_0x2420f4,_0x222142){return _0x2420f4>=_0x222142;},'glqSD':function(_0x3cadca,_0x1a9fa8){return _0x3cadca<_0x1a9fa8;},'qPydB':function(_0x54bcff,_0x8686e7){return _0x54bcff||_0x8686e7;},'MkMRG':'N/A','PXnHR':function(_0x30f176,_0xe48329){return _0x30f176!=_0xe48329;},'aSxkQ':'No\x20HTTP\x20response\x20received','dINGK':function(_0x5baf6e,_0x1e1e7c,_0x8c3824){return _0x5baf6e(_0x1e1e7c,_0x8c3824);},'JeJos':function(_0x2b2283,_0xfe59c6){return _0x2b2283+_0xfe59c6;},'wSvRk':function(_0x3cab47,_0x12ed66){return _0x3cab47+_0x12ed66;},'ZxOfn':function(_0x29d46b,_0x178c0b){return _0x29d46b+_0x178c0b;},'TIDGw':function(_0x42d65c,_0x23f345){return _0x42d65c+_0x23f345;},'MbSAB':function(_0x3da671,_0x342fa7,_0x3ce541){return _0x3da671(_0x342fa7,_0x3ce541);},'sBbUI':function(_0x5044cb,_0x560dbb,_0x3399cb){return _0x5044cb(_0x560dbb,_0x3399cb);},'jKwct':_0x1b2bbc(0x20f),'vEfmn':function(_0x5c695c,_0x723f8e){return _0x5c695c||_0x723f8e;},'szodr':_0x1b2bbc(0x1f9),'ZSFvU':function(_0x557391,_0x44731c,_0x37482e,_0x3dd3fd,_0x3ed3cb,_0x9d85f1){return _0x557391(_0x44731c,_0x37482e,_0x3dd3fd,_0x3ed3cb,_0x9d85f1);},'LIYsG':function(_0x206955,_0x39eab5){return _0x206955(_0x39eab5);},'ibRmt':_0x1b2bbc(0x129),'Fpvqs':_0x1b2bbc(0x14a),'UtZRX':_0x1b2bbc(0x149),'atXJa':_0x1b2bbc(0x1fa),'ijrVc':_0x1b2bbc(0x14e),'pTvll':'console','CZeaf':'exception','tUZyX':_0x1b2bbc(0x1df),'czYdP':_0x1b2bbc(0x120)},_0x1e455c=new Map();let _0x347535=null,_0x98b149=0x0;const _0x4a1d73=_0x4f3e80['MuZeb'](resolveCollectionFile,_0x168a93,_0x1a2a53),_0x5018f6=_0x4f3e80[_0x1b2bbc(0x1d5)](resolveCollectionName,_0x168a93)||_0x4a1d73,_0x15355f=path[_0x1b2bbc(0x1d9)](_0x4a1d73),_0x23d0c6=_0x1b2bbc(0x19b)+process['pid'],_0x128921=_0x17dc81=>{const _0x4405ff=_0x1b2bbc;try{_0x347535&&_0x4f3e80[_0x4405ff(0x188)](emitLog,_0x347535,_0x17dc81);}catch(_0x38c915){_0x4f3e80[_0x4405ff(0x1af)](debug,_0x4405ff(0x174)+_0x38c915);}};process['on'](_0x23d0c6,_0x128921),_0x3b72ec['on'](_0x4f3e80['ibRmt'],()=>{const _0xd37c05=_0x1b2bbc;process[_0xd37c05(0x1ac)](_0x23d0c6,_0x128921),_0x1e455c[_0xd37c05(0x135)]();}),_0x3b72ec['on'](_0x4f3e80[_0x1b2bbc(0x138)],(_0x518803,_0x37a5bf)=>{const _0x4eda00=_0x1b2bbc;_0x37a5bf&&_0x37a5bf[_0x4eda00(0x155)]&&(_0x98b149=_0x37a5bf[_0x4eda00(0x155)][_0x4eda00(0x1a3)]||0x0);}),_0x3b72ec['on'](_0x4f3e80['UtZRX'],(_0x6b028f,_0x445136)=>{const _0x138a58=_0x1b2bbc;try{_0x347535=null;const _0x3c83d0=_0x445136['item'],_0x2187b2=_0x3c83d0['parent']()?_0x4f3e80[_0x138a58(0x17c)](getParentTitles,_0x3c83d0[_0x138a58(0x1ef)]()):[],_0x55d660=_0x4f3e80[_0x138a58(0x1d0)](_0x2187b2[_0x138a58(0x134)],0x1)?_0x2187b2[_0x138a58(0x1fc)](0x1):_0x2187b2,_0x5e2bbb=_0x445136[_0x138a58(0x155)]&&_0x445136['cursor']['ref'],_0x1ee2e4={'itemName':_0x3c83d0[_0x138a58(0x17d)],'scopes':_0x55d660[_0x138a58(0x19c)]([_0x3c83d0[_0x138a58(0x17d)]]),'location':_0x4a1d73,'collectionName':_0x5018f6,'startedAt':new Date()[_0x138a58(0x15b)](),'startTimestamp':Date[_0x138a58(0x12a)](),'lastResponseCode':null,'httpLog':null,'assertions':[],'bufferedLogs':[]};_0x1e455c[_0x138a58(0x1c9)](_0x3c83d0['id']+'_'+_0x98b149,_0x1ee2e4),_0x5e2bbb&&_0x1e455c[_0x138a58(0x1c9)](_0x5e2bbb+'_'+_0x98b149,_0x1ee2e4);}catch(_0x446919){_0x4f3e80[_0x138a58(0x1af)](debug,_0x138a58(0x1aa)+_0x446919);}}),_0x3b72ec['on'](_0x4f3e80[_0x1b2bbc(0x124)],(_0x38c091,_0x20b8e2)=>{const _0x13edac=_0x1b2bbc;try{if(!_0x20b8e2||!_0x20b8e2[_0x13edac(0x120)])return;const _0x317007=_0x1e455c[_0x13edac(0x1eb)](_0x20b8e2[_0x13edac(0x120)]['id']+'_'+_0x98b149);if(!_0x317007)return;_0x20b8e2['response']&&(_0x317007[_0x13edac(0x19a)]=_0x20b8e2[_0x13edac(0x156)][_0x13edac(0x19d)]||null);if(!_0x20b8e2[_0x13edac(0x1fa)])return;let _0x51683a='',_0x164399='';if(_0x20b8e2['request'][_0x13edac(0x160)])try{const _0x2c9ffb=_0x20b8e2[_0x13edac(0x1fa)]['url']['toString'](),_0x58d4de=new URL(_0x2c9ffb['startsWith'](_0x4f3e80[_0x13edac(0x204)])?_0x2c9ffb:_0x13edac(0x203)+_0x2c9ffb);_0x51683a=_0x58d4de[_0x13edac(0x159)],_0x164399=_0x4f3e80[_0x13edac(0x1c1)](_0x58d4de[_0x13edac(0x1c8)],_0x58d4de[_0x13edac(0x145)]);}catch(_0xf55f4a){_0x164399=_0x20b8e2[_0x13edac(0x1fa)][_0x13edac(0x160)][_0x13edac(0x131)]();}const _0xced1dd={};_0xced1dd[_0x13edac(0x1b2)]=_0x51683a,_0xced1dd[_0x13edac(0x173)]=_0x164399,_0xced1dd['method']=_0x20b8e2[_0x13edac(0x1fa)][_0x13edac(0x1c6)]||_0x4f3e80[_0x13edac(0x1a6)],_0xced1dd[_0x13edac(0x1bd)]={},_0xced1dd[_0x13edac(0x121)]=_0x20b8e2[_0x13edac(0x156)]?_0x20b8e2['response'][_0x13edac(0x19d)]||0x0:0x0,_0xced1dd[_0x13edac(0x1c2)]=_0x20b8e2['response']?_0x20b8e2['response'][_0x13edac(0x12f)]||0x0:0x0,_0x317007[_0x13edac(0x13b)]=_0xced1dd;}catch(_0x5cb703){_0x4f3e80[_0x13edac(0x1af)](debug,'[Newman\x20Reporter]\x20Error\x20in\x20request:\x20'+_0x5cb703);}}),_0x3b72ec['on'](_0x4f3e80[_0x1b2bbc(0x151)],(_0x502b1c,_0x49f5eb)=>{const _0x305996=_0x1b2bbc;try{if(!_0x49f5eb||!_0x49f5eb[_0x305996(0x120)])return;const _0x39d95c=_0x1e455c[_0x305996(0x1eb)](_0x49f5eb[_0x305996(0x120)]['id']+'_'+_0x98b149);if(!_0x39d95c)return;const _0x4de26e=_0x49f5eb[_0x305996(0x14e)]||'Assertion\x20'+_0x4f3e80[_0x305996(0x1c1)](_0x39d95c[_0x305996(0x144)][_0x305996(0x134)],0x1),_0x3df31f=_0x4f3e80['USBRS'](uuidv4),_0x7971a2=_0x39d95c[_0x305996(0x19e)][_0x305996(0x19c)]([_0x4de26e])[_0x305996(0x14b)]('\x20');_0x39d95c['assertions'][_0x305996(0x1ed)]({'uuid':_0x3df31f,'name':_0x4de26e,'identifier':_0x7971a2,'err':_0x4f3e80[_0x305996(0x12d)](_0x502b1c,null)});const _0x8ac127={};_0x8ac127[_0x305996(0x1a0)]=_0x3df31f,_0x8ac127[_0x305996(0x17d)]=_0x4de26e,_0x8ac127[_0x305996(0x20e)]=_0x7971a2,_0x4f3e80['foPvh'](emitTest,HookState[_0x305996(0x15d)],_0x8ac127,_0x39d95c,_0x15355f,{});_0x4f3e80['ubHuG'](_0x39d95c[_0x305996(0x144)]['length'],0x1)&&_0x4f3e80[_0x305996(0x1d0)](_0x39d95c[_0x305996(0x147)]['length'],0x0)&&(_0x39d95c['bufferedLogs']['forEach'](_0x45b2a5=>{const _0xbb949f=_0x305996;_0x4f3e80[_0xbb949f(0x188)](emitLog,_0x3df31f,{'kind':_0x4f3e80[_0xbb949f(0x1b1)],'message':_0x45b2a5[_0xbb949f(0x20d)],'level':_0x45b2a5[_0xbb949f(0x185)]});}),_0x39d95c['bufferedLogs']=[]);if(_0x39d95c[_0x305996(0x13b)]){_0x4f3e80[_0x305996(0x1d4)](emitLog,_0x3df31f,{'kind':_0x4f3e80[_0x305996(0x1a1)],'http_response':_0x39d95c['httpLog']});const _0x19056f=_0x4f3e80['YhaDf'](_0x4f3e80[_0x305996(0x17e)](_0x4f3e80[_0x305996(0x1dc)](_0x4f3e80[_0x305996(0x1c1)](_0x4f3e80[_0x305996(0x1e8)](_0x4f3e80['gouln'](_0x4f3e80['OQaBD'](_0x4f3e80[_0x305996(0x16f)](_0x39d95c[_0x305996(0x13b)]['method']||_0x4f3e80[_0x305996(0x1a6)],'\x20'),_0x39d95c[_0x305996(0x13b)][_0x305996(0x1b2)]),_0x39d95c['httpLog'][_0x305996(0x173)]),_0x4f3e80[_0x305996(0x15c)]),_0x39d95c['httpLog'][_0x305996(0x121)]),'\x20('),_0x39d95c[_0x305996(0x13b)]['duration_ms']),_0x4f3e80[_0x305996(0x16e)]);_0x4f3e80['MuZeb'](emitLog,_0x3df31f,{'kind':_0x4f3e80[_0x305996(0x1b1)],'message':_0x19056f,'level':_0x4f3e80[_0x305996(0x196)]});}_0x347535=_0x3df31f;}catch(_0x1924a9){_0x4f3e80[_0x305996(0x17c)](debug,_0x305996(0x1d6)+_0x1924a9);}}),_0x3b72ec['on'](_0x4f3e80[_0x1b2bbc(0x1d1)],(_0x900aae,_0x406d83)=>{const _0x58e8ee=_0x1b2bbc;try{if(!_0x406d83)return;let _0x46d8c5=_0x347535;if(!_0x46d8c5&&_0x406d83[_0x58e8ee(0x155)]&&_0x406d83[_0x58e8ee(0x155)][_0x58e8ee(0x170)]){const _0x5bdc1c=_0x1e455c['get'](_0x406d83[_0x58e8ee(0x155)][_0x58e8ee(0x170)]+'_'+_0x98b149);_0x5bdc1c&&_0x4f3e80['OuWHM'](_0x5bdc1c[_0x58e8ee(0x144)][_0x58e8ee(0x134)],0x0)&&(_0x46d8c5=_0x5bdc1c[_0x58e8ee(0x144)][_0x4f3e80[_0x58e8ee(0x1b3)](_0x5bdc1c[_0x58e8ee(0x144)]['length'],0x1)][_0x58e8ee(0x1a0)]);}const _0x3f02d1=_0x406d83[_0x58e8ee(0x1de)]?_0x406d83[_0x58e8ee(0x1de)][_0x58e8ee(0x14b)](',\x20'):'';if(_0x46d8c5)_0x4f3e80[_0x58e8ee(0x1d4)](emitLog,_0x46d8c5,{'kind':_0x4f3e80[_0x58e8ee(0x1b1)],'message':_0x3f02d1,'level':_0x4f3e80['UqTLx'](normalizeLogLevel,_0x406d83[_0x58e8ee(0x185)])});else{if(_0x406d83[_0x58e8ee(0x155)]&&_0x406d83['cursor']['ref']){const _0x1e4402=_0x1e455c['get'](_0x406d83[_0x58e8ee(0x155)][_0x58e8ee(0x170)]+'_'+_0x98b149);_0x1e4402&&_0x1e4402['bufferedLogs'][_0x58e8ee(0x1ed)]({'timestamp':new Date()[_0x58e8ee(0x15b)](),'level':_0x4f3e80[_0x58e8ee(0x17c)](normalizeLogLevel,_0x406d83[_0x58e8ee(0x185)]),'message':_0x3f02d1});}}}catch(_0xc36348){_0x4f3e80['UqTLx'](debug,_0x58e8ee(0x128)+_0xc36348);}}),_0x3b72ec['on'](_0x4f3e80['CZeaf'],(_0x5af6fc,_0xe77b17)=>{const _0x485e8f=_0x1b2bbc;try{if(!_0x5af6fc&&(!_0xe77b17||!_0xe77b17[_0x485e8f(0x1f4)]))return;const _0x409024=_0x5af6fc||_0xe77b17[_0x485e8f(0x1f4)],_0x12c580=_0x409024[_0x485e8f(0x20d)]||_0x4f3e80['SiNsv'](String,_0x409024),_0x4c3a81=_0x409024[_0x485e8f(0x1f5)]||_0x12c580;let _0x21cea9=_0x347535;if(_0x4f3e80[_0x485e8f(0x141)](!_0x21cea9,_0xe77b17)&&_0xe77b17[_0x485e8f(0x155)]&&_0xe77b17[_0x485e8f(0x155)][_0x485e8f(0x170)]){const _0x3981b1=_0x1e455c['get'](_0xe77b17['cursor']['ref']+'_'+_0x98b149);_0x3981b1&&_0x4f3e80[_0x485e8f(0x161)](_0x3981b1['assertions'][_0x485e8f(0x134)],0x0)&&(_0x21cea9=_0x3981b1['assertions'][_0x4f3e80[_0x485e8f(0x1ae)](_0x3981b1['assertions'][_0x485e8f(0x134)],0x1)][_0x485e8f(0x1a0)]);}_0x21cea9&&_0x4f3e80['laeVb'](emitLog,_0x21cea9,{'kind':_0x4f3e80[_0x485e8f(0x1b1)],'message':_0x4f3e80[_0x485e8f(0x126)](_0x4f3e80[_0x485e8f(0x1cf)],_0x4c3a81),'level':_0x4f3e80[_0x485e8f(0x153)]});}catch(_0x223dc0){_0x4f3e80[_0x485e8f(0x140)](debug,_0x4f3e80[_0x485e8f(0x1ff)](_0x4f3e80[_0x485e8f(0x179)],_0x223dc0));}}),_0x3b72ec['on'](_0x4f3e80[_0x1b2bbc(0x1c4)],(_0x5f4ee7,_0x841fa4)=>{const _0x1d9d96=_0x1b2bbc;try{if(!_0x841fa4||!_0x841fa4[_0x1d9d96(0x166)])return;let _0x2d6f34=_0x347535;if(!_0x2d6f34&&_0x841fa4[_0x1d9d96(0x155)]&&_0x841fa4[_0x1d9d96(0x155)][_0x1d9d96(0x170)]){const _0x3c5f18=_0x1e455c[_0x1d9d96(0x1eb)](_0x841fa4['cursor'][_0x1d9d96(0x170)]+'_'+_0x98b149);_0x3c5f18&&_0x4f3e80[_0x1d9d96(0x1d0)](_0x3c5f18[_0x1d9d96(0x144)][_0x1d9d96(0x134)],0x0)&&(_0x2d6f34=_0x3c5f18[_0x1d9d96(0x144)][_0x4f3e80[_0x1d9d96(0x15a)](_0x3c5f18[_0x1d9d96(0x144)][_0x1d9d96(0x134)],0x1)]['uuid']);}if(!_0x2d6f34)return;const _0x303df5=_0x841fa4['event']&&_0x841fa4[_0x1d9d96(0x1bc)]['listen']||_0x4f3e80[_0x1d9d96(0x146)];_0x5f4ee7&&_0x4f3e80[_0x1d9d96(0x1cd)](emitLog,_0x2d6f34,{'kind':_0x4f3e80['uWjeb'],'message':_0x4f3e80[_0x1d9d96(0x17e)](_0x4f3e80['LMJAU'](_0x4f3e80[_0x1d9d96(0x1a9)](_0x4f3e80['Djzsw'],_0x303df5),_0x4f3e80[_0x1d9d96(0x148)]),_0x5f4ee7[_0x1d9d96(0x20d)]||_0x5f4ee7),'level':_0x4f3e80[_0x1d9d96(0x153)]});}catch(_0x37b718){_0x4f3e80[_0x1d9d96(0x1b4)](debug,_0x4f3e80[_0x1d9d96(0x191)](_0x4f3e80[_0x1d9d96(0x15f)],_0x37b718));}}),_0x3b72ec['on'](_0x4f3e80[_0x1b2bbc(0x197)],(_0x1852e7,_0x2119fb)=>{const _0x184293=_0x1b2bbc,_0x404172={'jmbMF':function(_0x1b73df,_0x386f32,_0x6cbd9){const _0x33ca9c=a39_0x5af3;return _0x4f3e80[_0x33ca9c(0x1c0)](_0x1b73df,_0x386f32,_0x6cbd9);},'nGdlL':_0x4f3e80[_0x184293(0x1b1)]};try{if(!_0x2119fb||!_0x2119fb[_0x184293(0x120)])return;const _0x3f4044=_0x2119fb[_0x184293(0x120)]['id']+'_'+_0x98b149,_0x4953c7=_0x1e455c[_0x184293(0x1eb)](_0x3f4044);if(!_0x4953c7)return;const _0x40dc40=new Date(),_0x4302c9=_0x4f3e80[_0x184293(0x15a)](_0x40dc40[_0x184293(0x1f1)](),_0x4953c7[_0x184293(0x1f3)]);if(_0x4f3e80[_0x184293(0x164)](_0x4953c7['assertions'][_0x184293(0x134)],0x0))_0x4953c7[_0x184293(0x144)][_0x184293(0x1f2)](_0xf87615=>{const _0x217db6=_0x184293,_0x373f00=!!_0xf87615['err'],_0x48fbef={'finishedAt':_0x40dc40['toISOString'](),'durationMs':_0x4302c9,'result':_0x373f00?_0x4f3e80['LULHZ']:_0x4f3e80['whWMJ']};_0x373f00&&(_0x48fbef[_0x217db6(0x1e0)]=_0xf87615[_0x217db6(0x14c)][_0x217db6(0x20d)]||'',_0x48fbef[_0x217db6(0x1d3)]=_0x4f3e80[_0x217db6(0x1db)](_0xf87615[_0x217db6(0x14c)][_0x217db6(0x17d)],_0x4f3e80[_0x217db6(0x142)])||_0xf87615[_0x217db6(0x14c)][_0x217db6(0x20d)]&&_0xf87615['err'][_0x217db6(0x20d)]['includes'](_0x4f3e80['AtORY'])?_0x4f3e80[_0x217db6(0x142)]:_0x4f3e80[_0x217db6(0x137)],_0x48fbef[_0x217db6(0x208)]=[{'backtrace':_0xf87615[_0x217db6(0x14c)][_0x217db6(0x1f5)]?_0xf87615[_0x217db6(0x14c)][_0x217db6(0x1f5)]['split']('\x0a'):[_0xf87615[_0x217db6(0x14c)][_0x217db6(0x20d)]||''],'expanded':[]}]),_0x4f3e80[_0x217db6(0x16b)](emitTest,HookState[_0x217db6(0x13d)],_0xf87615,_0x4953c7,_0x15355f,_0x48fbef);});else{const _0x2edac9=_0x4f3e80['ZCvOu'](uuidv4),_0x3086c6=_0x4953c7[_0x184293(0x19a)],_0x4c05a1=_0x4f3e80[_0x184293(0x175)](_0x3086c6,null)&&_0x4f3e80[_0x184293(0x1d7)](_0x3086c6,0xc8)&&_0x4f3e80['glqSD'](_0x3086c6,0x190),_0x370728=_0x4953c7['itemName']+_0x184293(0x207)+_0x4f3e80['qPydB'](_0x3086c6,_0x4f3e80['MkMRG'])+')',_0x1669ae={'uuid':_0x2edac9,'name':_0x370728,'identifier':_0x4953c7[_0x184293(0x19e)]['concat']([_0x370728])[_0x184293(0x14b)]('\x20')},_0xe948ad={'finishedAt':_0x40dc40['toISOString'](),'durationMs':_0x4302c9,'result':_0x4c05a1?_0x4f3e80[_0x184293(0x133)]:_0x4f3e80[_0x184293(0x169)]};!_0x4c05a1&&(_0xe948ad[_0x184293(0x1e0)]=_0x4f3e80[_0x184293(0x1d8)](_0x3086c6,null)?_0x184293(0x1bf)+_0x3086c6+_0x184293(0x1ea):_0x4f3e80[_0x184293(0x17b)],_0xe948ad[_0x184293(0x1d3)]=_0x4f3e80[_0x184293(0x137)],_0xe948ad['failure']=[{'backtrace':[_0xe948ad[_0x184293(0x1e0)]],'expanded':[]}]);_0x4f3e80['foPvh'](emitTest,HookState[_0x184293(0x15d)],_0x1669ae,_0x4953c7,_0x15355f,{}),_0x4953c7[_0x184293(0x147)]['forEach'](_0x5a380c=>{const _0x4ef8a6=_0x184293;_0x404172[_0x4ef8a6(0x192)](emitLog,_0x2edac9,{'kind':_0x404172['nGdlL'],'message':_0x5a380c[_0x4ef8a6(0x20d)],'level':_0x5a380c[_0x4ef8a6(0x185)]});});if(_0x4953c7['httpLog']){_0x4f3e80[_0x184293(0x13f)](emitLog,_0x2edac9,{'kind':_0x4f3e80[_0x184293(0x1a1)],'http_response':_0x4953c7[_0x184293(0x13b)]});const _0x1c808b=_0x4f3e80[_0x184293(0x17e)](_0x4f3e80[_0x184293(0x12e)](_0x4f3e80['wSvRk'](_0x4f3e80[_0x184293(0x200)](_0x4f3e80[_0x184293(0x177)](_0x4f3e80[_0x184293(0x1e8)](_0x4f3e80[_0x184293(0x1d2)](_0x4f3e80[_0x184293(0x1e8)](_0x4953c7[_0x184293(0x13b)][_0x184293(0x1c6)]||_0x4f3e80[_0x184293(0x1a6)],'\x20'),_0x4953c7[_0x184293(0x13b)][_0x184293(0x1b2)]),_0x4953c7[_0x184293(0x13b)][_0x184293(0x173)]),_0x4f3e80[_0x184293(0x15c)]),_0x4953c7[_0x184293(0x13b)]['status_code']),'\x20('),_0x4953c7['httpLog'][_0x184293(0x1c2)]),_0x4f3e80[_0x184293(0x16e)]);_0x4f3e80['MbSAB'](emitLog,_0x2edac9,{'kind':_0x4f3e80[_0x184293(0x1b1)],'message':_0x1c808b,'level':_0x4f3e80[_0x184293(0x196)]});}else _0x4f3e80[_0x184293(0x206)](emitLog,_0x2edac9,{'kind':_0x4f3e80[_0x184293(0x1b1)],'message':_0x4f3e80[_0x184293(0x17e)](_0x4f3e80[_0x184293(0x16f)](_0x4f3e80[_0x184293(0x1dd)],_0x4f3e80['vEfmn'](_0x3086c6,_0x4f3e80['MkMRG'])),_0x4f3e80['szodr']),'level':_0x4f3e80['QxeLd']});_0x4f3e80[_0x184293(0x18e)](emitTest,HookState['POST'],_0x1669ae,_0x4953c7,_0x15355f,_0xe948ad);}_0x1e455c[_0x184293(0x14f)](_0x3f4044),_0x2119fb[_0x184293(0x155)]&&_0x2119fb[_0x184293(0x155)][_0x184293(0x170)]&&_0x1e455c[_0x184293(0x14f)](_0x2119fb[_0x184293(0x155)]['ref']+'_'+_0x98b149);}catch(_0x47ed18){_0x4f3e80[_0x184293(0x1af)](debug,_0x184293(0x1fe)+_0x47ed18);}});}module[a39_0x2974d4(0x190)]=BrowserStackNewmanReporter;
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node
2
+ 'use strict';function a40_0x482a(_0x39ecc7,_0x203f49){const _0x279eb4=a40_0x279e();return a40_0x482a=function(_0x482aad,_0x234ac0){_0x482aad=_0x482aad-0xb4;let _0x5c093d=_0x279eb4[_0x482aad];return _0x5c093d;},a40_0x482a(_0x39ecc7,_0x203f49);}const a40_0x13a5b9=a40_0x482a;(function(_0x4f0dc0,_0x1cd98a){const _0x4fd798=a40_0x482a,_0x17dbb8=_0x4f0dc0();while(!![]){try{const _0x15c0d8=-parseInt(_0x4fd798(0xc1))/0x1*(-parseInt(_0x4fd798(0xf3))/0x2)+-parseInt(_0x4fd798(0xf0))/0x3+parseInt(_0x4fd798(0xb6))/0x4*(parseInt(_0x4fd798(0xcf))/0x5)+parseInt(_0x4fd798(0xde))/0x6+parseInt(_0x4fd798(0xc9))/0x7+-parseInt(_0x4fd798(0xc2))/0x8*(parseInt(_0x4fd798(0xdb))/0x9)+-parseInt(_0x4fd798(0xc8))/0xa*(parseInt(_0x4fd798(0xe8))/0xb);if(_0x15c0d8===_0x1cd98a)break;else _0x17dbb8['push'](_0x17dbb8['shift']());}catch(_0x1eb33e){_0x17dbb8['push'](_0x17dbb8['shift']());}}}(a40_0x279e,0xab07b));const path=require(a40_0x13a5b9(0xc5)),Module=require(a40_0x13a5b9(0xf1)),BrowserstackCLI=require('../v2/browserstackCLI'),scriptFile=process['argv'][0x2],maxParallel=parseInt(process[a40_0x13a5b9(0xef)][0x3])||0x0;!scriptFile&&(process['stderr']['write'](a40_0x13a5b9(0xda)),process[a40_0x13a5b9(0xcc)](0x1));const reporterPath=path[a40_0x13a5b9(0xeb)](__dirname,'reporter',a40_0x13a5b9(0xd0)),originalResolveFilename=Module['_resolveFilename'];Module[a40_0x13a5b9(0xba)]=function(_0x2a8f40,_0x40dff8,_0x3852e2,_0x154430){const _0x28763b=a40_0x13a5b9,_0x28274d={};_0x28274d[_0x28763b(0xd7)]=function(_0x1fbc62,_0x47b71a){return _0x1fbc62===_0x47b71a;},_0x28274d[_0x28763b(0xcd)]='newman-reporter-browserstack';const _0x3f5f42=_0x28274d;if(_0x3f5f42['EFJQy'](_0x2a8f40,_0x3f5f42[_0x28763b(0xcd)]))return reporterPath;return originalResolveFilename[_0x28763b(0xc4)](this,_0x2a8f40,_0x40dff8,_0x3852e2,_0x154430);};function a40_0x279e(){const _0xdc928f=['VEwkM','17959KrTNiE','10014040howTfH','failures','call','path','string','lBnXF','3471740vCLZwr','4320988wCoEMl','assign','reporter','exit','dRQCN','wjPif','280940jsJshW','index.js','MSigT','RhbrR','collectionPath','message','pUgfX','Fkwdn','EFJQy','xhAhv','_load','[Newman]\x20scriptRunner:\x20no\x20script\x20file\x20provided\x0a','9VpfGtR','cli','dQeWL','6500442yrVxQn','concat','bind','resolve','error','jDHxx','oMkSZ','write','collection','buDjg','11RpxYtQ','XToas','[Newman]\x20scriptRunner:\x20failed\x20to\x20load\x20script:\x20','join','stderr','eoAZQ','browserstack','argv','2200674NyWoLE','module','length','42kYKEKo','getInstance','exitCode','68hbjYQg','reporters','xyIcm','newman','_resolveFilename','p-limit','oYJmM','SDYjS','run','indexOf'];a40_0x279e=function(){return _0xdc928f;};return a40_0x279e();}let limit;try{const pLimit=require(a40_0x13a5b9(0xbb)),concurrency=maxParallel&&maxParallel>0x0?maxParallel:Infinity;limit=pLimit(concurrency);}catch(a40_0xc028dc){limit=function(_0x14deed){const _0x53e74c=a40_0x13a5b9,_0x198523={'wjPif':function(_0x504146){return _0x504146();}};return _0x198523[_0x53e74c(0xce)](_0x14deed);};}let wrappedNewman=null,hasFailure=![];const originalLoad=Module[a40_0x13a5b9(0xd9)];Module[a40_0x13a5b9(0xd9)]=function(_0x29758d,_0xffa1e2,_0x2e2c6d){const _0x571d76=a40_0x13a5b9,_0x4b65ac={'VEwkM':function(_0x2330e6,_0x859470){return _0x2330e6>_0x859470;},'buDjg':function(_0x5f24ec,_0xf87e9d){return _0x5f24ec||_0xf87e9d;},'Fkwdn':function(_0x3430d2,_0x39c4c1,_0x493199){return _0x3430d2(_0x39c4c1,_0x493199);},'oYJmM':function(_0x30dea2,_0x5389fb){return _0x30dea2(_0x5389fb);},'RgvvX':_0x571d76(0xdc),'SDYjS':function(_0x2bc2e7,_0x1ed427){return _0x2bc2e7===_0x1ed427;},'eoAZQ':'browserstack','dQeWL':_0x571d76(0xc6),'rxSFj':function(_0xabe439,_0x27e14c){return _0xabe439!==_0x27e14c;},'oMkSZ':_0x571d76(0xb9)},_0x48bd26=originalLoad['call'](this,_0x29758d,_0xffa1e2,_0x2e2c6d);if(_0x4b65ac['rxSFj'](_0x29758d,_0x4b65ac[_0x571d76(0xe4)]))return _0x48bd26;if(wrappedNewman)return wrappedNewman;const _0x5d129a=_0x48bd26['run'][_0x571d76(0xe0)](_0x48bd26);return wrappedNewman=Object['create'](_0x48bd26),wrappedNewman[_0x571d76(0xbe)]=function(_0x3d5f2f,_0x18f04e){const _0x3f9e7d=_0x571d76,_0x5234e2={'xhAhv':function(_0x47ff06,_0x5b7c80){const _0x55a298=a40_0x482a;return _0x4b65ac[_0x55a298(0xc0)](_0x47ff06,_0x5b7c80);},'JbNac':function(_0x212585,_0x511bfa){const _0x900d6=a40_0x482a;return _0x4b65ac[_0x900d6(0xe7)](_0x212585,_0x511bfa);},'lBnXF':function(_0x24dfb7,_0x492f35,_0x76140a){const _0x192141=a40_0x482a;return _0x4b65ac[_0x192141(0xd6)](_0x24dfb7,_0x492f35,_0x76140a);},'pUgfX':function(_0x43fb38,_0x221db9){const _0x183d4f=a40_0x482a;return _0x4b65ac[_0x183d4f(0xbc)](_0x43fb38,_0x221db9);}};let _0xfab45b=_0x3d5f2f[_0x3f9e7d(0xb7)]||[_0x4b65ac['RgvvX']];_0x4b65ac[_0x3f9e7d(0xbd)](_0xfab45b[_0x3f9e7d(0xbf)](_0x4b65ac[_0x3f9e7d(0xed)]),-0x1)&&(_0xfab45b=_0xfab45b[_0x3f9e7d(0xdf)]([_0x4b65ac[_0x3f9e7d(0xed)]]));const _0x38346c=_0x4b65ac[_0x3f9e7d(0xbd)](typeof _0x3d5f2f[_0x3f9e7d(0xe6)],_0x4b65ac[_0x3f9e7d(0xdd)])?_0x3d5f2f[_0x3f9e7d(0xe6)]:undefined,_0xda934c={};_0xda934c[_0x3f9e7d(0xd3)]=_0x38346c;const _0x529a9d=Object[_0x3f9e7d(0xca)]({},_0x3d5f2f[_0x3f9e7d(0xcb)],{'browserstack':Object[_0x3f9e7d(0xca)]({},_0x3d5f2f[_0x3f9e7d(0xcb)]&&_0x3d5f2f[_0x3f9e7d(0xcb)][_0x3f9e7d(0xee)],_0xda934c)}),_0xb33ec7={};return _0xb33ec7[_0x3f9e7d(0xb7)]=_0xfab45b,_0xb33ec7[_0x3f9e7d(0xcb)]=_0x529a9d,_0x3d5f2f=Object[_0x3f9e7d(0xca)]({},_0x3d5f2f,_0xb33ec7),_0x4b65ac[_0x3f9e7d(0xbc)](limit,function(){const _0x413ae1={'jDHxx':function(_0x434dd8,_0x41298a){const _0x48a1f7=a40_0x482a;return _0x5234e2[_0x48a1f7(0xd8)](_0x434dd8,_0x41298a);},'iIyaR':function(_0x5d2ae3,_0x9e47f4){return _0x5234e2['JbNac'](_0x5d2ae3,_0x9e47f4);},'XToas':function(_0x316f33,_0x123c83,_0x2899da){const _0x48935a=a40_0x482a;return _0x5234e2[_0x48935a(0xc7)](_0x316f33,_0x123c83,_0x2899da);},'NThtE':function(_0x3c44db,_0x11dd1e){const _0x58b2de=a40_0x482a;return _0x5234e2[_0x58b2de(0xd5)](_0x3c44db,_0x11dd1e);}};return new Promise(function(_0x40e12d){_0x413ae1['XToas'](_0x5d129a,_0x3d5f2f,function(_0x26e719,_0x1db9f9){const _0x353c9c=a40_0x482a,_0x55cdf7=_0x1db9f9&&_0x1db9f9[_0x353c9c(0xbe)]&&(_0x1db9f9[_0x353c9c(0xbe)][_0x353c9c(0xe2)]||_0x1db9f9[_0x353c9c(0xbe)][_0x353c9c(0xc3)]&&_0x413ae1[_0x353c9c(0xe3)](_0x1db9f9[_0x353c9c(0xbe)][_0x353c9c(0xc3)][_0x353c9c(0xf2)],0x0));_0x413ae1['iIyaR'](_0x55cdf7,_0x26e719)&&(hasFailure=!![]),_0x18f04e&&_0x413ae1[_0x353c9c(0xe9)](_0x18f04e,_0x26e719,_0x1db9f9),_0x413ae1['NThtE'](_0x40e12d,_0x1db9f9);});});});},wrappedNewman;};async function main(){const _0x5c1c7b=a40_0x13a5b9,_0x162f4a={'jSfao':function(_0x28260b,_0x118fc4){return _0x28260b(_0x118fc4);},'MSigT':function(_0x1f2f42,_0x5c114d){return _0x1f2f42+_0x5c114d;},'RhbrR':_0x5c1c7b(0xea)};try{await BrowserstackCLI[_0x5c1c7b(0xb4)]()['bootstrap']();}catch(_0x1e95a2){}try{_0x162f4a['jSfao'](require,path[_0x5c1c7b(0xe1)](scriptFile));}catch(_0x203b66){process[_0x5c1c7b(0xec)][_0x5c1c7b(0xe5)](_0x162f4a[_0x5c1c7b(0xd1)](_0x162f4a[_0x5c1c7b(0xd1)](_0x162f4a[_0x5c1c7b(0xd2)],_0x203b66[_0x5c1c7b(0xd4)]||_0x203b66),'\x0a')),process[_0x5c1c7b(0xb5)]=0x1;}}main(),process['on']('beforeExit',function(){const _0x3c7e92=a40_0x13a5b9;hasFailure&&(process[_0x3c7e92(0xb5)]=0x1);}),process['on'](a40_0x13a5b9(0xcc),function(){const _0x6fb629=a40_0x13a5b9,_0x313a9b={};_0x313a9b[_0x6fb629(0xb8)]=function(_0x18cf2e,_0xdb8747){return _0x18cf2e===_0xdb8747;};const _0xb2c115=_0x313a9b;hasFailure&&_0xb2c115['xyIcm'](process[_0x6fb629(0xb5)],0x0)&&(process[_0x6fb629(0xb5)]=0x1);});
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a37_0x3113fd=a37_0x149e;(function(_0xe1d2dc,_0x4d68c0){const _0x1fb747=a37_0x149e,_0x37a553=_0xe1d2dc();while(!![]){try{const _0x3c6cdc=-parseInt(_0x1fb747(0x216))/0x1*(-parseInt(_0x1fb747(0x20e))/0x2)+-parseInt(_0x1fb747(0x206))/0x3*(-parseInt(_0x1fb747(0x1df))/0x4)+parseInt(_0x1fb747(0x201))/0x5+parseInt(_0x1fb747(0x1db))/0x6+-parseInt(_0x1fb747(0x1ef))/0x7+parseInt(_0x1fb747(0x1f0))/0x8*(parseInt(_0x1fb747(0x1eb))/0x9)+-parseInt(_0x1fb747(0x212))/0xa*(parseInt(_0x1fb747(0x1d8))/0xb);if(_0x3c6cdc===_0x4d68c0)break;else _0x37a553['push'](_0x37a553['shift']());}catch(_0xc152a1){_0x37a553['push'](_0x37a553['shift']());}}}(a37_0x204a,0x509e9));function a37_0x204a(){const _0x5e1693=['test_settings','splice','mGjzj','suVNI','close','filter','ywrjb','forEach','winstonLogger','start_process','findIndex','info','existsSync','host','SXhAe','2368630vzmkGi','join','trim','hub.browserstack.com','modifyBrowserStackCaps','18AADMEE','AjuNZ','yDSQO','useW3C','cwByT','rFbLP','inherit','../../helpers/helper','389726yHdxHK','length','desiredCapabilities','nightwatch-browserstack.json','17395540NqqLFG','nightwatch.conf.js','split','oZOkN','1WTwsSp','Getting\x20your\x20nightwatch\x20configs\x20from\x20','selenium','EhAKY','--env','orpek','test','--config','cwd','mergeDeep','nightwatch.json','cgfjQ','path','push','platform','platforms','11RSJcAm','env','stringify','2804178NxhBol','kasIy','now','child\x20process\x20exited\x20with\x20code\x20','389776kswJzL','IEvCw','exports','config','iwRQx','../../helpers/BrowserStackSetup','Deleting\x20','modifyBrowserStackW3CCaps','KmIBJ','nightwatch','../utils/constants','../../helpers/logger','1956681EXyizG','debug','webdriver','getPlatformName','2121504zgMNMV','24HATpkF','child_process'];a37_0x204a=function(){return _0x5e1693;};return a37_0x204a();}const fs=require('fs'),path=require(a37_0x3113fd(0x1d4)),{spawn}=require(a37_0x3113fd(0x1f1)),logger=require(a37_0x3113fd(0x1ea))[a37_0x3113fd(0x1fa)],{default:BrowserStackSetup}=require(a37_0x3113fd(0x1e4)),helper=require(a37_0x3113fd(0x20d)),constants=require(a37_0x3113fd(0x1e9)),getUserNightwatchConfigs=(_0x3c61de,_0x349472)=>{const _0x488642=a37_0x3113fd,_0xc7a832={'mGjzj':_0x488642(0x213),'EhAKY':_0x488642(0x1d2),'hxuEW':function(_0x2822a9,_0x547bb8){return _0x2822a9(_0x547bb8);},'oZOkN':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file'};let _0x2b1545=null,_0x37c09b={};const _0x5124e3=_0x349472[_0x488642(0x1fc)](_0xd685a2=>_0xd685a2===_0x488642(0x21d));if(!helper['isUndefined'](_0x3c61de['config'])&&fs[_0x488642(0x1fe)](path[_0x488642(0x202)](process[_0x488642(0x21e)](),_0x3c61de['config'])))_0x2b1545=path[_0x488642(0x202)](process[_0x488642(0x21e)](),_0x3c61de[_0x488642(0x1e2)]),_0x349472['splice'](_0x5124e3,0x2);else{if(fs['existsSync'](path[_0x488642(0x202)](process[_0x488642(0x21e)](),_0xc7a832[_0x488642(0x1f4)])))_0x2b1545=path[_0x488642(0x202)](process['cwd'](),_0xc7a832[_0x488642(0x1f4)]);else fs['existsSync'](path[_0x488642(0x202)](process[_0x488642(0x21e)](),_0xc7a832[_0x488642(0x219)]))&&(_0x2b1545=path[_0x488642(0x202)](process['cwd'](),_0xc7a832['EhAKY']));}return _0x2b1545?(logger[_0x488642(0x1fd)](_0x488642(0x217)+_0x2b1545),_0x37c09b=_0xc7a832['hxuEW'](require,_0x2b1545)):logger['info'](_0xc7a832[_0x488642(0x215)]),_0x37c09b;},removeExistingEnvs=_0x30f338=>{const _0x1a74dc=a37_0x3113fd,_0x5b2105={};_0x5b2105['rFbLP']=function(_0x2042b2,_0x5325a5){return _0x2042b2>_0x5325a5;};const _0x137af6=_0x5b2105;let _0x814ec1=_0x30f338[_0x1a74dc(0x1fc)](_0x350d8d=>_0x350d8d===_0x1a74dc(0x21a));_0x137af6['rFbLP'](_0x814ec1,-0x1)&&_0x30f338[_0x1a74dc(0x1f3)](_0x814ec1,0x2),_0x814ec1=_0x30f338['findIndex'](_0x1a4d69=>_0x1a4d69==='-e'),_0x137af6[_0x1a74dc(0x20b)](_0x814ec1,-0x1)&&_0x30f338['splice'](_0x814ec1,0x2);};function a37_0x149e(_0x4c9d5f,_0x2bb7dc){const _0x204ac4=a37_0x204a();return a37_0x149e=function(_0x149ed9,_0x578c92){_0x149ed9=_0x149ed9-0x1d1;let _0xaacf8f=_0x204ac4[_0x149ed9];return _0xaacf8f;},a37_0x149e(_0x4c9d5f,_0x2bb7dc);}function run(_0x3e1edf,_0xbaa355,_0x17c05f){const _0x4fefa5=a37_0x3113fd,_0x18cf6e={'AjuNZ':_0x4fefa5(0x1e8),'iwRQx':function(_0x3c05a4,_0x425beb){return _0x3c05a4+_0x425beb;},'cwByT':_0x4fefa5(0x1f2),'KmIBJ':function(_0x1cd3cd,_0x35fbee,_0x7d5701){return _0x1cd3cd(_0x35fbee,_0x7d5701);},'ywrjb':_0x4fefa5(0x204),'yDSQO':'Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','kasIy':function(_0x4f54bb,_0x628b64){return _0x4f54bb===_0x628b64;},'SvchU':_0x4fefa5(0x211),'cgfjQ':function(_0x4fd5ef,_0xb44abf){return _0x4fd5ef(_0xb44abf);},'orpek':function(_0x23d142,_0x4573cf,_0x55bfa5,_0xbe5879){return _0x23d142(_0x4573cf,_0x55bfa5,_0xbe5879);},'TcOtR':'nightwatch.cmd','SXhAe':_0x4fefa5(0x21d),'suVNI':_0x4fefa5(0x21a),'nEfyB':_0x4fefa5(0x20c),'IEvCw':_0x4fefa5(0x1f6)};if(!_0x17c05f[_0x4fefa5(0x1e2)])return;const _0x329038=_0x18cf6e[_0x4fefa5(0x1e7)](getUserNightwatchConfigs,_0x3e1edf,_0xbaa355),_0x31f4e6={};_0x31f4e6[_0x4fefa5(0x1fb)]=![];const _0x100fc3={};_0x100fc3[_0x4fefa5(0x1ff)]=_0x18cf6e[_0x4fefa5(0x1f8)],_0x100fc3['port']=0x1bb;const _0x59a6f7={};_0x59a6f7[_0x4fefa5(0x1ed)]=_0x31f4e6,_0x59a6f7[_0x4fefa5(0x218)]=_0x100fc3;const _0x17b581=_0x59a6f7;logger[_0x4fefa5(0x1fd)](_0x18cf6e[_0x4fefa5(0x208)]);const _0x402a6e={..._0x329038},_0x14d210=_0x402a6e,_0x257d8c=helper[_0x4fefa5(0x209)](_0x17c05f[_0x4fefa5(0x1e2)]),_0x3fd970=[];_0x17c05f[_0x4fefa5(0x1e2)][_0x4fefa5(0x1d7)][_0x4fefa5(0x1f9)]((_0x2f4a0f,_0x4e4f14)=>{const _0x2599be=_0x4fefa5;_0x257d8c?_0x3fd970[_0x2599be(0x1d5)](helper[_0x2599be(0x1e6)](_0x17c05f[_0x2599be(0x1e2)],_0x18cf6e[_0x2599be(0x207)],_0x4e4f14)):_0x3fd970['push'](helper[_0x2599be(0x205)](_0x17c05f['config'],_0x18cf6e[_0x2599be(0x207)],_0x4e4f14));});const _0x367832={},_0x3e0d84=[];_0x3e1edf[_0x4fefa5(0x1d9)]=_0x3e1edf[_0x4fefa5(0x1d9)]||_0x3e1edf['e'];const _0x2312b3=_0x3e1edf[_0x4fefa5(0x1d9)]?_0x3e1edf['env'][_0x4fefa5(0x203)]()[_0x4fefa5(0x214)](',')['map'](_0x2fd811=>_0x2fd811[_0x4fefa5(0x203)]())[_0x4fefa5(0x1f7)](_0x45b410=>_0x45b410!==''):[''];_0x18cf6e[_0x4fefa5(0x1dc)](_0x2312b3[_0x4fefa5(0x20f)],0x0)&&_0x2312b3[_0x4fefa5(0x1d5)]('');_0x2312b3[_0x4fefa5(0x1f9)](_0x47c775=>{const _0x4ac252=_0x4fefa5;_0x3fd970[_0x4ac252(0x1f9)](_0x4c96c2=>{const _0x30361c=_0x4ac252;let _0x19717a=_0x18cf6e[_0x30361c(0x1e3)](helper[_0x30361c(0x1ee)](_0x4c96c2,'_'),'_'+Date[_0x30361c(0x1dd)]());_0x47c775&&(_0x19717a+='_'+_0x47c775);if(_0x47c775&&(!_0x329038[_0x18cf6e[_0x30361c(0x20a)]]||!_0x329038[_0x18cf6e[_0x30361c(0x20a)]][_0x47c775]))return;const _0x5c9b1a={..._0x17b581};_0x5c9b1a[_0x30361c(0x210)]=_0x4c96c2;const _0x2f5832=_0x5c9b1a;_0x367832[_0x19717a]=_0x47c775?helper[_0x30361c(0x1d1)](_0x329038[_0x18cf6e[_0x30361c(0x20a)]][_0x47c775],_0x2f5832):_0x2f5832,_0x3e0d84[_0x30361c(0x1d5)](_0x19717a);});});!_0x14d210[_0x4fefa5(0x1f2)]&&(_0x14d210[_0x4fefa5(0x1f2)]={});_0x14d210[_0x4fefa5(0x1f2)]={..._0x14d210[_0x4fefa5(0x1f2)],..._0x367832};const _0x2d8f9e=path['join'](__dirname,_0x18cf6e['SvchU']);fs['writeFileSync'](_0x2d8f9e,JSON[_0x4fefa5(0x1da)](_0x14d210)),_0x18cf6e[_0x4fefa5(0x1d3)](removeExistingEnvs,_0xbaa355);const _0x612bbe=_0x18cf6e[_0x4fefa5(0x21b)](spawn,/^win/[_0x4fefa5(0x21c)](process[_0x4fefa5(0x1d6)])?_0x18cf6e['TcOtR']:_0x18cf6e[_0x4fefa5(0x207)],[_0x18cf6e[_0x4fefa5(0x200)],_0x2d8f9e,..._0xbaa355['slice'](0x1),_0x18cf6e[_0x4fefa5(0x1f5)],_0x3e0d84[_0x4fefa5(0x202)](',')],{'stdio':_0x18cf6e['nEfyB']});_0x612bbe['on'](_0x18cf6e[_0x4fefa5(0x1e0)],async _0x52cff9=>{const _0x4e12c4=_0x4fefa5;logger[_0x4e12c4(0x1ec)](_0x4e12c4(0x1de)+_0x52cff9),logger[_0x4e12c4(0x1fd)](_0x4e12c4(0x1e5)+_0x2d8f9e),fs['unlinkSync'](_0x2d8f9e);});}module[a37_0x3113fd(0x1e1)]=run;
2
+ 'use strict';function a41_0x6e2f(){const _0x1f82bd=['exports','push','kfent','filter','GcZxu','isUndefined','rqiMg','inherit','5559535mGFjtn','nightwatch-browserstack.json','split','lHfQk','child_process','path','gFEme','vtMtd','2132576nYXMbs','port','config','SlRCZ','TUDUJ','env','nightwatch','getPlatformName','--config','winstonLogger','uFSOd','splice','cwd','forEach','selenium','rCyok','mergeDeep','info','trim','host','1353462OqbxCp','../utils/constants','8039822gSKviu','stringify','../../helpers/logger','modifyBrowserStackCaps','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','nightwatch.json','start_process','5894028cToMZS','mOwGE','slice','RSsVd','klLCH','join','close','nightwatch.cmd','useW3C','KATbz','Deleting\x20','3763467XmqYGY','nightwatch.conf.js','map','debug','../../helpers/helper','child\x20process\x20exited\x20with\x20code\x20','findIndex','test_settings','../../helpers/BrowserStackSetup','fjcQN','kCSjt','kGzLF','writeFileSync','1015057yVZyIQ','hub.browserstack.com','OLuar','existsSync','--env','unlinkSync','desiredCapabilities','now','mTeLV','test'];a41_0x6e2f=function(){return _0x1f82bd;};return a41_0x6e2f();}const a41_0xd4262f=a41_0x5cb0;(function(_0x5d2a64,_0x450a9f){const _0x9ef877=a41_0x5cb0,_0x1bbac3=_0x5d2a64();while(!![]){try{const _0x368000=parseInt(_0x9ef877(0x92))/0x1+-parseInt(_0x9ef877(0x71))/0x2+-parseInt(_0x9ef877(0x85))/0x3+parseInt(_0x9ef877(0xac))/0x4+-parseInt(_0x9ef877(0xa4))/0x5+parseInt(_0x9ef877(0x7a))/0x6+parseInt(_0x9ef877(0x73))/0x7;if(_0x368000===_0x450a9f)break;else _0x1bbac3['push'](_0x1bbac3['shift']());}catch(_0x102112){_0x1bbac3['push'](_0x1bbac3['shift']());}}}(a41_0x6e2f,0x9b436));const fs=require('fs'),path=require(a41_0xd4262f(0xa9)),{spawn}=require(a41_0xd4262f(0xa8)),logger=require(a41_0xd4262f(0x75))[a41_0xd4262f(0xb5)],{default:BrowserStackSetup}=require(a41_0xd4262f(0x8d)),helper=require(a41_0xd4262f(0x89)),constants=require(a41_0xd4262f(0x72)),getUserNightwatchConfigs=(_0x3ac860,_0x42f627)=>{const _0xf38342=a41_0xd4262f,_0x2517e2={'klLCH':_0xf38342(0x86),'mOwGE':_0xf38342(0x78),'rqiMg':function(_0x47f2e1,_0xe011f5){return _0x47f2e1(_0xe011f5);},'KATbz':_0xf38342(0x77)};let _0x141048=null,_0x2d3c53={};const _0x299158=_0x42f627[_0xf38342(0x8b)](_0x54d142=>_0x54d142===_0xf38342(0xb4));if(!helper[_0xf38342(0xa1)](_0x3ac860[_0xf38342(0xae)])&&fs['existsSync'](path[_0xf38342(0x7f)](process['cwd'](),_0x3ac860['config'])))_0x141048=path['join'](process[_0xf38342(0xb8)](),_0x3ac860['config']),_0x42f627['splice'](_0x299158,0x2);else{if(fs['existsSync'](path[_0xf38342(0x7f)](process['cwd'](),_0x2517e2[_0xf38342(0x7e)])))_0x141048=path['join'](process[_0xf38342(0xb8)](),_0x2517e2['klLCH']);else fs[_0xf38342(0x95)](path[_0xf38342(0x7f)](process[_0xf38342(0xb8)](),_0x2517e2[_0xf38342(0x7b)]))&&(_0x141048=path[_0xf38342(0x7f)](process[_0xf38342(0xb8)](),_0x2517e2[_0xf38342(0x7b)]));}return _0x141048?(logger[_0xf38342(0x6e)]('Getting\x20your\x20nightwatch\x20configs\x20from\x20'+_0x141048),_0x2d3c53=_0x2517e2[_0xf38342(0xa2)](require,_0x141048)):logger[_0xf38342(0x6e)](_0x2517e2[_0xf38342(0x83)]),_0x2d3c53;},removeExistingEnvs=_0x19a1be=>{const _0x44da21=a41_0xd4262f,_0x1fbde3={};_0x1fbde3[_0x44da21(0xaf)]=function(_0x2263b5,_0xd96d61){return _0x2263b5>_0xd96d61;};const _0x5c1ad9=_0x1fbde3;let _0x5a8b71=_0x19a1be[_0x44da21(0x8b)](_0x3e5e17=>_0x3e5e17===_0x44da21(0x96));_0x5c1ad9['SlRCZ'](_0x5a8b71,-0x1)&&_0x19a1be[_0x44da21(0xb7)](_0x5a8b71,0x2),_0x5a8b71=_0x19a1be[_0x44da21(0x8b)](_0x2d9d2d=>_0x2d9d2d==='-e'),_0x5c1ad9[_0x44da21(0xaf)](_0x5a8b71,-0x1)&&_0x19a1be[_0x44da21(0xb7)](_0x5a8b71,0x2);};function a41_0x5cb0(_0xc206d1,_0x4b7cbe){const _0x6e2f38=a41_0x6e2f();return a41_0x5cb0=function(_0x5cb02c,_0x56d609){_0x5cb02c=_0x5cb02c-0x6b;let _0x37d45c=_0x6e2f38[_0x5cb02c];return _0x37d45c;},a41_0x5cb0(_0xc206d1,_0x4b7cbe);}function run(_0x1a382b,_0x668617,_0x3e6e5d){const _0x5f508b=a41_0xd4262f,_0x322766={'mTeLV':_0x5f508b(0xb2),'lHfQk':function(_0x10b755,_0x15ccd2){return _0x10b755+_0x15ccd2;},'gFEme':_0x5f508b(0x8c),'kCSjt':function(_0x2ea0d8,_0xcdac47,_0x217876){return _0x2ea0d8(_0xcdac47,_0x217876);},'kGzLF':_0x5f508b(0x93),'cXabC':'Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','uFSOd':function(_0x2fa9b3,_0x1d5b94){return _0x2fa9b3===_0x1d5b94;},'GcZxu':_0x5f508b(0xa5),'kfent':function(_0x5f4356,_0x57f575){return _0x5f4356(_0x57f575);},'vtMtd':function(_0x1a6153,_0xedeec4,_0x4661ab,_0x421dd3){return _0x1a6153(_0xedeec4,_0x4661ab,_0x421dd3);},'OLuar':_0x5f508b(0x81),'fjcQN':_0x5f508b(0xb4),'OLWRw':_0x5f508b(0x96),'RSsVd':_0x5f508b(0xa3),'rCyok':_0x5f508b(0x80)};if(!_0x3e6e5d[_0x5f508b(0xae)])return;const _0x41cb32=_0x322766[_0x5f508b(0x8f)](getUserNightwatchConfigs,_0x1a382b,_0x668617),_0x2d35c1={};_0x2d35c1[_0x5f508b(0x79)]=![];const _0x1c49a6={};_0x1c49a6[_0x5f508b(0x70)]=_0x322766[_0x5f508b(0x90)],_0x1c49a6[_0x5f508b(0xad)]=0x1bb;const _0x2d73ed={};_0x2d73ed['webdriver']=_0x2d35c1,_0x2d73ed[_0x5f508b(0x6b)]=_0x1c49a6;const _0x298c3f=_0x2d73ed;logger['info'](_0x322766['cXabC']);const _0xedfa5b={..._0x41cb32},_0x5a5799=_0xedfa5b,_0x29698d=helper[_0x5f508b(0x82)](_0x3e6e5d[_0x5f508b(0xae)]),_0x382583=[];_0x3e6e5d['config']['platforms'][_0x5f508b(0xb9)]((_0x4c4a4e,_0x3a0315)=>{const _0xe3046a=_0x5f508b;_0x29698d?_0x382583[_0xe3046a(0x9d)](helper['modifyBrowserStackW3CCaps'](_0x3e6e5d[_0xe3046a(0xae)],_0x322766[_0xe3046a(0x9a)],_0x3a0315)):_0x382583[_0xe3046a(0x9d)](helper[_0xe3046a(0x76)](_0x3e6e5d[_0xe3046a(0xae)],_0x322766[_0xe3046a(0x9a)],_0x3a0315));});const _0x50a5ab={},_0x4f95f4=[];_0x1a382b[_0x5f508b(0xb1)]=_0x1a382b[_0x5f508b(0xb1)]||_0x1a382b['e'];const _0x11107a=_0x1a382b[_0x5f508b(0xb1)]?_0x1a382b[_0x5f508b(0xb1)][_0x5f508b(0x6f)]()[_0x5f508b(0xa6)](',')[_0x5f508b(0x87)](_0x3fdcd1=>_0x3fdcd1['trim']())[_0x5f508b(0x9f)](_0x514d99=>_0x514d99!==''):[''];_0x322766[_0x5f508b(0xb6)](_0x11107a['length'],0x0)&&_0x11107a['push']('');_0x11107a[_0x5f508b(0xb9)](_0x32a5c2=>{const _0x368b49=_0x5f508b,_0x25ca64={'HQShJ':function(_0x20ac11,_0x3e7f54){const _0x349a87=a41_0x5cb0;return _0x322766[_0x349a87(0xa7)](_0x20ac11,_0x3e7f54);},'TUDUJ':_0x322766[_0x368b49(0xaa)]};_0x382583['forEach'](_0x2e4cb7=>{const _0xc965ff=_0x368b49;let _0x9e932b=_0x25ca64['HQShJ'](helper[_0xc965ff(0xb3)](_0x2e4cb7,'_'),'_'+Date[_0xc965ff(0x99)]());_0x32a5c2&&(_0x9e932b+='_'+_0x32a5c2);if(_0x32a5c2&&(!_0x41cb32[_0x25ca64[_0xc965ff(0xb0)]]||!_0x41cb32[_0x25ca64[_0xc965ff(0xb0)]][_0x32a5c2]))return;const _0x359ebc={..._0x298c3f};_0x359ebc[_0xc965ff(0x98)]=_0x2e4cb7;const _0x319946=_0x359ebc;_0x50a5ab[_0x9e932b]=_0x32a5c2?helper[_0xc965ff(0x6d)](_0x41cb32[_0x25ca64[_0xc965ff(0xb0)]][_0x32a5c2],_0x319946):_0x319946,_0x4f95f4[_0xc965ff(0x9d)](_0x9e932b);});});!_0x5a5799[_0x5f508b(0x8c)]&&(_0x5a5799[_0x5f508b(0x8c)]={});_0x5a5799[_0x5f508b(0x8c)]={..._0x5a5799['test_settings'],..._0x50a5ab};const _0x1a5eae=path[_0x5f508b(0x7f)](__dirname,_0x322766[_0x5f508b(0xa0)]);fs[_0x5f508b(0x91)](_0x1a5eae,JSON[_0x5f508b(0x74)](_0x5a5799)),_0x322766[_0x5f508b(0x9e)](removeExistingEnvs,_0x668617);const _0x3c1333=_0x322766[_0x5f508b(0xab)](spawn,/^win/[_0x5f508b(0x9b)](process['platform'])?_0x322766[_0x5f508b(0x94)]:_0x322766[_0x5f508b(0x9a)],[_0x322766[_0x5f508b(0x8e)],_0x1a5eae,..._0x668617[_0x5f508b(0x7c)](0x1),_0x322766['OLWRw'],_0x4f95f4[_0x5f508b(0x7f)](',')],{'stdio':_0x322766[_0x5f508b(0x7d)]});_0x3c1333['on'](_0x322766[_0x5f508b(0x6c)],async _0x2efd2d=>{const _0x4cb851=_0x5f508b;logger[_0x4cb851(0x88)](_0x4cb851(0x8a)+_0x2efd2d),logger[_0x4cb851(0x6e)](_0x4cb851(0x84)+_0x1a5eae),fs[_0x4cb851(0x97)](_0x1a5eae);});}module[a41_0xd4262f(0x9c)]=run;
@@ -1 +1 @@
1
- const a38_0x4ed2a7=a38_0x570f;function a38_0x570f(_0xa2febc,_0x5dead3){const _0x4ca800=a38_0x4ca8();return a38_0x570f=function(_0x570f7e,_0x5229ab){_0x570f7e=_0x570f7e-0x152;let _0x375546=_0x4ca800[_0x570f7e];return _0x375546;},a38_0x570f(_0xa2febc,_0x5dead3);}(function(_0x900198,_0x1e8c5a){const _0x1221cf=a38_0x570f,_0x52383e=_0x900198();while(!![]){try{const _0x3924cc=parseInt(_0x1221cf(0x1e2))/0x1+-parseInt(_0x1221cf(0x17a))/0x2*(parseInt(_0x1221cf(0x152))/0x3)+parseInt(_0x1221cf(0x18d))/0x4*(parseInt(_0x1221cf(0x18e))/0x5)+parseInt(_0x1221cf(0x1d2))/0x6+-parseInt(_0x1221cf(0x19e))/0x7+-parseInt(_0x1221cf(0x15a))/0x8+parseInt(_0x1221cf(0x1b4))/0x9*(-parseInt(_0x1221cf(0x16a))/0xa);if(_0x3924cc===_0x1e8c5a)break;else _0x52383e['push'](_0x52383e['shift']());}catch(_0x5758c2){_0x52383e['push'](_0x52383e['shift']());}}}(a38_0x4ca8,0xbd4b6));const util=require(a38_0x4ed2a7(0x196)),logger=require(a38_0x4ed2a7(0x154))['winstonLogger'],{automationLogger}=require('../../helpers/logger'),{isAccessibilityAutomationSession}=require(a38_0x4ed2a7(0x15e)),{isUndefined,isBrowserstackInfra}=require(a38_0x4ed2a7(0x181)),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require(a38_0x4ed2a7(0x187)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a38_0x4ed2a7(0x1dd)),accessibilityHelper=require(a38_0x4ed2a7(0x15e)),{AUTOMATION_LOG_COMMANDS}=require(a38_0x4ed2a7(0x19b));function a38_0x4ca8(){const _0x124a6a=['util','PtoxF','response','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','parameters','../utils/constants','format','][\x20SDK-AUTOMATION\x20]\x20','5661922VJKIMm','measureWrapper','XpUUS','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','Playwright','LOiEo','RfZmU','toLowerCase','request','executeScript','browserStackEvaluate','sFRri','gFwYs','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers\x20or\x20Android\x20Chrome.','tWBUf','accessibilityOptions.scannerProcessingTimeout','on\x20non-BrowserStack\x20infrastructure\x20','dNCaa','MOBILE_SCANNING_DISABLED_WARNING','\x20or\x20higher\x20','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','warn','9wqaqOo','accessibilityOptions.wcagVersion','SKQWH','parse','HAodT','performScan','command','(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','connectOptions','replace','RWwZF','wcagVersion','wvTAZ','isVersionSupported','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','accessibilityOptions','McXvL','iiLld','platformValidation:\x20Mobile\x20platform\x20already\x20validated.','Hmvwf','includes','getAccessibilityResultsSummary','No\x20summaryResults\x20found.','qDBgi','scannerProcessingTimeout','HjpqM','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','processAccessibilityCaps','accessibilityOptions.authToken','workerInfo','8801100IwbGoH','executeAsyncScript','JlXEP','constructor','FFkCg','testInfo','setAccessibilityCapabilities','dzbar','toISOString','find','browser_version','../../helpers/performance/constants','Djdpl','RWNlL','accessibilityOptions.scannerVersion','name','1477471ZRwLYk','2575353gNyYni','Ouxfi','../../helpers/logger','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','Yyquj','cbJjo','mnGWb','browserName','3180744VPCSKV','JJwMc','needsReview','browserstack.accessibility','../../helpers/accessibility-automation/helper','chrome','use','playwright-chromium','NFHhV','silly','startsWith','\x20browser\x20version\x20','zZXXK','project','PERFORM_SCAN','No\x20accessibility\x20results\x20were\x20found.','3438420sbzuaj','Performing\x20scan\x20with\x20method:\x20','env','UeuaT','debug','forEach','chromium','ZGeDR','keys','\x20page:\x20','RpqeC','wsEndpoint','WebDriver','getAccessibilityResults','browser','IDQjh','2XRaMSf','scannerVersion','currentTest','includeIssueType','isBrowserSupportedForAccessibility','__workerDetails','getMinVersionForBrowser','../../helpers/helper','accessibilityPlatform','includePartOfPageScope','deviceName','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','VPvdr','../../helpers/performance/performance-tester','browserStackExecuteDriver','evaluate','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20','getBrowserDisplayName','bstackSdkArgs','76WOeTcr','63095HbyJsh','url','accessibilityOptions.includeIssueType.needsReview','Ingrw','isMobilePlatform','browserstack.accessibilityOptions','stringify','isMobileScanningEnabledForGroup'];a38_0x4ca8=function(){return _0x124a6a;};return a38_0x4ca8();}exports[a38_0x4ed2a7(0x1a8)]=async(_0x40b3af,_0x533cd1,_0x146b6c={})=>{const _0x18db18=a38_0x4ed2a7,_0x31c26d={};_0x31c26d['NFHhV']='bstackSdkArgs',_0x31c26d['HAodT']=function(_0x4f0c3b,_0x37a437){return _0x4f0c3b===_0x37a437;},_0x31c26d[_0x18db18(0x1d4)]='string';const _0x552fce=_0x31c26d,_0x5b1a9c=await _0x40b3af[_0x18db18(0x189)]('(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'+_0x533cd1[_0x18db18(0x1bd)](/arguments/g,_0x552fce[_0x18db18(0x162)])+'\x0a\x20\x20\x20\x20})\x0a\x20\x20})('+JSON[_0x18db18(0x194)](_0x146b6c)+')');try{if(_0x533cd1&&_0x552fce[_0x18db18(0x1b8)](typeof _0x533cd1,_0x552fce[_0x18db18(0x1d4)])){const _0x4a62fb=AUTOMATION_LOG_COMMANDS[_0x18db18(0x1db)](_0x1144d8=>_0x533cd1[_0x18db18(0x1c8)](_0x1144d8));if(_0x4a62fb){const _0x26a18c={};_0x26a18c[_0x18db18(0x1ba)]=_0x4a62fb,_0x26a18c[_0x18db18(0x19a)]=[_0x146b6c];const _0x2e7061={};_0x2e7061['body']=_0x5b1a9c;const _0x21f799={};_0x21f799[_0x18db18(0x1a6)]=_0x26a18c,_0x21f799[_0x18db18(0x198)]=_0x2e7061,automationLogger[_0x18db18(0x163)]('['+new Date()[_0x18db18(0x1da)]()+_0x18db18(0x19d)+JSON['stringify'](_0x21f799));}}}catch(_0x5367aa){logger['debug']('[A11Y]\x20Error\x20logging\x20SDK-AUTOMATION\x20for\x20browserStackEvaluate:\x20'+_0x5367aa['message']);}return _0x5b1a9c;},exports[a38_0x4ed2a7(0x188)]=async(_0x535bbb,_0x193a1b,_0x1d0266={})=>{const _0x946c55=a38_0x4ed2a7,_0x24a067={};_0x24a067[_0x946c55(0x1cd)]=function(_0x4abdd8,_0x1423fa){return _0x4abdd8===_0x1423fa;},_0x24a067[_0x946c55(0x1c5)]=_0x946c55(0x176),_0x24a067[_0x946c55(0x156)]=function(_0x59613b,_0x446852){return _0x59613b===_0x446852;},_0x24a067[_0x946c55(0x1cb)]=_0x946c55(0x1a2),_0x24a067[_0x946c55(0x1de)]=_0x946c55(0x18c);const _0x1b2d27=_0x24a067;if(_0x1b2d27[_0x946c55(0x1cd)](_0x535bbb[_0x946c55(0x1d5)][_0x946c55(0x1e1)],_0x1b2d27[_0x946c55(0x1c5)]))return await _0x535bbb[_0x946c55(0x1d3)](_0x193a1b,_0x1d0266);else{if(_0x1b2d27['Yyquj'](_0x535bbb[_0x946c55(0x1d5)][_0x946c55(0x1e1)],_0x1b2d27[_0x946c55(0x1cb)]))return await _0x535bbb[_0x946c55(0x1a7)](_0x946c55(0x1bb)+_0x193a1b['replace'](/arguments/g,_0x1b2d27[_0x946c55(0x1de)])+_0x946c55(0x199)+JSON[_0x946c55(0x194)](_0x1d0266)+')');}},exports[a38_0x4ed2a7(0x1d8)]=async _0x25fcc8=>{const _0x504604=a38_0x4ed2a7,_0x368956={};_0x368956['LOiEo']=_0x504604(0x1b5),_0x368956[_0x504604(0x1c0)]=_0x504604(0x1ad),_0x368956[_0x504604(0x1b6)]='accessibilityOptions.includeIssueType.bestPractice',_0x368956[_0x504604(0x197)]=_0x504604(0x190),_0x368956[_0x504604(0x15b)]=_0x504604(0x1d0),_0x368956[_0x504604(0x157)]=_0x504604(0x1e0);const _0x5b8519=_0x368956;_0x25fcc8[_0x504604(0x1c3)]&&(_0x25fcc8[_0x504604(0x1c3)][_0x504604(0x1bf)]&&(_0x25fcc8[_0x5b8519[_0x504604(0x1a3)]]=_0x25fcc8[_0x504604(0x1c3)]['wcagVersion']),_0x25fcc8['accessibilityOptions'][_0x504604(0x1cc)]&&(_0x25fcc8[_0x5b8519['wvTAZ']]=_0x25fcc8['accessibilityOptions']['scannerProcessingTimeout']),_0x25fcc8['accessibilityOptions'][_0x504604(0x17d)]&&(_0x25fcc8[_0x5b8519[_0x504604(0x1b6)]]=_0x25fcc8[_0x504604(0x1c3)]['includeIssueType']['bestPractice'],_0x25fcc8[_0x5b8519['PtoxF']]=_0x25fcc8[_0x504604(0x1c3)][_0x504604(0x17d)][_0x504604(0x15c)]));const _0x2ee9fd=JSON[_0x504604(0x1b7)](process[_0x504604(0x16c)][_0x504604(0x155)])[_0x504604(0x17b)];_0x25fcc8[_0x5b8519[_0x504604(0x15b)]]=process[_0x504604(0x16c)]['BS_A11Y_JWT'],_0x25fcc8[_0x5b8519['cbJjo']]=_0x2ee9fd,delete _0x25fcc8[_0x504604(0x1c3)];},exports[a38_0x4ed2a7(0x177)]=async _0x46f5ae=>{const _0x2b5a2c=a38_0x4ed2a7,_0x763984={};_0x763984['tWBUf']=_0x2b5a2c(0x169),_0x763984[_0x2b5a2c(0x166)]=_0x2b5a2c(0x1ce);const _0xe728c1=_0x763984;if(global['accessibilityPlatform'])try{const details={'url':await _0x46f5ae.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(_0x46f5ae,scripts.performScan,mobileArgs)));},{command:'getAccessibilityResults',...details})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x46f5ae,scripts.getResults,mobileArgs);},{...details})();return res;}catch{return logger['error'](_0xe728c1[_0x2b5a2c(0x1ac)]),[];}else return logger[_0x2b5a2c(0x1b3)](_0xe728c1['zZXXK']),[];},exports[a38_0x4ed2a7(0x1b9)]=async(_0x40833b,_0x3dc977='',_0x204fdd={},_0x26a846={})=>{const _0x1585c8=a38_0x4ed2a7;logger['debug'](_0x1585c8(0x16b)+_0x3dc977+_0x1585c8(0x173)+_0x40833b);const _0x5dce39={'url':await _0x40833b[_0x1585c8(0x18f)](),'testhub_btcer_uuid':global[_0x1585c8(0x17f)]?.[_0x1585c8(0x17c)]?.['id']};if(global['accessibilityPlatform'])return await PerformanceTester[_0x1585c8(0x19f)](PerformanceA11yEvents[_0x1585c8(0x168)],async()=>{const _0x202cd0=_0x1585c8,_0x46db24={};_0x46db24[_0x202cd0(0x1ba)]=_0x3dc977;const _0x165223=_0x46db24;_0x204fdd&&_0x204fdd[_0x202cd0(0x183)]&&(_0x165223['includePartOfPageScope']=_0x204fdd['includePartOfPageScope']);Object['assign'](_0x165223,_0x26a846);const _0x517e1f=await exports['browserStackEvaluate'](_0x40833b,scripts[_0x202cd0(0x1b9)],_0x165223);return _0x517e1f;},{'command':_0x3dc977,..._0x5dce39})();},exports[a38_0x4ed2a7(0x1c9)]=async _0x3b49ad=>{const _0x342a9e=a38_0x4ed2a7,_0x2b52a2={};_0x2b52a2[_0x342a9e(0x191)]=_0x342a9e(0x1ca),_0x2b52a2[_0x342a9e(0x171)]=_0x342a9e(0x1a1);const _0x39bfeb=_0x2b52a2;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(_0x3b49ad,scripts.performScan,mobileArgs)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x3b49ad,scripts.getResultsSummary,mobileArgs);})();return summaryResults;}catch{return logger[_0x342a9e(0x16e)](_0x39bfeb[_0x342a9e(0x191)]),{};}else return logger[_0x342a9e(0x1b3)](_0x39bfeb[_0x342a9e(0x171)]),{};},exports['platformValidation']=_0x24b448=>{const _0x1e6658=a38_0x4ed2a7,_0x55ad6d={'IDQjh':_0x1e6658(0x1c6),'dNCaa':_0x1e6658(0x185),'RWNlL':function(_0x3100cd,_0x5c64de){return _0x3100cd!==_0x5c64de;},'XpUUS':'latest','RpqeC':function(_0x5bc32e){return _0x5bc32e();},'Omxwz':_0x1e6658(0x1ae)};try{if(global[_0x1e6658(0x192)])return logger[_0x1e6658(0x16e)](_0x55ad6d[_0x1e6658(0x179)]),!![];const _0x1356bf=_0x24b448['browser'],_0x28dc37=_0x24b448[_0x1e6658(0x1dc)];if(!accessibilityHelper[_0x1e6658(0x17e)](_0x1356bf))return logger[_0x1e6658(0x1b3)](_0x55ad6d[_0x1e6658(0x1af)]),![];if(_0x55ad6d[_0x1e6658(0x1df)](_0x28dc37,_0x55ad6d[_0x1e6658(0x1a0)])){const _0x548669=_0x55ad6d[_0x1e6658(0x174)](isBrowserstackInfra),_0x44630d=accessibilityHelper[_0x1e6658(0x180)](_0x1356bf,_0x548669),_0x5f484f=accessibilityHelper['getBrowserDisplayName'](_0x1356bf);if(!accessibilityHelper[_0x1e6658(0x1c1)](_0x28dc37,_0x44630d)){const _0x3ddd95=_0x548669?'':_0x55ad6d['Omxwz'];return logger[_0x1e6658(0x1b3)](_0x1e6658(0x18a)+_0x5f484f+_0x1e6658(0x165)+_0x44630d+_0x1e6658(0x1b1)+_0x3ddd95+'.'),![];}}}catch(_0x4a54aa){logger['debug'](_0x1e6658(0x1b2)+util['format'](_0x4a54aa));}return!![];},exports[a38_0x4ed2a7(0x1cf)]=(_0x366f28,_0x271aac,_0x2cb891)=>{const _0x1cfa42=a38_0x4ed2a7,_0x43dd14={'dzbar':_0x1cfa42(0x193),'Ouxfi':function(_0x5d70d0){return _0x5d70d0();},'FFkCg':_0x1cfa42(0x15d),'OFgdJ':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','tEhVu':function(_0x1bdd2d,_0x5a6f16){return _0x1bdd2d!==_0x5a6f16;},'UeuaT':'latest','sFRri':_0x1cfa42(0x1ae),'RfZmU':function(_0x376c51,_0x42be55){return _0x376c51(_0x42be55);},'Hmvwf':function(_0x42ac5a,_0x416edd){return _0x42ac5a===_0x416edd;},'gFwYs':'android','McXvL':_0x1cfa42(0x15f),'RWwZF':_0x1cfa42(0x161),'mnGWb':_0x1cfa42(0x170),'EHovr':_0x1cfa42(0x1ab),'VPvdr':function(_0x4260e5,_0xb555d8){return _0x4260e5+_0xb555d8;}};try{if(_0x43dd14[_0x1cfa42(0x153)](isAccessibilityAutomationSession)){global[_0x1cfa42(0x182)]=!![];!_0x366f28[_0x43dd14[_0x1cfa42(0x1d6)]]&&(global['accessibilityPlatform']=![]);const _0x27e914=_0x366f28[_0x1cfa42(0x159)]||_0x366f28['browser'],_0x58b68b=_0x366f28['browser_version'];!accessibilityHelper['isBrowserSupportedForAccessibility'](_0x27e914)&&(logger[_0x1cfa42(0x1b3)](_0x43dd14['OFgdJ']),global[_0x1cfa42(0x182)]=![]);if(_0x43dd14['tEhVu'](_0x58b68b,_0x43dd14[_0x1cfa42(0x16d)])){const _0x3772da=_0x43dd14[_0x1cfa42(0x153)](isBrowserstackInfra),_0x4be7d2=accessibilityHelper[_0x1cfa42(0x180)](_0x27e914,_0x3772da),_0x547c98=accessibilityHelper[_0x1cfa42(0x18b)](_0x27e914);if(!accessibilityHelper['isVersionSupported'](_0x58b68b,_0x4be7d2)){const _0x47125d=_0x3772da?'':_0x43dd14[_0x1cfa42(0x1a9)];logger['warn'](_0x1cfa42(0x18a)+_0x547c98+_0x1cfa42(0x165)+_0x4be7d2+_0x1cfa42(0x1b1)+_0x47125d+'.'),global[_0x1cfa42(0x182)]=![];}}if(!_0x43dd14[_0x1cfa42(0x1a4)](isUndefined,_0x366f28[_0x1cfa42(0x184)])){const _0x560ed1=(_0x366f28['os']||'')[_0x1cfa42(0x1a5)](),_0x31c68d=(_0x366f28[_0x1cfa42(0x159)]||_0x366f28[_0x1cfa42(0x178)]||'')['toLowerCase'](),_0x3a968f=_0x43dd14[_0x1cfa42(0x1c7)](_0x560ed1,_0x43dd14[_0x1cfa42(0x1aa)])&&[_0x43dd14[_0x1cfa42(0x1c4)],_0x43dd14[_0x1cfa42(0x1be)],_0x43dd14[_0x1cfa42(0x158)]]['includes'](_0x31c68d);if(!_0x3a968f)logger['warn'](_0x43dd14['EHovr']),global[_0x1cfa42(0x182)]=![];else!accessibilityHelper[_0x1cfa42(0x195)]()&&(logger[_0x1cfa42(0x1b3)](accessibilityHelper[_0x1cfa42(0x1b0)]),global[_0x1cfa42(0x182)]=![]);}if(!global[_0x1cfa42(0x182)]){_0x366f28[_0x43dd14[_0x1cfa42(0x1d6)]]=![],Object[_0x1cfa42(0x172)](_0x366f28)[_0x1cfa42(0x16f)](_0x5b0965=>{const _0x24c245=_0x1cfa42;_0x5b0965[_0x24c245(0x164)](_0x43dd14[_0x24c245(0x1d9)])&&delete _0x366f28[_0x5b0965];});const _0x2a47f0=_0x43dd14[_0x1cfa42(0x186)](_0x271aac,_0x43dd14['RfZmU'](encodeURIComponent,JSON[_0x1cfa42(0x194)](_0x366f28)));_0x2cb891&&(_0x2cb891['currentTest'][_0x1cfa42(0x1d7)][_0x1cfa42(0x167)][_0x1cfa42(0x160)]['connectOptions'][_0x1cfa42(0x175)]=_0x2a47f0,_0x2cb891[_0x1cfa42(0x1d1)][_0x1cfa42(0x167)][_0x1cfa42(0x160)][_0x1cfa42(0x1bc)][_0x1cfa42(0x175)]=_0x2a47f0);}}else global[_0x1cfa42(0x182)]=![];}catch(_0x51bfdc){logger['debug'](_0x1cfa42(0x1c2)+util[_0x1cfa42(0x19c)](_0x51bfdc));}};
1
+ function a42_0x33df(){const _0x4a7844=['XSvCT','includeIssueType','\x20page:\x20','24130Jvakxh','message','wsEndpoint','use','chrome','latest','jKnHs','MOBILE_SCANNING_DISABLED_WARNING','debug','\x20browser\x20version\x20','format','../utils/constants','../../helpers/accessibility-automation/helper','includes','7646463DRaHZr','getAccessibilityResultsSummary','GsjIf','LEelM','GatHZ','accessibilityOptions','wcagVersion','scannerVersion','fTbPk','setAccessibilityCapabilities','AJlIK','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20','Playwright','processAccessibilityCaps','mJPUU','forEach','parse','No\x20accessibility\x20results\x20were\x20found.','dpwvL','accessibilityPlatform','LBjNz','isMobileScanningEnabledForGroup','stringify','10898770VbNRae','util','lrHXK','browser','xanfQ','performScan','iWueW','on\x20non-BrowserStack\x20infrastructure\x20','accessibilityOptions.scannerVersion','Iomss','platformValidation:\x20Mobile\x20platform\x20already\x20validated.','SoOMD','jhZnH','SeqjD','gTkEj','accessibilityOptions.includeIssueType.bestPractice','platformValidation','accessibilityOptions.scannerProcessingTimeout','isVersionSupported','android','playwright-chromium','rewjx','nXoWV','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','3755PZzWfc','isMobilePlatform','CLbEX','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','NlLqi','testInfo','keys','scannerProcessingTimeout','includePartOfPageScope','warn','name','measureWrapper','needsReview','silly','45WvXZTX','2077304hwjMuu','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','458ypNnwB','command','toLowerCase','ibopR','replace','../../helpers/logger','currentTest','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20','PrOOt','executeAsyncScript','bstackSdkArgs','find','string','body','][\x20SDK-AUTOMATION\x20]\x20','\x20or\x20higher\x20','connectOptions','678unLlrz','bestPractice','lCEFe','PERFORM_SCAN','constructor','browserName','../../helpers/accessibility-automation/scripts','env','accessibilityOptions.includeIssueType.needsReview','isBrowserSupportedForAccessibility','SzeDS','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','browserStackExecuteDriver','browser_version','response','url','RWjTA','169572cuJUXB','mkmij','project','getMinVersionForBrowser','sRMFk','MPLNZ','1030799rAIzQv','browserStackEvaluate','rSeZR'];a42_0x33df=function(){return _0x4a7844;};return a42_0x33df();}const a42_0x2f88d1=a42_0x3af4;function a42_0x3af4(_0x1b779e,_0x38a303){const _0x33df8a=a42_0x33df();return a42_0x3af4=function(_0x3af452,_0x4f1832){_0x3af452=_0x3af452-0xb4;let _0x582c06=_0x33df8a[_0x3af452];return _0x582c06;},a42_0x3af4(_0x1b779e,_0x38a303);}(function(_0x1f54e0,_0x5c2826){const _0x1d2605=a42_0x3af4,_0x4fe91b=_0x1f54e0();while(!![]){try{const _0x573d8b=-parseInt(_0x1d2605(0x102))/0x1*(parseInt(_0x1d2605(0x113))/0x2)+-parseInt(_0x1d2605(0x110))/0x3*(parseInt(_0x1d2605(0xb9))/0x4)+parseInt(_0x1d2605(0xc5))/0x5*(parseInt(_0x1d2605(0x124))/0x6)+-parseInt(_0x1d2605(0xbf))/0x7+-parseInt(_0x1d2605(0x111))/0x8+parseInt(_0x1d2605(0xd3))/0x9+parseInt(_0x1d2605(0xea))/0xa;if(_0x573d8b===_0x5c2826)break;else _0x4fe91b['push'](_0x4fe91b['shift']());}catch(_0x4ab540){_0x4fe91b['push'](_0x4fe91b['shift']());}}}(a42_0x33df,0x8e1e0));const util=require(a42_0x2f88d1(0xeb)),logger=require(a42_0x2f88d1(0x118))['winstonLogger'],{automationLogger}=require(a42_0x2f88d1(0x118)),{isAccessibilityAutomationSession}=require(a42_0x2f88d1(0xd1)),{isUndefined,isBrowserstackInfra}=require('../../helpers/helper'),scripts=require(a42_0x2f88d1(0x12a)),PerformanceTester=require('../../helpers/performance/performance-tester'),{A11Y_EVENTS:PerformanceA11yEvents}=require('../../helpers/performance/constants'),accessibilityHelper=require(a42_0x2f88d1(0xd1)),{AUTOMATION_LOG_COMMANDS}=require(a42_0x2f88d1(0xd0));exports[a42_0x2f88d1(0xc0)]=async(_0x4468f1,_0x3d08e5,_0x15dd54={})=>{const _0x274610=a42_0x2f88d1,_0x49a4e9={};_0x49a4e9['qXcVi']=_0x274610(0x11d),_0x49a4e9[_0x274610(0xbe)]=function(_0x417107,_0x19c5ce){return _0x417107===_0x19c5ce;},_0x49a4e9[_0x274610(0xc1)]=_0x274610(0x11f);const _0x360c87=_0x49a4e9,_0x5e7d95=await _0x4468f1['evaluate'](_0x274610(0xde)+_0x3d08e5[_0x274610(0x117)](/arguments/g,_0x360c87['qXcVi'])+'\x0a\x20\x20\x20\x20})\x0a\x20\x20})('+JSON['stringify'](_0x15dd54)+')');try{if(_0x3d08e5&&_0x360c87[_0x274610(0xbe)](typeof _0x3d08e5,_0x360c87[_0x274610(0xc1)])){const _0x2d8bbe=AUTOMATION_LOG_COMMANDS[_0x274610(0x11e)](_0x2efe3a=>_0x3d08e5[_0x274610(0xd2)](_0x2efe3a));if(_0x2d8bbe){const _0x4321bf={};_0x4321bf[_0x274610(0x114)]=_0x2d8bbe,_0x4321bf['parameters']=[_0x15dd54];const _0x170c3f={};_0x170c3f[_0x274610(0x120)]=_0x5e7d95;const _0x25bea8={};_0x25bea8['request']=_0x4321bf,_0x25bea8[_0x274610(0xb6)]=_0x170c3f,automationLogger[_0x274610(0x10f)]('['+new Date()['toISOString']()+_0x274610(0x121)+JSON['stringify'](_0x25bea8));}}}catch(_0x2b2e20){logger[_0x274610(0xcd)]('[A11Y]\x20Error\x20logging\x20SDK-AUTOMATION\x20for\x20browserStackEvaluate:\x20'+_0x2b2e20[_0x274610(0xc6)]);}return _0x5e7d95;},exports[a42_0x2f88d1(0xb4)]=async(_0x4af970,_0x25a942,_0x39d0f6={})=>{const _0x39b8de=a42_0x2f88d1,_0x2d2d2b={};_0x2d2d2b[_0x39b8de(0xff)]=function(_0x3fc38b,_0x4f817b){return _0x3fc38b===_0x4f817b;},_0x2d2d2b[_0x39b8de(0x116)]='WebDriver',_0x2d2d2b['CLbEX']=_0x39b8de(0xdf),_0x2d2d2b['cpJKd']=_0x39b8de(0x11d);const _0x137120=_0x2d2d2b;if(_0x137120['rewjx'](_0x4af970[_0x39b8de(0x128)][_0x39b8de(0x10c)],_0x137120[_0x39b8de(0x116)]))return await _0x4af970[_0x39b8de(0x11c)](_0x25a942,_0x39d0f6);else{if(_0x137120[_0x39b8de(0xff)](_0x4af970[_0x39b8de(0x128)][_0x39b8de(0x10c)],_0x137120[_0x39b8de(0x104)]))return await _0x4af970['executeScript']('(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+_0x25a942['replace'](/arguments/g,_0x137120['cpJKd'])+'\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})('+JSON[_0x39b8de(0xe9)](_0x39d0f6)+')');}},exports[a42_0x2f88d1(0xdc)]=async _0x51a075=>{const _0x5b49c3=a42_0x2f88d1,_0x43f6cf={};_0x43f6cf[_0x5b49c3(0xbd)]='accessibilityOptions.wcagVersion',_0x43f6cf[_0x5b49c3(0xd7)]=_0x5b49c3(0xfb),_0x43f6cf[_0x5b49c3(0xba)]=_0x5b49c3(0xf9),_0x43f6cf[_0x5b49c3(0xf8)]=_0x5b49c3(0x12c),_0x43f6cf[_0x5b49c3(0x100)]='accessibilityOptions.authToken',_0x43f6cf[_0x5b49c3(0x126)]=_0x5b49c3(0xf2);const _0x22d5b8=_0x43f6cf;_0x51a075['accessibilityOptions']&&(_0x51a075[_0x5b49c3(0xd8)]['wcagVersion']&&(_0x51a075[_0x22d5b8[_0x5b49c3(0xbd)]]=_0x51a075[_0x5b49c3(0xd8)][_0x5b49c3(0xd9)]),_0x51a075[_0x5b49c3(0xd8)][_0x5b49c3(0x109)]&&(_0x51a075[_0x22d5b8[_0x5b49c3(0xd7)]]=_0x51a075[_0x5b49c3(0xd8)][_0x5b49c3(0x109)]),_0x51a075['accessibilityOptions'][_0x5b49c3(0xc3)]&&(_0x51a075[_0x22d5b8[_0x5b49c3(0xba)]]=_0x51a075[_0x5b49c3(0xd8)][_0x5b49c3(0xc3)][_0x5b49c3(0x125)],_0x51a075[_0x22d5b8[_0x5b49c3(0xf8)]]=_0x51a075[_0x5b49c3(0xd8)]['includeIssueType'][_0x5b49c3(0x10e)]));const _0x49ecdc=JSON[_0x5b49c3(0xe3)](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])[_0x5b49c3(0xda)];_0x51a075[_0x22d5b8['nXoWV']]=process[_0x5b49c3(0x12b)]['BS_A11Y_JWT'],_0x51a075[_0x22d5b8[_0x5b49c3(0x126)]]=_0x49ecdc,delete _0x51a075[_0x5b49c3(0xd8)];},exports['getAccessibilityResults']=async _0x52a2f7=>{const _0xebdab8=a42_0x2f88d1,_0x330ee7={};_0x330ee7[_0xebdab8(0xcb)]=_0xebdab8(0xe4),_0x330ee7[_0xebdab8(0xe1)]=_0xebdab8(0x12f);const _0x133ac6=_0x330ee7;if(global[_0xebdab8(0xe6)])try{const details={'url':await _0x52a2f7.url(),'testhub_btcer_uuid':global.__workerDetails?.currentTest?.id};const mobileArgs=global.isMobilePlatform?{is_mobile_session:true,thTestRunUuid:global.__workerDetails?.currentTest?.thTestRunUuid}:{};logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x52a2f7,scripts.performScan,mobileArgs)));},{command:'getAccessibilityResults',...details})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x52a2f7,scripts.getResults,mobileArgs);},{...details})();return res;}catch{return logger['error'](_0x133ac6[_0xebdab8(0xcb)]),[];}else return logger[_0xebdab8(0x10b)](_0x133ac6[_0xebdab8(0xe1)]),[];},exports[a42_0x2f88d1(0xef)]=async(_0x29807d,_0xbaf352='',_0x586414={},_0x2c2de3={})=>{const _0x3ce2a7=a42_0x2f88d1;logger[_0x3ce2a7(0xcd)]('Performing\x20scan\x20with\x20method:\x20'+_0xbaf352+_0x3ce2a7(0xc4)+_0x29807d);const _0x309deb={'url':await _0x29807d[_0x3ce2a7(0xb7)](),'testhub_btcer_uuid':global['__workerDetails']?.[_0x3ce2a7(0x119)]?.['id']};if(global['accessibilityPlatform'])return await PerformanceTester[_0x3ce2a7(0x10d)](PerformanceA11yEvents[_0x3ce2a7(0x127)],async()=>{const _0x3e23a7=_0x3ce2a7,_0x17a128={};_0x17a128[_0x3e23a7(0x114)]=_0xbaf352;const _0x5d06e8=_0x17a128;_0x586414&&_0x586414[_0x3e23a7(0x10a)]&&(_0x5d06e8[_0x3e23a7(0x10a)]=_0x586414[_0x3e23a7(0x10a)]);Object['assign'](_0x5d06e8,_0x2c2de3);const _0x1d3e72=await exports['browserStackEvaluate'](_0x29807d,scripts[_0x3e23a7(0xef)],_0x5d06e8);return _0x1d3e72;},{'command':_0xbaf352,..._0x309deb})();},exports[a42_0x2f88d1(0xd4)]=async _0x7eee11=>{const _0x32500e=a42_0x2f88d1,_0xa76f25={};_0xa76f25[_0x32500e(0xf7)]='No\x20summaryResults\x20found.',_0xa76f25[_0x32500e(0xe7)]=_0x32500e(0x101);const _0x455550=_0xa76f25;if(global['accessibilityPlatform'])try{const mobileArgs=global.isMobilePlatform?{is_mobile_session:true,thTestRunUuid:global.__workerDetails?.currentTest?.thTestRunUuid}:{};await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x7eee11,scripts.performScan,mobileArgs)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x7eee11,scripts.getResultsSummary,mobileArgs);})();return summaryResults;}catch{return logger[_0x32500e(0xcd)](_0x455550[_0x32500e(0xf7)]),{};}else return logger[_0x32500e(0x10b)](_0x455550[_0x32500e(0xe7)]),{};},exports[a42_0x2f88d1(0xfa)]=_0x406424=>{const _0xbd8e3c=a42_0x2f88d1,_0x35bc89={'XSvCT':_0xbd8e3c(0xf4),'jhZnH':_0xbd8e3c(0x112),'lrHXK':function(_0x25b7a6,_0x865258){return _0x25b7a6!==_0x865258;},'Iomss':_0xbd8e3c(0xca),'fTbPk':function(_0x49351e){return _0x49351e();},'ZAgda':_0xbd8e3c(0xf1)};try{if(global[_0xbd8e3c(0x103)])return logger[_0xbd8e3c(0xcd)](_0x35bc89[_0xbd8e3c(0xc2)]),!![];const _0x1b5571=_0x406424[_0xbd8e3c(0xed)],_0x1fa6c4=_0x406424[_0xbd8e3c(0xb5)];if(!accessibilityHelper['isBrowserSupportedForAccessibility'](_0x1b5571))return logger[_0xbd8e3c(0x10b)](_0x35bc89[_0xbd8e3c(0xf6)]),![];if(_0x35bc89[_0xbd8e3c(0xec)](_0x1fa6c4,_0x35bc89[_0xbd8e3c(0xf3)])){const _0xf2d340=_0x35bc89[_0xbd8e3c(0xdb)](isBrowserstackInfra),_0x11ac3c=accessibilityHelper['getMinVersionForBrowser'](_0x1b5571,_0xf2d340),_0x2e4862=accessibilityHelper['getBrowserDisplayName'](_0x1b5571);if(!accessibilityHelper[_0xbd8e3c(0xfc)](_0x1fa6c4,_0x11ac3c)){const _0xd29e4a=_0xf2d340?'':_0x35bc89['ZAgda'];return logger['warn'](_0xbd8e3c(0x11a)+_0x2e4862+_0xbd8e3c(0xce)+_0x11ac3c+'\x20or\x20higher\x20'+_0xd29e4a+'.'),![];}}}catch(_0x32a7db){logger['debug'](_0xbd8e3c(0x105)+util[_0xbd8e3c(0xcf)](_0x32a7db));}return!![];},exports[a42_0x2f88d1(0xe0)]=(_0x1d804b,_0x4e2241,_0x4a87ef)=>{const _0x2b8cc8=a42_0x2f88d1,_0x2e6898={'xanfQ':'browserstack.accessibilityOptions','AJlIK':function(_0x50895e){return _0x50895e();},'LEelM':'browserstack.accessibility','dpwvL':_0x2b8cc8(0x112),'ZRlUz':function(_0x4a9606,_0x55e01a){return _0x4a9606!==_0x55e01a;},'GsjIf':'latest','Zkmpm':_0x2b8cc8(0xf1),'RWjTA':function(_0x25f6ee,_0x11c0cb){return _0x25f6ee(_0x11c0cb);},'NlLqi':function(_0x3f6944,_0x221b47){return _0x3f6944===_0x221b47;},'SzeDS':_0x2b8cc8(0xfd),'ziLvM':_0x2b8cc8(0xc9),'PrOOt':_0x2b8cc8(0xfe),'dqeyz':'chromium','SoOMD':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers\x20or\x20Android\x20Chrome.','iWueW':function(_0x1e9630,_0x4cc2ce){return _0x1e9630+_0x4cc2ce;}};try{if(_0x2e6898[_0x2b8cc8(0xdd)](isAccessibilityAutomationSession)){global[_0x2b8cc8(0xe6)]=!![];!_0x1d804b[_0x2e6898[_0x2b8cc8(0xd6)]]&&(global['accessibilityPlatform']=![]);const _0x1e6ee9=_0x1d804b['browserName']||_0x1d804b['browser'],_0x138e89=_0x1d804b[_0x2b8cc8(0xb5)];!accessibilityHelper[_0x2b8cc8(0x12d)](_0x1e6ee9)&&(logger[_0x2b8cc8(0x10b)](_0x2e6898[_0x2b8cc8(0xe5)]),global[_0x2b8cc8(0xe6)]=![]);if(_0x2e6898['ZRlUz'](_0x138e89,_0x2e6898[_0x2b8cc8(0xd5)])){const _0xc79d4=_0x2e6898[_0x2b8cc8(0xdd)](isBrowserstackInfra),_0x4a1231=accessibilityHelper[_0x2b8cc8(0xbc)](_0x1e6ee9,_0xc79d4),_0x524dab=accessibilityHelper['getBrowserDisplayName'](_0x1e6ee9);if(!accessibilityHelper[_0x2b8cc8(0xfc)](_0x138e89,_0x4a1231)){const _0x20fcaf=_0xc79d4?'':_0x2e6898['Zkmpm'];logger[_0x2b8cc8(0x10b)]('Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20'+_0x524dab+_0x2b8cc8(0xce)+_0x4a1231+_0x2b8cc8(0x122)+_0x20fcaf+'.'),global['accessibilityPlatform']=![];}}if(!_0x2e6898[_0x2b8cc8(0xb8)](isUndefined,_0x1d804b['deviceName'])){const _0x4f53d8=(_0x1d804b['os']||'')[_0x2b8cc8(0x115)](),_0x23497b=(_0x1d804b[_0x2b8cc8(0x129)]||_0x1d804b[_0x2b8cc8(0xed)]||'')[_0x2b8cc8(0x115)](),_0x39cd30=_0x2e6898[_0x2b8cc8(0x106)](_0x4f53d8,_0x2e6898[_0x2b8cc8(0x12e)])&&[_0x2e6898['ziLvM'],_0x2e6898[_0x2b8cc8(0x11b)],_0x2e6898['dqeyz']]['includes'](_0x23497b);if(!_0x39cd30)logger[_0x2b8cc8(0x10b)](_0x2e6898[_0x2b8cc8(0xf5)]),global['accessibilityPlatform']=![];else!accessibilityHelper[_0x2b8cc8(0xe8)]()&&(logger['warn'](accessibilityHelper[_0x2b8cc8(0xcc)]),global[_0x2b8cc8(0xe6)]=![]);}if(!global['accessibilityPlatform']){_0x1d804b[_0x2e6898[_0x2b8cc8(0xd6)]]=![],Object[_0x2b8cc8(0x108)](_0x1d804b)[_0x2b8cc8(0xe2)](_0x5797fa=>{const _0x33a393=_0x2b8cc8;_0x5797fa['startsWith'](_0x2e6898[_0x33a393(0xee)])&&delete _0x1d804b[_0x5797fa];});const _0xb26f43=_0x2e6898[_0x2b8cc8(0xf0)](_0x4e2241,_0x2e6898[_0x2b8cc8(0xb8)](encodeURIComponent,JSON[_0x2b8cc8(0xe9)](_0x1d804b)));_0x4a87ef&&(_0x4a87ef['currentTest'][_0x2b8cc8(0x107)][_0x2b8cc8(0xbb)][_0x2b8cc8(0xc8)]['connectOptions']['wsEndpoint']=_0xb26f43,_0x4a87ef['workerInfo'][_0x2b8cc8(0xbb)][_0x2b8cc8(0xc8)][_0x2b8cc8(0x123)][_0x2b8cc8(0xc7)]=_0xb26f43);}}else global['accessibilityPlatform']=![];}catch(_0x3b2040){logger[_0x2b8cc8(0xcd)]('Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20'+util[_0x2b8cc8(0xcf)](_0x3b2040));}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a39_0x470a(){const _0x576bf3=['klfyK','BGgsW','cliConfig','getConfig','filter','wRvcn','apply','stop','cwd','win32','config','../v2/TestInfo','ROpEy','R_OK','UquoL','244132tevlKg','PACKAGE_TYPE','SDK_SETUP','JgKcO','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','Error\x20in\x20getting\x20funnel\x20data\x20results','YZUZB','INTERNALLY_USED_ENV_VARS','BrowserStack\x20config\x20file\x20not\x20found.','209ztwSkI','exitCode','isTrue','gOUvj','winstonLogger','accessibility','accessibilityOptions','sdCdU','BROWSERSTACK_AUTOMATION','152701WOASug','startsWith','browserstackAutomation','yarn','length','assign','QtZpo','setFrameworkDetail','split','launchBuild','requirePWModule','USER_CONFIG_DETAILS_PATH','EVENTS','unlinkSync','ietIq','false','--disable-test-observability','env','resolve','PmRqt','BROWSERSTACK_TEST_OBSERVABILITY','Erjha','resolvedConfigFile','parse','Deleting\x20','true','CEicn','SDK_POST_INITIALIZE','concat','findIndex','./reporter/pwUtils','ndsrW','existsSync','mikqA','end','Error\x20in\x20deleting\x20playwright\x20results','--config=','gquXo','nestedKeyValue','BROWSERSTACK_RERUN_TESTS','trim','isYarnPnP','writeFileSync','configPath','pw_result.json','LmJmZ','INCvE','25468hLzyRg','logLevel','Playwright\x20process\x20exited\x20with\x20code\x20','../v2/cliUtils','exports','93JUDJyu','iDjDN','wtYKv','shutdown','isTypescriptProject','XbksP','UafDG','dbhvS','RZswg','YmYpj','splice','BROWSERSTACK_RERUN','isUndefined','jIWaK','getInstance','testContextOptions','path','./accessibility-helper','get','forEach','BROWSERSTACK_TEST_ACCESSIBILITY_YML','isFalse','2819310JZLwps','MODULE','SDK_CLEANUP','fziGT','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','readdirSync','QvbbE','start','map','Updated\x20config\x20file\x20name\x20to\x20-\x20','accessSync','VmXUf','npx','oZXiu','DaQjP','isCLIEnabled','ZHYOL','close','filterBrowserstackArgs','platform','debug','testObservability','playwright','indexOf','10hWgrep','homedir','join','Proxy\x20url\x20:\x20','initialize','constants','measureWrapper','.browserstack','error','TNjRJ','mwtfE','skipSessionStatus','browserstackSetupConfig.json','77208ZPZFWw','rjIHl','--config','No\x20Proxy\x20:\x20','getConfigPath','141048nnxhQJ','requireConfigLoaderYarnPnP','--disable-browserstack-automation','Error\x20in\x20accessing\x20.browserstack\x20directory:\x20','TxOLm','push','6rOeiWn','BROWSERSTACK_PW_CONFIG_DIR','2811006mWtcrZ','nTEAi','ZyLVP','\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();','stringify','test','jpAot','../../helpers/performance/constants','PLAYWRIGHT','../../helpers/helper','../../helpers/test-observability/constants','gciaS','kBaVI','isRunning','util','6WCdGsj','automation','child_process','175kHnQCg','readFileSync','./reporter/test-details','ynDyg','reportConflictingEnvVarIssue','OPsnO','zAOtn','1430EWOpgJ'];a39_0x470a=function(){return _0x576bf3;};return a39_0x470a();}const a39_0x5a1a67=a39_0x52dc;(function(_0x524abc,_0x18f01e){const _0x710ce0=a39_0x52dc,_0x11234b=_0x524abc();while(!![]){try{const _0x9ae1f2=-parseInt(_0x710ce0(0x238))/0x1*(parseInt(_0x710ce0(0x1fb))/0x2)+-parseInt(_0x710ce0(0x1b5))/0x3*(-parseInt(_0x710ce0(0x1b0))/0x4)+-parseInt(_0x710ce0(0x1cb))/0x5*(parseInt(_0x710ce0(0x20c))/0x6)+-parseInt(_0x710ce0(0x20f))/0x7*(parseInt(_0x710ce0(0x1f0))/0x8)+parseInt(_0x710ce0(0x1fd))/0x9*(-parseInt(_0x710ce0(0x1e3))/0xa)+-parseInt(_0x710ce0(0x22f))/0xb*(parseInt(_0x710ce0(0x1f5))/0xc)+-parseInt(_0x710ce0(0x216))/0xd*(-parseInt(_0x710ce0(0x226))/0xe);if(_0x9ae1f2===_0x18f01e)break;else _0x11234b['push'](_0x11234b['shift']());}catch(_0x57e9e3){_0x11234b['push'](_0x11234b['shift']());}}}(a39_0x470a,0x4d4f1));const fs=require('fs'),path=require('path'),{spawn}=require(a39_0x5a1a67(0x20e)),{format}=require(a39_0x5a1a67(0x20b)),logger=require('../../helpers/logger')[a39_0x5a1a67(0x233)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a39_0x5a1a67(0x206)),utilities=require('../../helpers/utilities'),constants=require('../utils/constants'),{FRAMEWORKS}=require(a39_0x5a1a67(0x207)),{getConfigLoaderPath}=require(a39_0x5a1a67(0x19f)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities}=require(a39_0x5a1a67(0x1c6)),{printBuildLink}=require('../../helpers/test-observability/utils'),TestDetails=require(a39_0x5a1a67(0x211)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),PerformanceTester=require('../../helpers/performance/performance-tester'),BrowserstackCLI=require('../v2/browserstackCLI'),PerformanceEvents=require(a39_0x5a1a67(0x204))[a39_0x5a1a67(0x18d)],CLIUtils=require(a39_0x5a1a67(0x1b3)),TestInfo=require(a39_0x5a1a67(0x222)),ClientTroubleShootingService=require('../utils/clientTroubleshootingService'),getUserPlaywrightConfig=async(_0x595b29,_0x5b82f0)=>{const _0x13cf68=a39_0x5a1a67,_0x5f1ee1={'ietIq':function(_0x41ac27){return _0x41ac27();},'uGWuH':function(_0xc06ca,_0x4ba256){return _0xc06ca(_0x4ba256);},'dTjra':function(_0x301d5b,_0x18abbe){return _0x301d5b(_0x18abbe);},'iDjDN':_0x13cf68(0x197),'CVBkl':_0x13cf68(0x1a5)},_0x2db1bc=!helper[_0x13cf68(0x1c1)](_0x595b29[_0x13cf68(0x221)]),_0x2d18dd=_0x2db1bc?path[_0x13cf68(0x193)](process[_0x13cf68(0x21f)](),_0x595b29[_0x13cf68(0x221)]):process[_0x13cf68(0x21f)](),{resolveConfigFile:_0x5767d9,resolveConfigLocation:_0x5d0230}=helper[_0x13cf68(0x1aa)]()?helper[_0x13cf68(0x1f6)](..._0x5f1ee1['ietIq'](getConfigLoaderPath)):helper[_0x13cf68(0x18b)][_0x13cf68(0x21d)](null,_0x5f1ee1[_0x13cf68(0x18f)](getConfigLoaderPath)),_0xb2e2f5=_0x5767d9?_0x5f1ee1['uGWuH'](_0x5767d9,_0x2d18dd):helper[_0x13cf68(0x1a7)](_0x5f1ee1['dTjra'](_0x5d0230,_0x2d18dd),[_0x5f1ee1[_0x13cf68(0x1b6)]]),_0x5de590={};if(_0x2db1bc){const _0x2d1962=_0x5b82f0[_0x13cf68(0x19e)](_0x44cc1d=>_0x44cc1d===_0x13cf68(0x1f2)||_0x44cc1d==='-c'||_0x44cc1d[_0x13cf68(0x239)](_0x13cf68(0x1a5)));_0x5b82f0[_0x13cf68(0x1bf)](_0x2d1962,_0x5b82f0[_0x2d1962][_0x13cf68(0x239)](_0x5f1ee1['CVBkl'])?0x1:0x2);}const _0x2cef98={};return _0x2cef98[_0x13cf68(0x1c5)]=_0xb2e2f5,_0x2cef98[_0x13cf68(0x221)]=_0x5de590,_0x2cef98;},handleO11yRerun=_0x2c4a17=>{const _0x3193ff=a39_0x5a1a67,_0x84014c={};_0x84014c[_0x3193ff(0x1a2)]='--grep';const _0x3b0947=_0x84014c,_0x1142ad=helper['isTrue'](process['env'][_0x3193ff(0x1c0)]);if(_0x1142ad){const _0x3915f=process['env'][_0x3193ff(0x1a8)],_0x88a765=[];if(helper['validateRerunTestList'](_0x3915f)&&!helper[_0x3193ff(0x1c1)](_0x3915f)){_0x3915f[_0x3193ff(0x189)](',')[_0x3193ff(0x1d3)](_0x390327=>{const _0x3ff03d=_0x3193ff;_0x88a765['push']('('+_0x390327[_0x3ff03d(0x1a9)]()+')');});const _0x2bc5db='^'+_0x88a765[_0x3193ff(0x1e5)]('|')+'$';_0x2c4a17[_0x3193ff(0x1fa)](_0x3b0947[_0x3193ff(0x1a2)],_0x2bc5db);}}},spawnOriginalProcess=_0x33d09f=>{const _0x5a1d78=a39_0x5a1a67,_0x47a3a2={'PmRqt':function(_0x566187,_0xaa9a1f,_0x571f07,_0x469408){return _0x566187(_0xaa9a1f,_0x571f07,_0x469408);},'fziGT':_0x5a1d78(0x23b),'mSeWW':_0x5a1d78(0x1d7),'klfyK':_0x5a1d78(0x1e1),'QvbbE':function(_0x1451b5,_0x224edf){return _0x1451b5===_0x224edf;},'sdCdU':'win32','oZXiu':'inherit'};_0x47a3a2[_0x5a1d78(0x194)](spawn,helper['isYarnPnP']()?_0x47a3a2[_0x5a1d78(0x1ce)]:_0x47a3a2['mSeWW'],[_0x47a3a2[_0x5a1d78(0x217)],..._0x33d09f['slice'](0x1)],{'shell':_0x47a3a2[_0x5a1d78(0x1d1)](process[_0x5a1d78(0x1de)],_0x47a3a2[_0x5a1d78(0x236)]),'stdio':_0x47a3a2[_0x5a1d78(0x1d8)],'cwd':process[_0x5a1d78(0x21f)]()});},isTestCommand=(_0x46bb19,_0xdb0a07)=>{const _0x3f13b3=a39_0x5a1a67,_0x3a4cf8={};_0x3a4cf8[_0x3f13b3(0x1ff)]=function(_0x54811c,_0x48f0a1){return _0x54811c>_0x48f0a1;},_0x3a4cf8[_0x3f13b3(0x1ae)]=function(_0x347ef1,_0x292047){return _0x347ef1===_0x292047;},_0x3a4cf8[_0x3f13b3(0x1ed)]=_0x3f13b3(0x202);const _0x150d0d=_0x3a4cf8;if(_0x150d0d[_0x3f13b3(0x1ff)](_0xdb0a07[_0x3f13b3(0x185)],0x1)&&_0x150d0d[_0x3f13b3(0x1ae)](_0xdb0a07[0x1],_0x150d0d[_0x3f13b3(0x1ed)]))return!![];return![];};async function run(_0x302473,_0x455508,_0x3cef62){const _0x445529=a39_0x5a1a67,_0x3d4a42={'WutzI':function(_0x133016,_0x4426d9){return _0x133016(_0x4426d9);},'kBaVI':function(_0x4569e0){return _0x4569e0();},'YZUZB':_0x445529(0x1ea),'ynDyg':function(_0x1e2a0e,_0x38b03a){return _0x1e2a0e+_0x38b03a;},'INCvE':'Error\x20in\x20closing\x20playwright','rjIHl':_0x445529(0x1ad),'wRvcn':_0x445529(0x22b),'dbhvS':_0x445529(0x22e),'zhBzt':function(_0x4265ca,_0x5041c0){return _0x4265ca<_0x5041c0;},'ROpEy':function(_0x38a0c0,_0x44ccda){return _0x38a0c0===_0x44ccda;},'OPsnO':_0x445529(0x190),'glvfy':_0x445529(0x191),'hUsat':function(_0xfdec08,_0xb845fa){return _0xfdec08>=_0xb845fa;},'QtZpo':function(_0x41c91a,_0x13d8db){return _0x41c91a===_0x13d8db;},'jIWaK':_0x445529(0x20d),'pSncd':function(_0x43276a,_0x44e2f8){return _0x43276a!=_0x44e2f8;},'TxOLm':function(_0x5ae910,_0x34ba4e,_0x1dfba6){return _0x5ae910(_0x34ba4e,_0x1dfba6);},'DaQjP':function(_0xca25e0,_0x40d42c){return _0xca25e0(_0x40d42c);},'Erjha':_0x445529(0x19a),'qgYWU':function(_0x7ceff4,_0x525af1){return _0x7ceff4(_0x525af1);},'UafDG':_0x445529(0x1ef),'zAOtn':function(_0x34f847,_0x31106d){return _0x34f847===_0x31106d;},'CEicn':'playwright-browserstack-sdk.config.cjs','RZswg':'playwright-browserstack-sdk.config.js','jarBW':function(_0x53d3df,_0x263fea){return _0x53d3df-_0x263fea;},'TNjRJ':function(_0x3e6120,_0x276049){return _0x3e6120+_0x276049;},'JgKcO':_0x445529(0x1d4),'YnEYV':function(_0x58e8b6,_0x5cc229){return _0x58e8b6>_0x5cc229;},'gciaS':function(_0x287f9a,_0x27c569,_0xbc5437,_0x2f6aec){return _0x287f9a(_0x27c569,_0xbc5437,_0x2f6aec);},'YmYpj':'yarn','nTEAi':_0x445529(0x1d7),'gquXo':_0x445529(0x1e1),'SBAKi':_0x445529(0x202),'BcJJD':_0x445529(0x1f2),'BiQqd':function(_0x542c91,_0x5de84f){return _0x542c91===_0x5de84f;},'wtYKv':_0x445529(0x220),'qTjmJ':'inherit','gOUvj':_0x445529(0x1dc),'UquoL':function(_0x398820,_0x3b76e9){return _0x398820|_0x3b76e9;},'XbksP':_0x445529(0x1f8),'jpAot':_0x445529(0x1a4),'ndsrW':function(_0x2ece4a,_0x1ea57a,_0x5c93a6){return _0x2ece4a(_0x1ea57a,_0x5c93a6);},'ZHYOL':function(_0x3ab5e8,_0x19e604){return _0x3ab5e8(_0x19e604);}};try{const _0x1a740f=path[_0x445529(0x1e5)](helper[_0x445529(0x1e4)](),_0x3d4a42['YZUZB']);try{fs[_0x445529(0x1d5)](_0x1a740f,_0x3d4a42[_0x445529(0x225)](fs[_0x445529(0x1e8)][_0x445529(0x224)],fs[_0x445529(0x1e8)]['W_OK']));}catch(_0x3c0c16){ClientTroubleShootingService['reportDotBrowserStackFolderNotAccessibleIssue']();}}catch(_0x55bf4c){logger[_0x445529(0x1df)](_0x3d4a42[_0x445529(0x212)](_0x3d4a42[_0x445529(0x1ba)],_0x55bf4c));}try{const _0x1efd33=path['join'](helper[_0x445529(0x1e4)](),_0x3d4a42[_0x445529(0x22c)],_0x3d4a42['rjIHl']);fs['existsSync'](_0x1efd33)&&fs['unlinkSync'](_0x1efd33);}catch(_0x16fb19){logger['debug'](_0x3d4a42['TNjRJ'](_0x3d4a42[_0x445529(0x203)],_0x16fb19));}if(!_0x3d4a42[_0x445529(0x1a0)](isTestCommand,_0x302473,_0x455508)){_0x3d4a42[_0x445529(0x1db)](spawnOriginalProcess,_0x455508);return;}await PerformanceTester[_0x445529(0x1e9)](PerformanceEvents['SDK_PRE_INITIALIZE'],async()=>{const _0x57ae2b=_0x445529,_0x49af5c={'FMRvY':_0x3d4a42[_0x57ae2b(0x22c)],'wmlBQ':_0x3d4a42[_0x57ae2b(0x1f1)],'VmXUf':function(_0x37cf6b,_0x112a72){const _0x2d58c3=_0x57ae2b;return _0x3d4a42[_0x2d58c3(0x212)](_0x37cf6b,_0x112a72);},'BGgsW':_0x3d4a42[_0x57ae2b(0x21c)]};if(!_0x3cef62['config']){logger[_0x57ae2b(0x1eb)](_0x3d4a42[_0x57ae2b(0x1bc)]);return;}await _0x3cef62[_0x57ae2b(0x1e7)](_0x302473),CLIUtils[_0x57ae2b(0x188)](FRAMEWORKS[_0x57ae2b(0x205)],FRAMEWORKS[_0x57ae2b(0x205)]),BrowserstackCLI['getInstance']()['setBrowserstackConfig'](_0x3cef62[_0x57ae2b(0x221)],_0x3cef62[_0x57ae2b(0x1ac)],_0x3cef62[_0x57ae2b(0x219)]),await BrowserstackCLI['getInstance']()['bootstrap']();for(var _0x3b7e15=0x0;_0x3d4a42['zhBzt'](_0x3b7e15,constants[_0x57ae2b(0x22d)][_0x57ae2b(0x185)]);_0x3b7e15++){var _0x4f1e79=constants['INTERNALLY_USED_ENV_VARS'][_0x3b7e15];process[_0x57ae2b(0x192)][_0x4f1e79]&&await ClientTroubleShootingService[_0x57ae2b(0x213)](_0x4f1e79);}const _0x18c3b9=BrowserstackCLI[_0x57ae2b(0x1c3)]()[_0x57ae2b(0x21a)]();!helper[_0x57ae2b(0x1ca)](_0x18c3b9[_0x57ae2b(0x23a)])&&(process[_0x57ae2b(0x192)][_0x57ae2b(0x237)]=!![]);_0x3d4a42[_0x57ae2b(0x223)](_0x18c3b9['browserstackAutomation'],![])&&(process[_0x57ae2b(0x192)][_0x57ae2b(0x237)]=_0x3d4a42[_0x57ae2b(0x214)],_0x455508=_0x455508[_0x57ae2b(0x21b)](_0xd869b5=>_0xd869b5!==_0x57ae2b(0x1f7)));const _0x5c4c9d=_0x455508[_0x57ae2b(0x1e2)](_0x3d4a42['glvfy']);(_0x3d4a42['hUsat'](_0x5c4c9d,0x0)||_0x3d4a42[_0x57ae2b(0x187)](_0x18c3b9[_0x57ae2b(0x1e0)],![]))&&(process[_0x57ae2b(0x192)][_0x57ae2b(0x195)]=_0x3d4a42[_0x57ae2b(0x214)],_0x455508=_0x455508['filter'](_0x4f238a=>_0x4f238a!==_0x57ae2b(0x191)));!helper[_0x57ae2b(0x1c1)](_0x3cef62[_0x57ae2b(0x219)])&&_0x3cef62[_0x57ae2b(0x219)]['has'](_0x3d4a42[_0x57ae2b(0x1c2)])&&(process[_0x57ae2b(0x192)][_0x57ae2b(0x237)]=_0x3cef62[_0x57ae2b(0x219)][_0x57ae2b(0x1c7)](_0x3d4a42[_0x57ae2b(0x1c2)])||!![]);_0x3d4a42['pSncd'](_0x3cef62[_0x57ae2b(0x221)][_0x57ae2b(0x1e0)],null)&&!helper[_0x57ae2b(0x231)](process[_0x57ae2b(0x192)][_0x57ae2b(0x195)])&&(process[_0x57ae2b(0x192)][_0x57ae2b(0x195)]=process[_0x57ae2b(0x192)][_0x57ae2b(0x195)]||_0x3cef62['config']['testObservability']);const _0x18c17b=!helper[_0x57ae2b(0x1ca)](process['env'][_0x57ae2b(0x195)]);_0x3cef62['config'][_0x57ae2b(0x235)]&&(process['env'][_0x57ae2b(0x1cf)]=JSON[_0x57ae2b(0x201)](_0x3cef62[_0x57ae2b(0x221)][_0x57ae2b(0x235)]));let _0x34f3bd=![];_0x3cef62[_0x57ae2b(0x221)]['accessibility']&&(_0x34f3bd=!![],process['env'][_0x57ae2b(0x1c9)]=_0x3cef62[_0x57ae2b(0x221)][_0x57ae2b(0x234)]);const _0x1f638f=_0x455508[_0x57ae2b(0x19d)](),_0x564cb9=await _0x3d4a42[_0x57ae2b(0x1f9)](getUserPlaywrightConfig,_0x302473,_0x455508);if(helper['isUndefined'](_0x564cb9)){_0x3d4a42['DaQjP'](spawnOriginalProcess,_0x1f638f);return;}const _0x2005a5=_0x564cb9[_0x57ae2b(0x1c5)]?path['dirname'](_0x564cb9['path']):process['cwd']();process[_0x57ae2b(0x192)][_0x57ae2b(0x1fc)]=_0x2005a5,await PerformanceTester['measureWrapper'](PerformanceEvents[_0x57ae2b(0x19c)],async()=>{const _0xe38ed4=_0x57ae2b;!BrowserstackCLI[_0xe38ed4(0x1c3)]()[_0xe38ed4(0x20a)]()&&await TestHubHandler[_0xe38ed4(0x18a)](FRAMEWORKS['PLAYWRIGHT'],_0x3cef62),_0x18c17b&&_0x3d4a42['WutzI'](handleO11yRerun,_0x455508);})();if(!BrowserstackCLI[_0x57ae2b(0x1c3)]()[_0x57ae2b(0x20a)]()){let _0x49a43f=_0x3d4a42[_0x57ae2b(0x223)](process[_0x57ae2b(0x192)][_0x57ae2b(0x1c9)],_0x3d4a42[_0x57ae2b(0x196)]);_0x49a43f=_0x49a43f||_0x3d4a42[_0x57ae2b(0x1d9)](checkAccessibilityPlatformConfig,_0x3cef62['config']),process[_0x57ae2b(0x192)][_0x57ae2b(0x1c9)]=_0x49a43f,_0x49a43f&&_0x3d4a42['qgYWU'](setAccessibilityCapabilities,_0x3cef62[_0x57ae2b(0x221)]);}const _0x129822=path[_0x57ae2b(0x1e5)](_0x564cb9[_0x57ae2b(0x1c5)]?path['dirname'](_0x564cb9['path']):process[_0x57ae2b(0x21f)](),_0x3d4a42[_0x57ae2b(0x1bb)]);fs[_0x57ae2b(0x1ab)](_0x129822,helper['serializeToYamlString'](_0x3cef62[_0x57ae2b(0x221)])),process[_0x57ae2b(0x192)]['BROWSERSTACK_SETUP_CONFIG_PATH']=_0x129822,helper['clearTempPWConfig']();let _0x13a721='';_0x3d4a42[_0x57ae2b(0x215)](helper['getPackageType'](),constants[_0x57ae2b(0x227)][_0x57ae2b(0x1cc)])?_0x13a721=_0x3d4a42[_0x57ae2b(0x19b)]:_0x13a721=_0x3d4a42[_0x57ae2b(0x1bd)];let _0x38afee='';if(helper[_0x57ae2b(0x1b9)](_0x564cb9[_0x57ae2b(0x1c5)])){_0x38afee='\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a';const _0xf2c9e=_0x13a721[_0x57ae2b(0x189)]('.');_0xf2c9e[_0x3d4a42['jarBW'](_0xf2c9e[_0x57ae2b(0x185)],0x1)]='ts',_0x13a721=_0xf2c9e[_0x57ae2b(0x1e5)]('.'),logger[_0x57ae2b(0x1df)](_0x3d4a42[_0x57ae2b(0x1ec)](_0x3d4a42[_0x57ae2b(0x229)],_0x13a721));}else _0x38afee=_0x57ae2b(0x22a);const _0x25746e=path[_0x57ae2b(0x1e5)](_0x564cb9[_0x57ae2b(0x1c5)]?path['dirname'](_0x564cb9['path']):process['cwd'](),_0x13a721);let _0x25d858=_0x564cb9[_0x57ae2b(0x1c5)]?_0x564cb9[_0x57ae2b(0x1c5)]:'';_0x25d858=_0x3d4a42['YnEYV'](_0x25d858[_0x57ae2b(0x185)],0x0)?path['resolve'](_0x25d858):'',process[_0x57ae2b(0x192)][_0x57ae2b(0x18c)]=_0x25d858;const _0x50337c=helper['getProxyUrl'](_0x3cef62[_0x57ae2b(0x221)]),_0x1790e7=helper['getNoProxy'](_0x3cef62[_0x57ae2b(0x221)]);logger['debug'](_0x57ae2b(0x1e6)+_0x50337c),logger[_0x57ae2b(0x1df)](_0x57ae2b(0x1f3)+_0x1790e7);_0x50337c&&(_0x38afee=_0x3d4a42[_0x57ae2b(0x212)]('process.env.GLOBAL_AGENT_HTTP_PROXY=\x22'+_0x50337c+'\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'+_0x1790e7+_0x57ae2b(0x200),_0x38afee));helper[_0x57ae2b(0x1dd)]({},_0x455508),fs[_0x57ae2b(0x1ab)](_0x25746e,_0x38afee),PerformanceTester[_0x57ae2b(0x1a3)](PerformanceEvents[_0x57ae2b(0x228)]);const _0x47dc90=_0x3d4a42[_0x57ae2b(0x208)](spawn,helper[_0x57ae2b(0x1aa)]()?_0x3d4a42[_0x57ae2b(0x1be)]:_0x3d4a42[_0x57ae2b(0x1fe)],[_0x3d4a42[_0x57ae2b(0x1a6)],_0x3d4a42['SBAKi'],_0x3d4a42['BcJJD'],_0x3d4a42['BiQqd'](process[_0x57ae2b(0x1de)],_0x3d4a42[_0x57ae2b(0x1b7)])?'\x22'+_0x25746e+'\x22':_0x25746e,..._0x455508['slice'](0x2)],{'shell':_0x3d4a42['zAOtn'](process[_0x57ae2b(0x1de)],_0x3d4a42['wtYKv']),'stdio':_0x3d4a42['qTjmJ'],'cwd':process['cwd'](),'env':Object[_0x57ae2b(0x186)]({},process[_0x57ae2b(0x192)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x57ae2b(0x1f4)](_0x302473),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x3cef62[_0x57ae2b(0x221)][_0x57ae2b(0x1c4)][_0x57ae2b(0x1ee)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x3cef62[_0x57ae2b(0x221)][_0x57ae2b(0x1c4)]['skipSessionName'],'BROWSERSTACK_LOG_LEVEL':_0x3cef62[_0x57ae2b(0x221)][_0x57ae2b(0x1b1)]})}),_0x4a6fc8=()=>{const _0x273994=_0x57ae2b;try{const _0x1a2410=path[_0x273994(0x1e5)](helper[_0x273994(0x1e4)](),_0x49af5c['FMRvY'],_0x49af5c['wmlBQ']);if(fs['existsSync'](_0x1a2410)){let _0x55cfba=fs[_0x273994(0x210)](_0x1a2410);_0x55cfba=JSON[_0x273994(0x198)](_0x55cfba),_0x3cef62['errorMessage']=_0x55cfba,fs['unlinkSync'](_0x1a2410);}}catch(_0x4297d4){logger[_0x273994(0x1df)](_0x49af5c[_0x273994(0x1d6)](_0x49af5c[_0x273994(0x218)],_0x4297d4));}};_0x47dc90['on'](_0x3d4a42[_0x57ae2b(0x232)],async _0x30c53f=>{const _0x5a37f2=_0x57ae2b;try{PerformanceTester[_0x5a37f2(0x1d2)](PerformanceEvents[_0x5a37f2(0x1cd)]),_0x3d4a42['kBaVI'](_0x4a6fc8),await TestHubHandler[_0x5a37f2(0x21e)](),await ClientTroubleShootingService['reportFinalDetectionState']();const _0x3f4cdf=BrowserstackCLI[_0x5a37f2(0x1da)]();await BrowserstackCLI['getInstance']()[_0x5a37f2(0x21e)](),TestDetails[_0x5a37f2(0x1b8)](),_0x3d4a42[_0x5a37f2(0x209)](printBuildLink),await utilities['finalExecution'](_0x3cef62,_0x3f4cdf),process[_0x5a37f2(0x230)]=_0x30c53f,logger['debug'](_0x5a37f2(0x1b2)+_0x30c53f),logger['info'](_0x5a37f2(0x199)+_0x25746e),fs[_0x5a37f2(0x18e)](_0x25746e);fs[_0x5a37f2(0x1a1)](_0x129822)&&(logger['debug'](_0x5a37f2(0x199)+_0x129822),fs['unlinkSync'](_0x129822));const _0x1229f5=fs[_0x5a37f2(0x1d0)](path[_0x5a37f2(0x1e5)](helper[_0x5a37f2(0x1e4)](),_0x3d4a42[_0x5a37f2(0x22c)]))[_0x5a37f2(0x21b)](_0x3b4860=>_0x3b4860[_0x5a37f2(0x239)]('trace_'));_0x1229f5[_0x5a37f2(0x1c8)](_0x344df9=>{const _0x5dc509=_0x5a37f2;fs[_0x5dc509(0x18e)](path[_0x5dc509(0x1e5)](helper['homedir'](),_0x49af5c['FMRvY'],_0x344df9));});}catch(_0x1988d4){logger[_0x5a37f2(0x1df)](_0x3d4a42[_0x5a37f2(0x212)](_0x3d4a42[_0x5a37f2(0x1af)],_0x1988d4));}});})();}function a39_0x52dc(_0x4e6077,_0xa50b15){const _0x470a24=a39_0x470a();return a39_0x52dc=function(_0x52dcbe,_0x576bdc){_0x52dcbe=_0x52dcbe-0x185;let _0x3010fa=_0x470a24[_0x52dcbe];return _0x3010fa;},a39_0x52dc(_0x4e6077,_0xa50b15);}module[a39_0x5a1a67(0x1b4)]=run;
2
+ 'use strict';function a43_0xbf86(_0x300971,_0x402d0c){const _0x1dd559=a43_0x1dd5();return a43_0xbf86=function(_0xbf86e5,_0x3986f7){_0xbf86e5=_0xbf86e5-0x1a7;let _0x5a12d9=_0x1dd559[_0xbf86e5];return _0x5a12d9;},a43_0xbf86(_0x300971,_0x402d0c);}function a43_0x1dd5(){const _0x4a56fb=['4181464MVIXpn','lkxtL','588TxYHtY','isRunning','has','--disable-browserstack-automation','QhwTH','qsVCE','exitCode','../../helpers/logger','TAaij','bxQxU','debug','automation','rmrIw','uUMsW','path','clearTempPWConfig','Error\x20in\x20getting\x20funnel\x20data\x20results','platform','858102fLrNVU','dirname','SDK_POST_INITIALIZE','YVZml','taOOR','YYjWi','accessibility','stringify','pWZSZ','writeFileSync','getConfigPath','jBSOV','anuHL','getInstance','requirePWModule','--grep','testContextOptions','slice','reportFinalDetectionState','Playwright\x20process\x20exited\x20with\x20code\x20','aKCne','3467336Wneixk','filter','skIlc','vWPKn','SDK_CLEANUP','apply','BROWSERSTACK_TEST_OBSERVABILITY','../../helpers/testhub/testhubHandler','JPFtC','FZTnq','requireConfigLoaderYarnPnP','46054503MEhKzP','VdNGw','pRboT','push','USER_CONFIG_DETAILS_PATH','--config=','dNvlu','reportDotBrowserStackFolderNotAccessibleIssue','JdRAu','../../helpers/performance/constants','SpAqh','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','BROWSERSTACK_TEST_ACCESSIBILITY_YML','yarn','rofbp','split','jAYfZ','accessSync','npx','start','eBhzQ','GCULr','brpUJ','forEach','ybaug','isUndefined','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','UDYKt','./reporter/test-details','readdirSync','inherit','join','homedir','isYarnPnP','GztLC','SDK_SETUP','measureWrapper','INTERNALLY_USED_ENV_VARS','jHXEp','LqQtb','playwright','unlinkSync','../../helpers/performance/performance-tester','../../helpers/test-observability/utils','cliConfig','eUhHx','validateRerunTestList','info','playwright-browserstack-sdk.config.cjs','../../helpers/BrowserStackSetup','get','PACKAGE_TYPE','isTrue','hJSBa','../../helpers/helper','SDK_PRE_INITIALIZE','isFalse','cwd','BROWSERSTACK_RERUN','Deleting\x20','../v2/cliUtils','Updated\x20config\x20file\x20name\x20to\x20-\x20','246eCdvjS','\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}catch{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20This\x20is\x20a\x20failsafe\x20if\x20global-agent\x20present\x20inside\x20sdk\x20node_modules\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22./node_modules/browserstack-node-sdk/node_modules/global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap();','1669334merPYK','splice','startsWith','length','nestedKeyValue','isCLIEnabled','testObservability','indexOf','accessibilityOptions','skipSessionName','exports','\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20process.env.GLOBAL_AGENT_NO_PROXY=\x22','../utils/constants','R_OK','BROWSERSTACK_SETUP_CONFIG_PATH','constants','setFrameworkDetail','browserstackAutomation','parse','false','3342CdEpUe','../../helpers/utilities','test','shutdown','reportConflictingEnvVarIssue','xuRwp','resolvedConfigFile','kvYkX','52685BiPeAZ','cSDWk','config','Error\x20in\x20closing\x20playwright','ogObO','resolve','gywAE','BROWSERSTACK_AUTOMATION','../utils/clientTroubleshootingService','stMmQ','assign','PLAYWRIGHT','Error\x20in\x20accessing\x20.browserstack\x20directory:\x20','trim','.browserstack','playwright-browserstack-sdk.config.js','trace_','win32','iTEsf','child_process','CDdGE','orqEd','Proxy\x20url\x20:\x20','Error\x20in\x20deleting\x20playwright\x20results','BhDVP','hQjrM','BBrGW','existsSync','winstonLogger','MODULE','--config','ysLve','./reporter/pwUtils','fOgjh','getConfig','W_OK','launchBuild','--disable-test-observability','browserstackSetupConfig.json','logLevel','env'];a43_0x1dd5=function(){return _0x4a56fb;};return a43_0x1dd5();}const a43_0x2adca4=a43_0xbf86;(function(_0x413767,_0x45176c){const _0x1574f2=a43_0xbf86,_0x108426=_0x413767();while(!![]){try{const _0x3a3518=-parseInt(_0x1574f2(0x1b5))/0x1+parseInt(_0x1574f2(0x1b3))/0x2*(-parseInt(_0x1574f2(0x1c9))/0x3)+-parseInt(_0x1574f2(0x1fa))/0x4+parseInt(_0x1574f2(0x1d1))/0x5*(-parseInt(_0x1574f2(0x1fc))/0x6)+parseInt(_0x1574f2(0x20e))/0x7+-parseInt(_0x1574f2(0x223))/0x8+parseInt(_0x1574f2(0x22e))/0x9;if(_0x3a3518===_0x45176c)break;else _0x108426['push'](_0x108426['shift']());}catch(_0x1542b0){_0x108426['push'](_0x108426['shift']());}}}(a43_0x1dd5,0xe1184));const fs=require('fs'),path=require(a43_0x2adca4(0x20a)),{spawn}=require(a43_0x2adca4(0x1e4)),{format}=require('util'),logger=require(a43_0x2adca4(0x203))[a43_0x2adca4(0x1ed)],{default:BrowserStackSetup}=require(a43_0x2adca4(0x25f)),helper=require(a43_0x2adca4(0x1ab)),utilities=require(a43_0x2adca4(0x1ca)),constants=require(a43_0x2adca4(0x1c1)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getConfigLoaderPath}=require(a43_0x2adca4(0x1f1)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities}=require('./accessibility-helper'),{printBuildLink}=require(a43_0x2adca4(0x259)),TestDetails=require(a43_0x2adca4(0x24a)),TestHubHandler=require(a43_0x2adca4(0x22a)),PerformanceTester=require(a43_0x2adca4(0x258)),BrowserstackCLI=require('../v2/browserstackCLI'),PerformanceEvents=require(a43_0x2adca4(0x237))['EVENTS'],CLIUtils=require(a43_0x2adca4(0x1b1)),TestInfo=require('../v2/TestInfo'),ClientTroubleShootingService=require(a43_0x2adca4(0x1d9)),getUserPlaywrightConfig=async(_0x48425f,_0x43f402)=>{const _0x401262=a43_0x2adca4,_0x11e9c0={'vWPKn':function(_0x8e018c){return _0x8e018c();},'RYlZO':function(_0x4f3226){return _0x4f3226();},'eBhzQ':function(_0x5f3df3,_0x349668){return _0x5f3df3(_0x349668);},'SpAqh':_0x401262(0x1cf),'UDYKt':_0x401262(0x233)},_0x13c0ba=!helper[_0x401262(0x247)](_0x48425f[_0x401262(0x1d3)]),_0x20bf1b=_0x13c0ba?path[_0x401262(0x1d6)](process['cwd'](),_0x48425f['config']):process[_0x401262(0x1ae)](),{resolveConfigFile:_0x4e95bb,resolveConfigLocation:_0x6f6e1e}=helper[_0x401262(0x24f)]()?helper[_0x401262(0x22d)](..._0x11e9c0[_0x401262(0x226)](getConfigLoaderPath)):helper[_0x401262(0x21c)][_0x401262(0x228)](null,_0x11e9c0['RYlZO'](getConfigLoaderPath)),_0x33274f=_0x4e95bb?_0x11e9c0[_0x401262(0x242)](_0x4e95bb,_0x20bf1b):helper[_0x401262(0x1b9)](_0x11e9c0['eBhzQ'](_0x6f6e1e,_0x20bf1b),[_0x11e9c0[_0x401262(0x238)]]),_0x505702={};if(_0x13c0ba){const _0x125719=_0x43f402['findIndex'](_0xdbe318=>_0xdbe318===_0x401262(0x1ef)||_0xdbe318==='-c'||_0xdbe318[_0x401262(0x1b7)](_0x401262(0x233)));_0x43f402[_0x401262(0x1b6)](_0x125719,_0x43f402[_0x125719][_0x401262(0x1b7)](_0x11e9c0[_0x401262(0x249)])?0x1:0x2);}const _0x23350b={};return _0x23350b[_0x401262(0x20a)]=_0x33274f,_0x23350b['config']=_0x505702,_0x23350b;},handleO11yRerun=_0x408ff0=>{const _0xed9861=a43_0x2adca4,_0xf52ffe={};_0xf52ffe['brpUJ']=_0xed9861(0x21d);const _0x420c8e=_0xf52ffe,_0x42fb2a=helper[_0xed9861(0x1a9)](process['env'][_0xed9861(0x1af)]);if(_0x42fb2a){const _0x5d76c8=process[_0xed9861(0x1f9)]['BROWSERSTACK_RERUN_TESTS'],_0x5f10de=[];if(helper[_0xed9861(0x25c)](_0x5d76c8)&&!helper[_0xed9861(0x247)](_0x5d76c8)){_0x5d76c8[_0xed9861(0x23d)](',')['map'](_0x3cbd50=>{const _0x2e04fe=_0xed9861;_0x5f10de[_0x2e04fe(0x231)]('('+_0x3cbd50[_0x2e04fe(0x1de)]()+')');});const _0x4884a1='^'+_0x5f10de['join']('|')+'$';_0x408ff0[_0xed9861(0x231)](_0x420c8e[_0xed9861(0x244)],_0x4884a1);}}},spawnOriginalProcess=_0x1b2e07=>{const _0x396b57=a43_0x2adca4,_0x35a795={'uUMsW':function(_0x48593,_0x1de44d,_0x4a5a92,_0x193da2){return _0x48593(_0x1de44d,_0x4a5a92,_0x193da2);},'JPFtC':_0x396b57(0x23b),'CDdGE':_0x396b57(0x240),'xuRwp':_0x396b57(0x256),'FurUj':function(_0x183cf7,_0x4c0b0d){return _0x183cf7===_0x4c0b0d;},'cSDWk':_0x396b57(0x1e2),'ysLve':'inherit'};_0x35a795[_0x396b57(0x209)](spawn,helper[_0x396b57(0x24f)]()?_0x35a795[_0x396b57(0x22b)]:_0x35a795[_0x396b57(0x1e5)],[_0x35a795[_0x396b57(0x1ce)],..._0x1b2e07[_0x396b57(0x21f)](0x1)],{'shell':_0x35a795['FurUj'](process[_0x396b57(0x20d)],_0x35a795[_0x396b57(0x1d2)]),'stdio':_0x35a795[_0x396b57(0x1f0)],'cwd':process['cwd']()});},isTestCommand=(_0x333617,_0xaa6e08)=>{const _0xb99e9e=a43_0x2adca4,_0x1f6654={};_0x1f6654[_0xb99e9e(0x200)]=function(_0x4fc363,_0x1a3b9d){return _0x4fc363>_0x1a3b9d;},_0x1f6654['ogObO']=function(_0x2132be,_0x491e7d){return _0x2132be===_0x491e7d;},_0x1f6654[_0xb99e9e(0x250)]=_0xb99e9e(0x1cb);const _0x15d21d=_0x1f6654;if(_0x15d21d[_0xb99e9e(0x200)](_0xaa6e08['length'],0x1)&&_0x15d21d[_0xb99e9e(0x1d5)](_0xaa6e08[0x1],_0x15d21d[_0xb99e9e(0x250)]))return!![];return![];};async function run(_0x200ba0,_0xf802da,_0x2d7b17){const _0x34b380=a43_0x2adca4,_0x1543e3={'stMmQ':_0x34b380(0x1df),'rmrIw':function(_0x350616){return _0x350616();},'TAaij':function(_0x9c9c88){return _0x9c9c88();},'rofbp':function(_0x19dd38,_0x5f0834){return _0x19dd38+_0x5f0834;},'jAYfZ':_0x34b380(0x1d4),'ybaug':function(_0x4f082a,_0x5be87b){return _0x4f082a(_0x5be87b);},'jHXEp':'pw_result.json','jBSOV':function(_0x3c1301,_0x47dd4b){return _0x3c1301+_0x47dd4b;},'orqEd':_0x34b380(0x20c),'voXwf':'BrowserStack\x20config\x20file\x20not\x20found.','lkxtL':function(_0x8b071a,_0xd75228){return _0x8b071a<_0xd75228;},'bxQxU':function(_0xf8aac4,_0x5a73ca){return _0xf8aac4===_0x5a73ca;},'iTEsf':_0x34b380(0x1c8),'XNplz':_0x34b380(0x1f6),'YVZml':function(_0x1d37a5,_0x5aa78c){return _0x1d37a5>=_0x5aa78c;},'TGWAZ':_0x34b380(0x207),'iZWyp':function(_0x356a2c,_0x31a046){return _0x356a2c!=_0x31a046;},'FZTnq':function(_0x4bbf6a,_0x1f2b12,_0x4a5ce9){return _0x4bbf6a(_0x1f2b12,_0x4a5ce9);},'dNvlu':'true','uqLSU':_0x34b380(0x1f7),'skIlc':_0x34b380(0x25e),'fOgjh':_0x34b380(0x1e0),'pRboT':function(_0xe8a284,_0x47e088){return _0xe8a284-_0x47e088;},'LqQtb':_0x34b380(0x1b2),'aZyFW':function(_0x57a2e4,_0x9d6725){return _0x57a2e4>_0x9d6725;},'eUhHx':function(_0x53b387,_0x4d0b7b,_0x2c63c8,_0x1ae8ec){return _0x53b387(_0x4d0b7b,_0x2c63c8,_0x1ae8ec);},'hJSBa':_0x34b380(0x23b),'GCULr':_0x34b380(0x240),'anuHL':_0x34b380(0x256),'kvYkX':'test','gywAE':'--config','hQjrM':function(_0x1de91f,_0x4ee8b5){return _0x1de91f===_0x4ee8b5;},'BBrGW':_0x34b380(0x1e2),'gIgTF':function(_0x1e6929,_0x38d3dd){return _0x1e6929===_0x38d3dd;},'taOOR':_0x34b380(0x24c),'BhDVP':'close','JdRAu':function(_0x24deb1,_0x325276){return _0x24deb1|_0x325276;},'qsVCE':function(_0x168fd5,_0x335495){return _0x168fd5+_0x335495;},'YYjWi':_0x34b380(0x1dd),'qHQPb':_0x34b380(0x1e8)};try{const _0x40337c=path[_0x34b380(0x24d)](helper['homedir'](),_0x1543e3[_0x34b380(0x1da)]);try{fs[_0x34b380(0x23f)](_0x40337c,_0x1543e3[_0x34b380(0x236)](fs[_0x34b380(0x1c4)][_0x34b380(0x1c2)],fs['constants'][_0x34b380(0x1f4)]));}catch(_0x357aab){ClientTroubleShootingService[_0x34b380(0x235)]();}}catch(_0x4d59fd){logger[_0x34b380(0x206)](_0x1543e3[_0x34b380(0x201)](_0x1543e3[_0x34b380(0x213)],_0x4d59fd));}try{const _0x571270=path[_0x34b380(0x24d)](helper[_0x34b380(0x24e)](),_0x1543e3[_0x34b380(0x1da)],_0x1543e3[_0x34b380(0x254)]);fs[_0x34b380(0x1ec)](_0x571270)&&fs['unlinkSync'](_0x571270);}catch(_0x1ab7b5){logger['debug'](_0x1543e3[_0x34b380(0x201)](_0x1543e3['qHQPb'],_0x1ab7b5));}if(!_0x1543e3[_0x34b380(0x22c)](isTestCommand,_0x200ba0,_0xf802da)){_0x1543e3[_0x34b380(0x246)](spawnOriginalProcess,_0xf802da);return;}await PerformanceTester[_0x34b380(0x252)](PerformanceEvents[_0x34b380(0x1ac)],async()=>{const _0x38fbc2=_0x34b380,_0x2d6166={'VdNGw':function(_0x126eab,_0x15e01c){const _0x1b1563=a43_0xbf86;return _0x1543e3[_0x1b1563(0x246)](_0x126eab,_0x15e01c);},'zTGkc':_0x1543e3[_0x38fbc2(0x1da)],'JvOXH':_0x1543e3[_0x38fbc2(0x254)],'pWZSZ':function(_0x1206c7,_0x4103b9){const _0x1de092=_0x38fbc2;return _0x1543e3[_0x1de092(0x219)](_0x1206c7,_0x4103b9);},'erDcb':_0x1543e3[_0x38fbc2(0x1e6)]};if(!_0x2d7b17[_0x38fbc2(0x1d3)]){logger['error'](_0x1543e3['voXwf']);return;}await _0x2d7b17['initialize'](_0x200ba0),CLIUtils[_0x38fbc2(0x1c5)](FRAMEWORKS['PLAYWRIGHT'],FRAMEWORKS[_0x38fbc2(0x1dc)]),BrowserstackCLI[_0x38fbc2(0x21b)]()['setBrowserstackConfig'](_0x2d7b17[_0x38fbc2(0x1d3)],_0x2d7b17['configPath'],_0x2d7b17[_0x38fbc2(0x25a)]),await BrowserstackCLI[_0x38fbc2(0x21b)]()['bootstrap']();for(var _0x16cd2e=0x0;_0x1543e3[_0x38fbc2(0x1fb)](_0x16cd2e,constants['INTERNALLY_USED_ENV_VARS'][_0x38fbc2(0x1b8)]);_0x16cd2e++){var _0x34644d=constants[_0x38fbc2(0x253)][_0x16cd2e];process[_0x38fbc2(0x1f9)][_0x34644d]&&await ClientTroubleShootingService[_0x38fbc2(0x1cd)](_0x34644d);}const _0x4157d3=BrowserstackCLI[_0x38fbc2(0x21b)]()[_0x38fbc2(0x1f3)]();!helper[_0x38fbc2(0x1ad)](_0x4157d3[_0x38fbc2(0x1c6)])&&(process['env'][_0x38fbc2(0x1d8)]=!![]);_0x1543e3['bxQxU'](_0x4157d3[_0x38fbc2(0x1c6)],![])&&(process['env'][_0x38fbc2(0x1d8)]=_0x1543e3[_0x38fbc2(0x1e3)],_0xf802da=_0xf802da[_0x38fbc2(0x224)](_0x3f0ccb=>_0x3f0ccb!==_0x38fbc2(0x1ff)));const _0x24832c=_0xf802da[_0x38fbc2(0x1bc)](_0x1543e3['XNplz']);(_0x1543e3[_0x38fbc2(0x211)](_0x24832c,0x0)||_0x1543e3[_0x38fbc2(0x205)](_0x4157d3[_0x38fbc2(0x1bb)],![]))&&(process[_0x38fbc2(0x1f9)][_0x38fbc2(0x229)]=_0x1543e3[_0x38fbc2(0x1e3)],_0xf802da=_0xf802da['filter'](_0xb74b86=>_0xb74b86!=='--disable-test-observability'));!helper[_0x38fbc2(0x247)](_0x2d7b17['cliConfig'])&&_0x2d7b17[_0x38fbc2(0x25a)][_0x38fbc2(0x1fe)](_0x1543e3['TGWAZ'])&&(process[_0x38fbc2(0x1f9)][_0x38fbc2(0x1d8)]=_0x2d7b17[_0x38fbc2(0x25a)][_0x38fbc2(0x1a7)](_0x1543e3['TGWAZ'])||!![]);_0x1543e3['iZWyp'](_0x2d7b17['config'][_0x38fbc2(0x1bb)],null)&&!helper[_0x38fbc2(0x1a9)](process[_0x38fbc2(0x1f9)]['BROWSERSTACK_TEST_OBSERVABILITY'])&&(process['env'][_0x38fbc2(0x229)]=process['env'][_0x38fbc2(0x229)]||_0x2d7b17['config'][_0x38fbc2(0x1bb)]);const _0x4519f5=!helper[_0x38fbc2(0x1ad)](process['env'][_0x38fbc2(0x229)]);_0x2d7b17[_0x38fbc2(0x1d3)][_0x38fbc2(0x1bd)]&&(process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x38fbc2(0x215)](_0x2d7b17[_0x38fbc2(0x1d3)]['accessibilityOptions']));let _0x1b5ca7=![];_0x2d7b17['config'][_0x38fbc2(0x214)]&&(_0x1b5ca7=!![],process[_0x38fbc2(0x1f9)][_0x38fbc2(0x23a)]=_0x2d7b17['config']['accessibility']);const _0x538a4f=_0xf802da['concat'](),_0x56eba0=await _0x1543e3[_0x38fbc2(0x22c)](getUserPlaywrightConfig,_0x200ba0,_0xf802da);if(helper['isUndefined'](_0x56eba0)){_0x1543e3[_0x38fbc2(0x246)](spawnOriginalProcess,_0x538a4f);return;}const _0x1f66c9=_0x56eba0[_0x38fbc2(0x20a)]?path['dirname'](_0x56eba0['path']):process[_0x38fbc2(0x1ae)]();process[_0x38fbc2(0x1f9)]['BROWSERSTACK_PW_CONFIG_DIR']=_0x1f66c9,await PerformanceTester['measureWrapper'](PerformanceEvents[_0x38fbc2(0x210)],async()=>{const _0x424092=_0x38fbc2;!BrowserstackCLI['getInstance']()[_0x424092(0x1fd)]()&&await TestHubHandler[_0x424092(0x1f5)](FRAMEWORKS['PLAYWRIGHT'],_0x2d7b17),_0x4519f5&&_0x2d6166[_0x424092(0x22f)](handleO11yRerun,_0xf802da);})();if(!BrowserstackCLI[_0x38fbc2(0x21b)]()['isRunning']()){let _0x5e3f5c=_0x1543e3[_0x38fbc2(0x205)](process[_0x38fbc2(0x1f9)][_0x38fbc2(0x23a)],_0x1543e3[_0x38fbc2(0x234)]);_0x5e3f5c=_0x5e3f5c||_0x1543e3[_0x38fbc2(0x246)](checkAccessibilityPlatformConfig,_0x2d7b17['config']),process['env'][_0x38fbc2(0x23a)]=_0x5e3f5c,_0x5e3f5c&&_0x1543e3[_0x38fbc2(0x246)](setAccessibilityCapabilities,_0x2d7b17[_0x38fbc2(0x1d3)]);}const _0x1f566f=path[_0x38fbc2(0x24d)](_0x56eba0[_0x38fbc2(0x20a)]?path[_0x38fbc2(0x20f)](_0x56eba0['path']):process[_0x38fbc2(0x1ae)](),_0x1543e3['uqLSU']);fs[_0x38fbc2(0x217)](_0x1f566f,helper['serializeToYamlString'](_0x2d7b17[_0x38fbc2(0x1d3)])),process[_0x38fbc2(0x1f9)][_0x38fbc2(0x1c3)]=_0x1f566f,helper[_0x38fbc2(0x20b)]();let _0x14cd28='';_0x1543e3[_0x38fbc2(0x205)](helper['getPackageType'](),constants[_0x38fbc2(0x1a8)][_0x38fbc2(0x1ee)])?_0x14cd28=_0x1543e3[_0x38fbc2(0x225)]:_0x14cd28=_0x1543e3[_0x38fbc2(0x1f2)];let _0x568704='';if(helper['isTypescriptProject'](_0x56eba0[_0x38fbc2(0x20a)])){_0x568704=_0x38fbc2(0x248);const _0x5c9c20=_0x14cd28[_0x38fbc2(0x23d)]('.');_0x5c9c20[_0x1543e3[_0x38fbc2(0x230)](_0x5c9c20[_0x38fbc2(0x1b8)],0x1)]='ts',_0x14cd28=_0x5c9c20[_0x38fbc2(0x24d)]('.'),logger['debug'](_0x1543e3[_0x38fbc2(0x23c)](_0x1543e3[_0x38fbc2(0x255)],_0x14cd28));}else _0x568704='\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a';const _0x5019e5=path[_0x38fbc2(0x24d)](_0x56eba0['path']?path[_0x38fbc2(0x20f)](_0x56eba0[_0x38fbc2(0x20a)]):process[_0x38fbc2(0x1ae)](),_0x14cd28);let _0x2b5967=_0x56eba0[_0x38fbc2(0x20a)]?_0x56eba0[_0x38fbc2(0x20a)]:'';_0x2b5967=_0x1543e3['aZyFW'](_0x2b5967['length'],0x0)?path['resolve'](_0x2b5967):'',process[_0x38fbc2(0x1f9)][_0x38fbc2(0x232)]=_0x2b5967;const _0x23b209=helper['getProxyUrl'](_0x2d7b17[_0x38fbc2(0x1d3)]),_0x441bd3=helper['getNoProxy'](_0x2d7b17[_0x38fbc2(0x1d3)]);logger[_0x38fbc2(0x206)](_0x38fbc2(0x1e7)+_0x23b209),logger[_0x38fbc2(0x206)]('No\x20Proxy\x20:\x20'+_0x441bd3);_0x23b209&&(_0x568704=_0x1543e3[_0x38fbc2(0x219)](_0x38fbc2(0x239)+_0x23b209+_0x38fbc2(0x1c0)+_0x441bd3+_0x38fbc2(0x1b4),_0x568704));helper['filterBrowserstackArgs']({},_0xf802da),fs[_0x38fbc2(0x217)](_0x5019e5,_0x568704),PerformanceTester['end'](PerformanceEvents[_0x38fbc2(0x251)]);const _0x25df48=_0x1543e3[_0x38fbc2(0x25b)](spawn,helper[_0x38fbc2(0x24f)]()?_0x1543e3[_0x38fbc2(0x1aa)]:_0x1543e3[_0x38fbc2(0x243)],[_0x1543e3[_0x38fbc2(0x21a)],_0x1543e3[_0x38fbc2(0x1d0)],_0x1543e3[_0x38fbc2(0x1d7)],_0x1543e3[_0x38fbc2(0x1ea)](process[_0x38fbc2(0x20d)],_0x1543e3['BBrGW'])?'\x22'+_0x5019e5+'\x22':_0x5019e5,..._0xf802da[_0x38fbc2(0x21f)](0x2)],{'shell':_0x1543e3['gIgTF'](process['platform'],_0x1543e3[_0x38fbc2(0x1eb)]),'stdio':_0x1543e3[_0x38fbc2(0x212)],'cwd':process[_0x38fbc2(0x1ae)](),'env':Object[_0x38fbc2(0x1db)]({},process[_0x38fbc2(0x1f9)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x38fbc2(0x218)](_0x200ba0),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x2d7b17[_0x38fbc2(0x1d3)][_0x38fbc2(0x21e)]['skipSessionStatus'],'BROWSERSTACK_SKIP_SESSION_NAME':_0x2d7b17['config'][_0x38fbc2(0x21e)][_0x38fbc2(0x1be)],'BROWSERSTACK_LOG_LEVEL':_0x2d7b17[_0x38fbc2(0x1d3)][_0x38fbc2(0x1f8)]})}),_0xb13e07=()=>{const _0x63ec5a=_0x38fbc2;try{const _0x5a8fc6=path[_0x63ec5a(0x24d)](helper[_0x63ec5a(0x24e)](),_0x2d6166['zTGkc'],_0x2d6166['JvOXH']);if(fs['existsSync'](_0x5a8fc6)){let _0x149105=fs['readFileSync'](_0x5a8fc6);_0x149105=JSON[_0x63ec5a(0x1c7)](_0x149105),_0x2d7b17['errorMessage']=_0x149105,fs[_0x63ec5a(0x257)](_0x5a8fc6);}}catch(_0xcd55cf){logger[_0x63ec5a(0x206)](_0x2d6166[_0x63ec5a(0x216)](_0x2d6166['erDcb'],_0xcd55cf));}};_0x25df48['on'](_0x1543e3[_0x38fbc2(0x1e9)],async _0xdd298=>{const _0x3958a1=_0x38fbc2,_0x221e2d={};_0x221e2d[_0x3958a1(0x222)]=_0x1543e3[_0x3958a1(0x1da)];const _0x3b95be=_0x221e2d;try{PerformanceTester[_0x3958a1(0x241)](PerformanceEvents[_0x3958a1(0x227)]),_0x1543e3[_0x3958a1(0x208)](_0xb13e07),await TestHubHandler['stop'](),await ClientTroubleShootingService[_0x3958a1(0x220)]();const _0x54cf04=BrowserstackCLI[_0x3958a1(0x1ba)]();await BrowserstackCLI[_0x3958a1(0x21b)]()['stop'](),TestDetails[_0x3958a1(0x1cc)](),_0x1543e3[_0x3958a1(0x204)](printBuildLink),await utilities['finalExecution'](_0x2d7b17,_0x54cf04),process[_0x3958a1(0x202)]=_0xdd298,logger[_0x3958a1(0x206)](_0x3958a1(0x221)+_0xdd298),logger[_0x3958a1(0x25d)](_0x3958a1(0x1b0)+_0x5019e5),fs[_0x3958a1(0x257)](_0x5019e5);fs[_0x3958a1(0x1ec)](_0x1f566f)&&(logger[_0x3958a1(0x206)](_0x3958a1(0x1b0)+_0x1f566f),fs[_0x3958a1(0x257)](_0x1f566f));const _0x4d0be3=fs[_0x3958a1(0x24b)](path['join'](helper[_0x3958a1(0x24e)](),_0x1543e3['stMmQ']))[_0x3958a1(0x224)](_0x565f59=>_0x565f59['startsWith'](_0x3958a1(0x1e1)));_0x4d0be3[_0x3958a1(0x245)](_0x2184ac=>{const _0x353a59=_0x3958a1;fs[_0x353a59(0x257)](path[_0x353a59(0x24d)](helper['homedir'](),_0x3b95be[_0x353a59(0x222)],_0x2184ac));});}catch(_0x5eb080){logger[_0x3958a1(0x206)](_0x1543e3[_0x3958a1(0x23c)](_0x1543e3[_0x3958a1(0x23e)],_0x5eb080));}});})();}module[a43_0x2adca4(0x1bf)]=run;
@@ -1 +1 @@
1
- const a40_0x128e5a=a40_0xa91d;(function(_0x2655ff,_0x3e2d2a){const _0x333190=a40_0xa91d,_0x34f0c8=_0x2655ff();while(!![]){try{const _0x174dff=-parseInt(_0x333190(0x153))/0x1*(parseInt(_0x333190(0x16a))/0x2)+parseInt(_0x333190(0x177))/0x3*(parseInt(_0x333190(0x170))/0x4)+parseInt(_0x333190(0x17d))/0x5*(parseInt(_0x333190(0x163))/0x6)+parseInt(_0x333190(0x15f))/0x7+parseInt(_0x333190(0x157))/0x8+parseInt(_0x333190(0x154))/0x9*(parseInt(_0x333190(0x16b))/0xa)+parseInt(_0x333190(0x156))/0xb*(-parseInt(_0x333190(0x17a))/0xc);if(_0x174dff===_0x3e2d2a)break;else _0x34f0c8['push'](_0x34f0c8['shift']());}catch(_0x2efcda){_0x34f0c8['push'](_0x34f0c8['shift']());}}}(a40_0x3acf,0x40092));const util=require('util'),child_process=require('child_process'),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getFrameworkVersion,debug}=require(a40_0x128e5a(0x151)),helper=require(a40_0x128e5a(0x15d)),{getLoadUtilsPath,getForkProcessPath}=require(a40_0x128e5a(0x169)),{mockIsWorkerRedundant}=require(a40_0x128e5a(0x15b)),logger=require(a40_0x128e5a(0x167))['winstonLogger'];function a40_0x3acf(){const _0x42a342=['fork','../../helpers/helper','Call\x20to\x20child\x20fork\x20with\x20args\x20','778246vpguCa','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','\x20is\x20not\x20found','wMsVn','387084AMjvfX','function','Not\x20able\x20to\x20import\x20globalSetup','./mock-process.js','../../helpers/logger','eFoFO','./reporter/pwUtils','67566PYycrm','10RwCoow','requirePWModule','VZTow','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','qCbsn','567396hGGrYs','apply','Running\x20existing\x20global\x20setup','YHzBS','format','isHandlePWErrorSet','resolve','6KKUpbQ','Path\x20','env','36TzDlsQ','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','exports','10NlWVcP','1.33.0','../../helpers/test-observability/utils','Jxtux','7DAFgGx','3259179cZRlkz','LlElo','3168847HJZEwW','3815736MNLnHa','sJSii','debug','PLAYWRIGHT','./patches'];a40_0x3acf=function(){return _0x42a342;};return a40_0x3acf();}function a40_0xa91d(_0x122bb6,_0x16bf69){const _0x3acf5d=a40_0x3acf();return a40_0xa91d=function(_0xa91d11,_0x5c98aa){_0xa91d11=_0xa91d11-0x150;let _0xec4c77=_0x3acf5d[_0xa91d11];return _0xec4c77;},a40_0xa91d(_0x122bb6,_0x16bf69);}module[a40_0x128e5a(0x17c)]=async function(_0x48f726){const _0x472e6d=a40_0x128e5a,_0x419349={'VZTow':function(_0x7899ea,_0x40cff5){return _0x7899ea(_0x40cff5);},'sJSii':function(_0x1d386f){return _0x1d386f();},'Jxtux':_0x472e6d(0x166),'fctlB':function(_0x1b920c){return _0x1b920c();},'qCbsn':function(_0x189da3,_0x104b1f){return _0x189da3(_0x104b1f);},'eFoFO':_0x472e6d(0x172),'hIpna':function(_0x3daffa,_0x39b878){return _0x3daffa>=_0x39b878;},'YHzBS':_0x472e6d(0x150),'LlElo':function(_0x1e35d8,_0x383edb,_0x33e674){return _0x1e35d8(_0x383edb,_0x33e674);},'gikSP':function(_0x5b74db,_0x543cdc){return _0x5b74db!==_0x543cdc;},'woeQa':_0x472e6d(0x164),'wMsVn':_0x472e6d(0x165)},_0x18e7b2=child_process[_0x472e6d(0x15c)];if(helper[_0x472e6d(0x175)]())try{_0x419349['fctlB'](mockIsWorkerRedundant);}catch(_0x3df277){logger[_0x472e6d(0x159)](_0x472e6d(0x17b)+util[_0x472e6d(0x174)](_0x3df277));}child_process['fork']=function(){const _0x2f8933=_0x472e6d;return _0x419349[_0x2f8933(0x16d)](debug,_0x2f8933(0x15e)+arguments[0x0]),arguments[0x0]['includes'](_0x419349[_0x2f8933(0x158)](getForkProcessPath))?arguments[0x0]=require[_0x2f8933(0x176)](_0x419349[_0x2f8933(0x152)]):logger['error'](_0x2f8933(0x178)+_0x419349[_0x2f8933(0x158)](getForkProcessPath)+_0x2f8933(0x161)),_0x18e7b2[_0x2f8933(0x171)](null,arguments);};if(process[_0x472e6d(0x179)][_0x472e6d(0x160)]){_0x419349[_0x472e6d(0x16f)](debug,_0x419349[_0x472e6d(0x168)]);try{const {loadGlobalHook:_0xe7f4be}=helper[_0x472e6d(0x16c)][_0x472e6d(0x171)](null,_0x419349['sJSii'](getLoadUtilsPath)),_0x1405ca=_0x419349[_0x472e6d(0x16d)](getFrameworkVersion,FRAMEWORKS[_0x472e6d(0x15a)]);let _0x42d3bb=_0x48f726;if(_0x419349['hIpna'](helper['compareVersions'](_0x1405ca,_0x419349[_0x472e6d(0x173)]),0x0)){const _0x33292c={};_0x33292c['config']=_0x48f726,_0x42d3bb=_0x33292c;}const _0x2d6a05=await _0x419349[_0x472e6d(0x155)](_0xe7f4be,_0x42d3bb,process[_0x472e6d(0x179)][_0x472e6d(0x160)]);if(_0x419349['gikSP'](typeof _0x2d6a05,_0x419349['woeQa']))throw new Error(_0x419349[_0x472e6d(0x162)]);return _0x2d6a05[_0x472e6d(0x171)](null,arguments);}catch(_0x3caa47){_0x419349['VZTow'](debug,_0x472e6d(0x16e)+_0x3caa47['toString']());}}};
1
+ function a44_0x2205(){const _0x532bf1=['function','compareVersions','Not\x20able\x20to\x20import\x20globalSetup','810BmGTuh','resolve','Path\x20','../../helpers/test-observability/utils','requirePWModule','apply','./mock-process.js','toString','7316325CkzwHu','EYZnl','isHandlePWErrorSet','bLRrY','dhCBt','2295720MBoaeX','1.33.0','RhhnZ','BcevS','33158DEdUhy','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','2568tuzpBi','10XEfKVL','\x20is\x20not\x20found','fJhkM','includes','GTkMa','yUyAy','format','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','config','child_process','HqSyf','2088DFkzmh','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','exports','../../helpers/test-observability/constants','19012jIzUuD','env','util','./patches','TUJoh','Running\x20existing\x20global\x20setup','1804szNQLq','PLAYWRIGHT','error','fork','./reporter/pwUtils','KOSGC','21370CMhuIk','861IySUTg','6gUNHNk'];a44_0x2205=function(){return _0x532bf1;};return a44_0x2205();}function a44_0x28e0(_0x434960,_0x41d0ec){const _0x220531=a44_0x2205();return a44_0x28e0=function(_0x28e0fc,_0x4e50e3){_0x28e0fc=_0x28e0fc-0x147;let _0xcaffa7=_0x220531[_0x28e0fc];return _0xcaffa7;},a44_0x28e0(_0x434960,_0x41d0ec);}const a44_0x396f45=a44_0x28e0;(function(_0x5a609b,_0x594928){const _0x26de5f=a44_0x28e0,_0x23dd09=_0x5a609b();while(!![]){try{const _0x21c827=parseInt(_0x26de5f(0x163))/0x1*(parseInt(_0x26de5f(0x14e))/0x2)+-parseInt(_0x26de5f(0x14d))/0x3+-parseInt(_0x26de5f(0x15f))/0x4+parseInt(_0x26de5f(0x14c))/0x5*(-parseInt(_0x26de5f(0x152))/0x6)+parseInt(_0x26de5f(0x175))/0x7*(parseInt(_0x26de5f(0x171))/0x8)+-parseInt(_0x26de5f(0x15a))/0x9*(-parseInt(_0x26de5f(0x166))/0xa)+parseInt(_0x26de5f(0x17b))/0xb*(parseInt(_0x26de5f(0x165))/0xc);if(_0x21c827===_0x594928)break;else _0x23dd09['push'](_0x23dd09['shift']());}catch(_0x51079a){_0x23dd09['push'](_0x23dd09['shift']());}}}(a44_0x2205,0x7b54c));const util=require(a44_0x396f45(0x177)),child_process=require(a44_0x396f45(0x16f)),{FRAMEWORKS}=require(a44_0x396f45(0x174)),{getFrameworkVersion,debug}=require(a44_0x396f45(0x155)),helper=require('../../helpers/helper'),{getLoadUtilsPath,getForkProcessPath}=require(a44_0x396f45(0x14a)),{mockIsWorkerRedundant}=require(a44_0x396f45(0x178)),logger=require('../../helpers/logger')['winstonLogger'];module[a44_0x396f45(0x173)]=async function(_0x50db25){const _0x15844e=a44_0x396f45,_0x461168={'fJhkM':function(_0x36fe12,_0x2ee32a){return _0x36fe12(_0x2ee32a);},'dhCBt':function(_0x47ef37){return _0x47ef37();},'BcevS':_0x15844e(0x158),'noKXQ':function(_0x111754){return _0x111754();},'QytXX':function(_0x1db957){return _0x1db957();},'bLRrY':function(_0x917443,_0x20ec86){return _0x917443(_0x20ec86);},'GTkMa':_0x15844e(0x17a),'nZIcM':function(_0x39e2cf){return _0x39e2cf();},'TUJoh':function(_0xcd6b9d,_0x34b5d5){return _0xcd6b9d(_0x34b5d5);},'yUyAy':function(_0xac92d4,_0x165d4d){return _0xac92d4>=_0x165d4d;},'jZQyv':_0x15844e(0x160),'KOSGC':function(_0x3cf861,_0xd8ffef,_0x44e8b3){return _0x3cf861(_0xd8ffef,_0x44e8b3);},'EYZnl':function(_0x3c40e3,_0x52b9f5){return _0x3c40e3!==_0x52b9f5;},'HqSyf':_0x15844e(0x14f),'vlXXx':_0x15844e(0x151),'RhhnZ':function(_0x5a4412,_0x323e01){return _0x5a4412(_0x323e01);}},_0x549de4=child_process[_0x15844e(0x149)];if(helper[_0x15844e(0x15c)]())try{_0x461168['QytXX'](mockIsWorkerRedundant);}catch(_0x166b15){logger['debug'](_0x15844e(0x172)+util[_0x15844e(0x16c)](_0x166b15));}child_process[_0x15844e(0x149)]=function(){const _0x518fe8=_0x15844e;return _0x461168[_0x518fe8(0x168)](debug,'Call\x20to\x20child\x20fork\x20with\x20args\x20'+arguments[0x0]),arguments[0x0][_0x518fe8(0x169)](_0x461168[_0x518fe8(0x15e)](getForkProcessPath))?arguments[0x0]=require[_0x518fe8(0x153)](_0x461168[_0x518fe8(0x162)]):logger[_0x518fe8(0x148)](_0x518fe8(0x154)+_0x461168['noKXQ'](getForkProcessPath)+_0x518fe8(0x167)),_0x549de4[_0x518fe8(0x157)](null,arguments);};if(process[_0x15844e(0x176)][_0x15844e(0x16d)]){_0x461168[_0x15844e(0x15d)](debug,_0x461168[_0x15844e(0x16a)]);try{const {loadGlobalHook:_0x9276cd}=helper[_0x15844e(0x156)][_0x15844e(0x157)](null,_0x461168['nZIcM'](getLoadUtilsPath)),_0x84c2d0=_0x461168[_0x15844e(0x179)](getFrameworkVersion,FRAMEWORKS[_0x15844e(0x147)]);let _0x33c542=_0x50db25;if(_0x461168[_0x15844e(0x16b)](helper[_0x15844e(0x150)](_0x84c2d0,_0x461168['jZQyv']),0x0)){const _0x2ff533={};_0x2ff533[_0x15844e(0x16e)]=_0x50db25,_0x33c542=_0x2ff533;}const _0x56c81f=await _0x461168[_0x15844e(0x14b)](_0x9276cd,_0x33c542,process[_0x15844e(0x176)][_0x15844e(0x16d)]);if(_0x461168[_0x15844e(0x15b)](typeof _0x56c81f,_0x461168[_0x15844e(0x170)]))throw new Error(_0x461168['vlXXx']);return _0x56c81f[_0x15844e(0x157)](null,arguments);}catch(_0x3fceb4){_0x461168[_0x15844e(0x161)](debug,_0x15844e(0x164)+_0x3fceb4[_0x15844e(0x159)]());}}};