browserstack-node-sdk 1.50.10 → 1.51.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (195) 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/generated/sdk-messages_pb.d.ts +12 -0
  41. package/generated/sdk-messages_pb.js +97 -1
  42. package/package.json +1 -1
  43. package/src/ai-sdk-node/bundle.js +1 -1
  44. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  45. package/src/bin/codeceptjs/command.js +1 -1
  46. package/src/bin/codeceptjs/helper.js +1 -1
  47. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  48. package/src/bin/cucumber-js/command.js +1 -1
  49. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  50. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  51. package/src/bin/cucumber-js/test-observability.js +1 -1
  52. package/src/bin/cucumber-js/test.setup.js +1 -1
  53. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  54. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  55. package/src/bin/integrations/command.js +1 -1
  56. package/src/bin/integrations/constants.js +1 -1
  57. package/src/bin/jest/command.js +1 -1
  58. package/src/bin/jest/customImplements/customCircus.js +1 -1
  59. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  60. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  61. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  62. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  63. package/src/bin/jest/jest.setup.js +1 -1
  64. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  65. package/src/bin/jest/test-observability/helper.js +1 -1
  66. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  67. package/src/bin/jest/test-observability/test-details.js +1 -1
  68. package/src/bin/jest/test.setup.js +1 -1
  69. package/src/bin/jest/test_before.setup.js +1 -1
  70. package/src/bin/launcher/launcher.js +1 -1
  71. package/src/bin/load/index.js +1 -1
  72. package/src/bin/load/loadUtils.js +1 -1
  73. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  74. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  75. package/src/bin/mocha/command.js +1 -1
  76. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  77. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  78. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  79. package/src/bin/mocha/test.setup.js +1 -1
  80. package/src/bin/nightwatch/command.js +1 -1
  81. package/src/bin/playwright/accessibility-helper.js +1 -1
  82. package/src/bin/playwright/command.js +1 -1
  83. package/src/bin/playwright/globalSetup.js +1 -1
  84. package/src/bin/playwright/mock-process.js +1 -1
  85. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  86. package/src/bin/playwright/patches.js +1 -1
  87. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  88. package/src/bin/playwright/reporter/reporter.js +1 -1
  89. package/src/bin/playwright/reporter/test-details.js +1 -1
  90. package/src/bin/playwright/sessionDetails.js +1 -1
  91. package/src/bin/puppeteer/patches.js +1 -0
  92. package/src/bin/puppeteer/sessionDetails.js +1 -0
  93. package/src/bin/puppeteer/test.setup.js +1 -0
  94. package/src/bin/runner.js +1 -1
  95. package/src/bin/setup.js +1 -1
  96. package/src/bin/test-runner/index.js +1 -1
  97. package/src/bin/test-runner/runTest.js +1 -1
  98. package/src/bin/test-runner/testWorker.js +1 -1
  99. package/src/bin/utils/apiUtilityMethods.js +1 -1
  100. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  101. package/src/bin/utils/constants.js +1 -1
  102. package/src/bin/utils/log4jsAppender.js +1 -1
  103. package/src/bin/utils/logPatcher.js +1 -1
  104. package/src/bin/utils/logReportingAPI.js +1 -1
  105. package/src/bin/utils/playwright-patcher.js +1 -1
  106. package/src/bin/utils/puppeteer-patcher.js +1 -0
  107. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  108. package/src/bin/utils/sharedUtils.js +1 -1
  109. package/src/bin/v2/TestInfo.js +1 -1
  110. package/src/bin/v2/browserstackCLI.js +1 -1
  111. package/src/bin/v2/cliUtils.js +1 -1
  112. package/src/bin/v2/customTagManager.js +1 -1
  113. package/src/bin/v2/eventDispatcher.js +1 -1
  114. package/src/bin/v2/framework/automationFramework.js +1 -1
  115. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  116. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  117. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  118. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  119. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  120. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  121. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -0
  122. package/src/bin/v2/framework/testFramework.js +1 -1
  123. package/src/bin/v2/grpcClient.js +1 -1
  124. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  125. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  126. package/src/bin/v2/instances/trackedContext.js +1 -1
  127. package/src/bin/v2/instances/trackedInstance.js +1 -1
  128. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  129. package/src/bin/v2/modules/baseModule.js +1 -1
  130. package/src/bin/v2/modules/loadTestModule.js +1 -1
  131. package/src/bin/v2/modules/observabilityModule.js +1 -1
  132. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  133. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -0
  134. package/src/bin/v2/modules/testhubModule.js +1 -1
  135. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  136. package/src/bin/v2/state/hookState.js +1 -1
  137. package/src/bin/v2/state/testFrameworkState.js +1 -1
  138. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  139. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  140. package/src/bin/v2/utils/jest-utils.js +1 -1
  141. package/src/bin/vanilla-js/command.js +1 -1
  142. package/src/browserStackSdk.js +1 -1
  143. package/src/helpers/BrowserStackSetup.js +1 -1
  144. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  145. package/src/helpers/accessibility-automation/constants.js +1 -1
  146. package/src/helpers/accessibility-automation/helper.js +1 -1
  147. package/src/helpers/accessibility-automation/scripts.js +1 -1
  148. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  149. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  150. package/src/helpers/ats/constants.js +1 -1
  151. package/src/helpers/ats/helper.js +1 -1
  152. package/src/helpers/capsMapping.js +1 -1
  153. package/src/helpers/central-scanner/constants.js +1 -1
  154. package/src/helpers/central-scanner/helpers.js +1 -1
  155. package/src/helpers/classLogger.js +1 -1
  156. package/src/helpers/globals.js +1 -1
  157. package/src/helpers/helper.js +1 -1
  158. package/src/helpers/logger.js +1 -1
  159. package/src/helpers/metadata.js +1 -1
  160. package/src/helpers/patchHelper.js +1 -1
  161. package/src/helpers/patchHelpers.js +1 -1
  162. package/src/helpers/percy/Percy.js +1 -1
  163. package/src/helpers/percy/PercyBinary.js +1 -1
  164. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  165. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  166. package/src/helpers/percy/PercySDK.js +1 -1
  167. package/src/helpers/percy/index.js +1 -1
  168. package/src/helpers/percy/utils.js +1 -1
  169. package/src/helpers/performance/constants.js +1 -1
  170. package/src/helpers/performance/performance-tester.js +1 -1
  171. package/src/helpers/playwright-helper.js +1 -1
  172. package/src/helpers/processHelper.js +1 -1
  173. package/src/helpers/puppeteer-helper.js +1 -0
  174. package/src/helpers/request-spy.js +1 -1
  175. package/src/helpers/setKeepAlive.js +1 -1
  176. package/src/helpers/test-observability/constants.js +1 -1
  177. package/src/helpers/test-observability/error-handler.js +1 -1
  178. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  179. package/src/helpers/test-observability/sessionHandler.js +1 -1
  180. package/src/helpers/test-observability/utils.js +1 -1
  181. package/src/helpers/test-orchestration/constants.js +1 -1
  182. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  183. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  184. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  185. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  186. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  187. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  188. package/src/helpers/testhub/constants.js +1 -1
  189. package/src/helpers/testhub/testhubHandler.js +1 -1
  190. package/src/helpers/testhub/utils.js +1 -1
  191. package/src/helpers/timeoutPromise.js +1 -1
  192. package/src/helpers/utilities.js +1 -1
  193. package/src/helpers/w3cMapping.js +1 -1
  194. package/src/hubAllocationMethods.js +1 -1
  195. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a38_0x641b30=a38_0x3c61;(function(_0x3188f3,_0x2904d1){const _0x3ad15e=a38_0x3c61,_0x33a443=_0x3188f3();while(!![]){try{const _0x322a7e=parseInt(_0x3ad15e(0x278))/0x1+parseInt(_0x3ad15e(0x25e))/0x2+-parseInt(_0x3ad15e(0x20c))/0x3*(parseInt(_0x3ad15e(0x236))/0x4)+-parseInt(_0x3ad15e(0x1fa))/0x5+-parseInt(_0x3ad15e(0x266))/0x6*(-parseInt(_0x3ad15e(0x24c))/0x7)+parseInt(_0x3ad15e(0x1fd))/0x8*(-parseInt(_0x3ad15e(0x243))/0x9)+parseInt(_0x3ad15e(0x22a))/0xa;if(_0x322a7e===_0x2904d1)break;else _0x33a443['push'](_0x33a443['shift']());}catch(_0x5d1ad5){_0x33a443['push'](_0x33a443['shift']());}}}(a38_0x4f14,0x33cd9));function a38_0x4f14(){const _0x438b74=['NHzNG','353807sERduO','No\x20accessibility\x20results\x20were\x20found.','string','rpsNw','playwright-chromium','IjFtb','accessibilityOptions.includeIssueType.needsReview','DeWMR','CjLxN','mKaSH','1596970zknCqF','xydJn','keys','538920xxHJWh','hVdJr','utXdx','../../helpers/logger','xYoRY','latest','BuuyU','aZfUV','scannerProcessingTimeout','accessibilityOptions.authToken','WgOxv','replace','HjulZ','../utils/constants','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','8034AmzrbP','constructor','stringify','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','Qgixa','processAccessibilityCaps','oOsMa','setAccessibilityCapabilities','VCwrd','format','body','dHORr','use','HCWWa','../../helpers/helper','YmblB','ouEsw','../../helpers/accessibility-automation/helper','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','][\x20SDK-AUTOMATION\x20]\x20','error','find','request','fyjFQ','(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','fgBAn','accessibilityOptions','KYuAC','env','winstonLogger','1147920IQSbEk','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','No\x20summaryResults\x20found.','command','startsWith','currentTest','WebDriver','accessibilityOptions.wcagVersion','accessibilityOptions.scannerVersion','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','fIorQ','debug','136wbGMFj','OtyzI','project','executeScript','util','PERFORM_SCAN','TuLJE','Cpslj','includeIssueType','wsEndpoint','browser_version','chrome','accessibilityOptions.scannerProcessingTimeout','27VbgJzU','sicJB','response','getAccessibilityResultsSummary','PfKuS','includes','includePartOfPageScope','AAPHD','bstackSdkArgs','80192MxwLzH','mdDqP','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','wcagVersion','TURRH','connectOptions','testInfo','workerInfo','browserstack.accessibility','../../helpers/performance/performance-tester','message','ltyDe','Kdrzd','IYyBZ','deviceName','XyKUB','QrjFf','url','689342FCSYwA','forEach','OXAEF','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','platformValidation','parse','MWqMz','chromium','6OyXHHS','jRrJu','IxVld','performScan','accessibilityPlatform','fEbyl','../../helpers/accessibility-automation/scripts','Playwright','bestPractice','__workerDetails','accessibilityOptions.includeIssueType.bestPractice','IXWOV','toISOString','browserStackEvaluate','YtLTP','silly','warn'];a38_0x4f14=function(){return _0x438b74;};return a38_0x4f14();}const util=require(a38_0x641b30(0x23a)),logger=require(a38_0x641b30(0x200))[a38_0x641b30(0x229)],{automationLogger}=require(a38_0x641b30(0x200)),{isAccessibilityAutomationSession}=require(a38_0x641b30(0x21d)),{isUndefined,isBrowserstackInfra}=require(a38_0x641b30(0x21a)),scripts=require(a38_0x641b30(0x26c)),PerformanceTester=require(a38_0x641b30(0x255)),{A11Y_EVENTS:PerformanceA11yEvents}=require('../../helpers/performance/constants'),{AUTOMATION_LOG_COMMANDS}=require(a38_0x641b30(0x20a));function a38_0x3c61(_0x5844f6,_0x5b381d){const _0x4f1450=a38_0x4f14();return a38_0x3c61=function(_0x3c6178,_0x2e054d){_0x3c6178=_0x3c6178-0x1f1;let _0x560338=_0x4f1450[_0x3c6178];return _0x560338;},a38_0x3c61(_0x5844f6,_0x5b381d);}exports[a38_0x641b30(0x273)]=async(_0x4d1b90,_0x1038d7,_0x2f24d7={})=>{const _0x3421b8=a38_0x641b30,_0x257ade={};_0x257ade[_0x3421b8(0x21b)]=_0x3421b8(0x24b),_0x257ade[_0x3421b8(0x209)]=function(_0x277f0d,_0x18c4aa){return _0x277f0d===_0x18c4aa;},_0x257ade['WgOxv']=_0x3421b8(0x1f2);const _0x11721e=_0x257ade,_0x4324c0=await _0x4d1b90['evaluate']('(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20'+_0x1038d7[_0x3421b8(0x208)](/arguments/g,_0x11721e['YmblB'])+_0x3421b8(0x21e)+JSON['stringify'](_0x2f24d7)+')');try{if(_0x1038d7&&_0x11721e[_0x3421b8(0x209)](typeof _0x1038d7,_0x11721e[_0x3421b8(0x207)])){const _0x4b556b=AUTOMATION_LOG_COMMANDS[_0x3421b8(0x221)](_0x5baa9b=>_0x1038d7['includes'](_0x5baa9b));if(_0x4b556b){const _0x3e319d={};_0x3e319d[_0x3421b8(0x22d)]=_0x4b556b,_0x3e319d['parameters']=[_0x2f24d7];const _0x305ae7={};_0x305ae7[_0x3421b8(0x216)]=_0x4324c0;const _0x412524={};_0x412524[_0x3421b8(0x222)]=_0x3e319d,_0x412524[_0x3421b8(0x245)]=_0x305ae7,automationLogger[_0x3421b8(0x275)]('['+new Date()[_0x3421b8(0x272)]()+_0x3421b8(0x21f)+JSON['stringify'](_0x412524));}}}catch(_0x3dbd02){logger[_0x3421b8(0x235)]('[A11Y]\x20Error\x20logging\x20SDK-AUTOMATION\x20for\x20browserStackEvaluate:\x20'+_0x3dbd02[_0x3421b8(0x256)]);}return _0x4324c0;},exports['browserStackExecuteDriver']=async(_0x40278d,_0x14e48c,_0x18d1fc={})=>{const _0x58393c=a38_0x641b30,_0x407a4a={};_0x407a4a[_0x58393c(0x258)]=function(_0x17deb1,_0x2d0f16){return _0x17deb1===_0x2d0f16;},_0x407a4a[_0x58393c(0x25c)]=_0x58393c(0x230),_0x407a4a[_0x58393c(0x274)]=function(_0x5c3838,_0x2ee106){return _0x5c3838===_0x2ee106;},_0x407a4a['sicJB']=_0x58393c(0x26d),_0x407a4a['jRrJu']='bstackSdkArgs';const _0x47a3b1=_0x407a4a;if(_0x47a3b1[_0x58393c(0x258)](_0x40278d[_0x58393c(0x20d)]['name'],_0x47a3b1[_0x58393c(0x25c)]))return await _0x40278d['executeAsyncScript'](_0x14e48c,_0x18d1fc);else{if(_0x47a3b1[_0x58393c(0x274)](_0x40278d[_0x58393c(0x20d)]['name'],_0x47a3b1[_0x58393c(0x244)]))return await _0x40278d[_0x58393c(0x239)](_0x58393c(0x224)+_0x14e48c[_0x58393c(0x208)](/arguments/g,_0x47a3b1[_0x58393c(0x267)])+'\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})('+JSON[_0x58393c(0x20e)](_0x18d1fc)+')');}},exports[a38_0x641b30(0x213)]=async _0x5bf404=>{const _0x5be6fc=a38_0x641b30,_0x236b37={};_0x236b37[_0x5be6fc(0x271)]=_0x5be6fc(0x231),_0x236b37[_0x5be6fc(0x1f9)]=_0x5be6fc(0x242),_0x236b37['XyKUB']=_0x5be6fc(0x270),_0x236b37[_0x5be6fc(0x23c)]=_0x5be6fc(0x1f6),_0x236b37[_0x5be6fc(0x204)]=_0x5be6fc(0x206),_0x236b37[_0x5be6fc(0x237)]=_0x5be6fc(0x232);const _0x258043=_0x236b37;_0x5bf404[_0x5be6fc(0x226)]&&(_0x5bf404[_0x5be6fc(0x226)][_0x5be6fc(0x24f)]&&(_0x5bf404[_0x258043[_0x5be6fc(0x271)]]=_0x5bf404[_0x5be6fc(0x226)][_0x5be6fc(0x24f)]),_0x5bf404[_0x5be6fc(0x226)][_0x5be6fc(0x205)]&&(_0x5bf404[_0x258043[_0x5be6fc(0x1f9)]]=_0x5bf404[_0x5be6fc(0x226)][_0x5be6fc(0x205)]),_0x5bf404['accessibilityOptions']['includeIssueType']&&(_0x5bf404[_0x258043[_0x5be6fc(0x25b)]]=_0x5bf404['accessibilityOptions'][_0x5be6fc(0x23e)][_0x5be6fc(0x26e)],_0x5bf404[_0x258043['TuLJE']]=_0x5bf404['accessibilityOptions']['includeIssueType']['needsReview']));const _0x5b96f0=JSON[_0x5be6fc(0x263)](process[_0x5be6fc(0x228)][_0x5be6fc(0x22b)])['scannerVersion'];_0x5bf404[_0x258043[_0x5be6fc(0x204)]]=process[_0x5be6fc(0x228)]['BS_A11Y_JWT'],_0x5bf404[_0x258043[_0x5be6fc(0x237)]]=_0x5b96f0,delete _0x5bf404[_0x5be6fc(0x226)];},exports['getAccessibilityResults']=async _0x188fc7=>{const _0x4cb581=a38_0x641b30,_0x34c3cd={};_0x34c3cd[_0x4cb581(0x1f8)]=_0x4cb581(0x1f1),_0x34c3cd[_0x4cb581(0x259)]=_0x4cb581(0x20b);const _0x3849d0=_0x34c3cd;if(global['accessibilityPlatform'])try{const details={'url':await _0x188fc7.url(),'testhub_btcer_uuid':global.__workerDetails?.currentTest?.id};logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x188fc7,scripts.performScan)));},{command:'getAccessibilityResults',...details})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x188fc7,scripts.getResults);},{...details})();return res;}catch{return logger[_0x4cb581(0x220)](_0x3849d0[_0x4cb581(0x1f8)]),[];}else return logger[_0x4cb581(0x276)](_0x3849d0[_0x4cb581(0x259)]),[];},exports[a38_0x641b30(0x269)]=async(_0x13e0eb,_0x399bd9='',_0x1277ab={})=>{const _0x4ccf6b=a38_0x641b30;logger[_0x4ccf6b(0x235)]('Performing\x20scan\x20with\x20method:\x20'+_0x399bd9+'\x20page:\x20'+_0x13e0eb);const _0x461f35={'url':await _0x13e0eb[_0x4ccf6b(0x25d)](),'testhub_btcer_uuid':global[_0x4ccf6b(0x26f)]?.['currentTest']?.['id']};if(global['accessibilityPlatform'])return await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x4ccf6b(0x23b)],async()=>{const _0x5548af=_0x4ccf6b,_0x3e1cae={};_0x3e1cae['command']=_0x399bd9;const _0x199f6c=_0x3e1cae;_0x1277ab&&_0x1277ab[_0x5548af(0x249)]&&(_0x199f6c[_0x5548af(0x249)]=_0x1277ab[_0x5548af(0x249)]);const _0x99a85a=await exports['browserStackEvaluate'](_0x13e0eb,scripts[_0x5548af(0x269)],_0x199f6c);return _0x99a85a;},{'command':_0x399bd9,..._0x461f35})();},exports[a38_0x641b30(0x246)]=async _0x3ee292=>{const _0x516618=a38_0x641b30,_0x199de2={};_0x199de2[_0x516618(0x227)]=_0x516618(0x22c),_0x199de2[_0x516618(0x1f5)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.';const _0x5ba6c9=_0x199de2;if(global[_0x516618(0x26a)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x3ee292,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x3ee292,scripts.getResultsSummary);})();return summaryResults;}catch{return logger[_0x516618(0x235)](_0x5ba6c9[_0x516618(0x227)]),{};}else return logger[_0x516618(0x276)](_0x5ba6c9[_0x516618(0x1f5)]),{};},exports[a38_0x641b30(0x262)]=_0xd99783=>{const _0x3196e9=a38_0x641b30,_0x5ec136={'zmRGI':function(_0x110fdf,_0x1805c1){return _0x110fdf!==_0x1805c1;},'gJwqz':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','fEbyl':'chrome','mdDqP':_0x3196e9(0x1f4),'VCwrd':_0x3196e9(0x265),'NHzNG':_0x3196e9(0x233),'PfKuS':function(_0x1134a9,_0xb8dfa0){return _0x1134a9(_0xb8dfa0);},'xydJn':function(_0x3058e7){return _0x3058e7();},'Cpslj':function(_0x407237,_0xd95e75){return _0x407237<_0xd95e75;},'DsXXs':_0x3196e9(0x24e),'rpsNw':function(_0x2cb473,_0x955d61){return _0x2cb473===_0x955d61;},'fIorQ':_0x3196e9(0x202),'BuuyU':function(_0x9368a6,_0x3214fb){return _0x9368a6>_0x3214fb;},'HCWWa':_0x3196e9(0x20f)};try{if(!_0x5ec136['zmRGI'](_0xd99783[_0x3196e9(0x25a)],''))return logger[_0x3196e9(0x276)](_0x5ec136['gJwqz']),![];const _0x131895=_0xd99783['browser'];if(![_0x5ec136[_0x3196e9(0x26b)],_0x5ec136[_0x3196e9(0x24d)],_0x5ec136[_0x3196e9(0x214)]][_0x3196e9(0x248)](_0x131895))return logger[_0x3196e9(0x276)](_0x5ec136[_0x3196e9(0x277)]),![];const _0x1b2807=_0x5ec136[_0x3196e9(0x247)](parseInt,_0xd99783[_0x3196e9(0x240)]);!_0x5ec136[_0x3196e9(0x1fb)](isBrowserstackInfra)&&(!_0x5ec136[_0x3196e9(0x23d)](_0x1b2807,0x64)&&logger[_0x3196e9(0x276)](_0x5ec136['DsXXs']));if(!(_0x5ec136[_0x3196e9(0x1f3)](_0x1b2807,_0x5ec136[_0x3196e9(0x234)])||_0x5ec136[_0x3196e9(0x203)](_0x1b2807,0x5e)))return logger[_0x3196e9(0x276)](_0x5ec136[_0x3196e9(0x219)]),![];}catch(_0x550502){logger[_0x3196e9(0x235)]('Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20'+util[_0x3196e9(0x215)](_0x550502));}return!![];},exports[a38_0x641b30(0x211)]=(_0x14e349,_0x5b3f26,_0x9ed3fb)=>{const _0x3fc3ef=a38_0x641b30,_0x544071={'OXAEF':'browserstack.accessibilityOptions','Qgixa':function(_0x59d5f3){return _0x59d5f3();},'ouEsw':_0x3fc3ef(0x254),'xYoRY':function(_0x3861ce,_0x137c4d){return _0x3861ce===_0x137c4d;},'DeWMR':_0x3fc3ef(0x241),'dHORr':function(_0x59bfb9,_0x523d77){return _0x59bfb9===_0x523d77;},'TURRH':_0x3fc3ef(0x1f4),'IxVld':function(_0x17ce65,_0x2bca2d){return _0x17ce65===_0x2bca2d;},'utXdx':_0x3fc3ef(0x233),'MWqMz':function(_0x2c9aee,_0x5928a4){return _0x2c9aee>_0x5928a4;},'AAPHD':_0x3fc3ef(0x24e),'hVdJr':function(_0xe92492,_0x37c7e6){return _0xe92492===_0x37c7e6;},'fgBAn':'latest','fyjFQ':_0x3fc3ef(0x20f),'lLdxk':function(_0x329038,_0x308f49){return _0x329038(_0x308f49);},'ltyDe':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','oOsMa':function(_0x1ebd63,_0x5f3f14){return _0x1ebd63+_0x5f3f14;}};try{if(_0x544071[_0x3fc3ef(0x210)](isAccessibilityAutomationSession)){global[_0x3fc3ef(0x26a)]=!![];!_0x14e349[_0x544071[_0x3fc3ef(0x21c)]]&&(global['accessibilityPlatform']=![]);!(_0x544071[_0x3fc3ef(0x201)](_0x14e349['browserName'],_0x544071[_0x3fc3ef(0x1f7)])||_0x544071[_0x3fc3ef(0x217)](_0x14e349['browserName'],_0x544071['TURRH'])||_0x544071[_0x3fc3ef(0x201)](_0x14e349['browser'],_0x544071[_0x3fc3ef(0x1f7)])||_0x544071[_0x3fc3ef(0x268)](_0x14e349['browser'],_0x544071[_0x3fc3ef(0x250)]))&&(logger[_0x3fc3ef(0x276)](_0x544071[_0x3fc3ef(0x1ff)]),global['accessibilityPlatform']=![]);!_0x544071[_0x3fc3ef(0x210)](isBrowserstackInfra)&&(!_0x544071[_0x3fc3ef(0x264)](_0x14e349[_0x3fc3ef(0x240)],0x64)&&logger[_0x3fc3ef(0x276)](_0x544071[_0x3fc3ef(0x24a)]));!(_0x544071[_0x3fc3ef(0x1fe)](_0x14e349[_0x3fc3ef(0x240)],_0x544071[_0x3fc3ef(0x225)])||_0x544071[_0x3fc3ef(0x264)](_0x14e349[_0x3fc3ef(0x240)],0x5e))&&(logger['warn'](_0x544071[_0x3fc3ef(0x223)]),global[_0x3fc3ef(0x26a)]=![]);!_0x544071['lLdxk'](isUndefined,_0x14e349[_0x3fc3ef(0x25a)])&&(logger[_0x3fc3ef(0x276)](_0x544071[_0x3fc3ef(0x257)]),global[_0x3fc3ef(0x26a)]=![]);if(!global['accessibilityPlatform']){_0x14e349[_0x544071[_0x3fc3ef(0x21c)]]=![],Object[_0x3fc3ef(0x1fc)](_0x14e349)[_0x3fc3ef(0x25f)](_0x5e9314=>{const _0x3fffb5=_0x3fc3ef;_0x5e9314[_0x3fffb5(0x22e)](_0x544071[_0x3fffb5(0x260)])&&delete _0x14e349[_0x5e9314];});const _0x41357b=_0x544071[_0x3fc3ef(0x212)](_0x5b3f26,_0x544071['lLdxk'](encodeURIComponent,JSON[_0x3fc3ef(0x20e)](_0x14e349)));_0x9ed3fb&&(_0x9ed3fb[_0x3fc3ef(0x22f)][_0x3fc3ef(0x252)][_0x3fc3ef(0x238)][_0x3fc3ef(0x218)][_0x3fc3ef(0x251)][_0x3fc3ef(0x23f)]=_0x41357b,_0x9ed3fb[_0x3fc3ef(0x253)][_0x3fc3ef(0x238)]['use'][_0x3fc3ef(0x251)][_0x3fc3ef(0x23f)]=_0x41357b);}}else global[_0x3fc3ef(0x26a)]=![];}catch(_0x28e9f5){logger[_0x3fc3ef(0x235)](_0x3fc3ef(0x261)+util[_0x3fc3ef(0x215)](_0x28e9f5));}};
1
+ function a38_0xfd4c(){const _0x1c99dd=['CHJdh','accessibilityOptions.includeIssueType.needsReview','../../helpers/helper','721358KaiCOm','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','2561358olzyFT','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','Lrsfh','../../helpers/performance/performance-tester','warn','currentTest','aWQch','includeIssueType','browser_version','10cSRPIX','accessibilityOptions.wcagVersion','parse','testInfo','playwright-chromium','NQcjF','name','use','scannerVersion','accessibilityOptions.scannerVersion','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','accessibilityOptions.includeIssueType.bestPractice','jDzIo','scannerProcessingTimeout','pYvgj','AaKAK','includePartOfPageScope','accessibilityOptions.scannerProcessingTimeout','BS_A11Y_JWT','SQuUO','keys','lfXpD','\x20page:\x20','818qVIHdV','command','[A11Y]\x20Error\x20logging\x20SDK-AUTOMATION\x20for\x20browserStackEvaluate:\x20','debug','GDjzB','qndDm','61830Aeyxcr','MIrrG','../../helpers/performance/constants','browserStackExecuteDriver','parameters','Performing\x20scan\x20with\x20method:\x20','browser','deviceName','string','startsWith','TvYKj','Playwright','VtAQQ','rTWnY','error','osngW','ofKfq','setAccessibilityCapabilities','wcagVersion','browserstack.accessibility','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','workerInfo','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','GKMEF','UexPy','Aarhs','][\x20SDK-AUTOMATION\x20]\x20','platformValidation','chrome','ucHHh','bstackSdkArgs','../../helpers/accessibility-automation/helper','browserStackEvaluate','OdkVc','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','qsWkD','project','887ieWcQG','accessibilityPlatform','__workerDetails','stringify','Isilq','replace','executeScript','body','195423PpmsnI','format','No\x20accessibility\x20results\x20were\x20found.','WebDriver','processAccessibilityCaps','327124oJtSvf','13145wIGjcp','accessibilityOptions','fEIcF','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','RtrNu','winstonLogger','No\x20summaryResults\x20found.','env','includes','920WnPqJD','mfhQN','CAgXN','nlubJ','response','accessibilityOptions.authToken','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','wsEndpoint','../utils/constants','tUGTh','foznT','toISOString','browserstack.accessibilityOptions','(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','CjyMs','getAccessibilityResultsSummary','HhMxn','evaluate','../../helpers/accessibility-automation/scripts','find','forEach','constructor','508idDqjc','AfOvZ','Fntvf','connectOptions','performScan','url','ezCAP'];a38_0xfd4c=function(){return _0x1c99dd;};return a38_0xfd4c();}const a38_0x5bad77=a38_0x5f00;function a38_0x5f00(_0x63662d,_0x35231b){const _0xfd4ca3=a38_0xfd4c();return a38_0x5f00=function(_0x5f0089,_0x430ba6){_0x5f0089=_0x5f0089-0x172;let _0x27a192=_0xfd4ca3[_0x5f0089];return _0x27a192;},a38_0x5f00(_0x63662d,_0x35231b);}(function(_0x153bb9,_0x2aacdf){const _0x1f2089=a38_0x5f00,_0x3d0bf7=_0x153bb9();while(!![]){try{const _0x4c21e6=parseInt(_0x1f2089(0x1a3))/0x1*(parseInt(_0x1f2089(0x178))/0x2)+parseInt(_0x1f2089(0x1ab))/0x3+parseInt(_0x1f2089(0x1d1))/0x4*(-parseInt(_0x1f2089(0x1b1))/0x5)+-parseInt(_0x1f2089(0x1dd))/0x6+parseInt(_0x1f2089(0x1b0))/0x7+-parseInt(_0x1f2089(0x1ba))/0x8*(-parseInt(_0x1f2089(0x17e))/0x9)+-parseInt(_0x1f2089(0x1e6))/0xa*(-parseInt(_0x1f2089(0x1db))/0xb);if(_0x4c21e6===_0x2aacdf)break;else _0x3d0bf7['push'](_0x3d0bf7['shift']());}catch(_0x4253da){_0x3d0bf7['push'](_0x3d0bf7['shift']());}}}(a38_0xfd4c,0x8b0a4));const util=require('util'),logger=require('../../helpers/logger')[a38_0x5bad77(0x1b6)],{automationLogger}=require('../../helpers/logger'),{isAccessibilityAutomationSession}=require(a38_0x5bad77(0x19d)),{isUndefined,isBrowserstackInfra}=require(a38_0x5bad77(0x1da)),scripts=require(a38_0x5bad77(0x1cd)),PerformanceTester=require(a38_0x5bad77(0x1e0)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a38_0x5bad77(0x180)),{AUTOMATION_LOG_COMMANDS}=require(a38_0x5bad77(0x1c3));exports[a38_0x5bad77(0x19e)]=async(_0x35a658,_0x376e0d,_0x4a62d9={})=>{const _0x6acf68=a38_0x5bad77,_0x5a9465={};_0x5a9465['GDjzB']=_0x6acf68(0x19c),_0x5a9465[_0x6acf68(0x18b)]=function(_0x1b2a07,_0x203d35){return _0x1b2a07===_0x203d35;},_0x5a9465[_0x6acf68(0x17f)]=_0x6acf68(0x186);const _0x36a4e2=_0x5a9465,_0x2ba4d1=await _0x35a658[_0x6acf68(0x1cc)](_0x6acf68(0x1c8)+_0x376e0d[_0x6acf68(0x1a8)](/arguments/g,_0x36a4e2[_0x6acf68(0x17c)])+_0x6acf68(0x1c0)+JSON[_0x6acf68(0x1a6)](_0x4a62d9)+')');try{if(_0x376e0d&&_0x36a4e2[_0x6acf68(0x18b)](typeof _0x376e0d,_0x36a4e2[_0x6acf68(0x17f)])){const _0xfb25e8=AUTOMATION_LOG_COMMANDS[_0x6acf68(0x1ce)](_0x32642d=>_0x376e0d[_0x6acf68(0x1b9)](_0x32642d));if(_0xfb25e8){const _0x32efa7={};_0x32efa7[_0x6acf68(0x179)]=_0xfb25e8,_0x32efa7[_0x6acf68(0x182)]=[_0x4a62d9];const _0x160ac2={};_0x160ac2[_0x6acf68(0x1aa)]=_0x2ba4d1;const _0x8a0a86={};_0x8a0a86['request']=_0x32efa7,_0x8a0a86[_0x6acf68(0x1be)]=_0x160ac2,automationLogger['silly']('['+new Date()[_0x6acf68(0x1c6)]()+_0x6acf68(0x198)+JSON[_0x6acf68(0x1a6)](_0x8a0a86));}}}catch(_0x29db67){logger[_0x6acf68(0x17b)](_0x6acf68(0x17a)+_0x29db67['message']);}return _0x2ba4d1;},exports[a38_0x5bad77(0x181)]=async(_0x3e4bd4,_0x148e31,_0xb8a1fb={})=>{const _0x3f2296=a38_0x5bad77,_0x231116={};_0x231116['UexPy']=function(_0x1b061e,_0x26a0a8){return _0x1b061e===_0x26a0a8;},_0x231116['Cpfvk']=_0x3f2296(0x1ae),_0x231116[_0x3f2296(0x1bc)]=_0x3f2296(0x189),_0x231116[_0x3f2296(0x18a)]=_0x3f2296(0x19c);const _0x30a06b=_0x231116;if(_0x30a06b[_0x3f2296(0x196)](_0x3e4bd4['constructor'][_0x3f2296(0x1ec)],_0x30a06b['Cpfvk']))return await _0x3e4bd4['executeAsyncScript'](_0x148e31,_0xb8a1fb);else{if(_0x30a06b['UexPy'](_0x3e4bd4[_0x3f2296(0x1d0)][_0x3f2296(0x1ec)],_0x30a06b[_0x3f2296(0x1bc)]))return await _0x3e4bd4[_0x3f2296(0x1a9)]('(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'+_0x148e31[_0x3f2296(0x1a8)](/arguments/g,_0x30a06b[_0x3f2296(0x18a)])+_0x3f2296(0x1de)+JSON[_0x3f2296(0x1a6)](_0xb8a1fb)+')');}},exports[a38_0x5bad77(0x18f)]=async _0x5a01a0=>{const _0x287ad7=a38_0x5bad77,_0x56d6a8={};_0x56d6a8['nlubJ']=_0x287ad7(0x1e7),_0x56d6a8[_0x287ad7(0x18d)]=_0x287ad7(0x172),_0x56d6a8['qsWkD']=_0x287ad7(0x1f1),_0x56d6a8[_0x287ad7(0x1e3)]=_0x287ad7(0x1d9),_0x56d6a8[_0x287ad7(0x1bb)]=_0x287ad7(0x1bf),_0x56d6a8[_0x287ad7(0x1d3)]=_0x287ad7(0x1ef);const _0x222503=_0x56d6a8;_0x5a01a0[_0x287ad7(0x1b2)]&&(_0x5a01a0[_0x287ad7(0x1b2)][_0x287ad7(0x190)]&&(_0x5a01a0[_0x222503[_0x287ad7(0x1bd)]]=_0x5a01a0[_0x287ad7(0x1b2)]['wcagVersion']),_0x5a01a0[_0x287ad7(0x1b2)][_0x287ad7(0x1f3)]&&(_0x5a01a0[_0x222503[_0x287ad7(0x18d)]]=_0x5a01a0[_0x287ad7(0x1b2)][_0x287ad7(0x1f3)]),_0x5a01a0['accessibilityOptions']['includeIssueType']&&(_0x5a01a0[_0x222503[_0x287ad7(0x1a1)]]=_0x5a01a0[_0x287ad7(0x1b2)][_0x287ad7(0x1e4)]['bestPractice'],_0x5a01a0[_0x222503[_0x287ad7(0x1e3)]]=_0x5a01a0['accessibilityOptions'][_0x287ad7(0x1e4)]['needsReview']));const _0x31f9aa=JSON[_0x287ad7(0x1e8)](process[_0x287ad7(0x1b8)][_0x287ad7(0x1dc)])[_0x287ad7(0x1ee)];_0x5a01a0[_0x222503['mfhQN']]=process[_0x287ad7(0x1b8)][_0x287ad7(0x173)],_0x5a01a0[_0x222503[_0x287ad7(0x1d3)]]=_0x31f9aa,delete _0x5a01a0[_0x287ad7(0x1b2)];},exports['getAccessibilityResults']=async _0x2549de=>{const _0x1c3952=a38_0x5bad77,_0x160040={};_0x160040['HGVUL']=_0x1c3952(0x1ad),_0x160040[_0x1c3952(0x1c5)]=_0x1c3952(0x1f0);const _0x4e44f0=_0x160040;if(global[_0x1c3952(0x1a4)])try{const details={'url':await _0x2549de.url(),'testhub_btcer_uuid':global.__workerDetails?.currentTest?.id};logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x2549de,scripts.performScan)));},{command:'getAccessibilityResults',...details})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x2549de,scripts.getResults);},{...details})();return res;}catch{return logger[_0x1c3952(0x18c)](_0x4e44f0['HGVUL']),[];}else return logger['warn'](_0x4e44f0[_0x1c3952(0x1c5)]),[];},exports[a38_0x5bad77(0x1d5)]=async(_0xc5f287,_0x52b197='',_0x997604={})=>{const _0xf14358=a38_0x5bad77;logger[_0xf14358(0x17b)](_0xf14358(0x183)+_0x52b197+_0xf14358(0x177)+_0xc5f287);const _0x157408={'url':await _0xc5f287[_0xf14358(0x1d6)](),'testhub_btcer_uuid':global[_0xf14358(0x1a5)]?.[_0xf14358(0x1e2)]?.['id']};if(global['accessibilityPlatform'])return await PerformanceTester['measureWrapper'](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x482612=_0xf14358,_0x2a28e5={};_0x2a28e5[_0x482612(0x179)]=_0x52b197;const _0x172bc4=_0x2a28e5;_0x997604&&_0x997604[_0x482612(0x1f6)]&&(_0x172bc4['includePartOfPageScope']=_0x997604[_0x482612(0x1f6)]);const _0x968577=await exports['browserStackEvaluate'](_0xc5f287,scripts[_0x482612(0x1d5)],_0x172bc4);return _0x968577;},{'command':_0x52b197,..._0x157408})();},exports[a38_0x5bad77(0x1ca)]=async _0x63ede3=>{const _0x31946e=a38_0x5bad77,_0x240b7e={};_0x240b7e[_0x31946e(0x1c9)]=_0x31946e(0x1b7),_0x240b7e[_0x31946e(0x1d7)]=_0x31946e(0x192);const _0x2ae8aa=_0x240b7e;if(global[_0x31946e(0x1a4)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x63ede3,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x63ede3,scripts.getResultsSummary);})();return summaryResults;}catch{return logger[_0x31946e(0x17b)](_0x2ae8aa[_0x31946e(0x1c9)]),{};}else return logger[_0x31946e(0x1e1)](_0x2ae8aa['ezCAP']),{};},exports[a38_0x5bad77(0x199)]=_0xb23030=>{const _0x574266=a38_0x5bad77,_0x48ca28={'RtrNu':function(_0x563e89,_0x1f640a){return _0x563e89!==_0x1f640a;},'AaKAK':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','XnzvY':'chrome','JTTaN':_0x574266(0x1ea),'xilta':'chromium','GKMEF':_0x574266(0x1b4),'lfXpD':function(_0x433680,_0x567583){return _0x433680(_0x567583);},'AfOvZ':function(_0xe565ba){return _0xe565ba();},'CHJdh':function(_0x55d308,_0x5010fb){return _0x55d308<_0x5010fb;},'zXrzD':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','OVibI':function(_0x3ea941,_0x4fa124){return _0x3ea941===_0x4fa124;},'OdkVc':'latest','tUGTh':function(_0xb2f021,_0x5b325d){return _0xb2f021>_0x5b325d;},'WrjEI':_0x574266(0x1c1)};try{if(!_0x48ca28[_0x574266(0x1b5)](_0xb23030[_0x574266(0x185)],''))return logger['warn'](_0x48ca28[_0x574266(0x1f5)]),![];const _0x234c64=_0xb23030['browser'];if(![_0x48ca28['XnzvY'],_0x48ca28['JTTaN'],_0x48ca28['xilta']]['includes'](_0x234c64))return logger['warn'](_0x48ca28[_0x574266(0x195)]),![];const _0x24a28c=_0x48ca28[_0x574266(0x176)](parseInt,_0xb23030['browser_version']);!_0x48ca28[_0x574266(0x1d2)](isBrowserstackInfra)&&(!_0x48ca28[_0x574266(0x1d8)](_0x24a28c,0x64)&&logger['warn'](_0x48ca28['zXrzD']));if(!(_0x48ca28['OVibI'](_0x24a28c,_0x48ca28[_0x574266(0x19f)])||_0x48ca28[_0x574266(0x1c4)](_0x24a28c,0x5e)))return logger['warn'](_0x48ca28['WrjEI']),![];}catch(_0x23aae7){logger[_0x574266(0x17b)](_0x574266(0x1a0)+util['format'](_0x23aae7));}return!![];},exports[a38_0x5bad77(0x1af)]=(_0x288a1a,_0x564a5b,_0x2ad337)=>{const _0x2a16f2=a38_0x5bad77,_0x23af7b={'pYvgj':_0x2a16f2(0x1c7),'NQcjF':function(_0x3fbecc){return _0x3fbecc();},'Aarhs':_0x2a16f2(0x191),'WPsfO':function(_0x2594e2,_0xe7edd4){return _0x2594e2===_0xe7edd4;},'qndDm':_0x2a16f2(0x19a),'MEvwK':function(_0x102424,_0x2fc0e5){return _0x102424===_0x2fc0e5;},'Isilq':'playwright-chromium','ofKfq':function(_0x217324,_0x24a538){return _0x217324===_0x24a538;},'SQuUO':function(_0x1733db,_0x55d9f9){return _0x1733db===_0x55d9f9;},'MYzRs':_0x2a16f2(0x1b4),'jDzIo':function(_0x3d3c07,_0x15f11e){return _0x3d3c07>_0x15f11e;},'fEIcF':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','fDDUF':function(_0x3ad12c,_0x8f9659){return _0x3ad12c===_0x8f9659;},'HhMxn':'latest','enWoN':_0x2a16f2(0x1c1),'TvYKj':function(_0x598afe,_0x34cdaa){return _0x598afe(_0x34cdaa);},'Lrsfh':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','ucHHh':function(_0x4205c3,_0x4e7afe){return _0x4205c3+_0x4e7afe;},'HZPsm':function(_0x5e9275,_0x58bcec){return _0x5e9275(_0x58bcec);}};try{if(_0x23af7b[_0x2a16f2(0x1eb)](isAccessibilityAutomationSession)){global[_0x2a16f2(0x1a4)]=!![];!_0x288a1a[_0x23af7b['Aarhs']]&&(global['accessibilityPlatform']=![]);!(_0x23af7b['WPsfO'](_0x288a1a['browserName'],_0x23af7b['qndDm'])||_0x23af7b['MEvwK'](_0x288a1a['browserName'],_0x23af7b[_0x2a16f2(0x1a7)])||_0x23af7b[_0x2a16f2(0x18e)](_0x288a1a['browser'],_0x23af7b[_0x2a16f2(0x17d)])||_0x23af7b[_0x2a16f2(0x174)](_0x288a1a[_0x2a16f2(0x184)],_0x23af7b[_0x2a16f2(0x1a7)]))&&(logger[_0x2a16f2(0x1e1)](_0x23af7b['MYzRs']),global[_0x2a16f2(0x1a4)]=![]);!_0x23af7b[_0x2a16f2(0x1eb)](isBrowserstackInfra)&&(!_0x23af7b['jDzIo'](_0x288a1a[_0x2a16f2(0x1e5)],0x64)&&logger[_0x2a16f2(0x1e1)](_0x23af7b[_0x2a16f2(0x1b3)]));!(_0x23af7b['fDDUF'](_0x288a1a[_0x2a16f2(0x1e5)],_0x23af7b[_0x2a16f2(0x1cb)])||_0x23af7b[_0x2a16f2(0x1f2)](_0x288a1a[_0x2a16f2(0x1e5)],0x5e))&&(logger[_0x2a16f2(0x1e1)](_0x23af7b['enWoN']),global[_0x2a16f2(0x1a4)]=![]);!_0x23af7b[_0x2a16f2(0x188)](isUndefined,_0x288a1a[_0x2a16f2(0x185)])&&(logger[_0x2a16f2(0x1e1)](_0x23af7b[_0x2a16f2(0x1df)]),global[_0x2a16f2(0x1a4)]=![]);if(!global[_0x2a16f2(0x1a4)]){_0x288a1a[_0x23af7b[_0x2a16f2(0x197)]]=![],Object[_0x2a16f2(0x175)](_0x288a1a)[_0x2a16f2(0x1cf)](_0x2b3b55=>{const _0x1f8e79=_0x2a16f2;_0x2b3b55[_0x1f8e79(0x187)](_0x23af7b[_0x1f8e79(0x1f4)])&&delete _0x288a1a[_0x2b3b55];});const _0x5234d1=_0x23af7b[_0x2a16f2(0x19b)](_0x564a5b,_0x23af7b['HZPsm'](encodeURIComponent,JSON[_0x2a16f2(0x1a6)](_0x288a1a)));_0x2ad337&&(_0x2ad337[_0x2a16f2(0x1e2)][_0x2a16f2(0x1e9)][_0x2a16f2(0x1a2)][_0x2a16f2(0x1ed)][_0x2a16f2(0x1d4)][_0x2a16f2(0x1c2)]=_0x5234d1,_0x2ad337[_0x2a16f2(0x193)][_0x2a16f2(0x1a2)]['use']['connectOptions'][_0x2a16f2(0x1c2)]=_0x5234d1);}}else global[_0x2a16f2(0x1a4)]=![];}catch(_0x279df1){logger[_0x2a16f2(0x17b)](_0x2a16f2(0x194)+util[_0x2a16f2(0x1ac)](_0x279df1));}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a39_0x14ed58=a39_0x2419;(function(_0x4ba00c,_0x15ac90){const _0x529af8=a39_0x2419,_0x3299d0=_0x4ba00c();while(!![]){try{const _0x5f47cb=-parseInt(_0x529af8(0x1f3))/0x1+parseInt(_0x529af8(0x1bf))/0x2*(parseInt(_0x529af8(0x1a8))/0x3)+-parseInt(_0x529af8(0x1a7))/0x4*(parseInt(_0x529af8(0x224))/0x5)+parseInt(_0x529af8(0x1cd))/0x6*(parseInt(_0x529af8(0x23d))/0x7)+-parseInt(_0x529af8(0x20d))/0x8*(parseInt(_0x529af8(0x1e2))/0x9)+-parseInt(_0x529af8(0x22a))/0xa+parseInt(_0x529af8(0x1b2))/0xb;if(_0x5f47cb===_0x15ac90)break;else _0x3299d0['push'](_0x3299d0['shift']());}catch(_0x56e8cb){_0x3299d0['push'](_0x3299d0['shift']());}}}(a39_0x1469,0x60664));function a39_0x1469(){const _0x11d7c9=['readdirSync','serializeToYamlString','--disable-test-observability','TGMgM','filterBrowserstackArgs','URzSI','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','shutdown','accessSync','debug','concat','../v2/cliUtils','BROWSERSTACK_TEST_OBSERVABILITY','DYqiX','BROWSERSTACK_RERUN','automation','IGzAS','953648tHZfVa','2073UtjaqD','NCXTc','wasRb','iMyYA','./reporter/test-details','Playwright\x20process\x20exited\x20with\x20code\x20','R_OK','winstonLogger','info','close','7115955loOQCP','AIqQZ','getConfigPath','\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','HEzZw','accessibility','SDK_PRE_INITIALIZE','nktLx','qKQTI','validateRerunTestList','stop','lvgOm','start','1602kFKaEK','isTypescriptProject','accessibilityOptions','measureWrapper','LMwco','PACKAGE_TYPE','apply','readFileSync','isFalse','browserstackAutomation','INTERNALLY_USED_ENV_VARS','bootstrap','lHIBi','join','880584dwQLil','isTrue','MGcCH','BROWSERSTACK_SETUP_CONFIG_PATH','./accessibility-helper','constants','getConfig','inherit','split','false','get','isCLIEnabled','nIFpb','startsWith','../../helpers/helper','testObservability','nestedKeyValue','setFrameworkDetail','Error\x20in\x20accessing\x20.browserstack\x20directory:\x20','bgOPv','dirname','9QKcbWs','DGXNE','testContextOptions','SDK_CLEANUP','BmvVG','BxMnd','BROWSERSTACK_AUTOMATION','jlUAo','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','requirePWModule','requireConfigLoaderYarnPnP','launchBuild','skipSessionStatus','existsSync','cliConfig','getInstance','539069RVshun','USER_CONFIG_DETAILS_PATH','filter','../../helpers/BrowserStackSetup','writeFileSync','forEach','win32','exitCode','IDwxJ','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','--config','sWmsd','./reporter/pwUtils','isUndefined','util','isYarnPnP','Proxy\x20url\x20:\x20','EVENTS','length','path','yarn','lGPTI','env','platform','yTTGe','sHPZb','2758360DqsLxk','NWOTQ','mmUTQ','browserstackSetupConfig.json','playwright-browserstack-sdk.config.cjs','DeiqA','trim','FsCBS','../../helpers/test-observability/constants','error','MODULE','../../helpers/performance/constants','hczbk','push','../../helpers/test-observability/utils','BROWSERSTACK_PW_CONFIG_DIR','config','setBrowserstackConfig','trace_','EWNgC','jYpxK','feUeq','indexOf','10WtYRBN','../v2/TestInfo','fOyPc','aVXmH','assign','\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();','319120aNPWHD','isRunning','BROWSERSTACK_TEST_ACCESSIBILITY_YML','kcyPa','yhUuR','cwd','test','logLevel','fYblr','.browserstack','--config=','AiPJm','unlinkSync','VUGft','../utils/constants','homedir','playwright','stringify','../v2/browserstackCLI','28auFmJG','VqUMT','../../helpers/testhub/testhubHandler','vtEUe','BrowserStack\x20config\x20file\x20not\x20found.','qNskm','W_OK','mniea','reportFinalDetectionState','slice','exports','true','atbag','reportDotBrowserStackFolderNotAccessibleIssue','uTxph','errorMessage','OTLEi','reportConflictingEnvVarIssue','skipSessionName','uJchT','Deleting\x20','npx','--disable-browserstack-automation'];a39_0x1469=function(){return _0x11d7c9;};return a39_0x1469();}const fs=require('fs'),path=require(a39_0x14ed58(0x206)),{spawn}=require('child_process'),{format}=require(a39_0x14ed58(0x201)),logger=require('../../helpers/logger')[a39_0x14ed58(0x1af)],{default:BrowserStackSetup}=require(a39_0x14ed58(0x1f6)),helper=require(a39_0x14ed58(0x1db)),utilities=require('../../helpers/utilities'),constants=require(a39_0x14ed58(0x238)),{FRAMEWORKS}=require(a39_0x14ed58(0x215)),{getConfigLoaderPath}=require(a39_0x14ed58(0x1ff)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities}=require(a39_0x14ed58(0x1d1)),{printBuildLink}=require(a39_0x14ed58(0x21b)),TestDetails=require(a39_0x14ed58(0x1ac)),TestHubHandler=require(a39_0x14ed58(0x23f)),PerformanceTester=require('../../helpers/performance/performance-tester'),BrowserstackCLI=require(a39_0x14ed58(0x23c)),PerformanceEvents=require(a39_0x14ed58(0x218))[a39_0x14ed58(0x204)],CLIUtils=require(a39_0x14ed58(0x1a1)),TestInfo=require(a39_0x14ed58(0x225)),ClientTroubleShootingService=require('../utils/clientTroubleshootingService'),getUserPlaywrightConfig=async(_0x4eb052,_0x27f119)=>{const _0x186c2e=a39_0x14ed58,_0x48af2e={'iMyYA':function(_0x57c453){return _0x57c453();},'twncy':function(_0x6b6ce6){return _0x6b6ce6();},'OTLEi':function(_0x500c4e,_0x198703){return _0x500c4e(_0x198703);},'lvgOm':function(_0x1f0fca,_0x5adbfd){return _0x1f0fca(_0x5adbfd);},'lGPTI':'resolvedConfigFile','IElol':_0x186c2e(0x234)},_0xfc3423=!helper[_0x186c2e(0x200)](_0x4eb052[_0x186c2e(0x21d)]),_0x29969d=_0xfc3423?path['resolve'](process[_0x186c2e(0x22f)](),_0x4eb052[_0x186c2e(0x21d)]):process[_0x186c2e(0x22f)](),{resolveConfigFile:_0x3d555f,resolveConfigLocation:_0x2fc87e}=helper[_0x186c2e(0x202)]()?helper[_0x186c2e(0x1ed)](..._0x48af2e[_0x186c2e(0x1ab)](getConfigLoaderPath)):helper[_0x186c2e(0x1ec)][_0x186c2e(0x1c5)](null,_0x48af2e['twncy'](getConfigLoaderPath)),_0xc088b2=_0x3d555f?_0x48af2e[_0x186c2e(0x18f)](_0x3d555f,_0x29969d):helper[_0x186c2e(0x1dd)](_0x48af2e[_0x186c2e(0x1bd)](_0x2fc87e,_0x29969d),[_0x48af2e[_0x186c2e(0x208)]]),_0x443e63={};if(_0xfc3423){const _0x1091f1=_0x27f119['findIndex'](_0x480331=>_0x480331===_0x186c2e(0x1fd)||_0x480331==='-c'||_0x480331[_0x186c2e(0x1da)]('--config='));_0x27f119['splice'](_0x1091f1,_0x27f119[_0x1091f1]['startsWith'](_0x48af2e['IElol'])?0x1:0x2);}const _0x415e2a={};return _0x415e2a[_0x186c2e(0x206)]=_0xc088b2,_0x415e2a[_0x186c2e(0x21d)]=_0x443e63,_0x415e2a;},handleO11yRerun=_0x1a963c=>{const _0xa00bdc=a39_0x14ed58,_0xd2dc57={};_0xd2dc57[_0xa00bdc(0x1b6)]='--grep';const _0xbd5c2d=_0xd2dc57,_0x270daf=helper[_0xa00bdc(0x1ce)](process[_0xa00bdc(0x209)][_0xa00bdc(0x1a4)]);if(_0x270daf){const _0x4979b8=process[_0xa00bdc(0x209)]['BROWSERSTACK_RERUN_TESTS'],_0x54bef1=[];if(helper[_0xa00bdc(0x1bb)](_0x4979b8)&&!helper['isUndefined'](_0x4979b8)){_0x4979b8[_0xa00bdc(0x1d5)](',')['map'](_0x500d90=>{const _0x3fbb01=_0xa00bdc;_0x54bef1[_0x3fbb01(0x21a)]('('+_0x500d90[_0x3fbb01(0x213)]()+')');});const _0x1ca112='^'+_0x54bef1[_0xa00bdc(0x1cc)]('|')+'$';_0x1a963c[_0xa00bdc(0x21a)](_0xbd5c2d[_0xa00bdc(0x1b6)],_0x1ca112);}}},spawnOriginalProcess=_0x2348af=>{const _0x4069ec=a39_0x14ed58,_0x3fc129={'EWNgC':function(_0x2f6cd5,_0x32d233,_0x4508b5,_0x3cf3a8){return _0x2f6cd5(_0x32d233,_0x4508b5,_0x3cf3a8);},'EMhzy':'yarn','fOyPc':_0x4069ec(0x194),'JVRfX':_0x4069ec(0x23a),'mmUTQ':function(_0x13acbe,_0x2af534){return _0x13acbe===_0x2af534;},'GzTVA':_0x4069ec(0x1f9),'MGcCH':_0x4069ec(0x1d4)};_0x3fc129[_0x4069ec(0x220)](spawn,helper['isYarnPnP']()?_0x3fc129['EMhzy']:_0x3fc129[_0x4069ec(0x226)],[_0x3fc129['JVRfX'],..._0x2348af['slice'](0x1)],{'shell':_0x3fc129[_0x4069ec(0x20f)](process[_0x4069ec(0x20a)],_0x3fc129['GzTVA']),'stdio':_0x3fc129[_0x4069ec(0x1cf)],'cwd':process[_0x4069ec(0x22f)]()});},isTestCommand=(_0xbd0a4e,_0x4740a7)=>{const _0x2e4363=a39_0x14ed58,_0x53deda={};_0x53deda[_0x2e4363(0x1e0)]=function(_0x30f9aa,_0x23904f){return _0x30f9aa>_0x23904f;},_0x53deda['URzSI']=function(_0x52ccca,_0x57c062){return _0x52ccca===_0x57c062;},_0x53deda['qNskm']='test';const _0x17a973=_0x53deda;if(_0x17a973['bgOPv'](_0x4740a7[_0x2e4363(0x205)],0x1)&&_0x17a973[_0x2e4363(0x19b)](_0x4740a7[0x1],_0x17a973[_0x2e4363(0x184)]))return!![];return![];};async function run(_0x37cb35,_0x4b8c7d,_0x21f39f){const _0x451c5a=a39_0x14ed58,_0x2d5389={'vtEUe':function(_0x25aa44,_0x5a5b8e){return _0x25aa44(_0x5a5b8e);},'VqUMT':_0x451c5a(0x233),'yhUuR':function(_0x22335a){return _0x22335a();},'nefsq':function(_0x2399df){return _0x2399df();},'sHPZb':function(_0x35a57a,_0x484ef7){return _0x35a57a+_0x484ef7;},'AIqQZ':'Error\x20in\x20closing\x20playwright','ntJub':'pw_result.json','AiPJm':function(_0x24e7cc,_0x469a4d){return _0x24e7cc+_0x469a4d;},'FsCBS':'Error\x20in\x20getting\x20funnel\x20data\x20results','wasRb':_0x451c5a(0x183),'aVXmH':function(_0x40889e,_0x58cf35){return _0x40889e<_0x58cf35;},'jYpxK':function(_0x3659b5,_0x158519){return _0x3659b5===_0x158519;},'nIFpb':_0x451c5a(0x1d6),'IDwxJ':_0x451c5a(0x198),'vlNoy':function(_0x13867c,_0x184ab9){return _0x13867c>=_0x184ab9;},'LMwco':_0x451c5a(0x1a5),'VUGft':function(_0x2d9f0d,_0x353bd9){return _0x2d9f0d!=_0x353bd9;},'NWOTQ':function(_0x4db5ba,_0xdd271e,_0x50f99a){return _0x4db5ba(_0xdd271e,_0x50f99a);},'DYqiX':_0x451c5a(0x18a),'qKQTI':function(_0x163269,_0x443141){return _0x163269(_0x443141);},'atbag':_0x451c5a(0x210),'hHkvl':_0x451c5a(0x211),'sWmsd':'playwright-browserstack-sdk.config.js','TGMgM':function(_0x506b11,_0x4b9591){return _0x506b11-_0x4b9591;},'DGXNE':'Updated\x20config\x20file\x20name\x20to\x20-\x20','VONXz':function(_0x360498,_0x531517){return _0x360498>_0x531517;},'kcyPa':function(_0x1e167b,_0x5bda41){return _0x1e167b+_0x5bda41;},'IGzAS':function(_0x10ecfa,_0x45b7b2,_0x1616de,_0x53a761){return _0x10ecfa(_0x45b7b2,_0x1616de,_0x53a761);},'hefHV':_0x451c5a(0x207),'BxMnd':'npx','luppa':_0x451c5a(0x23a),'BmvVG':_0x451c5a(0x230),'mniea':_0x451c5a(0x1fd),'yTTGe':_0x451c5a(0x1f9),'tJflV':function(_0x474cef,_0x5e4a37){return _0x474cef===_0x5e4a37;},'nktLx':_0x451c5a(0x1d4),'NCXTc':_0x451c5a(0x1b1),'hczbk':function(_0x412e82,_0x4d7d43){return _0x412e82|_0x4d7d43;},'uTxph':function(_0x2e6ebf,_0x47a643){return _0x2e6ebf+_0x47a643;},'lHIBi':_0x451c5a(0x1df),'DeiqA':'Error\x20in\x20deleting\x20playwright\x20results','DMYbJ':function(_0x513f3a,_0x74f53,_0x5504e8){return _0x513f3a(_0x74f53,_0x5504e8);}};try{const _0x13bb76=path[_0x451c5a(0x1cc)](helper[_0x451c5a(0x239)](),_0x2d5389[_0x451c5a(0x23e)]);try{fs[_0x451c5a(0x19e)](_0x13bb76,_0x2d5389[_0x451c5a(0x219)](fs['constants'][_0x451c5a(0x1ae)],fs[_0x451c5a(0x1d2)][_0x451c5a(0x185)]));}catch(_0x587692){ClientTroubleShootingService[_0x451c5a(0x18c)]();}}catch(_0x4d4983){logger[_0x451c5a(0x19f)](_0x2d5389[_0x451c5a(0x18d)](_0x2d5389[_0x451c5a(0x1cb)],_0x4d4983));}try{const _0x3e0877=path['join'](helper[_0x451c5a(0x239)](),_0x2d5389[_0x451c5a(0x23e)],_0x2d5389['ntJub']);fs[_0x451c5a(0x1f0)](_0x3e0877)&&fs[_0x451c5a(0x236)](_0x3e0877);}catch(_0x5c42dd){logger[_0x451c5a(0x19f)](_0x2d5389[_0x451c5a(0x235)](_0x2d5389[_0x451c5a(0x212)],_0x5c42dd));}if(!_0x2d5389['DMYbJ'](isTestCommand,_0x37cb35,_0x4b8c7d)){_0x2d5389[_0x451c5a(0x182)](spawnOriginalProcess,_0x4b8c7d);return;}await PerformanceTester[_0x451c5a(0x1c2)](PerformanceEvents[_0x451c5a(0x1b8)],async()=>{const _0xc9b98e=_0x451c5a,_0x5cfc2f={'PMxQn':_0x2d5389[_0xc9b98e(0x23e)],'jlUAo':_0x2d5389['ntJub'],'fYblr':function(_0x43e6b7,_0x14b3e7){return _0x2d5389['AiPJm'](_0x43e6b7,_0x14b3e7);},'uJchT':_0x2d5389[_0xc9b98e(0x214)]};if(!_0x21f39f['config']){logger[_0xc9b98e(0x216)](_0x2d5389[_0xc9b98e(0x1aa)]);return;}await _0x21f39f['initialize'](_0x37cb35),CLIUtils[_0xc9b98e(0x1de)](FRAMEWORKS['PLAYWRIGHT'],FRAMEWORKS['PLAYWRIGHT']),BrowserstackCLI[_0xc9b98e(0x1f2)]()[_0xc9b98e(0x21e)](_0x21f39f[_0xc9b98e(0x21d)],_0x21f39f['configPath'],_0x21f39f[_0xc9b98e(0x1f1)]),await BrowserstackCLI[_0xc9b98e(0x1f2)]()[_0xc9b98e(0x1ca)]();for(var _0x335f91=0x0;_0x2d5389[_0xc9b98e(0x227)](_0x335f91,constants[_0xc9b98e(0x1c9)][_0xc9b98e(0x205)]);_0x335f91++){var _0x1a53d6=constants[_0xc9b98e(0x1c9)][_0x335f91];process['env'][_0x1a53d6]&&await ClientTroubleShootingService[_0xc9b98e(0x190)](_0x1a53d6);}const _0x366306=BrowserstackCLI[_0xc9b98e(0x1f2)]()[_0xc9b98e(0x1d3)]();!helper[_0xc9b98e(0x1c7)](_0x366306[_0xc9b98e(0x1c8)])&&(process['env']['BROWSERSTACK_AUTOMATION']=!![]);_0x2d5389[_0xc9b98e(0x221)](_0x366306[_0xc9b98e(0x1c8)],![])&&(process[_0xc9b98e(0x209)][_0xc9b98e(0x1e8)]=_0x2d5389['nIFpb'],_0x4b8c7d=_0x4b8c7d[_0xc9b98e(0x1f5)](_0x584af0=>_0x584af0!==_0xc9b98e(0x195)));const _0x57065c=_0x4b8c7d[_0xc9b98e(0x223)](_0x2d5389[_0xc9b98e(0x1fb)]);(_0x2d5389['vlNoy'](_0x57065c,0x0)||_0x2d5389[_0xc9b98e(0x221)](_0x366306[_0xc9b98e(0x1dc)],![]))&&(process[_0xc9b98e(0x209)]['BROWSERSTACK_TEST_OBSERVABILITY']=_0x2d5389[_0xc9b98e(0x1d9)],_0x4b8c7d=_0x4b8c7d[_0xc9b98e(0x1f5)](_0x5a3123=>_0x5a3123!==_0xc9b98e(0x198)));!helper[_0xc9b98e(0x200)](_0x21f39f['cliConfig'])&&_0x21f39f[_0xc9b98e(0x1f1)]['has'](_0x2d5389['LMwco'])&&(process[_0xc9b98e(0x209)][_0xc9b98e(0x1e8)]=_0x21f39f[_0xc9b98e(0x1f1)][_0xc9b98e(0x1d7)](_0x2d5389[_0xc9b98e(0x1c3)])||!![]);_0x2d5389[_0xc9b98e(0x237)](_0x21f39f[_0xc9b98e(0x21d)][_0xc9b98e(0x1dc)],null)&&!helper['isTrue'](process['env'][_0xc9b98e(0x1a2)])&&(process[_0xc9b98e(0x209)]['BROWSERSTACK_TEST_OBSERVABILITY']=process[_0xc9b98e(0x209)][_0xc9b98e(0x1a2)]||_0x21f39f['config'][_0xc9b98e(0x1dc)]);const _0x53f6a8=!helper[_0xc9b98e(0x1c7)](process[_0xc9b98e(0x209)]['BROWSERSTACK_TEST_OBSERVABILITY']);_0x21f39f['config']['accessibilityOptions']&&(process[_0xc9b98e(0x209)][_0xc9b98e(0x19c)]=JSON[_0xc9b98e(0x23b)](_0x21f39f[_0xc9b98e(0x21d)][_0xc9b98e(0x1c1)]));let _0x13bc3a=![];_0x21f39f[_0xc9b98e(0x21d)][_0xc9b98e(0x1b7)]&&(_0x13bc3a=!![],process[_0xc9b98e(0x209)][_0xc9b98e(0x22c)]=_0x21f39f[_0xc9b98e(0x21d)][_0xc9b98e(0x1b7)]);const _0x608c1e=_0x4b8c7d[_0xc9b98e(0x1a0)](),_0xe3a49e=await _0x2d5389[_0xc9b98e(0x20e)](getUserPlaywrightConfig,_0x37cb35,_0x4b8c7d);if(helper[_0xc9b98e(0x200)](_0xe3a49e)){_0x2d5389[_0xc9b98e(0x182)](spawnOriginalProcess,_0x608c1e);return;}const _0x91eda2=_0xe3a49e[_0xc9b98e(0x206)]?path[_0xc9b98e(0x1e1)](_0xe3a49e[_0xc9b98e(0x206)]):process['cwd']();process['env'][_0xc9b98e(0x21c)]=_0x91eda2,await PerformanceTester[_0xc9b98e(0x1c2)](PerformanceEvents['SDK_POST_INITIALIZE'],async()=>{const _0x27551a=_0xc9b98e;!BrowserstackCLI[_0x27551a(0x1f2)]()[_0x27551a(0x22b)]()&&await TestHubHandler[_0x27551a(0x1ee)](FRAMEWORKS['PLAYWRIGHT'],_0x21f39f),_0x53f6a8&&_0x2d5389[_0x27551a(0x182)](handleO11yRerun,_0x4b8c7d);})();if(!BrowserstackCLI[_0xc9b98e(0x1f2)]()[_0xc9b98e(0x22b)]()){let _0x483018=_0x2d5389[_0xc9b98e(0x221)](process['env'][_0xc9b98e(0x22c)],_0x2d5389[_0xc9b98e(0x1a3)]);_0x483018=_0x483018||_0x2d5389[_0xc9b98e(0x1ba)](checkAccessibilityPlatformConfig,_0x21f39f[_0xc9b98e(0x21d)]),process[_0xc9b98e(0x209)][_0xc9b98e(0x22c)]=_0x483018,_0x483018&&_0x2d5389[_0xc9b98e(0x1ba)](setAccessibilityCapabilities,_0x21f39f[_0xc9b98e(0x21d)]);}const _0x4287fa=path['join'](_0xe3a49e[_0xc9b98e(0x206)]?path[_0xc9b98e(0x1e1)](_0xe3a49e[_0xc9b98e(0x206)]):process['cwd'](),_0x2d5389[_0xc9b98e(0x18b)]);fs[_0xc9b98e(0x1f7)](_0x4287fa,helper[_0xc9b98e(0x197)](_0x21f39f[_0xc9b98e(0x21d)])),process[_0xc9b98e(0x209)][_0xc9b98e(0x1d0)]=_0x4287fa,helper['clearTempPWConfig']();let _0x32cc6b='';_0x2d5389['jYpxK'](helper['getPackageType'](),constants[_0xc9b98e(0x1c4)][_0xc9b98e(0x217)])?_0x32cc6b=_0x2d5389['hHkvl']:_0x32cc6b=_0x2d5389[_0xc9b98e(0x1fe)];let _0x645d2d='';if(helper[_0xc9b98e(0x1c0)](_0xe3a49e['path'])){_0x645d2d=_0xc9b98e(0x1fc);const _0x3c934b=_0x32cc6b['split']('.');_0x3c934b[_0x2d5389[_0xc9b98e(0x199)](_0x3c934b[_0xc9b98e(0x205)],0x1)]='ts',_0x32cc6b=_0x3c934b[_0xc9b98e(0x1cc)]('.'),logger['debug'](_0x2d5389['AiPJm'](_0x2d5389[_0xc9b98e(0x1e3)],_0x32cc6b));}else _0x645d2d=_0xc9b98e(0x1eb);const _0x411ebb=path[_0xc9b98e(0x1cc)](_0xe3a49e[_0xc9b98e(0x206)]?path[_0xc9b98e(0x1e1)](_0xe3a49e[_0xc9b98e(0x206)]):process[_0xc9b98e(0x22f)](),_0x32cc6b);let _0x1cc893=_0xe3a49e[_0xc9b98e(0x206)]?_0xe3a49e['path']:'';_0x1cc893=_0x2d5389['VONXz'](_0x1cc893[_0xc9b98e(0x205)],0x0)?path['resolve'](_0x1cc893):'',process[_0xc9b98e(0x209)][_0xc9b98e(0x1f4)]=_0x1cc893;const _0x572a5f=helper['getProxyUrl'](_0x21f39f[_0xc9b98e(0x21d)]),_0x55c05e=helper['getNoProxy'](_0x21f39f['config']);logger[_0xc9b98e(0x19f)](_0xc9b98e(0x203)+_0x572a5f),logger[_0xc9b98e(0x19f)]('No\x20Proxy\x20:\x20'+_0x55c05e);_0x572a5f&&(_0x645d2d=_0x2d5389[_0xc9b98e(0x22d)](_0xc9b98e(0x1ea)+_0x572a5f+_0xc9b98e(0x1b5)+_0x55c05e+_0xc9b98e(0x229),_0x645d2d));helper[_0xc9b98e(0x19a)]({},_0x4b8c7d),fs[_0xc9b98e(0x1f7)](_0x411ebb,_0x645d2d),PerformanceTester['end'](PerformanceEvents['SDK_SETUP']);const _0x3d2642=_0x2d5389[_0xc9b98e(0x1a6)](spawn,helper['isYarnPnP']()?_0x2d5389['hefHV']:_0x2d5389[_0xc9b98e(0x1e7)],[_0x2d5389['luppa'],_0x2d5389[_0xc9b98e(0x1e6)],_0x2d5389[_0xc9b98e(0x186)],_0x2d5389[_0xc9b98e(0x221)](process['platform'],_0x2d5389[_0xc9b98e(0x20b)])?'\x22'+_0x411ebb+'\x22':_0x411ebb,..._0x4b8c7d[_0xc9b98e(0x188)](0x2)],{'shell':_0x2d5389['tJflV'](process[_0xc9b98e(0x20a)],_0x2d5389[_0xc9b98e(0x20b)]),'stdio':_0x2d5389[_0xc9b98e(0x1b9)],'cwd':process['cwd'](),'env':Object[_0xc9b98e(0x228)]({},process[_0xc9b98e(0x209)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0xc9b98e(0x1b4)](_0x37cb35),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x21f39f[_0xc9b98e(0x21d)][_0xc9b98e(0x1e4)][_0xc9b98e(0x1ef)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x21f39f[_0xc9b98e(0x21d)]['testContextOptions'][_0xc9b98e(0x191)],'BROWSERSTACK_LOG_LEVEL':_0x21f39f[_0xc9b98e(0x21d)][_0xc9b98e(0x231)]})}),_0x2d3c5a=()=>{const _0x3c2679=_0xc9b98e;try{const _0x5391b9=path['join'](helper[_0x3c2679(0x239)](),_0x5cfc2f['PMxQn'],_0x5cfc2f[_0x3c2679(0x1e9)]);if(fs['existsSync'](_0x5391b9)){let _0x9dd774=fs[_0x3c2679(0x1c6)](_0x5391b9);_0x9dd774=JSON['parse'](_0x9dd774),_0x21f39f[_0x3c2679(0x18e)]=_0x9dd774,fs[_0x3c2679(0x236)](_0x5391b9);}}catch(_0x4de1f3){logger[_0x3c2679(0x19f)](_0x5cfc2f[_0x3c2679(0x232)](_0x5cfc2f[_0x3c2679(0x192)],_0x4de1f3));}};_0x3d2642['on'](_0x2d5389[_0xc9b98e(0x1a9)],async _0x5c7664=>{const _0x3d82f3=_0xc9b98e,_0x394b01={};_0x394b01[_0x3d82f3(0x222)]=_0x2d5389[_0x3d82f3(0x23e)];const _0x415211=_0x394b01;try{PerformanceTester[_0x3d82f3(0x1be)](PerformanceEvents[_0x3d82f3(0x1e5)]),_0x2d5389[_0x3d82f3(0x22e)](_0x2d3c5a),await TestHubHandler[_0x3d82f3(0x1bc)](),await ClientTroubleShootingService[_0x3d82f3(0x187)]();const _0x3439e0=BrowserstackCLI[_0x3d82f3(0x1d8)]();await BrowserstackCLI[_0x3d82f3(0x1f2)]()[_0x3d82f3(0x1bc)](),TestDetails[_0x3d82f3(0x19d)](),_0x2d5389['nefsq'](printBuildLink),await utilities['finalExecution'](_0x21f39f,_0x3439e0),process[_0x3d82f3(0x1fa)]=_0x5c7664,logger[_0x3d82f3(0x19f)](_0x3d82f3(0x1ad)+_0x5c7664),logger[_0x3d82f3(0x1b0)]('Deleting\x20'+_0x411ebb),fs[_0x3d82f3(0x236)](_0x411ebb);fs['existsSync'](_0x4287fa)&&(logger[_0x3d82f3(0x19f)](_0x3d82f3(0x193)+_0x4287fa),fs[_0x3d82f3(0x236)](_0x4287fa));const _0x39f320=fs[_0x3d82f3(0x196)](path['join'](helper[_0x3d82f3(0x239)](),_0x2d5389[_0x3d82f3(0x23e)]))['filter'](_0x13fe58=>_0x13fe58[_0x3d82f3(0x1da)](_0x3d82f3(0x21f)));_0x39f320[_0x3d82f3(0x1f8)](_0x575d47=>{const _0x56db8f=_0x3d82f3;fs[_0x56db8f(0x236)](path[_0x56db8f(0x1cc)](helper[_0x56db8f(0x239)](),_0x415211[_0x56db8f(0x222)],_0x575d47));});}catch(_0x3802f3){logger[_0x3d82f3(0x19f)](_0x2d5389[_0x3d82f3(0x20c)](_0x2d5389[_0x3d82f3(0x1b3)],_0x3802f3));}});})();}function a39_0x2419(_0x4e1bb9,_0xa0fcb3){const _0x1469f8=a39_0x1469();return a39_0x2419=function(_0x241964,_0x1f78de){_0x241964=_0x241964-0x182;let _0x4d2d97=_0x1469f8[_0x241964];return _0x4d2d97;},a39_0x2419(_0x4e1bb9,_0xa0fcb3);}module[a39_0x14ed58(0x189)]=run;
2
+ 'use strict';function a39_0x3a1a(_0x449a93,_0x3dbb07){const _0x4bd2f1=a39_0x4bd2();return a39_0x3a1a=function(_0x3a1a53,_0x45cdfa){_0x3a1a53=_0x3a1a53-0x6e;let _0xc7073a=_0x4bd2f1[_0x3a1a53];return _0xc7073a;},a39_0x3a1a(_0x449a93,_0x3dbb07);}const a39_0x59c4a7=a39_0x3a1a;(function(_0x29d0e2,_0x2fb649){const _0x106444=a39_0x3a1a,_0x3ff8f6=_0x29d0e2();while(!![]){try{const _0x5c1e9c=-parseInt(_0x106444(0xee))/0x1*(-parseInt(_0x106444(0x95))/0x2)+parseInt(_0x106444(0x12e))/0x3+-parseInt(_0x106444(0xae))/0x4+parseInt(_0x106444(0x96))/0x5*(-parseInt(_0x106444(0xf1))/0x6)+parseInt(_0x106444(0x8c))/0x7*(-parseInt(_0x106444(0x99))/0x8)+-parseInt(_0x106444(0x91))/0x9+parseInt(_0x106444(0x8d))/0xa;if(_0x5c1e9c===_0x2fb649)break;else _0x3ff8f6['push'](_0x3ff8f6['shift']());}catch(_0xf0b43b){_0x3ff8f6['push'](_0x3ff8f6['shift']());}}}(a39_0x4bd2,0x8ca33));function a39_0x4bd2(){const _0x2699e9=['\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','errorMessage','BROWSERSTACK_SETUP_CONFIG_PATH','14izntXp','11190xfdhuL','fGrhw','Error\x20in\x20closing\x20playwright','5781664GGrGJl','win32','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','false','slice','RnHXi','util','pXWKo','cliConfig','HlwBD','child_process','configPath','close','requirePWModule','BROWSERSTACK_AUTOMATION','mjWkZ','UPknP','skipSessionStatus','../../helpers/accessibility-automation/helper','trim','PACKAGE_TYPE','3819640vZxwlr','debug','isYarnPnP','clearTempPWConfig','BROWSERSTACK_RERUN_TESTS','FoFiM','../../helpers/test-observability/constants','isRunning','isFalse','launchBuild','--disable-test-observability','indexOf','BcZdv','suvwO','stop','Updated\x20config\x20file\x20name\x20to\x20-\x20','join','aYvvl','unlinkSync','parse','Ftjvd','wyTPT','cwd','config','filter','bXQZl','ytDen','iwFpA','setBrowserstackConfig','sAAMj','tqXyR','mVBCC','existsSync','accessSync','testObservability','readFileSync','env','Error\x20in\x20accessing\x20.browserstack\x20directory:\x20','testContextOptions','vsREV','map','dirname','BROWSERSTACK_TEST_OBSERVABILITY','Xamxi','start','ZoZwv','resolvedConfigFile','accessibilityOptions','BROWSERSTACK_TEST_ACCESSIBILITY_YML','uxQsG','jnoCu','bootstrap','serializeToYamlString','wDnJq','HUfep','pw_result.json','YoeRe','getNoProxy','WxxPs','exports','.browserstack','R_OK','filterBrowserstackArgs','../v2/browserstackCLI','74367gnQNiH','stringify','PAGcy','738VuChvH','path','BmRal','findIndex','isCLIEnabled','getConfig','getProxyUrl','reportConflictingEnvVarIssue','PLAYWRIGHT','requireConfigLoaderYarnPnP','inherit','mZJte','Playwright\x20process\x20exited\x20with\x20code\x20','test','platform','isUndefined','INTERNALLY_USED_ENV_VARS','SDK_SETUP','No\x20Proxy\x20:\x20','Error\x20in\x20getting\x20funnel\x20data\x20results','xLSwj','UHKsq','rOMzh','--grep','YTBIk','measureWrapper','browserstackSetupConfig.json','../../helpers/BrowserStackSetup','BROWSERSTACK_PW_CONFIG_DIR','getPackageType','../../helpers/utilities','isTrue','../utils/clientTroubleshootingService','skipSessionName','assign','logLevel','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','BrowserStack\x20config\x20file\x20not\x20found.','bqBAz','Error\x20in\x20deleting\x20playwright\x20results','playwright','uXsjU','split','setFrameworkDetail','push','finalExecution','\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();','npx','../../helpers/performance/performance-tester','Proxy\x20url\x20:\x20','accessibility','SnbtM','browserstackAutomation','W_OK','trace_','FDdVk','apply','../v2/TestInfo','shutdown','aBWZo','../../helpers/logger','1601364mfapjH','automation','qqjtl','winstonLogger','PFPpC','nestedKeyValue','readdirSync','info','reportDotBrowserStackFolderNotAccessibleIssue','getInstance','wuymP','SDK_PRE_INITIALIZE','KyRmi','error','hvJWd','reportFinalDetectionState','--config=','exitCode','constants','homedir','QIguW','yarn','GhhtV','writeFileSync','length','../../helpers/testhub/testhubHandler','has','validateRerunTestList','concat','./accessibility-helper','./reporter/test-details','7ILIkGh','22413400mDIeLF','../../helpers/performance/constants','./reporter/pwUtils','NXmJY','6900786lsSDxp'];a39_0x4bd2=function(){return _0x2699e9;};return a39_0x4bd2();}const fs=require('fs'),path=require(a39_0x59c4a7(0xf2)),{spawn}=require(a39_0x59c4a7(0xa3)),{format}=require(a39_0x59c4a7(0x9f)),logger=require(a39_0x59c4a7(0x12d))[a39_0x59c4a7(0x70)],{default:BrowserStackSetup}=require(a39_0x59c4a7(0x10c)),helper=require('../../helpers/helper'),utilities=require(a39_0x59c4a7(0x10f)),constants=require('../utils/constants'),{FRAMEWORKS}=require(a39_0x59c4a7(0xb4)),{getConfigLoaderPath}=require(a39_0x59c4a7(0x8f)),{checkAccessibilityPlatformConfig}=require(a39_0x59c4a7(0xab)),{setAccessibilityCapabilities}=require(a39_0x59c4a7(0x8a)),{printBuildLink}=require('../../helpers/test-observability/utils'),TestDetails=require(a39_0x59c4a7(0x8b)),TestHubHandler=require(a39_0x59c4a7(0x86)),PerformanceTester=require(a39_0x59c4a7(0x121)),BrowserstackCLI=require(a39_0x59c4a7(0xed)),PerformanceEvents=require(a39_0x59c4a7(0x8e))['EVENTS'],CLIUtils=require('../v2/cliUtils'),TestInfo=require(a39_0x59c4a7(0x12a)),ClientTroubleShootingService=require(a39_0x59c4a7(0x111)),getUserPlaywrightConfig=async(_0x2102cf,_0x322121)=>{const _0x2e8e59=a39_0x59c4a7,_0xe4d475={'KyRmi':function(_0x1b2b88){return _0x1b2b88();},'fGrhw':function(_0x16105f,_0x57ecbe){return _0x16105f(_0x57ecbe);},'wCUtv':function(_0x504824,_0x1a5476){return _0x504824(_0x1a5476);},'BcZdv':_0x2e8e59(0xdc),'suvwO':_0x2e8e59(0x7d)},_0x475854=!helper[_0x2e8e59(0x100)](_0x2102cf['config']),_0x12881a=_0x475854?path['resolve'](process['cwd'](),_0x2102cf[_0x2e8e59(0xc5)]):process['cwd'](),{resolveConfigFile:_0x489ff5,resolveConfigLocation:_0x22bd3e}=helper['isYarnPnP']()?helper[_0x2e8e59(0xfa)](..._0xe4d475[_0x2e8e59(0x79)](getConfigLoaderPath)):helper[_0x2e8e59(0xa6)][_0x2e8e59(0x129)](null,_0xe4d475[_0x2e8e59(0x79)](getConfigLoaderPath)),_0x34b7bb=_0x489ff5?_0xe4d475[_0x2e8e59(0x97)](_0x489ff5,_0x12881a):helper[_0x2e8e59(0x72)](_0xe4d475['wCUtv'](_0x22bd3e,_0x12881a),[_0xe4d475[_0x2e8e59(0xba)]]),_0x3deefe={};if(_0x475854){const _0x15bb0e=_0x322121[_0x2e8e59(0xf4)](_0x39332d=>_0x39332d==='--config'||_0x39332d==='-c'||_0x39332d['startsWith']('--config='));_0x322121['splice'](_0x15bb0e,_0x322121[_0x15bb0e]['startsWith'](_0xe4d475[_0x2e8e59(0xbb)])?0x1:0x2);}const _0xa067c0={};return _0xa067c0[_0x2e8e59(0xf2)]=_0x34b7bb,_0xa067c0[_0x2e8e59(0xc5)]=_0x3deefe,_0xa067c0;},handleO11yRerun=_0x25dd0d=>{const _0x4c2e90=a39_0x59c4a7,_0x226031={};_0x226031['vsREV']=_0x4c2e90(0x108);const _0x31e53a=_0x226031,_0x57b1c9=helper[_0x4c2e90(0x110)](process[_0x4c2e90(0xd2)]['BROWSERSTACK_RERUN']);if(_0x57b1c9){const _0xec281f=process[_0x4c2e90(0xd2)][_0x4c2e90(0xb2)],_0x3c98cb=[];if(helper[_0x4c2e90(0x88)](_0xec281f)&&!helper['isUndefined'](_0xec281f)){_0xec281f[_0x4c2e90(0x11b)](',')[_0x4c2e90(0xd6)](_0x230d92=>{const _0x430e09=_0x4c2e90;_0x3c98cb[_0x430e09(0x11d)]('('+_0x230d92[_0x430e09(0xac)]()+')');});const _0x2ad377='^'+_0x3c98cb[_0x4c2e90(0xbe)]('|')+'$';_0x25dd0d[_0x4c2e90(0x11d)](_0x31e53a[_0x4c2e90(0xd5)],_0x2ad377);}}},spawnOriginalProcess=_0x2c28b7=>{const _0x51e87c=a39_0x59c4a7,_0x8c564d={'YTBIk':function(_0xe67837,_0x904fbd,_0x2b2b79,_0x8d782c){return _0xe67837(_0x904fbd,_0x2b2b79,_0x8d782c);},'UHKsq':_0x51e87c(0x82),'pXWKo':_0x51e87c(0x120),'QIguW':_0x51e87c(0x119),'aYvvl':function(_0x441b25,_0x1b8f58){return _0x441b25===_0x1b8f58;},'tqXyR':'win32','jnoCu':_0x51e87c(0xfb)};_0x8c564d[_0x51e87c(0x109)](spawn,helper[_0x51e87c(0xb0)]()?_0x8c564d[_0x51e87c(0x106)]:_0x8c564d[_0x51e87c(0xa0)],[_0x8c564d[_0x51e87c(0x81)],..._0x2c28b7[_0x51e87c(0x9d)](0x1)],{'shell':_0x8c564d[_0x51e87c(0xbf)](process[_0x51e87c(0xff)],_0x8c564d[_0x51e87c(0xcc)]),'stdio':_0x8c564d[_0x51e87c(0xe0)],'cwd':process[_0x51e87c(0xc4)]()});},isTestCommand=(_0x1d0df4,_0x378a27)=>{const _0x2909a4=a39_0x59c4a7,_0x199f6c={};_0x199f6c[_0x2909a4(0xd9)]=function(_0x39b6ba,_0x20b8ee){return _0x39b6ba>_0x20b8ee;},_0x199f6c['aBWZo']=function(_0x5e066d,_0x113cb3){return _0x5e066d===_0x113cb3;},_0x199f6c[_0x2909a4(0x83)]=_0x2909a4(0xfe);const _0x1aacc4=_0x199f6c;if(_0x1aacc4[_0x2909a4(0xd9)](_0x378a27[_0x2909a4(0x85)],0x1)&&_0x1aacc4[_0x2909a4(0x12c)](_0x378a27[0x1],_0x1aacc4[_0x2909a4(0x83)]))return!![];return![];};async function run(_0x99a6d7,_0x51dd16,_0x7dd854){const _0x1bff11=a39_0x59c4a7,_0xba0efe={'HlwBD':function(_0x35605a){return _0x35605a();},'rDnKA':function(_0x462734){return _0x462734();},'uXsjU':_0x1bff11(0xea),'sAAMj':function(_0x308c74,_0x14516b){return _0x308c74+_0x14516b;},'ZoZwv':_0x1bff11(0x98),'xLSwj':function(_0xea7958,_0x3c7a22){return _0xea7958(_0x3c7a22);},'rOMzh':_0x1bff11(0xe5),'pQTDe':_0x1bff11(0x104),'NXmJY':_0x1bff11(0x116),'RnHXi':function(_0x87e89c,_0x3ba2b6){return _0x87e89c<_0x3ba2b6;},'bqBAz':function(_0x1f10ff,_0x1010de){return _0x1f10ff===_0x1010de;},'clByO':_0x1bff11(0x9c),'dGXDu':_0x1bff11(0xb8),'bXQZl':function(_0x3e4eb8,_0x46601d){return _0x3e4eb8>=_0x46601d;},'SnbtM':_0x1bff11(0x6e),'qqjtl':function(_0xf321f3,_0x69b9c2){return _0xf321f3!=_0x69b9c2;},'PFPpC':function(_0x459945,_0x284d67,_0x43c616){return _0x459945(_0x284d67,_0x43c616);},'uxQsG':function(_0x1678fa,_0xb2d298){return _0x1678fa===_0xb2d298;},'mZJte':'true','ytDen':function(_0x325446,_0x3e6277){return _0x325446(_0x3e6277);},'UkHLL':_0x1bff11(0x10b),'FDdVk':'playwright-browserstack-sdk.config.cjs','YJaEE':'playwright-browserstack-sdk.config.js','VneZS':function(_0x1a13f7,_0x21bbdf){return _0x1a13f7-_0x21bbdf;},'lMGcF':_0x1bff11(0xbd),'wuymP':function(_0x1027f8,_0x37d432){return _0x1027f8>_0x37d432;},'Cvjqt':function(_0x4ae79a,_0x16a3d7,_0x412670,_0x4eb856){return _0x4ae79a(_0x16a3d7,_0x412670,_0x4eb856);},'iwFpA':_0x1bff11(0x82),'wyTPT':'npx','YoeRe':_0x1bff11(0x119),'wDnJq':_0x1bff11(0xfe),'HUfep':'--config','FoFiM':function(_0x3060d8,_0x3c8dfd){return _0x3060d8===_0x3c8dfd;},'MwDAu':_0x1bff11(0x9a),'hvJWd':_0x1bff11(0xfb),'UPknP':_0x1bff11(0xa5),'BmRal':function(_0x22f866,_0x1038af){return _0x22f866|_0x1038af;},'WxxPs':_0x1bff11(0xd3),'mjWkZ':_0x1bff11(0x118)};try{const _0x92a65a=path[_0x1bff11(0xbe)](helper[_0x1bff11(0x80)](),_0xba0efe['uXsjU']);try{fs[_0x1bff11(0xcf)](_0x92a65a,_0xba0efe[_0x1bff11(0xf3)](fs[_0x1bff11(0x7f)][_0x1bff11(0xeb)],fs['constants'][_0x1bff11(0x126)]));}catch(_0x57f5ed){ClientTroubleShootingService[_0x1bff11(0x75)]();}}catch(_0x333c25){logger['debug'](_0xba0efe['sAAMj'](_0xba0efe[_0x1bff11(0xe8)],_0x333c25));}try{const _0x37a20a=path['join'](helper['homedir'](),_0xba0efe[_0x1bff11(0x11a)],_0xba0efe[_0x1bff11(0x107)]);fs[_0x1bff11(0xce)](_0x37a20a)&&fs[_0x1bff11(0xc0)](_0x37a20a);}catch(_0xd0b4bf){logger[_0x1bff11(0xaf)](_0xba0efe[_0x1bff11(0xcb)](_0xba0efe[_0x1bff11(0xa8)],_0xd0b4bf));}if(!_0xba0efe[_0x1bff11(0x71)](isTestCommand,_0x99a6d7,_0x51dd16)){_0xba0efe[_0x1bff11(0xc8)](spawnOriginalProcess,_0x51dd16);return;}await PerformanceTester['measureWrapper'](PerformanceEvents[_0x1bff11(0x78)],async()=>{const _0x2a2e23=_0x1bff11,_0x2358bd={'fXITN':function(_0x3e85ac,_0x5d032b){const _0xd908e9=a39_0x3a1a;return _0xba0efe[_0xd908e9(0x105)](_0x3e85ac,_0x5d032b);},'Ftjvd':_0xba0efe['uXsjU'],'PAGcy':_0xba0efe[_0x2a2e23(0x107)],'SGcTa':function(_0x596b6c,_0x3dc94e){return _0xba0efe['sAAMj'](_0x596b6c,_0x3dc94e);},'mVBCC':_0xba0efe['pQTDe']};if(!_0x7dd854[_0x2a2e23(0xc5)]){logger[_0x2a2e23(0x7a)](_0xba0efe[_0x2a2e23(0x90)]);return;}await _0x7dd854['initialize'](_0x99a6d7),CLIUtils[_0x2a2e23(0x11c)](FRAMEWORKS[_0x2a2e23(0xf9)],FRAMEWORKS[_0x2a2e23(0xf9)]),BrowserstackCLI[_0x2a2e23(0x76)]()[_0x2a2e23(0xca)](_0x7dd854[_0x2a2e23(0xc5)],_0x7dd854[_0x2a2e23(0xa4)],_0x7dd854[_0x2a2e23(0xa1)]),await BrowserstackCLI[_0x2a2e23(0x76)]()[_0x2a2e23(0xe1)]();for(var _0x1a256e=0x0;_0xba0efe[_0x2a2e23(0x9e)](_0x1a256e,constants['INTERNALLY_USED_ENV_VARS']['length']);_0x1a256e++){var _0x5c9075=constants[_0x2a2e23(0x101)][_0x1a256e];process[_0x2a2e23(0xd2)][_0x5c9075]&&await ClientTroubleShootingService[_0x2a2e23(0xf8)](_0x5c9075);}const _0x2af21a=BrowserstackCLI[_0x2a2e23(0x76)]()[_0x2a2e23(0xf6)]();!helper['isFalse'](_0x2af21a[_0x2a2e23(0x125)])&&(process[_0x2a2e23(0xd2)][_0x2a2e23(0xa7)]=!![]);_0xba0efe[_0x2a2e23(0x117)](_0x2af21a['browserstackAutomation'],![])&&(process[_0x2a2e23(0xd2)][_0x2a2e23(0xa7)]=_0xba0efe['clByO'],_0x51dd16=_0x51dd16[_0x2a2e23(0xc6)](_0x2dc14c=>_0x2dc14c!=='--disable-browserstack-automation'));const _0x54e3b3=_0x51dd16[_0x2a2e23(0xb9)](_0xba0efe['dGXDu']);(_0xba0efe[_0x2a2e23(0xc7)](_0x54e3b3,0x0)||_0xba0efe[_0x2a2e23(0x117)](_0x2af21a[_0x2a2e23(0xd0)],![]))&&(process[_0x2a2e23(0xd2)][_0x2a2e23(0xd8)]=_0xba0efe['clByO'],_0x51dd16=_0x51dd16['filter'](_0x250e68=>_0x250e68!=='--disable-test-observability'));!helper[_0x2a2e23(0x100)](_0x7dd854['cliConfig'])&&_0x7dd854[_0x2a2e23(0xa1)][_0x2a2e23(0x87)](_0xba0efe[_0x2a2e23(0x124)])&&(process[_0x2a2e23(0xd2)][_0x2a2e23(0xa7)]=_0x7dd854[_0x2a2e23(0xa1)]['get'](_0xba0efe['SnbtM'])||!![]);_0xba0efe[_0x2a2e23(0x6f)](_0x7dd854[_0x2a2e23(0xc5)][_0x2a2e23(0xd0)],null)&&!helper[_0x2a2e23(0x110)](process['env']['BROWSERSTACK_TEST_OBSERVABILITY'])&&(process[_0x2a2e23(0xd2)]['BROWSERSTACK_TEST_OBSERVABILITY']=process[_0x2a2e23(0xd2)][_0x2a2e23(0xd8)]||_0x7dd854[_0x2a2e23(0xc5)][_0x2a2e23(0xd0)]);const _0x576961=!helper[_0x2a2e23(0xb6)](process[_0x2a2e23(0xd2)][_0x2a2e23(0xd8)]);_0x7dd854[_0x2a2e23(0xc5)][_0x2a2e23(0xdd)]&&(process[_0x2a2e23(0xd2)][_0x2a2e23(0x115)]=JSON[_0x2a2e23(0xef)](_0x7dd854[_0x2a2e23(0xc5)][_0x2a2e23(0xdd)]));let _0x39321e=![];_0x7dd854[_0x2a2e23(0xc5)][_0x2a2e23(0x123)]&&(_0x39321e=!![],process[_0x2a2e23(0xd2)][_0x2a2e23(0xde)]=_0x7dd854[_0x2a2e23(0xc5)][_0x2a2e23(0x123)]);const _0x3615b1=_0x51dd16[_0x2a2e23(0x89)](),_0x2bfd72=await _0xba0efe[_0x2a2e23(0x71)](getUserPlaywrightConfig,_0x99a6d7,_0x51dd16);if(helper[_0x2a2e23(0x100)](_0x2bfd72)){_0xba0efe['xLSwj'](spawnOriginalProcess,_0x3615b1);return;}const _0xe9e409=_0x2bfd72[_0x2a2e23(0xf2)]?path[_0x2a2e23(0xd7)](_0x2bfd72['path']):process['cwd']();process[_0x2a2e23(0xd2)][_0x2a2e23(0x10d)]=_0xe9e409,await PerformanceTester[_0x2a2e23(0x10a)](PerformanceEvents['SDK_POST_INITIALIZE'],async()=>{const _0x58372=_0x2a2e23;!BrowserstackCLI[_0x58372(0x76)]()[_0x58372(0xb5)]()&&await TestHubHandler[_0x58372(0xb7)](FRAMEWORKS[_0x58372(0xf9)],_0x7dd854),_0x576961&&_0x2358bd['fXITN'](handleO11yRerun,_0x51dd16);})();if(!BrowserstackCLI[_0x2a2e23(0x76)]()['isRunning']()){let _0x2efad8=_0xba0efe[_0x2a2e23(0xdf)](process['env'][_0x2a2e23(0xde)],_0xba0efe[_0x2a2e23(0xfc)]);_0x2efad8=_0x2efad8||_0xba0efe[_0x2a2e23(0x105)](checkAccessibilityPlatformConfig,_0x7dd854[_0x2a2e23(0xc5)]),process[_0x2a2e23(0xd2)][_0x2a2e23(0xde)]=_0x2efad8,_0x2efad8&&_0xba0efe[_0x2a2e23(0xc8)](setAccessibilityCapabilities,_0x7dd854[_0x2a2e23(0xc5)]);}const _0x42f014=path[_0x2a2e23(0xbe)](_0x2bfd72[_0x2a2e23(0xf2)]?path['dirname'](_0x2bfd72[_0x2a2e23(0xf2)]):process[_0x2a2e23(0xc4)](),_0xba0efe['UkHLL']);fs[_0x2a2e23(0x84)](_0x42f014,helper[_0x2a2e23(0xe2)](_0x7dd854[_0x2a2e23(0xc5)])),process[_0x2a2e23(0xd2)][_0x2a2e23(0x94)]=_0x42f014,helper[_0x2a2e23(0xb1)]();let _0x86e538='';_0xba0efe['uxQsG'](helper[_0x2a2e23(0x10e)](),constants[_0x2a2e23(0xad)]['MODULE'])?_0x86e538=_0xba0efe[_0x2a2e23(0x128)]:_0x86e538=_0xba0efe['YJaEE'];let _0x106b45='';if(helper['isTypescriptProject'](_0x2bfd72['path'])){_0x106b45='\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a';const _0x2ebd06=_0x86e538[_0x2a2e23(0x11b)]('.');_0x2ebd06[_0xba0efe['VneZS'](_0x2ebd06[_0x2a2e23(0x85)],0x1)]='ts',_0x86e538=_0x2ebd06[_0x2a2e23(0xbe)]('.'),logger[_0x2a2e23(0xaf)](_0xba0efe[_0x2a2e23(0xcb)](_0xba0efe['lMGcF'],_0x86e538));}else _0x106b45=_0x2a2e23(0x92);const _0xff69f0=path['join'](_0x2bfd72[_0x2a2e23(0xf2)]?path[_0x2a2e23(0xd7)](_0x2bfd72['path']):process['cwd'](),_0x86e538);let _0x54a5af=_0x2bfd72[_0x2a2e23(0xf2)]?_0x2bfd72[_0x2a2e23(0xf2)]:'';_0x54a5af=_0xba0efe[_0x2a2e23(0x77)](_0x54a5af[_0x2a2e23(0x85)],0x0)?path['resolve'](_0x54a5af):'',process[_0x2a2e23(0xd2)]['USER_CONFIG_DETAILS_PATH']=_0x54a5af;const _0x3a6557=helper[_0x2a2e23(0xf7)](_0x7dd854[_0x2a2e23(0xc5)]),_0x18db18=helper[_0x2a2e23(0xe7)](_0x7dd854[_0x2a2e23(0xc5)]);logger['debug'](_0x2a2e23(0x122)+_0x3a6557),logger[_0x2a2e23(0xaf)](_0x2a2e23(0x103)+_0x18db18);_0x3a6557&&(_0x106b45=_0xba0efe['sAAMj'](_0x2a2e23(0x9b)+_0x3a6557+'\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'+_0x18db18+_0x2a2e23(0x11f),_0x106b45));helper[_0x2a2e23(0xec)]({},_0x51dd16),fs[_0x2a2e23(0x84)](_0xff69f0,_0x106b45),PerformanceTester['end'](PerformanceEvents[_0x2a2e23(0x102)]);const _0x4e70e3=_0xba0efe['Cvjqt'](spawn,helper[_0x2a2e23(0xb0)]()?_0xba0efe[_0x2a2e23(0xc9)]:_0xba0efe[_0x2a2e23(0xc3)],[_0xba0efe[_0x2a2e23(0xe6)],_0xba0efe[_0x2a2e23(0xe3)],_0xba0efe[_0x2a2e23(0xe4)],_0xba0efe[_0x2a2e23(0xb3)](process[_0x2a2e23(0xff)],_0xba0efe['MwDAu'])?'\x22'+_0xff69f0+'\x22':_0xff69f0,..._0x51dd16[_0x2a2e23(0x9d)](0x2)],{'shell':_0xba0efe[_0x2a2e23(0xb3)](process[_0x2a2e23(0xff)],_0xba0efe['MwDAu']),'stdio':_0xba0efe[_0x2a2e23(0x7b)],'cwd':process[_0x2a2e23(0xc4)](),'env':Object[_0x2a2e23(0x113)]({},process[_0x2a2e23(0xd2)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper['getConfigPath'](_0x99a6d7),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x7dd854[_0x2a2e23(0xc5)][_0x2a2e23(0xd4)][_0x2a2e23(0xaa)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x7dd854['config'][_0x2a2e23(0xd4)][_0x2a2e23(0x112)],'BROWSERSTACK_LOG_LEVEL':_0x7dd854[_0x2a2e23(0xc5)][_0x2a2e23(0x114)]})}),_0x473d34=()=>{const _0x37df75=_0x2a2e23;try{const _0x5b1749=path[_0x37df75(0xbe)](helper['homedir'](),_0x2358bd[_0x37df75(0xc2)],_0x2358bd[_0x37df75(0xf0)]);if(fs[_0x37df75(0xce)](_0x5b1749)){let _0x4d6446=fs[_0x37df75(0xd1)](_0x5b1749);_0x4d6446=JSON[_0x37df75(0xc1)](_0x4d6446),_0x7dd854[_0x37df75(0x93)]=_0x4d6446,fs[_0x37df75(0xc0)](_0x5b1749);}}catch(_0x36f1b4){logger[_0x37df75(0xaf)](_0x2358bd['SGcTa'](_0x2358bd[_0x37df75(0xcd)],_0x36f1b4));}};_0x4e70e3['on'](_0xba0efe[_0x2a2e23(0xa9)],async _0x31e560=>{const _0x1eefd0=_0x2a2e23;try{PerformanceTester[_0x1eefd0(0xda)](PerformanceEvents['SDK_CLEANUP']),_0xba0efe[_0x1eefd0(0xa2)](_0x473d34),await TestHubHandler[_0x1eefd0(0xbc)](),await ClientTroubleShootingService[_0x1eefd0(0x7c)]();const _0x4edcb3=BrowserstackCLI[_0x1eefd0(0xf5)]();await BrowserstackCLI['getInstance']()[_0x1eefd0(0xbc)](),TestDetails[_0x1eefd0(0x12b)](),_0xba0efe['rDnKA'](printBuildLink),await utilities[_0x1eefd0(0x11e)](_0x7dd854,_0x4edcb3),process[_0x1eefd0(0x7e)]=_0x31e560,logger[_0x1eefd0(0xaf)](_0x1eefd0(0xfd)+_0x31e560),logger[_0x1eefd0(0x74)]('Deleting\x20'+_0xff69f0),fs['unlinkSync'](_0xff69f0);fs[_0x1eefd0(0xce)](_0x42f014)&&(logger[_0x1eefd0(0xaf)]('Deleting\x20'+_0x42f014),fs[_0x1eefd0(0xc0)](_0x42f014));const _0x636133=fs[_0x1eefd0(0x73)](path[_0x1eefd0(0xbe)](helper['homedir'](),_0xba0efe[_0x1eefd0(0x11a)]))[_0x1eefd0(0xc6)](_0x132c80=>_0x132c80['startsWith'](_0x1eefd0(0x127)));_0x636133['forEach'](_0x220663=>{const _0x16226d=_0x1eefd0;fs[_0x16226d(0xc0)](path['join'](helper[_0x16226d(0x80)](),_0x2358bd[_0x16226d(0xc2)],_0x220663));});}catch(_0x191a96){logger['debug'](_0xba0efe[_0x1eefd0(0xcb)](_0xba0efe[_0x1eefd0(0xdb)],_0x191a96));}});})();}module[a39_0x59c4a7(0xe9)]=run;
@@ -1 +1 @@
1
- function a40_0x5086(){const _0x325c83=['../../helpers/test-observability/constants','toString','TNQYR','55baSEDw','fork','requirePWModule','32aFDNtn','nmOQK','./patches','aQvPk','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','296889OJBJaj','oOqHA','7865775GJJnEb','kZMzH','Not\x20able\x20to\x20import\x20globalSetup','PLAYWRIGHT','function','4786733RuCLwF','apply','./mock-process.js','Call\x20to\x20child\x20fork\x20with\x20args\x20','../../helpers/test-observability/utils','\x20is\x20not\x20found','exports','52tQXPiz','11092800MNhjRo','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','10558FZVCQC','591006uGEjoA','isHandlePWErrorSet','includes','resolve','19812890NWpoHd','IwuzI','env','child_process','WUsrP','Running\x20existing\x20global\x20setup','Path\x20','./reporter/pwUtils','1.33.0','zAouw','debug','format','error','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','bDmXZ','QxahK'];a40_0x5086=function(){return _0x325c83;};return a40_0x5086();}const a40_0x15337c=a40_0x57f0;(function(_0x3dd164,_0x1f493d){const _0x418094=a40_0x57f0,_0x1cda46=_0x3dd164();while(!![]){try{const _0x2d2cac=-parseInt(_0x418094(0x195))/0x1*(-parseInt(_0x418094(0x17a))/0x2)+-parseInt(_0x418094(0x19a))/0x3*(-parseInt(_0x418094(0x177))/0x4)+-parseInt(_0x418094(0x192))/0x5*(-parseInt(_0x418094(0x17b))/0x6)+parseInt(_0x418094(0x170))/0x7+-parseInt(_0x418094(0x178))/0x8+parseInt(_0x418094(0x19c))/0x9+-parseInt(_0x418094(0x17f))/0xa;if(_0x2d2cac===_0x1f493d)break;else _0x1cda46['push'](_0x1cda46['shift']());}catch(_0x24cb7d){_0x1cda46['push'](_0x1cda46['shift']());}}}(a40_0x5086,0xb1f1f));const util=require('util'),child_process=require(a40_0x15337c(0x182)),{FRAMEWORKS}=require(a40_0x15337c(0x18f)),{getFrameworkVersion,debug}=require(a40_0x15337c(0x174)),helper=require('../../helpers/helper'),{getLoadUtilsPath,getForkProcessPath}=require(a40_0x15337c(0x186)),{mockIsWorkerRedundant}=require(a40_0x15337c(0x197)),logger=require('../../helpers/logger')['winstonLogger'];function a40_0x57f0(_0x58180a,_0x1941b3){const _0x508653=a40_0x5086();return a40_0x57f0=function(_0x57f082,_0x4bd7dd){_0x57f082=_0x57f082-0x16d;let _0x272c0c=_0x508653[_0x57f082];return _0x272c0c;},a40_0x57f0(_0x58180a,_0x1941b3);}module[a40_0x15337c(0x176)]=async function(_0x124ea5){const _0x41dbef=a40_0x15337c,_0x16dbea={'IwuzI':function(_0x17986b,_0x56ba4f){return _0x17986b(_0x56ba4f);},'WUsrP':function(_0x7fd372){return _0x7fd372();},'oOqHA':_0x41dbef(0x172),'QxahK':function(_0x2d7833){return _0x2d7833();},'nmOQK':function(_0x9fdad){return _0x9fdad();},'bDmXZ':function(_0x52b75f,_0x26316a){return _0x52b75f(_0x26316a);},'txtfY':_0x41dbef(0x184),'aQvPk':function(_0x3fac6d){return _0x3fac6d();},'MQMcY':function(_0x3a8a86,_0x389778){return _0x3a8a86>=_0x389778;},'zAouw':_0x41dbef(0x187),'dictY':function(_0xee48f5,_0x205e94,_0x377f74){return _0xee48f5(_0x205e94,_0x377f74);},'kZMzH':function(_0x4d5197,_0x40c2eb){return _0x4d5197!==_0x40c2eb;},'zAEwu':_0x41dbef(0x16f),'LOggV':_0x41dbef(0x16d),'TNQYR':function(_0x4953d6,_0x307ec8){return _0x4953d6(_0x307ec8);}},_0x48e4a7=child_process['fork'];if(helper[_0x41dbef(0x17c)]())try{_0x16dbea[_0x41dbef(0x196)](mockIsWorkerRedundant);}catch(_0x27deb6){logger[_0x41dbef(0x189)](_0x41dbef(0x199)+util[_0x41dbef(0x18a)](_0x27deb6));}child_process[_0x41dbef(0x193)]=function(){const _0x3a6d79=_0x41dbef;return _0x16dbea[_0x3a6d79(0x180)](debug,_0x3a6d79(0x173)+arguments[0x0]),arguments[0x0][_0x3a6d79(0x17d)](_0x16dbea[_0x3a6d79(0x183)](getForkProcessPath))?arguments[0x0]=require[_0x3a6d79(0x17e)](_0x16dbea[_0x3a6d79(0x19b)]):logger[_0x3a6d79(0x18b)](_0x3a6d79(0x185)+_0x16dbea[_0x3a6d79(0x18e)](getForkProcessPath)+_0x3a6d79(0x175)),_0x48e4a7[_0x3a6d79(0x171)](null,arguments);};if(process[_0x41dbef(0x181)][_0x41dbef(0x179)]){_0x16dbea['bDmXZ'](debug,_0x16dbea['txtfY']);try{const {loadGlobalHook:_0xd778b6}=helper[_0x41dbef(0x194)][_0x41dbef(0x171)](null,_0x16dbea[_0x41dbef(0x198)](getLoadUtilsPath)),_0x376c03=_0x16dbea[_0x41dbef(0x18d)](getFrameworkVersion,FRAMEWORKS[_0x41dbef(0x16e)]);let _0x41e909=_0x124ea5;if(_0x16dbea['MQMcY'](helper['compareVersions'](_0x376c03,_0x16dbea[_0x41dbef(0x188)]),0x0)){const _0x520bae={};_0x520bae['config']=_0x124ea5,_0x41e909=_0x520bae;}const _0x1b13e0=await _0x16dbea['dictY'](_0xd778b6,_0x41e909,process[_0x41dbef(0x181)][_0x41dbef(0x179)]);if(_0x16dbea[_0x41dbef(0x19d)](typeof _0x1b13e0,_0x16dbea['zAEwu']))throw new Error(_0x16dbea['LOggV']);return _0x1b13e0[_0x41dbef(0x171)](null,arguments);}catch(_0x407747){_0x16dbea[_0x41dbef(0x191)](debug,_0x41dbef(0x18c)+_0x407747[_0x41dbef(0x190)]());}}};
1
+ const a40_0x3c6a01=a40_0x2af3;(function(_0x371f0b,_0x121b17){const _0x217110=a40_0x2af3,_0x3aec61=_0x371f0b();while(!![]){try{const _0x42ad38=-parseInt(_0x217110(0x209))/0x1*(parseInt(_0x217110(0x1e5))/0x2)+parseInt(_0x217110(0x1d9))/0x3*(-parseInt(_0x217110(0x206))/0x4)+parseInt(_0x217110(0x1db))/0x5*(-parseInt(_0x217110(0x205))/0x6)+parseInt(_0x217110(0x1f4))/0x7+parseInt(_0x217110(0x1e9))/0x8+parseInt(_0x217110(0x1ed))/0x9+-parseInt(_0x217110(0x1f9))/0xa*(-parseInt(_0x217110(0x1f8))/0xb);if(_0x42ad38===_0x121b17)break;else _0x3aec61['push'](_0x3aec61['shift']());}catch(_0x5821fe){_0x3aec61['push'](_0x3aec61['shift']());}}}(a40_0x3c6b,0xb3830));const util=require(a40_0x3c6a01(0x1f7)),child_process=require(a40_0x3c6a01(0x1e4)),{FRAMEWORKS}=require(a40_0x3c6a01(0x1ec)),{getFrameworkVersion,debug}=require(a40_0x3c6a01(0x1ea)),helper=require('../../helpers/helper'),{getLoadUtilsPath,getForkProcessPath}=require('./reporter/pwUtils'),{mockIsWorkerRedundant}=require(a40_0x3c6a01(0x1e1)),logger=require('../../helpers/logger')[a40_0x3c6a01(0x204)];function a40_0x3c6b(){const _0x59132a=['6lZEVtH','17060RcXIAS','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','1.33.0','6451BkZQES','570mPeDlP','function','5285050YVgeHX','zwrwj','Running\x20existing\x20global\x20setup','fork','IaWjl','nsMAY','./patches','includes','owLbA','child_process','372HKHFPN','env','resolve','\x20is\x20not\x20found','5433968mVTrzv','../../helpers/test-observability/utils','requirePWModule','../../helpers/test-observability/constants','411516aeVSJS','nPTnC','Not\x20able\x20to\x20import\x20globalSetup','Call\x20to\x20child\x20fork\x20with\x20args\x20','PLAYWRIGHT','config','toString','5115495HqQvwZ','debug','irGYr','util','3687783btbHHx','70NuetmN','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','tVnqQ','zLicT','NpxUd','isHandlePWErrorSet','./mock-process.js','error','MyIbW','MCmcA','apply','winstonLogger'];a40_0x3c6b=function(){return _0x59132a;};return a40_0x3c6b();}function a40_0x2af3(_0x4d0d14,_0x44ce67){const _0x3c6bc3=a40_0x3c6b();return a40_0x2af3=function(_0x2af3f7,_0x369425){_0x2af3f7=_0x2af3f7-0x1d9;let _0x177737=_0x3c6bc3[_0x2af3f7];return _0x177737;},a40_0x2af3(_0x4d0d14,_0x44ce67);}module['exports']=async function(_0x58a70c){const _0x11f29c=a40_0x3c6a01,_0x191d98={'irGYr':function(_0x1f4431,_0x3f38fd){return _0x1f4431(_0x3f38fd);},'zLicT':function(_0x91c448){return _0x91c448();},'YVvSb':_0x11f29c(0x1ff),'NpxUd':_0x11f29c(0x1dd),'zwrwj':function(_0xf7aacc,_0x1c735d){return _0xf7aacc(_0x1c735d);},'nPTnC':function(_0x485d5f,_0x329340){return _0x485d5f>=_0x329340;},'MyIbW':_0x11f29c(0x208),'IaWjl':function(_0x329f93,_0x2ac408,_0x867b01){return _0x329f93(_0x2ac408,_0x867b01);},'MCmcA':function(_0x58cb28,_0x298ce3){return _0x58cb28!==_0x298ce3;},'owLbA':_0x11f29c(0x1da),'nsMAY':_0x11f29c(0x1ef),'tVnqQ':function(_0x4e1478,_0x5bdc08){return _0x4e1478(_0x5bdc08);}},_0x2f3c81=child_process[_0x11f29c(0x1de)];if(helper[_0x11f29c(0x1fe)]())try{_0x191d98[_0x11f29c(0x1fc)](mockIsWorkerRedundant);}catch(_0x371d9d){logger[_0x11f29c(0x1f5)]('Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20'+util['format'](_0x371d9d));}child_process[_0x11f29c(0x1de)]=function(){const _0x29acec=_0x11f29c;return _0x191d98[_0x29acec(0x1f6)](debug,_0x29acec(0x1f0)+arguments[0x0]),arguments[0x0][_0x29acec(0x1e2)](_0x191d98[_0x29acec(0x1fc)](getForkProcessPath))?arguments[0x0]=require[_0x29acec(0x1e7)](_0x191d98['YVvSb']):logger[_0x29acec(0x200)]('Path\x20'+_0x191d98[_0x29acec(0x1fc)](getForkProcessPath)+_0x29acec(0x1e8)),_0x2f3c81[_0x29acec(0x203)](null,arguments);};if(process[_0x11f29c(0x1e6)][_0x11f29c(0x207)]){_0x191d98[_0x11f29c(0x1f6)](debug,_0x191d98[_0x11f29c(0x1fd)]);try{const {loadGlobalHook:_0x250096}=helper[_0x11f29c(0x1eb)][_0x11f29c(0x203)](null,_0x191d98['zLicT'](getLoadUtilsPath)),_0xd48416=_0x191d98[_0x11f29c(0x1dc)](getFrameworkVersion,FRAMEWORKS[_0x11f29c(0x1f1)]);let _0x470ca2=_0x58a70c;if(_0x191d98[_0x11f29c(0x1ee)](helper['compareVersions'](_0xd48416,_0x191d98[_0x11f29c(0x201)]),0x0)){const _0x3eb7b6={};_0x3eb7b6[_0x11f29c(0x1f2)]=_0x58a70c,_0x470ca2=_0x3eb7b6;}const _0x2d9739=await _0x191d98[_0x11f29c(0x1df)](_0x250096,_0x470ca2,process[_0x11f29c(0x1e6)][_0x11f29c(0x207)]);if(_0x191d98[_0x11f29c(0x202)](typeof _0x2d9739,_0x191d98[_0x11f29c(0x1e3)]))throw new Error(_0x191d98[_0x11f29c(0x1e0)]);return _0x2d9739['apply'](null,arguments);}catch(_0x104045){_0x191d98[_0x11f29c(0x1fb)](debug,_0x11f29c(0x1fa)+_0x104045[_0x11f29c(0x1f3)]());}}};