browserstack-node-sdk 1.49.8 → 1.49.9

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 (186) 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/nightwatch/command.js +1 -1
  79. package/src/bin/playwright/accessibility-helper.js +1 -1
  80. package/src/bin/playwright/command.js +1 -1
  81. package/src/bin/playwright/globalSetup.js +1 -1
  82. package/src/bin/playwright/mock-process.js +1 -1
  83. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  84. package/src/bin/playwright/patches.js +1 -1
  85. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  86. package/src/bin/playwright/reporter/reporter.js +1 -1
  87. package/src/bin/playwright/reporter/test-details.js +1 -1
  88. package/src/bin/playwright/sessionDetails.js +1 -1
  89. package/src/bin/runner.js +1 -1
  90. package/src/bin/setup.js +1 -1
  91. package/src/bin/test-runner/index.js +1 -1
  92. package/src/bin/test-runner/runTest.js +1 -1
  93. package/src/bin/test-runner/testWorker.js +1 -1
  94. package/src/bin/utils/apiUtilityMethods.js +1 -1
  95. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  96. package/src/bin/utils/constants.js +1 -1
  97. package/src/bin/utils/log4jsAppender.js +1 -1
  98. package/src/bin/utils/logPatcher.js +1 -1
  99. package/src/bin/utils/logReportingAPI.js +1 -1
  100. package/src/bin/utils/playwright-patcher.js +1 -1
  101. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  102. package/src/bin/utils/sharedUtils.js +1 -1
  103. package/src/bin/v2/TestInfo.js +1 -1
  104. package/src/bin/v2/browserstackCLI.js +1 -1
  105. package/src/bin/v2/cliUtils.js +1 -1
  106. package/src/bin/v2/customTagManager.js +1 -1
  107. package/src/bin/v2/eventDispatcher.js +1 -1
  108. package/src/bin/v2/framework/automationFramework.js +1 -1
  109. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  110. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  111. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  112. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  113. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  114. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  115. package/src/bin/v2/framework/testFramework.js +1 -1
  116. package/src/bin/v2/grpcClient.js +1 -1
  117. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  118. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  119. package/src/bin/v2/instances/trackedContext.js +1 -1
  120. package/src/bin/v2/instances/trackedInstance.js +1 -1
  121. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  122. package/src/bin/v2/modules/baseModule.js +1 -1
  123. package/src/bin/v2/modules/loadTestModule.js +1 -1
  124. package/src/bin/v2/modules/observabilityModule.js +1 -1
  125. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  126. package/src/bin/v2/modules/testhubModule.js +1 -1
  127. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  128. package/src/bin/v2/state/hookState.js +1 -1
  129. package/src/bin/v2/state/testFrameworkState.js +1 -1
  130. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  131. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  132. package/src/bin/v2/utils/jest-utils.js +1 -1
  133. package/src/bin/vanilla-js/command.js +1 -1
  134. package/src/browserStackSdk.js +1 -1
  135. package/src/helpers/BrowserStackSetup.js +1 -1
  136. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  137. package/src/helpers/accessibility-automation/constants.js +1 -1
  138. package/src/helpers/accessibility-automation/helper.js +1 -1
  139. package/src/helpers/accessibility-automation/scripts.js +1 -1
  140. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  141. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  142. package/src/helpers/ats/constants.js +1 -1
  143. package/src/helpers/ats/helper.js +1 -1
  144. package/src/helpers/capsMapping.js +1 -1
  145. package/src/helpers/central-scanner/constants.js +1 -1
  146. package/src/helpers/central-scanner/helpers.js +1 -1
  147. package/src/helpers/classLogger.js +1 -1
  148. package/src/helpers/globals.js +1 -1
  149. package/src/helpers/helper.js +1 -1
  150. package/src/helpers/logger.js +1 -1
  151. package/src/helpers/metadata.js +1 -1
  152. package/src/helpers/patchHelper.js +1 -1
  153. package/src/helpers/patchHelpers.js +1 -1
  154. package/src/helpers/percy/Percy.js +1 -1
  155. package/src/helpers/percy/PercyBinary.js +1 -1
  156. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  157. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  158. package/src/helpers/percy/PercySDK.js +1 -1
  159. package/src/helpers/percy/index.js +1 -1
  160. package/src/helpers/percy/utils.js +1 -1
  161. package/src/helpers/performance/constants.js +1 -1
  162. package/src/helpers/performance/performance-tester.js +1 -1
  163. package/src/helpers/playwright-helper.js +1 -1
  164. package/src/helpers/processHelper.js +1 -1
  165. package/src/helpers/request-spy.js +1 -1
  166. package/src/helpers/setKeepAlive.js +1 -1
  167. package/src/helpers/test-observability/constants.js +1 -1
  168. package/src/helpers/test-observability/error-handler.js +1 -1
  169. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  170. package/src/helpers/test-observability/sessionHandler.js +1 -1
  171. package/src/helpers/test-observability/utils.js +1 -1
  172. package/src/helpers/test-orchestration/constants.js +1 -1
  173. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  174. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  175. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  176. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  177. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  178. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  179. package/src/helpers/testhub/constants.js +1 -1
  180. package/src/helpers/testhub/testhubHandler.js +1 -1
  181. package/src/helpers/testhub/utils.js +1 -1
  182. package/src/helpers/timeoutPromise.js +1 -1
  183. package/src/helpers/utilities.js +1 -1
  184. package/src/helpers/w3cMapping.js +1 -1
  185. package/src/hubAllocationMethods.js +1 -1
  186. package/src/index.js +1 -1
