browserstack-node-sdk 1.34.2 → 1.34.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (126) 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/globals.js +1 -1
  101. package/src/helpers/helper.js +1 -1
  102. package/src/helpers/logger.js +1 -1
  103. package/src/helpers/patchHelpers.js +1 -1
  104. package/src/helpers/percy/Percy.js +1 -1
  105. package/src/helpers/percy/PercyBinary.js +1 -1
  106. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  107. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  108. package/src/helpers/percy/PercySDK.js +1 -1
  109. package/src/helpers/percy/index.js +1 -1
  110. package/src/helpers/percy/utils.js +1 -1
  111. package/src/helpers/performance-tester.js +1 -1
  112. package/src/helpers/request-spy.js +1 -1
  113. package/src/helpers/setKeepAlive.js +1 -1
  114. package/src/helpers/test-observability/constants.js +1 -1
  115. package/src/helpers/test-observability/error-handler.js +1 -1
  116. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  117. package/src/helpers/test-observability/sessionHandler.js +1 -1
  118. package/src/helpers/test-observability/utils.js +1 -1
  119. package/src/helpers/testhub/constants.js +1 -1
  120. package/src/helpers/testhub/testhubHandler.js +1 -1
  121. package/src/helpers/testhub/utils.js +1 -1
  122. package/src/helpers/timeoutPromise.js +1 -1
  123. package/src/helpers/utilities.js +1 -0
  124. package/src/helpers/w3cMapping.js +1 -1
  125. package/src/hubAllocationMethods.js +1 -1
  126. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a1_0x29e0b6=a1_0x180b;(function(_0x5ec619,_0x54826a){const _0x1bd5df=a1_0x180b,_0x4da282=_0x5ec619();while(!![]){try{const _0x1eaf5d=parseInt(_0x1bd5df(0xbf))/0x1*(-parseInt(_0x1bd5df(0x11f))/0x2)+parseInt(_0x1bd5df(0xc1))/0x3+-parseInt(_0x1bd5df(0xd2))/0x4+parseInt(_0x1bd5df(0x11b))/0x5+-parseInt(_0x1bd5df(0xd8))/0x6*(parseInt(_0x1bd5df(0x13b))/0x7)+parseInt(_0x1bd5df(0xce))/0x8*(-parseInt(_0x1bd5df(0xc9))/0x9)+-parseInt(_0x1bd5df(0x127))/0xa;if(_0x1eaf5d===_0x54826a)break;else _0x4da282['push'](_0x4da282['shift']());}catch(_0x6ff1c7){_0x4da282['push'](_0x4da282['shift']());}}}(a1_0x53d3,0xb9649));const fs=require('fs'),util=require('util'),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x29e0b6(0xd6)),logger=require(a1_0x29e0b6(0x121))[a1_0x29e0b6(0xd0)],testOpsHelper=require('../../helpers/test-observability/utils'),requestSpy=require(a1_0x29e0b6(0x141)),PlaywrightSessionDetails=require(a1_0x29e0b6(0xc6)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x29e0b6(0x126)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),AccessibilityHelper=require(a1_0x29e0b6(0x139)),scripts=require(a1_0x29e0b6(0xed)),PerformanceTester=require(a1_0x29e0b6(0x12a)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x29e0b6(0xeb)),testHubConstants=require(a1_0x29e0b6(0x132)),CodeceptJS=requireModule(a1_0x29e0b6(0x115)),CodeceptUtils=requireModule(a1_0x29e0b6(0xb7)),CodeceptWebDriver=requireModule(a1_0x29e0b6(0xfe)),CodeceptRecorder=requireModule(a1_0x29e0b6(0xba)),CodeceptPlaywright=requireModule('codeceptjs/lib/helper/Playwright.js'),playwrightMarkSessionStatus=(_0x3e05c4,_0x197085,_0x5ce5c5)=>{const _0x2ecf1f=a1_0x29e0b6,_0x54a035={'VdGbF':_0x2ecf1f(0x101),'oStWr':function(_0x27fbc4,_0xcdfdd){return _0x27fbc4(_0xcdfdd);}},_0x27bc39={};_0x27bc39[_0x2ecf1f(0xd9)]=_0x197085;const _0x1f2788={};_0x1f2788['action']=_0x54a035[_0x2ecf1f(0xf8)],_0x1f2788[_0x2ecf1f(0xfa)]=_0x27bc39;const _0x49dcce=_0x1f2788;return!_0x54a035['oStWr'](isUndefined,_0x5ce5c5)&&(_0x49dcce[_0x2ecf1f(0xfa)][_0x2ecf1f(0xf0)]=JSON[_0x2ecf1f(0xc3)](_0x5ce5c5)),_0x3e05c4[_0x2ecf1f(0x108)](()=>{},'browserstack_executor:\x20'+JSON[_0x2ecf1f(0xc3)](_0x49dcce));},o11ySync=async _0x39db00=>{const _0x5edac0=a1_0x29e0b6,_0x5b4534={};_0x5b4534[_0x5edac0(0x12c)]=function(_0x5ab85b,_0x1ab5ec){return _0x5ab85b===_0x1ab5ec;},_0x5b4534[_0x5edac0(0x12f)]=_0x5edac0(0xf4);const _0x5bf12d=_0x5b4534;_0x5bf12d[_0x5edac0(0x12c)](_0x39db00[_0x5edac0(0x12b)][_0x5edac0(0x14a)],_0x5bf12d[_0x5edac0(0x12f)])?await _0x39db00[_0x5edac0(0x108)](_0x491e1b=>{},testOpsHelper[_0x5edac0(0x14c)]()):await _0x39db00[_0x5edac0(0x108)](testOpsHelper[_0x5edac0(0x14c)]());},markSessionName=async(_0x551907,_0x598f8f)=>{const _0x213165=a1_0x29e0b6,_0x1d391b={};_0x1d391b[_0x213165(0x136)]=_0x213165(0xd3),_0x1d391b[_0x213165(0x116)]=function(_0x140f07,_0x2301fa){return _0x140f07===_0x2301fa;},_0x1d391b[_0x213165(0x144)]=_0x213165(0xf4);const _0x3fd1e3=_0x1d391b,_0x2fc216={};_0x2fc216['name']=_0x598f8f;const _0xf89011={};_0xf89011[_0x213165(0x135)]=_0x3fd1e3[_0x213165(0x136)],_0xf89011[_0x213165(0xfa)]=_0x2fc216;const _0x1450b0=_0xf89011;_0x3fd1e3[_0x213165(0x116)](_0x551907[_0x213165(0x12b)][_0x213165(0x14a)],_0x3fd1e3[_0x213165(0x144)])?await _0x551907[_0x213165(0x108)](()=>{},_0x213165(0x147)+JSON[_0x213165(0xc3)](_0x1450b0)):await _0x551907[_0x213165(0x108)]('browserstack_executor:\x20'+JSON['stringify'](_0x1450b0));},patchSaveScreenshot=_0x15191b=>{const _0x2b98d9=a1_0x29e0b6,_0x580c57={'GIegl':_0x2b98d9(0x134),'XCFuY':_0x2b98d9(0xca),'uJLWU':function(_0x2bd422){return _0x2bd422();},'dFwrr':function(_0x536c09,_0x376634){return _0x536c09(_0x376634);}};_0x580c57[_0x2b98d9(0xea)](isTrue,process['env']['BS_TESTOPS_ALLOW_SCREENSHOTS'])&&!_0x15191b['patchSaveScreenshot']&&(_0x15191b[_0x2b98d9(0xc2)]=!![],_0x15191b[_0x2b98d9(0xfd)]=_0x15191b[_0x2b98d9(0x15c)],_0x15191b[_0x2b98d9(0x15c)]=(_0x3febd3,_0x6eb570=![])=>{const _0x57accf=_0x2b98d9,_0x3630d4={'sZwBH':_0x580c57[_0x57accf(0xdc)],'ZuTxw':_0x580c57[_0x57accf(0xec)],'qfNMQ':function(_0x132f35){const _0x1079a2=_0x57accf;return _0x580c57[_0x1079a2(0x15f)](_0x132f35);}};return new Promise(function(_0x5504ee,_0x5a01ed){const _0x51d392=_0x57accf;_0x15191b['initSaveScreenshot'](_0x3febd3,_0x6eb570)['then'](()=>{const _0x375de0=a1_0x180b,_0x2c5269=CodeceptUtils[_0x375de0(0xf3)](_0x3febd3),_0x2a974a=fs[_0x375de0(0xcf)](_0x2c5269);process[_0x375de0(0x13d)]('bs:addLog:'+process[_0x375de0(0x128)],{'timestamp':new Date()[_0x375de0(0xee)](),'message':_0x2a974a[_0x375de0(0x158)](_0x3630d4[_0x375de0(0xe8)]),'kind':_0x3630d4[_0x375de0(0x106)]}),_0x3630d4[_0x375de0(0x14b)](_0x5504ee);})[_0x51d392(0x161)](()=>null);});});},patchWebDriverBefore=_0x23013c=>{const _0x3f1135=a1_0x29e0b6,_0x54f088={'cGSML':function(_0x2e25a1){return _0x2e25a1();},'zFAoa':function(_0x23ac4d,_0x5431cd){return _0x23ac4d(_0x5431cd);},'YVHiQ':function(_0x24bd89,_0x325045){return _0x24bd89===_0x325045;},'DTguQ':_0x3f1135(0xe4),'ikRDz':function(_0x5236dc,_0x1f46de){return _0x5236dc(_0x1f46de);}},_0x215eaa=async function(_0x293a15,_0x3a280d){const _0x7774f2=_0x3f1135;return _0x54f088[_0x7774f2(0x13c)](isAccessibilityAutomationSession)&&!global[_0x7774f2(0x10b)]&&global[_0x7774f2(0xdd)]&&scripts[_0x7774f2(0x151)](_0x293a15[_0x7774f2(0x14a)])&&_0x54f088[_0x7774f2(0xb6)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x7774f2(0x10b)]=!![],logger[_0x7774f2(0xf2)](_0x7774f2(0x111)+_0x293a15[_0x7774f2(0xbd)]+'\x20'+_0x293a15[_0x7774f2(0x14a)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x23013c,scripts[_0x7774f2(0x156)])),global['bstackAllyScanning']=![],_0x3a280d[_0x7774f2(0xbe)](this,Array[_0x7774f2(0x100)][_0x7774f2(0x142)][_0x7774f2(0xf1)](arguments,0x2));},_0x4aae5a=CodeceptWebDriver[_0x3f1135(0x100)]['_before'];CodeceptWebDriver[_0x3f1135(0x100)]['_before']=async function(){const _0x3aa6f7=_0x3f1135;await _0x4aae5a['apply'](this,arguments),scripts[_0x3aa6f7(0x11a)][_0x3aa6f7(0x133)](_0x39d6f0=>_0x39d6f0[_0x3aa6f7(0x14a)]&&_0x39d6f0[_0x3aa6f7(0xbd)])[_0x3aa6f7(0x102)](_0x39dcae=>{const _0x259f39=_0x3aa6f7;this[_0x259f39(0xe5)]['overwriteCommand'](_0x39dcae['name'],_0x215eaa[_0x259f39(0x14e)](this,_0x39dcae),_0x54f088[_0x259f39(0x15b)](_0x39dcae['class'],_0x54f088[_0x259f39(0x146)]));}),_0x54f088[_0x3aa6f7(0x10e)](processWebDriverConfig,_0x23013c);};},patchPlaywrightBefore=()=>{const _0x367276=a1_0x29e0b6;PlaywrightSessionDetails['patch']();const _0x177920=CodeceptPlaywright['prototype'][_0x367276(0xf7)];CodeceptPlaywright[_0x367276(0x100)][_0x367276(0xf7)]=async function(){const _0x34fac3=_0x367276;this[_0x34fac3(0x131)]=await this[_0x34fac3(0xe5)][_0x34fac3(0x110)]()[0x0],await _0x177920[_0x34fac3(0xbe)](this,arguments);};},getCodeceptDriver=()=>{const _0x188390=a1_0x29e0b6,_0x2ebe46={};_0x2ebe46['OFBbL']=_0x188390(0xb9),_0x2ebe46[_0x188390(0x15d)]=_0x188390(0xf4),_0x2ebe46[_0x188390(0xbc)]=_0x188390(0x148),_0x2ebe46['WRXXu']=_0x188390(0x15a);const _0xbbc09=_0x2ebe46,_0x3139a1=[_0xbbc09['OFBbL'],_0xbbc09[_0x188390(0x15d)],_0xbbc09['VeSIt'],_0xbbc09[_0x188390(0x109)]],_0x154789=_0x3139a1['find'](_0x52b563=>!!CodeceptJS[_0x188390(0xdb)][_0x188390(0xd7)](_0x52b563));if(!_0x154789)return null;return CodeceptJS[_0x188390(0xdb)][_0x188390(0xd7)](_0x154789);};function a1_0x180b(_0x46b6b2,_0x4b3cfe){const _0x53d336=a1_0x53d3();return a1_0x180b=function(_0x180bf5,_0x23fc5b){_0x180bf5=_0x180bf5-0xb5;let _0x4b9c69=_0x53d336[_0x180bf5];return _0x4b9c69;},a1_0x180b(_0x46b6b2,_0x4b3cfe);}function a1_0x53d3(){const _0x3b82de=['../../helpers/request-spy','slice','eerot','zHqDB','XCZuB','DTguQ','browserstack_executor:\x20','Puppeteer','cdLRK','name','qfNMQ','getSyncScript','auZTe','bind','format','all','shouldWrapCommand','dispatcher','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','CKRoz','CGmQS','performScan','Iihka','toString','ENV_VAR','TestCafe','YVHiQ','saveScreenshot','QUBWF','HOOK_RUN_FINISHED','uJLWU','getResultsSummary','catch','add','zFAoa','codeceptjs/lib/utils.js','papWI','WebDriver','codeceptjs/lib/recorder.js','BahuG','VeSIt','class','apply','6439YpuFMu','bs:addLog:','3687312prmJTu','patchSaveScreenshot','stringify','captureEvent','stop','../../bin/playwright/sessionDetails','fWUKT','izEcf','26370gIjdfZ','TEST_SCREENSHOT','getResults','KnAmU','TEST_RUN_STARTED','264sataoz','readFileSync','winstonLogger','qhWey','3145896vzObbc','setSessionName','INFO','addRequestSpy','../../helpers/helper','helpers','231510kdoMrj','status','after','container','GIegl','accessibilityPlatform','TlJiv','step','titlePath','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','QfLbp','hook','Element','browser','TEST_LOG','title','sZwBH','skipSessionStatus','dFwrr','./helper.js','XCFuY','../../helpers/accessibility-automation/scripts','toISOString','startMonitoring','reason','call','debug','screenshotOutputFolder','Playwright','before','HuYuA','_before','VdGbF','env','arguments','KqOSC','restore','initSaveScreenshot','codeceptjs/lib/helper/WebDriver.js','fireEvent','prototype','setSessionStatus','forEach','__workerDetails','ctx','__skipSessionStatus','ZuTxw','oOuYe','executeScript','WRXXu','__driver','bstackAllyScanning','BROWSERSTACK_TESTHUB_UUID','warn','ikRDz','failed','contexts','Performing\x20scan\x20for\x20','skipSessionName','started','exports','codeceptjs/lib/index.js','xyfbC','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','jYJlw','Cjesi','commandsToWrap','6746145ryJDsm','PrWvZ','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','TEST_RUN_FINISHED','178Kmraja','bddStep','../../helpers/logger','event','stopMonitoring','test','saveTestResults','./o11yHelper','926340ZCuTuF','pid','browserStackExecuteDriver','../../helpers/performance-tester','constructor','LTRZV','TEST_RUN_SKIPPED','BROWSERSTACK_TESTHUB_JWT','JsMkA','comment','browserContext','../../helpers/testhub/constants.js','filter','base64','action','vWjpv','bddStepStart','FMffJ','../../bin/playwright/accessibility-helper','getAccessibilityResultsSummary','49CDEXUQ','cGSML','emit','testAnalyticsId','bddStepFinish','captureError'];a1_0x53d3=function(){return _0x3b82de;};return a1_0x53d3();}module[a1_0x29e0b6(0x114)]=function(_0x50dbbd){const _0x56cce1=a1_0x29e0b6,_0x5ea838={'oOuYe':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','jYJlw':_0x56cce1(0x117),'KnAmU':function(_0x566da7){return _0x566da7();},'Cjesi':function(_0x549f90){return _0x549f90();},'TlJiv':function(_0x4bafa3,_0x40478b){return _0x4bafa3(_0x40478b);},'fWUKT':function(_0x248fe7,_0x4a74f5,_0x1bb48d){return _0x248fe7(_0x4a74f5,_0x1bb48d);},'PrWvZ':function(_0x35ed29){return _0x35ed29();},'HgLzn':function(_0x5efa3d,_0x10f8dd,_0x122e77){return _0x5efa3d(_0x10f8dd,_0x122e77);},'auZTe':function(_0xc990a6,_0x17c41b,_0x33a8e4,_0x426f71){return _0xc990a6(_0x17c41b,_0x33a8e4,_0x426f71);},'papWI':function(_0x132ab3,_0x1847ca,_0x3609a3,_0x3c1fdf){return _0x132ab3(_0x1847ca,_0x3609a3,_0x3c1fdf);},'qhWey':function(_0x561acd,_0x4e4ee9){return _0x561acd===_0x4e4ee9;},'CGmQS':'Suite','QfLbp':function(_0x48356e){return _0x48356e();},'KqOSC':_0x56cce1(0xe1),'FMffJ':_0x56cce1(0xd4),'izlhi':_0x56cce1(0xe6),'YqBkQ':function(_0x34a052){return _0x34a052();},'XCZuB':'Playwright','Iihka':function(_0x384a15){return _0x384a15();},'BahuG':function(_0x31526c,_0x401739){return _0x31526c(_0x401739);}};_0x50dbbd[_0x56cce1(0xe9)]&&(global[_0x56cce1(0x105)]=_0x50dbbd[_0x56cce1(0xe9)]);PerformanceTester[_0x56cce1(0xef)]();const _0x1f0ad5=_0x5ea838['YqBkQ'](getCodeceptDriver),_0x513074=new O11yHelper(_0x1f0ad5,_0x50dbbd),_0x1ebfa2=!!CodeceptJS['container'][_0x56cce1(0xd7)](_0x5ea838[_0x56cce1(0x145)]);global[_0x56cce1(0x10a)]=_0x1f0ad5,_0x1f0ad5&&(_0x1ebfa2?_0x5ea838[_0x56cce1(0x157)](patchPlaywrightBefore):_0x5ea838['BahuG'](patchWebDriverBefore,_0x1f0ad5),_0x1f0ad5[_0x56cce1(0x13a)]=async()=>{const _0x37a1c8=_0x56cce1;if(global['accessibilityPlatform'])await AccessibilityHelper[_0x37a1c8(0x129)](_0x1f0ad5,scripts[_0x37a1c8(0x156)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x1f0ad5,scripts[_0x37a1c8(0x160)]);else return logger[_0x37a1c8(0x10d)](_0x5ea838[_0x37a1c8(0x107)]),{};},_0x1f0ad5['getAccessibilityResults']=async()=>{const _0x23ea7d=_0x56cce1;if(global['accessibilityPlatform'])await AccessibilityHelper[_0x23ea7d(0x129)](_0x1f0ad5,scripts[_0x23ea7d(0x156)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x1f0ad5,scripts[_0x23ea7d(0xcb)]);else return logger[_0x23ea7d(0x10d)](_0x5ea838[_0x23ea7d(0x118)]),{};},_0x5ea838[_0x56cce1(0xbb)](patchSaveScreenshot,_0x1f0ad5)),CodeceptJS[_0x56cce1(0x122)][_0x56cce1(0x152)]['on'](CodeceptJS[_0x56cce1(0x122)][_0x56cce1(0x150)][_0x56cce1(0xf5)],()=>{const _0x276418=_0x56cce1;try{_0x513074['start'](),testOpsHelper[_0x276418(0xd5)]();}catch(_0x59f7de){PerformanceTester[_0x276418(0x140)](_0x59f7de);}}),CodeceptJS[_0x56cce1(0x122)]['dispatcher']['on'](CodeceptJS[_0x56cce1(0x122)]['all']['after'],async()=>{const _0x4388c3=_0x56cce1;try{requestSpy[_0x4388c3(0xfc)](),await _0x513074[_0x4388c3(0xc5)]();}catch(_0x2411f4){PerformanceTester['captureError'](_0x2411f4);}finally{PerformanceTester[_0x4388c3(0x123)]();}}),CodeceptJS['event'][_0x56cce1(0x152)]['on'](CodeceptJS['event'][_0x56cce1(0xe3)][_0x56cce1(0x113)],_0x271a82=>{const _0x28754f=_0x56cce1;try{const _0x1dc503=_0x271a82[_0x28754f(0x104)]['test'],_0x818db5=_0x513074[_0x28754f(0xc4)](TEST_EVENTS['HOOK_RUN_STARTED'],_0x1dc503);CodeceptRecorder['add'](()=>_0x513074['fireEvent'](TEST_EVENTS['HOOK_RUN_STARTED'],_0x818db5));}catch(_0x3a1b1b){PerformanceTester[_0x28754f(0x140)](_0x3a1b1b);}}),CodeceptJS[_0x56cce1(0x122)][_0x56cce1(0x152)]['on'](CodeceptJS[_0x56cce1(0x122)]['hook']['passed'],_0x41e277=>{const _0x47454e=_0x56cce1;try{const _0xeb54cc=_0x41e277[_0x47454e(0x104)][_0x47454e(0x124)],_0x4c1bf3=_0x513074[_0x47454e(0xc4)](TEST_EVENTS[_0x47454e(0x15e)],_0xeb54cc);CodeceptRecorder[_0x47454e(0xb5)](()=>_0x513074[_0x47454e(0xff)](TEST_EVENTS[_0x47454e(0x15e)],_0x4c1bf3));}catch(_0x101b0e){PerformanceTester[_0x47454e(0x140)](_0x101b0e);}}),CodeceptJS[_0x56cce1(0x122)][_0x56cce1(0x152)]['on'](CodeceptJS['event']['hook'][_0x56cce1(0x10f)],async(_0x3009eb,_0x4673ac)=>{const _0x233dd4=_0x56cce1;try{const _0x356a8c=_0x3009eb[_0x233dd4(0x104)][_0x233dd4(0x124)],_0x371ce0=_0x513074[_0x233dd4(0xc4)](TEST_EVENTS[_0x233dd4(0x15e)],_0x356a8c,_0x4673ac);CodeceptRecorder[_0x233dd4(0xb5)](()=>_0x513074[_0x233dd4(0xff)](TEST_EVENTS[_0x233dd4(0x15e)],_0x371ce0));}catch(_0x4b31a2){PerformanceTester[_0x233dd4(0x140)](_0x4b31a2);}}),CodeceptJS[_0x56cce1(0x122)][_0x56cce1(0x152)]['on'](CodeceptJS['event'][_0x56cce1(0x124)][_0x56cce1(0xf5)],_0x78f433=>{const _0x4c3e50=_0x56cce1;try{_0x5ea838[_0x4c3e50(0xcc)](isBrowserstackInfra)&&(_0x1ebfa2&&(global[_0x4c3e50(0x103)]={'currentTest':{'name':_0x78f433[_0x4c3e50(0xe7)],'testInfo':{'titlePath':_0x78f433[_0x4c3e50(0xe0)]()}}}));}catch(_0x54c987){PerformanceTester['captureError'](_0x54c987);}}),CodeceptJS['event'][_0x56cce1(0x152)]['on'](CodeceptJS[_0x56cce1(0x122)][_0x56cce1(0x124)][_0x56cce1(0x113)],_0x57ddac=>{const _0x1ba644=_0x56cce1,_0x1c2ed0={'cdLRK':function(_0x55e88e){return _0x5ea838['Cjesi'](_0x55e88e);},'HuYuA':function(_0x1272c4,_0x182349){const _0x504274=a1_0x180b;return _0x5ea838[_0x504274(0xde)](_0x1272c4,_0x182349);},'izEcf':function(_0x490cd4,_0x5bf17f,_0x57c3d0){const _0x4aae64=a1_0x180b;return _0x5ea838[_0x4aae64(0xc7)](_0x490cd4,_0x5bf17f,_0x57c3d0);},'eerot':function(_0x5e2c8e,_0x5e1af1){const _0x12fef1=a1_0x180b;return _0x5ea838[_0x12fef1(0xde)](_0x5e2c8e,_0x5e1af1);}};try{const _0x20696e=_0x513074[_0x1ba644(0xc4)](TEST_EVENTS[_0x1ba644(0xcd)],_0x57ddac);CodeceptRecorder[_0x1ba644(0xb5)](()=>_0x513074['fireEvent'](TEST_EVENTS[_0x1ba644(0xcd)],_0x20696e)),CodeceptRecorder[_0x1ba644(0xb5)](async()=>{const _0x1383ff=_0x1ba644;_0x1c2ed0[_0x1383ff(0x149)](isBrowserstackInfra)&&(!_0x1c2ed0[_0x1383ff(0xf6)](isTrue,_0x50dbbd[_0x1383ff(0x112)])&&await _0x1c2ed0[_0x1383ff(0xc8)](markSessionName,_0x1f0ad5,_0x57ddac[_0x1383ff(0xe7)]),_0x513074['enabled']&&await _0x1c2ed0[_0x1383ff(0x143)](o11ySync,_0x1f0ad5));});}catch(_0xa2c6ed){PerformanceTester[_0x1ba644(0x140)](_0xa2c6ed);}}),CodeceptJS[_0x56cce1(0x122)][_0x56cce1(0x152)]['on'](CodeceptJS['event'][_0x56cce1(0x124)]['passed'],_0x7290bd=>{const _0x31a8e4=_0x56cce1,_0x37c6d4={'CKRoz':function(_0x4b3a51){const _0x3fcca2=a1_0x180b;return _0x5ea838[_0x3fcca2(0x11c)](_0x4b3a51);},'FlVSZ':function(_0x4876d7,_0x35b176,_0x4f8f99){const _0x9e6c6c=a1_0x180b;return _0x5ea838[_0x9e6c6c(0xc7)](_0x4876d7,_0x35b176,_0x4f8f99);},'EVZgw':function(_0x108591,_0x595523,_0xf1cea7){return _0x5ea838['HgLzn'](_0x108591,_0x595523,_0xf1cea7);}};try{const _0x1634dd=_0x513074[_0x31a8e4(0xc4)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x7290bd);CodeceptRecorder[_0x31a8e4(0xb5)](()=>_0x513074['fireEvent'](TEST_EVENTS[_0x31a8e4(0x11e)],_0x1634dd)),CodeceptRecorder[_0x31a8e4(0xb5)](async()=>{const _0x23eb82=_0x31a8e4;_0x37c6d4[_0x23eb82(0x154)](isBrowserstackInfra)&&(_0x1ebfa2?await _0x37c6d4['FlVSZ'](playwrightMarkSessionStatus,_0x1f0ad5,STATE_PASSED):await _0x37c6d4['EVZgw'](markSessionStatus,_0x1f0ad5,STATE_PASSED));});}catch(_0x43ff1b){PerformanceTester[_0x31a8e4(0x140)](_0x43ff1b);}}),CodeceptJS[_0x56cce1(0x122)][_0x56cce1(0x152)]['on'](CodeceptJS['event'][_0x56cce1(0x124)]['failed'],(_0x9fccf1,_0x11f79a)=>{const _0x44593f=_0x56cce1;try{if(_0x5ea838[_0x44593f(0xd1)](_0x9fccf1[_0x44593f(0x12b)][_0x44593f(0x14a)],_0x5ea838[_0x44593f(0x155)])){const _0x5e6b56=_0x513074[_0x44593f(0xc4)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x9fccf1[_0x44593f(0x104)]['currentTest']);CodeceptRecorder[_0x44593f(0xb5)](()=>_0x513074['fireEvent'](TEST_EVENTS[_0x44593f(0x12d)],_0x5e6b56));}else{const _0x4668d7=_0x513074['captureEvent'](TEST_EVENTS[_0x44593f(0x11e)],_0x9fccf1,_0x11f79a);CodeceptRecorder[_0x44593f(0xb5)](()=>{const _0x4b1f98=_0x44593f;try{_0x513074[_0x4b1f98(0xff)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x4668d7);}catch(_0x4df1b1){logger[_0x4b1f98(0xf2)](_0x4b1f98(0x153)+util[_0x4b1f98(0x14f)](_0x4df1b1));}}),CodeceptRecorder['add'](async()=>{const _0x253d4b=_0x44593f;try{_0x5ea838[_0x253d4b(0x11c)](isBrowserstackInfra)&&(_0x1ebfa2?await _0x5ea838[_0x253d4b(0x14d)](playwrightMarkSessionStatus,_0x1f0ad5,STATE_FAILED,_0x11f79a):await _0x5ea838[_0x253d4b(0xb8)](markSessionStatus,_0x1f0ad5,STATE_FAILED,_0x11f79a));}catch(_0x5644f5){logger[_0x253d4b(0xf2)](_0x253d4b(0x11d)+util[_0x253d4b(0x14f)](_0x5644f5));}});}}catch(_0x55bb45){PerformanceTester[_0x44593f(0x140)](_0x55bb45);}}),CodeceptJS['event'][_0x56cce1(0x152)]['on'](CodeceptJS[_0x56cce1(0x122)]['test']['skipped'],_0x2eed6b=>{const _0x405d1c=_0x56cce1;try{const _0x8c1c2e=_0x513074[_0x405d1c(0xc4)](TEST_EVENTS[_0x405d1c(0x12d)],_0x2eed6b);CodeceptRecorder['add'](()=>_0x513074[_0x405d1c(0xff)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x8c1c2e));}catch(_0x1f6156){PerformanceTester[_0x405d1c(0x140)](_0x1f6156);}}),CodeceptJS[_0x56cce1(0x122)][_0x56cce1(0x152)]['on'](CodeceptJS[_0x56cce1(0x122)]['test'][_0x56cce1(0xda)],async(_0x2f3e14,_0x1b6fd6)=>{const _0xf81a36=_0x56cce1;try{if(_0x5ea838[_0xf81a36(0x119)](isBrowserstackInfra)){const _0x2bd823=_0x5ea838['fWUKT'](shouldScanTestForAccessibility,_0x2f3e14['titlePath'](),!![]);if(_0x5ea838[_0xf81a36(0xe2)](isAccessibilityAutomationSession)&&global[_0xf81a36(0xdd)]&&_0x2bd823){const _0x286bd4={};_0x286bd4['thTestRunUuid']=_0x2f3e14[_0xf81a36(0x13e)],_0x286bd4['thBuildUuid']=process[_0xf81a36(0xf9)][testHubConstants[_0xf81a36(0x159)][_0xf81a36(0x10c)]],_0x286bd4['thJwtToken']=process[_0xf81a36(0xf9)][testHubConstants['ENV_VAR'][_0xf81a36(0x12e)]];const _0x50a05a=_0x286bd4;logger['debug']('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON['stringify'](_0x50a05a)),CodeceptRecorder[_0xf81a36(0xb5)](async()=>{const _0xb2bae1=_0xf81a36;await AccessibilityHelper[_0xb2bae1(0x129)](_0x1f0ad5,scripts[_0xb2bae1(0x156)]),await AccessibilityHelper[_0xb2bae1(0x129)](_0x1f0ad5,scripts[_0xb2bae1(0x125)],_0x50a05a);}),logger['info'](_0x5ea838[_0xf81a36(0xfb)]);}}}catch(_0x55fb64){PerformanceTester[_0xf81a36(0x140)](_0x55fb64);}}),CodeceptJS[_0x56cce1(0x122)][_0x56cce1(0x152)]['on'](CodeceptJS[_0x56cce1(0x122)][_0x56cce1(0xdf)][_0x56cce1(0x130)],_0x340c04=>{const _0x2772c4=_0x56cce1;try{process['emit'](_0x2772c4(0xc0)+process[_0x2772c4(0x128)],{'timestamp':new Date()['toISOString'](),'level':_0x5ea838[_0x2772c4(0x138)],'message':_0x340c04,'kind':_0x5ea838['izlhi'],'http_response':{}});}catch(_0x13982b){PerformanceTester[_0x2772c4(0x140)](_0x13982b);}}),CodeceptJS[_0x56cce1(0x122)][_0x56cce1(0x152)]['on'](CodeceptJS[_0x56cce1(0x122)][_0x56cce1(0x120)][_0x56cce1(0xf5)],_0x13ff59=>{const _0xd79afb=_0x56cce1;_0x513074[_0xd79afb(0x137)](_0x13ff59);}),CodeceptJS[_0x56cce1(0x122)][_0x56cce1(0x152)]['on'](CodeceptJS[_0x56cce1(0x122)][_0x56cce1(0x120)]['after'],_0xb19429=>{const _0x5d7f93=_0x56cce1;_0x513074[_0x5d7f93(0x13f)](_0xb19429);});};
