browserstack-node-sdk 1.34.30 → 1.34.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (129) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/start.js +1 -1
  18. package/ats/src/commands/start_commands/grid.js +1 -1
  19. package/ats/src/commands/stop.js +1 -1
  20. package/ats/src/commands/stop_commands/grid.js +1 -1
  21. package/ats/src/config/constants.js +1 -1
  22. package/ats/src/config/logger.js +1 -1
  23. package/ats/src/index.js +1 -1
  24. package/ats/src/utils/AWSUtils.js +1 -1
  25. package/ats/src/utils/createAutoscalerStack.js +1 -1
  26. package/ats/src/utils/createClusterStack.js +1 -1
  27. package/ats/src/utils/createk8sClient.js +1 -1
  28. package/ats/src/utils/deleteStack.js +1 -1
  29. package/ats/src/utils/gridComponents.js +1 -1
  30. package/ats/src/utils/hstUtils.js +1 -1
  31. package/ats/src/utils/instrumentationUtils.js +1 -1
  32. package/ats/src/utils/userInput.js +1 -1
  33. package/ats/src/utils/utilityMethods.js +1 -1
  34. package/ats/src/utils/webSocketUtils.js +1 -1
  35. package/package.json +60 -1
  36. package/src/ai-sdk-node/bundle.js +1 -1
  37. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  38. package/src/bin/codeceptjs/command.js +1 -1
  39. package/src/bin/codeceptjs/helper.js +1 -1
  40. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  41. package/src/bin/cucumber-js/command.js +1 -1
  42. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  43. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  44. package/src/bin/cucumber-js/test-observability.js +1 -1
  45. package/src/bin/cucumber-js/test.setup.js +1 -1
  46. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  47. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  48. package/src/bin/integrations/command.js +1 -1
  49. package/src/bin/integrations/constants.js +1 -1
  50. package/src/bin/jest/command.js +1 -1
  51. package/src/bin/jest/customImplements/customCircus.js +1 -1
  52. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  53. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  54. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  55. package/src/bin/jest/jest.setup.js +1 -1
  56. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  57. package/src/bin/jest/test-observability/helper.js +1 -1
  58. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  59. package/src/bin/jest/test-observability/test-details.js +1 -1
  60. package/src/bin/jest/test_before.setup.js +1 -1
  61. package/src/bin/launcher/launcher.js +1 -1
  62. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  63. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  64. package/src/bin/mocha/command.js +1 -1
  65. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  66. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  67. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  68. package/src/bin/mocha/test.setup.js +1 -1
  69. package/src/bin/nightwatch/command.js +1 -1
  70. package/src/bin/playwright/accessibility-helper.js +1 -1
  71. package/src/bin/playwright/command.js +1 -1
  72. package/src/bin/playwright/globalSetup.js +1 -1
  73. package/src/bin/playwright/mock-process.js +1 -1
  74. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  75. package/src/bin/playwright/patches.js +1 -1
  76. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  77. package/src/bin/playwright/reporter/reporter.js +1 -1
  78. package/src/bin/playwright/reporter/test-details.js +1 -1
  79. package/src/bin/playwright/sessionDetails.js +1 -1
  80. package/src/bin/runner.js +1 -1
  81. package/src/bin/setup.js +1 -1
  82. package/src/bin/test-runner/index.js +1 -1
  83. package/src/bin/test-runner/runTest.js +1 -1
  84. package/src/bin/test-runner/testWorker.js +1 -1
  85. package/src/bin/utils/constants.js +1 -1
  86. package/src/bin/utils/log4jsAppender.js +1 -1
  87. package/src/bin/utils/logPatcher.js +1 -1
  88. package/src/bin/utils/logReportingAPI.js +1 -1
  89. package/src/bin/vanilla-js/command.js +1 -1
  90. package/src/browserStackSdk.js +1 -1
  91. package/src/helpers/BrowserStackSetup.js +1 -1
  92. package/src/helpers/accessibility-automation/constants.js +1 -1
  93. package/src/helpers/accessibility-automation/helper.js +1 -1
  94. package/src/helpers/accessibility-automation/scripts.js +1 -1
  95. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  96. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  97. package/src/helpers/ats/constants.js +1 -1
  98. package/src/helpers/ats/helper.js +1 -1
  99. package/src/helpers/capsMapping.js +1 -1
  100. package/src/helpers/central-scanner/constants.js +1 -1
  101. package/src/helpers/central-scanner/helpers.js +1 -1
  102. package/src/helpers/globals.js +1 -1
  103. package/src/helpers/helper.js +1 -1
  104. package/src/helpers/logger.js +1 -1
  105. package/src/helpers/patchHelper.js +1 -1
  106. package/src/helpers/patchHelpers.js +1 -1
  107. package/src/helpers/percy/Percy.js +1 -1
  108. package/src/helpers/percy/PercyBinary.js +1 -1
  109. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  110. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  111. package/src/helpers/percy/PercySDK.js +1 -1
  112. package/src/helpers/percy/index.js +1 -1
  113. package/src/helpers/percy/utils.js +1 -1
  114. package/src/helpers/performance-tester.js +1 -1
  115. package/src/helpers/request-spy.js +1 -1
  116. package/src/helpers/setKeepAlive.js +1 -1
  117. package/src/helpers/test-observability/constants.js +1 -1
  118. package/src/helpers/test-observability/error-handler.js +1 -1
  119. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  120. package/src/helpers/test-observability/sessionHandler.js +1 -1
  121. package/src/helpers/test-observability/utils.js +1 -1
  122. package/src/helpers/testhub/constants.js +1 -1
  123. package/src/helpers/testhub/testhubHandler.js +1 -1
  124. package/src/helpers/testhub/utils.js +1 -1
  125. package/src/helpers/timeoutPromise.js +1 -1
  126. package/src/helpers/utilities.js +1 -1
  127. package/src/helpers/w3cMapping.js +1 -1
  128. package/src/hubAllocationMethods.js +1 -1
  129. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a1_0x1aec3b=a1_0x4723;function a1_0x387e(){const _0x1e7a95=['apply','started','BFAob','readFileSync','commandsToWrap','container','browser','titlePath','Suite','ghGLq','getAccessibilityResultsSummary','ctx','saveTestResults','Performing\x20scan\x20for\x20','then','1023972MAbRae','initSaveScreenshot','TyCsK','hFbmF','DVLBb','executeScript','bddStepStart','sKsqD','shouldWrapCommand','screenshotOutputFolder','passed','HOOK_RUN_FINISHED','HVcbg','sWGAA','../../bin/playwright/accessibility-helper','456822lsSzRm','NKrFL','exports','browserstack_executor:\x20','before','Playwright','test','bddStep','bstackAllyScanning','HOOK_RUN_STARTED','step','snnAk','EVekI','zFgzl','patchSaveScreenshot','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','5405ZMRcaU','catch','../../helpers/helper','3006872WJNaqB','class','action','overwriteCommand','166057EoHRwg','ceqZQ','name','TEST_RUN_SKIPPED','title','iyUOS','nzuVN','accessibilityPlatform','forEach','codeceptjs','../../bin/playwright/sessionDetails','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','env','BROWSERSTACK_TESTHUB_UUID','winstonLogger','warn','nzTxt','browserStackExecuteDriver','izHWg','saveScreenshot','../../helpers/logger','2kiHUJR','PGHDM','status','30OJKxwc','codeceptjs/lib/utils.js','TEST_RUN_FINISHED','captureEvent','__workerDetails','slice','setSessionName','eRWxC','hNXER','failed','codeceptjs/lib/helper/WebDriver.js','JgrjS','416349ooikSn','294hSxSXB','stop','getSyncScript','yXyXD','TEST_RUN_STARTED','toString','info','restore','event','find','JqzbB','Ibrwl','performScan','getAccessibilityResults','fireEvent','prototype','./o11yHelper','constructor','SBPiy','all','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','browserContext','setSessionStatus','pid','eZQQA','thJwtToken','add','helpers','dispatcher','972dznWqd','TEST_LOG','../../helpers/accessibility-automation/scripts','INFO','qFanC','skipped','./helper.js','skipSessionStatus','Puppeteer','filter','currentTest','patch','Element','16952JTVRAJ','SjPuG','Nliyr','captureError','Aoaly','BROWSERSTACK_TESTHUB_JWT','__driver','contexts','hMxbm','util','_before','enabled','toISOString','bind','iFvxc','getResultsSummary','TEST_SCREENSHOT','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','format','YTONH','hook','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','call','stringify','codeceptjs/lib/index.js','../../helpers/performance-tester','emit','debug','bs:addLog:','EPILC','codeceptjs/lib/helper/Playwright.js','after','startMonitoring','fEyxz','ENV_VAR','Zhwrf','BUGHS','arguments'];a1_0x387e=function(){return _0x1e7a95;};return a1_0x387e();}(function(_0x352411,_0x164647){const _0x46897b=a1_0x4723,_0x40fa2b=_0x352411();while(!![]){try{const _0x7ce47f=-parseInt(_0x46897b(0x1c1))/0x1*(-parseInt(_0x46897b(0x1d6))/0x2)+parseInt(_0x46897b(0x1aa))/0x3+parseInt(_0x46897b(0x203))/0x4*(parseInt(_0x46897b(0x1ba))/0x5)+-parseInt(_0x46897b(0x19b))/0x6+parseInt(_0x46897b(0x1e6))/0x7*(-parseInt(_0x46897b(0x166))/0x8)+-parseInt(_0x46897b(0x1e5))/0x9*(-parseInt(_0x46897b(0x1d9))/0xa)+-parseInt(_0x46897b(0x1bd))/0xb;if(_0x7ce47f===_0x164647)break;else _0x40fa2b['push'](_0x40fa2b['shift']());}catch(_0x31d003){_0x40fa2b['push'](_0x40fa2b['shift']());}}}(a1_0x387e,0x2d9a1));function a1_0x4723(_0x653ad4,_0x44df72){const _0x387e5b=a1_0x387e();return a1_0x4723=function(_0x4723bb,_0xf3a077){_0x4723bb=_0x4723bb-0x160;let _0x5638ef=_0x387e5b[_0x4723bb];return _0x5638ef;},a1_0x4723(_0x653ad4,_0x44df72);}const fs=require('fs'),util=require(a1_0x1aec3b(0x16f)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x1aec3b(0x1bc)),logger=require(a1_0x1aec3b(0x1d5))[a1_0x1aec3b(0x1cf)],testOpsHelper=require('../../helpers/test-observability/utils'),requestSpy=require('../../helpers/request-spy'),PlaywrightSessionDetails=require(a1_0x1aec3b(0x1cb)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x1aec3b(0x1f6)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),AccessibilityHelper=require(a1_0x1aec3b(0x1a9)),scripts=require(a1_0x1aec3b(0x205)),PerformanceTester=require(a1_0x1aec3b(0x17f)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x1aec3b(0x209)),testHubConstants=require('../../helpers/testhub/constants.js'),CodeceptJS=requireModule(a1_0x1aec3b(0x17e),a1_0x1aec3b(0x1ca)),CodeceptUtils=requireModule(a1_0x1aec3b(0x1da),a1_0x1aec3b(0x1ca)),CodeceptWebDriver=requireModule(a1_0x1aec3b(0x1e3),a1_0x1aec3b(0x1ca)),CodeceptRecorder=requireModule('codeceptjs/lib/recorder.js',a1_0x1aec3b(0x1ca)),CodeceptPlaywright=requireModule(a1_0x1aec3b(0x184),a1_0x1aec3b(0x1ca)),playwrightMarkSessionStatus=(_0x343dcb,_0x498d85,_0x3384c8)=>{const _0x3e3376=a1_0x1aec3b,_0x22f3e0={'iFvxc':_0x3e3376(0x1fc),'hFbmF':function(_0x40207d,_0x2a3a9d){return _0x40207d(_0x2a3a9d);}},_0xb8f20={};_0xb8f20[_0x3e3376(0x1d8)]=_0x498d85;const _0x4f69bd={};_0x4f69bd[_0x3e3376(0x1bf)]=_0x22f3e0[_0x3e3376(0x174)],_0x4f69bd[_0x3e3376(0x18b)]=_0xb8f20;const _0xf95354=_0x4f69bd;return!_0x22f3e0[_0x3e3376(0x19e)](isUndefined,_0x3384c8)&&(_0xf95354[_0x3e3376(0x18b)]['reason']=JSON[_0x3e3376(0x17d)](_0x3384c8)),_0x343dcb[_0x3e3376(0x1a0)](()=>{},'browserstack_executor:\x20'+JSON[_0x3e3376(0x17d)](_0xf95354));},o11ySync=async _0x2776a0=>{const _0x3b15c6=a1_0x1aec3b,_0x233a36={};_0x233a36[_0x3b15c6(0x1b6)]=function(_0x362609,_0x29d51f){return _0x362609===_0x29d51f;},_0x233a36[_0x3b15c6(0x1f0)]='Playwright';const _0x349a3f=_0x233a36;_0x349a3f[_0x3b15c6(0x1b6)](_0x2776a0[_0x3b15c6(0x1f7)]['name'],_0x349a3f['JqzbB'])?await _0x2776a0[_0x3b15c6(0x1a0)](_0x5c9ced=>{},testOpsHelper['getSyncScript']()):await _0x2776a0[_0x3b15c6(0x1a0)](testOpsHelper[_0x3b15c6(0x1e8)]());},markSessionName=async(_0x14b30e,_0x2ac264)=>{const _0x341b60=a1_0x1aec3b,_0xfbb21b={};_0xfbb21b[_0x341b60(0x1e9)]=_0x341b60(0x1df),_0xfbb21b[_0x341b60(0x179)]=function(_0x3304d8,_0x271df7){return _0x3304d8===_0x271df7;},_0xfbb21b[_0x341b60(0x1ab)]=_0x341b60(0x1af);const _0x2e3394=_0xfbb21b,_0x538e44={};_0x538e44[_0x341b60(0x1c3)]=_0x2ac264;const _0x54bad4={};_0x54bad4[_0x341b60(0x1bf)]=_0x2e3394['yXyXD'],_0x54bad4['arguments']=_0x538e44;const _0x2bf1a7=_0x54bad4;_0x2e3394[_0x341b60(0x179)](_0x14b30e[_0x341b60(0x1f7)][_0x341b60(0x1c3)],_0x2e3394['NKrFL'])?await _0x14b30e[_0x341b60(0x1a0)](()=>{},_0x341b60(0x1ad)+JSON['stringify'](_0x2bf1a7)):await _0x14b30e['executeScript']('browserstack_executor:\x20'+JSON['stringify'](_0x2bf1a7));},patchSaveScreenshot=_0x38c958=>{const _0x2b96cd=a1_0x1aec3b,_0x129b60={'iyUOS':'base64','sWGAA':_0x2b96cd(0x176),'HVcbg':function(_0x3d75cb){return _0x3d75cb();},'hvXrc':function(_0x28bfe4,_0x2471b8){return _0x28bfe4(_0x2471b8);}};_0x129b60['hvXrc'](isTrue,process['env']['BS_TESTOPS_ALLOW_SCREENSHOTS'])&&!_0x38c958[_0x2b96cd(0x1b8)]&&(_0x38c958[_0x2b96cd(0x1b8)]=!![],_0x38c958[_0x2b96cd(0x19c)]=_0x38c958[_0x2b96cd(0x1d4)],_0x38c958['saveScreenshot']=(_0x10e95c,_0x3212e4=![])=>{const _0x20829b=_0x2b96cd,_0x42f0da={'kVwUE':_0x129b60[_0x20829b(0x1c6)],'Aoaly':_0x129b60[_0x20829b(0x1a8)],'qFanC':function(_0x1839f5){const _0x24806b=_0x20829b;return _0x129b60[_0x24806b(0x1a7)](_0x1839f5);}};return new Promise(function(_0x4445d4,_0x3150b3){const _0x1b31c0=_0x20829b,_0x55a452={'izHWg':_0x42f0da['kVwUE'],'lmUhz':_0x42f0da[_0x1b31c0(0x16a)],'JgrjS':function(_0x48b2d3){const _0x4dc289=_0x1b31c0;return _0x42f0da[_0x4dc289(0x207)](_0x48b2d3);}};_0x38c958[_0x1b31c0(0x19c)](_0x10e95c,_0x3212e4)[_0x1b31c0(0x19a)](()=>{const _0x22350b=_0x1b31c0,_0xca98e9=CodeceptUtils[_0x22350b(0x1a4)](_0x10e95c),_0x10af0f=fs[_0x22350b(0x18f)](_0xca98e9);process[_0x22350b(0x180)](_0x22350b(0x182)+process[_0x22350b(0x1fd)],{'timestamp':new Date()[_0x22350b(0x172)](),'message':_0x10af0f[_0x22350b(0x1eb)](_0x55a452[_0x22350b(0x1d3)]),'kind':_0x55a452['lmUhz']}),_0x55a452[_0x22350b(0x1e4)](_0x4445d4);})[_0x1b31c0(0x1bb)](()=>null);});});},patchWebDriverBefore=_0x1ce13e=>{const _0x1d1cf5=a1_0x1aec3b,_0xab6bad={'hMxbm':function(_0x4cefeb){return _0x4cefeb();},'DVLBb':function(_0x1939fc,_0x5d21db){return _0x1939fc(_0x5d21db);},'DvZHI':function(_0x3665d5,_0x1cb0e1){return _0x3665d5===_0x1cb0e1;},'BUGHS':_0x1d1cf5(0x165)},_0x1e2b34=async function(_0x57322d,_0x3c551a){const _0x2a8f94=_0x1d1cf5;return _0xab6bad[_0x2a8f94(0x16e)](isAccessibilityAutomationSession)&&!global[_0x2a8f94(0x1b2)]&&global[_0x2a8f94(0x1c8)]&&scripts[_0x2a8f94(0x1a3)](_0x57322d[_0x2a8f94(0x1c3)])&&_0xab6bad[_0x2a8f94(0x19f)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x2a8f94(0x1b2)]=!![],logger['debug'](_0x2a8f94(0x199)+_0x57322d[_0x2a8f94(0x1be)]+'\x20'+_0x57322d[_0x2a8f94(0x1c3)]),await AccessibilityHelper[_0x2a8f94(0x1d2)](_0x1ce13e,scripts['performScan'])),global[_0x2a8f94(0x1b2)]=![],_0x3c551a[_0x2a8f94(0x18c)](this,Array[_0x2a8f94(0x1f5)][_0x2a8f94(0x1de)][_0x2a8f94(0x17c)](arguments,0x2));},_0xed4816=CodeceptWebDriver[_0x1d1cf5(0x1f5)][_0x1d1cf5(0x170)];CodeceptWebDriver[_0x1d1cf5(0x1f5)][_0x1d1cf5(0x170)]=async function(){const _0x4d8dee=_0x1d1cf5;await _0xed4816[_0x4d8dee(0x18c)](this,arguments),scripts[_0x4d8dee(0x190)][_0x4d8dee(0x162)](_0x1200de=>_0x1200de[_0x4d8dee(0x1c3)]&&_0x1200de[_0x4d8dee(0x1be)])[_0x4d8dee(0x1c9)](_0x36549e=>{const _0x2a0109=_0x4d8dee;this['browser'][_0x2a0109(0x1c0)](_0x36549e['name'],_0x1e2b34[_0x2a0109(0x173)](this,_0x36549e),_0xab6bad['DvZHI'](_0x36549e['class'],_0xab6bad[_0x2a0109(0x18a)]));}),_0xab6bad[_0x4d8dee(0x19f)](processWebDriverConfig,_0x1ce13e);};},patchPlaywrightBefore=()=>{const _0x321c16=a1_0x1aec3b;PlaywrightSessionDetails[_0x321c16(0x164)]();const _0x3d854c=CodeceptPlaywright[_0x321c16(0x1f5)][_0x321c16(0x170)];CodeceptPlaywright[_0x321c16(0x1f5)][_0x321c16(0x170)]=async function(){const _0xe546a1=_0x321c16;this[_0xe546a1(0x1fb)]=await this[_0xe546a1(0x192)][_0xe546a1(0x16d)]()[0x0],await _0x3d854c[_0xe546a1(0x18c)](this,arguments);};},getCodeceptDriver=()=>{const _0x3deb9d=a1_0x1aec3b,_0x41c165={};_0x41c165[_0x3deb9d(0x168)]='WebDriver',_0x41c165[_0x3deb9d(0x195)]='Playwright',_0x41c165[_0x3deb9d(0x1b7)]=_0x3deb9d(0x161),_0x41c165[_0x3deb9d(0x1fe)]='TestCafe';const _0x43f57a=_0x41c165,_0x547967=[_0x43f57a[_0x3deb9d(0x168)],_0x43f57a['ghGLq'],_0x43f57a[_0x3deb9d(0x1b7)],_0x43f57a[_0x3deb9d(0x1fe)]],_0x37f8e9=_0x547967[_0x3deb9d(0x1ef)](_0xa29990=>!!CodeceptJS[_0x3deb9d(0x191)]['helpers'](_0xa29990));if(!_0x37f8e9)return null;return CodeceptJS['container'][_0x3deb9d(0x201)](_0x37f8e9);};module[a1_0x1aec3b(0x1ac)]=function(_0x51906f){const _0x2291c5=a1_0x1aec3b,_0x2b83ee={'Ibrwl':_0x2291c5(0x1cc),'snnAk':_0x2291c5(0x17b),'BFAob':function(_0x32594c){return _0x32594c();},'nzuVN':function(_0x39b13a,_0x3401ab){return _0x39b13a(_0x3401ab);},'ceqZQ':function(_0x40e782,_0x588078,_0x17b0cd){return _0x40e782(_0x588078,_0x17b0cd);},'oqUDn':function(_0x1abbe0,_0x11a194){return _0x1abbe0(_0x11a194);},'Zhwrf':function(_0x114548,_0x3f9a61,_0x567888){return _0x114548(_0x3f9a61,_0x567888);},'nzTxt':function(_0x3ff674,_0x4b3c6e,_0x439b12){return _0x3ff674(_0x4b3c6e,_0x439b12);},'sKsqD':function(_0x59c930){return _0x59c930();},'PGHDM':function(_0x1066cd,_0x306e9d,_0x420e27,_0xa8ac5d){return _0x1066cd(_0x306e9d,_0x420e27,_0xa8ac5d);},'SjPuG':function(_0x11a3d2,_0x353ef2){return _0x11a3d2===_0x353ef2;},'hNXER':_0x2291c5(0x194),'EPILC':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','UCZVw':_0x2291c5(0x206),'TyCsK':_0x2291c5(0x204),'KebaE':_0x2291c5(0x1af),'eRWxC':function(_0x25b72c,_0x40a32c){return _0x25b72c(_0x40a32c);}};_0x51906f[_0x2291c5(0x160)]&&(global['__skipSessionStatus']=_0x51906f['skipSessionStatus']);PerformanceTester[_0x2291c5(0x186)]();const _0x23daa4=_0x2b83ee[_0x2291c5(0x1a2)](getCodeceptDriver),_0x48e63d=new O11yHelper(_0x23daa4,_0x51906f),_0x555d57=!!CodeceptJS[_0x2291c5(0x191)][_0x2291c5(0x201)](_0x2b83ee['KebaE']);global[_0x2291c5(0x16c)]=_0x23daa4,_0x23daa4&&(_0x555d57?_0x2b83ee[_0x2291c5(0x18e)](patchPlaywrightBefore):_0x2b83ee['oqUDn'](patchWebDriverBefore,_0x23daa4),_0x23daa4[_0x2291c5(0x196)]=async()=>{const _0x44ba47=_0x2291c5;if(global['accessibilityPlatform'])await AccessibilityHelper[_0x44ba47(0x1d2)](_0x23daa4,scripts['performScan']),await AccessibilityHelper[_0x44ba47(0x1d2)](_0x23daa4,scripts[_0x44ba47(0x175)]);else return logger[_0x44ba47(0x1d0)](_0x2b83ee[_0x44ba47(0x1f1)]),{};},_0x23daa4[_0x2291c5(0x1f3)]=async()=>{const _0x2c1456=_0x2291c5;if(global[_0x2c1456(0x1c8)])await AccessibilityHelper['browserStackExecuteDriver'](_0x23daa4,scripts[_0x2c1456(0x1f2)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x23daa4,scripts['getResults']);else return logger[_0x2c1456(0x1d0)](_0x2b83ee[_0x2c1456(0x1b5)]),{};},_0x2b83ee[_0x2291c5(0x1e0)](patchSaveScreenshot,_0x23daa4)),CodeceptJS[_0x2291c5(0x1ee)][_0x2291c5(0x202)]['on'](CodeceptJS[_0x2291c5(0x1ee)][_0x2291c5(0x1f9)][_0x2291c5(0x1ae)],()=>{try{_0x48e63d['start'](),testOpsHelper['addRequestSpy']();}catch(_0x5b39eb){PerformanceTester['captureError'](_0x5b39eb);}}),CodeceptJS[_0x2291c5(0x1ee)]['dispatcher']['on'](CodeceptJS[_0x2291c5(0x1ee)][_0x2291c5(0x1f9)][_0x2291c5(0x185)],async()=>{const _0x56eb59=_0x2291c5;try{requestSpy[_0x56eb59(0x1ed)](),await _0x48e63d[_0x56eb59(0x1e7)]();}catch(_0xb28886){PerformanceTester[_0x56eb59(0x169)](_0xb28886);}finally{PerformanceTester['stopMonitoring']();}}),CodeceptJS[_0x2291c5(0x1ee)]['dispatcher']['on'](CodeceptJS[_0x2291c5(0x1ee)]['hook'][_0x2291c5(0x18d)],_0x25b13e=>{const _0x127820=_0x2291c5;try{const _0x93fe23=_0x25b13e[_0x127820(0x197)][_0x127820(0x1b0)],_0x7fa950=_0x48e63d[_0x127820(0x1dc)](TEST_EVENTS[_0x127820(0x1b3)],_0x93fe23);CodeceptRecorder['add'](()=>_0x48e63d[_0x127820(0x1f4)](TEST_EVENTS[_0x127820(0x1b3)],_0x7fa950));}catch(_0x5df0e2){PerformanceTester[_0x127820(0x169)](_0x5df0e2);}}),CodeceptJS['event'][_0x2291c5(0x202)]['on'](CodeceptJS[_0x2291c5(0x1ee)][_0x2291c5(0x17a)][_0x2291c5(0x1a5)],_0x475f71=>{const _0xde556d=_0x2291c5;try{const _0x406ea5=_0x475f71[_0xde556d(0x197)]['test'],_0x11b88a=_0x48e63d[_0xde556d(0x1dc)](TEST_EVENTS[_0xde556d(0x1a6)],_0x406ea5);CodeceptRecorder[_0xde556d(0x200)](()=>_0x48e63d[_0xde556d(0x1f4)](TEST_EVENTS[_0xde556d(0x1a6)],_0x11b88a));}catch(_0xeacd4d){PerformanceTester[_0xde556d(0x169)](_0xeacd4d);}}),CodeceptJS[_0x2291c5(0x1ee)][_0x2291c5(0x202)]['on'](CodeceptJS[_0x2291c5(0x1ee)][_0x2291c5(0x17a)][_0x2291c5(0x1e2)],async(_0x1c6b54,_0x38b71f)=>{const _0x2c3b97=_0x2291c5;try{const _0x25f5d8=_0x1c6b54[_0x2c3b97(0x197)]['test'],_0x416b54=_0x48e63d[_0x2c3b97(0x1dc)](TEST_EVENTS[_0x2c3b97(0x1a6)],_0x25f5d8,_0x38b71f);CodeceptRecorder['add'](()=>_0x48e63d[_0x2c3b97(0x1f4)](TEST_EVENTS[_0x2c3b97(0x1a6)],_0x416b54));}catch(_0x486d54){PerformanceTester['captureError'](_0x486d54);}}),CodeceptJS[_0x2291c5(0x1ee)]['dispatcher']['on'](CodeceptJS['event'][_0x2291c5(0x1b0)][_0x2291c5(0x1ae)],_0x382ec7=>{const _0xda7699=_0x2291c5;try{_0x2b83ee[_0xda7699(0x18e)](isBrowserstackInfra)&&(_0x555d57&&(global[_0xda7699(0x1dd)]={'currentTest':{'name':_0x382ec7[_0xda7699(0x1c5)],'testInfo':{'titlePath':_0x382ec7[_0xda7699(0x193)]()}}}));}catch(_0x22c0e9){PerformanceTester[_0xda7699(0x169)](_0x22c0e9);}}),CodeceptJS[_0x2291c5(0x1ee)][_0x2291c5(0x202)]['on'](CodeceptJS[_0x2291c5(0x1ee)][_0x2291c5(0x1b0)]['started'],_0x469206=>{const _0x42959a=_0x2291c5;try{const _0x41123a=_0x48e63d[_0x42959a(0x1dc)](TEST_EVENTS[_0x42959a(0x1ea)],_0x469206);CodeceptRecorder[_0x42959a(0x200)](()=>_0x48e63d[_0x42959a(0x1f4)](TEST_EVENTS[_0x42959a(0x1ea)],_0x41123a)),CodeceptRecorder['add'](async()=>{const _0x367558=_0x42959a;_0x2b83ee['BFAob'](isBrowserstackInfra)&&(!_0x2b83ee[_0x367558(0x1c7)](isTrue,_0x51906f['skipSessionName'])&&await _0x2b83ee[_0x367558(0x1c2)](markSessionName,_0x23daa4,_0x469206[_0x367558(0x1c5)]),_0x48e63d[_0x367558(0x171)]&&await _0x2b83ee['oqUDn'](o11ySync,_0x23daa4));});}catch(_0x391a67){PerformanceTester[_0x42959a(0x169)](_0x391a67);}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x2291c5(0x1ee)]['test'][_0x2291c5(0x1a5)],_0x137ece=>{const _0x2a1fc6=_0x2291c5;try{const _0x1cafda=_0x48e63d[_0x2a1fc6(0x1dc)](TEST_EVENTS[_0x2a1fc6(0x1db)],_0x137ece);CodeceptRecorder[_0x2a1fc6(0x200)](()=>_0x48e63d[_0x2a1fc6(0x1f4)](TEST_EVENTS[_0x2a1fc6(0x1db)],_0x1cafda)),CodeceptRecorder['add'](async()=>{const _0x19a9bb=_0x2a1fc6;_0x2b83ee[_0x19a9bb(0x18e)](isBrowserstackInfra)&&(_0x555d57?await _0x2b83ee[_0x19a9bb(0x189)](playwrightMarkSessionStatus,_0x23daa4,STATE_PASSED):await _0x2b83ee[_0x19a9bb(0x1d1)](markSessionStatus,_0x23daa4,STATE_PASSED));});}catch(_0x19bb9f){PerformanceTester[_0x2a1fc6(0x169)](_0x19bb9f);}}),CodeceptJS[_0x2291c5(0x1ee)][_0x2291c5(0x202)]['on'](CodeceptJS['event'][_0x2291c5(0x1b0)][_0x2291c5(0x1e2)],(_0x427c0f,_0x49bfe0)=>{const _0x3f61a3=_0x2291c5,_0x160482={'SBPiy':function(_0xe14fb0){return _0x2b83ee['sKsqD'](_0xe14fb0);},'fEyxz':function(_0x6ddebc,_0xf489bd,_0x42dc4d,_0x256677){const _0x59b61a=a1_0x4723;return _0x2b83ee[_0x59b61a(0x1d7)](_0x6ddebc,_0xf489bd,_0x42dc4d,_0x256677);}};try{if(_0x2b83ee[_0x3f61a3(0x167)](_0x427c0f['constructor'][_0x3f61a3(0x1c3)],_0x2b83ee[_0x3f61a3(0x1e1)])){const _0x1a3bea=_0x48e63d[_0x3f61a3(0x1dc)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x427c0f[_0x3f61a3(0x197)][_0x3f61a3(0x163)]);CodeceptRecorder[_0x3f61a3(0x200)](()=>_0x48e63d['fireEvent'](TEST_EVENTS[_0x3f61a3(0x1c4)],_0x1a3bea));}else{const _0x40559f=_0x48e63d[_0x3f61a3(0x1dc)](TEST_EVENTS[_0x3f61a3(0x1db)],_0x427c0f,_0x49bfe0);CodeceptRecorder[_0x3f61a3(0x200)](()=>{const _0x353bf9=_0x3f61a3;try{_0x48e63d[_0x353bf9(0x1f4)](TEST_EVENTS[_0x353bf9(0x1db)],_0x40559f);}catch(_0x484bde){logger[_0x353bf9(0x181)](_0x353bf9(0x1fa)+util[_0x353bf9(0x178)](_0x484bde));}}),CodeceptRecorder[_0x3f61a3(0x200)](async()=>{const _0xcd9858=_0x3f61a3;try{_0x160482[_0xcd9858(0x1f8)](isBrowserstackInfra)&&(_0x555d57?await _0x160482['fEyxz'](playwrightMarkSessionStatus,_0x23daa4,STATE_FAILED,_0x49bfe0):await _0x160482[_0xcd9858(0x187)](markSessionStatus,_0x23daa4,STATE_FAILED,_0x49bfe0));}catch(_0x127448){logger['debug'](_0xcd9858(0x1b9)+util[_0xcd9858(0x178)](_0x127448));}});}}catch(_0x13c539){PerformanceTester[_0x3f61a3(0x169)](_0x13c539);}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x2291c5(0x1ee)][_0x2291c5(0x1b0)][_0x2291c5(0x208)],_0x2fddd1=>{const _0x1e45ad=_0x2291c5;try{const _0x1122f8=_0x48e63d[_0x1e45ad(0x1dc)](TEST_EVENTS[_0x1e45ad(0x1c4)],_0x2fddd1);CodeceptRecorder['add'](()=>_0x48e63d['fireEvent'](TEST_EVENTS[_0x1e45ad(0x1c4)],_0x1122f8));}catch(_0xeee031){PerformanceTester[_0x1e45ad(0x169)](_0xeee031);}}),CodeceptJS['event'][_0x2291c5(0x202)]['on'](CodeceptJS[_0x2291c5(0x1ee)][_0x2291c5(0x1b0)][_0x2291c5(0x185)],async(_0x5c63d6,_0x3ae604)=>{const _0x2561bf=_0x2291c5;try{if(_0x2b83ee[_0x2561bf(0x1a2)](isBrowserstackInfra)){const _0x5f1fbb=_0x2b83ee['ceqZQ'](shouldScanTestForAccessibility,_0x5c63d6[_0x2561bf(0x193)](),!![]);if(_0x2b83ee[_0x2561bf(0x18e)](isAccessibilityAutomationSession)&&global[_0x2561bf(0x1c8)]&&_0x5f1fbb){const _0x693b56={};_0x693b56['thTestRunUuid']=_0x5c63d6['testAnalyticsId'],_0x693b56['thBuildUuid']=process[_0x2561bf(0x1cd)][testHubConstants['ENV_VAR'][_0x2561bf(0x1ce)]],_0x693b56[_0x2561bf(0x1ff)]=process[_0x2561bf(0x1cd)][testHubConstants[_0x2561bf(0x188)][_0x2561bf(0x16b)]];const _0x47bada=_0x693b56;logger[_0x2561bf(0x181)](_0x2561bf(0x177)+JSON[_0x2561bf(0x17d)](_0x47bada)),CodeceptRecorder[_0x2561bf(0x200)](async()=>{const _0x2c4689=_0x2561bf;await AccessibilityHelper[_0x2c4689(0x1d2)](_0x23daa4,scripts[_0x2c4689(0x1f2)]),await AccessibilityHelper[_0x2c4689(0x1d2)](_0x23daa4,scripts[_0x2c4689(0x198)],_0x47bada);}),logger[_0x2561bf(0x1ec)](_0x2b83ee[_0x2561bf(0x183)]);}}}catch(_0x8ba6e2){PerformanceTester['captureError'](_0x8ba6e2);}}),CodeceptJS[_0x2291c5(0x1ee)][_0x2291c5(0x202)]['on'](CodeceptJS[_0x2291c5(0x1ee)][_0x2291c5(0x1b4)]['comment'],_0x509443=>{const _0x412687=_0x2291c5;try{process[_0x412687(0x180)](_0x412687(0x182)+process[_0x412687(0x1fd)],{'timestamp':new Date()[_0x412687(0x172)](),'level':_0x2b83ee['UCZVw'],'message':_0x509443,'kind':_0x2b83ee[_0x412687(0x19d)],'http_response':{}});}catch(_0x45550b){PerformanceTester[_0x412687(0x169)](_0x45550b);}}),CodeceptJS[_0x2291c5(0x1ee)][_0x2291c5(0x202)]['on'](CodeceptJS[_0x2291c5(0x1ee)][_0x2291c5(0x1b1)][_0x2291c5(0x1ae)],_0x2bbe59=>{const _0x1f435a=_0x2291c5;_0x48e63d[_0x1f435a(0x1a1)](_0x2bbe59);}),CodeceptJS[_0x2291c5(0x1ee)][_0x2291c5(0x202)]['on'](CodeceptJS[_0x2291c5(0x1ee)][_0x2291c5(0x1b1)][_0x2291c5(0x185)],_0x4f26e3=>{_0x48e63d['bddStepFinish'](_0x4f26e3);});};
1
+ const a1_0x3176ba=a1_0x342a;(function(_0x3b44f9,_0x13659f){const _0x2e3de3=a1_0x342a,_0x3438ed=_0x3b44f9();while(!![]){try{const _0x32cf03=-parseInt(_0x2e3de3(0x16d))/0x1*(-parseInt(_0x2e3de3(0x166))/0x2)+parseInt(_0x2e3de3(0x11c))/0x3+-parseInt(_0x2e3de3(0x116))/0x4*(-parseInt(_0x2e3de3(0x141))/0x5)+-parseInt(_0x2e3de3(0x111))/0x6+parseInt(_0x2e3de3(0x191))/0x7+-parseInt(_0x2e3de3(0x12c))/0x8*(parseInt(_0x2e3de3(0x14d))/0x9)+-parseInt(_0x2e3de3(0x115))/0xa;if(_0x32cf03===_0x13659f)break;else _0x3438ed['push'](_0x3438ed['shift']());}catch(_0x1dec09){_0x3438ed['push'](_0x3438ed['shift']());}}}(a1_0x3e5d,0xe73a2));function a1_0x3e5d(){const _0x16d167=['bs:addLog:','performScan','HqQTH','debug','hook','bddStepStart','captureEvent','dMbzA','captureError','Playwright','constructor','initSaveScreenshot','titlePath','reason','patch','skipped','YOQQg','prototype','fireEvent','8625084yuOusx','bddStepFinish','Puppeteer','emit','5361760jkNsUh','342196UHVUGO','DGmSt','./o11yHelper','forEach','action','mYHxj','1214346asnrKT','helpers','stop','env','skipSessionStatus','IlVhU','skipSessionName','screenshotOutputFolder','LQYQf','testAnalyticsId','xaaNR','HLSDA','../../bin/playwright/accessibility-helper','IRkQz','contexts','after','69064JkYrjH','ENV_VAR','enabled','ALGOO','readFileSync','pid','rGylm','codeceptjs/lib/helper/WebDriver.js','thTestRunUuid','before','browser','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','vgrbu','step','winstonLogger','./helper.js','thBuildUuid','TEST_RUN_SKIPPED','stopMonitoring','../../helpers/accessibility-automation/scripts','comment','95KYSFTj','MZdXb','bzJJK','toISOString','arguments','_before','saveTestResults','HOOK_RUN_FINISHED','setSessionName','failed','class','QrIgt','1503sKDjtM','qlSgb','bind','oJiaz','ctx','tRATb','TEST_SCREENSHOT','HMBIP','accessibilityPlatform','title','Yukqj','shouldWrapCommand','filter','executeScript','PRtgS','lTZVY','browserStackExecuteDriver','qQXsh','PiXbW','patchSaveScreenshot','status','util','bstackAllyScanning','container','../../bin/playwright/sessionDetails','191494UyevHk','event','start','iRocb','RUjty','zeOPR','format','11SkVEyF','HOOK_RUN_STARTED','getResults','codeceptjs','started','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','../../helpers/accessibility-automation/helper','bddStep','codeceptjs/lib/utils.js','then','jaEyR','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','add','TEST_RUN_FINISHED','browserstack_executor:\x20','BROWSERSTACK_TESTHUB_JWT','MTzRi','getResultsSummary','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','gsSQk','Element','YBmHJ','getSyncScript','warn','TEST_RUN_STARTED','all','passed','PDWct','getAccessibilityResultsSummary','codeceptjs/lib/recorder.js','../../helpers/testhub/constants.js','MqZzT','dispatcher','codeceptjs/lib/index.js','RWaPH','8953539GWXmKB','Performing\x20scan\x20for\x20','stringify','BS_TESTOPS_ALLOW_SCREENSHOTS','WebDriver','base64','saveScreenshot','overwriteCommand','apply','find','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','name','exports','__driver','test'];a1_0x3e5d=function(){return _0x16d167;};return a1_0x3e5d();}const fs=require('fs'),util=require(a1_0x3176ba(0x162)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require('../../helpers/helper'),logger=require('../../helpers/logger')[a1_0x3176ba(0x13a)],testOpsHelper=require('../../helpers/test-observability/utils'),requestSpy=require('../../helpers/request-spy'),PlaywrightSessionDetails=require(a1_0x3176ba(0x165)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x3176ba(0x118)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x3176ba(0x173)),AccessibilityHelper=require(a1_0x3176ba(0x128)),scripts=require(a1_0x3176ba(0x13f)),PerformanceTester=require('../../helpers/performance-tester'),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x3176ba(0x13b)),testHubConstants=require(a1_0x3176ba(0x18c)),CodeceptJS=requireModule(a1_0x3176ba(0x18f),a1_0x3176ba(0x170)),CodeceptUtils=requireModule(a1_0x3176ba(0x175),'codeceptjs'),CodeceptWebDriver=requireModule(a1_0x3176ba(0x133),a1_0x3176ba(0x170)),CodeceptRecorder=requireModule(a1_0x3176ba(0x18b),a1_0x3176ba(0x170)),CodeceptPlaywright=requireModule('codeceptjs/lib/helper/Playwright.js',a1_0x3176ba(0x170)),playwrightMarkSessionStatus=(_0xadd156,_0x531937,_0x24a8dd)=>{const _0x18382d=a1_0x3176ba,_0x687c4e={'MYddy':'setSessionStatus','IZrHd':function(_0x43a62a,_0x491c22){return _0x43a62a(_0x491c22);}},_0x3f8245={};_0x3f8245[_0x18382d(0x161)]=_0x531937;const _0x1579f0={};_0x1579f0[_0x18382d(0x11a)]=_0x687c4e['MYddy'],_0x1579f0[_0x18382d(0x145)]=_0x3f8245;const _0x490788=_0x1579f0;return!_0x687c4e['IZrHd'](isUndefined,_0x24a8dd)&&(_0x490788[_0x18382d(0x145)][_0x18382d(0x10b)]=JSON[_0x18382d(0x193)](_0x24a8dd)),_0xadd156[_0x18382d(0x15a)](()=>{},_0x18382d(0x17b)+JSON[_0x18382d(0x193)](_0x490788));},o11ySync=async _0x38af72=>{const _0x54e382=a1_0x3176ba,_0x24c79a={};_0x24c79a[_0x54e382(0x1a2)]=function(_0x1090ac,_0x49cbc1){return _0x1090ac===_0x49cbc1;},_0x24c79a['mYHxj']=_0x54e382(0x107);const _0x547645=_0x24c79a;_0x547645[_0x54e382(0x1a2)](_0x38af72[_0x54e382(0x108)][_0x54e382(0x19c)],_0x547645[_0x54e382(0x11b)])?await _0x38af72[_0x54e382(0x15a)](_0x3789db=>{},testOpsHelper[_0x54e382(0x184)]()):await _0x38af72['executeScript'](testOpsHelper[_0x54e382(0x184)]());},markSessionName=async(_0x26b136,_0x295133)=>{const _0x319eaa=a1_0x3176ba,_0x2f2e06={};_0x2f2e06[_0x319eaa(0x169)]=_0x319eaa(0x149),_0x2f2e06[_0x319eaa(0x15c)]=function(_0x54e00d,_0x5a6d96){return _0x54e00d===_0x5a6d96;},_0x2f2e06['xaaNR']=_0x319eaa(0x107);const _0x32f943=_0x2f2e06,_0x3c2596={};_0x3c2596[_0x319eaa(0x19c)]=_0x295133;const _0x54fe85={};_0x54fe85[_0x319eaa(0x11a)]=_0x32f943[_0x319eaa(0x169)],_0x54fe85[_0x319eaa(0x145)]=_0x3c2596;const _0x417992=_0x54fe85;_0x32f943['lTZVY'](_0x26b136['constructor'][_0x319eaa(0x19c)],_0x32f943[_0x319eaa(0x126)])?await _0x26b136[_0x319eaa(0x15a)](()=>{},'browserstack_executor:\x20'+JSON['stringify'](_0x417992)):await _0x26b136[_0x319eaa(0x15a)]('browserstack_executor:\x20'+JSON[_0x319eaa(0x193)](_0x417992));},patchSaveScreenshot=_0x1a3f77=>{const _0x3e3ac2=a1_0x3176ba,_0xc761d2={'RUjty':_0x3e3ac2(0x196),'bzJJK':_0x3e3ac2(0x153),'Yukqj':function(_0x7b99af){return _0x7b99af();},'gsSQk':function(_0x2ab90e,_0x1ad569){return _0x2ab90e(_0x1ad569);}};_0xc761d2[_0x3e3ac2(0x181)](isTrue,process[_0x3e3ac2(0x11f)][_0x3e3ac2(0x194)])&&!_0x1a3f77['patchSaveScreenshot']&&(_0x1a3f77[_0x3e3ac2(0x160)]=!![],_0x1a3f77[_0x3e3ac2(0x109)]=_0x1a3f77[_0x3e3ac2(0x197)],_0x1a3f77[_0x3e3ac2(0x197)]=(_0x3fbd45,_0x4fc435=![])=>{const _0x38fbbf=_0x3e3ac2,_0x44c97f={'RWaPH':_0xc761d2[_0x38fbbf(0x16a)],'YOQQg':_0xc761d2[_0x38fbbf(0x143)],'jaEyR':function(_0x474512){const _0x47da86=_0x38fbbf;return _0xc761d2[_0x47da86(0x157)](_0x474512);}};return new Promise(function(_0x40e5aa,_0x11deef){const _0x1bb226=_0x38fbbf;_0x1a3f77[_0x1bb226(0x109)](_0x3fbd45,_0x4fc435)[_0x1bb226(0x176)](()=>{const _0x58c182=_0x1bb226,_0x73626a=CodeceptUtils[_0x58c182(0x123)](_0x3fbd45),_0x2bff64=fs[_0x58c182(0x130)](_0x73626a);process[_0x58c182(0x114)]('bs:addLog:'+process[_0x58c182(0x131)],{'timestamp':new Date()[_0x58c182(0x144)](),'message':_0x2bff64['toString'](_0x44c97f[_0x58c182(0x190)]),'kind':_0x44c97f[_0x58c182(0x10e)]}),_0x44c97f[_0x58c182(0x177)](_0x40e5aa);})['catch'](()=>null);});});},patchWebDriverBefore=_0x5ab330=>{const _0x8d795d=a1_0x3176ba,_0x1f1035={'PDWct':function(_0x38ab45){return _0x38ab45();},'qQXsh':function(_0x469b03,_0x52b1d1){return _0x469b03(_0x52b1d1);},'zeOPR':function(_0x528566,_0x934235){return _0x528566===_0x934235;},'MqZzT':_0x8d795d(0x182)},_0x579bf8=async function(_0xa67127,_0x2c9631){const _0x447a80=_0x8d795d;return _0x1f1035[_0x447a80(0x189)](isAccessibilityAutomationSession)&&!global[_0x447a80(0x163)]&&global[_0x447a80(0x155)]&&scripts[_0x447a80(0x158)](_0xa67127[_0x447a80(0x19c)])&&_0x1f1035[_0x447a80(0x15e)](shouldPatchExecuteScript,arguments[0x2])&&(global['bstackAllyScanning']=!![],logger[_0x447a80(0x1a3)](_0x447a80(0x192)+_0xa67127[_0x447a80(0x14b)]+'\x20'+_0xa67127[_0x447a80(0x19c)]),await AccessibilityHelper[_0x447a80(0x15d)](_0x5ab330,scripts[_0x447a80(0x1a1)])),global['bstackAllyScanning']=![],_0x2c9631['apply'](this,Array[_0x447a80(0x10f)]['slice']['call'](arguments,0x2));},_0x3d0ebb=CodeceptWebDriver[_0x8d795d(0x10f)][_0x8d795d(0x146)];CodeceptWebDriver['prototype'][_0x8d795d(0x146)]=async function(){const _0x1f6f94=_0x8d795d;await _0x3d0ebb['apply'](this,arguments),scripts['commandsToWrap'][_0x1f6f94(0x159)](_0x679469=>_0x679469[_0x1f6f94(0x19c)]&&_0x679469[_0x1f6f94(0x14b)])[_0x1f6f94(0x119)](_0xf4358b=>{const _0x2c1504=_0x1f6f94;this['browser'][_0x2c1504(0x198)](_0xf4358b[_0x2c1504(0x19c)],_0x579bf8[_0x2c1504(0x14f)](this,_0xf4358b),_0x1f1035[_0x2c1504(0x16b)](_0xf4358b[_0x2c1504(0x14b)],_0x1f1035[_0x2c1504(0x18d)]));}),_0x1f1035[_0x1f6f94(0x15e)](processWebDriverConfig,_0x5ab330);};},patchPlaywrightBefore=()=>{const _0x19d2bd=a1_0x3176ba;PlaywrightSessionDetails[_0x19d2bd(0x10c)]();const _0x2d56f2=CodeceptPlaywright[_0x19d2bd(0x10f)]['_before'];CodeceptPlaywright[_0x19d2bd(0x10f)][_0x19d2bd(0x146)]=async function(){const _0x519418=_0x19d2bd;this['browserContext']=await this[_0x519418(0x136)][_0x519418(0x12a)]()[0x0],await _0x2d56f2[_0x519418(0x199)](this,arguments);};},getCodeceptDriver=()=>{const _0x13a050=a1_0x3176ba,_0x328ffa={};_0x328ffa['DGmSt']=_0x13a050(0x195),_0x328ffa[_0x13a050(0x138)]=_0x13a050(0x107),_0x328ffa['dMbzA']=_0x13a050(0x113),_0x328ffa['tRATb']='TestCafe';const _0x4da112=_0x328ffa,_0x176e47=[_0x4da112[_0x13a050(0x117)],_0x4da112[_0x13a050(0x138)],_0x4da112[_0x13a050(0x105)],_0x4da112[_0x13a050(0x152)]],_0x1b924d=_0x176e47[_0x13a050(0x19a)](_0x57b151=>!!CodeceptJS[_0x13a050(0x164)][_0x13a050(0x11d)](_0x57b151));if(!_0x1b924d)return null;return CodeceptJS['container'][_0x13a050(0x11d)](_0x1b924d);};function a1_0x342a(_0x24002f,_0x37100c){const _0x3e5d3f=a1_0x3e5d();return a1_0x342a=function(_0x342a0e,_0x16f5ff){_0x342a0e=_0x342a0e-0x103;let _0x514aca=_0x3e5d3f[_0x342a0e];return _0x514aca;},a1_0x342a(_0x24002f,_0x37100c);}module[a1_0x3176ba(0x19d)]=function(_0xd2488c){const _0x4e6f43=a1_0x3176ba,_0x436f2a={'PRtgS':_0x4e6f43(0x180),'rGylm':_0x4e6f43(0x178),'MTzRi':function(_0x231ca5){return _0x231ca5();},'IlVhU':function(_0x2a89d3,_0x4ecb28){return _0x2a89d3(_0x4ecb28);},'ALGOO':function(_0x48bdd7,_0x889df0,_0x1b86ca){return _0x48bdd7(_0x889df0,_0x1b86ca);},'QrIgt':function(_0x39534e){return _0x39534e();},'HLSDA':function(_0x3f82c8){return _0x3f82c8();},'PiXbW':function(_0x1ff70c,_0x2bdee5,_0x588c8b,_0x33536a){return _0x1ff70c(_0x2bdee5,_0x588c8b,_0x33536a);},'HMBIP':function(_0x55f92c,_0x11028d){return _0x55f92c===_0x11028d;},'IRkQz':'Suite','LQYQf':function(_0x4ae197){return _0x4ae197();},'qvrDN':_0x4e6f43(0x17f),'MZdXb':'INFO','bRxcc':'TEST_LOG','hQFXd':'Playwright','PmDdn':function(_0x214625,_0x3495b8){return _0x214625(_0x3495b8);},'YBmHJ':function(_0x148410,_0x2e5015){return _0x148410(_0x2e5015);}};_0xd2488c[_0x4e6f43(0x120)]&&(global['__skipSessionStatus']=_0xd2488c[_0x4e6f43(0x120)]);PerformanceTester['startMonitoring']();const _0x5ac094=_0x436f2a[_0x4e6f43(0x17d)](getCodeceptDriver),_0x402acb=new O11yHelper(_0x5ac094,_0xd2488c),_0xa8610e=!!CodeceptJS[_0x4e6f43(0x164)]['helpers'](_0x436f2a['hQFXd']);global[_0x4e6f43(0x19e)]=_0x5ac094,_0x5ac094&&(_0xa8610e?_0x436f2a[_0x4e6f43(0x14c)](patchPlaywrightBefore):_0x436f2a['PmDdn'](patchWebDriverBefore,_0x5ac094),_0x5ac094[_0x4e6f43(0x18a)]=async()=>{const _0x265bf0=_0x4e6f43;if(global['accessibilityPlatform'])await AccessibilityHelper['browserStackExecuteDriver'](_0x5ac094,scripts['performScan']),await AccessibilityHelper[_0x265bf0(0x15d)](_0x5ac094,scripts[_0x265bf0(0x17e)]);else return logger['warn'](_0x436f2a[_0x265bf0(0x15b)]),{};},_0x5ac094['getAccessibilityResults']=async()=>{const _0xe991e=_0x4e6f43;if(global[_0xe991e(0x155)])await AccessibilityHelper[_0xe991e(0x15d)](_0x5ac094,scripts[_0xe991e(0x1a1)]),await AccessibilityHelper[_0xe991e(0x15d)](_0x5ac094,scripts[_0xe991e(0x16f)]);else return logger[_0xe991e(0x185)](_0x436f2a[_0xe991e(0x132)]),{};},_0x436f2a[_0x4e6f43(0x183)](patchSaveScreenshot,_0x5ac094)),CodeceptJS[_0x4e6f43(0x167)][_0x4e6f43(0x18e)]['on'](CodeceptJS['event'][_0x4e6f43(0x187)]['before'],()=>{const _0x3b430f=_0x4e6f43;try{_0x402acb[_0x3b430f(0x168)](),testOpsHelper['addRequestSpy']();}catch(_0x58da70){PerformanceTester[_0x3b430f(0x106)](_0x58da70);}}),CodeceptJS['event'][_0x4e6f43(0x18e)]['on'](CodeceptJS[_0x4e6f43(0x167)][_0x4e6f43(0x187)][_0x4e6f43(0x12b)],async()=>{const _0x591568=_0x4e6f43;try{requestSpy['restore'](),await _0x402acb[_0x591568(0x11e)]();}catch(_0x17fee7){PerformanceTester['captureError'](_0x17fee7);}finally{PerformanceTester[_0x591568(0x13e)]();}}),CodeceptJS['event'][_0x4e6f43(0x18e)]['on'](CodeceptJS[_0x4e6f43(0x167)][_0x4e6f43(0x1a4)]['started'],_0x27f48b=>{const _0x3e7f1a=_0x4e6f43;try{const _0x326aab=_0x27f48b['ctx']['test'],_0x554e99=_0x402acb[_0x3e7f1a(0x104)](TEST_EVENTS[_0x3e7f1a(0x16e)],_0x326aab);CodeceptRecorder[_0x3e7f1a(0x179)](()=>_0x402acb[_0x3e7f1a(0x110)](TEST_EVENTS['HOOK_RUN_STARTED'],_0x554e99));}catch(_0x569e1c){PerformanceTester[_0x3e7f1a(0x106)](_0x569e1c);}}),CodeceptJS[_0x4e6f43(0x167)][_0x4e6f43(0x18e)]['on'](CodeceptJS[_0x4e6f43(0x167)][_0x4e6f43(0x1a4)]['passed'],_0x56028b=>{const _0x3ce198=_0x4e6f43;try{const _0x17f76e=_0x56028b['ctx']['test'],_0x32dbef=_0x402acb[_0x3ce198(0x104)](TEST_EVENTS[_0x3ce198(0x148)],_0x17f76e);CodeceptRecorder['add'](()=>_0x402acb[_0x3ce198(0x110)](TEST_EVENTS[_0x3ce198(0x148)],_0x32dbef));}catch(_0x5663e4){PerformanceTester[_0x3ce198(0x106)](_0x5663e4);}}),CodeceptJS[_0x4e6f43(0x167)][_0x4e6f43(0x18e)]['on'](CodeceptJS['event'][_0x4e6f43(0x1a4)][_0x4e6f43(0x14a)],async(_0xe31d5f,_0x5b9e59)=>{const _0x2a6dd5=_0x4e6f43;try{const _0x4b366f=_0xe31d5f[_0x2a6dd5(0x151)][_0x2a6dd5(0x19f)],_0x5695a5=_0x402acb[_0x2a6dd5(0x104)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x4b366f,_0x5b9e59);CodeceptRecorder[_0x2a6dd5(0x179)](()=>_0x402acb[_0x2a6dd5(0x110)](TEST_EVENTS[_0x2a6dd5(0x148)],_0x5695a5));}catch(_0x27e30f){PerformanceTester['captureError'](_0x27e30f);}}),CodeceptJS[_0x4e6f43(0x167)]['dispatcher']['on'](CodeceptJS[_0x4e6f43(0x167)][_0x4e6f43(0x19f)]['before'],_0x1fe008=>{const _0x5e3994=_0x4e6f43;try{_0x436f2a[_0x5e3994(0x17d)](isBrowserstackInfra)&&(_0xa8610e&&(global['__workerDetails']={'currentTest':{'name':_0x1fe008[_0x5e3994(0x156)],'testInfo':{'titlePath':_0x1fe008['titlePath']()}}}));}catch(_0x468907){PerformanceTester[_0x5e3994(0x106)](_0x468907);}}),CodeceptJS[_0x4e6f43(0x167)][_0x4e6f43(0x18e)]['on'](CodeceptJS[_0x4e6f43(0x167)]['test'][_0x4e6f43(0x171)],_0x5279e7=>{const _0x35dd84=_0x4e6f43;try{const _0x339e57=_0x402acb[_0x35dd84(0x104)](TEST_EVENTS[_0x35dd84(0x186)],_0x5279e7);CodeceptRecorder[_0x35dd84(0x179)](()=>_0x402acb[_0x35dd84(0x110)](TEST_EVENTS[_0x35dd84(0x186)],_0x339e57)),CodeceptRecorder[_0x35dd84(0x179)](async()=>{const _0x350a12=_0x35dd84;_0x436f2a[_0x350a12(0x17d)](isBrowserstackInfra)&&(!_0x436f2a['IlVhU'](isTrue,_0xd2488c[_0x350a12(0x122)])&&await _0x436f2a[_0x350a12(0x12f)](markSessionName,_0x5ac094,_0x5279e7[_0x350a12(0x156)]),_0x402acb[_0x350a12(0x12e)]&&await _0x436f2a[_0x350a12(0x121)](o11ySync,_0x5ac094));});}catch(_0x8e4469){PerformanceTester[_0x35dd84(0x106)](_0x8e4469);}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x4e6f43(0x167)][_0x4e6f43(0x19f)][_0x4e6f43(0x188)],_0x551dbb=>{const _0x10fd2b=_0x4e6f43,_0x483da6={'oJiaz':function(_0x1b87c1){return _0x436f2a['QrIgt'](_0x1b87c1);},'qlSgb':function(_0x1c5ac6,_0x4acf85,_0x16aa6b){const _0x462d7a=a1_0x342a;return _0x436f2a[_0x462d7a(0x12f)](_0x1c5ac6,_0x4acf85,_0x16aa6b);}};try{const _0x4f8c30=_0x402acb[_0x10fd2b(0x104)](TEST_EVENTS[_0x10fd2b(0x17a)],_0x551dbb);CodeceptRecorder[_0x10fd2b(0x179)](()=>_0x402acb[_0x10fd2b(0x110)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x4f8c30)),CodeceptRecorder[_0x10fd2b(0x179)](async()=>{const _0x4d363f=_0x10fd2b;_0x483da6[_0x4d363f(0x150)](isBrowserstackInfra)&&(_0xa8610e?await _0x483da6[_0x4d363f(0x14e)](playwrightMarkSessionStatus,_0x5ac094,STATE_PASSED):await _0x483da6[_0x4d363f(0x14e)](markSessionStatus,_0x5ac094,STATE_PASSED));});}catch(_0x275035){PerformanceTester['captureError'](_0x275035);}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x4e6f43(0x167)][_0x4e6f43(0x19f)][_0x4e6f43(0x14a)],(_0x2d9695,_0x527a8e)=>{const _0x8f14a9=_0x4e6f43;try{if(_0x436f2a[_0x8f14a9(0x154)](_0x2d9695[_0x8f14a9(0x108)][_0x8f14a9(0x19c)],_0x436f2a[_0x8f14a9(0x129)])){const _0x26b8f9=_0x402acb[_0x8f14a9(0x104)](TEST_EVENTS[_0x8f14a9(0x13d)],_0x2d9695[_0x8f14a9(0x151)]['currentTest']);CodeceptRecorder[_0x8f14a9(0x179)](()=>_0x402acb['fireEvent'](TEST_EVENTS[_0x8f14a9(0x13d)],_0x26b8f9));}else{const _0xee261e=_0x402acb[_0x8f14a9(0x104)](TEST_EVENTS[_0x8f14a9(0x17a)],_0x2d9695,_0x527a8e);CodeceptRecorder['add'](()=>{const _0x1b2784=_0x8f14a9;try{_0x402acb[_0x1b2784(0x110)](TEST_EVENTS[_0x1b2784(0x17a)],_0xee261e);}catch(_0x56fe93){logger['debug'](_0x1b2784(0x19b)+util[_0x1b2784(0x16c)](_0x56fe93));}}),CodeceptRecorder[_0x8f14a9(0x179)](async()=>{const _0x12cd65=_0x8f14a9;try{_0x436f2a[_0x12cd65(0x127)](isBrowserstackInfra)&&(_0xa8610e?await _0x436f2a[_0x12cd65(0x15f)](playwrightMarkSessionStatus,_0x5ac094,STATE_FAILED,_0x527a8e):await _0x436f2a[_0x12cd65(0x15f)](markSessionStatus,_0x5ac094,STATE_FAILED,_0x527a8e));}catch(_0x351aac){logger[_0x12cd65(0x1a3)](_0x12cd65(0x172)+util[_0x12cd65(0x16c)](_0x351aac));}});}}catch(_0xea88a2){PerformanceTester[_0x8f14a9(0x106)](_0xea88a2);}}),CodeceptJS[_0x4e6f43(0x167)][_0x4e6f43(0x18e)]['on'](CodeceptJS[_0x4e6f43(0x167)][_0x4e6f43(0x19f)][_0x4e6f43(0x10d)],_0x828c43=>{const _0x24ddfe=_0x4e6f43;try{const _0x2a1782=_0x402acb['captureEvent'](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x828c43);CodeceptRecorder[_0x24ddfe(0x179)](()=>_0x402acb[_0x24ddfe(0x110)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x2a1782));}catch(_0x257e73){PerformanceTester[_0x24ddfe(0x106)](_0x257e73);}}),CodeceptJS[_0x4e6f43(0x167)]['dispatcher']['on'](CodeceptJS[_0x4e6f43(0x167)][_0x4e6f43(0x19f)][_0x4e6f43(0x12b)],async(_0x176cf2,_0x42c9de)=>{const _0x109bf9=_0x4e6f43;try{if(_0x436f2a[_0x109bf9(0x124)](isBrowserstackInfra)){const _0x24fa51=_0x436f2a[_0x109bf9(0x12f)](shouldScanTestForAccessibility,_0x176cf2[_0x109bf9(0x10a)](),!![]);if(_0x436f2a['MTzRi'](isAccessibilityAutomationSession)&&global[_0x109bf9(0x155)]&&_0x24fa51){const _0x3bbaee={};_0x3bbaee[_0x109bf9(0x134)]=_0x176cf2[_0x109bf9(0x125)],_0x3bbaee[_0x109bf9(0x13c)]=process['env'][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_UUID']],_0x3bbaee['thJwtToken']=process['env'][testHubConstants[_0x109bf9(0x12d)][_0x109bf9(0x17c)]];const _0x304fdb=_0x3bbaee;logger[_0x109bf9(0x1a3)](_0x109bf9(0x137)+JSON[_0x109bf9(0x193)](_0x304fdb)),CodeceptRecorder[_0x109bf9(0x179)](async()=>{const _0x38c29d=_0x109bf9;await AccessibilityHelper[_0x38c29d(0x15d)](_0x5ac094,scripts[_0x38c29d(0x1a1)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x5ac094,scripts[_0x38c29d(0x147)],_0x304fdb);}),logger['info'](_0x436f2a['qvrDN']);}}}catch(_0x1491f8){PerformanceTester[_0x109bf9(0x106)](_0x1491f8);}}),CodeceptJS[_0x4e6f43(0x167)]['dispatcher']['on'](CodeceptJS[_0x4e6f43(0x167)][_0x4e6f43(0x139)][_0x4e6f43(0x140)],_0x780de5=>{const _0x26b25c=_0x4e6f43;try{process[_0x26b25c(0x114)](_0x26b25c(0x1a0)+process[_0x26b25c(0x131)],{'timestamp':new Date()[_0x26b25c(0x144)](),'level':_0x436f2a[_0x26b25c(0x142)],'message':_0x780de5,'kind':_0x436f2a['bRxcc'],'http_response':{}});}catch(_0x46c308){PerformanceTester[_0x26b25c(0x106)](_0x46c308);}}),CodeceptJS[_0x4e6f43(0x167)][_0x4e6f43(0x18e)]['on'](CodeceptJS[_0x4e6f43(0x167)][_0x4e6f43(0x174)][_0x4e6f43(0x135)],_0x440101=>{const _0x34160b=_0x4e6f43;_0x402acb[_0x34160b(0x103)](_0x440101);}),CodeceptJS[_0x4e6f43(0x167)][_0x4e6f43(0x18e)]['on'](CodeceptJS[_0x4e6f43(0x167)][_0x4e6f43(0x174)]['after'],_0x4bcc42=>{const _0x53d175=_0x4e6f43;_0x402acb[_0x53d175(0x112)](_0x4bcc42);});};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a2_0x33de55=a2_0x50fb;(function(_0x1f003d,_0x383167){const _0x47110a=a2_0x50fb,_0x4c711e=_0x1f003d();while(!![]){try{const _0x357ac6=-parseInt(_0x47110a(0x1dc))/0x1+parseInt(_0x47110a(0x1f7))/0x2+parseInt(_0x47110a(0x195))/0x3+-parseInt(_0x47110a(0x1f4))/0x4*(parseInt(_0x47110a(0x1bd))/0x5)+parseInt(_0x47110a(0x1c0))/0x6*(parseInt(_0x47110a(0x18b))/0x7)+-parseInt(_0x47110a(0x1f0))/0x8+parseInt(_0x47110a(0x19e))/0x9*(parseInt(_0x47110a(0x19b))/0xa);if(_0x357ac6===_0x383167)break;else _0x4c711e['push'](_0x4c711e['shift']());}catch(_0x3343cb){_0x4c711e['push'](_0x4c711e['shift']());}}}(a2_0x3f68,0xd8096));function a2_0x3f68(){const _0x54356d=['Started\x20:\x20','LsJPv','prepareCapabilities','270WmdlYt','desiredCapabilities','parallelsPerPlatform','451827TykUBy','firefox','4|0|2|3|1','addConfig','WebDriver','TzQxj','createGroupsOfSuites','result','debug','split','require','getUserWorkerCount','gnaRi','fklum','isTrue','../../helpers/BrowserStackSetup','stack','findIndex','err','env','codeceptjs','CODECEPT','mergeDeep','Workers','hdIYC','length','jpwFf','forEach','map','uXnYf','browserName','4537385kcOLBs','trim','FVMLs','4484406xVZHxh','CIaNf','JrJki','helpers','skipSessionName','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','bootstrapAll','../../helpers/testhub/testhubHandler','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','title','testObservability','accessibility','failed','slice','frameworkName','log','before','SHZed','enabled','test','now','exports','util','cLgbW','../../helpers/logger','UDrUR','testContextOptions','ecTHQ','1534450gXgZWv','setAdditionalCapabilities','accessibilityOptions','teardownAll','gherkin','join','path','stop','getPlatformName','KpQnG','whzFR','KeqQr','codecept.json','browserWSEndpoint','plugins','printResults','chdir','../../helpers/helper','all','toLowerCase','6967584lrKnUB','dnHpH','Vxzfb','cwd','4jQIAby','playwright-webkit','codecept.conf.js','1567922nYNFyW','printBuildLink','skipSessionStatus','validPlatformsPresent','yjsPa','CzKnB','root','codeceptjs/lib/index.js','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','process','YRZni','Playwright','../../bin/playwright/accessibility-helper','MuObH','PfvCm','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','BrowserStackPlugin.js','initialize','null','run','IAnfs','playwright-firefox','info','aHLWe','NoGWy','platforms','push','handleApp','config','existsSync','finalExecution','BROWSERSTACK_TEST_ACCESSIBILITY_YML','errorMessage','passed','BROWSERSTACK_RERUN','webkit','stringify','14SBhibA','profile','Failed\x20:\x20','chromium','szaiv','browser','-cucumber','launchBuild','Passed\x20:\x20','dirname','1690551QukJwY','event','isUndefined'];a2_0x3f68=function(){return _0x54356d;};return a2_0x3f68();}const fs=require('fs'),path=require(a2_0x33de55(0x1e2)),util=require(a2_0x33de55(0x1d6)),process=require(a2_0x33de55(0x200)),logger=require(a2_0x33de55(0x1d8))['winstonLogger'],{default:BrowserStackSetup}=require(a2_0x33de55(0x1ad)),helper=require('../../helpers/helper'),utilities=require('../../helpers/utilities'),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities}=require(a2_0x33de55(0x203)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x33de55(0x1ed)),CodeceptJS=requireModule(a2_0x33de55(0x1fe),a2_0x33de55(0x1b2)),testOpsHelper=require('../../helpers/test-observability/utils'),TestHubHandler=require(a2_0x33de55(0x1c7)),constants=require('../utils/constants'),_testErrorData=[],getUserCodeceptJSConfigs=(_0x2a2f6b,_0x3ec5db)=>{const _0x2a9d4a=a2_0x33de55,_0x14a61b={};_0x14a61b[_0x2a9d4a(0x20f)]=function(_0x9e75f,_0x1d967d){return _0x9e75f===_0x1d967d;},_0x14a61b['aHLWe']=_0x2a9d4a(0x1f6),_0x14a61b[_0x2a9d4a(0x1ab)]=_0x2a9d4a(0x1e8);const _0x40abb2=_0x14a61b;let _0x47b6a8=null;const _0x202e7b={};let _0x58f196=_0x3ec5db[_0x2a9d4a(0x1af)](_0x1a8a12=>_0x1a8a12==='--config');_0x40abb2['NoGWy'](_0x58f196,-0x1)&&(_0x58f196=_0x3ec5db[_0x2a9d4a(0x1af)](_0x24e15f=>_0x24e15f==='-c'));if(!helper[_0x2a9d4a(0x197)](_0x2a2f6b[_0x2a9d4a(0x213)])&&fs[_0x2a9d4a(0x214)](path[_0x2a9d4a(0x1e1)](process[_0x2a9d4a(0x1f3)](),_0x2a2f6b[_0x2a9d4a(0x213)])))_0x47b6a8=path[_0x2a9d4a(0x1e1)](process[_0x2a9d4a(0x1f3)](),_0x2a2f6b['config']),_0x3ec5db[_0x2a9d4a(0x1cd)](_0x58f196,0x2);else{if(!helper[_0x2a9d4a(0x197)](_0x2a2f6b['c'])&&fs[_0x2a9d4a(0x214)](path[_0x2a9d4a(0x1e1)](process[_0x2a9d4a(0x1f3)](),_0x2a2f6b['c'])))_0x47b6a8=path[_0x2a9d4a(0x1e1)](process[_0x2a9d4a(0x1f3)](),_0x2a2f6b['c']),_0x3ec5db[_0x2a9d4a(0x1cd)](_0x58f196,0x2);else{if(fs['existsSync'](path[_0x2a9d4a(0x1e1)](process[_0x2a9d4a(0x1f3)](),_0x40abb2[_0x2a9d4a(0x20e)])))_0x47b6a8=path['join'](process[_0x2a9d4a(0x1f3)](),_0x40abb2['aHLWe']);else fs[_0x2a9d4a(0x214)](path[_0x2a9d4a(0x1e1)](process['cwd'](),_0x40abb2[_0x2a9d4a(0x1ab)]))&&(_0x47b6a8=path[_0x2a9d4a(0x1e1)](process[_0x2a9d4a(0x1f3)](),_0x40abb2['fklum']));}}return _0x47b6a8;},getO11yRerunPattern=()=>{const _0x573492=a2_0x33de55,_0x4756c2={};_0x4756c2['Vxzfb']=function(_0x1b701f,_0x1ecb3b){return _0x1b701f!==_0x1ecb3b;},_0x4756c2[_0x573492(0x1fc)]=_0x573492(0x209);const _0x12ad24=_0x4756c2,_0x231339=helper[_0x573492(0x1ac)](process[_0x573492(0x1b1)][_0x573492(0x188)]);if(_0x231339){const _0x2eeece=process[_0x573492(0x1b1)]['BROWSERSTACK_RERUN_TESTS'],_0x30eff2=[];if(_0x12ad24[_0x573492(0x1f2)](_0x2eeece,_0x12ad24[_0x573492(0x1fc)])&&!helper[_0x573492(0x197)](_0x2eeece)){_0x2eeece[_0x573492(0x1a7)](',')[_0x573492(0x1ba)](_0x4d0150=>{const _0x24d647=_0x573492;_0x30eff2[_0x24d647(0x211)]('('+_0x4d0150[_0x24d647(0x1be)]()+')');});const _0x393ee5='^'+_0x30eff2[_0x573492(0x1e1)]('|')+'$';return _0x393ee5;}}return null;},a2_0x200352={};a2_0x200352['chrome']='chromium',a2_0x200352['playwright-chromium']=a2_0x33de55(0x18e),a2_0x200352[a2_0x33de55(0x20c)]=a2_0x33de55(0x19f),a2_0x200352[a2_0x33de55(0x1f5)]=a2_0x33de55(0x189);function a2_0x50fb(_0x3ace13,_0x797b6f){const _0x3f68b4=a2_0x3f68();return a2_0x50fb=function(_0x50fb37,_0x3257b9){_0x50fb37=_0x50fb37-0x187;let _0x4456ed=_0x3f68b4[_0x50fb37];return _0x4456ed;},a2_0x50fb(_0x3ace13,_0x797b6f);}const pwToCodeceptBrowser=a2_0x200352;async function run(_0x540e6c,_0x570243){const _0x18b6fe=a2_0x33de55,_0x487a29={'ZHHMR':function(_0x28c247,_0x3dcb0d){return _0x28c247+_0x3dcb0d;},'IAnfs':function(_0x54a910,_0x4f19e2){return _0x54a910(_0x4f19e2);},'gnaRi':function(_0x5c7f13,_0x2ab001){return _0x5c7f13+_0x2ab001;},'whzFR':function(_0x5bf994,_0x31338f,_0x9fa0a){return _0x5bf994(_0x31338f,_0x9fa0a);},'LsJPv':_0x18b6fe(0x1c3),'hdIYC':function(_0x53eb2c){return _0x53eb2c();},'CIaNf':_0x18b6fe(0x18d),'uXnYf':_0x18b6fe(0x193),'FVMLs':_0x18b6fe(0x198),'tkxlU':_0x18b6fe(0x1a0),'MuObH':'codeceptjs','PfvCm':function(_0x5cbd1d,_0x20fc4b,_0x55278a){return _0x5cbd1d(_0x20fc4b,_0x55278a);},'szaiv':_0x18b6fe(0x1ff),'dnHpH':function(_0x309437,_0x287771,_0x485257){return _0x309437(_0x287771,_0x485257);},'JrJki':_0x18b6fe(0x202),'KeqQr':_0x18b6fe(0x1a2),'KpQnG':function(_0x4b3cde,_0x3b76b0){return _0x4b3cde!=_0x3b76b0;},'TzQxj':function(_0x1271dd,_0x585080){return _0x1271dd===_0x585080;},'CxDyT':function(_0x4fd64f,_0x446668){return _0x4fd64f+_0x446668;},'SHZed':function(_0x488f3c,_0x2d65ef,_0xc7dfd1){return _0x488f3c(_0x2d65ef,_0xc7dfd1);},'YRZni':_0x18b6fe(0x1e0),'ecTHQ':_0x18b6fe(0x191),'snYgh':function(_0x54d724){return _0x54d724();},'tUKLh':function(_0x4d6109,_0x426fb1){return _0x4d6109*_0x426fb1;},'jpwFf':_0x18b6fe(0x190),'gzlfq':function(_0x1a9811,_0x28c6c1,_0x51ad89){return _0x1a9811(_0x28c6c1,_0x51ad89);},'UDrUR':'desiredCapabilities','yjsPa':function(_0x37fa04,_0x543301,_0x4d4515){return _0x37fa04(_0x543301,_0x4d4515);},'XKLeU':_0x18b6fe(0x1fd),'PsGdT':_0x18b6fe(0x207),'ladWx':'browserStackCwd','cLgbW':function(_0x46164e){return _0x46164e();}},_0x359899=new BrowserStackSetup(_0x540e6c,_0x487a29[_0x18b6fe(0x204)]);await _0x359899[_0x18b6fe(0x208)](),await helper[_0x18b6fe(0x212)](_0x359899['config']);if(!_0x359899[_0x18b6fe(0x213)])return;process[_0x18b6fe(0x18c)]=_0x540e6c['profile'];_0x540e6c['profile']&&(process[_0x18b6fe(0x1b1)][_0x18b6fe(0x18c)]=_0x540e6c[_0x18b6fe(0x18c)]);const _0x546fe7=_0x487a29[_0x18b6fe(0x205)](getUserCodeceptJSConfigs,_0x540e6c,_0x570243);let _0x5a0aa5={};_0x546fe7?(logger[_0x18b6fe(0x20d)](_0x18b6fe(0x1c5)+_0x546fe7),_0x5a0aa5=CodeceptJS[_0x18b6fe(0x213)]['load'](_0x546fe7)):logger['info'](_0x487a29[_0x18b6fe(0x18f)]);let _0x1df4cb=![];_0x487a29[_0x18b6fe(0x1f1)](nestedKeyValue,_0x5a0aa5,[_0x487a29['LsJPv'],_0x487a29['JrJki']])&&(_0x1df4cb=!![]);const _0x2a6c81=_0x1df4cb?_0x487a29['JrJki']:_0x487a29[_0x18b6fe(0x1e7)];let _0x5dccce=!_0x1df4cb?helper['useW3C'](_0x359899['config']):![];!helper[_0x18b6fe(0x197)](_0x359899[_0x18b6fe(0x213)][_0x18b6fe(0x1de)])&&(process[_0x18b6fe(0x1b1)][_0x18b6fe(0x206)]=JSON['stringify'](_0x359899['config'][_0x18b6fe(0x1de)]));let _0x1d4cd0=_0x359899[_0x18b6fe(0x213)][_0x18b6fe(0x1cb)];_0x1d4cd0=_0x1d4cd0||_0x487a29[_0x18b6fe(0x20b)](checkAccessibilityPlatformConfig,_0x359899['config']),process['env'][_0x18b6fe(0x216)]=_0x1d4cd0;_0x1d4cd0&&(_0x5dccce=!_0x1d4cd0);_0x487a29[_0x18b6fe(0x1e5)](_0x359899[_0x18b6fe(0x213)]['testObservability'],null)?process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x359899[_0x18b6fe(0x213)]['testObservability']:process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x487a29[_0x18b6fe(0x1a3)](_0x2a6c81,_0x487a29[_0x18b6fe(0x1c2)]);const _0x3ca111=_0x487a29['CxDyT'](_0x487a29[_0x18b6fe(0x204)],_0x487a29[_0x18b6fe(0x1d1)](nestedKeyValue,_0x5a0aa5,[_0x487a29[_0x18b6fe(0x201)]])?_0x487a29[_0x18b6fe(0x1db)]:''),_0x5b492b=await TestHubHandler[_0x18b6fe(0x192)](_0x3ca111,_0x359899);_0x1d4cd0&&_0x487a29[_0x18b6fe(0x20b)](setAccessibilityCapabilities,_0x359899[_0x18b6fe(0x213)]);const _0x2e2327={},_0x19c8ee=[],_0x2bae34=_0x359899['config'][_0x18b6fe(0x19d)]||helper[_0x18b6fe(0x1a9)](_0x540e6c,_0x570243,_0x359899['config'],constants['FRAMEWORKS'][_0x18b6fe(0x1b3)])||0x1;let _0x4f50c4=0x1;if(_0x487a29['snYgh'](isBrowserstackInfra)){const _0x27817c=helper[_0x18b6fe(0x19a)](_0x359899[_0x18b6fe(0x213)],_0x5dccce,constants['FRAMEWORKS'][_0x18b6fe(0x1b3)]);_0x27817c['forEach'](_0x48dc4e=>{const _0x1c17b3=_0x18b6fe;helper[_0x1c17b3(0x1dd)](_0x48dc4e);}),helper[_0x18b6fe(0x1fa)](_0x359899['config'])?_0x4f50c4=_0x487a29['tUKLh'](_0x2bae34,_0x359899['config'][_0x18b6fe(0x210)][_0x18b6fe(0x1b7)]):_0x4f50c4=_0x2bae34,_0x27817c[_0x18b6fe(0x1b9)](_0x44e348=>{const _0x253cc2=_0x18b6fe,_0x165b8e=_0x487a29[_0x253cc2(0x1aa)](helper[_0x253cc2(0x1e4)](_0x44e348,'_'),'_'+Date[_0x253cc2(0x1d4)]()),_0x1948d7=((()=>{const _0x4dd77b=_0x253cc2;if(_0x1df4cb){const _0x34bcd1=pwToCodeceptBrowser[_0x44e348[_0x4dd77b(0x1bc)]]||_0x44e348['browserName'];return{'browser':_0x34bcd1,[_0x34bcd1]:{'browserWSEndpoint':_0x487a29['ZHHMR'](helper['getPlaywrightUrl'](_0x359899[_0x4dd77b(0x213)]),_0x487a29[_0x4dd77b(0x20b)](encodeURIComponent,JSON[_0x4dd77b(0x18a)](_0x44e348)))}};}const _0x2760da={};return _0x2760da[_0x4dd77b(0x19c)]=_0x44e348,_0x2760da;})()),_0x24df9d=_0x487a29[_0x253cc2(0x1e6)](nestedKeyValue,_0x5a0aa5,[_0x487a29[_0x253cc2(0x199)],_0x2a6c81]);_0x2e2327[_0x165b8e]=_0x24df9d?helper['mergeDeep'](_0x1948d7,_0x24df9d):_0x1948d7,!_0x1df4cb&&(_0x2e2327[_0x165b8e][_0x253cc2(0x190)]=_0x44e348[_0x253cc2(0x1bc)]||_0x1948d7[_0x253cc2(0x190)]),_0x19c8ee['push'](_0x165b8e);});}else{_0x4f50c4=0x1;if(_0x1df4cb){const _0x311db1=_0x487a29['SHZed'](nestedKeyValue,_0x5a0aa5,[_0x487a29[_0x18b6fe(0x199)],_0x2a6c81,_0x487a29[_0x18b6fe(0x1b8)]]),_0x4b6953=_0x487a29['gzlfq'](nestedKeyValue,_0x5a0aa5,[_0x487a29[_0x18b6fe(0x199)],_0x2a6c81,_0x311db1]);_0x4b6953&&_0x4b6953[_0x18b6fe(0x1e9)]&&(_0x4b6953[_0x18b6fe(0x1e9)]=helper[_0x18b6fe(0x19a)](null,null,_0x3ca111[_0x18b6fe(0x1ef)](),null,null,_0x4b6953[_0x18b6fe(0x1e9)]));}else _0x5a0aa5[_0x487a29[_0x18b6fe(0x199)]][_0x2a6c81][_0x487a29['UDrUR']]=helper[_0x18b6fe(0x19a)](null,null,_0x3ca111['toLowerCase'](),_0x487a29[_0x18b6fe(0x1fb)](nestedKeyValue,_0x5a0aa5,[_0x487a29[_0x18b6fe(0x199)],_0x2a6c81,_0x487a29[_0x18b6fe(0x1d9)]]),null,null);_0x2e2327[_0x487a29['XKLeU']]=_0x5a0aa5,_0x19c8ee['push'](_0x487a29['XKLeU']);}const _0x513246={};_0x513246['testConfig']=_0x546fe7;const _0x4abe7d=_0x513246,_0x52daaf=path['join'](__dirname,_0x487a29['PsGdT']),_0x20d9b9=process[_0x18b6fe(0x1f3)]();process['env'][_0x487a29['ladWx']]=_0x20d9b9,process['chdir'](path[_0x18b6fe(0x194)](_0x546fe7));const _0x49be20=new CodeceptJS[(_0x18b6fe(0x1b5))](null,_0x4abe7d),_0x52bd64=_0x49be20[_0x18b6fe(0x1a4)](_0x4f50c4),_0x367ec9=testOpsHelper['isTestObservabilitySession'](),_0xd18bb=_0x19c8ee[_0x18b6fe(0x1ba)](_0x3acd61=>{const _0x427d07=_0x18b6fe,_0x148533={};_0x148533[_0x427d07(0x202)]=_0x2e2327[_0x3acd61];const _0x166ca2={};_0x166ca2[_0x427d07(0x1a2)]=_0x2e2327[_0x3acd61];const _0x3be68a=_0x1df4cb?_0x148533:_0x166ca2,_0x525661=_0x487a29[_0x427d07(0x1b6)](getO11yRerunPattern),_0xa01688={};_0xa01688['helpers']=_0x3be68a;const _0xc8b373={};_0xc8b373[_0x427d07(0x1a8)]=_0x52daaf,_0xc8b373[_0x427d07(0x1d2)]=!![],_0xc8b373[_0x427d07(0x1c4)]=_0x359899[_0x427d07(0x213)][_0x427d07(0x1da)]['skipSessionName'],_0xc8b373['skipSessionStatus']=_0x359899[_0x427d07(0x213)][_0x427d07(0x1da)][_0x427d07(0x1f9)],_0xc8b373[_0x427d07(0x1ca)]=_0x367ec9,_0xc8b373[_0x427d07(0x1ce)]=_0x3ca111;const _0x3b9285={};_0x3b9285['BrowserStackPlugin']=_0xc8b373;const _0x1db32e={};return _0x1db32e[_0x427d07(0x1ea)]=_0x3b9285,helper[_0x427d07(0x1b4)]({},_0x5a0aa5,_0x487a29['hdIYC'](isBrowserstackInfra)?_0xa01688:{},_0x525661?{'grep':_0x525661}:{},_0x1db32e);});for(const _0x1fa102 of _0xd18bb){for(const _0x338470 of _0x52bd64){const _0x59a024=_0x49be20['spawn']();_0x59a024['addTests'](_0x338470),_0x59a024[_0x18b6fe(0x1a1)](_0x1fa102);}}_0x49be20['on'](CodeceptJS[_0x18b6fe(0x196)][_0x18b6fe(0x1d3)][_0x18b6fe(0x1cc)],(_0x3ba67f,_0x11ea3f)=>{const _0x4f9288=_0x18b6fe;console[_0x4f9288(0x1cf)](_0x487a29[_0x4f9288(0x1c1)],_0x3ba67f[_0x4f9288(0x1c9)]);const _0x340df0={[_0x3ba67f[_0x4f9288(0x1c9)]]:_0x3ba67f[_0x4f9288(0x1b0)][_0x4f9288(0x1ae)]};_testErrorData['push'](_0x340df0);}),_0x49be20['on'](CodeceptJS[_0x18b6fe(0x196)]['test'][_0x18b6fe(0x187)],async _0x2adf26=>{const _0x30d4a7=_0x18b6fe;console[_0x30d4a7(0x1cf)](_0x487a29[_0x30d4a7(0x1bb)],_0x2adf26[_0x30d4a7(0x1c9)]);}),_0x49be20['on'](CodeceptJS[_0x18b6fe(0x196)]['test'][_0x18b6fe(0x1d0)],async _0x52bba1=>{const _0x5cc86c=_0x18b6fe;console[_0x5cc86c(0x1cf)](_0x487a29[_0x5cc86c(0x1bf)],_0x52bba1[_0x5cc86c(0x1c9)]);}),_0x49be20['on'](CodeceptJS[_0x18b6fe(0x196)][_0x18b6fe(0x1ee)][_0x18b6fe(0x1a5)],async()=>{const _0x5545d=_0x18b6fe,_0x363a78=_0x487a29['tkxlU'][_0x5545d(0x1a7)]('|');let _0x2cddbe=0x0;while(!![]){switch(_0x363a78[_0x2cddbe++]){case'0':testOpsHelper[_0x5545d(0x1f8)]();continue;case'1':_0x49be20[_0x5545d(0x1eb)]();continue;case'2':utilities[_0x5545d(0x215)](_0x359899);continue;case'3':try{await TestHubHandler[_0x5545d(0x1e3)]();}catch(_0x2783ac){logger[_0x5545d(0x1a6)](_0x5545d(0x1c8)+util['format'](_0x2783ac));}continue;case'4':_0x359899[_0x5545d(0x217)]=_testErrorData;continue;}break;}});async function _0x4eeb48(){const _0x192324=_0x18b6fe;try{await _0x49be20[_0x192324(0x1c6)](),await _0x49be20[_0x192324(0x20a)]();}finally{process[_0x192324(0x1ec)](_0x20d9b9),await _0x49be20[_0x192324(0x1df)]();}}_0x487a29[_0x18b6fe(0x1d7)](_0x4eeb48);}module[a2_0x33de55(0x1d5)]=run;
2
+ 'use strict';function a2_0x4f65(_0x5881e9,_0xa2cbc8){const _0xb27070=a2_0xb270();return a2_0x4f65=function(_0x4f65cf,_0x518e7f){_0x4f65cf=_0x4f65cf-0xcc;let _0xb1d5ca=_0xb27070[_0x4f65cf];return _0xb1d5ca;},a2_0x4f65(_0x5881e9,_0xa2cbc8);}const a2_0x163bca=a2_0x4f65;(function(_0x3f313c,_0x967ce8){const _0x3ab0ee=a2_0x4f65,_0x2d47c1=_0x3f313c();while(!![]){try{const _0x1305e3=-parseInt(_0x3ab0ee(0xce))/0x1+parseInt(_0x3ab0ee(0x121))/0x2+-parseInt(_0x3ab0ee(0x130))/0x3+-parseInt(_0x3ab0ee(0x12a))/0x4*(parseInt(_0x3ab0ee(0xf2))/0x5)+parseInt(_0x3ab0ee(0x13b))/0x6+parseInt(_0x3ab0ee(0xd6))/0x7+parseInt(_0x3ab0ee(0x151))/0x8*(parseInt(_0x3ab0ee(0x11f))/0x9);if(_0x1305e3===_0x967ce8)break;else _0x2d47c1['push'](_0x2d47c1['shift']());}catch(_0x3dc859){_0x2d47c1['push'](_0x2d47c1['shift']());}}}(a2_0xb270,0xec546));const fs=require('fs'),path=require('path'),util=require(a2_0x163bca(0x13d)),process=require(a2_0x163bca(0xdf)),logger=require('../../helpers/logger')[a2_0x163bca(0x14c)],{default:BrowserStackSetup}=require(a2_0x163bca(0x11e)),helper=require('../../helpers/helper'),utilities=require(a2_0x163bca(0x104)),{checkAccessibilityPlatformConfig}=require(a2_0x163bca(0x127)),{setAccessibilityCapabilities}=require('../../bin/playwright/accessibility-helper'),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x163bca(0xec)),CodeceptJS=requireModule(a2_0x163bca(0x143),a2_0x163bca(0x103)),testOpsHelper=require(a2_0x163bca(0xe4)),TestHubHandler=require(a2_0x163bca(0x112)),constants=require(a2_0x163bca(0x14f)),_testErrorData=[],getUserCodeceptJSConfigs=(_0x3f64da,_0x1e0635)=>{const _0x2c7099=a2_0x163bca,_0x393ac7={};_0x393ac7['ksadm']=function(_0x8c040f,_0x2847a7){return _0x8c040f===_0x2847a7;},_0x393ac7[_0x2c7099(0x120)]=_0x2c7099(0x155),_0x393ac7[_0x2c7099(0x106)]=_0x2c7099(0xd7);const _0x1fd65b=_0x393ac7;let _0x257abc=null;const _0x29d21f={};let _0x5b16a5=_0x1e0635['findIndex'](_0x1557a6=>_0x1557a6===_0x2c7099(0x153));_0x1fd65b[_0x2c7099(0x139)](_0x5b16a5,-0x1)&&(_0x5b16a5=_0x1e0635[_0x2c7099(0x138)](_0x59b895=>_0x59b895==='-c'));if(!helper[_0x2c7099(0x15c)](_0x3f64da[_0x2c7099(0x13a)])&&fs[_0x2c7099(0xe1)](path[_0x2c7099(0x15b)](process[_0x2c7099(0xe2)](),_0x3f64da['config'])))_0x257abc=path[_0x2c7099(0x15b)](process['cwd'](),_0x3f64da[_0x2c7099(0x13a)]),_0x1e0635[_0x2c7099(0xf4)](_0x5b16a5,0x2);else{if(!helper['isUndefined'](_0x3f64da['c'])&&fs[_0x2c7099(0xe1)](path[_0x2c7099(0x15b)](process[_0x2c7099(0xe2)](),_0x3f64da['c'])))_0x257abc=path['join'](process['cwd'](),_0x3f64da['c']),_0x1e0635['slice'](_0x5b16a5,0x2);else{if(fs[_0x2c7099(0xe1)](path[_0x2c7099(0x15b)](process[_0x2c7099(0xe2)](),_0x1fd65b[_0x2c7099(0x120)])))_0x257abc=path['join'](process[_0x2c7099(0xe2)](),_0x1fd65b[_0x2c7099(0x120)]);else fs[_0x2c7099(0xe1)](path[_0x2c7099(0x15b)](process[_0x2c7099(0xe2)](),_0x1fd65b[_0x2c7099(0x106)]))&&(_0x257abc=path['join'](process[_0x2c7099(0xe2)](),_0x1fd65b[_0x2c7099(0x106)]));}}return _0x257abc;},getO11yRerunPattern=()=>{const _0x2d86d0=a2_0x163bca,_0x4d5970={};_0x4d5970[_0x2d86d0(0xe6)]=function(_0xc6993e,_0x444a9d){return _0xc6993e!==_0x444a9d;},_0x4d5970[_0x2d86d0(0x12b)]='null';const _0xe72de0=_0x4d5970,_0x3c7faa=helper[_0x2d86d0(0x107)](process[_0x2d86d0(0x110)]['BROWSERSTACK_RERUN']);if(_0x3c7faa){const _0x44e619=process[_0x2d86d0(0x110)]['BROWSERSTACK_RERUN_TESTS'],_0x41dd6d=[];if(_0xe72de0[_0x2d86d0(0xe6)](_0x44e619,_0xe72de0[_0x2d86d0(0x12b)])&&!helper[_0x2d86d0(0x15c)](_0x44e619)){_0x44e619[_0x2d86d0(0x142)](',')['map'](_0x3dae28=>{const _0x5d7421=_0x2d86d0;_0x41dd6d[_0x5d7421(0x13c)]('('+_0x3dae28[_0x5d7421(0xf8)]()+')');});const _0x3f0107='^'+_0x41dd6d['join']('|')+'$';return _0x3f0107;}}return null;},a2_0xbc7fe3={};a2_0xbc7fe3['chrome']=a2_0x163bca(0x145),a2_0xbc7fe3[a2_0x163bca(0xea)]='chromium',a2_0xbc7fe3[a2_0x163bca(0xe7)]=a2_0x163bca(0xfd),a2_0xbc7fe3['playwright-webkit']=a2_0x163bca(0x14e);const pwToCodeceptBrowser=a2_0xbc7fe3;async function run(_0x99e18,_0x3011d8){const _0x6202ed=a2_0x163bca,_0x2d0c6f={'QfZRQ':function(_0x198634,_0x3a7305){return _0x198634+_0x3a7305;},'ACjtX':function(_0x49388d,_0x267d7d){return _0x49388d(_0x267d7d);},'YJZAL':function(_0x1823bb,_0x39171c){return _0x1823bb+_0x39171c;},'DUPkJ':function(_0x44fe93,_0x198dde,_0x3a78bb){return _0x44fe93(_0x198dde,_0x3a78bb);},'EaMbV':_0x6202ed(0x15a),'ltaso':function(_0xa6af76){return _0xa6af76();},'nNQIT':_0x6202ed(0x131),'aSlEu':'Passed\x20:\x20','VIGOM':_0x6202ed(0x148),'DhQGq':_0x6202ed(0x128),'cbCYi':_0x6202ed(0x103),'VAuoK':function(_0x5ac476,_0x38534a,_0x3b8696){return _0x5ac476(_0x38534a,_0x3b8696);},'kblOQ':_0x6202ed(0xd5),'QVWfq':function(_0x129a39,_0x343f56,_0x23ce3e){return _0x129a39(_0x343f56,_0x23ce3e);},'kRbJD':'Playwright','rXvpX':_0x6202ed(0x159),'opPRP':function(_0x2bba87,_0x1c0653){return _0x2bba87(_0x1c0653);},'wHSyT':function(_0x197d61,_0x414242){return _0x197d61!=_0x414242;},'BhtNF':function(_0x25d1a1,_0x12a9e3){return _0x25d1a1===_0x12a9e3;},'JbRLF':function(_0x32b80a,_0x32e8b7){return _0x32b80a+_0x32e8b7;},'kARPE':function(_0x3e75ec,_0x346eaa,_0x1f191e){return _0x3e75ec(_0x346eaa,_0x1f191e);},'QoqTE':'gherkin','DFFqS':_0x6202ed(0xf5),'fWodc':function(_0x27f599,_0x54f75f){return _0x27f599(_0x54f75f);},'aEEhv':function(_0x19e137){return _0x19e137();},'xtduw':function(_0x54dd89,_0x188e33){return _0x54dd89*_0x188e33;},'JmunO':function(_0x31f26b,_0x3ac058,_0x594528){return _0x31f26b(_0x3ac058,_0x594528);},'KDrgN':_0x6202ed(0xe9),'iqfNU':'desiredCapabilities','eLaJA':function(_0x2183c2,_0x25f3cf,_0x27f300){return _0x2183c2(_0x25f3cf,_0x27f300);},'Rxnlz':'root','VZZNf':'BrowserStackPlugin.js','IuNpU':_0x6202ed(0xdd)},_0x235f4d=new BrowserStackSetup(_0x99e18,_0x2d0c6f['cbCYi']);await _0x235f4d[_0x6202ed(0x13e)](),await helper[_0x6202ed(0x122)](_0x235f4d['config']);if(!_0x235f4d['config'])return;process['profile']=_0x99e18[_0x6202ed(0xee)];_0x99e18['profile']&&(process[_0x6202ed(0x110)][_0x6202ed(0xee)]=_0x99e18[_0x6202ed(0xee)]);const _0x12ee91=_0x2d0c6f[_0x6202ed(0x140)](getUserCodeceptJSConfigs,_0x99e18,_0x3011d8);let _0x5658dd={};_0x12ee91?(logger[_0x6202ed(0x124)](_0x6202ed(0xf7)+_0x12ee91),_0x5658dd=CodeceptJS[_0x6202ed(0x13a)][_0x6202ed(0x13f)](_0x12ee91)):logger[_0x6202ed(0x124)](_0x2d0c6f[_0x6202ed(0x147)]);let _0x375f3f=![];_0x2d0c6f[_0x6202ed(0x116)](nestedKeyValue,_0x5658dd,[_0x2d0c6f[_0x6202ed(0x119)],_0x2d0c6f[_0x6202ed(0xe3)]])&&(_0x375f3f=!![]);const _0x15bc68=_0x375f3f?_0x2d0c6f[_0x6202ed(0xe3)]:_0x2d0c6f[_0x6202ed(0x113)];let _0x2b9bb4=!_0x375f3f?helper[_0x6202ed(0xd1)](_0x235f4d[_0x6202ed(0x13a)]):![];!helper[_0x6202ed(0x15c)](_0x235f4d[_0x6202ed(0x13a)][_0x6202ed(0x105)])&&(process[_0x6202ed(0x110)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x6202ed(0x134)](_0x235f4d['config']['accessibilityOptions']));let _0x513929=_0x235f4d[_0x6202ed(0x13a)][_0x6202ed(0x137)];_0x513929=_0x513929||_0x2d0c6f[_0x6202ed(0x10b)](checkAccessibilityPlatformConfig,_0x235f4d[_0x6202ed(0x13a)]),process[_0x6202ed(0x110)][_0x6202ed(0x132)]=_0x513929;_0x513929&&(_0x2b9bb4=!_0x513929);_0x2d0c6f['wHSyT'](_0x235f4d[_0x6202ed(0x13a)]['testObservability'],null)?process['env'][_0x6202ed(0x117)]=_0x235f4d[_0x6202ed(0x13a)][_0x6202ed(0x10c)]:process[_0x6202ed(0x110)][_0x6202ed(0x117)]=_0x2d0c6f[_0x6202ed(0xfe)](_0x15bc68,_0x2d0c6f[_0x6202ed(0xe3)]);const _0x3376f6=_0x2d0c6f[_0x6202ed(0xf1)](_0x2d0c6f['cbCYi'],_0x2d0c6f[_0x6202ed(0x108)](nestedKeyValue,_0x5658dd,[_0x2d0c6f[_0x6202ed(0x12f)]])?_0x2d0c6f[_0x6202ed(0x11b)]:''),_0x5ed96b=await TestHubHandler[_0x6202ed(0x118)](_0x3376f6,_0x235f4d);_0x513929&&_0x2d0c6f['fWodc'](setAccessibilityCapabilities,_0x235f4d['config']);const _0x4e6a41={},_0x303d72=[],_0x177ac0=_0x235f4d['config'][_0x6202ed(0x144)]||helper[_0x6202ed(0xdb)](_0x99e18,_0x3011d8,_0x235f4d[_0x6202ed(0x13a)],constants['FRAMEWORKS'][_0x6202ed(0x14b)])||0x1;let _0x47ee50=0x1;if(_0x2d0c6f['aEEhv'](isBrowserstackInfra)){const _0x51fa48=helper['prepareCapabilities'](_0x235f4d[_0x6202ed(0x13a)],_0x2b9bb4,constants[_0x6202ed(0xe0)][_0x6202ed(0x14b)]);_0x51fa48[_0x6202ed(0x10e)](_0x194fdb=>{const _0x6e6d9d=_0x6202ed;helper[_0x6e6d9d(0xd9)](_0x194fdb);}),helper[_0x6202ed(0x136)](_0x235f4d['config'])?_0x47ee50=_0x2d0c6f[_0x6202ed(0x115)](_0x177ac0,_0x235f4d[_0x6202ed(0x13a)][_0x6202ed(0x11d)][_0x6202ed(0x10d)]):_0x47ee50=_0x177ac0,_0x51fa48[_0x6202ed(0x10e)](_0x8e8014=>{const _0x30fb4f=_0x6202ed,_0x5d42c1={'SsgUh':function(_0x2d588f,_0x2b7d51){const _0xeb4f89=a2_0x4f65;return _0x2d0c6f[_0xeb4f89(0x12d)](_0x2d588f,_0x2b7d51);},'eWeLb':function(_0x329c88,_0x5af099){const _0x322948=a2_0x4f65;return _0x2d0c6f[_0x322948(0xcd)](_0x329c88,_0x5af099);}},_0x4cbeb4=_0x2d0c6f[_0x30fb4f(0x10a)](helper[_0x30fb4f(0xe8)](_0x8e8014,'_'),'_'+Date['now']()),_0x4c7768=((()=>{const _0xe95378=_0x30fb4f;if(_0x375f3f){const _0x572fa7=pwToCodeceptBrowser[_0x8e8014[_0xe95378(0x158)]]||_0x8e8014[_0xe95378(0x158)];return{'browser':_0x572fa7,[_0x572fa7]:{'browserWSEndpoint':_0x5d42c1['SsgUh'](helper[_0xe95378(0xfc)](_0x235f4d['config']),_0x5d42c1[_0xe95378(0x111)](encodeURIComponent,JSON[_0xe95378(0x134)](_0x8e8014)))}};}const _0x2890aa={};return _0x2890aa[_0xe95378(0x157)]=_0x8e8014,_0x2890aa;})()),_0x48532d=_0x2d0c6f[_0x30fb4f(0x150)](nestedKeyValue,_0x5658dd,[_0x2d0c6f[_0x30fb4f(0x119)],_0x15bc68]);_0x4e6a41[_0x4cbeb4]=_0x48532d?helper[_0x30fb4f(0x11c)](_0x4c7768,_0x48532d):_0x4c7768,!_0x375f3f&&(_0x4e6a41[_0x4cbeb4][_0x30fb4f(0xe9)]=_0x8e8014[_0x30fb4f(0x158)]||_0x4c7768[_0x30fb4f(0xe9)]),_0x303d72[_0x30fb4f(0x13c)](_0x4cbeb4);});}else{_0x47ee50=0x1;if(_0x375f3f){const _0x357e5c=_0x2d0c6f[_0x6202ed(0x12c)](nestedKeyValue,_0x5658dd,[_0x2d0c6f[_0x6202ed(0x119)],_0x15bc68,_0x2d0c6f[_0x6202ed(0x125)]]),_0x25c891=_0x2d0c6f['VAuoK'](nestedKeyValue,_0x5658dd,[_0x2d0c6f[_0x6202ed(0x119)],_0x15bc68,_0x357e5c]);_0x25c891&&_0x25c891[_0x6202ed(0x126)]&&(_0x25c891[_0x6202ed(0x126)]=helper['prepareCapabilities'](null,null,_0x3376f6[_0x6202ed(0x12e)](),null,null,_0x25c891[_0x6202ed(0x126)]));}else _0x5658dd[_0x2d0c6f[_0x6202ed(0x119)]][_0x15bc68][_0x2d0c6f[_0x6202ed(0xd0)]]=helper[_0x6202ed(0xcc)](null,null,_0x3376f6[_0x6202ed(0x12e)](),_0x2d0c6f['eLaJA'](nestedKeyValue,_0x5658dd,[_0x2d0c6f['EaMbV'],_0x15bc68,_0x2d0c6f[_0x6202ed(0xd0)]]),null,null);_0x4e6a41[_0x2d0c6f[_0x6202ed(0xe5)]]=_0x5658dd,_0x303d72[_0x6202ed(0x13c)](_0x2d0c6f['Rxnlz']);}const _0x187eb2={};_0x187eb2[_0x6202ed(0x14d)]=_0x12ee91;const _0x160c38=_0x187eb2,_0x35831e=path[_0x6202ed(0x15b)](__dirname,_0x2d0c6f[_0x6202ed(0x133)]),_0x5275c1=process[_0x6202ed(0xe2)]();process['env'][_0x2d0c6f['IuNpU']]=_0x5275c1,process[_0x6202ed(0xd4)](path[_0x6202ed(0xda)](_0x12ee91));const _0x1cefb8=new CodeceptJS['Workers'](null,_0x160c38),_0x85ef79=_0x1cefb8[_0x6202ed(0x123)](_0x47ee50),_0x6a2ea2=testOpsHelper[_0x6202ed(0x11a)](),_0x140d85=_0x303d72[_0x6202ed(0x14a)](_0x403348=>{const _0x3a0c02=_0x6202ed,_0x9e43fb={};_0x9e43fb[_0x3a0c02(0x146)]=_0x4e6a41[_0x403348];const _0x2eaf87={};_0x2eaf87[_0x3a0c02(0x159)]=_0x4e6a41[_0x403348];const _0x54c320=_0x375f3f?_0x9e43fb:_0x2eaf87,_0x188543=_0x2d0c6f[_0x3a0c02(0x135)](getO11yRerunPattern),_0x13bc89={};_0x13bc89[_0x3a0c02(0x15a)]=_0x54c320;const _0x5c7147={};_0x5c7147[_0x3a0c02(0x141)]=_0x35831e,_0x5c7147[_0x3a0c02(0xd3)]=!![],_0x5c7147[_0x3a0c02(0xfa)]=_0x235f4d[_0x3a0c02(0x13a)][_0x3a0c02(0x101)][_0x3a0c02(0xfa)],_0x5c7147[_0x3a0c02(0xff)]=_0x235f4d[_0x3a0c02(0x13a)][_0x3a0c02(0x101)][_0x3a0c02(0xff)],_0x5c7147[_0x3a0c02(0x10c)]=_0x6a2ea2,_0x5c7147['frameworkName']=_0x3376f6;const _0x23e0c8={};_0x23e0c8[_0x3a0c02(0x129)]=_0x5c7147;const _0x4ddec8={};return _0x4ddec8['plugins']=_0x23e0c8,helper[_0x3a0c02(0x11c)]({},_0x5658dd,_0x2d0c6f[_0x3a0c02(0x135)](isBrowserstackInfra)?_0x13bc89:{},_0x188543?{'grep':_0x188543}:{},_0x4ddec8);});for(const _0x536970 of _0x140d85){for(const _0x2c8c9f of _0x85ef79){const _0x3a96b9=_0x1cefb8[_0x6202ed(0x152)]();_0x3a96b9['addTests'](_0x2c8c9f),_0x3a96b9['addConfig'](_0x536970);}}_0x1cefb8['on'](CodeceptJS[_0x6202ed(0xef)][_0x6202ed(0xf6)]['failed'],(_0x391510,_0x50a374)=>{const _0x5df0a1=_0x6202ed;console['log'](_0x2d0c6f['nNQIT'],_0x391510[_0x5df0a1(0xf3)]);const _0x2b8f00={[_0x391510['title']]:_0x391510[_0x5df0a1(0xd2)]['stack']};_testErrorData['push'](_0x2b8f00);}),_0x1cefb8['on'](CodeceptJS['event'][_0x6202ed(0xf6)][_0x6202ed(0x154)],async _0x359afe=>{const _0x522c25=_0x6202ed;console[_0x522c25(0xeb)](_0x2d0c6f[_0x522c25(0xd8)],_0x359afe[_0x522c25(0xf3)]);}),_0x1cefb8['on'](CodeceptJS[_0x6202ed(0xef)][_0x6202ed(0xf6)][_0x6202ed(0xdc)],async _0xd1e5d2=>{const _0x2da253=_0x6202ed;console[_0x2da253(0xeb)](_0x2d0c6f[_0x2da253(0xed)],_0xd1e5d2[_0x2da253(0xf3)]);}),_0x1cefb8['on'](CodeceptJS[_0x6202ed(0xef)][_0x6202ed(0xcf)]['result'],async()=>{const _0x5814d7=_0x6202ed,_0x256035=_0x2d0c6f[_0x5814d7(0x102)][_0x5814d7(0x142)]('|');let _0xee8702=0x0;while(!![]){switch(_0x256035[_0xee8702++]){case'0':_0x235f4d[_0x5814d7(0x156)]=_testErrorData;continue;case'1':utilities[_0x5814d7(0x149)](_0x235f4d);continue;case'2':_0x1cefb8[_0x5814d7(0x100)]();continue;case'3':testOpsHelper[_0x5814d7(0xf0)]();continue;case'4':try{await TestHubHandler[_0x5814d7(0x109)]();}catch(_0x195d7f){logger[_0x5814d7(0x10f)](_0x5814d7(0xfb)+util[_0x5814d7(0x114)](_0x195d7f));}continue;}break;}});async function _0x21d1df(){const _0x5bd463=_0x6202ed;try{await _0x1cefb8['bootstrapAll'](),await _0x1cefb8[_0x5bd463(0xf9)]();}finally{process[_0x5bd463(0xd4)](_0x5275c1),await _0x1cefb8['teardownAll']();}}_0x2d0c6f[_0x6202ed(0xde)](_0x21d1df);}module['exports']=run;function a2_0xb270(){const _0x386e63=['testConfig','webkit','../utils/constants','DUPkJ','5781496MKPdoF','spawn','--config','passed','codecept.conf.js','errorMessage','desiredCapabilities','browserName','WebDriver','helpers','join','isUndefined','prepareCapabilities','ACjtX','1368226HToGIW','all','iqfNU','useW3C','err','enabled','chdir','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','5797939OROijm','codecept.json','aSlEu','setAdditionalCapabilities','dirname','getUserWorkerCount','before','browserStackCwd','aEEhv','process','FRAMEWORKS','existsSync','cwd','kRbJD','../../helpers/test-observability/utils','Rxnlz','vqwiw','playwright-firefox','getPlatformName','browser','playwright-chromium','log','../../helpers/helper','VIGOM','profile','event','printBuildLink','JbRLF','59635TQrpzk','title','slice','-cucumber','test','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','trim','run','skipSessionName','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','getPlaywrightUrl','firefox','BhtNF','skipSessionStatus','printResults','testContextOptions','DhQGq','codeceptjs','../../helpers/utilities','accessibilityOptions','NHEzA','isTrue','kARPE','stop','YJZAL','opPRP','testObservability','length','forEach','debug','env','eWeLb','../../helpers/testhub/testhubHandler','rXvpX','format','xtduw','QVWfq','BROWSERSTACK_TEST_OBSERVABILITY_YML','launchBuild','EaMbV','isTestObservabilitySession','DFFqS','mergeDeep','platforms','../../helpers/BrowserStackSetup','9pWsSKb','hCOPC','1747720TePPDv','handleApp','createGroupsOfSuites','info','KDrgN','browserWSEndpoint','../../helpers/accessibility-automation/helper','0|3|1|4|2','BrowserStackPlugin','244LYrJlL','UMckR','JmunO','QfZRQ','toLowerCase','QoqTE','3243147vqzyzL','Failed\x20:\x20','BROWSERSTACK_TEST_ACCESSIBILITY_YML','VZZNf','stringify','ltaso','validPlatformsPresent','accessibility','findIndex','ksadm','config','10320024pvJhMe','push','util','initialize','load','VAuoK','require','split','codeceptjs/lib/index.js','parallelsPerPlatform','chromium','Playwright','kblOQ','Started\x20:\x20','finalExecution','map','CODECEPT','winstonLogger'];a2_0xb270=function(){return _0x386e63;};return a2_0xb270();}
@@ -1 +1 @@
1
- const a3_0x4bf4e1=a3_0x21d6;(function(_0x311f0d,_0x24deb2){const _0x44a64e=a3_0x21d6,_0x250fd0=_0x311f0d();while(!![]){try{const _0x5948d5=parseInt(_0x44a64e(0x169))/0x1+-parseInt(_0x44a64e(0x14c))/0x2*(parseInt(_0x44a64e(0x177))/0x3)+-parseInt(_0x44a64e(0x16d))/0x4+parseInt(_0x44a64e(0x173))/0x5*(-parseInt(_0x44a64e(0x18a))/0x6)+parseInt(_0x44a64e(0x197))/0x7*(-parseInt(_0x44a64e(0x17c))/0x8)+parseInt(_0x44a64e(0x18f))/0x9+-parseInt(_0x44a64e(0x15e))/0xa*(-parseInt(_0x44a64e(0x193))/0xb);if(_0x5948d5===_0x24deb2)break;else _0x250fd0['push'](_0x250fd0['shift']());}catch(_0x18d94f){_0x250fd0['push'](_0x250fd0['shift']());}}}(a3_0x3a94,0xddda9));function a3_0x21d6(_0x5b1534,_0x5c3b66){const _0x3a94cd=a3_0x3a94();return a3_0x21d6=function(_0x21d6de,_0x36a99c){_0x21d6de=_0x21d6de-0x14c;let _0x4dd914=_0x3a94cd[_0x21d6de];return _0x4dd914;},a3_0x21d6(_0x5b1534,_0x5c3b66);}function a3_0x3a94(){const _0x1d82a8=['cSQlL','deviceName','../../helpers/test-observability/utils','../../helpers/accessibility-automation/helper','azCbI','ogeMY','fzGae','latest','platform','winstonLogger','mXjMq','xiEqu','processWebDriverConfig','browserstack_executor','UnlVn','drhPj','6320970yYPlIf','mKvTB','platform_version','../../helpers/helper','bstack:options','browserVersion','includes','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','browserstack_accessibility_automation_script','Playwright','config','520879NraryB','gHhdG','OYHXM','vFQuv','3430224uKNeaC','bsSessionId','DHYhS','../../helpers/logger','fYzOo','os_version','340bUpyiU','giQvj','platformVersion','browserWSEndpoint','20127WPvUAl','playwright-chromium','PkilY','sessionId','unknown_grid','16svcWqu','browser','browser_version','osVersion','AqwkH','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','name','rhqlI','warn','get','__cloud_provider___','wkuRs','frQat','ChYOm','73830KfmJCk','KRWAZ','browserName','caps','zhxSw','15842439EXWdJs','capabilities','JHdZz','KIBlr','55IHUfel','chrome','COdyp','WebDriver','5708521yZDrnu','accessibilityPlatform','360AZXDbX','constructor'];a3_0x3a94=function(){return _0x1d82a8;};return a3_0x3a94();}const {isUndefined,nestedKeyValue}=require(a3_0x4bf4e1(0x161)),logger=require(a3_0x4bf4e1(0x170))[a3_0x4bf4e1(0x157)],PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{isAccessibilityAutomationSession}=require(a3_0x4bf4e1(0x151)),{getObservabilityLinkedProductName}=require(a3_0x4bf4e1(0x150)),getOSVersionFromCaps=_0x2f0651=>{const _0x299c54=a3_0x4bf4e1,_0x23cae5={};_0x23cae5[_0x299c54(0x15f)]=_0x299c54(0x162),_0x23cae5[_0x299c54(0x159)]=_0x299c54(0x175),_0x23cae5[_0x299c54(0x14e)]=_0x299c54(0x160),_0x23cae5[_0x299c54(0x189)]=_0x299c54(0x17f),_0x23cae5[_0x299c54(0x195)]=_0x299c54(0x172);const _0x3f9c1b=_0x23cae5;if(!_0x2f0651)return null;const _0x310eda=_0x2f0651[_0x3f9c1b[_0x299c54(0x15f)]],_0x5bb6ab=[_0x3f9c1b[_0x299c54(0x159)],_0x3f9c1b[_0x299c54(0x14e)],_0x3f9c1b[_0x299c54(0x189)],_0x3f9c1b['COdyp']];for(const _0x94c0d8 of _0x5bb6ab){if(_0x310eda&&_0x310eda[_0x94c0d8])return _0x310eda[_0x94c0d8];else{if(_0x2f0651[_0x94c0d8])return _0x2f0651[_0x94c0d8];}}return null;};exports['fetchPlatformDetails']=_0x3c358f=>{const _0x48cf36=a3_0x4bf4e1,_0x5f20fe={'ogeMY':_0x48cf36(0x17b),'zhxSw':function(_0x569a3c,_0x3eab04){return _0x569a3c===_0x3eab04;},'OYHXM':_0x48cf36(0x196),'JHdZz':function(_0x579594,_0x58575e){return _0x579594(_0x58575e);},'EEZmL':function(_0x2cc7cf,_0x1cefd9,_0x10cfe5){return _0x2cc7cf(_0x1cefd9,_0x10cfe5);},'fYzOo':_0x48cf36(0x168),'azCbI':'desiredCapabilities','rhqlI':function(_0x3975d7,_0x3ef266){return _0x3975d7(_0x3ef266);},'IrxyP':_0x48cf36(0x167),'EFgCF':function(_0x59f7f3,_0x5070b5,_0x10dfec){return _0x59f7f3(_0x5070b5,_0x10dfec);},'eZZva':_0x48cf36(0x17d),'drhPj':_0x48cf36(0x176),'FePct':_0x48cf36(0x18d),'giQvj':function(_0x3b27d5,_0x571a5e){return _0x3b27d5(_0x571a5e);}};if(!_0x3c358f)return null;let _0x41eb43=global[_0x48cf36(0x186)]||_0x5f20fe[_0x48cf36(0x153)];if(_0x5f20fe[_0x48cf36(0x18e)](_0x3c358f[_0x48cf36(0x14d)][_0x48cf36(0x182)],_0x5f20fe[_0x48cf36(0x16b)])){const _0x448e8c=_0x3c358f[_0x48cf36(0x17d)];if(!_0x448e8c)return null;const _0x1323c7=_0x448e8c['capabilities'],_0x55055c=_0x5f20fe[_0x48cf36(0x191)](getOSVersionFromCaps,_0x5f20fe['EEZmL'](nestedKeyValue,_0x3c358f,[_0x5f20fe[_0x48cf36(0x171)],_0x5f20fe[_0x48cf36(0x152)]]));return{[_0x41eb43]:{'browser':_0x1323c7['browserName'],'browser_version':_0x1323c7[_0x48cf36(0x163)],'capabilities':_0x1323c7,'platform':_0x1323c7['platformName'],'platform_version':_0x1323c7[_0x48cf36(0x175)]||_0x55055c,'product':_0x5f20fe[_0x48cf36(0x183)](getObservabilityLinkedProductName,_0x1323c7),'session_id':_0x448e8c[_0x48cf36(0x17a)]}};}else{if(_0x5f20fe['zhxSw'](_0x3c358f[_0x48cf36(0x14d)][_0x48cf36(0x182)],_0x5f20fe['IrxyP'])){const _0x36f734=PlaywrightSessionDetails['getDetails']();_0x41eb43=_0x36f734['cloudProvider']||_0x41eb43;const _0x41927f=_0x5f20fe['EFgCF'](nestedKeyValue,_0x3c358f,[_0x5f20fe[_0x48cf36(0x171)],_0x5f20fe['eZZva'],_0x5f20fe[_0x48cf36(0x15d)]]),_0x3dc68d=_0x41927f?JSON['parse'](new URL(_0x41927f)['searchParams'][_0x48cf36(0x185)](_0x5f20fe['FePct'])):{};return{[_0x41eb43]:{'browser':_0x36f734['browser']||_0x3dc68d['browserName'],'browser_version':_0x36f734[_0x48cf36(0x17e)]||_0x3dc68d[_0x48cf36(0x17e)],'capabilities':_0x3dc68d,'platform':_0x36f734[_0x48cf36(0x156)],'platform_version':_0x36f734[_0x48cf36(0x160)],'product':_0x5f20fe[_0x48cf36(0x174)](getObservabilityLinkedProductName,_0x3dc68d),'session_id':_0x36f734[_0x48cf36(0x16e)]}};}}},exports[a3_0x4bf4e1(0x15a)]=_0x592b3d=>{const _0x59a0c2=a3_0x4bf4e1,_0x277eb9={'wkuRs':function(_0xf8f22){return _0xf8f22();},'UnlVn':function(_0x51e3d4,_0x447cb2){return _0x51e3d4===_0x447cb2;},'DHYhS':_0x59a0c2(0x155),'gHhdG':function(_0x2c0386,_0xfb521c){return _0x2c0386>_0xfb521c;},'fzGae':function(_0x5072f4,_0x32d9d4){return _0x5072f4(_0x32d9d4);},'PkilY':_0x59a0c2(0x181),'FMuzk':function(_0x583070,_0x104ac3){return _0x583070===_0x104ac3;},'mXbfK':_0x59a0c2(0x194),'mXjMq':_0x59a0c2(0x178),'AqwkH':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','frQat':function(_0x545e03,_0x2051f9){return _0x545e03(_0x2051f9);},'vFQuv':_0x59a0c2(0x165)};if(_0x277eb9[_0x59a0c2(0x187)](isAccessibilityAutomationSession)){const _0x5a2015=_0x592b3d[_0x59a0c2(0x17d)],_0x45e00d=_0x5a2015[_0x59a0c2(0x190)];global[_0x59a0c2(0x198)]=!![],!(_0x277eb9['UnlVn'](_0x45e00d['browserVersion'],_0x277eb9[_0x59a0c2(0x16f)])||_0x277eb9[_0x59a0c2(0x16a)](_0x277eb9[_0x59a0c2(0x154)](parseInt,_0x45e00d['browserVersion']),0x5e))&&(logger[_0x59a0c2(0x184)](_0x277eb9[_0x59a0c2(0x179)]),global[_0x59a0c2(0x198)]=![]),!(_0x277eb9['FMuzk'](_0x45e00d[_0x59a0c2(0x18c)],_0x277eb9['mXbfK'])||_0x277eb9[_0x59a0c2(0x15c)](_0x45e00d[_0x59a0c2(0x18c)],_0x277eb9[_0x59a0c2(0x158)]))&&(logger[_0x59a0c2(0x184)](_0x277eb9[_0x59a0c2(0x180)]),global[_0x59a0c2(0x198)]=![]),!_0x277eb9[_0x59a0c2(0x188)](isUndefined,_0x45e00d[_0x59a0c2(0x14f)])&&(logger[_0x59a0c2(0x184)](_0x277eb9[_0x59a0c2(0x16c)]),global[_0x59a0c2(0x198)]=![]);}},exports['shouldPatchExecuteScript']=_0x56b027=>{const _0x657981=a3_0x4bf4e1,_0x3f40ca={};_0x3f40ca[_0x657981(0x18b)]=_0x657981(0x15b),_0x3f40ca[_0x657981(0x192)]=_0x657981(0x166);const _0x52dfcf=_0x3f40ca;if(!_0x56b027)return![];return!_0x56b027[_0x657981(0x164)](_0x52dfcf[_0x657981(0x18b)])&&!_0x56b027['includes'](_0x52dfcf[_0x657981(0x192)]);};
1
+ function a3_0xd992(){const _0x5e9111=['xSQtf','chrome','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','1006622HNbLqB','IyWXI','VSzPw','oGZyr','../../helpers/logger','652419lVhfyu','browserWSEndpoint','yipHJ','browserstack_executor','gVyRX','IfHHg','processWebDriverConfig','osVersion','oUppV','WebDriver','platformVersion','AuHse','6514792LJXZfd','searchParams','../../helpers/accessibility-automation/helper','shouldPatchExecuteScript','capabilities','WwgPq','72205XzffOG','browserstack_accessibility_automation_script','platform','1261672EwoKsn','OUNuH','browserName','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','get','desiredCapabilities','accessibilityPlatform','UQUyd','sessionId','os_version','bstack:options','AIUip','cloudProvider','config','deviceName','platform_version','browser','eFYQK','IfrLQ','unknown_grid','platformName','playwright-chromium','IYjpz','includes','../../helpers/test-observability/utils','BGSbe','BnDYe','bsSessionId','ZdzFX','Playwright','browser_version','7EmDfbg','iZaoe','CguPg','lulOx','OrmVX','2461902kAjHaM','caps','parse','browserVersion','aqHgT','xQwvN','fetchPlatformDetails','UWcxs','12AhQkqo','../../helpers/helper','getDetails','UjLyQ','name','warn','../../bin/playwright/sessionDetails','4797900xXBBuM','constructor'];a3_0xd992=function(){return _0x5e9111;};return a3_0xd992();}const a3_0x469c0e=a3_0x34f8;(function(_0x3d8f10,_0xe08ccb){const _0x31db04=a3_0x34f8,_0x37add7=_0x3d8f10();while(!![]){try{const _0x43e29c=parseInt(_0x31db04(0x117))/0x1+parseInt(_0x31db04(0x131))/0x2+parseInt(_0x31db04(0x11c))/0x3*(parseInt(_0x31db04(0x10b))/0x4)+parseInt(_0x31db04(0x12e))/0x5+-parseInt(_0x31db04(0x103))/0x6*(parseInt(_0x31db04(0xfe))/0x7)+-parseInt(_0x31db04(0x128))/0x8+-parseInt(_0x31db04(0x112))/0x9;if(_0x43e29c===_0xe08ccb)break;else _0x37add7['push'](_0x37add7['shift']());}catch(_0x6c56eb){_0x37add7['push'](_0x37add7['shift']());}}}(a3_0xd992,0x856f8));function a3_0x34f8(_0x5a99e3,_0x1ebeca){const _0xd9924b=a3_0xd992();return a3_0x34f8=function(_0x34f8af,_0x393331){_0x34f8af=_0x34f8af-0xea;let _0x5803c6=_0xd9924b[_0x34f8af];return _0x5803c6;},a3_0x34f8(_0x5a99e3,_0x1ebeca);}const {isUndefined,nestedKeyValue}=require(a3_0x469c0e(0x10c)),logger=require(a3_0x469c0e(0x11b))['winstonLogger'],PlaywrightSessionDetails=require(a3_0x469c0e(0x111)),{isAccessibilityAutomationSession}=require(a3_0x469c0e(0x12a)),{getObservabilityLinkedProductName}=require(a3_0x469c0e(0xf7)),getOSVersionFromCaps=_0x1f14af=>{const _0x41f2f3=a3_0x469c0e,_0x55de54={};_0x55de54[_0x41f2f3(0xf8)]=_0x41f2f3(0x13c),_0x55de54[_0x41f2f3(0x139)]='platformVersion',_0x55de54['gVyRX']=_0x41f2f3(0xee),_0x55de54[_0x41f2f3(0x11e)]=_0x41f2f3(0x123),_0x55de54[_0x41f2f3(0x124)]=_0x41f2f3(0x13b);const _0x4b7d18=_0x55de54;if(!_0x1f14af)return null;const _0xcd1c6c=_0x1f14af[_0x4b7d18[_0x41f2f3(0xf8)]],_0x5f1fe6=[_0x4b7d18[_0x41f2f3(0x139)],_0x4b7d18[_0x41f2f3(0x120)],_0x4b7d18['yipHJ'],_0x4b7d18['oUppV']];for(const _0x17f1bd of _0x5f1fe6){if(_0xcd1c6c&&_0xcd1c6c[_0x17f1bd])return _0xcd1c6c[_0x17f1bd];else{if(_0x1f14af[_0x17f1bd])return _0x1f14af[_0x17f1bd];}}return null;};exports[a3_0x469c0e(0x109)]=_0x36daf7=>{const _0x233bd9=a3_0x469c0e,_0x39f03c={'OUNuH':_0x233bd9(0xf2),'IfHHg':function(_0x4f6b80,_0x59f8cd){return _0x4f6b80===_0x59f8cd;},'AIUip':_0x233bd9(0x125),'oGZyr':function(_0x299143,_0x422820){return _0x299143(_0x422820);},'IYjpz':function(_0x99fa00,_0x15233d,_0x4188f4){return _0x99fa00(_0x15233d,_0x4188f4);},'BnDYe':_0x233bd9(0xec),'aqHgT':_0x233bd9(0x137),'IyWXI':_0x233bd9(0xfc),'UjLyQ':function(_0x417ed9,_0x3b3a65,_0xaaa455){return _0x417ed9(_0x3b3a65,_0xaaa455);},'xQwvN':_0x233bd9(0xef),'IfrLQ':_0x233bd9(0x11d),'AuHse':_0x233bd9(0x104)};if(!_0x36daf7)return null;let _0x533f45=global['__cloud_provider___']||_0x39f03c[_0x233bd9(0x132)];if(_0x39f03c[_0x233bd9(0x121)](_0x36daf7[_0x233bd9(0x113)][_0x233bd9(0x10f)],_0x39f03c[_0x233bd9(0xea)])){const _0x2ee23a=_0x36daf7[_0x233bd9(0xef)];if(!_0x2ee23a)return null;const _0xdf5b8=_0x2ee23a[_0x233bd9(0x12c)],_0x2b2eec=_0x39f03c['oGZyr'](getOSVersionFromCaps,_0x39f03c[_0x233bd9(0xf5)](nestedKeyValue,_0x36daf7,[_0x39f03c[_0x233bd9(0xf9)],_0x39f03c[_0x233bd9(0x107)]]));return{[_0x533f45]:{'browser':_0xdf5b8[_0x233bd9(0x133)],'browser_version':_0xdf5b8[_0x233bd9(0x106)],'capabilities':_0xdf5b8,'platform':_0xdf5b8[_0x233bd9(0xf3)],'platform_version':_0xdf5b8[_0x233bd9(0x126)]||_0x2b2eec,'product':_0x39f03c[_0x233bd9(0x11a)](getObservabilityLinkedProductName,_0xdf5b8),'session_id':_0x2ee23a[_0x233bd9(0x13a)]}};}else{if(_0x39f03c[_0x233bd9(0x121)](_0x36daf7[_0x233bd9(0x113)][_0x233bd9(0x10f)],_0x39f03c[_0x233bd9(0x118)])){const _0xd00d27=PlaywrightSessionDetails[_0x233bd9(0x10d)]();_0x533f45=_0xd00d27[_0x233bd9(0xeb)]||_0x533f45;const _0x4f8126=_0x39f03c[_0x233bd9(0x10e)](nestedKeyValue,_0x36daf7,[_0x39f03c[_0x233bd9(0xf9)],_0x39f03c[_0x233bd9(0x108)],_0x39f03c[_0x233bd9(0xf1)]]),_0xa60733=_0x4f8126?JSON[_0x233bd9(0x105)](new URL(_0x4f8126)[_0x233bd9(0x129)][_0x233bd9(0x136)](_0x39f03c[_0x233bd9(0x127)])):{};return{[_0x533f45]:{'browser':_0xd00d27[_0x233bd9(0xef)]||_0xa60733['browserName'],'browser_version':_0xd00d27[_0x233bd9(0xfd)]||_0xa60733[_0x233bd9(0xfd)],'capabilities':_0xa60733,'platform':_0xd00d27[_0x233bd9(0x130)],'platform_version':_0xd00d27[_0x233bd9(0xee)],'product':_0x39f03c[_0x233bd9(0x11a)](getObservabilityLinkedProductName,_0xa60733),'session_id':_0xd00d27[_0x233bd9(0xfa)]}};}}},exports[a3_0x469c0e(0x122)]=_0x438dc9=>{const _0x20c864=a3_0x469c0e,_0x501385={'OrmVX':function(_0x503b37){return _0x503b37();},'lulOx':function(_0x3ddf5f,_0x164b98){return _0x3ddf5f===_0x164b98;},'VSzPw':'latest','CguPg':function(_0x29ca52,_0x1da35d){return _0x29ca52>_0x1da35d;},'ZdzFX':function(_0x10268e,_0xcf6031){return _0x10268e(_0xcf6031);},'eFYQK':_0x20c864(0x116),'iZaoe':function(_0x342539,_0x3114f1){return _0x342539===_0x3114f1;},'ysQtv':_0x20c864(0x115),'UWcxs':_0x20c864(0xf4),'STRLz':_0x20c864(0x135),'oHsTJ':_0x20c864(0x134)};if(_0x501385[_0x20c864(0x102)](isAccessibilityAutomationSession)){const _0x3d73f3=_0x438dc9[_0x20c864(0xef)],_0x491fa3=_0x3d73f3['capabilities'];global['accessibilityPlatform']=!![],!(_0x501385[_0x20c864(0x101)](_0x491fa3[_0x20c864(0x106)],_0x501385[_0x20c864(0x119)])||_0x501385[_0x20c864(0x100)](_0x501385['ZdzFX'](parseInt,_0x491fa3[_0x20c864(0x106)]),0x5e))&&(logger[_0x20c864(0x110)](_0x501385[_0x20c864(0xf0)]),global['accessibilityPlatform']=![]),!(_0x501385['iZaoe'](_0x491fa3[_0x20c864(0x133)],_0x501385['ysQtv'])||_0x501385[_0x20c864(0xff)](_0x491fa3['browserName'],_0x501385[_0x20c864(0x10a)]))&&(logger[_0x20c864(0x110)](_0x501385['STRLz']),global[_0x20c864(0x138)]=![]),!_0x501385[_0x20c864(0xfb)](isUndefined,_0x491fa3[_0x20c864(0xed)])&&(logger[_0x20c864(0x110)](_0x501385['oHsTJ']),global[_0x20c864(0x138)]=![]);}},exports[a3_0x469c0e(0x12b)]=_0x43fdb2=>{const _0x6f0b3e=a3_0x469c0e,_0xe7b92c={};_0xe7b92c[_0x6f0b3e(0x12d)]=_0x6f0b3e(0x11f),_0xe7b92c[_0x6f0b3e(0x114)]=_0x6f0b3e(0x12f);const _0x10c9c0=_0xe7b92c;if(!_0x43fdb2)return![];return!_0x43fdb2[_0x6f0b3e(0xf6)](_0x10c9c0[_0x6f0b3e(0x12d)])&&!_0x43fdb2['includes'](_0x10c9c0[_0x6f0b3e(0x114)]);};
@@ -1 +1 @@
1
- const a4_0x59feca=a4_0x26b6;(function(_0xcff79a,_0x378fca){const _0x36810b=a4_0x26b6,_0x204d3b=_0xcff79a();while(!![]){try{const _0x21f2c8=-parseInt(_0x36810b(0x166))/0x1*(-parseInt(_0x36810b(0x173))/0x2)+parseInt(_0x36810b(0x1ec))/0x3+-parseInt(_0x36810b(0x145))/0x4*(parseInt(_0x36810b(0x1e1))/0x5)+-parseInt(_0x36810b(0x1f6))/0x6*(parseInt(_0x36810b(0x1fb))/0x7)+parseInt(_0x36810b(0x170))/0x8+parseInt(_0x36810b(0x183))/0x9*(-parseInt(_0x36810b(0x1a2))/0xa)+parseInt(_0x36810b(0x1b7))/0xb;if(_0x21f2c8===_0x378fca)break;else _0x204d3b['push'](_0x204d3b['shift']());}catch(_0x30dc20){_0x204d3b['push'](_0x204d3b['shift']());}}}(a4_0xc627,0x1cca3));const path=require(a4_0x59feca(0x1dc)),fs=require('fs'),{v4:uuidv4}=require(a4_0x59feca(0x18d)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x59feca(0x205)),testOpsHelper=require(a4_0x59feca(0x1d0)),{getTestEnv}=require(a4_0x59feca(0x182)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),logger=require(a4_0x59feca(0x20d))[a4_0x59feca(0x19d)],SessionHandler=require('../../helpers/test-observability/sessionHandler'),RequestQueueHandler=require(a4_0x59feca(0x1e9)),PlaywrightSessionDetails=require('../playwright/sessionDetails'),debug=testOpsHelper[a4_0x59feca(0x1fd)],{processAccessibilityCaps}=require('../playwright/accessibility-helper'),Constants=require(a4_0x59feca(0x1d5)),{fetchPlatformDetails}=require(a4_0x59feca(0x16f)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x59feca(0x142)),STATE_PASSED=a4_0x59feca(0x195),STATE_FAILED=a4_0x59feca(0x19b),a4_0x4c7135={};a4_0x4c7135['TEST_RUN_STARTED']='TestRunStarted',a4_0x4c7135[a4_0x59feca(0x19c)]=a4_0x59feca(0x152),a4_0x4c7135[a4_0x59feca(0x223)]='TestRunSkipped',a4_0x4c7135['HOOK_RUN_STARTED']=a4_0x59feca(0x189),a4_0x4c7135[a4_0x59feca(0x154)]=a4_0x59feca(0x16e);const TEST_EVENTS=a4_0x4c7135,parseEvent=_0x1dd7ad=>{const _0x5bd80d=a4_0x59feca,_0x4e8976={};_0x4e8976[_0x5bd80d(0x164)]=function(_0x5e4e3c,_0x136ce9){return _0x5e4e3c<_0x136ce9;},_0x4e8976[_0x5bd80d(0x1f5)]=function(_0x5b7581,_0x3cda78){return _0x5b7581===_0x3cda78;},_0x4e8976[_0x5bd80d(0x18f)]=_0x5bd80d(0x192),_0x4e8976['PMJMB']=_0x5bd80d(0x1b0),_0x4e8976['sIPHF']=_0x5bd80d(0x1fe),_0x4e8976['mqdkp']=function(_0x2257b6,_0x1f28be){return _0x2257b6===_0x1f28be;},_0x4e8976[_0x5bd80d(0x1e3)]=_0x5bd80d(0x163),_0x4e8976[_0x5bd80d(0x1c3)]=_0x5bd80d(0x17f);const _0xd75c55=_0x4e8976,_0x25e5bd=_0x1dd7ad[_0x5bd80d(0x222)](/^(.*)Run(.*)$/);if(!_0x25e5bd)return null;if(_0xd75c55[_0x5bd80d(0x164)](_0x25e5bd[_0x5bd80d(0x160)],0x3))return null;const _0x32a18a=_0x25e5bd[0x1][_0x5bd80d(0x14f)](),_0x578bcb=_0x25e5bd[0x2][_0x5bd80d(0x14f)]();return{'test':_0xd75c55['aNZeR'](_0x32a18a,_0xd75c55[_0x5bd80d(0x18f)]),'hook':_0xd75c55['aNZeR'](_0x32a18a,_0xd75c55[_0x5bd80d(0x16c)]),'skipped':_0xd75c55[_0x5bd80d(0x1f5)](_0x578bcb,_0xd75c55[_0x5bd80d(0x199)]),'started':_0xd75c55['mqdkp'](_0x578bcb,_0xd75c55[_0x5bd80d(0x1e3)]),'finished':_0xd75c55[_0x5bd80d(0x15d)](_0x578bcb,_0xd75c55[_0x5bd80d(0x1c3)])};},mockPWBrowserType=_0x4af555=>{const _0xf14be4=a4_0x59feca,_0x34d140={'LzUgD':function(_0x317a2c,_0x34afb6){return _0x317a2c===_0x34afb6;},'GUOer':_0xf14be4(0x1b2),'GAHqv':function(_0x535c8d,_0x2d621a,_0x39289b){return _0x535c8d(_0x2d621a,_0x39289b);},'BRoNO':_0xf14be4(0x196),'FXCOA':function(_0x4e7e11,_0x3fdc71){return _0x4e7e11(_0x3fdc71);},'igLIZ':_0xf14be4(0x187),'BUisP':function(_0x1c8cc1,_0xb85e81){return _0x1c8cc1(_0xb85e81);},'LlHGn':'lib','BQAUr':'client','TLLGU':_0xf14be4(0x184),'nkYmm':function(_0x3114e4,_0x210956){return _0x3114e4(_0x210956);},'MhUYR':_0xf14be4(0x18e),'LLIwl':_0xf14be4(0x1c6),'DMNMm':_0xf14be4(0x1cf)},_0x1b177b=path[_0xf14be4(0x1af)](_0x34d140[_0xf14be4(0x177)],_0x34d140['BQAUr'],_0x34d140['TLLGU']),_0x54673f=_0x34d140[_0xf14be4(0x14c)](importFileFromPWCore,_0x1b177b);if(!_0x54673f){_0x34d140[_0xf14be4(0x15a)](debug,_0x34d140[_0xf14be4(0x1f9)]);return;}const _0x31b38d=_0x54673f[_0xf14be4(0x1d9)],_0x38965a=_0x31b38d[_0xf14be4(0x1f7)];if(_0x38965a[_0xf14be4(0x1a4)])return;const _0x183154=_0x38965a[_0xf14be4(0x1c6)];Object[_0xf14be4(0x143)](_0x38965a,_0x34d140['LLIwl'],{'get':function(){return async function _0x50207b(_0x5472fc,_0x5074d8){const _0xb99d8f=a4_0x26b6,_0x2b2f95={'cBQZc':function(_0x49f1f4,_0xa8fa48){const _0x344dcd=a4_0x26b6;return _0x34d140[_0x344dcd(0x213)](_0x49f1f4,_0xa8fa48);},'pxUXu':_0x34d140['GUOer']},_0x3d32ab=_0x34d140[_0xb99d8f(0x1a9)](nestedKeyValue,_0x5472fc,[_0x34d140[_0xb99d8f(0x20c)]])||_0x5472fc;let _0x40105d=null,_0x4d79b8=null;try{[_0x4d79b8,_0x40105d]=_0x3d32ab?_0x34d140[_0xb99d8f(0x15a)](parseWSEndpoint,_0x3d32ab):[null,null],global[_0xb99d8f(0x180)]=_0x40105d,_0x4d79b8['includes'](_0x34d140[_0xb99d8f(0x186)])&&(global[_0xb99d8f(0x1ab)]=_0x34d140[_0xb99d8f(0x186)]);}catch(_0x24495d){logger[_0xb99d8f(0x1fd)](_0xb99d8f(0x167)+_0x3d32ab+'\x20'+_0x24495d);}_0x34d140[_0xb99d8f(0x1a9)](processAccessibilityCaps,_0x40105d,_0x4d79b8);if(global[_0xb99d8f(0x219)]){const _0x47c6c2=await _0x38965a['connectOverCDP'][_0xb99d8f(0x198)](this,[''+Constants[_0xb99d8f(0x21f)]+_0x34d140['BUisP'](encodeURIComponent,JSON['stringify'](_0x40105d))]);return PlaywrightSessionDetails[_0xb99d8f(0x1bb)](_0x47c6c2,_0x4af555,_0x3d32ab),_0x47c6c2;}return _0x183154[_0xb99d8f(0x198)](this,arguments)[_0xb99d8f(0x20a)](_0x586fae=>{const _0x548836=_0xb99d8f;let _0x1144a2=_0x5472fc[_0x548836(0x196)];return _0x2b2f95['cBQZc'](typeof _0x5472fc,_0x2b2f95['pxUXu'])&&(_0x1144a2=_0x5472fc),PlaywrightSessionDetails['setupBrowserDetails'](_0x586fae,_0x4af555,_0x1144a2),_0x586fae;});};}});const _0x5b098b=_0x38965a[_0xf14be4(0x1cf)];Object[_0xf14be4(0x143)](_0x38965a,_0x34d140['DMNMm'],{'get':function(){return async function _0x2e0325(){const _0xf1f88e=a4_0x26b6;return _0x5b098b['apply'](this,arguments)[_0xf1f88e(0x20a)](_0x84ef51=>{const _0x52983b=_0xf1f88e;return PlaywrightSessionDetails[_0x52983b(0x1bb)](_0x84ef51,null),_0x84ef51;});};}});};class O11yHelper{['currentTest']=null;['currentHook']=null;['enabled']=![];[a4_0x59feca(0x216)]=![];constructor(_0x2a456b,_0x5d01ba){const _0x226360=a4_0x59feca,_0x203623={'XZiPW':_0x226360(0x1da),'YemtR':function(_0x4df313,_0x491ebc){return _0x4df313===_0x491ebc;},'sJACh':_0x226360(0x1eb),'diiXP':function(_0x5ed7f0,_0x152d94){return _0x5ed7f0(_0x152d94);},'HWlVX':function(_0x359353){return _0x359353();},'rXxEP':function(_0x2fe6fe){return _0x2fe6fe();}},_0x5abdce=_0x203623[_0x226360(0x1cb)]['split']('|');let _0x44087b=0x0;while(!![]){switch(_0x5abdce[_0x44087b++]){case'0':this['driver']=_0x2a456b;continue;case'1':this[_0x226360(0x1b1)]&&_0x203623['YemtR'](this[_0x226360(0x1b1)][_0x226360(0x14d)][_0x226360(0x193)],_0x203623[_0x226360(0x17e)])&&_0x203623[_0x226360(0x217)](mockPWBrowserType,null);continue;case'2':this['enabled']=_0x203623[_0x226360(0x200)](shouldProcessEventForTesthub);continue;case'3':this[_0x226360(0x216)]=_0x5d01ba[_0x226360(0x216)];continue;case'4':this['_testEnv']=_0x203623[_0x226360(0x17d)](getTestEnv);continue;case'5':this['_paths']=new testOpsHelper[(_0x226360(0x178))]({'cwd':process[_0x226360(0x1ce)]()},this['_testEnv']['location_prefix']);continue;}break;}}['start'](){const _0x12a248=a4_0x59feca;if(!this[_0x12a248(0x169)])return;testOpsHelper[_0x12a248(0x221)](),process['removeAllListeners'](_0x12a248(0x1e2)+process[_0x12a248(0x1ae)]),process['on'](_0x12a248(0x1e2)+process[_0x12a248(0x1ae)],this[_0x12a248(0x1ac)][_0x12a248(0x21e)](this));}async['stop'](){const _0x176848=a4_0x59feca;await RequestQueueHandler['getInstance']()[_0x176848(0x1ad)]();}async[a4_0x59feca(0x1ac)](_0xfb469b){const _0x4dbc31=a4_0x59feca,_0x5cf51b={'BgjNs':_0x4dbc31(0x197),'jrIpS':function(_0x235226,_0x1ccf76){return _0x235226(_0x1ccf76);}};try{this[_0x4dbc31(0x1bf)]&&!this[_0x4dbc31(0x1bf)]['markedStatus']&&(_0xfb469b['hook_run_uuid']=this['currentHook']['hookAnalyticsId']);!_0xfb469b[_0x4dbc31(0x1a5)]&&this[_0x4dbc31(0x1e6)]&&!this['currentTest'][_0x4dbc31(0x1f8)]&&(_0xfb469b['test_run_uuid']=this[_0x4dbc31(0x1e6)]['testAnalyticsId']);if(_0xfb469b['hook_run_uuid']||_0xfb469b['test_run_uuid']){const _0x5a22b1={};_0x5a22b1[_0x4dbc31(0x174)]=_0x5cf51b['BgjNs'],_0x5a22b1['logs']=[_0xfb469b],await SessionHandler[_0x4dbc31(0x18c)](_0x5a22b1);}}catch(_0x19607e){_0x5cf51b[_0x4dbc31(0x1cc)](debug,_0x4dbc31(0x15b)+_0x19607e);}}async[a4_0x59feca(0x1b4)](_0xbb9fa3){const _0x38e403=a4_0x59feca,_0x2eb0cf={'CpuhH':_0x38e403(0x158),'AWYeS':function(_0x6307f2,_0x41c67e){return _0x6307f2(_0x41c67e);}};if(!this[_0x38e403(0x169)])return;const _0x210a79=this[_0x38e403(0x181)](this[_0x38e403(0x1b1)]);try{const _0x4b3ce7={};_0x4b3ce7[_0x38e403(0x18d)]=_0xbb9fa3,_0x4b3ce7[_0x38e403(0x144)]=_0x210a79;const _0xac09d8=_0x4b3ce7,_0x3b3a51={};_0x3b3a51[_0x38e403(0x174)]=_0x2eb0cf[_0x38e403(0x161)],_0x3b3a51['test_run']=_0xac09d8,await SessionHandler[_0x38e403(0x18c)](_0x3b3a51);}catch(_0x3edfd6){_0x2eb0cf[_0x38e403(0x17c)](debug,_0x38e403(0x1db)+_0x3edfd6);}}[a4_0x59feca(0x181)](_0x383d5e){const _0x3c097d=a4_0x59feca,_0x416640={'OtBxW':function(_0x313821,_0x3a467c){return _0x313821(_0x3a467c);}};return _0x416640[_0x3c097d(0x16d)](fetchPlatformDetails,_0x383d5e);}[a4_0x59feca(0x1bd)]=_0x41e34f=>{const _0x5c08ff=a4_0x59feca,_0x6a3fd3={};_0x6a3fd3[_0x5c08ff(0x165)]='_beforeEach',_0x6a3fd3['xchXe']=_0x5c08ff(0x214);const _0x521b4e=_0x6a3fd3;if(!_0x41e34f||!_0x41e34f[_0x5c08ff(0x151)])return;[_0x521b4e['vqaLl'],_0x521b4e['xchXe']][_0x5c08ff(0x1d4)](_0x1e95c1=>{const _0x3a7b22=_0x5c08ff,_0x7fb530=_0x41e34f['parent'][_0x1e95c1];_0x7fb530[_0x3a7b22(0x1d4)](_0x28c22b=>{const _0x1a5bfb=_0x3a7b22;_0x28c22b[_0x1a5bfb(0x190)]&&(_0x28c22b[_0x1a5bfb(0x190)]=null);});});};['mapTestHooks'](_0x232300){const _0x5bfeb6=a4_0x59feca,_0x281a7a={'LfVAJ':_0x5bfeb6(0x1b5),'QKcgB':function(_0x112724){return _0x112724();},'Icojd':function(_0x5bcae6,_0x2a5fb9){return _0x5bcae6===_0x2a5fb9;},'qquZp':_0x5bfeb6(0x214),'bPlJm':_0x5bfeb6(0x1a8),'LYzkF':'_afterAll','VydEn':_0x5bfeb6(0x156)};if(!_0x232300||!_0x232300['parent'])return;[_0x281a7a[_0x5bfeb6(0x1b6)],_0x281a7a['LYzkF'],_0x281a7a[_0x5bfeb6(0x1bc)],_0x281a7a[_0x5bfeb6(0x1d8)]][_0x5bfeb6(0x1d4)](_0x1c4c10=>{const _0x2b8a7b=_0x5bfeb6,_0x1a29b7=_0x232300[_0x2b8a7b(0x151)][_0x1c4c10]||[];_0x1a29b7[_0x2b8a7b(0x1d4)](_0x438fde=>{const _0x30c077=_0x2b8a7b;if(_0x438fde[_0x30c077(0x191)][_0x30c077(0x220)](_0x281a7a[_0x30c077(0x15e)]))return;if(!_0x438fde[_0x30c077(0x190)])_0x438fde[_0x30c077(0x190)]=_0x281a7a[_0x30c077(0x1d6)](uuidv4);else _0x438fde[_0x30c077(0x1f8)]&&_0x281a7a[_0x30c077(0x1ee)](_0x1c4c10,_0x281a7a[_0x30c077(0x1d8)])&&(_0x438fde[_0x30c077(0x190)]=_0x281a7a[_0x30c077(0x1d6)](uuidv4),delete _0x438fde[_0x30c077(0x1f8)]);});}),this[_0x5bfeb6(0x20e)](_0x232300[_0x5bfeb6(0x151)]);}['getHooksForTest'](_0x58d282){const _0x2a172b=a4_0x59feca,_0x3f690e={};_0x3f690e[_0x2a172b(0x1c4)]=_0x2a172b(0x1a8),_0x3f690e[_0x2a172b(0x185)]=_0x2a172b(0x21b),_0x3f690e['BNKtF']=_0x2a172b(0x156),_0x3f690e[_0x2a172b(0x1f4)]=_0x2a172b(0x214);const _0x5aff49=_0x3f690e;if(!_0x58d282||!_0x58d282[_0x2a172b(0x151)])return[];const _0x5c4ad0=[];return[_0x5aff49['jGeFn'],_0x5aff49[_0x2a172b(0x185)],_0x5aff49['BNKtF'],_0x5aff49[_0x2a172b(0x1f4)]][_0x2a172b(0x1d4)](_0x7868e=>{const _0x8b9cb=_0x2a172b,_0x5ad8fd=_0x58d282['parent'][_0x7868e]||[];_0x5ad8fd[_0x8b9cb(0x1d4)](_0x294a77=>{const _0x200936=_0x8b9cb;_0x294a77[_0x200936(0x190)]&&_0x5c4ad0[_0x200936(0x1d1)](_0x294a77[_0x200936(0x190)]);});}),[][_0x2a172b(0x1a3)](_0x5c4ad0,this[_0x2a172b(0x1e0)](_0x58d282[_0x2a172b(0x151)]));}[a4_0x59feca(0x146)](_0x5c9685){const _0xf0d004=a4_0x59feca,_0x666e81=/^"(?<hook>.*)" hook:.*$/,_0x235948=_0x5c9685[_0xf0d004(0x191)],_0x33bd17=_0x235948['match'](_0x666e81);if(_0x33bd17&&_0x33bd17[_0xf0d004(0x17a)])return _0x33bd17['groups']['hook']['toUpperCase']()['replace']('\x20','_');return null;}['findGitConfig'](_0x596d94){const _0x166a1a=a4_0x59feca,_0x1ca2c0={};_0x1ca2c0['rDEds']=function(_0x14ad8d,_0x487cac){return _0x14ad8d===_0x487cac;},_0x1ca2c0[_0x166a1a(0x218)]='.git',_0x1ca2c0[_0x166a1a(0x1c2)]=_0x166a1a(0x14a);const _0x44397c=_0x1ca2c0,_0x49ffb6=path['sep'];if(_0x44397c['rDEds'](_0x596d94,null)||_0x44397c[_0x166a1a(0x1e8)](_0x596d94,'')||_0x44397c['rDEds'](_0x596d94,_0x49ffb6)||_0x44397c[_0x166a1a(0x1e8)](_0x596d94,path[_0x166a1a(0x159)](_0x596d94)))return null;try{return fs[_0x166a1a(0x14b)](path['join'](_0x596d94,_0x44397c['haZKo'],_0x44397c[_0x166a1a(0x1c2)])),_0x596d94;}catch(_0x597cba){const _0x398ab7=path[_0x166a1a(0x159)](_0x596d94);return this['findGitConfig'](_0x398ab7);}}['getRootParentFile'](_0x2269db){const _0x276305=a4_0x59feca,_0x4ffa13={};_0x4ffa13[_0x276305(0x1c1)]=function(_0x5ea972,_0x2d6f98){return _0x5ea972>_0x2d6f98;};const _0x18b6ba=_0x4ffa13;if(_0x2269db[_0x276305(0x171)])return _0x2269db[_0x276305(0x171)];if(_0x2269db['ctx']){const _0x2e640d=_0x2269db[_0x276305(0x1d2)][_0x276305(0x1e6)]?this[_0x276305(0x17b)](_0x2269db[_0x276305(0x1d2)][_0x276305(0x1e6)]):null;if(_0x2e640d)return _0x2e640d;}if(_0x2269db[_0x276305(0x151)]){const _0x413eb8=this[_0x276305(0x17b)](_0x2269db[_0x276305(0x151)])||(_0x2269db['parent'][_0x276305(0x1d2)]&&_0x2269db[_0x276305(0x151)]['ctx']['currentTest']?this[_0x276305(0x17b)](_0x2269db[_0x276305(0x151)]['ctx']['currentTest']):null);if(_0x413eb8)return _0x413eb8;_0x2269db['parent'][_0x276305(0x1f1)]&&_0x18b6ba[_0x276305(0x1c1)](_0x2269db['parent']['suites'][_0x276305(0x160)],0x0)&&_0x2269db[_0x276305(0x151)][_0x276305(0x1f1)][_0x276305(0x1d4)](_0x483893=>{const _0x29b583=_0x276305,_0x2bc6c6=_0x483893['ctx']?this[_0x29b583(0x17b)](_0x483893['ctx']):null;if(_0x2bc6c6)return _0x2bc6c6;});}return null;}[a4_0x59feca(0x162)](_0x3fcadb){const _0x31dc32=a4_0x59feca,_0x1d7e2b={};_0x1d7e2b[_0x31dc32(0x172)]=function(_0x19dac4,_0x3e96cc){return _0x19dac4!==_0x3e96cc;};const _0x4aef51=_0x1d7e2b,_0x4b16f8=[];if(_0x3fcadb&&_0x3fcadb['parent']){let _0xe1b8d0=_0x3fcadb[_0x31dc32(0x151)];while(_0xe1b8d0&&_0x4aef51[_0x31dc32(0x172)](_0xe1b8d0['title'],'')){_0x4b16f8[_0x31dc32(0x1d1)](_0xe1b8d0[_0x31dc32(0x191)]),_0xe1b8d0=_0xe1b8d0[_0x31dc32(0x151)];}}return _0x4b16f8;}[a4_0x59feca(0x1b8)](_0x181ba7,_0x234505,_0xb12ef0=undefined){const _0xfa5c27=a4_0x59feca,_0x8eb9ff={'wNniN':function(_0x3326a1,_0x5d6c1c){return _0x3326a1(_0x5d6c1c);},'KTUmi':function(_0x48bb76){return _0x48bb76();},'zrznS':function(_0xcbf740){return _0xcbf740();},'rkZIf':'util','VSYmY':_0xfa5c27(0x21c),'PUZcy':function(_0x4afab7,_0x5cb9a6){return _0x4afab7!==_0x5cb9a6;},'OxedN':function(_0x336273,_0xf9caa2){return _0x336273!==_0xf9caa2;},'NfTqz':_0xfa5c27(0x1d7),'BKpru':'pending','KXKtJ':_0xfa5c27(0x19b),'xghye':_0xfa5c27(0x195),'iptrR':'skipped','GpwKW':_0xfa5c27(0x209),'UhWMK':function(_0x2dc8d7,_0x387c00){return _0x2dc8d7-_0x387c00;},'nbftv':function(_0x3249fc,_0x1540a5,_0x3e6b06,_0x14de92,_0x48b03a){return _0x3249fc(_0x1540a5,_0x3e6b06,_0x14de92,_0x48b03a);},'kwdVu':'integrations','sLmpj':'meta','VVMgC':_0xfa5c27(0x16b),'xpOgr':_0xfa5c27(0x18b),'DDEXD':_0xfa5c27(0x1a0),'iItTP':_0xfa5c27(0x21d),'zzvOt':_0xfa5c27(0x175),'ZrHnJ':function(_0x149ee9,_0x1c7fcf){return _0x149ee9===_0x1c7fcf;},'CHEmM':'hook_run','ylhzq':'test_run'};if(!this[_0xfa5c27(0x169)])return;try{if(_0x234505['fn']&&_0x234505['fn'][_0xfa5c27(0x201)]()[_0xfa5c27(0x222)](/browserstack internal helper hook/))return;const _0x3c7327=_0x8eb9ff[_0xfa5c27(0x153)](parseEvent,_0x181ba7);if(!_0x3c7327)return;if(_0x3c7327['test']){this[_0xfa5c27(0x1e6)]=_0x234505,this[_0xfa5c27(0x1bf)]=null;if(_0x3c7327[_0xfa5c27(0x163)]||_0x3c7327[_0xfa5c27(0x1fe)]){_0x234505[_0xfa5c27(0x14e)]=new Date(),_0x234505[_0xfa5c27(0x1f8)]=![];if(!_0x234505[_0xfa5c27(0x19f)])_0x234505[_0xfa5c27(0x19f)]=_0x8eb9ff[_0xfa5c27(0x215)](uuidv4);else _0x234505[_0xfa5c27(0x1f8)]&&(!_0x234505[_0xfa5c27(0x1e7)]&&(_0x234505['retryOf']=_0x234505[_0xfa5c27(0x19f)]),_0x234505[_0xfa5c27(0x19f)]=_0x8eb9ff[_0xfa5c27(0x215)](uuidv4));}}else{if(_0x3c7327[_0xfa5c27(0x1b0)]){this['currentHook']=_0x234505;if(_0x3c7327[_0xfa5c27(0x163)]){_0x234505[_0xfa5c27(0x14e)]=new Date(),_0x234505[_0xfa5c27(0x1f8)]=![];if(!_0x234505[_0xfa5c27(0x190)])_0x234505['hookAnalyticsId']=_0x8eb9ff[_0xfa5c27(0x215)](uuidv4);else _0x234505['hookAnalyticsId']&&_0x234505[_0xfa5c27(0x1f8)]&&(_0x234505[_0xfa5c27(0x190)]=_0x8eb9ff[_0xfa5c27(0x1fc)](uuidv4));}}}if(_0x3c7327[_0xfa5c27(0x17f)]&&_0x234505['markedStatus'])return;let _0x1d6857;try{_0x1d6857=this[_0xfa5c27(0x17b)](_0x234505);}catch(_0x37bb2e){logger[_0xfa5c27(0x1fd)](_0xfa5c27(0x1ed)+_0x37bb2e),_0x1d6857=null;}const _0x55a444=_0x8eb9ff[_0xfa5c27(0x153)](require,_0x8eb9ff[_0xfa5c27(0x176)]);let _0x1fcdd4=[];_0xb12ef0&&(_0x1fcdd4=[_0xb12ef0,_0x8eb9ff[_0xfa5c27(0x1c7)]]);const _0x1f8637=_0x8eb9ff[_0xfa5c27(0x1c9)](_0x234505[_0xfa5c27(0x1ef)],undefined)?_0x55a444['inspect'](_0x234505[_0xfa5c27(0x1ef)][0x0]):_0x8eb9ff[_0xfa5c27(0x208)](_0xb12ef0,undefined)?_0xb12ef0[_0xfa5c27(0x201)]():undefined,_0x35ac4e=_0x1d6857?this[_0xfa5c27(0x19e)](_0x1d6857):null,_0x342ab1=_0x1d6857?this['_paths'][_0xfa5c27(0x1f3)](this['getRootParentFile'](_0x234505)):_0x8eb9ff[_0xfa5c27(0x1df)];let _0x4be380=_0x8eb9ff[_0xfa5c27(0x147)];const _0x5676e6=!_0x3c7327[_0xfa5c27(0x163)]?new Date()['toISOString']():null;if(_0x3c7327['finished'])_0x4be380=_0xb12ef0?_0x8eb9ff[_0xfa5c27(0x188)]:_0x8eb9ff[_0xfa5c27(0x207)],_0x234505[_0xfa5c27(0x1f8)]=!![];else _0x3c7327[_0xfa5c27(0x1fe)]&&(_0x4be380=_0x8eb9ff[_0xfa5c27(0x15c)],_0x234505[_0xfa5c27(0x1f8)]=!![]);const _0x58c8c7={'framework':this['frameworkName'],'uuid':_0x234505[_0xfa5c27(0x19f)]||_0x234505['hookAnalyticsId'],'name':_0x234505['title'],'body':{'lang':_0x8eb9ff[_0xfa5c27(0x203)],'code':_0x234505[_0xfa5c27(0x1a6)][_0xfa5c27(0x201)]()},'type':_0x234505[_0xfa5c27(0x1c5)],'scope':_0x234505['fullTitle'](),'scopes':this[_0xfa5c27(0x162)](_0x234505),'file_name':_0x342ab1,'vc_filepath':_0x35ac4e?path['relative'](_0x35ac4e,_0x1d6857):null,'location':_0x342ab1,'result':_0x4be380,'failure_reason':_0x1f8637,'duration_in_ms':_0x234505[_0xfa5c27(0x1de)]||(_0x3c7327[_0xfa5c27(0x17f)]||_0x3c7327[_0xfa5c27(0x1fe)])?_0x8eb9ff['UhWMK'](Date['now'](),new Date(_0x234505[_0xfa5c27(0x14e)])[_0xfa5c27(0x179)]()):null,'started_at':new Date(_0x234505[_0xfa5c27(0x14e)])[_0xfa5c27(0x1f2)](),'finished_at':_0x5676e6,'failure':testOpsHelper[_0xfa5c27(0x15f)]['apply'](null,_0x1fcdd4),'failure_type':!_0x1f8637?null:testOpsHelper[_0xfa5c27(0x150)](_0x1f8637),'retry_of':_0x234505[_0xfa5c27(0x1e7)]||null,'tags':_0x234505[_0xfa5c27(0x141)]||[],'customRerunParam':{'rerun_name':_0x234505[_0xfa5c27(0x212)]()}};_0x8eb9ff[_0xfa5c27(0x1e4)](appendTesthubParams,_0x58c8c7,_0x181ba7,_0x234505,FRAMEWORKS[_0xfa5c27(0x1dd)]);if(_0x3c7327[_0xfa5c27(0x1b0)])[_0x58c8c7[_0xfa5c27(0x1fa)],_0x58c8c7['name']]=[this[_0xfa5c27(0x146)](_0x234505),_0x234505['ctx'][_0xfa5c27(0x192)][_0xfa5c27(0x191)]],_0x3c7327[_0xfa5c27(0x17f)]?_0x8eb9ff[_0xfa5c27(0x208)](_0x58c8c7[_0xfa5c27(0x202)],_0x8eb9ff[_0xfa5c27(0x188)])&&(_0x58c8c7[_0xfa5c27(0x202)]=_0x8eb9ff[_0xfa5c27(0x207)]):_0x58c8c7['body']={};else _0x3c7327['test']&&(this[_0xfa5c27(0x20e)](_0x234505),_0x3c7327['skipped']&&this[_0xfa5c27(0x1bd)](_0x234505),(_0x3c7327[_0xfa5c27(0x17f)]||_0x3c7327[_0xfa5c27(0x1fe)])&&(_0x58c8c7['hooks']=this[_0xfa5c27(0x1e0)](_0x234505)));this[_0xfa5c27(0x1b1)]&&(_0x3c7327[_0xfa5c27(0x163)]||_0x3c7327[_0xfa5c27(0x1fe)])&&(_0x58c8c7[_0x8eb9ff[_0xfa5c27(0x157)]]=this[_0xfa5c27(0x181)](this['driver']));_0x3c7327[_0xfa5c27(0x192)]&&_0x3c7327[_0xfa5c27(0x17f)]&&_0x234505[_0xfa5c27(0x206)]&&(_0x58c8c7[_0x8eb9ff[_0xfa5c27(0x1b9)]]={'feature':{'name':_0x234505['parent']['feature']['name'],'path':_0x58c8c7[_0xfa5c27(0x211)],'description':_0x234505[_0xfa5c27(0x151)][_0xfa5c27(0x148)]},'scenario':{'name':_0x234505[_0xfa5c27(0x191)]},'steps':_0x234505[_0xfa5c27(0x206)]});const _0x2a7ae5=_0x58c8c7[_0x8eb9ff['VVMgC']][0x0];_0x2a7ae5&&(_0x58c8c7[_0x8eb9ff['xpOgr']]=_0x2a7ae5[_0x8eb9ff['DDEXD']],_0x58c8c7[_0x8eb9ff[_0xfa5c27(0x1ca)]]=_0x2a7ae5[_0x8eb9ff[_0xfa5c27(0x1d3)]]);if(_0x234505[_0xfa5c27(0x206)])for(const _0x5ebb44 of _0x234505[_0xfa5c27(0x206)]){!_0x5ebb44[_0xfa5c27(0x18a)]&&(_0x5ebb44[_0xfa5c27(0x18a)]=new Date()['toISOString'](),_0x8eb9ff[_0xfa5c27(0x168)](_0x5ebb44['result'],_0x8eb9ff[_0xfa5c27(0x147)])&&(_0x2a7ae5?(_0x5ebb44['result']=_0x8eb9ff[_0xfa5c27(0x188)],_0x5ebb44[_0xfa5c27(0x16b)]=_0x2a7ae5[_0x8eb9ff[_0xfa5c27(0x149)]][0x0]):_0x5ebb44[_0xfa5c27(0x202)]=_0x8eb9ff[_0xfa5c27(0x207)]));}const _0x216633={};_0x216633['event_type']=_0x3c7327['skipped']?TEST_EVENTS['TEST_RUN_FINISHED']:_0x181ba7;const _0x4c7c01=_0x216633;return _0x3c7327['hook']?_0x4c7c01[_0x8eb9ff[_0xfa5c27(0x16a)]]=_0x58c8c7:_0x4c7c01[_0x8eb9ff['ylhzq']]=_0x58c8c7,_0x4c7c01;}catch(_0x36e7d6){logger['debug'](_0xfa5c27(0x1c8)+_0x181ba7+'\x20with\x20error\x20:\x20'+_0x36e7d6);}}async['fireEvent'](_0x39e5aa,_0x154c2a){const _0x5a78c0=a4_0x59feca;if(!this[_0x5a78c0(0x169)]||!_0x154c2a||!_0x39e5aa)return![];try{return await SessionHandler[_0x5a78c0(0x18c)](_0x154c2a);}catch(_0x30a498){logger['debug'](_0x5a78c0(0x1f0)+_0x39e5aa+_0x5a78c0(0x1be)+_0x30a498);}}[a4_0x59feca(0x194)](_0x3999bf){const _0x51319a=a4_0x59feca,_0x5294bf={};_0x5294bf[_0x51319a(0x1a7)]=_0x51319a(0x1ff);const _0x5c5564=_0x5294bf;return{'id':_0x3999bf['stepAnalyticsId'],'text':_0x3999bf[_0x51319a(0x1e5)],'keyword':_0x3999bf['keyword'],'started_at':_0x3999bf[_0x51319a(0x14e)][_0x51319a(0x1f2)](),'result':_0x5c5564[_0x51319a(0x1a7)]};}[a4_0x59feca(0x1aa)](_0x1dcc38){const _0x4b7633=a4_0x59feca,_0xba60d9={'vGQwL':function(_0xeddc5b){return _0xeddc5b();}};!this[_0x4b7633(0x1e6)][_0x4b7633(0x206)]&&(this[_0x4b7633(0x1e6)][_0x4b7633(0x206)]=[]),!_0x1dcc38[_0x4b7633(0x1ea)]&&(_0x1dcc38[_0x4b7633(0x1ea)]=_0xba60d9[_0x4b7633(0x20f)](uuidv4),_0x1dcc38[_0x4b7633(0x14e)]=new Date(),this[_0x4b7633(0x1e6)][_0x4b7633(0x206)][_0x4b7633(0x1d1)](this[_0x4b7633(0x194)](_0x1dcc38)));}['bddStepFinish'](_0x1a25d8){const _0x446432=a4_0x59feca,_0x2b5892={'cPwPc':function(_0x53cdd5,_0x28f3af){return _0x53cdd5(_0x28f3af);},'mGfeM':'success','cUkWo':_0x446432(0x1ff),'yQeqy':_0x446432(0x195),'pRDGW':function(_0x1edadd,_0x41f5c8){return _0x1edadd-_0x41f5c8;}};let _0x3f273a=this[_0x446432(0x1e6)][_0x446432(0x206)][_0x446432(0x1ba)](_0x11d012=>_0x11d012['id']===_0x1a25d8[_0x446432(0x1ea)]);_0x2b5892[_0x446432(0x21a)](isUndefined,_0x3f273a)&&(_0x3f273a=this['initializeBddStep'](_0x1a25d8)),_0x3f273a['result']=[_0x2b5892[_0x446432(0x210)],_0x2b5892['cUkWo']][_0x446432(0x220)](_0x1a25d8[_0x446432(0x1c0)])?_0x2b5892[_0x446432(0x1b3)]:_0x1a25d8[_0x446432(0x1c0)],_0x3f273a['finished_at']=new Date()['toISOString'](),_0x3f273a[_0x446432(0x1de)]=_0x2b5892[_0x446432(0x155)](Date['now'](),_0x1a25d8[_0x446432(0x14e)][_0x446432(0x179)]()),_0x3f273a[_0x446432(0x16b)]=_0x1a25d8[_0x446432(0x21c)]?_0x1a25d8[_0x446432(0x21c)][_0x446432(0x20b)]:null;}}function a4_0x26b6(_0x48be9c,_0x5896b5){const _0xc62745=a4_0xc627();return a4_0x26b6=function(_0x26b639,_0x355db6){_0x26b639=_0x26b639-0x141;let _0x48fdb5=_0xc62745[_0x26b639];return _0x48fdb5;},a4_0x26b6(_0x48be9c,_0x5896b5);}const a4_0xf45d79={};function a4_0xc627(){const _0x27c215=['result','GpwKW','STATE_FAILED','../../helpers/helper','bddSteps','xghye','OxedN','javascript','then','message','BRoNO','../../helpers/logger','mapTestHooks','vGQwL','mGfeM','file_name','fullTitle','LzUgD','_afterEach','KTUmi','frameworkName','diiXP','haZKo','accessibilityPlatform','cPwPc','_afterAll','err','failure_reason_expanded','bind','PLAYWRIGHT_HUB_URL','includes','patchConsoleLogger','match','TEST_RUN_SKIPPED','tags','../../helpers/testhub/utils.js','defineProperty','integrations','9888pXQWla','getHookType','BKpru','comment','DDEXD','config','statSync','nkYmm','constructor','startedAt','toLowerCase','getFailureType','parent','TestRunFinished','wNniN','HOOK_RUN_FINISHED','pRDGW','_beforeEach','kwdVu','CBTSessionCreated','dirname','FXCOA','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','iptrR','mqdkp','LfVAJ','failureData','length','CpuhH','getHierarchy','started','YGryh','vqaLl','4QaiKRk','Failed\x20to\x20parse\x20wsendpoint\x20','ZrHnJ','enabled','CHEmM','failure','PMJMB','OtBxW','HookRunFinished','./helper.js','1711184msDtnF','file','xZMiV','4906vKENfd','event_type','expanded','rkZIf','LlHGn','PathHelper','getTime','groups','getRootParentFile','AWYeS','rXxEP','sJACh','finished','__platformCaps','getCBTInfo','../mocha/test-observability/mochaUtils','27TaEJCg','browserType.js','XBGiX','igLIZ','browserstack','KXKtJ','HookRunStarted','finished_at','failure_backtrace','uploadEventData','uuid','Not\x20able\x20to\x20import\x20Browser','wCKAK','hookAnalyticsId','title','test','name','initializeBddStep','passed','wsEndpoint','LogCreated','apply','sIPHF','exports','failed','TEST_RUN_FINISHED','winstonLogger','findGitConfig','testAnalyticsId','backtrace','STATE_PASSED','331880fhMIph','concat','obsBrowserTypeMockApplied','hook_run_uuid','body','habKb','_beforeAll','GAHqv','bddStepStart','__cloud_provider___','appendTestItemLog','shutdown','pid','join','hook','driver','string','yQeqy','sendCBTInfo','codeceptjs','bPlJm','1812580KTZUXY','captureEvent','sLmpj','find','setupBrowserDetails','VydEn','resetSkipTestHooks','\x20with\x20error\x20:\x20','currentHook','status','CgMRR','uvBqt','zpzdi','jGeFn','type','connect','VSYmY','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','PUZcy','iItTP','XZiPW','jrIpS','TEST_EVENTS','cwd','launch','../../helpers/test-observability/utils','push','ctx','zzvOt','forEach','../utils/constants','QKcgB','File\x20path\x20could\x20not\x20be\x20found','qquZp','BrowserType','2|3|0|4|5|1','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','path','CODECEPT','duration','NfTqz','getHooksForTest','310IybRPW','bs:addLog:','qVlxR','nbftv','text','currentTest','retryOf','rDEds','../../helpers/test-observability/requestQueueHandler','stepAnalyticsId','Playwright','151743EGtEPB','failed\x20to\x20get\x20root\x20parent\x20file\x20','Icojd','errorsDetailed','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','suites','toISOString','prefixTestPath','knxeR','aNZeR','14640WQjUGX','prototype','markedStatus','MhUYR','hook_type','196XafyXU','zrznS','debug','skipped','pending','HWlVX','toString'];a4_0xc627=function(){return _0x27c215;};return a4_0xc627();}a4_0xf45d79['O11yHelper']=O11yHelper,a4_0xf45d79[a4_0x59feca(0x1a1)]=STATE_PASSED,a4_0xf45d79[a4_0x59feca(0x204)]=STATE_FAILED,a4_0xf45d79[a4_0x59feca(0x1cd)]=TEST_EVENTS,module[a4_0x59feca(0x19a)]=a4_0xf45d79;
1
+ const a4_0x3d85d5=a4_0x5d9e;(function(_0x560394,_0x337c38){const _0x57d6fd=a4_0x5d9e,_0x4905c5=_0x560394();while(!![]){try{const _0x543cca=parseInt(_0x57d6fd(0x151))/0x1*(-parseInt(_0x57d6fd(0x11d))/0x2)+parseInt(_0x57d6fd(0x1e7))/0x3+-parseInt(_0x57d6fd(0x185))/0x4+-parseInt(_0x57d6fd(0x176))/0x5*(-parseInt(_0x57d6fd(0x1dd))/0x6)+-parseInt(_0x57d6fd(0x1c4))/0x7*(parseInt(_0x57d6fd(0x1b7))/0x8)+-parseInt(_0x57d6fd(0x1c5))/0x9*(parseInt(_0x57d6fd(0x1ac))/0xa)+-parseInt(_0x57d6fd(0x17b))/0xb;if(_0x543cca===_0x337c38)break;else _0x4905c5['push'](_0x4905c5['shift']());}catch(_0x13aeb1){_0x4905c5['push'](_0x4905c5['shift']());}}}(a4_0x9872,0x7c13a));const path=require(a4_0x3d85d5(0x19b)),fs=require('fs'),{v4:uuidv4}=require(a4_0x3d85d5(0x1d8)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x3d85d5(0x12f)),testOpsHelper=require(a4_0x3d85d5(0x14b)),{getTestEnv}=require('../mocha/test-observability/mochaUtils'),{FRAMEWORKS}=require(a4_0x3d85d5(0x1c9)),logger=require(a4_0x3d85d5(0x1a5))['winstonLogger'],SessionHandler=require('../../helpers/test-observability/sessionHandler'),RequestQueueHandler=require(a4_0x3d85d5(0x1be)),PlaywrightSessionDetails=require(a4_0x3d85d5(0x1ea)),debug=testOpsHelper[a4_0x3d85d5(0x19e)],{processAccessibilityCaps}=require('../playwright/accessibility-helper'),Constants=require(a4_0x3d85d5(0x1b6)),{fetchPlatformDetails}=require(a4_0x3d85d5(0x141)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x3d85d5(0x1d7)),STATE_PASSED=a4_0x3d85d5(0x10f),STATE_FAILED=a4_0x3d85d5(0x14f),a4_0x1bf589={};a4_0x1bf589[a4_0x3d85d5(0x1dc)]=a4_0x3d85d5(0x122),a4_0x1bf589[a4_0x3d85d5(0xff)]=a4_0x3d85d5(0x143),a4_0x1bf589[a4_0x3d85d5(0x1af)]='TestRunSkipped',a4_0x1bf589['HOOK_RUN_STARTED']=a4_0x3d85d5(0x1a2),a4_0x1bf589[a4_0x3d85d5(0x1e2)]=a4_0x3d85d5(0x111);const TEST_EVENTS=a4_0x1bf589,parseEvent=_0x2296de=>{const _0x377731=a4_0x3d85d5,_0x2c9918={};_0x2c9918[_0x377731(0x1ae)]=function(_0x501754,_0x1fe9d9){return _0x501754<_0x1fe9d9;},_0x2c9918['iMgKI']=function(_0x288b6e,_0x52b665){return _0x288b6e===_0x52b665;},_0x2c9918[_0x377731(0x121)]=_0x377731(0x197),_0x2c9918['GOBek']=function(_0xc626f1,_0xe070dc){return _0xc626f1===_0xe070dc;},_0x2c9918[_0x377731(0x134)]=_0x377731(0x184),_0x2c9918['wIFnW']=function(_0xd4fb48,_0x2c1a89){return _0xd4fb48===_0x2c1a89;},_0x2c9918[_0x377731(0x116)]=_0x377731(0x14e),_0x2c9918[_0x377731(0x1c3)]='started',_0x2c9918['iphjl']='finished';const _0x5f5aa0=_0x2c9918,_0x2878fd=_0x2296de[_0x377731(0x16c)](/^(.*)Run(.*)$/);if(!_0x2878fd)return null;if(_0x5f5aa0[_0x377731(0x1ae)](_0x2878fd[_0x377731(0x17c)],0x3))return null;const _0x1b65fc=_0x2878fd[0x1][_0x377731(0x163)](),_0x2b4f38=_0x2878fd[0x2][_0x377731(0x163)]();return{'test':_0x5f5aa0[_0x377731(0x1d5)](_0x1b65fc,_0x5f5aa0[_0x377731(0x121)]),'hook':_0x5f5aa0[_0x377731(0x1a6)](_0x1b65fc,_0x5f5aa0['OewAl']),'skipped':_0x5f5aa0[_0x377731(0x14c)](_0x2b4f38,_0x5f5aa0[_0x377731(0x116)]),'started':_0x5f5aa0['GOBek'](_0x2b4f38,_0x5f5aa0[_0x377731(0x1c3)]),'finished':_0x5f5aa0[_0x377731(0x1d5)](_0x2b4f38,_0x5f5aa0[_0x377731(0x147)])};},mockPWBrowserType=_0x4b6c45=>{const _0x260001=a4_0x3d85d5,_0x3fb31a={'hctWP':function(_0x3b40be,_0x2c8447,_0x1e2126){return _0x3b40be(_0x2c8447,_0x1e2126);},'Gfqph':'wsEndpoint','uaHVu':function(_0x1002d7,_0x232955){return _0x1002d7(_0x232955);},'scCpv':_0x260001(0x1ad),'xNIvr':function(_0xcef281,_0x27b617){return _0xcef281===_0x27b617;},'fBose':_0x260001(0x13c),'sGIeg':_0x260001(0x1bb),'iDvzk':'client','UilhA':_0x260001(0x179),'CYpIH':function(_0x439d6d,_0x16fefe){return _0x439d6d(_0x16fefe);},'wkhtA':_0x260001(0x1f2),'PyoMI':'connect','zTaZi':_0x260001(0x1a7)},_0x35f395=path[_0x260001(0x10a)](_0x3fb31a[_0x260001(0x12e)],_0x3fb31a[_0x260001(0x136)],_0x3fb31a['UilhA']),_0x53cecb=_0x3fb31a[_0x260001(0x10b)](importFileFromPWCore,_0x35f395);if(!_0x53cecb){_0x3fb31a['CYpIH'](debug,_0x3fb31a[_0x260001(0x181)]);return;}const _0x4ec16c=_0x53cecb[_0x260001(0x171)],_0x2039ee=_0x4ec16c[_0x260001(0x15f)];if(_0x2039ee[_0x260001(0x11f)])return;const _0x17dcac=_0x2039ee['connect'];Object['defineProperty'](_0x2039ee,_0x3fb31a['PyoMI'],{'get':function(){const _0x5c8232=_0x260001,_0x2fb1e5={'mdBgU':function(_0x3f4acd,_0x5772f3){const _0x3b19fa=a4_0x5d9e;return _0x3fb31a[_0x3b19fa(0x156)](_0x3f4acd,_0x5772f3);},'zKLmq':_0x3fb31a[_0x5c8232(0x10e)]};return async function _0x9ed001(_0x544a45,_0x4d46a2){const _0x361dcb=_0x5c8232,_0x3a3e62=_0x3fb31a[_0x361dcb(0x1ec)](nestedKeyValue,_0x544a45,[_0x3fb31a[_0x361dcb(0x10d)]])||_0x544a45;let _0x542104=null,_0xe30418=null;try{[_0xe30418,_0x542104]=_0x3a3e62?_0x3fb31a[_0x361dcb(0x10b)](parseWSEndpoint,_0x3a3e62):[null,null],global[_0x361dcb(0x1d3)]=_0x542104,_0xe30418['includes'](_0x3fb31a[_0x361dcb(0x172)])&&(global[_0x361dcb(0x101)]=_0x3fb31a['scCpv']);}catch(_0x5b4d64){logger[_0x361dcb(0x19e)](_0x361dcb(0x175)+_0x3a3e62+'\x20'+_0x5b4d64);}_0x3fb31a[_0x361dcb(0x1ec)](processAccessibilityCaps,_0x542104,_0xe30418);if(global[_0x361dcb(0x150)]){const _0x4e28a1=await _0x2039ee[_0x361dcb(0x1bc)][_0x361dcb(0xfd)](this,[''+Constants[_0x361dcb(0x1a8)]+_0x3fb31a[_0x361dcb(0x10b)](encodeURIComponent,JSON[_0x361dcb(0x15c)](_0x542104))]);return PlaywrightSessionDetails['setupBrowserDetails'](_0x4e28a1,_0x4b6c45,_0x3a3e62),_0x4e28a1;}return _0x17dcac[_0x361dcb(0xfd)](this,arguments)[_0x361dcb(0x1f7)](_0x49c169=>{const _0x4d6753=_0x361dcb;let _0x10dbb9=_0x544a45[_0x4d6753(0x103)];return _0x2fb1e5[_0x4d6753(0x196)](typeof _0x544a45,_0x2fb1e5[_0x4d6753(0x1e5)])&&(_0x10dbb9=_0x544a45),PlaywrightSessionDetails[_0x4d6753(0x160)](_0x49c169,_0x4b6c45,_0x10dbb9),_0x49c169;});};}});const _0x11e938=_0x2039ee['launch'];Object[_0x260001(0x1ce)](_0x2039ee,_0x3fb31a[_0x260001(0x1c2)],{'get':function(){return async function _0x2844ac(){const _0x35b2db=a4_0x5d9e;return _0x11e938[_0x35b2db(0xfd)](this,arguments)[_0x35b2db(0x1f7)](_0x4a2499=>{const _0x11adea=_0x35b2db;return PlaywrightSessionDetails[_0x11adea(0x160)](_0x4a2499,null),_0x4a2499;});};}});};function a4_0x9872(){const _0x1ff5fd=['O11yHelper','split','CzLZz','huAGc','Not\x20able\x20to\x20import\x20Browser','parent','concat','appendTestItemLog','removeAllListeners','then','getHierarchy','QLcyP','apply','DyfjF','TEST_RUN_FINISHED','duration','__cloud_provider___','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','wsEndpoint','body','kfNZK','xrSyJ','replace','zOedC','PVOeJ','join','uaHVu','ctx','Gfqph','fBose','passed','CODECEPT','HookRunFinished','BTlyP','exports','type','title','zBtSN','getInstance','FJHTz','\x20with\x20error\x20:\x20','hookAnalyticsId','qikMh','initializeBddStep','2fGaKmV','prefixTestPath','obsBrowserTypeMockApplied','pending','ellPc','TestRunStarted','TEST_EVENTS','_afterAll','findGitConfig','CBTSessionCreated','NPyDh','driver','_beforeAll','mapTestHooks','location_prefix','PathHelper','TACPD','sGIeg','../../helpers/helper','comment','tags','markedStatus','relative','OewAl','hooks','iDvzk','fvQkp','resetSkipTestHooks','bddStepFinish','javascript','failureData','string','enabled','fyWRp','STATE_PASSED','Xchlf','./helper.js','_paths','TestRunFinished','integrations','pid','.git','iphjl','retryOf','toUpperCase','TMqxn','../../helpers/test-observability/utils','wIFnW','stop','skipped','failed','accessibilityPlatform','477499yJWrBk','byPAa','qCBYr','startedAt','Ciexp','xNIvr','bind','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','fwcuo','toString','IjzlJ','stringify','vLVLz','VIpzs','prototype','setupBrowserDetails','shutdown','text','toLowerCase','sep','file_name','LogCreated','started','finished','zagiH','fRIjk','name','match','UBxde','toISOString','Rinjl','loZdq','BrowserType','scCpv','frameworkName','backtrace','Failed\x20to\x20parse\x20wsendpoint\x20','746245Oskiow','getRootParentFile','getHooksForTest','browserType.js','YGKwl','5933961FWlLeT','length','forEach','File\x20path\x20could\x20not\x20be\x20found','now','event_type','wkhtA','hook_type','oYBPe','hook','157252umGkhk','hook_run_uuid','XjaiV','fullTitle','LWQiQ','suites','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','getTime','XJCMa','AxQpr','meta','getFailureType','test_run_uuid','dirname','XyEYQ','QYcFm','ePcwJ','mdBgU','test','bddStepStart','stepAnalyticsId','Bhnlx','path','SeneC','find','debug','failure','_beforeEach','IMvPX','HookRunStarted','push','expanded','../../helpers/logger','GOBek','launch','PLAYWRIGHT_HUB_URL','UuiUS','STATE_FAILED','start','7410LaejqO','browserstack','vPLiJ','TEST_RUN_SKIPPED','err','PrKUB','getHookType','bs:addLog:','currentTest','bddSteps','../utils/constants','1720Effsab','errorsDetailed','testAnalyticsId','CHDWf','lib','connectOverCDP','GGrFv','../../helpers/test-observability/requestQueueHandler','XVgqr','util','eNLcF','zTaZi','YUfYT','7651QaYcva','801PhViWc','XwIXt','result','nxICP','../../helpers/test-observability/constants','status','dvGGQ','groups','fireEvent','defineProperty','constructor','zEAdL','fxGXO','nZMbH','__platformCaps','RjhQd','iMgKI','hook_run','../../helpers/testhub/utils.js','uuid','getCBTInfo','message','includes','TEST_RUN_STARTED','36SOqXKi','uploadEventData','test_run','failed\x20to\x20get\x20root\x20parent\x20file\x20','file','HOOK_RUN_FINISHED','NHTAS','currentHook','zKLmq','1|0|3|2|5|4','2909793BzTyEE','finished_at','_testEnv','../playwright/sessionDetails','VwBKL','hctWP','_afterEach'];a4_0x9872=function(){return _0x1ff5fd;};return a4_0x9872();}class O11yHelper{['currentTest']=null;['currentHook']=null;[a4_0x3d85d5(0x13d)]=![];[a4_0x3d85d5(0x173)]=![];constructor(_0x7e1084,_0x4e30bf){const _0x1db28c=a4_0x3d85d5,_0x1349e4={'zOedC':_0x1db28c(0x1e6),'NPyDh':function(_0x45aa68){return _0x45aa68();},'Rinjl':function(_0x52c308){return _0x52c308();},'PrKUB':function(_0x5a7ea7,_0x1bd2bc){return _0x5a7ea7===_0x1bd2bc;},'NHTAS':'Playwright','PjSCY':function(_0x5acf44,_0x3756ea){return _0x5acf44(_0x3756ea);}},_0x270637=_0x1349e4[_0x1db28c(0x108)][_0x1db28c(0x1ef)]('|');let _0x3948d6=0x0;while(!![]){switch(_0x270637[_0x3948d6++]){case'0':this['frameworkName']=_0x4e30bf[_0x1db28c(0x173)];continue;case'1':this['enabled']=_0x1349e4[_0x1db28c(0x127)](shouldProcessEventForTesthub);continue;case'2':this['_testEnv']=_0x1349e4[_0x1db28c(0x16f)](getTestEnv);continue;case'3':this[_0x1db28c(0x128)]=_0x7e1084;continue;case'4':this[_0x1db28c(0x128)]&&_0x1349e4[_0x1db28c(0x1b1)](this[_0x1db28c(0x128)][_0x1db28c(0x1cf)][_0x1db28c(0x16b)],_0x1349e4[_0x1db28c(0x1e3)])&&_0x1349e4['PjSCY'](mockPWBrowserType,null);continue;case'5':this[_0x1db28c(0x142)]=new testOpsHelper[(_0x1db28c(0x12c))]({'cwd':process['cwd']()},this[_0x1db28c(0x1e9)][_0x1db28c(0x12b)]);continue;}break;}}[a4_0x3d85d5(0x1ab)](){const _0x526ad8=a4_0x3d85d5;if(!this[_0x526ad8(0x13d)])return;testOpsHelper['patchConsoleLogger'](),process[_0x526ad8(0x1f6)](_0x526ad8(0x1b3)+process['pid']),process['on'](_0x526ad8(0x1b3)+process[_0x526ad8(0x145)],this[_0x526ad8(0x1f5)][_0x526ad8(0x157)](this));}async[a4_0x3d85d5(0x14d)](){const _0x22a610=a4_0x3d85d5;await RequestQueueHandler[_0x22a610(0x117)]()[_0x22a610(0x161)]();}async[a4_0x3d85d5(0x1f5)](_0x38511f){const _0x3f5563=a4_0x3d85d5,_0x2a0d18={'DeVxn':_0x3f5563(0x166),'eNLcF':function(_0x37c1f3,_0x3b417f){return _0x37c1f3(_0x3b417f);}};try{this[_0x3f5563(0x1e4)]&&!this['currentHook'][_0x3f5563(0x132)]&&(_0x38511f[_0x3f5563(0x186)]=this[_0x3f5563(0x1e4)][_0x3f5563(0x11a)]);!_0x38511f[_0x3f5563(0x186)]&&this[_0x3f5563(0x1b4)]&&!this[_0x3f5563(0x1b4)]['markedStatus']&&(_0x38511f[_0x3f5563(0x191)]=this[_0x3f5563(0x1b4)][_0x3f5563(0x1b9)]);if(_0x38511f[_0x3f5563(0x186)]||_0x38511f['test_run_uuid']){const _0x44cd94={};_0x44cd94['event_type']=_0x2a0d18['DeVxn'],_0x44cd94['logs']=[_0x38511f],await SessionHandler['uploadEventData'](_0x44cd94);}}catch(_0x4df898){_0x2a0d18[_0x3f5563(0x1c1)](debug,_0x3f5563(0x18b)+_0x4df898);}}async['sendCBTInfo'](_0x5df7f8){const _0x43f877=a4_0x3d85d5,_0x26695d={'VwBKL':_0x43f877(0x126),'xewrH':function(_0x1c51a9,_0x5102cb){return _0x1c51a9(_0x5102cb);}};if(!this[_0x43f877(0x13d)])return;const _0xb64c60=this[_0x43f877(0x1d9)](this[_0x43f877(0x128)]);try{const _0x4db448={};_0x4db448[_0x43f877(0x1d8)]=_0x5df7f8,_0x4db448[_0x43f877(0x144)]=_0xb64c60;const _0x992898=_0x4db448,_0x25485d={};_0x25485d[_0x43f877(0x180)]=_0x26695d[_0x43f877(0x1eb)],_0x25485d[_0x43f877(0x1df)]=_0x992898,await SessionHandler[_0x43f877(0x1de)](_0x25485d);}catch(_0x2079b2){_0x26695d['xewrH'](debug,'Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x2079b2);}}[a4_0x3d85d5(0x1d9)](_0x533af7){const _0x41cca2=a4_0x3d85d5,_0x55a3d6={'byPAa':function(_0xec8e17,_0x1b8722){return _0xec8e17(_0x1b8722);}};return _0x55a3d6[_0x41cca2(0x152)](fetchPlatformDetails,_0x533af7);}['resetSkipTestHooks']=_0x5075cc=>{const _0x47493f=a4_0x3d85d5,_0xc5829e={};_0xc5829e['fyWRp']=_0x47493f(0x1a0),_0xc5829e[_0x47493f(0x153)]=_0x47493f(0x1ed);const _0x40983d=_0xc5829e;if(!_0x5075cc||!_0x5075cc[_0x47493f(0x1f3)])return;[_0x40983d[_0x47493f(0x13e)],_0x40983d['qCBYr']][_0x47493f(0x17d)](_0xc1eadf=>{const _0x28fb55=_0x47493f,_0x142ed8=_0x5075cc[_0x28fb55(0x1f3)][_0xc1eadf];_0x142ed8[_0x28fb55(0x17d)](_0x2338f6=>{const _0x40f509=_0x28fb55;_0x2338f6['hookAnalyticsId']&&(_0x2338f6[_0x40f509(0x11a)]=null);});});};[a4_0x3d85d5(0x12a)](_0x29c387){const _0x23a727=a4_0x3d85d5,_0x3a4425={'oYBPe':'codeceptjs','BTlyP':function(_0x10ad6c){return _0x10ad6c();},'QYcFm':function(_0x324e5f,_0x256c56){return _0x324e5f===_0x256c56;},'nZMbH':'_afterEach','huAGc':_0x23a727(0x129),'PVOeJ':'_afterAll','Bhnlx':_0x23a727(0x1a0)};if(!_0x29c387||!_0x29c387[_0x23a727(0x1f3)])return;[_0x3a4425[_0x23a727(0x1f1)],_0x3a4425[_0x23a727(0x109)],_0x3a4425[_0x23a727(0x19a)],_0x3a4425[_0x23a727(0x1d2)]][_0x23a727(0x17d)](_0x53d75e=>{const _0x3e3727=_0x23a727,_0x27ac6d={'AxQpr':_0x3a4425[_0x3e3727(0x183)],'DyfjF':function(_0x54a2d2){return _0x3a4425['BTlyP'](_0x54a2d2);},'gWXlL':function(_0x4daaea,_0x3f5b38){const _0x2194f7=_0x3e3727;return _0x3a4425[_0x2194f7(0x194)](_0x4daaea,_0x3f5b38);},'UuiUS':_0x3a4425[_0x3e3727(0x1d2)],'Xchlf':function(_0x3f57e1){const _0x156773=_0x3e3727;return _0x3a4425[_0x156773(0x112)](_0x3f57e1);}},_0x57e875=_0x29c387[_0x3e3727(0x1f3)][_0x53d75e]||[];_0x57e875[_0x3e3727(0x17d)](_0x520c88=>{const _0x493561=_0x3e3727;if(_0x520c88[_0x493561(0x115)][_0x493561(0x1db)](_0x27ac6d[_0x493561(0x18e)]))return;if(!_0x520c88[_0x493561(0x11a)])_0x520c88[_0x493561(0x11a)]=_0x27ac6d[_0x493561(0xfe)](uuidv4);else _0x520c88[_0x493561(0x132)]&&_0x27ac6d['gWXlL'](_0x53d75e,_0x27ac6d[_0x493561(0x1a9)])&&(_0x520c88[_0x493561(0x11a)]=_0x27ac6d[_0x493561(0x140)](uuidv4),delete _0x520c88[_0x493561(0x132)]);});}),this[_0x23a727(0x12a)](_0x29c387[_0x23a727(0x1f3)]);}['getHooksForTest'](_0x17e78c){const _0x5c5fd0=a4_0x3d85d5,_0x50c5ac={};_0x50c5ac[_0x5c5fd0(0x1ba)]='_beforeAll',_0x50c5ac[_0x5c5fd0(0x15d)]=_0x5c5fd0(0x124),_0x50c5ac[_0x5c5fd0(0x1d1)]=_0x5c5fd0(0x1a0),_0x50c5ac[_0x5c5fd0(0x155)]='_afterEach';const _0x1800a1=_0x50c5ac;if(!_0x17e78c||!_0x17e78c['parent'])return[];const _0xb0eb94=[];return[_0x1800a1[_0x5c5fd0(0x1ba)],_0x1800a1[_0x5c5fd0(0x15d)],_0x1800a1['fxGXO'],_0x1800a1[_0x5c5fd0(0x155)]]['forEach'](_0x1b670a=>{const _0xee103d=_0x17e78c['parent'][_0x1b670a]||[];_0xee103d['forEach'](_0x565e84=>{const _0x10a0b0=a4_0x5d9e;_0x565e84[_0x10a0b0(0x11a)]&&_0xb0eb94[_0x10a0b0(0x1a3)](_0x565e84['hookAnalyticsId']);});}),[][_0x5c5fd0(0x1f4)](_0xb0eb94,this[_0x5c5fd0(0x178)](_0x17e78c[_0x5c5fd0(0x1f3)]));}[a4_0x3d85d5(0x1b2)](_0xfa2026){const _0x3aacab=a4_0x3d85d5,_0x9af949=/^"(?<hook>.*)" hook:.*$/,_0x4b370e=_0xfa2026[_0x3aacab(0x115)],_0x5ce57a=_0x4b370e[_0x3aacab(0x16c)](_0x9af949);if(_0x5ce57a&&_0x5ce57a[_0x3aacab(0x1cc)])return _0x5ce57a['groups']['hook'][_0x3aacab(0x149)]()[_0x3aacab(0x107)]('\x20','_');return null;}['findGitConfig'](_0x48d3c6){const _0x5a9226=a4_0x3d85d5,_0x569271={};_0x569271[_0x5a9226(0x106)]=function(_0x57365f,_0x5763d3){return _0x57365f===_0x5763d3;},_0x569271[_0x5a9226(0x169)]=function(_0xbbecda,_0xc676cc){return _0xbbecda===_0xc676cc;},_0x569271[_0x5a9226(0x14a)]=_0x5a9226(0x146),_0x569271[_0x5a9226(0x1bf)]='config';const _0x3235f2=_0x569271,_0x62a9bb=path[_0x5a9226(0x164)];if(_0x3235f2[_0x5a9226(0x106)](_0x48d3c6,null)||_0x3235f2[_0x5a9226(0x106)](_0x48d3c6,'')||_0x3235f2['zagiH'](_0x48d3c6,_0x62a9bb)||_0x3235f2[_0x5a9226(0x106)](_0x48d3c6,path[_0x5a9226(0x192)](_0x48d3c6)))return null;try{return fs['statSync'](path[_0x5a9226(0x10a)](_0x48d3c6,_0x3235f2[_0x5a9226(0x14a)],_0x3235f2['XVgqr'])),_0x48d3c6;}catch(_0x43e72a){const _0x3babdf=path['dirname'](_0x48d3c6);return this[_0x5a9226(0x125)](_0x3babdf);}}['getRootParentFile'](_0x2f5525){const _0x5d72be=a4_0x3d85d5,_0x4fc087={};_0x4fc087['nxICP']=function(_0x135f2c,_0xf3d006){return _0x135f2c>_0xf3d006;};const _0x1eaacf=_0x4fc087;if(_0x2f5525[_0x5d72be(0x1e1)])return _0x2f5525['file'];if(_0x2f5525[_0x5d72be(0x10c)]){const _0x40c702=_0x2f5525[_0x5d72be(0x10c)][_0x5d72be(0x1b4)]?this[_0x5d72be(0x177)](_0x2f5525[_0x5d72be(0x10c)][_0x5d72be(0x1b4)]):null;if(_0x40c702)return _0x40c702;}if(_0x2f5525['parent']){const _0x43abce=this[_0x5d72be(0x177)](_0x2f5525[_0x5d72be(0x1f3)])||(_0x2f5525['parent'][_0x5d72be(0x10c)]&&_0x2f5525['parent']['ctx'][_0x5d72be(0x1b4)]?this[_0x5d72be(0x177)](_0x2f5525[_0x5d72be(0x1f3)][_0x5d72be(0x10c)][_0x5d72be(0x1b4)]):null);if(_0x43abce)return _0x43abce;_0x2f5525[_0x5d72be(0x1f3)][_0x5d72be(0x18a)]&&_0x1eaacf[_0x5d72be(0x1c8)](_0x2f5525['parent'][_0x5d72be(0x18a)]['length'],0x0)&&_0x2f5525['parent'][_0x5d72be(0x18a)][_0x5d72be(0x17d)](_0xb4a6cc=>{const _0x144889=_0x5d72be,_0x599ffb=_0xb4a6cc[_0x144889(0x10c)]?this[_0x144889(0x177)](_0xb4a6cc[_0x144889(0x10c)]):null;if(_0x599ffb)return _0x599ffb;});}return null;}[a4_0x3d85d5(0x1f8)](_0x30f598){const _0x45bbd5=a4_0x3d85d5,_0x59db50={};_0x59db50[_0x45bbd5(0x18d)]=function(_0x24d313,_0xe6a3ab){return _0x24d313!==_0xe6a3ab;};const _0x43ccd0=_0x59db50,_0x3a44a3=[];if(_0x30f598&&_0x30f598[_0x45bbd5(0x1f3)]){let _0x1d884c=_0x30f598[_0x45bbd5(0x1f3)];while(_0x1d884c&&_0x43ccd0[_0x45bbd5(0x18d)](_0x1d884c[_0x45bbd5(0x115)],'')){_0x3a44a3[_0x45bbd5(0x1a3)](_0x1d884c['title']),_0x1d884c=_0x1d884c[_0x45bbd5(0x1f3)];}}return _0x3a44a3;}['captureEvent'](_0x1b3f49,_0x361f5b,_0x486450=undefined){const _0x1a7738=a4_0x3d85d5,_0x1bb9f0={'loZdq':function(_0x24c717,_0x2a89ec){return _0x24c717(_0x2a89ec);},'zNPCU':function(_0x175240){return _0x175240();},'IjzlJ':function(_0x588f6b){return _0x588f6b();},'YGKwl':function(_0x2a15a6){return _0x2a15a6();},'UBxde':function(_0x4f9cca){return _0x4f9cca();},'zEAdL':_0x1a7738(0x1c0),'XyEYQ':_0x1a7738(0x1b0),'TACPD':function(_0x2af0c9,_0x4380dd){return _0x2af0c9!==_0x4380dd;},'dvGGQ':_0x1a7738(0x17e),'XwIXt':_0x1a7738(0x120),'LWQiQ':'failed','RjhQd':'passed','ePcwJ':_0x1a7738(0x14e),'fvQkp':_0x1a7738(0x13a),'kfNZK':function(_0x27a5e7,_0x4e9298){return _0x27a5e7-_0x4e9298;},'AsKtA':function(_0x37c8b0,_0x2d7449,_0x4542b7,_0x4693a0,_0x226a01){return _0x37c8b0(_0x2d7449,_0x4542b7,_0x4693a0,_0x226a01);},'GGrFv':_0x1a7738(0x144),'VIpzs':_0x1a7738(0x18f),'pBRZb':_0x1a7738(0x19f),'XjaiV':'failure_backtrace','FJHTz':_0x1a7738(0x174),'fyVSB':'failure_reason_expanded','qikMh':_0x1a7738(0x1a4),'CzLZz':function(_0xc7fbb,_0x5c950d){return _0xc7fbb===_0x5c950d;},'fwcuo':_0x1a7738(0x1d6),'QLcyP':_0x1a7738(0x1df)};if(!this['enabled'])return;try{if(_0x361f5b['fn']&&_0x361f5b['fn'][_0x1a7738(0x15a)]()[_0x1a7738(0x16c)](/browserstack internal helper hook/))return;const _0x24b17e=_0x1bb9f0[_0x1a7738(0x170)](parseEvent,_0x1b3f49);if(!_0x24b17e)return;if(_0x24b17e[_0x1a7738(0x197)]){this[_0x1a7738(0x1b4)]=_0x361f5b,this[_0x1a7738(0x1e4)]=null;if(_0x24b17e[_0x1a7738(0x167)]||_0x24b17e[_0x1a7738(0x14e)]){_0x361f5b['startedAt']=new Date(),_0x361f5b['markedStatus']=![];if(!_0x361f5b[_0x1a7738(0x1b9)])_0x361f5b[_0x1a7738(0x1b9)]=_0x1bb9f0['zNPCU'](uuidv4);else _0x361f5b[_0x1a7738(0x132)]&&(!_0x361f5b[_0x1a7738(0x148)]&&(_0x361f5b[_0x1a7738(0x148)]=_0x361f5b[_0x1a7738(0x1b9)]),_0x361f5b[_0x1a7738(0x1b9)]=_0x1bb9f0[_0x1a7738(0x15b)](uuidv4));}}else{if(_0x24b17e[_0x1a7738(0x184)]){this[_0x1a7738(0x1e4)]=_0x361f5b;if(_0x24b17e[_0x1a7738(0x167)]){_0x361f5b[_0x1a7738(0x154)]=new Date(),_0x361f5b[_0x1a7738(0x132)]=![];if(!_0x361f5b[_0x1a7738(0x11a)])_0x361f5b[_0x1a7738(0x11a)]=_0x1bb9f0[_0x1a7738(0x17a)](uuidv4);else _0x361f5b[_0x1a7738(0x11a)]&&_0x361f5b[_0x1a7738(0x132)]&&(_0x361f5b[_0x1a7738(0x11a)]=_0x1bb9f0[_0x1a7738(0x16d)](uuidv4));}}}if(_0x24b17e[_0x1a7738(0x168)]&&_0x361f5b[_0x1a7738(0x132)])return;let _0x554852;try{_0x554852=this[_0x1a7738(0x177)](_0x361f5b);}catch(_0x4c5565){logger[_0x1a7738(0x19e)](_0x1a7738(0x1e0)+_0x4c5565),_0x554852=null;}const _0x53239d=_0x1bb9f0['loZdq'](require,_0x1bb9f0[_0x1a7738(0x1d0)]);let _0x53022e=[];_0x486450&&(_0x53022e=[_0x486450,_0x1bb9f0[_0x1a7738(0x193)]]);const _0x3ea2d5=_0x1bb9f0[_0x1a7738(0x12d)](_0x361f5b[_0x1a7738(0x1b8)],undefined)?_0x53239d['inspect'](_0x361f5b[_0x1a7738(0x1b8)][0x0]):_0x1bb9f0[_0x1a7738(0x12d)](_0x486450,undefined)?_0x486450[_0x1a7738(0x15a)]():undefined,_0x345d21=_0x554852?this[_0x1a7738(0x125)](_0x554852):null,_0xfabb25=_0x554852?this[_0x1a7738(0x142)][_0x1a7738(0x11e)](this['getRootParentFile'](_0x361f5b)):_0x1bb9f0[_0x1a7738(0x1cb)];let _0x32f3fe=_0x1bb9f0['XwIXt'];const _0x2fe12f=!_0x24b17e[_0x1a7738(0x167)]?new Date()[_0x1a7738(0x16e)]():null;if(_0x24b17e[_0x1a7738(0x168)])_0x32f3fe=_0x486450?_0x1bb9f0[_0x1a7738(0x189)]:_0x1bb9f0['RjhQd'],_0x361f5b[_0x1a7738(0x132)]=!![];else _0x24b17e[_0x1a7738(0x14e)]&&(_0x32f3fe=_0x1bb9f0[_0x1a7738(0x195)],_0x361f5b[_0x1a7738(0x132)]=!![]);const _0x5e3f76={'framework':this['frameworkName'],'uuid':_0x361f5b[_0x1a7738(0x1b9)]||_0x361f5b[_0x1a7738(0x11a)],'name':_0x361f5b['title'],'body':{'lang':_0x1bb9f0[_0x1a7738(0x137)],'code':_0x361f5b[_0x1a7738(0x104)][_0x1a7738(0x15a)]()},'type':_0x361f5b[_0x1a7738(0x114)],'scope':_0x361f5b[_0x1a7738(0x188)](),'scopes':this['getHierarchy'](_0x361f5b),'file_name':_0xfabb25,'vc_filepath':_0x345d21?path[_0x1a7738(0x133)](_0x345d21,_0x554852):null,'location':_0xfabb25,'result':_0x32f3fe,'failure_reason':_0x3ea2d5,'duration_in_ms':_0x361f5b[_0x1a7738(0x100)]||(_0x24b17e[_0x1a7738(0x168)]||_0x24b17e[_0x1a7738(0x14e)])?_0x1bb9f0[_0x1a7738(0x105)](Date[_0x1a7738(0x17f)](),new Date(_0x361f5b[_0x1a7738(0x154)])[_0x1a7738(0x18c)]()):null,'started_at':new Date(_0x361f5b['startedAt'])[_0x1a7738(0x16e)](),'finished_at':_0x2fe12f,'failure':testOpsHelper[_0x1a7738(0x13b)][_0x1a7738(0xfd)](null,_0x53022e),'failure_type':!_0x3ea2d5?null:testOpsHelper[_0x1a7738(0x190)](_0x3ea2d5),'retry_of':_0x361f5b['retryOf']||null,'tags':_0x361f5b[_0x1a7738(0x131)]||[],'customRerunParam':{'rerun_name':_0x361f5b['fullTitle']()}};_0x1bb9f0['AsKtA'](appendTesthubParams,_0x5e3f76,_0x1b3f49,_0x361f5b,FRAMEWORKS[_0x1a7738(0x110)]);if(_0x24b17e[_0x1a7738(0x184)])[_0x5e3f76[_0x1a7738(0x182)],_0x5e3f76[_0x1a7738(0x16b)]]=[this['getHookType'](_0x361f5b),_0x361f5b['ctx']['test']['title']],_0x24b17e['finished']?_0x1bb9f0[_0x1a7738(0x12d)](_0x5e3f76[_0x1a7738(0x1c7)],_0x1bb9f0[_0x1a7738(0x189)])&&(_0x5e3f76[_0x1a7738(0x1c7)]=_0x1bb9f0[_0x1a7738(0x1d4)]):_0x5e3f76[_0x1a7738(0x104)]={};else _0x24b17e[_0x1a7738(0x197)]&&(this['mapTestHooks'](_0x361f5b),_0x24b17e[_0x1a7738(0x14e)]&&this[_0x1a7738(0x138)](_0x361f5b),(_0x24b17e[_0x1a7738(0x168)]||_0x24b17e[_0x1a7738(0x14e)])&&(_0x5e3f76[_0x1a7738(0x135)]=this[_0x1a7738(0x178)](_0x361f5b)));this[_0x1a7738(0x128)]&&(_0x24b17e['started']||_0x24b17e[_0x1a7738(0x14e)])&&(_0x5e3f76[_0x1bb9f0[_0x1a7738(0x1bd)]]=this[_0x1a7738(0x1d9)](this['driver']));_0x24b17e['test']&&_0x24b17e[_0x1a7738(0x168)]&&_0x361f5b[_0x1a7738(0x1b5)]&&(_0x5e3f76[_0x1bb9f0[_0x1a7738(0x15e)]]={'feature':{'name':_0x361f5b['parent']['feature'][_0x1a7738(0x16b)],'path':_0x5e3f76[_0x1a7738(0x165)],'description':_0x361f5b[_0x1a7738(0x1f3)][_0x1a7738(0x130)]},'scenario':{'name':_0x361f5b['title']},'steps':_0x361f5b[_0x1a7738(0x1b5)]});const _0x3a5636=_0x5e3f76[_0x1bb9f0['pBRZb']][0x0];_0x3a5636&&(_0x5e3f76[_0x1bb9f0[_0x1a7738(0x187)]]=_0x3a5636[_0x1bb9f0['FJHTz']],_0x5e3f76[_0x1bb9f0['fyVSB']]=_0x3a5636[_0x1bb9f0[_0x1a7738(0x11b)]]);if(_0x361f5b[_0x1a7738(0x1b5)])for(const _0x5627f3 of _0x361f5b[_0x1a7738(0x1b5)]){!_0x5627f3[_0x1a7738(0x1e8)]&&(_0x5627f3['finished_at']=new Date()[_0x1a7738(0x16e)](),_0x1bb9f0[_0x1a7738(0x1f0)](_0x5627f3[_0x1a7738(0x1c7)],_0x1bb9f0[_0x1a7738(0x1c6)])&&(_0x3a5636?(_0x5627f3[_0x1a7738(0x1c7)]=_0x1bb9f0['LWQiQ'],_0x5627f3['failure']=_0x3a5636[_0x1bb9f0[_0x1a7738(0x118)]][0x0]):_0x5627f3[_0x1a7738(0x1c7)]=_0x1bb9f0[_0x1a7738(0x1d4)]));}const _0x58491e={};_0x58491e[_0x1a7738(0x180)]=_0x24b17e[_0x1a7738(0x14e)]?TEST_EVENTS['TEST_RUN_FINISHED']:_0x1b3f49;const _0x3e2e04=_0x58491e;return _0x24b17e[_0x1a7738(0x184)]?_0x3e2e04[_0x1bb9f0[_0x1a7738(0x159)]]=_0x5e3f76:_0x3e2e04[_0x1bb9f0[_0x1a7738(0xfc)]]=_0x5e3f76,_0x3e2e04;}catch(_0x310e96){logger[_0x1a7738(0x19e)](_0x1a7738(0x102)+_0x1b3f49+_0x1a7738(0x119)+_0x310e96);}}async[a4_0x3d85d5(0x1cd)](_0x42d6aa,_0xe2d0a0){const _0x236e1d=a4_0x3d85d5;if(!this['enabled']||!_0xe2d0a0||!_0x42d6aa)return![];try{return await SessionHandler[_0x236e1d(0x1de)](_0xe2d0a0);}catch(_0x1be026){logger[_0x236e1d(0x19e)](_0x236e1d(0x158)+_0x42d6aa+'\x20with\x20error\x20:\x20'+_0x1be026);}}[a4_0x3d85d5(0x11c)](_0x56ed74){const _0x1d9ac3=a4_0x3d85d5,_0x45d991={};_0x45d991[_0x1d9ac3(0x19c)]=_0x1d9ac3(0x120);const _0x5648b8=_0x45d991;return{'id':_0x56ed74['stepAnalyticsId'],'text':_0x56ed74[_0x1d9ac3(0x162)],'keyword':_0x56ed74['keyword'],'started_at':_0x56ed74[_0x1d9ac3(0x154)][_0x1d9ac3(0x16e)](),'result':_0x5648b8['SeneC']};}[a4_0x3d85d5(0x198)](_0x47fa1f){const _0x530e48=a4_0x3d85d5,_0x20b533={'iteWH':function(_0x145dbc){return _0x145dbc();}};!this[_0x530e48(0x1b4)][_0x530e48(0x1b5)]&&(this[_0x530e48(0x1b4)]['bddSteps']=[]),!_0x47fa1f[_0x530e48(0x199)]&&(_0x47fa1f[_0x530e48(0x199)]=_0x20b533['iteWH'](uuidv4),_0x47fa1f[_0x530e48(0x154)]=new Date(),this[_0x530e48(0x1b4)][_0x530e48(0x1b5)][_0x530e48(0x1a3)](this['initializeBddStep'](_0x47fa1f)));}[a4_0x3d85d5(0x139)](_0x29b79f){const _0x313c04=a4_0x3d85d5,_0x156993={'fRIjk':function(_0x3925db,_0x4f3b48){return _0x3925db(_0x4f3b48);},'VwyjI':'success','IMvPX':_0x313c04(0x120),'KHvCD':_0x313c04(0x10f),'pkTxw':function(_0xdba590,_0xebff17){return _0xdba590-_0xebff17;}};let _0x153be1=this[_0x313c04(0x1b4)][_0x313c04(0x1b5)][_0x313c04(0x19d)](_0x401be1=>_0x401be1['id']===_0x29b79f[_0x313c04(0x199)]);_0x156993[_0x313c04(0x16a)](isUndefined,_0x153be1)&&(_0x153be1=this[_0x313c04(0x11c)](_0x29b79f)),_0x153be1[_0x313c04(0x1c7)]=[_0x156993['VwyjI'],_0x156993[_0x313c04(0x1a1)]][_0x313c04(0x1db)](_0x29b79f[_0x313c04(0x1ca)])?_0x156993['KHvCD']:_0x29b79f[_0x313c04(0x1ca)],_0x153be1['finished_at']=new Date()[_0x313c04(0x16e)](),_0x153be1[_0x313c04(0x100)]=_0x156993['pkTxw'](Date[_0x313c04(0x17f)](),_0x29b79f[_0x313c04(0x154)][_0x313c04(0x18c)]()),_0x153be1['failure']=_0x29b79f[_0x313c04(0x1b0)]?_0x29b79f[_0x313c04(0x1b0)][_0x313c04(0x1da)]:null;}}function a4_0x5d9e(_0x2e6dd6,_0x272c7a){const _0x98725f=a4_0x9872();return a4_0x5d9e=function(_0x5d9ea5,_0x500f5b){_0x5d9ea5=_0x5d9ea5-0xfc;let _0x164550=_0x98725f[_0x5d9ea5];return _0x164550;},a4_0x5d9e(_0x2e6dd6,_0x272c7a);}const a4_0x34226c={};a4_0x34226c[a4_0x3d85d5(0x1ee)]=O11yHelper,a4_0x34226c[a4_0x3d85d5(0x13f)]=STATE_PASSED,a4_0x34226c[a4_0x3d85d5(0x1aa)]=STATE_FAILED,a4_0x34226c[a4_0x3d85d5(0x123)]=TEST_EVENTS,module[a4_0x3d85d5(0x113)]=a4_0x34226c;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a5_0x317bfa=a5_0x1330;(function(_0x3328ba,_0x26cdd0){const _0x331183=a5_0x1330,_0x3acb4b=_0x3328ba();while(!![]){try{const _0x277fc3=-parseInt(_0x331183(0xf4))/0x1+parseInt(_0x331183(0xea))/0x2*(-parseInt(_0x331183(0xa2))/0x3)+-parseInt(_0x331183(0xdf))/0x4*(parseInt(_0x331183(0xb0))/0x5)+-parseInt(_0x331183(0xde))/0x6*(-parseInt(_0x331183(0xd3))/0x7)+-parseInt(_0x331183(0xba))/0x8+-parseInt(_0x331183(0xfe))/0x9+parseInt(_0x331183(0xce))/0xa;if(_0x277fc3===_0x26cdd0)break;else _0x3acb4b['push'](_0x3acb4b['shift']());}catch(_0x3d2a17){_0x3acb4b['push'](_0x3acb4b['shift']());}}}(a5_0x43d3,0x962fc));function a5_0x43d3(){const _0x530c2f=['\x20scenarios','mergeOutputFiles','FRAMEWORKS','testContextOptions','initialize','red','getTCGConfigFilePaths','testObservability','gJGRX','accessibilityOptions','1018407zhdiqE','CVjvR','mqacM','shUlI','scenarios','format','../test-runner','../../helpers/utilities','AiasD','ofpHq','VwYPE','logLevel','FuOfo','\x20failed','5sAydQJ','tmp','stop','exports','../../helpers/BrowserStackSetup','cucumber','CUCUMBER','\x20skipped','jkrNt','vKizQ','4831456UFQaad','error\x20removing\x20tcg\x20config\x20file','forEach','winstonLogger','argv','BROWSERSTACK_TEST_OBSERVABILITY_YML','getHubUrl','rCFHM','../../helpers/helper','env','TvuCJ','bold','../../helpers/test-observability/utils','zyRkD','tngJR','QJNcm','cyan','../../helpers/testhub/testhubHandler','stepsPassed','config','24048280lqOQbz','bhbJc','path','skipSessionStatus','skipSessionName','447741qaoTuk','Fnjmo','isUndefined','pkhja','stepsAmbiguous','rmdirSync','JsHhl','Removing\x20tmp\x20directory\x20created\x20for\x20reports','util','green','debug','6bASfKl','1692388iMnsDB','push','\x20passed','finally','UbEHv','yellow','xwGMI','ZHFNT','GKHKj','finalExecution','\x20steps','2gBDjcq','ieyQu','getPlatformName','****\x20RESULTS\x20****','join','IHATf','jCRBj','AcIQh','turboScaleUrl','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','429905lJUdMF','stepsUndefined','markSDKSetupComplete','getUserWorkerCount','length','true','stepsFailed','printBuildLink','GeWky','launchBuild','515016ncmAcd','setupTCGAuth','\x20undefined','scenariosFailed','exitCode','Generating\x20consolidated\x20report...'];a5_0x43d3=function(){return _0x530c2f;};return a5_0x43d3();}const fs=require('fs'),path=require(a5_0x317bfa(0xd0)),util=require(a5_0x317bfa(0xdb)),logger=require('../../helpers/logger')[a5_0x317bfa(0xbd)],{default:BrowserStackSetup}=require(a5_0x317bfa(0xb4)),helper=require(a5_0x317bfa(0xc2)),utilities=require(a5_0x317bfa(0xa9)),constants=require('../utils/constants'),{parallelCucumberRun}=require(a5_0x317bfa(0xa8)),TestHubHandler=require(a5_0x317bfa(0xcb)),testOpsHelper=require(a5_0x317bfa(0xc6)),chalk=require('chalk');function printCucumberStats(_0xb25152){const _0x3c4d47=a5_0x317bfa,_0x20d133={};_0x20d133[_0x3c4d47(0xb8)]=function(_0x4eab7a,_0x452403){return _0x4eab7a>_0x452403;},_0x20d133['YNGXQ']=function(_0x2895bf,_0x32d225){return _0x2895bf-_0x32d225;},_0x20d133[_0x3c4d47(0xae)]=function(_0x3d9dd3,_0x565605){return _0x3d9dd3-_0x565605;},_0x20d133['JsHhl']=function(_0x24ccf2,_0x247b89){return _0x24ccf2>_0x247b89;},_0x20d133['vNeZK']=function(_0x4556ae,_0x24c39b){return _0x4556ae>_0x24c39b;},_0x20d133[_0x3c4d47(0xe5)]=function(_0x194ffd,_0x17e010){return _0x194ffd>_0x17e010;},_0x20d133[_0x3c4d47(0xfc)]=function(_0x43d6d7,_0x363a2a){return _0x43d6d7>_0x363a2a;},_0x20d133[_0x3c4d47(0xa3)]=function(_0x1a84c0,_0x2bd458){return _0x1a84c0>_0x2bd458;},_0x20d133[_0x3c4d47(0xc8)]=function(_0x2a1b54,_0x5191a7){return _0x2a1b54>_0x5191a7;},_0x20d133['IHATf']=function(_0x4480bf,_0x5e4776){return _0x4480bf>_0x5e4776;},_0x20d133[_0x3c4d47(0xab)]=function(_0x2d94da,_0x49b024){return _0x2d94da>_0x49b024;},_0x20d133['AcIQh']=function(_0x3060e8,_0x556a63){return _0x3060e8>_0x556a63;},_0x20d133['UbEHv']=function(_0x49b479,_0x28acc8){return _0x49b479>_0x28acc8;},_0x20d133[_0x3c4d47(0xc4)]=function(_0x20d8d3,_0x52c9f7){return _0x20d8d3+_0x52c9f7;},_0x20d133[_0x3c4d47(0xc7)]=function(_0x4b4eef,_0xc220c){return _0x4b4eef+_0xc220c;},_0x20d133[_0x3c4d47(0xd6)]=function(_0x4cade5,_0x176b1a){return _0x4cade5+_0x176b1a;},_0x20d133['JnTaO']=function(_0x513fbe,_0xd76a71){return _0x513fbe+_0xd76a71;},_0x20d133[_0x3c4d47(0xe7)]=function(_0x4dc173,_0x23fe2a){return _0x4dc173+_0x23fe2a;},_0x20d133['YRqVO']=function(_0x67e408,_0x3e125b){return _0x67e408+_0x3e125b;},_0x20d133[_0x3c4d47(0xaa)]=function(_0xdec0cd,_0x1cc2fe){return _0xdec0cd===_0x1cc2fe;},_0x20d133[_0x3c4d47(0xa4)]=_0x3c4d47(0xed);const _0x48d7de=_0x20d133;let _0x618b0b=0x0;if(_0x48d7de[_0x3c4d47(0xaa)](_0xb25152[_0x3c4d47(0xf8)],0x0))return _0x618b0b;return console['log'](chalk['bold']['bgWhite'](_0x48d7de[_0x3c4d47(0xa4)])),_0xb25152[_0x3c4d47(0xbc)](_0xea7910=>{const _0x70c330=_0x3c4d47,_0x255b9c=_0xea7910[0x0],_0x3c3f2a=_0xea7910[0x1];console['log']('\x0a'+chalk[_0x70c330(0xc5)][_0x70c330(0xe4)](''+helper[_0x70c330(0xec)](_0x255b9c)));const _0xc33f7f=_0x3c3f2a[_0x70c330(0xa6)],_0x22452a=_0x3c3f2a['steps'],_0x583477=_0x3c3f2a[_0x70c330(0x101)],_0x136da9=_0x3c3f2a[_0x70c330(0xfa)],_0x35159d=_0x3c3f2a[_0x70c330(0xcc)],_0x40cc0a=_0x3c3f2a['stepsSkipped'],_0x19bc71=_0x3c3f2a['stepsPending'],_0x1b92bf=_0x3c3f2a[_0x70c330(0xf5)],_0x168d5f=_0x3c3f2a['stepsUnknown'],_0x22fde0=_0x3c3f2a[_0x70c330(0xd7)],_0x3bd9ea=_0x3c3f2a['processSuccess'];let _0x1aaa4f=_0xc33f7f+_0x70c330(0x104);const _0x11bc5e=_0x48d7de[_0x70c330(0xb8)](_0x48d7de['YNGXQ'](_0xc33f7f,_0x583477),0x0)?_0x48d7de[_0x70c330(0xae)](_0xc33f7f,_0x583477):0x0;if(_0x48d7de[_0x70c330(0xd9)](_0x583477,0x0)&&_0x48d7de['vNeZK'](_0x11bc5e,0x0))_0x1aaa4f+='\x20('+chalk['bold'][_0x70c330(0x109)](_0x583477+_0x70c330(0xaf))+',\x20'+chalk[_0x70c330(0xc5)]['green'](_0x11bc5e+_0x70c330(0xe1))+')';else(_0x48d7de[_0x70c330(0xb8)](_0x583477,0x0)||_0x48d7de[_0x70c330(0xe5)](_0x11bc5e,0x0))&&(_0x1aaa4f+=_0x48d7de[_0x70c330(0xfc)](_0x583477,0x0)?'\x20('+chalk[_0x70c330(0xc5)][_0x70c330(0x109)](_0x583477+_0x70c330(0xaf))+')':'\x20('+chalk[_0x70c330(0xc5)][_0x70c330(0xdc)](_0x11bc5e+_0x70c330(0xe1))+')');const _0x2a25bd=_0x22452a+_0x70c330(0xe9),_0x4ebabe=[];_0x48d7de[_0x70c330(0xa3)](_0x22fde0,0x0)&&_0x4ebabe[_0x70c330(0xe0)](''+chalk[_0x70c330(0xc5)][_0x70c330(0x109)](_0x22fde0+'\x20ambiguous'));_0x48d7de[_0x70c330(0xc8)](_0x136da9,0x0)&&_0x4ebabe[_0x70c330(0xe0)](''+chalk[_0x70c330(0xc5)]['red'](_0x136da9+_0x70c330(0xaf)));_0x48d7de['IHATf'](_0x35159d,0x0)&&_0x4ebabe[_0x70c330(0xe0)](''+chalk[_0x70c330(0xc5)][_0x70c330(0xdc)](_0x35159d+_0x70c330(0xe1)));_0x48d7de[_0x70c330(0xab)](_0x19bc71,0x0)&&_0x4ebabe[_0x70c330(0xe0)](''+chalk[_0x70c330(0xc5)][_0x70c330(0xe4)](_0x19bc71+'\x20pending'));_0x48d7de[_0x70c330(0xef)](_0x40cc0a,0x0)&&_0x4ebabe['push'](''+chalk[_0x70c330(0xc5)][_0x70c330(0xca)](_0x40cc0a+_0x70c330(0xb7)));_0x48d7de[_0x70c330(0xf1)](_0x1b92bf,0x0)&&_0x4ebabe[_0x70c330(0xe0)](''+chalk[_0x70c330(0xc5)][_0x70c330(0xe4)](_0x1b92bf+_0x70c330(0x100)));_0x48d7de[_0x70c330(0xe3)](_0x168d5f,0x0)&&_0x4ebabe['push'](''+chalk['bold'][_0x70c330(0xe4)](_0x168d5f+_0x70c330(0xb7)));const _0x7cc97b=_0x48d7de['TvuCJ'](_0x48d7de['zyRkD'](_0x48d7de[_0x70c330(0xc4)](_0x2a25bd,'('),_0x4ebabe[_0x70c330(0xee)](',\x20')),')');console['log'](_0x48d7de[_0x70c330(0xd6)](_0x48d7de['JnTaO'](_0x48d7de[_0x70c330(0xe7)](_0x48d7de['YRqVO']('\x0a',_0x1aaa4f),'\x0a'),_0x7cc97b),'\x0a')),_0x48d7de[_0x70c330(0xaa)](_0x3bd9ea,![])&&(_0x618b0b=0x1);}),_0x618b0b;}function a5_0x1330(_0x984ce4,_0x49229c){const _0x43d3f7=a5_0x43d3();return a5_0x1330=function(_0x133030,_0x51f42c){_0x133030=_0x133030-0x9f;let _0x487bb4=_0x43d3f7[_0x133030];return _0x487bb4;},a5_0x1330(_0x984ce4,_0x49229c);}async function run(_0x15f570,_0x51a50c){const _0x4bb530=a5_0x317bfa,_0x38726d={'shUlI':function(_0x96cd2e,_0x130f8b){return _0x96cd2e(_0x130f8b);},'ZHFNT':function(_0x4963d0,_0x38a0c3){return _0x4963d0>_0x38a0c3;},'ieyQu':_0x4bb530(0x103),'bhbJc':_0x4bb530(0xda),'XYmxF':_0x4bb530(0xb5),'jCRBj':_0x4bb530(0xbb),'rCFHM':'cucumber-js','gJGRX':_0x4bb530(0xb1),'VwYPE':function(_0x306b55,_0x42a7c3){return _0x306b55>_0x42a7c3;},'QJNcm':function(_0x37c0aa,_0x2830e2){return _0x37c0aa-_0x2830e2;},'pYyBk':function(_0x384e84,_0x39210d){return _0x384e84>=_0x39210d;},'BIccJ':function(_0x2b0eba,_0xc876b5){return _0x2b0eba!=_0xc876b5;},'vKizQ':_0x4bb530(0xf9),'Fnjmo':function(_0x1d8b4b,_0x221fe4,_0xcc7394,_0x13ad49,_0x4743a2,_0x530f20){return _0x1d8b4b(_0x221fe4,_0xcc7394,_0x13ad49,_0x4743a2,_0x530f20);}},_0x35156b=new BrowserStackSetup(_0x15f570,_0x38726d[_0x4bb530(0xc1)]);await _0x35156b[_0x4bb530(0x108)]();!helper['isBrowserstackInfra']()&&await _0x35156b[_0x4bb530(0xff)]();await helper['handleApp'](_0x35156b[_0x4bb530(0xcd)]);const _0x442c5f=helper['useW3C'](_0x35156b['config']),_0x22225d=helper['prepareCapabilities'](_0x35156b['config'],_0x442c5f,constants[_0x4bb530(0x106)][_0x4bb530(0xb6)]);if(!_0x35156b[_0x4bb530(0xcd)])return;const _0x414bba=_0x35156b[_0x4bb530(0xcd)]['parallelsPerPlatform']||helper[_0x4bb530(0xf7)](_0x15f570,_0x51a50c,_0x35156b['config'],constants[_0x4bb530(0x106)][_0x4bb530(0xb6)])||0x1,_0x3c5cc1={'server':helper[_0x4bb530(0xc0)](_0x35156b[_0x4bb530(0xcd)]),'proxySettings':_0x35156b[_0x4bb530(0xcd)]['proxySettings'],'maxWorkers':_0x414bba,'browserStackLogLevel':_0x35156b[_0x4bb530(0xcd)][_0x4bb530(0xad)],'skipSessionName':_0x35156b[_0x4bb530(0xcd)][_0x4bb530(0x107)][_0x4bb530(0xd2)],'skipSessionStatus':_0x35156b[_0x4bb530(0xcd)][_0x4bb530(0x107)][_0x4bb530(0xd1)],'turboScaleUrl':_0x35156b[_0x4bb530(0xcd)][_0x4bb530(0xf2)]},_0x34783c=process[_0x4bb530(0xbe)],[_0x5b414d,_0x405312]=helper['parseFormatters'](_0x34783c),_0x2cd2ac=path[_0x4bb530(0xee)](process['cwd'](),_0x38726d[_0x4bb530(0xa0)]);if(_0x38726d[_0x4bb530(0xac)](_0x405312[_0x4bb530(0xf8)],0x0)){helper['createDir'](_0x2cd2ac);for(let _0x211381=_0x38726d[_0x4bb530(0xc9)](_0x5b414d[_0x4bb530(0xf8)],0x1);_0x38726d['pYyBk'](_0x211381,0x0);_0x211381--){_0x34783c['splice'](_0x5b414d[_0x211381],0x2);}}!helper[_0x4bb530(0xd5)](_0x35156b['config'][_0x4bb530(0xa1)])&&(process[_0x4bb530(0xc3)][_0x4bb530(0xf3)]=JSON['stringify'](_0x35156b['config']['accessibilityOptions']));_0x38726d['BIccJ'](_0x35156b[_0x4bb530(0xcd)][_0x4bb530(0x9f)],null)?process[_0x4bb530(0xc3)][_0x4bb530(0xbf)]=_0x35156b[_0x4bb530(0xcd)][_0x4bb530(0x9f)]:process[_0x4bb530(0xc3)][_0x4bb530(0xbf)]=_0x38726d[_0x4bb530(0xb9)];const _0x3ebeba=await TestHubHandler[_0x4bb530(0xfd)](constants['FRAMEWORKS'][_0x4bb530(0xb6)],_0x35156b);helper[_0x4bb530(0xf6)]();let _0x494ebf;_0x38726d[_0x4bb530(0xd4)](parallelCucumberRun,_0x22225d,_0x3c5cc1,_0x35156b['config'],_0x34783c,_0x405312)['then'](async _0x17faa4=>{const _0x559c44=_0x4bb530;_0x494ebf=_0x17faa4;const _0x28a856=_0x38726d[_0x559c44(0xa5)](printCucumberStats,_0x17faa4);process[_0x559c44(0x102)]=_0x28a856,_0x38726d[_0x559c44(0xe6)](_0x405312[_0x559c44(0xf8)],0x0)&&(logger[_0x559c44(0xdd)](_0x38726d[_0x559c44(0xeb)]),helper[_0x559c44(0x105)](_0x2cd2ac,_0x405312),logger[_0x559c44(0xdd)](_0x38726d[_0x559c44(0xcf)]),helper['removeDir'](_0x2cd2ac));})[_0x4bb530(0xe2)](async()=>{const _0x423b59=_0x4bb530;_0x35156b['errorMessage']=helper['getErrorMessageFromResults'](_0x494ebf,_0x38726d['XYmxF']),testOpsHelper[_0x423b59(0xfb)]();try{await TestHubHandler[_0x423b59(0xb2)]();}catch(_0x29c16c){logger['debug']('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util[_0x423b59(0xa7)](_0x29c16c));}try{const {browserstackFolderPath:_0xa3f0f7,tcgConfigPath:_0x440bdf}=helper[_0x423b59(0x10a)]();fs['unlinkSync'](_0x440bdf),fs[_0x423b59(0xd8)](_0xa3f0f7);}catch(_0x2a6feb){logger[_0x423b59(0xdd)](_0x38726d[_0x423b59(0xf0)],_0x2a6feb);}await utilities[_0x423b59(0xe8)](_0x35156b);});}module[a5_0x317bfa(0xb3)]=run;
2
+ 'use strict';const a5_0x607ef3=a5_0x4a84;function a5_0x20f6(){const _0x4c921a=['\x20skipped','BROWSERSTACK_TEST_OBSERVABILITY_YML','qmUeY','\x20ambiguous','turboScaleUrl','getPlatformName','EKELf','708opUydH','114xkzYQV','5560686acplsT','smGIH','5169VFwGEJ','HDMrb','../test-runner','stringify','CUCUMBER','processSuccess','../../helpers/testhub/testhubHandler','parseFormatters','log','PHkug','hJlnI','getTCGConfigFilePaths','808360fnyzpb','../../helpers/test-observability/utils','stepsSkipped','\x20passed','yellow','accessibilityOptions','isUndefined','stepsPassed','UaKmI','stepsUnknown','steps','eNdgQ','length','NHaSp','\x20pending','join','testObservability','\x20steps','29911KtbHEm','rmdirSync','../utils/constants','bbqwM','22430700mvECVV','handleApp','cucumber','\x20failed','Iflmi','scenariosFailed','forEach','../../helpers/utilities','chalk','push','FRAMEWORKS','5783336xJahOX','error\x20removing\x20tcg\x20config\x20file','OOjLM','Yzibi','removeDir','setupTCGAuth','then','KpiFE','debug','winstonLogger','KgFYW','env','../../helpers/logger','../../helpers/helper','stepsAmbiguous','green','quZfd','wbLCG','dMJyk','config','initialize','prepareCapabilities','bXcgN','YrkAX','skipSessionStatus','errorMessage','unlinkSync','286836nkWKoI','launchBuild','proxySettings','FrurG','red','exitCode','IPjhM','1GgQARY','cucumber-js','splice','useW3C','format','stop','rNbbs','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','OJJft','bgWhite','logLevel','mergeOutputFiles','cyan','printBuildLink','bold','JyrjK','parallelsPerPlatform','finally','exports','****\x20RESULTS\x20****','AxWyl','testContextOptions'];a5_0x20f6=function(){return _0x4c921a;};return a5_0x20f6();}function a5_0x4a84(_0x25833f,_0x20ff3a){const _0x20f6af=a5_0x20f6();return a5_0x4a84=function(_0x4a8483,_0x76d8f2){_0x4a8483=_0x4a8483-0xe6;let _0xc23aaf=_0x20f6af[_0x4a8483];return _0xc23aaf;},a5_0x4a84(_0x25833f,_0x20ff3a);}(function(_0x16fa90,_0x109eab){const _0x4a05b9=a5_0x4a84,_0x58756c=_0x16fa90();while(!![]){try{const _0x4b7498=parseInt(_0x4a05b9(0x11c))/0x1*(-parseInt(_0x4a05b9(0x115))/0x2)+-parseInt(_0x4a05b9(0x13d))/0x3*(parseInt(_0x4a05b9(0x139))/0x4)+-parseInt(_0x4a05b9(0x149))/0x5+parseInt(_0x4a05b9(0x13a))/0x6*(parseInt(_0x4a05b9(0xeb))/0x7)+-parseInt(_0x4a05b9(0xfa))/0x8+-parseInt(_0x4a05b9(0x13b))/0x9+parseInt(_0x4a05b9(0xef))/0xa;if(_0x4b7498===_0x109eab)break;else _0x58756c['push'](_0x58756c['shift']());}catch(_0x4a4d72){_0x58756c['push'](_0x58756c['shift']());}}}(a5_0x20f6,0x5b2b1));const fs=require('fs'),path=require('path'),util=require('util'),logger=require(a5_0x607ef3(0x106))[a5_0x607ef3(0x103)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a5_0x607ef3(0x107)),utilities=require(a5_0x607ef3(0xf6)),constants=require(a5_0x607ef3(0xed)),{parallelCucumberRun}=require(a5_0x607ef3(0x13f)),TestHubHandler=require(a5_0x607ef3(0x143)),testOpsHelper=require(a5_0x607ef3(0x14a)),chalk=require(a5_0x607ef3(0xf7));function printCucumberStats(_0x5b58b1){const _0x5e8f10=a5_0x607ef3,_0x1bad85={};_0x1bad85[_0x5e8f10(0x10a)]=function(_0x4dd6c7,_0x2112f1){return _0x4dd6c7>_0x2112f1;},_0x1bad85[_0x5e8f10(0x122)]=function(_0x2dc9c2,_0x49f353){return _0x2dc9c2-_0x49f353;},_0x1bad85[_0x5e8f10(0x134)]=function(_0x15faae,_0x6a15f2){return _0x15faae-_0x6a15f2;},_0x1bad85[_0x5e8f10(0x138)]=function(_0x318631,_0x5a64ab){return _0x318631>_0x5a64ab;},_0x1bad85[_0x5e8f10(0x111)]=function(_0x2335d8,_0x2d8441){return _0x2335d8>_0x2d8441;},_0x1bad85[_0x5e8f10(0x118)]=function(_0x24d88d,_0x5dc931){return _0x24d88d>_0x5dc931;},_0x1bad85[_0x5e8f10(0x10c)]=function(_0x2051db,_0x55b582){return _0x2051db>_0x55b582;},_0x1bad85[_0x5e8f10(0x110)]=function(_0x39fbe6,_0x131c2e){return _0x39fbe6>_0x131c2e;},_0x1bad85[_0x5e8f10(0xfc)]=function(_0xef98c4,_0x57965d){return _0xef98c4>_0x57965d;},_0x1bad85['KpiFE']=function(_0x2f2eb7,_0x1b1e56){return _0x2f2eb7+_0x1b1e56;},_0x1bad85[_0x5e8f10(0xe6)]=function(_0x4ff962,_0x4d3e4a){return _0x4ff962+_0x4d3e4a;},_0x1bad85[_0x5e8f10(0x130)]=function(_0x496789,_0x53269a){return _0x496789+_0x53269a;},_0x1bad85[_0x5e8f10(0x10b)]=function(_0x59d9c9,_0x5e2ced){return _0x59d9c9+_0x5e2ced;},_0x1bad85['IPjhM']=function(_0x5ae4cb,_0x5a0c74){return _0x5ae4cb+_0x5a0c74;},_0x1bad85[_0x5e8f10(0x151)]=function(_0x5b3cb9,_0x59f118){return _0x5b3cb9===_0x59f118;},_0x1bad85['smGIH']=_0x5e8f10(0x12f);const _0x375d4a=_0x1bad85;let _0x4073ca=0x0;if(_0x375d4a['UaKmI'](_0x5b58b1['length'],0x0))return _0x4073ca;return console[_0x5e8f10(0x145)](chalk['bold'][_0x5e8f10(0x125)](_0x375d4a[_0x5e8f10(0x13c)])),_0x5b58b1[_0x5e8f10(0xf5)](_0x3c000f=>{const _0x17bf4d=_0x5e8f10,_0x25f7ea=_0x3c000f[0x0],_0x5d4b73=_0x3c000f[0x1];console[_0x17bf4d(0x145)]('\x0a'+chalk['bold'][_0x17bf4d(0x14d)](''+helper[_0x17bf4d(0x137)](_0x25f7ea)));const _0x8e3832=_0x5d4b73['scenarios'],_0x560199=_0x5d4b73[_0x17bf4d(0x153)],_0x1fb66e=_0x5d4b73[_0x17bf4d(0xf4)],_0x5d6ee4=_0x5d4b73['stepsFailed'],_0x1e6ff4=_0x5d4b73[_0x17bf4d(0x150)],_0x4abdab=_0x5d4b73[_0x17bf4d(0x14b)],_0x53ac92=_0x5d4b73['stepsPending'],_0x59e06f=_0x5d4b73['stepsUndefined'],_0x186044=_0x5d4b73[_0x17bf4d(0x152)],_0x308769=_0x5d4b73[_0x17bf4d(0x108)],_0x5a3e56=_0x5d4b73[_0x17bf4d(0x142)];let _0x3d3036=_0x8e3832+'\x20scenarios';const _0x24a664=_0x375d4a['quZfd'](_0x375d4a['rNbbs'](_0x8e3832,_0x1fb66e),0x0)?_0x375d4a[_0x17bf4d(0x134)](_0x8e3832,_0x1fb66e):0x0;if(_0x375d4a['quZfd'](_0x1fb66e,0x0)&&_0x375d4a[_0x17bf4d(0x10a)](_0x24a664,0x0))_0x3d3036+='\x20('+chalk[_0x17bf4d(0x12a)][_0x17bf4d(0x119)](_0x1fb66e+_0x17bf4d(0xf2))+',\x20'+chalk[_0x17bf4d(0x12a)][_0x17bf4d(0x109)](_0x24a664+'\x20passed')+')';else(_0x375d4a['quZfd'](_0x1fb66e,0x0)||_0x375d4a[_0x17bf4d(0x10a)](_0x24a664,0x0))&&(_0x3d3036+=_0x375d4a['EKELf'](_0x1fb66e,0x0)?'\x20('+chalk['bold'][_0x17bf4d(0x119)](_0x1fb66e+_0x17bf4d(0xf2))+')':'\x20('+chalk[_0x17bf4d(0x12a)][_0x17bf4d(0x109)](_0x24a664+_0x17bf4d(0x14c))+')');const _0x457245=_0x560199+_0x17bf4d(0xea),_0x169e60=[];_0x375d4a[_0x17bf4d(0x111)](_0x308769,0x0)&&_0x169e60['push'](''+chalk[_0x17bf4d(0x12a)][_0x17bf4d(0x119)](_0x308769+_0x17bf4d(0x135)));_0x375d4a[_0x17bf4d(0x111)](_0x5d6ee4,0x0)&&_0x169e60[_0x17bf4d(0xf8)](''+chalk[_0x17bf4d(0x12a)][_0x17bf4d(0x119)](_0x5d6ee4+_0x17bf4d(0xf2)));_0x375d4a['FrurG'](_0x1e6ff4,0x0)&&_0x169e60[_0x17bf4d(0xf8)](''+chalk[_0x17bf4d(0x12a)][_0x17bf4d(0x109)](_0x1e6ff4+_0x17bf4d(0x14c)));_0x375d4a['quZfd'](_0x53ac92,0x0)&&_0x169e60['push'](''+chalk[_0x17bf4d(0x12a)][_0x17bf4d(0x14d)](_0x53ac92+_0x17bf4d(0xe7)));_0x375d4a[_0x17bf4d(0x10c)](_0x4abdab,0x0)&&_0x169e60[_0x17bf4d(0xf8)](''+chalk[_0x17bf4d(0x12a)][_0x17bf4d(0x128)](_0x4abdab+_0x17bf4d(0x132)));_0x375d4a['bXcgN'](_0x59e06f,0x0)&&_0x169e60[_0x17bf4d(0xf8)](''+chalk[_0x17bf4d(0x12a)]['yellow'](_0x59e06f+'\x20undefined'));_0x375d4a[_0x17bf4d(0xfc)](_0x186044,0x0)&&_0x169e60[_0x17bf4d(0xf8)](''+chalk[_0x17bf4d(0x12a)][_0x17bf4d(0x14d)](_0x186044+_0x17bf4d(0x132)));const _0x1cc040=_0x375d4a['KpiFE'](_0x375d4a[_0x17bf4d(0xe6)](_0x375d4a[_0x17bf4d(0xe6)](_0x457245,'('),_0x169e60[_0x17bf4d(0xe8)](',\x20')),')');console[_0x17bf4d(0x145)](_0x375d4a['AxWyl'](_0x375d4a[_0x17bf4d(0x10b)](_0x375d4a[_0x17bf4d(0x11b)](_0x375d4a[_0x17bf4d(0x101)]('\x0a',_0x3d3036),'\x0a'),_0x1cc040),'\x0a')),_0x375d4a['UaKmI'](_0x5a3e56,![])&&(_0x4073ca=0x1);}),_0x4073ca;}async function run(_0x368b29,_0x1c6033){const _0x259e13=a5_0x607ef3,_0x11a58f={'Yzibi':function(_0x4fd615,_0x4a18ea){return _0x4fd615(_0x4a18ea);},'Iflmi':function(_0x1243a9,_0x3ecb06){return _0x1243a9>_0x3ecb06;},'hJlnI':'Generating\x20consolidated\x20report...','KwrmE':'Removing\x20tmp\x20directory\x20created\x20for\x20reports','OyzeL':_0x259e13(0xf1),'HDMrb':_0x259e13(0xfb),'PHkug':_0x259e13(0x11d),'KgFYW':'tmp','bbqwM':function(_0x1a0b51,_0x56eb7f){return _0x1a0b51>_0x56eb7f;},'JyrjK':function(_0x2f4c37,_0x3bee93){return _0x2f4c37-_0x3bee93;},'OJJft':function(_0x19ed59,_0x5c7b11){return _0x19ed59>=_0x5c7b11;},'sbWCz':function(_0x2f9abd,_0x55e2dc){return _0x2f9abd!=_0x55e2dc;},'eNdgQ':'true','ONTnW':function(_0x65947c,_0x5f1010,_0x527b35,_0x220f2c,_0xf02c8a,_0x5735cc){return _0x65947c(_0x5f1010,_0x527b35,_0x220f2c,_0xf02c8a,_0x5735cc);}},_0x54b6ba=new BrowserStackSetup(_0x368b29,_0x11a58f[_0x259e13(0x146)]);await _0x54b6ba[_0x259e13(0x10e)]();!helper['isBrowserstackInfra']()&&await _0x54b6ba[_0x259e13(0xff)]();await helper[_0x259e13(0xf0)](_0x54b6ba['config']);const _0x40cd9f=helper[_0x259e13(0x11f)](_0x54b6ba[_0x259e13(0x10d)]),_0x267a20=helper[_0x259e13(0x10f)](_0x54b6ba[_0x259e13(0x10d)],_0x40cd9f,constants[_0x259e13(0xf9)][_0x259e13(0x141)]);if(!_0x54b6ba[_0x259e13(0x10d)])return;const _0x5829e5=_0x54b6ba[_0x259e13(0x10d)][_0x259e13(0x12c)]||helper['getUserWorkerCount'](_0x368b29,_0x1c6033,_0x54b6ba['config'],constants['FRAMEWORKS'][_0x259e13(0x141)])||0x1,_0x4c0805={'server':helper['getHubUrl'](_0x54b6ba[_0x259e13(0x10d)]),'proxySettings':_0x54b6ba[_0x259e13(0x10d)][_0x259e13(0x117)],'maxWorkers':_0x5829e5,'browserStackLogLevel':_0x54b6ba[_0x259e13(0x10d)][_0x259e13(0x126)],'skipSessionName':_0x54b6ba[_0x259e13(0x10d)]['testContextOptions']['skipSessionName'],'skipSessionStatus':_0x54b6ba['config'][_0x259e13(0x131)][_0x259e13(0x112)],'turboScaleUrl':_0x54b6ba[_0x259e13(0x10d)][_0x259e13(0x136)]},_0x12c49d=process['argv'],[_0x3f0114,_0x5e577a]=helper[_0x259e13(0x144)](_0x12c49d),_0x1c1820=path['join'](process['cwd'](),_0x11a58f[_0x259e13(0x104)]);if(_0x11a58f[_0x259e13(0xee)](_0x5e577a['length'],0x0)){helper['createDir'](_0x1c1820);for(let _0x4f8e23=_0x11a58f[_0x259e13(0x12b)](_0x3f0114[_0x259e13(0x155)],0x1);_0x11a58f[_0x259e13(0x124)](_0x4f8e23,0x0);_0x4f8e23--){_0x12c49d[_0x259e13(0x11e)](_0x3f0114[_0x4f8e23],0x2);}}!helper[_0x259e13(0x14f)](_0x54b6ba[_0x259e13(0x10d)][_0x259e13(0x14e)])&&(process[_0x259e13(0x105)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x259e13(0x140)](_0x54b6ba[_0x259e13(0x10d)][_0x259e13(0x14e)]));_0x11a58f['sbWCz'](_0x54b6ba[_0x259e13(0x10d)][_0x259e13(0xe9)],null)?process[_0x259e13(0x105)][_0x259e13(0x133)]=_0x54b6ba[_0x259e13(0x10d)][_0x259e13(0xe9)]:process[_0x259e13(0x105)][_0x259e13(0x133)]=_0x11a58f[_0x259e13(0x154)];const _0x49cf9c=await TestHubHandler[_0x259e13(0x116)](constants[_0x259e13(0xf9)][_0x259e13(0x141)],_0x54b6ba);helper['markSDKSetupComplete']();let _0x96c53e;_0x11a58f['ONTnW'](parallelCucumberRun,_0x267a20,_0x4c0805,_0x54b6ba[_0x259e13(0x10d)],_0x12c49d,_0x5e577a)[_0x259e13(0x100)](async _0x185561=>{const _0x2afcd9=_0x259e13;_0x96c53e=_0x185561;const _0x5afa3d=_0x11a58f[_0x2afcd9(0xfd)](printCucumberStats,_0x185561);process[_0x2afcd9(0x11a)]=_0x5afa3d,_0x11a58f[_0x2afcd9(0xf3)](_0x5e577a[_0x2afcd9(0x155)],0x0)&&(logger[_0x2afcd9(0x102)](_0x11a58f[_0x2afcd9(0x147)]),helper[_0x2afcd9(0x127)](_0x1c1820,_0x5e577a),logger['debug'](_0x11a58f['KwrmE']),helper[_0x2afcd9(0xfe)](_0x1c1820));})[_0x259e13(0x12d)](async()=>{const _0x348206=_0x259e13;_0x54b6ba[_0x348206(0x113)]=helper['getErrorMessageFromResults'](_0x96c53e,_0x11a58f['OyzeL']),testOpsHelper[_0x348206(0x129)]();try{await TestHubHandler[_0x348206(0x121)]();}catch(_0x220a3c){logger[_0x348206(0x102)](_0x348206(0x123)+util[_0x348206(0x120)](_0x220a3c));}try{const {browserstackFolderPath:_0x4382d5,tcgConfigPath:_0x4ce22c}=helper[_0x348206(0x148)]();fs[_0x348206(0x114)](_0x4ce22c),fs[_0x348206(0xec)](_0x4382d5);}catch(_0x45744c){logger['debug'](_0x11a58f[_0x348206(0x13e)],_0x45744c);}await utilities['finalExecution'](_0x54b6ba);});}module[a5_0x607ef3(0x12e)]=run;