browserstack-node-sdk 1.34.42 → 1.34.43

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 (134) 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/start.js +1 -1
  18. package/ats/src/commands/start_commands/grid.js +1 -1
  19. package/ats/src/commands/stop.js +1 -1
  20. package/ats/src/commands/stop_commands/grid.js +1 -1
  21. package/ats/src/config/constants.js +1 -1
  22. package/ats/src/config/logger.js +1 -1
  23. package/ats/src/index.js +1 -1
  24. package/ats/src/utils/AWSUtils.js +1 -1
  25. package/ats/src/utils/createAutoscalerStack.js +1 -1
  26. package/ats/src/utils/createClusterStack.js +1 -1
  27. package/ats/src/utils/createHubHaStack.js +1 -1
  28. package/ats/src/utils/createk8sClient.js +1 -1
  29. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  30. package/ats/src/utils/deleteStack.js +1 -1
  31. package/ats/src/utils/describeStack.js +1 -1
  32. package/ats/src/utils/gridComponents.js +1 -1
  33. package/ats/src/utils/hstUtils.js +1 -1
  34. package/ats/src/utils/instrumentationUtils.js +1 -1
  35. package/ats/src/utils/userInput.js +1 -1
  36. package/ats/src/utils/utilityMethods.js +1 -1
  37. package/ats/src/utils/webSocketUtils.js +1 -1
  38. package/package.json +1 -1
  39. package/src/ai-sdk-node/bundle.js +1 -1
  40. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  41. package/src/bin/codeceptjs/command.js +1 -1
  42. package/src/bin/codeceptjs/helper.js +1 -1
  43. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  44. package/src/bin/cucumber-js/command.js +1 -1
  45. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  46. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  47. package/src/bin/cucumber-js/test-observability.js +1 -1
  48. package/src/bin/cucumber-js/test.setup.js +1 -1
  49. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  50. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  51. package/src/bin/integrations/command.js +1 -1
  52. package/src/bin/integrations/constants.js +1 -1
  53. package/src/bin/jest/command.js +1 -1
  54. package/src/bin/jest/customImplements/customCircus.js +1 -1
  55. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  56. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  57. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  58. package/src/bin/jest/jest.setup.js +1 -1
  59. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  60. package/src/bin/jest/test-observability/helper.js +1 -1
  61. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  62. package/src/bin/jest/test-observability/test-details.js +1 -1
  63. package/src/bin/jest/test_before.setup.js +1 -1
  64. package/src/bin/launcher/launcher.js +1 -1
  65. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  66. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  67. package/src/bin/mocha/command.js +1 -1
  68. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  69. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  70. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  71. package/src/bin/mocha/test.setup.js +1 -1
  72. package/src/bin/nightwatch/command.js +1 -1
  73. package/src/bin/playwright/accessibility-helper.js +1 -1
  74. package/src/bin/playwright/command.js +1 -1
  75. package/src/bin/playwright/globalSetup.js +1 -1
  76. package/src/bin/playwright/mock-process.js +1 -1
  77. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  78. package/src/bin/playwright/patches.js +1 -1
  79. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  80. package/src/bin/playwright/reporter/reporter.js +1 -1
  81. package/src/bin/playwright/reporter/test-details.js +1 -1
  82. package/src/bin/playwright/sessionDetails.js +1 -1
  83. package/src/bin/runner.js +1 -1
  84. package/src/bin/setup.js +1 -1
  85. package/src/bin/test-runner/index.js +1 -1
  86. package/src/bin/test-runner/runTest.js +1 -1
  87. package/src/bin/test-runner/testWorker.js +1 -1
  88. package/src/bin/utils/constants.js +1 -1
  89. package/src/bin/utils/log4jsAppender.js +1 -1
  90. package/src/bin/utils/logPatcher.js +1 -1
  91. package/src/bin/utils/logReportingAPI.js +1 -1
  92. package/src/bin/vanilla-js/command.js +1 -1
  93. package/src/browserStackSdk.js +1 -1
  94. package/src/helpers/BrowserStackSetup.js +1 -1
  95. package/src/helpers/accessibility-automation/constants.js +1 -1
  96. package/src/helpers/accessibility-automation/helper.js +1 -1
  97. package/src/helpers/accessibility-automation/scripts.js +1 -1
  98. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  99. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  100. package/src/helpers/ats/constants.js +1 -1
  101. package/src/helpers/ats/helper.js +1 -1
  102. package/src/helpers/capsMapping.js +1 -1
  103. package/src/helpers/central-scanner/constants.js +1 -1
  104. package/src/helpers/central-scanner/helpers.js +1 -1
  105. package/src/helpers/globals.js +1 -1
  106. package/src/helpers/helper.js +1 -1
  107. package/src/helpers/logger.js +1 -1
  108. package/src/helpers/patchHelper.js +1 -1
  109. package/src/helpers/patchHelpers.js +1 -1
  110. package/src/helpers/percy/Percy.js +1 -1
  111. package/src/helpers/percy/PercyBinary.js +1 -1
  112. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  113. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  114. package/src/helpers/percy/PercySDK.js +1 -1
  115. package/src/helpers/percy/index.js +1 -1
  116. package/src/helpers/percy/utils.js +1 -1
  117. package/src/helpers/performance/constants.js +1 -1
  118. package/src/helpers/performance/performance-tester.js +1 -1
  119. package/src/helpers/processHelper.js +1 -1
  120. package/src/helpers/request-spy.js +1 -1
  121. package/src/helpers/setKeepAlive.js +1 -1
  122. package/src/helpers/test-observability/constants.js +1 -1
  123. package/src/helpers/test-observability/error-handler.js +1 -1
  124. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  125. package/src/helpers/test-observability/sessionHandler.js +1 -1
  126. package/src/helpers/test-observability/utils.js +1 -1
  127. package/src/helpers/testhub/constants.js +1 -1
  128. package/src/helpers/testhub/testhubHandler.js +1 -1
  129. package/src/helpers/testhub/utils.js +1 -1
  130. package/src/helpers/timeoutPromise.js +1 -1
  131. package/src/helpers/utilities.js +1 -1
  132. package/src/helpers/w3cMapping.js +1 -1
  133. package/src/hubAllocationMethods.js +1 -1
  134. package/src/index.js +1 -1
