browserstack-node-sdk 1.55.3 → 1.55.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (198) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/newman/command.js +1 -1
  79. package/src/bin/newman/helper.js +1 -1
  80. package/src/bin/newman/reporter/index.js +1 -1
  81. package/src/bin/newman/scriptRunner.js +1 -1
  82. package/src/bin/nightwatch/command.js +1 -1
  83. package/src/bin/playwright/accessibility-helper.js +1 -1
  84. package/src/bin/playwright/command.js +1 -1
  85. package/src/bin/playwright/globalSetup.js +1 -1
  86. package/src/bin/playwright/mock-process.js +1 -1
  87. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  88. package/src/bin/playwright/patches.js +1 -1
  89. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  90. package/src/bin/playwright/reporter/reporter.js +1 -1
  91. package/src/bin/playwright/reporter/test-details.js +1 -1
  92. package/src/bin/playwright/sessionDetails.js +1 -1
  93. package/src/bin/puppeteer/patches.js +1 -1
  94. package/src/bin/puppeteer/sessionDetails.js +1 -1
  95. package/src/bin/puppeteer/test.setup.js +1 -1
  96. package/src/bin/runner.js +1 -1
  97. package/src/bin/setup.js +1 -1
  98. package/src/bin/test-runner/index.js +1 -1
  99. package/src/bin/test-runner/runTest.js +1 -1
  100. package/src/bin/test-runner/testWorker.js +1 -1
  101. package/src/bin/utils/apiUtilityMethods.js +1 -1
  102. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  103. package/src/bin/utils/constants.js +1 -1
  104. package/src/bin/utils/log4jsAppender.js +1 -1
  105. package/src/bin/utils/logPatcher.js +1 -1
  106. package/src/bin/utils/logReportingAPI.js +1 -1
  107. package/src/bin/utils/playwright-patcher.js +1 -1
  108. package/src/bin/utils/puppeteer-patcher.js +1 -1
  109. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  110. package/src/bin/utils/sharedUtils.js +1 -1
  111. package/src/bin/v2/TestInfo.js +1 -1
  112. package/src/bin/v2/browserstackCLI.js +1 -1
  113. package/src/bin/v2/cliUtils.js +1 -1
  114. package/src/bin/v2/customTagManager.js +1 -1
  115. package/src/bin/v2/eventDispatcher.js +1 -1
  116. package/src/bin/v2/framework/automationFramework.js +1 -1
  117. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  118. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  119. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  120. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  121. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  122. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  123. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  124. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  125. package/src/bin/v2/framework/testFramework.js +1 -1
  126. package/src/bin/v2/grpcClient.js +1 -1
  127. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  128. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  129. package/src/bin/v2/instances/trackedContext.js +1 -1
  130. package/src/bin/v2/instances/trackedInstance.js +1 -1
  131. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  132. package/src/bin/v2/modules/baseModule.js +1 -1
  133. package/src/bin/v2/modules/loadTestModule.js +1 -1
  134. package/src/bin/v2/modules/observabilityModule.js +1 -1
  135. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  136. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  137. package/src/bin/v2/modules/testhubModule.js +1 -1
  138. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  139. package/src/bin/v2/state/hookState.js +1 -1
  140. package/src/bin/v2/state/testFrameworkState.js +1 -1
  141. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  142. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  143. package/src/bin/v2/utils/jest-utils.js +1 -1
  144. package/src/bin/vanilla-js/command.js +1 -1
  145. package/src/browserStackSdk.js +1 -1
  146. package/src/helpers/BrowserStackSetup.js +1 -1
  147. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  148. package/src/helpers/accessibility-automation/constants.js +1 -1
  149. package/src/helpers/accessibility-automation/helper.js +1 -1
  150. package/src/helpers/accessibility-automation/scripts.js +1 -1
  151. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  152. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  153. package/src/helpers/ats/constants.js +1 -1
  154. package/src/helpers/ats/helper.js +1 -1
  155. package/src/helpers/capsMapping.js +1 -1
  156. package/src/helpers/central-scanner/constants.js +1 -1
  157. package/src/helpers/central-scanner/helpers.js +1 -1
  158. package/src/helpers/classLogger.js +1 -1
  159. package/src/helpers/globals.js +1 -1
  160. package/src/helpers/helper.js +1 -1
  161. package/src/helpers/logger.js +1 -1
  162. package/src/helpers/metadata.js +1 -1
  163. package/src/helpers/patchHelper.js +1 -1
  164. package/src/helpers/patchHelpers.js +1 -1
  165. package/src/helpers/percy/Percy.js +1 -1
  166. package/src/helpers/percy/PercyBinary.js +1 -1
  167. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  168. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  169. package/src/helpers/percy/PercySDK.js +1 -1
  170. package/src/helpers/percy/index.js +1 -1
  171. package/src/helpers/percy/utils.js +1 -1
  172. package/src/helpers/performance/constants.js +1 -1
  173. package/src/helpers/performance/performance-tester.js +1 -1
  174. package/src/helpers/playwright-helper.js +1 -1
  175. package/src/helpers/processHelper.js +1 -1
  176. package/src/helpers/puppeteer-helper.js +1 -1
  177. package/src/helpers/request-spy.js +1 -1
  178. package/src/helpers/setKeepAlive.js +1 -1
  179. package/src/helpers/test-observability/constants.js +1 -1
  180. package/src/helpers/test-observability/error-handler.js +1 -1
  181. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  182. package/src/helpers/test-observability/sessionHandler.js +1 -1
  183. package/src/helpers/test-observability/utils.js +1 -1
  184. package/src/helpers/test-orchestration/constants.js +1 -1
  185. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  186. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  187. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  188. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  189. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  190. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  191. package/src/helpers/testhub/constants.js +1 -1
  192. package/src/helpers/testhub/testhubHandler.js +1 -1
  193. package/src/helpers/testhub/utils.js +1 -1
  194. package/src/helpers/timeoutPromise.js +1 -1
  195. package/src/helpers/utilities.js +1 -1
  196. package/src/helpers/w3cMapping.js +1 -1
  197. package/src/hubAllocationMethods.js +1 -1
  198. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a1_0x2aeb70=a1_0xf087;(function(_0x3e539a,_0x29509b){const _0x1f75a9=a1_0xf087,_0x6b56f=_0x3e539a();while(!![]){try{const _0x48125b=parseInt(_0x1f75a9(0x24a))/0x1+-parseInt(_0x1f75a9(0x279))/0x2*(-parseInt(_0x1f75a9(0x1d2))/0x3)+-parseInt(_0x1f75a9(0x217))/0x4+parseInt(_0x1f75a9(0x25a))/0x5+parseInt(_0x1f75a9(0x23a))/0x6*(-parseInt(_0x1f75a9(0x1ee))/0x7)+parseInt(_0x1f75a9(0x275))/0x8*(parseInt(_0x1f75a9(0x201))/0x9)+parseInt(_0x1f75a9(0x224))/0xa*(-parseInt(_0x1f75a9(0x23d))/0xb);if(_0x48125b===_0x29509b)break;else _0x6b56f['push'](_0x6b56f['shift']());}catch(_0x51adb2){_0x6b56f['push'](_0x6b56f['shift']());}}}(a1_0x5a36,0x929a9));function a1_0x5a36(){const _0x26c37c=['rGzmq','jmFLo','ENV_VAR','zLdVb','failed','debug','addRequestSpy','Failed\x20to\x20execute\x20_before:\x20','\x0aStack:\x20','a11y_core_config','xjomA','HOOK_RUN_FINISHED','pCFMm','before','qHiFW','TEST_SCREENSHOT','hook','VmmNC','uFhSC','skipSessionName','248VAloFO','BROWSERSTACK_TESTHUB_JWT','test-skipped','currentTest','106YNlIIg','event','string','commandsToWrap','testAnalyticsId','HOOK_RUN_STARTED','version','name','performScan','TEST_RUN_STARTED','SDK_TEST','__driver','nBHfU','INFO','jHzdH','../../helpers/globals.js','test-failed','args','oZyhP','reason','patchSaveScreenshot','RdKSy','../../helpers/logger','Playwright','iQexp','kfgan','includes','Screenshot\x20path\x20not\x20found','split','util','VaQPr','WebDriver','__skipSessionStatus','wjGWv','CQLwb','GET_RESULTS','readFileSync','domForge','hookType','measureWrapper','setSessionStatus','toISOString','BS_TESTOPS_ALLOW_SCREENSHOTS','SDK_POST_TEST','GAQOg','bYGDY','./o11yHelper','apply','setGlobal','MdclC','screenshotOutputFolder','PCfWg','codeceptjs','thTestRunUuid','pgFhu','Performing\x20scan\x20for\x20','SDK_HOOK','accessibilityPlatform','XQSWU','GFXss','Puppeteer','page','KCNLC','class','iRbbo','browser','hook-passed','pid','testFramework','started','end','nrkfY','constructor','filter','RcdNH','devtools://','action','bind','contexts','restore','--auto-open-devtools-for-tabs','xlWdq','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','slice','getSyncScript','bddStepStart','test','url','../../helpers/accessibility-automation/scripts','ssZpc','hJyKM','ErSah','../../helpers/testhub/constants.js','Element','FRAMEWORK_DETAILS','OCWWv','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','all','19347znTAHP','XVNGG','skipSessionStatus','jAYgf','BROWSERSTACK_TESTHUB_UUID','status','fireEvent','chromium','WKNSE','GwrGV','test-before','startsWith','../../helpers/performance/constants','passed','warn','SESSION_STATUS','fHAwW','PERFORM_SCAN','VmBQD','call','wkVSK','_setPage','NjWMS','wlODG','pages','forEach','afterTest','arguments','651DDUGLM','bddStep-before','bstackAllyScanning','setSessionName','bddStep','SYNC','JsOXj','initSaveScreenshot','format','after','executeScript','SDK_POST_INITIALIZE','base64','command','skipped','ziyRa','prototype','startMonitoring','TEST_LOG','333279ZWzrKp','TWWna','then','bddStepFinish','ueWYF','wWHTD','SAVE_RESULTS','config','Suite','env','ctgZH','overwriteCommand','saveScreenshot','bddStep-after','../../helpers/accessibility-automation/helper','ymGOF','parse','captureEvent','isArray','rvpsh','eGaIg','toString','627644gmdPLZ','captureError','togjT','getResults','enabled','SDK_PRE_TEST','cmfCb','stringify','_before','../../helpers/request-spy','../../helpers/test-observability/utils','MHXrv','helpers','111730exjNED','VwthA','titlePath','hook-failed','Failed\x20to\x20patch\x20pages\x20method\x20in\x20browserContext\x20for\x20a11y\x20domForge:\x20','codeceptjs/lib/helper/Playwright.js','winstonLogger','__workerDetails','ONogk','wAJar','FEAFw','oVBhl','bs:addLog:','ctx','vkKuF','start','saveTestResults','SisdD','SESSION_NAME','Pciiq','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','getAccessibilityResults','50142Jxesol','XzKQB','dCJrx','319mKZxTc','AjkqM','CnBbX','stack','getAccessibilityResultsSummary','browserContext','browserStackExecuteDriver','browserstack_executor:\x20','gWTtB','title','BS_A11Y_JWT','../../helpers/performance/performance-tester','comment','262134UwAFCe','push','iWTXJ','./helper.js','ksfFy','XGqyi','add','cwFZT','../../helpers/helper','../../bin/playwright/sessionDetails','TEST_RUN_SKIPPED','TEST_RUN_FINISHED','thBuildUuid','dispatcher','AClkr','emit','533630URuEIK','lsOJQ','exports','PNGlT','ciYlW','container','step-comment'];a1_0x5a36=function(){return _0x26c37c;};return a1_0x5a36();}const fs=require('fs'),util=require(a1_0x2aeb70(0x296)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x2aeb70(0x252)),logger=require(a1_0x2aeb70(0x28f))[a1_0x2aeb70(0x22a)],testOpsHelper=require(a1_0x2aeb70(0x221)),requestSpy=require(a1_0x2aeb70(0x220)),PlaywrightSessionDetails=require(a1_0x2aeb70(0x253)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x2aeb70(0x2a7)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x2aeb70(0x20f)),AccessibilityHelper=require('../../bin/playwright/accessibility-helper'),scripts=require(a1_0x2aeb70(0x1c7)),PerformanceTester=require(a1_0x2aeb70(0x248)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x2aeb70(0x1de)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x2aeb70(0x24d)),testHubConstants=require(a1_0x2aeb70(0x1cb)),globals=require(a1_0x2aeb70(0x288)),CodeceptJS=requireModule('codeceptjs/lib/index.js',a1_0x2aeb70(0x1a3)),CodeceptUtils=requireModule('codeceptjs/lib/utils.js',a1_0x2aeb70(0x1a3)),CodeceptWebDriver=requireModule('codeceptjs/lib/helper/WebDriver.js',a1_0x2aeb70(0x1a3)),CodeceptRecorder=requireModule('codeceptjs/lib/recorder.js',a1_0x2aeb70(0x1a3)),CodeceptPlaywright=requireModule(a1_0x2aeb70(0x229),a1_0x2aeb70(0x1a3)),playwrightMarkSessionStatus=(_0x55a04,_0x3ad385,_0x49cc2f)=>{const _0x7a3357=a1_0x2aeb70,_0x1eda90={'Pciiq':_0x7a3357(0x2a1),'ssZpc':function(_0x401fba,_0x5d2f5a){return _0x401fba(_0x5d2f5a);}},_0x31f12e={};_0x31f12e[_0x7a3357(0x1d7)]=_0x3ad385;const _0x3f11fa={};_0x3f11fa[_0x7a3357(0x1bb)]=_0x1eda90[_0x7a3357(0x237)],_0x3f11fa[_0x7a3357(0x1ed)]=_0x31f12e;const _0x4fd046=_0x3f11fa;return!_0x1eda90[_0x7a3357(0x1c8)](isUndefined,_0x49cc2f)&&(_0x4fd046[_0x7a3357(0x1ed)][_0x7a3357(0x28c)]=JSON[_0x7a3357(0x21e)](_0x49cc2f)),_0x55a04[_0x7a3357(0x1f8)](()=>{},_0x7a3357(0x244)+JSON[_0x7a3357(0x21e)](_0x4fd046));},o11ySync=PerformanceTester[a1_0x2aeb70(0x2a0)](PerformanceO11yEvents[a1_0x2aeb70(0x1f3)],async _0x3d9ead=>{const _0x1af297=a1_0x2aeb70,_0x390965={};_0x390965[_0x1af297(0x1ad)]=function(_0x221c99,_0x4e33ac){return _0x221c99===_0x4e33ac;},_0x390965[_0x1af297(0x25e)]=_0x1af297(0x290);const _0x162ba5=_0x390965;_0x162ba5[_0x1af297(0x1ad)](_0x3d9ead[_0x1af297(0x1b7)][_0x1af297(0x280)],_0x162ba5[_0x1af297(0x25e)])?await _0x3d9ead[_0x1af297(0x1f8)](_0x51312c=>{},testOpsHelper[_0x1af297(0x1c3)]()):await _0x3d9ead[_0x1af297(0x1f8)](testOpsHelper[_0x1af297(0x1c3)]());}),markSessionName=PerformanceTester[a1_0x2aeb70(0x2a0)](PerformanceAutEvents[a1_0x2aeb70(0x236)],async(_0x1d6ad0,_0x4a87b2)=>{const _0xaf232c=a1_0x2aeb70,_0x455db2={};_0x455db2[_0xaf232c(0x2a6)]=_0xaf232c(0x1f1),_0x455db2[_0xaf232c(0x1a2)]=function(_0x2b92fe,_0x411252){return _0x2b92fe===_0x411252;},_0x455db2['SisdD']=_0xaf232c(0x290);const _0x226528=_0x455db2,_0x3d9df3={};_0x3d9df3[_0xaf232c(0x280)]=_0x4a87b2;const _0x5f54b1={};_0x5f54b1[_0xaf232c(0x1bb)]=_0x226528[_0xaf232c(0x2a6)],_0x5f54b1[_0xaf232c(0x1ed)]=_0x3d9df3;const _0x1e0f91=_0x5f54b1;_0x226528['PCfWg'](_0x1d6ad0[_0xaf232c(0x1b7)][_0xaf232c(0x280)],_0x226528[_0xaf232c(0x235)])?await _0x1d6ad0[_0xaf232c(0x1f8)](()=>{},_0xaf232c(0x244)+JSON[_0xaf232c(0x21e)](_0x1e0f91)):await _0x1d6ad0[_0xaf232c(0x1f8)](_0xaf232c(0x244)+JSON[_0xaf232c(0x21e)](_0x1e0f91));}),patchSaveScreenshot=_0x3b1904=>{const _0x31d028=a1_0x2aeb70,_0x21fa84={'lVEEn':_0x31d028(0x1fa),'kfgan':_0x31d028(0x270),'PNGlT':function(_0x153cfa){return _0x153cfa();},'XGqyi':function(_0x4f6c7b,_0x3148a6){return _0x4f6c7b(_0x3148a6);},'uFhSC':_0x31d028(0x294)};_0x21fa84[_0x31d028(0x24f)](isTrue,process['env'][_0x31d028(0x2a3)])&&!_0x3b1904[_0x31d028(0x28d)]&&(_0x3b1904[_0x31d028(0x28d)]=!![],_0x3b1904[_0x31d028(0x1f5)]=_0x3b1904[_0x31d028(0x20d)],_0x3b1904[_0x31d028(0x20d)]=(_0x2f939a,_0x3564f4=![])=>{const _0x4ce6b7=_0x31d028,_0x1864a9={'XzKQB':_0x21fa84['lVEEn'],'cmfCb':_0x21fa84[_0x4ce6b7(0x292)],'ZtAWM':function(_0xdaa3bc){const _0x3c928f=_0x4ce6b7;return _0x21fa84[_0x3c928f(0x25d)](_0xdaa3bc);},'zLdVb':function(_0xb24639,_0x21af0a){const _0x4dfa2d=_0x4ce6b7;return _0x21fa84[_0x4dfa2d(0x24f)](_0xb24639,_0x21af0a);},'ONogk':_0x21fa84[_0x4ce6b7(0x273)]};return new Promise(function(_0x452a84,_0x58fe3c){const _0x2f2b3e=_0x4ce6b7;_0x3b1904[_0x2f2b3e(0x1f5)](_0x2f939a,_0x3564f4)[_0x2f2b3e(0x203)](()=>{const _0x1872fd=_0x2f2b3e,_0x1cb427=CodeceptUtils[_0x1872fd(0x1a1)](_0x2f939a);if(_0x1cb427){const _0x3dd763=fs[_0x1872fd(0x29d)](_0x1cb427);process[_0x1872fd(0x259)](_0x1872fd(0x230)+process[_0x1872fd(0x1b2)],{'timestamp':new Date()['toISOString'](),'message':_0x3dd763[_0x1872fd(0x216)](_0x1864a9[_0x1872fd(0x23b)]),'kind':_0x1864a9[_0x1872fd(0x21d)]}),_0x1864a9['ZtAWM'](_0x452a84);}_0x1864a9[_0x1872fd(0x264)](_0x58fe3c,new Error(_0x1864a9[_0x1872fd(0x22c)]));})['catch'](()=>null);});});},patchWebDriverBefore=_0x44b6a4=>{const _0x5a63ca=a1_0x2aeb70,_0x2d6d17={'TWWna':function(_0x6f5b86){return _0x6f5b86();},'GFXss':function(_0x74abe0,_0x399042){return _0x74abe0(_0x399042);},'CnBbX':function(_0x52fae0,_0x2722f9){return _0x52fae0===_0x2722f9;},'pccWM':'webdriverio','FEAFw':_0x5a63ca(0x27b),'ymGOF':function(_0x235a13,_0x3d8413){return _0x235a13===_0x3d8413;},'NjWMS':_0x5a63ca(0x1cc),'ctgZH':function(_0x13f62d,_0x263671){return _0x13f62d(_0x263671);}},_0xb389de=async function(_0x14bef4,_0x35fcb1){const _0xc3fe55=_0x5a63ca;_0x2d6d17[_0xc3fe55(0x202)](isAccessibilityAutomationSession)&&!global[_0xc3fe55(0x1f0)]&&global[_0xc3fe55(0x1a8)]&&scripts['shouldWrapCommand'](_0x14bef4['name'])&&_0x2d6d17[_0xc3fe55(0x1aa)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0xc3fe55(0x1f0)]=!![],await PerformanceTester[_0xc3fe55(0x2a0)](PerformanceA11yEvents[_0xc3fe55(0x1e3)],async()=>{const _0x5b69e6=_0xc3fe55;logger[_0x5b69e6(0x266)](_0x5b69e6(0x1a6)+_0x14bef4[_0x5b69e6(0x1ae)]+'\x20'+_0x14bef4[_0x5b69e6(0x280)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x44b6a4,scripts[_0x5b69e6(0x281)]);},{'command':_0x14bef4[_0xc3fe55(0x280)]})());global['bstackAllyScanning']=![];const _0x36032f=JSON[_0xc3fe55(0x211)](process[_0xc3fe55(0x20a)][_0xc3fe55(0x1cd)]||'{}');if(_0x2d6d17[_0xc3fe55(0x23f)](_0x36032f?.[_0xc3fe55(0x1b3)]?.['name'],_0x2d6d17['pccWM'])&&_0x2d6d17[_0xc3fe55(0x23f)](typeof _0x36032f?.[_0xc3fe55(0x1b3)]?.[_0xc3fe55(0x27f)],_0x2d6d17[_0xc3fe55(0x22e)])&&_0x36032f?.[_0xc3fe55(0x1b3)]?.[_0xc3fe55(0x27f)][_0xc3fe55(0x1dd)]('7'))return _0x35fcb1[_0xc3fe55(0x2a8)](null,Array[_0xc3fe55(0x1fe)][_0xc3fe55(0x1c2)][_0xc3fe55(0x1e5)](arguments,0x2));return _0x35fcb1[_0xc3fe55(0x2a8)](this,Array[_0xc3fe55(0x1fe)][_0xc3fe55(0x1c2)]['call'](arguments,0x2));},_0x24ef1c=CodeceptWebDriver[_0x5a63ca(0x1fe)][_0x5a63ca(0x21f)];CodeceptWebDriver['prototype'][_0x5a63ca(0x21f)]=async function(){const _0xc222b=_0x5a63ca,_0x3c2640={'hzUhv':function(_0x36b0df,_0xe4f283){const _0x490285=a1_0xf087;return _0x2d6d17[_0x490285(0x210)](_0x36b0df,_0xe4f283);},'vkKuF':_0x2d6d17[_0xc222b(0x1e8)]};try{await _0x24ef1c[_0xc222b(0x2a8)](this,arguments);}catch(_0x5533f6){logger['debug'](_0xc222b(0x268)+util[_0xc222b(0x1f6)](_0x5533f6));}scripts[_0xc222b(0x27c)][_0xc222b(0x1b8)](_0x298e3a=>_0x298e3a[_0xc222b(0x280)]&&_0x298e3a[_0xc222b(0x1ae)])[_0xc222b(0x1eb)](_0x594c11=>{const _0xc31831=_0xc222b;this['browser'][_0xc31831(0x20c)](_0x594c11[_0xc31831(0x280)],_0xb389de['bind'](this,_0x594c11),_0x3c2640['hzUhv'](_0x594c11[_0xc31831(0x1ae)],_0x3c2640[_0xc31831(0x232)]));}),_0x2d6d17[_0xc222b(0x20b)](processWebDriverConfig,_0x44b6a4);};};function parseJwt(_0x20f545){const _0x2fec42=a1_0x2aeb70,_0x56a457={};_0x56a457[_0x2fec42(0x22d)]=_0x2fec42(0x1fa);const _0x64d6f2=_0x56a457;if(!_0x20f545)return null;return JSON['parse'](Buffer['from'](_0x20f545[_0x2fec42(0x295)]('.')[0x1],_0x64d6f2['wAJar'])['toString']());}const patchPlaywrightBefore=()=>{const _0x399ce3=a1_0x2aeb70,_0x5cfd36={'VmmNC':function(_0x99f56c){return _0x99f56c();},'Xxexu':_0x399ce3(0x1ba),'fHAwW':_0x399ce3(0x1bf),'XqKyW':function(_0x338ebc,_0x12f964){return _0x338ebc(_0x12f964);},'iRbbo':function(_0x432894,_0x5f2d43){return _0x432894+_0x5f2d43;},'AClkr':_0x399ce3(0x269),'ErSah':function(_0x3a9ca8){return _0x3a9ca8();},'GAQOg':function(_0x47f3e1){return _0x47f3e1();}};PlaywrightSessionDetails['patch']();const _0x4b98ae=CodeceptPlaywright['prototype'][_0x399ce3(0x21f)];CodeceptPlaywright[_0x399ce3(0x1fe)][_0x399ce3(0x21f)]=async function(){const _0x475571=_0x399ce3,_0x33b345={'pCFMm':function(_0x25927b){const _0x1083d7=a1_0xf087;return _0x5cfd36[_0x1083d7(0x272)](_0x25927b);},'rGzmq':_0x5cfd36['Xxexu'],'hJyKM':_0x5cfd36[_0x475571(0x1e2)],'VmBQD':function(_0x24834a,_0x3c36eb){return _0x5cfd36['XqKyW'](_0x24834a,_0x3c36eb);},'jmFLo':function(_0x251760,_0x444a50){const _0x3cb0bb=_0x475571;return _0x5cfd36[_0x3cb0bb(0x1af)](_0x251760,_0x444a50);},'JdubC':_0x5cfd36[_0x475571(0x258)]};this[_0x475571(0x242)]=await this[_0x475571(0x1b0)][_0x475571(0x1bd)]()[0x0];const _0x2690e4=async()=>{const _0x4e1a99=_0x475571,_0x2dea2d=this[_0x4e1a99(0x208)]&&this[_0x4e1a99(0x208)]['chromium']&&this[_0x4e1a99(0x208)][_0x4e1a99(0x1d9)]['args']&&Array[_0x4e1a99(0x213)](this[_0x4e1a99(0x208)][_0x4e1a99(0x1d9)]['args'])&&this['config']['chromium'][_0x4e1a99(0x28a)][_0x4e1a99(0x293)](_0x33b345[_0x4e1a99(0x1c9)]);if(_0x33b345[_0x4e1a99(0x26d)](isAccessibilityAutomationSession)&&!_0x2dea2d)try{const _0x23198c=_0x33b345[_0x4e1a99(0x1e4)](parseJwt,process['env'][_0x4e1a99(0x247)]);if(_0x23198c&&_0x23198c[_0x4e1a99(0x26a)]&&_0x23198c[_0x4e1a99(0x26a)][_0x4e1a99(0x29e)]){const _0x5684f1=this[_0x4e1a99(0x242)]['pages'][_0x4e1a99(0x1bc)](this[_0x4e1a99(0x242)]);this[_0x4e1a99(0x242)][_0x4e1a99(0x1ea)]=async function(){const _0x5bb63f=_0x4e1a99,_0x276a8f=await _0x33b345['pCFMm'](_0x5684f1),_0x34a0d3=[];for(const _0x2b5f66 of _0x276a8f){try{const _0x462a3f=await _0x2b5f66[_0x5bb63f(0x1c6)]();!_0x462a3f[_0x5bb63f(0x1dd)](_0x33b345[_0x5bb63f(0x261)])&&_0x34a0d3['push'](_0x2b5f66);}catch(_0x247d6c){_0x34a0d3[_0x5bb63f(0x24b)](_0x2b5f66);}}return _0x34a0d3;};}if(!_0x33b345['pCFMm'](isBrowserstackInfra)){const _0x4214d6=await this[_0x4e1a99(0x1ac)]['url']();if(_0x4214d6[_0x4e1a99(0x1dd)](_0x33b345[_0x4e1a99(0x261)])){const _0x371dd7=await this['browserContext']['pages']();this[_0x4e1a99(0x1e7)](_0x371dd7[0x0]);}}}catch(_0x4c7a69){logger[_0x4e1a99(0x266)](_0x4e1a99(0x228)+_0x4c7a69['message']+(_0x4c7a69['stack']?_0x33b345[_0x4e1a99(0x262)](_0x33b345['JdubC'],_0x4c7a69[_0x4e1a99(0x240)]):''));}};_0x5cfd36[_0x475571(0x1ca)](isBrowserstackInfra)&&await _0x5cfd36[_0x475571(0x2a5)](_0x2690e4),await _0x4b98ae[_0x475571(0x2a8)](this,arguments),!_0x5cfd36['GAQOg'](isBrowserstackInfra)&&await _0x5cfd36[_0x475571(0x2a5)](_0x2690e4);};},getCodeceptDriver=()=>{const _0x2b4b7d=a1_0x2aeb70,_0x38d91d={};_0x38d91d[_0x2b4b7d(0x1ce)]=_0x2b4b7d(0x298),_0x38d91d['EcpAO']='Playwright',_0x38d91d[_0x2b4b7d(0x1b9)]=_0x2b4b7d(0x1ab),_0x38d91d[_0x2b4b7d(0x205)]='TestCafe';const _0x48b715=_0x38d91d,_0x2d80b5=[_0x48b715[_0x2b4b7d(0x1ce)],_0x48b715['EcpAO'],_0x48b715[_0x2b4b7d(0x1b9)],_0x48b715['ueWYF']],_0x3313bf=_0x2d80b5['find'](_0x2aa6b6=>!!CodeceptJS[_0x2b4b7d(0x25f)]['helpers'](_0x2aa6b6));if(!_0x3313bf)return null;return CodeceptJS[_0x2b4b7d(0x25f)]['helpers'](_0x3313bf);};function a1_0xf087(_0x399d0f,_0x48b90c){const _0x5a368d=a1_0x5a36();return a1_0xf087=function(_0xf08777,_0x38efb1){_0xf08777=_0xf08777-0x1a1;let _0x1b582a=_0x5a368d[_0xf08777];return _0x1b582a;},a1_0xf087(_0x399d0f,_0x48b90c);}module[a1_0x2aeb70(0x25c)]=function(_0x4fb186){const _0x387037=a1_0x2aeb70,_0x33bd46={'MHXrv':function(_0x15ce6d){return _0x15ce6d();},'dCJrx':function(_0x227fee,_0x4bfce1){return _0x227fee(_0x4bfce1);},'pgFhu':_0x387037(0x241),'apLTG':_0x387037(0x238),'MdclC':_0x387037(0x239),'AdKgn':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','AjkqM':'hook-started','iWTXJ':_0x387037(0x1b1),'wlODG':_0x387037(0x227),'jAYgf':'browserstackTestName','oZyhP':function(_0xf01bf1){return _0xf01bf1();},'cwFZT':_0x387037(0x1dc),'sdvUb':function(_0x6f754a){return _0x6f754a();},'wkVSK':function(_0xc19b3e,_0x1d6f24,_0x66e027){return _0xc19b3e(_0x1d6f24,_0x66e027);},'RdKSy':'test-started','ksfFy':function(_0x1fba21,_0x9a019b,_0x5f3c2c){return _0x1fba21(_0x9a019b,_0x5f3c2c);},'wWHTD':'test-passed','SOxol':function(_0x406916,_0x85f535,_0x1cabb1,_0x1a1a65){return _0x406916(_0x85f535,_0x1cabb1,_0x1a1a65);},'GwrGV':function(_0x354def,_0x7dd702,_0x54fadf,_0x1b90ea){return _0x354def(_0x7dd702,_0x54fadf,_0x1b90ea);},'mBmUb':function(_0x5c13b2,_0x45556f){return _0x5c13b2===_0x45556f;},'gWTtB':_0x387037(0x209),'XnAvJ':_0x387037(0x289),'togjT':_0x387037(0x277),'JsOXj':_0x387037(0x1ec),'ziyRa':'isMobilePlatform','XQSWU':_0x387037(0x1c1),'wjGWv':'test-after','iQexp':_0x387037(0x286),'jHzdH':_0x387037(0x200),'VaQPr':_0x387037(0x260),'WKNSE':_0x387037(0x1ef),'oVBhl':_0x387037(0x20e),'nrkfY':function(_0x475a12){return _0x475a12();},'VwthA':_0x387037(0x290)};_0x4fb186[_0x387037(0x1d4)]&&(global[_0x387037(0x299)]=_0x4fb186[_0x387037(0x1d4)]);PerformanceTester[_0x387037(0x1ff)]();const _0x472579=_0x33bd46[_0x387037(0x1b6)](getCodeceptDriver),_0x5f045e=new O11yHelper(_0x472579,_0x4fb186),_0x45ed19=!!CodeceptJS[_0x387037(0x25f)][_0x387037(0x223)](_0x33bd46[_0x387037(0x225)]);global[_0x387037(0x284)]=_0x472579,_0x472579&&(PerformanceTester[_0x387037(0x2a0)](PerformanceEvents['SDK_PRE_INITIALIZE'],()=>{const _0x41dafc=_0x387037;_0x45ed19?_0x33bd46[_0x41dafc(0x222)](patchPlaywrightBefore):_0x33bd46[_0x41dafc(0x23c)](patchWebDriverBefore,_0x472579);})(),PerformanceTester[_0x387037(0x2a0)](PerformanceEvents[_0x387037(0x1f9)],()=>{const _0x126f83=_0x387037,_0x21ba2b={};_0x21ba2b[_0x126f83(0x1d3)]=_0x33bd46[_0x126f83(0x1a5)],_0x21ba2b['UIbdD']=_0x33bd46['apLTG'],_0x21ba2b[_0x126f83(0x1c0)]=_0x33bd46[_0x126f83(0x2aa)],_0x21ba2b[_0x126f83(0x29b)]=_0x33bd46['AdKgn'];const _0x4fe8a0=_0x21ba2b;_0x472579[_0x126f83(0x241)]=async()=>{const _0x1e1c73=_0x126f83;if(global[_0x1e1c73(0x1a8)]){const _0x3f5862={};return _0x3f5862[_0x1e1c73(0x1fb)]=_0x4fe8a0['XVNGG'],await PerformanceTester[_0x1e1c73(0x2a0)](PerformanceA11yEvents[_0x1e1c73(0x1e3)],async()=>{const _0x13a045=_0x1e1c73;return await AccessibilityHelper[_0x13a045(0x243)](_0x472579,scripts['performScan']);},_0x3f5862)(),await PerformanceTester[_0x1e1c73(0x2a0)](PerformanceA11yEvents['GET_RESULTS_SUMMARY'],async()=>{return await AccessibilityHelper['browserStackExecuteDriver'](_0x472579,scripts['getResultsSummary']);})();}return logger['warn'](_0x4fe8a0['UIbdD']),{};},_0x472579['getAccessibilityResults']=async()=>{const _0x5c50e3=_0x126f83;if(global['accessibilityPlatform']){const _0x496c26={};return _0x496c26[_0x5c50e3(0x1fb)]=_0x4fe8a0[_0x5c50e3(0x1c0)],await PerformanceTester[_0x5c50e3(0x2a0)](PerformanceA11yEvents[_0x5c50e3(0x1e3)],async()=>{const _0x225c52=_0x5c50e3;return await AccessibilityHelper[_0x225c52(0x243)](_0x472579,scripts[_0x225c52(0x281)]);},_0x496c26)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x5c50e3(0x29c)],async()=>{const _0x5a642f=_0x5c50e3;return await AccessibilityHelper[_0x5a642f(0x243)](_0x472579,scripts[_0x5a642f(0x21a)]);})();}return logger[_0x5c50e3(0x1e0)](_0x4fe8a0[_0x5c50e3(0x29b)]),{};},_0x33bd46['dCJrx'](patchSaveScreenshot,_0x472579);})()),CodeceptJS['event'][_0x387037(0x257)]['on'](CodeceptJS[_0x387037(0x27a)]['all']['before'],()=>{const _0x6a8978=_0x387037;PerformanceTester['start'](PerformanceEvents[_0x6a8978(0x21c)]);try{_0x5f045e[_0x6a8978(0x233)](),testOpsHelper[_0x6a8978(0x267)](),PerformanceTester['end'](PerformanceEvents[_0x6a8978(0x21c)]);}catch(_0x175d0e){PerformanceTester[_0x6a8978(0x218)](_0x175d0e),PerformanceTester[_0x6a8978(0x1b5)](PerformanceEvents[_0x6a8978(0x21c)],![],_0x175d0e);}}),CodeceptJS[_0x387037(0x27a)][_0x387037(0x257)]['on'](CodeceptJS[_0x387037(0x27a)][_0x387037(0x1d1)]['after'],async()=>{const _0x5790f4=_0x387037;PerformanceTester[_0x5790f4(0x233)](PerformanceEvents[_0x5790f4(0x2a4)]);try{requestSpy[_0x5790f4(0x1be)](),await _0x5f045e['stop'](),PerformanceTester['end'](PerformanceEvents[_0x5790f4(0x2a4)]);}catch(_0x13f9fc){PerformanceTester['captureError'](_0x13f9fc),PerformanceTester[_0x5790f4(0x1b5)](PerformanceEvents['SDK_POST_TEST'],![],_0x13f9fc);}finally{PerformanceTester['stopMonitoring']();}}),CodeceptJS[_0x387037(0x27a)][_0x387037(0x257)]['on'](CodeceptJS[_0x387037(0x27a)]['hook'][_0x387037(0x1b4)],_0x230916=>{const _0x33cbb9=_0x387037;PerformanceTester[_0x33cbb9(0x233)](PerformanceEvents[_0x33cbb9(0x1a7)]);try{const _0x715c4d=_0x230916['ctx']['test'],_0x501b0a=_0x5f045e[_0x33cbb9(0x212)](TEST_EVENTS[_0x33cbb9(0x27e)],_0x715c4d);CodeceptRecorder[_0x33cbb9(0x250)](()=>_0x5f045e[_0x33cbb9(0x1d8)](TEST_EVENTS[_0x33cbb9(0x27e)],_0x501b0a));const _0x143b34={};_0x143b34[_0x33cbb9(0x29f)]=_0x33bd46['AjkqM'],PerformanceTester['end'](PerformanceEvents[_0x33cbb9(0x1a7)],!![],null,_0x143b34);}catch(_0x415a9c){const _0xd35621={};_0xd35621[_0x33cbb9(0x29f)]=_0x33bd46[_0x33cbb9(0x23e)],PerformanceTester['end'](PerformanceEvents[_0x33cbb9(0x1a7)],![],_0x415a9c,_0xd35621),PerformanceTester[_0x33cbb9(0x218)](_0x415a9c);}}),CodeceptJS['event'][_0x387037(0x257)]['on'](CodeceptJS[_0x387037(0x27a)][_0x387037(0x271)][_0x387037(0x1df)],_0x41c75f=>{const _0x5263ef=_0x387037,_0x18b3b2={};_0x18b3b2[_0x5263ef(0x29f)]=_0x33bd46[_0x5263ef(0x24c)],PerformanceTester[_0x5263ef(0x233)](PerformanceHookEvents[_0x5263ef(0x1a7)],!![],null,_0x18b3b2);try{const _0x4d54bd=_0x41c75f[_0x5263ef(0x231)][_0x5263ef(0x1c5)],_0x5dcff7=_0x5f045e[_0x5263ef(0x212)](TEST_EVENTS[_0x5263ef(0x26c)],_0x4d54bd);CodeceptRecorder[_0x5263ef(0x250)](()=>_0x5f045e[_0x5263ef(0x1d8)](TEST_EVENTS[_0x5263ef(0x26c)],_0x5dcff7));const _0x765a97={};_0x765a97[_0x5263ef(0x29f)]=_0x33bd46[_0x5263ef(0x24c)],PerformanceTester[_0x5263ef(0x1b5)](PerformanceHookEvents[_0x5263ef(0x1a7)],!![],null,_0x765a97);}catch(_0x34fabb){PerformanceTester[_0x5263ef(0x218)](_0x34fabb);const _0x1a7020={};_0x1a7020[_0x5263ef(0x29f)]=_0x33bd46[_0x5263ef(0x24c)],PerformanceTester[_0x5263ef(0x1b5)](PerformanceHookEvents[_0x5263ef(0x1a7)],![],_0x34fabb,_0x1a7020);}}),CodeceptJS[_0x387037(0x27a)][_0x387037(0x257)]['on'](CodeceptJS[_0x387037(0x27a)]['hook'][_0x387037(0x265)],async(_0x2fd95a,_0xfe6d59)=>{const _0x1b3245=_0x387037;PerformanceTester[_0x1b3245(0x233)](PerformanceHookEvents[_0x1b3245(0x1a7)]);try{const _0x4c3c66=_0x2fd95a[_0x1b3245(0x231)]['test'],_0x2cbe81=_0x5f045e['captureEvent'](TEST_EVENTS[_0x1b3245(0x26c)],_0x4c3c66,_0xfe6d59);CodeceptRecorder[_0x1b3245(0x250)](()=>_0x5f045e[_0x1b3245(0x1d8)](TEST_EVENTS[_0x1b3245(0x26c)],_0x2cbe81));const _0x532764={};_0x532764['hookType']=_0x33bd46['wlODG'],PerformanceTester[_0x1b3245(0x233)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x532764);}catch(_0x45b7cd){PerformanceTester['captureError'](_0x45b7cd);const _0x1fdc99={};_0x1fdc99[_0x1b3245(0x29f)]=_0x33bd46[_0x1b3245(0x1e9)],PerformanceTester['end'](PerformanceHookEvents[_0x1b3245(0x1a7)],![],_0x45b7cd,_0x1fdc99);}const _0x5d6ef6={};_0x5d6ef6[_0x1b3245(0x29f)]=_0x33bd46[_0x1b3245(0x1e9)],PerformanceTester[_0x1b3245(0x1b5)](PerformanceHookEvents[_0x1b3245(0x1a7)],!![],null,_0x5d6ef6);}),CodeceptJS['event'][_0x387037(0x257)]['on'](CodeceptJS[_0x387037(0x27a)][_0x387037(0x1c5)]['before'],_0x273722=>{const _0x1a47cd=_0x387037;PerformanceTester[_0x1a47cd(0x233)](PerformanceHookEvents[_0x1a47cd(0x1a7)]);try{globals[_0x1a47cd(0x2a9)](_0x33bd46['jAYgf'],_0x273722['title']);_0x33bd46['oZyhP'](isBrowserstackInfra)&&(_0x45ed19&&(global[_0x1a47cd(0x22b)]={'currentTest':{'name':_0x273722[_0x1a47cd(0x246)],'testInfo':{'titlePath':_0x273722[_0x1a47cd(0x226)]()}}}));const _0x48a487={};_0x48a487['hookType']=_0x33bd46[_0x1a47cd(0x251)],PerformanceTester[_0x1a47cd(0x1b5)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x48a487);}catch(_0x250279){PerformanceTester[_0x1a47cd(0x218)](_0x250279);const _0x593829={};_0x593829[_0x1a47cd(0x29f)]=_0x33bd46[_0x1a47cd(0x251)],PerformanceTester[_0x1a47cd(0x1b5)](PerformanceHookEvents[_0x1a47cd(0x1a7)],![],_0x250279,_0x593829);}}),CodeceptJS['event'][_0x387037(0x257)]['on'](CodeceptJS[_0x387037(0x27a)][_0x387037(0x1c5)][_0x387037(0x1b4)],_0x225f77=>{const _0x45a054=_0x387037,_0x32fabb={'etkZZ':function(_0x1c689e){return _0x33bd46['sdvUb'](_0x1c689e);},'eGaIg':function(_0x11a809,_0x304aa6){const _0x41b5f4=a1_0xf087;return _0x33bd46[_0x41b5f4(0x23c)](_0x11a809,_0x304aa6);},'jRoxy':function(_0x4b0ae6,_0x5ab52e,_0x1a7a56){return _0x33bd46['wkVSK'](_0x4b0ae6,_0x5ab52e,_0x1a7a56);}};PerformanceTester[_0x45a054(0x233)](PerformanceHookEvents[_0x45a054(0x1a7)]);try{globals['setGlobal'](_0x33bd46[_0x45a054(0x1d5)],_0x225f77[_0x45a054(0x246)]);const _0x2e8ed1=_0x5f045e[_0x45a054(0x212)](TEST_EVENTS[_0x45a054(0x282)],_0x225f77);CodeceptRecorder['add'](()=>_0x5f045e['fireEvent'](TEST_EVENTS[_0x45a054(0x282)],_0x2e8ed1)),CodeceptRecorder['add'](async()=>{const _0x481cc6=_0x45a054;_0x32fabb['etkZZ'](isBrowserstackInfra)&&(!_0x32fabb[_0x481cc6(0x215)](isTrue,_0x4fb186[_0x481cc6(0x274)])&&await _0x32fabb['jRoxy'](markSessionName,_0x472579,_0x225f77['title']),_0x5f045e[_0x481cc6(0x21b)]&&await _0x32fabb[_0x481cc6(0x215)](o11ySync,_0x472579));});}catch(_0x153b2f){const _0x544eab={};_0x544eab[_0x45a054(0x29f)]=_0x33bd46[_0x45a054(0x28e)],PerformanceTester[_0x45a054(0x1b5)](PerformanceHookEvents[_0x45a054(0x1a7)],![],_0x153b2f,_0x544eab),PerformanceTester['captureError'](_0x153b2f);}const _0x1e58cc={};_0x1e58cc[_0x45a054(0x29f)]=_0x33bd46['RdKSy'],PerformanceTester[_0x45a054(0x1b5)](PerformanceHookEvents[_0x45a054(0x1a7)],!![],null,_0x1e58cc);}),CodeceptJS[_0x387037(0x27a)]['dispatcher']['on'](CodeceptJS[_0x387037(0x27a)][_0x387037(0x1c5)][_0x387037(0x1df)],_0x3506f6=>{const _0x25b6c1=_0x387037,_0x38ea3b={'qHiFW':function(_0xcb2c83,_0x2e58af,_0x730801){const _0x411f60=a1_0xf087;return _0x33bd46[_0x411f60(0x1e6)](_0xcb2c83,_0x2e58af,_0x730801);},'lsOJQ':function(_0x170e69,_0x34e122,_0xc77004){return _0x33bd46['ksfFy'](_0x170e69,_0x34e122,_0xc77004);},'xjomA':function(_0x55f54f){const _0x522e60=a1_0xf087;return _0x33bd46[_0x522e60(0x222)](_0x55f54f);}};PerformanceTester['start'](PerformanceHookEvents[_0x25b6c1(0x1a7)]);try{const _0x3f4a60=_0x5f045e[_0x25b6c1(0x212)](TEST_EVENTS[_0x25b6c1(0x255)],_0x3506f6);CodeceptRecorder[_0x25b6c1(0x250)](()=>_0x5f045e[_0x25b6c1(0x1d8)](TEST_EVENTS[_0x25b6c1(0x255)],_0x3f4a60)),CodeceptRecorder[_0x25b6c1(0x250)](async()=>{const _0x19f58f=_0x25b6c1;_0x38ea3b[_0x19f58f(0x26b)](isBrowserstackInfra)&&await PerformanceTester[_0x19f58f(0x2a0)](PerformanceAutEvents[_0x19f58f(0x1e1)],async()=>{const _0x1080ac=_0x19f58f;_0x45ed19?await _0x38ea3b[_0x1080ac(0x26f)](playwrightMarkSessionStatus,_0x472579,STATE_PASSED):await _0x38ea3b[_0x1080ac(0x25b)](markSessionStatus,_0x472579,STATE_PASSED);})();}),PerformanceTester[_0x25b6c1(0x1b5)](PerformanceEvents['SDK_TEST']);}catch(_0x12ccae){PerformanceTester['captureError'](_0x12ccae);const _0x5157c3={};_0x5157c3['hookType']=_0x33bd46[_0x25b6c1(0x206)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],_0x12ccae,_0x5157c3),PerformanceTester[_0x25b6c1(0x1b5)](PerformanceEvents[_0x25b6c1(0x283)],![],_0x12ccae);}const _0x381e8b={};_0x381e8b['hookType']=_0x33bd46[_0x25b6c1(0x206)],PerformanceTester[_0x25b6c1(0x1b5)](PerformanceHookEvents[_0x25b6c1(0x1a7)],!![],null,_0x381e8b);}),CodeceptJS[_0x387037(0x27a)][_0x387037(0x257)]['on'](CodeceptJS[_0x387037(0x27a)][_0x387037(0x1c5)][_0x387037(0x265)],(_0x14eded,_0x156ccb)=>{const _0x56111f=_0x387037;PerformanceTester[_0x56111f(0x233)](PerformanceHookEvents[_0x56111f(0x1a7)]);try{if(_0x33bd46['mBmUb'](_0x14eded[_0x56111f(0x1b7)][_0x56111f(0x280)],_0x33bd46[_0x56111f(0x245)])){const _0x4039fd=_0x5f045e[_0x56111f(0x212)](TEST_EVENTS[_0x56111f(0x254)],_0x14eded[_0x56111f(0x231)][_0x56111f(0x278)]);CodeceptRecorder[_0x56111f(0x250)](()=>_0x5f045e[_0x56111f(0x1d8)](TEST_EVENTS[_0x56111f(0x254)],_0x4039fd));}else{const _0x276e54=_0x5f045e['captureEvent'](TEST_EVENTS[_0x56111f(0x255)],_0x14eded,_0x156ccb);CodeceptRecorder[_0x56111f(0x250)](()=>{const _0x1152c8=_0x56111f;try{_0x5f045e[_0x1152c8(0x1d8)](TEST_EVENTS[_0x1152c8(0x255)],_0x276e54);}catch(_0x227e5e){logger[_0x1152c8(0x266)](_0x1152c8(0x1cf)+util['format'](_0x227e5e)),PerformanceTester[_0x1152c8(0x1b5)](PerformanceEvents[_0x1152c8(0x283)],![],_0x227e5e);}}),CodeceptRecorder[_0x56111f(0x250)](async()=>{const _0x1868cb=_0x56111f;try{_0x33bd46['MHXrv'](isBrowserstackInfra)&&(_0x45ed19?await _0x33bd46['SOxol'](playwrightMarkSessionStatus,_0x472579,STATE_FAILED,_0x156ccb):await _0x33bd46[_0x1868cb(0x1db)](markSessionStatus,_0x472579,STATE_FAILED,_0x156ccb));}catch(_0x6ea666){logger['debug']('Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20'+util[_0x1868cb(0x1f6)](_0x6ea666)),PerformanceTester[_0x1868cb(0x1b5)](PerformanceEvents[_0x1868cb(0x283)],![],_0x6ea666);}});}PerformanceTester[_0x56111f(0x1b5)](PerformanceEvents[_0x56111f(0x283)]);}catch(_0x5936ec){PerformanceTester[_0x56111f(0x218)](_0x5936ec);const _0x227309={};_0x227309['hookType']=_0x33bd46['XnAvJ'],PerformanceTester[_0x56111f(0x1b5)](PerformanceHookEvents[_0x56111f(0x1a7)],![],_0x5936ec,_0x227309),PerformanceTester[_0x56111f(0x1b5)](PerformanceEvents[_0x56111f(0x283)],![],_0x5936ec);}const _0x32df87={};_0x32df87[_0x56111f(0x29f)]=_0x33bd46['XnAvJ'],PerformanceTester[_0x56111f(0x1b5)](PerformanceHookEvents[_0x56111f(0x1a7)],!![],null,_0x32df87);}),CodeceptJS[_0x387037(0x27a)][_0x387037(0x257)]['on'](CodeceptJS[_0x387037(0x27a)][_0x387037(0x1c5)][_0x387037(0x1fc)],_0x1d96f2=>{const _0x56ae25=_0x387037;PerformanceTester[_0x56ae25(0x233)](PerformanceHookEvents[_0x56ae25(0x1a7)]);try{const _0x36e058=_0x5f045e[_0x56ae25(0x212)](TEST_EVENTS[_0x56ae25(0x254)],_0x1d96f2);CodeceptRecorder[_0x56ae25(0x250)](()=>_0x5f045e['fireEvent'](TEST_EVENTS[_0x56ae25(0x254)],_0x36e058)),PerformanceTester[_0x56ae25(0x1b5)](PerformanceEvents[_0x56ae25(0x283)]);}catch(_0x397b7a){PerformanceTester[_0x56ae25(0x218)](_0x397b7a),PerformanceTester[_0x56ae25(0x1b5)](PerformanceEvents[_0x56ae25(0x283)],![],_0x397b7a);const _0x5b1021={};_0x5b1021[_0x56ae25(0x29f)]=_0x33bd46[_0x56ae25(0x219)],PerformanceTester[_0x56ae25(0x1b5)](PerformanceHookEvents[_0x56ae25(0x1a7)],![],_0x397b7a,_0x5b1021);}const _0x529dad={};_0x529dad['hookType']=_0x33bd46['togjT'],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x529dad);}),CodeceptJS[_0x387037(0x27a)][_0x387037(0x257)]['on'](CodeceptJS[_0x387037(0x27a)]['test'][_0x387037(0x1f7)],async(_0x2e4625,_0x3b30da)=>{const _0xc72033=_0x387037,_0x15df6a={};_0x15df6a['nBHfU']=_0x33bd46[_0xc72033(0x1f4)],_0x15df6a[_0xc72033(0x214)]=_0x33bd46[_0xc72033(0x1fd)];const _0x2860cb=_0x15df6a;try{PerformanceTester['start'](PerformanceHookEvents[_0xc72033(0x1a7)]);const _0x4c39bb=_0x33bd46[_0xc72033(0x24e)](shouldScanTestForAccessibility,_0x2e4625['titlePath'](),!![]);if(_0x33bd46[_0xc72033(0x28b)](isAccessibilityAutomationSession)&&global['accessibilityPlatform']&&_0x4c39bb){const _0x162966={};_0x162966[_0xc72033(0x1a4)]=_0x2e4625[_0xc72033(0x27d)],_0x162966[_0xc72033(0x256)]=process[_0xc72033(0x20a)][testHubConstants[_0xc72033(0x263)][_0xc72033(0x1d6)]],_0x162966['thJwtToken']=process[_0xc72033(0x20a)][testHubConstants[_0xc72033(0x263)][_0xc72033(0x276)]];const _0x228fb7=_0x162966;logger[_0xc72033(0x266)](_0xc72033(0x1d0)+JSON[_0xc72033(0x21e)](_0x228fb7)),CodeceptRecorder[_0xc72033(0x250)](async()=>{const _0x31cd3d=_0xc72033,_0x5ba31f={};_0x5ba31f[_0x31cd3d(0x1fb)]=_0x2860cb[_0x31cd3d(0x285)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x31cd3d(0x1e3)],async()=>{const _0x5a481f=_0x31cd3d;await AccessibilityHelper[_0x5a481f(0x243)](_0x472579,scripts[_0x5a481f(0x281)]);},_0x5ba31f)(),globals['getGlobal'](_0x2860cb[_0x31cd3d(0x214)])&&(_0x228fb7['is_mobile_session']=!![]),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x31cd3d(0x207)],async()=>{const _0x239ceb=_0x31cd3d;await AccessibilityHelper[_0x239ceb(0x243)](_0x472579,scripts[_0x239ceb(0x234)],_0x228fb7);})();}),logger['info'](_0x33bd46[_0xc72033(0x1a9)]);}const _0x62e282={};_0x62e282['hookType']=_0x33bd46[_0xc72033(0x29a)],PerformanceTester[_0xc72033(0x1b5)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x62e282);}catch(_0x49c545){PerformanceTester[_0xc72033(0x218)](_0x49c545);const _0x1d8c84={};_0x1d8c84['hookType']=_0x33bd46['wjGWv'],PerformanceTester[_0xc72033(0x1b5)](PerformanceHookEvents[_0xc72033(0x1a7)],![],_0x49c545,_0x1d8c84);}}),CodeceptJS[_0x387037(0x27a)][_0x387037(0x257)]['on'](CodeceptJS[_0x387037(0x27a)]['step'][_0x387037(0x249)],_0x1529df=>{const _0x3d273e=_0x387037;PerformanceTester[_0x3d273e(0x233)](PerformanceHookEvents['SDK_HOOK']);try{process['emit'](_0x3d273e(0x230)+process[_0x3d273e(0x1b2)],{'timestamp':new Date()[_0x3d273e(0x2a2)](),'level':_0x33bd46[_0x3d273e(0x291)],'message':_0x1529df,'kind':_0x33bd46[_0x3d273e(0x287)],'http_response':{}});}catch(_0x41b3d8){PerformanceTester[_0x3d273e(0x218)](_0x41b3d8);const _0x4234c5={};_0x4234c5['hookType']=_0x33bd46['VaQPr'],PerformanceTester[_0x3d273e(0x1b5)](PerformanceHookEvents[_0x3d273e(0x1a7)],![],_0x41b3d8,_0x4234c5);}const _0x2ff2c8={};_0x2ff2c8[_0x3d273e(0x29f)]=_0x33bd46[_0x3d273e(0x297)],PerformanceTester[_0x3d273e(0x1b5)](PerformanceHookEvents[_0x3d273e(0x1a7)],!![],null,_0x2ff2c8);}),CodeceptJS[_0x387037(0x27a)][_0x387037(0x257)]['on'](CodeceptJS[_0x387037(0x27a)][_0x387037(0x1f2)][_0x387037(0x26e)],_0x5bf65f=>{const _0x1750cf=_0x387037,_0x33bc6e={};_0x33bc6e['hookType']=_0x33bd46[_0x1750cf(0x1da)],PerformanceTester[_0x1750cf(0x2a0)](PerformanceHookEvents[_0x1750cf(0x1a7)],()=>{const _0x5a8d35=_0x1750cf;_0x5f045e[_0x5a8d35(0x1c4)](_0x5bf65f);},_0x33bc6e)();}),CodeceptJS[_0x387037(0x27a)]['dispatcher']['on'](CodeceptJS['event'][_0x387037(0x1f2)][_0x387037(0x1f7)],_0x137890=>{const _0xc6516b=_0x387037,_0x141bc7={};_0x141bc7['hookType']=_0x33bd46[_0xc6516b(0x22f)],PerformanceTester[_0xc6516b(0x2a0)](PerformanceHookEvents[_0xc6516b(0x1a7)],()=>{const _0x1bed73=_0xc6516b;_0x5f045e[_0x1bed73(0x204)](_0x137890);},_0x141bc7)();});};
1
+ const a1_0x402f4f=a1_0x1437;(function(_0x1b2964,_0x2848ca){const _0xf33dec=a1_0x1437,_0x286cd7=_0x1b2964();while(!![]){try{const _0x8cf41a=-parseInt(_0xf33dec(0x162))/0x1+parseInt(_0xf33dec(0x87))/0x2+parseInt(_0xf33dec(0x169))/0x3+parseInt(_0xf33dec(0x7a))/0x4+parseInt(_0xf33dec(0xaf))/0x5+parseInt(_0xf33dec(0x176))/0x6*(-parseInt(_0xf33dec(0x138))/0x7)+-parseInt(_0xf33dec(0x145))/0x8;if(_0x8cf41a===_0x2848ca)break;else _0x286cd7['push'](_0x286cd7['shift']());}catch(_0x48d2c3){_0x286cd7['push'](_0x286cd7['shift']());}}}(a1_0x5da3,0x46d9f));const fs=require('fs'),util=require(a1_0x402f4f(0x144)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x402f4f(0xc7)),logger=require(a1_0x402f4f(0x14f))[a1_0x402f4f(0x9a)],testOpsHelper=require(a1_0x402f4f(0x149)),requestSpy=require(a1_0x402f4f(0xa7)),PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x402f4f(0x10a)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x402f4f(0x98)),AccessibilityHelper=require(a1_0x402f4f(0xf0)),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require(a1_0x402f4f(0x103)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require('../../helpers/performance/constants'),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x402f4f(0x112)),testHubConstants=require(a1_0x402f4f(0xc4)),globals=require(a1_0x402f4f(0x179)),CodeceptJS=requireModule(a1_0x402f4f(0x116),a1_0x402f4f(0xf2)),CodeceptUtils=requireModule('codeceptjs/lib/utils.js',a1_0x402f4f(0xf2)),CodeceptWebDriver=requireModule(a1_0x402f4f(0xf8),a1_0x402f4f(0xf2)),CodeceptRecorder=requireModule(a1_0x402f4f(0x150),a1_0x402f4f(0xf2)),CodeceptPlaywright=requireModule('codeceptjs/lib/helper/Playwright.js',a1_0x402f4f(0xf2)),playwrightMarkSessionStatus=(_0x1fc969,_0x1aa283,_0x4586f0)=>{const _0x3f4674=a1_0x402f4f,_0x6a4602={'jUbUv':_0x3f4674(0xb8),'qBoBh':function(_0x3d1af5,_0x597b97){return _0x3d1af5(_0x597b97);}},_0x2d9e49={};_0x2d9e49[_0x3f4674(0xa0)]=_0x1aa283;const _0x4f35b5={};_0x4f35b5[_0x3f4674(0xaa)]=_0x6a4602['jUbUv'],_0x4f35b5[_0x3f4674(0xd1)]=_0x2d9e49;const _0x1c41c4=_0x4f35b5;return!_0x6a4602[_0x3f4674(0x168)](isUndefined,_0x4586f0)&&(_0x1c41c4['arguments'][_0x3f4674(0xe0)]=JSON['stringify'](_0x4586f0)),_0x1fc969[_0x3f4674(0x140)](()=>{},_0x3f4674(0x158)+JSON['stringify'](_0x1c41c4));},o11ySync=PerformanceTester[a1_0x402f4f(0x114)](PerformanceO11yEvents[a1_0x402f4f(0x9e)],async _0x116031=>{const _0x1ecbcb=a1_0x402f4f,_0x50b14a={};_0x50b14a[_0x1ecbcb(0xce)]=function(_0x359509,_0x24b5de){return _0x359509===_0x24b5de;},_0x50b14a['gSEZB']=_0x1ecbcb(0xb9);const _0x59262a=_0x50b14a;_0x59262a[_0x1ecbcb(0xce)](_0x116031[_0x1ecbcb(0x125)][_0x1ecbcb(0x7b)],_0x59262a[_0x1ecbcb(0xbe)])?await _0x116031[_0x1ecbcb(0x140)](_0x2386d4=>{},testOpsHelper[_0x1ecbcb(0xee)]()):await _0x116031[_0x1ecbcb(0x140)](testOpsHelper['getSyncScript']());}),markSessionName=PerformanceTester[a1_0x402f4f(0x114)](PerformanceAutEvents['SESSION_NAME'],async(_0x53cbb7,_0x4d0a71)=>{const _0x1d7926=a1_0x402f4f,_0x13dbf3={};_0x13dbf3[_0x1d7926(0x129)]=_0x1d7926(0x16d),_0x13dbf3[_0x1d7926(0x134)]=function(_0x620bbb,_0x1c3e27){return _0x620bbb===_0x1c3e27;},_0x13dbf3[_0x1d7926(0xbd)]=_0x1d7926(0xb9);const _0x4dea10=_0x13dbf3,_0xc949a4={};_0xc949a4[_0x1d7926(0x7b)]=_0x4d0a71;const _0x594ff0={};_0x594ff0[_0x1d7926(0xaa)]=_0x4dea10[_0x1d7926(0x129)],_0x594ff0[_0x1d7926(0xd1)]=_0xc949a4;const _0x1374e9=_0x594ff0;_0x4dea10[_0x1d7926(0x134)](_0x53cbb7[_0x1d7926(0x125)]['name'],_0x4dea10[_0x1d7926(0xbd)])?await _0x53cbb7[_0x1d7926(0x140)](()=>{},_0x1d7926(0x158)+JSON[_0x1d7926(0xf5)](_0x1374e9)):await _0x53cbb7[_0x1d7926(0x140)](_0x1d7926(0x158)+JSON[_0x1d7926(0xf5)](_0x1374e9));}),patchSaveScreenshot=_0x5efa0c=>{const _0x49ce09=a1_0x402f4f,_0x5d0d51={'vtMZl':_0x49ce09(0x12b),'IDHKf':_0x49ce09(0x159),'PLscg':function(_0xc1d2d2){return _0xc1d2d2();},'lCDMX':function(_0x1ea708,_0x57513b){return _0x1ea708(_0x57513b);},'MjCzI':_0x49ce09(0xc3)};_0x5d0d51[_0x49ce09(0x95)](isTrue,process[_0x49ce09(0x107)][_0x49ce09(0x131)])&&!_0x5efa0c['patchSaveScreenshot']&&(_0x5efa0c[_0x49ce09(0x136)]=!![],_0x5efa0c[_0x49ce09(0xdd)]=_0x5efa0c['saveScreenshot'],_0x5efa0c['saveScreenshot']=(_0x534fb6,_0x5ad317=![])=>{const _0xc430b1=_0x49ce09,_0x32fe40={'yEfje':_0x5d0d51[_0xc430b1(0x15e)],'RStgz':_0x5d0d51['IDHKf'],'yTMGO':function(_0x10a207){const _0x5eb6aa=_0xc430b1;return _0x5d0d51[_0x5eb6aa(0xef)](_0x10a207);},'fbhEV':function(_0x5d9aa9,_0xa6233b){const _0x84fdca=_0xc430b1;return _0x5d0d51[_0x84fdca(0x95)](_0x5d9aa9,_0xa6233b);},'jccWq':_0x5d0d51[_0xc430b1(0xca)]};return new Promise(function(_0x222fb8,_0x5e554a){const _0xe22a3a=_0xc430b1,_0x42ef5e={'dRnNB':_0x32fe40['yEfje'],'mwQVD':_0x32fe40['RStgz'],'xPLsx':function(_0x418598){const _0x5960f4=a1_0x1437;return _0x32fe40[_0x5960f4(0x16b)](_0x418598);},'imylk':function(_0xf4bc19,_0x1d103f){const _0x47f9c6=a1_0x1437;return _0x32fe40[_0x47f9c6(0xb2)](_0xf4bc19,_0x1d103f);},'aEsQv':_0x32fe40[_0xe22a3a(0x79)]};_0x5efa0c['initSaveScreenshot'](_0x534fb6,_0x5ad317)['then'](()=>{const _0x64f5a6=_0xe22a3a,_0x1c0b21=CodeceptUtils[_0x64f5a6(0x8b)](_0x534fb6);if(_0x1c0b21){const _0x33ac34=fs['readFileSync'](_0x1c0b21);process[_0x64f5a6(0xfa)](_0x64f5a6(0xd0)+process[_0x64f5a6(0xd7)],{'timestamp':new Date()[_0x64f5a6(0xb3)](),'message':_0x33ac34[_0x64f5a6(0x7c)](_0x42ef5e[_0x64f5a6(0x16a)]),'kind':_0x42ef5e[_0x64f5a6(0xd4)]}),_0x42ef5e[_0x64f5a6(0x16f)](_0x222fb8);}_0x42ef5e[_0x64f5a6(0x120)](_0x5e554a,new Error(_0x42ef5e['aEsQv']));})[_0xe22a3a(0x86)](()=>null);});});},patchWebDriverBefore=_0x18951f=>{const _0x27db78=a1_0x402f4f,_0x34e763={'ykuBu':function(_0x56356c){return _0x56356c();},'uwquJ':function(_0x1ddc36,_0x57dcf4){return _0x1ddc36(_0x57dcf4);},'ROatd':function(_0x229ec2,_0x2de200){return _0x229ec2===_0x2de200;},'ESSYt':'webdriverio','vMaNn':_0x27db78(0xae),'Bkkhv':_0x27db78(0xcb),'jqQnw':function(_0x16bd80,_0x518a46){return _0x16bd80(_0x518a46);}},_0x31711a=async function(_0x4b7719,_0x53e605){const _0x5b39b1=_0x27db78;_0x34e763[_0x5b39b1(0x152)](isAccessibilityAutomationSession)&&!global['bstackAllyScanning']&&global[_0x5b39b1(0x81)]&&scripts[_0x5b39b1(0x13f)](_0x4b7719[_0x5b39b1(0x7b)])&&_0x34e763['uwquJ'](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x5b39b1(0x93)]=!![],await PerformanceTester[_0x5b39b1(0x114)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0xce9132=_0x5b39b1;logger[_0xce9132(0xb4)](_0xce9132(0x157)+_0x4b7719[_0xce9132(0x124)]+'\x20'+_0x4b7719[_0xce9132(0x7b)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x18951f,scripts[_0xce9132(0x110)]);},{'command':_0x4b7719['name']})());global[_0x5b39b1(0x93)]=![];const _0x168433=JSON[_0x5b39b1(0x10e)](process['env'][_0x5b39b1(0xf1)]||'{}');if(_0x34e763[_0x5b39b1(0xd6)](_0x168433?.[_0x5b39b1(0x174)]?.[_0x5b39b1(0x7b)],_0x34e763[_0x5b39b1(0xa4)])&&_0x34e763[_0x5b39b1(0xd6)](typeof _0x168433?.[_0x5b39b1(0x174)]?.['version'],_0x34e763['vMaNn'])&&_0x168433?.[_0x5b39b1(0x174)]?.[_0x5b39b1(0x153)]['startsWith']('7'))return _0x53e605[_0x5b39b1(0x10c)](null,Array[_0x5b39b1(0xd5)][_0x5b39b1(0x17b)]['call'](arguments,0x2));return _0x53e605[_0x5b39b1(0x10c)](this,Array['prototype'][_0x5b39b1(0x17b)][_0x5b39b1(0xa1)](arguments,0x2));},_0x32e611=CodeceptWebDriver['prototype'][_0x27db78(0xb0)];CodeceptWebDriver[_0x27db78(0xd5)][_0x27db78(0xb0)]=async function(){const _0x3b1377=_0x27db78;try{await _0x32e611['apply'](this,arguments);}catch(_0xbbd1c4){logger[_0x3b1377(0xb4)](_0x3b1377(0x123)+util[_0x3b1377(0xd9)](_0xbbd1c4));}scripts[_0x3b1377(0x165)][_0x3b1377(0x7e)](_0x2376ce=>_0x2376ce[_0x3b1377(0x7b)]&&_0x2376ce[_0x3b1377(0x124)])[_0x3b1377(0x141)](_0x274e20=>{const _0x5b2dae=_0x3b1377;this[_0x5b2dae(0x105)]['overwriteCommand'](_0x274e20['name'],_0x31711a['bind'](this,_0x274e20),_0x34e763[_0x5b2dae(0xd6)](_0x274e20[_0x5b2dae(0x124)],_0x34e763['Bkkhv']));}),_0x34e763[_0x3b1377(0xd3)](processWebDriverConfig,_0x18951f);};};function parseJwt(_0x1be038){const _0x575181=a1_0x402f4f,_0x283448={};_0x283448[_0x575181(0xbb)]=_0x575181(0x12b);const _0xdc6ba1=_0x283448;if(!_0x1be038)return null;return JSON[_0x575181(0x10e)](Buffer['from'](_0x1be038['split']('.')[0x1],_0xdc6ba1['gnddG'])[_0x575181(0x7c)]());}function a1_0x5da3(){const _0x2f0d76=['debug','IHupF','pivTn','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','setSessionStatus','Playwright','SDK_PRE_TEST','gnddG','startMonitoring','xieWU','gSEZB','bddStepFinish','isMobilePlatform','failed','Iawhy','Screenshot\x20path\x20not\x20found','../../helpers/testhub/constants.js','NmSwy','RYsez','../../helpers/helper','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','SDK_TEST','MjCzI','Element','before','currentTest','yqEIZ','TestCafe','bs:addLog:','arguments','TEST_RUN_STARTED','jqQnw','mwQVD','prototype','ROatd','pid','yCyVF','format','event','__workerDetails','fireEvent','initSaveScreenshot','AJaoU','getResults','reason','pncoJ','UPSDI','is_mobile_session','gCqDJ','find','stack','started','all','KOzNh','--auto-open-devtools-for-tabs','VtgDw','SDK_HOOK','LTzdA','getSyncScript','PLscg','../../bin/playwright/accessibility-helper','FRAMEWORK_DETAILS','codeceptjs','getAccessibilityResultsSummary','NCJBy','stringify','zGvYh','gBgkk','codeceptjs/lib/helper/WebDriver.js','step','emit','fMqHA','yxPQW','warn','test-before','FGgsv','vHofB','captureError','title','../../helpers/performance/performance-tester','GKHZg','browser','meXVr','env','bddStepStart','browserContext','./o11yHelper','dispatcher','apply','PERFORM_SCAN','parse','startsWith','performScan','config','./helper.js','YEuzU','measureWrapper','getAccessibilityResults','codeceptjs/lib/index.js','hksIi','\x0aStack:\x20','bddStep','MOQsK','_setPage','info','HOOK_RUN_FINISHED','bddStep-after','helpers','imylk','test-failed','HKmIk','Failed\x20to\x20execute\x20_before:\x20','class','constructor','after','includes','contexts','kcEaI','command','base64','Puppeteer','zbZyu','Suite','skipSessionName','oMNSP','BS_TESTOPS_ALLOW_SCREENSHOTS','NRHqJ','addRequestSpy','bBvfM','SDK_POST_TEST','patchSaveScreenshot','HFXGh','119HSUakV','__skipSessionStatus','Failed\x20to\x20patch\x20pages\x20method\x20in\x20browserContext\x20for\x20a11y\x20domForge:\x20','test-started','gqOhk','enabled','chromium','shouldWrapCommand','executeScript','forEach','OloZM','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','util','156712kezJOE','url','YsYca','push','../../helpers/test-observability/utils','thTestRunUuid','MOcOj','VExvU','__driver','RkqJj','../../helpers/logger','codeceptjs/lib/recorder.js','bddStep-before','ykuBu','version','isArray','FJtUk','skipSessionStatus','Performing\x20scan\x20for\x20','browserstack_executor:\x20','TEST_SCREENSHOT','test-skipped','QLCbT','start','test-passed','vtMZl','test-after','stop','qjJxV','291500AqSkYM','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','SFDos','commandsToWrap','args','page','qBoBh','139155NwCBGC','dRnNB','yTMGO','hook','setSessionName','uldUL','xPLsx','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','GET_RESULTS_SUMMARY','SESSION_STATUS','RKVSV','testFramework','browserStackExecuteDriver','71424AEPzgV','oylKL','xUpQI','../../helpers/globals.js','getGlobal','slice','INFO','jccWq','1897364Pfkdts','name','toString','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','filter','skipped','thJwtToken','accessibilityPlatform','passed','TEST_RUN_SKIPPED','hookType','zBYrV','catch','382970uUpEKS','xZpFj','hook-passed','ctx','screenshotOutputFolder','zvOfS','saveTestResults','dCiBC','container','JVvET','PmLbP','TEST_RUN_FINISHED','bstackAllyScanning','kdsVk','lCDMX','end','domForge','../../helpers/accessibility-automation/helper','restore','winstonLogger','test','eyRiI','captureEvent','SYNC','SDK_PRE_INITIALIZE','status','call','testAnalyticsId','bind','ESSYt','step-comment','pages','../../helpers/request-spy','afterTest','titlePath','action','jDRbk','SDK_POST_INITIALIZE','a11y_core_config','string','457265NWhlVG','_before','add','fbhEV','toISOString'];a1_0x5da3=function(){return _0x2f0d76;};return a1_0x5da3();}const patchPlaywrightBefore=()=>{const _0x3d40b4=a1_0x402f4f,_0x316466={'FGgsv':_0x3d40b4(0xea),'WLnjM':function(_0x23e5c6){return _0x23e5c6();},'YEuzU':function(_0x6ee64a,_0x11149a){return _0x6ee64a(_0x11149a);},'IHupF':function(_0x297e8e){return _0x297e8e();},'gBgkk':'devtools://','fxaNW':function(_0x3922a2,_0x158303){return _0x3922a2+_0x158303;},'oMNSP':_0x3d40b4(0x118),'OloZM':function(_0x30b920){return _0x30b920();}};PlaywrightSessionDetails['patch']();const _0x3bd50b=CodeceptPlaywright[_0x3d40b4(0xd5)][_0x3d40b4(0xb0)];CodeceptPlaywright[_0x3d40b4(0xd5)][_0x3d40b4(0xb0)]=async function(){const _0x3d2ea6=_0x3d40b4,_0x428bea={'pncoJ':function(_0x58a866){const _0x4dd6ac=a1_0x1437;return _0x316466[_0x4dd6ac(0xb5)](_0x58a866);},'NCJBy':_0x316466[_0x3d2ea6(0xf7)]};this[_0x3d2ea6(0x109)]=await this[_0x3d2ea6(0x105)][_0x3d2ea6(0x128)]()[0x0];const _0x146247=async()=>{const _0x18de45=_0x3d2ea6,_0x45345c=this[_0x18de45(0x111)]&&this['config'][_0x18de45(0x13e)]&&this[_0x18de45(0x111)][_0x18de45(0x13e)][_0x18de45(0x166)]&&Array[_0x18de45(0x154)](this['config'][_0x18de45(0x13e)][_0x18de45(0x166)])&&this[_0x18de45(0x111)]['chromium'][_0x18de45(0x166)][_0x18de45(0x127)](_0x316466[_0x18de45(0xff)]);if(_0x316466['WLnjM'](isAccessibilityAutomationSession)&&!_0x45345c)try{const _0x2a7f64=_0x316466[_0x18de45(0x113)](parseJwt,process[_0x18de45(0x107)]['BS_A11Y_JWT']);if(_0x2a7f64&&_0x2a7f64['a11y_core_config']&&_0x2a7f64[_0x18de45(0xad)][_0x18de45(0x97)]){const _0x2ed534=this['browserContext']['pages'][_0x18de45(0xa3)](this[_0x18de45(0x109)]);this[_0x18de45(0x109)][_0x18de45(0xa6)]=async function(){const _0x59c7a4=_0x18de45,_0x138dfe=await _0x428bea[_0x59c7a4(0xe1)](_0x2ed534),_0x507aa8=[];for(const _0x241a2c of _0x138dfe){try{const _0x337366=await _0x241a2c[_0x59c7a4(0x146)]();!_0x337366[_0x59c7a4(0x10f)](_0x428bea[_0x59c7a4(0xf4)])&&_0x507aa8[_0x59c7a4(0x148)](_0x241a2c);}catch(_0x4deb2a){_0x507aa8[_0x59c7a4(0x148)](_0x241a2c);}}return _0x507aa8;};}if(!_0x316466[_0x18de45(0xb5)](isBrowserstackInfra)){const _0x15fee5=await this[_0x18de45(0x167)][_0x18de45(0x146)]();if(_0x15fee5[_0x18de45(0x10f)](_0x316466[_0x18de45(0xf7)])){const _0x584af9=await this[_0x18de45(0x109)]['pages']();this[_0x18de45(0x11b)](_0x584af9[0x0]);}}}catch(_0x5d2991){logger[_0x18de45(0xb4)](_0x18de45(0x13a)+_0x5d2991['message']+(_0x5d2991['stack']?_0x316466['fxaNW'](_0x316466[_0x18de45(0x130)],_0x5d2991[_0x18de45(0xe6)]):''));}};_0x316466[_0x3d2ea6(0xb5)](isBrowserstackInfra)&&await _0x316466[_0x3d2ea6(0x142)](_0x146247),await _0x3bd50b['apply'](this,arguments),!_0x316466[_0x3d2ea6(0x142)](isBrowserstackInfra)&&await _0x316466[_0x3d2ea6(0x142)](_0x146247);};},getCodeceptDriver=()=>{const _0x4c9b39=a1_0x402f4f,_0x46c8e6={};_0x46c8e6[_0x4c9b39(0x132)]='WebDriver',_0x46c8e6[_0x4c9b39(0x8e)]=_0x4c9b39(0xb9),_0x46c8e6[_0x4c9b39(0x8c)]=_0x4c9b39(0x12c),_0x46c8e6[_0x4c9b39(0x94)]=_0x4c9b39(0xcf);const _0x2111fa=_0x46c8e6,_0x37204c=[_0x2111fa[_0x4c9b39(0x132)],_0x2111fa[_0x4c9b39(0x8e)],_0x2111fa['zvOfS'],_0x2111fa[_0x4c9b39(0x94)]],_0x1a27eb=_0x37204c[_0x4c9b39(0xe5)](_0x3fba7d=>!!CodeceptJS[_0x4c9b39(0x8f)][_0x4c9b39(0x11f)](_0x3fba7d));if(!_0x1a27eb)return null;return CodeceptJS['container'][_0x4c9b39(0x11f)](_0x1a27eb);};function a1_0x1437(_0x49d03e,_0x1dd0a3){const _0x5da359=a1_0x5da3();return a1_0x1437=function(_0x1437fe,_0x695275){_0x1437fe=_0x1437fe-0x78;let _0x358f3d=_0x5da359[_0x1437fe];return _0x358f3d;},a1_0x1437(_0x49d03e,_0x1dd0a3);}module['exports']=function(_0x457250){const _0x5b3832=a1_0x402f4f,_0x3af5ba={'hksIi':function(_0x90d394){return _0x90d394();},'HFXGh':function(_0xf8e779,_0xc89127){return _0xf8e779(_0xc89127);},'pivTn':_0x5b3832(0xf3),'HKmIk':_0x5b3832(0x163),'FVlSv':_0x5b3832(0x115),'JmDYP':_0x5b3832(0xb7),'uldUL':function(_0x4d28ac,_0x368d26){return _0x4d28ac(_0x368d26);},'RkqJj':'hook-started','xUpQI':_0x5b3832(0x89),'VExvU':'hook-failed','RYsez':'browserstackTestName','KOzNh':function(_0x487fb2){return _0x487fb2();},'QLCbT':_0x5b3832(0xfe),'giAIQ':function(_0x3f686d,_0x5f19db){return _0x3f686d(_0x5f19db);},'gCqDJ':function(_0x14b801,_0x5b6096,_0x365278){return _0x14b801(_0x5b6096,_0x365278);},'YsYca':function(_0x4bb672,_0xf92f23){return _0x4bb672(_0xf92f23);},'JVvET':_0x5b3832(0x13b),'vxAyL':_0x5b3832(0x15d),'zGvYh':function(_0x25efbf){return _0x25efbf();},'PmLbP':function(_0x4718f4,_0x2fcecb,_0x27672b,_0x165500){return _0x4718f4(_0x2fcecb,_0x27672b,_0x165500);},'meXVr':function(_0x345044,_0xd81f66){return _0x345044===_0xd81f66;},'SFDos':_0x5b3832(0x12e),'NmSwy':_0x5b3832(0x121),'fMqHA':_0x5b3832(0x15a),'GKHZg':_0x5b3832(0xa8),'bjXYg':_0x5b3832(0xc0),'AJaoU':function(_0x5d2be7,_0x4f57b9,_0x1e1a42){return _0x5d2be7(_0x4f57b9,_0x1e1a42);},'qjJxV':_0x5b3832(0x7d),'zBYrV':_0x5b3832(0x15f),'jDRbk':_0x5b3832(0x78),'oylKL':'TEST_LOG','MOcOj':_0x5b3832(0xa5),'vHofB':_0x5b3832(0x151),'llklF':_0x5b3832(0x11e),'xZpFj':_0x5b3832(0xb9)};_0x457250['skipSessionStatus']&&(global[_0x5b3832(0x139)]=_0x457250[_0x5b3832(0x156)]);PerformanceTester[_0x5b3832(0xbc)]();const _0x59ea94=_0x3af5ba[_0x5b3832(0xf6)](getCodeceptDriver),_0x2899f2=new O11yHelper(_0x59ea94,_0x457250),_0x124f72=!!CodeceptJS[_0x5b3832(0x8f)][_0x5b3832(0x11f)](_0x3af5ba[_0x5b3832(0x88)]);global[_0x5b3832(0x14d)]=_0x59ea94,_0x59ea94&&(PerformanceTester[_0x5b3832(0x114)](PerformanceEvents[_0x5b3832(0x9f)],()=>{const _0x26604a=_0x5b3832;_0x124f72?_0x3af5ba[_0x26604a(0x117)](patchPlaywrightBefore):_0x3af5ba[_0x26604a(0x137)](patchWebDriverBefore,_0x59ea94);})(),PerformanceTester['measureWrapper'](PerformanceEvents[_0x5b3832(0xac)],()=>{const _0x7d2902=_0x5b3832,_0x31cc85={};_0x31cc85[_0x7d2902(0x12d)]=_0x3af5ba[_0x7d2902(0xb6)],_0x31cc85[_0x7d2902(0xfc)]=_0x3af5ba[_0x7d2902(0x122)],_0x31cc85[_0x7d2902(0x155)]=_0x3af5ba['FVlSv'],_0x31cc85[_0x7d2902(0x11a)]=_0x3af5ba['JmDYP'];const _0x1d7236=_0x31cc85;_0x59ea94[_0x7d2902(0xf3)]=async()=>{const _0x518079=_0x7d2902;if(global['accessibilityPlatform']){const _0x13b590={};return _0x13b590[_0x518079(0x12a)]=_0x1d7236[_0x518079(0x12d)],await PerformanceTester[_0x518079(0x114)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x340704=_0x518079;return await AccessibilityHelper[_0x340704(0x175)](_0x59ea94,scripts['performScan']);},_0x13b590)(),await PerformanceTester[_0x518079(0x114)](PerformanceA11yEvents[_0x518079(0x171)],async()=>{const _0x2f5bc4=_0x518079;return await AccessibilityHelper[_0x2f5bc4(0x175)](_0x59ea94,scripts['getResultsSummary']);})();}return logger['warn'](_0x1d7236[_0x518079(0xfc)]),{};},_0x59ea94[_0x7d2902(0x115)]=async()=>{const _0x2eba0a=_0x7d2902;if(global[_0x2eba0a(0x81)]){const _0x4779a9={};return _0x4779a9['command']=_0x1d7236[_0x2eba0a(0x155)],await PerformanceTester[_0x2eba0a(0x114)](PerformanceA11yEvents[_0x2eba0a(0x10d)],async()=>{const _0x5482e2=_0x2eba0a;return await AccessibilityHelper[_0x5482e2(0x175)](_0x59ea94,scripts['performScan']);},_0x4779a9)(),await PerformanceTester[_0x2eba0a(0x114)](PerformanceA11yEvents['GET_RESULTS'],async()=>{const _0x4bb895=_0x2eba0a;return await AccessibilityHelper[_0x4bb895(0x175)](_0x59ea94,scripts[_0x4bb895(0xdf)]);})();}return logger[_0x2eba0a(0xfd)](_0x1d7236[_0x2eba0a(0x11a)]),{};},_0x3af5ba[_0x7d2902(0x16e)](patchSaveScreenshot,_0x59ea94);})()),CodeceptJS[_0x5b3832(0xda)][_0x5b3832(0x10b)]['on'](CodeceptJS[_0x5b3832(0xda)]['all'][_0x5b3832(0xcc)],()=>{const _0x1d9721=_0x5b3832;PerformanceTester[_0x1d9721(0x15c)](PerformanceEvents[_0x1d9721(0xba)]);try{_0x2899f2[_0x1d9721(0x15c)](),testOpsHelper[_0x1d9721(0x133)](),PerformanceTester[_0x1d9721(0x96)](PerformanceEvents[_0x1d9721(0xba)]);}catch(_0x50641d){PerformanceTester['captureError'](_0x50641d),PerformanceTester[_0x1d9721(0x96)](PerformanceEvents[_0x1d9721(0xba)],![],_0x50641d);}}),CodeceptJS['event'][_0x5b3832(0x10b)]['on'](CodeceptJS[_0x5b3832(0xda)][_0x5b3832(0xe8)][_0x5b3832(0x126)],async()=>{const _0x3e511a=_0x5b3832;PerformanceTester[_0x3e511a(0x15c)](PerformanceEvents[_0x3e511a(0x135)]);try{requestSpy[_0x3e511a(0x99)](),await _0x2899f2[_0x3e511a(0x160)](),PerformanceTester[_0x3e511a(0x96)](PerformanceEvents[_0x3e511a(0x135)]);}catch(_0x4857b3){PerformanceTester[_0x3e511a(0x101)](_0x4857b3),PerformanceTester[_0x3e511a(0x96)](PerformanceEvents['SDK_POST_TEST'],![],_0x4857b3);}finally{PerformanceTester['stopMonitoring']();}}),CodeceptJS[_0x5b3832(0xda)][_0x5b3832(0x10b)]['on'](CodeceptJS['event'][_0x5b3832(0x16c)][_0x5b3832(0xe7)],_0x2b1cb7=>{const _0xbf210a=_0x5b3832;PerformanceTester[_0xbf210a(0x15c)](PerformanceEvents[_0xbf210a(0xec)]);try{const _0x43bda2=_0x2b1cb7[_0xbf210a(0x8a)][_0xbf210a(0x9b)],_0x3e8bc7=_0x2899f2[_0xbf210a(0x9d)](TEST_EVENTS['HOOK_RUN_STARTED'],_0x43bda2);CodeceptRecorder[_0xbf210a(0xb1)](()=>_0x2899f2[_0xbf210a(0xdc)](TEST_EVENTS['HOOK_RUN_STARTED'],_0x3e8bc7));const _0x1397b5={};_0x1397b5[_0xbf210a(0x84)]=_0x3af5ba[_0xbf210a(0x14e)],PerformanceTester[_0xbf210a(0x96)](PerformanceEvents['SDK_HOOK'],!![],null,_0x1397b5);}catch(_0x3f1c7c){const _0x3232e9={};_0x3232e9[_0xbf210a(0x84)]=_0x3af5ba['RkqJj'],PerformanceTester[_0xbf210a(0x96)](PerformanceEvents[_0xbf210a(0xec)],![],_0x3f1c7c,_0x3232e9),PerformanceTester[_0xbf210a(0x101)](_0x3f1c7c);}}),CodeceptJS[_0x5b3832(0xda)][_0x5b3832(0x10b)]['on'](CodeceptJS[_0x5b3832(0xda)]['hook'][_0x5b3832(0x82)],_0x279030=>{const _0x23544a=_0x5b3832,_0x5bc6e9={};_0x5bc6e9[_0x23544a(0x84)]=_0x3af5ba[_0x23544a(0x178)],PerformanceTester[_0x23544a(0x15c)](PerformanceHookEvents[_0x23544a(0xec)],!![],null,_0x5bc6e9);try{const _0x171d0d=_0x279030['ctx'][_0x23544a(0x9b)],_0x39bc14=_0x2899f2['captureEvent'](TEST_EVENTS[_0x23544a(0x11d)],_0x171d0d);CodeceptRecorder[_0x23544a(0xb1)](()=>_0x2899f2['fireEvent'](TEST_EVENTS[_0x23544a(0x11d)],_0x39bc14));const _0x566a7e={};_0x566a7e[_0x23544a(0x84)]=_0x3af5ba['xUpQI'],PerformanceTester[_0x23544a(0x96)](PerformanceHookEvents[_0x23544a(0xec)],!![],null,_0x566a7e);}catch(_0xf77e90){PerformanceTester[_0x23544a(0x101)](_0xf77e90);const _0x3e78bd={};_0x3e78bd[_0x23544a(0x84)]=_0x3af5ba[_0x23544a(0x178)],PerformanceTester['end'](PerformanceHookEvents[_0x23544a(0xec)],![],_0xf77e90,_0x3e78bd);}}),CodeceptJS[_0x5b3832(0xda)][_0x5b3832(0x10b)]['on'](CodeceptJS[_0x5b3832(0xda)]['hook'][_0x5b3832(0xc1)],async(_0xfa20c3,_0x3bd65c)=>{const _0x23bad3=_0x5b3832;PerformanceTester[_0x23bad3(0x15c)](PerformanceHookEvents[_0x23bad3(0xec)]);try{const _0x497076=_0xfa20c3[_0x23bad3(0x8a)][_0x23bad3(0x9b)],_0x5b5a3b=_0x2899f2[_0x23bad3(0x9d)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x497076,_0x3bd65c);CodeceptRecorder['add'](()=>_0x2899f2[_0x23bad3(0xdc)](TEST_EVENTS[_0x23bad3(0x11d)],_0x5b5a3b));const _0x4a6f33={};_0x4a6f33[_0x23bad3(0x84)]=_0x3af5ba['VExvU'],PerformanceTester[_0x23bad3(0x15c)](PerformanceHookEvents[_0x23bad3(0xec)],!![],null,_0x4a6f33);}catch(_0x5d7006){PerformanceTester[_0x23bad3(0x101)](_0x5d7006);const _0x5390dc={};_0x5390dc[_0x23bad3(0x84)]=_0x3af5ba['VExvU'],PerformanceTester[_0x23bad3(0x96)](PerformanceHookEvents[_0x23bad3(0xec)],![],_0x5d7006,_0x5390dc);}const _0x5d3b80={};_0x5d3b80['hookType']=_0x3af5ba[_0x23bad3(0x14c)],PerformanceTester[_0x23bad3(0x96)](PerformanceHookEvents[_0x23bad3(0xec)],!![],null,_0x5d3b80);}),CodeceptJS['event'][_0x5b3832(0x10b)]['on'](CodeceptJS[_0x5b3832(0xda)][_0x5b3832(0x9b)]['before'],_0x335480=>{const _0x269f0c=_0x5b3832;PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK']);try{globals['setGlobal'](_0x3af5ba[_0x269f0c(0xc6)],_0x335480['title']);_0x3af5ba[_0x269f0c(0xe9)](isBrowserstackInfra)&&(_0x124f72&&(global[_0x269f0c(0xdb)]={'currentTest':{'name':_0x335480[_0x269f0c(0x102)],'testInfo':{'titlePath':_0x335480[_0x269f0c(0xa9)]()}}}));const _0x19f7e1={};_0x19f7e1[_0x269f0c(0x84)]=_0x3af5ba[_0x269f0c(0x15b)],PerformanceTester[_0x269f0c(0x96)](PerformanceHookEvents[_0x269f0c(0xec)],!![],null,_0x19f7e1);}catch(_0x540cdf){PerformanceTester[_0x269f0c(0x101)](_0x540cdf);const _0x57f884={};_0x57f884['hookType']=_0x3af5ba[_0x269f0c(0x15b)],PerformanceTester[_0x269f0c(0x96)](PerformanceHookEvents['SDK_HOOK'],![],_0x540cdf,_0x57f884);}}),CodeceptJS[_0x5b3832(0xda)][_0x5b3832(0x10b)]['on'](CodeceptJS['event'][_0x5b3832(0x9b)][_0x5b3832(0xe7)],_0x4a4eb9=>{const _0x5bb864=_0x5b3832,_0x3162bf={'yCyVF':function(_0x47a808){const _0x453213=a1_0x1437;return _0x3af5ba[_0x453213(0xe9)](_0x47a808);},'UPSDI':function(_0x2db608,_0x4e364d){return _0x3af5ba['giAIQ'](_0x2db608,_0x4e364d);},'LTzdA':function(_0x20d6b3,_0x3b66e4,_0x27d936){const _0x58fb66=a1_0x1437;return _0x3af5ba[_0x58fb66(0xe4)](_0x20d6b3,_0x3b66e4,_0x27d936);},'eyRiI':function(_0x1a6593,_0x53a876){const _0x563c9d=a1_0x1437;return _0x3af5ba[_0x563c9d(0x147)](_0x1a6593,_0x53a876);}};PerformanceTester[_0x5bb864(0x15c)](PerformanceHookEvents[_0x5bb864(0xec)]);try{globals['setGlobal'](_0x3af5ba[_0x5bb864(0xc6)],_0x4a4eb9[_0x5bb864(0x102)]);const _0x3c0bdf=_0x2899f2['captureEvent'](TEST_EVENTS[_0x5bb864(0xd2)],_0x4a4eb9);CodeceptRecorder['add'](()=>_0x2899f2[_0x5bb864(0xdc)](TEST_EVENTS[_0x5bb864(0xd2)],_0x3c0bdf)),CodeceptRecorder[_0x5bb864(0xb1)](async()=>{const _0x3ec885=_0x5bb864;_0x3162bf[_0x3ec885(0xd8)](isBrowserstackInfra)&&(!_0x3162bf[_0x3ec885(0xe2)](isTrue,_0x457250[_0x3ec885(0x12f)])&&await _0x3162bf[_0x3ec885(0xed)](markSessionName,_0x59ea94,_0x4a4eb9[_0x3ec885(0x102)]),_0x2899f2[_0x3ec885(0x13d)]&&await _0x3162bf[_0x3ec885(0x9c)](o11ySync,_0x59ea94));});}catch(_0x45aa2e){const _0x3ed899={};_0x3ed899[_0x5bb864(0x84)]=_0x3af5ba['JVvET'],PerformanceTester['end'](PerformanceHookEvents[_0x5bb864(0xec)],![],_0x45aa2e,_0x3ed899),PerformanceTester['captureError'](_0x45aa2e);}const _0x215fc0={};_0x215fc0[_0x5bb864(0x84)]=_0x3af5ba[_0x5bb864(0x90)],PerformanceTester[_0x5bb864(0x96)](PerformanceHookEvents[_0x5bb864(0xec)],!![],null,_0x215fc0);}),CodeceptJS[_0x5b3832(0xda)][_0x5b3832(0x10b)]['on'](CodeceptJS[_0x5b3832(0xda)][_0x5b3832(0x9b)]['passed'],_0x58c31e=>{const _0x3608d4=_0x5b3832;PerformanceTester['start'](PerformanceHookEvents[_0x3608d4(0xec)]);try{const _0x1805c7=_0x2899f2[_0x3608d4(0x9d)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x58c31e);CodeceptRecorder[_0x3608d4(0xb1)](()=>_0x2899f2[_0x3608d4(0xdc)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x1805c7)),CodeceptRecorder[_0x3608d4(0xb1)](async()=>{const _0x110694=_0x3608d4,_0xd9db03={'VtgDw':function(_0x1d9b0d,_0x39c689,_0x10632f){const _0x2e61c9=a1_0x1437;return _0x3af5ba[_0x2e61c9(0xe4)](_0x1d9b0d,_0x39c689,_0x10632f);}};_0x3af5ba[_0x110694(0xe9)](isBrowserstackInfra)&&await PerformanceTester[_0x110694(0x114)](PerformanceAutEvents[_0x110694(0x172)],async()=>{const _0xc24180=_0x110694;_0x124f72?await _0xd9db03['VtgDw'](playwrightMarkSessionStatus,_0x59ea94,STATE_PASSED):await _0xd9db03[_0xc24180(0xeb)](markSessionStatus,_0x59ea94,STATE_PASSED);})();}),PerformanceTester[_0x3608d4(0x96)](PerformanceEvents['SDK_TEST']);}catch(_0x463149){PerformanceTester[_0x3608d4(0x101)](_0x463149);const _0x413ed6={};_0x413ed6['hookType']=_0x3af5ba['vxAyL'],PerformanceTester['end'](PerformanceHookEvents[_0x3608d4(0xec)],![],_0x463149,_0x413ed6),PerformanceTester[_0x3608d4(0x96)](PerformanceEvents[_0x3608d4(0xc9)],![],_0x463149);}const _0x1eebc6={};_0x1eebc6[_0x3608d4(0x84)]=_0x3af5ba['vxAyL'],PerformanceTester[_0x3608d4(0x96)](PerformanceHookEvents[_0x3608d4(0xec)],!![],null,_0x1eebc6);}),CodeceptJS[_0x5b3832(0xda)][_0x5b3832(0x10b)]['on'](CodeceptJS[_0x5b3832(0xda)][_0x5b3832(0x9b)]['failed'],(_0x2e3f8b,_0x5e59d9)=>{const _0x8e70fe=_0x5b3832,_0x34c9b8={'Iawhy':function(_0x5222e7){return _0x3af5ba['zGvYh'](_0x5222e7);},'gqOhk':function(_0x4beeb7,_0x266d26,_0x29ed66,_0x222df9){const _0x3c6003=a1_0x1437;return _0x3af5ba[_0x3c6003(0x91)](_0x4beeb7,_0x266d26,_0x29ed66,_0x222df9);},'RKVSV':function(_0x435600,_0x16fcb1,_0x1c6508,_0x4974b9){return _0x3af5ba['PmLbP'](_0x435600,_0x16fcb1,_0x1c6508,_0x4974b9);}};PerformanceTester[_0x8e70fe(0x15c)](PerformanceHookEvents['SDK_HOOK']);try{if(_0x3af5ba[_0x8e70fe(0x106)](_0x2e3f8b[_0x8e70fe(0x125)][_0x8e70fe(0x7b)],_0x3af5ba[_0x8e70fe(0x164)])){const _0x19f184=_0x2899f2['captureEvent'](TEST_EVENTS[_0x8e70fe(0x83)],_0x2e3f8b[_0x8e70fe(0x8a)][_0x8e70fe(0xcd)]);CodeceptRecorder[_0x8e70fe(0xb1)](()=>_0x2899f2[_0x8e70fe(0xdc)](TEST_EVENTS[_0x8e70fe(0x83)],_0x19f184));}else{const _0x248134=_0x2899f2[_0x8e70fe(0x9d)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x2e3f8b,_0x5e59d9);CodeceptRecorder[_0x8e70fe(0xb1)](()=>{const _0x503ab8=_0x8e70fe;try{_0x2899f2['fireEvent'](TEST_EVENTS[_0x503ab8(0x92)],_0x248134);}catch(_0x13c495){logger['debug'](_0x503ab8(0x143)+util[_0x503ab8(0xd9)](_0x13c495)),PerformanceTester[_0x503ab8(0x96)](PerformanceEvents[_0x503ab8(0xc9)],![],_0x13c495);}}),CodeceptRecorder['add'](async()=>{const _0x428aa9=_0x8e70fe;try{_0x34c9b8[_0x428aa9(0xc2)](isBrowserstackInfra)&&(_0x124f72?await _0x34c9b8[_0x428aa9(0x13c)](playwrightMarkSessionStatus,_0x59ea94,STATE_FAILED,_0x5e59d9):await _0x34c9b8[_0x428aa9(0x173)](markSessionStatus,_0x59ea94,STATE_FAILED,_0x5e59d9));}catch(_0x5854b8){logger[_0x428aa9(0xb4)](_0x428aa9(0x170)+util[_0x428aa9(0xd9)](_0x5854b8)),PerformanceTester[_0x428aa9(0x96)](PerformanceEvents[_0x428aa9(0xc9)],![],_0x5854b8);}});}PerformanceTester[_0x8e70fe(0x96)](PerformanceEvents['SDK_TEST']);}catch(_0x4f0fde){PerformanceTester[_0x8e70fe(0x101)](_0x4f0fde);const _0x1ff780={};_0x1ff780[_0x8e70fe(0x84)]=_0x3af5ba[_0x8e70fe(0xc5)],PerformanceTester[_0x8e70fe(0x96)](PerformanceHookEvents[_0x8e70fe(0xec)],![],_0x4f0fde,_0x1ff780),PerformanceTester[_0x8e70fe(0x96)](PerformanceEvents[_0x8e70fe(0xc9)],![],_0x4f0fde);}const _0x2eddd3={};_0x2eddd3[_0x8e70fe(0x84)]=_0x3af5ba[_0x8e70fe(0xc5)],PerformanceTester[_0x8e70fe(0x96)](PerformanceHookEvents[_0x8e70fe(0xec)],!![],null,_0x2eddd3);}),CodeceptJS[_0x5b3832(0xda)][_0x5b3832(0x10b)]['on'](CodeceptJS[_0x5b3832(0xda)][_0x5b3832(0x9b)][_0x5b3832(0x7f)],_0x4a0a32=>{const _0x4a2b5d=_0x5b3832;PerformanceTester['start'](PerformanceHookEvents[_0x4a2b5d(0xec)]);try{const _0x11902e=_0x2899f2[_0x4a2b5d(0x9d)](TEST_EVENTS[_0x4a2b5d(0x83)],_0x4a0a32);CodeceptRecorder['add'](()=>_0x2899f2[_0x4a2b5d(0xdc)](TEST_EVENTS[_0x4a2b5d(0x83)],_0x11902e)),PerformanceTester['end'](PerformanceEvents[_0x4a2b5d(0xc9)]);}catch(_0x10a2b9){PerformanceTester[_0x4a2b5d(0x101)](_0x10a2b9),PerformanceTester[_0x4a2b5d(0x96)](PerformanceEvents[_0x4a2b5d(0xc9)],![],_0x10a2b9);const _0x45ec55={};_0x45ec55[_0x4a2b5d(0x84)]=_0x3af5ba[_0x4a2b5d(0xfb)],PerformanceTester[_0x4a2b5d(0x96)](PerformanceHookEvents[_0x4a2b5d(0xec)],![],_0x10a2b9,_0x45ec55);}const _0x38d1d2={};_0x38d1d2[_0x4a2b5d(0x84)]=_0x3af5ba[_0x4a2b5d(0xfb)],PerformanceTester[_0x4a2b5d(0x96)](PerformanceHookEvents[_0x4a2b5d(0xec)],!![],null,_0x38d1d2);}),CodeceptJS[_0x5b3832(0xda)][_0x5b3832(0x10b)]['on'](CodeceptJS[_0x5b3832(0xda)][_0x5b3832(0x9b)][_0x5b3832(0x126)],async(_0x5d2001,_0x3a7095)=>{const _0x215ed5=_0x5b3832;try{PerformanceTester[_0x215ed5(0x15c)](PerformanceHookEvents[_0x215ed5(0xec)]);const _0x3fcd5c=_0x3af5ba[_0x215ed5(0xde)](shouldScanTestForAccessibility,_0x5d2001[_0x215ed5(0xa9)](),!![]);if(_0x3af5ba['hksIi'](isAccessibilityAutomationSession)&&global[_0x215ed5(0x81)]&&_0x3fcd5c){const _0x4f39fc={};_0x4f39fc[_0x215ed5(0x14a)]=_0x5d2001[_0x215ed5(0xa2)],_0x4f39fc['thBuildUuid']=process['env'][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_UUID']],_0x4f39fc[_0x215ed5(0x80)]=process[_0x215ed5(0x107)][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_JWT']];const _0x4b0d3b=_0x4f39fc;logger['debug'](_0x215ed5(0xc8)+JSON[_0x215ed5(0xf5)](_0x4b0d3b)),CodeceptRecorder[_0x215ed5(0xb1)](async()=>{const _0x4565ff=_0x215ed5,_0x3643cb={};_0x3643cb[_0x4565ff(0x12a)]=_0x3af5ba[_0x4565ff(0x104)],await PerformanceTester[_0x4565ff(0x114)](PerformanceA11yEvents[_0x4565ff(0x10d)],async()=>{const _0x39fec7=_0x4565ff;await AccessibilityHelper[_0x39fec7(0x175)](_0x59ea94,scripts[_0x39fec7(0x110)]);},_0x3643cb)(),globals[_0x4565ff(0x17a)](_0x3af5ba['bjXYg'])&&(_0x4b0d3b[_0x4565ff(0xe3)]=!![]),await PerformanceTester['measureWrapper'](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x8a8407=_0x4565ff;await AccessibilityHelper[_0x8a8407(0x175)](_0x59ea94,scripts[_0x8a8407(0x8d)],_0x4b0d3b);})();}),logger[_0x215ed5(0x11c)](_0x3af5ba[_0x215ed5(0x161)]);}const _0x45b99c={};_0x45b99c['hookType']=_0x3af5ba[_0x215ed5(0x85)],PerformanceTester[_0x215ed5(0x96)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x45b99c);}catch(_0x8cbab1){PerformanceTester[_0x215ed5(0x101)](_0x8cbab1);const _0x5931e6={};_0x5931e6[_0x215ed5(0x84)]=_0x3af5ba['zBYrV'],PerformanceTester[_0x215ed5(0x96)](PerformanceHookEvents['SDK_HOOK'],![],_0x8cbab1,_0x5931e6);}}),CodeceptJS[_0x5b3832(0xda)][_0x5b3832(0x10b)]['on'](CodeceptJS['event'][_0x5b3832(0xf9)]['comment'],_0x132b73=>{const _0x3bfff1=_0x5b3832;PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK']);try{process[_0x3bfff1(0xfa)](_0x3bfff1(0xd0)+process[_0x3bfff1(0xd7)],{'timestamp':new Date()[_0x3bfff1(0xb3)](),'level':_0x3af5ba[_0x3bfff1(0xab)],'message':_0x132b73,'kind':_0x3af5ba[_0x3bfff1(0x177)],'http_response':{}});}catch(_0xd25fe1){PerformanceTester[_0x3bfff1(0x101)](_0xd25fe1);const _0x466f13={};_0x466f13[_0x3bfff1(0x84)]=_0x3af5ba[_0x3bfff1(0x14b)],PerformanceTester[_0x3bfff1(0x96)](PerformanceHookEvents['SDK_HOOK'],![],_0xd25fe1,_0x466f13);}const _0x219691={};_0x219691[_0x3bfff1(0x84)]=_0x3af5ba[_0x3bfff1(0x14b)],PerformanceTester['end'](PerformanceHookEvents[_0x3bfff1(0xec)],!![],null,_0x219691);}),CodeceptJS['event'][_0x5b3832(0x10b)]['on'](CodeceptJS[_0x5b3832(0xda)][_0x5b3832(0x119)][_0x5b3832(0xcc)],_0x184ae0=>{const _0x848f85=_0x5b3832,_0x26c963={};_0x26c963['hookType']=_0x3af5ba[_0x848f85(0x100)],PerformanceTester[_0x848f85(0x114)](PerformanceHookEvents[_0x848f85(0xec)],()=>{const _0x5bd53b=_0x848f85;_0x2899f2[_0x5bd53b(0x108)](_0x184ae0);},_0x26c963)();}),CodeceptJS[_0x5b3832(0xda)]['dispatcher']['on'](CodeceptJS[_0x5b3832(0xda)][_0x5b3832(0x119)]['after'],_0x4c9519=>{const _0x2f889b=_0x5b3832,_0x329ec4={};_0x329ec4[_0x2f889b(0x84)]=_0x3af5ba['llklF'],PerformanceTester['measureWrapper'](PerformanceHookEvents['SDK_HOOK'],()=>{const _0x573071=_0x2f889b;_0x2899f2[_0x573071(0xbf)](_0x4c9519);},_0x329ec4)();});};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a2_0x122e(_0x52170d,_0x4baa3b){const _0x5b4f34=a2_0x5b4f();return a2_0x122e=function(_0x122e37,_0x1762af){_0x122e37=_0x122e37-0x12b;let _0x386d57=_0x5b4f34[_0x122e37];return _0x386d57;},a2_0x122e(_0x52170d,_0x4baa3b);}const a2_0x4f0077=a2_0x122e;(function(_0x48b162,_0x9919bd){const _0x1cf734=a2_0x122e,_0x477a7e=_0x48b162();while(!![]){try{const _0x1d1d7f=-parseInt(_0x1cf734(0x151))/0x1*(parseInt(_0x1cf734(0x15f))/0x2)+parseInt(_0x1cf734(0x1aa))/0x3+-parseInt(_0x1cf734(0x187))/0x4*(parseInt(_0x1cf734(0x143))/0x5)+-parseInt(_0x1cf734(0x1be))/0x6+parseInt(_0x1cf734(0x180))/0x7+parseInt(_0x1cf734(0x142))/0x8*(-parseInt(_0x1cf734(0x1c8))/0x9)+-parseInt(_0x1cf734(0x161))/0xa*(-parseInt(_0x1cf734(0x13c))/0xb);if(_0x1d1d7f===_0x9919bd)break;else _0x477a7e['push'](_0x477a7e['shift']());}catch(_0x506377){_0x477a7e['push'](_0x477a7e['shift']());}}}(a2_0x5b4f,0x4e1b4));const fs=require('fs'),path=require(a2_0x4f0077(0x1b0)),util=require('util'),process=require(a2_0x4f0077(0x1af)),logger=require(a2_0x4f0077(0x183))[a2_0x4f0077(0x154)],{default:BrowserStackSetup}=require(a2_0x4f0077(0x140)),helper=require(a2_0x4f0077(0x159)),utilities=require(a2_0x4f0077(0x160)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities,processAccessibilityCaps}=require('../../bin/playwright/accessibility-helper'),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x4f0077(0x159)),CodeceptJS=requireModule('codeceptjs/lib/index.js',a2_0x4f0077(0x138)),testOpsHelper=require(a2_0x4f0077(0x14e)),TestHubHandler=require(a2_0x4f0077(0x1c6)),constants=require('../utils/constants'),PerformanceTester=require(a2_0x4f0077(0x191)),{FRAMEWORKS}=require(a2_0x4f0077(0x177)),PerformanceEvents=require(a2_0x4f0077(0x150))[a2_0x4f0077(0x1a2)],ClientTroubleShootingService=require(a2_0x4f0077(0x13f)),_testErrorData=[],getUserCodeceptJSConfigs=(_0x212859,_0x19fae2)=>{const _0x1b79fe=a2_0x4f0077,_0x1b7655={};_0x1b7655[_0x1b79fe(0x1b5)]=function(_0x4e5474,_0x1088a0){return _0x4e5474===_0x1088a0;},_0x1b7655['fKOSn']=_0x1b79fe(0x17e),_0x1b7655[_0x1b79fe(0x14b)]=_0x1b79fe(0x141);const _0x77825f=_0x1b7655;let _0xb666d9=null;const _0x3630b4={};let _0x3ebd5d=_0x19fae2['findIndex'](_0xf94c17=>_0xf94c17==='--config');_0x77825f[_0x1b79fe(0x1b5)](_0x3ebd5d,-0x1)&&(_0x3ebd5d=_0x19fae2[_0x1b79fe(0x1b6)](_0x5716e3=>_0x5716e3==='-c'));if(!helper[_0x1b79fe(0x1c9)](_0x212859['config'])&&fs[_0x1b79fe(0x137)](path[_0x1b79fe(0x15d)](process['cwd'](),_0x212859[_0x1b79fe(0x189)])))_0xb666d9=path[_0x1b79fe(0x15d)](process[_0x1b79fe(0x14d)](),_0x212859[_0x1b79fe(0x189)]),_0x19fae2['slice'](_0x3ebd5d,0x2);else{if(!helper[_0x1b79fe(0x1c9)](_0x212859['c'])&&fs[_0x1b79fe(0x137)](path[_0x1b79fe(0x15d)](process[_0x1b79fe(0x14d)](),_0x212859['c'])))_0xb666d9=path['join'](process[_0x1b79fe(0x14d)](),_0x212859['c']),_0x19fae2[_0x1b79fe(0x12d)](_0x3ebd5d,0x2);else{if(fs['existsSync'](path[_0x1b79fe(0x15d)](process[_0x1b79fe(0x14d)](),_0x77825f[_0x1b79fe(0x1cd)])))_0xb666d9=path['join'](process[_0x1b79fe(0x14d)](),_0x77825f[_0x1b79fe(0x1cd)]);else fs[_0x1b79fe(0x137)](path[_0x1b79fe(0x15d)](process[_0x1b79fe(0x14d)](),_0x77825f[_0x1b79fe(0x14b)]))&&(_0xb666d9=path[_0x1b79fe(0x15d)](process[_0x1b79fe(0x14d)](),_0x77825f[_0x1b79fe(0x14b)]));}}return process[_0x1b79fe(0x1b9)][_0x1b79fe(0x156)]=_0xb666d9,_0xb666d9;},getO11yRerunPattern=()=>{const _0x3cd585=a2_0x4f0077,_0x2abbeb=helper['isTrue'](process[_0x3cd585(0x1b9)][_0x3cd585(0x14a)]);if(_0x2abbeb){const _0x388b8a=process['env'][_0x3cd585(0x15c)],_0xa3cdfb=[];if(helper['validateRerunTestList'](_0x388b8a)&&!helper['isUndefined'](_0x388b8a)){_0x388b8a[_0x3cd585(0x18f)](',')[_0x3cd585(0x12c)](_0x389b24=>{const _0xe2f774=_0x3cd585;_0xa3cdfb[_0xe2f774(0x149)]('('+_0x389b24[_0xe2f774(0x1ca)]()+')');});const _0x56635b='^'+_0xa3cdfb[_0x3cd585(0x15d)]('|')+'$';return _0x56635b;}}return null;},a2_0x547d76={};a2_0x547d76[a2_0x4f0077(0x186)]=a2_0x4f0077(0x13e),a2_0x547d76[a2_0x4f0077(0x170)]=a2_0x4f0077(0x13e),a2_0x547d76[a2_0x4f0077(0x132)]=a2_0x4f0077(0x13d),a2_0x547d76[a2_0x4f0077(0x178)]='webkit';const pwToCodeceptBrowser=a2_0x547d76;async function run(_0x134573,_0x57b64d,_0x389145){const _0x1835bf=a2_0x4f0077,_0x2a3dc5={'JRtIc':function(_0x3186e2,_0x4b435b,_0x3f4ab3,_0x44c175){return _0x3186e2(_0x4b435b,_0x3f4ab3,_0x44c175);},'qCrUI':function(_0x5b669c,_0x2bafc1){return _0x5b669c+_0x2bafc1;},'qLnPF':function(_0x5270b1,_0x281469){return _0x5270b1(_0x281469);},'YseDT':function(_0x1d426f,_0x92c461){return _0x1d426f+_0x92c461;},'psgiQ':function(_0x2638fb,_0x4f2377,_0x57b111){return _0x2638fb(_0x4f2377,_0x57b111);},'EJonJ':_0x1835bf(0x182),'lsjoU':function(_0x328824){return _0x328824();},'oYDEC':'/wd/hub','ZYXNr':function(_0xce2888){return _0xce2888();},'JQNdY':function(_0x55ffa6){return _0x55ffa6();},'cnNoa':_0x1835bf(0x146),'HNhbM':_0x1835bf(0x1a3),'CvODy':_0x1835bf(0x185),'nfPdm':_0x1835bf(0x172),'mipQZ':function(_0x6f071f,_0x556446,_0x3ea772){return _0x6f071f(_0x556446,_0x3ea772);},'AAijy':_0x1835bf(0x181),'pgHAA':function(_0x3b9c26,_0x2c8d44,_0x2d4b82){return _0x3b9c26(_0x2c8d44,_0x2d4b82);},'hrtIK':_0x1835bf(0x1b2),'bwPBg':'WebDriver','DCiGy':function(_0x2822f9,_0x39b286){return _0x2822f9!=_0x39b286;},'HfqvI':function(_0x1f93a0,_0x5ddb30){return _0x1f93a0===_0x5ddb30;},'Qcehn':function(_0x3b7ea4,_0x2acaa5,_0x400f40){return _0x3b7ea4(_0x2acaa5,_0x400f40);},'MdotQ':_0x1835bf(0x18d),'vWiqq':function(_0x1064a2,_0x4d924b){return _0x1064a2*_0x4d924b;},'eNFnV':function(_0x229c6a,_0x2becbd,_0x101f56){return _0x229c6a(_0x2becbd,_0x101f56);},'uYqvI':_0x1835bf(0x1b8),'KNKza':'desiredCapabilities','TyIgR':_0x1835bf(0x175),'YheRZ':_0x1835bf(0x131),'XSdAZ':_0x1835bf(0x197),'xLKnl':function(_0x274365){return _0x274365();}};await _0x389145[_0x1835bf(0x147)](_0x134573),await helper[_0x1835bf(0x130)](_0x389145[_0x1835bf(0x189)]);if(!_0x389145[_0x1835bf(0x189)])return;process[_0x1835bf(0x12e)]=_0x134573[_0x1835bf(0x12e)];_0x134573[_0x1835bf(0x12e)]&&(process[_0x1835bf(0x1b9)][_0x1835bf(0x12e)]=_0x134573[_0x1835bf(0x12e)]);const _0xc7bc74=_0x2a3dc5['mipQZ'](getUserCodeceptJSConfigs,_0x134573,_0x57b64d);let _0x3538e3={};_0xc7bc74?(logger['info'](_0x1835bf(0x157)+_0xc7bc74),_0x3538e3=CodeceptJS[_0x1835bf(0x189)]['load'](_0xc7bc74)):logger[_0x1835bf(0x179)](_0x2a3dc5[_0x1835bf(0x199)]);let _0x39ce47=![];_0x2a3dc5[_0x1835bf(0x1a9)](nestedKeyValue,_0x3538e3,[_0x2a3dc5[_0x1835bf(0x19d)],_0x2a3dc5[_0x1835bf(0x1a5)]])&&(_0x39ce47=!![]);const _0x2835b0=_0x39ce47?_0x2a3dc5[_0x1835bf(0x1a5)]:_0x2a3dc5[_0x1835bf(0x1c7)];let _0x44f0a8=!_0x39ce47?helper[_0x1835bf(0x1ad)](_0x389145[_0x1835bf(0x189)]):![];!helper[_0x1835bf(0x1c9)](_0x389145[_0x1835bf(0x189)][_0x1835bf(0x176)])&&(process[_0x1835bf(0x1b9)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x1835bf(0x1ab)](_0x389145[_0x1835bf(0x189)][_0x1835bf(0x176)]));let _0x4ec77a=_0x389145[_0x1835bf(0x189)]['accessibility'];_0x4ec77a=_0x4ec77a||_0x2a3dc5[_0x1835bf(0x158)](checkAccessibilityPlatformConfig,_0x389145[_0x1835bf(0x189)]),process[_0x1835bf(0x1b9)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x4ec77a;_0x4ec77a&&(_0x44f0a8=!_0x4ec77a);_0x2a3dc5[_0x1835bf(0x15a)](_0x389145[_0x1835bf(0x189)]['testObservability'],null)?process[_0x1835bf(0x1b9)][_0x1835bf(0x15b)]=_0x389145[_0x1835bf(0x189)][_0x1835bf(0x1a1)]:process[_0x1835bf(0x1b9)][_0x1835bf(0x15b)]=_0x2a3dc5[_0x1835bf(0x17a)](_0x2835b0,_0x2a3dc5['hrtIK']);const _0x2e4702=_0x2a3dc5[_0x1835bf(0x166)](nestedKeyValue,_0x3538e3,[_0x2a3dc5['MdotQ']]),_0x546e5f=_0x2e4702&&!helper[_0x1835bf(0x1ba)](_0x2e4702)?FRAMEWORKS[_0x1835bf(0x136)]:FRAMEWORKS[_0x1835bf(0x196)],_0xf4cf8a=await TestHubHandler[_0x1835bf(0x12b)](_0x546e5f,_0x389145);_0x4ec77a&&_0x2a3dc5[_0x1835bf(0x158)](setAccessibilityCapabilities,_0x389145[_0x1835bf(0x189)]);const _0x303c14={},_0x515024=[],_0x24860f=_0x389145[_0x1835bf(0x189)][_0x1835bf(0x1ac)]||helper[_0x1835bf(0x162)](_0x134573,_0x57b64d,_0x389145[_0x1835bf(0x189)],constants['FRAMEWORKS'][_0x1835bf(0x196)])||0x1;let _0x16c233=0x1;if(_0x2a3dc5[_0x1835bf(0x15e)](isBrowserstackInfra)){const _0x2ba332=helper[_0x1835bf(0x17c)](_0x389145[_0x1835bf(0x189)],_0x44f0a8,constants[_0x1835bf(0x174)][_0x1835bf(0x196)]);_0x2ba332[_0x1835bf(0x1c2)](_0x558b99=>{helper['setAdditionalCapabilities'](_0x558b99);}),helper['validPlatformsPresent'](_0x389145['config'])?_0x16c233=_0x2a3dc5[_0x1835bf(0x13a)](_0x24860f,_0x389145[_0x1835bf(0x189)][_0x1835bf(0x12f)][_0x1835bf(0x165)]):_0x16c233=_0x24860f,_0x2ba332[_0x1835bf(0x1c2)](_0x11c488=>{const _0x1261fc=_0x1835bf,_0x382ab2={'VAqTN':function(_0x42c5b3,_0x238b6f,_0x350329,_0x514a7d){const _0x5da284=a2_0x122e;return _0x2a3dc5[_0x5da284(0x144)](_0x42c5b3,_0x238b6f,_0x350329,_0x514a7d);},'Rhrkj':function(_0x49a28e,_0x10534a){const _0xc2e144=a2_0x122e;return _0x2a3dc5[_0xc2e144(0x192)](_0x49a28e,_0x10534a);},'vtvSA':function(_0x4d2de2,_0x2d4c4b){return _0x2a3dc5['qLnPF'](_0x4d2de2,_0x2d4c4b);}},_0x51b70a=_0x2a3dc5[_0x1261fc(0x193)](helper[_0x1261fc(0x167)](_0x11c488,'_'),'_'+Date['now']()),_0x5755f0=((()=>{const _0x651bf7=_0x1261fc;if(_0x39ce47){const _0x4d9b0c=pwToCodeceptBrowser[_0x11c488[_0x651bf7(0x155)]]||_0x11c488[_0x651bf7(0x155)],_0x582ca6=helper[_0x651bf7(0x18a)](_0x389145[_0x651bf7(0x189)]),_0xb436c3=Object[_0x651bf7(0x139)]({},_0x11c488);return _0x382ab2[_0x651bf7(0x190)](processAccessibilityCaps,_0xb436c3,_0x582ca6,null),{'browser':_0x4d9b0c,[_0x4d9b0c]:{'browserWSEndpoint':_0x382ab2[_0x651bf7(0x1b4)](_0x582ca6,_0x382ab2[_0x651bf7(0x1a6)](encodeURIComponent,JSON[_0x651bf7(0x1ab)](_0xb436c3)))}};}const _0x1eb07d={};return _0x1eb07d[_0x651bf7(0x1a4)]=_0x11c488,_0x1eb07d['user']=_0x389145['config'][_0x651bf7(0x1bb)],_0x1eb07d[_0x651bf7(0x19c)]=_0x389145['config']['accessKey'],_0x1eb07d;})()),_0x467b7a=_0x2a3dc5[_0x1261fc(0x152)](nestedKeyValue,_0x3538e3,[_0x2a3dc5[_0x1261fc(0x19d)],_0x2835b0]);_0x303c14[_0x51b70a]=_0x467b7a?helper[_0x1261fc(0x169)](_0x5755f0,_0x467b7a):_0x5755f0;if(_0x39ce47)_0x303c14[_0x51b70a][_0x1261fc(0x1b8)]=pwToCodeceptBrowser[_0x11c488['browserName']]||_0x11c488[_0x1261fc(0x155)];else{_0x303c14[_0x51b70a][_0x1261fc(0x1b8)]=_0x11c488[_0x1261fc(0x155)]||_0x5755f0[_0x1261fc(0x1b8)];if(_0x2a3dc5[_0x1261fc(0x15e)](isBrowserstackInfra)){_0x303c14[_0x51b70a][_0x1261fc(0x188)]=constants[_0x1261fc(0x1cb)][_0x1261fc(0x148)](_0x2a3dc5['oYDEC'],'')[_0x1261fc(0x148)](/https?:\/\//,'');;_0x303c14[_0x51b70a][_0x1261fc(0x1b0)]=_0x2a3dc5[_0x1261fc(0x184)];}}_0x515024[_0x1261fc(0x149)](_0x51b70a);});}else{_0x16c233=0x1;if(_0x39ce47){const _0x59f31f=_0x2a3dc5[_0x1835bf(0x134)](nestedKeyValue,_0x3538e3,[_0x2a3dc5[_0x1835bf(0x19d)],_0x2835b0,_0x2a3dc5['uYqvI']]),_0x2ef37f=_0x2a3dc5[_0x1835bf(0x152)](nestedKeyValue,_0x3538e3,[_0x2a3dc5['EJonJ'],_0x2835b0,_0x59f31f]);if(_0x2ef37f&&_0x2ef37f[_0x1835bf(0x16e)]){const _0x73be97={};_0x73be97[_0x1835bf(0x12f)]=[],_0x2ef37f['browserWSEndpoint']=helper[_0x1835bf(0x17c)](Object[_0x1835bf(0x139)]({},_0x389145[_0x1835bf(0x189)],_0x73be97),null,_0x546e5f[_0x1835bf(0x1a8)](),null,null,_0x2ef37f[_0x1835bf(0x16e)]);}}else{const _0x41c1a9={};_0x41c1a9[_0x1835bf(0x12f)]=[],_0x3538e3[_0x2a3dc5[_0x1835bf(0x19d)]][_0x2835b0][_0x2a3dc5[_0x1835bf(0x17f)]]=helper[_0x1835bf(0x17c)](Object[_0x1835bf(0x139)]({},_0x389145[_0x1835bf(0x189)],_0x41c1a9),null,_0x546e5f[_0x1835bf(0x1a8)](),_0x2a3dc5['eNFnV'](nestedKeyValue,_0x3538e3,[_0x2a3dc5['EJonJ'],_0x2835b0,_0x2a3dc5[_0x1835bf(0x17f)]])||{},null,null);}_0x303c14[_0x2a3dc5['TyIgR']]=_0x3538e3,_0x515024[_0x1835bf(0x149)](_0x2a3dc5[_0x1835bf(0x14f)]);}const _0x2a4f21={};_0x2a4f21[_0x1835bf(0x1bd)]=_0xc7bc74;const _0x581272=_0x2a4f21,_0x3e6d90=path[_0x1835bf(0x15d)](__dirname,_0x2a3dc5[_0x1835bf(0x1cc)]),_0x1e6a84=process['cwd']();process[_0x1835bf(0x1b9)][_0x2a3dc5[_0x1835bf(0x16f)]]=_0x1e6a84,process[_0x1835bf(0x19b)](path[_0x1835bf(0x1c1)](_0xc7bc74));const _0xb8d63a=new CodeceptJS[(_0x1835bf(0x198))](null,_0x581272),_0x300c25=_0xb8d63a[_0x1835bf(0x1a0)](_0x24860f),_0x38d10a=testOpsHelper[_0x1835bf(0x168)](),_0x51004c=_0x515024[_0x1835bf(0x12c)](_0x186154=>{const _0x48678b=_0x1835bf,_0x29ad4f={};_0x29ad4f['Playwright']=_0x303c14[_0x186154];const _0x1f0005={};_0x1f0005[_0x48678b(0x1b7)]=_0x303c14[_0x186154];const _0x4955d1=_0x39ce47?_0x29ad4f:_0x1f0005,_0x2356d7=_0x2a3dc5[_0x48678b(0x1a7)](getO11yRerunPattern),_0x42028f={};_0x42028f[_0x48678b(0x182)]=_0x4955d1;const _0x54bbbc={};_0x54bbbc[_0x48678b(0x18e)]=_0x3e6d90,_0x54bbbc['enabled']=!![],_0x54bbbc[_0x48678b(0x1c0)]=_0x389145[_0x48678b(0x189)][_0x48678b(0x194)]['skipSessionName'],_0x54bbbc[_0x48678b(0x16c)]=_0x389145[_0x48678b(0x189)][_0x48678b(0x194)][_0x48678b(0x16c)],_0x54bbbc[_0x48678b(0x1a1)]=_0x38d10a,_0x54bbbc['frameworkName']=_0x546e5f;const _0x224a3c={};_0x224a3c[_0x48678b(0x195)]=_0x54bbbc;const _0x329474={};return _0x329474['plugins']=_0x224a3c,helper[_0x48678b(0x169)]({},_0x3538e3,_0x2a3dc5[_0x48678b(0x1ae)](isBrowserstackInfra)?_0x42028f:{},_0x2356d7?{'grep':_0x2356d7}:{},_0x329474);});for(const _0x31f4c7 of _0x51004c){for(const _0x515f90 of _0x300c25){const _0x1d18c1=_0xb8d63a[_0x1835bf(0x16a)]();_0x1d18c1[_0x1835bf(0x163)](_0x515f90),_0x1d18c1['addConfig'](_0x31f4c7);const _0xf85d43={};_0xf85d43['config']=_0xc7bc74,_0x1d18c1[_0x1835bf(0x153)](Object['assign'](_0xf85d43,_0x134573));}}_0xb8d63a['on'](CodeceptJS[_0x1835bf(0x1c4)]['test']['failed'],(_0x322c78,_0x550863)=>{const _0x5c0c32=_0x1835bf;console['log'](_0x2a3dc5[_0x5c0c32(0x1c5)],_0x322c78[_0x5c0c32(0x18c)]);const _0x4ab0be={[_0x322c78['title']]:_0x322c78['err'][_0x5c0c32(0x171)]};_testErrorData[_0x5c0c32(0x149)](_0x4ab0be);}),_0xb8d63a['on'](CodeceptJS[_0x1835bf(0x1c4)][_0x1835bf(0x164)][_0x1835bf(0x135)],async _0x464eaf=>{const _0x53c8f2=_0x1835bf;console[_0x53c8f2(0x1bc)](_0x2a3dc5[_0x53c8f2(0x1c3)],_0x464eaf['title']);}),_0xb8d63a['on'](CodeceptJS['event'][_0x1835bf(0x164)][_0x1835bf(0x145)],async _0x4745ed=>{const _0x13cfa5=_0x1835bf;console[_0x13cfa5(0x1bc)](_0x2a3dc5['CvODy'],_0x4745ed[_0x13cfa5(0x18c)]);}),_0xb8d63a['on'](CodeceptJS['event']['all']['result'],async()=>{const _0x2f568e=_0x1835bf,_0x569e31=_0x2a3dc5[_0x2f568e(0x19f)][_0x2f568e(0x18f)]('|');let _0x32ef8e=0x0;while(!![]){switch(_0x569e31[_0x32ef8e++]){case'0':utilities[_0x2f568e(0x1bf)](_0x389145);continue;case'1':_0xb8d63a[_0x2f568e(0x18b)]();continue;case'2':testOpsHelper[_0x2f568e(0x14c)]();continue;case'3':try{await TestHubHandler[_0x2f568e(0x19e)]();}catch(_0x105fd6){logger['debug'](_0x2f568e(0x17d)+util[_0x2f568e(0x16d)](_0x105fd6));}continue;case'4':_0x389145[_0x2f568e(0x173)]=_testErrorData;continue;case'5':PerformanceTester[_0x2f568e(0x1b1)](PerformanceEvents[_0x2f568e(0x13b)]);continue;}break;}});async function _0x2ee623(){const _0x6e2a23=_0x1835bf;try{await _0xb8d63a[_0x6e2a23(0x1b3)](),await _0xb8d63a['run']();}finally{process[_0x6e2a23(0x19b)](_0x1e6a84),await _0xb8d63a[_0x6e2a23(0x17b)]();}}PerformanceTester[_0x1835bf(0x133)](PerformanceEvents['SDK_SETUP']),await _0x2a3dc5[_0x1835bf(0x19a)](_0x2ee623);}module[a2_0x4f0077(0x16b)]=run;function a2_0x5b4f(){const _0x423882=['trim','hubUrl','YheRZ','fKOSn','launchBuild','map','slice','profile','platforms','handleApp','BrowserStackPlugin.js','playwright-firefox','end','eNFnV','passed','CODECEPT_CUCUMBER','existsSync','codeceptjs','assign','vWiqq','SDK_CLEANUP','3911281mPDpCg','firefox','chromium','../utils/clientTroubleshootingService','../../helpers/BrowserStackSetup','codecept.json','41816TPDbIv','1270OGUAZA','JRtIc','before','Failed\x20:\x20','initialize','replace','push','BROWSERSTACK_RERUN','GGhhS','printBuildLink','cwd','../../helpers/test-observability/utils','TyIgR','../../helpers/performance/constants','24989mQMuXR','psgiQ','addOptions','winstonLogger','browserName','USER_CONFIG_DETAILS_PATH','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','qLnPF','../../helpers/helper','DCiGy','BROWSERSTACK_TEST_OBSERVABILITY_YML','BROWSERSTACK_RERUN_TESTS','join','lsjoU','34EsYizQ','../../helpers/utilities','50hAvIAf','getUserWorkerCount','addTests','test','length','Qcehn','getPlatformName','isTestObservabilitySession','mergeDeep','spawn','exports','skipSessionStatus','format','browserWSEndpoint','XSdAZ','playwright-chromium','stack','5|4|2|0|3|1','errorMessage','FRAMEWORKS','root','accessibilityOptions','../../helpers/test-observability/constants','playwright-webkit','info','HfqvI','teardownAll','prepareCapabilities','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','codecept.conf.js','KNKza','2883902DVMRgS','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','helpers','../../helpers/logger','oYDEC','Started\x20:\x20','chrome','8700MEueiw','host','config','getPlaywrightUrl','printResults','title','gherkin','require','split','VAqTN','../../helpers/performance/performance-tester','qCrUI','YseDT','testContextOptions','BrowserStackPlugin','CODECEPT','browserStackCwd','Workers','AAijy','xLKnl','chdir','key','EJonJ','stop','nfPdm','createGroupsOfSuites','testObservability','EVENTS','Passed\x20:\x20','desiredCapabilities','hrtIK','vtvSA','ZYXNr','toLowerCase','pgHAA','275046hfJgie','stringify','parallelsPerPlatform','useW3C','JQNdY','process','path','start','Playwright','bootstrapAll','Rhrkj','wCbsm','findIndex','WebDriver','browser','env','isEmpty','userName','log','testConfig','2487558bNRmMI','finalExecution','skipSessionName','dirname','forEach','HNhbM','event','cnNoa','../../helpers/testhub/testhubHandler','bwPBg','981zzAoke','isUndefined'];a2_0x5b4f=function(){return _0x423882;};return a2_0x5b4f();}
2
+ 'use strict';const a2_0x86aae6=a2_0x2724;(function(_0x1d1931,_0x2a0ee2){const _0x281e47=a2_0x2724,_0x3984b8=_0x1d1931();while(!![]){try{const _0x37d4d3=parseInt(_0x281e47(0x11d))/0x1+-parseInt(_0x281e47(0x15e))/0x2*(-parseInt(_0x281e47(0xd3))/0x3)+-parseInt(_0x281e47(0x11a))/0x4*(parseInt(_0x281e47(0x137))/0x5)+parseInt(_0x281e47(0x140))/0x6+-parseInt(_0x281e47(0xd7))/0x7+parseInt(_0x281e47(0x150))/0x8*(parseInt(_0x281e47(0x116))/0x9)+-parseInt(_0x281e47(0x119))/0xa;if(_0x37d4d3===_0x2a0ee2)break;else _0x3984b8['push'](_0x3984b8['shift']());}catch(_0x172325){_0x3984b8['push'](_0x3984b8['shift']());}}}(a2_0x3ab6,0xdc2d4));const fs=require('fs'),path=require('path'),util=require(a2_0x86aae6(0x101)),process=require(a2_0x86aae6(0x10c)),logger=require('../../helpers/logger')[a2_0x86aae6(0x12a)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require('../../helpers/helper'),utilities=require(a2_0x86aae6(0x146)),{checkAccessibilityPlatformConfig}=require(a2_0x86aae6(0xd6)),{setAccessibilityCapabilities,processAccessibilityCaps}=require(a2_0x86aae6(0x15a)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x86aae6(0x128)),CodeceptJS=requireModule(a2_0x86aae6(0x163),a2_0x86aae6(0x14d)),testOpsHelper=require(a2_0x86aae6(0x135)),TestHubHandler=require(a2_0x86aae6(0xfb)),constants=require(a2_0x86aae6(0x122)),PerformanceTester=require(a2_0x86aae6(0x14c)),{FRAMEWORKS}=require(a2_0x86aae6(0x145)),PerformanceEvents=require(a2_0x86aae6(0xec))[a2_0x86aae6(0x131)],ClientTroubleShootingService=require(a2_0x86aae6(0x147)),_testErrorData=[],getUserCodeceptJSConfigs=(_0x40d973,_0x1fd5b9)=>{const _0x3d54e8=a2_0x86aae6,_0x2dfc75={};_0x2dfc75['iRNNj']=function(_0x184811,_0x3f613c){return _0x184811===_0x3f613c;},_0x2dfc75[_0x3d54e8(0x13c)]=_0x3d54e8(0x16e),_0x2dfc75[_0x3d54e8(0x104)]=_0x3d54e8(0xf6);const _0x4cac41=_0x2dfc75;let _0x487b4b=null;const _0x34373b={};let _0x566d46=_0x1fd5b9['findIndex'](_0x596b52=>_0x596b52==='--config');_0x4cac41[_0x3d54e8(0x124)](_0x566d46,-0x1)&&(_0x566d46=_0x1fd5b9[_0x3d54e8(0x16c)](_0x22b964=>_0x22b964==='-c'));if(!helper[_0x3d54e8(0x16d)](_0x40d973['config'])&&fs[_0x3d54e8(0x134)](path['join'](process[_0x3d54e8(0x139)](),_0x40d973[_0x3d54e8(0xe9)])))_0x487b4b=path['join'](process[_0x3d54e8(0x139)](),_0x40d973['config']),_0x1fd5b9[_0x3d54e8(0x113)](_0x566d46,0x2);else{if(!helper[_0x3d54e8(0x16d)](_0x40d973['c'])&&fs[_0x3d54e8(0x134)](path[_0x3d54e8(0xe0)](process[_0x3d54e8(0x139)](),_0x40d973['c'])))_0x487b4b=path['join'](process[_0x3d54e8(0x139)](),_0x40d973['c']),_0x1fd5b9[_0x3d54e8(0x113)](_0x566d46,0x2);else{if(fs['existsSync'](path['join'](process[_0x3d54e8(0x139)](),_0x4cac41[_0x3d54e8(0x13c)])))_0x487b4b=path[_0x3d54e8(0xe0)](process[_0x3d54e8(0x139)](),_0x4cac41[_0x3d54e8(0x13c)]);else fs[_0x3d54e8(0x134)](path[_0x3d54e8(0xe0)](process[_0x3d54e8(0x139)](),_0x4cac41[_0x3d54e8(0x104)]))&&(_0x487b4b=path[_0x3d54e8(0xe0)](process[_0x3d54e8(0x139)](),_0x4cac41[_0x3d54e8(0x104)]));}}return process[_0x3d54e8(0x15b)][_0x3d54e8(0xed)]=_0x487b4b,_0x487b4b;},getO11yRerunPattern=()=>{const _0x4879c7=a2_0x86aae6,_0x38ac39=helper[_0x4879c7(0xdd)](process[_0x4879c7(0x15b)]['BROWSERSTACK_RERUN']);if(_0x38ac39){const _0x19ac36=process['env'][_0x4879c7(0xda)],_0xd3f184=[];if(helper['validateRerunTestList'](_0x19ac36)&&!helper[_0x4879c7(0x16d)](_0x19ac36)){_0x19ac36['split'](',')[_0x4879c7(0x125)](_0x3d6890=>{const _0x5a2d42=_0x4879c7;_0xd3f184[_0x5a2d42(0x10f)]('('+_0x3d6890['trim']()+')');});const _0x1b9245='^'+_0xd3f184['join']('|')+'$';return _0x1b9245;}}return null;},a2_0x589975={};a2_0x589975['chrome']=a2_0x86aae6(0xdb),a2_0x589975[a2_0x86aae6(0x16a)]=a2_0x86aae6(0xdb),a2_0x589975[a2_0x86aae6(0x156)]=a2_0x86aae6(0xf7),a2_0x589975[a2_0x86aae6(0x151)]=a2_0x86aae6(0x10d);const pwToCodeceptBrowser=a2_0x589975;async function run(_0x2286b3,_0x4a15dd,_0x475f6c){const _0x4b4256=a2_0x86aae6,_0x1603fe={'GKMTl':function(_0x2c01e0,_0x1015dc,_0x1a5660,_0x79acaa){return _0x2c01e0(_0x1015dc,_0x1a5660,_0x79acaa);},'ayXBE':function(_0x4219b7,_0x29afd6){return _0x4219b7+_0x29afd6;},'YRiFR':function(_0x4c96bc,_0x60243b){return _0x4c96bc(_0x60243b);},'YEfaD':function(_0x1cb6a9,_0x5527b4,_0x427c66){return _0x1cb6a9(_0x5527b4,_0x427c66);},'LXiOt':_0x4b4256(0x167),'MIOAW':function(_0x2d36ce){return _0x2d36ce();},'fRmqw':_0x4b4256(0x13d),'nBYTa':function(_0x47efb6){return _0x47efb6();},'nlnRA':function(_0x90ae0c){return _0x90ae0c();},'PrESd':'Failed\x20:\x20','SzyYz':_0x4b4256(0x152),'agxDX':'Started\x20:\x20','EHvqS':_0x4b4256(0x159),'cIEDD':_0x4b4256(0x161),'GexmD':_0x4b4256(0xe7),'zFouQ':_0x4b4256(0x103),'xBJza':function(_0x476382,_0x380267){return _0x476382(_0x380267);},'QXoVC':function(_0x16570a,_0x2519a3){return _0x16570a!=_0x2519a3;},'tzVyo':function(_0x320900,_0x5698e8){return _0x320900===_0x5698e8;},'lqBRW':_0x4b4256(0xea),'mZDii':function(_0x5053ab,_0x227961){return _0x5053ab(_0x227961);},'ThVHH':function(_0x46a811){return _0x46a811();},'qBuYY':function(_0x23622e,_0x499370){return _0x23622e*_0x499370;},'ZOLsA':'browser','Ztmov':function(_0x3e2690,_0x5d2aee,_0x4f7007){return _0x3e2690(_0x5d2aee,_0x4f7007);},'URkGO':_0x4b4256(0x158),'bKBNv':function(_0x56aaad,_0xe55917,_0x55def2){return _0x56aaad(_0xe55917,_0x55def2);},'iIyzN':_0x4b4256(0xe4),'VypUo':_0x4b4256(0x12c),'zOXUT':'browserStackCwd','aLnjm':function(_0x18e846){return _0x18e846();}};await _0x475f6c[_0x4b4256(0x155)](_0x2286b3),await helper[_0x4b4256(0xf1)](_0x475f6c[_0x4b4256(0xe9)]);if(!_0x475f6c[_0x4b4256(0xe9)])return;process['profile']=_0x2286b3[_0x4b4256(0x11c)];_0x2286b3[_0x4b4256(0x11c)]&&(process[_0x4b4256(0x15b)]['profile']=_0x2286b3['profile']);const _0x1f8e61=_0x1603fe[_0x4b4256(0x102)](getUserCodeceptJSConfigs,_0x2286b3,_0x4a15dd);let _0xa08590={};_0x1f8e61?(logger['info'](_0x4b4256(0x112)+_0x1f8e61),_0xa08590=CodeceptJS[_0x4b4256(0xe9)][_0x4b4256(0x170)](_0x1f8e61)):logger[_0x4b4256(0x13f)](_0x1603fe[_0x4b4256(0x16f)]);let _0x8f721=![];_0x1603fe[_0x4b4256(0x102)](nestedKeyValue,_0xa08590,[_0x1603fe[_0x4b4256(0x12e)],_0x1603fe['GexmD']])&&(_0x8f721=!![]);const _0x3b2cdb=_0x8f721?_0x1603fe[_0x4b4256(0x168)]:_0x1603fe[_0x4b4256(0xf0)];let _0x4495dc=!_0x8f721?helper[_0x4b4256(0xf2)](_0x475f6c[_0x4b4256(0xe9)]):![];!helper[_0x4b4256(0x16d)](_0x475f6c[_0x4b4256(0xe9)][_0x4b4256(0x154)])&&(process[_0x4b4256(0x15b)][_0x4b4256(0xdf)]=JSON['stringify'](_0x475f6c[_0x4b4256(0xe9)][_0x4b4256(0x154)]));let _0x2728f3=_0x475f6c[_0x4b4256(0xe9)][_0x4b4256(0x118)];_0x2728f3=_0x2728f3||_0x1603fe[_0x4b4256(0xe5)](checkAccessibilityPlatformConfig,_0x475f6c[_0x4b4256(0xe9)]),process[_0x4b4256(0x15b)][_0x4b4256(0xe3)]=_0x2728f3;_0x2728f3&&(_0x4495dc=!_0x2728f3);_0x1603fe['QXoVC'](_0x475f6c[_0x4b4256(0xe9)][_0x4b4256(0x11e)],null)?process['env'][_0x4b4256(0x126)]=_0x475f6c['config']['testObservability']:process[_0x4b4256(0x15b)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x1603fe[_0x4b4256(0x10a)](_0x3b2cdb,_0x1603fe[_0x4b4256(0x168)]);const _0x491843=_0x1603fe[_0x4b4256(0x102)](nestedKeyValue,_0xa08590,[_0x1603fe[_0x4b4256(0xeb)]]),_0x44dcc6=_0x491843&&!helper[_0x4b4256(0x14f)](_0x491843)?FRAMEWORKS[_0x4b4256(0x13a)]:FRAMEWORKS[_0x4b4256(0xfd)],_0x1cc4cb=await TestHubHandler[_0x4b4256(0x136)](_0x44dcc6,_0x475f6c);_0x2728f3&&_0x1603fe[_0x4b4256(0x16b)](setAccessibilityCapabilities,_0x475f6c[_0x4b4256(0xe9)]);const _0x3bdfdb={},_0x398809=[],_0x306afa=_0x475f6c[_0x4b4256(0xe9)]['parallelsPerPlatform']||helper[_0x4b4256(0x162)](_0x2286b3,_0x4a15dd,_0x475f6c[_0x4b4256(0xe9)],constants[_0x4b4256(0x142)][_0x4b4256(0xfd)])||0x1;let _0x38b610=0x1;if(_0x1603fe[_0x4b4256(0xef)](isBrowserstackInfra)){const _0x7fae86=helper['prepareCapabilities'](_0x475f6c[_0x4b4256(0xe9)],_0x4495dc,constants[_0x4b4256(0x142)][_0x4b4256(0xfd)]);_0x7fae86[_0x4b4256(0x144)](_0x1ce717=>{const _0x3b9e25=_0x4b4256;helper[_0x3b9e25(0x13b)](_0x1ce717);}),helper[_0x4b4256(0x14b)](_0x475f6c['config'])?_0x38b610=_0x1603fe[_0x4b4256(0x108)](_0x306afa,_0x475f6c[_0x4b4256(0xe9)]['platforms'][_0x4b4256(0x127)]):_0x38b610=_0x306afa,_0x7fae86[_0x4b4256(0x144)](_0x71dad2=>{const _0x1680f3=_0x4b4256,_0x3e40af=_0x1603fe['ayXBE'](helper[_0x1680f3(0x12d)](_0x71dad2,'_'),'_'+Date['now']()),_0x3c6626=((()=>{const _0x26f0b1=_0x1680f3;if(_0x8f721){const _0x1b66cb=pwToCodeceptBrowser[_0x71dad2['browserName']]||_0x71dad2['browserName'],_0x55254a=helper['getPlaywrightUrl'](_0x475f6c[_0x26f0b1(0xe9)]),_0x25bbc4=Object['assign']({},_0x71dad2);return _0x1603fe['GKMTl'](processAccessibilityCaps,_0x25bbc4,_0x55254a,null),{'browser':_0x1b66cb,[_0x1b66cb]:{'browserWSEndpoint':_0x1603fe[_0x26f0b1(0x15c)](_0x55254a,_0x1603fe[_0x26f0b1(0x12f)](encodeURIComponent,JSON['stringify'](_0x25bbc4)))}};}const _0x477a75={};return _0x477a75[_0x26f0b1(0x158)]=_0x71dad2,_0x477a75[_0x26f0b1(0xd8)]=_0x475f6c[_0x26f0b1(0xe9)][_0x26f0b1(0x143)],_0x477a75[_0x26f0b1(0x120)]=_0x475f6c[_0x26f0b1(0xe9)][_0x26f0b1(0x12b)],_0x477a75;})()),_0x5dd1c9=_0x1603fe['YEfaD'](nestedKeyValue,_0xa08590,[_0x1603fe[_0x1680f3(0x12e)],_0x3b2cdb]);_0x3bdfdb[_0x3e40af]=_0x5dd1c9?helper[_0x1680f3(0x105)](_0x3c6626,_0x5dd1c9):_0x3c6626;if(_0x8f721)_0x3bdfdb[_0x3e40af][_0x1680f3(0xfc)]=pwToCodeceptBrowser[_0x71dad2['browserName']]||_0x71dad2['browserName'];else{_0x3bdfdb[_0x3e40af][_0x1680f3(0xfc)]=_0x71dad2['browserName']||_0x3c6626[_0x1680f3(0xfc)];if(_0x1603fe[_0x1680f3(0xe8)](isBrowserstackInfra)){_0x3bdfdb[_0x3e40af]['host']=constants[_0x1680f3(0x169)][_0x1680f3(0x11f)](_0x1603fe[_0x1680f3(0xf4)],'')[_0x1680f3(0x11f)](/https?:\/\//,'');;_0x3bdfdb[_0x3e40af][_0x1680f3(0x157)]=_0x1603fe[_0x1680f3(0xf4)];}}_0x398809[_0x1680f3(0x10f)](_0x3e40af);});}else{_0x38b610=0x1;if(_0x8f721){const _0x10aeac=_0x1603fe[_0x4b4256(0x102)](nestedKeyValue,_0xa08590,[_0x1603fe[_0x4b4256(0x12e)],_0x3b2cdb,_0x1603fe[_0x4b4256(0x109)]]),_0x143569=_0x1603fe[_0x4b4256(0x117)](nestedKeyValue,_0xa08590,[_0x1603fe['LXiOt'],_0x3b2cdb,_0x10aeac]);if(_0x143569&&_0x143569[_0x4b4256(0x100)]){const _0x46b08b={};_0x46b08b['platforms']=[],_0x143569['browserWSEndpoint']=helper[_0x4b4256(0x14a)](Object['assign']({},_0x475f6c[_0x4b4256(0xe9)],_0x46b08b),null,_0x44dcc6['toLowerCase'](),null,null,_0x143569[_0x4b4256(0x100)]);}}else{const _0x556deb={};_0x556deb['platforms']=[],_0xa08590[_0x1603fe['LXiOt']][_0x3b2cdb][_0x1603fe[_0x4b4256(0x10b)]]=helper['prepareCapabilities'](Object[_0x4b4256(0x10e)]({},_0x475f6c['config'],_0x556deb),null,_0x44dcc6['toLowerCase'](),_0x1603fe[_0x4b4256(0x149)](nestedKeyValue,_0xa08590,[_0x1603fe['LXiOt'],_0x3b2cdb,_0x1603fe[_0x4b4256(0x10b)]])||{},null,null);}_0x3bdfdb[_0x1603fe[_0x4b4256(0x110)]]=_0xa08590,_0x398809[_0x4b4256(0x10f)](_0x1603fe[_0x4b4256(0x110)]);}const _0x57bc10={};_0x57bc10[_0x4b4256(0xd4)]=_0x1f8e61;const _0x1dfecd=_0x57bc10,_0x2603f6=path[_0x4b4256(0xe0)](__dirname,_0x1603fe['VypUo']),_0x302ef3=process[_0x4b4256(0x139)]();process[_0x4b4256(0x15b)][_0x1603fe[_0x4b4256(0xe2)]]=_0x302ef3,process[_0x4b4256(0xf8)](path[_0x4b4256(0x129)](_0x1f8e61));const _0x2ddcb4=new CodeceptJS['Workers'](null,_0x1dfecd),_0x1abbb8=_0x2ddcb4[_0x4b4256(0x11b)](_0x306afa),_0x567012=testOpsHelper['isTestObservabilitySession'](),_0x5346d0=_0x398809[_0x4b4256(0x125)](_0x481650=>{const _0x22ef51=_0x4b4256,_0x21bc94={};_0x21bc94[_0x22ef51(0xe7)]=_0x3bdfdb[_0x481650];const _0x53fac2={};_0x53fac2['WebDriver']=_0x3bdfdb[_0x481650];const _0x53d5a7=_0x8f721?_0x21bc94:_0x53fac2,_0x2789ae=_0x1603fe[_0x22ef51(0xf3)](getO11yRerunPattern),_0x423ae7={};_0x423ae7[_0x22ef51(0x167)]=_0x53d5a7;const _0x1862bf={};_0x1862bf[_0x22ef51(0x164)]=_0x2603f6,_0x1862bf[_0x22ef51(0xe6)]=!![],_0x1862bf[_0x22ef51(0x133)]=_0x475f6c['config'][_0x22ef51(0x13e)][_0x22ef51(0x133)],_0x1862bf['skipSessionStatus']=_0x475f6c[_0x22ef51(0xe9)][_0x22ef51(0x13e)][_0x22ef51(0xfe)],_0x1862bf[_0x22ef51(0x11e)]=_0x567012,_0x1862bf[_0x22ef51(0x153)]=_0x44dcc6;const _0x3954d5={};_0x3954d5['BrowserStackPlugin']=_0x1862bf;const _0x36c27d={};return _0x36c27d['plugins']=_0x3954d5,helper[_0x22ef51(0x105)]({},_0xa08590,_0x1603fe[_0x22ef51(0x132)](isBrowserstackInfra)?_0x423ae7:{},_0x2789ae?{'grep':_0x2789ae}:{},_0x36c27d);});for(const _0x1704b6 of _0x5346d0){for(const _0x5e1ee0 of _0x1abbb8){const _0x53a5e9=_0x2ddcb4['spawn']();_0x53a5e9[_0x4b4256(0x165)](_0x5e1ee0),_0x53a5e9[_0x4b4256(0xf9)](_0x1704b6);const _0x2488e0={};_0x2488e0['config']=_0x1f8e61,_0x53a5e9[_0x4b4256(0x160)](Object[_0x4b4256(0x10e)](_0x2488e0,_0x2286b3));}}_0x2ddcb4['on'](CodeceptJS[_0x4b4256(0x166)][_0x4b4256(0x130)]['failed'],(_0x248038,_0x20cc43)=>{const _0x4b2659=_0x4b4256;console[_0x4b2659(0xee)](_0x1603fe['PrESd'],_0x248038['title']);const _0x5e5174={[_0x248038[_0x4b2659(0xdc)]]:_0x248038[_0x4b2659(0x14e)]['stack']};_testErrorData[_0x4b2659(0x10f)](_0x5e5174);}),_0x2ddcb4['on'](CodeceptJS[_0x4b4256(0x166)][_0x4b4256(0x130)][_0x4b4256(0x114)],async _0x27fb36=>{const _0x27a85b=_0x4b4256;console[_0x27a85b(0xee)](_0x1603fe[_0x27a85b(0xfa)],_0x27fb36[_0x27a85b(0xdc)]);}),_0x2ddcb4['on'](CodeceptJS['event'][_0x4b4256(0x130)][_0x4b4256(0xf5)],async _0x2bc220=>{const _0x3bfa59=_0x4b4256;console[_0x3bfa59(0xee)](_0x1603fe[_0x3bfa59(0x107)],_0x2bc220[_0x3bfa59(0xdc)]);}),_0x2ddcb4['on'](CodeceptJS[_0x4b4256(0x166)]['all'][_0x4b4256(0x15d)],async()=>{const _0x56d644=_0x4b4256,_0x2bb5e6=_0x1603fe[_0x56d644(0x106)]['split']('|');let _0x2de025=0x0;while(!![]){switch(_0x2bb5e6[_0x2de025++]){case'0':utilities[_0x56d644(0x121)](_0x475f6c);continue;case'1':_0x475f6c[_0x56d644(0x141)]=_testErrorData;continue;case'2':try{await TestHubHandler[_0x56d644(0xde)]();}catch(_0x2af5c9){logger[_0x56d644(0x123)]('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util[_0x56d644(0xd5)](_0x2af5c9));}continue;case'3':testOpsHelper[_0x56d644(0xd9)]();continue;case'4':_0x2ddcb4[_0x56d644(0x148)]();continue;case'5':PerformanceTester[_0x56d644(0xff)](PerformanceEvents[_0x56d644(0xe1)]);continue;}break;}});async function _0x1a4fc7(){const _0x34481b=_0x4b4256;try{await _0x2ddcb4[_0x34481b(0x15f)](),await _0x2ddcb4[_0x34481b(0x111)]();}finally{process[_0x34481b(0xf8)](_0x302ef3),await _0x2ddcb4[_0x34481b(0x115)]();}}PerformanceTester['end'](PerformanceEvents['SDK_SETUP']),await _0x1603fe['aLnjm'](_0x1a4fc7);}function a2_0x3ab6(){const _0x56a856=['accessibilityOptions','initialize','playwright-firefox','path','desiredCapabilities','5|1|3|0|2|4','../../bin/playwright/accessibility-helper','env','ayXBE','result','245478qMKZuj','bootstrapAll','addOptions','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','getUserWorkerCount','codeceptjs/lib/index.js','require','addTests','event','helpers','GexmD','hubUrl','playwright-chromium','mZDii','findIndex','isUndefined','codecept.conf.js','cIEDD','load','15NScmPG','testConfig','format','../../helpers/accessibility-automation/helper','9470398hBUcpN','user','printBuildLink','BROWSERSTACK_RERUN_TESTS','chromium','title','isTrue','stop','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','join','SDK_CLEANUP','zOXUT','BROWSERSTACK_TEST_ACCESSIBILITY_YML','root','xBJza','enabled','Playwright','MIOAW','config','gherkin','lqBRW','../../helpers/performance/constants','USER_CONFIG_DETAILS_PATH','log','ThVHH','zFouQ','handleApp','useW3C','nBYTa','fRmqw','before','codecept.json','firefox','chdir','addConfig','SzyYz','../../helpers/testhub/testhubHandler','browser','CODECEPT','skipSessionStatus','start','browserWSEndpoint','util','YEfaD','WebDriver','vbAPN','mergeDeep','EHvqS','agxDX','qBuYY','ZOLsA','tzVyo','URkGO','process','webkit','assign','push','iIyzN','run','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','slice','passed','teardownAll','9uAdCTM','Ztmov','accessibility','5902470tybmnk','8JVXlUT','createGroupsOfSuites','profile','1157448RfNdFC','testObservability','replace','key','finalExecution','../utils/constants','debug','iRNNj','map','BROWSERSTACK_TEST_OBSERVABILITY_YML','length','../../helpers/helper','dirname','winstonLogger','accessKey','BrowserStackPlugin.js','getPlatformName','LXiOt','YRiFR','test','EVENTS','nlnRA','skipSessionName','existsSync','../../helpers/test-observability/utils','launchBuild','3512155xaMtPX','exports','cwd','CODECEPT_CUCUMBER','setAdditionalCapabilities','wIstL','/wd/hub','testContextOptions','info','6156090WsqXhe','errorMessage','FRAMEWORKS','userName','forEach','../../helpers/test-observability/constants','../../helpers/utilities','../utils/clientTroubleshootingService','printResults','bKBNv','prepareCapabilities','validPlatformsPresent','../../helpers/performance/performance-tester','codeceptjs','err','isEmpty','11621672DIMhIg','playwright-webkit','Passed\x20:\x20','frameworkName'];a2_0x3ab6=function(){return _0x56a856;};return a2_0x3ab6();}function a2_0x2724(_0x514d65,_0x1d14c2){const _0x3ab601=a2_0x3ab6();return a2_0x2724=function(_0x27241c,_0x2a07b5){_0x27241c=_0x27241c-0xd3;let _0x55dc8c=_0x3ab601[_0x27241c];return _0x55dc8c;},a2_0x2724(_0x514d65,_0x1d14c2);}module[a2_0x86aae6(0x138)]=run;
@@ -1 +1 @@
1
- const a3_0xcc529d=a3_0x1374;(function(_0x58b9b8,_0xbc797a){const _0x3192fa=a3_0x1374,_0x408be4=_0x58b9b8();while(!![]){try{const _0x33c263=parseInt(_0x3192fa(0x14c))/0x1*(-parseInt(_0x3192fa(0x141))/0x2)+parseInt(_0x3192fa(0x134))/0x3+parseInt(_0x3192fa(0x120))/0x4*(-parseInt(_0x3192fa(0x111))/0x5)+-parseInt(_0x3192fa(0x10e))/0x6+parseInt(_0x3192fa(0x139))/0x7+-parseInt(_0x3192fa(0x140))/0x8+parseInt(_0x3192fa(0x11d))/0x9;if(_0x33c263===_0xbc797a)break;else _0x408be4['push'](_0x408be4['shift']());}catch(_0x3926ee){_0x408be4['push'](_0x408be4['shift']());}}}(a3_0x262f,0xb5750));const {isUndefined,nestedKeyValue}=require(a3_0xcc529d(0x145)),logger=require('../../helpers/logger')[a3_0xcc529d(0x137)],PlaywrightSessionDetails=require(a3_0xcc529d(0x110)),{isAccessibilityAutomationSession}=require(a3_0xcc529d(0x13b)),{getObservabilityLinkedProductName}=require('../../helpers/test-observability/utils'),accessibilityHelper=require(a3_0xcc529d(0x13b)),{isBrowserstackInfra}=require('../../helpers/helper'),getOSVersionFromCaps=_0x35cb10=>{const _0x381461=a3_0xcc529d,_0x1c9978={};_0x1c9978[_0x381461(0x13c)]=_0x381461(0x138),_0x1c9978[_0x381461(0x146)]='platformVersion',_0x1c9978[_0x381461(0x127)]=_0x381461(0x151),_0x1c9978[_0x381461(0x10d)]=_0x381461(0x11e),_0x1c9978['wuBOA']=_0x381461(0x11f);const _0xd7ecae=_0x1c9978;if(!_0x35cb10)return null;const _0x50fcc3=_0x35cb10[_0xd7ecae[_0x381461(0x13c)]],_0x3edcea=[_0xd7ecae[_0x381461(0x146)],_0xd7ecae[_0x381461(0x127)],_0xd7ecae[_0x381461(0x10d)],_0xd7ecae[_0x381461(0x12e)]];for(const _0x358751 of _0x3edcea){if(_0x50fcc3&&_0x50fcc3[_0x358751])return _0x50fcc3[_0x358751];else{if(_0x35cb10[_0x358751])return _0x35cb10[_0x358751];}}return null;};function a3_0x1374(_0x562505,_0x5de784){const _0x262ff4=a3_0x262f();return a3_0x1374=function(_0x1374bb,_0x507360){_0x1374bb=_0x1374bb-0x10a;let _0x2f12b8=_0x262ff4[_0x1374bb];return _0x2f12b8;},a3_0x1374(_0x562505,_0x5de784);}exports[a3_0xcc529d(0x11b)]=_0x24e0f1=>{const _0x425a10=a3_0xcc529d,_0x2e0cb7={'sEqhH':'unknown_grid','aItIq':function(_0x3262e4,_0x1c60ed){return _0x3262e4===_0x1c60ed;},'xsjfu':_0x425a10(0x12f),'fuZJm':function(_0x144a4c,_0x24344b){return _0x144a4c(_0x24344b);},'jADJs':function(_0x51a231,_0x476243,_0x5c3467){return _0x51a231(_0x476243,_0x5c3467);},'RfWfR':_0x425a10(0x14e),'JqTmF':_0x425a10(0x113),'PSywb':function(_0x4e15b8,_0x19842e){return _0x4e15b8(_0x19842e);},'SyZqn':function(_0x162a21,_0x8002e1){return _0x162a21===_0x8002e1;},'NRgnB':_0x425a10(0x128),'mWeQl':_0x425a10(0x13d),'HJgnm':'browserWSEndpoint','LEMNq':'caps','XoozP':function(_0x590a11,_0x3703b8){return _0x590a11(_0x3703b8);}};if(!_0x24e0f1)return null;let _0x26119e=global[_0x425a10(0x11a)]||_0x2e0cb7['sEqhH'];if(_0x2e0cb7[_0x425a10(0x13e)](_0x24e0f1[_0x425a10(0x13a)][_0x425a10(0x131)],_0x2e0cb7['xsjfu'])){const _0xea6c5c=_0x24e0f1['browser'];if(!_0xea6c5c)return null;const _0xea03c=_0xea6c5c[_0x425a10(0x133)],_0x49234e=_0x2e0cb7['fuZJm'](getOSVersionFromCaps,_0x2e0cb7[_0x425a10(0x116)](nestedKeyValue,_0x24e0f1,[_0x2e0cb7[_0x425a10(0x123)],_0x2e0cb7['JqTmF']]));return{[_0x26119e]:{'browser':_0xea03c[_0x425a10(0x135)],'browser_version':_0xea03c['browserVersion'],'capabilities':_0xea03c,'platform':_0xea03c[_0x425a10(0x12d)],'platform_version':_0xea03c[_0x425a10(0x119)]||_0x49234e,'product':_0x2e0cb7[_0x425a10(0x136)](getObservabilityLinkedProductName,_0xea03c),'session_id':_0xea6c5c[_0x425a10(0x115)]}};}else{if(_0x2e0cb7[_0x425a10(0x14a)](_0x24e0f1[_0x425a10(0x13a)][_0x425a10(0x131)],_0x2e0cb7[_0x425a10(0x129)])){const _0x329b72=PlaywrightSessionDetails['getDetails']();_0x26119e=_0x329b72[_0x425a10(0x12a)]||_0x26119e;const _0x1940c0=_0x2e0cb7['jADJs'](nestedKeyValue,_0x24e0f1,[_0x2e0cb7[_0x425a10(0x123)],_0x2e0cb7[_0x425a10(0x126)],_0x2e0cb7[_0x425a10(0x148)]]),_0x57830c=_0x1940c0?JSON[_0x425a10(0x130)](new URL(_0x1940c0)[_0x425a10(0x10a)][_0x425a10(0x125)](_0x2e0cb7[_0x425a10(0x147)])):{};return{[_0x26119e]:{'browser':_0x329b72[_0x425a10(0x13d)]||_0x57830c[_0x425a10(0x135)],'browser_version':_0x329b72[_0x425a10(0x11c)]||_0x57830c[_0x425a10(0x11c)],'capabilities':_0x57830c,'platform':_0x329b72['platform'],'platform_version':_0x329b72['platform_version'],'product':_0x2e0cb7[_0x425a10(0x124)](getObservabilityLinkedProductName,_0x57830c),'session_id':_0x329b72[_0x425a10(0x132)]}};}}},exports[a3_0xcc529d(0x14d)]=_0x3b2c7c=>{const _0x38a55d=a3_0xcc529d,_0x2c6c2e={'dtWPP':function(_0x390ffd){return _0x390ffd();},'Eyyuo':_0x38a55d(0x14f),'dkgkZ':function(_0x4a84dc,_0x1b69c6){return _0x4a84dc!==_0x1b69c6;},'cuKDW':'latest','AOTjm':_0x38a55d(0x118),'feduG':function(_0x39ec89,_0x3413f1){return _0x39ec89(_0x3413f1);},'xRpwl':_0x38a55d(0x143)};if(_0x2c6c2e[_0x38a55d(0x14b)](isAccessibilityAutomationSession)){const _0x5d9643=_0x3b2c7c[_0x38a55d(0x13d)],_0x1ffe30=_0x5d9643[_0x38a55d(0x133)];global['accessibilityPlatform']=!![];!accessibilityHelper['isBrowserSupportedForAccessibility'](_0x1ffe30[_0x38a55d(0x135)])&&(logger[_0x38a55d(0x12b)](_0x2c6c2e['Eyyuo']),global[_0x38a55d(0x10f)]=![]);if(_0x2c6c2e['dkgkZ'](_0x1ffe30['browserVersion'],_0x2c6c2e[_0x38a55d(0x10b)])){const _0x2b486f=_0x2c6c2e[_0x38a55d(0x14b)](isBrowserstackInfra),_0x84101b=accessibilityHelper['getMinVersionForBrowser'](_0x1ffe30[_0x38a55d(0x135)],_0x2b486f),_0x2a6861=accessibilityHelper['getBrowserDisplayName'](_0x1ffe30[_0x38a55d(0x135)]);if(!accessibilityHelper[_0x38a55d(0x13f)](_0x1ffe30[_0x38a55d(0x150)],_0x84101b)){const _0x15b81c=_0x2b486f?'':_0x2c6c2e[_0x38a55d(0x10c)];logger[_0x38a55d(0x12b)]('Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20'+_0x2a6861+'\x20browser\x20version\x20'+_0x84101b+_0x38a55d(0x144)+_0x15b81c+'.'),global[_0x38a55d(0x10f)]=![];}}!_0x2c6c2e['feduG'](isUndefined,_0x1ffe30['deviceName'])&&(logger[_0x38a55d(0x12b)](_0x2c6c2e[_0x38a55d(0x142)]),global[_0x38a55d(0x10f)]=![]);}},exports['shouldPatchExecuteScript']=_0x56969d=>{const _0x1717b0=a3_0xcc529d,_0x58695a={};_0x58695a['phbBH']=function(_0x650376,_0x5176d9){return _0x650376!==_0x5176d9;},_0x58695a[_0x1717b0(0x121)]=_0x1717b0(0x12c),_0x58695a[_0x1717b0(0x117)]=_0x1717b0(0x112),_0x58695a[_0x1717b0(0x149)]=_0x1717b0(0x122);const _0x5f0916=_0x58695a;if(!_0x56969d)return![];else{if(_0x5f0916['phbBH'](typeof _0x56969d,_0x5f0916['AoHTt']))return!![];}return!_0x56969d[_0x1717b0(0x114)](_0x5f0916[_0x1717b0(0x117)])&&!_0x56969d['includes'](_0x5f0916[_0x1717b0(0x149)]);};function a3_0x262f(){const _0x487367=['Playwright','NRgnB','cloudProvider','warn','string','platformName','wuBOA','WebDriver','parse','name','bsSessionId','capabilities','3506055AINTUB','browserName','PSywb','winstonLogger','bstack:options','4173519rAfWZf','constructor','../../helpers/accessibility-automation/helper','pXoCS','browser','aItIq','isVersionSupported','8469504yVlQKh','2481514nliIuG','xRpwl','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','\x20or\x20higher\x20','../../helpers/helper','JPfPG','LEMNq','HJgnm','gVaic','SyZqn','dtWPP','1VYukks','processWebDriverConfig','config','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','browserVersion','platform_version','searchParams','cuKDW','AOTjm','MfJjY','8344716hltOcz','accessibilityPlatform','../../bin/playwright/sessionDetails','3775nViVLF','browserstack_executor','desiredCapabilities','includes','sessionId','jADJs','avTls','on\x20non-BrowserStack\x20infrastructure\x20','platformVersion','__cloud_provider___','fetchPlatformDetails','browser_version','33244803rvgBHJ','osVersion','os_version','5432KSuSFb','AoHTt','browserstack_accessibility_automation_script','RfWfR','XoozP','get','mWeQl','ShQMU'];a3_0x262f=function(){return _0x487367;};return a3_0x262f();}
1
+ function a3_0x50c2(){const _0x17c878=['Playwright','25nhrJFt','JXLXg','getMinVersionForBrowser','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','CakSi','dENkn','cloudProvider','os_version','fetchPlatformDetails','browser_version','306418akSZzc','vkVPj','warn','searchParams','platformVersion','browserName','VisLU','WebDriver','browserstack_executor','fzyXx','317496RvnAOR','1246518piidpD','wLrsq','deviceName','capabilities','../../bin/playwright/sessionDetails','name','unknown_grid','accessibilityPlatform','sessionId','platform','string','constructor','ZWbre','winstonLogger','latest','lrAgc','browserWSEndpoint','get','config','wqVlS','browserVersion','osVersion','bstack:options','sPmJV','CnrGu','znQkh','ybHfL','browser','5297187SyEzdY','getDetails','215916suMDjd','browserstack_accessibility_automation_script','processWebDriverConfig','iVKqx','3064425zsMxfw','nZmOu','isVersionSupported','\x20browser\x20version\x20','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20','goCQd','../../helpers/test-observability/utils','caps','8779068cegfUr','Jozyn','includes','isBrowserSupportedForAccessibility','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','hTgYt','LPwKG','__cloud_provider___','btdwM','bsSessionId','tMLPm','../../helpers/logger','ihtoo','../../helpers/accessibility-automation/helper','\x20or\x20higher\x20','KYpml','16uTFoOm'];a3_0x50c2=function(){return _0x17c878;};return a3_0x50c2();}const a3_0x33c8eb=a3_0x4929;(function(_0xce6b0a,_0x4f307a){const _0x282454=a3_0x4929,_0x4c01e7=_0xce6b0a();while(!![]){try{const _0x3b7e5f=-parseInt(_0x282454(0xc3))/0x1+-parseInt(_0x282454(0xce))/0x2+-parseInt(_0x282454(0x9f))/0x3+-parseInt(_0x282454(0xec))/0x4*(parseInt(_0x282454(0xb9))/0x5)+parseInt(_0x282454(0xcd))/0x6+parseInt(_0x282454(0xea))/0x7+-parseInt(_0x282454(0xb7))/0x8*(-parseInt(_0x282454(0xa7))/0x9);if(_0x3b7e5f===_0x4f307a)break;else _0x4c01e7['push'](_0x4c01e7['shift']());}catch(_0x11dbaf){_0x4c01e7['push'](_0x4c01e7['shift']());}}}(a3_0x50c2,0x83b7a));const {isUndefined,nestedKeyValue}=require('../../helpers/helper'),logger=require(a3_0x33c8eb(0xb2))[a3_0x33c8eb(0xdb)],PlaywrightSessionDetails=require(a3_0x33c8eb(0xd2)),{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{getObservabilityLinkedProductName}=require(a3_0x33c8eb(0xa5)),accessibilityHelper=require(a3_0x33c8eb(0xb4)),{isBrowserstackInfra}=require('../../helpers/helper'),getOSVersionFromCaps=_0x190003=>{const _0x13bfea=a3_0x33c8eb,_0x46a066={};_0x46a066[_0x13bfea(0xac)]=_0x13bfea(0xe4),_0x46a066[_0x13bfea(0xb6)]=_0x13bfea(0xc7),_0x46a066['ybHfL']='platform_version',_0x46a066[_0x13bfea(0xaf)]=_0x13bfea(0xe3),_0x46a066[_0x13bfea(0xb3)]=_0x13bfea(0xc0);const _0x4cd165=_0x46a066;if(!_0x190003)return null;const _0x50fda6=_0x190003[_0x4cd165[_0x13bfea(0xac)]],_0x30e05a=[_0x4cd165[_0x13bfea(0xb6)],_0x4cd165[_0x13bfea(0xe8)],_0x4cd165[_0x13bfea(0xaf)],_0x4cd165[_0x13bfea(0xb3)]];for(const _0x4b7359 of _0x30e05a){if(_0x50fda6&&_0x50fda6[_0x4b7359])return _0x50fda6[_0x4b7359];else{if(_0x190003[_0x4b7359])return _0x190003[_0x4b7359];}}return null;};function a3_0x4929(_0x21971f,_0x47f13f){const _0x50c2e5=a3_0x50c2();return a3_0x4929=function(_0x492918,_0x450b6c){_0x492918=_0x492918-0x9e;let _0x1b5b93=_0x50c2e5[_0x492918];return _0x1b5b93;},a3_0x4929(_0x21971f,_0x47f13f);}exports[a3_0x33c8eb(0xc1)]=_0x19fea1=>{const _0x4e76ea=a3_0x33c8eb,_0xb3da96={'JXLXg':_0x4e76ea(0xd4),'qNtnC':function(_0x1b6cdb,_0x4aeeeb){return _0x1b6cdb===_0x4aeeeb;},'fzyXx':_0x4e76ea(0xca),'sPmJV':function(_0x13c44d,_0x1ab152){return _0x13c44d(_0x1ab152);},'LPwKG':function(_0x4248c8,_0xd54e4c,_0x123a03){return _0x4248c8(_0xd54e4c,_0x123a03);},'maAdl':_0x4e76ea(0xe0),'iVKqx':'desiredCapabilities','ZWbre':function(_0x56e218,_0x29a43d){return _0x56e218===_0x29a43d;},'VisLU':_0x4e76ea(0xb8),'nZmOu':function(_0x263931,_0x14ef98,_0xd11655){return _0x263931(_0x14ef98,_0xd11655);},'WCqBp':_0x4e76ea(0xe9),'wqVlS':_0x4e76ea(0xde),'CnrGu':_0x4e76ea(0xa6)};if(!_0x19fea1)return null;let _0x1711d9=global[_0x4e76ea(0xae)]||_0xb3da96[_0x4e76ea(0xba)];if(_0xb3da96['qNtnC'](_0x19fea1[_0x4e76ea(0xd9)][_0x4e76ea(0xd3)],_0xb3da96[_0x4e76ea(0xcc)])){const _0x5358d0=_0x19fea1[_0x4e76ea(0xe9)];if(!_0x5358d0)return null;const _0x384ed2=_0x5358d0[_0x4e76ea(0xd1)],_0x88e043=_0xb3da96[_0x4e76ea(0xe5)](getOSVersionFromCaps,_0xb3da96[_0x4e76ea(0xad)](nestedKeyValue,_0x19fea1,[_0xb3da96['maAdl'],_0xb3da96[_0x4e76ea(0x9e)]]));return{[_0x1711d9]:{'browser':_0x384ed2[_0x4e76ea(0xc8)],'browser_version':_0x384ed2['browserVersion'],'capabilities':_0x384ed2,'platform':_0x384ed2['platformName'],'platform_version':_0x384ed2['platformVersion']||_0x88e043,'product':_0xb3da96[_0x4e76ea(0xe5)](getObservabilityLinkedProductName,_0x384ed2),'session_id':_0x5358d0[_0x4e76ea(0xd6)]}};}else{if(_0xb3da96[_0x4e76ea(0xda)](_0x19fea1[_0x4e76ea(0xd9)][_0x4e76ea(0xd3)],_0xb3da96[_0x4e76ea(0xc9)])){const _0x2452af=PlaywrightSessionDetails[_0x4e76ea(0xeb)]();_0x1711d9=_0x2452af[_0x4e76ea(0xbf)]||_0x1711d9;const _0x62fbc5=_0xb3da96[_0x4e76ea(0xa0)](nestedKeyValue,_0x19fea1,[_0xb3da96['maAdl'],_0xb3da96['WCqBp'],_0xb3da96[_0x4e76ea(0xe1)]]),_0x1a33c2=_0x62fbc5?JSON['parse'](new URL(_0x62fbc5)[_0x4e76ea(0xc6)][_0x4e76ea(0xdf)](_0xb3da96[_0x4e76ea(0xe6)])):{};return{[_0x1711d9]:{'browser':_0x2452af['browser']||_0x1a33c2['browserName'],'browser_version':_0x2452af[_0x4e76ea(0xc2)]||_0x1a33c2[_0x4e76ea(0xc2)],'capabilities':_0x1a33c2,'platform':_0x2452af[_0x4e76ea(0xd7)],'platform_version':_0x2452af['platform_version'],'product':_0xb3da96[_0x4e76ea(0xe5)](getObservabilityLinkedProductName,_0x1a33c2),'session_id':_0x2452af[_0x4e76ea(0xb0)]}};}}},exports[a3_0x33c8eb(0xee)]=_0x14d17f=>{const _0x1b4599=a3_0x33c8eb,_0x330ddf={'Jozyn':function(_0x19116b){return _0x19116b();},'CakSi':_0x1b4599(0xab),'tMLPm':function(_0x4d58b1,_0x1a3b95){return _0x4d58b1!==_0x1a3b95;},'wLrsq':_0x1b4599(0xdc),'znQkh':'on\x20non-BrowserStack\x20infrastructure\x20','dENkn':function(_0x19dfe6,_0x3715fb){return _0x19dfe6(_0x3715fb);},'RdVCb':_0x1b4599(0xbc)};if(_0x330ddf[_0x1b4599(0xa8)](isAccessibilityAutomationSession)){const _0x4bddb6=_0x14d17f['browser'],_0x2abe11=_0x4bddb6[_0x1b4599(0xd1)];global[_0x1b4599(0xd5)]=!![];!accessibilityHelper[_0x1b4599(0xaa)](_0x2abe11[_0x1b4599(0xc8)])&&(logger[_0x1b4599(0xc5)](_0x330ddf[_0x1b4599(0xbd)]),global[_0x1b4599(0xd5)]=![]);if(_0x330ddf[_0x1b4599(0xb1)](_0x2abe11[_0x1b4599(0xe2)],_0x330ddf[_0x1b4599(0xcf)])){const _0x232a32=_0x330ddf[_0x1b4599(0xa8)](isBrowserstackInfra),_0x193671=accessibilityHelper[_0x1b4599(0xbb)](_0x2abe11[_0x1b4599(0xc8)],_0x232a32),_0x5f58a3=accessibilityHelper['getBrowserDisplayName'](_0x2abe11['browserName']);if(!accessibilityHelper[_0x1b4599(0xa1)](_0x2abe11[_0x1b4599(0xe2)],_0x193671)){const _0x464bba=_0x232a32?'':_0x330ddf[_0x1b4599(0xe7)];logger[_0x1b4599(0xc5)](_0x1b4599(0xa3)+_0x5f58a3+_0x1b4599(0xa2)+_0x193671+_0x1b4599(0xb5)+_0x464bba+'.'),global[_0x1b4599(0xd5)]=![];}}!_0x330ddf[_0x1b4599(0xbe)](isUndefined,_0x2abe11[_0x1b4599(0xd0)])&&(logger[_0x1b4599(0xc5)](_0x330ddf['RdVCb']),global[_0x1b4599(0xd5)]=![]);}},exports['shouldPatchExecuteScript']=_0x2cb8ad=>{const _0x18ca16=a3_0x33c8eb,_0x3454cf={};_0x3454cf[_0x18ca16(0xdd)]=function(_0x15b4ec,_0x135812){return _0x15b4ec!==_0x135812;},_0x3454cf[_0x18ca16(0xc4)]=_0x18ca16(0xd8),_0x3454cf['eSAGp']=_0x18ca16(0xcb),_0x3454cf[_0x18ca16(0xa4)]=_0x18ca16(0xed);const _0x18a1b9=_0x3454cf;if(!_0x2cb8ad)return![];else{if(_0x18a1b9[_0x18ca16(0xdd)](typeof _0x2cb8ad,_0x18a1b9[_0x18ca16(0xc4)]))return!![];}return!_0x2cb8ad[_0x18ca16(0xa9)](_0x18a1b9['eSAGp'])&&!_0x2cb8ad[_0x18ca16(0xa9)](_0x18a1b9[_0x18ca16(0xa4)]);};
@@ -1 +1 @@
1
- const a4_0x219a12=a4_0x1a51;(function(_0x271b8a,_0x330bbb){const _0x146848=a4_0x1a51,_0x948122=_0x271b8a();while(!![]){try{const _0x32598e=parseInt(_0x146848(0x18a))/0x1*(parseInt(_0x146848(0x1a9))/0x2)+parseInt(_0x146848(0x257))/0x3+parseInt(_0x146848(0x1cc))/0x4+parseInt(_0x146848(0x1a5))/0x5*(parseInt(_0x146848(0x201))/0x6)+-parseInt(_0x146848(0x205))/0x7+-parseInt(_0x146848(0x232))/0x8+-parseInt(_0x146848(0x24f))/0x9*(parseInt(_0x146848(0x1e8))/0xa);if(_0x32598e===_0x330bbb)break;else _0x948122['push'](_0x948122['shift']());}catch(_0x1c4d99){_0x948122['push'](_0x948122['shift']());}}}(a4_0x4953,0xe5d47));const path=require(a4_0x219a12(0x206)),fs=require('fs'),{v4:uuidv4}=require(a4_0x219a12(0x220)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require('../../helpers/helper'),testOpsHelper=require(a4_0x219a12(0x264)),{getTestEnv}=require(a4_0x219a12(0x16e)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),logger=require('../../helpers/logger')[a4_0x219a12(0x250)],SessionHandler=require(a4_0x219a12(0x1bd)),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),PlaywrightSessionDetails=require(a4_0x219a12(0x20a)),debug=testOpsHelper[a4_0x219a12(0x23e)],{processAccessibilityCaps}=require(a4_0x219a12(0x252)),Constants=require(a4_0x219a12(0x1b1)),{fetchPlatformDetails}=require('./helper.js'),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x219a12(0x174)),constants=require('../utils/constants'),STATE_PASSED=a4_0x219a12(0x241),STATE_FAILED='failed',a4_0xa496aa={};a4_0xa496aa[a4_0x219a12(0x204)]='TestRunStarted',a4_0xa496aa[a4_0x219a12(0x182)]=a4_0x219a12(0x25b),a4_0xa496aa[a4_0x219a12(0x21a)]=a4_0x219a12(0x1a2),a4_0xa496aa[a4_0x219a12(0x263)]=a4_0x219a12(0x1a6),a4_0xa496aa['HOOK_RUN_FINISHED']=a4_0x219a12(0x1ce);const TEST_EVENTS=a4_0xa496aa,parseEvent=_0x5bf26b=>{const _0x142618=a4_0x219a12,_0x1ee443={};_0x1ee443[_0x142618(0x20d)]=function(_0x4ea05c,_0x1f6a49){return _0x4ea05c<_0x1f6a49;},_0x1ee443[_0x142618(0x183)]=function(_0x33ae52,_0x2be215){return _0x33ae52===_0x2be215;},_0x1ee443[_0x142618(0x22f)]=_0x142618(0x249),_0x1ee443[_0x142618(0x229)]=function(_0x2d5171,_0x284e7e){return _0x2d5171===_0x284e7e;},_0x1ee443[_0x142618(0x258)]=_0x142618(0x25e),_0x1ee443['Sjykb']='skipped',_0x1ee443[_0x142618(0x1f0)]=function(_0x657d9d,_0x52b7de){return _0x657d9d===_0x52b7de;},_0x1ee443[_0x142618(0x1c6)]='started',_0x1ee443['mFeOr']=function(_0x42eace,_0x5b79ec){return _0x42eace===_0x5b79ec;},_0x1ee443['rPNiX']=_0x142618(0x178);const _0x1bc633=_0x1ee443,_0x1ac139=_0x5bf26b[_0x142618(0x239)](/^(.*)Run(.*)$/);if(!_0x1ac139)return null;if(_0x1bc633['LHqYG'](_0x1ac139[_0x142618(0x199)],0x3))return null;const _0x3787aa=_0x1ac139[0x1][_0x142618(0x184)](),_0x398967=_0x1ac139[0x2][_0x142618(0x184)]();return{'test':_0x1bc633[_0x142618(0x183)](_0x3787aa,_0x1bc633['miqPp']),'hook':_0x1bc633['VhruJ'](_0x3787aa,_0x1bc633['syKoj']),'skipped':_0x1bc633[_0x142618(0x183)](_0x398967,_0x1bc633[_0x142618(0x1cf)]),'started':_0x1bc633[_0x142618(0x1f0)](_0x398967,_0x1bc633[_0x142618(0x1c6)]),'finished':_0x1bc633[_0x142618(0x210)](_0x398967,_0x1bc633[_0x142618(0x24a)])};},mockPWBrowserType=_0x1247bc=>{const _0x2b72cd=a4_0x219a12,_0x390a53={'dzSms':function(_0x307705,_0x3c0bed){return _0x307705===_0x3c0bed;},'OnnDw':_0x2b72cd(0x179),'DrxfQ':function(_0x2ffcfe,_0x65aa53,_0x1b900e){return _0x2ffcfe(_0x65aa53,_0x1b900e);},'VWVzg':_0x2b72cd(0x1c2),'SjlzE':function(_0x254b59,_0x275e56){return _0x254b59(_0x275e56);},'DHXsX':_0x2b72cd(0x180),'JTTCh':function(_0x13cf92,_0x2b4273,_0x211c3f){return _0x13cf92(_0x2b4273,_0x211c3f);},'EimIP':function(_0x1439dc,_0x2282a6){return _0x1439dc(_0x2282a6);},'zrCrB':_0x2b72cd(0x19b),'ZmteJ':'client','FdNEL':'browserType.js','fpFhp':function(_0x1e1e04,_0x17dd34){return _0x1e1e04(_0x17dd34);},'gYBwc':_0x2b72cd(0x200),'mbRXZ':_0x2b72cd(0x1f5),'QKaui':_0x2b72cd(0x188)},_0x289124=path[_0x2b72cd(0x1af)](_0x390a53[_0x2b72cd(0x21c)],_0x390a53[_0x2b72cd(0x1b2)],_0x390a53[_0x2b72cd(0x1bf)]),_0x27dd1e=_0x390a53[_0x2b72cd(0x211)](importFileFromPWCore,_0x289124);if(!_0x27dd1e){_0x390a53[_0x2b72cd(0x1fc)](debug,_0x390a53['gYBwc']);return;}const _0x29570e=_0x27dd1e['BrowserType'],_0x5885a4=_0x29570e['prototype'];if(_0x5885a4[_0x2b72cd(0x197)])return;const _0x32877c=_0x5885a4[_0x2b72cd(0x1f5)];Object[_0x2b72cd(0x233)](_0x5885a4,_0x390a53[_0x2b72cd(0x22d)],{'get':function(){const _0x1d1386=_0x2b72cd,_0x1ce898={'LQvWy':function(_0x16008e,_0x784537){const _0x537238=a4_0x1a51;return _0x390a53[_0x537238(0x1db)](_0x16008e,_0x784537);},'EeVdr':_0x390a53[_0x1d1386(0x16f)],'LChzl':function(_0x4f86a6,_0x503aec,_0x1a4a5f){const _0x5ed9d4=_0x1d1386;return _0x390a53[_0x5ed9d4(0x1c0)](_0x4f86a6,_0x503aec,_0x1a4a5f);},'AdCVh':_0x390a53[_0x1d1386(0x244)],'wYzsS':function(_0x2434b8,_0x4973be){const _0x41a815=_0x1d1386;return _0x390a53[_0x41a815(0x1fc)](_0x2434b8,_0x4973be);},'YWHbO':_0x390a53[_0x1d1386(0x18c)],'RJQOg':function(_0x5edb11,_0x1df385,_0x2e3132){const _0x2f58e6=_0x1d1386;return _0x390a53[_0x2f58e6(0x1cb)](_0x5edb11,_0x1df385,_0x2e3132);},'iPupC':function(_0x34b2bf,_0x4b27ea){return _0x390a53['EimIP'](_0x34b2bf,_0x4b27ea);}};return async function _0x9fa051(_0x6bd3f1,_0x47e037){const _0x4dcd38=_0x1d1386,_0x1e2b6f={'pKdml':function(_0x5f181d,_0x4aae4a){const _0x510e50=a4_0x1a51;return _0x1ce898[_0x510e50(0x1a3)](_0x5f181d,_0x4aae4a);},'thMLd':_0x1ce898['EeVdr']},_0x282461=_0x1ce898[_0x4dcd38(0x22b)](nestedKeyValue,_0x6bd3f1,[_0x1ce898[_0x4dcd38(0x23b)]])||_0x6bd3f1;let _0x11bc96=null,_0xd8c4b7=null;try{[_0xd8c4b7,_0x11bc96]=_0x282461?_0x1ce898['wYzsS'](parseWSEndpoint,_0x282461):[null,null],global[_0x4dcd38(0x1ec)]=_0x11bc96,logger[_0x4dcd38(0x23e)]('Checking\x20for\x20accessibility\x20automation\x20session\x20with\x20'+_0xd8c4b7),_0xd8c4b7['includes'](Constants[_0x4dcd38(0x1eb)])&&(global['__cloud_provider___']=_0x1ce898['YWHbO']);}catch(_0xd29774){logger[_0x4dcd38(0x23e)](_0x4dcd38(0x1c7)+_0x282461+'\x20'+_0xd29774);}_0x1ce898[_0x4dcd38(0x17a)](processAccessibilityCaps,_0x11bc96,_0xd8c4b7);if(global['accessibilityPlatform']){const _0x6e7b06=await _0x5885a4[_0x4dcd38(0x18e)][_0x4dcd38(0x246)](this,[''+Constants[_0x4dcd38(0x18d)]+_0x1ce898['iPupC'](encodeURIComponent,JSON[_0x4dcd38(0x234)](_0x11bc96))]);return PlaywrightSessionDetails[_0x4dcd38(0x25d)](_0x6e7b06,_0x1247bc,_0x282461),_0x6e7b06;}return _0x32877c[_0x4dcd38(0x246)](this,arguments)[_0x4dcd38(0x17e)](_0x1b3723=>{const _0x3dcf54=_0x4dcd38;let _0x3869dd=_0x6bd3f1[_0x3dcf54(0x1c2)];return _0x1e2b6f['pKdml'](typeof _0x6bd3f1,_0x1e2b6f[_0x3dcf54(0x1ff)])&&(_0x3869dd=_0x6bd3f1),PlaywrightSessionDetails['setupBrowserDetails'](_0x1b3723,_0x1247bc,_0x3869dd),_0x1b3723;});};}});const _0x247d36=_0x5885a4[_0x2b72cd(0x188)];Object[_0x2b72cd(0x233)](_0x5885a4,_0x390a53[_0x2b72cd(0x226)],{'get':function(){return async function _0x3f6e97(){const _0xadb005=a4_0x1a51;return _0x247d36[_0xadb005(0x246)](this,arguments)['then'](_0x2419eb=>{const _0x2273bf=_0xadb005;return PlaywrightSessionDetails[_0x2273bf(0x25d)](_0x2419eb,null),_0x2419eb;});};}});};class O11yHelper{[a4_0x219a12(0x230)]=null;[a4_0x219a12(0x1d2)]=null;[a4_0x219a12(0x1d5)]=![];[a4_0x219a12(0x23c)]=![];constructor(_0x948654,_0x2d1ae8){const _0x22c315=a4_0x219a12,_0x5b7a45={'PztFw':_0x22c315(0x1fe),'rUQad':function(_0x451b4f,_0x53cf9d){return _0x451b4f===_0x53cf9d;},'DjJUC':_0x22c315(0x16a),'FdDJv':function(_0x5c6ad7,_0x241297){return _0x5c6ad7(_0x241297);},'IaOvH':function(_0x2b52b4){return _0x2b52b4();},'efZrB':function(_0x5e22f7){return _0x5e22f7();}},_0x1eae5c=_0x5b7a45[_0x22c315(0x176)][_0x22c315(0x1ee)]('|');let _0x373aa3=0x0;while(!![]){switch(_0x1eae5c[_0x373aa3++]){case'0':this['driver']&&_0x5b7a45['rUQad'](this[_0x22c315(0x255)]['constructor'][_0x22c315(0x265)],_0x5b7a45['DjJUC'])&&_0x5b7a45[_0x22c315(0x23d)](mockPWBrowserType,null);continue;case'1':this['enabled']=_0x5b7a45[_0x22c315(0x221)](shouldProcessEventForTesthub);continue;case'2':this['_testEnv']=_0x5b7a45[_0x22c315(0x235)](getTestEnv);continue;case'3':this[_0x22c315(0x255)]=_0x948654;continue;case'4':this[_0x22c315(0x1e1)]=new testOpsHelper['PathHelper']({'cwd':process[_0x22c315(0x256)]()},this[_0x22c315(0x1fd)][_0x22c315(0x259)]);continue;case'5':this[_0x22c315(0x23c)]=_0x2d1ae8[_0x22c315(0x23c)];continue;}break;}}[a4_0x219a12(0x20e)](){const _0x39d87b=a4_0x219a12;if(!this[_0x39d87b(0x1d5)])return;testOpsHelper[_0x39d87b(0x171)](),process['removeAllListeners'](_0x39d87b(0x1c9)+process[_0x39d87b(0x1fb)]),process['on'](_0x39d87b(0x1c9)+process[_0x39d87b(0x1fb)],this['appendTestItemLog'][_0x39d87b(0x17b)](this));}async[a4_0x219a12(0x1ba)](){const _0x14168b=a4_0x219a12;await RequestQueueHandler[_0x14168b(0x1b3)]()[_0x14168b(0x1d9)]();}async[a4_0x219a12(0x16c)](_0x204bf1){const _0x19e47f=a4_0x219a12,_0x3f5b13={'pdtOO':_0x19e47f(0x227),'vqhLA':function(_0xf05af6,_0x302a35){return _0xf05af6(_0x302a35);}};try{this[_0x19e47f(0x1d2)]&&!this[_0x19e47f(0x1d2)][_0x19e47f(0x187)]&&(_0x204bf1['hook_run_uuid']=this['currentHook']['hookAnalyticsId']);!_0x204bf1[_0x19e47f(0x21f)]&&this['currentTest']&&!this[_0x19e47f(0x230)][_0x19e47f(0x187)]&&(_0x204bf1[_0x19e47f(0x1c8)]=this[_0x19e47f(0x230)][_0x19e47f(0x24c)]);if(_0x204bf1[_0x19e47f(0x21f)]||_0x204bf1[_0x19e47f(0x1c8)]){const _0x555b91={};_0x555b91[_0x19e47f(0x218)]=_0x3f5b13['pdtOO'],_0x555b91['logs']=[_0x204bf1],await SessionHandler[_0x19e47f(0x1f8)](_0x555b91);}}catch(_0x906a8b){_0x3f5b13[_0x19e47f(0x1ea)](debug,_0x19e47f(0x222)+constants[_0x19e47f(0x1b5)]+_0x19e47f(0x1c1)+_0x906a8b);}}async[a4_0x219a12(0x19e)](_0x5cdab3){const _0x3d8405=a4_0x219a12,_0x526f33={'GkJGr':'CBTSessionCreated','YsKhH':function(_0x262905,_0x3bcc9b){return _0x262905(_0x3bcc9b);}};if(!this[_0x3d8405(0x1d5)])return;const _0x17be56=this[_0x3d8405(0x25a)](this[_0x3d8405(0x255)]);try{const _0x1d9197={};_0x1d9197[_0x3d8405(0x220)]=_0x5cdab3,_0x1d9197[_0x3d8405(0x1d6)]=_0x17be56;const _0x339b76=_0x1d9197,_0x5693ce={};_0x5693ce[_0x3d8405(0x218)]=_0x526f33[_0x3d8405(0x214)],_0x5693ce[_0x3d8405(0x1cd)]=_0x339b76,await SessionHandler['uploadEventData'](_0x5693ce);}catch(_0xb67e27){_0x526f33['YsKhH'](debug,_0x3d8405(0x1b6)+constants[_0x3d8405(0x1b5)]+'\x20with\x20error\x20:\x20'+_0xb67e27);}}[a4_0x219a12(0x25a)](_0x27c4b5){const _0x347dc4=a4_0x219a12,_0x1e6c0a={'ybaMz':function(_0x6597d9,_0x12fe3d){return _0x6597d9(_0x12fe3d);}};return _0x1e6c0a[_0x347dc4(0x202)](fetchPlatformDetails,_0x27c4b5);}[a4_0x219a12(0x1d1)]=_0x25dde7=>{const _0x2e0ff7=a4_0x219a12,_0x40cbea={};_0x40cbea[_0x2e0ff7(0x21b)]=_0x2e0ff7(0x193),_0x40cbea[_0x2e0ff7(0x19a)]=_0x2e0ff7(0x216);const _0x4ceb9d=_0x40cbea;if(!_0x25dde7||!_0x25dde7[_0x2e0ff7(0x1f6)])return;[_0x4ceb9d[_0x2e0ff7(0x21b)],_0x4ceb9d[_0x2e0ff7(0x19a)]][_0x2e0ff7(0x1dd)](_0x4ba45f=>{const _0x1c08cc=_0x2e0ff7,_0x5e4f42=_0x25dde7['parent'][_0x4ba45f];_0x5e4f42[_0x1c08cc(0x1dd)](_0x435d4c=>{const _0x5aa3ce=_0x1c08cc;_0x435d4c[_0x5aa3ce(0x191)]&&(_0x435d4c[_0x5aa3ce(0x191)]=null);});});};[a4_0x219a12(0x198)](_0xe75421){const _0x4d55e7=a4_0x219a12,_0x1efc67={'bshDP':_0x4d55e7(0x1d8),'CEHyI':function(_0x17da95){return _0x17da95();},'oARTk':function(_0x3e4bbf,_0x31310f){return _0x3e4bbf===_0x31310f;},'jfpdI':'_afterEach','OANUn':'_beforeAll','FWvXC':_0x4d55e7(0x1f9),'utYsJ':'_beforeEach'};if(!_0xe75421||!_0xe75421[_0x4d55e7(0x1f6)])return;[_0x1efc67['OANUn'],_0x1efc67[_0x4d55e7(0x1be)],_0x1efc67['utYsJ'],_0x1efc67['jfpdI']][_0x4d55e7(0x1dd)](_0x753386=>{const _0x2032e1=_0x4d55e7,_0x21e487={'IoxCn':_0x1efc67[_0x2032e1(0x1a4)],'roNrW':function(_0xa17dea){const _0x3f349a=_0x2032e1;return _0x1efc67[_0x3f349a(0x177)](_0xa17dea);},'PxIqS':function(_0x133cc6,_0x5e4591){const _0x47b875=_0x2032e1;return _0x1efc67[_0x47b875(0x245)](_0x133cc6,_0x5e4591);},'MWsBp':_0x1efc67[_0x2032e1(0x173)]},_0x49ced3=_0xe75421[_0x2032e1(0x1f6)][_0x753386]||[];_0x49ced3[_0x2032e1(0x1dd)](_0x428483=>{const _0x12a9d1=_0x2032e1;if(_0x428483[_0x12a9d1(0x21e)]['includes'](_0x21e487[_0x12a9d1(0x237)]))return;if(!_0x428483[_0x12a9d1(0x191)])_0x428483[_0x12a9d1(0x191)]=_0x21e487[_0x12a9d1(0x25f)](uuidv4);else _0x428483[_0x12a9d1(0x187)]&&_0x21e487['PxIqS'](_0x753386,_0x21e487['MWsBp'])&&(_0x428483[_0x12a9d1(0x191)]=_0x21e487['roNrW'](uuidv4),delete _0x428483[_0x12a9d1(0x187)]);});}),this[_0x4d55e7(0x198)](_0xe75421[_0x4d55e7(0x1f6)]);}[a4_0x219a12(0x1aa)](_0x27fe27){const _0xccdafb=a4_0x219a12,_0x4ccaa8={};_0x4ccaa8[_0xccdafb(0x228)]='_beforeAll',_0x4ccaa8[_0xccdafb(0x20f)]=_0xccdafb(0x1f9),_0x4ccaa8[_0xccdafb(0x1dc)]=_0xccdafb(0x193),_0x4ccaa8[_0xccdafb(0x251)]=_0xccdafb(0x216);const _0x37d506=_0x4ccaa8;if(!_0x27fe27||!_0x27fe27[_0xccdafb(0x1f6)])return[];const _0x3581d4=[];return[_0x37d506[_0xccdafb(0x228)],_0x37d506['fEAax'],_0x37d506['vmPSI'],_0x37d506[_0xccdafb(0x251)]][_0xccdafb(0x1dd)](_0x2129dd=>{const _0x10705f=_0xccdafb,_0x1c8f59=_0x27fe27[_0x10705f(0x1f6)][_0x2129dd]||[];_0x1c8f59[_0x10705f(0x1dd)](_0x37b531=>{const _0x251c85=_0x10705f;_0x37b531[_0x251c85(0x191)]&&_0x3581d4['push'](_0x37b531[_0x251c85(0x191)]);});}),[]['concat'](_0x3581d4,this[_0xccdafb(0x1aa)](_0x27fe27[_0xccdafb(0x1f6)]));}[a4_0x219a12(0x1c5)](_0x254c81){const _0x176642=a4_0x219a12,_0x4a44e7=/^"(?<hook>.*)" hook:.*$/,_0x579e22=_0x254c81[_0x176642(0x21e)],_0x28b73a=_0x579e22[_0x176642(0x239)](_0x4a44e7);if(_0x28b73a&&_0x28b73a[_0x176642(0x1da)])return _0x28b73a[_0x176642(0x1da)][_0x176642(0x25e)]['toUpperCase']()[_0x176642(0x17d)]('\x20','_');return null;}[a4_0x219a12(0x212)](_0x2a2708){const _0x183e32=a4_0x219a12,_0x2ce729={};_0x2ce729[_0x183e32(0x1f7)]=function(_0x4761bf,_0x28fe3b){return _0x4761bf===_0x28fe3b;},_0x2ce729[_0x183e32(0x213)]=function(_0x502e11,_0x36e9a2){return _0x502e11===_0x36e9a2;},_0x2ce729[_0x183e32(0x1ad)]=function(_0x50614c,_0x518354){return _0x50614c===_0x518354;},_0x2ce729[_0x183e32(0x236)]=_0x183e32(0x1f1),_0x2ce729['nssEW']=_0x183e32(0x1ef);const _0x23bccd=_0x2ce729,_0xbc5831=path[_0x183e32(0x203)];if(_0x23bccd[_0x183e32(0x1f7)](_0x2a2708,null)||_0x23bccd[_0x183e32(0x213)](_0x2a2708,'')||_0x23bccd['tSAmM'](_0x2a2708,_0xbc5831)||_0x23bccd[_0x183e32(0x1ad)](_0x2a2708,path[_0x183e32(0x248)](_0x2a2708)))return null;try{return fs[_0x183e32(0x23f)](path[_0x183e32(0x1af)](_0x2a2708,_0x23bccd['trDmu'],_0x23bccd[_0x183e32(0x25c)])),_0x2a2708;}catch(_0x3a3333){const _0x70e03a=path['dirname'](_0x2a2708);return this[_0x183e32(0x212)](_0x70e03a);}}[a4_0x219a12(0x21d)](_0x49ac28){const _0x469cc9=a4_0x219a12,_0x52b2c6={};_0x52b2c6[_0x469cc9(0x209)]=function(_0x1d6690,_0x20b798){return _0x1d6690>_0x20b798;};const _0x449c14=_0x52b2c6;if(_0x49ac28[_0x469cc9(0x1df)])return _0x49ac28[_0x469cc9(0x1df)];if(_0x49ac28[_0x469cc9(0x1e2)]){const _0x37193e=_0x49ac28[_0x469cc9(0x1e2)][_0x469cc9(0x230)]?this[_0x469cc9(0x21d)](_0x49ac28[_0x469cc9(0x1e2)]['currentTest']):null;if(_0x37193e)return _0x37193e;}if(_0x49ac28['parent']){const _0x5d687d=this[_0x469cc9(0x21d)](_0x49ac28['parent'])||(_0x49ac28[_0x469cc9(0x1f6)][_0x469cc9(0x1e2)]&&_0x49ac28[_0x469cc9(0x1f6)][_0x469cc9(0x1e2)]['currentTest']?this[_0x469cc9(0x21d)](_0x49ac28['parent']['ctx'][_0x469cc9(0x230)]):null);if(_0x5d687d)return _0x5d687d;_0x49ac28[_0x469cc9(0x1f6)][_0x469cc9(0x172)]&&_0x449c14[_0x469cc9(0x209)](_0x49ac28[_0x469cc9(0x1f6)]['suites'][_0x469cc9(0x199)],0x0)&&_0x49ac28[_0x469cc9(0x1f6)]['suites'][_0x469cc9(0x1dd)](_0xa68358=>{const _0x463357=_0x469cc9,_0x51aaeb=_0xa68358[_0x463357(0x1e2)]?this['getRootParentFile'](_0xa68358[_0x463357(0x1e2)]):null;if(_0x51aaeb)return _0x51aaeb;});}return null;}[a4_0x219a12(0x1f4)](_0x2c8b64){const _0x34643b=a4_0x219a12,_0x7325e6={};_0x7325e6[_0x34643b(0x194)]=function(_0x309697,_0xbe20e1){return _0x309697!==_0xbe20e1;};const _0x1972be=_0x7325e6,_0x557cc4=[];if(_0x2c8b64&&_0x2c8b64[_0x34643b(0x1f6)]){let _0x4a0cfc=_0x2c8b64['parent'];while(_0x4a0cfc&&_0x1972be[_0x34643b(0x194)](_0x4a0cfc[_0x34643b(0x21e)],'')){_0x557cc4[_0x34643b(0x1ae)](_0x4a0cfc[_0x34643b(0x21e)]),_0x4a0cfc=_0x4a0cfc[_0x34643b(0x1f6)];}}return _0x557cc4;}[a4_0x219a12(0x254)](_0x463b66,_0x1a0aad,_0x2cf215=undefined){const _0x5b9d87=a4_0x219a12,_0x5a86b1={'GtFil':function(_0x3e5271,_0x4d4fa2){return _0x3e5271(_0x4d4fa2);},'gCiUr':function(_0x5851c4){return _0x5851c4();},'klznb':function(_0x64903f){return _0x64903f();},'JMPwp':function(_0x37f338){return _0x37f338();},'AMSUS':function(_0x4c95a4,_0x273a86){return _0x4c95a4(_0x273a86);},'mIufm':_0x5b9d87(0x1d3),'nJGHB':_0x5b9d87(0x1a1),'EddfI':function(_0x240d70,_0x610ec8){return _0x240d70!==_0x610ec8;},'yIgab':function(_0x34a98d,_0x444d65){return _0x34a98d!==_0x444d65;},'hGxWb':'File\x20path\x20could\x20not\x20be\x20found','zmIeu':'pending','osaGG':_0x5b9d87(0x1a7),'zUCOg':_0x5b9d87(0x241),'ZrFcp':_0x5b9d87(0x1b0),'bXmkN':'javascript','UVmnM':function(_0x52c501,_0x46429b){return _0x52c501-_0x46429b;},'TBuEz':function(_0x5bbd31,_0x35c9ac,_0x3c0c04,_0x3e281d,_0x3eb5b1){return _0x5bbd31(_0x35c9ac,_0x3c0c04,_0x3e281d,_0x3eb5b1);},'wFQLn':_0x5b9d87(0x1d6),'DYqYS':'meta','OzoUC':_0x5b9d87(0x1b4),'tBdYa':_0x5b9d87(0x20c),'SLayH':_0x5b9d87(0x19d),'HMWNE':_0x5b9d87(0x1e3),'GQsat':_0x5b9d87(0x1b8),'vfwxH':function(_0x40289f,_0xb31204){return _0x40289f===_0xb31204;},'OrUUh':_0x5b9d87(0x1e9),'ILIde':_0x5b9d87(0x1cd)};if(!this[_0x5b9d87(0x1d5)])return;try{if(_0x1a0aad['fn']&&_0x1a0aad['fn'][_0x5b9d87(0x186)]()[_0x5b9d87(0x239)](/browserstack internal helper hook/))return;const _0x7ba337=_0x5a86b1[_0x5b9d87(0x20b)](parseEvent,_0x463b66);if(!_0x7ba337)return;if(_0x7ba337[_0x5b9d87(0x249)]){this['currentTest']=_0x1a0aad,this['currentHook']=null;if(_0x7ba337['started']||_0x7ba337['skipped']){_0x1a0aad['startedAt']=new Date(),_0x1a0aad[_0x5b9d87(0x187)]=![];if(!_0x1a0aad[_0x5b9d87(0x24c)])_0x1a0aad[_0x5b9d87(0x24c)]=_0x5a86b1[_0x5b9d87(0x1f2)](uuidv4);else _0x1a0aad[_0x5b9d87(0x187)]&&(!_0x1a0aad[_0x5b9d87(0x22a)]&&(_0x1a0aad['retryOf']=_0x1a0aad[_0x5b9d87(0x24c)]),_0x1a0aad[_0x5b9d87(0x24c)]=_0x5a86b1['gCiUr'](uuidv4));}}else{if(_0x7ba337[_0x5b9d87(0x25e)]){this[_0x5b9d87(0x1d2)]=_0x1a0aad;if(_0x7ba337[_0x5b9d87(0x1a8)]){_0x1a0aad[_0x5b9d87(0x1a0)]=new Date(),_0x1a0aad[_0x5b9d87(0x187)]=![];if(!_0x1a0aad[_0x5b9d87(0x191)])_0x1a0aad['hookAnalyticsId']=_0x5a86b1[_0x5b9d87(0x18b)](uuidv4);else _0x1a0aad[_0x5b9d87(0x191)]&&_0x1a0aad[_0x5b9d87(0x187)]&&(_0x1a0aad[_0x5b9d87(0x191)]=_0x5a86b1[_0x5b9d87(0x225)](uuidv4));}}}if(_0x7ba337[_0x5b9d87(0x178)]&&_0x1a0aad[_0x5b9d87(0x187)])return;let _0x13b009;try{_0x13b009=this['getRootParentFile'](_0x1a0aad);}catch(_0x2c4674){logger['debug'](_0x5b9d87(0x217)+_0x2c4674),_0x13b009=null;}const _0x18b7e7=_0x5a86b1[_0x5b9d87(0x185)](require,_0x5a86b1['mIufm']);let _0x2eed4d=[];_0x2cf215&&(_0x2eed4d=[_0x2cf215,_0x5a86b1[_0x5b9d87(0x1e4)]]);const _0x21f444=_0x5a86b1[_0x5b9d87(0x169)](_0x1a0aad['errorsDetailed'],undefined)?_0x18b7e7['inspect'](_0x1a0aad[_0x5b9d87(0x208)][0x0]):_0x5a86b1[_0x5b9d87(0x16d)](_0x2cf215,undefined)?_0x2cf215[_0x5b9d87(0x186)]():undefined,_0x62dc40=_0x13b009?this['findGitConfig'](_0x13b009):null,_0x59e3c9=_0x13b009?this[_0x5b9d87(0x1e1)][_0x5b9d87(0x231)](this['getRootParentFile'](_0x1a0aad)):_0x5a86b1[_0x5b9d87(0x219)];let _0x2f57fb=_0x5a86b1[_0x5b9d87(0x253)];const _0x303563=!_0x7ba337[_0x5b9d87(0x1a8)]?new Date()['toISOString']():null;if(_0x7ba337[_0x5b9d87(0x178)])_0x2f57fb=_0x2cf215?_0x5a86b1['osaGG']:_0x5a86b1[_0x5b9d87(0x1e0)],_0x1a0aad[_0x5b9d87(0x187)]=!![];else _0x7ba337[_0x5b9d87(0x1b0)]&&(_0x2f57fb=_0x5a86b1[_0x5b9d87(0x19c)],_0x1a0aad['markedStatus']=!![]);const _0xf31545={'framework':this[_0x5b9d87(0x23c)],'uuid':_0x1a0aad[_0x5b9d87(0x24c)]||_0x1a0aad['hookAnalyticsId'],'name':_0x1a0aad[_0x5b9d87(0x21e)],'body':{'lang':_0x5a86b1['bXmkN'],'code':_0x1a0aad[_0x5b9d87(0x261)]['toString']()},'type':_0x1a0aad[_0x5b9d87(0x24e)],'scope':_0x1a0aad['fullTitle'](),'scopes':this['getHierarchy'](_0x1a0aad),'file_name':_0x59e3c9,'vc_filepath':_0x62dc40?path[_0x5b9d87(0x1bc)](_0x62dc40,_0x13b009):null,'location':_0x59e3c9,'result':_0x2f57fb,'failure_reason':_0x21f444,'duration_in_ms':_0x1a0aad['duration']||(_0x7ba337[_0x5b9d87(0x178)]||_0x7ba337[_0x5b9d87(0x1b0)])?_0x5a86b1[_0x5b9d87(0x223)](Date[_0x5b9d87(0x240)](),new Date(_0x1a0aad[_0x5b9d87(0x1a0)])[_0x5b9d87(0x1ed)]()):null,'started_at':new Date(_0x1a0aad['startedAt'])['toISOString'](),'finished_at':_0x303563,'failure':testOpsHelper[_0x5b9d87(0x1c3)][_0x5b9d87(0x246)](null,_0x2eed4d),'failure_type':!_0x21f444?null:testOpsHelper[_0x5b9d87(0x1b9)](_0x21f444),'retry_of':_0x1a0aad[_0x5b9d87(0x22a)]||null,'tags':_0x1a0aad[_0x5b9d87(0x242)]||[],'customRerunParam':{'rerun_name':_0x1a0aad['fullTitle']()}};_0x5a86b1['TBuEz'](appendTesthubParams,_0xf31545,_0x463b66,_0x1a0aad,FRAMEWORKS['CODECEPT']);if(_0x7ba337['hook'])[_0xf31545[_0x5b9d87(0x19f)],_0xf31545[_0x5b9d87(0x265)]]=[this['getHookType'](_0x1a0aad),_0x1a0aad[_0x5b9d87(0x1e2)][_0x5b9d87(0x249)]['title']],_0x7ba337[_0x5b9d87(0x178)]?_0x5a86b1[_0x5b9d87(0x169)](_0xf31545['result'],_0x5a86b1[_0x5b9d87(0x267)])&&(_0xf31545['result']=_0x5a86b1[_0x5b9d87(0x1e0)]):_0xf31545['body']={};else _0x7ba337[_0x5b9d87(0x249)]&&(this[_0x5b9d87(0x198)](_0x1a0aad),_0x7ba337[_0x5b9d87(0x1b0)]&&this['resetSkipTestHooks'](_0x1a0aad),(_0x7ba337[_0x5b9d87(0x178)]||_0x7ba337[_0x5b9d87(0x1b0)])&&(_0xf31545['hooks']=this[_0x5b9d87(0x1aa)](_0x1a0aad)));this['driver']&&(_0x7ba337[_0x5b9d87(0x1a8)]||_0x7ba337[_0x5b9d87(0x1b0)])&&(_0xf31545[_0x5a86b1['wFQLn']]=this[_0x5b9d87(0x25a)](this[_0x5b9d87(0x255)]));_0x7ba337['test']&&_0x7ba337['finished']&&_0x1a0aad['bddSteps']&&(_0xf31545[_0x5a86b1[_0x5b9d87(0x192)]]={'feature':{'name':_0x1a0aad[_0x5b9d87(0x1f6)][_0x5b9d87(0x189)]['name'],'path':_0xf31545[_0x5b9d87(0x1bb)],'description':_0x1a0aad[_0x5b9d87(0x1f6)][_0x5b9d87(0x1d7)]},'scenario':{'name':_0x1a0aad[_0x5b9d87(0x21e)]},'steps':_0x1a0aad['bddSteps']});const _0x51765b=_0xf31545[_0x5a86b1[_0x5b9d87(0x238)]][0x0];_0x51765b&&(_0xf31545[_0x5a86b1[_0x5b9d87(0x17f)]]=_0x51765b[_0x5a86b1[_0x5b9d87(0x215)]],_0xf31545[_0x5a86b1['HMWNE']]=_0x51765b[_0x5a86b1[_0x5b9d87(0x22c)]]);if(_0x1a0aad[_0x5b9d87(0x1d0)])for(const _0x4025b5 of _0x1a0aad[_0x5b9d87(0x1d0)]){!_0x4025b5[_0x5b9d87(0x23a)]&&(_0x4025b5[_0x5b9d87(0x23a)]=new Date()[_0x5b9d87(0x181)](),_0x5a86b1[_0x5b9d87(0x1d4)](_0x4025b5[_0x5b9d87(0x1ca)],_0x5a86b1[_0x5b9d87(0x253)])&&(_0x51765b?(_0x4025b5['result']=_0x5a86b1['osaGG'],_0x4025b5[_0x5b9d87(0x1b4)]=_0x51765b[_0x5a86b1['SLayH']][0x0]):_0x4025b5[_0x5b9d87(0x1ca)]=_0x5a86b1[_0x5b9d87(0x1e0)]));}const _0x39015f={};_0x39015f[_0x5b9d87(0x218)]=_0x7ba337['skipped']?TEST_EVENTS[_0x5b9d87(0x182)]:_0x463b66;const _0x28797f=_0x39015f;return _0x7ba337[_0x5b9d87(0x25e)]?_0x28797f[_0x5a86b1['OrUUh']]=_0xf31545:_0x28797f[_0x5a86b1[_0x5b9d87(0x266)]]=_0xf31545,_0x28797f;}catch(_0xa645){logger[_0x5b9d87(0x23e)](_0x5b9d87(0x17c)+_0x463b66+_0x5b9d87(0x1c1)+_0xa645);}}async[a4_0x219a12(0x1e7)](_0x1f0607,_0x5bdb14){const _0x55b464=a4_0x219a12;if(!this[_0x55b464(0x1d5)]||!_0x5bdb14||!_0x1f0607)return![];try{return await SessionHandler['uploadEventData'](_0x5bdb14);}catch(_0x314af6){logger['debug'](_0x55b464(0x16b)+_0x1f0607+_0x55b464(0x1c1)+_0x314af6);}}[a4_0x219a12(0x1de)](_0x4902fe){const _0x1ef906=a4_0x219a12,_0x2b0f46={};_0x2b0f46['PTfIJ']=_0x1ef906(0x190);const _0x565c9f=_0x2b0f46;return{'id':_0x4902fe['stepAnalyticsId'],'text':_0x4902fe[_0x1ef906(0x207)],'keyword':_0x4902fe[_0x1ef906(0x262)],'started_at':_0x4902fe[_0x1ef906(0x1a0)][_0x1ef906(0x181)](),'result':_0x565c9f[_0x1ef906(0x168)]};}[a4_0x219a12(0x18f)](_0x25bae4){const _0xdd08a3=a4_0x219a12,_0x5269b1={'JXBtA':function(_0x3fa5af){return _0x3fa5af();}};!this[_0xdd08a3(0x230)]['bddSteps']&&(this['currentTest'][_0xdd08a3(0x1d0)]=[]),!_0x25bae4[_0xdd08a3(0x170)]&&(_0x25bae4[_0xdd08a3(0x170)]=_0x5269b1[_0xdd08a3(0x1b7)](uuidv4),_0x25bae4['startedAt']=new Date(),this['currentTest']['bddSteps'][_0xdd08a3(0x1ae)](this[_0xdd08a3(0x1de)](_0x25bae4)));}[a4_0x219a12(0x24d)](_0x2e544a){const _0x50ded9=a4_0x219a12,_0x483810={'KDLsF':function(_0x2a7fe7,_0xe94e0d){return _0x2a7fe7(_0xe94e0d);},'ViSMI':_0x50ded9(0x260),'aOPoF':_0x50ded9(0x190),'QRkXb':_0x50ded9(0x241),'QCVTH':function(_0x148e3a,_0x31d2a4){return _0x148e3a-_0x31d2a4;}};let _0x53e071=this[_0x50ded9(0x230)]['bddSteps'][_0x50ded9(0x195)](_0x3a76a9=>_0x3a76a9['id']===_0x2e544a[_0x50ded9(0x170)]);_0x483810[_0x50ded9(0x196)](isUndefined,_0x53e071)&&(_0x53e071=this[_0x50ded9(0x1de)](_0x2e544a)),_0x53e071[_0x50ded9(0x1ca)]=[_0x483810[_0x50ded9(0x224)],_0x483810[_0x50ded9(0x243)]][_0x50ded9(0x1fa)](_0x2e544a['status'])?_0x483810[_0x50ded9(0x1e6)]:_0x2e544a[_0x50ded9(0x1c4)],_0x53e071[_0x50ded9(0x23a)]=new Date()[_0x50ded9(0x181)](),_0x53e071[_0x50ded9(0x247)]=_0x483810[_0x50ded9(0x1ab)](Date[_0x50ded9(0x240)](),_0x2e544a[_0x50ded9(0x1a0)][_0x50ded9(0x1ed)]()),_0x53e071[_0x50ded9(0x1b4)]=_0x2e544a[_0x50ded9(0x1a1)]?_0x2e544a[_0x50ded9(0x1a1)][_0x50ded9(0x1e5)]:null;}}const a4_0x26439d={};function a4_0x1a51(_0x59af4e,_0x23e0b7){const _0x49533=a4_0x4953();return a4_0x1a51=function(_0x1a51c9,_0x3ef0bb){_0x1a51c9=_0x1a51c9-0x168;let _0x5c2ad5=_0x49533[_0x1a51c9];return _0x5c2ad5;},a4_0x1a51(_0x59af4e,_0x23e0b7);}function a4_0x4953(){const _0x19f25a=['toString','markedStatus','launch','feature','941qjtorU','klznb','DHXsX','PLAYWRIGHT_HUB_URL','connectOverCDP','bddStepStart','pending','hookAnalyticsId','DYqYS','_beforeEach','xBjaM','find','KDLsF','obsBrowserTypeMockApplied','mapTestHooks','length','lUoFU','lib','ZrFcp','backtrace','sendCBTInfo','hook_type','startedAt','err','TestRunSkipped','LQvWy','bshDP','10LhQnGT','HookRunStarted','failed','started','3154GwzbFv','getHooksForTest','QCVTH','exports','viEnJ','push','join','skipped','../utils/constants','ZmteJ','getInstance','failure','TEST_REPORTING_ANALYTICS','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20','JXBtA','expanded','getFailureType','stop','file_name','relative','../../helpers/test-observability/sessionHandler','FWvXC','FdNEL','DrxfQ','\x20with\x20error\x20:\x20','wsEndpoint','failureData','status','getHookType','NaWzt','Failed\x20to\x20parse\x20wsendpoint\x20','test_run_uuid','bs:addLog:','result','JTTCh','6782672bDscwO','test_run','HookRunFinished','Sjykb','bddSteps','resetSkipTestHooks','currentHook','util','vfwxH','enabled','integrations','comment','codeceptjs','shutdown','groups','dzSms','vmPSI','forEach','initializeBddStep','file','zUCOg','_paths','ctx','failure_reason_expanded','nJGHB','message','QRkXb','fireEvent','38890smdQRJ','hook_run','vqhLA','BROWSERSTACK','__platformCaps','getTime','split','config','QTRlB','.git','gCiUr','STATE_PASSED','getHierarchy','connect','parent','tSAmM','uploadEventData','_afterAll','includes','pid','SjlzE','_testEnv','1|5|3|2|4|0','thMLd','Not\x20able\x20to\x20import\x20Browser','4117356JkkmtC','ybaMz','sep','TEST_RUN_STARTED','6713504WXwLIs','path','text','errorsDetailed','SdMTe','../playwright/sessionDetails','GtFil','failure_backtrace','LHqYG','start','fEAax','mFeOr','fpFhp','findGitConfig','EjxEP','GkJGr','SLayH','_afterEach','failed\x20to\x20get\x20root\x20parent\x20file\x20','event_type','hGxWb','TEST_RUN_SKIPPED','JQdfn','zrCrB','getRootParentFile','title','hook_run_uuid','uuid','IaOvH','Exception\x20in\x20uploading\x20log\x20data\x20to\x20','UVmnM','ViSMI','JMPwp','QKaui','LogCreated','KkuPp','VhruJ','retryOf','LChzl','GQsat','mbRXZ','STATE_FAILED','miqPp','currentTest','prefixTestPath','11555712BwHsUq','defineProperty','stringify','efZrB','trDmu','IoxCn','OzoUC','match','finished_at','AdCVh','frameworkName','FdDJv','debug','statSync','now','passed','tags','aOPoF','VWVzg','oARTk','apply','duration','dirname','test','rPNiX','O11yHelper','testAnalyticsId','bddStepFinish','type','4932bNxxms','winstonLogger','WwxSG','../playwright/accessibility-helper','zmIeu','captureEvent','driver','cwd','2772042ksVfXw','syKoj','location_prefix','getCBTInfo','TestRunFinished','nssEW','setupBrowserDetails','hook','roNrW','success','body','keyword','HOOK_RUN_STARTED','../../helpers/test-observability/utils','name','ILIde','osaGG','PTfIJ','EddfI','Playwright','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','appendTestItemLog','yIgab','../mocha/test-observability/mochaUtils','OnnDw','stepAnalyticsId','patchConsoleLogger','suites','jfpdI','../../helpers/testhub/utils.js','TEST_EVENTS','PztFw','CEHyI','finished','string','RJQOg','bind','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','replace','then','tBdYa','browserstack','toISOString','TEST_RUN_FINISHED','oecfe','toLowerCase','AMSUS'];a4_0x4953=function(){return _0x19f25a;};return a4_0x4953();}a4_0x26439d[a4_0x219a12(0x24b)]=O11yHelper,a4_0x26439d[a4_0x219a12(0x1f3)]=STATE_PASSED,a4_0x26439d[a4_0x219a12(0x22e)]=STATE_FAILED,a4_0x26439d[a4_0x219a12(0x175)]=TEST_EVENTS,module[a4_0x219a12(0x1ac)]=a4_0x26439d;
1
+ const a4_0x110348=a4_0x90d1;(function(_0x3c9f07,_0x6e63c7){const _0x27cb9d=a4_0x90d1,_0x30c2e8=_0x3c9f07();while(!![]){try{const _0x56cfbb=-parseInt(_0x27cb9d(0x25f))/0x1+-parseInt(_0x27cb9d(0x1dc))/0x2+parseInt(_0x27cb9d(0x1cb))/0x3*(-parseInt(_0x27cb9d(0x1a9))/0x4)+-parseInt(_0x27cb9d(0x195))/0x5+parseInt(_0x27cb9d(0x20b))/0x6+parseInt(_0x27cb9d(0x278))/0x7+parseInt(_0x27cb9d(0x227))/0x8;if(_0x56cfbb===_0x6e63c7)break;else _0x30c2e8['push'](_0x30c2e8['shift']());}catch(_0x152541){_0x30c2e8['push'](_0x30c2e8['shift']());}}}(a4_0x438c,0x4fac4));const path=require(a4_0x110348(0x243)),fs=require('fs'),{v4:uuidv4}=require(a4_0x110348(0x1ec)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require('../../helpers/helper'),testOpsHelper=require('../../helpers/test-observability/utils'),{getTestEnv}=require(a4_0x110348(0x1ae)),{FRAMEWORKS}=require(a4_0x110348(0x1e0)),logger=require('../../helpers/logger')[a4_0x110348(0x25b)],SessionHandler=require('../../helpers/test-observability/sessionHandler'),RequestQueueHandler=require(a4_0x110348(0x1f5)),PlaywrightSessionDetails=require(a4_0x110348(0x277)),debug=testOpsHelper['debug'],{processAccessibilityCaps}=require('../playwright/accessibility-helper'),Constants=require(a4_0x110348(0x267)),{fetchPlatformDetails}=require('./helper.js'),{shouldProcessEventForTesthub,appendTesthubParams}=require('../../helpers/testhub/utils.js'),constants=require(a4_0x110348(0x267)),STATE_PASSED=a4_0x110348(0x1d7),STATE_FAILED=a4_0x110348(0x18b),a4_0x56137e={};a4_0x56137e[a4_0x110348(0x20d)]=a4_0x110348(0x1c3),a4_0x56137e[a4_0x110348(0x264)]=a4_0x110348(0x247),a4_0x56137e['TEST_RUN_SKIPPED']=a4_0x110348(0x1ff),a4_0x56137e[a4_0x110348(0x254)]=a4_0x110348(0x1df),a4_0x56137e[a4_0x110348(0x1fc)]=a4_0x110348(0x207);function a4_0x90d1(_0x29b5eb,_0x44dcf4){const _0x438c16=a4_0x438c();return a4_0x90d1=function(_0x90d1d8,_0x4778a5){_0x90d1d8=_0x90d1d8-0x185;let _0x38774c=_0x438c16[_0x90d1d8];return _0x38774c;},a4_0x90d1(_0x29b5eb,_0x44dcf4);}const TEST_EVENTS=a4_0x56137e,parseEvent=_0x53e8bb=>{const _0x3f36f2=a4_0x110348,_0x113f58={};_0x113f58['hSxfA']=function(_0x1f558f,_0x3530bc){return _0x1f558f<_0x3530bc;},_0x113f58['CSXda']=function(_0x1c5983,_0x432c03){return _0x1c5983===_0x432c03;},_0x113f58[_0x3f36f2(0x194)]=_0x3f36f2(0x253),_0x113f58[_0x3f36f2(0x1dd)]=function(_0x537445,_0x4a4807){return _0x537445===_0x4a4807;},_0x113f58[_0x3f36f2(0x188)]=_0x3f36f2(0x1aa),_0x113f58[_0x3f36f2(0x19d)]=_0x3f36f2(0x24d),_0x113f58['Yutbb']=function(_0x43216b,_0x1aa2e6){return _0x43216b===_0x1aa2e6;},_0x113f58['BEcxB']=_0x3f36f2(0x22d),_0x113f58[_0x3f36f2(0x22e)]=function(_0x17d7e9,_0x1db970){return _0x17d7e9===_0x1db970;},_0x113f58[_0x3f36f2(0x221)]=_0x3f36f2(0x1d8);const _0x1b7256=_0x113f58,_0x4c9086=_0x53e8bb[_0x3f36f2(0x1ca)](/^(.*)Run(.*)$/);if(!_0x4c9086)return null;if(_0x1b7256[_0x3f36f2(0x244)](_0x4c9086['length'],0x3))return null;const _0x6877a1=_0x4c9086[0x1][_0x3f36f2(0x1b9)](),_0x2b238b=_0x4c9086[0x2][_0x3f36f2(0x1b9)]();return{'test':_0x1b7256[_0x3f36f2(0x25e)](_0x6877a1,_0x1b7256['htCtp']),'hook':_0x1b7256[_0x3f36f2(0x1dd)](_0x6877a1,_0x1b7256[_0x3f36f2(0x188)]),'skipped':_0x1b7256[_0x3f36f2(0x25e)](_0x2b238b,_0x1b7256[_0x3f36f2(0x19d)]),'started':_0x1b7256[_0x3f36f2(0x21a)](_0x2b238b,_0x1b7256[_0x3f36f2(0x224)]),'finished':_0x1b7256[_0x3f36f2(0x22e)](_0x2b238b,_0x1b7256[_0x3f36f2(0x221)])};},mockPWBrowserType=_0x530c25=>{const _0x304887=a4_0x110348,_0x945d84={'FMMAY':function(_0x59614b,_0x580141){return _0x59614b===_0x580141;},'WbJOQ':_0x304887(0x259),'mVgqj':function(_0x5dfa77,_0x288570,_0x3ab4aa){return _0x5dfa77(_0x288570,_0x3ab4aa);},'WfmvI':_0x304887(0x1c7),'zgmLg':function(_0x224223,_0x1ed4be){return _0x224223(_0x1ed4be);},'ybUaC':'browserstack','Pxmfu':function(_0x3c325d,_0x2405da,_0x2f0b12){return _0x3c325d(_0x2405da,_0x2f0b12);},'UmJFJ':_0x304887(0x270),'BWvXR':'client','RKIam':'browserType.js','BXlSD':function(_0x1abc6a,_0x2eac47){return _0x1abc6a(_0x2eac47);},'GlBhN':function(_0x5c585c,_0x3dfb1d){return _0x5c585c(_0x3dfb1d);},'vxWyr':_0x304887(0x193),'DZTcZ':_0x304887(0x200),'tnuBT':_0x304887(0x251)},_0x266339=path['join'](_0x945d84[_0x304887(0x26f)],_0x945d84[_0x304887(0x1e4)],_0x945d84['RKIam']),_0x3ba767=_0x945d84[_0x304887(0x23f)](importFileFromPWCore,_0x266339);if(!_0x3ba767){_0x945d84['GlBhN'](debug,_0x945d84[_0x304887(0x21b)]);return;}const _0xc8d3c7=_0x3ba767[_0x304887(0x237)],_0x25f0b0=_0xc8d3c7[_0x304887(0x1c8)];if(_0x25f0b0['obsBrowserTypeMockApplied'])return;const _0x2d6db7=_0x25f0b0[_0x304887(0x200)];Object[_0x304887(0x1db)](_0x25f0b0,_0x945d84[_0x304887(0x231)],{'get':function(){return async function _0x4f053c(_0x383fa5,_0x1a9d47){const _0x3f3063=a4_0x90d1,_0x2e7e23={'JKOZq':function(_0x3fb07a,_0x35b669){const _0x269d43=a4_0x90d1;return _0x945d84[_0x269d43(0x228)](_0x3fb07a,_0x35b669);},'VXLAk':_0x945d84[_0x3f3063(0x18c)]},_0x3b704c=_0x945d84['mVgqj'](nestedKeyValue,_0x383fa5,[_0x945d84[_0x3f3063(0x1a5)]])||_0x383fa5;let _0x64fb1d=null,_0x433462=null;try{[_0x433462,_0x64fb1d]=_0x3b704c?_0x945d84['zgmLg'](parseWSEndpoint,_0x3b704c):[null,null],global['__platformCaps']=_0x64fb1d,logger['debug'](_0x3f3063(0x268)+_0x433462),_0x433462['includes'](Constants[_0x3f3063(0x186)])&&(global[_0x3f3063(0x1b3)]=_0x945d84[_0x3f3063(0x263)]);}catch(_0x6ddabd){logger['debug'](_0x3f3063(0x209)+_0x3b704c+'\x20'+_0x6ddabd);}_0x945d84['Pxmfu'](processAccessibilityCaps,_0x64fb1d,_0x433462);if(global['accessibilityPlatform']){const _0x4a9676=await _0x25f0b0['connectOverCDP'][_0x3f3063(0x1a2)](this,[''+Constants['PLAYWRIGHT_HUB_URL']+_0x945d84[_0x3f3063(0x1d6)](encodeURIComponent,JSON[_0x3f3063(0x1b0)](_0x64fb1d))]);return PlaywrightSessionDetails[_0x3f3063(0x1e8)](_0x4a9676,_0x530c25,_0x3b704c),_0x4a9676;}return _0x2d6db7['apply'](this,arguments)[_0x3f3063(0x222)](_0x2871fa=>{const _0x51bea7=_0x3f3063;let _0x1d72e0=_0x383fa5[_0x51bea7(0x1c7)];return _0x2e7e23['JKOZq'](typeof _0x383fa5,_0x2e7e23['VXLAk'])&&(_0x1d72e0=_0x383fa5),PlaywrightSessionDetails[_0x51bea7(0x1e8)](_0x2871fa,_0x530c25,_0x1d72e0),_0x2871fa;});};}});const _0x3039ed=_0x25f0b0[_0x304887(0x251)];Object[_0x304887(0x1db)](_0x25f0b0,_0x945d84[_0x304887(0x204)],{'get':function(){return async function _0x2d9f79(){const _0x3bc3bd=a4_0x90d1;return _0x3039ed[_0x3bc3bd(0x1a2)](this,arguments)[_0x3bc3bd(0x222)](_0xe17259=>{const _0x2a3053=_0x3bc3bd;return PlaywrightSessionDetails[_0x2a3053(0x1e8)](_0xe17259,null),_0xe17259;});};}});};class O11yHelper{[a4_0x110348(0x1e9)]=null;[a4_0x110348(0x208)]=null;[a4_0x110348(0x25c)]=![];[a4_0x110348(0x23e)]=![];constructor(_0x4732fb,_0xbe16c1){const _0x883d55=a4_0x110348,_0x28594a={'cPRXf':_0x883d55(0x233),'zwHJI':function(_0x2fa2b4,_0x7ec1e7){return _0x2fa2b4===_0x7ec1e7;},'uBuKh':'Playwright','ImQaI':function(_0x3c81fe,_0x3dc254){return _0x3c81fe(_0x3dc254);},'rVNKx':function(_0x40621e){return _0x40621e();},'rrOyI':function(_0x190a57){return _0x190a57();}},_0x502e41=_0x28594a[_0x883d55(0x20f)][_0x883d55(0x1d1)]('|');let _0x168124=0x0;while(!![]){switch(_0x502e41[_0x168124++]){case'0':this[_0x883d55(0x1ed)]=new testOpsHelper[(_0x883d55(0x187))]({'cwd':process[_0x883d55(0x1b5)]()},this[_0x883d55(0x22a)][_0x883d55(0x1f0)]);continue;case'1':this['driver']&&_0x28594a[_0x883d55(0x219)](this[_0x883d55(0x1cf)]['constructor'][_0x883d55(0x1b1)],_0x28594a[_0x883d55(0x252)])&&_0x28594a[_0x883d55(0x272)](mockPWBrowserType,null);continue;case'2':this[_0x883d55(0x1cf)]=_0x4732fb;continue;case'3':this[_0x883d55(0x25c)]=_0x28594a[_0x883d55(0x262)](shouldProcessEventForTesthub);continue;case'4':this[_0x883d55(0x23e)]=_0xbe16c1[_0x883d55(0x23e)];continue;case'5':this[_0x883d55(0x22a)]=_0x28594a[_0x883d55(0x24e)](getTestEnv);continue;}break;}}[a4_0x110348(0x1ab)](){const _0x4059a3=a4_0x110348;if(!this[_0x4059a3(0x25c)])return;testOpsHelper[_0x4059a3(0x22b)](),process[_0x4059a3(0x26e)](_0x4059a3(0x206)+process[_0x4059a3(0x25d)]),process['on']('bs:addLog:'+process[_0x4059a3(0x25d)],this[_0x4059a3(0x215)][_0x4059a3(0x1cd)](this));}async[a4_0x110348(0x230)](){const _0x317a56=a4_0x110348;await RequestQueueHandler['getInstance']()[_0x317a56(0x245)]();}async['appendTestItemLog'](_0x407ef4){const _0x10718d=a4_0x110348,_0x456f66={'MxLvw':_0x10718d(0x1a6),'RidCE':function(_0x2a9c1c,_0xa56b94){return _0x2a9c1c(_0xa56b94);}};try{this[_0x10718d(0x208)]&&!this[_0x10718d(0x208)]['markedStatus']&&(_0x407ef4[_0x10718d(0x236)]=this[_0x10718d(0x208)]['hookAnalyticsId']);!_0x407ef4[_0x10718d(0x236)]&&this[_0x10718d(0x1e9)]&&!this[_0x10718d(0x1e9)]['markedStatus']&&(_0x407ef4[_0x10718d(0x18f)]=this[_0x10718d(0x1e9)][_0x10718d(0x242)]);if(_0x407ef4[_0x10718d(0x236)]||_0x407ef4[_0x10718d(0x18f)]){const _0xe627f7={};_0xe627f7[_0x10718d(0x21d)]=_0x456f66[_0x10718d(0x1a0)],_0xe627f7[_0x10718d(0x274)]=[_0x407ef4],await SessionHandler[_0x10718d(0x1fb)](_0xe627f7);}}catch(_0x24c439){_0x456f66[_0x10718d(0x1e1)](debug,_0x10718d(0x1f4)+constants[_0x10718d(0x1c0)]+_0x10718d(0x1b4)+_0x24c439);}}async[a4_0x110348(0x1a1)](_0x411b88){const _0x22b941=a4_0x110348,_0x408c7e={'PEzDu':_0x22b941(0x190),'spwNv':function(_0x470b7b,_0x2ca6ea){return _0x470b7b(_0x2ca6ea);}};if(!this['enabled'])return;const _0x5e781b=this[_0x22b941(0x1a4)](this[_0x22b941(0x1cf)]);try{const _0x25e236={};_0x25e236[_0x22b941(0x1ec)]=_0x411b88,_0x25e236[_0x22b941(0x22c)]=_0x5e781b;const _0x5eb286=_0x25e236,_0x497a87={};_0x497a87[_0x22b941(0x21d)]=_0x408c7e[_0x22b941(0x220)],_0x497a87['test_run']=_0x5eb286,await SessionHandler['uploadEventData'](_0x497a87);}catch(_0x56ad6b){_0x408c7e[_0x22b941(0x199)](debug,_0x22b941(0x18e)+constants[_0x22b941(0x1c0)]+'\x20with\x20error\x20:\x20'+_0x56ad6b);}}[a4_0x110348(0x1a4)](_0x2c9298){const _0xcfd8c5={'VlpPY':function(_0x296c5a,_0x6e6f0){return _0x296c5a(_0x6e6f0);}};return _0xcfd8c5['VlpPY'](fetchPlatformDetails,_0x2c9298);}[a4_0x110348(0x1fa)]=_0x493de5=>{const _0x291dce=a4_0x110348,_0x460b6e={};_0x460b6e[_0x291dce(0x1e5)]=_0x291dce(0x213),_0x460b6e[_0x291dce(0x203)]=_0x291dce(0x1f9);const _0xd8cea3=_0x460b6e;if(!_0x493de5||!_0x493de5[_0x291dce(0x235)])return;[_0xd8cea3[_0x291dce(0x1e5)],_0xd8cea3['RgcLi']][_0x291dce(0x229)](_0x3a4bde=>{const _0x3ed53e=_0x291dce,_0x4b5672=_0x493de5[_0x3ed53e(0x235)][_0x3a4bde];_0x4b5672['forEach'](_0x58ed8e=>{const _0x225b2f=_0x3ed53e;_0x58ed8e[_0x225b2f(0x260)]&&(_0x58ed8e['hookAnalyticsId']=null);});});};[a4_0x110348(0x1c6)](_0x5e6989){const _0x43a891=a4_0x110348,_0x5d4b64={'rThyL':_0x43a891(0x1f6),'tYBtY':function(_0x179db4){return _0x179db4();},'YJwCO':function(_0x5804fe,_0x2c2fa7){return _0x5804fe===_0x2c2fa7;},'WmxfT':_0x43a891(0x1f9),'HXEVP':function(_0x24dc5b){return _0x24dc5b();},'rLRfd':_0x43a891(0x1ce),'lguSd':_0x43a891(0x23a),'jTgMQ':_0x43a891(0x213)};if(!_0x5e6989||!_0x5e6989[_0x43a891(0x235)])return;[_0x5d4b64['rLRfd'],_0x5d4b64['lguSd'],_0x5d4b64[_0x43a891(0x1c2)],_0x5d4b64[_0x43a891(0x214)]][_0x43a891(0x229)](_0xa3927b=>{const _0x37ee06=_0x43a891,_0x2d4dc7={'LiubP':_0x5d4b64[_0x37ee06(0x1ad)],'tGcaC':function(_0x42f5e3){const _0x5b6121=_0x37ee06;return _0x5d4b64[_0x5b6121(0x23b)](_0x42f5e3);},'OFvUg':function(_0x38bdf5,_0x429f82){const _0x2c0833=_0x37ee06;return _0x5d4b64[_0x2c0833(0x196)](_0x38bdf5,_0x429f82);},'hcIjH':_0x5d4b64[_0x37ee06(0x214)],'pcYdq':function(_0x41555f){const _0x35e43f=_0x37ee06;return _0x5d4b64[_0x35e43f(0x275)](_0x41555f);}},_0x6438b8=_0x5e6989['parent'][_0xa3927b]||[];_0x6438b8[_0x37ee06(0x229)](_0x146993=>{const _0x1edcb2=_0x37ee06;if(_0x146993[_0x1edcb2(0x1c9)][_0x1edcb2(0x24c)](_0x2d4dc7[_0x1edcb2(0x18d)]))return;if(!_0x146993[_0x1edcb2(0x260)])_0x146993[_0x1edcb2(0x260)]=_0x2d4dc7[_0x1edcb2(0x20e)](uuidv4);else _0x146993[_0x1edcb2(0x261)]&&_0x2d4dc7['OFvUg'](_0xa3927b,_0x2d4dc7[_0x1edcb2(0x1bb)])&&(_0x146993[_0x1edcb2(0x260)]=_0x2d4dc7[_0x1edcb2(0x258)](uuidv4),delete _0x146993[_0x1edcb2(0x261)]);});}),this[_0x43a891(0x1c6)](_0x5e6989[_0x43a891(0x235)]);}['getHooksForTest'](_0x12fb75){const _0x5019c0=a4_0x110348,_0x169585={};_0x169585[_0x5019c0(0x211)]=_0x5019c0(0x1ce),_0x169585[_0x5019c0(0x223)]=_0x5019c0(0x23a),_0x169585[_0x5019c0(0x1af)]=_0x5019c0(0x213),_0x169585[_0x5019c0(0x1ac)]=_0x5019c0(0x1f9);const _0xd701ed=_0x169585;if(!_0x12fb75||!_0x12fb75[_0x5019c0(0x235)])return[];const _0x457a2a=[];return[_0xd701ed[_0x5019c0(0x211)],_0xd701ed['xPxlE'],_0xd701ed[_0x5019c0(0x1af)],_0xd701ed[_0x5019c0(0x1ac)]][_0x5019c0(0x229)](_0x469cab=>{const _0x1ff897=_0x5019c0,_0x1b6da8=_0x12fb75[_0x1ff897(0x235)][_0x469cab]||[];_0x1b6da8['forEach'](_0x328e40=>{const _0x1e5b29=_0x1ff897;_0x328e40['hookAnalyticsId']&&_0x457a2a[_0x1e5b29(0x1d0)](_0x328e40[_0x1e5b29(0x260)]);});}),[]['concat'](_0x457a2a,this[_0x5019c0(0x1bf)](_0x12fb75[_0x5019c0(0x235)]));}[a4_0x110348(0x24b)](_0x579d22){const _0x6e328c=a4_0x110348,_0x171176=/^"(?<hook>.*)" hook:.*$/,_0x427175=_0x579d22['title'],_0x19058e=_0x427175[_0x6e328c(0x1ca)](_0x171176);if(_0x19058e&&_0x19058e['groups'])return _0x19058e[_0x6e328c(0x189)][_0x6e328c(0x1aa)]['toUpperCase']()['replace']('\x20','_');return null;}[a4_0x110348(0x271)](_0x472ae2){const _0x317d75=a4_0x110348,_0x1465ed={};_0x1465ed['tIraD']=function(_0x5314b8,_0x5d8a2a){return _0x5314b8===_0x5d8a2a;},_0x1465ed[_0x317d75(0x201)]=_0x317d75(0x246),_0x1465ed[_0x317d75(0x1c4)]=_0x317d75(0x19c);const _0x1698fe=_0x1465ed,_0x8f437=path[_0x317d75(0x18a)];if(_0x1698fe['tIraD'](_0x472ae2,null)||_0x1698fe['tIraD'](_0x472ae2,'')||_0x1698fe[_0x317d75(0x25a)](_0x472ae2,_0x8f437)||_0x1698fe['tIraD'](_0x472ae2,path[_0x317d75(0x19b)](_0x472ae2)))return null;try{return fs[_0x317d75(0x266)](path[_0x317d75(0x210)](_0x472ae2,_0x1698fe[_0x317d75(0x201)],_0x1698fe[_0x317d75(0x1c4)])),_0x472ae2;}catch(_0x53ff41){const _0x32aaa8=path['dirname'](_0x472ae2);return this[_0x317d75(0x271)](_0x32aaa8);}}[a4_0x110348(0x198)](_0x5ec378){const _0x5488a8=a4_0x110348,_0x47fa7b={};_0x47fa7b[_0x5488a8(0x225)]=function(_0x354191,_0x505d8b){return _0x354191>_0x505d8b;};const _0x307467=_0x47fa7b;if(_0x5ec378[_0x5488a8(0x19f)])return _0x5ec378[_0x5488a8(0x19f)];if(_0x5ec378['ctx']){const _0x1937cf=_0x5ec378[_0x5488a8(0x1d4)][_0x5488a8(0x1e9)]?this[_0x5488a8(0x198)](_0x5ec378['ctx'][_0x5488a8(0x1e9)]):null;if(_0x1937cf)return _0x1937cf;}if(_0x5ec378[_0x5488a8(0x235)]){const _0x509005=this[_0x5488a8(0x198)](_0x5ec378[_0x5488a8(0x235)])||(_0x5ec378[_0x5488a8(0x235)][_0x5488a8(0x1d4)]&&_0x5ec378[_0x5488a8(0x235)][_0x5488a8(0x1d4)][_0x5488a8(0x1e9)]?this[_0x5488a8(0x198)](_0x5ec378['parent'][_0x5488a8(0x1d4)][_0x5488a8(0x1e9)]):null);if(_0x509005)return _0x509005;_0x5ec378[_0x5488a8(0x235)]['suites']&&_0x307467[_0x5488a8(0x225)](_0x5ec378[_0x5488a8(0x235)]['suites']['length'],0x0)&&_0x5ec378[_0x5488a8(0x235)]['suites'][_0x5488a8(0x229)](_0x43c0f9=>{const _0x51a89c=_0x5488a8,_0x499c9a=_0x43c0f9[_0x51a89c(0x1d4)]?this[_0x51a89c(0x198)](_0x43c0f9[_0x51a89c(0x1d4)]):null;if(_0x499c9a)return _0x499c9a;});}return null;}[a4_0x110348(0x255)](_0x1ee3fd){const _0xd34c83=a4_0x110348,_0x1570af={};_0x1570af[_0xd34c83(0x19e)]=function(_0x277f86,_0x301557){return _0x277f86!==_0x301557;};const _0x4400bc=_0x1570af,_0x5a53ed=[];if(_0x1ee3fd&&_0x1ee3fd[_0xd34c83(0x235)]){let _0x4b8b53=_0x1ee3fd[_0xd34c83(0x235)];while(_0x4b8b53&&_0x4400bc[_0xd34c83(0x19e)](_0x4b8b53[_0xd34c83(0x1c9)],'')){_0x5a53ed[_0xd34c83(0x1d0)](_0x4b8b53[_0xd34c83(0x1c9)]),_0x4b8b53=_0x4b8b53['parent'];}}return _0x5a53ed;}['captureEvent'](_0x45be87,_0x2f47e5,_0x4a899a=undefined){const _0x57b2c3=a4_0x110348,_0x3ea29f={'Niwzh':function(_0x4f987f,_0xaeeeb1){return _0x4f987f(_0xaeeeb1);},'EHqfR':function(_0x218b91){return _0x218b91();},'NNHpW':function(_0x550e0d){return _0x550e0d();},'srkMX':function(_0x3b4f3b){return _0x3b4f3b();},'IRjUt':'util','Twbqa':'err','rchkh':function(_0x3dc250,_0x5ebff5){return _0x3dc250!==_0x5ebff5;},'vktGp':function(_0x3cceef,_0x3353e3){return _0x3cceef!==_0x3353e3;},'kQXRI':_0x57b2c3(0x1ba),'ZLObI':_0x57b2c3(0x23c),'ALmLu':_0x57b2c3(0x18b),'SfAhe':_0x57b2c3(0x1d7),'OcLZk':_0x57b2c3(0x24d),'xJOoK':'javascript','cWHiT':function(_0x44cbe5,_0xb6e88){return _0x44cbe5-_0xb6e88;},'USkJW':function(_0x4acfb7,_0x37e841,_0xecad59,_0x350737,_0x4a2674){return _0x4acfb7(_0x37e841,_0xecad59,_0x350737,_0x4a2674);},'ARhrX':function(_0x1b036a,_0x3f1530){return _0x1b036a!==_0x3f1530;},'itCuq':_0x57b2c3(0x22c),'BJxrr':_0x57b2c3(0x1b7),'jtvjg':_0x57b2c3(0x1fe),'Bcbae':_0x57b2c3(0x1b6),'TxUUT':_0x57b2c3(0x1c1),'QlHtN':'failure_reason_expanded','FxPZE':_0x57b2c3(0x20c),'hcjkb':function(_0x501d7d,_0x41a633){return _0x501d7d===_0x41a633;},'pigPd':_0x57b2c3(0x1d5),'kfCTt':_0x57b2c3(0x249)};if(!this[_0x57b2c3(0x25c)])return;try{if(_0x2f47e5['fn']&&_0x2f47e5['fn'][_0x57b2c3(0x1e7)]()['match'](/browserstack internal helper hook/))return;const _0x1a348c=_0x3ea29f[_0x57b2c3(0x1be)](parseEvent,_0x45be87);if(!_0x1a348c)return;if(_0x1a348c[_0x57b2c3(0x253)]){this[_0x57b2c3(0x1e9)]=_0x2f47e5,this[_0x57b2c3(0x208)]=null;if(_0x1a348c[_0x57b2c3(0x22d)]||_0x1a348c[_0x57b2c3(0x24d)]){_0x2f47e5['startedAt']=new Date(),_0x2f47e5[_0x57b2c3(0x261)]=![];if(!_0x2f47e5[_0x57b2c3(0x242)])_0x2f47e5[_0x57b2c3(0x242)]=_0x3ea29f[_0x57b2c3(0x26d)](uuidv4);else _0x2f47e5['markedStatus']&&(!_0x2f47e5['retryOf']&&(_0x2f47e5[_0x57b2c3(0x23d)]=_0x2f47e5[_0x57b2c3(0x242)]),_0x2f47e5['testAnalyticsId']=_0x3ea29f['NNHpW'](uuidv4));}}else{if(_0x1a348c[_0x57b2c3(0x1aa)]){this['currentHook']=_0x2f47e5;if(_0x1a348c[_0x57b2c3(0x22d)]){_0x2f47e5[_0x57b2c3(0x241)]=new Date(),_0x2f47e5[_0x57b2c3(0x261)]=![];if(!_0x2f47e5['hookAnalyticsId'])_0x2f47e5[_0x57b2c3(0x260)]=_0x3ea29f[_0x57b2c3(0x240)](uuidv4);else _0x2f47e5[_0x57b2c3(0x260)]&&_0x2f47e5[_0x57b2c3(0x261)]&&(_0x2f47e5[_0x57b2c3(0x260)]=_0x3ea29f[_0x57b2c3(0x26d)](uuidv4));}}}if(_0x1a348c[_0x57b2c3(0x1d8)]&&_0x2f47e5[_0x57b2c3(0x261)])return;let _0x155fe5;try{_0x155fe5=this[_0x57b2c3(0x198)](_0x2f47e5);}catch(_0x58e087){logger[_0x57b2c3(0x21e)](_0x57b2c3(0x22f)+_0x58e087),_0x155fe5=null;}const _0x35eedf=_0x3ea29f[_0x57b2c3(0x1be)](require,_0x3ea29f['IRjUt']);let _0x3bbbeb=[];_0x4a899a&&(_0x3bbbeb=[_0x4a899a,_0x3ea29f['Twbqa']]);const _0x307639=_0x3ea29f[_0x57b2c3(0x276)](_0x2f47e5['errorsDetailed'],undefined)?_0x35eedf[_0x57b2c3(0x1e6)](_0x2f47e5[_0x57b2c3(0x238)][0x0]):_0x3ea29f[_0x57b2c3(0x1f2)](_0x4a899a,undefined)?_0x4a899a[_0x57b2c3(0x1e7)]():undefined,_0x2d5260=_0x155fe5?this[_0x57b2c3(0x271)](_0x155fe5):null,_0x51f42d=_0x155fe5?this[_0x57b2c3(0x1ed)][_0x57b2c3(0x1bc)](this[_0x57b2c3(0x198)](_0x2f47e5)):_0x3ea29f[_0x57b2c3(0x1cc)];let _0x58938c=_0x3ea29f[_0x57b2c3(0x1ee)];const _0xe68f87=!_0x1a348c['started']?new Date()[_0x57b2c3(0x250)]():null;if(_0x1a348c[_0x57b2c3(0x1d8)])_0x58938c=_0x4a899a?_0x3ea29f[_0x57b2c3(0x21c)]:_0x3ea29f['SfAhe'],_0x2f47e5[_0x57b2c3(0x261)]=!![];else _0x1a348c[_0x57b2c3(0x24d)]&&(_0x58938c=_0x3ea29f['OcLZk'],_0x2f47e5[_0x57b2c3(0x261)]=!![]);const _0x360ebe={'framework':this[_0x57b2c3(0x23e)],'uuid':_0x2f47e5[_0x57b2c3(0x242)]||_0x2f47e5[_0x57b2c3(0x260)],'name':_0x2f47e5['title'],'body':{'lang':_0x3ea29f['xJOoK'],'code':_0x2f47e5['body']['toString']()},'type':_0x2f47e5[_0x57b2c3(0x1d2)],'scope':_0x2f47e5[_0x57b2c3(0x269)](),'scopes':this[_0x57b2c3(0x255)](_0x2f47e5),'file_name':_0x51f42d,'vc_filepath':_0x2d5260?path[_0x57b2c3(0x1f8)](_0x2d5260,_0x155fe5):null,'location':_0x51f42d,'result':_0x58938c,'failure_reason':_0x307639,'duration_in_ms':_0x2f47e5[_0x57b2c3(0x232)]||(_0x1a348c['finished']||_0x1a348c[_0x57b2c3(0x24d)])?_0x3ea29f['cWHiT'](Date[_0x57b2c3(0x1a3)](),new Date(_0x2f47e5['startedAt'])[_0x57b2c3(0x197)]()):null,'started_at':new Date(_0x2f47e5[_0x57b2c3(0x241)])[_0x57b2c3(0x250)](),'finished_at':_0xe68f87,'failure':testOpsHelper[_0x57b2c3(0x202)][_0x57b2c3(0x1a2)](null,_0x3bbbeb),'failure_type':!_0x307639?null:testOpsHelper[_0x57b2c3(0x24f)](_0x307639),'retry_of':_0x2f47e5[_0x57b2c3(0x23d)]||null,'tags':_0x2f47e5[_0x57b2c3(0x1f3)]||[],'customRerunParam':{'rerun_name':_0x2f47e5[_0x57b2c3(0x269)]()}};_0x3ea29f[_0x57b2c3(0x1d9)](appendTesthubParams,_0x360ebe,_0x45be87,_0x2f47e5,FRAMEWORKS['CODECEPT']);if(_0x1a348c[_0x57b2c3(0x1aa)])[_0x360ebe[_0x57b2c3(0x1a8)],_0x360ebe[_0x57b2c3(0x1b1)]]=[this[_0x57b2c3(0x24b)](_0x2f47e5),_0x2f47e5['ctx'][_0x57b2c3(0x253)]['title']],_0x1a348c[_0x57b2c3(0x1d8)]?_0x3ea29f[_0x57b2c3(0x248)](_0x360ebe['result'],_0x3ea29f[_0x57b2c3(0x21c)])&&(_0x360ebe['result']=_0x3ea29f[_0x57b2c3(0x226)]):_0x360ebe[_0x57b2c3(0x256)]={};else _0x1a348c[_0x57b2c3(0x253)]&&(this[_0x57b2c3(0x1c6)](_0x2f47e5),_0x1a348c[_0x57b2c3(0x24d)]&&this[_0x57b2c3(0x1fa)](_0x2f47e5),(_0x1a348c[_0x57b2c3(0x1d8)]||_0x1a348c['skipped'])&&(_0x360ebe['hooks']=this[_0x57b2c3(0x1bf)](_0x2f47e5)));this[_0x57b2c3(0x1cf)]&&(_0x1a348c[_0x57b2c3(0x22d)]||_0x1a348c[_0x57b2c3(0x24d)])&&(_0x360ebe[_0x3ea29f[_0x57b2c3(0x26a)]]=this[_0x57b2c3(0x1a4)](this['driver']));_0x1a348c[_0x57b2c3(0x253)]&&_0x1a348c[_0x57b2c3(0x1d8)]&&_0x2f47e5[_0x57b2c3(0x1b2)]&&(_0x360ebe[_0x3ea29f['BJxrr']]={'feature':{'name':_0x2f47e5[_0x57b2c3(0x235)][_0x57b2c3(0x191)][_0x57b2c3(0x1b1)],'path':_0x360ebe['file_name'],'description':_0x2f47e5['parent']['comment']},'scenario':{'name':_0x2f47e5[_0x57b2c3(0x1c9)]},'steps':_0x2f47e5['bddSteps']});const _0x182366=_0x360ebe[_0x3ea29f[_0x57b2c3(0x1eb)]][0x0];_0x182366&&(_0x360ebe[_0x3ea29f[_0x57b2c3(0x21f)]]=_0x182366[_0x3ea29f[_0x57b2c3(0x1bd)]],_0x360ebe[_0x3ea29f[_0x57b2c3(0x1b8)]]=_0x182366[_0x3ea29f[_0x57b2c3(0x1d3)]]);if(_0x2f47e5[_0x57b2c3(0x1b2)])for(const _0xcbcd6 of _0x2f47e5['bddSteps']){!_0xcbcd6['finished_at']&&(_0xcbcd6[_0x57b2c3(0x217)]=new Date()[_0x57b2c3(0x250)](),_0x3ea29f[_0x57b2c3(0x26c)](_0xcbcd6['result'],_0x3ea29f[_0x57b2c3(0x1ee)])&&(_0x182366?(_0xcbcd6[_0x57b2c3(0x1de)]=_0x3ea29f[_0x57b2c3(0x21c)],_0xcbcd6[_0x57b2c3(0x1fe)]=_0x182366[_0x3ea29f['TxUUT']][0x0]):_0xcbcd6[_0x57b2c3(0x1de)]=_0x3ea29f['SfAhe']));}const _0x340079={};_0x340079[_0x57b2c3(0x21d)]=_0x1a348c[_0x57b2c3(0x24d)]?TEST_EVENTS[_0x57b2c3(0x264)]:_0x45be87;const _0x5f0ad7=_0x340079;return _0x1a348c[_0x57b2c3(0x1aa)]?_0x5f0ad7[_0x3ea29f[_0x57b2c3(0x1f7)]]=_0x360ebe:_0x5f0ad7[_0x3ea29f[_0x57b2c3(0x1c5)]]=_0x360ebe,_0x5f0ad7;}catch(_0x49138e){logger[_0x57b2c3(0x21e)](_0x57b2c3(0x24a)+_0x45be87+_0x57b2c3(0x1b4)+_0x49138e);}}async[a4_0x110348(0x257)](_0x19cbea,_0x513e68){const _0x348e97=a4_0x110348;if(!this[_0x348e97(0x25c)]||!_0x513e68||!_0x19cbea)return![];try{return await SessionHandler['uploadEventData'](_0x513e68);}catch(_0x4ee046){logger[_0x348e97(0x21e)](_0x348e97(0x216)+_0x19cbea+_0x348e97(0x1b4)+_0x4ee046);}}['initializeBddStep'](_0x134e06){const _0x1996c5=a4_0x110348,_0x4e3269={};_0x4e3269[_0x1996c5(0x1da)]='pending';const _0x4bc5ba=_0x4e3269;return{'id':_0x134e06[_0x1996c5(0x239)],'text':_0x134e06[_0x1996c5(0x20a)],'keyword':_0x134e06['keyword'],'started_at':_0x134e06[_0x1996c5(0x241)][_0x1996c5(0x250)](),'result':_0x4bc5ba[_0x1996c5(0x1da)]};}[a4_0x110348(0x1a7)](_0x34e0c8){const _0x699360=a4_0x110348,_0x44d961={'FkKTR':function(_0x241b8d){return _0x241b8d();}};!this['currentTest'][_0x699360(0x1b2)]&&(this[_0x699360(0x1e9)][_0x699360(0x1b2)]=[]),!_0x34e0c8[_0x699360(0x239)]&&(_0x34e0c8[_0x699360(0x239)]=_0x44d961[_0x699360(0x205)](uuidv4),_0x34e0c8['startedAt']=new Date(),this[_0x699360(0x1e9)][_0x699360(0x1b2)][_0x699360(0x1d0)](this[_0x699360(0x1f1)](_0x34e0c8)));}[a4_0x110348(0x234)](_0x175c89){const _0x28eb6e=a4_0x110348,_0x2b3f64={'ddLNH':function(_0xa33147,_0x1b0c27){return _0xa33147(_0x1b0c27);},'HRmnQ':_0x28eb6e(0x26b),'hadqN':_0x28eb6e(0x23c),'ldLdE':'passed','QvyEI':function(_0x4f0126,_0x2b37b4){return _0x4f0126-_0x2b37b4;}};let _0x1928e9=this[_0x28eb6e(0x1e9)][_0x28eb6e(0x1b2)][_0x28eb6e(0x1fd)](_0x3a35f5=>_0x3a35f5['id']===_0x175c89[_0x28eb6e(0x239)]);_0x2b3f64[_0x28eb6e(0x19a)](isUndefined,_0x1928e9)&&(_0x1928e9=this['initializeBddStep'](_0x175c89)),_0x1928e9['result']=[_0x2b3f64[_0x28eb6e(0x273)],_0x2b3f64[_0x28eb6e(0x212)]][_0x28eb6e(0x24c)](_0x175c89[_0x28eb6e(0x1e2)])?_0x2b3f64[_0x28eb6e(0x218)]:_0x175c89[_0x28eb6e(0x1e2)],_0x1928e9['finished_at']=new Date()['toISOString'](),_0x1928e9['duration']=_0x2b3f64[_0x28eb6e(0x1ef)](Date[_0x28eb6e(0x1a3)](),_0x175c89[_0x28eb6e(0x241)][_0x28eb6e(0x197)]()),_0x1928e9[_0x28eb6e(0x1fe)]=_0x175c89[_0x28eb6e(0x265)]?_0x175c89[_0x28eb6e(0x265)]['message']:null;}}const a4_0x3d7a24={};function a4_0x438c(){const _0x19b1e6=['ybUaC','TEST_RUN_FINISHED','err','statSync','../utils/constants','Checking\x20for\x20accessibility\x20automation\x20session\x20with\x20','fullTitle','itCuq','success','hcjkb','EHqfR','removeAllListeners','UmJFJ','lib','findGitConfig','ImQaI','HRmnQ','logs','HXEVP','rchkh','../playwright/sessionDetails','854700fNRARO','STATE_FAILED','BROWSERSTACK','PathHelper','mYYYq','groups','sep','failed','WbJOQ','LiubP','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20','test_run_uuid','CBTSessionCreated','feature','exports','Not\x20able\x20to\x20import\x20Browser','htCtp','311805dBEvqP','YJwCO','getTime','getRootParentFile','spwNv','ddLNH','dirname','config','fAyOQ','RCrzO','file','MxLvw','sendCBTInfo','apply','now','getCBTInfo','WfmvI','LogCreated','bddStepStart','hook_type','4kVkpVM','hook','start','CtkLt','rThyL','../mocha/test-observability/mochaUtils','WPtJt','stringify','name','bddSteps','__cloud_provider___','\x20with\x20error\x20:\x20','cwd','failure_backtrace','meta','QlHtN','toLowerCase','File\x20path\x20could\x20not\x20be\x20found','hcIjH','prefixTestPath','TxUUT','Niwzh','getHooksForTest','TEST_REPORTING_ANALYTICS','backtrace','jTgMQ','TestRunStarted','iATvD','kfCTt','mapTestHooks','wsEndpoint','prototype','title','match','150243JYFGPf','kQXRI','bind','_beforeAll','driver','push','split','type','FxPZE','ctx','hook_run','zgmLg','passed','finished','USkJW','tMCpv','defineProperty','1159680YmSZFk','OJpAr','result','HookRunStarted','../../helpers/test-observability/constants','RidCE','status','STATE_PASSED','BWvXR','IFAuh','inspect','toString','setupBrowserDetails','currentTest','TEST_EVENTS','jtvjg','uuid','_paths','ZLObI','QvyEI','location_prefix','initializeBddStep','vktGp','tags','Exception\x20in\x20uploading\x20log\x20data\x20to\x20','../../helpers/test-observability/requestQueueHandler','codeceptjs','pigPd','relative','_afterEach','resetSkipTestHooks','uploadEventData','HOOK_RUN_FINISHED','find','failure','TestRunSkipped','connect','BPBDt','failureData','RgcLi','tnuBT','FkKTR','bs:addLog:','HookRunFinished','currentHook','Failed\x20to\x20parse\x20wsendpoint\x20','text','2527782flJqGP','expanded','TEST_RUN_STARTED','tGcaC','cPRXf','join','pzmoH','hadqN','_beforeEach','WmxfT','appendTestItemLog','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','finished_at','ldLdE','zwHJI','Yutbb','vxWyr','ALmLu','event_type','debug','Bcbae','PEzDu','eiXUB','then','xPxlE','BEcxB','BVbNf','SfAhe','4041440QJZyFH','FMMAY','forEach','_testEnv','patchConsoleLogger','integrations','started','EdwJp','failed\x20to\x20get\x20root\x20parent\x20file\x20','stop','DZTcZ','duration','3|4|2|5|0|1','bddStepFinish','parent','hook_run_uuid','BrowserType','errorsDetailed','stepAnalyticsId','_afterAll','tYBtY','pending','retryOf','frameworkName','BXlSD','srkMX','startedAt','testAnalyticsId','path','hSxfA','shutdown','.git','TestRunFinished','ARhrX','test_run','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','getHookType','includes','skipped','rrOyI','getFailureType','toISOString','launch','uBuKh','test','HOOK_RUN_STARTED','getHierarchy','body','fireEvent','pcYdq','string','tIraD','winstonLogger','enabled','pid','CSXda','29955LFwEND','hookAnalyticsId','markedStatus','rVNKx'];a4_0x438c=function(){return _0x19b1e6;};return a4_0x438c();}a4_0x3d7a24['O11yHelper']=O11yHelper,a4_0x3d7a24[a4_0x110348(0x1e3)]=STATE_PASSED,a4_0x3d7a24[a4_0x110348(0x185)]=STATE_FAILED,a4_0x3d7a24[a4_0x110348(0x1ea)]=TEST_EVENTS,module[a4_0x110348(0x192)]=a4_0x3d7a24;