browserstack-node-sdk 1.53.1 → 1.53.3

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 (193) 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 +6 -4
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/nightwatch/command.js +1 -1
  79. package/src/bin/playwright/accessibility-helper.js +1 -1
  80. package/src/bin/playwright/command.js +1 -1
  81. package/src/bin/playwright/globalSetup.js +1 -1
  82. package/src/bin/playwright/mock-process.js +1 -1
  83. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  84. package/src/bin/playwright/patches.js +1 -1
  85. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  86. package/src/bin/playwright/reporter/reporter.js +1 -1
  87. package/src/bin/playwright/reporter/test-details.js +1 -1
  88. package/src/bin/playwright/sessionDetails.js +1 -1
  89. package/src/bin/puppeteer/patches.js +1 -1
  90. package/src/bin/puppeteer/sessionDetails.js +1 -1
  91. package/src/bin/puppeteer/test.setup.js +1 -1
  92. package/src/bin/runner.js +1 -1
  93. package/src/bin/setup.js +1 -1
  94. package/src/bin/test-runner/index.js +1 -1
  95. package/src/bin/test-runner/runTest.js +1 -1
  96. package/src/bin/test-runner/testWorker.js +1 -1
  97. package/src/bin/utils/apiUtilityMethods.js +1 -1
  98. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  99. package/src/bin/utils/constants.js +1 -1
  100. package/src/bin/utils/log4jsAppender.js +1 -1
  101. package/src/bin/utils/logPatcher.js +1 -1
  102. package/src/bin/utils/logReportingAPI.js +1 -1
  103. package/src/bin/utils/playwright-patcher.js +1 -1
  104. package/src/bin/utils/puppeteer-patcher.js +1 -1
  105. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  106. package/src/bin/utils/sharedUtils.js +1 -1
  107. package/src/bin/v2/TestInfo.js +1 -1
  108. package/src/bin/v2/browserstackCLI.js +1 -1
  109. package/src/bin/v2/cliUtils.js +1 -1
  110. package/src/bin/v2/customTagManager.js +1 -1
  111. package/src/bin/v2/eventDispatcher.js +1 -1
  112. package/src/bin/v2/framework/automationFramework.js +1 -1
  113. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  114. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  115. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  116. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  117. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  118. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  119. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  120. package/src/bin/v2/framework/testFramework.js +1 -1
  121. package/src/bin/v2/grpcClient.js +1 -1
  122. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  123. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  124. package/src/bin/v2/instances/trackedContext.js +1 -1
  125. package/src/bin/v2/instances/trackedInstance.js +1 -1
  126. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  127. package/src/bin/v2/modules/baseModule.js +1 -1
  128. package/src/bin/v2/modules/loadTestModule.js +1 -1
  129. package/src/bin/v2/modules/observabilityModule.js +1 -1
  130. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  131. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  132. package/src/bin/v2/modules/testhubModule.js +1 -1
  133. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  134. package/src/bin/v2/state/hookState.js +1 -1
  135. package/src/bin/v2/state/testFrameworkState.js +1 -1
  136. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  137. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  138. package/src/bin/v2/utils/jest-utils.js +1 -1
  139. package/src/bin/vanilla-js/command.js +1 -1
  140. package/src/browserStackSdk.js +1 -1
  141. package/src/helpers/BrowserStackSetup.js +1 -1
  142. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  143. package/src/helpers/accessibility-automation/constants.js +1 -1
  144. package/src/helpers/accessibility-automation/helper.js +1 -1
  145. package/src/helpers/accessibility-automation/scripts.js +1 -1
  146. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  147. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  148. package/src/helpers/ats/constants.js +1 -1
  149. package/src/helpers/ats/helper.js +1 -1
  150. package/src/helpers/capsMapping.js +1 -1
  151. package/src/helpers/central-scanner/constants.js +1 -1
  152. package/src/helpers/central-scanner/helpers.js +1 -1
  153. package/src/helpers/classLogger.js +1 -1
  154. package/src/helpers/globals.js +1 -1
  155. package/src/helpers/helper.js +1 -1
  156. package/src/helpers/logger.js +1 -1
  157. package/src/helpers/metadata.js +1 -1
  158. package/src/helpers/patchHelper.js +1 -1
  159. package/src/helpers/patchHelpers.js +1 -1
  160. package/src/helpers/percy/Percy.js +1 -1
  161. package/src/helpers/percy/PercyBinary.js +1 -1
  162. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  163. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  164. package/src/helpers/percy/PercySDK.js +1 -1
  165. package/src/helpers/percy/index.js +1 -1
  166. package/src/helpers/percy/utils.js +1 -1
  167. package/src/helpers/performance/constants.js +1 -1
  168. package/src/helpers/performance/performance-tester.js +1 -1
  169. package/src/helpers/playwright-helper.js +1 -1
  170. package/src/helpers/processHelper.js +1 -1
  171. package/src/helpers/puppeteer-helper.js +1 -1
  172. package/src/helpers/request-spy.js +1 -1
  173. package/src/helpers/setKeepAlive.js +1 -1
  174. package/src/helpers/test-observability/constants.js +1 -1
  175. package/src/helpers/test-observability/error-handler.js +1 -1
  176. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  177. package/src/helpers/test-observability/sessionHandler.js +1 -1
  178. package/src/helpers/test-observability/utils.js +1 -1
  179. package/src/helpers/test-orchestration/constants.js +1 -1
  180. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  181. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  182. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  183. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  184. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  185. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  186. package/src/helpers/testhub/constants.js +1 -1
  187. package/src/helpers/testhub/testhubHandler.js +1 -1
  188. package/src/helpers/testhub/utils.js +1 -1
  189. package/src/helpers/timeoutPromise.js +1 -1
  190. package/src/helpers/utilities.js +1 -1
  191. package/src/helpers/w3cMapping.js +1 -1
  192. package/src/hubAllocationMethods.js +1 -1
  193. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a38_0x29dcb9=a38_0x3444;(function(_0x1b7a63,_0x586095){const _0xbf752c=a38_0x3444,_0x87c817=_0x1b7a63();while(!![]){try{const _0x2e5ca6=-parseInt(_0xbf752c(0x82))/0x1*(parseInt(_0xbf752c(0xe2))/0x2)+parseInt(_0xbf752c(0x8f))/0x3*(parseInt(_0xbf752c(0xd7))/0x4)+-parseInt(_0xbf752c(0xf7))/0x5*(-parseInt(_0xbf752c(0xda))/0x6)+parseInt(_0xbf752c(0x9b))/0x7*(parseInt(_0xbf752c(0xac))/0x8)+-parseInt(_0xbf752c(0x6f))/0x9+parseInt(_0xbf752c(0x72))/0xa*(parseInt(_0xbf752c(0xeb))/0xb)+-parseInt(_0xbf752c(0xd3))/0xc*(parseInt(_0xbf752c(0x85))/0xd);if(_0x2e5ca6===_0x586095)break;else _0x87c817['push'](_0x87c817['shift']());}catch(_0x2b67fd){_0x87c817['push'](_0x87c817['shift']());}}}(a38_0x4ed8,0x35ed0));function a38_0x4ed8(){const _0x40cab4=['silly','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','UNdvw','[A11Y]\x20Error\x20logging\x20SDK-AUTOMATION\x20for\x20browserStackEvaluate:\x20','stringify','use','vVXVQ','cdoSj','QukGh','body','wsEndpoint','BurMZ','toISOString','on\x20non-BrowserStack\x20infrastructure\x20','accessibilityOptions.includeIssueType.bestPractice','xCaHM','BdtOb','warn','performScan','winstonLogger','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20','SZfND','forEach','accessibilityOptions.wcagVersion','fQfdv','1164plxsPH','ryfyq','../../helpers/performance/constants','browserName','4oIayok','lYZry','platformValidation:\x20Mobile\x20platform\x20already\x20validated.','132ZncLwo','(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','isMobilePlatform','dXOHU','woCba','name','startsWith','browserStackExecuteDriver','812278hNvOJW','isBrowserSupportedForAccessibility','scannerVersion','android','__workerDetails','bestPractice','isMobileScanningEnabledForGroup','assign','executeAsyncScript','34661pLeMno','WebDriver','zwYXN','currentTest','browser','getMinVersionForBrowser','constructor','includes','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','replace','platformValidation','string','45145fPzywh','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','browserstack.accessibility','jtNNX','bstackSdkArgs','\x20browser\x20version\x20','1445409BggEvB','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','mQjbJ','950JywZRk','No\x20accessibility\x20results\x20were\x20found.','includeIssueType','project','PERFORM_SCAN','env','message','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','WyyJs','EVEfF','hNAbJ','TEACB','accessibilityOptions.authToken','connectOptions','EuFUu','ZSUet','1zhoxAO','includePartOfPageScope','evaluate','30342LBwklf','szXww','wcagVersion','deviceName','latest','processAccessibilityCaps','response','../../helpers/logger','request','accessibilityOptions.scannerProcessingTimeout','1155042NSiXQh','accessibilityOptions.includeIssueType.needsReview','SAotV','scannerProcessingTimeout','getAccessibilityResults','util','url','wVpLC','\x20or\x20higher\x20','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','isVersionSupported','BS_A11Y_JWT','7BKrIYq','GTatk','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','getAccessibilityResultsSummary','aCDUY','parameters','setAccessibilityCapabilities','toLowerCase','kwuEa','keys','accessibilityPlatform','][\x20SDK-AUTOMATION\x20]\x20','Qbnsd','Playwright','../../helpers/accessibility-automation/helper','\x20page:\x20','VvTTe','1048168TYBncr','getBrowserDisplayName','YGXyt','browserStackEvaluate','command','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','debug','No\x20summaryResults\x20found.','accessibilityOptions','icaCY','workerInfo','testInfo','jqBYQ','needsReview'];a38_0x4ed8=function(){return _0x40cab4;};return a38_0x4ed8();}const util=require(a38_0x29dcb9(0x94)),logger=require(a38_0x29dcb9(0x8c))[a38_0x29dcb9(0xcd)],{automationLogger}=require(a38_0x29dcb9(0x8c)),{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{isUndefined,isBrowserstackInfra}=require('../../helpers/helper'),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require('../../helpers/performance/performance-tester'),{A11Y_EVENTS:PerformanceA11yEvents}=require(a38_0x29dcb9(0xd5)),accessibilityHelper=require(a38_0x29dcb9(0xa9)),{AUTOMATION_LOG_COMMANDS}=require('../utils/constants');function a38_0x3444(_0x1bb818,_0x474530){const _0x4ed8db=a38_0x4ed8();return a38_0x3444=function(_0x344468,_0x2ef036){_0x344468=_0x344468-0x6f;let _0x5b7ea7=_0x4ed8db[_0x344468];return _0x5b7ea7;},a38_0x3444(_0x1bb818,_0x474530);}exports[a38_0x29dcb9(0xaf)]=async(_0x352eb8,_0x31b5c4,_0x32ccd1={})=>{const _0x3a0a42=a38_0x29dcb9,_0x42cdaa={};_0x42cdaa[_0x3a0a42(0x7a)]=_0x3a0a42(0xfb),_0x42cdaa['BurMZ']=function(_0x293d88,_0x2375bc){return _0x293d88===_0x2375bc;},_0x42cdaa[_0x3a0a42(0xfa)]=_0x3a0a42(0xf6);const _0x389805=_0x42cdaa,_0x1e70b7=await _0x352eb8[_0x3a0a42(0x84)]('(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'+_0x31b5c4[_0x3a0a42(0xf4)](/arguments/g,_0x389805[_0x3a0a42(0x7a)])+_0x3a0a42(0xb1)+JSON['stringify'](_0x32ccd1)+')');try{if(_0x31b5c4&&_0x389805[_0x3a0a42(0xc5)](typeof _0x31b5c4,_0x389805[_0x3a0a42(0xfa)])){const _0x224093=AUTOMATION_LOG_COMMANDS['find'](_0xdea7ec=>_0x31b5c4[_0x3a0a42(0xf2)](_0xdea7ec));if(_0x224093){const _0x2759ac={};_0x2759ac[_0x3a0a42(0xb0)]=_0x224093,_0x2759ac[_0x3a0a42(0xa0)]=[_0x32ccd1];const _0x3114a5={};_0x3114a5[_0x3a0a42(0xc3)]=_0x1e70b7;const _0x2c644a={};_0x2c644a[_0x3a0a42(0x8d)]=_0x2759ac,_0x2c644a[_0x3a0a42(0x8b)]=_0x3114a5,automationLogger[_0x3a0a42(0xba)]('['+new Date()[_0x3a0a42(0xc6)]()+_0x3a0a42(0xa6)+JSON[_0x3a0a42(0xbe)](_0x2c644a));}}}catch(_0x873dd2){logger[_0x3a0a42(0xb2)](_0x3a0a42(0xbd)+_0x873dd2[_0x3a0a42(0x78)]);}return _0x1e70b7;},exports[a38_0x29dcb9(0xe1)]=async(_0x299550,_0x57145d,_0x4b1b69={})=>{const _0x2c69a2=a38_0x29dcb9,_0x14c56f={};_0x14c56f[_0x2c69a2(0x80)]=function(_0x1d481f,_0x1d1a0a){return _0x1d481f===_0x1d1a0a;},_0x14c56f[_0x2c69a2(0xbc)]=_0x2c69a2(0xec),_0x14c56f[_0x2c69a2(0xa3)]=function(_0x406a5e,_0x1d237d){return _0x406a5e===_0x1d237d;},_0x14c56f[_0x2c69a2(0xde)]=_0x2c69a2(0xa8),_0x14c56f['aEgUU']=_0x2c69a2(0xfb);const _0x33114a=_0x14c56f;if(_0x33114a['EuFUu'](_0x299550[_0x2c69a2(0xf1)]['name'],_0x33114a[_0x2c69a2(0xbc)]))return await _0x299550[_0x2c69a2(0xea)](_0x57145d,_0x4b1b69);else{if(_0x33114a[_0x2c69a2(0xa3)](_0x299550[_0x2c69a2(0xf1)][_0x2c69a2(0xdf)],_0x33114a[_0x2c69a2(0xde)]))return await _0x299550['executeScript'](_0x2c69a2(0xdb)+_0x57145d[_0x2c69a2(0xf4)](/arguments/g,_0x33114a['aEgUU'])+_0x2c69a2(0x79)+JSON[_0x2c69a2(0xbe)](_0x4b1b69)+')');}},exports[a38_0x29dcb9(0xa1)]=async _0x4fe1bb=>{const _0x21f57f=a38_0x29dcb9,_0x5e26b1={};_0x5e26b1[_0x21f57f(0x9c)]=_0x21f57f(0xd1),_0x5e26b1['VvTTe']=_0x21f57f(0x8e),_0x5e26b1[_0x21f57f(0xcf)]=_0x21f57f(0xc8),_0x5e26b1[_0x21f57f(0xdd)]=_0x21f57f(0x90),_0x5e26b1[_0x21f57f(0x96)]=_0x21f57f(0x7e),_0x5e26b1[_0x21f57f(0xa7)]='accessibilityOptions.scannerVersion';const _0x3d2cd6=_0x5e26b1;_0x4fe1bb[_0x21f57f(0xb4)]&&(_0x4fe1bb['accessibilityOptions']['wcagVersion']&&(_0x4fe1bb[_0x3d2cd6['GTatk']]=_0x4fe1bb[_0x21f57f(0xb4)][_0x21f57f(0x87)]),_0x4fe1bb[_0x21f57f(0xb4)][_0x21f57f(0x92)]&&(_0x4fe1bb[_0x3d2cd6[_0x21f57f(0xab)]]=_0x4fe1bb[_0x21f57f(0xb4)][_0x21f57f(0x92)]),_0x4fe1bb[_0x21f57f(0xb4)][_0x21f57f(0x74)]&&(_0x4fe1bb[_0x3d2cd6[_0x21f57f(0xcf)]]=_0x4fe1bb['accessibilityOptions'][_0x21f57f(0x74)][_0x21f57f(0xe7)],_0x4fe1bb[_0x3d2cd6[_0x21f57f(0xdd)]]=_0x4fe1bb[_0x21f57f(0xb4)][_0x21f57f(0x74)][_0x21f57f(0xb9)]));const _0x29a108=JSON['parse'](process[_0x21f57f(0x77)][_0x21f57f(0xf8)])[_0x21f57f(0xe4)];_0x4fe1bb[_0x3d2cd6[_0x21f57f(0x96)]]=process['env'][_0x21f57f(0x9a)],_0x4fe1bb[_0x3d2cd6[_0x21f57f(0xa7)]]=_0x29a108,delete _0x4fe1bb[_0x21f57f(0xb4)];},exports[a38_0x29dcb9(0x93)]=async _0x772ceb=>{const _0x281479=a38_0x29dcb9,_0x4fd4c6={};_0x4fd4c6['szXww']=_0x281479(0x73),_0x4fd4c6[_0x281479(0xd4)]=_0x281479(0x70);const _0x2e89ca=_0x4fd4c6;if(global[_0x281479(0xa5)])try{const details={'url':await _0x772ceb.url(),'testhub_btcer_uuid':global.__workerDetails?.currentTest?.id};const mobileArgs=global.isMobilePlatform?{is_mobile_session:true,thTestRunUuid:global.__workerDetails?.currentTest?.thTestRunUuid}:{};logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x772ceb,scripts.performScan,mobileArgs)));},{command:'getAccessibilityResults',...details})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x772ceb,scripts.getResults,mobileArgs);},{...details})();return res;}catch{return logger['error'](_0x2e89ca[_0x281479(0x86)]),[];}else return logger[_0x281479(0xcb)](_0x2e89ca['ryfyq']),[];},exports[a38_0x29dcb9(0xcc)]=async(_0x27df59,_0x78d146='',_0x1857d2={},_0x2d0ec4={})=>{const _0x11f6ca=a38_0x29dcb9;logger[_0x11f6ca(0xb2)]('Performing\x20scan\x20with\x20method:\x20'+_0x78d146+_0x11f6ca(0xaa)+_0x27df59);const _0x5d3035={'url':await _0x27df59[_0x11f6ca(0x95)](),'testhub_btcer_uuid':global[_0x11f6ca(0xe6)]?.[_0x11f6ca(0xee)]?.['id']};if(global[_0x11f6ca(0xa5)])return await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x11f6ca(0x76)],async()=>{const _0x49e72f=_0x11f6ca,_0x4f64e7={};_0x4f64e7['command']=_0x78d146;const _0xdae7f=_0x4f64e7;_0x1857d2&&_0x1857d2[_0x49e72f(0x83)]&&(_0xdae7f[_0x49e72f(0x83)]=_0x1857d2[_0x49e72f(0x83)]);Object[_0x49e72f(0xe9)](_0xdae7f,_0x2d0ec4);const _0x39cea8=await exports[_0x49e72f(0xaf)](_0x27df59,scripts['performScan'],_0xdae7f);return _0x39cea8;},{'command':_0x78d146,..._0x5d3035})();},exports[a38_0x29dcb9(0x9e)]=async _0x49bf1e=>{const _0x198f2e=a38_0x29dcb9,_0x12d1c4={};_0x12d1c4[_0x198f2e(0x91)]=_0x198f2e(0xb3),_0x12d1c4[_0x198f2e(0x7d)]=_0x198f2e(0xbb);const _0x21a48d=_0x12d1c4;if(global[_0x198f2e(0xa5)])try{const mobileArgs=global.isMobilePlatform?{is_mobile_session:true,thTestRunUuid:global.__workerDetails?.currentTest?.thTestRunUuid}:{};await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x49bf1e,scripts.performScan,mobileArgs)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x49bf1e,scripts.getResultsSummary,mobileArgs);})();return summaryResults;}catch{return logger['debug'](_0x21a48d['SAotV']),{};}else return logger[_0x198f2e(0xcb)](_0x21a48d['TEACB']),{};},exports[a38_0x29dcb9(0xf5)]=_0x2dd4ee=>{const _0x5304c4=a38_0x29dcb9,_0x29b814={'QukGh':_0x5304c4(0xd9),'CnjOe':_0x5304c4(0xf3),'mQjbJ':function(_0x50b679,_0x3e0a72){return _0x50b679!==_0x3e0a72;},'zwYXN':_0x5304c4(0x89),'aquXc':function(_0x5950c7){return _0x5950c7();},'YGXyt':_0x5304c4(0xc7)};try{if(global[_0x5304c4(0xdc)])return logger[_0x5304c4(0xb2)](_0x29b814[_0x5304c4(0xc2)]),!![];const _0x289505=_0x2dd4ee[_0x5304c4(0xef)],_0x33ecd5=_0x2dd4ee['browser_version'];if(!accessibilityHelper[_0x5304c4(0xe3)](_0x289505))return logger[_0x5304c4(0xcb)](_0x29b814['CnjOe']),![];if(_0x29b814[_0x5304c4(0x71)](_0x33ecd5,_0x29b814[_0x5304c4(0xed)])){const _0x3a0d7d=_0x29b814['aquXc'](isBrowserstackInfra),_0x82dac6=accessibilityHelper[_0x5304c4(0xf0)](_0x289505,_0x3a0d7d),_0x659cfb=accessibilityHelper[_0x5304c4(0xad)](_0x289505);if(!accessibilityHelper['isVersionSupported'](_0x33ecd5,_0x82dac6)){const _0x56098e=_0x3a0d7d?'':_0x29b814[_0x5304c4(0xae)];return logger[_0x5304c4(0xcb)]('Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20'+_0x659cfb+_0x5304c4(0xfc)+_0x82dac6+_0x5304c4(0x97)+_0x56098e+'.'),![];}}}catch(_0x27eb2c){logger[_0x5304c4(0xb2)](_0x5304c4(0x9d)+util['format'](_0x27eb2c));}return!![];},exports[a38_0x29dcb9(0x8a)]=(_0x3841a6,_0x59335c,_0x3986ab)=>{const _0x57bb8b=a38_0x29dcb9,_0x20b955={'aCDUY':'browserstack.accessibilityOptions','lYZry':function(_0x1d85df){return _0x1d85df();},'jqBYQ':_0x57bb8b(0xf9),'vVXVQ':_0x57bb8b(0xf3),'icaCY':function(_0x325149,_0xb037c8){return _0x325149!==_0xb037c8;},'OsVCy':_0x57bb8b(0x89),'hNAbJ':function(_0x21d1ab){return _0x21d1ab();},'ZSUet':_0x57bb8b(0xc7),'eplnx':function(_0x1a6d13,_0x2d8237){return _0x1a6d13(_0x2d8237);},'ItFNZ':function(_0x5dc151,_0x51c2c4){return _0x5dc151===_0x51c2c4;},'cdoSj':_0x57bb8b(0xe5),'fQfdv':'chrome','EVEfF':'playwright-chromium','BdtOb':'chromium','LOBvL':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers\x20or\x20Android\x20Chrome.','xCaHM':function(_0x41bc18,_0x245219){return _0x41bc18+_0x245219;}};try{if(_0x20b955[_0x57bb8b(0xd8)](isAccessibilityAutomationSession)){global[_0x57bb8b(0xa5)]=!![];!_0x3841a6[_0x20b955[_0x57bb8b(0xb8)]]&&(global[_0x57bb8b(0xa5)]=![]);const _0x255e64=_0x3841a6[_0x57bb8b(0xd6)]||_0x3841a6['browser'],_0x59e37a=_0x3841a6['browser_version'];!accessibilityHelper[_0x57bb8b(0xe3)](_0x255e64)&&(logger['warn'](_0x20b955[_0x57bb8b(0xc0)]),global[_0x57bb8b(0xa5)]=![]);if(_0x20b955[_0x57bb8b(0xb5)](_0x59e37a,_0x20b955['OsVCy'])){const _0x3f9dfa=_0x20b955[_0x57bb8b(0x7c)](isBrowserstackInfra),_0xaf4fc4=accessibilityHelper[_0x57bb8b(0xf0)](_0x255e64,_0x3f9dfa),_0x1d387f=accessibilityHelper[_0x57bb8b(0xad)](_0x255e64);if(!accessibilityHelper[_0x57bb8b(0x99)](_0x59e37a,_0xaf4fc4)){const _0x548b8e=_0x3f9dfa?'':_0x20b955[_0x57bb8b(0x81)];logger[_0x57bb8b(0xcb)](_0x57bb8b(0xce)+_0x1d387f+'\x20browser\x20version\x20'+_0xaf4fc4+_0x57bb8b(0x97)+_0x548b8e+'.'),global[_0x57bb8b(0xa5)]=![];}}if(!_0x20b955['eplnx'](isUndefined,_0x3841a6[_0x57bb8b(0x88)])){const _0xe9de4a=(_0x3841a6['os']||'')[_0x57bb8b(0xa2)](),_0x30f59b=(_0x3841a6[_0x57bb8b(0xd6)]||_0x3841a6[_0x57bb8b(0xef)]||'')[_0x57bb8b(0xa2)](),_0x2a7be6=_0x20b955['ItFNZ'](_0xe9de4a,_0x20b955[_0x57bb8b(0xc1)])&&[_0x20b955[_0x57bb8b(0xd2)],_0x20b955[_0x57bb8b(0x7b)],_0x20b955[_0x57bb8b(0xca)]][_0x57bb8b(0xf2)](_0x30f59b);if(!_0x2a7be6)logger['warn'](_0x20b955['LOBvL']),global[_0x57bb8b(0xa5)]=![];else!accessibilityHelper[_0x57bb8b(0xe8)]()&&(logger[_0x57bb8b(0xcb)](accessibilityHelper['MOBILE_SCANNING_DISABLED_WARNING']),global[_0x57bb8b(0xa5)]=![]);}if(!global[_0x57bb8b(0xa5)]){_0x3841a6[_0x20b955[_0x57bb8b(0xb8)]]=![],Object[_0x57bb8b(0xa4)](_0x3841a6)[_0x57bb8b(0xd0)](_0x5e6205=>{const _0x2321ab=_0x57bb8b;_0x5e6205[_0x2321ab(0xe0)](_0x20b955[_0x2321ab(0x9f)])&&delete _0x3841a6[_0x5e6205];});const _0x268f55=_0x20b955[_0x57bb8b(0xc9)](_0x59335c,_0x20b955['eplnx'](encodeURIComponent,JSON[_0x57bb8b(0xbe)](_0x3841a6)));_0x3986ab&&(_0x3986ab[_0x57bb8b(0xee)][_0x57bb8b(0xb7)][_0x57bb8b(0x75)][_0x57bb8b(0xbf)][_0x57bb8b(0x7f)][_0x57bb8b(0xc4)]=_0x268f55,_0x3986ab[_0x57bb8b(0xb6)][_0x57bb8b(0x75)][_0x57bb8b(0xbf)][_0x57bb8b(0x7f)][_0x57bb8b(0xc4)]=_0x268f55);}}else global[_0x57bb8b(0xa5)]=![];}catch(_0x1428f5){logger[_0x57bb8b(0xb2)](_0x57bb8b(0x98)+util['format'](_0x1428f5));}};
1
+ const a38_0x483973=a38_0x5523;function a38_0x5523(_0x5d3077,_0x84527e){const _0x4452a2=a38_0x4452();return a38_0x5523=function(_0x552367,_0x2dc1fc){_0x552367=_0x552367-0x194;let _0x13cb8a=_0x4452a2[_0x552367];return _0x13cb8a;},a38_0x5523(_0x5d3077,_0x84527e);}(function(_0x13ef03,_0x22372f){const _0x329a97=a38_0x5523,_0x5a7aac=_0x13ef03();while(!![]){try{const _0x5584d9=parseInt(_0x329a97(0x203))/0x1*(-parseInt(_0x329a97(0x1b3))/0x2)+parseInt(_0x329a97(0x197))/0x3*(parseInt(_0x329a97(0x1a2))/0x4)+-parseInt(_0x329a97(0x1b5))/0x5+parseInt(_0x329a97(0x1c2))/0x6+-parseInt(_0x329a97(0x215))/0x7*(-parseInt(_0x329a97(0x1a6))/0x8)+parseInt(_0x329a97(0x221))/0x9*(parseInt(_0x329a97(0x1ac))/0xa)+-parseInt(_0x329a97(0x19e))/0xb;if(_0x5584d9===_0x22372f)break;else _0x5a7aac['push'](_0x5a7aac['shift']());}catch(_0x43bbc3){_0x5a7aac['push'](_0x5a7aac['shift']());}}}(a38_0x4452,0x55248));const util=require(a38_0x483973(0x1fb)),logger=require('../../helpers/logger')['winstonLogger'],{automationLogger}=require(a38_0x483973(0x226)),{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{isUndefined,isBrowserstackInfra}=require(a38_0x483973(0x1e1)),scripts=require(a38_0x483973(0x1dc)),PerformanceTester=require(a38_0x483973(0x1aa)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a38_0x483973(0x1bc)),accessibilityHelper=require(a38_0x483973(0x1da)),{AUTOMATION_LOG_COMMANDS}=require(a38_0x483973(0x1ff));exports['browserStackEvaluate']=async(_0x211a89,_0x55ce1d,_0x15d55f={})=>{const _0x2a55c0=a38_0x483973,_0xc31577={};_0xc31577[_0x2a55c0(0x1d7)]=_0x2a55c0(0x1b0),_0xc31577[_0x2a55c0(0x1d6)]=function(_0x4620cd,_0xfd81df){return _0x4620cd===_0xfd81df;},_0xc31577[_0x2a55c0(0x20c)]=_0x2a55c0(0x19d);const _0x5284ba=_0xc31577,_0x225487=await _0x211a89[_0x2a55c0(0x1c6)](_0x2a55c0(0x1f2)+_0x55ce1d[_0x2a55c0(0x1c8)](/arguments/g,_0x5284ba[_0x2a55c0(0x1d7)])+_0x2a55c0(0x223)+JSON['stringify'](_0x15d55f)+')');try{if(_0x55ce1d&&_0x5284ba[_0x2a55c0(0x1d6)](typeof _0x55ce1d,_0x5284ba[_0x2a55c0(0x20c)])){const _0x568aea=AUTOMATION_LOG_COMMANDS[_0x2a55c0(0x194)](_0x1201fd=>_0x55ce1d[_0x2a55c0(0x1b1)](_0x1201fd));if(_0x568aea){const _0x2722c5={};_0x2722c5[_0x2a55c0(0x1d1)]=_0x568aea,_0x2722c5['parameters']=[_0x15d55f];const _0x38895f={};_0x38895f[_0x2a55c0(0x1e7)]=_0x225487;const _0x4d9568={};_0x4d9568[_0x2a55c0(0x20e)]=_0x2722c5,_0x4d9568['response']=_0x38895f,automationLogger['silly']('['+new Date()[_0x2a55c0(0x1ae)]()+_0x2a55c0(0x1c0)+JSON[_0x2a55c0(0x199)](_0x4d9568));}}}catch(_0xf0a3f4){logger[_0x2a55c0(0x217)](_0x2a55c0(0x21b)+_0xf0a3f4[_0x2a55c0(0x1b2)]);}return _0x225487;},exports[a38_0x483973(0x1b7)]=async(_0x4ca56f,_0x4be57b,_0x1dbb4={})=>{const _0x1dd0b1=a38_0x483973,_0x376b55={};_0x376b55[_0x1dd0b1(0x1cc)]=function(_0x438eea,_0x4538a2){return _0x438eea===_0x4538a2;},_0x376b55[_0x1dd0b1(0x1f1)]=_0x1dd0b1(0x1df),_0x376b55['soXII']=function(_0x23f2d8,_0x3b5a48){return _0x23f2d8===_0x3b5a48;},_0x376b55[_0x1dd0b1(0x1e4)]=_0x1dd0b1(0x1af),_0x376b55[_0x1dd0b1(0x1e6)]=_0x1dd0b1(0x1b0);const _0x201984=_0x376b55;if(_0x201984[_0x1dd0b1(0x1cc)](_0x4ca56f[_0x1dd0b1(0x1c1)]['name'],_0x201984[_0x1dd0b1(0x1f1)]))return await _0x4ca56f[_0x1dd0b1(0x1dd)](_0x4be57b,_0x1dbb4);else{if(_0x201984[_0x1dd0b1(0x1ab)](_0x4ca56f['constructor'][_0x1dd0b1(0x227)],_0x201984[_0x1dd0b1(0x1e4)]))return await _0x4ca56f[_0x1dd0b1(0x1e8)](_0x1dd0b1(0x213)+_0x4be57b['replace'](/arguments/g,_0x201984[_0x1dd0b1(0x1e6)])+_0x1dd0b1(0x201)+JSON['stringify'](_0x1dbb4)+')');}},exports[a38_0x483973(0x1ce)]=async _0x3ddb01=>{const _0x2c4c2c=a38_0x483973,_0x58d9c6={};_0x58d9c6['ySzDG']='accessibilityOptions.wcagVersion',_0x58d9c6[_0x2c4c2c(0x19a)]=_0x2c4c2c(0x198),_0x58d9c6[_0x2c4c2c(0x224)]=_0x2c4c2c(0x21c),_0x58d9c6[_0x2c4c2c(0x19b)]=_0x2c4c2c(0x20d),_0x58d9c6[_0x2c4c2c(0x21a)]=_0x2c4c2c(0x1b8),_0x58d9c6[_0x2c4c2c(0x1f3)]=_0x2c4c2c(0x196);const _0x5bdc55=_0x58d9c6;_0x3ddb01[_0x2c4c2c(0x222)]&&(_0x3ddb01[_0x2c4c2c(0x222)]['wcagVersion']&&(_0x3ddb01[_0x5bdc55[_0x2c4c2c(0x1a0)]]=_0x3ddb01['accessibilityOptions'][_0x2c4c2c(0x1f4)]),_0x3ddb01[_0x2c4c2c(0x222)][_0x2c4c2c(0x195)]&&(_0x3ddb01[_0x5bdc55[_0x2c4c2c(0x19a)]]=_0x3ddb01['accessibilityOptions'][_0x2c4c2c(0x195)]),_0x3ddb01[_0x2c4c2c(0x222)]['includeIssueType']&&(_0x3ddb01[_0x5bdc55['ZjIVI']]=_0x3ddb01[_0x2c4c2c(0x222)][_0x2c4c2c(0x1db)][_0x2c4c2c(0x200)],_0x3ddb01[_0x5bdc55['gENNc']]=_0x3ddb01[_0x2c4c2c(0x222)][_0x2c4c2c(0x1db)]['needsReview']));const _0x5ad4fc=JSON[_0x2c4c2c(0x1d0)](process[_0x2c4c2c(0x219)][_0x2c4c2c(0x21f)])[_0x2c4c2c(0x1fa)];_0x3ddb01[_0x5bdc55[_0x2c4c2c(0x21a)]]=process[_0x2c4c2c(0x219)]['BS_A11Y_JWT'],_0x3ddb01[_0x5bdc55['jRdif']]=_0x5ad4fc,delete _0x3ddb01[_0x2c4c2c(0x222)];},exports['getAccessibilityResults']=async _0x414508=>{const _0x3a0be0=a38_0x483973,_0x521832={};_0x521832[_0x3a0be0(0x1b4)]=_0x3a0be0(0x1e2),_0x521832[_0x3a0be0(0x1ef)]=_0x3a0be0(0x1be);const _0x17f8d3=_0x521832;if(global[_0x3a0be0(0x210)])try{const details={'url':await _0x414508.url(),'testhub_btcer_uuid':global.__workerDetails?.currentTest?.id};const mobileArgs=global.isMobilePlatform?{is_mobile_session:true,thTestRunUuid:global.__workerDetails?.currentTest?.thTestRunUuid}:{};logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x414508,scripts.performScan,mobileArgs)));},{command:'getAccessibilityResults',...details})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x414508,scripts.getResults,mobileArgs);},{...details})();return res;}catch{return logger[_0x3a0be0(0x1a7)](_0x17f8d3[_0x3a0be0(0x1b4)]),[];}else return logger[_0x3a0be0(0x1c3)](_0x17f8d3[_0x3a0be0(0x1ef)]),[];},exports[a38_0x483973(0x1cd)]=async(_0x419604,_0x3497b1='',_0x149b33={},_0x51a098={})=>{const _0x2c07cf=a38_0x483973;logger[_0x2c07cf(0x217)]('Performing\x20scan\x20with\x20method:\x20'+_0x3497b1+_0x2c07cf(0x206)+_0x419604);const _0x5b57a8={'url':await _0x419604[_0x2c07cf(0x21d)](),'testhub_btcer_uuid':global['__workerDetails']?.[_0x2c07cf(0x1d3)]?.['id']};if(global['accessibilityPlatform'])return await PerformanceTester[_0x2c07cf(0x1f7)](PerformanceA11yEvents[_0x2c07cf(0x1a9)],async()=>{const _0x2cfab6=_0x2c07cf,_0x58ddb4={};_0x58ddb4['command']=_0x3497b1;const _0x33926f=_0x58ddb4;_0x149b33&&_0x149b33[_0x2cfab6(0x1e3)]&&(_0x33926f[_0x2cfab6(0x1e3)]=_0x149b33[_0x2cfab6(0x1e3)]);Object[_0x2cfab6(0x208)](_0x33926f,_0x51a098);const _0xc5edde=await exports[_0x2cfab6(0x1ec)](_0x419604,scripts[_0x2cfab6(0x1cd)],_0x33926f);return _0xc5edde;},{'command':_0x3497b1,..._0x5b57a8})();},exports[a38_0x483973(0x1a4)]=async _0x54876b=>{const _0x5e3428=a38_0x483973,_0x25a49b={};_0x25a49b['IJpXC']=_0x5e3428(0x1b9),_0x25a49b[_0x5e3428(0x1bb)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.';const _0x15323b=_0x25a49b;if(global[_0x5e3428(0x210)])try{const mobileArgs=global.isMobilePlatform?{is_mobile_session:true,thTestRunUuid:global.__workerDetails?.currentTest?.thTestRunUuid}:{};await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x54876b,scripts.performScan,mobileArgs)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x54876b,scripts.getResultsSummary,mobileArgs);})();return summaryResults;}catch{return logger[_0x5e3428(0x217)](_0x15323b[_0x5e3428(0x1fe)]),{};}else return logger[_0x5e3428(0x1c3)](_0x15323b[_0x5e3428(0x1bb)]),{};},exports[a38_0x483973(0x1fd)]=_0x56d2f8=>{const _0x9047b3=a38_0x483973,_0x37ce85={'fdHnE':_0x9047b3(0x1f5),'yclag':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','yYDXI':function(_0x289734,_0x77f118){return _0x289734!==_0x77f118;},'aNcMU':'latest','Fmbmn':function(_0x86a712){return _0x86a712();},'oHAqd':'on\x20non-BrowserStack\x20infrastructure\x20'};try{if(global[_0x9047b3(0x209)])return logger[_0x9047b3(0x217)](_0x37ce85['fdHnE']),!![];const _0x4ed5ee=_0x56d2f8[_0x9047b3(0x1d5)],_0x41d5c6=_0x56d2f8[_0x9047b3(0x1d9)];if(!accessibilityHelper[_0x9047b3(0x1e0)](_0x4ed5ee))return logger[_0x9047b3(0x1c3)](_0x37ce85[_0x9047b3(0x1b6)]),![];if(_0x37ce85['yYDXI'](_0x41d5c6,_0x37ce85[_0x9047b3(0x202)])){const _0x2129d3=_0x37ce85[_0x9047b3(0x1fc)](isBrowserstackInfra),_0x3bb3dd=accessibilityHelper[_0x9047b3(0x205)](_0x4ed5ee,_0x2129d3),_0xe4e562=accessibilityHelper[_0x9047b3(0x212)](_0x4ed5ee);if(!accessibilityHelper[_0x9047b3(0x1eb)](_0x41d5c6,_0x3bb3dd)){const _0x1e121a=_0x2129d3?'':_0x37ce85[_0x9047b3(0x1c5)];return logger[_0x9047b3(0x1c3)](_0x9047b3(0x1c4)+_0xe4e562+_0x9047b3(0x1e5)+_0x3bb3dd+_0x9047b3(0x1d2)+_0x1e121a+'.'),![];}}}catch(_0x3ad16d){logger[_0x9047b3(0x217)](_0x9047b3(0x20b)+util[_0x9047b3(0x1f0)](_0x3ad16d));}return!![];},exports[a38_0x483973(0x1c7)]=(_0x55fd2e,_0x55bb65,_0x777261)=>{const _0x21dd4a=a38_0x483973,_0x5acb3c={'LlFiu':_0x21dd4a(0x211),'GKCxd':function(_0x288d80){return _0x288d80();},'mkpBN':_0x21dd4a(0x1f8),'oIPEn':_0x21dd4a(0x20f),'yHBKG':function(_0x48f5a9,_0x2a9291){return _0x48f5a9!==_0x2a9291;},'zHMtI':_0x21dd4a(0x21e),'nykZz':function(_0x2c928c){return _0x2c928c();},'nQwmV':'on\x20non-BrowserStack\x20infrastructure\x20','MoMZt':function(_0x2e6931,_0x46406f){return _0x2e6931(_0x46406f);},'BbfzN':function(_0x274db3,_0x3cb23f){return _0x274db3===_0x3cb23f;},'GjUkF':_0x21dd4a(0x1de),'OtsEi':_0x21dd4a(0x1a1),'AJKSN':_0x21dd4a(0x214),'HhxvV':_0x21dd4a(0x220),'wxjXe':_0x21dd4a(0x1a8),'OLfHt':function(_0x1e9821,_0x37712f){return _0x1e9821+_0x37712f;}};try{if(_0x5acb3c[_0x21dd4a(0x1e9)](isAccessibilityAutomationSession)){global[_0x21dd4a(0x210)]=!![];!_0x55fd2e[_0x5acb3c[_0x21dd4a(0x1a3)]]&&(global[_0x21dd4a(0x210)]=![]);const _0xec2576=_0x55fd2e[_0x21dd4a(0x1cb)]||_0x55fd2e[_0x21dd4a(0x1d5)],_0x461bce=_0x55fd2e[_0x21dd4a(0x1d9)];!accessibilityHelper['isBrowserSupportedForAccessibility'](_0xec2576)&&(logger[_0x21dd4a(0x1c3)](_0x5acb3c[_0x21dd4a(0x218)]),global[_0x21dd4a(0x210)]=![]);if(_0x5acb3c[_0x21dd4a(0x1cf)](_0x461bce,_0x5acb3c['zHMtI'])){const _0x360e44=_0x5acb3c[_0x21dd4a(0x1ca)](isBrowserstackInfra),_0x5806c6=accessibilityHelper[_0x21dd4a(0x205)](_0xec2576,_0x360e44),_0xa24bed=accessibilityHelper['getBrowserDisplayName'](_0xec2576);if(!accessibilityHelper['isVersionSupported'](_0x461bce,_0x5806c6)){const _0x209cee=_0x360e44?'':_0x5acb3c[_0x21dd4a(0x225)];logger[_0x21dd4a(0x1c3)]('Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20'+_0xa24bed+_0x21dd4a(0x1e5)+_0x5806c6+'\x20or\x20higher\x20'+_0x209cee+'.'),global[_0x21dd4a(0x210)]=![];}}if(!_0x5acb3c[_0x21dd4a(0x207)](isUndefined,_0x55fd2e[_0x21dd4a(0x1ea)])){const _0x48ce80=(_0x55fd2e['os']||'')['toLowerCase'](),_0x45557a=(_0x55fd2e[_0x21dd4a(0x1cb)]||_0x55fd2e[_0x21dd4a(0x1d5)]||'')['toLowerCase'](),_0x2a4a06=_0x5acb3c[_0x21dd4a(0x216)](_0x48ce80,_0x5acb3c[_0x21dd4a(0x1ee)])&&[_0x5acb3c[_0x21dd4a(0x1bf)],_0x5acb3c[_0x21dd4a(0x1c9)],_0x5acb3c[_0x21dd4a(0x19c)]][_0x21dd4a(0x1b1)](_0x45557a);if(!_0x2a4a06)logger[_0x21dd4a(0x1c3)](_0x5acb3c[_0x21dd4a(0x1f9)]),global[_0x21dd4a(0x210)]=![];else!accessibilityHelper[_0x21dd4a(0x19f)]()&&(logger[_0x21dd4a(0x1c3)](accessibilityHelper[_0x21dd4a(0x1ed)]),global[_0x21dd4a(0x210)]=![]);}if(!global[_0x21dd4a(0x210)]){_0x55fd2e[_0x5acb3c['mkpBN']]=![],Object[_0x21dd4a(0x1d8)](_0x55fd2e)[_0x21dd4a(0x1d4)](_0x398a70=>{const _0x5158d8=_0x21dd4a;_0x398a70[_0x5158d8(0x204)](_0x5acb3c[_0x5158d8(0x1bd)])&&delete _0x55fd2e[_0x398a70];});const _0x471710=_0x5acb3c[_0x21dd4a(0x229)](_0x55bb65,_0x5acb3c[_0x21dd4a(0x207)](encodeURIComponent,JSON[_0x21dd4a(0x199)](_0x55fd2e)));_0x777261&&(_0x777261[_0x21dd4a(0x1d3)][_0x21dd4a(0x1a5)][_0x21dd4a(0x20a)][_0x21dd4a(0x1ad)][_0x21dd4a(0x1f6)][_0x21dd4a(0x1ba)]=_0x471710,_0x777261['workerInfo'][_0x21dd4a(0x20a)][_0x21dd4a(0x1ad)][_0x21dd4a(0x1f6)][_0x21dd4a(0x1ba)]=_0x471710);}}else global[_0x21dd4a(0x210)]=![];}catch(_0x4d218b){logger['debug'](_0x21dd4a(0x228)+util[_0x21dd4a(0x1f0)](_0x4d218b));}};function a38_0x4452(){const _0x23e319=['keys','browser_version','../../helpers/accessibility-automation/helper','includeIssueType','../../helpers/accessibility-automation/scripts','executeAsyncScript','android','WebDriver','isBrowserSupportedForAccessibility','../../helpers/helper','No\x20accessibility\x20results\x20were\x20found.','includePartOfPageScope','udyXS','\x20browser\x20version\x20','lSqkO','body','executeScript','GKCxd','deviceName','isVersionSupported','browserStackEvaluate','MOBILE_SCANNING_DISABLED_WARNING','GjUkF','eZNNt','format','hvPls','(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','jRdif','wcagVersion','platformValidation:\x20Mobile\x20platform\x20already\x20validated.','connectOptions','measureWrapper','browserstack.accessibility','wxjXe','scannerVersion','util','Fmbmn','platformValidation','IJpXC','../utils/constants','bestPractice','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','aNcMU','4754bitcvS','startsWith','getMinVersionForBrowser','\x20page:\x20','MoMZt','assign','isMobilePlatform','project','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','PdHXe','accessibilityOptions.includeIssueType.needsReview','request','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','accessibilityPlatform','browserstack.accessibilityOptions','getBrowserDisplayName','(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','playwright-chromium','14966PklHuc','BbfzN','debug','oIPEn','env','OiglY','[A11Y]\x20Error\x20logging\x20SDK-AUTOMATION\x20for\x20browserStackEvaluate:\x20','accessibilityOptions.includeIssueType.bestPractice','url','latest','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','chromium','1215hgspbv','accessibilityOptions','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','ZjIVI','nQwmV','../../helpers/logger','name','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','OLfHt','find','scannerProcessingTimeout','accessibilityOptions.scannerVersion','33QKYaZu','accessibilityOptions.scannerProcessingTimeout','stringify','GEOpR','gENNc','HhxvV','string','8633570hxwmqh','isMobileScanningEnabledForGroup','ySzDG','chrome','26924HPYsOl','mkpBN','getAccessibilityResultsSummary','testInfo','2192QpuHXv','error','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers\x20or\x20Android\x20Chrome.','PERFORM_SCAN','../../helpers/performance/performance-tester','soXII','26470jJNzzo','use','toISOString','Playwright','bstackSdkArgs','includes','message','52xVAhhB','xVbSI','1905805kNaVgr','yclag','browserStackExecuteDriver','accessibilityOptions.authToken','No\x20summaryResults\x20found.','wsEndpoint','caPry','../../helpers/performance/constants','LlFiu','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','OtsEi','][\x20SDK-AUTOMATION\x20]\x20','constructor','3727086IMAzdh','warn','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20','oHAqd','evaluate','processAccessibilityCaps','replace','AJKSN','nykZz','browserName','LitRb','performScan','setAccessibilityCapabilities','yHBKG','parse','command','\x20or\x20higher\x20','currentTest','forEach','browser','mPMZO','owJAJ'];a38_0x4452=function(){return _0x23e319;};return a38_0x4452();}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a39_0x20895a=a39_0x5e60;function a39_0x3355(){const _0x3e8e39=['PcpwW','dBBLe','playwright-browserstack-sdk.config.js','UQLHa','Proxy\x20url\x20:\x20','reportDotBrowserStackFolderNotAccessibleIssue','6718970qiXOAU','slice','MODULE','exports','uOhVu','4743CKYhQy','isFalse','child_process','kRIGs','aITdf','lNojb','cliConfig','filterBrowserstackArgs','path','../v2/cliUtils','forEach','indexOf','../../helpers/BrowserStackSetup','measureWrapper','trace_','sWcDP','6FyEwgf','./reporter/pwUtils','R_OK','IcZUO','close','trim','error','bootstrap','mFMdH','DUycy','YUfzy','has','--grep','eLWGW','writeFileSync','configPath','SDK_PRE_INITIALIZE','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','diMbi','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','serializeToYamlString','ufgpe','SDK_POST_INITIALIZE','accessibility','parse','Etigy','WMuiQ','../../helpers/testhub/testhubHandler','BROWSERSTACK_AUTOMATION','XDnng','../v2/TestInfo','debug','cUALN','BROWSERSTACK_TEST_ACCESSIBILITY_YML','util','SDK_CLEANUP','KOGIE','launchBuild','accessSync','\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','MfVyM','unlinkSync','INTERNALLY_USED_ENV_VARS','VsRRv','BvPVR','tBFbW','getProxyUrl','automation','reportConflictingEnvVarIssue','resolve','../../helpers/logger','yrshV','push','WWbsN','../../helpers/test-observability/constants','info','ObdfP','brZtC','Uzhts','setFrameworkDetail','MjNjZ','../../helpers/performance/performance-tester','2937180hKyKii','test','isUndefined','../utils/clientTroubleshootingService','PACKAGE_TYPE','start','concat','pw_result.json','--config=','constants','platform','yarn','../../helpers/accessibility-automation/helper','startsWith','PLAYWRIGHT','XECxi','length','playwright-browserstack-sdk.config.cjs','requirePWModule','shutdown','cmTgj','homedir','4819463nJksFY','xTzuO','YqzdO','isTrue','\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}catch{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20This\x20is\x20a\x20failsafe\x20if\x20global-agent\x20present\x20inside\x20sdk\x20node_modules\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22./node_modules/browserstack-node-sdk/node_modules/global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap();','wkRYW','browserstackAutomation','QAXOJ','cwd','Error\x20in\x20accessing\x20.browserstack\x20directory:\x20','nRPVk','clearTempPWConfig','getInstance','../../helpers/utilities','errorMessage','30uFiLRG','requireConfigLoaderYarnPnP','ezAgb','splice','cRDep','CvAsG','yvQIu','734fZADiB','env','exitCode','dirname','11059497JSNxDg','JOGyy','readFileSync','fmxHy','BROWSERSTACK_TEST_OBSERVABILITY','isRunning','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','browserstackSetupConfig.json','filter','702521kgXGag','OGzNa','true','dmzkT','ZbHsC','existsSync','npx','8kCruRj','Deleting\x20','BCVOe','xfBZA','uYtDc','stringify','ccuHd','--config','./reporter/test-details','bslQv','718893WfOhnK','end','accessibilityOptions','nestedKeyValue','BROWSERSTACK_PW_CONFIG_DIR','dSZvD','yZjfU','testContextOptions','MoQvl','--disable-test-observability','../v2/browserstackCLI','wqTfX','assign','finalExecution','apply','Koiox','stop','logLevel','Playwright\x20process\x20exited\x20with\x20code\x20','drMSd','Error\x20in\x20getting\x20funnel\x20data\x20results','isYarnPnP','FdmVV','SDK_SETUP','getConfig','win32','USER_CONFIG_DETAILS_PATH','EVENTS','get','Yvory','vAicR','skipSessionName','testObservability','../../helpers/performance/constants','initialize','Updated\x20config\x20file\x20name\x20to\x20-\x20','join','./accessibility-helper','isCLIEnabled','config','playwright','../../helpers/helper','suPjc','BROWSERSTACK_RERUN'];a39_0x3355=function(){return _0x3e8e39;};return a39_0x3355();}function a39_0x5e60(_0x578e13,_0x43d9ae){const _0x33557b=a39_0x3355();return a39_0x5e60=function(_0x5e60a3,_0x58edbe){_0x5e60a3=_0x5e60a3-0x104;let _0x1dbb20=_0x33557b[_0x5e60a3];return _0x1dbb20;},a39_0x5e60(_0x578e13,_0x43d9ae);}(function(_0x2c459b,_0x268146){const _0x2d7d7c=a39_0x5e60,_0x4e91fb=_0x2c459b();while(!![]){try{const _0x38dd06=-parseInt(_0x2d7d7c(0x135))/0x1+parseInt(_0x2d7d7c(0x128))/0x2*(-parseInt(_0x2d7d7c(0x17d))/0x3)+parseInt(_0x2d7d7c(0x1cb))/0x4+-parseInt(_0x2d7d7c(0x178))/0x5*(-parseInt(_0x2d7d7c(0x18d))/0x6)+-parseInt(_0x2d7d7c(0x146))/0x7+parseInt(_0x2d7d7c(0x13c))/0x8*(-parseInt(_0x2d7d7c(0x12c))/0x9)+parseInt(_0x2d7d7c(0x121))/0xa*(parseInt(_0x2d7d7c(0x112))/0xb);if(_0x38dd06===_0x268146)break;else _0x4e91fb['push'](_0x4e91fb['shift']());}catch(_0xf46b48){_0x4e91fb['push'](_0x4e91fb['shift']());}}}(a39_0x3355,0xbdfe0));const fs=require('fs'),path=require(a39_0x20895a(0x185)),{spawn}=require(a39_0x20895a(0x17f)),{format}=require(a39_0x20895a(0x1af)),logger=require(a39_0x20895a(0x1bf))['winstonLogger'],{default:BrowserStackSetup}=require(a39_0x20895a(0x189)),helper=require(a39_0x20895a(0x16f)),utilities=require(a39_0x20895a(0x11f)),constants=require('../utils/constants'),{FRAMEWORKS}=require(a39_0x20895a(0x1c3)),{getConfigLoaderPath}=require(a39_0x20895a(0x18e)),{checkAccessibilityPlatformConfig}=require(a39_0x20895a(0x108)),{setAccessibilityCapabilities}=require(a39_0x20895a(0x16b)),{printBuildLink}=require('../../helpers/test-observability/utils'),TestDetails=require(a39_0x20895a(0x144)),TestHubHandler=require(a39_0x20895a(0x1a8)),PerformanceTester=require(a39_0x20895a(0x1ca)),BrowserstackCLI=require(a39_0x20895a(0x150)),PerformanceEvents=require(a39_0x20895a(0x167))[a39_0x20895a(0x161)],CLIUtils=require(a39_0x20895a(0x186)),TestInfo=require(a39_0x20895a(0x1ab)),ClientTroubleShootingService=require(a39_0x20895a(0x1ce)),getUserPlaywrightConfig=async(_0x84e683,_0x50b642)=>{const _0x5725c3=a39_0x20895a,_0x3dfdb5={'WMuiQ':function(_0x4ebb9b){return _0x4ebb9b();},'uYtDc':function(_0x5712a4){return _0x5712a4();},'cAoJq':function(_0x12773c,_0x350f26){return _0x12773c(_0x350f26);},'FdmVV':function(_0x41597b,_0x641751){return _0x41597b(_0x641751);},'yvQIu':'resolvedConfigFile','cRDep':_0x5725c3(0x104)},_0x33a613=!helper[_0x5725c3(0x1cd)](_0x84e683[_0x5725c3(0x16d)]),_0x5d4a37=_0x33a613?path[_0x5725c3(0x1be)](process[_0x5725c3(0x11a)](),_0x84e683['config']):process['cwd'](),{resolveConfigFile:_0x1a3a91,resolveConfigLocation:_0x57343a}=helper[_0x5725c3(0x15b)]()?helper[_0x5725c3(0x122)](..._0x3dfdb5[_0x5725c3(0x1a7)](getConfigLoaderPath)):helper[_0x5725c3(0x10e)][_0x5725c3(0x154)](null,_0x3dfdb5[_0x5725c3(0x140)](getConfigLoaderPath)),_0x3c6d46=_0x1a3a91?_0x3dfdb5['cAoJq'](_0x1a3a91,_0x5d4a37):helper[_0x5725c3(0x149)](_0x3dfdb5[_0x5725c3(0x15c)](_0x57343a,_0x5d4a37),[_0x3dfdb5[_0x5725c3(0x127)]]),_0x4213b5={};if(_0x33a613){const _0x9a8291=_0x50b642['findIndex'](_0x31f63c=>_0x31f63c===_0x5725c3(0x143)||_0x31f63c==='-c'||_0x31f63c[_0x5725c3(0x109)]('--config='));_0x50b642[_0x5725c3(0x124)](_0x9a8291,_0x50b642[_0x9a8291][_0x5725c3(0x109)](_0x3dfdb5[_0x5725c3(0x125)])?0x1:0x2);}const _0x513023={};return _0x513023[_0x5725c3(0x185)]=_0x3c6d46,_0x513023[_0x5725c3(0x16d)]=_0x4213b5,_0x513023;},handleO11yRerun=_0x1e4aeb=>{const _0x554bb9=a39_0x20895a,_0x397236={};_0x397236[_0x554bb9(0x136)]=_0x554bb9(0x199);const _0x1c7837=_0x397236,_0x52cff5=helper[_0x554bb9(0x115)](process[_0x554bb9(0x129)][_0x554bb9(0x171)]);if(_0x52cff5){const _0x478cc4=process[_0x554bb9(0x129)]['BROWSERSTACK_RERUN_TESTS'],_0x55513f=[];if(helper['validateRerunTestList'](_0x478cc4)&&!helper[_0x554bb9(0x1cd)](_0x478cc4)){_0x478cc4['split'](',')['map'](_0x308346=>{const _0x341df=_0x554bb9;_0x55513f[_0x341df(0x1c1)]('('+_0x308346[_0x341df(0x192)]()+')');});const _0x301442='^'+_0x55513f[_0x554bb9(0x16a)]('|')+'$';_0x1e4aeb[_0x554bb9(0x1c1)](_0x1c7837[_0x554bb9(0x136)],_0x301442);}}},spawnOriginalProcess=_0x41d0d9=>{const _0x5b3d2f=a39_0x20895a,_0x4b2943={'dBBLe':function(_0x86ec0c,_0x476462,_0xd53b37,_0x40dd14){return _0x86ec0c(_0x476462,_0xd53b37,_0x40dd14);},'dmzkT':'yarn','bslQv':_0x5b3d2f(0x13b),'uOhVu':_0x5b3d2f(0x16e),'yZjfU':function(_0x24433c,_0x44ac67){return _0x24433c===_0x44ac67;},'mFMdH':_0x5b3d2f(0x15f),'ZbHsC':'inherit'};_0x4b2943[_0x5b3d2f(0x173)](spawn,helper[_0x5b3d2f(0x15b)]()?_0x4b2943[_0x5b3d2f(0x138)]:_0x4b2943[_0x5b3d2f(0x145)],[_0x4b2943[_0x5b3d2f(0x17c)],..._0x41d0d9[_0x5b3d2f(0x179)](0x1)],{'shell':_0x4b2943[_0x5b3d2f(0x14c)](process[_0x5b3d2f(0x106)],_0x4b2943[_0x5b3d2f(0x195)]),'stdio':_0x4b2943[_0x5b3d2f(0x139)],'cwd':process[_0x5b3d2f(0x11a)]()});},isTestCommand=(_0x264c39,_0x2d01db)=>{const _0x282a91=a39_0x20895a,_0x420a5b={};_0x420a5b[_0x282a91(0x1c2)]=function(_0x26f459,_0x18a035){return _0x26f459>_0x18a035;},_0x420a5b[_0x282a91(0x117)]=function(_0x2e119e,_0x268d93){return _0x2e119e===_0x268d93;},_0x420a5b[_0x282a91(0x19a)]=_0x282a91(0x1cc);const _0x4e2fe8=_0x420a5b;if(_0x4e2fe8[_0x282a91(0x1c2)](_0x2d01db[_0x282a91(0x10c)],0x1)&&_0x4e2fe8[_0x282a91(0x117)](_0x2d01db[0x1],_0x4e2fe8[_0x282a91(0x19a)]))return!![];return![];};async function run(_0x160ce0,_0x2e82e1,_0x76fed9){const _0x352ff5=a39_0x20895a,_0x577b5b={'YUfzy':function(_0x202712,_0xf4ba4d){return _0x202712(_0xf4ba4d);},'dSZvD':'.browserstack','elBla':_0x352ff5(0x1d2),'brZtC':function(_0x1358db,_0x5dbcbd){return _0x1358db+_0x5dbcbd;},'kRIGs':_0x352ff5(0x15a),'iICGG':function(_0x53c87c){return _0x53c87c();},'xTzuO':'Error\x20in\x20closing\x20playwright','VsRRv':'BrowserStack\x20config\x20file\x20not\x20found.','wqTfX':function(_0x4626db,_0xd8984f){return _0x4626db<_0xd8984f;},'fmxHy':function(_0x3f758,_0x288316){return _0x3f758===_0x288316;},'cUALN':'false','BCVOe':_0x352ff5(0x14f),'nRPVk':function(_0x740ef7,_0x392417){return _0x740ef7>=_0x392417;},'kmZsi':_0x352ff5(0x1bc),'AZWrR':function(_0x42c9da,_0x5a6db7){return _0x42c9da!=_0x5a6db7;},'Zfocb':function(_0x25f24b,_0x2920f3,_0x3a0074){return _0x25f24b(_0x2920f3,_0x3a0074);},'QAXOJ':function(_0xb95d41,_0x584a0b){return _0xb95d41===_0x584a0b;},'QyMgO':_0x352ff5(0x137),'ccuHd':function(_0x27b252,_0x338d55){return _0x27b252(_0x338d55);},'Etigy':function(_0x8eb435,_0x5c7245){return _0x8eb435(_0x5c7245);},'diMbi':_0x352ff5(0x133),'sWcDP':_0x352ff5(0x10d),'suPjc':_0x352ff5(0x174),'MoQvl':function(_0x209e54,_0x374ff4){return _0x209e54-_0x374ff4;},'Koiox':function(_0x15afff,_0x5ac9e6){return _0x15afff+_0x5ac9e6;},'Uzhts':_0x352ff5(0x169),'MfVyM':function(_0x296ad3,_0x1d4f55){return _0x296ad3>_0x1d4f55;},'ufgpe':function(_0x10ec3b,_0x2d7ec3){return _0x10ec3b+_0x2d7ec3;},'ydcWj':function(_0x4a2d8e,_0x467bcf,_0x2dde8c,_0x7176d5){return _0x4a2d8e(_0x467bcf,_0x2dde8c,_0x7176d5);},'aITdf':_0x352ff5(0x107),'UQLHa':'npx','BvPVR':'playwright','CvAsG':_0x352ff5(0x1cc),'XDnng':_0x352ff5(0x143),'ObdfP':function(_0x5866f8,_0x42c5b3){return _0x5866f8===_0x42c5b3;},'DUycy':_0x352ff5(0x15f),'XECxi':function(_0x2f96e6,_0x5c8174){return _0x2f96e6===_0x5c8174;},'tBFbW':'inherit','IcZUO':_0x352ff5(0x191),'xfBZA':function(_0x574194,_0x2120ef){return _0x574194|_0x2120ef;},'YhiZN':function(_0xf4ed5,_0xd98c19){return _0xf4ed5+_0xd98c19;},'KOGIE':_0x352ff5(0x11b),'vAicR':'Error\x20in\x20deleting\x20playwright\x20results','MjNjZ':function(_0x4a9142,_0x5daa7f,_0x22eeeb){return _0x4a9142(_0x5daa7f,_0x22eeeb);},'PcpwW':function(_0x2b42c9,_0x348d27){return _0x2b42c9(_0x348d27);}};try{const _0x27a356=path[_0x352ff5(0x16a)](helper['homedir'](),_0x577b5b[_0x352ff5(0x14b)]);try{fs[_0x352ff5(0x1b3)](_0x27a356,_0x577b5b[_0x352ff5(0x13f)](fs[_0x352ff5(0x105)][_0x352ff5(0x18f)],fs[_0x352ff5(0x105)]['W_OK']));}catch(_0x5046a6){ClientTroubleShootingService[_0x352ff5(0x177)]();}}catch(_0x242570){logger[_0x352ff5(0x1ac)](_0x577b5b['YhiZN'](_0x577b5b[_0x352ff5(0x1b1)],_0x242570));}try{const _0x155192=path['join'](helper[_0x352ff5(0x111)](),_0x577b5b['dSZvD'],_0x577b5b['elBla']);fs[_0x352ff5(0x13a)](_0x155192)&&fs[_0x352ff5(0x1b6)](_0x155192);}catch(_0x17bdf3){logger[_0x352ff5(0x1ac)](_0x577b5b[_0x352ff5(0x1a2)](_0x577b5b[_0x352ff5(0x164)],_0x17bdf3));}if(!_0x577b5b[_0x352ff5(0x1c9)](isTestCommand,_0x160ce0,_0x2e82e1)){_0x577b5b[_0x352ff5(0x172)](spawnOriginalProcess,_0x2e82e1);return;}await PerformanceTester[_0x352ff5(0x18a)](PerformanceEvents[_0x352ff5(0x19d)],async()=>{const _0x5d1e08=_0x352ff5,_0x48250a={'YqzdO':function(_0x7cd433,_0x3d0e4b){const _0x4edaad=a39_0x5e60;return _0x577b5b[_0x4edaad(0x197)](_0x7cd433,_0x3d0e4b);},'drMSd':_0x577b5b[_0x5d1e08(0x14b)],'cmTgj':_0x577b5b['elBla'],'Yvory':function(_0x2f1a2b,_0x2455f1){const _0x1beae2=_0x5d1e08;return _0x577b5b[_0x1beae2(0x1c6)](_0x2f1a2b,_0x2455f1);},'JOGyy':_0x577b5b[_0x5d1e08(0x180)],'lNojb':function(_0x1041c4){return _0x577b5b['iICGG'](_0x1041c4);},'yrshV':_0x577b5b[_0x5d1e08(0x113)]};if(!_0x76fed9['config']){logger[_0x5d1e08(0x193)](_0x577b5b[_0x5d1e08(0x1b8)]);return;}await _0x76fed9[_0x5d1e08(0x168)](_0x160ce0),CLIUtils[_0x5d1e08(0x1c8)](FRAMEWORKS['PLAYWRIGHT'],FRAMEWORKS[_0x5d1e08(0x10a)]),BrowserstackCLI[_0x5d1e08(0x11e)]()['setBrowserstackConfig'](_0x76fed9[_0x5d1e08(0x16d)],_0x76fed9[_0x5d1e08(0x19c)],_0x76fed9[_0x5d1e08(0x183)]),await BrowserstackCLI['getInstance']()[_0x5d1e08(0x194)]();for(var _0x5c88d5=0x0;_0x577b5b[_0x5d1e08(0x151)](_0x5c88d5,constants[_0x5d1e08(0x1b7)][_0x5d1e08(0x10c)]);_0x5c88d5++){var _0x4ab85c=constants[_0x5d1e08(0x1b7)][_0x5c88d5];process[_0x5d1e08(0x129)][_0x4ab85c]&&await ClientTroubleShootingService[_0x5d1e08(0x1bd)](_0x4ab85c);}const _0xe10f5b=BrowserstackCLI[_0x5d1e08(0x11e)]()[_0x5d1e08(0x15e)]();!helper[_0x5d1e08(0x17e)](_0xe10f5b[_0x5d1e08(0x118)])&&(process[_0x5d1e08(0x129)][_0x5d1e08(0x1a9)]=!![]);_0x577b5b[_0x5d1e08(0x12f)](_0xe10f5b[_0x5d1e08(0x118)],![])&&(process[_0x5d1e08(0x129)][_0x5d1e08(0x1a9)]=_0x577b5b[_0x5d1e08(0x1ad)],_0x2e82e1=_0x2e82e1['filter'](_0x2f45a7=>_0x2f45a7!=='--disable-browserstack-automation'));const _0x27b3c9=_0x2e82e1[_0x5d1e08(0x188)](_0x577b5b[_0x5d1e08(0x13e)]);(_0x577b5b[_0x5d1e08(0x11c)](_0x27b3c9,0x0)||_0x577b5b['fmxHy'](_0xe10f5b[_0x5d1e08(0x166)],![]))&&(process[_0x5d1e08(0x129)]['BROWSERSTACK_TEST_OBSERVABILITY']=_0x577b5b[_0x5d1e08(0x1ad)],_0x2e82e1=_0x2e82e1[_0x5d1e08(0x134)](_0x125248=>_0x125248!==_0x5d1e08(0x14f)));!helper[_0x5d1e08(0x1cd)](_0x76fed9['cliConfig'])&&_0x76fed9[_0x5d1e08(0x183)][_0x5d1e08(0x198)](_0x577b5b['kmZsi'])&&(process[_0x5d1e08(0x129)][_0x5d1e08(0x1a9)]=_0x76fed9[_0x5d1e08(0x183)][_0x5d1e08(0x162)](_0x577b5b['kmZsi'])||!![]);_0x577b5b['AZWrR'](_0x76fed9['config'][_0x5d1e08(0x166)],null)&&!helper['isTrue'](process[_0x5d1e08(0x129)][_0x5d1e08(0x130)])&&(process[_0x5d1e08(0x129)][_0x5d1e08(0x130)]=process['env']['BROWSERSTACK_TEST_OBSERVABILITY']||_0x76fed9[_0x5d1e08(0x16d)][_0x5d1e08(0x166)]);const _0x2cdf92=!helper[_0x5d1e08(0x17e)](process[_0x5d1e08(0x129)][_0x5d1e08(0x130)]);_0x76fed9[_0x5d1e08(0x16d)][_0x5d1e08(0x148)]&&(process[_0x5d1e08(0x129)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x5d1e08(0x141)](_0x76fed9[_0x5d1e08(0x16d)][_0x5d1e08(0x148)]));let _0x478bd9=![];_0x76fed9['config'][_0x5d1e08(0x1a4)]&&(_0x478bd9=!![],process[_0x5d1e08(0x129)][_0x5d1e08(0x1ae)]=_0x76fed9['config'][_0x5d1e08(0x1a4)]);const _0x3283cb=_0x2e82e1[_0x5d1e08(0x1d1)](),_0x2a0b77=await _0x577b5b['Zfocb'](getUserPlaywrightConfig,_0x160ce0,_0x2e82e1);if(helper[_0x5d1e08(0x1cd)](_0x2a0b77)){_0x577b5b[_0x5d1e08(0x197)](spawnOriginalProcess,_0x3283cb);return;}const _0x10acc5=_0x2a0b77[_0x5d1e08(0x185)]?path['dirname'](_0x2a0b77[_0x5d1e08(0x185)]):process[_0x5d1e08(0x11a)]();process['env'][_0x5d1e08(0x14a)]=_0x10acc5,await PerformanceTester['measureWrapper'](PerformanceEvents[_0x5d1e08(0x1a3)],async()=>{const _0x17ea25=_0x5d1e08;!BrowserstackCLI[_0x17ea25(0x11e)]()['isRunning']()&&await TestHubHandler[_0x17ea25(0x1b2)](FRAMEWORKS[_0x17ea25(0x10a)],_0x76fed9),_0x2cdf92&&_0x48250a[_0x17ea25(0x114)](handleO11yRerun,_0x2e82e1);})();if(!BrowserstackCLI['getInstance']()[_0x5d1e08(0x131)]()){let _0x1cb4d1=_0x577b5b[_0x5d1e08(0x119)](process[_0x5d1e08(0x129)][_0x5d1e08(0x1ae)],_0x577b5b['QyMgO']);_0x1cb4d1=_0x1cb4d1||_0x577b5b[_0x5d1e08(0x142)](checkAccessibilityPlatformConfig,_0x76fed9[_0x5d1e08(0x16d)]),process[_0x5d1e08(0x129)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x1cb4d1,_0x1cb4d1&&_0x577b5b[_0x5d1e08(0x1a6)](setAccessibilityCapabilities,_0x76fed9[_0x5d1e08(0x16d)]);}const _0xd8bea9=path[_0x5d1e08(0x16a)](_0x2a0b77[_0x5d1e08(0x185)]?path[_0x5d1e08(0x12b)](_0x2a0b77['path']):process[_0x5d1e08(0x11a)](),_0x577b5b[_0x5d1e08(0x19f)]);fs[_0x5d1e08(0x19b)](_0xd8bea9,helper[_0x5d1e08(0x1a1)](_0x76fed9[_0x5d1e08(0x16d)])),process[_0x5d1e08(0x129)]['BROWSERSTACK_SETUP_CONFIG_PATH']=_0xd8bea9,helper[_0x5d1e08(0x11d)]();let _0x3fc5ce='';_0x577b5b[_0x5d1e08(0x12f)](helper['getPackageType'](),constants[_0x5d1e08(0x1cf)][_0x5d1e08(0x17a)])?_0x3fc5ce=_0x577b5b[_0x5d1e08(0x18c)]:_0x3fc5ce=_0x577b5b[_0x5d1e08(0x170)];let _0x2bfad9='';if(helper['isTypescriptProject'](_0x2a0b77['path'])){_0x2bfad9=_0x5d1e08(0x19e);const _0x2fe927=_0x3fc5ce['split']('.');_0x2fe927[_0x577b5b[_0x5d1e08(0x14e)](_0x2fe927[_0x5d1e08(0x10c)],0x1)]='ts',_0x3fc5ce=_0x2fe927['join']('.'),logger[_0x5d1e08(0x1ac)](_0x577b5b[_0x5d1e08(0x155)](_0x577b5b[_0x5d1e08(0x1c7)],_0x3fc5ce));}else _0x2bfad9=_0x5d1e08(0x132);const _0x3b684f=path[_0x5d1e08(0x16a)](_0x2a0b77[_0x5d1e08(0x185)]?path[_0x5d1e08(0x12b)](_0x2a0b77['path']):process[_0x5d1e08(0x11a)](),_0x3fc5ce);let _0x1d59ba=_0x2a0b77[_0x5d1e08(0x185)]?_0x2a0b77['path']:'';_0x1d59ba=_0x577b5b[_0x5d1e08(0x1b5)](_0x1d59ba[_0x5d1e08(0x10c)],0x0)?path[_0x5d1e08(0x1be)](_0x1d59ba):'',process[_0x5d1e08(0x129)][_0x5d1e08(0x160)]=_0x1d59ba;const _0x10d094=helper[_0x5d1e08(0x1bb)](_0x76fed9[_0x5d1e08(0x16d)]),_0x45be81=helper['getNoProxy'](_0x76fed9[_0x5d1e08(0x16d)]);logger['debug'](_0x5d1e08(0x176)+_0x10d094),logger[_0x5d1e08(0x1ac)]('No\x20Proxy\x20:\x20'+_0x45be81);_0x10d094&&(_0x2bfad9=_0x577b5b['ufgpe'](_0x5d1e08(0x1a0)+_0x10d094+_0x5d1e08(0x1b4)+_0x45be81+_0x5d1e08(0x116),_0x2bfad9));helper[_0x5d1e08(0x184)]({},_0x2e82e1),fs[_0x5d1e08(0x19b)](_0x3b684f,_0x2bfad9),PerformanceTester[_0x5d1e08(0x147)](PerformanceEvents[_0x5d1e08(0x15d)]);const _0x316c16=_0x577b5b['ydcWj'](spawn,helper[_0x5d1e08(0x15b)]()?_0x577b5b[_0x5d1e08(0x181)]:_0x577b5b[_0x5d1e08(0x175)],[_0x577b5b[_0x5d1e08(0x1b9)],_0x577b5b[_0x5d1e08(0x126)],_0x577b5b[_0x5d1e08(0x1aa)],_0x577b5b[_0x5d1e08(0x1c5)](process[_0x5d1e08(0x106)],_0x577b5b[_0x5d1e08(0x196)])?'\x22'+_0x3b684f+'\x22':_0x3b684f,..._0x2e82e1[_0x5d1e08(0x179)](0x2)],{'shell':_0x577b5b[_0x5d1e08(0x10b)](process['platform'],_0x577b5b[_0x5d1e08(0x196)]),'stdio':_0x577b5b[_0x5d1e08(0x1ba)],'cwd':process['cwd'](),'env':Object[_0x5d1e08(0x152)]({},process[_0x5d1e08(0x129)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper['getConfigPath'](_0x160ce0),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x76fed9[_0x5d1e08(0x16d)][_0x5d1e08(0x14d)]['skipSessionStatus'],'BROWSERSTACK_SKIP_SESSION_NAME':_0x76fed9[_0x5d1e08(0x16d)]['testContextOptions'][_0x5d1e08(0x165)],'BROWSERSTACK_LOG_LEVEL':_0x76fed9[_0x5d1e08(0x16d)][_0x5d1e08(0x157)]})}),_0x560bb5=()=>{const _0x1cc288=_0x5d1e08;try{const _0x2d3b1d=path[_0x1cc288(0x16a)](helper['homedir'](),_0x48250a[_0x1cc288(0x159)],_0x48250a[_0x1cc288(0x110)]);if(fs[_0x1cc288(0x13a)](_0x2d3b1d)){let _0x5d3be4=fs[_0x1cc288(0x12e)](_0x2d3b1d);_0x5d3be4=JSON[_0x1cc288(0x1a5)](_0x5d3be4),_0x76fed9[_0x1cc288(0x120)]=_0x5d3be4,fs[_0x1cc288(0x1b6)](_0x2d3b1d);}}catch(_0x433d8d){logger[_0x1cc288(0x1ac)](_0x48250a[_0x1cc288(0x163)](_0x48250a[_0x1cc288(0x12d)],_0x433d8d));}};_0x316c16['on'](_0x577b5b[_0x5d1e08(0x190)],async _0x85277b=>{const _0xf08882=_0x5d1e08,_0x194a18={};_0x194a18['ezAgb']=_0x48250a[_0xf08882(0x159)];const _0x23c411=_0x194a18;try{PerformanceTester[_0xf08882(0x1d0)](PerformanceEvents[_0xf08882(0x1b0)]),_0x48250a[_0xf08882(0x182)](_0x560bb5),await TestHubHandler[_0xf08882(0x156)](),await ClientTroubleShootingService['reportFinalDetectionState']();const _0x284ac6=BrowserstackCLI[_0xf08882(0x16c)]();await BrowserstackCLI[_0xf08882(0x11e)]()[_0xf08882(0x156)](),TestDetails[_0xf08882(0x10f)](),_0x48250a[_0xf08882(0x182)](printBuildLink),await utilities[_0xf08882(0x153)](_0x76fed9,_0x284ac6),process[_0xf08882(0x12a)]=_0x85277b,logger[_0xf08882(0x1ac)](_0xf08882(0x158)+_0x85277b),logger[_0xf08882(0x1c4)]('Deleting\x20'+_0x3b684f),fs[_0xf08882(0x1b6)](_0x3b684f);fs[_0xf08882(0x13a)](_0xd8bea9)&&(logger[_0xf08882(0x1ac)](_0xf08882(0x13d)+_0xd8bea9),fs['unlinkSync'](_0xd8bea9));const _0x37bcff=fs['readdirSync'](path[_0xf08882(0x16a)](helper[_0xf08882(0x111)](),_0x48250a['drMSd']))[_0xf08882(0x134)](_0x4e7c0f=>_0x4e7c0f[_0xf08882(0x109)](_0xf08882(0x18b)));_0x37bcff[_0xf08882(0x187)](_0x30bd7c=>{const _0x1219ef=_0xf08882;fs['unlinkSync'](path['join'](helper[_0x1219ef(0x111)](),_0x23c411[_0x1219ef(0x123)],_0x30bd7c));});}catch(_0xf8f1ef){logger[_0xf08882(0x1ac)](_0x48250a[_0xf08882(0x163)](_0x48250a[_0xf08882(0x1c0)],_0xf8f1ef));}});})();}module[a39_0x20895a(0x17b)]=run;
2
+ 'use strict';const a39_0x9783da=a39_0x227c;(function(_0x1c9cde,_0x54b37c){const _0x4f8c5a=a39_0x227c,_0x2b0ed2=_0x1c9cde();while(!![]){try{const _0x27fb8c=-parseInt(_0x4f8c5a(0x1df))/0x1+parseInt(_0x4f8c5a(0x1be))/0x2+parseInt(_0x4f8c5a(0x13d))/0x3*(-parseInt(_0x4f8c5a(0x1d2))/0x4)+-parseInt(_0x4f8c5a(0x189))/0x5*(-parseInt(_0x4f8c5a(0x191))/0x6)+-parseInt(_0x4f8c5a(0x19c))/0x7+-parseInt(_0x4f8c5a(0x15d))/0x8*(parseInt(_0x4f8c5a(0x150))/0x9)+parseInt(_0x4f8c5a(0x1e0))/0xa;if(_0x27fb8c===_0x54b37c)break;else _0x2b0ed2['push'](_0x2b0ed2['shift']());}catch(_0x3bb0bd){_0x2b0ed2['push'](_0x2b0ed2['shift']());}}}(a39_0x27b2,0xda64f));function a39_0x227c(_0x57da8f,_0x53148f){const _0x27b235=a39_0x27b2();return a39_0x227c=function(_0x227cc5,_0x3bd5d5){_0x227cc5=_0x227cc5-0x13b;let _0x5449cb=_0x27b235[_0x227cc5];return _0x5449cb;},a39_0x227c(_0x57da8f,_0x53148f);}const fs=require('fs'),path=require(a39_0x9783da(0x144)),{spawn}=require('child_process'),{format}=require(a39_0x9783da(0x1b5)),logger=require('../../helpers/logger')[a39_0x9783da(0x1f7)],{default:BrowserStackSetup}=require(a39_0x9783da(0x1c5)),helper=require('../../helpers/helper'),utilities=require(a39_0x9783da(0x19b)),constants=require(a39_0x9783da(0x1d5)),{FRAMEWORKS}=require(a39_0x9783da(0x17a)),{getConfigLoaderPath}=require(a39_0x9783da(0x17b)),{checkAccessibilityPlatformConfig}=require(a39_0x9783da(0x196)),{setAccessibilityCapabilities}=require(a39_0x9783da(0x172)),{printBuildLink}=require('../../helpers/test-observability/utils'),TestDetails=require(a39_0x9783da(0x14b)),TestHubHandler=require(a39_0x9783da(0x1bd)),PerformanceTester=require(a39_0x9783da(0x16f)),BrowserstackCLI=require(a39_0x9783da(0x142)),PerformanceEvents=require(a39_0x9783da(0x145))[a39_0x9783da(0x198)],CLIUtils=require('../v2/cliUtils'),TestInfo=require(a39_0x9783da(0x15f)),ClientTroubleShootingService=require(a39_0x9783da(0x15c)),getUserPlaywrightConfig=async(_0x19b754,_0x47885c)=>{const _0x9a7027=a39_0x9783da,_0x2b5221={'MLDJP':function(_0x3376e6){return _0x3376e6();},'BByRi':function(_0x543f46,_0x5911d0){return _0x543f46(_0x5911d0);},'qYUqz':function(_0x36800c,_0x26e963){return _0x36800c(_0x26e963);},'fjXLH':_0x9a7027(0x184),'qpTqY':_0x9a7027(0x201)},_0x1f6ee9=!helper['isUndefined'](_0x19b754[_0x9a7027(0x1e8)]),_0x73ef7e=_0x1f6ee9?path['resolve'](process[_0x9a7027(0x1ad)](),_0x19b754[_0x9a7027(0x1e8)]):process[_0x9a7027(0x1ad)](),{resolveConfigFile:_0x34e7c5,resolveConfigLocation:_0x2a9805}=helper[_0x9a7027(0x1c0)]()?helper['requireConfigLoaderYarnPnP'](..._0x2b5221[_0x9a7027(0x202)](getConfigLoaderPath)):helper[_0x9a7027(0x182)][_0x9a7027(0x185)](null,_0x2b5221['MLDJP'](getConfigLoaderPath)),_0x2b49d1=_0x34e7c5?_0x2b5221[_0x9a7027(0x1cd)](_0x34e7c5,_0x73ef7e):helper[_0x9a7027(0x15b)](_0x2b5221[_0x9a7027(0x153)](_0x2a9805,_0x73ef7e),[_0x2b5221['fjXLH']]),_0x89ce92={};if(_0x1f6ee9){const _0x519c6a=_0x47885c[_0x9a7027(0x154)](_0x394719=>_0x394719==='--config'||_0x394719==='-c'||_0x394719['startsWith'](_0x9a7027(0x201)));_0x47885c[_0x9a7027(0x18c)](_0x519c6a,_0x47885c[_0x519c6a][_0x9a7027(0x16b)](_0x2b5221[_0x9a7027(0x141)])?0x1:0x2);}const _0x629b51={};return _0x629b51[_0x9a7027(0x144)]=_0x2b49d1,_0x629b51[_0x9a7027(0x1e8)]=_0x89ce92,_0x629b51;},handleO11yRerun=_0x20133e=>{const _0x2b35d8=a39_0x9783da,_0x19ec3e={};_0x19ec3e['xqxbI']=_0x2b35d8(0x1b2);const _0x5f4e31=_0x19ec3e,_0x59ac62=helper[_0x2b35d8(0x179)](process[_0x2b35d8(0x1c8)][_0x2b35d8(0x19f)]);if(_0x59ac62){const _0x5b1cbd=process[_0x2b35d8(0x1c8)]['BROWSERSTACK_RERUN_TESTS'],_0x5384df=[];if(helper[_0x2b35d8(0x1cf)](_0x5b1cbd)&&!helper[_0x2b35d8(0x158)](_0x5b1cbd)){_0x5b1cbd[_0x2b35d8(0x1a7)](',')[_0x2b35d8(0x1d7)](_0x5e0446=>{const _0x29b93f=_0x2b35d8;_0x5384df[_0x29b93f(0x18e)]('('+_0x5e0446[_0x29b93f(0x1e5)]()+')');});const _0x1f7938='^'+_0x5384df[_0x2b35d8(0x19a)]('|')+'$';_0x20133e[_0x2b35d8(0x18e)](_0x5f4e31[_0x2b35d8(0x195)],_0x1f7938);}}},spawnOriginalProcess=_0x13f484=>{const _0x40fa83=a39_0x9783da,_0x51e535={'YQMwq':function(_0x11bcbb,_0x53bbf4,_0x57d724,_0x5e3a82){return _0x11bcbb(_0x53bbf4,_0x57d724,_0x5e3a82);},'yxlug':_0x40fa83(0x183),'Ufnra':'npx','PQdjg':_0x40fa83(0x1cb),'HnEoV':function(_0x48cffa,_0x3365b6){return _0x48cffa===_0x3365b6;},'eYRpJ':_0x40fa83(0x147),'FEWpP':_0x40fa83(0x1e2)};_0x51e535[_0x40fa83(0x1eb)](spawn,helper[_0x40fa83(0x1c0)]()?_0x51e535[_0x40fa83(0x186)]:_0x51e535[_0x40fa83(0x1e9)],[_0x51e535[_0x40fa83(0x13e)],..._0x13f484[_0x40fa83(0x1c2)](0x1)],{'shell':_0x51e535[_0x40fa83(0x1fa)](process[_0x40fa83(0x1cc)],_0x51e535[_0x40fa83(0x1f9)]),'stdio':_0x51e535[_0x40fa83(0x148)],'cwd':process[_0x40fa83(0x1ad)]()});},isTestCommand=(_0x3b037e,_0xaa6945)=>{const _0x43d900=a39_0x9783da,_0x549500={};_0x549500[_0x43d900(0x1bf)]=function(_0x4577c6,_0x571951){return _0x4577c6>_0x571951;},_0x549500[_0x43d900(0x1ed)]=function(_0x490d29,_0x26413d){return _0x490d29===_0x26413d;},_0x549500[_0x43d900(0x1fc)]=_0x43d900(0x187);const _0x2a5cf7=_0x549500;if(_0x2a5cf7[_0x43d900(0x1bf)](_0xaa6945[_0x43d900(0x14d)],0x1)&&_0x2a5cf7[_0x43d900(0x1ed)](_0xaa6945[0x1],_0x2a5cf7[_0x43d900(0x1fc)]))return!![];return![];};function a39_0x27b2(){const _0x533bc2=['validateRerunTestList','Gliuw','launchBuild','248WzFJbW','BROWSERSTACK_TEST_ACCESSIBILITY_YML','testContextOptions','../utils/constants','vmHHN','map','filterBrowserstackArgs','DqcHo','--disable-test-observability','exitCode','bEsRO','trace_','Error\x20in\x20getting\x20funnel\x20data\x20results','1213279oaTVpv','18560230yttmtA','SoWhx','inherit','PLAYWRIGHT','SgspS','trim','fLiUE','homedir','config','Ufnra','playwright-browserstack-sdk.config.js','YQMwq','debug','UlnHQ','ruVDd','bootstrap','Error\x20in\x20closing\x20playwright','W_OK','get','getProxyUrl','stop','initialize','reportDotBrowserStackFolderNotAccessibleIssue','winstonLogger','getPackageType','eYRpJ','HnEoV','setBrowserstackConfig','TKkiX','FhdFO','spHKk','Error\x20in\x20accessing\x20.browserstack\x20directory:\x20','end','--config=','MLDJP','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','chOpf','mNkEK','--disable-browserstack-automation','19164bUZkET','PQdjg','writeFileSync','koncO','qpTqY','../v2/browserstackCLI','BROWSERSTACK_AUTOMATION','path','../../helpers/performance/constants','RaMMQ','win32','FEWpP','SDK_POST_INITIALIZE','zWdAF','./reporter/test-details','iHlUQ','length','INTERNALLY_USED_ENV_VARS','MODULE','50733qHjYNU','Mbovt','VcdJK','qYUqz','findIndex','browserstackSetupConfig.json','Deleting\x20','forEach','isUndefined','\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}catch{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20This\x20is\x20a\x20failsafe\x20if\x20global-agent\x20present\x20inside\x20sdk\x20node_modules\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22./node_modules/browserstack-node-sdk/node_modules/global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap();','KJlPr','nestedKeyValue','../utils/clientTroubleshootingService','40lGutjG','BROWSERSTACK_SETUP_CONFIG_PATH','../v2/TestInfo','isFalse','cliConfig','EclLA','browserstackAutomation','readFileSync','isTypescriptProject','wonlW','pw_result.json','accessibilityOptions','unlinkSync','clearTempPWConfig','startsWith','BROWSERSTACK_TEST_OBSERVABILITY','measureWrapper','Playwright\x20process\x20exited\x20with\x20code\x20','../../helpers/performance/performance-tester','serializeToYamlString','skipSessionStatus','./accessibility-helper','getNoProxy','ZRguh','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','accessSync','shutdown','BrowserStack\x20config\x20file\x20not\x20found.','isTrue','../../helpers/test-observability/constants','./reporter/pwUtils','setFrameworkDetail','getConfig','assign','true','concat','MYdoy','requirePWModule','yarn','resolvedConfigFile','apply','yxlug','test','tmvyS','208305KPZznZ','TTGit','npx','splice','aNogM','push','pWGuT','judgq','96FkkPii','isRunning','getConfigPath','stringify','xqxbI','../../helpers/accessibility-automation/helper','R_OK','EVENTS','SMNme','join','../../helpers/utilities','10938403BlASgl','close','HbDnw','BROWSERSTACK_RERUN','dirname','resolve','SDK_CLEANUP','start','existsSync','ygvXI','constants','split','Error\x20in\x20deleting\x20playwright\x20results','hNSTJ','bxHzt','TXAbB','BROWSERSTACK_PW_CONFIG_DIR','cwd','PACKAGE_TYPE','automation','VOOOh','skipSessionName','--grep','reportConflictingEnvVarIssue','configPath','util','SDK_SETUP','JrXfb','isCLIEnabled','PnbDG','filter','testObservability','Proxy\x20url\x20:\x20','../../helpers/testhub/testhubHandler','3144186fswEKL','XtrUQ','isYarnPnP','No\x20Proxy\x20:\x20','slice','playwright-browserstack-sdk.config.cjs','reportFinalDetectionState','../../helpers/BrowserStackSetup','govWi','getInstance','env','\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','info','playwright','platform','BByRi','SnVht'];a39_0x27b2=function(){return _0x533bc2;};return a39_0x27b2();}async function run(_0x5f09d3,_0xba11b3,_0xd6d092){const _0x1495e5=a39_0x9783da,_0xef7a62={'JrXfb':function(_0x34e22c,_0xc89a18){return _0x34e22c(_0xc89a18);},'MYdoy':'.browserstack','TXAbB':_0x1495e5(0x167),'ygvXI':function(_0x19fb8d,_0x3da2f6){return _0x19fb8d+_0x3da2f6;},'fLiUE':_0x1495e5(0x1de),'DqcHo':function(_0xc89e8a){return _0xc89e8a();},'TdUow':_0x1495e5(0x1f0),'RaMMQ':_0x1495e5(0x178),'SMNme':function(_0x2b181d,_0x33e19a){return _0x2b181d<_0x33e19a;},'ZRguh':function(_0x399150,_0x2d11cb){return _0x399150===_0x2d11cb;},'aNogM':'false','hnGbo':_0x1495e5(0x1da),'wonlW':function(_0x1e668a,_0x1f4e97){return _0x1e668a>=_0x1f4e97;},'FhdFO':_0x1495e5(0x1af),'mkoWK':function(_0x2097c9,_0x4c9247){return _0x2097c9!=_0x4c9247;},'SgspS':function(_0x41a4c1,_0xc0ef84,_0xcef202){return _0x41a4c1(_0xc0ef84,_0xcef202);},'bxHzt':_0x1495e5(0x17f),'govWi':function(_0x5eb91d,_0x5b7c83){return _0x5eb91d(_0x5b7c83);},'TTGit':_0x1495e5(0x155),'KeWUf':function(_0x1feb65,_0x167e6c){return _0x1feb65===_0x167e6c;},'Mbovt':_0x1495e5(0x1c3),'XaPjs':_0x1495e5(0x1ea),'KJlPr':function(_0x42d3fb,_0x12f813){return _0x42d3fb-_0x12f813;},'pWGuT':function(_0x1dd87b,_0x27ecef){return _0x1dd87b+_0x27ecef;},'tmvyS':'Updated\x20config\x20file\x20name\x20to\x20-\x20','iHlUQ':function(_0x124b4c,_0x469eee){return _0x124b4c>_0x469eee;},'SoWhx':function(_0x3cfab8,_0x1097bb){return _0x3cfab8+_0x1097bb;},'bEsRO':function(_0x3da29e,_0x18e663,_0xc63fbe,_0x146b88){return _0x3da29e(_0x18e663,_0xc63fbe,_0x146b88);},'CHgwC':_0x1495e5(0x183),'spHKk':_0x1495e5(0x18b),'zWdAF':_0x1495e5(0x1cb),'chOpf':_0x1495e5(0x187),'HbDnw':'--config','koncO':_0x1495e5(0x147),'hNSTJ':function(_0x42925d,_0x2d3020){return _0x42925d===_0x2d3020;},'zMxIF':_0x1495e5(0x1e2),'ruVDd':_0x1495e5(0x19d),'VOOOh':function(_0x18b190,_0x444db1){return _0x18b190|_0x444db1;},'judgq':function(_0x4d5a4a,_0x1cc82c){return _0x4d5a4a+_0x1cc82c;},'VcdJK':_0x1495e5(0x1ff),'SnVht':_0x1495e5(0x1a8),'Gliuw':function(_0x433ffd,_0x214fcd){return _0x433ffd(_0x214fcd);}};try{const _0x5d7a29=path[_0x1495e5(0x19a)](helper[_0x1495e5(0x1e7)](),_0xef7a62[_0x1495e5(0x181)]);try{fs[_0x1495e5(0x176)](_0x5d7a29,_0xef7a62[_0x1495e5(0x1b0)](fs[_0x1495e5(0x1a6)][_0x1495e5(0x197)],fs[_0x1495e5(0x1a6)][_0x1495e5(0x1f1)]));}catch(_0xc8e12a){ClientTroubleShootingService[_0x1495e5(0x1f6)]();}}catch(_0x238963){logger[_0x1495e5(0x1ec)](_0xef7a62[_0x1495e5(0x190)](_0xef7a62[_0x1495e5(0x152)],_0x238963));}try{const _0x5947b9=path['join'](helper[_0x1495e5(0x1e7)](),_0xef7a62['MYdoy'],_0xef7a62[_0x1495e5(0x1ab)]);fs['existsSync'](_0x5947b9)&&fs[_0x1495e5(0x169)](_0x5947b9);}catch(_0xbda16d){logger['debug'](_0xef7a62[_0x1495e5(0x1e1)](_0xef7a62[_0x1495e5(0x1ce)],_0xbda16d));}if(!_0xef7a62[_0x1495e5(0x1e4)](isTestCommand,_0x5f09d3,_0xba11b3)){_0xef7a62[_0x1495e5(0x1d0)](spawnOriginalProcess,_0xba11b3);return;}await PerformanceTester[_0x1495e5(0x16d)](PerformanceEvents['SDK_PRE_INITIALIZE'],async()=>{const _0x2a33d4=_0x1495e5,_0x5a957f={'EclLA':_0xef7a62['MYdoy'],'vmHHN':function(_0x3a1a5a){const _0xae12fd=a39_0x227c;return _0xef7a62[_0xae12fd(0x1d9)](_0x3a1a5a);},'PnbDG':function(_0x3dcfea){const _0xbe8f78=a39_0x227c;return _0xef7a62[_0xbe8f78(0x1d9)](_0x3dcfea);},'IBCBF':function(_0x20e542,_0x3548ec){const _0x1173a5=a39_0x227c;return _0xef7a62[_0x1173a5(0x1a5)](_0x20e542,_0x3548ec);},'mNkEK':_0xef7a62['TdUow']};if(!_0xd6d092[_0x2a33d4(0x1e8)]){logger['error'](_0xef7a62[_0x2a33d4(0x146)]);return;}await _0xd6d092[_0x2a33d4(0x1f5)](_0x5f09d3),CLIUtils[_0x2a33d4(0x17c)](FRAMEWORKS[_0x2a33d4(0x1e3)],FRAMEWORKS[_0x2a33d4(0x1e3)]),BrowserstackCLI['getInstance']()[_0x2a33d4(0x1fb)](_0xd6d092[_0x2a33d4(0x1e8)],_0xd6d092[_0x2a33d4(0x1b4)],_0xd6d092[_0x2a33d4(0x161)]),await BrowserstackCLI[_0x2a33d4(0x1c7)]()[_0x2a33d4(0x1ef)]();for(var _0x32e1d6=0x0;_0xef7a62[_0x2a33d4(0x199)](_0x32e1d6,constants['INTERNALLY_USED_ENV_VARS']['length']);_0x32e1d6++){var _0x5a2e55=constants[_0x2a33d4(0x14e)][_0x32e1d6];process['env'][_0x5a2e55]&&await ClientTroubleShootingService[_0x2a33d4(0x1b3)](_0x5a2e55);}const _0x5f199a=BrowserstackCLI['getInstance']()[_0x2a33d4(0x17d)]();!helper[_0x2a33d4(0x160)](_0x5f199a[_0x2a33d4(0x163)])&&(process['env'][_0x2a33d4(0x143)]=!![]);_0xef7a62[_0x2a33d4(0x174)](_0x5f199a[_0x2a33d4(0x163)],![])&&(process[_0x2a33d4(0x1c8)]['BROWSERSTACK_AUTOMATION']=_0xef7a62[_0x2a33d4(0x18d)],_0xba11b3=_0xba11b3[_0x2a33d4(0x1ba)](_0x22a59b=>_0x22a59b!==_0x2a33d4(0x13c)));const _0x683bff=_0xba11b3['indexOf'](_0xef7a62['hnGbo']);(_0xef7a62[_0x2a33d4(0x166)](_0x683bff,0x0)||_0xef7a62['ZRguh'](_0x5f199a[_0x2a33d4(0x1bb)],![]))&&(process[_0x2a33d4(0x1c8)][_0x2a33d4(0x16c)]=_0xef7a62[_0x2a33d4(0x18d)],_0xba11b3=_0xba11b3[_0x2a33d4(0x1ba)](_0x2f0a6c=>_0x2f0a6c!==_0x2a33d4(0x1da)));!helper[_0x2a33d4(0x158)](_0xd6d092[_0x2a33d4(0x161)])&&_0xd6d092[_0x2a33d4(0x161)]['has'](_0xef7a62[_0x2a33d4(0x1fd)])&&(process[_0x2a33d4(0x1c8)]['BROWSERSTACK_AUTOMATION']=_0xd6d092[_0x2a33d4(0x161)][_0x2a33d4(0x1f2)](_0xef7a62['FhdFO'])||!![]);_0xef7a62['mkoWK'](_0xd6d092['config'][_0x2a33d4(0x1bb)],null)&&!helper[_0x2a33d4(0x179)](process['env'][_0x2a33d4(0x16c)])&&(process[_0x2a33d4(0x1c8)][_0x2a33d4(0x16c)]=process[_0x2a33d4(0x1c8)][_0x2a33d4(0x16c)]||_0xd6d092[_0x2a33d4(0x1e8)][_0x2a33d4(0x1bb)]);const _0x35eb93=!helper['isFalse'](process['env'][_0x2a33d4(0x16c)]);_0xd6d092[_0x2a33d4(0x1e8)][_0x2a33d4(0x168)]&&(process[_0x2a33d4(0x1c8)][_0x2a33d4(0x175)]=JSON[_0x2a33d4(0x194)](_0xd6d092[_0x2a33d4(0x1e8)]['accessibilityOptions']));let _0x231831=![];_0xd6d092[_0x2a33d4(0x1e8)]['accessibility']&&(_0x231831=!![],process[_0x2a33d4(0x1c8)][_0x2a33d4(0x1d3)]=_0xd6d092['config']['accessibility']);const _0x526c16=_0xba11b3[_0x2a33d4(0x180)](),_0x503f03=await _0xef7a62['SgspS'](getUserPlaywrightConfig,_0x5f09d3,_0xba11b3);if(helper[_0x2a33d4(0x158)](_0x503f03)){_0xef7a62[_0x2a33d4(0x1b7)](spawnOriginalProcess,_0x526c16);return;}const _0x5a990f=_0x503f03[_0x2a33d4(0x144)]?path['dirname'](_0x503f03[_0x2a33d4(0x144)]):process['cwd']();process[_0x2a33d4(0x1c8)][_0x2a33d4(0x1ac)]=_0x5a990f,await PerformanceTester[_0x2a33d4(0x16d)](PerformanceEvents[_0x2a33d4(0x149)],async()=>{const _0x2ef281=_0x2a33d4;!BrowserstackCLI[_0x2ef281(0x1c7)]()['isRunning']()&&await TestHubHandler[_0x2ef281(0x1d1)](FRAMEWORKS[_0x2ef281(0x1e3)],_0xd6d092),_0x35eb93&&_0xef7a62[_0x2ef281(0x1b7)](handleO11yRerun,_0xba11b3);})();if(!BrowserstackCLI[_0x2a33d4(0x1c7)]()[_0x2a33d4(0x192)]()){let _0x33c08d=_0xef7a62['ZRguh'](process[_0x2a33d4(0x1c8)][_0x2a33d4(0x1d3)],_0xef7a62[_0x2a33d4(0x1aa)]);_0x33c08d=_0x33c08d||_0xef7a62[_0x2a33d4(0x1c6)](checkAccessibilityPlatformConfig,_0xd6d092[_0x2a33d4(0x1e8)]),process[_0x2a33d4(0x1c8)][_0x2a33d4(0x1d3)]=_0x33c08d,_0x33c08d&&_0xef7a62[_0x2a33d4(0x1c6)](setAccessibilityCapabilities,_0xd6d092[_0x2a33d4(0x1e8)]);}const _0x487fd3=path[_0x2a33d4(0x19a)](_0x503f03[_0x2a33d4(0x144)]?path['dirname'](_0x503f03['path']):process['cwd'](),_0xef7a62[_0x2a33d4(0x18a)]);fs[_0x2a33d4(0x13f)](_0x487fd3,helper[_0x2a33d4(0x170)](_0xd6d092['config'])),process[_0x2a33d4(0x1c8)][_0x2a33d4(0x15e)]=_0x487fd3,helper[_0x2a33d4(0x16a)]();let _0x9e329c='';_0xef7a62['KeWUf'](helper[_0x2a33d4(0x1f8)](),constants[_0x2a33d4(0x1ae)][_0x2a33d4(0x14f)])?_0x9e329c=_0xef7a62[_0x2a33d4(0x151)]:_0x9e329c=_0xef7a62['XaPjs'];let _0x3c1a47='';if(helper[_0x2a33d4(0x165)](_0x503f03[_0x2a33d4(0x144)])){_0x3c1a47='\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a';const _0x47629d=_0x9e329c['split']('.');_0x47629d[_0xef7a62[_0x2a33d4(0x15a)](_0x47629d[_0x2a33d4(0x14d)],0x1)]='ts',_0x9e329c=_0x47629d[_0x2a33d4(0x19a)]('.'),logger[_0x2a33d4(0x1ec)](_0xef7a62[_0x2a33d4(0x18f)](_0xef7a62[_0x2a33d4(0x188)],_0x9e329c));}else _0x3c1a47='\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a';const _0x2d3eb9=path['join'](_0x503f03[_0x2a33d4(0x144)]?path[_0x2a33d4(0x1a0)](_0x503f03['path']):process[_0x2a33d4(0x1ad)](),_0x9e329c);let _0x5cadd2=_0x503f03['path']?_0x503f03['path']:'';_0x5cadd2=_0xef7a62[_0x2a33d4(0x14c)](_0x5cadd2[_0x2a33d4(0x14d)],0x0)?path[_0x2a33d4(0x1a1)](_0x5cadd2):'',process[_0x2a33d4(0x1c8)]['USER_CONFIG_DETAILS_PATH']=_0x5cadd2;const _0x4431ac=helper[_0x2a33d4(0x1f3)](_0xd6d092[_0x2a33d4(0x1e8)]),_0x2e8acb=helper[_0x2a33d4(0x173)](_0xd6d092[_0x2a33d4(0x1e8)]);logger[_0x2a33d4(0x1ec)](_0x2a33d4(0x1bc)+_0x4431ac),logger['debug'](_0x2a33d4(0x1c1)+_0x2e8acb);_0x4431ac&&(_0x3c1a47=_0xef7a62['SoWhx'](_0x2a33d4(0x203)+_0x4431ac+_0x2a33d4(0x1c9)+_0x2e8acb+_0x2a33d4(0x159),_0x3c1a47));helper[_0x2a33d4(0x1d8)]({},_0xba11b3),fs[_0x2a33d4(0x13f)](_0x2d3eb9,_0x3c1a47),PerformanceTester[_0x2a33d4(0x200)](PerformanceEvents[_0x2a33d4(0x1b6)]);const _0x505b33=_0xef7a62[_0x2a33d4(0x1dc)](spawn,helper[_0x2a33d4(0x1c0)]()?_0xef7a62['CHgwC']:_0xef7a62[_0x2a33d4(0x1fe)],[_0xef7a62[_0x2a33d4(0x14a)],_0xef7a62[_0x2a33d4(0x204)],_0xef7a62[_0x2a33d4(0x19e)],_0xef7a62['KeWUf'](process[_0x2a33d4(0x1cc)],_0xef7a62['koncO'])?'\x22'+_0x2d3eb9+'\x22':_0x2d3eb9,..._0xba11b3[_0x2a33d4(0x1c2)](0x2)],{'shell':_0xef7a62[_0x2a33d4(0x1a9)](process['platform'],_0xef7a62[_0x2a33d4(0x140)]),'stdio':_0xef7a62['zMxIF'],'cwd':process[_0x2a33d4(0x1ad)](),'env':Object[_0x2a33d4(0x17e)]({},process[_0x2a33d4(0x1c8)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x2a33d4(0x193)](_0x5f09d3),'BROWSERSTACK_SKIP_SESSION_STATUS':_0xd6d092[_0x2a33d4(0x1e8)][_0x2a33d4(0x1d4)][_0x2a33d4(0x171)],'BROWSERSTACK_SKIP_SESSION_NAME':_0xd6d092[_0x2a33d4(0x1e8)][_0x2a33d4(0x1d4)][_0x2a33d4(0x1b1)],'BROWSERSTACK_LOG_LEVEL':_0xd6d092[_0x2a33d4(0x1e8)]['logLevel']})}),_0x4e2b1e=()=>{const _0xfc4b20=_0x2a33d4;try{const _0x5cd32b=path['join'](helper[_0xfc4b20(0x1e7)](),_0xef7a62['MYdoy'],_0xef7a62['TXAbB']);if(fs[_0xfc4b20(0x1a4)](_0x5cd32b)){let _0x43e979=fs[_0xfc4b20(0x164)](_0x5cd32b);_0x43e979=JSON['parse'](_0x43e979),_0xd6d092['errorMessage']=_0x43e979,fs[_0xfc4b20(0x169)](_0x5cd32b);}}catch(_0x4f85c9){logger[_0xfc4b20(0x1ec)](_0xef7a62[_0xfc4b20(0x1a5)](_0xef7a62[_0xfc4b20(0x1e6)],_0x4f85c9));}};_0x505b33['on'](_0xef7a62[_0x2a33d4(0x1ee)],async _0x447c94=>{const _0x18f01f=_0x2a33d4;try{PerformanceTester[_0x18f01f(0x1a3)](PerformanceEvents[_0x18f01f(0x1a2)]),_0x5a957f[_0x18f01f(0x1d6)](_0x4e2b1e),await TestHubHandler['stop'](),await ClientTroubleShootingService[_0x18f01f(0x1c4)]();const _0x13091d=BrowserstackCLI[_0x18f01f(0x1b8)]();await BrowserstackCLI['getInstance']()[_0x18f01f(0x1f4)](),TestDetails[_0x18f01f(0x177)](),_0x5a957f[_0x18f01f(0x1b9)](printBuildLink),await utilities['finalExecution'](_0xd6d092,_0x13091d),process[_0x18f01f(0x1db)]=_0x447c94,logger[_0x18f01f(0x1ec)](_0x18f01f(0x16e)+_0x447c94),logger[_0x18f01f(0x1ca)](_0x18f01f(0x156)+_0x2d3eb9),fs[_0x18f01f(0x169)](_0x2d3eb9);fs[_0x18f01f(0x1a4)](_0x487fd3)&&(logger[_0x18f01f(0x1ec)](_0x18f01f(0x156)+_0x487fd3),fs[_0x18f01f(0x169)](_0x487fd3));const _0x397a1f=fs['readdirSync'](path['join'](helper[_0x18f01f(0x1e7)](),_0x5a957f[_0x18f01f(0x162)]))[_0x18f01f(0x1ba)](_0x21c771=>_0x21c771[_0x18f01f(0x16b)](_0x18f01f(0x1dd)));_0x397a1f[_0x18f01f(0x157)](_0x25138f=>{const _0x516dff=_0x18f01f;fs[_0x516dff(0x169)](path[_0x516dff(0x19a)](helper['homedir'](),_0x5a957f[_0x516dff(0x162)],_0x25138f));});}catch(_0x11197f){logger['debug'](_0x5a957f['IBCBF'](_0x5a957f[_0x18f01f(0x13b)],_0x11197f));}});})();}module['exports']=run;
@@ -1 +1 @@
1
- const a40_0x163429=a40_0x5b4c;function a40_0x33e9(){const _0x1a9b88=['Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','11361616WOLBEf','lNzXM','./mock-process.js','exports','resolve','\x20is\x20not\x20found','1307655hUrMLk','error','450709laIUTe','LNllM','YREFZ','./patches','Icney','90GEPHpZ','debug','phnPo','../../helpers/helper','11votSSL','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','1363333rpTQab','Not\x20able\x20to\x20import\x20globalSetup','636147Ortqom','format','uinkx','40AvQdLB','Path\x20','ANmDQ','function','YBiQj','compareVersions','apply','2cGoLzt','./reporter/pwUtils','includes','config','Running\x20existing\x20global\x20setup','625740COSNVP','isHandlePWErrorSet','winstonLogger','dVWEA','../../helpers/logger','../../helpers/test-observability/constants','44607192lyKiyn','XnpcU','35lKWibi','Call\x20to\x20child\x20fork\x20with\x20args\x20','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20'];a40_0x33e9=function(){return _0x1a9b88;};return a40_0x33e9();}(function(_0x50bff8,_0x147bde){const _0x274073=a40_0x5b4c,_0x38ee91=_0x50bff8();while(!![]){try{const _0x48cb3a=-parseInt(_0x274073(0x14b))/0x1*(-parseInt(_0x274073(0x157))/0x2)+-parseInt(_0x274073(0x13e))/0x3+parseInt(_0x274073(0x12c))/0x4*(-parseInt(_0x274073(0x134))/0x5)+-parseInt(_0x274073(0x145))/0x6*(parseInt(_0x274073(0x140))/0x7)+-parseInt(_0x274073(0x138))/0x8+parseInt(_0x274073(0x14d))/0x9*(-parseInt(_0x274073(0x150))/0xa)+parseInt(_0x274073(0x149))/0xb*(parseInt(_0x274073(0x132))/0xc);if(_0x48cb3a===_0x147bde)break;else _0x38ee91['push'](_0x38ee91['shift']());}catch(_0x4e105c){_0x38ee91['push'](_0x38ee91['shift']());}}}(a40_0x33e9,0xd7122));const util=require('util'),child_process=require('child_process'),{FRAMEWORKS}=require(a40_0x163429(0x131)),{getFrameworkVersion,debug}=require('../../helpers/test-observability/utils'),helper=require(a40_0x163429(0x148)),{getLoadUtilsPath,getForkProcessPath}=require(a40_0x163429(0x128)),{mockIsWorkerRedundant}=require(a40_0x163429(0x143)),logger=require(a40_0x163429(0x130))[a40_0x163429(0x12e)];function a40_0x5b4c(_0x44fa5f,_0x44e8ee){const _0x33e9b1=a40_0x33e9();return a40_0x5b4c=function(_0x5b4c94,_0x9dc57e){_0x5b4c94=_0x5b4c94-0x128;let _0x58094a=_0x33e9b1[_0x5b4c94];return _0x58094a;},a40_0x5b4c(_0x44fa5f,_0x44e8ee);}module[a40_0x163429(0x13b)]=async function(_0x187841){const _0x432eec=a40_0x163429,_0x2c88e1={'phnPo':function(_0x22c0f1,_0x345853){return _0x22c0f1(_0x345853);},'lNzXM':function(_0x1b01b3){return _0x1b01b3();},'uinkx':_0x432eec(0x13a),'OaNbZ':_0x432eec(0x12b),'YREFZ':function(_0x3135d3){return _0x3135d3();},'anpFf':function(_0x3a5188,_0x2bb31a){return _0x3a5188(_0x2bb31a);},'dVWEA':function(_0x219575,_0x419f9c){return _0x219575>=_0x419f9c;},'LNllM':'1.33.0','XnpcU':function(_0x44ec97,_0x1a8ecf,_0x270ff2){return _0x44ec97(_0x1a8ecf,_0x270ff2);},'mRMTB':function(_0x672445,_0x5e393d){return _0x672445!==_0x5e393d;},'YBiQj':_0x432eec(0x153),'Icney':_0x432eec(0x14c),'ANmDQ':function(_0x5249fd,_0xd6948){return _0x5249fd(_0xd6948);}},_0x57cbb1=child_process['fork'];if(helper[_0x432eec(0x12d)]())try{_0x2c88e1[_0x432eec(0x139)](mockIsWorkerRedundant);}catch(_0x50e3be){logger[_0x432eec(0x146)](_0x432eec(0x137)+util[_0x432eec(0x14e)](_0x50e3be));}child_process['fork']=function(){const _0x1ed740=_0x432eec;return _0x2c88e1[_0x1ed740(0x147)](debug,_0x1ed740(0x135)+arguments[0x0]),arguments[0x0][_0x1ed740(0x129)](_0x2c88e1['lNzXM'](getForkProcessPath))?arguments[0x0]=require[_0x1ed740(0x13c)](_0x2c88e1[_0x1ed740(0x14f)]):logger[_0x1ed740(0x13f)](_0x1ed740(0x151)+_0x2c88e1[_0x1ed740(0x139)](getForkProcessPath)+_0x1ed740(0x13d)),_0x57cbb1['apply'](null,arguments);};if(process['env'][_0x432eec(0x14a)]){_0x2c88e1[_0x432eec(0x147)](debug,_0x2c88e1['OaNbZ']);try{const {loadGlobalHook:_0x183cc9}=helper['requirePWModule'][_0x432eec(0x156)](null,_0x2c88e1[_0x432eec(0x142)](getLoadUtilsPath)),_0x5cce1c=_0x2c88e1['anpFf'](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);let _0x4beb8a=_0x187841;if(_0x2c88e1[_0x432eec(0x12f)](helper[_0x432eec(0x155)](_0x5cce1c,_0x2c88e1[_0x432eec(0x141)]),0x0)){const _0x132ae0={};_0x132ae0[_0x432eec(0x12a)]=_0x187841,_0x4beb8a=_0x132ae0;}const _0x2b2426=await _0x2c88e1[_0x432eec(0x133)](_0x183cc9,_0x4beb8a,process['env'][_0x432eec(0x14a)]);if(_0x2c88e1['mRMTB'](typeof _0x2b2426,_0x2c88e1[_0x432eec(0x154)]))throw new Error(_0x2c88e1[_0x432eec(0x144)]);return _0x2b2426[_0x432eec(0x156)](null,arguments);}catch(_0x4c4fe0){_0x2c88e1[_0x432eec(0x152)](debug,_0x432eec(0x136)+_0x4c4fe0['toString']());}}};
1
+ const a40_0xa376b1=a40_0xf7b7;function a40_0xf7b7(_0x8c481a,_0x123e2f){const _0x4d8ebd=a40_0x4d8e();return a40_0xf7b7=function(_0xf7b762,_0x374509){_0xf7b762=_0xf7b762-0x17d;let _0x4c7c56=_0x4d8ebd[_0xf7b762];return _0x4c7c56;},a40_0xf7b7(_0x8c481a,_0x123e2f);}(function(_0x31c252,_0x4e742c){const _0x419f58=a40_0xf7b7,_0x3b645a=_0x31c252();while(!![]){try{const _0x4dc681=parseInt(_0x419f58(0x182))/0x1*(parseInt(_0x419f58(0x1a5))/0x2)+parseInt(_0x419f58(0x17d))/0x3+-parseInt(_0x419f58(0x1ab))/0x4*(parseInt(_0x419f58(0x18b))/0x5)+parseInt(_0x419f58(0x19a))/0x6*(parseInt(_0x419f58(0x1ac))/0x7)+parseInt(_0x419f58(0x191))/0x8+-parseInt(_0x419f58(0x1a3))/0x9+-parseInt(_0x419f58(0x1a0))/0xa;if(_0x4dc681===_0x4e742c)break;else _0x3b645a['push'](_0x3b645a['shift']());}catch(_0x101c0d){_0x3b645a['push'](_0x3b645a['shift']());}}}(a40_0x4d8e,0xeac77));const util=require(a40_0xa376b1(0x196)),child_process=require(a40_0xa376b1(0x18a)),{FRAMEWORKS}=require(a40_0xa376b1(0x180)),{getFrameworkVersion,debug}=require(a40_0xa376b1(0x1a1)),helper=require(a40_0xa376b1(0x181)),{getLoadUtilsPath,getForkProcessPath}=require('./reporter/pwUtils'),{mockIsWorkerRedundant}=require(a40_0xa376b1(0x194)),logger=require(a40_0xa376b1(0x19d))[a40_0xa376b1(0x1a8)];function a40_0x4d8e(){const _0x30e18f=['../../helpers/test-observability/constants','../../helpers/helper','2ybGVse','\x20is\x20not\x20found','exports','requirePWModule','wYtHL','lXqGS','1.33.0','Call\x20to\x20child\x20fork\x20with\x20args\x20','child_process','385MUGjhb','dwABw','mXWQU','kNslf','compareVersions','PLAYWRIGHT','9565728dyerCH','function','Path\x20','./patches','error','util','QiRgc','debug','toString','12bazCim','config','fork','../../helpers/logger','env','isHandlePWErrorSet','20765160bsJaBS','../../helpers/test-observability/utils','apply','7108785KHrhOu','includes','277954sIntPj','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','ieauP','winstonLogger','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','KGfWx','2896ieObpO','6684377diNDbc','resolve','1500876ADhWYy','YVBSS','Running\x20existing\x20global\x20setup'];a40_0x4d8e=function(){return _0x30e18f;};return a40_0x4d8e();}module[a40_0xa376b1(0x184)]=async function(_0x4a5596){const _0x2ac43d=a40_0xa376b1,_0x52fcff={'KGfWx':function(_0x32c2ad,_0x54ecb6){return _0x32c2ad(_0x54ecb6);},'JBuFY':function(_0x41778b){return _0x41778b();},'mXWQU':'./mock-process.js','OIewU':function(_0xcd6750){return _0xcd6750();},'lXqGS':function(_0x34b907){return _0x34b907();},'zctVu':function(_0x47b287,_0x21f137){return _0x47b287(_0x21f137);},'dwABw':_0x2ac43d(0x17f),'QiRgc':function(_0x4d3412,_0x227189){return _0x4d3412>=_0x227189;},'wYtHL':_0x2ac43d(0x188),'YVBSS':function(_0x6899f6,_0x1b4665,_0x2abe55){return _0x6899f6(_0x1b4665,_0x2abe55);},'kNslf':function(_0xce64a3,_0x46b640){return _0xce64a3!==_0x46b640;},'XKcQZ':_0x2ac43d(0x192),'ieauP':'Not\x20able\x20to\x20import\x20globalSetup'},_0x2e4e14=child_process[_0x2ac43d(0x19c)];if(helper[_0x2ac43d(0x19f)]())try{_0x52fcff[_0x2ac43d(0x187)](mockIsWorkerRedundant);}catch(_0x5a1278){logger[_0x2ac43d(0x198)](_0x2ac43d(0x1a6)+util['format'](_0x5a1278));}child_process[_0x2ac43d(0x19c)]=function(){const _0x30b2af=_0x2ac43d;return _0x52fcff[_0x30b2af(0x1aa)](debug,_0x30b2af(0x189)+arguments[0x0]),arguments[0x0][_0x30b2af(0x1a4)](_0x52fcff['JBuFY'](getForkProcessPath))?arguments[0x0]=require[_0x30b2af(0x1ad)](_0x52fcff[_0x30b2af(0x18d)]):logger[_0x30b2af(0x195)](_0x30b2af(0x193)+_0x52fcff['OIewU'](getForkProcessPath)+_0x30b2af(0x183)),_0x2e4e14['apply'](null,arguments);};if(process[_0x2ac43d(0x19e)]['BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP']){_0x52fcff['zctVu'](debug,_0x52fcff[_0x2ac43d(0x18c)]);try{const {loadGlobalHook:_0x461a7e}=helper[_0x2ac43d(0x185)][_0x2ac43d(0x1a2)](null,_0x52fcff[_0x2ac43d(0x187)](getLoadUtilsPath)),_0x19b913=_0x52fcff[_0x2ac43d(0x1aa)](getFrameworkVersion,FRAMEWORKS[_0x2ac43d(0x190)]);let _0x333821=_0x4a5596;if(_0x52fcff[_0x2ac43d(0x197)](helper[_0x2ac43d(0x18f)](_0x19b913,_0x52fcff[_0x2ac43d(0x186)]),0x0)){const _0x365659={};_0x365659[_0x2ac43d(0x19b)]=_0x4a5596,_0x333821=_0x365659;}const _0x2b84a3=await _0x52fcff[_0x2ac43d(0x17e)](_0x461a7e,_0x333821,process['env'][_0x2ac43d(0x1a9)]);if(_0x52fcff[_0x2ac43d(0x18e)](typeof _0x2b84a3,_0x52fcff['XKcQZ']))throw new Error(_0x52fcff[_0x2ac43d(0x1a7)]);return _0x2b84a3[_0x2ac43d(0x1a2)](null,arguments);}catch(_0x1ba01d){_0x52fcff[_0x2ac43d(0x1aa)](debug,'Error\x20in\x20calling\x20existing\x20global\x20setup:\x20'+_0x1ba01d[_0x2ac43d(0x199)]());}}};