browserstack-node-sdk 1.70.1 → 1.70.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (223) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  42. package/src/bin/codeceptjs/command.js +1 -1
  43. package/src/bin/codeceptjs/helper.js +1 -1
  44. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  45. package/src/bin/cucumber-js/command.js +1 -1
  46. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  48. package/src/bin/cucumber-js/test-observability.js +1 -1
  49. package/src/bin/cucumber-js/test.setup.js +1 -1
  50. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  51. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  52. package/src/bin/detox/a11ySetup.js +1 -1
  53. package/src/bin/detox/command.js +1 -1
  54. package/src/bin/detox/modifyDetoxConf.js +1 -1
  55. package/src/bin/detox/traEmitter.js +1 -1
  56. package/src/bin/integrations/command.js +1 -1
  57. package/src/bin/integrations/constants.js +1 -1
  58. package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
  59. package/src/bin/jasmine/command.js +1 -1
  60. package/src/bin/jasmine/test.setup.js +1 -1
  61. package/src/bin/jasmine/testRunMap.js +1 -1
  62. package/src/bin/jest/command.js +1 -1
  63. package/src/bin/jest/customImplements/customCircus.js +1 -1
  64. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  65. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  66. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  67. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  68. package/src/bin/jest/jest.setup.js +1 -1
  69. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  70. package/src/bin/jest/test-observability/helper.js +1 -1
  71. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  72. package/src/bin/jest/test-observability/test-details.js +1 -1
  73. package/src/bin/jest/test.setup.js +1 -1
  74. package/src/bin/jest/test_before.setup.js +1 -1
  75. package/src/bin/launcher/launcher.js +1 -1
  76. package/src/bin/load/index.js +1 -1
  77. package/src/bin/load/loadErrors.js +1 -1
  78. package/src/bin/load/loadUtils.js +1 -1
  79. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  80. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  81. package/src/bin/mocha/command.js +1 -1
  82. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  83. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  84. package/src/bin/mocha/test.setup.js +1 -1
  85. package/src/bin/newman/command.js +1 -1
  86. package/src/bin/newman/helper.js +1 -1
  87. package/src/bin/newman/reporter/index.js +1 -1
  88. package/src/bin/newman/scriptRunner.js +1 -1
  89. package/src/bin/nightwatch/command.js +1 -1
  90. package/src/bin/node-generic/client.js +1 -1
  91. package/src/bin/playwright/accessibility-helper.js +1 -1
  92. package/src/bin/playwright/command.js +1 -1
  93. package/src/bin/playwright/globalSetup.js +1 -1
  94. package/src/bin/playwright/mock-process.js +1 -1
  95. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  96. package/src/bin/playwright/patches.js +1 -1
  97. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  98. package/src/bin/playwright/reporter/reporter.js +1 -1
  99. package/src/bin/playwright/reporter/test-details.js +1 -1
  100. package/src/bin/playwright/reporterArgs.js +1 -1
  101. package/src/bin/playwright/sessionDetails.js +1 -1
  102. package/src/bin/puppeteer/patches.js +1 -1
  103. package/src/bin/puppeteer/sessionDetails.js +1 -1
  104. package/src/bin/puppeteer/test.setup.js +1 -1
  105. package/src/bin/runner.js +1 -1
  106. package/src/bin/setup.js +1 -1
  107. package/src/bin/test-runner/index.js +1 -1
  108. package/src/bin/test-runner/runTest.js +1 -1
  109. package/src/bin/test-runner/testWorker.js +1 -1
  110. package/src/bin/testcafe/a11y-runner.js +1 -1
  111. package/src/bin/testcafe/command.js +1 -1
  112. package/src/bin/testcafe/reporter/index.js +1 -1
  113. package/src/bin/testcafe/reporter/tcUtils.js +1 -1
  114. package/src/bin/testcafe/session-registry.js +1 -1
  115. package/src/bin/testcafe/stdout-interceptor.js +1 -1
  116. package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
  117. package/src/bin/testcafe/w3c-driver.js +1 -1
  118. package/src/bin/utils/apiUtilityMethods.js +1 -1
  119. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  120. package/src/bin/utils/constants.js +1 -1
  121. package/src/bin/utils/log4jsAppender.js +1 -1
  122. package/src/bin/utils/logPatcher.js +1 -1
  123. package/src/bin/utils/logReportingAPI.js +1 -1
  124. package/src/bin/utils/playwright-patcher.js +1 -1
  125. package/src/bin/utils/puppeteer-patcher.js +1 -1
  126. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  127. package/src/bin/utils/sharedUtils.js +1 -1
  128. package/src/bin/v2/TestInfo.js +1 -1
  129. package/src/bin/v2/browserstackCLI.js +1 -1
  130. package/src/bin/v2/cliUtils.js +1 -1
  131. package/src/bin/v2/customTagManager.js +1 -1
  132. package/src/bin/v2/eventDispatcher.js +1 -1
  133. package/src/bin/v2/framework/automationFramework.js +1 -1
  134. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  135. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  136. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  137. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  138. package/src/bin/v2/framework/mochaTestFramework.js +1 -1
  139. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  140. package/src/bin/v2/framework/nodeGenericTestFramework.js +1 -1
  141. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  142. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  143. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  144. package/src/bin/v2/framework/seleniumAutomationFramework.js +1 -1
  145. package/src/bin/v2/framework/testFramework.js +1 -1
  146. package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
  147. package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
  148. package/src/bin/v2/grpcClient.js +1 -1
  149. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  150. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  151. package/src/bin/v2/instances/trackedContext.js +1 -1
  152. package/src/bin/v2/instances/trackedInstance.js +1 -1
  153. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  154. package/src/bin/v2/modules/baseModule.js +1 -1
  155. package/src/bin/v2/modules/loadTestModule.js +1 -1
  156. package/src/bin/v2/modules/observabilityModule.js +1 -1
  157. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  158. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  159. package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
  160. package/src/bin/v2/modules/testhubModule.js +1 -1
  161. package/src/bin/v2/runStateStore.js +1 -1
  162. package/src/bin/v2/sdkErrorHandler.js +1 -1
  163. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  164. package/src/bin/v2/state/hookState.js +1 -1
  165. package/src/bin/v2/state/testFrameworkState.js +1 -1
  166. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  167. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  168. package/src/bin/v2/utils/jest-utils.js +1 -1
  169. package/src/bin/vanilla-js/command.js +1 -1
  170. package/src/browserStackSdk.js +1 -1
  171. package/src/helpers/BrowserStackSetup.js +1 -1
  172. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  173. package/src/helpers/accessibility-automation/constants.js +1 -1
  174. package/src/helpers/accessibility-automation/helper.js +1 -1
  175. package/src/helpers/accessibility-automation/scripts.js +1 -1
  176. package/src/helpers/ats/constants.js +1 -1
  177. package/src/helpers/ats/helper.js +1 -1
  178. package/src/helpers/caCertHelper.js +1 -1
  179. package/src/helpers/capsMapping.js +1 -1
  180. package/src/helpers/central-scanner/constants.js +1 -1
  181. package/src/helpers/central-scanner/helpers.js +1 -1
  182. package/src/helpers/classLogger.js +1 -1
  183. package/src/helpers/driverInitErrorReporter.js +1 -1
  184. package/src/helpers/globals.js +1 -1
  185. package/src/helpers/helper.js +1 -1
  186. package/src/helpers/logger.js +1 -1
  187. package/src/helpers/metadata.js +1 -1
  188. package/src/helpers/patchHelper.js +1 -1
  189. package/src/helpers/patchHelpers.js +1 -1
  190. package/src/helpers/percy/Percy.js +1 -1
  191. package/src/helpers/percy/PercyBinary.js +1 -1
  192. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  193. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  194. package/src/helpers/percy/PercySDK.js +1 -1
  195. package/src/helpers/percy/index.js +1 -1
  196. package/src/helpers/percy/utils.js +1 -1
  197. package/src/helpers/performance/constants.js +1 -1
  198. package/src/helpers/performance/performance-tester.js +1 -1
  199. package/src/helpers/playwright-helper.js +1 -1
  200. package/src/helpers/processHelper.js +1 -1
  201. package/src/helpers/puppeteer-helper.js +1 -1
  202. package/src/helpers/request-spy.js +1 -1
  203. package/src/helpers/setKeepAlive.js +1 -1
  204. package/src/helpers/stackFrameUtils.js +1 -1
  205. package/src/helpers/test-observability/constants.js +1 -1
  206. package/src/helpers/test-observability/error-handler.js +1 -1
  207. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  208. package/src/helpers/test-observability/sessionHandler.js +1 -1
  209. package/src/helpers/test-observability/utils.js +1 -1
  210. package/src/helpers/test-orchestration/constants.js +1 -1
  211. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  212. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  213. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  214. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  215. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  216. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  217. package/src/helpers/testhub/constants.js +1 -1
  218. package/src/helpers/testhub/testhubHandler.js +1 -1
  219. package/src/helpers/testhub/utils.js +1 -1
  220. package/src/helpers/utilities.js +1 -1
  221. package/src/helpers/w3cMapping.js +1 -1
  222. package/src/hubAllocationMethods.js +1 -1
  223. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a50_0x4aff70=a50_0x7190;(function(_0x249c31,_0x6bc553){const _0x34aef6=a50_0x7190,_0x335563=_0x249c31();while(!![]){try{const _0x296039=-parseInt(_0x34aef6(0x1cf))/0x1+-parseInt(_0x34aef6(0x249))/0x2+parseInt(_0x34aef6(0x210))/0x3+-parseInt(_0x34aef6(0x19c))/0x4*(-parseInt(_0x34aef6(0x202))/0x5)+-parseInt(_0x34aef6(0x1b8))/0x6+-parseInt(_0x34aef6(0x24b))/0x7*(parseInt(_0x34aef6(0x1ef))/0x8)+parseInt(_0x34aef6(0x1a3))/0x9;if(_0x296039===_0x6bc553)break;else _0x335563['push'](_0x335563['shift']());}catch(_0x1faa0d){_0x335563['push'](_0x335563['shift']());}}}(a50_0x410d,0xe9bca));function a50_0x410d(){const _0x5ede24=['\x20send\x20failed:\x20','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','../../helpers/accessibility-automation/scripts','hVZHD','mKWUI','Playwright','awaitPromise','YLBtg','eXaVL','targets','devtools://','CnVGM','(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','gnGAZ','stack','\x20browser\x20version\x20','\x20or\x20higher\x20','https://','8xoxEJk','url','uUGKI','kCJBG','TUJCu','hZfWv','project','17805294lcpBKl','scannerProcessingTimeout','data:,','tywFW','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers\x20or\x20Android\x20Chrome.','[STALE-RETRY]\x20browserStackEvaluate:\x20retry\x20after\x20stale-page\x20error\x20(','test','string','XSdsg','accessibilityOptions.authToken','hmxRw','isDetached','oRLMz','includes','wsEndpoint','parse','NJjpY','type','isMobileScanningEnabledForGroup','[STALE-CDP-NO-TARGET]\x20attempt=','isClosed','9899460qVLHCT','stringify','includePartOfPageScope','\x20no\x20AUT\x20target\x20found\x20among\x20','tgIWY','use','on\x20non-BrowserStack\x20infrastructure\x20','\x20using\x20target\x20url=','workerInfo','browserName','platformValidation:\x20Mobile\x20platform\x20already\x20validated.','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20','mainFrame','expression','browserStackEvaluate','DAQng','WJtbF','BS_A11Y_JWT','[STALE-PRE]\x20browserStackEvaluate:\x20page\x20ref\x20stale,\x20reselected\x20from\x20browser.pages()','debug','includeIssueType','YyBWN','MOBILE_SCANNING_DISABLED_WARNING','1001446AEozxJ','browser','aEKuj','rUXNN','Poohb','qeNMz','accessibilityOptions.includeIssueType.bestPractice','ApMoq','text','dGAXr','cDojH','latest','executeScript','DaaOB','accessibilityOptions.scannerProcessingTimeout','length','detach','startsWith','env','format','Gkdha','ehpfl','[STALE-CDP]\x20falling\x20back\x20to\x20fresh-CDP-session\x20evaluate','silly','browserstack.accessibility','replace','ZLMEn','bfTEl','vaEaM','chromium','name','createCDPSession','288jwqaZx','accessibilityPlatform','Accessibility\x20scanner\x20scripts\x20are\x20not\x20loaded\x20for\x20this\x20run;\x20cannot\x20retrieve\x20results\x20summary.\x20Returning\x20an\x20empty\x20summary,\x20which\x20is\x20NOT\x20the\x20same\x20as\x20a\x20scan\x20that\x20found\x20no\x20issues.','tXnvN','nMCaY','hasScripts','ObMMt','bKGHO','vNBdR','error','../../helpers/performance/performance-tester','HVufm',')\x20—\x20fresh\x20page\x20url=','chrome','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','isBrowserSupportedForAccessibility','accessibilityOptions.scannerVersion','setAccessibilityCapabilities','isVersionSupported','3678745MdZOjx','isMobilePlatform','GbMGv','constructor','iTlJJ','bkJzR','(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','getBrowserDisplayName','android','\x20evaluate\x20returned\x20via\x20fresh\x20CDP\x20session','platformValidation','[STALE-CDP-EX]\x20attempt=','\x20transient=','waitUntil','2256018EpzhXF','browserstack.accessibilityOptions','http://','JAxge','HgPUr','browserStackExecuteDriver','parameters','pdwzF','send','warn','WJYkl','about:blank','performScan','playwright-chromium','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','GqGTz','body','toISOString','util','exceptionDetails','\x20createCDPSession\x20failed:\x20','browser_version','WebDriver','command','[STALE-CDP-SEND-ERR]\x20attempt=','executeAsyncScript','unknown','message','Runtime.evaluate','yhKBe','zuzfF','value','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','pages','cZqQL','../../helpers/helper','deviceName','bstackSdkArgs','OsAxE','measureWrapper','getAccessibilityResultsSummary','accessibilityOptions','ZEbof','getAccessibilityResultsSummary\x20failed:\x20','MkHWx','targetsLen','winstonLogger','reload','../../helpers/accessibility-automation/helper','find','[STALE-CDP-OK]\x20attempt=','forEach','toLowerCase','result','bestPractice','Krjxi','returnByValue','452000SXosIR','MAert','71386qATXpe','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','lGzOF','uFkFX','currentTest','getResultsSummary','[STALE-RELOAD-ERR]\x20reload/retry\x20failed:\x20','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','keys','evaluate','function','scannerVersion','\x20targets','kZTBS','wcagVersion','../../helpers/logger','getMinVersionForBrowser','[STALE-CDP-ERR]\x20cdp-session\x20fallback\x20failed:\x20','evalViaFreshCDPSession:\x20Runtime.evaluate\x20exception\x20—\x20','chpbK','transient','TirTU','getResults','info','OGIAI','../utils/constants','[STALE-CDP-SESSION-ERR]\x20attempt=','][\x20SDK-AUTOMATION\x20]\x20','Accessibility\x20scanner\x20scripts\x20are\x20not\x20loaded\x20for\x20this\x20run;\x20cannot\x20retrieve\x20results.\x20Returning\x20an\x20empty\x20result,\x20which\x20is\x20NOT\x20the\x20same\x20as\x20a\x20scan\x20that\x20found\x20no\x20issues.','accessibilityOptions.wcagVersion','KXTuY'];a50_0x410d=function(){return _0x5ede24;};return a50_0x410d();}function a50_0x7190(_0xc2ed79,_0x202f67){const _0x410d86=a50_0x410d();return a50_0x7190=function(_0x71901c,_0x59d2be){_0x71901c=_0x71901c-0x176;let _0x4fc703=_0x410d86[_0x71901c];return _0x4fc703;},a50_0x7190(_0xc2ed79,_0x202f67);}const util=require(a50_0x4aff70(0x222)),logger=require(a50_0x4aff70(0x17a))[a50_0x4aff70(0x23e)],{automationLogger}=require(a50_0x4aff70(0x17a)),{isAccessibilityAutomationSession}=require(a50_0x4aff70(0x240)),{isUndefined,isBrowserstackInfra}=require(a50_0x4aff70(0x233)),scripts=require(a50_0x4aff70(0x18c)),PerformanceTester=require(a50_0x4aff70(0x1f9)),{A11Y_EVENTS:PerformanceA11yEvents}=require('../../helpers/performance/constants'),accessibilityHelper=require('../../helpers/accessibility-automation/helper'),{AUTOMATION_LOG_COMMANDS}=require(a50_0x4aff70(0x184)),isStalePageError=_0x4fc87d=>{const _0x247556=a50_0x4aff70,_0x5af7a3={'TirTU':function(_0x369d33,_0x182d71){return _0x369d33(_0x182d71);}},_0x4225da=_0x4fc87d&&_0x4fc87d['message']||_0x5af7a3[_0x247556(0x180)](String,_0x4fc87d);return/Target closed|detached [Ff]rame|Execution context was destroyed, most likely because of a navigation/[_0x247556(0x1a9)](_0x4225da);},isPageStale=_0x51e5ae=>{const _0x32ac37=a50_0x4aff70;try{if(_0x51e5ae[_0x32ac37(0x1b7)]&&_0x51e5ae[_0x32ac37(0x1b7)]())return!![];const _0x47870e=_0x51e5ae[_0x32ac37(0x1c4)]&&_0x51e5ae[_0x32ac37(0x1c4)]();if(_0x47870e&&_0x47870e['isDetached']&&_0x47870e[_0x32ac37(0x1ae)]())return!![];}catch(_0x260153){}return![];},isUserTabUrl=_0x5dc006=>{const _0x2095d6=a50_0x4aff70,_0x2d3b8e={};_0x2d3b8e['vaEaM']=_0x2095d6(0x194),_0x2d3b8e['RuSjc']=function(_0x58fa4e,_0x4e46d3){return _0x58fa4e===_0x4e46d3;},_0x2d3b8e['GzLZw']=_0x2095d6(0x21b),_0x2d3b8e[_0x2095d6(0x24e)]=function(_0x485922,_0x101df6){return _0x485922===_0x101df6;},_0x2d3b8e[_0x2095d6(0x1ab)]=_0x2095d6(0x1a5),_0x2d3b8e[_0x2095d6(0x178)]=function(_0x1ca96a,_0x100eb9){return _0x1ca96a===_0x100eb9;};const _0x1bcbb2=_0x2d3b8e;if(!_0x5dc006)return![];if(_0x5dc006[_0x2095d6(0x1e0)](_0x1bcbb2[_0x2095d6(0x1eb)]))return![];if(_0x1bcbb2['RuSjc'](_0x5dc006,_0x1bcbb2['GzLZw'])||_0x1bcbb2['uFkFX'](_0x5dc006,_0x1bcbb2['XSdsg'])||_0x1bcbb2[_0x2095d6(0x178)](_0x5dc006,''))return![];return!![];},pickFreshPage=async _0x302a1f=>{const _0x452c74=a50_0x4aff70,_0x414200={'ZLMEn':function(_0x2482d5,_0x486676){return _0x2482d5(_0x486676);}};try{const _0x1be989=await _0x302a1f[_0x452c74(0x231)]();return _0x1be989[_0x452c74(0x241)](_0x2460eb=>{const _0x3c73bc=_0x452c74;try{if(_0x414200[_0x3c73bc(0x1e9)](isPageStale,_0x2460eb))return![];return _0x414200[_0x3c73bc(0x1e9)](isUserTabUrl,_0x2460eb['url']&&_0x2460eb[_0x3c73bc(0x19d)]());}catch(_0x492e8d){return![];}});}catch(_0x584f85){return null;}},evalViaFreshCDPSession=async(_0x4df2ac,_0x5620e7)=>{const _0x2e568e=a50_0x4aff70,_0x1f6b64={'iTlJJ':function(_0x2ce775,_0x45fd3b){return _0x2ce775===_0x45fd3b;},'HgPUr':'page','gnGAZ':_0x2e568e(0x212),'wwrIY':_0x2e568e(0x19b),'rUXNN':_0x2e568e(0x194),'qeNMz':function(_0x39383d){return _0x39383d();},'QaJYg':_0x2e568e(0x22c),'ApMoq':_0x2e568e(0x22a),'mKWUI':function(_0x1c7682,_0x4bf432){return _0x1c7682!==_0x4bf432;},'hVZHD':_0x2e568e(0x255),'TUJCu':function(_0x36fb27,_0x3c3f3a){return _0x36fb27(_0x3c3f3a);},'WJYkl':function(_0x3383f6,_0x4ea8a2){return _0x3383f6(_0x4ea8a2);}};if(!_0x4df2ac['browser']||_0x1f6b64[_0x2e568e(0x18e)](typeof _0x4df2ac['browser'],_0x1f6b64[_0x2e568e(0x18d)]))return undefined;const _0x5c36f4=_0x4df2ac[_0x2e568e(0x1d0)]();if(!_0x5c36f4[_0x2e568e(0x193)])return undefined;const _0x2313df=_0x4df2ac[_0x2e568e(0x19d)]&&_0x4df2ac['url']()||'',_0x16d9cd=()=>{const _0x256fdf=_0x2e568e,_0x524f6e={'ehpfl':function(_0xbeee8a,_0x25460d){const _0x342542=a50_0x7190;return _0x1f6b64[_0x342542(0x206)](_0xbeee8a,_0x25460d);},'DAQng':_0x1f6b64[_0x256fdf(0x214)]},_0x3a73ff=_0x5c36f4[_0x256fdf(0x193)]();let _0x33dd38=_0x3a73ff['find'](_0x313336=>{const _0x3c194b=_0x256fdf;try{return _0x524f6e[_0x3c194b(0x1e4)](_0x313336[_0x3c194b(0x1b4)](),_0x524f6e[_0x3c194b(0x1c7)])&&_0x524f6e['ehpfl'](_0x313336['url'](),_0x2313df);}catch(_0x5b8087){return![];}});if(_0x33dd38){const _0x2d5986={};return _0x2d5986['t']=_0x33dd38,_0x2d5986[_0x256fdf(0x23d)]=_0x3a73ff['length'],_0x2d5986;}_0x33dd38=_0x3a73ff[_0x256fdf(0x241)](_0x2f428b=>{const _0x1afccb=_0x256fdf;try{const _0x2e7418=_0x2f428b[_0x1afccb(0x19d)]()||'';return _0x1f6b64[_0x1afccb(0x206)](_0x2f428b[_0x1afccb(0x1b4)](),_0x1f6b64[_0x1afccb(0x214)])&&(_0x2e7418[_0x1afccb(0x1e0)](_0x1f6b64[_0x1afccb(0x197)])||_0x2e7418['startsWith'](_0x1f6b64['wwrIY']))&&!_0x2e7418[_0x1afccb(0x1e0)](_0x1f6b64[_0x1afccb(0x1d2)]);}catch(_0x31a461){return![];}});const _0x41ca28={};return _0x41ca28['t']=_0x33dd38,_0x41ca28['targetsLen']=_0x3a73ff[_0x256fdf(0x1de)],_0x41ca28;},_0xf54341=async _0x3efbc2=>{const _0x50a4b6=_0x2e568e,{t:_0x323072,targetsLen:_0x13f44}=_0x1f6b64[_0x50a4b6(0x1d4)](_0x16d9cd);if(!_0x323072){logger[_0x50a4b6(0x182)](_0x50a4b6(0x1b6)+_0x3efbc2+_0x50a4b6(0x1bb)+_0x13f44+_0x50a4b6(0x177));const _0x15321f={};return _0x15321f['ok']=![],_0x15321f[_0x50a4b6(0x17f)]=![],_0x15321f;}logger[_0x50a4b6(0x182)]('[STALE-CDP-TRY]\x20attempt='+_0x3efbc2+_0x50a4b6(0x1bf)+(_0x323072[_0x50a4b6(0x19d)]&&_0x323072[_0x50a4b6(0x19d)]()));let _0x4b962d;try{_0x4b962d=await _0x323072[_0x50a4b6(0x1ee)]();}catch(_0x4f6a9e){const _0x352b04=/navigated or closed|Target closed|Session closed/i[_0x50a4b6(0x1a9)](_0x4f6a9e[_0x50a4b6(0x22b)]||'');logger[_0x50a4b6(0x182)](_0x50a4b6(0x185)+_0x3efbc2+_0x50a4b6(0x224)+_0x4f6a9e[_0x50a4b6(0x22b)]+_0x50a4b6(0x20e)+_0x352b04);const _0xa6d41={};return _0xa6d41['ok']=![],_0xa6d41[_0x50a4b6(0x17f)]=_0x352b04,_0xa6d41;}try{const _0x317490={};_0x317490[_0x50a4b6(0x1c5)]=_0x5620e7,_0x317490[_0x50a4b6(0x190)]=!![],_0x317490[_0x50a4b6(0x248)]=!![];const _0x2c8197=await _0x4b962d[_0x50a4b6(0x218)](_0x1f6b64['QaJYg'],_0x317490);if(_0x2c8197&&_0x2c8197['exceptionDetails']){const _0x3d7fe6=_0x2c8197[_0x50a4b6(0x223)]&&_0x2c8197['exceptionDetails'][_0x50a4b6(0x1d7)]||_0x1f6b64[_0x50a4b6(0x1d6)];logger[_0x50a4b6(0x182)](_0x50a4b6(0x20d)+_0x3efbc2+'\x20evaluate\x20exception:\x20'+_0x3d7fe6);const _0xec231a={};return _0xec231a['ok']=![],_0xec231a[_0x50a4b6(0x17f)]=![],_0xec231a['exceptionDetails']=_0x3d7fe6,_0xec231a;}logger['info'](_0x50a4b6(0x242)+_0x3efbc2+_0x50a4b6(0x20b));const _0x40642c={};return _0x40642c['ok']=!![],_0x40642c[_0x50a4b6(0x22f)]=_0x2c8197&&_0x2c8197['result']&&_0x2c8197[_0x50a4b6(0x245)][_0x50a4b6(0x22f)],_0x40642c;}catch(_0x4dd166){const _0x5524a1=/navigated or closed|Target closed|Session closed/i[_0x50a4b6(0x1a9)](_0x4dd166[_0x50a4b6(0x22b)]||'');logger['info'](_0x50a4b6(0x228)+_0x3efbc2+_0x50a4b6(0x18a)+_0x4dd166[_0x50a4b6(0x22b)]+'\x20transient='+_0x5524a1);const _0x4089d4={};return _0x4089d4['ok']=![],_0x4089d4[_0x50a4b6(0x17f)]=_0x5524a1,_0x4089d4;}finally{try{_0x4b962d&&_0x4b962d[_0x50a4b6(0x1df)]&&await _0x4b962d[_0x50a4b6(0x1df)]();}catch(_0x39e65f){}}};let _0x513c14=await _0x1f6b64[_0x2e568e(0x1a0)](_0xf54341,0x1);if(_0x513c14['ok'])return _0x513c14[_0x2e568e(0x22f)];if(_0x513c14['transient']){await new Promise(_0x3057ed=>setTimeout(_0x3057ed,0x190)),_0x513c14=await _0x1f6b64[_0x2e568e(0x21a)](_0xf54341,0x2);if(_0x513c14['ok'])return _0x513c14['value'];}if(_0x513c14['exceptionDetails']){const _0x2309e4=new Error(_0x2e568e(0x17d)+_0x513c14[_0x2e568e(0x223)]);_0x2309e4['cdpExceptionDetails']=_0x513c14[_0x2e568e(0x223)];throw _0x2309e4;}return undefined;};exports[a50_0x4aff70(0x1c6)]=async(_0x499f14,_0x196844,_0x2e3c5e={})=>{const _0x57753d=a50_0x4aff70,_0x39504f={'yXmWQ':_0x57753d(0x235),'vNBdR':function(_0x1aec1d,_0x2715a7){return _0x1aec1d(_0x2715a7);},'cDojH':_0x57753d(0x1ca),'aEKuj':function(_0x14a71c,_0x1689ee){return _0x14a71c!==_0x1689ee;},'YyBWN':'domcontentloaded','bfTEl':_0x57753d(0x1e5),'ZEbof':function(_0x27ca0b,_0x26f5f4,_0xb4584){return _0x27ca0b(_0x26f5f4,_0xb4584);},'lGzOF':function(_0x343472,_0x5afc05){return _0x343472===_0x5afc05;},'OsAxE':_0x57753d(0x1aa)},_0x28fd42=_0x57753d(0x196)+_0x196844['replace'](/arguments/g,_0x39504f['yXmWQ'])+'\x0a\x20\x20\x20\x20})\x0a\x20\x20})('+JSON[_0x57753d(0x1b9)](_0x2e3c5e)+')';let _0xb4deb7=_0x499f14;if(_0x39504f[_0x57753d(0x1f7)](isPageStale,_0xb4deb7)&&_0x499f14[_0x57753d(0x1d0)]){const _0x58b5d2=await _0x39504f[_0x57753d(0x1f7)](pickFreshPage,_0x499f14['browser']());_0x58b5d2&&(logger[_0x57753d(0x182)](_0x39504f[_0x57753d(0x1d9)]),_0xb4deb7=_0x58b5d2);}let _0x3cff37;try{_0x3cff37=await _0xb4deb7[_0x57753d(0x254)](_0x28fd42);}catch(_0x515b2a){if(_0x39504f[_0x57753d(0x1f7)](isStalePageError,_0x515b2a)&&_0x499f14[_0x57753d(0x1d0)]){const _0x386cae=await _0x39504f[_0x57753d(0x1f7)](pickFreshPage,_0x499f14[_0x57753d(0x1d0)]());if(_0x386cae&&_0x39504f[_0x57753d(0x1d1)](_0x386cae,_0xb4deb7))logger['info'](_0x57753d(0x1a8)+_0x515b2a[_0x57753d(0x22b)]+_0x57753d(0x1fb)+(_0x386cae[_0x57753d(0x19d)]&&_0x386cae[_0x57753d(0x19d)]())),_0x3cff37=await _0x386cae[_0x57753d(0x254)](_0x28fd42);else{if(_0x499f14['reload']){let _0x40605b=![];try{logger['info']('[STALE-RELOAD]\x20browserStackEvaluate:\x20no\x20fresh\x20page\x20after\x20stale-page\x20error\x20('+_0x515b2a[_0x57753d(0x22b)]+')\x20—\x20reloading\x20page\x20to\x20reset\x20frame');const _0x10edf3={};_0x10edf3[_0x57753d(0x20f)]=_0x39504f[_0x57753d(0x1cd)],await _0x499f14[_0x57753d(0x23f)](_0x10edf3);const _0x2acab8=await _0x39504f['vNBdR'](pickFreshPage,_0x499f14[_0x57753d(0x1d0)]())||_0x499f14;logger[_0x57753d(0x182)]('[STALE-RELOAD-RETRY]\x20retry\x20after\x20reload\x20—\x20page\x20url='+(_0x2acab8[_0x57753d(0x19d)]&&_0x2acab8['url']())),_0x3cff37=await _0x2acab8[_0x57753d(0x254)](_0x28fd42),_0x40605b=!![];}catch(_0x24a77b){logger[_0x57753d(0x182)](_0x57753d(0x251)+_0x24a77b[_0x57753d(0x22b)]);}if(!_0x40605b)try{logger[_0x57753d(0x182)](_0x39504f[_0x57753d(0x1ea)]);const _0x36255b=await _0x39504f[_0x57753d(0x23a)](evalViaFreshCDPSession,_0x499f14,_0x28fd42);if(_0x39504f[_0x57753d(0x1d1)](_0x36255b,undefined))_0x3cff37=_0x36255b;else throw _0x515b2a;}catch(_0x31cfbd){logger['info'](_0x57753d(0x17c)+_0x31cfbd['message']);throw _0x515b2a;}}else throw _0x515b2a;}}else throw _0x515b2a;}try{if(_0x196844&&_0x39504f[_0x57753d(0x24d)](typeof _0x196844,_0x39504f[_0x57753d(0x236)])){const _0x56e033=AUTOMATION_LOG_COMMANDS[_0x57753d(0x241)](_0x13e467=>_0x196844[_0x57753d(0x1b0)](_0x13e467));if(_0x56e033){const _0x9e18f8={};_0x9e18f8[_0x57753d(0x227)]=_0x56e033,_0x9e18f8[_0x57753d(0x216)]=[_0x2e3c5e];const _0x31c513={};_0x31c513[_0x57753d(0x220)]=_0x3cff37;const _0x281708={};_0x281708['request']=_0x9e18f8,_0x281708['response']=_0x31c513,automationLogger[_0x57753d(0x1e6)]('['+new Date()[_0x57753d(0x221)]()+_0x57753d(0x186)+JSON[_0x57753d(0x1b9)](_0x281708));}}}catch(_0x303295){logger[_0x57753d(0x1cb)]('[A11Y]\x20Error\x20logging\x20SDK-AUTOMATION\x20for\x20browserStackEvaluate:\x20'+_0x303295[_0x57753d(0x22b)]);}return _0x3cff37;},exports[a50_0x4aff70(0x215)]=async(_0xf2804d,_0x1d63b9,_0x350590={})=>{const _0x54eacb=a50_0x4aff70,_0x4c79cc={};_0x4c79cc[_0x54eacb(0x17e)]=function(_0xdf64e,_0x54c614){return _0xdf64e===_0x54c614;},_0x4c79cc[_0x54eacb(0x1ad)]=_0x54eacb(0x226),_0x4c79cc[_0x54eacb(0x1d8)]=_0x54eacb(0x18f),_0x4c79cc['XEahu']='bstackSdkArgs';const _0x1a0fd3=_0x4c79cc;if(_0x1a0fd3['chpbK'](_0xf2804d[_0x54eacb(0x205)][_0x54eacb(0x1ed)],_0x1a0fd3['hmxRw']))return await _0xf2804d[_0x54eacb(0x229)](_0x1d63b9,_0x350590);else{if(_0x1a0fd3[_0x54eacb(0x17e)](_0xf2804d[_0x54eacb(0x205)][_0x54eacb(0x1ed)],_0x1a0fd3['dGAXr']))return await _0xf2804d[_0x54eacb(0x1db)](_0x54eacb(0x208)+_0x1d63b9[_0x54eacb(0x1e8)](/arguments/g,_0x1a0fd3['XEahu'])+_0x54eacb(0x1fd)+JSON['stringify'](_0x350590)+')');}},exports[a50_0x4aff70(0x200)]=async _0x5e5c45=>{const _0x1560db=a50_0x4aff70,_0x1c2b4d={};_0x1c2b4d[_0x1560db(0x1f5)]=_0x1560db(0x188),_0x1c2b4d[_0x1560db(0x192)]=_0x1560db(0x1dd),_0x1c2b4d[_0x1560db(0x1f3)]=_0x1560db(0x1d5),_0x1c2b4d[_0x1560db(0x19f)]='accessibilityOptions.includeIssueType.needsReview',_0x1c2b4d['oRLMz']=_0x1560db(0x1ac),_0x1c2b4d[_0x1560db(0x183)]=_0x1560db(0x1ff);const _0x57929b=_0x1c2b4d;_0x5e5c45[_0x1560db(0x239)]&&(_0x5e5c45[_0x1560db(0x239)][_0x1560db(0x179)]&&(_0x5e5c45[_0x57929b[_0x1560db(0x1f5)]]=_0x5e5c45[_0x1560db(0x239)]['wcagVersion']),_0x5e5c45[_0x1560db(0x239)]['scannerProcessingTimeout']&&(_0x5e5c45[_0x57929b[_0x1560db(0x192)]]=_0x5e5c45['accessibilityOptions'][_0x1560db(0x1a4)]),_0x5e5c45[_0x1560db(0x239)][_0x1560db(0x1cc)]&&(_0x5e5c45[_0x57929b['nMCaY']]=_0x5e5c45[_0x1560db(0x239)][_0x1560db(0x1cc)][_0x1560db(0x246)],_0x5e5c45[_0x57929b['kCJBG']]=_0x5e5c45[_0x1560db(0x239)][_0x1560db(0x1cc)]['needsReview']));const _0x53b9ff=JSON[_0x1560db(0x1b2)](process['env'][_0x1560db(0x230)]||'{}')[_0x1560db(0x176)];_0x5e5c45[_0x57929b[_0x1560db(0x1af)]]=process[_0x1560db(0x1e1)][_0x1560db(0x1c9)],_0x5e5c45[_0x57929b[_0x1560db(0x183)]]=_0x53b9ff,delete _0x5e5c45['accessibilityOptions'];},exports['getAccessibilityResults']=async _0x3c2b50=>{const _0x1b5417=a50_0x4aff70,_0xa26f50={};_0xa26f50['tXnvN']=_0x1b5417(0x21c),_0xa26f50[_0x1b5417(0x1dc)]=_0x1b5417(0x181),_0xa26f50['yhKBe']=_0x1b5417(0x187),_0xa26f50['WJtbF']=_0x1b5417(0x21e);const _0x55d301=_0xa26f50;if(!scripts[_0x1b5417(0x1f4)](_0x55d301[_0x1b5417(0x1f2)],_0x55d301[_0x1b5417(0x1dc)]))return logger['warn'](_0x55d301[_0x1b5417(0x22d)]),[];if(global[_0x1b5417(0x1f0)])try{const details={'url':await _0x3c2b50.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');const _SCAN_CAP_MS=45000;try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{const _scanPromise=exports.browserStackEvaluate(_0x3c2b50,scripts.performScan,mobileArgs);let _capTimer;const _scanCap=new Promise((_,reject)=>{_capTimer=setTimeout(()=>reject(new Error(`SCAN-CAP-HIT performScan capped at ${_SCAN_CAP_MS}ms`)),_SCAN_CAP_MS);});try{logger.debug(util.format(await Promise.race([_scanPromise,_scanCap])));}finally{clearTimeout(_capTimer);}},{command:'getAccessibilityResults',...details})();}catch(_scanErr){logger.warn(`[SCAN-CAP] performScan didn't complete cleanly (getResults): ${_scanErr.message} — proceeding to fetch cached results`);global.__bstackA11yScanCapHit={reason:'SCAN_CAP_HIT',at:Date.now(),where:'getResults'};}const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x3c2b50,scripts.getResults,mobileArgs);},{...details})();return res;}catch(_0x525600){return logger[_0x1b5417(0x1f8)]('getAccessibilityResults\x20failed:\x20'+(_0x525600&&(_0x525600[_0x1b5417(0x198)]||_0x525600[_0x1b5417(0x22b)])||_0x525600)),[];}else return logger[_0x1b5417(0x219)](_0x55d301[_0x1b5417(0x1c8)]),[];},exports[a50_0x4aff70(0x21c)]=async(_0x38c4a5,_0x241309='',_0x31fe70={},_0x45fe3c={})=>{const _0xed8476=a50_0x4aff70,_0x301ad5={};_0x301ad5['KXTuY']=_0xed8476(0x21c),_0x301ad5[_0xed8476(0x24a)]='Accessibility\x20scanner\x20scripts\x20are\x20not\x20loaded\x20for\x20this\x20run;\x20skipping\x20scan';const _0x2415c2=_0x301ad5;logger[_0xed8476(0x1cb)]('Performing\x20scan\x20with\x20method:\x20'+_0x241309+'\x20page:\x20'+_0x38c4a5);if(!scripts['hasScripts'](_0x2415c2[_0xed8476(0x189)])){logger[_0xed8476(0x1cb)](_0x2415c2[_0xed8476(0x24a)]);return;}const _0x447a06={'url':await _0x38c4a5[_0xed8476(0x19d)](),'testhub_btcer_uuid':global['__workerDetails']?.['currentTest']?.['id']};if(global[_0xed8476(0x1f0)])return await PerformanceTester[_0xed8476(0x237)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x263a89=_0xed8476,_0x37e511={};_0x37e511[_0x263a89(0x227)]=_0x241309;const _0x124465=_0x37e511;_0x31fe70&&_0x31fe70[_0x263a89(0x1ba)]&&(_0x124465[_0x263a89(0x1ba)]=_0x31fe70['includePartOfPageScope']);Object['assign'](_0x124465,_0x45fe3c);const _0x25e857=await exports[_0x263a89(0x1c6)](_0x38c4a5,scripts['performScan'],_0x124465);return _0x25e857;},{'command':_0x241309,..._0x447a06})();},exports[a50_0x4aff70(0x238)]=async _0x4d3dca=>{const _0x54d2a9=a50_0x4aff70,_0x143b5a={};_0x143b5a[_0x54d2a9(0x1e3)]='performScan',_0x143b5a['cZqQL']=_0x54d2a9(0x250),_0x143b5a[_0x54d2a9(0x247)]=_0x54d2a9(0x1f1),_0x143b5a['GbMGv']=_0x54d2a9(0x252);const _0x159a8f=_0x143b5a;if(!scripts[_0x54d2a9(0x1f4)](_0x159a8f['Gkdha'],_0x159a8f[_0x54d2a9(0x232)]))return logger['warn'](_0x159a8f['Krjxi']),{};if(global['accessibilityPlatform'])try{const mobileArgs=global.isMobilePlatform?{is_mobile_session:true,thTestRunUuid:global.__workerDetails?.currentTest?.thTestRunUuid}:{};const _SCAN_CAP_MS_SUMMARY=45000;try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');const _scanPromise=exports.browserStackEvaluate(_0x4d3dca,scripts.performScan,mobileArgs);let _capTimer;const _scanCap=new Promise((_,reject)=>{_capTimer=setTimeout(()=>reject(new Error(`SCAN-CAP-HIT performScan capped at ${_SCAN_CAP_MS_SUMMARY}ms`)),_SCAN_CAP_MS_SUMMARY);});try{logger.debug(util.format(await Promise.race([_scanPromise,_scanCap])));}finally{clearTimeout(_capTimer);}},{command:'getAccessibilityResultsSummary'})();}catch(_scanErr){logger.warn(`[SCAN-CAP] performScan didn't complete cleanly (getSummary): ${_scanErr.message} — proceeding to fetch cached summary`);global.__bstackA11yScanCapHit={reason:'SCAN_CAP_HIT',at:Date.now(),where:'getSummary'};}const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x4d3dca,scripts.getResultsSummary,mobileArgs);})();if(summaryResults&&typeof summaryResults==='object'&&global.__bstackA11yScanCapHit){summaryResults.degraded=true;summaryResults.degradedReason=global.__bstackA11yScanCapHit.reason;}return summaryResults;}catch(_0x178aa8){return logger[_0x54d2a9(0x1f8)](_0x54d2a9(0x23b)+(_0x178aa8&&(_0x178aa8[_0x54d2a9(0x198)]||_0x178aa8[_0x54d2a9(0x22b)])||_0x178aa8)),{};}else return logger[_0x54d2a9(0x219)](_0x159a8f[_0x54d2a9(0x204)]),{};},exports[a50_0x4aff70(0x20c)]=_0x183a7f=>{const _0x23e895=a50_0x4aff70,_0x3f32d5={'CnVGM':_0x23e895(0x1c2),'tywFW':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','tgIWY':function(_0xf09938,_0x2d1754){return _0xf09938!==_0x2d1754;},'bKGHO':'latest','RqmKT':function(_0x45aa27){return _0x45aa27();},'YLBtg':'on\x20non-BrowserStack\x20infrastructure\x20'};try{if(global[_0x23e895(0x203)])return logger[_0x23e895(0x1cb)](_0x3f32d5[_0x23e895(0x195)]),!![];const _0x4a9bb6=_0x183a7f[_0x23e895(0x1d0)],_0x19696a=_0x183a7f[_0x23e895(0x225)];if(!accessibilityHelper[_0x23e895(0x1fe)](_0x4a9bb6))return logger[_0x23e895(0x219)](_0x3f32d5[_0x23e895(0x1a6)]),![];if(_0x3f32d5[_0x23e895(0x1bc)](_0x19696a,_0x3f32d5[_0x23e895(0x1f6)])){const _0x34b5bd=_0x3f32d5['RqmKT'](isBrowserstackInfra),_0x1b6889=accessibilityHelper[_0x23e895(0x17b)](_0x4a9bb6,_0x34b5bd),_0x8d173a=accessibilityHelper['getBrowserDisplayName'](_0x4a9bb6);if(!accessibilityHelper['isVersionSupported'](_0x19696a,_0x1b6889)){const _0x476470=_0x34b5bd?'':_0x3f32d5[_0x23e895(0x191)];return logger['warn'](_0x23e895(0x1c3)+_0x8d173a+_0x23e895(0x199)+_0x1b6889+'\x20or\x20higher\x20'+_0x476470+'.'),![];}}}catch(_0x32c111){logger['debug'](_0x23e895(0x24c)+util[_0x23e895(0x1e2)](_0x32c111));}return!![];},exports['processAccessibilityCaps']=(_0x2010ad,_0x1277b7,_0x4f9b31)=>{const _0x40f440=a50_0x4aff70,_0x487a91={'Poohb':_0x40f440(0x211),'zuzfF':function(_0x582948){return _0x582948();},'HVufm':_0x40f440(0x1e7),'uUGKI':_0x40f440(0x18b),'bkJzR':function(_0x21f225,_0x43e17d){return _0x21f225!==_0x43e17d;},'GqGTz':_0x40f440(0x1da),'MsQAH':_0x40f440(0x1be),'pdwzF':function(_0x20fed7,_0x392fdc){return _0x20fed7(_0x392fdc);},'hZfWv':function(_0x524c79,_0x12de3a){return _0x524c79===_0x12de3a;},'xCSzp':_0x40f440(0x20a),'jKrfy':_0x40f440(0x1fc),'NJjpY':_0x40f440(0x21d),'MkHWx':_0x40f440(0x1ec),'onNeT':_0x40f440(0x1a7),'JAxge':function(_0x1437d9,_0x543603){return _0x1437d9+_0x543603;}};try{if(_0x487a91[_0x40f440(0x22e)](isAccessibilityAutomationSession)){global[_0x40f440(0x1f0)]=!![];!_0x2010ad[_0x487a91[_0x40f440(0x1fa)]]&&(global['accessibilityPlatform']=![]);const _0x259e14=_0x2010ad[_0x40f440(0x1c1)]||_0x2010ad[_0x40f440(0x1d0)],_0x411ec6=_0x2010ad[_0x40f440(0x225)];!accessibilityHelper[_0x40f440(0x1fe)](_0x259e14)&&(logger[_0x40f440(0x219)](_0x487a91[_0x40f440(0x19e)]),global[_0x40f440(0x1f0)]=![]);if(_0x487a91[_0x40f440(0x207)](_0x411ec6,_0x487a91[_0x40f440(0x21f)])){const _0x13d0bf=_0x487a91[_0x40f440(0x22e)](isBrowserstackInfra),_0x58e1ae=accessibilityHelper[_0x40f440(0x17b)](_0x259e14,_0x13d0bf),_0x48e142=accessibilityHelper[_0x40f440(0x209)](_0x259e14);if(!accessibilityHelper[_0x40f440(0x201)](_0x411ec6,_0x58e1ae)){const _0x50ee3d=_0x13d0bf?'':_0x487a91['MsQAH'];logger[_0x40f440(0x219)](_0x40f440(0x1c3)+_0x48e142+'\x20browser\x20version\x20'+_0x58e1ae+_0x40f440(0x19a)+_0x50ee3d+'.'),global['accessibilityPlatform']=![];}}if(!_0x487a91['pdwzF'](isUndefined,_0x2010ad[_0x40f440(0x234)])){const _0xfd5e9=(_0x2010ad['os']||'')[_0x40f440(0x244)](),_0x2e7bc0=(_0x2010ad[_0x40f440(0x1c1)]||_0x2010ad[_0x40f440(0x1d0)]||'')[_0x40f440(0x244)](),_0x2f2c25=_0x487a91[_0x40f440(0x1a1)](_0xfd5e9,_0x487a91['xCSzp'])&&[_0x487a91['jKrfy'],_0x487a91[_0x40f440(0x1b3)],_0x487a91[_0x40f440(0x23c)]]['includes'](_0x2e7bc0);if(!_0x2f2c25)logger[_0x40f440(0x219)](_0x487a91['onNeT']),global[_0x40f440(0x1f0)]=![];else!accessibilityHelper[_0x40f440(0x1b5)]()&&(logger['warn'](accessibilityHelper[_0x40f440(0x1ce)]),global[_0x40f440(0x1f0)]=![]);}if(!global[_0x40f440(0x1f0)]){_0x2010ad[_0x487a91[_0x40f440(0x1fa)]]=![],Object[_0x40f440(0x253)](_0x2010ad)[_0x40f440(0x243)](_0x301e5b=>{const _0x5e467e=_0x40f440;_0x301e5b[_0x5e467e(0x1e0)](_0x487a91[_0x5e467e(0x1d3)])&&delete _0x2010ad[_0x301e5b];});const _0x5ddfe7=_0x487a91[_0x40f440(0x213)](_0x1277b7,_0x487a91[_0x40f440(0x217)](encodeURIComponent,JSON[_0x40f440(0x1b9)](_0x2010ad)));_0x4f9b31&&(_0x4f9b31[_0x40f440(0x24f)]['testInfo']['project'][_0x40f440(0x1bd)]['connectOptions'][_0x40f440(0x1b1)]=_0x5ddfe7,_0x4f9b31[_0x40f440(0x1c0)][_0x40f440(0x1a2)][_0x40f440(0x1bd)]['connectOptions'][_0x40f440(0x1b1)]=_0x5ddfe7);}}else global[_0x40f440(0x1f0)]=![];}catch(_0x28f253){logger[_0x40f440(0x1cb)]('Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20'+util['format'](_0x28f253));}};
1
+ const a50_0x274e13=a50_0x1619;(function(_0x2ace99,_0x8b8c31){const _0x3becb0=a50_0x1619,_0x469cd4=_0x2ace99();while(!![]){try{const _0x5363fd=parseInt(_0x3becb0(0x264))/0x1+parseInt(_0x3becb0(0x1c1))/0x2*(-parseInt(_0x3becb0(0x1b0))/0x3)+-parseInt(_0x3becb0(0x1de))/0x4+-parseInt(_0x3becb0(0x23b))/0x5+-parseInt(_0x3becb0(0x24f))/0x6+-parseInt(_0x3becb0(0x251))/0x7*(-parseInt(_0x3becb0(0x1ad))/0x8)+parseInt(_0x3becb0(0x1f2))/0x9;if(_0x5363fd===_0x8b8c31)break;else _0x469cd4['push'](_0x469cd4['shift']());}catch(_0x332abb){_0x469cd4['push'](_0x469cd4['shift']());}}}(a50_0x53b8,0xae294));const util=require('util'),logger=require('../../helpers/logger')[a50_0x274e13(0x1cc)],{automationLogger}=require(a50_0x274e13(0x232)),{isAccessibilityAutomationSession}=require(a50_0x274e13(0x21e)),{isUndefined,isBrowserstackInfra}=require(a50_0x274e13(0x246)),scripts=require(a50_0x274e13(0x23c)),PerformanceTester=require('../../helpers/performance/performance-tester'),{A11Y_EVENTS:PerformanceA11yEvents}=require('../../helpers/performance/constants'),accessibilityHelper=require(a50_0x274e13(0x21e)),{AUTOMATION_LOG_COMMANDS}=require(a50_0x274e13(0x272)),isStalePageError=_0x1301c0=>{const _0x2464e1=a50_0x274e13,_0x46a9bc={'McuiO':function(_0x562c61,_0x54901f){return _0x562c61(_0x54901f);}},_0x23bb4=_0x1301c0&&_0x1301c0[_0x2464e1(0x1b7)]||_0x46a9bc[_0x2464e1(0x1b5)](String,_0x1301c0);return/Target closed|detached [Ff]rame|Execution context was destroyed, most likely because of a navigation/[_0x2464e1(0x234)](_0x23bb4);},isPageStale=_0x590b65=>{const _0x23164a=a50_0x274e13;try{if(_0x590b65[_0x23164a(0x1aa)]&&_0x590b65[_0x23164a(0x1aa)]())return!![];const _0x52ce19=_0x590b65[_0x23164a(0x23a)]&&_0x590b65[_0x23164a(0x23a)]();if(_0x52ce19&&_0x52ce19[_0x23164a(0x223)]&&_0x52ce19[_0x23164a(0x223)]())return!![];}catch(_0x26a9e0){}return![];},isUserTabUrl=_0x7069fe=>{const _0x5a85b0=a50_0x274e13,_0xc4cc92={};_0xc4cc92[_0x5a85b0(0x212)]=_0x5a85b0(0x25c),_0xc4cc92[_0x5a85b0(0x207)]=function(_0x190ab9,_0x12f9bf){return _0x190ab9===_0x12f9bf;},_0xc4cc92[_0x5a85b0(0x1da)]='about:blank',_0xc4cc92[_0x5a85b0(0x236)]=_0x5a85b0(0x224);const _0x13ac88=_0xc4cc92;if(!_0x7069fe)return![];if(_0x7069fe[_0x5a85b0(0x22a)](_0x13ac88[_0x5a85b0(0x212)]))return![];if(_0x13ac88[_0x5a85b0(0x207)](_0x7069fe,_0x13ac88[_0x5a85b0(0x1da)])||_0x13ac88[_0x5a85b0(0x207)](_0x7069fe,_0x13ac88['UfiGK'])||_0x13ac88['kPqYI'](_0x7069fe,''))return![];return!![];},pickFreshPage=async _0x2460ac=>{const _0x3fb524=a50_0x274e13,_0x12ed88={'zqWWz':function(_0x5bf998,_0x27f273){return _0x5bf998(_0x27f273);}};try{const _0x4e86f0=await _0x2460ac['pages']();return _0x4e86f0[_0x3fb524(0x265)](_0x433654=>{const _0x38415c=_0x3fb524;try{if(_0x12ed88['zqWWz'](isPageStale,_0x433654))return![];return _0x12ed88[_0x38415c(0x20f)](isUserTabUrl,_0x433654[_0x38415c(0x25e)]&&_0x433654[_0x38415c(0x25e)]());}catch(_0x3f88ff){return![];}});}catch(_0x3cc9ed){return null;}},evalViaFreshCDPSession=async(_0x24f0f1,_0x1e7bf4)=>{const _0x5832db=a50_0x274e13,_0x5c690a={'ifiRs':function(_0x1e6558,_0x245c99){return _0x1e6558===_0x245c99;},'mPUcE':_0x5832db(0x19a),'MCTSv':function(_0x12bd6d,_0x16265d){return _0x12bd6d===_0x16265d;},'LFGer':function(_0xee56ab,_0x2d6d21){return _0xee56ab===_0x2d6d21;},'OwChV':_0x5832db(0x1ff),'kMPEw':_0x5832db(0x258),'vpnjK':_0x5832db(0x25c),'DNIkA':function(_0x4493cb){return _0x4493cb();},'YxbPy':'Runtime.evaluate','oRtRo':_0x5832db(0x22f),'ktwvb':function(_0x14db40,_0x4fa789){return _0x14db40!==_0x4fa789;},'rKsHQ':'function','fIelZ':function(_0x351b36,_0x11e9bb){return _0x351b36(_0x11e9bb);}};if(!_0x24f0f1['browser']||_0x5c690a[_0x5832db(0x25f)](typeof _0x24f0f1[_0x5832db(0x1b2)],_0x5c690a['rKsHQ']))return undefined;const _0x5addc4=_0x24f0f1[_0x5832db(0x1b2)]();if(!_0x5addc4[_0x5832db(0x1a3)])return undefined;const _0x221be4=_0x24f0f1[_0x5832db(0x25e)]&&_0x24f0f1[_0x5832db(0x25e)]()||'',_0x6c194f=()=>{const _0x346a8e=_0x5832db,_0x207df0={'SBgBY':function(_0x431b88,_0x31bd42){const _0x305e93=a50_0x1619;return _0x5c690a[_0x305e93(0x20b)](_0x431b88,_0x31bd42);},'qxFwg':_0x5c690a[_0x346a8e(0x1e2)],'COuCh':_0x5c690a[_0x346a8e(0x1dc)],'vEaKE':_0x5c690a[_0x346a8e(0x21c)],'KtaSU':_0x5c690a[_0x346a8e(0x237)]},_0x275b0a=_0x5addc4[_0x346a8e(0x1a3)]();let _0xda0639=_0x275b0a[_0x346a8e(0x265)](_0x3f91a5=>{const _0x5b8267=_0x346a8e;try{return _0x5c690a['ifiRs'](_0x3f91a5[_0x5b8267(0x229)](),_0x5c690a[_0x5b8267(0x1e2)])&&_0x5c690a[_0x5b8267(0x204)](_0x3f91a5[_0x5b8267(0x25e)](),_0x221be4);}catch(_0x916fb0){return![];}});if(_0xda0639){const _0x4d916b={};return _0x4d916b['t']=_0xda0639,_0x4d916b['targetsLen']=_0x275b0a[_0x346a8e(0x226)],_0x4d916b;}_0xda0639=_0x275b0a[_0x346a8e(0x265)](_0x18be78=>{const _0xee4baa=_0x346a8e;try{const _0x335100=_0x18be78[_0xee4baa(0x25e)]()||'';return _0x207df0['SBgBY'](_0x18be78[_0xee4baa(0x229)](),_0x207df0[_0xee4baa(0x1e1)])&&(_0x335100['startsWith'](_0x207df0[_0xee4baa(0x1bc)])||_0x335100['startsWith'](_0x207df0[_0xee4baa(0x255)]))&&!_0x335100[_0xee4baa(0x22a)](_0x207df0[_0xee4baa(0x228)]);}catch(_0x299c96){return![];}});const _0x4011ef={};return _0x4011ef['t']=_0xda0639,_0x4011ef[_0x346a8e(0x241)]=_0x275b0a['length'],_0x4011ef;},_0x2366f0=async _0x54e98b=>{const _0x48ff0a=_0x5832db,{t:_0x723d7,targetsLen:_0x6fcab9}=_0x5c690a['DNIkA'](_0x6c194f);if(!_0x723d7){logger['info'](_0x48ff0a(0x1b6)+_0x54e98b+_0x48ff0a(0x269)+_0x6fcab9+'\x20targets');const _0x475aaf={};return _0x475aaf['ok']=![],_0x475aaf[_0x48ff0a(0x238)]=![],_0x475aaf;}logger[_0x48ff0a(0x261)](_0x48ff0a(0x1c9)+_0x54e98b+_0x48ff0a(0x1e8)+(_0x723d7[_0x48ff0a(0x25e)]&&_0x723d7['url']()));let _0x390ad7;try{_0x390ad7=await _0x723d7['createCDPSession']();}catch(_0x1d872d){const _0x25bdb3=/navigated or closed|Target closed|Session closed/i[_0x48ff0a(0x234)](_0x1d872d[_0x48ff0a(0x1b7)]||'');logger[_0x48ff0a(0x261)](_0x48ff0a(0x1f3)+_0x54e98b+_0x48ff0a(0x215)+_0x1d872d[_0x48ff0a(0x1b7)]+_0x48ff0a(0x1ec)+_0x25bdb3);const _0x4f2f09={};return _0x4f2f09['ok']=![],_0x4f2f09[_0x48ff0a(0x238)]=_0x25bdb3,_0x4f2f09;}try{const _0x3a779c={};_0x3a779c[_0x48ff0a(0x23e)]=_0x1e7bf4,_0x3a779c['awaitPromise']=!![],_0x3a779c['returnByValue']=!![];const _0x26fb70=await _0x390ad7[_0x48ff0a(0x214)](_0x5c690a[_0x48ff0a(0x201)],_0x3a779c);if(_0x26fb70&&_0x26fb70[_0x48ff0a(0x1e5)]){const _0x44e31f=_0x26fb70['exceptionDetails']&&_0x26fb70['exceptionDetails'][_0x48ff0a(0x21b)]||_0x5c690a[_0x48ff0a(0x1ac)];logger['info'](_0x48ff0a(0x1ca)+_0x54e98b+_0x48ff0a(0x208)+_0x44e31f);const _0xdab47b={};return _0xdab47b['ok']=![],_0xdab47b[_0x48ff0a(0x238)]=![],_0xdab47b['exceptionDetails']=_0x44e31f,_0xdab47b;}logger[_0x48ff0a(0x261)]('[STALE-CDP-OK]\x20attempt='+_0x54e98b+_0x48ff0a(0x1f7));const _0x3e47e2={};return _0x3e47e2['ok']=!![],_0x3e47e2[_0x48ff0a(0x274)]=_0x26fb70&&_0x26fb70['result']&&_0x26fb70[_0x48ff0a(0x1fb)][_0x48ff0a(0x274)],_0x3e47e2;}catch(_0x444a24){const _0x1d9bf1=/navigated or closed|Target closed|Session closed/i[_0x48ff0a(0x234)](_0x444a24[_0x48ff0a(0x1b7)]||'');logger['info'](_0x48ff0a(0x1e6)+_0x54e98b+_0x48ff0a(0x231)+_0x444a24['message']+_0x48ff0a(0x1ec)+_0x1d9bf1);const _0x1c1c1c={};return _0x1c1c1c['ok']=![],_0x1c1c1c[_0x48ff0a(0x238)]=_0x1d9bf1,_0x1c1c1c;}finally{try{_0x390ad7&&_0x390ad7[_0x48ff0a(0x1f5)]&&await _0x390ad7['detach']();}catch(_0x2e3b92){}}};let _0x4d087e=await _0x5c690a[_0x5832db(0x250)](_0x2366f0,0x1);if(_0x4d087e['ok'])return _0x4d087e['value'];if(_0x4d087e[_0x5832db(0x238)]){await new Promise(_0x9b0b36=>setTimeout(_0x9b0b36,0x190)),_0x4d087e=await _0x5c690a['fIelZ'](_0x2366f0,0x2);if(_0x4d087e['ok'])return _0x4d087e[_0x5832db(0x274)];}if(_0x4d087e['exceptionDetails']){const _0x486735=new Error(_0x5832db(0x24b)+_0x4d087e[_0x5832db(0x1e5)]);_0x486735[_0x5832db(0x1af)]=_0x4d087e['exceptionDetails'];throw _0x486735;}return undefined;};function a50_0x53b8(){const _0x254059=['alQDn','parse','uuDjA','NGqRw','text','kMPEw','rGpfz','../../helpers/accessibility-automation/helper','deviceName','[STALE-PRE]\x20browserStackEvaluate:\x20page\x20ref\x20stale,\x20reselected\x20from\x20browser.pages()','CxXdx','performScan','isDetached','data:,','string','length','chromium','KtaSU','type','startsWith','on\x20non-BrowserStack\x20infrastructure\x20','EtAty','command','includeIssueType','unknown','JbMHj','\x20send\x20failed:\x20','../../helpers/logger','isBrowserSupportedForAccessibility','test','request','UfiGK','vpnjK','transient','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','mainFrame','5368630JEWHXJ','../../helpers/accessibility-automation/scripts','keys','expression','browserStackEvaluate','waitUntil','targetsLen','getAccessibilityResultsSummary\x20failed:\x20','\x20page:\x20','hasScripts','rEprx','../../helpers/helper','(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','[A11Y]\x20Error\x20logging\x20SDK-AUTOMATION\x20for\x20browserStackEvaluate:\x20','VofWZ','OsLEf','evalViaFreshCDPSession:\x20Runtime.evaluate\x20exception\x20—\x20','UwugU','RJuZM','executeAsyncScript','6954366mDOdzz','fIelZ','32053NpwRmZ','accessibilityOptions.scannerVersion','scannerProcessingTimeout','domcontentloaded','vEaKE','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','BS_A11Y_JWT','https://','[STALE-RELOAD-RETRY]\x20retry\x20after\x20reload\x20—\x20page\x20url=','browserName','setAccessibilityCapabilities','devtools://','bestPractice','url','ktwvb','measureWrapper','info','workerInfo','stack','474728jyHjtj','find','getBrowserDisplayName','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','format','\x20no\x20AUT\x20target\x20found\x20among\x20','mHRJh','assign','includes','CoDBF','dZNEm','FwuGF','reload','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20','../utils/constants','browserstack.accessibility','value','currentTest','accessibilityOptions.scannerProcessingTimeout','WebDriver','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','XAhXT','page','error','[STALE-CDP-ERR]\x20cdp-session\x20fallback\x20failed:\x20','forEach','kCiAv','playwright-chromium','platformValidation','stringify','xOzwj','targets','accessibilityPlatform','SmSfG','Pbukm','YkHZp','connectOptions','bstackSdkArgs','isClosed','getAccessibilityResults\x20failed:\x20','oRtRo','944VoQtNv','bUhPV','cdpExceptionDetails','34152CfKSvD','dWIhX','browser','__workerDetails','hPwKc','McuiO','[STALE-CDP-NO-TARGET]\x20attempt=','message','env','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers\x20or\x20Android\x20Chrome.','[STALE-RELOAD-ERR]\x20reload/retry\x20failed:\x20','COuCh','isVersionSupported','body','yxyWN','testInfo','220aDzxCd','needsReview','FIJdN','gpfhE','use','platformValidation:\x20Mobile\x20platform\x20already\x20validated.','browser_version','bKNPy','[STALE-CDP-TRY]\x20attempt=','[STALE-CDP-EX]\x20attempt=','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','winstonLogger','scannerVersion','getResultsSummary','warn','HxhhO','wsEndpoint','rPxqM','wzyrm','latest','includePartOfPageScope','accessibilityOptions','project','debug','hsmyj','gimOo','xvvHQ','OwChV','sJZrm','464380FJeFXk','getAccessibilityResultsSummary','jFoTI','qxFwg','mPUcE','browserstack.accessibilityOptions','accessibilityOptions.authToken','exceptionDetails','[STALE-CDP-SEND-ERR]\x20attempt=','lGXAx','\x20using\x20target\x20url=','][\x20SDK-AUTOMATION\x20]\x20','(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','accessibilityOptions.wcagVersion','\x20transient=','IQfem','silly','android','executeScript','evaluate','29694924RqKTXG','[STALE-CDP-SESSION-ERR]\x20attempt=','sxfWU','detach','Klxau','\x20evaluate\x20returned\x20via\x20fresh\x20CDP\x20session','Accessibility\x20scanner\x20scripts\x20are\x20not\x20loaded\x20for\x20this\x20run;\x20cannot\x20retrieve\x20results\x20summary.\x20Returning\x20an\x20empty\x20summary,\x20which\x20is\x20NOT\x20the\x20same\x20as\x20a\x20scan\x20that\x20found\x20no\x20issues.','[STALE-RETRY]\x20browserStackEvaluate:\x20retry\x20after\x20stale-page\x20error\x20(','getMinVersionForBrowser','result','RNktP','\x20browser\x20version\x20','getResults','http://','Performing\x20scan\x20with\x20method:\x20','YxbPy','wcagVersion','accessibilityOptions.includeIssueType.needsReview','MCTSv','HRciM','replace','kPqYI','\x20evaluate\x20exception:\x20','ZMKDL','hWhZc','LFGer','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','DrnMu','zqWWz','response','toLowerCase','NNeQX','name','send','\x20createCDPSession\x20failed:\x20','getAccessibilityResults'];a50_0x53b8=function(){return _0x254059;};return a50_0x53b8();}function a50_0x1619(_0x3c452f,_0x1dc855){const _0x53b8c2=a50_0x53b8();return a50_0x1619=function(_0x1619c3,_0x270774){_0x1619c3=_0x1619c3-0x198;let _0x4a3eee=_0x53b8c2[_0x1619c3];return _0x4a3eee;},a50_0x1619(_0x3c452f,_0x1dc855);}exports['browserStackEvaluate']=async(_0x91b792,_0x1e7325,_0x3d955e={})=>{const _0x135d4d=a50_0x274e13,_0x5d572c={'NtNhR':'bstackSdkArgs','OsLEf':function(_0x333295,_0x52952a){return _0x333295(_0x52952a);},'gpfhE':function(_0x3d8644,_0x5b720f){return _0x3d8644(_0x5b720f);},'lGXAx':_0x135d4d(0x220),'rGpfz':function(_0x240d94,_0x43267a){return _0x240d94(_0x43267a);},'EtAty':function(_0xd60e91,_0x344b0e){return _0xd60e91!==_0x344b0e;},'rPxqM':_0x135d4d(0x254),'bKNPy':function(_0x408c57,_0x549f21){return _0x408c57(_0x549f21);},'rEprx':'[STALE-CDP]\x20falling\x20back\x20to\x20fresh-CDP-session\x20evaluate','EqeQo':function(_0x2d73ff,_0x1db4d6,_0x4caf75){return _0x2d73ff(_0x1db4d6,_0x4caf75);},'kFEgc':function(_0x32d9da,_0x24c196){return _0x32d9da!==_0x24c196;},'DrnMu':function(_0x42fb0c,_0x51b64c){return _0x42fb0c===_0x51b64c;},'jFoTI':_0x135d4d(0x225)},_0x4fa418=_0x135d4d(0x1ea)+_0x1e7325['replace'](/arguments/g,_0x5d572c['NtNhR'])+_0x135d4d(0x20c)+JSON['stringify'](_0x3d955e)+')';let _0x365f73=_0x91b792;if(_0x5d572c[_0x135d4d(0x24a)](isPageStale,_0x365f73)&&_0x91b792[_0x135d4d(0x1b2)]){const _0x499d34=await _0x5d572c[_0x135d4d(0x1c4)](pickFreshPage,_0x91b792[_0x135d4d(0x1b2)]());_0x499d34&&(logger[_0x135d4d(0x261)](_0x5d572c[_0x135d4d(0x1e7)]),_0x365f73=_0x499d34);}let _0x3a0566;try{_0x3a0566=await _0x365f73[_0x135d4d(0x1f1)](_0x4fa418);}catch(_0x205e73){if(_0x5d572c[_0x135d4d(0x24a)](isStalePageError,_0x205e73)&&_0x91b792[_0x135d4d(0x1b2)]){const _0x8d579d=await _0x5d572c[_0x135d4d(0x21d)](pickFreshPage,_0x91b792[_0x135d4d(0x1b2)]());if(_0x8d579d&&_0x5d572c[_0x135d4d(0x22c)](_0x8d579d,_0x365f73))logger[_0x135d4d(0x261)](_0x135d4d(0x1f9)+_0x205e73[_0x135d4d(0x1b7)]+')\x20—\x20fresh\x20page\x20url='+(_0x8d579d[_0x135d4d(0x25e)]&&_0x8d579d[_0x135d4d(0x25e)]())),_0x3a0566=await _0x8d579d[_0x135d4d(0x1f1)](_0x4fa418);else{if(_0x91b792[_0x135d4d(0x270)]){let _0x853f91=![];try{logger[_0x135d4d(0x261)]('[STALE-RELOAD]\x20browserStackEvaluate:\x20no\x20fresh\x20page\x20after\x20stale-page\x20error\x20('+_0x205e73[_0x135d4d(0x1b7)]+')\x20—\x20reloading\x20page\x20to\x20reset\x20frame');const _0x3821ee={};_0x3821ee[_0x135d4d(0x240)]=_0x5d572c[_0x135d4d(0x1d2)],await _0x91b792[_0x135d4d(0x270)](_0x3821ee);const _0x1aac0c=await _0x5d572c[_0x135d4d(0x1c8)](pickFreshPage,_0x91b792[_0x135d4d(0x1b2)]())||_0x91b792;logger[_0x135d4d(0x261)](_0x135d4d(0x259)+(_0x1aac0c[_0x135d4d(0x25e)]&&_0x1aac0c['url']())),_0x3a0566=await _0x1aac0c[_0x135d4d(0x1f1)](_0x4fa418),_0x853f91=!![];}catch(_0x564b8b){logger[_0x135d4d(0x261)](_0x135d4d(0x1bb)+_0x564b8b['message']);}if(!_0x853f91)try{logger['info'](_0x5d572c[_0x135d4d(0x245)]);const _0x5345e0=await _0x5d572c['EqeQo'](evalViaFreshCDPSession,_0x91b792,_0x4fa418);if(_0x5d572c['kFEgc'](_0x5345e0,undefined))_0x3a0566=_0x5345e0;else throw _0x205e73;}catch(_0x519ac1){logger[_0x135d4d(0x261)](_0x135d4d(0x19c)+_0x519ac1['message']);throw _0x205e73;}}else throw _0x205e73;}}else throw _0x205e73;}try{if(_0x1e7325&&_0x5d572c[_0x135d4d(0x20e)](typeof _0x1e7325,_0x5d572c[_0x135d4d(0x1e0)])){const _0x11bb98=AUTOMATION_LOG_COMMANDS['find'](_0x2ebbda=>_0x1e7325['includes'](_0x2ebbda));if(_0x11bb98){const _0x2b7944={};_0x2b7944[_0x135d4d(0x22d)]=_0x11bb98,_0x2b7944['parameters']=[_0x3d955e];const _0x317a1c={};_0x317a1c[_0x135d4d(0x1be)]=_0x3a0566;const _0x13a19a={};_0x13a19a[_0x135d4d(0x235)]=_0x2b7944,_0x13a19a[_0x135d4d(0x210)]=_0x317a1c,automationLogger[_0x135d4d(0x1ee)]('['+new Date()['toISOString']()+_0x135d4d(0x1e9)+JSON[_0x135d4d(0x1a1)](_0x13a19a));}}}catch(_0x2473dc){logger[_0x135d4d(0x1d8)](_0x135d4d(0x248)+_0x2473dc[_0x135d4d(0x1b7)]);}return _0x3a0566;},exports['browserStackExecuteDriver']=async(_0x4096c8,_0x37ff7b,_0x57e566={})=>{const _0x4228b9=a50_0x274e13,_0x5935e1={};_0x5935e1[_0x4228b9(0x1f6)]=function(_0x43adac,_0xb388){return _0x43adac===_0xb388;},_0x5935e1[_0x4228b9(0x1b4)]=_0x4228b9(0x277),_0x5935e1[_0x4228b9(0x209)]='Playwright',_0x5935e1[_0x4228b9(0x1db)]=_0x4228b9(0x1a9);const _0x16f7c1=_0x5935e1;if(_0x16f7c1[_0x4228b9(0x1f6)](_0x4096c8['constructor'][_0x4228b9(0x213)],_0x16f7c1[_0x4228b9(0x1b4)]))return await _0x4096c8[_0x4228b9(0x24e)](_0x37ff7b,_0x57e566);else{if(_0x16f7c1['Klxau'](_0x4096c8['constructor'][_0x4228b9(0x213)],_0x16f7c1[_0x4228b9(0x209)]))return await _0x4096c8[_0x4228b9(0x1f0)](_0x4228b9(0x247)+_0x37ff7b[_0x4228b9(0x206)](/arguments/g,_0x16f7c1[_0x4228b9(0x1db)])+_0x4228b9(0x1b9)+JSON['stringify'](_0x57e566)+')');}},exports[a50_0x274e13(0x25b)]=async _0x41440c=>{const _0x667533=a50_0x274e13,_0x203759={};_0x203759[_0x667533(0x1ed)]=_0x667533(0x1eb),_0x203759['kCiAv']=_0x667533(0x276),_0x203759[_0x667533(0x199)]='accessibilityOptions.includeIssueType.bestPractice',_0x203759[_0x667533(0x24d)]=_0x667533(0x203),_0x203759[_0x667533(0x1d3)]=_0x667533(0x1e4),_0x203759[_0x667533(0x26a)]=_0x667533(0x252);const _0x256e24=_0x203759;_0x41440c[_0x667533(0x1d6)]&&(_0x41440c['accessibilityOptions']['wcagVersion']&&(_0x41440c[_0x256e24['IQfem']]=_0x41440c[_0x667533(0x1d6)][_0x667533(0x202)]),_0x41440c['accessibilityOptions'][_0x667533(0x253)]&&(_0x41440c[_0x256e24[_0x667533(0x19e)]]=_0x41440c[_0x667533(0x1d6)]['scannerProcessingTimeout']),_0x41440c[_0x667533(0x1d6)][_0x667533(0x22e)]&&(_0x41440c[_0x256e24['XAhXT']]=_0x41440c[_0x667533(0x1d6)]['includeIssueType'][_0x667533(0x25d)],_0x41440c[_0x256e24[_0x667533(0x24d)]]=_0x41440c[_0x667533(0x1d6)]['includeIssueType'][_0x667533(0x1c2)]));const _0x14ff94=JSON[_0x667533(0x218)](process[_0x667533(0x1b8)][_0x667533(0x198)]||'{}')[_0x667533(0x1cd)];_0x41440c[_0x256e24[_0x667533(0x1d3)]]=process['env'][_0x667533(0x257)],_0x41440c[_0x256e24[_0x667533(0x26a)]]=_0x14ff94,delete _0x41440c[_0x667533(0x1d6)];},exports[a50_0x274e13(0x216)]=async _0x460331=>{const _0x3fd53d=a50_0x274e13,_0x1fafc4={};_0x1fafc4[_0x3fd53d(0x1d0)]=_0x3fd53d(0x222),_0x1fafc4[_0x3fd53d(0x1ae)]=_0x3fd53d(0x1fe),_0x1fafc4[_0x3fd53d(0x1a6)]='Accessibility\x20scanner\x20scripts\x20are\x20not\x20loaded\x20for\x20this\x20run;\x20cannot\x20retrieve\x20results.\x20Returning\x20an\x20empty\x20result,\x20which\x20is\x20NOT\x20the\x20same\x20as\x20a\x20scan\x20that\x20found\x20no\x20issues.',_0x1fafc4[_0x3fd53d(0x221)]=_0x3fd53d(0x1cb);const _0x3f6b7b=_0x1fafc4;if(!scripts['hasScripts'](_0x3f6b7b[_0x3fd53d(0x1d0)],_0x3f6b7b[_0x3fd53d(0x1ae)]))return logger[_0x3fd53d(0x1cf)](_0x3f6b7b[_0x3fd53d(0x1a6)]),[];if(global[_0x3fd53d(0x1a4)])try{const details={'url':await _0x460331.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');const _SCAN_CAP_MS=45000;try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{const _scanPromise=exports.browserStackEvaluate(_0x460331,scripts.performScan,mobileArgs);let _capTimer;const _scanCap=new Promise((_,reject)=>{_capTimer=setTimeout(()=>reject(new Error(`SCAN-CAP-HIT performScan capped at ${_SCAN_CAP_MS}ms`)),_SCAN_CAP_MS);});try{logger.debug(util.format(await Promise.race([_scanPromise,_scanCap])));}finally{clearTimeout(_capTimer);}},{command:'getAccessibilityResults',...details})();}catch(_scanErr){logger.warn(`[SCAN-CAP] performScan didn't complete cleanly (getResults): ${_scanErr.message} — proceeding to fetch cached results`);global.__bstackA11yScanCapHit={reason:'SCAN_CAP_HIT',at:Date.now(),where:'getResults'};}const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x460331,scripts.getResults,mobileArgs);},{...details})();return res;}catch(_0x4bcd4b){return logger[_0x3fd53d(0x19b)](_0x3fd53d(0x1ab)+(_0x4bcd4b&&(_0x4bcd4b[_0x3fd53d(0x263)]||_0x4bcd4b[_0x3fd53d(0x1b7)])||_0x4bcd4b)),[];}else return logger[_0x3fd53d(0x1cf)](_0x3f6b7b[_0x3fd53d(0x221)]),[];},exports[a50_0x274e13(0x222)]=async(_0x36fcf8,_0x5f344b='',_0x40cedf={},_0x3208d7={})=>{const _0x114d7c=a50_0x274e13,_0x2689d9={};_0x2689d9[_0x114d7c(0x21a)]=_0x114d7c(0x222),_0x2689d9[_0x114d7c(0x1fc)]='Accessibility\x20scanner\x20scripts\x20are\x20not\x20loaded\x20for\x20this\x20run;\x20skipping\x20scan';const _0x20ab31=_0x2689d9;logger[_0x114d7c(0x1d8)](_0x114d7c(0x200)+_0x5f344b+_0x114d7c(0x243)+_0x36fcf8);if(!scripts['hasScripts'](_0x20ab31[_0x114d7c(0x21a)])){logger[_0x114d7c(0x1d8)](_0x20ab31[_0x114d7c(0x1fc)]);return;}const _0x476a6d={'url':await _0x36fcf8[_0x114d7c(0x25e)](),'testhub_btcer_uuid':global[_0x114d7c(0x1b3)]?.[_0x114d7c(0x275)]?.['id']};if(global[_0x114d7c(0x1a4)])return await PerformanceTester[_0x114d7c(0x260)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x2e9183=_0x114d7c,_0x14aa7c={};_0x14aa7c[_0x2e9183(0x22d)]=_0x5f344b;const _0x1d7fdc=_0x14aa7c;_0x40cedf&&_0x40cedf[_0x2e9183(0x1d5)]&&(_0x1d7fdc['includePartOfPageScope']=_0x40cedf[_0x2e9183(0x1d5)]);Object[_0x2e9183(0x26b)](_0x1d7fdc,_0x3208d7);const _0x5b6e1a=await exports[_0x2e9183(0x23f)](_0x36fcf8,scripts[_0x2e9183(0x222)],_0x1d7fdc);return _0x5b6e1a;},{'command':_0x5f344b,..._0x476a6d})();},exports[a50_0x274e13(0x1df)]=async _0x15c810=>{const _0x330b38=a50_0x274e13,_0x1f23ed={};_0x1f23ed[_0x330b38(0x1f4)]=_0x330b38(0x222),_0x1f23ed['wNbbb']=_0x330b38(0x1ce),_0x1f23ed[_0x330b38(0x205)]=_0x330b38(0x1f8),_0x1f23ed[_0x330b38(0x1dd)]=_0x330b38(0x239);const _0x2ade8a=_0x1f23ed;if(!scripts[_0x330b38(0x244)](_0x2ade8a[_0x330b38(0x1f4)],_0x2ade8a['wNbbb']))return logger[_0x330b38(0x1cf)](_0x2ade8a[_0x330b38(0x205)]),{};if(global[_0x330b38(0x1a4)])try{const mobileArgs=global.isMobilePlatform?{is_mobile_session:true,thTestRunUuid:global.__workerDetails?.currentTest?.thTestRunUuid}:{};const _SCAN_CAP_MS_SUMMARY=45000;try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');const _scanPromise=exports.browserStackEvaluate(_0x15c810,scripts.performScan,mobileArgs);let _capTimer;const _scanCap=new Promise((_,reject)=>{_capTimer=setTimeout(()=>reject(new Error(`SCAN-CAP-HIT performScan capped at ${_SCAN_CAP_MS_SUMMARY}ms`)),_SCAN_CAP_MS_SUMMARY);});try{logger.debug(util.format(await Promise.race([_scanPromise,_scanCap])));}finally{clearTimeout(_capTimer);}},{command:'getAccessibilityResultsSummary'})();}catch(_scanErr){logger.warn(`[SCAN-CAP] performScan didn't complete cleanly (getSummary): ${_scanErr.message} — proceeding to fetch cached summary`);global.__bstackA11yScanCapHit={reason:'SCAN_CAP_HIT',at:Date.now(),where:'getSummary'};}const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x15c810,scripts.getResultsSummary,mobileArgs);})();if(summaryResults&&typeof summaryResults==='object'&&global.__bstackA11yScanCapHit){summaryResults.degraded=true;summaryResults.degradedReason=global.__bstackA11yScanCapHit.reason;}return summaryResults;}catch(_0x117a82){return logger[_0x330b38(0x19b)](_0x330b38(0x242)+(_0x117a82&&(_0x117a82[_0x330b38(0x263)]||_0x117a82[_0x330b38(0x1b7)])||_0x117a82)),{};}else return logger['warn'](_0x2ade8a[_0x330b38(0x1dd)]),{};},exports[a50_0x274e13(0x1a0)]=_0x49886f=>{const _0x58bfd3=a50_0x274e13,_0x16afe2={'FIJdN':_0x58bfd3(0x1c6),'alQDn':_0x58bfd3(0x267),'JbMHj':function(_0x7f9066,_0x580e52){return _0x7f9066!==_0x580e52;},'yxyWN':_0x58bfd3(0x1d4),'VofWZ':function(_0x2b890c){return _0x2b890c();},'dZNEm':_0x58bfd3(0x22b)};try{if(global['isMobilePlatform'])return logger[_0x58bfd3(0x1d8)](_0x16afe2[_0x58bfd3(0x1c3)]),!![];const _0x54636b=_0x49886f[_0x58bfd3(0x1b2)],_0x3de826=_0x49886f[_0x58bfd3(0x1c7)];if(!accessibilityHelper[_0x58bfd3(0x233)](_0x54636b))return logger[_0x58bfd3(0x1cf)](_0x16afe2[_0x58bfd3(0x217)]),![];if(_0x16afe2[_0x58bfd3(0x230)](_0x3de826,_0x16afe2[_0x58bfd3(0x1bf)])){const _0x47747b=_0x16afe2[_0x58bfd3(0x249)](isBrowserstackInfra),_0x4a60e0=accessibilityHelper[_0x58bfd3(0x1fa)](_0x54636b,_0x47747b),_0x2af9ce=accessibilityHelper['getBrowserDisplayName'](_0x54636b);if(!accessibilityHelper[_0x58bfd3(0x1bd)](_0x3de826,_0x4a60e0)){const _0x1f1334=_0x47747b?'':_0x16afe2[_0x58bfd3(0x26e)];return logger[_0x58bfd3(0x1cf)](_0x58bfd3(0x271)+_0x2af9ce+_0x58bfd3(0x1fd)+_0x4a60e0+'\x20or\x20higher\x20'+_0x1f1334+'.'),![];}}}catch(_0x13a0db){logger['debug'](_0x58bfd3(0x20d)+util[_0x58bfd3(0x268)](_0x13a0db));}return!![];},exports['processAccessibilityCaps']=(_0x25bb53,_0x5f2f2b,_0x30b17d)=>{const _0x476fb8=a50_0x274e13,_0x372b06={'RwhlN':_0x476fb8(0x1e3),'YkHZp':function(_0x389c99){return _0x389c99();},'UwugU':_0x476fb8(0x273),'jQwzH':_0x476fb8(0x267),'SmSfG':function(_0x49db4d,_0x1132d3){return _0x49db4d!==_0x1132d3;},'lGuoj':_0x476fb8(0x1d4),'ESBdP':_0x476fb8(0x22b),'uuDjA':function(_0x4b83d5,_0x4ffb4e){return _0x4b83d5(_0x4ffb4e);},'xOzwj':function(_0x1d3e04,_0x168d2a){return _0x1d3e04===_0x168d2a;},'fwBCS':_0x476fb8(0x1ef),'hsmyj':'chrome','FwuGF':_0x476fb8(0x19f),'hWhZc':_0x476fb8(0x227),'dWIhX':_0x476fb8(0x1ba),'CoDBF':function(_0x571413,_0x5171be){return _0x571413+_0x5171be;}};try{if(_0x372b06[_0x476fb8(0x1a7)](isAccessibilityAutomationSession)){global['accessibilityPlatform']=!![];!_0x25bb53[_0x372b06[_0x476fb8(0x24c)]]&&(global['accessibilityPlatform']=![]);const _0x658f19=_0x25bb53[_0x476fb8(0x25a)]||_0x25bb53[_0x476fb8(0x1b2)],_0x186d42=_0x25bb53[_0x476fb8(0x1c7)];!accessibilityHelper[_0x476fb8(0x233)](_0x658f19)&&(logger[_0x476fb8(0x1cf)](_0x372b06['jQwzH']),global[_0x476fb8(0x1a4)]=![]);if(_0x372b06[_0x476fb8(0x1a5)](_0x186d42,_0x372b06['lGuoj'])){const _0x49f6a7=_0x372b06[_0x476fb8(0x1a7)](isBrowserstackInfra),_0x1ec3b8=accessibilityHelper[_0x476fb8(0x1fa)](_0x658f19,_0x49f6a7),_0x28bfde=accessibilityHelper[_0x476fb8(0x266)](_0x658f19);if(!accessibilityHelper[_0x476fb8(0x1bd)](_0x186d42,_0x1ec3b8)){const _0x3d8921=_0x49f6a7?'':_0x372b06['ESBdP'];logger[_0x476fb8(0x1cf)](_0x476fb8(0x271)+_0x28bfde+_0x476fb8(0x1fd)+_0x1ec3b8+'\x20or\x20higher\x20'+_0x3d8921+'.'),global[_0x476fb8(0x1a4)]=![];}}if(!_0x372b06[_0x476fb8(0x219)](isUndefined,_0x25bb53[_0x476fb8(0x21f)])){const _0x172cfe=(_0x25bb53['os']||'')[_0x476fb8(0x211)](),_0x3117db=(_0x25bb53[_0x476fb8(0x25a)]||_0x25bb53[_0x476fb8(0x1b2)]||'')[_0x476fb8(0x211)](),_0x13d5fd=_0x372b06[_0x476fb8(0x1a2)](_0x172cfe,_0x372b06['fwBCS'])&&[_0x372b06[_0x476fb8(0x1d9)],_0x372b06[_0x476fb8(0x26f)],_0x372b06[_0x476fb8(0x20a)]][_0x476fb8(0x26c)](_0x3117db);if(!_0x13d5fd)logger[_0x476fb8(0x1cf)](_0x372b06[_0x476fb8(0x1b1)]),global['accessibilityPlatform']=![];else!accessibilityHelper['isMobileScanningEnabledForGroup']()&&(logger[_0x476fb8(0x1cf)](accessibilityHelper['MOBILE_SCANNING_DISABLED_WARNING']),global[_0x476fb8(0x1a4)]=![]);}if(!global[_0x476fb8(0x1a4)]){_0x25bb53[_0x372b06[_0x476fb8(0x24c)]]=![],Object[_0x476fb8(0x23d)](_0x25bb53)[_0x476fb8(0x19d)](_0x34dc83=>{const _0x4ae999=_0x476fb8;_0x34dc83[_0x4ae999(0x22a)](_0x372b06['RwhlN'])&&delete _0x25bb53[_0x34dc83];});const _0x144ee3=_0x372b06[_0x476fb8(0x26d)](_0x5f2f2b,_0x372b06[_0x476fb8(0x219)](encodeURIComponent,JSON[_0x476fb8(0x1a1)](_0x25bb53)));_0x30b17d&&(_0x30b17d[_0x476fb8(0x275)][_0x476fb8(0x1c0)][_0x476fb8(0x1d7)][_0x476fb8(0x1c5)][_0x476fb8(0x1a8)][_0x476fb8(0x1d1)]=_0x144ee3,_0x30b17d[_0x476fb8(0x262)][_0x476fb8(0x1d7)][_0x476fb8(0x1c5)][_0x476fb8(0x1a8)][_0x476fb8(0x1d1)]=_0x144ee3);}}else global[_0x476fb8(0x1a4)]=![];}catch(_0x258046){logger[_0x476fb8(0x1d8)](_0x476fb8(0x256)+util[_0x476fb8(0x268)](_0x258046));}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a51_0x23a9(_0x1d2db7,_0x8ad3d0){const _0x118953=a51_0x1189();return a51_0x23a9=function(_0x23a924,_0x1f69ab){_0x23a924=_0x23a924-0x111;let _0x3239bd=_0x118953[_0x23a924];return _0x3239bd;},a51_0x23a9(_0x1d2db7,_0x8ad3d0);}const a51_0x4fd5e5=a51_0x23a9;(function(_0x52efa5,_0x254acb){const _0x40ae36=a51_0x23a9,_0x44784a=_0x52efa5();while(!![]){try{const _0x2f37cf=-parseInt(_0x40ae36(0x1e6))/0x1+parseInt(_0x40ae36(0x1f1))/0x2*(-parseInt(_0x40ae36(0x15c))/0x3)+-parseInt(_0x40ae36(0x1fe))/0x4*(-parseInt(_0x40ae36(0x18a))/0x5)+parseInt(_0x40ae36(0x198))/0x6*(-parseInt(_0x40ae36(0x16d))/0x7)+-parseInt(_0x40ae36(0x13f))/0x8*(parseInt(_0x40ae36(0x1d3))/0x9)+parseInt(_0x40ae36(0x14c))/0xa*(parseInt(_0x40ae36(0x19f))/0xb)+parseInt(_0x40ae36(0x18f))/0xc;if(_0x2f37cf===_0x254acb)break;else _0x44784a['push'](_0x44784a['shift']());}catch(_0x4a9a4d){_0x44784a['push'](_0x44784a['shift']());}}}(a51_0x1189,0x2a293));function a51_0x1189(){const _0x5fa4b0=['win32','startsWith','--disable-test-observability','join','663949gkTmLm','HPUfN','BrowserStack\x20config\x20file\x20not\x20found.','yarn','logLevel','../../helpers/testhub/testhubHandler','unlinkSync','accessibility','IefRI','Found:\x20','UzfbC','yyBCn','XRCdZ','../v2/cliUtils','config','NdjyC','Reordered\x20Test\x20Files:\x20','../../helpers/test-orchestration/testOrchestrationHandler','../utils/constants','splice','filter','BnVXb','initialize','../../index.js','vgDai','getConfig','ABlZm','parse','trim','relative','trace_','lxZFy','BROWSERSTACK_TEST_OBSERVABILITY','length','DxGzV','W_OK','getConfigPath','../../helpers/performance/constants','../../helpers/testhub/utils','SuSWZ','SDK_PRE_INITIALIZE','dJVzy','map','Deleting\x20','BROWSERSTACK_PW_TEST_ORDER','lhPdc','uDbJc','skipSessionName','aWYGf','Error\x20in\x20getting\x20funnel\x20data\x20results','../../helpers/test-observability/utils','npx','1317672yhZgnv','exitCode','readdirSync','resolve','EoYLm','reportConflictingEnvVarIssue','ElXaO','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20','Error\x20in\x20deleting\x20playwright\x20results','test','UFecz','eCxWL','yXdbV','getPackageType','dirname','gYWDx','PxMJT','PACKAGE_TYPE','mbLfy','246113OXuRtX','accessSync','error','get','../v2/browserstackCLI','BROWSERSTACK_FRAMEWORK','true','writeFileSync','split','finalExecution','isFalse','189082tKmJLj','ghLWG','findPlaywrightTestFiles','start','Divcw','util','shutdown','getProxyUrl','PJcCs','aBjEv','\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();','cliConfig','validateRerunTestList','158524YcxVkN','ePpxG','exports','../../helpers/performance/performance-tester','sqgWF','vmGPS','DKDOW','playwright-browserstack-sdk.config.cjs','Unable\x20to\x20resolve\x20global-agent\x20from\x20the\x20SDK\x20module\x20graph:\x20','../../helpers/accessibility-automation/helper','../../helpers/BrowserStackSetup','O11yHashedID','isCLIEnabled','PLAYWRIGHT','SDK_CLEANUP','kgaUK','caKPf','isTrue','create','reportDotBrowserStackFolderNotAccessibleIssue','constants',').bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}','bootstrap\x20=\x20require(\x22./node_modules/browserstack-node-sdk/node_modules/global-agent\x22).bootstrap;','../../helpers/utilities','launchBuild','BROWSERSTACK_TEST_ACCESSIBILITY_YML','yeJso','NiRue','Error\x20in\x20closing\x20playwright','false','DJJIr','../utils/clientTroubleshootingService','accessibilityOptions','hhbGH','seeded\x20BROWSERSTACK_TESTHUB_UUID_SEED\x20with\x20testhub\x20build\x20id\x20','homedir','AFBrD','wawvj','Playwright\x20process\x20exited\x20with\x20code\x20','nTdXY','TaxDi','vKNtw','env','\x27browserstack-node-sdk\x27','automation','existsSync','yuIug','.browserstack','--disable-browserstack-automation','push','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20catch\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(','reorderTestFiles','\x20test\x20files\x20to\x20run.','nXwxS','errorMessage','entries','8ynGiLK','FVGAE','BlPpi','setupBrowserstackLocal','winstonLogger','testObservability','fPCIl','bootstrap','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','isUndefined','./reporterArgs','getInstance','Meqre','40EYFUgz','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','debug','inherit','mECsU','hwklw','filterBrowserstackArgs','../../helpers/logger','--grep','platform','browserstackAutomation','href','MODULE','BROWSERSTACK_AUTOMATION','clearTempPWConfig','isValidEnvValue','3QJAhNC','serializeToYamlString','stop','setFrameworkDetail','SAZit','playwright-browserstack-sdk.config.js','xYsrU','isTestOrchestrationEnabled','resolvedConfigFile','CPfqW','cwd','udOPf','./reporter/test-details','bcECh','BROWSERSTACK_SETUP_CONFIG_PATH','try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','slice','7Znacqx','eOMhE','sep','\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\x20','indexOf','key','isRunning','end',')._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','setBrowserstackConfig','Generated\x20Playwright\x20config\x20will\x20load\x20the\x20SDK\x20from\x20(cjs)\x20','forEach','BROWSERSTACK_TESTHUB_UUID_SEED','oWsHi','Updated\x20config\x20file\x20name\x20to\x20-\x20','path','testhub\x20build\x20UUID\x20(BrowserstackCLI.O11yHashedID)\x20unavailable;\x20skipping\x20deterministic\x20test-run\x20uuid\x20seeding\x20and\x20falling\x20back\x20to\x20file-coordinated\x20uuids.\x20Got:\x20','../v2/runStateStore','./accessibility-helper','icJJB','has','browserstackSetupConfig.json','measureWrapper','rPavu','requirePWModule','../../helpers/test-observability/constants','Proxy\x20url\x20:\x20','../v2/TestInfo','testContextOptions','20WHivBD','YFRrG','isTypescriptProject','\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','getNoProxy','6483240nFUnCy','HRius','TccYT','BROWSERSTACK_RERUN_TESTS','INTERNALLY_USED_ENV_VARS','stringify','xoMfG','isYarnPnP','amuJp','1682862XakzgQ','jLWTq','--config'];a51_0x1189=function(){return _0x5fa4b0;};return a51_0x1189();}const fs=require('fs'),path=require(a51_0x4fd5e5(0x17c)),{pathToFileURL}=require('url'),{spawn}=require('child_process'),{format}=require(a51_0x4fd5e5(0x1f6)),logger=require(a51_0x4fd5e5(0x153))[a51_0x4fd5e5(0x143)],{default:BrowserStackSetup}=require(a51_0x4fd5e5(0x111)),helper=require('../../helpers/helper'),utilities=require(a51_0x4fd5e5(0x11e)),constants=require(a51_0x4fd5e5(0x1b1)),{FRAMEWORKS}=require(a51_0x4fd5e5(0x186)),{getConfigLoaderPath}=require('./reporter/pwUtils'),{mergeBrowserstackReporterIntoCliReporterFlag}=require(a51_0x4fd5e5(0x149)),{shouldProcessEventForTesthub}=require(a51_0x4fd5e5(0x1c5)),{checkAccessibilityPlatformConfig}=require(a51_0x4fd5e5(0x207)),{setAccessibilityCapabilities}=require(a51_0x4fd5e5(0x17f)),{printBuildLink}=require(a51_0x4fd5e5(0x1d1)),TestDetails=require(a51_0x4fd5e5(0x168)),TestHubHandler=require(a51_0x4fd5e5(0x1a4)),PerformanceTester=require(a51_0x4fd5e5(0x201)),TestOrchestrationHandler=require(a51_0x4fd5e5(0x1b0)),BrowserstackCLI=require(a51_0x4fd5e5(0x1ea)),PerformanceEvents=require(a51_0x4fd5e5(0x1c4))['EVENTS'],CLIUtils=require(a51_0x4fd5e5(0x1ac)),TestInfo=require(a51_0x4fd5e5(0x188)),ClientTroubleShootingService=require(a51_0x4fd5e5(0x126)),getUserPlaywrightConfig=async(_0x468eaa,_0x1d1256)=>{const _0x404f67=a51_0x4fd5e5,_0x2acfde={'EXZxf':function(_0x162fa2){return _0x162fa2();},'hwklw':function(_0x1d0531,_0x1c1ce9){return _0x1d0531(_0x1c1ce9);},'HRius':_0x404f67(0x164),'DJJIr':'--config='},_0x2bd821=!helper[_0x404f67(0x148)](_0x468eaa[_0x404f67(0x1ad)]),_0x180f1f=_0x2bd821?path[_0x404f67(0x1d6)](process[_0x404f67(0x166)](),_0x468eaa[_0x404f67(0x1ad)]):process[_0x404f67(0x166)](),{resolveConfigFile:_0x31addd,resolveConfigLocation:_0x4006b6}=helper[_0x404f67(0x185)]['apply'](null,_0x2acfde['EXZxf'](getConfigLoaderPath)),_0x138ca8=_0x31addd?_0x2acfde[_0x404f67(0x151)](_0x31addd,_0x180f1f):helper['nestedKeyValue'](_0x2acfde[_0x404f67(0x151)](_0x4006b6,_0x180f1f),[_0x2acfde[_0x404f67(0x190)]]),_0x474d91={};if(_0x2bd821){const _0x197b70=_0x1d1256['findIndex'](_0x578f8c=>_0x578f8c==='--config'||_0x578f8c==='-c'||_0x578f8c[_0x404f67(0x19c)]('--config='));_0x1d1256[_0x404f67(0x1b2)](_0x197b70,_0x1d1256[_0x197b70][_0x404f67(0x19c)](_0x2acfde[_0x404f67(0x125)])?0x1:0x2);}const _0x97c5ad={};return _0x97c5ad[_0x404f67(0x17c)]=_0x138ca8,_0x97c5ad[_0x404f67(0x1ad)]=_0x474d91,_0x97c5ad;},handleO11yRerun=_0x304c75=>{const _0x40ef2f=a51_0x4fd5e5,_0x512d82={};_0x512d82[_0x40ef2f(0x1a7)]=_0x40ef2f(0x154);const _0xfdc94b=_0x512d82,_0x2c0c33=helper['isTrue'](process[_0x40ef2f(0x131)]['BROWSERSTACK_RERUN']);if(_0x2c0c33){const _0x4ff520=process['env'][_0x40ef2f(0x192)],_0x2f7a57=[];if(helper[_0x40ef2f(0x1fd)](_0x4ff520)&&!helper['isUndefined'](_0x4ff520)){_0x4ff520[_0x40ef2f(0x1ee)](',')[_0x40ef2f(0x1c9)](_0x19fee9=>{const _0x3bfe49=_0x40ef2f;_0x2f7a57[_0x3bfe49(0x138)]('('+_0x19fee9[_0x3bfe49(0x1bb)]()+')');});const _0x39ad79='^'+_0x2f7a57[_0x40ef2f(0x19e)]('|')+'$';_0x304c75[_0x40ef2f(0x138)](_0xfdc94b['IefRI'],_0x39ad79);}}},spawnOriginalProcess=_0x3355b5=>{const _0x237c6a=a51_0x4fd5e5,_0x1fcd8e={'ghLWG':function(_0x197aba,_0x19780a,_0x175a27,_0x289e6f){return _0x197aba(_0x19780a,_0x175a27,_0x289e6f);},'Meqre':_0x237c6a(0x1a2),'SuSWZ':_0x237c6a(0x1d2),'mECsU':'playwright','nXwxS':function(_0x33931e,_0x14f466){return _0x33931e===_0x14f466;},'BnVXb':_0x237c6a(0x19b),'QsKAq':'inherit'};_0x1fcd8e[_0x237c6a(0x1f2)](spawn,helper[_0x237c6a(0x196)]()?_0x1fcd8e[_0x237c6a(0x14b)]:_0x1fcd8e[_0x237c6a(0x1c6)],[_0x1fcd8e[_0x237c6a(0x150)],..._0x3355b5[_0x237c6a(0x16c)](0x1)],{'shell':_0x1fcd8e[_0x237c6a(0x13c)](process['platform'],_0x1fcd8e[_0x237c6a(0x1b4)]),'stdio':_0x1fcd8e['QsKAq'],'cwd':process[_0x237c6a(0x166)]()});},isTestCommand=(_0x41136c,_0x15738f)=>{const _0x2ae188=a51_0x4fd5e5,_0x1690e6={};_0x1690e6['IXzRB']=function(_0x4a5cb4,_0x7a5bbd){return _0x4a5cb4>_0x7a5bbd;},_0x1690e6[_0x2ae188(0x1aa)]=function(_0x4879a8,_0x37cd66){return _0x4879a8===_0x37cd66;},_0x1690e6[_0x2ae188(0x141)]=_0x2ae188(0x1dc);const _0x3fc9f6=_0x1690e6;if(_0x3fc9f6['IXzRB'](_0x15738f[_0x2ae188(0x1c0)],0x1)&&_0x3fc9f6['yyBCn'](_0x15738f[0x1],_0x3fc9f6[_0x2ae188(0x141)]))return!![];return![];};async function run(_0x362133,_0x2d2e22,_0x45af3b){const _0x3a694f=a51_0x4fd5e5,_0xc82a4b={'yUuRg':function(_0x3a3376,_0x428950){return _0x3a3376(_0x428950);},'WcvCB':_0x3a694f(0x17e),'CPfqW':'pw_result','ZTXRb':function(_0x5975c1,_0x181322){return _0x5975c1>_0x181322;},'ElXaO':_0x3a694f(0x136),'bcECh':'pw_result.json','NiRue':function(_0x12914c,_0x4e3935){return _0x12914c+_0x4e3935;},'TaxDi':_0x3a694f(0x1d0),'fPCIl':function(_0x5ad088){return _0x5ad088();},'jLWTq':_0x3a694f(0x123),'UFecz':_0x3a694f(0x1a1),'CBFQQ':function(_0x52b416,_0x3e5a54){return _0x52b416<_0x3e5a54;},'xoMfG':function(_0x3215fc,_0xff2b4b){return _0x3215fc===_0xff2b4b;},'caKPf':_0x3a694f(0x124),'sqgWF':_0x3a694f(0x19d),'vgDai':function(_0x4058b4,_0x222dfb){return _0x4058b4>=_0x222dfb;},'amuJp':_0x3a694f(0x133),'YFRrG':function(_0x551e96,_0x349d8e){return _0x551e96!=_0x349d8e;},'gYWDx':function(_0x2ad573,_0x14fd36,_0x1bd604){return _0x2ad573(_0x14fd36,_0x1bd604);},'yuIug':function(_0xde0add,_0xc6b55c){return _0xde0add===_0xc6b55c;},'hhbGH':_0x3a694f(0x1ec),'vmGPS':function(_0x4cd526,_0x671a5a){return _0x4cd526(_0x671a5a);},'dJVzy':_0x3a694f(0x182),'uDbJc':function(_0x288a5d,_0x17c605){return _0x288a5d===_0x17c605;},'DKDOW':_0x3a694f(0x205),'TccYT':_0x3a694f(0x161),'UzfbC':_0x3a694f(0x1b6),'PxMJT':_0x3a694f(0x132),'nTdXY':function(_0x4dd97d,_0x5ecdb1){return _0x4dd97d(_0x5ecdb1);},'HPUfN':function(_0x32bba1,_0x310a6c){return _0x32bba1-_0x310a6c;},'wRqAU':function(_0x458aa2,_0x2ef9e2){return _0x458aa2+_0x2ef9e2;},'PJcCs':_0x3a694f(0x17b),'FVGAE':function(_0x3f3a36,_0x2bab0e){return _0x3f3a36>_0x2bab0e;},'ColKJ':'global-agent','lhPdc':_0x3a694f(0x11d),'XRCdZ':function(_0x410322,_0x41c111){return _0x410322+_0x41c111;},'eCxWL':function(_0x1a4ff0,_0x136004,_0x27a82b){return _0x1a4ff0(_0x136004,_0x27a82b);},'JKocA':_0x3a694f(0x147),'rPavu':function(_0x2b9e52,_0x17e06d){return _0x2b9e52>_0x17e06d;},'aBjEv':function(_0x305bbf,_0x4b7620){return _0x305bbf<_0x4b7620;},'oWsHi':'playwright','lxZFy':function(_0x1c19e7,_0x53eb33,_0x111cce,_0x3cda60){return _0x1c19e7(_0x53eb33,_0x111cce,_0x3cda60);},'AFBrD':_0x3a694f(0x1a2),'eOMhE':_0x3a694f(0x1d2),'mbLfy':_0x3a694f(0x1dc),'jLUTv':_0x3a694f(0x19a),'yeJso':function(_0x268981,_0x4d5599){return _0x268981===_0x4d5599;},'ePpxG':_0x3a694f(0x19b),'ABlZm':function(_0x4cadc0,_0x1b8c41){return _0x4cadc0===_0x1b8c41;},'Divcw':_0x3a694f(0x14f),'PkGqW':'close','VxUFq':function(_0x49921f,_0x1add2e){return _0x49921f|_0x1add2e;},'mBgCG':function(_0x4a6074,_0x437e73){return _0x4a6074+_0x437e73;},'PSYpv':'Error\x20in\x20accessing\x20.browserstack\x20directory:\x20','vKNtw':_0x3a694f(0x1db)};try{const _0x10ee3a=path[_0x3a694f(0x19e)](helper[_0x3a694f(0x12a)](),_0xc82a4b[_0x3a694f(0x1d9)]);try{fs[_0x3a694f(0x1e7)](_0x10ee3a,_0xc82a4b['VxUFq'](fs['constants']['R_OK'],fs[_0x3a694f(0x11b)][_0x3a694f(0x1c2)]));}catch(_0x52189f){ClientTroubleShootingService[_0x3a694f(0x11a)]();}}catch(_0x410122){logger[_0x3a694f(0x14e)](_0xc82a4b['mBgCG'](_0xc82a4b['PSYpv'],_0x410122));}try{const _0x4dc76e=path['join'](helper[_0x3a694f(0x12a)](),_0xc82a4b[_0x3a694f(0x1d9)],_0xc82a4b[_0x3a694f(0x169)]);fs[_0x3a694f(0x134)](_0x4dc76e)&&fs[_0x3a694f(0x1a5)](_0x4dc76e);}catch(_0x3bab3f){logger[_0x3a694f(0x14e)](_0xc82a4b[_0x3a694f(0x122)](_0xc82a4b[_0x3a694f(0x130)],_0x3bab3f));}if(!_0xc82a4b[_0x3a694f(0x1de)](isTestCommand,_0x362133,_0x2d2e22)){_0xc82a4b[_0x3a694f(0x203)](spawnOriginalProcess,_0x2d2e22);return;}await PerformanceTester['measureWrapper'](PerformanceEvents[_0x3a694f(0x1c7)],async()=>{const _0x305bf1=_0x3a694f,_0x1e3b28={'icJJB':function(_0x13f7a2,_0x4210ee){return _0xc82a4b['yUuRg'](_0x13f7a2,_0x4210ee);},'udOPf':function(_0x47e51a,_0x41c816){return _0xc82a4b['yUuRg'](_0x47e51a,_0x41c816);},'SAZit':_0xc82a4b['WcvCB'],'wawvj':_0xc82a4b[_0x305bf1(0x165)],'aWYGf':function(_0x477acb,_0x4344af){return _0xc82a4b['ZTXRb'](_0x477acb,_0x4344af);},'kgaUK':_0xc82a4b[_0x305bf1(0x1d9)],'xYsrU':_0xc82a4b[_0x305bf1(0x169)],'EoYLm':function(_0x3c9efa,_0x4a05a5){return _0xc82a4b['NiRue'](_0x3c9efa,_0x4a05a5);},'DxGzV':_0xc82a4b[_0x305bf1(0x12f)],'NdjyC':function(_0x5816a){return _0xc82a4b['fPCIl'](_0x5816a);},'yXdbV':_0xc82a4b[_0x305bf1(0x199)]};if(!_0x45af3b[_0x305bf1(0x1ad)]){logger[_0x305bf1(0x1e8)](_0xc82a4b[_0x305bf1(0x1dd)]);return;}await _0x45af3b[_0x305bf1(0x1b5)](_0x362133),CLIUtils[_0x305bf1(0x15f)](FRAMEWORKS[_0x305bf1(0x114)],FRAMEWORKS[_0x305bf1(0x114)]),BrowserstackCLI[_0x305bf1(0x14a)]()[_0x305bf1(0x176)](_0x45af3b[_0x305bf1(0x1ad)],_0x45af3b['configPath'],_0x45af3b[_0x305bf1(0x1fc)]),await BrowserstackCLI['getInstance']()[_0x305bf1(0x146)]();!BrowserstackCLI[_0x305bf1(0x14a)]()[_0x305bf1(0x173)]()&&await _0x45af3b[_0x305bf1(0x142)]();for(var _0x27af57=0x0;_0xc82a4b['CBFQQ'](_0x27af57,constants[_0x305bf1(0x193)]['length']);_0x27af57++){var _0x3775be=constants['INTERNALLY_USED_ENV_VARS'][_0x27af57];process[_0x305bf1(0x131)][_0x3775be]&&await ClientTroubleShootingService[_0x305bf1(0x1d8)](_0x3775be);}const _0x44cf68=BrowserstackCLI[_0x305bf1(0x14a)]()[_0x305bf1(0x1b8)]();!helper[_0x305bf1(0x1f0)](_0x44cf68[_0x305bf1(0x156)])&&(process[_0x305bf1(0x131)]['BROWSERSTACK_AUTOMATION']=!![]);_0xc82a4b['xoMfG'](_0x44cf68[_0x305bf1(0x156)],![])&&(process['env'][_0x305bf1(0x159)]=_0xc82a4b['caKPf'],_0x2d2e22=_0x2d2e22[_0x305bf1(0x1b3)](_0x3ff21a=>_0x3ff21a!==_0x305bf1(0x137)));const _0x2a05fd=_0x2d2e22[_0x305bf1(0x171)](_0xc82a4b[_0x305bf1(0x202)]);(_0xc82a4b[_0x305bf1(0x1b7)](_0x2a05fd,0x0)||_0xc82a4b[_0x305bf1(0x195)](_0x44cf68[_0x305bf1(0x144)],![]))&&(process[_0x305bf1(0x131)][_0x305bf1(0x1bf)]=_0xc82a4b[_0x305bf1(0x117)],_0x2d2e22=_0x2d2e22[_0x305bf1(0x1b3)](_0x40644b=>_0x40644b!==_0x305bf1(0x19d)));!helper[_0x305bf1(0x148)](_0x45af3b[_0x305bf1(0x1fc)])&&_0x45af3b[_0x305bf1(0x1fc)][_0x305bf1(0x181)](_0xc82a4b[_0x305bf1(0x197)])&&(process[_0x305bf1(0x131)][_0x305bf1(0x159)]=_0x45af3b[_0x305bf1(0x1fc)][_0x305bf1(0x1e9)](_0xc82a4b[_0x305bf1(0x197)])||!![]);_0xc82a4b[_0x305bf1(0x18b)](_0x45af3b[_0x305bf1(0x1ad)][_0x305bf1(0x144)],null)&&!helper[_0x305bf1(0x118)](process[_0x305bf1(0x131)][_0x305bf1(0x1bf)])&&(process['env'][_0x305bf1(0x1bf)]=process[_0x305bf1(0x131)]['BROWSERSTACK_TEST_OBSERVABILITY']||_0x45af3b[_0x305bf1(0x1ad)][_0x305bf1(0x144)]);const _0x50effa=!helper[_0x305bf1(0x1f0)](process[_0x305bf1(0x131)]['BROWSERSTACK_TEST_OBSERVABILITY']);if(BrowserstackCLI[_0x305bf1(0x14a)]()['isRunning']()&&_0x50effa){const _0x5e3785=BrowserstackCLI[_0x305bf1(0x112)];helper[_0x305bf1(0x15b)](_0x5e3785)?(process[_0x305bf1(0x131)][_0x305bf1(0x179)]=_0x5e3785,logger[_0x305bf1(0x14e)](_0x305bf1(0x129)+_0x5e3785)):logger['warn'](_0x305bf1(0x17d)+_0x5e3785);}_0x45af3b[_0x305bf1(0x1ad)]['accessibilityOptions']&&(process[_0x305bf1(0x131)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON['stringify'](_0x45af3b[_0x305bf1(0x1ad)][_0x305bf1(0x127)]));let _0x1862aa=![];_0x45af3b['config']['accessibility']&&(_0x1862aa=!![],process[_0x305bf1(0x131)][_0x305bf1(0x120)]=_0x45af3b[_0x305bf1(0x1ad)][_0x305bf1(0x1a6)]);const _0x3853dc=_0x2d2e22['concat'](),_0x5e2aa4=await _0xc82a4b[_0x305bf1(0x1e2)](getUserPlaywrightConfig,_0x362133,_0x2d2e22);if(helper[_0x305bf1(0x148)](_0x5e2aa4)){_0xc82a4b['yUuRg'](spawnOriginalProcess,_0x3853dc);return;}const _0x5f4ab5=_0x5e2aa4[_0x305bf1(0x17c)]?path[_0x305bf1(0x1e1)](_0x5e2aa4['path']):process[_0x305bf1(0x166)]();process[_0x305bf1(0x131)]['BROWSERSTACK_PW_CONFIG_DIR']=_0x5f4ab5,await PerformanceTester[_0x305bf1(0x183)](PerformanceEvents['SDK_POST_INITIALIZE'],async()=>{const _0x27d437=_0x305bf1;!BrowserstackCLI[_0x27d437(0x14a)]()[_0x27d437(0x173)]()&&await TestHubHandler[_0x27d437(0x11f)](FRAMEWORKS[_0x27d437(0x114)],_0x45af3b),_0x50effa&&_0x1e3b28[_0x27d437(0x180)](handleO11yRerun,_0x2d2e22);})();if(!BrowserstackCLI[_0x305bf1(0x14a)]()[_0x305bf1(0x173)]()){let _0x11d0e7=_0xc82a4b[_0x305bf1(0x135)](process[_0x305bf1(0x131)][_0x305bf1(0x120)],_0xc82a4b[_0x305bf1(0x128)]);_0x11d0e7=_0x11d0e7||_0xc82a4b['yUuRg'](checkAccessibilityPlatformConfig,_0x45af3b[_0x305bf1(0x1ad)]),process[_0x305bf1(0x131)][_0x305bf1(0x120)]=_0x11d0e7,_0x11d0e7&&_0xc82a4b[_0x305bf1(0x203)](setAccessibilityCapabilities,_0x45af3b[_0x305bf1(0x1ad)]);}const _0x2b785b=path[_0x305bf1(0x19e)](_0x5e2aa4['path']?path[_0x305bf1(0x1e1)](_0x5e2aa4['path']):process[_0x305bf1(0x166)](),_0xc82a4b[_0x305bf1(0x1c8)]);fs[_0x305bf1(0x1ed)](_0x2b785b,helper[_0x305bf1(0x15d)](_0x45af3b[_0x305bf1(0x1ad)])),process['env'][_0x305bf1(0x16a)]=_0x2b785b,helper[_0x305bf1(0x15a)]();let _0x45c5b0='';_0xc82a4b[_0x305bf1(0x1cd)](helper['getPackageType'](_0x5f4ab5),constants[_0x305bf1(0x1e4)]['MODULE'])?_0x45c5b0=_0xc82a4b[_0x305bf1(0x204)]:_0x45c5b0=_0xc82a4b[_0x305bf1(0x191)];let _0x1f5580='';const _0x5e914c=path[_0x305bf1(0x1d6)](__dirname,_0xc82a4b[_0x305bf1(0x1a9)]),_0x18c389=fs[_0x305bf1(0x134)](_0x5e914c),_0x30e92a=_0xc82a4b[_0x305bf1(0x135)](helper[_0x305bf1(0x1e0)](_0x5f4ab5),constants[_0x305bf1(0x1e4)][_0x305bf1(0x158)]),_0x202c4f=_0x18c389?JSON['stringify'](_0x5e914c):_0xc82a4b[_0x305bf1(0x1e3)],_0x1316f5=_0x18c389?_0x30e92a?JSON[_0x305bf1(0x194)](_0xc82a4b[_0x305bf1(0x12e)](pathToFileURL,_0x5e914c)[_0x305bf1(0x157)]):JSON[_0x305bf1(0x194)](_0x5e914c):_0xc82a4b[_0x305bf1(0x1e3)];logger[_0x305bf1(0x14e)](_0x305bf1(0x177)+_0x202c4f+'\x20/\x20(esm)\x20'+_0x1316f5);if(helper[_0x305bf1(0x18c)](_0x5e2aa4[_0x305bf1(0x17c)])){_0x1f5580=_0x305bf1(0x1da)+_0x1316f5+';\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a';const _0x46f358=_0x45c5b0['split']('.');_0x46f358[_0xc82a4b[_0x305bf1(0x1a0)](_0x46f358[_0x305bf1(0x1c0)],0x1)]='ts',_0x45c5b0=_0x46f358[_0x305bf1(0x19e)]('.'),logger[_0x305bf1(0x14e)](_0xc82a4b['wRqAU'](_0xc82a4b[_0x305bf1(0x1f9)],_0x45c5b0));}else _0x1f5580='\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require('+_0x202c4f+_0x305bf1(0x175);const _0xa8fe8f=path['join'](_0x5e2aa4['path']?path[_0x305bf1(0x1e1)](_0x5e2aa4[_0x305bf1(0x17c)]):process['cwd'](),_0x45c5b0);let _0x4821b2=_0x5e2aa4[_0x305bf1(0x17c)]?_0x5e2aa4[_0x305bf1(0x17c)]:'';_0x4821b2=_0xc82a4b[_0x305bf1(0x140)](_0x4821b2[_0x305bf1(0x1c0)],0x0)?path[_0x305bf1(0x1d6)](_0x4821b2):'',process['env']['USER_CONFIG_DETAILS_PATH']=_0x4821b2;const _0xbb4fb=helper[_0x305bf1(0x1f8)](_0x45af3b[_0x305bf1(0x1ad)]),_0x38135a=helper[_0x305bf1(0x18e)](_0x45af3b[_0x305bf1(0x1ad)]);logger['debug'](_0x305bf1(0x187)+_0xbb4fb),logger['debug']('No\x20Proxy\x20:\x20'+_0x38135a);if(_0xbb4fb){let _0x438e53='';try{_0x438e53=require['resolve'](_0xc82a4b['ColKJ']);}catch(_0xca95d3){logger[_0x305bf1(0x14e)](_0x305bf1(0x206)+_0xca95d3);}const _0x3453eb=_0xc82a4b[_0x305bf1(0x1cc)],_0x278670=_0x438e53?_0x305bf1(0x16b)+_0x3453eb+_0x305bf1(0x139)+JSON[_0x305bf1(0x194)](_0x438e53)+_0x305bf1(0x11c):_0x3453eb;_0x1f5580=_0xc82a4b[_0x305bf1(0x1ab)](_0x305bf1(0x14d)+_0xbb4fb+_0x305bf1(0x18d)+_0x38135a+_0x305bf1(0x170)+_0x278670+_0x305bf1(0x1fb),_0x1f5580);}helper[_0x305bf1(0x152)]({},_0x2d2e22),_0xc82a4b[_0x305bf1(0x1de)](mergeBrowserstackReporterIntoCliReporterFlag,_0x2d2e22,{'enabled':_0xc82a4b[_0x305bf1(0x145)](shouldProcessEventForTesthub)}),fs[_0x305bf1(0x1ed)](_0xa8fe8f,_0x1f5580);let _0xa222d=[];const _0x506dda=new TestOrchestrationHandler(_0x45af3b[_0x305bf1(0x1ad)]);if(_0x506dda[_0x305bf1(0x163)]()){logger[_0x305bf1(0x14e)](_0xc82a4b['JKocA']);const _0x693e97=await _0x506dda[_0x305bf1(0x1f3)](_0x4821b2,_0x2d2e22[_0x305bf1(0x16c)](0x2));logger[_0x305bf1(0x14e)](_0x305bf1(0x1a8)+JSON['stringify'](_0x693e97)+_0x305bf1(0x13b));const _0xa84bc2=await _0x506dda[_0x305bf1(0x13a)](_0x693e97);logger[_0x305bf1(0x14e)](_0x305bf1(0x1af)+JSON[_0x305bf1(0x194)](_0xa84bc2)),_0xa84bc2&&_0xc82a4b[_0x305bf1(0x184)](_0xa84bc2['length'],0x0)&&(process['env'][_0x305bf1(0x1cb)]=_0xa84bc2['join'](','),_0xc82a4b[_0x305bf1(0x1fa)](_0xa84bc2[_0x305bf1(0x1c0)],_0x693e97[_0x305bf1(0x1c0)])&&(_0xa222d=_0xa84bc2[_0x305bf1(0x1c9)](_0xffc275=>path[_0x305bf1(0x1bc)](process['cwd'](),_0xffc275)[_0x305bf1(0x1ee)](path[_0x305bf1(0x16f)])[_0x305bf1(0x19e)]('/'))));}PerformanceTester[_0x305bf1(0x174)](PerformanceEvents['SDK_SETUP']),process[_0x305bf1(0x131)][_0x305bf1(0x1eb)]=process['env'][_0x305bf1(0x1eb)]||_0xc82a4b[_0x305bf1(0x17a)];const _0x3ef3c7=_0xc82a4b[_0x305bf1(0x1be)](spawn,helper['isYarnPnP']()?_0xc82a4b[_0x305bf1(0x12b)]:_0xc82a4b[_0x305bf1(0x16e)],[_0xc82a4b['oWsHi'],_0xc82a4b[_0x305bf1(0x1e5)],_0xc82a4b['jLUTv'],_0xc82a4b[_0x305bf1(0x121)](process[_0x305bf1(0x155)],_0xc82a4b[_0x305bf1(0x1ff)])?'\x22'+_0xa8fe8f+'\x22':_0xa8fe8f,..._0x2d2e22[_0x305bf1(0x16c)](0x2),..._0xa222d],{'shell':_0xc82a4b[_0x305bf1(0x1b9)](process[_0x305bf1(0x155)],_0xc82a4b['ePpxG']),'stdio':_0xc82a4b[_0x305bf1(0x1f5)],'cwd':process['cwd'](),'env':Object['assign']({},process[_0x305bf1(0x131)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x305bf1(0x1c3)](_0x362133),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x45af3b[_0x305bf1(0x1ad)]['testContextOptions']['skipSessionStatus'],'BROWSERSTACK_SKIP_SESSION_NAME':_0x45af3b[_0x305bf1(0x1ad)][_0x305bf1(0x189)][_0x305bf1(0x1ce)],'BROWSERSTACK_LOG_LEVEL':_0x45af3b[_0x305bf1(0x1ad)][_0x305bf1(0x1a3)]})}),_0xb15faf=async()=>{const _0x2938d7=_0x305bf1;try{if(BrowserstackCLI[_0x2938d7(0x14a)]()[_0x2938d7(0x173)]()){const _0x534d87=_0x1e3b28[_0x2938d7(0x167)](require,_0x1e3b28[_0x2938d7(0x160)]),_0x5ebab0=await _0x534d87['getBuildState'](_0x1e3b28[_0x2938d7(0x12c)])||[];if(_0x1e3b28[_0x2938d7(0x1cf)](_0x5ebab0[_0x2938d7(0x1c0)],0x0)){const _0x3ced7e={};_0x5ebab0[_0x2938d7(0x178)](_0x3e61e8=>{const _0x4efb47=_0x2938d7,_0x25af52=_0x3ced7e[_0x3e61e8[_0x4efb47(0x172)]]||Object[_0x4efb47(0x119)](null);(_0x3e61e8[_0x4efb47(0x13e)]||[])[_0x4efb47(0x178)](({title:_0x34187d,error:_0x4b8656})=>{_0x25af52[_0x34187d]=_0x4b8656;}),_0x3ced7e[_0x3e61e8['key']]=_0x25af52;}),_0x45af3b['errorMessage']=_0x3ced7e;return;}}const _0x9af028=path[_0x2938d7(0x19e)](helper[_0x2938d7(0x12a)](),_0x1e3b28[_0x2938d7(0x116)],_0x1e3b28[_0x2938d7(0x162)]);if(fs[_0x2938d7(0x134)](_0x9af028)){let _0xfad4d8=fs['readFileSync'](_0x9af028);_0xfad4d8=JSON[_0x2938d7(0x1ba)](_0xfad4d8),_0x45af3b[_0x2938d7(0x13d)]=_0xfad4d8,fs[_0x2938d7(0x1a5)](_0x9af028);}}catch(_0x544f45){logger['debug'](_0x1e3b28[_0x2938d7(0x1d7)](_0x1e3b28[_0x2938d7(0x1c1)],_0x544f45));}};_0x3ef3c7['on'](_0xc82a4b['PkGqW'],async _0x4e18f2=>{const _0x34d370=_0x305bf1;try{PerformanceTester[_0x34d370(0x1f4)](PerformanceEvents[_0x34d370(0x115)]),await _0x1e3b28[_0x34d370(0x1ae)](_0xb15faf),await TestHubHandler[_0x34d370(0x15e)](),await ClientTroubleShootingService['reportFinalDetectionState']();const _0x32b2f9=BrowserstackCLI[_0x34d370(0x113)]();await BrowserstackCLI[_0x34d370(0x14a)]()[_0x34d370(0x15e)](),TestDetails[_0x34d370(0x1f7)](),_0x1e3b28[_0x34d370(0x1ae)](printBuildLink),await utilities[_0x34d370(0x1ef)](_0x45af3b,_0x32b2f9),process[_0x34d370(0x1d4)]=_0x4e18f2,logger['debug'](_0x34d370(0x12d)+_0x4e18f2),logger['info'](_0x34d370(0x1ca)+_0xa8fe8f),fs['unlinkSync'](_0xa8fe8f);fs['existsSync'](_0x2b785b)&&(logger[_0x34d370(0x14e)](_0x34d370(0x1ca)+_0x2b785b),fs['unlinkSync'](_0x2b785b));const _0x1cb517=fs[_0x34d370(0x1d5)](path[_0x34d370(0x19e)](helper['homedir'](),_0x1e3b28[_0x34d370(0x116)]))['filter'](_0xb9c2d6=>_0xb9c2d6[_0x34d370(0x19c)](_0x34d370(0x1bd)));_0x1cb517['forEach'](_0x273dee=>{const _0x16de54=_0x34d370;fs[_0x16de54(0x1a5)](path['join'](helper[_0x16de54(0x12a)](),_0x1e3b28['kgaUK'],_0x273dee));});}catch(_0x137c94){logger[_0x34d370(0x14e)](_0x1e3b28['EoYLm'](_0x1e3b28[_0x34d370(0x1df)],_0x137c94));}});})();}module[a51_0x4fd5e5(0x200)]=run;
2
+ 'use strict';const a51_0x2526b2=a51_0x10a8;function a51_0x10a8(_0x15e1ca,_0x57723d){const _0x6bed8e=a51_0x6bed();return a51_0x10a8=function(_0x10a807,_0x43ddd0){_0x10a807=_0x10a807-0x163;let _0x463460=_0x6bed8e[_0x10a807];return _0x463460;},a51_0x10a8(_0x15e1ca,_0x57723d);}(function(_0x38f794,_0x5a9a26){const _0x3aab54=a51_0x10a8,_0x14029f=_0x38f794();while(!![]){try{const _0x391042=parseInt(_0x3aab54(0x19d))/0x1*(parseInt(_0x3aab54(0x1e6))/0x2)+parseInt(_0x3aab54(0x189))/0x3+-parseInt(_0x3aab54(0x169))/0x4*(-parseInt(_0x3aab54(0x1fe))/0x5)+parseInt(_0x3aab54(0x185))/0x6*(parseInt(_0x3aab54(0x211))/0x7)+-parseInt(_0x3aab54(0x228))/0x8+parseInt(_0x3aab54(0x1e2))/0x9*(-parseInt(_0x3aab54(0x1a5))/0xa)+-parseInt(_0x3aab54(0x1b5))/0xb*(parseInt(_0x3aab54(0x215))/0xc);if(_0x391042===_0x5a9a26)break;else _0x14029f['push'](_0x14029f['shift']());}catch(_0x1d95a2){_0x14029f['push'](_0x14029f['shift']());}}}(a51_0x6bed,0x87179));const fs=require('fs'),path=require(a51_0x2526b2(0x18b)),{pathToFileURL}=require('url'),{spawn}=require('child_process'),{format}=require(a51_0x2526b2(0x236)),logger=require(a51_0x2526b2(0x19a))[a51_0x2526b2(0x1ff)],{default:BrowserStackSetup}=require(a51_0x2526b2(0x1de)),helper=require('../../helpers/helper'),utilities=require(a51_0x2526b2(0x241)),constants=require(a51_0x2526b2(0x178)),{FRAMEWORKS}=require(a51_0x2526b2(0x17e)),{getConfigLoaderPath}=require(a51_0x2526b2(0x243)),{mergeBrowserstackReporterIntoCliReporterFlag}=require(a51_0x2526b2(0x20a)),{shouldProcessEventForTesthub}=require(a51_0x2526b2(0x1fa)),{checkAccessibilityPlatformConfig}=require(a51_0x2526b2(0x24d)),{setAccessibilityCapabilities}=require(a51_0x2526b2(0x1d8)),{printBuildLink}=require(a51_0x2526b2(0x18d)),TestDetails=require('./reporter/test-details'),TestHubHandler=require(a51_0x2526b2(0x171)),PerformanceTester=require('../../helpers/performance/performance-tester'),TestOrchestrationHandler=require(a51_0x2526b2(0x186)),BrowserstackCLI=require('../v2/browserstackCLI'),PerformanceEvents=require('../../helpers/performance/constants')[a51_0x2526b2(0x16a)],CLIUtils=require(a51_0x2526b2(0x1c9)),TestInfo=require(a51_0x2526b2(0x230)),ClientTroubleShootingService=require(a51_0x2526b2(0x16e)),getUserPlaywrightConfig=async(_0x3821b0,_0x2c87f1)=>{const _0x57e764=a51_0x2526b2,_0x3c7d73={'WlayR':function(_0x381c85){return _0x381c85();},'NCgwP':function(_0x4e3b37,_0x344b95){return _0x4e3b37(_0x344b95);},'uCHlF':_0x57e764(0x1be),'objTh':_0x57e764(0x1e4)},_0x2b5abb=!helper[_0x57e764(0x19b)](_0x3821b0[_0x57e764(0x21b)]),_0x461f6f=_0x2b5abb?path['resolve'](process['cwd'](),_0x3821b0['config']):process['cwd'](),{resolveConfigFile:_0x2d84aa,resolveConfigLocation:_0x571dc5}=helper[_0x57e764(0x1b0)][_0x57e764(0x1a2)](null,_0x3c7d73['WlayR'](getConfigLoaderPath)),_0x4947f1=_0x2d84aa?_0x3c7d73[_0x57e764(0x1b4)](_0x2d84aa,_0x461f6f):helper['nestedKeyValue'](_0x3c7d73[_0x57e764(0x1b4)](_0x571dc5,_0x461f6f),[_0x3c7d73[_0x57e764(0x1d1)]]),_0x15f0b8={};if(_0x2b5abb){const _0x226941=_0x2c87f1[_0x57e764(0x246)](_0x5af509=>_0x5af509===_0x57e764(0x194)||_0x5af509==='-c'||_0x5af509[_0x57e764(0x195)](_0x57e764(0x1e4)));_0x2c87f1['splice'](_0x226941,_0x2c87f1[_0x226941][_0x57e764(0x195)](_0x3c7d73['objTh'])?0x1:0x2);}const _0x42115b={};return _0x42115b['path']=_0x4947f1,_0x42115b[_0x57e764(0x21b)]=_0x15f0b8,_0x42115b;},handleO11yRerun=_0x35b19c=>{const _0x1dfc86=a51_0x2526b2,_0x11f960={};_0x11f960[_0x1dfc86(0x1e3)]=_0x1dfc86(0x179);const _0x268700=_0x11f960,_0xc9d5b1=helper[_0x1dfc86(0x1e8)](process[_0x1dfc86(0x235)]['BROWSERSTACK_RERUN']);if(_0xc9d5b1){const _0x4a7fcb=process['env'][_0x1dfc86(0x164)],_0x322d7c=[];if(helper['validateRerunTestList'](_0x4a7fcb)&&!helper[_0x1dfc86(0x19b)](_0x4a7fcb)){_0x4a7fcb[_0x1dfc86(0x17f)](',')['map'](_0xe4ffc9=>{const _0x263bd6=_0x1dfc86;_0x322d7c[_0x263bd6(0x1e7)]('('+_0xe4ffc9[_0x263bd6(0x197)]()+')');});const _0x1d5106='^'+_0x322d7c[_0x1dfc86(0x237)]('|')+'$';_0x35b19c[_0x1dfc86(0x1e7)](_0x268700[_0x1dfc86(0x1e3)],_0x1d5106);}}},spawnOriginalProcess=_0x5cfa19=>{const _0x5c2dc7=a51_0x2526b2,_0x1752ba={'tfHqk':function(_0x511a56,_0x9b0d91,_0x39c031,_0x5cf2f1){return _0x511a56(_0x9b0d91,_0x39c031,_0x5cf2f1);},'sEiAH':'yarn','ACdFX':'npx','SCJcF':_0x5c2dc7(0x1e9),'LObTM':function(_0x1a8b20,_0x5bd1a4){return _0x1a8b20===_0x5bd1a4;},'AXCra':_0x5c2dc7(0x21e),'XveDI':'inherit'};_0x1752ba[_0x5c2dc7(0x1f3)](spawn,helper[_0x5c2dc7(0x227)]()?_0x1752ba['sEiAH']:_0x1752ba['ACdFX'],[_0x1752ba[_0x5c2dc7(0x1d2)],..._0x5cfa19[_0x5c2dc7(0x182)](0x1)],{'shell':_0x1752ba[_0x5c2dc7(0x177)](process['platform'],_0x1752ba['AXCra']),'stdio':_0x1752ba[_0x5c2dc7(0x176)],'cwd':process['cwd']()});},isTestCommand=(_0x4528a8,_0x4fc9f7)=>{const _0x427f76=a51_0x2526b2,_0x28d070={};_0x28d070[_0x427f76(0x1f4)]=function(_0x22bfb5,_0x363b21){return _0x22bfb5>_0x363b21;},_0x28d070['SWuGH']=function(_0x42e496,_0x57bc45){return _0x42e496===_0x57bc45;},_0x28d070[_0x427f76(0x16d)]=_0x427f76(0x1f2);const _0x270a76=_0x28d070;if(_0x270a76[_0x427f76(0x1f4)](_0x4fc9f7['length'],0x1)&&_0x270a76[_0x427f76(0x1b7)](_0x4fc9f7[0x1],_0x270a76[_0x427f76(0x16d)]))return!![];return![];};function a51_0x6bed(){const _0x4f6aaf=['BROWSERSTACK_RERUN_TESTS','psZdm','USER_CONFIG_DETAILS_PATH','exitCode','browserstackAutomation','3069208hYLJSv','EVENTS','\x20/\x20(esm)\x20','cliConfig','liBju','../utils/clientTroubleshootingService','JoZWz','zgoTX','../../helpers/testhub/testhubHandler','PACKAGE_TYPE','true','initialize','Found:\x20','XveDI','LObTM','../utils/constants','--grep','accessSync','viryj','href','browserstackSetupConfig.json','../../helpers/test-observability/constants','split','setFrameworkDetail','bootstrap\x20=\x20require(\x22./node_modules/browserstack-node-sdk/node_modules/global-agent\x22).bootstrap;','slice','warn','close','123972GhZVKN','../../helpers/test-orchestration/testOrchestrationHandler','readFileSync','sep','966093bcKjDF','length','path','readdirSync','../../helpers/test-observability/utils',').bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}','filter','weAEu','isTestOrchestrationEnabled','PLAYWRIGHT','../v2/runStateStore','--config','startsWith','OIugW','trim','Unable\x20to\x20resolve\x20global-agent\x20from\x20the\x20SDK\x20module\x20graph:\x20',')._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','../../helpers/logger','isUndefined','.browserstack','1963gqeidg','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20','getBuildState','reportConflictingEnvVarIssue','accessibilityOptions','apply','global-agent','reportDotBrowserStackFolderNotAccessibleIssue','50fRCDZu','testhub\x20build\x20UUID\x20(BrowserstackCLI.O11yHashedID)\x20unavailable;\x20skipping\x20deterministic\x20test-run\x20uuid\x20seeding\x20and\x20falling\x20back\x20to\x20file-coordinated\x20uuids.\x20Got:\x20','IaKKF','SDK_SETUP','resolve','key','getProxyUrl','LUWMX','YrjkV','BROWSERSTACK_TEST_ACCESSIBILITY_YML','xUdOk','requirePWModule','GVQZD','cqzsA','findPlaywrightTestFiles','NCgwP','12181477boNdan','info','SWuGH','optuW','\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','psYLo','reportFinalDetectionState','skipSessionStatus','parse','resolvedConfigFile','vIWMi','ritTT','zLGMd','isTypescriptProject','indexOf','OEkiM','entries','Error\x20in\x20accessing\x20.browserstack\x20directory:\x20','No\x20Proxy\x20:\x20','seeded\x20BROWSERSTACK_TESTHUB_UUID_SEED\x20with\x20testhub\x20build\x20id\x20','../v2/cliUtils','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','Generated\x20Playwright\x20config\x20will\x20load\x20the\x20SDK\x20from\x20(cjs)\x20','Iztoj','hxYkd','BrowserStack\x20config\x20file\x20not\x20found.','--disable-test-observability','CDcQx','uCHlF','SCJcF','getInstance','isFalse','INTERNALLY_USED_ENV_VARS','platform','has','./accessibility-helper','bootstrap','getConfig','R_OK','isCLIEnabled','constants','../../helpers/BrowserStackSetup','Reordered\x20Test\x20Files:\x20','BROWSERSTACK_FRAMEWORK','BROWSERSTACK_TEST_OBSERVABILITY','428742BQGsHq','KMASq','--config=','launchBuild','734rbdxMf','push','isTrue','playwright','forEach','SsEoV','XWdTu','dirname','exports','Playwright\x20process\x20exited\x20with\x20code\x20','O11yHashedID','MODULE','test','tfHqk','rLbOF','getNoProxy','pw_result','writeFileSync','\x27browserstack-node-sdk\x27','yarn','../../helpers/testhub/utils','BROWSERSTACK_PW_CONFIG_DIR','QJkOu','setupBrowserstackLocal','5djoWcQ','winstonLogger','playwright-browserstack-sdk.config.js','\x20test\x20files\x20to\x20run.','inherit','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20catch\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(','lPXQN','hOWIi','Updated\x20config\x20file\x20name\x20to\x20-\x20','Error\x20in\x20deleting\x20playwright\x20results','playwright-browserstack-sdk.config.cjs','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','./reporterArgs','errorMessage','getConfigPath','JNiko','cLasL','BROWSERSTACK_SETUP_CONFIG_PATH','SDK_POST_INITIALIZE','133mSPkGJ','start','qzhzF','end','12mUWPgQ','cwd','measureWrapper','existsSync','filterBrowserstackArgs','xucfk','config','HTuhH','BROWSERSTACK_TESTHUB_UUID_SEED','win32','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','../../index.js','bvftl','getPackageType','shutdown','get','fdtTs','testContextOptions','isYarnPnP','2427184ormjYi','isRunning','qXlvI','BROWSERSTACK_PW_TEST_ORDER','create','rKRTj','XMWlW','VYqUy','../v2/TestInfo','QUrHs','SDK_PRE_INITIALIZE','qAPUx','unlinkSync','env','util','join','debug','pVrFM',';\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','serializeToYamlString','qxcvF','setBrowserstackConfig','iVYOa','testObservability','configPath','../../helpers/utilities','BROWSERSTACK_AUTOMATION','./reporter/pwUtils','\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\x20','try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','findIndex','stop','tZWfH','accessibility','homedir','yScWw','GIQeD','../../helpers/accessibility-automation/helper','Proxy\x20url\x20:\x20','stringify'];a51_0x6bed=function(){return _0x4f6aaf;};return a51_0x6bed();}async function run(_0x37b09d,_0x2ebf15,_0x1ce76a){const _0x3dc2d5=a51_0x2526b2,_0x1802c6={'psYLo':function(_0x5af471,_0x8a0746){return _0x5af471(_0x8a0746);},'yScWw':_0x3dc2d5(0x193),'XWdTu':_0x3dc2d5(0x1f6),'Iztoj':function(_0x54555a,_0x375af6){return _0x54555a>_0x375af6;},'zLGMd':_0x3dc2d5(0x19c),'hxYkd':'pw_result.json','ritTT':function(_0x520cad,_0x18f1f0){return _0x520cad+_0x18f1f0;},'XZjsm':'Error\x20in\x20getting\x20funnel\x20data\x20results','qxcvF':function(_0x2206a2){return _0x2206a2();},'OEkiM':'Error\x20in\x20closing\x20playwright','KIgvC':_0x3dc2d5(0x1ce),'IaKKF':function(_0x1116e9,_0x4d7421){return _0x1116e9<_0x4d7421;},'qAPUx':function(_0x460c29,_0x253682){return _0x460c29===_0x253682;},'QUrHs':'false','OIugW':_0x3dc2d5(0x1cf),'QmgkO':function(_0x235c29,_0x4ffbb2){return _0x235c29>=_0x4ffbb2;},'CDcQx':'automation','pVrFM':function(_0x221937,_0xca7032){return _0x221937!=_0xca7032;},'cqzsA':function(_0x19d620,_0x47e134,_0x13ea7e){return _0x19d620(_0x47e134,_0x13ea7e);},'JoZWz':function(_0x59e44b,_0x2e9488){return _0x59e44b===_0x2e9488;},'fdtTs':_0x3dc2d5(0x173),'viryj':function(_0x10c3f0,_0x20f102){return _0x10c3f0(_0x20f102);},'LUWMX':_0x3dc2d5(0x17d),'qXlvI':function(_0x1e537b,_0x2dc576){return _0x1e537b===_0x2dc576;},'XxOIf':_0x3dc2d5(0x208),'plUjS':_0x3dc2d5(0x200),'iVYOa':_0x3dc2d5(0x220),'weAEu':function(_0x4ad643,_0x103a29){return _0x4ad643===_0x103a29;},'xucfk':_0x3dc2d5(0x1f8),'VYqUy':function(_0x18f2f4,_0x53a167){return _0x18f2f4(_0x53a167);},'GVQZD':function(_0x369cf0,_0x10b404){return _0x369cf0-_0x10b404;},'mreIc':_0x3dc2d5(0x206),'hOWIi':_0x3dc2d5(0x1a3),'AbaIw':_0x3dc2d5(0x181),'tGRUB':function(_0x850f77,_0x719e21){return _0x850f77+_0x719e21;},'lPXQN':_0x3dc2d5(0x21f),'cLasL':function(_0x440438,_0x1f3e75){return _0x440438<_0x1f3e75;},'zgoTX':_0x3dc2d5(0x1e9),'vIWMi':function(_0x25947d,_0x28f3a0,_0xf5e208,_0x22e132){return _0x25947d(_0x28f3a0,_0xf5e208,_0x22e132);},'JNiko':_0x3dc2d5(0x1f9),'YrjkV':'npx','eDAAZ':_0x3dc2d5(0x1f2),'BwMwC':_0x3dc2d5(0x194),'cdFJn':function(_0xb68bd2,_0x2e3afb){return _0xb68bd2===_0x2e3afb;},'tZWfH':_0x3dc2d5(0x21e),'rKRTj':_0x3dc2d5(0x202),'GIQeD':_0x3dc2d5(0x184),'QJkOu':function(_0x405e04,_0x7e2648){return _0x405e04|_0x7e2648;},'xUdOk':_0x3dc2d5(0x1c6),'bvftl':function(_0xb9ffbb,_0x2d2eca){return _0xb9ffbb+_0x2d2eca;},'qzhzF':_0x3dc2d5(0x207),'psZdm':function(_0x594e1f,_0x57f4bc){return _0x594e1f(_0x57f4bc);}};try{const _0x723f2c=path[_0x3dc2d5(0x237)](helper[_0x3dc2d5(0x24a)](),_0x1802c6[_0x3dc2d5(0x1c1)]);try{fs[_0x3dc2d5(0x17a)](_0x723f2c,_0x1802c6[_0x3dc2d5(0x1fc)](fs[_0x3dc2d5(0x1dd)][_0x3dc2d5(0x1db)],fs[_0x3dc2d5(0x1dd)]['W_OK']));}catch(_0x2fa351){ClientTroubleShootingService[_0x3dc2d5(0x1a4)]();}}catch(_0x4d6da3){logger['debug'](_0x1802c6[_0x3dc2d5(0x1c0)](_0x1802c6[_0x3dc2d5(0x1af)],_0x4d6da3));}try{const _0x264ee3=path[_0x3dc2d5(0x237)](helper[_0x3dc2d5(0x24a)](),_0x1802c6[_0x3dc2d5(0x1c1)],_0x1802c6[_0x3dc2d5(0x1cd)]);fs[_0x3dc2d5(0x218)](_0x264ee3)&&fs[_0x3dc2d5(0x234)](_0x264ee3);}catch(_0x1a0456){logger[_0x3dc2d5(0x238)](_0x1802c6[_0x3dc2d5(0x221)](_0x1802c6[_0x3dc2d5(0x213)],_0x1a0456));}if(!_0x1802c6['cqzsA'](isTestCommand,_0x37b09d,_0x2ebf15)){_0x1802c6[_0x3dc2d5(0x165)](spawnOriginalProcess,_0x2ebf15);return;}await PerformanceTester[_0x3dc2d5(0x217)](PerformanceEvents[_0x3dc2d5(0x232)],async()=>{const _0xe91169=_0x3dc2d5,_0x497231={'XMWlW':_0x1802c6[_0xe91169(0x1c1)],'optuW':function(_0x1c47d1){return _0x1802c6['qxcvF'](_0x1c47d1);},'HTuhH':function(_0x29db0d,_0x3f692d){return _0x1802c6['ritTT'](_0x29db0d,_0x3f692d);},'SsEoV':_0x1802c6[_0xe91169(0x1c4)]};if(!_0x1ce76a[_0xe91169(0x21b)]){logger['error'](_0x1802c6['KIgvC']);return;}await _0x1ce76a[_0xe91169(0x174)](_0x37b09d),CLIUtils[_0xe91169(0x180)](FRAMEWORKS[_0xe91169(0x192)],FRAMEWORKS[_0xe91169(0x192)]),BrowserstackCLI[_0xe91169(0x1d3)]()[_0xe91169(0x23d)](_0x1ce76a[_0xe91169(0x21b)],_0x1ce76a[_0xe91169(0x240)],_0x1ce76a[_0xe91169(0x16c)]),await BrowserstackCLI[_0xe91169(0x1d3)]()[_0xe91169(0x1d9)]();!BrowserstackCLI[_0xe91169(0x1d3)]()[_0xe91169(0x229)]()&&await _0x1ce76a[_0xe91169(0x1fd)]();for(var _0x310380=0x0;_0x1802c6[_0xe91169(0x1a7)](_0x310380,constants['INTERNALLY_USED_ENV_VARS'][_0xe91169(0x18a)]);_0x310380++){var _0x23a001=constants[_0xe91169(0x1d5)][_0x310380];process[_0xe91169(0x235)][_0x23a001]&&await ClientTroubleShootingService[_0xe91169(0x1a0)](_0x23a001);}const _0x3348e9=BrowserstackCLI[_0xe91169(0x1d3)]()[_0xe91169(0x1da)]();!helper[_0xe91169(0x1d4)](_0x3348e9[_0xe91169(0x168)])&&(process['env']['BROWSERSTACK_AUTOMATION']=!![]);_0x1802c6['qAPUx'](_0x3348e9[_0xe91169(0x168)],![])&&(process[_0xe91169(0x235)][_0xe91169(0x242)]=_0x1802c6[_0xe91169(0x231)],_0x2ebf15=_0x2ebf15[_0xe91169(0x18f)](_0x5534c9=>_0x5534c9!=='--disable-browserstack-automation'));const _0x1f446b=_0x2ebf15[_0xe91169(0x1c3)](_0x1802c6[_0xe91169(0x196)]);(_0x1802c6['QmgkO'](_0x1f446b,0x0)||_0x1802c6[_0xe91169(0x233)](_0x3348e9[_0xe91169(0x23f)],![]))&&(process[_0xe91169(0x235)]['BROWSERSTACK_TEST_OBSERVABILITY']=_0x1802c6[_0xe91169(0x231)],_0x2ebf15=_0x2ebf15[_0xe91169(0x18f)](_0x36271d=>_0x36271d!==_0xe91169(0x1cf)));!helper[_0xe91169(0x19b)](_0x1ce76a[_0xe91169(0x16c)])&&_0x1ce76a[_0xe91169(0x16c)][_0xe91169(0x1d7)](_0x1802c6[_0xe91169(0x1d0)])&&(process[_0xe91169(0x235)]['BROWSERSTACK_AUTOMATION']=_0x1ce76a[_0xe91169(0x16c)][_0xe91169(0x224)](_0x1802c6[_0xe91169(0x1d0)])||!![]);_0x1802c6[_0xe91169(0x239)](_0x1ce76a['config']['testObservability'],null)&&!helper[_0xe91169(0x1e8)](process[_0xe91169(0x235)][_0xe91169(0x1e1)])&&(process[_0xe91169(0x235)][_0xe91169(0x1e1)]=process[_0xe91169(0x235)]['BROWSERSTACK_TEST_OBSERVABILITY']||_0x1ce76a[_0xe91169(0x21b)][_0xe91169(0x23f)]);const _0x1c2ac4=!helper[_0xe91169(0x1d4)](process[_0xe91169(0x235)][_0xe91169(0x1e1)]);if(BrowserstackCLI[_0xe91169(0x1d3)]()[_0xe91169(0x229)]()&&_0x1c2ac4){const _0xd42927=BrowserstackCLI[_0xe91169(0x1f0)];helper['isValidEnvValue'](_0xd42927)?(process[_0xe91169(0x235)][_0xe91169(0x21d)]=_0xd42927,logger['debug'](_0xe91169(0x1c8)+_0xd42927)):logger[_0xe91169(0x183)](_0xe91169(0x1a6)+_0xd42927);}_0x1ce76a['config'][_0xe91169(0x1a1)]&&(process[_0xe91169(0x235)][_0xe91169(0x209)]=JSON[_0xe91169(0x163)](_0x1ce76a[_0xe91169(0x21b)][_0xe91169(0x1a1)]));let _0xacb5b0=![];_0x1ce76a[_0xe91169(0x21b)][_0xe91169(0x249)]&&(_0xacb5b0=!![],process[_0xe91169(0x235)][_0xe91169(0x1ae)]=_0x1ce76a['config'][_0xe91169(0x249)]);const _0x50b19f=_0x2ebf15['concat'](),_0x477a3a=await _0x1802c6[_0xe91169(0x1b2)](getUserPlaywrightConfig,_0x37b09d,_0x2ebf15);if(helper['isUndefined'](_0x477a3a)){_0x1802c6[_0xe91169(0x1ba)](spawnOriginalProcess,_0x50b19f);return;}const _0x2b20b1=_0x477a3a[_0xe91169(0x18b)]?path[_0xe91169(0x1ed)](_0x477a3a[_0xe91169(0x18b)]):process['cwd']();process[_0xe91169(0x235)][_0xe91169(0x1fb)]=_0x2b20b1,await PerformanceTester[_0xe91169(0x217)](PerformanceEvents[_0xe91169(0x210)],async()=>{const _0xdfe23c=_0xe91169;!BrowserstackCLI[_0xdfe23c(0x1d3)]()[_0xdfe23c(0x229)]()&&await TestHubHandler[_0xdfe23c(0x1e5)](FRAMEWORKS['PLAYWRIGHT'],_0x1ce76a),_0x1c2ac4&&_0x1802c6[_0xdfe23c(0x1ba)](handleO11yRerun,_0x2ebf15);})();if(!BrowserstackCLI[_0xe91169(0x1d3)]()[_0xe91169(0x229)]()){let _0x2e8c94=_0x1802c6[_0xe91169(0x16f)](process[_0xe91169(0x235)][_0xe91169(0x1ae)],_0x1802c6[_0xe91169(0x225)]);_0x2e8c94=_0x2e8c94||_0x1802c6[_0xe91169(0x17b)](checkAccessibilityPlatformConfig,_0x1ce76a[_0xe91169(0x21b)]),process['env'][_0xe91169(0x1ae)]=_0x2e8c94,_0x2e8c94&&_0x1802c6[_0xe91169(0x1ba)](setAccessibilityCapabilities,_0x1ce76a[_0xe91169(0x21b)]);}const _0x5007e9=path[_0xe91169(0x237)](_0x477a3a[_0xe91169(0x18b)]?path[_0xe91169(0x1ed)](_0x477a3a[_0xe91169(0x18b)]):process['cwd'](),_0x1802c6[_0xe91169(0x1ac)]);fs['writeFileSync'](_0x5007e9,helper[_0xe91169(0x23b)](_0x1ce76a[_0xe91169(0x21b)])),process[_0xe91169(0x235)][_0xe91169(0x20f)]=_0x5007e9,helper['clearTempPWConfig']();let _0x29f61a='';_0x1802c6[_0xe91169(0x22a)](helper[_0xe91169(0x222)](_0x2b20b1),constants[_0xe91169(0x172)]['MODULE'])?_0x29f61a=_0x1802c6['XxOIf']:_0x29f61a=_0x1802c6['plUjS'];let _0x23db21='';const _0x42a001=path[_0xe91169(0x1a9)](__dirname,_0x1802c6[_0xe91169(0x23e)]),_0x6e525a=fs['existsSync'](_0x42a001),_0xd825d3=_0x1802c6[_0xe91169(0x190)](helper[_0xe91169(0x222)](_0x2b20b1),constants[_0xe91169(0x172)][_0xe91169(0x1f1)]),_0x323413=_0x6e525a?JSON['stringify'](_0x42a001):_0x1802c6[_0xe91169(0x21a)],_0x2cf051=_0x6e525a?_0xd825d3?JSON[_0xe91169(0x163)](_0x1802c6[_0xe91169(0x22f)](pathToFileURL,_0x42a001)[_0xe91169(0x17c)]):JSON['stringify'](_0x42a001):_0x1802c6['xucfk'];logger['debug'](_0xe91169(0x1cb)+_0x323413+_0xe91169(0x16b)+_0x2cf051);if(helper[_0xe91169(0x1c2)](_0x477a3a[_0xe91169(0x18b)])){_0x23db21=_0xe91169(0x19e)+_0x2cf051+_0xe91169(0x23a);const _0x1757b9=_0x29f61a[_0xe91169(0x17f)]('.');_0x1757b9[_0x1802c6[_0xe91169(0x1b1)](_0x1757b9[_0xe91169(0x18a)],0x1)]='ts',_0x29f61a=_0x1757b9[_0xe91169(0x237)]('.'),logger[_0xe91169(0x238)](_0x1802c6[_0xe91169(0x1c0)](_0x1802c6['mreIc'],_0x29f61a));}else _0x23db21='\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require('+_0x323413+_0xe91169(0x199);const _0x2dab00=path[_0xe91169(0x237)](_0x477a3a[_0xe91169(0x18b)]?path[_0xe91169(0x1ed)](_0x477a3a['path']):process[_0xe91169(0x216)](),_0x29f61a);let _0x2adf72=_0x477a3a[_0xe91169(0x18b)]?_0x477a3a[_0xe91169(0x18b)]:'';_0x2adf72=_0x1802c6[_0xe91169(0x1cc)](_0x2adf72[_0xe91169(0x18a)],0x0)?path[_0xe91169(0x1a9)](_0x2adf72):'',process[_0xe91169(0x235)][_0xe91169(0x166)]=_0x2adf72;const _0x1b8c06=helper[_0xe91169(0x1ab)](_0x1ce76a[_0xe91169(0x21b)]),_0x3e10fd=helper[_0xe91169(0x1f5)](_0x1ce76a[_0xe91169(0x21b)]);logger[_0xe91169(0x238)](_0xe91169(0x24e)+_0x1b8c06),logger[_0xe91169(0x238)](_0xe91169(0x1c7)+_0x3e10fd);if(_0x1b8c06){let _0x3f71c4='';try{_0x3f71c4=require['resolve'](_0x1802c6[_0xe91169(0x205)]);}catch(_0x5dbaad){logger[_0xe91169(0x238)](_0xe91169(0x198)+_0x5dbaad);}const _0x2f66ae=_0x1802c6['AbaIw'],_0x4bc12b=_0x3f71c4?_0xe91169(0x245)+_0x2f66ae+_0xe91169(0x203)+JSON['stringify'](_0x3f71c4)+_0xe91169(0x18e):_0x2f66ae;_0x23db21=_0x1802c6['tGRUB'](_0xe91169(0x1ca)+_0x1b8c06+_0xe91169(0x1b9)+_0x3e10fd+_0xe91169(0x244)+_0x4bc12b+'\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();',_0x23db21);}helper[_0xe91169(0x219)]({},_0x2ebf15),_0x1802c6[_0xe91169(0x1b2)](mergeBrowserstackReporterIntoCliReporterFlag,_0x2ebf15,{'enabled':_0x1802c6[_0xe91169(0x23c)](shouldProcessEventForTesthub)}),fs[_0xe91169(0x1f7)](_0x2dab00,_0x23db21);let _0x46232c=[];const _0xa9a186=new TestOrchestrationHandler(_0x1ce76a['config']);if(_0xa9a186[_0xe91169(0x191)]()){logger[_0xe91169(0x238)](_0x1802c6[_0xe91169(0x204)]);const _0x4a6c73=await _0xa9a186[_0xe91169(0x1b3)](_0x2adf72,_0x2ebf15['slice'](0x2));logger[_0xe91169(0x238)](_0xe91169(0x175)+JSON[_0xe91169(0x163)](_0x4a6c73)+_0xe91169(0x201));const _0x156b68=await _0xa9a186['reorderTestFiles'](_0x4a6c73);logger[_0xe91169(0x238)](_0xe91169(0x1df)+JSON[_0xe91169(0x163)](_0x156b68)),_0x156b68&&_0x1802c6['Iztoj'](_0x156b68[_0xe91169(0x18a)],0x0)&&(process[_0xe91169(0x235)][_0xe91169(0x22b)]=_0x156b68['join'](','),_0x1802c6[_0xe91169(0x20e)](_0x156b68['length'],_0x4a6c73[_0xe91169(0x18a)])&&(_0x46232c=_0x156b68['map'](_0x1a8529=>path['relative'](process[_0xe91169(0x216)](),_0x1a8529)[_0xe91169(0x17f)](path[_0xe91169(0x188)])[_0xe91169(0x237)]('/'))));}PerformanceTester[_0xe91169(0x214)](PerformanceEvents[_0xe91169(0x1a8)]),process['env'][_0xe91169(0x1e0)]=process[_0xe91169(0x235)][_0xe91169(0x1e0)]||_0x1802c6[_0xe91169(0x170)];const _0x388c47=_0x1802c6[_0xe91169(0x1bf)](spawn,helper['isYarnPnP']()?_0x1802c6[_0xe91169(0x20d)]:_0x1802c6[_0xe91169(0x1ad)],[_0x1802c6[_0xe91169(0x170)],_0x1802c6['eDAAZ'],_0x1802c6['BwMwC'],_0x1802c6['cdFJn'](process[_0xe91169(0x1d6)],_0x1802c6['tZWfH'])?'\x22'+_0x2dab00+'\x22':_0x2dab00,..._0x2ebf15[_0xe91169(0x182)](0x2),..._0x46232c],{'shell':_0x1802c6['qAPUx'](process[_0xe91169(0x1d6)],_0x1802c6[_0xe91169(0x248)]),'stdio':_0x1802c6[_0xe91169(0x22d)],'cwd':process[_0xe91169(0x216)](),'env':Object['assign']({},process[_0xe91169(0x235)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0xe91169(0x20c)](_0x37b09d),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x1ce76a['config'][_0xe91169(0x226)][_0xe91169(0x1bc)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x1ce76a[_0xe91169(0x21b)][_0xe91169(0x226)]['skipSessionName'],'BROWSERSTACK_LOG_LEVEL':_0x1ce76a[_0xe91169(0x21b)]['logLevel']})}),_0x147f42=async()=>{const _0x5d82e1=_0xe91169;try{if(BrowserstackCLI['getInstance']()['isRunning']()){const _0x5324d8=_0x1802c6['psYLo'](require,_0x1802c6[_0x5d82e1(0x24b)]),_0x1b5e72=await _0x5324d8[_0x5d82e1(0x19f)](_0x1802c6[_0x5d82e1(0x1ec)])||[];if(_0x1802c6[_0x5d82e1(0x1cc)](_0x1b5e72[_0x5d82e1(0x18a)],0x0)){const _0xae6657={};_0x1b5e72[_0x5d82e1(0x1ea)](_0x2c9d00=>{const _0x2a613d=_0x5d82e1,_0x52738d=_0xae6657[_0x2c9d00[_0x2a613d(0x1aa)]]||Object[_0x2a613d(0x22c)](null);(_0x2c9d00[_0x2a613d(0x1c5)]||[])[_0x2a613d(0x1ea)](({title:_0x2e50a2,error:_0x3713aa})=>{_0x52738d[_0x2e50a2]=_0x3713aa;}),_0xae6657[_0x2c9d00[_0x2a613d(0x1aa)]]=_0x52738d;}),_0x1ce76a[_0x5d82e1(0x20b)]=_0xae6657;return;}}const _0x808fb3=path[_0x5d82e1(0x237)](helper[_0x5d82e1(0x24a)](),_0x1802c6[_0x5d82e1(0x1c1)],_0x1802c6['hxYkd']);if(fs[_0x5d82e1(0x218)](_0x808fb3)){let _0x2a9532=fs[_0x5d82e1(0x187)](_0x808fb3);_0x2a9532=JSON[_0x5d82e1(0x1bd)](_0x2a9532),_0x1ce76a[_0x5d82e1(0x20b)]=_0x2a9532,fs[_0x5d82e1(0x234)](_0x808fb3);}}catch(_0x123fc6){logger[_0x5d82e1(0x238)](_0x1802c6['ritTT'](_0x1802c6['XZjsm'],_0x123fc6));}};_0x388c47['on'](_0x1802c6[_0xe91169(0x24c)],async _0x5e4fa4=>{const _0x4e52c6=_0xe91169;try{PerformanceTester[_0x4e52c6(0x212)](PerformanceEvents['SDK_CLEANUP']),await _0x497231[_0x4e52c6(0x1b8)](_0x147f42),await TestHubHandler['stop'](),await ClientTroubleShootingService[_0x4e52c6(0x1bb)]();const _0x479a4d=BrowserstackCLI[_0x4e52c6(0x1dc)]();await BrowserstackCLI[_0x4e52c6(0x1d3)]()[_0x4e52c6(0x247)](),TestDetails[_0x4e52c6(0x223)](),_0x497231[_0x4e52c6(0x1b8)](printBuildLink),await utilities['finalExecution'](_0x1ce76a,_0x479a4d),process[_0x4e52c6(0x167)]=_0x5e4fa4,logger[_0x4e52c6(0x238)](_0x4e52c6(0x1ef)+_0x5e4fa4),logger[_0x4e52c6(0x1b6)]('Deleting\x20'+_0x2dab00),fs['unlinkSync'](_0x2dab00);fs[_0x4e52c6(0x218)](_0x5007e9)&&(logger[_0x4e52c6(0x238)]('Deleting\x20'+_0x5007e9),fs[_0x4e52c6(0x234)](_0x5007e9));const _0x423363=fs[_0x4e52c6(0x18c)](path[_0x4e52c6(0x237)](helper['homedir'](),_0x497231[_0x4e52c6(0x22e)]))[_0x4e52c6(0x18f)](_0x37a5e5=>_0x37a5e5[_0x4e52c6(0x195)]('trace_'));_0x423363[_0x4e52c6(0x1ea)](_0x472584=>{const _0x47dc91=_0x4e52c6;fs[_0x47dc91(0x234)](path[_0x47dc91(0x237)](helper['homedir'](),_0x497231[_0x47dc91(0x22e)],_0x472584));});}catch(_0x15ab48){logger[_0x4e52c6(0x238)](_0x497231[_0x4e52c6(0x21c)](_0x497231[_0x4e52c6(0x1eb)],_0x15ab48));}});})();}module[a51_0x2526b2(0x1ee)]=run;
@@ -1 +1 @@
1
- const a52_0x271d86=a52_0x1381;function a52_0x1381(_0x1d89bf,_0x3dd9a5){const _0x344ac5=a52_0x344a();return a52_0x1381=function(_0x138131,_0x463250){_0x138131=_0x138131-0x137;let _0xa97840=_0x344ac5[_0x138131];return _0xa97840;},a52_0x1381(_0x1d89bf,_0x3dd9a5);}(function(_0x5e50b7,_0x418841){const _0x3d3409=a52_0x1381,_0x23c5c1=_0x5e50b7();while(!![]){try{const _0x5b42d9=-parseInt(_0x3d3409(0x15c))/0x1*(-parseInt(_0x3d3409(0x15d))/0x2)+parseInt(_0x3d3409(0x13a))/0x3+parseInt(_0x3d3409(0x16b))/0x4+-parseInt(_0x3d3409(0x161))/0x5+parseInt(_0x3d3409(0x14d))/0x6*(parseInt(_0x3d3409(0x16e))/0x7)+parseInt(_0x3d3409(0x141))/0x8*(parseInt(_0x3d3409(0x148))/0x9)+-parseInt(_0x3d3409(0x157))/0xa*(parseInt(_0x3d3409(0x16a))/0xb);if(_0x5b42d9===_0x418841)break;else _0x23c5c1['push'](_0x23c5c1['shift']());}catch(_0xd9158b){_0x23c5c1['push'](_0x23c5c1['shift']());}}}(a52_0x344a,0x39e82));const util=require(a52_0x271d86(0x15b)),child_process=require(a52_0x271d86(0x159)),{FRAMEWORKS}=require(a52_0x271d86(0x149)),{getFrameworkVersion,debug}=require(a52_0x271d86(0x14e)),helper=require(a52_0x271d86(0x13d)),{getForkProcessPath}=require(a52_0x271d86(0x16c)),{mockIsWorkerRedundant}=require(a52_0x271d86(0x152)),logger=require(a52_0x271d86(0x14f))[a52_0x271d86(0x165)];try{require(a52_0x271d86(0x167))[a52_0x271d86(0x140)]('playwright');}catch(a52_0xe82ca3){logger[a52_0x271d86(0x144)](a52_0x271d86(0x14a)+(a52_0xe82ca3&&a52_0xe82ca3[a52_0x271d86(0x13e)]));}module[a52_0x271d86(0x147)]=async function(_0x114f46){const _0x33c823=a52_0x271d86,_0x39552c={'wbhRd':function(_0x51f664,_0x5d8848){return _0x51f664(_0x5d8848);},'vHURW':function(_0x6948a6){return _0x6948a6();},'ppKid':_0x33c823(0x13b),'QZQGk':function(_0x59958d){return _0x59958d();},'VqJul':function(_0xba148,_0x3bb891){return _0xba148(_0x3bb891);},'phcms':_0x33c823(0x15e),'DUXZE':function(_0x448a74,_0x5850ec){return _0x448a74!==_0x5850ec;},'GTIXD':_0x33c823(0x169),'Jwaku':_0x33c823(0x13f),'svsUD':function(_0x2d13ce,_0x1388b3){return _0x2d13ce>=_0x1388b3;},'augCe':_0x33c823(0x172),'kACZy':function(_0x18016b,_0x24d0fc,_0x64616f){return _0x18016b(_0x24d0fc,_0x64616f);},'mLmYZ':'Not\x20able\x20to\x20import\x20globalSetup','DMGkY':function(_0x3150df,_0x1bcf20){return _0x3150df(_0x1bcf20);}},_0x524ac8=child_process[_0x33c823(0x170)];if(helper[_0x33c823(0x156)]())try{_0x39552c[_0x33c823(0x16d)](mockIsWorkerRedundant);}catch(_0x3d8ec9){logger[_0x33c823(0x144)](_0x33c823(0x163)+util[_0x33c823(0x15f)](_0x3d8ec9));}child_process['fork']=function(){const _0x1099e0=_0x33c823;return _0x39552c[_0x1099e0(0x154)](debug,_0x1099e0(0x143)+arguments[0x0]),arguments[0x0][_0x1099e0(0x16f)](_0x39552c[_0x1099e0(0x146)](getForkProcessPath))?arguments[0x0]=require['resolve'](_0x39552c['ppKid']):logger[_0x1099e0(0x139)](_0x1099e0(0x137)+_0x39552c[_0x1099e0(0x146)](getForkProcessPath)+_0x1099e0(0x14c)),_0x524ac8[_0x1099e0(0x13c)](null,arguments);};if(process[_0x33c823(0x155)]['BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP']){_0x39552c[_0x33c823(0x164)](debug,_0x39552c[_0x33c823(0x162)]);try{const _0x2b3d9e=helper[_0x33c823(0x171)]();if(_0x39552c[_0x33c823(0x158)](typeof _0x2b3d9e,_0x39552c[_0x33c823(0x138)]))throw new Error(_0x39552c[_0x33c823(0x160)]);const _0x568889=_0x39552c[_0x33c823(0x164)](getFrameworkVersion,FRAMEWORKS[_0x33c823(0x153)]);let _0x3b0c70=_0x114f46;if(_0x39552c['svsUD'](helper[_0x33c823(0x166)](_0x568889,_0x39552c['augCe']),0x0)){const _0x5a2070={};_0x5a2070[_0x33c823(0x151)]=_0x114f46,_0x3b0c70=_0x5a2070;}const _0x1fa19d=await _0x39552c[_0x33c823(0x150)](_0x2b3d9e,_0x3b0c70,process['env'][_0x33c823(0x14b)]);if(_0x39552c[_0x33c823(0x158)](typeof _0x1fa19d,_0x39552c[_0x33c823(0x138)]))throw new Error(_0x39552c[_0x33c823(0x15a)]);return _0x1fa19d[_0x33c823(0x13c)](null,arguments);}catch(_0x4d5d7d){_0x39552c[_0x33c823(0x145)](debug,_0x33c823(0x142)+_0x4d5d7d[_0x33c823(0x168)]());}}};function a52_0x344a(){const _0x1894d3=['1056UJCEMZ','../../helpers/test-observability/utils','../../helpers/logger','kACZy','config','./patches','PLAYWRIGHT','wbhRd','env','isHandlePWErrorSet','4980FStITC','DUXZE','child_process','mLmYZ','util','1MDtynx','535334hbXUdk','Running\x20existing\x20global\x20setup','format','Jwaku','896210FqieGH','phcms','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','VqJul','winstonLogger','compareVersions','../../helpers/driverInitErrorReporter','toString','function','14223qGSPCV','1659052mVaBCY','./reporter/pwUtils','QZQGk','8974Lxtmsz','includes','fork','resolveLoadGlobalHook','1.33.0','Path\x20','GTIXD','error','408690SxybwE','./mock-process.js','apply','../../helpers/helper','message','Not\x20able\x20to\x20resolve\x20loadGlobalHook\x20for\x20current\x20Playwright\x20version','installAll','120jFjTJS','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','Call\x20to\x20child\x20fork\x20with\x20args\x20','debug','DMGkY','vHURW','exports','9630KTwRhX','../../helpers/test-observability/constants','driver-init\x20capture\x20install\x20failed:\x20','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','\x20is\x20not\x20found'];a52_0x344a=function(){return _0x1894d3;};return a52_0x344a();}
1
+ const a52_0x480d18=a52_0x4d22;(function(_0x52b650,_0x5554e1){const _0x43dd81=a52_0x4d22,_0x52e778=_0x52b650();while(!![]){try{const _0x1b1a7d=parseInt(_0x43dd81(0x11b))/0x1+-parseInt(_0x43dd81(0x11d))/0x2*(parseInt(_0x43dd81(0x11e))/0x3)+-parseInt(_0x43dd81(0x114))/0x4*(-parseInt(_0x43dd81(0x120))/0x5)+-parseInt(_0x43dd81(0xf8))/0x6*(-parseInt(_0x43dd81(0x124))/0x7)+parseInt(_0x43dd81(0x122))/0x8*(-parseInt(_0x43dd81(0xf4))/0x9)+-parseInt(_0x43dd81(0x119))/0xa*(parseInt(_0x43dd81(0x10e))/0xb)+parseInt(_0x43dd81(0x11a))/0xc;if(_0x1b1a7d===_0x5554e1)break;else _0x52e778['push'](_0x52e778['shift']());}catch(_0x1a2861){_0x52e778['push'](_0x52e778['shift']());}}}(a52_0x1204,0x3a711));function a52_0x1204(){const _0x3dfb82=['error','fLgoU','Not\x20able\x20to\x20resolve\x20loadGlobalHook\x20for\x20current\x20Playwright\x20version','356BVTqxn','cBPXQ','Tnczz','ouUaS','BgcES','131210ITphBV','8173956gJaObR','77950IrxHDG','apply','2Ugfztn','1330521PaSwTu','../../helpers/driverInitErrorReporter','12970PhuKJy','mAmpM','1568NwmIXC','playwright','139153pvTAiD','7893kqfVwR','resolve','format','IjZaf','78HVhOEX','hjeCj','env','../../helpers/test-observability/constants','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','toString','../../helpers/test-observability/utils','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','../../helpers/logger','./reporter/pwUtils','resolveLoadGlobalHook','sadFl','PLAYWRIGHT','debug','fork','1.33.0','../../helpers/helper','Path\x20','pDloX','includes','child_process','config','330cQfeGx','Not\x20able\x20to\x20import\x20globalSetup','\x20is\x20not\x20found'];a52_0x1204=function(){return _0x3dfb82;};return a52_0x1204();}function a52_0x4d22(_0x251b69,_0x2a3c3e){const _0x12041c=a52_0x1204();return a52_0x4d22=function(_0x4d2232,_0x5375be){_0x4d2232=_0x4d2232-0xf4;let _0x262d7c=_0x12041c[_0x4d2232];return _0x262d7c;},a52_0x4d22(_0x251b69,_0x2a3c3e);}const util=require('util'),child_process=require(a52_0x480d18(0x10c)),{FRAMEWORKS}=require(a52_0x480d18(0xfb)),{getFrameworkVersion,debug}=require(a52_0x480d18(0xfe)),helper=require(a52_0x480d18(0x108)),{getForkProcessPath}=require(a52_0x480d18(0x101)),{mockIsWorkerRedundant}=require('./patches'),logger=require(a52_0x480d18(0x100))['winstonLogger'];try{require(a52_0x480d18(0x11f))['installAll'](a52_0x480d18(0x123));}catch(a52_0x3a3f75){logger[a52_0x480d18(0x105)]('driver-init\x20capture\x20install\x20failed:\x20'+(a52_0x3a3f75&&a52_0x3a3f75['message']));}module['exports']=async function(_0x422d50){const _0x2fd0ff=a52_0x480d18,_0x1250fa={'BgcES':function(_0x3b0921,_0x554cbd){return _0x3b0921(_0x554cbd);},'IjZaf':function(_0x26648e){return _0x26648e();},'RJBrg':'./mock-process.js','pDloX':function(_0xa8d9ff){return _0xa8d9ff();},'fLgoU':'Running\x20existing\x20global\x20setup','Tnczz':function(_0x1cd14f,_0x49d914){return _0x1cd14f!==_0x49d914;},'cBPXQ':'function','mCeNg':_0x2fd0ff(0x113),'mAmpM':function(_0x9f675d,_0x5ce64b){return _0x9f675d(_0x5ce64b);},'sadFl':function(_0x251096,_0x4613cd){return _0x251096>=_0x4613cd;},'hjeCj':_0x2fd0ff(0x107),'IeIrl':function(_0x78dbeb,_0x19f281,_0xfda763){return _0x78dbeb(_0x19f281,_0xfda763);},'ouUaS':_0x2fd0ff(0x10f),'tAUUr':function(_0x2aa0b6,_0xa90e00){return _0x2aa0b6(_0xa90e00);}},_0x39877d=child_process['fork'];if(helper['isHandlePWErrorSet']())try{_0x1250fa[_0x2fd0ff(0x10a)](mockIsWorkerRedundant);}catch(_0x4f5484){logger['debug'](_0x2fd0ff(0xff)+util[_0x2fd0ff(0xf6)](_0x4f5484));}child_process[_0x2fd0ff(0x106)]=function(){const _0x588a91=_0x2fd0ff;return _0x1250fa[_0x588a91(0x118)](debug,'Call\x20to\x20child\x20fork\x20with\x20args\x20'+arguments[0x0]),arguments[0x0][_0x588a91(0x10b)](_0x1250fa['IjZaf'](getForkProcessPath))?arguments[0x0]=require[_0x588a91(0xf5)](_0x1250fa['RJBrg']):logger[_0x588a91(0x111)](_0x588a91(0x109)+_0x1250fa[_0x588a91(0xf7)](getForkProcessPath)+_0x588a91(0x110)),_0x39877d['apply'](null,arguments);};if(process[_0x2fd0ff(0xfa)][_0x2fd0ff(0xfc)]){_0x1250fa[_0x2fd0ff(0x118)](debug,_0x1250fa[_0x2fd0ff(0x112)]);try{const _0x44323a=helper[_0x2fd0ff(0x102)]();if(_0x1250fa[_0x2fd0ff(0x116)](typeof _0x44323a,_0x1250fa[_0x2fd0ff(0x115)]))throw new Error(_0x1250fa['mCeNg']);const _0x55f3aa=_0x1250fa[_0x2fd0ff(0x121)](getFrameworkVersion,FRAMEWORKS[_0x2fd0ff(0x104)]);let _0x353369=_0x422d50;if(_0x1250fa[_0x2fd0ff(0x103)](helper['compareVersions'](_0x55f3aa,_0x1250fa[_0x2fd0ff(0xf9)]),0x0)){const _0x5d99c6={};_0x5d99c6[_0x2fd0ff(0x10d)]=_0x422d50,_0x353369=_0x5d99c6;}const _0x397602=await _0x1250fa['IeIrl'](_0x44323a,_0x353369,process['env'][_0x2fd0ff(0xfc)]);if(_0x1250fa['Tnczz'](typeof _0x397602,_0x1250fa[_0x2fd0ff(0x115)]))throw new Error(_0x1250fa[_0x2fd0ff(0x117)]);return _0x397602[_0x2fd0ff(0x11c)](null,arguments);}catch(_0x3364bc){_0x1250fa['tAUUr'](debug,'Error\x20in\x20calling\x20existing\x20global\x20setup:\x20'+_0x3364bc[_0x2fd0ff(0xfd)]());}}};