1
+ const a1_0x2d473f=a1_0xb075;function a1_0x3417(){const _0x4beefc=['addRequestSpy','9403086vVMJtL','../../helpers/testhub/constants.js','stopMonitoring','test','performScan','uAdMb','comment','../../helpers/performance-tester','browserStackExecuteDriver','skipSessionName','titlePath','GDqxT','debug','contexts','DMtwX','codeceptjs/lib/recorder.js','HOOK_RUN_FINISHED','roBOt','Element','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','emit','SyEzQ','bstackAllyScanning','warn','icbVh','passed','overwriteCommand','title','skipSessionStatus','Suite','ctx','QYRjj','TEST_RUN_FINISHED','bddStepStart','captureEvent','after','TEST_SCREENSHOT','bind','env','HBQBX','../../helpers/test-observability/utils','95GgWhBS','call','apply','Playwright','../../bin/playwright/sessionDetails','bwdDK','IQAzU','getResults','2160866ZHNlZM','ENV_VAR','prototype','__driver','codeceptjs/lib/helper/WebDriver.js','_before','HOOK_RUN_STARTED','find','initSaveScreenshot','rFbmz','captureError','add','testAnalyticsId','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','NTTFf','pid','reason','catch','commandsToWrap','saveTestResults','dispatcher','bddStep','eZTRY','browserstack_executor:\x20','event','./helper.js','xLdoF','patch','LLFSW','start','JZbxC','step','TEST_RUN_STARTED','__workerDetails','util','hook','stringify','format','auLqU','shouldWrapCommand','getSyncScript','388824WGEezB','fireEvent','forEach','accessibilityPlatform','skipped','bddStepFinish','qCWEN','SJatu','../../helpers/accessibility-automation/helper','LTXde','startMonitoring','then','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','678997lIRSdr','6067656tLkZEq','name','saveScreenshot','failed','bs:addLog:','status','2709716vjUlPy','bKuDH','setSessionStatus','currentTest','JXEnO','enabled','gKmwm','getResultsSummary','WebDriver','before','helpers','wRvjG','codeceptjs/lib/index.js','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','winstonLogger','patchSaveScreenshot','WilSq','filter','../../helpers/accessibility-automation/scripts','toISOString','started','codeceptjs/lib/utils.js','QBtPd','slice','sqsIt','codeceptjs/lib/helper/Playwright.js','thBuildUuid','Puppeteer','thJwtToken','setSessionName','AXDhW','tpydT','IbWIG','all','executeScript','action','browser','vTFSE','container','../../helpers/request-spy','TEST_RUN_SKIPPED','3613971pfVIVw','constructor','MnpWd','arguments','../../helpers/helper','yhKdx','9mgEySy','INFO','class','BROWSERSTACK_TESTHUB_UUID'];a1_0x3417=function(){return _0x4beefc;};return a1_0x3417();}(function(_0x1765ca,_0xdbd031){const _0x15c0d1=a1_0xb075,_0xa8da36=_0x1765ca();while(!![]){try{const _0x373b2a=parseInt(_0x15c0d1(0x153))/0x1+-parseInt(_0x15c0d1(0x11d))/0x2+-parseInt(_0x15c0d1(0xe1))/0x3+parseInt(_0x15c0d1(0x15a))/0x4+-parseInt(_0x15c0d1(0x115))/0x5*(-parseInt(_0x15c0d1(0x146))/0x6)+parseInt(_0x15c0d1(0xec))/0x7+-parseInt(_0x15c0d1(0x154))/0x8*(parseInt(_0x15c0d1(0xe7))/0x9);if(_0x373b2a===_0xdbd031)break;else _0xa8da36['push'](_0xa8da36['shift']());}catch(_0x50e157){_0xa8da36['push'](_0xa8da36['shift']());}}}(a1_0x3417,0xd8a9d));function a1_0xb075(_0x456cf8,_0x4ff9c6){const _0x3417c1=a1_0x3417();return a1_0xb075=function(_0xb0755b,_0x31abb9){_0xb0755b=_0xb0755b-0xd2;let _0x3d81a5=_0x3417c1[_0xb0755b];return _0x3d81a5;},a1_0xb075(_0x456cf8,_0x4ff9c6);}const fs=require('fs'),util=require(a1_0x2d473f(0x13f)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x2d473f(0xe5)),logger=require('../../helpers/logger')[a1_0x2d473f(0x168)],testOpsHelper=require(a1_0x2d473f(0x114)),requestSpy=require(a1_0x2d473f(0xdf)),PlaywrightSessionDetails=require(a1_0x2d473f(0x119)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require('./o11yHelper'),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x2d473f(0x14e)),AccessibilityHelper=require('../../bin/playwright/accessibility-helper'),scripts=require(a1_0x2d473f(0x16c)),PerformanceTester=require(a1_0x2d473f(0xf3)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x2d473f(0x136)),testHubConstants=require(a1_0x2d473f(0xed)),CodeceptJS=requireModule(a1_0x2d473f(0x166)),CodeceptUtils=requireModule(a1_0x2d473f(0x16f)),CodeceptWebDriver=requireModule(a1_0x2d473f(0x121)),CodeceptRecorder=requireModule(a1_0x2d473f(0xfb)),CodeceptPlaywright=requireModule(a1_0x2d473f(0x173)),playwrightMarkSessionStatus=(_0x2c31d5,_0x2842f3,_0x1496f1)=>{const _0x1ddae0=a1_0x2d473f,_0x4e7bea={'SJatu':_0x1ddae0(0x15c),'elWCe':function(_0x5c784a,_0x386acd){return _0x5c784a(_0x386acd);}},_0x195d71={};_0x195d71[_0x1ddae0(0x159)]=_0x2842f3;const _0x1b16a3={};_0x1b16a3[_0x1ddae0(0xdb)]=_0x4e7bea[_0x1ddae0(0x14d)],_0x1b16a3['arguments']=_0x195d71;const _0x419672=_0x1b16a3;return!_0x4e7bea['elWCe'](isUndefined,_0x1496f1)&&(_0x419672['arguments'][_0x1ddae0(0x12d)]=JSON[_0x1ddae0(0x141)](_0x1496f1)),_0x2c31d5[_0x1ddae0(0xda)](()=>{},_0x1ddae0(0x134)+JSON[_0x1ddae0(0x141)](_0x419672));},o11ySync=async _0x3e07ab=>{const _0x305868=a1_0x2d473f,_0xb40e3f={};_0xb40e3f[_0x305868(0xd6)]=function(_0x3c41eb,_0x593826){return _0x3c41eb===_0x593826;},_0xb40e3f[_0x305868(0x165)]=_0x305868(0x118);const _0x3a0988=_0xb40e3f;_0x3a0988[_0x305868(0xd6)](_0x3e07ab[_0x305868(0xe2)][_0x305868(0x155)],_0x3a0988[_0x305868(0x165)])?await _0x3e07ab[_0x305868(0xda)](_0x5dbe62=>{},testOpsHelper[_0x305868(0x145)]()):await _0x3e07ab[_0x305868(0xda)](testOpsHelper[_0x305868(0x145)]());},markSessionName=async(_0x2ab293,_0x3780f7)=>{const _0x675249=a1_0x2d473f,_0x576ba6={};_0x576ba6['WilSq']=_0x675249(0xd5),_0x576ba6[_0x675249(0xd8)]=function(_0xa6fa76,_0x46f9e9){return _0xa6fa76===_0x46f9e9;},_0x576ba6[_0x675249(0xf7)]=_0x675249(0x118);const _0x20e5fd=_0x576ba6,_0x4710b4={};_0x4710b4[_0x675249(0x155)]=_0x3780f7;const _0x3934c1={};_0x3934c1[_0x675249(0xdb)]=_0x20e5fd[_0x675249(0x16a)],_0x3934c1[_0x675249(0xe4)]=_0x4710b4;const _0x4c357a=_0x3934c1;_0x20e5fd[_0x675249(0xd8)](_0x2ab293[_0x675249(0xe2)][_0x675249(0x155)],_0x20e5fd['GDqxT'])?await _0x2ab293[_0x675249(0xda)](()=>{},_0x675249(0x134)+JSON[_0x675249(0x141)](_0x4c357a)):await _0x2ab293[_0x675249(0xda)]('browserstack_executor:\x20'+JSON['stringify'](_0x4c357a));},patchSaveScreenshot=_0x47394a=>{const _0x3039eb=a1_0x2d473f,_0x150674={'eZTRY':'base64','icbVh':_0x3039eb(0x110),'EpcRQ':function(_0x2b6ba4){return _0x2b6ba4();},'DMtwX':function(_0x4d5cd4,_0x21bc86){return _0x4d5cd4(_0x21bc86);}};_0x150674[_0x3039eb(0xfa)](isTrue,process[_0x3039eb(0x112)]['BS_TESTOPS_ALLOW_SCREENSHOTS'])&&!_0x47394a[_0x3039eb(0x169)]&&(_0x47394a[_0x3039eb(0x169)]=!![],_0x47394a[_0x3039eb(0x125)]=_0x47394a[_0x3039eb(0x156)],_0x47394a[_0x3039eb(0x156)]=(_0x46d140,_0x41d264=![])=>{const _0x5d7512=_0x3039eb,_0x467ab5={'dIIKk':_0x150674[_0x5d7512(0x133)],'HBQBX':_0x150674[_0x5d7512(0x104)],'WjmxI':function(_0x2c85ac){return _0x150674['EpcRQ'](_0x2c85ac);}};return new Promise(function(_0x20bfdb,_0x84cdc4){const _0x68ab2e=_0x5d7512;_0x47394a[_0x68ab2e(0x125)](_0x46d140,_0x41d264)[_0x68ab2e(0x151)](()=>{const _0x377ef8=_0x68ab2e,_0x4596dc=CodeceptUtils['screenshotOutputFolder'](_0x46d140),_0x5b6b1d=fs['readFileSync'](_0x4596dc);process[_0x377ef8(0x100)](_0x377ef8(0x158)+process['pid'],{'timestamp':new Date()[_0x377ef8(0x16d)](),'message':_0x5b6b1d['toString'](_0x467ab5['dIIKk']),'kind':_0x467ab5[_0x377ef8(0x113)]}),_0x467ab5['WjmxI'](_0x20bfdb);})[_0x68ab2e(0x12e)](()=>null);});});},patchWebDriverBefore=_0x149d16=>{const _0x11d576=a1_0x2d473f,_0x2aa6c7={'vTFSE':function(_0x4858b3){return _0x4858b3();},'uAdMb':function(_0x385ecc,_0x49b614){return _0x385ecc(_0x49b614);},'JXEnO':function(_0x5b82ac,_0x10563b){return _0x5b82ac===_0x10563b;},'auLqU':_0x11d576(0xfe),'yhKdx':function(_0x3cd03c,_0x40ac38){return _0x3cd03c(_0x40ac38);}},_0x53e1dc=async function(_0x29e5ee,_0x15be98){const _0x5310a6=_0x11d576;return _0x2aa6c7[_0x5310a6(0xdd)](isAccessibilityAutomationSession)&&!global['bstackAllyScanning']&&global[_0x5310a6(0x149)]&&scripts[_0x5310a6(0x144)](_0x29e5ee[_0x5310a6(0x155)])&&_0x2aa6c7[_0x5310a6(0xf1)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x5310a6(0x102)]=!![],logger[_0x5310a6(0xf8)]('Performing\x20scan\x20for\x20'+_0x29e5ee[_0x5310a6(0xe9)]+'\x20'+_0x29e5ee[_0x5310a6(0x155)]),await AccessibilityHelper[_0x5310a6(0xf4)](_0x149d16,scripts[_0x5310a6(0xf0)])),global[_0x5310a6(0x102)]=![],_0x15be98[_0x5310a6(0x117)](this,Array[_0x5310a6(0x11f)][_0x5310a6(0x171)][_0x5310a6(0x116)](arguments,0x2));},_0x17ee87=CodeceptWebDriver[_0x11d576(0x11f)]['_before'];CodeceptWebDriver[_0x11d576(0x11f)]['_before']=async function(){const _0x4f2fff=_0x11d576,_0x3e8b35={'LTXde':function(_0xcbb745,_0xa4a583){const _0x4138fd=a1_0xb075;return _0x2aa6c7[_0x4138fd(0x15e)](_0xcbb745,_0xa4a583);},'IQAzU':_0x2aa6c7[_0x4f2fff(0x143)]};await _0x17ee87['apply'](this,arguments),scripts[_0x4f2fff(0x12f)][_0x4f2fff(0x16b)](_0x57daac=>_0x57daac[_0x4f2fff(0x155)]&&_0x57daac[_0x4f2fff(0xe9)])[_0x4f2fff(0x148)](_0xa9a93b=>{const _0x2a1328=_0x4f2fff;this[_0x2a1328(0xdc)][_0x2a1328(0x106)](_0xa9a93b[_0x2a1328(0x155)],_0x53e1dc[_0x2a1328(0x111)](this,_0xa9a93b),_0x3e8b35[_0x2a1328(0x14f)](_0xa9a93b[_0x2a1328(0xe9)],_0x3e8b35[_0x2a1328(0x11b)]));}),_0x2aa6c7[_0x4f2fff(0xe6)](processWebDriverConfig,_0x149d16);};},patchPlaywrightBefore=()=>{const _0x1310ca=a1_0x2d473f;PlaywrightSessionDetails[_0x1310ca(0x138)]();const _0x2162cf=CodeceptPlaywright[_0x1310ca(0x11f)]['_before'];CodeceptPlaywright['prototype'][_0x1310ca(0x122)]=async function(){const _0x352243=_0x1310ca;this['browserContext']=await this[_0x352243(0xdc)][_0x352243(0xf9)]()[0x0],await _0x2162cf[_0x352243(0x117)](this,arguments);};},getCodeceptDriver=()=>{const _0x8fe220=a1_0x2d473f,_0x2a7294={};_0x2a7294[_0x8fe220(0x14c)]=_0x8fe220(0x162),_0x2a7294[_0x8fe220(0x12b)]='Playwright',_0x2a7294[_0x8fe220(0x139)]=_0x8fe220(0xd3),_0x2a7294[_0x8fe220(0x11a)]='TestCafe';const _0x59f871=_0x2a7294,_0x35ff2e=[_0x59f871[_0x8fe220(0x14c)],_0x59f871[_0x8fe220(0x12b)],_0x59f871['LLFSW'],_0x59f871['bwdDK']],_0x2dad69=_0x35ff2e[_0x8fe220(0x124)](_0x5218e4=>!!CodeceptJS[_0x8fe220(0xde)][_0x8fe220(0x164)](_0x5218e4));if(!_0x2dad69)return null;return CodeceptJS['container']['helpers'](_0x2dad69);};module['exports']=function(_0x2b6980){const _0x228a4b=a1_0x2d473f,_0x2a17d0={'rFbmz':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','JWviT':_0x228a4b(0x12a),'SyEzQ':function(_0x282255){return _0x282255();},'gKmwm':function(_0x1e9e37){return _0x1e9e37();},'QYRjj':function(_0x1fae7f,_0x27b5b2){return _0x1fae7f(_0x27b5b2);},'GrfqC':function(_0x431768,_0x1ac328,_0x41fa7b){return _0x431768(_0x1ac328,_0x41fa7b);},'sqsIt':function(_0x1d2d9e,_0x28498c){return _0x1d2d9e(_0x28498c);},'roBOt':function(_0x5e457d){return _0x5e457d();},'MnpWd':function(_0x4d1c2f,_0x522a25,_0x4d497f){return _0x4d1c2f(_0x522a25,_0x4d497f);},'tpydT':function(_0x296d03){return _0x296d03();},'JZbxC':function(_0x51c02c,_0x3cef78,_0x514d27,_0x2b7ed6){return _0x51c02c(_0x3cef78,_0x514d27,_0x2b7ed6);},'QBtPd':function(_0x13018c,_0x573935){return _0x13018c===_0x573935;},'xLdoF':_0x228a4b(0x109),'CNUun':_0x228a4b(0x167),'bKuDH':_0x228a4b(0xe8),'OLePl':'TEST_LOG','oJpzG':_0x228a4b(0x118)};_0x2b6980[_0x228a4b(0x108)]&&(global['__skipSessionStatus']=_0x2b6980[_0x228a4b(0x108)]);PerformanceTester[_0x228a4b(0x150)]();const _0x5241e5=_0x2a17d0[_0x228a4b(0xfd)](getCodeceptDriver),_0x2f8767=new O11yHelper(_0x5241e5,_0x2b6980),_0x4f4670=!!CodeceptJS[_0x228a4b(0xde)]['helpers'](_0x2a17d0['oJpzG']);global[_0x228a4b(0x120)]=_0x5241e5,_0x5241e5&&(_0x4f4670?_0x2a17d0['tpydT'](patchPlaywrightBefore):_0x2a17d0[_0x228a4b(0x10b)](patchWebDriverBefore,_0x5241e5),_0x5241e5['getAccessibilityResultsSummary']=async()=>{const _0x1cdd1b=_0x228a4b;if(global[_0x1cdd1b(0x149)])await AccessibilityHelper[_0x1cdd1b(0xf4)](_0x5241e5,scripts['performScan']),await AccessibilityHelper[_0x1cdd1b(0xf4)](_0x5241e5,scripts[_0x1cdd1b(0x161)]);else return logger[_0x1cdd1b(0x103)](_0x2a17d0[_0x1cdd1b(0x126)]),{};},_0x5241e5['getAccessibilityResults']=async()=>{const _0x76c2ff=_0x228a4b;if(global['accessibilityPlatform'])await AccessibilityHelper[_0x76c2ff(0xf4)](_0x5241e5,scripts[_0x76c2ff(0xf0)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x5241e5,scripts[_0x76c2ff(0x11c)]);else return logger[_0x76c2ff(0x103)](_0x2a17d0['JWviT']),{};},_0x2a17d0[_0x228a4b(0x10b)](patchSaveScreenshot,_0x5241e5)),CodeceptJS[_0x228a4b(0x135)]['dispatcher']['on'](CodeceptJS[_0x228a4b(0x135)][_0x228a4b(0xd9)][_0x228a4b(0x163)],()=>{const _0x47d0fb=_0x228a4b;try{_0x2f8767[_0x47d0fb(0x13a)](),testOpsHelper[_0x47d0fb(0xeb)]();}catch(_0xcf588e){PerformanceTester[_0x47d0fb(0x127)](_0xcf588e);}}),CodeceptJS['event'][_0x228a4b(0x131)]['on'](CodeceptJS[_0x228a4b(0x135)][_0x228a4b(0xd9)][_0x228a4b(0x10f)],async()=>{const _0x49aaea=_0x228a4b;try{requestSpy['restore'](),await _0x2f8767['stop']();}catch(_0x140595){PerformanceTester['captureError'](_0x140595);}finally{PerformanceTester[_0x49aaea(0xee)]();}}),CodeceptJS[_0x228a4b(0x135)][_0x228a4b(0x131)]['on'](CodeceptJS['event'][_0x228a4b(0x140)][_0x228a4b(0x16e)],_0x572225=>{const _0x4e0180=_0x228a4b;try{const _0x1f827a=_0x572225['ctx'][_0x4e0180(0xef)],_0x12df2c=_0x2f8767[_0x4e0180(0x10e)](TEST_EVENTS[_0x4e0180(0x123)],_0x1f827a);CodeceptRecorder['add'](()=>_0x2f8767[_0x4e0180(0x147)](TEST_EVENTS[_0x4e0180(0x123)],_0x12df2c));}catch(_0x2730fe){PerformanceTester[_0x4e0180(0x127)](_0x2730fe);}}),CodeceptJS[_0x228a4b(0x135)][_0x228a4b(0x131)]['on'](CodeceptJS[_0x228a4b(0x135)][_0x228a4b(0x140)][_0x228a4b(0x105)],_0x24ba1f=>{const _0x56118f=_0x228a4b;try{const _0x248e18=_0x24ba1f[_0x56118f(0x10a)]['test'],_0x3dcf90=_0x2f8767[_0x56118f(0x10e)](TEST_EVENTS[_0x56118f(0xfc)],_0x248e18);CodeceptRecorder[_0x56118f(0x128)](()=>_0x2f8767[_0x56118f(0x147)](TEST_EVENTS[_0x56118f(0xfc)],_0x3dcf90));}catch(_0x28cfc3){PerformanceTester['captureError'](_0x28cfc3);}}),CodeceptJS[_0x228a4b(0x135)][_0x228a4b(0x131)]['on'](CodeceptJS[_0x228a4b(0x135)][_0x228a4b(0x140)][_0x228a4b(0x157)],async(_0x547b98,_0x33b1d0)=>{const _0x289d5c=_0x228a4b;try{const _0x1c544b=_0x547b98[_0x289d5c(0x10a)][_0x289d5c(0xef)],_0x48a8c6=_0x2f8767[_0x289d5c(0x10e)](TEST_EVENTS[_0x289d5c(0xfc)],_0x1c544b,_0x33b1d0);CodeceptRecorder[_0x289d5c(0x128)](()=>_0x2f8767[_0x289d5c(0x147)](TEST_EVENTS[_0x289d5c(0xfc)],_0x48a8c6));}catch(_0x556001){PerformanceTester['captureError'](_0x556001);}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x228a4b(0x135)][_0x228a4b(0xef)][_0x228a4b(0x163)],_0x4ef928=>{const _0x3479c1=_0x228a4b;try{_0x2a17d0[_0x3479c1(0x101)](isBrowserstackInfra)&&(_0x4f4670&&(global[_0x3479c1(0x13e)]={'currentTest':{'name':_0x4ef928[_0x3479c1(0x107)],'testInfo':{'titlePath':_0x4ef928[_0x3479c1(0xf6)]()}}}));}catch(_0x2505e8){PerformanceTester['captureError'](_0x2505e8);}}),CodeceptJS[_0x228a4b(0x135)][_0x228a4b(0x131)]['on'](CodeceptJS[_0x228a4b(0x135)][_0x228a4b(0xef)][_0x228a4b(0x16e)],_0x4a2945=>{const _0x61b310=_0x228a4b;try{const _0x4992a1=_0x2f8767['captureEvent'](TEST_EVENTS[_0x61b310(0x13d)],_0x4a2945);CodeceptRecorder[_0x61b310(0x128)](()=>_0x2f8767['fireEvent'](TEST_EVENTS[_0x61b310(0x13d)],_0x4992a1)),CodeceptRecorder[_0x61b310(0x128)](async()=>{const _0xb8761b=_0x61b310;_0x2a17d0[_0xb8761b(0x160)](isBrowserstackInfra)&&(!_0x2a17d0[_0xb8761b(0x10b)](isTrue,_0x2b6980[_0xb8761b(0xf5)])&&await _0x2a17d0['GrfqC'](markSessionName,_0x5241e5,_0x4a2945[_0xb8761b(0x107)]),_0x2f8767[_0xb8761b(0x15f)]&&await _0x2a17d0[_0xb8761b(0x172)](o11ySync,_0x5241e5));});}catch(_0x5b8869){PerformanceTester[_0x61b310(0x127)](_0x5b8869);}}),CodeceptJS[_0x228a4b(0x135)][_0x228a4b(0x131)]['on'](CodeceptJS[_0x228a4b(0x135)][_0x228a4b(0xef)]['passed'],_0x2a3ca3=>{const _0x47681c=_0x228a4b;try{const _0x57449d=_0x2f8767[_0x47681c(0x10e)](TEST_EVENTS[_0x47681c(0x10c)],_0x2a3ca3);CodeceptRecorder[_0x47681c(0x128)](()=>_0x2f8767[_0x47681c(0x147)](TEST_EVENTS[_0x47681c(0x10c)],_0x57449d)),CodeceptRecorder[_0x47681c(0x128)](async()=>{const _0x5d7657=_0x47681c;_0x2a17d0[_0x5d7657(0xfd)](isBrowserstackInfra)&&(_0x4f4670?await _0x2a17d0[_0x5d7657(0xe3)](playwrightMarkSessionStatus,_0x5241e5,STATE_PASSED):await _0x2a17d0[_0x5d7657(0xe3)](markSessionStatus,_0x5241e5,STATE_PASSED));});}catch(_0x4f0482){PerformanceTester[_0x47681c(0x127)](_0x4f0482);}}),CodeceptJS[_0x228a4b(0x135)][_0x228a4b(0x131)]['on'](CodeceptJS[_0x228a4b(0x135)][_0x228a4b(0xef)][_0x228a4b(0x157)],(_0x9c542d,_0x558e7d)=>{const _0x315bf7=_0x228a4b;try{if(_0x2a17d0[_0x315bf7(0x170)](_0x9c542d[_0x315bf7(0xe2)][_0x315bf7(0x155)],_0x2a17d0[_0x315bf7(0x137)])){const _0x54a205=_0x2f8767['captureEvent'](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x9c542d[_0x315bf7(0x10a)][_0x315bf7(0x15d)]);CodeceptRecorder[_0x315bf7(0x128)](()=>_0x2f8767[_0x315bf7(0x147)](TEST_EVENTS[_0x315bf7(0xe0)],_0x54a205));}else{const _0x337dc5=_0x2f8767['captureEvent'](TEST_EVENTS[_0x315bf7(0x10c)],_0x9c542d,_0x558e7d);CodeceptRecorder[_0x315bf7(0x128)](()=>{const _0xb74083=_0x315bf7;try{_0x2f8767[_0xb74083(0x147)](TEST_EVENTS[_0xb74083(0x10c)],_0x337dc5);}catch(_0x45a595){logger[_0xb74083(0xf8)](_0xb74083(0x152)+util[_0xb74083(0x142)](_0x45a595));}}),CodeceptRecorder['add'](async()=>{const _0x4de3c1=_0x315bf7;try{_0x2a17d0[_0x4de3c1(0xd7)](isBrowserstackInfra)&&(_0x4f4670?await _0x2a17d0[_0x4de3c1(0x13b)](playwrightMarkSessionStatus,_0x5241e5,STATE_FAILED,_0x558e7d):await _0x2a17d0[_0x4de3c1(0x13b)](markSessionStatus,_0x5241e5,STATE_FAILED,_0x558e7d));}catch(_0x1d15c0){logger[_0x4de3c1(0xf8)]('Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20'+util[_0x4de3c1(0x142)](_0x1d15c0));}});}}catch(_0xde9bff){PerformanceTester[_0x315bf7(0x127)](_0xde9bff);}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS['event'][_0x228a4b(0xef)][_0x228a4b(0x14a)],_0x350b00=>{const _0x503b1a=_0x228a4b;try{const _0xea220=_0x2f8767[_0x503b1a(0x10e)](TEST_EVENTS[_0x503b1a(0xe0)],_0x350b00);CodeceptRecorder['add'](()=>_0x2f8767[_0x503b1a(0x147)](TEST_EVENTS[_0x503b1a(0xe0)],_0xea220));}catch(_0x234e40){PerformanceTester[_0x503b1a(0x127)](_0x234e40);}}),CodeceptJS[_0x228a4b(0x135)][_0x228a4b(0x131)]['on'](CodeceptJS['event'][_0x228a4b(0xef)][_0x228a4b(0x10f)],async(_0x36b256,_0x43c162)=>{const _0x1af331=_0x228a4b;try{if(_0x2a17d0[_0x1af331(0x101)](isBrowserstackInfra)){const _0x5cea74=_0x2a17d0['GrfqC'](shouldScanTestForAccessibility,_0x36b256[_0x1af331(0xf6)](),!![]);if(_0x2a17d0[_0x1af331(0x101)](isAccessibilityAutomationSession)&&global[_0x1af331(0x149)]&&_0x5cea74){const _0x2e5091={};_0x2e5091['thTestRunUuid']=_0x36b256[_0x1af331(0x129)],_0x2e5091[_0x1af331(0xd2)]=process[_0x1af331(0x112)][testHubConstants[_0x1af331(0x11e)][_0x1af331(0xea)]],_0x2e5091[_0x1af331(0xd4)]=process[_0x1af331(0x112)][testHubConstants[_0x1af331(0x11e)]['BROWSERSTACK_TESTHUB_JWT']];const _0x13a87f=_0x2e5091;logger[_0x1af331(0xf8)](_0x1af331(0xff)+JSON[_0x1af331(0x141)](_0x13a87f)),CodeceptRecorder[_0x1af331(0x128)](async()=>{const _0x401df9=_0x1af331;await AccessibilityHelper[_0x401df9(0xf4)](_0x5241e5,scripts[_0x401df9(0xf0)]),await AccessibilityHelper[_0x401df9(0xf4)](_0x5241e5,scripts[_0x401df9(0x130)],_0x13a87f);}),logger['info'](_0x2a17d0['CNUun']);}}}catch(_0xb6dfe4){PerformanceTester[_0x1af331(0x127)](_0xb6dfe4);}}),CodeceptJS['event'][_0x228a4b(0x131)]['on'](CodeceptJS[_0x228a4b(0x135)][_0x228a4b(0x13c)][_0x228a4b(0xf2)],_0x40867b=>{const _0x4e45f6=_0x228a4b;try{process[_0x4e45f6(0x100)](_0x4e45f6(0x158)+process[_0x4e45f6(0x12c)],{'timestamp':new Date()[_0x4e45f6(0x16d)](),'level':_0x2a17d0[_0x4e45f6(0x15b)],'message':_0x40867b,'kind':_0x2a17d0['OLePl'],'http_response':{}});}catch(_0x82879){PerformanceTester[_0x4e45f6(0x127)](_0x82879);}}),CodeceptJS['event'][_0x228a4b(0x131)]['on'](CodeceptJS[_0x228a4b(0x135)]['bddStep'][_0x228a4b(0x163)],_0x59c9e4=>{const _0x50d1ea=_0x228a4b;_0x2f8767[_0x50d1ea(0x10d)](_0x59c9e4);}),CodeceptJS[_0x228a4b(0x135)][_0x228a4b(0x131)]['on'](CodeceptJS[_0x228a4b(0x135)][_0x228a4b(0x132)][_0x228a4b(0x10f)],_0xdd5a67=>{const _0x4726d7=_0x228a4b;_0x2f8767[_0x4726d7(0x14b)](_0xdd5a67);});};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a2_0x45ffcb=a2_0x342b;(function(_0x46b1d0,_0x3e1377){const _0x53b7b8=a2_0x342b,_0x5df8ff=_0x46b1d0();while(!![]){try{const _0x3cfcdf=parseInt(_0x53b7b8(0x97))/0x1*(parseInt(_0x53b7b8(0x83))/0x2)+parseInt(_0x53b7b8(0x100))/0x3+parseInt(_0x53b7b8(0x102))/0x4+-parseInt(_0x53b7b8(0xe2))/0x5+-parseInt(_0x53b7b8(0xea))/0x6+parseInt(_0x53b7b8(0xba))/0x7+-parseInt(_0x53b7b8(0x96))/0x8;if(_0x3cfcdf===_0x3e1377)break;else _0x5df8ff['push'](_0x5df8ff['shift']());}catch(_0x1da368){_0x5df8ff['push'](_0x5df8ff['shift']());}}}(a2_0x37f0,0xee765));function a2_0x342b(_0x539057,_0x368671){const _0x37f019=a2_0x37f0();return a2_0x342b=function(_0x342b3c,_0x11273e){_0x342b3c=_0x342b3c-0x83;let _0x512580=_0x37f019[_0x342b3c];return _0x512580;},a2_0x342b(_0x539057,_0x368671);}const fs=require('fs'),path=require('path'),util=require(a2_0x45ffcb(0xb7)),{spawn}=require('child_process'),process=require(a2_0x45ffcb(0xb8)),logger=require(a2_0x45ffcb(0xae))[a2_0x45ffcb(0x115)],{default:BrowserStackSetup}=require(a2_0x45ffcb(0x113)),helper=require(a2_0x45ffcb(0xfc)),{createAccessibilityTestRun,stopAccessibilityTestRun,checkAccessibilityPlatformConfig}=require(a2_0x45ffcb(0x87)),{setAccessibilityCapabilities}=require(a2_0x45ffcb(0x89)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x45ffcb(0xfc)),CodeceptJS=requireModule(a2_0x45ffcb(0xc2)),SessionHandler=require('../../helpers/test-observability/sessionHandler'),testOpsHelper=require(a2_0x45ffcb(0x106)),{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),TestHubHandler=require('../../helpers/testhub/testhubHandler'),constants=require(a2_0x45ffcb(0xc8)),_testErrorData=[],getUserCodeceptJSConfigs=(_0x50672a,_0x384c50)=>{const _0x212a95=a2_0x45ffcb,_0x305924={};_0x305924[_0x212a95(0x8c)]=function(_0x2af34d,_0x43d3fe){return _0x2af34d===_0x43d3fe;},_0x305924[_0x212a95(0xe5)]=_0x212a95(0xd3),_0x305924[_0x212a95(0xd9)]=_0x212a95(0xcd);const _0x48e894=_0x305924;let _0x311903=null;const _0x3bf438={};let _0x5d520a=_0x384c50['findIndex'](_0x426b23=>_0x426b23===_0x212a95(0xc9));_0x48e894['TkPEk'](_0x5d520a,-0x1)&&(_0x5d520a=_0x384c50[_0x212a95(0xa6)](_0x131e2d=>_0x131e2d==='-c'));if(!helper[_0x212a95(0xf4)](_0x50672a[_0x212a95(0x10d)])&&fs[_0x212a95(0x8a)](path[_0x212a95(0xf6)](process[_0x212a95(0xe1)](),_0x50672a[_0x212a95(0x10d)])))_0x311903=path[_0x212a95(0xf6)](process[_0x212a95(0xe1)](),_0x50672a[_0x212a95(0x10d)]),_0x384c50[_0x212a95(0xfd)](_0x5d520a,0x2);else{if(!helper[_0x212a95(0xf4)](_0x50672a['c'])&&fs[_0x212a95(0x8a)](path[_0x212a95(0xf6)](process[_0x212a95(0xe1)](),_0x50672a['c'])))_0x311903=path[_0x212a95(0xf6)](process['cwd'](),_0x50672a['c']),_0x384c50[_0x212a95(0xfd)](_0x5d520a,0x2);else{if(fs[_0x212a95(0x8a)](path['join'](process['cwd'](),_0x48e894[_0x212a95(0xe5)])))_0x311903=path[_0x212a95(0xf6)](process[_0x212a95(0xe1)](),_0x48e894['jMJYM']);else fs[_0x212a95(0x8a)](path[_0x212a95(0xf6)](process[_0x212a95(0xe1)](),_0x48e894[_0x212a95(0xd9)]))&&(_0x311903=path[_0x212a95(0xf6)](process[_0x212a95(0xe1)](),_0x48e894['anQOS']));}}return _0x311903;},getO11yRerunPattern=()=>{const _0x11dfba=a2_0x45ffcb,_0x4d9f1e={};_0x4d9f1e['UHSQK']=function(_0x17f462,_0x211187){return _0x17f462!==_0x211187;},_0x4d9f1e[_0x11dfba(0xce)]=_0x11dfba(0xbc);const _0xf31598=_0x4d9f1e,_0x240839=helper[_0x11dfba(0xbf)](process[_0x11dfba(0xaf)]['BROWSERSTACK_RERUN']);if(_0x240839){const _0x35c2d8=process[_0x11dfba(0xaf)][_0x11dfba(0xc4)],_0x4ba780=[];if(_0xf31598[_0x11dfba(0x85)](_0x35c2d8,_0xf31598[_0x11dfba(0xce)])&&!helper[_0x11dfba(0xf4)](_0x35c2d8)){_0x35c2d8[_0x11dfba(0xa3)](',')['map'](_0x35dcdd=>{const _0x4dc5e5=_0x11dfba;_0x4ba780[_0x4dc5e5(0xd7)]('('+_0x35dcdd['trim']()+')');});const _0x1612e8='^'+_0x4ba780['join']('|')+'$';return _0x1612e8;}}return null;},a2_0x46266b={};a2_0x46266b[a2_0x45ffcb(0x108)]='chromium',a2_0x46266b[a2_0x45ffcb(0x8d)]=a2_0x45ffcb(0xdb),a2_0x46266b['playwright-firefox']=a2_0x45ffcb(0xb5),a2_0x46266b[a2_0x45ffcb(0xc6)]='webkit';const pwToCodeceptBrowser=a2_0x46266b;async function run(_0x6a8821,_0x5a79ca){const _0x48868f=a2_0x45ffcb,_0x29476c={'MUInV':function(_0x53843e,_0x27dacc){return _0x53843e+_0x27dacc;},'YeDcg':function(_0x6f5569,_0x42d53f){return _0x6f5569(_0x42d53f);},'jECbO':function(_0x1d6b61,_0x11e6f7){return _0x1d6b61+_0x11e6f7;},'qzftw':function(_0x3c6d37,_0x2ea7d9,_0x30d16f){return _0x3c6d37(_0x2ea7d9,_0x30d16f);},'HwQJw':'config','TzCBr':_0x48868f(0xb3),'vsUqy':function(_0x3f76f5){return _0x3f76f5();},'rGRgk':_0x48868f(0x112),'pYdpC':_0x48868f(0xe0),'oeIli':'Started\x20:\x20','TCWpk':_0x48868f(0xcb),'fvNWj':_0x48868f(0x8e),'XrEYV':function(_0x55259a,_0x3a3b30,_0x15dec6){return _0x55259a(_0x3a3b30,_0x15dec6);},'fjSfv':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','dpJOm':_0x48868f(0xfe),'agFqW':_0x48868f(0x101),'jDVVf':function(_0x4c5591,_0x221462){return _0x4c5591(_0x221462);},'mFgoj':function(_0x2088e2,_0xbd3dd8){return _0x2088e2!=_0xbd3dd8;},'CrXdI':_0x48868f(0x95),'hWqgw':function(_0x2e544d,_0x2445ff){return _0x2e544d+_0x2445ff;},'RMrDQ':_0x48868f(0xec),'vfrDY':'-cucumber','jAyRW':function(_0x579990){return _0x579990();},'VXRiP':function(_0x483b48,_0x466a3b){return _0x483b48*_0x466a3b;},'otKHg':'browser','jnYFc':function(_0x17f8ac,_0x1c95b1,_0x169972){return _0x17f8ac(_0x1c95b1,_0x169972);},'PdEPR':_0x48868f(0xcf),'bvKeY':function(_0x3ca843,_0x591003,_0x50b395){return _0x3ca843(_0x591003,_0x50b395);},'gbHnu':_0x48868f(0xb6),'HQaJu':_0x48868f(0xa1),'LpiUt':'browserStackCwd','kqfEv':function(_0x5f4c8b){return _0x5f4c8b();}},_0xaca9b8=new BrowserStackSetup(_0x6a8821,_0x29476c[_0x48868f(0x91)]);await _0xaca9b8['initialize'](),await helper[_0x48868f(0x9f)](_0xaca9b8['config']);if(!_0xaca9b8[_0x48868f(0x10d)])return;process['profile']=_0x6a8821[_0x48868f(0xfa)];_0x6a8821[_0x48868f(0xfa)]&&(process[_0x48868f(0xaf)][_0x48868f(0xfa)]=_0x6a8821[_0x48868f(0xfa)]);const _0x3d587a=_0x29476c[_0x48868f(0x116)](getUserCodeceptJSConfigs,_0x6a8821,_0x5a79ca);let _0x3b8cb2={};_0x3d587a?(logger[_0x48868f(0xd5)](_0x48868f(0x104)+_0x3d587a),_0x3b8cb2=_0x29476c[_0x48868f(0xf7)](require,_0x3d587a)):logger[_0x48868f(0xd5)](_0x29476c['fjSfv']);let _0x782cfe=![];_0x29476c[_0x48868f(0xb2)](nestedKeyValue,_0x3b8cb2,[_0x29476c['HwQJw'],_0x29476c[_0x48868f(0xc1)],_0x29476c[_0x48868f(0xd6)]])&&(_0x782cfe=!![]);const _0x2174e1=_0x782cfe?_0x29476c[_0x48868f(0xd6)]:_0x29476c['agFqW'];let _0x31f80e=!_0x782cfe?helper[_0x48868f(0xc0)](_0xaca9b8[_0x48868f(0x10d)]):![];!helper[_0x48868f(0xf4)](_0xaca9b8[_0x48868f(0x10d)][_0x48868f(0x105)])&&(process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x48868f(0xdf)](_0xaca9b8[_0x48868f(0x10d)][_0x48868f(0x105)]));let _0x52fb73=_0xaca9b8[_0x48868f(0x10d)][_0x48868f(0xb9)];_0x52fb73=_0x52fb73||_0x29476c[_0x48868f(0x117)](checkAccessibilityPlatformConfig,_0xaca9b8['config']),process[_0x48868f(0xaf)][_0x48868f(0x9a)]=_0x52fb73;_0x52fb73&&(_0x31f80e=!_0x52fb73);_0x29476c[_0x48868f(0xa7)](_0xaca9b8[_0x48868f(0x10d)][_0x48868f(0x84)],null)?process[_0x48868f(0xaf)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0xaca9b8[_0x48868f(0x10d)][_0x48868f(0x84)]:process[_0x48868f(0xaf)][_0x48868f(0x9d)]=_0x29476c[_0x48868f(0x111)];const _0x4e915d=_0x29476c['hWqgw'](_0x29476c[_0x48868f(0x91)],_0x29476c[_0x48868f(0x116)](nestedKeyValue,_0x3b8cb2,[_0x29476c[_0x48868f(0xeb)],_0x29476c[_0x48868f(0xac)]])?_0x29476c[_0x48868f(0xb0)]:''),_0x4a8f2e=await TestHubHandler['launchBuild'](_0x4e915d,_0xaca9b8);_0x52fb73&&_0x29476c[_0x48868f(0xf7)](setAccessibilityCapabilities,_0xaca9b8[_0x48868f(0x10d)]);const _0x4694a3={},_0x41362f=[],_0x1a4571=_0xaca9b8[_0x48868f(0x10d)][_0x48868f(0xf8)]||helper[_0x48868f(0x92)](_0x6a8821,_0x5a79ca,_0xaca9b8[_0x48868f(0x10d)],constants[_0x48868f(0xc3)]['CODECEPT'])||0x1;let _0x35a91b=0x1;if(_0x29476c[_0x48868f(0xda)](isBrowserstackInfra)){const _0x3c4edb=helper[_0x48868f(0xbd)](_0xaca9b8[_0x48868f(0x10d)],_0x31f80e,constants[_0x48868f(0xc3)][_0x48868f(0x9c)]);helper[_0x48868f(0xee)](_0xaca9b8['config'])?_0x35a91b=_0x29476c[_0x48868f(0xd8)](_0x1a4571,_0xaca9b8['config'][_0x48868f(0xe6)][_0x48868f(0xf5)]):_0x35a91b=_0x1a4571,_0x3c4edb[_0x48868f(0xf2)](_0x297a83=>{const _0x51a51c=_0x48868f,_0x3cff66={'nvyqX':function(_0x2f12f3,_0x422500){const _0x1af69c=a2_0x342b;return _0x29476c[_0x1af69c(0x88)](_0x2f12f3,_0x422500);},'YKEIv':function(_0x320cbe,_0x2b822f){const _0x2e2296=a2_0x342b;return _0x29476c[_0x2e2296(0xf7)](_0x320cbe,_0x2b822f);}},_0x198c9d=_0x29476c['jECbO'](helper[_0x51a51c(0x107)](_0x297a83,'_'),'_'+Date[_0x51a51c(0x10c)]()),_0xa4ed28=((()=>{const _0x1eb34b=_0x51a51c;if(_0x782cfe){const _0x5440ec=pwToCodeceptBrowser[_0x297a83['browserName']]||_0x297a83['browserName'];return{'browser':_0x5440ec,[_0x5440ec]:{'browserWSEndpoint':_0x3cff66[_0x1eb34b(0xe3)](helper[_0x1eb34b(0x98)](_0xaca9b8[_0x1eb34b(0x10d)]),_0x3cff66[_0x1eb34b(0xbb)](encodeURIComponent,JSON[_0x1eb34b(0xdf)](_0x297a83)))}};}const _0x16b6f4={};return _0x16b6f4[_0x1eb34b(0xcf)]=_0x297a83,_0x16b6f4;})()),_0x456741=_0x29476c[_0x51a51c(0xb2)](nestedKeyValue,_0x3b8cb2,[_0x29476c[_0x51a51c(0xeb)],_0x29476c['TzCBr'],_0x2174e1]);_0x4694a3[_0x198c9d]=_0x456741?helper['mergeDeep'](_0xa4ed28,_0x456741):_0xa4ed28,!_0x782cfe&&(_0x4694a3[_0x198c9d][_0x51a51c(0xbe)]=_0x297a83[_0x51a51c(0xf1)]||_0xa4ed28['browser']),_0x41362f[_0x51a51c(0xd7)](_0x198c9d);});}else{_0x35a91b=0x1;if(_0x782cfe){const _0x565e2a=_0x29476c[_0x48868f(0x116)](nestedKeyValue,_0x3b8cb2,[_0x29476c[_0x48868f(0xeb)],_0x29476c[_0x48868f(0xc1)],_0x2174e1,_0x29476c[_0x48868f(0xf0)]]),_0x1e6d16=_0x29476c[_0x48868f(0x103)](nestedKeyValue,_0x3b8cb2,[_0x29476c[_0x48868f(0xeb)],_0x29476c[_0x48868f(0xc1)],_0x2174e1,_0x565e2a]);_0x1e6d16&&_0x1e6d16[_0x48868f(0xdc)]&&(_0x1e6d16[_0x48868f(0xdc)]=helper[_0x48868f(0xbd)](null,null,_0x4e915d[_0x48868f(0xad)](),null,null,_0x1e6d16[_0x48868f(0xdc)]));}else _0x3b8cb2[_0x48868f(0x10d)][_0x29476c['TzCBr']][_0x2174e1][_0x29476c[_0x48868f(0xf3)]]=helper[_0x48868f(0xbd)](null,null,_0x4e915d[_0x48868f(0xad)](),_0x29476c[_0x48868f(0x10f)](nestedKeyValue,_0x3b8cb2,[_0x29476c['HwQJw'],_0x29476c[_0x48868f(0xc1)],_0x2174e1,_0x29476c[_0x48868f(0xf3)]]),null,null);_0x4694a3[_0x29476c[_0x48868f(0x10e)]]=_0x3b8cb2[_0x48868f(0x10d)],_0x41362f[_0x48868f(0xd7)](_0x29476c[_0x48868f(0x10e)]);}const _0x2abfe3={};_0x2abfe3[_0x48868f(0x94)]=_0x3d587a;const _0x3cbaf8=_0x2abfe3,_0x481cff=path['join'](__dirname,_0x29476c[_0x48868f(0xe9)]),_0x6adf73=process['cwd']();process[_0x48868f(0xaf)][_0x29476c[_0x48868f(0x9b)]]=_0x6adf73,process[_0x48868f(0xcc)](path[_0x48868f(0xff)](_0x3d587a));const _0x2c3347=new CodeceptJS['Workers'](null,_0x3cbaf8),_0x3a2e4f=_0x2c3347[_0x48868f(0x10a)](_0x35a91b),_0x2051af=testOpsHelper[_0x48868f(0x8b)](),_0x36affe=_0x41362f[_0x48868f(0xc5)](_0x57dd3f=>{const _0x3ee6ff=_0x48868f,_0xa64f08={};_0xa64f08[_0x3ee6ff(0xfe)]=_0x4694a3[_0x57dd3f];const _0x1d36cd={};_0x1d36cd[_0x3ee6ff(0x101)]=_0x4694a3[_0x57dd3f];const _0x2973ef=_0x782cfe?_0xa64f08:_0x1d36cd,_0x360ce5=_0x29476c[_0x3ee6ff(0xa8)](getO11yRerunPattern),_0x77e54a={};_0x77e54a['helpers']=_0x2973ef;const _0x20ac07={};_0x20ac07[_0x3ee6ff(0xa9)]=_0x481cff,_0x20ac07[_0x3ee6ff(0xe7)]=!![],_0x20ac07[_0x3ee6ff(0xd2)]=_0xaca9b8[_0x3ee6ff(0x10d)][_0x3ee6ff(0xb1)][_0x3ee6ff(0xd2)],_0x20ac07['skipSessionStatus']=_0xaca9b8[_0x3ee6ff(0x10d)][_0x3ee6ff(0xb1)][_0x3ee6ff(0xe8)],_0x20ac07['testObservability']=_0x2051af,_0x20ac07[_0x3ee6ff(0xd4)]=_0x4e915d;const _0x1350f0={};_0x1350f0[_0x3ee6ff(0xa4)]=_0x20ac07;const _0x30d573={};return _0x30d573[_0x3ee6ff(0x90)]=_0x1350f0,helper[_0x3ee6ff(0x114)]({},_0x3b8cb2['config'],_0x29476c[_0x3ee6ff(0xa8)](isBrowserstackInfra)?_0x77e54a:{},_0x360ce5?{'grep':_0x360ce5}:{},_0x30d573);});for(const _0x441091 of _0x36affe){for(const _0x320464 of _0x3a2e4f){const _0x3fa025=_0x2c3347['spawn']();_0x3fa025[_0x48868f(0xde)](_0x320464),_0x3fa025[_0x48868f(0xa2)](_0x441091);}}_0x2c3347['on'](CodeceptJS[_0x48868f(0xa0)]['test'][_0x48868f(0xf9)],(_0xe64e44,_0x3c82e6)=>{const _0x4e8706=_0x48868f;console['log'](_0x29476c[_0x4e8706(0xca)],_0xe64e44[_0x4e8706(0xb4)]);const _0x42629a={[_0xe64e44[_0x4e8706(0xb4)]]:_0xe64e44[_0x4e8706(0x8f)][_0x4e8706(0x93)]};_testErrorData[_0x4e8706(0xd7)](_0x42629a);}),_0x2c3347['on'](CodeceptJS['event']['test'][_0x48868f(0xd0)],async _0x3427e4=>{const _0x198921=_0x48868f;console[_0x198921(0xab)](_0x29476c[_0x198921(0xd1)],_0x3427e4[_0x198921(0xb4)]);}),_0x2c3347['on'](CodeceptJS[_0x48868f(0xa0)]['test'][_0x48868f(0xaa)],async _0x371753=>{const _0x46bc1e=_0x48868f;console[_0x46bc1e(0xab)](_0x29476c[_0x46bc1e(0x110)],_0x371753[_0x46bc1e(0xb4)]);}),_0x2c3347['on'](CodeceptJS[_0x48868f(0xa0)][_0x48868f(0x9e)][_0x48868f(0xed)],async()=>{const _0x2a0592=_0x48868f,_0xf22aa4=_0x29476c[_0x2a0592(0x10b)][_0x2a0592(0xa3)]('|');let _0x25e2a9=0x0;while(!![]){switch(_0xf22aa4[_0x25e2a9++]){case'0':_0x2c3347[_0x2a0592(0xfb)]();continue;case'1':_0xaca9b8['errorMessage']=_testErrorData;continue;case'2':testOpsHelper[_0x2a0592(0xa5)]();continue;case'3':helper['finalExecution'](_0xaca9b8);continue;case'4':try{await TestHubHandler[_0x2a0592(0x109)]();}catch(_0x148bab){logger[_0x2a0592(0x99)](_0x2a0592(0xdd)+util[_0x2a0592(0xe4)](_0x148bab));}continue;}break;}});async function _0xa3331f(){const _0x16dbde=_0x48868f;try{await _0x2c3347[_0x16dbde(0x86)](),await _0x2c3347['run']();}finally{process[_0x16dbde(0xcc)](_0x6adf73),await _0x2c3347[_0x16dbde(0xef)]();}}_0x29476c[_0x48868f(0xc7)](_0xa3331f);}function a2_0x37f0(){const _0x1aeeba=['isUndefined','length','join','YeDcg','parallelsPerPlatform','failed','profile','printResults','../../helpers/helper','slice','Playwright','dirname','4882872PeknrM','WebDriver','6688416qeRySm','jnYFc','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','accessibilityOptions','../../helpers/test-observability/utils','getPlatformName','chrome','stop','createGroupsOfSuites','TCWpk','now','config','gbHnu','bvKeY','oeIli','CrXdI','Failed\x20:\x20','../../helpers/BrowserStackSetup','mergeDeep','winstonLogger','XrEYV','jDVVf','8Pgzdqm','testObservability','UHSQK','bootstrapAll','../../helpers/accessibility-automation/helper','MUInV','../../bin/playwright/accessibility-helper','existsSync','isTestObservabilitySession','TkPEk','playwright-chromium','codeceptjs','err','plugins','fvNWj','getUserWorkerCount','stack','testConfig','false','7108800QaPgAp','181761epTLCn','getPlaywrightUrl','debug','BROWSERSTACK_TEST_ACCESSIBILITY_YML','LpiUt','CODECEPT','BROWSERSTACK_TEST_OBSERVABILITY_YML','all','handleApp','event','BrowserStackPlugin.js','addConfig','split','BrowserStackPlugin','printBuildLink','findIndex','mFgoj','vsUqy','require','before','log','RMrDQ','toLowerCase','../../helpers/logger','env','vfrDY','testContextOptions','qzftw','helpers','title','firefox','root','util','process','accessibility','1295406FfHSRX','YKEIv','null','prepareCapabilities','browser','isTrue','useW3C','TzCBr','codeceptjs/lib/index.js','FRAMEWORKS','BROWSERSTACK_RERUN_TESTS','map','playwright-webkit','kqfEv','../utils/constants','--config','rGRgk','1|2|3|4|0','chdir','codecept.json','GAZhY','desiredCapabilities','passed','pYdpC','skipSessionName','codecept.conf.js','frameworkName','info','dpJOm','push','VXRiP','anQOS','jAyRW','chromium','browserWSEndpoint','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','addTests','stringify','Passed\x20:\x20','cwd','2787090GqZNDI','nvyqX','format','jMJYM','platforms','enabled','skipSessionStatus','HQaJu','10734426OZPMmd','HwQJw','gherkin','result','validPlatformsPresent','teardownAll','otKHg','browserName','forEach','PdEPR'];a2_0x37f0=function(){return _0x1aeeba;};return a2_0x37f0();}module['exports']=run;
2
+ 'use strict';function a2_0x1f2c(_0x214f67,_0x575f4c){const _0x5cf41b=a2_0x5cf4();return a2_0x1f2c=function(_0x1f2c4c,_0x46384b){_0x1f2c4c=_0x1f2c4c-0x1d5;let _0x2ef901=_0x5cf41b[_0x1f2c4c];return _0x2ef901;},a2_0x1f2c(_0x214f67,_0x575f4c);}const a2_0x54f2a5=a2_0x1f2c;(function(_0x526996,_0x5d623a){const _0x21acef=a2_0x1f2c,_0x52d574=_0x526996();while(!![]){try{const _0x396fdc=-parseInt(_0x21acef(0x232))/0x1*(-parseInt(_0x21acef(0x1e0))/0x2)+parseInt(_0x21acef(0x213))/0x3*(parseInt(_0x21acef(0x257))/0x4)+parseInt(_0x21acef(0x225))/0x5+-parseInt(_0x21acef(0x244))/0x6+parseInt(_0x21acef(0x22a))/0x7+-parseInt(_0x21acef(0x20e))/0x8+-parseInt(_0x21acef(0x24b))/0x9*(parseInt(_0x21acef(0x20f))/0xa);if(_0x396fdc===_0x5d623a)break;else _0x52d574['push'](_0x52d574['shift']());}catch(_0x54136c){_0x52d574['push'](_0x52d574['shift']());}}}(a2_0x5cf4,0x86f0f));const fs=require('fs'),path=require(a2_0x54f2a5(0x208)),util=require(a2_0x54f2a5(0x1d8)),process=require(a2_0x54f2a5(0x226)),logger=require(a2_0x54f2a5(0x230))[a2_0x54f2a5(0x252)],{default:BrowserStackSetup}=require(a2_0x54f2a5(0x234)),helper=require('../../helpers/helper'),utilities=require('../../helpers/utilities'),{checkAccessibilityPlatformConfig}=require(a2_0x54f2a5(0x256)),{setAccessibilityCapabilities}=require(a2_0x54f2a5(0x214)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x54f2a5(0x1f3)),CodeceptJS=requireModule('codeceptjs/lib/index.js'),testOpsHelper=require(a2_0x54f2a5(0x22c)),TestHubHandler=require(a2_0x54f2a5(0x215)),constants=require(a2_0x54f2a5(0x237)),_testErrorData=[],getUserCodeceptJSConfigs=(_0x4b66ca,_0x5b402e)=>{const _0x3e4615=a2_0x54f2a5,_0x3a3e17={};_0x3a3e17[_0x3e4615(0x1e4)]=function(_0x2de4c7,_0x349edd){return _0x2de4c7===_0x349edd;},_0x3a3e17[_0x3e4615(0x1ec)]='codecept.conf.js',_0x3a3e17[_0x3e4615(0x204)]='codecept.json';const _0x3315db=_0x3a3e17;let _0x2b6b6d=null;const _0x262b3d={};let _0x2cdda4=_0x5b402e[_0x3e4615(0x1ed)](_0x2a3ff0=>_0x2a3ff0===_0x3e4615(0x24d));_0x3315db['RJlqr'](_0x2cdda4,-0x1)&&(_0x2cdda4=_0x5b402e[_0x3e4615(0x1ed)](_0x5a1eb4=>_0x5a1eb4==='-c'));if(!helper[_0x3e4615(0x201)](_0x4b66ca[_0x3e4615(0x23b)])&&fs[_0x3e4615(0x212)](path[_0x3e4615(0x21b)](process[_0x3e4615(0x1ff)](),_0x4b66ca[_0x3e4615(0x23b)])))_0x2b6b6d=path['join'](process[_0x3e4615(0x1ff)](),_0x4b66ca[_0x3e4615(0x23b)]),_0x5b402e['slice'](_0x2cdda4,0x2);else{if(!helper['isUndefined'](_0x4b66ca['c'])&&fs[_0x3e4615(0x212)](path[_0x3e4615(0x21b)](process[_0x3e4615(0x1ff)](),_0x4b66ca['c'])))_0x2b6b6d=path[_0x3e4615(0x21b)](process[_0x3e4615(0x1ff)](),_0x4b66ca['c']),_0x5b402e[_0x3e4615(0x24c)](_0x2cdda4,0x2);else{if(fs[_0x3e4615(0x212)](path[_0x3e4615(0x21b)](process[_0x3e4615(0x1ff)](),_0x3315db['ggVHs'])))_0x2b6b6d=path['join'](process[_0x3e4615(0x1ff)](),_0x3315db[_0x3e4615(0x1ec)]);else fs[_0x3e4615(0x212)](path[_0x3e4615(0x21b)](process[_0x3e4615(0x1ff)](),_0x3315db[_0x3e4615(0x204)]))&&(_0x2b6b6d=path[_0x3e4615(0x21b)](process['cwd'](),_0x3315db['ABQZX']));}}return _0x2b6b6d;},getO11yRerunPattern=()=>{const _0x223430=a2_0x54f2a5,_0x28182f={};_0x28182f[_0x223430(0x1f2)]=function(_0x3dd600,_0xe146f2){return _0x3dd600!==_0xe146f2;},_0x28182f[_0x223430(0x227)]=_0x223430(0x242);const _0x550428=_0x28182f,_0x2defdf=helper[_0x223430(0x1e3)](process[_0x223430(0x1f4)][_0x223430(0x25b)]);if(_0x2defdf){const _0x4b81a2=process[_0x223430(0x1f4)][_0x223430(0x22f)],_0x426639=[];if(_0x550428['YEhnG'](_0x4b81a2,_0x550428[_0x223430(0x227)])&&!helper[_0x223430(0x201)](_0x4b81a2)){_0x4b81a2[_0x223430(0x1f1)](',')['map'](_0x2dcc09=>{const _0x2ba990=_0x223430;_0x426639[_0x2ba990(0x260)]('('+_0x2dcc09[_0x2ba990(0x221)]()+')');});const _0x21e061='^'+_0x426639['join']('|')+'$';return _0x21e061;}}return null;},a2_0x174b4a={};a2_0x174b4a[a2_0x54f2a5(0x1fd)]='chromium',a2_0x174b4a[a2_0x54f2a5(0x222)]=a2_0x54f2a5(0x20d),a2_0x174b4a[a2_0x54f2a5(0x206)]=a2_0x54f2a5(0x1f0),a2_0x174b4a['playwright-webkit']=a2_0x54f2a5(0x231);function a2_0x5cf4(){const _0x489c8b=['0|4|1|2|3','chrome','RwgrO','cwd','test','isUndefined','spawn','helpers','ABQZX','WebDriver','playwright-firefox','DkcXQ','path','EfvNh','getPlatformName','Playwright','WncXd','chromium','6129376YpWwOr','10730aOhgUr','kOcPA','stop','existsSync','179286YWroKN','../../bin/playwright/accessibility-helper','../../helpers/testhub/testhubHandler','VvevE','addConfig','IxNhZ','LKBlZ','profile','join','parallelsPerPlatform','browserStackCwd','eYgAZ','DTWoB','testObservability','trim','playwright-chromium','Passed\x20:\x20','printBuildLink','3846505aXLTjE','process','CYkNw','debug','title','4834151uDLPkZ','testContextOptions','../../helpers/test-observability/utils','NIoMo','plugins','BROWSERSTACK_RERUN_TESTS','../../helpers/logger','webkit','495297jzDRLZ','frameworkName','../../helpers/BrowserStackSetup','-cucumber','FRAMEWORKS','../utils/constants','platforms','IcedB','err','config','VPjPN','desiredCapabilities','all','validPlatformsPresent','Failed\x20:\x20','browserName','null','BROWSERSTACK_TEST_ACCESSIBILITY_YML','4499166PlTvIF','NRYxg','JilUW','accessibility','bijUw','BrowserStackPlugin.js','chdir','7569aHzFOW','slice','--config','eZZpH','printResults','skipSessionStatus','gherkin','winstonLogger','handleApp','result','stack','../../helpers/accessibility-automation/helper','68CyZWRf','skipSessionName','CODECEPT','NnaTe','BROWSERSTACK_RERUN','root','log','accessibilityOptions','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','push','browserWSEndpoint','prepareCapabilities','mergeDeep','require','info','Started\x20:\x20','util','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','bootstrapAll','getUserWorkerCount','dirname','useW3C','MYKcD','browser','2gSrCEO','errorMessage','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','isTrue','RJlqr','iKGUE','failed','before','LIfUh','BROWSERSTACK_TEST_OBSERVABILITY_YML','BrowserStackPlugin','RWWno','ggVHs','findIndex','getPlaywrightUrl','teardownAll','firefox','split','YEhnG','../../helpers/helper','env','testConfig','event','ZJZQD','exports','jTfom','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','Workers'];a2_0x5cf4=function(){return _0x489c8b;};return a2_0x5cf4();}const pwToCodeceptBrowser=a2_0x174b4a;async function run(_0x4c0fcf,_0x17917e){const _0x1cacee=a2_0x54f2a5,_0x53c536={'EfvNh':function(_0x2398f8,_0x26d880){return _0x2398f8+_0x26d880;},'jTfom':function(_0x332b90,_0x3d8bcd){return _0x332b90(_0x3d8bcd);},'eZZpH':function(_0x48199d,_0x516e77,_0x482b9d){return _0x48199d(_0x516e77,_0x482b9d);},'kOcPA':_0x1cacee(0x23b),'DTWoB':'helpers','JilUW':function(_0x440fb4){return _0x440fb4();},'NRYxg':_0x1cacee(0x240),'NIoMo':_0x1cacee(0x223),'RwgrO':_0x1cacee(0x1d7),'iKGUE':_0x1cacee(0x1fc),'ZJZQD':'codeceptjs','VPjPN':function(_0x2f829d,_0x58f27b){return _0x2f829d(_0x58f27b);},'eNEQc':_0x1cacee(0x1e2),'DkcXQ':function(_0x588656,_0x428908,_0xe73f8){return _0x588656(_0x428908,_0xe73f8);},'LKBlZ':_0x1cacee(0x20b),'jxSXT':_0x1cacee(0x205),'Hheua':function(_0x31fbfe,_0x3e819e){return _0x31fbfe!=_0x3e819e;},'bijUw':'false','IxNhZ':_0x1cacee(0x251),'LIfUh':_0x1cacee(0x235),'WncXd':function(_0x332f1e,_0x5d8929){return _0x332f1e(_0x5d8929);},'LwAxY':function(_0x465802,_0x49c2a1){return _0x465802*_0x49c2a1;},'MYKcD':function(_0x104a2b,_0x4e92e3,_0x131680){return _0x104a2b(_0x4e92e3,_0x131680);},'NnaTe':_0x1cacee(0x1df),'eYgAZ':_0x1cacee(0x23d),'RWWno':_0x1cacee(0x25c),'IcedB':_0x1cacee(0x249),'VvevE':_0x1cacee(0x21d)},_0x53f4c6=new BrowserStackSetup(_0x4c0fcf,_0x53c536[_0x1cacee(0x1f7)]);await _0x53f4c6['initialize'](),await helper[_0x1cacee(0x253)](_0x53f4c6[_0x1cacee(0x23b)]);if(!_0x53f4c6['config'])return;process['profile']=_0x4c0fcf[_0x1cacee(0x21a)];_0x4c0fcf[_0x1cacee(0x21a)]&&(process[_0x1cacee(0x1f4)][_0x1cacee(0x21a)]=_0x4c0fcf['profile']);const _0x4951ca=_0x53c536[_0x1cacee(0x24e)](getUserCodeceptJSConfigs,_0x4c0fcf,_0x17917e);let _0x4bf174={};_0x4951ca?(logger[_0x1cacee(0x1d6)](_0x1cacee(0x25f)+_0x4951ca),_0x4bf174=_0x53c536[_0x1cacee(0x23c)](require,_0x4951ca)):logger[_0x1cacee(0x1d6)](_0x53c536['eNEQc']);let _0x51e0c2=![];_0x53c536[_0x1cacee(0x207)](nestedKeyValue,_0x4bf174,[_0x53c536['kOcPA'],_0x53c536[_0x1cacee(0x21f)],_0x53c536['LKBlZ']])&&(_0x51e0c2=!![]);const _0x5d50e4=_0x51e0c2?_0x53c536[_0x1cacee(0x219)]:_0x53c536['jxSXT'];let _0x1f8dad=!_0x51e0c2?helper[_0x1cacee(0x1dd)](_0x53f4c6['config']):![];!helper[_0x1cacee(0x201)](_0x53f4c6[_0x1cacee(0x23b)]['accessibilityOptions'])&&(process[_0x1cacee(0x1f4)][_0x1cacee(0x1fa)]=JSON['stringify'](_0x53f4c6[_0x1cacee(0x23b)][_0x1cacee(0x25e)]));let _0xaf6ebb=_0x53f4c6[_0x1cacee(0x23b)][_0x1cacee(0x247)];_0xaf6ebb=_0xaf6ebb||_0x53c536[_0x1cacee(0x23c)](checkAccessibilityPlatformConfig,_0x53f4c6[_0x1cacee(0x23b)]),process[_0x1cacee(0x1f4)][_0x1cacee(0x243)]=_0xaf6ebb;_0xaf6ebb&&(_0x1f8dad=!_0xaf6ebb);_0x53c536['Hheua'](_0x53f4c6[_0x1cacee(0x23b)]['testObservability'],null)?process[_0x1cacee(0x1f4)][_0x1cacee(0x1e9)]=_0x53f4c6['config']['testObservability']:process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x53c536[_0x1cacee(0x248)];const _0x9a9a51=_0x53c536[_0x1cacee(0x209)](_0x53c536[_0x1cacee(0x1f7)],_0x53c536[_0x1cacee(0x24e)](nestedKeyValue,_0x4bf174,[_0x53c536['kOcPA'],_0x53c536[_0x1cacee(0x218)]])?_0x53c536[_0x1cacee(0x1e8)]:''),_0x2260f8=await TestHubHandler['launchBuild'](_0x9a9a51,_0x53f4c6);_0xaf6ebb&&_0x53c536[_0x1cacee(0x20c)](setAccessibilityCapabilities,_0x53f4c6[_0x1cacee(0x23b)]);const _0x4b852e={},_0x12a872=[],_0x35f267=_0x53f4c6['config'][_0x1cacee(0x21c)]||helper[_0x1cacee(0x1db)](_0x4c0fcf,_0x17917e,_0x53f4c6[_0x1cacee(0x23b)],constants[_0x1cacee(0x236)][_0x1cacee(0x259)])||0x1;let _0x280a4e=0x1;if(_0x53c536['JilUW'](isBrowserstackInfra)){const _0x32e260=helper['prepareCapabilities'](_0x53f4c6[_0x1cacee(0x23b)],_0x1f8dad,constants[_0x1cacee(0x236)][_0x1cacee(0x259)]);helper[_0x1cacee(0x23f)](_0x53f4c6[_0x1cacee(0x23b)])?_0x280a4e=_0x53c536['LwAxY'](_0x35f267,_0x53f4c6['config'][_0x1cacee(0x238)]['length']):_0x280a4e=_0x35f267,_0x32e260['forEach'](_0x39e778=>{const _0x15fe45=_0x1cacee,_0x209cdf=_0x53c536[_0x15fe45(0x209)](helper[_0x15fe45(0x20a)](_0x39e778,'_'),'_'+Date['now']()),_0x2e7eb5=((()=>{const _0x3d01a0=_0x15fe45;if(_0x51e0c2){const _0x3de65d=pwToCodeceptBrowser[_0x39e778[_0x3d01a0(0x241)]]||_0x39e778[_0x3d01a0(0x241)];return{'browser':_0x3de65d,[_0x3de65d]:{'browserWSEndpoint':_0x53c536[_0x3d01a0(0x209)](helper[_0x3d01a0(0x1ee)](_0x53f4c6[_0x3d01a0(0x23b)]),_0x53c536[_0x3d01a0(0x1f9)](encodeURIComponent,JSON['stringify'](_0x39e778)))}};}const _0x2ea153={};return _0x2ea153[_0x3d01a0(0x23d)]=_0x39e778,_0x2ea153;})()),_0x567eab=_0x53c536['eZZpH'](nestedKeyValue,_0x4bf174,[_0x53c536[_0x15fe45(0x210)],_0x53c536[_0x15fe45(0x21f)],_0x5d50e4]);_0x4b852e[_0x209cdf]=_0x567eab?helper[_0x15fe45(0x263)](_0x2e7eb5,_0x567eab):_0x2e7eb5,!_0x51e0c2&&(_0x4b852e[_0x209cdf][_0x15fe45(0x1df)]=_0x39e778['browserName']||_0x2e7eb5[_0x15fe45(0x1df)]),_0x12a872[_0x15fe45(0x260)](_0x209cdf);});}else{_0x280a4e=0x1;if(_0x51e0c2){const _0x5d4abe=_0x53c536[_0x1cacee(0x1de)](nestedKeyValue,_0x4bf174,[_0x53c536[_0x1cacee(0x210)],_0x53c536[_0x1cacee(0x21f)],_0x5d50e4,_0x53c536[_0x1cacee(0x25a)]]),_0x25cee9=_0x53c536[_0x1cacee(0x24e)](nestedKeyValue,_0x4bf174,[_0x53c536[_0x1cacee(0x210)],_0x53c536[_0x1cacee(0x21f)],_0x5d50e4,_0x5d4abe]);_0x25cee9&&_0x25cee9[_0x1cacee(0x261)]&&(_0x25cee9['browserWSEndpoint']=helper[_0x1cacee(0x262)](null,null,_0x9a9a51['toLowerCase'](),null,null,_0x25cee9[_0x1cacee(0x261)]));}else _0x4bf174[_0x1cacee(0x23b)][_0x53c536[_0x1cacee(0x21f)]][_0x5d50e4][_0x53c536[_0x1cacee(0x21e)]]=helper[_0x1cacee(0x262)](null,null,_0x9a9a51['toLowerCase'](),_0x53c536[_0x1cacee(0x1de)](nestedKeyValue,_0x4bf174,[_0x53c536[_0x1cacee(0x210)],_0x53c536[_0x1cacee(0x21f)],_0x5d50e4,_0x53c536['eYgAZ']]),null,null);_0x4b852e[_0x53c536[_0x1cacee(0x1eb)]]=_0x4bf174['config'],_0x12a872[_0x1cacee(0x260)](_0x53c536['RWWno']);}const _0x47e91c={};_0x47e91c[_0x1cacee(0x1f5)]=_0x4951ca;const _0x4442b2=_0x47e91c,_0x171def=path[_0x1cacee(0x21b)](__dirname,_0x53c536[_0x1cacee(0x239)]),_0x58f409=process[_0x1cacee(0x1ff)]();process[_0x1cacee(0x1f4)][_0x53c536[_0x1cacee(0x216)]]=_0x58f409,process[_0x1cacee(0x24a)](path[_0x1cacee(0x1dc)](_0x4951ca));const _0x43ac9e=new CodeceptJS[(_0x1cacee(0x1fb))](null,_0x4442b2),_0x52b1b4=_0x43ac9e['createGroupsOfSuites'](_0x280a4e),_0x557c6e=testOpsHelper['isTestObservabilitySession'](),_0x1d3ffa=_0x12a872['map'](_0x5e29bb=>{const _0x4b3822=_0x1cacee,_0x48d169={};_0x48d169[_0x4b3822(0x20b)]=_0x4b852e[_0x5e29bb];const _0x511bf9={};_0x511bf9[_0x4b3822(0x205)]=_0x4b852e[_0x5e29bb];const _0x189e1c=_0x51e0c2?_0x48d169:_0x511bf9,_0x47e06e=_0x53c536[_0x4b3822(0x246)](getO11yRerunPattern),_0x2dc415={};_0x2dc415[_0x4b3822(0x203)]=_0x189e1c;const _0x4df9ad={};_0x4df9ad[_0x4b3822(0x1d5)]=_0x171def,_0x4df9ad['enabled']=!![],_0x4df9ad[_0x4b3822(0x258)]=_0x53f4c6['config'][_0x4b3822(0x22b)][_0x4b3822(0x258)],_0x4df9ad['skipSessionStatus']=_0x53f4c6[_0x4b3822(0x23b)][_0x4b3822(0x22b)][_0x4b3822(0x250)],_0x4df9ad[_0x4b3822(0x220)]=_0x557c6e,_0x4df9ad[_0x4b3822(0x233)]=_0x9a9a51;const _0x495bed={};_0x495bed[_0x4b3822(0x1ea)]=_0x4df9ad;const _0x191ff8={};return _0x191ff8[_0x4b3822(0x22e)]=_0x495bed,helper[_0x4b3822(0x263)]({},_0x4bf174[_0x4b3822(0x23b)],_0x53c536[_0x4b3822(0x246)](isBrowserstackInfra)?_0x2dc415:{},_0x47e06e?{'grep':_0x47e06e}:{},_0x191ff8);});for(const _0x263ae6 of _0x1d3ffa){for(const _0x24c7a7 of _0x52b1b4){const _0x2dfe60=_0x43ac9e[_0x1cacee(0x202)]();_0x2dfe60['addTests'](_0x24c7a7),_0x2dfe60[_0x1cacee(0x217)](_0x263ae6);}}_0x43ac9e['on'](CodeceptJS[_0x1cacee(0x1f6)]['test'][_0x1cacee(0x1e6)],(_0x51c7b2,_0x7efaeb)=>{const _0xc4f6c6=_0x1cacee;console[_0xc4f6c6(0x25d)](_0x53c536[_0xc4f6c6(0x245)],_0x51c7b2[_0xc4f6c6(0x229)]);const _0x2c50a8={[_0x51c7b2[_0xc4f6c6(0x229)]]:_0x51c7b2[_0xc4f6c6(0x23a)][_0xc4f6c6(0x255)]};_testErrorData[_0xc4f6c6(0x260)](_0x2c50a8);}),_0x43ac9e['on'](CodeceptJS[_0x1cacee(0x1f6)][_0x1cacee(0x200)]['passed'],async _0x32ca49=>{const _0x7f079=_0x1cacee;console['log'](_0x53c536[_0x7f079(0x22d)],_0x32ca49[_0x7f079(0x229)]);}),_0x43ac9e['on'](CodeceptJS['event'][_0x1cacee(0x200)][_0x1cacee(0x1e7)],async _0x492c98=>{const _0x5012b7=_0x1cacee;console[_0x5012b7(0x25d)](_0x53c536[_0x5012b7(0x1fe)],_0x492c98[_0x5012b7(0x229)]);}),_0x43ac9e['on'](CodeceptJS[_0x1cacee(0x1f6)][_0x1cacee(0x23e)][_0x1cacee(0x254)],async()=>{const _0x4450b7=_0x1cacee,_0x43eaa7=_0x53c536[_0x4450b7(0x1e5)][_0x4450b7(0x1f1)]('|');let _0x8bd2cb=0x0;while(!![]){switch(_0x43eaa7[_0x8bd2cb++]){case'0':_0x53f4c6[_0x4450b7(0x1e1)]=_testErrorData;continue;case'1':utilities['finalExecution'](_0x53f4c6);continue;case'2':try{await TestHubHandler[_0x4450b7(0x211)]();}catch(_0x454979){logger[_0x4450b7(0x228)](_0x4450b7(0x1d9)+util['format'](_0x454979));}continue;case'3':_0x43ac9e[_0x4450b7(0x24f)]();continue;case'4':testOpsHelper[_0x4450b7(0x224)]();continue;}break;}});async function _0x1c4183(){const _0x49d377=_0x1cacee;try{await _0x43ac9e[_0x49d377(0x1da)](),await _0x43ac9e['run']();}finally{process[_0x49d377(0x24a)](_0x58f409),await _0x43ac9e[_0x49d377(0x1ef)]();}}_0x53c536['JilUW'](_0x1c4183);}module[a2_0x54f2a5(0x1f8)]=run;
@@ -1 +1 @@
1
- const a3_0x276329=a3_0x1264;function a3_0x382e(){const _0x226b1a=['includes','YVZwE','name','rTMsL','accessibilityPlatform','winstonLogger','appium:app','bsSessionId','RgntI','KNdtA','21nPkxPN','kjooz','tsYkC','192yOuerg','987056kOxKBK','MkRsp','WExcS','CAYQm','AbFkN','bstack:options','../../bin/playwright/sessionDetails','browserName','ewmgS','browser_version','ARUwp','qIkGa','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','../../helpers/accessibility-automation/helper','KgKKk','constructor','EBoJk','VeSxK','WebDriver','platform_version','platform','caps','chrome','os_version','HkdSP','config','processWebDriverConfig','capabilities','browserstack_executor','osVersion','platformName','JsNtI','15210sNJKoS','warn','desiredCapabilities','app-automate','parse','12570998aPJhPK','cloudProvider','Fvpdm','CQtxc','../../helpers/logger','PlIgS','shouldPatchExecuteScript','33640zvGcri','SSpKd','browserVersion','browserstack','WUZWe','1197WeFnxj','unknown_grid','JivGP','1558712lkJeUG','3TvQvDg','deviceName','veIkS','Playwright','zrjSa','get','wFIud','YihCN','playwright-chromium','JZGEF','platformVersion','OkKXn','sessionId','../../helpers/helper','580518XQKbtp','739228odmWRO','latest','aqrcO','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','fetchPlatformDetails','__cloud_provider___','browser','browserWSEndpoint','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.'];a3_0x382e=function(){return _0x226b1a;};return a3_0x382e();}(function(_0x621c06,_0x29b1a6){const _0x406952=a3_0x1264,_0x598384=_0x621c06();while(!![]){try{const _0x5b1b2f=parseInt(_0x406952(0x10f))/0x1+-parseInt(_0x406952(0x110))/0x2+parseInt(_0x406952(0x101))/0x3*(parseInt(_0x406952(0x127))/0x4)+parseInt(_0x406952(0xf8))/0x5*(parseInt(_0x406952(0x126))/0x6)+-parseInt(_0x406952(0x123))/0x7*(-parseInt(_0x406952(0x100))/0x8)+-parseInt(_0x406952(0xfd))/0x9*(-parseInt(_0x406952(0xec))/0xa)+-parseInt(_0x406952(0xf1))/0xb;if(_0x5b1b2f===_0x29b1a6)break;else _0x598384['push'](_0x598384['shift']());}catch(_0x6807a8){_0x598384['push'](_0x598384['shift']());}}}(a3_0x382e,0x4d61c));function a3_0x1264(_0x1695ad,_0x3f7211){const _0x382e3b=a3_0x382e();return a3_0x1264=function(_0x1264ae,_0x211861){_0x1264ae=_0x1264ae-0xe5;let _0x5f2aa8=_0x382e3b[_0x1264ae];return _0x5f2aa8;},a3_0x1264(_0x1695ad,_0x3f7211);}const {isUndefined,nestedKeyValue}=require(a3_0x276329(0x10e)),logger=require(a3_0x276329(0xf5))[a3_0x276329(0x11e)],PlaywrightSessionDetails=require(a3_0x276329(0x12d)),{isAccessibilityAutomationSession}=require(a3_0x276329(0x134)),getOSVersionFromCaps=_0x1787d3=>{const _0x5e363e=a3_0x276329,_0x4b0aa1={};_0x4b0aa1[_0x5e363e(0x12b)]=_0x5e363e(0x12c),_0x4b0aa1[_0x5e363e(0x11a)]=_0x5e363e(0x10b),_0x4b0aa1[_0x5e363e(0x132)]=_0x5e363e(0x13a),_0x4b0aa1[_0x5e363e(0x10a)]=_0x5e363e(0xe9),_0x4b0aa1[_0x5e363e(0xf4)]=_0x5e363e(0x13e);const _0x54bd8d=_0x4b0aa1;if(!_0x1787d3)return null;const _0x4e691d=_0x1787d3[_0x54bd8d[_0x5e363e(0x12b)]],_0x5af8a0=[_0x54bd8d[_0x5e363e(0x11a)],_0x54bd8d[_0x5e363e(0x132)],_0x54bd8d[_0x5e363e(0x10a)],_0x54bd8d[_0x5e363e(0xf4)]];for(const _0x48d889 of _0x5af8a0){if(_0x4e691d&&_0x4e691d[_0x48d889])return _0x4e691d[_0x48d889];else{if(_0x1787d3[_0x48d889])return _0x1787d3[_0x48d889];}}return null;};exports[a3_0x276329(0x114)]=_0x8b1595=>{const _0x435791=a3_0x276329,_0x784b80={'YihCN':_0x435791(0xfe),'Fvpdm':function(_0x25481a,_0x1e0594){return _0x25481a===_0x1e0594;},'JivGP':_0x435791(0x139),'wFIud':function(_0x59bdf1,_0x4a3ef3){return _0x59bdf1(_0x4a3ef3);},'RgntI':function(_0x5b07da,_0x5c7b32,_0xd51ae){return _0x5b07da(_0x5c7b32,_0xd51ae);},'JsNtI':_0x435791(0xe5),'SSpKd':_0x435791(0xee),'VeSxK':_0x435791(0xfb),'ewmgS':_0x435791(0x11f),'CAYQm':'app','zrjSa':_0x435791(0xef),'WUZWe':'automate','zZfRT':function(_0x5821e8,_0x282e24){return _0x5821e8===_0x282e24;},'aqrcO':_0x435791(0x104),'rTMsL':function(_0x38600d,_0x8761e,_0x380f6f){return _0x38600d(_0x8761e,_0x380f6f);},'wwiaI':_0x435791(0x116),'veIkS':_0x435791(0x117),'EBoJk':_0x435791(0x13c)};if(!_0x8b1595)return null;let _0x574a3d=global[_0x435791(0x115)]||_0x784b80[_0x435791(0x108)];if(_0x784b80[_0x435791(0xf3)](_0x8b1595[_0x435791(0x136)][_0x435791(0x11b)],_0x784b80[_0x435791(0xff)])){const _0x2d016e=_0x8b1595[_0x435791(0x116)];if(!_0x2d016e)return null;const _0x841af3=_0x2d016e[_0x435791(0xe7)],_0x320f9a=_0x784b80[_0x435791(0x107)](getOSVersionFromCaps,_0x784b80[_0x435791(0x121)](nestedKeyValue,_0x8b1595,[_0x784b80[_0x435791(0xeb)],_0x784b80[_0x435791(0xf9)]]));return{[_0x574a3d]:{'browser':_0x841af3[_0x435791(0x12e)],'browser_version':_0x841af3[_0x435791(0xfa)],'capabilities':_0x841af3,'platform':_0x841af3[_0x435791(0xea)],'platform_version':_0x841af3[_0x435791(0x10b)]||_0x320f9a,'product':_0x784b80['Fvpdm'](global[_0x435791(0x115)],_0x784b80[_0x435791(0x138)])?_0x841af3[_0x784b80['ewmgS']]||_0x841af3[_0x784b80[_0x435791(0x12a)]]?_0x784b80['zrjSa']:_0x784b80[_0x435791(0xfc)]:null,'session_id':_0x2d016e[_0x435791(0x10d)]}};}else{if(_0x784b80['zZfRT'](_0x8b1595['constructor'][_0x435791(0x11b)],_0x784b80[_0x435791(0x112)])){const _0x5c9fbd=PlaywrightSessionDetails['getDetails']();_0x574a3d=_0x5c9fbd[_0x435791(0xf2)]||_0x574a3d;const _0x5ce6e6=_0x784b80[_0x435791(0x11c)](nestedKeyValue,_0x8b1595,[_0x784b80[_0x435791(0xeb)],_0x784b80['wwiaI'],_0x784b80[_0x435791(0x103)]]),_0x59db5f=_0x5ce6e6?JSON[_0x435791(0xf0)](new URL(_0x5ce6e6)['searchParams'][_0x435791(0x106)](_0x784b80[_0x435791(0x137)])):{};return{[_0x574a3d]:{'browser':_0x5c9fbd[_0x435791(0x116)]||_0x59db5f[_0x435791(0x12e)],'browser_version':_0x5c9fbd[_0x435791(0x130)]||_0x59db5f[_0x435791(0x130)],'capabilities':_0x59db5f,'platform':_0x5c9fbd[_0x435791(0x13b)],'platform_version':_0x5c9fbd['platform_version'],'product':_0x784b80['zZfRT'](global[_0x435791(0x115)],_0x784b80[_0x435791(0x138)])?_0x59db5f[_0x784b80[_0x435791(0x12f)]]||_0x59db5f[_0x784b80['CAYQm']]?_0x784b80[_0x435791(0x105)]:_0x784b80[_0x435791(0xfc)]:null,'session_id':_0x5c9fbd[_0x435791(0x120)]}};}}},exports[a3_0x276329(0xe6)]=_0xd7c6b7=>{const _0x2f62d0=a3_0x276329,_0x4e55a1={'WExcS':function(_0x330305){return _0x330305();},'tsYkC':function(_0x4e424b,_0x48251f){return _0x4e424b===_0x48251f;},'ARUwp':_0x2f62d0(0x111),'kjooz':function(_0x5a177d,_0x318965){return _0x5a177d>_0x318965;},'HkdSP':function(_0x62de2f,_0x47f376){return _0x62de2f(_0x47f376);},'KgKKk':_0x2f62d0(0x113),'PlIgS':_0x2f62d0(0x13d),'TpNNn':function(_0x26d363,_0x287629){return _0x26d363===_0x287629;},'WmOgH':_0x2f62d0(0x109),'bQjZa':_0x2f62d0(0x118),'KNdtA':_0x2f62d0(0x133)};if(_0x4e55a1[_0x2f62d0(0x129)](isAccessibilityAutomationSession)){const _0x4fd5d4=_0xd7c6b7[_0x2f62d0(0x116)],_0xfa09a0=_0x4fd5d4['capabilities'];global['accessibilityPlatform']=!![],!(_0x4e55a1[_0x2f62d0(0x125)](_0xfa09a0[_0x2f62d0(0xfa)],_0x4e55a1[_0x2f62d0(0x131)])||_0x4e55a1[_0x2f62d0(0x124)](_0x4e55a1[_0x2f62d0(0x13f)](parseInt,_0xfa09a0['browserVersion']),0x5e))&&(logger[_0x2f62d0(0xed)](_0x4e55a1[_0x2f62d0(0x135)]),global[_0x2f62d0(0x11d)]=![]),!(_0x4e55a1['tsYkC'](_0xfa09a0[_0x2f62d0(0x12e)],_0x4e55a1[_0x2f62d0(0xf6)])||_0x4e55a1['TpNNn'](_0xfa09a0['browserName'],_0x4e55a1['WmOgH']))&&(logger['warn'](_0x4e55a1['bQjZa']),global[_0x2f62d0(0x11d)]=![]),!_0x4e55a1[_0x2f62d0(0x13f)](isUndefined,_0xfa09a0[_0x2f62d0(0x102)])&&(logger['warn'](_0x4e55a1[_0x2f62d0(0x122)]),global[_0x2f62d0(0x11d)]=![]);}},exports[a3_0x276329(0xf7)]=_0x348e60=>{const _0x508af4=a3_0x276329,_0x4df922={};_0x4df922[_0x508af4(0x128)]=_0x508af4(0xe8),_0x4df922['OkKXn']='browserstack_accessibility_automation_script';const _0x5551c3=_0x4df922;if(!_0x348e60)return![];return!_0x348e60[_0x508af4(0x119)](_0x5551c3['MkRsp'])&&!_0x348e60[_0x508af4(0x119)](_0x5551c3[_0x508af4(0x10c)]);};
1
+ const a3_0x1fb46c=a3_0xaab7;function a3_0xaab7(_0xffb95e,_0x54de58){const _0x8fb358=a3_0x8fb3();return a3_0xaab7=function(_0xaab72b,_0x5b8589){_0xaab72b=_0xaab72b-0x125;let _0x2c5fa5=_0x8fb358[_0xaab72b];return _0x2c5fa5;},a3_0xaab7(_0xffb95e,_0x54de58);}(function(_0x56d1c4,_0x5df709){const _0x7cfe26=a3_0xaab7,_0x4c84b7=_0x56d1c4();while(!![]){try{const _0x2ed595=parseInt(_0x7cfe26(0x151))/0x1*(parseInt(_0x7cfe26(0x146))/0x2)+parseInt(_0x7cfe26(0x13f))/0x3*(-parseInt(_0x7cfe26(0x16f))/0x4)+parseInt(_0x7cfe26(0x172))/0x5+-parseInt(_0x7cfe26(0x171))/0x6+-parseInt(_0x7cfe26(0x157))/0x7+parseInt(_0x7cfe26(0x153))/0x8+-parseInt(_0x7cfe26(0x138))/0x9*(parseInt(_0x7cfe26(0x159))/0xa);if(_0x2ed595===_0x5df709)break;else _0x4c84b7['push'](_0x4c84b7['shift']());}catch(_0x5cbd23){_0x4c84b7['push'](_0x4c84b7['shift']());}}}(a3_0x8fb3,0x7d221));const {isUndefined,nestedKeyValue}=require('../../helpers/helper'),logger=require('../../helpers/logger')['winstonLogger'],PlaywrightSessionDetails=require(a3_0x1fb46c(0x167)),{isAccessibilityAutomationSession}=require(a3_0x1fb46c(0x160)),getOSVersionFromCaps=_0x2784ea=>{const _0x4612f2=a3_0x1fb46c,_0x3e9af4={};_0x3e9af4[_0x4612f2(0x15c)]='bstack:options',_0x3e9af4[_0x4612f2(0x131)]='platformVersion',_0x3e9af4[_0x4612f2(0x156)]=_0x4612f2(0x12c),_0x3e9af4[_0x4612f2(0x126)]='osVersion',_0x3e9af4[_0x4612f2(0x14b)]=_0x4612f2(0x163);const _0xc05624=_0x3e9af4;if(!_0x2784ea)return null;const _0x43f6db=_0x2784ea[_0xc05624[_0x4612f2(0x15c)]],_0x46a1ee=[_0xc05624['yFxir'],_0xc05624[_0x4612f2(0x156)],_0xc05624[_0x4612f2(0x126)],_0xc05624[_0x4612f2(0x14b)]];for(const _0x5e045d of _0x46a1ee){if(_0x43f6db&&_0x43f6db[_0x5e045d])return _0x43f6db[_0x5e045d];else{if(_0x2784ea[_0x5e045d])return _0x2784ea[_0x5e045d];}}return null;};function a3_0x8fb3(){const _0x41af51=['inSDc','browser_version','cWKXz','LxJlN','496Vydsux','cloudProvider','543540WRLWuD','2363645WZLWQr','capabilities','hthqX','processWebDriverConfig','kxzLP','name','nENkW','platform','platform_version','warn','accessibilityPlatform','__cloud_provider___','app-automate','yFxir','sessionId','caps','platformVersion','config','constructor','browserVersion','946071SQAcAD','SIRMi','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','browserstack_accessibility_automation_script','appium:app','ycLKZ','ZzvoS','1413WydmDW','browser','browserName','includes','bsSessionId','vjKRv','sgZZs','1027204kvIxRI','AYwes','KNByt','JHydU','chrome','gnrAV','eGRyB','rtyFo','SMIOU','ocaES','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','1njgxNq','eOutf','4201984EJvVxd','lHshk','get','QhTWF','4478614bFvQUF','lVUrG','20GdXMga','mAqHP','desiredCapabilities','gMoSx','parse','czIYf','app','../../helpers/accessibility-automation/helper','sbuYq','LoKjL','os_version','playwright-chromium','fetchPlatformDetails','unknown_grid','../../bin/playwright/sessionDetails','zCjLV','searchParams','ehEdq'];a3_0x8fb3=function(){return _0x41af51;};return a3_0x8fb3();}exports[a3_0x1fb46c(0x165)]=_0x31a1ff=>{const _0x2d19eb=a3_0x1fb46c,_0x4d9b99={'sgZZs':_0x2d19eb(0x166),'eGRyB':function(_0x48aba5,_0x33271c){return _0x48aba5===_0x33271c;},'ehEdq':'WebDriver','zYkwq':function(_0x2eafb0,_0xa27f7c){return _0x2eafb0(_0xa27f7c);},'nENkW':function(_0x98368b,_0x2c7225,_0x3846e1){return _0x98368b(_0x2c7225,_0x3846e1);},'lHshk':_0x2d19eb(0x135),'LxJlN':_0x2d19eb(0x15b),'SIRMi':function(_0x576dfd,_0xf65eee){return _0x576dfd===_0xf65eee;},'KNByt':'browserstack','ZzvoS':_0x2d19eb(0x13c),'czIYf':_0x2d19eb(0x15f),'SMIOU':_0x2d19eb(0x130),'sbuYq':'automate','ocaES':function(_0x2ede4c,_0x47ab66){return _0x2ede4c===_0x47ab66;},'JHydU':'Playwright','AYwes':_0x2d19eb(0x140),'LoKjL':'browserWSEndpoint','BKrVj':_0x2d19eb(0x133),'ccKFK':function(_0x5225ed,_0x4e93ed){return _0x5225ed===_0x4e93ed;}};if(!_0x31a1ff)return null;let _0x2ee07a=global['__cloud_provider___']||_0x4d9b99[_0x2d19eb(0x145)];if(_0x4d9b99[_0x2d19eb(0x14c)](_0x31a1ff[_0x2d19eb(0x136)][_0x2d19eb(0x129)],_0x4d9b99[_0x2d19eb(0x16a)])){const _0x2cc244=_0x31a1ff['browser'];if(!_0x2cc244)return null;const _0x1cd685=_0x2cc244[_0x2d19eb(0x125)],_0x49536e=_0x4d9b99['zYkwq'](getOSVersionFromCaps,_0x4d9b99[_0x2d19eb(0x12a)](nestedKeyValue,_0x31a1ff,[_0x4d9b99[_0x2d19eb(0x154)],_0x4d9b99[_0x2d19eb(0x16e)]]));return{[_0x2ee07a]:{'browser':_0x1cd685['browserName'],'browser_version':_0x1cd685[_0x2d19eb(0x137)],'capabilities':_0x1cd685,'platform':_0x1cd685['platformName'],'platform_version':_0x1cd685[_0x2d19eb(0x134)]||_0x49536e,'product':_0x4d9b99[_0x2d19eb(0x139)](global[_0x2d19eb(0x12f)],_0x4d9b99[_0x2d19eb(0x148)])?_0x1cd685[_0x4d9b99[_0x2d19eb(0x13e)]]||_0x1cd685[_0x4d9b99[_0x2d19eb(0x15e)]]?_0x4d9b99[_0x2d19eb(0x14e)]:_0x4d9b99[_0x2d19eb(0x161)]:null,'session_id':_0x2cc244[_0x2d19eb(0x132)]}};}else{if(_0x4d9b99[_0x2d19eb(0x14f)](_0x31a1ff[_0x2d19eb(0x136)][_0x2d19eb(0x129)],_0x4d9b99[_0x2d19eb(0x149)])){const _0x4f46f8=PlaywrightSessionDetails['getDetails']();_0x2ee07a=_0x4f46f8[_0x2d19eb(0x170)]||_0x2ee07a;const _0x32f99e=_0x4d9b99[_0x2d19eb(0x12a)](nestedKeyValue,_0x31a1ff,[_0x4d9b99[_0x2d19eb(0x154)],_0x4d9b99[_0x2d19eb(0x147)],_0x4d9b99[_0x2d19eb(0x162)]]),_0x3f10df=_0x32f99e?JSON[_0x2d19eb(0x15d)](new URL(_0x32f99e)[_0x2d19eb(0x169)][_0x2d19eb(0x155)](_0x4d9b99['BKrVj'])):{};return{[_0x2ee07a]:{'browser':_0x4f46f8['browser']||_0x3f10df[_0x2d19eb(0x141)],'browser_version':_0x4f46f8[_0x2d19eb(0x16c)]||_0x3f10df[_0x2d19eb(0x16c)],'capabilities':_0x3f10df,'platform':_0x4f46f8[_0x2d19eb(0x12b)],'platform_version':_0x4f46f8[_0x2d19eb(0x12c)],'product':_0x4d9b99['ccKFK'](global[_0x2d19eb(0x12f)],_0x4d9b99['KNByt'])?_0x3f10df[_0x4d9b99[_0x2d19eb(0x13e)]]||_0x3f10df[_0x4d9b99[_0x2d19eb(0x15e)]]?_0x4d9b99[_0x2d19eb(0x14e)]:_0x4d9b99[_0x2d19eb(0x161)]:null,'session_id':_0x4f46f8[_0x2d19eb(0x143)]}};}}},exports[a3_0x1fb46c(0x127)]=_0xfb7611=>{const _0x2da002=a3_0x1fb46c,_0x57d4ff={'wWwcV':function(_0x29d76b){return _0x29d76b();},'rtyFo':function(_0x2ec4e5,_0x9ee080){return _0x2ec4e5===_0x9ee080;},'ycLKZ':'latest','PQGlk':function(_0x5c04cb,_0x5f0426){return _0x5c04cb>_0x5f0426;},'mAqHP':function(_0xf30f8a,_0x3f83a0){return _0xf30f8a(_0x3f83a0);},'inSDc':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','eOutf':function(_0x9c52c3,_0x116a63){return _0x9c52c3===_0x116a63;},'zCjLV':_0x2da002(0x14a),'kxzLP':_0x2da002(0x164),'lVUrG':_0x2da002(0x150),'tjWWz':_0x2da002(0x13a)};if(_0x57d4ff['wWwcV'](isAccessibilityAutomationSession)){const _0x45af5b=_0xfb7611[_0x2da002(0x140)],_0x39bc3a=_0x45af5b[_0x2da002(0x125)];global[_0x2da002(0x12e)]=!![],!(_0x57d4ff[_0x2da002(0x14d)](_0x39bc3a[_0x2da002(0x137)],_0x57d4ff[_0x2da002(0x13d)])||_0x57d4ff['PQGlk'](_0x57d4ff['mAqHP'](parseInt,_0x39bc3a[_0x2da002(0x137)]),0x5e))&&(logger[_0x2da002(0x12d)](_0x57d4ff[_0x2da002(0x16b)]),global[_0x2da002(0x12e)]=![]),!(_0x57d4ff[_0x2da002(0x152)](_0x39bc3a[_0x2da002(0x141)],_0x57d4ff[_0x2da002(0x168)])||_0x57d4ff[_0x2da002(0x14d)](_0x39bc3a[_0x2da002(0x141)],_0x57d4ff[_0x2da002(0x128)]))&&(logger[_0x2da002(0x12d)](_0x57d4ff[_0x2da002(0x158)]),global[_0x2da002(0x12e)]=![]),!_0x57d4ff[_0x2da002(0x15a)](isUndefined,_0x39bc3a['deviceName'])&&(logger[_0x2da002(0x12d)](_0x57d4ff['tjWWz']),global[_0x2da002(0x12e)]=![]);}},exports['shouldPatchExecuteScript']=_0x23103c=>{const _0x2d7d75=a3_0x1fb46c,_0x533f86={};_0x533f86[_0x2d7d75(0x144)]='browserstack_executor',_0x533f86[_0x2d7d75(0x16d)]=_0x2d7d75(0x13b);const _0x44f325=_0x533f86;if(!_0x23103c)return![];return!_0x23103c[_0x2d7d75(0x142)](_0x44f325[_0x2d7d75(0x144)])&&!_0x23103c[_0x2d7d75(0x142)](_0x44f325[_0x2d7d75(0x16d)]);};
@@ -1 +1 @@
1
- const a4_0xe971b=a4_0x3c05;(function(_0x3ebcd9,_0x88c74f){const _0x4cf62b=a4_0x3c05,_0x37aec1=_0x3ebcd9();while(!![]){try{const _0x4cb304=parseInt(_0x4cf62b(0x156))/0x1+parseInt(_0x4cf62b(0x18f))/0x2*(-parseInt(_0x4cf62b(0x17d))/0x3)+parseInt(_0x4cf62b(0x1b6))/0x4*(-parseInt(_0x4cf62b(0x19c))/0x5)+-parseInt(_0x4cf62b(0xf8))/0x6+parseInt(_0x4cf62b(0x1d5))/0x7+-parseInt(_0x4cf62b(0x1c7))/0x8+parseInt(_0x4cf62b(0x1b4))/0x9;if(_0x4cb304===_0x88c74f)break;else _0x37aec1['push'](_0x37aec1['shift']());}catch(_0x2f479f){_0x37aec1['push'](_0x37aec1['shift']());}}}(a4_0x3b02,0xbe0f2));const path=require('path'),fs=require('fs'),{v4:uuidv4}=require(a4_0xe971b(0xfb)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0xe971b(0x18d)),testOpsHelper=require(a4_0xe971b(0x1b7)),{getTestEnv}=require(a4_0xe971b(0x110)),{FRAMEWORKS}=require(a4_0xe971b(0x116)),logger=require('../../helpers/logger')[a4_0xe971b(0x10d)],SessionHandler=require(a4_0xe971b(0x184)),RequestQueueHandler=require(a4_0xe971b(0x122)),PlaywrightSessionDetails=require(a4_0xe971b(0x1b0)),debug=testOpsHelper[a4_0xe971b(0xff)],{processAccessibilityCaps}=require(a4_0xe971b(0x1a3)),Constants=require(a4_0xe971b(0x17e)),{fetchPlatformDetails}=require('./helper.js'),{shouldProcessEventForTesthub,appendTesthubParams}=require('../../helpers/testhub/utils.js'),STATE_PASSED=a4_0xe971b(0x129),STATE_FAILED=a4_0xe971b(0x1be),a4_0x2f06b5={};a4_0x2f06b5[a4_0xe971b(0x1dc)]=a4_0xe971b(0x150),a4_0x2f06b5[a4_0xe971b(0x1e2)]=a4_0xe971b(0x1a5),a4_0x2f06b5['TEST_RUN_SKIPPED']=a4_0xe971b(0x135),a4_0x2f06b5[a4_0xe971b(0x172)]=a4_0xe971b(0x176),a4_0x2f06b5['HOOK_RUN_FINISHED']='HookRunFinished';const TEST_EVENTS=a4_0x2f06b5,parseEvent=_0x579168=>{const _0x47ed19=a4_0xe971b,_0xf25aa6={};_0xf25aa6['IQaww']=function(_0x1c44e6,_0x40ee56){return _0x1c44e6<_0x40ee56;},_0xf25aa6[_0x47ed19(0x119)]=function(_0x33f093,_0x48ae4e){return _0x33f093===_0x48ae4e;},_0xf25aa6[_0x47ed19(0x17a)]=_0x47ed19(0x153),_0xf25aa6[_0x47ed19(0x1cb)]=_0x47ed19(0x188),_0xf25aa6[_0x47ed19(0x169)]='skipped',_0xf25aa6[_0x47ed19(0x13f)]=_0x47ed19(0x179),_0xf25aa6['rOZuY']=function(_0x59fdf8,_0xae2b38){return _0x59fdf8===_0xae2b38;},_0xf25aa6[_0x47ed19(0x151)]='finished';const _0x345b0b=_0xf25aa6,_0x524f83=_0x579168[_0x47ed19(0x1b8)](/^(.*)Run(.*)$/);if(!_0x524f83)return null;if(_0x345b0b[_0x47ed19(0x127)](_0x524f83[_0x47ed19(0x11f)],0x3))return null;const _0x2785d0=_0x524f83[0x1][_0x47ed19(0x19e)](),_0x48d233=_0x524f83[0x2][_0x47ed19(0x19e)]();return{'test':_0x345b0b[_0x47ed19(0x119)](_0x2785d0,_0x345b0b['MZFuS']),'hook':_0x345b0b[_0x47ed19(0x119)](_0x2785d0,_0x345b0b[_0x47ed19(0x1cb)]),'skipped':_0x345b0b[_0x47ed19(0x119)](_0x48d233,_0x345b0b[_0x47ed19(0x169)]),'started':_0x345b0b[_0x47ed19(0x119)](_0x48d233,_0x345b0b[_0x47ed19(0x13f)]),'finished':_0x345b0b['rOZuY'](_0x48d233,_0x345b0b[_0x47ed19(0x151)])};},mockPWBrowserType=_0x36c796=>{const _0x36a849=a4_0xe971b,_0x367a78={'owPJz':function(_0x2761a9,_0x3a15e8){return _0x2761a9===_0x3a15e8;},'ODLSP':_0x36a849(0x10e),'njXPx':function(_0x3a1e09,_0xed07a9,_0x340865){return _0x3a1e09(_0xed07a9,_0x340865);},'XASdE':_0x36a849(0x120),'HOjET':function(_0x4d1125,_0x1c3590){return _0x4d1125(_0x1c3590);},'XhQft':'browserstack','ZkgtJ':function(_0x1dbd98,_0x26b3d9,_0x5cb5f9){return _0x1dbd98(_0x26b3d9,_0x5cb5f9);},'mqtPO':_0x36a849(0x1df),'ZbRHq':_0x36a849(0x178),'MMDrX':_0x36a849(0x16e),'jasxw':_0x36a849(0x185),'EthTP':'connect','DDgON':_0x36a849(0x132)},_0xcd5d6=path[_0x36a849(0x118)](_0x367a78[_0x36a849(0x133)],_0x367a78[_0x36a849(0x147)],_0x367a78[_0x36a849(0x13d)]),_0x4cf270=_0x367a78[_0x36a849(0x1e1)](importFileFromPWCore,_0xcd5d6);if(!_0x4cf270){_0x367a78['HOjET'](debug,_0x367a78[_0x36a849(0x1e0)]);return;}const _0x1259db=_0x4cf270[_0x36a849(0xf9)],_0x341f45=_0x1259db[_0x36a849(0x113)];if(_0x341f45[_0x36a849(0x126)])return;const _0x191af4=_0x341f45[_0x36a849(0x16a)];Object['defineProperty'](_0x341f45,_0x367a78['EthTP'],{'get':function(){const _0x52d2b6=_0x36a849,_0x47e9b8={'hPWUl':function(_0x10812c,_0x46dcc3){const _0x1eb3bb=a4_0x3c05;return _0x367a78[_0x1eb3bb(0x1b5)](_0x10812c,_0x46dcc3);},'yxqtc':_0x367a78[_0x52d2b6(0x1ab)],'eXlXX':function(_0x4ce349,_0x337c8a,_0x123761){const _0x4dfad7=_0x52d2b6;return _0x367a78[_0x4dfad7(0x164)](_0x4ce349,_0x337c8a,_0x123761);},'UIDpN':_0x367a78[_0x52d2b6(0x14a)],'kNqqU':function(_0x50d10e,_0x5ab232){const _0x16144a=_0x52d2b6;return _0x367a78[_0x16144a(0x1e1)](_0x50d10e,_0x5ab232);},'LMdSZ':_0x367a78['XhQft'],'zvXED':function(_0x57a04c,_0x5249ac,_0x481585){const _0x36f3dd=_0x52d2b6;return _0x367a78[_0x36f3dd(0x171)](_0x57a04c,_0x5249ac,_0x481585);}};return async function _0x22d0d9(_0x65d302,_0x2b1be1){const _0x590900=_0x52d2b6,_0x431708={'sItBe':function(_0x386f02,_0x5892db){const _0x594f5f=a4_0x3c05;return _0x47e9b8[_0x594f5f(0x1d1)](_0x386f02,_0x5892db);},'ZkDlr':_0x47e9b8[_0x590900(0x1c5)]},_0x1a1135=_0x47e9b8[_0x590900(0x155)](nestedKeyValue,_0x65d302,[_0x47e9b8[_0x590900(0x1ad)]])||_0x65d302;let _0x271df2=null,_0x76015f=null;try{[_0x76015f,_0x271df2]=_0x1a1135?_0x47e9b8[_0x590900(0x121)](parseWSEndpoint,_0x1a1135):[null,null],global['__platformCaps']=_0x271df2,_0x76015f[_0x590900(0x1d7)](_0x47e9b8[_0x590900(0x10a)])&&(global['__cloud_provider___']=_0x47e9b8[_0x590900(0x10a)]);}catch(_0x44c81d){logger[_0x590900(0xff)](_0x590900(0x1aa)+_0x1a1135+'\x20'+_0x44c81d);}_0x47e9b8['zvXED'](processAccessibilityCaps,_0x271df2,_0x76015f);if(global[_0x590900(0x157)]){const _0x276c23=await _0x341f45['connectOverCDP'][_0x590900(0x1bd)](this,[''+Constants[_0x590900(0xfe)]+_0x47e9b8[_0x590900(0x121)](encodeURIComponent,JSON[_0x590900(0x18c)](_0x271df2))]);return PlaywrightSessionDetails[_0x590900(0x1b3)](_0x276c23,_0x36c796,_0x1a1135),_0x276c23;}return _0x191af4[_0x590900(0x1bd)](this,arguments)['then'](_0xcd8279=>{const _0x37c34b=_0x590900;let _0x4fde81=_0x65d302[_0x37c34b(0x120)];return _0x431708['sItBe'](typeof _0x65d302,_0x431708[_0x37c34b(0x12d)])&&(_0x4fde81=_0x65d302),PlaywrightSessionDetails[_0x37c34b(0x1b3)](_0xcd8279,_0x36c796,_0x4fde81),_0xcd8279;});};}});const _0x429a39=_0x341f45[_0x36a849(0x132)];Object[_0x36a849(0x1da)](_0x341f45,_0x367a78[_0x36a849(0x109)],{'get':function(){return async function _0x57a346(){const _0x38c49d=a4_0x3c05;return _0x429a39['apply'](this,arguments)[_0x38c49d(0x18a)](_0x20aa73=>{const _0x4c84b4=_0x38c49d;return PlaywrightSessionDetails[_0x4c84b4(0x1b3)](_0x20aa73,null),_0x20aa73;});};}});};class O11yHelper{['currentTest']=null;[a4_0xe971b(0x1dd)]=null;['enabled']=![];['frameworkName']=![];constructor(_0x74e6b3,_0x3d2b40){const _0x507186=a4_0xe971b,_0x2e02ee={'knWdU':_0x507186(0x1bb),'pLFPt':function(_0xa011c){return _0xa011c();},'jTTSZ':function(_0x4f0180,_0x351439){return _0x4f0180===_0x351439;},'ejxfd':_0x507186(0x1ba),'ZnNMV':function(_0x60bb4b,_0x4f665f){return _0x60bb4b(_0x4f665f);}},_0xe64fc=_0x2e02ee[_0x507186(0x1bc)]['split']('|');let _0x38acb2=0x0;while(!![]){switch(_0xe64fc[_0x38acb2++]){case'0':this[_0x507186(0x103)]=_0x2e02ee[_0x507186(0x108)](getTestEnv);continue;case'1':this['_paths']=new testOpsHelper[(_0x507186(0x14f))]({'cwd':process[_0x507186(0x158)]()},this['_testEnv'][_0x507186(0x19a)]);continue;case'2':this[_0x507186(0x134)]=_0x3d2b40[_0x507186(0x134)];continue;case'3':this[_0x507186(0x1b9)]&&_0x2e02ee['jTTSZ'](this['driver']['constructor'][_0x507186(0x1c2)],_0x2e02ee['ejxfd'])&&_0x2e02ee['ZnNMV'](mockPWBrowserType,null);continue;case'4':this[_0x507186(0x175)]=_0x2e02ee[_0x507186(0x108)](shouldProcessEventForTesthub);continue;case'5':this[_0x507186(0x1b9)]=_0x74e6b3;continue;}break;}}['start'](){const _0x1e7c0a=a4_0xe971b;if(!this[_0x1e7c0a(0x175)])return;testOpsHelper['patchConsoleLogger'](),process[_0x1e7c0a(0x195)]('bs:addLog:'+process['pid']),process['on'](_0x1e7c0a(0x14c)+process[_0x1e7c0a(0x1d6)],this[_0x1e7c0a(0x115)][_0x1e7c0a(0xf7)](this));}async[a4_0xe971b(0x1a0)](){const _0x5573e8=a4_0xe971b;await RequestQueueHandler[_0x5573e8(0x196)]()[_0x5573e8(0x13b)]();}async[a4_0xe971b(0x115)](_0x2c99ae){const _0x3efb9a=a4_0xe971b,_0x36029d={'kKbpg':_0x3efb9a(0x19f),'JGuCv':function(_0x4c6dfb,_0xb69d88){return _0x4c6dfb(_0xb69d88);}};try{this['currentHook']&&!this[_0x3efb9a(0x1dd)]['markedStatus']&&(_0x2c99ae[_0x3efb9a(0x148)]=this[_0x3efb9a(0x1dd)][_0x3efb9a(0x10f)]);!_0x2c99ae[_0x3efb9a(0x148)]&&this[_0x3efb9a(0x13c)]&&!this[_0x3efb9a(0x13c)][_0x3efb9a(0xfc)]&&(_0x2c99ae[_0x3efb9a(0x1e3)]=this[_0x3efb9a(0x13c)]['testAnalyticsId']);if(_0x2c99ae[_0x3efb9a(0x148)]||_0x2c99ae[_0x3efb9a(0x1e3)]){const _0x57c6c3={};_0x57c6c3[_0x3efb9a(0x190)]=_0x36029d[_0x3efb9a(0x1c0)],_0x57c6c3[_0x3efb9a(0x181)]=[_0x2c99ae],await SessionHandler['uploadEventData'](_0x57c6c3);}}catch(_0x2ec46c){_0x36029d[_0x3efb9a(0x139)](debug,'Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x2ec46c);}}async[a4_0xe971b(0x198)](_0x2d384f){const _0x2ba663=a4_0xe971b,_0x3eb0f6={'vqmRc':_0x2ba663(0x114),'AMuwd':function(_0x5ef9ab,_0x337836){return _0x5ef9ab(_0x337836);}};if(!this[_0x2ba663(0x175)])return;const _0xb79f5c=this[_0x2ba663(0x124)](this[_0x2ba663(0x1b9)]);try{const _0x387013={};_0x387013['uuid']=_0x2d384f,_0x387013['integrations']=_0xb79f5c;const _0xe6caeb=_0x387013,_0x3c2308={};_0x3c2308[_0x2ba663(0x190)]=_0x3eb0f6[_0x2ba663(0x1d8)],_0x3c2308[_0x2ba663(0x191)]=_0xe6caeb,await SessionHandler['uploadEventData'](_0x3c2308);}catch(_0x20deba){_0x3eb0f6[_0x2ba663(0x140)](debug,_0x2ba663(0x100)+_0x20deba);}}[a4_0xe971b(0x124)](_0xa79628){const _0x19d2e2=a4_0xe971b,_0x3e1d12={'kNEpS':function(_0x5ba059,_0x63a67b){return _0x5ba059(_0x63a67b);}};return _0x3e1d12[_0x19d2e2(0x1a9)](fetchPlatformDetails,_0xa79628);}[a4_0xe971b(0x18e)]=_0x4abc28=>{const _0x57d158=a4_0xe971b,_0x4b70a4={};_0x4b70a4['BtKqb']=_0x57d158(0x1e5),_0x4b70a4[_0x57d158(0x1b1)]=_0x57d158(0x1c9);const _0x4e0056=_0x4b70a4;if(!_0x4abc28||!_0x4abc28[_0x57d158(0x131)])return;[_0x4e0056[_0x57d158(0x1a8)],_0x4e0056['EBfAH']][_0x57d158(0x1ae)](_0x4b4020=>{const _0x47be75=_0x57d158,_0x5e539a=_0x4abc28['parent'][_0x4b4020];_0x5e539a[_0x47be75(0x1ae)](_0x10b375=>{const _0x37a76b=_0x47be75;_0x10b375['hookAnalyticsId']&&(_0x10b375[_0x37a76b(0x10f)]=null);});});};[a4_0xe971b(0x159)](_0x218af3){const _0x5f3350=a4_0xe971b,_0x3a0079={'ZOFjE':_0x5f3350(0x1c3),'SLupi':function(_0x44dd08){return _0x44dd08();},'uAEzJ':function(_0x5bdf69,_0x114520){return _0x5bdf69===_0x114520;},'YggjU':_0x5f3350(0x1c9),'OFsdx':_0x5f3350(0x142),'KyYiu':_0x5f3350(0x14e),'yiMau':'_beforeEach'};if(!_0x218af3||!_0x218af3[_0x5f3350(0x131)])return;[_0x3a0079[_0x5f3350(0x166)],_0x3a0079['KyYiu'],_0x3a0079[_0x5f3350(0x104)],_0x3a0079[_0x5f3350(0x112)]]['forEach'](_0x20c99b=>{const _0x2500a5=_0x5f3350,_0x430803=_0x218af3[_0x2500a5(0x131)][_0x20c99b]||[];_0x430803[_0x2500a5(0x1ae)](_0x1cb4ba=>{const _0x1af67a=_0x2500a5;if(_0x1cb4ba[_0x1af67a(0x128)][_0x1af67a(0x1d7)](_0x3a0079[_0x1af67a(0x102)]))return;if(!_0x1cb4ba[_0x1af67a(0x10f)])_0x1cb4ba[_0x1af67a(0x10f)]=_0x3a0079['SLupi'](uuidv4);else _0x1cb4ba[_0x1af67a(0xfc)]&&_0x3a0079[_0x1af67a(0x138)](_0x20c99b,_0x3a0079[_0x1af67a(0x112)])&&(_0x1cb4ba[_0x1af67a(0x10f)]=_0x3a0079['SLupi'](uuidv4),delete _0x1cb4ba[_0x1af67a(0xfc)]);});}),this[_0x5f3350(0x159)](_0x218af3[_0x5f3350(0x131)]);}[a4_0xe971b(0x1cc)](_0xb5d408){const _0x273e13=a4_0xe971b,_0x2d76c7={};_0x2d76c7[_0x273e13(0x192)]=_0x273e13(0x142),_0x2d76c7['lzYzw']=_0x273e13(0x14e),_0x2d76c7['nIgDd']=_0x273e13(0x1e5),_0x2d76c7[_0x273e13(0x16c)]=_0x273e13(0x1c9);const _0x260909=_0x2d76c7;if(!_0xb5d408||!_0xb5d408['parent'])return[];const _0x31a38d=[];return[_0x260909[_0x273e13(0x192)],_0x260909[_0x273e13(0x19b)],_0x260909[_0x273e13(0x1de)],_0x260909[_0x273e13(0x16c)]][_0x273e13(0x1ae)](_0x1cd53b=>{const _0x49cbee=_0x273e13,_0x369594=_0xb5d408[_0x49cbee(0x131)][_0x1cd53b]||[];_0x369594[_0x49cbee(0x1ae)](_0x162ffb=>{const _0x4f114b=_0x49cbee;_0x162ffb[_0x4f114b(0x10f)]&&_0x31a38d['push'](_0x162ffb[_0x4f114b(0x10f)]);});}),[][_0x273e13(0x130)](_0x31a38d,this[_0x273e13(0x1cc)](_0xb5d408['parent']));}[a4_0xe971b(0x173)](_0x497ead){const _0x5d8709=a4_0xe971b,_0x2d5d5e=/^"(?<hook>.*)" hook:.*$/,_0x41590c=_0x497ead['title'],_0x24d30a=_0x41590c['match'](_0x2d5d5e);if(_0x24d30a&&_0x24d30a[_0x5d8709(0x101)])return _0x24d30a[_0x5d8709(0x101)][_0x5d8709(0x188)][_0x5d8709(0x13a)]()[_0x5d8709(0x154)]('\x20','_');return null;}[a4_0xe971b(0x1a6)](_0x3d6670){const _0x116ac3=a4_0xe971b,_0x1052d9={};_0x1052d9['tXsZh']=function(_0x1b24bf,_0x54a8a1){return _0x1b24bf===_0x54a8a1;},_0x1052d9[_0x116ac3(0x17c)]=_0x116ac3(0x111),_0x1052d9[_0x116ac3(0x1ce)]='config';const _0x2ec71a=_0x1052d9,_0x1c56fe=path[_0x116ac3(0x106)];if(_0x2ec71a[_0x116ac3(0x125)](_0x3d6670,null)||_0x2ec71a[_0x116ac3(0x125)](_0x3d6670,'')||_0x2ec71a[_0x116ac3(0x125)](_0x3d6670,_0x1c56fe))return null;try{return fs[_0x116ac3(0x1a2)](path[_0x116ac3(0x118)](_0x3d6670,_0x2ec71a[_0x116ac3(0x17c)],_0x2ec71a[_0x116ac3(0x1ce)])),_0x3d6670;}catch(_0xa88f70){const _0x110c92=path[_0x116ac3(0x1a7)](_0x3d6670);return this['findGitConfig'](_0x110c92);}}[a4_0xe971b(0x187)](_0x37687b){const _0x4161e7=a4_0xe971b,_0x4d8f7c={};_0x4d8f7c[_0x4161e7(0x1ca)]=function(_0x2056ca,_0xad015d){return _0x2056ca>_0xad015d;};const _0x20a320=_0x4d8f7c;if(_0x37687b[_0x4161e7(0x136)])return _0x37687b[_0x4161e7(0x136)];if(_0x37687b[_0x4161e7(0x11a)]){const _0xa8af2=_0x37687b[_0x4161e7(0x11a)][_0x4161e7(0x13c)]?this[_0x4161e7(0x187)](_0x37687b[_0x4161e7(0x11a)][_0x4161e7(0x13c)]):null;if(_0xa8af2)return _0xa8af2;}if(_0x37687b[_0x4161e7(0x131)]){const _0x54afb8=this[_0x4161e7(0x187)](_0x37687b['parent'])||(_0x37687b[_0x4161e7(0x131)][_0x4161e7(0x11a)]&&_0x37687b[_0x4161e7(0x131)][_0x4161e7(0x11a)][_0x4161e7(0x13c)]?this[_0x4161e7(0x187)](_0x37687b[_0x4161e7(0x131)][_0x4161e7(0x11a)][_0x4161e7(0x13c)]):null);if(_0x54afb8)return _0x54afb8;_0x37687b[_0x4161e7(0x131)][_0x4161e7(0x12e)]&&_0x20a320[_0x4161e7(0x1ca)](_0x37687b[_0x4161e7(0x131)][_0x4161e7(0x12e)][_0x4161e7(0x11f)],0x0)&&_0x37687b[_0x4161e7(0x131)][_0x4161e7(0x12e)][_0x4161e7(0x1ae)](_0x5642e3=>{const _0x5ef80e=_0x4161e7,_0x50dbf3=_0x5642e3[_0x5ef80e(0x11a)]?this[_0x5ef80e(0x187)](_0x5642e3['ctx']):null;if(_0x50dbf3)return _0x50dbf3;});}return null;}[a4_0xe971b(0x180)](_0x2b34ff){const _0x54a166=a4_0xe971b,_0x4242fa={};_0x4242fa[_0x54a166(0x10c)]=function(_0x18914b,_0x5623e1){return _0x18914b!==_0x5623e1;};const _0x4e1c3c=_0x4242fa,_0x23882c=[];if(_0x2b34ff&&_0x2b34ff[_0x54a166(0x131)]){let _0x269f2a=_0x2b34ff[_0x54a166(0x131)];while(_0x269f2a&&_0x4e1c3c[_0x54a166(0x10c)](_0x269f2a[_0x54a166(0x128)],'')){_0x23882c['push'](_0x269f2a[_0x54a166(0x128)]),_0x269f2a=_0x269f2a[_0x54a166(0x131)];}}return _0x23882c;}[a4_0xe971b(0x193)](_0x1ca5e3,_0x48b5b0,_0x2318f0=undefined){const _0x679283=a4_0xe971b,_0x54bd8c={'jKmxf':function(_0x287fbb,_0x5dc86a){return _0x287fbb(_0x5dc86a);},'aCsTS':function(_0x4a4ee3){return _0x4a4ee3();},'ATCEn':function(_0x5e71ee){return _0x5e71ee();},'XxUzu':_0x679283(0x137),'lgqWP':'err','tjsFL':function(_0x8218d2,_0x29448f){return _0x8218d2!==_0x29448f;},'MjaZZ':'File\x20path\x20could\x20not\x20be\x20found','mNIGs':_0x679283(0x186),'lpcYM':_0x679283(0x1be),'fvZar':'passed','zczID':_0x679283(0x17f),'qCtKI':_0x679283(0xf5),'QJbXz':function(_0x3b60af,_0x21bcc2){return _0x3b60af-_0x21bcc2;},'EbLIa':function(_0xf9a4b7,_0xf7a7f3,_0x379155,_0x1308c1,_0x1b6274){return _0xf9a4b7(_0xf7a7f3,_0x379155,_0x1308c1,_0x1b6274);},'TmeDN':function(_0x272e6a,_0x5a988f){return _0x272e6a!==_0x5a988f;},'zabld':'integrations','lnnEn':_0x679283(0x1c6),'KldJw':_0x679283(0x11b),'omLCs':_0x679283(0x144),'WhNfX':'backtrace','TDMHH':_0x679283(0x165),'RwHjC':_0x679283(0x1a4),'HkiYj':function(_0x2ae6a1,_0x177ad8){return _0x2ae6a1===_0x177ad8;},'jAfat':_0x679283(0x11d),'UyaCU':'test_run'};if(!this['enabled'])return;try{if(_0x48b5b0['fn']&&_0x48b5b0['fn'][_0x679283(0x174)]()['match'](/browserstack internal helper hook/))return;const _0x49bf4c=_0x54bd8c[_0x679283(0x1cf)](parseEvent,_0x1ca5e3);if(!_0x49bf4c)return;if(_0x49bf4c['test']){this[_0x679283(0x13c)]=_0x48b5b0,this[_0x679283(0x1dd)]=null;if(_0x49bf4c[_0x679283(0x179)]||_0x49bf4c[_0x679283(0x17f)]){_0x48b5b0[_0x679283(0x161)]=new Date(),_0x48b5b0[_0x679283(0xfc)]=![];if(!_0x48b5b0[_0x679283(0x1d0)])_0x48b5b0[_0x679283(0x1d0)]=_0x54bd8c[_0x679283(0x19d)](uuidv4);else _0x48b5b0[_0x679283(0xfc)]&&(!_0x48b5b0[_0x679283(0x1c4)]&&(_0x48b5b0[_0x679283(0x1c4)]=_0x48b5b0[_0x679283(0x1d0)]),_0x48b5b0[_0x679283(0x1d0)]=_0x54bd8c[_0x679283(0x19d)](uuidv4));}}else{if(_0x49bf4c[_0x679283(0x188)]){this[_0x679283(0x1dd)]=_0x48b5b0;if(_0x49bf4c[_0x679283(0x179)]){_0x48b5b0[_0x679283(0x161)]=new Date(),_0x48b5b0[_0x679283(0xfc)]=![];if(!_0x48b5b0[_0x679283(0x10f)])_0x48b5b0['hookAnalyticsId']=_0x54bd8c[_0x679283(0x1cd)](uuidv4);else _0x48b5b0['hookAnalyticsId']&&_0x48b5b0[_0x679283(0xfc)]&&(_0x48b5b0[_0x679283(0x10f)]=_0x54bd8c[_0x679283(0x19d)](uuidv4));}}}if(_0x49bf4c[_0x679283(0x183)]&&_0x48b5b0[_0x679283(0xfc)])return;let _0x2f5388;try{_0x2f5388=this[_0x679283(0x187)](_0x48b5b0);}catch(_0x37136a){logger[_0x679283(0xff)](_0x679283(0x160)+_0x37136a),_0x2f5388=null;}const _0x46a45d=_0x54bd8c[_0x679283(0x1cf)](require,_0x54bd8c[_0x679283(0x182)]);let _0x283736=[];_0x2318f0&&(_0x283736=[_0x2318f0,_0x54bd8c[_0x679283(0x199)]]);const _0x51765b=_0x54bd8c[_0x679283(0x1d9)](_0x48b5b0[_0x679283(0x17b)],undefined)?_0x46a45d['inspect'](_0x48b5b0[_0x679283(0x17b)][0x0]):_0x54bd8c['tjsFL'](_0x2318f0,undefined)?_0x2318f0['toString']():undefined,_0x44071b=_0x2f5388?this[_0x679283(0x1a6)](_0x2f5388):null,_0x4beea6=_0x2f5388?this[_0x679283(0x16f)]['prefixTestPath'](this['getRootParentFile'](_0x48b5b0)):_0x54bd8c[_0x679283(0x14d)];let _0x324fdf=_0x54bd8c[_0x679283(0xf6)];const _0x1f3670=!_0x49bf4c[_0x679283(0x179)]?new Date()[_0x679283(0x18b)]():null;if(_0x49bf4c[_0x679283(0x183)])_0x324fdf=_0x2318f0?_0x54bd8c[_0x679283(0x143)]:_0x54bd8c[_0x679283(0x1a1)],_0x48b5b0['markedStatus']=!![];else _0x49bf4c['skipped']&&(_0x324fdf=_0x54bd8c[_0x679283(0x1db)],_0x48b5b0[_0x679283(0xfc)]=!![]);const _0x389cf1={'framework':this[_0x679283(0x134)],'uuid':_0x48b5b0['testAnalyticsId']||_0x48b5b0['hookAnalyticsId'],'name':_0x48b5b0[_0x679283(0x128)],'body':{'lang':_0x54bd8c[_0x679283(0x16d)],'code':_0x48b5b0[_0x679283(0x10b)][_0x679283(0x174)]()},'type':_0x48b5b0['type'],'scope':_0x48b5b0[_0x679283(0xfa)](),'scopes':this[_0x679283(0x180)](_0x48b5b0),'file_name':_0x4beea6,'vc_filepath':_0x44071b?path[_0x679283(0x1b2)](_0x44071b,_0x2f5388):null,'location':_0x4beea6,'result':_0x324fdf,'failure_reason':_0x51765b,'duration_in_ms':_0x48b5b0[_0x679283(0x1c8)]||(_0x49bf4c['finished']||_0x49bf4c[_0x679283(0x17f)])?_0x54bd8c[_0x679283(0x12f)](Date['now'](),new Date(_0x48b5b0[_0x679283(0x161)])[_0x679283(0x1d2)]()):null,'started_at':new Date(_0x48b5b0[_0x679283(0x161)])[_0x679283(0x18b)](),'finished_at':_0x1f3670,'failure':testOpsHelper[_0x679283(0x1bf)][_0x679283(0x1bd)](null,_0x283736),'failure_type':!_0x51765b?null:testOpsHelper['getFailureType'](_0x51765b),'retry_of':_0x48b5b0[_0x679283(0x1c4)]||null,'tags':_0x48b5b0[_0x679283(0x146)]||[],'customRerunParam':{'rerun_name':_0x48b5b0[_0x679283(0xfa)]()}};_0x54bd8c[_0x679283(0x105)](appendTesthubParams,_0x389cf1,_0x1ca5e3,_0x48b5b0,FRAMEWORKS[_0x679283(0x11e)]);if(_0x49bf4c[_0x679283(0x188)])[_0x389cf1['hook_type'],_0x389cf1[_0x679283(0x1c2)]]=[this[_0x679283(0x173)](_0x48b5b0),_0x48b5b0[_0x679283(0x11a)][_0x679283(0x153)][_0x679283(0x128)]],_0x49bf4c[_0x679283(0x183)]?_0x54bd8c[_0x679283(0x15c)](_0x389cf1['result'],_0x54bd8c[_0x679283(0x143)])&&(_0x389cf1[_0x679283(0x177)]=_0x54bd8c[_0x679283(0x1a1)]):_0x389cf1[_0x679283(0x10b)]={};else _0x49bf4c[_0x679283(0x153)]&&(this['mapTestHooks'](_0x48b5b0),_0x49bf4c['skipped']&&this[_0x679283(0x18e)](_0x48b5b0),(_0x49bf4c[_0x679283(0x183)]||_0x49bf4c[_0x679283(0x17f)])&&(_0x389cf1[_0x679283(0x152)]=this[_0x679283(0x1cc)](_0x48b5b0)));this[_0x679283(0x1b9)]&&(_0x49bf4c[_0x679283(0x179)]||_0x49bf4c['skipped'])&&(_0x389cf1[_0x54bd8c[_0x679283(0x117)]]=this[_0x679283(0x124)](this['driver']));_0x49bf4c[_0x679283(0x153)]&&_0x49bf4c[_0x679283(0x183)]&&_0x48b5b0[_0x679283(0x12a)]&&(_0x389cf1[_0x54bd8c['lnnEn']]={'feature':{'name':_0x48b5b0[_0x679283(0x131)]['feature'][_0x679283(0x1c2)],'path':_0x389cf1['file_name'],'description':_0x48b5b0[_0x679283(0x131)][_0x679283(0x163)]},'scenario':{'name':_0x48b5b0[_0x679283(0x128)]},'steps':_0x48b5b0[_0x679283(0x12a)]});const _0x238c55=_0x389cf1[_0x54bd8c[_0x679283(0x189)]][0x0];_0x238c55&&(_0x389cf1[_0x54bd8c['omLCs']]=_0x238c55[_0x54bd8c[_0x679283(0xfd)]],_0x389cf1[_0x54bd8c['TDMHH']]=_0x238c55[_0x54bd8c[_0x679283(0x1af)]]);if(_0x48b5b0[_0x679283(0x12a)])for(const _0x289175 of _0x48b5b0[_0x679283(0x12a)]){!_0x289175[_0x679283(0x167)]&&(_0x289175[_0x679283(0x167)]=new Date()[_0x679283(0x18b)](),_0x54bd8c[_0x679283(0x15e)](_0x289175[_0x679283(0x177)],_0x54bd8c[_0x679283(0xf6)])&&(_0x238c55?(_0x289175[_0x679283(0x177)]=_0x54bd8c[_0x679283(0x143)],_0x289175[_0x679283(0x11b)]=_0x238c55[_0x54bd8c[_0x679283(0xfd)]][0x0]):_0x289175[_0x679283(0x177)]=_0x54bd8c['fvZar']));}const _0x3f103f={};_0x3f103f[_0x679283(0x190)]=_0x49bf4c['skipped']?TEST_EVENTS['TEST_RUN_FINISHED']:_0x1ca5e3;const _0x269e04=_0x3f103f;return _0x49bf4c[_0x679283(0x188)]?_0x269e04[_0x54bd8c['jAfat']]=_0x389cf1:_0x269e04[_0x54bd8c['UyaCU']]=_0x389cf1,_0x269e04;}catch(_0x4f4459){logger[_0x679283(0xff)]('Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'+_0x1ca5e3+_0x679283(0x13e)+_0x4f4459);}}async[a4_0xe971b(0x197)](_0x4bc9af,_0xe68811){const _0xb7de21=a4_0xe971b;if(!this[_0xb7de21(0x175)]||!_0xe68811||!_0x4bc9af)return![];try{return await SessionHandler[_0xb7de21(0x162)](_0xe68811);}catch(_0x27668a){logger[_0xb7de21(0xff)]('Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20'+_0x4bc9af+'\x20with\x20error\x20:\x20'+_0x27668a);}}[a4_0xe971b(0x15b)](_0x15d893){const _0x3f0dfd=a4_0xe971b,_0x3ebd11={};_0x3ebd11[_0x3f0dfd(0x16b)]=_0x3f0dfd(0x186);const _0x403d08=_0x3ebd11;return{'id':_0x15d893[_0x3f0dfd(0x15a)],'text':_0x15d893['text'],'keyword':_0x15d893[_0x3f0dfd(0x1ac)],'started_at':_0x15d893[_0x3f0dfd(0x161)]['toISOString'](),'result':_0x403d08['DAAow']};}[a4_0xe971b(0x12c)](_0x50d814){const _0x217bf7=a4_0xe971b,_0x44bc64={'bHScB':function(_0x4221b3){return _0x4221b3();}};!this[_0x217bf7(0x13c)][_0x217bf7(0x12a)]&&(this[_0x217bf7(0x13c)][_0x217bf7(0x12a)]=[]),!_0x50d814[_0x217bf7(0x15a)]&&(_0x50d814[_0x217bf7(0x15a)]=_0x44bc64[_0x217bf7(0x141)](uuidv4),_0x50d814[_0x217bf7(0x161)]=new Date(),this[_0x217bf7(0x13c)][_0x217bf7(0x12a)][_0x217bf7(0x15f)](this[_0x217bf7(0x15b)](_0x50d814)));}[a4_0xe971b(0x123)](_0x3d84c8){const _0x519f33=a4_0xe971b,_0xb85f7b={'zGAEC':function(_0x30190d,_0x14b2fe){return _0x30190d(_0x14b2fe);},'npETv':_0x519f33(0x1c1),'alKpF':_0x519f33(0x186),'hPVlx':_0x519f33(0x129),'OmzlU':function(_0xa27427,_0x36c8f1){return _0xa27427-_0x36c8f1;}};let _0x2ddb44=this[_0x519f33(0x13c)][_0x519f33(0x12a)][_0x519f33(0x149)](_0x5ab02c=>_0x5ab02c['id']===_0x3d84c8[_0x519f33(0x15a)]);_0xb85f7b[_0x519f33(0x1d4)](isUndefined,_0x2ddb44)&&(_0x2ddb44=this[_0x519f33(0x15b)](_0x3d84c8)),_0x2ddb44[_0x519f33(0x177)]=[_0xb85f7b[_0x519f33(0x107)],_0xb85f7b[_0x519f33(0x194)]][_0x519f33(0x1d7)](_0x3d84c8[_0x519f33(0x14b)])?_0xb85f7b['hPVlx']:_0x3d84c8['status'],_0x2ddb44['finished_at']=new Date()[_0x519f33(0x18b)](),_0x2ddb44[_0x519f33(0x1c8)]=_0xb85f7b[_0x519f33(0x168)](Date[_0x519f33(0x11c)](),_0x3d84c8['startedAt'][_0x519f33(0x1d2)]()),_0x2ddb44[_0x519f33(0x11b)]=_0x3d84c8['err']?_0x3d84c8[_0x519f33(0x170)]['message']:null;}}const a4_0x27d842={};a4_0x27d842[a4_0xe971b(0x145)]=O11yHelper,a4_0x27d842[a4_0xe971b(0x1e4)]=STATE_PASSED,a4_0x27d842[a4_0xe971b(0x15d)]=STATE_FAILED,a4_0x27d842[a4_0xe971b(0x1d3)]=TEST_EVENTS,module[a4_0xe971b(0x12b)]=a4_0x27d842;function a4_0x3c05(_0x4e9296,_0x26f239){const _0x3b0239=a4_0x3b02();return a4_0x3c05=function(_0x3c05a3,_0x34b485){_0x3c05a3=_0x3c05a3-0xf5;let _0x348ec4=_0x3b0239[_0x3c05a3];return _0x348ec4;},a4_0x3c05(_0x4e9296,_0x26f239);}function a4_0x3b02(){const _0x3cd733=['hWpuP','captureEvent','alKpF','removeAllListeners','getInstance','fireEvent','sendCBTInfo','lgqWP','location_prefix','lzYzw','25PnXHfT','aCsTS','toLowerCase','LogCreated','stop','fvZar','statSync','../playwright/accessibility-helper','expanded','TestRunFinished','findGitConfig','dirname','BtKqb','kNEpS','Failed\x20to\x20parse\x20wsendpoint\x20','ODLSP','keyword','UIDpN','forEach','RwHjC','../playwright/sessionDetails','EBfAH','relative','setupBrowserDetails','22684797ixdhOf','owPJz','993724KDRjry','../../helpers/test-observability/utils','match','driver','Playwright','4|2|5|0|1|3','knWdU','apply','failed','failureData','kKbpg','success','name','codeceptjs','retryOf','yxqtc','meta','2549976sgsfJp','duration','_afterEach','DCizP','VfQUc','getHooksForTest','ATCEn','ZsUJm','jKmxf','testAnalyticsId','hPWUl','getTime','TEST_EVENTS','zGAEC','1758897qkPiJt','pid','includes','vqmRc','tjsFL','defineProperty','zczID','TEST_RUN_STARTED','currentHook','nIgDd','lib','jasxw','HOjET','TEST_RUN_FINISHED','test_run_uuid','STATE_PASSED','_beforeEach','javascript','mNIGs','bind','7403400cZvcWW','BrowserType','fullTitle','uuid','markedStatus','WhNfX','PLAYWRIGHT_HUB_URL','debug','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','groups','ZOFjE','_testEnv','yiMau','EbLIa','sep','npETv','pLFPt','DDgON','LMdSZ','body','GCHDd','winstonLogger','string','hookAnalyticsId','../mocha/test-observability/mochaUtils','.git','YggjU','prototype','CBTSessionCreated','appendTestItemLog','../../helpers/test-observability/constants','zabld','join','NNvzz','ctx','failure','now','hook_run','CODECEPT','length','wsEndpoint','kNqqU','../../helpers/test-observability/requestQueueHandler','bddStepFinish','getCBTInfo','tXsZh','obsBrowserTypeMockApplied','IQaww','title','passed','bddSteps','exports','bddStepStart','ZkDlr','suites','QJbXz','concat','parent','launch','mqtPO','frameworkName','TestRunSkipped','file','util','uAEzJ','JGuCv','toUpperCase','shutdown','currentTest','MMDrX','\x20with\x20error\x20:\x20','OigBK','AMuwd','bHScB','_beforeAll','lpcYM','failure_backtrace','O11yHelper','tags','ZbRHq','hook_run_uuid','find','XASdE','status','bs:addLog:','MjaZZ','_afterAll','PathHelper','TestRunStarted','aCueN','hooks','test','replace','eXlXX','890661NLRADj','accessibilityPlatform','cwd','mapTestHooks','stepAnalyticsId','initializeBddStep','TmeDN','STATE_FAILED','HkiYj','push','failed\x20to\x20get\x20root\x20parent\x20file\x20','startedAt','uploadEventData','comment','njXPx','failure_reason_expanded','OFsdx','finished_at','OmzlU','fzWZZ','connect','DAAow','QUrWX','qCtKI','browserType.js','_paths','err','ZkgtJ','HOOK_RUN_STARTED','getHookType','toString','enabled','HookRunStarted','result','client','started','MZFuS','errorsDetailed','UTLsN','9pEzzbg','../utils/constants','skipped','getHierarchy','logs','XxUzu','finished','../../helpers/test-observability/sessionHandler','Not\x20able\x20to\x20import\x20Browser','pending','getRootParentFile','hook','KldJw','then','toISOString','stringify','../../helpers/helper','resetSkipTestHooks','59454xMyjhb','event_type','test_run'];a4_0x3b02=function(){return _0x3cd733;};return a4_0x3b02();}
1
+ const a4_0x3290a7=a4_0x5bed;(function(_0x29a11d,_0xf30ba1){const _0x798db=a4_0x5bed,_0x23e65c=_0x29a11d();while(!![]){try{const _0x1fc61d=parseInt(_0x798db(0x19c))/0x1+-parseInt(_0x798db(0xdc))/0x2+parseInt(_0x798db(0x17f))/0x3*(parseInt(_0x798db(0x179))/0x4)+-parseInt(_0x798db(0xd1))/0x5+-parseInt(_0x798db(0x1b7))/0x6+-parseInt(_0x798db(0x158))/0x7+parseInt(_0x798db(0x17d))/0x8;if(_0x1fc61d===_0xf30ba1)break;else _0x23e65c['push'](_0x23e65c['shift']());}catch(_0x2f3fdd){_0x23e65c['push'](_0x23e65c['shift']());}}}(a4_0x2cf1,0x187a8));function a4_0x5bed(_0x54855b,_0xdf027a){const _0x2cf175=a4_0x2cf1();return a4_0x5bed=function(_0x5bed58,_0x554b2f){_0x5bed58=_0x5bed58-0xcb;let _0x254f0d=_0x2cf175[_0x5bed58];return _0x254f0d;},a4_0x5bed(_0x54855b,_0xdf027a);}const path=require(a4_0x3290a7(0x139)),fs=require('fs'),{v4:uuidv4}=require(a4_0x3290a7(0xce)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x3290a7(0xd0)),testOpsHelper=require(a4_0x3290a7(0x11f)),{getTestEnv}=require(a4_0x3290a7(0x19e)),{FRAMEWORKS}=require(a4_0x3290a7(0x133)),logger=require('../../helpers/logger')[a4_0x3290a7(0x1a1)],SessionHandler=require(a4_0x3290a7(0x1b0)),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),PlaywrightSessionDetails=require('../playwright/sessionDetails'),debug=testOpsHelper[a4_0x3290a7(0x157)],{processAccessibilityCaps}=require('../playwright/accessibility-helper'),Constants=require(a4_0x3290a7(0xee)),{fetchPlatformDetails}=require(a4_0x3290a7(0xe7)),{shouldProcessEventForTesthub,appendTesthubParams}=require('../../helpers/testhub/utils.js'),STATE_PASSED=a4_0x3290a7(0x19f),STATE_FAILED=a4_0x3290a7(0x13a),a4_0x156e7f={};a4_0x156e7f[a4_0x3290a7(0xe9)]=a4_0x3290a7(0x18a),a4_0x156e7f[a4_0x3290a7(0x121)]=a4_0x3290a7(0xf1),a4_0x156e7f[a4_0x3290a7(0x169)]='TestRunSkipped',a4_0x156e7f[a4_0x3290a7(0xf7)]=a4_0x3290a7(0x196),a4_0x156e7f['HOOK_RUN_FINISHED']=a4_0x3290a7(0x127);const TEST_EVENTS=a4_0x156e7f,parseEvent=_0x51c5bd=>{const _0x197a70=a4_0x3290a7,_0x3f1cac={};_0x3f1cac[_0x197a70(0x102)]=function(_0x430848,_0x266e8d){return _0x430848<_0x266e8d;},_0x3f1cac['DnRhp']=function(_0x321f30,_0x45e34a){return _0x321f30===_0x45e34a;},_0x3f1cac[_0x197a70(0x198)]=_0x197a70(0x10f),_0x3f1cac['yPYYX']=_0x197a70(0x16c),_0x3f1cac[_0x197a70(0x146)]=_0x197a70(0x150),_0x3f1cac[_0x197a70(0xcc)]=function(_0x4bf32f,_0xffdee6){return _0x4bf32f===_0xffdee6;},_0x3f1cac[_0x197a70(0x140)]=_0x197a70(0x1a5),_0x3f1cac[_0x197a70(0x11d)]=_0x197a70(0xfa);const _0x3abec3=_0x3f1cac,_0x3a9271=_0x51c5bd[_0x197a70(0x1ab)](/^(.*)Run(.*)$/);if(!_0x3a9271)return null;if(_0x3abec3[_0x197a70(0x102)](_0x3a9271[_0x197a70(0x135)],0x3))return null;const _0x137c5a=_0x3a9271[0x1][_0x197a70(0x10e)](),_0xfd5278=_0x3a9271[0x2]['toLowerCase']();return{'test':_0x3abec3['DnRhp'](_0x137c5a,_0x3abec3[_0x197a70(0x198)]),'hook':_0x3abec3[_0x197a70(0x1b1)](_0x137c5a,_0x3abec3[_0x197a70(0xfc)]),'skipped':_0x3abec3[_0x197a70(0x1b1)](_0xfd5278,_0x3abec3['CBcuB']),'started':_0x3abec3[_0x197a70(0xcc)](_0xfd5278,_0x3abec3[_0x197a70(0x140)]),'finished':_0x3abec3['mWEEf'](_0xfd5278,_0x3abec3[_0x197a70(0x11d)])};},mockPWBrowserType=_0x3879ac=>{const _0x4c02ce=a4_0x3290a7,_0x4780ae={'YVYeJ':function(_0x47579c,_0x1a44ab,_0x56671a){return _0x47579c(_0x1a44ab,_0x56671a);},'WYdlR':_0x4c02ce(0x149),'jTwRv':function(_0xaa3702,_0x26ffef){return _0xaa3702(_0x26ffef);},'cMRvx':_0x4c02ce(0x1a4),'lIwAx':function(_0x20c34c,_0xd51341){return _0x20c34c===_0xd51341;},'XZRqN':_0x4c02ce(0x1a8),'JAhQN':_0x4c02ce(0xe3),'kyOXE':_0x4c02ce(0x11c),'nYgTI':'browserType.js','HWVci':function(_0x255211,_0xdecd2e){return _0x255211(_0xdecd2e);},'jYQis':function(_0x4c36d7,_0xf92021){return _0x4c36d7(_0xf92021);},'BVraY':'Not\x20able\x20to\x20import\x20Browser','eXxVx':_0x4c02ce(0x17c),'qMsXb':_0x4c02ce(0x1b5)},_0x4cda32=path[_0x4c02ce(0x12c)](_0x4780ae[_0x4c02ce(0x176)],_0x4780ae['kyOXE'],_0x4780ae['nYgTI']),_0x124dd7=_0x4780ae[_0x4c02ce(0xf0)](importFileFromPWCore,_0x4cda32);if(!_0x124dd7){_0x4780ae['jYQis'](debug,_0x4780ae[_0x4c02ce(0x161)]);return;}const _0x41229d=_0x124dd7['BrowserType'],_0xa13ce6=_0x41229d['prototype'];if(_0xa13ce6['obsBrowserTypeMockApplied'])return;const _0x249d62=_0xa13ce6[_0x4c02ce(0x17c)];Object[_0x4c02ce(0x199)](_0xa13ce6,_0x4780ae[_0x4c02ce(0x118)],{'get':function(){const _0x58ffc1={'oaKTO':function(_0x415ccf,_0xfedae3){const _0x4f7c03=a4_0x5bed;return _0x4780ae[_0x4f7c03(0xd2)](_0x415ccf,_0xfedae3);},'mWVLX':_0x4780ae['XZRqN']};return async function _0x35174e(_0x3b83b8,_0x3c25a5){const _0x525596=a4_0x5bed,_0x5715aa=_0x4780ae['YVYeJ'](nestedKeyValue,_0x3b83b8,[_0x4780ae[_0x525596(0xf9)]])||_0x3b83b8;let _0x30dfeb=null,_0x1e6cfe=null;try{[_0x1e6cfe,_0x30dfeb]=_0x5715aa?_0x4780ae['jTwRv'](parseWSEndpoint,_0x5715aa):[null,null],global[_0x525596(0x1a6)]=_0x30dfeb,_0x1e6cfe[_0x525596(0x11a)](_0x4780ae['cMRvx'])&&(global['__cloud_provider___']=_0x4780ae[_0x525596(0xd4)]);}catch(_0x33435f){logger[_0x525596(0x157)](_0x525596(0x17a)+_0x5715aa+'\x20'+_0x33435f);}_0x4780ae[_0x525596(0xe2)](processAccessibilityCaps,_0x30dfeb,_0x1e6cfe);if(global[_0x525596(0xf6)]){const _0x228a86=await _0xa13ce6[_0x525596(0x197)][_0x525596(0x14b)](this,[''+Constants[_0x525596(0x132)]+_0x4780ae[_0x525596(0x1ad)](encodeURIComponent,JSON['stringify'](_0x30dfeb))]);return PlaywrightSessionDetails[_0x525596(0x174)](_0x228a86,_0x3879ac,_0x5715aa),_0x228a86;}return _0x249d62[_0x525596(0x14b)](this,arguments)[_0x525596(0x192)](_0x1fb5a1=>{const _0x117def=_0x525596;let _0x293ab6=_0x3b83b8[_0x117def(0x149)];return _0x58ffc1[_0x117def(0x126)](typeof _0x3b83b8,_0x58ffc1['mWVLX'])&&(_0x293ab6=_0x3b83b8),PlaywrightSessionDetails[_0x117def(0x174)](_0x1fb5a1,_0x3879ac,_0x293ab6),_0x1fb5a1;});};}});const _0x246e00=_0xa13ce6['launch'];Object[_0x4c02ce(0x199)](_0xa13ce6,_0x4780ae['qMsXb'],{'get':function(){return async function _0x3efe1a(){const _0x263a0b=a4_0x5bed;return _0x246e00[_0x263a0b(0x14b)](this,arguments)[_0x263a0b(0x192)](_0x7fe7f1=>{const _0x595b74=_0x263a0b;return PlaywrightSessionDetails[_0x595b74(0x174)](_0x7fe7f1,null),_0x7fe7f1;});};}});};class O11yHelper{[a4_0x3290a7(0xf5)]=null;[a4_0x3290a7(0x11e)]=null;[a4_0x3290a7(0xd6)]=![];[a4_0x3290a7(0x188)]=![];constructor(_0x3d1549,_0x42ba91){const _0x1422c3=a4_0x3290a7,_0xfcda91={'KORku':_0x1422c3(0xe0),'apdhz':function(_0x55b99b,_0x407dca){return _0x55b99b===_0x407dca;},'kiWKi':_0x1422c3(0xed),'bSTEu':function(_0x3225c9,_0x3fe73d){return _0x3225c9(_0x3fe73d);},'zbYsc':function(_0x192a76){return _0x192a76();},'aGXpF':function(_0x5ee285){return _0x5ee285();}},_0x1c7904=_0xfcda91[_0x1422c3(0x13f)][_0x1422c3(0x190)]('|');let _0x1d9d55=0x0;while(!![]){switch(_0x1c7904[_0x1d9d55++]){case'0':this[_0x1422c3(0x104)]=_0x3d1549;continue;case'1':this[_0x1422c3(0x188)]=_0x42ba91[_0x1422c3(0x188)];continue;case'2':this['_paths']=new testOpsHelper[(_0x1422c3(0xec))]({'cwd':process[_0x1422c3(0x183)]()},this[_0x1422c3(0x186)][_0x1422c3(0x1a9)]);continue;case'3':this[_0x1422c3(0x104)]&&_0xfcda91['apdhz'](this[_0x1422c3(0x104)][_0x1422c3(0x147)][_0x1422c3(0x152)],_0xfcda91[_0x1422c3(0x19d)])&&_0xfcda91[_0x1422c3(0x109)](mockPWBrowserType,null);continue;case'4':this[_0x1422c3(0x186)]=_0xfcda91['zbYsc'](getTestEnv);continue;case'5':this[_0x1422c3(0xd6)]=_0xfcda91[_0x1422c3(0x125)](shouldProcessEventForTesthub);continue;}break;}}[a4_0x3290a7(0x180)](){const _0xd972d=a4_0x3290a7;if(!this[_0xd972d(0xd6)])return;testOpsHelper[_0xd972d(0x12d)](),process['removeAllListeners'](_0xd972d(0x11b)+process[_0xd972d(0xd5)]),process['on'](_0xd972d(0x11b)+process[_0xd972d(0xd5)],this[_0xd972d(0x113)][_0xd972d(0xd8)](this));}async[a4_0x3290a7(0x14d)](){const _0x7471d7=a4_0x3290a7;await RequestQueueHandler[_0x7471d7(0xd7)]()[_0x7471d7(0x101)]();}async[a4_0x3290a7(0x113)](_0x39c436){const _0x36e981=a4_0x3290a7,_0x3a0015={'MtXBx':_0x36e981(0xdb),'UlBTc':function(_0x379107,_0x485258){return _0x379107(_0x485258);}};try{this[_0x36e981(0x11e)]&&!this[_0x36e981(0x11e)][_0x36e981(0xfb)]&&(_0x39c436['hook_run_uuid']=this[_0x36e981(0x11e)]['hookAnalyticsId']);!_0x39c436[_0x36e981(0x1a3)]&&this[_0x36e981(0xf5)]&&!this[_0x36e981(0xf5)][_0x36e981(0xfb)]&&(_0x39c436[_0x36e981(0x10a)]=this[_0x36e981(0xf5)][_0x36e981(0x171)]);if(_0x39c436['hook_run_uuid']||_0x39c436[_0x36e981(0x10a)]){const _0x40f3a0={};_0x40f3a0['event_type']=_0x3a0015[_0x36e981(0x1b6)],_0x40f3a0[_0x36e981(0x112)]=[_0x39c436],await SessionHandler[_0x36e981(0x116)](_0x40f3a0);}}catch(_0x4cf18b){_0x3a0015[_0x36e981(0xfe)](debug,_0x36e981(0x1b8)+_0x4cf18b);}}async['sendCBTInfo'](_0xff7167){const _0x439db5=a4_0x3290a7,_0x32a353={'PcgPI':_0x439db5(0x193),'vDvRw':function(_0x2afc1c,_0x4b7d94){return _0x2afc1c(_0x4b7d94);}};if(!this[_0x439db5(0xd6)])return;const _0x4518bd=this['getCBTInfo'](this[_0x439db5(0x104)]);try{const _0x57496c={};_0x57496c[_0x439db5(0xce)]=_0xff7167,_0x57496c[_0x439db5(0xde)]=_0x4518bd;const _0x48a004=_0x57496c,_0x4364f0={};_0x4364f0[_0x439db5(0x1ac)]=_0x32a353[_0x439db5(0x16a)],_0x4364f0[_0x439db5(0x13b)]=_0x48a004,await SessionHandler['uploadEventData'](_0x4364f0);}catch(_0x1c7952){_0x32a353['vDvRw'](debug,'Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x1c7952);}}[a4_0x3290a7(0x159)](_0x4856ae){const _0x168c39=a4_0x3290a7,_0x124336={'whJJs':function(_0x518523,_0xd4117f){return _0x518523(_0xd4117f);}};return _0x124336[_0x168c39(0x1b2)](fetchPlatformDetails,_0x4856ae);}[a4_0x3290a7(0x114)]=_0x1a3428=>{const _0xea6317=a4_0x3290a7,_0x3d11c2={};_0x3d11c2[_0xea6317(0xda)]=_0xea6317(0x16e),_0x3d11c2['ZfXbV']=_0xea6317(0x12f);const _0x265449=_0x3d11c2;if(!_0x1a3428||!_0x1a3428[_0xea6317(0x19b)])return;[_0x265449['SQAiT'],_0x265449[_0xea6317(0x170)]][_0xea6317(0x18c)](_0x51ef62=>{const _0x5453da=_0xea6317,_0x399735=_0x1a3428[_0x5453da(0x19b)][_0x51ef62];_0x399735[_0x5453da(0x18c)](_0x489256=>{const _0x5b5ddc=_0x5453da;_0x489256['hookAnalyticsId']&&(_0x489256[_0x5b5ddc(0x100)]=null);});});};[a4_0x3290a7(0x19a)](_0x4bf1e9){const _0x7c660=a4_0x3290a7,_0x13886d={'sadNV':_0x7c660(0xcb),'eJQxc':function(_0x236f88){return _0x236f88();},'XvdMv':function(_0x5deb3a,_0x1e8c61){return _0x5deb3a===_0x1e8c61;},'EvqTu':'_afterEach','rUIkh':_0x7c660(0x115),'Naovs':'_afterAll','atdAk':_0x7c660(0x16e)};if(!_0x4bf1e9||!_0x4bf1e9[_0x7c660(0x19b)])return;[_0x13886d[_0x7c660(0x155)],_0x13886d[_0x7c660(0x173)],_0x13886d[_0x7c660(0x18b)],_0x13886d['EvqTu']]['forEach'](_0x3fbb73=>{const _0x589d21=_0x7c660,_0x309653={'ndSqg':_0x13886d[_0x589d21(0xef)],'lsvkU':function(_0x45e301){const _0x5b3158=_0x589d21;return _0x13886d[_0x5b3158(0xf2)](_0x45e301);},'KHcua':function(_0x25ec18,_0x2fd05e){const _0x280b09=_0x589d21;return _0x13886d[_0x280b09(0x1b4)](_0x25ec18,_0x2fd05e);},'IJbYH':_0x13886d['EvqTu']},_0x417514=_0x4bf1e9[_0x589d21(0x19b)][_0x3fbb73]||[];_0x417514[_0x589d21(0x18c)](_0x4bc036=>{const _0x5c4898=_0x589d21;if(_0x4bc036[_0x5c4898(0x128)][_0x5c4898(0x11a)](_0x309653[_0x5c4898(0xfd)]))return;if(!_0x4bc036[_0x5c4898(0x100)])_0x4bc036[_0x5c4898(0x100)]=_0x309653[_0x5c4898(0x187)](uuidv4);else _0x4bc036[_0x5c4898(0xfb)]&&_0x309653['KHcua'](_0x3fbb73,_0x309653[_0x5c4898(0x103)])&&(_0x4bc036['hookAnalyticsId']=_0x309653[_0x5c4898(0x187)](uuidv4),delete _0x4bc036['markedStatus']);});}),this['mapTestHooks'](_0x4bf1e9['parent']);}['getHooksForTest'](_0x39efbe){const _0x3bc1e6=a4_0x3290a7,_0x1a77b5={};_0x1a77b5['CpbCU']='_beforeAll',_0x1a77b5[_0x3bc1e6(0x111)]=_0x3bc1e6(0x1a2),_0x1a77b5[_0x3bc1e6(0xe6)]=_0x3bc1e6(0x16e),_0x1a77b5[_0x3bc1e6(0x15a)]=_0x3bc1e6(0x12f);const _0xd9c411=_0x1a77b5;if(!_0x39efbe||!_0x39efbe[_0x3bc1e6(0x19b)])return[];const _0x4d7ea8=[];return[_0xd9c411['CpbCU'],_0xd9c411['iXZbp'],_0xd9c411[_0x3bc1e6(0xe6)],_0xd9c411[_0x3bc1e6(0x15a)]][_0x3bc1e6(0x18c)](_0x34294a=>{const _0x560632=_0x3bc1e6,_0x5d6cf2=_0x39efbe[_0x560632(0x19b)][_0x34294a]||[];_0x5d6cf2[_0x560632(0x18c)](_0x277754=>{const _0xc60f1a=_0x560632;_0x277754[_0xc60f1a(0x100)]&&_0x4d7ea8['push'](_0x277754[_0xc60f1a(0x100)]);});}),[][_0x3bc1e6(0x122)](_0x4d7ea8,this['getHooksForTest'](_0x39efbe[_0x3bc1e6(0x19b)]));}[a4_0x3290a7(0x105)](_0x2bb861){const _0x4e2a99=a4_0x3290a7,_0x581171=/^"(?<hook>.*)" hook:.*$/,_0x576619=_0x2bb861[_0x4e2a99(0x128)],_0x5cfb6a=_0x576619['match'](_0x581171);if(_0x5cfb6a&&_0x5cfb6a['groups'])return _0x5cfb6a[_0x4e2a99(0x175)][_0x4e2a99(0x16c)][_0x4e2a99(0x137)]()[_0x4e2a99(0x17b)]('\x20','_');return null;}[a4_0x3290a7(0x156)](_0x4a029c){const _0x51f3a5=a4_0x3290a7,_0x5dfbf5={};_0x5dfbf5[_0x51f3a5(0x14f)]=function(_0xd9bf21,_0x41e94c){return _0xd9bf21===_0x41e94c;},_0x5dfbf5[_0x51f3a5(0x178)]=function(_0x9de925,_0x4b2ab4){return _0x9de925===_0x4b2ab4;},_0x5dfbf5[_0x51f3a5(0x151)]=_0x51f3a5(0x148),_0x5dfbf5[_0x51f3a5(0xeb)]=_0x51f3a5(0x134);const _0x24397f=_0x5dfbf5,_0x3fa8d6=path[_0x51f3a5(0x168)];if(_0x24397f[_0x51f3a5(0x14f)](_0x4a029c,null)||_0x24397f[_0x51f3a5(0x14f)](_0x4a029c,'')||_0x24397f[_0x51f3a5(0x178)](_0x4a029c,_0x3fa8d6))return null;try{return fs[_0x51f3a5(0x182)](path[_0x51f3a5(0x12c)](_0x4a029c,_0x24397f['BNBdJ'],_0x24397f[_0x51f3a5(0xeb)])),_0x4a029c;}catch(_0x4a9b3d){const _0x182c80=path['dirname'](_0x4a029c);return this[_0x51f3a5(0x156)](_0x182c80);}}['getRootParentFile'](_0x2c1f92){const _0x5da05e=a4_0x3290a7,_0x424957={};_0x424957[_0x5da05e(0x119)]=function(_0x416460,_0x2c11dc){return _0x416460>_0x2c11dc;};const _0x3c121d=_0x424957;if(_0x2c1f92[_0x5da05e(0x1b3)])return _0x2c1f92['file'];if(_0x2c1f92[_0x5da05e(0x130)]){const _0x4b3e08=_0x2c1f92[_0x5da05e(0x130)][_0x5da05e(0xf5)]?this[_0x5da05e(0xe4)](_0x2c1f92['ctx']['currentTest']):null;if(_0x4b3e08)return _0x4b3e08;}if(_0x2c1f92[_0x5da05e(0x19b)]){const _0x1b56a8=this['getRootParentFile'](_0x2c1f92[_0x5da05e(0x19b)])||(_0x2c1f92[_0x5da05e(0x19b)][_0x5da05e(0x130)]&&_0x2c1f92[_0x5da05e(0x19b)][_0x5da05e(0x130)][_0x5da05e(0xf5)]?this[_0x5da05e(0xe4)](_0x2c1f92[_0x5da05e(0x19b)][_0x5da05e(0x130)]['currentTest']):null);if(_0x1b56a8)return _0x1b56a8;_0x2c1f92[_0x5da05e(0x19b)][_0x5da05e(0x1aa)]&&_0x3c121d[_0x5da05e(0x119)](_0x2c1f92[_0x5da05e(0x19b)][_0x5da05e(0x1aa)][_0x5da05e(0x135)],0x0)&&_0x2c1f92[_0x5da05e(0x19b)][_0x5da05e(0x1aa)][_0x5da05e(0x18c)](_0x42b9c7=>{const _0x1fb481=_0x5da05e,_0x16ce90=_0x42b9c7[_0x1fb481(0x130)]?this[_0x1fb481(0xe4)](_0x42b9c7[_0x1fb481(0x130)]):null;if(_0x16ce90)return _0x16ce90;});}return null;}['getHierarchy'](_0xe7b163){const _0xb2fd11=a4_0x3290a7,_0x45c9ff={};_0x45c9ff[_0xb2fd11(0xcf)]=function(_0x22dbbe,_0x4e0b75){return _0x22dbbe!==_0x4e0b75;};const _0x215dde=_0x45c9ff,_0x51a38c=[];if(_0xe7b163&&_0xe7b163['parent']){let _0x4e30d3=_0xe7b163[_0xb2fd11(0x19b)];while(_0x4e30d3&&_0x215dde[_0xb2fd11(0xcf)](_0x4e30d3['title'],'')){_0x51a38c[_0xb2fd11(0xd3)](_0x4e30d3['title']),_0x4e30d3=_0x4e30d3['parent'];}}return _0x51a38c;}[a4_0x3290a7(0x18e)](_0x1280e8,_0x56c2a1,_0x14e91c=undefined){const _0x507b9f=a4_0x3290a7,_0x5b9045={'XaVBL':function(_0x29a7bc,_0xbe7fb5){return _0x29a7bc(_0xbe7fb5);},'mpaAL':function(_0x1f925c){return _0x1f925c();},'SqpxA':function(_0x199493){return _0x199493();},'BucfF':_0x507b9f(0x108),'YfxFj':_0x507b9f(0x10d),'gISfp':function(_0x5ce8cd,_0x2b4e86){return _0x5ce8cd!==_0x2b4e86;},'hcomV':function(_0x4dc113,_0x1d55be){return _0x4dc113!==_0x1d55be;},'tDYDG':_0x507b9f(0x124),'fGuJJ':'pending','VTZPU':_0x507b9f(0x13a),'xCcMv':'passed','DInee':_0x507b9f(0x150),'IiHCF':_0x507b9f(0x185),'UFLoJ':function(_0x59a8b6,_0x55dcb7){return _0x59a8b6-_0x55dcb7;},'lDMyC':function(_0x49b1e6,_0x4c369a,_0x12ea31,_0x26054d,_0x1e6f2a){return _0x49b1e6(_0x4c369a,_0x12ea31,_0x26054d,_0x1e6f2a);},'mOqKG':'integrations','tEVZV':'meta','zoSyT':_0x507b9f(0x16f),'FjaPL':_0x507b9f(0x184),'uhTIf':_0x507b9f(0x165),'FhgFu':_0x507b9f(0x16b),'uedwc':_0x507b9f(0x195),'SKybL':function(_0xe40de7,_0x4c2480){return _0xe40de7===_0x4c2480;},'RcgWJ':_0x507b9f(0x1af),'xneQK':_0x507b9f(0x13b)};if(!this[_0x507b9f(0xd6)])return;try{if(_0x56c2a1['fn']&&_0x56c2a1['fn'][_0x507b9f(0x13d)]()['match'](/browserstack internal helper hook/))return;const _0x2423e1=_0x5b9045['XaVBL'](parseEvent,_0x1280e8);if(!_0x2423e1)return;if(_0x2423e1[_0x507b9f(0x10f)]){this[_0x507b9f(0xf5)]=_0x56c2a1,this['currentHook']=null;if(_0x2423e1[_0x507b9f(0x1a5)]||_0x2423e1[_0x507b9f(0x150)]){_0x56c2a1[_0x507b9f(0x153)]=new Date(),_0x56c2a1[_0x507b9f(0xfb)]=![];if(!_0x56c2a1['testAnalyticsId'])_0x56c2a1[_0x507b9f(0x171)]=_0x5b9045['mpaAL'](uuidv4);else _0x56c2a1[_0x507b9f(0xfb)]&&(!_0x56c2a1[_0x507b9f(0x110)]&&(_0x56c2a1[_0x507b9f(0x110)]=_0x56c2a1['testAnalyticsId']),_0x56c2a1[_0x507b9f(0x171)]=_0x5b9045[_0x507b9f(0x15e)](uuidv4));}}else{if(_0x2423e1[_0x507b9f(0x16c)]){this[_0x507b9f(0x11e)]=_0x56c2a1;if(_0x2423e1[_0x507b9f(0x1a5)]){_0x56c2a1[_0x507b9f(0x153)]=new Date(),_0x56c2a1[_0x507b9f(0xfb)]=![];if(!_0x56c2a1['hookAnalyticsId'])_0x56c2a1[_0x507b9f(0x100)]=_0x5b9045[_0x507b9f(0x164)](uuidv4);else _0x56c2a1['hookAnalyticsId']&&_0x56c2a1['markedStatus']&&(_0x56c2a1[_0x507b9f(0x100)]=_0x5b9045[_0x507b9f(0x15e)](uuidv4));}}}if(_0x2423e1[_0x507b9f(0xfa)]&&_0x56c2a1[_0x507b9f(0xfb)])return;let _0x3bc149;try{_0x3bc149=this['getRootParentFile'](_0x56c2a1);}catch(_0x490902){logger[_0x507b9f(0x157)](_0x507b9f(0xe8)+_0x490902),_0x3bc149=null;}const _0x239e7c=_0x5b9045[_0x507b9f(0x131)](require,_0x5b9045[_0x507b9f(0x12b)]);let _0x204375=[];_0x14e91c&&(_0x204375=[_0x14e91c,_0x5b9045[_0x507b9f(0x120)]]);const _0x476491=_0x5b9045[_0x507b9f(0x13e)](_0x56c2a1[_0x507b9f(0x143)],undefined)?_0x239e7c['inspect'](_0x56c2a1[_0x507b9f(0x143)][0x0]):_0x5b9045['hcomV'](_0x14e91c,undefined)?_0x14e91c[_0x507b9f(0x13d)]():undefined,_0x2ef2f6=_0x3bc149?this['findGitConfig'](_0x3bc149):null,_0x933169=_0x3bc149?this[_0x507b9f(0xea)][_0x507b9f(0x194)](this[_0x507b9f(0xe4)](_0x56c2a1)):_0x5b9045['tDYDG'];let _0x47a510=_0x5b9045[_0x507b9f(0x191)];const _0x304fc2=!_0x2423e1[_0x507b9f(0x1a5)]?new Date()['toISOString']():null;if(_0x2423e1['finished'])_0x47a510=_0x14e91c?_0x5b9045['VTZPU']:_0x5b9045['xCcMv'],_0x56c2a1[_0x507b9f(0xfb)]=!![];else _0x2423e1['skipped']&&(_0x47a510=_0x5b9045[_0x507b9f(0x145)],_0x56c2a1[_0x507b9f(0xfb)]=!![]);const _0x43298d={'framework':this[_0x507b9f(0x188)],'uuid':_0x56c2a1[_0x507b9f(0x171)]||_0x56c2a1[_0x507b9f(0x100)],'name':_0x56c2a1[_0x507b9f(0x128)],'body':{'lang':_0x5b9045[_0x507b9f(0xe5)],'code':_0x56c2a1[_0x507b9f(0x106)][_0x507b9f(0x13d)]()},'type':_0x56c2a1[_0x507b9f(0x1a0)],'scope':_0x56c2a1[_0x507b9f(0x123)](),'scopes':this[_0x507b9f(0x129)](_0x56c2a1),'file_name':_0x933169,'vc_filepath':_0x2ef2f6?path[_0x507b9f(0x189)](_0x2ef2f6,_0x3bc149):null,'location':_0x933169,'result':_0x47a510,'failure_reason':_0x476491,'duration_in_ms':_0x56c2a1[_0x507b9f(0x141)]||(_0x2423e1[_0x507b9f(0xfa)]||_0x2423e1['skipped'])?_0x5b9045['UFLoJ'](Date['now'](),new Date(_0x56c2a1[_0x507b9f(0x153)])['getTime']()):null,'started_at':new Date(_0x56c2a1['startedAt'])[_0x507b9f(0xe1)](),'finished_at':_0x304fc2,'failure':testOpsHelper['failureData'][_0x507b9f(0x14b)](null,_0x204375),'failure_type':!_0x476491?null:testOpsHelper[_0x507b9f(0x144)](_0x476491),'retry_of':_0x56c2a1[_0x507b9f(0x110)]||null,'tags':_0x56c2a1[_0x507b9f(0x16d)]||[],'customRerunParam':{'rerun_name':_0x56c2a1[_0x507b9f(0x123)]()}};_0x5b9045[_0x507b9f(0x17e)](appendTesthubParams,_0x43298d,_0x1280e8,_0x56c2a1,FRAMEWORKS[_0x507b9f(0x117)]);if(_0x2423e1[_0x507b9f(0x16c)])[_0x43298d[_0x507b9f(0x13c)],_0x43298d[_0x507b9f(0x152)]]=[this[_0x507b9f(0x105)](_0x56c2a1),_0x56c2a1[_0x507b9f(0x130)][_0x507b9f(0x10f)][_0x507b9f(0x128)]],_0x2423e1[_0x507b9f(0xfa)]?_0x5b9045[_0x507b9f(0x13e)](_0x43298d['result'],_0x5b9045[_0x507b9f(0x177)])&&(_0x43298d[_0x507b9f(0x12e)]=_0x5b9045[_0x507b9f(0xf4)]):_0x43298d[_0x507b9f(0x106)]={};else _0x2423e1[_0x507b9f(0x10f)]&&(this[_0x507b9f(0x19a)](_0x56c2a1),_0x2423e1[_0x507b9f(0x150)]&&this['resetSkipTestHooks'](_0x56c2a1),(_0x2423e1[_0x507b9f(0xfa)]||_0x2423e1[_0x507b9f(0x150)])&&(_0x43298d['hooks']=this['getHooksForTest'](_0x56c2a1)));this[_0x507b9f(0x104)]&&(_0x2423e1[_0x507b9f(0x1a5)]||_0x2423e1[_0x507b9f(0x150)])&&(_0x43298d[_0x5b9045[_0x507b9f(0x154)]]=this[_0x507b9f(0x159)](this[_0x507b9f(0x104)]));_0x2423e1['test']&&_0x2423e1[_0x507b9f(0xfa)]&&_0x56c2a1[_0x507b9f(0xd9)]&&(_0x43298d[_0x5b9045[_0x507b9f(0xf8)]]={'feature':{'name':_0x56c2a1[_0x507b9f(0x19b)]['feature'][_0x507b9f(0x152)],'path':_0x43298d['file_name'],'description':_0x56c2a1[_0x507b9f(0x19b)][_0x507b9f(0x10c)]},'scenario':{'name':_0x56c2a1[_0x507b9f(0x128)]},'steps':_0x56c2a1['bddSteps']});const _0x3be62f=_0x43298d[_0x5b9045[_0x507b9f(0xdf)]][0x0];_0x3be62f&&(_0x43298d[_0x5b9045[_0x507b9f(0x15f)]]=_0x3be62f[_0x5b9045[_0x507b9f(0x15b)]],_0x43298d[_0x5b9045[_0x507b9f(0x10b)]]=_0x3be62f[_0x5b9045[_0x507b9f(0xcd)]]);if(_0x56c2a1['bddSteps'])for(const _0x263ff7 of _0x56c2a1[_0x507b9f(0xd9)]){!_0x263ff7['finished_at']&&(_0x263ff7['finished_at']=new Date()[_0x507b9f(0xe1)](),_0x5b9045[_0x507b9f(0x1a7)](_0x263ff7['result'],_0x5b9045[_0x507b9f(0x191)])&&(_0x3be62f?(_0x263ff7[_0x507b9f(0x12e)]=_0x5b9045[_0x507b9f(0x177)],_0x263ff7['failure']=_0x3be62f[_0x5b9045[_0x507b9f(0x15b)]][0x0]):_0x263ff7[_0x507b9f(0x12e)]=_0x5b9045[_0x507b9f(0xf4)]));}const _0x325c56={};_0x325c56[_0x507b9f(0x1ac)]=_0x2423e1[_0x507b9f(0x150)]?TEST_EVENTS[_0x507b9f(0x121)]:_0x1280e8;const _0xb4dbe8=_0x325c56;return _0x2423e1[_0x507b9f(0x16c)]?_0xb4dbe8[_0x5b9045[_0x507b9f(0xf3)]]=_0x43298d:_0xb4dbe8[_0x5b9045[_0x507b9f(0x172)]]=_0x43298d,_0xb4dbe8;}catch(_0x1fe805){logger[_0x507b9f(0x157)](_0x507b9f(0x15c)+_0x1280e8+'\x20with\x20error\x20:\x20'+_0x1fe805);}}async[a4_0x3290a7(0x18d)](_0x327237,_0x3fbd20){const _0x293d55=a4_0x3290a7;if(!this[_0x293d55(0xd6)]||!_0x3fbd20||!_0x327237)return![];try{return await SessionHandler[_0x293d55(0x116)](_0x3fbd20);}catch(_0x5da792){logger[_0x293d55(0x157)](_0x293d55(0x142)+_0x327237+'\x20with\x20error\x20:\x20'+_0x5da792);}}['initializeBddStep'](_0xa44bcf){const _0xfd796e=a4_0x3290a7,_0x1c3abc={};_0x1c3abc[_0xfd796e(0x14c)]='pending';const _0x6088d=_0x1c3abc;return{'id':_0xa44bcf['stepAnalyticsId'],'text':_0xa44bcf[_0xfd796e(0x12a)],'keyword':_0xa44bcf[_0xfd796e(0x15d)],'started_at':_0xa44bcf[_0xfd796e(0x153)][_0xfd796e(0xe1)](),'result':_0x6088d[_0xfd796e(0x14c)]};}[a4_0x3290a7(0x160)](_0x1c6f89){const _0x19be55=a4_0x3290a7,_0x36915d={'YEtJE':function(_0x455e9c){return _0x455e9c();}};!this['currentTest'][_0x19be55(0xd9)]&&(this[_0x19be55(0xf5)][_0x19be55(0xd9)]=[]),!_0x1c6f89[_0x19be55(0x181)]&&(_0x1c6f89[_0x19be55(0x181)]=_0x36915d['YEtJE'](uuidv4),_0x1c6f89['startedAt']=new Date(),this[_0x19be55(0xf5)][_0x19be55(0xd9)][_0x19be55(0xd3)](this[_0x19be55(0x162)](_0x1c6f89)));}['bddStepFinish'](_0x48e968){const _0x3fea34=a4_0x3290a7,_0x1da8f7={'XNkNx':function(_0x230575,_0x5c3be6){return _0x230575(_0x5c3be6);},'rjvbx':_0x3fea34(0x136),'UFOMR':'pending','UbgSC':'passed','YVPSg':function(_0x19603f,_0x64fe6){return _0x19603f-_0x64fe6;}};let _0x3f24aa=this[_0x3fea34(0xf5)][_0x3fea34(0xd9)]['find'](_0x3f518c=>_0x3f518c['id']===_0x48e968[_0x3fea34(0x181)]);_0x1da8f7['XNkNx'](isUndefined,_0x3f24aa)&&(_0x3f24aa=this[_0x3fea34(0x162)](_0x48e968)),_0x3f24aa['result']=[_0x1da8f7[_0x3fea34(0x107)],_0x1da8f7['UFOMR']][_0x3fea34(0x11a)](_0x48e968[_0x3fea34(0x163)])?_0x1da8f7[_0x3fea34(0x18f)]:_0x48e968[_0x3fea34(0x163)],_0x3f24aa[_0x3fea34(0x1ae)]=new Date()[_0x3fea34(0xe1)](),_0x3f24aa[_0x3fea34(0x141)]=_0x1da8f7['YVPSg'](Date[_0x3fea34(0x14a)](),_0x48e968[_0x3fea34(0x153)][_0x3fea34(0x14e)]()),_0x3f24aa['failure']=_0x48e968[_0x3fea34(0x10d)]?_0x48e968[_0x3fea34(0x10d)]['message']:null;}}function a4_0x2cf1(){const _0x213e2e=['YfxFj','TEST_RUN_FINISHED','concat','fullTitle','File\x20path\x20could\x20not\x20be\x20found','aGXpF','oaKTO','HookRunFinished','title','getHierarchy','text','BucfF','join','patchConsoleLogger','result','_afterEach','ctx','XaVBL','PLAYWRIGHT_HUB_URL','../../helpers/test-observability/constants','config','length','success','toUpperCase','TEST_EVENTS','path','failed','test_run','hook_type','toString','gISfp','KORku','pVHdx','duration','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','errorsDetailed','getFailureType','DInee','CBcuB','constructor','.git','wsEndpoint','now','apply','yDjbi','stop','getTime','LAbaM','skipped','BNBdJ','name','startedAt','mOqKG','rUIkh','findGitConfig','debug','1018668uKsyRg','getCBTInfo','ulleG','uhTIf','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','keyword','SqpxA','FjaPL','bddStepStart','BVraY','initializeBddStep','status','mpaAL','backtrace','exports','STATE_PASSED','sep','TEST_RUN_SKIPPED','PcgPI','failure_reason_expanded','hook','tags','_beforeEach','failure','ZfXbV','testAnalyticsId','xneQK','Naovs','setupBrowserDetails','groups','JAhQN','VTZPU','XOUMc','4zbRkrE','Failed\x20to\x20parse\x20wsendpoint\x20','replace','connect','2440360kLbxUA','lDMyC','83091EObsvu','start','stepAnalyticsId','statSync','cwd','failure_backtrace','javascript','_testEnv','lsvkU','frameworkName','relative','TestRunStarted','atdAk','forEach','fireEvent','captureEvent','UbgSC','split','fGuJJ','then','CBTSessionCreated','prefixTestPath','expanded','HookRunStarted','connectOverCDP','Kzblo','defineProperty','mapTestHooks','parent','118571hOfQoB','kiWKi','../mocha/test-observability/mochaUtils','passed','type','winstonLogger','_afterAll','hook_run_uuid','browserstack','started','__platformCaps','SKybL','string','location_prefix','suites','match','event_type','jTwRv','finished_at','hook_run','../../helpers/test-observability/sessionHandler','DnRhp','whJJs','file','XvdMv','launch','MtXBx','38592RdIfRA','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','codeceptjs','mWEEf','uedwc','uuid','nDdqH','../../helpers/helper','556705arrWxQ','lIwAx','push','cMRvx','pid','enabled','getInstance','bind','bddSteps','SQAiT','LogCreated','175504EMBtwd','STATE_FAILED','integrations','zoSyT','5|1|0|4|2|3','toISOString','YVYeJ','lib','getRootParentFile','IiHCF','Ozmcb','./helper.js','failed\x20to\x20get\x20root\x20parent\x20file\x20','TEST_RUN_STARTED','_paths','aZLai','PathHelper','Playwright','../utils/constants','sadNV','HWVci','TestRunFinished','eJQxc','RcgWJ','xCcMv','currentTest','accessibilityPlatform','HOOK_RUN_STARTED','tEVZV','WYdlR','finished','markedStatus','yPYYX','ndSqg','UlBTc','O11yHelper','hookAnalyticsId','shutdown','KygSZ','IJbYH','driver','getHookType','body','rjvbx','util','bSTEu','test_run_uuid','FhgFu','comment','err','toLowerCase','test','retryOf','iXZbp','logs','appendTestItemLog','resetSkipTestHooks','_beforeAll','uploadEventData','CODECEPT','eXxVx','KrqQW','includes','bs:addLog:','client','PrDhU','currentHook','../../helpers/test-observability/utils'];a4_0x2cf1=function(){return _0x213e2e;};return a4_0x2cf1();}const a4_0x13cbae={};a4_0x13cbae[a4_0x3290a7(0xff)]=O11yHelper,a4_0x13cbae[a4_0x3290a7(0x167)]=STATE_PASSED,a4_0x13cbae[a4_0x3290a7(0xdd)]=STATE_FAILED,a4_0x13cbae[a4_0x3290a7(0x138)]=TEST_EVENTS,module[a4_0x3290a7(0x166)]=a4_0x13cbae;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a5_0x5357(){const _0x43c172=['stepsPassed','Removing\x20tmp\x20directory\x20created\x20for\x20reports','cucumber-js','stepsPending','nJfNt','format','LxMUk','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','EjzLX','971037dDMkzz','join','initialize','996382rSUzVv','markSDKSetupComplete','length','testObservability','steps','scenarios','UYxWS','prepareCapabilities','VWnzi','path','getHubUrl','removeDir','UfGcH','CUCUMBER','../utils/constants','ZtsDv','MIccv','bgWhite','XZEBr','bUevZ','gCCAB','mergeOutputFiles','getErrorMessageFromResults','cyan','accessibilityOptions','printBuildLink','ccpvE','fOaqj','exports','push','****\x20RESULTS\x20****','\x20scenarios','testContextOptions','green','errorMessage','logLevel','\x20failed','parallelsPerPlatform','uZbkC','turboScaleUrl','splice','stringify','exitCode','finalExecution','processSuccess','\x20skipped','yellow','error\x20removing\x20tcg\x20config\x20file','../test-runner','skipSessionStatus','stepsFailed','scenariosFailed','isBrowserstackInfra','255iOuCIx','CKfSn','getUserWorkerCount','GyueY','util','352zcOMUT','config','1305Fxpeeu','forEach','stepsUndefined','stepsAmbiguous','red','89820CfQdRB','../../helpers/test-observability/utils','debug','\x20pending','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','20258tkBOsC','dGwnp','\x20steps','../../helpers/helper','unlinkSync','env','BROWSERSTACK_TEST_OBSERVABILITY_YML','getPlatformName','bold','WXTAD','createDir','handleApp','FRAMEWORKS','cwd','6031416raPmEk','launchBuild','getTCGConfigFilePaths','cucumber','../../helpers/BrowserStackSetup','setupTCGAuth','then','SGjlo','isUndefined','stop','stepsUnknown','argv','yINHd','31610QWmdXk','../../helpers/testhub/testhubHandler','rmdirSync','Generating\x20consolidated\x20report...','cndSN','1179420ZoWBaT','log','\x20passed'];a5_0x5357=function(){return _0x43c172;};return a5_0x5357();}const a5_0x2bdbf4=a5_0x3e6e;(function(_0x14b20f,_0x29837d){const _0x5d3a0a=a5_0x3e6e,_0x5128d4=_0x14b20f();while(!![]){try{const _0x14be6f=parseInt(_0x5d3a0a(0x19c))/0x1+-parseInt(_0x5d3a0a(0x1ab))/0x2+-parseInt(_0x5d3a0a(0x1a8))/0x3+parseInt(_0x5d3a0a(0x18a))/0x4+parseInt(_0x5d3a0a(0x1e0))/0x5*(-parseInt(_0x5d3a0a(0x177))/0x6)+parseInt(_0x5d3a0a(0x17c))/0x7*(parseInt(_0x5d3a0a(0x1e5))/0x8)+-parseInt(_0x5d3a0a(0x1e7))/0x9*(parseInt(_0x5d3a0a(0x197))/0xa);if(_0x14be6f===_0x29837d)break;else _0x5128d4['push'](_0x5128d4['shift']());}catch(_0x578fae){_0x5128d4['push'](_0x5128d4['shift']());}}}(a5_0x5357,0xbc36d));const fs=require('fs'),path=require(a5_0x2bdbf4(0x1b4)),util=require(a5_0x2bdbf4(0x1e4)),logger=require('../../helpers/logger')['winstonLogger'],{default:BrowserStackSetup}=require(a5_0x2bdbf4(0x18e)),helper=require(a5_0x2bdbf4(0x17f)),constants=require(a5_0x2bdbf4(0x1b9)),{parallelCucumberRun}=require(a5_0x2bdbf4(0x1db)),TestHubHandler=require(a5_0x2bdbf4(0x198)),testOpsHelper=require(a5_0x2bdbf4(0x178)),chalk=require('chalk');function a5_0x3e6e(_0x580af0,_0x46e048){const _0x5357b7=a5_0x5357();return a5_0x3e6e=function(_0x3e6e96,_0x1f3162){_0x3e6e96=_0x3e6e96-0x177;let _0x260c68=_0x5357b7[_0x3e6e96];return _0x260c68;},a5_0x3e6e(_0x580af0,_0x46e048);}function printCucumberStats(_0x5d449f){const _0x4e0c54=a5_0x2bdbf4,_0x1e69ec={};_0x1e69ec[_0x4e0c54(0x1bb)]=function(_0x2fc641,_0x3e3554){return _0x2fc641>_0x3e3554;},_0x1e69ec[_0x4e0c54(0x1c5)]=function(_0x487e7c,_0x41aded){return _0x487e7c-_0x41aded;},_0x1e69ec['ZtsDv']=function(_0x3eaf0e,_0x24eef8){return _0x3eaf0e-_0x24eef8;},_0x1e69ec[_0x4e0c54(0x1b1)]=function(_0x1b1376,_0x4e1341){return _0x1b1376>_0x4e1341;},_0x1e69ec[_0x4e0c54(0x1e3)]=function(_0x54e497,_0x5590b0){return _0x54e497>_0x5590b0;},_0x1e69ec[_0x4e0c54(0x17d)]=function(_0x1da588,_0x5604b1){return _0x1da588>_0x5604b1;},_0x1e69ec[_0x4e0c54(0x1be)]=function(_0x3cedc9,_0x4bd08f){return _0x3cedc9>_0x4bd08f;},_0x1e69ec[_0x4e0c54(0x19b)]=function(_0x27c038,_0x12e2ee){return _0x27c038+_0x12e2ee;},_0x1e69ec['ZVstN']=function(_0x49a65b,_0x129eb5){return _0x49a65b+_0x129eb5;},_0x1e69ec[_0x4e0c54(0x1a3)]=function(_0x224f93,_0x2bee84){return _0x224f93+_0x2bee84;},_0x1e69ec[_0x4e0c54(0x196)]=function(_0x509c51,_0x19c5ea){return _0x509c51===_0x19c5ea;},_0x1e69ec[_0x4e0c54(0x185)]=function(_0x1422a0,_0x2eeb3a){return _0x1422a0===_0x2eeb3a;},_0x1e69ec[_0x4e0c54(0x1bd)]=_0x4e0c54(0x1c9);const _0x123042=_0x1e69ec;let _0x4a8da7=0x0;if(_0x123042[_0x4e0c54(0x185)](_0x5d449f[_0x4e0c54(0x1ad)],0x0))return _0x4a8da7;return console['log'](chalk[_0x4e0c54(0x184)][_0x4e0c54(0x1bc)](_0x123042[_0x4e0c54(0x1bd)])),_0x5d449f[_0x4e0c54(0x1e8)](_0x5f3414=>{const _0x22f650=_0x4e0c54,_0x1391a1=_0x5f3414[0x0],_0x582770=_0x5f3414[0x1];console['log']('\x0a'+chalk[_0x22f650(0x184)][_0x22f650(0x1d9)](''+helper[_0x22f650(0x183)](_0x1391a1)));const _0x200967=_0x582770[_0x22f650(0x1b0)],_0x51a388=_0x582770[_0x22f650(0x1af)],_0x4499a0=_0x582770[_0x22f650(0x1de)],_0xa32335=_0x582770[_0x22f650(0x1dd)],_0x37774a=_0x582770[_0x22f650(0x19f)],_0x4dcdc6=_0x582770['stepsSkipped'],_0x183740=_0x582770[_0x22f650(0x1a2)],_0x4116ac=_0x582770[_0x22f650(0x1e9)],_0x184d95=_0x582770[_0x22f650(0x194)],_0x5ad0ef=_0x582770[_0x22f650(0x1ea)],_0x5acc41=_0x582770[_0x22f650(0x1d7)];let _0x290f91=_0x200967+_0x22f650(0x1ca);const _0x35db7c=_0x123042[_0x22f650(0x1bb)](_0x123042[_0x22f650(0x1c5)](_0x200967,_0x4499a0),0x0)?_0x123042[_0x22f650(0x1ba)](_0x200967,_0x4499a0):0x0;if(_0x123042[_0x22f650(0x1bb)](_0x4499a0,0x0)&&_0x123042[_0x22f650(0x1bb)](_0x35db7c,0x0))_0x290f91+='\x20('+chalk[_0x22f650(0x184)][_0x22f650(0x1eb)](_0x4499a0+_0x22f650(0x1cf))+',\x20'+chalk[_0x22f650(0x184)][_0x22f650(0x1cc)](_0x35db7c+_0x22f650(0x19e))+')';else(_0x123042[_0x22f650(0x1bb)](_0x4499a0,0x0)||_0x123042[_0x22f650(0x1bb)](_0x35db7c,0x0))&&(_0x290f91+=_0x123042[_0x22f650(0x1b1)](_0x4499a0,0x0)?'\x20('+chalk['bold'][_0x22f650(0x1eb)](_0x4499a0+_0x22f650(0x1cf))+')':'\x20('+chalk[_0x22f650(0x184)]['green'](_0x35db7c+_0x22f650(0x19e))+')');const _0x56a2ff=_0x51a388+_0x22f650(0x17e),_0x2c1b08=[];_0x123042['GyueY'](_0x5ad0ef,0x0)&&_0x2c1b08[_0x22f650(0x1c8)](''+chalk[_0x22f650(0x184)][_0x22f650(0x1eb)](_0x5ad0ef+'\x20ambiguous'));_0x123042[_0x22f650(0x1b1)](_0xa32335,0x0)&&_0x2c1b08[_0x22f650(0x1c8)](''+chalk[_0x22f650(0x184)][_0x22f650(0x1eb)](_0xa32335+_0x22f650(0x1cf)));_0x123042['MIccv'](_0x37774a,0x0)&&_0x2c1b08[_0x22f650(0x1c8)](''+chalk['bold']['green'](_0x37774a+_0x22f650(0x19e)));_0x123042['GyueY'](_0x183740,0x0)&&_0x2c1b08[_0x22f650(0x1c8)](''+chalk[_0x22f650(0x184)]['yellow'](_0x183740+_0x22f650(0x17a)));_0x123042[_0x22f650(0x17d)](_0x4dcdc6,0x0)&&_0x2c1b08[_0x22f650(0x1c8)](''+chalk['bold'][_0x22f650(0x1c2)](_0x4dcdc6+_0x22f650(0x1d8)));_0x123042[_0x22f650(0x1e3)](_0x4116ac,0x0)&&_0x2c1b08[_0x22f650(0x1c8)](''+chalk[_0x22f650(0x184)][_0x22f650(0x1d9)](_0x4116ac+'\x20undefined'));_0x123042[_0x22f650(0x1be)](_0x184d95,0x0)&&_0x2c1b08[_0x22f650(0x1c8)](''+chalk[_0x22f650(0x184)][_0x22f650(0x1d9)](_0x184d95+_0x22f650(0x1d8)));const _0x49497d=_0x123042[_0x22f650(0x19b)](_0x123042[_0x22f650(0x19b)](_0x123042['cndSN'](_0x56a2ff,'('),_0x2c1b08[_0x22f650(0x1a9)](',\x20')),')');console[_0x22f650(0x19d)](_0x123042['ZVstN'](_0x123042['nJfNt'](_0x123042[_0x22f650(0x19b)](_0x123042['cndSN']('\x0a',_0x290f91),'\x0a'),_0x49497d),'\x0a')),_0x123042[_0x22f650(0x196)](_0x5acc41,![])&&(_0x4a8da7=0x1);}),_0x4a8da7;}async function run(_0x16324a,_0x665e01){const _0x2a67ce=a5_0x2bdbf4,_0x84928={'uZbkC':function(_0x4566ab,_0x2cb30b){return _0x4566ab(_0x2cb30b);},'fOaqj':function(_0xbf04f8,_0x38fd1f){return _0xbf04f8>_0x38fd1f;},'jePyX':_0x2a67ce(0x19a),'VWnzi':_0x2a67ce(0x1a0),'oAlbi':_0x2a67ce(0x18d),'LxMUk':_0x2a67ce(0x1da),'TQwHk':_0x2a67ce(0x1a1),'YQwao':'tmp','SGjlo':function(_0x293f32,_0x37f564){return _0x293f32-_0x37f564;},'UfGcH':function(_0x22c9f0,_0x494d66){return _0x22c9f0>=_0x494d66;},'CKfSn':function(_0x2a0238,_0x493974){return _0x2a0238!=_0x493974;},'gCCAB':'false','EjzLX':function(_0x166dc1,_0x5d8d2f,_0x172b8b,_0x45315c,_0x5a0e39,_0x2fc54b){return _0x166dc1(_0x5d8d2f,_0x172b8b,_0x45315c,_0x5a0e39,_0x2fc54b);}},_0x438d35=new BrowserStackSetup(_0x16324a,_0x84928['TQwHk']);await _0x438d35[_0x2a67ce(0x1aa)]();!helper[_0x2a67ce(0x1df)]()&&await _0x438d35[_0x2a67ce(0x18f)]();await helper[_0x2a67ce(0x187)](_0x438d35[_0x2a67ce(0x1e6)]);const _0x4cb1c7=helper['useW3C'](_0x438d35[_0x2a67ce(0x1e6)]),_0x1e6cc5=helper[_0x2a67ce(0x1b2)](_0x438d35[_0x2a67ce(0x1e6)],_0x4cb1c7,constants[_0x2a67ce(0x188)][_0x2a67ce(0x1b8)]);if(!_0x438d35[_0x2a67ce(0x1e6)])return;const _0x1cc2db=_0x438d35[_0x2a67ce(0x1e6)][_0x2a67ce(0x1d0)]||helper[_0x2a67ce(0x1e2)](_0x16324a,_0x665e01,_0x438d35[_0x2a67ce(0x1e6)],constants['FRAMEWORKS']['CUCUMBER'])||0x1,_0x23615a={'server':helper[_0x2a67ce(0x1b5)](_0x438d35[_0x2a67ce(0x1e6)]),'proxySettings':_0x438d35[_0x2a67ce(0x1e6)]['proxySettings'],'maxWorkers':_0x1cc2db,'browserStackLogLevel':_0x438d35[_0x2a67ce(0x1e6)][_0x2a67ce(0x1ce)],'skipSessionName':_0x438d35[_0x2a67ce(0x1e6)]['testContextOptions']['skipSessionName'],'skipSessionStatus':_0x438d35[_0x2a67ce(0x1e6)][_0x2a67ce(0x1cb)][_0x2a67ce(0x1dc)],'turboScaleUrl':_0x438d35[_0x2a67ce(0x1e6)][_0x2a67ce(0x1d2)]},_0x4f5564=process[_0x2a67ce(0x195)],[_0x4002f9,_0x5f5508]=helper['parseFormatters'](_0x4f5564),_0xeff23=path[_0x2a67ce(0x1a9)](process[_0x2a67ce(0x189)](),_0x84928['YQwao']);if(_0x84928['fOaqj'](_0x5f5508['length'],0x0)){helper[_0x2a67ce(0x186)](_0xeff23);for(let _0x3c2bd4=_0x84928[_0x2a67ce(0x191)](_0x4002f9[_0x2a67ce(0x1ad)],0x1);_0x84928[_0x2a67ce(0x1b7)](_0x3c2bd4,0x0);_0x3c2bd4--){_0x4f5564[_0x2a67ce(0x1d3)](_0x4002f9[_0x3c2bd4],0x2);}}!helper[_0x2a67ce(0x192)](_0x438d35[_0x2a67ce(0x1e6)]['accessibilityOptions'])&&(process[_0x2a67ce(0x181)][_0x2a67ce(0x17b)]=JSON[_0x2a67ce(0x1d4)](_0x438d35[_0x2a67ce(0x1e6)][_0x2a67ce(0x1c3)]));_0x84928[_0x2a67ce(0x1e1)](_0x438d35[_0x2a67ce(0x1e6)][_0x2a67ce(0x1ae)],null)?process[_0x2a67ce(0x181)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x438d35[_0x2a67ce(0x1e6)][_0x2a67ce(0x1ae)]:process[_0x2a67ce(0x181)][_0x2a67ce(0x182)]=_0x84928[_0x2a67ce(0x1bf)];const _0x2cb850=await TestHubHandler[_0x2a67ce(0x18b)](constants['FRAMEWORKS']['CUCUMBER'],_0x438d35);helper[_0x2a67ce(0x1ac)]();let _0x37b6fd;_0x84928[_0x2a67ce(0x1a7)](parallelCucumberRun,_0x1e6cc5,_0x23615a,_0x438d35[_0x2a67ce(0x1e6)],_0x4f5564,_0x5f5508)[_0x2a67ce(0x190)](async _0x2152aa=>{const _0xa36049=_0x2a67ce;_0x37b6fd=_0x2152aa;const _0x2e14c6=_0x84928[_0xa36049(0x1d1)](printCucumberStats,_0x2152aa);process[_0xa36049(0x1d5)]=_0x2e14c6,_0x84928[_0xa36049(0x1c6)](_0x5f5508['length'],0x0)&&(logger[_0xa36049(0x179)](_0x84928['jePyX']),helper[_0xa36049(0x1c0)](_0xeff23,_0x5f5508),logger[_0xa36049(0x179)](_0x84928[_0xa36049(0x1b3)]),helper[_0xa36049(0x1b6)](_0xeff23));})['finally'](async()=>{const _0x1c22bd=_0x2a67ce;_0x438d35[_0x1c22bd(0x1cd)]=helper[_0x1c22bd(0x1c1)](_0x37b6fd,_0x84928['oAlbi']),testOpsHelper[_0x1c22bd(0x1c4)]();try{await TestHubHandler[_0x1c22bd(0x193)]();}catch(_0x2f563b){logger[_0x1c22bd(0x179)](_0x1c22bd(0x1a6)+util[_0x1c22bd(0x1a4)](_0x2f563b));}try{const {browserstackFolderPath:_0x15c489,tcgConfigPath:_0x506aa6}=helper[_0x1c22bd(0x18c)]();fs[_0x1c22bd(0x180)](_0x506aa6),fs[_0x1c22bd(0x199)](_0x15c489);}catch(_0x3ba2fe){logger[_0x1c22bd(0x179)](_0x84928[_0x1c22bd(0x1a5)],_0x3ba2fe);}await helper[_0x1c22bd(0x1d6)](_0x438d35);});}module[a5_0x2bdbf4(0x1c7)]=run;
2
+ 'use strict';const a5_0x33b190=a5_0x30f9;(function(_0x3f4f3d,_0x6def00){const _0x35a1a3=a5_0x30f9,_0x382844=_0x3f4f3d();while(!![]){try{const _0x46c7f0=parseInt(_0x35a1a3(0x10c))/0x1+-parseInt(_0x35a1a3(0x144))/0x2+-parseInt(_0x35a1a3(0x125))/0x3*(-parseInt(_0x35a1a3(0xec))/0x4)+-parseInt(_0x35a1a3(0x142))/0x5*(-parseInt(_0x35a1a3(0xea))/0x6)+parseInt(_0x35a1a3(0x136))/0x7+-parseInt(_0x35a1a3(0x13f))/0x8+parseInt(_0x35a1a3(0x127))/0x9;if(_0x46c7f0===_0x6def00)break;else _0x382844['push'](_0x382844['shift']());}catch(_0x2c7439){_0x382844['push'](_0x382844['shift']());}}}(a5_0x44dc,0x7339e));const fs=require('fs'),path=require(a5_0x33b190(0x141)),util=require('util'),logger=require('../../helpers/logger')[a5_0x33b190(0x11d)],{default:BrowserStackSetup}=require(a5_0x33b190(0x119)),helper=require(a5_0x33b190(0x121)),utilities=require(a5_0x33b190(0x115)),constants=require(a5_0x33b190(0x122)),{parallelCucumberRun}=require(a5_0x33b190(0x139)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),testOpsHelper=require(a5_0x33b190(0xe5)),chalk=require(a5_0x33b190(0xe7));function printCucumberStats(_0x5d49a1){const _0xd8174=a5_0x33b190,_0x1c1c9f={};_0x1c1c9f[_0xd8174(0x130)]=function(_0x504c32,_0x8f178a){return _0x504c32>_0x8f178a;},_0x1c1c9f[_0xd8174(0x10f)]=function(_0x23147c,_0x39e566){return _0x23147c-_0x39e566;},_0x1c1c9f[_0xd8174(0xe2)]=function(_0x3e7b64,_0x36f08){return _0x3e7b64>_0x36f08;},_0x1c1c9f[_0xd8174(0x12c)]=function(_0x789410,_0x53513f){return _0x789410>_0x53513f;},_0x1c1c9f[_0xd8174(0xe1)]=function(_0x477523,_0x50e1c8){return _0x477523>_0x50e1c8;},_0x1c1c9f[_0xd8174(0x112)]=function(_0x3a07c3,_0x580bd3){return _0x3a07c3>_0x580bd3;},_0x1c1c9f[_0xd8174(0xf1)]=function(_0x152cd3,_0x4231db){return _0x152cd3+_0x4231db;},_0x1c1c9f['XvRVm']=function(_0xdc091d,_0x3f1662){return _0xdc091d+_0x3f1662;},_0x1c1c9f[_0xd8174(0x101)]=function(_0x51557e,_0x10e656){return _0x51557e===_0x10e656;},_0x1c1c9f['HZvzV']=_0xd8174(0x105);const _0x4e8c9b=_0x1c1c9f;let _0x55bdad=0x0;if(_0x4e8c9b['sMVpb'](_0x5d49a1[_0xd8174(0x14c)],0x0))return _0x55bdad;return console[_0xd8174(0x131)](chalk[_0xd8174(0x123)][_0xd8174(0x148)](_0x4e8c9b[_0xd8174(0x108)])),_0x5d49a1[_0xd8174(0x103)](_0x5ab464=>{const _0x3dacba=_0xd8174,_0x3f3cd6=_0x5ab464[0x0],_0x435af4=_0x5ab464[0x1];console[_0x3dacba(0x131)]('\x0a'+chalk[_0x3dacba(0x123)]['yellow'](''+helper[_0x3dacba(0xe8)](_0x3f3cd6)));const _0x72defc=_0x435af4[_0x3dacba(0x13d)],_0x3e977b=_0x435af4[_0x3dacba(0x14a)],_0x488b55=_0x435af4[_0x3dacba(0x150)],_0x4fdc1d=_0x435af4['stepsFailed'],_0x2567f5=_0x435af4['stepsPassed'],_0x11e818=_0x435af4[_0x3dacba(0x126)],_0x3d81ee=_0x435af4['stepsPending'],_0x25e5eb=_0x435af4[_0x3dacba(0xfc)],_0x15be26=_0x435af4[_0x3dacba(0x102)],_0x560a48=_0x435af4[_0x3dacba(0xf6)],_0x490923=_0x435af4[_0x3dacba(0x12e)];let _0x3f9aa3=_0x72defc+_0x3dacba(0x132);const _0x3048b2=_0x4e8c9b[_0x3dacba(0x130)](_0x4e8c9b['EqyZR'](_0x72defc,_0x488b55),0x0)?_0x4e8c9b[_0x3dacba(0x10f)](_0x72defc,_0x488b55):0x0;if(_0x4e8c9b[_0x3dacba(0x130)](_0x488b55,0x0)&&_0x4e8c9b[_0x3dacba(0xe2)](_0x3048b2,0x0))_0x3f9aa3+='\x20('+chalk['bold'][_0x3dacba(0x12d)](_0x488b55+'\x20failed')+',\x20'+chalk[_0x3dacba(0x123)][_0x3dacba(0x117)](_0x3048b2+_0x3dacba(0x13e))+')';else(_0x4e8c9b[_0x3dacba(0xe2)](_0x488b55,0x0)||_0x4e8c9b[_0x3dacba(0x12c)](_0x3048b2,0x0))&&(_0x3f9aa3+=_0x4e8c9b[_0x3dacba(0x12c)](_0x488b55,0x0)?'\x20('+chalk[_0x3dacba(0x123)][_0x3dacba(0x12d)](_0x488b55+_0x3dacba(0x109))+')':'\x20('+chalk['bold'][_0x3dacba(0x117)](_0x3048b2+_0x3dacba(0x13e))+')');const _0x3089c1=_0x3e977b+_0x3dacba(0x107),_0x3519bb=[];_0x4e8c9b['ZODUQ'](_0x560a48,0x0)&&_0x3519bb[_0x3dacba(0x14e)](''+chalk[_0x3dacba(0x123)][_0x3dacba(0x12d)](_0x560a48+_0x3dacba(0xfe)));_0x4e8c9b['AsCLf'](_0x4fdc1d,0x0)&&_0x3519bb['push'](''+chalk[_0x3dacba(0x123)][_0x3dacba(0x12d)](_0x4fdc1d+_0x3dacba(0x109)));_0x4e8c9b['AsCLf'](_0x2567f5,0x0)&&_0x3519bb['push'](''+chalk[_0x3dacba(0x123)][_0x3dacba(0x117)](_0x2567f5+'\x20passed'));_0x4e8c9b['ZODUQ'](_0x3d81ee,0x0)&&_0x3519bb['push'](''+chalk['bold']['yellow'](_0x3d81ee+_0x3dacba(0xf9)));_0x4e8c9b['fkxTs'](_0x11e818,0x0)&&_0x3519bb[_0x3dacba(0x14e)](''+chalk[_0x3dacba(0x123)]['cyan'](_0x11e818+'\x20skipped'));_0x4e8c9b[_0x3dacba(0x112)](_0x25e5eb,0x0)&&_0x3519bb[_0x3dacba(0x14e)](''+chalk[_0x3dacba(0x123)][_0x3dacba(0xfb)](_0x25e5eb+_0x3dacba(0x13c)));_0x4e8c9b[_0x3dacba(0x112)](_0x15be26,0x0)&&_0x3519bb['push'](''+chalk[_0x3dacba(0x123)][_0x3dacba(0xfb)](_0x15be26+_0x3dacba(0x100)));const _0x1349d0=_0x4e8c9b[_0x3dacba(0xf1)](_0x4e8c9b[_0x3dacba(0xf1)](_0x4e8c9b[_0x3dacba(0xf1)](_0x3089c1,'('),_0x3519bb['join'](',\x20')),')');console[_0x3dacba(0x131)](_0x4e8c9b[_0x3dacba(0xf1)](_0x4e8c9b['XvRVm'](_0x4e8c9b['fXACc'](_0x4e8c9b[_0x3dacba(0xf1)]('\x0a',_0x3f9aa3),'\x0a'),_0x1349d0),'\x0a')),_0x4e8c9b['sMVpb'](_0x490923,![])&&(_0x55bdad=0x1);}),_0x55bdad;}async function run(_0xe09ced,_0x49bb4d){const _0x377fd5=a5_0x33b190,_0x21744a={'cfwOj':function(_0x483653,_0x527870){return _0x483653(_0x527870);},'bXuRm':function(_0xcbbb86,_0x52880a){return _0xcbbb86>_0x52880a;},'QVSOS':_0x377fd5(0x135),'mGTwh':_0x377fd5(0x106),'DFDEI':'cucumber','kZWVl':_0x377fd5(0xed),'VWxaw':_0x377fd5(0x151),'uGtcm':_0x377fd5(0xfd),'LAQVv':function(_0x57f799,_0x3f9a91){return _0x57f799>_0x3f9a91;},'KYwrS':function(_0x1c3978,_0x3ca337){return _0x1c3978-_0x3ca337;},'aVnme':function(_0x15891e,_0x599027){return _0x15891e>=_0x599027;},'yDBrs':function(_0x14df90,_0x2020fd){return _0x14df90!=_0x2020fd;},'mLOpU':_0x377fd5(0xf2),'NILFv':function(_0x3fa4bd,_0x546eaf,_0x3f7455,_0x1e80e8,_0x567a52,_0x43e335){return _0x3fa4bd(_0x546eaf,_0x3f7455,_0x1e80e8,_0x567a52,_0x43e335);}},_0x31e787=new BrowserStackSetup(_0xe09ced,_0x21744a[_0x377fd5(0x129)]);await _0x31e787[_0x377fd5(0xe3)]();!helper[_0x377fd5(0x133)]()&&await _0x31e787[_0x377fd5(0x13b)]();await helper[_0x377fd5(0x11f)](_0x31e787[_0x377fd5(0x116)]);const _0x25e77b=helper[_0x377fd5(0xf4)](_0x31e787[_0x377fd5(0x116)]),_0x1e9836=helper[_0x377fd5(0x128)](_0x31e787[_0x377fd5(0x116)],_0x25e77b,constants[_0x377fd5(0x124)][_0x377fd5(0x11c)]);if(!_0x31e787[_0x377fd5(0x116)])return;const _0xdff547=_0x31e787[_0x377fd5(0x116)][_0x377fd5(0x14b)]||helper[_0x377fd5(0x12a)](_0xe09ced,_0x49bb4d,_0x31e787[_0x377fd5(0x116)],constants[_0x377fd5(0x124)][_0x377fd5(0x11c)])||0x1,_0x8494cf={'server':helper['getHubUrl'](_0x31e787['config']),'proxySettings':_0x31e787['config'][_0x377fd5(0xdf)],'maxWorkers':_0xdff547,'browserStackLogLevel':_0x31e787[_0x377fd5(0x116)][_0x377fd5(0x137)],'skipSessionName':_0x31e787[_0x377fd5(0x116)]['testContextOptions'][_0x377fd5(0xfa)],'skipSessionStatus':_0x31e787[_0x377fd5(0x116)]['testContextOptions']['skipSessionStatus'],'turboScaleUrl':_0x31e787[_0x377fd5(0x116)]['turboScaleUrl']},_0x7b0e89=process[_0x377fd5(0x12b)],[_0x115d6f,_0x270419]=helper[_0x377fd5(0xe0)](_0x7b0e89),_0xebfeaa=path[_0x377fd5(0x118)](process[_0x377fd5(0x110)](),_0x21744a[_0x377fd5(0x11b)]);if(_0x21744a[_0x377fd5(0xef)](_0x270419['length'],0x0)){helper[_0x377fd5(0xe9)](_0xebfeaa);for(let _0x173065=_0x21744a[_0x377fd5(0xf5)](_0x115d6f[_0x377fd5(0x14c)],0x1);_0x21744a[_0x377fd5(0x147)](_0x173065,0x0);_0x173065--){_0x7b0e89['splice'](_0x115d6f[_0x173065],0x2);}}!helper[_0x377fd5(0xe6)](_0x31e787['config'][_0x377fd5(0x10b)])&&(process[_0x377fd5(0xe4)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x377fd5(0x140)](_0x31e787[_0x377fd5(0x116)][_0x377fd5(0x10b)]));_0x21744a[_0x377fd5(0xeb)](_0x31e787[_0x377fd5(0x116)][_0x377fd5(0x120)],null)?process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x31e787[_0x377fd5(0x116)][_0x377fd5(0x120)]:process[_0x377fd5(0xe4)][_0x377fd5(0x11a)]=_0x21744a['mLOpU'];const _0x13295d=await TestHubHandler[_0x377fd5(0x138)](constants[_0x377fd5(0x124)]['CUCUMBER'],_0x31e787);helper[_0x377fd5(0x113)]();let _0x393b2f;_0x21744a['NILFv'](parallelCucumberRun,_0x1e9836,_0x8494cf,_0x31e787[_0x377fd5(0x116)],_0x7b0e89,_0x270419)[_0x377fd5(0x134)](async _0x26037a=>{const _0x4098ff=_0x377fd5;_0x393b2f=_0x26037a;const _0x28585f=_0x21744a[_0x4098ff(0xee)](printCucumberStats,_0x26037a);process[_0x4098ff(0x114)]=_0x28585f,_0x21744a[_0x4098ff(0xff)](_0x270419['length'],0x0)&&(logger[_0x4098ff(0x10a)](_0x21744a[_0x4098ff(0x13a)]),helper[_0x4098ff(0x146)](_0xebfeaa,_0x270419),logger['debug'](_0x21744a[_0x4098ff(0xf0)]),helper[_0x4098ff(0x12f)](_0xebfeaa));})[_0x377fd5(0x11e)](async()=>{const _0x29a640=_0x377fd5;_0x31e787[_0x29a640(0x143)]=helper[_0x29a640(0x111)](_0x393b2f,_0x21744a[_0x29a640(0x10e)]),testOpsHelper[_0x29a640(0x14d)]();try{await TestHubHandler[_0x29a640(0x149)]();}catch(_0x2855c7){logger[_0x29a640(0x10a)](_0x29a640(0xf3)+util[_0x29a640(0xf7)](_0x2855c7));}try{const {browserstackFolderPath:_0x526f99,tcgConfigPath:_0x4df2df}=helper['getTCGConfigFilePaths']();fs[_0x29a640(0x145)](_0x4df2df),fs[_0x29a640(0x14f)](_0x526f99);}catch(_0x5d1129){logger[_0x29a640(0x10a)](_0x21744a[_0x29a640(0x104)],_0x5d1129);}await utilities[_0x29a640(0xf8)](_0x31e787);});}module[a5_0x33b190(0x10d)]=run;function a5_0x30f9(_0xc02465,_0x37ecf0){const _0x44dc7a=a5_0x44dc();return a5_0x30f9=function(_0x30f924,_0x43f4a9){_0x30f924=_0x30f924-0xdf;let _0x490b8a=_0x44dc7a[_0x30f924];return _0x490b8a;},a5_0x30f9(_0xc02465,_0x37ecf0);}function a5_0x44dc(){const _0x1c0d0a=['finally','handleApp','testObservability','../../helpers/helper','../utils/constants','bold','FRAMEWORKS','1131423zdelZq','stepsSkipped','4370940utgxJC','prepareCapabilities','VWxaw','getUserWorkerCount','argv','ZODUQ','red','processSuccess','removeDir','AsCLf','log','\x20scenarios','isBrowserstackInfra','then','Generating\x20consolidated\x20report...','897904GLQUOU','logLevel','launchBuild','../test-runner','QVSOS','setupTCGAuth','\x20undefined','scenarios','\x20passed','6660664NiJmcg','stringify','path','3005375uyIQfE','errorMessage','1837124ofxwir','unlinkSync','mergeOutputFiles','aVnme','bgWhite','stop','steps','parallelsPerPlatform','length','printBuildLink','push','rmdirSync','scenariosFailed','cucumber-js','proxySettings','parseFormatters','fkxTs','lMJLe','initialize','env','../../helpers/test-observability/utils','isUndefined','chalk','getPlatformName','createDir','6aOqhIV','yDBrs','4TGmyeJ','error\x20removing\x20tcg\x20config\x20file','cfwOj','LAQVv','mGTwh','fXACc','false','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','useW3C','KYwrS','stepsAmbiguous','format','finalExecution','\x20pending','skipSessionName','yellow','stepsUndefined','tmp','\x20ambiguous','bXuRm','\x20skipped','sMVpb','stepsUnknown','forEach','kZWVl','****\x20RESULTS\x20****','Removing\x20tmp\x20directory\x20created\x20for\x20reports','\x20steps','HZvzV','\x20failed','debug','accessibilityOptions','630963FQTEWt','exports','DFDEI','EqyZR','cwd','getErrorMessageFromResults','SsGcM','markSDKSetupComplete','exitCode','../../helpers/utilities','config','green','join','../../helpers/BrowserStackSetup','BROWSERSTACK_TEST_OBSERVABILITY_YML','uGtcm','CUCUMBER','winstonLogger'];a5_0x44dc=function(){return _0x1c0d0a;};return a5_0x44dc();}