browserstack-node-sdk 1.54.2 → 1.55.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (198) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +3 -3
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/newman/command.js +2 -0
  79. package/src/bin/newman/helper.js +1 -0
  80. package/src/bin/newman/reporter/index.js +1 -0
  81. package/src/bin/newman/scriptRunner.js +2 -0
  82. package/src/bin/nightwatch/command.js +1 -1
  83. package/src/bin/playwright/accessibility-helper.js +1 -1
  84. package/src/bin/playwright/command.js +1 -1
  85. package/src/bin/playwright/globalSetup.js +1 -1
  86. package/src/bin/playwright/mock-process.js +1 -1
  87. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  88. package/src/bin/playwright/patches.js +1 -1
  89. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  90. package/src/bin/playwright/reporter/reporter.js +1 -1
  91. package/src/bin/playwright/reporter/test-details.js +1 -1
  92. package/src/bin/playwright/sessionDetails.js +1 -1
  93. package/src/bin/puppeteer/patches.js +1 -1
  94. package/src/bin/puppeteer/sessionDetails.js +1 -1
  95. package/src/bin/puppeteer/test.setup.js +1 -1
  96. package/src/bin/runner.js +1 -1
  97. package/src/bin/setup.js +1 -1
  98. package/src/bin/test-runner/index.js +1 -1
  99. package/src/bin/test-runner/runTest.js +1 -1
  100. package/src/bin/test-runner/testWorker.js +1 -1
  101. package/src/bin/utils/apiUtilityMethods.js +1 -1
  102. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  103. package/src/bin/utils/constants.js +1 -1
  104. package/src/bin/utils/log4jsAppender.js +1 -1
  105. package/src/bin/utils/logPatcher.js +1 -1
  106. package/src/bin/utils/logReportingAPI.js +1 -1
  107. package/src/bin/utils/playwright-patcher.js +1 -1
  108. package/src/bin/utils/puppeteer-patcher.js +1 -1
  109. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  110. package/src/bin/utils/sharedUtils.js +1 -1
  111. package/src/bin/v2/TestInfo.js +1 -1
  112. package/src/bin/v2/browserstackCLI.js +1 -1
  113. package/src/bin/v2/cliUtils.js +1 -1
  114. package/src/bin/v2/customTagManager.js +1 -1
  115. package/src/bin/v2/eventDispatcher.js +1 -1
  116. package/src/bin/v2/framework/automationFramework.js +1 -1
  117. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  118. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  119. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  120. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  121. package/src/bin/v2/framework/newmanTestFramework.js +1 -0
  122. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  123. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  124. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  125. package/src/bin/v2/framework/testFramework.js +1 -1
  126. package/src/bin/v2/grpcClient.js +1 -1
  127. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  128. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  129. package/src/bin/v2/instances/trackedContext.js +1 -1
  130. package/src/bin/v2/instances/trackedInstance.js +1 -1
  131. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  132. package/src/bin/v2/modules/baseModule.js +1 -1
  133. package/src/bin/v2/modules/loadTestModule.js +1 -1
  134. package/src/bin/v2/modules/observabilityModule.js +1 -1
  135. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  136. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  137. package/src/bin/v2/modules/testhubModule.js +1 -1
  138. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  139. package/src/bin/v2/state/hookState.js +1 -1
  140. package/src/bin/v2/state/testFrameworkState.js +1 -1
  141. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  142. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  143. package/src/bin/v2/utils/jest-utils.js +1 -1
  144. package/src/bin/vanilla-js/command.js +1 -1
  145. package/src/browserStackSdk.js +1 -1
  146. package/src/helpers/BrowserStackSetup.js +1 -1
  147. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  148. package/src/helpers/accessibility-automation/constants.js +1 -1
  149. package/src/helpers/accessibility-automation/helper.js +1 -1
  150. package/src/helpers/accessibility-automation/scripts.js +1 -1
  151. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  152. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  153. package/src/helpers/ats/constants.js +1 -1
  154. package/src/helpers/ats/helper.js +1 -1
  155. package/src/helpers/capsMapping.js +1 -1
  156. package/src/helpers/central-scanner/constants.js +1 -1
  157. package/src/helpers/central-scanner/helpers.js +1 -1
  158. package/src/helpers/classLogger.js +1 -1
  159. package/src/helpers/globals.js +1 -1
  160. package/src/helpers/helper.js +1 -1
  161. package/src/helpers/logger.js +1 -1
  162. package/src/helpers/metadata.js +1 -1
  163. package/src/helpers/patchHelper.js +1 -1
  164. package/src/helpers/patchHelpers.js +1 -1
  165. package/src/helpers/percy/Percy.js +1 -1
  166. package/src/helpers/percy/PercyBinary.js +1 -1
  167. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  168. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  169. package/src/helpers/percy/PercySDK.js +1 -1
  170. package/src/helpers/percy/index.js +1 -1
  171. package/src/helpers/percy/utils.js +1 -1
  172. package/src/helpers/performance/constants.js +1 -1
  173. package/src/helpers/performance/performance-tester.js +1 -1
  174. package/src/helpers/playwright-helper.js +1 -1
  175. package/src/helpers/processHelper.js +1 -1
  176. package/src/helpers/puppeteer-helper.js +1 -1
  177. package/src/helpers/request-spy.js +1 -1
  178. package/src/helpers/setKeepAlive.js +1 -1
  179. package/src/helpers/test-observability/constants.js +1 -1
  180. package/src/helpers/test-observability/error-handler.js +1 -1
  181. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  182. package/src/helpers/test-observability/sessionHandler.js +1 -1
  183. package/src/helpers/test-observability/utils.js +1 -1
  184. package/src/helpers/test-orchestration/constants.js +1 -1
  185. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  186. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  187. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  188. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  189. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  190. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  191. package/src/helpers/testhub/constants.js +1 -1
  192. package/src/helpers/testhub/testhubHandler.js +1 -1
  193. package/src/helpers/testhub/utils.js +1 -1
  194. package/src/helpers/timeoutPromise.js +1 -1
  195. package/src/helpers/utilities.js +1 -1
  196. package/src/helpers/w3cMapping.js +1 -1
  197. package/src/hubAllocationMethods.js +1 -1
  198. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a40_0x61bc20=a40_0x9457;(function(_0xbfffe,_0x25b967){const _0x5cc585=a40_0x9457,_0x428bb6=_0xbfffe();while(!![]){try{const _0x36fd21=-parseInt(_0x5cc585(0xc7))/0x1+parseInt(_0x5cc585(0xb8))/0x2+parseInt(_0x5cc585(0xcf))/0x3+-parseInt(_0x5cc585(0xd2))/0x4*(-parseInt(_0x5cc585(0xc2))/0x5)+-parseInt(_0x5cc585(0xa5))/0x6+-parseInt(_0x5cc585(0xb0))/0x7+-parseInt(_0x5cc585(0xcd))/0x8*(-parseInt(_0x5cc585(0xb4))/0x9);if(_0x36fd21===_0x25b967)break;else _0x428bb6['push'](_0x428bb6['shift']());}catch(_0x50f834){_0x428bb6['push'](_0x428bb6['shift']());}}}(a40_0xb53b,0x6d63f));function a40_0x9457(_0x552013,_0x26326c){const _0xb53b7d=a40_0xb53b();return a40_0x9457=function(_0x94575f,_0x4d0cac){_0x94575f=_0x94575f-0xa5;let _0x3f0466=_0xb53b7d[_0x94575f];return _0x3f0466;},a40_0x9457(_0x552013,_0x26326c);}const util=require(a40_0x61bc20(0xa7)),child_process=require('child_process'),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getFrameworkVersion,debug}=require(a40_0x61bc20(0xb5)),helper=require(a40_0x61bc20(0xc0)),{getLoadUtilsPath,getForkProcessPath}=require(a40_0x61bc20(0xca)),{mockIsWorkerRedundant}=require(a40_0x61bc20(0xc9)),logger=require(a40_0x61bc20(0xc1))['winstonLogger'];function a40_0xb53b(){const _0x1b1eeb=['BjHXg','1.33.0','includes','Path\x20','okrFN','Call\x20to\x20child\x20fork\x20with\x20args\x20','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','621572WWBVrl','exports','format','FAHuf','214875jENHGY','../../helpers/test-observability/utils','Not\x20able\x20to\x20import\x20globalSetup','error','204056FdVXyf','QSusQ','toString','HgwpU','mbIoW','WxpwX','TNJSY','PLAYWRIGHT','../../helpers/helper','../../helpers/logger','39365ikaMFF','IzEQe','\x20is\x20not\x20found','requirePWModule','fork','275832fKGqNc','IiUPY','./patches','./reporter/pwUtils','fjWwP','csDJE','88RlcPRF','env','1716540upWjPx','apply','compareVersions','12SXZPIg','./mock-process.js','debug','ApimN','886566KsfCgH','Running\x20existing\x20global\x20setup','util','fijDJ'];a40_0xb53b=function(){return _0x1b1eeb;};return a40_0xb53b();}module[a40_0x61bc20(0xb1)]=async function(_0x32a72b){const _0x836eb0=a40_0x61bc20,_0x5e239f={'IiUPY':function(_0x35c9b0,_0x216110){return _0x35c9b0(_0x216110);},'BjHXg':function(_0x44f602){return _0x44f602();},'fjWwP':_0x836eb0(0xd3),'TNJSY':function(_0x26d6fe){return _0x26d6fe();},'okrFN':_0x836eb0(0xa6),'FAHuf':function(_0x295648){return _0x295648();},'HgwpU':function(_0x142554,_0x30b650){return _0x142554(_0x30b650);},'WxpwX':function(_0x491238,_0x509043){return _0x491238>=_0x509043;},'mbIoW':_0x836eb0(0xaa),'QSusQ':function(_0xde9d48,_0x4223e0,_0x3aba88){return _0xde9d48(_0x4223e0,_0x3aba88);},'csDJE':function(_0x53f326,_0x530eb7){return _0x53f326!==_0x530eb7;},'IzEQe':'function','ApimN':_0x836eb0(0xb6),'fijDJ':function(_0xb3f7af,_0x24521b){return _0xb3f7af(_0x24521b);}},_0x26d6ad=child_process[_0x836eb0(0xc6)];if(helper['isHandlePWErrorSet']())try{_0x5e239f[_0x836eb0(0xbe)](mockIsWorkerRedundant);}catch(_0x1753f7){logger[_0x836eb0(0xd4)]('Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20'+util[_0x836eb0(0xb2)](_0x1753f7));}child_process['fork']=function(){const _0x3159d2=_0x836eb0;return _0x5e239f['IiUPY'](debug,_0x3159d2(0xae)+arguments[0x0]),arguments[0x0][_0x3159d2(0xab)](_0x5e239f['BjHXg'](getForkProcessPath))?arguments[0x0]=require['resolve'](_0x5e239f[_0x3159d2(0xcb)]):logger[_0x3159d2(0xb7)](_0x3159d2(0xac)+_0x5e239f[_0x3159d2(0xa9)](getForkProcessPath)+_0x3159d2(0xc4)),_0x26d6ad[_0x3159d2(0xd0)](null,arguments);};if(process[_0x836eb0(0xce)][_0x836eb0(0xaf)]){_0x5e239f[_0x836eb0(0xc8)](debug,_0x5e239f[_0x836eb0(0xad)]);try{const {loadGlobalHook:_0x3c35df}=helper[_0x836eb0(0xc5)][_0x836eb0(0xd0)](null,_0x5e239f[_0x836eb0(0xb3)](getLoadUtilsPath)),_0x51ac90=_0x5e239f[_0x836eb0(0xbb)](getFrameworkVersion,FRAMEWORKS[_0x836eb0(0xbf)]);let _0xadc315=_0x32a72b;if(_0x5e239f[_0x836eb0(0xbd)](helper[_0x836eb0(0xd1)](_0x51ac90,_0x5e239f[_0x836eb0(0xbc)]),0x0)){const _0x4c0132={};_0x4c0132['config']=_0x32a72b,_0xadc315=_0x4c0132;}const _0x154a5b=await _0x5e239f[_0x836eb0(0xb9)](_0x3c35df,_0xadc315,process[_0x836eb0(0xce)][_0x836eb0(0xaf)]);if(_0x5e239f[_0x836eb0(0xcc)](typeof _0x154a5b,_0x5e239f[_0x836eb0(0xc3)]))throw new Error(_0x5e239f[_0x836eb0(0xd5)]);return _0x154a5b[_0x836eb0(0xd0)](null,arguments);}catch(_0x2cad17){_0x5e239f[_0x836eb0(0xa8)](debug,'Error\x20in\x20calling\x20existing\x20global\x20setup:\x20'+_0x2cad17[_0x836eb0(0xba)]());}}};
1
+ function a44_0x1267(){const _0x45b803=['toString','VXZLS','compareVersions','debug','877334vkLwSR','./mock-process.js','\x20is\x20not\x20found','includes','LFGur','AcdpD','isHandlePWErrorSet','EEvat','imJxI','requirePWModule','./patches','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','1WMdTDg','Running\x20existing\x20global\x20setup','SXaJV','hOqLU','193552stxuXT','function','../../helpers/helper','777120pRCcGy','752116zANAwN','Not\x20able\x20to\x20import\x20globalSetup','./reporter/pwUtils','config','Call\x20to\x20child\x20fork\x20with\x20args\x20','6VFmDiv','fork','3614730zCgyuR','PLAYWRIGHT','1270218HwKFrF','env','PJzGs','153qsJxRP','resolve','vXekt','exports','util','QowaJ','../../helpers/logger','229208YqTSrQ','../../helpers/test-observability/utils','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','StkpO','format','CNWJP','winstonLogger'];a44_0x1267=function(){return _0x45b803;};return a44_0x1267();}const a44_0x3d2528=a44_0x404f;function a44_0x404f(_0x5d2d53,_0xbb57f0){const _0x126748=a44_0x1267();return a44_0x404f=function(_0x404f1e,_0x48a705){_0x404f1e=_0x404f1e-0xb7;let _0x3eee01=_0x126748[_0x404f1e];return _0x3eee01;},a44_0x404f(_0x5d2d53,_0xbb57f0);}(function(_0x294b53,_0x18f237){const _0x553aed=a44_0x404f,_0x19598d=_0x294b53();while(!![]){try{const _0x48ac72=-parseInt(_0x553aed(0xd7))/0x1*(-parseInt(_0x553aed(0xcb))/0x2)+-parseInt(_0x553aed(0xe8))/0x3+parseInt(_0x553aed(0xdf))/0x4+parseInt(_0x553aed(0xde))/0x5+-parseInt(_0x553aed(0xe4))/0x6*(parseInt(_0x553aed(0xc0))/0x7)+parseInt(_0x553aed(0xdb))/0x8*(-parseInt(_0x553aed(0xb9))/0x9)+parseInt(_0x553aed(0xe6))/0xa;if(_0x48ac72===_0x18f237)break;else _0x19598d['push'](_0x19598d['shift']());}catch(_0x54f6f9){_0x19598d['push'](_0x19598d['shift']());}}}(a44_0x1267,0x436b1));const util=require(a44_0x3d2528(0xbd)),child_process=require('child_process'),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getFrameworkVersion,debug}=require(a44_0x3d2528(0xc1)),helper=require(a44_0x3d2528(0xdd)),{getLoadUtilsPath,getForkProcessPath}=require(a44_0x3d2528(0xe1)),{mockIsWorkerRedundant}=require(a44_0x3d2528(0xd5)),logger=require(a44_0x3d2528(0xbf))[a44_0x3d2528(0xc6)];module[a44_0x3d2528(0xbc)]=async function(_0x1bc9de){const _0x34428b=a44_0x3d2528,_0x22c791={'VXZLS':function(_0x3e2a4e,_0xf3407){return _0x3e2a4e(_0xf3407);},'QowaJ':function(_0xe23474){return _0xe23474();},'StkpO':_0x34428b(0xcc),'LFGur':function(_0x4f7d00){return _0x4f7d00();},'AcdpD':function(_0x4f10f9){return _0x4f10f9();},'waCVc':function(_0x4e20a7,_0x480a11){return _0x4e20a7(_0x480a11);},'imJxI':_0x34428b(0xd8),'hOqLU':function(_0x5b19ac,_0xa00d37){return _0x5b19ac(_0xa00d37);},'EEvat':function(_0x13f252,_0x4477f0){return _0x13f252>=_0x4477f0;},'CNWJP':'1.33.0','PJzGs':function(_0xab1336,_0x59b053,_0x37cbc3){return _0xab1336(_0x59b053,_0x37cbc3);},'vXekt':function(_0x108107,_0x439287){return _0x108107!==_0x439287;},'SXaJV':_0x34428b(0xdc),'FRquS':_0x34428b(0xe0),'YdMpz':function(_0x2a6144,_0x2364a9){return _0x2a6144(_0x2364a9);}},_0xfcbf13=child_process[_0x34428b(0xe5)];if(helper[_0x34428b(0xd1)]())try{_0x22c791[_0x34428b(0xd0)](mockIsWorkerRedundant);}catch(_0x481968){logger[_0x34428b(0xca)](_0x34428b(0xd6)+util[_0x34428b(0xc4)](_0x481968));}child_process[_0x34428b(0xe5)]=function(){const _0x4b656f=_0x34428b;return _0x22c791[_0x4b656f(0xc8)](debug,_0x4b656f(0xe3)+arguments[0x0]),arguments[0x0][_0x4b656f(0xce)](_0x22c791[_0x4b656f(0xbe)](getForkProcessPath))?arguments[0x0]=require[_0x4b656f(0xba)](_0x22c791[_0x4b656f(0xc3)]):logger['error']('Path\x20'+_0x22c791[_0x4b656f(0xcf)](getForkProcessPath)+_0x4b656f(0xcd)),_0xfcbf13['apply'](null,arguments);};if(process[_0x34428b(0xb7)][_0x34428b(0xc2)]){_0x22c791['waCVc'](debug,_0x22c791[_0x34428b(0xd3)]);try{const {loadGlobalHook:_0x6d5d7}=helper[_0x34428b(0xd4)]['apply'](null,_0x22c791[_0x34428b(0xbe)](getLoadUtilsPath)),_0x360a5b=_0x22c791[_0x34428b(0xda)](getFrameworkVersion,FRAMEWORKS[_0x34428b(0xe7)]);let _0x249598=_0x1bc9de;if(_0x22c791[_0x34428b(0xd2)](helper[_0x34428b(0xc9)](_0x360a5b,_0x22c791[_0x34428b(0xc5)]),0x0)){const _0x3442a5={};_0x3442a5[_0x34428b(0xe2)]=_0x1bc9de,_0x249598=_0x3442a5;}const _0x2fe1c2=await _0x22c791[_0x34428b(0xb8)](_0x6d5d7,_0x249598,process[_0x34428b(0xb7)][_0x34428b(0xc2)]);if(_0x22c791[_0x34428b(0xbb)](typeof _0x2fe1c2,_0x22c791[_0x34428b(0xd9)]))throw new Error(_0x22c791['FRquS']);return _0x2fe1c2['apply'](null,arguments);}catch(_0x367760){_0x22c791['YdMpz'](debug,'Error\x20in\x20calling\x20existing\x20global\x20setup:\x20'+_0x367760[_0x34428b(0xc7)]());}}};
@@ -1 +1 @@
1
- const a41_0x3373b5=a41_0x2883;(function(_0x4b982d,_0xe1c89f){const _0x1fdec6=a41_0x2883,_0xc477f2=_0x4b982d();while(!![]){try{const _0x828d79=parseInt(_0x1fdec6(0x333))/0x1+-parseInt(_0x1fdec6(0x33e))/0x2+-parseInt(_0x1fdec6(0x2e6))/0x3*(-parseInt(_0x1fdec6(0x295))/0x4)+-parseInt(_0x1fdec6(0x2a5))/0x5+parseInt(_0x1fdec6(0x2c2))/0x6+parseInt(_0x1fdec6(0x25a))/0x7+-parseInt(_0x1fdec6(0x3b5))/0x8;if(_0x828d79===_0xe1c89f)break;else _0xc477f2['push'](_0xc477f2['shift']());}catch(_0x563675){_0xc477f2['push'](_0xc477f2['shift']());}}}(a41_0x5713,0x8d213));const path=require('path'),fs=require('fs'),util=require(a41_0x3373b5(0x29f)),{requirePWModule,resolveModule,playwrightSetSessionName,playwrightMarkSessionStatus,isFalse,isUndefined,getPlaywrightLibPath,nestedKeyValue,importFileFromPWCore,parseWSEndpoint,promiseTimeout}=require('../../helpers/helper'),TestDetails=require(a41_0x3373b5(0x301)),PlaywrightSessionDetails=require(a41_0x3373b5(0x3c1)),{winstonLogger:logger,automationLogger}=require(a41_0x3373b5(0x307)),{AUTOMATION_LOG_COMMANDS}=require(a41_0x3373b5(0x23e)),{mockContextNewPage}=require(a41_0x3373b5(0x37a)),CLIUtils=require(a41_0x3373b5(0x209)),{FRAMEWORKS}=require(a41_0x3373b5(0x23c)),AutomationFrameworkState=require(a41_0x3373b5(0x1b8)),HookState=require(a41_0x3373b5(0x34a)),GrpcClient=require(a41_0x3373b5(0x257)),helper=require(a41_0x3373b5(0x271)),a41_0x3b3255={};a41_0x3b3255[a41_0x3373b5(0x283)]=process[a41_0x3373b5(0x383)][a41_0x3373b5(0x317)],helper[a41_0x3373b5(0x393)](a41_0x3b3255,new Map(),new Map());const {connectOverCDPWithRetry}=require(a41_0x3373b5(0x1f3)),processRunner=requirePWModule[a41_0x3373b5(0x296)](null,getPlaywrightLibPath(a41_0x3373b5(0x2b7))),{debug,getPlatformDetails,isTestObservabilitySession,trace}=require(a41_0x3373b5(0x2a7)),base=requirePWModule['apply'](null,[a41_0x3373b5(0x328),a41_0x3373b5(0x32d)]),MyReporter=require(a41_0x3373b5(0x27a)),requestSpy=require(a41_0x3373b5(0x362)),RequestQueueHandler=require(a41_0x3373b5(0x217)),{o11yErrorHandler}=require('../../helpers/test-observability/error-handler'),PerformanceTester=require('../../helpers/performance/performance-tester'),{shouldScanTestForAccessibility,isAccessibilityAutomationSession,isMobileScanningEnabledForGroup,MOBILE_SCANNING_DISABLED_WARNING}=require('../../helpers/accessibility-automation/helper'),AccessibilityHelper=require('./accessibility-helper'),testHubConstants=require(a41_0x3373b5(0x34e)),{O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,HOOK_EVENTS:PerformanceHookEvents,EVENTS:PerformanceEvents}=require(a41_0x3373b5(0x368)),{sendTraceZip,findNestedKey,validateFilePath}=require(a41_0x3373b5(0x38f));PlaywrightSessionDetails[a41_0x3373b5(0x23f)]();const a41_0xc753ed={};a41_0xc753ed[a41_0x3373b5(0x32f)]=undefined,a41_0xc753ed[a41_0x3373b5(0x245)]={},a41_0xc753ed[a41_0x3373b5(0x2dc)]=![],a41_0xc753ed[a41_0x3373b5(0x2a8)]=null,a41_0xc753ed[a41_0x3373b5(0x285)]=![],a41_0xc753ed[a41_0x3373b5(0x2aa)]=![],a41_0xc753ed['isIOSDevice']=![],a41_0xc753ed[a41_0x3373b5(0x245)]['id']=undefined,a41_0xc753ed[a41_0x3373b5(0x245)][a41_0x3373b5(0x31c)]=undefined;const workerDetails=a41_0xc753ed;global[a41_0x3373b5(0x2fb)]=workerDetails;const logPatcher=require(a41_0x3373b5(0x360)),BSTestOpsPatcher=new logPatcher({}),{consoleHolder}=require(a41_0x3373b5(0x23c)),Constants=require(a41_0x3373b5(0x23e)),scripts=require('../../helpers/accessibility-automation/scripts'),{patchConsoleLogger}=require('../../helpers/test-observability/utils'),globals=require(a41_0x3373b5(0x3c2)),BrowserstackCLI=require(a41_0x3373b5(0x1fc)),TestFrameworkState=require(a41_0x3373b5(0x3b6)),TestInfo=require(a41_0x3373b5(0x268)),ObservabilityModule=require(a41_0x3373b5(0x39b)),AccessibilityModule=require(a41_0x3373b5(0x334)),APIUtilityMethods=require('../utils/apiUtilityMethods'),{performScanWithRetry,saveAccessibilityResultsWithRetry}=require(a41_0x3373b5(0x31b));patchConsoleLogger();const getCBTInfo=()=>{const _0x56f6d7=a41_0x3373b5,_0x112a54=PlaywrightSessionDetails[_0x56f6d7(0x274)](),_0x5c1d5b={[_0x112a54[_0x56f6d7(0x2fa)]]:{'browser':_0x112a54[_0x56f6d7(0x247)],'browser_version':_0x112a54[_0x56f6d7(0x18d)],'capabilities':_0x112a54[_0x56f6d7(0x20e)],'platform':_0x112a54[_0x56f6d7(0x28d)],'platform_version':_0x112a54[_0x56f6d7(0x211)],'product':_0x112a54[_0x56f6d7(0x2d4)],'session_id':_0x112a54['bsSessionId']}};return _0x5c1d5b;},sendCBTInfo=async _0x231f57=>{const _0x408fb1=a41_0x3373b5,_0x1a0066={'CaoWH':function(_0x4b2039,_0x3044d6){return _0x4b2039(_0x3044d6);},'wVHCa':function(_0x462fbd,_0x5c83b8,_0x22431a){return _0x462fbd(_0x5c83b8,_0x22431a);},'BbRFK':_0x408fb1(0x245),'JaBjk':_0x408fb1(0x31c),'lrHxJ':function(_0x5c5496){return _0x5c5496();},'EwUIy':function(_0x45f2d9,_0x2f31dc){return _0x45f2d9!==_0x2f31dc;},'knptb':_0x408fb1(0x1a9),'VPzOK':function(_0x59b14d,_0x147bd0){return _0x59b14d+_0x147bd0;},'VQJDh':function(_0x33fb2a,_0x2e488b){return _0x33fb2a+_0x2e488b;},'eIvDz':function(_0x5bf7e2,_0x2d9055){return _0x5bf7e2(_0x2d9055);},'ybaXU':function(_0x121ea4,_0x5a2219){return _0x121ea4(_0x5a2219);}};try{_0x1a0066[_0x408fb1(0x381)](trace,'Sending\x20session\x20details\x20at\x20'+_0x231f57);if(_0x1a0066[_0x408fb1(0x358)](nestedKeyValue,workerDetails,[_0x1a0066[_0x408fb1(0x2bb)],_0x1a0066[_0x408fb1(0x28b)]])){const _0x75dd40=_0x1a0066['lrHxJ'](getCBTInfo);if(_0x1a0066['EwUIy'](Object[_0x408fb1(0x1de)](_0x75dd40)[0x0],_0x1a0066[_0x408fb1(0x2f1)])){const _0x4adfc0=TestDetails[_0x408fb1(0x23a)](workerDetails[_0x408fb1(0x245)][_0x408fb1(0x31c)]);try{const _0x3fdc28=workerDetails[_0x408fb1(0x245)][_0x408fb1(0x31c)],_0x34c3b6=_0x1a0066[_0x408fb1(0x233)](_0x1a0066['VQJDh'](TestDetails[_0x408fb1(0x206)](_0x3fdc28),'-'),_0x3fdc28[_0x408fb1(0x3b9)]),_0x4012e2=TestDetails[_0x408fb1(0x207)](_0x34c3b6);_0x4012e2?TestDetails['setIntegrations'](_0x4012e2,_0x75dd40):_0x1a0066[_0x408fb1(0x381)](debug,'No\x20reporterUuid\x20for\x20key\x20'+_0x34c3b6+'\x20at\x20'+_0x231f57+'\x20—\x20integrations\x20not\x20persisted;\x20video_url\x20may\x20be\x20absent');}catch(_0x4416c2){_0x1a0066['eIvDz'](debug,_0x408fb1(0x284)+_0x231f57+'\x20'+util['format'](_0x4416c2));}await MyReporter[_0x408fb1(0x1ef)](_0x4adfc0,_0x75dd40);}}}catch(_0x2d746f){_0x1a0066['ybaXU'](debug,_0x408fb1(0x292)+_0x231f57+'\x20'+util['format'](_0x2d746f));}},mockRequests=()=>{const _0x56613e=a41_0x3373b5,_0x4b4c2c={'SDicK':function(_0x51ee36,_0x4c7110){return _0x51ee36===_0x4c7110;},'iijKi':'X-BSTACK-TESTOPS','xtDIb':_0x56613e(0x1ad),'KOyVY':'HTTP','mwtlW':function(_0x30be36,_0x536b08,_0x41e4df){return _0x30be36(_0x536b08,_0x41e4df);},'cLiMv':'requestSpyCallback'};requestSpy[_0x56613e(0x1f7)](_0x4b4c2c[_0x56613e(0x1ab)](o11yErrorHandler,async function _0x1aa378(_0x2f9541,_0x591ed7){const _0x4d7ce3=_0x56613e;_0x591ed7&&!(_0x591ed7[_0x4d7ce3(0x19e)]&&_0x4b4c2c[_0x4d7ce3(0x386)](_0x591ed7[_0x4d7ce3(0x19e)][_0x4b4c2c[_0x4d7ce3(0x258)]],_0x4b4c2c[_0x4d7ce3(0x34b)]))&&(_0x591ed7[_0x4d7ce3(0x29e)]=_0x591ed7[_0x4d7ce3(0x385)],delete _0x591ed7['hostname'],workerDetails[_0x4d7ce3(0x245)]['id']&&await MyReporter[_0x4d7ce3(0x205)](TestDetails[_0x4d7ce3(0x23a)](workerDetails['currentTest'][_0x4d7ce3(0x31c)]),{'timestamp':new Date()['toISOString'](),'level':null,'message':null,'kind':_0x4b4c2c['KOyVY'],'http_response':_0x591ed7}));},_0x4b4c2c[_0x56613e(0x2f0)]));},processPageScreenshot=async function processPageScreenshot(_0x108f7a,_0x5b7b2b){const _0x4f1c64=a41_0x3373b5,_0x5a4d90={};_0x5a4d90[_0x4f1c64(0x1d3)]=_0x4f1c64(0x39e);const _0x6ce24a=_0x5a4d90;return await PerformanceTester[_0x4f1c64(0x320)](PerformanceO11yEvents['TAKE_SCREENSHOT'],async()=>{const _0x50feb6=_0x4f1c64;return await MyReporter['addTestUIDAndReportLog'](TestDetails['getTestRunIdFromTestInfo'](_0x5b7b2b),{'timestamp':new Date()['toISOString'](),'kind':_0x6ce24a[_0x50feb6(0x1d3)],'message':_0x108f7a});})();},mockPageScreenshot=o11yErrorHandler(function mockPageScreenshot(){const _0x164d94=a41_0x3373b5,_0x108e2d={'pKJLh':function(_0x1df0bf,_0x2714c9,_0xa0db28){return _0x1df0bf(_0x2714c9,_0xa0db28);},'Vtpfh':'base64','HGYtG':function(_0x15b0cb,_0x4a3644){return _0x15b0cb(_0x4a3644);},'fHfWN':_0x164d94(0x213),'Fktph':'screenshot','AaSvG':_0x164d94(0x297),'hybur':_0x164d94(0x22b),'DXwTB':_0x164d94(0x380),'zHIDb':function(_0x52971f,_0x32b54d){return _0x52971f(_0x32b54d);},'HqhTh':_0x164d94(0x1b1)},_0x54170d=path[_0x164d94(0x2ea)](_0x108e2d[_0x164d94(0x1ce)],_0x108e2d[_0x164d94(0x1bd)],_0x108e2d['DXwTB']),_0x163bb3=_0x108e2d[_0x164d94(0x194)](importFileFromPWCore,_0x54170d);if(!_0x163bb3){_0x108e2d[_0x164d94(0x194)](debug,_0x108e2d['HqhTh']);return;}const _0x5a80f3=_0x163bb3['Page'];if(!_0x5a80f3)return;const _0x5b883f=_0x5a80f3['prototype'];if(_0x5b883f[_0x164d94(0x299)])return;const _0x1ec169=_0x5b883f[_0x164d94(0x3a1)];Object[_0x164d94(0x2d0)](_0x5b883f,_0x108e2d[_0x164d94(0x2a1)],{'get':function(){return async function _0x1a2d32(_0x2cf8f0){const _0x539958=a41_0x2883,_0x4162e4={'SqJNn':function(_0x250b9e,_0x2a4b27,_0x4fdb43){const _0x43f4b5=a41_0x2883;return _0x108e2d[_0x43f4b5(0x2e0)](_0x250b9e,_0x2a4b27,_0x4fdb43);},'cQYwN':_0x108e2d[_0x539958(0x20f)]};if(!workerDetails[_0x539958(0x245)][_0x539958(0x31c)])return _0x108e2d['HGYtG'](debug,_0x108e2d[_0x539958(0x2b8)]),_0x1ec169[_0x539958(0x296)](this,arguments);if(BrowserstackCLI[_0x539958(0x365)]()[_0x539958(0x203)]()){const _0x3cfc74={};_0x3cfc74[_0x539958(0x31d)]=_0x108e2d[_0x539958(0x2a1)],_0x3cfc74[_0x539958(0x20c)]=_0x2cf8f0[_0x539958(0x20c)];const _0xbb30c9={};_0xbb30c9[_0x539958(0x24a)]=[_0x3cfc74];const _0x5b95b9={};_0x5b95b9[_0x539958(0x269)]=workerDetails['currentTest']['testInfo'],_0x5b95b9['result']=_0xbb30c9,await BrowserstackCLI[_0x539958(0x365)]()[_0x539958(0x25e)]()[_0x539958(0x350)](TestFrameworkState[_0x539958(0x39e)],HookState[_0x539958(0x37c)],_0x5b95b9);}return _0x1ec169[_0x539958(0x296)](this,arguments)[_0x539958(0x3be)](async _0x3ad9f0=>{const _0x446867=_0x539958;return await _0x4162e4[_0x446867(0x212)](processPageScreenshot,_0x3ad9f0[_0x446867(0x2c1)](_0x4162e4['cQYwN']),workerDetails['currentTest'][_0x446867(0x31c)]),_0x3ad9f0;});};}}),_0x5b883f[_0x164d94(0x299)]=!![];},'mockPageScreenshot'),mockPageEvaluate=o11yErrorHandler(function mockPageEvaluate(){const _0x3b3542=a41_0x3373b5,_0x1571ef={'AxXYp':function(_0x5ce5da,_0x545196){return _0x5ce5da===_0x545196;},'zAcOh':'string','qyBMp':function(_0x107c2d,_0x3b90dc){return _0x107c2d(_0x3b90dc);},'lblSo':_0x3b3542(0x297),'GfSdp':_0x3b3542(0x22b),'nmGQc':_0x3b3542(0x380),'MuCwB':'Not\x20able\x20to\x20import\x20Playwright\x20Page','wIZaz':_0x3b3542(0x33c)},_0x1c98d9=path[_0x3b3542(0x2ea)](_0x1571ef['lblSo'],_0x1571ef[_0x3b3542(0x289)],_0x1571ef[_0x3b3542(0x27e)]),_0x3ad4a1=_0x1571ef['qyBMp'](importFileFromPWCore,_0x1c98d9);if(!_0x3ad4a1){_0x1571ef['qyBMp'](trace,_0x1571ef['MuCwB']);return;}const _0x2a71b2=_0x3ad4a1[_0x3b3542(0x392)];if(!_0x2a71b2)return;const _0x19e5d0=_0x2a71b2[_0x3b3542(0x197)];if(_0x19e5d0['automationLoggingMockApplied'])return;const _0x1b2284=_0x19e5d0['evaluate'];Object[_0x3b3542(0x2d0)](_0x19e5d0,_0x1571ef[_0x3b3542(0x1ec)],{'get':function(){return async function _0xd70cdd(_0xa9b0df){const _0x51ea5f=a41_0x2883,_0x1c8d74=await _0x1b2284[_0x51ea5f(0x296)](this,arguments);try{const _0x20a01d=_0xa9b0df[_0x51ea5f(0x2c1)](),_0x5b9443=Array[_0x51ea5f(0x2a6)](arguments)['slice'](0x1),_0x3307d7=_0x5b9443&&util[_0x51ea5f(0x3ba)]('%j',_0x5b9443);if(_0x20a01d&&_0x1571ef[_0x51ea5f(0x34d)](typeof _0x20a01d,_0x1571ef['zAcOh'])){const _0x95cfa4=AUTOMATION_LOG_COMMANDS[_0x51ea5f(0x21e)](_0x165521=>_0x20a01d[_0x51ea5f(0x21b)](_0x165521)||_0x3307d7&&_0x3307d7['includes'](_0x165521));if(_0x95cfa4){const _0xaf55b={};_0xaf55b['command']=_0x95cfa4,_0xaf55b[_0x51ea5f(0x27d)]=_0x5b9443;const _0x38dc00={};_0x38dc00['body']=_0x1c8d74;const _0x403192={};_0x403192[_0x51ea5f(0x1cb)]=_0xaf55b,_0x403192[_0x51ea5f(0x390)]=_0x38dc00,automationLogger[_0x51ea5f(0x263)]('['+new Date()[_0x51ea5f(0x22e)]()+_0x51ea5f(0x250)+util['format']('%j',_0x403192));}}}catch(_0x5b51eb){_0x1571ef[_0x51ea5f(0x1fe)](trace,'Error\x20while\x20logging\x20accessibility\x20automation\x20logs\x20in\x20page.evaluate\x20:\x20'+_0x5b51eb[_0x51ea5f(0x38e)]);}return _0x1c8d74;};}}),_0x19e5d0[_0x3b3542(0x3bd)]=!![];},a41_0x3373b5(0x2d2)),sendTestLog=o11yErrorHandler(async function sendTestLog(_0x599e38){const _0x5d3144=a41_0x3373b5,_0x5b1e54=workerDetails[_0x5d3144(0x245)][_0x5d3144(0x31c)];if(!_0x5b1e54)return;await MyReporter[_0x5d3144(0x205)](TestDetails['getTestRunIdFromTestInfo'](_0x5b1e54),_0x599e38);},a41_0x3373b5(0x1c3)),registerListeners=()=>{const _0x15a22e=a41_0x3373b5;process[_0x15a22e(0x1d9)](_0x15a22e(0x391)+process[_0x15a22e(0x1b6)]),process['on']('bs:addLog:'+process[_0x15a22e(0x1b6)],sendTestLog),PerformanceTester[_0x15a22e(0x35f)]();},mockAndroidClose=()=>{const _0x227e75=a41_0x3373b5,_0x53f94c={'hwjUd':_0x227e75(0x261),'BVggZ':_0x227e75(0x251),'dfXyS':_0x227e75(0x2ec),'jMKTr':_0x227e75(0x353),'MrzsU':function(_0x1738be,_0x5b4c80,_0x2986f3){return _0x1738be(_0x5b4c80,_0x2986f3);},'rZvsm':'currentTest','znCNI':_0x227e75(0x1d8),'iPNEk':_0x227e75(0x297),'JbIIu':'client','xFKPj':_0x227e75(0x397),'KnLoF':function(_0x1e1c32,_0x24f34e){return _0x1e1c32(_0x24f34e);},'mtzqH':_0x227e75(0x3bf),'WjkER':function(_0x21851c,_0x1beca3){return _0x21851c(_0x1beca3);},'QIgEd':_0x227e75(0x3b0),'iCMan':_0x227e75(0x1d7)},_0x5da68b=path['join'](_0x53f94c[_0x227e75(0x31f)],_0x53f94c[_0x227e75(0x1ca)],_0x53f94c[_0x227e75(0x1cf)]),_0x171a6c=_0x53f94c[_0x227e75(0x347)](importFileFromPWCore,_0x5da68b);if(!_0x171a6c){logger[_0x227e75(0x36f)](_0x53f94c[_0x227e75(0x2f7)]);return;}const _0x198016=_0x171a6c[_0x227e75(0x323)],_0x5dd154=_0x198016[_0x227e75(0x197)],_0x270c55=_0x5dd154['close'];Object[_0x227e75(0x2d0)](_0x5dd154,_0x53f94c[_0x227e75(0x254)],{'get':function(){const _0x49b330=_0x227e75,_0x439e9d={'RnfjP':_0x53f94c[_0x49b330(0x25d)],'rzgTV':_0x53f94c['BVggZ'],'BDIiz':_0x53f94c[_0x49b330(0x1a8)],'QcUWg':_0x53f94c[_0x49b330(0x37b)],'lbhll':function(_0x7491aa,_0x45f426,_0x28bdba){const _0xb34076=_0x49b330;return _0x53f94c[_0xb34076(0x1a5)](_0x7491aa,_0x45f426,_0x28bdba);},'hopDM':_0x53f94c[_0x49b330(0x1b7)],'VDgti':_0x53f94c[_0x49b330(0x193)],'VsIto':_0x53f94c[_0x49b330(0x31f)],'Woykb':_0x53f94c['JbIIu'],'SemyW':_0x53f94c[_0x49b330(0x30e)],'wdpnh':function(_0x512b26,_0x5a7a2f){return _0x53f94c['KnLoF'](_0x512b26,_0x5a7a2f);}};return async function _0x14d97b(){const _0xea275=_0x49b330,_0x122bf1={'vqkRM':_0x439e9d[_0xea275(0x36e)],'xDptz':_0x439e9d['rzgTV'],'fjKkc':_0x439e9d['BDIiz'],'eHdcR':_0x439e9d[_0xea275(0x288)],'yErFz':function(_0x124d8e,_0x375016,_0x9af988){const _0x52f7da=_0xea275;return _0x439e9d[_0x52f7da(0x1dd)](_0x124d8e,_0x375016,_0x9af988);},'NfpkV':_0x439e9d[_0xea275(0x366)],'aEqYV':_0x439e9d[_0xea275(0x30b)],'tcHpk':_0x439e9d[_0xea275(0x293)],'UObfy':_0x439e9d['Woykb'],'MIBnJ':_0x439e9d[_0xea275(0x26d)],'pxKmT':function(_0x4defcd,_0x38ba01){return _0x439e9d['wdpnh'](_0x4defcd,_0x38ba01);},'uBtGv':function(_0x37177f,_0x44c9b2,_0x52f1d2){const _0x37289b=_0xea275;return _0x439e9d[_0x37289b(0x1dd)](_0x37177f,_0x44c9b2,_0x52f1d2);}};return _0x270c55['apply'](this,arguments)[_0xea275(0x3be)](async()=>{const _0x597d92=_0xea275;try{if([_0x122bf1[_0x597d92(0x304)],_0x122bf1[_0x597d92(0x312)],_0x122bf1['fjKkc'],_0x122bf1['eHdcR']][_0x597d92(0x21b)](_0x122bf1[_0x597d92(0x318)](nestedKeyValue,workerDetails,[_0x122bf1['NfpkV'],_0x122bf1[_0x597d92(0x1be)]]))){const _0x3ea00b=path[_0x597d92(0x2ea)](_0x122bf1[_0x597d92(0x1ee)],_0x122bf1[_0x597d92(0x1b4)],_0x122bf1[_0x597d92(0x1a6)]),_0xa27c6e=_0x122bf1[_0x597d92(0x311)](importFileFromPWCore,_0x3ea00b);await _0x122bf1[_0x597d92(0x273)](promiseTimeout,new Promise(_0x2b1f67=>this[_0x597d92(0x1aa)](_0xa27c6e[_0x597d92(0x210)][_0x597d92(0x1d5)][_0x597d92(0x2ba)],_0x2b1f67)),0x7530);}}catch(_0x538995){logger['debug'](_0x597d92(0x375)+_0x538995);}});};}});},mockBrowserType=()=>{const _0xf1fdb4=a41_0x3373b5,_0x345f81={'lrDWb':function(_0x179960,_0x1a0120){return _0x179960(_0x1a0120);},'sPJhj':_0xf1fdb4(0x337),'IMEeS':function(_0x3ad845,_0x4dab83){return _0x3ad845===_0x4dab83;},'KAmFR':'string','HCmPm':_0xf1fdb4(0x395),'nTKZQ':_0xf1fdb4(0x2ae),'WQMrQ':function(_0x401ae6,_0x18ca32,_0x6dcbb4){return _0x401ae6(_0x18ca32,_0x6dcbb4);},'QKdBM':_0xf1fdb4(0x1e2),'igPQL':function(_0x5a0846,_0x320231,_0x2a1171){return _0x5a0846(_0x320231,_0x2a1171);},'eaaAq':_0xf1fdb4(0x245),'ZLzoC':'testInfo','vvhCa':_0xf1fdb4(0x237),'PDlFd':_0xf1fdb4(0x223),'hwtrO':_0xf1fdb4(0x2c7),'xYcHo':function(_0xdd9696,_0xdba29e){return _0xdd9696(_0xdba29e);},'gNBnD':_0xf1fdb4(0x336),'tYWpz':function(_0x293867,_0xc4b309){return _0x293867===_0xc4b309;},'cLkef':'android','OGPKt':function(_0x300f62){return _0x300f62();},'sNqTd':'chrome','akjtd':_0xf1fdb4(0x2c5),'cqzZa':_0xf1fdb4(0x1b5),'JkApZ':_0xf1fdb4(0x36a),'roMOZ':function(_0x9f8c47,_0x46af34){return _0x9f8c47||_0x46af34;},'FvrnY':'unknown','cMWOA':_0xf1fdb4(0x2bc),'mVSGJ':function(_0x23f935,_0x1fd7b4){return _0x23f935!==_0x1fd7b4;},'oHtYO':'Error\x20in\x20connecting\x20for\x20android\x20%s','iuCoA':'\x22browserstack.user\x22:\x22[REDACTED]\x22','GcEzD':_0xf1fdb4(0x214),'fnXxs':function(_0xeeea14,_0x184450){return _0xeeea14||_0x184450;},'zPFMV':_0xf1fdb4(0x187),'VYbYQ':'workerInfo','trzvO':_0xf1fdb4(0x276),'OBlfr':function(_0x36af63,_0x52a540){return _0x36af63!==_0x52a540;},'fzUlS':function(_0x1eb86e,_0x22055d,_0x285ecc,_0x235c12){return _0x1eb86e(_0x22055d,_0x285ecc,_0x235c12);},'CPVpq':function(_0x9a6a6f,_0x21e9da){return _0x9a6a6f>_0x21e9da;},'cyMkp':function(_0x10655f,_0x13d40b){return _0x10655f===_0x13d40b;},'isjLR':function(_0x37838d,_0x3d1aaf){return _0x37838d>_0x3d1aaf;},'vZuTH':'connect\x20android','riJdk':_0xf1fdb4(0x35e),'pKCpP':function(_0x148f18,_0xd9b60c){return _0x148f18(_0xd9b60c);},'WzYcN':'launch','qkniF':_0xf1fdb4(0x252),'oBUOm':function(_0x489b05,_0x18db10){return _0x489b05(_0x18db10);},'TrIYN':_0xf1fdb4(0x379),'ACBnI':function(_0x349604,_0x1fc803){return _0x349604||_0x1fc803;},'pyTqq':function(_0x1b91f7,_0x3905cf){return _0x1b91f7===_0x3905cf;},'gSZXn':'goog:chromeOptions','PvYun':function(_0x67e251,_0xdb36fa){return _0x67e251(_0xdb36fa);},'OnVAd':'child_process','DLqNS':_0xf1fdb4(0x1e1),'DdGMP':function(_0x47e044,_0x1c135){return _0x47e044&&_0x1c135;},'pLgWJ':function(_0x4794bf,_0x3dcd63){return _0x4794bf||_0x3dcd63;},'LVPsz':_0xf1fdb4(0x235),'SxVPS':function(_0x1508d2,_0x56e898,_0x133974,_0x1c023a){return _0x1508d2(_0x56e898,_0x133974,_0x1c023a);},'rWuLT':_0xf1fdb4(0x297),'eQhLy':_0xf1fdb4(0x22b),'Zcsoq':_0xf1fdb4(0x286),'eAgBR':function(_0x555da0,_0x1f6208){return _0x555da0(_0x1f6208);},'aiIIC':function(_0x4a3d16,_0x4edb2a){return _0x4a3d16(_0x4edb2a);},'DcREg':_0xf1fdb4(0x3a5)},_0x1122f3=path[_0xf1fdb4(0x2ea)](_0x345f81[_0xf1fdb4(0x361)],_0x345f81[_0xf1fdb4(0x20d)],_0x345f81[_0xf1fdb4(0x1df)]),_0x2abd22=_0x345f81[_0xf1fdb4(0x26e)](importFileFromPWCore,_0x1122f3);if(!_0x2abd22){_0x345f81[_0xf1fdb4(0x308)](debug,_0x345f81[_0xf1fdb4(0x2b9)]);return;}const _0x254841=_0x2abd22['BrowserType'],_0x6dbba6=_0x254841[_0xf1fdb4(0x197)];if(_0x6dbba6[_0xf1fdb4(0x3a6)])return;const _0x2c2fc6=_0x6dbba6[_0xf1fdb4(0x2ae)];Object[_0xf1fdb4(0x2d0)](_0x6dbba6,_0x345f81[_0xf1fdb4(0x2e4)],{'get':function(){const _0xa41822=_0xf1fdb4,_0x4644ea={'VvjYj':_0x345f81[_0xa41822(0x2c9)],'IEwWK':_0x345f81[_0xa41822(0x22a)],'DesLj':function(_0x15b461,_0x5d569a){const _0x140377=_0xa41822;return _0x345f81[_0x140377(0x3b4)](_0x15b461,_0x5d569a);},'kTpmU':function(_0x37d936,_0x55ec3a){const _0x2031bc=_0xa41822;return _0x345f81[_0x2031bc(0x27f)](_0x37d936,_0x55ec3a);},'PwOLS':_0x345f81[_0xa41822(0x228)],'kgwdb':_0x345f81[_0xa41822(0x2d7)]};return async function _0x4c73ab(_0x3af5cd,_0x237074){const _0x4d6c7e=_0xa41822,_0x551227={'daAFH':function(_0x53625f,_0x1d3c44){return _0x345f81['lrDWb'](_0x53625f,_0x1d3c44);},'SBMrO':_0x345f81['sPJhj'],'kOPmO':function(_0xbaeaf2,_0x1efaf9){const _0x1133c5=a41_0x2883;return _0x345f81[_0x1133c5(0x239)](_0xbaeaf2,_0x1efaf9);},'UXRTp':_0x345f81[_0x4d6c7e(0x19a)],'EfkVE':_0x345f81['HCmPm'],'ejnCV':function(_0x1b4d4c,_0x16d336){const _0x2f19f6=_0x4d6c7e;return _0x345f81[_0x2f19f6(0x32b)](_0x1b4d4c,_0x16d336);},'pmyal':_0x345f81[_0x4d6c7e(0x2e4)]},_0x3b0107=_0x345f81[_0x4d6c7e(0x2f8)](nestedKeyValue,_0x3af5cd,[_0x345f81[_0x4d6c7e(0x3a9)]])||_0x3af5cd,_0x106219=_0x345f81['igPQL'](nestedKeyValue,workerDetails,[_0x345f81['eaaAq'],_0x345f81[_0x4d6c7e(0x327)],_0x345f81[_0x4d6c7e(0x2c9)],_0x345f81[_0x4d6c7e(0x22a)],_0x345f81[_0x4d6c7e(0x306)]]);let _0x42ea42=null,_0x3b31a9=null;try{[_0x3b31a9,_0x42ea42]=_0x3b0107?_0x345f81['xYcHo'](parseWSEndpoint,_0x3b0107):[null,null];if(BrowserstackCLI[_0x4d6c7e(0x365)]()[_0x4d6c7e(0x203)]()){const _0x1e97b8={};_0x1e97b8[_0x4d6c7e(0x321)]=_0x42ea42,_0x1e97b8[_0x4d6c7e(0x39f)]=_0x3b31a9,await BrowserstackCLI['getInstance']()[_0x4d6c7e(0x2fc)]()['trackEvent'](AutomationFrameworkState['CREATE'],HookState[_0x4d6c7e(0x37c)],_0x1e97b8);}global[_0x4d6c7e(0x264)]=_0x106219;}catch(_0x302c1f){logger[_0x4d6c7e(0x36f)](util[_0x4d6c7e(0x3ba)](_0x345f81[_0x4d6c7e(0x3a3)],_0x3b0107,_0x302c1f[_0x4d6c7e(0x191)]||_0x302c1f['message']||_0x302c1f));}try{const _0x3cd2bf=_0x42ea42&&(_0x42ea42['device']||_0x42ea42['deviceName']||_0x42ea42[_0x345f81['HCmPm']]&&(_0x42ea42[_0x345f81[_0x4d6c7e(0x18a)]][_0x4d6c7e(0x2ce)]||_0x42ea42[_0x345f81[_0x4d6c7e(0x18a)]]['deviceName'])),_0xbc2163=_0x42ea42&&(_0x42ea42['os']||_0x42ea42[_0x345f81[_0x4d6c7e(0x18a)]]&&_0x42ea42[_0x345f81[_0x4d6c7e(0x18a)]]['os']);if(_0x3cd2bf&&!_0x3cd2bf[_0x4d6c7e(0x19d)]()['match'](/iphone|ipad/)&&(!_0xbc2163||_0x345f81[_0x4d6c7e(0x376)](_0xbc2163[_0x4d6c7e(0x19d)](),_0x345f81['cLkef']))){if(_0x345f81['OGPKt'](isAccessibilityAutomationSession)){const _0x26c5bf=_0x42ea42[_0x4d6c7e(0x247)]||_0x42ea42[_0x4d6c7e(0x2fe)],_0x1bec71=_0x26c5bf&&[_0x345f81['sNqTd'],_0x345f81['akjtd'],_0x345f81['cqzZa']][_0x4d6c7e(0x21b)](_0x26c5bf[_0x4d6c7e(0x19d)]());if(_0x1bec71&&!_0x345f81[_0x4d6c7e(0x242)](isMobileScanningEnabledForGroup))logger[_0x4d6c7e(0x259)](MOBILE_SCANNING_DISABLED_WARNING),global[_0x4d6c7e(0x26f)]=![];else _0x1bec71?(logger[_0x4d6c7e(0x2e7)](_0x345f81['JkApZ']),global[_0x4d6c7e(0x26f)]=!![],global['isMobilePlatform']=!![]):(logger[_0x4d6c7e(0x259)]('Accessibility\x20Automation\x20on\x20Android\x20is\x20only\x20supported\x20on\x20Chrome.\x20Got:\x20'+_0x345f81['roMOZ'](_0x26c5bf,_0x345f81[_0x4d6c7e(0x192)])),global[_0x4d6c7e(0x26f)]=![]);}const _0x2a463d=_0x345f81[_0x4d6c7e(0x239)](typeof _0x3af5cd,_0x345f81[_0x4d6c7e(0x2fd)])&&_0x345f81[_0x4d6c7e(0x190)](_0x3af5cd,null)?Object['assign']({},_0x3af5cd,_0x237074):_0x237074;return base[_0x4d6c7e(0x2f6)]['connect'][_0x4d6c7e(0x296)](this,[_0x3b0107,_0x2a463d])[_0x4d6c7e(0x3be)](async _0x288d13=>{const _0x12162f=_0x4d6c7e,_0x57ee97={'GNzME':_0x4644ea[_0x12162f(0x2a2)],'KjVCN':_0x4644ea[_0x12162f(0x1f8)],'JNHKD':function(_0x5d7887,_0x18d6c7){const _0x26b288=_0x12162f;return _0x4644ea[_0x26b288(0x19f)](_0x5d7887,_0x18d6c7);}},_0x1dd4bf=workerDetails[_0x12162f(0x245)][_0x12162f(0x31c)]||workerDetails['workerInfo'];workerDetails[_0x12162f(0x2aa)]=!![],_0x288d13[_0x12162f(0x3a4)]=function(){const _0x2906db=_0x12162f,_0x3b9a30=helper[_0x2906db(0x378)](_0x1dd4bf,[_0x57ee97[_0x2906db(0x2ad)],_0x57ee97[_0x2906db(0x373)]])||{};return _0x57ee97[_0x2906db(0x290)](arguments[_0x2906db(0x243)],0x0)?arguments[0x0]=Object[_0x2906db(0x2e9)]({},arguments[0x0],_0x3b9a30):arguments[0x0]=Object[_0x2906db(0x2e9)]({},_0x3b9a30),delete arguments[0x0][_0x2906db(0x1a1)],_0x288d13[_0x2906db(0x3c3)][_0x2906db(0x296)](this,arguments);};if(!_0x1dd4bf)return _0x4644ea[_0x12162f(0x3ad)](debug,_0x4644ea[_0x12162f(0x39c)]),_0x288d13;return PlaywrightSessionDetails[_0x12162f(0x260)](_0x288d13,_0x1dd4bf),!BrowserstackCLI[_0x12162f(0x365)]()[_0x12162f(0x203)]()&&await _0x4644ea[_0x12162f(0x3ad)](sendCBTInfo,_0x4644ea[_0x12162f(0x280)]),_0x288d13;});}}catch(_0x3711c0){logger[_0x4d6c7e(0x36f)](util['format'](_0x345f81['oHtYO'],_0x3711c0[_0x4d6c7e(0x191)]||_0x3711c0['message']));}AccessibilityHelper['processAccessibilityCaps'](_0x42ea42,_0x3b31a9,workerDetails);const _0x17611a=JSON[_0x4d6c7e(0x339)](_0x42ea42)[_0x4d6c7e(0x30a)](/"browserstack\.user":"[^"]*"/g,_0x345f81[_0x4d6c7e(0x2ca)])['replace'](/"browserstack\.key":"[^"]*"/g,_0x345f81[_0x4d6c7e(0x363)]);logger[_0x4d6c7e(0x36f)](_0x4d6c7e(0x1bb)+global[_0x4d6c7e(0x26f)]+'\x20'+_0x17611a);if(global[_0x4d6c7e(0x26f)]&&!scripts[_0x4d6c7e(0x1d2)]&&BrowserstackCLI[_0x4d6c7e(0x365)]()['isRunning']()&&BrowserstackCLI['getInstance']()[_0x4d6c7e(0x2eb)]())try{const _0x483980={'launchcaps':_0x345f81[_0x4d6c7e(0x300)](_0x42ea42,{}),'platformCaps':_0x106219,'hubUrl':_0x3b31a9},_0xc1b82e=await GrpcClient['getInstance']()[_0x4d6c7e(0x352)](_0x483980);_0xc1b82e&&_0xc1b82e[_0x4d6c7e(0x28a)]()&&_0xc1b82e[_0x4d6c7e(0x28a)]()[_0x4d6c7e(0x2ff)]()&&(await BrowserstackCLI[_0x4d6c7e(0x365)]()[_0x4d6c7e(0x2eb)]()[_0x4d6c7e(0x389)](_0xc1b82e,_0x483980),logger[_0x4d6c7e(0x36f)](_0x345f81[_0x4d6c7e(0x36d)]));}catch(_0x504603){logger['debug'](_0x4d6c7e(0x1ed)+_0x504603);}const _0x14a5e8=helper[_0x4d6c7e(0x378)](workerDetails,[_0x345f81[_0x4d6c7e(0x2f3)],_0x345f81[_0x4d6c7e(0x2c9)],_0x345f81['PDlFd'],_0x345f81[_0x4d6c7e(0x396)]]);if(global[_0x4d6c7e(0x26f)]&&helper['isBrowserstackInfra']()&&!process['env'][_0x4d6c7e(0x319)]){logger['debug'](_0x4d6c7e(0x37e)+APIUtilityMethods[_0x4d6c7e(0x313)](''));const _0x327e2b=''+APIUtilityMethods[_0x4d6c7e(0x313)]('')+_0x345f81[_0x4d6c7e(0x27f)](encodeURIComponent,JSON[_0x4d6c7e(0x339)](_0x42ea42)),_0x120724=_0x345f81[_0x4d6c7e(0x239)](typeof _0x3af5cd,_0x345f81[_0x4d6c7e(0x2fd)])&&_0x345f81[_0x4d6c7e(0x1c6)](_0x3af5cd,null)?Object[_0x4d6c7e(0x2e9)]({},_0x237074,_0x3af5cd,_0x14a5e8):Object['assign']({},_0x237074,_0x14a5e8);return await _0x345f81[_0x4d6c7e(0x2d3)](connectOverCDPWithRetry,_0x6dbba6,this,_0x120724?[_0x327e2b,_0x120724]:[_0x327e2b]);}return!_0x345f81[_0x4d6c7e(0x32b)](isFalse,helper[_0x4d6c7e(0x3a8)]())&&_0x345f81[_0x4d6c7e(0x22c)](arguments[_0x4d6c7e(0x243)],0x0)&&(_0x345f81[_0x4d6c7e(0x248)](typeof arguments[0x0],_0x345f81[_0x4d6c7e(0x2fd)])?Object[_0x4d6c7e(0x2e9)](arguments[0x0],_0x14a5e8):(arguments[0x0]=helper[_0x4d6c7e(0x378)](_0x14a5e8,[_0x345f81[_0x4d6c7e(0x3a9)]]),_0x345f81[_0x4d6c7e(0x3b4)](arguments['length'],0x1)&&(arguments[0x1]=Object[_0x4d6c7e(0x2e9)]({},arguments[0x1],_0x14a5e8)))),_0x2c2fc6['apply'](this,arguments)[_0x4d6c7e(0x3be)](async _0x1a2cbe=>{const _0x2a27fe=_0x4d6c7e,_0x312696=workerDetails[_0x2a27fe(0x245)][_0x2a27fe(0x31c)]||workerDetails['workerInfo'];if(!_0x312696)return _0x551227[_0x2a27fe(0x287)](debug,_0x551227[_0x2a27fe(0x1dc)]),_0x1a2cbe;let _0x2b8f13=_0x3af5cd[_0x2a27fe(0x1e2)];_0x551227[_0x2a27fe(0x27b)](typeof _0x3af5cd,_0x551227[_0x2a27fe(0x1b9)])&&(_0x2b8f13=_0x3af5cd);const _0x4ec588=_0x42ea42&&(_0x42ea42[_0x2a27fe(0x2ce)]||_0x42ea42[_0x2a27fe(0x19c)]||_0x42ea42[_0x551227[_0x2a27fe(0x1ba)]]&&(_0x42ea42[_0x551227[_0x2a27fe(0x1ba)]]['device']||_0x42ea42[_0x551227[_0x2a27fe(0x1ba)]][_0x2a27fe(0x19c)])),_0x51ce3e=_0x4ec588&&_0x4ec588[_0x2a27fe(0x19d)]()['match'](/iphone|ipad/);return _0x51ce3e&&(workerDetails['isIOSDevice']=!![]),PlaywrightSessionDetails[_0x2a27fe(0x260)](_0x1a2cbe,_0x312696,_0x2b8f13),!BrowserstackCLI[_0x2a27fe(0x365)]()[_0x2a27fe(0x203)]()&&await _0x551227[_0x2a27fe(0x1fd)](sendCBTInfo,_0x551227[_0x2a27fe(0x302)]),_0x1a2cbe;});};}});const _0x211eb6=_0x6dbba6[_0xf1fdb4(0x189)];Object[_0xf1fdb4(0x2d0)](_0x6dbba6,_0x345f81['WzYcN'],{'get':function(){const _0x15cbcd=_0xf1fdb4,_0x5c9612={'UnwEU':_0x345f81[_0x15cbcd(0x1da)],'AmVVc':function(_0x2dd9ea,_0x17df60){const _0x4902e9=_0x15cbcd;return _0x345f81[_0x4902e9(0x23b)](_0x2dd9ea,_0x17df60);},'wamgL':_0x345f81['sPJhj'],'CNwIl':_0x345f81[_0x15cbcd(0x1c5)],'mHtCV':_0x345f81['vvhCa'],'bPWLw':_0x345f81['PDlFd'],'ZDDUf':_0x345f81[_0x15cbcd(0x1a4)],'sfZhK':function(_0x4500c4,_0x1b0d5c,_0x338862){return _0x345f81['igPQL'](_0x4500c4,_0x1b0d5c,_0x338862);},'BnhnV':_0x345f81[_0x15cbcd(0x28f)],'ozbPL':_0x345f81[_0x15cbcd(0x327)],'lFxOx':_0x345f81['trzvO'],'HUWXr':_0x345f81['QKdBM'],'oItsD':_0x345f81[_0x15cbcd(0x306)],'oWVDu':function(_0x4a9121,_0x21a188){return _0x345f81['oBUOm'](_0x4a9121,_0x21a188);},'MwBTb':function(_0x168a66,_0x451228){return _0x345f81['roMOZ'](_0x168a66,_0x451228);},'vDxrI':_0x345f81[_0x15cbcd(0x18a)],'xUzDb':function(_0x150cc9,_0x11f344){const _0x2fac16=_0x15cbcd;return _0x345f81[_0x2fac16(0x376)](_0x150cc9,_0x11f344);},'glkpL':_0x345f81[_0x15cbcd(0x3a2)],'BFhdr':function(_0x4e74af){return _0x345f81['OGPKt'](_0x4e74af);},'cmRIJ':_0x345f81[_0x15cbcd(0x3bb)],'rDXCd':_0x345f81['akjtd'],'mCSPg':_0x345f81[_0x15cbcd(0x355)],'JcooK':_0x345f81[_0x15cbcd(0x265)],'RDEkV':_0x345f81[_0x15cbcd(0x192)],'pWZTQ':_0x345f81[_0x15cbcd(0x2f3)],'uQBAG':_0x345f81[_0x15cbcd(0x1ff)],'fJmZt':function(_0x2e50e2,_0x2d770c){const _0x54eedb=_0x15cbcd;return _0x345f81[_0x54eedb(0x1e7)](_0x2e50e2,_0x2d770c);},'DLhHY':function(_0x1cf6aa,_0x38d271){const _0x27486c=_0x15cbcd;return _0x345f81[_0x27486c(0x1b3)](_0x1cf6aa,_0x38d271);},'zHMNO':_0x345f81[_0x15cbcd(0x19a)],'wkXYh':_0x345f81[_0x15cbcd(0x324)],'pHsyZ':function(_0x48a79f,_0x4f09b8){const _0x5eac3a=_0x15cbcd;return _0x345f81[_0x5eac3a(0x1e5)](_0x48a79f,_0x4f09b8);},'yFukn':_0x345f81[_0x15cbcd(0x382)],'oVzAY':_0x345f81['DLqNS'],'UfXgZ':function(_0x569d4a,_0x1bae96){const _0x38751c=_0x15cbcd;return _0x345f81[_0x38751c(0x22c)](_0x569d4a,_0x1bae96);},'KzizM':function(_0x26b21a,_0x35578c){const _0x374d21=_0x15cbcd;return _0x345f81[_0x374d21(0x262)](_0x26b21a,_0x35578c);},'eaion':function(_0x3fdf2e,_0x403cd9){const _0xf69553=_0x15cbcd;return _0x345f81[_0xf69553(0x18b)](_0x3fdf2e,_0x403cd9);},'DBOOP':_0x345f81['LVPsz'],'RCoGo':function(_0x57b531,_0x18f2f2,_0x5ab466,_0xea4e58){const _0x3d1400=_0x15cbcd;return _0x345f81[_0x3d1400(0x343)](_0x57b531,_0x18f2f2,_0x5ab466,_0xea4e58);},'sEzbQ':function(_0x138644,_0x3fcb3a){return _0x345f81['PvYun'](_0x138644,_0x3fcb3a);},'EZuEN':function(_0x1512b1,_0x4a774f){const _0x578d3e=_0x15cbcd;return _0x345f81[_0x578d3e(0x277)](_0x1512b1,_0x4a774f);}};return async function _0x344b1f(..._0x223237){const _0x4ee5bd=_0x15cbcd,_0x32da1b={'RlMfI':_0x5c9612[_0x4ee5bd(0x238)],'jXlkr':_0x5c9612[_0x4ee5bd(0x29d)],'NQaDm':function(_0x2fe4d4,_0x12f41f){const _0x3ccc12=_0x4ee5bd;return _0x5c9612[_0x3ccc12(0x1eb)](_0x2fe4d4,_0x12f41f);},'PuYTz':_0x5c9612[_0x4ee5bd(0x221)],'ibKjl':_0x5c9612[_0x4ee5bd(0x316)]},_0x44ea1f=_0x5c9612[_0x4ee5bd(0x21a)](nestedKeyValue,workerDetails,[_0x5c9612[_0x4ee5bd(0x225)],_0x5c9612[_0x4ee5bd(0x2f9)],_0x5c9612[_0x4ee5bd(0x238)],_0x5c9612[_0x4ee5bd(0x29d)],_0x5c9612['lFxOx'],_0x5c9612[_0x4ee5bd(0x1f1)]]),_0x23faff=_0x5c9612['sfZhK'](nestedKeyValue,workerDetails,[_0x5c9612[_0x4ee5bd(0x225)],_0x5c9612['ozbPL'],_0x5c9612['mHtCV'],_0x5c9612['bPWLw'],_0x5c9612[_0x4ee5bd(0x3af)]]),_0x2a9aa9=_0x5c9612[_0x4ee5bd(0x21a)](nestedKeyValue,workerDetails,[_0x5c9612[_0x4ee5bd(0x225)],_0x5c9612[_0x4ee5bd(0x2f9)],_0x5c9612[_0x4ee5bd(0x238)],_0x5c9612[_0x4ee5bd(0x29d)]]);let _0x5d7302=null,_0x2c6bb3=null;try{[_0x2c6bb3,_0x5d7302]=_0x44ea1f?_0x5c9612[_0x4ee5bd(0x2bd)](parseWSEndpoint,_0x44ea1f):[null,null],BrowserstackCLI['getInstance']()[_0x4ee5bd(0x203)]()&&await BrowserstackCLI['getInstance']()[_0x4ee5bd(0x2fc)]()[_0x4ee5bd(0x350)](AutomationFrameworkState[_0x4ee5bd(0x186)],HookState[_0x4ee5bd(0x37c)],{'launchcaps':_0x5c9612[_0x4ee5bd(0x2c6)](_0x5d7302,_0x2a9aa9),'hubUrl':_0x2c6bb3}),global['__platformCaps']=_0x23faff;}catch(_0x47d353){logger[_0x4ee5bd(0x36f)]('Failed\x20to\x20parse\x20wsendpoint\x20'+_0x44ea1f+'\x20'+_0x47d353);}try{const _0x5c632a=_0x5d7302&&(_0x5d7302[_0x4ee5bd(0x2ce)]||_0x5d7302[_0x4ee5bd(0x19c)]||_0x5d7302[_0x5c9612[_0x4ee5bd(0x1e6)]]&&(_0x5d7302[_0x5c9612['vDxrI']]['device']||_0x5d7302[_0x5c9612[_0x4ee5bd(0x1e6)]][_0x4ee5bd(0x19c)])),_0x58929e=_0x5d7302&&(_0x5d7302['os']||_0x5d7302[_0x5c9612[_0x4ee5bd(0x1e6)]]&&_0x5d7302[_0x5c9612[_0x4ee5bd(0x1e6)]]['os']);if(_0x5c632a&&!_0x5c632a['toLowerCase']()[_0x4ee5bd(0x38c)](/iphone|ipad/)&&(!_0x58929e||_0x5c9612[_0x4ee5bd(0x359)](_0x58929e[_0x4ee5bd(0x19d)](),_0x5c9612[_0x4ee5bd(0x2cc)]))){if(_0x5c9612['BFhdr'](isAccessibilityAutomationSession)){const _0x57f208=_0x5d7302[_0x4ee5bd(0x247)]||_0x5d7302['browserName'],_0x11771b=_0x57f208&&[_0x5c9612[_0x4ee5bd(0x2e8)],_0x5c9612[_0x4ee5bd(0x2e1)],_0x5c9612[_0x4ee5bd(0x1d1)]]['includes'](_0x57f208['toLowerCase']());if(_0x11771b&&!_0x5c9612[_0x4ee5bd(0x1c2)](isMobileScanningEnabledForGroup))logger['warn'](MOBILE_SCANNING_DISABLED_WARNING),global['accessibilityPlatform']=![];else _0x11771b?(logger[_0x4ee5bd(0x2e7)](_0x5c9612[_0x4ee5bd(0x1a7)]),global[_0x4ee5bd(0x26f)]=!![],global[_0x4ee5bd(0x220)]=!![]):(logger['warn'](_0x4ee5bd(0x2b2)+_0x5c9612[_0x4ee5bd(0x2c6)](_0x57f208,_0x5c9612[_0x4ee5bd(0x303)])),global['accessibilityPlatform']=![]);}return base[_0x4ee5bd(0x2f6)][_0x4ee5bd(0x2ae)]['apply'](this,[helper['nestedKeyValue'](workerDetails,[_0x5c9612[_0x4ee5bd(0x219)],_0x5c9612['mHtCV'],_0x5c9612['bPWLw'],_0x5c9612[_0x4ee5bd(0x33d)],_0x5c9612[_0x4ee5bd(0x1f1)]])])[_0x4ee5bd(0x3be)](async _0x999840=>{const _0x473fb1=_0x4ee5bd,_0x42fa12={};_0x42fa12[_0x473fb1(0x29c)]=_0x32da1b[_0x473fb1(0x2f2)],_0x42fa12['erJxB']=_0x32da1b[_0x473fb1(0x30d)];const _0x4d12d3=_0x42fa12,_0x54b626=workerDetails[_0x473fb1(0x245)][_0x473fb1(0x31c)]||workerDetails['workerInfo'];_0x999840['newContext']=function(){const _0x55e8e6=_0x473fb1;return arguments[0x0]=Object[_0x55e8e6(0x2e9)](arguments[0x0],helper['nestedKeyValue'](_0x54b626,[_0x4d12d3['XBsVZ'],_0x4d12d3[_0x55e8e6(0x236)]])||{}),_0x999840[_0x55e8e6(0x3c3)][_0x55e8e6(0x296)](this,arguments);};if(!_0x54b626)return _0x32da1b[_0x473fb1(0x348)](debug,_0x32da1b['PuYTz']),_0x999840;return PlaywrightSessionDetails[_0x473fb1(0x260)](_0x999840,_0x54b626),!BrowserstackCLI[_0x473fb1(0x365)]()['isRunning']()&&await _0x32da1b[_0x473fb1(0x348)](sendCBTInfo,_0x32da1b[_0x473fb1(0x267)]),_0x999840;});}}catch(_0x4c24ba){logger[_0x4ee5bd(0x36f)](util[_0x4ee5bd(0x3ba)](_0x5c9612[_0x4ee5bd(0x230)],_0x4c24ba[_0x4ee5bd(0x191)]||_0x4c24ba[_0x4ee5bd(0x38e)]));}if(BrowserstackCLI['getInstance']()[_0x4ee5bd(0x203)]()&&BrowserstackCLI[_0x4ee5bd(0x365)]()[_0x4ee5bd(0x2eb)]()&&BrowserstackCLI[_0x4ee5bd(0x365)]()[_0x4ee5bd(0x2eb)]()[_0x4ee5bd(0x279)]&&!helper['isBrowserstackInfra']()){let _0x4d56f9=BrowserstackCLI[_0x4ee5bd(0x365)]()[_0x4ee5bd(0x2eb)]()[_0x4ee5bd(0x387)]();if(!_0x4d56f9)try{const _0x3f8ba5={'launchcaps':_0x5c9612['fJmZt'](_0x5d7302,_0x2a9aa9)||{},'platformCaps':_0x23faff,'hubUrl':_0x2c6bb3},_0x123054=await GrpcClient[_0x4ee5bd(0x365)]()[_0x4ee5bd(0x352)](_0x3f8ba5);_0x123054&&_0x123054[_0x4ee5bd(0x28a)]()&&_0x123054[_0x4ee5bd(0x28a)]()[_0x4ee5bd(0x2ff)]()&&(await BrowserstackCLI[_0x4ee5bd(0x365)]()['getAccessibilityModule']()['setAccessibilityConfig'](_0x123054,_0x3f8ba5),_0x4d56f9=BrowserstackCLI[_0x4ee5bd(0x365)]()[_0x4ee5bd(0x2eb)]()[_0x4ee5bd(0x387)]());}catch(_0x985de8){logger[_0x4ee5bd(0x36f)](_0x4ee5bd(0x2ef)+_0x985de8);}if(_0x4d56f9){if(_0x5c9612[_0x4ee5bd(0x246)](typeof _0x4d56f9,_0x5c9612[_0x4ee5bd(0x29a)]))try{_0x4d56f9=JSON[_0x4ee5bd(0x255)](_0x4d56f9);}catch(_0x1afac6){logger['debug'](_0x4ee5bd(0x226)+_0x1afac6);}_0x4d56f9&&_0x4d56f9[_0x5c9612['wkXYh']]&&(_0x4d56f9=_0x4d56f9[_0x5c9612['wkXYh']]);if(_0x4d56f9&&Array['isArray'](_0x4d56f9['extensions']))try{const _0x577987=_0x5c9612[_0x4ee5bd(0x270)](require,'os'),_0x1a50c4=_0x5c9612['pHsyZ'](require,_0x5c9612[_0x4ee5bd(0x2f4)]),_0x2949a5=_0x577987[_0x4ee5bd(0x27c)](),_0x57cefc=fs['mkdtempSync'](path[_0x4ee5bd(0x2ea)](_0x2949a5,_0x5c9612['oVzAY'])),_0x14d027=[];_0x4d56f9[_0x4ee5bd(0x1fa)][_0x4ee5bd(0x22d)]((_0x40075d,_0x55552e)=>{const _0x21abc9=_0x4ee5bd,_0x5089ad=path[_0x21abc9(0x2ea)](_0x57cefc,_0x21abc9(0x37d)+_0x55552e),_0x323158=path['join'](_0x57cefc,_0x21abc9(0x37d)+_0x55552e+_0x21abc9(0x278));try{fs['writeFileSync'](_0x323158,Buffer['from'](_0x40075d,_0x5c9612[_0x21abc9(0x3c4)])),fs[_0x21abc9(0x1a3)](_0x5089ad),_0x1a50c4[_0x21abc9(0x1a0)](_0x21abc9(0x2dd)+_0x323158+_0x21abc9(0x208)+_0x5089ad+'\x22'),_0x14d027[_0x21abc9(0x39d)](_0x5089ad);}catch(_0x5d967b){logger[_0x21abc9(0x36f)](_0x21abc9(0x3bc)+_0x5d967b);}});if(_0x5c9612['UfXgZ'](_0x14d027['length'],0x0)){_0x4d56f9['args']=_0x4d56f9[_0x4ee5bd(0x1c0)]||[];const _0x2f4b4c=_0x4ee5bd(0x2c0)+_0x14d027[_0x4ee5bd(0x2ea)](',');_0x4d56f9[_0x4ee5bd(0x1c0)][_0x4ee5bd(0x39d)](_0x2f4b4c);}delete _0x4d56f9['extensions'];}catch(_0x14683e){logger[_0x4ee5bd(0x36f)](_0x4ee5bd(0x21d)+_0x14683e);}global[_0x4ee5bd(0x26f)]=!![];const _0x2e6ad6=await _0x6dbba6[_0x4ee5bd(0x315)][_0x4ee5bd(0x296)](this,['',_0x4d56f9]),_0x504f6d=_0x2e6ad6[_0x4ee5bd(0x247)]();if(!helper['isBrowserstackInfra']()){const _0x1c7266=workerDetails[_0x4ee5bd(0x245)]['testInfo']||workerDetails[_0x4ee5bd(0x32f)];_0x5c9612['KzizM'](_0x1c7266,_0x504f6d)&&await PlaywrightSessionDetails[_0x4ee5bd(0x260)](_0x504f6d,_0x1c7266),(!BrowserstackCLI[_0x4ee5bd(0x365)]()||!BrowserstackCLI['getInstance']()[_0x4ee5bd(0x2fc)]())&&await _0x5c9612[_0x4ee5bd(0x1eb)](sendCBTInfo,_0x5c9612['CNwIl']);}return _0x504f6d;}}if(helper[_0x4ee5bd(0x3a8)]()){AccessibilityHelper[_0x4ee5bd(0x1db)](_0x5d7302,_0x2c6bb3,workerDetails);if(global[_0x4ee5bd(0x26f)]&&!scripts[_0x4ee5bd(0x1d2)]&&BrowserstackCLI[_0x4ee5bd(0x365)]()[_0x4ee5bd(0x203)]()&&BrowserstackCLI[_0x4ee5bd(0x365)]()[_0x4ee5bd(0x2eb)]())try{const _0x3da821={'launchcaps':_0x5c9612['eaion'](_0x5d7302,_0x2a9aa9)||{},'platformCaps':_0x23faff,'hubUrl':_0x2c6bb3},_0x55fa41=await GrpcClient[_0x4ee5bd(0x365)]()[_0x4ee5bd(0x352)](_0x3da821);_0x55fa41&&_0x55fa41[_0x4ee5bd(0x28a)]()&&_0x55fa41['getAccessibility']()['getSuccess']()&&(await BrowserstackCLI[_0x4ee5bd(0x365)]()[_0x4ee5bd(0x2eb)]()[_0x4ee5bd(0x389)](_0x55fa41,_0x3da821),logger['debug'](_0x5c9612[_0x4ee5bd(0x384)]));}catch(_0x12a515){logger[_0x4ee5bd(0x36f)](_0x4ee5bd(0x2c8)+_0x12a515);}if(global['accessibilityPlatform']&&!process[_0x4ee5bd(0x383)]['BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE']){const _0x1a8c3f=await _0x5c9612[_0x4ee5bd(0x377)](connectOverCDPWithRetry,_0x6dbba6,this,[''+APIUtilityMethods[_0x4ee5bd(0x313)]('')+_0x5c9612['sEzbQ'](encodeURIComponent,JSON[_0x4ee5bd(0x339)](_0x5d7302))]);if(!helper[_0x4ee5bd(0x3a8)]()){const _0x6402da=workerDetails[_0x4ee5bd(0x245)][_0x4ee5bd(0x31c)]||workerDetails['workerInfo'];_0x5c9612['KzizM'](_0x6402da,_0x1a8c3f)&&await PlaywrightSessionDetails[_0x4ee5bd(0x260)](_0x1a8c3f,_0x6402da),(!BrowserstackCLI['getInstance']()||!BrowserstackCLI[_0x4ee5bd(0x365)]()[_0x4ee5bd(0x2fc)]())&&await _0x5c9612[_0x4ee5bd(0x367)](sendCBTInfo,_0x5c9612[_0x4ee5bd(0x2b4)]);}return _0x1a8c3f;}}return _0x211eb6['apply'](this,arguments)[_0x4ee5bd(0x3be)](async _0x8ca646=>{const _0x5e975a=_0x4ee5bd,_0x41c636=workerDetails[_0x5e975a(0x245)][_0x5e975a(0x31c)]||workerDetails['workerInfo'];if(!_0x41c636)return _0x5c9612[_0x5e975a(0x1eb)](debug,_0x5c9612[_0x5e975a(0x221)]),_0x8ca646;return PlaywrightSessionDetails[_0x5e975a(0x260)](_0x8ca646,_0x41c636),!BrowserstackCLI[_0x5e975a(0x365)]()['isRunning']()&&await _0x5c9612[_0x5e975a(0x1eb)](sendCBTInfo,_0x5c9612['CNwIl']),_0x8ca646;});};}});},beforeWorkerHook=o11yErrorHandler(function beforeWorkerHook(_0x10a338){const _0x456573=a41_0x3373b5,_0x37c6d5={'xwtRX':_0x456573(0x309),'oEkua':function(_0x5083bd){return _0x5083bd();},'yJQNj':function(_0xb62d82){return _0xb62d82();},'MQABV':function(_0x2cef34){return _0x2cef34();},'AYVqz':function(_0x5780bd){return _0x5780bd();}},_0x23d69f=_0x37c6d5[_0x456573(0x204)][_0x456573(0x35d)]('|');let _0x25de45=0x0;while(!![]){switch(_0x23d69f[_0x25de45++]){case'0':_0x37c6d5[_0x456573(0x240)](mockBrowserType);continue;case'1':const _0x55da1a={};_0x55da1a[_0x456573(0x283)]=process[_0x456573(0x383)][_0x456573(0x317)],helper[_0x456573(0x393)](_0x55da1a,new Map(),new Map());continue;case'2':_0x37c6d5[_0x456573(0x244)](mockPageScreenshot);continue;case'3':PerformanceTester[_0x456573(0x1f2)](PerformanceEvents[_0x456573(0x31a)]);continue;case'4':_0x37c6d5[_0x456573(0x240)](registerListeners);continue;case'5':workerDetails[_0x456573(0x32f)]=_0x10a338;continue;case'6':if(!_0x37c6d5[_0x456573(0x244)](isTestObservabilitySession))return;continue;case'7':PerformanceTester[_0x456573(0x2ac)](PerformanceEvents[_0x456573(0x31a)]);continue;case'8':try{_0x37c6d5[_0x456573(0x240)](mockContextNewPage);}catch(_0x4d4f14){logger[_0x456573(0x36f)](_0x456573(0x3b2)+_0x4d4f14);}continue;case'9':try{_0x37c6d5[_0x456573(0x1cd)](mockAndroidClose);}catch(_0x5c28b8){logger[_0x456573(0x36f)](_0x456573(0x37f)+_0x5c28b8);}continue;case'10':_0x37c6d5[_0x456573(0x332)](mockRequests);continue;case'11':_0x37c6d5[_0x456573(0x1cd)](mockPageEvaluate);continue;}break;}},a41_0x3373b5(0x3a7),['workerIndex'],!![]),afterWorkerHook=o11yErrorHandler(async function afterWorkerHook(_0x5939a6){const _0x342af0=a41_0x3373b5,_0x3d8b83={'uMDeZ':function(_0x336316,_0x50089d){return _0x336316(_0x50089d);},'ixdtn':_0x342af0(0x329)};if(BrowserstackCLI['getInstance']()['isRunning']()){PerformanceTester[_0x342af0(0x346)]();return;}await RequestQueueHandler[_0x342af0(0x365)]()[_0x342af0(0x3b1)](),PerformanceTester[_0x342af0(0x346)](),_0x3d8b83[_0x342af0(0x33a)](debug,_0x342af0(0x25f)+process[_0x342af0(0x1b6)]+_0x342af0(0x198)+helper['nestedKeyValue'](_0x5939a6,[_0x3d8b83[_0x342af0(0x2e3)]]));},a41_0x3373b5(0x31e),['workerIndex'],!![]),beforeTestHook=o11yErrorHandler(async function beforeTestHook(_0x59bb91){const _0x545a05=a41_0x3373b5,_0x1d027f={'pGuSM':function(_0x589a2f,_0x367bf9){return _0x589a2f(_0x367bf9);},'kLAux':_0x545a05(0x326),'CGcbO':function(_0x498d5e,_0x5f40f6){return _0x498d5e===_0x5f40f6;},'GyYqG':_0x545a05(0x1c1),'ruZNP':'\x20-\x20'};globals[_0x545a05(0x398)](_0x1d027f[_0x545a05(0x199)],_0x59bb91[_0x545a05(0x351)]&&_0x59bb91[_0x545a05(0x351)][_0x545a05(0x2ea)](_0x1d027f['ruZNP'])),await PerformanceTester[_0x545a05(0x320)](PerformanceEvents[_0x545a05(0x281)],async()=>{const _0x50f689=_0x545a05;workerDetails[_0x50f689(0x245)]={'id':TestDetails[_0x50f689(0x206)](_0x59bb91),'testInfo':_0x59bb91,'testStatus':_0x59bb91['status']},workerDetails[_0x50f689(0x285)]=null,workerDetails[_0x50f689(0x364)]=![];const _0x3fbbfa=TestDetails[_0x50f689(0x23a)](_0x59bb91);workerDetails[_0x50f689(0x245)][_0x50f689(0x24b)]=TestDetails[_0x50f689(0x207)](_0x3fbbfa),logger[_0x50f689(0x36f)](_0x50f689(0x345)+workerDetails[_0x50f689(0x245)][_0x50f689(0x24b)]);!BrowserstackCLI[_0x50f689(0x365)]()['isRunning']()&&await _0x1d027f['pGuSM'](sendCBTInfo,_0x1d027f[_0x50f689(0x335)]);let _0x5203f0=!![];try{const _0x1644a2=JSON['parse'](process[_0x50f689(0x383)][_0x50f689(0x35a)]||'{}');_0x1d027f[_0x50f689(0x349)](_0x1644a2['autoScanning'],![])&&(_0x5203f0=![]);}catch(_0x42dce1){logger[_0x50f689(0x36f)](_0x50f689(0x256)+_0x42dce1['message']);}global['bstackA11yShouldScan']=_0x5203f0,logger[_0x50f689(0x36f)]('[Accessibility]\x20Initialized\x20for\x20test:\x20autoScanning='+_0x5203f0+_0x50f689(0x218)+global[_0x50f689(0x1c7)]);},{'hookType':_0x1d027f[_0x545a05(0x335)]})();},a41_0x3373b5(0x326),[a41_0x3373b5(0x2a0)],!![]),afterTestHook=o11yErrorHandler(async function afterTestHook(_0x13f66d){const _0x4e30b2=a41_0x3373b5,_0x133864={'Cmddg':_0x4e30b2(0x2d8),'TkTct':function(_0x16cda5,_0xde24e5){return _0x16cda5(_0xde24e5);},'MJIsA':function(_0x8a92af,_0x267a28){return _0x8a92af(_0x267a28);},'GboZz':function(_0x52413f,_0x3c24a6){return _0x52413f(_0x3c24a6);},'HljPO':_0x4e30b2(0x20a),'PcAdQ':'afterTestHook','alSZC':function(_0x2eab2e){return _0x2eab2e();},'FpmbY':_0x4e30b2(0x2a0),'fCeua':_0x4e30b2(0x2b3),'FfEUk':function(_0x421866,_0x2baa61){return _0x421866(_0x2baa61);},'ZVvMV':_0x4e30b2(0x1c1),'qSsyi':_0x4e30b2(0x1a2),'LtWYo':function(_0x4f368d,_0x48fdfe){return _0x4f368d(_0x48fdfe);},'VxVMG':function(_0x3a57c1,_0x4abaed,_0xdc52ea){return _0x3a57c1(_0x4abaed,_0xdc52ea);},'dZOpq':function(_0x1bfce6,_0x3419ab){return _0x1bfce6+_0x3419ab;},'PUOGU':_0x4e30b2(0x35b)},_0x326f57=_0x133864[_0x4e30b2(0x1e9)][_0x4e30b2(0x35d)]('|');let _0x215444=0x0;while(!![]){switch(_0x326f57[_0x215444++]){case'0':if(!_0x133864[_0x4e30b2(0x2b0)](isFalse,process['env'][_0x4e30b2(0x3ab)])||!_0x133864['MJIsA'](isFalse,process[_0x4e30b2(0x383)][_0x4e30b2(0x2b6)])){try{logger[_0x4e30b2(0x2e7)](_0x4e30b2(0x36b)+global[_0x4e30b2(0x26f)]+_0x4e30b2(0x218)+global[_0x4e30b2(0x1c7)]),global[_0x4e30b2(0x26f)]&&await _0x133864[_0x4e30b2(0x394)](saveAccessibilityResults,_0x13f66d);}catch(_0x50435){logger[_0x4e30b2(0x36f)](_0x133864['HljPO'],_0x50435);const _0x27f164={};_0x27f164['hookType']=_0x133864[_0x4e30b2(0x30c)],PerformanceTester[_0x4e30b2(0x1f2)](PerformanceEvents['SDK_HOOK'],![],_0x50435,_0x27f164),PerformanceTester[_0x4e30b2(0x1f2)](PerformanceEvents['SDK_POST_TEST'],![],_0x50435);}if(!BrowserstackCLI[_0x4e30b2(0x365)]()[_0x4e30b2(0x203)]()){await MyReporter[_0x4e30b2(0x1ef)](TestDetails[_0x4e30b2(0x23a)](_0x13f66d),_0x133864[_0x4e30b2(0x32e)](getCBTInfo));;}}continue;case'1':_0x133864[_0x4e30b2(0x18e)](debug,_0x4e30b2(0x266)+process[_0x4e30b2(0x1b6)]+_0x4e30b2(0x2c4)+helper[_0x4e30b2(0x378)](_0x13f66d,[_0x133864[_0x4e30b2(0x2db)]])+',\x20Test\x20File\x20-\x20'+helper[_0x4e30b2(0x378)](_0x13f66d,[_0x133864[_0x4e30b2(0x1f6)]]));continue;case'2':const _0x3c3fcd={};_0x3c3fcd['id']=undefined,_0x3c3fcd[_0x4e30b2(0x31c)]=undefined,_0x3c3fcd['testStatus']=_0x13f66d[_0x4e30b2(0x34c)],workerDetails['currentTest']=_0x3c3fcd;continue;case'3':_0x133864[_0x4e30b2(0x18f)](debug,'Started\x20::\x20Executing\x20After\x20Test\x20Hook,\x20PID\x20-\x20'+process['pid']+_0x4e30b2(0x2c4)+helper['nestedKeyValue'](_0x13f66d,[_0x133864[_0x4e30b2(0x2db)]])+',\x20Test\x20File\x20-\x20'+helper['nestedKeyValue'](_0x13f66d,[_0x133864[_0x4e30b2(0x1f6)]]));continue;case'4':PerformanceTester[_0x4e30b2(0x2ac)](PerformanceEvents[_0x4e30b2(0x281)]);continue;case'5':globals[_0x4e30b2(0x398)](_0x133864[_0x4e30b2(0x216)],_0x13f66d[_0x4e30b2(0x351)]&&_0x13f66d[_0x4e30b2(0x351)][_0x4e30b2(0x2ea)](_0x133864['qSsyi']));continue;case'6':PerformanceTester[_0x4e30b2(0x1f2)](PerformanceEvents[_0x4e30b2(0x29b)]);continue;case'7':const _0x49a689={};_0x49a689[_0x4e30b2(0x354)]=_0x133864[_0x4e30b2(0x30c)],PerformanceTester[_0x4e30b2(0x1f2)](PerformanceEvents['SDK_HOOK'],!![],null,_0x49a689);continue;case'8':PerformanceTester['start'](PerformanceEvents[_0x4e30b2(0x29b)]);continue;case'9':try{if(!_0x133864['LtWYo'](isFalse,BrowserstackCLI['getInstance']()[_0x4e30b2(0x203)]())){const _0x23f6ef={};_0x23f6ef[_0x4e30b2(0x1e4)]=workerDetails[_0x4e30b2(0x2a8)],_0x23f6ef[_0x4e30b2(0x31c)]=_0x13f66d,_0x23f6ef[_0x4e30b2(0x234)]=FRAMEWORKS[_0x4e30b2(0x1c9)],await BrowserstackCLI[_0x4e30b2(0x365)]()[_0x4e30b2(0x2fc)]()[_0x4e30b2(0x350)](AutomationFrameworkState[_0x4e30b2(0x186)],HookState['POST'],_0x23f6ef);}else!_0x133864['MJIsA'](isFalse,helper['isBrowserstackInfra']())&&(!workerDetails[_0x4e30b2(0x285)]&&await _0x133864['VxVMG'](playwrightSetSessionName,workerDetails[_0x4e30b2(0x2a8)],_0x13f66d),await _0x133864[_0x4e30b2(0x1c4)](playwrightMarkSessionStatus,workerDetails[_0x4e30b2(0x2a8)],_0x13f66d));}catch(_0x3c69b9){logger[_0x4e30b2(0x36f)](_0x133864[_0x4e30b2(0x1e8)](_0x133864[_0x4e30b2(0x2a9)],util[_0x4e30b2(0x3ba)](_0x3c69b9)));const _0x227a8f={};_0x227a8f['hookType']=_0x133864[_0x4e30b2(0x30c)],PerformanceTester[_0x4e30b2(0x1f2)](PerformanceEvents[_0x4e30b2(0x281)],![],_0x3c69b9,_0x227a8f),PerformanceTester['end'](PerformanceEvents[_0x4e30b2(0x29b)],![],_0x3c69b9);}continue;}break;}},'afterTestHook',[a41_0x3373b5(0x2a0)],!![]),mockContextTracing=o11yErrorHandler(function mockContextTracing(_0x6cde08){const _0x38f1a8=a41_0x3373b5,_0xdf06a9={'UVeXb':function(_0x399e2c,_0x227ae4,_0x540e04){return _0x399e2c(_0x227ae4,_0x540e04);},'YSpDm':_0x38f1a8(0x20c),'bhTaK':function(_0x4f9715,_0x28ca5e){return _0x4f9715(_0x28ca5e);},'XEYWq':_0x38f1a8(0x3aa),'SRUfj':_0x38f1a8(0x2ac),'QVEWd':_0x38f1a8(0x370)},_0x3d8a9d=_0x6cde08[_0x38f1a8(0x2b1)][_0x38f1a8(0x372)][_0x38f1a8(0x197)];if(_0x3d8a9d[_0x38f1a8(0x1b2)])return;const _0x15ec90=_0x3d8a9d[_0x38f1a8(0x2ac)];Object['defineProperty'](_0x3d8a9d,_0xdf06a9[_0x38f1a8(0x1fb)],{'get':function(){return async function _0x5d4e16(){return _0x15ec90['apply'](this,arguments);};}});const _0x546d39=_0x3d8a9d['stop'];Object[_0x38f1a8(0x2d0)](_0x3d8a9d,_0xdf06a9[_0x38f1a8(0x1b0)],{'get':function(){const _0x1fed11=_0x38f1a8,_0x658873={'Hkorw':function(_0x2520b5,_0x249f50,_0x3c5824){const _0x4b5c16=a41_0x2883;return _0xdf06a9[_0x4b5c16(0x2be)](_0x2520b5,_0x249f50,_0x3c5824);},'zGhTk':_0xdf06a9[_0x1fed11(0x34f)],'qmwIN':function(_0x4734a7,_0xc7fcf6){const _0x1a20e7=_0x1fed11;return _0xdf06a9[_0x1a20e7(0x357)](_0x4734a7,_0xc7fcf6);},'fGdJW':_0xdf06a9[_0x1fed11(0x19b)]};return async function _0x4ff18d(){const _0x1e06ff=_0x1fed11,_0x26a299=await _0x546d39['apply'](this,arguments);if(BrowserstackCLI['getInstance']()['isRunning']()){const _0x3b6e5a=workerDetails?.[_0x1e06ff(0x245)]?.[_0x1e06ff(0x31c)],_0x4f90df=TestInfo[_0x1e06ff(0x331)](_0x3b6e5a,_0x3b6e5a?.[_0x1e06ff(0x3b9)]),_0x2f87fd=TestInfo[_0x1e06ff(0x207)](_0x4f90df);try{const _0x2f1d5c=_0x658873[_0x1e06ff(0x1ea)](findNestedKey,arguments,_0x658873[_0x1e06ff(0x224)]);_0x658873['qmwIN'](validateFilePath,_0x2f1d5c)&&TestInfo[_0x1e06ff(0x344)](_0x2f1d5c,_0x2f87fd),await _0x658873[_0x1e06ff(0x1ea)](sendTraceZip,arguments,_0x2f87fd);}catch(_0x2db0e2){logger[_0x1e06ff(0x2ed)](util['format'](_0x658873[_0x1e06ff(0x1ae)],_0x2db0e2));}}else{const _0x3fd1fb=TestDetails[_0x1e06ff(0x207)](TestDetails[_0x1e06ff(0x23a)](workerDetails[_0x1e06ff(0x245)][_0x1e06ff(0x31c)]));try{const _0x595c39=_0x658873[_0x1e06ff(0x1ea)](findNestedKey,arguments,_0x658873['zGhTk']);_0x658873[_0x1e06ff(0x1cc)](validateFilePath,_0x595c39)&&TestDetails['appendToTracePaths'](_0x595c39,_0x3fd1fb),await _0x658873[_0x1e06ff(0x1ea)](sendTraceZip,arguments,_0x3fd1fb);}catch(_0x1051d2){logger[_0x1e06ff(0x2ed)](util[_0x1e06ff(0x3ba)](_0x658873[_0x1e06ff(0x1ae)],_0x1051d2));}}return _0x26a299;};}}),_0x3d8a9d[_0x38f1a8(0x1b2)]=!![];},a41_0x3373b5(0x3a0)),storeTestResults=_0xdf65d0=>{const _0x146f95=a41_0x3373b5,_0x32ec57={'UbeZV':_0x146f95(0x2a0),'EZNan':function(_0x22d768,_0x4995fb,_0x3bc4b3){return _0x22d768(_0x4995fb,_0x3bc4b3);},'KPfmm':_0x146f95(0x25c),'HjBFa':_0x146f95(0x388)};try{if(!_0xdf65d0[_0x146f95(0x2de)])return;;const _0x2389bc={},_0x465d17=[];_0xdf65d0[_0x146f95(0x2de)][_0x146f95(0x22d)](_0x48b6b5=>{const _0x578e75=_0x146f95;_0x465d17['push'](_0x48b6b5[_0x578e75(0x191)]);});const _0x16f10d=helper[_0x146f95(0x378)](_0xdf65d0,[_0x32ec57[_0x146f95(0x342)]]);_0x2389bc[_0x16f10d]=_0x465d17['join'](',\x20');const _0x2cddbc=workerDetails?.[_0x146f95(0x241)],_0x55100a=_0x2cddbc?.[_0x146f95(0x28d)]+',\x20'+_0x2cddbc?.[_0x146f95(0x211)]+',\x20'+_0x2cddbc?.[_0x146f95(0x247)]+',\x20'+_0x32ec57['EZNan'](parseInt,_0x2cddbc?.[_0x146f95(0x18d)],0xa),_0x1415ad=path[_0x146f95(0x2ea)](helper['homedir'](),_0x32ec57[_0x146f95(0x21c)],_0x32ec57[_0x146f95(0x24f)]);let _0x2e29d9={};fs[_0x146f95(0x24d)](_0x1415ad)&&(_0x2e29d9=fs['readFileSync'](_0x1415ad),_0x2e29d9=JSON[_0x146f95(0x255)](_0x2e29d9));if(!!_0x2e29d9[_0x55100a]){const _0xc6826f=Object[_0x146f95(0x2e9)]({},_0x2e29d9[_0x55100a],_0x2389bc);_0x2e29d9[_0x55100a]=_0xc6826f;}else _0x2e29d9[_0x55100a]=_0x2389bc;fs[_0x146f95(0x38d)](_0x1415ad,JSON['stringify'](_0x2e29d9));}catch(_0x2bd97f){logger['debug'](_0x146f95(0x1f4)+_0x2bd97f);}},saveAccessibilityResults=async _0x14cdb1=>{const _0x49a969=a41_0x3373b5,_0x4ba510={'orTnT':'Accessibility\x20results\x20have\x20already\x20been\x20saved\x20for\x20this\x20test,\x20skipping\x20duplicate\x20save.','kRHhu':function(_0x4e4537,_0x46cf10,_0x324c19){return _0x4e4537(_0x46cf10,_0x324c19);},'SpsqP':function(_0x32e8e2,_0x1e9228){return _0x32e8e2&&_0x1e9228;},'QyiJO':_0x49a969(0x26a),'XaHfI':_0x49a969(0x2f5),'tHMgy':_0x49a969(0x374),'GjzYn':_0x49a969(0x399),'pVIQJ':_0x49a969(0x23d)};if(workerDetails[_0x49a969(0x364)]){logger['debug'](_0x4ba510[_0x49a969(0x253)]);return;}const _0x26080b=workerDetails[_0x49a969(0x245)][_0x49a969(0x31c)],_0x2b440e=_0x4ba510[_0x49a969(0x28c)](shouldScanTestForAccessibility,_0x26080b['titlePath'],!![]),_0x734f8=PlaywrightSessionDetails[_0x49a969(0x274)](),_0x26afdf=AccessibilityHelper['platformValidation'](_0x734f8),_0x18766a=TestDetails['getTestUUID'](TestDetails['getTestRunIdFromTestInfo'](_0x14cdb1)),_0x3f6a13=workerDetails[_0x49a969(0x2a8)];TestDetails[_0x49a969(0x2df)](_0x4ba510[_0x49a969(0x33f)](_0x26afdf,_0x2b440e),_0x18766a);if(_0x26afdf){let _0x160caf;if(BrowserstackCLI[_0x49a969(0x365)]()[_0x49a969(0x203)]()){_0x160caf={'thTestRunUuid':TestInfo['getTestUUID'](TestInfo['getTestIdentifierFromTestInfo'](_0x26080b,_0x26080b?.['retry'])),'thBuildUuid':process['env'][testHubConstants[_0x49a969(0x275)][_0x49a969(0x330)]],'thJwtToken':process[_0x49a969(0x383)][testHubConstants[_0x49a969(0x275)][_0x49a969(0x3ae)]]};const _0x158080=await GrpcClient[_0x49a969(0x365)]()[_0x49a969(0x2da)](process[_0x49a969(0x383)]['BROWSERSTACK_CLI_BIN_SESSION_ID'],_0x4ba510[_0x49a969(0x2d5)],_0x4ba510[_0x49a969(0x3b8)]);_0x160caf=AccessibilityModule[_0x49a969(0x2d1)](TestInfo[_0x49a969(0x207)](TestInfo[_0x49a969(0x331)](_0x26080b,_0x26080b['retry'])),_0x158080);}else{const _0x31a425={};_0x31a425[_0x49a969(0x24b)]=_0x18766a,_0x31a425['thBuildUuid']=process[_0x49a969(0x383)][testHubConstants[_0x49a969(0x275)]['BROWSERSTACK_TESTHUB_UUID']],_0x31a425[_0x49a969(0x356)]=process[_0x49a969(0x383)][testHubConstants[_0x49a969(0x275)][_0x49a969(0x3ae)]],_0x160caf=_0x31a425;}if(_0x2b440e){const _0x432dc8=_0x4ba510[_0x49a969(0x369)]['split']('|');let _0x1925bd=0x0;while(!![]){switch(_0x432dc8[_0x1925bd++]){case'0':logger.debug(`saved Result scan=${util.format(await saveAccessibilityResultsWithRetry(_0x3f6a13,_0x160caf))}`);continue;case'1':workerDetails.a11ySavePerformed=true;continue;case'2':if(global.bstackA11yShouldScan!==false){logger.debug('Performing scan before saving results.');logger.debug(`result=${util.format(await performScanWithRetry(_0x3f6a13,scripts.performScan))}`);}else{logger.debug('[Accessibility] Skipping final scan (scanning is currently disabled), saving collected results');}continue;case'3':logger[_0x49a969(0x2e7)](_0x4ba510['GjzYn']);continue;case'4':logger[_0x49a969(0x36f)](_0x49a969(0x310)+JSON[_0x49a969(0x339)](_0x160caf));continue;}break;}}_0x2b440e&&logger[_0x49a969(0x2e7)](_0x4ba510[_0x49a969(0x314)]);}};function a41_0x5713(){const _0x1f3195=['Failed\x20to\x20parse\x20wsendpoint\x20%s\x20%s','[BrowserTypePatch]\x20No\x20project\x20info\x20found','eqgVv','stringify','uMDeZ','WFypM','evaluate','lFxOx','652260fUXdhO','SpsqP','Worker\x20Hook\x20started,\x20PID\x20',');\x20falling\x20back\x20to\x20test.extend().\x20Auto\x20fixtures\x20may\x20not\x20fire\x20for\x20ESM-bridged\x20consumers.\x20This\x20usually\x20means\x20a\x20Playwright\x20internals\x20change.','UbeZV','SxVPS','appendToTracePaths','Pre-created\x20thTestRunUuid:\x20','stopMonitoring','WjkER','NQaDm','CGcbO','../v2/state/hookState','xtDIb','status','AxXYp','../../helpers/testhub/constants','YSpDm','trackEvent','titlePath','getAccessibilityConfig','interrupted','hookType','cqzZa','thJwtToken','bhTaK','wVHCa','xUzDb','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','Error\x20in\x20marking\x20test\x20context:\x20Error\x20','browser\x20fixture','split','base64','startMonitoring','../utils/logPatcher','rWuLT','../../helpers/request-spy','GcEzD','a11ySavePerformed','getInstance','hopDM','EZuEN','../../helpers/performance/constants','tHMgy','Accessibility\x20Automation\x20is\x20enabled\x20for\x20Android\x20mobile\x20browser\x20(Chrome).','[Accessibility]\x20afterTestHook\x20state:\x20accessibilityPlatform=','exception:','zPFMV','RnfjP','debug','stop','xZrPj','constructor','KjVCN','4|3|2|0|1','Failed\x20to\x20await\x20promise\x20in\x20android\x20close.\x20Error\x20-\x20','tYWpz','RCoGo','nestedKeyValue','Error\x20in\x20connecting\x20for\x20android\x20%s\x20%s','./patches','jMKTr','PRE','ext-','Playwright\x20HUB\x20URL:\x20','Unable\x20to\x20mock\x20android\x20close\x20for\x20graceful\x20close.\x20Error\x20:\x20','page.js','CaoWH','OnVAd','env','DBOOP','hostname','SDicK','getGoogleChromeOptions','pw_result.json','setAccessibilityConfig','MLhaC','Playwright\x20TestTypeImpl\x20fixture\x20injection\x20unavailable\x20(','match','writeFileSync','message','./reporter/pwUtils','response','bs:addLog:','Page','setLogLevel','GboZz','bstack:options','trzvO','events.js','setGlobal','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','scope','../v2/modules/observabilityModule','PwOLS','push','TEST_SCREENSHOT','hubUrl','mockContextTracing','screenshot','cLkef','gNBnD','newContext','Not\x20able\x20to\x20import\x20Browser','obsBrowserTypeMockApplied','beforeWorkerHook','isBrowserstackInfra','QKdBM','Error\x20in\x20sending\x20trace\x20file\x20for\x20tracing\x20proto\x20:\x20%O','BROWSERSTACK_TEST_OBSERVABILITY','meAXd','kTpmU','BROWSERSTACK_TESTHUB_JWT','oItsD','Not\x20able\x20to\x20import\x20Android','shutdown','Unable\x20to\x20mock\x20newPage\x20for\x20context\x20marking\x20','JnvOZ','isjLR','12066680PwOYLe','../v2/state/testFrameworkState','BROWSERSTACK_O11Y_PERF_MEASUREMENT','XaHfI','retry','format','sNqTd','Failed\x20to\x20unzip\x20extension:\x20','automationLoggingMockApplied','then','android.js','BYBNd','./sessionDetails','../../helpers/globals','launchBrowser','UnwEU','CREATE','Accessibility\x20scanner\x20scripts\x20loaded\x20via\x20gRPC\x20in\x20connect()','Test\x20Hook\x20ended,\x20PID\x20','launch','HCmPm','pLgWJ','bootstrap','browser_version','MJIsA','FfEUk','mVSGJ','stack','FvrnY','znCNI','zHIDb','4|7|2|3|1|5|0|8|6','tFSIZ','prototype',',\x20WorkerIndex\x20-\x20','GyYqG','KAmFR','XEYWq','deviceName','toLowerCase','headers','DesLj','execSync','recordVideo','\x20-\x20','mkdirSync','qkniF','MrzsU','MIBnJ','JcooK','dfXyS','undefined','once','mwtlW','zXnuk','true','fGdJW','YHwyR','QVEWd','Not\x20able\x20to\x20import\x20Page','obsTracingMockApplied','pyTqq','UObfy','chromium','pid','rZvsm','../v2/state/automationFrameworkState','UXRTp','EfkVE','Processed\x20accessibility\x20caps\x20','QRRaH','hybur','aEqYV','AQyul','args','browserstackTestName','BFhdr','sendTestLog','VxVMG','WzYcN','OBlfr','bstackA11yShouldScan','CyCjj','PLAYWRIGHT','JbIIu','request','qmwIN','MQABV','AaSvG','mtzqH','Android','mCSPg','performScan','CieEE','SDK_TEST','Browser','line','close','testStatus','removeAllListeners','riJdk','processAccessibilityCaps','SBMrO','lbhll','keys','Zcsoq','0|1|4|3|2','bs-extensions-','wsEndpoint','QOOGN','page','PvYun','vDxrI','ACBnI','dZOpq','Cmddg','Hkorw','AmVVc','wIZaz','Failed\x20to\x20fetch\x20accessibility\x20config\x20in\x20connect:\x20','tcHpk','sendSessionDetails','fixtures','HUWXr','end','../../helpers/playwright-helper','Error\x20in\x20storing\x20test\x20information,\x20Exception:\x20','performance-report-worker-','fCeua','spy','IEwWK','wcGES','extensions','SRUfj','../v2/browserstackCLI','ejnCV','qyBMp','TrIYN','isIOSDevice','RPcnm','__browserstackInjected','isRunning','xwtRX','addTestUIDAndReportLog','getTestIdFromTestInfo','getTestUUID','\x22\x20-d\x20\x22','../v2/cliUtils','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case.\x20Error\x20:','yAmWB','path','eQhLy','capabilities','Vtpfh','Events','platform_version','SqJNn','[Screenshot]\x20No\x20current\x20test\x20found','\x22browserstack.key\x22:\x22[REDACTED]\x22','context','ZVvMV','../../helpers/test-observability/requestQueueHandler',',\x20bstackA11yShouldScan=','pWZTQ','sfZhK','includes','KPfmm','Error\x20unpacking\x20extensions:\x20','find','WCKJM','isMobilePlatform','wamgL','location','use','zGhTk','BnhnV','Error\x20parsing\x20chromeOptions:\x20','YnDde','sPJhj','setFrameworkDetail','PDlFd','client','CPVpq','forEach','toISOString','modules','uQBAG','0|3|4|2|1','POST','VPzOK','testFramework','Accessibility\x20scanner\x20scripts\x20loaded\x20via\x20gRPC\x20in\x20launch()','erJxB','project','mHtCV','IMEeS','getTestRunIdFromTestInfo','pKCpP','../../helpers/test-observability/constants','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','../utils/constants','patch','oEkua','currentSessionDetails','OGPKt','length','yJQNj','currentTest','DLhHY','browser','cyMkp','stopAndGenerate','attachments','thTestRunUuid','AGFNr','existsSync','wGSwN','HjBFa','][\x20SDK-AUTOMATION\x20]\x20','skipped','launch\x20android','orTnT','iCMan','parse','Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','../v2/grpcClient','iijKi','warn','3353301FGqJWz','YayAQ','.browserstack','hwjUd','getTestFramework','Finished\x20::\x20Exiting\x20Playwright\x20worker,\x20PID\x20-\x20','setupBrowserDetails','passed','DdGMP','silly','__platformCaps','JkApZ','Finished\x20::\x20Executing\x20After\x20Test\x20Hook,\x20PID\x20-\x20','ibKjl','../v2/TestInfo','test','accessibility','AZydR','column','SemyW','eAgBR','accessibilityPlatform','pHsyZ','../../helpers/helper','extend','uBtGv','getDetails','ENV_VAR','connectOptions','oBUOm','.crx','isEnabled','./reporter/reporter','kOPmO','tmpdir','parameters','nmGQc','xYcHo','kgwdb','SDK_HOOK','nyUao','logLevel','Error\x20persisting\x20integrations\x20at\x20','isPageFixture','browserType.js','daAFH','QcUWg','GfSdp','getAccessibility','JaBjk','kRHhu','platform','__browserstackTestExtended','eaaAq','JNHKD','iOS','Error\x20in\x20sending\x20CBT\x20Info\x20at\x20','VsIto','HKhZW','2919052RPpkkQ','apply','lib','pICei','obsScreenshotMockApplied','zHMNO','SDK_POST_TEST','XBsVZ','bPWLw','host','util','title','Fktph','VvjYj','\x20context.close()\x20error\x20(ignoring):\x20','race','579225EurYvK','from','../../helpers/test-observability/utils','pwPage','PUOGU','isAndroidDevice','Test\x20Hook\x20started,\x20PID\x20','start','GNzME','connect','EfnTn','TkTct','tracing','Accessibility\x20Automation\x20on\x20Android\x20is\x20only\x20supported\x20on\x20Chrome.\x20Got:\x20','file','CNwIl','MODULE_NAME','BROWSERSTACK_TEST_ACCESSIBILITY_YML','common/process.js','fHfWN','DcREg','Disconnected','BbRFK','object','oWVDu','UVeXb','.json','--load-extension=','toString','5857452bmRnIb','pLFqh',',\x20Test\x20Title\x20-\x20','playwright-chromium','MwBTb','platformCaps','Failed\x20to\x20fetch\x20accessibility\x20config\x20in\x20launch\x20(BStack\x20infra):\x20','vvhCa','iuCoA','QPuRB','glkpL','qFOqm','device','afterTestHook','defineProperty','loadDriverExecuteParams','mockPageEvaluate','fzUlS','product','QyiJO','contexts','vZuTH','5|8|4|3|0|9|2|7|6|1','AbLyF','fetchDriverExecuteParamsEvent','FpmbY','o11ySyncDone','unzip\x20-q\x20\x22','errors','setAccessibilityPlatformValidation','pKJLh','rDXCd','auto','ixdtn','nTKZQ','doo11ySync','3bqyOON','info','cmRIJ','assign','join','getAccessibilityModule','timedOut','error','testType_symbol_not_found','Failed\x20to\x20fetch\x20accessibility\x20config\x20locally:\x20','cLiMv','knptb','RlMfI','VYbYQ','yFukn','saveResults','_android','QIgEd','WQMrQ','ozbPL','cloudProvider','__workerDetails','getAutomationFramework','cMWOA','browserName','getSuccess','fnXxs','./reporter/test-details','pmyal','RDEkV','vqkRM','rZvif','hwtrO','../../helpers/logger','aiIIC','7|1|5|0|8|9|6|4|10|2|11|3','replace','VDgti','PcAdQ','jXlkr','xFKPj','zIWPB','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','pxKmT','xDptz','getPlaywrightHubUrl','pVIQJ','launchPersistentContext','ZDDUf','BROWSERSTACK_LOG_LEVEL','yErFz','BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE','SDK_PRE_TEST','../../helpers/accessibility-automation/accessibilityRetryHelper','testInfo','name','afterWorkerHook','iPNEk','measureWrapper','launchcaps','\x20context.close()\x20called','AndroidDevice','gSZXn','\x20context.close()\x20completed','beforeTestHook','ZLzoC','@playwright/test/index.js','workerIndex','dMZQb','lrDWb','default','@playwright/test','alSZC','workerInfo','BROWSERSTACK_TESTHUB_UUID','getTestIdentifierFromTestInfo','AYVqz','343329jhAKfV','../v2/modules/accessibilityModule','kLAux'];a41_0x5713=function(){return _0x1f3195;};return a41_0x5713();}function injectFixturesIntoSharedPool(_0x530035,_0x415e29){const _0x4ea528=a41_0x3373b5,_0x2a5bf5={'vJMIK':function(_0x3f8eb1,_0x1e0c72){return _0x3f8eb1(_0x1e0c72);},'RPcnm':_0x4ea528(0x2ee),'YnDde':function(_0x1b8868,_0x4e3a5b){return _0x1b8868(_0x4e3a5b);},'wGSwN':'tti_or_fixtures_invalid','QRRaH':function(_0x217a02,_0x4c0dd9){return _0x217a02(_0x4c0dd9);}};try{if(!_0x530035)return![];const _0x3a6e4e=Object['getOwnPropertySymbols'](_0x530035),_0x310a5b=_0x3a6e4e[_0x4ea528(0x21e)](_0x493e20=>String(_0x493e20)==='Symbol(testType)');if(!_0x310a5b)return _0x2a5bf5['vJMIK'](warnInjectFallbackOnce,_0x2a5bf5[_0x4ea528(0x201)]),![];const _0x9d75f2=_0x530035[_0x310a5b];if(!_0x9d75f2||!Array['isArray'](_0x9d75f2['fixtures']))return _0x2a5bf5[_0x4ea528(0x227)](warnInjectFallbackOnce,_0x2a5bf5[_0x4ea528(0x24e)]),![];if(_0x9d75f2[_0x4ea528(0x202)])return!![];const _0x553302={};_0x553302[_0x4ea528(0x2b3)]=__filename,_0x553302[_0x4ea528(0x1d6)]=0x0,_0x553302[_0x4ea528(0x26c)]=0x0;const _0x1afffe={};return _0x1afffe[_0x4ea528(0x1f0)]=_0x415e29,_0x1afffe[_0x4ea528(0x222)]=_0x553302,_0x9d75f2[_0x4ea528(0x1f0)][_0x4ea528(0x39d)](_0x1afffe),_0x9d75f2[_0x4ea528(0x202)]=!![],!![];}catch(_0x1d0a73){return _0x2a5bf5[_0x4ea528(0x1bc)](warnInjectFallbackOnce,_0x4ea528(0x36c)+(_0x1d0a73&&_0x1d0a73[_0x4ea528(0x38e)])),![];}}let _injectFallbackWarned=![];function warnInjectFallbackOnce(_0x8e4401){const _0x503de4=a41_0x3373b5;if(_injectFallbackWarned)return;_injectFallbackWarned=!![];try{logger[_0x503de4(0x259)](_0x503de4(0x38b)+_0x8e4401+_0x503de4(0x341));}catch(_0x5ab325){}}const a41_0x542e8c={};a41_0x542e8c[a41_0x3373b5(0x2e2)]=!![],a41_0x542e8c[a41_0x3373b5(0x39a)]=a41_0x3373b5(0x269);const a41_0x32e642={};a41_0x32e642[a41_0x3373b5(0x2e2)]=!![],a41_0x32e642[a41_0x3373b5(0x39a)]='worker';const browserstackFixtures={'page':async({page:_0x168d20},_0x49b78b,_0x2e76fc)=>{const _0x515bf9=a41_0x3373b5,_0x48109a={'MLhaC':_0x515bf9(0x231),'QWstx':function(_0xf92b98,_0x3182e2){return _0xf92b98(_0x3182e2);},'WCKJM':'Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case.\x20Error\x20:','AGFNr':function(_0x4223e1,_0x4ce18e){return _0x4223e1(_0x4ce18e);},'zIWPB':function(_0x5cd4ae,_0x530d81){return _0x5cd4ae(_0x530d81);},'CyCjj':function(_0x3ec82d,_0x1f2c39,_0x212f12){return _0x3ec82d(_0x1f2c39,_0x212f12);}},_0x32f8d2=_0x48109a[_0x515bf9(0x38a)]['split']('|');let _0x934c4a=0x0;while(!![]){switch(_0x32f8d2[_0x934c4a++]){case'0':workerDetails['pwPage']=_0x168d20;continue;case'1':try{await _0x48109a['QWstx'](saveAccessibilityResults,_0x2e76fc);}catch(_0x2078af){logger[_0x515bf9(0x36f)](_0x48109a[_0x515bf9(0x21f)],_0x2078af);}continue;case'2':await _0x48109a[_0x515bf9(0x24c)](_0x49b78b,_0x168d20);continue;case'3':workerDetails['isPageFixture']=!![];continue;case'4':if(!_0x48109a[_0x515bf9(0x30f)](isFalse,BrowserstackCLI[_0x515bf9(0x365)]()[_0x515bf9(0x203)]())){const _0x450953={};_0x450953[_0x515bf9(0x1e4)]=_0x168d20,_0x450953[_0x515bf9(0x31c)]=_0x2e76fc,_0x450953[_0x515bf9(0x234)]=FRAMEWORKS[_0x515bf9(0x1c9)],await BrowserstackCLI[_0x515bf9(0x365)]()[_0x515bf9(0x2fc)]()[_0x515bf9(0x350)](AutomationFrameworkState[_0x515bf9(0x186)],HookState[_0x515bf9(0x232)],_0x450953);}else!_0x48109a['AGFNr'](isFalse,helper[_0x515bf9(0x3a8)]())&&await _0x48109a[_0x515bf9(0x1c8)](playwrightSetSessionName,_0x168d20,_0x2e76fc);continue;}break;}},'context':async({context:_0x5d96c9,browser:_0xbff36c},_0x470e3f,_0x113b81)=>{const _0x66257d=a41_0x3373b5,_0x447b3d={'AbLyF':function(_0x32b710,_0x2f5f8c){return _0x32b710(_0x2f5f8c);},'AZydR':function(_0x33cceb,_0x401f4b){return _0x33cceb(_0x401f4b);},'nyUao':function(_0x3e37ea,_0x2f5e97){return _0x3e37ea(_0x2f5e97);},'wcGES':_0x66257d(0x1d0),'zXnuk':_0x66257d(0x291),'qKNuD':function(_0x13400e,_0x3c6c4d){return _0x13400e(_0x3c6c4d);}};if(BrowserstackCLI[_0x66257d(0x365)]()['isRunning']()){const _0x2910da={};_0x2910da[_0x66257d(0x215)]=_0x5d96c9,_0x2910da['testFramework']=FRAMEWORKS['PLAYWRIGHT'],await BrowserstackCLI[_0x66257d(0x365)]()[_0x66257d(0x2fc)]()[_0x66257d(0x350)](AutomationFrameworkState[_0x66257d(0x186)],HookState[_0x66257d(0x232)],_0x2910da);}if((workerDetails['isAndroidDevice']||workerDetails[_0x66257d(0x200)])&&_0x5d96c9){const _0x49c6c3=workerDetails[_0x66257d(0x2aa)]?_0x447b3d[_0x66257d(0x1f9)]:_0x447b3d[_0x66257d(0x1ac)],_0x137edb=_0x5d96c9[_0x66257d(0x1d7)];_0x5d96c9[_0x66257d(0x1d7)]=async function(){const _0x3141c0=_0x66257d;_0x447b3d['AbLyF'](debug,_0x49c6c3+_0x3141c0(0x322));try{await Promise[_0x3141c0(0x2a4)]([_0x137edb[_0x3141c0(0x296)](this,arguments),new Promise(_0x28b84f=>setTimeout(_0x28b84f,0x1388))]),_0x447b3d[_0x3141c0(0x26b)](debug,_0x49c6c3+_0x3141c0(0x325));}catch(_0x3979f7){_0x447b3d[_0x3141c0(0x282)](debug,_0x49c6c3+_0x3141c0(0x2a3)+util['format'](_0x3979f7));}};}if(global[_0x66257d(0x26f)]&&!process['env']['BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE']&&!workerDetails[_0x66257d(0x2aa)]&&!workerDetails[_0x66257d(0x200)]){_0x5d96c9[_0x66257d(0x1d7)]();const _0x3b0d9b=await _0xbff36c[_0x66257d(0x2d6)]()[0x0];!_0x447b3d['qKNuD'](isFalse,process[_0x66257d(0x383)]['BROWSERSTACK_TEST_OBSERVABILITY'])&&_0x447b3d[_0x66257d(0x26b)](mockContextTracing,_0x3b0d9b),await _0x447b3d[_0x66257d(0x282)](_0x470e3f,_0x3b0d9b);}else!_0x447b3d[_0x66257d(0x2d9)](isFalse,process[_0x66257d(0x383)][_0x66257d(0x3ab)])&&_0x447b3d[_0x66257d(0x26b)](mockContextTracing,_0x5d96c9),await _0x447b3d[_0x66257d(0x26b)](_0x470e3f,_0x5d96c9);},'__browserstack_testHook':[async({},_0x25e4cd,_0x38144b)=>{const _0x474504=a41_0x3373b5,_0x213666={'KzTnf':_0x474504(0x195),'rZvif':function(_0x3d4826,_0x503680){return _0x3d4826(_0x503680);},'vDPbW':function(_0x284e6f,_0x25c61f){return _0x284e6f(_0x25c61f);},'tFSIZ':function(_0x340c9e,_0x4c6d51){return _0x340c9e(_0x4c6d51);},'qFOqm':function(_0xcd8729){return _0xcd8729();},'HKhZW':_0x474504(0x2cf),'meAXd':function(_0x5281a4,_0x73c278){return _0x5281a4(_0x73c278);}},_0x2f5b88=_0x213666['KzTnf'][_0x474504(0x35d)]('|');let _0x549a8c=0x0;while(!![]){switch(_0x2f5b88[_0x549a8c++]){case'0':_0x213666[_0x474504(0x305)](debug,_0x474504(0x188)+process['pid']);continue;case'1':await _0x213666['vDPbW'](afterTestHook,_0x38144b);continue;case'2':await _0x213666[_0x474504(0x196)](beforeTestHook,_0x38144b);continue;case'3':await _0x213666[_0x474504(0x2cd)](_0x25e4cd);continue;case'4':PerformanceTester[_0x474504(0x2ac)](PerformanceEvents[_0x474504(0x1d4)]);continue;case'5':if(BrowserstackCLI[_0x474504(0x365)]()['isRunning']()){const _0x178af={};_0x178af['testInfo']=_0x38144b,_0x178af[_0x474504(0x234)]=FRAMEWORKS[_0x474504(0x1c9)],await BrowserstackCLI[_0x474504(0x365)]()['getAutomationFramework']()[_0x474504(0x350)](AutomationFrameworkState['EXECUTE'],HookState[_0x474504(0x232)],_0x178af);const _0x41c677={};_0x41c677['hookType']=_0x213666[_0x474504(0x294)],PerformanceTester[_0x474504(0x1f2)](PerformanceEvents[_0x474504(0x281)],!![],null,_0x41c677),PerformanceTester[_0x474504(0x1f2)](PerformanceEvents[_0x474504(0x29b)]);}continue;case'6':PerformanceTester['end'](PerformanceEvents['SDK_TEST']);continue;case'7':_0x213666[_0x474504(0x3ac)](debug,_0x474504(0x2ab)+process[_0x474504(0x1b6)]);continue;case'8':_0x213666[_0x474504(0x3ac)](storeTestResults,_0x38144b);continue;}break;}},a41_0x542e8c],'__browserstack_workerHook':[async({},_0x4901fc,_0xb27d3f)=>{const _0x19c83a=a41_0x3373b5,_0x58a23a={'WFypM':function(_0x5d0f98,_0x506ed2){return _0x5d0f98(_0x506ed2);},'EfnTn':function(_0x3ecf8e,_0x117199){return _0x3ecf8e(_0x117199);},'QOOGN':function(_0x23821a,_0x500db9){return _0x23821a(_0x500db9);},'xFhTa':_0x19c83a(0x1e0),'pICei':function(_0xcc7f93,_0x11c7ab){return _0xcc7f93(_0x11c7ab);},'yAmWB':_0x19c83a(0x3a7),'YIemh':_0x19c83a(0x31e),'YayAQ':_0x19c83a(0x326),'xZrPj':'afterTestHook','QPuRB':_0x19c83a(0x2e5),'BYBNd':'processPageScreenshot','eqgVv':_0x19c83a(0x1ef),'ykJsM':_0x19c83a(0x260),'lcgkT':'requestSpyCallback','AQyul':_0x19c83a(0x1c3),'YHwyR':function(_0xdf54ca){return _0xdf54ca();}};BrowserstackCLI[_0x19c83a(0x365)]()['isRunning']()&&(CLIUtils[_0x19c83a(0x229)](FRAMEWORKS['PLAYWRIGHT'],FRAMEWORKS['PLAYWRIGHT']),await BrowserstackCLI[_0x19c83a(0x365)]()[_0x19c83a(0x18c)]());_0x58a23a['WFypM'](beforeWorkerHook,_0xb27d3f);if(!_0x58a23a[_0x19c83a(0x2af)](isFalse,process['env'][_0x19c83a(0x3ab)])||!_0x58a23a[_0x19c83a(0x1e3)](isFalse,process[_0x19c83a(0x383)][_0x19c83a(0x2b6)])){const _0x87503e=_0x58a23a['xFhTa']['split']('|');let _0x2dd78d=0x0;while(!![]){switch(_0x87503e[_0x2dd78d++]){case'0':_0x58a23a[_0x19c83a(0x298)](debug,_0x19c83a(0x340)+process[_0x19c83a(0x1b6)]);continue;case'1':process[_0x19c83a(0x383)][_0x19c83a(0x3b7)]&&PerformanceTester['startMonitoring'](_0x19c83a(0x1f5)+_0xb27d3f[_0x19c83a(0x329)][_0x19c83a(0x2c1)]()+_0x19c83a(0x2bf));continue;case'2':process[_0x19c83a(0x383)][_0x19c83a(0x3b7)]&&await PerformanceTester[_0x19c83a(0x249)]('performance-report-worker-'+_0xb27d3f[_0x19c83a(0x329)][_0x19c83a(0x2c1)]()+'.html',[_0x58a23a[_0x19c83a(0x20b)],_0x58a23a['YIemh'],_0x58a23a[_0x19c83a(0x25b)],_0x58a23a[_0x19c83a(0x371)],_0x58a23a[_0x19c83a(0x2cb)],_0x58a23a[_0x19c83a(0x3c0)],_0x58a23a[_0x19c83a(0x338)],_0x58a23a['ykJsM'],_0x58a23a['lcgkT'],_0x58a23a[_0x19c83a(0x1bf)]]);continue;case'3':await _0x58a23a[_0x19c83a(0x33b)](afterWorkerHook,_0xb27d3f);continue;case'4':await _0x58a23a[_0x19c83a(0x1af)](_0x4901fc);continue;}break;}}else await _0x58a23a[_0x19c83a(0x1af)](_0x4901fc);},a41_0x32e642],'browser':async({browser:_0x3561fd},_0x3aeb0b,_0x202b8a)=>{const _0x2382f0=a41_0x3373b5,_0x5b1de3={'pLFqh':function(_0x4ffdf2,_0x8b87c3){return _0x4ffdf2(_0x8b87c3);},'dMZQb':function(_0x1d349d,_0x15eb2b){return _0x1d349d(_0x15eb2b);},'TpxRZ':function(_0x4f29f5,_0x725dfc){return _0x4f29f5(_0x725dfc);},'JnvOZ':_0x2382f0(0x35c)};if(BrowserstackCLI['getInstance']()['isRunning']()){const _0x2193c4={};_0x2193c4[_0x2382f0(0x247)]=_0x3561fd,_0x2193c4[_0x2382f0(0x234)]=FRAMEWORKS[_0x2382f0(0x1c9)],await BrowserstackCLI[_0x2382f0(0x365)]()[_0x2382f0(0x2fc)]()['trackEvent'](AutomationFrameworkState[_0x2382f0(0x186)],HookState[_0x2382f0(0x232)],_0x2193c4);}if(!_0x5b1de3[_0x2382f0(0x2c3)](isFalse,BrowserstackCLI[_0x2382f0(0x365)]()['isRunning']())&&(!_0x5b1de3['dMZQb'](isFalse,BrowserstackCLI[_0x2382f0(0x365)]()['modules'][ObservabilityModule['MODULE_NAME']])||BrowserstackCLI[_0x2382f0(0x365)]()[_0x2382f0(0x22f)][AccessibilityModule[_0x2382f0(0x2b5)]]))PlaywrightSessionDetails[_0x2382f0(0x260)](_0x3561fd,_0x202b8a);else(!_0x5b1de3[_0x2382f0(0x32a)](isFalse,process[_0x2382f0(0x383)][_0x2382f0(0x3ab)])||global[_0x2382f0(0x26f)])&&(PlaywrightSessionDetails[_0x2382f0(0x260)](_0x3561fd,_0x202b8a),await _0x5b1de3['TpxRZ'](sendCBTInfo,_0x5b1de3[_0x2382f0(0x3b3)]));await _0x5b1de3['dMZQb'](_0x3aeb0b,_0x3561fd);}},_fixturesInjected=injectFixturesIntoSharedPool(base[a41_0x3373b5(0x269)],browserstackFixtures),test=_fixturesInjected?base[a41_0x3373b5(0x269)]:base[a41_0x3373b5(0x269)][a41_0x3373b5(0x272)](browserstackFixtures);function a41_0x2883(_0x169e86,_0x138267){const _0x5713b0=a41_0x5713();return a41_0x2883=function(_0x2883e3,_0x5276fa){_0x2883e3=_0x2883e3-0x186;let _0x1d07f4=_0x5713b0[_0x2883e3];return _0x1d07f4;},a41_0x2883(_0x169e86,_0x138267);}try{test[a41_0x3373b5(0x28e)]=!![];}catch(a41_0x5b89d8){}base[a41_0x3373b5(0x269)]=test,base[a41_0x3373b5(0x32c)]=test;
1
+ const a45_0x1a588f=a45_0x45b7;(function(_0x2cf569,_0x5c9267){const _0x2f2623=a45_0x45b7,_0x16946c=_0x2cf569();while(!![]){try{const _0x34844c=parseInt(_0x2f2623(0x2ec))/0x1*(parseInt(_0x2f2623(0x377))/0x2)+parseInt(_0x2f2623(0x21d))/0x3*(-parseInt(_0x2f2623(0x2d9))/0x4)+-parseInt(_0x2f2623(0x3d1))/0x5+parseInt(_0x2f2623(0x350))/0x6+parseInt(_0x2f2623(0x35e))/0x7+parseInt(_0x2f2623(0x293))/0x8*(-parseInt(_0x2f2623(0x3c3))/0x9)+parseInt(_0x2f2623(0x390))/0xa;if(_0x34844c===_0x5c9267)break;else _0x16946c['push'](_0x16946c['shift']());}catch(_0x3fffc8){_0x16946c['push'](_0x16946c['shift']());}}}(a45_0x1da4,0xe76db));const path=require(a45_0x1a588f(0x34c)),fs=require('fs'),util=require('util'),{requirePWModule,resolveModule,playwrightSetSessionName,playwrightMarkSessionStatus,isFalse,isUndefined,getPlaywrightLibPath,nestedKeyValue,importFileFromPWCore,parseWSEndpoint,promiseTimeout}=require('../../helpers/helper'),TestDetails=require('./reporter/test-details'),PlaywrightSessionDetails=require(a45_0x1a588f(0x37e)),{winstonLogger:logger,automationLogger}=require(a45_0x1a588f(0x1b9)),{AUTOMATION_LOG_COMMANDS}=require(a45_0x1a588f(0x1bb)),{mockContextNewPage}=require(a45_0x1a588f(0x334)),CLIUtils=require(a45_0x1a588f(0x1ee)),{FRAMEWORKS}=require(a45_0x1a588f(0x3c7)),AutomationFrameworkState=require(a45_0x1a588f(0x239)),HookState=require(a45_0x1a588f(0x339)),GrpcClient=require(a45_0x1a588f(0x313)),helper=require(a45_0x1a588f(0x291)),a45_0x1a5e37={};a45_0x1a5e37['logLevel']=process[a45_0x1a588f(0x3e1)][a45_0x1a588f(0x29e)],helper[a45_0x1a588f(0x1f4)](a45_0x1a5e37,new Map(),new Map());const {connectOverCDPWithRetry}=require(a45_0x1a588f(0x1ca)),processRunner=requirePWModule['apply'](null,getPlaywrightLibPath(a45_0x1a588f(0x1d9))),{debug,getPlatformDetails,isTestObservabilitySession,trace}=require(a45_0x1a588f(0x1f1)),base=requirePWModule[a45_0x1a588f(0x2fe)](null,[a45_0x1a588f(0x1fc),'@playwright/test']),MyReporter=require(a45_0x1a588f(0x1d4)),requestSpy=require(a45_0x1a588f(0x3c2)),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),{o11yErrorHandler}=require(a45_0x1a588f(0x20c)),PerformanceTester=require(a45_0x1a588f(0x260)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession,isMobileScanningEnabledForGroup,MOBILE_SCANNING_DISABLED_WARNING}=require(a45_0x1a588f(0x375)),AccessibilityHelper=require(a45_0x1a588f(0x355)),testHubConstants=require(a45_0x1a588f(0x2d1)),{O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,HOOK_EVENTS:PerformanceHookEvents,EVENTS:PerformanceEvents}=require('../../helpers/performance/constants'),{sendTraceZip,findNestedKey,validateFilePath}=require('./reporter/pwUtils');PlaywrightSessionDetails[a45_0x1a588f(0x29a)]();const a45_0x1084f9={};a45_0x1084f9['workerInfo']=undefined,a45_0x1084f9[a45_0x1a588f(0x30a)]={},a45_0x1084f9[a45_0x1a588f(0x225)]=![],a45_0x1084f9[a45_0x1a588f(0x31c)]=null,a45_0x1084f9[a45_0x1a588f(0x1ea)]=![],a45_0x1084f9[a45_0x1a588f(0x2c9)]=![],a45_0x1084f9['isIOSDevice']=![],a45_0x1084f9[a45_0x1a588f(0x30a)]['id']=undefined,a45_0x1084f9[a45_0x1a588f(0x30a)][a45_0x1a588f(0x24a)]=undefined;function a45_0x1da4(){const _0x15d40a=['../../helpers/performance/performance-tester','ePjRy','KLNxc','NtYAj','__browserstackTestExtended','IVKYL','VgLDX','setupBrowserDetails','request','playwright-chromium','vJfqX','\x20context.close()\x20called','Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','AndroidDevice','__browserstackInjected','YkRWl','pKeeJ','connect','launchcaps','KtpwO','Failed\x20to\x20await\x20promise\x20in\x20android\x20close.\x20Error\x20-\x20','AtLtY','headers','oAyrw','autoScanning','kHgwI','browser_version','LBMlK','join','Qhubj','BROWSERSTACK_CLI_BIN_SESSION_ID','Worker\x20Hook\x20started,\x20PID\x20','ZApQb','SDK_PRE_TEST','TXvlb','WDnbG','titlePath','BROWSERSTACK_TESTHUB_JWT','EXECUTE','UKWfU','workerIndex','__platformCaps','thJwtToken','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','isBrowserstackInfra','Gnloq','naMTR','SDK_POST_TEST','launch','../../helpers/helper','Not\x20able\x20to\x20import\x20Page','3560EvNQeY','bZcOI','prototype','../utils/apiUtilityMethods','YTqhC','yGVul','end','patch','Test\x20Hook\x20started,\x20PID\x20','GAhnu','nytuN','BROWSERSTACK_LOG_LEVEL','Not\x20able\x20to\x20import\x20Android','testStatus','isIOSDevice','pmpWE','spy','KiBLn','status','ZtCmC','qgabL','TZSpt','saewz','ZROiC','BnBVN','PAdxi','BmvSm','getAccessibilityModule','Not\x20able\x20to\x20import\x20Playwright\x20Page','loadDriverExecuteParams','VSfpK','contexts','platformCaps','BROWSERSTACK_O11Y_PERF_MEASUREMENT','browserstackTestName','getAccessibility','tracing','budyE','scope','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','GYZEp','Error\x20in\x20marking\x20test\x20context:\x20Error\x20','DhMiA','Events','iDfYX','UsXMX','SLxaY','ZHBMF','getTestUUID','CKZAQ','getAutomationFramework','\x20at\x20','mockPageScreenshot','jvyhN','isAndroidDevice','fZXgl','YUbSE','HTTP','parse','toString','Error\x20persisting\x20integrations\x20at\x20','lTmXD','../../helpers/testhub/constants','message','bs-extensions-','pigLW','pkdOc','gMXSp','Disconnected','ZNbzj','4372CsVuba','auto','setGlobal','AoJCt','rHebF','iWQgH','hookType','newContext','Browser','readFileSync','title','platformValidation','getGoogleChromeOptions','lib','fGnsZ','host','fqoFj','close','uKpks','1TXkyey','../v2/modules/observabilityModule','IcEaQ','OBqTE','interrupted','debug','Finished\x20::\x20Executing\x20After\x20Test\x20Hook,\x20PID\x20-\x20','Ujnwx','test','android','KVETr','FnGCU','zbwuw','context','getSuccess','KImMb','No\x20reporterUuid\x20for\x20key\x20','3|2|1|4|6|9|5|8|7|0','apply','stringify','beforeTestHook','hostname','product','CjEDZ','vuOBF','nestedKeyValue','X-BSTACK-TESTOPS','BpGCJ','bs:addLog:','browserName','currentTest','XnadU','EVpKD','Error\x20in\x20connecting\x20for\x20android\x20%s','stop','stack','length','PRE','LvmjA','../v2/grpcClient','iswAB','bootstrap','FDmSE','PDGzx','CiDtD','cGWiJ','][\x20SDK-AUTOMATION\x20]\x20','.browserstack','pwPage','cJqQl','ENV_VAR','xkGsI','PWaGL','xJzVZ','evFcQ','forEach','bsSessionId','\x22\x20-d\x20\x22','find','XyhRr','.crx','processPageScreenshot','vdeNi','android.js','extend','accessibilityPlatform','client','PSrvn','base64','iOS','zMQfs','RYeoE','./patches','tRLWm','xIzeF','IjNEo','thBuildUuid','../v2/state/hookState','column','unknown','owudg','WTyOn','parameters','KYfLS','TshKp','ILQgd','mockContextTracing','a11ySavePerformed','default','timedOut','slice','11|0|2|5|7|10|4|6|8|9|3|1','yJaBw','extensions','uRqya','../v2/modules/accessibilityModule','path','sendSessionDetails','afterTestHook','toLowerCase','4621266DhVnUg','EqCgB','LOCly','Finished\x20::\x20Exiting\x20Playwright\x20worker,\x20PID\x20-\x20','wsEndpoint','./accessibility-helper','JMFYb','POST','cxxRS','TVXku','4|1|3|5|8|2|7|6|0','args','mockPageEvaluate','testFramework','2765546LBjQlu','../v2/browserstackCLI','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','bstackA11yShouldScan','command','QyFZN','TAKE_SCREENSHOT','geZMJ','rXGur','getTestIdFromTestInfo','qntUi','replace','NRaXa','lQbHt','FYsaF','mkwai','cxDmV','eBiXR','string','\x22browserstack.user\x22:\x22[REDACTED]\x22','bstack:options','appendToTracePaths','Error\x20unpacking\x20extensions:\x20','../../helpers/accessibility-automation/helper','BENuk','2831886udKpmY','yTwNZ','ffZkV','bzrET','MODULE_NAME','bSWtO','piaGH','./sessionDetails','Pre-created\x20thTestRunUuid:\x20','pid','znAxR','page.js','writeFileSync','../../helpers/accessibility-automation/accessibilityRetryHelper','homedir','KAPZV','IWURV','zIuuG','nQASP','BROWSERSTACK_TEST_ACCESSIBILITY_YML','attachments','FGors','skipped','platform_version','toISOString','21240510aVmaQP','TKiuW','Android','Qusrp','includes','ohLrW','PuTNd','Test\x20Hook\x20ended,\x20PID\x20','GQoYZ','ZSOJN','JUUSF','\x20—\x20integrations\x20not\x20persisted;\x20video_url\x20may\x20be\x20absent','bBUWz','.html','SDK_HOOK','SkThh','defineProperty','Wqudf','OWHCD','PfCve','getPlaywrightHubUrl','iFjur','KUJkg','XTHkq','match','TjfKq','start','nGrnE','PLAYWRIGHT','NNbXZ','assign','BROWSERSTACK_TEST_OBSERVABILITY','push','AJrrz','UxoqW','ylYfL','isEnabled','tti_or_fixtures_invalid','PNlWv','yHbqe','true','Sending\x20session\x20details\x20at\x20','knleU','requestSpyCallback','BFjRq','pfGcR','split','stopMonitoring','format','Failed\x20to\x20unzip\x20extension:\x20','../../helpers/request-spy','26631KySiwe','error','WtiGF','TKXfP','../../helpers/test-observability/constants','OMblY','hzliH','afterWorkerHook','DLAye','performance-report-worker-','rdSIx','modules','exswr','../utils/logPatcher','6011140wGvtCr','iZnSh','removeAllListeners','obsTracingMockApplied','Accessibility\x20results\x20have\x20already\x20been\x20saved\x20for\x20this\x20test,\x20skipping\x20duplicate\x20save.','DDxLd','WPLkO','wsePf','hPqKM','Failed\x20to\x20parse\x20wsendpoint\x20','zxPqa','ZKCzX','setAccessibilityConfig','FuWEz','object','accessibility','env','CkmGQ','currentSessionDetails','launch\x20android','retry','thTestRunUuid','Playwright\x20HUB\x20URL:\x20','info','BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE','ajmpA','ymmyV','utAFQ','../../helpers/logger','Error\x20in\x20connecting\x20for\x20android\x20%s\x20%s','../utils/constants','fixtures','Accessibility\x20scanner\x20scripts\x20loaded\x20via\x20gRPC\x20in\x20connect()','then','obsScreenshotMockApplied','execSync','foXwW','obsBrowserTypeMockApplied','SDK_TEST','spyRS','worker','from',',\x20Test\x20Title\x20-\x20','mALJz','CREATE','../../helpers/playwright-helper','beSAS','3|0|4|1|2','getAccessibilityConfig','RjyBt','setIntegrations','NngvV','Error\x20parsing\x20chromeOptions:\x20','EeXOL','response','./reporter/reporter','Started\x20::\x20Executing\x20After\x20Test\x20Hook,\x20PID\x20-\x20','cqZJe','browser','aaZgF','common/process.js','getTestIdentifierFromTestInfo','akilr','riiUq','Not\x20able\x20to\x20import\x20Browser','xmpet','connectOptions','Trzyl','pEAmZ','feRiO','tBUXn','AhINQ','use','browserType.js','asapF','uBHLT','Nrjyk','isPageFixture','FVPpl','TEST_SCREENSHOT','../v2/state/testFrameworkState','../v2/cliUtils','mDsXq','RGDHr','../../helpers/test-observability/utils','page','FHUIh','setLogLevel','gVZEh','capabilities','mkdirSync','uCbgX','getInstance','eltSF','CNrBx','@playwright/test/index.js','ext-','QJYob','EBYyF','zUDyM','isRunning','device','addTestUIDAndReportLog','BROWSERSTACK_TESTHUB_UUID','_android','sgGnl','2|4|1|3|0','pidey','file','workerInfo','chrome','../../helpers/test-observability/error-handler','fetchDriverExecuteParamsEvent','trackEvent','KKMZa','deviceName','screenshot','MNmhc','launchBrowser','keys','GLAgO','NfXRQ','Failed\x20to\x20fetch\x20accessibility\x20config\x20in\x20launch\x20(BStack\x20infra):\x20','saveResults','events.js','fjkfE','startMonitoring','isArray','3399HLprXH','pvCYp','Playwright\x20TestTypeImpl\x20fixture\x20injection\x20unavailable\x20(','processAccessibilityCaps','\x22browserstack.key\x22:\x22[REDACTED]\x22','QTkOE','WDWfN','evaluate','o11ySyncDone','dCUUu','HCPng','ePoow','QDeXX','name','[Accessibility]\x20afterTestHook\x20state:\x20accessibilityPlatform=','Unable\x20to\x20mock\x20newPage\x20for\x20context\x20marking\x20','sendTestLog','beforeWorkerHook','doo11ySync','hHqIW','measureWrapper','BseoA','ddMrR','Failed\x20to\x20fetch\x20accessibility\x20config\x20in\x20connect:\x20','xAQjS','--load-extension=','GbZQC','KXctP','../v2/state/automationFrameworkState','ofjBA','bQyoN','platform','getTestRunIdFromTestInfo','constructor','cloudProvider','pw_result.json',',\x20WorkerIndex\x20-\x20','dvljf','TsukU','connect\x20android','jQriS','project','Accessibility\x20Automation\x20on\x20Android\x20is\x20only\x20supported\x20on\x20Chrome.\x20Got:\x20','DurkP','Page','testInfo','ETgim','onYFA','eFTLR','cZFzM','undefined','ipXIY','warn','[Accessibility]\x20Initialized\x20for\x20test:\x20autoScanning=','FhnIR','tmpdir','ysTNS',',\x20bstackA11yShouldScan=','getTestFramework','MHznr','Error\x20in\x20sending\x20CBT\x20Info\x20at\x20','DSuSN','hAgII','isMobilePlatform','automationLoggingMockApplied','rodSm','tNEwK'];a45_0x1da4=function(){return _0x15d40a;};return a45_0x1da4();}const workerDetails=a45_0x1084f9;global['__workerDetails']=workerDetails;const logPatcher=require(a45_0x1a588f(0x3d0)),BSTestOpsPatcher=new logPatcher({}),{consoleHolder}=require(a45_0x1a588f(0x3c7)),Constants=require(a45_0x1a588f(0x1bb)),scripts=require('../../helpers/accessibility-automation/scripts'),{patchConsoleLogger}=require(a45_0x1a588f(0x1f1)),globals=require('../../helpers/globals'),BrowserstackCLI=require(a45_0x1a588f(0x35f)),TestFrameworkState=require(a45_0x1a588f(0x1ed)),TestInfo=require('../v2/TestInfo'),ObservabilityModule=require(a45_0x1a588f(0x2ed)),AccessibilityModule=require(a45_0x1a588f(0x34b)),APIUtilityMethods=require(a45_0x1a588f(0x296)),{performScanWithRetry,saveAccessibilityResultsWithRetry}=require(a45_0x1a588f(0x384));patchConsoleLogger();const getCBTInfo=()=>{const _0x15ac42=a45_0x1a588f,_0x22fd94=PlaywrightSessionDetails['getDetails'](),_0x35591a={[_0x22fd94[_0x15ac42(0x23f)]]:{'browser':_0x22fd94[_0x15ac42(0x1d7)],'browser_version':_0x22fd94[_0x15ac42(0x27a)],'capabilities':_0x22fd94[_0x15ac42(0x1f6)],'platform':_0x22fd94[_0x15ac42(0x23c)],'platform_version':_0x22fd94[_0x15ac42(0x38e)],'product':_0x22fd94[_0x15ac42(0x302)],'session_id':_0x22fd94[_0x15ac42(0x324)]}};return _0x35591a;},sendCBTInfo=async _0x33a5f2=>{const _0x41c44e=a45_0x1a588f,_0x4c299e={'XSJtC':function(_0x217659,_0x5aa84b){return _0x217659(_0x5aa84b);},'JdCtQ':function(_0x37364d,_0x5cebaf,_0x16bfb5){return _0x37364d(_0x5cebaf,_0x16bfb5);},'ffZkV':_0x41c44e(0x30a),'mDsXq':'testInfo','OWHCD':function(_0x394ece){return _0x394ece();},'AcUDq':function(_0x2c1418,_0x4e5721){return _0x2c1418!==_0x4e5721;},'AtLtY':_0x41c44e(0x24f),'iZnSh':function(_0x3b280c,_0x541713){return _0x3b280c+_0x541713;},'JhkAg':function(_0x2d4f03,_0x326e7d){return _0x2d4f03(_0x326e7d);},'vJfqX':function(_0x254277,_0x2119bf){return _0x254277(_0x2119bf);},'mhasY':function(_0x1ca36b,_0x2b8268){return _0x1ca36b(_0x2b8268);}};try{_0x4c299e['XSJtC'](trace,_0x41c44e(0x3b9)+_0x33a5f2);if(_0x4c299e['JdCtQ'](nestedKeyValue,workerDetails,[_0x4c299e[_0x41c44e(0x379)],_0x4c299e[_0x41c44e(0x1ef)]])){const _0xc6276=_0x4c299e[_0x41c44e(0x3a2)](getCBTInfo);if(_0x4c299e['AcUDq'](Object[_0x41c44e(0x214)](_0xc6276)[0x0],_0x4c299e[_0x41c44e(0x275)])){const _0x5aac97=TestDetails[_0x41c44e(0x23d)](workerDetails['currentTest']['testInfo']);try{const _0x144e18=workerDetails[_0x41c44e(0x30a)]['testInfo'],_0x1067e2=_0x4c299e['iZnSh'](_0x4c299e[_0x41c44e(0x3d2)](TestDetails[_0x41c44e(0x367)](_0x144e18),'-'),_0x144e18[_0x41c44e(0x1b1)]),_0x4a7fca=TestDetails[_0x41c44e(0x2c3)](_0x1067e2);_0x4a7fca?TestDetails[_0x41c44e(0x1cf)](_0x4a7fca,_0xc6276):_0x4c299e['JhkAg'](debug,_0x41c44e(0x2fc)+_0x1067e2+_0x41c44e(0x2c6)+_0x33a5f2+_0x41c44e(0x39b));}catch(_0x3c6497){_0x4c299e[_0x41c44e(0x26a)](debug,_0x41c44e(0x2cf)+_0x33a5f2+'\x20'+util[_0x41c44e(0x3c0)](_0x3c6497));}await MyReporter['sendSessionDetails'](_0x5aac97,_0xc6276);}}}catch(_0xf04ad9){_0x4c299e['mhasY'](debug,_0x41c44e(0x259)+_0x33a5f2+'\x20'+util['format'](_0xf04ad9));}},mockRequests=()=>{const _0x2e365d=a45_0x1a588f,_0x51b806={'nQASP':function(_0x3c900a,_0x1c968e){return _0x3c900a===_0x1c968e;},'sZUVs':_0x2e365d(0x306),'aOdKE':_0x2e365d(0x3b8),'uCbgX':_0x2e365d(0x2cc),'xJzVZ':function(_0x5d77eb,_0x1de13d,_0x308b97){return _0x5d77eb(_0x1de13d,_0x308b97);},'pQgpi':_0x2e365d(0x3bb)};requestSpy[_0x2e365d(0x2a3)](_0x51b806[_0x2e365d(0x321)](o11yErrorHandler,async function _0x535180(_0x1ad1cf,_0x5d407a){const _0x1dcc31=_0x2e365d;_0x5d407a&&!(_0x5d407a[_0x1dcc31(0x276)]&&_0x51b806[_0x1dcc31(0x389)](_0x5d407a[_0x1dcc31(0x276)][_0x51b806['sZUVs']],_0x51b806['aOdKE']))&&(_0x5d407a[_0x1dcc31(0x2e8)]=_0x5d407a[_0x1dcc31(0x301)],delete _0x5d407a['hostname'],workerDetails[_0x1dcc31(0x30a)]['id']&&await MyReporter['addTestUIDAndReportLog'](TestDetails['getTestRunIdFromTestInfo'](workerDetails['currentTest'][_0x1dcc31(0x24a)]),{'timestamp':new Date()[_0x1dcc31(0x38f)](),'level':null,'message':null,'kind':_0x51b806[_0x1dcc31(0x1f8)],'http_response':_0x5d407a}));},_0x51b806['pQgpi']));},processPageScreenshot=async function processPageScreenshot(_0x5b474e,_0x4ef8d5){const _0x3ea682=a45_0x1a588f,_0x410cc1={};_0x410cc1[_0x3ea682(0x270)]=_0x3ea682(0x1ec);const _0x5b17c7=_0x410cc1;return await PerformanceTester['measureWrapper'](PerformanceO11yEvents[_0x3ea682(0x364)],async()=>{const _0x3f7268=_0x3ea682;return await MyReporter[_0x3f7268(0x203)](TestDetails['getTestRunIdFromTestInfo'](_0x4ef8d5),{'timestamp':new Date()[_0x3f7268(0x38f)](),'kind':_0x5b17c7[_0x3f7268(0x270)],'message':_0x5b474e});})();},mockPageScreenshot=o11yErrorHandler(function mockPageScreenshot(){const _0x4104fa=a45_0x1a588f,_0xecfc6={'BnBVN':function(_0x49db81,_0x43e4da,_0x416c3b){return _0x49db81(_0x43e4da,_0x416c3b);},'budyE':'base64','WtiGF':function(_0x42c88b,_0x327645){return _0x42c88b(_0x327645);},'fZXgl':'[Screenshot]\x20No\x20current\x20test\x20found','WTyOn':'screenshot','TKiuW':'lib','eltSF':_0x4104fa(0x32e),'QyFZN':'page.js','UKWfU':function(_0x4e6cad,_0x257885){return _0x4e6cad(_0x257885);},'qntUi':function(_0xa0257d,_0x19ddf7){return _0xa0257d(_0x19ddf7);},'NtYAj':_0x4104fa(0x292)},_0x26e91e=path['join'](_0xecfc6[_0x4104fa(0x391)],_0xecfc6[_0x4104fa(0x1fa)],_0xecfc6[_0x4104fa(0x363)]),_0x4682eb=_0xecfc6[_0x4104fa(0x287)](importFileFromPWCore,_0x26e91e);if(!_0x4682eb){_0xecfc6[_0x4104fa(0x368)](debug,_0xecfc6[_0x4104fa(0x263)]);return;}const _0x265235=_0x4682eb[_0x4104fa(0x249)];if(!_0x265235)return;const _0x526f04=_0x265235[_0x4104fa(0x295)];if(_0x526f04['obsScreenshotMockApplied'])return;const _0x4047cd=_0x526f04[_0x4104fa(0x211)];Object[_0x4104fa(0x3a0)](_0x526f04,_0xecfc6[_0x4104fa(0x33d)],{'get':function(){return async function _0x285257(_0x16424d){const _0x171171=a45_0x45b7,_0x2f455e={'bQyoN':function(_0x41da37,_0x96302c,_0x3cd1b9){const _0x5bd850=a45_0x45b7;return _0xecfc6[_0x5bd850(0x2ab)](_0x41da37,_0x96302c,_0x3cd1b9);},'pmpWE':_0xecfc6[_0x171171(0x2b8)]};if(!workerDetails[_0x171171(0x30a)][_0x171171(0x24a)])return _0xecfc6[_0x171171(0x3c5)](debug,_0xecfc6[_0x171171(0x2ca)]),_0x4047cd[_0x171171(0x2fe)](this,arguments);if(BrowserstackCLI['getInstance']()[_0x171171(0x201)]()){const _0x3028bc={};_0x3028bc[_0x171171(0x22a)]=_0xecfc6['WTyOn'],_0x3028bc[_0x171171(0x34c)]=_0x16424d[_0x171171(0x34c)];const _0x39fe19={};_0x39fe19[_0x171171(0x38b)]=[_0x3028bc];const _0x1a137c={};_0x1a137c[_0x171171(0x2f4)]=workerDetails[_0x171171(0x30a)]['testInfo'],_0x1a137c['result']=_0x39fe19,await BrowserstackCLI[_0x171171(0x1f9)]()[_0x171171(0x257)]()[_0x171171(0x20e)](TestFrameworkState[_0x171171(0x1ec)],HookState['PRE'],_0x1a137c);}return _0x4047cd['apply'](this,arguments)['then'](async _0x334ab5=>{const _0x39f932=_0x171171;return await _0x2f455e[_0x39f932(0x23b)](processPageScreenshot,_0x334ab5[_0x39f932(0x2ce)](_0x2f455e[_0x39f932(0x2a2)]),workerDetails['currentTest']['testInfo']),_0x334ab5;});};}}),_0x526f04[_0x4104fa(0x1bf)]=!![];},a45_0x1a588f(0x2c7)),mockPageEvaluate=o11yErrorHandler(function mockPageEvaluate(){const _0x31f87d=a45_0x1a588f,_0x40c029={'akilr':function(_0x243a9d,_0x2c692c){return _0x243a9d===_0x2c692c;},'UxoqW':_0x31f87d(0x370),'YkRWl':function(_0x1d07cd,_0x77f436){return _0x1d07cd(_0x77f436);},'mALJz':_0x31f87d(0x2e6),'ePjRy':_0x31f87d(0x32e),'NfXRQ':_0x31f87d(0x382),'xmpet':function(_0x928c76,_0x4b5635){return _0x928c76(_0x4b5635);},'WICpJ':_0x31f87d(0x2af),'LOCly':_0x31f87d(0x224)},_0x3571ff=path['join'](_0x40c029[_0x31f87d(0x1c8)],_0x40c029[_0x31f87d(0x261)],_0x40c029[_0x31f87d(0x216)]),_0x524ac7=_0x40c029[_0x31f87d(0x26f)](importFileFromPWCore,_0x3571ff);if(!_0x524ac7){_0x40c029[_0x31f87d(0x1de)](trace,_0x40c029['WICpJ']);return;}const _0x3c0e61=_0x524ac7[_0x31f87d(0x249)];if(!_0x3c0e61)return;const _0x1e116a=_0x3c0e61[_0x31f87d(0x295)];if(_0x1e116a[_0x31f87d(0x25d)])return;const _0x32a587=_0x1e116a[_0x31f87d(0x224)];Object['defineProperty'](_0x1e116a,_0x40c029[_0x31f87d(0x352)],{'get':function(){return async function _0x3eecb6(_0x55835b){const _0x284d8b=a45_0x45b7,_0xb68ed5=await _0x32a587['apply'](this,arguments);try{const _0x32e316=_0x55835b[_0x284d8b(0x2ce)](),_0x581e21=Array['from'](arguments)[_0x284d8b(0x346)](0x1),_0xd1742d=_0x581e21&&util[_0x284d8b(0x3c0)]('%j',_0x581e21);if(_0x32e316&&_0x40c029[_0x284d8b(0x1db)](typeof _0x32e316,_0x40c029[_0x284d8b(0x3b2)])){const _0x28aed6=AUTOMATION_LOG_COMMANDS[_0x284d8b(0x326)](_0x28da3d=>_0x32e316[_0x284d8b(0x394)](_0x28da3d)||_0xd1742d&&_0xd1742d[_0x284d8b(0x394)](_0x28da3d));if(_0x28aed6){const _0x3536e2={};_0x3536e2[_0x284d8b(0x362)]=_0x28aed6,_0x3536e2[_0x284d8b(0x33e)]=_0x581e21;const _0x2b34d6={};_0x2b34d6['body']=_0xb68ed5;const _0x5ab946={};_0x5ab946[_0x284d8b(0x268)]=_0x3536e2,_0x5ab946[_0x284d8b(0x1d3)]=_0x2b34d6,automationLogger['silly']('['+new Date()['toISOString']()+_0x284d8b(0x31a)+util[_0x284d8b(0x3c0)]('%j',_0x5ab946));}}}catch(_0x337885){_0x40c029[_0x284d8b(0x26f)](trace,'Error\x20while\x20logging\x20accessibility\x20automation\x20logs\x20in\x20page.evaluate\x20:\x20'+_0x337885[_0x284d8b(0x2d2)]);}return _0xb68ed5;};}}),_0x1e116a[_0x31f87d(0x25d)]=!![];},a45_0x1a588f(0x35c)),sendTestLog=o11yErrorHandler(async function sendTestLog(_0x165f87){const _0x68fd1c=a45_0x1a588f,_0x58e444=workerDetails[_0x68fd1c(0x30a)][_0x68fd1c(0x24a)];if(!_0x58e444)return;await MyReporter[_0x68fd1c(0x203)](TestDetails[_0x68fd1c(0x23d)](_0x58e444),_0x165f87);},a45_0x1a588f(0x22d)),registerListeners=()=>{const _0x3ab2d6=a45_0x1a588f;process[_0x3ab2d6(0x3d3)](_0x3ab2d6(0x308)+process[_0x3ab2d6(0x380)]),process['on'](_0x3ab2d6(0x308)+process[_0x3ab2d6(0x380)],sendTestLog),PerformanceTester[_0x3ab2d6(0x21b)]();},mockAndroidClose=()=>{const _0x165c0b=a45_0x1a588f,_0x38def5={'DpANo':'passed','KAPZV':_0x165c0b(0x38d),'QTkOE':_0x165c0b(0x345),'KKMZa':_0x165c0b(0x2f0),'zxPqa':function(_0x3f4df2,_0x598b2d,_0x4c199e){return _0x3f4df2(_0x598b2d,_0x4c199e);},'rdSIx':_0x165c0b(0x30a),'RjyBt':_0x165c0b(0x2a0),'yGVul':'lib','aaZgF':_0x165c0b(0x32e),'GAhnu':_0x165c0b(0x219),'vGvog':function(_0x3f868a,_0x2db29e){return _0x3f868a(_0x2db29e);},'XTHkq':_0x165c0b(0x32b),'xTdbc':function(_0x3f4275,_0x58fa8c){return _0x3f4275(_0x58fa8c);},'JMFYb':_0x165c0b(0x29f),'VAGDv':'close'},_0x22275e=path[_0x165c0b(0x27c)](_0x38def5[_0x165c0b(0x298)],_0x38def5[_0x165c0b(0x1d8)],_0x38def5[_0x165c0b(0x3a7)]),_0x1b02d8=_0x38def5['xTdbc'](importFileFromPWCore,_0x22275e);if(!_0x1b02d8){logger[_0x165c0b(0x2f1)](_0x38def5[_0x165c0b(0x356)]);return;}const _0x20a176=_0x1b02d8[_0x165c0b(0x26d)],_0x32b972=_0x20a176[_0x165c0b(0x295)],_0x953b19=_0x32b972[_0x165c0b(0x2ea)];Object[_0x165c0b(0x3a0)](_0x32b972,_0x38def5['VAGDv'],{'get':function(){return async function _0x4c286d(){const _0x1e56c7=a45_0x45b7,_0x2573b1={'RKJgt':_0x38def5['DpANo'],'geZMJ':_0x38def5[_0x1e56c7(0x386)],'qgabL':_0x38def5[_0x1e56c7(0x222)],'FGors':_0x38def5[_0x1e56c7(0x20f)],'KtpwO':function(_0x469304,_0xfb444,_0x5d5323){return _0x38def5['zxPqa'](_0x469304,_0xfb444,_0x5d5323);},'mbiKp':_0x38def5[_0x1e56c7(0x3cd)],'saewz':_0x38def5[_0x1e56c7(0x1ce)],'rXUym':_0x38def5[_0x1e56c7(0x298)],'FCpVM':_0x38def5['aaZgF'],'WGaJZ':_0x38def5[_0x1e56c7(0x29c)],'CjEDZ':function(_0x3f10b4,_0xf12c6a){return _0x38def5['vGvog'](_0x3f10b4,_0xf12c6a);},'btNxK':function(_0x34f378,_0x4891a3,_0x33bccd){const _0x3dc8af=_0x1e56c7;return _0x38def5[_0x3dc8af(0x3db)](_0x34f378,_0x4891a3,_0x33bccd);}};return _0x953b19[_0x1e56c7(0x2fe)](this,arguments)['then'](async()=>{const _0x40336b=_0x1e56c7;try{if([_0x2573b1['RKJgt'],_0x2573b1[_0x40336b(0x365)],_0x2573b1[_0x40336b(0x2a7)],_0x2573b1[_0x40336b(0x38c)]][_0x40336b(0x394)](_0x2573b1[_0x40336b(0x273)](nestedKeyValue,workerDetails,[_0x2573b1['mbiKp'],_0x2573b1[_0x40336b(0x2a9)]]))){const _0x5a822b=path[_0x40336b(0x27c)](_0x2573b1['rXUym'],_0x2573b1['FCpVM'],_0x2573b1['WGaJZ']),_0x3507bb=_0x2573b1[_0x40336b(0x303)](importFileFromPWCore,_0x5a822b);await _0x2573b1['btNxK'](promiseTimeout,new Promise(_0x56473c=>this['once'](_0x3507bb[_0x40336b(0x2be)][_0x40336b(0x2e1)][_0x40336b(0x2d7)],_0x56473c)),0x7530);}}catch(_0x46734d){logger['debug'](_0x40336b(0x274)+_0x46734d);}});};}});},mockBrowserType=()=>{const _0x35e0dc=a45_0x1a588f,_0x487202={'xAQjS':_0x35e0dc(0x246),'FVPpl':_0x35e0dc(0x1e5),'feRiO':function(_0x4ebee7,_0x4688b5){return _0x4ebee7>_0x4688b5;},'uRqya':function(_0x5cc2df,_0x10755f){return _0x5cc2df(_0x10755f);},'WPLkO':'[BrowserTypePatch]\x20No\x20project\x20info\x20found','hHqIW':function(_0x5794b4,_0x50f8e2){return _0x5794b4(_0x50f8e2);},'XnhUj':_0x35e0dc(0x244),'naMTR':function(_0x303350,_0x104fa5,_0x8a0dc5){return _0x303350(_0x104fa5,_0x8a0dc5);},'AoJCt':_0x35e0dc(0x354),'piaGH':'currentTest','EBYyF':'testInfo','PDGzx':_0x35e0dc(0x2b3),'ePoow':'Failed\x20to\x20parse\x20wsendpoint\x20%s\x20%s','VgLDX':_0x35e0dc(0x372),'riiUq':function(_0x4d9adf,_0x4c3fce){return _0x4d9adf===_0x4c3fce;},'LvmjA':_0x35e0dc(0x2f5),'ohLrW':function(_0x1551a1){return _0x1551a1();},'PNlWv':_0x35e0dc(0x20b),'dGAQb':_0x35e0dc(0x269),'spyRS':'chromium','ZSOJN':'Accessibility\x20Automation\x20is\x20enabled\x20for\x20Android\x20mobile\x20browser\x20(Chrome).','iFjur':function(_0x507756,_0x26e804){return _0x507756||_0x26e804;},'BENuk':_0x35e0dc(0x33b),'FYsaF':function(_0x2ad554,_0x425d2f){return _0x2ad554===_0x425d2f;},'BseoA':_0x35e0dc(0x3df),'KImMb':function(_0x59593f,_0x400e19){return _0x59593f!==_0x400e19;},'TZSpt':_0x35e0dc(0x30d),'gMXSp':_0x35e0dc(0x371),'zMQfs':_0x35e0dc(0x221),'pEAmZ':function(_0x440f23,_0x33aeac){return _0x440f23||_0x33aeac;},'ClEUu':_0x35e0dc(0x1bd),'rHebF':_0x35e0dc(0x20a),'rodSm':_0x35e0dc(0x1df),'FDmSE':function(_0x38039f,_0xc20d62){return _0x38039f(_0xc20d62);},'TVXku':function(_0x1a3b04,_0x179f64){return _0x1a3b04===_0x179f64;},'TjfKq':function(_0x16b508,_0x28a4b7,_0x359009,_0x1f8307){return _0x16b508(_0x28a4b7,_0x359009,_0x1f8307);},'rXGur':function(_0x338e25,_0x24ec00){return _0x338e25(_0x24ec00);},'FHUIh':function(_0x3626c3,_0x38823d){return _0x3626c3>_0x38823d;},'NngvV':function(_0xcae8bc,_0x22d148){return _0xcae8bc===_0x22d148;},'ZKCzX':function(_0x32674c,_0x4ee5f9){return _0x32674c>_0x4ee5f9;},'RGDHr':_0x35e0dc(0x370),'KVETr':_0x35e0dc(0x271),'HzXTJ':_0x35e0dc(0x1b0),'hzliH':_0x35e0dc(0x330),'IzZzG':function(_0x495093,_0x3fb4a2){return _0x495093(_0x3fb4a2);},'cJqQl':function(_0x5967e5,_0x10faac){return _0x5967e5(_0x10faac);},'MNmhc':_0x35e0dc(0x290),'JUUSF':function(_0x14f80f,_0x3352c4,_0x211d3e){return _0x14f80f(_0x3352c4,_0x211d3e);},'cxDmV':function(_0x9de919,_0x21344f,_0x2b1eb4){return _0x9de919(_0x21344f,_0x2b1eb4);},'XyhRr':function(_0x3e7ffe,_0x3129a5){return _0x3e7ffe||_0x3129a5;},'VdpZJ':function(_0x175aae){return _0x175aae();},'lTmXD':function(_0x9aead0){return _0x9aead0();},'PSiQF':_0x35e0dc(0x1ba),'wWyvB':function(_0xdbc8b1,_0x273b99){return _0xdbc8b1||_0x273b99;},'jvyhN':'goog:chromeOptions','ZNbzj':'child_process','KbvvR':_0x35e0dc(0x2d3),'AJrrz':function(_0x2f4b3a,_0x14215e){return _0x2f4b3a>_0x14215e;},'IjNEo':function(_0x513f81,_0x419f8b){return _0x513f81&&_0x419f8b;},'GYZEp':'Accessibility\x20scanner\x20scripts\x20loaded\x20via\x20gRPC\x20in\x20launch()','QYLfs':function(_0x5079f8,_0x4ed0b){return _0x5079f8&&_0x4ed0b;},'oAyrw':_0x35e0dc(0x2e6),'Nrjyk':_0x35e0dc(0x32e),'IVKYL':_0x35e0dc(0x1e6),'ETgim':function(_0x2e0061,_0x599e65){return _0x2e0061(_0x599e65);},'fGnsZ':_0x35e0dc(0x1dd)},_0x48e56b=path['join'](_0x487202[_0x35e0dc(0x277)],_0x487202[_0x35e0dc(0x1e9)],_0x487202[_0x35e0dc(0x265)]),_0x175a24=_0x487202[_0x35e0dc(0x24b)](importFileFromPWCore,_0x48e56b);if(!_0x175a24){_0x487202[_0x35e0dc(0x31d)](debug,_0x487202[_0x35e0dc(0x2e7)]);return;}const _0x1ab3a6=_0x175a24['BrowserType'],_0x4c4a39=_0x1ab3a6[_0x35e0dc(0x295)];if(_0x4c4a39[_0x35e0dc(0x1c2)])return;const _0x423a3a=_0x4c4a39[_0x35e0dc(0x271)];Object[_0x35e0dc(0x3a0)](_0x4c4a39,_0x487202[_0x35e0dc(0x2f6)],{'get':function(){const _0x20b2b6=_0x35e0dc,_0x44d10f={'TKXfP':function(_0x2694d1,_0x261f5c){const _0x369c00=a45_0x45b7;return _0x487202[_0x369c00(0x366)](_0x2694d1,_0x261f5c);},'CkmGQ':_0x487202['WPLkO'],'ajmpA':function(_0xd8e773,_0x10c1e6){const _0x16936e=a45_0x45b7;return _0x487202[_0x16936e(0x36c)](_0xd8e773,_0x10c1e6);},'ILQgd':_0x487202[_0x20b2b6(0x1f0)],'Trzyl':_0x487202['VgLDX'],'WIkJf':_0x487202[_0x20b2b6(0x2f6)]};return async function _0x331a10(_0x1f5629,_0x1f763a){const _0x4ccc02=_0x20b2b6,_0x605f07={'Wqudf':_0x487202[_0x4ccc02(0x235)],'znAxR':_0x487202[_0x4ccc02(0x1eb)],'YEPTV':function(_0x4cdfc4,_0x5754ff){const _0x23a74d=_0x4ccc02;return _0x487202[_0x23a74d(0x1e2)](_0x4cdfc4,_0x5754ff);},'iWQgH':function(_0x4a794c,_0x194119){const _0x199148=_0x4ccc02;return _0x487202[_0x199148(0x34a)](_0x4a794c,_0x194119);},'zlVNi':_0x487202[_0x4ccc02(0x3d7)],'cxxRS':function(_0x5c96e5,_0x3f3c81){const _0x373d03=_0x4ccc02;return _0x487202[_0x373d03(0x230)](_0x5c96e5,_0x3f3c81);},'tobot':_0x487202['XnhUj']},_0x3d858c=_0x487202[_0x4ccc02(0x28e)](nestedKeyValue,_0x1f5629,[_0x487202[_0x4ccc02(0x2dc)]])||_0x1f5629,_0x3ca9ba=_0x487202[_0x4ccc02(0x28e)](nestedKeyValue,workerDetails,[_0x487202['piaGH'],_0x487202[_0x4ccc02(0x1ff)],_0x487202[_0x4ccc02(0x235)],_0x487202['FVPpl'],_0x487202[_0x4ccc02(0x317)]]);let _0x3da714=null,_0x5ede59=null;try{[_0x5ede59,_0x3da714]=_0x3d858c?_0x487202[_0x4ccc02(0x34a)](parseWSEndpoint,_0x3d858c):[null,null];if(BrowserstackCLI[_0x4ccc02(0x1f9)]()[_0x4ccc02(0x201)]()){const _0x4b7894={};_0x4b7894[_0x4ccc02(0x272)]=_0x3da714,_0x4b7894['hubUrl']=_0x5ede59,await BrowserstackCLI[_0x4ccc02(0x1f9)]()[_0x4ccc02(0x2c5)]()[_0x4ccc02(0x20e)](AutomationFrameworkState['CREATE'],HookState[_0x4ccc02(0x311)],_0x4b7894);}global[_0x4ccc02(0x289)]=_0x3ca9ba;}catch(_0x266d70){logger[_0x4ccc02(0x2f1)](util[_0x4ccc02(0x3c0)](_0x487202[_0x4ccc02(0x228)],_0x3d858c,_0x266d70[_0x4ccc02(0x30f)]||_0x266d70['message']||_0x266d70));}try{const _0x4fccc5=_0x3da714&&(_0x3da714[_0x4ccc02(0x202)]||_0x3da714[_0x4ccc02(0x210)]||_0x3da714[_0x487202[_0x4ccc02(0x266)]]&&(_0x3da714[_0x487202['VgLDX']]['device']||_0x3da714[_0x487202['VgLDX']][_0x4ccc02(0x210)])),_0x21f13b=_0x3da714&&(_0x3da714['os']||_0x3da714[_0x487202[_0x4ccc02(0x266)]]&&_0x3da714[_0x487202[_0x4ccc02(0x266)]]['os']);if(_0x4fccc5&&!_0x4fccc5['toLowerCase']()['match'](/iphone|ipad/)&&(!_0x21f13b||_0x487202[_0x4ccc02(0x1dc)](_0x21f13b[_0x4ccc02(0x34f)](),_0x487202[_0x4ccc02(0x312)]))){if(_0x487202[_0x4ccc02(0x395)](isAccessibilityAutomationSession)){const _0x6a49fe=_0x3da714['browser']||_0x3da714['browserName'],_0x5cd849=_0x6a49fe&&[_0x487202[_0x4ccc02(0x3b6)],_0x487202['dGAQb'],_0x487202[_0x4ccc02(0x1c4)]]['includes'](_0x6a49fe[_0x4ccc02(0x34f)]());if(_0x5cd849&&!_0x487202[_0x4ccc02(0x395)](isMobileScanningEnabledForGroup))logger[_0x4ccc02(0x251)](MOBILE_SCANNING_DISABLED_WARNING),global[_0x4ccc02(0x32d)]=![];else _0x5cd849?(logger['info'](_0x487202[_0x4ccc02(0x399)]),global[_0x4ccc02(0x32d)]=!![],global[_0x4ccc02(0x25c)]=!![]):(logger['warn'](_0x4ccc02(0x247)+_0x487202[_0x4ccc02(0x3a5)](_0x6a49fe,_0x487202[_0x4ccc02(0x376)])),global[_0x4ccc02(0x32d)]=![]);}const _0x193f6d=_0x487202['FYsaF'](typeof _0x1f5629,_0x487202[_0x4ccc02(0x232)])&&_0x487202[_0x4ccc02(0x2fb)](_0x1f5629,null)?Object[_0x4ccc02(0x3ae)]({},_0x1f5629,_0x1f763a):_0x1f763a;return base[_0x4ccc02(0x205)]['connect'][_0x4ccc02(0x2fe)](this,[_0x3d858c,_0x193f6d])[_0x4ccc02(0x1be)](async _0x59c63a=>{const _0x4e320a=_0x4ccc02,_0x33486d={'BmvSm':_0x605f07[_0x4e320a(0x3a1)],'DDxLd':_0x605f07[_0x4e320a(0x381)],'dPetQ':function(_0x42b36f,_0x13ea0b){return _0x605f07['YEPTV'](_0x42b36f,_0x13ea0b);}},_0x398206=workerDetails['currentTest'][_0x4e320a(0x24a)]||workerDetails[_0x4e320a(0x20a)];workerDetails[_0x4e320a(0x2c9)]=!![],_0x59c63a[_0x4e320a(0x2e0)]=function(){const _0x5d0416=_0x4e320a,_0x5faf4d=helper['nestedKeyValue'](_0x398206,[_0x33486d[_0x5d0416(0x2ad)],_0x33486d[_0x5d0416(0x3d6)]])||{};return _0x33486d['dPetQ'](arguments['length'],0x0)?arguments[0x0]=Object[_0x5d0416(0x3ae)]({},arguments[0x0],_0x5faf4d):arguments[0x0]=Object[_0x5d0416(0x3ae)]({},_0x5faf4d),delete arguments[0x0]['recordVideo'],_0x59c63a[_0x5d0416(0x213)][_0x5d0416(0x2fe)](this,arguments);};if(!_0x398206)return _0x605f07[_0x4e320a(0x2de)](debug,_0x605f07['zlVNi']),_0x59c63a;return PlaywrightSessionDetails[_0x4e320a(0x267)](_0x59c63a,_0x398206),!BrowserstackCLI['getInstance']()[_0x4e320a(0x201)]()&&await _0x605f07[_0x4e320a(0x358)](sendCBTInfo,_0x605f07['tobot']),_0x59c63a;});}}catch(_0x41f084){logger[_0x4ccc02(0x2f1)](util[_0x4ccc02(0x3c0)](_0x487202[_0x4ccc02(0x2a8)],_0x41f084[_0x4ccc02(0x30f)]||_0x41f084[_0x4ccc02(0x2d2)]));}AccessibilityHelper[_0x4ccc02(0x220)](_0x3da714,_0x5ede59,workerDetails);const _0x57a20d=JSON[_0x4ccc02(0x2ff)](_0x3da714)[_0x4ccc02(0x369)](/"browserstack\.user":"[^"]*"/g,_0x487202[_0x4ccc02(0x2d6)])[_0x4ccc02(0x369)](/"browserstack\.key":"[^"]*"/g,_0x487202[_0x4ccc02(0x332)]);logger[_0x4ccc02(0x2f1)]('Processed\x20accessibility\x20caps\x20'+global[_0x4ccc02(0x32d)]+'\x20'+_0x57a20d);if(global[_0x4ccc02(0x32d)]&&!scripts['performScan']&&BrowserstackCLI[_0x4ccc02(0x1f9)]()['isRunning']()&&BrowserstackCLI[_0x4ccc02(0x1f9)]()[_0x4ccc02(0x2ae)]())try{const _0x5cc58a={'launchcaps':_0x487202[_0x4ccc02(0x1e1)](_0x3da714,{}),'platformCaps':_0x3ca9ba,'hubUrl':_0x5ede59},_0x30059d=await GrpcClient[_0x4ccc02(0x1f9)]()['getAccessibilityConfig'](_0x5cc58a);_0x30059d&&_0x30059d[_0x4ccc02(0x2b6)]()&&_0x30059d[_0x4ccc02(0x2b6)]()['getSuccess']()&&(await BrowserstackCLI[_0x4ccc02(0x1f9)]()['getAccessibilityModule']()[_0x4ccc02(0x3dd)](_0x30059d,_0x5cc58a),logger[_0x4ccc02(0x2f1)](_0x487202['ClEUu']));}catch(_0x10954b){logger[_0x4ccc02(0x2f1)](_0x4ccc02(0x234)+_0x10954b);}const _0x4258c0=helper['nestedKeyValue'](workerDetails,[_0x487202['rHebF'],_0x487202[_0x4ccc02(0x235)],_0x487202[_0x4ccc02(0x1eb)],_0x487202[_0x4ccc02(0x25e)]]);if(global['accessibilityPlatform']&&helper['isBrowserstackInfra']()&&!process[_0x4ccc02(0x3e1)][_0x4ccc02(0x1b5)]){logger[_0x4ccc02(0x2f1)](_0x4ccc02(0x1b3)+APIUtilityMethods[_0x4ccc02(0x3a4)](''));const _0x451c97=''+APIUtilityMethods['getPlaywrightHubUrl']('')+_0x487202[_0x4ccc02(0x316)](encodeURIComponent,JSON['stringify'](_0x3da714)),_0x56f2a4=_0x487202[_0x4ccc02(0x359)](typeof _0x1f5629,_0x487202[_0x4ccc02(0x232)])&&_0x487202['KImMb'](_0x1f5629,null)?Object['assign']({},_0x1f763a,_0x1f5629,_0x4258c0):Object[_0x4ccc02(0x3ae)]({},_0x1f763a,_0x4258c0);return await _0x487202[_0x4ccc02(0x3a9)](connectOverCDPWithRetry,_0x4c4a39,this,_0x56f2a4?[_0x451c97,_0x56f2a4]:[_0x451c97]);}return!_0x487202[_0x4ccc02(0x366)](isFalse,helper['isBrowserstackInfra']())&&_0x487202[_0x4ccc02(0x1f3)](arguments[_0x4ccc02(0x310)],0x0)&&(_0x487202[_0x4ccc02(0x1d0)](typeof arguments[0x0],_0x487202['BseoA'])?Object[_0x4ccc02(0x3ae)](arguments[0x0],_0x4258c0):(arguments[0x0]=helper[_0x4ccc02(0x305)](_0x4258c0,[_0x487202[_0x4ccc02(0x2dc)]]),_0x487202[_0x4ccc02(0x3dc)](arguments['length'],0x1)&&(arguments[0x1]=Object[_0x4ccc02(0x3ae)]({},arguments[0x1],_0x4258c0)))),_0x423a3a[_0x4ccc02(0x2fe)](this,arguments)[_0x4ccc02(0x1be)](async _0x36dc87=>{const _0xda0360=_0x4ccc02,_0x3334fe=workerDetails[_0xda0360(0x30a)][_0xda0360(0x24a)]||workerDetails['workerInfo'];if(!_0x3334fe)return _0x44d10f[_0xda0360(0x3c6)](debug,_0x44d10f[_0xda0360(0x3e2)]),_0x36dc87;let _0x278914=_0x1f5629[_0xda0360(0x354)];_0x44d10f[_0xda0360(0x1b6)](typeof _0x1f5629,_0x44d10f[_0xda0360(0x341)])&&(_0x278914=_0x1f5629);const _0x5669f9=_0x3da714&&(_0x3da714['device']||_0x3da714[_0xda0360(0x210)]||_0x3da714[_0x44d10f[_0xda0360(0x1e0)]]&&(_0x3da714[_0x44d10f[_0xda0360(0x1e0)]][_0xda0360(0x202)]||_0x3da714[_0x44d10f['Trzyl']][_0xda0360(0x210)])),_0x2e6b16=_0x5669f9&&_0x5669f9['toLowerCase']()[_0xda0360(0x3a8)](/iphone|ipad/);return _0x2e6b16&&(workerDetails[_0xda0360(0x2a1)]=!![]),PlaywrightSessionDetails[_0xda0360(0x267)](_0x36dc87,_0x3334fe,_0x278914),!BrowserstackCLI['getInstance']()[_0xda0360(0x201)]()&&await _0x44d10f[_0xda0360(0x3c6)](sendCBTInfo,_0x44d10f['WIkJf']),_0x36dc87;});};}});const _0x217445=_0x4c4a39[_0x35e0dc(0x290)];Object['defineProperty'](_0x4c4a39,_0x487202[_0x35e0dc(0x212)],{'get':function(){const _0xb088cd=_0x35e0dc,_0x291775={'uKpks':function(_0x13daec,_0x77e755){const _0x3ae271=a45_0x45b7;return _0x487202[_0x3ae271(0x316)](_0x13daec,_0x77e755);},'NNbXZ':_0x487202[_0xb088cd(0x3d7)],'cqZJe':_0x487202['HzXTJ'],'GLAgO':_0x487202['xAQjS'],'TshKp':_0x487202[_0xb088cd(0x1eb)],'xDSBk':_0x487202[_0xb088cd(0x3c9)],'zbwuw':function(_0x1bd480,_0x528ada){return _0x487202['IzZzG'](_0x1bd480,_0x528ada);},'WDWfN':function(_0x48ad45,_0x4cfdd7){return _0x487202['cJqQl'](_0x48ad45,_0x4cfdd7);},'jQriS':_0x487202[_0xb088cd(0x212)],'WDnbG':function(_0x4b5f32,_0x340b18,_0x4364c9){const _0x56bf30=_0xb088cd;return _0x487202[_0x56bf30(0x39a)](_0x4b5f32,_0x340b18,_0x4364c9);},'pkdOc':_0x487202[_0xb088cd(0x37d)],'IcEaQ':_0x487202[_0xb088cd(0x1ff)],'hAgII':_0x487202[_0xb088cd(0x25e)],'BFjRq':_0x487202[_0xb088cd(0x2dc)],'hPqKM':function(_0x2be9f9,_0x268c01,_0x35c63c){const _0x5e5a66=_0xb088cd;return _0x487202[_0x5e5a66(0x36e)](_0x2be9f9,_0x268c01,_0x35c63c);},'zUDyM':_0x487202[_0xb088cd(0x317)],'teKXq':function(_0x556b9d,_0x2cb1c0){const _0x39ff87=_0xb088cd;return _0x487202[_0x39ff87(0x327)](_0x556b9d,_0x2cb1c0);},'ymmyV':_0x487202[_0xb088cd(0x266)],'iswAB':function(_0x2be151,_0x37ef50){return _0x487202['TVXku'](_0x2be151,_0x37ef50);},'yHbqe':_0x487202['LvmjA'],'chbvY':function(_0x11eb5f){return _0x487202['VdpZJ'](_0x11eb5f);},'CKZAQ':_0x487202[_0xb088cd(0x3b6)],'YTqhC':_0x487202['dGAQb'],'GQoYZ':_0x487202[_0xb088cd(0x1c4)],'owudg':function(_0x8fdf5d){const _0x4a4d6a=_0xb088cd;return _0x487202[_0x4a4d6a(0x2d0)](_0x8fdf5d);},'pvCYp':_0x487202[_0xb088cd(0x399)],'cZFzM':function(_0x5e2a80,_0x4f6a73){return _0x487202['XyhRr'](_0x5e2a80,_0x4f6a73);},'LlGqf':_0x487202[_0xb088cd(0x376)],'tBUXn':_0x487202[_0xb088cd(0x2dd)],'PWaGL':_0x487202['PSiQF'],'ZROiC':function(_0x1a1eca,_0x322500){return _0x487202['wWyvB'](_0x1a1eca,_0x322500);},'VSfpK':_0x487202['RGDHr'],'ddMrR':_0x487202[_0xb088cd(0x2c8)],'QJYob':_0x487202[_0xb088cd(0x2d8)],'kHgwI':_0x487202['KbvvR'],'PIvgZ':function(_0x18a0dd,_0x416b9e){const _0x1ec8d6=_0xb088cd;return _0x487202[_0x1ec8d6(0x3b1)](_0x18a0dd,_0x416b9e);},'pigLW':function(_0x115cc4,_0x195b55){const _0x16b6f8=_0xb088cd;return _0x487202[_0x16b6f8(0x337)](_0x115cc4,_0x195b55);},'dCUUu':function(_0x441f22,_0x164895){return _0x487202['IzZzG'](_0x441f22,_0x164895);},'PAeOB':function(_0x53e586,_0x1fdb19){return _0x487202['iFjur'](_0x53e586,_0x1fdb19);},'tVBxz':_0x487202[_0xb088cd(0x2bb)],'DurkP':function(_0x371a29,_0x459840,_0x1e2e6c,_0x14907b){const _0x2d54d4=_0xb088cd;return _0x487202[_0x2d54d4(0x3a9)](_0x371a29,_0x459840,_0x1e2e6c,_0x14907b);},'PfCve':function(_0x22a0cc,_0x4004d3){return _0x487202['QYLfs'](_0x22a0cc,_0x4004d3);}};return async function _0x491465(..._0x8aba61){const _0x22642e=_0xb088cd,_0x1ba215={'utAFQ':_0x291775[_0x22642e(0x215)],'MHznr':_0x291775['TshKp'],'SkThh':_0x291775['xDSBk'],'nytuN':function(_0x21310c,_0xfc99e){return _0x291775['zbwuw'](_0x21310c,_0xfc99e);},'FnGCU':_0x291775[_0x22642e(0x3ad)],'OBqTE':function(_0x1b5694,_0xa94a74){const _0x7b1e3=_0x22642e;return _0x291775[_0x7b1e3(0x223)](_0x1b5694,_0xa94a74);},'FuWEz':_0x291775[_0x22642e(0x245)]},_0x35ca3e=_0x291775[_0x22642e(0x283)](nestedKeyValue,workerDetails,[_0x291775['pkdOc'],_0x291775[_0x22642e(0x2ee)],_0x291775[_0x22642e(0x215)],_0x291775['TshKp'],_0x291775[_0x22642e(0x25b)],_0x291775[_0x22642e(0x3bc)]]),_0x43de66=_0x291775[_0x22642e(0x3d9)](nestedKeyValue,workerDetails,[_0x291775[_0x22642e(0x2d5)],_0x291775[_0x22642e(0x2ee)],_0x291775[_0x22642e(0x215)],_0x291775[_0x22642e(0x340)],_0x291775[_0x22642e(0x200)]]),_0x7c792a=_0x291775[_0x22642e(0x3d9)](nestedKeyValue,workerDetails,[_0x291775[_0x22642e(0x2d5)],_0x291775[_0x22642e(0x2ee)],_0x291775['GLAgO'],_0x291775['TshKp']]);let _0x5bbff8=null,_0x3d8ff1=null;try{[_0x3d8ff1,_0x5bbff8]=_0x35ca3e?_0x291775[_0x22642e(0x2f8)](parseWSEndpoint,_0x35ca3e):[null,null],BrowserstackCLI[_0x22642e(0x1f9)]()[_0x22642e(0x201)]()&&await BrowserstackCLI[_0x22642e(0x1f9)]()['getAutomationFramework']()[_0x22642e(0x20e)](AutomationFrameworkState[_0x22642e(0x1c9)],HookState[_0x22642e(0x311)],{'launchcaps':_0x291775['teKXq'](_0x5bbff8,_0x7c792a),'hubUrl':_0x3d8ff1}),global[_0x22642e(0x289)]=_0x43de66;}catch(_0x27f1f6){logger[_0x22642e(0x2f1)](_0x22642e(0x3da)+_0x35ca3e+'\x20'+_0x27f1f6);}try{const _0x315e76=_0x5bbff8&&(_0x5bbff8[_0x22642e(0x202)]||_0x5bbff8[_0x22642e(0x210)]||_0x5bbff8[_0x291775[_0x22642e(0x1b7)]]&&(_0x5bbff8[_0x291775['ymmyV']][_0x22642e(0x202)]||_0x5bbff8[_0x291775[_0x22642e(0x1b7)]][_0x22642e(0x210)])),_0x5da4de=_0x5bbff8&&(_0x5bbff8['os']||_0x5bbff8[_0x291775[_0x22642e(0x1b7)]]&&_0x5bbff8[_0x291775[_0x22642e(0x1b7)]]['os']);if(_0x315e76&&!_0x315e76[_0x22642e(0x34f)]()['match'](/iphone|ipad/)&&(!_0x5da4de||_0x291775[_0x22642e(0x314)](_0x5da4de[_0x22642e(0x34f)](),_0x291775[_0x22642e(0x3b7)]))){if(_0x291775['chbvY'](isAccessibilityAutomationSession)){const _0x38ecea=_0x5bbff8[_0x22642e(0x1d7)]||_0x5bbff8[_0x22642e(0x309)],_0x394dfa=_0x38ecea&&[_0x291775[_0x22642e(0x2c4)],_0x291775[_0x22642e(0x297)],_0x291775[_0x22642e(0x398)]][_0x22642e(0x394)](_0x38ecea[_0x22642e(0x34f)]());if(_0x394dfa&&!_0x291775[_0x22642e(0x33c)](isMobileScanningEnabledForGroup))logger['warn'](MOBILE_SCANNING_DISABLED_WARNING),global[_0x22642e(0x32d)]=![];else _0x394dfa?(logger[_0x22642e(0x1b4)](_0x291775[_0x22642e(0x21e)]),global[_0x22642e(0x32d)]=!![],global[_0x22642e(0x25c)]=!![]):(logger[_0x22642e(0x251)](_0x22642e(0x247)+_0x291775[_0x22642e(0x24e)](_0x38ecea,_0x291775['LlGqf'])),global[_0x22642e(0x32d)]=![]);}return base[_0x22642e(0x205)][_0x22642e(0x271)][_0x22642e(0x2fe)](this,[helper['nestedKeyValue'](workerDetails,[_0x291775[_0x22642e(0x1e3)],_0x291775['GLAgO'],_0x291775['TshKp'],_0x291775[_0x22642e(0x25b)],_0x291775[_0x22642e(0x3bc)]])])[_0x22642e(0x1be)](async _0x453f14=>{const _0x45ca99=_0x22642e,_0x4cba1b=workerDetails[_0x45ca99(0x30a)][_0x45ca99(0x24a)]||workerDetails[_0x45ca99(0x20a)];_0x453f14[_0x45ca99(0x2e0)]=function(){const _0x305840=_0x45ca99;return arguments[0x0]=Object[_0x305840(0x3ae)](arguments[0x0],helper[_0x305840(0x305)](_0x4cba1b,[_0x1ba215[_0x305840(0x1b8)],_0x1ba215[_0x305840(0x258)]])||{}),_0x453f14[_0x305840(0x213)][_0x305840(0x2fe)](this,arguments);};if(!_0x4cba1b)return _0x291775[_0x45ca99(0x2eb)](debug,_0x291775[_0x45ca99(0x3ad)]),_0x453f14;return PlaywrightSessionDetails[_0x45ca99(0x267)](_0x453f14,_0x4cba1b),!BrowserstackCLI['getInstance']()[_0x45ca99(0x201)]()&&await _0x291775[_0x45ca99(0x2eb)](sendCBTInfo,_0x291775[_0x45ca99(0x1d6)]),_0x453f14;});}}catch(_0x3f2464){logger[_0x22642e(0x2f1)](util[_0x22642e(0x3c0)](_0x291775[_0x22642e(0x320)],_0x3f2464[_0x22642e(0x30f)]||_0x3f2464[_0x22642e(0x2d2)]));}if(BrowserstackCLI[_0x22642e(0x1f9)]()[_0x22642e(0x201)]()&&BrowserstackCLI[_0x22642e(0x1f9)]()['getAccessibilityModule']()&&BrowserstackCLI[_0x22642e(0x1f9)]()['getAccessibilityModule']()[_0x22642e(0x3b4)]&&!helper[_0x22642e(0x28c)]()){let _0x15ee49=BrowserstackCLI[_0x22642e(0x1f9)]()['getAccessibilityModule']()[_0x22642e(0x2e5)]();if(!_0x15ee49)try{const _0x38c0e4={'launchcaps':_0x291775[_0x22642e(0x2aa)](_0x5bbff8,_0x7c792a)||{},'platformCaps':_0x43de66,'hubUrl':_0x3d8ff1},_0x239f8f=await GrpcClient['getInstance']()[_0x22642e(0x1cd)](_0x38c0e4);_0x239f8f&&_0x239f8f[_0x22642e(0x2b6)]()&&_0x239f8f[_0x22642e(0x2b6)]()[_0x22642e(0x2fa)]()&&(await BrowserstackCLI[_0x22642e(0x1f9)]()[_0x22642e(0x2ae)]()[_0x22642e(0x3dd)](_0x239f8f,_0x38c0e4),_0x15ee49=BrowserstackCLI[_0x22642e(0x1f9)]()[_0x22642e(0x2ae)]()['getGoogleChromeOptions']());}catch(_0x132d58){logger[_0x22642e(0x2f1)]('Failed\x20to\x20fetch\x20accessibility\x20config\x20locally:\x20'+_0x132d58);}if(_0x15ee49){if(_0x291775[_0x22642e(0x314)](typeof _0x15ee49,_0x291775[_0x22642e(0x2b1)]))try{_0x15ee49=JSON['parse'](_0x15ee49);}catch(_0x5991d1){logger['debug'](_0x22642e(0x1d1)+_0x5991d1);}_0x15ee49&&_0x15ee49[_0x291775['ddMrR']]&&(_0x15ee49=_0x15ee49[_0x291775[_0x22642e(0x233)]]);if(_0x15ee49&&Array[_0x22642e(0x21c)](_0x15ee49[_0x22642e(0x349)]))try{const _0x4895b1=_0x291775[_0x22642e(0x2f8)](require,'os'),_0xc0f680=_0x291775[_0x22642e(0x2eb)](require,_0x291775[_0x22642e(0x1fe)]),_0x3668f3=_0x4895b1[_0x22642e(0x254)](),_0x47dc21=fs['mkdtempSync'](path[_0x22642e(0x27c)](_0x3668f3,_0x291775[_0x22642e(0x279)])),_0x1083b1=[];_0x15ee49['extensions'][_0x22642e(0x323)]((_0x169438,_0x3bedde)=>{const _0x34a6b2=_0x22642e,_0x5bf432=path[_0x34a6b2(0x27c)](_0x47dc21,'ext-'+_0x3bedde),_0x4dabbc=path['join'](_0x47dc21,_0x34a6b2(0x1fd)+_0x3bedde+_0x34a6b2(0x328));try{fs['writeFileSync'](_0x4dabbc,Buffer[_0x34a6b2(0x1c6)](_0x169438,_0x1ba215[_0x34a6b2(0x39f)])),fs[_0x34a6b2(0x1f7)](_0x5bf432),_0xc0f680[_0x34a6b2(0x1c0)]('unzip\x20-q\x20\x22'+_0x4dabbc+_0x34a6b2(0x325)+_0x5bf432+'\x22'),_0x1083b1[_0x34a6b2(0x3b0)](_0x5bf432);}catch(_0x40a9c7){logger[_0x34a6b2(0x2f1)](_0x34a6b2(0x3c1)+_0x40a9c7);}});if(_0x291775['PIvgZ'](_0x1083b1[_0x22642e(0x310)],0x0)){_0x15ee49[_0x22642e(0x35b)]=_0x15ee49[_0x22642e(0x35b)]||[];const _0x21ad37=_0x22642e(0x236)+_0x1083b1[_0x22642e(0x27c)](',');_0x15ee49[_0x22642e(0x35b)][_0x22642e(0x3b0)](_0x21ad37);}delete _0x15ee49[_0x22642e(0x349)];}catch(_0x99a2d1){logger[_0x22642e(0x2f1)](_0x22642e(0x374)+_0x99a2d1);}global['accessibilityPlatform']=!![];const _0x4c6fa1=await _0x4c4a39['launchPersistentContext'][_0x22642e(0x2fe)](this,['',_0x15ee49]),_0x380f8a=_0x4c6fa1[_0x22642e(0x1d7)]();if(!helper['isBrowserstackInfra']()){const _0x28be25=workerDetails[_0x22642e(0x30a)][_0x22642e(0x24a)]||workerDetails[_0x22642e(0x20a)];_0x291775[_0x22642e(0x2d4)](_0x28be25,_0x380f8a)&&await PlaywrightSessionDetails[_0x22642e(0x267)](_0x380f8a,_0x28be25),(!BrowserstackCLI[_0x22642e(0x1f9)]()||!BrowserstackCLI[_0x22642e(0x1f9)]()[_0x22642e(0x2c5)]())&&await _0x291775[_0x22642e(0x226)](sendCBTInfo,_0x291775[_0x22642e(0x245)]);}return _0x380f8a;}}if(helper[_0x22642e(0x28c)]()){AccessibilityHelper[_0x22642e(0x220)](_0x5bbff8,_0x3d8ff1,workerDetails);if(global[_0x22642e(0x32d)]&&!scripts['performScan']&&BrowserstackCLI[_0x22642e(0x1f9)]()[_0x22642e(0x201)]()&&BrowserstackCLI['getInstance']()[_0x22642e(0x2ae)]())try{const _0x13852b={'launchcaps':_0x291775['PAeOB'](_0x5bbff8,_0x7c792a)||{},'platformCaps':_0x43de66,'hubUrl':_0x3d8ff1},_0x5a01ee=await GrpcClient[_0x22642e(0x1f9)]()[_0x22642e(0x1cd)](_0x13852b);_0x5a01ee&&_0x5a01ee[_0x22642e(0x2b6)]()&&_0x5a01ee['getAccessibility']()['getSuccess']()&&(await BrowserstackCLI[_0x22642e(0x1f9)]()[_0x22642e(0x2ae)]()[_0x22642e(0x3dd)](_0x5a01ee,_0x13852b),logger[_0x22642e(0x2f1)](_0x291775['tVBxz']));}catch(_0x32de6a){logger[_0x22642e(0x2f1)](_0x22642e(0x217)+_0x32de6a);}if(global[_0x22642e(0x32d)]&&!process['env'][_0x22642e(0x1b5)]){const _0x421fa4=await _0x291775[_0x22642e(0x248)](connectOverCDPWithRetry,_0x4c4a39,this,[''+APIUtilityMethods[_0x22642e(0x3a4)]('')+_0x291775['zbwuw'](encodeURIComponent,JSON[_0x22642e(0x2ff)](_0x5bbff8))]);if(!helper[_0x22642e(0x28c)]()){const _0x10f625=workerDetails[_0x22642e(0x30a)][_0x22642e(0x24a)]||workerDetails[_0x22642e(0x20a)];_0x291775[_0x22642e(0x3a3)](_0x10f625,_0x421fa4)&&await PlaywrightSessionDetails[_0x22642e(0x267)](_0x421fa4,_0x10f625),(!BrowserstackCLI[_0x22642e(0x1f9)]()||!BrowserstackCLI[_0x22642e(0x1f9)]()[_0x22642e(0x2c5)]())&&await _0x291775[_0x22642e(0x226)](sendCBTInfo,_0x291775['jQriS']);}return _0x421fa4;}}return _0x217445[_0x22642e(0x2fe)](this,arguments)[_0x22642e(0x1be)](async _0x2c5a5c=>{const _0x5b0773=_0x22642e,_0x5ba6ed=workerDetails['currentTest'][_0x5b0773(0x24a)]||workerDetails[_0x5b0773(0x20a)];if(!_0x5ba6ed)return _0x1ba215[_0x5b0773(0x29d)](debug,_0x1ba215[_0x5b0773(0x2f7)]),_0x2c5a5c;return PlaywrightSessionDetails[_0x5b0773(0x267)](_0x2c5a5c,_0x5ba6ed),!BrowserstackCLI['getInstance']()[_0x5b0773(0x201)]()&&await _0x1ba215[_0x5b0773(0x2ef)](sendCBTInfo,_0x1ba215[_0x5b0773(0x3de)]),_0x2c5a5c;});};}});},beforeWorkerHook=o11yErrorHandler(function beforeWorkerHook(_0x1a5918){const _0x2f4565=a45_0x1a588f,_0x3f8422={'iDfYX':_0x2f4565(0x347),'vdeNi':function(_0x3331a0){return _0x3331a0();},'gVZEh':function(_0x2a66fe){return _0x2a66fe();},'WLQXg':function(_0x21679b){return _0x21679b();},'foXwW':function(_0x583518){return _0x583518();}},_0x17a020=_0x3f8422[_0x2f4565(0x2bf)][_0x2f4565(0x3be)]('|');let _0x3f7329=0x0;while(!![]){switch(_0x17a020[_0x3f7329++]){case'0':const _0x11efb2={};_0x11efb2['logLevel']=process[_0x2f4565(0x3e1)][_0x2f4565(0x29e)],helper[_0x2f4565(0x1f4)](_0x11efb2,new Map(),new Map());continue;case'1':PerformanceTester[_0x2f4565(0x299)](PerformanceEvents[_0x2f4565(0x281)]);continue;case'2':workerDetails['workerInfo']=_0x1a5918;continue;case'3':_0x3f8422[_0x2f4565(0x32a)](mockPageEvaluate);continue;case'4':if(!_0x3f8422[_0x2f4565(0x1f5)](isTestObservabilitySession))return;continue;case'5':_0x3f8422[_0x2f4565(0x1f5)](mockBrowserType);continue;case'6':_0x3f8422['WLQXg'](registerListeners);continue;case'7':try{_0x3f8422[_0x2f4565(0x1c1)](mockContextNewPage);}catch(_0x5b8d5e){logger['debug'](_0x2f4565(0x22c)+_0x5b8d5e);}continue;case'8':_0x3f8422[_0x2f4565(0x1f5)](mockRequests);continue;case'9':_0x3f8422[_0x2f4565(0x1c1)](mockPageScreenshot);continue;case'10':try{_0x3f8422[_0x2f4565(0x1c1)](mockAndroidClose);}catch(_0x2e00a1){logger[_0x2f4565(0x2f1)]('Unable\x20to\x20mock\x20android\x20close\x20for\x20graceful\x20close.\x20Error\x20:\x20'+_0x2e00a1);}continue;case'11':PerformanceTester[_0x2f4565(0x3aa)](PerformanceEvents[_0x2f4565(0x281)]);continue;}break;}},a45_0x1a588f(0x22e),[a45_0x1a588f(0x288)],!![]),afterWorkerHook=o11yErrorHandler(async function afterWorkerHook(_0x355304){const _0x2787f7=a45_0x1a588f,_0xb34041={'dRXKr':function(_0x34780d,_0x3fc669){return _0x34780d(_0x3fc669);},'xkGsI':_0x2787f7(0x288)};if(BrowserstackCLI[_0x2787f7(0x1f9)]()['isRunning']()){PerformanceTester[_0x2787f7(0x3bf)]();return;}await RequestQueueHandler[_0x2787f7(0x1f9)]()['shutdown'](),PerformanceTester[_0x2787f7(0x3bf)](),_0xb34041['dRXKr'](debug,_0x2787f7(0x353)+process['pid']+_0x2787f7(0x241)+helper[_0x2787f7(0x305)](_0x355304,[_0xb34041[_0x2787f7(0x31f)]]));},'afterWorkerHook',[a45_0x1a588f(0x288)],!![]),beforeTestHook=o11yErrorHandler(async function beforeTestHook(_0x2bf219){const _0x3c0de9=a45_0x1a588f,_0x23af5a={'gRhNv':function(_0x42325c,_0x229a3d){return _0x42325c(_0x229a3d);},'ipXIY':_0x3c0de9(0x300),'AhINQ':function(_0x4d5809,_0x71de65){return _0x4d5809===_0x71de65;},'XnadU':_0x3c0de9(0x2b5),'pidey':'\x20-\x20'};globals[_0x3c0de9(0x2db)](_0x23af5a[_0x3c0de9(0x30b)],_0x2bf219[_0x3c0de9(0x284)]&&_0x2bf219[_0x3c0de9(0x284)]['join'](_0x23af5a[_0x3c0de9(0x208)])),await PerformanceTester[_0x3c0de9(0x231)](PerformanceEvents['SDK_HOOK'],async()=>{const _0xfe27eb=_0x3c0de9;workerDetails[_0xfe27eb(0x30a)]={'id':TestDetails[_0xfe27eb(0x367)](_0x2bf219),'testInfo':_0x2bf219,'testStatus':_0x2bf219[_0xfe27eb(0x2a5)]},workerDetails['isPageFixture']=null,workerDetails['a11ySavePerformed']=![];const _0x19ef4f=TestDetails['getTestRunIdFromTestInfo'](_0x2bf219);workerDetails[_0xfe27eb(0x30a)][_0xfe27eb(0x1b2)]=TestDetails[_0xfe27eb(0x2c3)](_0x19ef4f),logger['debug'](_0xfe27eb(0x37f)+workerDetails[_0xfe27eb(0x30a)][_0xfe27eb(0x1b2)]);!BrowserstackCLI['getInstance']()[_0xfe27eb(0x201)]()&&await _0x23af5a['gRhNv'](sendCBTInfo,_0x23af5a[_0xfe27eb(0x250)]);let _0x5f0544=!![];try{const _0x3936ec=JSON[_0xfe27eb(0x2cd)](process['env'][_0xfe27eb(0x360)]||'{}');_0x23af5a[_0xfe27eb(0x1e4)](_0x3936ec[_0xfe27eb(0x278)],![])&&(_0x5f0544=![]);}catch(_0x3f0551){logger[_0xfe27eb(0x2f1)](_0xfe27eb(0x26c)+_0x3f0551['message']);}global[_0xfe27eb(0x361)]=_0x5f0544,logger['debug'](_0xfe27eb(0x252)+_0x5f0544+_0xfe27eb(0x256)+global[_0xfe27eb(0x361)]);},{'hookType':_0x23af5a['ipXIY']})();},a45_0x1a588f(0x300),['title'],!![]),afterTestHook=o11yErrorHandler(async function afterTestHook(_0x11bbda){const _0x58bb92=a45_0x1a588f,_0x42634e={'knleU':_0x58bb92(0x2fd),'KiBLn':function(_0x3658d4,_0x436e7c){return _0x3658d4(_0x436e7c);},'vuOBF':'title','bzrET':_0x58bb92(0x209),'KUJkg':'browserstackTestName','bAnQx':'\x20-\x20','onYFA':function(_0x51fac7,_0x1d653d){return _0x51fac7(_0x1d653d);},'yTwNZ':function(_0xe89239,_0x417f75){return _0xe89239(_0x417f75);},'Ujnwx':'Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case.\x20Error\x20:','sgGnl':_0x58bb92(0x34e),'EeXOL':function(_0x38811a){return _0x38811a();},'jSIAr':function(_0x42b394,_0x421759){return _0x42b394(_0x421759);},'pfGcR':function(_0x33f80c,_0x377d19,_0xb067e0){return _0x33f80c(_0x377d19,_0xb067e0);},'lnmWN':function(_0x495f82,_0x2b3964,_0x323637){return _0x495f82(_0x2b3964,_0x323637);},'HCPng':function(_0x2654a1,_0x3c3c1b){return _0x2654a1+_0x3c3c1b;},'uBHLT':_0x58bb92(0x2bc)},_0x478ae2=_0x42634e[_0x58bb92(0x3ba)]['split']('|');let _0x5e274b=0x0;while(!![]){switch(_0x478ae2[_0x5e274b++]){case'0':_0x42634e[_0x58bb92(0x2a4)](debug,_0x58bb92(0x2f2)+process[_0x58bb92(0x380)]+_0x58bb92(0x1c7)+helper[_0x58bb92(0x305)](_0x11bbda,[_0x42634e[_0x58bb92(0x304)]])+',\x20Test\x20File\x20-\x20'+helper[_0x58bb92(0x305)](_0x11bbda,[_0x42634e[_0x58bb92(0x37a)]]));continue;case'1':PerformanceTester[_0x58bb92(0x3aa)](PerformanceEvents[_0x58bb92(0x39e)]);continue;case'2':PerformanceTester[_0x58bb92(0x3aa)](PerformanceEvents[_0x58bb92(0x28f)]);continue;case'3':globals['setGlobal'](_0x42634e[_0x58bb92(0x3a6)],_0x11bbda[_0x58bb92(0x284)]&&_0x11bbda[_0x58bb92(0x284)]['join'](_0x42634e['bAnQx']));continue;case'4':_0x42634e[_0x58bb92(0x24c)](debug,_0x58bb92(0x1d5)+process[_0x58bb92(0x380)]+_0x58bb92(0x1c7)+helper[_0x58bb92(0x305)](_0x11bbda,[_0x42634e[_0x58bb92(0x304)]])+',\x20Test\x20File\x20-\x20'+helper['nestedKeyValue'](_0x11bbda,[_0x42634e[_0x58bb92(0x37a)]]));continue;case'5':const _0x44da67={};_0x44da67['id']=undefined,_0x44da67[_0x58bb92(0x24a)]=undefined,_0x44da67[_0x58bb92(0x2a0)]=_0x11bbda[_0x58bb92(0x2a5)],workerDetails['currentTest']=_0x44da67;continue;case'6':if(!_0x42634e[_0x58bb92(0x24c)](isFalse,process[_0x58bb92(0x3e1)][_0x58bb92(0x3af)])||!_0x42634e[_0x58bb92(0x2a4)](isFalse,process[_0x58bb92(0x3e1)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'])){try{logger[_0x58bb92(0x1b4)](_0x58bb92(0x22b)+global[_0x58bb92(0x32d)]+_0x58bb92(0x256)+global[_0x58bb92(0x361)]),global[_0x58bb92(0x32d)]&&await _0x42634e[_0x58bb92(0x378)](saveAccessibilityResults,_0x11bbda);}catch(_0x5e4fb0){logger[_0x58bb92(0x2f1)](_0x42634e[_0x58bb92(0x2f3)],_0x5e4fb0);const _0x152048={};_0x152048[_0x58bb92(0x2df)]=_0x42634e[_0x58bb92(0x206)],PerformanceTester[_0x58bb92(0x299)](PerformanceEvents[_0x58bb92(0x39e)],![],_0x5e4fb0,_0x152048),PerformanceTester['end'](PerformanceEvents['SDK_POST_TEST'],![],_0x5e4fb0);}if(!BrowserstackCLI['getInstance']()[_0x58bb92(0x201)]()){await MyReporter['sendSessionDetails'](TestDetails['getTestRunIdFromTestInfo'](_0x11bbda),_0x42634e[_0x58bb92(0x1d2)](getCBTInfo));;}}continue;case'7':PerformanceTester['end'](PerformanceEvents[_0x58bb92(0x28f)]);continue;case'8':const _0x38fc0c={};_0x38fc0c[_0x58bb92(0x2df)]=_0x42634e[_0x58bb92(0x206)],PerformanceTester[_0x58bb92(0x299)](PerformanceEvents[_0x58bb92(0x39e)],!![],null,_0x38fc0c);continue;case'9':try{if(!_0x42634e[_0x58bb92(0x378)](isFalse,BrowserstackCLI[_0x58bb92(0x1f9)]()[_0x58bb92(0x201)]())){const _0x597dbc={};_0x597dbc[_0x58bb92(0x1f2)]=workerDetails[_0x58bb92(0x31c)],_0x597dbc['testInfo']=_0x11bbda,_0x597dbc['testFramework']=FRAMEWORKS['PLAYWRIGHT'],await BrowserstackCLI[_0x58bb92(0x1f9)]()['getAutomationFramework']()[_0x58bb92(0x20e)](AutomationFrameworkState[_0x58bb92(0x1c9)],HookState[_0x58bb92(0x357)],_0x597dbc);}else!_0x42634e['jSIAr'](isFalse,helper[_0x58bb92(0x28c)]())&&(!workerDetails[_0x58bb92(0x1ea)]&&await _0x42634e[_0x58bb92(0x3bd)](playwrightSetSessionName,workerDetails['pwPage'],_0x11bbda),await _0x42634e['lnmWN'](playwrightMarkSessionStatus,workerDetails[_0x58bb92(0x31c)],_0x11bbda));}catch(_0x5972e0){logger['debug'](_0x42634e[_0x58bb92(0x227)](_0x42634e[_0x58bb92(0x1e8)],util['format'](_0x5972e0)));const _0x5a24ed={};_0x5a24ed[_0x58bb92(0x2df)]=_0x42634e['sgGnl'],PerformanceTester[_0x58bb92(0x299)](PerformanceEvents[_0x58bb92(0x39e)],![],_0x5972e0,_0x5a24ed),PerformanceTester['end'](PerformanceEvents['SDK_POST_TEST'],![],_0x5972e0);}continue;}break;}},'afterTestHook',[a45_0x1a588f(0x2e3)],!![]),mockContextTracing=o11yErrorHandler(function mockContextTracing(_0x225514){const _0x138892=a45_0x1a588f,_0x417daa={'CNrBx':function(_0x201b72,_0x335dcb,_0xbe0efb){return _0x201b72(_0x335dcb,_0xbe0efb);},'FhnIR':_0x138892(0x34c),'TXvlb':function(_0x5a2ecd,_0x17eb84){return _0x5a2ecd(_0x17eb84);},'cGWiJ':'Error\x20in\x20sending\x20trace\x20file\x20for\x20tracing\x20proto\x20:\x20%O','TDmCk':function(_0x5947ad,_0x10566c,_0x486c9e){return _0x5947ad(_0x10566c,_0x486c9e);},'EqCgB':function(_0x49c151,_0x5b707a,_0x5a829f){return _0x49c151(_0x5b707a,_0x5a829f);},'PSrvn':_0x138892(0x3aa),'rBQOL':'stop'},_0x53098d=_0x225514[_0x138892(0x2b7)][_0x138892(0x23e)][_0x138892(0x295)];if(_0x53098d[_0x138892(0x3d4)])return;const _0x28747e=_0x53098d['start'];Object[_0x138892(0x3a0)](_0x53098d,_0x417daa[_0x138892(0x32f)],{'get':function(){return async function _0x34da92(){const _0xc9d97=a45_0x45b7;return _0x28747e[_0xc9d97(0x2fe)](this,arguments);};}});const _0x52f5f3=_0x53098d[_0x138892(0x30e)];Object['defineProperty'](_0x53098d,_0x417daa['rBQOL'],{'get':function(){const _0x1e530d=_0x138892,_0x4d2210={'OMblY':function(_0x4a5c3b,_0x3633a2,_0x3f25e8){const _0x30f606=a45_0x45b7;return _0x417daa[_0x30f606(0x1fb)](_0x4a5c3b,_0x3633a2,_0x3f25e8);},'wsePf':_0x417daa[_0x1e530d(0x253)],'BpGCJ':function(_0x3c5d15,_0x36c6ef){const _0x1331be=_0x1e530d;return _0x417daa[_0x1331be(0x282)](_0x3c5d15,_0x36c6ef);},'eBiXR':_0x417daa[_0x1e530d(0x319)],'dvljf':function(_0x246b24,_0x5bb3e4,_0x3917d5){return _0x417daa['TDmCk'](_0x246b24,_0x5bb3e4,_0x3917d5);},'yJaBw':function(_0x277417,_0x5a2643){const _0x4feae8=_0x1e530d;return _0x417daa[_0x4feae8(0x282)](_0x277417,_0x5a2643);},'bSWtO':function(_0xf1c694,_0x350aed,_0xd719a6){const _0x2a5a90=_0x1e530d;return _0x417daa[_0x2a5a90(0x351)](_0xf1c694,_0x350aed,_0xd719a6);}};return async function _0x5deb61(){const _0x3a51be=_0x1e530d,_0x5addce=await _0x52f5f3[_0x3a51be(0x2fe)](this,arguments);if(BrowserstackCLI[_0x3a51be(0x1f9)]()['isRunning']()){const _0x24a0ce=workerDetails?.['currentTest']?.[_0x3a51be(0x24a)],_0x206598=TestInfo[_0x3a51be(0x1da)](_0x24a0ce,_0x24a0ce?.[_0x3a51be(0x1b1)]),_0x24bf41=TestInfo[_0x3a51be(0x2c3)](_0x206598);try{const _0x124297=_0x4d2210[_0x3a51be(0x3c8)](findNestedKey,arguments,_0x4d2210[_0x3a51be(0x3d8)]);_0x4d2210[_0x3a51be(0x307)](validateFilePath,_0x124297)&&TestInfo[_0x3a51be(0x373)](_0x124297,_0x24bf41),await _0x4d2210[_0x3a51be(0x3c8)](sendTraceZip,arguments,_0x24bf41);}catch(_0x1deb6d){logger[_0x3a51be(0x3c4)](util[_0x3a51be(0x3c0)](_0x4d2210['eBiXR'],_0x1deb6d));}}else{const _0x468911=TestDetails[_0x3a51be(0x2c3)](TestDetails['getTestRunIdFromTestInfo'](workerDetails[_0x3a51be(0x30a)]['testInfo']));try{const _0x18b4ff=_0x4d2210[_0x3a51be(0x242)](findNestedKey,arguments,_0x4d2210['wsePf']);_0x4d2210[_0x3a51be(0x348)](validateFilePath,_0x18b4ff)&&TestDetails[_0x3a51be(0x373)](_0x18b4ff,_0x468911),await _0x4d2210[_0x3a51be(0x37c)](sendTraceZip,arguments,_0x468911);}catch(_0x5472ae){logger[_0x3a51be(0x3c4)](util[_0x3a51be(0x3c0)](_0x4d2210[_0x3a51be(0x36f)],_0x5472ae));}}return _0x5addce;};}}),_0x53098d[_0x138892(0x3d4)]=!![];},a45_0x1a588f(0x342)),storeTestResults=_0x151104=>{const _0x17f107=a45_0x1a588f,_0x183fb7={'RYeoE':_0x17f107(0x2e3),'fjkfE':function(_0x7f6c08,_0x1f7d8f,_0x164647){return _0x7f6c08(_0x1f7d8f,_0x164647);},'KYfLS':_0x17f107(0x31b),'ZApQb':_0x17f107(0x240)};try{if(!_0x151104['errors'])return;;const _0x5f10f6={},_0x387a94=[];_0x151104['errors'][_0x17f107(0x323)](_0x917f3e=>{const _0x417275=_0x17f107;_0x387a94[_0x417275(0x3b0)](_0x917f3e[_0x417275(0x30f)]);});const _0x2f8588=helper['nestedKeyValue'](_0x151104,[_0x183fb7[_0x17f107(0x333)]]);_0x5f10f6[_0x2f8588]=_0x387a94[_0x17f107(0x27c)](',\x20');const _0x30aba=workerDetails?.[_0x17f107(0x1af)],_0x2ad161=_0x30aba?.['platform']+',\x20'+_0x30aba?.['platform_version']+',\x20'+_0x30aba?.[_0x17f107(0x1d7)]+',\x20'+_0x183fb7[_0x17f107(0x21a)](parseInt,_0x30aba?.[_0x17f107(0x27a)],0xa),_0xcc73a9=path['join'](helper[_0x17f107(0x385)](),_0x183fb7[_0x17f107(0x33f)],_0x183fb7[_0x17f107(0x280)]);let _0x3ef1b0={};fs['existsSync'](_0xcc73a9)&&(_0x3ef1b0=fs[_0x17f107(0x2e2)](_0xcc73a9),_0x3ef1b0=JSON[_0x17f107(0x2cd)](_0x3ef1b0));if(!!_0x3ef1b0[_0x2ad161]){const _0x1a13c5=Object[_0x17f107(0x3ae)]({},_0x3ef1b0[_0x2ad161],_0x5f10f6);_0x3ef1b0[_0x2ad161]=_0x1a13c5;}else _0x3ef1b0[_0x2ad161]=_0x5f10f6;fs[_0x17f107(0x383)](_0xcc73a9,JSON[_0x17f107(0x2ff)](_0x3ef1b0));}catch(_0x34b5e5){logger[_0x17f107(0x2f1)]('Error\x20in\x20storing\x20test\x20information,\x20Exception:\x20'+_0x34b5e5);}},saveAccessibilityResults=async _0x31e970=>{const _0x25fdc5=a45_0x1a588f,_0x533586={'EVpKD':_0x25fdc5(0x3d5),'DSuSN':function(_0x5ec01b,_0xa8c22d,_0x1f4435){return _0x5ec01b(_0xa8c22d,_0x1f4435);},'DhMiA':function(_0x324644,_0x5d5540){return _0x324644&&_0x5d5540;},'cBUfk':_0x25fdc5(0x3e0),'DLAye':_0x25fdc5(0x218),'PAdxi':'4|1|2|3|0','mkwai':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','bBUWz':_0x25fdc5(0x28b)};if(workerDetails[_0x25fdc5(0x343)]){logger[_0x25fdc5(0x2f1)](_0x533586[_0x25fdc5(0x30c)]);return;}const _0x1b2ff5=workerDetails[_0x25fdc5(0x30a)]['testInfo'],_0x3e7b75=_0x533586[_0x25fdc5(0x25a)](shouldScanTestForAccessibility,_0x1b2ff5[_0x25fdc5(0x284)],!![]),_0x4e06ab=PlaywrightSessionDetails['getDetails'](),_0x44dc73=AccessibilityHelper[_0x25fdc5(0x2e4)](_0x4e06ab),_0x43657a=TestDetails[_0x25fdc5(0x2c3)](TestDetails[_0x25fdc5(0x23d)](_0x31e970)),_0x584b03=workerDetails[_0x25fdc5(0x31c)];TestDetails['setAccessibilityPlatformValidation'](_0x533586[_0x25fdc5(0x2bd)](_0x44dc73,_0x3e7b75),_0x43657a);if(_0x44dc73){let _0x3894d0;if(BrowserstackCLI['getInstance']()['isRunning']()){_0x3894d0={'thTestRunUuid':TestInfo[_0x25fdc5(0x2c3)](TestInfo[_0x25fdc5(0x1da)](_0x1b2ff5,_0x1b2ff5?.[_0x25fdc5(0x1b1)])),'thBuildUuid':process[_0x25fdc5(0x3e1)][testHubConstants[_0x25fdc5(0x31e)]['BROWSERSTACK_TESTHUB_UUID']],'thJwtToken':process[_0x25fdc5(0x3e1)][testHubConstants['ENV_VAR'][_0x25fdc5(0x285)]]};const _0x19d3ea=await GrpcClient[_0x25fdc5(0x1f9)]()[_0x25fdc5(0x20d)](process[_0x25fdc5(0x3e1)][_0x25fdc5(0x27e)],_0x533586['cBUfk'],_0x533586[_0x25fdc5(0x3cb)]);_0x3894d0=AccessibilityModule[_0x25fdc5(0x2b0)](TestInfo[_0x25fdc5(0x2c3)](TestInfo[_0x25fdc5(0x1da)](_0x1b2ff5,_0x1b2ff5['retry'])),_0x19d3ea);}else{const _0x53975d={};_0x53975d['thTestRunUuid']=_0x43657a,_0x53975d[_0x25fdc5(0x338)]=process[_0x25fdc5(0x3e1)][testHubConstants[_0x25fdc5(0x31e)][_0x25fdc5(0x204)]],_0x53975d[_0x25fdc5(0x28a)]=process[_0x25fdc5(0x3e1)][testHubConstants[_0x25fdc5(0x31e)][_0x25fdc5(0x285)]],_0x3894d0=_0x53975d;}if(_0x3e7b75){const _0x522f85=_0x533586[_0x25fdc5(0x2ac)][_0x25fdc5(0x3be)]('|');let _0x9e9391=0x0;while(!![]){switch(_0x522f85[_0x9e9391++]){case'0':workerDetails.a11ySavePerformed=true;continue;case'1':logger['info'](_0x533586[_0x25fdc5(0x36d)]);continue;case'2':if(global.bstackA11yShouldScan!==false){logger.debug('Performing scan before saving results.');logger.debug(`result=${util.format(await performScanWithRetry(_0x584b03,scripts.performScan))}`);}else{logger.debug('[Accessibility] Skipping final scan (scanning is currently disabled), saving collected results');}continue;case'3':logger.debug(`saved Result scan=${util.format(await saveAccessibilityResultsWithRetry(_0x584b03,_0x3894d0))}`);continue;case'4':logger[_0x25fdc5(0x2f1)](_0x25fdc5(0x2ba)+JSON[_0x25fdc5(0x2ff)](_0x3894d0));continue;}break;}}_0x3e7b75&&logger[_0x25fdc5(0x1b4)](_0x533586[_0x25fdc5(0x39c)]);}};function a45_0x45b7(_0x47d2de,_0x2bb340){const _0x1da4bd=a45_0x1da4();return a45_0x45b7=function(_0x45b7e9,_0x1f348d){_0x45b7e9=_0x45b7e9-0x1af;let _0x18da67=_0x1da4bd[_0x45b7e9];return _0x18da67;},a45_0x45b7(_0x47d2de,_0x2bb340);}function injectFixturesIntoSharedPool(_0x1daf10,_0x189e42){const _0x2db713=a45_0x1a588f,_0x14651a={'zIuuG':function(_0x32f37e,_0x479aca){return _0x32f37e(_0x479aca);},'tRLWm':'testType_symbol_not_found','beSAS':_0x2db713(0x3b5)};try{if(!_0x1daf10)return![];const _0x599031=Object['getOwnPropertySymbols'](_0x1daf10),_0x23506a=_0x599031[_0x2db713(0x326)](_0x532e2e=>String(_0x532e2e)==='Symbol(testType)');if(!_0x23506a)return _0x14651a[_0x2db713(0x388)](warnInjectFallbackOnce,_0x14651a[_0x2db713(0x335)]),![];const _0x18ad74=_0x1daf10[_0x23506a];if(!_0x18ad74||!Array[_0x2db713(0x21c)](_0x18ad74['fixtures']))return _0x14651a[_0x2db713(0x388)](warnInjectFallbackOnce,_0x14651a[_0x2db713(0x1cb)]),![];if(_0x18ad74[_0x2db713(0x26e)])return!![];const _0x1d98f8={};_0x1d98f8[_0x2db713(0x209)]=__filename,_0x1d98f8['line']=0x0,_0x1d98f8[_0x2db713(0x33a)]=0x0;const _0x1dd33d={};return _0x1dd33d[_0x2db713(0x1bc)]=_0x189e42,_0x1dd33d['location']=_0x1d98f8,_0x18ad74[_0x2db713(0x1bc)][_0x2db713(0x3b0)](_0x1dd33d),_0x18ad74[_0x2db713(0x26e)]=!![],!![];}catch(_0x463630){return _0x14651a[_0x2db713(0x388)](warnInjectFallbackOnce,'exception:'+(_0x463630&&_0x463630[_0x2db713(0x2d2)])),![];}}let _injectFallbackWarned=![];function warnInjectFallbackOnce(_0x4066f3){const _0x26d345=a45_0x1a588f;if(_injectFallbackWarned)return;_injectFallbackWarned=!![];try{logger['warn'](_0x26d345(0x21f)+_0x4066f3+');\x20falling\x20back\x20to\x20test.extend().\x20Auto\x20fixtures\x20may\x20not\x20fire\x20for\x20ESM-bridged\x20consumers.\x20This\x20usually\x20means\x20a\x20Playwright\x20internals\x20change.');}catch(_0xb0a78){}}const a45_0x33a141={};a45_0x33a141[a45_0x1a588f(0x2da)]=!![],a45_0x33a141[a45_0x1a588f(0x2b9)]='test';const a45_0x618138={};a45_0x618138[a45_0x1a588f(0x2da)]=!![],a45_0x618138[a45_0x1a588f(0x2b9)]=a45_0x1a588f(0x1c5);const browserstackFixtures={'page':async({page:_0xb127fe},_0x5ba1ee,_0x4afaf3)=>{const _0x315d4d=a45_0x1a588f,_0x383391={'hfRww':_0x315d4d(0x1cc),'ysTNS':function(_0x1ef123,_0x530885){return _0x1ef123(_0x530885);},'evFcQ':'Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case.\x20Error\x20:','IWURV':function(_0x538b81,_0x197e0a){return _0x538b81(_0x197e0a);},'ikdHB':function(_0x4dc559,_0x23b33e,_0x587389){return _0x4dc559(_0x23b33e,_0x587389);}},_0x575e8e=_0x383391['hfRww']['split']('|');let _0x4a209b=0x0;while(!![]){switch(_0x575e8e[_0x4a209b++]){case'0':workerDetails[_0x315d4d(0x1ea)]=!![];continue;case'1':await _0x383391[_0x315d4d(0x255)](_0x5ba1ee,_0xb127fe);continue;case'2':try{await _0x383391[_0x315d4d(0x255)](saveAccessibilityResults,_0x4afaf3);}catch(_0x3e7fec){logger[_0x315d4d(0x2f1)](_0x383391[_0x315d4d(0x322)],_0x3e7fec);}continue;case'3':workerDetails[_0x315d4d(0x31c)]=_0xb127fe;continue;case'4':if(!_0x383391[_0x315d4d(0x255)](isFalse,BrowserstackCLI[_0x315d4d(0x1f9)]()[_0x315d4d(0x201)]())){const _0x623f5c={};_0x623f5c[_0x315d4d(0x1f2)]=_0xb127fe,_0x623f5c[_0x315d4d(0x24a)]=_0x4afaf3,_0x623f5c['testFramework']=FRAMEWORKS['PLAYWRIGHT'],await BrowserstackCLI[_0x315d4d(0x1f9)]()['getAutomationFramework']()[_0x315d4d(0x20e)](AutomationFrameworkState[_0x315d4d(0x1c9)],HookState[_0x315d4d(0x357)],_0x623f5c);}else!_0x383391[_0x315d4d(0x387)](isFalse,helper[_0x315d4d(0x28c)]())&&await _0x383391['ikdHB'](playwrightSetSessionName,_0xb127fe,_0x4afaf3);continue;}break;}},'context':async({context:_0x38b4ad,browser:_0xaf8087},_0x551905,_0xa73823)=>{const _0x28b06d=a45_0x1a588f,_0x4032d3={'QDeXX':function(_0x24823b,_0x3ee9ad){return _0x24823b(_0x3ee9ad);},'YUbSE':function(_0x8deedb,_0x391139){return _0x8deedb(_0x391139);},'TsukU':_0x28b06d(0x392),'KXctP':_0x28b06d(0x331),'bZcOI':function(_0x1537ee,_0x13ea7e){return _0x1537ee(_0x13ea7e);},'UsXMX':function(_0x9c6818,_0x580446){return _0x9c6818(_0x580446);},'ylYfL':function(_0x5fd4c4,_0x1033d5){return _0x5fd4c4(_0x1033d5);},'Qusrp':function(_0x144c07,_0x37a3b7){return _0x144c07(_0x37a3b7);},'ZHBMF':function(_0x3d6a91,_0x495f19){return _0x3d6a91(_0x495f19);},'Qhubj':function(_0x28d09b,_0x38f3fa){return _0x28d09b(_0x38f3fa);}};if(BrowserstackCLI['getInstance']()[_0x28b06d(0x201)]()){const _0x166172={};_0x166172[_0x28b06d(0x2f9)]=_0x38b4ad,_0x166172['testFramework']=FRAMEWORKS['PLAYWRIGHT'],await BrowserstackCLI[_0x28b06d(0x1f9)]()[_0x28b06d(0x2c5)]()['trackEvent'](AutomationFrameworkState[_0x28b06d(0x1c9)],HookState[_0x28b06d(0x357)],_0x166172);}if((workerDetails[_0x28b06d(0x2c9)]||workerDetails[_0x28b06d(0x2a1)])&&_0x38b4ad){const _0x53e1be=workerDetails[_0x28b06d(0x2c9)]?_0x4032d3[_0x28b06d(0x243)]:_0x4032d3[_0x28b06d(0x238)],_0x1b6e2f=_0x38b4ad[_0x28b06d(0x2ea)];_0x38b4ad[_0x28b06d(0x2ea)]=async function(){const _0x2ff3d6=_0x28b06d;_0x4032d3['QDeXX'](debug,_0x53e1be+_0x2ff3d6(0x26b));try{await Promise['race']([_0x1b6e2f[_0x2ff3d6(0x2fe)](this,arguments),new Promise(_0x2be9b5=>setTimeout(_0x2be9b5,0x1388))]),_0x4032d3[_0x2ff3d6(0x229)](debug,_0x53e1be+'\x20context.close()\x20completed');}catch(_0xe310d2){_0x4032d3[_0x2ff3d6(0x2cb)](debug,_0x53e1be+'\x20context.close()\x20error\x20(ignoring):\x20'+util[_0x2ff3d6(0x3c0)](_0xe310d2));}};}if(global['accessibilityPlatform']&&!process[_0x28b06d(0x3e1)][_0x28b06d(0x1b5)]&&!workerDetails[_0x28b06d(0x2c9)]&&!workerDetails['isIOSDevice']){_0x38b4ad['close']();const _0x228030=await _0xaf8087[_0x28b06d(0x2b2)]()[0x0];!_0x4032d3[_0x28b06d(0x294)](isFalse,process[_0x28b06d(0x3e1)]['BROWSERSTACK_TEST_OBSERVABILITY'])&&_0x4032d3[_0x28b06d(0x2c0)](mockContextTracing,_0x228030),await _0x4032d3[_0x28b06d(0x3b3)](_0x551905,_0x228030);}else!_0x4032d3[_0x28b06d(0x393)](isFalse,process[_0x28b06d(0x3e1)][_0x28b06d(0x3af)])&&_0x4032d3[_0x28b06d(0x2c2)](mockContextTracing,_0x38b4ad),await _0x4032d3[_0x28b06d(0x27d)](_0x551905,_0x38b4ad);},'__browserstack_testHook':[async({},_0x1865da,_0x22f89b)=>{const _0x4ab324=a45_0x1a588f,_0x4dbc34={'dLiGY':_0x4ab324(0x35a),'asapF':function(_0x1ab8c7,_0x2b6b0c){return _0x1ab8c7(_0x2b6b0c);},'KLNxc':_0x4ab324(0x34e),'GbZQC':function(_0x3939d4){return _0x3939d4();},'fqoFj':function(_0x3f6beb,_0x23644b){return _0x3f6beb(_0x23644b);}},_0x4c670b=_0x4dbc34['dLiGY'][_0x4ab324(0x3be)]('|');let _0x33768a=0x0;while(!![]){switch(_0x4c670b[_0x33768a++]){case'0':PerformanceTester['end'](PerformanceEvents[_0x4ab324(0x1c3)]);continue;case'1':_0x4dbc34['asapF'](debug,_0x4ab324(0x29b)+process[_0x4ab324(0x380)]);continue;case'2':if(BrowserstackCLI['getInstance']()[_0x4ab324(0x201)]()){const _0x4eb921={};_0x4eb921['testInfo']=_0x22f89b,_0x4eb921[_0x4ab324(0x35d)]=FRAMEWORKS[_0x4ab324(0x3ac)],await BrowserstackCLI['getInstance']()[_0x4ab324(0x2c5)]()[_0x4ab324(0x20e)](AutomationFrameworkState[_0x4ab324(0x286)],HookState['POST'],_0x4eb921);const _0x389dd4={};_0x389dd4[_0x4ab324(0x2df)]=_0x4dbc34[_0x4ab324(0x262)],PerformanceTester['end'](PerformanceEvents[_0x4ab324(0x39e)],!![],null,_0x389dd4),PerformanceTester[_0x4ab324(0x299)](PerformanceEvents[_0x4ab324(0x28f)]);}continue;case'3':await _0x4dbc34[_0x4ab324(0x1e7)](beforeTestHook,_0x22f89b);continue;case'4':PerformanceTester['start'](PerformanceEvents[_0x4ab324(0x1c3)]);continue;case'5':await _0x4dbc34[_0x4ab324(0x237)](_0x1865da);continue;case'6':_0x4dbc34[_0x4ab324(0x2e9)](storeTestResults,_0x22f89b);continue;case'7':_0x4dbc34['asapF'](debug,_0x4ab324(0x397)+process['pid']);continue;case'8':await _0x4dbc34[_0x4ab324(0x1e7)](afterTestHook,_0x22f89b);continue;}break;}},a45_0x33a141],'__browserstack_workerHook':[async({},_0x3c2c99,_0x54eea4)=>{const _0x22fd74=a45_0x1a588f,_0xdd356f={'nGrnE':function(_0xec2627,_0x3ba70e){return _0xec2627(_0x3ba70e);},'XTIUJ':_0x22fd74(0x207),'GDTYe':_0x22fd74(0x22e),'NRaXa':_0x22fd74(0x3ca),'eFTLR':_0x22fd74(0x300),'LBMlK':_0x22fd74(0x34e),'exswr':_0x22fd74(0x22f),'LVQXQ':_0x22fd74(0x329),'tNEwK':_0x22fd74(0x34d),'Gnloq':_0x22fd74(0x267),'CiDtD':_0x22fd74(0x3bb),'Sjnxi':'sendTestLog','SxyUL':function(_0xef507f){return _0xef507f();},'PuTNd':function(_0x2eed98,_0x4e53a9){return _0x2eed98(_0x4e53a9);},'ZtCmC':function(_0x416271){return _0x416271();}};BrowserstackCLI[_0x22fd74(0x1f9)]()[_0x22fd74(0x201)]()&&(CLIUtils['setFrameworkDetail'](FRAMEWORKS['PLAYWRIGHT'],FRAMEWORKS[_0x22fd74(0x3ac)]),await BrowserstackCLI[_0x22fd74(0x1f9)]()[_0x22fd74(0x315)]());_0xdd356f[_0x22fd74(0x3ab)](beforeWorkerHook,_0x54eea4);if(!_0xdd356f[_0x22fd74(0x3ab)](isFalse,process[_0x22fd74(0x3e1)]['BROWSERSTACK_TEST_OBSERVABILITY'])||!_0xdd356f[_0x22fd74(0x3ab)](isFalse,process[_0x22fd74(0x3e1)][_0x22fd74(0x38a)])){const _0x1be11d=_0xdd356f['XTIUJ']['split']('|');let _0x4e4df4=0x0;while(!![]){switch(_0x1be11d[_0x4e4df4++]){case'0':process[_0x22fd74(0x3e1)][_0x22fd74(0x2b4)]&&await PerformanceTester['stopAndGenerate']('performance-report-worker-'+_0x54eea4[_0x22fd74(0x288)]['toString']()+_0x22fd74(0x39d),[_0xdd356f['GDTYe'],_0xdd356f[_0x22fd74(0x36a)],_0xdd356f[_0x22fd74(0x24d)],_0xdd356f[_0x22fd74(0x27b)],_0xdd356f[_0x22fd74(0x3cf)],_0xdd356f['LVQXQ'],_0xdd356f[_0x22fd74(0x25f)],_0xdd356f[_0x22fd74(0x28d)],_0xdd356f[_0x22fd74(0x318)],_0xdd356f['Sjnxi']]);continue;case'1':await _0xdd356f['SxyUL'](_0x3c2c99);continue;case'2':_0xdd356f[_0x22fd74(0x3ab)](debug,_0x22fd74(0x27f)+process[_0x22fd74(0x380)]);continue;case'3':await _0xdd356f[_0x22fd74(0x396)](afterWorkerHook,_0x54eea4);continue;case'4':process['env'][_0x22fd74(0x2b4)]&&PerformanceTester['startMonitoring'](_0x22fd74(0x3cc)+_0x54eea4[_0x22fd74(0x288)][_0x22fd74(0x2ce)]()+'.json');continue;}break;}}else await _0xdd356f[_0x22fd74(0x2a6)](_0x3c2c99);},a45_0x618138],'browser':async({browser:_0x3cc58c},_0x46326b,_0x4b2e95)=>{const _0x24066d=a45_0x1a588f,_0x39b613={'lQbHt':function(_0x261830,_0x48f1f7){return _0x261830(_0x48f1f7);},'ofjBA':function(_0x1dd8dc,_0x40fed6){return _0x1dd8dc(_0x40fed6);},'xIzeF':function(_0x2bcbc1,_0x5e1f9f){return _0x2bcbc1(_0x5e1f9f);},'SLxaY':'browser\x20fixture'};if(BrowserstackCLI['getInstance']()[_0x24066d(0x201)]()){const _0x1f6982={};_0x1f6982[_0x24066d(0x1d7)]=_0x3cc58c,_0x1f6982['testFramework']=FRAMEWORKS[_0x24066d(0x3ac)],await BrowserstackCLI['getInstance']()['getAutomationFramework']()[_0x24066d(0x20e)](AutomationFrameworkState[_0x24066d(0x1c9)],HookState['POST'],_0x1f6982);}if(!_0x39b613['lQbHt'](isFalse,BrowserstackCLI[_0x24066d(0x1f9)]()[_0x24066d(0x201)]())&&(!_0x39b613[_0x24066d(0x36b)](isFalse,BrowserstackCLI[_0x24066d(0x1f9)]()[_0x24066d(0x3ce)][ObservabilityModule['MODULE_NAME']])||BrowserstackCLI[_0x24066d(0x1f9)]()[_0x24066d(0x3ce)][AccessibilityModule[_0x24066d(0x37b)]]))PlaywrightSessionDetails[_0x24066d(0x267)](_0x3cc58c,_0x4b2e95);else(!_0x39b613[_0x24066d(0x23a)](isFalse,process[_0x24066d(0x3e1)][_0x24066d(0x3af)])||global[_0x24066d(0x32d)])&&(PlaywrightSessionDetails['setupBrowserDetails'](_0x3cc58c,_0x4b2e95),await _0x39b613[_0x24066d(0x336)](sendCBTInfo,_0x39b613[_0x24066d(0x2c1)]));await _0x39b613[_0x24066d(0x336)](_0x46326b,_0x3cc58c);}},_fixturesInjected=injectFixturesIntoSharedPool(base[a45_0x1a588f(0x2f4)],browserstackFixtures),test=_fixturesInjected?base[a45_0x1a588f(0x2f4)]:base[a45_0x1a588f(0x2f4)][a45_0x1a588f(0x32c)](browserstackFixtures);try{test[a45_0x1a588f(0x264)]=!![];}catch(a45_0x142424){}base[a45_0x1a588f(0x2f4)]=test,base[a45_0x1a588f(0x344)]=test;
@@ -1 +1 @@
1
- function a42_0x2239(_0x57690d,_0xbf0391){const _0x175350=a42_0x1753();return a42_0x2239=function(_0x22398c,_0x6ac2df){_0x22398c=_0x22398c-0x73;let _0x3a0129=_0x175350[_0x22398c];return _0x3a0129;},a42_0x2239(_0x57690d,_0xbf0391);}const a42_0x12b0b9=a42_0x2239;(function(_0x3baedf,_0x47eb00){const _0x4fae99=a42_0x2239,_0x3145e8=_0x3baedf();while(!![]){try{const _0x2f7d20=-parseInt(_0x4fae99(0x11f))/0x1+parseInt(_0x4fae99(0xb0))/0x2*(-parseInt(_0x4fae99(0xd3))/0x3)+parseInt(_0x4fae99(0x77))/0x4*(parseInt(_0x4fae99(0x9f))/0x5)+-parseInt(_0x4fae99(0x128))/0x6*(-parseInt(_0x4fae99(0xe4))/0x7)+parseInt(_0x4fae99(0x84))/0x8+-parseInt(_0x4fae99(0x80))/0x9+parseInt(_0x4fae99(0x104))/0xa;if(_0x2f7d20===_0x47eb00)break;else _0x3145e8['push'](_0x3145e8['shift']());}catch(_0x17b62f){_0x3145e8['push'](_0x3145e8['shift']());}}}(a42_0x1753,0x9be63));const fs=require('fs'),util=require(a42_0x12b0b9(0x88)),path=require(a42_0x12b0b9(0xd1));function a42_0x1753(){const _0x58daa9=['workers','7987833glowJp','Error\x20in\x20setting\x20up\x20playwright\x20config\x20due\x20to\x20playwright\x20Config\x20Options:\x20ErrorTrace:','requirePWModule','format','1345240WktwWu','xnJXt','quavo','USfkC','util','SuFfs','oXSlE','mandatoryDependency','kgMWr','ujaBO','forEach','isArray','SviTF','Error\x20in\x20running\x20user\x20global\x20setup\x20for\x20playwright','WcaJO','ioNvH','parse','XPQpq','projects','LvqcT','**/*.@(spec|test).?(c|m)[jt]s?(x)','sfEEy','HMmQX','function','assign','Can\x27t\x20get\x20user\x20defined\x20global\x20setup\x20file','fEByp','2515qxatIZ','use','wsEndpoint','oFgai','RStiw','uniqueDependency','../../helpers/classLogger.js','aKjqZ','isTrue','KORQF','isUndefined','prepareCapabilities','OWloW','yCdky','nestedKeyValue','invalidTestInputType','bootstrap','33890MFrYVh','PujfG','ngSvR','../../helpers/test-observability/utils','prCxG','RFQkg','TQHew','wyxeb','Error\x20in\x20parsing\x20capabilities\x20from\x20CLI:\x20','nxbna','oSpSS','MZtck','Error\x20in\x20getting\x20config','modifyBrowserStackCaps','initialize','setup','parallelsPerPlatform','../v2/browserstackCLI','MxKcu','XWMOK','QEbVX','testIgnore','mvjOr','getConfig','YRgUF','HeMqK','UmAAP','oAYJm','getInstance','platforms','jcWCk','../../helpers/testhub/utils','FJfXm','path','modifyPlaywrightConf','195SJWbBe','playwrightConfigObject','OQSYu','GRqML','ovmCT','BSdJU','setAdditionalCapabilities','uykxt','IwnAe','ggngc','platformCaps','keys','project','default','../../helpers/test-observability/constants','uHaWu','Error\x20in\x20eveluating\x20testDir\x20passed\x20in\x20playwrightConfigOptions\x20','111825QpeGWh','aWncF','includes','FjVrf','4|3|2|1|0','jAwHR','apply','playwrightConfigOptions','EPYdk','readFileSync','MiTig','isRunning','push','globalSetup','connectOptions','log','capabilities','gaBYu','eTmmT','dependencies','kPKOp','toLowerCase','SNYqH','CyhIP','env','./reporter/reporter.js','KUbvb','NyKpP','SYJLf','eTDcK','collectFilesForProject','browserstackAutomation','12490060qyBtvm','ffXDX','invalidKeys','respectGitIgnore','isBrowserstackInfra','TQOpu','getPlaywrightConfig','agBip','../v2/grpcClient','teardown','reporter','DpzVZ','zufjO','getPlaywrightUrl','DqrMM','jofQb','name','USER_CONFIG_DETAILS_PATH','gcfSO','resolve','./reporter/pwUtils','PYERn','object','PLAYWRIGHT','length','testMatch','gDfzF','424512POOgpe','ZUgwE','config','_internal','deepClone','existsSync','AUuOM','BROWSERSTACK_SETUP_CONFIG_PATH','string','318fMEgyy','pOyLj','nncyh','yXLBu','testDir','ArIMy','6268AleQNa','writeTempPWConfig','GkwDB','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','exports','oVBWr','requireModule','../../bin/utils/constants'];a42_0x1753=function(){return _0x58daa9;};return a42_0x1753();}let config={};const browserstackSetup={},helper=require('../../helpers/helper'),{PLAYWRIGHT_CONFIG_OPTION_ERRORS}=require(a42_0x12b0b9(0x7e)),{getTransformPath,getProjectUtilsPath}=require(a42_0x12b0b9(0x118)),{shouldProcessEventForTesthub}=require(a42_0x12b0b9(0xcf)),{CrashReporter}=require('../../helpers/test-observability/error-handler'),{FRAMEWORKS}=require(a42_0x12b0b9(0xe1)),{getFrameworkVersion}=require(a42_0x12b0b9(0xb3)),BrowserstackCli=require(a42_0x12b0b9(0xc1)),GrpcClient=require(a42_0x12b0b9(0x10c)),{createClassLogger}=require(a42_0x12b0b9(0xa5)),logger=createClassLogger(a42_0x12b0b9(0xd2)),getConfigFromCLI=async()=>{const _0x342509=a42_0x12b0b9,_0x777069={};_0x777069[_0x342509(0xc3)]=_0x342509(0xbc);const _0x3cb555=_0x777069,_0x4f1f06={};_0x4f1f06[_0x342509(0xd4)]=config;const _0x135390=await GrpcClient[_0x342509(0xcc)]()[_0x342509(0x10a)](_0x4f1f06);if(!_0x135390['getConfig']())throw new Error(_0x3cb555['XWMOK']);return JSON[_0x342509(0x94)](_0x135390[_0x342509(0xc7)]());},handleAutomationTrue=async()=>{const _0xac7f6c=a42_0x12b0b9,_0x438a27={'CyhIP':'playwright','EPYdk':'use','aKjqZ':'connectOptions','yCdky':function(_0x5454bd,_0xb87c88){return _0x5454bd+_0xb87c88;},'ACZaT':function(_0xb90a92,_0x3dbada){return _0xb90a92(_0x3dbada);},'GkwDB':function(_0x2a2c4e,_0x488534){return _0x2a2c4e===_0x488534;},'IwnAe':_0xac7f6c(0x75),'ffXDX':_0xac7f6c(0x9b),'MxKcu':_0xac7f6c(0xe3),'YRgUF':function(_0x3fd3da,_0x2a8c36,_0x28b788,_0x3b3607){return _0x3fd3da(_0x2a8c36,_0x28b788,_0x3b3607);},'FJfXm':function(_0x42eccb){return _0x42eccb();},'prCxG':'workers','ioNvH':_0xac7f6c(0x96),'TQOpu':function(_0x49bbd0,_0x495088){return _0x49bbd0===_0x495088;},'TQHew':_0xac7f6c(0x98),'MiTig':_0xac7f6c(0x11d),'XPQpq':'testIgnore','BSdJU':function(_0x105646,_0x56abda){return _0x105646+_0x56abda;},'OQSYu':'Error\x20in\x20generating\x20parallellised\x20config\x20for\x20playwright\x20','fEByp':function(_0x52dcb1,_0xd45943){return _0x52dcb1*_0xd45943;}};let _0x1ed3d8=[];if(BrowserstackCli[_0xac7f6c(0xcc)]()[_0xac7f6c(0xef)]()&&BrowserstackCli['getInstance']()[_0xac7f6c(0xc7)]()[_0xac7f6c(0x103)]){const _0x2a3d01=await _0x438a27[_0xac7f6c(0xd0)](getConfigFromCLI);config[_0x438a27[_0xac7f6c(0xb4)]]=_0x2a3d01['maxWorkers']||0x1,config[_0x438a27[_0xac7f6c(0x93)]]=[];try{_0x1ed3d8=_0x2a3d01[_0xac7f6c(0xf4)];}catch(_0x5ecaeb){logger['error'](_0xac7f6c(0xb8)+util[_0xac7f6c(0x83)](_0x5ecaeb));}}else{if(!BrowserstackCli[_0xac7f6c(0xcc)]()['isRunning']()&&helper[_0xac7f6c(0x108)]()){if(helper[_0xac7f6c(0xa9)](browserstackSetup[_0xac7f6c(0x121)][_0xac7f6c(0xcd)])||_0x438a27[_0xac7f6c(0x109)](browserstackSetup[_0xac7f6c(0x121)][_0xac7f6c(0xcd)][_0xac7f6c(0x11c)],0x0)){const _0x8d2073=browserstackSetup[_0xac7f6c(0x121)][_0xac7f6c(0xc0)]||browserstackSetup[_0xac7f6c(0x121)][_0xac7f6c(0x7f)]||config[_0x438a27[_0xac7f6c(0xb4)]]||0x1;config[_0x438a27[_0xac7f6c(0xb4)]]=_0x8d2073;return;}config[_0x438a27[_0xac7f6c(0x93)]]=[],browserstackSetup[_0xac7f6c(0x121)][_0xac7f6c(0xcd)][_0xac7f6c(0x8e)]((_0x55e7ea,_0x394874)=>{const _0x4f3f07=_0xac7f6c;_0x1ed3d8[_0x4f3f07(0xf0)](helper[_0x4f3f07(0xbd)](browserstackSetup[_0x4f3f07(0x121)],_0x438a27[_0x4f3f07(0xfb)],_0x394874));}),_0x1ed3d8[_0xac7f6c(0x8e)](_0x139ddc=>{const _0x5c35d2=_0xac7f6c;helper[_0x5c35d2(0xd9)](_0x139ddc);});}}if(!BrowserstackCli['getInstance']()[_0xac7f6c(0xef)]()&&helper[_0xac7f6c(0x108)]()||BrowserstackCli[_0xac7f6c(0xcc)]()[_0xac7f6c(0xef)]()&&BrowserstackCli['getInstance']()[_0xac7f6c(0xc7)]()[_0xac7f6c(0x103)]){let _0x4f84d7,_0x28773c=[];try{_0x4f84d7=helper[_0xac7f6c(0x82)][_0xac7f6c(0xea)](null,_0x438a27[_0xac7f6c(0xd0)](getProjectUtilsPath));const _0x21b37c={};_0x21b37c[_0xac7f6c(0x107)]=!![];const _0x194489={};_0x194489[_0xac7f6c(0x107)]=!![],_0x194489[_0xac7f6c(0x75)]='',_0x194489[_0xac7f6c(0x11d)]=_0x438a27[_0xac7f6c(0xb6)],_0x194489[_0xac7f6c(0xc5)]='',_0x194489[_0xac7f6c(0x122)]=_0x21b37c;const _0x64945b={};_0x64945b[_0xac7f6c(0xdf)]=_0x194489;let _0x98e5da=_0x64945b;config[_0x438a27[_0xac7f6c(0xdb)]]&&(_0x98e5da[_0xac7f6c(0xdf)][_0x438a27['IwnAe']]=config[_0x438a27[_0xac7f6c(0xdb)]]),config[_0x438a27[_0xac7f6c(0xee)]]&&(_0x98e5da['project'][_0x438a27['MiTig']]=config[_0x438a27[_0xac7f6c(0xee)]]),config[_0x438a27[_0xac7f6c(0x95)]]&&(_0x98e5da[_0xac7f6c(0xdf)][_0x438a27[_0xac7f6c(0x95)]]=config[_0x438a27['XPQpq']]),_0x98e5da=Object[_0xac7f6c(0x9c)](_0x98e5da,_0x98e5da['project']),_0x28773c=await _0x4f84d7['collectFilesForProject'](_0x98e5da);}catch(_0x2f9603){console[_0xac7f6c(0xf3)](_0x438a27[_0xac7f6c(0xd8)](_0x438a27[_0xac7f6c(0xd5)],util[_0xac7f6c(0x83)](_0x2f9603)));}const _0x1e8b2f=helper[_0xac7f6c(0x111)](browserstackSetup[_0xac7f6c(0x121)]),_0x2f9a6f=await _0x438a27[_0xac7f6c(0xc8)](getPWOptionsTests,_0x1ed3d8,_0x4f84d7,_0x28773c);_0x1ed3d8['forEach']((_0xfa028d,_0x5f1845)=>{const _0x1f4a20=_0xac7f6c,_0x28c593={},_0x48b5aa={};_0x48b5aa[_0x1f4a20(0xdd)]=browserstackSetup[_0x1f4a20(0x121)][_0x1f4a20(0xcd)][_0x5f1845],_0x28c593[_0x438a27[_0x1f4a20(0xec)]]=_0x48b5aa,helper['playwrightProjectNameUpdate'](_0xfa028d,_0x28c593),helper['updatePlaywrightConfigOptions'](_0x28c593,browserstackSetup[_0x1f4a20(0x121)][_0x1f4a20(0xcd)][_0x5f1845],browserstackSetup['config'][_0x1f4a20(0xcd)][_0x5f1845][_0x1f4a20(0xeb)]||config[_0x1f4a20(0xeb)]||null),_0x28c593[_0x438a27[_0x1f4a20(0xec)]][_0x438a27[_0x1f4a20(0xa6)]]=Object['assign'](_0x28c593[_0x438a27[_0x1f4a20(0xec)]][_0x438a27['aKjqZ']]||helper[_0x1f4a20(0xad)](config,[_0x438a27[_0x1f4a20(0xec)],_0x438a27[_0x1f4a20(0xa6)]])||{},{'wsEndpoint':_0x438a27[_0x1f4a20(0xac)](_0x1e8b2f,_0x438a27['ACZaT'](encodeURIComponent,JSON['stringify'](_0xfa028d)))});try{_0x438a27[_0x1f4a20(0x79)](typeof _0x28c593[_0x438a27[_0x1f4a20(0xdb)]],_0x438a27[_0x1f4a20(0x105)])&&(_0x28c593[_0x438a27[_0x1f4a20(0xdb)]]=_0x28c593[_0x438a27[_0x1f4a20(0xdb)]](helper[_0x1f4a20(0x7d)]));}catch(_0x48b991){console[_0x1f4a20(0xf3)](_0x438a27['yCdky'](_0x438a27[_0x1f4a20(0xc2)],util[_0x1f4a20(0x83)](_0x48b991)));}_0x438a27[_0x1f4a20(0xc8)](addProjectToProjectList,_0x2f9a6f,_0x5f1845,_0x28c593);});_0x28773c[_0xac7f6c(0x11c)]&&(config[_0x438a27[_0xac7f6c(0xee)]]='');const _0x396181=_0x438a27[_0xac7f6c(0x9e)](browserstackSetup[_0xac7f6c(0x121)][_0xac7f6c(0xcd)]['length']||0x1,browserstackSetup[_0xac7f6c(0x121)]['parallelsPerPlatform']||config[_0x438a27[_0xac7f6c(0xb4)]]||0x1);config[_0x438a27['prCxG']]=_0x396181;}},addProjectToProjectList=(_0x54998a,_0x25b111,_0x56a563)=>{const _0x455267=a42_0x12b0b9,_0x3d5ac9={'aJqeQ':function(_0x19ff9c,_0x7642ff){return _0x19ff9c>_0x7642ff;},'ZQPOy':_0x455267(0xf7),'sfEEy':_0x455267(0x11d),'USfkC':'setup','jcWCk':'teardown','FjVrf':_0x455267(0x96),'RFQkg':'use','HMmQX':'platformCaps','pOyLj':_0x455267(0xeb),'eTmmT':function(_0x118e39,_0x5102fb,_0x2578c2){return _0x118e39(_0x5102fb,_0x2578c2);},'ZUgwE':function(_0x4dc636,_0x480ead){return _0x4dc636>_0x480ead;}},_0x55a509=_0x54998a[_0x25b111],_0x1eb987=browserstackSetup[_0x455267(0x121)][_0x455267(0xcd)][_0x25b111][_0x455267(0xeb)];_0x56a563[_0x3d5ac9['RFQkg']][_0x3d5ac9[_0x455267(0x9a)]][_0x3d5ac9[_0x455267(0x129)]]&&delete _0x56a563[_0x3d5ac9[_0x455267(0xb5)]][_0x3d5ac9[_0x455267(0x9a)]][_0x3d5ac9[_0x455267(0x129)]];const _0xcd3da0=_0x3d5ac9[_0x455267(0xf6)](setSetupAndTeardownConfigs,helper[_0x455267(0x123)](_0x56a563),_0x1eb987);_0x3d5ac9[_0x455267(0x120)](_0x55a509['length'],0x0)?_0x55a509[_0x455267(0x8e)](_0x5685ea=>{const _0x430599=_0x455267,_0xcdd50b=helper['deepClone'](_0x56a563);_0x3d5ac9['aJqeQ'](_0xcd3da0[_0x430599(0x11c)],0x0)&&(_0xcdd50b[_0x3d5ac9['ZQPOy']]=_0xcd3da0),_0xcdd50b[_0x3d5ac9[_0x430599(0x99)]]=_0x5685ea,_0xcdd50b[_0x3d5ac9[_0x430599(0x87)]]&&delete _0xcdd50b[_0x430599(0xbf)],_0xcdd50b[_0x3d5ac9[_0x430599(0xce)]]&&delete _0xcdd50b['teardown'],config[_0x3d5ac9[_0x430599(0xe7)]][_0x430599(0xf0)](_0xcdd50b);}):config[_0x3d5ac9[_0x455267(0xe7)]][_0x455267(0xf0)](_0x56a563);},setSetupAndTeardownConfigs=(_0x16ffc0,_0x591b47)=>{const _0x44f5db=a42_0x12b0b9,_0x2876ea={'xozTC':function(_0x2f963a,_0x4477e6,_0x1b55b8){return _0x2f963a(_0x4477e6,_0x1b55b8);},'zufjO':_0x44f5db(0x10d),'SviTF':function(_0x4713b5,_0x140c2d,_0x5ecbd3,_0x15aed2){return _0x4713b5(_0x140c2d,_0x5ecbd3,_0x15aed2);},'kPKOp':_0x44f5db(0xa0),'RStiw':_0x44f5db(0x96),'DqrMM':function(_0x1b80be,_0x3ec580,_0xa8ffe3){return _0x1b80be(_0x3ec580,_0xa8ffe3);},'nncyh':_0x44f5db(0xbf),'SYJLf':function(_0x553509,_0x5a49cc,_0x36ad84,_0x30c9e2,_0x77866e){return _0x553509(_0x5a49cc,_0x36ad84,_0x30c9e2,_0x77866e);}};if(!_0x591b47)return[];const _0x5eeb31=[],_0x3b32ed=[];let _0x146fa7,_0x2a87c3;return _0x591b47[_0x2876ea[_0x44f5db(0x73)]]&&(_0x146fa7=_0x591b47[_0x2876ea[_0x44f5db(0x73)]]),_0x591b47[_0x2876ea[_0x44f5db(0x110)]]&&(_0x2a87c3=_0x591b47[_0x2876ea[_0x44f5db(0x110)]]),_0x2a87c3&&Array['isArray'](_0x2a87c3)&&_0x2a87c3[_0x44f5db(0x8e)](_0x559054=>{const _0x4bc8e4=_0x44f5db;_0x2876ea['xozTC'](validateKeys,_0x559054,_0x2876ea['zufjO']);if(_0x5eeb31[_0x4bc8e4(0xe6)](_0x559054[_0x4bc8e4(0x114)]))throw util['format'](PLAYWRIGHT_CONFIG_OPTION_ERRORS[_0x4bc8e4(0xa4)],_0x2876ea[_0x4bc8e4(0x110)]);const _0x591e8a=_0x2876ea[_0x4bc8e4(0x90)](createDependencyProject,_0x559054[_0x4bc8e4(0x114)],_0x559054['testMatch'],_0x559054[_0x4bc8e4(0x75)]);_0x591e8a[_0x2876ea[_0x4bc8e4(0xf8)]]=_0x16ffc0[_0x2876ea[_0x4bc8e4(0xf8)]],config[_0x2876ea[_0x4bc8e4(0xa3)]]['push'](_0x591e8a),_0x5eeb31[_0x4bc8e4(0xf0)](_0x559054[_0x4bc8e4(0x114)]);}),_0x146fa7&&Array[_0x44f5db(0x8f)](_0x146fa7)&&_0x146fa7[_0x44f5db(0x8e)](_0x11125e=>{const _0x163894=_0x44f5db;_0x2876ea[_0x163894(0x112)](validateKeys,_0x11125e,_0x2876ea[_0x163894(0x73)]);if(_0x5eeb31[_0x163894(0xe6)](_0x11125e['name']))throw util[_0x163894(0x83)](PLAYWRIGHT_CONFIG_OPTION_ERRORS[_0x163894(0xa4)],_0x2876ea[_0x163894(0x73)]);const _0x2a1017=_0x11125e['teardown']?_0x2876ea[_0x163894(0x100)](createDependencyProject,_0x11125e[_0x163894(0x114)],_0x11125e['testMatch'],_0x11125e[_0x163894(0x75)],_0x11125e[_0x163894(0x10d)]):_0x2876ea[_0x163894(0x90)](createDependencyProject,_0x11125e['name'],_0x11125e[_0x163894(0x11d)],_0x11125e['testDir']);_0x2a1017[_0x2876ea[_0x163894(0xf8)]]=_0x16ffc0[_0x2876ea[_0x163894(0xf8)]],config[_0x2876ea[_0x163894(0xa3)]][_0x163894(0xf0)](_0x2a1017),_0x3b32ed[_0x163894(0xf0)](_0x11125e['name']),_0x5eeb31[_0x163894(0xf0)](_0x11125e['name']);}),_0x3b32ed;},validateKeys=(_0x5b13a8,_0x3b53d1)=>{const _0x2e2b44=a42_0x12b0b9,_0x46a95f={};_0x46a95f['pDppi']=function(_0x201fb2,_0x22fac){return _0x201fb2===_0x22fac;},_0x46a95f[_0x2e2b44(0x89)]=_0x2e2b44(0x10d),_0x46a95f[_0x2e2b44(0xb2)]=_0x2e2b44(0x114),_0x46a95f[_0x2e2b44(0x8a)]=_0x2e2b44(0x11d),_0x46a95f[_0x2e2b44(0xa8)]=_0x2e2b44(0x75);const _0x1a331e=_0x46a95f;if(![_0x1a331e[_0x2e2b44(0xb2)],_0x1a331e[_0x2e2b44(0x8a)]]['every'](_0x53f7be=>Object[_0x2e2b44(0xde)](_0x5b13a8)[_0x2e2b44(0xe6)](_0x53f7be)))throw util[_0x2e2b44(0x83)](PLAYWRIGHT_CONFIG_OPTION_ERRORS[_0x2e2b44(0x8b)],_0x3b53d1);Object[_0x2e2b44(0xde)](_0x5b13a8)[_0x2e2b44(0x8e)](_0x10c9fe=>{const _0x11195e=_0x2e2b44;if(_0x1a331e['pDppi'](_0x3b53d1,_0x1a331e[_0x11195e(0x89)])){if(![_0x1a331e[_0x11195e(0xb2)],_0x1a331e['oXSlE'],_0x1a331e[_0x11195e(0xa8)]][_0x11195e(0xe6)](_0x10c9fe))throw util[_0x11195e(0x83)](PLAYWRIGHT_CONFIG_OPTION_ERRORS[_0x11195e(0x106)],_0x3b53d1);}else{if(![_0x1a331e['ngSvR'],_0x1a331e[_0x11195e(0x8a)],_0x1a331e[_0x11195e(0x89)],_0x1a331e['KORQF']][_0x11195e(0xe6)](_0x10c9fe))throw util[_0x11195e(0x83)](PLAYWRIGHT_CONFIG_OPTION_ERRORS[_0x11195e(0x106)],_0x3b53d1);}});},createDependencyProject=(_0x3d69b1,_0x54deb2,_0x85dac0,_0x294002)=>{const _0x43f6b4=a42_0x12b0b9,_0x50ac3e={};_0x50ac3e[_0x43f6b4(0x114)]=_0x3d69b1,_0x50ac3e['testMatch']=_0x54deb2,_0x50ac3e['teardown']=_0x294002,_0x50ac3e[_0x43f6b4(0x75)]=_0x85dac0;const _0x521057=_0x50ac3e;return Object[_0x43f6b4(0xde)](_0x521057)[_0x43f6b4(0x8e)](_0x5eabc0=>helper[_0x43f6b4(0xa9)](_0x521057[_0x5eabc0])&&delete _0x521057[_0x5eabc0]),_0x521057;},getPWOptionsTests=async(_0x492baa,_0xb71324,_0x45f4de)=>{const _0x1850f5=a42_0x12b0b9,_0x488ae3={'kgMWr':function(_0x3f61ad,_0x3b47fc){return _0x3f61ad<_0x3b47fc;},'LvqcT':function(_0xefb6ce,_0x45a0e8,_0x1f6327){return _0xefb6ce(_0x45a0e8,_0x1f6327);},'oSpSS':function(_0x5c97f5,_0x464bef){return _0x5c97f5===_0x464bef;}},_0x50ae7c=[];for(let _0x5f1419=0x0;_0x488ae3[_0x1850f5(0x8c)](_0x5f1419,_0x492baa[_0x1850f5(0x11c)]);_0x5f1419++){const _0x5791f2=await _0x488ae3[_0x1850f5(0x97)](getTestListFromPWOptions,_0x5f1419,_0xb71324);_0x50ae7c['push'](_0x488ae3[_0x1850f5(0xba)](_0x5791f2[_0x1850f5(0x11c)],0x0)?_0x45f4de:_0x5791f2);}return _0x50ae7c;},getTestListFromPWOptions=async(_0x5b59f3,_0x14dd9c)=>{const _0x3ce7ba=a42_0x12b0b9,_0xe518a7={};_0xe518a7[_0x3ce7ba(0xc6)]=_0x3ce7ba(0x11d),_0xe518a7[_0x3ce7ba(0x125)]=_0x3ce7ba(0xc5),_0xe518a7[_0x3ce7ba(0xa2)]='testDir',_0xe518a7[_0x3ce7ba(0x86)]=function(_0x4c9403,_0x59e1bf){return _0x4c9403===_0x59e1bf;},_0xe518a7[_0x3ce7ba(0x7c)]=_0x3ce7ba(0x127),_0xe518a7[_0x3ce7ba(0x8d)]=function(_0x1ed0d3,_0x108eb0){return _0x1ed0d3===_0x108eb0;},_0xe518a7['PujfG']='**/*.@(spec|test).?(c|m)[jt]s?(x)',_0xe518a7[_0x3ce7ba(0x85)]=_0x3ce7ba(0xe8),_0xe518a7[_0x3ce7ba(0xdc)]=function(_0x390f9e,_0x35bc3e){return _0x390f9e||_0x35bc3e;},_0xe518a7[_0x3ce7ba(0x74)]=function(_0x488d68,_0x1c5d1e){return _0x488d68||_0x1c5d1e;},_0xe518a7[_0x3ce7ba(0xda)]=function(_0x300dd3,_0x2fb2fa){return _0x300dd3+_0x2fb2fa;},_0xe518a7['aWncF']=_0x3ce7ba(0x81);const _0x648df3=_0xe518a7,_0xe23348=browserstackSetup[_0x3ce7ba(0x121)][_0x3ce7ba(0xcd)][_0x5b59f3][_0x3ce7ba(0xeb)];if(!_0xe23348)return[];const _0x377639=_0xe23348[_0x648df3[_0x3ce7ba(0xc6)]]||config[_0x648df3['mvjOr']],_0x3ef9d6=_0xe23348[_0x648df3[_0x3ce7ba(0x125)]]||config[_0x648df3[_0x3ce7ba(0x125)]],_0x3cc836=config[_0x648df3['oFgai']],_0x234ed4=_0xe23348[_0x648df3[_0x3ce7ba(0xa2)]];if(_0x377639&&!(_0x648df3[_0x3ce7ba(0x86)](typeof _0x377639,_0x648df3['oVBWr'])||Array[_0x3ce7ba(0x8f)](_0x377639)))throw util['format'](PLAYWRIGHT_CONFIG_OPTION_ERRORS[_0x3ce7ba(0xae)],_0x648df3[_0x3ce7ba(0xc6)]);if(_0x3ef9d6&&!(_0x648df3[_0x3ce7ba(0x8d)](typeof _0x3ef9d6,_0x648df3['oVBWr'])||Array[_0x3ce7ba(0x8f)](_0x3ef9d6)))throw util['format'](PLAYWRIGHT_CONFIG_OPTION_ERRORS[_0x3ce7ba(0xae)],_0x648df3[_0x3ce7ba(0x125)]);let _0x5d9e00=[];const _0x47907b={};_0x47907b[_0x3ce7ba(0x107)]=!![],_0x47907b[_0x3ce7ba(0x75)]='',_0x47907b[_0x3ce7ba(0x11d)]=_0x648df3[_0x3ce7ba(0xb1)],_0x47907b[_0x3ce7ba(0xc5)]='';const _0x211855={};_0x211855[_0x3ce7ba(0x107)]=!![];const _0xb43b1f={};_0xb43b1f[_0x3ce7ba(0xdf)]=_0x47907b,_0xb43b1f[_0x3ce7ba(0x122)]=_0x211855;let _0x3069ae=_0xb43b1f;try{const _0x8d185=_0x648df3[_0x3ce7ba(0x85)]['split']('|');let _0xfd8563=0x0;while(!![]){switch(_0x8d185[_0xfd8563++]){case'0':_0x5d9e00=await _0x14dd9c[_0x3ce7ba(0x102)](_0x3069ae);continue;case'1':_0x3069ae=Object['assign'](_0x3069ae,_0x3069ae[_0x3ce7ba(0xdf)]);continue;case'2':_0x3ef9d6&&(_0x3069ae[_0x3ce7ba(0xdf)][_0x648df3[_0x3ce7ba(0x125)]]=_0x3ef9d6);continue;case'3':_0x377639&&(_0x3069ae[_0x3ce7ba(0xdf)][_0x648df3[_0x3ce7ba(0xc6)]]=_0x377639);continue;case'4':_0x648df3[_0x3ce7ba(0xdc)](_0x234ed4,_0x3cc836)&&(_0x3069ae[_0x3ce7ba(0xdf)][_0x648df3[_0x3ce7ba(0xa2)]]=_0x648df3[_0x3ce7ba(0x74)](_0x234ed4,_0x3cc836));continue;}break;}}catch(_0x2f7200){console[_0x3ce7ba(0xf3)](_0x648df3[_0x3ce7ba(0xda)](_0x648df3[_0x3ce7ba(0xe5)],_0x2f7200));}return _0x5d9e00;},addReporter=()=>{const _0x5eee7f=a42_0x12b0b9,_0x55af16={};_0x55af16[_0x5eee7f(0x10f)]=_0x5eee7f(0xfd),_0x55af16['gcfSO']=_0x5eee7f(0x10e),_0x55af16['jAwHR']=function(_0x37237b,_0x3ff854){return _0x37237b===_0x3ff854;},_0x55af16[_0x5eee7f(0xfa)]=_0x5eee7f(0x127),_0x55af16['PYERn']=function(_0x4713fa,_0x326a13){return _0x4713fa===_0x326a13;},_0x55af16['ArIMy']=_0x5eee7f(0x11a);const _0xb4be25=_0x55af16,_0x2018b0=path['join'](__dirname,_0xb4be25[_0x5eee7f(0x10f)]),_0x3a2faf=[_0x2018b0];if(helper[_0x5eee7f(0xa9)](config[_0xb4be25[_0x5eee7f(0x116)]]))config[_0xb4be25[_0x5eee7f(0x116)]]=[_0x3a2faf];else{if(_0xb4be25[_0x5eee7f(0xe9)](typeof config[_0xb4be25[_0x5eee7f(0x116)]],_0xb4be25['SNYqH']))config[_0xb4be25['gcfSO']]=[[config[_0xb4be25['gcfSO']]],_0x3a2faf];else _0xb4be25[_0x5eee7f(0x119)](typeof config[_0xb4be25[_0x5eee7f(0x116)]],_0xb4be25[_0x5eee7f(0x76)])&&config[_0xb4be25[_0x5eee7f(0x116)]][_0x5eee7f(0xf0)](_0x3a2faf);}},setGlobalSetup=_0x1b310a=>{const _0xf45313=a42_0x12b0b9,_0xe07662={};_0xe07662[_0xf45313(0xab)]=_0xf45313(0xf1),_0xe07662['jofQb']=_0xf45313(0x9d),_0xe07662[_0xf45313(0xca)]=function(_0xd6bb77,_0x254edf){return _0xd6bb77+_0x254edf;},_0xe07662[_0xf45313(0xff)]=_0xf45313(0x91),_0xe07662[_0xf45313(0x11e)]='./globalSetup.js';const _0x33ee78=_0xe07662;if(!config)return;try{if(config[_0xf45313(0xf1)]){let _0x14c747;const _0x20ad51=path[_0xf45313(0x117)](_0x1b310a,config[_0x33ee78['OWloW']]);if(_0x20ad51&&fs[_0xf45313(0x124)](_0x20ad51))_0x14c747=_0x20ad51;else{const _0x2058b9={};_0x2058b9['paths']=[_0x1b310a],_0x14c747=require[_0xf45313(0x117)](config[_0x33ee78[_0xf45313(0xab)]],_0x2058b9);}if(!_0x14c747)throw new Error(_0x33ee78[_0xf45313(0x113)]);process[_0xf45313(0xfc)][_0xf45313(0x7a)]=_0x14c747;}}catch(_0x30239c){console[_0xf45313(0xf3)](_0x33ee78[_0xf45313(0xca)](_0x33ee78[_0xf45313(0xff)],_0x30239c));}config[_0xf45313(0xf1)]=require[_0xf45313(0x117)](_0x33ee78[_0xf45313(0x11e)]);},initO11yCrashReporter=(_0x28c9e4,_0xc360c8)=>{const _0x3d205d=a42_0x12b0b9,_0x3112e6={'HeMqK':function(_0x5dbd6c,_0x4a5297){return _0x5dbd6c(_0x4a5297);}},_0x3a6a7d={'frameworkName':FRAMEWORKS[_0x3d205d(0x11b)],'frameworkVersion':_0x3112e6[_0x3d205d(0xc9)](getFrameworkVersion,FRAMEWORKS[_0x3d205d(0x11b)])};CrashReporter[_0x3d205d(0xbe)](_0x3a6a7d,_0x28c9e4,_0xc360c8);},getCurrentModifiedConfig=async()=>{const _0x1def33=a42_0x12b0b9,_0x48a845={'Ajppj':'use','CoBSX':_0x1def33(0xf2),'NEwRZ':'wsEndpoint','vldCF':'config','QEbVX':'utf8','GRqML':function(_0x47483a,_0x34b43b){return _0x47483a(_0x34b43b);},'uHaWu':function(_0x20d986){return _0x20d986();},'KUbvb':function(_0x19a0c7,_0xc30c8e){return _0x19a0c7(_0xc30c8e);},'nxbna':function(_0x3d3a9e,_0x129135,_0x483fd3){return _0x3d3a9e(_0x129135,_0x483fd3);},'wyxeb':function(_0x11df8f,_0x557a6d){return _0x11df8f>_0x557a6d;},'WoFnj':function(_0x524b5e){return _0x524b5e();}},_0x98fef3=process[_0x1def33(0xfc)][_0x1def33(0x126)],_0x3dcb31=process[_0x1def33(0xfc)]['BROWSERSTACK_PW_CONFIG_DIR'];_0x98fef3&&(browserstackSetup[_0x48a845['vldCF']]=helper['parseYaml'](fs[_0x1def33(0xed)](_0x98fef3,_0x48a845[_0x1def33(0xc4)]))),_0x48a845[_0x1def33(0xd6)](setGlobalSetup,_0x3dcb31),_0x48a845[_0x1def33(0xe2)](shouldProcessEventForTesthub)&&(_0x48a845[_0x1def33(0xfe)](addReporter,config),_0x48a845[_0x1def33(0xb9)](initO11yCrashReporter,config,browserstackSetup['config'])),helper[_0x1def33(0xa7)](helper[_0x1def33(0x108)]())&&helper['isNotUndefined'](browserstackSetup[_0x1def33(0x121)][_0x1def33(0xcd)])&&_0x48a845[_0x1def33(0xb7)](browserstackSetup['config'][_0x1def33(0xcd)][_0x1def33(0x11c)],0x0)?await _0x48a845['WoFnj'](handleAutomationTrue):Array[_0x1def33(0x8f)](config[_0x1def33(0x96)])&&config[_0x1def33(0x96)][_0x1def33(0x8e)](_0x189710=>{const _0x171118=_0x1def33,_0x50353d=helper['nestedKeyValue'](_0x189710,[_0x48a845['Ajppj'],_0x48a845['CoBSX'],_0x48a845['NEwRZ']]);_0x50353d&&(_0x189710[_0x171118(0xa0)][_0x171118(0xf2)][_0x171118(0xa1)]=helper[_0x171118(0xaa)](null,null,FRAMEWORKS[_0x171118(0x11b)][_0x171118(0xf9)](),null,null,_0x50353d));});},getUserPWConfig=async _0x3829a5=>{const _0x201e6a=a42_0x12b0b9,_0x5d2ea2={'eTDcK':function(_0x4fcd79){return _0x4fcd79();},'agBip':function(_0x219fe6,_0x498424){return _0x219fe6(_0x498424);},'gaBYu':function(_0x3cfce1,_0x4abe9e){return _0x3cfce1===_0x4abe9e;},'oAYJm':_0x201e6a(0x11a),'UCnrD':function(_0x3fe683,_0x42191e){return _0x3fe683 in _0x42191e;},'MZtck':_0x201e6a(0xe0)},{requireOrImport:_0x26d578}=helper['requirePWModule'][_0x201e6a(0xea)](null,_0x5d2ea2[_0x201e6a(0x101)](getTransformPath));let _0xf4c46d=await _0x5d2ea2[_0x201e6a(0x10b)](_0x26d578,_0x3829a5);return _0xf4c46d&&_0x5d2ea2[_0x201e6a(0xf5)](typeof _0xf4c46d,_0x5d2ea2[_0x201e6a(0xcb)])&&_0x5d2ea2['UCnrD'](_0x5d2ea2[_0x201e6a(0xbb)],_0xf4c46d)&&(_0xf4c46d=_0xf4c46d[_0x5d2ea2[_0x201e6a(0xbb)]]),_0xf4c46d;},modifyConfig=async()=>{const _0xb53028=a42_0x12b0b9,_0x457be7={'WcaJO':function(_0x10ecec,_0x46e1e6){return _0x10ecec===_0x46e1e6;},'ovmCT':function(_0xcdad20,_0x58ad29){return _0xcdad20(_0x58ad29);},'GKzNI':function(_0x136ae6){return _0x136ae6();}};await BrowserstackCli[_0xb53028(0xcc)]()[_0xb53028(0xaf)]();const _0x2e4e78=process[_0xb53028(0xfc)][_0xb53028(0x115)];return config=_0x457be7[_0xb53028(0x92)](_0x2e4e78[_0xb53028(0x11c)],0x0)?{}:await _0x457be7[_0xb53028(0xd7)](getUserPWConfig,_0x2e4e78),await _0x457be7['GKzNI'](getCurrentModifiedConfig),helper[_0xb53028(0x78)](config),config;};module[a42_0x12b0b9(0x7b)]=modifyConfig;
1
+ const a46_0x2ed12c=a46_0x5803;(function(_0x89c5e3,_0x241b02){const _0x2f3307=a46_0x5803,_0x2eac8a=_0x89c5e3();while(!![]){try{const _0x5e6db5=parseInt(_0x2f3307(0x1e7))/0x1+-parseInt(_0x2f3307(0x146))/0x2*(-parseInt(_0x2f3307(0x19d))/0x3)+parseInt(_0x2f3307(0x1a3))/0x4+-parseInt(_0x2f3307(0x187))/0x5+parseInt(_0x2f3307(0x17b))/0x6*(-parseInt(_0x2f3307(0x1ac))/0x7)+parseInt(_0x2f3307(0x1cc))/0x8*(parseInt(_0x2f3307(0x1af))/0x9)+-parseInt(_0x2f3307(0x16f))/0xa*(parseInt(_0x2f3307(0x1e6))/0xb);if(_0x5e6db5===_0x241b02)break;else _0x2eac8a['push'](_0x2eac8a['shift']());}catch(_0x1b24e6){_0x2eac8a['push'](_0x2eac8a['shift']());}}}(a46_0xd01d,0xb3ddb));const fs=require('fs'),util=require('util'),path=require(a46_0x2ed12c(0x177));let config={};const browserstackSetup={},helper=require('../../helpers/helper'),{PLAYWRIGHT_CONFIG_OPTION_ERRORS}=require('../../bin/utils/constants'),{getTransformPath,getProjectUtilsPath}=require(a46_0x2ed12c(0x1a1)),{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),{CrashReporter}=require('../../helpers/test-observability/error-handler'),{FRAMEWORKS}=require(a46_0x2ed12c(0x1d8)),{getFrameworkVersion}=require('../../helpers/test-observability/utils'),BrowserstackCli=require(a46_0x2ed12c(0x189)),GrpcClient=require(a46_0x2ed12c(0x1a2)),{createClassLogger}=require(a46_0x2ed12c(0x1d5)),logger=createClassLogger(a46_0x2ed12c(0x191)),getConfigFromCLI=async()=>{const _0x188fb8=a46_0x2ed12c,_0x46d32f={};_0x46d32f['DdHbg']='Error\x20in\x20getting\x20config';const _0x1f5a1a=_0x46d32f,_0x264f53={};_0x264f53[_0x188fb8(0x1e0)]=config;const _0x59f8df=await GrpcClient['getInstance']()[_0x188fb8(0x155)](_0x264f53);if(!_0x59f8df[_0x188fb8(0x185)]())throw new Error(_0x1f5a1a[_0x188fb8(0x161)]);return JSON[_0x188fb8(0x188)](_0x59f8df[_0x188fb8(0x185)]());},handleAutomationTrue=async()=>{const _0x38047e=a46_0x2ed12c,_0x34c8d4={'OjLsF':_0x38047e(0x1d6),'GrOpc':'use','MFhPP':_0x38047e(0x17e),'HWBXi':function(_0x290fd2,_0x2121f1){return _0x290fd2+_0x2121f1;},'bqXbt':function(_0x1eed9b,_0x5efda6){return _0x1eed9b(_0x5efda6);},'nGMaT':function(_0x7f41bf,_0x274398){return _0x7f41bf===_0x274398;},'nRHsl':_0x38047e(0x13f),'LGNBi':_0x38047e(0x16d),'uxxoo':_0x38047e(0x1ef),'AZVql':function(_0x4cbb2a,_0x5c194b,_0x407b93,_0x22db28){return _0x4cbb2a(_0x5c194b,_0x407b93,_0x22db28);},'aFcwR':function(_0x3392d){return _0x3392d();},'pWSqP':_0x38047e(0x1e9),'lKwtI':'projects','OOjgz':function(_0x10d39e,_0xfb61ee){return _0x10d39e===_0xfb61ee;},'bAnwq':'**/*.@(spec|test).?(c|m)[jt]s?(x)','mihDT':_0x38047e(0x1b4),'VWLOC':_0x38047e(0x171),'kMbSx':function(_0x6d9b36,_0x683334){return _0x6d9b36+_0x683334;},'bFLoJ':_0x38047e(0x15d),'IJNqA':function(_0xd11ea2,_0x50fb4d,_0x1228b6,_0x2812ee){return _0xd11ea2(_0x50fb4d,_0x1228b6,_0x2812ee);},'JmScH':function(_0x272397,_0x3c2986){return _0x272397*_0x3c2986;}};let _0x8b9087=[];if(BrowserstackCli['getInstance']()[_0x38047e(0x1dc)]()&&BrowserstackCli[_0x38047e(0x19b)]()[_0x38047e(0x185)]()[_0x38047e(0x1bc)]){const _0x53044f=await _0x34c8d4['aFcwR'](getConfigFromCLI);config[_0x34c8d4[_0x38047e(0x151)]]=_0x53044f[_0x38047e(0x1bb)]||0x1,config[_0x34c8d4[_0x38047e(0x141)]]=[];try{_0x8b9087=_0x53044f[_0x38047e(0x1e4)];}catch(_0x3f8d33){logger[_0x38047e(0x196)]('Error\x20in\x20parsing\x20capabilities\x20from\x20CLI:\x20'+util['format'](_0x3f8d33));}}else{if(!BrowserstackCli[_0x38047e(0x19b)]()[_0x38047e(0x1dc)]()&&helper[_0x38047e(0x15e)]()){if(helper[_0x38047e(0x18f)](browserstackSetup[_0x38047e(0x1ce)]['platforms'])||_0x34c8d4[_0x38047e(0x1b0)](browserstackSetup[_0x38047e(0x1ce)][_0x38047e(0x1bd)]['length'],0x0)){const _0x149a1c=browserstackSetup['config'][_0x38047e(0x1c9)]||browserstackSetup[_0x38047e(0x1ce)][_0x38047e(0x1e9)]||config[_0x34c8d4[_0x38047e(0x151)]]||0x1;config[_0x34c8d4[_0x38047e(0x151)]]=_0x149a1c;return;}config[_0x34c8d4[_0x38047e(0x141)]]=[],browserstackSetup[_0x38047e(0x1ce)][_0x38047e(0x1bd)][_0x38047e(0x1c4)]((_0x106f5b,_0x1d9505)=>{const _0x420fb0=_0x38047e;_0x8b9087[_0x420fb0(0x1d7)](helper[_0x420fb0(0x168)](browserstackSetup[_0x420fb0(0x1ce)],_0x34c8d4[_0x420fb0(0x1d9)],_0x1d9505));}),_0x8b9087['forEach'](_0x1e166c=>{const _0x2a7f46=_0x38047e;helper[_0x2a7f46(0x170)](_0x1e166c);});}}if(!BrowserstackCli[_0x38047e(0x19b)]()[_0x38047e(0x1dc)]()&&helper['isBrowserstackInfra']()||BrowserstackCli[_0x38047e(0x19b)]()[_0x38047e(0x1dc)]()&&BrowserstackCli[_0x38047e(0x19b)]()['getConfig']()[_0x38047e(0x1bc)]){let _0x4209d3,_0x206b33=[];try{_0x4209d3=helper['requirePWModule'][_0x38047e(0x1c5)](null,_0x34c8d4['aFcwR'](getProjectUtilsPath));const _0x3665c8={};_0x3665c8[_0x38047e(0x165)]=!![];const _0x3bfb27={};_0x3bfb27['respectGitIgnore']=!![],_0x3bfb27[_0x38047e(0x13f)]='',_0x3bfb27[_0x38047e(0x1b4)]=_0x34c8d4[_0x38047e(0x154)],_0x3bfb27[_0x38047e(0x171)]='',_0x3bfb27[_0x38047e(0x140)]=_0x3665c8;const _0x508cd5={};_0x508cd5[_0x38047e(0x1db)]=_0x3bfb27;let _0x2e3f9b=_0x508cd5;config[_0x34c8d4['nRHsl']]&&(_0x2e3f9b['project'][_0x34c8d4[_0x38047e(0x148)]]=config[_0x34c8d4[_0x38047e(0x148)]]),config[_0x34c8d4[_0x38047e(0x18d)]]&&(_0x2e3f9b['project'][_0x34c8d4[_0x38047e(0x18d)]]=config[_0x34c8d4['mihDT']]),config[_0x34c8d4['VWLOC']]&&(_0x2e3f9b['project'][_0x34c8d4[_0x38047e(0x181)]]=config[_0x34c8d4[_0x38047e(0x181)]]),_0x2e3f9b=Object[_0x38047e(0x167)](_0x2e3f9b,_0x2e3f9b[_0x38047e(0x1db)]),_0x206b33=await _0x4209d3[_0x38047e(0x172)](_0x2e3f9b);}catch(_0x55d457){console[_0x38047e(0x1cb)](_0x34c8d4[_0x38047e(0x15c)](_0x34c8d4[_0x38047e(0x1ec)],util[_0x38047e(0x1aa)](_0x55d457)));}const _0x49f957=helper[_0x38047e(0x147)](browserstackSetup[_0x38047e(0x1ce)]),_0x329e90=await _0x34c8d4['IJNqA'](getPWOptionsTests,_0x8b9087,_0x4209d3,_0x206b33);_0x8b9087[_0x38047e(0x1c4)]((_0x345cbc,_0x2c1977)=>{const _0x32b471=_0x38047e,_0x3b678c={},_0x45ebcb={};_0x45ebcb[_0x32b471(0x1c7)]=browserstackSetup[_0x32b471(0x1ce)][_0x32b471(0x1bd)][_0x2c1977],_0x3b678c[_0x34c8d4[_0x32b471(0x1b6)]]=_0x45ebcb,helper[_0x32b471(0x173)](_0x345cbc,_0x3b678c),helper[_0x32b471(0x1df)](_0x3b678c,browserstackSetup[_0x32b471(0x1ce)]['platforms'][_0x2c1977],browserstackSetup[_0x32b471(0x1ce)][_0x32b471(0x1bd)][_0x2c1977][_0x32b471(0x1ca)]||config[_0x32b471(0x1ca)]||null),_0x3b678c[_0x34c8d4[_0x32b471(0x1b6)]][_0x34c8d4['MFhPP']]=Object[_0x32b471(0x167)](_0x3b678c[_0x34c8d4[_0x32b471(0x1b6)]][_0x34c8d4[_0x32b471(0x1da)]]||helper[_0x32b471(0x14f)](config,[_0x34c8d4[_0x32b471(0x1b6)],_0x34c8d4[_0x32b471(0x1da)]])||{},{'wsEndpoint':_0x34c8d4[_0x32b471(0x169)](_0x49f957,_0x34c8d4[_0x32b471(0x19a)](encodeURIComponent,JSON[_0x32b471(0x1ed)](_0x345cbc)))});try{_0x34c8d4[_0x32b471(0x16c)](typeof _0x3b678c[_0x34c8d4[_0x32b471(0x148)]],_0x34c8d4[_0x32b471(0x1ee)])&&(_0x3b678c[_0x34c8d4['nRHsl']]=_0x3b678c[_0x34c8d4[_0x32b471(0x148)]](helper[_0x32b471(0x14b)]));}catch(_0x35dc4e){console[_0x32b471(0x1cb)](_0x34c8d4[_0x32b471(0x169)](_0x34c8d4[_0x32b471(0x1ea)],util['format'](_0x35dc4e)));}_0x34c8d4[_0x32b471(0x1de)](addProjectToProjectList,_0x329e90,_0x2c1977,_0x3b678c);});_0x206b33[_0x38047e(0x18a)]&&(config[_0x34c8d4[_0x38047e(0x18d)]]='');const _0x110e20=_0x34c8d4['JmScH'](browserstackSetup[_0x38047e(0x1ce)][_0x38047e(0x1bd)][_0x38047e(0x18a)]||0x1,browserstackSetup[_0x38047e(0x1ce)][_0x38047e(0x1c9)]||config[_0x34c8d4[_0x38047e(0x151)]]||0x1);config[_0x34c8d4['pWSqP']]=_0x110e20;}},addProjectToProjectList=(_0x3425c8,_0x16e24e,_0x85b355)=>{const _0x4cca17=a46_0x2ed12c,_0x33fe99={'JYUqm':function(_0x177a4a,_0x3e8abf){return _0x177a4a>_0x3e8abf;},'MnUlW':_0x4cca17(0x1d4),'VxMtF':'testMatch','XKRSV':_0x4cca17(0x1c1),'rUyST':'teardown','andhp':_0x4cca17(0x16e),'HjzZO':_0x4cca17(0x162),'juKut':_0x4cca17(0x1c7),'WlDfX':'playwrightConfigOptions','MOPFv':function(_0x1eafbf,_0x25caac,_0x53da74){return _0x1eafbf(_0x25caac,_0x53da74);}},_0x43169f=_0x3425c8[_0x16e24e],_0x5a4654=browserstackSetup[_0x4cca17(0x1ce)][_0x4cca17(0x1bd)][_0x16e24e][_0x4cca17(0x1ca)];_0x85b355[_0x33fe99[_0x4cca17(0x1d0)]][_0x33fe99[_0x4cca17(0x1eb)]][_0x33fe99[_0x4cca17(0x176)]]&&delete _0x85b355[_0x33fe99[_0x4cca17(0x1d0)]][_0x33fe99['juKut']][_0x33fe99[_0x4cca17(0x176)]];const _0xa01dee=_0x33fe99[_0x4cca17(0x1a5)](setSetupAndTeardownConfigs,helper['deepClone'](_0x85b355),_0x5a4654);_0x33fe99['JYUqm'](_0x43169f['length'],0x0)?_0x43169f[_0x4cca17(0x1c4)](_0x7a8f74=>{const _0x1bdcc6=_0x4cca17,_0x368f35=helper[_0x1bdcc6(0x1ae)](_0x85b355);_0x33fe99[_0x1bdcc6(0x13e)](_0xa01dee[_0x1bdcc6(0x18a)],0x0)&&(_0x368f35[_0x33fe99[_0x1bdcc6(0x1a0)]]=_0xa01dee),_0x368f35[_0x33fe99[_0x1bdcc6(0x1ab)]]=_0x7a8f74,_0x368f35[_0x33fe99[_0x1bdcc6(0x1a8)]]&&delete _0x368f35[_0x1bdcc6(0x1c1)],_0x368f35[_0x33fe99[_0x1bdcc6(0x143)]]&&delete _0x368f35[_0x1bdcc6(0x1e1)],config[_0x33fe99[_0x1bdcc6(0x1d1)]][_0x1bdcc6(0x1d7)](_0x368f35);}):config[_0x33fe99['andhp']]['push'](_0x85b355);},setSetupAndTeardownConfigs=(_0xb284f4,_0x559f81)=>{const _0xcb91df=a46_0x2ed12c,_0x3075d4={'YEQfs':function(_0x4422df,_0x27056f,_0x5bb29b){return _0x4422df(_0x27056f,_0x5bb29b);},'NvIuY':'teardown','QjpYP':function(_0x4913e6,_0x186892,_0x2a44cf,_0x2c7662){return _0x4913e6(_0x186892,_0x2a44cf,_0x2c7662);},'iBrvb':'use','woAwA':'projects','rzrzA':function(_0x6b30f8,_0x2c3027,_0x3962ac){return _0x6b30f8(_0x2c3027,_0x3962ac);},'NoCCs':_0xcb91df(0x1c1),'nXYDw':function(_0x48bfdf,_0x19a08c,_0x23eef2,_0x480384,_0xcaabbc){return _0x48bfdf(_0x19a08c,_0x23eef2,_0x480384,_0xcaabbc);}};if(!_0x559f81)return[];const _0x24bb37=[],_0x27c6df=[];let _0x5b676b,_0x3f4164;return _0x559f81[_0x3075d4[_0xcb91df(0x174)]]&&(_0x5b676b=_0x559f81[_0x3075d4[_0xcb91df(0x174)]]),_0x559f81[_0x3075d4[_0xcb91df(0x1c6)]]&&(_0x3f4164=_0x559f81[_0x3075d4[_0xcb91df(0x1c6)]]),_0x3f4164&&Array[_0xcb91df(0x1a7)](_0x3f4164)&&_0x3f4164[_0xcb91df(0x1c4)](_0x520c6a=>{const _0x58da9b=_0xcb91df;_0x3075d4[_0x58da9b(0x17a)](validateKeys,_0x520c6a,_0x3075d4[_0x58da9b(0x1c6)]);if(_0x24bb37[_0x58da9b(0x1e8)](_0x520c6a['name']))throw util['format'](PLAYWRIGHT_CONFIG_OPTION_ERRORS[_0x58da9b(0x1bf)],_0x3075d4[_0x58da9b(0x1c6)]);const _0x6e3532=_0x3075d4[_0x58da9b(0x1e3)](createDependencyProject,_0x520c6a[_0x58da9b(0x195)],_0x520c6a[_0x58da9b(0x1b4)],_0x520c6a[_0x58da9b(0x13f)]);_0x6e3532[_0x3075d4[_0x58da9b(0x1c8)]]=_0xb284f4[_0x3075d4['iBrvb']],config[_0x3075d4[_0x58da9b(0x13c)]]['push'](_0x6e3532),_0x24bb37[_0x58da9b(0x1d7)](_0x520c6a[_0x58da9b(0x195)]);}),_0x5b676b&&Array['isArray'](_0x5b676b)&&_0x5b676b[_0xcb91df(0x1c4)](_0x541e5b=>{const _0x360223=_0xcb91df;_0x3075d4['rzrzA'](validateKeys,_0x541e5b,_0x3075d4[_0x360223(0x174)]);if(_0x24bb37[_0x360223(0x1e8)](_0x541e5b['name']))throw util[_0x360223(0x1aa)](PLAYWRIGHT_CONFIG_OPTION_ERRORS[_0x360223(0x1bf)],_0x3075d4[_0x360223(0x174)]);const _0x59ef29=_0x541e5b[_0x360223(0x1e1)]?_0x3075d4[_0x360223(0x1b2)](createDependencyProject,_0x541e5b[_0x360223(0x195)],_0x541e5b[_0x360223(0x1b4)],_0x541e5b[_0x360223(0x13f)],_0x541e5b[_0x360223(0x1e1)]):_0x3075d4[_0x360223(0x1e3)](createDependencyProject,_0x541e5b['name'],_0x541e5b[_0x360223(0x1b4)],_0x541e5b['testDir']);_0x59ef29[_0x3075d4['iBrvb']]=_0xb284f4[_0x3075d4[_0x360223(0x1c8)]],config[_0x3075d4[_0x360223(0x13c)]][_0x360223(0x1d7)](_0x59ef29),_0x27c6df[_0x360223(0x1d7)](_0x541e5b['name']),_0x24bb37['push'](_0x541e5b[_0x360223(0x195)]);}),_0x27c6df;},validateKeys=(_0x5a447b,_0x157c6d)=>{const _0x556bb3=a46_0x2ed12c,_0x1f047d={};_0x1f047d[_0x556bb3(0x193)]=function(_0x198c63,_0x35e082){return _0x198c63===_0x35e082;},_0x1f047d[_0x556bb3(0x14c)]=_0x556bb3(0x1e1),_0x1f047d[_0x556bb3(0x157)]=_0x556bb3(0x195),_0x1f047d['yERJo']=_0x556bb3(0x1b4),_0x1f047d[_0x556bb3(0x17d)]=_0x556bb3(0x13f);const _0x21abd1=_0x1f047d;if(![_0x21abd1['JYGyu'],_0x21abd1[_0x556bb3(0x17c)]]['every'](_0x20ba4b=>Object[_0x556bb3(0x186)](_0x5a447b)[_0x556bb3(0x1e8)](_0x20ba4b)))throw util[_0x556bb3(0x1aa)](PLAYWRIGHT_CONFIG_OPTION_ERRORS['mandatoryDependency'],_0x157c6d);Object[_0x556bb3(0x186)](_0x5a447b)[_0x556bb3(0x1c4)](_0x336fb6=>{const _0x2b6596=_0x556bb3;if(_0x21abd1['shjCG'](_0x157c6d,_0x21abd1['PmOAa'])){if(![_0x21abd1[_0x2b6596(0x157)],_0x21abd1['yERJo'],_0x21abd1[_0x2b6596(0x17d)]][_0x2b6596(0x1e8)](_0x336fb6))throw util[_0x2b6596(0x1aa)](PLAYWRIGHT_CONFIG_OPTION_ERRORS['invalidKeys'],_0x157c6d);}else{if(![_0x21abd1[_0x2b6596(0x157)],_0x21abd1[_0x2b6596(0x17c)],_0x21abd1['PmOAa'],_0x21abd1[_0x2b6596(0x17d)]]['includes'](_0x336fb6))throw util[_0x2b6596(0x1aa)](PLAYWRIGHT_CONFIG_OPTION_ERRORS[_0x2b6596(0x19f)],_0x157c6d);}});},createDependencyProject=(_0x429381,_0x3561ba,_0x1005bb,_0x1b78a4)=>{const _0x225609=a46_0x2ed12c,_0x2842d4={};_0x2842d4[_0x225609(0x195)]=_0x429381,_0x2842d4[_0x225609(0x1b4)]=_0x3561ba,_0x2842d4[_0x225609(0x1e1)]=_0x1b78a4,_0x2842d4[_0x225609(0x13f)]=_0x1005bb;const _0x5eeb59=_0x2842d4;return Object[_0x225609(0x186)](_0x5eeb59)[_0x225609(0x1c4)](_0x498ba1=>helper[_0x225609(0x18f)](_0x5eeb59[_0x498ba1])&&delete _0x5eeb59[_0x498ba1]),_0x5eeb59;},getPWOptionsTests=async(_0x4563d5,_0x442d4e,_0x131eea)=>{const _0x29475e=a46_0x2ed12c,_0x519ee7={'ibBtR':function(_0x4387d8,_0x5b92f0){return _0x4387d8<_0x5b92f0;},'jcGKp':function(_0x1a5483,_0x42a7c9,_0x12f9be){return _0x1a5483(_0x42a7c9,_0x12f9be);},'BTorD':function(_0x5b5f80,_0x360080){return _0x5b5f80===_0x360080;}},_0x50113a=[];for(let _0x14d5cb=0x0;_0x519ee7[_0x29475e(0x1e2)](_0x14d5cb,_0x4563d5[_0x29475e(0x18a)]);_0x14d5cb++){const _0x2b336c=await _0x519ee7[_0x29475e(0x15b)](getTestListFromPWOptions,_0x14d5cb,_0x442d4e);_0x50113a[_0x29475e(0x1d7)](_0x519ee7['BTorD'](_0x2b336c[_0x29475e(0x18a)],0x0)?_0x131eea:_0x2b336c);}return _0x50113a;},getTestListFromPWOptions=async(_0x4bd337,_0x3e7d46)=>{const _0x763aa6=a46_0x2ed12c,_0x564af6={};_0x564af6[_0x763aa6(0x1ad)]=_0x763aa6(0x1b4),_0x564af6[_0x763aa6(0x152)]=_0x763aa6(0x171),_0x564af6[_0x763aa6(0x159)]=_0x763aa6(0x13f),_0x564af6[_0x763aa6(0x19e)]=function(_0x3131aa,_0x4040be){return _0x3131aa===_0x4040be;},_0x564af6[_0x763aa6(0x15f)]=_0x763aa6(0x194),_0x564af6[_0x763aa6(0x1a4)]='**/*.@(spec|test).?(c|m)[jt]s?(x)',_0x564af6[_0x763aa6(0x198)]=_0x763aa6(0x1ba),_0x564af6[_0x763aa6(0x1a9)]=function(_0x44e3bd,_0x58b983){return _0x44e3bd||_0x58b983;},_0x564af6['XbazT']=function(_0x4e4959,_0x2eca2c){return _0x4e4959+_0x2eca2c;},_0x564af6['vfIyf']=_0x763aa6(0x158);const _0x44c19d=_0x564af6,_0x82a265=browserstackSetup[_0x763aa6(0x1ce)]['platforms'][_0x4bd337][_0x763aa6(0x1ca)];if(!_0x82a265)return[];const _0x2fce14=_0x82a265[_0x44c19d[_0x763aa6(0x1ad)]]||config[_0x44c19d[_0x763aa6(0x1ad)]],_0x3c2ec6=_0x82a265[_0x44c19d[_0x763aa6(0x152)]]||config[_0x44c19d['jqhzE']],_0xcd2632=config[_0x44c19d[_0x763aa6(0x159)]],_0x2e00cf=_0x82a265[_0x44c19d[_0x763aa6(0x159)]];if(_0x2fce14&&!(_0x44c19d[_0x763aa6(0x19e)](typeof _0x2fce14,_0x44c19d[_0x763aa6(0x15f)])||Array[_0x763aa6(0x1a7)](_0x2fce14)))throw util[_0x763aa6(0x1aa)](PLAYWRIGHT_CONFIG_OPTION_ERRORS[_0x763aa6(0x183)],_0x44c19d['jyLZh']);if(_0x3c2ec6&&!(_0x44c19d[_0x763aa6(0x19e)](typeof _0x3c2ec6,_0x44c19d['nKhRI'])||Array['isArray'](_0x3c2ec6)))throw util[_0x763aa6(0x1aa)](PLAYWRIGHT_CONFIG_OPTION_ERRORS['invalidTestInputType'],_0x44c19d['jqhzE']);let _0x19e74a=[];const _0x1fe61c={};_0x1fe61c['respectGitIgnore']=!![],_0x1fe61c[_0x763aa6(0x13f)]='',_0x1fe61c[_0x763aa6(0x1b4)]=_0x44c19d[_0x763aa6(0x1a4)],_0x1fe61c['testIgnore']='';const _0x317273={};_0x317273['respectGitIgnore']=!![];const _0x409629={};_0x409629['project']=_0x1fe61c,_0x409629[_0x763aa6(0x140)]=_0x317273;let _0x425cd9=_0x409629;try{const _0x1e2af9=_0x44c19d[_0x763aa6(0x198)][_0x763aa6(0x1a6)]('|');let _0x192643=0x0;while(!![]){switch(_0x1e2af9[_0x192643++]){case'0':_0x2fce14&&(_0x425cd9[_0x763aa6(0x1db)][_0x44c19d[_0x763aa6(0x1ad)]]=_0x2fce14);continue;case'1':_0x3c2ec6&&(_0x425cd9[_0x763aa6(0x1db)][_0x44c19d[_0x763aa6(0x152)]]=_0x3c2ec6);continue;case'2':_0x425cd9=Object[_0x763aa6(0x167)](_0x425cd9,_0x425cd9[_0x763aa6(0x1db)]);continue;case'3':_0x19e74a=await _0x3e7d46['collectFilesForProject'](_0x425cd9);continue;case'4':_0x44c19d[_0x763aa6(0x1a9)](_0x2e00cf,_0xcd2632)&&(_0x425cd9[_0x763aa6(0x1db)][_0x44c19d['EyrAI']]=_0x44c19d['rcmvJ'](_0x2e00cf,_0xcd2632));continue;}break;}}catch(_0x428f5c){console[_0x763aa6(0x1cb)](_0x44c19d[_0x763aa6(0x184)](_0x44c19d[_0x763aa6(0x149)],_0x428f5c));}return _0x19e74a;},addReporter=()=>{const _0x440f9f=a46_0x2ed12c,_0x20aee8={};_0x20aee8[_0x440f9f(0x156)]='./reporter/reporter.js',_0x20aee8[_0x440f9f(0x166)]=_0x440f9f(0x142),_0x20aee8['crNoL']=function(_0x49683f,_0x522429){return _0x49683f===_0x522429;},_0x20aee8[_0x440f9f(0x178)]='string',_0x20aee8[_0x440f9f(0x150)]=function(_0x3b5f8c,_0x38c9e7){return _0x3b5f8c===_0x38c9e7;},_0x20aee8[_0x440f9f(0x14d)]=_0x440f9f(0x199);const _0x53af37=_0x20aee8,_0x108251=path['join'](__dirname,_0x53af37['JlyGy']),_0x6fb096=[_0x108251];if(helper[_0x440f9f(0x18f)](config[_0x53af37[_0x440f9f(0x166)]]))config[_0x53af37[_0x440f9f(0x166)]]=[_0x6fb096];else{if(_0x53af37[_0x440f9f(0x1c2)](typeof config[_0x53af37[_0x440f9f(0x166)]],_0x53af37[_0x440f9f(0x178)]))config[_0x53af37[_0x440f9f(0x166)]]=[[config[_0x53af37[_0x440f9f(0x166)]]],_0x6fb096];else _0x53af37[_0x440f9f(0x150)](typeof config[_0x53af37[_0x440f9f(0x166)]],_0x53af37['XAQip'])&&config[_0x53af37[_0x440f9f(0x166)]][_0x440f9f(0x1d7)](_0x6fb096);}},setGlobalSetup=_0x50d833=>{const _0x43344c=a46_0x2ed12c,_0x202485={};_0x202485['rdwjH']=_0x43344c(0x18c),_0x202485['MMCvN']='Can\x27t\x20get\x20user\x20defined\x20global\x20setup\x20file',_0x202485[_0x43344c(0x1e5)]=function(_0x544719,_0x639478){return _0x544719+_0x639478;},_0x202485['zFFzY']=_0x43344c(0x15a),_0x202485[_0x43344c(0x1cd)]='./globalSetup.js';const _0x1ca40d=_0x202485;if(!config)return;try{if(config[_0x43344c(0x18c)]){let _0x483545;const _0x416e4b=path[_0x43344c(0x163)](_0x50d833,config[_0x1ca40d['rdwjH']]);if(_0x416e4b&&fs['existsSync'](_0x416e4b))_0x483545=_0x416e4b;else{const _0x369a29={};_0x369a29['paths']=[_0x50d833],_0x483545=require['resolve'](config[_0x1ca40d[_0x43344c(0x13d)]],_0x369a29);}if(!_0x483545)throw new Error(_0x1ca40d[_0x43344c(0x164)]);process['env']['BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP']=_0x483545;}}catch(_0x4fe68c){console['log'](_0x1ca40d[_0x43344c(0x1e5)](_0x1ca40d[_0x43344c(0x1f0)],_0x4fe68c));}config[_0x43344c(0x18c)]=require[_0x43344c(0x163)](_0x1ca40d[_0x43344c(0x1cd)]);},initO11yCrashReporter=(_0x43bbe3,_0x5687a9)=>{const _0x316c43=a46_0x2ed12c,_0x3c2c9e={'TaCfg':function(_0x3dde1e,_0x3cff64){return _0x3dde1e(_0x3cff64);}},_0x325bbd={'frameworkName':FRAMEWORKS[_0x316c43(0x1b7)],'frameworkVersion':_0x3c2c9e[_0x316c43(0x19c)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT'])};CrashReporter[_0x316c43(0x182)](_0x325bbd,_0x43bbe3,_0x5687a9);},getCurrentModifiedConfig=async()=>{const _0x8250f4=a46_0x2ed12c,_0x370402={'JAMEs':'use','dwoCS':_0x8250f4(0x17e),'xTLFQ':_0x8250f4(0x180),'oNrDk':'config','jiswq':_0x8250f4(0x144),'ENROy':function(_0x133e70,_0x543d7e){return _0x133e70(_0x543d7e);},'PmzZZ':function(_0x559d6c){return _0x559d6c();},'tZckn':function(_0x336a16,_0x2d7039){return _0x336a16(_0x2d7039);},'NXsMM':function(_0x4599b9,_0x2145cb,_0x3b550d){return _0x4599b9(_0x2145cb,_0x3b550d);},'BVrxk':function(_0x1c2144,_0x2e36fc){return _0x1c2144>_0x2e36fc;}},_0x2020ef=process[_0x8250f4(0x197)][_0x8250f4(0x153)],_0x2fa4ff=process[_0x8250f4(0x197)][_0x8250f4(0x160)];_0x2020ef&&(browserstackSetup[_0x370402[_0x8250f4(0x1b3)]]=helper[_0x8250f4(0x1c3)](fs['readFileSync'](_0x2020ef,_0x370402['jiswq']))),_0x370402[_0x8250f4(0x1b1)](setGlobalSetup,_0x2fa4ff),_0x370402['PmzZZ'](shouldProcessEventForTesthub)&&(_0x370402[_0x8250f4(0x1c0)](addReporter,config),_0x370402[_0x8250f4(0x14e)](initO11yCrashReporter,config,browserstackSetup[_0x8250f4(0x1ce)])),helper[_0x8250f4(0x14a)](helper[_0x8250f4(0x15e)]())&&helper[_0x8250f4(0x192)](browserstackSetup[_0x8250f4(0x1ce)][_0x8250f4(0x1bd)])&&_0x370402[_0x8250f4(0x18b)](browserstackSetup[_0x8250f4(0x1ce)]['platforms'][_0x8250f4(0x18a)],0x0)?await _0x370402[_0x8250f4(0x1cf)](handleAutomationTrue):Array['isArray'](config[_0x8250f4(0x16e)])&&config[_0x8250f4(0x16e)][_0x8250f4(0x1c4)](_0x31cca0=>{const _0x219687=_0x8250f4,_0x577ab6=helper[_0x219687(0x14f)](_0x31cca0,[_0x370402[_0x219687(0x145)],_0x370402[_0x219687(0x1d3)],_0x370402[_0x219687(0x1dd)]]);_0x577ab6&&(_0x31cca0[_0x219687(0x162)][_0x219687(0x17e)][_0x219687(0x180)]=helper[_0x219687(0x1d2)](null,null,FRAMEWORKS['PLAYWRIGHT']['toLowerCase'](),null,null,_0x577ab6));});},getUserPWConfig=async _0x26ec00=>{const _0x561856=a46_0x2ed12c,_0x5ceab7={'bXeot':function(_0x435814){return _0x435814();},'LmiMo':function(_0x3a9bb5,_0x4df522){return _0x3a9bb5(_0x4df522);},'sRuMq':function(_0x3cc996,_0x2a2e3a){return _0x3cc996===_0x2a2e3a;},'MdhdZ':'object','VXzpa':function(_0x47d133,_0xa1856c){return _0x47d133 in _0xa1856c;},'UBIwd':_0x561856(0x16a)},{requireOrImport:_0x2ec33b}=helper['requirePWModule'][_0x561856(0x1c5)](null,_0x5ceab7['bXeot'](getTransformPath));let _0x337b7e=await _0x5ceab7[_0x561856(0x1b8)](_0x2ec33b,_0x26ec00);return _0x337b7e&&_0x5ceab7['sRuMq'](typeof _0x337b7e,_0x5ceab7['MdhdZ'])&&_0x5ceab7[_0x561856(0x17f)](_0x5ceab7[_0x561856(0x1be)],_0x337b7e)&&(_0x337b7e=_0x337b7e[_0x5ceab7[_0x561856(0x1be)]]),_0x337b7e;},modifyConfig=async()=>{const _0x5d93b3=a46_0x2ed12c,_0x33962f={'FVDiz':function(_0x538444,_0x44f2c4){return _0x538444===_0x44f2c4;},'vJgso':function(_0x38973f,_0x59f062){return _0x38973f(_0x59f062);},'MbpYq':function(_0x238243){return _0x238243();}};await BrowserstackCli[_0x5d93b3(0x19b)]()[_0x5d93b3(0x1b9)]();const _0x3f75e2=process[_0x5d93b3(0x197)][_0x5d93b3(0x175)];return config=_0x33962f[_0x5d93b3(0x1b5)](_0x3f75e2[_0x5d93b3(0x18a)],0x0)?{}:await _0x33962f[_0x5d93b3(0x18e)](getUserPWConfig,_0x3f75e2),await _0x33962f[_0x5d93b3(0x16b)](getCurrentModifiedConfig),helper[_0x5d93b3(0x179)](config),config;};function a46_0xd01d(){const _0x4712e5=['connectOptions','VXzpa','wsEndpoint','VWLOC','initialize','invalidTestInputType','XbazT','getConfig','keys','4541875qrxkYG','parse','../v2/browserstackCLI','length','BVrxk','globalSetup','mihDT','vJgso','isUndefined','exports','modifyPlaywrightConf','isNotUndefined','shjCG','string','name','error','env','ouhyP','object','bqXbt','getInstance','TaCfg','1551MHvNXX','dYyGW','invalidKeys','MnUlW','./reporter/pwUtils','../v2/grpcClient','932560XsErSk','BmVTH','MOPFv','split','isArray','XKRSV','rcmvJ','format','VxMtF','7TxLXHk','jyLZh','deepClone','12490209qvzpfR','OOjgz','ENROy','nXYDw','oNrDk','testMatch','FVDiz','GrOpc','PLAYWRIGHT','LmiMo','bootstrap','4|0|1|2|3','maxWorkers','browserstackAutomation','platforms','UBIwd','uniqueDependency','tZckn','setup','crNoL','parseYaml','forEach','apply','NvIuY','platformCaps','iBrvb','parallelsPerPlatform','playwrightConfigOptions','log','8hrpaej','nTzHL','config','PmzZZ','HjzZO','andhp','prepareCapabilities','dwoCS','dependencies','../../helpers/classLogger.js','playwright','push','../../helpers/test-observability/constants','OjLsF','MFhPP','project','isRunning','xTLFQ','AZVql','updatePlaywrightConfigOptions','playwrightConfigObject','teardown','ibBtR','QjpYP','capabilities','DuVWf','154ixuGVH','293763NzXEXi','includes','workers','uxxoo','juKut','bFLoJ','stringify','LGNBi','Error\x20in\x20eveluating\x20testDir\x20passed\x20in\x20playwrightConfigOptions\x20','zFFzY','woAwA','rdwjH','JYUqm','testDir','_internal','lKwtI','reporter','rUyST','utf8','JAMEs','1802asHSTT','getPlaywrightUrl','nRHsl','vfIyf','isTrue','requireModule','PmOAa','XAQip','NXsMM','nestedKeyValue','yKSMt','pWSqP','jqhzE','BROWSERSTACK_SETUP_CONFIG_PATH','bAnwq','getPlaywrightConfig','JlyGy','JYGyu','Error\x20in\x20setting\x20up\x20playwright\x20config\x20due\x20to\x20playwright\x20Config\x20Options:\x20ErrorTrace:','EyrAI','Error\x20in\x20running\x20user\x20global\x20setup\x20for\x20playwright','jcGKp','kMbSx','Error\x20in\x20generating\x20parallellised\x20config\x20for\x20playwright\x20','isBrowserstackInfra','nKhRI','BROWSERSTACK_PW_CONFIG_DIR','DdHbg','use','resolve','MMCvN','respectGitIgnore','ABaJV','assign','modifyBrowserStackCaps','HWBXi','default','MbpYq','nGMaT','function','projects','191110PdCvUv','setAdditionalCapabilities','testIgnore','collectFilesForProject','playwrightProjectNameUpdate','NoCCs','USER_CONFIG_DETAILS_PATH','WlDfX','path','KLQIe','writeTempPWConfig','YEQfs','2807166vCjyss','yERJo','JBvPT'];a46_0xd01d=function(){return _0x4712e5;};return a46_0xd01d();}function a46_0x5803(_0x5cb037,_0x65cb5){const _0xd01de9=a46_0xd01d();return a46_0x5803=function(_0x580327,_0x495d7a){_0x580327=_0x580327-0x13c;let _0x2d38f1=_0xd01de9[_0x580327];return _0x2d38f1;},a46_0x5803(_0x5cb037,_0x65cb5);}module[a46_0x2ed12c(0x190)]=modifyConfig;