browserstack-node-sdk 1.68.0 → 1.68.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (220) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  42. package/src/bin/codeceptjs/command.js +1 -1
  43. package/src/bin/codeceptjs/helper.js +1 -1
  44. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  45. package/src/bin/cucumber-js/command.js +1 -1
  46. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  48. package/src/bin/cucumber-js/test-observability.js +1 -1
  49. package/src/bin/cucumber-js/test.setup.js +1 -1
  50. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  51. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  52. package/src/bin/detox/a11ySetup.js +1 -1
  53. package/src/bin/detox/command.js +1 -1
  54. package/src/bin/detox/modifyDetoxConf.js +1 -1
  55. package/src/bin/detox/traEmitter.js +1 -1
  56. package/src/bin/integrations/command.js +1 -1
  57. package/src/bin/integrations/constants.js +1 -1
  58. package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
  59. package/src/bin/jasmine/command.js +1 -1
  60. package/src/bin/jasmine/test.setup.js +1 -1
  61. package/src/bin/jasmine/testRunMap.js +1 -1
  62. package/src/bin/jest/command.js +1 -1
  63. package/src/bin/jest/customImplements/customCircus.js +1 -1
  64. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  65. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  66. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  67. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  68. package/src/bin/jest/jest.setup.js +1 -1
  69. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  70. package/src/bin/jest/test-observability/helper.js +1 -1
  71. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  72. package/src/bin/jest/test-observability/test-details.js +1 -1
  73. package/src/bin/jest/test.setup.js +1 -1
  74. package/src/bin/jest/test_before.setup.js +1 -1
  75. package/src/bin/launcher/launcher.js +1 -1
  76. package/src/bin/load/index.js +1 -1
  77. package/src/bin/load/loadErrors.js +1 -1
  78. package/src/bin/load/loadUtils.js +1 -1
  79. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  80. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  81. package/src/bin/mocha/command.js +1 -1
  82. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  83. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  84. package/src/bin/mocha/test.setup.js +1 -1
  85. package/src/bin/newman/command.js +1 -1
  86. package/src/bin/newman/helper.js +1 -1
  87. package/src/bin/newman/reporter/index.js +1 -1
  88. package/src/bin/newman/scriptRunner.js +1 -1
  89. package/src/bin/nightwatch/command.js +1 -1
  90. package/src/bin/node-generic/client.js +1 -1
  91. package/src/bin/playwright/accessibility-helper.js +1 -1
  92. package/src/bin/playwright/command.js +1 -1
  93. package/src/bin/playwright/globalSetup.js +1 -1
  94. package/src/bin/playwright/mock-process.js +1 -1
  95. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  96. package/src/bin/playwright/patches.js +1 -1
  97. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  98. package/src/bin/playwright/reporter/reporter.js +1 -1
  99. package/src/bin/playwright/reporter/test-details.js +1 -1
  100. package/src/bin/playwright/reporterArgs.js +1 -1
  101. package/src/bin/playwright/sessionDetails.js +1 -1
  102. package/src/bin/puppeteer/patches.js +1 -1
  103. package/src/bin/puppeteer/sessionDetails.js +1 -1
  104. package/src/bin/puppeteer/test.setup.js +1 -1
  105. package/src/bin/runner.js +1 -1
  106. package/src/bin/setup.js +1 -1
  107. package/src/bin/test-runner/index.js +1 -1
  108. package/src/bin/test-runner/runTest.js +1 -1
  109. package/src/bin/test-runner/testWorker.js +1 -1
  110. package/src/bin/testcafe/a11y-runner.js +1 -1
  111. package/src/bin/testcafe/command.js +1 -1
  112. package/src/bin/testcafe/reporter/index.js +1 -1
  113. package/src/bin/testcafe/reporter/tcUtils.js +1 -1
  114. package/src/bin/testcafe/session-registry.js +1 -1
  115. package/src/bin/testcafe/stdout-interceptor.js +1 -1
  116. package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
  117. package/src/bin/testcafe/w3c-driver.js +1 -1
  118. package/src/bin/utils/apiUtilityMethods.js +1 -1
  119. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  120. package/src/bin/utils/constants.js +1 -1
  121. package/src/bin/utils/log4jsAppender.js +1 -1
  122. package/src/bin/utils/logPatcher.js +1 -1
  123. package/src/bin/utils/logReportingAPI.js +1 -1
  124. package/src/bin/utils/playwright-patcher.js +1 -1
  125. package/src/bin/utils/puppeteer-patcher.js +1 -1
  126. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  127. package/src/bin/utils/sharedUtils.js +1 -1
  128. package/src/bin/v2/TestInfo.js +1 -1
  129. package/src/bin/v2/browserstackCLI.js +1 -1
  130. package/src/bin/v2/cliUtils.js +1 -1
  131. package/src/bin/v2/customTagManager.js +1 -1
  132. package/src/bin/v2/eventDispatcher.js +1 -1
  133. package/src/bin/v2/framework/automationFramework.js +1 -1
  134. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  135. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  136. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  137. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  138. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  139. package/src/bin/v2/framework/nodeGenericTestFramework.js +1 -1
  140. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  141. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  142. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  143. package/src/bin/v2/framework/testFramework.js +1 -1
  144. package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
  145. package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
  146. package/src/bin/v2/grpcClient.js +1 -1
  147. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  148. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  149. package/src/bin/v2/instances/trackedContext.js +1 -1
  150. package/src/bin/v2/instances/trackedInstance.js +1 -1
  151. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  152. package/src/bin/v2/modules/baseModule.js +1 -1
  153. package/src/bin/v2/modules/loadTestModule.js +1 -1
  154. package/src/bin/v2/modules/observabilityModule.js +1 -1
  155. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  156. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  157. package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
  158. package/src/bin/v2/modules/testhubModule.js +1 -1
  159. package/src/bin/v2/sdkErrorHandler.js +1 -1
  160. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  161. package/src/bin/v2/state/hookState.js +1 -1
  162. package/src/bin/v2/state/testFrameworkState.js +1 -1
  163. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  164. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  165. package/src/bin/v2/utils/jest-utils.js +1 -1
  166. package/src/bin/vanilla-js/command.js +1 -1
  167. package/src/browserStackSdk.js +1 -1
  168. package/src/helpers/BrowserStackSetup.js +1 -1
  169. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  170. package/src/helpers/accessibility-automation/constants.js +1 -1
  171. package/src/helpers/accessibility-automation/helper.js +1 -1
  172. package/src/helpers/accessibility-automation/scripts.js +1 -1
  173. package/src/helpers/ats/constants.js +1 -1
  174. package/src/helpers/ats/helper.js +1 -1
  175. package/src/helpers/caCertHelper.js +1 -1
  176. package/src/helpers/capsMapping.js +1 -1
  177. package/src/helpers/central-scanner/constants.js +1 -1
  178. package/src/helpers/central-scanner/helpers.js +1 -1
  179. package/src/helpers/classLogger.js +1 -1
  180. package/src/helpers/driverInitErrorReporter.js +1 -1
  181. package/src/helpers/globals.js +1 -1
  182. package/src/helpers/helper.js +1 -1
  183. package/src/helpers/logger.js +1 -1
  184. package/src/helpers/metadata.js +1 -1
  185. package/src/helpers/patchHelper.js +1 -1
  186. package/src/helpers/patchHelpers.js +1 -1
  187. package/src/helpers/percy/Percy.js +1 -1
  188. package/src/helpers/percy/PercyBinary.js +1 -1
  189. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  190. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  191. package/src/helpers/percy/PercySDK.js +1 -1
  192. package/src/helpers/percy/index.js +1 -1
  193. package/src/helpers/percy/utils.js +1 -1
  194. package/src/helpers/performance/constants.js +1 -1
  195. package/src/helpers/performance/performance-tester.js +1 -1
  196. package/src/helpers/playwright-helper.js +1 -1
  197. package/src/helpers/processHelper.js +1 -1
  198. package/src/helpers/puppeteer-helper.js +1 -1
  199. package/src/helpers/request-spy.js +1 -1
  200. package/src/helpers/setKeepAlive.js +1 -1
  201. package/src/helpers/stackFrameUtils.js +1 -1
  202. package/src/helpers/test-observability/constants.js +1 -1
  203. package/src/helpers/test-observability/error-handler.js +1 -1
  204. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  205. package/src/helpers/test-observability/sessionHandler.js +1 -1
  206. package/src/helpers/test-observability/utils.js +1 -1
  207. package/src/helpers/test-orchestration/constants.js +1 -1
  208. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  209. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  210. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  211. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  212. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  213. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  214. package/src/helpers/testhub/constants.js +1 -1
  215. package/src/helpers/testhub/testhubHandler.js +1 -1
  216. package/src/helpers/testhub/utils.js +1 -1
  217. package/src/helpers/utilities.js +1 -1
  218. package/src/helpers/w3cMapping.js +1 -1
  219. package/src/hubAllocationMethods.js +1 -1
  220. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a54_0x3bc5f0=a54_0x2619;(function(_0x1ec40f,_0x4b2562){const _0x36ebf6=a54_0x2619,_0x42ffb3=_0x1ec40f();while(!![]){try{const _0x3575fd=parseInt(_0x36ebf6(0x1b2))/0x1+parseInt(_0x36ebf6(0x199))/0x2*(parseInt(_0x36ebf6(0x189))/0x3)+-parseInt(_0x36ebf6(0x164))/0x4*(parseInt(_0x36ebf6(0x1d1))/0x5)+-parseInt(_0x36ebf6(0x159))/0x6+-parseInt(_0x36ebf6(0x18d))/0x7*(parseInt(_0x36ebf6(0xd9))/0x8)+-parseInt(_0x36ebf6(0x194))/0x9*(-parseInt(_0x36ebf6(0x113))/0xa)+-parseInt(_0x36ebf6(0xe5))/0xb*(-parseInt(_0x36ebf6(0x197))/0xc);if(_0x3575fd===_0x4b2562)break;else _0x42ffb3['push'](_0x42ffb3['shift']());}catch(_0x2b2584){_0x42ffb3['push'](_0x42ffb3['shift']());}}}(a54_0x2262,0xe61bd));const fs=require('fs'),util=require('util'),path=require('path');let config={};function a54_0x2619(_0x1645d2,_0x385050){const _0x2262f0=a54_0x2262();return a54_0x2619=function(_0x2619c4,_0x18549e){_0x2619c4=_0x2619c4-0xc5;let _0x274302=_0x2262f0[_0x2619c4];return _0x274302;},a54_0x2619(_0x1645d2,_0x385050);}const browserstackSetup={},helper=require(a54_0x3bc5f0(0xd7)),{PLAYWRIGHT_CONFIG_OPTION_ERRORS}=require(a54_0x3bc5f0(0x191)),{getTransformPath,getProjectUtilsPath}=require(a54_0x3bc5f0(0x1a7)),{shouldProcessEventForTesthub}=require(a54_0x3bc5f0(0xda)),{CrashReporter}=require(a54_0x3bc5f0(0x15e)),{FRAMEWORKS}=require(a54_0x3bc5f0(0x153)),{getFrameworkVersion}=require(a54_0x3bc5f0(0x140)),BrowserstackCli=require(a54_0x3bc5f0(0x174)),GrpcClient=require('../v2/grpcClient'),{createClassLogger}=require(a54_0x3bc5f0(0x13c)),logger=createClassLogger(a54_0x3bc5f0(0x1a1)),PLAYWRIGHT_UNSUPPORTED_REMOTE_ARTIFACTS=[a54_0x3bc5f0(0x1c4),'trace'];let unsupportedRemoteArtifactWarningShown=![];const isArtifactEnabled=_0x4c2ec5=>{const _0x36eae2=a54_0x3bc5f0,_0x4edfae={};_0x4edfae[_0x36eae2(0x137)]=function(_0x5581ad,_0x24d3d1){return _0x5581ad===_0x24d3d1;},_0x4edfae['mXTSb']='off',_0x4edfae[_0x36eae2(0x1c9)]=_0x36eae2(0x132),_0x4edfae[_0x36eae2(0x19c)]=function(_0x42b3e0,_0x3ad8df){return _0x42b3e0!==_0x3ad8df;};const _0x30852e=_0x4edfae;if(helper[_0x36eae2(0x177)](_0x4c2ec5)||_0x30852e['pBzCw'](_0x4c2ec5,_0x30852e['mXTSb'])||_0x30852e[_0x36eae2(0x137)](_0x4c2ec5,![]))return![];if(_0x30852e['pBzCw'](typeof _0x4c2ec5,_0x30852e[_0x36eae2(0x1c9)]))return _0x30852e[_0x36eae2(0x19c)](_0x4c2ec5[_0x36eae2(0x1a4)],_0x30852e[_0x36eae2(0x136)])&&_0x30852e[_0x36eae2(0x19c)](_0x4c2ec5[_0x36eae2(0x1a4)],undefined);return!![];},disableUnsupportedRemoteArtifacts=_0x2d2723=>{const _0x460f81=a54_0x3bc5f0,_0x3cfd59={'XcXRu':function(_0x1a3abb,_0x57ae7d){return _0x1a3abb(_0x57ae7d);},'WEUSo':'use','XJeNe':function(_0x7d35b4,_0xf7245){return _0x7d35b4(_0xf7245);},'OLKHU':_0x460f81(0x143),'SpFdh':function(_0x3c49ca,_0x5d2204){return _0x3c49ca&&_0x5d2204;},'JqPWn':'Playwright\x20\x22video\x22\x20and\x20\x22trace\x22\x20recording\x20are\x20not\x20supported\x20over\x20BrowserStack\x20remote\x20sessions\x20and\x20have\x20been\x20disabled\x20to\x20prevent\x20run\x20failures.\x20Session\x20video\x20is\x20available\x20on\x20the\x20BrowserStack\x20Automate\x20dashboard.\x20The\x20\x22screenshot\x22\x20option\x20is\x20unaffected.'};if(!_0x2d2723||!_0x2d2723[_0x3cfd59[_0x460f81(0x167)]])return;let _0x4b1b1a=![];PLAYWRIGHT_UNSUPPORTED_REMOTE_ARTIFACTS[_0x460f81(0x10c)](_0x1412fa=>{const _0x4996d6=_0x460f81;(_0x3cfd59[_0x4996d6(0xc7)](isArtifactEnabled,_0x2d2723[_0x3cfd59['WEUSo']][_0x1412fa])||_0x3cfd59[_0x4996d6(0x195)](isArtifactEnabled,helper[_0x4996d6(0x15c)](config,[_0x3cfd59['WEUSo'],_0x1412fa])))&&(_0x4b1b1a=!![]),_0x2d2723[_0x3cfd59['WEUSo']][_0x1412fa]=_0x3cfd59[_0x4996d6(0x129)];}),_0x3cfd59[_0x460f81(0x146)](_0x4b1b1a,!unsupportedRemoteArtifactWarningShown)&&(unsupportedRemoteArtifactWarningShown=!![],logger[_0x460f81(0x10a)](_0x3cfd59['JqPWn']));};function a54_0x2262(){const _0xca8b7d=['idx','pcGZp','isBrowserstackInfra','JXFrS','JFyKV','QLLEt','JpDuQ','edgeOptions','wOfPe','lFmwi','MDPZe','playwrightConfigOptions','applyNativeWindowSizing','isRunning','eJltF','capabilities','xniSJ','OQSmL','initialize','QZtsq','vllhZ','sFNPx','DgIPo','BQZyF','reporter','TzzQi','mxxpj','jWcow','accessibility','AqhGL','BasLO','ORBSb','project','Ytkmo','pyAzF','warn','parallelsPerPlatform','forEach','nGwrP','VRGFq','MpTcA','error','\x20->\x20','default','166170hzRYRX','rqooN','irTsW','ignoreHTTPSErrors','iYCxA','never','platformCaps','trim','some','ZHYMa','Kvivf','paths','reorderTestsBySelection','format','IVMdH','Error\x20in\x20eveluating\x20testDir\x20passed\x20in\x20playwrightConfigOptions\x20','**/*.@(spec|test).?(c|m)[jt]s?(x)','ptWtM','IrPvA','zoOri','Aaiki','hzUiu','OLKHU','utf8','AAocG','DXskX','uniqueDependency','readFileSync','cYptq','testDir','USER_CONFIG_DETAILS_PATH','object','AQVcq','wsEndpoint','qfEVC','mXTSb','pBzCw','platforms','apply','ohWSB','KdDsk','../../helpers/classLogger.js','VXZGr','getInstance','stringify','../../helpers/test-observability/utils','invalidKeys','AxYkM','off','YhHpK','debug','SpFdh','isTrue','setup','cYiOo','includes','nDcRK','./globalSetup.js','invalidTestInputType','kuRVx','writeTempPWConfig','oSkzU','mRTHN','uDrGQ','../../helpers/test-observability/constants','config','BROWSERSTACK_PW_TEST_ORDER','getPlaywrightConfig','BROWSERSTACK_PW_CONFIG_DIR','isNotUndefined','6349602tWFfrA','requireModule','isArray','nestedKeyValue','iYfcA','../../helpers/test-observability/error-handler','apwaF','workers','SwHZc','XIyWW','resolve','12zJEiEK','MOdvA','env','WEUSo','EtSEY','mMKRA','ztjMm','GsARp','length','getPlaywrightUrl','\x20test\x20files\x20per\x20orchestration\x20selection','has','split','WqySl','yiKUK','bootstrap','../v2/browserstackCLI','dependencies','exports','isUndefined','UEpiH','omWQV','teardown','qSDQn','dBoRe','deepClone','testIgnore','Skipped\x20native\x20window\x20sizing,\x20keeping\x20Playwright\x27s\x20default\x20viewport:\x20','acceptInsecureCerts','zpvbG','collectFilesForProject','existsSync','file','modifyBrowserStackCaps','Error\x20in\x20generating\x20parallellised\x20config\x20for\x20playwright\x20','VVzZT','This\x20build\x20has\x20the\x20Playwright\x20HTML\x20reporter\x20server\x20set\x20to\x20open\x20by\x20default;\x20the\x20report\x20server\x20stays\x20open\x20after\x20the\x20run.\x20Delays\x20in\x20exiting\x20the\x20process\x20may\x20lead\x20to\x20incomplete\x20reporting\x20on\x20the\x20BrowserStack\x20Dashboard.\x20Set\x20the\x20html\x20reporter\x27s\x20open\x20option\x20to\x20\x27never\x27\x20(or\x20PLAYWRIGHT_HTML_OPEN=never)\x20for\x20the\x20process\x20to\x20exit\x20cleanly.','17931bURBuY','PLAYWRIGHT','map','uxGsz','245OXvHqu','sort','vGtbH','push','../../bin/utils/constants','wDXTl','wjUhL','945epVZSc','XJeNe','LqDqg','5052wTfWSm','ywPgJ','454iLeEPZ','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','fInnt','iNdKO','WnYIB','every','kpwAc','vcRGj','modifyPlaywrightConf','chromeOptions','pNzPg','mode','xxaIh','[reorderTestsBySelection]\x20Reordered\x20','./reporter/pwUtils','Kzbze','requestsNativeWindowSizing','svenA','join','tCaBt','uVkkw','EuhVv','updatePlaywrightConfigOptions','./reporter/reporter.js','CmyOS','402081LHSsoh','MFrkt','ozyEV','XbQRI','testMatch','QrhrT','projects','set','Error\x20in\x20getting\x20config','log','PbNCd','TCHRu','DXmdD','EtunS','string','GYdHL','mpPeL','playwright','video','parseYaml','prepareCapabilities','setAdditionalCapabilities','globalSetup','zKwmh','goog:chromeOptions','viewport','assign','GLMqQ','kGRxW','DCuCG','ZyZsb','2758645jvDtWg','requirePWModule','DBeVZ','XcXRu','ijXtD','VRiZK','mandatoryDependency','name','cUfnw','getConfig','connectOptions','qJQmM','get','kLbTR','wpomk','playwrightProjectNameUpdate','QJPJV','Aucer','respectGitIgnore','../../helpers/helper','_internal','17048KJOnhy','../../helpers/testhub/utils','parse','filter','LleTL','BROWSERSTACK_SETUP_CONFIG_PATH','osUTh','use','keys','VOCUb','open','dWZWg','5929obaaGM','fgenC'];a54_0x2262=function(){return _0xca8b7d;};return a54_0x2262();}let htmlAutoOpenWarningShown=![];const isHtmlReporterWithAutoOpen=_0x2ce792=>{const _0x32e0fb=a54_0x3bc5f0,_0x3ab794={};_0x3ab794[_0x32e0fb(0xf5)]=function(_0x5f5175,_0x35ff86){return _0x5f5175===_0x35ff86;},_0x3ab794[_0x32e0fb(0x1a8)]='string',_0x3ab794['ijXtD']=function(_0x525aad,_0x530779){return _0x525aad!==_0x530779;},_0x3ab794[_0x32e0fb(0x1cf)]='html',_0x3ab794['uxGsz']=_0x32e0fb(0x118);const _0x1bfd5e=_0x3ab794;if(!_0x2ce792)return![];let _0x27a6ab,_0x409c96;if(_0x1bfd5e[_0x32e0fb(0xf5)](typeof _0x2ce792,_0x1bfd5e[_0x32e0fb(0x1a8)]))_0x27a6ab=_0x2ce792;else Array[_0x32e0fb(0x15b)](_0x2ce792)&&(_0x27a6ab=_0x2ce792[0x0],_0x409c96=_0x2ce792[0x1]);if(_0x1bfd5e['ijXtD'](_0x27a6ab,_0x1bfd5e['DCuCG']))return![];return!_0x409c96||_0x1bfd5e[_0x32e0fb(0xc8)](_0x409c96[_0x32e0fb(0xe3)],_0x1bfd5e[_0x32e0fb(0x18c)]);},configHasAutoOpenHtmlReporter=()=>{const _0x20f22e=a54_0x3bc5f0,_0x1ed26b={'omWQV':_0x20f22e(0xff),'uDrGQ':function(_0x151cbe,_0x2d3fe9){return _0x151cbe===_0x2d3fe9;},'AxYkM':'string','sFNPx':function(_0x55d600,_0x279089){return _0x55d600(_0x279089);},'tCaBt':function(_0x1cb075,_0x4664cc){return _0x1cb075(_0x4664cc);}},_0x25f56c=config[_0x1ed26b[_0x20f22e(0x179)]];if(_0x1ed26b[_0x20f22e(0x152)](typeof _0x25f56c,_0x1ed26b[_0x20f22e(0x142)]))return _0x1ed26b[_0x20f22e(0xfc)](isHtmlReporterWithAutoOpen,_0x25f56c);if(Array[_0x20f22e(0x15b)](_0x25f56c)){if(_0x1ed26b['uDrGQ'](typeof _0x25f56c[0x0],_0x1ed26b[_0x20f22e(0x142)]))return _0x1ed26b[_0x20f22e(0x1ac)](isHtmlReporterWithAutoOpen,_0x25f56c);return _0x25f56c[_0x20f22e(0x11b)](isHtmlReporterWithAutoOpen);}return![];},warnHtmlReporterAutoOpen=()=>{const _0x296ac1=a54_0x3bc5f0,_0x126eb0={'cUfnw':function(_0x39f85b){return _0x39f85b();},'kLbTR':_0x296ac1(0x188)};if(!_0x126eb0[_0x296ac1(0xcc)](configHasAutoOpenHtmlReporter)||htmlAutoOpenWarningShown)return;htmlAutoOpenWarningShown=!![],logger[_0x296ac1(0x10a)](_0x126eb0[_0x296ac1(0xd1)]);},isIgnoreHttpsErrorsRequested=_0x14b219=>{const _0x21830c=a54_0x3bc5f0,_0x44f34d={};_0x44f34d[_0x21830c(0x124)]=function(_0x175dd6,_0x66e773){return _0x175dd6===_0x66e773;},_0x44f34d[_0x21830c(0x135)]=_0x21830c(0xe0),_0x44f34d[_0x21830c(0x171)]=_0x21830c(0x116),_0x44f34d[_0x21830c(0x125)]=function(_0x9245cf,_0x578ec2){return _0x9245cf===_0x578ec2;};const _0x5d0f3f=_0x44f34d;if(_0x5d0f3f[_0x21830c(0x124)](helper[_0x21830c(0x15c)](config,[_0x5d0f3f[_0x21830c(0x135)],_0x5d0f3f[_0x21830c(0x171)]]),!![]))return!![];if(_0x5d0f3f[_0x21830c(0x125)](helper[_0x21830c(0x15c)](_0x14b219,[_0x5d0f3f[_0x21830c(0x135)],_0x5d0f3f[_0x21830c(0x171)]]),!![]))return!![];return![];},isAccessibilityEnabledForPlatform=_0x33d797=>{const _0x11cc44=a54_0x3bc5f0,_0x45d8cb=browserstackSetup[_0x11cc44(0x154)]||{};if(helper['isTrue'](_0x45d8cb[_0x11cc44(0x103)]))return!![];const _0x586f0c=_0x45d8cb['platforms']&&_0x45d8cb[_0x11cc44(0x138)][_0x33d797];if(_0x586f0c&&helper['isTrue'](_0x586f0c['accessibility']))return!![];return![];},shouldAcceptInsecureCerts=(_0x52f945,_0x87c81a)=>{const _0x4b9203={'YBSbZ':function(_0x2631af,_0xfdf598){return _0x2631af(_0xfdf598);},'SIQgL':function(_0x5a6006,_0x2fb3ea){return _0x5a6006(_0x2fb3ea);}};return _0x4b9203['YBSbZ'](isAccessibilityEnabledForPlatform,_0x87c81a)&&_0x4b9203['SIQgL'](isIgnoreHttpsErrorsRequested,_0x52f945);},NATIVE_WINDOW_SIZING_ARG=/^--(start-maximized|start-fullscreen|kiosk|window-size)(=|$)/,BROWSER_ARGS_CAPABILITY_KEYS=[a54_0x3bc5f0(0x1ca),a54_0x3bc5f0(0x1a2),'ms:edgeOptions',a54_0x3bc5f0(0xee)],requestsNativeWindowSizing=_0x5ea363=>{const _0x4c4067=a54_0x3bc5f0,_0x785900={};_0x785900[_0x4c4067(0x10d)]='args',_0x785900[_0x4c4067(0x178)]=function(_0x2ea099,_0x156462){return _0x2ea099!==_0x156462;},_0x785900['kuRVx']=_0x4c4067(0x132);const _0x1469da=_0x785900;if(!_0x5ea363||_0x1469da[_0x4c4067(0x178)](typeof _0x5ea363,_0x1469da[_0x4c4067(0x14e)]))return![];return BROWSER_ARGS_CAPABILITY_KEYS[_0x4c4067(0x11b)](_0x26f47b=>{const _0x498478=_0x4c4067,_0x50ca61=helper[_0x498478(0x15c)](_0x5ea363,[_0x26f47b,_0x1469da['nGwrP']]);return Array['isArray'](_0x50ca61)&&_0x50ca61[_0x498478(0x11b)](_0x444477=>typeof _0x444477===_0x498478(0x1c0)&&NATIVE_WINDOW_SIZING_ARG['test'](_0x444477[_0x498478(0x11a)]()));});},applyNativeWindowSizing=(_0xde8779,_0x4172aa,_0x337564,_0x3a07aa)=>{const _0x1a4e60=a54_0x3bc5f0,_0x3ed092={'MDPZe':'use','svenA':function(_0x525e6e,_0x5c5799){return _0x525e6e in _0x5c5799;},'qJQmM':_0x1a4e60(0x1cb),'VOCUb':function(_0x4986fc,_0x4f530f){return _0x4986fc||_0x4f530f;},'MpTcA':function(_0x52588c,_0x5113ff){return _0x52588c===_0x5113ff;},'yiKUK':_0x1a4e60(0x132),'irTsW':function(_0x3f6040,_0x1c61bf){return _0x3f6040 in _0x1c61bf;},'WnYIB':function(_0x40dcd5,_0x192d97){return _0x40dcd5(_0x192d97);},'GLMqQ':'Capabilities\x20request\x20native\x20window\x20sizing\x20(e.g.\x20--start-maximized)\x20—\x20set\x20viewport:\x20null\x20so\x20Playwright\x20does\x20not\x20emulate\x20over\x20the\x20maximized\x20window.'};try{if(!_0xde8779||!_0xde8779[_0x3ed092['MDPZe']]||_0x3ed092[_0x1a4e60(0x1aa)](_0x3ed092['qJQmM'],_0xde8779[_0x3ed092[_0x1a4e60(0xf1)]]))return;const _0x482918=helper[_0x1a4e60(0x15c)](_0x3ed092[_0x1a4e60(0xe2)](_0x3a07aa,{}),[_0x3ed092[_0x1a4e60(0xf1)]]);if(_0x482918&&_0x3ed092[_0x1a4e60(0x10f)](typeof _0x482918,_0x3ed092[_0x1a4e60(0x172)])&&_0x3ed092[_0x1a4e60(0x115)](_0x3ed092[_0x1a4e60(0xcf)],_0x482918))return;if(!_0x3ed092[_0x1a4e60(0x19d)](requestsNativeWindowSizing,_0x4172aa)&&!_0x3ed092[_0x1a4e60(0x19d)](requestsNativeWindowSizing,_0x337564))return;_0xde8779[_0x3ed092[_0x1a4e60(0xf1)]][_0x3ed092[_0x1a4e60(0xcf)]]=null,logger[_0x1a4e60(0x145)](_0x3ed092[_0x1a4e60(0x1cd)]);}catch(_0x508f9d){logger['debug'](_0x1a4e60(0x17f)+util['format'](_0x508f9d));}},getConfigFromCLI=async()=>{const _0x4670b6=a54_0x3bc5f0,_0x4a052b={};_0x4a052b[_0x4670b6(0x11d)]=_0x4670b6(0x1ba);const _0x437944=_0x4a052b,_0x1296ee={};_0x1296ee['playwrightConfigObject']=config;const _0x3f502f=await GrpcClient[_0x4670b6(0x13e)]()[_0x4670b6(0x156)](_0x1296ee);if(!_0x3f502f[_0x4670b6(0xcd)]())throw new Error(_0x437944['Kvivf']);return JSON[_0x4670b6(0xdb)](_0x3f502f[_0x4670b6(0xcd)]());},handleAutomationTrue=async()=>{const _0x1c8f69=a54_0x3bc5f0,_0x5d15db={'SjvxI':_0x1c8f69(0x1c3),'qSDQn':_0x1c8f69(0xe0),'pNzPg':function(_0x243c0,_0xd17a64,_0xe1ded6,_0x35c7c1,_0x427363){return _0x243c0(_0xd17a64,_0xe1ded6,_0x35c7c1,_0x427363);},'Ytkmo':function(_0x47d43b,_0x1b2cda,_0x4748a2){return _0x47d43b(_0x1b2cda,_0x4748a2);},'tUeuu':_0x1c8f69(0x180),'PbNCd':'Detected\x20Playwright\x20ignoreHTTPSErrors:true\x20—\x20added\x20acceptInsecureCerts\x20capability\x20to\x20the\x20BrowserStack\x20session.','dWZWg':_0x1c8f69(0xce),'osUTh':function(_0x20010a,_0x4e35f3){return _0x20010a+_0x4e35f3;},'CmyOS':function(_0x4b4fd5,_0x4a0e3d){return _0x4b4fd5(_0x4a0e3d);},'TCHRu':function(_0x461b1f,_0x233730){return _0x461b1f===_0x233730;},'QJPJV':_0x1c8f69(0x130),'apwaF':'function','hzUiu':function(_0x1c7cd1,_0x5effa7){return _0x1c7cd1+_0x5effa7;},'XIyWW':_0x1c8f69(0x122),'vcRGj':function(_0x1b248e,_0x4064cb){return _0x1b248e(_0x4064cb);},'SwHZc':function(_0x286651,_0x5e4ce2,_0x891199,_0x12373b){return _0x286651(_0x5e4ce2,_0x891199,_0x12373b);},'kGRxW':function(_0x2152b1){return _0x2152b1();},'mpPeL':'workers','vllhZ':_0x1c8f69(0x1b8),'pyAzF':function(_0x361c09,_0x177083){return _0x361c09===_0x177083;},'rqooN':function(_0x648180){return _0x648180();},'VRiZK':_0x1c8f69(0x123),'xniSJ':_0x1c8f69(0x1b6),'DgIPo':_0x1c8f69(0x17e),'ZyZsb':_0x1c8f69(0x186),'DpUCz':function(_0x7060bf,_0x183885,_0x2b1a6b,_0x454dcf){return _0x7060bf(_0x183885,_0x2b1a6b,_0x454dcf);},'DXmdD':function(_0x2240c0,_0x49cb05){return _0x2240c0*_0x49cb05;}};let _0x4677a7=[];if(BrowserstackCli[_0x1c8f69(0x13e)]()['isRunning']()&&BrowserstackCli[_0x1c8f69(0x13e)]()[_0x1c8f69(0xcd)]()['browserstackAutomation']){const _0x4584fc=await _0x5d15db[_0x1c8f69(0x1ce)](getConfigFromCLI);config[_0x5d15db[_0x1c8f69(0x1c2)]]=_0x4584fc['maxWorkers']||0x1,config[_0x5d15db[_0x1c8f69(0xfb)]]=[];try{_0x4677a7=_0x4584fc[_0x1c8f69(0xf6)];}catch(_0x4d1dd5){logger[_0x1c8f69(0x110)]('Error\x20in\x20parsing\x20capabilities\x20from\x20CLI:\x20'+util[_0x1c8f69(0x120)](_0x4d1dd5));}}else{if(!BrowserstackCli[_0x1c8f69(0x13e)]()['isRunning']()&&helper[_0x1c8f69(0xe9)]()){if(helper['isUndefined'](browserstackSetup[_0x1c8f69(0x154)][_0x1c8f69(0x138)])||_0x5d15db[_0x1c8f69(0x109)](browserstackSetup[_0x1c8f69(0x154)]['platforms'][_0x1c8f69(0x16c)],0x0)){const _0x791255=browserstackSetup['config'][_0x1c8f69(0x10b)]||browserstackSetup[_0x1c8f69(0x154)][_0x1c8f69(0x160)]||config[_0x5d15db['mpPeL']]||0x1;config[_0x5d15db[_0x1c8f69(0x1c2)]]=_0x791255;return;}config[_0x5d15db['vllhZ']]=[],browserstackSetup[_0x1c8f69(0x154)]['platforms'][_0x1c8f69(0x10c)]((_0x243ac0,_0x7f7355)=>{const _0x3b8807=_0x1c8f69;_0x4677a7[_0x3b8807(0x190)](helper[_0x3b8807(0x185)](browserstackSetup[_0x3b8807(0x154)],_0x5d15db['SjvxI'],_0x7f7355));}),_0x4677a7[_0x1c8f69(0x10c)](_0x16714c=>{const _0x4b0c2c=_0x1c8f69;helper[_0x4b0c2c(0x1c7)](_0x16714c);});}}if(!BrowserstackCli[_0x1c8f69(0x13e)]()['isRunning']()&&helper[_0x1c8f69(0xe9)]()||BrowserstackCli['getInstance']()[_0x1c8f69(0xf4)]()&&BrowserstackCli['getInstance']()[_0x1c8f69(0xcd)]()['browserstackAutomation']){let _0x2d4ced,_0x53e913=[];try{_0x2d4ced=helper[_0x1c8f69(0xc5)][_0x1c8f69(0x139)](null,_0x5d15db[_0x1c8f69(0x114)](getProjectUtilsPath));const _0x2d2509={};_0x2d2509[_0x1c8f69(0xd6)]=!![];const _0x4778e9={};_0x4778e9[_0x1c8f69(0xd6)]=!![],_0x4778e9[_0x1c8f69(0x130)]='',_0x4778e9['testMatch']=_0x5d15db[_0x1c8f69(0xc9)],_0x4778e9[_0x1c8f69(0x17e)]='',_0x4778e9[_0x1c8f69(0xd8)]=_0x2d2509;const _0x4b7a98={};_0x4b7a98[_0x1c8f69(0x107)]=_0x4778e9;let _0x156f36=_0x4b7a98;config[_0x5d15db[_0x1c8f69(0xd4)]]&&(_0x156f36['project'][_0x5d15db[_0x1c8f69(0xd4)]]=config[_0x5d15db[_0x1c8f69(0xd4)]]),config[_0x5d15db['xniSJ']]&&(_0x156f36[_0x1c8f69(0x107)][_0x5d15db[_0x1c8f69(0xf7)]]=config[_0x5d15db['xniSJ']]),config[_0x5d15db[_0x1c8f69(0xfd)]]&&(_0x156f36[_0x1c8f69(0x107)][_0x5d15db['DgIPo']]=config[_0x5d15db['DgIPo']]),_0x156f36=Object[_0x1c8f69(0x1cc)](_0x156f36,_0x156f36[_0x1c8f69(0x107)]),_0x53e913=await _0x2d4ced['collectFilesForProject'](_0x156f36);}catch(_0x3125a7){console['log'](_0x5d15db[_0x1c8f69(0xdf)](_0x5d15db[_0x1c8f69(0x1d0)],util[_0x1c8f69(0x120)](_0x3125a7)));}const _0x155fa5=helper[_0x1c8f69(0x16d)](browserstackSetup[_0x1c8f69(0x154)]),_0x4a57eb=await _0x5d15db['DpUCz'](getPWOptionsTests,_0x4677a7,_0x2d4ced,_0x53e913),_0x21f2fc=_0x4a57eb[_0x1c8f69(0x18b)](_0x15430e=>reorderTestsBySelection(_0x15430e));_0x4677a7[_0x1c8f69(0x10c)]((_0x22e895,_0x18f985)=>{const _0x583c53=_0x1c8f69,_0x25a463={},_0x509e2e={};_0x509e2e[_0x583c53(0x119)]=browserstackSetup[_0x583c53(0x154)][_0x583c53(0x138)][_0x18f985],_0x25a463[_0x5d15db[_0x583c53(0x17b)]]=_0x509e2e,helper[_0x583c53(0xd3)](_0x22e895,_0x25a463),helper[_0x583c53(0x1af)](_0x25a463,browserstackSetup[_0x583c53(0x154)][_0x583c53(0x138)][_0x18f985],browserstackSetup[_0x583c53(0x154)][_0x583c53(0x138)][_0x18f985][_0x583c53(0xf2)]||config['playwrightConfigOptions']||null),_0x5d15db[_0x583c53(0x1a3)](applyNativeWindowSizing,_0x25a463,_0x22e895,browserstackSetup[_0x583c53(0x154)][_0x583c53(0x138)][_0x18f985],config);_0x5d15db[_0x583c53(0x108)](shouldAcceptInsecureCerts,_0x25a463,_0x18f985)&&(_0x22e895[_0x5d15db['tUeuu']]=!![],logger[_0x583c53(0x145)](_0x5d15db[_0x583c53(0x1bc)]));_0x25a463[_0x5d15db[_0x583c53(0x17b)]][_0x5d15db[_0x583c53(0xe4)]]=Object['assign'](_0x25a463[_0x5d15db[_0x583c53(0x17b)]][_0x5d15db[_0x583c53(0xe4)]]||helper[_0x583c53(0x15c)](config,[_0x5d15db[_0x583c53(0x17b)],_0x5d15db[_0x583c53(0xe4)]])||{},{'wsEndpoint':_0x5d15db[_0x583c53(0xdf)](_0x155fa5,_0x5d15db[_0x583c53(0x1b1)](encodeURIComponent,JSON[_0x583c53(0x13f)](_0x22e895)))});try{_0x5d15db[_0x583c53(0x1bd)](typeof _0x25a463[_0x5d15db[_0x583c53(0xd4)]],_0x5d15db[_0x583c53(0x15f)])&&(_0x25a463[_0x5d15db['QJPJV']]=_0x25a463[_0x5d15db[_0x583c53(0xd4)]](helper[_0x583c53(0x15a)]));}catch(_0x594026){console['log'](_0x5d15db[_0x583c53(0x128)](_0x5d15db[_0x583c53(0x162)],util[_0x583c53(0x120)](_0x594026)));}_0x5d15db[_0x583c53(0x1a0)](disableUnsupportedRemoteArtifacts,_0x25a463),_0x5d15db[_0x583c53(0x161)](addProjectToProjectList,_0x21f2fc,_0x18f985,_0x25a463);});_0x53e913['length']&&(config[_0x5d15db[_0x1c8f69(0xf7)]]='');const _0x3b2273=_0x5d15db[_0x1c8f69(0x1be)](browserstackSetup[_0x1c8f69(0x154)]['platforms'][_0x1c8f69(0x16c)]||0x1,browserstackSetup[_0x1c8f69(0x154)]['parallelsPerPlatform']||config[_0x5d15db['mpPeL']]||0x1);config[_0x5d15db['mpPeL']]=_0x3b2273;}},reorderTestsBySelection=_0x519c1c=>{const _0x294703=a54_0x3bc5f0,_0x59941a={'XbQRI':function(_0x56a76c,_0x1f748d){return _0x56a76c(_0x1f748d);},'qQXqB':function(_0x46eb20,_0x61853a){return _0x46eb20===_0x61853a;},'EtSEY':function(_0x589517,_0x1b00cc){return _0x589517===_0x1b00cc;},'LleTL':'[reorderTestsBySelection]\x20No\x20test\x20files\x20matched\x20BROWSERSTACK_PW_TEST_ORDER;\x20keeping\x20original\x20order'},_0x4ee7cf=process[_0x294703(0x166)][_0x294703(0x155)];if(!_0x4ee7cf||!Array['isArray'](_0x519c1c)||_0x59941a['qQXqB'](_0x519c1c[_0x294703(0x16c)],0x0))return _0x519c1c;const _0x58bb8d=_0x16d2c0=>{const _0xc05e2c=_0x294703;try{return fs['realpathSync'](_0x16d2c0);}catch(_0x37b3e3){return path[_0xc05e2c(0x163)](_0x16d2c0);}},_0x45c131=new Map();_0x4ee7cf[_0x294703(0x170)](',')['filter'](Boolean)[_0x294703(0x10c)]((_0x28e9bc,_0x47b3f7)=>{const _0x4a771e=_0x294703;_0x45c131[_0x4a771e(0x1b9)](_0x59941a[_0x4a771e(0x1b5)](_0x58bb8d,_0x28e9bc),_0x47b3f7);});const _0x29b465=_0x519c1c[_0x294703(0x18b)](_0x11c4af=>({'file':_0x11c4af,'idx':_0x45c131[_0x294703(0x16f)](_0x58bb8d(_0x11c4af))?_0x45c131[_0x294703(0xd0)](_0x58bb8d(_0x11c4af)):-0x1}))[_0x294703(0xdc)](_0x5e0caf=>_0x5e0caf[_0x294703(0xe7)]>=0x0)[_0x294703(0x18e)]((_0x5badea,_0x4e280a)=>_0x5badea[_0x294703(0xe7)]-_0x4e280a[_0x294703(0xe7)])[_0x294703(0x18b)](_0x272771=>_0x272771[_0x294703(0x184)]);if(_0x59941a[_0x294703(0x168)](_0x29b465[_0x294703(0x16c)],0x0))return logger[_0x294703(0x145)](_0x59941a[_0x294703(0xdd)]),_0x519c1c;return logger[_0x294703(0x145)](_0x294703(0x1a6)+_0x519c1c[_0x294703(0x16c)]+_0x294703(0x111)+_0x29b465['length']+_0x294703(0x16e)),_0x29b465;},addProjectToProjectList=(_0x3cbfeb,_0x471179,_0x4d4df2)=>{const _0x45063d=a54_0x3bc5f0,_0x40cbe0={'BasLO':function(_0x380388,_0xa168df){return _0x380388>_0xa168df;},'cYptq':_0x45063d(0x175),'nkaOZ':_0x45063d(0x1b6),'aTzjL':_0x45063d(0x148),'zoOri':_0x45063d(0x17a),'fgenC':'projects','ZHYMa':_0x45063d(0xe0),'kpwAc':_0x45063d(0x119),'mxxpj':_0x45063d(0xf2),'wOfPe':function(_0x302187,_0x22bd5d,_0x4f9ffc){return _0x302187(_0x22bd5d,_0x4f9ffc);}},_0x508e5a=_0x3cbfeb[_0x471179],_0x4e24c9=browserstackSetup[_0x45063d(0x154)]['platforms'][_0x471179][_0x45063d(0xf2)];_0x4d4df2[_0x40cbe0['ZHYMa']][_0x40cbe0[_0x45063d(0x19f)]][_0x40cbe0[_0x45063d(0x101)]]&&delete _0x4d4df2[_0x40cbe0[_0x45063d(0x11c)]][_0x40cbe0[_0x45063d(0x19f)]][_0x40cbe0[_0x45063d(0x101)]];const _0x28f96a=_0x40cbe0[_0x45063d(0xef)](setSetupAndTeardownConfigs,helper['deepClone'](_0x4d4df2),_0x4e24c9);_0x40cbe0[_0x45063d(0x105)](_0x508e5a['length'],0x0)?_0x508e5a[_0x45063d(0x10c)](_0x2e0ed0=>{const _0x1be4a2=_0x45063d,_0xafdf0b=helper[_0x1be4a2(0x17d)](_0x4d4df2);_0x40cbe0[_0x1be4a2(0x105)](_0x28f96a[_0x1be4a2(0x16c)],0x0)&&(_0xafdf0b[_0x40cbe0[_0x1be4a2(0x12f)]]=_0x28f96a),_0xafdf0b[_0x40cbe0['nkaOZ']]=_0x2e0ed0,_0xafdf0b[_0x40cbe0['aTzjL']]&&delete _0xafdf0b['setup'],_0xafdf0b[_0x40cbe0[_0x1be4a2(0x126)]]&&delete _0xafdf0b[_0x1be4a2(0x17a)],config[_0x40cbe0['fgenC']][_0x1be4a2(0x190)](_0xafdf0b);}):config[_0x40cbe0[_0x45063d(0xe6)]][_0x45063d(0x190)](_0x4d4df2);},setSetupAndTeardownConfigs=(_0x474800,_0x26e85d)=>{const _0x11591f=a54_0x3bc5f0,_0x353785={'dBoRe':function(_0x577a5a,_0x55a17b,_0x1f2791){return _0x577a5a(_0x55a17b,_0x1f2791);},'MOdvA':_0x11591f(0x17a),'MFrkt':function(_0x6e690e,_0x4acdd9,_0x33f196,_0x3c1d95){return _0x6e690e(_0x4acdd9,_0x33f196,_0x3c1d95);},'zpvbG':_0x11591f(0xe0),'JpDuQ':_0x11591f(0x1b8),'mMKRA':function(_0x13c388,_0x2b4300,_0x2b5490){return _0x13c388(_0x2b4300,_0x2b5490);},'AQVcq':_0x11591f(0x148),'AAocG':function(_0x3a5057,_0x8be276,_0x3d0089,_0x588932,_0x27519b){return _0x3a5057(_0x8be276,_0x3d0089,_0x588932,_0x27519b);}};if(!_0x26e85d)return[];const _0x373e10=[],_0x90183e=[];let _0xd7d35f,_0x5dd58e;return _0x26e85d[_0x353785[_0x11591f(0x133)]]&&(_0xd7d35f=_0x26e85d[_0x353785[_0x11591f(0x133)]]),_0x26e85d[_0x353785[_0x11591f(0x165)]]&&(_0x5dd58e=_0x26e85d[_0x353785[_0x11591f(0x165)]]),_0x5dd58e&&Array[_0x11591f(0x15b)](_0x5dd58e)&&_0x5dd58e[_0x11591f(0x10c)](_0x3a5d42=>{const _0x5e5885=_0x11591f;_0x353785[_0x5e5885(0x17c)](validateKeys,_0x3a5d42,_0x353785[_0x5e5885(0x165)]);if(_0x373e10['includes'](_0x3a5d42[_0x5e5885(0xcb)]))throw util['format'](PLAYWRIGHT_CONFIG_OPTION_ERRORS[_0x5e5885(0x12d)],_0x353785['MOdvA']);const _0x486918=_0x353785[_0x5e5885(0x1b3)](createDependencyProject,_0x3a5d42[_0x5e5885(0xcb)],_0x3a5d42[_0x5e5885(0x1b6)],_0x3a5d42[_0x5e5885(0x130)]);_0x486918[_0x353785[_0x5e5885(0x181)]]=_0x474800[_0x353785[_0x5e5885(0x181)]],config[_0x353785[_0x5e5885(0xed)]][_0x5e5885(0x190)](_0x486918),_0x373e10[_0x5e5885(0x190)](_0x3a5d42[_0x5e5885(0xcb)]);}),_0xd7d35f&&Array['isArray'](_0xd7d35f)&&_0xd7d35f[_0x11591f(0x10c)](_0x176240=>{const _0x4403e4=_0x11591f;_0x353785[_0x4403e4(0x169)](validateKeys,_0x176240,_0x353785['AQVcq']);if(_0x373e10[_0x4403e4(0x14a)](_0x176240[_0x4403e4(0xcb)]))throw util[_0x4403e4(0x120)](PLAYWRIGHT_CONFIG_OPTION_ERRORS[_0x4403e4(0x12d)],_0x353785[_0x4403e4(0x133)]);const _0x3e9aee=_0x176240[_0x4403e4(0x17a)]?_0x353785[_0x4403e4(0x12b)](createDependencyProject,_0x176240['name'],_0x176240[_0x4403e4(0x1b6)],_0x176240['testDir'],_0x176240['teardown']):_0x353785['MFrkt'](createDependencyProject,_0x176240[_0x4403e4(0xcb)],_0x176240[_0x4403e4(0x1b6)],_0x176240[_0x4403e4(0x130)]);_0x3e9aee[_0x353785[_0x4403e4(0x181)]]=_0x474800[_0x353785[_0x4403e4(0x181)]],config[_0x353785['JpDuQ']][_0x4403e4(0x190)](_0x3e9aee),_0x90183e[_0x4403e4(0x190)](_0x176240[_0x4403e4(0xcb)]),_0x373e10[_0x4403e4(0x190)](_0x176240['name']);}),_0x90183e;},validateKeys=(_0x1cbdfa,_0x3e0f2f)=>{const _0x48b562=a54_0x3bc5f0,_0x5b9cc6={};_0x5b9cc6[_0x48b562(0x104)]=function(_0x28cf9d,_0x3ab093){return _0x28cf9d===_0x3ab093;},_0x5b9cc6['oSkzU']=_0x48b562(0x17a),_0x5b9cc6[_0x48b562(0xec)]=_0x48b562(0xcb),_0x5b9cc6[_0x48b562(0x15d)]='testMatch',_0x5b9cc6[_0x48b562(0xc6)]=_0x48b562(0x130);const _0x4deafb=_0x5b9cc6;if(![_0x4deafb[_0x48b562(0xec)],_0x4deafb[_0x48b562(0x15d)]][_0x48b562(0x19e)](_0x5b1e48=>Object[_0x48b562(0xe1)](_0x1cbdfa)[_0x48b562(0x14a)](_0x5b1e48)))throw util[_0x48b562(0x120)](PLAYWRIGHT_CONFIG_OPTION_ERRORS[_0x48b562(0xca)],_0x3e0f2f);Object[_0x48b562(0xe1)](_0x1cbdfa)[_0x48b562(0x10c)](_0x3fcece=>{const _0x4cac49=_0x48b562;if(_0x4deafb[_0x4cac49(0x104)](_0x3e0f2f,_0x4deafb[_0x4cac49(0x150)])){if(![_0x4deafb[_0x4cac49(0xec)],_0x4deafb['iYfcA'],_0x4deafb['DBeVZ']][_0x4cac49(0x14a)](_0x3fcece))throw util[_0x4cac49(0x120)](PLAYWRIGHT_CONFIG_OPTION_ERRORS[_0x4cac49(0x141)],_0x3e0f2f);}else{if(![_0x4deafb[_0x4cac49(0xec)],_0x4deafb[_0x4cac49(0x15d)],_0x4deafb['oSkzU'],_0x4deafb['DBeVZ']][_0x4cac49(0x14a)](_0x3fcece))throw util[_0x4cac49(0x120)](PLAYWRIGHT_CONFIG_OPTION_ERRORS[_0x4cac49(0x141)],_0x3e0f2f);}});},createDependencyProject=(_0x4fd0d6,_0x4d91c1,_0x4dad63,_0xe89c23)=>{const _0xf18762=a54_0x3bc5f0,_0x1a3f5d={};_0x1a3f5d[_0xf18762(0xcb)]=_0x4fd0d6,_0x1a3f5d[_0xf18762(0x1b6)]=_0x4d91c1,_0x1a3f5d[_0xf18762(0x17a)]=_0xe89c23,_0x1a3f5d[_0xf18762(0x130)]=_0x4dad63;const _0x3186d3=_0x1a3f5d;return Object[_0xf18762(0xe1)](_0x3186d3)['forEach'](_0x2607bd=>helper[_0xf18762(0x177)](_0x3186d3[_0x2607bd])&&delete _0x3186d3[_0x2607bd]),_0x3186d3;},getPWOptionsTests=async(_0x3f57ad,_0xfd69ef,_0x552819)=>{const _0x294477=a54_0x3bc5f0,_0x4afd63={'bRhJm':function(_0x390567,_0x7f454c){return _0x390567<_0x7f454c;},'VXZGr':function(_0x57436c,_0x5b106f,_0x1e6c08){return _0x57436c(_0x5b106f,_0x1e6c08);},'DUtFU':function(_0x2249fa,_0xed292f){return _0x2249fa===_0xed292f;}},_0x285a12=[];for(let _0x5b5bc8=0x0;_0x4afd63['bRhJm'](_0x5b5bc8,_0x3f57ad['length']);_0x5b5bc8++){const _0x5b378f=await _0x4afd63[_0x294477(0x13d)](getTestListFromPWOptions,_0x5b5bc8,_0xfd69ef);_0x285a12['push'](_0x4afd63['DUtFU'](_0x5b378f[_0x294477(0x16c)],0x0)?_0x552819:_0x5b378f);}return _0x285a12;},getTestListFromPWOptions=async(_0x3f2731,_0x5b65f3)=>{const _0x2023b0=a54_0x3bc5f0,_0x62d355={};_0x62d355[_0x2023b0(0x196)]=_0x2023b0(0x1b6),_0x62d355[_0x2023b0(0x117)]=_0x2023b0(0x17e),_0x62d355[_0x2023b0(0x1ae)]=_0x2023b0(0x130),_0x62d355[_0x2023b0(0x1bf)]=function(_0x40d835,_0x470402){return _0x40d835===_0x470402;},_0x62d355['QZtsq']='string',_0x62d355['vGtbH']=_0x2023b0(0x123),_0x62d355[_0x2023b0(0x198)]='4|0|2|1|3',_0x62d355['GYdHL']=function(_0x53cbe4,_0x17bafc){return _0x53cbe4||_0x17bafc;},_0x62d355[_0x2023b0(0x19b)]=function(_0x2c945d,_0x69653a){return _0x2c945d+_0x69653a;},_0x62d355[_0x2023b0(0x193)]='Error\x20in\x20setting\x20up\x20playwright\x20config\x20due\x20to\x20playwright\x20Config\x20Options:\x20ErrorTrace:';const _0x5ee222=_0x62d355,_0x279633=browserstackSetup[_0x2023b0(0x154)][_0x2023b0(0x138)][_0x3f2731]['playwrightConfigOptions'];if(!_0x279633)return[];const _0x1ade45=_0x279633[_0x5ee222['LqDqg']]||config[_0x5ee222[_0x2023b0(0x196)]],_0x76117c=_0x279633[_0x5ee222[_0x2023b0(0x117)]]||config[_0x5ee222[_0x2023b0(0x117)]],_0x352e87=config[_0x5ee222[_0x2023b0(0x1ae)]],_0x3aa461=_0x279633[_0x5ee222['EuhVv']];if(_0x1ade45&&!(_0x5ee222['EtunS'](typeof _0x1ade45,_0x5ee222[_0x2023b0(0xfa)])||Array['isArray'](_0x1ade45)))throw util[_0x2023b0(0x120)](PLAYWRIGHT_CONFIG_OPTION_ERRORS[_0x2023b0(0x14d)],_0x5ee222['LqDqg']);if(_0x76117c&&!(_0x5ee222['EtunS'](typeof _0x76117c,_0x5ee222['QZtsq'])||Array[_0x2023b0(0x15b)](_0x76117c)))throw util[_0x2023b0(0x120)](PLAYWRIGHT_CONFIG_OPTION_ERRORS[_0x2023b0(0x14d)],_0x5ee222[_0x2023b0(0x117)]);let _0x466340=[];const _0x2607b2={};_0x2607b2[_0x2023b0(0xd6)]=!![],_0x2607b2[_0x2023b0(0x130)]='',_0x2607b2[_0x2023b0(0x1b6)]=_0x5ee222[_0x2023b0(0x18f)],_0x2607b2['testIgnore']='';const _0x17d509={};_0x17d509['respectGitIgnore']=!![];const _0x2114de={};_0x2114de[_0x2023b0(0x107)]=_0x2607b2,_0x2114de[_0x2023b0(0xd8)]=_0x17d509;let _0x57fa1e=_0x2114de;try{const _0x1b9688=_0x5ee222['ywPgJ'][_0x2023b0(0x170)]('|');let _0x4549c4=0x0;while(!![]){switch(_0x1b9688[_0x4549c4++]){case'0':_0x1ade45&&(_0x57fa1e[_0x2023b0(0x107)][_0x5ee222['LqDqg']]=_0x1ade45);continue;case'1':_0x57fa1e=Object[_0x2023b0(0x1cc)](_0x57fa1e,_0x57fa1e[_0x2023b0(0x107)]);continue;case'2':_0x76117c&&(_0x57fa1e[_0x2023b0(0x107)][_0x5ee222[_0x2023b0(0x117)]]=_0x76117c);continue;case'3':_0x466340=await _0x5b65f3[_0x2023b0(0x182)](_0x57fa1e);continue;case'4':_0x5ee222['GYdHL'](_0x3aa461,_0x352e87)&&(_0x57fa1e[_0x2023b0(0x107)][_0x5ee222[_0x2023b0(0x1ae)]]=_0x5ee222[_0x2023b0(0x1c1)](_0x3aa461,_0x352e87));continue;}break;}}catch(_0x2cb26c){console['log'](_0x5ee222[_0x2023b0(0x19b)](_0x5ee222[_0x2023b0(0x193)],_0x2cb26c));}return _0x466340;},addReporter=()=>{const _0x2feda8=a54_0x3bc5f0,_0x4d0c8d={};_0x4d0c8d[_0x2feda8(0xeb)]=_0x2feda8(0x1b0),_0x4d0c8d[_0x2feda8(0x1b7)]=_0x2feda8(0xff),_0x4d0c8d[_0x2feda8(0xfe)]=function(_0x4eec65,_0xbeb7d6){return _0x4eec65===_0xbeb7d6;},_0x4d0c8d[_0x2feda8(0xea)]='string',_0x4d0c8d[_0x2feda8(0xf0)]='object';const _0x4ddfc5=_0x4d0c8d,_0x3926dd=path[_0x2feda8(0x1ab)](__dirname,_0x4ddfc5[_0x2feda8(0xeb)]),_0x41cebe=[_0x3926dd];if(helper[_0x2feda8(0x177)](config[_0x4ddfc5[_0x2feda8(0x1b7)]]))config[_0x4ddfc5['QrhrT']]=[_0x41cebe];else{if(_0x4ddfc5[_0x2feda8(0xfe)](typeof config[_0x4ddfc5[_0x2feda8(0x1b7)]],_0x4ddfc5[_0x2feda8(0xea)]))config[_0x4ddfc5[_0x2feda8(0x1b7)]]=[[config[_0x4ddfc5[_0x2feda8(0x1b7)]]],_0x41cebe];else _0x4ddfc5[_0x2feda8(0xfe)](typeof config[_0x4ddfc5[_0x2feda8(0x1b7)]],_0x4ddfc5[_0x2feda8(0xf0)])&&config[_0x4ddfc5[_0x2feda8(0x1b7)]][_0x2feda8(0x190)](_0x41cebe);}},setGlobalSetup=_0x59fe57=>{const _0x37f21f=a54_0x3bc5f0,_0x5ca96a={};_0x5ca96a[_0x37f21f(0x106)]=_0x37f21f(0x1c8),_0x5ca96a[_0x37f21f(0x1a5)]='Can\x27t\x20get\x20user\x20defined\x20global\x20setup\x20file',_0x5ca96a['ztjMm']=function(_0x53cc80,_0xdd7416){return _0x53cc80+_0xdd7416;},_0x5ca96a['wLSjs']='Error\x20in\x20running\x20user\x20global\x20setup\x20for\x20playwright',_0x5ca96a[_0x37f21f(0xe8)]=_0x37f21f(0x14c);const _0x4fc995=_0x5ca96a;if(!config)return;try{if(config[_0x37f21f(0x1c8)]){let _0x29adca;const _0x56207a=path['resolve'](_0x59fe57,config[_0x4fc995[_0x37f21f(0x106)]]);if(_0x56207a&&fs[_0x37f21f(0x183)](_0x56207a))_0x29adca=_0x56207a;else{const _0x496416={};_0x496416[_0x37f21f(0x11e)]=[_0x59fe57],_0x29adca=require[_0x37f21f(0x163)](config[_0x4fc995[_0x37f21f(0x106)]],_0x496416);}if(!_0x29adca)throw new Error(_0x4fc995[_0x37f21f(0x1a5)]);process['env'][_0x37f21f(0x19a)]=_0x29adca;}}catch(_0x15a28c){console[_0x37f21f(0x1bb)](_0x4fc995[_0x37f21f(0x16a)](_0x4fc995['wLSjs'],_0x15a28c));}config[_0x37f21f(0x1c8)]=require['resolve'](_0x4fc995[_0x37f21f(0xe8)]);},initO11yCrashReporter=(_0x4d8731,_0x334f08)=>{const _0x4c538d=a54_0x3bc5f0,_0x516835={'YhHpK':function(_0x37d77b,_0x35cad6){return _0x37d77b(_0x35cad6);}},_0x5d03e8={'frameworkName':FRAMEWORKS[_0x4c538d(0x18a)],'frameworkVersion':_0x516835[_0x4c538d(0x144)](getFrameworkVersion,FRAMEWORKS[_0x4c538d(0x18a)])};CrashReporter[_0x4c538d(0xf9)](_0x5d03e8,_0x4d8731,_0x334f08);},getCurrentModifiedConfig=async()=>{const _0x5a3989=a54_0x3bc5f0,_0x578334={'nDcRK':_0x5a3989(0xe0),'GOIXJ':'connectOptions','wpomk':_0x5a3989(0x134),'Aaiki':_0x5a3989(0x154),'mRTHN':_0x5a3989(0x12a),'ozyEV':function(_0x3efe71,_0x3ffd0b){return _0x3efe71(_0x3ffd0b);},'DXskX':function(_0x59d2b1){return _0x59d2b1();},'VRGFq':function(_0x48fcbe){return _0x48fcbe();},'GsARp':function(_0x4c7517,_0x4eecab){return _0x4c7517(_0x4eecab);},'jWcow':function(_0x12a7e9,_0x54eee7,_0x132891){return _0x12a7e9(_0x54eee7,_0x132891);},'uVkkw':function(_0x7cb86b,_0xabf589){return _0x7cb86b>_0xabf589;},'TzzQi':function(_0x36f919){return _0x36f919();}},_0x39a9fe=process['env'][_0x5a3989(0xde)],_0x11aadf=process[_0x5a3989(0x166)][_0x5a3989(0x157)];_0x39a9fe&&(browserstackSetup[_0x578334[_0x5a3989(0x127)]]=helper[_0x5a3989(0x1c5)](fs[_0x5a3989(0x12e)](_0x39a9fe,_0x578334[_0x5a3989(0x151)]))),_0x578334[_0x5a3989(0x1b4)](setGlobalSetup,_0x11aadf),_0x578334[_0x5a3989(0x12c)](warnHtmlReporterAutoOpen),_0x578334[_0x5a3989(0x10e)](shouldProcessEventForTesthub)&&(_0x578334[_0x5a3989(0x16b)](addReporter,config),_0x578334[_0x5a3989(0x102)](initO11yCrashReporter,config,browserstackSetup[_0x5a3989(0x154)])),helper[_0x5a3989(0x147)](helper[_0x5a3989(0xe9)]())&&helper[_0x5a3989(0x158)](browserstackSetup['config'][_0x5a3989(0x138)])&&_0x578334[_0x5a3989(0x1ad)](browserstackSetup[_0x5a3989(0x154)]['platforms'][_0x5a3989(0x16c)],0x0)?await _0x578334[_0x5a3989(0x100)](handleAutomationTrue):Array[_0x5a3989(0x15b)](config['projects'])&&config['projects'][_0x5a3989(0x10c)](_0x2bd038=>{const _0x14eccb=_0x5a3989,_0x56f1ba=helper[_0x14eccb(0x15c)](_0x2bd038,[_0x578334[_0x14eccb(0x14b)],_0x578334['GOIXJ'],_0x578334[_0x14eccb(0xd2)]]);_0x56f1ba&&(_0x2bd038[_0x14eccb(0xe0)][_0x14eccb(0xce)][_0x14eccb(0x134)]=helper[_0x14eccb(0x1c6)](null,null,FRAMEWORKS[_0x14eccb(0x18a)]['toLowerCase'](),null,null,_0x56f1ba));});},getUserPWConfig=async _0x14d664=>{const _0x2cffc2=a54_0x3bc5f0,_0x10b9cb={'wDXTl':function(_0x59a43d){return _0x59a43d();},'OQSmL':function(_0x524c42,_0x5b7f8f){return _0x524c42(_0x5b7f8f);},'VluAE':function(_0x2bdd5c,_0x552825){return _0x2bdd5c===_0x552825;},'Aucer':_0x2cffc2(0x132),'ohWSB':function(_0x2cb239,_0x2aa66f){return _0x2cb239 in _0x2aa66f;},'IVMdH':_0x2cffc2(0x112)},{requireOrImport:_0x5ad9c2}=helper['requirePWModule']['apply'](null,_0x10b9cb[_0x2cffc2(0x192)](getTransformPath));let _0x53c31c=await _0x10b9cb[_0x2cffc2(0xf8)](_0x5ad9c2,_0x14d664);return _0x53c31c&&_0x10b9cb['VluAE'](typeof _0x53c31c,_0x10b9cb[_0x2cffc2(0xd5)])&&_0x10b9cb[_0x2cffc2(0x13a)](_0x10b9cb[_0x2cffc2(0x121)],_0x53c31c)&&(_0x53c31c=_0x53c31c[_0x10b9cb[_0x2cffc2(0x121)]]),_0x53c31c;},modifyConfig=async()=>{const _0x7351da=a54_0x3bc5f0,_0x121218={'VVzZT':function(_0x273283,_0x4f8454){return _0x273283===_0x4f8454;},'cYiOo':function(_0xafe33e,_0x461a59){return _0xafe33e(_0x461a59);},'KdDsk':function(_0xacb4ed){return _0xacb4ed();}};await BrowserstackCli[_0x7351da(0x13e)]()[_0x7351da(0x173)]();const _0x19d4db=process['env'][_0x7351da(0x131)];return config=_0x121218[_0x7351da(0x187)](_0x19d4db['length'],0x0)?{}:await _0x121218[_0x7351da(0x149)](getUserPWConfig,_0x19d4db),await _0x121218[_0x7351da(0x13b)](getCurrentModifiedConfig),helper[_0x7351da(0x14f)](config),config;};module[a54_0x3bc5f0(0x176)]=modifyConfig,module[a54_0x3bc5f0(0x176)][a54_0x3bc5f0(0x11f)]=reorderTestsBySelection,module[a54_0x3bc5f0(0x176)][a54_0x3bc5f0(0x1a9)]=requestsNativeWindowSizing,module[a54_0x3bc5f0(0x176)][a54_0x3bc5f0(0xf3)]=applyNativeWindowSizing;
1
+ const a54_0x462b52=a54_0x36de;function a54_0x36de(_0x2b9a41,_0x52c00b){const _0x5cf52b=a54_0x5cf5();return a54_0x36de=function(_0x36deb0,_0x41f818){_0x36deb0=_0x36deb0-0xfe;let _0x480269=_0x5cf52b[_0x36deb0];return _0x480269;},a54_0x36de(_0x2b9a41,_0x52c00b);}(function(_0x47889a,_0x1e07f6){const _0x56b684=a54_0x36de,_0x22566f=_0x47889a();while(!![]){try{const _0x1ccc31=parseInt(_0x56b684(0x124))/0x1*(parseInt(_0x56b684(0x1a9))/0x2)+-parseInt(_0x56b684(0x177))/0x3*(parseInt(_0x56b684(0x190))/0x4)+parseInt(_0x56b684(0x123))/0x5+parseInt(_0x56b684(0x110))/0x6*(-parseInt(_0x56b684(0x1de))/0x7)+parseInt(_0x56b684(0x199))/0x8+-parseInt(_0x56b684(0x18d))/0x9*(parseInt(_0x56b684(0x106))/0xa)+-parseInt(_0x56b684(0x120))/0xb*(-parseInt(_0x56b684(0x10d))/0xc);if(_0x1ccc31===_0x1e07f6)break;else _0x22566f['push'](_0x22566f['shift']());}catch(_0x250d7e){_0x22566f['push'](_0x22566f['shift']());}}}(a54_0x5cf5,0x444e1));const fs=require('fs'),util=require('util'),path=require(a54_0x462b52(0x1b2));let config={};const browserstackSetup={},helper=require(a54_0x462b52(0x16e)),{PLAYWRIGHT_CONFIG_OPTION_ERRORS}=require('../../bin/utils/constants'),{getTransformPath,getProjectUtilsPath}=require(a54_0x462b52(0x152)),{shouldProcessEventForTesthub}=require(a54_0x462b52(0x1e9)),{CrashReporter}=require(a54_0x462b52(0x1dc)),{FRAMEWORKS}=require(a54_0x462b52(0x166)),{getFrameworkVersion}=require(a54_0x462b52(0x189)),BrowserstackCli=require(a54_0x462b52(0x1d3)),GrpcClient=require('../v2/grpcClient'),{createClassLogger}=require(a54_0x462b52(0x159)),logger=createClassLogger('modifyPlaywrightConf'),PLAYWRIGHT_UNSUPPORTED_REMOTE_ARTIFACTS=[a54_0x462b52(0x202),a54_0x462b52(0x1b3)];let unsupportedRemoteArtifactWarningShown=![];const isArtifactEnabled=_0x1ffd8a=>{const _0x5da667=a54_0x462b52,_0x59fa66={};_0x59fa66['WNHxf']=function(_0x4ad3cf,_0x51c294){return _0x4ad3cf===_0x51c294;},_0x59fa66[_0x5da667(0x112)]='off',_0x59fa66['ZVrHn']='object',_0x59fa66[_0x5da667(0x1f9)]=function(_0x129725,_0x1d1886){return _0x129725!==_0x1d1886;},_0x59fa66[_0x5da667(0x1df)]=function(_0x5c170c,_0x2d1de7){return _0x5c170c!==_0x2d1de7;};const _0x840767=_0x59fa66;if(helper[_0x5da667(0x18a)](_0x1ffd8a)||_0x840767[_0x5da667(0x13e)](_0x1ffd8a,_0x840767[_0x5da667(0x112)])||_0x840767[_0x5da667(0x13e)](_0x1ffd8a,![]))return![];if(_0x840767[_0x5da667(0x13e)](typeof _0x1ffd8a,_0x840767['ZVrHn']))return _0x840767[_0x5da667(0x1f9)](_0x1ffd8a[_0x5da667(0x107)],_0x840767[_0x5da667(0x112)])&&_0x840767[_0x5da667(0x1df)](_0x1ffd8a[_0x5da667(0x107)],undefined);return!![];},disableUnsupportedRemoteArtifacts=_0x56023e=>{const _0x5e98a6=a54_0x462b52,_0x2f909b={'boshG':function(_0x3e59cd,_0x2729ae){return _0x3e59cd(_0x2729ae);},'sZYIT':_0x5e98a6(0x163),'wzStW':function(_0x21a3e0,_0x54e7ec){return _0x21a3e0(_0x54e7ec);},'NGPHc':_0x5e98a6(0x102),'zbjeB':function(_0x4c0f99,_0x33c1dd){return _0x4c0f99&&_0x33c1dd;},'lPVKm':_0x5e98a6(0x136)};if(!_0x56023e||!_0x56023e[_0x2f909b[_0x5e98a6(0x1ed)]])return;let _0xd60ab0=![];PLAYWRIGHT_UNSUPPORTED_REMOTE_ARTIFACTS['forEach'](_0x3e5919=>{const _0x4aa29d=_0x5e98a6;(_0x2f909b[_0x4aa29d(0x1a5)](isArtifactEnabled,_0x56023e[_0x2f909b[_0x4aa29d(0x1ed)]][_0x3e5919])||_0x2f909b[_0x4aa29d(0x127)](isArtifactEnabled,helper[_0x4aa29d(0x176)](config,[_0x2f909b['sZYIT'],_0x3e5919])))&&(_0xd60ab0=!![]),_0x56023e[_0x2f909b[_0x4aa29d(0x1ed)]][_0x3e5919]=_0x2f909b[_0x4aa29d(0x11c)];}),_0x2f909b[_0x5e98a6(0x201)](_0xd60ab0,!unsupportedRemoteArtifactWarningShown)&&(unsupportedRemoteArtifactWarningShown=!![],logger[_0x5e98a6(0x1c7)](_0x2f909b[_0x5e98a6(0x118)]));};function a54_0x5cf5(){const _0xbf5c96=['sKXVz','PFBgj','connectOptions','DCdjf','globalSetup','saDJF','platforms','length','AXvdX','project','every','ODpAI','edgeOptions','QBreU','requestsNativeWindowSizing','PMvnt','KoAFg','idx','./reporter/pwUtils','Skipped\x20native\x20window\x20sizing,\x20keeping\x20Playwright\x27s\x20default\x20viewport:\x20','args','push','dRlaY','env','GUeDv','../../helpers/classLogger.js','setup','name','assign','trim','dJAHw','zeXuy','UTNYt','browserstackAutomation','test','use','forEach','RSLQm','../../helpers/test-observability/constants','DGama','iAUJw','RzhbU','Detected\x20Playwright\x20ignoreHTTPSErrors:true\x20—\x20added\x20acceptInsecureCerts\x20capability\x20to\x20the\x20BrowserStack\x20session.','set','Error\x20in\x20eveluating\x20testDir\x20passed\x20in\x20playwrightConfigOptions\x20','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','../../helpers/helper','DAtwe','isBrowserstackInfra','viewport','testDir','ignoreHTTPSErrors','includes','gVqxQ','nestedKeyValue','1659PwjjOZ','projects','Error\x20in\x20generating\x20parallellised\x20config\x20for\x20playwright\x20','get','WRtrL','prepareCapabilities','uxdvG','uniqueDependency','nezgL','some','open','html','getPlaywrightUrl','XhiMM','This\x20build\x20has\x20the\x20Playwright\x20HTML\x20reporter\x20server\x20set\x20to\x20open\x20by\x20default;\x20the\x20report\x20server\x20stays\x20open\x20after\x20the\x20run.\x20Delays\x20in\x20exiting\x20the\x20process\x20may\x20lead\x20to\x20incomplete\x20reporting\x20on\x20the\x20BrowserStack\x20Dashboard.\x20Set\x20the\x20html\x20reporter\x27s\x20open\x20option\x20to\x20\x27never\x27\x20(or\x20PLAYWRIGHT_HTML_OPEN=never)\x20for\x20the\x20process\x20to\x20exit\x20cleanly.','PLAYWRIGHT','maxWorkers','Srlcu','../../helpers/test-observability/utils','isUndefined','vQSZE','config','5526ENSUBA','toLowerCase','Error\x20in\x20getting\x20config','2012McCiNj','_internal','sENgh','apply','setAdditionalCapabilities','MTJAa','eqrqn','teardown','wWNFR','1996032oYQiGa','Ncfal','collectFilesForProject','XQGls','invalidTestInputType','XNRaJ','parseYaml','cbhWm','BROWSERSTACK_PW_CONFIG_DIR','playwrightConfigObject','[reorderTestsBySelection]\x20No\x20test\x20files\x20matched\x20BROWSERSTACK_PW_TEST_ORDER;\x20keeping\x20original\x20order','isRunning','boshG','Error\x20in\x20running\x20user\x20global\x20setup\x20for\x20playwright','jJCWn','ygxlN','2Civgyn','IUONA','ms:edgeOptions','WwFla','updatePlaywrightConfigOptions','cGJyl','NHrUy','sort','DPOWA','path','trace','\x20test\x20files\x20per\x20orchestration\x20selection','KQQtG','sVcXF','fDVfL','log','platformCaps','PamQc','map','ZhtIV','paths','ZLFMd','XVphr','format','join','blXuP','mryFU','gOMQN','isNotUndefined','qlsdf','warn','fujce','JiUoT','getConfig','testMatch','vQWOI','mhezn','CVPCO','never','HeHdg','CMdZe','ZgeLD','../v2/browserstackCLI','function','Error\x20in\x20parsing\x20capabilities\x20from\x20CLI:\x20','respectGitIgnore','reporter','TakUJ','MobVT','fAuGV','parallelsPerPlatform','../../helpers/test-observability/error-handler','ymrNd','455ONsgmR','wLCqY','workers','HybVH','playwrightConfigOptions','LaNRV','GYlnP','EOJtg','BtRws','DtShe','BVrAk','../../helpers/testhub/utils','UsvRd','deepClone','oDTva','sZYIT','utf8','isArray','aziVx','filter','NryWG','YANOy','FoBUG','testIgnore','chromeOptions','eKTqv','TEabX','rECvd','idioR','pOUdp','getPlaywrightConfig','debug','mandatoryDependency','XJSWi','dependencies','zbjeB','video','YWzkY','IXGbg','chLnp','pYGPC','off','StIKv','invalidKeys','stringify','5270UUjGHQ','mode','bootstrap','EgQdM','**/*.@(spec|test).?(c|m)[jt]s?(x)','QSQwn','zbKae','129996nksleJ','yaXxI','VbCby','19974eCyoVq','KgmQV','rRgsp','wKJAM','keys','FAIiw','UimNH','pojIv','lPVKm','sTHvG','qbEnW','getInstance','NGPHc','requirePWModule','lYohl','DoRZv','319SlYSGl','file','zTSpm','2627185KuXvQL','8801fjXFmv','[reorderTestsBySelection]\x20Reordered\x20','reorderTestsBySelection','wzStW','split','FTMYK','kaipt','object','dQHkK','GHaLo','./reporter/reporter.js','BROWSERSTACK_PW_TEST_ORDER','modifyBrowserStackCaps','exports','DMqKm','parse','resolve','accessibility','Playwright\x20\x22video\x22\x20and\x20\x22trace\x22\x20recording\x20are\x20not\x20supported\x20over\x20BrowserStack\x20remote\x20sessions\x20and\x20have\x20been\x20disabled\x20to\x20prevent\x20run\x20failures.\x20Session\x20video\x20is\x20available\x20on\x20the\x20BrowserStack\x20Automate\x20dashboard.\x20The\x20\x22screenshot\x22\x20option\x20is\x20unaffected.','playwright','klbZN','isTrue','dqlVD','error','PHZPm','string','WNHxf','XVPqs'];a54_0x5cf5=function(){return _0xbf5c96;};return a54_0x5cf5();}let htmlAutoOpenWarningShown=![];const isHtmlReporterWithAutoOpen=_0x64856c=>{const _0x5b6f4d=a54_0x462b52,_0x3b96b9={};_0x3b96b9[_0x5b6f4d(0x100)]=function(_0x53247e,_0x4d2977){return _0x53247e===_0x4d2977;},_0x3b96b9['LDBTV']='string',_0x3b96b9[_0x5b6f4d(0x1fb)]=function(_0x4c2d27,_0x53d568){return _0x4c2d27!==_0x53d568;},_0x3b96b9[_0x5b6f4d(0x10e)]=_0x5b6f4d(0x182),_0x3b96b9[_0x5b6f4d(0x158)]=function(_0x38599f,_0x5a6761){return _0x38599f!==_0x5a6761;},_0x3b96b9[_0x5b6f4d(0x1d8)]=_0x5b6f4d(0x1cf);const _0x519645=_0x3b96b9;if(!_0x64856c)return![];let _0x59fc51,_0x4bf4cc;if(_0x519645['chLnp'](typeof _0x64856c,_0x519645['LDBTV']))_0x59fc51=_0x64856c;else Array[_0x5b6f4d(0x1ef)](_0x64856c)&&(_0x59fc51=_0x64856c[0x0],_0x4bf4cc=_0x64856c[0x1]);if(_0x519645[_0x5b6f4d(0x1fb)](_0x59fc51,_0x519645[_0x5b6f4d(0x10e)]))return![];return!_0x4bf4cc||_0x519645['GUeDv'](_0x4bf4cc[_0x5b6f4d(0x181)],_0x519645[_0x5b6f4d(0x1d8)]);},configHasAutoOpenHtmlReporter=()=>{const _0x5d2f5b=a54_0x462b52,_0x3535ff={'bYXzt':_0x5d2f5b(0x1d7),'EgQdM':function(_0x26c9fe,_0x4680cf){return _0x26c9fe===_0x4680cf;},'GHaLo':_0x5d2f5b(0x13d),'lYohl':function(_0x8eb04f,_0x2562a4){return _0x8eb04f(_0x2562a4);},'vQSZE':function(_0x477e43,_0x288820){return _0x477e43===_0x288820;}},_0x511b29=config[_0x3535ff['bYXzt']];if(_0x3535ff[_0x5d2f5b(0x109)](typeof _0x511b29,_0x3535ff[_0x5d2f5b(0x12d)]))return _0x3535ff['lYohl'](isHtmlReporterWithAutoOpen,_0x511b29);if(Array['isArray'](_0x511b29)){if(_0x3535ff[_0x5d2f5b(0x18b)](typeof _0x511b29[0x0],_0x3535ff[_0x5d2f5b(0x12d)]))return _0x3535ff[_0x5d2f5b(0x11e)](isHtmlReporterWithAutoOpen,_0x511b29);return _0x511b29['some'](isHtmlReporterWithAutoOpen);}return![];},warnHtmlReporterAutoOpen=()=>{const _0x4a0be4=a54_0x462b52,_0x18c85d={'gzFsL':function(_0x38ebb1){return _0x38ebb1();},'IXGbg':_0x4a0be4(0x185)};if(!_0x18c85d['gzFsL'](configHasAutoOpenHtmlReporter)||htmlAutoOpenWarningShown)return;htmlAutoOpenWarningShown=!![],logger[_0x4a0be4(0x1c7)](_0x18c85d[_0x4a0be4(0xff)]);},isIgnoreHttpsErrorsRequested=_0x11cadb=>{const _0x138f06=a54_0x462b52,_0x29e9cd={};_0x29e9cd[_0x138f06(0x12a)]=function(_0x26f11b,_0x3007d9){return _0x26f11b===_0x3007d9;},_0x29e9cd[_0x138f06(0x14b)]='use',_0x29e9cd[_0x138f06(0x122)]=_0x138f06(0x173),_0x29e9cd[_0x138f06(0x15e)]=function(_0x3c2f00,_0x5cea37){return _0x3c2f00===_0x5cea37;};const _0x320857=_0x29e9cd;if(_0x320857[_0x138f06(0x12a)](helper['nestedKeyValue'](config,[_0x320857['ODpAI'],_0x320857['zTSpm']]),!![]))return!![];if(_0x320857[_0x138f06(0x15e)](helper[_0x138f06(0x176)](_0x11cadb,[_0x320857['ODpAI'],_0x320857[_0x138f06(0x122)]]),!![]))return!![];return![];},isAccessibilityEnabledForPlatform=_0x30cefb=>{const _0x258c7e=a54_0x462b52,_0x320712=browserstackSetup[_0x258c7e(0x18c)]||{};if(helper['isTrue'](_0x320712['accessibility']))return!![];const _0x3037ad=_0x320712[_0x258c7e(0x146)]&&_0x320712['platforms'][_0x30cefb];if(_0x3037ad&&helper[_0x258c7e(0x139)](_0x3037ad[_0x258c7e(0x135)]))return!![];return![];},shouldAcceptInsecureCerts=(_0x57a050,_0x4cecb1)=>{const _0x10fbee={'cJDAN':function(_0x4d0f27,_0x1bcc95){return _0x4d0f27(_0x1bcc95);}};return _0x10fbee['cJDAN'](isAccessibilityEnabledForPlatform,_0x4cecb1)&&_0x10fbee['cJDAN'](isIgnoreHttpsErrorsRequested,_0x57a050);},NATIVE_WINDOW_SIZING_ARG=/^--(start-maximized|start-fullscreen|kiosk|window-size)(=|$)/,BROWSER_ARGS_CAPABILITY_KEYS=['goog:chromeOptions',a54_0x462b52(0x1f6),a54_0x462b52(0x1ab),a54_0x462b52(0x14c)],requestsNativeWindowSizing=_0x142f2a=>{const _0x29400c=a54_0x462b52,_0x166a71={};_0x166a71[_0x29400c(0x1e1)]=_0x29400c(0x154),_0x166a71[_0x29400c(0x140)]=function(_0x4bd7f1,_0x3215e9){return _0x4bd7f1!==_0x3215e9;},_0x166a71[_0x29400c(0x111)]=_0x29400c(0x12b);const _0x1a2f70=_0x166a71;if(!_0x142f2a||_0x1a2f70[_0x29400c(0x140)](typeof _0x142f2a,_0x1a2f70['KgmQV']))return![];return BROWSER_ARGS_CAPABILITY_KEYS[_0x29400c(0x180)](_0x3e91bd=>{const _0x50621a=_0x29400c,_0x1c36ae=helper[_0x50621a(0x176)](_0x142f2a,[_0x3e91bd,_0x1a2f70[_0x50621a(0x1e1)]]);return Array[_0x50621a(0x1ef)](_0x1c36ae)&&_0x1c36ae[_0x50621a(0x180)](_0x465724=>typeof _0x465724===_0x50621a(0x13d)&&NATIVE_WINDOW_SIZING_ARG[_0x50621a(0x162)](_0x465724[_0x50621a(0x15d)]()));});},applyNativeWindowSizing=(_0x3b5fe9,_0x33d2e5,_0xa27bf8,_0x56d157)=>{const _0x3e42fa=a54_0x462b52,_0x47a07a={'iAUJw':'use','BVrAk':function(_0x24e493,_0x2efb50){return _0x24e493 in _0x2efb50;},'qbEnW':_0x3e42fa(0x171),'YWzkY':function(_0x4d070c,_0x374e7d){return _0x4d070c||_0x374e7d;},'QBreU':function(_0x71b0ad,_0x3c7669){return _0x71b0ad===_0x3c7669;},'RzhbU':_0x3e42fa(0x12b),'LlQlC':function(_0x466db3,_0x52d1c5){return _0x466db3(_0x52d1c5);},'saDJF':function(_0x38fb3d,_0x1e57cc){return _0x38fb3d(_0x1e57cc);},'DAtwe':'Capabilities\x20request\x20native\x20window\x20sizing\x20(e.g.\x20--start-maximized)\x20—\x20set\x20viewport:\x20null\x20so\x20Playwright\x20does\x20not\x20emulate\x20over\x20the\x20maximized\x20window.'};try{if(!_0x3b5fe9||!_0x3b5fe9[_0x47a07a[_0x3e42fa(0x168)]]||_0x47a07a[_0x3e42fa(0x1e8)](_0x47a07a[_0x3e42fa(0x11a)],_0x3b5fe9[_0x47a07a['iAUJw']]))return;const _0x597f42=helper[_0x3e42fa(0x176)](_0x47a07a[_0x3e42fa(0xfe)](_0x56d157,{}),[_0x47a07a[_0x3e42fa(0x168)]]);if(_0x597f42&&_0x47a07a[_0x3e42fa(0x14d)](typeof _0x597f42,_0x47a07a[_0x3e42fa(0x169)])&&_0x47a07a[_0x3e42fa(0x1e8)](_0x47a07a[_0x3e42fa(0x11a)],_0x597f42))return;if(!_0x47a07a['LlQlC'](requestsNativeWindowSizing,_0x33d2e5)&&!_0x47a07a[_0x3e42fa(0x145)](requestsNativeWindowSizing,_0xa27bf8))return;_0x3b5fe9[_0x47a07a[_0x3e42fa(0x168)]][_0x47a07a[_0x3e42fa(0x11a)]]=null,logger[_0x3e42fa(0x1fd)](_0x47a07a[_0x3e42fa(0x16f)]);}catch(_0x12ae50){logger[_0x3e42fa(0x1fd)](_0x3e42fa(0x153)+util[_0x3e42fa(0x1c0)](_0x12ae50));}},getConfigFromCLI=async()=>{const _0xf1caa2=a54_0x462b52,_0x286cbd={};_0x286cbd[_0xf1caa2(0x1c8)]=_0xf1caa2(0x18f);const _0x2a77e2=_0x286cbd,_0x256232={};_0x256232[_0xf1caa2(0x1a2)]=config;const _0x8c0915=await GrpcClient[_0xf1caa2(0x11b)]()[_0xf1caa2(0x1fc)](_0x256232);if(!_0x8c0915['getConfig']())throw new Error(_0x2a77e2[_0xf1caa2(0x1c8)]);return JSON[_0xf1caa2(0x133)](_0x8c0915['getConfig']());},handleAutomationTrue=async()=>{const _0x5e5f63=a54_0x462b52,_0x3061ec={'nezgL':_0x5e5f63(0x137),'idioR':_0x5e5f63(0x163),'wWNFR':function(_0xa6da32,_0xa0a203,_0x3d4893,_0x45a3a7,_0x1c85ff){return _0xa6da32(_0xa0a203,_0x3d4893,_0x45a3a7,_0x1c85ff);},'hAvKk':function(_0xeb4d87,_0x2a06f9,_0x963a66){return _0xeb4d87(_0x2a06f9,_0x963a66);},'gOMQN':'acceptInsecureCerts','StIKv':_0x5e5f63(0x16a),'oDTva':_0x5e5f63(0x142),'Srlcu':function(_0x377611,_0x558dd9){return _0x377611+_0x558dd9;},'PHZPm':function(_0x4a1b97,_0x1980ee){return _0x4a1b97(_0x1980ee);},'XQGls':function(_0x81bf67,_0x329eb8){return _0x81bf67===_0x329eb8;},'XhiMM':'testDir','fAuGV':_0x5e5f63(0x1d4),'TuZDO':function(_0x318b6a,_0x3a0cde){return _0x318b6a+_0x3a0cde;},'ZgeLD':_0x5e5f63(0x16c),'XVPqs':function(_0x30b56b,_0xc0a06d){return _0x30b56b(_0xc0a06d);},'blXuP':function(_0xfe2d5,_0x894470,_0x1d3fc2,_0x4bee2a){return _0xfe2d5(_0x894470,_0x1d3fc2,_0x4bee2a);},'KoAFg':function(_0xe51362){return _0xe51362();},'BtRws':_0x5e5f63(0x1e0),'KQQtG':'projects','ymrNd':function(_0x29b430,_0x323892){return _0x29b430===_0x323892;},'WRtrL':'**/*.@(spec|test).?(c|m)[jt]s?(x)','HeHdg':'testMatch','LaNRV':'testIgnore','NHrUy':function(_0x2a7948,_0x10369d){return _0x2a7948+_0x10369d;},'PMvnt':_0x5e5f63(0x179),'lIvBS':function(_0xc1b604,_0x16efde){return _0xc1b604*_0x16efde;}};let _0x2938be=[];if(BrowserstackCli[_0x5e5f63(0x11b)]()[_0x5e5f63(0x1a4)]()&&BrowserstackCli[_0x5e5f63(0x11b)]()[_0x5e5f63(0x1ca)]()[_0x5e5f63(0x161)]){const _0x1257e0=await _0x3061ec['KoAFg'](getConfigFromCLI);config[_0x3061ec[_0x5e5f63(0x1e6)]]=_0x1257e0[_0x5e5f63(0x187)]||0x1,config[_0x3061ec[_0x5e5f63(0x1b5)]]=[];try{_0x2938be=_0x1257e0['capabilities'];}catch(_0x5c3c56){logger[_0x5e5f63(0x13b)](_0x5e5f63(0x1d5)+util['format'](_0x5c3c56));}}else{if(!BrowserstackCli[_0x5e5f63(0x11b)]()[_0x5e5f63(0x1a4)]()&&helper[_0x5e5f63(0x170)]()){if(helper[_0x5e5f63(0x18a)](browserstackSetup[_0x5e5f63(0x18c)]['platforms'])||_0x3061ec[_0x5e5f63(0x1dd)](browserstackSetup[_0x5e5f63(0x18c)]['platforms']['length'],0x0)){const _0x2bdddd=browserstackSetup[_0x5e5f63(0x18c)][_0x5e5f63(0x1db)]||browserstackSetup['config'][_0x5e5f63(0x1e0)]||config[_0x3061ec[_0x5e5f63(0x1e6)]]||0x1;config[_0x3061ec['BtRws']]=_0x2bdddd;return;}config[_0x3061ec['KQQtG']]=[],browserstackSetup[_0x5e5f63(0x18c)][_0x5e5f63(0x146)][_0x5e5f63(0x164)]((_0x16a481,_0xd6152a)=>{const _0x264c72=_0x5e5f63;_0x2938be['push'](helper[_0x264c72(0x130)](browserstackSetup[_0x264c72(0x18c)],_0x3061ec[_0x264c72(0x17f)],_0xd6152a));}),_0x2938be['forEach'](_0x3bb606=>{const _0x1fe352=_0x5e5f63;helper[_0x1fe352(0x194)](_0x3bb606);});}}if(!BrowserstackCli['getInstance']()[_0x5e5f63(0x1a4)]()&&helper['isBrowserstackInfra']()||BrowserstackCli['getInstance']()['isRunning']()&&BrowserstackCli['getInstance']()[_0x5e5f63(0x1ca)]()[_0x5e5f63(0x161)]){let _0x4218d3,_0x25f766=[];try{_0x4218d3=helper[_0x5e5f63(0x11d)][_0x5e5f63(0x193)](null,_0x3061ec[_0x5e5f63(0x150)](getProjectUtilsPath));const _0xf7cc1c={};_0xf7cc1c[_0x5e5f63(0x1d6)]=!![];const _0x304d50={};_0x304d50[_0x5e5f63(0x1d6)]=!![],_0x304d50[_0x5e5f63(0x172)]='',_0x304d50[_0x5e5f63(0x1cb)]=_0x3061ec[_0x5e5f63(0x17b)],_0x304d50['testIgnore']='',_0x304d50[_0x5e5f63(0x191)]=_0xf7cc1c;const _0x291ef8={};_0x291ef8['project']=_0x304d50;let _0x2d59ad=_0x291ef8;config[_0x3061ec[_0x5e5f63(0x184)]]&&(_0x2d59ad[_0x5e5f63(0x149)][_0x3061ec[_0x5e5f63(0x184)]]=config[_0x3061ec[_0x5e5f63(0x184)]]),config[_0x3061ec[_0x5e5f63(0x1d0)]]&&(_0x2d59ad[_0x5e5f63(0x149)][_0x3061ec[_0x5e5f63(0x1d0)]]=config[_0x3061ec['HeHdg']]),config[_0x3061ec[_0x5e5f63(0x1e3)]]&&(_0x2d59ad[_0x5e5f63(0x149)][_0x3061ec[_0x5e5f63(0x1e3)]]=config[_0x3061ec[_0x5e5f63(0x1e3)]]),_0x2d59ad=Object[_0x5e5f63(0x15c)](_0x2d59ad,_0x2d59ad[_0x5e5f63(0x149)]),_0x25f766=await _0x4218d3[_0x5e5f63(0x19b)](_0x2d59ad);}catch(_0xc865d2){console['log'](_0x3061ec[_0x5e5f63(0x1af)](_0x3061ec[_0x5e5f63(0x14f)],util[_0x5e5f63(0x1c0)](_0xc865d2)));}const _0x210c7e=helper[_0x5e5f63(0x183)](browserstackSetup[_0x5e5f63(0x18c)]),_0x2fa133=await _0x3061ec[_0x5e5f63(0x1c2)](getPWOptionsTests,_0x2938be,_0x4218d3,_0x25f766),_0x13b071=_0x2fa133[_0x5e5f63(0x1bb)](_0x236e25=>reorderTestsBySelection(_0x236e25));_0x2938be[_0x5e5f63(0x164)]((_0x57f6ba,_0x48c33a)=>{const _0x25dc72=_0x5e5f63,_0x1d68c0={},_0x4b2196={};_0x4b2196[_0x25dc72(0x1b9)]=browserstackSetup[_0x25dc72(0x18c)][_0x25dc72(0x146)][_0x48c33a],_0x1d68c0[_0x3061ec[_0x25dc72(0x1fa)]]=_0x4b2196,helper['playwrightProjectNameUpdate'](_0x57f6ba,_0x1d68c0),helper[_0x25dc72(0x1ad)](_0x1d68c0,browserstackSetup[_0x25dc72(0x18c)][_0x25dc72(0x146)][_0x48c33a],browserstackSetup[_0x25dc72(0x18c)][_0x25dc72(0x146)][_0x48c33a]['playwrightConfigOptions']||config[_0x25dc72(0x1e2)]||null),_0x3061ec[_0x25dc72(0x198)](applyNativeWindowSizing,_0x1d68c0,_0x57f6ba,browserstackSetup[_0x25dc72(0x18c)]['platforms'][_0x48c33a],config);_0x3061ec['hAvKk'](shouldAcceptInsecureCerts,_0x1d68c0,_0x48c33a)&&(_0x57f6ba[_0x3061ec[_0x25dc72(0x1c4)]]=!![],logger[_0x25dc72(0x1fd)](_0x3061ec[_0x25dc72(0x103)]));_0x1d68c0[_0x3061ec['idioR']][_0x3061ec[_0x25dc72(0x1ec)]]=Object[_0x25dc72(0x15c)](_0x1d68c0[_0x3061ec[_0x25dc72(0x1fa)]][_0x3061ec[_0x25dc72(0x1ec)]]||helper['nestedKeyValue'](config,[_0x3061ec[_0x25dc72(0x1fa)],_0x3061ec[_0x25dc72(0x1ec)]])||{},{'wsEndpoint':_0x3061ec[_0x25dc72(0x188)](_0x210c7e,_0x3061ec[_0x25dc72(0x13c)](encodeURIComponent,JSON[_0x25dc72(0x105)](_0x57f6ba)))});try{_0x3061ec[_0x25dc72(0x19c)](typeof _0x1d68c0[_0x3061ec[_0x25dc72(0x184)]],_0x3061ec[_0x25dc72(0x1da)])&&(_0x1d68c0[_0x3061ec[_0x25dc72(0x184)]]=_0x1d68c0[_0x3061ec[_0x25dc72(0x184)]](helper['requireModule']));}catch(_0x541411){console[_0x25dc72(0x1b8)](_0x3061ec['TuZDO'](_0x3061ec[_0x25dc72(0x1d2)],util[_0x25dc72(0x1c0)](_0x541411)));}_0x3061ec[_0x25dc72(0x13f)](disableUnsupportedRemoteArtifacts,_0x1d68c0),_0x3061ec['blXuP'](addProjectToProjectList,_0x13b071,_0x48c33a,_0x1d68c0);});_0x25f766[_0x5e5f63(0x147)]&&(config[_0x3061ec['HeHdg']]='');const _0x3fdb11=_0x3061ec['lIvBS'](browserstackSetup[_0x5e5f63(0x18c)][_0x5e5f63(0x146)]['length']||0x1,browserstackSetup[_0x5e5f63(0x18c)]['parallelsPerPlatform']||config[_0x3061ec[_0x5e5f63(0x1e6)]]||0x1);config[_0x3061ec[_0x5e5f63(0x1e6)]]=_0x3fdb11;}},reorderTestsBySelection=_0x5a1bf7=>{const _0x40f9bf=a54_0x462b52,_0x1a0283={'DMqKm':function(_0x2e84ae,_0x22ffe1){return _0x2e84ae(_0x22ffe1);},'EOJtg':function(_0x32eb70,_0x22c1aa){return _0x32eb70===_0x22c1aa;},'Ncfal':_0x40f9bf(0x1a3)},_0x41cdb6=process[_0x40f9bf(0x157)][_0x40f9bf(0x12f)];if(!_0x41cdb6||!Array[_0x40f9bf(0x1ef)](_0x5a1bf7)||_0x1a0283[_0x40f9bf(0x1e5)](_0x5a1bf7['length'],0x0))return _0x5a1bf7;const _0x38a3bc=_0x1f5f89=>{const _0x259c10=_0x40f9bf;try{return fs['realpathSync'](_0x1f5f89);}catch(_0xa4acd1){return path[_0x259c10(0x134)](_0x1f5f89);}},_0x4b2280=new Map();_0x41cdb6[_0x40f9bf(0x128)](',')['filter'](Boolean)[_0x40f9bf(0x164)]((_0x1b3476,_0x668a21)=>{const _0x390ea0=_0x40f9bf;_0x4b2280[_0x390ea0(0x16b)](_0x1a0283[_0x390ea0(0x132)](_0x38a3bc,_0x1b3476),_0x668a21);});const _0x34b68a=_0x5a1bf7['map'](_0x38c276=>({'file':_0x38c276,'idx':_0x4b2280['has'](_0x38a3bc(_0x38c276))?_0x4b2280[_0x40f9bf(0x17a)](_0x38a3bc(_0x38c276)):-0x1}))[_0x40f9bf(0x1f1)](_0x44ddc3=>_0x44ddc3['idx']>=0x0)[_0x40f9bf(0x1b0)]((_0x568870,_0x4f26cd)=>_0x568870['idx']-_0x4f26cd[_0x40f9bf(0x151)])[_0x40f9bf(0x1bb)](_0x1f7cfd=>_0x1f7cfd[_0x40f9bf(0x121)]);if(_0x1a0283[_0x40f9bf(0x1e5)](_0x34b68a[_0x40f9bf(0x147)],0x0))return logger[_0x40f9bf(0x1fd)](_0x1a0283[_0x40f9bf(0x19a)]),_0x5a1bf7;return logger['debug'](_0x40f9bf(0x125)+_0x5a1bf7['length']+'\x20->\x20'+_0x34b68a['length']+_0x40f9bf(0x1b4)),_0x34b68a;},addProjectToProjectList=(_0x222c62,_0x4eda4c,_0x2371d1)=>{const _0x1fdebe=a54_0x462b52,_0x920800={'fDVfL':function(_0xd9b09b,_0x52be1b){return _0xd9b09b>_0x52be1b;},'FAIiw':_0x1fdebe(0x200),'CMdZe':_0x1fdebe(0x1cb),'dQHkK':_0x1fdebe(0x15a),'uClaw':_0x1fdebe(0x197),'FoBUG':_0x1fdebe(0x178),'DPOWA':_0x1fdebe(0x163),'PFBgj':_0x1fdebe(0x1b9),'UTNYt':'playwrightConfigOptions','euBAk':function(_0xc69a74,_0x5ad2a0,_0x54c5dd){return _0xc69a74(_0x5ad2a0,_0x54c5dd);},'zeXuy':function(_0x2e5ad7,_0x351b7f){return _0x2e5ad7>_0x351b7f;}},_0x549867=_0x222c62[_0x4eda4c],_0x58c8b6=browserstackSetup['config'][_0x1fdebe(0x146)][_0x4eda4c][_0x1fdebe(0x1e2)];_0x2371d1[_0x920800[_0x1fdebe(0x1b1)]][_0x920800[_0x1fdebe(0x141)]][_0x920800[_0x1fdebe(0x160)]]&&delete _0x2371d1[_0x920800['DPOWA']][_0x920800[_0x1fdebe(0x141)]][_0x920800[_0x1fdebe(0x160)]];const _0x4b5301=_0x920800['euBAk'](setSetupAndTeardownConfigs,helper[_0x1fdebe(0x1eb)](_0x2371d1),_0x58c8b6);_0x920800[_0x1fdebe(0x15f)](_0x549867['length'],0x0)?_0x549867[_0x1fdebe(0x164)](_0xe9e157=>{const _0x56b667=_0x1fdebe,_0x159a6e=helper[_0x56b667(0x1eb)](_0x2371d1);_0x920800[_0x56b667(0x1b7)](_0x4b5301[_0x56b667(0x147)],0x0)&&(_0x159a6e[_0x920800[_0x56b667(0x115)]]=_0x4b5301),_0x159a6e[_0x920800[_0x56b667(0x1d1)]]=_0xe9e157,_0x159a6e[_0x920800[_0x56b667(0x12c)]]&&delete _0x159a6e[_0x56b667(0x15a)],_0x159a6e[_0x920800['uClaw']]&&delete _0x159a6e['teardown'],config[_0x920800['FoBUG']][_0x56b667(0x155)](_0x159a6e);}):config[_0x920800[_0x1fdebe(0x1f4)]][_0x1fdebe(0x155)](_0x2371d1);},setSetupAndTeardownConfigs=(_0x205520,_0x5154b8)=>{const _0x544df4=a54_0x462b52,_0x3e7c41={'dqlVD':function(_0x429f6a,_0x302f59,_0x17bba4){return _0x429f6a(_0x302f59,_0x17bba4);},'DCdjf':_0x544df4(0x197),'ZhtIV':function(_0x96f00d,_0xf1b05f,_0x162098,_0x1ba416){return _0x96f00d(_0xf1b05f,_0x162098,_0x1ba416);},'ygxlN':'use','klbZN':_0x544df4(0x178),'NFlzK':function(_0x455a6d,_0x54e964,_0x515e16){return _0x455a6d(_0x54e964,_0x515e16);},'DGama':'setup','qlsdf':function(_0x47025d,_0x63443e,_0xc18cdd,_0x4544a1,_0x91b4dc){return _0x47025d(_0x63443e,_0xc18cdd,_0x4544a1,_0x91b4dc);}};if(!_0x5154b8)return[];const _0x54c46e=[],_0x3026a7=[];let _0x739f8b,_0x491705;return _0x5154b8[_0x3e7c41['DGama']]&&(_0x739f8b=_0x5154b8[_0x3e7c41[_0x544df4(0x167)]]),_0x5154b8[_0x3e7c41[_0x544df4(0x143)]]&&(_0x491705=_0x5154b8[_0x3e7c41[_0x544df4(0x143)]]),_0x491705&&Array[_0x544df4(0x1ef)](_0x491705)&&_0x491705['forEach'](_0x285139=>{const _0x10904e=_0x544df4;_0x3e7c41[_0x10904e(0x13a)](validateKeys,_0x285139,_0x3e7c41[_0x10904e(0x143)]);if(_0x54c46e[_0x10904e(0x174)](_0x285139[_0x10904e(0x15b)]))throw util[_0x10904e(0x1c0)](PLAYWRIGHT_CONFIG_OPTION_ERRORS[_0x10904e(0x17e)],_0x3e7c41[_0x10904e(0x143)]);const _0x1dd707=_0x3e7c41[_0x10904e(0x1bc)](createDependencyProject,_0x285139[_0x10904e(0x15b)],_0x285139['testMatch'],_0x285139['testDir']);_0x1dd707[_0x3e7c41[_0x10904e(0x1a8)]]=_0x205520[_0x3e7c41[_0x10904e(0x1a8)]],config[_0x3e7c41['klbZN']][_0x10904e(0x155)](_0x1dd707),_0x54c46e[_0x10904e(0x155)](_0x285139[_0x10904e(0x15b)]);}),_0x739f8b&&Array['isArray'](_0x739f8b)&&_0x739f8b[_0x544df4(0x164)](_0x396ce9=>{const _0x30a082=_0x544df4;_0x3e7c41['NFlzK'](validateKeys,_0x396ce9,_0x3e7c41[_0x30a082(0x167)]);if(_0x54c46e['includes'](_0x396ce9[_0x30a082(0x15b)]))throw util['format'](PLAYWRIGHT_CONFIG_OPTION_ERRORS[_0x30a082(0x17e)],_0x3e7c41[_0x30a082(0x167)]);const _0x2ae9b9=_0x396ce9[_0x30a082(0x197)]?_0x3e7c41[_0x30a082(0x1c6)](createDependencyProject,_0x396ce9[_0x30a082(0x15b)],_0x396ce9['testMatch'],_0x396ce9['testDir'],_0x396ce9[_0x30a082(0x197)]):_0x3e7c41[_0x30a082(0x1bc)](createDependencyProject,_0x396ce9['name'],_0x396ce9['testMatch'],_0x396ce9[_0x30a082(0x172)]);_0x2ae9b9[_0x3e7c41['ygxlN']]=_0x205520[_0x3e7c41[_0x30a082(0x1a8)]],config[_0x3e7c41[_0x30a082(0x138)]][_0x30a082(0x155)](_0x2ae9b9),_0x3026a7['push'](_0x396ce9['name']),_0x54c46e[_0x30a082(0x155)](_0x396ce9[_0x30a082(0x15b)]);}),_0x3026a7;},validateKeys=(_0x445127,_0x26337e)=>{const _0x44eaba=a54_0x462b52,_0x327b26={};_0x327b26[_0x44eaba(0x1bf)]=function(_0x433cbe,_0x54751f){return _0x433cbe===_0x54751f;},_0x327b26['IUONA']=_0x44eaba(0x197),_0x327b26[_0x44eaba(0x10b)]=_0x44eaba(0x15b),_0x327b26[_0x44eaba(0x119)]='testMatch',_0x327b26[_0x44eaba(0x1f8)]='testDir';const _0x27b9fb=_0x327b26;if(![_0x27b9fb[_0x44eaba(0x10b)],_0x27b9fb['sTHvG']][_0x44eaba(0x14a)](_0xbef0bc=>Object[_0x44eaba(0x114)](_0x445127)[_0x44eaba(0x174)](_0xbef0bc)))throw util[_0x44eaba(0x1c0)](PLAYWRIGHT_CONFIG_OPTION_ERRORS[_0x44eaba(0x1fe)],_0x26337e);Object[_0x44eaba(0x114)](_0x445127)['forEach'](_0xb667b2=>{const _0x2bb464=_0x44eaba;if(_0x27b9fb[_0x2bb464(0x1bf)](_0x26337e,_0x27b9fb['IUONA'])){if(![_0x27b9fb['QSQwn'],_0x27b9fb['sTHvG'],_0x27b9fb[_0x2bb464(0x1f8)]][_0x2bb464(0x174)](_0xb667b2))throw util[_0x2bb464(0x1c0)](PLAYWRIGHT_CONFIG_OPTION_ERRORS['invalidKeys'],_0x26337e);}else{if(![_0x27b9fb['QSQwn'],_0x27b9fb[_0x2bb464(0x119)],_0x27b9fb[_0x2bb464(0x1aa)],_0x27b9fb[_0x2bb464(0x1f8)]][_0x2bb464(0x174)](_0xb667b2))throw util['format'](PLAYWRIGHT_CONFIG_OPTION_ERRORS[_0x2bb464(0x104)],_0x26337e);}});},createDependencyProject=(_0xc77685,_0x484073,_0x24dff6,_0x1cd28d)=>{const _0xfb75d3=a54_0x462b52,_0xb3cb10={};_0xb3cb10['name']=_0xc77685,_0xb3cb10[_0xfb75d3(0x1cb)]=_0x484073,_0xb3cb10[_0xfb75d3(0x197)]=_0x1cd28d,_0xb3cb10[_0xfb75d3(0x172)]=_0x24dff6;const _0x559bd5=_0xb3cb10;return Object[_0xfb75d3(0x114)](_0x559bd5)[_0xfb75d3(0x164)](_0x50a7a1=>helper[_0xfb75d3(0x18a)](_0x559bd5[_0x50a7a1])&&delete _0x559bd5[_0x50a7a1]),_0x559bd5;},getPWOptionsTests=async(_0x2f2a51,_0x3fd602,_0x4a9997)=>{const _0x259464=a54_0x462b52,_0x573c65={'cbhWm':function(_0x3bb71c,_0xa5c4a8){return _0x3bb71c<_0xa5c4a8;},'FTMYK':function(_0x1e8c2e,_0x16ff0a,_0x13a2a7){return _0x1e8c2e(_0x16ff0a,_0x13a2a7);},'NryWG':function(_0x455211,_0x2554fa){return _0x455211===_0x2554fa;}},_0x47a255=[];for(let _0x2a3d32=0x0;_0x573c65[_0x259464(0x1a0)](_0x2a3d32,_0x2f2a51[_0x259464(0x147)]);_0x2a3d32++){const _0x156196=await _0x573c65[_0x259464(0x129)](getTestListFromPWOptions,_0x2a3d32,_0x3fd602);_0x47a255[_0x259464(0x155)](_0x573c65[_0x259464(0x1f2)](_0x156196['length'],0x0)?_0x4a9997:_0x156196);}return _0x47a255;},getTestListFromPWOptions=async(_0x52f574,_0x7a56fe)=>{const _0x18d80a=a54_0x462b52,_0x2ab681={};_0x2ab681[_0x18d80a(0x11f)]=_0x18d80a(0x1cb),_0x2ab681[_0x18d80a(0x1e4)]=_0x18d80a(0x1f5),_0x2ab681[_0x18d80a(0x117)]=_0x18d80a(0x172),_0x2ab681[_0x18d80a(0x196)]=function(_0x5c572b,_0x573899){return _0x5c572b===_0x573899;},_0x2ab681['XNRaJ']=_0x18d80a(0x13d),_0x2ab681[_0x18d80a(0x1ea)]=function(_0x459cdb,_0x4243da){return _0x459cdb===_0x4243da;},_0x2ab681[_0x18d80a(0x1ae)]=_0x18d80a(0x10a),_0x2ab681[_0x18d80a(0x1d9)]='3|1|0|4|2',_0x2ab681[_0x18d80a(0x1be)]=function(_0x15969d,_0x4e5325){return _0x15969d||_0x4e5325;},_0x2ab681[_0x18d80a(0x1c3)]=function(_0x1fa451,_0xe53da1){return _0x1fa451+_0xe53da1;},_0x2ab681[_0x18d80a(0x1f3)]='Error\x20in\x20setting\x20up\x20playwright\x20config\x20due\x20to\x20playwright\x20Config\x20Options:\x20ErrorTrace:';const _0x2c4d0d=_0x2ab681,_0x443116=browserstackSetup[_0x18d80a(0x18c)][_0x18d80a(0x146)][_0x52f574][_0x18d80a(0x1e2)];if(!_0x443116)return[];const _0x3e0634=_0x443116[_0x2c4d0d['DoRZv']]||config[_0x2c4d0d['DoRZv']],_0x288da6=_0x443116[_0x2c4d0d[_0x18d80a(0x1e4)]]||config[_0x2c4d0d[_0x18d80a(0x1e4)]],_0xeb07a2=config[_0x2c4d0d[_0x18d80a(0x117)]],_0x113b78=_0x443116[_0x2c4d0d[_0x18d80a(0x117)]];if(_0x3e0634&&!(_0x2c4d0d[_0x18d80a(0x196)](typeof _0x3e0634,_0x2c4d0d[_0x18d80a(0x19e)])||Array[_0x18d80a(0x1ef)](_0x3e0634)))throw util[_0x18d80a(0x1c0)](PLAYWRIGHT_CONFIG_OPTION_ERRORS[_0x18d80a(0x19d)],_0x2c4d0d['DoRZv']);if(_0x288da6&&!(_0x2c4d0d[_0x18d80a(0x1ea)](typeof _0x288da6,_0x2c4d0d[_0x18d80a(0x19e)])||Array['isArray'](_0x288da6)))throw util[_0x18d80a(0x1c0)](PLAYWRIGHT_CONFIG_OPTION_ERRORS[_0x18d80a(0x19d)],_0x2c4d0d['GYlnP']);let _0x2619e3=[];const _0x2c8032={};_0x2c8032['respectGitIgnore']=!![],_0x2c8032[_0x18d80a(0x172)]='',_0x2c8032[_0x18d80a(0x1cb)]=_0x2c4d0d[_0x18d80a(0x1ae)],_0x2c8032['testIgnore']='';const _0x2e1ede={};_0x2e1ede[_0x18d80a(0x1d6)]=!![];const _0x1c7c7b={};_0x1c7c7b['project']=_0x2c8032,_0x1c7c7b[_0x18d80a(0x191)]=_0x2e1ede;let _0xb6b893=_0x1c7c7b;try{const _0x1b2d91=_0x2c4d0d[_0x18d80a(0x1d9)][_0x18d80a(0x128)]('|');let _0x2d0807=0x0;while(!![]){switch(_0x1b2d91[_0x2d0807++]){case'0':_0x288da6&&(_0xb6b893[_0x18d80a(0x149)][_0x2c4d0d[_0x18d80a(0x1e4)]]=_0x288da6);continue;case'1':_0x3e0634&&(_0xb6b893[_0x18d80a(0x149)][_0x2c4d0d[_0x18d80a(0x11f)]]=_0x3e0634);continue;case'2':_0x2619e3=await _0x7a56fe[_0x18d80a(0x19b)](_0xb6b893);continue;case'3':_0x2c4d0d['ZLFMd'](_0x113b78,_0xeb07a2)&&(_0xb6b893[_0x18d80a(0x149)][_0x2c4d0d[_0x18d80a(0x117)]]=_0x2c4d0d[_0x18d80a(0x1be)](_0x113b78,_0xeb07a2));continue;case'4':_0xb6b893=Object['assign'](_0xb6b893,_0xb6b893[_0x18d80a(0x149)]);continue;}break;}}catch(_0x49c960){console[_0x18d80a(0x1b8)](_0x2c4d0d[_0x18d80a(0x1c3)](_0x2c4d0d[_0x18d80a(0x1f3)],_0x49c960));}return _0x2619e3;},addReporter=()=>{const _0x47d5f8=a54_0x462b52,_0x2c2d62={};_0x2c2d62['hSzCf']=_0x47d5f8(0x12e),_0x2c2d62['RSLQm']=_0x47d5f8(0x1d7),_0x2c2d62[_0x47d5f8(0x1cd)]=function(_0x5dede9,_0x36cacb){return _0x5dede9===_0x36cacb;},_0x2c2d62['DtShe']=_0x47d5f8(0x13d),_0x2c2d62[_0x47d5f8(0x156)]=function(_0x300960,_0x2066bc){return _0x300960===_0x2066bc;},_0x2c2d62[_0x47d5f8(0x17d)]=_0x47d5f8(0x12b);const _0xf7a1b8=_0x2c2d62,_0x2a45dd=path[_0x47d5f8(0x1c1)](__dirname,_0xf7a1b8['hSzCf']),_0xa9b50a=[_0x2a45dd];if(helper[_0x47d5f8(0x18a)](config[_0xf7a1b8['RSLQm']]))config[_0xf7a1b8['RSLQm']]=[_0xa9b50a];else{if(_0xf7a1b8[_0x47d5f8(0x1cd)](typeof config[_0xf7a1b8[_0x47d5f8(0x165)]],_0xf7a1b8[_0x47d5f8(0x1e7)]))config[_0xf7a1b8['RSLQm']]=[[config[_0xf7a1b8['RSLQm']]],_0xa9b50a];else _0xf7a1b8['dRlaY'](typeof config[_0xf7a1b8[_0x47d5f8(0x165)]],_0xf7a1b8[_0x47d5f8(0x17d)])&&config[_0xf7a1b8[_0x47d5f8(0x165)]][_0x47d5f8(0x155)](_0xa9b50a);}},setGlobalSetup=_0x13eaff=>{const _0x3d813d=a54_0x462b52,_0x53148b={};_0x53148b['vQWOI']=_0x3d813d(0x144),_0x53148b[_0x3d813d(0x1f7)]='Can\x27t\x20get\x20user\x20defined\x20global\x20setup\x20file',_0x53148b[_0x3d813d(0x113)]=function(_0xa45fec,_0x2bda63){return _0xa45fec+_0x2bda63;},_0x53148b[_0x3d813d(0x148)]=_0x3d813d(0x1a6),_0x53148b[_0x3d813d(0x1ff)]='./globalSetup.js';const _0x2c7518=_0x53148b;if(!config)return;try{if(config[_0x3d813d(0x144)]){let _0x2137dc;const _0x1bb8ac=path[_0x3d813d(0x134)](_0x13eaff,config[_0x2c7518['vQWOI']]);if(_0x1bb8ac&&fs['existsSync'](_0x1bb8ac))_0x2137dc=_0x1bb8ac;else{const _0x4bddec={};_0x4bddec[_0x3d813d(0x1bd)]=[_0x13eaff],_0x2137dc=require[_0x3d813d(0x134)](config[_0x2c7518[_0x3d813d(0x1cc)]],_0x4bddec);}if(!_0x2137dc)throw new Error(_0x2c7518[_0x3d813d(0x1f7)]);process['env'][_0x3d813d(0x16d)]=_0x2137dc;}}catch(_0x2023e0){console['log'](_0x2c7518[_0x3d813d(0x113)](_0x2c7518[_0x3d813d(0x148)],_0x2023e0));}config[_0x3d813d(0x144)]=require[_0x3d813d(0x134)](_0x2c7518[_0x3d813d(0x1ff)]);},initO11yCrashReporter=(_0x21dd3f,_0xc276e)=>{const _0x533ecc=a54_0x462b52,_0x442ca2={'orCWx':function(_0x2e1a43,_0x5550da){return _0x2e1a43(_0x5550da);}},_0x36d1f6={'frameworkName':FRAMEWORKS[_0x533ecc(0x186)],'frameworkVersion':_0x442ca2['orCWx'](getFrameworkVersion,FRAMEWORKS[_0x533ecc(0x186)])};CrashReporter['initialize'](_0x36d1f6,_0x21dd3f,_0xc276e);},getCurrentModifiedConfig=async()=>{const _0x1b7edd=a54_0x462b52,_0x294bf9={'WwFla':_0x1b7edd(0x163),'qYwhZ':_0x1b7edd(0x142),'PamQc':'wsEndpoint','CVPCO':_0x1b7edd(0x18c),'beThN':_0x1b7edd(0x1ee),'gVqxQ':function(_0x4d0849,_0x24c7ea){return _0x4d0849(_0x24c7ea);},'jJCWn':function(_0x18c6f5){return _0x18c6f5();},'MTJAa':function(_0x515fa3){return _0x515fa3();},'VbCby':function(_0x129c4f,_0x149a34,_0x1dd23a){return _0x129c4f(_0x149a34,_0x1dd23a);},'wfpZl':function(_0x42af74,_0x38c4dd){return _0x42af74>_0x38c4dd;},'pYGPC':function(_0x73fb42){return _0x73fb42();}},_0x4809c0=process[_0x1b7edd(0x157)]['BROWSERSTACK_SETUP_CONFIG_PATH'],_0x2b57b8=process['env'][_0x1b7edd(0x1a1)];_0x4809c0&&(browserstackSetup[_0x294bf9[_0x1b7edd(0x1ce)]]=helper[_0x1b7edd(0x19f)](fs['readFileSync'](_0x4809c0,_0x294bf9['beThN']))),_0x294bf9['gVqxQ'](setGlobalSetup,_0x2b57b8),_0x294bf9[_0x1b7edd(0x1a7)](warnHtmlReporterAutoOpen),_0x294bf9[_0x1b7edd(0x195)](shouldProcessEventForTesthub)&&(_0x294bf9[_0x1b7edd(0x175)](addReporter,config),_0x294bf9[_0x1b7edd(0x10f)](initO11yCrashReporter,config,browserstackSetup[_0x1b7edd(0x18c)])),helper[_0x1b7edd(0x139)](helper[_0x1b7edd(0x170)]())&&helper[_0x1b7edd(0x1c5)](browserstackSetup[_0x1b7edd(0x18c)][_0x1b7edd(0x146)])&&_0x294bf9['wfpZl'](browserstackSetup['config'][_0x1b7edd(0x146)][_0x1b7edd(0x147)],0x0)?await _0x294bf9[_0x1b7edd(0x101)](handleAutomationTrue):Array[_0x1b7edd(0x1ef)](config[_0x1b7edd(0x178)])&&config[_0x1b7edd(0x178)][_0x1b7edd(0x164)](_0x2a6ba3=>{const _0x1628e6=_0x1b7edd,_0xa21ea9=helper['nestedKeyValue'](_0x2a6ba3,[_0x294bf9[_0x1628e6(0x1ac)],_0x294bf9['qYwhZ'],_0x294bf9[_0x1628e6(0x1ba)]]);_0xa21ea9&&(_0x2a6ba3[_0x1628e6(0x163)][_0x1628e6(0x142)]['wsEndpoint']=helper[_0x1628e6(0x17c)](null,null,FRAMEWORKS[_0x1628e6(0x186)][_0x1628e6(0x18e)](),null,null,_0xa21ea9));});},getUserPWConfig=async _0x3a2c29=>{const _0x59420d=a54_0x462b52,_0x5f38ef={'JiUoT':function(_0x19dcb4){return _0x19dcb4();},'Hrgvl':function(_0x37d8d3,_0x4fdd80){return _0x37d8d3(_0x4fdd80);},'aziVx':function(_0x32b226,_0x5f048d){return _0x32b226===_0x5f048d;},'FHliM':_0x59420d(0x12b),'utLJB':function(_0x5e219e,_0x46d856){return _0x5e219e in _0x46d856;},'sENgh':'default'},{requireOrImport:_0x1c8389}=helper[_0x59420d(0x11d)][_0x59420d(0x193)](null,_0x5f38ef[_0x59420d(0x1c9)](getTransformPath));let _0x1eb6ac=await _0x5f38ef['Hrgvl'](_0x1c8389,_0x3a2c29);return _0x1eb6ac&&_0x5f38ef[_0x59420d(0x1f0)](typeof _0x1eb6ac,_0x5f38ef['FHliM'])&&_0x5f38ef['utLJB'](_0x5f38ef['sENgh'],_0x1eb6ac)&&(_0x1eb6ac=_0x1eb6ac[_0x5f38ef[_0x59420d(0x192)]]),_0x1eb6ac;},modifyConfig=async()=>{const _0x42e223=a54_0x462b52,_0x1fcc4e={'UimNH':function(_0x5cdaf2,_0x9b7eb5){return _0x5cdaf2===_0x9b7eb5;},'zbKae':function(_0x132655,_0x4c5559){return _0x132655(_0x4c5559);},'sVcXF':function(_0x4ddd94){return _0x4ddd94();}};await BrowserstackCli[_0x42e223(0x11b)]()[_0x42e223(0x108)]();const _0x11828a=process[_0x42e223(0x157)]['USER_CONFIG_DETAILS_PATH'];return config=_0x1fcc4e[_0x42e223(0x116)](_0x11828a['length'],0x0)?{}:await _0x1fcc4e[_0x42e223(0x10c)](getUserPWConfig,_0x11828a),await _0x1fcc4e[_0x42e223(0x1b6)](getCurrentModifiedConfig),helper['writeTempPWConfig'](config),config;};module[a54_0x462b52(0x131)]=modifyConfig,module[a54_0x462b52(0x131)][a54_0x462b52(0x126)]=reorderTestsBySelection,module[a54_0x462b52(0x131)][a54_0x462b52(0x14e)]=requestsNativeWindowSizing,module[a54_0x462b52(0x131)]['applyNativeWindowSizing']=applyNativeWindowSizing;
@@ -1 +1 @@
1
- const a55_0x511b18=a55_0x5645;function a55_0x5645(_0x30b414,_0x3759ff){const _0x3abec2=a55_0x3abe();return a55_0x5645=function(_0x56455a,_0x472c0b){_0x56455a=_0x56455a-0x162;let _0x21431e=_0x3abec2[_0x56455a];return _0x21431e;},a55_0x5645(_0x30b414,_0x3759ff);}(function(_0x260a8f,_0x545a9a){const _0x7d85a1=a55_0x5645,_0x84ca7a=_0x260a8f();while(!![]){try{const _0x144ea8=-parseInt(_0x7d85a1(0x18d))/0x1*(-parseInt(_0x7d85a1(0x19a))/0x2)+-parseInt(_0x7d85a1(0x196))/0x3*(parseInt(_0x7d85a1(0x189))/0x4)+-parseInt(_0x7d85a1(0x1e2))/0x5+-parseInt(_0x7d85a1(0x16b))/0x6*(parseInt(_0x7d85a1(0x1c0))/0x7)+parseInt(_0x7d85a1(0x192))/0x8*(-parseInt(_0x7d85a1(0x1bd))/0x9)+parseInt(_0x7d85a1(0x1d6))/0xa+parseInt(_0x7d85a1(0x1e6))/0xb;if(_0x144ea8===_0x545a9a)break;else _0x84ca7a['push'](_0x84ca7a['shift']());}catch(_0x57fd64){_0x84ca7a['push'](_0x84ca7a['shift']());}}}(a55_0x3abe,0x6aede));const util=require(a55_0x511b18(0x1e8)),{winstonLogger:logger}=require(a55_0x511b18(0x1ba)),helper=require(a55_0x511b18(0x1bf)),{importFileFromPWCore,nestedKeyValue,isFalse,requirePWModule,getPlaywrightLibPath}=require(a55_0x511b18(0x1bf)),{o11yErrorHandler}=require(a55_0x511b18(0x19d)),AccessibilityHelper=require('./accessibility-helper'),PerformanceTester=require('../../helpers/performance/performance-tester'),{O11y_EVENTS:PerformanceO11yEvents}=require(a55_0x511b18(0x16d)),BrowserstackCLI=require(a55_0x511b18(0x1cd)),CustomTagManager=require(a55_0x511b18(0x171)),uploadAttachmentsManager=require(a55_0x511b18(0x1d2)),{performScanWithRetry}=require(a55_0x511b18(0x1a6)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),doo11ySync=PerformanceTester[a55_0x511b18(0x1ec)](PerformanceO11yEvents[a55_0x511b18(0x1c6)],o11yErrorHandler(async function doo11ySync(_0x5f4da9){const _0x820951=a55_0x511b18,_0x12c400={'bCONH':function(_0x12ad65,_0x2ea31d,_0x39f788){return _0x12ad65(_0x2ea31d,_0x39f788);},'AtNQj':_0x820951(0x1ee),'McQBc':_0x820951(0x184),'yNXiO':_0x820951(0x19c),'fPdiF':_0x820951(0x1d5)};if(_0x12c400[_0x820951(0x1eb)](nestedKeyValue,global,[_0x12c400['AtNQj'],_0x12c400['McQBc']]))return;await _0x5f4da9['evaluate'](_0x3a88a8=>{},'browserstack_executor:\x20'+JSON[_0x820951(0x18b)]({'action':_0x12c400[_0x820951(0x1ef)],'arguments':{'data':_0x820951(0x191)+Date[_0x820951(0x1ca)](),'level':_0x12c400[_0x820951(0x1c8)]}})),global['__workerDetails'][_0x820951(0x184)]=!![];},a55_0x511b18(0x1b8))),safeA11yDebug=_0x237cc5=>{const _0x12b1d6=a55_0x511b18,_0x6dc63f={};_0x6dc63f[_0x12b1d6(0x1a3)]=function(_0xa26d50,_0x1ab351){return _0xa26d50===_0x1ab351;},_0x6dc63f[_0x12b1d6(0x1e5)]=_0x12b1d6(0x1f3);const _0x187252=_0x6dc63f;try{logger&&_0x187252[_0x12b1d6(0x1a3)](typeof logger['debug'],_0x187252['XhShm'])&&logger[_0x12b1d6(0x1d5)](_0x237cc5);}catch(_0x3d2435){}};exports['mockContextNewPage']=_0x427b48=>{const _0x223cb9=a55_0x511b18,_0x5a55a0={'hivqn':function(_0x2e7278,_0x4aa470,_0x2040f0,_0x5b7a31,_0x262cd0,_0x50ec54){return _0x2e7278(_0x4aa470,_0x2040f0,_0x5b7a31,_0x262cd0,_0x50ec54);},'PRYzS':function(_0x44d298,_0x284053){return _0x44d298||_0x284053;},'Gkdla':function(_0x12f49a,_0x404da6,_0x30952b){return _0x12f49a(_0x404da6,_0x30952b);},'JsqSv':_0x223cb9(0x1ee),'lZizZ':function(_0x2f70e1,_0x4365ea){return _0x2f70e1!==_0x4365ea;},'pVmww':function(_0x2f20a2,_0x8df67f){return _0x2f20a2===_0x8df67f;},'KHlho':_0x223cb9(0x1f3),'cuTSz':function(_0x58b856,_0x290ee6){return _0x58b856(_0x290ee6);},'RujHU':'a\x20live\x20page\x20in\x20the\x20same\x20context','MlcvK':_0x223cb9(0x1c3),'AGkJf':function(_0x2fb742,_0x193579){return _0x2fb742(_0x193579);},'RdgfP':function(_0x54bff7,_0x11b318){return _0x54bff7(_0x11b318);},'XfAvb':_0x223cb9(0x1a8),'BtuKg':function(_0x55ef47,_0x19d123){return _0x55ef47===_0x19d123;},'uxKQd':function(_0x2dbc31,_0x16daec){return _0x2dbc31||_0x16daec;},'JKGnf':function(_0x110bc0,_0x420244){return _0x110bc0(_0x420244);},'Hxfbm':'close','QcQXK':function(_0x5b3079,_0x543e7b){return _0x5b3079===_0x543e7b;},'esmTV':function(_0x5a6032,_0x4a2f22,_0x4e4d2c){return _0x5a6032(_0x4a2f22,_0x4e4d2c);},'AxVHF':_0x223cb9(0x1bc),'Ulxxy':_0x223cb9(0x199),'zvMaY':_0x223cb9(0x1f2),'HJOeM':_0x223cb9(0x1e0)},_0x46aaae=helper[_0x223cb9(0x1f1)](_0x427b48);if(!_0x46aaae){logger[_0x223cb9(0x1d5)](_0x5a55a0[_0x223cb9(0x183)]);return;}const _0xf81a0b=_0x46aaae['prototype'];if(_0xf81a0b['obsNewPageMockApplied'])return;const _0x26f890=_0xf81a0b[_0x223cb9(0x1e0)];Object[_0x223cb9(0x1c2)](_0xf81a0b,_0x5a55a0[_0x223cb9(0x1a7)],{'get':function(){const _0x29aa29=_0x223cb9,_0x33e1ff={'bMCHn':function(_0x180121,_0x3b7354){const _0x78f1ab=a55_0x5645;return _0x5a55a0[_0x78f1ab(0x1df)](_0x180121,_0x3b7354);},'SqGMR':_0x5a55a0[_0x29aa29(0x1da)]};return async function _0x22f268(){const _0x4210ed=_0x29aa29,_0x56dbdf={'LzLgR':function(_0x31e6bf,_0x1e1c1a,_0x19d6dc,_0x205cbc,_0x1869c2,_0x5aecec){const _0x8c3d6b=a55_0x5645;return _0x5a55a0[_0x8c3d6b(0x1a9)](_0x31e6bf,_0x1e1c1a,_0x19d6dc,_0x205cbc,_0x1869c2,_0x5aecec);},'tGrIh':function(_0x189958,_0x1b6187){const _0x3e830a=a55_0x5645;return _0x5a55a0[_0x3e830a(0x1f4)](_0x189958,_0x1b6187);},'uflKv':function(_0x3860c6,_0x4eb8f8,_0x16bed1){return _0x5a55a0['Gkdla'](_0x3860c6,_0x4eb8f8,_0x16bed1);},'UbwHG':_0x5a55a0[_0x4210ed(0x1b4)],'ErqRf':function(_0x2536f4,_0x1a702b){const _0x5205b2=_0x4210ed;return _0x5a55a0[_0x5205b2(0x1de)](_0x2536f4,_0x1a702b);},'OqUFI':function(_0x1bc04e,_0x43475b){const _0x23c3ef=_0x4210ed;return _0x5a55a0[_0x23c3ef(0x1ac)](_0x1bc04e,_0x43475b);},'lcSMl':_0x5a55a0['KHlho'],'TehbG':function(_0x2370f9,_0x3b5600){const _0x1770e5=_0x4210ed;return _0x5a55a0[_0x1770e5(0x1f4)](_0x2370f9,_0x3b5600);},'qVKGm':function(_0x51e437,_0x5b9c6a){const _0x32ebb5=_0x4210ed;return _0x5a55a0[_0x32ebb5(0x175)](_0x51e437,_0x5b9c6a);},'RIHZQ':_0x5a55a0[_0x4210ed(0x1e1)],'BBVyH':_0x5a55a0[_0x4210ed(0x1ad)],'Uvwta':function(_0x3c68ec,_0x205586){const _0x5949ba=_0x4210ed;return _0x5a55a0[_0x5949ba(0x175)](_0x3c68ec,_0x205586);}},_0x154824=await _0x26f890[_0x4210ed(0x188)](this,arguments);try{!BrowserstackCLI[_0x4210ed(0x1c9)]()[_0x4210ed(0x1c4)]()&&!_0x5a55a0[_0x4210ed(0x1be)](isFalse,process[_0x4210ed(0x167)][_0x4210ed(0x19f)])&&await _0x5a55a0[_0x4210ed(0x175)](doo11ySync,_0x154824);BrowserstackCLI[_0x4210ed(0x1c9)]()[_0x4210ed(0x1c4)]()&&(_0x154824[_0x4210ed(0x1f9)]=async(_0x3a2d80,_0x550176,_0x203d42=![])=>{await CustomTagManager['setCustomTags'](_0x3a2d80,_0x550176,_0x203d42);},_0x154824[_0x4210ed(0x187)]=async(_0x4099f0,_0x3854ce=![])=>{await uploadAttachmentsManager['uploadAttachments'](_0x4099f0,_0x3854ce);});if(!_0x5a55a0['RdgfP'](isFalse,process[_0x4210ed(0x167)][_0x4210ed(0x16e)])){const _0xfa1d9d=_0x5a55a0[_0x4210ed(0x16f)][_0x4210ed(0x17a)]('|');let _0x36d2c0=0x0;while(!![]){switch(_0xfa1d9d[_0x36d2c0++]){case'0':_0x154824['getAccessibilityResults']=async()=>{const _0xfc4b76=_0x4210ed;return await AccessibilityHelper[_0xfc4b76(0x1ea)](_0x154824);};continue;case'1':_0x154824[_0x4210ed(0x1f6)]=async _0x167801=>{const _0x6109ad=_0x4210ed;global[_0x6109ad(0x1f0)]=!![],global['bstackA11yScanOptions']=_0x56dbdf['tGrIh'](_0x167801,null);};continue;case'2':_0x154824[_0x4210ed(0x1c5)]=async()=>{const _0x533f18=_0x4210ed;global[_0x533f18(0x1f0)]=![],global[_0x533f18(0x176)]=null;};continue;case'3':_0x154824[_0x4210ed(0x178)]=async _0x1285b5=>{const _0x3f5f94=_0x4210ed;return await _0x56dbdf[_0x3f5f94(0x1e9)](performScanWithRetry,_0x154824,null,null,!![],_0x1285b5);};continue;case'4':_0x154824[_0x4210ed(0x190)]=async()=>{return await AccessibilityHelper['getAccessibilityResultsSummary'](_0x154824);};continue;}break;}}}catch(_0x110be6){logger[_0x4210ed(0x1d5)](_0x4210ed(0x16a)+util[_0x4210ed(0x18c)](_0x110be6));}if(_0x5a55a0[_0x4210ed(0x179)](nestedKeyValue,global,[_0x5a55a0[_0x4210ed(0x1b4)]])){const _0xdebddf=global[_0x4210ed(0x1ee)][_0x4210ed(0x1bc)],_0x4c861d=_0x5d8234=>{const _0x181289=_0x4210ed;try{return!!(_0x5d8234&&_0x33e1ff[_0x181289(0x165)](typeof _0x5d8234[_0x181289(0x1b1)],_0x33e1ff[_0x181289(0x17e)])&&_0x5d8234['context']()&&_0x5d8234[_0x181289(0x1b1)]()[_0x181289(0x180)]);}catch(_0x1d96e4){return![];}},_0x5415b3=_0xdebddf&&_0x5a55a0['BtuKg'](typeof _0xdebddf[_0x4210ed(0x19e)],_0x5a55a0[_0x4210ed(0x1da)])&&_0xdebddf[_0x4210ed(0x19e)]();(_0x5a55a0[_0x4210ed(0x17b)](!_0xdebddf,_0x5415b3)||_0x5a55a0[_0x4210ed(0x1be)](_0x4c861d,_0x154824)||!_0x5a55a0['JKGnf'](_0x4c861d,_0xdebddf))&&(global[_0x4210ed(0x1ee)][_0x4210ed(0x1bc)]=_0x154824);const _0x434940=this;try{_0x154824[_0x4210ed(0x198)](_0x5a55a0[_0x4210ed(0x18e)],()=>{const _0x4bd7cb=_0x4210ed;try{const _0x3106f4=_0x56dbdf[_0x4bd7cb(0x1b0)](nestedKeyValue,global,[_0x56dbdf['UbwHG']]);if(!_0x3106f4||_0x56dbdf[_0x4bd7cb(0x1d7)](_0x3106f4[_0x4bd7cb(0x1bc)],_0x154824))return;const _0x14c251=_0x434940&&_0x56dbdf[_0x4bd7cb(0x1a1)](typeof _0x434940['pages'],_0x56dbdf['lcSMl'])?_0x434940[_0x4bd7cb(0x195)]()||[]:[],_0xa22c79=_0x14c251[_0x4bd7cb(0x197)](_0x24f2ba=>_0x24f2ba!==_0x154824&&!_0x24f2ba[_0x4bd7cb(0x19e)]())['pop']();_0x3106f4[_0x4bd7cb(0x1bc)]=_0x56dbdf[_0x4bd7cb(0x1d9)](_0xa22c79,null),_0x56dbdf[_0x4bd7cb(0x166)](safeA11yDebug,_0x4bd7cb(0x17c)+(_0xa22c79?_0x56dbdf['RIHZQ']:_0x56dbdf[_0x4bd7cb(0x1d1)])+'.');}catch(_0x4524b2){_0x56dbdf['Uvwta'](safeA11yDebug,'[Accessibility]\x20Unable\x20to\x20repoint\x20a11y\x20page\x20handle\x20on\x20close:\x20'+util[_0x4bd7cb(0x18c)](_0x4524b2));}});}catch(_0x301949){logger[_0x4210ed(0x1d5)]('[Accessibility]\x20Unable\x20to\x20attach\x20close\x20listener\x20for\x20a11y\x20page\x20tracking:\x20'+util[_0x4210ed(0x18c)](_0x301949));}}try{_0x5a55a0[_0x4210ed(0x16c)](typeof global[_0x4210ed(0x1b6)],_0x5a55a0['KHlho'])&&_0x5a55a0[_0x4210ed(0x1ac)](_0x5a55a0[_0x4210ed(0x1a4)](nestedKeyValue,global,[_0x5a55a0[_0x4210ed(0x1b4)],_0x5a55a0[_0x4210ed(0x1af)]]),_0x154824)&&global[_0x4210ed(0x1b6)](_0x154824,_0x5a55a0[_0x4210ed(0x164)]);}catch(_0x188048){logger[_0x4210ed(0x1d5)](_0x4210ed(0x1ce)+util[_0x4210ed(0x18c)](_0x188048));}return _0x154824;};}}),_0xf81a0b[_0x223cb9(0x177)]=!![];},exports[a55_0x511b18(0x181)]=(_0x28e197,_0x322f5b={})=>{const _0x4013d3=a55_0x511b18,_0x7c7ac3={'KYQkX':function(_0x4e254a,_0x3137b5,_0x3d6a46){return _0x4e254a(_0x3137b5,_0x3d6a46);},'RmWsn':'__workerDetails','mmxcM':_0x4013d3(0x17d),'DEPhc':_0x4013d3(0x1f8),'mOEfA':_0x4013d3(0x18f),'QxkIL':function(_0x4e407e,_0x4b89c4){return _0x4e407e||_0x4b89c4;},'YsrSG':function(_0x2469a6,_0x491f03){return _0x2469a6>_0x491f03;},'dlhFY':function(_0xeff507,_0x3ba99f){return _0xeff507!==_0x3ba99f;},'WgKKo':function(_0x1b1e4d,_0x316e8b){return _0x1b1e4d===_0x316e8b;},'cwRFj':_0x4013d3(0x1f3),'eGTaN':_0x4013d3(0x1b1),'faADM':function(_0x32774b,_0x4c0ed9){return _0x32774b&&_0x4c0ed9;},'ezOMY':_0x4013d3(0x1ae),'kYGvp':_0x4013d3(0x168),'AxRCX':_0x4013d3(0x170),'jmkOc':_0x4013d3(0x1ed),'AVwXR':_0x4013d3(0x1fa)},_0x3cd782=helper[_0x4013d3(0x1b9)](_0x28e197);if(!_0x3cd782){logger[_0x4013d3(0x1d5)](_0x7c7ac3[_0x4013d3(0x1b3)]);return;}_0x28e197&&_0x322f5b[_0x4013d3(0x1a2)]&&(_0x28e197[_0x4013d3(0x1cc)]=_0x322f5b[_0x4013d3(0x1a2)]);const _0xd83fa3=_0x3cd782[_0x4013d3(0x1aa)];if(_0xd83fa3[_0x4013d3(0x1dc)])return;const _0x1f742d=_0xd83fa3['newContext'];Object['defineProperty'](_0xd83fa3,_0x7c7ac3['AVwXR'],{'get':function(){return async function _0x1f64a4(){const _0x3ae56f=a55_0x5645,_0x43cb81=_0x7c7ac3[_0x3ae56f(0x18a)](nestedKeyValue,global,[_0x7c7ac3[_0x3ae56f(0x1fb)]])||{},_0x57877=this['__bstackA11yDefaultContext'],_0x349757=_0x7c7ac3[_0x3ae56f(0x18a)](nestedKeyValue,_0x43cb81,[_0x7c7ac3[_0x3ae56f(0x1a5)],'id']),_0x17c89b=_0x7c7ac3[_0x3ae56f(0x18a)](nestedKeyValue,_0x43cb81,[_0x7c7ac3[_0x3ae56f(0x1a5)],_0x7c7ac3[_0x3ae56f(0x1d8)],_0x7c7ac3['mOEfA']]),_0x35a8a4=_0x349757?_0x349757+':'+_0x7c7ac3[_0x3ae56f(0x1b2)](_0x17c89b,0x0):null;let _0x1f1a5a=null;try{const _0x1d1812=_0x7c7ac3['YsrSG'](arguments['length'],0x0)?arguments[0x0]:null;_0x1f1a5a=_0x1d1812&&Object[_0x3ae56f(0x1f7)](_0x1d1812)[_0x3ae56f(0x1b7)](_0x2ee346=>_0x1d1812[_0x2ee346]!==undefined)?_0x1d1812:null;}catch(_0x475c1f){_0x1f1a5a=_0x7c7ac3[_0x3ae56f(0x1cf)](arguments[_0x3ae56f(0x1d4)],0x0)?arguments[0x0]:null;}const _0x32676d=global['accessibilityPlatform']&&!process[_0x3ae56f(0x167)]['BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE']&&!_0x43cb81[_0x3ae56f(0x17f)]&&!_0x43cb81[_0x3ae56f(0x1e4)]&&_0x57877&&_0x35a8a4&&!_0x1f1a5a&&_0x7c7ac3['dlhFY'](this[_0x3ae56f(0x162)],_0x35a8a4);if(_0x32676d)try{exports['mockContextNewPage'](_0x57877),this['__bstackA11yHandedOutForTestId']=_0x35a8a4;try{_0x7c7ac3[_0x3ae56f(0x169)](typeof global[_0x3ae56f(0x1b6)],_0x7c7ac3[_0x3ae56f(0x1e7)])&&global[_0x3ae56f(0x1b6)](_0x57877,_0x7c7ac3[_0x3ae56f(0x1f5)]);}catch(_0x4a36d8){logger[_0x3ae56f(0x1d5)](_0x3ae56f(0x1bb)+util['format'](_0x4a36d8));}return _0x57877;}catch(_0x15bd08){logger[_0x3ae56f(0x1d5)](_0x3ae56f(0x1c7)+util[_0x3ae56f(0x18c)](_0x15bd08));}const _0x250906=await _0x1f742d[_0x3ae56f(0x188)](this,arguments);if(_0x7c7ac3[_0x3ae56f(0x1d0)](!_0x32676d,_0x57877)&&global[_0x3ae56f(0x1dd)]){const _0x386dba=!_0x35a8a4?_0x7c7ac3[_0x3ae56f(0x1ab)]:_0x1f1a5a?_0x7c7ac3[_0x3ae56f(0x172)]:_0x7c7ac3[_0x3ae56f(0x193)];logger[_0x3ae56f(0x1d3)]('Accessibility\x20Automation:\x20this\x20context\x20is\x20not\x20bound\x20to\x20the\x20scanner\x20—\x20'+_0x386dba+_0x3ae56f(0x1c1));}try{exports['mockContextNewPage'](_0x250906);}catch(_0x43fe84){logger['debug']('Unable\x20to\x20apply\x20newPage\x20instrumentation\x20from\x20newContext:\x20'+util[_0x3ae56f(0x18c)](_0x43fe84));}try{global[_0x3ae56f(0x1dd)]&&_0x7c7ac3[_0x3ae56f(0x169)](typeof global[_0x3ae56f(0x1b6)],_0x7c7ac3[_0x3ae56f(0x1e7)])&&global[_0x3ae56f(0x1b6)](_0x250906,_0x7c7ac3['eGTaN']);}catch(_0x573f20){logger[_0x3ae56f(0x1d5)]('Unable\x20to\x20defer\x20self-managed\x20context\x20close:\x20'+util['format'](_0x573f20));}return _0x250906;};}}),_0xd83fa3[_0x4013d3(0x1dc)]=!![];},exports['mockIsWorkerRedundant']=()=>{const _0x18013d=a55_0x511b18,_0x3ff495={'fBRjH':function(_0x7af32d,_0x8ff6ab){return _0x7af32d>=_0x8ff6ab;},'DFCHD':_0x18013d(0x1cb),'vUNtc':'SDK-613\x20worker-restart\x20workaround\x20(mockIsWorkerRedundant)\x20unavailable\x20on\x20PW>=1.60:\x20Dispatcher\x20class\x20not\x20reachable\x20in\x20SDK\x20process','hUJIY':function(_0x34e725,_0x2d8a36){return _0x34e725(_0x2d8a36);},'SbzhI':_0x18013d(0x186),'MuWqT':'Unable\x20to\x20import\x20dispatcher\x20for\x20_isWorkerRedundant','lciOo':_0x18013d(0x185)};try{let _0x367966=![];try{const _0x590221=helper[_0x18013d(0x194)](FRAMEWORKS[_0x18013d(0x173)]);_0x367966=_0x3ff495['fBRjH'](helper['compareVersions'](_0x590221,_0x3ff495[_0x18013d(0x1b5)]),0x0);}catch(_0x234413){logger[_0x18013d(0x1d5)]('Error\x20evaluating\x20Playwright\x20version\x20for\x20mockIsWorkerRedundant:\x20'+util[_0x18013d(0x18c)](_0x234413));}if(_0x367966){logger['debug'](_0x3ff495[_0x18013d(0x1db)]);return;}const _0x282fff=requirePWModule['apply'](null,_0x3ff495[_0x18013d(0x182)](getPlaywrightLibPath,_0x3ff495[_0x18013d(0x19b)]));if(!_0x282fff){logger[_0x18013d(0x1d5)](_0x3ff495[_0x18013d(0x163)]);return;}const _0x5b230b=_0x282fff[_0x18013d(0x1a0)],_0x53eb87=_0x5b230b[_0x18013d(0x1aa)],_0x3f78c6=_0x53eb87['_isWorkerRedundant'];Object['defineProperty'](_0x53eb87,_0x3ff495[_0x18013d(0x1e3)],{'get':function(){return function _0x4f0109(){const _0x18ed3e=a55_0x5645;return _0x3f78c6[_0x18ed3e(0x188)](this,arguments),!![];};}});}catch(_0x528430){logger[_0x18013d(0x1d5)](_0x18013d(0x174)+util[_0x18013d(0x18c)](_0x528430));}};function a55_0x3abe(){const _0x47d094=['isAndroidDevice','__bstackA11yCloseProtected','mockBrowserNewContext','hUJIY','zvMaY','o11ySyncDone','_isWorkerRedundant','runner/dispatcher.js','uploadAttachment','apply','12JiJrur','KYQkX','stringify','format','2829BRYVjE','Hxfbm','retry','getAccessibilityResultsSummary','ObservabilitySync:','3564056AoHVRv','AxRCX','getFrameworkVersion','pages','229281TpXwrR','filter','once','page','140kurjpT','SbzhI','annotate','../../helpers/test-observability/error-handler','isClosed','BROWSERSTACK_TEST_OBSERVABILITY','Dispatcher','OqUFI','a11yDefaultContext','mczrN','esmTV','mmxcM','../../helpers/accessibility-automation/accessibilityRetryHelper','HJOeM','0|4|3|1|2','hivqn','prototype','ezOMY','pVmww','MlcvK','created\x20outside\x20a\x20test\x20(worker/beforeAll\x20scope)','AxVHF','uflKv','context','QxkIL','jmkOc','JsqSv','DFCHD','__bstackDeferA11yClose','some','doo11ySync','resolveBrowserClass','../../helpers/logger','Unable\x20to\x20defer\x20self-managed\x20context\x20close:\x20','pwPage','9lPpWsM','AGkJf','../../helpers/helper','6342lFyZJN',';\x20its\x20pages\x20will\x20not\x20be\x20scanned.','defineProperty','null','isRunning','stopA11yScanning','SYNC','Unable\x20to\x20hand\x20out\x20the\x20accessibility\x20context,\x20creating\x20a\x20regular\x20one:\x20','fPdiF','getInstance','now','1.60.0','__bstackA11yDefaultContext','../v2/browserstackCLI','Unable\x20to\x20defer\x20self-managed\x20page\x20close:\x20','YsrSG','faADM','BBVyH','../v2/uploadAttachmentsManager','warn','length','debug','4358570qEoRPz','ErqRf','DEPhc','TehbG','KHlho','vUNtc','obsNewContextMockApplied','accessibilityPlatform','lZizZ','BtuKg','newPage','RujHU','3142305XLDTmQ','lciOo','isIOSDevice','XhShm','19426066NEMUzr','cwRFj','util','LzLgR','getAccessibilityResults','bCONH','measureWrapper','Unable\x20to\x20resolve\x20Browser\x20class\x20for\x20newContext\x20instrumentation','__workerDetails','yNXiO','bstackA11yShouldScan','resolveBrowserContextClass','Unable\x20to\x20resolve\x20BrowserContext\x20class\x20for\x20newPage\x20instrumentation','function','PRYzS','eGTaN','startA11yScanning','keys','testInfo','setCustomTags','newContext','RmWsn','__bstackA11yHandedOutForTestId','MuWqT','Ulxxy','bMCHn','qVKGm','env','caller\x20passed\x20context\x20options\x20(honoured)','WgKKo','Error\x20during\x20syncing\x20o11y\x20with\x20automate\x20','4362LSydAb','QcQXK','../../helpers/performance/constants','BROWSERSTACK_TEST_ACCESSIBILITY_YML','XfAvb','scanner\x20context\x20already\x20handed\x20out\x20for\x20this\x20test','../v2/customTagManager','kYGvp','PLAYWRIGHT','Exception\x20while\x20mocking\x20IsWorkerRedundant:\x20','cuTSz','bstackA11yScanOptions','obsNewPageMockApplied','performScan','Gkdla','split','uxKQd','[Accessibility]\x20Tracked\x20page\x20closed;\x20a11y\x20page\x20handle\x20repointed\x20to\x20','currentTest','SqGMR'];a55_0x3abe=function(){return _0x47d094;};return a55_0x3abe();}
1
+ function a55_0x402d(){const _0x16f4c5=['getInstance','./accessibility-helper','annotate','Exception\x20while\x20mocking\x20IsWorkerRedundant:\x20','retry','function','208AyvlSg','bstackA11yScanOptions','a11yDefaultContext','171153FdNvEv','measureWrapper','YdhTV','stringify','[Accessibility]\x20Unable\x20to\x20repoint\x20a11y\x20page\x20handle\x20on\x20close:\x20','1268034UxloMi','_isWorkerRedundant','isAndroidDevice','BROWSERSTACK_TEST_ACCESSIBILITY_YML','YmIAu','kCjcn','65uzqGEH','testInfo','a\x20live\x20page\x20in\x20the\x20same\x20context','../../helpers/performance/performance-tester','Dispatcher','DKsSx','vvzQu','xTQJj','UkaJz','currentTest','o11ySyncDone','lAnjY','22979mhFlXF','FiXbu','__workerDetails','pkdQm','420rELZPb','6zKjyED','mockIsWorkerRedundant','LbFCF','NBkKD','uploadAttachments','length','voNUK','runner/dispatcher.js','866184DmsbVO','context','getAccessibilityResultsSummary','zebxz','keys','compareVersions','mockBrowserNewContext','format','PLAYWRIGHT','ZbvFH','scanner\x20context\x20already\x20handed\x20out\x20for\x20this\x20test','[Accessibility]\x20Unable\x20to\x20attach\x20close\x20listener\x20for\x20a11y\x20page\x20tracking:\x20','performScan','accessibilityPlatform','mockContextNewPage','GaYhB','browserstack_executor:\x20','OiXZa','Unable\x20to\x20apply\x20newPage\x20instrumentation\x20from\x20newContext:\x20','1|4|3|0|2','pwPage','LrgGf','__bstackDeferA11yClose','FZMPH','21728PdEITZ','../../helpers/performance/constants','pages','ObservabilitySync:','TJCOU','../v2/browserstackCLI','resolveBrowserContextClass','OPyMt','Unable\x20to\x20resolve\x20BrowserContext\x20class\x20for\x20newPage\x20instrumentation','../../helpers/logger','SYNC','startA11yScanning','bstackA11yShouldScan','dLtFm','apply','106846AVospK','debug','resolveBrowserClass','gxCwQ','vpsYj','NjSqD','Unable\x20to\x20import\x20dispatcher\x20for\x20_isWorkerRedundant','evaluate','__bstackA11yHandedOutForTestId','../../helpers/test-observability/error-handler','306pLOpYP','Unable\x20to\x20defer\x20self-managed\x20page\x20close:\x20','now','SDK-613\x20worker-restart\x20workaround\x20(mockIsWorkerRedundant)\x20unavailable\x20on\x20PW>=1.60:\x20Dispatcher\x20class\x20not\x20reachable\x20in\x20SDK\x20process','BzFLb','uploadAttachment','[Accessibility]\x20Tracked\x20page\x20closed;\x20a11y\x20page\x20handle\x20repointed\x20to\x20','IAvjt',';\x20its\x20pages\x20will\x20not\x20be\x20scanned.','obsNewContextMockApplied','Zsylk','rdXqR','SiEIt','Unable\x20to\x20hand\x20out\x20the\x20accessibility\x20context,\x20creating\x20a\x20regular\x20one:\x20','Accessibility\x20Automation:\x20this\x20context\x20is\x20not\x20bound\x20to\x20the\x20scanner\x20—\x20','newPage','__bstackA11yCloseProtected','fbFng','filter','BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE','stopA11yScanning','lwjzA','NAyhU','env','defineProperty','QAAtu','pop','../../helpers/helper','getAccessibilityResults','DevPn','xzKBP','2945dmykIE','isIOSDevice','AQeMC','isRunning','split','getFrameworkVersion','JVQJV','uglUc','Unable\x20to\x20resolve\x20Browser\x20class\x20for\x20newContext\x20instrumentation','Error\x20during\x20syncing\x20o11y\x20with\x20automate\x20','GMdde','dxPiQ','null','prototype','newContext','__bstackA11yDefaultContext','cbMrL','warn','dFyVd','page','Unable\x20to\x20defer\x20self-managed\x20context\x20close:\x20','../v2/uploadAttachmentsManager','setCustomTags','YXovF','once','isClosed','Jiifx','BROWSERSTACK_TEST_OBSERVABILITY','close','7ZnkmwH','QvBwH','obsNewPageMockApplied','yitQU'];a55_0x402d=function(){return _0x16f4c5;};return a55_0x402d();}const a55_0x4b6af1=a55_0x1748;(function(_0x47c448,_0x4668bf){const _0x4e1f74=a55_0x1748,_0x41c7d0=_0x47c448();while(!![]){try{const _0x5985f8=-parseInt(_0x4e1f74(0xea))/0x1+parseInt(_0x4e1f74(0xbb))/0x2*(parseInt(_0x4e1f74(0x13d))/0x3)+parseInt(_0x4e1f74(0x13a))/0x4*(parseInt(_0x4e1f74(0x113))/0x5)+parseInt(_0x4e1f74(0x142))/0x6*(parseInt(_0x4e1f74(0x130))/0x7)+-parseInt(_0x4e1f74(0xdb))/0x8*(-parseInt(_0x4e1f74(0xf4))/0x9)+parseInt(_0x4e1f74(0xba))/0xa*(parseInt(_0x4e1f74(0x154))/0xb)+-parseInt(_0x4e1f74(0xc3))/0xc*(parseInt(_0x4e1f74(0x148))/0xd);if(_0x5985f8===_0x4668bf)break;else _0x41c7d0['push'](_0x41c7d0['shift']());}catch(_0x370f12){_0x41c7d0['push'](_0x41c7d0['shift']());}}}(a55_0x402d,0x1ea06));const util=require('util'),{winstonLogger:logger}=require(a55_0x4b6af1(0xe4)),helper=require(a55_0x4b6af1(0x10f)),{importFileFromPWCore,nestedKeyValue,isFalse,requirePWModule,getPlaywrightLibPath}=require('../../helpers/helper'),{o11yErrorHandler}=require(a55_0x4b6af1(0xf3)),AccessibilityHelper=require(a55_0x4b6af1(0x135)),PerformanceTester=require(a55_0x4b6af1(0x14b)),{O11y_EVENTS:PerformanceO11yEvents}=require(a55_0x4b6af1(0xdc)),BrowserstackCLI=require(a55_0x4b6af1(0xe0)),CustomTagManager=require('../v2/customTagManager'),uploadAttachmentsManager=require(a55_0x4b6af1(0x128)),{performScanWithRetry}=require('../../helpers/accessibility-automation/accessibilityRetryHelper'),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),doo11ySync=PerformanceTester[a55_0x4b6af1(0x13e)](PerformanceO11yEvents[a55_0x4b6af1(0xe5)],o11yErrorHandler(async function doo11ySync(_0x3275e2){const _0x2b4a14=a55_0x4b6af1,_0x533463={'Zsylk':function(_0xf1a088,_0x14c906,_0x52a582){return _0xf1a088(_0x14c906,_0x52a582);},'OiXZa':'__workerDetails','NjSqD':_0x2b4a14(0x152),'xzKBP':_0x2b4a14(0x136),'fbFng':_0x2b4a14(0xeb)};if(_0x533463[_0x2b4a14(0xfe)](nestedKeyValue,global,[_0x533463[_0x2b4a14(0xd4)],_0x533463[_0x2b4a14(0xef)]]))return;await _0x3275e2[_0x2b4a14(0xf1)](_0x213a0f=>{},_0x2b4a14(0xd3)+JSON[_0x2b4a14(0x140)]({'action':_0x533463[_0x2b4a14(0x112)],'arguments':{'data':_0x2b4a14(0xde)+Date[_0x2b4a14(0xf6)](),'level':_0x533463[_0x2b4a14(0x105)]}})),global[_0x2b4a14(0xb8)][_0x2b4a14(0x152)]=!![];},'doo11ySync')),safeA11yDebug=_0x29876d=>{const _0x179f32=a55_0x4b6af1,_0x3b2190={};_0x3b2190[_0x179f32(0x12d)]=function(_0x5e5019,_0x4594ce){return _0x5e5019===_0x4594ce;},_0x3b2190['dxPiQ']='function';const _0x5364c8=_0x3b2190;try{logger&&_0x5364c8[_0x179f32(0x12d)](typeof logger[_0x179f32(0xeb)],_0x5364c8[_0x179f32(0x11e)])&&logger[_0x179f32(0xeb)](_0x29876d);}catch(_0x22c2ff){}};function a55_0x1748(_0x590050,_0x41b003){const _0x402d1e=a55_0x402d();return a55_0x1748=function(_0x1748a3,_0x4c88a2){_0x1748a3=_0x1748a3-0xb7;let _0x40e53d=_0x402d1e[_0x1748a3];return _0x40e53d;},a55_0x1748(_0x590050,_0x41b003);}exports[a55_0x4b6af1(0xd1)]=_0x504d4f=>{const _0x5b226c=a55_0x4b6af1,_0x404e44={'JVQJV':function(_0x405f71,_0x233800){return _0x405f71(_0x233800);},'wMJME':_0x5b226c(0xd6),'voNUK':function(_0x7b376c,_0x494f6b,_0x69fea4){return _0x7b376c(_0x494f6b,_0x69fea4);},'BzFLb':_0x5b226c(0xb8),'XJHcU':function(_0x598845,_0xaaa5bb){return _0x598845===_0xaaa5bb;},'NBkKD':_0x5b226c(0x139),'lwaKf':function(_0x79c657,_0x183229){return _0x79c657||_0x183229;},'qnRNs':_0x5b226c(0x12f),'yzgEw':function(_0x3e376c,_0x14e16e){return _0x3e376c===_0x14e16e;},'FwCSI':'pwPage','YdhTV':_0x5b226c(0x126),'TABhz':function(_0x19e80b,_0x15d3be,_0x15b5ad,_0x39b147,_0x24ded7,_0x2595b3){return _0x19e80b(_0x15d3be,_0x15b5ad,_0x39b147,_0x24ded7,_0x2595b3);},'IAvjt':function(_0x484075,_0x1d58a1){return _0x484075||_0x1d58a1;},'vukLU':function(_0x25d1bd,_0x1d1c39){return _0x25d1bd===_0x1d1c39;},'pkdQm':function(_0x5a16cf,_0x864bb){return _0x5a16cf!==_0x864bb;},'cbMrL':function(_0x457fb5,_0x4b2ed8){return _0x457fb5||_0x4b2ed8;},'bVRlH':function(_0xa2ea66,_0x3864fe){return _0xa2ea66(_0x3864fe);},'GMdde':_0x5b226c(0x14a),'GWDwb':_0x5b226c(0x11f),'zebxz':_0x5b226c(0xe3),'kCjcn':_0x5b226c(0x103)},_0x47294b=helper[_0x5b226c(0xe1)](_0x504d4f);if(!_0x47294b){logger[_0x5b226c(0xeb)](_0x404e44[_0x5b226c(0xc6)]);return;}const _0x5cea94=_0x47294b[_0x5b226c(0x120)];if(_0x5cea94[_0x5b226c(0x132)])return;const _0x25a5ae=_0x5cea94[_0x5b226c(0x103)];Object[_0x5b226c(0x10c)](_0x5cea94,_0x404e44[_0x5b226c(0x147)],{'get':function(){const _0x4255d2=_0x5b226c,_0x5686de={'bYRDf':function(_0x4ea6e2,_0x1dc55f,_0x22872f,_0x22dab8,_0x22a9fa,_0x2c8c23){return _0x404e44['TABhz'](_0x4ea6e2,_0x1dc55f,_0x22872f,_0x22dab8,_0x22a9fa,_0x2c8c23);},'dFyVd':function(_0x3d676a,_0x383ce5){const _0x3d3545=a55_0x1748;return _0x404e44[_0x3d3545(0xfb)](_0x3d676a,_0x383ce5);},'QAAtu':function(_0x4898b3,_0x5c0fe9){return _0x404e44['vukLU'](_0x4898b3,_0x5c0fe9);},'FZMPH':_0x404e44[_0x4255d2(0xbe)],'YXovF':function(_0x94f9f8,_0x27b503,_0x278a3b){const _0x41bb93=_0x4255d2;return _0x404e44[_0x41bb93(0xc1)](_0x94f9f8,_0x27b503,_0x278a3b);},'gxCwQ':_0x404e44[_0x4255d2(0xf8)],'LbFCF':function(_0x38e0fe,_0x56b89f){const _0x1e56bc=_0x4255d2;return _0x404e44[_0x1e56bc(0xb9)](_0x38e0fe,_0x56b89f);},'UkaJz':function(_0x8a3fc3,_0x5d8656){const _0x5cc597=_0x4255d2;return _0x404e44[_0x5cc597(0x123)](_0x8a3fc3,_0x5d8656);},'DKsSx':function(_0x3d4e7d,_0x5a526f){return _0x404e44['bVRlH'](_0x3d4e7d,_0x5a526f);},'zopLL':_0x404e44[_0x4255d2(0x11d)],'uglUc':_0x404e44['GWDwb']};return async function _0x49e20d(){const _0x3dfeb3=_0x4255d2,_0x4b61f2=await _0x25a5ae[_0x3dfeb3(0xe9)](this,arguments);try{!BrowserstackCLI[_0x3dfeb3(0x134)]()[_0x3dfeb3(0x116)]()&&!_0x404e44[_0x3dfeb3(0x119)](isFalse,process[_0x3dfeb3(0x10b)][_0x3dfeb3(0x12e)])&&await _0x404e44[_0x3dfeb3(0x119)](doo11ySync,_0x4b61f2);BrowserstackCLI[_0x3dfeb3(0x134)]()[_0x3dfeb3(0x116)]()&&(_0x4b61f2['setCustomTags']=async(_0x216059,_0x104ad2,_0x2c7394=![])=>{const _0x570263=_0x3dfeb3;await CustomTagManager[_0x570263(0x129)](_0x216059,_0x104ad2,_0x2c7394);},_0x4b61f2[_0x3dfeb3(0xf9)]=async(_0x30338d,_0x2ec924=![])=>{const _0x20efaf=_0x3dfeb3;await uploadAttachmentsManager[_0x20efaf(0xbf)](_0x30338d,_0x2ec924);});if(!_0x404e44['JVQJV'](isFalse,process[_0x3dfeb3(0x10b)][_0x3dfeb3(0x145)])){const _0x279ef9=_0x404e44['wMJME'][_0x3dfeb3(0x117)]('|');let _0x2a5bbe=0x0;while(!![]){switch(_0x279ef9[_0x2a5bbe++]){case'0':_0x4b61f2[_0x3dfeb3(0xe6)]=async _0x57c17f=>{const _0x335dd6=_0x3dfeb3;global['bstackA11yShouldScan']=!![],global['bstackA11yScanOptions']=_0x5686de[_0x335dd6(0x125)](_0x57c17f,null);};continue;case'1':_0x4b61f2[_0x3dfeb3(0x110)]=async()=>{return await AccessibilityHelper['getAccessibilityResults'](_0x4b61f2);};continue;case'2':_0x4b61f2[_0x3dfeb3(0x108)]=async()=>{const _0x247637=_0x3dfeb3;global[_0x247637(0xe7)]=![],global[_0x247637(0x13b)]=null;};continue;case'3':_0x4b61f2[_0x3dfeb3(0xcf)]=async _0x2f92b7=>{return await _0x5686de['bYRDf'](performScanWithRetry,_0x4b61f2,null,null,!![],_0x2f92b7);};continue;case'4':_0x4b61f2[_0x3dfeb3(0xc5)]=async()=>{const _0x26a092=_0x3dfeb3;return await AccessibilityHelper[_0x26a092(0xc5)](_0x4b61f2);};continue;}break;}}}catch(_0x3d1b9b){logger[_0x3dfeb3(0xeb)](_0x3dfeb3(0x11c)+util[_0x3dfeb3(0xca)](_0x3d1b9b));}if(_0x404e44[_0x3dfeb3(0xc1)](nestedKeyValue,global,[_0x404e44[_0x3dfeb3(0xf8)]])){const _0x164dba=global[_0x3dfeb3(0xb8)][_0x3dfeb3(0xd7)],_0x236774=_0x116d8a=>{const _0x5ac24e=_0x3dfeb3;try{return!!(_0x116d8a&&_0x5686de[_0x5ac24e(0x10d)](typeof _0x116d8a['context'],_0x5686de[_0x5ac24e(0xda)])&&_0x116d8a[_0x5ac24e(0xc4)]()&&_0x116d8a[_0x5ac24e(0xc4)]()[_0x5ac24e(0x104)]);}catch(_0x305270){return![];}},_0x54c91a=_0x164dba&&_0x404e44['XJHcU'](typeof _0x164dba[_0x3dfeb3(0x12c)],_0x404e44['NBkKD'])&&_0x164dba[_0x3dfeb3(0x12c)]();(_0x404e44['lwaKf'](!_0x164dba,_0x54c91a)||_0x404e44[_0x3dfeb3(0x119)](_0x236774,_0x4b61f2)||!_0x404e44[_0x3dfeb3(0x119)](_0x236774,_0x164dba))&&(global[_0x3dfeb3(0xb8)][_0x3dfeb3(0xd7)]=_0x4b61f2);const _0x95d5dd=this;try{_0x4b61f2[_0x3dfeb3(0x12b)](_0x404e44['qnRNs'],()=>{const _0x4edc58=_0x3dfeb3;try{const _0x3c3773=_0x5686de[_0x4edc58(0x12a)](nestedKeyValue,global,[_0x5686de[_0x4edc58(0xed)]]);if(!_0x3c3773||_0x5686de[_0x4edc58(0xbd)](_0x3c3773['pwPage'],_0x4b61f2))return;const _0x13c698=_0x95d5dd&&_0x5686de[_0x4edc58(0x10d)](typeof _0x95d5dd[_0x4edc58(0xdd)],_0x5686de[_0x4edc58(0xda)])?_0x95d5dd['pages']()||[]:[],_0x24da57=_0x13c698[_0x4edc58(0x106)](_0x29a657=>_0x29a657!==_0x4b61f2&&!_0x29a657[_0x4edc58(0x12c)]())[_0x4edc58(0x10e)]();_0x3c3773[_0x4edc58(0xd7)]=_0x5686de[_0x4edc58(0x150)](_0x24da57,null),_0x5686de[_0x4edc58(0x14d)](safeA11yDebug,_0x4edc58(0xfa)+(_0x24da57?_0x5686de['zopLL']:_0x5686de[_0x4edc58(0x11a)])+'.');}catch(_0x533d89){_0x5686de[_0x4edc58(0x14d)](safeA11yDebug,_0x4edc58(0x141)+util[_0x4edc58(0xca)](_0x533d89));}});}catch(_0x1ff655){logger['debug'](_0x3dfeb3(0xce)+util[_0x3dfeb3(0xca)](_0x1ff655));}}try{_0x404e44['XJHcU'](typeof global[_0x3dfeb3(0xd9)],_0x404e44['NBkKD'])&&_0x404e44['yzgEw'](_0x404e44[_0x3dfeb3(0xc1)](nestedKeyValue,global,[_0x404e44['BzFLb'],_0x404e44['FwCSI']]),_0x4b61f2)&&global[_0x3dfeb3(0xd9)](_0x4b61f2,_0x404e44[_0x3dfeb3(0x13f)]);}catch(_0x82eece){logger[_0x3dfeb3(0xeb)](_0x3dfeb3(0xf5)+util[_0x3dfeb3(0xca)](_0x82eece));}return _0x4b61f2;};}}),_0x5cea94[_0x5b226c(0x132)]=!![];},exports[a55_0x4b6af1(0xc9)]=(_0xc4bbe0,_0x1e80a5={})=>{const _0x3df2e4=a55_0x4b6af1,_0x29e113={'yitQU':function(_0x200dbb,_0x186e4a,_0x1e8335){return _0x200dbb(_0x186e4a,_0x1e8335);},'DevPn':_0x3df2e4(0xb8),'Yjuar':function(_0xb228b6,_0x271a98,_0x1174ad){return _0xb228b6(_0x271a98,_0x1174ad);},'lwjzA':_0x3df2e4(0x151),'FiXbu':function(_0x5f036c,_0x484175,_0x1bd405){return _0x5f036c(_0x484175,_0x1bd405);},'mXaUC':_0x3df2e4(0x149),'vpsYj':_0x3df2e4(0x138),'LrgGf':function(_0x4fce81,_0x4b86c8){return _0x4fce81||_0x4b86c8;},'rdXqR':function(_0x2a6447,_0x3efbca){return _0x2a6447>_0x3efbca;},'TJCOU':function(_0x5ed914,_0x3ecce9){return _0x5ed914>_0x3ecce9;},'YmIAu':function(_0x3b9e7d,_0x37ac9b){return _0x3b9e7d!==_0x37ac9b;},'OPyMt':function(_0x8d97eb,_0x5e1b26){return _0x8d97eb===_0x5e1b26;},'GaYhB':_0x3df2e4(0x139),'NAyhU':_0x3df2e4(0xc4),'RbVxQ':function(_0xbed19d,_0x28b569){return _0xbed19d&&_0x28b569;},'QvBwH':'created\x20outside\x20a\x20test\x20(worker/beforeAll\x20scope)','TjnDY':'caller\x20passed\x20context\x20options\x20(honoured)','oFiQr':_0x3df2e4(0xcd),'xTQJj':_0x3df2e4(0x11b),'AQeMC':_0x3df2e4(0x121)},_0x4e770d=helper[_0x3df2e4(0xec)](_0xc4bbe0);if(!_0x4e770d){logger[_0x3df2e4(0xeb)](_0x29e113[_0x3df2e4(0x14f)]);return;}_0xc4bbe0&&_0x1e80a5[_0x3df2e4(0x13c)]&&(_0xc4bbe0[_0x3df2e4(0x122)]=_0x1e80a5['a11yDefaultContext']);const _0x29a709=_0x4e770d[_0x3df2e4(0x120)];if(_0x29a709[_0x3df2e4(0xfd)])return;const _0x3dea5a=_0x29a709[_0x3df2e4(0x121)];Object[_0x3df2e4(0x10c)](_0x29a709,_0x29e113[_0x3df2e4(0x115)],{'get':function(){return async function _0x1957d8(){const _0x42151d=a55_0x1748,_0x140d68=_0x29e113[_0x42151d(0x133)](nestedKeyValue,global,[_0x29e113[_0x42151d(0x111)]])||{},_0x1669bb=this[_0x42151d(0x122)],_0x57bd16=_0x29e113['Yjuar'](nestedKeyValue,_0x140d68,[_0x29e113['lwjzA'],'id']),_0x42c830=_0x29e113[_0x42151d(0xb7)](nestedKeyValue,_0x140d68,[_0x29e113[_0x42151d(0x109)],_0x29e113['mXaUC'],_0x29e113[_0x42151d(0xee)]]),_0x7dfa59=_0x57bd16?_0x57bd16+':'+_0x29e113[_0x42151d(0xd8)](_0x42c830,0x0):null;let _0x13c819=null;try{const _0x4b4c97=_0x29e113[_0x42151d(0xff)](arguments[_0x42151d(0xc0)],0x0)?arguments[0x0]:null;_0x13c819=_0x4b4c97&&Object[_0x42151d(0xc7)](_0x4b4c97)['some'](_0x1ef36f=>_0x4b4c97[_0x1ef36f]!==undefined)?_0x4b4c97:null;}catch(_0x58b664){_0x13c819=_0x29e113[_0x42151d(0xdf)](arguments[_0x42151d(0xc0)],0x0)?arguments[0x0]:null;}const _0x494593=global['accessibilityPlatform']&&!process[_0x42151d(0x10b)][_0x42151d(0x107)]&&!_0x140d68[_0x42151d(0x144)]&&!_0x140d68[_0x42151d(0x114)]&&_0x1669bb&&_0x7dfa59&&!_0x13c819&&_0x29e113[_0x42151d(0x146)](this['__bstackA11yHandedOutForTestId'],_0x7dfa59);if(_0x494593)try{exports['mockContextNewPage'](_0x1669bb),this[_0x42151d(0xf2)]=_0x7dfa59;try{_0x29e113['OPyMt'](typeof global[_0x42151d(0xd9)],_0x29e113[_0x42151d(0xd2)])&&global[_0x42151d(0xd9)](_0x1669bb,_0x29e113[_0x42151d(0x10a)]);}catch(_0x62d4bd){logger[_0x42151d(0xeb)](_0x42151d(0x127)+util[_0x42151d(0xca)](_0x62d4bd));}return _0x1669bb;}catch(_0x3426e2){logger['debug'](_0x42151d(0x101)+util[_0x42151d(0xca)](_0x3426e2));}const _0x152019=await _0x3dea5a[_0x42151d(0xe9)](this,arguments);if(_0x29e113['RbVxQ'](!_0x494593,_0x1669bb)&&global[_0x42151d(0xd0)]){const _0x5ee503=!_0x7dfa59?_0x29e113[_0x42151d(0x131)]:_0x13c819?_0x29e113['TjnDY']:_0x29e113['oFiQr'];logger[_0x42151d(0x124)](_0x42151d(0x102)+_0x5ee503+_0x42151d(0xfc));}try{exports['mockContextNewPage'](_0x152019);}catch(_0x1b2b46){logger['debug'](_0x42151d(0xd5)+util['format'](_0x1b2b46));}try{global[_0x42151d(0xd0)]&&_0x29e113[_0x42151d(0xe2)](typeof global[_0x42151d(0xd9)],_0x29e113['GaYhB'])&&global[_0x42151d(0xd9)](_0x152019,_0x29e113['NAyhU']);}catch(_0x1a8aa5){logger[_0x42151d(0xeb)](_0x42151d(0x127)+util[_0x42151d(0xca)](_0x1a8aa5));}return _0x152019;};}}),_0x29a709[_0x3df2e4(0xfd)]=!![];},exports[a55_0x4b6af1(0xbc)]=()=>{const _0x1fbf05=a55_0x4b6af1,_0x4c4d59={'lAnjY':function(_0x347835,_0x7d82e7){return _0x347835>=_0x7d82e7;},'vvzQu':'1.60.0','ZbvFH':_0x1fbf05(0xf7),'ScpgU':function(_0x14b925,_0x16832b){return _0x14b925(_0x16832b);},'dLtFm':_0x1fbf05(0xc2),'MraAH':_0x1fbf05(0xf0),'SiEIt':_0x1fbf05(0x143)};try{let _0x234bc0=![];try{const _0x4f0875=helper[_0x1fbf05(0x118)](FRAMEWORKS[_0x1fbf05(0xcb)]);_0x234bc0=_0x4c4d59[_0x1fbf05(0x153)](helper[_0x1fbf05(0xc8)](_0x4f0875,_0x4c4d59[_0x1fbf05(0x14e)]),0x0);}catch(_0x4e89a6){logger[_0x1fbf05(0xeb)]('Error\x20evaluating\x20Playwright\x20version\x20for\x20mockIsWorkerRedundant:\x20'+util['format'](_0x4e89a6));}if(_0x234bc0){logger[_0x1fbf05(0xeb)](_0x4c4d59[_0x1fbf05(0xcc)]);return;}const _0x475c71=requirePWModule[_0x1fbf05(0xe9)](null,_0x4c4d59['ScpgU'](getPlaywrightLibPath,_0x4c4d59[_0x1fbf05(0xe8)]));if(!_0x475c71){logger[_0x1fbf05(0xeb)](_0x4c4d59['MraAH']);return;}const _0xe96532=_0x475c71[_0x1fbf05(0x14c)],_0x38cee8=_0xe96532[_0x1fbf05(0x120)],_0x108d10=_0x38cee8[_0x1fbf05(0x143)];Object[_0x1fbf05(0x10c)](_0x38cee8,_0x4c4d59[_0x1fbf05(0x100)],{'get':function(){return function _0x3572a2(){const _0x3ff143=a55_0x1748;return _0x108d10[_0x3ff143(0xe9)](this,arguments),!![];};}});}catch(_0x334b3d){logger['debug'](_0x1fbf05(0x137)+util['format'](_0x334b3d));}};
@@ -1 +1 @@
1
- const a56_0x30c549=a56_0x4b75;(function(_0x4ae369,_0x372fae){const _0x3d9bcd=a56_0x4b75,_0x309988=_0x4ae369();while(!![]){try{const _0x150f24=parseInt(_0x3d9bcd(0xf6))/0x1+parseInt(_0x3d9bcd(0xa3))/0x2*(parseInt(_0x3d9bcd(0xf8))/0x3)+parseInt(_0x3d9bcd(0xae))/0x4+-parseInt(_0x3d9bcd(0x9c))/0x5+parseInt(_0x3d9bcd(0xbe))/0x6*(parseInt(_0x3d9bcd(0x103))/0x7)+-parseInt(_0x3d9bcd(0x109))/0x8*(parseInt(_0x3d9bcd(0xd9))/0x9)+-parseInt(_0x3d9bcd(0xa9))/0xa;if(_0x150f24===_0x372fae)break;else _0x309988['push'](_0x309988['shift']());}catch(_0x3192f7){_0x309988['push'](_0x309988['shift']());}}}(a56_0x3576,0x3da2d));const {debug,getFrameworkVersion,removeAnsiColors,failureData}=require(a56_0x30c549(0x12c)),PerformanceTester=require(a56_0x30c549(0xa6)),fs=require('fs'),{FRAMEWORKS,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE}=require(a56_0x30c549(0x122)),helper=require(a56_0x30c549(0xf5)),path=require('path'),logger=require(a56_0x30c549(0x14d))[a56_0x30c549(0x10e)],SessionHandler=require('../../../helpers/test-observability/sessionHandler'),TestDetails=require(a56_0x30c549(0x142)),util=require(a56_0x30c549(0x125)),TestInfo=require(a56_0x30c549(0xe1));function a56_0x3576(){const _0x5e09bb=['message','.json','bDaoa','debug','error','onStepBegin','1881594zsAQRD','slice','setupBrowserDetails','FzqiN','getPlaywrightLibPath','process.js','hrKpD','performance-report-worker-','KVYrq','requestSpyCallback','lYbbQ','TEST_ATTACHMENT','Searching\x20for\x20key:\x20','aGjZH','test','runner/loadUtils.js','KMSVM','chwik','nmbSH','LlBdW','\x20in\x20attachments','xUAKp','GiqPs','ztnnw','sQlwy','nnlRb','xVbUv','747tMeUsW','Found\x20key:\x20','transform','validateFilePath','configLoader','PLAYWRIGHT','Percentage\x20of\x20increased\x20time\x20is\x20','playwright','../../v2/TestInfo','createReadStream','wiyjB','projectUtils','ThAra','getProjectUtilsPath','@playwright/test/lib/common/configLoader.js','@playwright/test/lib/common/transform.js','WINsf','ERROR','FlnRY','startsWith','join','JVuYa','getTransformPath','playwright/lib/transform/transform.js','getForkProcessPath','Total\x20time\x20taken\x20by\x20O11y\x20is\x20','OURpI','iKFvD','../../../helpers/helper','425893EvdEVf','tags','6ODzGJp','CEFyN','1.60.0','prototype','Vkyzf','includes','getTestIdentifier','Trace\x20enabled','ygPCQ','KxSNq','compareVersions','7jOTNLj','qBZSk','iHYPq','toLowerCase','fKFld','resolve','43496BBHMmk','Test\x20timeout\x20of','uelGr','mXTnp','worker','winstonLogger','START_TIME','format','getTime','endsWith','PheJl','playwright/lib/common/index.js','sUxjb','vvMuc','FZkpK','vWYAm','map','zmcss','\x20bytes','readdirSync','getLoadUtilsPath','KWQOm','CWYkk','attachments','onStepEnd','../../../helpers/test-observability/constants','basename','SVHPJ','util','sendTestLog','afterTestHook','workerProcessEntry.js','iDgVo','../../v2/browserstackCLI','trace','../../../helpers/test-observability/utils','uploadTraceZip','env','@playwright/test','Total\x20duration\x20for\x20whole\x20build\x20is\x20','KXvFE','xMsdJ','fRgKq','\x20in\x20arguments','sendTraceZip','addTraceFilePath','onTestBegin','aFeZb','EIALS','sendEventData','YDcjb','qkYgo','FimkW','Error\x20in\x20sending\x20trace\x20file:\x20%s','zzDRw','mNNNw','isRunning','./test-details','toString','rAquh','endSession','call','stack','vNIgX','EGYNE','calculateTimesFromMultipleFiles','lib','getTestTags','../../../helpers/logger','gcjKM','CzudP','1.38.0','KVTXu','EVZbB','Ygpwx','VytKI','oWUtY','substr','extname','1.42.0','HAgQO','filter','Lwtur','testUId','yOfHx','Trace\x20file\x20size\x20exceeds\x20100MB:\x20','playwright/lib/runner/index.js','620195ksAjBi','FJhaU','size','name','TEST_LOG','runner/projectUtils.js','lUsLR','448048NhZJfh','existsSync','gSZyT','../../../helpers/performance/performance-tester','ZvqQA','statSync','5774360jVhCho','Invalid\x20file\x20format.\x20Expected\x20a\x20.zip\x20file,\x20but\x20got:\x20','LogCreated','title','FlUdD','870668MHvrCJ','performance-reporter.html','filePath','Arguments','LDazc','getFailureData','OmhNQ','findNestedKey','length','PQfhH'];a56_0x3576=function(){return _0x5e09bb;};return a56_0x3576();}let BrowserstackCLIInstance=null;function getBrowserstackCLI(){const _0x4d707c=a56_0x30c549,_0x1244f9={'jggDA':function(_0xa7c963,_0x48bb89){return _0xa7c963(_0x48bb89);},'iDgVo':_0x4d707c(0x12a)};return!BrowserstackCLIInstance&&(BrowserstackCLIInstance=_0x1244f9['jggDA'](require,_0x1244f9[_0x4d707c(0x129)])),BrowserstackCLIInstance;}function a56_0x4b75(_0x1ee9d7,_0x52903e){const _0x3576fb=a56_0x3576();return a56_0x4b75=function(_0x4b7589,_0x29365b){_0x4b7589=_0x4b7589-0x93;let _0x312dba=_0x3576fb[_0x4b7589];return _0x312dba;},a56_0x4b75(_0x1ee9d7,_0x52903e);}const getTagsFromTitle=_0x465592=>{const _0x5e9174=a56_0x30c549;return _0x465592['match'](/@(\w+)/g)?.['map'](_0x3e6ed8=>_0x3e6ed8[_0x5e9174(0xbf)](0x1))||[];};exports[a56_0x30c549(0x14c)]=_0x1f18a2=>{const _0x5ead30=a56_0x30c549,_0xc1eb7c={'EIALS':function(_0x3642a1,_0x4a1efe){return _0x3642a1(_0x4a1efe);}};if(_0x1f18a2[_0x5ead30(0xf7)])return _0x1f18a2['tags'][_0x5ead30(0x119)](_0xc3d914=>_0xc3d914['startsWith']('@')?_0xc3d914[_0x5ead30(0x156)](0x1):_0xc3d914);return _0xc1eb7c[_0x5ead30(0x139)](getTagsFromTitle,_0x1f18a2[_0x5ead30(0xac)]);},exports['calculatePerformance']=async()=>{const _0x4dedf3=a56_0x30c549,_0x51fb96={'OmhNQ':function(_0x162eae,_0x41423d){return _0x162eae-_0x41423d;},'YDcjb':_0x4dedf3(0xaf),'AYPbq':'onBegin','RUEIS':_0x4dedf3(0x145),'jVsLb':_0x4dedf3(0x137),'tsYcC':'onTestEnd','GiqPs':_0x4dedf3(0xbd),'Vkyzf':_0x4dedf3(0x121),'lYbbQ':'beforeWorkerHook','xVbUv':'afterWorkerHook','PQfhH':'beforeTestHook','povmY':_0x4dedf3(0x127),'KWQOm':'doo11ySync','rAquh':'processPageScreenshot','JVuYa':'sendSessionDetails','KXvFE':_0x4dedf3(0xc0),'sgThC':_0x4dedf3(0xc7),'xgAce':_0x4dedf3(0x126),'KVTXu':function(_0x1e769b,_0x14268f){return _0x1e769b(_0x14268f);},'CzudP':function(_0x89b678,_0x51e351){return _0x89b678/_0x51e351;},'YoVlB':function(_0x401702,_0x567258){return _0x401702+_0x567258;},'aFeZb':function(_0x15622e,_0x21b8cd){return _0x15622e*_0x21b8cd;},'LNCla':function(_0x45e671,_0x32cad5){return _0x45e671+_0x32cad5;}};if(!process[_0x4dedf3(0x12e)]['START_TIME'])return;const _0x4fc5fb=_0x51fb96[_0x4dedf3(0xb4)](new Date()[_0x4dedf3(0x111)](),new Date(process['env'][_0x4dedf3(0x10f)])['getTime']()),_0x2cb53a=await PerformanceTester['stopAndGenerate'](_0x51fb96[_0x4dedf3(0x13b)],[_0x51fb96['AYPbq'],_0x51fb96['RUEIS'],_0x51fb96['jVsLb'],_0x51fb96['tsYcC'],_0x51fb96[_0x4dedf3(0xd4)],_0x51fb96[_0x4dedf3(0xfc)]]),_0x477381=fs[_0x4dedf3(0x11c)]('.'),_0x557fa1=_0x477381[_0x4dedf3(0x96)](_0x28b35d=>_0x28b35d[_0x4dedf3(0xec)](_0x4dedf3(0xc5))&&_0x28b35d[_0x4dedf3(0x112)](_0x4dedf3(0xb9))),_0x35e056=await PerformanceTester[_0x4dedf3(0x14a)](_0x557fa1,[_0x51fb96[_0x4dedf3(0xc8)],_0x51fb96[_0x4dedf3(0xd8)],_0x51fb96[_0x4dedf3(0xb7)],_0x51fb96['povmY'],_0x51fb96[_0x4dedf3(0x11e)],_0x51fb96[_0x4dedf3(0x144)],_0x51fb96[_0x4dedf3(0xee)],_0x51fb96[_0x4dedf3(0x131)],_0x51fb96['sgThC'],_0x51fb96['xgAce']]);_0x51fb96[_0x4dedf3(0x151)](debug,_0x4dedf3(0x130)+_0x51fb96['CzudP'](_0x4fc5fb,0x3e8)+'\x20s'),_0x51fb96[_0x4dedf3(0x151)](debug,_0x4dedf3(0xf2)+_0x51fb96['YoVlB'](_0x35e056,_0x2cb53a)),_0x51fb96[_0x4dedf3(0x151)](debug,_0x4dedf3(0xdf)+_0x51fb96[_0x4dedf3(0x138)](_0x51fb96[_0x4dedf3(0x14f)](_0x51fb96['LNCla'](_0x35e056,_0x2cb53a),_0x4fc5fb),0x64));},exports[a56_0x30c549(0xef)]=()=>{const _0x223b74=a56_0x30c549,_0x14829f={'EVZbB':function(_0x4ea052,_0x272b3a){return _0x4ea052(_0x272b3a);},'VytKI':function(_0x221177,_0x5c91d8){return _0x221177>=_0x5c91d8;},'yOfHx':_0x223b74(0xfa),'mXTnp':_0x223b74(0x114),'Ygpwx':_0x223b74(0xe0),'sQlwy':_0x223b74(0xdb),'ZkCLs':function(_0x50637b,_0x565f4d){return _0x50637b>=_0x565f4d;},'BWNbc':_0x223b74(0x150),'gSZyT':_0x223b74(0xf0),'xMsdJ':function(_0x16af4c,_0x5a06a7){return _0x16af4c>=_0x5a06a7;},'sUxjb':'1.35.0','EGYNE':'@playwright/test/lib/transform/transform.js','qBZSk':_0x223b74(0x12f),'FJhaU':_0x223b74(0xe8)},_0x4eb519=_0x14829f[_0x223b74(0x152)](getFrameworkVersion,FRAMEWORKS[_0x223b74(0xde)]);if(_0x14829f[_0x223b74(0x154)](helper[_0x223b74(0x102)](_0x4eb519,_0x14829f[_0x223b74(0x99)]),0x0))return[_0x14829f[_0x223b74(0x10c)],_0x14829f[_0x223b74(0x153)],_0x14829f[_0x223b74(0xd6)]];if(_0x14829f['ZkCLs'](helper[_0x223b74(0x102)](_0x4eb519,_0x14829f['BWNbc']),0x0))return[_0x14829f[_0x223b74(0xa5)],_0x14829f['Ygpwx']];if(_0x14829f[_0x223b74(0x132)](helper[_0x223b74(0x102)](_0x4eb519,_0x14829f[_0x223b74(0x115)]),0x0))return[_0x14829f[_0x223b74(0x149)],_0x14829f['qBZSk']];return[_0x14829f[_0x223b74(0x9d)],_0x14829f[_0x223b74(0x104)]];},exports['getConfigLoaderPath']=()=>{const _0x415400=a56_0x30c549,_0x52518e={'KVYrq':function(_0x2612d6,_0x46ab98){return _0x2612d6(_0x46ab98);},'uelGr':function(_0xbf4170,_0x3abc72){return _0xbf4170>=_0x3abc72;},'FlUdD':_0x415400(0xfa),'gcjKM':_0x415400(0x114),'nmbSH':'playwright','CxAtm':_0x415400(0xdd),'wHXSz':function(_0x27ab4f,_0x5512f0){return _0x27ab4f>=_0x5512f0;},'gqwhD':'1.38.0','vWYAm':'playwright/lib/common/configLoader.js','vNIgX':_0x415400(0xe7),'OURpI':'@playwright/test'},_0x2a89ae=_0x52518e[_0x415400(0xc6)](getFrameworkVersion,FRAMEWORKS[_0x415400(0xde)]);if(_0x52518e[_0x415400(0x10b)](helper[_0x415400(0x102)](_0x2a89ae,_0x52518e[_0x415400(0xad)]),0x0))return[_0x52518e[_0x415400(0x14e)],_0x52518e['nmbSH'],_0x52518e['CxAtm']];if(_0x52518e['wHXSz'](helper[_0x415400(0x102)](_0x2a89ae,_0x52518e['gqwhD']),0x0))return[_0x52518e[_0x415400(0x118)],_0x52518e[_0x415400(0xd0)]];return[_0x52518e[_0x415400(0x148)],_0x52518e[_0x415400(0xf3)]];},exports[a56_0x30c549(0x11d)]=()=>{const _0x16978e=a56_0x30c549,_0x4b09db={};_0x4b09db['qkYgo']=_0x16978e(0xcd);const _0x355d2d=_0x4b09db;return helper['getPlaywrightLibPath'](_0x355d2d[_0x16978e(0x13c)]);},exports[a56_0x30c549(0xe6)]=()=>{const _0x4a2310=a56_0x30c549,_0x5b79c1={'qocAq':function(_0x21890b,_0x2712a9){return _0x21890b(_0x2712a9);},'WINsf':function(_0xb73f72,_0x261327){return _0xb73f72>=_0x261327;},'TwjMp':_0x4a2310(0xfa),'YyXGo':_0x4a2310(0x9b),'FlnRY':_0x4a2310(0xe0),'iHYPq':_0x4a2310(0xe4),'lUsLR':_0x4a2310(0xa1)},_0x13c0df=_0x5b79c1['qocAq'](getFrameworkVersion,FRAMEWORKS[_0x4a2310(0xde)]);if(_0x5b79c1[_0x4a2310(0xe9)](helper[_0x4a2310(0x102)](_0x13c0df,_0x5b79c1['TwjMp']),0x0))return[_0x5b79c1['YyXGo'],_0x5b79c1[_0x4a2310(0xeb)],_0x5b79c1[_0x4a2310(0x105)]];return helper[_0x4a2310(0xc2)](_0x5b79c1[_0x4a2310(0xa2)]);},exports[a56_0x30c549(0xf1)]=()=>{const _0x57b126=a56_0x30c549,_0x8d6dfa={'iKFvD':function(_0x186c48,_0x194e19){return _0x186c48(_0x194e19);},'ZvqQA':function(_0x23dfc7,_0x242840){return _0x23dfc7>=_0x242840;},'KMSVM':_0x57b126(0xfa),'HAgQO':_0x57b126(0x14b),'ygPCQ':_0x57b126(0x10d),'KxSNq':_0x57b126(0x128),'vvMuc':_0x57b126(0x150),'Lwtur':'common','SVHPJ':_0x57b126(0xc3),'pKOXe':_0x57b126(0xcc)},_0x5bb1c7=_0x8d6dfa[_0x57b126(0xf4)](getFrameworkVersion,FRAMEWORKS[_0x57b126(0xde)]);if(_0x8d6dfa[_0x57b126(0xa7)](helper[_0x57b126(0x102)](_0x5bb1c7,_0x8d6dfa[_0x57b126(0xce)]),0x0))return path[_0x57b126(0xed)](_0x8d6dfa['HAgQO'],_0x8d6dfa[_0x57b126(0x100)],_0x8d6dfa[_0x57b126(0x101)]);if(_0x8d6dfa[_0x57b126(0xa7)](helper['compareVersions'](_0x5bb1c7,_0x8d6dfa[_0x57b126(0x116)]),0x0))return path[_0x57b126(0xed)](_0x8d6dfa[_0x57b126(0x95)],_0x8d6dfa[_0x57b126(0x97)],_0x8d6dfa[_0x57b126(0x124)]);return path[_0x57b126(0xed)](_0x8d6dfa['pKOXe'],_0x8d6dfa[_0x57b126(0x95)],_0x8d6dfa[_0x57b126(0x97)],_0x8d6dfa[_0x57b126(0x124)]);},exports[a56_0x30c549(0xb3)]=(_0xc902bf,{test_run_uuid:_0x2d0df9})=>{const _0x48b5e9=a56_0x30c549,_0x3f84f5={'oWUtY':_0x48b5e9(0xea),'wiyjB':_0x48b5e9(0xa0),'zzDRw':function(_0x2c9818,_0x461c8b){return _0x2c9818<=_0x461c8b;},'aGjZH':function(_0x26e0b7,_0x2533a1){return _0x26e0b7(_0x2533a1);},'PheJl':_0x48b5e9(0x10a),'hrKpD':function(_0x19439a,_0x51a574){return _0x19439a(_0x51a574);},'hOOAu':function(_0x3a070b,_0x59bd3b){return _0x3a070b>=_0x59bd3b;},'FimkW':_0x48b5e9(0x94),'Umyfh':function(_0x5ba559,_0x2bb8dd){return _0x5ba559>_0x2bb8dd;},'ztnnw':function(_0x4703a0,_0x2ab07e){return _0x4703a0(_0x2ab07e);},'nnlRb':function(_0x5bcf8d,_0x46a9c0,_0x464517){return _0x5bcf8d(_0x46a9c0,_0x464517);},'CWYkk':_0x48b5e9(0xcc)};if(!_0xc902bf||_0x3f84f5[_0x48b5e9(0x13f)](_0xc902bf[_0x48b5e9(0xb6)],0x0))return[];const _0xefd1ec=_0x3f84f5[_0x48b5e9(0xcb)](removeAnsiColors,_0xc902bf[0x0]['message']);if(_0xefd1ec['startsWith'](_0x3f84f5[_0x48b5e9(0x113)])){const _0xd8480=_0xc902bf[0x0],_0x4626e6=_0x3f84f5[_0x48b5e9(0xc4)](getFrameworkVersion,FRAMEWORKS[_0x48b5e9(0xde)]);if((!_0xd8480[_0x48b5e9(0x147)]||_0x3f84f5['hOOAu'](_0x4626e6,_0x3f84f5[_0x48b5e9(0x13d)]))&&_0x3f84f5['Umyfh'](_0xc902bf[_0x48b5e9(0xb6)],0x1))return{'failureData':[{'backtrace':[_0xefd1ec,_0x3f84f5[_0x48b5e9(0xd5)](removeAnsiColors,_0xc902bf[0x1][_0x48b5e9(0x147)])]}],'logs':_0xc902bf[_0x48b5e9(0xbf)](0x2)[_0x48b5e9(0x119)](_0x1bc788=>{const _0x2bd0c7=_0x48b5e9;return{'timestamp':new Date()['toISOString'](),'level':_0x3f84f5[_0x2bd0c7(0x155)],'message':''+_0x1bc788[_0x2bd0c7(0xb8)],'kind':_0x3f84f5[_0x2bd0c7(0xe3)],'http_response':{},'test_run_uuid':_0x2d0df9};})};}return{'failureData':_0x3f84f5[_0x48b5e9(0xd7)](failureData,_0xc902bf,_0x3f84f5[_0x48b5e9(0x11f)]),'logs':[]};},exports[a56_0x30c549(0xdc)]=_0xa304d9=>{const _0x4594e6=a56_0x30c549,_0x2ce00c={};_0x2ce00c['fKFld']=function(_0x285b0a,_0x342a61){return _0x285b0a!==_0x342a61;},_0x2ce00c['zmcss']='.zip',_0x2ce00c[_0x4594e6(0xc1)]=function(_0x41fd53,_0x57e693){return _0x41fd53>_0x57e693;};const _0x4f7217=_0x2ce00c;if(_0xa304d9&&fs[_0x4594e6(0xa4)](_0xa304d9)){if(_0x4f7217[_0x4594e6(0x107)](path[_0x4594e6(0x93)](_0xa304d9)[_0x4594e6(0x106)](),_0x4f7217[_0x4594e6(0x11a)]))return logger[_0x4594e6(0xbc)](_0x4594e6(0xaa)+_0xa304d9),![];const _0xa60e4e=fs[_0x4594e6(0xa8)](_0xa304d9)[_0x4594e6(0x9e)];if(_0x4f7217[_0x4594e6(0xc1)](_0xa60e4e,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE))return logger[_0x4594e6(0xbc)](_0x4594e6(0x9a)+_0xa60e4e+_0x4594e6(0x11b)),![];return!![];}return![];},exports[a56_0x30c549(0xb5)]=(_0x1fcde4,_0x322d05)=>{const _0xb71aae=a56_0x30c549,_0x443c67={};_0x443c67['xUAKp']=_0xb71aae(0xb1);const _0x5d71aa=_0x443c67;logger[_0xb71aae(0xbb)](_0xb71aae(0xca)+_0x322d05);if(_0x1fcde4&&_0x1fcde4[_0xb71aae(0x120)]){const _0x1600ec=_0x1fcde4[_0xb71aae(0x120)]['find'](_0x82cb99=>_0x82cb99[_0xb71aae(0x9f)]===_0xb71aae(0x12b));if(_0x1600ec)return logger['debug'](_0xb71aae(0xda)+_0x322d05+_0xb71aae(0xd2)),_0x1600ec[_0x322d05];}else{if(_0x1fcde4&&Object[_0xb71aae(0xfb)][_0xb71aae(0x143)][_0xb71aae(0x146)](_0x1fcde4)[_0xb71aae(0xfd)](_0x5d71aa[_0xb71aae(0xd3)]))for(const _0x1538b8 of _0x1fcde4){if(_0x1538b8[_0x322d05])return logger[_0xb71aae(0xbb)](_0xb71aae(0xda)+_0x322d05+_0xb71aae(0x134)),_0x1538b8[_0x322d05];}};return'';},exports[a56_0x30c549(0x12d)]=async(_0x54e936,_0x492bca)=>{const _0x3907c5=a56_0x30c549,_0xaf83a6={};_0xaf83a6[_0x3907c5(0xf9)]=_0x3907c5(0xab),_0xaf83a6['chwik']=_0x3907c5(0xc9),_0xaf83a6[_0x3907c5(0x133)]=_0x3907c5(0x135),_0xaf83a6['BPcuj']='Error\x20in\x20sending\x20trace\x20file:\x20%s';const _0x222b45=_0xaf83a6;try{const _0x2949cd={'event_type':_0x222b45[_0x3907c5(0xf9)],'logs':[{'data':_0x54e936?fs[_0x3907c5(0xe2)](_0x54e936):'','test_run_uuid':_0x492bca,'kind':_0x222b45[_0x3907c5(0xcf)],'fileName':_0x54e936?path[_0x3907c5(0x123)](_0x54e936):''}]};return await SessionHandler[_0x3907c5(0x13a)](_0x2949cd,0x0,_0x222b45[_0x3907c5(0x133)]);}catch(_0x588141){logger['error'](util[_0x3907c5(0x110)](_0x222b45['BPcuj'],_0x588141));}},exports[a56_0x30c549(0x135)]=async(_0xded41b,_0x3b3176)=>{const _0x2d610e=a56_0x30c549,_0x34f7b3={'ZUIxq':'path','mNNNw':_0x2d610e(0xff),'bDaoa':function(_0x159087){return _0x159087();},'FZkpK':_0x2d610e(0x13e)};try{logger['debug']('Checking\x20if\x20trace\x20is\x20enabled\x20for\x20test:\x20'+_0x3b3176);let _0x1ea899=await exports[_0x2d610e(0xb5)](_0xded41b,_0x34f7b3['ZUIxq']);if(exports['validateFilePath'](_0x1ea899)){logger['debug'](_0x34f7b3[_0x2d610e(0x140)]),_0x1ea899=path[_0x2d610e(0x108)](_0x1ea899);const _0x18e4ee={};_0x18e4ee[_0x2d610e(0x98)]=_0x3b3176,_0x18e4ee[_0x2d610e(0xb0)]=_0x1ea899;const _0x424718=_0x18e4ee;_0x34f7b3[_0x2d610e(0xba)](getBrowserstackCLI)['getInstance']()[_0x2d610e(0x141)]()?TestInfo[_0x2d610e(0x136)](_0x424718):TestDetails[_0x2d610e(0x136)](_0x424718);};}catch(_0x4512fd){logger[_0x2d610e(0xbc)](util[_0x2d610e(0x110)](_0x34f7b3[_0x2d610e(0x117)],_0x4512fd));}},exports[a56_0x30c549(0xfe)]=_0x28e238=>{const _0xb4b9ec=a56_0x30c549,_0x1da2a2={};_0x1da2a2[_0xb4b9ec(0xd1)]=function(_0x4e6c2a,_0x33ab31){return _0x4e6c2a+_0x33ab31;};const _0x5d6231=_0x1da2a2;return _0x5d6231[_0xb4b9ec(0xd1)](_0x5d6231[_0xb4b9ec(0xd1)](_0x28e238['_projectId'],'-'),_0x28e238['id']);},exports['getTestRunIdentifier']=(_0x1de790,_0x2f5343)=>{const _0x43eeee=a56_0x30c549,_0x3c2062={};_0x3c2062['ThAra']=function(_0x1b48c5,_0x5ae816){return _0x1b48c5+_0x5ae816;},_0x3c2062[_0x43eeee(0xb2)]=function(_0x132c48,_0x437465){return _0x132c48+_0x437465;};const _0x4f7d22=_0x3c2062;return _0x4f7d22[_0x43eeee(0xe5)](_0x4f7d22[_0x43eeee(0xb2)](_0x1de790['id'],'-'),_0x2f5343);};
1
+ function a56_0x51e2(_0x4622a9,_0x41f38b){const _0xb0daf5=a56_0xb0da();return a56_0x51e2=function(_0x51e223,_0x569ef8){_0x51e223=_0x51e223-0x194;let _0x126f7e=_0xb0daf5[_0x51e223];return _0x126f7e;},a56_0x51e2(_0x4622a9,_0x41f38b);}const a56_0x24b411=a56_0x51e2;function a56_0xb0da(){const _0x1f847d=['yNCLS','3kjerAt','toLowerCase','getTransformPath','doo11ySync','17759JYXdjA','getTestTags','lqhpb','toString','vifIT','projectUtils','1.35.0','toISOString','bBAUk','Total\x20time\x20taken\x20by\x20O11y\x20is\x20','getFailureData','wYfct','TOGDq','path','createReadStream','mPTAh','DXhao','slice','agVJv','call','transform','DIrqK','aeMhi','HrXKu','oGUYf','addTraceFilePath','onBegin','TuAJl','CKeUf','nVaBC','xynRh','Mhfyn','title','playwright','1.38.0','HTmoI','1.60.0','basename','Invalid\x20file\x20format.\x20Expected\x20a\x20.zip\x20file,\x20but\x20got:\x20','Error\x20in\x20sending\x20trace\x20file:\x20%s','rxiso','performance-report-worker-','@playwright/test/lib/common/configLoader.js','\x20bytes','FaWmN','FePqy','playwright/lib/common/index.js','substr','onTestBegin','89965ggvunx','EjzKR','QYpHt','getLoadUtilsPath','1685224dkPqKo','JQJOD','runner/loadUtils.js','XyByW','getConfigLoaderPath','\x20in\x20arguments','_projectId','TUcwC','zBycg','rpdat','getPlaywrightLibPath','Test\x20timeout\x20of','FGzVf','beforeTestHook','LfKmI','VaAEA','@playwright/test','debug','20rtoJPQ','CEwlo','uVEda','afterWorkerHook','playwright/lib/transform/transform.js','match','endsWith','VlUik','Percentage\x20of\x20increased\x20time\x20is\x20','tWoeh','resolve','VFUTL','attachments','error','readdirSync','length','TVKyu','ewxXk','AlteA','sendTraceZip','XQJdt','WoImj','vEmpy','Trace\x20enabled','rFgCP','tqXWw','kbDMv','onTestEnd','foLrh','LogCreated','ZNiaZ','playwright/lib/runner/index.js','../../../helpers/helper','vMEak','configLoader','trace','tags','gAenH','Checking\x20if\x20trace\x20is\x20enabled\x20for\x20test:\x20','bYGOb','tmZgU','../../../helpers/test-observability/utils','vrcEs','findNestedKey','extname','existsSync','@playwright/test/lib/transform/transform.js','stack','calculateTimesFromMultipleFiles','gncny','JvhRw','getTime','format','xBAon','174nFmOYZ','PLAYWRIGHT','beforeWorkerHook','CKJcV','test','qMGyT','TrNqN','NYMOS','BWziI','./test-details','yYUBN','statSync','UwfJb','stopAndGenerate','onStepBegin','common','isRunning','Found\x20key:\x20','message','name','map','../../../helpers/performance/performance-tester','filePath','afterTestHook','compareVersions','.json','hyicZ','VknhS','yJsCc','jWJtN','gpnzt','workerProcessEntry.js','skpsq','cWEiy','AufoR','uploadTraceZip','join','lib','uAPST','srlvR','worker','requestSpyCallback','217466HXuDmb','../../../helpers/logger','startsWith','processPageScreenshot','runner/projectUtils.js','getTestRunIdentifier','gmNex','validateFilePath','367568gwpheI','45387VgMOnu','NVbIB','76117ETBzSR'];a56_0xb0da=function(){return _0x1f847d;};return a56_0xb0da();}(function(_0x363d20,_0x2bbe2e){const _0x4b58df=a56_0x51e2,_0x1d8263=_0x363d20();while(!![]){try{const _0x3fce7c=-parseInt(_0x4b58df(0x1ca))/0x1+parseInt(_0x4b58df(0x1bf))/0x2+parseInt(_0x4b58df(0x1cc))/0x3*(-parseInt(_0x4b58df(0x1c7))/0x4)+-parseInt(_0x4b58df(0x201))/0x5+-parseInt(_0x4b58df(0x195))/0x6*(-parseInt(_0x4b58df(0x1d0))/0x7)+parseInt(_0x4b58df(0x205))/0x8+parseInt(_0x4b58df(0x1c8))/0x9*(parseInt(_0x4b58df(0x217))/0xa);if(_0x3fce7c===_0x2bbe2e)break;else _0x1d8263['push'](_0x1d8263['shift']());}catch(_0x3f668c){_0x1d8263['push'](_0x1d8263['shift']());}}}(a56_0xb0da,0x34fd3));const {debug,getFrameworkVersion,removeAnsiColors,failureData}=require(a56_0x24b411(0x240)),PerformanceTester=require(a56_0x24b411(0x1aa)),fs=require('fs'),{FRAMEWORKS,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE}=require('../../../helpers/test-observability/constants'),helper=require(a56_0x24b411(0x237)),path=require(a56_0x24b411(0x1dd)),logger=require(a56_0x24b411(0x1c0))['winstonLogger'],SessionHandler=require('../../../helpers/test-observability/sessionHandler'),TestDetails=require(a56_0x24b411(0x19e)),util=require('util'),TestInfo=require('../../v2/TestInfo');let BrowserstackCLIInstance=null;function getBrowserstackCLI(){const _0x13c1af=a56_0x24b411,_0x5c9cf1={'tmZgU':function(_0x2abe6b,_0x18cfbb){return _0x2abe6b(_0x18cfbb);},'IRpzt':'../../v2/browserstackCLI'};return!BrowserstackCLIInstance&&(BrowserstackCLIInstance=_0x5c9cf1[_0x13c1af(0x23f)](require,_0x5c9cf1['IRpzt'])),BrowserstackCLIInstance;}const getTagsFromTitle=_0x2ed4e7=>{const _0x4ece79=a56_0x24b411;return _0x2ed4e7[_0x4ece79(0x21c)](/@(\w+)/g)?.['map'](_0x3b03cb=>_0x3b03cb[_0x4ece79(0x1e1)](0x1))||[];};exports[a56_0x24b411(0x1d1)]=_0x4b5e32=>{const _0x3628be=a56_0x24b411,_0x28bb30={'opDsf':function(_0x4926ed,_0x180290){return _0x4926ed(_0x180290);}};if(_0x4b5e32['tags'])return _0x4b5e32[_0x3628be(0x23b)][_0x3628be(0x1a9)](_0xb2ba5a=>_0xb2ba5a[_0x3628be(0x1c1)]('@')?_0xb2ba5a[_0x3628be(0x1ff)](0x1):_0xb2ba5a);return _0x28bb30['opDsf'](getTagsFromTitle,_0x4b5e32[_0x3628be(0x1f0)]);},exports['calculatePerformance']=async()=>{const _0xcf0c75=a56_0x24b411,_0x544e41={'uAPST':function(_0x49157a,_0x1cf016){return _0x49157a-_0x1cf016;},'JQJOD':'performance-reporter.html','foLrh':_0xcf0c75(0x1ea),'FePqy':'endSession','HrXKu':_0xcf0c75(0x200),'ewxXk':_0xcf0c75(0x232),'uVEda':_0xcf0c75(0x1a3),'VaAEA':'onStepEnd','XaSUo':_0xcf0c75(0x197),'xBAon':_0xcf0c75(0x21a),'tWoeh':_0xcf0c75(0x212),'WoImj':_0xcf0c75(0x1ac),'aeMhi':_0xcf0c75(0x1cf),'LfKmI':_0xcf0c75(0x1c2),'XyByW':'sendSessionDetails','mkyYM':'setupBrowserDetails','qMGyT':_0xcf0c75(0x1be),'ZNiaZ':'sendTestLog','CKJcV':function(_0x5cc7bd,_0x314f10){return _0x5cc7bd(_0x314f10);},'rxiso':function(_0x3a209c,_0x7ce791){return _0x3a209c/_0x7ce791;},'hyicZ':function(_0x6399b3,_0x4f1d4c){return _0x6399b3(_0x4f1d4c);},'tqXWw':function(_0x54ccaa,_0x5625ef){return _0x54ccaa+_0x5625ef;},'VknhS':function(_0x1e2d4b,_0x6be782){return _0x1e2d4b*_0x6be782;}};if(!process['env']['START_TIME'])return;const _0x4f433c=_0x544e41[_0xcf0c75(0x1bb)](new Date()[_0xcf0c75(0x24a)](),new Date(process['env']['START_TIME'])[_0xcf0c75(0x24a)]()),_0x11e391=await PerformanceTester[_0xcf0c75(0x1a2)](_0x544e41[_0xcf0c75(0x206)],[_0x544e41[_0xcf0c75(0x233)],_0x544e41[_0xcf0c75(0x1fd)],_0x544e41[_0xcf0c75(0x1e7)],_0x544e41[_0xcf0c75(0x228)],_0x544e41[_0xcf0c75(0x219)],_0x544e41[_0xcf0c75(0x214)]]),_0x47e338=fs[_0xcf0c75(0x225)]('.'),_0x30ea9=_0x47e338['filter'](_0x443577=>_0x443577[_0xcf0c75(0x1c1)](_0xcf0c75(0x1f9))&&_0x443577[_0xcf0c75(0x21d)](_0xcf0c75(0x1ae))),_0x4c6092=await PerformanceTester[_0xcf0c75(0x247)](_0x30ea9,[_0x544e41['XaSUo'],_0x544e41[_0xcf0c75(0x194)],_0x544e41[_0xcf0c75(0x220)],_0x544e41[_0xcf0c75(0x22c)],_0x544e41[_0xcf0c75(0x1e6)],_0x544e41[_0xcf0c75(0x213)],_0x544e41[_0xcf0c75(0x208)],_0x544e41['mkyYM'],_0x544e41[_0xcf0c75(0x19a)],_0x544e41[_0xcf0c75(0x235)]]);_0x544e41[_0xcf0c75(0x198)](debug,'Total\x20duration\x20for\x20whole\x20build\x20is\x20'+_0x544e41['rxiso'](_0x4f433c,0x3e8)+'\x20s'),_0x544e41[_0xcf0c75(0x1af)](debug,_0xcf0c75(0x1d9)+_0x544e41[_0xcf0c75(0x230)](_0x4c6092,_0x11e391)),_0x544e41[_0xcf0c75(0x198)](debug,_0xcf0c75(0x21f)+_0x544e41[_0xcf0c75(0x1b0)](_0x544e41[_0xcf0c75(0x1f8)](_0x544e41[_0xcf0c75(0x230)](_0x4c6092,_0x11e391),_0x4f433c),0x64));},exports[a56_0x24b411(0x1ce)]=()=>{const _0xe40b65=a56_0x24b411,_0x22366d={'Mhfyn':function(_0x7392f9,_0x263e25){return _0x7392f9(_0x263e25);},'PJyCn':function(_0x4eb258,_0x4f8586){return _0x4eb258>=_0x4f8586;},'skpsq':_0xe40b65(0x1f4),'zBycg':'playwright/lib/common/index.js','yJsCc':_0xe40b65(0x1f1),'srlvR':_0xe40b65(0x1e4),'mPTAh':function(_0x4f7d00,_0x228e18){return _0x4f7d00>=_0x228e18;},'EjzKR':_0xe40b65(0x1f2),'TrNqN':_0xe40b65(0x21b),'rFgCP':function(_0x7e7323,_0x248ba3){return _0x7e7323>=_0x248ba3;},'fSRbT':_0xe40b65(0x1d6),'ZuPRz':_0xe40b65(0x245),'lqhpb':'@playwright/test','TVKyu':'@playwright/test/lib/common/transform.js'},_0x256d77=_0x22366d[_0xe40b65(0x1ef)](getFrameworkVersion,FRAMEWORKS[_0xe40b65(0x196)]);if(_0x22366d['PJyCn'](helper[_0xe40b65(0x1ad)](_0x256d77,_0x22366d[_0xe40b65(0x1b5)]),0x0))return[_0x22366d[_0xe40b65(0x20d)],_0x22366d[_0xe40b65(0x1b1)],_0x22366d[_0xe40b65(0x1bc)]];if(_0x22366d[_0xe40b65(0x1df)](helper['compareVersions'](_0x256d77,_0x22366d[_0xe40b65(0x202)]),0x0))return[_0x22366d[_0xe40b65(0x19b)],_0x22366d[_0xe40b65(0x1b1)]];if(_0x22366d[_0xe40b65(0x22f)](helper[_0xe40b65(0x1ad)](_0x256d77,_0x22366d['fSRbT']),0x0))return[_0x22366d['ZuPRz'],_0x22366d[_0xe40b65(0x1d2)]];return[_0x22366d[_0xe40b65(0x227)],_0x22366d[_0xe40b65(0x1d2)]];},exports[a56_0x24b411(0x209)]=()=>{const _0x2e6cef=a56_0x24b411,_0x3ec29a={'JjTJb':function(_0x14b819,_0x3ee70a){return _0x14b819(_0x3ee70a);},'rpdat':function(_0x208a49,_0x3f38be){return _0x208a49>=_0x3f38be;},'NeYoc':_0x2e6cef(0x1f4),'Uvhaj':_0x2e6cef(0x1fe),'agVJv':_0x2e6cef(0x1f1),'JvhRw':_0x2e6cef(0x239),'yNCLS':function(_0x3abc65,_0x5bac17){return _0x3abc65>=_0x5bac17;},'AzXmv':_0x2e6cef(0x1f2),'DXhao':'playwright/lib/common/configLoader.js','vEmpy':_0x2e6cef(0x1fa),'FaWmN':_0x2e6cef(0x215)},_0x394253=_0x3ec29a['JjTJb'](getFrameworkVersion,FRAMEWORKS[_0x2e6cef(0x196)]);if(_0x3ec29a[_0x2e6cef(0x20e)](helper[_0x2e6cef(0x1ad)](_0x394253,_0x3ec29a['NeYoc']),0x0))return[_0x3ec29a['Uvhaj'],_0x3ec29a[_0x2e6cef(0x1e2)],_0x3ec29a[_0x2e6cef(0x249)]];if(_0x3ec29a[_0x2e6cef(0x1cb)](helper[_0x2e6cef(0x1ad)](_0x394253,_0x3ec29a['AzXmv']),0x0))return[_0x3ec29a[_0x2e6cef(0x1e0)],_0x3ec29a[_0x2e6cef(0x1e2)]];return[_0x3ec29a[_0x2e6cef(0x22d)],_0x3ec29a[_0x2e6cef(0x1fc)]];},exports[a56_0x24b411(0x204)]=()=>{const _0x3816f1=a56_0x24b411,_0xad7e99={};_0xad7e99['AlteA']=_0x3816f1(0x207);const _0x265124=_0xad7e99;return helper[_0x3816f1(0x20f)](_0x265124[_0x3816f1(0x229)]);},exports['getProjectUtilsPath']=()=>{const _0x29f945=a56_0x24b411,_0x19a896={'ebZao':function(_0x52eef3,_0x5111ba){return _0x52eef3(_0x5111ba);},'TUcwC':function(_0x16bee6,_0x168a57){return _0x16bee6>=_0x168a57;},'yYUBN':'1.60.0','gmNex':_0x29f945(0x236),'CKeUf':'playwright','nVaBC':_0x29f945(0x1d5),'gpnzt':_0x29f945(0x1c3)},_0x785c80=_0x19a896['ebZao'](getFrameworkVersion,FRAMEWORKS[_0x29f945(0x196)]);if(_0x19a896[_0x29f945(0x20c)](helper[_0x29f945(0x1ad)](_0x785c80,_0x19a896[_0x29f945(0x19f)]),0x0))return[_0x19a896[_0x29f945(0x1c5)],_0x19a896[_0x29f945(0x1ec)],_0x19a896[_0x29f945(0x1ed)]];return helper[_0x29f945(0x20f)](_0x19a896[_0x29f945(0x1b3)]);},exports['getForkProcessPath']=()=>{const _0x3bf2d0=a56_0x24b411,_0x2c8e05={'FxUyi':function(_0x56a966,_0xcaaa8b){return _0x56a966(_0xcaaa8b);},'VFUTL':function(_0x132bec,_0x4d630a){return _0x132bec>=_0x4d630a;},'KZfSs':_0x3bf2d0(0x1f4),'jWJtN':_0x3bf2d0(0x1ba),'bBAUk':_0x3bf2d0(0x1bd),'FGzVf':_0x3bf2d0(0x1b4),'VVqSt':'1.38.0','CEwlo':_0x3bf2d0(0x1a4),'gAenH':'process.js','kbDMv':'test'},_0x204f4a=_0x2c8e05['FxUyi'](getFrameworkVersion,FRAMEWORKS[_0x3bf2d0(0x196)]);if(_0x2c8e05['VFUTL'](helper[_0x3bf2d0(0x1ad)](_0x204f4a,_0x2c8e05['KZfSs']),0x0))return path[_0x3bf2d0(0x1b9)](_0x2c8e05['jWJtN'],_0x2c8e05[_0x3bf2d0(0x1d8)],_0x2c8e05[_0x3bf2d0(0x211)]);if(_0x2c8e05[_0x3bf2d0(0x222)](helper[_0x3bf2d0(0x1ad)](_0x204f4a,_0x2c8e05['VVqSt']),0x0))return path['join'](_0x2c8e05[_0x3bf2d0(0x1b2)],_0x2c8e05[_0x3bf2d0(0x218)],_0x2c8e05[_0x3bf2d0(0x23c)]);return path[_0x3bf2d0(0x1b9)](_0x2c8e05[_0x3bf2d0(0x231)],_0x2c8e05[_0x3bf2d0(0x1b2)],_0x2c8e05[_0x3bf2d0(0x218)],_0x2c8e05[_0x3bf2d0(0x23c)]);},exports[a56_0x24b411(0x1da)]=(_0x369437,{test_run_uuid:_0x304e93})=>{const _0x340ef1=a56_0x24b411,_0x1ee643={'QYpHt':'ERROR','brNCY':'TEST_LOG','gncny':function(_0x4d0d20,_0x27e786){return _0x4d0d20<=_0x27e786;},'TOGDq':function(_0x123a8c,_0x562208){return _0x123a8c(_0x562208);},'TuAJl':_0x340ef1(0x210),'cWEiy':function(_0x2bfab5,_0x4508c5){return _0x2bfab5(_0x4508c5);},'vMEak':function(_0x4332e0,_0x50e571){return _0x4332e0>=_0x50e571;},'wYfct':'1.42.0','BDTzr':function(_0xc7e5d6,_0x3b7d1b){return _0xc7e5d6>_0x3b7d1b;},'HTmoI':function(_0x106aa0,_0x3faef6,_0x411745){return _0x106aa0(_0x3faef6,_0x411745);},'DyaYA':_0x340ef1(0x199)};if(!_0x369437||_0x1ee643[_0x340ef1(0x248)](_0x369437[_0x340ef1(0x226)],0x0))return[];const _0x2c8a92=_0x1ee643[_0x340ef1(0x1dc)](removeAnsiColors,_0x369437[0x0][_0x340ef1(0x1a7)]);if(_0x2c8a92[_0x340ef1(0x1c1)](_0x1ee643[_0x340ef1(0x1eb)])){const _0x45a146=_0x369437[0x0],_0x450b00=_0x1ee643[_0x340ef1(0x1b6)](getFrameworkVersion,FRAMEWORKS[_0x340ef1(0x196)]);if((!_0x45a146[_0x340ef1(0x246)]||_0x1ee643[_0x340ef1(0x238)](_0x450b00,_0x1ee643[_0x340ef1(0x1db)]))&&_0x1ee643['BDTzr'](_0x369437[_0x340ef1(0x226)],0x1))return{'failureData':[{'backtrace':[_0x2c8a92,_0x1ee643[_0x340ef1(0x1b6)](removeAnsiColors,_0x369437[0x1][_0x340ef1(0x246)])]}],'logs':_0x369437[_0x340ef1(0x1e1)](0x2)[_0x340ef1(0x1a9)](_0x236e56=>{const _0x22043c=_0x340ef1;return{'timestamp':new Date()[_0x22043c(0x1d7)](),'level':_0x1ee643[_0x22043c(0x203)],'message':''+_0x236e56['message'],'kind':_0x1ee643['brNCY'],'http_response':{},'test_run_uuid':_0x304e93};})};}return{'failureData':_0x1ee643[_0x340ef1(0x1f3)](failureData,_0x369437,_0x1ee643['DyaYA']),'logs':[]};},exports[a56_0x24b411(0x1c6)]=_0x2e1411=>{const _0x18a752=a56_0x24b411,_0x15e5f8={};_0x15e5f8[_0x18a752(0x1e8)]=function(_0x3bca6e,_0xf91f25){return _0x3bca6e!==_0xf91f25;},_0x15e5f8['ulHSp']='.zip',_0x15e5f8['BWziI']=function(_0xec0b25,_0x327fed){return _0xec0b25>_0x327fed;};const _0x3a6acf=_0x15e5f8;if(_0x2e1411&&fs[_0x18a752(0x244)](_0x2e1411)){if(_0x3a6acf[_0x18a752(0x1e8)](path[_0x18a752(0x243)](_0x2e1411)[_0x18a752(0x1cd)](),_0x3a6acf['ulHSp']))return logger[_0x18a752(0x224)](_0x18a752(0x1f6)+_0x2e1411),![];const _0x5469af=fs[_0x18a752(0x1a0)](_0x2e1411)['size'];if(_0x3a6acf[_0x18a752(0x19d)](_0x5469af,MAX_ALLOWED_PLAYWRIGHT_TRACE_SIZE))return logger['error']('Trace\x20file\x20size\x20exceeds\x20100MB:\x20'+_0x5469af+_0x18a752(0x1fb)),![];return!![];}return![];},exports[a56_0x24b411(0x242)]=(_0x2187f0,_0x116306)=>{const _0x4ff6a5=a56_0x24b411,_0x2a08df={};_0x2a08df[_0x4ff6a5(0x1ee)]='Arguments';const _0xeb93f1=_0x2a08df;logger['debug']('Searching\x20for\x20key:\x20'+_0x116306);if(_0x2187f0&&_0x2187f0['attachments']){const _0x492a5d=_0x2187f0[_0x4ff6a5(0x223)]['find'](_0x4d4934=>_0x4d4934[_0x4ff6a5(0x1a8)]===_0x4ff6a5(0x23a));if(_0x492a5d)return logger[_0x4ff6a5(0x216)](_0x4ff6a5(0x1a6)+_0x116306+'\x20in\x20attachments'),_0x492a5d[_0x116306];}else{if(_0x2187f0&&Object['prototype'][_0x4ff6a5(0x1d3)][_0x4ff6a5(0x1e3)](_0x2187f0)['includes'](_0xeb93f1['xynRh']))for(const _0x360ead of _0x2187f0){if(_0x360ead[_0x116306])return logger['debug'](_0x4ff6a5(0x1a6)+_0x116306+_0x4ff6a5(0x20a)),_0x360ead[_0x116306];}};return'';},exports[a56_0x24b411(0x1b8)]=async(_0x5d892e,_0x2349b5)=>{const _0x2edde8=a56_0x24b411,_0x18b4ec={};_0x18b4ec[_0x2edde8(0x1c9)]=_0x2edde8(0x234),_0x18b4ec['VlUik']='TEST_ATTACHMENT',_0x18b4ec[_0x2edde8(0x22b)]=_0x2edde8(0x22a),_0x18b4ec[_0x2edde8(0x1b7)]='Error\x20in\x20sending\x20trace\x20file:\x20%s';const _0x4e9e10=_0x18b4ec;try{const _0x55a471={'event_type':_0x4e9e10[_0x2edde8(0x1c9)],'logs':[{'data':_0x5d892e?fs[_0x2edde8(0x1de)](_0x5d892e):'','test_run_uuid':_0x2349b5,'kind':_0x4e9e10[_0x2edde8(0x21e)],'fileName':_0x5d892e?path[_0x2edde8(0x1f5)](_0x5d892e):''}]};return await SessionHandler['sendEventData'](_0x55a471,0x0,_0x4e9e10['XQJdt']);}catch(_0x594ee0){logger[_0x2edde8(0x224)](util[_0x2edde8(0x24b)](_0x4e9e10[_0x2edde8(0x1b7)],_0x594ee0));}},exports['sendTraceZip']=async(_0x2c8435,_0x1b5ded)=>{const _0x345ecc=a56_0x24b411,_0x39e1d6={'vifIT':_0x345ecc(0x1dd),'DOgfA':_0x345ecc(0x22e),'bYGOb':function(_0x1d3c3e){return _0x1d3c3e();},'DIrqK':_0x345ecc(0x1f7)};try{logger[_0x345ecc(0x216)](_0x345ecc(0x23d)+_0x1b5ded);let _0x1b9fa9=await exports['findNestedKey'](_0x2c8435,_0x39e1d6[_0x345ecc(0x1d4)]);if(exports[_0x345ecc(0x1c6)](_0x1b9fa9)){logger[_0x345ecc(0x216)](_0x39e1d6['DOgfA']),_0x1b9fa9=path[_0x345ecc(0x221)](_0x1b9fa9);const _0x2faf84={};_0x2faf84['testUId']=_0x1b5ded,_0x2faf84[_0x345ecc(0x1ab)]=_0x1b9fa9;const _0xc29cfe=_0x2faf84;_0x39e1d6[_0x345ecc(0x23e)](getBrowserstackCLI)['getInstance']()[_0x345ecc(0x1a5)]()?TestInfo[_0x345ecc(0x1e9)](_0xc29cfe):TestDetails[_0x345ecc(0x1e9)](_0xc29cfe);};}catch(_0xfe61f6){logger[_0x345ecc(0x224)](util[_0x345ecc(0x24b)](_0x39e1d6[_0x345ecc(0x1e5)],_0xfe61f6));}},exports['getTestIdentifier']=_0x66db43=>{const _0x13adb7=a56_0x24b411,_0x45e643={};_0x45e643[_0x13adb7(0x241)]=function(_0x263ae8,_0xaa7b50){return _0x263ae8+_0xaa7b50;},_0x45e643[_0x13adb7(0x1a1)]=function(_0x5e8e59,_0x18add9){return _0x5e8e59+_0x18add9;};const _0x47c241=_0x45e643;return _0x47c241['vrcEs'](_0x47c241[_0x13adb7(0x1a1)](_0x66db43[_0x13adb7(0x20b)],'-'),_0x66db43['id']);},exports[a56_0x24b411(0x1c4)]=(_0x1d4863,_0x314561)=>{const _0x32ea62=a56_0x24b411,_0x4ec6b9={};_0x4ec6b9[_0x32ea62(0x19c)]=function(_0x38e865,_0x3f6e7e){return _0x38e865+_0x3f6e7e;};const _0x51ac82=_0x4ec6b9;return _0x51ac82[_0x32ea62(0x19c)](_0x51ac82['NYMOS'](_0x1d4863['id'],'-'),_0x314561);};
@@ -1 +1 @@
1
- function a57_0x2ea0(_0x6a9d8b,_0x1f2185){const _0x35491b=a57_0x3549();return a57_0x2ea0=function(_0x2ea002,_0x12e466){_0x2ea002=_0x2ea002-0x16d;let _0x1dadf6=_0x35491b[_0x2ea002];return _0x1dadf6;},a57_0x2ea0(_0x6a9d8b,_0x1f2185);}const a57_0x1ca102=a57_0x2ea0;function a57_0x3549(){const _0x4686a6=['inspect','fAtgn','meta','hook','kGhOd','nQDGs','DFxTi','titlePath','RNanP','configureGit','getTime','TEST_SCREENSHOT','ywNDh','xokiu','steps','getScope','dUJGw','finishedAt','DOoTH','afterEach\x20hook','zopir','_bs_hookIdentifier','utf8','startTime','BNEJn','ehsvy','env','performance-report-reporter.json','nnSBW','BvEcK','CpaMp','BEFORE_EACH','trace_','jrgbf','attachments','printsToStdio','RnzvE','getHookType','Error\x20in\x20calculating\x20performance:\x20','XuVDl','pending','sIwRR','stack','AFTER_ALL','sendTestRunEvent','getTestUUID','FnmlR','NmqEw','60vofaRd','../../../helpers/performance/performance-tester','KeovE','JTvWK','sAOkR','TsXpJ','../../v2/state/testFrameworkState','split','startsWith','startedAt','sZZXD','kxssI','1998xIPgDO','keys','test_run','reportLogs','../../../helpers/test-observability/utils','EGEXu','13704uXvzMB','LogCreated','BROWSERSTACK_TEST_RUN_ID','Ysbjh','beforeAll\x20hook','NareZ','basename','onBegin','location','push','rvugQ','join','No\x20integrations\x20found\x20for\x20test\x20','tWcmH','Playwright','TestRunFinished','sendSessionDetails','wYIfm','file','failure_reason','Sending\x20session\x20details\x20for\x20','./test-details','javascript','BROWSERSTACK_O11Y_PERF_MEASUREMENT','.txt','cwd','iRABe','CBTSessionCreated','isRunning','18588108rRpqKl','1442ZudLNm','duration','cREOH','retry','util','KzHQU','name','../../../helpers/testhub/utils','4|3|0|6|7|2|1|5','UCkOV','existsSync','VQEao','Rwuhx','options','map','Hook\x20Started\x20with\x20unique\x20id\x20','uuid','FNGzM','145075GYrQKQ','sendHookRunEvent','setStepIdentifier','135SgDcbJ','HookRunStarted','category','expectedStatus','../../v2/state/hookState','vZzmz','depth','toString','CZiPW','KRXOy','Error\x20in\x20sending\x20test\x20run\x20event:\x20%s','EsOIu','shutdown','uuLyZ','ouTqz','IYQRF','\x20is\x20triggered\x20for\x20test\x20','FHGSO','START_TIME','path','sLAKy','base64','_tests','SyGYg','test.step','POST','cYXCH','QbVtj','rZdmQ','_trackedEvents','ZJUcs','uploadEventData','errors','getInstance','_tags','error','jAUZA','../../../helpers/test-observability/constants','qCWtc','forEach','wLHtM','dGlLj','parent','FrSpl','needToReportStep','\x20at\x20','step','sArpt','pnuXS','JdqEy','hook_run','TEST_ATTACHMENT','onStepBegin','logs','endSession','8724mpBEwM','status','.browserstack','title','onEnd','HCQAR','xxLEJ','Hook\x20Finished\x20with\x20unique\x20id\x20','KIgah','QhfHo','\x20for\x20','backtrace','SzBSI','VvzSB','mKsdz','test_run_uuid','OzDCJ','BbMdM','relative','length','../../../../src/bin/utils/constants','failure','_gitConfigPath','SzROk','splice','statSync','lfZGT','mtRmY','getStepsAndLogs','TestRunStarted','TEST','../../../helpers/test-observability/error-handler','hooks','_gitConfigured','../../../helpers/test-observability/sessionHandler','CzKhl','getStepIdentifier','hGMlS','format','dSMUp','Pfznx','addTestUIDAndReportLog','../../../helpers/helper','tmVuH','xFvqK','ICWNi','OJGIk','mtime','NmMXS','\x20is\x20triggered','timedOut','VOfCG','WMCVH','size','Starting\x20sending\x20trace\x20zip\x20for\x20test:\x20','\x20-\x20','Error\x20in\x20sending\x20trace\x20zip:\x20%s','unknown','onTestEnd','root','JfGhs','59214cEuJPc','screenshot','907402bkzqcE','beforeEach\x20hook','./pwUtils','KtwLq','skipped','zaMJv','message','getCustomRerunParam','trackEvent','expanded','getHierarchy','_testHooksMap','INIT_TEST','QUlJb','rovhe','PLAYWRIGHT','result','717430uoUnac','iIJGl','onTestBegin','getIntegrations','event_type','getTestFramework','test','Trace\x20file\x20found\x20for\x20test:\x20','toISOString','onStepEnd','err','PRE','reverse'];a57_0x3549=function(){return _0x4686a6;};return a57_0x3549();}(function(_0x3a8084,_0x2c87ba){const _0x21b4ea=a57_0x2ea0,_0x3cfa1d=_0x3a8084();while(!![]){try{const _0x5660c5=-parseInt(_0x21b4ea(0x232))/0x1+-parseInt(_0x21b4ea(0x234))/0x2+-parseInt(_0x21b4ea(0x185))/0x3*(-parseInt(_0x21b4ea(0x1f5))/0x4)+-parseInt(_0x21b4ea(0x1bb))/0x5*(-parseInt(_0x21b4ea(0x179))/0x6)+-parseInt(_0x21b4ea(0x1a9))/0x7*(-parseInt(_0x21b4ea(0x18b))/0x8)+-parseInt(_0x21b4ea(0x1be))/0x9*(-parseInt(_0x21b4ea(0x245))/0xa)+-parseInt(_0x21b4ea(0x1a8))/0xb;if(_0x5660c5===_0x2c87ba)break;else _0x3cfa1d['push'](_0x3cfa1d['shift']());}catch(_0x3e8cb1){_0x3cfa1d['push'](_0x3cfa1d['shift']());}}}(a57_0x3549,0xec910));const RequestQueueHandler=require('../../../helpers/test-observability/requestQueueHandler'),{calculatePerformance,getTestTags,getFailureData,sendTraceZip,findNestedKey,validateFilePath,getTestIdentifier,getTestRunIdentifier}=require(a57_0x1ca102(0x236)),{v4:uuidv4}=require('uuid'),path=require(a57_0x1ca102(0x1d1)),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require(a57_0x1ca102(0x189)),{getGitMetaData,setLogLevel}=require(a57_0x1ca102(0x21f)),TestDetails=require(a57_0x1ca102(0x1a0)),fs=require('fs'),util=require(a57_0x1ca102(0x1ad)),{o11yClassErrorHandler}=require(a57_0x1ca102(0x214)),PerformanceTester=require(a57_0x1ca102(0x17a)),{FRAMEWORKS}=require(a57_0x1ca102(0x1e3)),SessionHandler=require(a57_0x1ca102(0x217)),{appendTesthubParams}=require(a57_0x1ca102(0x1b0)),helper=require(a57_0x1ca102(0x21f)),BrowserstackCLI=require('../../v2/browserstackCLI'),TestFrameworkState=require(a57_0x1ca102(0x17f)),HookState=require(a57_0x1ca102(0x1c2)),TestInfo=require('../../v2/TestInfo'),{PLAYWRIGHT_TRACE_LOGS}=require(a57_0x1ca102(0x209));class MyReporter{constructor(_0x3af67e){const _0xd8f4a0=a57_0x1ca102,_0x24d3de={'OJGIk':_0xd8f4a0(0x1b1),'FHGSO':_0xd8f4a0(0x26d),'OzDCJ':function(_0x35bbd8,_0x2011f8,_0x41ad06,_0xb19063){return _0x35bbd8(_0x2011f8,_0x41ad06,_0xb19063);}},_0x4aec6f=_0x24d3de[_0xd8f4a0(0x223)][_0xd8f4a0(0x180)]('|');let _0x4c2e39=0x0;while(!![]){switch(_0x4aec6f[_0x4c2e39++]){case'0':this[_0xd8f4a0(0x1d4)]={};continue;case'1':this[_0xd8f4a0(0x20b)]=null;continue;case'2':this[_0xd8f4a0(0x216)]=![];continue;case'3':process[_0xd8f4a0(0x26c)][_0xd8f4a0(0x1a2)]&&(PerformanceTester['startMonitoring'](_0x24d3de[_0xd8f4a0(0x1cf)]),process[_0xd8f4a0(0x26c)][_0xd8f4a0(0x1d0)]=new Date()[_0xd8f4a0(0x24d)]());continue;case'4':const _0x5144b1={};_0x5144b1['logLevel']=process['env']['BROWSERSTACK_LOG_LEVEL'],_0x24d3de[_0xd8f4a0(0x205)](setLogLevel,_0x5144b1,new Map(),new Map());continue;case'5':this[_0xd8f4a0(0x1db)]=[];continue;case'6':this['_testHooksMap']={};continue;case'7':this[_0xd8f4a0(0x1b6)]=_0x3af67e;continue;}break;}}async['onBegin'](){const _0x22d793=a57_0x1ca102,_0x28a536={};_0x28a536[_0x22d793(0x203)]=_0x22d793(0x199);const _0x5a0884=_0x28a536;TestDetails['setup'](),await this[_0x22d793(0x25b)](),TestInfo['setup'](_0x5a0884['mKsdz']);if(BrowserstackCLI[_0x22d793(0x1df)]()[_0x22d793(0x1a7)]()){await BrowserstackCLI[_0x22d793(0x1df)]()[_0x22d793(0x24a)]()[_0x22d793(0x23c)](TestFrameworkState[_0x22d793(0x240)],HookState[_0x22d793(0x250)],{});return;}}async[a57_0x1ca102(0x247)](_0x17ad5b,_0x3ba757){const _0x298fe7=a57_0x1ca102,_0x189cc3={'IIyWP':function(_0x41b785,_0x4e88fc){return _0x41b785(_0x4e88fc);},'WMCVH':function(_0x5d0c19,_0x3cc66a,_0x4617b1){return _0x5d0c19(_0x3cc66a,_0x4617b1);},'BukLZ':function(_0x3a667d,_0x1c665b){return _0x3a667d(_0x1c665b);},'DOoTH':_0x298fe7(0x212)};if(BrowserstackCLI[_0x298fe7(0x1df)]()['isRunning']()){const _0x112d79={};_0x112d79[_0x298fe7(0x24b)]=_0x17ad5b,_0x112d79[_0x298fe7(0x244)]=_0x3ba757,await BrowserstackCLI[_0x298fe7(0x1df)]()[_0x298fe7(0x24a)]()[_0x298fe7(0x23c)](TestFrameworkState['TEST'],HookState[_0x298fe7(0x250)],_0x112d79);return;}const _0x1feab5=_0x189cc3['IIyWP'](getTestIdentifier,_0x17ad5b),_0x187a11=TestDetails[_0x298fe7(0x176)](_0x189cc3[_0x298fe7(0x229)](getTestRunIdentifier,_0x17ad5b,_0x3ba757[_0x298fe7(0x1ac)]));process[_0x298fe7(0x26c)][_0x298fe7(0x18d)]=_0x187a11;const _0x7a7cc7={};_0x7a7cc7['uuid']=_0x187a11,_0x7a7cc7['startedAt']=_0x3ba757[_0x298fe7(0x269)],this[_0x298fe7(0x1d4)][_0x1feab5]=_0x7a7cc7,_0x189cc3['BukLZ'](trace,'Test\x20Started\x20with\x20unique\x20id\x20'+_0x1feab5),await this['sendTestRunEvent'](_0x17ad5b,_0x189cc3[_0x298fe7(0x264)],_0x3ba757);}async['onStepBegin'](_0x169dfa,_0x5bbbe5,_0x4a487d){const _0xd03e48=a57_0x1ca102,_0x31132c={'sArpt':function(_0x394d68,_0x11f6be){return _0x394d68===_0x11f6be;},'xFvqK':'test.step','zaMJv':function(_0x59a592,_0x44d207,_0x2d2dfc){return _0x59a592(_0x44d207,_0x2d2dfc);},'EbJWk':function(_0x4cc46e,_0x474b58){return _0x4cc46e(_0x474b58);},'oYYaR':_0xd03e48(0x1bf)};if(!this[_0xd03e48(0x1ea)](_0x4a487d,_0x169dfa))return;if(_0x31132c[_0xd03e48(0x1ed)](_0x4a487d[_0xd03e48(0x1c0)],_0x31132c[_0xd03e48(0x221)])){if(BrowserstackCLI[_0xd03e48(0x1df)]()[_0xd03e48(0x1a7)]()){const _0x152991={};_0x152991[_0xd03e48(0x24b)]=_0x169dfa,_0x152991[_0xd03e48(0x244)]=_0x5bbbe5,_0x152991[_0xd03e48(0x1ec)]=_0x4a487d,await BrowserstackCLI['getInstance']()[_0xd03e48(0x24a)]()[_0xd03e48(0x23c)](TestFrameworkState['TEST_STEP'],HookState[_0xd03e48(0x250)],_0x152991);}return;}if(BrowserstackCLI['getInstance']()[_0xd03e48(0x1a7)]()){const _0x393314=this[_0xd03e48(0x16e)](_0x4a487d[_0xd03e48(0x1f8)]),_0x12c570=TestFrameworkState[_0x393314],_0x2ef3b2={};_0x2ef3b2[_0xd03e48(0x24b)]=_0x169dfa,_0x2ef3b2[_0xd03e48(0x244)]=_0x5bbbe5,_0x2ef3b2['step']=_0x4a487d,await BrowserstackCLI['getInstance']()[_0xd03e48(0x24a)]()[_0xd03e48(0x23c)](_0x12c570,HookState[_0xd03e48(0x250)],_0x2ef3b2);return;}const _0x57c6e1=this[_0xd03e48(0x1bd)](_0x169dfa,_0x4a487d);this['_tests'][_0x57c6e1]={'uuid':TestDetails[_0xd03e48(0x176)](_0x57c6e1),'startedAt':_0x4a487d[_0xd03e48(0x269)]['toISOString']()};const _0x1d912a=_0x31132c[_0xd03e48(0x239)](getTestRunIdentifier,_0x169dfa,_0x5bbbe5[_0xd03e48(0x1ac)]);!this[_0xd03e48(0x23f)][_0x1d912a]&&(this['_testHooksMap'][_0x1d912a]=[]),this[_0xd03e48(0x23f)][_0x1d912a][_0xd03e48(0x194)](this[_0xd03e48(0x1d4)][_0x57c6e1]['uuid']),_0x31132c['EbJWk'](trace,_0xd03e48(0x1b8)+_0x57c6e1+_0xd03e48(0x1ce)+_0x1d912a),await this[_0xd03e48(0x1bc)](_0x169dfa,_0x4a487d,_0x31132c['oYYaR'],_0x5bbbe5);}async['onStepEnd'](_0x7bb83,_0x511fda,_0x49da43){const _0x302392=a57_0x1ca102,_0x5cc3a9={'FNGzM':function(_0x22dbe9,_0x414a11){return _0x22dbe9===_0x414a11;},'KzHQU':_0x302392(0x1d6),'NmMXS':function(_0xf0dc46,_0x35700d){return _0xf0dc46+_0x35700d;},'cREOH':function(_0x2f5743,_0x1eb12e){return _0x2f5743(_0x1eb12e);},'rovhe':'HookRunFinished'};if(!this[_0x302392(0x1ea)](_0x49da43,_0x7bb83))return;if(_0x5cc3a9[_0x302392(0x1ba)](_0x49da43[_0x302392(0x1c0)],_0x5cc3a9[_0x302392(0x1ae)])){if(BrowserstackCLI[_0x302392(0x1df)]()[_0x302392(0x1a7)]()){const _0x2c8330={};_0x2c8330[_0x302392(0x24b)]=_0x7bb83,_0x2c8330[_0x302392(0x244)]=_0x511fda,_0x2c8330['step']=_0x49da43,await BrowserstackCLI[_0x302392(0x1df)]()[_0x302392(0x24a)]()[_0x302392(0x23c)](TestFrameworkState['TEST_STEP'],HookState[_0x302392(0x1d7)],_0x2c8330);}return;}if(BrowserstackCLI['getInstance']()[_0x302392(0x1a7)]()){const _0x319aca=this['getHookType'](_0x49da43[_0x302392(0x1f8)]),_0x49f175=TestFrameworkState[_0x319aca],_0x2477b0={};_0x2477b0[_0x302392(0x24b)]=_0x7bb83,_0x2477b0['result']=_0x511fda,_0x2477b0['step']=_0x49da43,await BrowserstackCLI[_0x302392(0x1df)]()['getTestFramework']()['trackEvent'](_0x49f175,HookState[_0x302392(0x1d7)],_0x2477b0);return;}const _0x6ca246=this[_0x302392(0x219)](_0x7bb83,_0x49da43);this[_0x302392(0x1d4)][_0x6ca246]={...this[_0x302392(0x1d4)][_0x6ca246]||{},'finishedAt':new Date(_0x5cc3a9[_0x302392(0x225)](_0x49da43[_0x302392(0x269)][_0x302392(0x25c)](),_0x49da43[_0x302392(0x1aa)]))},_0x5cc3a9[_0x302392(0x1ab)](trace,_0x302392(0x1fc)+_0x6ca246+_0x302392(0x226)),await this[_0x302392(0x1bc)](_0x7bb83,_0x49da43,_0x5cc3a9[_0x302392(0x242)],_0x511fda);}async[a57_0x1ca102(0x22f)](_0x501dcd,_0xd99c65){const _0x2b9c46=a57_0x1ca102,_0x406a63={'IYQRF':function(_0x177b39,_0x3023f){return _0x177b39===_0x3023f;},'VvzSB':_0x2b9c46(0x233),'Rwuhx':_0x2b9c46(0x25d),'VQEao':_0x2b9c46(0x1d3),'KeovE':function(_0x362e95,_0x43e1b7){return _0x362e95(_0x43e1b7);},'FrSpl':function(_0x516cbc,_0x3e6fa9,_0x410a8a){return _0x516cbc(_0x3e6fa9,_0x410a8a);},'SyGYg':_0x2b9c46(0x19a),'YuXZJ':_0x2b9c46(0x1c8),'hTNuo':function(_0x43050f,_0x26ac95){return _0x43050f(_0x26ac95);},'CzKhl':_0x2b9c46(0x22d),'ryTdn':function(_0x400887,_0x14642b){return _0x400887>_0x14642b;}};if(BrowserstackCLI['getInstance']()[_0x2b9c46(0x1a7)]()){const _0x56c2fa={};_0x56c2fa[_0x2b9c46(0x24b)]=_0x501dcd,_0x56c2fa[_0x2b9c46(0x244)]=_0xd99c65,this[_0x2b9c46(0x1db)]['push'](BrowserstackCLI[_0x2b9c46(0x1df)]()[_0x2b9c46(0x24a)]()[_0x2b9c46(0x23c)](TestFrameworkState[_0x2b9c46(0x213)],HookState[_0x2b9c46(0x1d7)],_0x56c2fa));return;}const _0x28f23d=_0x406a63['KeovE'](getTestIdentifier,_0x501dcd),_0x27e3b5=TestDetails['getTestUUID'](_0x406a63[_0x2b9c46(0x1e9)](getTestRunIdentifier,_0x501dcd,_0xd99c65[_0x2b9c46(0x1ac)]));this[_0x2b9c46(0x1d4)][_0x28f23d]={...this['_tests'][_0x28f23d]||{},'finishedAt':new Date()['toISOString']()},_0x406a63['KeovE'](debug,'Test\x20Finished\x20with\x20unique\x20id\x20'+_0x28f23d);try{await this[_0x2b9c46(0x175)](_0x501dcd,_0x406a63[_0x2b9c46(0x1d5)],_0xd99c65);}catch(_0x5eb5fd){_0x406a63[_0x2b9c46(0x17b)](debug,util[_0x2b9c46(0x21b)](_0x406a63['YuXZJ'],_0x5eb5fd[_0x2b9c46(0x1c5)]()));}try{_0x406a63[_0x2b9c46(0x17b)](debug,_0x2b9c46(0x22b)+_0x27e3b5),await _0x406a63[_0x2b9c46(0x1e9)](sendTraceZip,_0xd99c65,_0x27e3b5);}catch(_0x4c9b84){_0x406a63['hTNuo'](debug,util['format'](_0x406a63[_0x2b9c46(0x218)],_0x4c9b84[_0x2b9c46(0x1c5)]()));}const _0x78e112=[];_0xd99c65[_0x2b9c46(0x274)]&&_0xd99c65[_0x2b9c46(0x274)]['map'](_0x1666a3=>{const _0x50a26d=_0x2b9c46;if(_0x406a63[_0x50a26d(0x1cd)](_0x1666a3[_0x50a26d(0x1af)],_0x406a63[_0x50a26d(0x202)])){if(!_0x1666a3[_0x50a26d(0x1d1)]||!fs['existsSync'](_0x1666a3[_0x50a26d(0x1d1)]))return;_0x78e112[_0x50a26d(0x194)]({'test_run_uuid':_0x27e3b5,'timestamp':fs['statSync'](_0x1666a3[_0x50a26d(0x1d1)])[_0x50a26d(0x224)],'kind':_0x406a63[_0x50a26d(0x1b5)],'message':fs['readFileSync'](_0x1666a3['path'],{'encoding':_0x406a63[_0x50a26d(0x1b4)]})});}}),_0x406a63['ryTdn'](_0x78e112['length'],0x0)&&await MyReporter[_0x2b9c46(0x188)](_0x78e112);}async[a57_0x1ca102(0x1f4)](){const _0x208f73=a57_0x1ca102;await RequestQueueHandler[_0x208f73(0x1df)]()[_0x208f73(0x1ca)]();}async[a57_0x1ca102(0x1f9)](_0x2c6b7a){const _0x3a5099=a57_0x1ca102,_0x28d59e={'KRXOy':function(_0x36f8d2){return _0x36f8d2();},'ICWNi':function(_0x5bba98,_0x42c63a){return _0x5bba98(_0x42c63a);}};await Promise['all'](this[_0x3a5099(0x1db)]),await this[_0x3a5099(0x1f4)]();try{process[_0x3a5099(0x26c)][_0x3a5099(0x1a2)]&&await _0x28d59e[_0x3a5099(0x1c7)](calculatePerformance);}catch(_0x54d0ed){_0x28d59e[_0x3a5099(0x222)](debug,_0x3a5099(0x16f)+_0x54d0ed[_0x3a5099(0x1c5)]());}}static async[a57_0x1ca102(0x21e)](_0x2d043a,_0x1e9863){const _0x169606=a57_0x1ca102;_0x1e9863[_0x169606(0x204)]=TestDetails[_0x169606(0x176)](_0x2d043a),await this[_0x169606(0x188)]([_0x1e9863]);}static async[a57_0x1ca102(0x188)](_0x3325d0){const _0x4a5e8c=a57_0x1ca102,_0x4c160d={};_0x4c160d['wLHtM']=_0x4a5e8c(0x18c);const _0x16ddf2=_0x4c160d;if(BrowserstackCLI[_0x4a5e8c(0x1df)]()[_0x4a5e8c(0x1a7)]())return;const _0x1d005c={};_0x1d005c[_0x4a5e8c(0x249)]=_0x16ddf2[_0x4a5e8c(0x1e6)],_0x1d005c[_0x4a5e8c(0x1f3)]=_0x3325d0,await SessionHandler[_0x4a5e8c(0x1dd)](_0x1d005c);}async[a57_0x1ca102(0x1bc)](_0x4064a7,_0x1dd703,_0x55e0da,_0x4749a0){const _0x43822a=a57_0x1ca102,_0x204d13={'fAtgn':'hook','qCWtc':_0x43822a(0x1a1),'NareZ':'pending','Ysbjh':function(_0x4d6e13,_0x318517){return _0x4d6e13>=_0x318517;},'mtRmY':function(_0x50e633,_0x2a7601){return _0x50e633===_0x2a7601;},'nnSBW':'HookRunFinished','Pfznx':function(_0x258773,_0x107fa8){return _0x258773>_0x107fa8;},'zopir':'failed','UTonT':function(_0x5857ad,_0x539471){return _0x5857ad(_0x539471);},'QhfHo':function(_0x2dfa1e,_0x52ced0,_0x42bc95){return _0x2dfa1e(_0x52ced0,_0x42bc95);},'sIwRR':_0x43822a(0x24f),'BbMdM':'passed'},_0x530ea1=this[_0x43822a(0x219)](_0x4064a7,_0x1dd703),_0x28e73e=this[_0x43822a(0x1d4)][_0x530ea1],_0x53b2b3={'uuid':_0x28e73e[_0x43822a(0x1b9)],'type':_0x204d13[_0x43822a(0x253)],'hook_type':this[_0x43822a(0x16e)](_0x1dd703[_0x43822a(0x1f8)]),'name':_0x1dd703['title'],'scope':this[_0x43822a(0x261)](_0x1dd703),'scopes':this['getHierarchy'](_0x4064a7),'body':{'lang':_0x204d13[_0x43822a(0x1e4)],'code':null},'identifier':_0x530ea1,'file_name':path[_0x43822a(0x207)](process[_0x43822a(0x1a4)](),_0x4064a7[_0x43822a(0x193)][_0x43822a(0x19d)]),'location':path[_0x43822a(0x207)](process['cwd'](),_0x4064a7['location'][_0x43822a(0x19d)]),'result':_0x204d13[_0x43822a(0x190)],'duration_in_ms':_0x204d13[_0x43822a(0x18e)](_0x1dd703[_0x43822a(0x1aa)],0x0)?_0x1dd703[_0x43822a(0x1aa)]:undefined,'vc_filepath':this[_0x43822a(0x20b)]&&_0x4064a7[_0x43822a(0x193)][_0x43822a(0x19d)]?path[_0x43822a(0x207)](this[_0x43822a(0x20b)],_0x4064a7['location']['file']):undefined,'started_at':_0x28e73e['startedAt'],'finished_at':_0x28e73e['finishedAt'],'framework':FRAMEWORKS[_0x43822a(0x243)]};if(_0x204d13[_0x43822a(0x210)](_0x55e0da,_0x204d13[_0x43822a(0x26e)])){const {steps:_0x3058a9,logs:_0x3ce1c0}=this[_0x43822a(0x211)](_0x1dd703[_0x43822a(0x260)],_0x28e73e[_0x43822a(0x1b9)],_0x204d13['fAtgn']);_0x3ce1c0&&_0x204d13[_0x43822a(0x21d)](_0x3ce1c0[_0x43822a(0x208)],0x0)&&await MyReporter[_0x43822a(0x188)](_0x3ce1c0);const _0x5b43b2={};_0x5b43b2[_0x43822a(0x260)]=_0x3058a9,_0x53b2b3[_0x43822a(0x254)]=_0x5b43b2;if(_0x1dd703[_0x43822a(0x1e1)]){_0x53b2b3[_0x43822a(0x244)]=_0x204d13[_0x43822a(0x266)],_0x53b2b3[_0x43822a(0x19e)]=_0x204d13['UTonT'](removeAnsiColors,_0x1dd703[_0x43822a(0x1e1)][_0x43822a(0x23a)]),_0x53b2b3['failure_type']=_0x204d13['UTonT'](getFailureType,_0x1dd703[_0x43822a(0x1e1)][_0x43822a(0x23a)]);const _0x44d293=_0x204d13[_0x43822a(0x1fe)](failureData,_0x1dd703['error'],_0x204d13[_0x43822a(0x172)]);if(_0x44d293&&_0x204d13['mtRmY'](_0x44d293[_0x43822a(0x208)],0x0)){const _0x4e5590={};_0x4e5590[_0x43822a(0x200)]=[_0x53b2b3[_0x43822a(0x19e)]],_0x4e5590[_0x43822a(0x23d)]=[],_0x44d293['push'](_0x4e5590);}_0x53b2b3[_0x43822a(0x20a)]=_0x44d293;}else _0x53b2b3['result']=_0x204d13[_0x43822a(0x206)];}const _0x57cdae={};_0x57cdae['event_type']=_0x55e0da,_0x57cdae[_0x43822a(0x1f0)]=_0x53b2b3;const _0x553504=_0x57cdae;await SessionHandler[_0x43822a(0x1dd)](_0x553504);}[a57_0x1ca102(0x211)](_0x7d78e8,_0xf530d5,_0xf771b6){const _0x1548b8=a57_0x1ca102;return helper[_0x1548b8(0x211)](_0x7d78e8,_0xf530d5,_0xf771b6);}async[a57_0x1ca102(0x175)](_0x181116,_0x21e041,_0x16c5d5){const _0x394bf3=a57_0x1ca102,_0x12a8ee={'rZdmQ':function(_0x5dfad9,_0x5ddd47){return _0x5dfad9(_0x5ddd47);},'RnzvE':_0x394bf3(0x1f1),'uuLyZ':function(_0x7e05ca,_0x56dd2c){return _0x7e05ca(_0x56dd2c);},'JdqEy':'test','dUJGw':'untitled\x20test','CZiPW':_0x394bf3(0x1a1),'AzgpW':_0x394bf3(0x171),'KIgah':function(_0x155849,_0x5bf8b9){return _0x155849(_0x5bf8b9);},'SzROk':function(_0x10fea7,_0x1e6f74,_0x5f1503,_0xa6ad05,_0x57e718){return _0x10fea7(_0x1e6f74,_0x5f1503,_0xa6ad05,_0x57e718);},'KtwLq':function(_0x10433e,_0x46f99e){return _0x10433e>_0x46f99e;},'iIJGl':function(_0x1ffa25,_0x4b97f5,_0x41a7b1){return _0x1ffa25(_0x4b97f5,_0x41a7b1);},'BvEcK':function(_0x5ebcb7,_0x493a18){return _0x5ebcb7-_0x493a18;},'vZzmz':function(_0x5e4a26,_0x19d89c){return _0x5e4a26===_0x19d89c;},'QUlJb':_0x394bf3(0x19a),'EsOIu':function(_0x168498,_0x2037fc){return _0x168498(_0x2037fc);},'QbVtj':function(_0x1225f0,_0x39dc7a){return _0x1225f0(_0x39dc7a);},'HCQAR':function(_0x138b28,_0x1ebb7e){return _0x138b28===_0x1ebb7e;},'ouTqz':_0x394bf3(0x238),'iRABe':'passed','LPWBq':function(_0x203c95,_0x59db5c){return _0x203c95===_0x59db5c;},'dGlLj':'failed','SChlj':function(_0x3227c3,_0x116c0e){return _0x3227c3===_0x116c0e;},'VOfCG':_0x394bf3(0x227),'JfGhs':function(_0x38c084,_0x4e5ade){return _0x38c084===_0x4e5ade;},'QJufR':function(_0x4b6b5d,_0x3de2f9){return _0x4b6b5d===_0x3de2f9;},'BNEJn':'Expected\x20to\x20fail,\x20but\x20passed.','DFxTi':function(_0x100586,_0x2527b6){return _0x100586(_0x2527b6);},'sLAKy':function(_0x16b36d,_0x219c71,_0x3316cb){return _0x16b36d(_0x219c71,_0x3316cb);},'sAOkR':'path','wYIfm':_0x394bf3(0x1f7),'EGEXu':_0x394bf3(0x268),'FnmlR':function(_0x2cc749,_0x758c0a){return _0x2cc749!==_0x758c0a;}},_0x6ee109=_0x12a8ee['uuLyZ'](getTestIdentifier,_0x181116),_0x5d5fbc=this[_0x394bf3(0x261)](_0x181116),_0xd90db5=this[_0x394bf3(0x1d4)][_0x6ee109],_0x4b6aa1=path[_0x394bf3(0x207)](process['cwd'](),_0x181116[_0x394bf3(0x193)][_0x394bf3(0x19d)]);await this[_0x394bf3(0x25b)]();const _0x236268={'uuid':_0xd90db5[_0x394bf3(0x1b9)],'type':_0x12a8ee['JdqEy'],'name':_0x181116['title']||_0x4b6aa1||_0x12a8ee[_0x394bf3(0x262)],'body':{'lang':_0x12a8ee[_0x394bf3(0x1c6)],'code':_0x181116['fn'][_0x394bf3(0x1c5)]()},'scope':_0x5d5fbc,'scopes':this[_0x394bf3(0x23e)](_0x181116),'identifier':_0x6ee109,'file_name':_0x4b6aa1,'location':_0x4b6aa1,'result':_0x12a8ee['AzgpW'],'duration_in_ms':_0x16c5d5&&_0x16c5d5['duration']?_0x16c5d5[_0x394bf3(0x1aa)]:null,'vc_filepath':this[_0x394bf3(0x20b)]&&_0x181116[_0x394bf3(0x193)]['file']?path[_0x394bf3(0x207)](this['_gitConfigPath'],_0x181116[_0x394bf3(0x193)][_0x394bf3(0x19d)]):undefined,'started_at':_0xd90db5[_0x394bf3(0x182)],'finished_at':_0xd90db5[_0x394bf3(0x263)],'framework':FRAMEWORKS[_0x394bf3(0x243)],'customRerunParam':{'rerun_name':this[_0x394bf3(0x23b)](_0x181116)},'tags':_0x12a8ee[_0x394bf3(0x1fd)](getTestTags,_0x181116)};_0x12a8ee[_0x394bf3(0x20c)](appendTesthubParams,_0x236268,_0x21e041,_0x181116,FRAMEWORKS[_0x394bf3(0x243)]);_0x16c5d5&&_0x12a8ee[_0x394bf3(0x237)](_0x16c5d5[_0x394bf3(0x1ac)],0x0)&&(_0x236268['retry_of']=TestDetails[_0x394bf3(0x176)](_0x12a8ee[_0x394bf3(0x246)](getTestRunIdentifier,_0x181116,_0x12a8ee[_0x394bf3(0x26f)](_0x16c5d5[_0x394bf3(0x1ac)],0x1))));if(_0x12a8ee[_0x394bf3(0x1c3)](_0x21e041,_0x12a8ee[_0x394bf3(0x241)])){try{const _0x1bb067=TestDetails[_0x394bf3(0x248)](_0xd90db5['uuid']);_0x1bb067&&_0x12a8ee['KtwLq'](Object[_0x394bf3(0x186)](_0x1bb067)[_0x394bf3(0x208)],0x0)?_0x236268['integrations']=_0x1bb067:_0x12a8ee[_0x394bf3(0x1c9)](debug,_0x394bf3(0x197)+_0xd90db5[_0x394bf3(0x1b9)]+'\x20—\x20video_url\x20will\x20not\x20surface\x20on\x20Test\x20Health\x20for\x20this\x20test');}catch(_0x1ee856){_0x12a8ee['QbVtj'](debug,'Error\x20reading\x20integrations\x20for\x20test\x20'+_0xd90db5[_0x394bf3(0x1b9)]+':\x20'+util[_0x394bf3(0x21b)](_0x1ee856));}_0x236268[_0x394bf3(0x244)]=_0x16c5d5[_0x394bf3(0x1f6)];if(_0x12a8ee[_0x394bf3(0x1fa)](_0x16c5d5[_0x394bf3(0x1f6)],_0x181116[_0x394bf3(0x1c1)]))_0x236268[_0x394bf3(0x244)]=_0x12a8ee['HCQAR'](_0x16c5d5['status'],_0x12a8ee['ouTqz'])?_0x12a8ee[_0x394bf3(0x1cc)]:_0x12a8ee[_0x394bf3(0x1a5)];else{(_0x12a8ee[_0x394bf3(0x1c3)](_0x236268[_0x394bf3(0x244)],_0x12a8ee['iRABe'])||_0x12a8ee['LPWBq'](_0x236268['result'],_0x12a8ee[_0x394bf3(0x1e7)])||_0x12a8ee['SChlj'](_0x236268['result'],_0x12a8ee[_0x394bf3(0x228)]))&&(_0x236268[_0x394bf3(0x244)]=_0x12a8ee['dGlLj']);if(_0x12a8ee[_0x394bf3(0x231)](_0x16c5d5['status'],_0x12a8ee[_0x394bf3(0x1a5)])&&_0x12a8ee['QJufR'](_0x181116[_0x394bf3(0x1c1)],_0x12a8ee[_0x394bf3(0x1e7)])){const _0x1486ef={};_0x1486ef['message']=_0x12a8ee[_0x394bf3(0x26a)],_0x1486ef[_0x394bf3(0x173)]=_0x12a8ee[_0x394bf3(0x26a)],_0x16c5d5['error']=_0x1486ef,_0x16c5d5[_0x394bf3(0x1de)]=[_0x16c5d5[_0x394bf3(0x1e1)]];}}const _0x3e255d=_0x12a8ee[_0x394bf3(0x246)](getTestRunIdentifier,_0x181116,_0x16c5d5['retry']);_0x236268[_0x394bf3(0x215)]=this[_0x394bf3(0x23f)][_0x3e255d];const {steps:_0x520054,logs:_0x4922a8}=this[_0x394bf3(0x211)](_0x16c5d5[_0x394bf3(0x260)],_0xd90db5[_0x394bf3(0x1b9)],_0x12a8ee[_0x394bf3(0x1ef)]);await MyReporter[_0x394bf3(0x188)](_0x4922a8);const _0x1b933d={};_0x1b933d[_0x394bf3(0x260)]=_0x520054,_0x236268['meta']=_0x1b933d;if(_0x16c5d5[_0x394bf3(0x1e1)]){_0x236268['failure_reason']=_0x12a8ee[_0x394bf3(0x258)](removeAnsiColors,_0x16c5d5[_0x394bf3(0x1e1)][_0x394bf3(0x23a)]),_0x236268['failure_type']=_0x12a8ee[_0x394bf3(0x1cb)](getFailureType,_0x16c5d5[_0x394bf3(0x1e1)][_0x394bf3(0x23a)]);const _0x421a06={};_0x421a06[_0x394bf3(0x204)]=_0xd90db5['uuid'];const {failureData:_0x70c3fd,logs:_0x92c19}=_0x12a8ee[_0x394bf3(0x1d2)](getFailureData,_0x16c5d5['errors'],_0x421a06);if(_0x70c3fd&&_0x12a8ee[_0x394bf3(0x1fa)](_0x70c3fd['length'],0x0)){const _0x20e2e0={};_0x20e2e0[_0x394bf3(0x200)]=[_0x236268[_0x394bf3(0x19e)]],_0x20e2e0[_0x394bf3(0x23d)]=[],_0x70c3fd[_0x394bf3(0x194)](_0x20e2e0);}_0x236268[_0x394bf3(0x20a)]=_0x70c3fd,_0x92c19&&_0x12a8ee[_0x394bf3(0x237)](_0x92c19[_0x394bf3(0x208)],0x0)&&await MyReporter[_0x394bf3(0x188)](_0x92c19);}}let _0x12c109=_0x12a8ee[_0x394bf3(0x1d2)](findNestedKey,_0x16c5d5,_0x12a8ee[_0x394bf3(0x17d)]);if(_0x12c109&&_0x12a8ee['EsOIu'](validateFilePath,_0x12c109))_0x12a8ee['rZdmQ'](debug,_0x394bf3(0x24c)+_0xd90db5[_0x394bf3(0x1b9)]+_0x394bf3(0x1eb)+_0x12c109);else{const _0x10623c=path[_0x394bf3(0x196)](helper['homedir'](),_0x12a8ee[_0x394bf3(0x19c)]);!fs[_0x394bf3(0x1b3)](_0x10623c)&&fs['mkdirSync'](_0x10623c),fs[_0x394bf3(0x1b3)](path['join'](_0x10623c,'trace_'+_0xd90db5[_0x394bf3(0x1b9)]+_0x394bf3(0x1a3)))&&(_0x12c109=fs['readFileSync'](path[_0x394bf3(0x196)](_0x10623c,_0x394bf3(0x272)+_0xd90db5['uuid']+_0x394bf3(0x1a3)),_0x12a8ee[_0x394bf3(0x18a)]),_0x12a8ee[_0x394bf3(0x1d9)](debug,'Trace\x20file\x20found\x20for\x20test:\x20'+_0xd90db5[_0x394bf3(0x1b9)]+_0x394bf3(0x1eb)+_0x12c109));}const _0x85cd1e={};_0x85cd1e[_0x394bf3(0x249)]=_0x21e041,_0x85cd1e[_0x394bf3(0x187)]=_0x236268;const _0x4af80a=_0x85cd1e;_0x12c109&&_0x12a8ee[_0x394bf3(0x177)](_0x12c109,'')&&_0x12a8ee['HCQAR'](_0x21e041,_0x12a8ee[_0x394bf3(0x241)])&&(!_0x4af80a[_0x394bf3(0x1f3)]&&(_0x4af80a[_0x394bf3(0x1f3)]=[]),_0x12c109['split']('\x0a')[_0x394bf3(0x1e5)](_0x100ba8=>{const _0x37582c=_0x394bf3;_0x100ba8&&_0x12a8ee[_0x37582c(0x1da)](validateFilePath,_0x100ba8)&&_0x4af80a['logs']['push']({'kind':_0x12a8ee[_0x37582c(0x16d)],'timestamp':new Date()[_0x37582c(0x24d)](),'test_run_uuid':_0xd90db5[_0x37582c(0x1b9)],'file_name':path[_0x37582c(0x191)](_0x100ba8),'file_size':fs[_0x37582c(0x20e)](_0x100ba8)[_0x37582c(0x22a)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});})),await SessionHandler[_0x394bf3(0x1dd)](_0x4af80a);}['getCustomRerunParam'](_0x214d47){const _0x18be94=a57_0x1ca102,_0x511a00={};_0x511a00[_0x18be94(0x21a)]=function(_0x45a339,_0x4bf740){return _0x45a339===_0x4bf740;},_0x511a00[_0x18be94(0x1dc)]=function(_0x3b6de8,_0x1a373b){return _0x3b6de8>_0x1a373b;},_0x511a00[_0x18be94(0x1d8)]=function(_0x49e0d5,_0x1ac34e){return _0x49e0d5+_0x1ac34e;},_0x511a00['nQDGs']=function(_0x5059f7,_0x2954c2){return _0x5059f7+_0x2954c2;};const _0x19f740=_0x511a00,_0x4da9d4=_0x214d47[_0x18be94(0x259)]()[_0x18be94(0x1b7)](_0x325416=>{const _0x3fcf45=_0x18be94;if(_0x214d47['parent']&&_0x19f740[_0x3fcf45(0x21a)](_0x325416,_0x214d47['parent']['title'])&&_0x214d47[_0x3fcf45(0x1e8)][_0x3fcf45(0x1e0)]&&_0x19f740['ZJUcs'](_0x214d47[_0x3fcf45(0x1e8)][_0x3fcf45(0x1e0)][_0x3fcf45(0x208)],0x0))return _0x19f740[_0x3fcf45(0x1d8)](_0x19f740[_0x3fcf45(0x257)](_0x325416,'\x20'),_0x214d47['parent'][_0x3fcf45(0x1e0)]['join']('\x20'));if(_0x19f740[_0x3fcf45(0x21a)](_0x325416,_0x214d47[_0x3fcf45(0x1f8)])&&_0x214d47['_tags']&&_0x19f740[_0x3fcf45(0x1dc)](_0x214d47[_0x3fcf45(0x1e0)][_0x3fcf45(0x208)],0x0))return _0x19f740['nQDGs'](_0x19f740[_0x3fcf45(0x1d8)](_0x325416,'\x20'),_0x214d47[_0x3fcf45(0x1e0)][_0x3fcf45(0x196)]('\x20'));return _0x325416;})[_0x18be94(0x196)]('\x20');return _0x4da9d4;}static async[a57_0x1ca102(0x19b)](_0x2a1819,_0x16db65){const _0x385022=a57_0x1ca102,_0x72cf18={'UCkOV':function(_0x168463,_0x1a004e){return _0x168463(_0x1a004e);},'tMZto':_0x385022(0x1a6)},_0x4816e2={'uuid':TestDetails[_0x385022(0x176)](_0x2a1819),'integrations':_0x16db65},_0x42942e={};_0x42942e[_0x385022(0x1c4)]=null,_0x72cf18[_0x385022(0x1b2)](debug,_0x385022(0x19f)+_0x2a1819+',\x20'+util[_0x385022(0x252)](_0x16db65,_0x42942e));const _0x5528d1={};_0x5528d1[_0x385022(0x249)]=_0x72cf18['tMZto'],_0x5528d1['test_run']=_0x4816e2,await SessionHandler['uploadEventData'](_0x5528d1);}async['configureGit'](){const _0x536264=a57_0x1ca102,_0x52c3b7={'sZZXD':function(_0x5b40e8){return _0x5b40e8();}};if(this[_0x536264(0x216)])return;const _0x5df537=await _0x52c3b7[_0x536264(0x183)](getGitMetaData);_0x5df537&&(this[_0x536264(0x20b)]=_0x5df537[_0x536264(0x230)]),this[_0x536264(0x216)]=!![];}[a57_0x1ca102(0x23e)](_0x1f2a64){const _0x4b0b41=a57_0x1ca102,_0x5b3eb5={};_0x5b3eb5[_0x4b0b41(0x17c)]=function(_0x4f41f4,_0x24aee3){return _0x4f41f4!==_0x24aee3;};const _0x384d29=_0x5b3eb5,_0xc405d6=[];if(_0x1f2a64&&_0x1f2a64[_0x4b0b41(0x1e8)]){let _0x368b68=_0x1f2a64[_0x4b0b41(0x1e8)];while(_0x368b68&&_0x384d29[_0x4b0b41(0x17c)](_0x368b68['title'],'')){_0xc405d6[_0x4b0b41(0x194)](_0x368b68[_0x4b0b41(0x1f8)]),_0x368b68=_0x368b68[_0x4b0b41(0x1e8)];}}return _0xc405d6[_0x4b0b41(0x251)]()[_0x4b0b41(0x20d)](0x0,0x2),_0xc405d6;}[a57_0x1ca102(0x1ea)](_0x36b62c){const _0x5e111f=a57_0x1ca102,_0x35ad7d={};_0x35ad7d[_0x5e111f(0x201)]=function(_0x3ce729,_0x1f0157){return _0x3ce729===_0x1f0157;},_0x35ad7d[_0x5e111f(0x195)]=_0x5e111f(0x1d6),_0x35ad7d[_0x5e111f(0x25e)]=function(_0x2eee39,_0x4db9fc){return _0x2eee39!==_0x4db9fc;},_0x35ad7d[_0x5e111f(0x1fb)]=_0x5e111f(0x255),_0x35ad7d[_0x5e111f(0x1e2)]=function(_0x5d9569,_0xfb7d0b){return _0x5d9569===_0xfb7d0b;},_0x35ad7d['UTDDR']=_0x5e111f(0x235),_0x35ad7d[_0x5e111f(0x21c)]=_0x5e111f(0x18f),_0x35ad7d[_0x5e111f(0x26b)]='afterAll\x20hook',_0x35ad7d['kGhOd']=_0x5e111f(0x265);const _0x2d09f7=_0x35ad7d;if(_0x2d09f7['SzBSI'](_0x36b62c[_0x5e111f(0x1c0)],_0x2d09f7[_0x5e111f(0x195)]))return!![];if(_0x2d09f7[_0x5e111f(0x25e)](_0x36b62c[_0x5e111f(0x1c0)],_0x2d09f7['xxLEJ']))return![];if(_0x2d09f7[_0x5e111f(0x1e2)]([_0x2d09f7['UTDDR'],_0x2d09f7[_0x5e111f(0x21c)],_0x2d09f7['ehsvy'],_0x2d09f7[_0x5e111f(0x256)]]['indexOf'](_0x36b62c['title']),-0x1))return![];return!![];}[a57_0x1ca102(0x219)](_0xd10e06,_0x771901){const _0x3c9562=a57_0x1ca102,_0x71da2e={'tWcmH':function(_0x21aad6,_0x21ae8e){return _0x21aad6(_0x21ae8e);}},_0x4790a3=_0x771901[_0x3c9562(0x267)];if(_0x4790a3)return _0x4790a3;return _0x771901[_0x3c9562(0x1f8)]+_0x3c9562(0x1ff)+_0x71da2e[_0x3c9562(0x198)](getTestIdentifier,_0xd10e06);}[a57_0x1ca102(0x1bd)](_0x5a968a,_0x25a08d){const _0x313bc2=a57_0x1ca102,_0x4bcdac={'XuVDl':function(_0x4067be,_0x4f7048){return _0x4067be(_0x4f7048);},'vrQNq':function(_0x1bdeb6){return _0x1bdeb6();}};let _0x194664=_0x25a08d[_0x313bc2(0x1f8)]+_0x313bc2(0x1ff)+_0x4bcdac[_0x313bc2(0x170)](getTestIdentifier,_0x5a968a);return this[_0x313bc2(0x1d4)][_0x194664]&&(_0x194664=_0x194664+_0x313bc2(0x22c)+_0x4bcdac['vrQNq'](uuidv4)),_0x25a08d[_0x313bc2(0x267)]=_0x194664,_0x194664;}[a57_0x1ca102(0x16e)]=_0x2c4b70=>{const _0x3316ff=a57_0x1ca102,_0x148506={};_0x148506[_0x3316ff(0x25f)]=_0x3316ff(0x235),_0x148506['QaOpY']=_0x3316ff(0x271),_0x148506[_0x3316ff(0x17e)]=_0x3316ff(0x18f),_0x148506[_0x3316ff(0x25a)]='BEFORE_ALL',_0x148506[_0x3316ff(0x1ee)]=_0x3316ff(0x265),_0x148506[_0x3316ff(0x273)]='AFTER_EACH',_0x148506[_0x3316ff(0x178)]='afterAll\x20hook',_0x148506[_0x3316ff(0x220)]=_0x3316ff(0x174),_0x148506[_0x3316ff(0x270)]=_0x3316ff(0x22e);const _0x15c213=_0x148506;if(_0x2c4b70['startsWith'](_0x15c213[_0x3316ff(0x25f)]))return _0x15c213['QaOpY'];else{if(_0x2c4b70[_0x3316ff(0x181)](_0x15c213[_0x3316ff(0x17e)]))return _0x15c213[_0x3316ff(0x25a)];else{if(_0x2c4b70['startsWith'](_0x15c213[_0x3316ff(0x1ee)]))return _0x15c213['jrgbf'];else{if(_0x2c4b70['startsWith'](_0x15c213[_0x3316ff(0x178)]))return _0x15c213[_0x3316ff(0x220)];}}}return _0x15c213[_0x3316ff(0x270)];};[a57_0x1ca102(0x261)]=_0x5969b9=>{const _0x15d9c4=a57_0x1ca102,_0x36a5c6={};_0x36a5c6[_0x15d9c4(0x184)]=function(_0x16edd9,_0xbbf1){return _0x16edd9===_0xbbf1;},_0x36a5c6[_0x15d9c4(0x20f)]='object';const _0x513a00=_0x36a5c6;let _0x2d9e1=_0x5969b9[_0x15d9c4(0x1e8)];return _0x513a00[_0x15d9c4(0x184)](typeof _0x5969b9[_0x15d9c4(0x1e8)],_0x513a00['lfZGT'])&&(_0x2d9e1=_0x2d9e1[_0x15d9c4(0x1f8)]),_0x2d9e1+_0x15d9c4(0x22c)+_0x5969b9[_0x15d9c4(0x1f8)];};[a57_0x1ca102(0x275)](){return![];}}module['exports']=o11yClassErrorHandler(MyReporter,[a57_0x1ca102(0x192),a57_0x1ca102(0x1f4),a57_0x1ca102(0x247),a57_0x1ca102(0x22f),a57_0x1ca102(0x1f2),a57_0x1ca102(0x24e),a57_0x1ca102(0x19b)],'MyReporter');
1
+ const a57_0x9c9622=a57_0x8641;function a57_0x8641(_0x2d8cde,_0x2f0716){const _0x5ef711=a57_0x5ef7();return a57_0x8641=function(_0x864188,_0x218a3f){_0x864188=_0x864188-0x18e;let _0x516858=_0x5ef711[_0x864188];return _0x516858;},a57_0x8641(_0x2d8cde,_0x2f0716);}(function(_0x3eec8f,_0x35fe12){const _0x4a368b=a57_0x8641,_0x676ba2=_0x3eec8f();while(!![]){try{const _0x8d004c=-parseInt(_0x4a368b(0x249))/0x1+parseInt(_0x4a368b(0x1bf))/0x2+-parseInt(_0x4a368b(0x240))/0x3+parseInt(_0x4a368b(0x22d))/0x4*(parseInt(_0x4a368b(0x241))/0x5)+parseInt(_0x4a368b(0x20c))/0x6*(parseInt(_0x4a368b(0x1ef))/0x7)+-parseInt(_0x4a368b(0x1ec))/0x8+-parseInt(_0x4a368b(0x24f))/0x9;if(_0x8d004c===_0x35fe12)break;else _0x676ba2['push'](_0x676ba2['shift']());}catch(_0x4d5dcf){_0x676ba2['push'](_0x676ba2['shift']());}}}(a57_0x5ef7,0x5164d));const RequestQueueHandler=require(a57_0x9c9622(0x1d0)),{calculatePerformance,getTestTags,getFailureData,sendTraceZip,findNestedKey,validateFilePath,getTestIdentifier,getTestRunIdentifier}=require('./pwUtils'),{v4:uuidv4}=require(a57_0x9c9622(0x1d9)),path=require(a57_0x9c9622(0x1f4)),{debug,removeAnsiColors,printBuildLink,getFailureType,failureData,trace}=require(a57_0x9c9622(0x1b9)),{getGitMetaData,setLogLevel}=require('../../../helpers/helper'),TestDetails=require(a57_0x9c9622(0x223)),fs=require('fs'),util=require(a57_0x9c9622(0x259)),{o11yClassErrorHandler}=require('../../../helpers/test-observability/error-handler'),PerformanceTester=require('../../../helpers/performance/performance-tester'),{FRAMEWORKS}=require(a57_0x9c9622(0x22f)),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{appendTesthubParams}=require(a57_0x9c9622(0x20b)),helper=require(a57_0x9c9622(0x1de)),BrowserstackCLI=require(a57_0x9c9622(0x1be)),TestFrameworkState=require('../../v2/state/testFrameworkState'),HookState=require(a57_0x9c9622(0x1e5)),TestInfo=require('../../v2/TestInfo'),{PLAYWRIGHT_TRACE_LOGS}=require(a57_0x9c9622(0x27d));class MyReporter{constructor(_0x4ac35f){const _0x412554=a57_0x9c9622,_0x1f3d5a={'YEvtd':_0x412554(0x281),'qGJCe':function(_0x2f5eb6,_0x37b112,_0x4332b2,_0x4a7420){return _0x2f5eb6(_0x37b112,_0x4332b2,_0x4a7420);},'wdyAO':_0x412554(0x193)},_0x3f9f8c=_0x1f3d5a[_0x412554(0x191)][_0x412554(0x262)]('|');let _0x19235a=0x0;while(!![]){switch(_0x3f9f8c[_0x19235a++]){case'0':this[_0x412554(0x18e)]=![];continue;case'1':const _0x4decea={};_0x4decea['logLevel']=process[_0x412554(0x216)]['BROWSERSTACK_LOG_LEVEL'],_0x1f3d5a[_0x412554(0x235)](setLogLevel,_0x4decea,new Map(),new Map());continue;case'2':this[_0x412554(0x19e)]={};continue;case'3':process[_0x412554(0x216)][_0x412554(0x1b6)]&&(PerformanceTester[_0x412554(0x1cc)](_0x1f3d5a[_0x412554(0x24e)]),process[_0x412554(0x216)][_0x412554(0x286)]=new Date()[_0x412554(0x273)]());continue;case'4':this[_0x412554(0x280)]=null;continue;case'5':this[_0x412554(0x247)]={};continue;case'6':this[_0x412554(0x298)]=[];continue;case'7':this['options']=_0x4ac35f;continue;}break;}}async['onBegin'](){const _0x1f9912=a57_0x9c9622,_0x1f3caa={};_0x1f3caa[_0x1f9912(0x244)]='Playwright';const _0x2f5726=_0x1f3caa;TestDetails[_0x1f9912(0x258)](),await this[_0x1f9912(0x214)](),TestInfo[_0x1f9912(0x258)](_0x2f5726['HPfln']);if(BrowserstackCLI[_0x1f9912(0x254)]()[_0x1f9912(0x263)]()){await BrowserstackCLI[_0x1f9912(0x254)]()[_0x1f9912(0x218)]()['trackEvent'](TestFrameworkState['INIT_TEST'],HookState[_0x1f9912(0x27b)],{});return;}}async[a57_0x9c9622(0x1da)](_0x3811c1,_0x327563){const _0x52c9fb=a57_0x9c9622,_0x211588={'jeuuQ':function(_0x322678,_0x5640ee){return _0x322678(_0x5640ee);},'SmpEB':function(_0x6de2f,_0x4b76ef,_0x231f54){return _0x6de2f(_0x4b76ef,_0x231f54);},'flRkd':_0x52c9fb(0x285)};if(BrowserstackCLI['getInstance']()[_0x52c9fb(0x263)]()){const _0x4a5644={};_0x4a5644['test']=_0x3811c1,_0x4a5644[_0x52c9fb(0x1d6)]=_0x327563,await BrowserstackCLI['getInstance']()[_0x52c9fb(0x218)]()[_0x52c9fb(0x198)](TestFrameworkState[_0x52c9fb(0x1fb)],HookState['PRE'],_0x4a5644);return;}const _0x1fa6f1=_0x211588[_0x52c9fb(0x20a)](getTestIdentifier,_0x3811c1),_0x122183=TestDetails[_0x52c9fb(0x1cd)](_0x211588[_0x52c9fb(0x195)](getTestRunIdentifier,_0x3811c1,_0x327563[_0x52c9fb(0x284)]));process[_0x52c9fb(0x216)][_0x52c9fb(0x23c)]=_0x122183;const _0x38a85f={};_0x38a85f['uuid']=_0x122183,_0x38a85f[_0x52c9fb(0x24c)]=_0x327563['startTime'],this[_0x52c9fb(0x19e)][_0x1fa6f1]=_0x38a85f,_0x211588[_0x52c9fb(0x20a)](trace,'Test\x20Started\x20with\x20unique\x20id\x20'+_0x1fa6f1),await this[_0x52c9fb(0x26f)](_0x3811c1,_0x211588[_0x52c9fb(0x228)],_0x327563);}async[a57_0x9c9622(0x27a)](_0x30f27c,_0x188c3c,_0x5469db){const _0x12c12c=a57_0x9c9622,_0x7ea321={'XhaOi':function(_0x1c89d1,_0x267795){return _0x1c89d1===_0x267795;},'cxLuO':_0x12c12c(0x287),'iIYpX':function(_0x575294,_0x4a73c0,_0x2c668e){return _0x575294(_0x4a73c0,_0x2c668e);},'VEPtl':function(_0x4ea75c,_0x4430e0){return _0x4ea75c(_0x4430e0);},'BkrWf':_0x12c12c(0x1e8)};if(!this[_0x12c12c(0x204)](_0x5469db,_0x30f27c))return;if(_0x7ea321[_0x12c12c(0x1ac)](_0x5469db[_0x12c12c(0x208)],_0x7ea321[_0x12c12c(0x22e)])){if(BrowserstackCLI[_0x12c12c(0x254)]()['isRunning']()){const _0x3325af={};_0x3325af['test']=_0x30f27c,_0x3325af[_0x12c12c(0x1d6)]=_0x188c3c,_0x3325af[_0x12c12c(0x255)]=_0x5469db,await BrowserstackCLI[_0x12c12c(0x254)]()['getTestFramework']()[_0x12c12c(0x198)](TestFrameworkState['TEST_STEP'],HookState[_0x12c12c(0x27b)],_0x3325af);}return;}if(BrowserstackCLI[_0x12c12c(0x254)]()[_0x12c12c(0x263)]()){const _0x348d7a=this[_0x12c12c(0x1e7)](_0x5469db[_0x12c12c(0x215)]),_0x5931f8=TestFrameworkState[_0x348d7a],_0x435e30={};_0x435e30[_0x12c12c(0x227)]=_0x30f27c,_0x435e30[_0x12c12c(0x1d6)]=_0x188c3c,_0x435e30['step']=_0x5469db,await BrowserstackCLI[_0x12c12c(0x254)]()[_0x12c12c(0x218)]()[_0x12c12c(0x198)](_0x5931f8,HookState['PRE'],_0x435e30);return;}const _0x2b0949=this[_0x12c12c(0x1a7)](_0x30f27c,_0x5469db);this['_tests'][_0x2b0949]={'uuid':TestDetails['getTestUUID'](_0x2b0949),'startedAt':_0x5469db[_0x12c12c(0x1fc)][_0x12c12c(0x273)]()};const _0x462396=_0x7ea321[_0x12c12c(0x1fa)](getTestRunIdentifier,_0x30f27c,_0x188c3c[_0x12c12c(0x284)]);!this[_0x12c12c(0x247)][_0x462396]&&(this[_0x12c12c(0x247)][_0x462396]=[]),this[_0x12c12c(0x247)][_0x462396][_0x12c12c(0x234)](this[_0x12c12c(0x19e)][_0x2b0949][_0x12c12c(0x1d9)]),_0x7ea321[_0x12c12c(0x190)](trace,_0x12c12c(0x237)+_0x2b0949+_0x12c12c(0x224)+_0x462396),await this[_0x12c12c(0x266)](_0x30f27c,_0x5469db,_0x7ea321['BkrWf'],_0x188c3c);}async[a57_0x9c9622(0x211)](_0x290ba7,_0x189ab3,_0x5cc19a){const _0x264f19=a57_0x9c9622,_0x554e1b={'pMxnm':function(_0x329510,_0x25a576){return _0x329510===_0x25a576;},'XLZTg':_0x264f19(0x287),'fiWwd':function(_0x7832f7,_0x1d77c0){return _0x7832f7+_0x1d77c0;},'rydha':function(_0x4b706f,_0x4188e9){return _0x4b706f(_0x4188e9);},'gKGfJ':_0x264f19(0x1fd)};if(!this[_0x264f19(0x204)](_0x5cc19a,_0x290ba7))return;if(_0x554e1b[_0x264f19(0x1bb)](_0x5cc19a[_0x264f19(0x208)],_0x554e1b[_0x264f19(0x21b)])){if(BrowserstackCLI['getInstance']()[_0x264f19(0x263)]()){const _0xd27345={};_0xd27345['test']=_0x290ba7,_0xd27345[_0x264f19(0x1d6)]=_0x189ab3,_0xd27345[_0x264f19(0x255)]=_0x5cc19a,await BrowserstackCLI[_0x264f19(0x254)]()[_0x264f19(0x218)]()[_0x264f19(0x198)](TestFrameworkState[_0x264f19(0x236)],HookState['POST'],_0xd27345);}return;}if(BrowserstackCLI['getInstance']()[_0x264f19(0x263)]()){const _0x32b3d6=this[_0x264f19(0x1e7)](_0x5cc19a[_0x264f19(0x215)]),_0xb3f3d6=TestFrameworkState[_0x32b3d6],_0x1fb4f0={};_0x1fb4f0[_0x264f19(0x227)]=_0x290ba7,_0x1fb4f0['result']=_0x189ab3,_0x1fb4f0[_0x264f19(0x255)]=_0x5cc19a,await BrowserstackCLI[_0x264f19(0x254)]()[_0x264f19(0x218)]()['trackEvent'](_0xb3f3d6,HookState['POST'],_0x1fb4f0);return;}const _0xa56c9b=this[_0x264f19(0x206)](_0x290ba7,_0x5cc19a);this[_0x264f19(0x19e)][_0xa56c9b]={...this['_tests'][_0xa56c9b]||{},'finishedAt':new Date(_0x554e1b['fiWwd'](_0x5cc19a[_0x264f19(0x1fc)][_0x264f19(0x26a)](),_0x5cc19a[_0x264f19(0x1ad)]))},_0x554e1b[_0x264f19(0x20f)](trace,_0x264f19(0x1bd)+_0xa56c9b+_0x264f19(0x275)),await this['sendHookRunEvent'](_0x290ba7,_0x5cc19a,_0x554e1b['gKGfJ'],_0x189ab3);}async[a57_0x9c9622(0x28f)](_0x29c400,_0x429245){const _0x43104d=a57_0x9c9622,_0x5650b5={'JTfAT':function(_0x59566a,_0x33a414){return _0x59566a===_0x33a414;},'gnOcZ':_0x43104d(0x1df),'VtQZk':_0x43104d(0x1c2),'CDWbx':_0x43104d(0x27e),'yEOEe':function(_0x1dcff9,_0x392259){return _0x1dcff9(_0x392259);},'DZpCe':function(_0x14a75f,_0x1090a6,_0x57a29b){return _0x14a75f(_0x1090a6,_0x57a29b);},'cPFml':_0x43104d(0x1f0),'Bhwte':function(_0x37c253,_0x5013e1){return _0x37c253(_0x5013e1);},'mXQBW':_0x43104d(0x294),'mXOpO':function(_0x527253,_0x286eee,_0x428a42){return _0x527253(_0x286eee,_0x428a42);},'AeQnS':_0x43104d(0x28c),'Vjkrn':function(_0x4aaa61,_0x1b0e2f){return _0x4aaa61>_0x1b0e2f;}};if(BrowserstackCLI['getInstance']()['isRunning']()){const _0x30d13e={};_0x30d13e['test']=_0x29c400,_0x30d13e['result']=_0x429245,this[_0x43104d(0x298)]['push'](BrowserstackCLI[_0x43104d(0x254)]()['getTestFramework']()['trackEvent'](TestFrameworkState[_0x43104d(0x1fb)],HookState[_0x43104d(0x279)],_0x30d13e));return;}const _0x134c7c=_0x5650b5[_0x43104d(0x1a2)](getTestIdentifier,_0x29c400),_0x453524=TestDetails['getTestUUID'](_0x5650b5[_0x43104d(0x1c8)](getTestRunIdentifier,_0x29c400,_0x429245[_0x43104d(0x284)]));this[_0x43104d(0x19e)][_0x134c7c]={...this['_tests'][_0x134c7c]||{},'finishedAt':new Date()[_0x43104d(0x273)]()},_0x5650b5[_0x43104d(0x1a2)](debug,_0x43104d(0x1c4)+_0x134c7c);try{await this[_0x43104d(0x26f)](_0x29c400,_0x5650b5[_0x43104d(0x194)],_0x429245);}catch(_0x554b78){_0x5650b5[_0x43104d(0x1ab)](debug,util[_0x43104d(0x19b)](_0x5650b5[_0x43104d(0x21a)],_0x554b78[_0x43104d(0x1dd)]()));}try{_0x5650b5[_0x43104d(0x1a2)](debug,_0x43104d(0x221)+_0x453524),await _0x5650b5[_0x43104d(0x207)](sendTraceZip,_0x429245,_0x453524);}catch(_0x4943dd){_0x5650b5[_0x43104d(0x1ab)](debug,util[_0x43104d(0x19b)](_0x5650b5[_0x43104d(0x1eb)],_0x4943dd['toString']()));}const _0x111f0e=[];_0x429245[_0x43104d(0x278)]&&_0x429245[_0x43104d(0x278)]['map'](_0x20776b=>{const _0x3b0287=_0x43104d;if(_0x5650b5[_0x3b0287(0x1aa)](_0x20776b[_0x3b0287(0x1db)],_0x5650b5[_0x3b0287(0x231)])){if(!_0x20776b[_0x3b0287(0x1f4)]||!fs['existsSync'](_0x20776b['path']))return;_0x111f0e['push']({'test_run_uuid':_0x453524,'timestamp':fs[_0x3b0287(0x270)](_0x20776b[_0x3b0287(0x1f4)])['mtime'],'kind':_0x5650b5['VtQZk'],'message':fs[_0x3b0287(0x230)](_0x20776b[_0x3b0287(0x1f4)],{'encoding':_0x5650b5[_0x3b0287(0x1c3)]})});}}),_0x5650b5['Vjkrn'](_0x111f0e['length'],0x0)&&await MyReporter[_0x43104d(0x22a)](_0x111f0e);}async[a57_0x9c9622(0x1c0)](){const _0x3b5938=a57_0x9c9622;await RequestQueueHandler[_0x3b5938(0x254)]()[_0x3b5938(0x1a1)]();}async[a57_0x9c9622(0x20e)](_0x2ed76e){const _0x28139b=a57_0x9c9622,_0x5c9454={'KPSmS':function(_0x716c3a){return _0x716c3a();},'aUxjN':function(_0x1019a3,_0xf45a81){return _0x1019a3(_0xf45a81);}};await Promise[_0x28139b(0x26d)](this[_0x28139b(0x298)]),await this['endSession']();try{process[_0x28139b(0x216)]['BROWSERSTACK_O11Y_PERF_MEASUREMENT']&&await _0x5c9454[_0x28139b(0x239)](calculatePerformance);}catch(_0x575b1d){_0x5c9454[_0x28139b(0x28b)](debug,_0x28139b(0x250)+_0x575b1d[_0x28139b(0x1dd)]());}}static async[a57_0x9c9622(0x283)](_0x2487d9,_0x1f0ded){const _0x2a6308=a57_0x9c9622;_0x1f0ded[_0x2a6308(0x297)]=TestDetails[_0x2a6308(0x1cd)](_0x2487d9),await this['reportLogs']([_0x1f0ded]);}static async[a57_0x9c9622(0x22a)](_0x377f7b){const _0x5e2302=a57_0x9c9622,_0x22aab0={};_0x22aab0['UwHdB']='LogCreated';const _0x1d8d9c=_0x22aab0;if(BrowserstackCLI[_0x5e2302(0x254)]()[_0x5e2302(0x263)]())return;const _0x26b4d1={};_0x26b4d1[_0x5e2302(0x1ff)]=_0x1d8d9c[_0x5e2302(0x288)],_0x26b4d1[_0x5e2302(0x222)]=_0x377f7b,await SessionHandler[_0x5e2302(0x296)](_0x26b4d1);}async[a57_0x9c9622(0x266)](_0x3a59ec,_0x18a374,_0x32a1c5,_0x320da7){const _0x2cf805=a57_0x9c9622,_0x1514ab={'EDVht':_0x2cf805(0x293),'xYySw':_0x2cf805(0x25e),'VeVKo':_0x2cf805(0x264),'iUNfD':function(_0x52635f,_0x4a4cd8){return _0x52635f>=_0x4a4cd8;},'AkLiI':function(_0x58f700,_0x76fac4){return _0x58f700===_0x76fac4;},'ZHtGO':_0x2cf805(0x1fd),'EiISt':function(_0xdb77f5,_0x348e9a){return _0xdb77f5>_0x348e9a;},'bayPz':_0x2cf805(0x1c7),'MXLAd':function(_0x45ca8d,_0x437bcd){return _0x45ca8d(_0x437bcd);},'GOMRj':function(_0x14f387,_0x255a05){return _0x14f387(_0x255a05);},'mPFrQ':function(_0x34771e,_0x5ed37c,_0x560669){return _0x34771e(_0x5ed37c,_0x560669);},'FnkKT':_0x2cf805(0x277),'YWFmb':_0x2cf805(0x1dc)},_0x17eb35=this[_0x2cf805(0x206)](_0x3a59ec,_0x18a374),_0x6f1411=this[_0x2cf805(0x19e)][_0x17eb35],_0x3d0104={'uuid':_0x6f1411[_0x2cf805(0x1d9)],'type':_0x1514ab['EDVht'],'hook_type':this[_0x2cf805(0x1e7)](_0x18a374[_0x2cf805(0x215)]),'name':_0x18a374[_0x2cf805(0x215)],'scope':this['getScope'](_0x18a374),'scopes':this[_0x2cf805(0x23e)](_0x3a59ec),'body':{'lang':_0x1514ab['xYySw'],'code':null},'identifier':_0x17eb35,'file_name':path[_0x2cf805(0x1ae)](process[_0x2cf805(0x256)](),_0x3a59ec[_0x2cf805(0x1c5)]['file']),'location':path[_0x2cf805(0x1ae)](process['cwd'](),_0x3a59ec[_0x2cf805(0x1c5)][_0x2cf805(0x246)]),'result':_0x1514ab['VeVKo'],'duration_in_ms':_0x1514ab[_0x2cf805(0x22c)](_0x18a374[_0x2cf805(0x1ad)],0x0)?_0x18a374[_0x2cf805(0x1ad)]:undefined,'vc_filepath':this[_0x2cf805(0x280)]&&_0x3a59ec[_0x2cf805(0x1c5)][_0x2cf805(0x246)]?path[_0x2cf805(0x1ae)](this[_0x2cf805(0x280)],_0x3a59ec[_0x2cf805(0x1c5)][_0x2cf805(0x246)]):undefined,'started_at':_0x6f1411['startedAt'],'finished_at':_0x6f1411[_0x2cf805(0x291)],'framework':FRAMEWORKS[_0x2cf805(0x201)]};if(_0x1514ab[_0x2cf805(0x19d)](_0x32a1c5,_0x1514ab['ZHtGO'])){const {steps:_0x1ebb25,logs:_0x518897}=this[_0x2cf805(0x210)](_0x18a374[_0x2cf805(0x1e6)],_0x6f1411['uuid'],_0x1514ab['EDVht']);_0x518897&&_0x1514ab[_0x2cf805(0x1b0)](_0x518897[_0x2cf805(0x267)],0x0)&&await MyReporter['reportLogs'](_0x518897);const _0x19b033={};_0x19b033[_0x2cf805(0x1e6)]=_0x1ebb25,_0x3d0104[_0x2cf805(0x271)]=_0x19b033;if(_0x18a374[_0x2cf805(0x1b5)]){_0x3d0104[_0x2cf805(0x1d6)]=_0x1514ab[_0x2cf805(0x1af)],_0x3d0104[_0x2cf805(0x242)]=_0x1514ab['MXLAd'](removeAnsiColors,_0x18a374[_0x2cf805(0x1b5)]['message']),_0x3d0104[_0x2cf805(0x1ea)]=_0x1514ab[_0x2cf805(0x1fe)](getFailureType,_0x18a374[_0x2cf805(0x1b5)]['message']);const _0x191bcb=_0x1514ab[_0x2cf805(0x196)](failureData,_0x18a374[_0x2cf805(0x1b5)],_0x1514ab[_0x2cf805(0x1a3)]);if(_0x191bcb&&_0x1514ab[_0x2cf805(0x19d)](_0x191bcb[_0x2cf805(0x267)],0x0)){const _0x4eb078={};_0x4eb078[_0x2cf805(0x24b)]=[_0x3d0104[_0x2cf805(0x242)]],_0x4eb078[_0x2cf805(0x282)]=[],_0x191bcb[_0x2cf805(0x234)](_0x4eb078);}_0x3d0104[_0x2cf805(0x1f6)]=_0x191bcb;}else _0x3d0104['result']=_0x1514ab[_0x2cf805(0x23a)];}const _0x1cba29={};_0x1cba29[_0x2cf805(0x1ff)]=_0x32a1c5,_0x1cba29['hook_run']=_0x3d0104;const _0x5290f6=_0x1cba29;await SessionHandler[_0x2cf805(0x296)](_0x5290f6);}[a57_0x9c9622(0x210)](_0x2ec69d,_0x300a12,_0x5ba587){return helper['getStepsAndLogs'](_0x2ec69d,_0x300a12,_0x5ba587);}async[a57_0x9c9622(0x26f)](_0x3385df,_0xb2fcf5,_0x39c4a8){const _0x2f1498=a57_0x9c9622,_0x32495c={'OYsIr':function(_0x5031c3,_0x57a2db){return _0x5031c3(_0x57a2db);},'bcsoG':_0x2f1498(0x21e),'zkrfo':_0x2f1498(0x227),'jloaA':_0x2f1498(0x269),'WBcvn':'javascript','aLdkg':'pending','RJiZW':function(_0x48eefb,_0x27b2ad,_0x1944e8,_0x2905fb,_0x757df7){return _0x48eefb(_0x27b2ad,_0x1944e8,_0x2905fb,_0x757df7);},'zTofz':function(_0x183f82,_0x25efcb){return _0x183f82>_0x25efcb;},'FCcHU':function(_0x2373dc,_0x41f0a4,_0x43827b){return _0x2373dc(_0x41f0a4,_0x43827b);},'tXJuR':function(_0x2cf3ed,_0x394dc7){return _0x2cf3ed-_0x394dc7;},'enGdI':function(_0x1258f0,_0x35022a){return _0x1258f0===_0x35022a;},'xkHzV':_0x2f1498(0x1f0),'ixEJb':function(_0x41df99,_0x5c044a){return _0x41df99(_0x5c044a);},'YECIF':function(_0x895ecc,_0x4ba1ff){return _0x895ecc===_0x4ba1ff;},'aWHTC':_0x2f1498(0x1b4),'TloPd':_0x2f1498(0x1dc),'nNUZk':function(_0x2fe700,_0x280eb0){return _0x2fe700===_0x280eb0;},'lUMvZ':_0x2f1498(0x1c7),'CqSPH':_0x2f1498(0x1d1),'Rpdpt':function(_0x3c6a69,_0x210aca){return _0x3c6a69===_0x210aca;},'looAn':_0x2f1498(0x1bc),'deHsU':function(_0x2e8601,_0x4e68b6,_0x449345){return _0x2e8601(_0x4e68b6,_0x449345);},'ZCAhR':function(_0x2bb78c,_0x5d0cb7){return _0x2bb78c(_0x5d0cb7);},'rbFLA':function(_0x4351a4,_0x5a5f5d){return _0x4351a4(_0x5a5f5d);},'sNJEi':function(_0x32cb5c,_0x4c3b13){return _0x32cb5c===_0x4c3b13;},'xRgxF':function(_0xb7aeae,_0x2d3f43,_0x5c3ec1){return _0xb7aeae(_0x2d3f43,_0x5c3ec1);},'ZeIzC':_0x2f1498(0x1f4),'vTiDa':function(_0x41933b,_0x32ee4d){return _0x41933b(_0x32ee4d);},'exzxn':_0x2f1498(0x1a8),'HKhMd':_0x2f1498(0x251),'whjbC':function(_0xaace2b,_0x1ef9ca){return _0xaace2b!==_0x1ef9ca;},'rmrFp':function(_0x502519,_0x586b00){return _0x502519===_0x586b00;}},_0x2fa7a0=_0x32495c[_0x2f1498(0x243)](getTestIdentifier,_0x3385df),_0x1be908=this[_0x2f1498(0x220)](_0x3385df),_0x12225a=this[_0x2f1498(0x19e)][_0x2fa7a0],_0x183feb=path['relative'](process[_0x2f1498(0x256)](),_0x3385df[_0x2f1498(0x1c5)][_0x2f1498(0x246)]);await this[_0x2f1498(0x214)]();const _0x2b3a8b={'uuid':_0x12225a['uuid'],'type':_0x32495c[_0x2f1498(0x22b)],'name':_0x3385df['title']||_0x183feb||_0x32495c['jloaA'],'body':{'lang':_0x32495c['WBcvn'],'code':_0x3385df['fn'][_0x2f1498(0x1dd)]()},'scope':_0x1be908,'scopes':this[_0x2f1498(0x23e)](_0x3385df),'identifier':_0x2fa7a0,'file_name':_0x183feb,'location':_0x183feb,'result':_0x32495c['aLdkg'],'duration_in_ms':_0x39c4a8&&_0x39c4a8[_0x2f1498(0x1ad)]?_0x39c4a8['duration']:null,'vc_filepath':this[_0x2f1498(0x280)]&&_0x3385df[_0x2f1498(0x1c5)][_0x2f1498(0x246)]?path[_0x2f1498(0x1ae)](this['_gitConfigPath'],_0x3385df['location']['file']):undefined,'started_at':_0x12225a[_0x2f1498(0x24c)],'finished_at':_0x12225a['finishedAt'],'framework':FRAMEWORKS[_0x2f1498(0x201)],'customRerunParam':{'rerun_name':this[_0x2f1498(0x1a9)](_0x3385df)},'tags':_0x32495c[_0x2f1498(0x243)](getTestTags,_0x3385df)};_0x32495c['RJiZW'](appendTesthubParams,_0x2b3a8b,_0xb2fcf5,_0x3385df,FRAMEWORKS['PLAYWRIGHT']);_0x39c4a8&&_0x32495c[_0x2f1498(0x265)](_0x39c4a8[_0x2f1498(0x284)],0x0)&&(_0x2b3a8b[_0x2f1498(0x1b2)]=TestDetails[_0x2f1498(0x1cd)](_0x32495c[_0x2f1498(0x238)](getTestRunIdentifier,_0x3385df,_0x32495c['tXJuR'](_0x39c4a8[_0x2f1498(0x284)],0x1))));if(_0x32495c[_0x2f1498(0x257)](_0xb2fcf5,_0x32495c[_0x2f1498(0x295)])){try{const _0x479717=TestDetails[_0x2f1498(0x1a4)](_0x12225a['uuid']);_0x479717&&_0x32495c[_0x2f1498(0x265)](Object[_0x2f1498(0x21c)](_0x479717)[_0x2f1498(0x267)],0x0)?_0x2b3a8b[_0x2f1498(0x245)]=_0x479717:_0x32495c[_0x2f1498(0x19a)](debug,_0x2f1498(0x24a)+_0x12225a[_0x2f1498(0x1d9)]+_0x2f1498(0x1f2));}catch(_0x2cae11){_0x32495c[_0x2f1498(0x19a)](debug,_0x2f1498(0x217)+_0x12225a[_0x2f1498(0x1d9)]+':\x20'+util[_0x2f1498(0x19b)](_0x2cae11));}_0x2b3a8b[_0x2f1498(0x1d6)]=_0x39c4a8[_0x2f1498(0x1e0)];if(_0x32495c[_0x2f1498(0x200)](_0x39c4a8['status'],_0x3385df[_0x2f1498(0x1c6)]))_0x2b3a8b[_0x2f1498(0x1d6)]=_0x32495c[_0x2f1498(0x257)](_0x39c4a8[_0x2f1498(0x1e0)],_0x32495c['aWHTC'])?_0x32495c['aWHTC']:_0x32495c[_0x2f1498(0x27c)];else{(_0x32495c[_0x2f1498(0x257)](_0x2b3a8b[_0x2f1498(0x1d6)],_0x32495c[_0x2f1498(0x27c)])||_0x32495c[_0x2f1498(0x1f3)](_0x2b3a8b['result'],_0x32495c['lUMvZ'])||_0x32495c[_0x2f1498(0x200)](_0x2b3a8b[_0x2f1498(0x1d6)],_0x32495c[_0x2f1498(0x1cb)]))&&(_0x2b3a8b[_0x2f1498(0x1d6)]=_0x32495c[_0x2f1498(0x1a6)]);if(_0x32495c['Rpdpt'](_0x39c4a8[_0x2f1498(0x1e0)],_0x32495c[_0x2f1498(0x27c)])&&_0x32495c[_0x2f1498(0x1ce)](_0x3385df[_0x2f1498(0x1c6)],_0x32495c['lUMvZ'])){const _0x1216cb={};_0x1216cb[_0x2f1498(0x21f)]=_0x32495c[_0x2f1498(0x248)],_0x1216cb[_0x2f1498(0x18f)]=_0x32495c[_0x2f1498(0x248)],_0x39c4a8[_0x2f1498(0x1b5)]=_0x1216cb,_0x39c4a8[_0x2f1498(0x28e)]=[_0x39c4a8[_0x2f1498(0x1b5)]];}}const _0x28aadf=_0x32495c[_0x2f1498(0x1a5)](getTestRunIdentifier,_0x3385df,_0x39c4a8[_0x2f1498(0x284)]);_0x2b3a8b[_0x2f1498(0x202)]=this['_testHooksMap'][_0x28aadf];const {steps:_0x22049f,logs:_0x369614}=this['getStepsAndLogs'](_0x39c4a8[_0x2f1498(0x1e6)],_0x12225a['uuid'],_0x32495c[_0x2f1498(0x22b)]);await MyReporter[_0x2f1498(0x22a)](_0x369614);const _0x36f0f2={};_0x36f0f2[_0x2f1498(0x1e6)]=_0x22049f,_0x2b3a8b['meta']=_0x36f0f2;if(_0x39c4a8[_0x2f1498(0x1b5)]){_0x2b3a8b[_0x2f1498(0x242)]=_0x32495c[_0x2f1498(0x1d2)](removeAnsiColors,_0x39c4a8[_0x2f1498(0x1b5)][_0x2f1498(0x21f)]),_0x2b3a8b[_0x2f1498(0x1ea)]=_0x32495c[_0x2f1498(0x226)](getFailureType,_0x39c4a8['error'][_0x2f1498(0x21f)]);const _0x285b56={};_0x285b56[_0x2f1498(0x297)]=_0x12225a[_0x2f1498(0x1d9)];const {failureData:_0x1460aa,logs:_0x493b56}=_0x32495c['deHsU'](getFailureData,_0x39c4a8['errors'],_0x285b56);if(_0x1460aa&&_0x32495c[_0x2f1498(0x219)](_0x1460aa['length'],0x0)){const _0x2fe3a4={};_0x2fe3a4[_0x2f1498(0x24b)]=[_0x2b3a8b['failure_reason']],_0x2fe3a4[_0x2f1498(0x282)]=[],_0x1460aa[_0x2f1498(0x234)](_0x2fe3a4);}_0x2b3a8b[_0x2f1498(0x1f6)]=_0x1460aa,_0x493b56&&_0x32495c[_0x2f1498(0x265)](_0x493b56['length'],0x0)&&await MyReporter[_0x2f1498(0x22a)](_0x493b56);}}let _0x1e800a=_0x32495c[_0x2f1498(0x25a)](findNestedKey,_0x39c4a8,_0x32495c[_0x2f1498(0x290)]);if(_0x1e800a&&_0x32495c['OYsIr'](validateFilePath,_0x1e800a))_0x32495c['vTiDa'](debug,_0x2f1498(0x199)+_0x12225a['uuid']+_0x2f1498(0x232)+_0x1e800a);else{const _0xb4bdd5=path['join'](helper['homedir'](),_0x32495c[_0x2f1498(0x276)]);!fs[_0x2f1498(0x260)](_0xb4bdd5)&&fs[_0x2f1498(0x26c)](_0xb4bdd5),fs[_0x2f1498(0x260)](path[_0x2f1498(0x26b)](_0xb4bdd5,_0x2f1498(0x197)+_0x12225a['uuid']+'.txt'))&&(_0x1e800a=fs[_0x2f1498(0x230)](path[_0x2f1498(0x26b)](_0xb4bdd5,_0x2f1498(0x197)+_0x12225a[_0x2f1498(0x1d9)]+_0x2f1498(0x261)),_0x32495c[_0x2f1498(0x1c1)]),_0x32495c[_0x2f1498(0x226)](debug,_0x2f1498(0x199)+_0x12225a['uuid']+_0x2f1498(0x232)+_0x1e800a));}const _0x460249={};_0x460249[_0x2f1498(0x1ff)]=_0xb2fcf5,_0x460249[_0x2f1498(0x1e9)]=_0x2b3a8b;const _0x5d2afa=_0x460249;_0x1e800a&&_0x32495c[_0x2f1498(0x225)](_0x1e800a,'')&&_0x32495c[_0x2f1498(0x20d)](_0xb2fcf5,_0x32495c[_0x2f1498(0x295)])&&(!_0x5d2afa[_0x2f1498(0x222)]&&(_0x5d2afa[_0x2f1498(0x222)]=[]),_0x1e800a[_0x2f1498(0x262)]('\x0a')[_0x2f1498(0x28a)](_0x1f833a=>{const _0x65242a=_0x2f1498;_0x1f833a&&_0x32495c['OYsIr'](validateFilePath,_0x1f833a)&&_0x5d2afa['logs'][_0x65242a(0x234)]({'kind':_0x32495c[_0x65242a(0x1b7)],'timestamp':new Date()['toISOString'](),'test_run_uuid':_0x12225a[_0x65242a(0x1d9)],'file_name':path[_0x65242a(0x1e2)](_0x1f833a),'file_size':fs[_0x65242a(0x270)](_0x1f833a)[_0x65242a(0x23f)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});})),await SessionHandler[_0x2f1498(0x296)](_0x5d2afa);}[a57_0x9c9622(0x1a9)](_0xfaac5b){const _0x39b0ae=a57_0x9c9622,_0x5c1f2b={};_0x5c1f2b[_0x39b0ae(0x253)]=function(_0x92a182,_0x2c523e){return _0x92a182===_0x2c523e;},_0x5c1f2b[_0x39b0ae(0x1f9)]=function(_0x33fc50,_0xbdcf1d){return _0x33fc50>_0xbdcf1d;},_0x5c1f2b[_0x39b0ae(0x1d3)]=function(_0x1fbfcb,_0x3153fe){return _0x1fbfcb+_0x3153fe;},_0x5c1f2b[_0x39b0ae(0x1c9)]=function(_0x1bfc33,_0x5c06a3){return _0x1bfc33===_0x5c06a3;};const _0x16c995=_0x5c1f2b,_0x2b34dd=_0xfaac5b[_0x39b0ae(0x27f)]()['map'](_0x2d700b=>{const _0x2107e5=_0x39b0ae;if(_0xfaac5b['parent']&&_0x16c995[_0x2107e5(0x253)](_0x2d700b,_0xfaac5b[_0x2107e5(0x1a0)][_0x2107e5(0x215)])&&_0xfaac5b[_0x2107e5(0x1a0)][_0x2107e5(0x25f)]&&_0x16c995[_0x2107e5(0x1f9)](_0xfaac5b['parent'][_0x2107e5(0x25f)]['length'],0x0))return _0x16c995['XMZCD'](_0x16c995[_0x2107e5(0x1d3)](_0x2d700b,'\x20'),_0xfaac5b[_0x2107e5(0x1a0)][_0x2107e5(0x25f)][_0x2107e5(0x26b)]('\x20'));if(_0x16c995[_0x2107e5(0x1c9)](_0x2d700b,_0xfaac5b['title'])&&_0xfaac5b[_0x2107e5(0x25f)]&&_0x16c995['ktVuX'](_0xfaac5b[_0x2107e5(0x25f)]['length'],0x0))return _0x16c995['XMZCD'](_0x16c995['XMZCD'](_0x2d700b,'\x20'),_0xfaac5b[_0x2107e5(0x25f)][_0x2107e5(0x26b)]('\x20'));return _0x2d700b;})['join']('\x20');return _0x2b34dd;}static async[a57_0x9c9622(0x212)](_0x1bf545,_0x343a1f){const _0x17fa79=a57_0x9c9622,_0x5ae3cc={'OwZJa':function(_0x5b84d6,_0x142064){return _0x5b84d6(_0x142064);},'HqfwU':_0x17fa79(0x205)},_0x211009={'uuid':TestDetails[_0x17fa79(0x1cd)](_0x1bf545),'integrations':_0x343a1f},_0x54e163={};_0x54e163[_0x17fa79(0x25b)]=null,_0x5ae3cc[_0x17fa79(0x1ed)](debug,_0x17fa79(0x209)+_0x1bf545+',\x20'+util['inspect'](_0x343a1f,_0x54e163));const _0x264289={};_0x264289[_0x17fa79(0x1ff)]=_0x5ae3cc[_0x17fa79(0x274)],_0x264289[_0x17fa79(0x1e9)]=_0x211009,await SessionHandler[_0x17fa79(0x296)](_0x264289);}async[a57_0x9c9622(0x214)](){const _0x410430=a57_0x9c9622,_0x195983={'FepxH':function(_0x44cb53){return _0x44cb53();}};if(this[_0x410430(0x18e)])return;const _0x57aa2e=await _0x195983[_0x410430(0x21d)](getGitMetaData);_0x57aa2e&&(this['_gitConfigPath']=_0x57aa2e[_0x410430(0x23d)]),this[_0x410430(0x18e)]=!![];}['getHierarchy'](_0x131333){const _0x45b946=a57_0x9c9622,_0x52255f={};_0x52255f[_0x45b946(0x1f8)]=function(_0x1dba8f,_0x2e1737){return _0x1dba8f!==_0x2e1737;};const _0x31fef8=_0x52255f,_0x328144=[];if(_0x131333&&_0x131333[_0x45b946(0x1a0)]){let _0x2427a6=_0x131333[_0x45b946(0x1a0)];while(_0x2427a6&&_0x31fef8[_0x45b946(0x1f8)](_0x2427a6[_0x45b946(0x215)],'')){_0x328144[_0x45b946(0x234)](_0x2427a6[_0x45b946(0x215)]),_0x2427a6=_0x2427a6[_0x45b946(0x1a0)];}}return _0x328144['reverse']()[_0x45b946(0x192)](0x0,0x2),_0x328144;}[a57_0x9c9622(0x204)](_0x5eeb25){const _0x367dc2=a57_0x9c9622,_0x423d0b={};_0x423d0b[_0x367dc2(0x1e4)]=function(_0x3e7d76,_0x2ac7d3){return _0x3e7d76===_0x2ac7d3;},_0x423d0b[_0x367dc2(0x19c)]='test.step',_0x423d0b[_0x367dc2(0x1e3)]=function(_0x2ff7c5,_0x1206c2){return _0x2ff7c5!==_0x1206c2;},_0x423d0b[_0x367dc2(0x1ee)]='hook',_0x423d0b[_0x367dc2(0x1ba)]=_0x367dc2(0x1e1),_0x423d0b['pcHhs']='beforeAll\x20hook',_0x423d0b[_0x367dc2(0x1f5)]=_0x367dc2(0x1ca),_0x423d0b['hRvoP']=_0x367dc2(0x25c);const _0x1a9f25=_0x423d0b;if(_0x1a9f25[_0x367dc2(0x1e4)](_0x5eeb25[_0x367dc2(0x208)],_0x1a9f25[_0x367dc2(0x19c)]))return!![];if(_0x1a9f25[_0x367dc2(0x1e3)](_0x5eeb25[_0x367dc2(0x208)],_0x1a9f25[_0x367dc2(0x1ee)]))return![];if(_0x1a9f25[_0x367dc2(0x1e4)]([_0x1a9f25[_0x367dc2(0x1ba)],_0x1a9f25['pcHhs'],_0x1a9f25[_0x367dc2(0x1f5)],_0x1a9f25[_0x367dc2(0x25d)]][_0x367dc2(0x26e)](_0x5eeb25[_0x367dc2(0x215)]),-0x1))return![];return!![];}[a57_0x9c9622(0x206)](_0x3e85aa,_0x29e9e3){const _0x59e17e=a57_0x9c9622,_0x4af895={'VzPfb':function(_0x2a5658,_0x4f7745){return _0x2a5658(_0x4f7745);}},_0x40feff=_0x29e9e3[_0x59e17e(0x233)];if(_0x40feff)return _0x40feff;return _0x29e9e3[_0x59e17e(0x215)]+_0x59e17e(0x203)+_0x4af895['VzPfb'](getTestIdentifier,_0x3e85aa);}[a57_0x9c9622(0x1a7)](_0x205b47,_0x41e2a3){const _0x270d8c=a57_0x9c9622,_0x4f9ef0={'tsvGQ':function(_0x2ce6b7,_0x29ec3d){return _0x2ce6b7(_0x29ec3d);},'xRJGM':function(_0x291a2d){return _0x291a2d();}};let _0x1f0aca=_0x41e2a3[_0x270d8c(0x215)]+_0x270d8c(0x203)+_0x4f9ef0['tsvGQ'](getTestIdentifier,_0x205b47);return this['_tests'][_0x1f0aca]&&(_0x1f0aca=_0x1f0aca+_0x270d8c(0x28d)+_0x4f9ef0[_0x270d8c(0x252)](uuidv4)),_0x41e2a3['_bs_hookIdentifier']=_0x1f0aca,_0x1f0aca;}[a57_0x9c9622(0x1e7)]=_0x57cca6=>{const _0xf28250=a57_0x9c9622,_0x9320bb={};_0x9320bb[_0xf28250(0x1d8)]='beforeEach\x20hook',_0x9320bb[_0xf28250(0x268)]='BEFORE_EACH',_0x9320bb[_0xf28250(0x1b1)]=_0xf28250(0x272),_0x9320bb[_0xf28250(0x19f)]=_0xf28250(0x1d5),_0x9320bb[_0xf28250(0x23b)]=_0xf28250(0x25c),_0x9320bb['Ocvhb']=_0xf28250(0x1b3),_0x9320bb[_0xf28250(0x229)]=_0xf28250(0x1ca),_0x9320bb[_0xf28250(0x1f7)]=_0xf28250(0x289),_0x9320bb['ucoIW']='unknown';const _0x1e25c7=_0x9320bb;if(_0x57cca6['startsWith'](_0x1e25c7['gGUIy']))return _0x1e25c7['ROSuw'];else{if(_0x57cca6[_0xf28250(0x1b8)](_0x1e25c7[_0xf28250(0x1b1)]))return _0x1e25c7[_0xf28250(0x19f)];else{if(_0x57cca6[_0xf28250(0x1b8)](_0x1e25c7[_0xf28250(0x23b)]))return _0x1e25c7[_0xf28250(0x1f1)];else{if(_0x57cca6[_0xf28250(0x1b8)](_0x1e25c7['DXzHZ']))return _0x1e25c7[_0xf28250(0x1f7)];}}}return _0x1e25c7[_0xf28250(0x213)];};[a57_0x9c9622(0x220)]=_0x2baf7a=>{const _0x5ccebe=a57_0x9c9622,_0x1da113={};_0x1da113['XWHIG']=function(_0x5f3f96,_0x40cf5e){return _0x5f3f96===_0x40cf5e;},_0x1da113['mDSYO']=_0x5ccebe(0x1cf);const _0x3bd842=_0x1da113;let _0x5eb1cb=_0x2baf7a['parent'];return _0x3bd842[_0x5ccebe(0x1d7)](typeof _0x2baf7a[_0x5ccebe(0x1a0)],_0x3bd842[_0x5ccebe(0x1d4)])&&(_0x5eb1cb=_0x5eb1cb[_0x5ccebe(0x215)]),_0x5eb1cb+'\x20-\x20'+_0x2baf7a['title'];};[a57_0x9c9622(0x24d)](){return![];}}module[a57_0x9c9622(0x292)]=o11yClassErrorHandler(MyReporter,['onBegin',a57_0x9c9622(0x1c0),a57_0x9c9622(0x1da),'onTestEnd','onStepBegin',a57_0x9c9622(0x211),'sendSessionDetails'],'MyReporter');function a57_0x5ef7(){const _0x298eb7=['Trace\x20file\x20found\x20for\x20test:\x20','ixEJb','format','XOYdL','AkLiI','_tests','boKRD','parent','shutdown','yEOEe','FnkKT','getIntegrations','deHsU','lUMvZ','setStepIdentifier','.browserstack','getCustomRerunParam','JTfAT','Bhwte','XhaOi','duration','relative','bayPz','EiISt','oghpT','retry_of','AFTER_EACH','skipped','error','BROWSERSTACK_O11Y_PERF_MEASUREMENT','bcsoG','startsWith','../../../helpers/test-observability/utils','tjwkb','pMxnm','Expected\x20to\x20fail,\x20but\x20passed.','Hook\x20Finished\x20with\x20unique\x20id\x20','../../v2/browserstackCLI','10826tdqHxK','endSession','HKhMd','TEST_SCREENSHOT','CDWbx','Test\x20Finished\x20with\x20unique\x20id\x20','location','expectedStatus','failed','DZpCe','lncHS','afterAll\x20hook','CqSPH','startMonitoring','getTestUUID','Rpdpt','object','../../../helpers/test-observability/requestQueueHandler','timedOut','ZCAhR','XMZCD','mDSYO','BEFORE_ALL','result','XWHIG','gGUIy','uuid','onTestBegin','name','passed','toString','../../../helpers/helper','screenshot','status','beforeEach\x20hook','basename','EuPNk','kmIwo','../../v2/state/hookState','steps','getHookType','HookRunStarted','test_run','failure_type','AeQnS','892248pUxlzM','OwZJa','Moyjp','4473049eWzwuJ','TestRunFinished','Ocvhb','\x20—\x20video_url\x20will\x20not\x20surface\x20on\x20Test\x20Health\x20for\x20this\x20test','nNUZk','path','gVNcX','failure','PMrtq','juHcQ','ktVuX','iIYpX','TEST','startTime','HookRunFinished','GOMRj','event_type','YECIF','PLAYWRIGHT','hooks','\x20for\x20','needToReportStep','CBTSessionCreated','getStepIdentifier','mXOpO','category','Sending\x20session\x20details\x20for\x20','jeuuQ','../../../helpers/testhub/utils','6NTkviZ','rmrFp','onEnd','rydha','getStepsAndLogs','onStepEnd','sendSessionDetails','ucoIW','configureGit','title','env','Error\x20reading\x20integrations\x20for\x20test\x20','getTestFramework','sNJEi','mXQBW','XLZTg','keys','FepxH','TEST_ATTACHMENT','message','getScope','Starting\x20sending\x20trace\x20zip\x20for\x20test:\x20','logs','./test-details','\x20is\x20triggered\x20for\x20test\x20','whjbC','rbFLA','test','flRkd','DXzHZ','reportLogs','zkrfo','iUNfD','5416xHAEey','cxLuO','../../../helpers/test-observability/constants','readFileSync','gnOcZ','\x20at\x20','_bs_hookIdentifier','push','qGJCe','TEST_STEP','Hook\x20Started\x20with\x20unique\x20id\x20','FCcHU','KPSmS','YWFmb','hHOla','BROWSERSTACK_TEST_RUN_ID','root','getHierarchy','size','127584kEewAz','1510dHNCDn','failure_reason','OYsIr','HPfln','integrations','file','_testHooksMap','looAn','460433JdTFzS','No\x20integrations\x20found\x20for\x20test\x20','backtrace','startedAt','printsToStdio','wdyAO','949023lktGvs','Error\x20in\x20calculating\x20performance:\x20','utf8','xRJGM','XIHBq','getInstance','step','cwd','enGdI','setup','util','xRgxF','depth','afterEach\x20hook','hRvoP','javascript','_tags','existsSync','.txt','split','isRunning','pending','zTofz','sendHookRunEvent','length','ROSuw','untitled\x20test','getTime','join','mkdirSync','all','indexOf','sendTestRunEvent','statSync','meta','beforeAll\x20hook','toISOString','HqfwU','\x20is\x20triggered','exzxn','err','attachments','POST','onStepBegin','PRE','TloPd','../../../../src/bin/utils/constants','base64','titlePath','_gitConfigPath','1|3|2|5|7|0|4|6','expanded','addTestUIDAndReportLog','retry','TestRunStarted','START_TIME','test.step','UwHdB','AFTER_ALL','forEach','aUxjN','Error\x20in\x20sending\x20trace\x20zip:\x20%s','\x20-\x20','errors','onTestEnd','ZeIzC','finishedAt','exports','hook','Error\x20in\x20sending\x20test\x20run\x20event:\x20%s','xkHzV','uploadEventData','test_run_uuid','_trackedEvents','_gitConfigured','stack','VEPtl','YEvtd','splice','performance-report-reporter.json','cPFml','SmpEB','mPFrQ','trace_','trackEvent'];a57_0x5ef7=function(){return _0x298eb7;};return a57_0x5ef7();}