browserstack-node-sdk 1.40.3 → 1.40.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test_before.setup.js +1 -1
  67. package/src/bin/launcher/launcher.js +1 -1
  68. package/src/bin/load/index.js +1 -1
  69. package/src/bin/load/loadUtils.js +1 -1
  70. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  71. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  72. package/src/bin/mocha/command.js +1 -1
  73. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  74. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  75. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  76. package/src/bin/mocha/test.setup.js +1 -1
  77. package/src/bin/nightwatch/command.js +1 -1
  78. package/src/bin/playwright/accessibility-helper.js +1 -1
  79. package/src/bin/playwright/command.js +1 -1
  80. package/src/bin/playwright/globalSetup.js +1 -1
  81. package/src/bin/playwright/mock-process.js +1 -1
  82. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  83. package/src/bin/playwright/patches.js +1 -1
  84. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  85. package/src/bin/playwright/reporter/reporter.js +1 -1
  86. package/src/bin/playwright/reporter/test-details.js +1 -1
  87. package/src/bin/playwright/sessionDetails.js +1 -1
  88. package/src/bin/runner.js +1 -1
  89. package/src/bin/setup.js +1 -1
  90. package/src/bin/test-runner/index.js +1 -1
  91. package/src/bin/test-runner/runTest.js +1 -1
  92. package/src/bin/test-runner/testWorker.js +1 -1
  93. package/src/bin/utils/constants.js +1 -1
  94. package/src/bin/utils/log4jsAppender.js +1 -1
  95. package/src/bin/utils/logPatcher.js +1 -1
  96. package/src/bin/utils/logReportingAPI.js +1 -1
  97. package/src/bin/v2/TestInfo.js +1 -1
  98. package/src/bin/v2/browserstackCLI.js +1 -1
  99. package/src/bin/v2/cliUtils.js +1 -1
  100. package/src/bin/v2/customTagManager.js +1 -1
  101. package/src/bin/v2/eventDispatcher.js +1 -1
  102. package/src/bin/v2/framework/automationFramework.js +1 -1
  103. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  104. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  105. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  106. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  107. package/src/bin/v2/framework/testFramework.js +1 -1
  108. package/src/bin/v2/grpcClient.js +1 -1
  109. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  110. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  111. package/src/bin/v2/instances/trackedContext.js +1 -1
  112. package/src/bin/v2/instances/trackedInstance.js +1 -1
  113. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  114. package/src/bin/v2/modules/baseModule.js +1 -1
  115. package/src/bin/v2/modules/observabilityModule.js +1 -1
  116. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  117. package/src/bin/v2/modules/testhubModule.js +1 -1
  118. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  119. package/src/bin/v2/state/hookState.js +1 -1
  120. package/src/bin/v2/state/testFrameworkState.js +1 -1
  121. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  122. package/src/bin/vanilla-js/command.js +1 -1
  123. package/src/browserStackSdk.js +1 -1
  124. package/src/helpers/BrowserStackSetup.js +1 -1
  125. package/src/helpers/accessibility-automation/constants.js +1 -1
  126. package/src/helpers/accessibility-automation/helper.js +1 -1
  127. package/src/helpers/accessibility-automation/scripts.js +1 -1
  128. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  129. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  130. package/src/helpers/ats/constants.js +1 -1
  131. package/src/helpers/ats/helper.js +1 -1
  132. package/src/helpers/capsMapping.js +1 -1
  133. package/src/helpers/central-scanner/constants.js +1 -1
  134. package/src/helpers/central-scanner/helpers.js +1 -1
  135. package/src/helpers/classLogger.js +1 -1
  136. package/src/helpers/globals.js +1 -1
  137. package/src/helpers/helper.js +1 -1
  138. package/src/helpers/logger.js +1 -1
  139. package/src/helpers/metadata.js +1 -1
  140. package/src/helpers/patchHelper.js +1 -1
  141. package/src/helpers/patchHelpers.js +1 -1
  142. package/src/helpers/percy/Percy.js +1 -1
  143. package/src/helpers/percy/PercyBinary.js +1 -1
  144. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  145. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  146. package/src/helpers/percy/PercySDK.js +1 -1
  147. package/src/helpers/percy/index.js +1 -1
  148. package/src/helpers/percy/utils.js +1 -1
  149. package/src/helpers/performance/constants.js +1 -1
  150. package/src/helpers/performance/performance-tester.js +1 -1
  151. package/src/helpers/processHelper.js +1 -1
  152. package/src/helpers/request-spy.js +1 -1
  153. package/src/helpers/setKeepAlive.js +1 -1
  154. package/src/helpers/test-observability/constants.js +1 -1
  155. package/src/helpers/test-observability/error-handler.js +1 -1
  156. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  157. package/src/helpers/test-observability/sessionHandler.js +1 -1
  158. package/src/helpers/test-observability/utils.js +1 -1
  159. package/src/helpers/test-orchestration/constants.js +1 -1
  160. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  161. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  162. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  163. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  164. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  165. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  166. package/src/helpers/testhub/constants.js +1 -1
  167. package/src/helpers/testhub/testhubHandler.js +1 -1
  168. package/src/helpers/testhub/utils.js +1 -1
  169. package/src/helpers/timeoutPromise.js +1 -1
  170. package/src/helpers/utilities.js +1 -1
  171. package/src/helpers/w3cMapping.js +1 -1
  172. package/src/hubAllocationMethods.js +1 -1
  173. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a1_0x4fd780=a1_0x124f;function a1_0xb8e8(){const _0x389d13=['debug','lAwyq','WebDriver','startMonitoring','WmTaH','VmMGo','lYHRj','4321264mxBfVm','env','NuqrR','setGlobal','setSessionStatus','tdQvc','captureEvent','wqsrF','CXCEt','command','constructor','codeceptjs/lib/helper/WebDriver.js','apply','browserstack_executor:\x20','stringify','XRwwl','getResults','Screenshot\x20path\x20not\x20found','AXmAR','bddStep-after','YAgJQ','SDK_POST_INITIALIZE','../../helpers/performance/constants','bstackAllyScanning','arguments','Element','VAhcP','TEST_SCREENSHOT','getSyncScript','info','browser','dispatcher','wFXmb','Puppeteer','hook-started','browserStackExecuteDriver','15757vQvVIC','ENV_VAR','../../helpers/logger','5uLJapl','_before','KQzKz','HUsxV','format','test-after','container','Tqxst','aaENT','../../bin/playwright/accessibility-helper','thBuildUuid','SXZmS','uzPAQ','slice','skipped','hOLzt','lOXBm','initSaveScreenshot','pUQkn','titlePath','add','contexts','dymSS','__skipSessionStatus','class','hookType','measureWrapper','LCmhL','2072754HaphXU','../../helpers/accessibility-automation/helper','SDK_PRE_INITIALIZE','YdocD','helpers','__workerDetails','../../helpers/testhub/constants.js','rQNGV','../../helpers/accessibility-automation/scripts','patch','captureError','hook','SESSION_STATUS','1584777GPrhtO','QPQkK','then','bddStepFinish','PYugW','forEach','lLaxy','bddStep','saveTestResults','exports','executeScript','testAnalyticsId','test','nSfvs','../../helpers/performance/performance-tester','failed','readFileSync','../../helpers/globals.js','codeceptjs/lib/recorder.js','vhXdi','ZjZEM','BROWSERSTACK_TESTHUB_UUID','codeceptjs/lib/utils.js','JRFrb','name','../../helpers/test-observability/utils','SDK_PRE_TEST','prototype','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','browserstackTestName','addRequestSpy','jmCoI','oDJfB','find','wIKbg','860346qbjsYa','bind','SAVE_RESULTS','Suite','codeceptjs/lib/helper/Playwright.js','cKIbi','lYxBo','start','QwLjp','getResultsSummary','test-before','afterTest','getAccessibilityResults','PERFORM_SCAN','codeceptjs','step-comment','overwriteCommand','toISOString','VtWOx','performScan','passed','reason','RJlxp','after','TEST_RUN_SKIPPED','all','SuXMR','action','itEXq','comment','SESSION_NAME','xSEKZ','SDK_POST_TEST','util','440QMkOFy','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','1699488rIKntY','./helper.js','hpZcx','warn','HOOK_RUN_FINISHED','fireEvent','ctx','6008ySRDaE','VdPPF','emit','SDK_TEST','accessibilityPlatform','stop','title','test-passed','started','patchSaveScreenshot','INFO','BROWSERSTACK_TESTHUB_JWT','Failed\x20to\x20execute\x20_before:\x20','aIIsy','SiKXU','qLfeG','before','test-started','pid','SDK_HOOK','SYNC','HOOK_RUN_STARTED','./o11yHelper','3302178SCkEZD','TEST_RUN_FINISHED','bs:addLog:','winstonLogger','codeceptjs/lib/index.js','status','PRaDK','wElHS','Playwright','qdDig','browserContext','ktnRw','oOkKC','event','step','bddStep-before','enabled','screenshotOutputFolder','gItZA','TEST_LOG','saveScreenshot','PxATY','QlavU','test-failed','kibke','end','skipSessionStatus'];a1_0xb8e8=function(){return _0x389d13;};return a1_0xb8e8();}function a1_0x124f(_0x3ba943,_0x529b08){const _0xb8e850=a1_0xb8e8();return a1_0x124f=function(_0x124fdf,_0x127520){_0x124fdf=_0x124fdf-0x16a;let _0xc511ec=_0xb8e850[_0x124fdf];return _0xc511ec;},a1_0x124f(_0x3ba943,_0x529b08);}(function(_0x2d3ce9,_0x5c297c){const _0x3c809f=a1_0x124f,_0x10b830=_0x2d3ce9();while(!![]){try{const _0x1416a9=parseInt(_0x3c809f(0x1ec))/0x1+parseInt(_0x3c809f(0x233))/0x2+-parseInt(_0x3c809f(0x1df))/0x3+parseInt(_0x3c809f(0x19c))/0x4+parseInt(_0x3c809f(0x1c3))/0x5*(parseInt(_0x3c809f(0x17a))/0x6)+-parseInt(_0x3c809f(0x1c0))/0x7*(-parseInt(_0x3c809f(0x23a))/0x8)+parseInt(_0x3c809f(0x20f))/0x9*(-parseInt(_0x3c809f(0x231))/0xa);if(_0x1416a9===_0x5c297c)break;else _0x10b830['push'](_0x10b830['shift']());}catch(_0x4e29bc){_0x10b830['push'](_0x10b830['shift']());}}}(a1_0xb8e8,0xd1a17));const fs=require('fs'),util=require(a1_0x4fd780(0x230)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require('../../helpers/helper'),logger=require(a1_0x4fd780(0x1c2))[a1_0x4fd780(0x17d)],testOpsHelper=require(a1_0x4fd780(0x205)),requestSpy=require('../../helpers/request-spy'),PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x4fd780(0x179)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x4fd780(0x1e0)),AccessibilityHelper=require(a1_0x4fd780(0x1cc)),scripts=require(a1_0x4fd780(0x1e7)),PerformanceTester=require(a1_0x4fd780(0x1fa)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x4fd780(0x1b2)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x4fd780(0x234)),testHubConstants=require(a1_0x4fd780(0x1e5)),globals=require(a1_0x4fd780(0x1fd)),CodeceptJS=requireModule(a1_0x4fd780(0x17e),'codeceptjs'),CodeceptUtils=requireModule(a1_0x4fd780(0x202),a1_0x4fd780(0x21d)),CodeceptWebDriver=requireModule(a1_0x4fd780(0x1a7),a1_0x4fd780(0x21d)),CodeceptRecorder=requireModule(a1_0x4fd780(0x1fe),a1_0x4fd780(0x21d)),CodeceptPlaywright=requireModule(a1_0x4fd780(0x213),a1_0x4fd780(0x21d)),playwrightMarkSessionStatus=(_0x3560e9,_0x1b40a8,_0x55870e)=>{const _0x533a1f=a1_0x4fd780,_0x2c38d9={'LCmhL':_0x533a1f(0x1a0),'hpZcx':function(_0x24f3cc,_0xd42a32){return _0x24f3cc(_0xd42a32);}},_0x28e1ab={};_0x28e1ab[_0x533a1f(0x17f)]=_0x1b40a8;const _0xa17fef={};_0xa17fef[_0x533a1f(0x22a)]=_0x2c38d9[_0x533a1f(0x1de)],_0xa17fef[_0x533a1f(0x1b4)]=_0x28e1ab;const _0x1f5df0=_0xa17fef;return!_0x2c38d9[_0x533a1f(0x235)](isUndefined,_0x55870e)&&(_0x1f5df0[_0x533a1f(0x1b4)][_0x533a1f(0x224)]=JSON[_0x533a1f(0x1aa)](_0x55870e)),_0x3560e9[_0x533a1f(0x1f6)](()=>{},_0x533a1f(0x1a9)+JSON[_0x533a1f(0x1aa)](_0x1f5df0));},o11ySync=PerformanceTester[a1_0x4fd780(0x1dd)](PerformanceO11yEvents[a1_0x4fd780(0x177)],async _0x4475c6=>{const _0x32d546=a1_0x4fd780,_0x520b61={};_0x520b61[_0x32d546(0x1bc)]=function(_0x414d21,_0x36d851){return _0x414d21===_0x36d851;},_0x520b61[_0x32d546(0x18f)]=_0x32d546(0x182);const _0xda57d6=_0x520b61;_0xda57d6[_0x32d546(0x1bc)](_0x4475c6[_0x32d546(0x1a6)][_0x32d546(0x204)],_0xda57d6[_0x32d546(0x18f)])?await _0x4475c6[_0x32d546(0x1f6)](_0x4af618=>{},testOpsHelper[_0x32d546(0x1b8)]()):await _0x4475c6['executeScript'](testOpsHelper['getSyncScript']());}),markSessionName=PerformanceTester[a1_0x4fd780(0x1dd)](PerformanceAutEvents[a1_0x4fd780(0x22d)],async(_0x4f4da2,_0x1dc4b9)=>{const _0x50110b=a1_0x4fd780,_0x2133d0={};_0x2133d0[_0x50110b(0x20c)]='setSessionName',_0x2133d0['lYHRj']=function(_0x201c26,_0x4ff849){return _0x201c26===_0x4ff849;},_0x2133d0[_0x50110b(0x1ce)]=_0x50110b(0x182);const _0xa8de0f=_0x2133d0,_0x59a75b={};_0x59a75b[_0x50110b(0x204)]=_0x1dc4b9;const _0x278cad={};_0x278cad[_0x50110b(0x22a)]=_0xa8de0f[_0x50110b(0x20c)],_0x278cad['arguments']=_0x59a75b;const _0x10b11e=_0x278cad;_0xa8de0f[_0x50110b(0x19b)](_0x4f4da2['constructor']['name'],_0xa8de0f['SXZmS'])?await _0x4f4da2[_0x50110b(0x1f6)](()=>{},'browserstack_executor:\x20'+JSON[_0x50110b(0x1aa)](_0x10b11e)):await _0x4f4da2[_0x50110b(0x1f6)](_0x50110b(0x1a9)+JSON[_0x50110b(0x1aa)](_0x10b11e));}),patchSaveScreenshot=_0x34a501=>{const _0x29e2b8=a1_0x4fd780,_0x3e0acd={'wDvvG':'base64','tdQvc':_0x29e2b8(0x1b7),'XqQXf':function(_0x4ab053){return _0x4ab053();},'SuXMR':function(_0x369c37,_0x56c4fe){return _0x369c37(_0x56c4fe);},'MPCcl':_0x29e2b8(0x1ad)};_0x3e0acd[_0x29e2b8(0x229)](isTrue,process['env']['BS_TESTOPS_ALLOW_SCREENSHOTS'])&&!_0x34a501[_0x29e2b8(0x16c)]&&(_0x34a501[_0x29e2b8(0x16c)]=!![],_0x34a501[_0x29e2b8(0x1d4)]=_0x34a501[_0x29e2b8(0x18e)],_0x34a501['saveScreenshot']=(_0x2a04e9,_0x1732b4=![])=>{const _0x4c8204=_0x29e2b8,_0x2704cb={'lOXBm':_0x3e0acd['wDvvG'],'HUsxV':_0x3e0acd[_0x4c8204(0x1a1)],'AXmAR':function(_0x5e7eab){return _0x3e0acd['XqQXf'](_0x5e7eab);},'JRFrb':function(_0x19e83c,_0x2f5222){const _0x1307a6=_0x4c8204;return _0x3e0acd[_0x1307a6(0x229)](_0x19e83c,_0x2f5222);},'wIKbg':_0x3e0acd['MPCcl']};return new Promise(function(_0x5a4b83,_0x3ffe64){const _0x4ac357=_0x4c8204;_0x34a501[_0x4ac357(0x1d4)](_0x2a04e9,_0x1732b4)[_0x4ac357(0x1ee)](()=>{const _0x3ccee5=_0x4ac357,_0x4718cc=CodeceptUtils[_0x3ccee5(0x18b)](_0x2a04e9);if(_0x4718cc){const _0x47843b=fs[_0x3ccee5(0x1fc)](_0x4718cc);process[_0x3ccee5(0x23c)](_0x3ccee5(0x17c)+process[_0x3ccee5(0x175)],{'timestamp':new Date()[_0x3ccee5(0x220)](),'message':_0x47843b['toString'](_0x2704cb[_0x3ccee5(0x1d3)]),'kind':_0x2704cb[_0x3ccee5(0x1c6)]}),_0x2704cb[_0x3ccee5(0x1ae)](_0x5a4b83);}_0x2704cb[_0x3ccee5(0x203)](_0x3ffe64,new Error(_0x2704cb[_0x3ccee5(0x20e)]));})['catch'](()=>null);});});},patchWebDriverBefore=_0xc411f3=>{const _0x898627=a1_0x4fd780,_0x22a0b1={'lAwyq':function(_0x2b497f){return _0x2b497f();},'VAhcP':function(_0x7620ae,_0x2e3e94){return _0x7620ae(_0x2e3e94);},'nSfvs':function(_0x1a5908,_0x4ec378){return _0x1a5908===_0x4ec378;},'fyGIz':_0x898627(0x1b5),'aIIsy':function(_0x74a1c0,_0x2616f7){return _0x74a1c0(_0x2616f7);}},_0x1aa916=async function(_0x446958,_0x2afa1d){const _0x17e627=_0x898627;return _0x22a0b1[_0x17e627(0x196)](isAccessibilityAutomationSession)&&!global[_0x17e627(0x1b3)]&&global[_0x17e627(0x23e)]&&scripts['shouldWrapCommand'](_0x446958[_0x17e627(0x204)])&&_0x22a0b1[_0x17e627(0x1b6)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x17e627(0x1b3)]=!![],await PerformanceTester[_0x17e627(0x1dd)](PerformanceA11yEvents[_0x17e627(0x21c)],async()=>{const _0x208186=_0x17e627;logger[_0x208186(0x195)]('Performing\x20scan\x20for\x20'+_0x446958[_0x208186(0x1db)]+'\x20'+_0x446958[_0x208186(0x204)]),await AccessibilityHelper[_0x208186(0x1bf)](_0xc411f3,scripts['performScan']);},{'command':_0x446958[_0x17e627(0x204)]})()),global[_0x17e627(0x1b3)]=![],_0x2afa1d[_0x17e627(0x1a8)](this,Array[_0x17e627(0x207)][_0x17e627(0x1d0)]['call'](arguments,0x2));},_0x3b4321=CodeceptWebDriver[_0x898627(0x207)][_0x898627(0x1c4)];CodeceptWebDriver[_0x898627(0x207)][_0x898627(0x1c4)]=async function(){const _0x33d864=_0x898627,_0xece805={'QwLjp':function(_0x2b34d7,_0x488b7a){const _0x2ba209=a1_0x124f;return _0x22a0b1[_0x2ba209(0x1f9)](_0x2b34d7,_0x488b7a);},'nRwlO':_0x22a0b1['fyGIz']};try{await _0x3b4321[_0x33d864(0x1a8)](this,arguments);}catch(_0x1cd568){logger['debug'](_0x33d864(0x16f)+util[_0x33d864(0x1c7)](_0x1cd568));}scripts['commandsToWrap']['filter'](_0x28aa8f=>_0x28aa8f['name']&&_0x28aa8f['class'])[_0x33d864(0x1f1)](_0x37de6f=>{const _0x20edcb=_0x33d864;this['browser'][_0x20edcb(0x21f)](_0x37de6f[_0x20edcb(0x204)],_0x1aa916[_0x20edcb(0x210)](this,_0x37de6f),_0xece805[_0x20edcb(0x217)](_0x37de6f[_0x20edcb(0x1db)],_0xece805['nRwlO']));}),_0x22a0b1[_0x33d864(0x170)](processWebDriverConfig,_0xc411f3);};},patchPlaywrightBefore=()=>{const _0x1c16d7=a1_0x4fd780;PlaywrightSessionDetails[_0x1c16d7(0x1e8)]();const _0x41ba51=CodeceptPlaywright[_0x1c16d7(0x207)][_0x1c16d7(0x1c4)];CodeceptPlaywright['prototype'][_0x1c16d7(0x1c4)]=async function(){const _0x50d6a1=_0x1c16d7;this[_0x50d6a1(0x184)]=await this[_0x50d6a1(0x1ba)][_0x50d6a1(0x1d8)]()[0x0],await _0x41ba51['apply'](this,arguments);};},getCodeceptDriver=()=>{const _0xfe4e9c=a1_0x4fd780,_0x5630eb={};_0x5630eb[_0xfe4e9c(0x1f2)]=_0xfe4e9c(0x197),_0x5630eb[_0xfe4e9c(0x18c)]=_0xfe4e9c(0x182),_0x5630eb['hXcZA']=_0xfe4e9c(0x1bd),_0x5630eb['lYxBo']='TestCafe';const _0x4f740d=_0x5630eb,_0x42e246=[_0x4f740d[_0xfe4e9c(0x1f2)],_0x4f740d['gItZA'],_0x4f740d['hXcZA'],_0x4f740d[_0xfe4e9c(0x215)]],_0x119ee0=_0x42e246[_0xfe4e9c(0x20d)](_0x472b39=>!!CodeceptJS[_0xfe4e9c(0x1c9)][_0xfe4e9c(0x1e3)](_0x472b39));if(!_0x119ee0)return null;return CodeceptJS['container'][_0xfe4e9c(0x1e3)](_0x119ee0);};module[a1_0x4fd780(0x1f5)]=function(_0x581f4f){const _0x9f372=a1_0x4fd780,_0x29a08a={'jmCoI':function(_0x5b0223){return _0x5b0223();},'YAgJQ':function(_0x22d749,_0x2be907){return _0x22d749(_0x2be907);},'wqsrF':_0x9f372(0x21b),'WmTaH':_0x9f372(0x208),'hOLzt':'getAccessibilityResultsSummary','qdDig':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','itEXq':function(_0x483d61,_0x13e285){return _0x483d61(_0x13e285);},'pUQkn':_0x9f372(0x1be),'cKIbi':'hook-passed','qLfeG':'hook-failed','Tqxst':_0x9f372(0x209),'WKUFE':function(_0xde37ba){return _0xde37ba();},'xSEKZ':_0x9f372(0x219),'ZjZEM':function(_0x2505bd){return _0x2505bd();},'XRwwl':function(_0x254e54,_0xb8d968,_0x1d92be){return _0x254e54(_0xb8d968,_0x1d92be);},'VmMGo':function(_0x29abd3,_0xdf5821){return _0x29abd3(_0xdf5821);},'VtWOx':_0x9f372(0x174),'dymSS':function(_0x281317,_0x375212,_0x49190d){return _0x281317(_0x375212,_0x49190d);},'RJlxp':_0x9f372(0x16a),'vhXdi':function(_0x145ccd){return _0x145ccd();},'kILVb':function(_0x2cfda0,_0x39b51e,_0xcedfeb,_0x57490f){return _0x2cfda0(_0x39b51e,_0xcedfeb,_0x57490f);},'kibke':function(_0x565258,_0x16520b){return _0x565258===_0x16520b;},'hclfp':_0x9f372(0x212),'SiKXU':_0x9f372(0x191),'PRaDK':'test-skipped','ubPvs':_0x9f372(0x21a),'oOkKC':function(_0x572be2){return _0x572be2();},'ktnRw':_0x9f372(0x232),'QPQkK':_0x9f372(0x1c8),'hlBdK':_0x9f372(0x16d),'PYugW':_0x9f372(0x18d),'wElHS':_0x9f372(0x21e),'QlavU':_0x9f372(0x189),'VdPPF':_0x9f372(0x1af),'NuqrR':function(_0x2f236c){return _0x2f236c();},'YdocD':_0x9f372(0x182)};_0x581f4f[_0x9f372(0x194)]&&(global[_0x9f372(0x1da)]=_0x581f4f[_0x9f372(0x194)]);PerformanceTester[_0x9f372(0x198)]();const _0x3e4f3c=_0x29a08a[_0x9f372(0x19e)](getCodeceptDriver),_0x9cfcd9=new O11yHelper(_0x3e4f3c,_0x581f4f),_0xcb3e28=!!CodeceptJS[_0x9f372(0x1c9)][_0x9f372(0x1e3)](_0x29a08a[_0x9f372(0x1e2)]);global['__driver']=_0x3e4f3c,_0x3e4f3c&&(PerformanceTester[_0x9f372(0x1dd)](PerformanceEvents[_0x9f372(0x1e1)],()=>{const _0x458ef7=_0x9f372;_0xcb3e28?_0x29a08a[_0x458ef7(0x20b)](patchPlaywrightBefore):_0x29a08a[_0x458ef7(0x1b0)](patchWebDriverBefore,_0x3e4f3c);})(),PerformanceTester['measureWrapper'](PerformanceEvents[_0x9f372(0x1b1)],()=>{const _0x48c439=_0x9f372,_0x23b99b={};_0x23b99b[_0x48c439(0x1e6)]=_0x29a08a[_0x48c439(0x1d2)],_0x23b99b[_0x48c439(0x1a4)]=_0x29a08a[_0x48c439(0x183)];const _0x4dc8a8=_0x23b99b;_0x3e4f3c['getAccessibilityResultsSummary']=async()=>{const _0x229478=_0x48c439;if(global['accessibilityPlatform']){const _0x402f02={};_0x402f02[_0x229478(0x1a5)]=_0x4dc8a8[_0x229478(0x1e6)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x229478(0x21c)],async()=>{const _0x300d5d=_0x229478;await AccessibilityHelper[_0x300d5d(0x1bf)](_0x3e4f3c,scripts['performScan']);},_0x402f02)(),await PerformanceTester[_0x229478(0x1dd)](PerformanceA11yEvents['GET_RESULTS_SUMMARY'],async()=>{const _0x2c329d=_0x229478;await AccessibilityHelper[_0x2c329d(0x1bf)](_0x3e4f3c,scripts[_0x2c329d(0x218)]);})();}else return logger[_0x229478(0x236)](_0x4dc8a8[_0x229478(0x1a4)]),{};},_0x3e4f3c[_0x48c439(0x21b)]=async()=>{const _0x30e272=_0x48c439;if(global[_0x30e272(0x23e)]){const _0x2dadb9={};_0x2dadb9[_0x30e272(0x1a5)]=_0x29a08a[_0x30e272(0x1a3)],await PerformanceTester[_0x30e272(0x1dd)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x5df2c4=_0x30e272;await AccessibilityHelper[_0x5df2c4(0x1bf)](_0x3e4f3c,scripts['performScan']);},_0x2dadb9)(),await PerformanceTester[_0x30e272(0x1dd)](PerformanceA11yEvents['GET_RESULTS'],async()=>{const _0xc9e1fd=_0x30e272;await AccessibilityHelper[_0xc9e1fd(0x1bf)](_0x3e4f3c,scripts[_0xc9e1fd(0x1ac)]);})();}else return logger['warn'](_0x29a08a[_0x30e272(0x199)]),{};},_0x29a08a[_0x48c439(0x22b)](patchSaveScreenshot,_0x3e4f3c);})()),CodeceptJS['event'][_0x9f372(0x1bb)]['on'](CodeceptJS['event'][_0x9f372(0x228)]['before'],()=>{const _0x19d8a3=_0x9f372;PerformanceTester[_0x19d8a3(0x216)](PerformanceEvents['SDK_PRE_TEST']);try{_0x9cfcd9[_0x19d8a3(0x216)](),testOpsHelper[_0x19d8a3(0x20a)](),PerformanceTester[_0x19d8a3(0x193)](PerformanceEvents[_0x19d8a3(0x206)]);}catch(_0x24c274){PerformanceTester[_0x19d8a3(0x1e9)](_0x24c274),PerformanceTester[_0x19d8a3(0x193)](PerformanceEvents[_0x19d8a3(0x206)],![],_0x24c274);}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x9f372(0x187)]['all']['after'],async()=>{const _0x17584b=_0x9f372;PerformanceTester[_0x17584b(0x216)](PerformanceEvents[_0x17584b(0x22f)]);try{requestSpy['restore'](),await _0x9cfcd9[_0x17584b(0x23f)](),PerformanceTester[_0x17584b(0x193)](PerformanceEvents['SDK_POST_TEST']);}catch(_0x32e7f9){PerformanceTester[_0x17584b(0x1e9)](_0x32e7f9),PerformanceTester['end'](PerformanceEvents[_0x17584b(0x22f)],![],_0x32e7f9);}finally{PerformanceTester['stopMonitoring']();}}),CodeceptJS['event'][_0x9f372(0x1bb)]['on'](CodeceptJS['event'][_0x9f372(0x1ea)][_0x9f372(0x16b)],_0x3314b8=>{const _0x7eafb1=_0x9f372;PerformanceTester['start'](PerformanceEvents[_0x7eafb1(0x176)]);try{const _0x4cb31e=_0x3314b8[_0x7eafb1(0x239)][_0x7eafb1(0x1f8)],_0xe70f6b=_0x9cfcd9[_0x7eafb1(0x1a2)](TEST_EVENTS[_0x7eafb1(0x178)],_0x4cb31e);CodeceptRecorder[_0x7eafb1(0x1d7)](()=>_0x9cfcd9[_0x7eafb1(0x238)](TEST_EVENTS[_0x7eafb1(0x178)],_0xe70f6b));const _0x3d06ef={};_0x3d06ef[_0x7eafb1(0x1dc)]=_0x29a08a['pUQkn'],PerformanceTester[_0x7eafb1(0x193)](PerformanceEvents['SDK_HOOK'],!![],null,_0x3d06ef);}catch(_0x3f97a0){const _0x1526d2={};_0x1526d2[_0x7eafb1(0x1dc)]=_0x29a08a[_0x7eafb1(0x1d5)],PerformanceTester[_0x7eafb1(0x193)](PerformanceEvents[_0x7eafb1(0x176)],![],_0x3f97a0,_0x1526d2),PerformanceTester[_0x7eafb1(0x1e9)](_0x3f97a0);}}),CodeceptJS[_0x9f372(0x187)][_0x9f372(0x1bb)]['on'](CodeceptJS[_0x9f372(0x187)][_0x9f372(0x1ea)][_0x9f372(0x223)],_0x369842=>{const _0x4ad833=_0x9f372,_0x531981={};_0x531981[_0x4ad833(0x1dc)]=_0x29a08a[_0x4ad833(0x214)],PerformanceTester[_0x4ad833(0x216)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x531981);try{const _0x25d80b=_0x369842[_0x4ad833(0x239)][_0x4ad833(0x1f8)],_0x7dcbcb=_0x9cfcd9[_0x4ad833(0x1a2)](TEST_EVENTS[_0x4ad833(0x237)],_0x25d80b);CodeceptRecorder[_0x4ad833(0x1d7)](()=>_0x9cfcd9[_0x4ad833(0x238)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x7dcbcb));const _0x33c75a={};_0x33c75a[_0x4ad833(0x1dc)]=_0x29a08a[_0x4ad833(0x214)],PerformanceTester['end'](PerformanceHookEvents[_0x4ad833(0x176)],!![],null,_0x33c75a);}catch(_0x2c5f47){PerformanceTester[_0x4ad833(0x1e9)](_0x2c5f47);const _0x3c0b84={};_0x3c0b84[_0x4ad833(0x1dc)]=_0x29a08a[_0x4ad833(0x214)],PerformanceTester[_0x4ad833(0x193)](PerformanceHookEvents[_0x4ad833(0x176)],![],_0x2c5f47,_0x3c0b84);}}),CodeceptJS[_0x9f372(0x187)][_0x9f372(0x1bb)]['on'](CodeceptJS[_0x9f372(0x187)]['hook'][_0x9f372(0x1fb)],async(_0x3b0bbc,_0x5d5c85)=>{const _0x124c78=_0x9f372;PerformanceTester[_0x124c78(0x216)](PerformanceHookEvents[_0x124c78(0x176)]);try{const _0x10289b=_0x3b0bbc['ctx'][_0x124c78(0x1f8)],_0x3d76a=_0x9cfcd9['captureEvent'](TEST_EVENTS[_0x124c78(0x237)],_0x10289b,_0x5d5c85);CodeceptRecorder[_0x124c78(0x1d7)](()=>_0x9cfcd9[_0x124c78(0x238)](TEST_EVENTS[_0x124c78(0x237)],_0x3d76a));const _0x1cfd9c={};_0x1cfd9c[_0x124c78(0x1dc)]=_0x29a08a[_0x124c78(0x172)],PerformanceTester[_0x124c78(0x216)](PerformanceHookEvents[_0x124c78(0x176)],!![],null,_0x1cfd9c);}catch(_0x4d151c){PerformanceTester[_0x124c78(0x1e9)](_0x4d151c);const _0x1fad36={};_0x1fad36[_0x124c78(0x1dc)]=_0x29a08a[_0x124c78(0x172)],PerformanceTester[_0x124c78(0x193)](PerformanceHookEvents['SDK_HOOK'],![],_0x4d151c,_0x1fad36);}const _0x3750fb={};_0x3750fb[_0x124c78(0x1dc)]=_0x29a08a[_0x124c78(0x172)],PerformanceTester[_0x124c78(0x193)](PerformanceHookEvents[_0x124c78(0x176)],!![],null,_0x3750fb);}),CodeceptJS[_0x9f372(0x187)][_0x9f372(0x1bb)]['on'](CodeceptJS[_0x9f372(0x187)][_0x9f372(0x1f8)][_0x9f372(0x173)],_0x2f87ec=>{const _0x2f65bc=_0x9f372;PerformanceTester[_0x2f65bc(0x216)](PerformanceHookEvents[_0x2f65bc(0x176)]);try{globals[_0x2f65bc(0x19f)](_0x29a08a[_0x2f65bc(0x1ca)],_0x2f87ec[_0x2f65bc(0x240)]);_0x29a08a['WKUFE'](isBrowserstackInfra)&&(_0xcb3e28&&(global[_0x2f65bc(0x1e4)]={'currentTest':{'name':_0x2f87ec[_0x2f65bc(0x240)],'testInfo':{'titlePath':_0x2f87ec['titlePath']()}}}));const _0x4957d9={};_0x4957d9[_0x2f65bc(0x1dc)]=_0x29a08a[_0x2f65bc(0x22e)],PerformanceTester[_0x2f65bc(0x193)](PerformanceHookEvents[_0x2f65bc(0x176)],!![],null,_0x4957d9);}catch(_0x4133a1){PerformanceTester[_0x2f65bc(0x1e9)](_0x4133a1);const _0x1741bd={};_0x1741bd[_0x2f65bc(0x1dc)]=_0x29a08a[_0x2f65bc(0x22e)],PerformanceTester[_0x2f65bc(0x193)](PerformanceHookEvents[_0x2f65bc(0x176)],![],_0x4133a1,_0x1741bd);}}),CodeceptJS['event'][_0x9f372(0x1bb)]['on'](CodeceptJS['event'][_0x9f372(0x1f8)][_0x9f372(0x16b)],_0x1959de=>{const _0x153514=_0x9f372;PerformanceTester['start'](PerformanceHookEvents[_0x153514(0x176)]);try{globals[_0x153514(0x19f)](_0x29a08a['Tqxst'],_0x1959de['title']);const _0x1c0447=_0x9cfcd9[_0x153514(0x1a2)](TEST_EVENTS['TEST_RUN_STARTED'],_0x1959de);CodeceptRecorder['add'](()=>_0x9cfcd9['fireEvent'](TEST_EVENTS['TEST_RUN_STARTED'],_0x1c0447)),CodeceptRecorder[_0x153514(0x1d7)](async()=>{const _0x39cc09=_0x153514;_0x29a08a[_0x39cc09(0x200)](isBrowserstackInfra)&&(!_0x29a08a[_0x39cc09(0x22b)](isTrue,_0x581f4f['skipSessionName'])&&await _0x29a08a[_0x39cc09(0x1ab)](markSessionName,_0x3e4f3c,_0x1959de['title']),_0x9cfcd9[_0x39cc09(0x18a)]&&await _0x29a08a[_0x39cc09(0x19a)](o11ySync,_0x3e4f3c));});}catch(_0x5d5b15){const _0x4789fb={};_0x4789fb[_0x153514(0x1dc)]=_0x29a08a[_0x153514(0x221)],PerformanceTester[_0x153514(0x193)](PerformanceHookEvents[_0x153514(0x176)],![],_0x5d5b15,_0x4789fb),PerformanceTester[_0x153514(0x1e9)](_0x5d5b15);}const _0x45b497={};_0x45b497[_0x153514(0x1dc)]=_0x29a08a['VtWOx'],PerformanceTester[_0x153514(0x193)](PerformanceHookEvents[_0x153514(0x176)],!![],null,_0x45b497);}),CodeceptJS[_0x9f372(0x187)][_0x9f372(0x1bb)]['on'](CodeceptJS[_0x9f372(0x187)][_0x9f372(0x1f8)]['passed'],_0x1e829c=>{const _0x41938d=_0x9f372;PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK']);try{const _0x2d8f49=_0x9cfcd9[_0x41938d(0x1a2)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x1e829c);CodeceptRecorder[_0x41938d(0x1d7)](()=>_0x9cfcd9[_0x41938d(0x238)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x2d8f49)),CodeceptRecorder[_0x41938d(0x1d7)](async()=>{const _0x7a0eed=_0x41938d,_0x53c18b={'KQzKz':function(_0x4c2ced,_0x2e0873,_0x49f277){const _0x3193fd=a1_0x124f;return _0x29a08a[_0x3193fd(0x1d9)](_0x4c2ced,_0x2e0873,_0x49f277);}};_0x29a08a[_0x7a0eed(0x20b)](isBrowserstackInfra)&&await PerformanceTester[_0x7a0eed(0x1dd)](PerformanceAutEvents[_0x7a0eed(0x1eb)],async()=>{const _0x40f286=_0x7a0eed;_0xcb3e28?await _0x53c18b['KQzKz'](playwrightMarkSessionStatus,_0x3e4f3c,STATE_PASSED):await _0x53c18b[_0x40f286(0x1c5)](markSessionStatus,_0x3e4f3c,STATE_PASSED);})();}),PerformanceTester[_0x41938d(0x193)](PerformanceEvents['SDK_TEST']);}catch(_0x436a5d){PerformanceTester[_0x41938d(0x1e9)](_0x436a5d);const _0x19572e={};_0x19572e['hookType']=_0x29a08a[_0x41938d(0x225)],PerformanceTester[_0x41938d(0x193)](PerformanceHookEvents[_0x41938d(0x176)],![],_0x436a5d,_0x19572e),PerformanceTester[_0x41938d(0x193)](PerformanceEvents[_0x41938d(0x23d)],![],_0x436a5d);}const _0x4c6b7e={};_0x4c6b7e['hookType']=_0x29a08a[_0x41938d(0x225)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x4c6b7e);}),CodeceptJS['event'][_0x9f372(0x1bb)]['on'](CodeceptJS[_0x9f372(0x187)][_0x9f372(0x1f8)]['failed'],(_0x32acd8,_0x5bc0d5)=>{const _0x4ab149=_0x9f372,_0x49db53={'CLTAH':function(_0x94654f){const _0x15cdd5=a1_0x124f;return _0x29a08a[_0x15cdd5(0x1ff)](_0x94654f);},'aaENT':function(_0x4c6fbf,_0x40f2b2,_0x157195,_0x53e5e5){return _0x29a08a['kILVb'](_0x4c6fbf,_0x40f2b2,_0x157195,_0x53e5e5);}};PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK']);try{if(_0x29a08a[_0x4ab149(0x192)](_0x32acd8[_0x4ab149(0x1a6)][_0x4ab149(0x204)],_0x29a08a['hclfp'])){const _0x2c479a=_0x9cfcd9[_0x4ab149(0x1a2)](TEST_EVENTS[_0x4ab149(0x227)],_0x32acd8[_0x4ab149(0x239)]['currentTest']);CodeceptRecorder[_0x4ab149(0x1d7)](()=>_0x9cfcd9[_0x4ab149(0x238)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x2c479a));}else{const _0x32e364=_0x9cfcd9[_0x4ab149(0x1a2)](TEST_EVENTS[_0x4ab149(0x17b)],_0x32acd8,_0x5bc0d5);CodeceptRecorder[_0x4ab149(0x1d7)](()=>{const _0x30d6b7=_0x4ab149;try{_0x9cfcd9[_0x30d6b7(0x238)](TEST_EVENTS[_0x30d6b7(0x17b)],_0x32e364);}catch(_0x208b3d){logger[_0x30d6b7(0x195)]('Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20'+util[_0x30d6b7(0x1c7)](_0x208b3d)),PerformanceTester[_0x30d6b7(0x193)](PerformanceEvents[_0x30d6b7(0x23d)],![],_0x208b3d);}}),CodeceptRecorder[_0x4ab149(0x1d7)](async()=>{const _0x2f0707=_0x4ab149;try{_0x49db53['CLTAH'](isBrowserstackInfra)&&(_0xcb3e28?await _0x49db53[_0x2f0707(0x1cb)](playwrightMarkSessionStatus,_0x3e4f3c,STATE_FAILED,_0x5bc0d5):await _0x49db53[_0x2f0707(0x1cb)](markSessionStatus,_0x3e4f3c,STATE_FAILED,_0x5bc0d5));}catch(_0x237820){logger[_0x2f0707(0x195)]('Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20'+util[_0x2f0707(0x1c7)](_0x237820)),PerformanceTester['end'](PerformanceEvents[_0x2f0707(0x23d)],![],_0x237820);}});}PerformanceTester['end'](PerformanceEvents[_0x4ab149(0x23d)]);}catch(_0x51021c){PerformanceTester[_0x4ab149(0x1e9)](_0x51021c);const _0xb78630={};_0xb78630[_0x4ab149(0x1dc)]=_0x29a08a[_0x4ab149(0x171)],PerformanceTester[_0x4ab149(0x193)](PerformanceHookEvents[_0x4ab149(0x176)],![],_0x51021c,_0xb78630),PerformanceTester[_0x4ab149(0x193)](PerformanceEvents['SDK_TEST'],![],_0x51021c);}const _0x523925={};_0x523925[_0x4ab149(0x1dc)]=_0x29a08a[_0x4ab149(0x171)],PerformanceTester[_0x4ab149(0x193)](PerformanceHookEvents[_0x4ab149(0x176)],!![],null,_0x523925);}),CodeceptJS['event'][_0x9f372(0x1bb)]['on'](CodeceptJS[_0x9f372(0x187)][_0x9f372(0x1f8)][_0x9f372(0x1d1)],_0x52f4e6=>{const _0x1275fc=_0x9f372;PerformanceTester[_0x1275fc(0x216)](PerformanceHookEvents['SDK_HOOK']);try{const _0x20e0b6=_0x9cfcd9[_0x1275fc(0x1a2)](TEST_EVENTS[_0x1275fc(0x227)],_0x52f4e6);CodeceptRecorder[_0x1275fc(0x1d7)](()=>_0x9cfcd9[_0x1275fc(0x238)](TEST_EVENTS[_0x1275fc(0x227)],_0x20e0b6)),PerformanceTester[_0x1275fc(0x193)](PerformanceEvents['SDK_TEST']);}catch(_0x13454d){PerformanceTester['captureError'](_0x13454d),PerformanceTester[_0x1275fc(0x193)](PerformanceEvents[_0x1275fc(0x23d)],![],_0x13454d);const _0xf03652={};_0xf03652[_0x1275fc(0x1dc)]=_0x29a08a[_0x1275fc(0x180)],PerformanceTester[_0x1275fc(0x193)](PerformanceHookEvents['SDK_HOOK'],![],_0x13454d,_0xf03652);}const _0xb4b7fe={};_0xb4b7fe[_0x1275fc(0x1dc)]=_0x29a08a[_0x1275fc(0x180)],PerformanceTester['end'](PerformanceHookEvents[_0x1275fc(0x176)],!![],null,_0xb4b7fe);}),CodeceptJS['event'][_0x9f372(0x1bb)]['on'](CodeceptJS[_0x9f372(0x187)][_0x9f372(0x1f8)][_0x9f372(0x226)],async(_0x4b66dd,_0x4267a2)=>{const _0x585aec=_0x9f372,_0x22fb4d={};_0x22fb4d[_0x585aec(0x1cf)]=_0x29a08a['ubPvs'];const _0x1374ba=_0x22fb4d;try{PerformanceTester[_0x585aec(0x216)](PerformanceHookEvents[_0x585aec(0x176)]);const _0x589591=_0x29a08a[_0x585aec(0x1d9)](shouldScanTestForAccessibility,_0x4b66dd[_0x585aec(0x1d6)](),!![]);if(_0x29a08a[_0x585aec(0x186)](isAccessibilityAutomationSession)&&global[_0x585aec(0x23e)]&&_0x589591){const _0x26a638={};_0x26a638['thTestRunUuid']=_0x4b66dd[_0x585aec(0x1f7)],_0x26a638[_0x585aec(0x1cd)]=process[_0x585aec(0x19d)][testHubConstants[_0x585aec(0x1c1)][_0x585aec(0x201)]],_0x26a638['thJwtToken']=process[_0x585aec(0x19d)][testHubConstants[_0x585aec(0x1c1)][_0x585aec(0x16e)]];const _0x242549=_0x26a638;logger['debug']('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x585aec(0x1aa)](_0x242549)),CodeceptRecorder[_0x585aec(0x1d7)](async()=>{const _0x27d3ad=_0x585aec,_0x32024b={};_0x32024b['command']=_0x1374ba[_0x27d3ad(0x1cf)],await PerformanceTester[_0x27d3ad(0x1dd)](PerformanceA11yEvents[_0x27d3ad(0x21c)],async()=>{const _0x4b9ed7=_0x27d3ad;await AccessibilityHelper[_0x4b9ed7(0x1bf)](_0x3e4f3c,scripts[_0x4b9ed7(0x222)]);},_0x32024b)(),await PerformanceTester[_0x27d3ad(0x1dd)](PerformanceA11yEvents[_0x27d3ad(0x211)],async()=>{const _0x35d0b9=_0x27d3ad;await AccessibilityHelper[_0x35d0b9(0x1bf)](_0x3e4f3c,scripts[_0x35d0b9(0x1f4)],_0x242549);})();}),logger[_0x585aec(0x1b9)](_0x29a08a[_0x585aec(0x185)]);}const _0x3b91fa={};_0x3b91fa['hookType']=_0x29a08a['QPQkK'],PerformanceTester[_0x585aec(0x193)](PerformanceHookEvents[_0x585aec(0x176)],!![],null,_0x3b91fa);}catch(_0x252e46){PerformanceTester[_0x585aec(0x1e9)](_0x252e46);const _0x33174b={};_0x33174b[_0x585aec(0x1dc)]=_0x29a08a[_0x585aec(0x1ed)],PerformanceTester[_0x585aec(0x193)](PerformanceHookEvents[_0x585aec(0x176)],![],_0x252e46,_0x33174b);}}),CodeceptJS['event'][_0x9f372(0x1bb)]['on'](CodeceptJS[_0x9f372(0x187)][_0x9f372(0x188)][_0x9f372(0x22c)],_0x99dc30=>{const _0x58666d=_0x9f372;PerformanceTester['start'](PerformanceHookEvents[_0x58666d(0x176)]);try{process['emit'](_0x58666d(0x17c)+process[_0x58666d(0x175)],{'timestamp':new Date()['toISOString'](),'level':_0x29a08a['hlBdK'],'message':_0x99dc30,'kind':_0x29a08a[_0x58666d(0x1f0)],'http_response':{}});}catch(_0xc8c663){PerformanceTester['captureError'](_0xc8c663);const _0x3ae030={};_0x3ae030[_0x58666d(0x1dc)]=_0x29a08a[_0x58666d(0x181)],PerformanceTester[_0x58666d(0x193)](PerformanceHookEvents[_0x58666d(0x176)],![],_0xc8c663,_0x3ae030);}const _0xdae6cd={};_0xdae6cd['hookType']=_0x29a08a['wElHS'],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],!![],null,_0xdae6cd);}),CodeceptJS[_0x9f372(0x187)][_0x9f372(0x1bb)]['on'](CodeceptJS['event'][_0x9f372(0x1f3)][_0x9f372(0x173)],_0x2f1849=>{const _0x1475cd=_0x9f372,_0x246267={};_0x246267[_0x1475cd(0x1dc)]=_0x29a08a[_0x1475cd(0x190)],PerformanceTester['measureWrapper'](PerformanceHookEvents[_0x1475cd(0x176)],()=>{_0x9cfcd9['bddStepStart'](_0x2f1849);},_0x246267)();}),CodeceptJS[_0x9f372(0x187)][_0x9f372(0x1bb)]['on'](CodeceptJS[_0x9f372(0x187)][_0x9f372(0x1f3)][_0x9f372(0x226)],_0x32823a=>{const _0x18e480=_0x9f372,_0x503282={};_0x503282[_0x18e480(0x1dc)]=_0x29a08a[_0x18e480(0x23b)],PerformanceTester[_0x18e480(0x1dd)](PerformanceHookEvents[_0x18e480(0x176)],()=>{const _0x1dd729=_0x18e480;_0x9cfcd9[_0x1dd729(0x1ef)](_0x32823a);},_0x503282)();});};
