browserstack-node-sdk 1.34.23 → 1.34.24

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 (129) 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/createk8sClient.js +1 -1
  28. package/ats/src/utils/deleteStack.js +1 -1
  29. package/ats/src/utils/gridComponents.js +1 -1
  30. package/ats/src/utils/hstUtils.js +1 -1
  31. package/ats/src/utils/instrumentationUtils.js +1 -1
  32. package/ats/src/utils/userInput.js +1 -1
  33. package/ats/src/utils/utilityMethods.js +1 -1
  34. package/ats/src/utils/webSocketUtils.js +1 -1
  35. package/package.json +1 -1
  36. package/src/ai-sdk-node/bundle.js +1 -1
  37. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  38. package/src/bin/codeceptjs/command.js +1 -1
  39. package/src/bin/codeceptjs/helper.js +1 -1
  40. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  41. package/src/bin/cucumber-js/command.js +1 -1
  42. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  43. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  44. package/src/bin/cucumber-js/test-observability.js +1 -1
  45. package/src/bin/cucumber-js/test.setup.js +1 -1
  46. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  47. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  48. package/src/bin/integrations/command.js +1 -1
  49. package/src/bin/integrations/constants.js +1 -1
  50. package/src/bin/jest/command.js +1 -1
  51. package/src/bin/jest/customImplements/customCircus.js +1 -1
  52. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  53. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  54. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  55. package/src/bin/jest/jest.setup.js +1 -1
  56. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  57. package/src/bin/jest/test-observability/helper.js +1 -1
  58. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  59. package/src/bin/jest/test-observability/test-details.js +1 -1
  60. package/src/bin/jest/test_before.setup.js +1 -1
  61. package/src/bin/launcher/launcher.js +1 -1
  62. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  63. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  64. package/src/bin/mocha/command.js +1 -1
  65. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  66. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  67. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  68. package/src/bin/mocha/test.setup.js +1 -1
  69. package/src/bin/nightwatch/command.js +1 -1
  70. package/src/bin/playwright/accessibility-helper.js +1 -1
  71. package/src/bin/playwright/command.js +1 -1
  72. package/src/bin/playwright/globalSetup.js +1 -1
  73. package/src/bin/playwright/mock-process.js +1 -1
  74. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  75. package/src/bin/playwright/patches.js +1 -1
  76. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  77. package/src/bin/playwright/reporter/reporter.js +1 -1
  78. package/src/bin/playwright/reporter/test-details.js +1 -1
  79. package/src/bin/playwright/sessionDetails.js +1 -1
  80. package/src/bin/runner.js +1 -1
  81. package/src/bin/setup.js +1 -1
  82. package/src/bin/test-runner/index.js +1 -1
  83. package/src/bin/test-runner/runTest.js +1 -1
  84. package/src/bin/test-runner/testWorker.js +1 -1
  85. package/src/bin/utils/constants.js +1 -1
  86. package/src/bin/utils/log4jsAppender.js +1 -1
  87. package/src/bin/utils/logPatcher.js +1 -1
  88. package/src/bin/utils/logReportingAPI.js +1 -1
  89. package/src/bin/vanilla-js/command.js +1 -1
  90. package/src/browserStackSdk.js +1 -1
  91. package/src/helpers/BrowserStackSetup.js +1 -1
  92. package/src/helpers/accessibility-automation/constants.js +1 -1
  93. package/src/helpers/accessibility-automation/helper.js +1 -1
  94. package/src/helpers/accessibility-automation/scripts.js +1 -1
  95. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  96. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  97. package/src/helpers/ats/constants.js +1 -1
  98. package/src/helpers/ats/helper.js +1 -1
  99. package/src/helpers/capsMapping.js +1 -1
  100. package/src/helpers/central-scanner/constants.js +1 -1
  101. package/src/helpers/central-scanner/helpers.js +1 -1
  102. package/src/helpers/globals.js +1 -1
  103. package/src/helpers/helper.js +1 -1
  104. package/src/helpers/logger.js +1 -1
  105. package/src/helpers/patchHelper.js +1 -1
  106. package/src/helpers/patchHelpers.js +1 -1
  107. package/src/helpers/percy/Percy.js +1 -1
  108. package/src/helpers/percy/PercyBinary.js +1 -1
  109. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  110. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  111. package/src/helpers/percy/PercySDK.js +1 -1
  112. package/src/helpers/percy/index.js +1 -1
  113. package/src/helpers/percy/utils.js +1 -1
  114. package/src/helpers/performance-tester.js +1 -1
  115. package/src/helpers/request-spy.js +1 -1
  116. package/src/helpers/setKeepAlive.js +1 -1
  117. package/src/helpers/test-observability/constants.js +1 -1
  118. package/src/helpers/test-observability/error-handler.js +1 -1
  119. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  120. package/src/helpers/test-observability/sessionHandler.js +1 -1
  121. package/src/helpers/test-observability/utils.js +1 -1
  122. package/src/helpers/testhub/constants.js +1 -1
  123. package/src/helpers/testhub/testhubHandler.js +1 -1
  124. package/src/helpers/testhub/utils.js +1 -1
  125. package/src/helpers/timeoutPromise.js +1 -1
  126. package/src/helpers/utilities.js +1 -1
  127. package/src/helpers/w3cMapping.js +1 -1
  128. package/src/hubAllocationMethods.js +1 -1
  129. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a1_0x49cc73=a1_0x1662;(function(_0x583180,_0x10fcdc){const _0x3600d7=a1_0x1662,_0x35788b=_0x583180();while(!![]){try{const _0x1598ca=parseInt(_0x3600d7(0x16f))/0x1+parseInt(_0x3600d7(0x149))/0x2*(-parseInt(_0x3600d7(0x12e))/0x3)+parseInt(_0x3600d7(0x112))/0x4*(-parseInt(_0x3600d7(0x110))/0x5)+-parseInt(_0x3600d7(0xe1))/0x6*(parseInt(_0x3600d7(0x10f))/0x7)+parseInt(_0x3600d7(0xf0))/0x8+-parseInt(_0x3600d7(0x131))/0x9+parseInt(_0x3600d7(0xf1))/0xa;if(_0x1598ca===_0x10fcdc)break;else _0x35788b['push'](_0x35788b['shift']());}catch(_0x342098){_0x35788b['push'](_0x35788b['shift']());}}}(a1_0x5a11,0xc9495));function a1_0x1662(_0x570880,_0x4c6c96){const _0x5a118f=a1_0x5a11();return a1_0x1662=function(_0x166251,_0x50cd38){_0x166251=_0x166251-0xdb;let _0x545e50=_0x5a118f[_0x166251];return _0x545e50;},a1_0x1662(_0x570880,_0x4c6c96);}const fs=require('fs'),util=require(a1_0x49cc73(0x179)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require('../../helpers/helper'),logger=require(a1_0x49cc73(0x177))[a1_0x49cc73(0x144)],testOpsHelper=require(a1_0x49cc73(0x11c)),requestSpy=require(a1_0x49cc73(0xed)),PlaywrightSessionDetails=require(a1_0x49cc73(0x14e)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x49cc73(0xe9)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x49cc73(0x157)),AccessibilityHelper=require(a1_0x49cc73(0x163)),scripts=require(a1_0x49cc73(0x13f)),PerformanceTester=require(a1_0x49cc73(0x128)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x49cc73(0x12c)),testHubConstants=require(a1_0x49cc73(0x156)),CodeceptJS=requireModule(a1_0x49cc73(0x17e)),CodeceptUtils=requireModule('codeceptjs/lib/utils.js'),CodeceptWebDriver=requireModule(a1_0x49cc73(0x139)),CodeceptRecorder=requireModule('codeceptjs/lib/recorder.js'),CodeceptPlaywright=requireModule(a1_0x49cc73(0x155)),playwrightMarkSessionStatus=(_0x327d72,_0xcb8662,_0x3c6793)=>{const _0x595dfc=a1_0x49cc73,_0x3c3186={'iUfrY':_0x595dfc(0x13d),'LrKKv':function(_0x4a7cbb,_0x254362){return _0x4a7cbb(_0x254362);}},_0x49092c={};_0x49092c[_0x595dfc(0x17b)]=_0xcb8662;const _0x5afc83={};_0x5afc83[_0x595dfc(0x10d)]=_0x3c3186[_0x595dfc(0x147)],_0x5afc83[_0x595dfc(0x14c)]=_0x49092c;const _0x44461c=_0x5afc83;return!_0x3c3186['LrKKv'](isUndefined,_0x3c6793)&&(_0x44461c['arguments'][_0x595dfc(0x16d)]=JSON[_0x595dfc(0x14b)](_0x3c6793)),_0x327d72['executeScript'](()=>{},_0x595dfc(0x109)+JSON['stringify'](_0x44461c));},o11ySync=async _0x1dde02=>{const _0x5e3d9f=a1_0x49cc73,_0x5c6f85={};_0x5c6f85[_0x5e3d9f(0x16b)]=function(_0x51448b,_0x2f4dd6){return _0x51448b===_0x2f4dd6;},_0x5c6f85[_0x5e3d9f(0x135)]='Playwright';const _0x31d601=_0x5c6f85;_0x31d601[_0x5e3d9f(0x16b)](_0x1dde02['constructor'][_0x5e3d9f(0x138)],_0x31d601[_0x5e3d9f(0x135)])?await _0x1dde02['executeScript'](_0x271e64=>{},testOpsHelper[_0x5e3d9f(0xdc)]()):await _0x1dde02[_0x5e3d9f(0xe3)](testOpsHelper[_0x5e3d9f(0xdc)]());},markSessionName=async(_0x855868,_0x483c23)=>{const _0x1b377e=a1_0x49cc73,_0x2af51b={};_0x2af51b[_0x1b377e(0x13c)]=_0x1b377e(0xf9),_0x2af51b[_0x1b377e(0x164)]=function(_0xa844a6,_0x5f94fe){return _0xa844a6===_0x5f94fe;},_0x2af51b['IHWrJ']=_0x1b377e(0x129);const _0x3749db=_0x2af51b,_0x454639={};_0x454639[_0x1b377e(0x138)]=_0x483c23;const _0x9986d3={};_0x9986d3[_0x1b377e(0x10d)]=_0x3749db['YbWXM'],_0x9986d3[_0x1b377e(0x14c)]=_0x454639;const _0x138533=_0x9986d3;_0x3749db[_0x1b377e(0x164)](_0x855868[_0x1b377e(0x105)][_0x1b377e(0x138)],_0x3749db[_0x1b377e(0x103)])?await _0x855868['executeScript'](()=>{},'browserstack_executor:\x20'+JSON[_0x1b377e(0x14b)](_0x138533)):await _0x855868[_0x1b377e(0xe3)](_0x1b377e(0x109)+JSON[_0x1b377e(0x14b)](_0x138533));},patchSaveScreenshot=_0x431ba4=>{const _0x3b45ce=a1_0x49cc73,_0x4ebc31={'JIzPd':_0x3b45ce(0x178),'yfwxb':_0x3b45ce(0x111),'uNHYO':function(_0x5e5c23){return _0x5e5c23();},'HEyJj':function(_0x5a83db,_0x5e94a6){return _0x5a83db(_0x5e94a6);}};_0x4ebc31[_0x3b45ce(0x14a)](isTrue,process[_0x3b45ce(0x127)][_0x3b45ce(0x159)])&&!_0x431ba4[_0x3b45ce(0x145)]&&(_0x431ba4[_0x3b45ce(0x145)]=!![],_0x431ba4[_0x3b45ce(0x15d)]=_0x431ba4['saveScreenshot'],_0x431ba4[_0x3b45ce(0xf2)]=(_0x1200fe,_0x1aadc5=![])=>{const _0x26c6e3=_0x3b45ce,_0x3ec213={'EvhEb':_0x4ebc31[_0x26c6e3(0xff)],'AYqwB':_0x4ebc31[_0x26c6e3(0x143)],'YNFzY':function(_0x24f8f1){const _0x465caa=_0x26c6e3;return _0x4ebc31[_0x465caa(0xdb)](_0x24f8f1);}};return new Promise(function(_0x3efd8b,_0xeb7b4a){const _0x31d21b=_0x26c6e3;_0x431ba4['initSaveScreenshot'](_0x1200fe,_0x1aadc5)['then'](()=>{const _0x183736=a1_0x1662,_0xaa79c4=CodeceptUtils[_0x183736(0xec)](_0x1200fe),_0x4d6816=fs[_0x183736(0x141)](_0xaa79c4);process[_0x183736(0x152)](_0x183736(0x175)+process[_0x183736(0xdd)],{'timestamp':new Date()[_0x183736(0xea)](),'message':_0x4d6816[_0x183736(0x122)](_0x3ec213[_0x183736(0x101)]),'kind':_0x3ec213['AYqwB']}),_0x3ec213['YNFzY'](_0x3efd8b);})[_0x31d21b(0x150)](()=>null);});});},patchWebDriverBefore=_0x314b93=>{const _0x814a58=a1_0x49cc73,_0x1fc30f={'JevUB':function(_0x5381c9){return _0x5381c9();},'zopjH':function(_0x43030b,_0x57f44a){return _0x43030b(_0x57f44a);},'aaklN':function(_0x37a39e,_0x3a4e0a){return _0x37a39e===_0x3a4e0a;},'ZnBnW':'Element','UBWlZ':function(_0x1a36a1,_0x433a9d){return _0x1a36a1(_0x433a9d);}},_0x16aca7=async function(_0x17c72f,_0x4cc79c){const _0xccb34b=a1_0x1662;return _0x1fc30f[_0xccb34b(0xdf)](isAccessibilityAutomationSession)&&!global[_0xccb34b(0x114)]&&global[_0xccb34b(0x15a)]&&scripts[_0xccb34b(0xf3)](_0x17c72f['name'])&&_0x1fc30f[_0xccb34b(0x10e)](shouldPatchExecuteScript,arguments[0x2])&&(global['bstackAllyScanning']=!![],logger[_0xccb34b(0xf8)](_0xccb34b(0x140)+_0x17c72f[_0xccb34b(0x102)]+'\x20'+_0x17c72f['name']),await AccessibilityHelper[_0xccb34b(0x10a)](_0x314b93,scripts['performScan'])),global[_0xccb34b(0x114)]=![],_0x4cc79c[_0xccb34b(0xde)](this,Array[_0xccb34b(0x165)]['slice'][_0xccb34b(0x15e)](arguments,0x2));},_0x7529e5=CodeceptWebDriver[_0x814a58(0x165)]['_before'];CodeceptWebDriver[_0x814a58(0x165)][_0x814a58(0xfa)]=async function(){const _0x9f2d8d=_0x814a58,_0x3ac3ac={'pvUrv':function(_0x451758,_0x550463){const _0x4b40ba=a1_0x1662;return _0x1fc30f[_0x4b40ba(0x17d)](_0x451758,_0x550463);},'MysQK':_0x1fc30f[_0x9f2d8d(0x172)]};await _0x7529e5['apply'](this,arguments),scripts[_0x9f2d8d(0x171)][_0x9f2d8d(0x153)](_0x2f3930=>_0x2f3930[_0x9f2d8d(0x138)]&&_0x2f3930[_0x9f2d8d(0x102)])['forEach'](_0x25d3b1=>{const _0x17fcd7=_0x9f2d8d;this[_0x17fcd7(0x126)][_0x17fcd7(0x100)](_0x25d3b1['name'],_0x16aca7[_0x17fcd7(0xe8)](this,_0x25d3b1),_0x3ac3ac[_0x17fcd7(0x162)](_0x25d3b1[_0x17fcd7(0x102)],_0x3ac3ac[_0x17fcd7(0x158)]));}),_0x1fc30f[_0x9f2d8d(0xf6)](processWebDriverConfig,_0x314b93);};},patchPlaywrightBefore=()=>{const _0x5c188a=a1_0x49cc73;PlaywrightSessionDetails['patch']();const _0x7d8950=CodeceptPlaywright[_0x5c188a(0x165)]['_before'];CodeceptPlaywright[_0x5c188a(0x165)][_0x5c188a(0xfa)]=async function(){const _0x108d04=_0x5c188a;this[_0x108d04(0x167)]=await this[_0x108d04(0x126)]['contexts']()[0x0],await _0x7d8950['apply'](this,arguments);};},getCodeceptDriver=()=>{const _0x1994c1=a1_0x49cc73,_0x55bafc={};_0x55bafc['DieWW']='WebDriver',_0x55bafc[_0x1994c1(0x137)]=_0x1994c1(0x129),_0x55bafc[_0x1994c1(0x10b)]=_0x1994c1(0xf7),_0x55bafc[_0x1994c1(0x11b)]=_0x1994c1(0x161);const _0x232fb3=_0x55bafc,_0x46823a=[_0x232fb3['DieWW'],_0x232fb3['aPFfF'],_0x232fb3[_0x1994c1(0x10b)],_0x232fb3[_0x1994c1(0x11b)]],_0x5e97df=_0x46823a[_0x1994c1(0x124)](_0x19bf49=>!!CodeceptJS[_0x1994c1(0xf4)][_0x1994c1(0x16e)](_0x19bf49));if(!_0x5e97df)return null;return CodeceptJS['container'][_0x1994c1(0x16e)](_0x5e97df);};module[a1_0x49cc73(0x106)]=function(_0xca0bd2){const _0x3c4c54=a1_0x49cc73,_0x23368e={'QeMBA':_0x3c4c54(0x180),'xyPtH':_0x3c4c54(0x115),'lQLes':function(_0x1d73f0){return _0x1d73f0();},'IxIDA':function(_0x585cd3,_0x113cfb){return _0x585cd3(_0x113cfb);},'ThCpg':function(_0x166fe6,_0x5835b7,_0x1aec80){return _0x166fe6(_0x5835b7,_0x1aec80);},'nLGNA':function(_0x4a8021,_0x1e4371){return _0x4a8021(_0x1e4371);},'Zcyoa':function(_0x554ebf){return _0x554ebf();},'ofdLs':function(_0x43c71b,_0x2fa385,_0x2c9080){return _0x43c71b(_0x2fa385,_0x2c9080);},'qEfjq':function(_0x516f2c,_0x53a9c8,_0x53b372,_0x282c08){return _0x516f2c(_0x53a9c8,_0x53b372,_0x282c08);},'Wcebj':function(_0x535bdf,_0x501e43){return _0x535bdf===_0x501e43;},'mOAVc':'Suite','gWMmo':function(_0x4ac43a){return _0x4ac43a();},'XpFGa':_0x3c4c54(0x136),'QFagh':_0x3c4c54(0xfb),'qZjYK':'TEST_LOG','cxXZs':_0x3c4c54(0x129)};_0xca0bd2['skipSessionStatus']&&(global[_0x3c4c54(0x108)]=_0xca0bd2[_0x3c4c54(0xfc)]);PerformanceTester['startMonitoring']();const _0x10fb44=_0x23368e[_0x3c4c54(0x11a)](getCodeceptDriver),_0x2c4e43=new O11yHelper(_0x10fb44,_0xca0bd2),_0x32c1e5=!!CodeceptJS['container'][_0x3c4c54(0x16e)](_0x23368e[_0x3c4c54(0x168)]);global[_0x3c4c54(0xee)]=_0x10fb44,_0x10fb44&&(_0x32c1e5?_0x23368e[_0x3c4c54(0x11a)](patchPlaywrightBefore):_0x23368e[_0x3c4c54(0x17c)](patchWebDriverBefore,_0x10fb44),_0x10fb44['getAccessibilityResultsSummary']=async()=>{const _0x5b3800=_0x3c4c54;if(global[_0x5b3800(0x15a)])await AccessibilityHelper[_0x5b3800(0x10a)](_0x10fb44,scripts['performScan']),await AccessibilityHelper['browserStackExecuteDriver'](_0x10fb44,scripts[_0x5b3800(0x170)]);else return logger[_0x5b3800(0xe6)](_0x23368e[_0x5b3800(0x154)]),{};},_0x10fb44[_0x3c4c54(0x13a)]=async()=>{const _0x270aac=_0x3c4c54;if(global[_0x270aac(0x15a)])await AccessibilityHelper[_0x270aac(0x10a)](_0x10fb44,scripts[_0x270aac(0x16a)]),await AccessibilityHelper[_0x270aac(0x10a)](_0x10fb44,scripts[_0x270aac(0x104)]);else return logger[_0x270aac(0xe6)](_0x23368e['xyPtH']),{};},_0x23368e[_0x3c4c54(0x17c)](patchSaveScreenshot,_0x10fb44)),CodeceptJS[_0x3c4c54(0xe7)][_0x3c4c54(0x113)]['on'](CodeceptJS[_0x3c4c54(0xe7)][_0x3c4c54(0x15b)][_0x3c4c54(0x130)],()=>{const _0x2a34f0=_0x3c4c54;try{_0x2c4e43[_0x2a34f0(0xe0)](),testOpsHelper['addRequestSpy']();}catch(_0x332f28){PerformanceTester[_0x2a34f0(0x166)](_0x332f28);}}),CodeceptJS[_0x3c4c54(0xe7)][_0x3c4c54(0x113)]['on'](CodeceptJS[_0x3c4c54(0xe7)][_0x3c4c54(0x15b)][_0x3c4c54(0x15f)],async()=>{const _0x42754c=_0x3c4c54;try{requestSpy[_0x42754c(0x12b)](),await _0x2c4e43[_0x42754c(0x16c)]();}catch(_0x5ae7a7){PerformanceTester[_0x42754c(0x166)](_0x5ae7a7);}finally{PerformanceTester[_0x42754c(0xeb)]();}}),CodeceptJS[_0x3c4c54(0xe7)]['dispatcher']['on'](CodeceptJS[_0x3c4c54(0xe7)][_0x3c4c54(0x123)][_0x3c4c54(0x14f)],_0x2508d9=>{const _0x37e691=_0x3c4c54;try{const _0x53bfbf=_0x2508d9[_0x37e691(0x148)]['test'],_0x5dc206=_0x2c4e43[_0x37e691(0x121)](TEST_EVENTS[_0x37e691(0xe5)],_0x53bfbf);CodeceptRecorder['add'](()=>_0x2c4e43['fireEvent'](TEST_EVENTS['HOOK_RUN_STARTED'],_0x5dc206));}catch(_0x3a91c1){PerformanceTester[_0x37e691(0x166)](_0x3a91c1);}}),CodeceptJS[_0x3c4c54(0xe7)]['dispatcher']['on'](CodeceptJS['event'][_0x3c4c54(0x123)][_0x3c4c54(0x118)],_0x4c3427=>{const _0x2456ff=_0x3c4c54;try{const _0x1845e7=_0x4c3427[_0x2456ff(0x148)][_0x2456ff(0x146)],_0x8f451b=_0x2c4e43[_0x2456ff(0x121)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x1845e7);CodeceptRecorder[_0x2456ff(0x134)](()=>_0x2c4e43[_0x2456ff(0x11d)](TEST_EVENTS[_0x2456ff(0x10c)],_0x8f451b));}catch(_0x588fd5){PerformanceTester[_0x2456ff(0x166)](_0x588fd5);}}),CodeceptJS[_0x3c4c54(0xe7)][_0x3c4c54(0x113)]['on'](CodeceptJS[_0x3c4c54(0xe7)][_0x3c4c54(0x123)][_0x3c4c54(0x11e)],async(_0x1723d7,_0x2e372b)=>{const _0x5c8c96=_0x3c4c54;try{const _0x2ab6f4=_0x1723d7[_0x5c8c96(0x148)]['test'],_0x165f0d=_0x2c4e43[_0x5c8c96(0x121)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x2ab6f4,_0x2e372b);CodeceptRecorder[_0x5c8c96(0x134)](()=>_0x2c4e43['fireEvent'](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x165f0d));}catch(_0x5562b7){PerformanceTester['captureError'](_0x5562b7);}}),CodeceptJS[_0x3c4c54(0xe7)][_0x3c4c54(0x113)]['on'](CodeceptJS[_0x3c4c54(0xe7)][_0x3c4c54(0x146)]['before'],_0x151946=>{const _0x5cbdda=_0x3c4c54;try{_0x23368e['lQLes'](isBrowserstackInfra)&&(_0x32c1e5&&(global[_0x5cbdda(0x107)]={'currentTest':{'name':_0x151946[_0x5cbdda(0x125)],'testInfo':{'titlePath':_0x151946[_0x5cbdda(0x160)]()}}}));}catch(_0x207f37){PerformanceTester['captureError'](_0x207f37);}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x3c4c54(0xe7)][_0x3c4c54(0x146)][_0x3c4c54(0x14f)],_0x1136ca=>{const _0x19dce1=_0x3c4c54;try{const _0x4daa38=_0x2c4e43[_0x19dce1(0x121)](TEST_EVENTS[_0x19dce1(0x12d)],_0x1136ca);CodeceptRecorder[_0x19dce1(0x134)](()=>_0x2c4e43[_0x19dce1(0x11d)](TEST_EVENTS['TEST_RUN_STARTED'],_0x4daa38)),CodeceptRecorder[_0x19dce1(0x134)](async()=>{const _0x11b38a=_0x19dce1;_0x23368e['lQLes'](isBrowserstackInfra)&&(!_0x23368e['IxIDA'](isTrue,_0xca0bd2[_0x11b38a(0x151)])&&await _0x23368e[_0x11b38a(0x117)](markSessionName,_0x10fb44,_0x1136ca['title']),_0x2c4e43['enabled']&&await _0x23368e['nLGNA'](o11ySync,_0x10fb44));});}catch(_0x37db46){PerformanceTester[_0x19dce1(0x166)](_0x37db46);}}),CodeceptJS[_0x3c4c54(0xe7)]['dispatcher']['on'](CodeceptJS[_0x3c4c54(0xe7)][_0x3c4c54(0x146)][_0x3c4c54(0x118)],_0x24a0f=>{const _0x5b9b0b=_0x3c4c54;try{const _0x5e091f=_0x2c4e43[_0x5b9b0b(0x121)](TEST_EVENTS[_0x5b9b0b(0xf5)],_0x24a0f);CodeceptRecorder['add'](()=>_0x2c4e43['fireEvent'](TEST_EVENTS['TEST_RUN_FINISHED'],_0x5e091f)),CodeceptRecorder[_0x5b9b0b(0x134)](async()=>{const _0x22c687=_0x5b9b0b;_0x23368e[_0x22c687(0x11a)](isBrowserstackInfra)&&(_0x32c1e5?await _0x23368e[_0x22c687(0x117)](playwrightMarkSessionStatus,_0x10fb44,STATE_PASSED):await _0x23368e[_0x22c687(0x169)](markSessionStatus,_0x10fb44,STATE_PASSED));});}catch(_0x10b7b8){PerformanceTester[_0x5b9b0b(0x166)](_0x10b7b8);}}),CodeceptJS[_0x3c4c54(0xe7)][_0x3c4c54(0x113)]['on'](CodeceptJS['event'][_0x3c4c54(0x146)][_0x3c4c54(0x11e)],(_0x1a9132,_0x38686f)=>{const _0x411625=_0x3c4c54;try{if(_0x23368e['Wcebj'](_0x1a9132[_0x411625(0x105)][_0x411625(0x138)],_0x23368e[_0x411625(0x132)])){const _0x5a58b1=_0x2c4e43['captureEvent'](TEST_EVENTS[_0x411625(0x14d)],_0x1a9132['ctx'][_0x411625(0xfd)]);CodeceptRecorder[_0x411625(0x134)](()=>_0x2c4e43[_0x411625(0x11d)](TEST_EVENTS[_0x411625(0x14d)],_0x5a58b1));}else{const _0x17b2da=_0x2c4e43[_0x411625(0x121)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x1a9132,_0x38686f);CodeceptRecorder['add'](()=>{const _0x2cf625=_0x411625;try{_0x2c4e43[_0x2cf625(0x11d)](TEST_EVENTS[_0x2cf625(0xf5)],_0x17b2da);}catch(_0x43dce9){logger[_0x2cf625(0xf8)](_0x2cf625(0xe2)+util[_0x2cf625(0x13e)](_0x43dce9));}}),CodeceptRecorder[_0x411625(0x134)](async()=>{const _0x32f338=_0x411625;try{_0x23368e[_0x32f338(0xe4)](isBrowserstackInfra)&&(_0x32c1e5?await _0x23368e[_0x32f338(0x12f)](playwrightMarkSessionStatus,_0x10fb44,STATE_FAILED,_0x38686f):await _0x23368e['qEfjq'](markSessionStatus,_0x10fb44,STATE_FAILED,_0x38686f));}catch(_0x3e6dc6){logger['debug'](_0x32f338(0xef)+util[_0x32f338(0x13e)](_0x3e6dc6));}});}}catch(_0x1b90e5){PerformanceTester['captureError'](_0x1b90e5);}}),CodeceptJS[_0x3c4c54(0xe7)][_0x3c4c54(0x113)]['on'](CodeceptJS[_0x3c4c54(0xe7)][_0x3c4c54(0x146)][_0x3c4c54(0x119)],_0x320763=>{const _0x56dd3a=_0x3c4c54;try{const _0x2c4f52=_0x2c4e43[_0x56dd3a(0x121)](TEST_EVENTS[_0x56dd3a(0x14d)],_0x320763);CodeceptRecorder[_0x56dd3a(0x134)](()=>_0x2c4e43[_0x56dd3a(0x11d)](TEST_EVENTS[_0x56dd3a(0x14d)],_0x2c4f52));}catch(_0x5595a3){PerformanceTester[_0x56dd3a(0x166)](_0x5595a3);}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x3c4c54(0xe7)][_0x3c4c54(0x146)][_0x3c4c54(0x15f)],async(_0x31f9f4,_0x58ad53)=>{const _0x1d13bd=_0x3c4c54;try{if(_0x23368e['gWMmo'](isBrowserstackInfra)){const _0x43bf49=_0x23368e['ofdLs'](shouldScanTestForAccessibility,_0x31f9f4[_0x1d13bd(0x160)](),!![]);if(_0x23368e[_0x1d13bd(0x12a)](isAccessibilityAutomationSession)&&global[_0x1d13bd(0x15a)]&&_0x43bf49){const _0x25facd={};_0x25facd[_0x1d13bd(0x11f)]=_0x31f9f4[_0x1d13bd(0x17f)],_0x25facd[_0x1d13bd(0x116)]=process[_0x1d13bd(0x127)][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_UUID']],_0x25facd[_0x1d13bd(0x13b)]=process[_0x1d13bd(0x127)][testHubConstants[_0x1d13bd(0x142)]['BROWSERSTACK_TESTHUB_JWT']];const _0x4a22de=_0x25facd;logger[_0x1d13bd(0xf8)](_0x1d13bd(0x120)+JSON[_0x1d13bd(0x14b)](_0x4a22de)),CodeceptRecorder['add'](async()=>{const _0x27ec28=_0x1d13bd;await AccessibilityHelper[_0x27ec28(0x10a)](_0x10fb44,scripts[_0x27ec28(0x16a)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x10fb44,scripts[_0x27ec28(0x15c)],_0x4a22de);}),logger[_0x1d13bd(0x173)](_0x23368e[_0x1d13bd(0xfe)]);}}}catch(_0x56cc57){PerformanceTester['captureError'](_0x56cc57);}}),CodeceptJS[_0x3c4c54(0xe7)]['dispatcher']['on'](CodeceptJS[_0x3c4c54(0xe7)]['step'][_0x3c4c54(0x133)],_0xbca4ac=>{const _0x5a16b0=_0x3c4c54;try{process[_0x5a16b0(0x152)](_0x5a16b0(0x175)+process['pid'],{'timestamp':new Date()[_0x5a16b0(0xea)](),'level':_0x23368e['QFagh'],'message':_0xbca4ac,'kind':_0x23368e['qZjYK'],'http_response':{}});}catch(_0x41f5a1){PerformanceTester[_0x5a16b0(0x166)](_0x41f5a1);}}),CodeceptJS[_0x3c4c54(0xe7)][_0x3c4c54(0x113)]['on'](CodeceptJS['event']['bddStep'][_0x3c4c54(0x130)],_0x2ec78a=>{const _0x4934ac=_0x3c4c54;_0x2c4e43[_0x4934ac(0x176)](_0x2ec78a);}),CodeceptJS['event'][_0x3c4c54(0x113)]['on'](CodeceptJS[_0x3c4c54(0xe7)][_0x3c4c54(0x174)][_0x3c4c54(0x15f)],_0x10f5ab=>{const _0x29d480=_0x3c4c54;_0x2c4e43[_0x29d480(0x17a)](_0x10f5ab);});};function a1_0x5a11(){const _0x423d02=['UBWlZ','Puppeteer','debug','setSessionName','_before','INFO','skipSessionStatus','currentTest','XpFGa','JIzPd','overwriteCommand','EvhEb','class','IHWrJ','getResults','constructor','exports','__workerDetails','__skipSessionStatus','browserstack_executor:\x20','browserStackExecuteDriver','nOkGt','HOOK_RUN_FINISHED','action','zopjH','28EHNOcZ','5CxjtKv','TEST_SCREENSHOT','2706248IkplQi','dispatcher','bstackAllyScanning','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','thBuildUuid','ThCpg','passed','skipped','Zcyoa','vvvZu','../../helpers/test-observability/utils','fireEvent','failed','thTestRunUuid','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','captureEvent','toString','hook','find','title','browser','env','../../helpers/performance-tester','Playwright','gWMmo','restore','./helper.js','TEST_RUN_STARTED','11451HcbBDH','qEfjq','before','162522XQqyga','mOAVc','comment','add','PaovT','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','aPFfF','name','codeceptjs/lib/helper/WebDriver.js','getAccessibilityResults','thJwtToken','YbWXM','setSessionStatus','format','../../helpers/accessibility-automation/scripts','Performing\x20scan\x20for\x20','readFileSync','ENV_VAR','yfwxb','winstonLogger','patchSaveScreenshot','test','iUfrY','ctx','492xluIyZ','HEyJj','stringify','arguments','TEST_RUN_SKIPPED','../../bin/playwright/sessionDetails','started','catch','skipSessionName','emit','filter','QeMBA','codeceptjs/lib/helper/Playwright.js','../../helpers/testhub/constants.js','../../helpers/accessibility-automation/helper','MysQK','BS_TESTOPS_ALLOW_SCREENSHOTS','accessibilityPlatform','all','saveTestResults','initSaveScreenshot','call','after','titlePath','TestCafe','pvUrv','../../bin/playwright/accessibility-helper','jqETO','prototype','captureError','browserContext','cxXZs','ofdLs','performScan','EWNQi','stop','reason','helpers','959776SVfPnK','getResultsSummary','commandsToWrap','ZnBnW','info','bddStep','bs:addLog:','bddStepStart','../../helpers/logger','base64','util','bddStepFinish','status','nLGNA','aaklN','codeceptjs/lib/index.js','testAnalyticsId','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','uNHYO','getSyncScript','pid','apply','JevUB','start','929580eGVKZv','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','executeScript','lQLes','HOOK_RUN_STARTED','warn','event','bind','./o11yHelper','toISOString','stopMonitoring','screenshotOutputFolder','../../helpers/request-spy','__driver','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','9971576NOCwXo','8715680ssgpQM','saveScreenshot','shouldWrapCommand','container','TEST_RUN_FINISHED'];a1_0x5a11=function(){return _0x423d02;};return a1_0x5a11();}
1
+ const a1_0x4424a0=a1_0x2c4a;(function(_0x1d055d,_0x4e24f1){const _0x323ebf=a1_0x2c4a,_0x54c157=_0x1d055d();while(!![]){try{const _0x39f13a=-parseInt(_0x323ebf(0x24b))/0x1+-parseInt(_0x323ebf(0x212))/0x2*(-parseInt(_0x323ebf(0x24e))/0x3)+-parseInt(_0x323ebf(0x1c2))/0x4*(-parseInt(_0x323ebf(0x1f1))/0x5)+parseInt(_0x323ebf(0x202))/0x6+parseInt(_0x323ebf(0x230))/0x7+-parseInt(_0x323ebf(0x1bd))/0x8*(-parseInt(_0x323ebf(0x1f6))/0x9)+-parseInt(_0x323ebf(0x252))/0xa;if(_0x39f13a===_0x4e24f1)break;else _0x54c157['push'](_0x54c157['shift']());}catch(_0x3ee2ad){_0x54c157['push'](_0x54c157['shift']());}}}(a1_0x4909,0xed60a));function a1_0x2c4a(_0x423ada,_0x346de2){const _0x490932=a1_0x4909();return a1_0x2c4a=function(_0x2c4a13,_0xb88551){_0x2c4a13=_0x2c4a13-0x1bc;let _0x95a96e=_0x490932[_0x2c4a13];return _0x95a96e;},a1_0x2c4a(_0x423ada,_0x346de2);}const fs=require('fs'),util=require(a1_0x4424a0(0x1e0)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x4424a0(0x235)),logger=require(a1_0x4424a0(0x22f))[a1_0x4424a0(0x1f7)],testOpsHelper=require('../../helpers/test-observability/utils'),requestSpy=require('../../helpers/request-spy'),PlaywrightSessionDetails=require(a1_0x4424a0(0x21b)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x4424a0(0x215)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x4424a0(0x22e)),AccessibilityHelper=require('../../bin/playwright/accessibility-helper'),scripts=require(a1_0x4424a0(0x1ce)),PerformanceTester=require(a1_0x4424a0(0x1cf)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x4424a0(0x1e5)),testHubConstants=require('../../helpers/testhub/constants.js'),CodeceptJS=requireModule(a1_0x4424a0(0x244)),CodeceptUtils=requireModule('codeceptjs/lib/utils.js'),CodeceptWebDriver=requireModule(a1_0x4424a0(0x209)),CodeceptRecorder=requireModule(a1_0x4424a0(0x23d)),CodeceptPlaywright=requireModule(a1_0x4424a0(0x246)),playwrightMarkSessionStatus=(_0x57c3fc,_0x54ba34,_0x317aa6)=>{const _0x46dd35=a1_0x4424a0,_0x44e6f7={'NDLdL':_0x46dd35(0x224),'SbOgb':function(_0x341833,_0x295031){return _0x341833(_0x295031);}},_0x17f94c={};_0x17f94c[_0x46dd35(0x1de)]=_0x54ba34;const _0x44c699={};_0x44c699['action']=_0x44e6f7[_0x46dd35(0x1f2)],_0x44c699[_0x46dd35(0x220)]=_0x17f94c;const _0x4ee0d0=_0x44c699;return!_0x44e6f7[_0x46dd35(0x1c3)](isUndefined,_0x317aa6)&&(_0x4ee0d0[_0x46dd35(0x220)][_0x46dd35(0x207)]=JSON[_0x46dd35(0x1c4)](_0x317aa6)),_0x57c3fc[_0x46dd35(0x1d4)](()=>{},_0x46dd35(0x1e8)+JSON[_0x46dd35(0x1c4)](_0x4ee0d0));},o11ySync=async _0x26a31f=>{const _0x4975f4=a1_0x4424a0,_0x5b55e6={};_0x5b55e6[_0x4975f4(0x1eb)]=function(_0x9d1098,_0x1cf731){return _0x9d1098===_0x1cf731;},_0x5b55e6['DdUBp']='Playwright';const _0x4a76c7=_0x5b55e6;_0x4a76c7[_0x4975f4(0x1eb)](_0x26a31f['constructor'][_0x4975f4(0x1ea)],_0x4a76c7['DdUBp'])?await _0x26a31f[_0x4975f4(0x1d4)](_0x40ea08=>{},testOpsHelper[_0x4975f4(0x234)]()):await _0x26a31f['executeScript'](testOpsHelper[_0x4975f4(0x234)]());},markSessionName=async(_0x1fa123,_0x21096d)=>{const _0x4f7b86=a1_0x4424a0,_0x3dd110={};_0x3dd110[_0x4f7b86(0x242)]=_0x4f7b86(0x1c0),_0x3dd110[_0x4f7b86(0x1fb)]=function(_0x1298de,_0xf91bd2){return _0x1298de===_0xf91bd2;},_0x3dd110[_0x4f7b86(0x211)]=_0x4f7b86(0x22a);const _0x190175=_0x3dd110,_0x12d586={};_0x12d586['name']=_0x21096d;const _0x4a6e37={};_0x4a6e37[_0x4f7b86(0x21c)]=_0x190175[_0x4f7b86(0x242)],_0x4a6e37[_0x4f7b86(0x220)]=_0x12d586;const _0x83178e=_0x4a6e37;_0x190175['bjRbS'](_0x1fa123[_0x4f7b86(0x1d2)][_0x4f7b86(0x1ea)],_0x190175['lArkU'])?await _0x1fa123['executeScript'](()=>{},_0x4f7b86(0x1e8)+JSON['stringify'](_0x83178e)):await _0x1fa123[_0x4f7b86(0x1d4)](_0x4f7b86(0x1e8)+JSON['stringify'](_0x83178e));},patchSaveScreenshot=_0x2aaa4e=>{const _0x7e8a86=a1_0x4424a0,_0x3f1855={'rDisg':_0x7e8a86(0x237),'crYib':'TEST_SCREENSHOT','oQZVU':function(_0x4c2640){return _0x4c2640();},'rmHNH':function(_0x34d02f,_0x594f42){return _0x34d02f(_0x594f42);}};_0x3f1855[_0x7e8a86(0x1d0)](isTrue,process[_0x7e8a86(0x1c7)]['BS_TESTOPS_ALLOW_SCREENSHOTS'])&&!_0x2aaa4e[_0x7e8a86(0x1dc)]&&(_0x2aaa4e['patchSaveScreenshot']=!![],_0x2aaa4e[_0x7e8a86(0x1fc)]=_0x2aaa4e[_0x7e8a86(0x248)],_0x2aaa4e['saveScreenshot']=(_0x1f553c,_0x3f3340=![])=>{const _0x270053=_0x7e8a86,_0x176a01={'VpvJT':_0x3f1855[_0x270053(0x1c8)],'vYGfG':_0x3f1855['crYib'],'cGDHB':function(_0x542a5a){const _0x5a05f9=_0x270053;return _0x3f1855[_0x5a05f9(0x225)](_0x542a5a);}};return new Promise(function(_0x3c7c9a,_0x1ba731){const _0x1dcb20=_0x270053;_0x2aaa4e[_0x1dcb20(0x1fc)](_0x1f553c,_0x3f3340)[_0x1dcb20(0x1c5)](()=>{const _0x560538=_0x1dcb20,_0x23a4b2=CodeceptUtils[_0x560538(0x1e2)](_0x1f553c),_0x32de4c=fs['readFileSync'](_0x23a4b2);process['emit']('bs:addLog:'+process[_0x560538(0x218)],{'timestamp':new Date()[_0x560538(0x232)](),'message':_0x32de4c[_0x560538(0x216)](_0x176a01['VpvJT']),'kind':_0x176a01['vYGfG']}),_0x176a01[_0x560538(0x20b)](_0x3c7c9a);})[_0x1dcb20(0x1f3)](()=>null);});});},patchWebDriverBefore=_0x110245=>{const _0x2409e4=a1_0x4424a0,_0x11a4c3={'Flbgn':function(_0x3f4113){return _0x3f4113();},'XuWBM':function(_0x34680e,_0x40dcf8){return _0x34680e(_0x40dcf8);},'GSlvL':function(_0x4b5a20,_0x57a69c){return _0x4b5a20===_0x57a69c;},'ntNHO':'Element'},_0x4a1c7e=async function(_0x2d69b3,_0x46cfb9){const _0x43a584=a1_0x2c4a;return _0x11a4c3[_0x43a584(0x1ed)](isAccessibilityAutomationSession)&&!global['bstackAllyScanning']&&global[_0x43a584(0x1dd)]&&scripts['shouldWrapCommand'](_0x2d69b3[_0x43a584(0x1ea)])&&_0x11a4c3[_0x43a584(0x229)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x43a584(0x257)]=!![],logger[_0x43a584(0x1ee)]('Performing\x20scan\x20for\x20'+_0x2d69b3[_0x43a584(0x238)]+'\x20'+_0x2d69b3['name']),await AccessibilityHelper[_0x43a584(0x1d6)](_0x110245,scripts[_0x43a584(0x219)])),global[_0x43a584(0x257)]=![],_0x46cfb9[_0x43a584(0x1e6)](this,Array[_0x43a584(0x1ff)]['slice'][_0x43a584(0x1c1)](arguments,0x2));},_0x537ba8=CodeceptWebDriver[_0x2409e4(0x1ff)][_0x2409e4(0x228)];CodeceptWebDriver[_0x2409e4(0x1ff)][_0x2409e4(0x228)]=async function(){const _0x887443=_0x2409e4,_0x175c44={'mgdQv':function(_0x200eb8,_0x51162c){const _0x96dac4=a1_0x2c4a;return _0x11a4c3[_0x96dac4(0x1d9)](_0x200eb8,_0x51162c);},'ScafR':_0x11a4c3[_0x887443(0x23f)]};await _0x537ba8[_0x887443(0x1e6)](this,arguments),scripts['commandsToWrap'][_0x887443(0x1e4)](_0xa6d09c=>_0xa6d09c[_0x887443(0x1ea)]&&_0xa6d09c[_0x887443(0x238)])[_0x887443(0x201)](_0x7d5654=>{const _0x42c498=_0x887443;this[_0x42c498(0x200)][_0x42c498(0x214)](_0x7d5654[_0x42c498(0x1ea)],_0x4a1c7e[_0x42c498(0x20c)](this,_0x7d5654),_0x175c44[_0x42c498(0x24a)](_0x7d5654[_0x42c498(0x238)],_0x175c44['ScafR']));}),_0x11a4c3[_0x887443(0x229)](processWebDriverConfig,_0x110245);};},patchPlaywrightBefore=()=>{const _0x5c8893=a1_0x4424a0;PlaywrightSessionDetails[_0x5c8893(0x250)]();const _0x321d6e=CodeceptPlaywright[_0x5c8893(0x1ff)]['_before'];CodeceptPlaywright[_0x5c8893(0x1ff)][_0x5c8893(0x228)]=async function(){const _0x4e2519=_0x5c8893;this['browserContext']=await this[_0x4e2519(0x200)][_0x4e2519(0x1ef)]()[0x0],await _0x321d6e[_0x4e2519(0x1e6)](this,arguments);};},getCodeceptDriver=()=>{const _0x4fc4be=a1_0x4424a0,_0x1d8940={};_0x1d8940[_0x4fc4be(0x22d)]='WebDriver',_0x1d8940['swSnU']=_0x4fc4be(0x22a),_0x1d8940[_0x4fc4be(0x23b)]=_0x4fc4be(0x1f8),_0x1d8940['dEMOw']='TestCafe';const _0x54de3f=_0x1d8940,_0x32c5d1=[_0x54de3f[_0x4fc4be(0x22d)],_0x54de3f[_0x4fc4be(0x21e)],_0x54de3f['DoWdI'],_0x54de3f[_0x4fc4be(0x1f4)]],_0xea591=_0x32c5d1[_0x4fc4be(0x243)](_0x1af77f=>!!CodeceptJS[_0x4fc4be(0x259)][_0x4fc4be(0x1d7)](_0x1af77f));if(!_0xea591)return null;return CodeceptJS[_0x4fc4be(0x259)][_0x4fc4be(0x1d7)](_0xea591);};module['exports']=function(_0x2217f0){const _0x1ba147=a1_0x4424a0,_0x3c9766={'gnnFX':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','BlXCi':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','HCRVy':function(_0x298061){return _0x298061();},'agfTs':function(_0x1dac81,_0x5bffa8){return _0x1dac81(_0x5bffa8);},'XEdBM':function(_0x2f9eda,_0x279db8,_0x4f4277){return _0x2f9eda(_0x279db8,_0x4f4277);},'aRfOu':function(_0x17da42,_0x2743fc){return _0x17da42(_0x2743fc);},'ZDmfs':function(_0x3aaff2){return _0x3aaff2();},'cBsYq':function(_0x375934,_0x418d59,_0x53177e){return _0x375934(_0x418d59,_0x53177e);},'UDdTd':function(_0x2d4226,_0x3e54e9,_0x4b09db,_0x10aaf4){return _0x2d4226(_0x3e54e9,_0x4b09db,_0x10aaf4);},'yEgIz':function(_0x3c60bd,_0x4dc6e0){return _0x3c60bd===_0x4dc6e0;},'SAxai':_0x1ba147(0x206),'xXyPI':function(_0x1a5cd7){return _0x1a5cd7();},'HILBY':_0x1ba147(0x223),'mePSS':'INFO','zapoQ':'TEST_LOG','VlHUD':function(_0x3a6106){return _0x3a6106();},'zGjsM':_0x1ba147(0x22a),'jUSGK':function(_0x5e76f0){return _0x5e76f0();},'TSHbM':function(_0x1f7ec5,_0x1a7eeb){return _0x1f7ec5(_0x1a7eeb);}};_0x2217f0['skipSessionStatus']&&(global[_0x1ba147(0x23a)]=_0x2217f0['skipSessionStatus']);PerformanceTester[_0x1ba147(0x1da)]();const _0x574bff=_0x3c9766['VlHUD'](getCodeceptDriver),_0xf6b9f7=new O11yHelper(_0x574bff,_0x2217f0),_0x53454a=!!CodeceptJS['container']['helpers'](_0x3c9766[_0x1ba147(0x240)]);global[_0x1ba147(0x1be)]=_0x574bff,_0x574bff&&(_0x53454a?_0x3c9766['jUSGK'](patchPlaywrightBefore):_0x3c9766[_0x1ba147(0x1f9)](patchWebDriverBefore,_0x574bff),_0x574bff['getAccessibilityResultsSummary']=async()=>{const _0x492884=_0x1ba147;if(global[_0x492884(0x1dd)])await AccessibilityHelper[_0x492884(0x1d6)](_0x574bff,scripts[_0x492884(0x219)]),await AccessibilityHelper[_0x492884(0x1d6)](_0x574bff,scripts['getResultsSummary']);else return logger[_0x492884(0x24f)](_0x3c9766['gnnFX']),{};},_0x574bff[_0x1ba147(0x249)]=async()=>{const _0x5ecc0b=_0x1ba147;if(global['accessibilityPlatform'])await AccessibilityHelper['browserStackExecuteDriver'](_0x574bff,scripts[_0x5ecc0b(0x219)]),await AccessibilityHelper[_0x5ecc0b(0x1d6)](_0x574bff,scripts[_0x5ecc0b(0x253)]);else return logger[_0x5ecc0b(0x24f)](_0x3c9766[_0x5ecc0b(0x203)]),{};},_0x3c9766[_0x1ba147(0x258)](patchSaveScreenshot,_0x574bff)),CodeceptJS[_0x1ba147(0x20a)][_0x1ba147(0x24c)]['on'](CodeceptJS[_0x1ba147(0x20a)]['all'][_0x1ba147(0x21a)],()=>{const _0x45e631=_0x1ba147;try{_0xf6b9f7[_0x45e631(0x1f0)](),testOpsHelper[_0x45e631(0x1e9)]();}catch(_0x3e70e8){PerformanceTester[_0x45e631(0x1db)](_0x3e70e8);}}),CodeceptJS[_0x1ba147(0x20a)][_0x1ba147(0x24c)]['on'](CodeceptJS[_0x1ba147(0x20a)][_0x1ba147(0x20d)][_0x1ba147(0x1fa)],async()=>{const _0xd190a6=_0x1ba147;try{requestSpy[_0xd190a6(0x204)](),await _0xf6b9f7['stop']();}catch(_0x40b898){PerformanceTester[_0xd190a6(0x1db)](_0x40b898);}finally{PerformanceTester[_0xd190a6(0x21d)]();}}),CodeceptJS[_0x1ba147(0x20a)][_0x1ba147(0x24c)]['on'](CodeceptJS[_0x1ba147(0x20a)][_0x1ba147(0x1d1)][_0x1ba147(0x254)],_0x45ffbd=>{const _0x1c8ccf=_0x1ba147;try{const _0x568032=_0x45ffbd[_0x1c8ccf(0x23e)]['test'],_0x100340=_0xf6b9f7[_0x1c8ccf(0x1cb)](TEST_EVENTS[_0x1c8ccf(0x1f5)],_0x568032);CodeceptRecorder['add'](()=>_0xf6b9f7[_0x1c8ccf(0x236)](TEST_EVENTS[_0x1c8ccf(0x1f5)],_0x100340));}catch(_0x3049eb){PerformanceTester[_0x1c8ccf(0x1db)](_0x3049eb);}}),CodeceptJS[_0x1ba147(0x20a)]['dispatcher']['on'](CodeceptJS[_0x1ba147(0x20a)][_0x1ba147(0x1d1)][_0x1ba147(0x256)],_0xccbc5f=>{const _0x234f48=_0x1ba147;try{const _0x4f9f18=_0xccbc5f[_0x234f48(0x23e)][_0x234f48(0x239)],_0x2f98fb=_0xf6b9f7[_0x234f48(0x1cb)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x4f9f18);CodeceptRecorder[_0x234f48(0x1cd)](()=>_0xf6b9f7[_0x234f48(0x236)](TEST_EVENTS[_0x234f48(0x1d3)],_0x2f98fb));}catch(_0x40fe3a){PerformanceTester[_0x234f48(0x1db)](_0x40fe3a);}}),CodeceptJS[_0x1ba147(0x20a)]['dispatcher']['on'](CodeceptJS[_0x1ba147(0x20a)][_0x1ba147(0x1d1)]['failed'],async(_0x4525da,_0x5d20c8)=>{const _0x5bb5de=_0x1ba147;try{const _0x16f640=_0x4525da[_0x5bb5de(0x23e)][_0x5bb5de(0x239)],_0xafb6ff=_0xf6b9f7[_0x5bb5de(0x1cb)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x16f640,_0x5d20c8);CodeceptRecorder[_0x5bb5de(0x1cd)](()=>_0xf6b9f7[_0x5bb5de(0x236)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0xafb6ff));}catch(_0x2fa4f4){PerformanceTester['captureError'](_0x2fa4f4);}}),CodeceptJS[_0x1ba147(0x20a)]['dispatcher']['on'](CodeceptJS[_0x1ba147(0x20a)]['test']['before'],_0x3d0c63=>{const _0x3bb03e=_0x1ba147;try{_0x3c9766[_0x3bb03e(0x210)](isBrowserstackInfra)&&(_0x53454a&&(global['__workerDetails']={'currentTest':{'name':_0x3d0c63[_0x3bb03e(0x1d5)],'testInfo':{'titlePath':_0x3d0c63[_0x3bb03e(0x22c)]()}}}));}catch(_0x200035){PerformanceTester[_0x3bb03e(0x1db)](_0x200035);}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x1ba147(0x20a)]['test'][_0x1ba147(0x254)],_0x5aa2fd=>{const _0x57e8dd=_0x1ba147;try{const _0x2b8875=_0xf6b9f7[_0x57e8dd(0x1cb)](TEST_EVENTS[_0x57e8dd(0x1df)],_0x5aa2fd);CodeceptRecorder[_0x57e8dd(0x1cd)](()=>_0xf6b9f7[_0x57e8dd(0x236)](TEST_EVENTS[_0x57e8dd(0x1df)],_0x2b8875)),CodeceptRecorder['add'](async()=>{const _0x5658a2=_0x57e8dd;_0x3c9766['HCRVy'](isBrowserstackInfra)&&(!_0x3c9766[_0x5658a2(0x1fd)](isTrue,_0x2217f0[_0x5658a2(0x23c)])&&await _0x3c9766[_0x5658a2(0x1d8)](markSessionName,_0x574bff,_0x5aa2fd[_0x5658a2(0x1d5)]),_0xf6b9f7[_0x5658a2(0x233)]&&await _0x3c9766[_0x5658a2(0x258)](o11ySync,_0x574bff));});}catch(_0x24e015){PerformanceTester[_0x57e8dd(0x1db)](_0x24e015);}}),CodeceptJS[_0x1ba147(0x20a)][_0x1ba147(0x24c)]['on'](CodeceptJS[_0x1ba147(0x20a)][_0x1ba147(0x239)][_0x1ba147(0x256)],_0x275810=>{const _0xf63afc=_0x1ba147,_0x51b0dc={'XAnZF':function(_0x2d9c14){const _0x4c6b6b=a1_0x2c4a;return _0x3c9766[_0x4c6b6b(0x1ca)](_0x2d9c14);},'LYjmB':function(_0x528e12,_0x204458,_0x2f0ab5){const _0x56202d=a1_0x2c4a;return _0x3c9766[_0x56202d(0x1e7)](_0x528e12,_0x204458,_0x2f0ab5);}};try{const _0x98d2a9=_0xf6b9f7['captureEvent'](TEST_EVENTS['TEST_RUN_FINISHED'],_0x275810);CodeceptRecorder[_0xf63afc(0x1cd)](()=>_0xf6b9f7[_0xf63afc(0x236)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x98d2a9)),CodeceptRecorder[_0xf63afc(0x1cd)](async()=>{const _0x14f5ea=_0xf63afc;_0x51b0dc[_0x14f5ea(0x217)](isBrowserstackInfra)&&(_0x53454a?await _0x51b0dc[_0x14f5ea(0x227)](playwrightMarkSessionStatus,_0x574bff,STATE_PASSED):await _0x51b0dc[_0x14f5ea(0x227)](markSessionStatus,_0x574bff,STATE_PASSED));});}catch(_0x40596e){PerformanceTester[_0xf63afc(0x1db)](_0x40596e);}}),CodeceptJS[_0x1ba147(0x20a)][_0x1ba147(0x24c)]['on'](CodeceptJS[_0x1ba147(0x20a)][_0x1ba147(0x239)][_0x1ba147(0x1e3)],(_0x550b70,_0x1e9f3b)=>{const _0x3e28c2=_0x1ba147,_0x5ddf4f={'FeaqW':function(_0x5338ff){const _0x3e748e=a1_0x2c4a;return _0x3c9766[_0x3e748e(0x210)](_0x5338ff);},'ZhLIv':function(_0x37093c,_0x54b18b,_0x4dd726,_0x348071){const _0x40cd68=a1_0x2c4a;return _0x3c9766[_0x40cd68(0x226)](_0x37093c,_0x54b18b,_0x4dd726,_0x348071);},'EqewL':function(_0x558092,_0x2b35d4,_0x108922,_0x33e8ec){const _0x266d95=a1_0x2c4a;return _0x3c9766[_0x266d95(0x226)](_0x558092,_0x2b35d4,_0x108922,_0x33e8ec);}};try{if(_0x3c9766[_0x3e28c2(0x20f)](_0x550b70[_0x3e28c2(0x1d2)][_0x3e28c2(0x1ea)],_0x3c9766[_0x3e28c2(0x1bc)])){const _0x9593a0=_0xf6b9f7[_0x3e28c2(0x1cb)](TEST_EVENTS[_0x3e28c2(0x1c9)],_0x550b70[_0x3e28c2(0x23e)]['currentTest']);CodeceptRecorder[_0x3e28c2(0x1cd)](()=>_0xf6b9f7[_0x3e28c2(0x236)](TEST_EVENTS[_0x3e28c2(0x1c9)],_0x9593a0));}else{const _0x527518=_0xf6b9f7[_0x3e28c2(0x1cb)](TEST_EVENTS[_0x3e28c2(0x231)],_0x550b70,_0x1e9f3b);CodeceptRecorder[_0x3e28c2(0x1cd)](()=>{const _0x114d8d=_0x3e28c2;try{_0xf6b9f7[_0x114d8d(0x236)](TEST_EVENTS[_0x114d8d(0x231)],_0x527518);}catch(_0x4e428c){logger[_0x114d8d(0x1ee)]('Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20'+util[_0x114d8d(0x213)](_0x4e428c));}}),CodeceptRecorder[_0x3e28c2(0x1cd)](async()=>{const _0x11b94b=_0x3e28c2;try{_0x5ddf4f[_0x11b94b(0x221)](isBrowserstackInfra)&&(_0x53454a?await _0x5ddf4f['ZhLIv'](playwrightMarkSessionStatus,_0x574bff,STATE_FAILED,_0x1e9f3b):await _0x5ddf4f[_0x11b94b(0x22b)](markSessionStatus,_0x574bff,STATE_FAILED,_0x1e9f3b));}catch(_0x42da29){logger[_0x11b94b(0x1ee)]('Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20'+util[_0x11b94b(0x213)](_0x42da29));}});}}catch(_0x565c46){PerformanceTester[_0x3e28c2(0x1db)](_0x565c46);}}),CodeceptJS[_0x1ba147(0x20a)][_0x1ba147(0x24c)]['on'](CodeceptJS[_0x1ba147(0x20a)][_0x1ba147(0x239)][_0x1ba147(0x1fe)],_0x5d6f79=>{const _0x28ab9f=_0x1ba147;try{const _0x175f47=_0xf6b9f7[_0x28ab9f(0x1cb)](TEST_EVENTS[_0x28ab9f(0x1c9)],_0x5d6f79);CodeceptRecorder[_0x28ab9f(0x1cd)](()=>_0xf6b9f7[_0x28ab9f(0x236)](TEST_EVENTS[_0x28ab9f(0x1c9)],_0x175f47));}catch(_0xee8cd){PerformanceTester[_0x28ab9f(0x1db)](_0xee8cd);}}),CodeceptJS[_0x1ba147(0x20a)][_0x1ba147(0x24c)]['on'](CodeceptJS[_0x1ba147(0x20a)][_0x1ba147(0x239)][_0x1ba147(0x1fa)],async(_0x3a6fce,_0x3bf1a7)=>{const _0x240dad=_0x1ba147;try{if(_0x3c9766['HCRVy'](isBrowserstackInfra)){const _0x4d3b4a=_0x3c9766[_0x240dad(0x1d8)](shouldScanTestForAccessibility,_0x3a6fce['titlePath'](),!![]);if(_0x3c9766[_0x240dad(0x222)](isAccessibilityAutomationSession)&&global[_0x240dad(0x1dd)]&&_0x4d3b4a){const _0x389881={};_0x389881['thTestRunUuid']=_0x3a6fce['testAnalyticsId'],_0x389881[_0x240dad(0x1e1)]=process[_0x240dad(0x1c7)][testHubConstants['ENV_VAR'][_0x240dad(0x247)]],_0x389881[_0x240dad(0x24d)]=process[_0x240dad(0x1c7)][testHubConstants[_0x240dad(0x1ec)]['BROWSERSTACK_TESTHUB_JWT']];const _0xc83293=_0x389881;logger[_0x240dad(0x1ee)](_0x240dad(0x1c6)+JSON[_0x240dad(0x1c4)](_0xc83293)),CodeceptRecorder['add'](async()=>{const _0x3d84b2=_0x240dad;await AccessibilityHelper[_0x3d84b2(0x1d6)](_0x574bff,scripts[_0x3d84b2(0x219)]),await AccessibilityHelper[_0x3d84b2(0x1d6)](_0x574bff,scripts[_0x3d84b2(0x251)],_0xc83293);}),logger[_0x240dad(0x245)](_0x3c9766['HILBY']);}}}catch(_0x33a348){PerformanceTester[_0x240dad(0x1db)](_0x33a348);}}),CodeceptJS[_0x1ba147(0x20a)][_0x1ba147(0x24c)]['on'](CodeceptJS[_0x1ba147(0x20a)][_0x1ba147(0x241)][_0x1ba147(0x1bf)],_0x516969=>{const _0x519519=_0x1ba147;try{process[_0x519519(0x208)](_0x519519(0x21f)+process[_0x519519(0x218)],{'timestamp':new Date()['toISOString'](),'level':_0x3c9766[_0x519519(0x205)],'message':_0x516969,'kind':_0x3c9766['zapoQ'],'http_response':{}});}catch(_0x14499c){PerformanceTester[_0x519519(0x1db)](_0x14499c);}}),CodeceptJS[_0x1ba147(0x20a)][_0x1ba147(0x24c)]['on'](CodeceptJS['event'][_0x1ba147(0x1cc)][_0x1ba147(0x21a)],_0x59ff44=>{const _0x13a9cb=_0x1ba147;_0xf6b9f7[_0x13a9cb(0x255)](_0x59ff44);}),CodeceptJS['event'][_0x1ba147(0x24c)]['on'](CodeceptJS[_0x1ba147(0x20a)]['bddStep'][_0x1ba147(0x1fa)],_0x89c19a=>{const _0x2da3bb=_0x1ba147;_0xf6b9f7[_0x2da3bb(0x20e)](_0x89c19a);});};function a1_0x4909(){const _0x2d8221=['getAccessibilityResults','mgdQv','157348qMkCno','dispatcher','thJwtToken','1163355ndObEj','warn','patch','saveTestResults','21757190ZevSLR','getResults','started','bddStepStart','passed','bstackAllyScanning','aRfOu','container','SAxai','8JQxgqo','__driver','comment','setSessionName','call','8ziRccK','SbOgb','stringify','then','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','env','rDisg','TEST_RUN_SKIPPED','ZDmfs','captureEvent','bddStep','add','../../helpers/accessibility-automation/scripts','../../helpers/performance-tester','rmHNH','hook','constructor','HOOK_RUN_FINISHED','executeScript','title','browserStackExecuteDriver','helpers','XEdBM','GSlvL','startMonitoring','captureError','patchSaveScreenshot','accessibilityPlatform','status','TEST_RUN_STARTED','util','thBuildUuid','screenshotOutputFolder','failed','filter','./helper.js','apply','cBsYq','browserstack_executor:\x20','addRequestSpy','name','khgsa','ENV_VAR','Flbgn','debug','contexts','start','464480JirOyT','NDLdL','catch','dEMOw','HOOK_RUN_STARTED','9176913PZqAVw','winstonLogger','Puppeteer','TSHbM','after','bjRbS','initSaveScreenshot','agfTs','skipped','prototype','browser','forEach','4542402QBoXKL','BlXCi','restore','mePSS','Suite','reason','emit','codeceptjs/lib/helper/WebDriver.js','event','cGDHB','bind','all','bddStepFinish','yEgIz','HCRVy','lArkU','6rQSaBH','format','overwriteCommand','./o11yHelper','toString','XAnZF','pid','performScan','before','../../bin/playwright/sessionDetails','action','stopMonitoring','swSnU','bs:addLog:','arguments','FeaqW','xXyPI','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','setSessionStatus','oQZVU','UDdTd','LYjmB','_before','XuWBM','Playwright','EqewL','titlePath','SumGU','../../helpers/accessibility-automation/helper','../../helpers/logger','1256458usuAmm','TEST_RUN_FINISHED','toISOString','enabled','getSyncScript','../../helpers/helper','fireEvent','base64','class','test','__skipSessionStatus','DoWdI','skipSessionName','codeceptjs/lib/recorder.js','ctx','ntNHO','zGjsM','step','RUoEO','find','codeceptjs/lib/index.js','info','codeceptjs/lib/helper/Playwright.js','BROWSERSTACK_TESTHUB_UUID','saveScreenshot'];a1_0x4909=function(){return _0x2d8221;};return a1_0x4909();}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a2_0x2cb11c=a2_0x5c4a;(function(_0x3789fd,_0x3012f7){const _0x1e4be4=a2_0x5c4a,_0xf19e87=_0x3789fd();while(!![]){try{const _0x14c7c3=parseInt(_0x1e4be4(0x1cd))/0x1+-parseInt(_0x1e4be4(0x148))/0x2*(-parseInt(_0x1e4be4(0x18d))/0x3)+-parseInt(_0x1e4be4(0x154))/0x4*(-parseInt(_0x1e4be4(0x18e))/0x5)+-parseInt(_0x1e4be4(0x188))/0x6+-parseInt(_0x1e4be4(0x15c))/0x7*(-parseInt(_0x1e4be4(0x1b8))/0x8)+parseInt(_0x1e4be4(0x1a8))/0x9+-parseInt(_0x1e4be4(0x150))/0xa;if(_0x14c7c3===_0x3012f7)break;else _0xf19e87['push'](_0xf19e87['shift']());}catch(_0x2f18db){_0xf19e87['push'](_0xf19e87['shift']());}}}(a2_0x41f1,0x94ab2));function a2_0x5c4a(_0x4b1188,_0x545d97){const _0x41f164=a2_0x41f1();return a2_0x5c4a=function(_0x5c4a4b,_0x4d49f2){_0x5c4a4b=_0x5c4a4b-0x141;let _0x292ffb=_0x41f164[_0x5c4a4b];return _0x292ffb;},a2_0x5c4a(_0x4b1188,_0x545d97);}function a2_0x41f1(){const _0xac8bd=['LcciS','WebDriver','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','zDtHj','JbIuu','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','title','before','winstonLogger','failed','err','util','YGVWo','getPlaywrightUrl','ZNmGw','skipSessionStatus','ubpDn','-cucumber','lBtfY','testConfig','lvsiF','gherkin','GZNxN','skipSessionName','existsSync','dzaCD','QWILL','codeceptjs','stringify','--config','path','teardownAll','getUserWorkerCount','browserName','4343904JRaxuP','YJrnW','info','printResults','playwright-webkit','3NZifIv','226515tefniU','YnZGE','now','WYMRb','trim','../../helpers/testhub/testhubHandler','desiredCapabilities','mMoSN','plugins','log','stop','parallelsPerPlatform','enabled','debug','createGroupsOfSuites','isTrue','profile','chromium','test','testContextOptions','browser','Passed\x20:\x20','enuIk','process','prepareCapabilities','firefox','4624578gRysmf','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','VQcVW','addConfig','eQoVG','bxTfj','codecept.conf.js','../../helpers/test-observability/utils','browserWSEndpoint','push','codecept.json','env','Workers','slice','CODECEPT','rLSRZ','22176LSFnWA','accessibility','jLCeH','config','accessibilityOptions','split','helpers','isUndefined','../utils/constants','BROWSERSTACK_TEST_OBSERVABILITY_YML','mergeDeep','isTestObservabilitySession','playwright-chromium','Cvxcp','browserStackCwd','testObservability','BrowserStackPlugin.js','useW3C','lTRbM','../../bin/playwright/accessibility-helper','printBuildLink','859180fGdxBJ','bootstrapAll','FRAMEWORKS','2|4|1|3|0','toLowerCase','playwright-firefox','forEach','map','chdir','frameworkName','launchBuild','MjgtE','cwd','require','validPlatformsPresent','2067362VbHaeO','jJheN','kJjvw','widSQ','platforms','../../helpers/accessibility-automation/helper','BROWSERSTACK_RERUN_TESTS','webkit','26054350LvffaB','iPluP','vjUkA','BROWSERSTACK_TEST_ACCESSIBILITY_YML','88mrDgsH','UtLUP','../../helpers/helper','handleApp','dirname','sxNVH','run','getPlatformName','1351OyRFas','finalExecution','lHjgK','join','event','Started\x20:\x20','BrowserStackPlugin','Playwright','zFxtp','chrome'];a2_0x41f1=function(){return _0xac8bd;};return a2_0x41f1();}const fs=require('fs'),path=require(a2_0x2cb11c(0x184)),util=require(a2_0x2cb11c(0x171)),process=require(a2_0x2cb11c(0x1a5)),logger=require('../../helpers/logger')[a2_0x2cb11c(0x16e)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a2_0x2cb11c(0x156)),utilities=require('../../helpers/utilities'),{checkAccessibilityPlatformConfig}=require(a2_0x2cb11c(0x14d)),{setAccessibilityCapabilities}=require(a2_0x2cb11c(0x1cb)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x2cb11c(0x156)),CodeceptJS=requireModule('codeceptjs/lib/index.js'),testOpsHelper=require(a2_0x2cb11c(0x1af)),TestHubHandler=require(a2_0x2cb11c(0x193)),constants=require(a2_0x2cb11c(0x1c0)),_testErrorData=[],getUserCodeceptJSConfigs=(_0x587897,_0x196d18)=>{const _0x37c8d3=a2_0x2cb11c,_0x570439={};_0x570439[_0x37c8d3(0x195)]=function(_0x11c365,_0x544515){return _0x11c365===_0x544515;},_0x570439[_0x37c8d3(0x191)]=_0x37c8d3(0x1ae),_0x570439['lHjgK']=_0x37c8d3(0x1b2);const _0x5ba01b=_0x570439;let _0x507701=null;const _0x32b3d0={};let _0x3e56c7=_0x196d18['findIndex'](_0x3e0c3a=>_0x3e0c3a===_0x37c8d3(0x183));_0x5ba01b['mMoSN'](_0x3e56c7,-0x1)&&(_0x3e56c7=_0x196d18['findIndex'](_0x3e78e4=>_0x3e78e4==='-c'));if(!helper[_0x37c8d3(0x1bf)](_0x587897[_0x37c8d3(0x1bb)])&&fs[_0x37c8d3(0x17e)](path[_0x37c8d3(0x15f)](process[_0x37c8d3(0x145)](),_0x587897[_0x37c8d3(0x1bb)])))_0x507701=path[_0x37c8d3(0x15f)](process[_0x37c8d3(0x145)](),_0x587897['config']),_0x196d18[_0x37c8d3(0x1b5)](_0x3e56c7,0x2);else{if(!helper[_0x37c8d3(0x1bf)](_0x587897['c'])&&fs[_0x37c8d3(0x17e)](path[_0x37c8d3(0x15f)](process[_0x37c8d3(0x145)](),_0x587897['c'])))_0x507701=path[_0x37c8d3(0x15f)](process[_0x37c8d3(0x145)](),_0x587897['c']),_0x196d18['slice'](_0x3e56c7,0x2);else{if(fs[_0x37c8d3(0x17e)](path[_0x37c8d3(0x15f)](process[_0x37c8d3(0x145)](),_0x5ba01b[_0x37c8d3(0x191)])))_0x507701=path[_0x37c8d3(0x15f)](process['cwd'](),_0x5ba01b[_0x37c8d3(0x191)]);else fs['existsSync'](path['join'](process[_0x37c8d3(0x145)](),_0x5ba01b['lHjgK']))&&(_0x507701=path[_0x37c8d3(0x15f)](process['cwd'](),_0x5ba01b[_0x37c8d3(0x15e)]));}}return _0x507701;},getO11yRerunPattern=()=>{const _0x173612=a2_0x2cb11c,_0x40911b={};_0x40911b[_0x173612(0x1a4)]=function(_0x4ae32f,_0x556703){return _0x4ae32f!==_0x556703;},_0x40911b[_0x173612(0x14a)]='null';const _0x29bc87=_0x40911b,_0x381d23=helper[_0x173612(0x19d)](process[_0x173612(0x1b3)]['BROWSERSTACK_RERUN']);if(_0x381d23){const _0x13e19c=process[_0x173612(0x1b3)][_0x173612(0x14e)],_0x15b78b=[];if(_0x29bc87[_0x173612(0x1a4)](_0x13e19c,_0x29bc87['kJjvw'])&&!helper[_0x173612(0x1bf)](_0x13e19c)){_0x13e19c[_0x173612(0x1bd)](',')[_0x173612(0x1d4)](_0x27137f=>{const _0x4142ae=_0x173612;_0x15b78b[_0x4142ae(0x1b1)]('('+_0x27137f[_0x4142ae(0x192)]()+')');});const _0x4b6d08='^'+_0x15b78b['join']('|')+'$';return _0x4b6d08;}}return null;},a2_0x26363a={};a2_0x26363a[a2_0x2cb11c(0x165)]=a2_0x2cb11c(0x19f),a2_0x26363a[a2_0x2cb11c(0x1c4)]=a2_0x2cb11c(0x19f),a2_0x26363a[a2_0x2cb11c(0x1d2)]=a2_0x2cb11c(0x1a7),a2_0x26363a[a2_0x2cb11c(0x18c)]=a2_0x2cb11c(0x14f);const pwToCodeceptBrowser=a2_0x26363a;async function run(_0x3631de,_0x46d056){const _0x389a68=a2_0x2cb11c,_0x59d607={'ubpDn':function(_0x294b2d,_0x5be20b){return _0x294b2d+_0x5be20b;},'dzaCD':function(_0x53f3a5,_0x17fc26){return _0x53f3a5(_0x17fc26);},'bxTfj':function(_0x513e98,_0x54ecc5){return _0x513e98+_0x54ecc5;},'YGVWo':function(_0xe1bf97,_0x1a28ba,_0x5875eb){return _0xe1bf97(_0x1a28ba,_0x5875eb);},'eQoVG':'config','YJrnW':_0x389a68(0x1be),'VQcVW':function(_0x51bbe9){return _0x51bbe9();},'lBtfY':function(_0x9339c4){return _0x9339c4();},'vjUkA':'Failed\x20:\x20','jJheN':_0x389a68(0x1a3),'zuuAH':_0x389a68(0x161),'UtLUP':_0x389a68(0x1d0),'zFxtp':_0x389a68(0x181),'QWILL':function(_0x512669,_0x447886,_0x3b5ae6){return _0x512669(_0x447886,_0x3b5ae6);},'EewVO':_0x389a68(0x168),'rLSRZ':function(_0x541e9a,_0x31bbe4,_0x1b32bf){return _0x541e9a(_0x31bbe4,_0x1b32bf);},'Cvxcp':_0x389a68(0x163),'vpEuJ':_0x389a68(0x167),'Iccvm':function(_0x2eddfd,_0x2e1ef7){return _0x2eddfd(_0x2e1ef7);},'JbIuu':function(_0x4b856e,_0x2bae95){return _0x4b856e!=_0x2bae95;},'ZNmGw':'false','sxNVH':function(_0x5b693a,_0x1665ce){return _0x5b693a+_0x1665ce;},'nQKRY':_0x389a68(0x17b),'GZNxN':_0x389a68(0x177),'lTRbM':function(_0x5a252a,_0x146037){return _0x5a252a(_0x146037);},'LcciS':function(_0x5cc61a,_0x292898){return _0x5cc61a*_0x292898;},'lvsiF':function(_0x57b8c0,_0x52f597,_0x1268cd){return _0x57b8c0(_0x52f597,_0x1268cd);},'MjgtE':'browser','zDtHj':_0x389a68(0x194),'jLCeH':'root','widSQ':_0x389a68(0x1c8),'YnZGE':_0x389a68(0x1c6),'iPluP':function(_0x3a4044){return _0x3a4044();}},_0x3044cb=new BrowserStackSetup(_0x3631de,_0x59d607['zFxtp']);await _0x3044cb['initialize'](),await helper[_0x389a68(0x157)](_0x3044cb['config']);if(!_0x3044cb['config'])return;process[_0x389a68(0x19e)]=_0x3631de[_0x389a68(0x19e)];_0x3631de['profile']&&(process['env']['profile']=_0x3631de[_0x389a68(0x19e)]);const _0x33c7ad=_0x59d607[_0x389a68(0x180)](getUserCodeceptJSConfigs,_0x3631de,_0x46d056);let _0x275104={};_0x33c7ad?(logger[_0x389a68(0x18a)](_0x389a68(0x16b)+_0x33c7ad),_0x275104=_0x59d607[_0x389a68(0x17f)](require,_0x33c7ad)):logger[_0x389a68(0x18a)](_0x59d607['EewVO']);let _0x3079ce=![];_0x59d607[_0x389a68(0x1b7)](nestedKeyValue,_0x275104,[_0x59d607[_0x389a68(0x1ac)],_0x59d607[_0x389a68(0x189)],_0x59d607[_0x389a68(0x1c5)]])&&(_0x3079ce=!![]);const _0x19dca1=_0x3079ce?_0x59d607['Cvxcp']:_0x59d607['vpEuJ'];let _0x55791f=!_0x3079ce?helper[_0x389a68(0x1c9)](_0x3044cb['config']):![];!helper[_0x389a68(0x1bf)](_0x3044cb[_0x389a68(0x1bb)][_0x389a68(0x1bc)])&&(process[_0x389a68(0x1b3)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x389a68(0x182)](_0x3044cb[_0x389a68(0x1bb)][_0x389a68(0x1bc)]));let _0x5ce15d=_0x3044cb['config'][_0x389a68(0x1b9)];_0x5ce15d=_0x5ce15d||_0x59d607['Iccvm'](checkAccessibilityPlatformConfig,_0x3044cb[_0x389a68(0x1bb)]),process[_0x389a68(0x1b3)][_0x389a68(0x153)]=_0x5ce15d;_0x5ce15d&&(_0x55791f=!_0x5ce15d);_0x59d607[_0x389a68(0x16a)](_0x3044cb[_0x389a68(0x1bb)][_0x389a68(0x1c7)],null)?process[_0x389a68(0x1b3)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x3044cb[_0x389a68(0x1bb)][_0x389a68(0x1c7)]:process[_0x389a68(0x1b3)][_0x389a68(0x1c1)]=_0x59d607[_0x389a68(0x174)];const _0x1f5eef=_0x59d607[_0x389a68(0x159)](_0x59d607[_0x389a68(0x164)],_0x59d607[_0x389a68(0x1b7)](nestedKeyValue,_0x275104,[_0x59d607[_0x389a68(0x1ac)],_0x59d607['nQKRY']])?_0x59d607[_0x389a68(0x17c)]:''),_0x1e915b=await TestHubHandler[_0x389a68(0x143)](_0x1f5eef,_0x3044cb);_0x5ce15d&&_0x59d607[_0x389a68(0x1ca)](setAccessibilityCapabilities,_0x3044cb[_0x389a68(0x1bb)]);const _0x3ca5bc={},_0x2c8496=[],_0x49b325=_0x3044cb['config'][_0x389a68(0x199)]||helper[_0x389a68(0x186)](_0x3631de,_0x46d056,_0x3044cb[_0x389a68(0x1bb)],constants[_0x389a68(0x1cf)][_0x389a68(0x1b6)])||0x1;let _0x544242=0x1;if(_0x59d607[_0x389a68(0x178)](isBrowserstackInfra)){const _0x172d9e=helper['prepareCapabilities'](_0x3044cb[_0x389a68(0x1bb)],_0x55791f,constants[_0x389a68(0x1cf)][_0x389a68(0x1b6)]);helper[_0x389a68(0x147)](_0x3044cb['config'])?_0x544242=_0x59d607[_0x389a68(0x166)](_0x49b325,_0x3044cb[_0x389a68(0x1bb)][_0x389a68(0x14c)]['length']):_0x544242=_0x49b325,_0x172d9e[_0x389a68(0x1d3)](_0x1fbaf9=>{const _0x12442d=_0x389a68,_0x41be91=_0x59d607[_0x12442d(0x1ad)](helper[_0x12442d(0x15b)](_0x1fbaf9,'_'),'_'+Date[_0x12442d(0x190)]()),_0x5c61f0=((()=>{const _0x25547c=_0x12442d;if(_0x3079ce){const _0x2cc541=pwToCodeceptBrowser[_0x1fbaf9[_0x25547c(0x187)]]||_0x1fbaf9[_0x25547c(0x187)];return{'browser':_0x2cc541,[_0x2cc541]:{'browserWSEndpoint':_0x59d607[_0x25547c(0x176)](helper[_0x25547c(0x173)](_0x3044cb['config']),_0x59d607[_0x25547c(0x17f)](encodeURIComponent,JSON[_0x25547c(0x182)](_0x1fbaf9)))}};}const _0x3d78b6={};return _0x3d78b6[_0x25547c(0x194)]=_0x1fbaf9,_0x3d78b6;})()),_0x40468b=_0x59d607[_0x12442d(0x172)](nestedKeyValue,_0x275104,[_0x59d607[_0x12442d(0x1ac)],_0x59d607['YJrnW'],_0x19dca1]);_0x3ca5bc[_0x41be91]=_0x40468b?helper[_0x12442d(0x1c2)](_0x5c61f0,_0x40468b):_0x5c61f0,!_0x3079ce&&(_0x3ca5bc[_0x41be91][_0x12442d(0x1a2)]=_0x1fbaf9['browserName']||_0x5c61f0[_0x12442d(0x1a2)]),_0x2c8496[_0x12442d(0x1b1)](_0x41be91);});}else{_0x544242=0x1;if(_0x3079ce){const _0x1ed3ee=_0x59d607[_0x389a68(0x17a)](nestedKeyValue,_0x275104,[_0x59d607[_0x389a68(0x1ac)],_0x59d607[_0x389a68(0x189)],_0x19dca1,_0x59d607[_0x389a68(0x144)]]),_0x2e4f25=_0x59d607['QWILL'](nestedKeyValue,_0x275104,[_0x59d607['eQoVG'],_0x59d607[_0x389a68(0x189)],_0x19dca1,_0x1ed3ee]);_0x2e4f25&&_0x2e4f25[_0x389a68(0x1b0)]&&(_0x2e4f25['browserWSEndpoint']=helper['prepareCapabilities'](null,null,_0x1f5eef[_0x389a68(0x1d1)](),null,null,_0x2e4f25[_0x389a68(0x1b0)]));}else _0x275104['config'][_0x59d607['YJrnW']][_0x19dca1][_0x59d607[_0x389a68(0x169)]]=helper[_0x389a68(0x1a6)](null,null,_0x1f5eef['toLowerCase'](),_0x59d607[_0x389a68(0x17a)](nestedKeyValue,_0x275104,[_0x59d607[_0x389a68(0x1ac)],_0x59d607['YJrnW'],_0x19dca1,_0x59d607[_0x389a68(0x169)]]),null,null);_0x3ca5bc[_0x59d607[_0x389a68(0x1ba)]]=_0x275104[_0x389a68(0x1bb)],_0x2c8496[_0x389a68(0x1b1)](_0x59d607[_0x389a68(0x1ba)]);}const _0x17ad97={};_0x17ad97[_0x389a68(0x179)]=_0x33c7ad;const _0x566426=_0x17ad97,_0x1a9d65=path[_0x389a68(0x15f)](__dirname,_0x59d607[_0x389a68(0x14b)]),_0x4f35f6=process[_0x389a68(0x145)]();process[_0x389a68(0x1b3)][_0x59d607[_0x389a68(0x18f)]]=_0x4f35f6,process[_0x389a68(0x141)](path[_0x389a68(0x158)](_0x33c7ad));const _0x3b6b6f=new CodeceptJS[(_0x389a68(0x1b4))](null,_0x566426),_0x19670d=_0x3b6b6f[_0x389a68(0x19c)](_0x544242),_0x49acce=testOpsHelper[_0x389a68(0x1c3)](),_0x57078c=_0x2c8496['map'](_0x424ab6=>{const _0x3e9487=_0x389a68,_0x400de0={};_0x400de0[_0x3e9487(0x163)]=_0x3ca5bc[_0x424ab6];const _0x2bf7e9={};_0x2bf7e9['WebDriver']=_0x3ca5bc[_0x424ab6];const _0x286fa0=_0x3079ce?_0x400de0:_0x2bf7e9,_0x2ed285=_0x59d607[_0x3e9487(0x1aa)](getO11yRerunPattern),_0x5d2d1a={};_0x5d2d1a[_0x3e9487(0x1be)]=_0x286fa0;const _0x156abb={};_0x156abb[_0x3e9487(0x146)]=_0x1a9d65,_0x156abb[_0x3e9487(0x19a)]=!![],_0x156abb['skipSessionName']=_0x3044cb[_0x3e9487(0x1bb)][_0x3e9487(0x1a1)][_0x3e9487(0x17d)],_0x156abb[_0x3e9487(0x175)]=_0x3044cb['config'][_0x3e9487(0x1a1)][_0x3e9487(0x175)],_0x156abb[_0x3e9487(0x1c7)]=_0x49acce,_0x156abb[_0x3e9487(0x142)]=_0x1f5eef;const _0x49521e={};_0x49521e[_0x3e9487(0x162)]=_0x156abb;const _0x20005b={};return _0x20005b[_0x3e9487(0x196)]=_0x49521e,helper[_0x3e9487(0x1c2)]({},_0x275104[_0x3e9487(0x1bb)],_0x59d607['lBtfY'](isBrowserstackInfra)?_0x5d2d1a:{},_0x2ed285?{'grep':_0x2ed285}:{},_0x20005b);});for(const _0xbc715f of _0x57078c){for(const _0x20c9c5 of _0x19670d){const _0x22f2a3=_0x3b6b6f['spawn']();_0x22f2a3['addTests'](_0x20c9c5),_0x22f2a3[_0x389a68(0x1ab)](_0xbc715f);}}_0x3b6b6f['on'](CodeceptJS[_0x389a68(0x160)]['test'][_0x389a68(0x16f)],(_0x490b0b,_0x16f08d)=>{const _0x21ba57=_0x389a68;console['log'](_0x59d607[_0x21ba57(0x152)],_0x490b0b[_0x21ba57(0x16c)]);const _0x200a39={[_0x490b0b[_0x21ba57(0x16c)]]:_0x490b0b[_0x21ba57(0x170)]['stack']};_testErrorData[_0x21ba57(0x1b1)](_0x200a39);}),_0x3b6b6f['on'](CodeceptJS[_0x389a68(0x160)][_0x389a68(0x1a0)]['passed'],async _0x1bb38b=>{const _0x140073=_0x389a68;console[_0x140073(0x197)](_0x59d607[_0x140073(0x149)],_0x1bb38b[_0x140073(0x16c)]);}),_0x3b6b6f['on'](CodeceptJS[_0x389a68(0x160)][_0x389a68(0x1a0)][_0x389a68(0x16d)],async _0x14c994=>{const _0x580fc2=_0x389a68;console[_0x580fc2(0x197)](_0x59d607['zuuAH'],_0x14c994['title']);}),_0x3b6b6f['on'](CodeceptJS[_0x389a68(0x160)]['all']['result'],async()=>{const _0x4e6c97=_0x389a68,_0x2f6f18=_0x59d607[_0x4e6c97(0x155)][_0x4e6c97(0x1bd)]('|');let _0x554a2c=0x0;while(!![]){switch(_0x2f6f18[_0x554a2c++]){case'0':_0x3b6b6f[_0x4e6c97(0x18b)]();continue;case'1':utilities[_0x4e6c97(0x15d)](_0x3044cb);continue;case'2':_0x3044cb['errorMessage']=_testErrorData;continue;case'3':try{await TestHubHandler[_0x4e6c97(0x198)]();}catch(_0x1db166){logger[_0x4e6c97(0x19b)](_0x4e6c97(0x1a9)+util['format'](_0x1db166));}continue;case'4':testOpsHelper[_0x4e6c97(0x1cc)]();continue;}break;}});async function _0x4eb2a0(){const _0x26af3c=_0x389a68;try{await _0x3b6b6f[_0x26af3c(0x1ce)](),await _0x3b6b6f[_0x26af3c(0x15a)]();}finally{process[_0x26af3c(0x141)](_0x4f35f6),await _0x3b6b6f[_0x26af3c(0x185)]();}}_0x59d607[_0x389a68(0x151)](_0x4eb2a0);}module['exports']=run;
2
+ 'use strict';const a2_0x307f8d=a2_0x1bb7;(function(_0x59e52f,_0x2c77bf){const _0x5ec6a9=a2_0x1bb7,_0x419a60=_0x59e52f();while(!![]){try{const _0x250841=-parseInt(_0x5ec6a9(0x18c))/0x1*(parseInt(_0x5ec6a9(0x1a7))/0x2)+-parseInt(_0x5ec6a9(0x162))/0x3+parseInt(_0x5ec6a9(0x166))/0x4+parseInt(_0x5ec6a9(0x16e))/0x5+parseInt(_0x5ec6a9(0x16a))/0x6*(-parseInt(_0x5ec6a9(0x17b))/0x7)+parseInt(_0x5ec6a9(0x17c))/0x8*(parseInt(_0x5ec6a9(0x193))/0x9)+parseInt(_0x5ec6a9(0x12b))/0xa;if(_0x250841===_0x2c77bf)break;else _0x419a60['push'](_0x419a60['shift']());}catch(_0x2d4680){_0x419a60['push'](_0x419a60['shift']());}}}(a2_0x504c,0xe2fc3));function a2_0x1bb7(_0x1fa09a,_0x246c2d){const _0x504c5f=a2_0x504c();return a2_0x1bb7=function(_0x1bb74f,_0x5dda93){_0x1bb74f=_0x1bb74f-0x117;let _0x51d47c=_0x504c5f[_0x1bb74f];return _0x51d47c;},a2_0x1bb7(_0x1fa09a,_0x246c2d);}const fs=require('fs'),path=require(a2_0x307f8d(0x143)),util=require(a2_0x307f8d(0x168)),process=require(a2_0x307f8d(0x158)),logger=require(a2_0x307f8d(0x15f))['winstonLogger'],{default:BrowserStackSetup}=require(a2_0x307f8d(0x142)),helper=require(a2_0x307f8d(0x148)),utilities=require(a2_0x307f8d(0x11c)),{checkAccessibilityPlatformConfig}=require(a2_0x307f8d(0x1a9)),{setAccessibilityCapabilities}=require(a2_0x307f8d(0x134)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x307f8d(0x148)),CodeceptJS=requireModule(a2_0x307f8d(0x1a8)),testOpsHelper=require(a2_0x307f8d(0x14a)),TestHubHandler=require(a2_0x307f8d(0x150)),constants=require(a2_0x307f8d(0x183)),_testErrorData=[],getUserCodeceptJSConfigs=(_0x335a34,_0x574d2b)=>{const _0x3425e8=a2_0x307f8d,_0x4b77da={};_0x4b77da[_0x3425e8(0x197)]=function(_0x34928a,_0x1e5d3c){return _0x34928a===_0x1e5d3c;},_0x4b77da['PIHzn']=_0x3425e8(0x12e),_0x4b77da[_0x3425e8(0x19c)]=_0x3425e8(0x1a6);const _0x5f1d62=_0x4b77da;let _0x12718a=null;const _0x5dfed3={};let _0xe54d93=_0x574d2b[_0x3425e8(0x18d)](_0x34e3dc=>_0x34e3dc==='--config');_0x5f1d62[_0x3425e8(0x197)](_0xe54d93,-0x1)&&(_0xe54d93=_0x574d2b[_0x3425e8(0x18d)](_0x306b64=>_0x306b64==='-c'));if(!helper[_0x3425e8(0x1a1)](_0x335a34[_0x3425e8(0x149)])&&fs['existsSync'](path[_0x3425e8(0x138)](process[_0x3425e8(0x17e)](),_0x335a34['config'])))_0x12718a=path[_0x3425e8(0x138)](process[_0x3425e8(0x17e)](),_0x335a34['config']),_0x574d2b[_0x3425e8(0x156)](_0xe54d93,0x2);else{if(!helper[_0x3425e8(0x1a1)](_0x335a34['c'])&&fs[_0x3425e8(0x199)](path[_0x3425e8(0x138)](process['cwd'](),_0x335a34['c'])))_0x12718a=path[_0x3425e8(0x138)](process[_0x3425e8(0x17e)](),_0x335a34['c']),_0x574d2b[_0x3425e8(0x156)](_0xe54d93,0x2);else{if(fs['existsSync'](path[_0x3425e8(0x138)](process['cwd'](),_0x5f1d62['PIHzn'])))_0x12718a=path['join'](process[_0x3425e8(0x17e)](),_0x5f1d62[_0x3425e8(0x19e)]);else fs[_0x3425e8(0x199)](path[_0x3425e8(0x138)](process['cwd'](),_0x5f1d62[_0x3425e8(0x19c)]))&&(_0x12718a=path[_0x3425e8(0x138)](process[_0x3425e8(0x17e)](),_0x5f1d62[_0x3425e8(0x19c)]));}}return _0x12718a;},getO11yRerunPattern=()=>{const _0x1fa40e=a2_0x307f8d,_0x49c8b0={};_0x49c8b0[_0x1fa40e(0x17d)]=function(_0x291cb8,_0x1ca860){return _0x291cb8!==_0x1ca860;},_0x49c8b0['KcOCz']='null';const _0x393bf4=_0x49c8b0,_0x3ca49b=helper[_0x1fa40e(0x1a2)](process[_0x1fa40e(0x136)][_0x1fa40e(0x151)]);if(_0x3ca49b){const _0x1a4cc3=process[_0x1fa40e(0x136)][_0x1fa40e(0x182)],_0x5cd979=[];if(_0x393bf4['wpnsZ'](_0x1a4cc3,_0x393bf4['KcOCz'])&&!helper['isUndefined'](_0x1a4cc3)){_0x1a4cc3['split'](',')[_0x1fa40e(0x16d)](_0x411b93=>{const _0x20309f=_0x1fa40e;_0x5cd979['push']('('+_0x411b93[_0x20309f(0x117)]()+')');});const _0x3c0dc2='^'+_0x5cd979['join']('|')+'$';return _0x3c0dc2;}}return null;},a2_0x4e54c0={};function a2_0x504c(){const _0x2e5233=['KSRkZ','useW3C','existsSync','BrowserStackPlugin','log','nAmuH','browserStackCwd','PIHzn','tbeQS','length','isUndefined','isTrue','codeceptjs','addTests','getUserWorkerCount','codecept.json','61348oMPEkO','codeceptjs/lib/index.js','../../helpers/accessibility-automation/helper','browserName','all','testContextOptions','isTestObservabilitySession','prepareCapabilities','trim','root','profile','SzWQH','Passed\x20:\x20','../../helpers/utilities','stack','mergeDeep','accessibilityOptions','run','exports','OkpOi','accessibility','rlfOO','launchBuild','dirname','chrome','chdir','event','plugins','21108040enGeMu','NXHyj','platforms','codecept.conf.js','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','test','playwright-chromium','debug','info','../../bin/playwright/accessibility-helper','split','env','XHgrc','join','fJlzA','format','zoNKT','playwright-webkit','stringify','Playwright','getPlatformName','require','skipSessionName','../../helpers/BrowserStackSetup','path','gherkin','toLowerCase','handleApp','teardownAll','../../helpers/helper','config','../../helpers/test-observability/utils','-cucumber','Started\x20:\x20','xedje','VXEUM','validPlatformsPresent','../../helpers/testhub/testhubHandler','BROWSERSTACK_RERUN','chromium','lIqpY','frameworkName','printResults','slice','vhcDH','process','MfFYm','cvXZz','initialize','pzico','pSYEr','testObservability','../../helpers/logger','IabKZ','rQdBq','4746774nrtsPk','helpers','printBuildLink','result','1010972yfEDwn','getPlaywrightUrl','util','WQlbQ','1232184RNAZae','awrqE','title','map','8283835SjZvbv','testConfig','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','push','xEJCE','3|0|4|1|2','load','tHWtf','firefox','webkit','BROWSERSTACK_TEST_ACCESSIBILITY_YML','ClIjN','Dxvsd','49hjywfm','39912NJGAUY','wpnsZ','cwd','WebDriver','createGroupsOfSuites','browser','BROWSERSTACK_RERUN_TESTS','../utils/constants','IqGim','errorMessage','err','FRAMEWORKS','MtFFt','rGlXc','finalExecution','spawn','8EHlcfu','findIndex','desiredCapabilities','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','BROWSERSTACK_TEST_OBSERVABILITY_YML','browserWSEndpoint','qNUPV','315APLNLQ','skipSessionStatus','Workers','CODECEPT'];a2_0x504c=function(){return _0x2e5233;};return a2_0x504c();}a2_0x4e54c0[a2_0x307f8d(0x127)]=a2_0x307f8d(0x152),a2_0x4e54c0[a2_0x307f8d(0x131)]=a2_0x307f8d(0x152),a2_0x4e54c0['playwright-firefox']=a2_0x307f8d(0x176),a2_0x4e54c0[a2_0x307f8d(0x13c)]=a2_0x307f8d(0x177);const pwToCodeceptBrowser=a2_0x4e54c0;async function run(_0x3c0f5f,_0x5ecb40){const _0x2be99c=a2_0x307f8d,_0x437a9e={'XHgrc':function(_0x18310c,_0x130c64){return _0x18310c+_0x130c64;},'zoNKT':function(_0x13a98c,_0x187d50){return _0x13a98c(_0x187d50);},'rGlXc':function(_0x7d143,_0x25a597){return _0x7d143+_0x25a597;},'GqJyk':function(_0x49d934,_0x33a123,_0x24f7a2){return _0x49d934(_0x33a123,_0x24f7a2);},'MfFYm':'helpers','IabKZ':function(_0x114bc6){return _0x114bc6();},'NXHyj':function(_0x98fd3a){return _0x98fd3a();},'WQlbQ':'Failed\x20:\x20','tHWtf':_0x2be99c(0x11b),'fMcIJ':_0x2be99c(0x14c),'xEJCE':_0x2be99c(0x173),'cvXZz':_0x2be99c(0x1a3),'IlGGz':function(_0x2dc6ab,_0x1c4182,_0x52bae4){return _0x2dc6ab(_0x1c4182,_0x52bae4);},'fJlzA':_0x2be99c(0x170),'pzico':function(_0x12c7d9,_0x5c6588,_0x336038){return _0x12c7d9(_0x5c6588,_0x336038);},'vhcDH':'Playwright','MtFFt':_0x2be99c(0x17f),'OkpOi':function(_0x381d26,_0x39501a){return _0x381d26(_0x39501a);},'VXEUM':function(_0x5eb086,_0x5edf17){return _0x5eb086!=_0x5edf17;},'ClIjN':'false','lIqpY':function(_0x29cd36,_0x4f4498){return _0x29cd36+_0x4f4498;},'awrqE':function(_0xf28a96,_0x59f582,_0xaac8c7){return _0xf28a96(_0x59f582,_0xaac8c7);},'AhZzR':_0x2be99c(0x144),'tbeQS':_0x2be99c(0x14b),'Dxvsd':function(_0x484f4c){return _0x484f4c();},'YmVwP':function(_0x555bb7,_0x17ed41){return _0x555bb7*_0x17ed41;},'BLLev':_0x2be99c(0x181),'qNUPV':function(_0x41a2d8,_0x53b248,_0x17c15e){return _0x41a2d8(_0x53b248,_0x17c15e);},'pSYEr':_0x2be99c(0x18e),'SzWQH':_0x2be99c(0x118),'rQdBq':'BrowserStackPlugin.js','IqGim':_0x2be99c(0x19d)},_0x310500=new BrowserStackSetup(_0x3c0f5f,_0x437a9e['cvXZz']);await _0x310500[_0x2be99c(0x15b)](),await helper[_0x2be99c(0x146)](_0x310500['config']);if(!_0x310500[_0x2be99c(0x149)])return;process[_0x2be99c(0x119)]=_0x3c0f5f[_0x2be99c(0x119)];_0x3c0f5f['profile']&&(process[_0x2be99c(0x136)][_0x2be99c(0x119)]=_0x3c0f5f['profile']);const _0x3bbafd=_0x437a9e['IlGGz'](getUserCodeceptJSConfigs,_0x3c0f5f,_0x5ecb40);let _0x4408e8={};_0x3bbafd?(logger[_0x2be99c(0x133)](_0x2be99c(0x12f)+_0x3bbafd),_0x4408e8=CodeceptJS[_0x2be99c(0x149)][_0x2be99c(0x174)](_0x3bbafd)):logger[_0x2be99c(0x133)](_0x437a9e[_0x2be99c(0x139)]);let _0x1a2531=![];_0x437a9e[_0x2be99c(0x15c)](nestedKeyValue,_0x4408e8,[_0x437a9e[_0x2be99c(0x159)],_0x437a9e['vhcDH']])&&(_0x1a2531=!![]);const _0x42d2d4=_0x1a2531?_0x437a9e[_0x2be99c(0x157)]:_0x437a9e[_0x2be99c(0x188)];let _0x27c40b=!_0x1a2531?helper[_0x2be99c(0x198)](_0x310500['config']):![];!helper[_0x2be99c(0x1a1)](_0x310500[_0x2be99c(0x149)][_0x2be99c(0x11f)])&&(process[_0x2be99c(0x136)][_0x2be99c(0x18f)]=JSON[_0x2be99c(0x13d)](_0x310500[_0x2be99c(0x149)][_0x2be99c(0x11f)]));let _0x4206dc=_0x310500[_0x2be99c(0x149)][_0x2be99c(0x123)];_0x4206dc=_0x4206dc||_0x437a9e[_0x2be99c(0x122)](checkAccessibilityPlatformConfig,_0x310500[_0x2be99c(0x149)]),process[_0x2be99c(0x136)][_0x2be99c(0x178)]=_0x4206dc;_0x4206dc&&(_0x27c40b=!_0x4206dc);_0x437a9e[_0x2be99c(0x14e)](_0x310500[_0x2be99c(0x149)][_0x2be99c(0x15e)],null)?process[_0x2be99c(0x136)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x310500['config']['testObservability']:process[_0x2be99c(0x136)][_0x2be99c(0x190)]=_0x437a9e[_0x2be99c(0x179)];const _0x1c16cb=_0x437a9e[_0x2be99c(0x153)](_0x437a9e[_0x2be99c(0x15a)],_0x437a9e['awrqE'](nestedKeyValue,_0x4408e8,[_0x437a9e['AhZzR']])?_0x437a9e[_0x2be99c(0x19f)]:''),_0x540898=await TestHubHandler[_0x2be99c(0x125)](_0x1c16cb,_0x310500);_0x4206dc&&_0x437a9e['OkpOi'](setAccessibilityCapabilities,_0x310500[_0x2be99c(0x149)]);const _0x5bdf81={},_0x3d97bb=[],_0xce1c74=_0x310500[_0x2be99c(0x149)]['parallelsPerPlatform']||helper[_0x2be99c(0x1a5)](_0x3c0f5f,_0x5ecb40,_0x310500[_0x2be99c(0x149)],constants['FRAMEWORKS'][_0x2be99c(0x196)])||0x1;let _0x43b961=0x1;if(_0x437a9e['Dxvsd'](isBrowserstackInfra)){const _0xd3d054=helper[_0x2be99c(0x1ae)](_0x310500[_0x2be99c(0x149)],_0x27c40b,constants[_0x2be99c(0x187)][_0x2be99c(0x196)]);helper[_0x2be99c(0x14f)](_0x310500[_0x2be99c(0x149)])?_0x43b961=_0x437a9e['YmVwP'](_0xce1c74,_0x310500[_0x2be99c(0x149)][_0x2be99c(0x12d)][_0x2be99c(0x1a0)]):_0x43b961=_0xce1c74,_0xd3d054['forEach'](_0x25e76b=>{const _0x403251=_0x2be99c,_0x1419ae={'rlfOO':function(_0x4e476f,_0x4b2555){const _0x5a82bf=a2_0x1bb7;return _0x437a9e[_0x5a82bf(0x137)](_0x4e476f,_0x4b2555);},'xedje':function(_0x58bc2c,_0x461e5f){const _0x1f65c7=a2_0x1bb7;return _0x437a9e[_0x1f65c7(0x13b)](_0x58bc2c,_0x461e5f);}},_0x521771=_0x437a9e[_0x403251(0x189)](helper[_0x403251(0x13f)](_0x25e76b,'_'),'_'+Date['now']()),_0x421ef7=((()=>{const _0x37f975=_0x403251;if(_0x1a2531){const _0xd7084b=pwToCodeceptBrowser[_0x25e76b['browserName']]||_0x25e76b[_0x37f975(0x1aa)];return{'browser':_0xd7084b,[_0xd7084b]:{'browserWSEndpoint':_0x1419ae[_0x37f975(0x124)](helper[_0x37f975(0x167)](_0x310500[_0x37f975(0x149)]),_0x1419ae[_0x37f975(0x14d)](encodeURIComponent,JSON[_0x37f975(0x13d)](_0x25e76b)))}};}const _0x307e15={};return _0x307e15['desiredCapabilities']=_0x25e76b,_0x307e15;})()),_0x8a768b=_0x437a9e['GqJyk'](nestedKeyValue,_0x4408e8,[_0x437a9e[_0x403251(0x159)],_0x42d2d4]);_0x5bdf81[_0x521771]=_0x8a768b?helper[_0x403251(0x11e)](_0x421ef7,_0x8a768b):_0x421ef7,!_0x1a2531&&(_0x5bdf81[_0x521771][_0x403251(0x181)]=_0x25e76b[_0x403251(0x1aa)]||_0x421ef7[_0x403251(0x181)]),_0x3d97bb[_0x403251(0x171)](_0x521771);});}else{_0x43b961=0x1;if(_0x1a2531){const _0x1cb0f5=_0x437a9e['awrqE'](nestedKeyValue,_0x4408e8,[_0x437a9e['MfFYm'],_0x42d2d4,_0x437a9e['BLLev']]),_0x4048bd=_0x437a9e[_0x2be99c(0x192)](nestedKeyValue,_0x4408e8,[_0x437a9e[_0x2be99c(0x159)],_0x42d2d4,_0x1cb0f5]);_0x4048bd&&_0x4048bd[_0x2be99c(0x191)]&&(_0x4048bd[_0x2be99c(0x191)]=helper[_0x2be99c(0x1ae)](null,null,_0x1c16cb[_0x2be99c(0x145)](),null,null,_0x4048bd[_0x2be99c(0x191)]));}else _0x4408e8[_0x437a9e[_0x2be99c(0x159)]][_0x42d2d4][_0x437a9e[_0x2be99c(0x15d)]]=helper[_0x2be99c(0x1ae)](null,null,_0x1c16cb[_0x2be99c(0x145)](),_0x437a9e[_0x2be99c(0x16b)](nestedKeyValue,_0x4408e8,[_0x437a9e[_0x2be99c(0x159)],_0x42d2d4,_0x437a9e[_0x2be99c(0x15d)]]),null,null);_0x5bdf81[_0x437a9e[_0x2be99c(0x11a)]]=_0x4408e8,_0x3d97bb[_0x2be99c(0x171)](_0x437a9e[_0x2be99c(0x11a)]);}const _0x34b6ce={};_0x34b6ce[_0x2be99c(0x16f)]=_0x3bbafd;const _0x3813a9=_0x34b6ce,_0x7d629b=path[_0x2be99c(0x138)](__dirname,_0x437a9e[_0x2be99c(0x161)]),_0x456f46=process['cwd']();process['env'][_0x437a9e[_0x2be99c(0x184)]]=_0x456f46,process[_0x2be99c(0x128)](path[_0x2be99c(0x126)](_0x3bbafd));const _0x29f30b=new CodeceptJS[(_0x2be99c(0x195))](null,_0x3813a9),_0x2f1401=_0x29f30b[_0x2be99c(0x180)](_0x43b961),_0xa68a22=testOpsHelper[_0x2be99c(0x1ad)](),_0x460105=_0x3d97bb[_0x2be99c(0x16d)](_0xedb0f=>{const _0x4ede62=_0x2be99c,_0x1803c3={};_0x1803c3[_0x4ede62(0x13e)]=_0x5bdf81[_0xedb0f];const _0x1419b4={};_0x1419b4[_0x4ede62(0x17f)]=_0x5bdf81[_0xedb0f];const _0x2951a2=_0x1a2531?_0x1803c3:_0x1419b4,_0x4b2467=_0x437a9e[_0x4ede62(0x160)](getO11yRerunPattern),_0x49d324={};_0x49d324[_0x4ede62(0x163)]=_0x2951a2;const _0x3442a7={};_0x3442a7[_0x4ede62(0x140)]=_0x7d629b,_0x3442a7['enabled']=!![],_0x3442a7[_0x4ede62(0x141)]=_0x310500[_0x4ede62(0x149)][_0x4ede62(0x1ac)][_0x4ede62(0x141)],_0x3442a7[_0x4ede62(0x194)]=_0x310500[_0x4ede62(0x149)][_0x4ede62(0x1ac)][_0x4ede62(0x194)],_0x3442a7['testObservability']=_0xa68a22,_0x3442a7[_0x4ede62(0x154)]=_0x1c16cb;const _0x6eabb={};_0x6eabb[_0x4ede62(0x19a)]=_0x3442a7;const _0x9ea4d4={};return _0x9ea4d4[_0x4ede62(0x12a)]=_0x6eabb,helper[_0x4ede62(0x11e)]({},_0x4408e8,_0x437a9e[_0x4ede62(0x12c)](isBrowserstackInfra)?_0x49d324:{},_0x4b2467?{'grep':_0x4b2467}:{},_0x9ea4d4);});for(const _0x2ce671 of _0x460105){for(const _0x2a5e47 of _0x2f1401){const _0x50d035=_0x29f30b[_0x2be99c(0x18b)]();_0x50d035[_0x2be99c(0x1a4)](_0x2a5e47),_0x50d035['addConfig'](_0x2ce671);}}_0x29f30b['on'](CodeceptJS[_0x2be99c(0x129)]['test']['failed'],(_0x260a33,_0x2dbd74)=>{const _0x3711ba=_0x2be99c;console[_0x3711ba(0x19b)](_0x437a9e[_0x3711ba(0x169)],_0x260a33[_0x3711ba(0x16c)]);const _0x4c3b98={[_0x260a33['title']]:_0x260a33[_0x3711ba(0x186)][_0x3711ba(0x11d)]};_testErrorData[_0x3711ba(0x171)](_0x4c3b98);}),_0x29f30b['on'](CodeceptJS[_0x2be99c(0x129)][_0x2be99c(0x130)]['passed'],async _0x2c1145=>{const _0x1c3155=_0x2be99c;console[_0x1c3155(0x19b)](_0x437a9e[_0x1c3155(0x175)],_0x2c1145[_0x1c3155(0x16c)]);}),_0x29f30b['on'](CodeceptJS[_0x2be99c(0x129)][_0x2be99c(0x130)]['before'],async _0x2c8a1d=>{const _0x47b717=_0x2be99c;console[_0x47b717(0x19b)](_0x437a9e['fMcIJ'],_0x2c8a1d[_0x47b717(0x16c)]);}),_0x29f30b['on'](CodeceptJS[_0x2be99c(0x129)][_0x2be99c(0x1ab)][_0x2be99c(0x165)],async()=>{const _0x6905ea=_0x2be99c,_0x5e0498=_0x437a9e[_0x6905ea(0x172)][_0x6905ea(0x135)]('|');let _0x3b3efe=0x0;while(!![]){switch(_0x5e0498[_0x3b3efe++]){case'0':testOpsHelper[_0x6905ea(0x164)]();continue;case'1':try{await TestHubHandler['stop']();}catch(_0x5c75c9){logger[_0x6905ea(0x132)]('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util[_0x6905ea(0x13a)](_0x5c75c9));}continue;case'2':_0x29f30b[_0x6905ea(0x155)]();continue;case'3':_0x310500[_0x6905ea(0x185)]=_testErrorData;continue;case'4':utilities[_0x6905ea(0x18a)](_0x310500);continue;}break;}});async function _0x24aafb(){const _0x507d92=_0x2be99c;try{await _0x29f30b['bootstrapAll'](),await _0x29f30b[_0x507d92(0x120)]();}finally{process[_0x507d92(0x128)](_0x456f46),await _0x29f30b[_0x507d92(0x147)]();}}_0x437a9e[_0x2be99c(0x17a)](_0x24aafb);}module[a2_0x307f8d(0x121)]=run;
@@ -1 +1 @@
1
- function a3_0x40c4(_0x250b6e,_0x44518d){const _0x5b163c=a3_0x5b16();return a3_0x40c4=function(_0x40c454,_0x4fc947){_0x40c454=_0x40c454-0xd0;let _0x533996=_0x5b163c[_0x40c454];return _0x533996;},a3_0x40c4(_0x250b6e,_0x44518d);}const a3_0x36c6af=a3_0x40c4;(function(_0x43116c,_0x202870){const _0x336133=a3_0x40c4,_0x1ba077=_0x43116c();while(!![]){try{const _0x12152a=-parseInt(_0x336133(0xe0))/0x1+-parseInt(_0x336133(0x119))/0x2+parseInt(_0x336133(0xeb))/0x3+-parseInt(_0x336133(0x11b))/0x4*(-parseInt(_0x336133(0x11d))/0x5)+parseInt(_0x336133(0xfc))/0x6*(-parseInt(_0x336133(0xfb))/0x7)+-parseInt(_0x336133(0xd2))/0x8+parseInt(_0x336133(0x10f))/0x9;if(_0x12152a===_0x202870)break;else _0x1ba077['push'](_0x1ba077['shift']());}catch(_0xdf2b9a){_0x1ba077['push'](_0x1ba077['shift']());}}}(a3_0x5b16,0x30dc3));function a3_0x5b16(){const _0x48cb33=['2453568lgwqgK','cbAOR','../../helpers/test-observability/utils','osVersion','platform','sessionId','name','PQAfX','QIHTV','cloudProvider','cfZxI','XMIQC','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','108501LNqIOD','platform_version','vHcjX','playwright-chromium','chrome','KrPxW','OMMhw','platformVersion','caps','browser_version','clxFL','411624IefBZZ','ozqRz','HXwLp','../../helpers/accessibility-automation/helper','pgGwH','capabilities','accessibilityPlatform','psbeN','hvNEh','browserWSEndpoint','deviceName','browserstack_executor','parse','includes','uBZOi','warn','2239664LXvGXM','6JlnFGi','fXgMn','latest','processWebDriverConfig','fuNta','browserstack_accessibility_automation_script','bstack:options','Playwright','PiuRK','browserName','../../helpers/logger','../../helpers/helper','HNzBb','gPQeV','MUqJo','getDetails','get','shouldPatchExecuteScript','browserVersion','8258778bnvuOk','bsSessionId','ypuDU','RjwMb','__cloud_provider___','RYCIH','fetchPlatformDetails','browser','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','WebDriver','719024YmvlkV','bVTfS','479884wLzUHb','unknown_grid','10QrpepW','winstonLogger','platformName'];a3_0x5b16=function(){return _0x48cb33;};return a3_0x5b16();}const {isUndefined,nestedKeyValue}=require(a3_0x36c6af(0x107)),logger=require(a3_0x36c6af(0x106))[a3_0x36c6af(0xd0)],PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{isAccessibilityAutomationSession}=require(a3_0x36c6af(0xee)),{getObservabilityLinkedProductName}=require(a3_0x36c6af(0xd4)),getOSVersionFromCaps=_0x2ed0b1=>{const _0x3db597=a3_0x36c6af,_0x448473={};_0x448473[_0x3db597(0xef)]=_0x3db597(0x102),_0x448473[_0x3db597(0x10a)]=_0x3db597(0xe7),_0x448473[_0x3db597(0xf9)]=_0x3db597(0xe1),_0x448473[_0x3db597(0xda)]=_0x3db597(0xd5),_0x448473[_0x3db597(0x111)]='os_version';const _0x2812b5=_0x448473;if(!_0x2ed0b1)return null;const _0x53723d=_0x2ed0b1[_0x2812b5[_0x3db597(0xef)]],_0x39c867=[_0x2812b5[_0x3db597(0x10a)],_0x2812b5[_0x3db597(0xf9)],_0x2812b5[_0x3db597(0xda)],_0x2812b5[_0x3db597(0x111)]];for(const _0x27b7ea of _0x39c867){if(_0x53723d&&_0x53723d[_0x27b7ea])return _0x53723d[_0x27b7ea];else{if(_0x2ed0b1[_0x27b7ea])return _0x2ed0b1[_0x27b7ea];}}return null;};exports[a3_0x36c6af(0x115)]=_0x33f64b=>{const _0x4b77eb=a3_0x36c6af,_0xe7849e={'IfFan':_0x4b77eb(0x11c),'bVTfS':function(_0xfacaab,_0x5201bc){return _0xfacaab===_0x5201bc;},'sHsiJ':_0x4b77eb(0x118),'gPQeV':function(_0x5b72aa,_0x2d8344){return _0x5b72aa(_0x2d8344);},'cfZxI':function(_0x5bc47d,_0x131ae6,_0x5e979b){return _0x5bc47d(_0x131ae6,_0x5e979b);},'RYCIH':'config','XMIQC':'desiredCapabilities','nAdjt':_0x4b77eb(0x103),'KrPxW':_0x4b77eb(0x116),'fuNta':_0x4b77eb(0xf4),'vHcjX':_0x4b77eb(0xe8)};if(!_0x33f64b)return null;let _0x54968e=global[_0x4b77eb(0x113)]||_0xe7849e['IfFan'];if(_0xe7849e[_0x4b77eb(0x11a)](_0x33f64b['constructor'][_0x4b77eb(0xd8)],_0xe7849e['sHsiJ'])){const _0x3d0927=_0x33f64b[_0x4b77eb(0x116)];if(!_0x3d0927)return null;const _0x1d7d44=_0x3d0927[_0x4b77eb(0xf0)],_0x31fdc1=_0xe7849e[_0x4b77eb(0x109)](getOSVersionFromCaps,_0xe7849e[_0x4b77eb(0xdc)](nestedKeyValue,_0x33f64b,[_0xe7849e['RYCIH'],_0xe7849e[_0x4b77eb(0xdd)]]));return{[_0x54968e]:{'browser':_0x1d7d44[_0x4b77eb(0x105)],'browser_version':_0x1d7d44[_0x4b77eb(0x10e)],'capabilities':_0x1d7d44,'platform':_0x1d7d44[_0x4b77eb(0xd1)],'platform_version':_0x1d7d44[_0x4b77eb(0xe7)]||_0x31fdc1,'product':_0xe7849e[_0x4b77eb(0x109)](getObservabilityLinkedProductName,_0x1d7d44),'session_id':_0x3d0927[_0x4b77eb(0xd7)]}};}else{if(_0xe7849e[_0x4b77eb(0x11a)](_0x33f64b['constructor']['name'],_0xe7849e['nAdjt'])){const _0x3c6552=PlaywrightSessionDetails[_0x4b77eb(0x10b)]();_0x54968e=_0x3c6552[_0x4b77eb(0xdb)]||_0x54968e;const _0x49bc89=_0xe7849e['cfZxI'](nestedKeyValue,_0x33f64b,[_0xe7849e[_0x4b77eb(0x114)],_0xe7849e[_0x4b77eb(0xe5)],_0xe7849e[_0x4b77eb(0x100)]]),_0x488972=_0x49bc89?JSON[_0x4b77eb(0xf7)](new URL(_0x49bc89)['searchParams'][_0x4b77eb(0x10c)](_0xe7849e[_0x4b77eb(0xe2)])):{};return{[_0x54968e]:{'browser':_0x3c6552[_0x4b77eb(0x116)]||_0x488972[_0x4b77eb(0x105)],'browser_version':_0x3c6552[_0x4b77eb(0xe9)]||_0x488972['browser_version'],'capabilities':_0x488972,'platform':_0x3c6552[_0x4b77eb(0xd6)],'platform_version':_0x3c6552['platform_version'],'product':_0xe7849e[_0x4b77eb(0x109)](getObservabilityLinkedProductName,_0x488972),'session_id':_0x3c6552[_0x4b77eb(0x110)]}};}}},exports[a3_0x36c6af(0xff)]=_0x332b3f=>{const _0x58965c=a3_0x36c6af,_0x3a523c={'hvNEh':function(_0x2ee37a){return _0x2ee37a();},'OMMhw':function(_0x3579ce,_0x33ac20){return _0x3579ce===_0x33ac20;},'psbeN':_0x58965c(0xfe),'YzTwL':function(_0x3a1d9f,_0x162026){return _0x3a1d9f>_0x162026;},'HNzBb':function(_0x261d09,_0x42e340){return _0x261d09(_0x42e340);},'fXgMn':_0x58965c(0xde),'RjwMb':_0x58965c(0xe4),'cbAOR':function(_0x53bbed,_0x4cf6ef){return _0x53bbed===_0x4cf6ef;},'HXwLp':_0x58965c(0xe3),'QncyM':_0x58965c(0x117),'clxFL':function(_0x4a9ed8,_0x246dfa){return _0x4a9ed8(_0x246dfa);},'ozqRz':_0x58965c(0xdf)};if(_0x3a523c[_0x58965c(0xf3)](isAccessibilityAutomationSession)){const _0xf8f0eb=_0x332b3f[_0x58965c(0x116)],_0x509ad8=_0xf8f0eb[_0x58965c(0xf0)];global['accessibilityPlatform']=!![],!(_0x3a523c[_0x58965c(0xe6)](_0x509ad8[_0x58965c(0x10e)],_0x3a523c[_0x58965c(0xf2)])||_0x3a523c['YzTwL'](_0x3a523c[_0x58965c(0x108)](parseInt,_0x509ad8[_0x58965c(0x10e)]),0x5e))&&(logger[_0x58965c(0xfa)](_0x3a523c[_0x58965c(0xfd)]),global[_0x58965c(0xf1)]=![]),!(_0x3a523c[_0x58965c(0xe6)](_0x509ad8[_0x58965c(0x105)],_0x3a523c[_0x58965c(0x112)])||_0x3a523c[_0x58965c(0xd3)](_0x509ad8[_0x58965c(0x105)],_0x3a523c[_0x58965c(0xed)]))&&(logger['warn'](_0x3a523c['QncyM']),global[_0x58965c(0xf1)]=![]),!_0x3a523c[_0x58965c(0xea)](isUndefined,_0x509ad8[_0x58965c(0xf5)])&&(logger[_0x58965c(0xfa)](_0x3a523c[_0x58965c(0xec)]),global[_0x58965c(0xf1)]=![]);}},exports[a3_0x36c6af(0x10d)]=_0x3b5860=>{const _0x5d680c=a3_0x36c6af,_0x3a2295={};_0x3a2295[_0x5d680c(0xd9)]=_0x5d680c(0xf6),_0x3a2295[_0x5d680c(0x104)]=_0x5d680c(0x101);const _0x4de55e=_0x3a2295;if(!_0x3b5860)return![];return!_0x3b5860['includes'](_0x4de55e[_0x5d680c(0xd9)])&&!_0x3b5860[_0x5d680c(0xf8)](_0x4de55e[_0x5d680c(0x104)]);};
1
+ const a3_0x8bfb82=a3_0x322f;(function(_0x2f2fef,_0x167ab1){const _0x5b9159=a3_0x322f,_0x58ca43=_0x2f2fef();while(!![]){try{const _0x16cf7f=parseInt(_0x5b9159(0x206))/0x1+-parseInt(_0x5b9159(0x240))/0x2*(parseInt(_0x5b9159(0x23f))/0x3)+-parseInt(_0x5b9159(0x234))/0x4*(-parseInt(_0x5b9159(0x245))/0x5)+parseInt(_0x5b9159(0x1ff))/0x6*(parseInt(_0x5b9159(0x1f5))/0x7)+-parseInt(_0x5b9159(0x1fe))/0x8*(parseInt(_0x5b9159(0x236))/0x9)+parseInt(_0x5b9159(0x200))/0xa+-parseInt(_0x5b9159(0x22c))/0xb;if(_0x16cf7f===_0x167ab1)break;else _0x58ca43['push'](_0x58ca43['shift']());}catch(_0x720237){_0x58ca43['push'](_0x58ca43['shift']());}}}(a3_0x50ad,0x870f6));function a3_0x50ad(){const _0x13c2ea=['aESLT','GMbBa','sFcxU','playwright-chromium','browser_version','zLfcO','YVUdu','zQyMc','platformName','latest','../../helpers/accessibility-automation/helper','../../helpers/test-observability/utils','getDetails','ATjfb','capabilities','yZDsX','uJjzO','parse','deviceName','lgVYb','cloudProvider','platformVersion','processWebDriverConfig','__cloud_provider___','ckbWu','searchParams','shouldPatchExecuteScript','os_version','browserName','2152524wOdONx','bstack:options','Playwright','EVthc','YOpth','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','platform','etZFW','1996KZRNAt','dcQCv','9TOoZLj','../../helpers/helper','fetchPlatformDetails','constructor','sessionId','browserVersion','MjeZt','WebDriver','includes','707403BThTrA','2oBkaOH','aCrSY','zmPor','TacMC','browser','3760qrpeUi','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','FPsfP','YHcpi','721ciVcUm','UgQZD','jVsge','winstonLogger','platform_version','caps','XVOrr','XYzVe','RDXMp','2970104MVtvPa','36654YAIAmg','637090feTPxI','accessibilityPlatform','hzqkH','sqGDN','unknown_grid','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','287770BhUfku','browserstack_accessibility_automation_script','desiredCapabilities','quhPu','warn','get','browserstack_executor','../../helpers/logger','chrome'];a3_0x50ad=function(){return _0x13c2ea;};return a3_0x50ad();}const {isUndefined,nestedKeyValue}=require(a3_0x8bfb82(0x237)),logger=require(a3_0x8bfb82(0x20d))[a3_0x8bfb82(0x1f8)],PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{isAccessibilityAutomationSession}=require(a3_0x8bfb82(0x219)),{getObservabilityLinkedProductName}=require(a3_0x8bfb82(0x21a)),getOSVersionFromCaps=_0x3e355f=>{const _0x30d927=a3_0x8bfb82,_0x2e9a88={};_0x2e9a88[_0x30d927(0x1fc)]=_0x30d927(0x22d),_0x2e9a88[_0x30d927(0x242)]=_0x30d927(0x224),_0x2e9a88['XVOrr']='platform_version',_0x2e9a88[_0x30d927(0x203)]='osVersion',_0x2e9a88[_0x30d927(0x216)]=_0x30d927(0x22a);const _0x1142f4=_0x2e9a88;if(!_0x3e355f)return null;const _0x124c6a=_0x3e355f[_0x1142f4[_0x30d927(0x1fc)]],_0x390883=[_0x1142f4[_0x30d927(0x242)],_0x1142f4[_0x30d927(0x1fb)],_0x1142f4[_0x30d927(0x203)],_0x1142f4[_0x30d927(0x216)]];for(const _0x2eed58 of _0x390883){if(_0x124c6a&&_0x124c6a[_0x2eed58])return _0x124c6a[_0x2eed58];else{if(_0x3e355f[_0x2eed58])return _0x3e355f[_0x2eed58];}}return null;};function a3_0x322f(_0x10446b,_0x57d12d){const _0x50ad08=a3_0x50ad();return a3_0x322f=function(_0x322f6b,_0x167ac3){_0x322f6b=_0x322f6b-0x1f3;let _0x59ac68=_0x50ad08[_0x322f6b];return _0x59ac68;},a3_0x322f(_0x10446b,_0x57d12d);}exports[a3_0x8bfb82(0x238)]=_0x42df1a=>{const _0x27ddbc=a3_0x8bfb82,_0x492700={'ATjfb':_0x27ddbc(0x204),'etZFW':function(_0x4373d2,_0xd8512){return _0x4373d2===_0xd8512;},'hzqkH':_0x27ddbc(0x23d),'quhPu':function(_0x4f47ac,_0x56ef32){return _0x4f47ac(_0x56ef32);},'nvlwT':function(_0x1fb1bb,_0x4a0ed3,_0x3dbfec){return _0x1fb1bb(_0x4a0ed3,_0x3dbfec);},'UgQZD':'config','YHcpi':_0x27ddbc(0x208),'RDXMp':function(_0x2e23b7,_0x1325b0){return _0x2e23b7(_0x1325b0);},'sFcxU':_0x27ddbc(0x22e),'lgVYb':function(_0x417e51,_0x1a65a5,_0x546175){return _0x417e51(_0x1a65a5,_0x546175);},'MjeZt':_0x27ddbc(0x244),'ckbWu':'browserWSEndpoint','TacMC':_0x27ddbc(0x1fa)};if(!_0x42df1a)return null;let _0x294f8e=global[_0x27ddbc(0x226)]||_0x492700[_0x27ddbc(0x21c)];if(_0x492700[_0x27ddbc(0x233)](_0x42df1a[_0x27ddbc(0x239)]['name'],_0x492700[_0x27ddbc(0x202)])){const _0x51b45a=_0x42df1a[_0x27ddbc(0x244)];if(!_0x51b45a)return null;const _0x4c6921=_0x51b45a[_0x27ddbc(0x21d)],_0x4a8c95=_0x492700[_0x27ddbc(0x209)](getOSVersionFromCaps,_0x492700['nvlwT'](nestedKeyValue,_0x42df1a,[_0x492700[_0x27ddbc(0x1f6)],_0x492700[_0x27ddbc(0x1f4)]]));return{[_0x294f8e]:{'browser':_0x4c6921['browserName'],'browser_version':_0x4c6921[_0x27ddbc(0x23b)],'capabilities':_0x4c6921,'platform':_0x4c6921[_0x27ddbc(0x217)],'platform_version':_0x4c6921['platformVersion']||_0x4a8c95,'product':_0x492700[_0x27ddbc(0x1fd)](getObservabilityLinkedProductName,_0x4c6921),'session_id':_0x51b45a[_0x27ddbc(0x23a)]}};}else{if(_0x492700[_0x27ddbc(0x233)](_0x42df1a['constructor']['name'],_0x492700[_0x27ddbc(0x211)])){const _0x320069=PlaywrightSessionDetails[_0x27ddbc(0x21b)]();_0x294f8e=_0x320069[_0x27ddbc(0x223)]||_0x294f8e;const _0x39c8fd=_0x492700[_0x27ddbc(0x222)](nestedKeyValue,_0x42df1a,[_0x492700[_0x27ddbc(0x1f6)],_0x492700[_0x27ddbc(0x23c)],_0x492700[_0x27ddbc(0x227)]]),_0x3842e3=_0x39c8fd?JSON[_0x27ddbc(0x220)](new URL(_0x39c8fd)[_0x27ddbc(0x228)][_0x27ddbc(0x20b)](_0x492700[_0x27ddbc(0x243)])):{};return{[_0x294f8e]:{'browser':_0x320069[_0x27ddbc(0x244)]||_0x3842e3[_0x27ddbc(0x22b)],'browser_version':_0x320069['browser_version']||_0x3842e3[_0x27ddbc(0x213)],'capabilities':_0x3842e3,'platform':_0x320069[_0x27ddbc(0x232)],'platform_version':_0x320069[_0x27ddbc(0x1f9)],'product':_0x492700[_0x27ddbc(0x209)](getObservabilityLinkedProductName,_0x3842e3),'session_id':_0x320069['bsSessionId']}};}}},exports[a3_0x8bfb82(0x225)]=_0x411071=>{const _0x63d525=a3_0x8bfb82,_0xaa96d9={'jVsge':function(_0x1117d3){return _0x1117d3();},'yZDsX':function(_0x43481d,_0x54cba1){return _0x43481d===_0x54cba1;},'EVthc':_0x63d525(0x218),'YOpth':function(_0x5875ec,_0x459f82){return _0x5875ec>_0x459f82;},'uJjzO':function(_0x17e13b,_0x235c1d){return _0x17e13b(_0x235c1d);},'FPsfP':_0x63d525(0x246),'zLfcO':_0x63d525(0x20e),'dcQCv':_0x63d525(0x212),'YVUdu':_0x63d525(0x231),'aCrSY':_0x63d525(0x205)};if(_0xaa96d9[_0x63d525(0x1f7)](isAccessibilityAutomationSession)){const _0x5b6a92=_0x411071[_0x63d525(0x244)],_0x188cdd=_0x5b6a92[_0x63d525(0x21d)];global[_0x63d525(0x201)]=!![],!(_0xaa96d9['yZDsX'](_0x188cdd[_0x63d525(0x23b)],_0xaa96d9[_0x63d525(0x22f)])||_0xaa96d9[_0x63d525(0x230)](_0xaa96d9[_0x63d525(0x21f)](parseInt,_0x188cdd[_0x63d525(0x23b)]),0x5e))&&(logger['warn'](_0xaa96d9[_0x63d525(0x1f3)]),global['accessibilityPlatform']=![]),!(_0xaa96d9[_0x63d525(0x21e)](_0x188cdd[_0x63d525(0x22b)],_0xaa96d9[_0x63d525(0x214)])||_0xaa96d9[_0x63d525(0x21e)](_0x188cdd[_0x63d525(0x22b)],_0xaa96d9[_0x63d525(0x235)]))&&(logger[_0x63d525(0x20a)](_0xaa96d9[_0x63d525(0x215)]),global['accessibilityPlatform']=![]),!_0xaa96d9[_0x63d525(0x21f)](isUndefined,_0x188cdd[_0x63d525(0x221)])&&(logger[_0x63d525(0x20a)](_0xaa96d9[_0x63d525(0x241)]),global[_0x63d525(0x201)]=![]);}},exports[a3_0x8bfb82(0x229)]=_0x50cc5a=>{const _0x461433=a3_0x8bfb82,_0x26c8ae={};_0x26c8ae[_0x461433(0x210)]=_0x461433(0x20c),_0x26c8ae[_0x461433(0x20f)]=_0x461433(0x207);const _0x8fcc0=_0x26c8ae;if(!_0x50cc5a)return![];return!_0x50cc5a[_0x461433(0x23e)](_0x8fcc0[_0x461433(0x210)])&&!_0x50cc5a[_0x461433(0x23e)](_0x8fcc0[_0x461433(0x20f)]);};
@@ -1 +1 @@
1
- const a4_0x2f73dd=a4_0x45c4;(function(_0xc474b8,_0x1da55d){const _0x229c32=a4_0x45c4,_0x3bfc04=_0xc474b8();while(!![]){try{const _0x15e7e2=parseInt(_0x229c32(0x13b))/0x1+-parseInt(_0x229c32(0x1fe))/0x2*(parseInt(_0x229c32(0x203))/0x3)+-parseInt(_0x229c32(0x1fb))/0x4*(-parseInt(_0x229c32(0x1a5))/0x5)+parseInt(_0x229c32(0x20c))/0x6*(-parseInt(_0x229c32(0x17f))/0x7)+-parseInt(_0x229c32(0x1e7))/0x8*(parseInt(_0x229c32(0x1d9))/0x9)+-parseInt(_0x229c32(0x178))/0xa*(-parseInt(_0x229c32(0x217))/0xb)+-parseInt(_0x229c32(0x172))/0xc;if(_0x15e7e2===_0x1da55d)break;else _0x3bfc04['push'](_0x3bfc04['shift']());}catch(_0x2fc263){_0x3bfc04['push'](_0x3bfc04['shift']());}}}(a4_0x38ba,0xc99f9));function a4_0x38ba(){const _0x51ee13=['match','PYvAt','setupBrowserDetails','backtrace','resetSkipTestHooks','TEST_RUN_STARTED','browserstack','../utils/constants','TestRunStarted','bs:addLog:','suites','name','stringify','zJOxR','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','HNIaf','288YdZaQx','removeAllListeners','groups','push','FpnsM','tzLxa','xEHLm','TolOm','__cloud_provider___','failed','hook','integrations','5|2|0|3|4|1','split','168312HhgrBx','uGXWw','_paths','bfRoP','_testEnv','gkJYc','vzqdY','prototype','\x20with\x20error\x20:\x20','gIMpZ','./helper.js','comment','OHpeM','finished_at','UcroZ','hGNjM','getCBTInfo','testAnalyticsId','wsEndpoint','DWkNr','28zsouow','hook_run_uuid','rAgMv','404258eEZxVR','toISOString','errorsDetailed','../mocha/test-observability/mochaUtils','O11yHelper','3ngkuCb','xvYmd','uuid','event_type','thPmp','started','GdYtG','wQxFM','type','6006JGfuDr','gEkhZ','err','hook_run','Lspxy','location_prefix','gbukS','markedStatus','findGitConfig','../../helpers/testhub/utils.js','passed','2102287BGIkls','MAMDV','HSmdi','expanded','JRijD','RqSus','lyPSp','xpzMA','../../helpers/test-observability/requestQueueHandler','patchConsoleLogger','bCTcP','../playwright/sessionDetails','getHierarchy','feature','OIfcQ','launch','bnzwb','TestRunSkipped','status','enabled','failed\x20to\x20get\x20root\x20parent\x20file\x20','currentTest','TestRunFinished','HookRunStarted','ftyrI','1553780BxVdVE','CDsbb','getHooksForTest','TWLYB','vjvmr','../../helpers/logger','replace','opDPD','AvNBB','bddSteps','getRootParentFile','appendTestItemLog','finished','WazTK','hpvJG','driver','getTime','zDkir','javascript','eUKvB','then','logs','skipped','_beforeAll','eAReS','NOObM','sgcdJ','defineProperty','VcERq','stepAnalyticsId','forEach','retryOf','pRxxI','ZdKKj','apply','initializeBddStep','xpnNV','DmEps','file','includes','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','getHookType','inspect','toString','fdZvw','pid','string','lfZeC','ctx','Not\x20able\x20to\x20import\x20Browser','../../helpers/test-observability/utils','nUhEN','success','lOqDp','test_run_uuid','12649356GMIreW','stop','GacJK','TEST_RUN_FINISHED','VNpkL','failure','30WcdiNn','constructor','length','QrjtM','concat','mapTestHooks','PathHelper','2681gwoFeT','TEST_EVENTS','myJJw','File\x20path\x20could\x20not\x20be\x20found','BrowserType','_afterAll','toLowerCase','title','UqeYo','STATE_FAILED','wAPkW','kTqrS','keyword','eletR','dPwyW','wasFP','obsBrowserTypeMockApplied','fullTitle','relative','PLAYWRIGHT_HUB_URL','wXOrP','connect','JxKLU','dirname','join','yYXQx','getInstance','text','fnnqu','parent','hAgkf','browserType.js','connectOverCDP','sep','result','FFxHH','getFailureType','debug','722565oTwfaE','currentHook','accessibilityPlatform','config','failure_reason_expanded','HOOK_RUN_FINISHED','captureEvent','WKnUa','frameworkName','hookAnalyticsId','uploadEventData','WzYNd','lIMfK','start','TVwxo','startedAt','body','test','file_name','_beforeEach','FsrPI','uxtwR','message','Playwright','QKrkA','sendCBTInfo','BJzap','JaWxc','failure_backtrace','test_run','yFFkZ','bddStepStart','pending','Nyfsm','FLfVM','path'];a4_0x38ba=function(){return _0x51ee13;};return a4_0x38ba();}const path=require(a4_0x2f73dd(0x1c8)),fs=require('fs'),{v4:uuidv4}=require(a4_0x2f73dd(0x205)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require('../../helpers/helper'),testOpsHelper=require(a4_0x2f73dd(0x16d)),{getTestEnv}=require(a4_0x2f73dd(0x201)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),logger=require(a4_0x2f73dd(0x140))['winstonLogger'],SessionHandler=require('../../helpers/test-observability/sessionHandler'),RequestQueueHandler=require(a4_0x2f73dd(0x12a)),PlaywrightSessionDetails=require(a4_0x2f73dd(0x12d)),debug=testOpsHelper['debug'],{processAccessibilityCaps}=require('../playwright/accessibility-helper'),Constants=require(a4_0x2f73dd(0x1d0)),{fetchPlatformDetails}=require(a4_0x2f73dd(0x1f1)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x2f73dd(0x215)),STATE_PASSED=a4_0x2f73dd(0x216),STATE_FAILED='failed',a4_0x257877={};a4_0x257877[a4_0x2f73dd(0x1ce)]=a4_0x2f73dd(0x1d1),a4_0x257877['TEST_RUN_FINISHED']=a4_0x2f73dd(0x138),a4_0x257877['TEST_RUN_SKIPPED']=a4_0x2f73dd(0x133),a4_0x257877['HOOK_RUN_STARTED']=a4_0x2f73dd(0x139),a4_0x257877[a4_0x2f73dd(0x1aa)]='HookRunFinished';const TEST_EVENTS=a4_0x257877,parseEvent=_0x18149e=>{const _0x26955d=a4_0x2f73dd,_0x2831b5={};_0x2831b5['wAPkW']=function(_0x4c72a3,_0x248e60){return _0x4c72a3<_0x248e60;},_0x2831b5[_0x26955d(0x1b3)]=function(_0x568172,_0x3e14bb){return _0x568172===_0x3e14bb;},_0x2831b5[_0x26955d(0x16e)]='test',_0x2831b5[_0x26955d(0x167)]=function(_0x48c393,_0x20d06a){return _0x48c393===_0x20d06a;},_0x2831b5[_0x26955d(0x148)]='hook',_0x2831b5[_0x26955d(0x187)]=_0x26955d(0x151),_0x2831b5[_0x26955d(0x1bd)]=function(_0x3cc2c5,_0x286756){return _0x3cc2c5===_0x286756;},_0x2831b5[_0x26955d(0x1c0)]=_0x26955d(0x208),_0x2831b5['GdYtG']=function(_0x292ce7,_0x5dc713){return _0x292ce7===_0x5dc713;},_0x2831b5[_0x26955d(0x219)]='finished';const _0x27c7ab=_0x2831b5,_0x21fd8d=_0x18149e[_0x26955d(0x1c9)](/^(.*)Run(.*)$/);if(!_0x21fd8d)return null;if(_0x27c7ab[_0x26955d(0x189)](_0x21fd8d[_0x26955d(0x17a)],0x3))return null;const _0x5703e4=_0x21fd8d[0x1][_0x26955d(0x185)](),_0x42d5d0=_0x21fd8d[0x2][_0x26955d(0x185)]();return{'test':_0x27c7ab[_0x26955d(0x1b3)](_0x5703e4,_0x27c7ab[_0x26955d(0x16e)]),'hook':_0x27c7ab['fdZvw'](_0x5703e4,_0x27c7ab[_0x26955d(0x148)]),'skipped':_0x27c7ab[_0x26955d(0x1b3)](_0x42d5d0,_0x27c7ab[_0x26955d(0x187)]),'started':_0x27c7ab[_0x26955d(0x1bd)](_0x42d5d0,_0x27c7ab[_0x26955d(0x1c0)]),'finished':_0x27c7ab[_0x26955d(0x209)](_0x42d5d0,_0x27c7ab[_0x26955d(0x219)])};},mockPWBrowserType=_0x266f27=>{const _0xb7e8d5=a4_0x2f73dd,_0xf79284={'myJJw':function(_0xdab66d,_0x34add3){return _0xdab66d===_0x34add3;},'cEqtT':_0xb7e8d5(0x169),'wasFP':function(_0x3af0df,_0x3e8155,_0x1390d8){return _0x3af0df(_0x3e8155,_0x1390d8);},'fnnqu':_0xb7e8d5(0x1f9),'GhWyj':function(_0x4e3a2b,_0x4901b0){return _0x4e3a2b(_0x4901b0);},'uGXWw':_0xb7e8d5(0x1cf),'MAMDV':function(_0x50d4db,_0x419530,_0x1cfd0a){return _0x50d4db(_0x419530,_0x1cfd0a);},'ETIlW':'lib','UsCwt':'client','OIfcQ':_0xb7e8d5(0x19e),'PYvAt':function(_0x3a9ab0,_0x119d7b){return _0x3a9ab0(_0x119d7b);},'yYXQx':_0xb7e8d5(0x16c),'zFgbb':_0xb7e8d5(0x194),'WKnUa':_0xb7e8d5(0x131)},_0x39cfcb=path[_0xb7e8d5(0x197)](_0xf79284['ETIlW'],_0xf79284['UsCwt'],_0xf79284[_0xb7e8d5(0x130)]),_0x12bd03=_0xf79284['GhWyj'](importFileFromPWCore,_0x39cfcb);if(!_0x12bd03){_0xf79284[_0xb7e8d5(0x1ca)](debug,_0xf79284[_0xb7e8d5(0x198)]);return;}const _0x52a6dc=_0x12bd03[_0xb7e8d5(0x183)],_0x2b36e5=_0x52a6dc[_0xb7e8d5(0x1ee)];if(_0x2b36e5[_0xb7e8d5(0x18f)])return;const _0x29f5ae=_0x2b36e5[_0xb7e8d5(0x194)];Object['defineProperty'](_0x2b36e5,_0xf79284['zFgbb'],{'get':function(){const _0x27358a=_0xb7e8d5,_0x404a5b={'dPwyW':function(_0x1ac468,_0x19bbbc){const _0x19debc=a4_0x45c4;return _0xf79284[_0x19debc(0x181)](_0x1ac468,_0x19bbbc);},'hpvJG':_0xf79284['cEqtT'],'zDkir':function(_0x17cd85,_0x3e72e8,_0x28ace0){const _0x2eb9be=a4_0x45c4;return _0xf79284[_0x2eb9be(0x18e)](_0x17cd85,_0x3e72e8,_0x28ace0);},'thPmp':_0xf79284[_0x27358a(0x19b)],'xvYmd':function(_0x55e136,_0x2bfb2b){return _0xf79284['GhWyj'](_0x55e136,_0x2bfb2b);},'CDsbb':_0xf79284[_0x27358a(0x1e8)],'gIMpZ':function(_0x36510f,_0x513c93,_0x1cb214){const _0x12a23a=_0x27358a;return _0xf79284[_0x12a23a(0x218)](_0x36510f,_0x513c93,_0x1cb214);},'bCTcP':function(_0x5cd944,_0x562160){return _0xf79284['GhWyj'](_0x5cd944,_0x562160);}};return async function _0x1a0555(_0x51503f,_0x5c1cf9){const _0x2cc53d=_0x27358a,_0x44acb6=_0x404a5b[_0x2cc53d(0x14c)](nestedKeyValue,_0x51503f,[_0x404a5b[_0x2cc53d(0x207)]])||_0x51503f;let _0x2a4a04=null,_0x38e49a=null;try{[_0x38e49a,_0x2a4a04]=_0x44acb6?_0x404a5b[_0x2cc53d(0x204)](parseWSEndpoint,_0x44acb6):[null,null],global['__platformCaps']=_0x2a4a04,_0x38e49a[_0x2cc53d(0x162)](_0x404a5b[_0x2cc53d(0x13c)])&&(global[_0x2cc53d(0x1e1)]=_0x404a5b[_0x2cc53d(0x13c)]);}catch(_0x2bd5dc){logger[_0x2cc53d(0x1a4)]('Failed\x20to\x20parse\x20wsendpoint\x20'+_0x44acb6+'\x20'+_0x2bd5dc);}_0x404a5b[_0x2cc53d(0x1f0)](processAccessibilityCaps,_0x2a4a04,_0x38e49a);if(global[_0x2cc53d(0x1a7)]){const _0x396bd1=await _0x2b36e5[_0x2cc53d(0x19f)][_0x2cc53d(0x15d)](this,[''+Constants[_0x2cc53d(0x192)]+_0x404a5b[_0x2cc53d(0x12c)](encodeURIComponent,JSON[_0x2cc53d(0x1d5)](_0x2a4a04))]);return PlaywrightSessionDetails[_0x2cc53d(0x1cb)](_0x396bd1,_0x266f27,_0x44acb6),_0x396bd1;}return _0x29f5ae[_0x2cc53d(0x15d)](this,arguments)[_0x2cc53d(0x14f)](_0x3a72fc=>{const _0x25fbd9=_0x2cc53d;let _0x43b30a=_0x51503f[_0x25fbd9(0x1f9)];return _0x404a5b[_0x25fbd9(0x18d)](typeof _0x51503f,_0x404a5b[_0x25fbd9(0x149)])&&(_0x43b30a=_0x51503f),PlaywrightSessionDetails[_0x25fbd9(0x1cb)](_0x3a72fc,_0x266f27,_0x43b30a),_0x3a72fc;});};}});const _0x1536ff=_0x2b36e5['launch'];Object[_0xb7e8d5(0x156)](_0x2b36e5,_0xf79284[_0xb7e8d5(0x1ac)],{'get':function(){return async function _0x34db98(){const _0x145bd0=a4_0x45c4;return _0x1536ff['apply'](this,arguments)[_0x145bd0(0x14f)](_0x374295=>{const _0x129ef1=_0x145bd0;return PlaywrightSessionDetails[_0x129ef1(0x1cb)](_0x374295,null),_0x374295;});};}});};class O11yHelper{[a4_0x2f73dd(0x137)]=null;[a4_0x2f73dd(0x1a6)]=null;['enabled']=![];['frameworkName']=![];constructor(_0x355961,_0x2c4062){const _0xf25983=a4_0x2f73dd,_0x432df8={'TWLYB':_0xf25983(0x1e5),'wQxFM':function(_0x155fcc,_0x38a000){return _0x155fcc===_0x38a000;},'pRxxI':_0xf25983(0x1bc),'DWkNr':function(_0x4ffd96,_0x1e0ac2){return _0x4ffd96(_0x1e0ac2);},'Lspxy':function(_0x387c2c){return _0x387c2c();}},_0x4d31d3=_0x432df8[_0xf25983(0x13e)][_0xf25983(0x1e6)]('|');let _0x2df8d4=0x0;while(!![]){switch(_0x4d31d3[_0x2df8d4++]){case'0':this[_0xf25983(0x14a)]=_0x355961;continue;case'1':this[_0xf25983(0x14a)]&&_0x432df8[_0xf25983(0x20a)](this['driver'][_0xf25983(0x179)][_0xf25983(0x1d4)],_0x432df8[_0xf25983(0x15b)])&&_0x432df8[_0xf25983(0x1fa)](mockPWBrowserType,null);continue;case'2':this[_0xf25983(0x1ad)]=_0x2c4062[_0xf25983(0x1ad)];continue;case'3':this['_testEnv']=_0x432df8[_0xf25983(0x210)](getTestEnv);continue;case'4':this[_0xf25983(0x1e9)]=new testOpsHelper[(_0xf25983(0x17e))]({'cwd':process['cwd']()},this[_0xf25983(0x1eb)][_0xf25983(0x211)]);continue;case'5':this[_0xf25983(0x135)]=_0x432df8['Lspxy'](shouldProcessEventForTesthub);continue;}break;}}[a4_0x2f73dd(0x1b2)](){const _0x2c813b=a4_0x2f73dd;if(!this[_0x2c813b(0x135)])return;testOpsHelper[_0x2c813b(0x12b)](),process[_0x2c813b(0x1da)](_0x2c813b(0x1d2)+process[_0x2c813b(0x168)]),process['on']('bs:addLog:'+process[_0x2c813b(0x168)],this[_0x2c813b(0x146)]['bind'](this));}async[a4_0x2f73dd(0x173)](){const _0x13a86d=a4_0x2f73dd;await RequestQueueHandler[_0x13a86d(0x199)]()['shutdown']();}async[a4_0x2f73dd(0x146)](_0x299c90){const _0x4272e4=a4_0x2f73dd,_0x5ebc40={'NOObM':'LogCreated','hAgkf':function(_0x55245a,_0x55b31f){return _0x55245a(_0x55b31f);}};try{this[_0x4272e4(0x1a6)]&&!this['currentHook'][_0x4272e4(0x213)]&&(_0x299c90['hook_run_uuid']=this[_0x4272e4(0x1a6)][_0x4272e4(0x1ae)]);!_0x299c90['hook_run_uuid']&&this[_0x4272e4(0x137)]&&!this['currentTest'][_0x4272e4(0x213)]&&(_0x299c90[_0x4272e4(0x171)]=this[_0x4272e4(0x137)][_0x4272e4(0x1f8)]);if(_0x299c90[_0x4272e4(0x1fc)]||_0x299c90['test_run_uuid']){const _0x389d3e={};_0x389d3e[_0x4272e4(0x206)]=_0x5ebc40[_0x4272e4(0x154)],_0x389d3e[_0x4272e4(0x150)]=[_0x299c90],await SessionHandler[_0x4272e4(0x1af)](_0x389d3e);}}catch(_0x3f000d){_0x5ebc40[_0x4272e4(0x19d)](debug,_0x4272e4(0x1d7)+_0x3f000d);}}async[a4_0x2f73dd(0x1be)](_0x3d3dd1){const _0x474402=a4_0x2f73dd,_0x197a09={'HNIaf':'CBTSessionCreated','lOqDp':function(_0x3ba9f2,_0x3a29c8){return _0x3ba9f2(_0x3a29c8);}};if(!this[_0x474402(0x135)])return;const _0x5a2abb=this[_0x474402(0x1f7)](this['driver']);try{const _0x43d96c={};_0x43d96c[_0x474402(0x205)]=_0x3d3dd1,_0x43d96c['integrations']=_0x5a2abb;const _0x49561c=_0x43d96c,_0x585d3d={};_0x585d3d[_0x474402(0x206)]=_0x197a09[_0x474402(0x1d8)],_0x585d3d['test_run']=_0x49561c,await SessionHandler['uploadEventData'](_0x585d3d);}catch(_0x2757fb){_0x197a09[_0x474402(0x170)](debug,'Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x2757fb);}}['getCBTInfo'](_0x431999){const _0x37f90f=a4_0x2f73dd,_0x4619db={'UcroZ':function(_0x45aeec,_0x12c0dc){return _0x45aeec(_0x12c0dc);}};return _0x4619db[_0x37f90f(0x1f5)](fetchPlatformDetails,_0x431999);}[a4_0x2f73dd(0x1cd)]=_0x5bfcc9=>{const _0x1acdde=a4_0x2f73dd,_0x1bd687={};_0x1bd687[_0x1acdde(0x21b)]=_0x1acdde(0x1b8),_0x1bd687[_0x1acdde(0x13a)]='_afterEach';const _0xf8f231=_0x1bd687;if(!_0x5bfcc9||!_0x5bfcc9['parent'])return;[_0xf8f231[_0x1acdde(0x21b)],_0xf8f231[_0x1acdde(0x13a)]][_0x1acdde(0x159)](_0x973de6=>{const _0x4c9a10=_0x1acdde,_0x309dc2=_0x5bfcc9[_0x4c9a10(0x19c)][_0x973de6];_0x309dc2[_0x4c9a10(0x159)](_0x30042f=>{const _0x583e2f=_0x4c9a10;_0x30042f['hookAnalyticsId']&&(_0x30042f[_0x583e2f(0x1ae)]=null);});});};['mapTestHooks'](_0x59dad7){const _0x2a9a08=a4_0x2f73dd,_0x521824={'yrEPa':'codeceptjs','SAsNj':function(_0x136f6b){return _0x136f6b();},'VcERq':function(_0xfee93,_0x956b96){return _0xfee93===_0x956b96;},'Nyfsm':'_afterEach','gkJYc':_0x2a9a08(0x152),'hGNjM':_0x2a9a08(0x184),'lIMfK':_0x2a9a08(0x1b8)};if(!_0x59dad7||!_0x59dad7[_0x2a9a08(0x19c)])return;[_0x521824[_0x2a9a08(0x1ec)],_0x521824[_0x2a9a08(0x1f6)],_0x521824[_0x2a9a08(0x1b1)],_0x521824[_0x2a9a08(0x1c6)]][_0x2a9a08(0x159)](_0x40c157=>{const _0x44ef70=_0x2a9a08,_0x5d318c={'lfZeC':_0x521824['yrEPa'],'sgcdJ':function(_0x53cfab){return _0x521824['SAsNj'](_0x53cfab);},'opDPD':function(_0x404e30,_0x1e821){const _0x3e356b=a4_0x45c4;return _0x521824[_0x3e356b(0x157)](_0x404e30,_0x1e821);},'NkuNX':_0x521824[_0x44ef70(0x1c6)]},_0x159ba8=_0x59dad7[_0x44ef70(0x19c)][_0x40c157]||[];_0x159ba8[_0x44ef70(0x159)](_0x11ebaf=>{const _0x3f4204=_0x44ef70;if(_0x11ebaf[_0x3f4204(0x186)]['includes'](_0x5d318c[_0x3f4204(0x16a)]))return;if(!_0x11ebaf['hookAnalyticsId'])_0x11ebaf[_0x3f4204(0x1ae)]=_0x5d318c[_0x3f4204(0x155)](uuidv4);else _0x11ebaf[_0x3f4204(0x213)]&&_0x5d318c[_0x3f4204(0x142)](_0x40c157,_0x5d318c['NkuNX'])&&(_0x11ebaf[_0x3f4204(0x1ae)]=_0x5d318c[_0x3f4204(0x155)](uuidv4),delete _0x11ebaf[_0x3f4204(0x213)]);});}),this[_0x2a9a08(0x17d)](_0x59dad7[_0x2a9a08(0x19c)]);}[a4_0x2f73dd(0x13d)](_0x2f689c){const _0x4da5a9=a4_0x2f73dd,_0x10437f={};_0x10437f['uxtwR']='_beforeAll',_0x10437f[_0x4da5a9(0x1e0)]='_afterAll',_0x10437f[_0x4da5a9(0x212)]=_0x4da5a9(0x1b8),_0x10437f[_0x4da5a9(0x1c7)]='_afterEach';const _0x3a3c40=_0x10437f;if(!_0x2f689c||!_0x2f689c[_0x4da5a9(0x19c)])return[];const _0x4879fc=[];return[_0x3a3c40[_0x4da5a9(0x1ba)],_0x3a3c40['TolOm'],_0x3a3c40[_0x4da5a9(0x212)],_0x3a3c40[_0x4da5a9(0x1c7)]][_0x4da5a9(0x159)](_0x25e612=>{const _0x9e126d=_0x4da5a9,_0x5beb42=_0x2f689c['parent'][_0x25e612]||[];_0x5beb42[_0x9e126d(0x159)](_0xf8d20d=>{const _0x215a46=_0x9e126d;_0xf8d20d[_0x215a46(0x1ae)]&&_0x4879fc['push'](_0xf8d20d[_0x215a46(0x1ae)]);});}),[][_0x4da5a9(0x17c)](_0x4879fc,this['getHooksForTest'](_0x2f689c[_0x4da5a9(0x19c)]));}[a4_0x2f73dd(0x164)](_0x41411a){const _0x268979=a4_0x2f73dd,_0x390758=/^"(?<hook>.*)" hook:.*$/,_0x58bfbd=_0x41411a[_0x268979(0x186)],_0x5159c2=_0x58bfbd[_0x268979(0x1c9)](_0x390758);if(_0x5159c2&&_0x5159c2[_0x268979(0x1db)])return _0x5159c2[_0x268979(0x1db)][_0x268979(0x1e3)]['toUpperCase']()[_0x268979(0x141)]('\x20','_');return null;}[a4_0x2f73dd(0x214)](_0x117494){const _0x519b37=a4_0x2f73dd,_0x327a8d={};_0x327a8d[_0x519b37(0x1fd)]=function(_0xb2be5f,_0x8dea08){return _0xb2be5f===_0x8dea08;},_0x327a8d[_0x519b37(0x13f)]=function(_0x50ba6d,_0x3212d4){return _0x50ba6d===_0x3212d4;},_0x327a8d[_0x519b37(0x174)]=function(_0x2c14c3,_0x5e9087){return _0x2c14c3===_0x5e9087;},_0x327a8d[_0x519b37(0x143)]='.git',_0x327a8d[_0x519b37(0x160)]=_0x519b37(0x1a8);const _0x4b6453=_0x327a8d,_0x2a3468=path[_0x519b37(0x1a0)];if(_0x4b6453[_0x519b37(0x1fd)](_0x117494,null)||_0x4b6453[_0x519b37(0x1fd)](_0x117494,'')||_0x4b6453['vjvmr'](_0x117494,_0x2a3468)||_0x4b6453['GacJK'](_0x117494,path[_0x519b37(0x196)](_0x117494)))return null;try{return fs['statSync'](path['join'](_0x117494,_0x4b6453[_0x519b37(0x143)],_0x4b6453[_0x519b37(0x160)])),_0x117494;}catch(_0x5a84fb){const _0x56bbcb=path['dirname'](_0x117494);return this[_0x519b37(0x214)](_0x56bbcb);}}[a4_0x2f73dd(0x145)](_0x278b64){const _0x1fa49c=a4_0x2f73dd,_0xde21e8={};_0xde21e8[_0x1fa49c(0x132)]=function(_0x100a1b,_0x417595){return _0x100a1b>_0x417595;};const _0x227f5f=_0xde21e8;if(_0x278b64['file'])return _0x278b64[_0x1fa49c(0x161)];if(_0x278b64[_0x1fa49c(0x16b)]){const _0x5851e6=_0x278b64[_0x1fa49c(0x16b)][_0x1fa49c(0x137)]?this[_0x1fa49c(0x145)](_0x278b64[_0x1fa49c(0x16b)][_0x1fa49c(0x137)]):null;if(_0x5851e6)return _0x5851e6;}if(_0x278b64[_0x1fa49c(0x19c)]){const _0x3e1cd7=this[_0x1fa49c(0x145)](_0x278b64[_0x1fa49c(0x19c)])||(_0x278b64[_0x1fa49c(0x19c)]['ctx']&&_0x278b64[_0x1fa49c(0x19c)][_0x1fa49c(0x16b)][_0x1fa49c(0x137)]?this[_0x1fa49c(0x145)](_0x278b64['parent']['ctx'][_0x1fa49c(0x137)]):null);if(_0x3e1cd7)return _0x3e1cd7;_0x278b64['parent'][_0x1fa49c(0x1d3)]&&_0x227f5f[_0x1fa49c(0x132)](_0x278b64['parent'][_0x1fa49c(0x1d3)][_0x1fa49c(0x17a)],0x0)&&_0x278b64[_0x1fa49c(0x19c)][_0x1fa49c(0x1d3)][_0x1fa49c(0x159)](_0x5e5fef=>{const _0x1fefb8=_0x1fa49c,_0x558470=_0x5e5fef['ctx']?this[_0x1fefb8(0x145)](_0x5e5fef[_0x1fefb8(0x16b)]):null;if(_0x558470)return _0x558470;});}return null;}[a4_0x2f73dd(0x12e)](_0x8239b6){const _0x5cf9ba=a4_0x2f73dd,_0x22fa0a={};_0x22fa0a[_0x5cf9ba(0x14e)]=function(_0x2d93b3,_0x59e320){return _0x2d93b3!==_0x59e320;};const _0x45b2f3=_0x22fa0a,_0x12b081=[];if(_0x8239b6&&_0x8239b6[_0x5cf9ba(0x19c)]){let _0x17288a=_0x8239b6[_0x5cf9ba(0x19c)];while(_0x17288a&&_0x45b2f3[_0x5cf9ba(0x14e)](_0x17288a['title'],'')){_0x12b081[_0x5cf9ba(0x1dc)](_0x17288a[_0x5cf9ba(0x186)]),_0x17288a=_0x17288a[_0x5cf9ba(0x19c)];}}return _0x12b081;}[a4_0x2f73dd(0x1ab)](_0x1dd27b,_0x5afa64,_0x4e2d10=undefined){const _0x2ce5ce=a4_0x2f73dd,_0x3dd9bc={'XhsxD':function(_0x18de6d,_0xe93b02){return _0x18de6d(_0xe93b02);},'ZdKKj':function(_0x5c1455){return _0x5c1455();},'kTqrS':function(_0x3cb9d7){return _0x3cb9d7();},'eletR':function(_0x381f5b,_0x49c35a){return _0x381f5b(_0x49c35a);},'LunBi':'util','wXOrP':_0x2ce5ce(0x20e),'pMibY':function(_0x5923f1,_0x5e47f2){return _0x5923f1!==_0x5e47f2;},'pmsax':function(_0x623372,_0x2ece2b){return _0x623372!==_0x2ece2b;},'kZqos':_0x2ce5ce(0x182),'bfRoP':_0x2ce5ce(0x1c5),'gEkhZ':_0x2ce5ce(0x1e2),'VNpkL':_0x2ce5ce(0x216),'tOMOu':_0x2ce5ce(0x151),'WzYNd':_0x2ce5ce(0x14d),'eIQTF':function(_0xfc8197,_0x569d08){return _0xfc8197-_0x569d08;},'vzqdY':function(_0x1c11a8,_0x4ee7a0,_0x33d689,_0x43a252,_0x233fea){return _0x1c11a8(_0x4ee7a0,_0x33d689,_0x43a252,_0x233fea);},'tzLxa':function(_0x2eaf37,_0x36afe4){return _0x2eaf37!==_0x36afe4;},'yFFkZ':_0x2ce5ce(0x1e4),'RqSus':'meta','QrjtM':_0x2ce5ce(0x177),'lyPSp':_0x2ce5ce(0x1c1),'zJOxR':_0x2ce5ce(0x1cc),'vDxvW':_0x2ce5ce(0x1a9),'xpzMA':_0x2ce5ce(0x21a),'JxKLU':function(_0x285dc4,_0x40e912){return _0x285dc4===_0x40e912;},'xpnNV':_0x2ce5ce(0x20f),'OHpeM':_0x2ce5ce(0x1c2)};if(!this['enabled'])return;try{if(_0x5afa64['fn']&&_0x5afa64['fn'][_0x2ce5ce(0x166)]()['match'](/browserstack internal helper hook/))return;const _0xecf065=_0x3dd9bc['XhsxD'](parseEvent,_0x1dd27b);if(!_0xecf065)return;if(_0xecf065[_0x2ce5ce(0x1b6)]){this[_0x2ce5ce(0x137)]=_0x5afa64,this['currentHook']=null;if(_0xecf065[_0x2ce5ce(0x208)]||_0xecf065['skipped']){_0x5afa64[_0x2ce5ce(0x1b4)]=new Date(),_0x5afa64[_0x2ce5ce(0x213)]=![];if(!_0x5afa64[_0x2ce5ce(0x1f8)])_0x5afa64[_0x2ce5ce(0x1f8)]=_0x3dd9bc[_0x2ce5ce(0x15c)](uuidv4);else _0x5afa64['markedStatus']&&(!_0x5afa64[_0x2ce5ce(0x15a)]&&(_0x5afa64['retryOf']=_0x5afa64[_0x2ce5ce(0x1f8)]),_0x5afa64[_0x2ce5ce(0x1f8)]=_0x3dd9bc['ZdKKj'](uuidv4));}}else{if(_0xecf065[_0x2ce5ce(0x1e3)]){this[_0x2ce5ce(0x1a6)]=_0x5afa64;if(_0xecf065['started']){_0x5afa64[_0x2ce5ce(0x1b4)]=new Date(),_0x5afa64[_0x2ce5ce(0x213)]=![];if(!_0x5afa64[_0x2ce5ce(0x1ae)])_0x5afa64[_0x2ce5ce(0x1ae)]=_0x3dd9bc[_0x2ce5ce(0x18a)](uuidv4);else _0x5afa64[_0x2ce5ce(0x1ae)]&&_0x5afa64[_0x2ce5ce(0x213)]&&(_0x5afa64[_0x2ce5ce(0x1ae)]=_0x3dd9bc[_0x2ce5ce(0x18a)](uuidv4));}}}if(_0xecf065[_0x2ce5ce(0x147)]&&_0x5afa64[_0x2ce5ce(0x213)])return;let _0x5b33be;try{_0x5b33be=this[_0x2ce5ce(0x145)](_0x5afa64);}catch(_0x1d99b0){logger[_0x2ce5ce(0x1a4)](_0x2ce5ce(0x136)+_0x1d99b0),_0x5b33be=null;}const _0x322777=_0x3dd9bc[_0x2ce5ce(0x18c)](require,_0x3dd9bc['LunBi']);let _0x562340=[];_0x4e2d10&&(_0x562340=[_0x4e2d10,_0x3dd9bc[_0x2ce5ce(0x193)]]);const _0x1917d7=_0x3dd9bc['pMibY'](_0x5afa64[_0x2ce5ce(0x200)],undefined)?_0x322777[_0x2ce5ce(0x165)](_0x5afa64[_0x2ce5ce(0x200)][0x0]):_0x3dd9bc['pmsax'](_0x4e2d10,undefined)?_0x4e2d10[_0x2ce5ce(0x166)]():undefined,_0x3fb98f=_0x5b33be?this[_0x2ce5ce(0x214)](_0x5b33be):null,_0x446656=_0x5b33be?this['_paths']['prefixTestPath'](this[_0x2ce5ce(0x145)](_0x5afa64)):_0x3dd9bc['kZqos'];let _0xdafe80=_0x3dd9bc[_0x2ce5ce(0x1ea)];const _0x24d1c4=!_0xecf065[_0x2ce5ce(0x208)]?new Date()['toISOString']():null;if(_0xecf065[_0x2ce5ce(0x147)])_0xdafe80=_0x4e2d10?_0x3dd9bc[_0x2ce5ce(0x20d)]:_0x3dd9bc['VNpkL'],_0x5afa64['markedStatus']=!![];else _0xecf065[_0x2ce5ce(0x151)]&&(_0xdafe80=_0x3dd9bc['tOMOu'],_0x5afa64['markedStatus']=!![]);const _0x2e0192={'framework':this[_0x2ce5ce(0x1ad)],'uuid':_0x5afa64[_0x2ce5ce(0x1f8)]||_0x5afa64[_0x2ce5ce(0x1ae)],'name':_0x5afa64['title'],'body':{'lang':_0x3dd9bc[_0x2ce5ce(0x1b0)],'code':_0x5afa64[_0x2ce5ce(0x1b5)][_0x2ce5ce(0x166)]()},'type':_0x5afa64[_0x2ce5ce(0x20b)],'scope':_0x5afa64[_0x2ce5ce(0x190)](),'scopes':this[_0x2ce5ce(0x12e)](_0x5afa64),'file_name':_0x446656,'vc_filepath':_0x3fb98f?path[_0x2ce5ce(0x191)](_0x3fb98f,_0x5b33be):null,'location':_0x446656,'result':_0xdafe80,'failure_reason':_0x1917d7,'duration_in_ms':_0x5afa64['duration']||(_0xecf065['finished']||_0xecf065[_0x2ce5ce(0x151)])?_0x3dd9bc['eIQTF'](Date['now'](),new Date(_0x5afa64[_0x2ce5ce(0x1b4)])[_0x2ce5ce(0x14b)]()):null,'started_at':new Date(_0x5afa64[_0x2ce5ce(0x1b4)])['toISOString'](),'finished_at':_0x24d1c4,'failure':testOpsHelper['failureData'][_0x2ce5ce(0x15d)](null,_0x562340),'failure_type':!_0x1917d7?null:testOpsHelper[_0x2ce5ce(0x1a3)](_0x1917d7),'retry_of':_0x5afa64[_0x2ce5ce(0x15a)]||null,'tags':_0x5afa64['tags']||[],'customRerunParam':{'rerun_name':_0x5afa64[_0x2ce5ce(0x190)]()}};_0x3dd9bc[_0x2ce5ce(0x1ed)](appendTesthubParams,_0x2e0192,_0x1dd27b,_0x5afa64,FRAMEWORKS['CODECEPT']);if(_0xecf065[_0x2ce5ce(0x1e3)])[_0x2e0192['hook_type'],_0x2e0192[_0x2ce5ce(0x1d4)]]=[this[_0x2ce5ce(0x164)](_0x5afa64),_0x5afa64[_0x2ce5ce(0x16b)]['test'][_0x2ce5ce(0x186)]],_0xecf065[_0x2ce5ce(0x147)]?_0x3dd9bc[_0x2ce5ce(0x1de)](_0x2e0192[_0x2ce5ce(0x1a1)],_0x3dd9bc['gEkhZ'])&&(_0x2e0192[_0x2ce5ce(0x1a1)]=_0x3dd9bc[_0x2ce5ce(0x176)]):_0x2e0192[_0x2ce5ce(0x1b5)]={};else _0xecf065[_0x2ce5ce(0x1b6)]&&(this[_0x2ce5ce(0x17d)](_0x5afa64),_0xecf065[_0x2ce5ce(0x151)]&&this['resetSkipTestHooks'](_0x5afa64),(_0xecf065[_0x2ce5ce(0x147)]||_0xecf065[_0x2ce5ce(0x151)])&&(_0x2e0192['hooks']=this[_0x2ce5ce(0x13d)](_0x5afa64)));this[_0x2ce5ce(0x14a)]&&(_0xecf065['started']||_0xecf065['skipped'])&&(_0x2e0192[_0x3dd9bc[_0x2ce5ce(0x1c3)]]=this[_0x2ce5ce(0x1f7)](this[_0x2ce5ce(0x14a)]));_0xecf065[_0x2ce5ce(0x1b6)]&&_0xecf065[_0x2ce5ce(0x147)]&&_0x5afa64[_0x2ce5ce(0x144)]&&(_0x2e0192[_0x3dd9bc[_0x2ce5ce(0x127)]]={'feature':{'name':_0x5afa64['parent'][_0x2ce5ce(0x12f)][_0x2ce5ce(0x1d4)],'path':_0x2e0192[_0x2ce5ce(0x1b7)],'description':_0x5afa64['parent'][_0x2ce5ce(0x1f2)]},'scenario':{'name':_0x5afa64[_0x2ce5ce(0x186)]},'steps':_0x5afa64['bddSteps']});const _0x1c2128=_0x2e0192[_0x3dd9bc[_0x2ce5ce(0x17b)]][0x0];_0x1c2128&&(_0x2e0192[_0x3dd9bc[_0x2ce5ce(0x128)]]=_0x1c2128[_0x3dd9bc['zJOxR']],_0x2e0192[_0x3dd9bc['vDxvW']]=_0x1c2128[_0x3dd9bc[_0x2ce5ce(0x129)]]);if(_0x5afa64[_0x2ce5ce(0x144)])for(const _0x2b0b17 of _0x5afa64['bddSteps']){!_0x2b0b17[_0x2ce5ce(0x1f4)]&&(_0x2b0b17[_0x2ce5ce(0x1f4)]=new Date()[_0x2ce5ce(0x1ff)](),_0x3dd9bc[_0x2ce5ce(0x195)](_0x2b0b17[_0x2ce5ce(0x1a1)],_0x3dd9bc[_0x2ce5ce(0x1ea)])&&(_0x1c2128?(_0x2b0b17[_0x2ce5ce(0x1a1)]=_0x3dd9bc[_0x2ce5ce(0x20d)],_0x2b0b17[_0x2ce5ce(0x177)]=_0x1c2128[_0x3dd9bc[_0x2ce5ce(0x1d6)]][0x0]):_0x2b0b17[_0x2ce5ce(0x1a1)]=_0x3dd9bc[_0x2ce5ce(0x176)]));}const _0x52094f={};_0x52094f['event_type']=_0xecf065[_0x2ce5ce(0x151)]?TEST_EVENTS[_0x2ce5ce(0x175)]:_0x1dd27b;const _0x1fc87b=_0x52094f;return _0xecf065[_0x2ce5ce(0x1e3)]?_0x1fc87b[_0x3dd9bc[_0x2ce5ce(0x15f)]]=_0x2e0192:_0x1fc87b[_0x3dd9bc[_0x2ce5ce(0x1f3)]]=_0x2e0192,_0x1fc87b;}catch(_0x1982cb){logger[_0x2ce5ce(0x1a4)]('Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'+_0x1dd27b+_0x2ce5ce(0x1ef)+_0x1982cb);}}async['fireEvent'](_0x371551,_0x2d97c2){const _0x1777db=a4_0x2f73dd;if(!this['enabled']||!_0x2d97c2||!_0x371551)return![];try{return await SessionHandler[_0x1777db(0x1af)](_0x2d97c2);}catch(_0x546025){logger[_0x1777db(0x1a4)](_0x1777db(0x163)+_0x371551+_0x1777db(0x1ef)+_0x546025);}}[a4_0x2f73dd(0x15e)](_0x335122){const _0x5bf218=a4_0x2f73dd,_0x5b4c76={};_0x5b4c76[_0x5bf218(0x153)]='pending';const _0x162657=_0x5b4c76;return{'id':_0x335122['stepAnalyticsId'],'text':_0x335122[_0x5bf218(0x19a)],'keyword':_0x335122[_0x5bf218(0x18b)],'started_at':_0x335122[_0x5bf218(0x1b4)][_0x5bf218(0x1ff)](),'result':_0x162657['eAReS']};}[a4_0x2f73dd(0x1c4)](_0x41cd95){const _0x1b767f=a4_0x2f73dd,_0xbde737={'FsrPI':function(_0x4f171a){return _0x4f171a();}};!this[_0x1b767f(0x137)][_0x1b767f(0x144)]&&(this['currentTest'][_0x1b767f(0x144)]=[]),!_0x41cd95['stepAnalyticsId']&&(_0x41cd95[_0x1b767f(0x158)]=_0xbde737[_0x1b767f(0x1b9)](uuidv4),_0x41cd95['startedAt']=new Date(),this[_0x1b767f(0x137)][_0x1b767f(0x144)][_0x1b767f(0x1dc)](this[_0x1b767f(0x15e)](_0x41cd95)));}['bddStepFinish'](_0x14d27d){const _0x1bb9e7=a4_0x2f73dd,_0x4a6baa={'SThSc':function(_0x3b1260,_0xf7cb1b){return _0x3b1260(_0xf7cb1b);},'FpnsM':_0x1bb9e7(0x16f),'FFxHH':_0x1bb9e7(0x1c5),'xEHLm':'passed','BJzap':function(_0x6492da,_0x2d9dc6){return _0x6492da-_0x2d9dc6;}};let _0x196787=this['currentTest'][_0x1bb9e7(0x144)]['find'](_0x7adcd2=>_0x7adcd2['id']===_0x14d27d[_0x1bb9e7(0x158)]);_0x4a6baa['SThSc'](isUndefined,_0x196787)&&(_0x196787=this[_0x1bb9e7(0x15e)](_0x14d27d)),_0x196787[_0x1bb9e7(0x1a1)]=[_0x4a6baa[_0x1bb9e7(0x1dd)],_0x4a6baa[_0x1bb9e7(0x1a2)]][_0x1bb9e7(0x162)](_0x14d27d['status'])?_0x4a6baa[_0x1bb9e7(0x1df)]:_0x14d27d[_0x1bb9e7(0x134)],_0x196787[_0x1bb9e7(0x1f4)]=new Date()[_0x1bb9e7(0x1ff)](),_0x196787['duration']=_0x4a6baa[_0x1bb9e7(0x1bf)](Date['now'](),_0x14d27d[_0x1bb9e7(0x1b4)]['getTime']()),_0x196787[_0x1bb9e7(0x177)]=_0x14d27d[_0x1bb9e7(0x20e)]?_0x14d27d[_0x1bb9e7(0x20e)][_0x1bb9e7(0x1bb)]:null;}}function a4_0x45c4(_0xa335f2,_0x4d0783){const _0x38ba24=a4_0x38ba();return a4_0x45c4=function(_0x45c43a,_0x2f6af5){_0x45c43a=_0x45c43a-0x127;let _0x9bcbe5=_0x38ba24[_0x45c43a];return _0x9bcbe5;},a4_0x45c4(_0xa335f2,_0x4d0783);}const a4_0x4788c6={};a4_0x4788c6[a4_0x2f73dd(0x202)]=O11yHelper,a4_0x4788c6['STATE_PASSED']=STATE_PASSED,a4_0x4788c6[a4_0x2f73dd(0x188)]=STATE_FAILED,a4_0x4788c6[a4_0x2f73dd(0x180)]=TEST_EVENTS,module['exports']=a4_0x4788c6;
1
+ const a4_0x52c832=a4_0x50f4;(function(_0x37ac68,_0x32b4ad){const _0x2d8b79=a4_0x50f4,_0xce825a=_0x37ac68();while(!![]){try{const _0x4f9df6=parseInt(_0x2d8b79(0x1bf))/0x1+-parseInt(_0x2d8b79(0x18d))/0x2*(-parseInt(_0x2d8b79(0x176))/0x3)+-parseInt(_0x2d8b79(0x202))/0x4+-parseInt(_0x2d8b79(0x1b4))/0x5*(parseInt(_0x2d8b79(0x158))/0x6)+-parseInt(_0x2d8b79(0x107))/0x7*(-parseInt(_0x2d8b79(0x1f1))/0x8)+parseInt(_0x2d8b79(0x187))/0x9+-parseInt(_0x2d8b79(0x1cd))/0xa*(-parseInt(_0x2d8b79(0x13a))/0xb);if(_0x4f9df6===_0x32b4ad)break;else _0xce825a['push'](_0xce825a['shift']());}catch(_0x4e84f2){_0xce825a['push'](_0xce825a['shift']());}}}(a4_0x336c,0xe54bc));const path=require(a4_0x52c832(0x179)),fs=require('fs'),{v4:uuidv4}=require(a4_0x52c832(0x122)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require('../../helpers/helper'),testOpsHelper=require(a4_0x52c832(0x12b)),{getTestEnv}=require(a4_0x52c832(0x111)),{FRAMEWORKS}=require(a4_0x52c832(0x1c0)),logger=require(a4_0x52c832(0x147))[a4_0x52c832(0x181)],SessionHandler=require(a4_0x52c832(0x1eb)),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),PlaywrightSessionDetails=require('../playwright/sessionDetails'),debug=testOpsHelper[a4_0x52c832(0x1ff)],{processAccessibilityCaps}=require('../playwright/accessibility-helper'),Constants=require(a4_0x52c832(0x15b)),{fetchPlatformDetails}=require(a4_0x52c832(0x1f7)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x52c832(0x1c9)),STATE_PASSED=a4_0x52c832(0x163),STATE_FAILED=a4_0x52c832(0x14e),a4_0x3e0c6e={};function a4_0x50f4(_0x3ace6b,_0x422505){const _0x336c1b=a4_0x336c();return a4_0x50f4=function(_0x50f4aa,_0x1e95b4){_0x50f4aa=_0x50f4aa-0x107;let _0x4791b6=_0x336c1b[_0x50f4aa];return _0x4791b6;},a4_0x50f4(_0x3ace6b,_0x422505);}a4_0x3e0c6e[a4_0x52c832(0x1f3)]='TestRunStarted',a4_0x3e0c6e[a4_0x52c832(0x1e3)]=a4_0x52c832(0x1c7),a4_0x3e0c6e[a4_0x52c832(0x177)]=a4_0x52c832(0x1cf),a4_0x3e0c6e[a4_0x52c832(0x1c3)]=a4_0x52c832(0x138),a4_0x3e0c6e[a4_0x52c832(0x1e6)]=a4_0x52c832(0x19d);const TEST_EVENTS=a4_0x3e0c6e,parseEvent=_0x53382a=>{const _0xf476ba=a4_0x52c832,_0x22fb5f={};_0x22fb5f[_0xf476ba(0x13f)]=function(_0x512d83,_0x59f84f){return _0x512d83<_0x59f84f;},_0x22fb5f[_0xf476ba(0x1a5)]=function(_0x32e31f,_0x39cd05){return _0x32e31f===_0x39cd05;},_0x22fb5f['xKfcb']='test',_0x22fb5f[_0xf476ba(0x1ca)]=_0xf476ba(0x143),_0x22fb5f[_0xf476ba(0x157)]=function(_0x4a49d5,_0x3bfbd8){return _0x4a49d5===_0x3bfbd8;},_0x22fb5f['YZUhm']=_0xf476ba(0x124),_0x22fb5f[_0xf476ba(0x115)]=function(_0x7fbe08,_0x41e250){return _0x7fbe08===_0x41e250;},_0x22fb5f['CwFqL']='started',_0x22fb5f['DRbrb']='finished';const _0x213d35=_0x22fb5f,_0x4531aa=_0x53382a['match'](/^(.*)Run(.*)$/);if(!_0x4531aa)return null;if(_0x213d35[_0xf476ba(0x13f)](_0x4531aa['length'],0x3))return null;const _0x36d2f7=_0x4531aa[0x1][_0xf476ba(0x1b6)](),_0x1eb1a9=_0x4531aa[0x2]['toLowerCase']();return{'test':_0x213d35['kmBPY'](_0x36d2f7,_0x213d35['xKfcb']),'hook':_0x213d35[_0xf476ba(0x1a5)](_0x36d2f7,_0x213d35[_0xf476ba(0x1ca)]),'skipped':_0x213d35[_0xf476ba(0x157)](_0x1eb1a9,_0x213d35[_0xf476ba(0x200)]),'started':_0x213d35['FgfaO'](_0x1eb1a9,_0x213d35[_0xf476ba(0x199)]),'finished':_0x213d35[_0xf476ba(0x115)](_0x1eb1a9,_0x213d35[_0xf476ba(0x17e)])};},mockPWBrowserType=_0x43a7ae=>{const _0x1461b0=a4_0x52c832,_0x1513b3={'hQEOF':function(_0x37745d,_0x3c6d61){return _0x37745d===_0x3c6d61;},'KUDwr':_0x1461b0(0x1ce),'zzLmj':function(_0x1f767a,_0xe61b46,_0x5c6a5d){return _0x1f767a(_0xe61b46,_0x5c6a5d);},'zHOky':'wsEndpoint','fpQMW':function(_0x54aac,_0x599d19){return _0x54aac(_0x599d19);},'faArA':_0x1461b0(0x11d),'IlBgO':function(_0x204aeb,_0x308c04,_0x309de6){return _0x204aeb(_0x308c04,_0x309de6);},'xVXZl':function(_0x2a4dd8,_0x408950){return _0x2a4dd8(_0x408950);},'OZkiM':'lib','QZtXL':_0x1461b0(0x112),'KUsHI':_0x1461b0(0x1e7),'KmZfH':function(_0x111cc4,_0x2bdc52){return _0x111cc4(_0x2bdc52);},'PqDVe':_0x1461b0(0x19b),'KLYpV':_0x1461b0(0x1c2),'QomMN':_0x1461b0(0x10d)},_0x40a0e4=path[_0x1461b0(0x141)](_0x1513b3['OZkiM'],_0x1513b3[_0x1461b0(0x169)],_0x1513b3[_0x1461b0(0x184)]),_0x1243c8=_0x1513b3[_0x1461b0(0x126)](importFileFromPWCore,_0x40a0e4);if(!_0x1243c8){_0x1513b3['KmZfH'](debug,_0x1513b3[_0x1461b0(0x12d)]);return;}const _0x9d747a=_0x1243c8[_0x1461b0(0x11b)],_0x153118=_0x9d747a[_0x1461b0(0x134)];if(_0x153118[_0x1461b0(0x195)])return;const _0x7b4d2=_0x153118[_0x1461b0(0x1c2)];Object['defineProperty'](_0x153118,_0x1513b3[_0x1461b0(0x1d1)],{'get':function(){return async function _0x205f15(_0x4fcb79,_0x31e832){const _0x2de9f7=a4_0x50f4,_0x15698f={'avcta':function(_0x5be997,_0x1a3d3f){const _0x1c8ca0=a4_0x50f4;return _0x1513b3[_0x1c8ca0(0x183)](_0x5be997,_0x1a3d3f);},'YoOnV':_0x1513b3[_0x2de9f7(0x164)]},_0x49d1e9=_0x1513b3[_0x2de9f7(0x1bc)](nestedKeyValue,_0x4fcb79,[_0x1513b3['zHOky']])||_0x4fcb79;let _0xf8330f=null,_0x5c3a12=null;try{[_0x5c3a12,_0xf8330f]=_0x49d1e9?_0x1513b3[_0x2de9f7(0x116)](parseWSEndpoint,_0x49d1e9):[null,null],global['__platformCaps']=_0xf8330f,_0x5c3a12[_0x2de9f7(0x1ec)](_0x1513b3[_0x2de9f7(0x117)])&&(global[_0x2de9f7(0x17c)]=_0x1513b3[_0x2de9f7(0x117)]);}catch(_0x4e3a0f){logger[_0x2de9f7(0x1ff)](_0x2de9f7(0x166)+_0x49d1e9+'\x20'+_0x4e3a0f);}_0x1513b3[_0x2de9f7(0x1f2)](processAccessibilityCaps,_0xf8330f,_0x5c3a12);if(global[_0x2de9f7(0x1e5)]){const _0xe112f4=await _0x153118[_0x2de9f7(0x1e1)][_0x2de9f7(0x16c)](this,[''+Constants[_0x2de9f7(0x14b)]+_0x1513b3[_0x2de9f7(0x126)](encodeURIComponent,JSON[_0x2de9f7(0x161)](_0xf8330f))]);return PlaywrightSessionDetails['setupBrowserDetails'](_0xe112f4,_0x43a7ae,_0x49d1e9),_0xe112f4;}return _0x7b4d2[_0x2de9f7(0x16c)](this,arguments)[_0x2de9f7(0x155)](_0x13cec4=>{const _0x168ff0=_0x2de9f7;let _0x37c1ec=_0x4fcb79['wsEndpoint'];return _0x15698f['avcta'](typeof _0x4fcb79,_0x15698f[_0x168ff0(0x1a9)])&&(_0x37c1ec=_0x4fcb79),PlaywrightSessionDetails[_0x168ff0(0x188)](_0x13cec4,_0x43a7ae,_0x37c1ec),_0x13cec4;});};}});const _0x6fd87=_0x153118[_0x1461b0(0x10d)];Object[_0x1461b0(0x137)](_0x153118,_0x1513b3[_0x1461b0(0x182)],{'get':function(){return async function _0x5d2e06(){const _0x1cea35=a4_0x50f4;return _0x6fd87['apply'](this,arguments)[_0x1cea35(0x155)](_0x3de5f1=>{const _0x52b128=_0x1cea35;return PlaywrightSessionDetails[_0x52b128(0x188)](_0x3de5f1,null),_0x3de5f1;});};}});};function a4_0x336c(){const _0x5a0bd6=['FnQtR','lbFks','_afterEach','../../helpers/test-observability/sessionHandler','includes','stepAnalyticsId','ppUvu','wyucS','file_name','437072RBxuJH','IlBgO','TEST_RUN_STARTED','status','relative','LogCreated','./helper.js','test_run','fullTitle','duration','file','\x20with\x20error\x20:\x20','prefixTestPath','resetSkipTestHooks','debug','YZUhm','Hgidg','3331668YtyhXU','PJnGl','failureData','105sFNRbN','parent','ePPnl','IofhY','codeceptjs','currentHook','launch','name','xUIxi','TVMaz','../mocha/test-observability/mochaUtils','client','gLlzl','currentTest','FgfaO','fpQMW','faArA','bvsip','test','location_prefix','BrowserType','inspect','browserstack','hook_run_uuid','frameworkName','toISOString','UXTiD','uuid','PJgiv','skipped','ntyVm','xVXZl','keyword','PathHelper','VXRji','itjYh','../../helpers/test-observability/utils','NJaRH','PqDVe','_paths','STATE_PASSED','started','failure_reason_expanded','appendTestItemLog','_afterAll','prototype','startedAt','XZwxu','defineProperty','HookRunStarted','bddStepFinish','8239jmzyRY','JeILn','now','PMokO','TBeNY','UxJjC','File\x20path\x20could\x20not\x20be\x20found','join','_beforeAll','hook','Tkkgu','lsRhu','sep','../../helpers/logger','AXnps','bs:addLog:','cwd','PLAYWRIGHT_HUB_URL','NZWIz','finished','failed','hooks','PHrsu','retryOf','_testEnv','findGitConfig','hook_type','then','toUpperCase','IPexS','222fgphlq','CqvAB','O11yHelper','../utils/constants','aJPHH','uploadEventData','replace','config','OfiiX','stringify','testAnalyticsId','passed','KUDwr','meta','Failed\x20to\x20parse\x20wsendpoint\x20','util','toString','QZtXL','mKQcT','groups','apply','match','getFailureType','SkGku','feature','Playwright','find','enabled','rPjQx','concat','1542Fdtblt','TEST_RUN_SKIPPED','getRootParentFile','path','failure','getTime','__cloud_provider___','driver','DRbrb','failed\x20to\x20get\x20root\x20parent\x20file\x20','finished_at','winstonLogger','QomMN','hQEOF','KUsHI','getHooksForTest','TrfKc','1330623jQFfbF','setupBrowserDetails','bddSteps','bddStepStart','SJwEu','ctx','2054YfjcEm','constructor','DwhBL','LoUCJ','Bfgnt','getCBTInfo','comment','err','obsBrowserTypeMockApplied','hookAnalyticsId','bTrGX','fireEvent','CwFqL','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','Not\x20able\x20to\x20import\x20Browser','javascript','HookRunFinished','Capli','markedStatus','suites','dirname','lelXv','type','bind','kmBPY','NusvB','pending','Fvwnj','YoOnV','XjnDp','CODECEPT','JZaxb','kLshQ','bGgAB','pIYYN','title','wMfWv','initializeBddStep','YmNqQ','237135brXLlC','pid','toLowerCase','forEach','sHOwm','event_type','eDUwj','errorsDetailed','zzLmj','length','aIbWa','318714mGjWFh','../../helpers/test-observability/constants','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','connect','HOOK_RUN_STARTED','1|3|4|2|5|0','soflw','ZWEsL','TestRunFinished','_beforeEach','../../helpers/testhub/utils.js','ZFXIZ','sendCBTInfo','getInstance','22870xOVgez','string','TestRunSkipped','mapTestHooks','KLYpV','mIayQ','expanded','split','ZulUa','push','body','result','integrations','QHCFR','test_run_uuid','failure_backtrace','exports','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','tags','CBTSessionCreated','connectOverCDP','TEST_EVENTS','TEST_RUN_FINISHED','removeAllListeners','accessibilityPlatform','HOOK_RUN_FINISHED','browserType.js'];a4_0x336c=function(){return _0x5a0bd6;};return a4_0x336c();}class O11yHelper{[a4_0x52c832(0x114)]=null;['currentHook']=null;[a4_0x52c832(0x173)]=![];[a4_0x52c832(0x11f)]=![];constructor(_0x3a2bf7,_0x1f0623){const _0x225a4b=a4_0x52c832,_0x44df4f={'TrfKc':_0x225a4b(0x1c4),'AXnps':function(_0x407864,_0x3e8dd6){return _0x407864===_0x3e8dd6;},'kLshQ':_0x225a4b(0x171),'CqvAB':function(_0x140fb7,_0x27ab29){return _0x140fb7(_0x27ab29);},'bTrGX':function(_0x859db){return _0x859db();}},_0x1ae510=_0x44df4f[_0x225a4b(0x186)][_0x225a4b(0x1d4)]('|');let _0x4bb581=0x0;while(!![]){switch(_0x1ae510[_0x4bb581++]){case'0':this[_0x225a4b(0x17d)]&&_0x44df4f[_0x225a4b(0x148)](this[_0x225a4b(0x17d)][_0x225a4b(0x18e)]['name'],_0x44df4f[_0x225a4b(0x1ad)])&&_0x44df4f[_0x225a4b(0x159)](mockPWBrowserType,null);continue;case'1':this[_0x225a4b(0x173)]=_0x44df4f[_0x225a4b(0x197)](shouldProcessEventForTesthub);continue;case'2':this['_testEnv']=_0x44df4f[_0x225a4b(0x197)](getTestEnv);continue;case'3':this[_0x225a4b(0x11f)]=_0x1f0623[_0x225a4b(0x11f)];continue;case'4':this[_0x225a4b(0x17d)]=_0x3a2bf7;continue;case'5':this['_paths']=new testOpsHelper[(_0x225a4b(0x128))]({'cwd':process[_0x225a4b(0x14a)]()},this[_0x225a4b(0x152)][_0x225a4b(0x11a)]);continue;}break;}}['start'](){const _0x5b83f9=a4_0x52c832;if(!this[_0x5b83f9(0x173)])return;testOpsHelper['patchConsoleLogger'](),process[_0x5b83f9(0x1e4)](_0x5b83f9(0x149)+process['pid']),process['on']('bs:addLog:'+process[_0x5b83f9(0x1b5)],this[_0x5b83f9(0x132)][_0x5b83f9(0x1a4)](this));}async['stop'](){const _0x38b263=a4_0x52c832;await RequestQueueHandler[_0x38b263(0x1cc)]()['shutdown']();}async[a4_0x52c832(0x132)](_0x1a3162){const _0x272647=a4_0x52c832,_0x2aac60={'ZulUa':_0x272647(0x1f6),'TOUZI':function(_0x5ac61f,_0x3f3dc1){return _0x5ac61f(_0x3f3dc1);}};try{this[_0x272647(0x10c)]&&!this[_0x272647(0x10c)][_0x272647(0x19f)]&&(_0x1a3162['hook_run_uuid']=this['currentHook'][_0x272647(0x196)]);!_0x1a3162[_0x272647(0x11e)]&&this['currentTest']&&!this['currentTest'][_0x272647(0x19f)]&&(_0x1a3162[_0x272647(0x1db)]=this[_0x272647(0x114)][_0x272647(0x162)]);if(_0x1a3162[_0x272647(0x11e)]||_0x1a3162[_0x272647(0x1db)]){const _0x707e14={};_0x707e14[_0x272647(0x1b9)]=_0x2aac60[_0x272647(0x1d5)],_0x707e14['logs']=[_0x1a3162],await SessionHandler[_0x272647(0x15d)](_0x707e14);}}catch(_0x3634b1){_0x2aac60['TOUZI'](debug,_0x272647(0x1de)+_0x3634b1);}}async[a4_0x52c832(0x1cb)](_0x1878d9){const _0x286888=a4_0x52c832,_0x2424d6={'NJaRH':_0x286888(0x1e0),'FnQtR':function(_0xcad37b,_0x33a485){return _0xcad37b(_0x33a485);}};if(!this[_0x286888(0x173)])return;const _0x5e5ccd=this[_0x286888(0x192)](this[_0x286888(0x17d)]);try{const _0x28d346={};_0x28d346['uuid']=_0x1878d9,_0x28d346[_0x286888(0x1d9)]=_0x5e5ccd;const _0x321e57=_0x28d346,_0x58fec5={};_0x58fec5['event_type']=_0x2424d6[_0x286888(0x12c)],_0x58fec5['test_run']=_0x321e57,await SessionHandler[_0x286888(0x15d)](_0x58fec5);}catch(_0x221b41){_0x2424d6[_0x286888(0x1e8)](debug,_0x286888(0x1c1)+_0x221b41);}}[a4_0x52c832(0x192)](_0x499af7){const _0x1482d4=a4_0x52c832,_0xd821d9={'soflw':function(_0xfc72f5,_0x10b731){return _0xfc72f5(_0x10b731);}};return _0xd821d9[_0x1482d4(0x1c5)](fetchPlatformDetails,_0x499af7);}[a4_0x52c832(0x1fe)]=_0x37baf5=>{const _0x50468b=a4_0x52c832,_0x5f5c60={};_0x5f5c60[_0x50468b(0x190)]='_beforeEach',_0x5f5c60[_0x50468b(0x1e9)]=_0x50468b(0x1ea);const _0x462b22=_0x5f5c60;if(!_0x37baf5||!_0x37baf5[_0x50468b(0x108)])return;[_0x462b22[_0x50468b(0x190)],_0x462b22[_0x50468b(0x1e9)]][_0x50468b(0x1b7)](_0x10e275=>{const _0x292680=_0x50468b,_0x6a6a87=_0x37baf5['parent'][_0x10e275];_0x6a6a87[_0x292680(0x1b7)](_0x29ea74=>{const _0x2b99e6=_0x292680;_0x29ea74[_0x2b99e6(0x196)]&&(_0x29ea74[_0x2b99e6(0x196)]=null);});});};[a4_0x52c832(0x1d0)](_0x28fbfb){const _0x1eef55=a4_0x52c832,_0x12a284={'nzpVi':_0x1eef55(0x10b),'NusvB':function(_0x1cf567){return _0x1cf567();},'gLlzl':function(_0x37b320,_0x1c967e){return _0x37b320===_0x1c967e;},'QHCFR':_0x1eef55(0x1ea),'bGgAB':'_beforeAll','CDJoq':_0x1eef55(0x133),'EKroM':_0x1eef55(0x1c8)};if(!_0x28fbfb||!_0x28fbfb[_0x1eef55(0x108)])return;[_0x12a284[_0x1eef55(0x1ae)],_0x12a284['CDJoq'],_0x12a284['EKroM'],_0x12a284[_0x1eef55(0x1da)]]['forEach'](_0xad90da=>{const _0x45ff90=_0x1eef55,_0x41d3b8={'PMokO':_0x12a284['nzpVi'],'VmLnW':function(_0x54cfdd){const _0x3330dd=a4_0x50f4;return _0x12a284[_0x3330dd(0x1a6)](_0x54cfdd);},'Hgidg':function(_0x743d8b,_0x27cc03){const _0x4870b0=a4_0x50f4;return _0x12a284[_0x4870b0(0x113)](_0x743d8b,_0x27cc03);},'SJwEu':_0x12a284[_0x45ff90(0x1da)]},_0x222dbb=_0x28fbfb[_0x45ff90(0x108)][_0xad90da]||[];_0x222dbb[_0x45ff90(0x1b7)](_0x50e789=>{const _0x50ac68=_0x45ff90;if(_0x50e789[_0x50ac68(0x1b0)][_0x50ac68(0x1ec)](_0x41d3b8[_0x50ac68(0x13d)]))return;if(!_0x50e789[_0x50ac68(0x196)])_0x50e789[_0x50ac68(0x196)]=_0x41d3b8['VmLnW'](uuidv4);else _0x50e789[_0x50ac68(0x19f)]&&_0x41d3b8[_0x50ac68(0x201)](_0xad90da,_0x41d3b8[_0x50ac68(0x18b)])&&(_0x50e789['hookAnalyticsId']=_0x41d3b8['VmLnW'](uuidv4),delete _0x50e789[_0x50ac68(0x19f)]);});}),this[_0x1eef55(0x1d0)](_0x28fbfb[_0x1eef55(0x108)]);}[a4_0x52c832(0x185)](_0xa3c65a){const _0x314c09=a4_0x52c832,_0x3c3381={};_0x3c3381['ntyVm']=_0x314c09(0x142),_0x3c3381['UWlwq']=_0x314c09(0x133),_0x3c3381[_0x314c09(0x18f)]=_0x314c09(0x1c8),_0x3c3381[_0x314c09(0x203)]=_0x314c09(0x1ea);const _0x580f2c=_0x3c3381;if(!_0xa3c65a||!_0xa3c65a[_0x314c09(0x108)])return[];const _0x18066a=[];return[_0x580f2c[_0x314c09(0x125)],_0x580f2c['UWlwq'],_0x580f2c[_0x314c09(0x18f)],_0x580f2c[_0x314c09(0x203)]][_0x314c09(0x1b7)](_0xc8a96b=>{const _0x58de9e=_0x314c09,_0x4d40c8=_0xa3c65a[_0x58de9e(0x108)][_0xc8a96b]||[];_0x4d40c8[_0x58de9e(0x1b7)](_0x13ae26=>{const _0x4fa60b=_0x58de9e;_0x13ae26['hookAnalyticsId']&&_0x18066a[_0x4fa60b(0x1d6)](_0x13ae26[_0x4fa60b(0x196)]);});}),[][_0x314c09(0x175)](_0x18066a,this[_0x314c09(0x185)](_0xa3c65a[_0x314c09(0x108)]));}['getHookType'](_0x3f097c){const _0x4d20cb=a4_0x52c832,_0x1e7990=/^"(?<hook>.*)" hook:.*$/,_0x41aac0=_0x3f097c[_0x4d20cb(0x1b0)],_0x4baeaf=_0x41aac0[_0x4d20cb(0x16d)](_0x1e7990);if(_0x4baeaf&&_0x4baeaf['groups'])return _0x4baeaf[_0x4d20cb(0x16b)]['hook'][_0x4d20cb(0x156)]()[_0x4d20cb(0x15e)]('\x20','_');return null;}[a4_0x52c832(0x153)](_0x1dfcb3){const _0x1c88fc=a4_0x52c832,_0x5ed129={};_0x5ed129[_0x1c88fc(0x16f)]=function(_0x16ae80,_0x533c30){return _0x16ae80===_0x533c30;},_0x5ed129[_0x1c88fc(0x1d2)]=function(_0x13de67,_0x859765){return _0x13de67===_0x859765;},_0x5ed129[_0x1c88fc(0x121)]=function(_0x3e72ab,_0x350eea){return _0x3e72ab===_0x350eea;},_0x5ed129['IofhY']=function(_0x4b8026,_0x425a65){return _0x4b8026===_0x425a65;},_0x5ed129['ppUvu']='.git',_0x5ed129['TowEt']=_0x1c88fc(0x15f);const _0x5d1641=_0x5ed129,_0x54904c=path[_0x1c88fc(0x146)];if(_0x5d1641['SkGku'](_0x1dfcb3,null)||_0x5d1641[_0x1c88fc(0x1d2)](_0x1dfcb3,'')||_0x5d1641[_0x1c88fc(0x121)](_0x1dfcb3,_0x54904c)||_0x5d1641[_0x1c88fc(0x10a)](_0x1dfcb3,path[_0x1c88fc(0x1a1)](_0x1dfcb3)))return null;try{return fs['statSync'](path[_0x1c88fc(0x141)](_0x1dfcb3,_0x5d1641[_0x1c88fc(0x1ee)],_0x5d1641['TowEt'])),_0x1dfcb3;}catch(_0x16b061){const _0xb76d25=path[_0x1c88fc(0x1a1)](_0x1dfcb3);return this[_0x1c88fc(0x153)](_0xb76d25);}}['getRootParentFile'](_0x22b574){const _0x57dc03=a4_0x52c832,_0x475799={};_0x475799[_0x57dc03(0x1ac)]=function(_0x36a0a2,_0x238fd7){return _0x36a0a2>_0x238fd7;};const _0x227616=_0x475799;if(_0x22b574[_0x57dc03(0x1fb)])return _0x22b574[_0x57dc03(0x1fb)];if(_0x22b574[_0x57dc03(0x18c)]){const _0x44db82=_0x22b574[_0x57dc03(0x18c)][_0x57dc03(0x114)]?this[_0x57dc03(0x178)](_0x22b574['ctx']['currentTest']):null;if(_0x44db82)return _0x44db82;}if(_0x22b574[_0x57dc03(0x108)]){const _0x449867=this['getRootParentFile'](_0x22b574['parent'])||(_0x22b574['parent'][_0x57dc03(0x18c)]&&_0x22b574[_0x57dc03(0x108)][_0x57dc03(0x18c)][_0x57dc03(0x114)]?this[_0x57dc03(0x178)](_0x22b574[_0x57dc03(0x108)]['ctx'][_0x57dc03(0x114)]):null);if(_0x449867)return _0x449867;_0x22b574[_0x57dc03(0x108)][_0x57dc03(0x1a0)]&&_0x227616[_0x57dc03(0x1ac)](_0x22b574[_0x57dc03(0x108)][_0x57dc03(0x1a0)][_0x57dc03(0x1bd)],0x0)&&_0x22b574[_0x57dc03(0x108)][_0x57dc03(0x1a0)][_0x57dc03(0x1b7)](_0x1bdc68=>{const _0x4bd83d=_0x57dc03,_0x50edc3=_0x1bdc68[_0x4bd83d(0x18c)]?this['getRootParentFile'](_0x1bdc68[_0x4bd83d(0x18c)]):null;if(_0x50edc3)return _0x50edc3;});}return null;}['getHierarchy'](_0x464fc0){const _0x3b2dbb=a4_0x52c832,_0x3944ba={};_0x3944ba['JeILn']=function(_0x145b93,_0x109ac6){return _0x145b93!==_0x109ac6;};const _0x15ea7b=_0x3944ba,_0x2bc041=[];if(_0x464fc0&&_0x464fc0['parent']){let _0x38e4b9=_0x464fc0[_0x3b2dbb(0x108)];while(_0x38e4b9&&_0x15ea7b[_0x3b2dbb(0x13b)](_0x38e4b9[_0x3b2dbb(0x1b0)],'')){_0x2bc041['push'](_0x38e4b9[_0x3b2dbb(0x1b0)]),_0x38e4b9=_0x38e4b9[_0x3b2dbb(0x108)];}}return _0x2bc041;}['captureEvent'](_0x1e4691,_0x4c129c,_0x5885d0=undefined){const _0x26616f=a4_0x52c832,_0x3fd394={'WUzeR':function(_0x53c333,_0x1fed97){return _0x53c333(_0x1fed97);},'BRwTd':function(_0x2712e0){return _0x2712e0();},'Bfgnt':function(_0x45fdec){return _0x45fdec();},'TVMaz':function(_0x18dee9){return _0x18dee9();},'aIbWa':function(_0x2e7bbd){return _0x2e7bbd();},'ETQIP':function(_0x2b3743,_0x28ff77){return _0x2b3743(_0x28ff77);},'xUIxi':_0x26616f(0x167),'wMfWv':_0x26616f(0x194),'dbxoz':function(_0x4bf7ee,_0x2bc271){return _0x4bf7ee!==_0x2bc271;},'HEqAC':function(_0x196f58,_0x5cc03d){return _0x196f58!==_0x5cc03d;},'wyucS':_0x26616f(0x140),'eDUwj':_0x26616f(0x1a7),'VXRji':_0x26616f(0x14e),'YmNqQ':_0x26616f(0x163),'aJPHH':_0x26616f(0x124),'lelXv':_0x26616f(0x19c),'PJgiv':function(_0x4f198c,_0x2326cf){return _0x4f198c-_0x2326cf;},'Capli':function(_0x46498c,_0x333432,_0x8a0013,_0x42961b,_0x13dc75){return _0x46498c(_0x333432,_0x8a0013,_0x42961b,_0x13dc75);},'sHOwm':function(_0x22de3f,_0x35bffb){return _0x22de3f!==_0x35bffb;},'lsRhu':_0x26616f(0x1d9),'Tkkgu':_0x26616f(0x165),'oYVHb':_0x26616f(0x17a),'itjYh':_0x26616f(0x1dc),'rPjQx':'backtrace','bvsip':_0x26616f(0x131),'TBeNY':_0x26616f(0x1d3),'ZWEsL':function(_0x1875b9,_0x51294c){return _0x1875b9===_0x51294c;},'pIYYN':'hook_run','XZwxu':_0x26616f(0x1f8)};if(!this[_0x26616f(0x173)])return;try{if(_0x4c129c['fn']&&_0x4c129c['fn']['toString']()[_0x26616f(0x16d)](/browserstack internal helper hook/))return;const _0x40057b=_0x3fd394['WUzeR'](parseEvent,_0x1e4691);if(!_0x40057b)return;if(_0x40057b[_0x26616f(0x119)]){this[_0x26616f(0x114)]=_0x4c129c,this['currentHook']=null;if(_0x40057b[_0x26616f(0x130)]||_0x40057b[_0x26616f(0x124)]){_0x4c129c[_0x26616f(0x135)]=new Date(),_0x4c129c[_0x26616f(0x19f)]=![];if(!_0x4c129c[_0x26616f(0x162)])_0x4c129c[_0x26616f(0x162)]=_0x3fd394['BRwTd'](uuidv4);else _0x4c129c[_0x26616f(0x19f)]&&(!_0x4c129c[_0x26616f(0x151)]&&(_0x4c129c[_0x26616f(0x151)]=_0x4c129c[_0x26616f(0x162)]),_0x4c129c['testAnalyticsId']=_0x3fd394[_0x26616f(0x191)](uuidv4));}}else{if(_0x40057b[_0x26616f(0x143)]){this[_0x26616f(0x10c)]=_0x4c129c;if(_0x40057b['started']){_0x4c129c[_0x26616f(0x135)]=new Date(),_0x4c129c[_0x26616f(0x19f)]=![];if(!_0x4c129c[_0x26616f(0x196)])_0x4c129c[_0x26616f(0x196)]=_0x3fd394[_0x26616f(0x110)](uuidv4);else _0x4c129c[_0x26616f(0x196)]&&_0x4c129c[_0x26616f(0x19f)]&&(_0x4c129c[_0x26616f(0x196)]=_0x3fd394[_0x26616f(0x1be)](uuidv4));}}}if(_0x40057b[_0x26616f(0x14d)]&&_0x4c129c[_0x26616f(0x19f)])return;let _0x11e0de;try{_0x11e0de=this[_0x26616f(0x178)](_0x4c129c);}catch(_0x194437){logger[_0x26616f(0x1ff)](_0x26616f(0x17f)+_0x194437),_0x11e0de=null;}const _0x51698e=_0x3fd394['ETQIP'](require,_0x3fd394[_0x26616f(0x10f)]);let _0x269391=[];_0x5885d0&&(_0x269391=[_0x5885d0,_0x3fd394[_0x26616f(0x1b1)]]);const _0x57a601=_0x3fd394['dbxoz'](_0x4c129c[_0x26616f(0x1bb)],undefined)?_0x51698e[_0x26616f(0x11c)](_0x4c129c[_0x26616f(0x1bb)][0x0]):_0x3fd394['HEqAC'](_0x5885d0,undefined)?_0x5885d0['toString']():undefined,_0x3bbd9b=_0x11e0de?this['findGitConfig'](_0x11e0de):null,_0x4a5a36=_0x11e0de?this[_0x26616f(0x12e)][_0x26616f(0x1fd)](this[_0x26616f(0x178)](_0x4c129c)):_0x3fd394[_0x26616f(0x1ef)];let _0x35c283=_0x3fd394[_0x26616f(0x1ba)];const _0x2a0c97=!_0x40057b[_0x26616f(0x130)]?new Date()[_0x26616f(0x120)]():null;if(_0x40057b[_0x26616f(0x14d)])_0x35c283=_0x5885d0?_0x3fd394[_0x26616f(0x129)]:_0x3fd394[_0x26616f(0x1b3)],_0x4c129c[_0x26616f(0x19f)]=!![];else _0x40057b[_0x26616f(0x124)]&&(_0x35c283=_0x3fd394[_0x26616f(0x15c)],_0x4c129c[_0x26616f(0x19f)]=!![]);const _0x39ceb0={'framework':this['frameworkName'],'uuid':_0x4c129c[_0x26616f(0x162)]||_0x4c129c[_0x26616f(0x196)],'name':_0x4c129c[_0x26616f(0x1b0)],'body':{'lang':_0x3fd394[_0x26616f(0x1a2)],'code':_0x4c129c[_0x26616f(0x1d7)][_0x26616f(0x168)]()},'type':_0x4c129c[_0x26616f(0x1a3)],'scope':_0x4c129c[_0x26616f(0x1f9)](),'scopes':this['getHierarchy'](_0x4c129c),'file_name':_0x4a5a36,'vc_filepath':_0x3bbd9b?path[_0x26616f(0x1f5)](_0x3bbd9b,_0x11e0de):null,'location':_0x4a5a36,'result':_0x35c283,'failure_reason':_0x57a601,'duration_in_ms':_0x4c129c[_0x26616f(0x1fa)]||(_0x40057b['finished']||_0x40057b[_0x26616f(0x124)])?_0x3fd394[_0x26616f(0x123)](Date['now'](),new Date(_0x4c129c[_0x26616f(0x135)])[_0x26616f(0x17b)]()):null,'started_at':new Date(_0x4c129c[_0x26616f(0x135)])[_0x26616f(0x120)](),'finished_at':_0x2a0c97,'failure':testOpsHelper[_0x26616f(0x204)][_0x26616f(0x16c)](null,_0x269391),'failure_type':!_0x57a601?null:testOpsHelper[_0x26616f(0x16e)](_0x57a601),'retry_of':_0x4c129c['retryOf']||null,'tags':_0x4c129c[_0x26616f(0x1df)]||[],'customRerunParam':{'rerun_name':_0x4c129c[_0x26616f(0x1f9)]()}};_0x3fd394[_0x26616f(0x19e)](appendTesthubParams,_0x39ceb0,_0x1e4691,_0x4c129c,FRAMEWORKS[_0x26616f(0x1ab)]);if(_0x40057b[_0x26616f(0x143)])[_0x39ceb0[_0x26616f(0x154)],_0x39ceb0['name']]=[this['getHookType'](_0x4c129c),_0x4c129c[_0x26616f(0x18c)][_0x26616f(0x119)][_0x26616f(0x1b0)]],_0x40057b[_0x26616f(0x14d)]?_0x3fd394[_0x26616f(0x1b8)](_0x39ceb0[_0x26616f(0x1d8)],_0x3fd394['VXRji'])&&(_0x39ceb0[_0x26616f(0x1d8)]=_0x3fd394['YmNqQ']):_0x39ceb0['body']={};else _0x40057b[_0x26616f(0x119)]&&(this[_0x26616f(0x1d0)](_0x4c129c),_0x40057b['skipped']&&this[_0x26616f(0x1fe)](_0x4c129c),(_0x40057b[_0x26616f(0x14d)]||_0x40057b['skipped'])&&(_0x39ceb0[_0x26616f(0x14f)]=this['getHooksForTest'](_0x4c129c)));this['driver']&&(_0x40057b['started']||_0x40057b[_0x26616f(0x124)])&&(_0x39ceb0[_0x3fd394[_0x26616f(0x145)]]=this['getCBTInfo'](this[_0x26616f(0x17d)]));_0x40057b['test']&&_0x40057b[_0x26616f(0x14d)]&&_0x4c129c['bddSteps']&&(_0x39ceb0[_0x3fd394[_0x26616f(0x144)]]={'feature':{'name':_0x4c129c[_0x26616f(0x108)][_0x26616f(0x170)][_0x26616f(0x10e)],'path':_0x39ceb0[_0x26616f(0x1f0)],'description':_0x4c129c[_0x26616f(0x108)][_0x26616f(0x193)]},'scenario':{'name':_0x4c129c[_0x26616f(0x1b0)]},'steps':_0x4c129c[_0x26616f(0x189)]});const _0x544926=_0x39ceb0[_0x3fd394['oYVHb']][0x0];_0x544926&&(_0x39ceb0[_0x3fd394[_0x26616f(0x12a)]]=_0x544926[_0x3fd394[_0x26616f(0x174)]],_0x39ceb0[_0x3fd394[_0x26616f(0x118)]]=_0x544926[_0x3fd394[_0x26616f(0x13e)]]);if(_0x4c129c['bddSteps'])for(const _0x21f5da of _0x4c129c['bddSteps']){!_0x21f5da['finished_at']&&(_0x21f5da[_0x26616f(0x180)]=new Date()['toISOString'](),_0x3fd394[_0x26616f(0x1c6)](_0x21f5da[_0x26616f(0x1d8)],_0x3fd394[_0x26616f(0x1ba)])&&(_0x544926?(_0x21f5da['result']=_0x3fd394[_0x26616f(0x129)],_0x21f5da[_0x26616f(0x17a)]=_0x544926[_0x3fd394[_0x26616f(0x174)]][0x0]):_0x21f5da['result']=_0x3fd394[_0x26616f(0x1b3)]));}const _0x2235a6={};_0x2235a6[_0x26616f(0x1b9)]=_0x40057b['skipped']?TEST_EVENTS[_0x26616f(0x1e3)]:_0x1e4691;const _0x5f2edb=_0x2235a6;return _0x40057b[_0x26616f(0x143)]?_0x5f2edb[_0x3fd394[_0x26616f(0x1af)]]=_0x39ceb0:_0x5f2edb[_0x3fd394[_0x26616f(0x136)]]=_0x39ceb0,_0x5f2edb;}catch(_0x4a6a02){logger[_0x26616f(0x1ff)](_0x26616f(0x19a)+_0x1e4691+_0x26616f(0x1fc)+_0x4a6a02);}}async[a4_0x52c832(0x198)](_0x5a394a,_0x2dcb56){const _0x2504e0=a4_0x52c832;if(!this[_0x2504e0(0x173)]||!_0x2dcb56||!_0x5a394a)return![];try{return await SessionHandler[_0x2504e0(0x15d)](_0x2dcb56);}catch(_0x39387d){logger[_0x2504e0(0x1ff)]('Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20'+_0x5a394a+_0x2504e0(0x1fc)+_0x39387d);}}['initializeBddStep'](_0x5a9eda){const _0x48c12e=a4_0x52c832,_0x35231c={};_0x35231c[_0x48c12e(0x109)]=_0x48c12e(0x1a7);const _0x113016=_0x35231c;return{'id':_0x5a9eda[_0x48c12e(0x1ed)],'text':_0x5a9eda['text'],'keyword':_0x5a9eda[_0x48c12e(0x127)],'started_at':_0x5a9eda[_0x48c12e(0x135)]['toISOString'](),'result':_0x113016[_0x48c12e(0x109)]};}[a4_0x52c832(0x18a)](_0x516bf0){const _0x3adf37=a4_0x52c832,_0xc2ad21={'mKQcT':function(_0x3465aa){return _0x3465aa();}};!this[_0x3adf37(0x114)][_0x3adf37(0x189)]&&(this[_0x3adf37(0x114)][_0x3adf37(0x189)]=[]),!_0x516bf0['stepAnalyticsId']&&(_0x516bf0[_0x3adf37(0x1ed)]=_0xc2ad21[_0x3adf37(0x16a)](uuidv4),_0x516bf0[_0x3adf37(0x135)]=new Date(),this[_0x3adf37(0x114)]['bddSteps']['push'](this[_0x3adf37(0x1b2)](_0x516bf0)));}[a4_0x52c832(0x139)](_0x534fa2){const _0x3615c0=a4_0x52c832,_0x534764={'Fvwnj':function(_0x4385aa,_0xecb1df){return _0x4385aa(_0xecb1df);},'XjnDp':'success','NZWIz':_0x3615c0(0x1a7),'OfiiX':_0x3615c0(0x163),'PHrsu':function(_0x2dc18e,_0x1f4be0){return _0x2dc18e-_0x1f4be0;}};let _0x4df8f7=this[_0x3615c0(0x114)][_0x3615c0(0x189)][_0x3615c0(0x172)](_0x206053=>_0x206053['id']===_0x534fa2[_0x3615c0(0x1ed)]);_0x534764[_0x3615c0(0x1a8)](isUndefined,_0x4df8f7)&&(_0x4df8f7=this['initializeBddStep'](_0x534fa2)),_0x4df8f7[_0x3615c0(0x1d8)]=[_0x534764[_0x3615c0(0x1aa)],_0x534764[_0x3615c0(0x14c)]]['includes'](_0x534fa2[_0x3615c0(0x1f4)])?_0x534764[_0x3615c0(0x160)]:_0x534fa2[_0x3615c0(0x1f4)],_0x4df8f7['finished_at']=new Date()[_0x3615c0(0x120)](),_0x4df8f7[_0x3615c0(0x1fa)]=_0x534764[_0x3615c0(0x150)](Date[_0x3615c0(0x13c)](),_0x534fa2[_0x3615c0(0x135)][_0x3615c0(0x17b)]()),_0x4df8f7[_0x3615c0(0x17a)]=_0x534fa2[_0x3615c0(0x194)]?_0x534fa2['err']['message']:null;}}const a4_0x75a8a0={};a4_0x75a8a0[a4_0x52c832(0x15a)]=O11yHelper,a4_0x75a8a0[a4_0x52c832(0x12f)]=STATE_PASSED,a4_0x75a8a0['STATE_FAILED']=STATE_FAILED,a4_0x75a8a0[a4_0x52c832(0x1e2)]=TEST_EVENTS,module[a4_0x52c832(0x1dd)]=a4_0x75a8a0;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a5_0x9da283=a5_0xbfd4;(function(_0x3299e3,_0x438064){const _0x27fc2c=a5_0xbfd4,_0x577458=_0x3299e3();while(!![]){try{const _0x1772e2=parseInt(_0x27fc2c(0x8d))/0x1+-parseInt(_0x27fc2c(0x93))/0x2+-parseInt(_0x27fc2c(0xa9))/0x3*(-parseInt(_0x27fc2c(0xc6))/0x4)+parseInt(_0x27fc2c(0x89))/0x5*(-parseInt(_0x27fc2c(0x84))/0x6)+parseInt(_0x27fc2c(0x91))/0x7+-parseInt(_0x27fc2c(0xd0))/0x8+parseInt(_0x27fc2c(0xcf))/0x9;if(_0x1772e2===_0x438064)break;else _0x577458['push'](_0x577458['shift']());}catch(_0x414819){_0x577458['push'](_0x577458['shift']());}}}(a5_0xfb0e,0xab5da));const fs=require('fs'),path=require(a5_0x9da283(0xbd)),util=require(a5_0x9da283(0xe2)),logger=require(a5_0x9da283(0xf1))[a5_0x9da283(0x9b)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a5_0x9da283(0x98)),utilities=require(a5_0x9da283(0xd4)),constants=require('../utils/constants'),{parallelCucumberRun}=require('../test-runner'),TestHubHandler=require(a5_0x9da283(0xf3)),testOpsHelper=require('../../helpers/test-observability/utils'),chalk=require(a5_0x9da283(0xaf));function printCucumberStats(_0x131805){const _0x8eb928=a5_0x9da283,_0x4f8554={};_0x4f8554['EaXsR']=function(_0x4df02b,_0x59a7f9){return _0x4df02b>_0x59a7f9;},_0x4f8554[_0x8eb928(0xdd)]=function(_0x31c09b,_0x2befe2){return _0x31c09b-_0x2befe2;},_0x4f8554['nXYji']=function(_0x31bf1c,_0x4eb15a){return _0x31bf1c-_0x4eb15a;},_0x4f8554[_0x8eb928(0x8a)]=function(_0x3526f9,_0x117879){return _0x3526f9>_0x117879;},_0x4f8554[_0x8eb928(0xd1)]=function(_0x1ac77e,_0x4cef61){return _0x1ac77e>_0x4cef61;},_0x4f8554['wUckQ']=function(_0x2c9a53,_0x4f3347){return _0x2c9a53>_0x4f3347;},_0x4f8554['VAZBY']=function(_0x1eee1c,_0x3c8f8e){return _0x1eee1c>_0x3c8f8e;},_0x4f8554[_0x8eb928(0xb5)]=function(_0x20db03,_0x2ac26d){return _0x20db03>_0x2ac26d;},_0x4f8554[_0x8eb928(0xe5)]=function(_0x2c15ac,_0x1efc83){return _0x2c15ac>_0x1efc83;},_0x4f8554[_0x8eb928(0xe8)]=function(_0x5b2461,_0x200a36){return _0x5b2461+_0x200a36;},_0x4f8554[_0x8eb928(0xe9)]=function(_0x1f3db7,_0x3ee0d7){return _0x1f3db7+_0x3ee0d7;},_0x4f8554[_0x8eb928(0xb4)]=function(_0x4a3f5a,_0x5709e1){return _0x4a3f5a+_0x5709e1;},_0x4f8554[_0x8eb928(0x9f)]=function(_0x3103c8,_0x2919cf){return _0x3103c8+_0x2919cf;},_0x4f8554[_0x8eb928(0xb9)]=function(_0x369699,_0x26f068){return _0x369699+_0x26f068;},_0x4f8554['fWQoK']=function(_0xe8e043,_0x20422e){return _0xe8e043===_0x20422e;},_0x4f8554[_0x8eb928(0xd8)]=function(_0xf4cbf4,_0x5cf2b9){return _0xf4cbf4===_0x5cf2b9;},_0x4f8554[_0x8eb928(0x8c)]='****\x20RESULTS\x20****';const _0x59eab3=_0x4f8554;let _0x14feef=0x0;if(_0x59eab3[_0x8eb928(0xd8)](_0x131805['length'],0x0))return _0x14feef;return console[_0x8eb928(0xe6)](chalk[_0x8eb928(0xb6)][_0x8eb928(0xe4)](_0x59eab3[_0x8eb928(0x8c)])),_0x131805[_0x8eb928(0xdb)](_0x257d10=>{const _0x13ab06=_0x8eb928,_0x41d05a=_0x257d10[0x0],_0x552b08=_0x257d10[0x1];console[_0x13ab06(0xe6)]('\x0a'+chalk[_0x13ab06(0xb6)][_0x13ab06(0x8b)](''+helper[_0x13ab06(0xa1)](_0x41d05a)));const _0x4f45e6=_0x552b08['scenarios'],_0x38b5c0=_0x552b08['steps'],_0x45afc1=_0x552b08[_0x13ab06(0xea)],_0x2713cf=_0x552b08[_0x13ab06(0xa7)],_0x33a8e2=_0x552b08['stepsPassed'],_0x37e80f=_0x552b08[_0x13ab06(0xac)],_0x49959d=_0x552b08[_0x13ab06(0xad)],_0x3f79de=_0x552b08['stepsUndefined'],_0x461149=_0x552b08[_0x13ab06(0xa6)],_0x138b1c=_0x552b08[_0x13ab06(0xb8)],_0x1d2433=_0x552b08['processSuccess'];let _0x4e1355=_0x4f45e6+'\x20scenarios';const _0x442c87=_0x59eab3[_0x13ab06(0x83)](_0x59eab3[_0x13ab06(0xdd)](_0x4f45e6,_0x45afc1),0x0)?_0x59eab3[_0x13ab06(0xa4)](_0x4f45e6,_0x45afc1):0x0;if(_0x59eab3[_0x13ab06(0x83)](_0x45afc1,0x0)&&_0x59eab3[_0x13ab06(0x8a)](_0x442c87,0x0))_0x4e1355+='\x20('+chalk[_0x13ab06(0xb6)][_0x13ab06(0xae)](_0x45afc1+_0x13ab06(0xc4))+',\x20'+chalk[_0x13ab06(0xb6)][_0x13ab06(0xa3)](_0x442c87+'\x20passed')+')';else(_0x59eab3[_0x13ab06(0x8a)](_0x45afc1,0x0)||_0x59eab3[_0x13ab06(0x83)](_0x442c87,0x0))&&(_0x4e1355+=_0x59eab3['rXxcD'](_0x45afc1,0x0)?'\x20('+chalk[_0x13ab06(0xb6)][_0x13ab06(0xae)](_0x45afc1+_0x13ab06(0xc4))+')':'\x20('+chalk['bold'][_0x13ab06(0xa3)](_0x442c87+'\x20passed')+')');const _0x37c9b8=_0x38b5c0+'\x20steps',_0x4e7303=[];_0x59eab3[_0x13ab06(0xd1)](_0x138b1c,0x0)&&_0x4e7303[_0x13ab06(0xc7)](''+chalk['bold'][_0x13ab06(0xae)](_0x138b1c+_0x13ab06(0xde)));_0x59eab3[_0x13ab06(0xaa)](_0x2713cf,0x0)&&_0x4e7303[_0x13ab06(0xc7)](''+chalk[_0x13ab06(0xb6)]['red'](_0x2713cf+_0x13ab06(0xc4)));_0x59eab3['VAZBY'](_0x33a8e2,0x0)&&_0x4e7303[_0x13ab06(0xc7)](''+chalk[_0x13ab06(0xb6)]['green'](_0x33a8e2+_0x13ab06(0x9e)));_0x59eab3['rXxcD'](_0x49959d,0x0)&&_0x4e7303[_0x13ab06(0xc7)](''+chalk[_0x13ab06(0xb6)][_0x13ab06(0x8b)](_0x49959d+'\x20pending'));_0x59eab3[_0x13ab06(0xb5)](_0x37e80f,0x0)&&_0x4e7303[_0x13ab06(0xc7)](''+chalk['bold'][_0x13ab06(0xb2)](_0x37e80f+_0x13ab06(0xf2)));_0x59eab3[_0x13ab06(0xaa)](_0x3f79de,0x0)&&_0x4e7303[_0x13ab06(0xc7)](''+chalk['bold'][_0x13ab06(0x8b)](_0x3f79de+'\x20undefined'));_0x59eab3[_0x13ab06(0xe5)](_0x461149,0x0)&&_0x4e7303['push'](''+chalk[_0x13ab06(0xb6)][_0x13ab06(0x8b)](_0x461149+_0x13ab06(0xf2)));const _0x1f081b=_0x59eab3['brpCW'](_0x59eab3[_0x13ab06(0xe8)](_0x59eab3[_0x13ab06(0xe9)](_0x37c9b8,'('),_0x4e7303[_0x13ab06(0xa5)](',\x20')),')');console[_0x13ab06(0xe6)](_0x59eab3[_0x13ab06(0xe9)](_0x59eab3[_0x13ab06(0xb4)](_0x59eab3[_0x13ab06(0x9f)](_0x59eab3[_0x13ab06(0xb9)]('\x0a',_0x4e1355),'\x0a'),_0x1f081b),'\x0a')),_0x59eab3['fWQoK'](_0x1d2433,![])&&(_0x14feef=0x1);}),_0x14feef;}async function run(_0x8fe98f,_0x247f8f){const _0x16bd1a=a5_0x9da283,_0x4e3f14={'OWzGj':function(_0x2f9224,_0x1edd8d){return _0x2f9224(_0x1edd8d);},'CNEqH':function(_0x513d89,_0x4889df){return _0x513d89>_0x4889df;},'mGACe':_0x16bd1a(0x97),'uGVUG':_0x16bd1a(0x9a),'WbVUx':_0x16bd1a(0xa8),'hTjYy':_0x16bd1a(0xc9),'sKcLX':_0x16bd1a(0xb1),'urjqS':_0x16bd1a(0xe0),'mbrjc':function(_0x294ec4,_0x5d83a8){return _0x294ec4-_0x5d83a8;},'BLtCc':function(_0x35e3b5,_0x534179){return _0x35e3b5>=_0x534179;},'eicpR':function(_0x2ab999,_0xf2ddde){return _0x2ab999!=_0xf2ddde;},'IRJSB':_0x16bd1a(0xca),'nhAdG':function(_0x5d2a76,_0x124995,_0x2ef320,_0x43309c,_0x14c89d,_0x58fe12){return _0x5d2a76(_0x124995,_0x2ef320,_0x43309c,_0x14c89d,_0x58fe12);}},_0x169d67=new BrowserStackSetup(_0x8fe98f,_0x4e3f14[_0x16bd1a(0xc8)]);await _0x169d67['initialize']();!helper[_0x16bd1a(0xd5)]()&&await _0x169d67[_0x16bd1a(0x8e)]();await helper[_0x16bd1a(0xeb)](_0x169d67[_0x16bd1a(0x94)]);const _0x3fa7e1=helper[_0x16bd1a(0x9c)](_0x169d67[_0x16bd1a(0x94)]),_0x467cd1=helper[_0x16bd1a(0x8f)](_0x169d67[_0x16bd1a(0x94)],_0x3fa7e1,constants['FRAMEWORKS'][_0x16bd1a(0xba)]);if(!_0x169d67['config'])return;const _0x278581=_0x169d67[_0x16bd1a(0x94)]['parallelsPerPlatform']||helper[_0x16bd1a(0xcd)](_0x8fe98f,_0x247f8f,_0x169d67[_0x16bd1a(0x94)],constants[_0x16bd1a(0xf0)][_0x16bd1a(0xba)])||0x1,_0x340470={'server':helper[_0x16bd1a(0xcb)](_0x169d67[_0x16bd1a(0x94)]),'proxySettings':_0x169d67[_0x16bd1a(0x94)]['proxySettings'],'maxWorkers':_0x278581,'browserStackLogLevel':_0x169d67[_0x16bd1a(0x94)][_0x16bd1a(0x90)],'skipSessionName':_0x169d67[_0x16bd1a(0x94)][_0x16bd1a(0x96)][_0x16bd1a(0xab)],'skipSessionStatus':_0x169d67[_0x16bd1a(0x94)][_0x16bd1a(0x96)][_0x16bd1a(0xd9)],'turboScaleUrl':_0x169d67[_0x16bd1a(0x94)]['turboScaleUrl']},_0x49258f=process['argv'],[_0x47a5c1,_0x3a8a7f]=helper[_0x16bd1a(0xe3)](_0x49258f),_0x49f4b1=path[_0x16bd1a(0xa5)](process[_0x16bd1a(0xbf)](),_0x4e3f14[_0x16bd1a(0xb3)]);if(_0x4e3f14[_0x16bd1a(0x87)](_0x3a8a7f[_0x16bd1a(0xc3)],0x0)){helper[_0x16bd1a(0xd7)](_0x49f4b1);for(let _0x2456f0=_0x4e3f14[_0x16bd1a(0xd6)](_0x47a5c1[_0x16bd1a(0xc3)],0x1);_0x4e3f14[_0x16bd1a(0xec)](_0x2456f0,0x0);_0x2456f0--){_0x49258f[_0x16bd1a(0xef)](_0x47a5c1[_0x2456f0],0x2);}}!helper[_0x16bd1a(0x99)](_0x169d67['config'][_0x16bd1a(0xee)])&&(process[_0x16bd1a(0xdc)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x16bd1a(0xa2)](_0x169d67[_0x16bd1a(0x94)][_0x16bd1a(0xee)]));_0x4e3f14['eicpR'](_0x169d67['config'][_0x16bd1a(0xb0)],null)?process[_0x16bd1a(0xdc)][_0x16bd1a(0xdf)]=_0x169d67[_0x16bd1a(0x94)][_0x16bd1a(0xb0)]:process[_0x16bd1a(0xdc)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x4e3f14[_0x16bd1a(0xc1)];const _0x230ff4=await TestHubHandler[_0x16bd1a(0x9d)](constants[_0x16bd1a(0xf0)][_0x16bd1a(0xba)],_0x169d67);helper[_0x16bd1a(0xc0)]();let _0x3bccf3;_0x4e3f14[_0x16bd1a(0x95)](parallelCucumberRun,_0x467cd1,_0x340470,_0x169d67[_0x16bd1a(0x94)],_0x49258f,_0x3a8a7f)[_0x16bd1a(0xa0)](async _0x54fdbc=>{const _0x3eb307=_0x16bd1a;_0x3bccf3=_0x54fdbc;const _0x932c2a=_0x4e3f14[_0x3eb307(0xbb)](printCucumberStats,_0x54fdbc);process[_0x3eb307(0xc2)]=_0x932c2a,_0x4e3f14[_0x3eb307(0x87)](_0x3a8a7f[_0x3eb307(0xc3)],0x0)&&(logger[_0x3eb307(0xbe)](_0x4e3f14[_0x3eb307(0xda)]),helper[_0x3eb307(0xed)](_0x49f4b1,_0x3a8a7f),logger[_0x3eb307(0xbe)](_0x4e3f14[_0x3eb307(0xbc)]),helper[_0x3eb307(0xcc)](_0x49f4b1));})[_0x16bd1a(0xd2)](async()=>{const _0x41a495=_0x16bd1a;_0x169d67[_0x41a495(0x85)]=helper[_0x41a495(0x92)](_0x3bccf3,_0x4e3f14['WbVUx']),testOpsHelper[_0x41a495(0xe7)]();try{await TestHubHandler[_0x41a495(0xb7)]();}catch(_0x5cbd93){logger[_0x41a495(0xbe)](_0x41a495(0xc5)+util[_0x41a495(0xd3)](_0x5cbd93));}try{const {browserstackFolderPath:_0x3e4ab5,tcgConfigPath:_0x1616af}=helper['getTCGConfigFilePaths']();fs[_0x41a495(0x86)](_0x1616af),fs[_0x41a495(0xce)](_0x3e4ab5);}catch(_0x300db1){logger[_0x41a495(0xbe)](_0x4e3f14['hTjYy'],_0x300db1);}await utilities[_0x41a495(0x88)](_0x169d67);});}function a5_0xbfd4(_0x2849a0,_0x683d76){const _0xfb0ea3=a5_0xfb0e();return a5_0xbfd4=function(_0xbfd4dc,_0x23c679){_0xbfd4dc=_0xbfd4dc-0x83;let _0xa0c670=_0xfb0ea3[_0xbfd4dc];return _0xa0c670;},a5_0xbfd4(_0x2849a0,_0x683d76);}function a5_0xfb0e(){const _0x36d6f8=['red','chalk','testObservability','cucumber-js','cyan','urjqS','wgmNY','zztpu','bold','stop','stepsAmbiguous','GDngn','CUCUMBER','OWzGj','uGVUG','path','debug','cwd','markSDKSetupComplete','IRJSB','exitCode','length','\x20failed','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','12EoojYn','push','sKcLX','error\x20removing\x20tcg\x20config\x20file','false','getHubUrl','removeDir','getUserWorkerCount','rmdirSync','7026525ETpzvb','11015512oLQMaH','qwrNj','finally','format','../../helpers/utilities','isBrowserstackInfra','mbrjc','createDir','uHWkr','skipSessionStatus','mGACe','forEach','env','YMHko','\x20ambiguous','BROWSERSTACK_TEST_OBSERVABILITY_YML','tmp','exports','util','parseFormatters','bgWhite','kpAue','log','printBuildLink','brpCW','KcCxT','scenariosFailed','handleApp','BLtCc','mergeOutputFiles','accessibilityOptions','splice','FRAMEWORKS','../../helpers/logger','\x20skipped','../../helpers/testhub/testhubHandler','EaXsR','474162tDlLJZ','errorMessage','unlinkSync','CNEqH','finalExecution','15MiUZKD','rXxcD','yellow','wYPFB','301488aWbPux','setupTCGAuth','prepareCapabilities','logLevel','5891060fdWBeA','getErrorMessageFromResults','601610lliRbJ','config','nhAdG','testContextOptions','Generating\x20consolidated\x20report...','../../helpers/helper','isUndefined','Removing\x20tmp\x20directory\x20created\x20for\x20reports','winstonLogger','useW3C','launchBuild','\x20passed','Umdwq','then','getPlatformName','stringify','green','nXYji','join','stepsUnknown','stepsFailed','cucumber','692946nEsKDr','wUckQ','skipSessionName','stepsSkipped','stepsPending'];a5_0xfb0e=function(){return _0x36d6f8;};return a5_0xfb0e();}module[a5_0x9da283(0xe1)]=run;
2
+ 'use strict';const a5_0x46fff5=a5_0x501c;(function(_0x1c39a9,_0x5b1208){const _0x2f1904=a5_0x501c,_0x540e2e=_0x1c39a9();while(!![]){try{const _0x1939f2=-parseInt(_0x2f1904(0x169))/0x1+-parseInt(_0x2f1904(0x155))/0x2*(-parseInt(_0x2f1904(0x180))/0x3)+parseInt(_0x2f1904(0x170))/0x4+parseInt(_0x2f1904(0x172))/0x5*(-parseInt(_0x2f1904(0x1ad))/0x6)+parseInt(_0x2f1904(0x16b))/0x7+-parseInt(_0x2f1904(0x14e))/0x8+parseInt(_0x2f1904(0x156))/0x9;if(_0x1939f2===_0x5b1208)break;else _0x540e2e['push'](_0x540e2e['shift']());}catch(_0x55bbb9){_0x540e2e['push'](_0x540e2e['shift']());}}}(a5_0x13f4,0x25b69));const fs=require('fs'),path=require(a5_0x46fff5(0x18a)),util=require(a5_0x46fff5(0x199)),logger=require(a5_0x46fff5(0x154))[a5_0x46fff5(0x1a9)],{default:BrowserStackSetup}=require(a5_0x46fff5(0x17e)),helper=require(a5_0x46fff5(0x184)),utilities=require('../../helpers/utilities'),constants=require('../utils/constants'),{parallelCucumberRun}=require(a5_0x46fff5(0x193)),TestHubHandler=require(a5_0x46fff5(0x19d)),testOpsHelper=require('../../helpers/test-observability/utils'),chalk=require('chalk');function a5_0x13f4(){const _0xf1fa5c=['UXlUd','ICBbg','getHubUrl','YgkWf','zEdMP','wVwRx','mBGuU','upkuh','stop','getErrorMessageFromResults','accessibilityOptions','\x20steps','isBrowserstackInfra','BROWSERSTACK_TEST_OBSERVABILITY_YML','processSuccess','getTCGConfigFilePaths','273830xmoHJW','stepsUndefined','640927jgXyLG','removeDir','\x20undefined','green','IoYge','547356pjdUwI','proxySettings','234760aVbSEn','log','then','rmdirSync','join','cQLLh','stepsPending','red','nqHQr','turboScaleUrl','exports','steps','../../helpers/BrowserStackSetup','handleApp','96NHhFkT','stepsPassed','push','prepareCapabilities','../../helpers/helper','XbcrT','length','\x20ambiguous','useW3C','LqOjG','path','cucumber','format','skipSessionStatus','gvWXO','stepsSkipped','CUCUMBER','Removing\x20tmp\x20directory\x20created\x20for\x20reports','PhQzu','../test-runner','bold','config','launchBuild','dtQtD','****\x20RESULTS\x20****','util','HjqXq','unlinkSync','errorMessage','../../helpers/testhub/testhubHandler','cyan','aMaaV','cnMbS','getPlatformName','debug','hxUJh','\x20passed','splice','finally','testContextOptions','env','winstonLogger','\x20pending','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','\x20skipped','6UlVnSO','TavVk','\x20failed','stepsAmbiguous','RRjcN','scenarios','\x20scenarios','logLevel','argv','mvmOc','384776zreNNG','FRAMEWORKS','error\x20removing\x20tcg\x20config\x20file','scenariosFailed','yellow','pWtUC','../../helpers/logger','4332makzCU','2030760BpHvqU','bgWhite','forEach'];a5_0x13f4=function(){return _0xf1fa5c;};return a5_0x13f4();}function printCucumberStats(_0xf48aae){const _0x581c9b=a5_0x46fff5,_0x5d1402={};_0x5d1402[_0x581c9b(0x18e)]=function(_0x36e406,_0x3cfec1){return _0x36e406>_0x3cfec1;},_0x5d1402[_0x581c9b(0x15e)]=function(_0xef0172,_0x5c0f43){return _0xef0172-_0x5c0f43;},_0x5d1402[_0x581c9b(0x14d)]=function(_0x3d5a21,_0x1b57c2){return _0x3d5a21-_0x1b57c2;},_0x5d1402[_0x581c9b(0x145)]=function(_0x41f248,_0x51116e){return _0x41f248>_0x51116e;},_0x5d1402['RRjcN']=function(_0x34024d,_0x56a3d6){return _0x34024d>_0x56a3d6;},_0x5d1402[_0x581c9b(0x185)]=function(_0x3509a9,_0x5d0c51){return _0x3509a9>_0x5d0c51;},_0x5d1402[_0x581c9b(0x16f)]=function(_0x27f2ba,_0x55b085){return _0x27f2ba>_0x55b085;},_0x5d1402[_0x581c9b(0x189)]=function(_0x167886,_0x252b25){return _0x167886+_0x252b25;},_0x5d1402[_0x581c9b(0x177)]=function(_0x27bf51,_0x17784b){return _0x27bf51+_0x17784b;},_0x5d1402['ICBbg']=function(_0x3eb430,_0x1b052a){return _0x3eb430+_0x1b052a;},_0x5d1402[_0x581c9b(0x153)]=function(_0xe0a123,_0x10a758){return _0xe0a123+_0x10a758;},_0x5d1402[_0x581c9b(0x19a)]=function(_0x11195d,_0x363371){return _0x11195d===_0x363371;},_0x5d1402['bRgcp']=function(_0x38a882,_0x539885){return _0x38a882===_0x539885;},_0x5d1402[_0x581c9b(0x197)]=_0x581c9b(0x198);const _0x55383a=_0x5d1402;let _0x4a71f9=0x0;if(_0x55383a['bRgcp'](_0xf48aae[_0x581c9b(0x186)],0x0))return _0x4a71f9;return console['log'](chalk[_0x581c9b(0x194)][_0x581c9b(0x157)](_0x55383a['dtQtD'])),_0xf48aae[_0x581c9b(0x158)](_0x4c87f4=>{const _0xd87539=_0x581c9b,_0x3a43d6=_0x4c87f4[0x0],_0x347661=_0x4c87f4[0x1];console[_0xd87539(0x173)]('\x0a'+chalk[_0xd87539(0x194)]['yellow'](''+helper[_0xd87539(0x1a1)](_0x3a43d6)));const _0xe1296c=_0x347661[_0xd87539(0x149)],_0x389bdb=_0x347661[_0xd87539(0x17d)],_0x4390ce=_0x347661[_0xd87539(0x151)],_0x20dc78=_0x347661['stepsFailed'],_0x417aef=_0x347661[_0xd87539(0x181)],_0x5bc593=_0x347661[_0xd87539(0x18f)],_0x118370=_0x347661[_0xd87539(0x178)],_0x509157=_0x347661[_0xd87539(0x16a)],_0x1b001b=_0x347661['stepsUnknown'],_0x35c702=_0x347661[_0xd87539(0x147)],_0x6c6269=_0x347661[_0xd87539(0x167)];let _0x13a8fa=_0xe1296c+_0xd87539(0x14a);const _0x4dd853=_0x55383a[_0xd87539(0x18e)](_0x55383a[_0xd87539(0x15e)](_0xe1296c,_0x4390ce),0x0)?_0x55383a[_0xd87539(0x14d)](_0xe1296c,_0x4390ce):0x0;if(_0x55383a[_0xd87539(0x18e)](_0x4390ce,0x0)&&_0x55383a['gvWXO'](_0x4dd853,0x0))_0x13a8fa+='\x20('+chalk[_0xd87539(0x194)]['red'](_0x4390ce+'\x20failed')+',\x20'+chalk[_0xd87539(0x194)]['green'](_0x4dd853+_0xd87539(0x1a4))+')';else(_0x55383a[_0xd87539(0x18e)](_0x4390ce,0x0)||_0x55383a[_0xd87539(0x18e)](_0x4dd853,0x0))&&(_0x13a8fa+=_0x55383a[_0xd87539(0x18e)](_0x4390ce,0x0)?'\x20('+chalk[_0xd87539(0x194)][_0xd87539(0x179)](_0x4390ce+'\x20failed')+')':'\x20('+chalk[_0xd87539(0x194)][_0xd87539(0x16e)](_0x4dd853+_0xd87539(0x1a4))+')');const _0x45c9fc=_0x389bdb+_0xd87539(0x164),_0x239204=[];_0x55383a['TavVk'](_0x35c702,0x0)&&_0x239204[_0xd87539(0x182)](''+chalk[_0xd87539(0x194)][_0xd87539(0x179)](_0x35c702+_0xd87539(0x187)));_0x55383a['TavVk'](_0x20dc78,0x0)&&_0x239204[_0xd87539(0x182)](''+chalk[_0xd87539(0x194)][_0xd87539(0x179)](_0x20dc78+_0xd87539(0x146)));_0x55383a['TavVk'](_0x417aef,0x0)&&_0x239204['push'](''+chalk[_0xd87539(0x194)][_0xd87539(0x16e)](_0x417aef+_0xd87539(0x1a4)));_0x55383a[_0xd87539(0x148)](_0x118370,0x0)&&_0x239204[_0xd87539(0x182)](''+chalk[_0xd87539(0x194)][_0xd87539(0x152)](_0x118370+_0xd87539(0x1aa)));_0x55383a['XbcrT'](_0x5bc593,0x0)&&_0x239204[_0xd87539(0x182)](''+chalk[_0xd87539(0x194)][_0xd87539(0x19e)](_0x5bc593+_0xd87539(0x1ac)));_0x55383a[_0xd87539(0x185)](_0x509157,0x0)&&_0x239204['push'](''+chalk[_0xd87539(0x194)]['yellow'](_0x509157+_0xd87539(0x16d)));_0x55383a['IoYge'](_0x1b001b,0x0)&&_0x239204['push'](''+chalk['bold']['yellow'](_0x1b001b+_0xd87539(0x1ac)));const _0x2cb4d8=_0x55383a[_0xd87539(0x189)](_0x55383a[_0xd87539(0x177)](_0x55383a[_0xd87539(0x189)](_0x45c9fc,'('),_0x239204[_0xd87539(0x176)](',\x20')),')');console[_0xd87539(0x173)](_0x55383a[_0xd87539(0x15a)](_0x55383a[_0xd87539(0x153)](_0x55383a['ICBbg'](_0x55383a['LqOjG']('\x0a',_0x13a8fa),'\x0a'),_0x2cb4d8),'\x0a')),_0x55383a['HjqXq'](_0x6c6269,![])&&(_0x4a71f9=0x1);}),_0x4a71f9;}async function run(_0x219ca5,_0x28597f){const _0x3a3b66=a5_0x46fff5,_0x3d6549={'YgkWf':function(_0x4e9b2a,_0x25b922){return _0x4e9b2a(_0x25b922);},'cnMbS':function(_0x12c35e,_0xaa6e30){return _0x12c35e>_0xaa6e30;},'PhQzu':'Generating\x20consolidated\x20report...','mBGuU':_0x3a3b66(0x191),'LvuYv':_0x3a3b66(0x18b),'ZXcwE':_0x3a3b66(0x150),'UXlUd':'cucumber-js','nqHQr':'tmp','zEdMP':function(_0x3df6b8,_0x12fe8a){return _0x3df6b8>_0x12fe8a;},'aMaaV':function(_0x114f42,_0x3155a6){return _0x114f42-_0x3155a6;},'YbGkt':function(_0x17d70f,_0x71c3ee){return _0x17d70f>=_0x71c3ee;},'jUKdQ':function(_0x168dae,_0x105d96){return _0x168dae!=_0x105d96;},'upkuh':'false','hxUJh':function(_0x1d9a44,_0x3f4238,_0x502e3d,_0x80a005,_0x5763bc,_0x360638){return _0x1d9a44(_0x3f4238,_0x502e3d,_0x80a005,_0x5763bc,_0x360638);}},_0x2e5205=new BrowserStackSetup(_0x219ca5,_0x3d6549[_0x3a3b66(0x159)]);await _0x2e5205['initialize']();!helper[_0x3a3b66(0x165)]()&&await _0x2e5205['setupTCGAuth']();await helper[_0x3a3b66(0x17f)](_0x2e5205[_0x3a3b66(0x195)]);const _0x52b7f0=helper[_0x3a3b66(0x188)](_0x2e5205['config']),_0x5997ec=helper[_0x3a3b66(0x183)](_0x2e5205[_0x3a3b66(0x195)],_0x52b7f0,constants[_0x3a3b66(0x14f)][_0x3a3b66(0x190)]);if(!_0x2e5205[_0x3a3b66(0x195)])return;const _0x33ad28=_0x2e5205[_0x3a3b66(0x195)]['parallelsPerPlatform']||helper['getUserWorkerCount'](_0x219ca5,_0x28597f,_0x2e5205[_0x3a3b66(0x195)],constants[_0x3a3b66(0x14f)]['CUCUMBER'])||0x1,_0x30a95d={'server':helper[_0x3a3b66(0x15b)](_0x2e5205[_0x3a3b66(0x195)]),'proxySettings':_0x2e5205[_0x3a3b66(0x195)][_0x3a3b66(0x171)],'maxWorkers':_0x33ad28,'browserStackLogLevel':_0x2e5205[_0x3a3b66(0x195)][_0x3a3b66(0x14b)],'skipSessionName':_0x2e5205[_0x3a3b66(0x195)][_0x3a3b66(0x1a7)]['skipSessionName'],'skipSessionStatus':_0x2e5205[_0x3a3b66(0x195)][_0x3a3b66(0x1a7)][_0x3a3b66(0x18d)],'turboScaleUrl':_0x2e5205[_0x3a3b66(0x195)][_0x3a3b66(0x17b)]},_0x1cd2bc=process[_0x3a3b66(0x14c)],[_0x48c352,_0x455097]=helper['parseFormatters'](_0x1cd2bc),_0x8847d7=path['join'](process['cwd'](),_0x3d6549[_0x3a3b66(0x17a)]);if(_0x3d6549[_0x3a3b66(0x15d)](_0x455097[_0x3a3b66(0x186)],0x0)){helper['createDir'](_0x8847d7);for(let _0xfccdbe=_0x3d6549[_0x3a3b66(0x19f)](_0x48c352[_0x3a3b66(0x186)],0x1);_0x3d6549['YbGkt'](_0xfccdbe,0x0);_0xfccdbe--){_0x1cd2bc[_0x3a3b66(0x1a5)](_0x48c352[_0xfccdbe],0x2);}}!helper['isUndefined'](_0x2e5205[_0x3a3b66(0x195)][_0x3a3b66(0x163)])&&(process['env'][_0x3a3b66(0x1ab)]=JSON['stringify'](_0x2e5205['config'][_0x3a3b66(0x163)]));_0x3d6549['jUKdQ'](_0x2e5205['config']['testObservability'],null)?process[_0x3a3b66(0x1a8)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x2e5205[_0x3a3b66(0x195)]['testObservability']:process[_0x3a3b66(0x1a8)][_0x3a3b66(0x166)]=_0x3d6549[_0x3a3b66(0x160)];const _0x27ea33=await TestHubHandler[_0x3a3b66(0x196)](constants[_0x3a3b66(0x14f)][_0x3a3b66(0x190)],_0x2e5205);helper['markSDKSetupComplete']();let _0xd1c12e;_0x3d6549[_0x3a3b66(0x1a3)](parallelCucumberRun,_0x5997ec,_0x30a95d,_0x2e5205['config'],_0x1cd2bc,_0x455097)[_0x3a3b66(0x174)](async _0x28e1b3=>{const _0x333036=_0x3a3b66;_0xd1c12e=_0x28e1b3;const _0x3bb0ee=_0x3d6549[_0x333036(0x15c)](printCucumberStats,_0x28e1b3);process['exitCode']=_0x3bb0ee,_0x3d6549[_0x333036(0x1a0)](_0x455097[_0x333036(0x186)],0x0)&&(logger[_0x333036(0x1a2)](_0x3d6549[_0x333036(0x192)]),helper['mergeOutputFiles'](_0x8847d7,_0x455097),logger[_0x333036(0x1a2)](_0x3d6549[_0x333036(0x15f)]),helper[_0x333036(0x16c)](_0x8847d7));})[_0x3a3b66(0x1a6)](async()=>{const _0x111efa=_0x3a3b66;_0x2e5205[_0x111efa(0x19c)]=helper[_0x111efa(0x162)](_0xd1c12e,_0x3d6549['LvuYv']),testOpsHelper['printBuildLink']();try{await TestHubHandler[_0x111efa(0x161)]();}catch(_0x547e0d){logger[_0x111efa(0x1a2)]('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util[_0x111efa(0x18c)](_0x547e0d));}try{const {browserstackFolderPath:_0x22d614,tcgConfigPath:_0x239d79}=helper[_0x111efa(0x168)]();fs[_0x111efa(0x19b)](_0x239d79),fs[_0x111efa(0x175)](_0x22d614);}catch(_0x5cedd6){logger[_0x111efa(0x1a2)](_0x3d6549['ZXcwE'],_0x5cedd6);}await utilities['finalExecution'](_0x2e5205);});}function a5_0x501c(_0x4687a8,_0x1d7558){const _0x13f4c8=a5_0x13f4();return a5_0x501c=function(_0x501c66,_0x1e2ff9){_0x501c66=_0x501c66-0x145;let _0xb80f4b=_0x13f4c8[_0x501c66];return _0xb80f4b;},a5_0x501c(_0x4687a8,_0x1d7558);}module[a5_0x46fff5(0x17c)]=run;