@@ -1 +1 @@
1
- function a1_0x392f(_0x55363d,_0x1e3cff){const _0x5f52e3=a1_0x5f52();return a1_0x392f=function(_0x392fc8,_0x5a916a){_0x392fc8=_0x392fc8-0x13e;let _0x1fbdd6=_0x5f52e3[_0x392fc8];return _0x1fbdd6;},a1_0x392f(_0x55363d,_0x1e3cff);}const a1_0x4f4bbd=a1_0x392f;(function(_0x321f6b,_0xc1714d){const _0x3c3ceb=a1_0x392f,_0x1f47ca=_0x321f6b();while(!![]){try{const _0x2e0a89=parseInt(_0x3c3ceb(0x1d6))/0x1*(-parseInt(_0x3c3ceb(0x1bc))/0x2)+-parseInt(_0x3c3ceb(0x1ef))/0x3+-parseInt(_0x3c3ceb(0x166))/0x4+parseInt(_0x3c3ceb(0x147))/0x5*(parseInt(_0x3c3ceb(0x165))/0x6)+-parseInt(_0x3c3ceb(0x19a))/0x7*(parseInt(_0x3c3ceb(0x1fa))/0x8)+parseInt(_0x3c3ceb(0x168))/0x9+parseInt(_0x3c3ceb(0x1eb))/0xa;if(_0x2e0a89===_0xc1714d)break;else _0x1f47ca['push'](_0x1f47ca['shift']());}catch(_0x124959){_0x1f47ca['push'](_0x1f47ca['shift']());}}}(a1_0x5f52,0xd53fd));const fs=require('fs'),util=require(a1_0x4f4bbd(0x209)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x4f4bbd(0x1ca)),logger=require(a1_0x4f4bbd(0x200))[a1_0x4f4bbd(0x215)],testOpsHelper=require('../../helpers/test-observability/utils'),requestSpy=require(a1_0x4f4bbd(0x1e8)),PlaywrightSessionDetails=require(a1_0x4f4bbd(0x1c2)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x4f4bbd(0x20d)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x4f4bbd(0x1a4)),AccessibilityHelper=require(a1_0x4f4bbd(0x1a0)),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require(a1_0x4f4bbd(0x151)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x4f4bbd(0x19f)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x4f4bbd(0x177)),testHubConstants=require(a1_0x4f4bbd(0x1f1)),globals=require(a1_0x4f4bbd(0x1aa)),CodeceptJS=requireModule(a1_0x4f4bbd(0x1d0),a1_0x4f4bbd(0x1af)),CodeceptUtils=requireModule(a1_0x4f4bbd(0x142),a1_0x4f4bbd(0x1af)),CodeceptWebDriver=requireModule('codeceptjs/lib/helper/WebDriver.js',a1_0x4f4bbd(0x1af)),CodeceptRecorder=requireModule(a1_0x4f4bbd(0x1b7),a1_0x4f4bbd(0x1af)),CodeceptPlaywright=requireModule('codeceptjs/lib/helper/Playwright.js',a1_0x4f4bbd(0x1af)),playwrightMarkSessionStatus=(_0x439e7b,_0x4a6b2a,_0x2d958d)=>{const _0x28c774=a1_0x4f4bbd,_0x3ba253={'YRwVD':_0x28c774(0x1dd),'pDXNB':function(_0x192ac9,_0x303bce){return _0x192ac9(_0x303bce);}},_0x13c55d={};_0x13c55d[_0x28c774(0x20f)]=_0x4a6b2a;const _0x1b9232={};_0x1b9232[_0x28c774(0x216)]=_0x3ba253[_0x28c774(0x1e3)],_0x1b9232[_0x28c774(0x1e1)]=_0x13c55d;const _0x242d3b=_0x1b9232;return!_0x3ba253['pDXNB'](isUndefined,_0x2d958d)&&(_0x242d3b[_0x28c774(0x1e1)][_0x28c774(0x1e9)]=JSON[_0x28c774(0x17c)](_0x2d958d)),_0x439e7b['executeScript'](()=>{},_0x28c774(0x1ec)+JSON[_0x28c774(0x17c)](_0x242d3b));},o11ySync=PerformanceTester[a1_0x4f4bbd(0x1fd)](PerformanceO11yEvents[a1_0x4f4bbd(0x1d3)],async _0x156efe=>{const _0x7bbc55=a1_0x4f4bbd,_0x43aa1f={};_0x43aa1f[_0x7bbc55(0x174)]=function(_0x40bf02,_0x2cca38){return _0x40bf02===_0x2cca38;},_0x43aa1f[_0x7bbc55(0x1e6)]='Playwright';const _0x2ff998=_0x43aa1f;_0x2ff998[_0x7bbc55(0x174)](_0x156efe[_0x7bbc55(0x212)]['name'],_0x2ff998[_0x7bbc55(0x1e6)])?await _0x156efe[_0x7bbc55(0x20e)](_0x145178=>{},testOpsHelper[_0x7bbc55(0x186)]()):await _0x156efe[_0x7bbc55(0x20e)](testOpsHelper['getSyncScript']());}),markSessionName=PerformanceTester[a1_0x4f4bbd(0x1fd)](PerformanceAutEvents[a1_0x4f4bbd(0x150)],async(_0x2c6f09,_0x3ed4c1)=>{const _0x178245=a1_0x4f4bbd,_0x399d0a={};_0x399d0a[_0x178245(0x149)]=_0x178245(0x1fb),_0x399d0a[_0x178245(0x1dc)]=function(_0x1c5d68,_0x128267){return _0x1c5d68===_0x128267;},_0x399d0a['GMaCo']=_0x178245(0x203);const _0x20a1fe=_0x399d0a,_0x50a44f={};_0x50a44f[_0x178245(0x178)]=_0x3ed4c1;const _0x52abc8={};_0x52abc8[_0x178245(0x216)]=_0x20a1fe['WWXWf'],_0x52abc8['arguments']=_0x50a44f;const _0x4d7260=_0x52abc8;_0x20a1fe[_0x178245(0x1dc)](_0x2c6f09[_0x178245(0x212)]['name'],_0x20a1fe[_0x178245(0x141)])?await _0x2c6f09[_0x178245(0x20e)](()=>{},_0x178245(0x1ec)+JSON['stringify'](_0x4d7260)):await _0x2c6f09[_0x178245(0x20e)](_0x178245(0x1ec)+JSON[_0x178245(0x17c)](_0x4d7260));}),patchSaveScreenshot=_0x1d86f2=>{const _0x1ad312=a1_0x4f4bbd,_0x59dfe7={'DxqQE':'base64','gdToH':'TEST_SCREENSHOT','qHzcI':function(_0x48601d){return _0x48601d();},'VhEig':function(_0x2079e9,_0x129d66){return _0x2079e9(_0x129d66);}};_0x59dfe7[_0x1ad312(0x188)](isTrue,process[_0x1ad312(0x1ac)]['BS_TESTOPS_ALLOW_SCREENSHOTS'])&&!_0x1d86f2['patchSaveScreenshot']&&(_0x1d86f2[_0x1ad312(0x191)]=!![],_0x1d86f2[_0x1ad312(0x1c9)]=_0x1d86f2['saveScreenshot'],_0x1d86f2[_0x1ad312(0x208)]=(_0x1935cc,_0x31efbd=![])=>{const _0x2374b8=_0x1ad312,_0x44add6={'MXxFm':_0x59dfe7['DxqQE'],'LcdmZ':_0x59dfe7[_0x2374b8(0x1c5)],'bMpev':function(_0x519bbf){const _0x1eeaf7=_0x2374b8;return _0x59dfe7[_0x1eeaf7(0x17d)](_0x519bbf);}};return new Promise(function(_0x28c955,_0x861934){const _0x27194e=_0x2374b8,_0x2c5ea1={'rArch':_0x44add6[_0x27194e(0x143)],'gXxbZ':_0x44add6[_0x27194e(0x190)],'RTOTD':function(_0x50a9a8){return _0x44add6['bMpev'](_0x50a9a8);}};_0x1d86f2[_0x27194e(0x1c9)](_0x1935cc,_0x31efbd)[_0x27194e(0x161)](()=>{const _0x384635=_0x27194e,_0x5317c4=CodeceptUtils[_0x384635(0x1ea)](_0x1935cc),_0x20b359=fs[_0x384635(0x210)](_0x5317c4);process[_0x384635(0x154)](_0x384635(0x1a3)+process[_0x384635(0x1b1)],{'timestamp':new Date()[_0x384635(0x184)](),'message':_0x20b359[_0x384635(0x1e4)](_0x2c5ea1[_0x384635(0x195)]),'kind':_0x2c5ea1['gXxbZ']}),_0x2c5ea1[_0x384635(0x1db)](_0x28c955);})[_0x27194e(0x16d)](()=>null);});});},patchWebDriverBefore=_0x14bd47=>{const _0x63aa84=a1_0x4f4bbd,_0x5ae902={'tWwBv':function(_0x256a75){return _0x256a75();},'PLODw':function(_0x1630fd,_0x1ecdb5){return _0x1630fd(_0x1ecdb5);},'bmJVn':function(_0x28b8c2,_0x2ad1cd){return _0x28b8c2===_0x2ad1cd;},'LWfCp':_0x63aa84(0x1c8)},_0x4e502f=async function(_0x568582,_0x2dbff8){const _0x1794c0=_0x63aa84;return _0x5ae902[_0x1794c0(0x1a9)](isAccessibilityAutomationSession)&&!global[_0x1794c0(0x1b6)]&&global['accessibilityPlatform']&&scripts[_0x1794c0(0x1b5)](_0x568582[_0x1794c0(0x178)])&&_0x5ae902[_0x1794c0(0x158)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x1794c0(0x1b6)]=!![],await PerformanceTester[_0x1794c0(0x1fd)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x57109f=_0x1794c0;logger['debug']('Performing\x20scan\x20for\x20'+_0x568582['class']+'\x20'+_0x568582[_0x57109f(0x178)]),await AccessibilityHelper[_0x57109f(0x196)](_0x14bd47,scripts['performScan']);},{'command':_0x568582[_0x1794c0(0x178)]})()),global['bstackAllyScanning']=![],_0x2dbff8['apply'](this,Array[_0x1794c0(0x201)]['slice'][_0x1794c0(0x1ff)](arguments,0x2));},_0x350847=CodeceptWebDriver['prototype'][_0x63aa84(0x1a7)];CodeceptWebDriver[_0x63aa84(0x201)][_0x63aa84(0x1a7)]=async function(){const _0x548d46=_0x63aa84,_0x31e40b={'QNJqi':function(_0x43512d,_0x37d835){return _0x5ae902['bmJVn'](_0x43512d,_0x37d835);},'knKAG':_0x5ae902['LWfCp']};try{await _0x350847[_0x548d46(0x1d4)](this,arguments);}catch(_0x372d3e){logger[_0x548d46(0x1c4)]('Failed\x20to\x20execute\x20_before:\x20'+util[_0x548d46(0x17a)](_0x372d3e));}scripts['commandsToWrap']['filter'](_0x3ac9a2=>_0x3ac9a2[_0x548d46(0x178)]&&_0x3ac9a2[_0x548d46(0x1f9)])[_0x548d46(0x156)](_0x30d5c9=>{const _0x5cfb2c=_0x548d46;this[_0x5cfb2c(0x1b2)][_0x5cfb2c(0x1ee)](_0x30d5c9[_0x5cfb2c(0x178)],_0x4e502f[_0x5cfb2c(0x19e)](this,_0x30d5c9),_0x31e40b[_0x5cfb2c(0x159)](_0x30d5c9[_0x5cfb2c(0x1f9)],_0x31e40b['knKAG']));}),_0x5ae902[_0x548d46(0x158)](processWebDriverConfig,_0x14bd47);};},patchPlaywrightBefore=()=>{const _0x4fd6a4=a1_0x4f4bbd;PlaywrightSessionDetails[_0x4fd6a4(0x18b)]();const _0xd70bf=CodeceptPlaywright[_0x4fd6a4(0x201)]['_before'];CodeceptPlaywright[_0x4fd6a4(0x201)][_0x4fd6a4(0x1a7)]=async function(){const _0xb9df67=_0x4fd6a4;this[_0xb9df67(0x1c6)]=await this[_0xb9df67(0x1b2)]['contexts']()[0x0],await _0xd70bf[_0xb9df67(0x1d4)](this,arguments);};},getCodeceptDriver=()=>{const _0x44dd7d=a1_0x4f4bbd,_0xe0e7ce={};_0xe0e7ce[_0x44dd7d(0x16a)]=_0x44dd7d(0x18a),_0xe0e7ce[_0x44dd7d(0x15a)]=_0x44dd7d(0x203),_0xe0e7ce[_0x44dd7d(0x1cd)]=_0x44dd7d(0x1ad),_0xe0e7ce[_0x44dd7d(0x18c)]=_0x44dd7d(0x14a);const _0x53f6cc=_0xe0e7ce,_0x27a21b=[_0x53f6cc[_0x44dd7d(0x16a)],_0x53f6cc['UpveP'],_0x53f6cc[_0x44dd7d(0x1cd)],_0x53f6cc[_0x44dd7d(0x18c)]],_0x2315ef=_0x27a21b[_0x44dd7d(0x1e5)](_0x2a678c=>!!CodeceptJS[_0x44dd7d(0x181)][_0x44dd7d(0x1b8)](_0x2a678c));if(!_0x2315ef)return null;return CodeceptJS[_0x44dd7d(0x181)][_0x44dd7d(0x1b8)](_0x2315ef);};function a1_0x5f52(){const _0x993ee5=['afterTest','failed','HgOfG','SDK_HOOK','msQYc','codeceptjs/lib/index.js','hook-passed','FexEE','SYNC','apply','thTestRunUuid','1EFHOaU','browserstackTestName','getResultsSummary','stop','INFO','RTOTD','PQsUs','setSessionStatus','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','MsisH','thBuildUuid','arguments','saveTestResults','YRwVD','toString','find','bvDvR','MTQDo','../../helpers/request-spy','reason','screenshotOutputFolder','14266230ArRrhO','browserstack_executor:\x20','GET_RESULTS','overwriteCommand','3735750bZmiCx','mziWQ','../../helpers/testhub/constants.js','__skipSessionStatus','xyOyl','getAccessibilityResults','hookType','startMonitoring','BGeFO','TEST_RUN_FINISHED','class','31016MgrJOU','setSessionName','bddStepFinish','measureWrapper','stopMonitoring','call','../../helpers/logger','prototype','zZUlo','Playwright','RNgQg','mSOJu','TEST_LOG','started','saveScreenshot','util','addRequestSpy','GPSbA','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','./o11yHelper','executeScript','status','readFileSync','title','constructor','test','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','winstonLogger','action','Suite','SDK_POST_INITIALIZE','hook-started','BROWSERSTACK_TESTHUB_JWT','GdUnY','warn','GMaCo','codeceptjs/lib/utils.js','MXxFm','event','XQnHc','__workerDetails','1702065UkqUNM','setGlobal','WWXWf','TestCafe','test-failed','all','command','skipSessionStatus','HOOK_RUN_STARTED','SESSION_NAME','../../helpers/performance/performance-tester','lwYMp','xWeDj','emit','captureError','forEach','captureEvent','PLODw','QNJqi','UpveP','TEST_RUN_SKIPPED','PERFORM_SCAN','rlwar','start','test-skipped','WVfJa','then','ciKXV','NkZmy','bddStepStart','12KDIlNj','1054320TXVAOB','PmLVD','9518013dxmqan','before','pFwpn','tKxGj','ctx','catch','NnVLg','dispatcher','YdVBJ','SDK_POST_TEST','LMbMh','test-after','mdvDj','BROWSERSTACK_TESTHUB_UUID','zMalt','./helper.js','name','QHteU','format','exports','stringify','qHzcI','BRTfG','GET_RESULTS_SUMMARY','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','container','__driver','leaZc','toISOString','enabled','getSyncScript','testAnalyticsId','VhEig','test-before','WebDriver','patch','aHqrH','hook','end','SDK_PRE_INITIALIZE','LcdmZ','patchSaveScreenshot','performScan','XIgRn','ENV_VAR','rArch','browserStackExecuteDriver','oUrtC','add','restore','994fRPkrw','iWfsa','FgNAo','passed','bind','../../helpers/performance/constants','../../bin/playwright/accessibility-helper','thJwtToken','gtrQl','bs:addLog:','../../helpers/accessibility-automation/helper','HOOK_RUN_FINISHED','fireEvent','_before','tPEgN','tWwBv','../../helpers/globals.js','kPGzX','env','Puppeteer','currentTest','codeceptjs','kladU','pid','browser','MUhlt','UgRdZ','shouldWrapCommand','bstackAllyScanning','codeceptjs/lib/recorder.js','helpers','accessibilityPlatform','bddStep-after','edBHO','464346tYyKjv','test-started','bddStep-before','SDK_PRE_TEST','CKVzr','bddStep','../../bin/playwright/sessionDetails','TEST_RUN_STARTED','debug','gdToH','browserContext','SDK_TEST','Element','initSaveScreenshot','../../helpers/helper'];a1_0x5f52=function(){return _0x993ee5;};return a1_0x5f52();}module[a1_0x4f4bbd(0x17b)]=function(_0x4a6940){const _0x9f9afd=a1_0x4f4bbd,_0x5513f2={'msQYc':function(_0xcdddd7){return _0xcdddd7();},'ciKXV':function(_0x4145eb,_0x5a7ad8){return _0x4145eb(_0x5a7ad8);},'mSOJu':'getAccessibilityResultsSummary','tPEgN':_0x9f9afd(0x20c),'MsisH':_0x9f9afd(0x1f4),'FexEE':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','YdVBJ':_0x9f9afd(0x219),'mziWQ':_0x9f9afd(0x1d1),'oUrtC':'hook-failed','kPGzX':_0x9f9afd(0x1d7),'XIgRn':function(_0x477795){return _0x477795();},'leaZc':_0x9f9afd(0x189),'iWfsa':function(_0x1464a9,_0x412ecb){return _0x1464a9(_0x412ecb);},'BGeFO':function(_0x190c5c,_0x202b61,_0x4f57ca){return _0x190c5c(_0x202b61,_0x4f57ca);},'NkZmy':_0x9f9afd(0x1bd),'FgNAo':function(_0x54f61a){return _0x54f61a();},'WVfJa':'test-passed','rlwar':function(_0x46691f){return _0x46691f();},'LMbMh':function(_0x4bf2aa,_0x1aa3a8,_0x372bf3,_0x4d8c73){return _0x4bf2aa(_0x1aa3a8,_0x372bf3,_0x4d8c73);},'RNgQg':function(_0x303238,_0x42e8f9,_0x1bb255,_0x171219){return _0x303238(_0x42e8f9,_0x1bb255,_0x171219);},'QHteU':function(_0x35428e,_0xfedcb2){return _0x35428e===_0xfedcb2;},'MPaEB':_0x9f9afd(0x217),'CKVzr':_0x9f9afd(0x14b),'UgRdZ':_0x9f9afd(0x15f),'wUDxT':_0x9f9afd(0x1cb),'gtrQl':function(_0x2b4b2c,_0x1c1107,_0x103879){return _0x2b4b2c(_0x1c1107,_0x103879);},'NnVLg':function(_0x5ed397){return _0x5ed397();},'kladU':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','XQnHc':_0x9f9afd(0x173),'GdUnY':_0x9f9afd(0x1da),'zZUlo':_0x9f9afd(0x206),'MTQDo':'step-comment','edBHO':_0x9f9afd(0x1be),'MUhlt':_0x9f9afd(0x1ba),'xWeDj':function(_0x1836a6){return _0x1836a6();},'GPSbA':_0x9f9afd(0x203)};_0x4a6940[_0x9f9afd(0x14e)]&&(global[_0x9f9afd(0x1f2)]=_0x4a6940[_0x9f9afd(0x14e)]);PerformanceTester[_0x9f9afd(0x1f6)]();const _0x5d098b=_0x5513f2[_0x9f9afd(0x153)](getCodeceptDriver),_0x17b608=new O11yHelper(_0x5d098b,_0x4a6940),_0x3684bc=!!CodeceptJS[_0x9f9afd(0x181)]['helpers'](_0x5513f2[_0x9f9afd(0x20b)]);global[_0x9f9afd(0x182)]=_0x5d098b,_0x5d098b&&(PerformanceTester[_0x9f9afd(0x1fd)](PerformanceEvents[_0x9f9afd(0x18f)],()=>{const _0x495a11=_0x9f9afd;_0x3684bc?_0x5513f2[_0x495a11(0x1cf)](patchPlaywrightBefore):_0x5513f2[_0x495a11(0x162)](patchWebDriverBefore,_0x5d098b);})(),PerformanceTester[_0x9f9afd(0x1fd)](PerformanceEvents[_0x9f9afd(0x218)],()=>{const _0x40fc68=_0x9f9afd,_0x452e38={};_0x452e38['tKxGj']=_0x5513f2[_0x40fc68(0x1df)],_0x452e38[_0x40fc68(0x152)]=_0x5513f2[_0x40fc68(0x1d2)];const _0xcd31c3=_0x452e38;_0x5d098b['getAccessibilityResultsSummary']=async()=>{const _0x57a4a1=_0x40fc68;if(global[_0x57a4a1(0x1b9)]){const _0x2f2f5b={};_0x2f2f5b[_0x57a4a1(0x14d)]=_0x5513f2[_0x57a4a1(0x205)],await PerformanceTester[_0x57a4a1(0x1fd)](PerformanceA11yEvents[_0x57a4a1(0x15c)],async()=>{const _0x1f0d4=_0x57a4a1;await AccessibilityHelper[_0x1f0d4(0x196)](_0x5d098b,scripts[_0x1f0d4(0x192)]);},_0x2f2f5b)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x57a4a1(0x17f)],async()=>{const _0x32fa13=_0x57a4a1;await AccessibilityHelper['browserStackExecuteDriver'](_0x5d098b,scripts[_0x32fa13(0x1d8)]);})();}else return logger[_0x57a4a1(0x140)](_0x5513f2[_0x57a4a1(0x1a8)]),{};},_0x5d098b[_0x40fc68(0x1f4)]=async()=>{const _0x57e600=_0x40fc68;if(global[_0x57e600(0x1b9)]){const _0x52ec52={};_0x52ec52['command']=_0xcd31c3[_0x57e600(0x16b)],await PerformanceTester[_0x57e600(0x1fd)](PerformanceA11yEvents[_0x57e600(0x15c)],async()=>{const _0x705d96=_0x57e600;await AccessibilityHelper[_0x705d96(0x196)](_0x5d098b,scripts['performScan']);},_0x52ec52)(),await PerformanceTester[_0x57e600(0x1fd)](PerformanceA11yEvents[_0x57e600(0x1ed)],async()=>{const _0xfbd4c6=_0x57e600;await AccessibilityHelper[_0xfbd4c6(0x196)](_0x5d098b,scripts['getResults']);})();}else return logger[_0x57e600(0x140)](_0xcd31c3[_0x57e600(0x152)]),{};},_0x5513f2[_0x40fc68(0x162)](patchSaveScreenshot,_0x5d098b);})()),CodeceptJS['event'][_0x9f9afd(0x16f)]['on'](CodeceptJS[_0x9f9afd(0x144)][_0x9f9afd(0x14c)][_0x9f9afd(0x169)],()=>{const _0x3c8136=_0x9f9afd;PerformanceTester[_0x3c8136(0x15e)](PerformanceEvents[_0x3c8136(0x1bf)]);try{_0x17b608[_0x3c8136(0x15e)](),testOpsHelper[_0x3c8136(0x20a)](),PerformanceTester[_0x3c8136(0x18e)](PerformanceEvents[_0x3c8136(0x1bf)]);}catch(_0x3ef6ae){PerformanceTester[_0x3c8136(0x155)](_0x3ef6ae),PerformanceTester[_0x3c8136(0x18e)](PerformanceEvents[_0x3c8136(0x1bf)],![],_0x3ef6ae);}}),CodeceptJS[_0x9f9afd(0x144)][_0x9f9afd(0x16f)]['on'](CodeceptJS[_0x9f9afd(0x144)][_0x9f9afd(0x14c)]['after'],async()=>{const _0x939ce7=_0x9f9afd;PerformanceTester['start'](PerformanceEvents[_0x939ce7(0x171)]);try{requestSpy[_0x939ce7(0x199)](),await _0x17b608[_0x939ce7(0x1d9)](),PerformanceTester[_0x939ce7(0x18e)](PerformanceEvents[_0x939ce7(0x171)]);}catch(_0x1c5207){PerformanceTester[_0x939ce7(0x155)](_0x1c5207),PerformanceTester[_0x939ce7(0x18e)](PerformanceEvents[_0x939ce7(0x171)],![],_0x1c5207);}finally{PerformanceTester[_0x939ce7(0x1fe)]();}}),CodeceptJS[_0x9f9afd(0x144)]['dispatcher']['on'](CodeceptJS[_0x9f9afd(0x144)]['hook'][_0x9f9afd(0x207)],_0x3f4c17=>{const _0x42efeb=_0x9f9afd;PerformanceTester[_0x42efeb(0x15e)](PerformanceEvents['SDK_HOOK']);try{const _0x226b15=_0x3f4c17[_0x42efeb(0x16c)][_0x42efeb(0x213)],_0x388799=_0x17b608[_0x42efeb(0x157)](TEST_EVENTS[_0x42efeb(0x14f)],_0x226b15);CodeceptRecorder[_0x42efeb(0x198)](()=>_0x17b608[_0x42efeb(0x1a6)](TEST_EVENTS['HOOK_RUN_STARTED'],_0x388799));const _0x57cca6={};_0x57cca6['hookType']=_0x5513f2[_0x42efeb(0x170)],PerformanceTester['end'](PerformanceEvents[_0x42efeb(0x1ce)],!![],null,_0x57cca6);}catch(_0x427e19){const _0x31d449={};_0x31d449[_0x42efeb(0x1f5)]=_0x5513f2[_0x42efeb(0x170)],PerformanceTester[_0x42efeb(0x18e)](PerformanceEvents[_0x42efeb(0x1ce)],![],_0x427e19,_0x31d449),PerformanceTester[_0x42efeb(0x155)](_0x427e19);}}),CodeceptJS[_0x9f9afd(0x144)][_0x9f9afd(0x16f)]['on'](CodeceptJS[_0x9f9afd(0x144)]['hook']['passed'],_0x3d6e13=>{const _0xe2fc6c=_0x9f9afd,_0x35957a={};_0x35957a[_0xe2fc6c(0x1f5)]=_0x5513f2['mziWQ'],PerformanceTester[_0xe2fc6c(0x15e)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x35957a);try{const _0x17669d=_0x3d6e13[_0xe2fc6c(0x16c)]['test'],_0x105fda=_0x17b608[_0xe2fc6c(0x157)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x17669d);CodeceptRecorder[_0xe2fc6c(0x198)](()=>_0x17b608[_0xe2fc6c(0x1a6)](TEST_EVENTS[_0xe2fc6c(0x1a5)],_0x105fda));const _0x27fe4e={};_0x27fe4e[_0xe2fc6c(0x1f5)]=_0x5513f2[_0xe2fc6c(0x1f0)],PerformanceTester['end'](PerformanceHookEvents[_0xe2fc6c(0x1ce)],!![],null,_0x27fe4e);}catch(_0x15f7fa){PerformanceTester[_0xe2fc6c(0x155)](_0x15f7fa);const _0x2c505f={};_0x2c505f[_0xe2fc6c(0x1f5)]=_0x5513f2[_0xe2fc6c(0x1f0)],PerformanceTester[_0xe2fc6c(0x18e)](PerformanceHookEvents['SDK_HOOK'],![],_0x15f7fa,_0x2c505f);}}),CodeceptJS[_0x9f9afd(0x144)][_0x9f9afd(0x16f)]['on'](CodeceptJS[_0x9f9afd(0x144)][_0x9f9afd(0x18d)][_0x9f9afd(0x1cc)],async(_0x5d3967,_0x2025af)=>{const _0x168fc8=_0x9f9afd;PerformanceTester['start'](PerformanceHookEvents[_0x168fc8(0x1ce)]);try{const _0x378268=_0x5d3967[_0x168fc8(0x16c)][_0x168fc8(0x213)],_0xdf02c6=_0x17b608[_0x168fc8(0x157)](TEST_EVENTS[_0x168fc8(0x1a5)],_0x378268,_0x2025af);CodeceptRecorder[_0x168fc8(0x198)](()=>_0x17b608[_0x168fc8(0x1a6)](TEST_EVENTS[_0x168fc8(0x1a5)],_0xdf02c6));const _0x5ea836={};_0x5ea836[_0x168fc8(0x1f5)]=_0x5513f2[_0x168fc8(0x197)],PerformanceTester[_0x168fc8(0x15e)](PerformanceHookEvents[_0x168fc8(0x1ce)],!![],null,_0x5ea836);}catch(_0xf5f0a1){PerformanceTester[_0x168fc8(0x155)](_0xf5f0a1);const _0x36c938={};_0x36c938[_0x168fc8(0x1f5)]=_0x5513f2[_0x168fc8(0x197)],PerformanceTester[_0x168fc8(0x18e)](PerformanceHookEvents['SDK_HOOK'],![],_0xf5f0a1,_0x36c938);}const _0x557806={};_0x557806[_0x168fc8(0x1f5)]=_0x5513f2['oUrtC'],PerformanceTester['end'](PerformanceHookEvents[_0x168fc8(0x1ce)],!![],null,_0x557806);}),CodeceptJS['event'][_0x9f9afd(0x16f)]['on'](CodeceptJS[_0x9f9afd(0x144)]['test'][_0x9f9afd(0x169)],_0xdfc8f=>{const _0x3479a1=_0x9f9afd;PerformanceTester[_0x3479a1(0x15e)](PerformanceHookEvents['SDK_HOOK']);try{globals[_0x3479a1(0x148)](_0x5513f2[_0x3479a1(0x1ab)],_0xdfc8f[_0x3479a1(0x211)]);_0x5513f2[_0x3479a1(0x193)](isBrowserstackInfra)&&(_0x3684bc&&(global[_0x3479a1(0x146)]={'currentTest':{'name':_0xdfc8f[_0x3479a1(0x211)],'testInfo':{'titlePath':_0xdfc8f['titlePath']()}}}));const _0x3dd56f={};_0x3dd56f[_0x3479a1(0x1f5)]=_0x5513f2[_0x3479a1(0x183)],PerformanceTester[_0x3479a1(0x18e)](PerformanceHookEvents[_0x3479a1(0x1ce)],!![],null,_0x3dd56f);}catch(_0x13364d){PerformanceTester[_0x3479a1(0x155)](_0x13364d);const _0x87a299={};_0x87a299[_0x3479a1(0x1f5)]=_0x5513f2['leaZc'],PerformanceTester[_0x3479a1(0x18e)](PerformanceHookEvents[_0x3479a1(0x1ce)],![],_0x13364d,_0x87a299);}}),CodeceptJS[_0x9f9afd(0x144)][_0x9f9afd(0x16f)]['on'](CodeceptJS[_0x9f9afd(0x144)][_0x9f9afd(0x213)][_0x9f9afd(0x207)],_0x1aeead=>{const _0x6da09=_0x9f9afd;PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK']);try{globals['setGlobal'](_0x5513f2[_0x6da09(0x1ab)],_0x1aeead[_0x6da09(0x211)]);const _0x3c2402=_0x17b608[_0x6da09(0x157)](TEST_EVENTS[_0x6da09(0x1c3)],_0x1aeead);CodeceptRecorder[_0x6da09(0x198)](()=>_0x17b608['fireEvent'](TEST_EVENTS[_0x6da09(0x1c3)],_0x3c2402)),CodeceptRecorder[_0x6da09(0x198)](async()=>{const _0xc46dec=_0x6da09;_0x5513f2[_0xc46dec(0x1cf)](isBrowserstackInfra)&&(!_0x5513f2[_0xc46dec(0x19b)](isTrue,_0x4a6940['skipSessionName'])&&await _0x5513f2[_0xc46dec(0x1f7)](markSessionName,_0x5d098b,_0x1aeead[_0xc46dec(0x211)]),_0x17b608[_0xc46dec(0x185)]&&await _0x5513f2[_0xc46dec(0x162)](o11ySync,_0x5d098b));});}catch(_0x4fd5f4){const _0x19ec61={};_0x19ec61['hookType']=_0x5513f2['NkZmy'],PerformanceTester['end'](PerformanceHookEvents[_0x6da09(0x1ce)],![],_0x4fd5f4,_0x19ec61),PerformanceTester[_0x6da09(0x155)](_0x4fd5f4);}const _0x4dcba1={};_0x4dcba1['hookType']=_0x5513f2[_0x6da09(0x163)],PerformanceTester[_0x6da09(0x18e)](PerformanceHookEvents[_0x6da09(0x1ce)],!![],null,_0x4dcba1);}),CodeceptJS['event'][_0x9f9afd(0x16f)]['on'](CodeceptJS[_0x9f9afd(0x144)][_0x9f9afd(0x213)][_0x9f9afd(0x19d)],_0x25b7f8=>{const _0x5c712c=_0x9f9afd,_0xff42b8={'zMalt':function(_0x3638c6,_0x57b730,_0x3f0c7f){return _0x5513f2['BGeFO'](_0x3638c6,_0x57b730,_0x3f0c7f);},'xyOyl':function(_0x43413c){const _0x19fd30=a1_0x392f;return _0x5513f2[_0x19fd30(0x19c)](_0x43413c);}};PerformanceTester[_0x5c712c(0x15e)](PerformanceHookEvents[_0x5c712c(0x1ce)]);try{const _0x48a9f7=_0x17b608['captureEvent'](TEST_EVENTS[_0x5c712c(0x1f8)],_0x25b7f8);CodeceptRecorder[_0x5c712c(0x198)](()=>_0x17b608['fireEvent'](TEST_EVENTS[_0x5c712c(0x1f8)],_0x48a9f7)),CodeceptRecorder[_0x5c712c(0x198)](async()=>{const _0x28fcfe=_0x5c712c,_0x2b3c13={'PmLVD':function(_0x21ca3c,_0x2c0d51,_0x163eca){const _0x4beb3c=a1_0x392f;return _0xff42b8[_0x4beb3c(0x176)](_0x21ca3c,_0x2c0d51,_0x163eca);},'jEKsj':function(_0x4ff615,_0x765d8c,_0x5bb75b){const _0x37a900=a1_0x392f;return _0xff42b8[_0x37a900(0x176)](_0x4ff615,_0x765d8c,_0x5bb75b);}};_0xff42b8[_0x28fcfe(0x1f3)](isBrowserstackInfra)&&await PerformanceTester[_0x28fcfe(0x1fd)](PerformanceAutEvents['SESSION_STATUS'],async()=>{const _0x170057=_0x28fcfe;_0x3684bc?await _0x2b3c13[_0x170057(0x167)](playwrightMarkSessionStatus,_0x5d098b,STATE_PASSED):await _0x2b3c13['jEKsj'](markSessionStatus,_0x5d098b,STATE_PASSED);})();}),PerformanceTester[_0x5c712c(0x18e)](PerformanceEvents['SDK_TEST']);}catch(_0x51fe0a){PerformanceTester[_0x5c712c(0x155)](_0x51fe0a);const _0x202efa={};_0x202efa[_0x5c712c(0x1f5)]=_0x5513f2[_0x5c712c(0x160)],PerformanceTester[_0x5c712c(0x18e)](PerformanceHookEvents['SDK_HOOK'],![],_0x51fe0a,_0x202efa),PerformanceTester[_0x5c712c(0x18e)](PerformanceEvents[_0x5c712c(0x1c7)],![],_0x51fe0a);}const _0x299dad={};_0x299dad[_0x5c712c(0x1f5)]=_0x5513f2['WVfJa'],PerformanceTester[_0x5c712c(0x18e)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x299dad);}),CodeceptJS['event'][_0x9f9afd(0x16f)]['on'](CodeceptJS[_0x9f9afd(0x144)][_0x9f9afd(0x213)][_0x9f9afd(0x1cc)],(_0x38ba27,_0x3432f6)=>{const _0xb481d9=_0x9f9afd;PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK']);try{if(_0x5513f2[_0xb481d9(0x179)](_0x38ba27['constructor']['name'],_0x5513f2['MPaEB'])){const _0x41f26b=_0x17b608[_0xb481d9(0x157)](TEST_EVENTS[_0xb481d9(0x15b)],_0x38ba27['ctx'][_0xb481d9(0x1ae)]);CodeceptRecorder[_0xb481d9(0x198)](()=>_0x17b608[_0xb481d9(0x1a6)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x41f26b));}else{const _0x57e09d=_0x17b608['captureEvent'](TEST_EVENTS[_0xb481d9(0x1f8)],_0x38ba27,_0x3432f6);CodeceptRecorder[_0xb481d9(0x198)](()=>{const _0x587fdc=_0xb481d9;try{_0x17b608['fireEvent'](TEST_EVENTS[_0x587fdc(0x1f8)],_0x57e09d);}catch(_0x177fbc){logger[_0x587fdc(0x1c4)](_0x587fdc(0x180)+util[_0x587fdc(0x17a)](_0x177fbc)),PerformanceTester[_0x587fdc(0x18e)](PerformanceEvents[_0x587fdc(0x1c7)],![],_0x177fbc);}}),CodeceptRecorder[_0xb481d9(0x198)](async()=>{const _0x290c4e=_0xb481d9;try{_0x5513f2[_0x290c4e(0x15d)](isBrowserstackInfra)&&(_0x3684bc?await _0x5513f2[_0x290c4e(0x172)](playwrightMarkSessionStatus,_0x5d098b,STATE_FAILED,_0x3432f6):await _0x5513f2[_0x290c4e(0x204)](markSessionStatus,_0x5d098b,STATE_FAILED,_0x3432f6));}catch(_0x143b13){logger[_0x290c4e(0x1c4)](_0x290c4e(0x1de)+util[_0x290c4e(0x17a)](_0x143b13)),PerformanceTester[_0x290c4e(0x18e)](PerformanceEvents[_0x290c4e(0x1c7)],![],_0x143b13);}});}PerformanceTester[_0xb481d9(0x18e)](PerformanceEvents[_0xb481d9(0x1c7)]);}catch(_0x490c3c){PerformanceTester[_0xb481d9(0x155)](_0x490c3c);const _0x180d15={};_0x180d15[_0xb481d9(0x1f5)]=_0x5513f2[_0xb481d9(0x1c0)],PerformanceTester[_0xb481d9(0x18e)](PerformanceHookEvents[_0xb481d9(0x1ce)],![],_0x490c3c,_0x180d15),PerformanceTester[_0xb481d9(0x18e)](PerformanceEvents[_0xb481d9(0x1c7)],![],_0x490c3c);}const _0xd1908c={};_0xd1908c[_0xb481d9(0x1f5)]=_0x5513f2['CKVzr'],PerformanceTester[_0xb481d9(0x18e)](PerformanceHookEvents[_0xb481d9(0x1ce)],!![],null,_0xd1908c);}),CodeceptJS[_0x9f9afd(0x144)][_0x9f9afd(0x16f)]['on'](CodeceptJS[_0x9f9afd(0x144)][_0x9f9afd(0x213)]['skipped'],_0x258f32=>{const _0x327519=_0x9f9afd;PerformanceTester['start'](PerformanceHookEvents[_0x327519(0x1ce)]);try{const _0x497f35=_0x17b608[_0x327519(0x157)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x258f32);CodeceptRecorder['add'](()=>_0x17b608[_0x327519(0x1a6)](TEST_EVENTS[_0x327519(0x15b)],_0x497f35)),PerformanceTester[_0x327519(0x18e)](PerformanceEvents[_0x327519(0x1c7)]);}catch(_0x57003b){PerformanceTester[_0x327519(0x155)](_0x57003b),PerformanceTester[_0x327519(0x18e)](PerformanceEvents[_0x327519(0x1c7)],![],_0x57003b);const _0x15fb8d={};_0x15fb8d[_0x327519(0x1f5)]=_0x5513f2[_0x327519(0x1b4)],PerformanceTester[_0x327519(0x18e)](PerformanceHookEvents[_0x327519(0x1ce)],![],_0x57003b,_0x15fb8d);}const _0x4d9844={};_0x4d9844['hookType']=_0x5513f2[_0x327519(0x1b4)],PerformanceTester['end'](PerformanceHookEvents[_0x327519(0x1ce)],!![],null,_0x4d9844);}),CodeceptJS[_0x9f9afd(0x144)][_0x9f9afd(0x16f)]['on'](CodeceptJS['event'][_0x9f9afd(0x213)]['after'],async(_0x45013f,_0x3156cd)=>{const _0x56a1a8=_0x9f9afd,_0x15d18b={};_0x15d18b[_0x56a1a8(0x17e)]=_0x5513f2['wUDxT'];const _0x132416=_0x15d18b;try{PerformanceTester[_0x56a1a8(0x15e)](PerformanceHookEvents[_0x56a1a8(0x1ce)]);if(_0x5513f2['msQYc'](isBrowserstackInfra)){const _0x1469e0=_0x5513f2[_0x56a1a8(0x1a2)](shouldScanTestForAccessibility,_0x45013f['titlePath'](),!![]);if(_0x5513f2[_0x56a1a8(0x16e)](isAccessibilityAutomationSession)&&global['accessibilityPlatform']&&_0x1469e0){const _0x458c4a={};_0x458c4a[_0x56a1a8(0x1d5)]=_0x45013f[_0x56a1a8(0x187)],_0x458c4a[_0x56a1a8(0x1e0)]=process[_0x56a1a8(0x1ac)][testHubConstants[_0x56a1a8(0x194)][_0x56a1a8(0x175)]],_0x458c4a[_0x56a1a8(0x1a1)]=process[_0x56a1a8(0x1ac)][testHubConstants['ENV_VAR'][_0x56a1a8(0x13e)]];const _0x3d87cd=_0x458c4a;logger[_0x56a1a8(0x1c4)](_0x56a1a8(0x214)+JSON[_0x56a1a8(0x17c)](_0x3d87cd)),CodeceptRecorder[_0x56a1a8(0x198)](async()=>{const _0x11efc2=_0x56a1a8,_0x365131={};_0x365131[_0x11efc2(0x14d)]=_0x132416[_0x11efc2(0x17e)],await PerformanceTester[_0x11efc2(0x1fd)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x226ed0=_0x11efc2;await AccessibilityHelper[_0x226ed0(0x196)](_0x5d098b,scripts[_0x226ed0(0x192)]);},_0x365131)(),await PerformanceTester[_0x11efc2(0x1fd)](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x40f4a3=_0x11efc2;await AccessibilityHelper[_0x40f4a3(0x196)](_0x5d098b,scripts[_0x40f4a3(0x1e2)],_0x3d87cd);})();}),logger['info'](_0x5513f2[_0x56a1a8(0x1b0)]);}}const _0x184b25={};_0x184b25[_0x56a1a8(0x1f5)]=_0x5513f2[_0x56a1a8(0x145)],PerformanceTester[_0x56a1a8(0x18e)](PerformanceHookEvents[_0x56a1a8(0x1ce)],!![],null,_0x184b25);}catch(_0x3b1f33){PerformanceTester['captureError'](_0x3b1f33);const _0xdf90e1={};_0xdf90e1[_0x56a1a8(0x1f5)]=_0x5513f2[_0x56a1a8(0x145)],PerformanceTester[_0x56a1a8(0x18e)](PerformanceHookEvents[_0x56a1a8(0x1ce)],![],_0x3b1f33,_0xdf90e1);}}),CodeceptJS[_0x9f9afd(0x144)]['dispatcher']['on'](CodeceptJS[_0x9f9afd(0x144)]['step']['comment'],_0x1b340a=>{const _0x47e031=_0x9f9afd;PerformanceTester[_0x47e031(0x15e)](PerformanceHookEvents[_0x47e031(0x1ce)]);try{process[_0x47e031(0x154)](_0x47e031(0x1a3)+process[_0x47e031(0x1b1)],{'timestamp':new Date()[_0x47e031(0x184)](),'level':_0x5513f2[_0x47e031(0x13f)],'message':_0x1b340a,'kind':_0x5513f2[_0x47e031(0x202)],'http_response':{}});}catch(_0x936d15){PerformanceTester[_0x47e031(0x155)](_0x936d15);const _0x50c314={};_0x50c314['hookType']=_0x5513f2[_0x47e031(0x1e7)],PerformanceTester[_0x47e031(0x18e)](PerformanceHookEvents[_0x47e031(0x1ce)],![],_0x936d15,_0x50c314);}const _0xd7fbfb={};_0xd7fbfb[_0x47e031(0x1f5)]=_0x5513f2[_0x47e031(0x1e7)],PerformanceTester[_0x47e031(0x18e)](PerformanceHookEvents[_0x47e031(0x1ce)],!![],null,_0xd7fbfb);}),CodeceptJS[_0x9f9afd(0x144)]['dispatcher']['on'](CodeceptJS[_0x9f9afd(0x144)]['bddStep'][_0x9f9afd(0x169)],_0x5377a2=>{const _0x58d7c8=_0x9f9afd,_0x3614e9={};_0x3614e9[_0x58d7c8(0x1f5)]=_0x5513f2[_0x58d7c8(0x1bb)],PerformanceTester[_0x58d7c8(0x1fd)](PerformanceHookEvents[_0x58d7c8(0x1ce)],()=>{const _0x105643=_0x58d7c8;_0x17b608[_0x105643(0x164)](_0x5377a2);},_0x3614e9)();}),CodeceptJS[_0x9f9afd(0x144)]['dispatcher']['on'](CodeceptJS['event'][_0x9f9afd(0x1c1)]['after'],_0x5b6b92=>{const _0x3cb3b4=_0x9f9afd,_0x31d509={};_0x31d509[_0x3cb3b4(0x1f5)]=_0x5513f2[_0x3cb3b4(0x1b3)],PerformanceTester[_0x3cb3b4(0x1fd)](PerformanceHookEvents[_0x3cb3b4(0x1ce)],()=>{const _0x1e6625=_0x3cb3b4;_0x17b608[_0x1e6625(0x1fc)](_0x5b6b92);},_0x31d509)();});};
1
+ const a1_0x196618=a1_0x4121;function a1_0x543f(){const _0x59ad3d=['WebDriver','hook-passed','qYmYC','TEST_RUN_STARTED','msUyr','prototype','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','bind','JcGpi','passed','SDK_POST_INITIALIZE','bs:addLog:','zCSAT','codeceptjs/lib/utils.js','../../helpers/accessibility-automation/helper','6124GLYFDg','rEPar','start','HOOK_RUN_STARTED','saveScreenshot','before','Performing\x20scan\x20for\x20','kNtyX','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','zXAhT','INFO','YFIFS','browserstackTestName','stopMonitoring','phesI','hook','./helper.js','bddStep-before','Suite','Playwright','TdMzR','after','zLyLQ','captureEvent','ANJcq','codeceptjs/lib/index.js','Svdlv','patch','started','BxjOS','TEST_RUN_FINISHED','warn','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','lyPGj','Nkvon','SAVE_RESULTS','jugjg','../../bin/playwright/accessibility-helper','stop','thBuildUuid','BROWSERSTACK_TESTHUB_UUID','contexts','executeScript','test-after','info','TEST_RUN_SKIPPED','fireEvent','Puppeteer','apply','Failed\x20to\x20execute\x20_before:\x20','IhaeC','EMcLO','catch','performScan','mDHsO','TEST_LOG','_before','WflKL','setGlobal','test-started','ftShE','accessibilityPlatform','format','pid','ENV_VAR','readFileSync','../../helpers/request-spy','testAnalyticsId','Element','comment','BS_TESTOPS_ALLOW_SCREENSHOTS','IYKAw','all','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','SDK_PRE_INITIALIZE','tMzUU','2211IeWmYt','bddStepFinish','SESSION_STATUS','add','TVqLj','vYhmy','kuFkd','test-passed','ZedtU','../../helpers/helper','wHcXr','hookType','end','codeceptjs','iwLLW','env','codeceptjs/lib/helper/WebDriver.js','getResultsSummary','event','uXnOk','test-before','zYcJP','slice','codeceptjs/lib/recorder.js','IDxjz','title','SDK_TEST','YVSQw','oknOe','fVnfQ','action','test','1632222ydBsUC','llfYp','TestCafe','XjlTk','7hrlTCw','toISOString','stringify','MFpGI','getAccessibilityResultsSummary','browserStackExecuteDriver','afterTest','../../helpers/performance/constants','browserContext','patchSaveScreenshot','emit','titlePath','screenshotOutputFolder','__workerDetails','debug','PQfvW','33880EecpWL','browserstack_executor:\x20','hZbTt','SDK_HOOK','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','util','failed','../../helpers/test-observability/utils','dispatcher','XvyvO','filter','hook-started','initSaveScreenshot','KSahB','helpers','status','currentTest','1430952bRTfXO','test-failed','skipped','2045EDTTnN','reason','SDK_POST_TEST','jWgWh','thJwtToken','commandsToWrap','VtPBD','IwUoF','captureError','HOOK_RUN_FINISHED','EnVuC','GzEmg','eZapM','32SATmQP','zdTIP','uaQZK','ctx','__driver','bddStep','saveTestResults','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','__skipSessionStatus','step-comment','fYjOo','measureWrapper','YhEsE','bstackAllyScanning','../../helpers/globals.js','forEach','Bgcow','60798nxKYLY','11QudLnW','base64','hook-failed','37270812frqjjD','../../bin/playwright/sessionDetails','Ajkbl','SESSION_NAME','name','egFgV','iJykx','Jehkm','skipSessionName','SDK_PRE_TEST','BROWSERSTACK_TESTHUB_JWT','winstonLogger','browser','thTestRunUuid','381942czfnRn','gHSKh','command','toString','skipSessionStatus','bddStep-after','GET_RESULTS_SUMMARY','GjTPR','getSyncScript','arguments','PERFORM_SCAN','getAccessibilityResults','class','constructor','exports','dVuyW','GET_RESULTS'];a1_0x543f=function(){return _0x59ad3d;};return a1_0x543f();}(function(_0x10ee7a,_0x41af1d){const _0x5225bd=a1_0x4121,_0x448078=_0x10ee7a();while(!![]){try{const _0xe90606=parseInt(_0x5225bd(0x17b))/0x1*(-parseInt(_0x5225bd(0x17a))/0x2)+parseInt(_0x5225bd(0x18c))/0x3+parseInt(_0x5225bd(0x1ac))/0x4*(-parseInt(_0x5225bd(0x15c))/0x5)+parseInt(_0x5225bd(0x159))/0x6*(-parseInt(_0x5225bd(0x21c))/0x7)+-parseInt(_0x5225bd(0x169))/0x8*(parseInt(_0x5225bd(0x218))/0x9)+-parseInt(_0x5225bd(0x148))/0xa*(parseInt(_0x5225bd(0x1f8))/0xb)+parseInt(_0x5225bd(0x17e))/0xc;if(_0xe90606===_0x41af1d)break;else _0x448078['push'](_0x448078['shift']());}catch(_0x2e850d){_0x448078['push'](_0x448078['shift']());}}}(a1_0x543f,0x99417));function a1_0x4121(_0x3e72dd,_0x548397){const _0x543fd3=a1_0x543f();return a1_0x4121=function(_0x412179,_0x4cb744){_0x412179=_0x412179-0x143;let _0x1b9c95=_0x543fd3[_0x412179];return _0x1b9c95;},a1_0x4121(_0x3e72dd,_0x548397);}const fs=require('fs'),util=require(a1_0x196618(0x14d)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x196618(0x201)),logger=require('../../helpers/logger')[a1_0x196618(0x189)],testOpsHelper=require(a1_0x196618(0x14f)),requestSpy=require(a1_0x196618(0x1ee)),PlaywrightSessionDetails=require(a1_0x196618(0x17f)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require('./o11yHelper'),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x196618(0x1ab)),AccessibilityHelper=require(a1_0x196618(0x1d1)),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require('../../helpers/performance/performance-tester'),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x196618(0x223)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x196618(0x1bc)),testHubConstants=require('../../helpers/testhub/constants.js'),globals=require(a1_0x196618(0x177)),CodeceptJS=requireModule(a1_0x196618(0x1c5),a1_0x196618(0x205)),CodeceptUtils=requireModule(a1_0x196618(0x1aa),a1_0x196618(0x205)),CodeceptWebDriver=requireModule(a1_0x196618(0x208),a1_0x196618(0x205)),CodeceptRecorder=requireModule(a1_0x196618(0x20f),'codeceptjs'),CodeceptPlaywright=requireModule('codeceptjs/lib/helper/Playwright.js',a1_0x196618(0x205)),playwrightMarkSessionStatus=(_0x2f6a6b,_0x42c50f,_0x1111a3)=>{const _0x17ad87=a1_0x196618,_0x46d95b={'YhEsE':'setSessionStatus','ufkVV':function(_0x4721a2,_0x13e47f){return _0x4721a2(_0x13e47f);}},_0x5d3665={};_0x5d3665[_0x17ad87(0x157)]=_0x42c50f;const _0x1af933={};_0x1af933['action']=_0x46d95b[_0x17ad87(0x175)],_0x1af933['arguments']=_0x5d3665;const _0x302feb=_0x1af933;return!_0x46d95b['ufkVV'](isUndefined,_0x1111a3)&&(_0x302feb['arguments'][_0x17ad87(0x15d)]=JSON[_0x17ad87(0x21e)](_0x1111a3)),_0x2f6a6b[_0x17ad87(0x1d6)](()=>{},_0x17ad87(0x149)+JSON[_0x17ad87(0x21e)](_0x302feb));},o11ySync=PerformanceTester[a1_0x196618(0x174)](PerformanceO11yEvents['SYNC'],async _0x1ca578=>{const _0x26284d=a1_0x196618,_0x527215={};_0x527215[_0x26284d(0x20d)]=function(_0x319193,_0x42f45e){return _0x319193===_0x42f45e;},_0x527215[_0x26284d(0x1f3)]=_0x26284d(0x1bf);const _0x8a25a3=_0x527215;_0x8a25a3[_0x26284d(0x20d)](_0x1ca578[_0x26284d(0x199)][_0x26284d(0x182)],_0x8a25a3[_0x26284d(0x1f3)])?await _0x1ca578[_0x26284d(0x1d6)](_0x37c461=>{},testOpsHelper[_0x26284d(0x194)]()):await _0x1ca578[_0x26284d(0x1d6)](testOpsHelper[_0x26284d(0x194)]());}),markSessionName=PerformanceTester[a1_0x196618(0x174)](PerformanceAutEvents[a1_0x196618(0x181)],async(_0x28cc4c,_0x2ce63d)=>{const _0x4fd1ea=a1_0x196618,_0x29c01b={};_0x29c01b[_0x4fd1ea(0x219)]='setSessionName',_0x29c01b[_0x4fd1ea(0x1f7)]=function(_0x2641e6,_0x1e7882){return _0x2641e6===_0x1e7882;},_0x29c01b[_0x4fd1ea(0x151)]=_0x4fd1ea(0x1bf);const _0x1b839f=_0x29c01b,_0x238304={};_0x238304[_0x4fd1ea(0x182)]=_0x2ce63d;const _0x30f2c1={};_0x30f2c1[_0x4fd1ea(0x216)]=_0x1b839f['llfYp'],_0x30f2c1[_0x4fd1ea(0x195)]=_0x238304;const _0x44783b=_0x30f2c1;_0x1b839f[_0x4fd1ea(0x1f7)](_0x28cc4c[_0x4fd1ea(0x199)][_0x4fd1ea(0x182)],_0x1b839f['XvyvO'])?await _0x28cc4c['executeScript'](()=>{},_0x4fd1ea(0x149)+JSON[_0x4fd1ea(0x21e)](_0x44783b)):await _0x28cc4c[_0x4fd1ea(0x1d6)](_0x4fd1ea(0x149)+JSON[_0x4fd1ea(0x21e)](_0x44783b));}),patchSaveScreenshot=_0x11862b=>{const _0x155b9d=a1_0x196618,_0x4da23b={'EnVuC':_0x155b9d(0x17c),'hZbTt':'TEST_SCREENSHOT','Svdlv':function(_0x70be25){return _0x70be25();},'VtPBD':function(_0x5bbab0,_0x381e41){return _0x5bbab0(_0x381e41);}};_0x4da23b[_0x155b9d(0x162)](isTrue,process[_0x155b9d(0x207)][_0x155b9d(0x1f2)])&&!_0x11862b[_0x155b9d(0x225)]&&(_0x11862b[_0x155b9d(0x225)]=!![],_0x11862b[_0x155b9d(0x154)]=_0x11862b['saveScreenshot'],_0x11862b[_0x155b9d(0x1b0)]=(_0x206a62,_0x19def1=![])=>{const _0x29c9cd=_0x155b9d,_0x43773d={'Nkvon':_0x4da23b[_0x29c9cd(0x166)],'CLpbh':_0x4da23b[_0x29c9cd(0x14a)],'kuFkd':function(_0x24aeaf){const _0x44953d=_0x29c9cd;return _0x4da23b[_0x44953d(0x1c6)](_0x24aeaf);}};return new Promise(function(_0x256527,_0x9af9a9){const _0x10c1e8=_0x29c9cd;_0x11862b['initSaveScreenshot'](_0x206a62,_0x19def1)['then'](()=>{const _0x57ff83=a1_0x4121,_0x400555=CodeceptUtils[_0x57ff83(0x144)](_0x206a62),_0xbc9593=fs[_0x57ff83(0x1ed)](_0x400555);process['emit'](_0x57ff83(0x1a8)+process['pid'],{'timestamp':new Date()[_0x57ff83(0x21d)](),'message':_0xbc9593[_0x57ff83(0x18f)](_0x43773d[_0x57ff83(0x1ce)]),'kind':_0x43773d['CLpbh']}),_0x43773d[_0x57ff83(0x1fe)](_0x256527);})[_0x10c1e8(0x1e0)](()=>null);});});},patchWebDriverBefore=_0x43783f=>{const _0x2fc057=a1_0x196618,_0x2f57a6={'PQfvW':function(_0x563269){return _0x563269();},'gHSKh':function(_0xdcb78b,_0x301b8c){return _0xdcb78b(_0x301b8c);},'rEPar':function(_0x22a444,_0x5573fd){return _0x22a444===_0x5573fd;},'ZedtU':_0x2fc057(0x1f0)},_0x127e56=async function(_0x4607a1,_0x512b95){const _0x3f44bb=_0x2fc057;return _0x2f57a6[_0x3f44bb(0x147)](isAccessibilityAutomationSession)&&!global[_0x3f44bb(0x176)]&&global[_0x3f44bb(0x1e9)]&&scripts['shouldWrapCommand'](_0x4607a1['name'])&&_0x2f57a6[_0x3f44bb(0x18d)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x3f44bb(0x176)]=!![],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x3f44bb(0x196)],async()=>{const _0x329fa7=_0x3f44bb;logger[_0x329fa7(0x146)](_0x329fa7(0x1b2)+_0x4607a1[_0x329fa7(0x198)]+'\x20'+_0x4607a1[_0x329fa7(0x182)]),await AccessibilityHelper[_0x329fa7(0x221)](_0x43783f,scripts[_0x329fa7(0x1e1)]);},{'command':_0x4607a1['name']})()),global[_0x3f44bb(0x176)]=![],_0x512b95[_0x3f44bb(0x1dc)](this,Array[_0x3f44bb(0x1a2)][_0x3f44bb(0x20e)]['call'](arguments,0x2));},_0x2ceecf=CodeceptWebDriver[_0x2fc057(0x1a2)][_0x2fc057(0x1e4)];CodeceptWebDriver[_0x2fc057(0x1a2)][_0x2fc057(0x1e4)]=async function(){const _0x38e0e3=_0x2fc057;try{await _0x2ceecf[_0x38e0e3(0x1dc)](this,arguments);}catch(_0x206135){logger[_0x38e0e3(0x146)](_0x38e0e3(0x1dd)+util[_0x38e0e3(0x1ea)](_0x206135));}scripts[_0x38e0e3(0x161)][_0x38e0e3(0x152)](_0x4f31ac=>_0x4f31ac[_0x38e0e3(0x182)]&&_0x4f31ac[_0x38e0e3(0x198)])[_0x38e0e3(0x178)](_0x29d9a7=>{const _0x1ade84=_0x38e0e3;this[_0x1ade84(0x18a)]['overwriteCommand'](_0x29d9a7['name'],_0x127e56[_0x1ade84(0x1a4)](this,_0x29d9a7),_0x2f57a6[_0x1ade84(0x1ad)](_0x29d9a7[_0x1ade84(0x198)],_0x2f57a6[_0x1ade84(0x200)]));}),_0x2f57a6[_0x38e0e3(0x18d)](processWebDriverConfig,_0x43783f);};},patchPlaywrightBefore=()=>{const _0x206ba2=a1_0x196618;PlaywrightSessionDetails[_0x206ba2(0x1c7)]();const _0x3f1e21=CodeceptPlaywright['prototype'][_0x206ba2(0x1e4)];CodeceptPlaywright[_0x206ba2(0x1a2)]['_before']=async function(){const _0x4f279c=_0x206ba2;this[_0x4f279c(0x224)]=await this[_0x4f279c(0x18a)][_0x4f279c(0x1d5)]()[0x0],await _0x3f1e21[_0x4f279c(0x1dc)](this,arguments);};},getCodeceptDriver=()=>{const _0x39ea62=a1_0x196618,_0x25a8c0={};_0x25a8c0[_0x39ea62(0x193)]=_0x39ea62(0x19d),_0x25a8c0[_0x39ea62(0x1b5)]=_0x39ea62(0x1bf),_0x25a8c0[_0x39ea62(0x168)]=_0x39ea62(0x1db),_0x25a8c0[_0x39ea62(0x1c2)]=_0x39ea62(0x21a);const _0x5c969b=_0x25a8c0,_0x1519ec=[_0x5c969b[_0x39ea62(0x193)],_0x5c969b[_0x39ea62(0x1b5)],_0x5c969b[_0x39ea62(0x168)],_0x5c969b[_0x39ea62(0x1c2)]],_0x412ccc=_0x1519ec['find'](_0x472243=>!!CodeceptJS['container'][_0x39ea62(0x156)](_0x472243));if(!_0x412ccc)return null;return CodeceptJS['container'][_0x39ea62(0x156)](_0x412ccc);};module[a1_0x196618(0x19a)]=function(_0x4aafff){const _0x4ba472=a1_0x196618,_0x2a5d1b={'GzEmg':function(_0x77d4c6){return _0x77d4c6();},'IhaeC':function(_0x30579c,_0x535ab5){return _0x30579c(_0x535ab5);},'ANJcq':_0x4ba472(0x220),'MFpGI':_0x4ba472(0x1cc),'TqlVZ':_0x4ba472(0x197),'iJykx':_0x4ba472(0x1b4),'fVnfQ':_0x4ba472(0x153),'XjlTk':_0x4ba472(0x19e),'zCSAT':_0x4ba472(0x17d),'vYhmy':_0x4ba472(0x1b8),'IwUoF':function(_0x4eaaf9){return _0x4eaaf9();},'egFgV':_0x4ba472(0x20c),'uXnOk':function(_0x385539){return _0x385539();},'lhlyf':function(_0x5c42a7,_0xa51c02,_0x74e9b1){return _0x5c42a7(_0xa51c02,_0x74e9b1);},'Jehkm':function(_0x39bf9e,_0x3e3496){return _0x39bf9e(_0x3e3496);},'iwLLW':_0x4ba472(0x1e7),'zdTIP':_0x4ba472(0x1ff),'EMcLO':function(_0x35e919){return _0x35e919();},'lyPGj':function(_0x319170,_0x520859,_0x15ad40,_0x1ead03){return _0x319170(_0x520859,_0x15ad40,_0x1ead03);},'WflKL':function(_0x2070b0,_0x389a03){return _0x2070b0===_0x389a03;},'oknOe':_0x4ba472(0x1be),'IDxjz':_0x4ba472(0x15a),'YFIFS':'test-skipped','wHcXr':_0x4ba472(0x222),'TVqLj':function(_0x641680){return _0x641680();},'Ajkbl':function(_0x24bb33){return _0x24bb33();},'uaQZK':_0x4ba472(0x14c),'KSahB':_0x4ba472(0x1d7),'bQSnX':_0x4ba472(0x1b6),'fYjOo':_0x4ba472(0x1e3),'jugjg':_0x4ba472(0x172),'kNtyX':_0x4ba472(0x1bd),'BxjOS':_0x4ba472(0x191),'Bgcow':function(_0x1bc983){return _0x1bc983();},'YVSQw':_0x4ba472(0x1bf)};_0x4aafff['skipSessionStatus']&&(global[_0x4ba472(0x171)]=_0x4aafff[_0x4ba472(0x190)]);PerformanceTester['startMonitoring']();const _0x42af04=_0x2a5d1b[_0x4ba472(0x179)](getCodeceptDriver),_0x3fce2d=new O11yHelper(_0x42af04,_0x4aafff),_0x2209e9=!!CodeceptJS['container'][_0x4ba472(0x156)](_0x2a5d1b[_0x4ba472(0x213)]);global[_0x4ba472(0x16d)]=_0x42af04,_0x42af04&&(PerformanceTester['measureWrapper'](PerformanceEvents[_0x4ba472(0x1f6)],()=>{const _0x4e3c8d=_0x4ba472;_0x2209e9?_0x2a5d1b[_0x4e3c8d(0x167)](patchPlaywrightBefore):_0x2a5d1b[_0x4e3c8d(0x1de)](patchWebDriverBefore,_0x42af04);})(),PerformanceTester[_0x4ba472(0x174)](PerformanceEvents[_0x4ba472(0x1a7)],()=>{const _0x411218=_0x4ba472,_0x5a79f4={};_0x5a79f4['jWgWh']=_0x2a5d1b[_0x411218(0x1c4)],_0x5a79f4['qYmYC']=_0x2a5d1b[_0x411218(0x21f)],_0x5a79f4[_0x411218(0x1e2)]=_0x2a5d1b['TqlVZ'],_0x5a79f4[_0x411218(0x19b)]=_0x2a5d1b[_0x411218(0x184)];const _0x29c6db=_0x5a79f4;_0x42af04[_0x411218(0x220)]=async()=>{const _0x23f131=_0x411218;if(global[_0x23f131(0x1e9)]){const _0x23d67c={};_0x23d67c['command']=_0x29c6db[_0x23f131(0x15f)],await PerformanceTester[_0x23f131(0x174)](PerformanceA11yEvents[_0x23f131(0x196)],async()=>{const _0x54b1e8=_0x23f131;await AccessibilityHelper['browserStackExecuteDriver'](_0x42af04,scripts[_0x54b1e8(0x1e1)]);},_0x23d67c)(),await PerformanceTester[_0x23f131(0x174)](PerformanceA11yEvents[_0x23f131(0x192)],async()=>{const _0x1eb01=_0x23f131;await AccessibilityHelper[_0x1eb01(0x221)](_0x42af04,scripts[_0x1eb01(0x209)]);})();}else return logger[_0x23f131(0x1cb)](_0x29c6db[_0x23f131(0x19f)]),{};},_0x42af04[_0x411218(0x197)]=async()=>{const _0x599e11=_0x411218;if(global['accessibilityPlatform']){const _0x3f1ddb={};_0x3f1ddb[_0x599e11(0x18e)]=_0x29c6db['mDHsO'],await PerformanceTester[_0x599e11(0x174)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x14bfe0=_0x599e11;await AccessibilityHelper[_0x14bfe0(0x221)](_0x42af04,scripts[_0x14bfe0(0x1e1)]);},_0x3f1ddb)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x599e11(0x19c)],async()=>{const _0x8fac30=_0x599e11;await AccessibilityHelper[_0x8fac30(0x221)](_0x42af04,scripts['getResults']);})();}else return logger[_0x599e11(0x1cb)](_0x29c6db[_0x599e11(0x19b)]),{};},_0x2a5d1b[_0x411218(0x1de)](patchSaveScreenshot,_0x42af04);})()),CodeceptJS['event'][_0x4ba472(0x150)]['on'](CodeceptJS[_0x4ba472(0x20a)]['all'][_0x4ba472(0x1b1)],()=>{const _0x5a0bc3=_0x4ba472;PerformanceTester[_0x5a0bc3(0x1ae)](PerformanceEvents['SDK_PRE_TEST']);try{_0x3fce2d['start'](),testOpsHelper['addRequestSpy'](),PerformanceTester['end'](PerformanceEvents[_0x5a0bc3(0x187)]);}catch(_0x52acb8){PerformanceTester[_0x5a0bc3(0x164)](_0x52acb8),PerformanceTester[_0x5a0bc3(0x204)](PerformanceEvents['SDK_PRE_TEST'],![],_0x52acb8);}}),CodeceptJS[_0x4ba472(0x20a)][_0x4ba472(0x150)]['on'](CodeceptJS['event'][_0x4ba472(0x1f4)]['after'],async()=>{const _0x1657e0=_0x4ba472;PerformanceTester[_0x1657e0(0x1ae)](PerformanceEvents[_0x1657e0(0x15e)]);try{requestSpy['restore'](),await _0x3fce2d[_0x1657e0(0x1d2)](),PerformanceTester['end'](PerformanceEvents[_0x1657e0(0x15e)]);}catch(_0x18fa81){PerformanceTester[_0x1657e0(0x164)](_0x18fa81),PerformanceTester[_0x1657e0(0x204)](PerformanceEvents[_0x1657e0(0x15e)],![],_0x18fa81);}finally{PerformanceTester[_0x1657e0(0x1b9)]();}}),CodeceptJS[_0x4ba472(0x20a)][_0x4ba472(0x150)]['on'](CodeceptJS[_0x4ba472(0x20a)][_0x4ba472(0x1bb)][_0x4ba472(0x1c8)],_0x107ff9=>{const _0x372d89=_0x4ba472;PerformanceTester[_0x372d89(0x1ae)](PerformanceEvents[_0x372d89(0x14b)]);try{const _0x17f998=_0x107ff9['ctx'][_0x372d89(0x217)],_0x82b37=_0x3fce2d[_0x372d89(0x1c3)](TEST_EVENTS['HOOK_RUN_STARTED'],_0x17f998);CodeceptRecorder['add'](()=>_0x3fce2d[_0x372d89(0x1da)](TEST_EVENTS[_0x372d89(0x1af)],_0x82b37));const _0x1bf56d={};_0x1bf56d[_0x372d89(0x203)]=_0x2a5d1b[_0x372d89(0x215)],PerformanceTester['end'](PerformanceEvents[_0x372d89(0x14b)],!![],null,_0x1bf56d);}catch(_0x5b2a5e){const _0x590244={};_0x590244[_0x372d89(0x203)]=_0x2a5d1b[_0x372d89(0x215)],PerformanceTester[_0x372d89(0x204)](PerformanceEvents[_0x372d89(0x14b)],![],_0x5b2a5e,_0x590244),PerformanceTester['captureError'](_0x5b2a5e);}}),CodeceptJS[_0x4ba472(0x20a)][_0x4ba472(0x150)]['on'](CodeceptJS[_0x4ba472(0x20a)][_0x4ba472(0x1bb)][_0x4ba472(0x1a6)],_0x4fc5c7=>{const _0x416e8d=_0x4ba472,_0x34cbfb={};_0x34cbfb['hookType']=_0x2a5d1b['XjlTk'],PerformanceTester[_0x416e8d(0x1ae)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x34cbfb);try{const _0x4b2b68=_0x4fc5c7['ctx'][_0x416e8d(0x217)],_0x112b5f=_0x3fce2d['captureEvent'](TEST_EVENTS[_0x416e8d(0x165)],_0x4b2b68);CodeceptRecorder[_0x416e8d(0x1fb)](()=>_0x3fce2d['fireEvent'](TEST_EVENTS[_0x416e8d(0x165)],_0x112b5f));const _0xd458a7={};_0xd458a7[_0x416e8d(0x203)]=_0x2a5d1b[_0x416e8d(0x21b)],PerformanceTester[_0x416e8d(0x204)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0xd458a7);}catch(_0x3008ec){PerformanceTester[_0x416e8d(0x164)](_0x3008ec);const _0x1999ee={};_0x1999ee[_0x416e8d(0x203)]=_0x2a5d1b[_0x416e8d(0x21b)],PerformanceTester[_0x416e8d(0x204)](PerformanceHookEvents[_0x416e8d(0x14b)],![],_0x3008ec,_0x1999ee);}}),CodeceptJS['event'][_0x4ba472(0x150)]['on'](CodeceptJS['event'][_0x4ba472(0x1bb)]['failed'],async(_0x444dd8,_0x188cfe)=>{const _0x5160d1=_0x4ba472;PerformanceTester[_0x5160d1(0x1ae)](PerformanceHookEvents[_0x5160d1(0x14b)]);try{const _0x1d2e80=_0x444dd8[_0x5160d1(0x16c)]['test'],_0x132963=_0x3fce2d['captureEvent'](TEST_EVENTS[_0x5160d1(0x165)],_0x1d2e80,_0x188cfe);CodeceptRecorder[_0x5160d1(0x1fb)](()=>_0x3fce2d[_0x5160d1(0x1da)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x132963));const _0x4f9d33={};_0x4f9d33[_0x5160d1(0x203)]=_0x2a5d1b['zCSAT'],PerformanceTester[_0x5160d1(0x1ae)](PerformanceHookEvents[_0x5160d1(0x14b)],!![],null,_0x4f9d33);}catch(_0x24bb54){PerformanceTester[_0x5160d1(0x164)](_0x24bb54);const _0x35beb6={};_0x35beb6[_0x5160d1(0x203)]=_0x2a5d1b['zCSAT'],PerformanceTester[_0x5160d1(0x204)](PerformanceHookEvents[_0x5160d1(0x14b)],![],_0x24bb54,_0x35beb6);}const _0x47af98={};_0x47af98[_0x5160d1(0x203)]=_0x2a5d1b[_0x5160d1(0x1a9)],PerformanceTester['end'](PerformanceHookEvents[_0x5160d1(0x14b)],!![],null,_0x47af98);}),CodeceptJS[_0x4ba472(0x20a)][_0x4ba472(0x150)]['on'](CodeceptJS[_0x4ba472(0x20a)][_0x4ba472(0x217)][_0x4ba472(0x1b1)],_0xddd7f4=>{const _0x4d3036=_0x4ba472;PerformanceTester[_0x4d3036(0x1ae)](PerformanceHookEvents[_0x4d3036(0x14b)]);try{globals[_0x4d3036(0x1e6)](_0x2a5d1b[_0x4d3036(0x1fd)],_0xddd7f4[_0x4d3036(0x211)]);_0x2a5d1b[_0x4d3036(0x163)](isBrowserstackInfra)&&(_0x2209e9&&(global[_0x4d3036(0x145)]={'currentTest':{'name':_0xddd7f4[_0x4d3036(0x211)],'testInfo':{'titlePath':_0xddd7f4[_0x4d3036(0x143)]()}}}));const _0x3dfc44={};_0x3dfc44[_0x4d3036(0x203)]=_0x2a5d1b[_0x4d3036(0x183)],PerformanceTester[_0x4d3036(0x204)](PerformanceHookEvents[_0x4d3036(0x14b)],!![],null,_0x3dfc44);}catch(_0x5ab0c5){PerformanceTester['captureError'](_0x5ab0c5);const _0x4e6542={};_0x4e6542['hookType']=_0x2a5d1b[_0x4d3036(0x183)],PerformanceTester[_0x4d3036(0x204)](PerformanceHookEvents[_0x4d3036(0x14b)],![],_0x5ab0c5,_0x4e6542);}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS['event'][_0x4ba472(0x217)]['started'],_0x271b64=>{const _0x3b3b0c=_0x4ba472;PerformanceTester[_0x3b3b0c(0x1ae)](PerformanceHookEvents['SDK_HOOK']);try{globals[_0x3b3b0c(0x1e6)](_0x2a5d1b['vYhmy'],_0x271b64[_0x3b3b0c(0x211)]);const _0x2d6988=_0x3fce2d['captureEvent'](TEST_EVENTS[_0x3b3b0c(0x1a0)],_0x271b64);CodeceptRecorder[_0x3b3b0c(0x1fb)](()=>_0x3fce2d[_0x3b3b0c(0x1da)](TEST_EVENTS['TEST_RUN_STARTED'],_0x2d6988)),CodeceptRecorder['add'](async()=>{const _0x2316ce=_0x3b3b0c;_0x2a5d1b['uXnOk'](isBrowserstackInfra)&&(!_0x2a5d1b[_0x2316ce(0x1de)](isTrue,_0x4aafff[_0x2316ce(0x186)])&&await _0x2a5d1b['lhlyf'](markSessionName,_0x42af04,_0x271b64[_0x2316ce(0x211)]),_0x3fce2d['enabled']&&await _0x2a5d1b[_0x2316ce(0x185)](o11ySync,_0x42af04));});}catch(_0x6b7560){const _0x3154b0={};_0x3154b0[_0x3b3b0c(0x203)]=_0x2a5d1b[_0x3b3b0c(0x206)],PerformanceTester['end'](PerformanceHookEvents[_0x3b3b0c(0x14b)],![],_0x6b7560,_0x3154b0),PerformanceTester[_0x3b3b0c(0x164)](_0x6b7560);}const _0x58bfb1={};_0x58bfb1[_0x3b3b0c(0x203)]=_0x2a5d1b['iwLLW'],PerformanceTester[_0x3b3b0c(0x204)](PerformanceHookEvents[_0x3b3b0c(0x14b)],!![],null,_0x58bfb1);}),CodeceptJS[_0x4ba472(0x20a)][_0x4ba472(0x150)]['on'](CodeceptJS[_0x4ba472(0x20a)][_0x4ba472(0x217)]['passed'],_0x54dad8=>{const _0x325883=_0x4ba472,_0x57a8b7={'TdMzR':function(_0x67edc1,_0x5329cc,_0xfd0bf7){return _0x2a5d1b['lhlyf'](_0x67edc1,_0x5329cc,_0xfd0bf7);},'msUyr':function(_0x435b74,_0x5b2bcf,_0x3f9fb0){return _0x2a5d1b['lhlyf'](_0x435b74,_0x5b2bcf,_0x3f9fb0);},'ftShE':function(_0x1c5905){const _0x4a2e3c=a1_0x4121;return _0x2a5d1b[_0x4a2e3c(0x20b)](_0x1c5905);}};PerformanceTester['start'](PerformanceHookEvents[_0x325883(0x14b)]);try{const _0xdf992=_0x3fce2d['captureEvent'](TEST_EVENTS[_0x325883(0x1ca)],_0x54dad8);CodeceptRecorder['add'](()=>_0x3fce2d['fireEvent'](TEST_EVENTS['TEST_RUN_FINISHED'],_0xdf992)),CodeceptRecorder[_0x325883(0x1fb)](async()=>{const _0x227591=_0x325883;_0x57a8b7[_0x227591(0x1e8)](isBrowserstackInfra)&&await PerformanceTester[_0x227591(0x174)](PerformanceAutEvents[_0x227591(0x1fa)],async()=>{const _0x19d7a1=_0x227591;_0x2209e9?await _0x57a8b7[_0x19d7a1(0x1c0)](playwrightMarkSessionStatus,_0x42af04,STATE_PASSED):await _0x57a8b7[_0x19d7a1(0x1a1)](markSessionStatus,_0x42af04,STATE_PASSED);})();}),PerformanceTester[_0x325883(0x204)](PerformanceEvents[_0x325883(0x212)]);}catch(_0x5bdc90){PerformanceTester[_0x325883(0x164)](_0x5bdc90);const _0x3030d5={};_0x3030d5[_0x325883(0x203)]=_0x2a5d1b[_0x325883(0x16a)],PerformanceTester[_0x325883(0x204)](PerformanceHookEvents['SDK_HOOK'],![],_0x5bdc90,_0x3030d5),PerformanceTester[_0x325883(0x204)](PerformanceEvents[_0x325883(0x212)],![],_0x5bdc90);}const _0x4c5f3f={};_0x4c5f3f[_0x325883(0x203)]=_0x2a5d1b[_0x325883(0x16a)],PerformanceTester['end'](PerformanceHookEvents[_0x325883(0x14b)],!![],null,_0x4c5f3f);}),CodeceptJS[_0x4ba472(0x20a)][_0x4ba472(0x150)]['on'](CodeceptJS[_0x4ba472(0x20a)][_0x4ba472(0x217)][_0x4ba472(0x14e)],(_0x40a1a5,_0x38ecd7)=>{const _0x3b3bb7=_0x4ba472,_0xb60c92={'phesI':function(_0x54f3cf){const _0x1072f0=a1_0x4121;return _0x2a5d1b[_0x1072f0(0x1df)](_0x54f3cf);},'JcGpi':function(_0x4870a4,_0x15d4b9,_0x5a26f6,_0x29628c){const _0x3a94c1=a1_0x4121;return _0x2a5d1b[_0x3a94c1(0x1cd)](_0x4870a4,_0x15d4b9,_0x5a26f6,_0x29628c);}};PerformanceTester[_0x3b3bb7(0x1ae)](PerformanceHookEvents[_0x3b3bb7(0x14b)]);try{if(_0x2a5d1b[_0x3b3bb7(0x1e5)](_0x40a1a5['constructor'][_0x3b3bb7(0x182)],_0x2a5d1b[_0x3b3bb7(0x214)])){const _0x17fd94=_0x3fce2d[_0x3b3bb7(0x1c3)](TEST_EVENTS[_0x3b3bb7(0x1d9)],_0x40a1a5[_0x3b3bb7(0x16c)][_0x3b3bb7(0x158)]);CodeceptRecorder[_0x3b3bb7(0x1fb)](()=>_0x3fce2d['fireEvent'](TEST_EVENTS[_0x3b3bb7(0x1d9)],_0x17fd94));}else{const _0x46da43=_0x3fce2d['captureEvent'](TEST_EVENTS['TEST_RUN_FINISHED'],_0x40a1a5,_0x38ecd7);CodeceptRecorder['add'](()=>{const _0xc8bf7c=_0x3b3bb7;try{_0x3fce2d[_0xc8bf7c(0x1da)](TEST_EVENTS[_0xc8bf7c(0x1ca)],_0x46da43);}catch(_0xf0c079){logger[_0xc8bf7c(0x146)](_0xc8bf7c(0x170)+util['format'](_0xf0c079)),PerformanceTester[_0xc8bf7c(0x204)](PerformanceEvents[_0xc8bf7c(0x212)],![],_0xf0c079);}}),CodeceptRecorder[_0x3b3bb7(0x1fb)](async()=>{const _0x205382=_0x3b3bb7;try{_0xb60c92[_0x205382(0x1ba)](isBrowserstackInfra)&&(_0x2209e9?await _0xb60c92[_0x205382(0x1a5)](playwrightMarkSessionStatus,_0x42af04,STATE_FAILED,_0x38ecd7):await _0xb60c92[_0x205382(0x1a5)](markSessionStatus,_0x42af04,STATE_FAILED,_0x38ecd7));}catch(_0x5f2a12){logger['debug'](_0x205382(0x1a3)+util[_0x205382(0x1ea)](_0x5f2a12)),PerformanceTester[_0x205382(0x204)](PerformanceEvents[_0x205382(0x212)],![],_0x5f2a12);}});}PerformanceTester[_0x3b3bb7(0x204)](PerformanceEvents['SDK_TEST']);}catch(_0x5dbc8f){PerformanceTester[_0x3b3bb7(0x164)](_0x5dbc8f);const _0x4eff31={};_0x4eff31[_0x3b3bb7(0x203)]=_0x2a5d1b[_0x3b3bb7(0x210)],PerformanceTester[_0x3b3bb7(0x204)](PerformanceHookEvents['SDK_HOOK'],![],_0x5dbc8f,_0x4eff31),PerformanceTester['end'](PerformanceEvents[_0x3b3bb7(0x212)],![],_0x5dbc8f);}const _0x18caac={};_0x18caac['hookType']=_0x2a5d1b[_0x3b3bb7(0x210)],PerformanceTester[_0x3b3bb7(0x204)](PerformanceHookEvents[_0x3b3bb7(0x14b)],!![],null,_0x18caac);}),CodeceptJS['event'][_0x4ba472(0x150)]['on'](CodeceptJS[_0x4ba472(0x20a)][_0x4ba472(0x217)][_0x4ba472(0x15b)],_0x319d7f=>{const _0x1fa2fe=_0x4ba472;PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK']);try{const _0x59f0eb=_0x3fce2d['captureEvent'](TEST_EVENTS[_0x1fa2fe(0x1d9)],_0x319d7f);CodeceptRecorder['add'](()=>_0x3fce2d['fireEvent'](TEST_EVENTS[_0x1fa2fe(0x1d9)],_0x59f0eb)),PerformanceTester['end'](PerformanceEvents[_0x1fa2fe(0x212)]);}catch(_0xe63dc){PerformanceTester[_0x1fa2fe(0x164)](_0xe63dc),PerformanceTester[_0x1fa2fe(0x204)](PerformanceEvents[_0x1fa2fe(0x212)],![],_0xe63dc);const _0x4d8cc4={};_0x4d8cc4[_0x1fa2fe(0x203)]=_0x2a5d1b['YFIFS'],PerformanceTester[_0x1fa2fe(0x204)](PerformanceHookEvents[_0x1fa2fe(0x14b)],![],_0xe63dc,_0x4d8cc4);}const _0x318a5e={};_0x318a5e[_0x1fa2fe(0x203)]=_0x2a5d1b[_0x1fa2fe(0x1b7)],PerformanceTester['end'](PerformanceHookEvents[_0x1fa2fe(0x14b)],!![],null,_0x318a5e);}),CodeceptJS[_0x4ba472(0x20a)][_0x4ba472(0x150)]['on'](CodeceptJS['event'][_0x4ba472(0x217)][_0x4ba472(0x1c1)],async(_0x509846,_0x280326)=>{const _0x2a4f40=_0x4ba472;try{PerformanceTester[_0x2a4f40(0x1ae)](PerformanceHookEvents[_0x2a4f40(0x14b)]);if(_0x2a5d1b[_0x2a4f40(0x1fc)](isBrowserstackInfra)){const _0x4782fb=_0x2a5d1b['lhlyf'](shouldScanTestForAccessibility,_0x509846[_0x2a4f40(0x143)](),!![]);if(_0x2a5d1b[_0x2a4f40(0x180)](isAccessibilityAutomationSession)&&global[_0x2a4f40(0x1e9)]&&_0x4782fb){const _0x15297b={};_0x15297b[_0x2a4f40(0x18b)]=_0x509846[_0x2a4f40(0x1ef)],_0x15297b[_0x2a4f40(0x1d3)]=process[_0x2a4f40(0x207)][testHubConstants[_0x2a4f40(0x1ec)][_0x2a4f40(0x1d4)]],_0x15297b[_0x2a4f40(0x160)]=process[_0x2a4f40(0x207)][testHubConstants[_0x2a4f40(0x1ec)][_0x2a4f40(0x188)]];const _0x29326d=_0x15297b;logger[_0x2a4f40(0x146)](_0x2a4f40(0x1f5)+JSON[_0x2a4f40(0x21e)](_0x29326d)),CodeceptRecorder[_0x2a4f40(0x1fb)](async()=>{const _0x419ccc=_0x2a4f40,_0x4be793={};_0x4be793[_0x419ccc(0x18e)]=_0x2a5d1b[_0x419ccc(0x202)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x419ccc(0x196)],async()=>{const _0x3f7482=_0x419ccc;await AccessibilityHelper[_0x3f7482(0x221)](_0x42af04,scripts[_0x3f7482(0x1e1)]);},_0x4be793)(),await PerformanceTester[_0x419ccc(0x174)](PerformanceA11yEvents[_0x419ccc(0x1cf)],async()=>{const _0x4e6b0c=_0x419ccc;await AccessibilityHelper[_0x4e6b0c(0x221)](_0x42af04,scripts[_0x4e6b0c(0x16f)],_0x29326d);})();}),logger[_0x2a4f40(0x1d8)](_0x2a5d1b[_0x2a4f40(0x16b)]);}}const _0x22861f={};_0x22861f['hookType']=_0x2a5d1b[_0x2a4f40(0x155)],PerformanceTester['end'](PerformanceHookEvents[_0x2a4f40(0x14b)],!![],null,_0x22861f);}catch(_0x14baf0){PerformanceTester['captureError'](_0x14baf0);const _0x58e477={};_0x58e477['hookType']=_0x2a5d1b['KSahB'],PerformanceTester[_0x2a4f40(0x204)](PerformanceHookEvents[_0x2a4f40(0x14b)],![],_0x14baf0,_0x58e477);}}),CodeceptJS[_0x4ba472(0x20a)]['dispatcher']['on'](CodeceptJS['event']['step'][_0x4ba472(0x1f1)],_0xcfa37c=>{const _0x1748a7=_0x4ba472;PerformanceTester['start'](PerformanceHookEvents[_0x1748a7(0x14b)]);try{process[_0x1748a7(0x226)](_0x1748a7(0x1a8)+process[_0x1748a7(0x1eb)],{'timestamp':new Date()[_0x1748a7(0x21d)](),'level':_0x2a5d1b['bQSnX'],'message':_0xcfa37c,'kind':_0x2a5d1b[_0x1748a7(0x173)],'http_response':{}});}catch(_0x124d3e){PerformanceTester['captureError'](_0x124d3e);const _0x1e6364={};_0x1e6364[_0x1748a7(0x203)]=_0x2a5d1b[_0x1748a7(0x1d0)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],_0x124d3e,_0x1e6364);}const _0x279fa5={};_0x279fa5[_0x1748a7(0x203)]=_0x2a5d1b[_0x1748a7(0x1d0)],PerformanceTester['end'](PerformanceHookEvents[_0x1748a7(0x14b)],!![],null,_0x279fa5);}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x4ba472(0x20a)]['bddStep'][_0x4ba472(0x1b1)],_0x4b9b7d=>{const _0x3379b0=_0x4ba472,_0x4ec29f={};_0x4ec29f[_0x3379b0(0x203)]=_0x2a5d1b[_0x3379b0(0x1b3)],PerformanceTester[_0x3379b0(0x174)](PerformanceHookEvents['SDK_HOOK'],()=>{_0x3fce2d['bddStepStart'](_0x4b9b7d);},_0x4ec29f)();}),CodeceptJS[_0x4ba472(0x20a)][_0x4ba472(0x150)]['on'](CodeceptJS[_0x4ba472(0x20a)][_0x4ba472(0x16e)][_0x4ba472(0x1c1)],_0x4867f5=>{const _0x975dca=_0x4ba472,_0xf18576={};_0xf18576[_0x975dca(0x203)]=_0x2a5d1b[_0x975dca(0x1c9)],PerformanceTester[_0x975dca(0x174)](PerformanceHookEvents[_0x975dca(0x14b)],()=>{const _0x374306=_0x975dca;_0x3fce2d[_0x374306(0x1f9)](_0x4867f5);},_0xf18576)();});};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a2_0x275dd3=a2_0x1d77;(function(_0x59cab7,_0x113625){const _0x4aef8d=a2_0x1d77,_0x5e6a55=_0x59cab7();while(!![]){try{const _0x3382e8=-parseInt(_0x4aef8d(0x179))/0x1+parseInt(_0x4aef8d(0x1d6))/0x2+-parseInt(_0x4aef8d(0x16b))/0x3+-parseInt(_0x4aef8d(0x16a))/0x4*(-parseInt(_0x4aef8d(0x19d))/0x5)+-parseInt(_0x4aef8d(0x17d))/0x6+parseInt(_0x4aef8d(0x188))/0x7*(parseInt(_0x4aef8d(0x1bc))/0x8)+-parseInt(_0x4aef8d(0x157))/0x9*(-parseInt(_0x4aef8d(0x199))/0xa);if(_0x3382e8===_0x113625)break;else _0x5e6a55['push'](_0x5e6a55['shift']());}catch(_0x56ec91){_0x5e6a55['push'](_0x5e6a55['shift']());}}}(a2_0x48fb,0x4a2b1));const fs=require('fs'),path=require(a2_0x275dd3(0x183)),util=require('util'),process=require(a2_0x275dd3(0x1ce)),logger=require(a2_0x275dd3(0x19b))['winstonLogger'],{default:BrowserStackSetup}=require(a2_0x275dd3(0x174)),helper=require('../../helpers/helper'),utilities=require(a2_0x275dd3(0x1cd)),{checkAccessibilityPlatformConfig}=require(a2_0x275dd3(0x189)),{setAccessibilityCapabilities}=require(a2_0x275dd3(0x1ae)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x275dd3(0x1e0)),CodeceptJS=requireModule(a2_0x275dd3(0x1ab),'codeceptjs'),testOpsHelper=require(a2_0x275dd3(0x1ca)),TestHubHandler=require(a2_0x275dd3(0x17a)),constants=require(a2_0x275dd3(0x1bd)),PerformanceTester=require(a2_0x275dd3(0x1cc)),PerformanceEvents=require('../../helpers/performance/constants')['EVENTS'],_testErrorData=[],getUserCodeceptJSConfigs=(_0x41ef5f,_0x353b70)=>{const _0x529828=a2_0x275dd3,_0x2bd32c={};_0x2bd32c[_0x529828(0x1c1)]=function(_0xbe4d8a,_0xf03ff3){return _0xbe4d8a===_0xf03ff3;},_0x2bd32c[_0x529828(0x167)]=_0x529828(0x18a),_0x2bd32c[_0x529828(0x1c8)]=_0x529828(0x1c5);const _0x43c192=_0x2bd32c;let _0x554ad9=null;const _0x46021d={};let _0x45c353=_0x353b70['findIndex'](_0x239637=>_0x239637===_0x529828(0x187));_0x43c192[_0x529828(0x1c1)](_0x45c353,-0x1)&&(_0x45c353=_0x353b70['findIndex'](_0x1f9df6=>_0x1f9df6==='-c'));if(!helper[_0x529828(0x1a0)](_0x41ef5f['config'])&&fs['existsSync'](path[_0x529828(0x19e)](process[_0x529828(0x1be)](),_0x41ef5f[_0x529828(0x1d9)])))_0x554ad9=path[_0x529828(0x19e)](process[_0x529828(0x1be)](),_0x41ef5f[_0x529828(0x1d9)]),_0x353b70[_0x529828(0x1b8)](_0x45c353,0x2);else{if(!helper[_0x529828(0x1a0)](_0x41ef5f['c'])&&fs[_0x529828(0x178)](path[_0x529828(0x19e)](process[_0x529828(0x1be)](),_0x41ef5f['c'])))_0x554ad9=path['join'](process['cwd'](),_0x41ef5f['c']),_0x353b70['slice'](_0x45c353,0x2);else{if(fs[_0x529828(0x178)](path[_0x529828(0x19e)](process['cwd'](),_0x43c192[_0x529828(0x167)])))_0x554ad9=path['join'](process[_0x529828(0x1be)](),_0x43c192[_0x529828(0x167)]);else fs['existsSync'](path[_0x529828(0x19e)](process[_0x529828(0x1be)](),_0x43c192[_0x529828(0x1c8)]))&&(_0x554ad9=path[_0x529828(0x19e)](process[_0x529828(0x1be)](),_0x43c192[_0x529828(0x1c8)]));}}return process[_0x529828(0x156)]['USER_CONFIG_DETAILS_PATH']=_0x554ad9,_0x554ad9;},getO11yRerunPattern=()=>{const _0xc1cdb0=a2_0x275dd3,_0x23d601=helper['isTrue'](process[_0xc1cdb0(0x156)][_0xc1cdb0(0x1a5)]);if(_0x23d601){const _0x2a4f75=process[_0xc1cdb0(0x156)][_0xc1cdb0(0x176)],_0x9cf639=[];if(helper[_0xc1cdb0(0x158)](_0x2a4f75)&&!helper[_0xc1cdb0(0x1a0)](_0x2a4f75)){_0x2a4f75[_0xc1cdb0(0x1ac)](',')[_0xc1cdb0(0x190)](_0x45c257=>{const _0x21c514=_0xc1cdb0;_0x9cf639[_0x21c514(0x18f)]('('+_0x45c257[_0x21c514(0x171)]()+')');});const _0x457d39='^'+_0x9cf639[_0xc1cdb0(0x19e)]('|')+'$';return _0x457d39;}}return null;},a2_0x558d00={};a2_0x558d00['chrome']=a2_0x275dd3(0x15c),a2_0x558d00['playwright-chromium']=a2_0x275dd3(0x15c),a2_0x558d00[a2_0x275dd3(0x18d)]=a2_0x275dd3(0x182),a2_0x558d00['playwright-webkit']=a2_0x275dd3(0x1c3);function a2_0x1d77(_0x120b44,_0x1a4321){const _0x48fb57=a2_0x48fb();return a2_0x1d77=function(_0x1d77dc,_0x52804f){_0x1d77dc=_0x1d77dc-0x156;let _0x594243=_0x48fb57[_0x1d77dc];return _0x594243;},a2_0x1d77(_0x120b44,_0x1a4321);}const pwToCodeceptBrowser=a2_0x558d00;function a2_0x48fb(){const _0x195df8=['8LAjuaf','848238OtoTzo','bootstrapAll','testConfig','log','DDjOl','title','trim','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','event','../../helpers/BrowserStackSetup','info','BROWSERSTACK_RERUN_TESTS','start','existsSync','505113OEpFyj','../../helpers/testhub/testhubHandler','browserName','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','1608012HkNCDb','browser','run','CODECEPT','browserWSEndpoint','firefox','path','result','chdir','errorMessage','--config','112APUNQt','../../helpers/accessibility-automation/helper','codecept.conf.js','launchBuild','format','playwright-firefox','initialize','push','map','codeceptjs','wiRJQ','plugins','qQQDg','prepareCapabilities','SDK_SETUP','pxhBe','end','8259560qNZaLx','now','../../helpers/logger','5|2|3|0|4|1','38435yiIqpB','join','FRAMEWORKS','isUndefined','fyOyt','axkBZ','getPlaywrightUrl','ogOmU','BROWSERSTACK_RERUN','HNaLt','finalExecution','stack','Playwright','desiredCapabilities','codeceptjs/lib/index.js','split','printBuildLink','../../bin/playwright/accessibility-helper','spawn','Started\x20:\x20','ZZBvm','lSqnG','cimDw','LNytX','OUgCD','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','BrowserStackPlugin','slice','mWSYu','testObservability','browserStackCwd','169368ELIPdp','../utils/constants','cwd','root','ZwCSf','ACaSx','all','webkit','toLowerCase','codecept.json','addTests','accessibilityOptions','UaUGK','mrMXS','../../helpers/test-observability/utils','gherkin','../../helpers/performance/performance-tester','../../helpers/utilities','process','teardownAll','skipSessionName','passed','WebDriver','helpers','platforms','forEach','359176EtAlHD','handleApp','Zhsnj','config','createGroupsOfSuites','ebEla','skipSessionStatus','fovJT','fzKGW','setAdditionalCapabilities','../../helpers/helper','isTestObservabilitySession','printResults','env','9CEsCBK','validateRerunTestList','UQpQO','stringify','getUserWorkerCount','chromium','mergeDeep','length','Failed\x20:\x20','profile','before','testContextOptions','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','test','Eowlp','Passed\x20:\x20','dDVXx','HVqHF','NpqPo'];a2_0x48fb=function(){return _0x195df8;};return a2_0x48fb();}async function run(_0x1443b4,_0x1ca691){const _0x3facb4=a2_0x275dd3,_0x3698a2={'cimDw':function(_0x18a89d,_0x34a058){return _0x18a89d+_0x34a058;},'fzKGW':function(_0x4201b5,_0x34c694){return _0x4201b5(_0x34c694);},'UQpQO':function(_0x4c9c4a,_0x1d7abb,_0x4481ee){return _0x4c9c4a(_0x1d7abb,_0x4481ee);},'ZZBvm':_0x3facb4(0x1d3),'fovJT':function(_0x1c1bcd){return _0x1c1bcd();},'zIPFa':_0x3facb4(0x15f),'CbnUT':_0x3facb4(0x166),'mrMXS':_0x3facb4(0x1b0),'ebEla':_0x3facb4(0x19c),'HNaLt':_0x3facb4(0x191),'mWSYu':function(_0x2104d6,_0x25831c,_0x5f0ef9){return _0x2104d6(_0x25831c,_0x5f0ef9);},'Eowlp':_0x3facb4(0x172),'axkBZ':_0x3facb4(0x1a9),'Zhsnj':_0x3facb4(0x1d2),'lSqnG':function(_0x2314a0,_0x1e96e9){return _0x2314a0!=_0x1e96e9;},'ogOmU':function(_0x566a58,_0x1e4807){return _0x566a58===_0x1e4807;},'Ybcdi':function(_0x56422f,_0x3bcd7a){return _0x56422f+_0x3bcd7a;},'wiRJQ':function(_0x30842b,_0x498781,_0x3392d8){return _0x30842b(_0x498781,_0x3392d8);},'qQQDg':_0x3facb4(0x1cb),'ymesH':'-cucumber','NpqPo':function(_0x3b4a14){return _0x3b4a14();},'MGtYx':function(_0x3aea45,_0x4647d3){return _0x3aea45*_0x4647d3;},'DDjOl':_0x3facb4(0x17e),'OUgCD':function(_0x474761,_0x3c8c55,_0x59c088){return _0x474761(_0x3c8c55,_0x59c088);},'LNytX':_0x3facb4(0x1aa),'KymVY':function(_0x331cc6,_0x198698,_0x323aeb){return _0x331cc6(_0x198698,_0x323aeb);},'fyOyt':_0x3facb4(0x1bf),'pxhBe':'BrowserStackPlugin.js','HVqHF':_0x3facb4(0x1bb),'ZwCSf':function(_0x464225){return _0x464225();}},_0x1c712d=new BrowserStackSetup(_0x1443b4,_0x3698a2['HNaLt']);await _0x1c712d[_0x3facb4(0x18e)](),await helper[_0x3facb4(0x1d7)](_0x1c712d['config']);if(!_0x1c712d['config'])return;process[_0x3facb4(0x160)]=_0x1443b4[_0x3facb4(0x160)];_0x1443b4[_0x3facb4(0x160)]&&(process[_0x3facb4(0x156)][_0x3facb4(0x160)]=_0x1443b4[_0x3facb4(0x160)]);const _0x4a1898=_0x3698a2[_0x3facb4(0x1b9)](getUserCodeceptJSConfigs,_0x1443b4,_0x1ca691);let _0x5a1988={};_0x4a1898?(logger[_0x3facb4(0x175)](_0x3facb4(0x163)+_0x4a1898),_0x5a1988=CodeceptJS[_0x3facb4(0x1d9)]['load'](_0x4a1898)):logger['info'](_0x3698a2[_0x3facb4(0x165)]);let _0x420eba=![];_0x3698a2[_0x3facb4(0x159)](nestedKeyValue,_0x5a1988,[_0x3698a2[_0x3facb4(0x1b1)],_0x3698a2[_0x3facb4(0x1a2)]])&&(_0x420eba=!![]);const _0x539718=_0x420eba?_0x3698a2['axkBZ']:_0x3698a2[_0x3facb4(0x1d8)];let _0x5b3fff=!_0x420eba?helper['useW3C'](_0x1c712d[_0x3facb4(0x1d9)]):![];!helper[_0x3facb4(0x1a0)](_0x1c712d[_0x3facb4(0x1d9)][_0x3facb4(0x1c7)])&&(process['env'][_0x3facb4(0x1b6)]=JSON['stringify'](_0x1c712d[_0x3facb4(0x1d9)][_0x3facb4(0x1c7)]));let _0x5ab7ce=_0x1c712d[_0x3facb4(0x1d9)]['accessibility'];_0x5ab7ce=_0x5ab7ce||_0x3698a2[_0x3facb4(0x1de)](checkAccessibilityPlatformConfig,_0x1c712d['config']),process[_0x3facb4(0x156)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x5ab7ce;_0x5ab7ce&&(_0x5b3fff=!_0x5ab7ce);_0x3698a2[_0x3facb4(0x1b2)](_0x1c712d[_0x3facb4(0x1d9)][_0x3facb4(0x1ba)],null)?process[_0x3facb4(0x156)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x1c712d['config'][_0x3facb4(0x1ba)]:process[_0x3facb4(0x156)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x3698a2[_0x3facb4(0x1a4)](_0x539718,_0x3698a2[_0x3facb4(0x1a2)]);const _0x123aee=_0x3698a2['Ybcdi'](_0x3698a2[_0x3facb4(0x1a6)],_0x3698a2[_0x3facb4(0x192)](nestedKeyValue,_0x5a1988,[_0x3698a2[_0x3facb4(0x194)]])?_0x3698a2['ymesH']:''),_0x3df2ae=await TestHubHandler[_0x3facb4(0x18b)](_0x123aee,_0x1c712d);_0x5ab7ce&&_0x3698a2[_0x3facb4(0x1de)](setAccessibilityCapabilities,_0x1c712d[_0x3facb4(0x1d9)]);const _0x44f8b0={},_0x29a258=[],_0x58ed30=_0x1c712d[_0x3facb4(0x1d9)]['parallelsPerPlatform']||helper[_0x3facb4(0x15b)](_0x1443b4,_0x1ca691,_0x1c712d[_0x3facb4(0x1d9)],constants[_0x3facb4(0x19f)][_0x3facb4(0x180)])||0x1;let _0x1af14e=0x1;if(_0x3698a2[_0x3facb4(0x169)](isBrowserstackInfra)){const _0x2877c7=helper['prepareCapabilities'](_0x1c712d[_0x3facb4(0x1d9)],_0x5b3fff,constants[_0x3facb4(0x19f)]['CODECEPT']);_0x2877c7[_0x3facb4(0x1d5)](_0x5bbc1d=>{const _0x2272fb=_0x3facb4;helper[_0x2272fb(0x1df)](_0x5bbc1d);}),helper['validPlatformsPresent'](_0x1c712d[_0x3facb4(0x1d9)])?_0x1af14e=_0x3698a2['MGtYx'](_0x58ed30,_0x1c712d[_0x3facb4(0x1d9)][_0x3facb4(0x1d4)][_0x3facb4(0x15e)]):_0x1af14e=_0x58ed30,_0x2877c7[_0x3facb4(0x1d5)](_0x129bd8=>{const _0x4e9723=_0x3facb4,_0xa5b4a9=_0x3698a2[_0x4e9723(0x1b3)](helper['getPlatformName'](_0x129bd8,'_'),'_'+Date[_0x4e9723(0x19a)]()),_0x4072ef=((()=>{const _0x3ae21f=_0x4e9723;if(_0x420eba){const _0x3202eb=pwToCodeceptBrowser[_0x129bd8[_0x3ae21f(0x17b)]]||_0x129bd8[_0x3ae21f(0x17b)];return{'browser':_0x3202eb,[_0x3202eb]:{'browserWSEndpoint':_0x3698a2[_0x3ae21f(0x1b3)](helper[_0x3ae21f(0x1a3)](_0x1c712d[_0x3ae21f(0x1d9)]),_0x3698a2[_0x3ae21f(0x1de)](encodeURIComponent,JSON[_0x3ae21f(0x15a)](_0x129bd8)))}};}const _0x5562bd={};return _0x5562bd['desiredCapabilities']=_0x129bd8,_0x5562bd;})()),_0x2d0f6d=_0x3698a2[_0x4e9723(0x159)](nestedKeyValue,_0x5a1988,[_0x3698a2['ZZBvm'],_0x539718]);_0x44f8b0[_0xa5b4a9]=_0x2d0f6d?helper[_0x4e9723(0x15d)](_0x4072ef,_0x2d0f6d):_0x4072ef,!_0x420eba&&(_0x44f8b0[_0xa5b4a9][_0x4e9723(0x17e)]=_0x129bd8['browserName']||_0x4072ef[_0x4e9723(0x17e)]),_0x29a258[_0x4e9723(0x18f)](_0xa5b4a9);});}else{_0x1af14e=0x1;if(_0x420eba){const _0x4706a1=_0x3698a2[_0x3facb4(0x159)](nestedKeyValue,_0x5a1988,[_0x3698a2['ZZBvm'],_0x539718,_0x3698a2[_0x3facb4(0x16f)]]),_0x4d4593=_0x3698a2[_0x3facb4(0x1b5)](nestedKeyValue,_0x5a1988,[_0x3698a2[_0x3facb4(0x1b1)],_0x539718,_0x4706a1]);_0x4d4593&&_0x4d4593['browserWSEndpoint']&&(_0x4d4593[_0x3facb4(0x181)]=helper['prepareCapabilities'](null,null,_0x123aee[_0x3facb4(0x1c4)](),null,null,_0x4d4593[_0x3facb4(0x181)]));}else _0x5a1988[_0x3698a2['ZZBvm']][_0x539718][_0x3698a2['LNytX']]=helper[_0x3facb4(0x195)](null,null,_0x123aee[_0x3facb4(0x1c4)](),_0x3698a2['KymVY'](nestedKeyValue,_0x5a1988,[_0x3698a2['ZZBvm'],_0x539718,_0x3698a2[_0x3facb4(0x1b4)]]),null,null);_0x44f8b0[_0x3698a2['fyOyt']]=_0x5a1988,_0x29a258[_0x3facb4(0x18f)](_0x3698a2[_0x3facb4(0x1a1)]);}const _0x428224={};_0x428224[_0x3facb4(0x16d)]=_0x4a1898;const _0x5cb23d=_0x428224,_0x2cd3e4=path[_0x3facb4(0x19e)](__dirname,_0x3698a2[_0x3facb4(0x197)]),_0x310f3f=process['cwd']();process[_0x3facb4(0x156)][_0x3698a2[_0x3facb4(0x168)]]=_0x310f3f,process['chdir'](path['dirname'](_0x4a1898));const _0x289aa4=new CodeceptJS['Workers'](null,_0x5cb23d),_0x35d73b=_0x289aa4[_0x3facb4(0x1da)](_0x1af14e),_0x482e57=testOpsHelper[_0x3facb4(0x1e1)](),_0xd32ac5=_0x29a258[_0x3facb4(0x190)](_0x1ad874=>{const _0x186216=_0x3facb4,_0x13b34d={};_0x13b34d[_0x186216(0x1a9)]=_0x44f8b0[_0x1ad874];const _0x281190={};_0x281190[_0x186216(0x1d2)]=_0x44f8b0[_0x1ad874];const _0x18cec6=_0x420eba?_0x13b34d:_0x281190,_0x382d18=_0x3698a2[_0x186216(0x1dd)](getO11yRerunPattern),_0x3add53={};_0x3add53[_0x186216(0x1d3)]=_0x18cec6;const _0x5ef60e={};_0x5ef60e['require']=_0x2cd3e4,_0x5ef60e['enabled']=!![],_0x5ef60e[_0x186216(0x1d0)]=_0x1c712d[_0x186216(0x1d9)][_0x186216(0x162)][_0x186216(0x1d0)],_0x5ef60e[_0x186216(0x1dc)]=_0x1c712d[_0x186216(0x1d9)][_0x186216(0x162)][_0x186216(0x1dc)],_0x5ef60e[_0x186216(0x1ba)]=_0x482e57,_0x5ef60e['frameworkName']=_0x123aee;const _0x5321d0={};_0x5321d0[_0x186216(0x1b7)]=_0x5ef60e;const _0xaf188a={};return _0xaf188a[_0x186216(0x193)]=_0x5321d0,helper[_0x186216(0x15d)]({},_0x5a1988,_0x3698a2[_0x186216(0x1dd)](isBrowserstackInfra)?_0x3add53:{},_0x382d18?{'grep':_0x382d18}:{},_0xaf188a);});for(const _0x55dcfb of _0xd32ac5){for(const _0x3f3787 of _0x35d73b){const _0x4b5937=_0x289aa4[_0x3facb4(0x1af)]();_0x4b5937[_0x3facb4(0x1c6)](_0x3f3787),_0x4b5937['addConfig'](_0x55dcfb);}}_0x289aa4['on'](CodeceptJS[_0x3facb4(0x173)][_0x3facb4(0x164)]['failed'],(_0x5d4a70,_0x2e22f7)=>{const _0x2dcc20=_0x3facb4;console[_0x2dcc20(0x16e)](_0x3698a2['zIPFa'],_0x5d4a70['title']);const _0x18e9ab={[_0x5d4a70[_0x2dcc20(0x170)]]:_0x5d4a70['err'][_0x2dcc20(0x1a8)]};_testErrorData[_0x2dcc20(0x18f)](_0x18e9ab);}),_0x289aa4['on'](CodeceptJS['event']['test'][_0x3facb4(0x1d1)],async _0x55f3e4=>{const _0x25047b=_0x3facb4;console[_0x25047b(0x16e)](_0x3698a2['CbnUT'],_0x55f3e4[_0x25047b(0x170)]);}),_0x289aa4['on'](CodeceptJS[_0x3facb4(0x173)]['test'][_0x3facb4(0x161)],async _0x23aec6=>{const _0x4a4684=_0x3facb4;console[_0x4a4684(0x16e)](_0x3698a2[_0x4a4684(0x1c9)],_0x23aec6[_0x4a4684(0x170)]);}),_0x289aa4['on'](CodeceptJS[_0x3facb4(0x173)][_0x3facb4(0x1c2)][_0x3facb4(0x184)],async()=>{const _0x2366a7=_0x3facb4,_0x152b56=_0x3698a2[_0x2366a7(0x1db)][_0x2366a7(0x1ac)]('|');let _0x197097=0x0;while(!![]){switch(_0x152b56[_0x197097++]){case'0':utilities[_0x2366a7(0x1a7)](_0x1c712d);continue;case'1':_0x289aa4[_0x2366a7(0x1e2)]();continue;case'2':_0x1c712d[_0x2366a7(0x186)]=_testErrorData;continue;case'3':testOpsHelper[_0x2366a7(0x1ad)]();continue;case'4':try{await TestHubHandler['stop']();}catch(_0x46eb8c){logger['debug'](_0x2366a7(0x17c)+util[_0x2366a7(0x18c)](_0x46eb8c));}continue;case'5':PerformanceTester[_0x2366a7(0x177)](PerformanceEvents['SDK_CLEANUP']);continue;}break;}});async function _0x3fbcff(){const _0x11d674=_0x3facb4;try{await _0x289aa4[_0x11d674(0x16c)](),await _0x289aa4[_0x11d674(0x17f)]();}finally{process[_0x11d674(0x185)](_0x310f3f),await _0x289aa4[_0x11d674(0x1cf)]();}}PerformanceTester[_0x3facb4(0x198)](PerformanceEvents[_0x3facb4(0x196)]),_0x3698a2[_0x3facb4(0x1c0)](_0x3fbcff);}module['exports']=run;
2
+ 'use strict';function a2_0x40e6(_0x26bd5c,_0x5d32ca){const _0x3bc094=a2_0x3bc0();return a2_0x40e6=function(_0x40e668,_0x463736){_0x40e668=_0x40e668-0x16e;let _0x587f57=_0x3bc094[_0x40e668];return _0x587f57;},a2_0x40e6(_0x26bd5c,_0x5d32ca);}const a2_0x2945b8=a2_0x40e6;(function(_0x9c2ace,_0x12222d){const _0x829783=a2_0x40e6,_0x4b7edc=_0x9c2ace();while(!![]){try{const _0x306e80=-parseInt(_0x829783(0x1b6))/0x1+-parseInt(_0x829783(0x1fc))/0x2+parseInt(_0x829783(0x1ec))/0x3+-parseInt(_0x829783(0x1df))/0x4+parseInt(_0x829783(0x1b3))/0x5+parseInt(_0x829783(0x1e3))/0x6+-parseInt(_0x829783(0x195))/0x7;if(_0x306e80===_0x12222d)break;else _0x4b7edc['push'](_0x4b7edc['shift']());}catch(_0xa10f9e){_0x4b7edc['push'](_0x4b7edc['shift']());}}}(a2_0x3bc0,0xc2cfc));function a2_0x3bc0(){const _0x7344a7=['BROWSERSTACK_TEST_OBSERVABILITY_YML','kBmYQ','ofIQj','otsMJ','util','winstonLogger','printBuildLink','title','Playwright','AoPRZ','5172975WzxUSC','result','mergeDeep','337478RJpXgE','WebDriver','FRAMEWORKS','BROWSERSTACK_TEST_ACCESSIBILITY_YML','../../helpers/helper','EVENTS','validPlatformsPresent','now','NzayC','fyILA','CODECEPT','err','process','USER_CONFIG_DETAILS_PATH','ShrjQ','NrOoI','printResults','codecept.json','BrowserStackPlugin','../../helpers/BrowserStackSetup','fwWjm','log','../../bin/playwright/accessibility-helper','frameworkName','SDK_CLEANUP','Workers','BROWSERSTACK_RERUN','failed','info','forEach','qPeHJ','spawn','../utils/constants','BrowserStackPlugin.js','profile','prepareCapabilities','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','SDK_SETUP','addConfig','format','browserStackCwd','316916UvreJe','playwright-chromium','QiwUc','createGroupsOfSuites','2383536DSCyYI','length','plugins','env','../../helpers/test-observability/utils','JNWhz','errorMessage','debug','../../helpers/logger','3697305YfjSqm','SewtT','join','getPlatformName','pGwaI','isTestObservabilitySession','existsSync','toLowerCase','addTests','chdir','QwlhH','../../helpers/performance/performance-tester','enabled','accessibilityOptions','testContextOptions','../../helpers/performance/constants','2038414sYuMUq','browserWSEndpoint','helpers','event','getUserWorkerCount','dirname','Qsaxc','cwd','codecept.conf.js','testObservability','platforms','webZz','path','skipSessionStatus','BROWSERSTACK_RERUN_TESTS','RtowM','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','Failed\x20:\x20','RCmGo','zSMdQ','browser','stop','getPlaywrightUrl','../../helpers/testhub/testhubHandler','all','sSNeB','eUDFK','test','accessibility','config','0|2|4|1|3|5','desiredCapabilities','Passed\x20:\x20','shLNV','lIMye','stringify','EeIpd','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','bootstrapAll','require','codeceptjs/lib/index.js','MnJAl','Started\x20:\x20','testConfig','run','Bomyb','skipSessionName','push','chromium','pfwKu','3012968yCjHYy','map','browserName','exports','useW3C','before','teardownAll','UbzCo','IlxVC','xZdzK','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','isUndefined','-cucumber','chrome','findIndex','codeceptjs','Wtdbs','playwright-webkit','slice','setAdditionalCapabilities'];a2_0x3bc0=function(){return _0x7344a7;};return a2_0x3bc0();}const fs=require('fs'),path=require(a2_0x2945b8(0x16f)),util=require(a2_0x2945b8(0x1ad)),process=require(a2_0x2945b8(0x1c2)),logger=require(a2_0x2945b8(0x1eb))[a2_0x2945b8(0x1ae)],{default:BrowserStackSetup}=require(a2_0x2945b8(0x1c9)),helper=require(a2_0x2945b8(0x1ba)),utilities=require('../../helpers/utilities'),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities}=require(a2_0x2945b8(0x1cc)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require('../../helpers/helper'),CodeceptJS=requireModule(a2_0x2945b8(0x18b),a2_0x2945b8(0x1a4)),testOpsHelper=require(a2_0x2945b8(0x1e7)),TestHubHandler=require(a2_0x2945b8(0x17a)),constants=require(a2_0x2945b8(0x1d6)),PerformanceTester=require(a2_0x2945b8(0x1f7)),PerformanceEvents=require(a2_0x2945b8(0x1fb))[a2_0x2945b8(0x1bb)],_testErrorData=[],getUserCodeceptJSConfigs=(_0x4212d6,_0x215186)=>{const _0x49f7c5=a2_0x2945b8,_0x3f6a72={};_0x3f6a72[_0x49f7c5(0x1ed)]=function(_0x366783,_0xc0d49f){return _0x366783===_0xc0d49f;},_0x3f6a72[_0x49f7c5(0x19e)]=_0x49f7c5(0x204),_0x3f6a72[_0x49f7c5(0x1aa)]=_0x49f7c5(0x1c7);const _0x33feb0=_0x3f6a72;let _0x5305ed=null;const _0x427137={};let _0x52e99d=_0x215186[_0x49f7c5(0x1a3)](_0x40a4e4=>_0x40a4e4==='--config');_0x33feb0[_0x49f7c5(0x1ed)](_0x52e99d,-0x1)&&(_0x52e99d=_0x215186[_0x49f7c5(0x1a3)](_0x47b2d3=>_0x47b2d3==='-c'));if(!helper[_0x49f7c5(0x1a0)](_0x4212d6['config'])&&fs[_0x49f7c5(0x1f2)](path['join'](process[_0x49f7c5(0x203)](),_0x4212d6[_0x49f7c5(0x180)])))_0x5305ed=path[_0x49f7c5(0x1ee)](process[_0x49f7c5(0x203)](),_0x4212d6[_0x49f7c5(0x180)]),_0x215186[_0x49f7c5(0x1a7)](_0x52e99d,0x2);else{if(!helper[_0x49f7c5(0x1a0)](_0x4212d6['c'])&&fs[_0x49f7c5(0x1f2)](path[_0x49f7c5(0x1ee)](process[_0x49f7c5(0x203)](),_0x4212d6['c'])))_0x5305ed=path[_0x49f7c5(0x1ee)](process[_0x49f7c5(0x203)](),_0x4212d6['c']),_0x215186[_0x49f7c5(0x1a7)](_0x52e99d,0x2);else{if(fs[_0x49f7c5(0x1f2)](path['join'](process[_0x49f7c5(0x203)](),_0x33feb0['xZdzK'])))_0x5305ed=path[_0x49f7c5(0x1ee)](process[_0x49f7c5(0x203)](),_0x33feb0[_0x49f7c5(0x19e)]);else fs['existsSync'](path[_0x49f7c5(0x1ee)](process['cwd'](),_0x33feb0[_0x49f7c5(0x1aa)]))&&(_0x5305ed=path[_0x49f7c5(0x1ee)](process[_0x49f7c5(0x203)](),_0x33feb0['kBmYQ']));}}return process['env'][_0x49f7c5(0x1c3)]=_0x5305ed,_0x5305ed;},getO11yRerunPattern=()=>{const _0x10b58a=a2_0x2945b8,_0x4f1b07=helper['isTrue'](process[_0x10b58a(0x1e6)][_0x10b58a(0x1d0)]);if(_0x4f1b07){const _0x5746eb=process[_0x10b58a(0x1e6)][_0x10b58a(0x171)],_0xdcaa30=[];if(helper['validateRerunTestList'](_0x5746eb)&&!helper[_0x10b58a(0x1a0)](_0x5746eb)){_0x5746eb['split'](',')[_0x10b58a(0x196)](_0x3e3573=>{const _0x56d666=_0x10b58a;_0xdcaa30[_0x56d666(0x192)]('('+_0x3e3573['trim']()+')');});const _0x4b0099='^'+_0xdcaa30[_0x10b58a(0x1ee)]('|')+'$';return _0x4b0099;}}return null;},a2_0x44efd4={};a2_0x44efd4[a2_0x2945b8(0x1a2)]=a2_0x2945b8(0x193),a2_0x44efd4[a2_0x2945b8(0x1e0)]=a2_0x2945b8(0x193),a2_0x44efd4['playwright-firefox']='firefox',a2_0x44efd4[a2_0x2945b8(0x1a6)]='webkit';const pwToCodeceptBrowser=a2_0x44efd4;async function run(_0x6f1088,_0x171e52){const _0x455784=a2_0x2945b8,_0x9f4e63={'QwlhH':function(_0x4d3940,_0xd17f5b){return _0x4d3940+_0xd17f5b;},'ofIQj':function(_0x4cb5a5,_0x231a71){return _0x4cb5a5(_0x231a71);},'BZuWu':function(_0x36fb2c,_0x5a95a6){return _0x36fb2c+_0x5a95a6;},'RCmGo':function(_0x1e296f,_0x49f4b8,_0x220e4a){return _0x1e296f(_0x49f4b8,_0x220e4a);},'QiwUc':_0x455784(0x1fe),'NrOoI':function(_0x2465f8){return _0x2465f8();},'eUDFK':_0x455784(0x174),'otsMJ':_0x455784(0x183),'zzygv':_0x455784(0x18d),'shLNV':_0x455784(0x181),'UbzCo':'codeceptjs','pGwaI':_0x455784(0x173),'RtowM':function(_0x4b06f8,_0x46d914,_0x2a4e51){return _0x4b06f8(_0x46d914,_0x2a4e51);},'qPeHJ':_0x455784(0x1b1),'NkqYI':'WebDriver','IlxVC':function(_0x47e836,_0x52d5ba){return _0x47e836(_0x52d5ba);},'JNWhz':function(_0x2f396f,_0x51d65f){return _0x2f396f!=_0x51d65f;},'lIMye':function(_0x58971c,_0x2de7fc){return _0x58971c===_0x2de7fc;},'lHcMR':function(_0x5cb1d4,_0x213319){return _0x5cb1d4+_0x213319;},'webZz':function(_0x3f8ee8,_0x584146,_0x163a27){return _0x3f8ee8(_0x584146,_0x163a27);},'Qsaxc':'gherkin','sSNeB':_0x455784(0x1a1),'ShrjQ':function(_0x226fa1){return _0x226fa1();},'MnJAl':function(_0x4443c9,_0x10fb04){return _0x4443c9*_0x10fb04;},'fwWjm':function(_0x3cbf05,_0x309cff,_0x53e998){return _0x3cbf05(_0x309cff,_0x53e998);},'pfwKu':_0x455784(0x177),'Wtdbs':_0x455784(0x182),'Bomyb':function(_0x4bba25,_0x4673cc,_0x45c36f){return _0x4bba25(_0x4673cc,_0x45c36f);},'EeIpd':'root','zSMdQ':_0x455784(0x1d7),'NzayC':_0x455784(0x1de),'AoPRZ':function(_0x3f88f8){return _0x3f88f8();}},_0x259df1=new BrowserStackSetup(_0x6f1088,_0x9f4e63[_0x455784(0x19c)]);await _0x259df1['initialize'](),await helper['handleApp'](_0x259df1[_0x455784(0x180)]);if(!_0x259df1[_0x455784(0x180)])return;process[_0x455784(0x1d8)]=_0x6f1088[_0x455784(0x1d8)];_0x6f1088[_0x455784(0x1d8)]&&(process[_0x455784(0x1e6)][_0x455784(0x1d8)]=_0x6f1088['profile']);const _0x3297bc=_0x9f4e63['RCmGo'](getUserCodeceptJSConfigs,_0x6f1088,_0x171e52);let _0x155c58={};_0x3297bc?(logger[_0x455784(0x1d2)](_0x455784(0x1da)+_0x3297bc),_0x155c58=CodeceptJS[_0x455784(0x180)]['load'](_0x3297bc)):logger[_0x455784(0x1d2)](_0x9f4e63[_0x455784(0x1f0)]);let _0x3d9530=![];_0x9f4e63[_0x455784(0x172)](nestedKeyValue,_0x155c58,[_0x9f4e63['QiwUc'],_0x9f4e63['qPeHJ']])&&(_0x3d9530=!![]);const _0x2c7dac=_0x3d9530?_0x9f4e63[_0x455784(0x1d4)]:_0x9f4e63['NkqYI'];let _0x28cd78=!_0x3d9530?helper[_0x455784(0x199)](_0x259df1[_0x455784(0x180)]):![];!helper[_0x455784(0x1a0)](_0x259df1[_0x455784(0x180)][_0x455784(0x1f9)])&&(process[_0x455784(0x1e6)][_0x455784(0x188)]=JSON[_0x455784(0x186)](_0x259df1[_0x455784(0x180)]['accessibilityOptions']));let _0x20de7f=_0x259df1[_0x455784(0x180)][_0x455784(0x17f)];_0x20de7f=_0x20de7f||_0x9f4e63[_0x455784(0x19d)](checkAccessibilityPlatformConfig,_0x259df1['config']),process[_0x455784(0x1e6)][_0x455784(0x1b9)]=_0x20de7f;_0x20de7f&&(_0x28cd78=!_0x20de7f);_0x9f4e63[_0x455784(0x1e8)](_0x259df1['config']['testObservability'],null)?process[_0x455784(0x1e6)][_0x455784(0x1a9)]=_0x259df1[_0x455784(0x180)][_0x455784(0x205)]:process[_0x455784(0x1e6)][_0x455784(0x1a9)]=_0x9f4e63[_0x455784(0x185)](_0x2c7dac,_0x9f4e63[_0x455784(0x1d4)]);const _0x45069f=_0x9f4e63['lHcMR'](_0x9f4e63[_0x455784(0x19c)],_0x9f4e63[_0x455784(0x16e)](nestedKeyValue,_0x155c58,[_0x9f4e63[_0x455784(0x202)]])?_0x9f4e63[_0x455784(0x17c)]:''),_0x34fd87=await TestHubHandler['launchBuild'](_0x45069f,_0x259df1);_0x20de7f&&_0x9f4e63[_0x455784(0x19d)](setAccessibilityCapabilities,_0x259df1[_0x455784(0x180)]);const _0x4f66bd={},_0x597dac=[],_0x5c2b04=_0x259df1[_0x455784(0x180)]['parallelsPerPlatform']||helper[_0x455784(0x200)](_0x6f1088,_0x171e52,_0x259df1[_0x455784(0x180)],constants[_0x455784(0x1b8)][_0x455784(0x1c0)])||0x1;let _0x258004=0x1;if(_0x9f4e63[_0x455784(0x1c4)](isBrowserstackInfra)){const _0x523a68=helper[_0x455784(0x1d9)](_0x259df1[_0x455784(0x180)],_0x28cd78,constants[_0x455784(0x1b8)][_0x455784(0x1c0)]);_0x523a68[_0x455784(0x1d3)](_0x41a891=>{const _0x218db1=_0x455784;helper[_0x218db1(0x1a8)](_0x41a891);}),helper[_0x455784(0x1bc)](_0x259df1[_0x455784(0x180)])?_0x258004=_0x9f4e63[_0x455784(0x18c)](_0x5c2b04,_0x259df1[_0x455784(0x180)][_0x455784(0x206)][_0x455784(0x1e4)]):_0x258004=_0x5c2b04,_0x523a68[_0x455784(0x1d3)](_0x4196fe=>{const _0x590d88=_0x455784,_0x38e83d={'wMoZt':function(_0x2aa219,_0x1cd94c){const _0xd10476=a2_0x40e6;return _0x9f4e63[_0xd10476(0x1f6)](_0x2aa219,_0x1cd94c);},'fyILA':function(_0x9a001c,_0x3b35c5){const _0x154ff6=a2_0x40e6;return _0x9f4e63[_0x154ff6(0x1ab)](_0x9a001c,_0x3b35c5);}},_0x34f8be=_0x9f4e63['BZuWu'](helper[_0x590d88(0x1ef)](_0x4196fe,'_'),'_'+Date[_0x590d88(0x1bd)]()),_0x28b7ad=((()=>{const _0x38c870=_0x590d88;if(_0x3d9530){const _0x3e6c95=pwToCodeceptBrowser[_0x4196fe['browserName']]||_0x4196fe[_0x38c870(0x197)];return{'browser':_0x3e6c95,[_0x3e6c95]:{'browserWSEndpoint':_0x38e83d['wMoZt'](helper[_0x38c870(0x179)](_0x259df1['config']),_0x38e83d[_0x38c870(0x1bf)](encodeURIComponent,JSON[_0x38c870(0x186)](_0x4196fe)))}};}const _0x354329={};return _0x354329[_0x38c870(0x182)]=_0x4196fe,_0x354329;})()),_0x1f1c5a=_0x9f4e63['RCmGo'](nestedKeyValue,_0x155c58,[_0x9f4e63[_0x590d88(0x1e1)],_0x2c7dac]);_0x4f66bd[_0x34f8be]=_0x1f1c5a?helper[_0x590d88(0x1b5)](_0x28b7ad,_0x1f1c5a):_0x28b7ad,!_0x3d9530&&(_0x4f66bd[_0x34f8be][_0x590d88(0x177)]=_0x4196fe[_0x590d88(0x197)]||_0x28b7ad[_0x590d88(0x177)]),_0x597dac['push'](_0x34f8be);});}else{_0x258004=0x1;if(_0x3d9530){const _0x2ce6da=_0x9f4e63[_0x455784(0x1ca)](nestedKeyValue,_0x155c58,[_0x9f4e63[_0x455784(0x1e1)],_0x2c7dac,_0x9f4e63[_0x455784(0x194)]]),_0x2905a4=_0x9f4e63[_0x455784(0x175)](nestedKeyValue,_0x155c58,[_0x9f4e63[_0x455784(0x1e1)],_0x2c7dac,_0x2ce6da]);_0x2905a4&&_0x2905a4[_0x455784(0x1fd)]&&(_0x2905a4['browserWSEndpoint']=helper[_0x455784(0x1d9)](null,null,_0x45069f[_0x455784(0x1f3)](),null,null,_0x2905a4[_0x455784(0x1fd)]));}else _0x155c58[_0x9f4e63[_0x455784(0x1e1)]][_0x2c7dac][_0x9f4e63['Wtdbs']]=helper[_0x455784(0x1d9)](null,null,_0x45069f['toLowerCase'](),_0x9f4e63[_0x455784(0x190)](nestedKeyValue,_0x155c58,[_0x9f4e63['QiwUc'],_0x2c7dac,_0x9f4e63[_0x455784(0x1a5)]]),null,null);_0x4f66bd[_0x9f4e63[_0x455784(0x187)]]=_0x155c58,_0x597dac[_0x455784(0x192)](_0x9f4e63[_0x455784(0x187)]);}const _0x2cc98d={};_0x2cc98d[_0x455784(0x18e)]=_0x3297bc;const _0x13db81=_0x2cc98d,_0x27f862=path[_0x455784(0x1ee)](__dirname,_0x9f4e63[_0x455784(0x176)]),_0x119934=process[_0x455784(0x203)]();process[_0x455784(0x1e6)][_0x9f4e63[_0x455784(0x1be)]]=_0x119934,process[_0x455784(0x1f5)](path[_0x455784(0x201)](_0x3297bc));const _0x3e93b4=new CodeceptJS[(_0x455784(0x1cf))](null,_0x13db81),_0x397b36=_0x3e93b4[_0x455784(0x1e2)](_0x258004),_0x8c0bc2=testOpsHelper[_0x455784(0x1f1)](),_0x44f683=_0x597dac[_0x455784(0x196)](_0x2f2f9e=>{const _0x1fd450=_0x455784,_0x5a1553={};_0x5a1553['Playwright']=_0x4f66bd[_0x2f2f9e];const _0x487677={};_0x487677[_0x1fd450(0x1b7)]=_0x4f66bd[_0x2f2f9e];const _0x1b1609=_0x3d9530?_0x5a1553:_0x487677,_0x3d4a3e=_0x9f4e63[_0x1fd450(0x1c5)](getO11yRerunPattern),_0x12471f={};_0x12471f[_0x1fd450(0x1fe)]=_0x1b1609;const _0x4d6720={};_0x4d6720[_0x1fd450(0x18a)]=_0x27f862,_0x4d6720[_0x1fd450(0x1f8)]=!![],_0x4d6720['skipSessionName']=_0x259df1['config'][_0x1fd450(0x1fa)][_0x1fd450(0x191)],_0x4d6720['skipSessionStatus']=_0x259df1['config'][_0x1fd450(0x1fa)][_0x1fd450(0x170)],_0x4d6720['testObservability']=_0x8c0bc2,_0x4d6720[_0x1fd450(0x1cd)]=_0x45069f;const _0x42665e={};_0x42665e[_0x1fd450(0x1c8)]=_0x4d6720;const _0xe428ad={};return _0xe428ad[_0x1fd450(0x1e5)]=_0x42665e,helper[_0x1fd450(0x1b5)]({},_0x155c58,_0x9f4e63['NrOoI'](isBrowserstackInfra)?_0x12471f:{},_0x3d4a3e?{'grep':_0x3d4a3e}:{},_0xe428ad);});for(const _0x22e01b of _0x44f683){for(const _0x105d13 of _0x397b36){const _0x193017=_0x3e93b4[_0x455784(0x1d5)]();_0x193017[_0x455784(0x1f4)](_0x105d13),_0x193017[_0x455784(0x1dc)](_0x22e01b);}}_0x3e93b4['on'](CodeceptJS[_0x455784(0x1ff)][_0x455784(0x17e)][_0x455784(0x1d1)],(_0x44f932,_0x4ef8a8)=>{const _0x5e4534=_0x455784;console[_0x5e4534(0x1cb)](_0x9f4e63[_0x5e4534(0x17d)],_0x44f932[_0x5e4534(0x1b0)]);const _0x1e747d={[_0x44f932['title']]:_0x44f932[_0x5e4534(0x1c1)]['stack']};_testErrorData[_0x5e4534(0x192)](_0x1e747d);}),_0x3e93b4['on'](CodeceptJS[_0x455784(0x1ff)]['test']['passed'],async _0x3f263f=>{const _0x5864b7=_0x455784;console[_0x5864b7(0x1cb)](_0x9f4e63[_0x5864b7(0x1ac)],_0x3f263f[_0x5864b7(0x1b0)]);}),_0x3e93b4['on'](CodeceptJS['event']['test'][_0x455784(0x19a)],async _0x347746=>{const _0x48737b=_0x455784;console[_0x48737b(0x1cb)](_0x9f4e63['zzygv'],_0x347746[_0x48737b(0x1b0)]);}),_0x3e93b4['on'](CodeceptJS[_0x455784(0x1ff)][_0x455784(0x17b)][_0x455784(0x1b4)],async()=>{const _0x2817f1=_0x455784,_0x112e54=_0x9f4e63[_0x2817f1(0x184)]['split']('|');let _0x32ceb2=0x0;while(!![]){switch(_0x112e54[_0x32ceb2++]){case'0':PerformanceTester['start'](PerformanceEvents[_0x2817f1(0x1ce)]);continue;case'1':utilities['finalExecution'](_0x259df1);continue;case'2':_0x259df1[_0x2817f1(0x1e9)]=_testErrorData;continue;case'3':try{await TestHubHandler[_0x2817f1(0x178)]();}catch(_0x20d2eb){logger[_0x2817f1(0x1ea)](_0x2817f1(0x19f)+util[_0x2817f1(0x1dd)](_0x20d2eb));}continue;case'4':testOpsHelper[_0x2817f1(0x1af)]();continue;case'5':_0x3e93b4[_0x2817f1(0x1c6)]();continue;}break;}});async function _0x975e92(){const _0x4ccb03=_0x455784;try{await _0x3e93b4[_0x4ccb03(0x189)](),await _0x3e93b4[_0x4ccb03(0x18f)]();}finally{process[_0x4ccb03(0x1f5)](_0x119934),await _0x3e93b4[_0x4ccb03(0x19b)]();}}PerformanceTester['end'](PerformanceEvents[_0x455784(0x1db)]),_0x9f4e63[_0x455784(0x1b2)](_0x975e92);}module[a2_0x2945b8(0x198)]=run;
@@ -1 +1 @@
1
- const a3_0x27849e=a3_0x31fa;function a3_0x31fa(_0x5a48da,_0x2d743d){const _0x1130e6=a3_0x1130();return a3_0x31fa=function(_0x31faa8,_0x153fed){_0x31faa8=_0x31faa8-0xb7;let _0x1a416a=_0x1130e6[_0x31faa8];return _0x1a416a;},a3_0x31fa(_0x5a48da,_0x2d743d);}function a3_0x1130(){const _0xedffe2=['4629410WrbNRV','capabilities','11Fscjel','osVersion','latest','get','828027rhucPJ','browser','accessibilityPlatform','../../helpers/logger','bstack:options','OzJIT','eLYfE','searchParams','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','platform','MOtEb','YqTGd','zeMYj','1291990NrlMMV','config','platformName','27305810UxxAbi','vdnks','includes','RzWzb','winstonLogger','JGBRO','desiredCapabilities','unknown_grid','browserVersion','dXtbg','ajrKE','RPRaO','13564KngQlW','browser_version','getDetails','eOaOd','18yRuHvt','platform_version','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','browserWSEndpoint','bsSessionId','platformVersion','browserstack_executor','vsiEL','XmMQW','921108zyRmCJ','browserName','name','RCPtz','540519mXPxcC','104icfDMr','sessionId','aFLFK','playwright-chromium','woMqD','warn','wKnoj','MtBzF','luDWA','constructor','parse','WebDriver','2SewImc','KwHsY','CKxLv','browserstack_accessibility_automation_script','ojFvF','OGVjm'];a3_0x1130=function(){return _0xedffe2;};return a3_0x1130();}(function(_0x5d52e1,_0x55f177){const _0x5d5a1a=a3_0x31fa,_0x53a466=_0x5d52e1();while(!![]){try{const _0x1bb5a0=parseInt(_0x5d5a1a(0xcd))/0x1*(parseInt(_0x5d5a1a(0xfb))/0x2)+-parseInt(_0x5d5a1a(0xe0))/0x3*(-parseInt(_0x5d5a1a(0xdc))/0x4)+parseInt(_0x5d5a1a(0xba))/0x5+parseInt(_0x5d5a1a(0xea))/0x6+-parseInt(_0x5d5a1a(0xee))/0x7+-parseInt(_0x5d5a1a(0xef))/0x8*(-parseInt(_0x5d5a1a(0xc0))/0x9)+-parseInt(_0x5d5a1a(0xd0))/0xa*(parseInt(_0x5d5a1a(0xbc))/0xb);if(_0x1bb5a0===_0x55f177)break;else _0x53a466['push'](_0x53a466['shift']());}catch(_0x538d14){_0x53a466['push'](_0x53a466['shift']());}}}(a3_0x1130,0xbe6c9));const {isUndefined,nestedKeyValue}=require('../../helpers/helper'),logger=require(a3_0x27849e(0xc3))[a3_0x27849e(0xd4)],PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{getObservabilityLinkedProductName}=require('../../helpers/test-observability/utils'),getOSVersionFromCaps=_0x57dcef=>{const _0x87be43=a3_0x27849e,_0x12324c={};_0x12324c[_0x87be43(0xb8)]=_0x87be43(0xc4),_0x12324c[_0x87be43(0xd9)]=_0x87be43(0xe6),_0x12324c[_0x87be43(0xf3)]=_0x87be43(0xe1),_0x12324c[_0x87be43(0xfc)]=_0x87be43(0xbd),_0x12324c['MOtEb']='os_version';const _0x5b4999=_0x12324c;if(!_0x57dcef)return null;const _0x6c4051=_0x57dcef[_0x5b4999['ojFvF']],_0x55893f=[_0x5b4999[_0x87be43(0xd9)],_0x5b4999[_0x87be43(0xf3)],_0x5b4999[_0x87be43(0xfc)],_0x5b4999[_0x87be43(0xca)]];for(const _0x56f70c of _0x55893f){if(_0x6c4051&&_0x6c4051[_0x56f70c])return _0x6c4051[_0x56f70c];else{if(_0x57dcef[_0x56f70c])return _0x57dcef[_0x56f70c];}}return null;};exports['fetchPlatformDetails']=_0x3f0741=>{const _0x5017e6=a3_0x27849e,_0x1cab37={'MtBzF':_0x5017e6(0xd7),'eLYfE':function(_0x4e86f6,_0x5210e7){return _0x4e86f6===_0x5210e7;},'vsiEL':_0x5017e6(0xfa),'OGVjm':function(_0xb1d563,_0x354f99){return _0xb1d563(_0x354f99);},'JGBRO':function(_0x4e4aee,_0x4de5c0,_0x734fe6){return _0x4e4aee(_0x4de5c0,_0x734fe6);},'ajrKE':_0x5017e6(0xce),'RzWzb':_0x5017e6(0xd6),'DALMA':function(_0x41c279,_0x90e7fb){return _0x41c279===_0x90e7fb;},'yZUjL':'Playwright','SeItx':_0x5017e6(0xc1),'RPRaO':_0x5017e6(0xe4),'CRlVz':'caps','CKxLv':function(_0x2dd8d0,_0x2aca56){return _0x2dd8d0(_0x2aca56);}};if(!_0x3f0741)return null;let _0x5607b2=global['__cloud_provider___']||_0x1cab37[_0x5017e6(0xf6)];if(_0x1cab37[_0x5017e6(0xc6)](_0x3f0741[_0x5017e6(0xf8)][_0x5017e6(0xec)],_0x1cab37[_0x5017e6(0xe8)])){const _0x1ee677=_0x3f0741['browser'];if(!_0x1ee677)return null;const _0x177701=_0x1ee677[_0x5017e6(0xbb)],_0x188e2e=_0x1cab37[_0x5017e6(0xb9)](getOSVersionFromCaps,_0x1cab37[_0x5017e6(0xd5)](nestedKeyValue,_0x3f0741,[_0x1cab37[_0x5017e6(0xda)],_0x1cab37[_0x5017e6(0xd3)]]));return{[_0x5607b2]:{'browser':_0x177701[_0x5017e6(0xeb)],'browser_version':_0x177701['browserVersion'],'capabilities':_0x177701,'platform':_0x177701[_0x5017e6(0xcf)],'platform_version':_0x177701[_0x5017e6(0xe6)]||_0x188e2e,'product':_0x1cab37[_0x5017e6(0xb9)](getObservabilityLinkedProductName,_0x177701),'session_id':_0x1ee677[_0x5017e6(0xf0)]}};}else{if(_0x1cab37['DALMA'](_0x3f0741[_0x5017e6(0xf8)][_0x5017e6(0xec)],_0x1cab37['yZUjL'])){const _0x344c4c=PlaywrightSessionDetails[_0x5017e6(0xde)]();_0x5607b2=_0x344c4c['cloudProvider']||_0x5607b2;const _0x660ec5=_0x1cab37[_0x5017e6(0xd5)](nestedKeyValue,_0x3f0741,[_0x1cab37[_0x5017e6(0xda)],_0x1cab37['SeItx'],_0x1cab37[_0x5017e6(0xdb)]]),_0x2fd1ad=_0x660ec5?JSON[_0x5017e6(0xf9)](new URL(_0x660ec5)[_0x5017e6(0xc7)][_0x5017e6(0xbf)](_0x1cab37['CRlVz'])):{};return{[_0x5607b2]:{'browser':_0x344c4c[_0x5017e6(0xc1)]||_0x2fd1ad[_0x5017e6(0xeb)],'browser_version':_0x344c4c[_0x5017e6(0xdd)]||_0x2fd1ad[_0x5017e6(0xdd)],'capabilities':_0x2fd1ad,'platform':_0x344c4c[_0x5017e6(0xc9)],'platform_version':_0x344c4c[_0x5017e6(0xe1)],'product':_0x1cab37[_0x5017e6(0xfd)](getObservabilityLinkedProductName,_0x2fd1ad),'session_id':_0x344c4c[_0x5017e6(0xe5)]}};}}},exports['processWebDriverConfig']=_0x16df04=>{const _0x3aae7e=a3_0x27849e,_0x497c02={'zeMYj':function(_0x3ea5d2){return _0x3ea5d2();},'YqTGd':function(_0x2dac7c,_0x5cf72e){return _0x2dac7c===_0x5cf72e;},'tXXya':_0x3aae7e(0xbe),'XmMQW':function(_0x8f688f,_0x2ac27f){return _0x8f688f>_0x2ac27f;},'eOaOd':function(_0x5487f9,_0x131ad2){return _0x5487f9(_0x131ad2);},'luDWA':_0x3aae7e(0xc8),'lWUyq':function(_0x33a0ac,_0x38daf4){return _0x33a0ac===_0x38daf4;},'OzJIT':'chrome','aFLFK':function(_0x559de2,_0x17c72f){return _0x559de2===_0x17c72f;},'RCPtz':_0x3aae7e(0xf2),'NwfdO':_0x3aae7e(0xe3),'vdnks':_0x3aae7e(0xe2)};if(_0x497c02[_0x3aae7e(0xcc)](isAccessibilityAutomationSession)){const _0x38c57c=_0x16df04[_0x3aae7e(0xc1)],_0x2a33c3=_0x38c57c[_0x3aae7e(0xbb)];global[_0x3aae7e(0xc2)]=!![],!(_0x497c02[_0x3aae7e(0xcb)](_0x2a33c3['browserVersion'],_0x497c02['tXXya'])||_0x497c02[_0x3aae7e(0xe9)](_0x497c02[_0x3aae7e(0xdf)](parseInt,_0x2a33c3[_0x3aae7e(0xd8)]),0x5e))&&(logger[_0x3aae7e(0xf4)](_0x497c02[_0x3aae7e(0xf7)]),global[_0x3aae7e(0xc2)]=![]),!(_0x497c02['lWUyq'](_0x2a33c3['browserName'],_0x497c02[_0x3aae7e(0xc5)])||_0x497c02[_0x3aae7e(0xf1)](_0x2a33c3['browserName'],_0x497c02[_0x3aae7e(0xed)]))&&(logger['warn'](_0x497c02['NwfdO']),global['accessibilityPlatform']=![]),!_0x497c02[_0x3aae7e(0xdf)](isUndefined,_0x2a33c3['deviceName'])&&(logger[_0x3aae7e(0xf4)](_0x497c02[_0x3aae7e(0xd1)]),global[_0x3aae7e(0xc2)]=![]);}},exports['shouldPatchExecuteScript']=_0x3f5c02=>{const _0x49a1fb=a3_0x27849e,_0x649b37={};_0x649b37['jOkFw']=_0x49a1fb(0xe7),_0x649b37[_0x49a1fb(0xf5)]=_0x49a1fb(0xb7);const _0x59912e=_0x649b37;if(!_0x3f5c02)return![];return!_0x3f5c02['includes'](_0x59912e['jOkFw'])&&!_0x3f5c02[_0x49a1fb(0xd2)](_0x59912e['wKnoj']);};
1
+ function a3_0x199c(){const _0x1f5abf=['vVNZI','ZXqZz','iAVgR','bstack:options','RFpcm','latest','ZgDxo','kYXBo','../../helpers/accessibility-automation/helper','4318776ICBAqf','hUbce','searchParams','WebDriver','desiredCapabilities','platformVersion','platform_version','playwright-chromium','2464926mpPbrY','shouldPatchExecuteScript','Ifbel','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','accessibilityPlatform','osVersion','QdAOX','553030Seglcl','JQzXS','../../helpers/logger','kbMQT','KLyIn','__cloud_provider___','browser_version','platform','jNbYE','ssbpv','browserstack_accessibility_automation_script','browserName','deviceName','WTiqT','platformName','getDetails','3DdzSwg','../../helpers/helper','SRetI','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','1829772LfqGJa','constructor','caps','browserWSEndpoint','sessionId','os_version','config','warn','UcVLj','NxpnS','browserstack_executor','YwREj','browser','qOdOc','310gZJFiS','5571741etavss','parse','cLmwq','capabilities','../../helpers/test-observability/utils','jZwnG','processWebDriverConfig','browserVersion','includes','pqKfm','SgiCX','Playwright','name','VTAaf','cloudProvider','5809072TFsgZF','56346SSyGrp','frEAO','bsSessionId','unknown_grid'];a3_0x199c=function(){return _0x1f5abf;};return a3_0x199c();}function a3_0x4980(_0x254118,_0x4d572c){const _0x199c03=a3_0x199c();return a3_0x4980=function(_0x498042,_0x3c07d8){_0x498042=_0x498042-0x174;let _0x3f6f55=_0x199c03[_0x498042];return _0x3f6f55;},a3_0x4980(_0x254118,_0x4d572c);}const a3_0x1f57ab=a3_0x4980;(function(_0x327f3c,_0x2e1e3d){const _0x40cfe1=a3_0x4980,_0x1dcbbf=_0x327f3c();while(!![]){try{const _0x3a4319=parseInt(_0x40cfe1(0x1b0))/0x1*(parseInt(_0x40cfe1(0x1a0))/0x2)+-parseInt(_0x40cfe1(0x199))/0x3+parseInt(_0x40cfe1(0x1b4))/0x4+parseInt(_0x40cfe1(0x1c2))/0x5*(-parseInt(_0x40cfe1(0x184))/0x6)+parseInt(_0x40cfe1(0x174))/0x7+-parseInt(_0x40cfe1(0x183))/0x8+parseInt(_0x40cfe1(0x191))/0x9;if(_0x3a4319===_0x2e1e3d)break;else _0x1dcbbf['push'](_0x1dcbbf['shift']());}catch(_0x1db56d){_0x1dcbbf['push'](_0x1dcbbf['shift']());}}}(a3_0x199c,0x69a9d));const {isUndefined,nestedKeyValue}=require(a3_0x1f57ab(0x1b1)),logger=require(a3_0x1f57ab(0x1a2))['winstonLogger'],PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{isAccessibilityAutomationSession}=require(a3_0x1f57ab(0x190)),{getObservabilityLinkedProductName}=require(a3_0x1f57ab(0x178)),getOSVersionFromCaps=_0x35f7ad=>{const _0x3dbf94=a3_0x1f57ab,_0x21cfa4={};_0x21cfa4[_0x3dbf94(0x1b2)]=_0x3dbf94(0x18b),_0x21cfa4[_0x3dbf94(0x189)]=_0x3dbf94(0x196),_0x21cfa4['YCdrY']=_0x3dbf94(0x197),_0x21cfa4[_0x3dbf94(0x181)]=_0x3dbf94(0x19e),_0x21cfa4[_0x3dbf94(0x19b)]=_0x3dbf94(0x1b9);const _0x5d9b44=_0x21cfa4;if(!_0x35f7ad)return null;const _0x14f9fe=_0x35f7ad[_0x5d9b44[_0x3dbf94(0x1b2)]],_0x428ef1=[_0x5d9b44['ZXqZz'],_0x5d9b44['YCdrY'],_0x5d9b44[_0x3dbf94(0x181)],_0x5d9b44[_0x3dbf94(0x19b)]];for(const _0x531cf1 of _0x428ef1){if(_0x14f9fe&&_0x14f9fe[_0x531cf1])return _0x14f9fe[_0x531cf1];else{if(_0x35f7ad[_0x531cf1])return _0x35f7ad[_0x531cf1];}}return null;};exports['fetchPlatformDetails']=_0x34676d=>{const _0x4b8405=a3_0x1f57ab,_0xabe51e={'JQzXS':_0x4b8405(0x187),'qOdOc':function(_0x2a9821,_0x472ba3){return _0x2a9821===_0x472ba3;},'jNbYE':_0x4b8405(0x194),'NxpnS':function(_0x13bb7c,_0x4315b4){return _0x13bb7c(_0x4315b4);},'UcVLj':function(_0x4c84dd,_0x2410ac,_0x5084e9){return _0x4c84dd(_0x2410ac,_0x5084e9);},'kYXBo':_0x4b8405(0x1ba),'ssbpv':_0x4b8405(0x195),'jZwnG':function(_0x57371c,_0x127418){return _0x57371c===_0x127418;},'QdAOX':_0x4b8405(0x17f),'CDMdT':'browser','hUbce':_0x4b8405(0x1b7),'vTCTt':_0x4b8405(0x1b6),'ZgDxo':function(_0x4bbef5,_0x2c1b2b){return _0x4bbef5(_0x2c1b2b);}};if(!_0x34676d)return null;let _0x345a35=global[_0x4b8405(0x1a5)]||_0xabe51e[_0x4b8405(0x1a1)];if(_0xabe51e[_0x4b8405(0x1c1)](_0x34676d[_0x4b8405(0x1b5)][_0x4b8405(0x180)],_0xabe51e[_0x4b8405(0x1a8)])){const _0x923035=_0x34676d[_0x4b8405(0x1c0)];if(!_0x923035)return null;const _0xdf66fd=_0x923035['capabilities'],_0x46500f=_0xabe51e[_0x4b8405(0x1bd)](getOSVersionFromCaps,_0xabe51e[_0x4b8405(0x1bc)](nestedKeyValue,_0x34676d,[_0xabe51e['kYXBo'],_0xabe51e[_0x4b8405(0x1a9)]]));return{[_0x345a35]:{'browser':_0xdf66fd[_0x4b8405(0x1ab)],'browser_version':_0xdf66fd[_0x4b8405(0x17b)],'capabilities':_0xdf66fd,'platform':_0xdf66fd[_0x4b8405(0x1ae)],'platform_version':_0xdf66fd['platformVersion']||_0x46500f,'product':_0xabe51e[_0x4b8405(0x1bd)](getObservabilityLinkedProductName,_0xdf66fd),'session_id':_0x923035[_0x4b8405(0x1b8)]}};}else{if(_0xabe51e[_0x4b8405(0x179)](_0x34676d[_0x4b8405(0x1b5)][_0x4b8405(0x180)],_0xabe51e[_0x4b8405(0x19f)])){const _0x290d4a=PlaywrightSessionDetails[_0x4b8405(0x1af)]();_0x345a35=_0x290d4a[_0x4b8405(0x182)]||_0x345a35;const _0x283d04=_0xabe51e['UcVLj'](nestedKeyValue,_0x34676d,[_0xabe51e[_0x4b8405(0x18f)],_0xabe51e['CDMdT'],_0xabe51e[_0x4b8405(0x192)]]),_0x17a959=_0x283d04?JSON[_0x4b8405(0x175)](new URL(_0x283d04)[_0x4b8405(0x193)]['get'](_0xabe51e['vTCTt'])):{};return{[_0x345a35]:{'browser':_0x290d4a[_0x4b8405(0x1c0)]||_0x17a959['browserName'],'browser_version':_0x290d4a[_0x4b8405(0x1a6)]||_0x17a959[_0x4b8405(0x1a6)],'capabilities':_0x17a959,'platform':_0x290d4a[_0x4b8405(0x1a7)],'platform_version':_0x290d4a[_0x4b8405(0x197)],'product':_0xabe51e[_0x4b8405(0x18e)](getObservabilityLinkedProductName,_0x17a959),'session_id':_0x290d4a[_0x4b8405(0x186)]}};}}},exports[a3_0x1f57ab(0x17a)]=_0xb705c=>{const _0x4607a2=a3_0x1f57ab,_0x6cf302={'iAVgR':function(_0x1b3068){return _0x1b3068();},'pqKfm':function(_0x5856f2,_0x2f99a6){return _0x5856f2===_0x2f99a6;},'vVNZI':_0x4607a2(0x18d),'kgYNQ':function(_0x5e8253,_0x186039){return _0x5e8253>_0x186039;},'kbMQT':function(_0x4ce2f0,_0x1995a1){return _0x4ce2f0(_0x1995a1);},'RFpcm':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','HAQCx':function(_0x182327,_0x59409e){return _0x182327===_0x59409e;},'cLmwq':'chrome','YwREj':_0x4607a2(0x198),'WTiqT':_0x4607a2(0x19c),'frEAO':function(_0x47769f,_0x48cdcd){return _0x47769f(_0x48cdcd);},'VuOHo':_0x4607a2(0x1b3)};if(_0x6cf302[_0x4607a2(0x18a)](isAccessibilityAutomationSession)){const _0x50ff93=_0xb705c[_0x4607a2(0x1c0)],_0x563321=_0x50ff93[_0x4607a2(0x177)];global[_0x4607a2(0x19d)]=!![],!(_0x6cf302[_0x4607a2(0x17d)](_0x563321[_0x4607a2(0x17b)],_0x6cf302[_0x4607a2(0x188)])||_0x6cf302['kgYNQ'](_0x6cf302[_0x4607a2(0x1a3)](parseInt,_0x563321[_0x4607a2(0x17b)]),0x5e))&&(logger[_0x4607a2(0x1bb)](_0x6cf302[_0x4607a2(0x18c)]),global[_0x4607a2(0x19d)]=![]),!(_0x6cf302['HAQCx'](_0x563321[_0x4607a2(0x1ab)],_0x6cf302[_0x4607a2(0x176)])||_0x6cf302[_0x4607a2(0x17d)](_0x563321[_0x4607a2(0x1ab)],_0x6cf302[_0x4607a2(0x1bf)]))&&(logger['warn'](_0x6cf302[_0x4607a2(0x1ad)]),global[_0x4607a2(0x19d)]=![]),!_0x6cf302[_0x4607a2(0x185)](isUndefined,_0x563321[_0x4607a2(0x1ac)])&&(logger[_0x4607a2(0x1bb)](_0x6cf302['VuOHo']),global[_0x4607a2(0x19d)]=![]);}},exports[a3_0x1f57ab(0x19a)]=_0x202e07=>{const _0x22c261=a3_0x1f57ab,_0x4a69e={};_0x4a69e[_0x22c261(0x17e)]=_0x22c261(0x1be),_0x4a69e[_0x22c261(0x1a4)]=_0x22c261(0x1aa);const _0x580a83=_0x4a69e;if(!_0x202e07)return![];return!_0x202e07[_0x22c261(0x17c)](_0x580a83[_0x22c261(0x17e)])&&!_0x202e07[_0x22c261(0x17c)](_0x580a83['KLyIn']);};
@@ -1 +1 @@
1
- function a4_0x453e(_0x3289ba,_0x536813){const _0x154c7e=a4_0x154c();return a4_0x453e=function(_0x453eec,_0x1f4170){_0x453eec=_0x453eec-0xa8;let _0x33f682=_0x154c7e[_0x453eec];return _0x33f682;},a4_0x453e(_0x3289ba,_0x536813);}const a4_0x267f91=a4_0x453e;(function(_0x5586fe,_0x66f789){const _0x458738=a4_0x453e,_0x12db0b=_0x5586fe();while(!![]){try{const _0x433a1e=parseInt(_0x458738(0xea))/0x1+-parseInt(_0x458738(0xbd))/0x2+parseInt(_0x458738(0x139))/0x3+-parseInt(_0x458738(0xbc))/0x4+-parseInt(_0x458738(0x199))/0x5*(-parseInt(_0x458738(0x18b))/0x6)+-parseInt(_0x458738(0x188))/0x7*(parseInt(_0x458738(0xd8))/0x8)+-parseInt(_0x458738(0xac))/0x9*(parseInt(_0x458738(0x147))/0xa);if(_0x433a1e===_0x66f789)break;else _0x12db0b['push'](_0x12db0b['shift']());}catch(_0x2b0a17){_0x12db0b['push'](_0x12db0b['shift']());}}}(a4_0x154c,0x7696a));const path=require(a4_0x267f91(0x142)),fs=require('fs'),{v4:uuidv4}=require(a4_0x267f91(0x13d)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x267f91(0x17b)),testOpsHelper=require(a4_0x267f91(0x140)),{getTestEnv}=require(a4_0x267f91(0x11e)),{FRAMEWORKS}=require(a4_0x267f91(0xc6)),logger=require(a4_0x267f91(0x11b))[a4_0x267f91(0x10e)],SessionHandler=require(a4_0x267f91(0x116)),RequestQueueHandler=require(a4_0x267f91(0xf0)),PlaywrightSessionDetails=require(a4_0x267f91(0x17d)),debug=testOpsHelper[a4_0x267f91(0x181)],{processAccessibilityCaps}=require(a4_0x267f91(0xb2)),Constants=require(a4_0x267f91(0x154)),{fetchPlatformDetails}=require('./helper.js'),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x267f91(0x16e)),STATE_PASSED=a4_0x267f91(0x174),STATE_FAILED=a4_0x267f91(0x105),a4_0x2af862={};function a4_0x154c(){const _0x4c5902=['iZPYm','cciCA','kSOog','SXljq','399126OXvxLl','__platformCaps','TestRunFinished','474NMHpxA','groups','resetSkipTestHooks','oYNtp','file','_beforeAll','toString','HOOK_RUN_FINISHED','now','getTime','success','RYTQi','failure','pending','54875aYyWkx','ZRmmS','fsqql','UKHBH','mnEwy','yTAMy','IEtHG','test_run_uuid','hookAnalyticsId','LCVHl','ltCXK','mapTestHooks','connectOverCDP','TQkvB','387npAUJX','ptfJr','dltHp','length','lTUGQ','startedAt','../playwright/accessibility-helper','bddStepFinish','Kmgue','HookRunStarted','RDqkY','toISOString','eFDgc','getHooksForTest','fullTitle','suites','1994396NUTetA','124610maXNXq','pskBO','HOOK_RUN_STARTED','failed\x20to\x20get\x20root\x20parent\x20file\x20','launch','duration','defineProperty','GNLHG','join','../../helpers/test-observability/constants','HORli','xhCuz','naedc','relative','vHiwu','PathHelper','QhJwR','QVIbC','prefixTestPath','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','bddSteps','TestRunStarted','WqaRv','captureEvent','enabled','wOByA','O11yHelper','40QwiglE','sBQfj','getHookType','gOGtx','patchConsoleLogger','yjwHe','accessibilityPlatform','lib','lPRup','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','cwd','toLowerCase','XOqoq','.git','connect','bs:addLog:','forEach','SpXZR','691953xxZFpN','4|0|3|5|2|1','ctx','TEST_RUN_FINISHED','type','xlvwG','../../helpers/test-observability/requestQueueHandler','hook','status','BzvZo','errorsDetailed','LnHqq','apply','err','test_run','prototype','fjPOQ','sTPVf','bind','hLfTE','concat','qZmPJ','_afterEach','then','driver','uploadEventData','hook_run_uuid','failed','constructor','fEmLS','getFailureType','feature','frameworkName','push','bfPtN','mDfEg','winstonLogger','event_type','failure_reason_expanded','uAjEn','CBTSessionCreated','getRootParentFile','setupBrowserDetails','name','../../helpers/test-observability/sessionHandler','wPvSz','lzoHn','XApuH','mYGID','../../helpers/logger','UEvwI','lpFby','../mocha/test-observability/mochaUtils','markedStatus','currentTest','failureData','retryOf','gLdTg','cwWeY','LogCreated','currentHook','HookRunFinished','bWmPW','string','BrowserType','finished_at','IcCpJ','skipped','sbxKt','SfGXV','uoUtD','sdXST','_beforeEach','Not\x20able\x20to\x20import\x20Browser','TEST_RUN_STARTED','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','browserType.js','shutdown','exports','291309igAoIS','statSync','_testEnv','EhDlN','uuid','codeceptjs','dnKes','../../helpers/test-observability/utils','keyword','path','PllMU','Playwright','toUpperCase','find','75430LZRYQH','TDGeT','_afterAll','javascript','finished','STATE_PASSED','liARo','nrdvb','bkehD','gtcTU','test','dImHP','result','../utils/constants','qLbTr','PQZQC','\x20with\x20error\x20:\x20','failure_backtrace','tcYty','LuHbJ','OwDIS','coHgK','JQxhC','integrations','PLAYWRIGHT_HUB_URL','parent','config','hook_type','meta','NEphl','removeAllListeners','yKokM','location_prefix','wsEndpoint','findGitConfig','vBcwu','hook_run','getCBTInfo','getHierarchy','../../helpers/testhub/utils.js','started','title','Failed\x20to\x20parse\x20wsendpoint\x20','client','tBZab','passed','testAnalyticsId','CODECEPT','body','stop','TEST_RUN_SKIPPED','stepAnalyticsId','../../helpers/helper','initializeBddStep','../playwright/sessionDetails','tags','jeCxB','dirname','debug','appendTestItemLog','backtrace'];a4_0x154c=function(){return _0x4c5902;};return a4_0x154c();}a4_0x2af862[a4_0x267f91(0x134)]=a4_0x267f91(0xd2),a4_0x2af862[a4_0x267f91(0xed)]=a4_0x267f91(0x18a),a4_0x2af862[a4_0x267f91(0x179)]='TestRunSkipped',a4_0x2af862[a4_0x267f91(0xbf)]=a4_0x267f91(0xb5),a4_0x2af862[a4_0x267f91(0x192)]=a4_0x267f91(0x127);const TEST_EVENTS=a4_0x2af862,parseEvent=_0x5006f1=>{const _0x2c4bdb=a4_0x267f91,_0x30efa1={};_0x30efa1[_0x2c4bdb(0xe4)]=function(_0x2ea50b,_0x38e344){return _0x2ea50b<_0x38e344;},_0x30efa1[_0x2c4bdb(0x118)]=function(_0x5d897b,_0x26948f){return _0x5d897b===_0x26948f;},_0x30efa1[_0x2c4bdb(0xc7)]=_0x2c4bdb(0x151),_0x30efa1['UKHBH']=function(_0x263916,_0x1ba06e){return _0x263916===_0x1ba06e;},_0x30efa1[_0x2c4bdb(0x19e)]='hook',_0x30efa1['hLfTE']=function(_0x24954e,_0x188910){return _0x24954e===_0x188910;},_0x30efa1[_0x2c4bdb(0x196)]='skipped',_0x30efa1[_0x2c4bdb(0xf5)]=function(_0x266f16,_0x582c41){return _0x266f16===_0x582c41;},_0x30efa1[_0x2c4bdb(0xcb)]=_0x2c4bdb(0x16f),_0x30efa1[_0x2c4bdb(0x173)]=function(_0x40d6c8,_0x11c67c){return _0x40d6c8===_0x11c67c;},_0x30efa1[_0x2c4bdb(0x131)]=_0x2c4bdb(0x14b);const _0x5bd611=_0x30efa1,_0x25e19e=_0x5006f1['match'](/^(.*)Run(.*)$/);if(!_0x25e19e)return null;if(_0x5bd611[_0x2c4bdb(0xe4)](_0x25e19e[_0x2c4bdb(0xaf)],0x3))return null;const _0x109470=_0x25e19e[0x1]['toLowerCase'](),_0x5c8afe=_0x25e19e[0x2][_0x2c4bdb(0xe3)]();return{'test':_0x5bd611[_0x2c4bdb(0x118)](_0x109470,_0x5bd611[_0x2c4bdb(0xc7)]),'hook':_0x5bd611[_0x2c4bdb(0x19c)](_0x109470,_0x5bd611[_0x2c4bdb(0x19e)]),'skipped':_0x5bd611[_0x2c4bdb(0xfd)](_0x5c8afe,_0x5bd611[_0x2c4bdb(0x196)]),'started':_0x5bd611[_0x2c4bdb(0xf5)](_0x5c8afe,_0x5bd611[_0x2c4bdb(0xcb)]),'finished':_0x5bd611[_0x2c4bdb(0x173)](_0x5c8afe,_0x5bd611['sdXST'])};},mockPWBrowserType=_0x54364d=>{const _0x305ae2=a4_0x267f91,_0x271ad8={'gtcTU':function(_0x48c510,_0x1f01c6){return _0x48c510===_0x1f01c6;},'yTwxW':_0x305ae2(0x129),'XApuH':function(_0x4560c0,_0x12ad5d,_0x456ef1){return _0x4560c0(_0x12ad5d,_0x456ef1);},'NEphl':_0x305ae2(0x168),'bkehD':function(_0x4d2823,_0x3c4439){return _0x4d2823(_0x3c4439);},'TQkvB':'browserstack','mDfEg':function(_0x5ca334,_0xd7bf04,_0x43d109){return _0x5ca334(_0xd7bf04,_0x43d109);},'JQxhC':function(_0x17f0fe,_0x43bcf8){return _0x17f0fe(_0x43bcf8);},'IcCpJ':_0x305ae2(0xdf),'uAjEn':_0x305ae2(0x172),'SfGXV':_0x305ae2(0x136),'wOByA':function(_0x439f96,_0x3050c2){return _0x439f96(_0x3050c2);},'PQZQC':_0x305ae2(0x133),'jeCxB':_0x305ae2(0xe6),'ZRmmS':_0x305ae2(0xc1)},_0xaf940e=path[_0x305ae2(0xc5)](_0x271ad8[_0x305ae2(0x12c)],_0x271ad8[_0x305ae2(0x111)],_0x271ad8[_0x305ae2(0x12f)]),_0x3c7df8=_0x271ad8[_0x305ae2(0x14f)](importFileFromPWCore,_0xaf940e);if(!_0x3c7df8){_0x271ad8[_0x305ae2(0xd6)](debug,_0x271ad8[_0x305ae2(0x156)]);return;}const _0x3c5e5a=_0x3c7df8[_0x305ae2(0x12a)],_0x173174=_0x3c5e5a[_0x305ae2(0xf9)];if(_0x173174['obsBrowserTypeMockApplied'])return;const _0x47988b=_0x173174[_0x305ae2(0xe6)];Object[_0x305ae2(0xc3)](_0x173174,_0x271ad8[_0x305ae2(0x17f)],{'get':function(){const _0x8147b5=_0x305ae2,_0x495606={'PStmp':function(_0x3ab22d,_0x1333bd){const _0x18617f=a4_0x453e;return _0x271ad8[_0x18617f(0x150)](_0x3ab22d,_0x1333bd);},'IjfUr':_0x271ad8['yTwxW'],'UEvwI':function(_0x10a79a,_0x4eb91c,_0x317fa4){const _0x3f6680=a4_0x453e;return _0x271ad8[_0x3f6680(0x119)](_0x10a79a,_0x4eb91c,_0x317fa4);},'sbxKt':_0x271ad8[_0x8147b5(0x164)],'DyjEh':function(_0x3f0ce2,_0x27d0f6){const _0x362fbe=_0x8147b5;return _0x271ad8[_0x362fbe(0x14f)](_0x3f0ce2,_0x27d0f6);},'dImHP':_0x271ad8[_0x8147b5(0xab)],'EYyYd':function(_0x1910d6,_0x1ab6ef,_0x8bc3be){const _0x541411=_0x8147b5;return _0x271ad8[_0x541411(0x10d)](_0x1910d6,_0x1ab6ef,_0x8bc3be);},'BzvZo':function(_0x9ae12,_0x24c655){const _0x4ec2a6=_0x8147b5;return _0x271ad8[_0x4ec2a6(0x15d)](_0x9ae12,_0x24c655);}};return async function _0x55e71d(_0x5c2fc4,_0x26d242){const _0x24ae48=_0x8147b5,_0x24ac6d=_0x495606[_0x24ae48(0x11c)](nestedKeyValue,_0x5c2fc4,[_0x495606[_0x24ae48(0x12e)]])||_0x5c2fc4;let _0x45302a=null,_0x3a052f=null;try{[_0x3a052f,_0x45302a]=_0x24ac6d?_0x495606['DyjEh'](parseWSEndpoint,_0x24ac6d):[null,null],global[_0x24ae48(0x189)]=_0x45302a,_0x3a052f['includes'](_0x495606['dImHP'])&&(global['__cloud_provider___']=_0x495606[_0x24ae48(0x152)]);}catch(_0x396458){logger[_0x24ae48(0x181)](_0x24ae48(0x171)+_0x24ac6d+'\x20'+_0x396458);}_0x495606['EYyYd'](processAccessibilityCaps,_0x45302a,_0x3a052f);if(global[_0x24ae48(0xde)]){const _0x16c52b=await _0x173174[_0x24ae48(0xaa)][_0x24ae48(0xf6)](this,[''+Constants[_0x24ae48(0x15f)]+_0x495606[_0x24ae48(0xf3)](encodeURIComponent,JSON['stringify'](_0x45302a))]);return PlaywrightSessionDetails[_0x24ae48(0x114)](_0x16c52b,_0x54364d,_0x24ac6d),_0x16c52b;}return _0x47988b[_0x24ae48(0xf6)](this,arguments)[_0x24ae48(0x101)](_0x14a289=>{const _0x242f34=_0x24ae48;let _0x2c03c1=_0x5c2fc4[_0x242f34(0x168)];return _0x495606['PStmp'](typeof _0x5c2fc4,_0x495606['IjfUr'])&&(_0x2c03c1=_0x5c2fc4),PlaywrightSessionDetails[_0x242f34(0x114)](_0x14a289,_0x54364d,_0x2c03c1),_0x14a289;});};}});const _0x3f7a1b=_0x173174[_0x305ae2(0xc1)];Object['defineProperty'](_0x173174,_0x271ad8[_0x305ae2(0x19a)],{'get':function(){return async function _0x46528d(){return _0x3f7a1b['apply'](this,arguments)['then'](_0x50cf97=>{const _0x441fac=a4_0x453e;return PlaywrightSessionDetails[_0x441fac(0x114)](_0x50cf97,null),_0x50cf97;});};}});};class O11yHelper{[a4_0x267f91(0x120)]=null;[a4_0x267f91(0x126)]=null;[a4_0x267f91(0xd5)]=![];[a4_0x267f91(0x10a)]=![];constructor(_0x325940,_0x251644){const _0xa8a3c2=a4_0x267f91,_0x56d91e={'nrdvb':_0xa8a3c2(0xeb),'WIFmx':function(_0x3de3af,_0x7a9baa){return _0x3de3af===_0x7a9baa;},'QhJwR':_0xa8a3c2(0x144),'coHgK':function(_0x4b3e49,_0x585146){return _0x4b3e49(_0x585146);},'WqaRv':function(_0x4603d0){return _0x4603d0();}},_0xa9b8=_0x56d91e[_0xa8a3c2(0x14e)]['split']('|');let _0x2fc01c=0x0;while(!![]){switch(_0xa9b8[_0x2fc01c++]){case'0':this[_0xa8a3c2(0x10a)]=_0x251644[_0xa8a3c2(0x10a)];continue;case'1':this[_0xa8a3c2(0x102)]&&_0x56d91e['WIFmx'](this[_0xa8a3c2(0x102)][_0xa8a3c2(0x106)][_0xa8a3c2(0x115)],_0x56d91e[_0xa8a3c2(0xcd)])&&_0x56d91e[_0xa8a3c2(0x15c)](mockPWBrowserType,null);continue;case'2':this['_paths']=new testOpsHelper[(_0xa8a3c2(0xcc))]({'cwd':process[_0xa8a3c2(0xe2)]()},this[_0xa8a3c2(0x13b)][_0xa8a3c2(0x167)]);continue;case'3':this[_0xa8a3c2(0x102)]=_0x325940;continue;case'4':this[_0xa8a3c2(0xd5)]=_0x56d91e[_0xa8a3c2(0xd3)](shouldProcessEventForTesthub);continue;case'5':this[_0xa8a3c2(0x13b)]=_0x56d91e[_0xa8a3c2(0xd3)](getTestEnv);continue;}break;}}['start'](){const _0x409584=a4_0x267f91;if(!this[_0x409584(0xd5)])return;testOpsHelper[_0x409584(0xdc)](),process[_0x409584(0x165)](_0x409584(0xe7)+process['pid']),process['on']('bs:addLog:'+process['pid'],this[_0x409584(0x182)][_0x409584(0xfc)](this));}async[a4_0x267f91(0x178)](){const _0x574284=a4_0x267f91;await RequestQueueHandler['getInstance']()[_0x574284(0x137)]();}async[a4_0x267f91(0x182)](_0x447f1e){const _0x174af8=a4_0x267f91,_0xaa72fd={'LCVHl':_0x174af8(0x125),'yKokM':function(_0x354374,_0xea1e3c){return _0x354374(_0xea1e3c);}};try{this['currentHook']&&!this[_0x174af8(0x126)][_0x174af8(0x11f)]&&(_0x447f1e[_0x174af8(0x104)]=this[_0x174af8(0x126)]['hookAnalyticsId']);!_0x447f1e[_0x174af8(0x104)]&&this[_0x174af8(0x120)]&&!this[_0x174af8(0x120)][_0x174af8(0x11f)]&&(_0x447f1e[_0x174af8(0x1a0)]=this['currentTest'][_0x174af8(0x175)]);if(_0x447f1e[_0x174af8(0x104)]||_0x447f1e['test_run_uuid']){const _0x149b0d={};_0x149b0d[_0x174af8(0x10f)]=_0xaa72fd[_0x174af8(0x1a2)],_0x149b0d['logs']=[_0x447f1e],await SessionHandler[_0x174af8(0x103)](_0x149b0d);}}catch(_0x556b52){_0xaa72fd[_0x174af8(0x166)](debug,_0x174af8(0xe1)+_0x556b52);}}async['sendCBTInfo'](_0x18d29f){const _0x5acdb1=a4_0x267f91,_0x538275={'qpFyo':_0x5acdb1(0x112),'gLdTg':function(_0x35f15f,_0x394333){return _0x35f15f(_0x394333);}};if(!this[_0x5acdb1(0xd5)])return;const _0x47a755=this[_0x5acdb1(0x16c)](this['driver']);try{const _0x558dc1={};_0x558dc1[_0x5acdb1(0x13d)]=_0x18d29f,_0x558dc1['integrations']=_0x47a755;const _0x879d58=_0x558dc1,_0x4ff59a={};_0x4ff59a['event_type']=_0x538275['qpFyo'],_0x4ff59a[_0x5acdb1(0xf8)]=_0x879d58,await SessionHandler[_0x5acdb1(0x103)](_0x4ff59a);}catch(_0x1a835b){_0x538275[_0x5acdb1(0x123)](debug,_0x5acdb1(0x135)+_0x1a835b);}}[a4_0x267f91(0x16c)](_0x3e32ae){const _0x964248=a4_0x267f91,_0x156caf={'dltHp':function(_0x6346ed,_0x220786){return _0x6346ed(_0x220786);}};return _0x156caf[_0x964248(0xae)](fetchPlatformDetails,_0x3e32ae);}['resetSkipTestHooks']=_0x314588=>{const _0x509442=a4_0x267f91,_0x3730a4={};_0x3730a4[_0x509442(0xb8)]='_beforeEach',_0x3730a4[_0x509442(0x124)]='_afterEach';const _0x43a0b2=_0x3730a4;if(!_0x314588||!_0x314588['parent'])return;[_0x43a0b2[_0x509442(0xb8)],_0x43a0b2[_0x509442(0x124)]][_0x509442(0xe8)](_0xeb779=>{const _0x5c76ab=_0x509442,_0x261126=_0x314588[_0x5c76ab(0x160)][_0xeb779];_0x261126['forEach'](_0x9f60fe=>{const _0x5aea07=_0x5c76ab;_0x9f60fe[_0x5aea07(0x1a1)]&&(_0x9f60fe[_0x5aea07(0x1a1)]=null);});});};['mapTestHooks'](_0x637701){const _0x1a5429=a4_0x267f91,_0x339c0d={'fEmLS':_0x1a5429(0x13e),'ZqENT':function(_0x4e5ab2){return _0x4e5ab2();},'MDybd':function(_0x97936f,_0xf2cd0){return _0x97936f===_0xf2cd0;},'EhDlN':_0x1a5429(0x100),'mnEwy':function(_0x15aeb6){return _0x15aeb6();},'WZwwC':_0x1a5429(0x190),'oYNtp':'_afterAll','sTPVf':_0x1a5429(0x132)};if(!_0x637701||!_0x637701[_0x1a5429(0x160)])return;[_0x339c0d['WZwwC'],_0x339c0d[_0x1a5429(0x18e)],_0x339c0d[_0x1a5429(0xfb)],_0x339c0d[_0x1a5429(0x13c)]][_0x1a5429(0xe8)](_0xafdfc7=>{const _0x44c332=_0x1a5429,_0x3d9bba={'xhCuz':_0x339c0d[_0x44c332(0x107)],'dnKes':function(_0xd83ccc){return _0x339c0d['ZqENT'](_0xd83ccc);},'QVIbC':function(_0xf7c45a,_0x2faaf7){return _0x339c0d['MDybd'](_0xf7c45a,_0x2faaf7);},'eYoxe':_0x339c0d[_0x44c332(0x13c)],'Kmgue':function(_0x1e6171){const _0x233805=_0x44c332;return _0x339c0d[_0x233805(0x19d)](_0x1e6171);}},_0x30bf0f=_0x637701[_0x44c332(0x160)][_0xafdfc7]||[];_0x30bf0f[_0x44c332(0xe8)](_0x56ba9d=>{const _0x468d3f=_0x44c332;if(_0x56ba9d[_0x468d3f(0x170)]['includes'](_0x3d9bba[_0x468d3f(0xc8)]))return;if(!_0x56ba9d[_0x468d3f(0x1a1)])_0x56ba9d['hookAnalyticsId']=_0x3d9bba[_0x468d3f(0x13f)](uuidv4);else _0x56ba9d[_0x468d3f(0x11f)]&&_0x3d9bba[_0x468d3f(0xce)](_0xafdfc7,_0x3d9bba['eYoxe'])&&(_0x56ba9d[_0x468d3f(0x1a1)]=_0x3d9bba[_0x468d3f(0xb4)](uuidv4),delete _0x56ba9d[_0x468d3f(0x11f)]);});}),this['mapTestHooks'](_0x637701['parent']);}[a4_0x267f91(0xb9)](_0x22cd7b){const _0x30e5ab=a4_0x267f91,_0x36d8d0={};_0x36d8d0[_0x30e5ab(0xdd)]=_0x30e5ab(0x190),_0x36d8d0[_0x30e5ab(0xc9)]=_0x30e5ab(0x149),_0x36d8d0[_0x30e5ab(0xff)]='_beforeEach',_0x36d8d0[_0x30e5ab(0xef)]='_afterEach';const _0x2db1e4=_0x36d8d0;if(!_0x22cd7b||!_0x22cd7b['parent'])return[];const _0x25c760=[];return[_0x2db1e4['yjwHe'],_0x2db1e4[_0x30e5ab(0xc9)],_0x2db1e4[_0x30e5ab(0xff)],_0x2db1e4[_0x30e5ab(0xef)]]['forEach'](_0x36280f=>{const _0x328da4=_0x22cd7b['parent'][_0x36280f]||[];_0x328da4['forEach'](_0x5aa487=>{const _0x2c2c5c=a4_0x453e;_0x5aa487[_0x2c2c5c(0x1a1)]&&_0x25c760[_0x2c2c5c(0x10b)](_0x5aa487[_0x2c2c5c(0x1a1)]);});}),[][_0x30e5ab(0xfe)](_0x25c760,this[_0x30e5ab(0xb9)](_0x22cd7b[_0x30e5ab(0x160)]));}[a4_0x267f91(0xda)](_0x192b70){const _0x37f54=a4_0x267f91,_0x1cef08=/^"(?<hook>.*)" hook:.*$/,_0x261bc7=_0x192b70['title'],_0x2ed95f=_0x261bc7['match'](_0x1cef08);if(_0x2ed95f&&_0x2ed95f[_0x37f54(0x18c)])return _0x2ed95f[_0x37f54(0x18c)][_0x37f54(0xf1)][_0x37f54(0x145)]()['replace']('\x20','_');return null;}[a4_0x267f91(0x169)](_0x2a5944){const _0x6f2e5b=a4_0x267f91,_0x5be6c3={};_0x5be6c3[_0x6f2e5b(0xdb)]=function(_0x24f0af,_0x41e5f9){return _0x24f0af===_0x41e5f9;},_0x5be6c3['qLbTr']=function(_0x2cc0ab,_0x198645){return _0x2cc0ab===_0x198645;},_0x5be6c3['mYGID']=_0x6f2e5b(0xe5),_0x5be6c3[_0x6f2e5b(0x14d)]=_0x6f2e5b(0x161);const _0x3e10ea=_0x5be6c3,_0x5c5085=path['sep'];if(_0x3e10ea['gOGtx'](_0x2a5944,null)||_0x3e10ea[_0x6f2e5b(0x155)](_0x2a5944,'')||_0x3e10ea['gOGtx'](_0x2a5944,_0x5c5085)||_0x3e10ea[_0x6f2e5b(0x155)](_0x2a5944,path[_0x6f2e5b(0x180)](_0x2a5944)))return null;try{return fs[_0x6f2e5b(0x13a)](path[_0x6f2e5b(0xc5)](_0x2a5944,_0x3e10ea[_0x6f2e5b(0x11a)],_0x3e10ea[_0x6f2e5b(0x14d)])),_0x2a5944;}catch(_0x2fed38){const _0xdf0225=path[_0x6f2e5b(0x180)](_0x2a5944);return this[_0x6f2e5b(0x169)](_0xdf0225);}}['getRootParentFile'](_0x4c7a16){const _0x24c904=a4_0x267f91,_0x221d81={};_0x221d81[_0x24c904(0x159)]=function(_0x4fff76,_0x4d2993){return _0x4fff76>_0x4d2993;};const _0x5c58e3=_0x221d81;if(_0x4c7a16[_0x24c904(0x18f)])return _0x4c7a16['file'];if(_0x4c7a16[_0x24c904(0xec)]){const _0x20c19b=_0x4c7a16['ctx'][_0x24c904(0x120)]?this[_0x24c904(0x113)](_0x4c7a16[_0x24c904(0xec)][_0x24c904(0x120)]):null;if(_0x20c19b)return _0x20c19b;}if(_0x4c7a16[_0x24c904(0x160)]){const _0x396588=this[_0x24c904(0x113)](_0x4c7a16['parent'])||(_0x4c7a16[_0x24c904(0x160)][_0x24c904(0xec)]&&_0x4c7a16[_0x24c904(0x160)][_0x24c904(0xec)][_0x24c904(0x120)]?this['getRootParentFile'](_0x4c7a16[_0x24c904(0x160)][_0x24c904(0xec)][_0x24c904(0x120)]):null);if(_0x396588)return _0x396588;_0x4c7a16[_0x24c904(0x160)]['suites']&&_0x5c58e3[_0x24c904(0x159)](_0x4c7a16[_0x24c904(0x160)]['suites'][_0x24c904(0xaf)],0x0)&&_0x4c7a16[_0x24c904(0x160)][_0x24c904(0xbb)][_0x24c904(0xe8)](_0x5e99c0=>{const _0x439be6=_0x24c904,_0x1a7e54=_0x5e99c0[_0x439be6(0xec)]?this[_0x439be6(0x113)](_0x5e99c0[_0x439be6(0xec)]):null;if(_0x1a7e54)return _0x1a7e54;});}return null;}['getHierarchy'](_0x92493f){const _0x309adb=a4_0x267f91,_0x445f22={};_0x445f22['xWvRp']=function(_0x4a667a,_0x592797){return _0x4a667a!==_0x592797;};const _0x36bceb=_0x445f22,_0x366a98=[];if(_0x92493f&&_0x92493f[_0x309adb(0x160)]){let _0x55cb4e=_0x92493f[_0x309adb(0x160)];while(_0x55cb4e&&_0x36bceb['xWvRp'](_0x55cb4e[_0x309adb(0x170)],'')){_0x366a98[_0x309adb(0x10b)](_0x55cb4e[_0x309adb(0x170)]),_0x55cb4e=_0x55cb4e[_0x309adb(0x160)];}}return _0x366a98;}[a4_0x267f91(0xd4)](_0xafde56,_0x35cc13,_0x496ad8=undefined){const _0x3d45b3=a4_0x267f91,_0x1ffb8e={'sBQfj':function(_0x40af60,_0x451043){return _0x40af60(_0x451043);},'ptfJr':function(_0x2a7b9c){return _0x2a7b9c();},'zUJHd':function(_0x42ea4c){return _0x42ea4c();},'wPvSz':function(_0x3566b3){return _0x3566b3();},'lpFby':'util','ltCXK':_0x3d45b3(0xf7),'uoUtD':function(_0x18595b,_0x362808){return _0x18595b!==_0x362808;},'cciCA':function(_0x26d766,_0x3493e5){return _0x26d766!==_0x3493e5;},'TDGeT':'File\x20path\x20could\x20not\x20be\x20found','RDqkY':_0x3d45b3(0x198),'fsqql':_0x3d45b3(0x105),'bfPtN':_0x3d45b3(0x174),'fjPOQ':'skipped','LuHbJ':_0x3d45b3(0x14a),'NdRaa':function(_0x214012,_0x176041){return _0x214012-_0x176041;},'OwDIS':function(_0x611040,_0x2ee907,_0x3b2631,_0x367c19,_0x1cca40){return _0x611040(_0x2ee907,_0x3b2631,_0x367c19,_0x1cca40);},'cVtZO':_0x3d45b3(0x15e),'rhQFS':_0x3d45b3(0x163),'JLEvT':_0x3d45b3(0x197),'PllMU':_0x3d45b3(0x158),'lTUGQ':_0x3d45b3(0x183),'iZPYm':_0x3d45b3(0x110),'SXljq':'expanded','pskBO':function(_0x5a0083,_0x44f326){return _0x5a0083===_0x44f326;},'GNLHG':_0x3d45b3(0x16b),'kSOog':'test_run'};if(!this[_0x3d45b3(0xd5)])return;try{if(_0x35cc13['fn']&&_0x35cc13['fn']['toString']()['match'](/browserstack internal helper hook/))return;const _0x5aa301=_0x1ffb8e['sBQfj'](parseEvent,_0xafde56);if(!_0x5aa301)return;if(_0x5aa301[_0x3d45b3(0x151)]){this[_0x3d45b3(0x120)]=_0x35cc13,this[_0x3d45b3(0x126)]=null;if(_0x5aa301[_0x3d45b3(0x16f)]||_0x5aa301['skipped']){_0x35cc13[_0x3d45b3(0xb1)]=new Date(),_0x35cc13['markedStatus']=![];if(!_0x35cc13[_0x3d45b3(0x175)])_0x35cc13['testAnalyticsId']=_0x1ffb8e['ptfJr'](uuidv4);else _0x35cc13[_0x3d45b3(0x11f)]&&(!_0x35cc13[_0x3d45b3(0x122)]&&(_0x35cc13['retryOf']=_0x35cc13[_0x3d45b3(0x175)]),_0x35cc13[_0x3d45b3(0x175)]=_0x1ffb8e[_0x3d45b3(0xad)](uuidv4));}}else{if(_0x5aa301[_0x3d45b3(0xf1)]){this[_0x3d45b3(0x126)]=_0x35cc13;if(_0x5aa301[_0x3d45b3(0x16f)]){_0x35cc13['startedAt']=new Date(),_0x35cc13[_0x3d45b3(0x11f)]=![];if(!_0x35cc13['hookAnalyticsId'])_0x35cc13[_0x3d45b3(0x1a1)]=_0x1ffb8e['zUJHd'](uuidv4);else _0x35cc13[_0x3d45b3(0x1a1)]&&_0x35cc13['markedStatus']&&(_0x35cc13[_0x3d45b3(0x1a1)]=_0x1ffb8e[_0x3d45b3(0x117)](uuidv4));}}}if(_0x5aa301[_0x3d45b3(0x14b)]&&_0x35cc13[_0x3d45b3(0x11f)])return;let _0x14bc0a;try{_0x14bc0a=this[_0x3d45b3(0x113)](_0x35cc13);}catch(_0x3b67f8){logger['debug'](_0x3d45b3(0xc0)+_0x3b67f8),_0x14bc0a=null;}const _0x36f9fe=_0x1ffb8e[_0x3d45b3(0xd9)](require,_0x1ffb8e[_0x3d45b3(0x11d)]);let _0x1066ad=[];_0x496ad8&&(_0x1066ad=[_0x496ad8,_0x1ffb8e[_0x3d45b3(0xa8)]]);const _0x50b8a9=_0x1ffb8e[_0x3d45b3(0x130)](_0x35cc13[_0x3d45b3(0xf4)],undefined)?_0x36f9fe['inspect'](_0x35cc13['errorsDetailed'][0x0]):_0x1ffb8e['cciCA'](_0x496ad8,undefined)?_0x496ad8['toString']():undefined,_0x3069d6=_0x14bc0a?this[_0x3d45b3(0x169)](_0x14bc0a):null,_0x2eb170=_0x14bc0a?this['_paths'][_0x3d45b3(0xcf)](this[_0x3d45b3(0x113)](_0x35cc13)):_0x1ffb8e[_0x3d45b3(0x148)];let _0x449a4c=_0x1ffb8e[_0x3d45b3(0xb6)];const _0x321205=!_0x5aa301[_0x3d45b3(0x16f)]?new Date()[_0x3d45b3(0xb7)]():null;if(_0x5aa301[_0x3d45b3(0x14b)])_0x449a4c=_0x496ad8?_0x1ffb8e[_0x3d45b3(0x19b)]:_0x1ffb8e[_0x3d45b3(0x10c)],_0x35cc13[_0x3d45b3(0x11f)]=!![];else _0x5aa301[_0x3d45b3(0x12d)]&&(_0x449a4c=_0x1ffb8e[_0x3d45b3(0xfa)],_0x35cc13[_0x3d45b3(0x11f)]=!![]);const _0x393ffe={'framework':this['frameworkName'],'uuid':_0x35cc13[_0x3d45b3(0x175)]||_0x35cc13['hookAnalyticsId'],'name':_0x35cc13['title'],'body':{'lang':_0x1ffb8e[_0x3d45b3(0x15a)],'code':_0x35cc13[_0x3d45b3(0x177)][_0x3d45b3(0x191)]()},'type':_0x35cc13[_0x3d45b3(0xee)],'scope':_0x35cc13[_0x3d45b3(0xba)](),'scopes':this[_0x3d45b3(0x16d)](_0x35cc13),'file_name':_0x2eb170,'vc_filepath':_0x3069d6?path[_0x3d45b3(0xca)](_0x3069d6,_0x14bc0a):null,'location':_0x2eb170,'result':_0x449a4c,'failure_reason':_0x50b8a9,'duration_in_ms':_0x35cc13['duration']||(_0x5aa301[_0x3d45b3(0x14b)]||_0x5aa301[_0x3d45b3(0x12d)])?_0x1ffb8e['NdRaa'](Date[_0x3d45b3(0x193)](),new Date(_0x35cc13[_0x3d45b3(0xb1)])[_0x3d45b3(0x194)]()):null,'started_at':new Date(_0x35cc13[_0x3d45b3(0xb1)])[_0x3d45b3(0xb7)](),'finished_at':_0x321205,'failure':testOpsHelper[_0x3d45b3(0x121)]['apply'](null,_0x1066ad),'failure_type':!_0x50b8a9?null:testOpsHelper[_0x3d45b3(0x108)](_0x50b8a9),'retry_of':_0x35cc13[_0x3d45b3(0x122)]||null,'tags':_0x35cc13[_0x3d45b3(0x17e)]||[],'customRerunParam':{'rerun_name':_0x35cc13[_0x3d45b3(0xba)]()}};_0x1ffb8e[_0x3d45b3(0x15b)](appendTesthubParams,_0x393ffe,_0xafde56,_0x35cc13,FRAMEWORKS[_0x3d45b3(0x176)]);if(_0x5aa301[_0x3d45b3(0xf1)])[_0x393ffe[_0x3d45b3(0x162)],_0x393ffe[_0x3d45b3(0x115)]]=[this[_0x3d45b3(0xda)](_0x35cc13),_0x35cc13['ctx'][_0x3d45b3(0x151)][_0x3d45b3(0x170)]],_0x5aa301[_0x3d45b3(0x14b)]?_0x1ffb8e[_0x3d45b3(0x185)](_0x393ffe[_0x3d45b3(0x153)],_0x1ffb8e[_0x3d45b3(0x19b)])&&(_0x393ffe[_0x3d45b3(0x153)]=_0x1ffb8e[_0x3d45b3(0x10c)]):_0x393ffe['body']={};else _0x5aa301[_0x3d45b3(0x151)]&&(this[_0x3d45b3(0xa9)](_0x35cc13),_0x5aa301[_0x3d45b3(0x12d)]&&this[_0x3d45b3(0x18d)](_0x35cc13),(_0x5aa301['finished']||_0x5aa301[_0x3d45b3(0x12d)])&&(_0x393ffe['hooks']=this[_0x3d45b3(0xb9)](_0x35cc13)));this[_0x3d45b3(0x102)]&&(_0x5aa301[_0x3d45b3(0x16f)]||_0x5aa301[_0x3d45b3(0x12d)])&&(_0x393ffe[_0x1ffb8e['cVtZO']]=this['getCBTInfo'](this[_0x3d45b3(0x102)]));_0x5aa301[_0x3d45b3(0x151)]&&_0x5aa301[_0x3d45b3(0x14b)]&&_0x35cc13[_0x3d45b3(0xd1)]&&(_0x393ffe[_0x1ffb8e['rhQFS']]={'feature':{'name':_0x35cc13[_0x3d45b3(0x160)][_0x3d45b3(0x109)][_0x3d45b3(0x115)],'path':_0x393ffe['file_name'],'description':_0x35cc13[_0x3d45b3(0x160)]['comment']},'scenario':{'name':_0x35cc13[_0x3d45b3(0x170)]},'steps':_0x35cc13['bddSteps']});const _0x136a40=_0x393ffe[_0x1ffb8e['JLEvT']][0x0];_0x136a40&&(_0x393ffe[_0x1ffb8e[_0x3d45b3(0x143)]]=_0x136a40[_0x1ffb8e['lTUGQ']],_0x393ffe[_0x1ffb8e[_0x3d45b3(0x184)]]=_0x136a40[_0x1ffb8e[_0x3d45b3(0x187)]]);if(_0x35cc13[_0x3d45b3(0xd1)])for(const _0x365693 of _0x35cc13['bddSteps']){!_0x365693[_0x3d45b3(0x12b)]&&(_0x365693[_0x3d45b3(0x12b)]=new Date()[_0x3d45b3(0xb7)](),_0x1ffb8e[_0x3d45b3(0xbe)](_0x365693['result'],_0x1ffb8e[_0x3d45b3(0xb6)])&&(_0x136a40?(_0x365693['result']=_0x1ffb8e[_0x3d45b3(0x19b)],_0x365693['failure']=_0x136a40[_0x1ffb8e[_0x3d45b3(0xb0)]][0x0]):_0x365693[_0x3d45b3(0x153)]=_0x1ffb8e[_0x3d45b3(0x10c)]));}const _0x138c3d={};_0x138c3d[_0x3d45b3(0x10f)]=_0x5aa301[_0x3d45b3(0x12d)]?TEST_EVENTS['TEST_RUN_FINISHED']:_0xafde56;const _0x310576=_0x138c3d;return _0x5aa301[_0x3d45b3(0xf1)]?_0x310576[_0x1ffb8e[_0x3d45b3(0xc4)]]=_0x393ffe:_0x310576[_0x1ffb8e[_0x3d45b3(0x186)]]=_0x393ffe,_0x310576;}catch(_0x371cb2){logger['debug'](_0x3d45b3(0xd0)+_0xafde56+_0x3d45b3(0x157)+_0x371cb2);}}async['fireEvent'](_0x342304,_0xf47d82){const _0x2b8d65=a4_0x267f91;if(!this['enabled']||!_0xf47d82||!_0x342304)return![];try{return await SessionHandler[_0x2b8d65(0x103)](_0xf47d82);}catch(_0x1fb251){logger[_0x2b8d65(0x181)]('Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20'+_0x342304+_0x2b8d65(0x157)+_0x1fb251);}}[a4_0x267f91(0x17c)](_0x4acd2f){const _0x75f587=a4_0x267f91,_0x208dac={};_0x208dac[_0x75f587(0xe9)]=_0x75f587(0x198);const _0x56fc4d=_0x208dac;return{'id':_0x4acd2f['stepAnalyticsId'],'text':_0x4acd2f['text'],'keyword':_0x4acd2f[_0x75f587(0x141)],'started_at':_0x4acd2f[_0x75f587(0xb1)][_0x75f587(0xb7)](),'result':_0x56fc4d['SpXZR']};}['bddStepStart'](_0x3d8447){const _0x258293=a4_0x267f91,_0x38f5c9={'lPRup':function(_0x576caa){return _0x576caa();}};!this[_0x258293(0x120)][_0x258293(0xd1)]&&(this[_0x258293(0x120)][_0x258293(0xd1)]=[]),!_0x3d8447['stepAnalyticsId']&&(_0x3d8447[_0x258293(0x17a)]=_0x38f5c9[_0x258293(0xe0)](uuidv4),_0x3d8447[_0x258293(0xb1)]=new Date(),this[_0x258293(0x120)][_0x258293(0xd1)][_0x258293(0x10b)](this[_0x258293(0x17c)](_0x3d8447)));}[a4_0x267f91(0xb3)](_0x53d6ac){const _0x4a27e6=a4_0x267f91,_0x58e8b8={'bWmPW':function(_0xfcc4a4,_0xda95c7){return _0xfcc4a4(_0xda95c7);},'vBcwu':_0x4a27e6(0x195),'IEtHG':_0x4a27e6(0x198),'FnluZ':_0x4a27e6(0x174),'fObif':function(_0x3a7ba1,_0x3bde17){return _0x3a7ba1-_0x3bde17;}};let _0x2c1ee6=this['currentTest']['bddSteps'][_0x4a27e6(0x146)](_0x16a8c5=>_0x16a8c5['id']===_0x53d6ac[_0x4a27e6(0x17a)]);_0x58e8b8[_0x4a27e6(0x128)](isUndefined,_0x2c1ee6)&&(_0x2c1ee6=this[_0x4a27e6(0x17c)](_0x53d6ac)),_0x2c1ee6['result']=[_0x58e8b8[_0x4a27e6(0x16a)],_0x58e8b8[_0x4a27e6(0x19f)]]['includes'](_0x53d6ac[_0x4a27e6(0xf2)])?_0x58e8b8['FnluZ']:_0x53d6ac[_0x4a27e6(0xf2)],_0x2c1ee6[_0x4a27e6(0x12b)]=new Date()[_0x4a27e6(0xb7)](),_0x2c1ee6[_0x4a27e6(0xc2)]=_0x58e8b8['fObif'](Date[_0x4a27e6(0x193)](),_0x53d6ac['startedAt'][_0x4a27e6(0x194)]()),_0x2c1ee6[_0x4a27e6(0x197)]=_0x53d6ac[_0x4a27e6(0xf7)]?_0x53d6ac[_0x4a27e6(0xf7)]['message']:null;}}const a4_0x16765c={};a4_0x16765c[a4_0x267f91(0xd7)]=O11yHelper,a4_0x16765c[a4_0x267f91(0x14c)]=STATE_PASSED,a4_0x16765c['STATE_FAILED']=STATE_FAILED,a4_0x16765c['TEST_EVENTS']=TEST_EVENTS,module[a4_0x267f91(0x138)]=a4_0x16765c;
1
+ function a4_0x5a6e(_0x3ba134,_0x443b4c){const _0x8fc95a=a4_0x8fc9();return a4_0x5a6e=function(_0x5a6e7f,_0x372052){_0x5a6e7f=_0x5a6e7f-0xe0;let _0x4c53f9=_0x8fc95a[_0x5a6e7f];return _0x4c53f9;},a4_0x5a6e(_0x3ba134,_0x443b4c);}const a4_0x14be34=a4_0x5a6e;(function(_0x54563a,_0x322af3){const _0x148697=a4_0x5a6e,_0x59482d=_0x54563a();while(!![]){try{const _0x428798=-parseInt(_0x148697(0x1a8))/0x1+-parseInt(_0x148697(0x106))/0x2*(-parseInt(_0x148697(0x136))/0x3)+-parseInt(_0x148697(0x132))/0x4*(parseInt(_0x148697(0x1d2))/0x5)+parseInt(_0x148697(0x1ae))/0x6+parseInt(_0x148697(0x101))/0x7+parseInt(_0x148697(0x131))/0x8+-parseInt(_0x148697(0x152))/0x9*(parseInt(_0x148697(0x10b))/0xa);if(_0x428798===_0x322af3)break;else _0x59482d['push'](_0x59482d['shift']());}catch(_0xf60e63){_0x59482d['push'](_0x59482d['shift']());}}}(a4_0x8fc9,0xd35ee));const path=require(a4_0x14be34(0x103)),fs=require('fs'),{v4:uuidv4}=require(a4_0x14be34(0x16d)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x14be34(0x1a1)),testOpsHelper=require(a4_0x14be34(0x12c)),{getTestEnv}=require(a4_0x14be34(0x135)),{FRAMEWORKS}=require(a4_0x14be34(0x1bf)),logger=require(a4_0x14be34(0x1d4))['winstonLogger'],SessionHandler=require(a4_0x14be34(0x16f)),RequestQueueHandler=require(a4_0x14be34(0xf5)),PlaywrightSessionDetails=require('../playwright/sessionDetails'),debug=testOpsHelper['debug'],{processAccessibilityCaps}=require('../playwright/accessibility-helper'),Constants=require(a4_0x14be34(0x1b5)),{fetchPlatformDetails}=require(a4_0x14be34(0x139)),{shouldProcessEventForTesthub,appendTesthubParams}=require('../../helpers/testhub/utils.js'),STATE_PASSED='passed',STATE_FAILED=a4_0x14be34(0x154),a4_0x469675={};a4_0x469675[a4_0x14be34(0x18e)]=a4_0x14be34(0x126),a4_0x469675['TEST_RUN_FINISHED']='TestRunFinished',a4_0x469675['TEST_RUN_SKIPPED']=a4_0x14be34(0x185),a4_0x469675[a4_0x14be34(0x14c)]='HookRunStarted',a4_0x469675['HOOK_RUN_FINISHED']=a4_0x14be34(0x10c);const TEST_EVENTS=a4_0x469675,parseEvent=_0x2567cc=>{const _0x21db5d=a4_0x14be34,_0x24c15a={};_0x24c15a[_0x21db5d(0x142)]=function(_0x1e3c2a,_0x1b822f){return _0x1e3c2a<_0x1b822f;},_0x24c15a[_0x21db5d(0x1bd)]=function(_0x1b58d5,_0x4c992c){return _0x1b58d5===_0x4c992c;},_0x24c15a[_0x21db5d(0x19d)]=_0x21db5d(0x164),_0x24c15a['KWjCw']=function(_0x3ff23f,_0x294ba2){return _0x3ff23f===_0x294ba2;},_0x24c15a[_0x21db5d(0x110)]=_0x21db5d(0x1d1),_0x24c15a[_0x21db5d(0x14a)]=_0x21db5d(0x1b4),_0x24c15a[_0x21db5d(0x157)]=_0x21db5d(0x13a),_0x24c15a[_0x21db5d(0x107)]=_0x21db5d(0x176);const _0xb8f67b=_0x24c15a,_0x1838ef=_0x2567cc[_0x21db5d(0x1a4)](/^(.*)Run(.*)$/);if(!_0x1838ef)return null;if(_0xb8f67b[_0x21db5d(0x142)](_0x1838ef['length'],0x3))return null;const _0x4cd82b=_0x1838ef[0x1]['toLowerCase'](),_0x32f7c7=_0x1838ef[0x2][_0x21db5d(0xed)]();return{'test':_0xb8f67b['RjFWH'](_0x4cd82b,_0xb8f67b[_0x21db5d(0x19d)]),'hook':_0xb8f67b[_0x21db5d(0x179)](_0x4cd82b,_0xb8f67b[_0x21db5d(0x110)]),'skipped':_0xb8f67b[_0x21db5d(0x1bd)](_0x32f7c7,_0xb8f67b['ttQnt']),'started':_0xb8f67b[_0x21db5d(0x179)](_0x32f7c7,_0xb8f67b[_0x21db5d(0x157)]),'finished':_0xb8f67b[_0x21db5d(0x1bd)](_0x32f7c7,_0xb8f67b[_0x21db5d(0x107)])};},mockPWBrowserType=_0x556e97=>{const _0x4222b9=a4_0x14be34,_0xc0ad98={'PItLX':function(_0x30709a,_0x23ea18){return _0x30709a===_0x23ea18;},'MolRE':_0x4222b9(0x159),'wpvaW':function(_0x182a10,_0x4d0e34,_0x11393a){return _0x182a10(_0x4d0e34,_0x11393a);},'yyfwx':_0x4222b9(0x1ab),'tbBUs':function(_0x1f7541,_0x1bcf5d){return _0x1f7541(_0x1bcf5d);},'rODbe':_0x4222b9(0x1c9),'ZsMur':'lib','MUSOZ':_0x4222b9(0x1af),'KdaFN':_0x4222b9(0xf2),'UKXoZ':function(_0x1dbaac,_0x2e1884){return _0x1dbaac(_0x2e1884);},'RfRfF':_0x4222b9(0x11e),'ZLwFp':_0x4222b9(0xee),'QIfwf':'launch'},_0x54d65d=path[_0x4222b9(0x150)](_0xc0ad98[_0x4222b9(0xe4)],_0xc0ad98[_0x4222b9(0x19b)],_0xc0ad98[_0x4222b9(0x187)]),_0xd44101=_0xc0ad98[_0x4222b9(0x1d9)](importFileFromPWCore,_0x54d65d);if(!_0xd44101){_0xc0ad98[_0x4222b9(0x1ce)](debug,_0xc0ad98[_0x4222b9(0x109)]);return;}const _0x2e123c=_0xd44101[_0x4222b9(0xf7)],_0x15ddb3=_0x2e123c[_0x4222b9(0x197)];if(_0x15ddb3[_0x4222b9(0x10f)])return;const _0x18a031=_0x15ddb3[_0x4222b9(0xee)];Object[_0x4222b9(0x137)](_0x15ddb3,_0xc0ad98['ZLwFp'],{'get':function(){const _0x1d42c8=_0x4222b9,_0x2fa5d1={'IGuFD':function(_0x22ce77,_0x461139){const _0x47ce55=a4_0x5a6e;return _0xc0ad98[_0x47ce55(0x194)](_0x22ce77,_0x461139);},'fxPlR':_0xc0ad98[_0x1d42c8(0x186)],'vlodv':function(_0x105a9e,_0x25456f,_0x130d72){const _0x1af0d4=_0x1d42c8;return _0xc0ad98[_0x1af0d4(0x17a)](_0x105a9e,_0x25456f,_0x130d72);},'iqpWg':_0xc0ad98[_0x1d42c8(0x163)],'cCBEB':function(_0x2b1922,_0x264b87){return _0xc0ad98['tbBUs'](_0x2b1922,_0x264b87);},'AYoxg':_0xc0ad98['rODbe'],'ikZZi':function(_0x693222,_0x2fe8a8,_0xc24a2){return _0xc0ad98['wpvaW'](_0x693222,_0x2fe8a8,_0xc24a2);}};return async function _0x554067(_0x2ef873,_0x118ef5){const _0x52af96=_0x1d42c8,_0x19a6ad={'yZJbC':function(_0x3aaaba,_0x4a6738){const _0x375a37=a4_0x5a6e;return _0x2fa5d1[_0x375a37(0x1c6)](_0x3aaaba,_0x4a6738);},'xnYMh':_0x2fa5d1[_0x52af96(0x121)]},_0x1f8b39=_0x2fa5d1[_0x52af96(0x11d)](nestedKeyValue,_0x2ef873,[_0x2fa5d1[_0x52af96(0xe1)]])||_0x2ef873;let _0x550e6a=null,_0x691345=null;try{[_0x691345,_0x550e6a]=_0x1f8b39?_0x2fa5d1[_0x52af96(0x169)](parseWSEndpoint,_0x1f8b39):[null,null],global[_0x52af96(0x1bb)]=_0x550e6a,_0x691345[_0x52af96(0x147)](_0x2fa5d1[_0x52af96(0x180)])&&(global[_0x52af96(0xfe)]=_0x2fa5d1[_0x52af96(0x180)]);}catch(_0x3150a6){logger[_0x52af96(0x1b6)](_0x52af96(0xf4)+_0x1f8b39+'\x20'+_0x3150a6);}_0x2fa5d1[_0x52af96(0x153)](processAccessibilityCaps,_0x550e6a,_0x691345);if(global[_0x52af96(0x193)]){const _0x2a887e=await _0x15ddb3['connectOverCDP'][_0x52af96(0x1a9)](this,[''+Constants[_0x52af96(0x18c)]+_0x2fa5d1[_0x52af96(0x169)](encodeURIComponent,JSON['stringify'](_0x550e6a))]);return PlaywrightSessionDetails[_0x52af96(0x12b)](_0x2a887e,_0x556e97,_0x1f8b39),_0x2a887e;}return _0x18a031[_0x52af96(0x1a9)](this,arguments)[_0x52af96(0xe8)](_0xc9f4c1=>{const _0x5ad7f4=_0x52af96;let _0x220b5e=_0x2ef873[_0x5ad7f4(0x1ab)];return _0x19a6ad['yZJbC'](typeof _0x2ef873,_0x19a6ad[_0x5ad7f4(0x146)])&&(_0x220b5e=_0x2ef873),PlaywrightSessionDetails[_0x5ad7f4(0x12b)](_0xc9f4c1,_0x556e97,_0x220b5e),_0xc9f4c1;});};}});const _0x252a2d=_0x15ddb3[_0x4222b9(0x148)];Object[_0x4222b9(0x137)](_0x15ddb3,_0xc0ad98[_0x4222b9(0x129)],{'get':function(){return async function _0x55d430(){const _0x57f222=a4_0x5a6e;return _0x252a2d[_0x57f222(0x1a9)](this,arguments)[_0x57f222(0xe8)](_0x51ba26=>{const _0x5d0398=_0x57f222;return PlaywrightSessionDetails[_0x5d0398(0x12b)](_0x51ba26,null),_0x51ba26;});};}});};class O11yHelper{['currentTest']=null;[a4_0x14be34(0x1d5)]=null;[a4_0x14be34(0x196)]=![];['frameworkName']=![];constructor(_0x55e543,_0x37ed60){const _0x40ec47=a4_0x14be34,_0x54d5d4={'gKUGE':_0x40ec47(0xf9),'Udgkn':function(_0xa5e86,_0x57e89a){return _0xa5e86===_0x57e89a;},'DVVQu':'Playwright','dmxWx':function(_0x1dc13b,_0x34a4c3){return _0x1dc13b(_0x34a4c3);},'rDqWm':function(_0x6e3d00){return _0x6e3d00();}},_0x521115=_0x54d5d4[_0x40ec47(0x1cc)][_0x40ec47(0x1a5)]('|');let _0x202c02=0x0;while(!![]){switch(_0x521115[_0x202c02++]){case'0':this[_0x40ec47(0x1c3)]=_0x37ed60[_0x40ec47(0x1c3)];continue;case'1':this[_0x40ec47(0x1d8)]=new testOpsHelper[(_0x40ec47(0x13f))]({'cwd':process[_0x40ec47(0x18a)]()},this['_testEnv'][_0x40ec47(0x19f)]);continue;case'2':this[_0x40ec47(0x12d)]&&_0x54d5d4[_0x40ec47(0x108)](this[_0x40ec47(0x12d)][_0x40ec47(0x149)][_0x40ec47(0xfd)],_0x54d5d4[_0x40ec47(0x158)])&&_0x54d5d4['dmxWx'](mockPWBrowserType,null);continue;case'3':this[_0x40ec47(0x196)]=_0x54d5d4['rDqWm'](shouldProcessEventForTesthub);continue;case'4':this[_0x40ec47(0x199)]=_0x54d5d4[_0x40ec47(0x1d3)](getTestEnv);continue;case'5':this[_0x40ec47(0x12d)]=_0x55e543;continue;}break;}}[a4_0x14be34(0x15c)](){const _0x3c6ab2=a4_0x14be34;if(!this['enabled'])return;testOpsHelper['patchConsoleLogger'](),process[_0x3c6ab2(0x1ca)](_0x3c6ab2(0xfa)+process[_0x3c6ab2(0x181)]),process['on'](_0x3c6ab2(0xfa)+process[_0x3c6ab2(0x181)],this[_0x3c6ab2(0x174)]['bind'](this));}async[a4_0x14be34(0x17b)](){const _0x32092e=a4_0x14be34;await RequestQueueHandler[_0x32092e(0xf1)]()['shutdown']();}async[a4_0x14be34(0x174)](_0x168c96){const _0x37c4c2=a4_0x14be34,_0x538f82={'KLRLn':_0x37c4c2(0x1ba),'sceTL':function(_0x1c6f92,_0x4b8536){return _0x1c6f92(_0x4b8536);}};try{this[_0x37c4c2(0x1d5)]&&!this[_0x37c4c2(0x1d5)][_0x37c4c2(0x19c)]&&(_0x168c96[_0x37c4c2(0x1aa)]=this[_0x37c4c2(0x1d5)]['hookAnalyticsId']);!_0x168c96[_0x37c4c2(0x1aa)]&&this[_0x37c4c2(0x182)]&&!this[_0x37c4c2(0x182)]['markedStatus']&&(_0x168c96[_0x37c4c2(0x15b)]=this[_0x37c4c2(0x182)][_0x37c4c2(0xfc)]);if(_0x168c96[_0x37c4c2(0x1aa)]||_0x168c96[_0x37c4c2(0x15b)]){const _0x448a91={};_0x448a91[_0x37c4c2(0x178)]=_0x538f82['KLRLn'],_0x448a91[_0x37c4c2(0xec)]=[_0x168c96],await SessionHandler[_0x37c4c2(0x160)](_0x448a91);}}catch(_0x504ef8){_0x538f82[_0x37c4c2(0x13c)](debug,_0x37c4c2(0x111)+_0x504ef8);}}async[a4_0x14be34(0x144)](_0x894135){const _0x17744e=a4_0x14be34,_0x2ee212={'nOYHb':_0x17744e(0x1d0),'HyOBv':function(_0x40c1eb,_0x327c4a){return _0x40c1eb(_0x327c4a);}};if(!this[_0x17744e(0x196)])return;const _0x28313b=this['getCBTInfo'](this[_0x17744e(0x12d)]);try{const _0x340796={};_0x340796['uuid']=_0x894135,_0x340796[_0x17744e(0x124)]=_0x28313b;const _0x2e6932=_0x340796,_0x31feb7={};_0x31feb7['event_type']=_0x2ee212[_0x17744e(0x15d)],_0x31feb7[_0x17744e(0x116)]=_0x2e6932,await SessionHandler['uploadEventData'](_0x31feb7);}catch(_0x1d7439){_0x2ee212[_0x17744e(0x1be)](debug,'Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x1d7439);}}[a4_0x14be34(0x1b7)](_0x4a6ec5){const _0x2051dd=a4_0x14be34,_0x963910={'BRnbx':function(_0x101b9f,_0x14c530){return _0x101b9f(_0x14c530);}};return _0x963910[_0x2051dd(0x104)](fetchPlatformDetails,_0x4a6ec5);}['resetSkipTestHooks']=_0x261407=>{const _0x89c8f4=a4_0x14be34,_0x4341a0={};_0x4341a0[_0x89c8f4(0x140)]=_0x89c8f4(0x100),_0x4341a0['yCiIx']=_0x89c8f4(0x172);const _0x7315d=_0x4341a0;if(!_0x261407||!_0x261407[_0x89c8f4(0x1a0)])return;[_0x7315d[_0x89c8f4(0x140)],_0x7315d[_0x89c8f4(0x192)]]['forEach'](_0x345769=>{const _0x3bf2f0=_0x89c8f4,_0x4e50cb=_0x261407[_0x3bf2f0(0x1a0)][_0x345769];_0x4e50cb[_0x3bf2f0(0x1c1)](_0x42d43b=>{const _0x477a36=_0x3bf2f0;_0x42d43b[_0x477a36(0x1a2)]&&(_0x42d43b[_0x477a36(0x1a2)]=null);});});};[a4_0x14be34(0x1c4)](_0x58635b){const _0x48c2d8=a4_0x14be34,_0x39e126={'jGDsX':'codeceptjs','iOyJF':function(_0xd0ab46){return _0xd0ab46();},'rLBfA':function(_0x31d1b7,_0x5f08a8){return _0x31d1b7===_0x5f08a8;},'trakD':_0x48c2d8(0x172),'mouAn':function(_0xa8a73f){return _0xa8a73f();},'fJgpD':_0x48c2d8(0x141),'NNeTS':_0x48c2d8(0x14d),'fdeNX':_0x48c2d8(0x100)};if(!_0x58635b||!_0x58635b[_0x48c2d8(0x1a0)])return;[_0x39e126['fJgpD'],_0x39e126[_0x48c2d8(0xe5)],_0x39e126[_0x48c2d8(0x16e)],_0x39e126[_0x48c2d8(0x189)]][_0x48c2d8(0x1c1)](_0xad1304=>{const _0x24653b=_0x48c2d8,_0x2682d9=_0x58635b[_0x24653b(0x1a0)][_0xad1304]||[];_0x2682d9['forEach'](_0x125381=>{const _0x467fac=_0x24653b;if(_0x125381['title'][_0x467fac(0x147)](_0x39e126[_0x467fac(0x115)]))return;if(!_0x125381[_0x467fac(0x1a2)])_0x125381[_0x467fac(0x1a2)]=_0x39e126[_0x467fac(0x1d7)](uuidv4);else _0x125381[_0x467fac(0x19c)]&&_0x39e126[_0x467fac(0x162)](_0xad1304,_0x39e126['trakD'])&&(_0x125381[_0x467fac(0x1a2)]=_0x39e126[_0x467fac(0x127)](uuidv4),delete _0x125381[_0x467fac(0x19c)]);});}),this['mapTestHooks'](_0x58635b[_0x48c2d8(0x1a0)]);}['getHooksForTest'](_0x2b69ca){const _0x3a3bec=a4_0x14be34,_0x3aa59e={};_0x3aa59e[_0x3a3bec(0x170)]=_0x3a3bec(0x141),_0x3aa59e[_0x3a3bec(0x13d)]=_0x3a3bec(0x14d),_0x3aa59e[_0x3a3bec(0x125)]=_0x3a3bec(0x100),_0x3aa59e[_0x3a3bec(0x177)]=_0x3a3bec(0x172);const _0x44cb46=_0x3aa59e;if(!_0x2b69ca||!_0x2b69ca['parent'])return[];const _0xe9d02=[];return[_0x44cb46[_0x3a3bec(0x170)],_0x44cb46['wIVdh'],_0x44cb46[_0x3a3bec(0x125)],_0x44cb46[_0x3a3bec(0x177)]]['forEach'](_0x36ee4b=>{const _0x402316=_0x3a3bec,_0x5ed31d=_0x2b69ca[_0x402316(0x1a0)][_0x36ee4b]||[];_0x5ed31d[_0x402316(0x1c1)](_0x40abab=>{const _0x155c51=_0x402316;_0x40abab[_0x155c51(0x1a2)]&&_0xe9d02[_0x155c51(0x190)](_0x40abab['hookAnalyticsId']);});}),[]['concat'](_0xe9d02,this[_0x3a3bec(0xe7)](_0x2b69ca[_0x3a3bec(0x1a0)]));}[a4_0x14be34(0xe2)](_0x920f9e){const _0x4470be=a4_0x14be34,_0x5a1050=/^"(?<hook>.*)" hook:.*$/,_0x2b339d=_0x920f9e[_0x4470be(0x17d)],_0x35f757=_0x2b339d[_0x4470be(0x1a4)](_0x5a1050);if(_0x35f757&&_0x35f757[_0x4470be(0x1cf)])return _0x35f757[_0x4470be(0x1cf)]['hook'][_0x4470be(0x1a7)]()['replace']('\x20','_');return null;}['findGitConfig'](_0x2c041d){const _0x4db24f=a4_0x14be34,_0x53ff4f={};_0x53ff4f['lVgwB']=function(_0x4d35d2,_0x1cac62){return _0x4d35d2===_0x1cac62;},_0x53ff4f[_0x4db24f(0x16c)]=function(_0x539e46,_0x35b6d2){return _0x539e46===_0x35b6d2;},_0x53ff4f['iVAEW']=function(_0x13376f,_0x3a9332){return _0x13376f===_0x3a9332;},_0x53ff4f[_0x4db24f(0x1ac)]=_0x4db24f(0x17f),_0x53ff4f[_0x4db24f(0x122)]=_0x4db24f(0x1c2);const _0x2da377=_0x53ff4f,_0x23d31b=path[_0x4db24f(0x102)];if(_0x2da377[_0x4db24f(0xf3)](_0x2c041d,null)||_0x2da377['KtVFS'](_0x2c041d,'')||_0x2da377[_0x4db24f(0x18b)](_0x2c041d,_0x23d31b)||_0x2da377[_0x4db24f(0xf3)](_0x2c041d,path['dirname'](_0x2c041d)))return null;try{return fs[_0x4db24f(0xf8)](path['join'](_0x2c041d,_0x2da377[_0x4db24f(0x1ac)],_0x2da377[_0x4db24f(0x122)])),_0x2c041d;}catch(_0x438193){const _0x30db15=path[_0x4db24f(0x175)](_0x2c041d);return this[_0x4db24f(0x11f)](_0x30db15);}}[a4_0x14be34(0x15a)](_0x4f858f){const _0x407694=a4_0x14be34,_0x26c72e={};_0x26c72e[_0x407694(0x18f)]=function(_0x315ed6,_0x1f951a){return _0x315ed6>_0x1f951a;};const _0x5b0c84=_0x26c72e;if(_0x4f858f[_0x407694(0x1bc)])return _0x4f858f['file'];if(_0x4f858f['ctx']){const _0x4592a1=_0x4f858f[_0x407694(0xe0)]['currentTest']?this[_0x407694(0x15a)](_0x4f858f['ctx'][_0x407694(0x182)]):null;if(_0x4592a1)return _0x4592a1;}if(_0x4f858f[_0x407694(0x1a0)]){const _0xd0a73c=this['getRootParentFile'](_0x4f858f['parent'])||(_0x4f858f[_0x407694(0x1a0)][_0x407694(0xe0)]&&_0x4f858f[_0x407694(0x1a0)][_0x407694(0xe0)][_0x407694(0x182)]?this['getRootParentFile'](_0x4f858f[_0x407694(0x1a0)][_0x407694(0xe0)][_0x407694(0x182)]):null);if(_0xd0a73c)return _0xd0a73c;_0x4f858f[_0x407694(0x1a0)][_0x407694(0x12f)]&&_0x5b0c84[_0x407694(0x18f)](_0x4f858f['parent'][_0x407694(0x12f)][_0x407694(0x114)],0x0)&&_0x4f858f[_0x407694(0x1a0)][_0x407694(0x12f)]['forEach'](_0x27d6e1=>{const _0x3126ca=_0x407694,_0x2fc88c=_0x27d6e1[_0x3126ca(0xe0)]?this[_0x3126ca(0x15a)](_0x27d6e1[_0x3126ca(0xe0)]):null;if(_0x2fc88c)return _0x2fc88c;});}return null;}[a4_0x14be34(0x1b2)](_0x40122c){const _0x155855=a4_0x14be34,_0x2de993={};_0x2de993['GdJqG']=function(_0x2173e3,_0x421ece){return _0x2173e3!==_0x421ece;};const _0x2531d3=_0x2de993,_0x1ec5dd=[];if(_0x40122c&&_0x40122c[_0x155855(0x1a0)]){let _0x3371a7=_0x40122c[_0x155855(0x1a0)];while(_0x3371a7&&_0x2531d3[_0x155855(0x184)](_0x3371a7[_0x155855(0x17d)],'')){_0x1ec5dd[_0x155855(0x190)](_0x3371a7[_0x155855(0x17d)]),_0x3371a7=_0x3371a7[_0x155855(0x1a0)];}}return _0x1ec5dd;}[a4_0x14be34(0x1cd)](_0x25efc7,_0x4c145d,_0x74340=undefined){const _0x12cf1d=a4_0x14be34,_0xf35d46={'mgRIC':function(_0x2aa0eb,_0x320701){return _0x2aa0eb(_0x320701);},'KHdEY':function(_0x293c7f){return _0x293c7f();},'csMmo':function(_0x5cdb9f){return _0x5cdb9f();},'rofle':function(_0x577b60,_0x45e5c9){return _0x577b60(_0x45e5c9);},'yEFZI':_0x12cf1d(0x134),'vqEtx':'err','aYQRJ':function(_0x4d3f9b,_0x179df8){return _0x4d3f9b!==_0x179df8;},'BYnOR':_0x12cf1d(0x198),'aaNxQ':'pending','GevGR':_0x12cf1d(0x154),'MgNeA':'passed','ShcwL':_0x12cf1d(0x1b4),'Ceezn':_0x12cf1d(0x118),'rOyNj':function(_0x8a2c04,_0x5a9363){return _0x8a2c04-_0x5a9363;},'rlrml':function(_0x3e14af,_0x1be20e,_0x344548,_0x5a4f25,_0x4f4ec8){return _0x3e14af(_0x1be20e,_0x344548,_0x5a4f25,_0x4f4ec8);},'QRDov':function(_0x2e4934,_0x11d058){return _0x2e4934!==_0x11d058;},'IMGqk':'integrations','bdtAW':_0x12cf1d(0xeb),'AFowU':_0x12cf1d(0xf6),'bhKcJ':'failure_backtrace','KtcyD':_0x12cf1d(0x17e),'aytHb':'failure_reason_expanded','ztJpI':_0x12cf1d(0x12e),'yXvcq':function(_0x10334b,_0x134713){return _0x10334b===_0x134713;},'NgCgG':_0x12cf1d(0xfb),'WQOul':_0x12cf1d(0x116)};if(!this[_0x12cf1d(0x196)])return;try{if(_0x4c145d['fn']&&_0x4c145d['fn'][_0x12cf1d(0x1c5)]()[_0x12cf1d(0x1a4)](/browserstack internal helper hook/))return;const _0x34d87b=_0xf35d46['mgRIC'](parseEvent,_0x25efc7);if(!_0x34d87b)return;if(_0x34d87b[_0x12cf1d(0x164)]){this[_0x12cf1d(0x182)]=_0x4c145d,this[_0x12cf1d(0x1d5)]=null;if(_0x34d87b[_0x12cf1d(0x13a)]||_0x34d87b[_0x12cf1d(0x1b4)]){_0x4c145d[_0x12cf1d(0x119)]=new Date(),_0x4c145d[_0x12cf1d(0x19c)]=![];if(!_0x4c145d[_0x12cf1d(0xfc)])_0x4c145d[_0x12cf1d(0xfc)]=_0xf35d46[_0x12cf1d(0xea)](uuidv4);else _0x4c145d[_0x12cf1d(0x19c)]&&(!_0x4c145d[_0x12cf1d(0x13b)]&&(_0x4c145d[_0x12cf1d(0x13b)]=_0x4c145d[_0x12cf1d(0xfc)]),_0x4c145d[_0x12cf1d(0xfc)]=_0xf35d46[_0x12cf1d(0xef)](uuidv4));}}else{if(_0x34d87b['hook']){this[_0x12cf1d(0x1d5)]=_0x4c145d;if(_0x34d87b[_0x12cf1d(0x13a)]){_0x4c145d['startedAt']=new Date(),_0x4c145d[_0x12cf1d(0x19c)]=![];if(!_0x4c145d[_0x12cf1d(0x1a2)])_0x4c145d[_0x12cf1d(0x1a2)]=_0xf35d46['csMmo'](uuidv4);else _0x4c145d['hookAnalyticsId']&&_0x4c145d[_0x12cf1d(0x19c)]&&(_0x4c145d['hookAnalyticsId']=_0xf35d46[_0x12cf1d(0xef)](uuidv4));}}}if(_0x34d87b[_0x12cf1d(0x176)]&&_0x4c145d[_0x12cf1d(0x19c)])return;let _0x723359;try{_0x723359=this[_0x12cf1d(0x15a)](_0x4c145d);}catch(_0x4487e0){logger[_0x12cf1d(0x1b6)](_0x12cf1d(0x167)+_0x4487e0),_0x723359=null;}const _0x1e0e1b=_0xf35d46[_0x12cf1d(0x165)](require,_0xf35d46[_0x12cf1d(0x195)]);let _0x2835c5=[];_0x74340&&(_0x2835c5=[_0x74340,_0xf35d46[_0x12cf1d(0x113)]]);const _0x4df358=_0xf35d46[_0x12cf1d(0xe9)](_0x4c145d[_0x12cf1d(0xe6)],undefined)?_0x1e0e1b['inspect'](_0x4c145d[_0x12cf1d(0xe6)][0x0]):_0xf35d46[_0x12cf1d(0xe9)](_0x74340,undefined)?_0x74340[_0x12cf1d(0x1c5)]():undefined,_0x139aa3=_0x723359?this[_0x12cf1d(0x11f)](_0x723359):null,_0x92fd6d=_0x723359?this[_0x12cf1d(0x1d8)][_0x12cf1d(0x19a)](this['getRootParentFile'](_0x4c145d)):_0xf35d46[_0x12cf1d(0x1a6)];let _0x408c78=_0xf35d46[_0x12cf1d(0x173)];const _0x51773b=!_0x34d87b[_0x12cf1d(0x13a)]?new Date()['toISOString']():null;if(_0x34d87b[_0x12cf1d(0x176)])_0x408c78=_0x74340?_0xf35d46[_0x12cf1d(0x10d)]:_0xf35d46[_0x12cf1d(0x1c0)],_0x4c145d['markedStatus']=!![];else _0x34d87b[_0x12cf1d(0x1b4)]&&(_0x408c78=_0xf35d46[_0x12cf1d(0x10a)],_0x4c145d['markedStatus']=!![]);const _0x23e0d5={'framework':this[_0x12cf1d(0x1c3)],'uuid':_0x4c145d[_0x12cf1d(0xfc)]||_0x4c145d[_0x12cf1d(0x1a2)],'name':_0x4c145d[_0x12cf1d(0x17d)],'body':{'lang':_0xf35d46[_0x12cf1d(0x1c7)],'code':_0x4c145d[_0x12cf1d(0x120)][_0x12cf1d(0x1c5)]()},'type':_0x4c145d[_0x12cf1d(0x16a)],'scope':_0x4c145d['fullTitle'](),'scopes':this[_0x12cf1d(0x1b2)](_0x4c145d),'file_name':_0x92fd6d,'vc_filepath':_0x139aa3?path[_0x12cf1d(0x11b)](_0x139aa3,_0x723359):null,'location':_0x92fd6d,'result':_0x408c78,'failure_reason':_0x4df358,'duration_in_ms':_0x4c145d['duration']||(_0x34d87b['finished']||_0x34d87b['skipped'])?_0xf35d46[_0x12cf1d(0x123)](Date[_0x12cf1d(0x156)](),new Date(_0x4c145d[_0x12cf1d(0x119)])[_0x12cf1d(0xff)]()):null,'started_at':new Date(_0x4c145d[_0x12cf1d(0x119)])[_0x12cf1d(0x171)](),'finished_at':_0x51773b,'failure':testOpsHelper['failureData'][_0x12cf1d(0x1a9)](null,_0x2835c5),'failure_type':!_0x4df358?null:testOpsHelper[_0x12cf1d(0xf0)](_0x4df358),'retry_of':_0x4c145d['retryOf']||null,'tags':_0x4c145d[_0x12cf1d(0x1b1)]||[],'customRerunParam':{'rerun_name':_0x4c145d[_0x12cf1d(0x128)]()}};_0xf35d46[_0x12cf1d(0x188)](appendTesthubParams,_0x23e0d5,_0x25efc7,_0x4c145d,FRAMEWORKS['CODECEPT']);if(_0x34d87b[_0x12cf1d(0x1d1)])[_0x23e0d5['hook_type'],_0x23e0d5[_0x12cf1d(0xfd)]]=[this[_0x12cf1d(0xe2)](_0x4c145d),_0x4c145d['ctx'][_0x12cf1d(0x164)][_0x12cf1d(0x17d)]],_0x34d87b['finished']?_0xf35d46[_0x12cf1d(0x133)](_0x23e0d5[_0x12cf1d(0x155)],_0xf35d46[_0x12cf1d(0x10d)])&&(_0x23e0d5['result']=_0xf35d46[_0x12cf1d(0x1c0)]):_0x23e0d5[_0x12cf1d(0x120)]={};else _0x34d87b[_0x12cf1d(0x164)]&&(this[_0x12cf1d(0x1c4)](_0x4c145d),_0x34d87b[_0x12cf1d(0x1b4)]&&this['resetSkipTestHooks'](_0x4c145d),(_0x34d87b['finished']||_0x34d87b[_0x12cf1d(0x1b4)])&&(_0x23e0d5[_0x12cf1d(0xe3)]=this[_0x12cf1d(0xe7)](_0x4c145d)));this[_0x12cf1d(0x12d)]&&(_0x34d87b[_0x12cf1d(0x13a)]||_0x34d87b['skipped'])&&(_0x23e0d5[_0xf35d46[_0x12cf1d(0x166)]]=this[_0x12cf1d(0x1b7)](this['driver']));_0x34d87b[_0x12cf1d(0x164)]&&_0x34d87b[_0x12cf1d(0x176)]&&_0x4c145d[_0x12cf1d(0x13e)]&&(_0x23e0d5[_0xf35d46[_0x12cf1d(0x191)]]={'feature':{'name':_0x4c145d[_0x12cf1d(0x1a0)]['feature'][_0x12cf1d(0xfd)],'path':_0x23e0d5[_0x12cf1d(0x1c8)],'description':_0x4c145d[_0x12cf1d(0x1a0)][_0x12cf1d(0x168)]},'scenario':{'name':_0x4c145d[_0x12cf1d(0x17d)]},'steps':_0x4c145d[_0x12cf1d(0x13e)]});const _0x1c7534=_0x23e0d5[_0xf35d46[_0x12cf1d(0x143)]][0x0];_0x1c7534&&(_0x23e0d5[_0xf35d46['bhKcJ']]=_0x1c7534[_0xf35d46['KtcyD']],_0x23e0d5[_0xf35d46[_0x12cf1d(0x15f)]]=_0x1c7534[_0xf35d46['ztJpI']]);if(_0x4c145d[_0x12cf1d(0x13e)])for(const _0x483cfe of _0x4c145d[_0x12cf1d(0x13e)]){!_0x483cfe[_0x12cf1d(0x161)]&&(_0x483cfe[_0x12cf1d(0x161)]=new Date()[_0x12cf1d(0x171)](),_0xf35d46[_0x12cf1d(0x1ad)](_0x483cfe[_0x12cf1d(0x155)],_0xf35d46[_0x12cf1d(0x173)])&&(_0x1c7534?(_0x483cfe[_0x12cf1d(0x155)]=_0xf35d46['GevGR'],_0x483cfe[_0x12cf1d(0xf6)]=_0x1c7534[_0xf35d46[_0x12cf1d(0x15e)]][0x0]):_0x483cfe[_0x12cf1d(0x155)]=_0xf35d46[_0x12cf1d(0x1c0)]));}const _0x21906b={};_0x21906b[_0x12cf1d(0x178)]=_0x34d87b[_0x12cf1d(0x1b4)]?TEST_EVENTS[_0x12cf1d(0x16b)]:_0x25efc7;const _0x5da077=_0x21906b;return _0x34d87b[_0x12cf1d(0x1d1)]?_0x5da077[_0xf35d46[_0x12cf1d(0x12a)]]=_0x23e0d5:_0x5da077[_0xf35d46['WQOul']]=_0x23e0d5,_0x5da077;}catch(_0x3430f6){logger[_0x12cf1d(0x1b6)]('Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'+_0x25efc7+_0x12cf1d(0x10e)+_0x3430f6);}}async['fireEvent'](_0x4bfbac,_0x3dcaf1){const _0x479c78=a4_0x14be34;if(!this[_0x479c78(0x196)]||!_0x3dcaf1||!_0x4bfbac)return![];try{return await SessionHandler[_0x479c78(0x160)](_0x3dcaf1);}catch(_0x5b926e){logger[_0x479c78(0x1b6)](_0x479c78(0x1b3)+_0x4bfbac+_0x479c78(0x10e)+_0x5b926e);}}[a4_0x14be34(0x1da)](_0x59e167){const _0x20964d=a4_0x14be34,_0x157c00={};_0x157c00[_0x20964d(0x183)]=_0x20964d(0x19e);const _0x588d05=_0x157c00;return{'id':_0x59e167[_0x20964d(0x1a3)],'text':_0x59e167[_0x20964d(0x14f)],'keyword':_0x59e167[_0x20964d(0x105)],'started_at':_0x59e167[_0x20964d(0x119)][_0x20964d(0x171)](),'result':_0x588d05['YrcFS']};}[a4_0x14be34(0x112)](_0x1a9d7c){const _0x12108c=a4_0x14be34,_0x2291be={'FasLo':function(_0x1c38bc){return _0x1c38bc();}};!this[_0x12108c(0x182)][_0x12108c(0x13e)]&&(this[_0x12108c(0x182)][_0x12108c(0x13e)]=[]),!_0x1a9d7c[_0x12108c(0x1a3)]&&(_0x1a9d7c[_0x12108c(0x1a3)]=_0x2291be[_0x12108c(0x1d6)](uuidv4),_0x1a9d7c[_0x12108c(0x119)]=new Date(),this[_0x12108c(0x182)][_0x12108c(0x13e)][_0x12108c(0x190)](this['initializeBddStep'](_0x1a9d7c)));}[a4_0x14be34(0x130)](_0x3e34b5){const _0x5051ef=a4_0x14be34,_0x2bd1d2={'guncX':function(_0x571f6f,_0x2f2dfc){return _0x571f6f(_0x2f2dfc);},'PAeBd':_0x5051ef(0x1b0),'euatx':_0x5051ef(0x19e),'WAqSM':_0x5051ef(0x1cb),'YrMjT':function(_0x3cf4f6,_0x58114e){return _0x3cf4f6-_0x58114e;}};let _0x1901bf=this[_0x5051ef(0x182)][_0x5051ef(0x13e)][_0x5051ef(0x117)](_0x5a7e30=>_0x5a7e30['id']===_0x3e34b5[_0x5051ef(0x1a3)]);_0x2bd1d2['guncX'](isUndefined,_0x1901bf)&&(_0x1901bf=this[_0x5051ef(0x1da)](_0x3e34b5)),_0x1901bf[_0x5051ef(0x155)]=[_0x2bd1d2[_0x5051ef(0x11c)],_0x2bd1d2[_0x5051ef(0x145)]]['includes'](_0x3e34b5[_0x5051ef(0x1b9)])?_0x2bd1d2[_0x5051ef(0x1b8)]:_0x3e34b5[_0x5051ef(0x1b9)],_0x1901bf[_0x5051ef(0x161)]=new Date()['toISOString'](),_0x1901bf['duration']=_0x2bd1d2[_0x5051ef(0x18d)](Date[_0x5051ef(0x156)](),_0x3e34b5[_0x5051ef(0x119)][_0x5051ef(0xff)]()),_0x1901bf[_0x5051ef(0xf6)]=_0x3e34b5[_0x5051ef(0x138)]?_0x3e34b5[_0x5051ef(0x138)][_0x5051ef(0x11a)]:null;}}const a4_0x3dfb51={};a4_0x3dfb51[a4_0x14be34(0x151)]=O11yHelper,a4_0x3dfb51[a4_0x14be34(0x17c)]=STATE_PASSED,a4_0x3dfb51[a4_0x14be34(0x14e)]=STATE_FAILED,a4_0x3dfb51['TEST_EVENTS']=TEST_EVENTS,module[a4_0x14be34(0x14b)]=a4_0x3dfb51;function a4_0x8fc9(){const _0x130113=['driver','expanded','suites','bddStepFinish','9455440VppJPs','12jjEUJF','QRDov','util','../mocha/test-observability/mochaUtils','510AjVDfi','defineProperty','err','./helper.js','started','retryOf','sceTL','wIVdh','bddSteps','PathHelper','pHuTX','_beforeAll','xiOPa','AFowU','sendCBTInfo','euatx','xnYMh','includes','launch','constructor','ttQnt','exports','HOOK_RUN_STARTED','_afterAll','STATE_FAILED','text','join','O11yHelper','10081377fpEhtS','ikZZi','failed','result','now','APDtG','DVVQu','string','getRootParentFile','test_run_uuid','start','nOYHb','KtcyD','aytHb','uploadEventData','finished_at','rLBfA','yyfwx','test','rofle','IMGqk','failed\x20to\x20get\x20root\x20parent\x20file\x20','comment','cCBEB','type','TEST_RUN_FINISHED','KtVFS','uuid','fdeNX','../../helpers/test-observability/sessionHandler','LqSdV','toISOString','_afterEach','aaNxQ','appendTestItemLog','dirname','finished','NZUtL','event_type','KWjCw','wpvaW','stop','STATE_PASSED','title','backtrace','.git','AYoxg','pid','currentTest','YrcFS','GdJqG','TestRunSkipped','MolRE','KdaFN','rlrml','trakD','cwd','iVAEW','PLAYWRIGHT_HUB_URL','YrMjT','TEST_RUN_STARTED','eblBJ','push','bdtAW','yCiIx','accessibilityPlatform','PItLX','yEFZI','enabled','prototype','File\x20path\x20could\x20not\x20be\x20found','_testEnv','prefixTestPath','MUSOZ','markedStatus','dnSlQ','pending','location_prefix','parent','../../helpers/helper','hookAnalyticsId','stepAnalyticsId','match','split','BYnOR','toUpperCase','625866LUNkWe','apply','hook_run_uuid','wsEndpoint','Nvstb','yXvcq','6475386uFhMAn','client','success','tags','getHierarchy','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','skipped','../utils/constants','debug','getCBTInfo','WAqSM','status','LogCreated','__platformCaps','file','RjFWH','HyOBv','../../helpers/test-observability/constants','MgNeA','forEach','config','frameworkName','mapTestHooks','toString','IGuFD','Ceezn','file_name','browserstack','removeAllListeners','passed','gKUGE','captureEvent','UKXoZ','groups','CBTSessionCreated','hook','1540265qWHsce','rDqWm','../../helpers/logger','currentHook','FasLo','iOyJF','_paths','tbBUs','initializeBddStep','ctx','iqpWg','getHookType','hooks','ZsMur','NNeTS','errorsDetailed','getHooksForTest','then','aYQRJ','KHdEY','meta','logs','toLowerCase','connect','csMmo','getFailureType','getInstance','browserType.js','lVgwB','Failed\x20to\x20parse\x20wsendpoint\x20','../../helpers/test-observability/requestQueueHandler','failure','BrowserType','statSync','3|0|5|4|1|2','bs:addLog:','hook_run','testAnalyticsId','name','__cloud_provider___','getTime','_beforeEach','613767ZreeTV','sep','path','BRnbx','keyword','13966KQeQgM','oPegl','Udgkn','RfRfF','ShcwL','10kcoGrN','HookRunFinished','GevGR','\x20with\x20error\x20:\x20','obsBrowserTypeMockApplied','WXrPI','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','bddStepStart','vqEtx','length','jGDsX','test_run','find','javascript','startedAt','message','relative','PAeBd','vlodv','Not\x20able\x20to\x20import\x20Browser','findGitConfig','body','fxPlR','Vtsnr','rOyNj','integrations','nQlcp','TestRunStarted','mouAn','fullTitle','QIfwf','NgCgG','setupBrowserDetails','../../helpers/test-observability/utils'];a4_0x8fc9=function(){return _0x130113;};return a4_0x8fc9();}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a5_0x33c29b=a5_0x104a;(function(_0x75bb12,_0xa353fa){const _0x2f2fe1=a5_0x104a,_0x457237=_0x75bb12();while(!![]){try{const _0x26684b=-parseInt(_0x2f2fe1(0xf0))/0x1+-parseInt(_0x2f2fe1(0xe1))/0x2*(parseInt(_0x2f2fe1(0x140))/0x3)+-parseInt(_0x2f2fe1(0xe0))/0x4+parseInt(_0x2f2fe1(0x107))/0x5*(-parseInt(_0x2f2fe1(0x12f))/0x6)+parseInt(_0x2f2fe1(0x10e))/0x7*(-parseInt(_0x2f2fe1(0x13e))/0x8)+-parseInt(_0x2f2fe1(0xe9))/0x9*(-parseInt(_0x2f2fe1(0x141))/0xa)+parseInt(_0x2f2fe1(0x102))/0xb;if(_0x26684b===_0xa353fa)break;else _0x457237['push'](_0x457237['shift']());}catch(_0xb71bd){_0x457237['push'](_0x457237['shift']());}}}(a5_0xa3f6,0xeb022));function a5_0xa3f6(){const _0x186833=['handleApp','yellow','\x20scenarios','log','stepsPending','rmdirSync','FRAMEWORKS','\x20undefined','\x20failed','getErrorMessageFromResults','accessibilityOptions','56933965NSFIIb','printBuildLink','iZJLg','BROWSERSTACK_TEST_OBSERVABILITY_YML','\x20steps','2824855URislI','logLevel','tmp','VTeLs','../../helpers/helper','start','EcsNt','14XBFTei','scenarios','green','cucumber-js','parallelsPerPlatform','ZHSGE','config','chalk','\x20pending','exports','\x20ambiguous','AFfdR','YCyUR','finally','exitCode','CKHdq','stepsUnknown','parseFormatters','red','util','getUserWorkerCount','stepsSkipped','../../helpers/utilities','testContextOptions','then','forEach','getTCGConfigFilePaths','env','xBosr','join','scenariosFailed','../../helpers/logger','mergeOutputFiles','12CJHyPj','format','removeDir','\x20skipped','length','unlinkSync','cyan','../test-runner','processSuccess','CUCUMBER','cxrhI','finalExecution','launchBuild','skipSessionName','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','6491216kGWYxh','\x20passed','81FEchJp','446210kMgxLz','cwd','../../helpers/performance/constants','LeJUQ','splice','Removing\x20tmp\x20directory\x20created\x20for\x20reports','../../helpers/testhub/testhubHandler','HYvxH','steps','../../helpers/test-observability/utils','jQwAb','push','setUserConfigPath','testObservability','getHubUrl','FRkNC','AIzOe','debug','stepsFailed','prepareCapabilities','SDK_CLEANUP','isUndefined','iBDJP','cucumber','EVENTS','../../helpers/BrowserStackSetup','SDK_SETUP','proxySettings','IXUKv','1922432gcPeRl','100782EBJHil','vKpIr','winstonLogger','initialize','stepsUndefined','wsbbI','true','MsCQo','369KIgnWJ','XDdZi','createDir','twgzg','bold','stop','error\x20removing\x20tcg\x20config\x20file','1448771dYcriq','evHJh','getPlatformName','../../helpers/performance/performance-tester','KnrZa','stepsPassed','useW3C'];a5_0xa3f6=function(){return _0x186833;};return a5_0xa3f6();}function a5_0x104a(_0x1db4d1,_0x5f44fa){const _0xa3f6ee=a5_0xa3f6();return a5_0x104a=function(_0x104ab3,_0x4527b5){_0x104ab3=_0x104ab3-0xdd;let _0x3b9b6e=_0xa3f6ee[_0x104ab3];return _0x3b9b6e;},a5_0x104a(_0x1db4d1,_0x5f44fa);}const fs=require('fs'),path=require('path'),util=require(a5_0x33c29b(0x121)),logger=require(a5_0x33c29b(0x12d))[a5_0x33c29b(0xe3)],{default:BrowserStackSetup}=require(a5_0x33c29b(0x15a)),helper=require(a5_0x33c29b(0x10b)),utilities=require(a5_0x33c29b(0x124)),constants=require('../utils/constants'),{parallelCucumberRun}=require(a5_0x33c29b(0x136)),TestHubHandler=require(a5_0x33c29b(0x147)),testOpsHelper=require(a5_0x33c29b(0x14a)),chalk=require(a5_0x33c29b(0x115)),PerformanceTester=require(a5_0x33c29b(0xf3)),PerformanceEvents=require(a5_0x33c29b(0x143))[a5_0x33c29b(0x159)];function printCucumberStats(_0x25ed18){const _0x5bfb91=a5_0x33c29b,_0x34f773={};_0x34f773['twgzg']=function(_0x492708,_0x4ecc61){return _0x492708>_0x4ecc61;},_0x34f773['iZJLg']=function(_0x4f62c3,_0x4af3b4){return _0x4f62c3-_0x4af3b4;},_0x34f773[_0x5bfb91(0x12a)]=function(_0x2aeef1,_0x461da9){return _0x2aeef1>_0x461da9;},_0x34f773[_0x5bfb91(0x14b)]=function(_0x4e9ab7,_0x4d1f4b){return _0x4e9ab7>_0x4d1f4b;},_0x34f773[_0x5bfb91(0xe6)]=function(_0x5c96aa,_0x1a3e26){return _0x5c96aa>_0x1a3e26;},_0x34f773[_0x5bfb91(0xe2)]=function(_0x5e7ff8,_0x269562){return _0x5e7ff8>_0x269562;},_0x34f773[_0x5bfb91(0xf4)]=function(_0x3b8333,_0x2bfb72){return _0x3b8333+_0x2bfb72;},_0x34f773[_0x5bfb91(0x144)]=function(_0x3f6c01,_0x1275dc){return _0x3f6c01+_0x1275dc;},_0x34f773[_0x5bfb91(0x150)]=function(_0x2e33d4,_0x2198c4){return _0x2e33d4+_0x2198c4;},_0x34f773[_0x5bfb91(0xea)]=function(_0x1dfad3,_0xe5dcb6){return _0x1dfad3+_0xe5dcb6;},_0x34f773['gFHcO']=function(_0x11a9ad,_0x4e72a0){return _0x11a9ad===_0x4e72a0;},_0x34f773[_0x5bfb91(0x148)]=function(_0x507021,_0x322104){return _0x507021===_0x322104;},_0x34f773[_0x5bfb91(0x10d)]='****\x20RESULTS\x20****';const _0x50581a=_0x34f773;let _0x28b527=0x0;if(_0x50581a[_0x5bfb91(0x148)](_0x25ed18[_0x5bfb91(0x133)],0x0))return _0x28b527;return console[_0x5bfb91(0xfa)](chalk[_0x5bfb91(0xed)]['bgWhite'](_0x50581a['EcsNt'])),_0x25ed18[_0x5bfb91(0x127)](_0x4934ae=>{const _0x21ec80=_0x5bfb91,_0xd95567=_0x4934ae[0x0],_0x4c744b=_0x4934ae[0x1];console[_0x21ec80(0xfa)]('\x0a'+chalk[_0x21ec80(0xed)][_0x21ec80(0xf8)](''+helper[_0x21ec80(0xf2)](_0xd95567)));const _0x49c2e5=_0x4c744b[_0x21ec80(0x10f)],_0x135b03=_0x4c744b[_0x21ec80(0x149)],_0x5aa62d=_0x4c744b[_0x21ec80(0x12c)],_0x3759ba=_0x4c744b[_0x21ec80(0x153)],_0x5e2d0b=_0x4c744b[_0x21ec80(0xf5)],_0xdcb5f5=_0x4c744b[_0x21ec80(0x123)],_0x9c80cb=_0x4c744b[_0x21ec80(0xfb)],_0x30f19d=_0x4c744b[_0x21ec80(0xe5)],_0x2ae297=_0x4c744b[_0x21ec80(0x11e)],_0x395a1c=_0x4c744b['stepsAmbiguous'],_0x36d6df=_0x4c744b[_0x21ec80(0x137)];let _0x4832fd=_0x49c2e5+_0x21ec80(0xf9);const _0x1176ad=_0x50581a['twgzg'](_0x50581a[_0x21ec80(0x104)](_0x49c2e5,_0x5aa62d),0x0)?_0x50581a[_0x21ec80(0x104)](_0x49c2e5,_0x5aa62d):0x0;if(_0x50581a[_0x21ec80(0x12a)](_0x5aa62d,0x0)&&_0x50581a[_0x21ec80(0x12a)](_0x1176ad,0x0))_0x4832fd+='\x20('+chalk[_0x21ec80(0xed)][_0x21ec80(0x120)](_0x5aa62d+'\x20failed')+',\x20'+chalk[_0x21ec80(0xed)][_0x21ec80(0x110)](_0x1176ad+'\x20passed')+')';else(_0x50581a[_0x21ec80(0x14b)](_0x5aa62d,0x0)||_0x50581a[_0x21ec80(0x12a)](_0x1176ad,0x0))&&(_0x4832fd+=_0x50581a['jQwAb'](_0x5aa62d,0x0)?'\x20('+chalk['bold']['red'](_0x5aa62d+_0x21ec80(0xff))+')':'\x20('+chalk[_0x21ec80(0xed)][_0x21ec80(0x110)](_0x1176ad+'\x20passed')+')');const _0x45d6c5=_0x135b03+_0x21ec80(0x106),_0x21d895=[];_0x50581a[_0x21ec80(0xec)](_0x395a1c,0x0)&&_0x21d895[_0x21ec80(0x14c)](''+chalk[_0x21ec80(0xed)][_0x21ec80(0x120)](_0x395a1c+_0x21ec80(0x118)));_0x50581a[_0x21ec80(0xe6)](_0x3759ba,0x0)&&_0x21d895['push'](''+chalk[_0x21ec80(0xed)][_0x21ec80(0x120)](_0x3759ba+_0x21ec80(0xff)));_0x50581a[_0x21ec80(0xe6)](_0x5e2d0b,0x0)&&_0x21d895[_0x21ec80(0x14c)](''+chalk[_0x21ec80(0xed)]['green'](_0x5e2d0b+_0x21ec80(0x13f)));_0x50581a[_0x21ec80(0x14b)](_0x9c80cb,0x0)&&_0x21d895[_0x21ec80(0x14c)](''+chalk[_0x21ec80(0xed)][_0x21ec80(0xf8)](_0x9c80cb+_0x21ec80(0x116)));_0x50581a['vKpIr'](_0xdcb5f5,0x0)&&_0x21d895[_0x21ec80(0x14c)](''+chalk[_0x21ec80(0xed)][_0x21ec80(0x135)](_0xdcb5f5+_0x21ec80(0x132)));_0x50581a[_0x21ec80(0x12a)](_0x30f19d,0x0)&&_0x21d895['push'](''+chalk[_0x21ec80(0xed)]['yellow'](_0x30f19d+_0x21ec80(0xfe)));_0x50581a[_0x21ec80(0xe6)](_0x2ae297,0x0)&&_0x21d895[_0x21ec80(0x14c)](''+chalk[_0x21ec80(0xed)]['yellow'](_0x2ae297+_0x21ec80(0x132)));const _0x11d6e5=_0x50581a[_0x21ec80(0xf4)](_0x50581a[_0x21ec80(0xf4)](_0x50581a['LeJUQ'](_0x45d6c5,'('),_0x21d895['join'](',\x20')),')');console[_0x21ec80(0xfa)](_0x50581a[_0x21ec80(0x144)](_0x50581a['LeJUQ'](_0x50581a['FRkNC'](_0x50581a[_0x21ec80(0xea)]('\x0a',_0x4832fd),'\x0a'),_0x11d6e5),'\x0a')),_0x50581a['gFHcO'](_0x36d6df,![])&&(_0x28b527=0x1);}),_0x28b527;}async function run(_0x3180ec,_0x1951dc){const _0x191791=a5_0x33c29b,_0x1664f5={'IXUKv':function(_0x50a2ca,_0x35f950){return _0x50a2ca(_0x35f950);},'YCyUR':function(_0x14a356,_0x3f5c09){return _0x14a356>_0x3f5c09;},'cxrhI':'Generating\x20consolidated\x20report...','AFfdR':_0x191791(0x146),'CKHdq':_0x191791(0x158),'iBDJP':_0x191791(0xef),'evHJh':_0x191791(0x111),'ZHSGE':_0x191791(0x109),'MsCQo':function(_0x2580ef,_0x936013){return _0x2580ef>_0x936013;},'fsfcn':function(_0x3ba59f,_0x22420d){return _0x3ba59f-_0x22420d;},'VTeLs':function(_0x22b70c,_0x43af0f){return _0x22b70c>=_0x43af0f;},'xtcjs':function(_0x48c71d,_0x296fde){return _0x48c71d!=_0x296fde;},'ijrTt':_0x191791(0xe7),'AIzOe':function(_0x2e9c72,_0x201b8a,_0x613e5d,_0x2afa8c,_0x144bbe,_0xbbaf9e){return _0x2e9c72(_0x201b8a,_0x613e5d,_0x2afa8c,_0x144bbe,_0xbbaf9e);}},_0x4fbd9a=new BrowserStackSetup(_0x3180ec,_0x1664f5[_0x191791(0xf1)]);await _0x4fbd9a[_0x191791(0xe4)](),helper[_0x191791(0x14d)](_0x4fbd9a['framework'],_0x3180ec);!helper['isBrowserstackInfra']()&&await _0x4fbd9a['setupTCGAuth']();await helper[_0x191791(0xf7)](_0x4fbd9a[_0x191791(0x114)]);const _0x3df3c2=helper[_0x191791(0xf6)](_0x4fbd9a['config']),_0x131566=helper[_0x191791(0x154)](_0x4fbd9a[_0x191791(0x114)],_0x3df3c2,constants[_0x191791(0xfd)]['CUCUMBER']);if(!_0x4fbd9a[_0x191791(0x114)])return;const _0x250dff=_0x4fbd9a['config'][_0x191791(0x112)]||helper[_0x191791(0x122)](_0x3180ec,_0x1951dc,_0x4fbd9a[_0x191791(0x114)],constants[_0x191791(0xfd)][_0x191791(0x138)])||0x1,_0x2f8aa9={'server':helper[_0x191791(0x14f)](_0x4fbd9a[_0x191791(0x114)]),'proxySettings':_0x4fbd9a[_0x191791(0x114)][_0x191791(0xde)],'maxWorkers':_0x250dff,'browserStackLogLevel':_0x4fbd9a['config'][_0x191791(0x108)],'skipSessionName':_0x4fbd9a[_0x191791(0x114)][_0x191791(0x125)][_0x191791(0x13c)],'skipSessionStatus':_0x4fbd9a['config'][_0x191791(0x125)]['skipSessionStatus'],'turboScaleUrl':_0x4fbd9a[_0x191791(0x114)]['turboScaleUrl']},_0x3bd0c2=process['argv'],[_0x21afef,_0x54e3b4]=helper[_0x191791(0x11f)](_0x3bd0c2),_0x39205=path[_0x191791(0x12b)](process[_0x191791(0x142)](),_0x1664f5[_0x191791(0x113)]);if(_0x1664f5[_0x191791(0xe8)](_0x54e3b4[_0x191791(0x133)],0x0)){helper[_0x191791(0xeb)](_0x39205);for(let _0x5bb4bf=_0x1664f5['fsfcn'](_0x21afef[_0x191791(0x133)],0x1);_0x1664f5[_0x191791(0x10a)](_0x5bb4bf,0x0);_0x5bb4bf--){_0x3bd0c2[_0x191791(0x145)](_0x21afef[_0x5bb4bf],0x2);}}!helper[_0x191791(0x156)](_0x4fbd9a['config'][_0x191791(0x101)])&&(process['env'][_0x191791(0x13d)]=JSON['stringify'](_0x4fbd9a[_0x191791(0x114)]['accessibilityOptions']));_0x1664f5['xtcjs'](_0x4fbd9a[_0x191791(0x114)][_0x191791(0x14e)],null)?process[_0x191791(0x129)][_0x191791(0x105)]=_0x4fbd9a[_0x191791(0x114)][_0x191791(0x14e)]:process[_0x191791(0x129)][_0x191791(0x105)]=_0x1664f5['ijrTt'];const _0x4d6ad5=await TestHubHandler[_0x191791(0x13b)](constants[_0x191791(0xfd)][_0x191791(0x138)],_0x4fbd9a);PerformanceTester['end'](PerformanceEvents[_0x191791(0xdd)]);let _0x2fe470;_0x1664f5[_0x191791(0x151)](parallelCucumberRun,_0x131566,_0x2f8aa9,_0x4fbd9a[_0x191791(0x114)],_0x3bd0c2,_0x54e3b4)[_0x191791(0x126)](async _0x303a24=>{const _0x1d5864=_0x191791;PerformanceTester[_0x1d5864(0x10c)](PerformanceEvents[_0x1d5864(0x155)]),_0x2fe470=_0x303a24;const _0x6a0379=_0x1664f5[_0x1d5864(0xdf)](printCucumberStats,_0x303a24);process[_0x1d5864(0x11c)]=_0x6a0379,_0x1664f5[_0x1d5864(0x11a)](_0x54e3b4[_0x1d5864(0x133)],0x0)&&(logger[_0x1d5864(0x152)](_0x1664f5[_0x1d5864(0x139)]),helper[_0x1d5864(0x12e)](_0x39205,_0x54e3b4),logger[_0x1d5864(0x152)](_0x1664f5[_0x1d5864(0x119)]),helper[_0x1d5864(0x131)](_0x39205));})[_0x191791(0x11b)](async()=>{const _0x103dd9=_0x191791;PerformanceTester[_0x103dd9(0x10c)](PerformanceEvents[_0x103dd9(0x155)]),_0x4fbd9a['errorMessage']=helper[_0x103dd9(0x100)](_0x2fe470,_0x1664f5[_0x103dd9(0x11d)]),testOpsHelper[_0x103dd9(0x103)]();try{await TestHubHandler[_0x103dd9(0xee)]();}catch(_0x44d4bc){logger[_0x103dd9(0x152)]('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util[_0x103dd9(0x130)](_0x44d4bc));}try{const {browserstackFolderPath:_0xbc9c4c,tcgConfigPath:_0x4f02cd}=helper[_0x103dd9(0x128)]();fs[_0x103dd9(0x134)](_0x4f02cd),fs[_0x103dd9(0xfc)](_0xbc9c4c);}catch(_0x16cba7){logger[_0x103dd9(0x152)](_0x1664f5[_0x103dd9(0x157)],_0x16cba7);}await utilities[_0x103dd9(0x13a)](_0x4fbd9a);});}module[a5_0x33c29b(0x117)]=run;
2
+ 'use strict';const a5_0x3f4ec2=a5_0x5cc7;(function(_0x285214,_0x1e083b){const _0xecac34=a5_0x5cc7,_0x5aa1bb=_0x285214();while(!![]){try{const _0x3a67f3=parseInt(_0xecac34(0xc8))/0x1+parseInt(_0xecac34(0xb4))/0x2+parseInt(_0xecac34(0xd5))/0x3+-parseInt(_0xecac34(0xa5))/0x4*(-parseInt(_0xecac34(0xdb))/0x5)+parseInt(_0xecac34(0xec))/0x6+parseInt(_0xecac34(0xde))/0x7+-parseInt(_0xecac34(0x82))/0x8;if(_0x3a67f3===_0x1e083b)break;else _0x5aa1bb['push'](_0x5aa1bb['shift']());}catch(_0x27813d){_0x5aa1bb['push'](_0x5aa1bb['shift']());}}}(a5_0x349e,0x89352));function a5_0x349e(){const _0x2be6c6=['config','\x20steps','removeDir','turboScaleUrl','util','stop','****\x20RESULTS\x20****','nSWWV','lDuyk','join','prepareCapabilities','BROWSERSTACK_TEST_OBSERVABILITY_YML','1426812TgFFiy','debug','stepsAmbiguous','forEach','../../helpers/BrowserStackSetup','oBvOB','testObservability','getErrorMessageFromResults','log','isUndefined','accessibilityOptions','31485064TQxNhg','start','CUCUMBER','uLYAq','length','\x20skipped','GrpBC','bold','winstonLogger','DSuBx','stepsPending','cyan','vQHOF','stepsUnknown','useW3C','launchBuild','iEABu','hXEkx','../../helpers/utilities','yellow','getUserWorkerCount','MnjLf','mergeOutputFiles','splice','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','IfSbC','getTCGConfigFilePaths','Pnfsb','../../helpers/testhub/testhubHandler','uXaGl','\x20scenarios','end','path','createDir','../utils/constants','260VmMeBB','bgWhite','push','sPGIL','Removing\x20tmp\x20directory\x20created\x20for\x20reports','FjzBA','FRAMEWORKS','skipSessionStatus','errorMessage','zERRq','exitCode','skipSessionName','stepsSkipped','dbKHH','testContextOptions','1794904yoKDFR','\x20passed','format','SDK_SETUP','EmDrj','processSuccess','stringify','setUserConfigPath','OPYuj','parallelsPerPlatform','env','\x20undefined','SIIRW','green','twghK','HwCOY','setupTCGAuth','mxpUc','tmp','amFAA','910897RkVJkf','trmSr','../../helpers/performance/constants','SDK_CLEANUP','stepsUndefined','scenariosFailed','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','qNAzq','../../helpers/logger','printBuildLink','\x20failed','cEjPm','exports','2817627drfLDn','\x20ambiguous','\x20pending','red','logLevel','framework','71475jLctiK','cwd','then','4081700JNogOn','iabYD'];a5_0x349e=function(){return _0x2be6c6;};return a5_0x349e();}function a5_0x5cc7(_0x2793fd,_0x52d6f4){const _0x349ea8=a5_0x349e();return a5_0x5cc7=function(_0x5cc710,_0x3be28d){_0x5cc710=_0x5cc710-0x78;let _0x9e4f52=_0x349ea8[_0x5cc710];return _0x9e4f52;},a5_0x5cc7(_0x2793fd,_0x52d6f4);}const fs=require('fs'),path=require(a5_0x3f4ec2(0xa2)),util=require(a5_0x3f4ec2(0xe4)),logger=require(a5_0x3f4ec2(0xd0))[a5_0x3f4ec2(0x8a)],{default:BrowserStackSetup}=require(a5_0x3f4ec2(0x7b)),helper=require('../../helpers/helper'),utilities=require(a5_0x3f4ec2(0x94)),constants=require(a5_0x3f4ec2(0xa4)),{parallelCucumberRun}=require('../test-runner'),TestHubHandler=require(a5_0x3f4ec2(0x9e)),testOpsHelper=require('../../helpers/test-observability/utils'),chalk=require('chalk'),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a5_0x3f4ec2(0xca))['EVENTS'];function printCucumberStats(_0x284521){const _0x300cc7=a5_0x3f4ec2,_0x18010c={};_0x18010c[_0x300cc7(0x88)]=function(_0x237c1f,_0x5eef1e){return _0x237c1f>_0x5eef1e;},_0x18010c[_0x300cc7(0xb2)]=function(_0xfef372,_0x51d588){return _0xfef372-_0x51d588;},_0x18010c[_0x300cc7(0x97)]=function(_0xdfdce4,_0x35cff7){return _0xdfdce4-_0x35cff7;},_0x18010c[_0x300cc7(0x9b)]=function(_0x33fd4e,_0x47c853){return _0x33fd4e>_0x47c853;},_0x18010c[_0x300cc7(0xc5)]=function(_0x2a7b16,_0x1d0084){return _0x2a7b16>_0x1d0084;},_0x18010c[_0x300cc7(0xc7)]=function(_0x952edd,_0x10b5f5){return _0x952edd>_0x10b5f5;},_0x18010c['Pnfsb']=function(_0x3fa750,_0x5480fc){return _0x3fa750>_0x5480fc;},_0x18010c['OPYuj']=function(_0x3db941,_0x43f120){return _0x3db941>_0x43f120;},_0x18010c['twghK']=function(_0x56b656,_0x9f3406){return _0x56b656>_0x9f3406;},_0x18010c[_0x300cc7(0xe7)]=function(_0xe472fa,_0x245c97){return _0xe472fa>_0x245c97;},_0x18010c[_0x300cc7(0xa8)]=function(_0x50256c,_0x1d101e){return _0x50256c>_0x1d101e;},_0x18010c[_0x300cc7(0xcf)]=function(_0x436374,_0x7c7161){return _0x436374+_0x7c7161;},_0x18010c[_0x300cc7(0x7c)]=function(_0x55a456,_0x357732){return _0x55a456+_0x357732;},_0x18010c[_0x300cc7(0xc0)]=function(_0xa77093,_0x4d4cac){return _0xa77093+_0x4d4cac;},_0x18010c[_0x300cc7(0x9f)]=function(_0x3ac688,_0x5ea21d){return _0x3ac688+_0x5ea21d;},_0x18010c[_0x300cc7(0xc3)]=function(_0x2b1b4c,_0x2ff4ee){return _0x2b1b4c===_0x2ff4ee;},_0x18010c['hXEkx']=_0x300cc7(0xe6);const _0x591a2a=_0x18010c;let _0xbb26a0=0x0;if(_0x591a2a[_0x300cc7(0xc3)](_0x284521['length'],0x0))return _0xbb26a0;return console['log'](chalk[_0x300cc7(0x89)][_0x300cc7(0xa6)](_0x591a2a[_0x300cc7(0x93)])),_0x284521[_0x300cc7(0x7a)](_0x144417=>{const _0x419045=_0x300cc7,_0x7964b0=_0x144417[0x0],_0x5485e9=_0x144417[0x1];console[_0x419045(0x7f)]('\x0a'+chalk[_0x419045(0x89)][_0x419045(0x95)](''+helper['getPlatformName'](_0x7964b0)));const _0x3e7e38=_0x5485e9['scenarios'],_0x4897d2=_0x5485e9['steps'],_0x1af899=_0x5485e9[_0x419045(0xcd)],_0x1ee8fa=_0x5485e9['stepsFailed'],_0x4bdf8f=_0x5485e9['stepsPassed'],_0x4abc92=_0x5485e9[_0x419045(0xb1)],_0x32ca66=_0x5485e9[_0x419045(0x8c)],_0xe7d8a9=_0x5485e9[_0x419045(0xcc)],_0x391a6c=_0x5485e9[_0x419045(0x8f)],_0x3cf2a9=_0x5485e9[_0x419045(0x79)],_0x4aca12=_0x5485e9[_0x419045(0xb9)];let _0x156d5b=_0x3e7e38+_0x419045(0xa0);const _0x5592d4=_0x591a2a[_0x419045(0x88)](_0x591a2a[_0x419045(0xb2)](_0x3e7e38,_0x1af899),0x0)?_0x591a2a[_0x419045(0x97)](_0x3e7e38,_0x1af899):0x0;if(_0x591a2a[_0x419045(0x9b)](_0x1af899,0x0)&&_0x591a2a[_0x419045(0xc5)](_0x5592d4,0x0))_0x156d5b+='\x20('+chalk[_0x419045(0x89)][_0x419045(0xd8)](_0x1af899+_0x419045(0xd2))+',\x20'+chalk[_0x419045(0x89)][_0x419045(0xc1)](_0x5592d4+_0x419045(0xb5))+')';else(_0x591a2a[_0x419045(0xc7)](_0x1af899,0x0)||_0x591a2a[_0x419045(0x88)](_0x5592d4,0x0))&&(_0x156d5b+=_0x591a2a[_0x419045(0x9d)](_0x1af899,0x0)?'\x20('+chalk[_0x419045(0x89)][_0x419045(0xd8)](_0x1af899+_0x419045(0xd2))+')':'\x20('+chalk[_0x419045(0x89)][_0x419045(0xc1)](_0x5592d4+'\x20passed')+')');const _0x350abd=_0x4897d2+_0x419045(0xe1),_0x5c420e=[];_0x591a2a['mxpUc'](_0x3cf2a9,0x0)&&_0x5c420e[_0x419045(0xa7)](''+chalk[_0x419045(0x89)][_0x419045(0xd8)](_0x3cf2a9+_0x419045(0xd6)));_0x591a2a[_0x419045(0xbc)](_0x1ee8fa,0x0)&&_0x5c420e[_0x419045(0xa7)](''+chalk[_0x419045(0x89)]['red'](_0x1ee8fa+_0x419045(0xd2)));_0x591a2a[_0x419045(0xc2)](_0x4bdf8f,0x0)&&_0x5c420e[_0x419045(0xa7)](''+chalk[_0x419045(0x89)]['green'](_0x4bdf8f+_0x419045(0xb5)));_0x591a2a[_0x419045(0x88)](_0x32ca66,0x0)&&_0x5c420e['push'](''+chalk[_0x419045(0x89)]['yellow'](_0x32ca66+_0x419045(0xd7)));_0x591a2a[_0x419045(0xe7)](_0x4abc92,0x0)&&_0x5c420e[_0x419045(0xa7)](''+chalk['bold'][_0x419045(0x8d)](_0x4abc92+'\x20skipped'));_0x591a2a['sPGIL'](_0xe7d8a9,0x0)&&_0x5c420e[_0x419045(0xa7)](''+chalk[_0x419045(0x89)][_0x419045(0x95)](_0xe7d8a9+_0x419045(0xbf)));_0x591a2a[_0x419045(0xe7)](_0x391a6c,0x0)&&_0x5c420e[_0x419045(0xa7)](''+chalk[_0x419045(0x89)]['yellow'](_0x391a6c+_0x419045(0x87)));const _0x23d293=_0x591a2a[_0x419045(0xcf)](_0x591a2a['qNAzq'](_0x591a2a[_0x419045(0x7c)](_0x350abd,'('),_0x5c420e[_0x419045(0xe9)](',\x20')),')');console[_0x419045(0x7f)](_0x591a2a[_0x419045(0xc0)](_0x591a2a[_0x419045(0xc0)](_0x591a2a[_0x419045(0x9f)](_0x591a2a['oBvOB']('\x0a',_0x156d5b),'\x0a'),_0x23d293),'\x0a')),_0x591a2a[_0x419045(0xc3)](_0x4aca12,![])&&(_0xbb26a0=0x1);}),_0xbb26a0;}async function run(_0x1a9fb4,_0x5d9c0e){const _0x58354b=a5_0x3f4ec2,_0x122472={'trmSr':function(_0x43dca4,_0x15f860){return _0x43dca4(_0x15f860);},'cEjPm':function(_0x5c1aa2,_0x50673f){return _0x5c1aa2>_0x50673f;},'FjzBA':'Generating\x20consolidated\x20report...','EmDrj':_0x58354b(0xa9),'nzTPM':'cucumber','IIUaZ':'error\x20removing\x20tcg\x20config\x20file','lDuyk':'cucumber-js','vQHOF':_0x58354b(0xc6),'lAxtj':function(_0x3884dd,_0x393fda){return _0x3884dd>_0x393fda;},'iabYD':function(_0x2c9f15,_0x299602){return _0x2c9f15-_0x299602;},'zERRq':function(_0x55a8ce,_0x13baf3){return _0x55a8ce>=_0x13baf3;},'uLYAq':function(_0x249719,_0xc8d407){return _0x249719!=_0xc8d407;},'DSuBx':'true','iEABu':function(_0x2569cb,_0x34866a,_0xf6fc6c,_0x3c14b0,_0x37a830,_0x4aff71){return _0x2569cb(_0x34866a,_0xf6fc6c,_0x3c14b0,_0x37a830,_0x4aff71);}},_0x4c36a8=new BrowserStackSetup(_0x1a9fb4,_0x122472[_0x58354b(0xe8)]);await _0x4c36a8['initialize'](),helper[_0x58354b(0xbb)](_0x4c36a8[_0x58354b(0xda)],_0x1a9fb4);!helper['isBrowserstackInfra']()&&await _0x4c36a8[_0x58354b(0xc4)]();await helper['handleApp'](_0x4c36a8[_0x58354b(0xe0)]);const _0x698fdd=helper[_0x58354b(0x90)](_0x4c36a8['config']),_0x3a47b1=helper[_0x58354b(0xea)](_0x4c36a8['config'],_0x698fdd,constants[_0x58354b(0xab)][_0x58354b(0x84)]);if(!_0x4c36a8[_0x58354b(0xe0)])return;const _0x53e957=_0x4c36a8['config'][_0x58354b(0xbd)]||helper[_0x58354b(0x96)](_0x1a9fb4,_0x5d9c0e,_0x4c36a8[_0x58354b(0xe0)],constants[_0x58354b(0xab)][_0x58354b(0x84)])||0x1,_0x4236c4={'server':helper['getHubUrl'](_0x4c36a8[_0x58354b(0xe0)]),'proxySettings':_0x4c36a8['config']['proxySettings'],'maxWorkers':_0x53e957,'browserStackLogLevel':_0x4c36a8['config'][_0x58354b(0xd9)],'skipSessionName':_0x4c36a8[_0x58354b(0xe0)]['testContextOptions'][_0x58354b(0xb0)],'skipSessionStatus':_0x4c36a8[_0x58354b(0xe0)][_0x58354b(0xb3)][_0x58354b(0xac)],'turboScaleUrl':_0x4c36a8[_0x58354b(0xe0)][_0x58354b(0xe3)]},_0x5c8d06=process['argv'],[_0x23c352,_0x183054]=helper['parseFormatters'](_0x5c8d06),_0x4ca25e=path[_0x58354b(0xe9)](process[_0x58354b(0xdc)](),_0x122472[_0x58354b(0x8e)]);if(_0x122472['lAxtj'](_0x183054['length'],0x0)){helper[_0x58354b(0xa3)](_0x4ca25e);for(let _0x2a2c75=_0x122472[_0x58354b(0xdf)](_0x23c352[_0x58354b(0x86)],0x1);_0x122472[_0x58354b(0xae)](_0x2a2c75,0x0);_0x2a2c75--){_0x5c8d06[_0x58354b(0x99)](_0x23c352[_0x2a2c75],0x2);}}!helper[_0x58354b(0x80)](_0x4c36a8['config'][_0x58354b(0x81)])&&(process[_0x58354b(0xbe)][_0x58354b(0xce)]=JSON[_0x58354b(0xba)](_0x4c36a8[_0x58354b(0xe0)][_0x58354b(0x81)]));_0x122472[_0x58354b(0x85)](_0x4c36a8[_0x58354b(0xe0)][_0x58354b(0x7d)],null)?process['env'][_0x58354b(0xeb)]=_0x4c36a8[_0x58354b(0xe0)][_0x58354b(0x7d)]:process[_0x58354b(0xbe)][_0x58354b(0xeb)]=_0x122472[_0x58354b(0x8b)];const _0x3b6745=await TestHubHandler[_0x58354b(0x91)](constants[_0x58354b(0xab)][_0x58354b(0x84)],_0x4c36a8);PerformanceTester[_0x58354b(0xa1)](PerformanceEvents[_0x58354b(0xb7)]);let _0x812df4;_0x122472[_0x58354b(0x92)](parallelCucumberRun,_0x3a47b1,_0x4236c4,_0x4c36a8[_0x58354b(0xe0)],_0x5c8d06,_0x183054)[_0x58354b(0xdd)](async _0x355092=>{const _0x44acba=_0x58354b;PerformanceTester[_0x44acba(0x83)](PerformanceEvents[_0x44acba(0xcb)]),_0x812df4=_0x355092;const _0xfd1a73=_0x122472[_0x44acba(0xc9)](printCucumberStats,_0x355092);process[_0x44acba(0xaf)]=_0xfd1a73,_0x122472[_0x44acba(0xd3)](_0x183054[_0x44acba(0x86)],0x0)&&(logger[_0x44acba(0x78)](_0x122472[_0x44acba(0xaa)]),helper[_0x44acba(0x98)](_0x4ca25e,_0x183054),logger['debug'](_0x122472[_0x44acba(0xb8)]),helper[_0x44acba(0xe2)](_0x4ca25e));})['finally'](async()=>{const _0x407900=_0x58354b;PerformanceTester[_0x407900(0x83)](PerformanceEvents[_0x407900(0xcb)]),_0x4c36a8[_0x407900(0xad)]=helper[_0x407900(0x7e)](_0x812df4,_0x122472['nzTPM']),testOpsHelper[_0x407900(0xd1)]();try{await TestHubHandler[_0x407900(0xe5)]();}catch(_0x2bf5d8){logger['debug'](_0x407900(0x9a)+util[_0x407900(0xb6)](_0x2bf5d8));}try{const {browserstackFolderPath:_0x252e87,tcgConfigPath:_0xcba8d4}=helper[_0x407900(0x9c)]();fs['unlinkSync'](_0xcba8d4),fs['rmdirSync'](_0x252e87);}catch(_0xcec6ae){logger['debug'](_0x122472['IIUaZ'],_0xcec6ae);}await utilities['finalExecution'](_0x4c36a8);});}module[a5_0x3f4ec2(0xd4)]=run;