1
+ function a1_0x493e(_0x5a5836,_0x131d9c){const _0x611078=a1_0x6110();return a1_0x493e=function(_0x493e85,_0x50b652){_0x493e85=_0x493e85-0x1b7;let _0x2240a4=_0x611078[_0x493e85];return _0x2240a4;},a1_0x493e(_0x5a5836,_0x131d9c);}const a1_0x3b8233=a1_0x493e;(function(_0x243732,_0x28a267){const _0x3f4d13=a1_0x493e,_0x34be9d=_0x243732();while(!![]){try{const _0x1f85ad=-parseInt(_0x3f4d13(0x23e))/0x1*(-parseInt(_0x3f4d13(0x1ed))/0x2)+parseInt(_0x3f4d13(0x278))/0x3*(parseInt(_0x3f4d13(0x243))/0x4)+-parseInt(_0x3f4d13(0x299))/0x5*(parseInt(_0x3f4d13(0x27f))/0x6)+parseInt(_0x3f4d13(0x27d))/0x7+parseInt(_0x3f4d13(0x21a))/0x8*(parseInt(_0x3f4d13(0x256))/0x9)+-parseInt(_0x3f4d13(0x220))/0xa+parseInt(_0x3f4d13(0x1dc))/0xb;if(_0x1f85ad===_0x28a267)break;else _0x34be9d['push'](_0x34be9d['shift']());}catch(_0x10caa4){_0x34be9d['push'](_0x34be9d['shift']());}}}(a1_0x6110,0x455bb));const fs=require('fs'),util=require(a1_0x3b8233(0x1cc)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x3b8233(0x297)),logger=require(a1_0x3b8233(0x1c0))[a1_0x3b8233(0x28c)],testOpsHelper=require('../../helpers/test-observability/utils'),requestSpy=require(a1_0x3b8233(0x1ec)),PlaywrightSessionDetails=require(a1_0x3b8233(0x22a)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x3b8233(0x248)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x3b8233(0x281)),AccessibilityHelper=require(a1_0x3b8233(0x20d)),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require(a1_0x3b8233(0x29a)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x3b8233(0x252)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x3b8233(0x27c)),testHubConstants=require(a1_0x3b8233(0x1f3)),globals=require(a1_0x3b8233(0x279)),CodeceptJS=requireModule(a1_0x3b8233(0x298),a1_0x3b8233(0x296)),CodeceptUtils=requireModule('codeceptjs/lib/utils.js',a1_0x3b8233(0x296)),CodeceptWebDriver=requireModule(a1_0x3b8233(0x224),'codeceptjs'),CodeceptRecorder=requireModule('codeceptjs/lib/recorder.js','codeceptjs'),CodeceptPlaywright=requireModule(a1_0x3b8233(0x246),a1_0x3b8233(0x296)),playwrightMarkSessionStatus=(_0xd57c56,_0x49d83d,_0x408f17)=>{const _0x409e47=a1_0x3b8233,_0x155d5f={'gpWIZ':_0x409e47(0x266),'TQqPk':function(_0x70b9ad,_0x15150f){return _0x70b9ad(_0x15150f);}},_0x203989={};_0x203989['status']=_0x49d83d;const _0x358ece={};_0x358ece[_0x409e47(0x25e)]=_0x155d5f[_0x409e47(0x1d7)],_0x358ece[_0x409e47(0x1dd)]=_0x203989;const _0x59e614=_0x358ece;return!_0x155d5f[_0x409e47(0x222)](isUndefined,_0x408f17)&&(_0x59e614[_0x409e47(0x1dd)][_0x409e47(0x20f)]=JSON[_0x409e47(0x280)](_0x408f17)),_0xd57c56[_0x409e47(0x20b)](()=>{},_0x409e47(0x1e2)+JSON[_0x409e47(0x280)](_0x59e614));},o11ySync=PerformanceTester[a1_0x3b8233(0x27e)](PerformanceO11yEvents[a1_0x3b8233(0x274)],async _0xcedb8a=>{const _0x3c764b=a1_0x3b8233,_0x166750={};_0x166750[_0x3c764b(0x1d5)]=function(_0x3e3966,_0x536e6c){return _0x3e3966===_0x536e6c;},_0x166750['BjYZs']=_0x3c764b(0x21d);const _0x513651=_0x166750;_0x513651[_0x3c764b(0x1d5)](_0xcedb8a[_0x3c764b(0x203)][_0x3c764b(0x20a)],_0x513651[_0x3c764b(0x1f9)])?await _0xcedb8a[_0x3c764b(0x20b)](_0x4058d7=>{},testOpsHelper[_0x3c764b(0x1d6)]()):await _0xcedb8a[_0x3c764b(0x20b)](testOpsHelper['getSyncScript']());}),markSessionName=PerformanceTester[a1_0x3b8233(0x27e)](PerformanceAutEvents[a1_0x3b8233(0x21e)],async(_0x15617c,_0x6d49b8)=>{const _0x1b429b=a1_0x3b8233,_0x5a850d={};_0x5a850d['OAmgO']=_0x1b429b(0x1e1),_0x5a850d[_0x1b429b(0x1c6)]=function(_0x1160ab,_0x57d55d){return _0x1160ab===_0x57d55d;},_0x5a850d[_0x1b429b(0x238)]=_0x1b429b(0x21d);const _0x31f610=_0x5a850d,_0xe534b0={};_0xe534b0['name']=_0x6d49b8;const _0x38409d={};_0x38409d[_0x1b429b(0x25e)]=_0x31f610[_0x1b429b(0x1fe)],_0x38409d[_0x1b429b(0x1dd)]=_0xe534b0;const _0xd0f1bb=_0x38409d;_0x31f610[_0x1b429b(0x1c6)](_0x15617c['constructor']['name'],_0x31f610[_0x1b429b(0x238)])?await _0x15617c[_0x1b429b(0x20b)](()=>{},_0x1b429b(0x1e2)+JSON[_0x1b429b(0x280)](_0xd0f1bb)):await _0x15617c[_0x1b429b(0x20b)](_0x1b429b(0x1e2)+JSON[_0x1b429b(0x280)](_0xd0f1bb));}),patchSaveScreenshot=_0x25a04a=>{const _0x3e1e82=a1_0x3b8233,_0x100e7b={'zLREp':_0x3e1e82(0x229),'GTVrZ':_0x3e1e82(0x28f),'NXefi':function(_0x3c658c){return _0x3c658c();},'vFcdC':function(_0x491146,_0x1bdc85){return _0x491146(_0x1bdc85);},'QgBJl':'Screenshot\x20path\x20not\x20found','wKuGl':function(_0x334705,_0xd4c9dc){return _0x334705(_0xd4c9dc);}};_0x100e7b['wKuGl'](isTrue,process[_0x3e1e82(0x235)][_0x3e1e82(0x1ba)])&&!_0x25a04a[_0x3e1e82(0x22b)]&&(_0x25a04a[_0x3e1e82(0x22b)]=!![],_0x25a04a['initSaveScreenshot']=_0x25a04a[_0x3e1e82(0x1c9)],_0x25a04a[_0x3e1e82(0x1c9)]=(_0x5e0ec0,_0x56d497=![])=>{const _0x2c246b=_0x3e1e82,_0x3b7d36={'nhRBA':_0x100e7b[_0x2c246b(0x1e3)],'rYgZD':_0x100e7b[_0x2c246b(0x1cb)],'XOgjZ':function(_0x3d93c8){const _0x401da1=_0x2c246b;return _0x100e7b[_0x401da1(0x24d)](_0x3d93c8);},'xwvMN':function(_0x13b830,_0x3690b8){const _0x36a034=_0x2c246b;return _0x100e7b[_0x36a034(0x232)](_0x13b830,_0x3690b8);},'yLbDp':_0x100e7b[_0x2c246b(0x223)]};return new Promise(function(_0x54645b,_0x2ddee5){const _0x3d96e2=_0x2c246b;_0x25a04a[_0x3d96e2(0x272)](_0x5e0ec0,_0x56d497)[_0x3d96e2(0x1e0)](()=>{const _0x345478=_0x3d96e2,_0x3fcd3f=CodeceptUtils[_0x345478(0x24c)](_0x5e0ec0);if(_0x3fcd3f){const _0x1efa0b=fs[_0x345478(0x253)](_0x3fcd3f);process[_0x345478(0x1bd)](_0x345478(0x21c)+process[_0x345478(0x25a)],{'timestamp':new Date()[_0x345478(0x241)](),'message':_0x1efa0b[_0x345478(0x25c)](_0x3b7d36[_0x345478(0x1ef)]),'kind':_0x3b7d36[_0x345478(0x228)]}),_0x3b7d36[_0x345478(0x23c)](_0x54645b);}_0x3b7d36[_0x345478(0x270)](_0x2ddee5,new Error(_0x3b7d36[_0x345478(0x23b)]));})[_0x3d96e2(0x240)](()=>null);});});},patchWebDriverBefore=_0x16035a=>{const _0x23b6bd=a1_0x3b8233,_0x40bc68={'dbSWL':function(_0x41af08){return _0x41af08();},'pccQe':function(_0x404b95,_0x95ae24){return _0x404b95(_0x95ae24);},'rFbUo':function(_0x500319,_0x2c157d){return _0x500319===_0x2c157d;},'iDFYF':'Element','OCeCP':function(_0x220b98,_0xc3fed4){return _0x220b98(_0xc3fed4);}},_0x598000=async function(_0x1443fe,_0x59132e){const _0xe60514=a1_0x493e;return _0x40bc68[_0xe60514(0x212)](isAccessibilityAutomationSession)&&!global[_0xe60514(0x21f)]&&global[_0xe60514(0x1d8)]&&scripts[_0xe60514(0x1bb)](_0x1443fe[_0xe60514(0x20a)])&&_0x40bc68[_0xe60514(0x208)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0xe60514(0x21f)]=!![],await PerformanceTester[_0xe60514(0x27e)](PerformanceA11yEvents[_0xe60514(0x25f)],async()=>{const _0x4df66c=_0xe60514;logger['debug'](_0x4df66c(0x234)+_0x1443fe['class']+'\x20'+_0x1443fe[_0x4df66c(0x20a)]),await AccessibilityHelper[_0x4df66c(0x218)](_0x16035a,scripts[_0x4df66c(0x236)]);},{'command':_0x1443fe[_0xe60514(0x20a)]})()),global[_0xe60514(0x21f)]=![],_0x59132e[_0xe60514(0x21b)](this,Array[_0xe60514(0x277)][_0xe60514(0x292)][_0xe60514(0x206)](arguments,0x2));},_0x3adf7b=CodeceptWebDriver[_0x23b6bd(0x277)][_0x23b6bd(0x28e)];CodeceptWebDriver[_0x23b6bd(0x277)]['_before']=async function(){const _0x3a2029=_0x23b6bd;try{await _0x3adf7b['apply'](this,arguments);}catch(_0x45fe7f){logger['debug'](_0x3a2029(0x267)+util[_0x3a2029(0x283)](_0x45fe7f));}scripts[_0x3a2029(0x255)][_0x3a2029(0x244)](_0x5093f4=>_0x5093f4[_0x3a2029(0x20a)]&&_0x5093f4[_0x3a2029(0x1ce)])[_0x3a2029(0x24a)](_0xdba2fa=>{const _0x49c6fb=_0x3a2029;this[_0x49c6fb(0x20e)][_0x49c6fb(0x257)](_0xdba2fa['name'],_0x598000['bind'](this,_0xdba2fa),_0x40bc68[_0x49c6fb(0x1fd)](_0xdba2fa['class'],_0x40bc68[_0x49c6fb(0x247)]));}),_0x40bc68[_0x3a2029(0x1be)](processWebDriverConfig,_0x16035a);};},patchPlaywrightBefore=()=>{const _0x42ef5b=a1_0x3b8233;PlaywrightSessionDetails[_0x42ef5b(0x1fb)]();const _0x55a4ea=CodeceptPlaywright[_0x42ef5b(0x277)][_0x42ef5b(0x28e)];CodeceptPlaywright['prototype'][_0x42ef5b(0x28e)]=async function(){const _0x3e64fa=_0x42ef5b;this[_0x3e64fa(0x23a)]=await this[_0x3e64fa(0x20e)][_0x3e64fa(0x260)]()[0x0],await _0x55a4ea['apply'](this,arguments);};},getCodeceptDriver=()=>{const _0x274c22=a1_0x3b8233,_0x5cf352={};_0x5cf352['tACSb']=_0x274c22(0x1d2),_0x5cf352[_0x274c22(0x293)]=_0x274c22(0x21d),_0x5cf352[_0x274c22(0x1d3)]='Puppeteer',_0x5cf352[_0x274c22(0x26e)]=_0x274c22(0x20c);const _0x3eb4cf=_0x5cf352,_0x1b35ad=[_0x3eb4cf[_0x274c22(0x1b9)],_0x3eb4cf[_0x274c22(0x293)],_0x3eb4cf['BdyiW'],_0x3eb4cf[_0x274c22(0x26e)]],_0x5a1e73=_0x1b35ad[_0x274c22(0x231)](_0x26b722=>!!CodeceptJS['container']['helpers'](_0x26b722));if(!_0x5a1e73)return null;return CodeceptJS[_0x274c22(0x1c3)][_0x274c22(0x1e8)](_0x5a1e73);};function a1_0x6110(){const _0x3ff904=['name','executeScript','TestCafe','../../bin/playwright/accessibility-helper','browser','reason','tHiPh','skipSessionStatus','dbSWL','GET_RESULTS_SUMMARY','XBnJG','hook','SDK_PRE_TEST','bddStep-before','browserStackExecuteDriver','__workerDetails','8mNzwho','apply','bs:addLog:','Playwright','SESSION_NAME','bstackAllyScanning','4362290spOXHj','thBuildUuid','TQqPk','QgBJl','codeceptjs/lib/helper/WebDriver.js','step','SDK_POST_TEST','stopMonitoring','rYgZD','base64','../../bin/playwright/sessionDetails','patchSaveScreenshot','dispatcher','jrYue','hxhAZ','afterTest','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','find','vFcdC','test-started','Performing\x20scan\x20for\x20','env','performScan','BROWSERSTACK_TESTHUB_UUID','hLAck','dOtCP','browserContext','yLbDp','XOgjZ','rGktC','1992PYtnpF','warn','catch','toISOString','SDK_TEST','88AxGoTJ','filter','before','codeceptjs/lib/helper/Playwright.js','iDFYF','./o11yHelper','HOOK_RUN_FINISHED','forEach','fireEvent','screenshotOutputFolder','NXefi','Dplda','sDSPA','addRequestSpy','ctx','../../helpers/performance/constants','readFileSync','xSJeW','commandsToWrap','2692278teibgw','overwriteCommand','bddStep','captureError','pid','AQxhb','toString','ymAiv','action','PERFORM_SCAN','contexts','TEST_LOG','MOKel','YeDOQ','getAccessibilityResultsSummary','comment','setSessionStatus','Failed\x20to\x20execute\x20_before:\x20','__skipSessionStatus','SESSION_STATUS','currentTest','failed','BROWSERSTACK_TESTHUB_JWT','AhJwu','IufHJ','iYEpm','xwvMN','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','initSaveScreenshot','zhdeb','SYNC','daaBa','xJTjJ','prototype','21189UzGKhv','../../helpers/globals.js','ENV_VAR','YKiFh','./helper.js','640822IbUrbc','measureWrapper','2478714XNvzfJ','stringify','../../helpers/accessibility-automation/helper','VMgQv','format','event','test-skipped','getAccessibilityResults','GET_RESULTS','add','BjAhT','start','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','winstonLogger','mjhjY','_before','TEST_SCREENSHOT','captureEvent','setGlobal','slice','HcINV','TEST_RUN_SKIPPED','WqUkS','codeceptjs','../../helpers/helper','codeceptjs/lib/index.js','5PvdLBV','../../helpers/performance/performance-tester','thJwtToken','stop','tACSb','BS_TESTOPS_ALLOW_SCREENSHOTS','shouldWrapCommand','all','emit','OCeCP','command','../../helpers/logger','YbgQu','end','container','skipped','passed','BkuIJ','restore','SDK_HOOK','saveScreenshot','skipSessionName','GTVrZ','util','test-after','class','HOOK_RUN_STARTED','CLbTT','ADxYH','WebDriver','BdyiW','LwjPy','Szxti','getSyncScript','gpWIZ','accessibilityPlatform','bddStep-after','KuhEI','TEST_RUN_STARTED','435215SpEexX','arguments','test','wiqFx','then','setSessionName','browserstack_executor:\x20','zLREp','title','yYeAA','hookType','thTestRunUuid','helpers','startMonitoring','INFO','SDK_POST_INITIALIZE','../../helpers/request-spy','550UdJtuH','TEST_RUN_FINISHED','nhRBA','NLYUj','enabled','hook-passed','../../helpers/testhub/constants.js','cclUx','mTBdl','test-failed','info','debug','BjYZs','getResults','patch','SDK_PRE_INITIALIZE','rFbUo','OAmgO','titlePath','cfcCB','ElXPN','browserstackTestName','constructor','hook-failed','jybtg','call','after','pccQe','SAVE_RESULTS'];a1_0x6110=function(){return _0x3ff904;};return a1_0x6110();}module['exports']=function(_0x1bed47){const _0x51a246=a1_0x3b8233,_0x1bc3d5={'sDSPA':function(_0x4bee83){return _0x4bee83();},'hxhAZ':function(_0xee6a04,_0x4c8c9f){return _0xee6a04(_0x4c8c9f);},'jybtg':_0x51a246(0x264),'knDYI':_0x51a246(0x28b),'zrvdp':_0x51a246(0x286),'aLNfQ':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','hJvXx':function(_0x5c2b82,_0x523ca4){return _0x5c2b82(_0x523ca4);},'dOtCP':'hook-started','mjhjY':_0x51a246(0x1f2),'yYeAA':_0x51a246(0x204),'ymAiv':_0x51a246(0x202),'MOKel':function(_0x108bde){return _0x108bde();},'WqUkS':'test-before','CLbTT':function(_0x39b3a9){return _0x39b3a9();},'iYEpm':function(_0x84775d,_0x110cc6,_0x55a1ee){return _0x84775d(_0x110cc6,_0x55a1ee);},'AQxhb':_0x51a246(0x233),'cclUx':function(_0x498b35,_0xa9c74,_0x2173d1){return _0x498b35(_0xa9c74,_0x2173d1);},'GKnHv':'test-passed','ADxYH':function(_0x5b3a95){return _0x5b3a95();},'mTBdl':function(_0x5336dd,_0x46a1ed,_0x4d99b9,_0x53cab0){return _0x5336dd(_0x46a1ed,_0x4d99b9,_0x53cab0);},'ElXPN':function(_0x2ffb15,_0x4bad98){return _0x2ffb15===_0x4bad98;},'tHiPh':'Suite','wiqFx':_0x51a246(0x1f6),'zhdeb':_0x51a246(0x285),'gPIhH':_0x51a246(0x22f),'rGktC':function(_0x1a26b7,_0x21b8f6,_0x5b3018){return _0x1a26b7(_0x21b8f6,_0x5b3018);},'LwjPy':function(_0x24dcea){return _0x24dcea();},'xJTjJ':_0x51a246(0x230),'YKiFh':_0x51a246(0x1cd),'dMNqW':_0x51a246(0x1ea),'VMgQv':_0x51a246(0x261),'xSJeW':'step-comment','XBnJG':_0x51a246(0x217),'daaBa':_0x51a246(0x1d9),'wLsYq':function(_0xe534d1){return _0xe534d1();},'jrYue':'Playwright'};_0x1bed47['skipSessionStatus']&&(global[_0x51a246(0x268)]=_0x1bed47[_0x51a246(0x211)]);PerformanceTester[_0x51a246(0x1e9)]();const _0x20862a=_0x1bc3d5['wLsYq'](getCodeceptDriver),_0x1d0dd1=new O11yHelper(_0x20862a,_0x1bed47),_0x54cd64=!!CodeceptJS[_0x51a246(0x1c3)][_0x51a246(0x1e8)](_0x1bc3d5[_0x51a246(0x22d)]);global['__driver']=_0x20862a,_0x20862a&&(PerformanceTester[_0x51a246(0x27e)](PerformanceEvents[_0x51a246(0x1fc)],()=>{const _0x5a0020=_0x51a246;_0x54cd64?_0x1bc3d5[_0x5a0020(0x24f)](patchPlaywrightBefore):_0x1bc3d5[_0x5a0020(0x22e)](patchWebDriverBefore,_0x20862a);})(),PerformanceTester['measureWrapper'](PerformanceEvents[_0x51a246(0x1eb)],()=>{const _0x1d8937=_0x51a246,_0x2a1585={};_0x2a1585[_0x1d8937(0x263)]=_0x1bc3d5['zrvdp'],_0x2a1585[_0x1d8937(0x1c1)]=_0x1bc3d5['aLNfQ'];const _0x51db6c=_0x2a1585;_0x20862a[_0x1d8937(0x264)]=async()=>{const _0x2241b6=_0x1d8937;if(global[_0x2241b6(0x1d8)]){const _0x5f49c6={};_0x5f49c6[_0x2241b6(0x1bf)]=_0x1bc3d5[_0x2241b6(0x205)],await PerformanceTester[_0x2241b6(0x27e)](PerformanceA11yEvents[_0x2241b6(0x25f)],async()=>{const _0x3cb3af=_0x2241b6;await AccessibilityHelper[_0x3cb3af(0x218)](_0x20862a,scripts['performScan']);},_0x5f49c6)(),await PerformanceTester[_0x2241b6(0x27e)](PerformanceA11yEvents[_0x2241b6(0x213)],async()=>{await AccessibilityHelper['browserStackExecuteDriver'](_0x20862a,scripts['getResultsSummary']);})();}else return logger['warn'](_0x1bc3d5['knDYI']),{};},_0x20862a['getAccessibilityResults']=async()=>{const _0x334429=_0x1d8937;if(global[_0x334429(0x1d8)]){const _0x29a708={};_0x29a708[_0x334429(0x1bf)]=_0x51db6c[_0x334429(0x263)],await PerformanceTester[_0x334429(0x27e)](PerformanceA11yEvents[_0x334429(0x25f)],async()=>{const _0x116931=_0x334429;await AccessibilityHelper[_0x116931(0x218)](_0x20862a,scripts[_0x116931(0x236)]);},_0x29a708)(),await PerformanceTester[_0x334429(0x27e)](PerformanceA11yEvents[_0x334429(0x287)],async()=>{const _0x4b4a74=_0x334429;await AccessibilityHelper[_0x4b4a74(0x218)](_0x20862a,scripts[_0x4b4a74(0x1fa)]);})();}else return logger[_0x334429(0x23f)](_0x51db6c[_0x334429(0x1c1)]),{};},_0x1bc3d5['hJvXx'](patchSaveScreenshot,_0x20862a);})()),CodeceptJS[_0x51a246(0x284)][_0x51a246(0x22c)]['on'](CodeceptJS[_0x51a246(0x284)][_0x51a246(0x1bc)][_0x51a246(0x245)],()=>{const _0x1e0930=_0x51a246;PerformanceTester[_0x1e0930(0x28a)](PerformanceEvents[_0x1e0930(0x216)]);try{_0x1d0dd1[_0x1e0930(0x28a)](),testOpsHelper[_0x1e0930(0x250)](),PerformanceTester[_0x1e0930(0x1c2)](PerformanceEvents[_0x1e0930(0x216)]);}catch(_0x36fcaa){PerformanceTester[_0x1e0930(0x259)](_0x36fcaa),PerformanceTester[_0x1e0930(0x1c2)](PerformanceEvents[_0x1e0930(0x216)],![],_0x36fcaa);}}),CodeceptJS[_0x51a246(0x284)]['dispatcher']['on'](CodeceptJS[_0x51a246(0x284)][_0x51a246(0x1bc)][_0x51a246(0x207)],async()=>{const _0x426026=_0x51a246;PerformanceTester[_0x426026(0x28a)](PerformanceEvents[_0x426026(0x226)]);try{requestSpy[_0x426026(0x1c7)](),await _0x1d0dd1[_0x426026(0x1b8)](),PerformanceTester['end'](PerformanceEvents[_0x426026(0x226)]);}catch(_0x334328){PerformanceTester['captureError'](_0x334328),PerformanceTester[_0x426026(0x1c2)](PerformanceEvents[_0x426026(0x226)],![],_0x334328);}finally{PerformanceTester[_0x426026(0x227)]();}}),CodeceptJS['event'][_0x51a246(0x22c)]['on'](CodeceptJS['event']['hook']['started'],_0x421c23=>{const _0x1763f0=_0x51a246;PerformanceTester[_0x1763f0(0x28a)](PerformanceEvents[_0x1763f0(0x1c8)]);try{const _0x8104fa=_0x421c23[_0x1763f0(0x251)][_0x1763f0(0x1de)],_0x32635c=_0x1d0dd1[_0x1763f0(0x290)](TEST_EVENTS[_0x1763f0(0x1cf)],_0x8104fa);CodeceptRecorder[_0x1763f0(0x288)](()=>_0x1d0dd1[_0x1763f0(0x24b)](TEST_EVENTS[_0x1763f0(0x1cf)],_0x32635c));const _0x4365af={};_0x4365af[_0x1763f0(0x1e6)]=_0x1bc3d5[_0x1763f0(0x239)],PerformanceTester[_0x1763f0(0x1c2)](PerformanceEvents[_0x1763f0(0x1c8)],!![],null,_0x4365af);}catch(_0x8ccc67){const _0x5b8542={};_0x5b8542[_0x1763f0(0x1e6)]=_0x1bc3d5['dOtCP'],PerformanceTester[_0x1763f0(0x1c2)](PerformanceEvents[_0x1763f0(0x1c8)],![],_0x8ccc67,_0x5b8542),PerformanceTester['captureError'](_0x8ccc67);}}),CodeceptJS[_0x51a246(0x284)][_0x51a246(0x22c)]['on'](CodeceptJS[_0x51a246(0x284)][_0x51a246(0x215)][_0x51a246(0x1c5)],_0x255c4c=>{const _0xd23e86=_0x51a246,_0x1ff89f={};_0x1ff89f['hookType']=_0x1bc3d5['mjhjY'],PerformanceTester[_0xd23e86(0x28a)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x1ff89f);try{const _0x43d3ac=_0x255c4c[_0xd23e86(0x251)][_0xd23e86(0x1de)],_0x147068=_0x1d0dd1[_0xd23e86(0x290)](TEST_EVENTS[_0xd23e86(0x249)],_0x43d3ac);CodeceptRecorder[_0xd23e86(0x288)](()=>_0x1d0dd1[_0xd23e86(0x24b)](TEST_EVENTS[_0xd23e86(0x249)],_0x147068));const _0x3b3d48={};_0x3b3d48['hookType']=_0x1bc3d5[_0xd23e86(0x28d)],PerformanceTester[_0xd23e86(0x1c2)](PerformanceHookEvents[_0xd23e86(0x1c8)],!![],null,_0x3b3d48);}catch(_0x3e9ee6){PerformanceTester[_0xd23e86(0x259)](_0x3e9ee6);const _0x2f23f2={};_0x2f23f2['hookType']=_0x1bc3d5[_0xd23e86(0x28d)],PerformanceTester[_0xd23e86(0x1c2)](PerformanceHookEvents[_0xd23e86(0x1c8)],![],_0x3e9ee6,_0x2f23f2);}}),CodeceptJS[_0x51a246(0x284)]['dispatcher']['on'](CodeceptJS[_0x51a246(0x284)][_0x51a246(0x215)][_0x51a246(0x26b)],async(_0x59a92a,_0x33ac55)=>{const _0x4e4c4c=_0x51a246;PerformanceTester[_0x4e4c4c(0x28a)](PerformanceHookEvents['SDK_HOOK']);try{const _0x59a88d=_0x59a92a[_0x4e4c4c(0x251)][_0x4e4c4c(0x1de)],_0x3142fb=_0x1d0dd1['captureEvent'](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x59a88d,_0x33ac55);CodeceptRecorder[_0x4e4c4c(0x288)](()=>_0x1d0dd1[_0x4e4c4c(0x24b)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x3142fb));const _0x4f546e={};_0x4f546e[_0x4e4c4c(0x1e6)]=_0x1bc3d5[_0x4e4c4c(0x1e5)],PerformanceTester[_0x4e4c4c(0x28a)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x4f546e);}catch(_0x28cd35){PerformanceTester['captureError'](_0x28cd35);const _0x1f22fb={};_0x1f22fb[_0x4e4c4c(0x1e6)]=_0x1bc3d5[_0x4e4c4c(0x1e5)],PerformanceTester[_0x4e4c4c(0x1c2)](PerformanceHookEvents[_0x4e4c4c(0x1c8)],![],_0x28cd35,_0x1f22fb);}const _0x1d764b={};_0x1d764b[_0x4e4c4c(0x1e6)]=_0x1bc3d5['yYeAA'],PerformanceTester[_0x4e4c4c(0x1c2)](PerformanceHookEvents[_0x4e4c4c(0x1c8)],!![],null,_0x1d764b);}),CodeceptJS[_0x51a246(0x284)][_0x51a246(0x22c)]['on'](CodeceptJS[_0x51a246(0x284)][_0x51a246(0x1de)][_0x51a246(0x245)],_0x580bcf=>{const _0xb22571=_0x51a246;PerformanceTester[_0xb22571(0x28a)](PerformanceHookEvents[_0xb22571(0x1c8)]);try{globals['setGlobal'](_0x1bc3d5[_0xb22571(0x25d)],_0x580bcf[_0xb22571(0x1e4)]);_0x1bc3d5[_0xb22571(0x262)](isBrowserstackInfra)&&(_0x54cd64&&(global[_0xb22571(0x219)]={'currentTest':{'name':_0x580bcf[_0xb22571(0x1e4)],'testInfo':{'titlePath':_0x580bcf[_0xb22571(0x1ff)]()}}}));const _0x47c049={};_0x47c049[_0xb22571(0x1e6)]=_0x1bc3d5[_0xb22571(0x295)],PerformanceTester[_0xb22571(0x1c2)](PerformanceHookEvents[_0xb22571(0x1c8)],!![],null,_0x47c049);}catch(_0x29e0d9){PerformanceTester['captureError'](_0x29e0d9);const _0x14efad={};_0x14efad['hookType']=_0x1bc3d5[_0xb22571(0x295)],PerformanceTester['end'](PerformanceHookEvents[_0xb22571(0x1c8)],![],_0x29e0d9,_0x14efad);}}),CodeceptJS[_0x51a246(0x284)][_0x51a246(0x22c)]['on'](CodeceptJS[_0x51a246(0x284)][_0x51a246(0x1de)]['started'],_0x2331d2=>{const _0x5689e0=_0x51a246,_0x1e721a={'BDZXM':function(_0x48e407){const _0x32fb8d=a1_0x493e;return _0x1bc3d5[_0x32fb8d(0x1d0)](_0x48e407);},'cfcCB':function(_0x273b82,_0xa06b67){return _0x1bc3d5['hxhAZ'](_0x273b82,_0xa06b67);},'BjAhT':function(_0x48cc42,_0xa7f545,_0x589991){const _0x39b14d=a1_0x493e;return _0x1bc3d5[_0x39b14d(0x26f)](_0x48cc42,_0xa7f545,_0x589991);}};PerformanceTester['start'](PerformanceHookEvents[_0x5689e0(0x1c8)]);try{globals[_0x5689e0(0x291)](_0x1bc3d5[_0x5689e0(0x25d)],_0x2331d2[_0x5689e0(0x1e4)]);const _0x28c192=_0x1d0dd1[_0x5689e0(0x290)](TEST_EVENTS['TEST_RUN_STARTED'],_0x2331d2);CodeceptRecorder['add'](()=>_0x1d0dd1['fireEvent'](TEST_EVENTS[_0x5689e0(0x1db)],_0x28c192)),CodeceptRecorder[_0x5689e0(0x288)](async()=>{const _0x27c0d5=_0x5689e0;_0x1e721a['BDZXM'](isBrowserstackInfra)&&(!_0x1e721a[_0x27c0d5(0x200)](isTrue,_0x1bed47[_0x27c0d5(0x1ca)])&&await _0x1e721a[_0x27c0d5(0x289)](markSessionName,_0x20862a,_0x2331d2[_0x27c0d5(0x1e4)]),_0x1d0dd1[_0x27c0d5(0x1f1)]&&await _0x1e721a[_0x27c0d5(0x200)](o11ySync,_0x20862a));});}catch(_0x1fc9ab){const _0x2d924f={};_0x2d924f[_0x5689e0(0x1e6)]=_0x1bc3d5[_0x5689e0(0x25b)],PerformanceTester[_0x5689e0(0x1c2)](PerformanceHookEvents[_0x5689e0(0x1c8)],![],_0x1fc9ab,_0x2d924f),PerformanceTester[_0x5689e0(0x259)](_0x1fc9ab);}const _0x279ea4={};_0x279ea4[_0x5689e0(0x1e6)]=_0x1bc3d5['AQxhb'],PerformanceTester[_0x5689e0(0x1c2)](PerformanceHookEvents[_0x5689e0(0x1c8)],!![],null,_0x279ea4);}),CodeceptJS[_0x51a246(0x284)]['dispatcher']['on'](CodeceptJS[_0x51a246(0x284)]['test'][_0x51a246(0x1c5)],_0x13df37=>{const _0x24216d=_0x51a246,_0x563e7b={'Dplda':function(_0x5a4330,_0xe667e,_0x1f2512){const _0x292be8=a1_0x493e;return _0x1bc3d5[_0x292be8(0x26f)](_0x5a4330,_0xe667e,_0x1f2512);},'AhJwu':function(_0x527de9,_0x458ca1,_0x35f2a3){const _0x5ced90=a1_0x493e;return _0x1bc3d5[_0x5ced90(0x1f4)](_0x527de9,_0x458ca1,_0x35f2a3);},'NLYUj':function(_0x3fc34c){const _0x22032e=a1_0x493e;return _0x1bc3d5[_0x22032e(0x24f)](_0x3fc34c);}};PerformanceTester[_0x24216d(0x28a)](PerformanceHookEvents[_0x24216d(0x1c8)]);try{const _0x34fb36=_0x1d0dd1['captureEvent'](TEST_EVENTS[_0x24216d(0x1ee)],_0x13df37);CodeceptRecorder[_0x24216d(0x288)](()=>_0x1d0dd1[_0x24216d(0x24b)](TEST_EVENTS[_0x24216d(0x1ee)],_0x34fb36)),CodeceptRecorder[_0x24216d(0x288)](async()=>{const _0xd0eb5f=_0x24216d;_0x563e7b[_0xd0eb5f(0x1f0)](isBrowserstackInfra)&&await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0xd0eb5f(0x269)],async()=>{const _0x38c1a0=_0xd0eb5f;_0x54cd64?await _0x563e7b[_0x38c1a0(0x24e)](playwrightMarkSessionStatus,_0x20862a,STATE_PASSED):await _0x563e7b[_0x38c1a0(0x26d)](markSessionStatus,_0x20862a,STATE_PASSED);})();}),PerformanceTester[_0x24216d(0x1c2)](PerformanceEvents[_0x24216d(0x242)]);}catch(_0x266462){PerformanceTester['captureError'](_0x266462);const _0x42e255={};_0x42e255[_0x24216d(0x1e6)]=_0x1bc3d5['GKnHv'],PerformanceTester[_0x24216d(0x1c2)](PerformanceHookEvents[_0x24216d(0x1c8)],![],_0x266462,_0x42e255),PerformanceTester[_0x24216d(0x1c2)](PerformanceEvents[_0x24216d(0x242)],![],_0x266462);}const _0x498a7c={};_0x498a7c[_0x24216d(0x1e6)]=_0x1bc3d5['GKnHv'],PerformanceTester[_0x24216d(0x1c2)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x498a7c);}),CodeceptJS[_0x51a246(0x284)][_0x51a246(0x22c)]['on'](CodeceptJS[_0x51a246(0x284)]['test'][_0x51a246(0x26b)],(_0x2ff472,_0x2afdaa)=>{const _0xb1785e=_0x51a246;PerformanceTester[_0xb1785e(0x28a)](PerformanceHookEvents[_0xb1785e(0x1c8)]);try{if(_0x1bc3d5[_0xb1785e(0x201)](_0x2ff472['constructor']['name'],_0x1bc3d5[_0xb1785e(0x210)])){const _0x51f799=_0x1d0dd1[_0xb1785e(0x290)](TEST_EVENTS[_0xb1785e(0x294)],_0x2ff472['ctx'][_0xb1785e(0x26a)]);CodeceptRecorder[_0xb1785e(0x288)](()=>_0x1d0dd1[_0xb1785e(0x24b)](TEST_EVENTS[_0xb1785e(0x294)],_0x51f799));}else{const _0x40ca50=_0x1d0dd1['captureEvent'](TEST_EVENTS[_0xb1785e(0x1ee)],_0x2ff472,_0x2afdaa);CodeceptRecorder['add'](()=>{const _0x23889e=_0xb1785e;try{_0x1d0dd1[_0x23889e(0x24b)](TEST_EVENTS[_0x23889e(0x1ee)],_0x40ca50);}catch(_0x9cd3d1){logger[_0x23889e(0x1f8)](_0x23889e(0x271)+util[_0x23889e(0x283)](_0x9cd3d1)),PerformanceTester[_0x23889e(0x1c2)](PerformanceEvents[_0x23889e(0x242)],![],_0x9cd3d1);}}),CodeceptRecorder[_0xb1785e(0x288)](async()=>{const _0x3307d7=_0xb1785e;try{_0x1bc3d5[_0x3307d7(0x1d1)](isBrowserstackInfra)&&(_0x54cd64?await _0x1bc3d5['mTBdl'](playwrightMarkSessionStatus,_0x20862a,STATE_FAILED,_0x2afdaa):await _0x1bc3d5[_0x3307d7(0x1f5)](markSessionStatus,_0x20862a,STATE_FAILED,_0x2afdaa));}catch(_0x111a2f){logger[_0x3307d7(0x1f8)]('Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20'+util[_0x3307d7(0x283)](_0x111a2f)),PerformanceTester[_0x3307d7(0x1c2)](PerformanceEvents[_0x3307d7(0x242)],![],_0x111a2f);}});}PerformanceTester[_0xb1785e(0x1c2)](PerformanceEvents[_0xb1785e(0x242)]);}catch(_0x5667b9){PerformanceTester['captureError'](_0x5667b9);const _0x2296bf={};_0x2296bf[_0xb1785e(0x1e6)]=_0x1bc3d5[_0xb1785e(0x1df)],PerformanceTester[_0xb1785e(0x1c2)](PerformanceHookEvents['SDK_HOOK'],![],_0x5667b9,_0x2296bf),PerformanceTester['end'](PerformanceEvents['SDK_TEST'],![],_0x5667b9);}const _0x4b9934={};_0x4b9934['hookType']=_0x1bc3d5[_0xb1785e(0x1df)],PerformanceTester[_0xb1785e(0x1c2)](PerformanceHookEvents[_0xb1785e(0x1c8)],!![],null,_0x4b9934);}),CodeceptJS[_0x51a246(0x284)][_0x51a246(0x22c)]['on'](CodeceptJS['event']['test'][_0x51a246(0x1c4)],_0x3917bb=>{const _0x1091c0=_0x51a246;PerformanceTester[_0x1091c0(0x28a)](PerformanceHookEvents[_0x1091c0(0x1c8)]);try{const _0x2bde51=_0x1d0dd1[_0x1091c0(0x290)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x3917bb);CodeceptRecorder[_0x1091c0(0x288)](()=>_0x1d0dd1['fireEvent'](TEST_EVENTS[_0x1091c0(0x294)],_0x2bde51)),PerformanceTester[_0x1091c0(0x1c2)](PerformanceEvents[_0x1091c0(0x242)]);}catch(_0x3ea597){PerformanceTester[_0x1091c0(0x259)](_0x3ea597),PerformanceTester[_0x1091c0(0x1c2)](PerformanceEvents[_0x1091c0(0x242)],![],_0x3ea597);const _0x1503e9={};_0x1503e9[_0x1091c0(0x1e6)]=_0x1bc3d5[_0x1091c0(0x273)],PerformanceTester[_0x1091c0(0x1c2)](PerformanceHookEvents[_0x1091c0(0x1c8)],![],_0x3ea597,_0x1503e9);}const _0x495419={};_0x495419[_0x1091c0(0x1e6)]=_0x1bc3d5[_0x1091c0(0x273)],PerformanceTester[_0x1091c0(0x1c2)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x495419);}),CodeceptJS[_0x51a246(0x284)]['dispatcher']['on'](CodeceptJS['event']['test']['after'],async(_0x52543c,_0x135341)=>{const _0x5c02e5=_0x51a246,_0x244252={};_0x244252['KuhEI']=_0x1bc3d5['gPIhH'];const _0x3a2c1c=_0x244252;try{PerformanceTester[_0x5c02e5(0x28a)](PerformanceHookEvents[_0x5c02e5(0x1c8)]);const _0x4e7be4=_0x1bc3d5[_0x5c02e5(0x23d)](shouldScanTestForAccessibility,_0x52543c[_0x5c02e5(0x1ff)](),!![]);if(_0x1bc3d5[_0x5c02e5(0x1d4)](isAccessibilityAutomationSession)&&global['accessibilityPlatform']&&_0x4e7be4){const _0x216d23={};_0x216d23[_0x5c02e5(0x1e7)]=_0x52543c['testAnalyticsId'],_0x216d23[_0x5c02e5(0x221)]=process[_0x5c02e5(0x235)][testHubConstants['ENV_VAR'][_0x5c02e5(0x237)]],_0x216d23[_0x5c02e5(0x1b7)]=process['env'][testHubConstants[_0x5c02e5(0x27a)][_0x5c02e5(0x26c)]];const _0x1c65e3=_0x216d23;logger[_0x5c02e5(0x1f8)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x5c02e5(0x280)](_0x1c65e3)),CodeceptRecorder[_0x5c02e5(0x288)](async()=>{const _0x434364=_0x5c02e5,_0x395949={};_0x395949[_0x434364(0x1bf)]=_0x3a2c1c[_0x434364(0x1da)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x309724=_0x434364;await AccessibilityHelper[_0x309724(0x218)](_0x20862a,scripts[_0x309724(0x236)]);},_0x395949)(),await PerformanceTester[_0x434364(0x27e)](PerformanceA11yEvents[_0x434364(0x209)],async()=>{await AccessibilityHelper['browserStackExecuteDriver'](_0x20862a,scripts['saveTestResults'],_0x1c65e3);})();}),logger[_0x5c02e5(0x1f7)](_0x1bc3d5[_0x5c02e5(0x276)]);}const _0x50ec3d={};_0x50ec3d[_0x5c02e5(0x1e6)]=_0x1bc3d5[_0x5c02e5(0x27b)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x50ec3d);}catch(_0x109d4f){PerformanceTester[_0x5c02e5(0x259)](_0x109d4f);const _0x51d82e={};_0x51d82e[_0x5c02e5(0x1e6)]=_0x1bc3d5[_0x5c02e5(0x27b)],PerformanceTester[_0x5c02e5(0x1c2)](PerformanceHookEvents[_0x5c02e5(0x1c8)],![],_0x109d4f,_0x51d82e);}}),CodeceptJS[_0x51a246(0x284)][_0x51a246(0x22c)]['on'](CodeceptJS[_0x51a246(0x284)][_0x51a246(0x225)][_0x51a246(0x265)],_0x43d32e=>{const _0x3e1b89=_0x51a246;PerformanceTester[_0x3e1b89(0x28a)](PerformanceHookEvents['SDK_HOOK']);try{process[_0x3e1b89(0x1bd)](_0x3e1b89(0x21c)+process[_0x3e1b89(0x25a)],{'timestamp':new Date()[_0x3e1b89(0x241)](),'level':_0x1bc3d5['dMNqW'],'message':_0x43d32e,'kind':_0x1bc3d5[_0x3e1b89(0x282)],'http_response':{}});}catch(_0x50d281){PerformanceTester['captureError'](_0x50d281);const _0x34b338={};_0x34b338[_0x3e1b89(0x1e6)]=_0x1bc3d5['xSJeW'],PerformanceTester['end'](PerformanceHookEvents[_0x3e1b89(0x1c8)],![],_0x50d281,_0x34b338);}const _0x49681c={};_0x49681c[_0x3e1b89(0x1e6)]=_0x1bc3d5[_0x3e1b89(0x254)],PerformanceTester[_0x3e1b89(0x1c2)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x49681c);}),CodeceptJS[_0x51a246(0x284)][_0x51a246(0x22c)]['on'](CodeceptJS[_0x51a246(0x284)][_0x51a246(0x258)][_0x51a246(0x245)],_0x2e63a5=>{const _0x43cc07=_0x51a246,_0x5ca2ba={};_0x5ca2ba[_0x43cc07(0x1e6)]=_0x1bc3d5[_0x43cc07(0x214)],PerformanceTester['measureWrapper'](PerformanceHookEvents[_0x43cc07(0x1c8)],()=>{_0x1d0dd1['bddStepStart'](_0x2e63a5);},_0x5ca2ba)();}),CodeceptJS[_0x51a246(0x284)][_0x51a246(0x22c)]['on'](CodeceptJS['event']['bddStep']['after'],_0x54681e=>{const _0x4da19a=_0x51a246,_0x79b7aa={};_0x79b7aa[_0x4da19a(0x1e6)]=_0x1bc3d5[_0x4da19a(0x275)],PerformanceTester[_0x4da19a(0x27e)](PerformanceHookEvents[_0x4da19a(0x1c8)],()=>{_0x1d0dd1['bddStepFinish'](_0x54681e);},_0x79b7aa)();});};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a2_0x26beb9=a2_0x16ba;(function(_0x2f8a72,_0x4b0055){const _0x5e055b=a2_0x16ba,_0x4c294c=_0x2f8a72();while(!![]){try{const _0x189653=-parseInt(_0x5e055b(0x1ba))/0x1+parseInt(_0x5e055b(0x1b8))/0x2*(parseInt(_0x5e055b(0x196))/0x3)+parseInt(_0x5e055b(0x1ca))/0x4*(-parseInt(_0x5e055b(0x140))/0x5)+-parseInt(_0x5e055b(0x1dc))/0x6+parseInt(_0x5e055b(0x1c6))/0x7+parseInt(_0x5e055b(0x1b6))/0x8*(-parseInt(_0x5e055b(0x1de))/0x9)+-parseInt(_0x5e055b(0x159))/0xa*(-parseInt(_0x5e055b(0x1d7))/0xb);if(_0x189653===_0x4b0055)break;else _0x4c294c['push'](_0x4c294c['shift']());}catch(_0x5683c2){_0x4c294c['push'](_0x4c294c['shift']());}}}(a2_0x4b70,0x7baee));const fs=require('fs'),path=require('path'),util=require(a2_0x26beb9(0x189)),process=require(a2_0x26beb9(0x15b)),logger=require(a2_0x26beb9(0x181))[a2_0x26beb9(0x158)],{default:BrowserStackSetup}=require(a2_0x26beb9(0x1ae)),helper=require(a2_0x26beb9(0x16f)),utilities=require(a2_0x26beb9(0x1e3)),{checkAccessibilityPlatformConfig}=require(a2_0x26beb9(0x16b)),{setAccessibilityCapabilities}=require('../../bin/playwright/accessibility-helper'),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x26beb9(0x16f)),CodeceptJS=requireModule(a2_0x26beb9(0x169),a2_0x26beb9(0x1cf)),testOpsHelper=require(a2_0x26beb9(0x149)),TestHubHandler=require(a2_0x26beb9(0x19d)),constants=require(a2_0x26beb9(0x188)),PerformanceTester=require(a2_0x26beb9(0x1b1)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),PerformanceEvents=require(a2_0x26beb9(0x17e))[a2_0x26beb9(0x185)],_testErrorData=[],getUserCodeceptJSConfigs=(_0x202564,_0x2cc0a8)=>{const _0x407efb=a2_0x26beb9,_0x5ee98f={};_0x5ee98f[_0x407efb(0x1bb)]=function(_0x3df4c2,_0x2cc277){return _0x3df4c2===_0x2cc277;},_0x5ee98f[_0x407efb(0x193)]='codecept.conf.js',_0x5ee98f[_0x407efb(0x13e)]=_0x407efb(0x172);const _0x30f9a7=_0x5ee98f;let _0x15ba61=null;const _0x322e50={};let _0x41a6e8=_0x2cc0a8['findIndex'](_0x9b2323=>_0x9b2323===_0x407efb(0x1a0));_0x30f9a7[_0x407efb(0x1bb)](_0x41a6e8,-0x1)&&(_0x41a6e8=_0x2cc0a8[_0x407efb(0x182)](_0xe612c0=>_0xe612c0==='-c'));if(!helper['isUndefined'](_0x202564[_0x407efb(0x156)])&&fs[_0x407efb(0x17c)](path[_0x407efb(0x144)](process[_0x407efb(0x1b2)](),_0x202564[_0x407efb(0x156)])))_0x15ba61=path[_0x407efb(0x144)](process[_0x407efb(0x1b2)](),_0x202564[_0x407efb(0x156)]),_0x2cc0a8[_0x407efb(0x1cc)](_0x41a6e8,0x2);else{if(!helper['isUndefined'](_0x202564['c'])&&fs[_0x407efb(0x17c)](path[_0x407efb(0x144)](process[_0x407efb(0x1b2)](),_0x202564['c'])))_0x15ba61=path['join'](process[_0x407efb(0x1b2)](),_0x202564['c']),_0x2cc0a8[_0x407efb(0x1cc)](_0x41a6e8,0x2);else{if(fs['existsSync'](path[_0x407efb(0x144)](process[_0x407efb(0x1b2)](),_0x30f9a7[_0x407efb(0x193)])))_0x15ba61=path[_0x407efb(0x144)](process['cwd'](),_0x30f9a7['NdWNq']);else fs[_0x407efb(0x17c)](path[_0x407efb(0x144)](process[_0x407efb(0x1b2)](),_0x30f9a7[_0x407efb(0x13e)]))&&(_0x15ba61=path[_0x407efb(0x144)](process['cwd'](),_0x30f9a7[_0x407efb(0x13e)]));}}return process['env'][_0x407efb(0x1c9)]=_0x15ba61,_0x15ba61;},getO11yRerunPattern=()=>{const _0x57ec2e=a2_0x26beb9,_0x422cd4=helper[_0x57ec2e(0x166)](process['env'][_0x57ec2e(0x174)]);if(_0x422cd4){const _0x4b66a7=process['env'][_0x57ec2e(0x1bc)],_0x199857=[];if(helper[_0x57ec2e(0x1c0)](_0x4b66a7)&&!helper[_0x57ec2e(0x1c1)](_0x4b66a7)){_0x4b66a7['split'](',')['map'](_0x4e2c32=>{const _0x14757e=_0x57ec2e;_0x199857[_0x14757e(0x13f)]('('+_0x4e2c32[_0x14757e(0x17a)]()+')');});const _0x600d63='^'+_0x199857['join']('|')+'$';return _0x600d63;}}return null;},a2_0x166c77={};a2_0x166c77[a2_0x26beb9(0x14b)]='chromium',a2_0x166c77[a2_0x26beb9(0x1e4)]=a2_0x26beb9(0x1bf),a2_0x166c77[a2_0x26beb9(0x199)]=a2_0x26beb9(0x1db),a2_0x166c77[a2_0x26beb9(0x1dd)]=a2_0x26beb9(0x16a);const pwToCodeceptBrowser=a2_0x166c77;function a2_0x16ba(_0x237d16,_0x303ff6){const _0x4b708e=a2_0x4b70();return a2_0x16ba=function(_0x16ba18,_0x1d8b95){_0x16ba18=_0x16ba18-0x13d;let _0x5735b9=_0x4b708e[_0x16ba18];return _0x5735b9;},a2_0x16ba(_0x237d16,_0x303ff6);}function a2_0x4b70(){const _0x35a2d1=['YjdMD','cxpzm','push','5VVKkJb','mvQlM','browser','nENSX','join','all','KtHTy','helpers','end','../../helpers/test-observability/utils','forEach','chrome','jOoqL','load','err','validPlatformsPresent','CODECEPT_CUCUMBER','prepareCapabilities','browserWSEndpoint','platforms','test','errorMessage','config','mergeDeep','winstonLogger','412410FmKDTc','profile','process','Started\x20:\x20','result','teardownAll','CODECEPT','getUserWorkerCount','passed','VTGLB','testContextOptions','Slirr','Workers','isTrue','bootstrapAll','key','codeceptjs/lib/index.js','webkit','../../helpers/accessibility-automation/helper','log','initialize','DZukG','../../helpers/helper','dmiOL','XrdvK','codecept.json','mqyqT','BROWSERSTACK_RERUN','path','enabled','addOptions','gNYrP','isTestObservabilitySession','trim','assign','existsSync','user','../../helpers/performance/constants','accessibility','spawn','../../helpers/logger','findIndex','launchBuild','stop','EVENTS','FZmMZ','parallelsPerPlatform','../utils/constants','util','ACIDl','Playwright','addTests','browserName','desiredCapabilities','env','QlubM','wnDzK','gherkin','NdWNq','ODLot','useW3C','12liTLiH','BROWSERSTACK_TEST_ACCESSIBILITY_YML','map','playwright-firefox','format','Frwlt','BROWSERSTACK_TEST_OBSERVABILITY_YML','../../helpers/testhub/testhubHandler','plugins','toLowerCase','--config','setAdditionalCapabilities','createGroupsOfSuites','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','info','accessKey','WebDriver','title','finalExecution','now','getPlatformName','host','FRAMEWORKS','KcpcE','../../helpers/BrowserStackSetup','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','handleApp','../../helpers/performance/performance-tester','cwd','run','testObservability','dTltW','664DxRyml','dOSdf','206216QCjLCT','kwCrJ','669752itafAH','jjuJo','BROWSERSTACK_RERUN_TESTS','start','skipSessionStatus','chromium','validateRerunTestList','isUndefined','printResults','failed','printBuildLink','debug','3840963ClPudb','replace','getPlaywrightUrl','USER_CONFIG_DETAILS_PATH','1334420IeqxgJ','frameworkName','slice','hubUrl','FdzAb','codeceptjs','skipSessionName','before','BrowserStackPlugin.js','VeBXU','event','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','Passed\x20:\x20','473zrzMzM','pJbRB','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','addConfig','firefox','5984220oEVOGT','playwright-webkit','24633algkef','oZZin','stringify','split','root','../../helpers/utilities','playwright-chromium'];a2_0x4b70=function(){return _0x35a2d1;};return a2_0x4b70();}async function run(_0x42e60b,_0xc4ddf6,_0x40b607){const _0x35dc3b=a2_0x26beb9,_0x22361f={'ydAkK':function(_0x368a10,_0x40a954){return _0x368a10+_0x40a954;},'mqyqT':function(_0x2e45f8,_0x34f04a){return _0x2e45f8(_0x34f04a);},'KkiMV':function(_0x24153b,_0x5d4399){return _0x24153b+_0x5d4399;},'ACIDl':function(_0x281594,_0x54f38d,_0x1f47e1){return _0x281594(_0x54f38d,_0x1f47e1);},'dOSdf':_0x35dc3b(0x147),'Slirr':function(_0x4521f4){return _0x4521f4();},'pJbRB':'/wd/hub','QlubM':function(_0x29da8e){return _0x29da8e();},'wnDzK':function(_0x504864){return _0x504864();},'nENSX':'Failed\x20:\x20','YjdMD':_0x35dc3b(0x1d6),'FZmMZ':_0x35dc3b(0x15c),'VeBXU':'1|0|2|5|3|4','DZukG':_0x35dc3b(0x1d9),'Frwlt':_0x35dc3b(0x18b),'VTGLB':'WebDriver','nQfnH':function(_0x2ab413,_0x1f6f40){return _0x2ab413!=_0x1f6f40;},'ODLot':function(_0x3abe83,_0x25f47b){return _0x3abe83===_0x25f47b;},'kwCrJ':function(_0x1452d0,_0x49facd,_0x57abd0){return _0x1452d0(_0x49facd,_0x57abd0);},'dTltW':_0x35dc3b(0x192),'KcpcE':function(_0x39082e,_0x35ef19){return _0x39082e(_0x35ef19);},'jOoqL':function(_0x162a22,_0x518c0c){return _0x162a22*_0x518c0c;},'oZZin':function(_0x2db546,_0x58a752,_0x4b0bab){return _0x2db546(_0x58a752,_0x4b0bab);},'XrdvK':_0x35dc3b(0x142),'fyCqv':function(_0x48926f,_0x2a65f8,_0x23ece2){return _0x48926f(_0x2a65f8,_0x23ece2);},'FdzAb':'desiredCapabilities','KtHTy':function(_0x4a5594,_0x2b9261,_0x381f21){return _0x4a5594(_0x2b9261,_0x381f21);},'ixApq':_0x35dc3b(0x1e2),'gNYrP':_0x35dc3b(0x1d2),'mvQlM':'browserStackCwd','dmiOL':function(_0xf7c8e3){return _0xf7c8e3();}};await _0x40b607[_0x35dc3b(0x16d)](_0x42e60b),await helper[_0x35dc3b(0x1b0)](_0x40b607[_0x35dc3b(0x156)]);if(!_0x40b607['config'])return;process[_0x35dc3b(0x15a)]=_0x42e60b[_0x35dc3b(0x15a)];_0x42e60b[_0x35dc3b(0x15a)]&&(process[_0x35dc3b(0x18f)][_0x35dc3b(0x15a)]=_0x42e60b[_0x35dc3b(0x15a)]);const _0x1b2bb9=_0x22361f[_0x35dc3b(0x18a)](getUserCodeceptJSConfigs,_0x42e60b,_0xc4ddf6);let _0xa7b911={};_0x1b2bb9?(logger['info'](_0x35dc3b(0x1a3)+_0x1b2bb9),_0xa7b911=CodeceptJS['config'][_0x35dc3b(0x14d)](_0x1b2bb9)):logger[_0x35dc3b(0x1a4)](_0x22361f[_0x35dc3b(0x16e)]);let _0xfc6690=![];_0x22361f['ACIDl'](nestedKeyValue,_0xa7b911,[_0x22361f[_0x35dc3b(0x1b7)],_0x22361f[_0x35dc3b(0x19b)]])&&(_0xfc6690=!![]);const _0x240fb0=_0xfc6690?_0x22361f[_0x35dc3b(0x19b)]:_0x22361f[_0x35dc3b(0x162)];let _0x3e2a70=!_0xfc6690?helper[_0x35dc3b(0x195)](_0x40b607['config']):![];!helper[_0x35dc3b(0x1c1)](_0x40b607['config']['accessibilityOptions'])&&(process[_0x35dc3b(0x18f)][_0x35dc3b(0x1d5)]=JSON[_0x35dc3b(0x1e0)](_0x40b607[_0x35dc3b(0x156)]['accessibilityOptions']));let _0x1c8442=_0x40b607[_0x35dc3b(0x156)][_0x35dc3b(0x17f)];_0x1c8442=_0x1c8442||_0x22361f[_0x35dc3b(0x173)](checkAccessibilityPlatformConfig,_0x40b607[_0x35dc3b(0x156)]),process[_0x35dc3b(0x18f)][_0x35dc3b(0x197)]=_0x1c8442;_0x1c8442&&(_0x3e2a70=!_0x1c8442);_0x22361f['nQfnH'](_0x40b607['config'][_0x35dc3b(0x1b4)],null)?process['env'][_0x35dc3b(0x19c)]=_0x40b607[_0x35dc3b(0x156)]['testObservability']:process['env'][_0x35dc3b(0x19c)]=_0x22361f[_0x35dc3b(0x194)](_0x240fb0,_0x22361f[_0x35dc3b(0x19b)]);const _0x39e1cf=_0x22361f[_0x35dc3b(0x1b9)](nestedKeyValue,_0xa7b911,[_0x22361f[_0x35dc3b(0x1b5)]]),_0x54088b=_0x39e1cf&&!helper['isEmpty'](_0x39e1cf)?FRAMEWORKS[_0x35dc3b(0x150)]:FRAMEWORKS['CODECEPT'],_0x4a5416=await TestHubHandler[_0x35dc3b(0x183)](_0x54088b,_0x40b607);_0x1c8442&&_0x22361f[_0x35dc3b(0x1ad)](setAccessibilityCapabilities,_0x40b607[_0x35dc3b(0x156)]);const _0xb96fb={},_0x359407=[],_0x42678b=_0x40b607[_0x35dc3b(0x156)][_0x35dc3b(0x187)]||helper[_0x35dc3b(0x160)](_0x42e60b,_0xc4ddf6,_0x40b607['config'],constants['FRAMEWORKS'][_0x35dc3b(0x15f)])||0x1;let _0x3bedc9=0x1;if(_0x22361f[_0x35dc3b(0x190)](isBrowserstackInfra)){const _0x49588e=helper['prepareCapabilities'](_0x40b607[_0x35dc3b(0x156)],_0x3e2a70,constants[_0x35dc3b(0x1ac)][_0x35dc3b(0x15f)]);_0x49588e[_0x35dc3b(0x14a)](_0x19cc0e=>{const _0x2c43e8=_0x35dc3b;helper[_0x2c43e8(0x1a1)](_0x19cc0e);}),helper[_0x35dc3b(0x14f)](_0x40b607[_0x35dc3b(0x156)])?_0x3bedc9=_0x22361f[_0x35dc3b(0x14c)](_0x42678b,_0x40b607[_0x35dc3b(0x156)][_0x35dc3b(0x153)]['length']):_0x3bedc9=_0x42678b,_0x49588e['forEach'](_0x81ea51=>{const _0x20bda2=_0x35dc3b,_0x409b00=_0x22361f['KkiMV'](helper[_0x20bda2(0x1aa)](_0x81ea51,'_'),'_'+Date[_0x20bda2(0x1a9)]()),_0x1c3651=((()=>{const _0x3facad=_0x20bda2;if(_0xfc6690){const _0x59408a=pwToCodeceptBrowser[_0x81ea51[_0x3facad(0x18d)]]||_0x81ea51['browserName'];return{'browser':_0x59408a,[_0x59408a]:{'browserWSEndpoint':_0x22361f['ydAkK'](helper[_0x3facad(0x1c8)](_0x40b607[_0x3facad(0x156)]),_0x22361f['mqyqT'](encodeURIComponent,JSON[_0x3facad(0x1e0)](_0x81ea51)))}};}const _0x3b61dd={};return _0x3b61dd[_0x3facad(0x18e)]=_0x81ea51,_0x3b61dd[_0x3facad(0x17d)]=_0x40b607[_0x3facad(0x156)]['userName'],_0x3b61dd[_0x3facad(0x168)]=_0x40b607[_0x3facad(0x156)][_0x3facad(0x1a5)],_0x3b61dd;})()),_0x167a84=_0x22361f[_0x20bda2(0x18a)](nestedKeyValue,_0xa7b911,[_0x22361f[_0x20bda2(0x1b7)],_0x240fb0]);_0xb96fb[_0x409b00]=_0x167a84?helper[_0x20bda2(0x157)](_0x1c3651,_0x167a84):_0x1c3651;if(!_0xfc6690){_0xb96fb[_0x409b00][_0x20bda2(0x142)]=_0x81ea51[_0x20bda2(0x18d)]||_0x1c3651[_0x20bda2(0x142)];if(_0x22361f[_0x20bda2(0x164)](isBrowserstackInfra)){_0xb96fb[_0x409b00][_0x20bda2(0x1ab)]=constants[_0x20bda2(0x1cd)][_0x20bda2(0x1c7)](_0x22361f[_0x20bda2(0x1d8)],'')[_0x20bda2(0x1c7)](/https?:\/\//,'');;_0xb96fb[_0x409b00][_0x20bda2(0x175)]=_0x22361f['pJbRB'];}}_0x359407[_0x20bda2(0x13f)](_0x409b00);});}else{_0x3bedc9=0x1;if(_0xfc6690){const _0x532d63=_0x22361f[_0x35dc3b(0x1df)](nestedKeyValue,_0xa7b911,[_0x22361f['dOSdf'],_0x240fb0,_0x22361f[_0x35dc3b(0x171)]]),_0x18c21f=_0x22361f['fyCqv'](nestedKeyValue,_0xa7b911,[_0x22361f['dOSdf'],_0x240fb0,_0x532d63]);if(_0x18c21f&&_0x18c21f['browserWSEndpoint']){const _0x5adafa={};_0x5adafa[_0x35dc3b(0x153)]=[],_0x18c21f[_0x35dc3b(0x152)]=helper[_0x35dc3b(0x151)](Object[_0x35dc3b(0x17b)]({},_0x40b607[_0x35dc3b(0x156)],_0x5adafa),null,_0x54088b[_0x35dc3b(0x19f)](),null,null,_0x18c21f[_0x35dc3b(0x152)]);}}else{const _0x2f9fa6={};_0x2f9fa6['platforms']=[],_0xa7b911[_0x22361f[_0x35dc3b(0x1b7)]][_0x240fb0][_0x22361f['FdzAb']]=helper[_0x35dc3b(0x151)](Object[_0x35dc3b(0x17b)]({},_0x40b607[_0x35dc3b(0x156)],_0x2f9fa6),null,_0x54088b[_0x35dc3b(0x19f)](),_0x22361f[_0x35dc3b(0x146)](nestedKeyValue,_0xa7b911,[_0x22361f[_0x35dc3b(0x1b7)],_0x240fb0,_0x22361f[_0x35dc3b(0x1ce)]])||{},null,null);}_0xb96fb[_0x22361f['ixApq']]=_0xa7b911,_0x359407[_0x35dc3b(0x13f)](_0x22361f['ixApq']);}const _0x539d7d={};_0x539d7d['testConfig']=_0x1b2bb9;const _0x1f6308=_0x539d7d,_0x2ac662=path[_0x35dc3b(0x144)](__dirname,_0x22361f[_0x35dc3b(0x178)]),_0x48294c=process[_0x35dc3b(0x1b2)]();process['env'][_0x22361f[_0x35dc3b(0x141)]]=_0x48294c,process['chdir'](path['dirname'](_0x1b2bb9));const _0x881498=new CodeceptJS[(_0x35dc3b(0x165))](null,_0x1f6308),_0x5712e8=_0x881498[_0x35dc3b(0x1a2)](_0x3bedc9),_0x330a8c=testOpsHelper[_0x35dc3b(0x179)](),_0x2d3d82=_0x359407[_0x35dc3b(0x198)](_0x2b0f41=>{const _0x493bc8=_0x35dc3b,_0x2bebe4={};_0x2bebe4['Playwright']=_0xb96fb[_0x2b0f41];const _0x22eb94={};_0x22eb94[_0x493bc8(0x1a6)]=_0xb96fb[_0x2b0f41];const _0x21f6c2=_0xfc6690?_0x2bebe4:_0x22eb94,_0xd33e15=_0x22361f['QlubM'](getO11yRerunPattern),_0x12d2f6={};_0x12d2f6[_0x493bc8(0x147)]=_0x21f6c2;const _0x29d741={};_0x29d741['require']=_0x2ac662,_0x29d741[_0x493bc8(0x176)]=!![],_0x29d741['skipSessionName']=_0x40b607[_0x493bc8(0x156)][_0x493bc8(0x163)][_0x493bc8(0x1d0)],_0x29d741[_0x493bc8(0x1be)]=_0x40b607[_0x493bc8(0x156)][_0x493bc8(0x163)][_0x493bc8(0x1be)],_0x29d741['testObservability']=_0x330a8c,_0x29d741[_0x493bc8(0x1cb)]=_0x54088b;const _0x1820c8={};_0x1820c8['BrowserStackPlugin']=_0x29d741;const _0x363cfc={};return _0x363cfc[_0x493bc8(0x19e)]=_0x1820c8,helper[_0x493bc8(0x157)]({},_0xa7b911,_0x22361f[_0x493bc8(0x191)](isBrowserstackInfra)?_0x12d2f6:{},_0xd33e15?{'grep':_0xd33e15}:{},_0x363cfc);});for(const _0x30ad72 of _0x2d3d82){for(const _0x126754 of _0x5712e8){const _0x2dee53=_0x881498[_0x35dc3b(0x180)]();_0x2dee53[_0x35dc3b(0x18c)](_0x126754),_0x2dee53[_0x35dc3b(0x1da)](_0x30ad72);const _0x30acbd={};_0x30acbd['config']=_0x1b2bb9,_0x2dee53[_0x35dc3b(0x177)](_0x30acbd);}}_0x881498['on'](CodeceptJS[_0x35dc3b(0x1d4)]['test'][_0x35dc3b(0x1c3)],(_0x4ebb56,_0x15d031)=>{const _0x324cd1=_0x35dc3b;console[_0x324cd1(0x16c)](_0x22361f[_0x324cd1(0x143)],_0x4ebb56[_0x324cd1(0x1a7)]);const _0x38a6e6={[_0x4ebb56[_0x324cd1(0x1a7)]]:_0x4ebb56[_0x324cd1(0x14e)]['stack']};_testErrorData[_0x324cd1(0x13f)](_0x38a6e6);}),_0x881498['on'](CodeceptJS[_0x35dc3b(0x1d4)][_0x35dc3b(0x154)][_0x35dc3b(0x161)],async _0x5c9400=>{const _0x3e3b61=_0x35dc3b;console[_0x3e3b61(0x16c)](_0x22361f[_0x3e3b61(0x13d)],_0x5c9400[_0x3e3b61(0x1a7)]);}),_0x881498['on'](CodeceptJS[_0x35dc3b(0x1d4)][_0x35dc3b(0x154)][_0x35dc3b(0x1d1)],async _0x5d6cbf=>{const _0x300419=_0x35dc3b;console[_0x300419(0x16c)](_0x22361f[_0x300419(0x186)],_0x5d6cbf[_0x300419(0x1a7)]);}),_0x881498['on'](CodeceptJS[_0x35dc3b(0x1d4)][_0x35dc3b(0x145)][_0x35dc3b(0x15d)],async()=>{const _0x3c1ee3=_0x35dc3b,_0x594001=_0x22361f[_0x3c1ee3(0x1d3)][_0x3c1ee3(0x1e1)]('|');let _0x54eeb7=0x0;while(!![]){switch(_0x594001[_0x54eeb7++]){case'0':_0x40b607[_0x3c1ee3(0x155)]=_testErrorData;continue;case'1':PerformanceTester[_0x3c1ee3(0x1bd)](PerformanceEvents['SDK_CLEANUP']);continue;case'2':testOpsHelper[_0x3c1ee3(0x1c4)]();continue;case'3':try{await TestHubHandler[_0x3c1ee3(0x184)]();}catch(_0x687ce1){logger[_0x3c1ee3(0x1c5)](_0x3c1ee3(0x1af)+util[_0x3c1ee3(0x19a)](_0x687ce1));}continue;case'4':_0x881498[_0x3c1ee3(0x1c2)]();continue;case'5':utilities[_0x3c1ee3(0x1a8)](_0x40b607);continue;}break;}});async function _0x491772(){const _0x2b4424=_0x35dc3b;try{await _0x881498[_0x2b4424(0x167)](),await _0x881498[_0x2b4424(0x1b3)]();}finally{process['chdir'](_0x48294c),await _0x881498[_0x2b4424(0x15e)]();}}PerformanceTester[_0x35dc3b(0x148)](PerformanceEvents['SDK_SETUP']),_0x22361f[_0x35dc3b(0x170)](_0x491772);}module['exports']=run;
2
+ 'use strict';const a2_0x3d60f9=a2_0x5357;(function(_0x2a09ad,_0x5642da){const _0x92543f=a2_0x5357,_0x92cf72=_0x2a09ad();while(!![]){try{const _0x3f62bd=parseInt(_0x92543f(0x1c7))/0x1+parseInt(_0x92543f(0x1d4))/0x2*(-parseInt(_0x92543f(0x170))/0x3)+parseInt(_0x92543f(0x1d9))/0x4*(-parseInt(_0x92543f(0x181))/0x5)+parseInt(_0x92543f(0x172))/0x6+parseInt(_0x92543f(0x177))/0x7*(-parseInt(_0x92543f(0x187))/0x8)+-parseInt(_0x92543f(0x1c8))/0x9+parseInt(_0x92543f(0x1e0))/0xa;if(_0x3f62bd===_0x5642da)break;else _0x92cf72['push'](_0x92cf72['shift']());}catch(_0x4db7c2){_0x92cf72['push'](_0x92cf72['shift']());}}}(a2_0x2947,0x263ac));function a2_0x5357(_0x2aca23,_0x392012){const _0x294726=a2_0x2947();return a2_0x5357=function(_0x53574d,_0x2d4976){_0x53574d=_0x53574d-0x15f;let _0x278ab2=_0x294726[_0x53574d];return _0x278ab2;},a2_0x5357(_0x2aca23,_0x392012);}const fs=require('fs'),path=require('path'),util=require(a2_0x3d60f9(0x194)),process=require(a2_0x3d60f9(0x1c5)),logger=require(a2_0x3d60f9(0x1a9))[a2_0x3d60f9(0x168)],{default:BrowserStackSetup}=require(a2_0x3d60f9(0x18a)),helper=require('../../helpers/helper'),utilities=require('../../helpers/utilities'),{checkAccessibilityPlatformConfig}=require(a2_0x3d60f9(0x1eb)),{setAccessibilityCapabilities}=require(a2_0x3d60f9(0x167)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x3d60f9(0x1b0)),CodeceptJS=requireModule(a2_0x3d60f9(0x1b2),a2_0x3d60f9(0x19c)),testOpsHelper=require(a2_0x3d60f9(0x178)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),constants=require(a2_0x3d60f9(0x1be)),PerformanceTester=require('../../helpers/performance/performance-tester'),{FRAMEWORKS}=require(a2_0x3d60f9(0x16e)),PerformanceEvents=require('../../helpers/performance/constants')[a2_0x3d60f9(0x1b4)],_testErrorData=[],getUserCodeceptJSConfigs=(_0xd8a7d7,_0x3a1cf4)=>{const _0x1941bb=a2_0x3d60f9,_0xc6049f={};_0xc6049f[_0x1941bb(0x179)]=function(_0x456ab9,_0x38bf26){return _0x456ab9===_0x38bf26;},_0xc6049f[_0x1941bb(0x192)]='codecept.conf.js',_0xc6049f[_0x1941bb(0x16b)]='codecept.json';const _0xbd0a6=_0xc6049f;let _0x30eef7=null;const _0x385252={};let _0x1a636e=_0x3a1cf4[_0x1941bb(0x160)](_0x3f0467=>_0x3f0467==='--config');_0xbd0a6[_0x1941bb(0x179)](_0x1a636e,-0x1)&&(_0x1a636e=_0x3a1cf4[_0x1941bb(0x160)](_0xdf9c85=>_0xdf9c85==='-c'));if(!helper['isUndefined'](_0xd8a7d7[_0x1941bb(0x1bd)])&&fs['existsSync'](path['join'](process[_0x1941bb(0x1ca)](),_0xd8a7d7['config'])))_0x30eef7=path[_0x1941bb(0x1ef)](process[_0x1941bb(0x1ca)](),_0xd8a7d7['config']),_0x3a1cf4[_0x1941bb(0x17a)](_0x1a636e,0x2);else{if(!helper[_0x1941bb(0x1cd)](_0xd8a7d7['c'])&&fs[_0x1941bb(0x1a8)](path[_0x1941bb(0x1ef)](process['cwd'](),_0xd8a7d7['c'])))_0x30eef7=path[_0x1941bb(0x1ef)](process[_0x1941bb(0x1ca)](),_0xd8a7d7['c']),_0x3a1cf4[_0x1941bb(0x17a)](_0x1a636e,0x2);else{if(fs[_0x1941bb(0x1a8)](path['join'](process[_0x1941bb(0x1ca)](),_0xbd0a6[_0x1941bb(0x192)])))_0x30eef7=path[_0x1941bb(0x1ef)](process[_0x1941bb(0x1ca)](),_0xbd0a6[_0x1941bb(0x192)]);else fs[_0x1941bb(0x1a8)](path['join'](process[_0x1941bb(0x1ca)](),_0xbd0a6[_0x1941bb(0x16b)]))&&(_0x30eef7=path[_0x1941bb(0x1ef)](process[_0x1941bb(0x1ca)](),_0xbd0a6[_0x1941bb(0x16b)]));}}return process['env'][_0x1941bb(0x169)]=_0x30eef7,_0x30eef7;},getO11yRerunPattern=()=>{const _0x1b68f7=a2_0x3d60f9,_0x5a20a4=helper['isTrue'](process[_0x1b68f7(0x182)][_0x1b68f7(0x19b)]);if(_0x5a20a4){const _0x4784e8=process[_0x1b68f7(0x182)][_0x1b68f7(0x1cc)],_0x5e1251=[];if(helper[_0x1b68f7(0x1ec)](_0x4784e8)&&!helper['isUndefined'](_0x4784e8)){_0x4784e8[_0x1b68f7(0x17f)](',')['map'](_0x45630c=>{const _0x20460e=_0x1b68f7;_0x5e1251[_0x20460e(0x18f)]('('+_0x45630c[_0x20460e(0x1cb)]()+')');});const _0x1dde68='^'+_0x5e1251['join']('|')+'$';return _0x1dde68;}}return null;},a2_0x1d000e={};function a2_0x2947(){const _0x476d73=['validateRerunTestList','load','Nqtqd','join','Started\x20:\x20','forEach','mHILL','addTests','findIndex','toLowerCase','dirname','parallelsPerPlatform','VDUuW','isEmpty','require','../../bin/playwright/accessibility-helper','winstonLogger','USER_CONFIG_DETAILS_PATH','KKWsx','HuRby','bWKTi','debug','../../helpers/test-observability/constants','length','9xxqwdB','test','225966myanKi','YoMzY','userName','CODECEPT','hubUrl','63jzLzFV','../../helpers/test-observability/utils','Oirpz','slice','IGBHN','wKrML','Lpeaa','SDK_SETUP','split','bFygN','10tndMrp','env','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','browserStackCwd','helpers','accessKey','13576ZawFGd','GcoFH','host','../../helpers/BrowserStackSetup','handleApp','spawn','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','chdir','push','Ffzfl','WLUTg','bWPWR','browserName','util','prepareCapabilities','run','WebDriver','testConfig','replace','format','BROWSERSTACK_RERUN','codeceptjs','BROWSERSTACK_TEST_ACCESSIBILITY_YML','Workers','SDK_CLEANUP','browser','printBuildLink','testContextOptions','skipSessionStatus','testObservability','result','initialize','passed','existsSync','../../helpers/logger','DsnlH','err','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','addConfig','firefox','PuTlp','../../helpers/helper','playwright-firefox','codeceptjs/lib/index.js','now','EVENTS','info','Playwright','skipSessionName','errorMessage','accessibilityOptions','enabled','user','1|0|5|2|4|3','config','../utils/constants','chromium','gGbEx','stringify','browserWSEndpoint','start','setAdditionalCapabilities','process','useW3C','30874xoQZsQ','693648sEKnoP','all','cwd','trim','BROWSERSTACK_RERUN_TESTS','isUndefined','failed','profile','stack','playwright-webkit','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','FRAMEWORKS','76174SSjSNB','wxFJB','log','webkit','GRTqR','564228gEydUO','Passed\x20:\x20','gherkin','assign','bootstrapAll','teardownAll','event','5767730DnERGU','accessibility','qOxoV','BROWSERSTACK_TEST_OBSERVABILITY_YML','platforms','frameworkName','createGroupsOfSuites','title','Failed\x20:\x20','addOptions','mergeDeep','../../helpers/accessibility-automation/helper'];a2_0x2947=function(){return _0x476d73;};return a2_0x2947();}a2_0x1d000e['chrome']=a2_0x3d60f9(0x1bf),a2_0x1d000e['playwright-chromium']=a2_0x3d60f9(0x1bf),a2_0x1d000e[a2_0x3d60f9(0x1b1)]=a2_0x3d60f9(0x1ae),a2_0x1d000e[a2_0x3d60f9(0x1d1)]=a2_0x3d60f9(0x1d7);const pwToCodeceptBrowser=a2_0x1d000e;async function run(_0x92740f,_0x5ce8bc,_0x30c413){const _0x2f146c=a2_0x3d60f9,_0x2fe1f6={'kOmQK':function(_0x8704d6,_0x4edbb6){return _0x8704d6+_0x4edbb6;},'wKrML':function(_0x3def5b,_0x255f0e){return _0x3def5b(_0x255f0e);},'XtDaY':function(_0x2d01ed,_0x30cd8e){return _0x2d01ed+_0x30cd8e;},'GRTqR':function(_0x5bd077,_0x1ba1ff,_0xa1e931){return _0x5bd077(_0x1ba1ff,_0xa1e931);},'gGbEx':_0x2f146c(0x185),'qOxoV':function(_0x319b60){return _0x319b60();},'GcoFH':'/wd/hub','YoMzY':function(_0xc8ab03){return _0xc8ab03();},'UvpXy':_0x2f146c(0x1e8),'mHILL':_0x2f146c(0x1da),'avgAo':_0x2f146c(0x1f0),'MtSUF':_0x2f146c(0x1bc),'IGBHN':_0x2f146c(0x183),'bFygN':function(_0x3a282,_0x1380e9,_0x452211){return _0x3a282(_0x1380e9,_0x452211);},'DsnlH':_0x2f146c(0x1b6),'Ffzfl':_0x2f146c(0x197),'Nqtqd':function(_0x268d26,_0x11c8c1){return _0x268d26!=_0x11c8c1;},'QyVDM':function(_0x471528,_0x5a8464){return _0x471528===_0x5a8464;},'viGnD':_0x2f146c(0x1db),'bnUfY':function(_0x4155af,_0xc1b854){return _0x4155af(_0xc1b854);},'WLUTg':function(_0x5b00e0){return _0x5b00e0();},'pRwKd':function(_0x5946b8,_0x55ec12){return _0x5946b8*_0x55ec12;},'Lpeaa':_0x2f146c(0x1a0),'VDUuW':function(_0x3597b6,_0x5473a,_0x52eb1d){return _0x3597b6(_0x5473a,_0x52eb1d);},'uMFmG':'desiredCapabilities','KKWsx':'root','bWKTi':'BrowserStackPlugin.js','wxFJB':_0x2f146c(0x184),'FMhOc':function(_0x344932){return _0x344932();}};await _0x30c413[_0x2f146c(0x1a6)](_0x92740f),await helper[_0x2f146c(0x18b)](_0x30c413[_0x2f146c(0x1bd)]);if(!_0x30c413[_0x2f146c(0x1bd)])return;process[_0x2f146c(0x1cf)]=_0x92740f[_0x2f146c(0x1cf)];_0x92740f[_0x2f146c(0x1cf)]&&(process['env']['profile']=_0x92740f[_0x2f146c(0x1cf)]);const _0x555cdf=_0x2fe1f6['GRTqR'](getUserCodeceptJSConfigs,_0x92740f,_0x5ce8bc);let _0x39f4d9={};_0x555cdf?(logger[_0x2f146c(0x1b5)](_0x2f146c(0x1ac)+_0x555cdf),_0x39f4d9=CodeceptJS['config'][_0x2f146c(0x1ed)](_0x555cdf)):logger['info'](_0x2fe1f6[_0x2f146c(0x17b)]);let _0x294a1b=![];_0x2fe1f6[_0x2f146c(0x180)](nestedKeyValue,_0x39f4d9,[_0x2fe1f6[_0x2f146c(0x1c0)],_0x2fe1f6[_0x2f146c(0x1aa)]])&&(_0x294a1b=!![]);const _0x3d6123=_0x294a1b?_0x2fe1f6[_0x2f146c(0x1aa)]:_0x2fe1f6[_0x2f146c(0x190)];let _0xecb1d7=!_0x294a1b?helper[_0x2f146c(0x1c6)](_0x30c413['config']):![];!helper[_0x2f146c(0x1cd)](_0x30c413[_0x2f146c(0x1bd)]['accessibilityOptions'])&&(process[_0x2f146c(0x182)][_0x2f146c(0x18d)]=JSON[_0x2f146c(0x1c1)](_0x30c413[_0x2f146c(0x1bd)][_0x2f146c(0x1b9)]));let _0x3cb926=_0x30c413[_0x2f146c(0x1bd)][_0x2f146c(0x1e1)];_0x3cb926=_0x3cb926||_0x2fe1f6['wKrML'](checkAccessibilityPlatformConfig,_0x30c413[_0x2f146c(0x1bd)]),process[_0x2f146c(0x182)][_0x2f146c(0x19d)]=_0x3cb926;_0x3cb926&&(_0xecb1d7=!_0x3cb926);_0x2fe1f6[_0x2f146c(0x1ee)](_0x30c413['config'][_0x2f146c(0x1a4)],null)?process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x30c413[_0x2f146c(0x1bd)][_0x2f146c(0x1a4)]:process[_0x2f146c(0x182)][_0x2f146c(0x1e3)]=_0x2fe1f6['QyVDM'](_0x3d6123,_0x2fe1f6[_0x2f146c(0x1aa)]);const _0x472c0f=_0x2fe1f6[_0x2f146c(0x180)](nestedKeyValue,_0x39f4d9,[_0x2fe1f6['viGnD']]),_0x5989e2=_0x472c0f&&!helper[_0x2f146c(0x165)](_0x472c0f)?FRAMEWORKS['CODECEPT_CUCUMBER']:FRAMEWORKS[_0x2f146c(0x175)],_0x295506=await TestHubHandler['launchBuild'](_0x5989e2,_0x30c413);_0x3cb926&&_0x2fe1f6['bnUfY'](setAccessibilityCapabilities,_0x30c413['config']);const _0x3e6fe3={},_0x389fed=[],_0x3f233b=_0x30c413[_0x2f146c(0x1bd)][_0x2f146c(0x163)]||helper['getUserWorkerCount'](_0x92740f,_0x5ce8bc,_0x30c413['config'],constants[_0x2f146c(0x1d3)][_0x2f146c(0x175)])||0x1;let _0x3ec60c=0x1;if(_0x2fe1f6[_0x2f146c(0x191)](isBrowserstackInfra)){const _0x4d074a=helper[_0x2f146c(0x195)](_0x30c413['config'],_0xecb1d7,constants[_0x2f146c(0x1d3)][_0x2f146c(0x175)]);_0x4d074a[_0x2f146c(0x1f1)](_0x3465a5=>{const _0x7c0b07=_0x2f146c;helper[_0x7c0b07(0x1c4)](_0x3465a5);}),helper['validPlatformsPresent'](_0x30c413['config'])?_0x3ec60c=_0x2fe1f6['pRwKd'](_0x3f233b,_0x30c413[_0x2f146c(0x1bd)][_0x2f146c(0x1e4)][_0x2f146c(0x16f)]):_0x3ec60c=_0x3f233b,_0x4d074a['forEach'](_0x1ce68f=>{const _0xa66a77=_0x2f146c,_0x55b4af={'PuTlp':function(_0x4a5744,_0x28ab44){return _0x2fe1f6['kOmQK'](_0x4a5744,_0x28ab44);},'srLwh':function(_0x31df2b,_0x1bb7c9){const _0x6d7c26=a2_0x5357;return _0x2fe1f6[_0x6d7c26(0x17c)](_0x31df2b,_0x1bb7c9);}},_0xf6aad1=_0x2fe1f6['XtDaY'](helper['getPlatformName'](_0x1ce68f,'_'),'_'+Date[_0xa66a77(0x1b3)]()),_0x5bcaca=((()=>{const _0x3584fb=_0xa66a77;if(_0x294a1b){const _0x325d13=pwToCodeceptBrowser[_0x1ce68f[_0x3584fb(0x193)]]||_0x1ce68f[_0x3584fb(0x193)];return{'browser':_0x325d13,[_0x325d13]:{'browserWSEndpoint':_0x55b4af[_0x3584fb(0x1af)](helper['getPlaywrightUrl'](_0x30c413[_0x3584fb(0x1bd)]),_0x55b4af['srLwh'](encodeURIComponent,JSON[_0x3584fb(0x1c1)](_0x1ce68f)))}};}const _0x1b3925={};return _0x1b3925['desiredCapabilities']=_0x1ce68f,_0x1b3925[_0x3584fb(0x1bb)]=_0x30c413[_0x3584fb(0x1bd)][_0x3584fb(0x174)],_0x1b3925['key']=_0x30c413[_0x3584fb(0x1bd)][_0x3584fb(0x186)],_0x1b3925;})()),_0x5a6863=_0x2fe1f6[_0xa66a77(0x1d8)](nestedKeyValue,_0x39f4d9,[_0x2fe1f6[_0xa66a77(0x1c0)],_0x3d6123]);_0x3e6fe3[_0xf6aad1]=_0x5a6863?helper[_0xa66a77(0x1ea)](_0x5bcaca,_0x5a6863):_0x5bcaca;if(!_0x294a1b){_0x3e6fe3[_0xf6aad1]['browser']=_0x1ce68f['browserName']||_0x5bcaca[_0xa66a77(0x1a0)];if(_0x2fe1f6[_0xa66a77(0x1e2)](isBrowserstackInfra)){_0x3e6fe3[_0xf6aad1][_0xa66a77(0x189)]=constants[_0xa66a77(0x176)][_0xa66a77(0x199)](_0x2fe1f6[_0xa66a77(0x188)],'')['replace'](/https?:\/\//,'');;_0x3e6fe3[_0xf6aad1]['path']=_0x2fe1f6[_0xa66a77(0x188)];}}_0x389fed[_0xa66a77(0x18f)](_0xf6aad1);});}else{_0x3ec60c=0x1;if(_0x294a1b){const _0x4a8e23=_0x2fe1f6['bFygN'](nestedKeyValue,_0x39f4d9,[_0x2fe1f6[_0x2f146c(0x1c0)],_0x3d6123,_0x2fe1f6[_0x2f146c(0x17d)]]),_0x19b6bf=_0x2fe1f6[_0x2f146c(0x164)](nestedKeyValue,_0x39f4d9,[_0x2fe1f6[_0x2f146c(0x1c0)],_0x3d6123,_0x4a8e23]);if(_0x19b6bf&&_0x19b6bf[_0x2f146c(0x1c2)]){const _0xd6d93c={};_0xd6d93c[_0x2f146c(0x1e4)]=[],_0x19b6bf[_0x2f146c(0x1c2)]=helper[_0x2f146c(0x195)](Object['assign']({},_0x30c413['config'],_0xd6d93c),null,_0x5989e2['toLowerCase'](),null,null,_0x19b6bf[_0x2f146c(0x1c2)]);}}else{const _0x3665f8={};_0x3665f8['platforms']=[],_0x39f4d9[_0x2fe1f6[_0x2f146c(0x1c0)]][_0x3d6123][_0x2fe1f6['uMFmG']]=helper[_0x2f146c(0x195)](Object[_0x2f146c(0x1dc)]({},_0x30c413[_0x2f146c(0x1bd)],_0x3665f8),null,_0x5989e2[_0x2f146c(0x161)](),_0x2fe1f6['GRTqR'](nestedKeyValue,_0x39f4d9,[_0x2fe1f6['gGbEx'],_0x3d6123,_0x2fe1f6['uMFmG']])||{},null,null);}_0x3e6fe3[_0x2fe1f6[_0x2f146c(0x16a)]]=_0x39f4d9,_0x389fed[_0x2f146c(0x18f)](_0x2fe1f6['KKWsx']);}const _0x4ecd6a={};_0x4ecd6a[_0x2f146c(0x198)]=_0x555cdf;const _0x102c0e=_0x4ecd6a,_0x167788=path[_0x2f146c(0x1ef)](__dirname,_0x2fe1f6[_0x2f146c(0x16c)]),_0x571ef8=process[_0x2f146c(0x1ca)]();process['env'][_0x2fe1f6[_0x2f146c(0x1d5)]]=_0x571ef8,process['chdir'](path[_0x2f146c(0x162)](_0x555cdf));const _0x296905=new CodeceptJS[(_0x2f146c(0x19e))](null,_0x102c0e),_0x228afd=_0x296905[_0x2f146c(0x1e6)](_0x3ec60c),_0x2feaf7=testOpsHelper['isTestObservabilitySession'](),_0x27bad9=_0x389fed['map'](_0x26fd08=>{const _0x24bacd=_0x2f146c,_0x318c52={};_0x318c52[_0x24bacd(0x1b6)]=_0x3e6fe3[_0x26fd08];const _0x23c6c4={};_0x23c6c4[_0x24bacd(0x197)]=_0x3e6fe3[_0x26fd08];const _0xf7ad91=_0x294a1b?_0x318c52:_0x23c6c4,_0x3e3e9b=_0x2fe1f6[_0x24bacd(0x1e2)](getO11yRerunPattern),_0x43ecd8={};_0x43ecd8[_0x24bacd(0x185)]=_0xf7ad91;const _0x539588={};_0x539588[_0x24bacd(0x166)]=_0x167788,_0x539588[_0x24bacd(0x1ba)]=!![],_0x539588[_0x24bacd(0x1b7)]=_0x30c413['config'][_0x24bacd(0x1a2)]['skipSessionName'],_0x539588[_0x24bacd(0x1a3)]=_0x30c413[_0x24bacd(0x1bd)][_0x24bacd(0x1a2)]['skipSessionStatus'],_0x539588[_0x24bacd(0x1a4)]=_0x2feaf7,_0x539588[_0x24bacd(0x1e5)]=_0x5989e2;const _0xa9c7ae={};_0xa9c7ae['BrowserStackPlugin']=_0x539588;const _0x1aa7e1={};return _0x1aa7e1['plugins']=_0xa9c7ae,helper[_0x24bacd(0x1ea)]({},_0x39f4d9,_0x2fe1f6[_0x24bacd(0x173)](isBrowserstackInfra)?_0x43ecd8:{},_0x3e3e9b?{'grep':_0x3e3e9b}:{},_0x1aa7e1);});for(const _0x361eec of _0x27bad9){for(const _0x1f1aa9 of _0x228afd){const _0x1f2410=_0x296905[_0x2f146c(0x18c)]();_0x1f2410[_0x2f146c(0x15f)](_0x1f1aa9),_0x1f2410[_0x2f146c(0x1ad)](_0x361eec);const _0x169cd5={};_0x169cd5[_0x2f146c(0x1bd)]=_0x555cdf,_0x1f2410[_0x2f146c(0x1e9)](_0x169cd5);}}_0x296905['on'](CodeceptJS['event'][_0x2f146c(0x171)][_0x2f146c(0x1ce)],(_0x4f5cdd,_0x54ad4a)=>{const _0x550b94=_0x2f146c;console[_0x550b94(0x1d6)](_0x2fe1f6['UvpXy'],_0x4f5cdd['title']);const _0x35fe65={[_0x4f5cdd[_0x550b94(0x1e7)]]:_0x4f5cdd[_0x550b94(0x1ab)][_0x550b94(0x1d0)]};_testErrorData['push'](_0x35fe65);}),_0x296905['on'](CodeceptJS[_0x2f146c(0x1df)][_0x2f146c(0x171)][_0x2f146c(0x1a7)],async _0x1a44f2=>{const _0x21530f=_0x2f146c;console[_0x21530f(0x1d6)](_0x2fe1f6[_0x21530f(0x1f2)],_0x1a44f2['title']);}),_0x296905['on'](CodeceptJS[_0x2f146c(0x1df)][_0x2f146c(0x171)]['before'],async _0x101e83=>{const _0x5e9f19=_0x2f146c;console[_0x5e9f19(0x1d6)](_0x2fe1f6['avgAo'],_0x101e83[_0x5e9f19(0x1e7)]);}),_0x296905['on'](CodeceptJS['event'][_0x2f146c(0x1c9)][_0x2f146c(0x1a5)],async()=>{const _0x4fd803=_0x2f146c,_0x3a2d1f=_0x2fe1f6['MtSUF'][_0x4fd803(0x17f)]('|');let _0x2f571d=0x0;while(!![]){switch(_0x3a2d1f[_0x2f571d++]){case'0':_0x30c413[_0x4fd803(0x1b8)]=_testErrorData;continue;case'1':PerformanceTester[_0x4fd803(0x1c3)](PerformanceEvents[_0x4fd803(0x19f)]);continue;case'2':utilities['finalExecution'](_0x30c413);continue;case'3':_0x296905['printResults']();continue;case'4':try{await TestHubHandler['stop']();}catch(_0x5a5fd1){logger[_0x4fd803(0x16d)](_0x4fd803(0x1d2)+util[_0x4fd803(0x19a)](_0x5a5fd1));}continue;case'5':testOpsHelper[_0x4fd803(0x1a1)]();continue;}break;}});async function _0x51196c(){const _0x4a9a1a=_0x2f146c;try{await _0x296905[_0x4a9a1a(0x1dd)](),await _0x296905[_0x4a9a1a(0x196)]();}finally{process[_0x4a9a1a(0x18e)](_0x571ef8),await _0x296905[_0x4a9a1a(0x1de)]();}}PerformanceTester['end'](PerformanceEvents[_0x2f146c(0x17e)]),_0x2fe1f6['FMhOc'](_0x51196c);}module['exports']=run;
@@ -1 +1 @@
1
- const a3_0x4b5f57=a3_0x563b;function a3_0x563b(_0x3955c9,_0x5b8cdb){const _0x5ed786=a3_0x5ed7();return a3_0x563b=function(_0x563b79,_0x4413d6){_0x563b79=_0x563b79-0x125;let _0x5a32f2=_0x5ed786[_0x563b79];return _0x5a32f2;},a3_0x563b(_0x3955c9,_0x5b8cdb);}(function(_0x53a2ce,_0x45015c){const _0x50841d=a3_0x563b,_0x4800f1=_0x53a2ce();while(!![]){try{const _0x3a20d3=-parseInt(_0x50841d(0x161))/0x1+parseInt(_0x50841d(0x14f))/0x2+-parseInt(_0x50841d(0x165))/0x3*(parseInt(_0x50841d(0x166))/0x4)+parseInt(_0x50841d(0x125))/0x5*(-parseInt(_0x50841d(0x13c))/0x6)+-parseInt(_0x50841d(0x167))/0x7*(-parseInt(_0x50841d(0x155))/0x8)+-parseInt(_0x50841d(0x145))/0x9+parseInt(_0x50841d(0x15e))/0xa;if(_0x3a20d3===_0x45015c)break;else _0x4800f1['push'](_0x4800f1['shift']());}catch(_0x5ea0be){_0x4800f1['push'](_0x4800f1['shift']());}}}(a3_0x5ed7,0x8a4be));const {isUndefined,nestedKeyValue}=require(a3_0x4b5f57(0x150)),logger=require(a3_0x4b5f57(0x158))[a3_0x4b5f57(0x12f)],PlaywrightSessionDetails=require(a3_0x4b5f57(0x127)),{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{getObservabilityLinkedProductName}=require(a3_0x4b5f57(0x12a)),getOSVersionFromCaps=_0x3047f4=>{const _0xf01998=a3_0x4b5f57,_0x372b2a={};_0x372b2a[_0xf01998(0x172)]=_0xf01998(0x14d),_0x372b2a[_0xf01998(0x137)]=_0xf01998(0x138),_0x372b2a[_0xf01998(0x16e)]=_0xf01998(0x13a),_0x372b2a[_0xf01998(0x169)]=_0xf01998(0x16d),_0x372b2a['VczZY']=_0xf01998(0x12e);const _0x47ccbd=_0x372b2a;if(!_0x3047f4)return null;const _0x257804=_0x3047f4[_0x47ccbd[_0xf01998(0x172)]],_0x3f608b=[_0x47ccbd[_0xf01998(0x137)],_0x47ccbd[_0xf01998(0x16e)],_0x47ccbd[_0xf01998(0x169)],_0x47ccbd[_0xf01998(0x129)]];for(const _0x4c315f of _0x3f608b){if(_0x257804&&_0x257804[_0x4c315f])return _0x257804[_0x4c315f];else{if(_0x3047f4[_0x4c315f])return _0x3047f4[_0x4c315f];}}return null;};exports[a3_0x4b5f57(0x15a)]=_0x403e98=>{const _0x3616aa=a3_0x4b5f57,_0x3f801a={'oeYMA':_0x3616aa(0x170),'JYTnC':function(_0x39a88,_0x21f506){return _0x39a88===_0x21f506;},'IiNAu':_0x3616aa(0x135),'hZUTD':function(_0x4e3e8b,_0x3a12a9){return _0x4e3e8b(_0x3a12a9);},'XMGJu':function(_0x3fba88,_0x2653be,_0x400c14){return _0x3fba88(_0x2653be,_0x400c14);},'BHJJx':_0x3616aa(0x142),'dgIcm':_0x3616aa(0x128),'GChKe':function(_0x3b9bfb,_0x2d2ae4){return _0x3b9bfb===_0x2d2ae4;},'gDBQi':_0x3616aa(0x148),'fBpkP':_0x3616aa(0x15b),'rJoQM':_0x3616aa(0x16c),'jJyAR':'caps'};if(!_0x403e98)return null;let _0x10c377=global[_0x3616aa(0x147)]||_0x3f801a[_0x3616aa(0x141)];if(_0x3f801a[_0x3616aa(0x175)](_0x403e98['constructor'][_0x3616aa(0x12c)],_0x3f801a['IiNAu'])){const _0x18670b=_0x403e98[_0x3616aa(0x15b)];if(!_0x18670b)return null;const _0x285ff4=_0x18670b[_0x3616aa(0x16a)],_0x301435=_0x3f801a[_0x3616aa(0x16f)](getOSVersionFromCaps,_0x3f801a[_0x3616aa(0x157)](nestedKeyValue,_0x403e98,[_0x3f801a[_0x3616aa(0x139)],_0x3f801a['dgIcm']]));return{[_0x10c377]:{'browser':_0x285ff4[_0x3616aa(0x13e)],'browser_version':_0x285ff4['browserVersion'],'capabilities':_0x285ff4,'platform':_0x285ff4[_0x3616aa(0x134)],'platform_version':_0x285ff4[_0x3616aa(0x138)]||_0x301435,'product':_0x3f801a[_0x3616aa(0x16f)](getObservabilityLinkedProductName,_0x285ff4),'session_id':_0x18670b[_0x3616aa(0x168)]}};}else{if(_0x3f801a[_0x3616aa(0x144)](_0x403e98[_0x3616aa(0x173)][_0x3616aa(0x12c)],_0x3f801a[_0x3616aa(0x126)])){const _0x10e85a=PlaywrightSessionDetails[_0x3616aa(0x140)]();_0x10c377=_0x10e85a[_0x3616aa(0x13d)]||_0x10c377;const _0x360e69=_0x3f801a[_0x3616aa(0x157)](nestedKeyValue,_0x403e98,[_0x3f801a[_0x3616aa(0x139)],_0x3f801a[_0x3616aa(0x14c)],_0x3f801a[_0x3616aa(0x14e)]]),_0x4a937b=_0x360e69?JSON[_0x3616aa(0x136)](new URL(_0x360e69)[_0x3616aa(0x13f)][_0x3616aa(0x171)](_0x3f801a[_0x3616aa(0x16b)])):{};return{[_0x10c377]:{'browser':_0x10e85a[_0x3616aa(0x15b)]||_0x4a937b[_0x3616aa(0x13e)],'browser_version':_0x10e85a[_0x3616aa(0x176)]||_0x4a937b[_0x3616aa(0x176)],'capabilities':_0x4a937b,'platform':_0x10e85a[_0x3616aa(0x13b)],'platform_version':_0x10e85a[_0x3616aa(0x13a)],'product':_0x3f801a[_0x3616aa(0x16f)](getObservabilityLinkedProductName,_0x4a937b),'session_id':_0x10e85a[_0x3616aa(0x149)]}};}}},exports[a3_0x4b5f57(0x12b)]=_0x4d8e73=>{const _0x402335=a3_0x4b5f57,_0x38ad65={'nJZHv':function(_0x479bc8){return _0x479bc8();},'wpImG':function(_0x2d417d,_0x3d9938){return _0x2d417d===_0x3d9938;},'kToKc':_0x402335(0x14a),'wehZq':function(_0x174ef8,_0x59a0dc){return _0x174ef8>_0x59a0dc;},'mPsxF':function(_0x320a93,_0x1b23c){return _0x320a93(_0x1b23c);},'eYyUk':_0x402335(0x174),'pylnC':function(_0x46b031,_0x818475){return _0x46b031===_0x818475;},'xKWkC':'chrome','URQTo':_0x402335(0x12d),'ZasUs':_0x402335(0x156),'SBrYd':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.'};if(_0x38ad65[_0x402335(0x160)](isAccessibilityAutomationSession)){const _0x5bf36f=_0x4d8e73[_0x402335(0x15b)],_0x1fd8a2=_0x5bf36f[_0x402335(0x16a)];global[_0x402335(0x163)]=!![],!(_0x38ad65['wpImG'](_0x1fd8a2[_0x402335(0x15c)],_0x38ad65[_0x402335(0x146)])||_0x38ad65[_0x402335(0x15f)](_0x38ad65['mPsxF'](parseInt,_0x1fd8a2[_0x402335(0x15c)]),0x5e))&&(logger[_0x402335(0x152)](_0x38ad65[_0x402335(0x130)]),global[_0x402335(0x163)]=![]),!(_0x38ad65[_0x402335(0x14b)](_0x1fd8a2[_0x402335(0x13e)],_0x38ad65[_0x402335(0x143)])||_0x38ad65[_0x402335(0x14b)](_0x1fd8a2[_0x402335(0x13e)],_0x38ad65[_0x402335(0x151)]))&&(logger[_0x402335(0x152)](_0x38ad65[_0x402335(0x153)]),global[_0x402335(0x163)]=![]),!_0x38ad65[_0x402335(0x162)](isUndefined,_0x1fd8a2['deviceName'])&&(logger['warn'](_0x38ad65[_0x402335(0x15d)]),global[_0x402335(0x163)]=![]);}},exports[a3_0x4b5f57(0x164)]=_0x544657=>{const _0x16a7e0=a3_0x4b5f57,_0x244405={};_0x244405[_0x16a7e0(0x159)]=_0x16a7e0(0x154),_0x244405['bZBTB']=_0x16a7e0(0x133);const _0x37e7f5=_0x244405;if(!_0x544657)return![];return!_0x544657[_0x16a7e0(0x131)](_0x37e7f5[_0x16a7e0(0x159)])&&!_0x544657[_0x16a7e0(0x131)](_0x37e7f5[_0x16a7e0(0x132)]);};function a3_0x5ed7(){const _0x129d7e=['shouldPatchExecuteScript','40686tyxROC','212nuOplV','6151439CBMgin','sessionId','NuECp','capabilities','jJyAR','browserWSEndpoint','osVersion','PspbP','hZUTD','unknown_grid','get','Ufxtn','constructor','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','JYTnC','browser_version','1705cwcdtq','gDBQi','../../bin/playwright/sessionDetails','desiredCapabilities','VczZY','../../helpers/test-observability/utils','processWebDriverConfig','name','playwright-chromium','os_version','winstonLogger','eYyUk','includes','bZBTB','browserstack_accessibility_automation_script','platformName','WebDriver','parse','sycof','platformVersion','BHJJx','platform_version','platform','14010jgXPMS','cloudProvider','browserName','searchParams','getDetails','oeYMA','config','xKWkC','GChKe','1205235mWLbWs','kToKc','__cloud_provider___','Playwright','bsSessionId','latest','pylnC','fBpkP','bstack:options','rJoQM','2015512SbQrrQ','../../helpers/helper','URQTo','warn','ZasUs','browserstack_executor','8sZnPhT','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','XMGJu','../../helpers/logger','dAEkE','fetchPlatformDetails','browser','browserVersion','SBrYd','13571780opulCW','wehZq','nJZHv','1028313XXAqrJ','mPsxF','accessibilityPlatform'];a3_0x5ed7=function(){return _0x129d7e;};return a3_0x5ed7();}
1
+ const a3_0x17c6f1=a3_0x5c0f;(function(_0x275560,_0x369c0d){const _0xd34787=a3_0x5c0f,_0x3da362=_0x275560();while(!![]){try{const _0x4c6149=parseInt(_0xd34787(0xde))/0x1+parseInt(_0xd34787(0xc1))/0x2*(-parseInt(_0xd34787(0xbc))/0x3)+parseInt(_0xd34787(0xb7))/0x4+-parseInt(_0xd34787(0xbf))/0x5+-parseInt(_0xd34787(0x9e))/0x6*(parseInt(_0xd34787(0xa6))/0x7)+-parseInt(_0xd34787(0xc4))/0x8*(parseInt(_0xd34787(0xa5))/0x9)+parseInt(_0xd34787(0xce))/0xa;if(_0x4c6149===_0x369c0d)break;else _0x3da362['push'](_0x3da362['shift']());}catch(_0x21dd1d){_0x3da362['push'](_0x3da362['shift']());}}}(a3_0xc821,0x1a5fe));function a3_0x5c0f(_0x11692d,_0x507946){const _0xc8218a=a3_0xc821();return a3_0x5c0f=function(_0x5c0f15,_0x4947e8){_0x5c0f15=_0x5c0f15-0x96;let _0x2db927=_0xc8218a[_0x5c0f15];return _0x2db927;},a3_0x5c0f(_0x11692d,_0x507946);}const {isUndefined,nestedKeyValue}=require(a3_0x17c6f1(0xc0)),logger=require(a3_0x17c6f1(0xa9))['winstonLogger'],PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{getObservabilityLinkedProductName}=require(a3_0x17c6f1(0xb4)),getOSVersionFromCaps=_0x261d7b=>{const _0x558586=a3_0x17c6f1,_0x1e011a={};_0x1e011a[_0x558586(0xb8)]='bstack:options',_0x1e011a[_0x558586(0xd7)]=_0x558586(0x9f),_0x1e011a['SlDAx']='platform_version',_0x1e011a['LLOcy']=_0x558586(0xaa),_0x1e011a['lruJV']=_0x558586(0xd2);const _0x3d2853=_0x1e011a;if(!_0x261d7b)return null;const _0x199a7c=_0x261d7b[_0x3d2853[_0x558586(0xb8)]],_0x2fab71=[_0x3d2853[_0x558586(0xd7)],_0x3d2853[_0x558586(0xa7)],_0x3d2853[_0x558586(0x99)],_0x3d2853[_0x558586(0xa3)]];for(const _0x1b1538 of _0x2fab71){if(_0x199a7c&&_0x199a7c[_0x1b1538])return _0x199a7c[_0x1b1538];else{if(_0x261d7b[_0x1b1538])return _0x261d7b[_0x1b1538];}}return null;};function a3_0xc821(){const _0x80ccc4=['accessibilityPlatform','config','NmCbW','Playwright','19122odTnbT','platformVersion','platform_version','shouldPatchExecuteScript','svxUU','lruJV','qGvUk','254061flEoqZ','147KidmKv','SlDAx','parse','../../helpers/logger','osVersion','sVGSr','lrRxW','eUafb','crybG','__cloud_provider___','FRoNc','browserName','includes','qoAfP','../../helpers/test-observability/utils','caps','latest','126688BVaYRX','PGZSA','cloudProvider','AMsGF','oseeA','4527dgOjkR','rNJWF','browser','286475JriKfE','../../helpers/helper','162AuMWbT','WebDriver','LiEtF','8hPPAyS','LhYZA','bsSessionId','name','pUcUB','jduPy','NeNwk','nAgcp','constructor','browserstack_accessibility_automation_script','1367300fhILxw','desiredCapabilities','warn','browserstack_executor','os_version','fetchPlatformDetails','qTfCW','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','kIinl','cQfwk','browserWSEndpoint','YuTwK','getDetails','TJVhP','browser_version','unknown_grid','214308kfkMCF','PmmUx','PmupD','get','chrome','lmUUG','capabilities','LLOcy'];a3_0xc821=function(){return _0x80ccc4;};return a3_0xc821();}exports[a3_0x17c6f1(0xd3)]=_0x163b6d=>{const _0x36f94a=a3_0x17c6f1,_0xe2ba2b={'PmupD':_0x36f94a(0xdd),'pUcUB':function(_0x5be623,_0x9ec81){return _0x5be623===_0x9ec81;},'sVGSr':_0x36f94a(0xc2),'lmUUG':function(_0xd52fea,_0xf8cfcd){return _0xd52fea(_0xf8cfcd);},'mzELy':function(_0x172cf3,_0x18163c,_0x4a2500){return _0x172cf3(_0x18163c,_0x4a2500);},'AMsGF':_0x36f94a(0x9b),'YuTwK':_0x36f94a(0xcf),'NmCbW':function(_0x2ddb92,_0x351e16){return _0x2ddb92(_0x351e16);},'JElNT':function(_0x561d79,_0x16eb2f){return _0x561d79===_0x16eb2f;},'FRoNc':_0x36f94a(0x9d),'svxUU':function(_0x2d678a,_0x59016f,_0xd7e4db){return _0x2d678a(_0x59016f,_0xd7e4db);},'oseeA':'browser','lrRxW':_0x36f94a(0xd8),'HWoRX':_0x36f94a(0xb5),'NeNwk':function(_0x587d55,_0x25a165){return _0x587d55(_0x25a165);}};if(!_0x163b6d)return null;let _0x125b2c=global[_0x36f94a(0xaf)]||_0xe2ba2b[_0x36f94a(0xe0)];if(_0xe2ba2b[_0x36f94a(0xc8)](_0x163b6d['constructor'][_0x36f94a(0xc7)],_0xe2ba2b[_0x36f94a(0xab)])){const _0x686f62=_0x163b6d[_0x36f94a(0xbe)];if(!_0x686f62)return null;const _0x2f6222=_0x686f62['capabilities'],_0x49bb66=_0xe2ba2b[_0x36f94a(0x97)](getOSVersionFromCaps,_0xe2ba2b['mzELy'](nestedKeyValue,_0x163b6d,[_0xe2ba2b['AMsGF'],_0xe2ba2b[_0x36f94a(0xd9)]]));return{[_0x125b2c]:{'browser':_0x2f6222[_0x36f94a(0xb1)],'browser_version':_0x2f6222['browserVersion'],'capabilities':_0x2f6222,'platform':_0x2f6222['platformName'],'platform_version':_0x2f6222[_0x36f94a(0x9f)]||_0x49bb66,'product':_0xe2ba2b[_0x36f94a(0x9c)](getObservabilityLinkedProductName,_0x2f6222),'session_id':_0x686f62['sessionId']}};}else{if(_0xe2ba2b['JElNT'](_0x163b6d[_0x36f94a(0xcc)]['name'],_0xe2ba2b[_0x36f94a(0xb0)])){const _0x1c022d=PlaywrightSessionDetails[_0x36f94a(0xda)]();_0x125b2c=_0x1c022d[_0x36f94a(0xb9)]||_0x125b2c;const _0x4b2261=_0xe2ba2b[_0x36f94a(0xa2)](nestedKeyValue,_0x163b6d,[_0xe2ba2b[_0x36f94a(0xba)],_0xe2ba2b[_0x36f94a(0xbb)],_0xe2ba2b[_0x36f94a(0xac)]]),_0x436786=_0x4b2261?JSON[_0x36f94a(0xa8)](new URL(_0x4b2261)['searchParams'][_0x36f94a(0xe1)](_0xe2ba2b['HWoRX'])):{};return{[_0x125b2c]:{'browser':_0x1c022d['browser']||_0x436786[_0x36f94a(0xb1)],'browser_version':_0x1c022d['browser_version']||_0x436786[_0x36f94a(0xdc)],'capabilities':_0x436786,'platform':_0x1c022d['platform'],'platform_version':_0x1c022d[_0x36f94a(0xa0)],'product':_0xe2ba2b[_0x36f94a(0xca)](getObservabilityLinkedProductName,_0x436786),'session_id':_0x1c022d[_0x36f94a(0xc6)]}};}}},exports['processWebDriverConfig']=_0x21d6b6=>{const _0xed2732=a3_0x17c6f1,_0x4b7036={'kIinl':function(_0x1c8ed7){return _0x1c8ed7();},'LiEtF':function(_0x48e5e1,_0x27aec2){return _0x48e5e1===_0x27aec2;},'eUafb':_0xed2732(0xb6),'nAgcp':function(_0x259496,_0x258d2e){return _0x259496>_0x258d2e;},'TJVhP':function(_0x504143,_0x59fb31){return _0x504143(_0x59fb31);},'jduPy':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','crybG':function(_0x574b21,_0x59c70f){return _0x574b21===_0x59c70f;},'qTfCW':_0xed2732(0x96),'rNJWF':function(_0x130783,_0x112d87){return _0x130783===_0x112d87;},'qoAfP':'playwright-chromium','bmdYP':_0xed2732(0xd5),'LhYZA':function(_0x474602,_0x47c548){return _0x474602(_0x47c548);},'MWwOn':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.'};if(_0x4b7036[_0xed2732(0xd6)](isAccessibilityAutomationSession)){const _0x1622b7=_0x21d6b6[_0xed2732(0xbe)],_0x2a3896=_0x1622b7[_0xed2732(0x98)];global[_0xed2732(0x9a)]=!![],!(_0x4b7036[_0xed2732(0xc3)](_0x2a3896['browserVersion'],_0x4b7036[_0xed2732(0xad)])||_0x4b7036[_0xed2732(0xcb)](_0x4b7036[_0xed2732(0xdb)](parseInt,_0x2a3896['browserVersion']),0x5e))&&(logger[_0xed2732(0xd0)](_0x4b7036[_0xed2732(0xc9)]),global['accessibilityPlatform']=![]),!(_0x4b7036[_0xed2732(0xae)](_0x2a3896['browserName'],_0x4b7036[_0xed2732(0xd4)])||_0x4b7036[_0xed2732(0xbd)](_0x2a3896[_0xed2732(0xb1)],_0x4b7036[_0xed2732(0xb3)]))&&(logger['warn'](_0x4b7036['bmdYP']),global['accessibilityPlatform']=![]),!_0x4b7036[_0xed2732(0xc5)](isUndefined,_0x2a3896['deviceName'])&&(logger[_0xed2732(0xd0)](_0x4b7036['MWwOn']),global[_0xed2732(0x9a)]=![]);}},exports[a3_0x17c6f1(0xa1)]=_0xae7a42=>{const _0x29b9f9=a3_0x17c6f1,_0x260889={};_0x260889[_0x29b9f9(0xa4)]=_0x29b9f9(0xd1),_0x260889[_0x29b9f9(0xdf)]=_0x29b9f9(0xcd);const _0x1d096a=_0x260889;if(!_0xae7a42)return![];return!_0xae7a42[_0x29b9f9(0xb2)](_0x1d096a[_0x29b9f9(0xa4)])&&!_0xae7a42[_0x29b9f9(0xb2)](_0x1d096a[_0x29b9f9(0xdf)]);};
@@ -1 +1 @@
1
- const a4_0x627e9=a4_0x27b4;function a4_0x27b4(_0x29cf3f,_0x3f0c24){const _0x321f8b=a4_0x321f();return a4_0x27b4=function(_0x27b475,_0x204486){_0x27b475=_0x27b475-0x192;let _0x4667eb=_0x321f8b[_0x27b475];return _0x4667eb;},a4_0x27b4(_0x29cf3f,_0x3f0c24);}(function(_0x3bb9cf,_0x1bb62c){const _0x38e64d=a4_0x27b4,_0x3b0665=_0x3bb9cf();while(!![]){try{const _0x5d0f22=-parseInt(_0x38e64d(0x277))/0x1+parseInt(_0x38e64d(0x1e3))/0x2+-parseInt(_0x38e64d(0x24f))/0x3*(parseInt(_0x38e64d(0x1e2))/0x4)+parseInt(_0x38e64d(0x194))/0x5*(-parseInt(_0x38e64d(0x1fa))/0x6)+-parseInt(_0x38e64d(0x206))/0x7*(parseInt(_0x38e64d(0x22c))/0x8)+parseInt(_0x38e64d(0x258))/0x9*(-parseInt(_0x38e64d(0x1a6))/0xa)+parseInt(_0x38e64d(0x1c1))/0xb;if(_0x5d0f22===_0x1bb62c)break;else _0x3b0665['push'](_0x3b0665['shift']());}catch(_0x5a6185){_0x3b0665['push'](_0x3b0665['shift']());}}}(a4_0x321f,0x6104e));const path=require('path'),fs=require('fs'),{v4:uuidv4}=require(a4_0x627e9(0x19d)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require('../../helpers/helper'),testOpsHelper=require(a4_0x627e9(0x270)),{getTestEnv}=require('../mocha/test-observability/mochaUtils'),{FRAMEWORKS}=require(a4_0x627e9(0x268)),logger=require(a4_0x627e9(0x192))[a4_0x627e9(0x193)],SessionHandler=require(a4_0x627e9(0x1d7)),RequestQueueHandler=require(a4_0x627e9(0x254)),PlaywrightSessionDetails=require(a4_0x627e9(0x1a1)),debug=testOpsHelper[a4_0x627e9(0x1cc)],{processAccessibilityCaps}=require(a4_0x627e9(0x237)),Constants=require(a4_0x627e9(0x28b)),{fetchPlatformDetails}=require(a4_0x627e9(0x19a)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x627e9(0x23a)),STATE_PASSED=a4_0x627e9(0x229),STATE_FAILED=a4_0x627e9(0x227),a4_0x299123={};a4_0x299123[a4_0x627e9(0x1c6)]=a4_0x627e9(0x285),a4_0x299123[a4_0x627e9(0x224)]=a4_0x627e9(0x1df),a4_0x299123['TEST_RUN_SKIPPED']=a4_0x627e9(0x246),a4_0x299123[a4_0x627e9(0x1fb)]=a4_0x627e9(0x1fe),a4_0x299123['HOOK_RUN_FINISHED']=a4_0x627e9(0x1b9);const TEST_EVENTS=a4_0x299123,parseEvent=_0x10f8f1=>{const _0xd6624d=a4_0x627e9,_0x5c2de1={};_0x5c2de1[_0xd6624d(0x20f)]=function(_0x44a4c4,_0x424369){return _0x44a4c4<_0x424369;},_0x5c2de1['GaEMb']=function(_0x47aba6,_0x216800){return _0x47aba6===_0x216800;},_0x5c2de1[_0xd6624d(0x1cf)]=_0xd6624d(0x1ee),_0x5c2de1[_0xd6624d(0x20b)]=_0xd6624d(0x1a0),_0x5c2de1[_0xd6624d(0x267)]=_0xd6624d(0x263),_0x5c2de1[_0xd6624d(0x27c)]=function(_0x275f07,_0x515f90){return _0x275f07===_0x515f90;},_0x5c2de1['bHrcJ']='started',_0x5c2de1[_0xd6624d(0x1d3)]=function(_0x1298e6,_0x3e7606){return _0x1298e6===_0x3e7606;},_0x5c2de1['ruAid']=_0xd6624d(0x1bc);const _0x262e4f=_0x5c2de1,_0x473394=_0x10f8f1[_0xd6624d(0x1fc)](/^(.*)Run(.*)$/);if(!_0x473394)return null;if(_0x262e4f[_0xd6624d(0x20f)](_0x473394['length'],0x3))return null;const _0xb452de=_0x473394[0x1][_0xd6624d(0x22e)](),_0x1fae95=_0x473394[0x2]['toLowerCase']();return{'test':_0x262e4f[_0xd6624d(0x221)](_0xb452de,_0x262e4f['ZSyML']),'hook':_0x262e4f[_0xd6624d(0x221)](_0xb452de,_0x262e4f['xgkkH']),'skipped':_0x262e4f[_0xd6624d(0x221)](_0x1fae95,_0x262e4f[_0xd6624d(0x267)]),'started':_0x262e4f[_0xd6624d(0x27c)](_0x1fae95,_0x262e4f[_0xd6624d(0x1a4)]),'finished':_0x262e4f['Ncrri'](_0x1fae95,_0x262e4f['ruAid'])};},mockPWBrowserType=_0x597726=>{const _0x5953ae=a4_0x627e9,_0x4cc5ec={'BMOMT':function(_0x3bee93,_0x18323c){return _0x3bee93===_0x18323c;},'xDVHP':_0x5953ae(0x234),'jsjgu':function(_0x2c79e1,_0x289f75,_0x114d4c){return _0x2c79e1(_0x289f75,_0x114d4c);},'oIUxS':_0x5953ae(0x250),'JsDlX':function(_0x3d98a0,_0x1cbde6){return _0x3d98a0(_0x1cbde6);},'eZEOL':_0x5953ae(0x266),'hCvPY':_0x5953ae(0x1e1),'yQxBL':_0x5953ae(0x238),'EsRWj':_0x5953ae(0x21c),'ENrDL':function(_0x5bfe34,_0x4964e5){return _0x5bfe34(_0x4964e5);},'VPtvt':function(_0x2ae176,_0x4a3ca7){return _0x2ae176(_0x4a3ca7);},'TLhIy':'Not\x20able\x20to\x20import\x20Browser','vABdK':'connect','fPhjw':_0x5953ae(0x1ba)},_0x463271=path[_0x5953ae(0x1fd)](_0x4cc5ec['hCvPY'],_0x4cc5ec[_0x5953ae(0x197)],_0x4cc5ec[_0x5953ae(0x28d)]),_0x5dba30=_0x4cc5ec['ENrDL'](importFileFromPWCore,_0x463271);if(!_0x5dba30){_0x4cc5ec[_0x5953ae(0x1b6)](debug,_0x4cc5ec['TLhIy']);return;}const _0x31c802=_0x5dba30[_0x5953ae(0x288)],_0x29b0a4=_0x31c802['prototype'];if(_0x29b0a4[_0x5953ae(0x239)])return;const _0x2c7f2c=_0x29b0a4[_0x5953ae(0x1e6)];Object[_0x5953ae(0x24a)](_0x29b0a4,_0x4cc5ec['vABdK'],{'get':function(){const _0x38d20a=_0x5953ae,_0x513d95={'UyyKy':function(_0x203558,_0x1e0d19){const _0x5eb8fb=a4_0x27b4;return _0x4cc5ec[_0x5eb8fb(0x26a)](_0x203558,_0x1e0d19);},'Ehwdc':_0x4cc5ec[_0x38d20a(0x1e9)],'xQCoc':function(_0xd91b05,_0x30c69a,_0x1fa3aa){const _0x36a784=_0x38d20a;return _0x4cc5ec[_0x36a784(0x1f0)](_0xd91b05,_0x30c69a,_0x1fa3aa);},'hxbnV':_0x4cc5ec[_0x38d20a(0x23c)],'DSJfy':function(_0x416235,_0x178191){const _0x4350b1=_0x38d20a;return _0x4cc5ec[_0x4350b1(0x22d)](_0x416235,_0x178191);},'GmvVa':_0x4cc5ec[_0x38d20a(0x1c7)],'jIeWd':function(_0x1a70c3,_0x44eafb,_0x1465b3){const _0x1c56b0=_0x38d20a;return _0x4cc5ec[_0x1c56b0(0x1f0)](_0x1a70c3,_0x44eafb,_0x1465b3);},'lyymm':function(_0x4574ec,_0x42e117){const _0x4508d5=_0x38d20a;return _0x4cc5ec[_0x4508d5(0x22d)](_0x4574ec,_0x42e117);}};return async function _0x7a7bb0(_0x4551a5,_0x2570c4){const _0x58429b=_0x38d20a,_0x36f799={'ykxhw':function(_0x442972,_0x22287c){const _0x19cedb=a4_0x27b4;return _0x513d95[_0x19cedb(0x26b)](_0x442972,_0x22287c);},'GELOY':_0x513d95['Ehwdc']},_0x394f47=_0x513d95[_0x58429b(0x1ae)](nestedKeyValue,_0x4551a5,[_0x513d95['hxbnV']])||_0x4551a5;let _0x136ee5=null,_0x3a8ab0=null;try{[_0x3a8ab0,_0x136ee5]=_0x394f47?_0x513d95[_0x58429b(0x1ed)](parseWSEndpoint,_0x394f47):[null,null],global[_0x58429b(0x282)]=_0x136ee5,logger[_0x58429b(0x1cc)](_0x58429b(0x27d)+_0x3a8ab0),_0x3a8ab0[_0x58429b(0x28a)](Constants[_0x58429b(0x276)])&&(global[_0x58429b(0x236)]=_0x513d95[_0x58429b(0x1d4)]);}catch(_0x38b3a1){logger[_0x58429b(0x1cc)](_0x58429b(0x208)+_0x394f47+'\x20'+_0x38b3a1);}_0x513d95[_0x58429b(0x21a)](processAccessibilityCaps,_0x136ee5,_0x3a8ab0);if(global['accessibilityPlatform']){const _0x452489=await _0x29b0a4['connectOverCDP'][_0x58429b(0x24b)](this,[''+Constants['PLAYWRIGHT_HUB_URL']+_0x513d95[_0x58429b(0x289)](encodeURIComponent,JSON['stringify'](_0x136ee5))]);return PlaywrightSessionDetails[_0x58429b(0x27f)](_0x452489,_0x597726,_0x394f47),_0x452489;}return _0x2c7f2c[_0x58429b(0x24b)](this,arguments)[_0x58429b(0x202)](_0x49f401=>{const _0x4fecfa=_0x58429b;let _0x4282b9=_0x4551a5['wsEndpoint'];return _0x36f799[_0x4fecfa(0x1b2)](typeof _0x4551a5,_0x36f799[_0x4fecfa(0x20c)])&&(_0x4282b9=_0x4551a5),PlaywrightSessionDetails[_0x4fecfa(0x27f)](_0x49f401,_0x597726,_0x4282b9),_0x49f401;});};}});const _0x43edbd=_0x29b0a4[_0x5953ae(0x1ba)];Object[_0x5953ae(0x24a)](_0x29b0a4,_0x4cc5ec[_0x5953ae(0x1f7)],{'get':function(){return async function _0xc64f3e(){const _0x580bf1=a4_0x27b4;return _0x43edbd[_0x580bf1(0x24b)](this,arguments)['then'](_0x461bdd=>{return PlaywrightSessionDetails['setupBrowserDetails'](_0x461bdd,null),_0x461bdd;});};}});};class O11yHelper{[a4_0x627e9(0x203)]=null;['currentHook']=null;['enabled']=![];[a4_0x627e9(0x26e)]=![];constructor(_0x28bf5e,_0x59b24c){const _0x22edb4=a4_0x627e9,_0x19d69e={'VCMFW':_0x22edb4(0x284),'ipiOL':function(_0x67eef6,_0x206bd1){return _0x67eef6===_0x206bd1;},'CBQzw':_0x22edb4(0x1c9),'iCOiF':function(_0x53b78c,_0x293094){return _0x53b78c(_0x293094);},'XEdXz':function(_0x3bb526){return _0x3bb526();}},_0x431196=_0x19d69e[_0x22edb4(0x1f9)]['split']('|');let _0x29d4cc=0x0;while(!![]){switch(_0x431196[_0x29d4cc++]){case'0':this[_0x22edb4(0x26e)]=_0x59b24c[_0x22edb4(0x26e)];continue;case'1':this['driver']&&_0x19d69e[_0x22edb4(0x1eb)](this[_0x22edb4(0x230)][_0x22edb4(0x23f)][_0x22edb4(0x218)],_0x19d69e[_0x22edb4(0x1d6)])&&_0x19d69e['iCOiF'](mockPWBrowserType,null);continue;case'2':this[_0x22edb4(0x230)]=_0x28bf5e;continue;case'3':this['enabled']=_0x19d69e[_0x22edb4(0x199)](shouldProcessEventForTesthub);continue;case'4':this[_0x22edb4(0x1d2)]=_0x19d69e[_0x22edb4(0x199)](getTestEnv);continue;case'5':this[_0x22edb4(0x260)]=new testOpsHelper[(_0x22edb4(0x1bd))]({'cwd':process[_0x22edb4(0x1e0)]()},this[_0x22edb4(0x1d2)][_0x22edb4(0x279)]);continue;}break;}}[a4_0x627e9(0x251)](){const _0x400512=a4_0x627e9;if(!this['enabled'])return;testOpsHelper[_0x400512(0x278)](),process[_0x400512(0x201)]('bs:addLog:'+process[_0x400512(0x274)]),process['on'](_0x400512(0x286)+process[_0x400512(0x274)],this[_0x400512(0x1ac)][_0x400512(0x235)](this));}async[a4_0x627e9(0x1e4)](){const _0x45e974=a4_0x627e9;await RequestQueueHandler[_0x45e974(0x1e5)]()['shutdown']();}async[a4_0x627e9(0x1ac)](_0xa6eb1f){const _0x13746a=a4_0x627e9,_0xee4b44={'LbhdQ':_0x13746a(0x1ca),'Fawxe':function(_0x8c1b41,_0x2ce907){return _0x8c1b41(_0x2ce907);}};try{this[_0x13746a(0x212)]&&!this['currentHook'][_0x13746a(0x220)]&&(_0xa6eb1f[_0x13746a(0x1ea)]=this[_0x13746a(0x212)][_0x13746a(0x244)]);!_0xa6eb1f['hook_run_uuid']&&this[_0x13746a(0x203)]&&!this[_0x13746a(0x203)][_0x13746a(0x220)]&&(_0xa6eb1f['test_run_uuid']=this['currentTest'][_0x13746a(0x223)]);if(_0xa6eb1f[_0x13746a(0x1ea)]||_0xa6eb1f[_0x13746a(0x1a9)]){const _0x2d0686={};_0x2d0686[_0x13746a(0x26d)]=_0xee4b44[_0x13746a(0x1f3)],_0x2d0686['logs']=[_0xa6eb1f],await SessionHandler[_0x13746a(0x1b4)](_0x2d0686);}}catch(_0x416f4c){_0xee4b44[_0x13746a(0x261)](debug,_0x13746a(0x21d)+_0x416f4c);}}async[a4_0x627e9(0x217)](_0x15ff2e){const _0x286eb6=a4_0x627e9,_0x1cb80c={'JzzfK':_0x286eb6(0x211),'pyDCU':function(_0x56793a,_0x2a02ec){return _0x56793a(_0x2a02ec);}};if(!this[_0x286eb6(0x21f)])return;const _0x5e83e5=this[_0x286eb6(0x1e8)](this[_0x286eb6(0x230)]);try{const _0x3334f3={};_0x3334f3[_0x286eb6(0x19d)]=_0x15ff2e,_0x3334f3['integrations']=_0x5e83e5;const _0x409808=_0x3334f3,_0x109a26={};_0x109a26['event_type']=_0x1cb80c[_0x286eb6(0x20d)],_0x109a26[_0x286eb6(0x215)]=_0x409808,await SessionHandler[_0x286eb6(0x1b4)](_0x109a26);}catch(_0x297053){_0x1cb80c[_0x286eb6(0x22b)](debug,_0x286eb6(0x231)+_0x297053);}}['getCBTInfo'](_0x4f09d3){const _0x522e2f=a4_0x627e9,_0xc398ce={'IYAbM':function(_0x22a4c7,_0x12c76d){return _0x22a4c7(_0x12c76d);}};return _0xc398ce[_0x522e2f(0x196)](fetchPlatformDetails,_0x4f09d3);}[a4_0x627e9(0x219)]=_0x8aceb=>{const _0x46917c=a4_0x627e9,_0x3ac599={};_0x3ac599[_0x46917c(0x1ff)]='_beforeEach',_0x3ac599['dOhhB']=_0x46917c(0x1ce);const _0x5cfdd6=_0x3ac599;if(!_0x8aceb||!_0x8aceb['parent'])return;[_0x5cfdd6[_0x46917c(0x1ff)],_0x5cfdd6['dOhhB']][_0x46917c(0x1ad)](_0x211c00=>{const _0x58ca11=_0x46917c,_0x4cb708=_0x8aceb[_0x58ca11(0x1f2)][_0x211c00];_0x4cb708[_0x58ca11(0x1ad)](_0x16ec58=>{const _0x574b0f=_0x58ca11;_0x16ec58['hookAnalyticsId']&&(_0x16ec58[_0x574b0f(0x244)]=null);});});};['mapTestHooks'](_0x169cd4){const _0x2e2d9b=a4_0x627e9,_0x3c7e1b={'rsFyl':_0x2e2d9b(0x264),'TMJaM':function(_0x39341f){return _0x39341f();},'DAAHM':function(_0x319fdf,_0x293db6){return _0x319fdf===_0x293db6;},'wmVcd':_0x2e2d9b(0x1ce),'LtAnX':'_beforeAll','Vkiqt':_0x2e2d9b(0x225),'WkASW':_0x2e2d9b(0x19e)};if(!_0x169cd4||!_0x169cd4[_0x2e2d9b(0x1f2)])return;[_0x3c7e1b['LtAnX'],_0x3c7e1b[_0x2e2d9b(0x1e7)],_0x3c7e1b[_0x2e2d9b(0x200)],_0x3c7e1b['wmVcd']][_0x2e2d9b(0x1ad)](_0x155522=>{const _0xa54bcd=_0x2e2d9b,_0x29e34d=_0x169cd4[_0xa54bcd(0x1f2)][_0x155522]||[];_0x29e34d['forEach'](_0x26c5ad=>{const _0x4c2572=_0xa54bcd;if(_0x26c5ad['title'][_0x4c2572(0x28a)](_0x3c7e1b['rsFyl']))return;if(!_0x26c5ad[_0x4c2572(0x244)])_0x26c5ad[_0x4c2572(0x244)]=_0x3c7e1b[_0x4c2572(0x275)](uuidv4);else _0x26c5ad[_0x4c2572(0x220)]&&_0x3c7e1b['DAAHM'](_0x155522,_0x3c7e1b['wmVcd'])&&(_0x26c5ad[_0x4c2572(0x244)]=_0x3c7e1b['TMJaM'](uuidv4),delete _0x26c5ad[_0x4c2572(0x220)]);});}),this[_0x2e2d9b(0x23e)](_0x169cd4[_0x2e2d9b(0x1f2)]);}['getHooksForTest'](_0x3b119f){const _0xfa0764=a4_0x627e9,_0x48f8d5={};_0x48f8d5[_0xfa0764(0x241)]=_0xfa0764(0x1b7),_0x48f8d5['QHfwq']=_0xfa0764(0x225),_0x48f8d5['IJvql']=_0xfa0764(0x19e),_0x48f8d5['VFLbA']=_0xfa0764(0x1ce);const _0x23d37f=_0x48f8d5;if(!_0x3b119f||!_0x3b119f[_0xfa0764(0x1f2)])return[];const _0x1baa0c=[];return[_0x23d37f[_0xfa0764(0x241)],_0x23d37f[_0xfa0764(0x1cb)],_0x23d37f[_0xfa0764(0x1d1)],_0x23d37f[_0xfa0764(0x209)]][_0xfa0764(0x1ad)](_0x523e2c=>{const _0x2c0ea5=_0xfa0764,_0x5049cb=_0x3b119f[_0x2c0ea5(0x1f2)][_0x523e2c]||[];_0x5049cb['forEach'](_0x389699=>{const _0x3411de=_0x2c0ea5;_0x389699[_0x3411de(0x244)]&&_0x1baa0c[_0x3411de(0x1bb)](_0x389699[_0x3411de(0x244)]);});}),[][_0xfa0764(0x243)](_0x1baa0c,this[_0xfa0764(0x280)](_0x3b119f['parent']));}[a4_0x627e9(0x247)](_0x28f501){const _0x13747f=a4_0x627e9,_0xd60223=/^"(?<hook>.*)" hook:.*$/,_0x574437=_0x28f501[_0x13747f(0x1b0)],_0x100255=_0x574437[_0x13747f(0x1fc)](_0xd60223);if(_0x100255&&_0x100255[_0x13747f(0x271)])return _0x100255[_0x13747f(0x271)][_0x13747f(0x1a0)][_0x13747f(0x1f4)]()[_0x13747f(0x1ef)]('\x20','_');return null;}[a4_0x627e9(0x1a2)](_0x12c5f7){const _0x5af8b8=a4_0x627e9,_0x58e46b={};_0x58e46b[_0x5af8b8(0x222)]=function(_0x575c34,_0x29baea){return _0x575c34===_0x29baea;},_0x58e46b[_0x5af8b8(0x281)]=function(_0x1942f9,_0x2f6655){return _0x1942f9===_0x2f6655;},_0x58e46b[_0x5af8b8(0x1db)]=function(_0x290258,_0x3e0b72){return _0x290258===_0x3e0b72;},_0x58e46b[_0x5af8b8(0x22f)]='.git',_0x58e46b[_0x5af8b8(0x1f5)]='config';const _0x140dad=_0x58e46b,_0x41e5ba=path[_0x5af8b8(0x210)];if(_0x140dad[_0x5af8b8(0x222)](_0x12c5f7,null)||_0x140dad[_0x5af8b8(0x281)](_0x12c5f7,'')||_0x140dad[_0x5af8b8(0x281)](_0x12c5f7,_0x41e5ba)||_0x140dad[_0x5af8b8(0x1db)](_0x12c5f7,path['dirname'](_0x12c5f7)))return null;try{return fs[_0x5af8b8(0x259)](path[_0x5af8b8(0x1fd)](_0x12c5f7,_0x140dad[_0x5af8b8(0x22f)],_0x140dad['NUpft'])),_0x12c5f7;}catch(_0xa278){const _0x3eeb0e=path[_0x5af8b8(0x1c0)](_0x12c5f7);return this[_0x5af8b8(0x1a2)](_0x3eeb0e);}}[a4_0x627e9(0x287)](_0x1635a7){const _0x47f14d=a4_0x627e9,_0x3a3f86={};_0x3a3f86[_0x47f14d(0x204)]=function(_0x755e06,_0x1fad10){return _0x755e06>_0x1fad10;};const _0x5cba6e=_0x3a3f86;if(_0x1635a7[_0x47f14d(0x25b)])return _0x1635a7['file'];if(_0x1635a7['ctx']){const _0x1cd7b4=_0x1635a7['ctx'][_0x47f14d(0x203)]?this[_0x47f14d(0x287)](_0x1635a7[_0x47f14d(0x1c5)][_0x47f14d(0x203)]):null;if(_0x1cd7b4)return _0x1cd7b4;}if(_0x1635a7['parent']){const _0x47cc0a=this[_0x47f14d(0x287)](_0x1635a7['parent'])||(_0x1635a7['parent']['ctx']&&_0x1635a7['parent'][_0x47f14d(0x1c5)][_0x47f14d(0x203)]?this[_0x47f14d(0x287)](_0x1635a7['parent'][_0x47f14d(0x1c5)][_0x47f14d(0x203)]):null);if(_0x47cc0a)return _0x47cc0a;_0x1635a7['parent'][_0x47f14d(0x28e)]&&_0x5cba6e['fpbtm'](_0x1635a7[_0x47f14d(0x1f2)][_0x47f14d(0x28e)][_0x47f14d(0x25f)],0x0)&&_0x1635a7['parent'][_0x47f14d(0x28e)][_0x47f14d(0x1ad)](_0x1e2ff3=>{const _0x1b11a0=_0x47f14d,_0x3a307c=_0x1e2ff3[_0x1b11a0(0x1c5)]?this[_0x1b11a0(0x287)](_0x1e2ff3[_0x1b11a0(0x1c5)]):null;if(_0x3a307c)return _0x3a307c;});}return null;}['getHierarchy'](_0x467748){const _0x3aa49e=a4_0x627e9,_0x52bdb0={};_0x52bdb0[_0x3aa49e(0x245)]=function(_0x416a25,_0x4077c0){return _0x416a25!==_0x4077c0;};const _0x271b50=_0x52bdb0,_0x38b54c=[];if(_0x467748&&_0x467748[_0x3aa49e(0x1f2)]){let _0x32e256=_0x467748['parent'];while(_0x32e256&&_0x271b50[_0x3aa49e(0x245)](_0x32e256['title'],'')){_0x38b54c[_0x3aa49e(0x1bb)](_0x32e256['title']),_0x32e256=_0x32e256[_0x3aa49e(0x1f2)];}}return _0x38b54c;}['captureEvent'](_0x4b69ed,_0x2e0fa5,_0x2c08f7=undefined){const _0x187def=a4_0x627e9,_0x4d2b23={'KZnUj':function(_0x39a3b7,_0x28a79a){return _0x39a3b7(_0x28a79a);},'rQmOI':function(_0x189294){return _0x189294();},'NYDae':function(_0x3d8c4a){return _0x3d8c4a();},'DEMnq':function(_0x318cf1){return _0x318cf1();},'fdVqg':function(_0x24a583){return _0x24a583();},'vuueP':_0x187def(0x26f),'ojsqn':_0x187def(0x1d5),'bvQak':function(_0x46f44a,_0x4cd12e){return _0x46f44a!==_0x4cd12e;},'ydNFQ':function(_0x4e50f8,_0x16de29){return _0x4e50f8!==_0x16de29;},'EVsvt':_0x187def(0x228),'WRFpd':_0x187def(0x1be),'IoApK':_0x187def(0x227),'qzJzE':_0x187def(0x229),'yYKHM':_0x187def(0x263),'docjL':_0x187def(0x1f8),'unDwI':function(_0x12ad6b,_0x3d5776){return _0x12ad6b-_0x3d5776;},'fgIHE':function(_0x5a56ac,_0x266e33,_0x361f1e,_0x40be0d,_0x363d98){return _0x5a56ac(_0x266e33,_0x361f1e,_0x40be0d,_0x363d98);},'MoCQT':function(_0x5533b3,_0x15df82){return _0x5533b3!==_0x15df82;},'ozBQP':_0x187def(0x1b8),'Xmpbh':_0x187def(0x216),'UArHo':_0x187def(0x21e),'KIYCq':_0x187def(0x19f),'FJfTV':_0x187def(0x1aa),'hxNKD':_0x187def(0x25a),'CuVzS':_0x187def(0x23d),'SmLdD':function(_0x2d5f28,_0x1d92b0){return _0x2d5f28===_0x1d92b0;},'rVKHX':_0x187def(0x257),'unWaB':_0x187def(0x215)};if(!this['enabled'])return;try{if(_0x2e0fa5['fn']&&_0x2e0fa5['fn'][_0x187def(0x1d0)]()['match'](/browserstack internal helper hook/))return;const _0x43340c=_0x4d2b23['KZnUj'](parseEvent,_0x4b69ed);if(!_0x43340c)return;if(_0x43340c['test']){this[_0x187def(0x203)]=_0x2e0fa5,this[_0x187def(0x212)]=null;if(_0x43340c[_0x187def(0x248)]||_0x43340c[_0x187def(0x263)]){_0x2e0fa5['startedAt']=new Date(),_0x2e0fa5[_0x187def(0x220)]=![];if(!_0x2e0fa5['testAnalyticsId'])_0x2e0fa5['testAnalyticsId']=_0x4d2b23[_0x187def(0x25c)](uuidv4);else _0x2e0fa5[_0x187def(0x220)]&&(!_0x2e0fa5[_0x187def(0x232)]&&(_0x2e0fa5['retryOf']=_0x2e0fa5[_0x187def(0x223)]),_0x2e0fa5[_0x187def(0x223)]=_0x4d2b23['NYDae'](uuidv4));}}else{if(_0x43340c[_0x187def(0x1a0)]){this[_0x187def(0x212)]=_0x2e0fa5;if(_0x43340c[_0x187def(0x248)]){_0x2e0fa5['startedAt']=new Date(),_0x2e0fa5[_0x187def(0x220)]=![];if(!_0x2e0fa5[_0x187def(0x244)])_0x2e0fa5['hookAnalyticsId']=_0x4d2b23['DEMnq'](uuidv4);else _0x2e0fa5[_0x187def(0x244)]&&_0x2e0fa5[_0x187def(0x220)]&&(_0x2e0fa5[_0x187def(0x244)]=_0x4d2b23[_0x187def(0x262)](uuidv4));}}}if(_0x43340c[_0x187def(0x1bc)]&&_0x2e0fa5[_0x187def(0x220)])return;let _0x394173;try{_0x394173=this[_0x187def(0x287)](_0x2e0fa5);}catch(_0x2a01ec){logger[_0x187def(0x1cc)](_0x187def(0x1a3)+_0x2a01ec),_0x394173=null;}const _0x1cdb07=_0x4d2b23[_0x187def(0x195)](require,_0x4d2b23['vuueP']);let _0x517ada=[];_0x2c08f7&&(_0x517ada=[_0x2c08f7,_0x4d2b23[_0x187def(0x240)]]);const _0x580227=_0x4d2b23['bvQak'](_0x2e0fa5[_0x187def(0x1c4)],undefined)?_0x1cdb07[_0x187def(0x1a7)](_0x2e0fa5[_0x187def(0x1c4)][0x0]):_0x4d2b23[_0x187def(0x242)](_0x2c08f7,undefined)?_0x2c08f7[_0x187def(0x1d0)]():undefined,_0x37de6a=_0x394173?this['findGitConfig'](_0x394173):null,_0x1c9fdc=_0x394173?this[_0x187def(0x260)][_0x187def(0x256)](this['getRootParentFile'](_0x2e0fa5)):_0x4d2b23['EVsvt'];let _0x4bccea=_0x4d2b23[_0x187def(0x24c)];const _0x450582=!_0x43340c[_0x187def(0x248)]?new Date()['toISOString']():null;if(_0x43340c[_0x187def(0x1bc)])_0x4bccea=_0x2c08f7?_0x4d2b23[_0x187def(0x233)]:_0x4d2b23[_0x187def(0x20a)],_0x2e0fa5[_0x187def(0x220)]=!![];else _0x43340c[_0x187def(0x263)]&&(_0x4bccea=_0x4d2b23[_0x187def(0x1f6)],_0x2e0fa5['markedStatus']=!![]);const _0x5e18bd={'framework':this['frameworkName'],'uuid':_0x2e0fa5[_0x187def(0x223)]||_0x2e0fa5[_0x187def(0x244)],'name':_0x2e0fa5[_0x187def(0x1b0)],'body':{'lang':_0x4d2b23[_0x187def(0x24e)],'code':_0x2e0fa5['body']['toString']()},'type':_0x2e0fa5['type'],'scope':_0x2e0fa5[_0x187def(0x1d9)](),'scopes':this[_0x187def(0x207)](_0x2e0fa5),'file_name':_0x1c9fdc,'vc_filepath':_0x37de6a?path[_0x187def(0x255)](_0x37de6a,_0x394173):null,'location':_0x1c9fdc,'result':_0x4bccea,'failure_reason':_0x580227,'duration_in_ms':_0x2e0fa5['duration']||(_0x43340c[_0x187def(0x1bc)]||_0x43340c[_0x187def(0x263)])?_0x4d2b23[_0x187def(0x25e)](Date[_0x187def(0x1d8)](),new Date(_0x2e0fa5[_0x187def(0x19b)])[_0x187def(0x226)]()):null,'started_at':new Date(_0x2e0fa5[_0x187def(0x19b)])[_0x187def(0x1ab)](),'finished_at':_0x450582,'failure':testOpsHelper[_0x187def(0x27a)]['apply'](null,_0x517ada),'failure_type':!_0x580227?null:testOpsHelper[_0x187def(0x1b3)](_0x580227),'retry_of':_0x2e0fa5[_0x187def(0x232)]||null,'tags':_0x2e0fa5['tags']||[],'customRerunParam':{'rerun_name':_0x2e0fa5['fullTitle']()}};_0x4d2b23['fgIHE'](appendTesthubParams,_0x5e18bd,_0x4b69ed,_0x2e0fa5,FRAMEWORKS[_0x187def(0x253)]);if(_0x43340c['hook'])[_0x5e18bd['hook_type'],_0x5e18bd[_0x187def(0x218)]]=[this[_0x187def(0x247)](_0x2e0fa5),_0x2e0fa5[_0x187def(0x1c5)]['test'][_0x187def(0x1b0)]],_0x43340c[_0x187def(0x1bc)]?_0x4d2b23[_0x187def(0x1bf)](_0x5e18bd[_0x187def(0x1a8)],_0x4d2b23[_0x187def(0x233)])&&(_0x5e18bd[_0x187def(0x1a8)]=_0x4d2b23[_0x187def(0x20a)]):_0x5e18bd['body']={};else _0x43340c[_0x187def(0x1ee)]&&(this[_0x187def(0x23e)](_0x2e0fa5),_0x43340c[_0x187def(0x263)]&&this[_0x187def(0x219)](_0x2e0fa5),(_0x43340c[_0x187def(0x1bc)]||_0x43340c[_0x187def(0x263)])&&(_0x5e18bd[_0x187def(0x1cd)]=this['getHooksForTest'](_0x2e0fa5)));this[_0x187def(0x230)]&&(_0x43340c['started']||_0x43340c[_0x187def(0x263)])&&(_0x5e18bd[_0x4d2b23[_0x187def(0x27b)]]=this[_0x187def(0x1e8)](this[_0x187def(0x230)]));_0x43340c['test']&&_0x43340c[_0x187def(0x1bc)]&&_0x2e0fa5[_0x187def(0x23b)]&&(_0x5e18bd[_0x4d2b23[_0x187def(0x21b)]]={'feature':{'name':_0x2e0fa5['parent'][_0x187def(0x1b1)][_0x187def(0x218)],'path':_0x5e18bd[_0x187def(0x205)],'description':_0x2e0fa5[_0x187def(0x1f2)]['comment']},'scenario':{'name':_0x2e0fa5[_0x187def(0x1b0)]},'steps':_0x2e0fa5[_0x187def(0x23b)]});const _0x472ce5=_0x5e18bd[_0x4d2b23[_0x187def(0x1dc)]][0x0];_0x472ce5&&(_0x5e18bd[_0x4d2b23['KIYCq']]=_0x472ce5[_0x4d2b23[_0x187def(0x214)]],_0x5e18bd[_0x4d2b23[_0x187def(0x25d)]]=_0x472ce5[_0x4d2b23['CuVzS']]);if(_0x2e0fa5[_0x187def(0x23b)])for(const _0x5c8181 of _0x2e0fa5[_0x187def(0x23b)]){!_0x5c8181[_0x187def(0x19c)]&&(_0x5c8181[_0x187def(0x19c)]=new Date()['toISOString'](),_0x4d2b23[_0x187def(0x22a)](_0x5c8181['result'],_0x4d2b23['WRFpd'])&&(_0x472ce5?(_0x5c8181[_0x187def(0x1a8)]=_0x4d2b23['IoApK'],_0x5c8181[_0x187def(0x21e)]=_0x472ce5[_0x4d2b23[_0x187def(0x214)]][0x0]):_0x5c8181[_0x187def(0x1a8)]=_0x4d2b23[_0x187def(0x20a)]));}const _0x36904b={};_0x36904b[_0x187def(0x26d)]=_0x43340c[_0x187def(0x263)]?TEST_EVENTS[_0x187def(0x224)]:_0x4b69ed;const _0x35e045=_0x36904b;return _0x43340c['hook']?_0x35e045[_0x4d2b23[_0x187def(0x283)]]=_0x5e18bd:_0x35e045[_0x4d2b23[_0x187def(0x1a5)]]=_0x5e18bd,_0x35e045;}catch(_0x147319){logger['debug'](_0x187def(0x20e)+_0x4b69ed+_0x187def(0x1b5)+_0x147319);}}async[a4_0x627e9(0x1ec)](_0x4c5f0b,_0x582aa3){const _0x34310c=a4_0x627e9;if(!this['enabled']||!_0x582aa3||!_0x4c5f0b)return![];try{return await SessionHandler[_0x34310c(0x1b4)](_0x582aa3);}catch(_0x1ea901){logger[_0x34310c(0x1cc)]('Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20'+_0x4c5f0b+_0x34310c(0x1b5)+_0x1ea901);}}[a4_0x627e9(0x26c)](_0x108dee){const _0x4e8a66=a4_0x627e9,_0x34a427={};_0x34a427[_0x4e8a66(0x1af)]=_0x4e8a66(0x1be);const _0x183832=_0x34a427;return{'id':_0x108dee[_0x4e8a66(0x27e)],'text':_0x108dee[_0x4e8a66(0x198)],'keyword':_0x108dee[_0x4e8a66(0x269)],'started_at':_0x108dee[_0x4e8a66(0x19b)][_0x4e8a66(0x1ab)](),'result':_0x183832[_0x4e8a66(0x1af)]};}[a4_0x627e9(0x273)](_0x172298){const _0x2c36be=a4_0x627e9,_0x1d4bd4={'vmeqp':function(_0x5b25ec){return _0x5b25ec();}};!this[_0x2c36be(0x203)][_0x2c36be(0x23b)]&&(this[_0x2c36be(0x203)][_0x2c36be(0x23b)]=[]),!_0x172298[_0x2c36be(0x27e)]&&(_0x172298[_0x2c36be(0x27e)]=_0x1d4bd4[_0x2c36be(0x1c8)](uuidv4),_0x172298[_0x2c36be(0x19b)]=new Date(),this['currentTest']['bddSteps'][_0x2c36be(0x1bb)](this['initializeBddStep'](_0x172298)));}['bddStepFinish'](_0x25d5f7){const _0x447d9a=a4_0x627e9,_0x7a0187={'rbgZE':function(_0x5eef5d,_0x52edbe){return _0x5eef5d(_0x52edbe);},'ToTnJ':'success','gJxZQ':_0x447d9a(0x1be),'UIRYL':_0x447d9a(0x229),'SyEhm':function(_0x47591c,_0x34707e){return _0x47591c-_0x34707e;}};let _0x1472db=this[_0x447d9a(0x203)]['bddSteps'][_0x447d9a(0x24d)](_0x3a6562=>_0x3a6562['id']===_0x25d5f7[_0x447d9a(0x27e)]);_0x7a0187[_0x447d9a(0x265)](isUndefined,_0x1472db)&&(_0x1472db=this['initializeBddStep'](_0x25d5f7)),_0x1472db[_0x447d9a(0x1a8)]=[_0x7a0187[_0x447d9a(0x252)],_0x7a0187[_0x447d9a(0x1c2)]][_0x447d9a(0x28a)](_0x25d5f7[_0x447d9a(0x1f1)])?_0x7a0187[_0x447d9a(0x1da)]:_0x25d5f7['status'],_0x1472db['finished_at']=new Date()[_0x447d9a(0x1ab)](),_0x1472db[_0x447d9a(0x272)]=_0x7a0187['SyEhm'](Date['now'](),_0x25d5f7[_0x447d9a(0x19b)][_0x447d9a(0x226)]()),_0x1472db['failure']=_0x25d5f7[_0x447d9a(0x1d5)]?_0x25d5f7['err'][_0x447d9a(0x249)]:null;}}function a4_0x321f(){const _0x992aa6=['HOOK_RUN_STARTED','match','join','HookRunStarted','urYqP','WkASW','removeAllListeners','then','currentTest','fpbtm','file_name','14ksJMaP','getHierarchy','Failed\x20to\x20parse\x20wsendpoint\x20','VFLbA','qzJzE','xgkkH','GELOY','JzzfK','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','Trqmd','sep','CBTSessionCreated','currentHook','exports','FJfTV','test_run','meta','sendCBTInfo','name','resetSkipTestHooks','jIeWd','Xmpbh','browserType.js','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','failure','enabled','markedStatus','GaEMb','ugBhR','testAnalyticsId','TEST_RUN_FINISHED','_afterAll','getTime','failed','File\x20path\x20could\x20not\x20be\x20found','passed','SmLdD','pyDCU','56408VUokGW','JsDlX','toLowerCase','OzqUW','driver','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','retryOf','IoApK','string','bind','__cloud_provider___','../playwright/accessibility-helper','client','obsBrowserTypeMockApplied','../../helpers/testhub/utils.js','bddSteps','oIUxS','expanded','mapTestHooks','constructor','ojsqn','srkVN','ydNFQ','concat','hookAnalyticsId','MepeR','TestRunSkipped','getHookType','started','message','defineProperty','apply','WRFpd','find','docjL','205929lkTewM','wsEndpoint','start','ToTnJ','CODECEPT','../../helpers/test-observability/requestQueueHandler','relative','prefixTestPath','hook_run','47781heORip','statSync','failure_reason_expanded','file','rQmOI','hxNKD','unDwI','length','_paths','Fawxe','fdVqg','skipped','codeceptjs','rbgZE','browserstack','iYGXT','../../helpers/test-observability/constants','keyword','BMOMT','UyyKy','initializeBddStep','event_type','frameworkName','util','../../helpers/test-observability/utils','groups','duration','bddStepStart','pid','TMJaM','BROWSERSTACK','335903hQkcwb','patchConsoleLogger','location_prefix','failureData','ozBQP','IDlaK','Checking\x20for\x20accessibility\x20automation\x20session\x20with\x20','stepAnalyticsId','setupBrowserDetails','getHooksForTest','jKlit','__platformCaps','rVKHX','3|0|2|4|5|1','TestRunStarted','bs:addLog:','getRootParentFile','BrowserType','lyymm','includes','../utils/constants','TEST_EVENTS','EsRWj','suites','../../helpers/logger','winstonLogger','5vSqqQJ','KZnUj','IYAbM','yQxBL','text','XEdXz','./helper.js','startedAt','finished_at','uuid','_beforeEach','failure_backtrace','hook','../playwright/sessionDetails','findGitConfig','failed\x20to\x20get\x20root\x20parent\x20file\x20','bHrcJ','unWaB','70oGlJOs','inspect','result','test_run_uuid','backtrace','toISOString','appendTestItemLog','forEach','xQCoc','zeaEE','title','feature','ykxhw','getFailureType','uploadEventData','\x20with\x20error\x20:\x20','VPtvt','_beforeAll','integrations','HookRunFinished','launch','push','finished','PathHelper','pending','MoCQT','dirname','17702586RcJCXU','gJxZQ','O11yHelper','errorsDetailed','ctx','TEST_RUN_STARTED','eZEOL','vmeqp','Playwright','LogCreated','QHfwq','debug','hooks','_afterEach','ZSyML','toString','IJvql','_testEnv','Ncrri','GmvVa','err','CBQzw','../../helpers/test-observability/sessionHandler','now','fullTitle','UIRYL','ZnPCI','UArHo','STATE_PASSED','STATE_FAILED','TestRunFinished','cwd','lib','44FxyJCD','299592muURzl','stop','getInstance','connect','Vkiqt','getCBTInfo','xDVHP','hook_run_uuid','ipiOL','fireEvent','DSJfy','test','replace','jsjgu','status','parent','LbhdQ','toUpperCase','NUpft','yYKHM','fPhjw','javascript','VCMFW','1316946FAjbgs'];a4_0x321f=function(){return _0x992aa6;};return a4_0x321f();}const a4_0x3426f0={};a4_0x3426f0[a4_0x627e9(0x1c3)]=O11yHelper,a4_0x3426f0[a4_0x627e9(0x1dd)]=STATE_PASSED,a4_0x3426f0[a4_0x627e9(0x1de)]=STATE_FAILED,a4_0x3426f0[a4_0x627e9(0x28c)]=TEST_EVENTS,module[a4_0x627e9(0x213)]=a4_0x3426f0;
1
+ const a4_0x50377c=a4_0x4ce7;(function(_0x3c7110,_0x31a018){const _0x4bce42=a4_0x4ce7,_0x341824=_0x3c7110();while(!![]){try{const _0x1f42d5=-parseInt(_0x4bce42(0x1b8))/0x1+parseInt(_0x4bce42(0x221))/0x2+parseInt(_0x4bce42(0x217))/0x3*(parseInt(_0x4bce42(0x1cb))/0x4)+-parseInt(_0x4bce42(0x194))/0x5*(parseInt(_0x4bce42(0x21c))/0x6)+-parseInt(_0x4bce42(0x15b))/0x7*(parseInt(_0x4bce42(0x1c5))/0x8)+parseInt(_0x4bce42(0x1f3))/0x9*(-parseInt(_0x4bce42(0x1b9))/0xa)+parseInt(_0x4bce42(0x1bc))/0xb;if(_0x1f42d5===_0x31a018)break;else _0x341824['push'](_0x341824['shift']());}catch(_0x1cc298){_0x341824['push'](_0x341824['shift']());}}}(a4_0x4907,0xb5de2));function a4_0x4ce7(_0x53fc69,_0x223fd1){const _0x490799=a4_0x4907();return a4_0x4ce7=function(_0x4ce766,_0x3e0988){_0x4ce766=_0x4ce766-0x157;let _0x3c9c4a=_0x490799[_0x4ce766];return _0x3c9c4a;},a4_0x4ce7(_0x53fc69,_0x223fd1);}const path=require(a4_0x50377c(0x1fc)),fs=require('fs'),{v4:uuidv4}=require(a4_0x50377c(0x1c4)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x50377c(0x1de)),testOpsHelper=require(a4_0x50377c(0x173)),{getTestEnv}=require('../mocha/test-observability/mochaUtils'),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),logger=require(a4_0x50377c(0x193))['winstonLogger'],SessionHandler=require(a4_0x50377c(0x1dc)),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),PlaywrightSessionDetails=require(a4_0x50377c(0x1d8)),debug=testOpsHelper[a4_0x50377c(0x159)],{processAccessibilityCaps}=require('../playwright/accessibility-helper'),Constants=require('../utils/constants'),{fetchPlatformDetails}=require(a4_0x50377c(0x1d3)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x50377c(0x163)),STATE_PASSED='passed',STATE_FAILED=a4_0x50377c(0x17e),a4_0x4518a1={};a4_0x4518a1[a4_0x50377c(0x1e5)]=a4_0x50377c(0x1b6),a4_0x4518a1[a4_0x50377c(0x1cd)]=a4_0x50377c(0x1a7),a4_0x4518a1[a4_0x50377c(0x1f9)]=a4_0x50377c(0x176),a4_0x4518a1[a4_0x50377c(0x1ed)]='HookRunStarted',a4_0x4518a1[a4_0x50377c(0x218)]='HookRunFinished';const TEST_EVENTS=a4_0x4518a1,parseEvent=_0x364633=>{const _0x577c3a=a4_0x50377c,_0x3d472d={};_0x3d472d['WgUrj']=function(_0x20ce1a,_0x3ea318){return _0x20ce1a<_0x3ea318;},_0x3d472d['fGnxc']=function(_0x1e975f,_0x18da73){return _0x1e975f===_0x18da73;},_0x3d472d[_0x577c3a(0x1c7)]=_0x577c3a(0x17c),_0x3d472d[_0x577c3a(0x22c)]=function(_0x4b8196,_0x5c36bd){return _0x4b8196===_0x5c36bd;},_0x3d472d[_0x577c3a(0x1e9)]=_0x577c3a(0x251),_0x3d472d[_0x577c3a(0x1f6)]=_0x577c3a(0x1e2),_0x3d472d[_0x577c3a(0x22d)]=function(_0xbdd650,_0x29ec76){return _0xbdd650===_0x29ec76;},_0x3d472d[_0x577c3a(0x1bd)]='started',_0x3d472d[_0x577c3a(0x1d2)]=_0x577c3a(0x209);const _0x33c8a6=_0x3d472d,_0x2cb234=_0x364633[_0x577c3a(0x1df)](/^(.*)Run(.*)$/);if(!_0x2cb234)return null;if(_0x33c8a6[_0x577c3a(0x1e1)](_0x2cb234[_0x577c3a(0x215)],0x3))return null;const _0x57a327=_0x2cb234[0x1][_0x577c3a(0x167)](),_0x30618b=_0x2cb234[0x2][_0x577c3a(0x167)]();return{'test':_0x33c8a6['fGnxc'](_0x57a327,_0x33c8a6[_0x577c3a(0x1c7)]),'hook':_0x33c8a6['mIfjS'](_0x57a327,_0x33c8a6['KCMZo']),'skipped':_0x33c8a6[_0x577c3a(0x1a0)](_0x30618b,_0x33c8a6[_0x577c3a(0x1f6)]),'started':_0x33c8a6[_0x577c3a(0x22d)](_0x30618b,_0x33c8a6[_0x577c3a(0x1bd)]),'finished':_0x33c8a6['mIfjS'](_0x30618b,_0x33c8a6[_0x577c3a(0x1d2)])};},mockPWBrowserType=_0x55b6c8=>{const _0x1ae57c=a4_0x50377c,_0x2e73af={'kKyGY':function(_0x503657,_0x20bd06){return _0x503657===_0x20bd06;},'RqEHA':'string','SYENe':function(_0x22d0a5,_0x43c03e,_0x52e1ad){return _0x22d0a5(_0x43c03e,_0x52e1ad);},'VaVXV':'wsEndpoint','BVgLT':function(_0x14b80d,_0x1bafdd){return _0x14b80d(_0x1bafdd);},'cIZNv':'browserstack','OvkUG':_0x1ae57c(0x1c8),'acoGO':_0x1ae57c(0x1eb),'hmIFp':'browserType.js','noSsV':_0x1ae57c(0x19b),'RecCw':_0x1ae57c(0x22a),'hsglD':'launch'},_0x267128=path[_0x1ae57c(0x16b)](_0x2e73af[_0x1ae57c(0x228)],_0x2e73af['acoGO'],_0x2e73af[_0x1ae57c(0x213)]),_0x749490=_0x2e73af[_0x1ae57c(0x16e)](importFileFromPWCore,_0x267128);if(!_0x749490){_0x2e73af[_0x1ae57c(0x16e)](debug,_0x2e73af[_0x1ae57c(0x1f2)]);return;}const _0x47b92d=_0x749490[_0x1ae57c(0x175)],_0x4aac2a=_0x47b92d[_0x1ae57c(0x198)];if(_0x4aac2a['obsBrowserTypeMockApplied'])return;const _0x461af2=_0x4aac2a[_0x1ae57c(0x22a)];Object[_0x1ae57c(0x24b)](_0x4aac2a,_0x2e73af[_0x1ae57c(0x22e)],{'get':function(){return async function _0x36f5bf(_0x584fc8,_0x399a74){const _0x3b024f=a4_0x4ce7,_0x14a905={'Jrkxv':function(_0x3241ed,_0x9489fb){const _0x45711a=a4_0x4ce7;return _0x2e73af[_0x45711a(0x19f)](_0x3241ed,_0x9489fb);},'GMYWm':_0x2e73af['RqEHA']},_0x27c6ee=_0x2e73af[_0x3b024f(0x250)](nestedKeyValue,_0x584fc8,[_0x2e73af[_0x3b024f(0x1d5)]])||_0x584fc8;let _0x1ec66f=null,_0x55b254=null;try{[_0x55b254,_0x1ec66f]=_0x27c6ee?_0x2e73af[_0x3b024f(0x16e)](parseWSEndpoint,_0x27c6ee):[null,null],global[_0x3b024f(0x1e7)]=_0x1ec66f,logger[_0x3b024f(0x159)]('Checking\x20for\x20accessibility\x20automation\x20session\x20with\x20'+_0x55b254),_0x55b254['includes'](Constants[_0x3b024f(0x21e)])&&(global[_0x3b024f(0x1a5)]=_0x2e73af['cIZNv']);}catch(_0x24d8a4){logger[_0x3b024f(0x159)](_0x3b024f(0x225)+_0x27c6ee+'\x20'+_0x24d8a4);}_0x2e73af[_0x3b024f(0x250)](processAccessibilityCaps,_0x1ec66f,_0x55b254);if(global[_0x3b024f(0x247)]){const _0x1c1675=await _0x4aac2a[_0x3b024f(0x226)]['apply'](this,[''+Constants[_0x3b024f(0x1d4)]+_0x2e73af[_0x3b024f(0x16e)](encodeURIComponent,JSON[_0x3b024f(0x235)](_0x1ec66f))]);return PlaywrightSessionDetails[_0x3b024f(0x1b0)](_0x1c1675,_0x55b6c8,_0x27c6ee),_0x1c1675;}return _0x461af2[_0x3b024f(0x1c6)](this,arguments)[_0x3b024f(0x242)](_0x5a5739=>{const _0x1a155a=_0x3b024f;let _0xdb3adf=_0x584fc8[_0x1a155a(0x24a)];return _0x14a905[_0x1a155a(0x179)](typeof _0x584fc8,_0x14a905[_0x1a155a(0x183)])&&(_0xdb3adf=_0x584fc8),PlaywrightSessionDetails[_0x1a155a(0x1b0)](_0x5a5739,_0x55b6c8,_0xdb3adf),_0x5a5739;});};}});const _0x276f71=_0x4aac2a[_0x1ae57c(0x1da)];Object[_0x1ae57c(0x24b)](_0x4aac2a,_0x2e73af[_0x1ae57c(0x207)],{'get':function(){return async function _0x479ca0(){const _0x4f9a9b=a4_0x4ce7;return _0x276f71[_0x4f9a9b(0x1c6)](this,arguments)['then'](_0x456256=>{const _0x3d5733=_0x4f9a9b;return PlaywrightSessionDetails[_0x3d5733(0x1b0)](_0x456256,null),_0x456256;});};}});};class O11yHelper{['currentTest']=null;['currentHook']=null;['enabled']=![];[a4_0x50377c(0x1bb)]=![];constructor(_0x1f3795,_0xbd45fd){const _0x1fa980=a4_0x50377c,_0x40f487={'rosRT':_0x1fa980(0x1ee),'GDYWv':function(_0x3247b6,_0x4ce574){return _0x3247b6===_0x4ce574;},'TdigY':'Playwright','rwCjY':function(_0x4b5394,_0x34d7fc){return _0x4b5394(_0x34d7fc);},'jQLaG':function(_0x302e80){return _0x302e80();}},_0x349973=_0x40f487[_0x1fa980(0x222)][_0x1fa980(0x18c)]('|');let _0x401257=0x0;while(!![]){switch(_0x349973[_0x401257++]){case'0':this[_0x1fa980(0x206)]&&_0x40f487[_0x1fa980(0x178)](this[_0x1fa980(0x206)][_0x1fa980(0x18d)][_0x1fa980(0x216)],_0x40f487[_0x1fa980(0x157)])&&_0x40f487[_0x1fa980(0x1ba)](mockPWBrowserType,null);continue;case'1':this[_0x1fa980(0x15d)]=_0x40f487[_0x1fa980(0x244)](getTestEnv);continue;case'2':this[_0x1fa980(0x206)]=_0x1f3795;continue;case'3':this[_0x1fa980(0x1bb)]=_0xbd45fd[_0x1fa980(0x1bb)];continue;case'4':this['enabled']=_0x40f487[_0x1fa980(0x244)](shouldProcessEventForTesthub);continue;case'5':this['_paths']=new testOpsHelper[(_0x1fa980(0x1a1))]({'cwd':process[_0x1fa980(0x1b2)]()},this[_0x1fa980(0x15d)][_0x1fa980(0x208)]);continue;}break;}}[a4_0x50377c(0x219)](){const _0x33b380=a4_0x50377c;if(!this[_0x33b380(0x1a9)])return;testOpsHelper[_0x33b380(0x1af)](),process[_0x33b380(0x21a)](_0x33b380(0x1ad)+process[_0x33b380(0x1f1)]),process['on']('bs:addLog:'+process[_0x33b380(0x1f1)],this[_0x33b380(0x1c1)][_0x33b380(0x17d)](this));}async[a4_0x50377c(0x1d6)](){const _0x75c283=a4_0x50377c;await RequestQueueHandler[_0x75c283(0x1a3)]()[_0x75c283(0x237)]();}async[a4_0x50377c(0x1c1)](_0x2a579c){const _0x25c2a4=a4_0x50377c,_0x3bcfe9={'nkYnt':'LogCreated','PzolD':function(_0x2e5952,_0x4d3281){return _0x2e5952(_0x4d3281);}};try{this[_0x25c2a4(0x232)]&&!this[_0x25c2a4(0x232)][_0x25c2a4(0x246)]&&(_0x2a579c[_0x25c2a4(0x1bf)]=this[_0x25c2a4(0x232)]['hookAnalyticsId']);!_0x2a579c[_0x25c2a4(0x1bf)]&&this[_0x25c2a4(0x197)]&&!this[_0x25c2a4(0x197)][_0x25c2a4(0x246)]&&(_0x2a579c['test_run_uuid']=this['currentTest'][_0x25c2a4(0x24f)]);if(_0x2a579c[_0x25c2a4(0x1bf)]||_0x2a579c[_0x25c2a4(0x231)]){const _0x3e4caf={};_0x3e4caf['event_type']=_0x3bcfe9[_0x25c2a4(0x1d9)],_0x3e4caf[_0x25c2a4(0x1cf)]=[_0x2a579c],await SessionHandler[_0x25c2a4(0x1ab)](_0x3e4caf);}}catch(_0x3021d7){_0x3bcfe9[_0x25c2a4(0x1e4)](debug,_0x25c2a4(0x233)+_0x3021d7);}}async[a4_0x50377c(0x1fe)](_0x3b98e3){const _0x12a463=a4_0x50377c,_0x109763={'bVtYz':'CBTSessionCreated','fvEMO':function(_0x13d8e5,_0xea4aa7){return _0x13d8e5(_0xea4aa7);}};if(!this[_0x12a463(0x1a9)])return;const _0x2c8a3b=this[_0x12a463(0x1ca)](this[_0x12a463(0x206)]);try{const _0x567386={};_0x567386[_0x12a463(0x1c4)]=_0x3b98e3,_0x567386[_0x12a463(0x1dd)]=_0x2c8a3b;const _0x46cecf=_0x567386,_0x3efd1c={};_0x3efd1c[_0x12a463(0x1c0)]=_0x109763['bVtYz'],_0x3efd1c[_0x12a463(0x227)]=_0x46cecf,await SessionHandler[_0x12a463(0x1ab)](_0x3efd1c);}catch(_0x7fdd05){_0x109763[_0x12a463(0x165)](debug,_0x12a463(0x1d7)+_0x7fdd05);}}[a4_0x50377c(0x1ca)](_0x4c6d33){const _0x3d29a1=a4_0x50377c,_0x79a290={'cezKX':function(_0x244ddd,_0x2d6d11){return _0x244ddd(_0x2d6d11);}};return _0x79a290[_0x3d29a1(0x212)](fetchPlatformDetails,_0x4c6d33);}['resetSkipTestHooks']=_0x1afd45=>{const _0x5db652=a4_0x50377c,_0xfd0eaf={};_0xfd0eaf[_0x5db652(0x17f)]='_beforeEach',_0xfd0eaf[_0x5db652(0x19c)]=_0x5db652(0x20d);const _0x5de7e8=_0xfd0eaf;if(!_0x1afd45||!_0x1afd45[_0x5db652(0x1e0)])return;[_0x5de7e8['WDYSU'],_0x5de7e8['TUSbv']][_0x5db652(0x174)](_0x2a3f22=>{const _0x43044a=_0x1afd45['parent'][_0x2a3f22];_0x43044a['forEach'](_0x5519a0=>{const _0x1b1fd5=a4_0x4ce7;_0x5519a0['hookAnalyticsId']&&(_0x5519a0[_0x1b1fd5(0x191)]=null);});});};[a4_0x50377c(0x1fa)](_0x394a11){const _0x527d92=a4_0x50377c,_0x20f6c6={'YEKWw':_0x527d92(0x224),'HJYmN':function(_0x5016e7){return _0x5016e7();},'RJvRX':function(_0x4f6fcc,_0x24cd6e){return _0x4f6fcc===_0x24cd6e;},'arHAl':'_afterEach','yptgI':function(_0x3491c0){return _0x3491c0();},'AdzNq':_0x527d92(0x18f),'gVrcb':_0x527d92(0x20e),'MXjbh':_0x527d92(0x1f8)};if(!_0x394a11||!_0x394a11[_0x527d92(0x1e0)])return;[_0x20f6c6[_0x527d92(0x245)],_0x20f6c6[_0x527d92(0x249)],_0x20f6c6[_0x527d92(0x1a8)],_0x20f6c6[_0x527d92(0x187)]]['forEach'](_0xd1a108=>{const _0x2fb7e6=_0x527d92,_0x167a25=_0x394a11[_0x2fb7e6(0x1e0)][_0xd1a108]||[];_0x167a25[_0x2fb7e6(0x174)](_0x543da2=>{const _0x29f7fa=_0x2fb7e6;if(_0x543da2[_0x29f7fa(0x1ea)][_0x29f7fa(0x1db)](_0x20f6c6[_0x29f7fa(0x1ec)]))return;if(!_0x543da2[_0x29f7fa(0x191)])_0x543da2['hookAnalyticsId']=_0x20f6c6[_0x29f7fa(0x1e3)](uuidv4);else _0x543da2['markedStatus']&&_0x20f6c6[_0x29f7fa(0x21b)](_0xd1a108,_0x20f6c6['arHAl'])&&(_0x543da2[_0x29f7fa(0x191)]=_0x20f6c6[_0x29f7fa(0x182)](uuidv4),delete _0x543da2[_0x29f7fa(0x246)]);});}),this[_0x527d92(0x1fa)](_0x394a11[_0x527d92(0x1e0)]);}[a4_0x50377c(0x164)](_0x3b57c0){const _0x35937a=a4_0x50377c,_0x65391b={};_0x65391b[_0x35937a(0x1c9)]='_beforeAll',_0x65391b[_0x35937a(0x214)]=_0x35937a(0x20e),_0x65391b['ydwqN']=_0x35937a(0x1f8),_0x65391b[_0x35937a(0x161)]=_0x35937a(0x20d);const _0x21b463=_0x65391b;if(!_0x3b57c0||!_0x3b57c0['parent'])return[];const _0x3ef8c2=[];return[_0x21b463['AGaGI'],_0x21b463[_0x35937a(0x214)],_0x21b463[_0x35937a(0x238)],_0x21b463[_0x35937a(0x161)]][_0x35937a(0x174)](_0x54b99c=>{const _0x3865c8=_0x3b57c0['parent'][_0x54b99c]||[];_0x3865c8['forEach'](_0x367a33=>{const _0x530a95=a4_0x4ce7;_0x367a33['hookAnalyticsId']&&_0x3ef8c2[_0x530a95(0x211)](_0x367a33[_0x530a95(0x191)]);});}),[]['concat'](_0x3ef8c2,this['getHooksForTest'](_0x3b57c0[_0x35937a(0x1e0)]));}[a4_0x50377c(0x180)](_0x3296c9){const _0x5cc458=a4_0x50377c,_0x3502d1=/^"(?<hook>.*)" hook:.*$/,_0x1a8d77=_0x3296c9[_0x5cc458(0x1ea)],_0x382b80=_0x1a8d77[_0x5cc458(0x1df)](_0x3502d1);if(_0x382b80&&_0x382b80[_0x5cc458(0x20c)])return _0x382b80[_0x5cc458(0x20c)][_0x5cc458(0x251)][_0x5cc458(0x1b5)]()[_0x5cc458(0x15a)]('\x20','_');return null;}[a4_0x50377c(0x185)](_0x5cb428){const _0x4df3fc=a4_0x50377c,_0x177d66={};_0x177d66['QPKty']=function(_0x3c39ab,_0x43b0c0){return _0x3c39ab===_0x43b0c0;},_0x177d66[_0x4df3fc(0x16a)]=function(_0x1a23ec,_0x237dbe){return _0x1a23ec===_0x237dbe;},_0x177d66['Fjpfl']=function(_0x1a9569,_0x15f6f4){return _0x1a9569===_0x15f6f4;},_0x177d66['uLLMZ']=function(_0x4eb304,_0x2cfd13){return _0x4eb304===_0x2cfd13;},_0x177d66[_0x4df3fc(0x1cc)]=_0x4df3fc(0x20f),_0x177d66['GydQg']='config';const _0xd7e958=_0x177d66,_0x4d4fa7=path[_0x4df3fc(0x160)];if(_0xd7e958[_0x4df3fc(0x1be)](_0x5cb428,null)||_0xd7e958['DynDg'](_0x5cb428,'')||_0xd7e958[_0x4df3fc(0x21d)](_0x5cb428,_0x4d4fa7)||_0xd7e958['uLLMZ'](_0x5cb428,path['dirname'](_0x5cb428)))return null;try{return fs[_0x4df3fc(0x1fb)](path[_0x4df3fc(0x16b)](_0x5cb428,_0xd7e958[_0x4df3fc(0x1cc)],_0xd7e958[_0x4df3fc(0x248)])),_0x5cb428;}catch(_0x44a4d6){const _0x4272ae=path['dirname'](_0x5cb428);return this[_0x4df3fc(0x185)](_0x4272ae);}}['getRootParentFile'](_0x13fd25){const _0x159f6e=a4_0x50377c,_0x360d60={};_0x360d60[_0x159f6e(0x181)]=function(_0x5d86b7,_0x21ad4a){return _0x5d86b7>_0x21ad4a;};const _0x4b419a=_0x360d60;if(_0x13fd25[_0x159f6e(0x1ce)])return _0x13fd25[_0x159f6e(0x1ce)];if(_0x13fd25[_0x159f6e(0x24c)]){const _0x14c194=_0x13fd25['ctx'][_0x159f6e(0x197)]?this[_0x159f6e(0x1f7)](_0x13fd25[_0x159f6e(0x24c)][_0x159f6e(0x197)]):null;if(_0x14c194)return _0x14c194;}if(_0x13fd25[_0x159f6e(0x1e0)]){const _0x50b102=this['getRootParentFile'](_0x13fd25[_0x159f6e(0x1e0)])||(_0x13fd25['parent'][_0x159f6e(0x24c)]&&_0x13fd25[_0x159f6e(0x1e0)]['ctx'][_0x159f6e(0x197)]?this[_0x159f6e(0x1f7)](_0x13fd25[_0x159f6e(0x1e0)]['ctx'][_0x159f6e(0x197)]):null);if(_0x50b102)return _0x50b102;_0x13fd25['parent'][_0x159f6e(0x177)]&&_0x4b419a[_0x159f6e(0x181)](_0x13fd25[_0x159f6e(0x1e0)][_0x159f6e(0x177)]['length'],0x0)&&_0x13fd25[_0x159f6e(0x1e0)][_0x159f6e(0x177)][_0x159f6e(0x174)](_0x3fb769=>{const _0x28c097=_0x159f6e,_0x4fe24e=_0x3fb769['ctx']?this[_0x28c097(0x1f7)](_0x3fb769[_0x28c097(0x24c)]):null;if(_0x4fe24e)return _0x4fe24e;});}return null;}[a4_0x50377c(0x195)](_0x58ca37){const _0x270356=a4_0x50377c,_0x2fcc42={};_0x2fcc42[_0x270356(0x1b1)]=function(_0x4e0dd9,_0x3b9d3d){return _0x4e0dd9!==_0x3b9d3d;};const _0x245feb=_0x2fcc42,_0x332785=[];if(_0x58ca37&&_0x58ca37[_0x270356(0x1e0)]){let _0x474181=_0x58ca37[_0x270356(0x1e0)];while(_0x474181&&_0x245feb['aMJQp'](_0x474181['title'],'')){_0x332785['push'](_0x474181[_0x270356(0x1ea)]),_0x474181=_0x474181[_0x270356(0x1e0)];}}return _0x332785;}[a4_0x50377c(0x15f)](_0x261889,_0x47211d,_0x3e58f6=undefined){const _0x5ac274=a4_0x50377c,_0x2ad4dd={'FgIpy':function(_0x415493,_0x2674d8){return _0x415493(_0x2674d8);},'lfLxm':function(_0x4985a7){return _0x4985a7();},'wYzkv':function(_0x352e65){return _0x352e65();},'qkBsK':function(_0x42dd69,_0x3c1559){return _0x42dd69(_0x3c1559);},'unDnV':_0x5ac274(0x18a),'ccQUb':_0x5ac274(0x169),'YEJXU':function(_0x5e2cb6,_0x3065ec){return _0x5e2cb6!==_0x3065ec;},'ukoqQ':_0x5ac274(0x1ff),'rSwWj':_0x5ac274(0x16c),'oFWID':_0x5ac274(0x17e),'BsDbQ':_0x5ac274(0x17a),'FfZNy':_0x5ac274(0x1e2),'YIyil':_0x5ac274(0x234),'RQCdt':function(_0x40b4f6,_0x58c297){return _0x40b4f6-_0x58c297;},'LGnFD':function(_0x3a2b36,_0x419a88,_0x4d0c61,_0x5777bd,_0x490ef2){return _0x3a2b36(_0x419a88,_0x4d0c61,_0x5777bd,_0x490ef2);},'oSoEP':_0x5ac274(0x1dd),'yhwhu':'meta','bFASw':_0x5ac274(0x23b),'YQyUZ':_0x5ac274(0x199),'PsVxO':_0x5ac274(0x210),'hFxdx':_0x5ac274(0x241),'JLFWC':_0x5ac274(0x20b),'vDtkO':function(_0x2658a1,_0x928937){return _0x2658a1===_0x928937;},'aXhKp':_0x5ac274(0x1d0),'gvhZu':'test_run'};if(!this[_0x5ac274(0x1a9)])return;try{if(_0x47211d['fn']&&_0x47211d['fn']['toString']()[_0x5ac274(0x1df)](/browserstack internal helper hook/))return;const _0x2b876b=_0x2ad4dd['FgIpy'](parseEvent,_0x261889);if(!_0x2b876b)return;if(_0x2b876b[_0x5ac274(0x17c)]){this['currentTest']=_0x47211d,this[_0x5ac274(0x232)]=null;if(_0x2b876b[_0x5ac274(0x196)]||_0x2b876b[_0x5ac274(0x1e2)]){_0x47211d[_0x5ac274(0x1f5)]=new Date(),_0x47211d[_0x5ac274(0x246)]=![];if(!_0x47211d[_0x5ac274(0x24f)])_0x47211d[_0x5ac274(0x24f)]=_0x2ad4dd['lfLxm'](uuidv4);else _0x47211d['markedStatus']&&(!_0x47211d[_0x5ac274(0x23c)]&&(_0x47211d[_0x5ac274(0x23c)]=_0x47211d[_0x5ac274(0x24f)]),_0x47211d[_0x5ac274(0x24f)]=_0x2ad4dd['lfLxm'](uuidv4));}}else{if(_0x2b876b['hook']){this[_0x5ac274(0x232)]=_0x47211d;if(_0x2b876b[_0x5ac274(0x196)]){_0x47211d['startedAt']=new Date(),_0x47211d[_0x5ac274(0x246)]=![];if(!_0x47211d[_0x5ac274(0x191)])_0x47211d['hookAnalyticsId']=_0x2ad4dd[_0x5ac274(0x15e)](uuidv4);else _0x47211d[_0x5ac274(0x191)]&&_0x47211d[_0x5ac274(0x246)]&&(_0x47211d[_0x5ac274(0x191)]=_0x2ad4dd[_0x5ac274(0x202)](uuidv4));}}}if(_0x2b876b[_0x5ac274(0x209)]&&_0x47211d['markedStatus'])return;let _0x175cbd;try{_0x175cbd=this[_0x5ac274(0x1f7)](_0x47211d);}catch(_0x33d957){logger['debug']('failed\x20to\x20get\x20root\x20parent\x20file\x20'+_0x33d957),_0x175cbd=null;}const _0x350523=_0x2ad4dd[_0x5ac274(0x24d)](require,_0x2ad4dd[_0x5ac274(0x19d)]);let _0xfb965a=[];_0x3e58f6&&(_0xfb965a=[_0x3e58f6,_0x2ad4dd[_0x5ac274(0x230)]]);const _0x126b46=_0x2ad4dd[_0x5ac274(0x171)](_0x47211d[_0x5ac274(0x18e)],undefined)?_0x350523[_0x5ac274(0x170)](_0x47211d['errorsDetailed'][0x0]):_0x2ad4dd['YEJXU'](_0x3e58f6,undefined)?_0x3e58f6[_0x5ac274(0x1f0)]():undefined,_0x2984e6=_0x175cbd?this[_0x5ac274(0x185)](_0x175cbd):null,_0x15ccd8=_0x175cbd?this[_0x5ac274(0x186)]['prefixTestPath'](this['getRootParentFile'](_0x47211d)):_0x2ad4dd[_0x5ac274(0x204)];let _0xa88d33=_0x2ad4dd[_0x5ac274(0x1c3)];const _0x4320ca=!_0x2b876b[_0x5ac274(0x196)]?new Date()[_0x5ac274(0x16f)]():null;if(_0x2b876b['finished'])_0xa88d33=_0x3e58f6?_0x2ad4dd[_0x5ac274(0x172)]:_0x2ad4dd['BsDbQ'],_0x47211d[_0x5ac274(0x246)]=!![];else _0x2b876b[_0x5ac274(0x1e2)]&&(_0xa88d33=_0x2ad4dd[_0x5ac274(0x1fd)],_0x47211d[_0x5ac274(0x246)]=!![]);const _0x297b0e={'framework':this[_0x5ac274(0x1bb)],'uuid':_0x47211d[_0x5ac274(0x24f)]||_0x47211d['hookAnalyticsId'],'name':_0x47211d['title'],'body':{'lang':_0x2ad4dd['YIyil'],'code':_0x47211d[_0x5ac274(0x236)][_0x5ac274(0x1f0)]()},'type':_0x47211d[_0x5ac274(0x166)],'scope':_0x47211d[_0x5ac274(0x1d1)](),'scopes':this[_0x5ac274(0x195)](_0x47211d),'file_name':_0x15ccd8,'vc_filepath':_0x2984e6?path[_0x5ac274(0x1b3)](_0x2984e6,_0x175cbd):null,'location':_0x15ccd8,'result':_0xa88d33,'failure_reason':_0x126b46,'duration_in_ms':_0x47211d[_0x5ac274(0x1ae)]||(_0x2b876b['finished']||_0x2b876b[_0x5ac274(0x1e2)])?_0x2ad4dd[_0x5ac274(0x18b)](Date[_0x5ac274(0x239)](),new Date(_0x47211d[_0x5ac274(0x1f5)])[_0x5ac274(0x190)]()):null,'started_at':new Date(_0x47211d[_0x5ac274(0x1f5)])[_0x5ac274(0x16f)](),'finished_at':_0x4320ca,'failure':testOpsHelper['failureData'][_0x5ac274(0x1c6)](null,_0xfb965a),'failure_type':!_0x126b46?null:testOpsHelper['getFailureType'](_0x126b46),'retry_of':_0x47211d['retryOf']||null,'tags':_0x47211d[_0x5ac274(0x21f)]||[],'customRerunParam':{'rerun_name':_0x47211d[_0x5ac274(0x1d1)]()}};_0x2ad4dd[_0x5ac274(0x1c2)](appendTesthubParams,_0x297b0e,_0x261889,_0x47211d,FRAMEWORKS[_0x5ac274(0x220)]);if(_0x2b876b[_0x5ac274(0x251)])[_0x297b0e[_0x5ac274(0x229)],_0x297b0e[_0x5ac274(0x216)]]=[this['getHookType'](_0x47211d),_0x47211d[_0x5ac274(0x24c)][_0x5ac274(0x17c)][_0x5ac274(0x1ea)]],_0x2b876b[_0x5ac274(0x209)]?_0x2ad4dd[_0x5ac274(0x171)](_0x297b0e[_0x5ac274(0x243)],_0x2ad4dd[_0x5ac274(0x172)])&&(_0x297b0e[_0x5ac274(0x243)]=_0x2ad4dd[_0x5ac274(0x1a2)]):_0x297b0e[_0x5ac274(0x236)]={};else _0x2b876b[_0x5ac274(0x17c)]&&(this[_0x5ac274(0x1fa)](_0x47211d),_0x2b876b[_0x5ac274(0x1e2)]&&this[_0x5ac274(0x20a)](_0x47211d),(_0x2b876b[_0x5ac274(0x209)]||_0x2b876b['skipped'])&&(_0x297b0e[_0x5ac274(0x1e8)]=this['getHooksForTest'](_0x47211d)));this['driver']&&(_0x2b876b[_0x5ac274(0x196)]||_0x2b876b[_0x5ac274(0x1e2)])&&(_0x297b0e[_0x2ad4dd[_0x5ac274(0x223)]]=this[_0x5ac274(0x1ca)](this['driver']));_0x2b876b['test']&&_0x2b876b[_0x5ac274(0x209)]&&_0x47211d[_0x5ac274(0x19a)]&&(_0x297b0e[_0x2ad4dd[_0x5ac274(0x23e)]]={'feature':{'name':_0x47211d[_0x5ac274(0x1e0)][_0x5ac274(0x1ef)][_0x5ac274(0x216)],'path':_0x297b0e[_0x5ac274(0x1aa)],'description':_0x47211d['parent']['comment']},'scenario':{'name':_0x47211d[_0x5ac274(0x1ea)]},'steps':_0x47211d[_0x5ac274(0x19a)]});const _0x32eee6=_0x297b0e[_0x2ad4dd['bFASw']][0x0];_0x32eee6&&(_0x297b0e[_0x2ad4dd['YQyUZ']]=_0x32eee6[_0x2ad4dd['PsVxO']],_0x297b0e[_0x2ad4dd[_0x5ac274(0x22f)]]=_0x32eee6[_0x2ad4dd[_0x5ac274(0x192)]]);if(_0x47211d[_0x5ac274(0x19a)])for(const _0x2a935b of _0x47211d[_0x5ac274(0x19a)]){!_0x2a935b[_0x5ac274(0x23a)]&&(_0x2a935b[_0x5ac274(0x23a)]=new Date()['toISOString'](),_0x2ad4dd[_0x5ac274(0x1e6)](_0x2a935b[_0x5ac274(0x243)],_0x2ad4dd['rSwWj'])&&(_0x32eee6?(_0x2a935b[_0x5ac274(0x243)]=_0x2ad4dd['oFWID'],_0x2a935b[_0x5ac274(0x23b)]=_0x32eee6[_0x2ad4dd[_0x5ac274(0x22b)]][0x0]):_0x2a935b[_0x5ac274(0x243)]=_0x2ad4dd[_0x5ac274(0x1a2)]));}const _0x289c33={};_0x289c33[_0x5ac274(0x1c0)]=_0x2b876b[_0x5ac274(0x1e2)]?TEST_EVENTS[_0x5ac274(0x1cd)]:_0x261889;const _0x322858=_0x289c33;return _0x2b876b['hook']?_0x322858[_0x2ad4dd[_0x5ac274(0x184)]]=_0x297b0e:_0x322858[_0x2ad4dd['gvhZu']]=_0x297b0e,_0x322858;}catch(_0x4a38c5){logger[_0x5ac274(0x159)](_0x5ac274(0x168)+_0x261889+_0x5ac274(0x158)+_0x4a38c5);}}async[a4_0x50377c(0x188)](_0x2c565c,_0x11a95d){const _0x1031ae=a4_0x50377c;if(!this['enabled']||!_0x11a95d||!_0x2c565c)return![];try{return await SessionHandler['uploadEventData'](_0x11a95d);}catch(_0x21b31f){logger[_0x1031ae(0x159)](_0x1031ae(0x1ac)+_0x2c565c+'\x20with\x20error\x20:\x20'+_0x21b31f);}}[a4_0x50377c(0x16d)](_0x33736f){const _0x1fe339=a4_0x50377c,_0x5882fc={};_0x5882fc['yeizP']=_0x1fe339(0x16c);const _0x14afe1=_0x5882fc;return{'id':_0x33736f[_0x1fe339(0x1f4)],'text':_0x33736f[_0x1fe339(0x201)],'keyword':_0x33736f[_0x1fe339(0x23d)],'started_at':_0x33736f['startedAt'][_0x1fe339(0x16f)](),'result':_0x14afe1[_0x1fe339(0x1a6)]};}[a4_0x50377c(0x23f)](_0x20c6b6){const _0xf2d650=a4_0x50377c,_0x150e4e={'nGjIx':function(_0x40461f){return _0x40461f();}};!this[_0xf2d650(0x197)][_0xf2d650(0x19a)]&&(this[_0xf2d650(0x197)]['bddSteps']=[]),!_0x20c6b6[_0xf2d650(0x1f4)]&&(_0x20c6b6[_0xf2d650(0x1f4)]=_0x150e4e[_0xf2d650(0x240)](uuidv4),_0x20c6b6[_0xf2d650(0x1f5)]=new Date(),this[_0xf2d650(0x197)][_0xf2d650(0x19a)][_0xf2d650(0x211)](this[_0xf2d650(0x16d)](_0x20c6b6)));}['bddStepFinish'](_0x5b1572){const _0x42dabb=a4_0x50377c,_0x399b16={'aPQFm':function(_0xdfd211,_0x140b34){return _0xdfd211(_0x140b34);},'SxWBD':'success','TxFUr':_0x42dabb(0x16c),'PoBHS':_0x42dabb(0x17a),'aUNHy':function(_0x4d65ba,_0x82e5a8){return _0x4d65ba-_0x82e5a8;}};let _0x1b9d4c=this[_0x42dabb(0x197)]['bddSteps'][_0x42dabb(0x189)](_0x21233d=>_0x21233d['id']===_0x5b1572[_0x42dabb(0x1f4)]);_0x399b16['aPQFm'](isUndefined,_0x1b9d4c)&&(_0x1b9d4c=this[_0x42dabb(0x16d)](_0x5b1572)),_0x1b9d4c['result']=[_0x399b16[_0x42dabb(0x1a4)],_0x399b16[_0x42dabb(0x15c)]][_0x42dabb(0x1db)](_0x5b1572[_0x42dabb(0x1b4)])?_0x399b16[_0x42dabb(0x162)]:_0x5b1572[_0x42dabb(0x1b4)],_0x1b9d4c[_0x42dabb(0x23a)]=new Date()['toISOString'](),_0x1b9d4c['duration']=_0x399b16[_0x42dabb(0x19e)](Date[_0x42dabb(0x239)](),_0x5b1572['startedAt'][_0x42dabb(0x190)]()),_0x1b9d4c[_0x42dabb(0x23b)]=_0x5b1572[_0x42dabb(0x169)]?_0x5b1572[_0x42dabb(0x169)][_0x42dabb(0x24e)]:null;}}const a4_0x5c226c={};function a4_0x4907(){const _0x52f38d=['getHooksForTest','fvEMO','type','toLowerCase','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','err','DynDg','join','pending','initializeBddStep','BVgLT','toISOString','inspect','YEJXU','oFWID','../../helpers/test-observability/utils','forEach','BrowserType','TestRunSkipped','suites','GDYWv','Jrkxv','passed','exports','test','bind','failed','WDYSU','getHookType','ezViX','yptgI','GMYWm','aXhKp','findGitConfig','_paths','arHAl','fireEvent','find','util','RQCdt','split','constructor','errorsDetailed','_beforeAll','getTime','hookAnalyticsId','JLFWC','../../helpers/logger','1345bPspRo','getHierarchy','started','currentTest','prototype','failure_backtrace','bddSteps','Not\x20able\x20to\x20import\x20Browser','TUSbv','unDnV','aUNHy','kKyGY','fGnxc','PathHelper','BsDbQ','getInstance','SxWBD','__cloud_provider___','yeizP','TestRunFinished','MXjbh','enabled','file_name','uploadEventData','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','bs:addLog:','duration','patchConsoleLogger','setupBrowserDetails','aMJQp','cwd','relative','status','toUpperCase','TestRunStarted','O11yHelper','1431936JXyoGn','739810dARNYg','rwCjY','frameworkName','10924738vYTsEZ','VqGgB','QPKty','hook_run_uuid','event_type','appendTestItemLog','LGnFD','rSwWj','uuid','73224qTFghm','apply','hocGJ','lib','AGaGI','getCBTInfo','16cVZehj','Dluiz','TEST_RUN_FINISHED','file','logs','hook_run','fullTitle','xPGeH','./helper.js','PLAYWRIGHT_HUB_URL','VaVXV','stop','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','../playwright/sessionDetails','nkYnt','launch','includes','../../helpers/test-observability/sessionHandler','integrations','../../helpers/helper','match','parent','WgUrj','skipped','HJYmN','PzolD','TEST_RUN_STARTED','vDtkO','__platformCaps','hooks','KCMZo','title','client','YEKWw','HOOK_RUN_STARTED','4|3|2|1|5|0','feature','toString','pid','noSsV','18MsWhBn','stepAnalyticsId','startedAt','fQbiq','getRootParentFile','_beforeEach','TEST_RUN_SKIPPED','mapTestHooks','statSync','path','FfZNy','sendCBTInfo','File\x20path\x20could\x20not\x20be\x20found','STATE_FAILED','text','wYzkv','STATE_PASSED','ukoqQ','TEST_EVENTS','driver','hsglD','location_prefix','finished','resetSkipTestHooks','expanded','groups','_afterEach','_afterAll','.git','backtrace','push','cezKX','hmIFp','IVlHK','length','name','1035897yvxQIu','HOOK_RUN_FINISHED','start','removeAllListeners','RJvRX','17706yWAHnF','Fjpfl','BROWSERSTACK','tags','CODECEPT','1781482sTWqVd','rosRT','oSoEP','codeceptjs','Failed\x20to\x20parse\x20wsendpoint\x20','connectOverCDP','test_run','OvkUG','hook_type','connect','PsVxO','mIfjS','htVyO','RecCw','hFxdx','ccQUb','test_run_uuid','currentHook','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','javascript','stringify','body','shutdown','ydwqN','now','finished_at','failure','retryOf','keyword','yhwhu','bddStepStart','nGjIx','failure_reason_expanded','then','result','jQLaG','AdzNq','markedStatus','accessibilityPlatform','GydQg','gVrcb','wsEndpoint','defineProperty','ctx','qkBsK','message','testAnalyticsId','SYENe','hook','TdigY','\x20with\x20error\x20:\x20','debug','replace','112lXikQd','TxFUr','_testEnv','lfLxm','captureEvent','sep','cQzcx','PoBHS','../../helpers/testhub/utils.js'];a4_0x4907=function(){return _0x52f38d;};return a4_0x4907();}a4_0x5c226c[a4_0x50377c(0x1b7)]=O11yHelper,a4_0x5c226c[a4_0x50377c(0x203)]=STATE_PASSED,a4_0x5c226c[a4_0x50377c(0x200)]=STATE_FAILED,a4_0x5c226c[a4_0x50377c(0x205)]=TEST_EVENTS,module[a4_0x50377c(0x17b)]=a4_0x5c226c;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a5_0x5f1b25=a5_0x22f0;(function(_0x9ee350,_0x45d13f){const _0xaeb23a=a5_0x22f0,_0x25af84=_0x9ee350();while(!![]){try{const _0x40b27f=-parseInt(_0xaeb23a(0xdd))/0x1*(-parseInt(_0xaeb23a(0x13d))/0x2)+parseInt(_0xaeb23a(0xff))/0x3*(parseInt(_0xaeb23a(0x11f))/0x4)+parseInt(_0xaeb23a(0xe3))/0x5+parseInt(_0xaeb23a(0x100))/0x6+-parseInt(_0xaeb23a(0x123))/0x7+-parseInt(_0xaeb23a(0x10e))/0x8*(parseInt(_0xaeb23a(0x105))/0x9)+-parseInt(_0xaeb23a(0x128))/0xa*(parseInt(_0xaeb23a(0x102))/0xb);if(_0x40b27f===_0x45d13f)break;else _0x25af84['push'](_0x25af84['shift']());}catch(_0x319113){_0x25af84['push'](_0x25af84['shift']());}}}(a5_0x1606,0x9b524));function a5_0x22f0(_0x78b6a8,_0x31ef71){const _0x1606ac=a5_0x1606();return a5_0x22f0=function(_0x22f0a1,_0x5dc296){_0x22f0a1=_0x22f0a1-0xc9;let _0x52ed8a=_0x1606ac[_0x22f0a1];return _0x52ed8a;},a5_0x22f0(_0x78b6a8,_0x31ef71);}const fs=require('fs'),path=require(a5_0x5f1b25(0x122)),util=require(a5_0x5f1b25(0xd3)),logger=require(a5_0x5f1b25(0xfb))[a5_0x5f1b25(0x120)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a5_0x5f1b25(0xe1)),utilities=require(a5_0x5f1b25(0xd8)),constants=require(a5_0x5f1b25(0x110)),{parallelCucumberRun}=require(a5_0x5f1b25(0x11b)),TestHubHandler=require(a5_0x5f1b25(0x10c)),testOpsHelper=require(a5_0x5f1b25(0x107)),chalk=require(a5_0x5f1b25(0x117)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a5_0x5f1b25(0x101))[a5_0x5f1b25(0x137)];function a5_0x1606(){const _0x1a8ba5=['378216lPxvpQ','\x20ambiguous','../utils/constants','GrVEK','Removing\x20tmp\x20directory\x20created\x20for\x20reports','isBrowserstackInfra','debug','\x20undefined','XhMTI','chalk','length','red','mergeOutputFiles','../test-runner','KxUxT','mRwLq','true','3148756yaVEln','winstonLogger','format','path','5286967xqHMdf','setupTCGAuth','stepsUndefined','wqEbf','stepsAmbiguous','2325710pdkfVX','\x20steps','CUCUMBER','NZBoS','vLiZL','logLevel','start','error\x20removing\x20tcg\x20config\x20file','unlinkSync','steps','KMffD','\x20passed','exports','log','framework','EVENTS','cMIUU','bgWhite','config','errorMessage','VXxFR','10lfYQVh','parseFormatters','testContextOptions','SDK_SETUP','createDir','zRmWi','getTCGConfigFilePaths','green','\x20pending','stepsFailed','GPjPl','bold','cwd','stepsSkipped','PcunM','Generating\x20consolidated\x20report...','join','Unymd','xYlZd','util','LUdGW','useW3C','launchBuild','scenariosFailed','../../helpers/utilities','rmdirSync','xeppR','QvwdU','exitCode','227011WRmCUa','cyan','processSuccess','stepsPassed','../../helpers/helper','initialize','1754475oMhkpT','testObservability','VQnAU','\x20skipped','stringify','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','printBuildLink','getUserWorkerCount','then','env','BROWSERSTACK_TEST_OBSERVABILITY_YML','finalExecution','UbzbM','accessibilityOptions','splice','stepsUnknown','Erwyw','sYaHH','FRAMEWORKS','yellow','QSRVU','\x20failed','LvCcG','../../helpers/logger','skipSessionStatus','assign','prepareCapabilities','3ngbqPM','6271518HGkRUR','../../helpers/performance/constants','33xebLWD','push','scenarios','234DDsVjG','forEach','../../helpers/test-observability/utils','turboScaleUrl','isUndefined','mpHJY','stop','../../helpers/testhub/testhubHandler','tmp'];a5_0x1606=function(){return _0x1a8ba5;};return a5_0x1606();}function printCucumberStats(_0x37d44a){const _0x346443=a5_0x5f1b25,_0x5997cd={};_0x5997cd[_0x346443(0xdb)]=function(_0x6d1718,_0x126ea9){return _0x6d1718>_0x126ea9;},_0x5997cd['Erwyw']=function(_0x3f36d3,_0xb20249){return _0x3f36d3-_0xb20249;},_0x5997cd[_0x346443(0x132)]=function(_0xe6c20e,_0x8c008a){return _0xe6c20e-_0x8c008a;},_0x5997cd[_0x346443(0x10a)]=function(_0x2a401b,_0x30663b){return _0x2a401b>_0x30663b;},_0x5997cd[_0x346443(0xe5)]=function(_0x228ef5,_0x5c05bf){return _0x228ef5>_0x5c05bf;},_0x5997cd['NZBoS']=function(_0x3d40bf,_0x5bba0a){return _0x3d40bf>_0x5bba0a;},_0x5997cd[_0x346443(0x11d)]=function(_0x44d5d7,_0x116aae){return _0x44d5d7>_0x116aae;},_0x5997cd['VXxFR']=function(_0x14dfa4,_0x4d618b){return _0x14dfa4>_0x4d618b;},_0x5997cd[_0x346443(0x142)]=function(_0x27a66b,_0x45b7d5){return _0x27a66b>_0x45b7d5;},_0x5997cd['yTleM']=function(_0x530758,_0x489282){return _0x530758+_0x489282;},_0x5997cd['yQRyF']=function(_0x115ded,_0x11d711){return _0x115ded+_0x11d711;},_0x5997cd[_0x346443(0x126)]=function(_0xc51fa,_0x43e548){return _0xc51fa+_0x43e548;},_0x5997cd[_0x346443(0xf0)]=function(_0x2a0c70,_0x1573a4){return _0x2a0c70+_0x1573a4;},_0x5997cd['sYaHH']=function(_0x4d7037,_0x28a5cf){return _0x4d7037+_0x28a5cf;},_0x5997cd[_0x346443(0xfa)]=function(_0x1fdcf9,_0x557211){return _0x1fdcf9+_0x557211;},_0x5997cd['Unymd']=function(_0x16c2f0,_0x377173){return _0x16c2f0===_0x377173;},_0x5997cd[_0x346443(0xd2)]='****\x20RESULTS\x20****';const _0xb34c5b=_0x5997cd;let _0x5190de=0x0;if(_0xb34c5b[_0x346443(0xd1)](_0x37d44a[_0x346443(0x118)],0x0))return _0x5190de;return console[_0x346443(0x135)](chalk[_0x346443(0xcb)][_0x346443(0x139)](_0xb34c5b['xYlZd'])),_0x37d44a[_0x346443(0x106)](_0xd158f8=>{const _0x39867e=_0x346443,_0x4cbf82=_0xd158f8[0x0],_0x18f371=_0xd158f8[0x1];helper[_0x39867e(0x113)]()&&console['log']('\x0a'+chalk['bold'][_0x39867e(0xf7)](''+helper['getPlatformName'](_0x4cbf82)));const _0x2096a5=_0x18f371[_0x39867e(0x104)],_0x1c06ff=_0x18f371[_0x39867e(0x131)],_0x37040f=_0x18f371[_0x39867e(0xd7)],_0x5f3758=_0x18f371[_0x39867e(0xc9)],_0x44e3ed=_0x18f371[_0x39867e(0xe0)],_0x36955b=_0x18f371[_0x39867e(0xcd)],_0x4d174f=_0x18f371['stepsPending'],_0x1a0504=_0x18f371[_0x39867e(0x125)],_0x361795=_0x18f371[_0x39867e(0xf3)],_0x241fc0=_0x18f371[_0x39867e(0x127)],_0x2e5862=_0x18f371[_0x39867e(0xdf)];let _0x166caa=_0x2096a5+'\x20scenarios';const _0x5c8dbb=_0xb34c5b[_0x39867e(0xdb)](_0xb34c5b[_0x39867e(0xf4)](_0x2096a5,_0x37040f),0x0)?_0xb34c5b[_0x39867e(0x132)](_0x2096a5,_0x37040f):0x0;if(_0xb34c5b[_0x39867e(0xdb)](_0x37040f,0x0)&&_0xb34c5b[_0x39867e(0x10a)](_0x5c8dbb,0x0))_0x166caa+='\x20('+chalk[_0x39867e(0xcb)][_0x39867e(0x119)](_0x37040f+'\x20failed')+',\x20'+chalk['bold'][_0x39867e(0x144)](_0x5c8dbb+_0x39867e(0x133))+')';else(_0xb34c5b[_0x39867e(0xe5)](_0x37040f,0x0)||_0xb34c5b[_0x39867e(0x12b)](_0x5c8dbb,0x0))&&(_0x166caa+=_0xb34c5b[_0x39867e(0x10a)](_0x37040f,0x0)?'\x20('+chalk[_0x39867e(0xcb)]['red'](_0x37040f+_0x39867e(0xf9))+')':'\x20('+chalk['bold']['green'](_0x5c8dbb+'\x20passed')+')');const _0x190f82=_0x1c06ff+_0x39867e(0x129),_0x28a3dd=[];_0xb34c5b[_0x39867e(0x10a)](_0x241fc0,0x0)&&_0x28a3dd[_0x39867e(0x103)](''+chalk[_0x39867e(0xcb)][_0x39867e(0x119)](_0x241fc0+_0x39867e(0x10f)));_0xb34c5b[_0x39867e(0x12b)](_0x5f3758,0x0)&&_0x28a3dd[_0x39867e(0x103)](''+chalk[_0x39867e(0xcb)][_0x39867e(0x119)](_0x5f3758+_0x39867e(0xf9)));_0xb34c5b[_0x39867e(0x11d)](_0x44e3ed,0x0)&&_0x28a3dd[_0x39867e(0x103)](''+chalk[_0x39867e(0xcb)][_0x39867e(0x144)](_0x44e3ed+_0x39867e(0x133)));_0xb34c5b[_0x39867e(0x12b)](_0x4d174f,0x0)&&_0x28a3dd[_0x39867e(0x103)](''+chalk[_0x39867e(0xcb)][_0x39867e(0xf7)](_0x4d174f+_0x39867e(0x145)));_0xb34c5b[_0x39867e(0x13c)](_0x36955b,0x0)&&_0x28a3dd[_0x39867e(0x103)](''+chalk['bold'][_0x39867e(0xde)](_0x36955b+_0x39867e(0xe6)));_0xb34c5b[_0x39867e(0x12b)](_0x1a0504,0x0)&&_0x28a3dd[_0x39867e(0x103)](''+chalk[_0x39867e(0xcb)]['yellow'](_0x1a0504+_0x39867e(0x115)));_0xb34c5b['zRmWi'](_0x361795,0x0)&&_0x28a3dd[_0x39867e(0x103)](''+chalk[_0x39867e(0xcb)][_0x39867e(0xf7)](_0x361795+_0x39867e(0xe6)));const _0x13a4ca=_0xb34c5b['yTleM'](_0xb34c5b['yTleM'](_0xb34c5b['yQRyF'](_0x190f82,'('),_0x28a3dd[_0x39867e(0xd0)](',\x20')),')');console[_0x39867e(0x135)](_0xb34c5b['wqEbf'](_0xb34c5b[_0x39867e(0xf0)](_0xb34c5b[_0x39867e(0xf5)](_0xb34c5b[_0x39867e(0xfa)]('\x0a',_0x166caa),'\x0a'),_0x13a4ca),'\x0a')),_0xb34c5b[_0x39867e(0xd1)](_0x2e5862,![])&&(_0x5190de=0x1);}),_0x5190de;}async function run(_0x5699ea,_0x3715e9,_0x511ed4){const _0x42ed17=a5_0x5f1b25,_0x5a50dd={'xeppR':function(_0x2e0686,_0xbc1691){return _0x2e0686(_0xbc1691);},'LUdGW':function(_0x18199e,_0x392a0d){return _0x18199e>_0x392a0d;},'PcunM':_0x42ed17(0xcf),'QWtSZ':_0x42ed17(0x112),'GPjPl':'cucumber','XhMTI':_0x42ed17(0x12f),'cMIUU':_0x42ed17(0x10d),'QSRVU':function(_0xdfe678,_0x32e056){return _0xdfe678-_0x32e056;},'KxUxT':function(_0x423439,_0xba8673){return _0x423439>=_0xba8673;},'OqjEk':function(_0x10527e,_0x145765){return _0x10527e!=_0x145765;},'vLiZL':_0x42ed17(0x11e),'GrVEK':function(_0x38198e,_0x207374,_0x1a6815,_0x474e54,_0x4cbe5b,_0x39e511){return _0x38198e(_0x207374,_0x1a6815,_0x474e54,_0x4cbe5b,_0x39e511);}};await _0x511ed4[_0x42ed17(0xe2)](_0x5699ea),helper['setUserConfigPath'](_0x511ed4[_0x42ed17(0x136)],_0x5699ea);!helper[_0x42ed17(0x113)]()&&await _0x511ed4[_0x42ed17(0x124)]();await helper['handleApp'](_0x511ed4[_0x42ed17(0x13a)]);const _0x5733c1=helper[_0x42ed17(0xd5)](_0x511ed4[_0x42ed17(0x13a)]);!helper[_0x42ed17(0x109)](_0x511ed4['config'][_0x42ed17(0xf1)])&&(process[_0x42ed17(0xed)][_0x42ed17(0xe9)]=JSON[_0x42ed17(0xe7)](_0x511ed4[_0x42ed17(0x13a)][_0x42ed17(0xf1)]));const _0x2c0366=await TestHubHandler[_0x42ed17(0xd6)](constants[_0x42ed17(0xf6)][_0x42ed17(0x12a)],_0x511ed4);let _0x5284b3=[];if(!helper[_0x42ed17(0x113)]()){const _0x398c05={};_0x398c05['platforms']=[],_0x5284b3=helper[_0x42ed17(0xfe)](Object[_0x42ed17(0xfd)]({},_0x511ed4[_0x42ed17(0x13a)],_0x398c05),_0x5733c1,constants[_0x42ed17(0xf6)][_0x42ed17(0x12a)]);}else _0x5284b3=helper[_0x42ed17(0xfe)](_0x511ed4[_0x42ed17(0x13a)],_0x5733c1,constants[_0x42ed17(0xf6)]['CUCUMBER']);if(!_0x511ed4[_0x42ed17(0x13a)])return;const _0x51c232=_0x511ed4[_0x42ed17(0x13a)]['parallelsPerPlatform']||helper[_0x42ed17(0xeb)](_0x5699ea,_0x3715e9,_0x511ed4[_0x42ed17(0x13a)],constants['FRAMEWORKS'][_0x42ed17(0x12a)])||0x1,_0x1cd90d={'server':helper['getHubUrl'](_0x511ed4[_0x42ed17(0x13a)]),'proxySettings':_0x511ed4[_0x42ed17(0x13a)]['proxySettings'],'maxWorkers':_0x51c232,'browserStackLogLevel':_0x511ed4[_0x42ed17(0x13a)][_0x42ed17(0x12d)],'skipSessionName':_0x511ed4[_0x42ed17(0x13a)][_0x42ed17(0x13f)]['skipSessionName'],'skipSessionStatus':_0x511ed4['config'][_0x42ed17(0x13f)][_0x42ed17(0xfc)],'turboScaleUrl':_0x511ed4['config'][_0x42ed17(0x108)]},_0x5c719f=process['argv'],[_0x4b43b4,_0x2515d9]=helper[_0x42ed17(0x13e)](_0x5c719f),_0xbecce9=path[_0x42ed17(0xd0)](process[_0x42ed17(0xcc)](),_0x5a50dd[_0x42ed17(0x138)]);if(_0x5a50dd[_0x42ed17(0xd4)](_0x2515d9['length'],0x0)){helper[_0x42ed17(0x141)](_0xbecce9);for(let _0x1371ab=_0x5a50dd[_0x42ed17(0xf8)](_0x4b43b4[_0x42ed17(0x118)],0x1);_0x5a50dd[_0x42ed17(0x11c)](_0x1371ab,0x0);_0x1371ab--){_0x5c719f[_0x42ed17(0xf2)](_0x4b43b4[_0x1371ab],0x2);}}_0x5a50dd['OqjEk'](_0x511ed4[_0x42ed17(0x13a)]['testObservability'],null)?process[_0x42ed17(0xed)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x511ed4['config'][_0x42ed17(0xe4)]:process[_0x42ed17(0xed)][_0x42ed17(0xee)]=_0x5a50dd[_0x42ed17(0x12c)];PerformanceTester['end'](PerformanceEvents[_0x42ed17(0x140)]);let _0x26792e;_0x5a50dd[_0x42ed17(0x111)](parallelCucumberRun,_0x5284b3,_0x1cd90d,_0x511ed4[_0x42ed17(0x13a)],_0x5c719f,_0x2515d9)[_0x42ed17(0xec)](async _0x2489d1=>{const _0x4eace1=_0x42ed17;PerformanceTester[_0x4eace1(0x12e)](PerformanceEvents['SDK_CLEANUP']),_0x26792e=_0x2489d1;const _0x5ae983=_0x5a50dd[_0x4eace1(0xda)](printCucumberStats,_0x2489d1);process[_0x4eace1(0xdc)]=_0x5ae983,_0x5a50dd[_0x4eace1(0xd4)](_0x2515d9['length'],0x0)&&(logger[_0x4eace1(0x114)](_0x5a50dd[_0x4eace1(0xce)]),helper[_0x4eace1(0x11a)](_0xbecce9,_0x2515d9),logger['debug'](_0x5a50dd['QWtSZ']),helper['removeDir'](_0xbecce9));})['finally'](async()=>{const _0x257e68=_0x42ed17;PerformanceTester[_0x257e68(0x12e)](PerformanceEvents['SDK_CLEANUP']),_0x511ed4[_0x257e68(0x13b)]=helper['getErrorMessageFromResults'](_0x26792e,_0x5a50dd[_0x257e68(0xca)]),testOpsHelper[_0x257e68(0xea)]();try{await TestHubHandler[_0x257e68(0x10b)]();}catch(_0x39b209){logger['debug'](_0x257e68(0xe8)+util[_0x257e68(0x121)](_0x39b209));}try{const {browserstackFolderPath:_0x4ba7d0,tcgConfigPath:_0x26dd34}=helper[_0x257e68(0x143)]();fs[_0x257e68(0x130)](_0x26dd34),fs[_0x257e68(0xd9)](_0x4ba7d0);}catch(_0x8545fd){logger[_0x257e68(0x114)](_0x5a50dd[_0x257e68(0x116)],_0x8545fd);}await utilities[_0x257e68(0xef)](_0x511ed4);});}module[a5_0x5f1b25(0x134)]=run;
2
+ 'use strict';const a5_0x1e7496=a5_0x4fb3;(function(_0xf8463c,_0x1610db){const _0x2f1740=a5_0x4fb3,_0xb0b3ad=_0xf8463c();while(!![]){try{const _0x203c38=parseInt(_0x2f1740(0xe6))/0x1+-parseInt(_0x2f1740(0x93))/0x2*(-parseInt(_0x2f1740(0x9b))/0x3)+parseInt(_0x2f1740(0xf5))/0x4+parseInt(_0x2f1740(0xf6))/0x5*(-parseInt(_0x2f1740(0xef))/0x6)+-parseInt(_0x2f1740(0x90))/0x7+-parseInt(_0x2f1740(0xf1))/0x8+-parseInt(_0x2f1740(0x8b))/0x9;if(_0x203c38===_0x1610db)break;else _0xb0b3ad['push'](_0xb0b3ad['shift']());}catch(_0x157f15){_0xb0b3ad['push'](_0xb0b3ad['shift']());}}}(a5_0x2910,0x26341));const fs=require('fs'),path=require(a5_0x1e7496(0xe9)),util=require(a5_0x1e7496(0xab)),logger=require(a5_0x1e7496(0x94))[a5_0x1e7496(0xa6)],{default:BrowserStackSetup}=require(a5_0x1e7496(0xc1)),helper=require(a5_0x1e7496(0xf9)),utilities=require('../../helpers/utilities'),constants=require(a5_0x1e7496(0xed)),{parallelCucumberRun}=require(a5_0x1e7496(0x87)),TestHubHandler=require(a5_0x1e7496(0x92)),testOpsHelper=require('../../helpers/test-observability/utils'),chalk=require(a5_0x1e7496(0xfc)),PerformanceTester=require(a5_0x1e7496(0x86)),PerformanceEvents=require(a5_0x1e7496(0xe4))['EVENTS'];function a5_0x2910(){const _0x1f9a54=['setupTCGAuth','svMHZ','scenariosFailed','stepsSkipped','3HIpZAM','mEZtD','ikptv','scenarios','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','rmdirSync','HdscU','yellow','parseFormatters','getPlatformName','framework','winstonLogger','getUserWorkerCount','stepsPassed','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','SDK_CLEANUP','util','stepsUnknown','unlinkSync','cwd','join','HfqfQ','setUserConfigPath','HfrgU','skipSessionStatus','\x20skipped','cyan','stop','error\x20removing\x20tcg\x20config\x20file','SMeus','CUCUMBER','bold','XMwCZ','PbHZi','logLevel','URPtP','printBuildLink','turboScaleUrl','../../helpers/BrowserStackSetup','rgIJQ','cVGQa','rnGNB','\x20steps','debug','tmp','mergeOutputFiles','testContextOptions','RkdMB','getHubUrl','isBrowserstackInfra','Generating\x20consolidated\x20report...','stepsUndefined','finally','FuaXe','splice','exports','getTCGConfigFilePaths','proxySettings','push','DVegn','format','NWkwt','SSDxB','Kgvvq','getErrorMessageFromResults','stepsAmbiguous','hrJFY','accessibilityOptions','exitCode','processSuccess','end','skipSessionName','handleApp','../../helpers/performance/constants','parallelsPerPlatform','300681coqfIf','green','NBRei','path','GDcOA','env','length','../utils/constants','useW3C','16086VuIOok','xJXgn','1186864LePynK','stringify','LLqFG','prepareCapabilities','736916KvjJWa','520EtLpFs','config','start','../../helpers/helper','BROWSERSTACK_TEST_OBSERVABILITY_YML','\x20failed','chalk','\x20undefined','then','kxisz','bgWhite','log','../../helpers/performance/performance-tester','../test-runner','testObservability','createDir','****\x20RESULTS\x20****','1602873lBwjpa','boWin','forEach','stepsPending','FRAMEWORKS','246078UmTUrL','bdnTX','../../helpers/testhub/testhubHandler','624008myiHQN','../../helpers/logger','UhOOX','red'];a5_0x2910=function(){return _0x1f9a54;};return a5_0x2910();}function printCucumberStats(_0x5dd802){const _0x5b1142=a5_0x1e7496,_0x317cd8={};_0x317cd8['Kgvvq']=function(_0x6a3bcc,_0x55925c){return _0x6a3bcc>_0x55925c;},_0x317cd8[_0x5b1142(0xd9)]=function(_0x453d91,_0x5e9cfa){return _0x453d91-_0x5e9cfa;},_0x317cd8[_0x5b1142(0xc2)]=function(_0x2a7689,_0x3b2c9a){return _0x2a7689-_0x3b2c9a;},_0x317cd8[_0x5b1142(0x8c)]=function(_0x43be4f,_0x14b68b){return _0x43be4f>_0x14b68b;},_0x317cd8[_0x5b1142(0xdd)]=function(_0x197d69,_0x4b05ba){return _0x197d69>_0x4b05ba;},_0x317cd8[_0x5b1142(0xca)]=function(_0x3992de,_0x592681){return _0x3992de>_0x592681;},_0x317cd8[_0x5b1142(0x91)]=function(_0x2115e1,_0x5a2e97){return _0x2115e1>_0x5a2e97;},_0x317cd8[_0x5b1142(0xe8)]=function(_0x4e1523,_0x475b04){return _0x4e1523>_0x475b04;},_0x317cd8[_0x5b1142(0xa1)]=function(_0x564605,_0x2fa0f1){return _0x564605>_0x2fa0f1;},_0x317cd8[_0x5b1142(0xbb)]=function(_0x6dfbf,_0xaa0ce4){return _0x6dfbf>_0xaa0ce4;},_0x317cd8['uBCaE']=function(_0x474a6f,_0x7533e4){return _0x474a6f>_0x7533e4;},_0x317cd8['sNRdi']=function(_0x4cbe79,_0x3cf46c){return _0x4cbe79>_0x3cf46c;},_0x317cd8['sxiKA']=function(_0x127c02,_0x5769a2){return _0x127c02>_0x5769a2;},_0x317cd8[_0x5b1142(0x98)]=function(_0x2ec378,_0x472fbb){return _0x2ec378+_0x472fbb;},_0x317cd8[_0x5b1142(0xbe)]=function(_0x40284d,_0x33391d){return _0x40284d+_0x33391d;},_0x317cd8[_0x5b1142(0xea)]=function(_0x2fa182,_0x3052e4){return _0x2fa182+_0x3052e4;},_0x317cd8[_0x5b1142(0xb8)]=function(_0x28796f,_0x1629fd){return _0x28796f+_0x1629fd;},_0x317cd8[_0x5b1142(0xc4)]=function(_0xc535c6,_0x11882e){return _0xc535c6+_0x11882e;},_0x317cd8['ikptv']=function(_0x55fb9f,_0x4d35ae){return _0x55fb9f===_0x4d35ae;},_0x317cd8[_0x5b1142(0xf3)]=_0x5b1142(0x8a);const _0x4353a6=_0x317cd8;let _0x1e0355=0x0;if(_0x4353a6[_0x5b1142(0x9d)](_0x5dd802[_0x5b1142(0xec)],0x0))return _0x1e0355;return console['log'](chalk['bold'][_0x5b1142(0x100)](_0x4353a6[_0x5b1142(0xf3)])),_0x5dd802[_0x5b1142(0x8d)](_0xb327bd=>{const _0x236f8a=_0x5b1142,_0x50b3dd=_0xb327bd[0x0],_0x1f921e=_0xb327bd[0x1];helper[_0x236f8a(0xcc)]()&&console['log']('\x0a'+chalk[_0x236f8a(0xba)][_0x236f8a(0xa2)](''+helper[_0x236f8a(0xa4)](_0x50b3dd)));const _0x23d3d5=_0x1f921e[_0x236f8a(0x9e)],_0x55c3d5=_0x1f921e['steps'],_0x143678=_0x1f921e[_0x236f8a(0x99)],_0x34cd06=_0x1f921e['stepsFailed'],_0x3010fa=_0x1f921e[_0x236f8a(0xa8)],_0x3b52ff=_0x1f921e[_0x236f8a(0x9a)],_0x5938a0=_0x1f921e[_0x236f8a(0x8e)],_0x518c95=_0x1f921e[_0x236f8a(0xce)],_0x4ebe26=_0x1f921e[_0x236f8a(0xac)],_0x782cad=_0x1f921e[_0x236f8a(0xdc)],_0x5a6b23=_0x1f921e[_0x236f8a(0xe0)];let _0x5a74a6=_0x23d3d5+'\x20scenarios';const _0x379894=_0x4353a6[_0x236f8a(0xda)](_0x4353a6[_0x236f8a(0xd9)](_0x23d3d5,_0x143678),0x0)?_0x4353a6[_0x236f8a(0xc2)](_0x23d3d5,_0x143678):0x0;if(_0x4353a6['Kgvvq'](_0x143678,0x0)&&_0x4353a6[_0x236f8a(0x8c)](_0x379894,0x0))_0x5a74a6+='\x20('+chalk[_0x236f8a(0xba)][_0x236f8a(0x96)](_0x143678+_0x236f8a(0xfb))+',\x20'+chalk[_0x236f8a(0xba)][_0x236f8a(0xe7)](_0x379894+'\x20passed')+')';else(_0x4353a6[_0x236f8a(0xdd)](_0x143678,0x0)||_0x4353a6[_0x236f8a(0xca)](_0x379894,0x0))&&(_0x5a74a6+=_0x4353a6[_0x236f8a(0x91)](_0x143678,0x0)?'\x20('+chalk['bold'][_0x236f8a(0x96)](_0x143678+_0x236f8a(0xfb))+')':'\x20('+chalk[_0x236f8a(0xba)][_0x236f8a(0xe7)](_0x379894+'\x20passed')+')');const _0xdb62f2=_0x55c3d5+_0x236f8a(0xc5),_0x6e4427=[];_0x4353a6['NBRei'](_0x782cad,0x0)&&_0x6e4427['push'](''+chalk[_0x236f8a(0xba)]['red'](_0x782cad+'\x20ambiguous'));_0x4353a6[_0x236f8a(0xa1)](_0x34cd06,0x0)&&_0x6e4427[_0x236f8a(0xd5)](''+chalk[_0x236f8a(0xba)][_0x236f8a(0x96)](_0x34cd06+_0x236f8a(0xfb)));_0x4353a6[_0x236f8a(0xdd)](_0x3010fa,0x0)&&_0x6e4427['push'](''+chalk[_0x236f8a(0xba)][_0x236f8a(0xe7)](_0x3010fa+'\x20passed'));_0x4353a6[_0x236f8a(0xbb)](_0x5938a0,0x0)&&_0x6e4427['push'](''+chalk['bold']['yellow'](_0x5938a0+'\x20pending'));_0x4353a6['uBCaE'](_0x3b52ff,0x0)&&_0x6e4427[_0x236f8a(0xd5)](''+chalk[_0x236f8a(0xba)][_0x236f8a(0xb5)](_0x3b52ff+_0x236f8a(0xb4)));_0x4353a6['sNRdi'](_0x518c95,0x0)&&_0x6e4427[_0x236f8a(0xd5)](''+chalk[_0x236f8a(0xba)]['yellow'](_0x518c95+_0x236f8a(0xfd)));_0x4353a6['sxiKA'](_0x4ebe26,0x0)&&_0x6e4427['push'](''+chalk[_0x236f8a(0xba)][_0x236f8a(0xa2)](_0x4ebe26+_0x236f8a(0xb4)));const _0x12104d=_0x4353a6['svMHZ'](_0x4353a6[_0x236f8a(0xbe)](_0x4353a6[_0x236f8a(0xea)](_0xdb62f2,'('),_0x6e4427['join'](',\x20')),')');console[_0x236f8a(0x101)](_0x4353a6['SMeus'](_0x4353a6[_0x236f8a(0xc4)](_0x4353a6[_0x236f8a(0xc4)](_0x4353a6['SMeus']('\x0a',_0x5a74a6),'\x0a'),_0x12104d),'\x0a')),_0x4353a6[_0x236f8a(0x9d)](_0x5a6b23,![])&&(_0x1e0355=0x1);}),_0x1e0355;}function a5_0x4fb3(_0x185e9b,_0x4c3314){const _0x29108b=a5_0x2910();return a5_0x4fb3=function(_0x4fb349,_0x1f9310){_0x4fb349=_0x4fb349-0x86;let _0x57fc07=_0x29108b[_0x4fb349];return _0x57fc07;},a5_0x4fb3(_0x185e9b,_0x4c3314);}async function run(_0x509ade,_0x26e19c,_0x10da4a){const _0x52530e=a5_0x1e7496,_0x3ae517={'DVegn':function(_0x65d66a,_0x50acef){return _0x65d66a(_0x50acef);},'xJXgn':function(_0x3ff9d5,_0x351278){return _0x3ff9d5>_0x351278;},'kxisz':_0x52530e(0xcd),'PbHZi':'Removing\x20tmp\x20directory\x20created\x20for\x20reports','HfqfQ':'cucumber','HfrgU':_0x52530e(0xb7),'ULYeZ':_0x52530e(0xc7),'mEZtD':function(_0x328c64,_0x337ae6){return _0x328c64-_0x337ae6;},'NWkwt':function(_0x3b984c,_0x78e270){return _0x3b984c>=_0x78e270;},'UhOOX':function(_0x511940,_0xd02edc){return _0x511940!=_0xd02edc;},'FuaXe':'true','cVGQa':function(_0x21e2e6,_0x517f02,_0x208bc6,_0xd6e2f2,_0x3801b2,_0x1efa30){return _0x21e2e6(_0x517f02,_0x208bc6,_0xd6e2f2,_0x3801b2,_0x1efa30);}};await _0x10da4a['initialize'](_0x509ade),helper[_0x52530e(0xb1)](_0x10da4a[_0x52530e(0xa5)],_0x509ade);!helper['isBrowserstackInfra']()&&await _0x10da4a[_0x52530e(0x97)]();await helper[_0x52530e(0xe3)](_0x10da4a['config']);const _0x15cab9=helper[_0x52530e(0xee)](_0x10da4a[_0x52530e(0xf7)]);!helper['isUndefined'](_0x10da4a['config'][_0x52530e(0xde)])&&(process[_0x52530e(0xeb)][_0x52530e(0x9f)]=JSON[_0x52530e(0xf2)](_0x10da4a[_0x52530e(0xf7)][_0x52530e(0xde)]));const _0x379960=await TestHubHandler['launchBuild'](constants[_0x52530e(0x8f)][_0x52530e(0xb9)],_0x10da4a);let _0x18c42f=[];if(!helper['isBrowserstackInfra']()){const _0x37cd8d={};_0x37cd8d['platforms']=[],_0x18c42f=helper[_0x52530e(0xf4)](Object['assign']({},_0x10da4a['config'],_0x37cd8d),_0x15cab9,constants[_0x52530e(0x8f)][_0x52530e(0xb9)]);}else _0x18c42f=helper[_0x52530e(0xf4)](_0x10da4a[_0x52530e(0xf7)],_0x15cab9,constants[_0x52530e(0x8f)]['CUCUMBER']);if(!_0x10da4a[_0x52530e(0xf7)])return;const _0x344cbe=_0x10da4a[_0x52530e(0xf7)][_0x52530e(0xe5)]||helper[_0x52530e(0xa7)](_0x509ade,_0x26e19c,_0x10da4a[_0x52530e(0xf7)],constants[_0x52530e(0x8f)][_0x52530e(0xb9)])||0x1,_0x28c2bb={'server':helper[_0x52530e(0xcb)](_0x10da4a[_0x52530e(0xf7)]),'proxySettings':_0x10da4a[_0x52530e(0xf7)][_0x52530e(0xd4)],'maxWorkers':_0x344cbe,'browserStackLogLevel':_0x10da4a[_0x52530e(0xf7)][_0x52530e(0xbd)],'skipSessionName':_0x10da4a[_0x52530e(0xf7)][_0x52530e(0xc9)][_0x52530e(0xe2)],'skipSessionStatus':_0x10da4a['config']['testContextOptions'][_0x52530e(0xb3)],'turboScaleUrl':_0x10da4a[_0x52530e(0xf7)][_0x52530e(0xc0)]},_0x4fb519=process['argv'],[_0x442f16,_0x2f4b92]=helper[_0x52530e(0xa3)](_0x4fb519),_0xde15d0=path[_0x52530e(0xaf)](process[_0x52530e(0xae)](),_0x3ae517['ULYeZ']);if(_0x3ae517[_0x52530e(0xf0)](_0x2f4b92['length'],0x0)){helper[_0x52530e(0x89)](_0xde15d0);for(let _0x5e0fc4=_0x3ae517[_0x52530e(0x9c)](_0x442f16[_0x52530e(0xec)],0x1);_0x3ae517[_0x52530e(0xd8)](_0x5e0fc4,0x0);_0x5e0fc4--){_0x4fb519[_0x52530e(0xd1)](_0x442f16[_0x5e0fc4],0x2);}}_0x3ae517[_0x52530e(0x95)](_0x10da4a[_0x52530e(0xf7)][_0x52530e(0x88)],null)?process['env'][_0x52530e(0xfa)]=_0x10da4a[_0x52530e(0xf7)][_0x52530e(0x88)]:process[_0x52530e(0xeb)][_0x52530e(0xfa)]=_0x3ae517[_0x52530e(0xd0)];PerformanceTester[_0x52530e(0xe1)](PerformanceEvents['SDK_SETUP']);let _0x14b354;_0x3ae517[_0x52530e(0xc3)](parallelCucumberRun,_0x18c42f,_0x28c2bb,_0x10da4a[_0x52530e(0xf7)],_0x4fb519,_0x2f4b92)[_0x52530e(0xfe)](async _0x4e4a07=>{const _0x44e47c=_0x52530e;PerformanceTester[_0x44e47c(0xf8)](PerformanceEvents[_0x44e47c(0xaa)]),_0x14b354=_0x4e4a07;const _0x365692=_0x3ae517[_0x44e47c(0xd6)](printCucumberStats,_0x4e4a07);process[_0x44e47c(0xdf)]=_0x365692,_0x3ae517[_0x44e47c(0xf0)](_0x2f4b92[_0x44e47c(0xec)],0x0)&&(logger[_0x44e47c(0xc6)](_0x3ae517[_0x44e47c(0xff)]),helper[_0x44e47c(0xc8)](_0xde15d0,_0x2f4b92),logger[_0x44e47c(0xc6)](_0x3ae517[_0x44e47c(0xbc)]),helper['removeDir'](_0xde15d0));})[_0x52530e(0xcf)](async()=>{const _0x41ee3d=_0x52530e;PerformanceTester[_0x41ee3d(0xf8)](PerformanceEvents[_0x41ee3d(0xaa)]),_0x10da4a['errorMessage']=helper[_0x41ee3d(0xdb)](_0x14b354,_0x3ae517[_0x41ee3d(0xb0)]),testOpsHelper[_0x41ee3d(0xbf)]();try{await TestHubHandler[_0x41ee3d(0xb6)]();}catch(_0x4156e0){logger[_0x41ee3d(0xc6)](_0x41ee3d(0xa9)+util[_0x41ee3d(0xd7)](_0x4156e0));}try{const {browserstackFolderPath:_0x2ce3d9,tcgConfigPath:_0x54c0fc}=helper[_0x41ee3d(0xd3)]();fs[_0x41ee3d(0xad)](_0x54c0fc),fs[_0x41ee3d(0xa0)](_0x2ce3d9);}catch(_0x459eb2){logger[_0x41ee3d(0xc6)](_0x3ae517[_0x41ee3d(0xb2)],_0x459eb2);}await utilities['finalExecution'](_0x10da4a);});}module[a5_0x1e7496(0xd2)]=run;