@@ -1 +1 @@
1
- function a1_0x34c1(_0x8f25c4,_0x4077e9){const _0x12207b=a1_0x1220();return a1_0x34c1=function(_0x34c14d,_0x49b042){_0x34c14d=_0x34c14d-0x1c2;let _0x4c79ce=_0x12207b[_0x34c14d];return _0x4c79ce;},a1_0x34c1(_0x8f25c4,_0x4077e9);}const a1_0x29b381=a1_0x34c1;(function(_0x3de028,_0x4aa0f4){const _0x31cf7=a1_0x34c1,_0x42d224=_0x3de028();while(!![]){try{const _0xfd9d1c=parseInt(_0x31cf7(0x28d))/0x1*(parseInt(_0x31cf7(0x2cb))/0x2)+-parseInt(_0x31cf7(0x29e))/0x3+-parseInt(_0x31cf7(0x273))/0x4*(parseInt(_0x31cf7(0x2bd))/0x5)+parseInt(_0x31cf7(0x284))/0x6*(-parseInt(_0x31cf7(0x275))/0x7)+-parseInt(_0x31cf7(0x1ef))/0x8*(-parseInt(_0x31cf7(0x220))/0x9)+parseInt(_0x31cf7(0x26b))/0xa+parseInt(_0x31cf7(0x1ea))/0xb*(parseInt(_0x31cf7(0x207))/0xc);if(_0xfd9d1c===_0x4aa0f4)break;else _0x42d224['push'](_0x42d224['shift']());}catch(_0x98d5c0){_0x42d224['push'](_0x42d224['shift']());}}}(a1_0x1220,0x3441b));const fs=require('fs'),util=require(a1_0x29b381(0x2b6)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x29b381(0x290)),logger=require(a1_0x29b381(0x2c4))['winstonLogger'],testOpsHelper=require(a1_0x29b381(0x20f)),requestSpy=require(a1_0x29b381(0x1d4)),PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x29b381(0x295)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x29b381(0x27c)),AccessibilityHelper=require(a1_0x29b381(0x1ee)),scripts=require(a1_0x29b381(0x226)),PerformanceTester=require('../../helpers/performance/performance-tester'),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x29b381(0x1e5)),{processWebDriverConfig,shouldPatchExecuteScript}=require('./helper.js'),testHubConstants=require('../../helpers/testhub/constants.js'),globals=require(a1_0x29b381(0x28b)),CodeceptJS=requireModule(a1_0x29b381(0x1f0),a1_0x29b381(0x1e1)),CodeceptUtils=requireModule('codeceptjs/lib/utils.js','codeceptjs'),CodeceptWebDriver=requireModule('codeceptjs/lib/helper/WebDriver.js',a1_0x29b381(0x1e1)),CodeceptRecorder=requireModule(a1_0x29b381(0x255),a1_0x29b381(0x1e1)),CodeceptPlaywright=requireModule(a1_0x29b381(0x293),a1_0x29b381(0x1e1)),playwrightMarkSessionStatus=(_0x108c63,_0x16e7ad,_0x1e9adb)=>{const _0x415533=a1_0x29b381,_0x282f8c={'WGzvR':_0x415533(0x2a9),'WMMhC':function(_0xa3ec76,_0x44f651){return _0xa3ec76(_0x44f651);}},_0x3823af={};_0x3823af[_0x415533(0x260)]=_0x16e7ad;const _0x426633={};_0x426633[_0x415533(0x1dd)]=_0x282f8c['WGzvR'],_0x426633['arguments']=_0x3823af;const _0x350b80=_0x426633;return!_0x282f8c['WMMhC'](isUndefined,_0x1e9adb)&&(_0x350b80[_0x415533(0x2ac)][_0x415533(0x1c7)]=JSON[_0x415533(0x1ed)](_0x1e9adb)),_0x108c63[_0x415533(0x269)](()=>{},_0x415533(0x246)+JSON[_0x415533(0x1ed)](_0x350b80));},o11ySync=PerformanceTester[a1_0x29b381(0x28e)](PerformanceO11yEvents[a1_0x29b381(0x1c5)],async _0x334daa=>{const _0x338dac=a1_0x29b381,_0x4b45aa={};_0x4b45aa['gHRuI']=function(_0x338567,_0x123c71){return _0x338567===_0x123c71;},_0x4b45aa[_0x338dac(0x222)]=_0x338dac(0x266);const _0xe155fe=_0x4b45aa;_0xe155fe[_0x338dac(0x262)](_0x334daa[_0x338dac(0x25d)][_0x338dac(0x1dc)],_0xe155fe[_0x338dac(0x222)])?await _0x334daa[_0x338dac(0x269)](_0x1e0874=>{},testOpsHelper[_0x338dac(0x249)]()):await _0x334daa[_0x338dac(0x269)](testOpsHelper[_0x338dac(0x249)]());}),markSessionName=PerformanceTester[a1_0x29b381(0x28e)](PerformanceAutEvents['SESSION_NAME'],async(_0xea8f38,_0x51714d)=>{const _0x32c9c9=a1_0x29b381,_0x196bde={};_0x196bde['EpxNo']=_0x32c9c9(0x223),_0x196bde['gqtjt']=function(_0x5015c6,_0x356223){return _0x5015c6===_0x356223;},_0x196bde[_0x32c9c9(0x2b7)]='Playwright';const _0x46a8fb=_0x196bde,_0x57cbb5={};_0x57cbb5[_0x32c9c9(0x1dc)]=_0x51714d;const _0x3a6691={};_0x3a6691[_0x32c9c9(0x1dd)]=_0x46a8fb[_0x32c9c9(0x20a)],_0x3a6691[_0x32c9c9(0x2ac)]=_0x57cbb5;const _0xaa2791=_0x3a6691;_0x46a8fb[_0x32c9c9(0x1f3)](_0xea8f38[_0x32c9c9(0x25d)][_0x32c9c9(0x1dc)],_0x46a8fb[_0x32c9c9(0x2b7)])?await _0xea8f38[_0x32c9c9(0x269)](()=>{},_0x32c9c9(0x246)+JSON[_0x32c9c9(0x1ed)](_0xaa2791)):await _0xea8f38[_0x32c9c9(0x269)](_0x32c9c9(0x246)+JSON[_0x32c9c9(0x1ed)](_0xaa2791));}),patchSaveScreenshot=_0x2409cb=>{const _0x6faa95=a1_0x29b381,_0x328788={'erXmb':_0x6faa95(0x289),'JPOrT':_0x6faa95(0x296),'CllAU':function(_0x4fad43){return _0x4fad43();},'TYsTQ':function(_0x3f4955,_0x111f77){return _0x3f4955(_0x111f77);},'fWIFA':_0x6faa95(0x2c3)};_0x328788['TYsTQ'](isTrue,process['env'][_0x6faa95(0x217)])&&!_0x2409cb[_0x6faa95(0x202)]&&(_0x2409cb['patchSaveScreenshot']=!![],_0x2409cb[_0x6faa95(0x2b1)]=_0x2409cb['saveScreenshot'],_0x2409cb['saveScreenshot']=(_0x47d97e,_0x46d888=![])=>{const _0x222854=_0x6faa95,_0x353df8={'fuYCu':_0x328788[_0x222854(0x251)],'HTRFF':_0x328788[_0x222854(0x2cd)],'WktCO':function(_0x2db41c){const _0x563c49=_0x222854;return _0x328788[_0x563c49(0x204)](_0x2db41c);},'TpIKW':function(_0x195c45,_0x5d0073){return _0x328788['TYsTQ'](_0x195c45,_0x5d0073);},'jLpVO':_0x328788[_0x222854(0x1c9)]};return new Promise(function(_0x2fa15a,_0x5c4f48){const _0x501f50=_0x222854;_0x2409cb['initSaveScreenshot'](_0x47d97e,_0x46d888)[_0x501f50(0x243)](()=>{const _0x1c619b=_0x501f50,_0x5b898f=CodeceptUtils[_0x1c619b(0x24a)](_0x47d97e);if(_0x5b898f){const _0x41a0e2=fs[_0x1c619b(0x279)](_0x5b898f);process[_0x1c619b(0x265)]('bs:addLog:'+process['pid'],{'timestamp':new Date()[_0x1c619b(0x2ad)](),'message':_0x41a0e2['toString'](_0x353df8[_0x1c619b(0x258)]),'kind':_0x353df8[_0x1c619b(0x23e)]}),_0x353df8[_0x1c619b(0x22c)](_0x2fa15a);}_0x353df8[_0x1c619b(0x28f)](_0x5c4f48,new Error(_0x353df8[_0x1c619b(0x2d0)]));})[_0x501f50(0x1d5)](()=>null);});});},patchWebDriverBefore=_0x32d3ef=>{const _0x5b2f4d=a1_0x29b381,_0x52c28b={'RLHra':function(_0x303e24){return _0x303e24();},'TlOzh':function(_0x5a2918,_0x2362a7){return _0x5a2918(_0x2362a7);},'fmKCO':function(_0x3d4a93,_0x29e38f){return _0x3d4a93===_0x29e38f;},'hmjBU':'webdriverio','TsCkA':function(_0x30409a,_0x40fb77){return _0x30409a===_0x40fb77;},'KamyL':_0x5b2f4d(0x2ae),'fGgBp':function(_0x40cbce,_0x27e34c){return _0x40cbce===_0x27e34c;},'sYjLR':_0x5b2f4d(0x1e8)},_0x5002ed=async function(_0x3be2a2,_0x277c55){const _0x48d85c=_0x5b2f4d;_0x52c28b[_0x48d85c(0x233)](isAccessibilityAutomationSession)&&!global['bstackAllyScanning']&&global[_0x48d85c(0x257)]&&scripts[_0x48d85c(0x24c)](_0x3be2a2[_0x48d85c(0x1dc)])&&_0x52c28b['TlOzh'](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x48d85c(0x2b3)]=!![],await PerformanceTester[_0x48d85c(0x28e)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x9afb61=_0x48d85c;logger[_0x9afb61(0x2a0)](_0x9afb61(0x282)+_0x3be2a2['class']+'\x20'+_0x3be2a2[_0x9afb61(0x1dc)]),await AccessibilityHelper[_0x9afb61(0x1c8)](_0x32d3ef,scripts['performScan']);},{'command':_0x3be2a2[_0x48d85c(0x1dc)]})());global[_0x48d85c(0x2b3)]=![];const _0x16cdba=JSON['parse'](process[_0x48d85c(0x2a1)][_0x48d85c(0x263)]||'{}');if(_0x52c28b['fmKCO'](_0x16cdba?.[_0x48d85c(0x2b0)]?.[_0x48d85c(0x1dc)],_0x52c28b[_0x48d85c(0x224)])&&_0x52c28b[_0x48d85c(0x237)](typeof _0x16cdba?.['testFramework']?.[_0x48d85c(0x25a)],_0x52c28b[_0x48d85c(0x1ca)])&&_0x16cdba?.[_0x48d85c(0x2b0)]?.[_0x48d85c(0x25a)]['startsWith']('7'))return _0x277c55[_0x48d85c(0x235)](null,Array[_0x48d85c(0x1d9)]['slice'][_0x48d85c(0x2bc)](arguments,0x2));return _0x277c55[_0x48d85c(0x235)](this,Array[_0x48d85c(0x1d9)][_0x48d85c(0x1de)]['call'](arguments,0x2));},_0x451a27=CodeceptWebDriver['prototype'][_0x5b2f4d(0x1d6)];CodeceptWebDriver[_0x5b2f4d(0x1d9)][_0x5b2f4d(0x1d6)]=async function(){const _0x191dfe=_0x5b2f4d;try{await _0x451a27[_0x191dfe(0x235)](this,arguments);}catch(_0x20d6ff){logger['debug'](_0x191dfe(0x206)+util[_0x191dfe(0x20d)](_0x20d6ff));}scripts[_0x191dfe(0x21d)]['filter'](_0x1f90df=>_0x1f90df[_0x191dfe(0x1dc)]&&_0x1f90df['class'])[_0x191dfe(0x247)](_0x34013f=>{const _0x3a4bf0=_0x191dfe;this['browser'][_0x3a4bf0(0x241)](_0x34013f[_0x3a4bf0(0x1dc)],_0x5002ed[_0x3a4bf0(0x1d1)](this,_0x34013f),_0x52c28b['fGgBp'](_0x34013f[_0x3a4bf0(0x264)],_0x52c28b[_0x3a4bf0(0x1e2)]));}),_0x52c28b[_0x191dfe(0x274)](processWebDriverConfig,_0x32d3ef);};};function parseJwt(_0x5c5578){const _0x5b264a=a1_0x29b381,_0x1107e6={};_0x1107e6[_0x5b264a(0x240)]=_0x5b264a(0x289);const _0x3f47bf=_0x1107e6;if(!_0x5c5578)return null;return JSON[_0x5b264a(0x2b9)](Buffer[_0x5b264a(0x25c)](_0x5c5578[_0x5b264a(0x21a)]('.')[0x1],_0x3f47bf[_0x5b264a(0x240)])[_0x5b264a(0x2ce)]());}function a1_0x1220(){const _0x276372=['901140yZklYr','VYeNr','\x0aStack:\x20','MBgvi','YjdIm','LvsNb','GsJtI','stopMonitoring','1658032dzfRfW','TlOzh','1358bafrUE','BROWSERSTACK_TESTHUB_JWT','Puppeteer','quFCE','readFileSync','ntufP','GET_RESULTS','../../helpers/accessibility-automation/helper','thTestRunUuid','jLlSG','ZAXCQ','bddStepStart','SDK_POST_TEST','Performing\x20scan\x20for\x20','bs:addLog:','13026rXoEdm','bAPut','hookType','message','RbLHr','base64','TEST_RUN_SKIPPED','../../helpers/globals.js','cbTqU','12618DAVgBy','measureWrapper','TpIKW','../../helpers/helper','rdkhM','command','codeceptjs/lib/helper/Playwright.js','uvYNw','./o11yHelper','TEST_SCREENSHOT','title','chromium','ctx','includes','add','before','VAVXI','1017654DhKJOc','Suite','debug','env','stop','Failed\x20to\x20patch\x20pages\x20method\x20in\x20browserContext\x20for\x20a11y\x20domForge:\x20','test-started','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','performScan','getAccessibilityResultsSummary','AfzHR','setSessionStatus','ZRLrl','aDRsL','arguments','toISOString','string','SDK_PRE_INITIALIZE','testFramework','initSaveScreenshot','SESSION_STATUS','bstackAllyScanning','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','aRuPX','util','tlRYM','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','parse','RPGNO','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','call','5tinCcW','TEST_RUN_STARTED','getAccessibilityResults','skipSessionName','test-after','tnQgz','Screenshot\x20path\x20not\x20found','../../helpers/logger','SDK_PRE_TEST','find','pid','WoHeH','dispatcher','KAaee','14uGddlF','swkOj','JPOrT','toString','startMonitoring','jLpVO','HOOK_RUN_STARTED','FKMzp','iiQsG','test-skipped','fireEvent','ETYYd','peYrj','SYNC','YVSnO','reason','browserStackExecuteDriver','fWIFA','KamyL','SDK_HOOK','mXDEo','ZwFwL','UInZG','xichv','oYoqd','bind','ciJwl','restore','../../helpers/request-spy','catch','_before','warn','_setPage','prototype','page','hook-passed','name','action','slice','UHLmr','TestCafe','codeceptjs','sYjLR','SDK_TEST','isArray','../../helpers/performance/constants','VobML','pages','Element','acbCa','44qMignT','vkEwE','hook','stringify','../../bin/playwright/accessibility-helper','147912BoamYT','codeceptjs/lib/index.js','helpers','addRequestSpy','gqtjt','started','hook-started','NbNky','a11y_core_config','uKKPi','XoVKX','hook-failed','WebDriver','HOOK_RUN_FINISHED','YttBo','container','domForge','mgkVg','config','patchSaveScreenshot','url','CllAU','captureEvent','Failed\x20to\x20execute\x20_before:\x20','2799504JfUOzs','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','all','EpxNo','setGlobal','bddStep','format','INFO','../../helpers/test-observability/utils','step','BS_A11Y_JWT','HGCHU','captureError','browser','TNEUu','ENV_VAR','BS_TESTOPS_ALLOW_SCREENSHOTS','stack','eGDIg','split','bddStep-before','browserContext','commandsToWrap','hgdOT','passed','135dQDTrL','test-before','Jgxqa','setSessionName','hmjBU','failed','../../helpers/accessibility-automation/scripts','SAVE_RESULTS','skipSessionStatus','ovLWv','start','xPppD','WktCO','EouaJ','XJmMK','end','nkFtt','getResults','getResultsSummary','RLHra','test','apply','step-comment','TsCkA','UmnXn','test-failed','saveTestResults','thJwtToken','bddStepFinish','PERFORM_SCAN','HTRFF','GET_RESULTS_SUMMARY','rLgUa','overwriteCommand','dpjtr','then','event','KSeIW','browserstack_executor:\x20','forEach','browserstackTestName','getSyncScript','screenshotOutputFolder','aezRs','shouldWrapCommand','--auto-open-devtools-for-tabs','startsWith','thBuildUuid','JzqIa','erXmb','titlePath','testAnalyticsId','skipped','codeceptjs/lib/recorder.js','ACSgy','accessibilityPlatform','fuYCu','QZzNH','version','after','from','constructor','Kfotg','TEST_RUN_FINISHED','status','XnqmI','gHRuI','FRAMEWORK_DETAILS','class','emit','Playwright','cJCIV','args','executeScript','afterTest'];a1_0x1220=function(){return _0x276372;};return a1_0x1220();}const patchPlaywrightBefore=()=>{const _0x176ad6=a1_0x29b381,_0x409b93={'ZRLrl':function(_0xd803e){return _0xd803e();},'PsAWV':'devtools://','uvYNw':_0x176ad6(0x24d),'ovLWv':function(_0x379482){return _0x379482();},'WoHeH':function(_0x1644a9,_0x420e04){return _0x1644a9(_0x420e04);},'cbTqU':function(_0x2d0f49){return _0x2d0f49();},'mXDEo':function(_0xefff72,_0x283350){return _0xefff72+_0x283350;},'cJCIV':_0x176ad6(0x26d),'ZwFwL':function(_0x16fb45){return _0x16fb45();},'VobML':function(_0x349f6b){return _0x349f6b();}};PlaywrightSessionDetails['patch']();const _0x15a8d7=CodeceptPlaywright[_0x176ad6(0x1d9)][_0x176ad6(0x1d6)];CodeceptPlaywright['prototype'][_0x176ad6(0x1d6)]=async function(){const _0x23f2bd=_0x176ad6,_0x10b8cf={'hWsRc':function(_0x19f3b1){return _0x409b93['ZRLrl'](_0x19f3b1);},'AfzHR':_0x409b93['PsAWV'],'mgkVg':_0x409b93[_0x23f2bd(0x294)],'aezRs':function(_0xf82651){const _0x49ba4c=_0x23f2bd;return _0x409b93[_0x49ba4c(0x229)](_0xf82651);},'ccDtr':function(_0xd958f9,_0x23db15){const _0x92b0b1=_0x23f2bd;return _0x409b93[_0x92b0b1(0x2c8)](_0xd958f9,_0x23db15);},'xichv':function(_0x5a0f65){const _0x3d43ef=_0x23f2bd;return _0x409b93[_0x3d43ef(0x28c)](_0x5a0f65);},'jLlSG':function(_0x1b4861,_0xb655c3){const _0x31c45b=_0x23f2bd;return _0x409b93[_0x31c45b(0x1cc)](_0x1b4861,_0xb655c3);},'oYoqd':_0x409b93[_0x23f2bd(0x267)]};this[_0x23f2bd(0x21c)]=await this[_0x23f2bd(0x214)]['contexts']()[0x0];const _0x4d639c=async()=>{const _0x27f0bd=_0x23f2bd,_0x138248={'KSeIW':function(_0x141554){return _0x10b8cf['hWsRc'](_0x141554);},'VAVXI':_0x10b8cf['AfzHR']},_0x301cd0=this['config']&&this['config'][_0x27f0bd(0x298)]&&this[_0x27f0bd(0x201)][_0x27f0bd(0x298)]['args']&&Array[_0x27f0bd(0x1e4)](this[_0x27f0bd(0x201)][_0x27f0bd(0x298)][_0x27f0bd(0x268)])&&this[_0x27f0bd(0x201)]['chromium']['args'][_0x27f0bd(0x29a)](_0x10b8cf[_0x27f0bd(0x200)]);if(_0x10b8cf[_0x27f0bd(0x24b)](isAccessibilityAutomationSession)&&!_0x301cd0)try{const _0x53474c=_0x10b8cf['ccDtr'](parseJwt,process[_0x27f0bd(0x2a1)][_0x27f0bd(0x211)]);if(_0x53474c&&_0x53474c['a11y_core_config']&&_0x53474c[_0x27f0bd(0x1f7)][_0x27f0bd(0x1ff)]){const _0x358a05=this[_0x27f0bd(0x21c)]['pages'][_0x27f0bd(0x1d1)](this['browserContext']);this['browserContext']['pages']=async function(){const _0x230a17=_0x27f0bd,_0xe0fb74=await _0x138248[_0x230a17(0x245)](_0x358a05),_0x15fa6a=[];for(const _0x349933 of _0xe0fb74){try{const _0x561a2e=await _0x349933[_0x230a17(0x203)]();!_0x561a2e[_0x230a17(0x24e)](_0x138248[_0x230a17(0x29d)])&&_0x15fa6a['push'](_0x349933);}catch(_0x76befe){_0x15fa6a['push'](_0x349933);}}return _0x15fa6a;};}if(!_0x10b8cf[_0x27f0bd(0x1cf)](isBrowserstackInfra)){const _0x1829b7=await this[_0x27f0bd(0x1da)][_0x27f0bd(0x203)]();if(_0x1829b7[_0x27f0bd(0x24e)](_0x10b8cf[_0x27f0bd(0x2a8)])){const _0x4ca146=await this[_0x27f0bd(0x21c)][_0x27f0bd(0x1e7)]();this[_0x27f0bd(0x1d8)](_0x4ca146[0x0]);}}}catch(_0xd8a9f0){logger[_0x27f0bd(0x2a0)](_0x27f0bd(0x2a3)+_0xd8a9f0[_0x27f0bd(0x287)]+(_0xd8a9f0['stack']?_0x10b8cf[_0x27f0bd(0x27e)](_0x10b8cf[_0x27f0bd(0x1d0)],_0xd8a9f0[_0x27f0bd(0x218)]):''));}};_0x409b93[_0x23f2bd(0x1cd)](isBrowserstackInfra)&&await _0x409b93[_0x23f2bd(0x229)](_0x4d639c),await _0x15a8d7['apply'](this,arguments),!_0x409b93[_0x23f2bd(0x1e6)](isBrowserstackInfra)&&await _0x409b93[_0x23f2bd(0x2aa)](_0x4d639c);};},getCodeceptDriver=()=>{const _0x23a36c=a1_0x29b381,_0x59900e={};_0x59900e['YVSnO']=_0x23a36c(0x1fb),_0x59900e[_0x23a36c(0x1f8)]=_0x23a36c(0x266),_0x59900e[_0x23a36c(0x215)]=_0x23a36c(0x277),_0x59900e[_0x23a36c(0x1e9)]=_0x23a36c(0x1e0);const _0x20e010=_0x59900e,_0x23ee4b=[_0x20e010[_0x23a36c(0x1c6)],_0x20e010['uKKPi'],_0x20e010['TNEUu'],_0x20e010[_0x23a36c(0x1e9)]],_0x281251=_0x23ee4b[_0x23a36c(0x2c6)](_0x512cc7=>!!CodeceptJS[_0x23a36c(0x1fe)][_0x23a36c(0x1f1)](_0x512cc7));if(!_0x281251)return null;return CodeceptJS['container']['helpers'](_0x281251);};module['exports']=function(_0x4c83ff){const _0x5ab6c7=a1_0x29b381,_0x50259f={'LvsNb':function(_0x423483){return _0x423483();},'YjdIm':function(_0x855287,_0x128987){return _0x855287(_0x128987);},'KAaee':_0x5ab6c7(0x2a7),'NbNky':_0x5ab6c7(0x2b4),'iiQsG':_0x5ab6c7(0x2bf),'gbQyq':_0x5ab6c7(0x2a5),'nkFtt':function(_0xc24c48,_0x3709c4){return _0xc24c48(_0x3709c4);},'EouaJ':_0x5ab6c7(0x1f5),'peYrj':_0x5ab6c7(0x1db),'MBgvi':_0x5ab6c7(0x1fa),'ntufP':_0x5ab6c7(0x248),'bAPut':_0x5ab6c7(0x221),'ACSgy':function(_0x1d371f,_0x1ccb61,_0x2a85f4){return _0x1d371f(_0x1ccb61,_0x2a85f4);},'ZAXCQ':_0x5ab6c7(0x2a4),'YttBo':function(_0xfcbfe7,_0x5f4562,_0x126c51){return _0xfcbfe7(_0x5f4562,_0x126c51);},'Kfotg':function(_0x3f2298){return _0x3f2298();},'swkOj':'test-passed','UInZG':function(_0x425012){return _0x425012();},'hgdOT':function(_0xb43fee,_0x2324d6,_0xd8e4cf,_0x2bdc8a){return _0xb43fee(_0x2324d6,_0xd8e4cf,_0x2bdc8a);},'XnqmI':function(_0x474747,_0x21c93a,_0x508854,_0x1d0f86){return _0x474747(_0x21c93a,_0x508854,_0x1d0f86);},'eGDIg':function(_0x59606c,_0x2bd166){return _0x59606c===_0x2bd166;},'QjmEp':_0x5ab6c7(0x29f),'aRuPX':_0x5ab6c7(0x239),'XJmMK':_0x5ab6c7(0x2d4),'tnQgz':_0x5ab6c7(0x26a),'VYeNr':function(_0x4bb431){return _0x4bb431();},'quFCE':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','RbLHr':_0x5ab6c7(0x2c1),'vkEwE':_0x5ab6c7(0x20e),'RPGNO':'TEST_LOG','UmnXn':_0x5ab6c7(0x236),'dpjtr':_0x5ab6c7(0x21b),'ciJwl':'bddStep-after','XoVKX':function(_0x2adbc1){return _0x2adbc1();},'rdkhM':_0x5ab6c7(0x266)};_0x4c83ff[_0x5ab6c7(0x228)]&&(global['__skipSessionStatus']=_0x4c83ff[_0x5ab6c7(0x228)]);PerformanceTester[_0x5ab6c7(0x2cf)]();const _0x44f68e=_0x50259f[_0x5ab6c7(0x1f9)](getCodeceptDriver),_0x556d2f=new O11yHelper(_0x44f68e,_0x4c83ff),_0xd01708=!!CodeceptJS[_0x5ab6c7(0x1fe)]['helpers'](_0x50259f[_0x5ab6c7(0x291)]);global['__driver']=_0x44f68e,_0x44f68e&&(PerformanceTester[_0x5ab6c7(0x28e)](PerformanceEvents[_0x5ab6c7(0x2af)],()=>{const _0x1e9a5f=_0x5ab6c7;_0xd01708?_0x50259f[_0x1e9a5f(0x270)](patchPlaywrightBefore):_0x50259f[_0x1e9a5f(0x26f)](patchWebDriverBefore,_0x44f68e);})(),PerformanceTester[_0x5ab6c7(0x28e)](PerformanceEvents['SDK_POST_INITIALIZE'],()=>{const _0x3064ac=_0x5ab6c7,_0x2bd6cc={};_0x2bd6cc['BieLw']=_0x50259f[_0x3064ac(0x2ca)],_0x2bd6cc[_0x3064ac(0x250)]=_0x50259f[_0x3064ac(0x1f6)],_0x2bd6cc[_0x3064ac(0x259)]=_0x50259f[_0x3064ac(0x2d3)],_0x2bd6cc['xPppD']=_0x50259f['gbQyq'];const _0x426e18=_0x2bd6cc;_0x44f68e[_0x3064ac(0x2a7)]=async()=>{const _0x20f5dc=_0x3064ac;if(global[_0x20f5dc(0x257)]){const _0xd1b198={};return _0xd1b198[_0x20f5dc(0x292)]=_0x426e18['BieLw'],await PerformanceTester[_0x20f5dc(0x28e)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x1cea1b=_0x20f5dc;return await AccessibilityHelper[_0x1cea1b(0x1c8)](_0x44f68e,scripts[_0x1cea1b(0x2a6)]);},_0xd1b198)(),await PerformanceTester[_0x20f5dc(0x28e)](PerformanceA11yEvents[_0x20f5dc(0x23f)],async()=>{const _0x12ecd7=_0x20f5dc;return await AccessibilityHelper['browserStackExecuteDriver'](_0x44f68e,scripts[_0x12ecd7(0x232)]);})();}return logger[_0x20f5dc(0x1d7)](_0x426e18[_0x20f5dc(0x250)]),{};},_0x44f68e[_0x3064ac(0x2bf)]=async()=>{const _0x462dc6=_0x3064ac;if(global['accessibilityPlatform']){const _0x19f955={};return _0x19f955['command']=_0x426e18[_0x462dc6(0x259)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x462dc6(0x23d)],async()=>{const _0x2f5d41=_0x462dc6;return await AccessibilityHelper[_0x2f5d41(0x1c8)](_0x44f68e,scripts[_0x2f5d41(0x2a6)]);},_0x19f955)(),await PerformanceTester[_0x462dc6(0x28e)](PerformanceA11yEvents[_0x462dc6(0x27b)],async()=>{const _0x20fca5=_0x462dc6;return await AccessibilityHelper[_0x20fca5(0x1c8)](_0x44f68e,scripts[_0x20fca5(0x231)]);})();}return logger[_0x462dc6(0x1d7)](_0x426e18[_0x462dc6(0x22b)]),{};},_0x50259f['nkFtt'](patchSaveScreenshot,_0x44f68e);})()),CodeceptJS['event'][_0x5ab6c7(0x2c9)]['on'](CodeceptJS[_0x5ab6c7(0x244)][_0x5ab6c7(0x209)]['before'],()=>{const _0x40633a=_0x5ab6c7;PerformanceTester[_0x40633a(0x22a)](PerformanceEvents[_0x40633a(0x2c5)]);try{_0x556d2f[_0x40633a(0x22a)](),testOpsHelper[_0x40633a(0x1f2)](),PerformanceTester['end'](PerformanceEvents[_0x40633a(0x2c5)]);}catch(_0x5c6668){PerformanceTester['captureError'](_0x5c6668),PerformanceTester[_0x40633a(0x22f)](PerformanceEvents[_0x40633a(0x2c5)],![],_0x5c6668);}}),CodeceptJS[_0x5ab6c7(0x244)][_0x5ab6c7(0x2c9)]['on'](CodeceptJS['event'][_0x5ab6c7(0x209)][_0x5ab6c7(0x25b)],async()=>{const _0x597db4=_0x5ab6c7;PerformanceTester['start'](PerformanceEvents[_0x597db4(0x281)]);try{requestSpy[_0x597db4(0x1d3)](),await _0x556d2f[_0x597db4(0x2a2)](),PerformanceTester[_0x597db4(0x22f)](PerformanceEvents['SDK_POST_TEST']);}catch(_0xeadbea){PerformanceTester[_0x597db4(0x213)](_0xeadbea),PerformanceTester['end'](PerformanceEvents['SDK_POST_TEST'],![],_0xeadbea);}finally{PerformanceTester[_0x597db4(0x272)]();}}),CodeceptJS['event'][_0x5ab6c7(0x2c9)]['on'](CodeceptJS[_0x5ab6c7(0x244)][_0x5ab6c7(0x1ec)][_0x5ab6c7(0x1f4)],_0x45dbfe=>{const _0x4f7c74=_0x5ab6c7;PerformanceTester[_0x4f7c74(0x22a)](PerformanceEvents[_0x4f7c74(0x1cb)]);try{const _0x57987b=_0x45dbfe[_0x4f7c74(0x299)][_0x4f7c74(0x234)],_0x4f1e4e=_0x556d2f[_0x4f7c74(0x205)](TEST_EVENTS[_0x4f7c74(0x2d1)],_0x57987b);CodeceptRecorder['add'](()=>_0x556d2f[_0x4f7c74(0x1c2)](TEST_EVENTS[_0x4f7c74(0x2d1)],_0x4f1e4e));const _0x10f998={};_0x10f998['hookType']=_0x50259f[_0x4f7c74(0x22d)],PerformanceTester['end'](PerformanceEvents[_0x4f7c74(0x1cb)],!![],null,_0x10f998);}catch(_0x292df5){const _0x287dce={};_0x287dce['hookType']=_0x50259f[_0x4f7c74(0x22d)],PerformanceTester[_0x4f7c74(0x22f)](PerformanceEvents[_0x4f7c74(0x1cb)],![],_0x292df5,_0x287dce),PerformanceTester[_0x4f7c74(0x213)](_0x292df5);}}),CodeceptJS[_0x5ab6c7(0x244)][_0x5ab6c7(0x2c9)]['on'](CodeceptJS['event'][_0x5ab6c7(0x1ec)][_0x5ab6c7(0x21f)],_0x3b8af5=>{const _0x1a8a2c=_0x5ab6c7,_0x6581fc={};_0x6581fc['hookType']=_0x50259f[_0x1a8a2c(0x1c4)],PerformanceTester['start'](PerformanceHookEvents[_0x1a8a2c(0x1cb)],!![],null,_0x6581fc);try{const _0x437681=_0x3b8af5[_0x1a8a2c(0x299)][_0x1a8a2c(0x234)],_0x395ea5=_0x556d2f[_0x1a8a2c(0x205)](TEST_EVENTS[_0x1a8a2c(0x1fc)],_0x437681);CodeceptRecorder['add'](()=>_0x556d2f['fireEvent'](TEST_EVENTS[_0x1a8a2c(0x1fc)],_0x395ea5));const _0x51cedb={};_0x51cedb[_0x1a8a2c(0x286)]=_0x50259f['peYrj'],PerformanceTester[_0x1a8a2c(0x22f)](PerformanceHookEvents[_0x1a8a2c(0x1cb)],!![],null,_0x51cedb);}catch(_0x17a6ea){PerformanceTester[_0x1a8a2c(0x213)](_0x17a6ea);const _0x409ae0={};_0x409ae0['hookType']=_0x50259f[_0x1a8a2c(0x1c4)],PerformanceTester[_0x1a8a2c(0x22f)](PerformanceHookEvents[_0x1a8a2c(0x1cb)],![],_0x17a6ea,_0x409ae0);}}),CodeceptJS['event'][_0x5ab6c7(0x2c9)]['on'](CodeceptJS[_0x5ab6c7(0x244)]['hook'][_0x5ab6c7(0x225)],async(_0xbdac59,_0x48d5cb)=>{const _0x2ff441=_0x5ab6c7;PerformanceTester[_0x2ff441(0x22a)](PerformanceHookEvents[_0x2ff441(0x1cb)]);try{const _0x248a92=_0xbdac59[_0x2ff441(0x299)]['test'],_0x54680f=_0x556d2f[_0x2ff441(0x205)](TEST_EVENTS[_0x2ff441(0x1fc)],_0x248a92,_0x48d5cb);CodeceptRecorder['add'](()=>_0x556d2f['fireEvent'](TEST_EVENTS[_0x2ff441(0x1fc)],_0x54680f));const _0x2c411f={};_0x2c411f['hookType']=_0x50259f[_0x2ff441(0x26e)],PerformanceTester[_0x2ff441(0x22a)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x2c411f);}catch(_0x597c37){PerformanceTester[_0x2ff441(0x213)](_0x597c37);const _0x151ca6={};_0x151ca6[_0x2ff441(0x286)]=_0x50259f['MBgvi'],PerformanceTester[_0x2ff441(0x22f)](PerformanceHookEvents['SDK_HOOK'],![],_0x597c37,_0x151ca6);}const _0xbb9556={};_0xbb9556[_0x2ff441(0x286)]=_0x50259f[_0x2ff441(0x26e)],PerformanceTester['end'](PerformanceHookEvents[_0x2ff441(0x1cb)],!![],null,_0xbb9556);}),CodeceptJS[_0x5ab6c7(0x244)][_0x5ab6c7(0x2c9)]['on'](CodeceptJS[_0x5ab6c7(0x244)][_0x5ab6c7(0x234)][_0x5ab6c7(0x29c)],_0x496044=>{const _0x488f43=_0x5ab6c7;PerformanceTester[_0x488f43(0x22a)](PerformanceHookEvents['SDK_HOOK']);try{globals[_0x488f43(0x20b)](_0x50259f[_0x488f43(0x27a)],_0x496044[_0x488f43(0x297)]);_0x50259f[_0x488f43(0x270)](isBrowserstackInfra)&&(_0xd01708&&(global['__workerDetails']={'currentTest':{'name':_0x496044['title'],'testInfo':{'titlePath':_0x496044[_0x488f43(0x252)]()}}}));const _0x561968={};_0x561968['hookType']=_0x50259f[_0x488f43(0x285)],PerformanceTester['end'](PerformanceHookEvents[_0x488f43(0x1cb)],!![],null,_0x561968);}catch(_0x473b07){PerformanceTester['captureError'](_0x473b07);const _0x3babc4={};_0x3babc4[_0x488f43(0x286)]=_0x50259f[_0x488f43(0x285)],PerformanceTester[_0x488f43(0x22f)](PerformanceHookEvents[_0x488f43(0x1cb)],![],_0x473b07,_0x3babc4);}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x5ab6c7(0x244)][_0x5ab6c7(0x234)][_0x5ab6c7(0x1f4)],_0x56c8b2=>{const _0x356620=_0x5ab6c7;PerformanceTester[_0x356620(0x22a)](PerformanceHookEvents[_0x356620(0x1cb)]);try{globals[_0x356620(0x20b)](_0x50259f[_0x356620(0x27a)],_0x56c8b2[_0x356620(0x297)]);const _0x2347cb=_0x556d2f['captureEvent'](TEST_EVENTS['TEST_RUN_STARTED'],_0x56c8b2);CodeceptRecorder[_0x356620(0x29b)](()=>_0x556d2f['fireEvent'](TEST_EVENTS[_0x356620(0x2be)],_0x2347cb)),CodeceptRecorder['add'](async()=>{const _0x51207e=_0x356620;_0x50259f[_0x51207e(0x270)](isBrowserstackInfra)&&(!_0x50259f[_0x51207e(0x230)](isTrue,_0x4c83ff[_0x51207e(0x2c0)])&&await _0x50259f[_0x51207e(0x256)](markSessionName,_0x44f68e,_0x56c8b2[_0x51207e(0x297)]),_0x556d2f['enabled']&&await _0x50259f[_0x51207e(0x230)](o11ySync,_0x44f68e));});}catch(_0x100336){const _0x4b9349={};_0x4b9349[_0x356620(0x286)]=_0x50259f['ZAXCQ'],PerformanceTester[_0x356620(0x22f)](PerformanceHookEvents[_0x356620(0x1cb)],![],_0x100336,_0x4b9349),PerformanceTester[_0x356620(0x213)](_0x100336);}const _0x417e81={};_0x417e81[_0x356620(0x286)]=_0x50259f[_0x356620(0x27f)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x417e81);}),CodeceptJS['event'][_0x5ab6c7(0x2c9)]['on'](CodeceptJS[_0x5ab6c7(0x244)][_0x5ab6c7(0x234)][_0x5ab6c7(0x21f)],_0x2f7137=>{const _0x336880=_0x5ab6c7,_0x42d2f6={'HGCHU':function(_0xd26998,_0x4d70ab,_0x3a2e49){const _0xd7aa=a1_0x34c1;return _0x50259f[_0xd7aa(0x1fd)](_0xd26998,_0x4d70ab,_0x3a2e49);},'FKMzp':function(_0x347c76){const _0x475eb8=a1_0x34c1;return _0x50259f[_0x475eb8(0x25e)](_0x347c76);}};PerformanceTester[_0x336880(0x22a)](PerformanceHookEvents[_0x336880(0x1cb)]);try{const _0x5470d6=_0x556d2f[_0x336880(0x205)](TEST_EVENTS[_0x336880(0x25f)],_0x2f7137);CodeceptRecorder['add'](()=>_0x556d2f[_0x336880(0x1c2)](TEST_EVENTS[_0x336880(0x25f)],_0x5470d6)),CodeceptRecorder[_0x336880(0x29b)](async()=>{const _0xead4e8=_0x336880,_0x2cc827={'OCrjg':function(_0x4a8ae1,_0x2b1fe7,_0x5cc79){const _0x1f8544=a1_0x34c1;return _0x42d2f6[_0x1f8544(0x212)](_0x4a8ae1,_0x2b1fe7,_0x5cc79);},'ETYYd':function(_0x737435,_0x144bf7,_0x54c65a){const _0x26d24b=a1_0x34c1;return _0x42d2f6[_0x26d24b(0x212)](_0x737435,_0x144bf7,_0x54c65a);}};_0x42d2f6[_0xead4e8(0x2d2)](isBrowserstackInfra)&&await PerformanceTester[_0xead4e8(0x28e)](PerformanceAutEvents[_0xead4e8(0x2b2)],async()=>{const _0x5e8ed9=_0xead4e8;_0xd01708?await _0x2cc827['OCrjg'](playwrightMarkSessionStatus,_0x44f68e,STATE_PASSED):await _0x2cc827[_0x5e8ed9(0x1c3)](markSessionStatus,_0x44f68e,STATE_PASSED);})();}),PerformanceTester[_0x336880(0x22f)](PerformanceEvents[_0x336880(0x1e3)]);}catch(_0x2c1988){PerformanceTester[_0x336880(0x213)](_0x2c1988);const _0x3eb65c={};_0x3eb65c[_0x336880(0x286)]=_0x50259f[_0x336880(0x2cc)],PerformanceTester[_0x336880(0x22f)](PerformanceHookEvents['SDK_HOOK'],![],_0x2c1988,_0x3eb65c),PerformanceTester[_0x336880(0x22f)](PerformanceEvents[_0x336880(0x1e3)],![],_0x2c1988);}const _0x21f011={};_0x21f011['hookType']=_0x50259f[_0x336880(0x2cc)],PerformanceTester[_0x336880(0x22f)](PerformanceHookEvents[_0x336880(0x1cb)],!![],null,_0x21f011);}),CodeceptJS[_0x5ab6c7(0x244)]['dispatcher']['on'](CodeceptJS['event']['test']['failed'],(_0x93d542,_0x417227)=>{const _0x17dd53=_0x5ab6c7,_0x43992c={'aDRsL':function(_0x2ca4d2){const _0x1ed10d=a1_0x34c1;return _0x50259f[_0x1ed10d(0x1ce)](_0x2ca4d2);},'GsJtI':function(_0x3aae17,_0x3a86f9,_0x1d59de,_0x5c7f72){const _0x475919=a1_0x34c1;return _0x50259f[_0x475919(0x21e)](_0x3aae17,_0x3a86f9,_0x1d59de,_0x5c7f72);},'UHLmr':function(_0x2b39cc,_0x5ba4d1,_0x38ef54,_0x5e6c33){const _0x5567b3=a1_0x34c1;return _0x50259f[_0x5567b3(0x261)](_0x2b39cc,_0x5ba4d1,_0x38ef54,_0x5e6c33);}};PerformanceTester[_0x17dd53(0x22a)](PerformanceHookEvents[_0x17dd53(0x1cb)]);try{if(_0x50259f[_0x17dd53(0x219)](_0x93d542[_0x17dd53(0x25d)][_0x17dd53(0x1dc)],_0x50259f['QjmEp'])){const _0x55d5a2=_0x556d2f['captureEvent'](TEST_EVENTS[_0x17dd53(0x28a)],_0x93d542[_0x17dd53(0x299)]['currentTest']);CodeceptRecorder[_0x17dd53(0x29b)](()=>_0x556d2f[_0x17dd53(0x1c2)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x55d5a2));}else{const _0x43dd7a=_0x556d2f[_0x17dd53(0x205)](TEST_EVENTS[_0x17dd53(0x25f)],_0x93d542,_0x417227);CodeceptRecorder['add'](()=>{const _0x2b42ae=_0x17dd53;try{_0x556d2f[_0x2b42ae(0x1c2)](TEST_EVENTS[_0x2b42ae(0x25f)],_0x43dd7a);}catch(_0x4baeba){logger[_0x2b42ae(0x2a0)](_0x2b42ae(0x208)+util['format'](_0x4baeba)),PerformanceTester[_0x2b42ae(0x22f)](PerformanceEvents['SDK_TEST'],![],_0x4baeba);}}),CodeceptRecorder[_0x17dd53(0x29b)](async()=>{const _0x258de0=_0x17dd53;try{_0x43992c[_0x258de0(0x2ab)](isBrowserstackInfra)&&(_0xd01708?await _0x43992c[_0x258de0(0x271)](playwrightMarkSessionStatus,_0x44f68e,STATE_FAILED,_0x417227):await _0x43992c[_0x258de0(0x1df)](markSessionStatus,_0x44f68e,STATE_FAILED,_0x417227));}catch(_0x170f6b){logger['debug'](_0x258de0(0x2bb)+util[_0x258de0(0x20d)](_0x170f6b)),PerformanceTester['end'](PerformanceEvents[_0x258de0(0x1e3)],![],_0x170f6b);}});}PerformanceTester[_0x17dd53(0x22f)](PerformanceEvents[_0x17dd53(0x1e3)]);}catch(_0xeb0ce6){PerformanceTester[_0x17dd53(0x213)](_0xeb0ce6);const _0x461353={};_0x461353[_0x17dd53(0x286)]=_0x50259f[_0x17dd53(0x2b5)],PerformanceTester['end'](PerformanceHookEvents[_0x17dd53(0x1cb)],![],_0xeb0ce6,_0x461353),PerformanceTester[_0x17dd53(0x22f)](PerformanceEvents['SDK_TEST'],![],_0xeb0ce6);}const _0x254c8a={};_0x254c8a[_0x17dd53(0x286)]=_0x50259f[_0x17dd53(0x2b5)],PerformanceTester[_0x17dd53(0x22f)](PerformanceHookEvents[_0x17dd53(0x1cb)],!![],null,_0x254c8a);}),CodeceptJS[_0x5ab6c7(0x244)][_0x5ab6c7(0x2c9)]['on'](CodeceptJS[_0x5ab6c7(0x244)][_0x5ab6c7(0x234)][_0x5ab6c7(0x254)],_0xe2b968=>{const _0x422f30=_0x5ab6c7;PerformanceTester[_0x422f30(0x22a)](PerformanceHookEvents['SDK_HOOK']);try{const _0xd41099=_0x556d2f[_0x422f30(0x205)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0xe2b968);CodeceptRecorder[_0x422f30(0x29b)](()=>_0x556d2f[_0x422f30(0x1c2)](TEST_EVENTS[_0x422f30(0x28a)],_0xd41099)),PerformanceTester[_0x422f30(0x22f)](PerformanceEvents[_0x422f30(0x1e3)]);}catch(_0x3e53d0){PerformanceTester[_0x422f30(0x213)](_0x3e53d0),PerformanceTester['end'](PerformanceEvents[_0x422f30(0x1e3)],![],_0x3e53d0);const _0xc9f376={};_0xc9f376[_0x422f30(0x286)]=_0x50259f['XJmMK'],PerformanceTester[_0x422f30(0x22f)](PerformanceHookEvents['SDK_HOOK'],![],_0x3e53d0,_0xc9f376);}const _0x54e60d={};_0x54e60d[_0x422f30(0x286)]=_0x50259f[_0x422f30(0x22e)],PerformanceTester[_0x422f30(0x22f)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x54e60d);}),CodeceptJS['event'][_0x5ab6c7(0x2c9)]['on'](CodeceptJS[_0x5ab6c7(0x244)][_0x5ab6c7(0x234)][_0x5ab6c7(0x25b)],async(_0x5588b0,_0x37cf97)=>{const _0x95ab41=_0x5ab6c7;try{PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK']);const _0xc2ffd2=_0x50259f[_0x95ab41(0x1fd)](shouldScanTestForAccessibility,_0x5588b0['titlePath'](),!![]);if(_0x50259f[_0x95ab41(0x26c)](isAccessibilityAutomationSession)&&global[_0x95ab41(0x257)]&&_0xc2ffd2){const _0x1b5cb0={};_0x1b5cb0[_0x95ab41(0x27d)]=_0x5588b0[_0x95ab41(0x253)],_0x1b5cb0[_0x95ab41(0x24f)]=process[_0x95ab41(0x2a1)][testHubConstants[_0x95ab41(0x216)]['BROWSERSTACK_TESTHUB_UUID']],_0x1b5cb0[_0x95ab41(0x23b)]=process[_0x95ab41(0x2a1)][testHubConstants[_0x95ab41(0x216)][_0x95ab41(0x276)]];const _0x10b817=_0x1b5cb0;logger[_0x95ab41(0x2a0)](_0x95ab41(0x2b8)+JSON[_0x95ab41(0x1ed)](_0x10b817)),CodeceptRecorder[_0x95ab41(0x29b)](async()=>{const _0xc2f8fa=_0x95ab41,_0xdbb039={};_0xdbb039[_0xc2f8fa(0x292)]=_0x50259f[_0xc2f8fa(0x2c2)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0xc2f8fa(0x23d)],async()=>{const _0x1a722e=_0xc2f8fa;await AccessibilityHelper['browserStackExecuteDriver'](_0x44f68e,scripts[_0x1a722e(0x2a6)]);},_0xdbb039)(),await PerformanceTester[_0xc2f8fa(0x28e)](PerformanceA11yEvents[_0xc2f8fa(0x227)],async()=>{const _0xa51669=_0xc2f8fa;await AccessibilityHelper[_0xa51669(0x1c8)](_0x44f68e,scripts[_0xa51669(0x23a)],_0x10b817);})();}),logger['info'](_0x50259f[_0x95ab41(0x278)]);}const _0xdf85d3={};_0xdf85d3['hookType']=_0x50259f[_0x95ab41(0x288)],PerformanceTester[_0x95ab41(0x22f)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0xdf85d3);}catch(_0x2d14cb){PerformanceTester[_0x95ab41(0x213)](_0x2d14cb);const _0x316998={};_0x316998[_0x95ab41(0x286)]=_0x50259f['RbLHr'],PerformanceTester[_0x95ab41(0x22f)](PerformanceHookEvents[_0x95ab41(0x1cb)],![],_0x2d14cb,_0x316998);}}),CodeceptJS[_0x5ab6c7(0x244)][_0x5ab6c7(0x2c9)]['on'](CodeceptJS[_0x5ab6c7(0x244)][_0x5ab6c7(0x210)]['comment'],_0xbe3c08=>{const _0xeb7b33=_0x5ab6c7;PerformanceTester[_0xeb7b33(0x22a)](PerformanceHookEvents[_0xeb7b33(0x1cb)]);try{process['emit'](_0xeb7b33(0x283)+process[_0xeb7b33(0x2c7)],{'timestamp':new Date()[_0xeb7b33(0x2ad)](),'level':_0x50259f[_0xeb7b33(0x1eb)],'message':_0xbe3c08,'kind':_0x50259f[_0xeb7b33(0x2ba)],'http_response':{}});}catch(_0x484af8){PerformanceTester[_0xeb7b33(0x213)](_0x484af8);const _0x2c011e={};_0x2c011e[_0xeb7b33(0x286)]=_0x50259f[_0xeb7b33(0x238)],PerformanceTester[_0xeb7b33(0x22f)](PerformanceHookEvents[_0xeb7b33(0x1cb)],![],_0x484af8,_0x2c011e);}const _0x1be635={};_0x1be635[_0xeb7b33(0x286)]=_0x50259f[_0xeb7b33(0x238)],PerformanceTester[_0xeb7b33(0x22f)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x1be635);}),CodeceptJS[_0x5ab6c7(0x244)]['dispatcher']['on'](CodeceptJS[_0x5ab6c7(0x244)][_0x5ab6c7(0x20c)][_0x5ab6c7(0x29c)],_0x33a3c2=>{const _0x1bd929=_0x5ab6c7,_0x360ca5={};_0x360ca5[_0x1bd929(0x286)]=_0x50259f[_0x1bd929(0x242)],PerformanceTester[_0x1bd929(0x28e)](PerformanceHookEvents[_0x1bd929(0x1cb)],()=>{const _0x5793b7=_0x1bd929;_0x556d2f[_0x5793b7(0x280)](_0x33a3c2);},_0x360ca5)();}),CodeceptJS['event'][_0x5ab6c7(0x2c9)]['on'](CodeceptJS[_0x5ab6c7(0x244)][_0x5ab6c7(0x20c)][_0x5ab6c7(0x25b)],_0x4bd1c3=>{const _0x4872e2=_0x5ab6c7,_0x9c155e={};_0x9c155e['hookType']=_0x50259f[_0x4872e2(0x1d2)],PerformanceTester[_0x4872e2(0x28e)](PerformanceHookEvents[_0x4872e2(0x1cb)],()=>{const _0x401fcc=_0x4872e2;_0x556d2f[_0x401fcc(0x23c)](_0x4bd1c3);},_0x9c155e)();});};
1
+ const a1_0x1fabc4=a1_0x4de4;function a1_0x4d62(){const _0x128511=['IyiFS','xWAOi','./helper.js','TEST_RUN_SKIPPED','webdriverio','slice','TNpJK','codeceptjs/lib/index.js','shouldWrapCommand','bddStep','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','codeceptjs/lib/helper/Playwright.js','mXAiz','JByNg','reason','stack','bddStepFinish','format','catch','getAccessibilityResults','browser','test-passed','BfJot','6532192YZEjeB','start','readFileSync','from','url','bddStep-after','IHhnx','MpCXi','2253874mWPwys','chromium','AqgDE','skipSessionName','title','skipped','emit','yrNNb','hgYBR','TEST_RUN_FINISHED','JOPrl','afterTest','version','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','Playwright','action','test','includes','idYRK','pages','env','VjKsQ','devtools://','SDK_POST_TEST','TestCafe','name','browserContext','BS_A11Y_JWT','SDK_PRE_TEST','UELkq','../../helpers/logger','winstonLogger','started','passed','../../helpers/request-spy','hook','rUPRE','740OTiGRM','end','Performing\x20scan\x20for\x20','VVCbM','message','executeScript','stop','status','debug','SDK_HOOK','SESSION_STATUS','screenshotOutputFolder','INFO','aCATo','nibJN','orakP','MjbAH','SESSION_NAME','captureError','DwSAs','21768BSJKHI','comment','getSyncScript','toString','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','pid','PERFORM_SCAN','startsWith','../../helpers/globals.js','dAkAv','then','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','_before','bhUiu','WyhiC','FRAMEWORK_DETAILS','hook-failed','zeWrQ','WebDriver','fDwgN','test-after','ykGBP','dispatcher','util','patchSaveScreenshot','hookType','SDK_PRE_INITIALIZE','split','bXXbO','qrDRF','GET_RESULTS','Ziuzv','bFsOG','YQPYI','zMXZb','3592575sOKlST','setGlobal','codeceptjs/lib/recorder.js','lAuSO','exports','event','TEST_SCREENSHOT','../../helpers/accessibility-automation/scripts','HOOK_RUN_STARTED','string','all','euYRb','step','_setPage','failed','enwDr','unViz','accessibilityPlatform','measureWrapper','saveTestResults','zmMOY','SDK_TEST','getAccessibilityResultsSummary','find','args','hUsHn','qivfC','forEach','browserstackTestName','contexts','helpers','./o11yHelper','codeceptjs','PGuuY','UirXR','XiHjs','NanBO','container','arguments','thJwtToken','ITndZ','\x0aStack:\x20','hook-started','base64','bind','bddStep-before','BS_TESTOPS_ALLOW_SCREENSHOTS','hook-passed','browserstack_executor:\x20','isArray','page','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','Element','class','mBxqL','jahGr','Failed\x20to\x20execute\x20_before:\x20','../../bin/playwright/accessibility-helper','Screenshot\x20path\x20not\x20found','skipSessionStatus','OXXgZ','vGRTp','thBuildUuid','addRequestSpy','constructor','currentTest','testFramework','UusTD','YpXaD','after','codeceptjs/lib/utils.js','GET_RESULTS_SUMMARY','ujvvr','OjxiE','performScan','warn','command','fkeRs','a11y_core_config','apply','initSaveScreenshot','titlePath','gTinJ','browserStackExecuteDriver','patch','sUpKP','ctx','saveScreenshot','HOOK_RUN_FINISHED','lWoBU','nsfjT','bs:addLog:','config','getResults','bddStepStart','SDK_POST_INITIALIZE','test-skipped','BCTFn','before','375000YchObX','fireEvent','1TYKkFn','captureEvent','add','../../helpers/performance/constants','call','../../bin/playwright/sessionDetails','__workerDetails','parse','1102743juXRTr','lCycK','prototype','codeceptjs/lib/helper/WebDriver.js','664388nDJMJn','stopMonitoring','toISOString','__skipSessionStatus','xgFKD','__driver','rPiLp','stringify','../../helpers/helper','40MlmQBi','ABIrw','iOYSK','yUJFP','push','domForge','RJVzN','testAnalyticsId','--auto-open-devtools-for-tabs','ZgzLE','bstackAllyScanning','kpqMZ','gqtVu','wpTrc','yDMHc'];a1_0x4d62=function(){return _0x128511;};return a1_0x4d62();}function a1_0x4de4(_0x3ff79d,_0x31d7a6){const _0x4d62d7=a1_0x4d62();return a1_0x4de4=function(_0x4de401,_0x3933a4){_0x4de401=_0x4de401-0x1c1;let _0x3a28d0=_0x4d62d7[_0x4de401];return _0x3a28d0;},a1_0x4de4(_0x3ff79d,_0x31d7a6);}(function(_0x1f51d7,_0x23bfbe){const _0x461b19=a1_0x4de4,_0x257078=_0x1f51d7();while(!![]){try{const _0x181cb2=parseInt(_0x461b19(0x22c))/0x1*(parseInt(_0x461b19(0x238))/0x2)+parseInt(_0x461b19(0x1c7))/0x3+-parseInt(_0x461b19(0x22a))/0x4+-parseInt(_0x461b19(0x294))/0x5*(parseInt(_0x461b19(0x2a8))/0x6)+-parseInt(_0x461b19(0x26f))/0x7+parseInt(_0x461b19(0x267))/0x8+parseInt(_0x461b19(0x234))/0x9*(-parseInt(_0x461b19(0x241))/0xa);if(_0x181cb2===_0x23bfbe)break;else _0x257078['push'](_0x257078['shift']());}catch(_0x1be0c7){_0x257078['push'](_0x257078['shift']());}}}(a1_0x4d62,0xdc923));const fs=require('fs'),util=require(a1_0x1fabc4(0x2bf)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x1fabc4(0x240)),logger=require(a1_0x1fabc4(0x28d))[a1_0x1fabc4(0x28e)],testOpsHelper=require('../../helpers/test-observability/utils'),requestSpy=require(a1_0x1fabc4(0x291)),PlaywrightSessionDetails=require(a1_0x1fabc4(0x231)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x1fabc4(0x1e6)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),AccessibilityHelper=require(a1_0x1fabc4(0x200)),scripts=require(a1_0x1fabc4(0x1ce)),PerformanceTester=require('../../helpers/performance/performance-tester'),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x1fabc4(0x22f)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x1fabc4(0x252)),testHubConstants=require('../../helpers/testhub/constants.js'),globals=require(a1_0x1fabc4(0x2b0)),CodeceptJS=requireModule(a1_0x1fabc4(0x257),'codeceptjs'),CodeceptUtils=requireModule(a1_0x1fabc4(0x20d),a1_0x1fabc4(0x1e7)),CodeceptWebDriver=requireModule(a1_0x1fabc4(0x237),a1_0x1fabc4(0x1e7)),CodeceptRecorder=requireModule(a1_0x1fabc4(0x1c9),a1_0x1fabc4(0x1e7)),CodeceptPlaywright=requireModule(a1_0x1fabc4(0x25b),a1_0x1fabc4(0x1e7)),playwrightMarkSessionStatus=(_0x5c4f3a,_0x286529,_0x4a0fdb)=>{const _0x506fc8=a1_0x1fabc4,_0x415b86={'IdjpT':'setSessionStatus','VjKsQ':function(_0x38dd7b,_0x310d5b){return _0x38dd7b(_0x310d5b);}},_0x59198d={};_0x59198d[_0x506fc8(0x29b)]=_0x286529;const _0x2e83cf={};_0x2e83cf[_0x506fc8(0x27e)]=_0x415b86['IdjpT'],_0x2e83cf[_0x506fc8(0x1ed)]=_0x59198d;const _0x4cd1e0=_0x2e83cf;return!_0x415b86[_0x506fc8(0x284)](isUndefined,_0x4a0fdb)&&(_0x4cd1e0[_0x506fc8(0x1ed)][_0x506fc8(0x25e)]=JSON[_0x506fc8(0x23f)](_0x4a0fdb)),_0x5c4f3a['executeScript'](()=>{},_0x506fc8(0x1f7)+JSON[_0x506fc8(0x23f)](_0x4cd1e0));},o11ySync=PerformanceTester['measureWrapper'](PerformanceO11yEvents['SYNC'],async _0x3ee037=>{const _0x12649d=a1_0x1fabc4,_0x280721={};_0x280721[_0x12649d(0x1db)]=function(_0x53b105,_0x3fa5ad){return _0x53b105===_0x3fa5ad;},_0x280721[_0x12649d(0x271)]='Playwright';const _0x558c6d=_0x280721;_0x558c6d[_0x12649d(0x1db)](_0x3ee037[_0x12649d(0x207)]['name'],_0x558c6d[_0x12649d(0x271)])?await _0x3ee037[_0x12649d(0x299)](_0x4c715c=>{},testOpsHelper[_0x12649d(0x2aa)]()):await _0x3ee037[_0x12649d(0x299)](testOpsHelper[_0x12649d(0x2aa)]());}),markSessionName=PerformanceTester[a1_0x1fabc4(0x1d9)](PerformanceAutEvents[a1_0x1fabc4(0x2a5)],async(_0x3bc00c,_0x415d68)=>{const _0x57e095=a1_0x1fabc4,_0x5c0a00={};_0x5c0a00[_0x57e095(0x26e)]='setSessionName',_0x5c0a00[_0x57e095(0x266)]=function(_0x46cd7b,_0x2a3ebd){return _0x46cd7b===_0x2a3ebd;},_0x5c0a00[_0x57e095(0x1e0)]=_0x57e095(0x27d);const _0x872733=_0x5c0a00,_0x176884={};_0x176884[_0x57e095(0x288)]=_0x415d68;const _0x185dcf={};_0x185dcf[_0x57e095(0x27e)]=_0x872733[_0x57e095(0x26e)],_0x185dcf[_0x57e095(0x1ed)]=_0x176884;const _0x26f178=_0x185dcf;_0x872733[_0x57e095(0x266)](_0x3bc00c[_0x57e095(0x207)][_0x57e095(0x288)],_0x872733[_0x57e095(0x1e0)])?await _0x3bc00c[_0x57e095(0x299)](()=>{},_0x57e095(0x1f7)+JSON[_0x57e095(0x23f)](_0x26f178)):await _0x3bc00c[_0x57e095(0x299)](_0x57e095(0x1f7)+JSON['stringify'](_0x26f178));}),patchSaveScreenshot=_0x276b2f=>{const _0x32500a=a1_0x1fabc4,_0xced89b={'GAnqe':'base64','rUPRE':_0x32500a(0x1cd),'nibJN':function(_0x2d27d1){return _0x2d27d1();},'qivfC':function(_0x2b9eb7,_0x49d5e9){return _0x2b9eb7(_0x49d5e9);},'hgYBR':_0x32500a(0x201)};_0xced89b['qivfC'](isTrue,process[_0x32500a(0x283)][_0x32500a(0x1f5)])&&!_0x276b2f[_0x32500a(0x2c0)]&&(_0x276b2f['patchSaveScreenshot']=!![],_0x276b2f[_0x32500a(0x217)]=_0x276b2f[_0x32500a(0x21e)],_0x276b2f['saveScreenshot']=(_0x444087,_0x1fdd61=![])=>{const _0x20c25c=_0x32500a,_0x487418={'idYRK':_0xced89b['GAnqe'],'lWoBU':_0xced89b[_0x20c25c(0x293)],'bSNkn':function(_0x43724a){const _0x5b74ab=_0x20c25c;return _0xced89b[_0x5b74ab(0x2a2)](_0x43724a);},'jahGr':function(_0x5e0108,_0x89776f){const _0x21c7a9=_0x20c25c;return _0xced89b[_0x21c7a9(0x1e1)](_0x5e0108,_0x89776f);},'qrDRF':_0xced89b[_0x20c25c(0x277)]};return new Promise(function(_0x552aa4,_0x4228e4){const _0x3a4f07=_0x20c25c,_0x430083={'yUJFP':_0x487418[_0x3a4f07(0x281)],'unViz':_0x487418[_0x3a4f07(0x220)],'UusTD':function(_0x5c4f7e){return _0x487418['bSNkn'](_0x5c4f7e);},'mBxqL':function(_0x250eeb,_0x2de6fd){const _0x502a56=_0x3a4f07;return _0x487418[_0x502a56(0x1fe)](_0x250eeb,_0x2de6fd);},'Npvsz':_0x487418[_0x3a4f07(0x1c1)]};_0x276b2f[_0x3a4f07(0x217)](_0x444087,_0x1fdd61)[_0x3a4f07(0x2b2)](()=>{const _0x1597d6=_0x3a4f07,_0x13e261=CodeceptUtils[_0x1597d6(0x29f)](_0x444087);if(_0x13e261){const _0x20601f=fs[_0x1597d6(0x269)](_0x13e261);process[_0x1597d6(0x275)]('bs:addLog:'+process[_0x1597d6(0x2ad)],{'timestamp':new Date()['toISOString'](),'message':_0x20601f[_0x1597d6(0x2ab)](_0x430083[_0x1597d6(0x244)]),'kind':_0x430083[_0x1597d6(0x1d7)]}),_0x430083[_0x1597d6(0x20a)](_0x552aa4);}_0x430083[_0x1597d6(0x1fd)](_0x4228e4,new Error(_0x430083['Npvsz']));})[_0x3a4f07(0x262)](()=>null);});});},patchWebDriverBefore=_0xd0dd37=>{const _0x2ddf9b=a1_0x1fabc4,_0x244b62={'sUpKP':function(_0x2e232f){return _0x2e232f();},'orakP':function(_0x3d62f5,_0x4ec17e){return _0x3d62f5(_0x4ec17e);},'xgFKD':function(_0x47c903,_0x549664){return _0x47c903===_0x549664;},'CgnHw':_0x2ddf9b(0x254),'kDKWu':function(_0x13aeb1,_0x25dcfa){return _0x13aeb1===_0x25dcfa;},'mXAiz':_0x2ddf9b(0x1d0),'BCTFn':function(_0x42886b,_0x348462){return _0x42886b===_0x348462;},'fDwgN':_0x2ddf9b(0x1fb)},_0x2d1372=async function(_0x1f222d,_0x50559d){const _0x9c8c44=_0x2ddf9b;_0x244b62[_0x9c8c44(0x21c)](isAccessibilityAutomationSession)&&!global[_0x9c8c44(0x24b)]&&global[_0x9c8c44(0x1d8)]&&scripts[_0x9c8c44(0x258)](_0x1f222d['name'])&&_0x244b62['orakP'](shouldPatchExecuteScript,arguments[0x2])&&(global['bstackAllyScanning']=!![],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x9c8c44(0x2ae)],async()=>{const _0x4bf255=_0x9c8c44;logger['debug'](_0x4bf255(0x296)+_0x1f222d[_0x4bf255(0x1fc)]+'\x20'+_0x1f222d[_0x4bf255(0x288)]),await AccessibilityHelper[_0x4bf255(0x21a)](_0xd0dd37,scripts[_0x4bf255(0x211)]);},{'command':_0x1f222d[_0x9c8c44(0x288)]})());global[_0x9c8c44(0x24b)]=![];const _0x8d4a2b=JSON['parse'](process['env'][_0x9c8c44(0x2b7)]||'{}');if(_0x244b62[_0x9c8c44(0x23c)](_0x8d4a2b?.[_0x9c8c44(0x209)]?.['name'],_0x244b62['CgnHw'])&&_0x244b62['kDKWu'](typeof _0x8d4a2b?.['testFramework']?.[_0x9c8c44(0x27b)],_0x244b62[_0x9c8c44(0x25c)])&&_0x8d4a2b?.[_0x9c8c44(0x209)]?.[_0x9c8c44(0x27b)][_0x9c8c44(0x2af)]('7'))return _0x50559d['apply'](null,Array['prototype']['slice'][_0x9c8c44(0x230)](arguments,0x2));return _0x50559d[_0x9c8c44(0x216)](this,Array[_0x9c8c44(0x236)][_0x9c8c44(0x255)]['call'](arguments,0x2));},_0x3c008a=CodeceptWebDriver[_0x2ddf9b(0x236)][_0x2ddf9b(0x2b4)];CodeceptWebDriver[_0x2ddf9b(0x236)][_0x2ddf9b(0x2b4)]=async function(){const _0x1878aa=_0x2ddf9b,_0x50f13a={'IyiFS':function(_0x56216a,_0x3fa20f){const _0x4b1e07=a1_0x4de4;return _0x244b62[_0x4b1e07(0x228)](_0x56216a,_0x3fa20f);},'DwSAs':_0x244b62[_0x1878aa(0x2bb)]};try{await _0x3c008a[_0x1878aa(0x216)](this,arguments);}catch(_0x43a090){logger[_0x1878aa(0x29c)](_0x1878aa(0x1ff)+util[_0x1878aa(0x261)](_0x43a090));}scripts['commandsToWrap']['filter'](_0x5b180d=>_0x5b180d['name']&&_0x5b180d[_0x1878aa(0x1fc)])[_0x1878aa(0x1e2)](_0x4536a7=>{const _0x1bb132=_0x1878aa;this[_0x1bb132(0x264)]['overwriteCommand'](_0x4536a7[_0x1bb132(0x288)],_0x2d1372[_0x1bb132(0x1f3)](this,_0x4536a7),_0x50f13a[_0x1bb132(0x250)](_0x4536a7[_0x1bb132(0x1fc)],_0x50f13a[_0x1bb132(0x2a7)]));}),_0x244b62[_0x1878aa(0x2a3)](processWebDriverConfig,_0xd0dd37);};};function parseJwt(_0x19b697){const _0x229bb6=a1_0x1fabc4,_0x212841={};_0x212841['IgsEW']=_0x229bb6(0x1f2);const _0x542bc3=_0x212841;if(!_0x19b697)return null;return JSON[_0x229bb6(0x233)](Buffer[_0x229bb6(0x26a)](_0x19b697[_0x229bb6(0x2c3)]('.')[0x1],_0x542bc3['IgsEW'])[_0x229bb6(0x2ab)]());}const patchPlaywrightBefore=()=>{const _0x2af36d=a1_0x1fabc4,_0x2ce784={'TLanE':_0x2af36d(0x249),'Ziuzv':function(_0x475b54){return _0x475b54();},'zMXZb':function(_0x8906a5,_0x2e150a){return _0x8906a5(_0x2e150a);},'enwDr':_0x2af36d(0x285),'IHhnx':function(_0x4362d2,_0x433c33){return _0x4362d2+_0x433c33;},'uRwur':_0x2af36d(0x1f0),'JOPrl':function(_0x1ff917){return _0x1ff917();},'dAkAv':function(_0x377511){return _0x377511();}};PlaywrightSessionDetails[_0x2af36d(0x21b)]();const _0x262a69=CodeceptPlaywright[_0x2af36d(0x236)][_0x2af36d(0x2b4)];CodeceptPlaywright[_0x2af36d(0x236)][_0x2af36d(0x2b4)]=async function(){const _0x2a6dd8=_0x2af36d,_0x2deae0={'ABIrw':function(_0x2a5b92){const _0x2f8a21=a1_0x4de4;return _0x2ce784[_0x2f8a21(0x1c3)](_0x2a5b92);},'fkeRs':_0x2ce784[_0x2a6dd8(0x1d6)]};this[_0x2a6dd8(0x289)]=await this[_0x2a6dd8(0x264)][_0x2a6dd8(0x1e4)]()[0x0];const _0xbff184=async()=>{const _0x223a75=_0x2a6dd8,_0x4e1674=this[_0x223a75(0x223)]&&this[_0x223a75(0x223)][_0x223a75(0x270)]&&this['config'][_0x223a75(0x270)][_0x223a75(0x1df)]&&Array[_0x223a75(0x1f8)](this['config'][_0x223a75(0x270)][_0x223a75(0x1df)])&&this[_0x223a75(0x223)][_0x223a75(0x270)][_0x223a75(0x1df)][_0x223a75(0x280)](_0x2ce784['TLanE']);if(_0x2ce784[_0x223a75(0x1c3)](isAccessibilityAutomationSession)&&!_0x4e1674)try{const _0x457db0=_0x2ce784[_0x223a75(0x1c6)](parseJwt,process[_0x223a75(0x283)][_0x223a75(0x28a)]);if(_0x457db0&&_0x457db0[_0x223a75(0x215)]&&_0x457db0['a11y_core_config'][_0x223a75(0x246)]){const _0x439fa9=this[_0x223a75(0x289)][_0x223a75(0x282)]['bind'](this[_0x223a75(0x289)]);this[_0x223a75(0x289)]['pages']=async function(){const _0x59268c=_0x223a75,_0x4bdbe2=await _0x2deae0[_0x59268c(0x242)](_0x439fa9),_0xfe8ff0=[];for(const _0x9a3588 of _0x4bdbe2){try{const _0x6107aa=await _0x9a3588[_0x59268c(0x26b)]();!_0x6107aa['startsWith'](_0x2deae0[_0x59268c(0x214)])&&_0xfe8ff0[_0x59268c(0x245)](_0x9a3588);}catch(_0x5bda45){_0xfe8ff0['push'](_0x9a3588);}}return _0xfe8ff0;};}if(!_0x2ce784[_0x223a75(0x1c3)](isBrowserstackInfra)){const _0x5b57a4=await this[_0x223a75(0x1f9)][_0x223a75(0x26b)]();if(_0x5b57a4[_0x223a75(0x2af)](_0x2ce784['enwDr'])){const _0x24fb8e=await this['browserContext'][_0x223a75(0x282)]();this[_0x223a75(0x1d4)](_0x24fb8e[0x0]);}}}catch(_0xce4603){logger[_0x223a75(0x29c)]('Failed\x20to\x20patch\x20pages\x20method\x20in\x20browserContext\x20for\x20a11y\x20domForge:\x20'+_0xce4603[_0x223a75(0x298)]+(_0xce4603[_0x223a75(0x25f)]?_0x2ce784[_0x223a75(0x26d)](_0x2ce784['uRwur'],_0xce4603[_0x223a75(0x25f)]):''));}};_0x2ce784[_0x2a6dd8(0x279)](isBrowserstackInfra)&&await _0x2ce784[_0x2a6dd8(0x279)](_0xbff184),await _0x262a69[_0x2a6dd8(0x216)](this,arguments),!_0x2ce784[_0x2a6dd8(0x2b1)](isBrowserstackInfra)&&await _0x2ce784[_0x2a6dd8(0x1c3)](_0xbff184);};},getCodeceptDriver=()=>{const _0x845171=a1_0x1fabc4,_0x5cfced={};_0x5cfced['kpqMZ']=_0x845171(0x2ba),_0x5cfced[_0x845171(0x276)]='Playwright',_0x5cfced[_0x845171(0x1c4)]='Puppeteer',_0x5cfced[_0x845171(0x204)]=_0x845171(0x287);const _0x50d5c1=_0x5cfced,_0x29296c=[_0x50d5c1[_0x845171(0x24c)],_0x50d5c1[_0x845171(0x276)],_0x50d5c1[_0x845171(0x1c4)],_0x50d5c1[_0x845171(0x204)]],_0x158ded=_0x29296c[_0x845171(0x1de)](_0x303413=>!!CodeceptJS[_0x845171(0x1ec)][_0x845171(0x1e5)](_0x303413));if(!_0x158ded)return null;return CodeceptJS[_0x845171(0x1ec)][_0x845171(0x1e5)](_0x158ded);};module[a1_0x1fabc4(0x1cb)]=function(_0x141802){const _0x11a839=a1_0x1fabc4,_0x46b195={'gqtVu':function(_0x3d5491){return _0x3d5491();},'UELkq':function(_0x58bce6,_0x33c007){return _0x58bce6(_0x33c007);},'WyhiC':_0x11a839(0x1dd),'MBdsE':_0x11a839(0x1fa),'Cmmdd':_0x11a839(0x263),'TNpJK':_0x11a839(0x2b3),'OjxiE':_0x11a839(0x1f1),'rPiLp':_0x11a839(0x1f6),'OXXgZ':_0x11a839(0x2b8),'PGuuY':_0x11a839(0x1e3),'UirXR':function(_0x734924){return _0x734924();},'RJVzN':'test-before','unfQW':function(_0x46834b,_0x2b76bf,_0x145bab){return _0x46834b(_0x2b76bf,_0x145bab);},'ujvvr':function(_0xb601ec,_0x3a81d4){return _0xb601ec(_0x3a81d4);},'yDMHc':'test-started','lCycK':_0x11a839(0x265),'ITndZ':function(_0x33f089){return _0x33f089();},'zeWrQ':function(_0x39a9fe,_0x2a4108,_0x13099d,_0x22ceb){return _0x39a9fe(_0x2a4108,_0x13099d,_0x22ceb);},'scZef':function(_0x1bb488,_0xf07e34,_0x589821,_0x3a8b58){return _0x1bb488(_0xf07e34,_0x589821,_0x3a8b58);},'YpXaD':function(_0x5085a1,_0x5a4a1e){return _0x5085a1===_0x5a4a1e;},'lAuSO':'Suite','ykGBP':'test-failed','NanBO':_0x11a839(0x227),'wpTrc':_0x11a839(0x27a),'aCATo':function(_0x25ab66,_0x2a8ecf,_0x56cfa7){return _0x25ab66(_0x2a8ecf,_0x56cfa7);},'bhUiu':_0x11a839(0x2ac),'nsfjT':_0x11a839(0x2bc),'XiHjs':_0x11a839(0x2a0),'xWAOi':'TEST_LOG','MjbAH':'step-comment','RZfdW':_0x11a839(0x1f4),'iOYSK':_0x11a839(0x26c),'pvyVO':'Playwright'};_0x141802[_0x11a839(0x202)]&&(global[_0x11a839(0x23b)]=_0x141802['skipSessionStatus']);PerformanceTester['startMonitoring']();const _0x328914=_0x46b195[_0x11a839(0x24d)](getCodeceptDriver),_0x214080=new O11yHelper(_0x328914,_0x141802),_0x5201c6=!!CodeceptJS[_0x11a839(0x1ec)][_0x11a839(0x1e5)](_0x46b195['pvyVO']);global[_0x11a839(0x23d)]=_0x328914,_0x328914&&(PerformanceTester[_0x11a839(0x1d9)](PerformanceEvents[_0x11a839(0x2c2)],()=>{const _0x4a6d80=_0x11a839;_0x5201c6?_0x46b195[_0x4a6d80(0x24d)](patchPlaywrightBefore):_0x46b195[_0x4a6d80(0x28c)](patchWebDriverBefore,_0x328914);})(),PerformanceTester[_0x11a839(0x1d9)](PerformanceEvents[_0x11a839(0x226)],()=>{const _0x50b03e=_0x11a839,_0x4cea52={};_0x4cea52[_0x50b03e(0x1c5)]=_0x46b195[_0x50b03e(0x2b6)],_0x4cea52['euYRb']=_0x46b195['MBdsE'],_0x4cea52[_0x50b03e(0x24a)]=_0x46b195['Cmmdd'],_0x4cea52[_0x50b03e(0x219)]=_0x46b195[_0x50b03e(0x256)];const _0x2addc9=_0x4cea52;_0x328914['getAccessibilityResultsSummary']=async()=>{const _0x2bfa43=_0x50b03e;if(global[_0x2bfa43(0x1d8)]){const _0x11c265={};return _0x11c265[_0x2bfa43(0x213)]=_0x2addc9[_0x2bfa43(0x1c5)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0xfad88a=_0x2bfa43;return await AccessibilityHelper[_0xfad88a(0x21a)](_0x328914,scripts[_0xfad88a(0x211)]);},_0x11c265)(),await PerformanceTester[_0x2bfa43(0x1d9)](PerformanceA11yEvents[_0x2bfa43(0x20e)],async()=>{const _0xab8dd5=_0x2bfa43;return await AccessibilityHelper[_0xab8dd5(0x21a)](_0x328914,scripts['getResultsSummary']);})();}return logger[_0x2bfa43(0x212)](_0x2addc9[_0x2bfa43(0x1d2)]),{};},_0x328914[_0x50b03e(0x263)]=async()=>{const _0x2f8d59=_0x50b03e;if(global['accessibilityPlatform']){const _0x1c985c={};return _0x1c985c[_0x2f8d59(0x213)]=_0x2addc9[_0x2f8d59(0x24a)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x2f8d59(0x2ae)],async()=>{const _0x6abfe9=_0x2f8d59;return await AccessibilityHelper[_0x6abfe9(0x21a)](_0x328914,scripts[_0x6abfe9(0x211)]);},_0x1c985c)(),await PerformanceTester[_0x2f8d59(0x1d9)](PerformanceA11yEvents[_0x2f8d59(0x1c2)],async()=>{const _0x5bda1d=_0x2f8d59;return await AccessibilityHelper[_0x5bda1d(0x21a)](_0x328914,scripts[_0x5bda1d(0x224)]);})();}return logger['warn'](_0x2addc9['gTinJ']),{};},_0x46b195[_0x50b03e(0x28c)](patchSaveScreenshot,_0x328914);})()),CodeceptJS[_0x11a839(0x1cc)][_0x11a839(0x2be)]['on'](CodeceptJS[_0x11a839(0x1cc)][_0x11a839(0x1d1)][_0x11a839(0x229)],()=>{const _0xdaf33b=_0x11a839;PerformanceTester[_0xdaf33b(0x268)](PerformanceEvents[_0xdaf33b(0x28b)]);try{_0x214080[_0xdaf33b(0x268)](),testOpsHelper[_0xdaf33b(0x206)](),PerformanceTester[_0xdaf33b(0x295)](PerformanceEvents[_0xdaf33b(0x28b)]);}catch(_0x649b31){PerformanceTester[_0xdaf33b(0x2a6)](_0x649b31),PerformanceTester['end'](PerformanceEvents[_0xdaf33b(0x28b)],![],_0x649b31);}}),CodeceptJS[_0x11a839(0x1cc)][_0x11a839(0x2be)]['on'](CodeceptJS[_0x11a839(0x1cc)][_0x11a839(0x1d1)][_0x11a839(0x20c)],async()=>{const _0x1b4289=_0x11a839;PerformanceTester['start'](PerformanceEvents[_0x1b4289(0x286)]);try{requestSpy['restore'](),await _0x214080[_0x1b4289(0x29a)](),PerformanceTester[_0x1b4289(0x295)](PerformanceEvents[_0x1b4289(0x286)]);}catch(_0x4535a4){PerformanceTester['captureError'](_0x4535a4),PerformanceTester[_0x1b4289(0x295)](PerformanceEvents[_0x1b4289(0x286)],![],_0x4535a4);}finally{PerformanceTester[_0x1b4289(0x239)]();}}),CodeceptJS[_0x11a839(0x1cc)][_0x11a839(0x2be)]['on'](CodeceptJS[_0x11a839(0x1cc)][_0x11a839(0x292)][_0x11a839(0x28f)],_0x209de1=>{const _0x25e0f7=_0x11a839;PerformanceTester[_0x25e0f7(0x268)](PerformanceEvents[_0x25e0f7(0x29d)]);try{const _0x31fb00=_0x209de1['ctx'][_0x25e0f7(0x27f)],_0x50f3b4=_0x214080[_0x25e0f7(0x22d)](TEST_EVENTS[_0x25e0f7(0x1cf)],_0x31fb00);CodeceptRecorder[_0x25e0f7(0x22e)](()=>_0x214080[_0x25e0f7(0x22b)](TEST_EVENTS[_0x25e0f7(0x1cf)],_0x50f3b4));const _0x39ea3f={};_0x39ea3f[_0x25e0f7(0x2c1)]=_0x46b195[_0x25e0f7(0x210)],PerformanceTester['end'](PerformanceEvents[_0x25e0f7(0x29d)],!![],null,_0x39ea3f);}catch(_0x2be6a2){const _0x358c14={};_0x358c14[_0x25e0f7(0x2c1)]=_0x46b195[_0x25e0f7(0x210)],PerformanceTester[_0x25e0f7(0x295)](PerformanceEvents[_0x25e0f7(0x29d)],![],_0x2be6a2,_0x358c14),PerformanceTester[_0x25e0f7(0x2a6)](_0x2be6a2);}}),CodeceptJS[_0x11a839(0x1cc)][_0x11a839(0x2be)]['on'](CodeceptJS['event']['hook'][_0x11a839(0x290)],_0x2bedcb=>{const _0x522ce6=_0x11a839,_0x36541f={};_0x36541f[_0x522ce6(0x2c1)]=_0x46b195['rPiLp'],PerformanceTester[_0x522ce6(0x268)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x36541f);try{const _0x187e2d=_0x2bedcb['ctx']['test'],_0x5c3a1b=_0x214080[_0x522ce6(0x22d)](TEST_EVENTS[_0x522ce6(0x21f)],_0x187e2d);CodeceptRecorder[_0x522ce6(0x22e)](()=>_0x214080[_0x522ce6(0x22b)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x5c3a1b));const _0x28e20a={};_0x28e20a[_0x522ce6(0x2c1)]=_0x46b195[_0x522ce6(0x23e)],PerformanceTester[_0x522ce6(0x295)](PerformanceHookEvents[_0x522ce6(0x29d)],!![],null,_0x28e20a);}catch(_0xe14796){PerformanceTester[_0x522ce6(0x2a6)](_0xe14796);const _0x23f4f9={};_0x23f4f9[_0x522ce6(0x2c1)]=_0x46b195['rPiLp'],PerformanceTester[_0x522ce6(0x295)](PerformanceHookEvents['SDK_HOOK'],![],_0xe14796,_0x23f4f9);}}),CodeceptJS[_0x11a839(0x1cc)]['dispatcher']['on'](CodeceptJS[_0x11a839(0x1cc)][_0x11a839(0x292)][_0x11a839(0x1d5)],async(_0x4c0c12,_0x347722)=>{const _0x41c2f6=_0x11a839;PerformanceTester[_0x41c2f6(0x268)](PerformanceHookEvents['SDK_HOOK']);try{const _0x38e501=_0x4c0c12['ctx'][_0x41c2f6(0x27f)],_0x1510ee=_0x214080[_0x41c2f6(0x22d)](TEST_EVENTS[_0x41c2f6(0x21f)],_0x38e501,_0x347722);CodeceptRecorder[_0x41c2f6(0x22e)](()=>_0x214080['fireEvent'](TEST_EVENTS[_0x41c2f6(0x21f)],_0x1510ee));const _0x1288d2={};_0x1288d2[_0x41c2f6(0x2c1)]=_0x46b195[_0x41c2f6(0x203)],PerformanceTester[_0x41c2f6(0x268)](PerformanceHookEvents[_0x41c2f6(0x29d)],!![],null,_0x1288d2);}catch(_0x14b454){PerformanceTester['captureError'](_0x14b454);const _0x209f74={};_0x209f74[_0x41c2f6(0x2c1)]=_0x46b195[_0x41c2f6(0x203)],PerformanceTester[_0x41c2f6(0x295)](PerformanceHookEvents[_0x41c2f6(0x29d)],![],_0x14b454,_0x209f74);}const _0x20d1b7={};_0x20d1b7[_0x41c2f6(0x2c1)]=_0x46b195[_0x41c2f6(0x203)],PerformanceTester[_0x41c2f6(0x295)](PerformanceHookEvents[_0x41c2f6(0x29d)],!![],null,_0x20d1b7);}),CodeceptJS[_0x11a839(0x1cc)][_0x11a839(0x2be)]['on'](CodeceptJS[_0x11a839(0x1cc)][_0x11a839(0x27f)][_0x11a839(0x229)],_0x19f22e=>{const _0x2eff6a=_0x11a839;PerformanceTester[_0x2eff6a(0x268)](PerformanceHookEvents['SDK_HOOK']);try{globals[_0x2eff6a(0x1c8)](_0x46b195['PGuuY'],_0x19f22e['title']);_0x46b195[_0x2eff6a(0x1e9)](isBrowserstackInfra)&&(_0x5201c6&&(global[_0x2eff6a(0x232)]={'currentTest':{'name':_0x19f22e[_0x2eff6a(0x273)],'testInfo':{'titlePath':_0x19f22e[_0x2eff6a(0x218)]()}}}));const _0x4c98bf={};_0x4c98bf[_0x2eff6a(0x2c1)]=_0x46b195[_0x2eff6a(0x247)],PerformanceTester[_0x2eff6a(0x295)](PerformanceHookEvents[_0x2eff6a(0x29d)],!![],null,_0x4c98bf);}catch(_0x110676){PerformanceTester['captureError'](_0x110676);const _0x139a37={};_0x139a37[_0x2eff6a(0x2c1)]=_0x46b195[_0x2eff6a(0x247)],PerformanceTester[_0x2eff6a(0x295)](PerformanceHookEvents['SDK_HOOK'],![],_0x110676,_0x139a37);}}),CodeceptJS[_0x11a839(0x1cc)]['dispatcher']['on'](CodeceptJS[_0x11a839(0x1cc)]['test'][_0x11a839(0x28f)],_0x211972=>{const _0x10d4c7=_0x11a839;PerformanceTester[_0x10d4c7(0x268)](PerformanceHookEvents['SDK_HOOK']);try{globals['setGlobal'](_0x46b195[_0x10d4c7(0x1e8)],_0x211972[_0x10d4c7(0x273)]);const _0x1a6092=_0x214080['captureEvent'](TEST_EVENTS['TEST_RUN_STARTED'],_0x211972);CodeceptRecorder[_0x10d4c7(0x22e)](()=>_0x214080['fireEvent'](TEST_EVENTS['TEST_RUN_STARTED'],_0x1a6092)),CodeceptRecorder['add'](async()=>{const _0x211390=_0x10d4c7;_0x46b195['UirXR'](isBrowserstackInfra)&&(!_0x46b195[_0x211390(0x28c)](isTrue,_0x141802[_0x211390(0x272)])&&await _0x46b195['unfQW'](markSessionName,_0x328914,_0x211972['title']),_0x214080['enabled']&&await _0x46b195[_0x211390(0x20f)](o11ySync,_0x328914));});}catch(_0x58d906){const _0x486553={};_0x486553[_0x10d4c7(0x2c1)]=_0x46b195[_0x10d4c7(0x24f)],PerformanceTester[_0x10d4c7(0x295)](PerformanceHookEvents[_0x10d4c7(0x29d)],![],_0x58d906,_0x486553),PerformanceTester[_0x10d4c7(0x2a6)](_0x58d906);}const _0x241cfb={};_0x241cfb[_0x10d4c7(0x2c1)]=_0x46b195['yDMHc'],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x241cfb);}),CodeceptJS[_0x11a839(0x1cc)]['dispatcher']['on'](CodeceptJS[_0x11a839(0x1cc)]['test']['passed'],_0x1ea94a=>{const _0xc70989=_0x11a839;PerformanceTester[_0xc70989(0x268)](PerformanceHookEvents['SDK_HOOK']);try{const _0xff455b=_0x214080[_0xc70989(0x22d)](TEST_EVENTS[_0xc70989(0x278)],_0x1ea94a);CodeceptRecorder['add'](()=>_0x214080['fireEvent'](TEST_EVENTS['TEST_RUN_FINISHED'],_0xff455b)),CodeceptRecorder[_0xc70989(0x22e)](async()=>{const _0x3d5ef3=_0xc70989,_0x2c0afd={'JByNg':function(_0x3cf761,_0x1e418e,_0x393d9f){return _0x46b195['unfQW'](_0x3cf761,_0x1e418e,_0x393d9f);}};_0x46b195[_0x3d5ef3(0x24d)](isBrowserstackInfra)&&await PerformanceTester[_0x3d5ef3(0x1d9)](PerformanceAutEvents[_0x3d5ef3(0x29e)],async()=>{const _0x35abc0=_0x3d5ef3;_0x5201c6?await _0x2c0afd['JByNg'](playwrightMarkSessionStatus,_0x328914,STATE_PASSED):await _0x2c0afd[_0x35abc0(0x25d)](markSessionStatus,_0x328914,STATE_PASSED);})();}),PerformanceTester[_0xc70989(0x295)](PerformanceEvents[_0xc70989(0x1dc)]);}catch(_0x484280){PerformanceTester[_0xc70989(0x2a6)](_0x484280);const _0x128e9e={};_0x128e9e[_0xc70989(0x2c1)]=_0x46b195['lCycK'],PerformanceTester[_0xc70989(0x295)](PerformanceHookEvents[_0xc70989(0x29d)],![],_0x484280,_0x128e9e),PerformanceTester['end'](PerformanceEvents[_0xc70989(0x1dc)],![],_0x484280);}const _0x470ea3={};_0x470ea3['hookType']=_0x46b195[_0xc70989(0x235)],PerformanceTester['end'](PerformanceHookEvents[_0xc70989(0x29d)],!![],null,_0x470ea3);}),CodeceptJS['event'][_0x11a839(0x2be)]['on'](CodeceptJS[_0x11a839(0x1cc)][_0x11a839(0x27f)]['failed'],(_0x54fa3c,_0x5294d0)=>{const _0x5172d1=_0x11a839,_0x30584d={'bXXbO':function(_0x309c78){const _0x3401de=a1_0x4de4;return _0x46b195[_0x3401de(0x1ef)](_0x309c78);},'eEKeg':function(_0x4f31e7,_0x217118,_0x544b16,_0x194080){const _0xc9e882=a1_0x4de4;return _0x46b195[_0xc9e882(0x2b9)](_0x4f31e7,_0x217118,_0x544b16,_0x194080);},'JHXZL':function(_0x5c7f87,_0x4635b5,_0xbb5bb8,_0x4c8a96){return _0x46b195['scZef'](_0x5c7f87,_0x4635b5,_0xbb5bb8,_0x4c8a96);}};PerformanceTester[_0x5172d1(0x268)](PerformanceHookEvents[_0x5172d1(0x29d)]);try{if(_0x46b195[_0x5172d1(0x20b)](_0x54fa3c['constructor'][_0x5172d1(0x288)],_0x46b195[_0x5172d1(0x1ca)])){const _0x3c9da3=_0x214080[_0x5172d1(0x22d)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x54fa3c[_0x5172d1(0x21d)][_0x5172d1(0x208)]);CodeceptRecorder[_0x5172d1(0x22e)](()=>_0x214080[_0x5172d1(0x22b)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x3c9da3));}else{const _0x307be3=_0x214080[_0x5172d1(0x22d)](TEST_EVENTS[_0x5172d1(0x278)],_0x54fa3c,_0x5294d0);CodeceptRecorder[_0x5172d1(0x22e)](()=>{const _0x18e899=_0x5172d1;try{_0x214080[_0x18e899(0x22b)](TEST_EVENTS[_0x18e899(0x278)],_0x307be3);}catch(_0x2b7698){logger[_0x18e899(0x29c)](_0x18e899(0x25a)+util[_0x18e899(0x261)](_0x2b7698)),PerformanceTester[_0x18e899(0x295)](PerformanceEvents[_0x18e899(0x1dc)],![],_0x2b7698);}}),CodeceptRecorder[_0x5172d1(0x22e)](async()=>{const _0x49d915=_0x5172d1;try{_0x30584d[_0x49d915(0x2c4)](isBrowserstackInfra)&&(_0x5201c6?await _0x30584d['eEKeg'](playwrightMarkSessionStatus,_0x328914,STATE_FAILED,_0x5294d0):await _0x30584d['JHXZL'](markSessionStatus,_0x328914,STATE_FAILED,_0x5294d0));}catch(_0x474fa2){logger[_0x49d915(0x29c)](_0x49d915(0x27c)+util[_0x49d915(0x261)](_0x474fa2)),PerformanceTester[_0x49d915(0x295)](PerformanceEvents[_0x49d915(0x1dc)],![],_0x474fa2);}});}PerformanceTester[_0x5172d1(0x295)](PerformanceEvents[_0x5172d1(0x1dc)]);}catch(_0x42f612){PerformanceTester[_0x5172d1(0x2a6)](_0x42f612);const _0x18c923={};_0x18c923['hookType']=_0x46b195[_0x5172d1(0x2bd)],PerformanceTester['end'](PerformanceHookEvents[_0x5172d1(0x29d)],![],_0x42f612,_0x18c923),PerformanceTester['end'](PerformanceEvents[_0x5172d1(0x1dc)],![],_0x42f612);}const _0x23601e={};_0x23601e[_0x5172d1(0x2c1)]=_0x46b195['ykGBP'],PerformanceTester[_0x5172d1(0x295)](PerformanceHookEvents[_0x5172d1(0x29d)],!![],null,_0x23601e);}),CodeceptJS[_0x11a839(0x1cc)][_0x11a839(0x2be)]['on'](CodeceptJS[_0x11a839(0x1cc)][_0x11a839(0x27f)][_0x11a839(0x274)],_0x6a86d7=>{const _0x548574=_0x11a839;PerformanceTester[_0x548574(0x268)](PerformanceHookEvents['SDK_HOOK']);try{const _0x3a7117=_0x214080[_0x548574(0x22d)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x6a86d7);CodeceptRecorder[_0x548574(0x22e)](()=>_0x214080['fireEvent'](TEST_EVENTS[_0x548574(0x253)],_0x3a7117)),PerformanceTester[_0x548574(0x295)](PerformanceEvents[_0x548574(0x1dc)]);}catch(_0x2c92c5){PerformanceTester[_0x548574(0x2a6)](_0x2c92c5),PerformanceTester[_0x548574(0x295)](PerformanceEvents[_0x548574(0x1dc)],![],_0x2c92c5);const _0x55badd={};_0x55badd[_0x548574(0x2c1)]=_0x46b195[_0x548574(0x1eb)],PerformanceTester[_0x548574(0x295)](PerformanceHookEvents[_0x548574(0x29d)],![],_0x2c92c5,_0x55badd);}const _0x38fe9b={};_0x38fe9b[_0x548574(0x2c1)]=_0x46b195['NanBO'],PerformanceTester[_0x548574(0x295)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x38fe9b);}),CodeceptJS[_0x11a839(0x1cc)][_0x11a839(0x2be)]['on'](CodeceptJS[_0x11a839(0x1cc)]['test'][_0x11a839(0x20c)],async(_0x2b1b34,_0x444005)=>{const _0x44a508=_0x11a839,_0x2878e7={};_0x2878e7[_0x44a508(0x297)]=_0x46b195[_0x44a508(0x24e)];const _0x42e776=_0x2878e7;try{PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK']);const _0x2971cc=_0x46b195[_0x44a508(0x2a1)](shouldScanTestForAccessibility,_0x2b1b34[_0x44a508(0x218)](),!![]);if(_0x46b195[_0x44a508(0x1ef)](isAccessibilityAutomationSession)&&global[_0x44a508(0x1d8)]&&_0x2971cc){const _0x5f1131={};_0x5f1131['thTestRunUuid']=_0x2b1b34[_0x44a508(0x248)],_0x5f1131[_0x44a508(0x205)]=process[_0x44a508(0x283)][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_UUID']],_0x5f1131[_0x44a508(0x1ee)]=process[_0x44a508(0x283)][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_JWT']];const _0x16fdc2=_0x5f1131;logger['debug']('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x44a508(0x23f)](_0x16fdc2)),CodeceptRecorder['add'](async()=>{const _0xbb3314=_0x44a508,_0x124557={};_0x124557[_0xbb3314(0x213)]=_0x42e776[_0xbb3314(0x297)],await PerformanceTester[_0xbb3314(0x1d9)](PerformanceA11yEvents[_0xbb3314(0x2ae)],async()=>{const _0x5e8ce1=_0xbb3314;await AccessibilityHelper['browserStackExecuteDriver'](_0x328914,scripts[_0x5e8ce1(0x211)]);},_0x124557)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x3582c0=_0xbb3314;await AccessibilityHelper['browserStackExecuteDriver'](_0x328914,scripts[_0x3582c0(0x1da)],_0x16fdc2);})();}),logger['info'](_0x46b195[_0x44a508(0x2b5)]);}const _0x276078={};_0x276078['hookType']=_0x46b195[_0x44a508(0x221)],PerformanceTester[_0x44a508(0x295)](PerformanceHookEvents[_0x44a508(0x29d)],!![],null,_0x276078);}catch(_0x39545c){PerformanceTester[_0x44a508(0x2a6)](_0x39545c);const _0x3a8a99={};_0x3a8a99[_0x44a508(0x2c1)]=_0x46b195['nsfjT'],PerformanceTester[_0x44a508(0x295)](PerformanceHookEvents[_0x44a508(0x29d)],![],_0x39545c,_0x3a8a99);}}),CodeceptJS[_0x11a839(0x1cc)][_0x11a839(0x2be)]['on'](CodeceptJS[_0x11a839(0x1cc)][_0x11a839(0x1d3)][_0x11a839(0x2a9)],_0x5b435f=>{const _0x40cb8a=_0x11a839;PerformanceTester[_0x40cb8a(0x268)](PerformanceHookEvents['SDK_HOOK']);try{process[_0x40cb8a(0x275)](_0x40cb8a(0x222)+process[_0x40cb8a(0x2ad)],{'timestamp':new Date()[_0x40cb8a(0x23a)](),'level':_0x46b195[_0x40cb8a(0x1ea)],'message':_0x5b435f,'kind':_0x46b195[_0x40cb8a(0x251)],'http_response':{}});}catch(_0x3ea27a){PerformanceTester[_0x40cb8a(0x2a6)](_0x3ea27a);const _0x2aa704={};_0x2aa704['hookType']=_0x46b195[_0x40cb8a(0x2a4)],PerformanceTester[_0x40cb8a(0x295)](PerformanceHookEvents[_0x40cb8a(0x29d)],![],_0x3ea27a,_0x2aa704);}const _0x1043ca={};_0x1043ca[_0x40cb8a(0x2c1)]=_0x46b195['MjbAH'],PerformanceTester[_0x40cb8a(0x295)](PerformanceHookEvents[_0x40cb8a(0x29d)],!![],null,_0x1043ca);}),CodeceptJS[_0x11a839(0x1cc)][_0x11a839(0x2be)]['on'](CodeceptJS['event'][_0x11a839(0x259)]['before'],_0x5786ae=>{const _0x586143=_0x11a839,_0x59dab8={};_0x59dab8[_0x586143(0x2c1)]=_0x46b195['RZfdW'],PerformanceTester[_0x586143(0x1d9)](PerformanceHookEvents[_0x586143(0x29d)],()=>{const _0x4b0502=_0x586143;_0x214080[_0x4b0502(0x225)](_0x5786ae);},_0x59dab8)();}),CodeceptJS[_0x11a839(0x1cc)][_0x11a839(0x2be)]['on'](CodeceptJS[_0x11a839(0x1cc)][_0x11a839(0x259)][_0x11a839(0x20c)],_0x5002c4=>{const _0x25b2af=_0x11a839,_0xadbfbf={};_0xadbfbf[_0x25b2af(0x2c1)]=_0x46b195[_0x25b2af(0x243)],PerformanceTester[_0x25b2af(0x1d9)](PerformanceHookEvents[_0x25b2af(0x29d)],()=>{const _0x2c9e9b=_0x25b2af;_0x214080[_0x2c9e9b(0x260)](_0x5002c4);},_0xadbfbf)();});};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a2_0x23cb20=a2_0x5a39;function a2_0x5a39(_0x2b5998,_0x2c74db){const _0x43fdc2=a2_0x43fd();return a2_0x5a39=function(_0x5a390d,_0xbaebfb){_0x5a390d=_0x5a390d-0xea;let _0x509532=_0x43fdc2[_0x5a390d];return _0x509532;},a2_0x5a39(_0x2b5998,_0x2c74db);}(function(_0x1b3294,_0x4f7584){const _0x3c3db1=a2_0x5a39,_0x32506a=_0x1b3294();while(!![]){try{const _0x1e633b=parseInt(_0x3c3db1(0x13f))/0x1+parseInt(_0x3c3db1(0xea))/0x2*(parseInt(_0x3c3db1(0x114))/0x3)+-parseInt(_0x3c3db1(0x160))/0x4*(-parseInt(_0x3c3db1(0xfd))/0x5)+-parseInt(_0x3c3db1(0x134))/0x6+parseInt(_0x3c3db1(0x12c))/0x7+-parseInt(_0x3c3db1(0x127))/0x8+parseInt(_0x3c3db1(0x144))/0x9;if(_0x1e633b===_0x4f7584)break;else _0x32506a['push'](_0x32506a['shift']());}catch(_0x5b5609){_0x32506a['push'](_0x32506a['shift']());}}}(a2_0x43fd,0x4ac4b));const fs=require('fs'),path=require(a2_0x23cb20(0x107)),util=require(a2_0x23cb20(0x111)),process=require(a2_0x23cb20(0xf1)),logger=require(a2_0x23cb20(0x100))[a2_0x23cb20(0xfc)],{default:BrowserStackSetup}=require(a2_0x23cb20(0x133)),helper=require('../../helpers/helper'),utilities=require(a2_0x23cb20(0x10f)),{checkAccessibilityPlatformConfig}=require(a2_0x23cb20(0x179)),{setAccessibilityCapabilities}=require(a2_0x23cb20(0x138)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x23cb20(0x16e)),CodeceptJS=requireModule(a2_0x23cb20(0x13c),'codeceptjs'),testOpsHelper=require('../../helpers/test-observability/utils'),TestHubHandler=require(a2_0x23cb20(0xef)),constants=require(a2_0x23cb20(0x150)),PerformanceTester=require('../../helpers/performance/performance-tester'),{FRAMEWORKS}=require(a2_0x23cb20(0x112)),PerformanceEvents=require(a2_0x23cb20(0xf3))[a2_0x23cb20(0x165)],ClientTroubleShootingService=require('../utils/clientTroubleshootingService'),_testErrorData=[],getUserCodeceptJSConfigs=(_0x14ef18,_0x407302)=>{const _0x48cd3a=a2_0x23cb20,_0x13b7a2={};_0x13b7a2['xRaJQ']=function(_0x3a96c0,_0x2ec818){return _0x3a96c0===_0x2ec818;},_0x13b7a2[_0x48cd3a(0x187)]=_0x48cd3a(0x120),_0x13b7a2[_0x48cd3a(0x157)]='codecept.json';const _0x4235aa=_0x13b7a2;let _0x1460b3=null;const _0x45c4b={};let _0x2526dc=_0x407302[_0x48cd3a(0x14b)](_0x4a8b07=>_0x4a8b07===_0x48cd3a(0xf6));_0x4235aa[_0x48cd3a(0x142)](_0x2526dc,-0x1)&&(_0x2526dc=_0x407302[_0x48cd3a(0x14b)](_0x4dc42b=>_0x4dc42b==='-c'));if(!helper['isUndefined'](_0x14ef18[_0x48cd3a(0x162)])&&fs[_0x48cd3a(0x135)](path['join'](process[_0x48cd3a(0x181)](),_0x14ef18[_0x48cd3a(0x162)])))_0x1460b3=path[_0x48cd3a(0x188)](process[_0x48cd3a(0x181)](),_0x14ef18['config']),_0x407302[_0x48cd3a(0x15e)](_0x2526dc,0x2);else{if(!helper['isUndefined'](_0x14ef18['c'])&&fs[_0x48cd3a(0x135)](path[_0x48cd3a(0x188)](process[_0x48cd3a(0x181)](),_0x14ef18['c'])))_0x1460b3=path[_0x48cd3a(0x188)](process[_0x48cd3a(0x181)](),_0x14ef18['c']),_0x407302[_0x48cd3a(0x15e)](_0x2526dc,0x2);else{if(fs[_0x48cd3a(0x135)](path['join'](process['cwd'](),_0x4235aa[_0x48cd3a(0x187)])))_0x1460b3=path[_0x48cd3a(0x188)](process[_0x48cd3a(0x181)](),_0x4235aa[_0x48cd3a(0x187)]);else fs[_0x48cd3a(0x135)](path[_0x48cd3a(0x188)](process[_0x48cd3a(0x181)](),_0x4235aa[_0x48cd3a(0x157)]))&&(_0x1460b3=path[_0x48cd3a(0x188)](process[_0x48cd3a(0x181)](),_0x4235aa[_0x48cd3a(0x157)]));}}return process[_0x48cd3a(0xf4)]['USER_CONFIG_DETAILS_PATH']=_0x1460b3,_0x1460b3;},getO11yRerunPattern=()=>{const _0x369928=a2_0x23cb20,_0x4c7077=helper['isTrue'](process[_0x369928(0xf4)][_0x369928(0x104)]);if(_0x4c7077){const _0x231b0b=process[_0x369928(0xf4)][_0x369928(0x125)],_0x48f35b=[];if(helper[_0x369928(0x10b)](_0x231b0b)&&!helper[_0x369928(0x180)](_0x231b0b)){_0x231b0b[_0x369928(0x118)](',')[_0x369928(0x17f)](_0x4a6436=>{const _0x22e569=_0x369928;_0x48f35b[_0x22e569(0x173)]('('+_0x4a6436[_0x22e569(0x156)]()+')');});const _0xf80038='^'+_0x48f35b[_0x369928(0x188)]('|')+'$';return _0xf80038;}}return null;},a2_0x1536f2={};a2_0x1536f2['chrome']=a2_0x23cb20(0xee),a2_0x1536f2[a2_0x23cb20(0xf5)]='chromium',a2_0x1536f2[a2_0x23cb20(0x154)]=a2_0x23cb20(0x129),a2_0x1536f2[a2_0x23cb20(0x14e)]=a2_0x23cb20(0x158);const pwToCodeceptBrowser=a2_0x1536f2;async function run(_0x33b76e,_0x22e0de,_0xaa2c7e){const _0x1d0d47=a2_0x23cb20,_0x1a45b8={'XlLfs':function(_0x6867c8,_0x184949){return _0x6867c8+_0x184949;},'cFLxi':function(_0x40f6c0,_0x4a92ec){return _0x40f6c0(_0x4a92ec);},'opKem':function(_0x2aa68a,_0x430891){return _0x2aa68a+_0x430891;},'uyCcO':function(_0x1c14d4,_0x269738,_0xaafa7a){return _0x1c14d4(_0x269738,_0xaafa7a);},'zegJB':'helpers','ACUfO':function(_0x40686c){return _0x40686c();},'abwrX':_0x1d0d47(0x149),'vRQPs':function(_0xd7da0b){return _0xd7da0b();},'KjcHY':_0x1d0d47(0x16b),'lDzkk':_0x1d0d47(0x122),'JhblW':'Started\x20:\x20','ENSxo':_0x1d0d47(0x126),'GBLQw':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','mDfBK':_0x1d0d47(0x15b),'lWYNM':_0x1d0d47(0x130),'cYAbx':function(_0x945a9a,_0x28bf35){return _0x945a9a!=_0x28bf35;},'gyNZm':function(_0x3662e4,_0x341a8d){return _0x3662e4===_0x341a8d;},'PoXuW':function(_0x3ced6f,_0x5691e4,_0xeba34c){return _0x3ced6f(_0x5691e4,_0xeba34c);},'SMqnc':_0x1d0d47(0x13d),'APPin':function(_0x29edb3,_0x9b81be){return _0x29edb3*_0x9b81be;},'gotUx':function(_0x410b02,_0x314686,_0x521d0c){return _0x410b02(_0x314686,_0x521d0c);},'lOanu':'browser','YUYSR':'desiredCapabilities','SFESo':function(_0x2323be,_0x5cc21d,_0x22d303){return _0x2323be(_0x5cc21d,_0x22d303);},'KTgpV':_0x1d0d47(0x11d),'usMll':_0x1d0d47(0x175),'CUZKE':_0x1d0d47(0xfb)};await _0xaa2c7e['initialize'](_0x33b76e),await helper[_0x1d0d47(0x170)](_0xaa2c7e['config']);if(!_0xaa2c7e[_0x1d0d47(0x162)])return;process['profile']=_0x33b76e[_0x1d0d47(0x117)];_0x33b76e[_0x1d0d47(0x117)]&&(process[_0x1d0d47(0xf4)][_0x1d0d47(0x117)]=_0x33b76e[_0x1d0d47(0x117)]);const _0x5e838a=_0x1a45b8[_0x1d0d47(0x109)](getUserCodeceptJSConfigs,_0x33b76e,_0x22e0de);let _0x3f691b={};_0x5e838a?(logger[_0x1d0d47(0x141)](_0x1d0d47(0x168)+_0x5e838a),_0x3f691b=CodeceptJS['config'][_0x1d0d47(0x147)](_0x5e838a)):logger[_0x1d0d47(0x141)](_0x1a45b8[_0x1d0d47(0xf0)]);let _0x585391=![];_0x1a45b8[_0x1d0d47(0x109)](nestedKeyValue,_0x3f691b,[_0x1a45b8[_0x1d0d47(0x12a)],_0x1a45b8[_0x1d0d47(0x15c)]])&&(_0x585391=!![]);const _0x3ae2ea=_0x585391?_0x1a45b8[_0x1d0d47(0x15c)]:_0x1a45b8[_0x1d0d47(0x103)];let _0x2a318d=!_0x585391?helper['useW3C'](_0xaa2c7e[_0x1d0d47(0x162)]):![];!helper[_0x1d0d47(0x180)](_0xaa2c7e[_0x1d0d47(0x162)][_0x1d0d47(0x182)])&&(process[_0x1d0d47(0xf4)][_0x1d0d47(0x132)]=JSON[_0x1d0d47(0x131)](_0xaa2c7e['config']['accessibilityOptions']));let _0x1e27a7=_0xaa2c7e[_0x1d0d47(0x162)][_0x1d0d47(0x183)];_0x1e27a7=_0x1e27a7||_0x1a45b8['cFLxi'](checkAccessibilityPlatformConfig,_0xaa2c7e[_0x1d0d47(0x162)]),process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x1e27a7;_0x1e27a7&&(_0x2a318d=!_0x1e27a7);_0x1a45b8[_0x1d0d47(0x146)](_0xaa2c7e[_0x1d0d47(0x162)][_0x1d0d47(0x15a)],null)?process[_0x1d0d47(0xf4)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0xaa2c7e[_0x1d0d47(0x162)][_0x1d0d47(0x15a)]:process[_0x1d0d47(0xf4)][_0x1d0d47(0x116)]=_0x1a45b8[_0x1d0d47(0xf8)](_0x3ae2ea,_0x1a45b8[_0x1d0d47(0x15c)]);const _0x23515c=_0x1a45b8[_0x1d0d47(0x189)](nestedKeyValue,_0x3f691b,[_0x1a45b8[_0x1d0d47(0x14c)]]),_0x223de3=_0x23515c&&!helper['isEmpty'](_0x23515c)?FRAMEWORKS[_0x1d0d47(0x110)]:FRAMEWORKS['CODECEPT'],_0x1a6bce=await TestHubHandler[_0x1d0d47(0x13a)](_0x223de3,_0xaa2c7e);_0x1e27a7&&_0x1a45b8[_0x1d0d47(0x169)](setAccessibilityCapabilities,_0xaa2c7e[_0x1d0d47(0x162)]);const _0x5ac102={},_0x243202=[],_0xe6c2da=_0xaa2c7e[_0x1d0d47(0x162)][_0x1d0d47(0x102)]||helper[_0x1d0d47(0x186)](_0x33b76e,_0x22e0de,_0xaa2c7e[_0x1d0d47(0x162)],constants[_0x1d0d47(0xff)]['CODECEPT'])||0x1;let _0x339b7c=0x1;if(_0x1a45b8['ACUfO'](isBrowserstackInfra)){const _0x48790d=helper['prepareCapabilities'](_0xaa2c7e['config'],_0x2a318d,constants[_0x1d0d47(0xff)][_0x1d0d47(0x121)]);_0x48790d[_0x1d0d47(0x12d)](_0x4d90fb=>{const _0x3145e9=_0x1d0d47;helper[_0x3145e9(0x17e)](_0x4d90fb);}),helper[_0x1d0d47(0x184)](_0xaa2c7e[_0x1d0d47(0x162)])?_0x339b7c=_0x1a45b8[_0x1d0d47(0x136)](_0xe6c2da,_0xaa2c7e['config'][_0x1d0d47(0xfa)][_0x1d0d47(0x17a)]):_0x339b7c=_0xe6c2da,_0x48790d[_0x1d0d47(0x12d)](_0x9144e7=>{const _0x3aaa2b=_0x1d0d47,_0xa8f6da=_0x1a45b8['opKem'](helper[_0x3aaa2b(0x140)](_0x9144e7,'_'),'_'+Date[_0x3aaa2b(0x166)]()),_0x32a38a=((()=>{const _0x3895a9=_0x3aaa2b;if(_0x585391){const _0x5c17db=pwToCodeceptBrowser[_0x9144e7[_0x3895a9(0x16c)]]||_0x9144e7[_0x3895a9(0x16c)];return{'browser':_0x5c17db,[_0x5c17db]:{'browserWSEndpoint':_0x1a45b8['XlLfs'](helper[_0x3895a9(0xf7)](_0xaa2c7e['config']),_0x1a45b8[_0x3895a9(0x169)](encodeURIComponent,JSON[_0x3895a9(0x131)](_0x9144e7)))}};}const _0x2a18da={};return _0x2a18da[_0x3895a9(0x124)]=_0x9144e7,_0x2a18da[_0x3895a9(0xf9)]=_0xaa2c7e[_0x3895a9(0x162)][_0x3895a9(0x139)],_0x2a18da[_0x3895a9(0x143)]=_0xaa2c7e[_0x3895a9(0x162)][_0x3895a9(0x11f)],_0x2a18da;})()),_0x46f874=_0x1a45b8[_0x3aaa2b(0x109)](nestedKeyValue,_0x3f691b,[_0x1a45b8['zegJB'],_0x3ae2ea]);_0x5ac102[_0xa8f6da]=_0x46f874?helper['mergeDeep'](_0x32a38a,_0x46f874):_0x32a38a;if(_0x585391)_0x5ac102[_0xa8f6da][_0x3aaa2b(0x106)]=pwToCodeceptBrowser[_0x9144e7[_0x3aaa2b(0x16c)]]||_0x9144e7['browserName'];else{_0x5ac102[_0xa8f6da][_0x3aaa2b(0x106)]=_0x9144e7[_0x3aaa2b(0x16c)]||_0x32a38a[_0x3aaa2b(0x106)];if(_0x1a45b8[_0x3aaa2b(0x10d)](isBrowserstackInfra)){_0x5ac102[_0xa8f6da][_0x3aaa2b(0x108)]=constants[_0x3aaa2b(0x14f)][_0x3aaa2b(0x11b)](_0x1a45b8[_0x3aaa2b(0x16a)],'')[_0x3aaa2b(0x11b)](/https?:\/\//,'');;_0x5ac102[_0xa8f6da][_0x3aaa2b(0x107)]=_0x1a45b8[_0x3aaa2b(0x16a)];}}_0x243202['push'](_0xa8f6da);});}else{_0x339b7c=0x1;if(_0x585391){const _0x2cea5e=_0x1a45b8[_0x1d0d47(0x14a)](nestedKeyValue,_0x3f691b,[_0x1a45b8[_0x1d0d47(0x12a)],_0x3ae2ea,_0x1a45b8[_0x1d0d47(0x15f)]]),_0x501960=_0x1a45b8[_0x1d0d47(0x14a)](nestedKeyValue,_0x3f691b,[_0x1a45b8[_0x1d0d47(0x12a)],_0x3ae2ea,_0x2cea5e]);if(_0x501960&&_0x501960[_0x1d0d47(0x159)]){const _0x1145d3={};_0x1145d3[_0x1d0d47(0xfa)]=[],_0x501960[_0x1d0d47(0x159)]=helper[_0x1d0d47(0x12e)](Object[_0x1d0d47(0x148)]({},_0xaa2c7e[_0x1d0d47(0x162)],_0x1145d3),null,_0x223de3[_0x1d0d47(0x17b)](),null,null,_0x501960[_0x1d0d47(0x159)]);}}else{const _0x51fd85={};_0x51fd85[_0x1d0d47(0xfa)]=[],_0x3f691b[_0x1a45b8['zegJB']][_0x3ae2ea][_0x1a45b8['YUYSR']]=helper[_0x1d0d47(0x12e)](Object[_0x1d0d47(0x148)]({},_0xaa2c7e['config'],_0x51fd85),null,_0x223de3['toLowerCase'](),_0x1a45b8[_0x1d0d47(0x137)](nestedKeyValue,_0x3f691b,[_0x1a45b8['zegJB'],_0x3ae2ea,_0x1a45b8[_0x1d0d47(0x101)]])||{},null,null);}_0x5ac102[_0x1a45b8[_0x1d0d47(0x113)]]=_0x3f691b,_0x243202[_0x1d0d47(0x173)](_0x1a45b8[_0x1d0d47(0x113)]);}const _0x11f66f={};_0x11f66f[_0x1d0d47(0x16f)]=_0x5e838a;const _0x353dde=_0x11f66f,_0x3892b4=path[_0x1d0d47(0x188)](__dirname,_0x1a45b8['usMll']),_0x28cb2d=process['cwd']();process[_0x1d0d47(0xf4)][_0x1a45b8[_0x1d0d47(0x10e)]]=_0x28cb2d,process[_0x1d0d47(0x123)](path['dirname'](_0x5e838a));const _0x184e2b=new CodeceptJS[(_0x1d0d47(0x145))](null,_0x353dde),_0x3f7ab1=_0x184e2b['createGroupsOfSuites'](_0x339b7c),_0x5dbe6b=testOpsHelper[_0x1d0d47(0x13b)](),_0x4a11e5=_0x243202['map'](_0x82f2ef=>{const _0x172f23=_0x1d0d47,_0x4f7c08={};_0x4f7c08[_0x172f23(0x15b)]=_0x5ac102[_0x82f2ef];const _0x2f7245={};_0x2f7245[_0x172f23(0x130)]=_0x5ac102[_0x82f2ef];const _0x4e0dc3=_0x585391?_0x4f7c08:_0x2f7245,_0x105f2f=_0x1a45b8[_0x172f23(0x10d)](getO11yRerunPattern),_0x2ccd52={};_0x2ccd52[_0x172f23(0x119)]=_0x4e0dc3;const _0x36a1d1={};_0x36a1d1[_0x172f23(0x171)]=_0x3892b4,_0x36a1d1['enabled']=!![],_0x36a1d1['skipSessionName']=_0xaa2c7e[_0x172f23(0x162)][_0x172f23(0x152)]['skipSessionName'],_0x36a1d1[_0x172f23(0x128)]=_0xaa2c7e['config'][_0x172f23(0x152)][_0x172f23(0x128)],_0x36a1d1[_0x172f23(0x15a)]=_0x5dbe6b,_0x36a1d1[_0x172f23(0x14d)]=_0x223de3;const _0x4c1586={};_0x4c1586[_0x172f23(0x151)]=_0x36a1d1;const _0x1d9b9f={};return _0x1d9b9f[_0x172f23(0x11a)]=_0x4c1586,helper['mergeDeep']({},_0x3f691b,_0x1a45b8[_0x172f23(0x185)](isBrowserstackInfra)?_0x2ccd52:{},_0x105f2f?{'grep':_0x105f2f}:{},_0x1d9b9f);});for(const _0x82ddc9 of _0x4a11e5){for(const _0x5e34e1 of _0x3f7ab1){const _0x54434c=_0x184e2b[_0x1d0d47(0x177)]();_0x54434c[_0x1d0d47(0x163)](_0x5e34e1),_0x54434c[_0x1d0d47(0x161)](_0x82ddc9);const _0x2a6c35={};_0x2a6c35[_0x1d0d47(0x162)]=_0x5e838a,_0x54434c['addOptions'](Object[_0x1d0d47(0x148)](_0x2a6c35,_0x33b76e));}}_0x184e2b['on'](CodeceptJS[_0x1d0d47(0x155)][_0x1d0d47(0x13e)][_0x1d0d47(0x10a)],(_0x5962fa,_0xd51b4a)=>{const _0x39d3c5=_0x1d0d47;console[_0x39d3c5(0x167)](_0x1a45b8[_0x39d3c5(0x11e)],_0x5962fa[_0x39d3c5(0x176)]);const _0x2b5217={[_0x5962fa[_0x39d3c5(0x176)]]:_0x5962fa[_0x39d3c5(0x10c)][_0x39d3c5(0x178)]};_testErrorData['push'](_0x2b5217);}),_0x184e2b['on'](CodeceptJS[_0x1d0d47(0x155)][_0x1d0d47(0x13e)][_0x1d0d47(0x16d)],async _0x5cfabd=>{const _0x37bf91=_0x1d0d47;console['log'](_0x1a45b8[_0x37bf91(0x105)],_0x5cfabd[_0x37bf91(0x176)]);}),_0x184e2b['on'](CodeceptJS[_0x1d0d47(0x155)]['test'][_0x1d0d47(0x153)],async _0x3e09dd=>{const _0x321a47=_0x1d0d47;console['log'](_0x1a45b8[_0x321a47(0xeb)],_0x3e09dd['title']);}),_0x184e2b['on'](CodeceptJS[_0x1d0d47(0x155)][_0x1d0d47(0x12b)][_0x1d0d47(0xf2)],async()=>{const _0x1b74c4=_0x1d0d47,_0x40b7f1=_0x1a45b8[_0x1b74c4(0x172)]['split']('|');let _0x2adc29=0x0;while(!![]){switch(_0x40b7f1[_0x2adc29++]){case'0':PerformanceTester[_0x1b74c4(0x15d)](PerformanceEvents[_0x1b74c4(0x174)]);continue;case'1':testOpsHelper[_0x1b74c4(0xec)]();continue;case'2':_0xaa2c7e[_0x1b74c4(0x17d)]=_testErrorData;continue;case'3':try{await TestHubHandler[_0x1b74c4(0x12f)]();}catch(_0x1e59b8){logger[_0x1b74c4(0x17c)](_0x1b74c4(0x164)+util['format'](_0x1e59b8));}continue;case'4':_0x184e2b['printResults']();continue;case'5':utilities[_0x1b74c4(0xed)](_0xaa2c7e);continue;}break;}});async function _0xdaad66(){const _0x3b7842=_0x1d0d47;try{await _0x184e2b[_0x3b7842(0x11c)](),await _0x184e2b['run']();}finally{process[_0x3b7842(0x123)](_0x28cb2d),await _0x184e2b[_0x3b7842(0xfe)]();}}PerformanceTester[_0x1d0d47(0x115)](PerformanceEvents['SDK_SETUP']),_0x1a45b8['vRQPs'](_0xdaad66);}module['exports']=run;function a2_0x43fd(){const _0x2baf60=['push','SDK_CLEANUP','BrowserStackPlugin.js','title','spawn','stack','../../helpers/accessibility-automation/helper','length','toLowerCase','debug','errorMessage','setAdditionalCapabilities','map','isUndefined','cwd','accessibilityOptions','accessibility','validPlatformsPresent','vRQPs','getUserWorkerCount','ONKJD','join','PoXuW','508HBUqoA','JhblW','printBuildLink','finalExecution','chromium','../../helpers/testhub/testhubHandler','GBLQw','process','result','../../helpers/performance/constants','env','playwright-chromium','--config','getPlaywrightUrl','gyNZm','user','platforms','browserStackCwd','winstonLogger','5LuRlsH','teardownAll','FRAMEWORKS','../../helpers/logger','YUYSR','parallelsPerPlatform','lWYNM','BROWSERSTACK_RERUN','lDzkk','browser','path','host','uyCcO','failed','validateRerunTestList','err','ACUfO','CUZKE','../../helpers/utilities','CODECEPT_CUCUMBER','util','../../helpers/test-observability/constants','KTgpV','1497mDRaLS','end','BROWSERSTACK_TEST_OBSERVABILITY_YML','profile','split','helpers','plugins','replace','bootstrapAll','root','KjcHY','accessKey','codecept.conf.js','CODECEPT','Passed\x20:\x20','chdir','desiredCapabilities','BROWSERSTACK_RERUN_TESTS','0|2|1|5|3|4','3172984rNHIGo','skipSessionStatus','firefox','zegJB','all','2378446KXzCel','forEach','prepareCapabilities','stop','WebDriver','stringify','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','../../helpers/BrowserStackSetup','2038752GNJvLt','existsSync','APPin','SFESo','../../bin/playwright/accessibility-helper','userName','launchBuild','isTestObservabilitySession','codeceptjs/lib/index.js','gherkin','test','127279yjpFpp','getPlatformName','info','xRaJQ','key','59454XPPQfL','Workers','cYAbx','load','assign','/wd/hub','gotUx','findIndex','SMqnc','frameworkName','playwright-webkit','hubUrl','../utils/constants','BrowserStackPlugin','testContextOptions','before','playwright-firefox','event','trim','YPqDG','webkit','browserWSEndpoint','testObservability','Playwright','mDfBK','start','slice','lOanu','1769028zKitHe','addConfig','config','addTests','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','EVENTS','now','log','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','cFLxi','abwrX','Failed\x20:\x20','browserName','passed','../../helpers/helper','testConfig','handleApp','require','ENSxo'];a2_0x43fd=function(){return _0x2baf60;};return a2_0x43fd();}
2
+ 'use strict';const a2_0x105019=a2_0x5612;(function(_0x294544,_0x200b29){const _0x2f2b52=a2_0x5612,_0x180a6d=_0x294544();while(!![]){try{const _0x27a57=parseInt(_0x2f2b52(0x1ad))/0x1+-parseInt(_0x2f2b52(0x1dc))/0x2+-parseInt(_0x2f2b52(0x1cb))/0x3*(parseInt(_0x2f2b52(0x16b))/0x4)+-parseInt(_0x2f2b52(0x193))/0x5+-parseInt(_0x2f2b52(0x189))/0x6*(parseInt(_0x2f2b52(0x1e9))/0x7)+parseInt(_0x2f2b52(0x1df))/0x8*(parseInt(_0x2f2b52(0x1fd))/0x9)+-parseInt(_0x2f2b52(0x1cf))/0xa*(-parseInt(_0x2f2b52(0x1a2))/0xb);if(_0x27a57===_0x200b29)break;else _0x180a6d['push'](_0x180a6d['shift']());}catch(_0x3c9a26){_0x180a6d['push'](_0x180a6d['shift']());}}}(a2_0x2ac3,0xcd53a));const fs=require('fs'),path=require('path'),util=require(a2_0x105019(0x1de)),process=require(a2_0x105019(0x1ba)),logger=require(a2_0x105019(0x17b))[a2_0x105019(0x1d3)],{default:BrowserStackSetup}=require(a2_0x105019(0x19b)),helper=require(a2_0x105019(0x1b5)),utilities=require('../../helpers/utilities'),{checkAccessibilityPlatformConfig}=require(a2_0x105019(0x192)),{setAccessibilityCapabilities}=require(a2_0x105019(0x1a5)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x105019(0x1b5)),CodeceptJS=requireModule('codeceptjs/lib/index.js',a2_0x105019(0x1b4)),testOpsHelper=require('../../helpers/test-observability/utils'),TestHubHandler=require(a2_0x105019(0x16a)),constants=require(a2_0x105019(0x1f9)),PerformanceTester=require(a2_0x105019(0x1fe)),{FRAMEWORKS}=require(a2_0x105019(0x16e)),PerformanceEvents=require(a2_0x105019(0x1fb))[a2_0x105019(0x1e7)],ClientTroubleShootingService=require(a2_0x105019(0x1f5)),_testErrorData=[],getUserCodeceptJSConfigs=(_0x40b9fc,_0x47895e)=>{const _0x59278d=a2_0x105019,_0x3e6c20={};_0x3e6c20[_0x59278d(0x1d0)]=function(_0x41d366,_0x588ed1){return _0x41d366===_0x588ed1;},_0x3e6c20[_0x59278d(0x1f8)]=_0x59278d(0x19c),_0x3e6c20[_0x59278d(0x202)]=_0x59278d(0x1d9);const _0x111e34=_0x3e6c20;let _0x44a36a=null;const _0x3f90dd={};let _0xf13e6b=_0x47895e['findIndex'](_0x455d79=>_0x455d79===_0x59278d(0x197));_0x111e34[_0x59278d(0x1d0)](_0xf13e6b,-0x1)&&(_0xf13e6b=_0x47895e[_0x59278d(0x19f)](_0x1e0bcf=>_0x1e0bcf==='-c'));if(!helper['isUndefined'](_0x40b9fc[_0x59278d(0x1b8)])&&fs['existsSync'](path[_0x59278d(0x1b9)](process[_0x59278d(0x194)](),_0x40b9fc[_0x59278d(0x1b8)])))_0x44a36a=path[_0x59278d(0x1b9)](process[_0x59278d(0x194)](),_0x40b9fc[_0x59278d(0x1b8)]),_0x47895e['slice'](_0xf13e6b,0x2);else{if(!helper[_0x59278d(0x19a)](_0x40b9fc['c'])&&fs[_0x59278d(0x1f1)](path[_0x59278d(0x1b9)](process['cwd'](),_0x40b9fc['c'])))_0x44a36a=path[_0x59278d(0x1b9)](process[_0x59278d(0x194)](),_0x40b9fc['c']),_0x47895e['slice'](_0xf13e6b,0x2);else{if(fs[_0x59278d(0x1f1)](path[_0x59278d(0x1b9)](process[_0x59278d(0x194)](),_0x111e34[_0x59278d(0x1f8)])))_0x44a36a=path[_0x59278d(0x1b9)](process[_0x59278d(0x194)](),_0x111e34[_0x59278d(0x1f8)]);else fs['existsSync'](path[_0x59278d(0x1b9)](process[_0x59278d(0x194)](),_0x111e34[_0x59278d(0x202)]))&&(_0x44a36a=path[_0x59278d(0x1b9)](process[_0x59278d(0x194)](),_0x111e34[_0x59278d(0x202)]));}}return process['env'][_0x59278d(0x1ca)]=_0x44a36a,_0x44a36a;},getO11yRerunPattern=()=>{const _0x2bf2f4=a2_0x105019,_0x29b2ee=helper[_0x2bf2f4(0x18b)](process[_0x2bf2f4(0x1e1)][_0x2bf2f4(0x1ff)]);if(_0x29b2ee){const _0x2ad698=process[_0x2bf2f4(0x1e1)][_0x2bf2f4(0x17c)],_0x5f14ea=[];if(helper[_0x2bf2f4(0x203)](_0x2ad698)&&!helper[_0x2bf2f4(0x19a)](_0x2ad698)){_0x2ad698[_0x2bf2f4(0x1b0)](',')['map'](_0x48741e=>{const _0x5a0677=_0x2bf2f4;_0x5f14ea[_0x5a0677(0x16c)]('('+_0x48741e['trim']()+')');});const _0x31a0ed='^'+_0x5f14ea[_0x2bf2f4(0x1b9)]('|')+'$';return _0x31a0ed;}}return null;},a2_0x334b17={};function a2_0x5612(_0xb4b642,_0x20d225){const _0x2ac32b=a2_0x2ac3();return a2_0x5612=function(_0x561272,_0x3477bf){_0x561272=_0x561272-0x169;let _0x484e8a=_0x2ac32b[_0x561272];return _0x484e8a;},a2_0x5612(_0xb4b642,_0x20d225);}a2_0x334b17['chrome']=a2_0x105019(0x1c9),a2_0x334b17['playwright-chromium']='chromium',a2_0x334b17[a2_0x105019(0x1e5)]=a2_0x105019(0x1ef),a2_0x334b17[a2_0x105019(0x201)]=a2_0x105019(0x186);const pwToCodeceptBrowser=a2_0x334b17;async function run(_0x33b09b,_0x46f9d0,_0x58c773){const _0x23ed2b=a2_0x105019,_0x3b1b05={'GINEF':function(_0x3a3597,_0x51971e){return _0x3a3597+_0x51971e;},'cuPgP':function(_0x57a22f,_0x34f10d){return _0x57a22f(_0x34f10d);},'EkElu':function(_0x4d82d5,_0x4e083e){return _0x4d82d5+_0x4e083e;},'scdfL':function(_0x343d49,_0x499fb7,_0x574e9d){return _0x343d49(_0x499fb7,_0x574e9d);},'xlxXc':_0x23ed2b(0x1ee),'clBrq':function(_0x38384c){return _0x38384c();},'oHJDw':_0x23ed2b(0x180),'reIrj':function(_0x5a0291){return _0x5a0291();},'qThqA':_0x23ed2b(0x1b2),'RsJVw':_0x23ed2b(0x1e3),'ELkQs':_0x23ed2b(0x1f3),'lXFIk':_0x23ed2b(0x183),'tfHhe':function(_0x4b8763,_0x5b9c8d,_0x692783){return _0x4b8763(_0x5b9c8d,_0x692783);},'GmHql':_0x23ed2b(0x1f7),'yoSDB':function(_0x1f7f03,_0x123673,_0x452af0){return _0x1f7f03(_0x123673,_0x452af0);},'UMkpi':'Playwright','OPqWO':'WebDriver','QoIBf':function(_0x53cc13,_0x21702a){return _0x53cc13(_0x21702a);},'yRuYw':function(_0x5a3e0e,_0x55e8ba){return _0x5a3e0e!=_0x55e8ba;},'MDbzU':function(_0x30aad2,_0x33a60c){return _0x30aad2===_0x33a60c;},'JSnFc':_0x23ed2b(0x169),'CfhFv':function(_0x3d2635){return _0x3d2635();},'xmLLI':function(_0xe409ab,_0x16d888){return _0xe409ab*_0x16d888;},'ZIJzU':function(_0x71f0df,_0x2eec00,_0x372d6b){return _0x71f0df(_0x2eec00,_0x372d6b);},'cTghh':_0x23ed2b(0x1a7),'hDUjQ':function(_0x4bf5e9,_0x4b7434,_0x96efb4){return _0x4bf5e9(_0x4b7434,_0x96efb4);},'geGNP':'desiredCapabilities','CWDqB':_0x23ed2b(0x1a1),'qXQig':_0x23ed2b(0x204),'iJxeT':'browserStackCwd'};await _0x58c773[_0x23ed2b(0x173)](_0x33b09b),await helper['handleApp'](_0x58c773['config']);if(!_0x58c773[_0x23ed2b(0x1b8)])return;process[_0x23ed2b(0x1c4)]=_0x33b09b['profile'];_0x33b09b[_0x23ed2b(0x1c4)]&&(process[_0x23ed2b(0x1e1)][_0x23ed2b(0x1c4)]=_0x33b09b[_0x23ed2b(0x1c4)]);const _0x51f869=_0x3b1b05[_0x23ed2b(0x181)](getUserCodeceptJSConfigs,_0x33b09b,_0x46f9d0);let _0xd05d7c={};_0x51f869?(logger[_0x23ed2b(0x190)](_0x23ed2b(0x171)+_0x51f869),_0xd05d7c=CodeceptJS['config'][_0x23ed2b(0x1cd)](_0x51f869)):logger[_0x23ed2b(0x190)](_0x3b1b05[_0x23ed2b(0x1b1)]);let _0xb87d15=![];_0x3b1b05[_0x23ed2b(0x1f0)](nestedKeyValue,_0xd05d7c,[_0x3b1b05[_0x23ed2b(0x1eb)],_0x3b1b05[_0x23ed2b(0x1b6)]])&&(_0xb87d15=!![]);const _0xc82a71=_0xb87d15?_0x3b1b05[_0x23ed2b(0x1b6)]:_0x3b1b05[_0x23ed2b(0x17e)];let _0x5503e9=!_0xb87d15?helper['useW3C'](_0x58c773[_0x23ed2b(0x1b8)]):![];!helper[_0x23ed2b(0x19a)](_0x58c773['config'][_0x23ed2b(0x1c0)])&&(process[_0x23ed2b(0x1e1)][_0x23ed2b(0x1c1)]=JSON['stringify'](_0x58c773[_0x23ed2b(0x1b8)][_0x23ed2b(0x1c0)]));let _0x25bd51=_0x58c773[_0x23ed2b(0x1b8)][_0x23ed2b(0x1ae)];_0x25bd51=_0x25bd51||_0x3b1b05[_0x23ed2b(0x17f)](checkAccessibilityPlatformConfig,_0x58c773[_0x23ed2b(0x1b8)]),process[_0x23ed2b(0x1e1)][_0x23ed2b(0x191)]=_0x25bd51;_0x25bd51&&(_0x5503e9=!_0x25bd51);_0x3b1b05['yRuYw'](_0x58c773[_0x23ed2b(0x1b8)][_0x23ed2b(0x1da)],null)?process[_0x23ed2b(0x1e1)][_0x23ed2b(0x1d2)]=_0x58c773[_0x23ed2b(0x1b8)][_0x23ed2b(0x1da)]:process[_0x23ed2b(0x1e1)][_0x23ed2b(0x1d2)]=_0x3b1b05[_0x23ed2b(0x200)](_0xc82a71,_0x3b1b05[_0x23ed2b(0x1b6)]);const _0x1409f5=_0x3b1b05[_0x23ed2b(0x1bc)](nestedKeyValue,_0xd05d7c,[_0x3b1b05['JSnFc']]),_0x1bc7c5=_0x1409f5&&!helper['isEmpty'](_0x1409f5)?FRAMEWORKS['CODECEPT_CUCUMBER']:FRAMEWORKS[_0x23ed2b(0x1c8)],_0x8bfb88=await TestHubHandler['launchBuild'](_0x1bc7c5,_0x58c773);_0x25bd51&&_0x3b1b05[_0x23ed2b(0x17f)](setAccessibilityCapabilities,_0x58c773['config']);const _0x34a0de={},_0x3abcb4=[],_0x3e1151=_0x58c773[_0x23ed2b(0x1b8)][_0x23ed2b(0x18a)]||helper[_0x23ed2b(0x1d4)](_0x33b09b,_0x46f9d0,_0x58c773[_0x23ed2b(0x1b8)],constants['FRAMEWORKS'][_0x23ed2b(0x1c8)])||0x1;let _0x176ebb=0x1;if(_0x3b1b05[_0x23ed2b(0x1ce)](isBrowserstackInfra)){const _0xa9d39c=helper[_0x23ed2b(0x16d)](_0x58c773[_0x23ed2b(0x1b8)],_0x5503e9,constants[_0x23ed2b(0x1d7)][_0x23ed2b(0x1c8)]);_0xa9d39c[_0x23ed2b(0x199)](_0x18f030=>{helper['setAdditionalCapabilities'](_0x18f030);}),helper[_0x23ed2b(0x1cc)](_0x58c773[_0x23ed2b(0x1b8)])?_0x176ebb=_0x3b1b05['xmLLI'](_0x3e1151,_0x58c773['config'][_0x23ed2b(0x182)][_0x23ed2b(0x1e4)]):_0x176ebb=_0x3e1151,_0xa9d39c['forEach'](_0x1df3bc=>{const _0x13498f=_0x23ed2b,_0x5cf7c2=_0x3b1b05['EkElu'](helper[_0x13498f(0x1d1)](_0x1df3bc,'_'),'_'+Date[_0x13498f(0x1c3)]()),_0x1d21c2=((()=>{const _0x506eb2=_0x13498f;if(_0xb87d15){const _0x564074=pwToCodeceptBrowser[_0x1df3bc[_0x506eb2(0x1fc)]]||_0x1df3bc[_0x506eb2(0x1fc)];return{'browser':_0x564074,[_0x564074]:{'browserWSEndpoint':_0x3b1b05[_0x506eb2(0x1fa)](helper['getPlaywrightUrl'](_0x58c773['config']),_0x3b1b05[_0x506eb2(0x1a6)](encodeURIComponent,JSON[_0x506eb2(0x195)](_0x1df3bc)))}};}const _0x42788e={};return _0x42788e['desiredCapabilities']=_0x1df3bc,_0x42788e['user']=_0x58c773[_0x506eb2(0x1b8)][_0x506eb2(0x1c7)],_0x42788e['key']=_0x58c773[_0x506eb2(0x1b8)][_0x506eb2(0x1bb)],_0x42788e;})()),_0xfe6c46=_0x3b1b05[_0x13498f(0x1bc)](nestedKeyValue,_0xd05d7c,[_0x3b1b05[_0x13498f(0x1eb)],_0xc82a71]);_0x34a0de[_0x5cf7c2]=_0xfe6c46?helper[_0x13498f(0x1f6)](_0x1d21c2,_0xfe6c46):_0x1d21c2;if(_0xb87d15)_0x34a0de[_0x5cf7c2][_0x13498f(0x1a7)]=pwToCodeceptBrowser[_0x1df3bc[_0x13498f(0x1fc)]]||_0x1df3bc[_0x13498f(0x1fc)];else{_0x34a0de[_0x5cf7c2][_0x13498f(0x1a7)]=_0x1df3bc['browserName']||_0x1d21c2[_0x13498f(0x1a7)];if(_0x3b1b05['clBrq'](isBrowserstackInfra)){_0x34a0de[_0x5cf7c2][_0x13498f(0x170)]=constants['hubUrl'][_0x13498f(0x18f)](_0x3b1b05[_0x13498f(0x1c6)],'')[_0x13498f(0x18f)](/https?:\/\//,'');;_0x34a0de[_0x5cf7c2]['path']=_0x3b1b05[_0x13498f(0x1c6)];}}_0x3abcb4[_0x13498f(0x16c)](_0x5cf7c2);});}else{_0x176ebb=0x1;if(_0xb87d15){const _0x21f0e5=_0x3b1b05['ZIJzU'](nestedKeyValue,_0xd05d7c,[_0x3b1b05[_0x23ed2b(0x1eb)],_0xc82a71,_0x3b1b05[_0x23ed2b(0x1e2)]]),_0xd69444=_0x3b1b05[_0x23ed2b(0x1b7)](nestedKeyValue,_0xd05d7c,[_0x3b1b05[_0x23ed2b(0x1eb)],_0xc82a71,_0x21f0e5]);if(_0xd69444&&_0xd69444[_0x23ed2b(0x18c)]){const _0x28244d={};_0x28244d[_0x23ed2b(0x182)]=[],_0xd69444['browserWSEndpoint']=helper[_0x23ed2b(0x16d)](Object[_0x23ed2b(0x18d)]({},_0x58c773['config'],_0x28244d),null,_0x1bc7c5['toLowerCase'](),null,null,_0xd69444[_0x23ed2b(0x18c)]);}}else{const _0x1313ca={};_0x1313ca['platforms']=[],_0xd05d7c[_0x3b1b05[_0x23ed2b(0x1eb)]][_0xc82a71][_0x3b1b05[_0x23ed2b(0x196)]]=helper[_0x23ed2b(0x16d)](Object[_0x23ed2b(0x18d)]({},_0x58c773[_0x23ed2b(0x1b8)],_0x1313ca),null,_0x1bc7c5[_0x23ed2b(0x1d8)](),_0x3b1b05['ZIJzU'](nestedKeyValue,_0xd05d7c,[_0x3b1b05['xlxXc'],_0xc82a71,_0x3b1b05[_0x23ed2b(0x196)]])||{},null,null);}_0x34a0de[_0x3b1b05['CWDqB']]=_0xd05d7c,_0x3abcb4[_0x23ed2b(0x16c)](_0x3b1b05[_0x23ed2b(0x1ec)]);}const _0x15a781={};_0x15a781[_0x23ed2b(0x175)]=_0x51f869;const _0xca2c74=_0x15a781,_0x30d582=path[_0x23ed2b(0x1b9)](__dirname,_0x3b1b05['qXQig']),_0x56949d=process[_0x23ed2b(0x194)]();process[_0x23ed2b(0x1e1)][_0x3b1b05['iJxeT']]=_0x56949d,process[_0x23ed2b(0x1d5)](path[_0x23ed2b(0x188)](_0x51f869));const _0x57c5db=new CodeceptJS[(_0x23ed2b(0x1bf))](null,_0xca2c74),_0x3b574a=_0x57c5db['createGroupsOfSuites'](_0x176ebb),_0x205590=testOpsHelper[_0x23ed2b(0x19d)](),_0x344b14=_0x3abcb4['map'](_0x4fa508=>{const _0x1ef8c0=_0x23ed2b,_0xb6a282={};_0xb6a282[_0x1ef8c0(0x1e8)]=_0x34a0de[_0x4fa508];const _0x258033={};_0x258033[_0x1ef8c0(0x1a9)]=_0x34a0de[_0x4fa508];const _0x4c5a0f=_0xb87d15?_0xb6a282:_0x258033,_0x3316f2=_0x3b1b05[_0x1ef8c0(0x17a)](getO11yRerunPattern),_0x545c1f={};_0x545c1f[_0x1ef8c0(0x1ee)]=_0x4c5a0f;const _0x20e2bc={};_0x20e2bc[_0x1ef8c0(0x172)]=_0x30d582,_0x20e2bc[_0x1ef8c0(0x177)]=!![],_0x20e2bc[_0x1ef8c0(0x1db)]=_0x58c773[_0x1ef8c0(0x1b8)]['testContextOptions']['skipSessionName'],_0x20e2bc[_0x1ef8c0(0x1e6)]=_0x58c773[_0x1ef8c0(0x1b8)][_0x1ef8c0(0x1c5)][_0x1ef8c0(0x1e6)],_0x20e2bc[_0x1ef8c0(0x1da)]=_0x205590,_0x20e2bc[_0x1ef8c0(0x18e)]=_0x1bc7c5;const _0x2b30ce={};_0x2b30ce[_0x1ef8c0(0x1a8)]=_0x20e2bc;const _0xec7a04={};return _0xec7a04['plugins']=_0x2b30ce,helper[_0x1ef8c0(0x1f6)]({},_0xd05d7c,_0x3b1b05[_0x1ef8c0(0x17a)](isBrowserstackInfra)?_0x545c1f:{},_0x3316f2?{'grep':_0x3316f2}:{},_0xec7a04);});for(const _0x4203de of _0x344b14){for(const _0x5da78 of _0x3b574a){const _0x27053f=_0x57c5db['spawn']();_0x27053f[_0x23ed2b(0x187)](_0x5da78),_0x27053f['addConfig'](_0x4203de);const _0x352b50={};_0x352b50['config']=_0x51f869,_0x27053f[_0x23ed2b(0x1ed)](Object[_0x23ed2b(0x18d)](_0x352b50,_0x33b09b));}}_0x57c5db['on'](CodeceptJS['event'][_0x23ed2b(0x17d)][_0x23ed2b(0x184)],(_0xbfd38b,_0x4aebca)=>{const _0x35d807=_0x23ed2b;console['log'](_0x3b1b05[_0x35d807(0x178)],_0xbfd38b['title']);const _0x477543={[_0xbfd38b['title']]:_0xbfd38b['err'][_0x35d807(0x1bd)]};_testErrorData['push'](_0x477543);}),_0x57c5db['on'](CodeceptJS['event'][_0x23ed2b(0x17d)]['passed'],async _0x1fe8ce=>{const _0x3f66a9=_0x23ed2b;console[_0x3f66a9(0x198)](_0x3b1b05[_0x3f66a9(0x19e)],_0x1fe8ce[_0x3f66a9(0x1c2)]);}),_0x57c5db['on'](CodeceptJS[_0x23ed2b(0x16f)]['test'][_0x23ed2b(0x174)],async _0xd5f8f6=>{const _0x2a40ed=_0x23ed2b;console[_0x2a40ed(0x198)](_0x3b1b05[_0x2a40ed(0x1aa)],_0xd5f8f6['title']);}),_0x57c5db['on'](CodeceptJS['event'][_0x23ed2b(0x1af)][_0x23ed2b(0x1b3)],async()=>{const _0x5a9298=_0x23ed2b,_0x14b0da=_0x3b1b05[_0x5a9298(0x1ea)]['split']('|');let _0x180520=0x0;while(!![]){switch(_0x14b0da[_0x180520++]){case'0':utilities[_0x5a9298(0x176)](_0x58c773);continue;case'1':_0x57c5db[_0x5a9298(0x1a0)]();continue;case'2':testOpsHelper[_0x5a9298(0x1dd)]();continue;case'3':_0x58c773[_0x5a9298(0x1be)]=_testErrorData;continue;case'4':try{await TestHubHandler[_0x5a9298(0x1ab)]();}catch(_0x15d49d){logger[_0x5a9298(0x1ac)](_0x5a9298(0x1f4)+util[_0x5a9298(0x179)](_0x15d49d));}continue;case'5':PerformanceTester[_0x5a9298(0x1e0)](PerformanceEvents['SDK_CLEANUP']);continue;}break;}});async function _0xf8ef2(){const _0x1d38f4=_0x23ed2b;try{await _0x57c5db[_0x1d38f4(0x1f2)](),await _0x57c5db[_0x1d38f4(0x1a4)]();}finally{process[_0x1d38f4(0x1d5)](_0x56949d),await _0x57c5db[_0x1d38f4(0x1d6)]();}}PerformanceTester[_0x23ed2b(0x185)](PerformanceEvents[_0x23ed2b(0x1a3)]),_0x3b1b05[_0x23ed2b(0x17a)](_0xf8ef2);}function a2_0x2ac3(){const _0x53c883=['accessibility','all','split','GmHql','Failed\x20:\x20','result','codeceptjs','../../helpers/helper','UMkpi','hDUjQ','config','join','process','accessKey','scdfL','stack','errorMessage','Workers','accessibilityOptions','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','title','now','profile','testContextOptions','oHJDw','userName','CODECEPT','chromium','USER_CONFIG_DETAILS_PATH','3562458AQuXOT','validPlatformsPresent','load','CfhFv','420sAHeRg','OCWkC','getPlatformName','BROWSERSTACK_TEST_OBSERVABILITY_YML','winstonLogger','getUserWorkerCount','chdir','teardownAll','FRAMEWORKS','toLowerCase','codecept.json','testObservability','skipSessionName','1877272uPLNjD','printBuildLink','util','2936vXWQXD','start','env','cTghh','Passed\x20:\x20','length','playwright-firefox','skipSessionStatus','EVENTS','Playwright','1371342IJqeoW','lXFIk','xlxXc','CWDqB','addOptions','helpers','firefox','yoSDB','existsSync','bootstrapAll','Started\x20:\x20','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','../utils/clientTroubleshootingService','mergeDeep','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','JYAVs','../utils/constants','GINEF','../../helpers/performance/constants','browserName','4167VUYmEj','../../helpers/performance/performance-tester','BROWSERSTACK_RERUN','MDbzU','playwright-webkit','jprci','validateRerunTestList','BrowserStackPlugin.js','gherkin','../../helpers/testhub/testhubHandler','4KCfZpB','push','prepareCapabilities','../../helpers/test-observability/constants','event','host','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','require','initialize','before','testConfig','finalExecution','enabled','qThqA','format','reIrj','../../helpers/logger','BROWSERSTACK_RERUN_TESTS','test','OPqWO','QoIBf','/wd/hub','tfHhe','platforms','5|3|2|0|4|1','failed','end','webkit','addTests','dirname','18feosMj','parallelsPerPlatform','isTrue','browserWSEndpoint','assign','frameworkName','replace','info','BROWSERSTACK_TEST_ACCESSIBILITY_YML','../../helpers/accessibility-automation/helper','1457845fkXmkj','cwd','stringify','geGNP','--config','log','forEach','isUndefined','../../helpers/BrowserStackSetup','codecept.conf.js','isTestObservabilitySession','RsJVw','findIndex','printResults','root','724119mICspe','SDK_SETUP','run','../../bin/playwright/accessibility-helper','cuPgP','browser','BrowserStackPlugin','WebDriver','ELkQs','stop','debug','911688wEdWDa'];a2_0x2ac3=function(){return _0x53c883;};return a2_0x2ac3();}module['exports']=run;
@@ -1 +1 @@
1
- const a3_0x31366b=a3_0x15e1;(function(_0x14962d,_0x4fd248){const _0x3191f7=a3_0x15e1,_0x57d45a=_0x14962d();while(!![]){try{const _0x67ec51=-parseInt(_0x3191f7(0x131))/0x1+parseInt(_0x3191f7(0x12e))/0x2*(parseInt(_0x3191f7(0x140))/0x3)+parseInt(_0x3191f7(0x10c))/0x4+-parseInt(_0x3191f7(0x10f))/0x5*(-parseInt(_0x3191f7(0x11e))/0x6)+parseInt(_0x3191f7(0x139))/0x7*(parseInt(_0x3191f7(0x130))/0x8)+-parseInt(_0x3191f7(0x153))/0x9+-parseInt(_0x3191f7(0x132))/0xa*(parseInt(_0x3191f7(0x13c))/0xb);if(_0x67ec51===_0x4fd248)break;else _0x57d45a['push'](_0x57d45a['shift']());}catch(_0x4adf7f){_0x57d45a['push'](_0x57d45a['shift']());}}}(a3_0x26fc,0xcce93));function a3_0x15e1(_0x1e4330,_0xe82b0a){const _0x26fcdb=a3_0x26fc();return a3_0x15e1=function(_0x15e123,_0x4a84a5){_0x15e123=_0x15e123-0x10b;let _0x5a00ff=_0x26fcdb[_0x15e123];return _0x5a00ff;},a3_0x15e1(_0x1e4330,_0xe82b0a);}function a3_0x26fc(){const _0x4a54b3=['FqIOt','includes','450CbOMDV','Playwright','BMieS','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','tGxZK','string','browserName','ZzLom','bstack:options','browserstack_accessibility_automation_script','platformVersion','getDetails','bsSessionId','capabilities','platform','BocIt','46390HUtGOG','shouldPatchExecuteScript','536bUlyRg','388382oXAHVO','530FNRkJB','warn','../../bin/playwright/sessionDetails','browser','browserVersion','AUGKG','HLOcF','77224SlZFUf','searchParams','accessibilityPlatform','158345svHSZw','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','../../helpers/logger','cloudProvider','183fJdeYC','YSTQD','unknown_grid','processWebDriverConfig','os_version','deviceName','playwright-chromium','__cloud_provider___','wkFvd','lKAWs','constructor','../../helpers/helper','UgZCF','winstonLogger','fetchPlatformDetails','wzKAf','fIAYQ','latest','JLuUW','14045742QeiJkJ','name','ngYnQ','XAytm','KdKMe','fvldk','QHmJo','../../helpers/test-observability/utils','WFaOH','1117424cjhjZo','WebDriver','get','74525mWMFVG','platformName','platform_version','browserstack_executor','MReks','cwnxI','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','config','browser_version','desiredCapabilities','XElcq','ukADs','EQzcA'];a3_0x26fc=function(){return _0x4a54b3;};return a3_0x26fc();}const {isUndefined,nestedKeyValue}=require(a3_0x31366b(0x14b)),logger=require(a3_0x31366b(0x13e))[a3_0x31366b(0x14d)],PlaywrightSessionDetails=require(a3_0x31366b(0x134)),{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{getObservabilityLinkedProductName}=require(a3_0x31366b(0x15a)),getOSVersionFromCaps=_0x1ea37c=>{const _0x137ed8=a3_0x31366b,_0x4e3044={};_0x4e3044[_0x137ed8(0x141)]=_0x137ed8(0x126),_0x4e3044['wzKAf']=_0x137ed8(0x128),_0x4e3044['MjFcU']=_0x137ed8(0x111),_0x4e3044[_0x137ed8(0x14c)]='osVersion',_0x4e3044[_0x137ed8(0x119)]=_0x137ed8(0x144);const _0x4fe541=_0x4e3044;if(!_0x1ea37c)return null;const _0xd31f54=_0x1ea37c[_0x4fe541[_0x137ed8(0x141)]],_0x396ca7=[_0x4fe541[_0x137ed8(0x14f)],_0x4fe541['MjFcU'],_0x4fe541[_0x137ed8(0x14c)],_0x4fe541['XElcq']];for(const _0x37500f of _0x396ca7){if(_0xd31f54&&_0xd31f54[_0x37500f])return _0xd31f54[_0x37500f];else{if(_0x1ea37c[_0x37500f])return _0x1ea37c[_0x37500f];}}return null;};exports[a3_0x31366b(0x14e)]=_0x1f8ada=>{const _0x222168=a3_0x31366b,_0x57104c={'BMieS':_0x222168(0x142),'FqIOt':function(_0x9029cb,_0x5d31d0){return _0x9029cb===_0x5d31d0;},'QHmJo':_0x222168(0x10d),'HLOcF':function(_0x1e8910,_0x342905){return _0x1e8910(_0x342905);},'XAytm':function(_0x3f21d3,_0x5e4318,_0x104a6f){return _0x3f21d3(_0x5e4318,_0x104a6f);},'MReks':_0x222168(0x116),'JvFww':_0x222168(0x118),'JLuUW':function(_0x24b5ca,_0x4708b9){return _0x24b5ca(_0x4708b9);},'ZzLom':_0x222168(0x11f),'fIAYQ':'browser','BocIt':'browserWSEndpoint','WFaOH':'caps'};if(!_0x1f8ada)return null;let _0x554ad1=global[_0x222168(0x147)]||_0x57104c[_0x222168(0x120)];if(_0x57104c[_0x222168(0x11c)](_0x1f8ada[_0x222168(0x14a)]['name'],_0x57104c[_0x222168(0x159)])){const _0x1a3624=_0x1f8ada[_0x222168(0x135)];if(!_0x1a3624)return null;const _0x39944d=_0x1a3624['capabilities'],_0x1e97a4=_0x57104c[_0x222168(0x138)](getOSVersionFromCaps,_0x57104c[_0x222168(0x156)](nestedKeyValue,_0x1f8ada,[_0x57104c[_0x222168(0x113)],_0x57104c['JvFww']]));return{[_0x554ad1]:{'browser':_0x39944d[_0x222168(0x124)],'browser_version':_0x39944d[_0x222168(0x136)],'capabilities':_0x39944d,'platform':_0x39944d[_0x222168(0x110)],'platform_version':_0x39944d[_0x222168(0x128)]||_0x1e97a4,'product':_0x57104c[_0x222168(0x152)](getObservabilityLinkedProductName,_0x39944d),'session_id':_0x1a3624['sessionId']}};}else{if(_0x57104c[_0x222168(0x11c)](_0x1f8ada[_0x222168(0x14a)][_0x222168(0x154)],_0x57104c[_0x222168(0x125)])){const _0x444dc5=PlaywrightSessionDetails[_0x222168(0x129)]();_0x554ad1=_0x444dc5[_0x222168(0x13f)]||_0x554ad1;const _0x512bed=_0x57104c[_0x222168(0x156)](nestedKeyValue,_0x1f8ada,[_0x57104c[_0x222168(0x113)],_0x57104c[_0x222168(0x150)],_0x57104c[_0x222168(0x12d)]]),_0x382a6c=_0x512bed?JSON['parse'](new URL(_0x512bed)[_0x222168(0x13a)][_0x222168(0x10e)](_0x57104c[_0x222168(0x10b)])):{};return{[_0x554ad1]:{'browser':_0x444dc5[_0x222168(0x135)]||_0x382a6c[_0x222168(0x124)],'browser_version':_0x444dc5[_0x222168(0x117)]||_0x382a6c[_0x222168(0x117)],'capabilities':_0x382a6c,'platform':_0x444dc5[_0x222168(0x12c)],'platform_version':_0x444dc5[_0x222168(0x111)],'product':_0x57104c[_0x222168(0x138)](getObservabilityLinkedProductName,_0x382a6c),'session_id':_0x444dc5[_0x222168(0x12a)]}};}}},exports[a3_0x31366b(0x143)]=_0x53544a=>{const _0x5ec4d9=a3_0x31366b,_0x43988a={'wkFvd':function(_0x20e7ce){return _0x20e7ce();},'lKAWs':function(_0x635508,_0x584e43){return _0x635508===_0x584e43;},'uKRea':_0x5ec4d9(0x151),'JDfMV':function(_0x17674b,_0x3da90c){return _0x17674b>_0x3da90c;},'AUGKG':function(_0x4372d3,_0x4720ba){return _0x4372d3(_0x4720ba);},'fvldk':_0x5ec4d9(0x121),'EQzcA':'chrome','ukADs':_0x5ec4d9(0x146),'HDvFx':_0x5ec4d9(0x13d),'WzaYs':_0x5ec4d9(0x115)};if(_0x43988a[_0x5ec4d9(0x148)](isAccessibilityAutomationSession)){const _0x15a1ec=_0x53544a[_0x5ec4d9(0x135)],_0x345490=_0x15a1ec[_0x5ec4d9(0x12b)];global['accessibilityPlatform']=!![],!(_0x43988a['lKAWs'](_0x345490['browserVersion'],_0x43988a['uKRea'])||_0x43988a['JDfMV'](_0x43988a[_0x5ec4d9(0x137)](parseInt,_0x345490[_0x5ec4d9(0x136)]),0x5e))&&(logger[_0x5ec4d9(0x133)](_0x43988a[_0x5ec4d9(0x158)]),global[_0x5ec4d9(0x13b)]=![]),!(_0x43988a[_0x5ec4d9(0x149)](_0x345490[_0x5ec4d9(0x124)],_0x43988a[_0x5ec4d9(0x11b)])||_0x43988a['lKAWs'](_0x345490[_0x5ec4d9(0x124)],_0x43988a[_0x5ec4d9(0x11a)]))&&(logger[_0x5ec4d9(0x133)](_0x43988a['HDvFx']),global[_0x5ec4d9(0x13b)]=![]),!_0x43988a[_0x5ec4d9(0x137)](isUndefined,_0x345490[_0x5ec4d9(0x145)])&&(logger[_0x5ec4d9(0x133)](_0x43988a['WzaYs']),global[_0x5ec4d9(0x13b)]=![]);}},exports[a3_0x31366b(0x12f)]=_0x5cab48=>{const _0x3ee3de=a3_0x31366b,_0x5177b5={};_0x5177b5['cwnxI']=function(_0x28b5c4,_0x1305fc){return _0x28b5c4!==_0x1305fc;},_0x5177b5[_0x3ee3de(0x155)]=_0x3ee3de(0x123),_0x5177b5[_0x3ee3de(0x122)]=_0x3ee3de(0x112),_0x5177b5[_0x3ee3de(0x157)]=_0x3ee3de(0x127);const _0x36799a=_0x5177b5;if(!_0x5cab48)return![];else{if(_0x36799a[_0x3ee3de(0x114)](typeof _0x5cab48,_0x36799a['ngYnQ']))return!![];}return!_0x5cab48[_0x3ee3de(0x11d)](_0x36799a[_0x3ee3de(0x122)])&&!_0x5cab48[_0x3ee3de(0x11d)](_0x36799a[_0x3ee3de(0x157)]);};
1
+ const a3_0xf60339=a3_0x138f;(function(_0x7a5428,_0x12d523){const _0x5708f2=a3_0x138f,_0x7d8a6d=_0x7a5428();while(!![]){try{const _0x55e512=parseInt(_0x5708f2(0x179))/0x1+-parseInt(_0x5708f2(0x16d))/0x2*(parseInt(_0x5708f2(0x177))/0x3)+parseInt(_0x5708f2(0x193))/0x4*(-parseInt(_0x5708f2(0x18f))/0x5)+parseInt(_0x5708f2(0x172))/0x6+-parseInt(_0x5708f2(0x16b))/0x7+-parseInt(_0x5708f2(0x191))/0x8*(parseInt(_0x5708f2(0x173))/0x9)+-parseInt(_0x5708f2(0x176))/0xa*(-parseInt(_0x5708f2(0x197))/0xb);if(_0x55e512===_0x12d523)break;else _0x7d8a6d['push'](_0x7d8a6d['shift']());}catch(_0x4c2d46){_0x7d8a6d['push'](_0x7d8a6d['shift']());}}}(a3_0x5e04,0x6e877));function a3_0x5e04(){const _0x51e5ff=['browserWSEndpoint','JuzzN','4811202FZSdwP','1251lqXXJs','warn','TFdes','774140UsPfIh','3ZCIDDh','CrfMK','707974jgAoYC','constructor','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','XViGS','platform','accessibilityPlatform','desiredCapabilities','capabilities','osVersion','fSUgm','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','GKejD','browser_version','Rivgo','WebDriver','MAIHP','browserstack_executor','lXUFU','browserVersion','browserName','qVooJ','uOnze','3848310pHeAiO','platform_version','232kuVzRD','chrome','4gsNNJX','PLgjQ','kcVDZ','eqGyy','143yEVjZN','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','ZPLJd','winstonLogger','fetchPlatformDetails','parse','zupDT','nRfDn','platformName','../../helpers/test-observability/utils','PDErf','../../helpers/helper','pYGUa','rqqps','unknown_grid','lEKGL','pwwPL','deviceName','cloudProvider','get','searchParams','platformVersion','Playwright','config','playwright-chromium','AlLaB','browser','__cloud_provider___','latest','MJUZT','lAIIS','gKBLs','includes','../../helpers/accessibility-automation/helper','5177732iwUqEf','caps','1100254GPupNq','pLIJP','fqEXU'];a3_0x5e04=function(){return _0x51e5ff;};return a3_0x5e04();}function a3_0x138f(_0xa4ecac,_0x5273cf){const _0x5e0435=a3_0x5e04();return a3_0x138f=function(_0x138fc9,_0x138373){_0x138fc9=_0x138fc9-0x15c;let _0xae0690=_0x5e0435[_0x138fc9];return _0xae0690;},a3_0x138f(_0xa4ecac,_0x5273cf);}const {isUndefined,nestedKeyValue}=require(a3_0xf60339(0x1a2)),logger=require('../../helpers/logger')[a3_0xf60339(0x19a)],PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{isAccessibilityAutomationSession}=require(a3_0xf60339(0x16a)),{getObservabilityLinkedProductName}=require(a3_0xf60339(0x1a0)),getOSVersionFromCaps=_0x271b71=>{const _0x26db10=a3_0xf60339,_0x21a330={};_0x21a330['fqEXU']='bstack:options',_0x21a330[_0x26db10(0x1a6)]='platformVersion',_0x21a330['eqGyy']='platform_version',_0x21a330['AlLaB']=_0x26db10(0x181),_0x21a330[_0x26db10(0x178)]='os_version';const _0x508245=_0x21a330;if(!_0x271b71)return null;const _0x412d3e=_0x271b71[_0x508245[_0x26db10(0x16f)]],_0x45ccca=[_0x508245['lEKGL'],_0x508245[_0x26db10(0x196)],_0x508245[_0x26db10(0x162)],_0x508245[_0x26db10(0x178)]];for(const _0x157284 of _0x45ccca){if(_0x412d3e&&_0x412d3e[_0x157284])return _0x412d3e[_0x157284];else{if(_0x271b71[_0x157284])return _0x271b71[_0x157284];}}return null;};exports[a3_0xf60339(0x19b)]=_0x13e359=>{const _0x4349b5=a3_0xf60339,_0x5a54db={'Rivgo':_0x4349b5(0x1a5),'kcVDZ':function(_0x1f7461,_0x4ce3db){return _0x1f7461===_0x4ce3db;},'PLgjQ':_0x4349b5(0x187),'pYGUa':function(_0x187d21,_0xf23468){return _0x187d21(_0xf23468);},'XViGS':function(_0x3f3d92,_0x5f1300,_0x263cac){return _0x3f3d92(_0x5f1300,_0x263cac);},'MJUZT':_0x4349b5(0x160),'pwwPL':_0x4349b5(0x17f),'pLIJP':function(_0x15aa52,_0x10a3c6){return _0x15aa52(_0x10a3c6);},'mTVSc':function(_0xfcaeee,_0x2766ce){return _0xfcaeee===_0x2766ce;},'eZPux':_0x4349b5(0x15f),'ZPLJd':function(_0x49cfbd,_0x1f09fa,_0x1b6e5c){return _0x49cfbd(_0x1f09fa,_0x1b6e5c);},'XkdXT':_0x4349b5(0x163),'dKIuS':_0x4349b5(0x170),'lXUFU':_0x4349b5(0x16c),'gKBLs':function(_0x2c498b,_0x957ec9){return _0x2c498b(_0x957ec9);}};if(!_0x13e359)return null;let _0x538aa7=global[_0x4349b5(0x164)]||_0x5a54db[_0x4349b5(0x186)];if(_0x5a54db[_0x4349b5(0x195)](_0x13e359[_0x4349b5(0x17a)]['name'],_0x5a54db[_0x4349b5(0x194)])){const _0x288044=_0x13e359[_0x4349b5(0x163)];if(!_0x288044)return null;const _0x1b32ec=_0x288044['capabilities'],_0x4657c3=_0x5a54db[_0x4349b5(0x1a3)](getOSVersionFromCaps,_0x5a54db[_0x4349b5(0x17c)](nestedKeyValue,_0x13e359,[_0x5a54db[_0x4349b5(0x166)],_0x5a54db[_0x4349b5(0x1a7)]]));return{[_0x538aa7]:{'browser':_0x1b32ec[_0x4349b5(0x18c)],'browser_version':_0x1b32ec[_0x4349b5(0x18b)],'capabilities':_0x1b32ec,'platform':_0x1b32ec[_0x4349b5(0x19f)],'platform_version':_0x1b32ec[_0x4349b5(0x15e)]||_0x4657c3,'product':_0x5a54db[_0x4349b5(0x16e)](getObservabilityLinkedProductName,_0x1b32ec),'session_id':_0x288044['sessionId']}};}else{if(_0x5a54db['mTVSc'](_0x13e359[_0x4349b5(0x17a)]['name'],_0x5a54db['eZPux'])){const _0x184902=PlaywrightSessionDetails['getDetails']();_0x538aa7=_0x184902[_0x4349b5(0x1a9)]||_0x538aa7;const _0x59ac5f=_0x5a54db[_0x4349b5(0x199)](nestedKeyValue,_0x13e359,[_0x5a54db[_0x4349b5(0x166)],_0x5a54db['XkdXT'],_0x5a54db['dKIuS']]),_0x4b7f60=_0x59ac5f?JSON[_0x4349b5(0x19c)](new URL(_0x59ac5f)[_0x4349b5(0x15d)][_0x4349b5(0x15c)](_0x5a54db[_0x4349b5(0x18a)])):{};return{[_0x538aa7]:{'browser':_0x184902[_0x4349b5(0x163)]||_0x4b7f60[_0x4349b5(0x18c)],'browser_version':_0x184902[_0x4349b5(0x185)]||_0x4b7f60[_0x4349b5(0x185)],'capabilities':_0x4b7f60,'platform':_0x184902[_0x4349b5(0x17d)],'platform_version':_0x184902[_0x4349b5(0x190)],'product':_0x5a54db[_0x4349b5(0x168)](getObservabilityLinkedProductName,_0x4b7f60),'session_id':_0x184902['bsSessionId']}};}}},exports['processWebDriverConfig']=_0x37b50c=>{const _0x26f120=a3_0xf60339,_0xdaf624={'zupDT':function(_0x1e6296){return _0x1e6296();},'nRfDn':function(_0x1917ea,_0xb27f0b){return _0x1917ea===_0xb27f0b;},'PDErf':_0x26f120(0x165),'JuzzN':function(_0x30683f,_0x5d9896){return _0x30683f>_0x5d9896;},'uOnze':function(_0x586a4c,_0x405a81){return _0x586a4c(_0x405a81);},'cXMBV':_0x26f120(0x183),'GKejD':function(_0x4d9ccc,_0x26d6a7){return _0x4d9ccc===_0x26d6a7;},'fSUgm':_0x26f120(0x192),'ExdXl':_0x26f120(0x161),'JgYYl':_0x26f120(0x198),'TFdes':_0x26f120(0x17b)};if(_0xdaf624[_0x26f120(0x19d)](isAccessibilityAutomationSession)){const _0x4d12ce=_0x37b50c[_0x26f120(0x163)],_0x20e3ba=_0x4d12ce[_0x26f120(0x180)];global[_0x26f120(0x17e)]=!![],!(_0xdaf624[_0x26f120(0x19e)](_0x20e3ba['browserVersion'],_0xdaf624[_0x26f120(0x1a1)])||_0xdaf624[_0x26f120(0x171)](_0xdaf624['uOnze'](parseInt,_0x20e3ba[_0x26f120(0x18b)]),0x5e))&&(logger[_0x26f120(0x174)](_0xdaf624['cXMBV']),global[_0x26f120(0x17e)]=![]),!(_0xdaf624[_0x26f120(0x184)](_0x20e3ba[_0x26f120(0x18c)],_0xdaf624[_0x26f120(0x182)])||_0xdaf624[_0x26f120(0x184)](_0x20e3ba[_0x26f120(0x18c)],_0xdaf624['ExdXl']))&&(logger['warn'](_0xdaf624['JgYYl']),global[_0x26f120(0x17e)]=![]),!_0xdaf624[_0x26f120(0x18e)](isUndefined,_0x20e3ba[_0x26f120(0x1a8)])&&(logger['warn'](_0xdaf624[_0x26f120(0x175)]),global[_0x26f120(0x17e)]=![]);}},exports['shouldPatchExecuteScript']=_0x567eb4=>{const _0x478be7=a3_0xf60339,_0x487a62={};_0x487a62[_0x478be7(0x188)]=function(_0x594770,_0x3f1798){return _0x594770!==_0x3f1798;},_0x487a62[_0x478be7(0x1a4)]='string',_0x487a62[_0x478be7(0x18d)]=_0x478be7(0x189),_0x487a62[_0x478be7(0x167)]='browserstack_accessibility_automation_script';const _0x54fb76=_0x487a62;if(!_0x567eb4)return![];else{if(_0x54fb76[_0x478be7(0x188)](typeof _0x567eb4,_0x54fb76['rqqps']))return!![];}return!_0x567eb4[_0x478be7(0x169)](_0x54fb76[_0x478be7(0x18d)])&&!_0x567eb4[_0x478be7(0x169)](_0x54fb76[_0x478be7(0x167)]);};
@@ -1 +1 @@
1
- const a4_0x49be49=a4_0x5146;function a4_0x53f5(){const _0x2e6ed2=['bpIAH','CODECEPT','wsEndpoint','O11yHelper','inspect','accessibilityPlatform','test_run','TEST_EVENTS','failed','ZWGqF','statSync','FyfJN','groups','apply','HOOK_RUN_FINISHED','push','11051754xNlcdj','vqUtM','path','TestRunFinished','LQaeT','winstonLogger','gIaPB','toISOString','TIpph','start','sGWwa','156fWDMwO','finished_at','stop','Failed\x20to\x20parse\x20wsendpoint\x20','MIfgo','_afterEach','retryOf','split','result','TestRunSkipped','name','failed\x20to\x20get\x20root\x20parent\x20file\x20','UGUSZ','toString','FpzJP','PLAYWRIGHT_HUB_URL','captureEvent','failureData','util','9608azTIKf','pid','EfRUL','constructor','event_type','QFcVr','HOOK_RUN_STARTED','gfgkq','lwfyf','ldoZw','Playwright','TEST_RUN_STARTED','CBTSessionCreated','xlHIy','MIqbv','then','EucuY','connect','suites','getHooksForTest','11lRwwXm','sHaSJ','driver','hook','dUoQb','AbZnq','currentTest','bs:addLog:','javascript','shutdown','PLKNp','PungQ','err','nGBAu','DMsWw','finished','exports','currentHook','fullTitle','uuid','5085SucDpq','zgMFC','VwxsM','__cloud_provider___','TestRunStarted','_beforeAll','obsBrowserTypeMockApplied','hooks','launch','client','connectOverCDP','../../helpers/test-observability/utils','STATE_PASSED','KAkzE','../../helpers/helper','initializeBddStep','passed','TEST_REPORTING_ANALYTICS','TAVfM','BlijU','started','LogCreated','WrUUe','iisew','file_name','errorsDetailed','backtrace','enabled','skipped','stepAnalyticsId','UXail','iUmCE','3806470NYFBpd','location_prefix','length','cwd','BROWSERSTACK','hook_run_uuid','failure_reason_expanded','hook_run','LDlXD','_afterAll','../utils/constants','zMUMt','biwOj','findGitConfig','../../helpers/testhub/utils.js','bddStepFinish','match','../../helpers/test-observability/requestQueueHandler','setupBrowserDetails','arwNM','218fPOzPm','getFailureType','rHvvk','EAdvy','join','pending','mNANR','VAhSd','\x20with\x20error\x20:\x20','ctx','../playwright/accessibility-helper','hookAnalyticsId','gbYVH','tags','12025XgsDsA','defineProperty','aGcAP','now','getHierarchy','0|1|2|4|5|3','toUpperCase','.git','success','frameworkName','DoOih','forEach','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','File\x20path\x20could\x20not\x20be\x20found','feature','1443820zyAeup','bddSteps','__platformCaps','startedAt','PathHelper','mapTestHooks','integrations','2004PHTBfW','wbMSt','sendCBTInfo','HookRunFinished','patchConsoleLogger','toLowerCase','_beforeEach','replace','debug','CawxM','getRootParentFile','text','test','getInstance','xVkAv','lAXPM','ERFUy','test_run_uuid','SllsH','resetSkipTestHooks','jbqlh','uploadEventData','parent','baniq','uOdmr','Exception\x20in\x20uploading\x20log\x20data\x20to\x20','_testEnv','wQxIr','../../helpers/test-observability/constants','markedStatus','title','12bHyuDu','qFrnH','getCBTInfo','TTJgN','../../helpers/test-observability/sessionHandler','type','comment','NWGfB','failure','status','body','AHSaT','file','testAnalyticsId','getTime','../playwright/sessionDetails','ixQdk','admOz','ODxWc','failure_backtrace','CnTwS','appendTestItemLog','sep','vFObC','getHookType','193PXOdtd','_paths','OfiKH','logs','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','MtsbX','IpPjo','WMygG','browserType.js','lAuPS','CLOZz','vjkCb','fireEvent','includes','./helper.js','browserstack','169615pYQwzr','concat','ZizYu','TEST_RUN_FINISHED'];a4_0x53f5=function(){return _0x2e6ed2;};return a4_0x53f5();}(function(_0x4a584d,_0x2244b6){const _0x3076c6=a4_0x5146,_0x479a4f=_0x4a584d();while(!![]){try{const _0x2f8f9b=-parseInt(_0x3076c6(0xbd))/0x1*(-parseInt(_0x3076c6(0x15b))/0x2)+-parseInt(_0x3076c6(0x19e))/0x3*(-parseInt(_0x3076c6(0x178))/0x4)+parseInt(_0x3076c6(0xcd))/0x5*(parseInt(_0x3076c6(0xec))/0x6)+-parseInt(_0x3076c6(0xe1))/0x7+parseInt(_0x3076c6(0xff))/0x8*(parseInt(_0x3076c6(0x127))/0x9)+parseInt(_0x3076c6(0x147))/0xa*(-parseInt(_0x3076c6(0x113))/0xb)+parseInt(_0x3076c6(0x17f))/0xc*(-parseInt(_0x3076c6(0x169))/0xd);if(_0x2f8f9b===_0x2244b6)break;else _0x479a4f['push'](_0x479a4f['shift']());}catch(_0x2509b4){_0x479a4f['push'](_0x479a4f['shift']());}}}(a4_0x53f5,0xde874));const path=require(a4_0x49be49(0xe3)),fs=require('fs'),{v4:uuidv4}=require(a4_0x49be49(0x126)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x49be49(0x135)),testOpsHelper=require(a4_0x49be49(0x132)),{getTestEnv}=require('../mocha/test-observability/mochaUtils'),{FRAMEWORKS}=require(a4_0x49be49(0x19b)),logger=require('../../helpers/logger')[a4_0x49be49(0xe6)],SessionHandler=require(a4_0x49be49(0x1a2)),RequestQueueHandler=require(a4_0x49be49(0x158)),PlaywrightSessionDetails=require(a4_0x49be49(0xb3)),debug=testOpsHelper[a4_0x49be49(0x187)],{processAccessibilityCaps}=require(a4_0x49be49(0x165)),Constants=require(a4_0x49be49(0x151)),{fetchPlatformDetails}=require(a4_0x49be49(0xcb)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x49be49(0x155)),constants=require(a4_0x49be49(0x151)),STATE_PASSED='passed',STATE_FAILED=a4_0x49be49(0xd9),a4_0x390826={};a4_0x390826[a4_0x49be49(0x10a)]=a4_0x49be49(0x12b),a4_0x390826[a4_0x49be49(0xd0)]=a4_0x49be49(0xe4),a4_0x390826['TEST_RUN_SKIPPED']=a4_0x49be49(0xf5),a4_0x390826[a4_0x49be49(0x105)]='HookRunStarted',a4_0x390826[a4_0x49be49(0xdf)]=a4_0x49be49(0x182);const TEST_EVENTS=a4_0x390826,parseEvent=_0x83d1b5=>{const _0x5a03e1=a4_0x49be49,_0x486fa6={};_0x486fa6['nuTID']=function(_0x5b3007,_0xb1799d){return _0x5b3007<_0xb1799d;},_0x486fa6[_0x5a03e1(0x16b)]=function(_0xc59e4b,_0x57d7bc){return _0xc59e4b===_0x57d7bc;},_0x486fa6[_0x5a03e1(0x18f)]=_0x5a03e1(0x18b),_0x486fa6[_0x5a03e1(0xbf)]=function(_0x31f276,_0x6bf893){return _0x31f276===_0x6bf893;},_0x486fa6[_0x5a03e1(0x167)]=_0x5a03e1(0x116),_0x486fa6[_0x5a03e1(0xb6)]=_0x5a03e1(0x143),_0x486fa6[_0x5a03e1(0x118)]=_0x5a03e1(0x13b),_0x486fa6[_0x5a03e1(0x173)]='finished';const _0x142b1f=_0x486fa6,_0x226d93=_0x83d1b5['match'](/^(.*)Run(.*)$/);if(!_0x226d93)return null;if(_0x142b1f['nuTID'](_0x226d93[_0x5a03e1(0x149)],0x3))return null;const _0x6b4157=_0x226d93[0x1][_0x5a03e1(0x184)](),_0x4300cb=_0x226d93[0x2][_0x5a03e1(0x184)]();return{'test':_0x142b1f['aGcAP'](_0x6b4157,_0x142b1f['ERFUy']),'hook':_0x142b1f[_0x5a03e1(0xbf)](_0x6b4157,_0x142b1f[_0x5a03e1(0x167)]),'skipped':_0x142b1f[_0x5a03e1(0x16b)](_0x4300cb,_0x142b1f[_0x5a03e1(0xb6)]),'started':_0x142b1f[_0x5a03e1(0x16b)](_0x4300cb,_0x142b1f[_0x5a03e1(0x118)]),'finished':_0x142b1f[_0x5a03e1(0xbf)](_0x4300cb,_0x142b1f[_0x5a03e1(0x173)])};},mockPWBrowserType=_0x4136b3=>{const _0x272102=a4_0x49be49,_0x5407b6={'IpPjo':function(_0x2be395,_0x38d248){return _0x2be395===_0x38d248;},'zMUMt':'string','CawxM':function(_0x53c542,_0x3007a1,_0x209330){return _0x53c542(_0x3007a1,_0x209330);},'IoMJO':_0x272102(0xd3),'hObyk':function(_0xe87f8c,_0x1c8d88){return _0xe87f8c(_0x1c8d88);},'ldoZw':_0x272102(0xcc),'MIqbv':function(_0x30a540,_0x16344a){return _0x30a540(_0x16344a);},'VAhSd':'lib','vqUtM':_0x272102(0x130),'HXHDl':_0x272102(0xc5),'dUYkw':function(_0x567bfb,_0x66ba19){return _0x567bfb(_0x66ba19);},'PLKNp':'Not\x20able\x20to\x20import\x20Browser','gfgkq':_0x272102(0x110),'xlHIy':'launch'},_0x140381=path[_0x272102(0x15f)](_0x5407b6[_0x272102(0x162)],_0x5407b6[_0x272102(0xe2)],_0x5407b6['HXHDl']),_0x445d66=_0x5407b6['dUYkw'](importFileFromPWCore,_0x140381);if(!_0x445d66){_0x5407b6[_0x272102(0x10d)](debug,_0x5407b6[_0x272102(0x11d)]);return;}const _0x36915a=_0x445d66['BrowserType'],_0x3704fd=_0x36915a['prototype'];if(_0x3704fd[_0x272102(0x12d)])return;const _0x26de41=_0x3704fd[_0x272102(0x110)];Object['defineProperty'](_0x3704fd,_0x5407b6[_0x272102(0x106)],{'get':function(){return async function _0x4ac825(_0x1f68d9,_0x4f97fd){const _0x236b5a=a4_0x5146,_0x5262b4={'NWGfB':function(_0x209212,_0xab18d3){const _0x40e338=a4_0x5146;return _0x5407b6[_0x40e338(0xc3)](_0x209212,_0xab18d3);},'ujWPx':_0x5407b6[_0x236b5a(0x152)]},_0x1719b2=_0x5407b6[_0x236b5a(0x188)](nestedKeyValue,_0x1f68d9,[_0x5407b6['IoMJO']])||_0x1f68d9;let _0xf09e0e=null,_0x1f79ca=null;try{[_0x1f79ca,_0xf09e0e]=_0x1719b2?_0x5407b6['hObyk'](parseWSEndpoint,_0x1719b2):[null,null],global[_0x236b5a(0x17a)]=_0xf09e0e,logger['debug']('Checking\x20for\x20accessibility\x20automation\x20session\x20with\x20'+_0x1f79ca),_0x1f79ca[_0x236b5a(0xca)](Constants[_0x236b5a(0x14b)])&&(global[_0x236b5a(0x12a)]=_0x5407b6[_0x236b5a(0x108)]);}catch(_0x50ab7c){logger[_0x236b5a(0x187)](_0x236b5a(0xef)+_0x1719b2+'\x20'+_0x50ab7c);}_0x5407b6['CawxM'](processAccessibilityCaps,_0xf09e0e,_0x1f79ca);if(global[_0x236b5a(0xd6)]){const _0x5016ff=await _0x3704fd[_0x236b5a(0x131)][_0x236b5a(0xde)](this,[''+Constants[_0x236b5a(0xfb)]+_0x5407b6[_0x236b5a(0x10d)](encodeURIComponent,JSON['stringify'](_0xf09e0e))]);return PlaywrightSessionDetails[_0x236b5a(0x159)](_0x5016ff,_0x4136b3,_0x1719b2),_0x5016ff;}return _0x26de41[_0x236b5a(0xde)](this,arguments)[_0x236b5a(0x10e)](_0x139c32=>{const _0x553887=_0x236b5a;let _0x4ae430=_0x1f68d9['wsEndpoint'];return _0x5262b4[_0x553887(0x1a5)](typeof _0x1f68d9,_0x5262b4['ujWPx'])&&(_0x4ae430=_0x1f68d9),PlaywrightSessionDetails[_0x553887(0x159)](_0x139c32,_0x4136b3,_0x4ae430),_0x139c32;});};}});const _0x2606ea=_0x3704fd[_0x272102(0x12f)];Object[_0x272102(0x16a)](_0x3704fd,_0x5407b6[_0x272102(0x10c)],{'get':function(){return async function _0x2a1b63(){const _0x2cbbe4=a4_0x5146;return _0x2606ea['apply'](this,arguments)[_0x2cbbe4(0x10e)](_0x781462=>{const _0x4561ef=_0x2cbbe4;return PlaywrightSessionDetails[_0x4561ef(0x159)](_0x781462,null),_0x781462;});};}});};class O11yHelper{[a4_0x49be49(0x119)]=null;[a4_0x49be49(0x124)]=null;[a4_0x49be49(0x142)]=![];[a4_0x49be49(0x172)]=![];constructor(_0x55a2e6,_0x3aeea7){const _0xe48173=a4_0x49be49,_0x177d35={'BlijU':_0xe48173(0x16e),'ZizYu':function(_0x252aca){return _0x252aca();},'MtsbX':function(_0x4f878f,_0x4207fe){return _0x4f878f===_0x4207fe;},'ZWGqF':_0xe48173(0x109),'jbqlh':function(_0x157280,_0x1a782a){return _0x157280(_0x1a782a);},'AHSaT':function(_0x2d143a){return _0x2d143a();}},_0x2cfddf=_0x177d35[_0xe48173(0x13a)][_0xe48173(0xf3)]('|');let _0x203bc9=0x0;while(!![]){switch(_0x2cfddf[_0x203bc9++]){case'0':this['enabled']=_0x177d35[_0xe48173(0xcf)](shouldProcessEventForTesthub);continue;case'1':this[_0xe48173(0x172)]=_0x3aeea7[_0xe48173(0x172)];continue;case'2':this['driver']=_0x55a2e6;continue;case'3':this[_0xe48173(0x115)]&&_0x177d35[_0xe48173(0xc2)](this[_0xe48173(0x115)][_0xe48173(0x102)][_0xe48173(0xf6)],_0x177d35[_0xe48173(0xda)])&&_0x177d35[_0xe48173(0x193)](mockPWBrowserType,null);continue;case'4':this[_0xe48173(0x199)]=_0x177d35[_0xe48173(0x1a9)](getTestEnv);continue;case'5':this[_0xe48173(0xbe)]=new testOpsHelper[(_0xe48173(0x17c))]({'cwd':process[_0xe48173(0x14a)]()},this[_0xe48173(0x199)][_0xe48173(0x148)]);continue;}break;}}[a4_0x49be49(0xea)](){const _0x193864=a4_0x49be49;if(!this[_0x193864(0x142)])return;testOpsHelper[_0x193864(0x183)](),process['removeAllListeners'](_0x193864(0x11a)+process[_0x193864(0x100)]),process['on'](_0x193864(0x11a)+process['pid'],this['appendTestItemLog']['bind'](this));}async[a4_0x49be49(0xee)](){const _0xb0755f=a4_0x49be49;await RequestQueueHandler[_0xb0755f(0x18c)]()[_0xb0755f(0x11c)]();}async[a4_0x49be49(0xb9)](_0x416097){const _0x11bdd2=a4_0x49be49,_0x47857e={'LDlXD':_0x11bdd2(0x13c),'niItl':function(_0x14ce3c,_0x118eb6){return _0x14ce3c(_0x118eb6);}};try{this[_0x11bdd2(0x124)]&&!this[_0x11bdd2(0x124)][_0x11bdd2(0x19c)]&&(_0x416097[_0x11bdd2(0x14c)]=this['currentHook'][_0x11bdd2(0x166)]);!_0x416097['hook_run_uuid']&&this[_0x11bdd2(0x119)]&&!this['currentTest'][_0x11bdd2(0x19c)]&&(_0x416097[_0x11bdd2(0x190)]=this['currentTest'][_0x11bdd2(0xb1)]);if(_0x416097[_0x11bdd2(0x14c)]||_0x416097[_0x11bdd2(0x190)]){const _0x491a82={};_0x491a82['event_type']=_0x47857e[_0x11bdd2(0x14f)],_0x491a82[_0x11bdd2(0xc0)]=[_0x416097],await SessionHandler['uploadEventData'](_0x491a82);}}catch(_0x3b421d){_0x47857e['niItl'](debug,_0x11bdd2(0x198)+constants['TEST_REPORTING_ANALYTICS']+_0x11bdd2(0x163)+_0x3b421d);}}async[a4_0x49be49(0x181)](_0x2f2b34){const _0x534d28=a4_0x49be49,_0x318bae={'uOdmr':_0x534d28(0x10b),'LQaeT':function(_0x381357,_0x44cb80){return _0x381357(_0x44cb80);}};if(!this['enabled'])return;const _0x1a5fa0=this[_0x534d28(0x1a0)](this[_0x534d28(0x115)]);try{const _0x11c644={};_0x11c644[_0x534d28(0x126)]=_0x2f2b34,_0x11c644[_0x534d28(0x17e)]=_0x1a5fa0;const _0x4e2908=_0x11c644,_0x5433af={};_0x5433af[_0x534d28(0x103)]=_0x318bae[_0x534d28(0x197)],_0x5433af[_0x534d28(0xd7)]=_0x4e2908,await SessionHandler[_0x534d28(0x194)](_0x5433af);}catch(_0x2792d5){_0x318bae[_0x534d28(0xe5)](debug,'Exception\x20in\x20uploading\x20platform\x20details\x20to\x20'+constants[_0x534d28(0x138)]+'\x20with\x20error\x20:\x20'+_0x2792d5);}}[a4_0x49be49(0x1a0)](_0x5ae356){const _0x3e0279={'QuqKz':function(_0x29a323,_0x432595){return _0x29a323(_0x432595);}};return _0x3e0279['QuqKz'](fetchPlatformDetails,_0x5ae356);}[a4_0x49be49(0x192)]=_0x5a595a=>{const _0x1347aa=a4_0x49be49,_0x1fe6f2={};_0x1fe6f2[_0x1347aa(0x180)]=_0x1347aa(0x185),_0x1fe6f2[_0x1347aa(0xf8)]=_0x1347aa(0xf1);const _0x4ed9ac=_0x1fe6f2;if(!_0x5a595a||!_0x5a595a[_0x1347aa(0x195)])return;[_0x4ed9ac[_0x1347aa(0x180)],_0x4ed9ac[_0x1347aa(0xf8)]][_0x1347aa(0x174)](_0x3342af=>{const _0xc27d26=_0x1347aa,_0xb6ebd9=_0x5a595a[_0xc27d26(0x195)][_0x3342af];_0xb6ebd9[_0xc27d26(0x174)](_0x3fca20=>{const _0xe0c504=_0xc27d26;_0x3fca20[_0xe0c504(0x166)]&&(_0x3fca20[_0xe0c504(0x166)]=null);});});};['mapTestHooks'](_0x23a497){const _0x34e4bb=a4_0x49be49,_0x45d994={'tLaZV':'codeceptjs','CLOZz':function(_0x54b18d){return _0x54b18d();},'MIfgo':function(_0xac797b,_0x5dbc46){return _0xac797b===_0x5dbc46;},'wQxIr':_0x34e4bb(0xf1),'lwfyf':_0x34e4bb(0x12c),'vjkCb':_0x34e4bb(0x150),'KAkzE':_0x34e4bb(0x185)};if(!_0x23a497||!_0x23a497[_0x34e4bb(0x195)])return;[_0x45d994[_0x34e4bb(0x107)],_0x45d994[_0x34e4bb(0xc8)],_0x45d994[_0x34e4bb(0x134)],_0x45d994[_0x34e4bb(0x19a)]][_0x34e4bb(0x174)](_0x4cc14a=>{const _0x48e17a=_0x34e4bb,_0x2f9d07={'biwOj':_0x45d994['tLaZV'],'lAXPM':function(_0x18e95f){const _0x323563=a4_0x5146;return _0x45d994[_0x323563(0xc7)](_0x18e95f);},'vivOh':function(_0x370ee6,_0x38c3fd){const _0x99f4a5=a4_0x5146;return _0x45d994[_0x99f4a5(0xf0)](_0x370ee6,_0x38c3fd);},'EucuY':_0x45d994['wQxIr']},_0x553f2e=_0x23a497[_0x48e17a(0x195)][_0x4cc14a]||[];_0x553f2e['forEach'](_0x378514=>{const _0x4aa6d1=_0x48e17a;if(_0x378514[_0x4aa6d1(0x19d)][_0x4aa6d1(0xca)](_0x2f9d07[_0x4aa6d1(0x153)]))return;if(!_0x378514[_0x4aa6d1(0x166)])_0x378514['hookAnalyticsId']=_0x2f9d07[_0x4aa6d1(0x18e)](uuidv4);else _0x378514[_0x4aa6d1(0x19c)]&&_0x2f9d07['vivOh'](_0x4cc14a,_0x2f9d07[_0x4aa6d1(0x10f)])&&(_0x378514['hookAnalyticsId']=_0x2f9d07[_0x4aa6d1(0x18e)](uuidv4),delete _0x378514[_0x4aa6d1(0x19c)]);});}),this[_0x34e4bb(0x17d)](_0x23a497['parent']);}['getHooksForTest'](_0x4dc505){const _0x2fba2c=a4_0x49be49,_0x135c75={};_0x135c75[_0x2fba2c(0x104)]=_0x2fba2c(0x12c),_0x135c75[_0x2fba2c(0x161)]='_afterAll',_0x135c75[_0x2fba2c(0x128)]='_beforeEach',_0x135c75[_0x2fba2c(0x11e)]=_0x2fba2c(0xf1);const _0x45f210=_0x135c75;if(!_0x4dc505||!_0x4dc505[_0x2fba2c(0x195)])return[];const _0x594798=[];return[_0x45f210['QFcVr'],_0x45f210[_0x2fba2c(0x161)],_0x45f210[_0x2fba2c(0x128)],_0x45f210[_0x2fba2c(0x11e)]]['forEach'](_0x278b68=>{const _0x76fc9e=_0x2fba2c,_0x67c3fe=_0x4dc505[_0x76fc9e(0x195)][_0x278b68]||[];_0x67c3fe[_0x76fc9e(0x174)](_0x5e4ee7=>{const _0x4a2c25=_0x76fc9e;_0x5e4ee7[_0x4a2c25(0x166)]&&_0x594798[_0x4a2c25(0xe0)](_0x5e4ee7[_0x4a2c25(0x166)]);});}),[][_0x2fba2c(0xce)](_0x594798,this[_0x2fba2c(0x112)](_0x4dc505[_0x2fba2c(0x195)]));}['getHookType'](_0x113551){const _0x287e11=a4_0x49be49,_0x4167fc=/^"(?<hook>.*)" hook:.*$/,_0x5bb57c=_0x113551[_0x287e11(0x19d)],_0x27854c=_0x5bb57c[_0x287e11(0x157)](_0x4167fc);if(_0x27854c&&_0x27854c[_0x287e11(0xdd)])return _0x27854c[_0x287e11(0xdd)][_0x287e11(0x116)][_0x287e11(0x16f)]()[_0x287e11(0x186)]('\x20','_');return null;}[a4_0x49be49(0x154)](_0x29396d){const _0x66580c=a4_0x49be49,_0x3de03e={};_0x3de03e[_0x66580c(0xb5)]=function(_0x13988d,_0x20ab73){return _0x13988d===_0x20ab73;},_0x3de03e[_0x66580c(0xc4)]=function(_0x59879d,_0x5c55c5){return _0x59879d===_0x5c55c5;},_0x3de03e[_0x66580c(0x146)]=function(_0x342b0b,_0x54380c){return _0x342b0b===_0x54380c;},_0x3de03e[_0x66580c(0xb4)]=_0x66580c(0x170),_0x3de03e[_0x66580c(0x191)]='config';const _0x89a298=_0x3de03e,_0x44ee79=path[_0x66580c(0xba)];if(_0x89a298[_0x66580c(0xb5)](_0x29396d,null)||_0x89a298[_0x66580c(0xb5)](_0x29396d,'')||_0x89a298[_0x66580c(0xc4)](_0x29396d,_0x44ee79)||_0x89a298['iUmCE'](_0x29396d,path['dirname'](_0x29396d)))return null;try{return fs[_0x66580c(0xdb)](path[_0x66580c(0x15f)](_0x29396d,_0x89a298['ixQdk'],_0x89a298[_0x66580c(0x191)])),_0x29396d;}catch(_0x10a3fb){const _0x32e6a0=path['dirname'](_0x29396d);return this['findGitConfig'](_0x32e6a0);}}[a4_0x49be49(0x189)](_0x3cdb44){const _0x1a3fe9=a4_0x49be49,_0x2a1253={};_0x2a1253['sGWwa']=function(_0x90113d,_0x49118b){return _0x90113d>_0x49118b;};const _0x14feaf=_0x2a1253;if(_0x3cdb44[_0x1a3fe9(0x1aa)])return _0x3cdb44['file'];if(_0x3cdb44[_0x1a3fe9(0x164)]){const _0x19f62c=_0x3cdb44['ctx']['currentTest']?this[_0x1a3fe9(0x189)](_0x3cdb44[_0x1a3fe9(0x164)][_0x1a3fe9(0x119)]):null;if(_0x19f62c)return _0x19f62c;}if(_0x3cdb44[_0x1a3fe9(0x195)]){const _0x3317b7=this['getRootParentFile'](_0x3cdb44[_0x1a3fe9(0x195)])||(_0x3cdb44[_0x1a3fe9(0x195)][_0x1a3fe9(0x164)]&&_0x3cdb44[_0x1a3fe9(0x195)][_0x1a3fe9(0x164)][_0x1a3fe9(0x119)]?this[_0x1a3fe9(0x189)](_0x3cdb44[_0x1a3fe9(0x195)][_0x1a3fe9(0x164)][_0x1a3fe9(0x119)]):null);if(_0x3317b7)return _0x3317b7;_0x3cdb44['parent'][_0x1a3fe9(0x111)]&&_0x14feaf[_0x1a3fe9(0xeb)](_0x3cdb44[_0x1a3fe9(0x195)][_0x1a3fe9(0x111)][_0x1a3fe9(0x149)],0x0)&&_0x3cdb44[_0x1a3fe9(0x195)][_0x1a3fe9(0x111)][_0x1a3fe9(0x174)](_0x4b89e6=>{const _0x108de2=_0x1a3fe9,_0x7d118d=_0x4b89e6[_0x108de2(0x164)]?this[_0x108de2(0x189)](_0x4b89e6['ctx']):null;if(_0x7d118d)return _0x7d118d;});}return null;}['getHierarchy'](_0x3819f8){const _0x453449=a4_0x49be49,_0x4b4bee={};_0x4b4bee['UXail']=function(_0x91d9a7,_0x263cc1){return _0x91d9a7!==_0x263cc1;};const _0x3de9f9=_0x4b4bee,_0x61f90f=[];if(_0x3819f8&&_0x3819f8[_0x453449(0x195)]){let _0x187cec=_0x3819f8['parent'];while(_0x187cec&&_0x3de9f9[_0x453449(0x145)](_0x187cec[_0x453449(0x19d)],'')){_0x61f90f[_0x453449(0xe0)](_0x187cec[_0x453449(0x19d)]),_0x187cec=_0x187cec[_0x453449(0x195)];}}return _0x61f90f;}[a4_0x49be49(0xfc)](_0x5306db,_0x3d0a86,_0x11702e=undefined){const _0x5f06e6=a4_0x49be49,_0x56cb4f={'TTJgN':function(_0x38d51d,_0x3523ed){return _0x38d51d(_0x3523ed);},'vFObC':function(_0x3071d5){return _0x3071d5();},'EAdvy':function(_0x2d6a8e){return _0x2d6a8e();},'bpIAH':_0x5f06e6(0xfe),'EfRUL':_0x5f06e6(0x11f),'TAVfM':function(_0x425801,_0x1ce4d1){return _0x425801!==_0x1ce4d1;},'baniq':_0x5f06e6(0x176),'TIpph':_0x5f06e6(0x160),'iisew':_0x5f06e6(0xd9),'dUoQb':_0x5f06e6(0x137),'xVkAv':_0x5f06e6(0x143),'DMsWw':_0x5f06e6(0x11b),'ivssp':function(_0x3892ab,_0xef34f0){return _0x3892ab-_0xef34f0;},'LulwZ':function(_0x4a9791,_0x564572,_0x213240,_0x3cf65c,_0x3578c6){return _0x4a9791(_0x564572,_0x213240,_0x3cf65c,_0x3578c6);},'mjKyS':function(_0x438459,_0x53f483){return _0x438459!==_0x53f483;},'VwxsM':_0x5f06e6(0x17e),'CnTwS':'meta','gIaPB':_0x5f06e6(0x1a6),'lAuPS':_0x5f06e6(0xb7),'FpzJP':_0x5f06e6(0x141),'nGBAu':_0x5f06e6(0x14d),'DkqlJ':'expanded','nabEt':function(_0x4e179b,_0x3253a7){return _0x4e179b===_0x3253a7;},'FyfJN':_0x5f06e6(0x14e),'kjytb':'test_run'};if(!this[_0x5f06e6(0x142)])return;try{if(_0x3d0a86['fn']&&_0x3d0a86['fn'][_0x5f06e6(0xf9)]()['match'](/browserstack internal helper hook/))return;const _0x46ae92=_0x56cb4f[_0x5f06e6(0x1a1)](parseEvent,_0x5306db);if(!_0x46ae92)return;if(_0x46ae92[_0x5f06e6(0x18b)]){this[_0x5f06e6(0x119)]=_0x3d0a86,this[_0x5f06e6(0x124)]=null;if(_0x46ae92[_0x5f06e6(0x13b)]||_0x46ae92[_0x5f06e6(0x143)]){_0x3d0a86['startedAt']=new Date(),_0x3d0a86[_0x5f06e6(0x19c)]=![];if(!_0x3d0a86[_0x5f06e6(0xb1)])_0x3d0a86[_0x5f06e6(0xb1)]=_0x56cb4f[_0x5f06e6(0xbb)](uuidv4);else _0x3d0a86[_0x5f06e6(0x19c)]&&(!_0x3d0a86[_0x5f06e6(0xf2)]&&(_0x3d0a86[_0x5f06e6(0xf2)]=_0x3d0a86['testAnalyticsId']),_0x3d0a86[_0x5f06e6(0xb1)]=_0x56cb4f[_0x5f06e6(0x15e)](uuidv4));}}else{if(_0x46ae92[_0x5f06e6(0x116)]){this[_0x5f06e6(0x124)]=_0x3d0a86;if(_0x46ae92[_0x5f06e6(0x13b)]){_0x3d0a86[_0x5f06e6(0x17b)]=new Date(),_0x3d0a86[_0x5f06e6(0x19c)]=![];if(!_0x3d0a86[_0x5f06e6(0x166)])_0x3d0a86['hookAnalyticsId']=_0x56cb4f['EAdvy'](uuidv4);else _0x3d0a86[_0x5f06e6(0x166)]&&_0x3d0a86[_0x5f06e6(0x19c)]&&(_0x3d0a86[_0x5f06e6(0x166)]=_0x56cb4f[_0x5f06e6(0x15e)](uuidv4));}}}if(_0x46ae92[_0x5f06e6(0x122)]&&_0x3d0a86[_0x5f06e6(0x19c)])return;let _0xff25e4;try{_0xff25e4=this[_0x5f06e6(0x189)](_0x3d0a86);}catch(_0x1c0ae6){logger[_0x5f06e6(0x187)](_0x5f06e6(0xf7)+_0x1c0ae6),_0xff25e4=null;}const _0x4470cd=_0x56cb4f[_0x5f06e6(0x1a1)](require,_0x56cb4f[_0x5f06e6(0xd1)]);let _0x1de21c=[];_0x11702e&&(_0x1de21c=[_0x11702e,_0x56cb4f[_0x5f06e6(0x101)]]);const _0x173201=_0x56cb4f[_0x5f06e6(0x139)](_0x3d0a86[_0x5f06e6(0x140)],undefined)?_0x4470cd[_0x5f06e6(0xd5)](_0x3d0a86[_0x5f06e6(0x140)][0x0]):_0x56cb4f[_0x5f06e6(0x139)](_0x11702e,undefined)?_0x11702e[_0x5f06e6(0xf9)]():undefined,_0x3ef767=_0xff25e4?this['findGitConfig'](_0xff25e4):null,_0x14868e=_0xff25e4?this[_0x5f06e6(0xbe)]['prefixTestPath'](this['getRootParentFile'](_0x3d0a86)):_0x56cb4f[_0x5f06e6(0x196)];let _0x1a776b=_0x56cb4f[_0x5f06e6(0xe9)];const _0x503350=!_0x46ae92[_0x5f06e6(0x13b)]?new Date()[_0x5f06e6(0xe8)]():null;if(_0x46ae92[_0x5f06e6(0x122)])_0x1a776b=_0x11702e?_0x56cb4f[_0x5f06e6(0x13e)]:_0x56cb4f[_0x5f06e6(0x117)],_0x3d0a86[_0x5f06e6(0x19c)]=!![];else _0x46ae92[_0x5f06e6(0x143)]&&(_0x1a776b=_0x56cb4f[_0x5f06e6(0x18d)],_0x3d0a86[_0x5f06e6(0x19c)]=!![]);const _0x330601={'framework':this[_0x5f06e6(0x172)],'uuid':_0x3d0a86['testAnalyticsId']||_0x3d0a86[_0x5f06e6(0x166)],'name':_0x3d0a86[_0x5f06e6(0x19d)],'body':{'lang':_0x56cb4f[_0x5f06e6(0x121)],'code':_0x3d0a86[_0x5f06e6(0x1a8)][_0x5f06e6(0xf9)]()},'type':_0x3d0a86[_0x5f06e6(0x1a3)],'scope':_0x3d0a86[_0x5f06e6(0x125)](),'scopes':this[_0x5f06e6(0x16d)](_0x3d0a86),'file_name':_0x14868e,'vc_filepath':_0x3ef767?path['relative'](_0x3ef767,_0xff25e4):null,'location':_0x14868e,'result':_0x1a776b,'failure_reason':_0x173201,'duration_in_ms':_0x3d0a86['duration']||(_0x46ae92['finished']||_0x46ae92[_0x5f06e6(0x143)])?_0x56cb4f['ivssp'](Date[_0x5f06e6(0x16c)](),new Date(_0x3d0a86[_0x5f06e6(0x17b)])['getTime']()):null,'started_at':new Date(_0x3d0a86[_0x5f06e6(0x17b)])['toISOString'](),'finished_at':_0x503350,'failure':testOpsHelper[_0x5f06e6(0xfd)][_0x5f06e6(0xde)](null,_0x1de21c),'failure_type':!_0x173201?null:testOpsHelper[_0x5f06e6(0x15c)](_0x173201),'retry_of':_0x3d0a86[_0x5f06e6(0xf2)]||null,'tags':_0x3d0a86[_0x5f06e6(0x168)]||[],'customRerunParam':{'rerun_name':_0x3d0a86[_0x5f06e6(0x125)]()}};_0x56cb4f['LulwZ'](appendTesthubParams,_0x330601,_0x5306db,_0x3d0a86,FRAMEWORKS[_0x5f06e6(0xd2)]);if(_0x46ae92['hook'])[_0x330601['hook_type'],_0x330601['name']]=[this[_0x5f06e6(0xbc)](_0x3d0a86),_0x3d0a86[_0x5f06e6(0x164)]['test']['title']],_0x46ae92[_0x5f06e6(0x122)]?_0x56cb4f['mjKyS'](_0x330601[_0x5f06e6(0xf4)],_0x56cb4f['iisew'])&&(_0x330601[_0x5f06e6(0xf4)]=_0x56cb4f[_0x5f06e6(0x117)]):_0x330601[_0x5f06e6(0x1a8)]={};else _0x46ae92[_0x5f06e6(0x18b)]&&(this[_0x5f06e6(0x17d)](_0x3d0a86),_0x46ae92[_0x5f06e6(0x143)]&&this['resetSkipTestHooks'](_0x3d0a86),(_0x46ae92[_0x5f06e6(0x122)]||_0x46ae92['skipped'])&&(_0x330601[_0x5f06e6(0x12e)]=this['getHooksForTest'](_0x3d0a86)));this[_0x5f06e6(0x115)]&&(_0x46ae92['started']||_0x46ae92[_0x5f06e6(0x143)])&&(_0x330601[_0x56cb4f[_0x5f06e6(0x129)]]=this[_0x5f06e6(0x1a0)](this[_0x5f06e6(0x115)]));_0x46ae92[_0x5f06e6(0x18b)]&&_0x46ae92[_0x5f06e6(0x122)]&&_0x3d0a86[_0x5f06e6(0x179)]&&(_0x330601[_0x56cb4f[_0x5f06e6(0xb8)]]={'feature':{'name':_0x3d0a86['parent'][_0x5f06e6(0x177)]['name'],'path':_0x330601[_0x5f06e6(0x13f)],'description':_0x3d0a86[_0x5f06e6(0x195)][_0x5f06e6(0x1a4)]},'scenario':{'name':_0x3d0a86[_0x5f06e6(0x19d)]},'steps':_0x3d0a86[_0x5f06e6(0x179)]});const _0x219062=_0x330601[_0x56cb4f[_0x5f06e6(0xe7)]][0x0];_0x219062&&(_0x330601[_0x56cb4f[_0x5f06e6(0xc6)]]=_0x219062[_0x56cb4f[_0x5f06e6(0xfa)]],_0x330601[_0x56cb4f[_0x5f06e6(0x120)]]=_0x219062[_0x56cb4f['DkqlJ']]);if(_0x3d0a86[_0x5f06e6(0x179)])for(const _0x49281c of _0x3d0a86['bddSteps']){!_0x49281c[_0x5f06e6(0xed)]&&(_0x49281c[_0x5f06e6(0xed)]=new Date()[_0x5f06e6(0xe8)](),_0x56cb4f['nabEt'](_0x49281c[_0x5f06e6(0xf4)],_0x56cb4f[_0x5f06e6(0xe9)])&&(_0x219062?(_0x49281c[_0x5f06e6(0xf4)]=_0x56cb4f[_0x5f06e6(0x13e)],_0x49281c[_0x5f06e6(0x1a6)]=_0x219062[_0x56cb4f['FpzJP']][0x0]):_0x49281c[_0x5f06e6(0xf4)]=_0x56cb4f[_0x5f06e6(0x117)]));}const _0x2acf3d={};_0x2acf3d['event_type']=_0x46ae92[_0x5f06e6(0x143)]?TEST_EVENTS[_0x5f06e6(0xd0)]:_0x5306db;const _0x5a1638=_0x2acf3d;return _0x46ae92[_0x5f06e6(0x116)]?_0x5a1638[_0x56cb4f[_0x5f06e6(0xdc)]]=_0x330601:_0x5a1638[_0x56cb4f['kjytb']]=_0x330601,_0x5a1638;}catch(_0x1cc934){logger[_0x5f06e6(0x187)](_0x5f06e6(0xc1)+_0x5306db+_0x5f06e6(0x163)+_0x1cc934);}}async[a4_0x49be49(0xc9)](_0x110b9b,_0x59aea7){const _0x3df6d7=a4_0x49be49;if(!this[_0x3df6d7(0x142)]||!_0x59aea7||!_0x110b9b)return![];try{return await SessionHandler[_0x3df6d7(0x194)](_0x59aea7);}catch(_0x3bef2d){logger[_0x3df6d7(0x187)](_0x3df6d7(0x175)+_0x110b9b+_0x3df6d7(0x163)+_0x3bef2d);}}['initializeBddStep'](_0x3f4bf8){const _0x275016=a4_0x49be49,_0x47ce3d={};_0x47ce3d[_0x275016(0x114)]=_0x275016(0x160);const _0x2fc1b6=_0x47ce3d;return{'id':_0x3f4bf8[_0x275016(0x144)],'text':_0x3f4bf8[_0x275016(0x18a)],'keyword':_0x3f4bf8['keyword'],'started_at':_0x3f4bf8['startedAt'][_0x275016(0xe8)](),'result':_0x2fc1b6[_0x275016(0x114)]};}['bddStepStart'](_0x408245){const _0x2a1237=a4_0x49be49,_0x3fccbc={'vsKHK':function(_0x37f346){return _0x37f346();}};!this[_0x2a1237(0x119)][_0x2a1237(0x179)]&&(this[_0x2a1237(0x119)][_0x2a1237(0x179)]=[]),!_0x408245['stepAnalyticsId']&&(_0x408245[_0x2a1237(0x144)]=_0x3fccbc['vsKHK'](uuidv4),_0x408245[_0x2a1237(0x17b)]=new Date(),this[_0x2a1237(0x119)][_0x2a1237(0x179)]['push'](this['initializeBddStep'](_0x408245)));}[a4_0x49be49(0x156)](_0x1a6a93){const _0x47d4c5=a4_0x49be49,_0xd19ee0={'arwNM':function(_0x1deb30,_0x33572c){return _0x1deb30(_0x33572c);},'MxtPn':_0x47d4c5(0x171),'qFrnH':_0x47d4c5(0x160),'WrUUe':_0x47d4c5(0x137),'rHvvk':function(_0x5adb76,_0x27fc91){return _0x5adb76-_0x27fc91;}};let _0x512b2e=this[_0x47d4c5(0x119)]['bddSteps']['find'](_0x138f2e=>_0x138f2e['id']===_0x1a6a93['stepAnalyticsId']);_0xd19ee0[_0x47d4c5(0x15a)](isUndefined,_0x512b2e)&&(_0x512b2e=this[_0x47d4c5(0x136)](_0x1a6a93)),_0x512b2e['result']=[_0xd19ee0['MxtPn'],_0xd19ee0[_0x47d4c5(0x19f)]][_0x47d4c5(0xca)](_0x1a6a93[_0x47d4c5(0x1a7)])?_0xd19ee0[_0x47d4c5(0x13d)]:_0x1a6a93[_0x47d4c5(0x1a7)],_0x512b2e[_0x47d4c5(0xed)]=new Date()[_0x47d4c5(0xe8)](),_0x512b2e['duration']=_0xd19ee0[_0x47d4c5(0x15d)](Date[_0x47d4c5(0x16c)](),_0x1a6a93[_0x47d4c5(0x17b)][_0x47d4c5(0xb2)]()),_0x512b2e[_0x47d4c5(0x1a6)]=_0x1a6a93[_0x47d4c5(0x11f)]?_0x1a6a93[_0x47d4c5(0x11f)]['message']:null;}}function a4_0x5146(_0x2c3f67,_0x4dc22c){const _0x53f5a7=a4_0x53f5();return a4_0x5146=function(_0x5146ed,_0x2312a2){_0x5146ed=_0x5146ed-0xb1;let _0x5c1f51=_0x53f5a7[_0x5146ed];return _0x5c1f51;},a4_0x5146(_0x2c3f67,_0x4dc22c);}const a4_0x528bfc={};a4_0x528bfc[a4_0x49be49(0xd4)]=O11yHelper,a4_0x528bfc[a4_0x49be49(0x133)]=STATE_PASSED,a4_0x528bfc['STATE_FAILED']=STATE_FAILED,a4_0x528bfc[a4_0x49be49(0xd8)]=TEST_EVENTS,module[a4_0x49be49(0x123)]=a4_0x528bfc;
1
+ const a4_0x2e26c9=a4_0x4c22;(function(_0x3d2330,_0x5c9126){const _0x3d2c03=a4_0x4c22,_0x243aa4=_0x3d2330();while(!![]){try{const _0x39f29a=parseInt(_0x3d2c03(0x187))/0x1*(parseInt(_0x3d2c03(0xcf))/0x2)+-parseInt(_0x3d2c03(0xd9))/0x3*(-parseInt(_0x3d2c03(0x11c))/0x4)+parseInt(_0x3d2c03(0xe9))/0x5*(-parseInt(_0x3d2c03(0x114))/0x6)+parseInt(_0x3d2c03(0x186))/0x7*(-parseInt(_0x3d2c03(0xf6))/0x8)+parseInt(_0x3d2c03(0x1af))/0x9*(-parseInt(_0x3d2c03(0xcb))/0xa)+parseInt(_0x3d2c03(0x124))/0xb+parseInt(_0x3d2c03(0xd5))/0xc;if(_0x39f29a===_0x5c9126)break;else _0x243aa4['push'](_0x243aa4['shift']());}catch(_0x25dc8a){_0x243aa4['push'](_0x243aa4['shift']());}}}(a4_0x4fad,0x5fcda));function a4_0x4c22(_0x4e6d4b,_0x292a4e){const _0x4fadfc=a4_0x4fad();return a4_0x4c22=function(_0x4c226f,_0x1ed5ea){_0x4c226f=_0x4c226f-0xcb;let _0x5afffc=_0x4fadfc[_0x4c226f];return _0x5afffc;},a4_0x4c22(_0x4e6d4b,_0x292a4e);}function a4_0x4fad(){const _0x31a89e=['VwjkA','setupBrowserDetails','constructor','OKWyi','zrftm','../utils/constants','toString','getHookType','hooks','push','test_run_uuid','O11yHelper','838690aCDlEe','rdBZJ','ttiro','wsEndpoint','4ExivTy','hook','name','suites','YwRlC','resetSkipTestHooks','13838232xXUAiA','obsBrowserTypeMockApplied','errorsDetailed','text','3eVbRiN','wXVaZ','../../helpers/test-observability/requestQueueHandler','XjpoV','title','mkZel','\x20with\x20error\x20:\x20','DNbze','Playwright','aZLhU','eYxPh','TestRunFinished','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20','oZoVx','RorvE','getHooksForTest','98135vbfuLL','Pagdp','AdQff','browserType.js','message','err','../../helpers/test-observability/constants','codeceptjs','LogCreated','join','JTdOb','bind','BROWSERSTACK','5849032rGtHJu','sep','prototype','MuWyj','driver','Failed\x20to\x20parse\x20wsendpoint\x20','MUHDN','shutdown','PkhPC','location_prefix','body','connect','inspect','CaIto','integrations','includes','pending','../mocha/test-observability/mochaUtils','expanded','LiioD','aoctU','enabled','epHpU','sendCBTInfo','Not\x20able\x20to\x20import\x20Browser','hookAnalyticsId','getRootParentFile','AYraQ','start','then','186eacaFf','test','findGitConfig','apply','fullTitle','../playwright/accessibility-helper','logs','qjFlq','1197172PcUQba','frameworkName','ntmFZ','_afterAll','.git','getInstance','boBDg','VwcRh','4472600bZcBeF','stepAnalyticsId','testAnalyticsId','_afterEach','gvSaF','finished','dirname','defineProperty','../playwright/sessionDetails','mapTestHooks','forEach','cwd','hwXrQ','../../helpers/helper','captureEvent','result','match','duration','getTime','nPTgV','File\x20path\x20could\x20not\x20be\x20found','patchConsoleLogger','xfEWW','currentTest','toUpperCase','TEST_REPORTING_ANALYTICS','_beforeEach','file','cYbyH','config','Exception\x20in\x20uploading\x20log\x20data\x20to\x20','uploadEventData','type','PathHelper','file_name','parent','connectOverCDP','BrowserType','getHierarchy','groups','pid','started','qUpRN','XNptM','removeAllListeners','getFailureType','uGuQh','WdoHO','FUySf','../../helpers/logger','toLowerCase','NkIkX','yWiHr','bddSteps','YpILK','hook_run_uuid','LYHwq','dpCKs','KPTMr','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','failure','xdcWQ','failureData','status','statSync','failed','UYyxG','MaHNk','ciFlA','browserstack','CThRY','gQIHM','Checking\x20for\x20accessibility\x20automation\x20session\x20with\x20','LHsSk','qTYCL','passed','gAFWY','concat','EULMT','toISOString','fireEvent','RsHKc','TEST_RUN_FINISHED','markedStatus','test_run','_beforeAll','lHXLy','PXyNQ','comment','failure_reason_expanded','_testEnv','TVVeH','../../helpers/testhub/utils.js','SXAXq','mZCmp','HOOK_RUN_FINISHED','pvIVF','skipped','7gRaSze','146121csFTvS','ctx','length','XKwhg','TEST_RUN_SKIPPED','JhVlT','accessibilityPlatform','retryOf','eJtWr','failure_backtrace','finished_at','tags','string','HookRunStarted','MOzQb','backtrace','4|3|1|2|5|0','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','QEaGj','client','failed\x20to\x20get\x20root\x20parent\x20file\x20','GIbkU','prefixTestPath','find','TEST_EVENTS','STATE_FAILED','now','initializeBddStep','debug','GPGHM','dYgEJ','../../helpers/test-observability/utils','launch','appendTestItemLog','replace','event_type','startedAt','fkgtU','TvMwn','./helper.js','45sZYFlG','util','stringify','split','QhSyI','getCBTInfo','currentHook','bs:addLog:'];a4_0x4fad=function(){return _0x31a89e;};return a4_0x4fad();}const path=require('path'),fs=require('fs'),{v4:uuidv4}=require('uuid'),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x2e26c9(0x131)),testOpsHelper=require(a4_0x2e26c9(0x1a6)),{getTestEnv}=require(a4_0x2e26c9(0x107)),{FRAMEWORKS}=require(a4_0x2e26c9(0xef)),logger=require(a4_0x2e26c9(0x155))['winstonLogger'],SessionHandler=require('../../helpers/test-observability/sessionHandler'),RequestQueueHandler=require(a4_0x2e26c9(0xdb)),PlaywrightSessionDetails=require(a4_0x2e26c9(0x12c)),debug=testOpsHelper[a4_0x2e26c9(0x1a3)],{processAccessibilityCaps}=require(a4_0x2e26c9(0x119)),Constants=require(a4_0x2e26c9(0x1bc)),{fetchPlatformDetails}=require(a4_0x2e26c9(0x1ae)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x2e26c9(0x180)),constants=require(a4_0x2e26c9(0x1bc)),STATE_PASSED=a4_0x2e26c9(0x16f),STATE_FAILED='failed',a4_0x3ce326={};a4_0x3ce326['TEST_RUN_STARTED']='TestRunStarted',a4_0x3ce326[a4_0x2e26c9(0x176)]=a4_0x2e26c9(0xe4),a4_0x3ce326[a4_0x2e26c9(0x18b)]='TestRunSkipped',a4_0x3ce326['HOOK_RUN_STARTED']=a4_0x2e26c9(0x194),a4_0x3ce326[a4_0x2e26c9(0x183)]='HookRunFinished';const TEST_EVENTS=a4_0x3ce326,parseEvent=_0x134d9d=>{const _0x185264=a4_0x2e26c9,_0x9470d8={};_0x9470d8['mZCmp']=function(_0x3c7ee6,_0x1c6b7e){return _0x3c7ee6<_0x1c6b7e;},_0x9470d8[_0x185264(0x152)]=function(_0x22600a,_0x46b03){return _0x22600a===_0x46b03;},_0x9470d8[_0x185264(0x170)]=_0x185264(0x115),_0x9470d8[_0x185264(0x158)]=function(_0x281ec2,_0x4a3b0a){return _0x281ec2===_0x4a3b0a;},_0x9470d8['VwcRh']=_0x185264(0xd0),_0x9470d8[_0x185264(0x128)]=_0x185264(0x185),_0x9470d8[_0x185264(0xe2)]=function(_0x3bd841,_0x39e2){return _0x3bd841===_0x39e2;},_0x9470d8[_0x185264(0x17b)]=_0x185264(0x14d),_0x9470d8[_0x185264(0x195)]=function(_0x1c1343,_0x3287d3){return _0x1c1343===_0x3287d3;},_0x9470d8[_0x185264(0x16e)]=_0x185264(0x129);const _0x4e469b=_0x9470d8,_0x3a7934=_0x134d9d[_0x185264(0x134)](/^(.*)Run(.*)$/);if(!_0x3a7934)return null;if(_0x4e469b[_0x185264(0x182)](_0x3a7934[_0x185264(0x189)],0x3))return null;const _0x5df3e9=_0x3a7934[0x1][_0x185264(0x156)](),_0x4084f3=_0x3a7934[0x2][_0x185264(0x156)]();return{'test':_0x4e469b[_0x185264(0x152)](_0x5df3e9,_0x4e469b[_0x185264(0x170)]),'hook':_0x4e469b[_0x185264(0x158)](_0x5df3e9,_0x4e469b[_0x185264(0x123)]),'skipped':_0x4e469b['uGuQh'](_0x4084f3,_0x4e469b[_0x185264(0x128)]),'started':_0x4e469b['aZLhU'](_0x4084f3,_0x4e469b[_0x185264(0x17b)]),'finished':_0x4e469b[_0x185264(0x195)](_0x4084f3,_0x4e469b['qTYCL'])};},mockPWBrowserType=_0x156930=>{const _0x22561f=a4_0x2e26c9,_0x5a5073={'xdcWQ':function(_0x43bdd6,_0x52e85a){return _0x43bdd6===_0x52e85a;},'XKwhg':_0x22561f(0x193),'fRFAm':function(_0xf0f5a3,_0x991d44,_0xda07b5){return _0xf0f5a3(_0x991d44,_0xda07b5);},'LiioD':_0x22561f(0xce),'ciFlA':function(_0x392941,_0x19da6b){return _0x392941(_0x19da6b);},'RsHKc':_0x22561f(0x169),'QhSyI':'lib','CThRY':_0x22561f(0x19a),'Pagdp':_0x22561f(0xec),'qUpRN':function(_0x5ae591,_0x2569ba){return _0x5ae591(_0x2569ba);},'dpCKs':_0x22561f(0x10e),'NtxLX':_0x22561f(0x101),'UYyxG':_0x22561f(0x1a7)},_0x43f902=path['join'](_0x5a5073[_0x22561f(0x1b3)],_0x5a5073[_0x22561f(0x16a)],_0x5a5073[_0x22561f(0xea)]),_0x3ce7fe=_0x5a5073[_0x22561f(0x168)](importFileFromPWCore,_0x43f902);if(!_0x3ce7fe){_0x5a5073[_0x22561f(0x14e)](debug,_0x5a5073[_0x22561f(0x15d)]);return;}const _0x1c70b5=_0x3ce7fe[_0x22561f(0x149)],_0x4b1572=_0x1c70b5[_0x22561f(0xf8)];if(_0x4b1572[_0x22561f(0xd6)])return;const _0x4d35ef=_0x4b1572['connect'];Object['defineProperty'](_0x4b1572,_0x5a5073['NtxLX'],{'get':function(){const _0x1ed4bf=_0x22561f,_0x447a49={'bveMB':function(_0xe0926b,_0x3fbf5e){const _0x542e0d=a4_0x4c22;return _0x5a5073[_0x542e0d(0x161)](_0xe0926b,_0x3fbf5e);},'ogsse':_0x5a5073[_0x1ed4bf(0x18a)],'hwXrQ':function(_0x3b851f,_0x156e42,_0x7e553a){return _0x5a5073['fRFAm'](_0x3b851f,_0x156e42,_0x7e553a);},'epHpU':_0x5a5073[_0x1ed4bf(0x109)],'EiAZn':function(_0x6828a5,_0x20eab7){const _0x140f7d=_0x1ed4bf;return _0x5a5073[_0x140f7d(0x168)](_0x6828a5,_0x20eab7);},'nPTgV':_0x5a5073[_0x1ed4bf(0x175)],'AAWiT':function(_0x596af6,_0x1b24e9){const _0x1de393=_0x1ed4bf;return _0x5a5073[_0x1de393(0x168)](_0x596af6,_0x1b24e9);}};return async function _0x5015b2(_0x307e75,_0x27a47c){const _0x149f46=_0x1ed4bf,_0x2fa489=_0x447a49['hwXrQ'](nestedKeyValue,_0x307e75,[_0x447a49[_0x149f46(0x10c)]])||_0x307e75;let _0xa0742c=null,_0x450739=null;try{[_0x450739,_0xa0742c]=_0x2fa489?_0x447a49['EiAZn'](parseWSEndpoint,_0x2fa489):[null,null],global['__platformCaps']=_0xa0742c,logger['debug'](_0x149f46(0x16c)+_0x450739),_0x450739[_0x149f46(0x105)](Constants[_0x149f46(0xf5)])&&(global['__cloud_provider___']=_0x447a49[_0x149f46(0x137)]);}catch(_0x4fe089){logger[_0x149f46(0x1a3)](_0x149f46(0xfb)+_0x2fa489+'\x20'+_0x4fe089);}_0x447a49[_0x149f46(0x130)](processAccessibilityCaps,_0xa0742c,_0x450739);if(global[_0x149f46(0x18d)]){const _0x3acb42=await _0x4b1572[_0x149f46(0x148)][_0x149f46(0x117)](this,[''+Constants['PLAYWRIGHT_HUB_URL']+_0x447a49['AAWiT'](encodeURIComponent,JSON[_0x149f46(0x1b1)](_0xa0742c))]);return PlaywrightSessionDetails[_0x149f46(0x1b8)](_0x3acb42,_0x156930,_0x2fa489),_0x3acb42;}return _0x4d35ef['apply'](this,arguments)[_0x149f46(0x113)](_0x1fca62=>{const _0x39e2e2=_0x149f46;let _0x50ec3b=_0x307e75[_0x39e2e2(0xce)];return _0x447a49['bveMB'](typeof _0x307e75,_0x447a49['ogsse'])&&(_0x50ec3b=_0x307e75),PlaywrightSessionDetails['setupBrowserDetails'](_0x1fca62,_0x156930,_0x50ec3b),_0x1fca62;});};}});const _0x3b7f36=_0x4b1572[_0x22561f(0x1a7)];Object[_0x22561f(0x12b)](_0x4b1572,_0x5a5073[_0x22561f(0x166)],{'get':function(){return async function _0x20a74f(){const _0x442957=a4_0x4c22;return _0x3b7f36[_0x442957(0x117)](this,arguments)[_0x442957(0x113)](_0x3d17db=>{const _0x2d0abe=_0x442957;return PlaywrightSessionDetails[_0x2d0abe(0x1b8)](_0x3d17db,null),_0x3d17db;});};}});};class O11yHelper{[a4_0x2e26c9(0x13b)]=null;['currentHook']=null;[a4_0x2e26c9(0x10b)]=![];['frameworkName']=![];constructor(_0xb975a1,_0x2228af){const _0x42cb00=a4_0x2e26c9,_0x39d8f6={'XiqEp':_0x42cb00(0x197),'PlWnt':function(_0x1db9a9,_0x1e8ce8){return _0x1db9a9===_0x1e8ce8;},'FKxCj':_0x42cb00(0xe1),'JTdOb':function(_0x3061f7,_0x2763ef){return _0x3061f7(_0x2763ef);},'aoctU':function(_0x303315){return _0x303315();}},_0x2623e5=_0x39d8f6['XiqEp'][_0x42cb00(0x1b2)]('|');let _0x4eeac9=0x0;while(!![]){switch(_0x2623e5[_0x4eeac9++]){case'0':this[_0x42cb00(0xfa)]&&_0x39d8f6['PlWnt'](this[_0x42cb00(0xfa)][_0x42cb00(0x1b9)][_0x42cb00(0xd1)],_0x39d8f6['FKxCj'])&&_0x39d8f6[_0x42cb00(0xf3)](mockPWBrowserType,null);continue;case'1':this[_0x42cb00(0xfa)]=_0xb975a1;continue;case'2':this['_testEnv']=_0x39d8f6['aoctU'](getTestEnv);continue;case'3':this['frameworkName']=_0x2228af[_0x42cb00(0x11d)];continue;case'4':this['enabled']=_0x39d8f6[_0x42cb00(0x10a)](shouldProcessEventForTesthub);continue;case'5':this['_paths']=new testOpsHelper[(_0x42cb00(0x145))]({'cwd':process[_0x42cb00(0x12f)]()},this[_0x42cb00(0x17e)][_0x42cb00(0xff)]);continue;}break;}}[a4_0x2e26c9(0x112)](){const _0x43eae0=a4_0x2e26c9;if(!this[_0x43eae0(0x10b)])return;testOpsHelper[_0x43eae0(0x139)](),process[_0x43eae0(0x150)]('bs:addLog:'+process['pid']),process['on'](_0x43eae0(0x1b6)+process[_0x43eae0(0x14c)],this[_0x43eae0(0x1a8)][_0x43eae0(0xf4)](this));}async['stop'](){const _0x13c2b2=a4_0x2e26c9;await RequestQueueHandler[_0x13c2b2(0x121)]()[_0x13c2b2(0xfd)]();}async['appendTestItemLog'](_0x5965eb){const _0xaa72d1=a4_0x2e26c9,_0x3e68d7={'TvMwn':_0xaa72d1(0xf1),'qjFlq':function(_0x3c62e7,_0x4b415d){return _0x3c62e7(_0x4b415d);}};try{this[_0xaa72d1(0x1b5)]&&!this[_0xaa72d1(0x1b5)][_0xaa72d1(0x177)]&&(_0x5965eb[_0xaa72d1(0x15b)]=this[_0xaa72d1(0x1b5)]['hookAnalyticsId']);!_0x5965eb[_0xaa72d1(0x15b)]&&this['currentTest']&&!this['currentTest'][_0xaa72d1(0x177)]&&(_0x5965eb[_0xaa72d1(0x1c1)]=this[_0xaa72d1(0x13b)]['testAnalyticsId']);if(_0x5965eb[_0xaa72d1(0x15b)]||_0x5965eb['test_run_uuid']){const _0x338f3f={};_0x338f3f[_0xaa72d1(0x1aa)]=_0x3e68d7[_0xaa72d1(0x1ad)],_0x338f3f[_0xaa72d1(0x11a)]=[_0x5965eb],await SessionHandler[_0xaa72d1(0x143)](_0x338f3f);}}catch(_0x544e1c){_0x3e68d7[_0xaa72d1(0x11b)](debug,_0xaa72d1(0x142)+constants[_0xaa72d1(0x13d)]+_0xaa72d1(0xdf)+_0x544e1c);}}async[a4_0x2e26c9(0x10d)](_0x2764e3){const _0x427f6b=a4_0x2e26c9,_0x35686c={'ntmFZ':'CBTSessionCreated','KxxQt':function(_0x20a32a,_0x2542ff){return _0x20a32a(_0x2542ff);}};if(!this[_0x427f6b(0x10b)])return;const _0x27204f=this[_0x427f6b(0x1b4)](this[_0x427f6b(0xfa)]);try{const _0x56506f={};_0x56506f['uuid']=_0x2764e3,_0x56506f[_0x427f6b(0x104)]=_0x27204f;const _0x324a52=_0x56506f,_0xa7d46={};_0xa7d46['event_type']=_0x35686c[_0x427f6b(0x11e)],_0xa7d46[_0x427f6b(0x178)]=_0x324a52,await SessionHandler[_0x427f6b(0x143)](_0xa7d46);}catch(_0x1463ca){_0x35686c['KxxQt'](debug,_0x427f6b(0xe5)+constants['TEST_REPORTING_ANALYTICS']+_0x427f6b(0xdf)+_0x1463ca);}}[a4_0x2e26c9(0x1b4)](_0x2ed6d8){const _0x436625={'HPjGI':function(_0x3f74fc,_0x57efac){return _0x3f74fc(_0x57efac);}};return _0x436625['HPjGI'](fetchPlatformDetails,_0x2ed6d8);}[a4_0x2e26c9(0xd4)]=_0x40e488=>{const _0xacb71c=a4_0x2e26c9,_0x1ffa37={};_0x1ffa37['YwRlC']=_0xacb71c(0x13e),_0x1ffa37[_0xacb71c(0x1b7)]='_afterEach';const _0x432c4a=_0x1ffa37;if(!_0x40e488||!_0x40e488['parent'])return;[_0x432c4a[_0xacb71c(0xd3)],_0x432c4a[_0xacb71c(0x1b7)]]['forEach'](_0x1eb874=>{const _0x41c9e3=_0xacb71c,_0x22ae49=_0x40e488['parent'][_0x1eb874];_0x22ae49[_0x41c9e3(0x12e)](_0x214b97=>{const _0x43f49f=_0x41c9e3;_0x214b97[_0x43f49f(0x10f)]&&(_0x214b97[_0x43f49f(0x10f)]=null);});});};['mapTestHooks'](_0x2ca4e5){const _0x273918=a4_0x2e26c9,_0x542135={'MaHNk':_0x273918(0xf0),'MuWyj':function(_0x4e0d3e){return _0x4e0d3e();},'wXVaZ':function(_0x2b9f3a,_0x830c91){return _0x2b9f3a===_0x830c91;},'TVVeH':_0x273918(0x127),'JhVlT':_0x273918(0x179),'KYKHJ':_0x273918(0x11f),'zrftm':'_beforeEach'};if(!_0x2ca4e5||!_0x2ca4e5['parent'])return;[_0x542135[_0x273918(0x18c)],_0x542135['KYKHJ'],_0x542135[_0x273918(0x1bb)],_0x542135[_0x273918(0x17f)]][_0x273918(0x12e)](_0x20491e=>{const _0x7d3e5b=_0x273918,_0x4e8825=_0x2ca4e5[_0x7d3e5b(0x147)][_0x20491e]||[];_0x4e8825[_0x7d3e5b(0x12e)](_0x30f841=>{const _0x27d3a8=_0x7d3e5b;if(_0x30f841[_0x27d3a8(0xdd)]['includes'](_0x542135[_0x27d3a8(0x167)]))return;if(!_0x30f841['hookAnalyticsId'])_0x30f841[_0x27d3a8(0x10f)]=_0x542135[_0x27d3a8(0xf9)](uuidv4);else _0x30f841['markedStatus']&&_0x542135[_0x27d3a8(0xda)](_0x20491e,_0x542135[_0x27d3a8(0x17f)])&&(_0x30f841[_0x27d3a8(0x10f)]=_0x542135['MuWyj'](uuidv4),delete _0x30f841['markedStatus']);});}),this['mapTestHooks'](_0x2ca4e5[_0x273918(0x147)]);}['getHooksForTest'](_0x791c50){const _0x554679=a4_0x2e26c9,_0xb05c88={};_0xb05c88['YpILK']=_0x554679(0x179),_0xb05c88['EULMT']=_0x554679(0x11f),_0xb05c88['PkhPC']=_0x554679(0x13e),_0xb05c88['GIbkU']=_0x554679(0x127);const _0x562c7b=_0xb05c88;if(!_0x791c50||!_0x791c50['parent'])return[];const _0x201395=[];return[_0x562c7b[_0x554679(0x15a)],_0x562c7b[_0x554679(0x172)],_0x562c7b[_0x554679(0xfe)],_0x562c7b[_0x554679(0x19c)]][_0x554679(0x12e)](_0x3b2e9c=>{const _0x294904=_0x554679,_0x429541=_0x791c50[_0x294904(0x147)][_0x3b2e9c]||[];_0x429541[_0x294904(0x12e)](_0x4fa7ac=>{const _0x2c3cee=_0x294904;_0x4fa7ac[_0x2c3cee(0x10f)]&&_0x201395[_0x2c3cee(0x1c0)](_0x4fa7ac[_0x2c3cee(0x10f)]);});}),[][_0x554679(0x171)](_0x201395,this['getHooksForTest'](_0x791c50[_0x554679(0x147)]));}[a4_0x2e26c9(0x1be)](_0x35fc6f){const _0x237173=a4_0x2e26c9,_0x14cdef=/^"(?<hook>.*)" hook:.*$/,_0x44aea2=_0x35fc6f[_0x237173(0xdd)],_0x38fd13=_0x44aea2[_0x237173(0x134)](_0x14cdef);if(_0x38fd13&&_0x38fd13[_0x237173(0x14b)])return _0x38fd13[_0x237173(0x14b)][_0x237173(0xd0)][_0x237173(0x13c)]()[_0x237173(0x1a9)]('\x20','_');return null;}[a4_0x2e26c9(0x116)](_0x55c588){const _0x3f2549=a4_0x2e26c9,_0x5d98ff={};_0x5d98ff[_0x3f2549(0xe7)]=function(_0x550bdb,_0x147460){return _0x550bdb===_0x147460;},_0x5d98ff[_0x3f2549(0x17a)]=function(_0x15850f,_0x13173b){return _0x15850f===_0x13173b;},_0x5d98ff[_0x3f2549(0x1a5)]=function(_0x4a8a15,_0x1da9ea){return _0x4a8a15===_0x1da9ea;},_0x5d98ff[_0x3f2549(0x1a4)]=_0x3f2549(0x120),_0x5d98ff[_0x3f2549(0x199)]=_0x3f2549(0x141);const _0x340a42=_0x5d98ff,_0x556f5d=path[_0x3f2549(0xf7)];if(_0x340a42[_0x3f2549(0xe7)](_0x55c588,null)||_0x340a42[_0x3f2549(0x17a)](_0x55c588,'')||_0x340a42[_0x3f2549(0x17a)](_0x55c588,_0x556f5d)||_0x340a42[_0x3f2549(0x1a5)](_0x55c588,path[_0x3f2549(0x12a)](_0x55c588)))return null;try{return fs[_0x3f2549(0x164)](path[_0x3f2549(0xf2)](_0x55c588,_0x340a42['GPGHM'],_0x340a42['QEaGj'])),_0x55c588;}catch(_0x1593a2){const _0x5503ce=path['dirname'](_0x55c588);return this['findGitConfig'](_0x5503ce);}}[a4_0x2e26c9(0x110)](_0x1e65b0){const _0x322677=a4_0x2e26c9,_0x160bcf={};_0x160bcf[_0x322677(0x111)]=function(_0x53f1b0,_0x23b3f2){return _0x53f1b0>_0x23b3f2;};const _0x51ef57=_0x160bcf;if(_0x1e65b0['file'])return _0x1e65b0[_0x322677(0x13f)];if(_0x1e65b0[_0x322677(0x188)]){const _0x2ff044=_0x1e65b0[_0x322677(0x188)]['currentTest']?this[_0x322677(0x110)](_0x1e65b0[_0x322677(0x188)][_0x322677(0x13b)]):null;if(_0x2ff044)return _0x2ff044;}if(_0x1e65b0[_0x322677(0x147)]){const _0x4d8cda=this[_0x322677(0x110)](_0x1e65b0['parent'])||(_0x1e65b0['parent'][_0x322677(0x188)]&&_0x1e65b0[_0x322677(0x147)][_0x322677(0x188)][_0x322677(0x13b)]?this[_0x322677(0x110)](_0x1e65b0[_0x322677(0x147)][_0x322677(0x188)][_0x322677(0x13b)]):null);if(_0x4d8cda)return _0x4d8cda;_0x1e65b0[_0x322677(0x147)][_0x322677(0xd2)]&&_0x51ef57[_0x322677(0x111)](_0x1e65b0[_0x322677(0x147)][_0x322677(0xd2)][_0x322677(0x189)],0x0)&&_0x1e65b0[_0x322677(0x147)]['suites'][_0x322677(0x12e)](_0x54df76=>{const _0x4ccf5f=_0x322677,_0x50570d=_0x54df76[_0x4ccf5f(0x188)]?this[_0x4ccf5f(0x110)](_0x54df76[_0x4ccf5f(0x188)]):null;if(_0x50570d)return _0x50570d;});}return null;}[a4_0x2e26c9(0x14a)](_0x5d84cf){const _0x51d78c=a4_0x2e26c9,_0x558e87={};_0x558e87[_0x51d78c(0x181)]=function(_0x35f2eb,_0xcf52df){return _0x35f2eb!==_0xcf52df;};const _0x2d76a4=_0x558e87,_0x276d41=[];if(_0x5d84cf&&_0x5d84cf['parent']){let _0x27e15a=_0x5d84cf[_0x51d78c(0x147)];while(_0x27e15a&&_0x2d76a4[_0x51d78c(0x181)](_0x27e15a[_0x51d78c(0xdd)],'')){_0x276d41['push'](_0x27e15a[_0x51d78c(0xdd)]),_0x27e15a=_0x27e15a[_0x51d78c(0x147)];}}return _0x276d41;}[a4_0x2e26c9(0x132)](_0x30eb55,_0x211ca4,_0x4605c4=undefined){const _0x456f3c=a4_0x2e26c9,_0x36530b={'cYbyH':function(_0x2c83a8,_0x5cbda7){return _0x2c83a8(_0x5cbda7);},'LYHwq':function(_0x59ac98){return _0x59ac98();},'pvIVF':function(_0x53b649){return _0x53b649();},'CaIto':function(_0x2572f8){return _0x2572f8();},'XjpoV':function(_0x178a38){return _0x178a38();},'eJtWr':_0x456f3c(0x1b0),'XNptM':'err','eYxPh':function(_0x2db977,_0x4ef256){return _0x2db977!==_0x4ef256;},'WdoHO':function(_0x1b9f98,_0x4c8312){return _0x1b9f98!==_0x4c8312;},'OKWyi':_0x456f3c(0x138),'FUySf':_0x456f3c(0x106),'ttiro':_0x456f3c(0x165),'mkZel':'passed','iPTzd':_0x456f3c(0x185),'gQIHM':'javascript','rdBZJ':function(_0x14472f,_0x4ef7de){return _0x14472f-_0x4ef7de;},'sHIsd':function(_0x437945,_0x61e9a9,_0x16cbd9,_0x2379fc,_0x5226dc){return _0x437945(_0x61e9a9,_0x16cbd9,_0x2379fc,_0x5226dc);},'RnYXi':_0x456f3c(0x104),'bjgkD':'meta','KPTMr':'failure','fkgtU':_0x456f3c(0x190),'NkIkX':_0x456f3c(0x196),'MUHDN':_0x456f3c(0x17d),'RBQQL':_0x456f3c(0x108),'xOWVT':function(_0x58051b,_0x58df75){return _0x58051b===_0x58df75;},'oZoVx':'hook_run','MVrOR':_0x456f3c(0x178)};if(!this[_0x456f3c(0x10b)])return;try{if(_0x211ca4['fn']&&_0x211ca4['fn']['toString']()[_0x456f3c(0x134)](/browserstack internal helper hook/))return;const _0x1678b9=_0x36530b[_0x456f3c(0x140)](parseEvent,_0x30eb55);if(!_0x1678b9)return;if(_0x1678b9[_0x456f3c(0x115)]){this['currentTest']=_0x211ca4,this[_0x456f3c(0x1b5)]=null;if(_0x1678b9[_0x456f3c(0x14d)]||_0x1678b9['skipped']){_0x211ca4[_0x456f3c(0x1ab)]=new Date(),_0x211ca4[_0x456f3c(0x177)]=![];if(!_0x211ca4[_0x456f3c(0x126)])_0x211ca4[_0x456f3c(0x126)]=_0x36530b[_0x456f3c(0x15c)](uuidv4);else _0x211ca4[_0x456f3c(0x177)]&&(!_0x211ca4[_0x456f3c(0x18e)]&&(_0x211ca4[_0x456f3c(0x18e)]=_0x211ca4[_0x456f3c(0x126)]),_0x211ca4['testAnalyticsId']=_0x36530b[_0x456f3c(0x184)](uuidv4));}}else{if(_0x1678b9['hook']){this[_0x456f3c(0x1b5)]=_0x211ca4;if(_0x1678b9['started']){_0x211ca4[_0x456f3c(0x1ab)]=new Date(),_0x211ca4[_0x456f3c(0x177)]=![];if(!_0x211ca4[_0x456f3c(0x10f)])_0x211ca4['hookAnalyticsId']=_0x36530b[_0x456f3c(0x103)](uuidv4);else _0x211ca4[_0x456f3c(0x10f)]&&_0x211ca4['markedStatus']&&(_0x211ca4[_0x456f3c(0x10f)]=_0x36530b[_0x456f3c(0xdc)](uuidv4));}}}if(_0x1678b9[_0x456f3c(0x129)]&&_0x211ca4[_0x456f3c(0x177)])return;let _0x12b4bf;try{_0x12b4bf=this['getRootParentFile'](_0x211ca4);}catch(_0xd1593e){logger[_0x456f3c(0x1a3)](_0x456f3c(0x19b)+_0xd1593e),_0x12b4bf=null;}const _0x174799=_0x36530b[_0x456f3c(0x140)](require,_0x36530b[_0x456f3c(0x18f)]);let _0x12a5fc=[];_0x4605c4&&(_0x12a5fc=[_0x4605c4,_0x36530b[_0x456f3c(0x14f)]]);const _0x36b2ec=_0x36530b[_0x456f3c(0xe3)](_0x211ca4[_0x456f3c(0xd7)],undefined)?_0x174799[_0x456f3c(0x102)](_0x211ca4[_0x456f3c(0xd7)][0x0]):_0x36530b[_0x456f3c(0x153)](_0x4605c4,undefined)?_0x4605c4[_0x456f3c(0x1bd)]():undefined,_0x204709=_0x12b4bf?this[_0x456f3c(0x116)](_0x12b4bf):null,_0x2a1388=_0x12b4bf?this['_paths'][_0x456f3c(0x19d)](this[_0x456f3c(0x110)](_0x211ca4)):_0x36530b[_0x456f3c(0x1ba)];let _0x252406=_0x36530b[_0x456f3c(0x154)];const _0xe20e7d=!_0x1678b9[_0x456f3c(0x14d)]?new Date()[_0x456f3c(0x173)]():null;if(_0x1678b9['finished'])_0x252406=_0x4605c4?_0x36530b[_0x456f3c(0xcd)]:_0x36530b[_0x456f3c(0xde)],_0x211ca4['markedStatus']=!![];else _0x1678b9[_0x456f3c(0x185)]&&(_0x252406=_0x36530b['iPTzd'],_0x211ca4[_0x456f3c(0x177)]=!![]);const _0x1ec953={'framework':this[_0x456f3c(0x11d)],'uuid':_0x211ca4[_0x456f3c(0x126)]||_0x211ca4[_0x456f3c(0x10f)],'name':_0x211ca4['title'],'body':{'lang':_0x36530b[_0x456f3c(0x16b)],'code':_0x211ca4['body'][_0x456f3c(0x1bd)]()},'type':_0x211ca4[_0x456f3c(0x144)],'scope':_0x211ca4[_0x456f3c(0x118)](),'scopes':this[_0x456f3c(0x14a)](_0x211ca4),'file_name':_0x2a1388,'vc_filepath':_0x204709?path['relative'](_0x204709,_0x12b4bf):null,'location':_0x2a1388,'result':_0x252406,'failure_reason':_0x36b2ec,'duration_in_ms':_0x211ca4[_0x456f3c(0x135)]||(_0x1678b9['finished']||_0x1678b9['skipped'])?_0x36530b[_0x456f3c(0xcc)](Date[_0x456f3c(0x1a1)](),new Date(_0x211ca4['startedAt'])[_0x456f3c(0x136)]()):null,'started_at':new Date(_0x211ca4[_0x456f3c(0x1ab)])[_0x456f3c(0x173)](),'finished_at':_0xe20e7d,'failure':testOpsHelper[_0x456f3c(0x162)]['apply'](null,_0x12a5fc),'failure_type':!_0x36b2ec?null:testOpsHelper[_0x456f3c(0x151)](_0x36b2ec),'retry_of':_0x211ca4[_0x456f3c(0x18e)]||null,'tags':_0x211ca4[_0x456f3c(0x192)]||[],'customRerunParam':{'rerun_name':_0x211ca4[_0x456f3c(0x118)]()}};_0x36530b['sHIsd'](appendTesthubParams,_0x1ec953,_0x30eb55,_0x211ca4,FRAMEWORKS['CODECEPT']);if(_0x1678b9[_0x456f3c(0xd0)])[_0x1ec953['hook_type'],_0x1ec953[_0x456f3c(0xd1)]]=[this[_0x456f3c(0x1be)](_0x211ca4),_0x211ca4[_0x456f3c(0x188)][_0x456f3c(0x115)][_0x456f3c(0xdd)]],_0x1678b9[_0x456f3c(0x129)]?_0x36530b[_0x456f3c(0xe3)](_0x1ec953[_0x456f3c(0x133)],_0x36530b[_0x456f3c(0xcd)])&&(_0x1ec953[_0x456f3c(0x133)]=_0x36530b['mkZel']):_0x1ec953[_0x456f3c(0x100)]={};else _0x1678b9[_0x456f3c(0x115)]&&(this[_0x456f3c(0x12d)](_0x211ca4),_0x1678b9[_0x456f3c(0x185)]&&this['resetSkipTestHooks'](_0x211ca4),(_0x1678b9['finished']||_0x1678b9[_0x456f3c(0x185)])&&(_0x1ec953[_0x456f3c(0x1bf)]=this[_0x456f3c(0xe8)](_0x211ca4)));this[_0x456f3c(0xfa)]&&(_0x1678b9['started']||_0x1678b9['skipped'])&&(_0x1ec953[_0x36530b['RnYXi']]=this[_0x456f3c(0x1b4)](this[_0x456f3c(0xfa)]));_0x1678b9[_0x456f3c(0x115)]&&_0x1678b9[_0x456f3c(0x129)]&&_0x211ca4[_0x456f3c(0x159)]&&(_0x1ec953[_0x36530b['bjgkD']]={'feature':{'name':_0x211ca4[_0x456f3c(0x147)]['feature'][_0x456f3c(0xd1)],'path':_0x1ec953[_0x456f3c(0x146)],'description':_0x211ca4[_0x456f3c(0x147)][_0x456f3c(0x17c)]},'scenario':{'name':_0x211ca4[_0x456f3c(0xdd)]},'steps':_0x211ca4[_0x456f3c(0x159)]});const _0x28387f=_0x1ec953[_0x36530b[_0x456f3c(0x15e)]][0x0];_0x28387f&&(_0x1ec953[_0x36530b[_0x456f3c(0x1ac)]]=_0x28387f[_0x36530b['NkIkX']],_0x1ec953[_0x36530b[_0x456f3c(0xfc)]]=_0x28387f[_0x36530b['RBQQL']]);if(_0x211ca4[_0x456f3c(0x159)])for(const _0x486153 of _0x211ca4[_0x456f3c(0x159)]){!_0x486153[_0x456f3c(0x191)]&&(_0x486153[_0x456f3c(0x191)]=new Date()[_0x456f3c(0x173)](),_0x36530b['xOWVT'](_0x486153[_0x456f3c(0x133)],_0x36530b[_0x456f3c(0x154)])&&(_0x28387f?(_0x486153['result']=_0x36530b['ttiro'],_0x486153[_0x456f3c(0x160)]=_0x28387f[_0x36530b[_0x456f3c(0x157)]][0x0]):_0x486153[_0x456f3c(0x133)]=_0x36530b[_0x456f3c(0xde)]));}const _0x1be04a={};_0x1be04a[_0x456f3c(0x1aa)]=_0x1678b9[_0x456f3c(0x185)]?TEST_EVENTS[_0x456f3c(0x176)]:_0x30eb55;const _0x2ad1b1=_0x1be04a;return _0x1678b9[_0x456f3c(0xd0)]?_0x2ad1b1[_0x36530b[_0x456f3c(0xe6)]]=_0x1ec953:_0x2ad1b1[_0x36530b['MVrOR']]=_0x1ec953,_0x2ad1b1;}catch(_0x210204){logger[_0x456f3c(0x1a3)](_0x456f3c(0x15f)+_0x30eb55+_0x456f3c(0xdf)+_0x210204);}}async[a4_0x2e26c9(0x174)](_0x329051,_0x5d2f06){const _0x549094=a4_0x2e26c9;if(!this[_0x549094(0x10b)]||!_0x5d2f06||!_0x329051)return![];try{return await SessionHandler[_0x549094(0x143)](_0x5d2f06);}catch(_0x2916eb){logger[_0x549094(0x1a3)](_0x549094(0x198)+_0x329051+_0x549094(0xdf)+_0x2916eb);}}['initializeBddStep'](_0x1d384c){const _0x4ba959=a4_0x2e26c9,_0x5dee09={};_0x5dee09[_0x4ba959(0xe0)]=_0x4ba959(0x106);const _0x593401=_0x5dee09;return{'id':_0x1d384c[_0x4ba959(0x125)],'text':_0x1d384c[_0x4ba959(0xd8)],'keyword':_0x1d384c['keyword'],'started_at':_0x1d384c[_0x4ba959(0x1ab)][_0x4ba959(0x173)](),'result':_0x593401[_0x4ba959(0xe0)]};}['bddStepStart'](_0x30c31d){const _0x15d8b1=a4_0x2e26c9,_0x5b491c={'LHsSk':function(_0x2f6680){return _0x2f6680();}};!this[_0x15d8b1(0x13b)][_0x15d8b1(0x159)]&&(this['currentTest'][_0x15d8b1(0x159)]=[]),!_0x30c31d[_0x15d8b1(0x125)]&&(_0x30c31d[_0x15d8b1(0x125)]=_0x5b491c[_0x15d8b1(0x16d)](uuidv4),_0x30c31d['startedAt']=new Date(),this[_0x15d8b1(0x13b)][_0x15d8b1(0x159)][_0x15d8b1(0x1c0)](this['initializeBddStep'](_0x30c31d)));}['bddStepFinish'](_0x4bfd29){const _0x28f2e6=a4_0x2e26c9,_0x3082ab={'TpkDi':function(_0x2024dd,_0x2580be){return _0x2024dd(_0x2580be);},'boBDg':'success','lWCmS':'pending','AdQff':_0x28f2e6(0x16f),'xfEWW':function(_0x2d2c0b,_0x2ef902){return _0x2d2c0b-_0x2ef902;}};let _0x3a76d2=this[_0x28f2e6(0x13b)][_0x28f2e6(0x159)][_0x28f2e6(0x19e)](_0x27ac19=>_0x27ac19['id']===_0x4bfd29[_0x28f2e6(0x125)]);_0x3082ab['TpkDi'](isUndefined,_0x3a76d2)&&(_0x3a76d2=this[_0x28f2e6(0x1a2)](_0x4bfd29)),_0x3a76d2[_0x28f2e6(0x133)]=[_0x3082ab[_0x28f2e6(0x122)],_0x3082ab['lWCmS']][_0x28f2e6(0x105)](_0x4bfd29[_0x28f2e6(0x163)])?_0x3082ab[_0x28f2e6(0xeb)]:_0x4bfd29[_0x28f2e6(0x163)],_0x3a76d2['finished_at']=new Date()[_0x28f2e6(0x173)](),_0x3a76d2[_0x28f2e6(0x135)]=_0x3082ab[_0x28f2e6(0x13a)](Date['now'](),_0x4bfd29[_0x28f2e6(0x1ab)]['getTime']()),_0x3a76d2[_0x28f2e6(0x160)]=_0x4bfd29[_0x28f2e6(0xee)]?_0x4bfd29['err'][_0x28f2e6(0xed)]:null;}}const a4_0x252483={};a4_0x252483[a4_0x2e26c9(0x1c2)]=O11yHelper,a4_0x252483['STATE_PASSED']=STATE_PASSED,a4_0x252483[a4_0x2e26c9(0x1a0)]=STATE_FAILED,a4_0x252483[a4_0x2e26c9(0x19f)]=TEST_EVENTS,module['exports']=a4_0x252483;