browserstack-node-sdk 1.46.7 → 1.47.0

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 (187) 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/generated/sdk-messages_pb.d.ts +18 -0
  41. package/generated/sdk-messages_pb.js +147 -3
  42. package/package.json +1 -1
  43. package/src/ai-sdk-node/bundle.js +1 -1
  44. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  45. package/src/bin/codeceptjs/command.js +1 -1
  46. package/src/bin/codeceptjs/helper.js +1 -1
  47. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  48. package/src/bin/cucumber-js/command.js +1 -1
  49. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  50. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  51. package/src/bin/cucumber-js/test-observability.js +1 -1
  52. package/src/bin/cucumber-js/test.setup.js +1 -1
  53. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  54. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  55. package/src/bin/integrations/command.js +1 -1
  56. package/src/bin/integrations/constants.js +1 -1
  57. package/src/bin/jest/command.js +1 -1
  58. package/src/bin/jest/customImplements/customCircus.js +1 -1
  59. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  60. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  61. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  62. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  63. package/src/bin/jest/jest.setup.js +1 -1
  64. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  65. package/src/bin/jest/test-observability/helper.js +1 -1
  66. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  67. package/src/bin/jest/test-observability/test-details.js +1 -1
  68. package/src/bin/jest/test.setup.js +1 -1
  69. package/src/bin/jest/test_before.setup.js +1 -1
  70. package/src/bin/launcher/launcher.js +1 -1
  71. package/src/bin/load/index.js +1 -1
  72. package/src/bin/load/loadUtils.js +1 -1
  73. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  74. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  75. package/src/bin/mocha/command.js +1 -1
  76. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  77. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  78. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  79. package/src/bin/mocha/test.setup.js +1 -1
  80. package/src/bin/nightwatch/command.js +1 -1
  81. package/src/bin/playwright/accessibility-helper.js +1 -1
  82. package/src/bin/playwright/command.js +1 -1
  83. package/src/bin/playwright/globalSetup.js +1 -1
  84. package/src/bin/playwright/mock-process.js +1 -1
  85. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  86. package/src/bin/playwright/patches.js +1 -1
  87. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  88. package/src/bin/playwright/reporter/reporter.js +1 -1
  89. package/src/bin/playwright/reporter/test-details.js +1 -1
  90. package/src/bin/playwright/sessionDetails.js +1 -1
  91. package/src/bin/runner.js +1 -1
  92. package/src/bin/setup.js +1 -1
  93. package/src/bin/test-runner/index.js +1 -1
  94. package/src/bin/test-runner/runTest.js +1 -1
  95. package/src/bin/test-runner/testWorker.js +1 -1
  96. package/src/bin/utils/apiUtilityMethods.js +1 -1
  97. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  98. package/src/bin/utils/constants.js +1 -1
  99. package/src/bin/utils/log4jsAppender.js +1 -1
  100. package/src/bin/utils/logPatcher.js +1 -1
  101. package/src/bin/utils/logReportingAPI.js +1 -1
  102. package/src/bin/utils/playwright-patcher.js +1 -1
  103. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  104. package/src/bin/utils/sharedUtils.js +1 -1
  105. package/src/bin/v2/TestInfo.js +1 -1
  106. package/src/bin/v2/browserstackCLI.js +1 -1
  107. package/src/bin/v2/cliUtils.js +1 -1
  108. package/src/bin/v2/customTagManager.js +1 -1
  109. package/src/bin/v2/eventDispatcher.js +1 -1
  110. package/src/bin/v2/framework/automationFramework.js +1 -1
  111. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  112. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  113. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  114. package/src/bin/v2/framework/jestTestFramework.js +1 -0
  115. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  116. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  117. package/src/bin/v2/framework/testFramework.js +1 -1
  118. package/src/bin/v2/grpcClient.js +1 -1
  119. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  120. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  121. package/src/bin/v2/instances/trackedContext.js +1 -1
  122. package/src/bin/v2/instances/trackedInstance.js +1 -1
  123. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  124. package/src/bin/v2/modules/baseModule.js +1 -1
  125. package/src/bin/v2/modules/observabilityModule.js +1 -1
  126. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  127. package/src/bin/v2/modules/testhubModule.js +1 -1
  128. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  129. package/src/bin/v2/state/hookState.js +1 -1
  130. package/src/bin/v2/state/testFrameworkState.js +1 -1
  131. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  132. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  133. package/src/bin/v2/utils/jest-utils.js +1 -0
  134. package/src/bin/vanilla-js/command.js +1 -1
  135. package/src/browserStackSdk.js +1 -1
  136. package/src/helpers/BrowserStackSetup.js +1 -1
  137. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  138. package/src/helpers/accessibility-automation/constants.js +1 -1
  139. package/src/helpers/accessibility-automation/helper.js +1 -1
  140. package/src/helpers/accessibility-automation/scripts.js +1 -1
  141. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  142. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  143. package/src/helpers/ats/constants.js +1 -1
  144. package/src/helpers/ats/helper.js +1 -1
  145. package/src/helpers/capsMapping.js +1 -1
  146. package/src/helpers/central-scanner/constants.js +1 -1
  147. package/src/helpers/central-scanner/helpers.js +1 -1
  148. package/src/helpers/classLogger.js +1 -1
  149. package/src/helpers/globals.js +1 -1
  150. package/src/helpers/helper.js +1 -1
  151. package/src/helpers/logger.js +1 -1
  152. package/src/helpers/metadata.js +1 -1
  153. package/src/helpers/patchHelper.js +1 -1
  154. package/src/helpers/patchHelpers.js +1 -1
  155. package/src/helpers/percy/Percy.js +1 -1
  156. package/src/helpers/percy/PercyBinary.js +1 -1
  157. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  158. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  159. package/src/helpers/percy/PercySDK.js +1 -1
  160. package/src/helpers/percy/index.js +1 -1
  161. package/src/helpers/percy/utils.js +1 -1
  162. package/src/helpers/performance/constants.js +1 -1
  163. package/src/helpers/performance/performance-tester.js +1 -1
  164. package/src/helpers/playwright-helper.js +1 -1
  165. package/src/helpers/processHelper.js +1 -1
  166. package/src/helpers/request-spy.js +1 -1
  167. package/src/helpers/setKeepAlive.js +1 -1
  168. package/src/helpers/test-observability/constants.js +1 -1
  169. package/src/helpers/test-observability/error-handler.js +1 -1
  170. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  171. package/src/helpers/test-observability/sessionHandler.js +1 -1
  172. package/src/helpers/test-observability/utils.js +1 -1
  173. package/src/helpers/test-orchestration/constants.js +1 -1
  174. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  175. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  176. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  177. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  178. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  179. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  180. package/src/helpers/testhub/constants.js +1 -1
  181. package/src/helpers/testhub/testhubHandler.js +1 -1
  182. package/src/helpers/testhub/utils.js +1 -1
  183. package/src/helpers/timeoutPromise.js +1 -1
  184. package/src/helpers/utilities.js +1 -1
  185. package/src/helpers/w3cMapping.js +1 -1
  186. package/src/hubAllocationMethods.js +1 -1
  187. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a1_0x4c459a=a1_0x2b30;function a1_0x3436(){const _0x3f7647=['hook-failed','QBaXe','getAccessibilityResults','__driver','find','BROWSERSTACK_TESTHUB_UUID','QZIfb','GIFqX','all','constructor','action','setSessionStatus','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','getAccessibilityResultsSummary','event','gJfox','_before','FzDGv','VcBsR','hookType','testAnalyticsId','4805406ppiJVC','toString','captureError','bddStep','INFO','hook-passed','SDK_HOOK','addRequestSpy','debug','accessibilityPlatform','OYxSu','titlePath','iOGkD','6nfHmbY','kWwVW','patchSaveScreenshot','8OrPjYP','initSaveScreenshot','prototype','url','overwriteCommand','test-after','base64','apply','Performing\x20scan\x20for\x20','message','comment','format','codeceptjs/lib/helper/WebDriver.js','../../helpers/performance/constants','name','executeScript','bind','Suite','4931780LOenfF','captureEvent','after','SDK_PRE_TEST','commandsToWrap','rTULQ','bxnIk','emit','jakAd','isArray','reason','2035660gHISfL','measureWrapper','fireEvent','thBuildUuid','stringify','TEST_RUN_STARTED','4359733flqosG','ZYXLn','SDK_TEST','XemnO','tNvNb','Failed\x20to\x20execute\x20_before:\x20','version','bstackAllyScanning','hWZNL','EZiuV','thTestRunUuid','TEST_RUN_FINISHED','browser','start','wXvRj','UsPkZ','failed','../../helpers/accessibility-automation/scripts','dkzkL','WebDriver','browserContext','uoNUU','RkHtP','startMonitoring','../../helpers/globals.js','test-skipped','UUeQe','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','pid','hFyAY','GxubK','passed','WRaaB','HOOK_RUN_FINISHED','domForge','rvuCG','pages','96PpYzFp','ZSFai','vBJFS','end','stopMonitoring','command','performScan','bddStep-before','umamI','uwWAQ','skipSessionStatus','test-failed','arguments','HOOK_RUN_STARTED','filter','QAful','../../helpers/logger','28AiZUTf','PERFORM_SCAN','patch','XkXgg','hook','OFunR','NGryF','chromium','ENV_VAR','call','container','cTuCP','IwEoy','UeZud','VHOeT','dispatcher','startsWith','Failed\x20to\x20patch\x20pages\x20method\x20in\x20browserContext\x20for\x20a11y\x20domForge:\x20','1311075XecCZK','DpuOz','bddStep-after','saveScreenshot','sTFGl','nGaCu','ctx','_setPage','page','BS_A11Y_JWT','TEST_RUN_SKIPPED','DFmJL','../../bin/playwright/accessibility-helper','../../helpers/testhub/constants.js','bddStepFinish','title','ByOwm','test-passed','OkHvi','SDK_POST_INITIALIZE','util','env','info','bs:addLog:','VZXzn','KiSgf','push','status','SDK_POST_TEST','fOacE','codeceptjs','toISOString','codeceptjs/lib/helper/Playwright.js','AvBan','afterTest','codeceptjs/lib/recorder.js','otpEg','./o11yHelper','AvmDg','winstonLogger','SESSION_NAME','setGlobal','iUQTF','SYNC','add','started','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','yaXnh','SRkAa','testFramework','Playwright','mBWLx','FRAMEWORK_DETAILS','step','config','parse','before','skipSessionName','setSessionName','stack','forEach','GET_RESULTS','NWRXy','helpers','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','test','step-comment','18916lNSObC','browserStackExecuteDriver','currentTest','125MyNCHz','browserstack_executor:\x20','getSyncScript','lrQWl','bKGAv','class','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','args','BS_TESTOPS_ALLOW_SCREENSHOTS','../../helpers/test-observability/utils','restore','split','uViTH','wStdq','Ooxvy','BROWSERSTACK_TESTHUB_JWT','wTgmv','113192OIKPoD','Puppeteer'];a1_0x3436=function(){return _0x3f7647;};return a1_0x3436();}(function(_0x1a9e40,_0xbcde80){const _0xfd7d6f=a1_0x2b30,_0x5a54c8=_0x1a9e40();while(!![]){try{const _0x517c76=-parseInt(_0xfd7d6f(0x214))/0x1*(-parseInt(_0xfd7d6f(0x2a8))/0x2)+-parseInt(_0xfd7d6f(0x2ba))/0x3+-parseInt(_0xfd7d6f(0x228))/0x4*(-parseInt(_0xfd7d6f(0x217))/0x5)+-parseInt(_0xfd7d6f(0x24c))/0x6*(parseInt(_0xfd7d6f(0x272))/0x7)+parseInt(_0xfd7d6f(0x24f))/0x8*(-parseInt(_0xfd7d6f(0x23f))/0x9)+-parseInt(_0xfd7d6f(0x261))/0xa+parseInt(_0xfd7d6f(0x26c))/0xb*(parseInt(_0xfd7d6f(0x297))/0xc);if(_0x517c76===_0xbcde80)break;else _0x5a54c8['push'](_0x5a54c8['shift']());}catch(_0x593e45){_0x5a54c8['push'](_0x5a54c8['shift']());}}}(a1_0x3436,0x594e6));const fs=require('fs'),util=require(a1_0x4c459a(0x1e5)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require('../../helpers/helper'),logger=require(a1_0x4c459a(0x2a7))[a1_0x4c459a(0x1f8)],testOpsHelper=require(a1_0x4c459a(0x220)),requestSpy=require('../../helpers/request-spy'),PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x4c459a(0x1f6)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),AccessibilityHelper=require(a1_0x4c459a(0x1dd)),scripts=require(a1_0x4c459a(0x283)),PerformanceTester=require('../../helpers/performance/performance-tester'),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x4c459a(0x25c)),{processWebDriverConfig,shouldPatchExecuteScript}=require('./helper.js'),testHubConstants=require(a1_0x4c459a(0x1de)),globals=require(a1_0x4c459a(0x28a)),CodeceptJS=requireModule('codeceptjs/lib/index.js','codeceptjs'),CodeceptUtils=requireModule('codeceptjs/lib/utils.js',a1_0x4c459a(0x1ef)),CodeceptWebDriver=requireModule(a1_0x4c459a(0x25b),a1_0x4c459a(0x1ef)),CodeceptRecorder=requireModule(a1_0x4c459a(0x1f4),a1_0x4c459a(0x1ef)),CodeceptPlaywright=requireModule(a1_0x4c459a(0x1f1),a1_0x4c459a(0x1ef)),playwrightMarkSessionStatus=(_0x48e660,_0x2a8407,_0x5be5d6)=>{const _0x46f4b8=a1_0x4c459a,_0x50226c={'lyWuU':_0x46f4b8(0x235),'iBaEm':function(_0x10d742,_0x10ae3a){return _0x10d742(_0x10ae3a);}},_0x446c96={};_0x446c96[_0x46f4b8(0x1ec)]=_0x2a8407;const _0x44c8ac={};_0x44c8ac[_0x46f4b8(0x234)]=_0x50226c['lyWuU'],_0x44c8ac[_0x46f4b8(0x2a3)]=_0x446c96;const _0x4b771c=_0x44c8ac;return!_0x50226c['iBaEm'](isUndefined,_0x5be5d6)&&(_0x4b771c[_0x46f4b8(0x2a3)][_0x46f4b8(0x26b)]=JSON['stringify'](_0x5be5d6)),_0x48e660['executeScript'](()=>{},_0x46f4b8(0x218)+JSON['stringify'](_0x4b771c));},o11ySync=PerformanceTester[a1_0x4c459a(0x26d)](PerformanceO11yEvents[a1_0x4c459a(0x1fc)],async _0x4fea04=>{const _0x1bef44=a1_0x4c459a,_0x2efbc1={};_0x2efbc1['rIUam']=function(_0x4c449b,_0x739d2e){return _0x4c449b===_0x739d2e;},_0x2efbc1['OkHvi']='Playwright';const _0x460839=_0x2efbc1;_0x460839['rIUam'](_0x4fea04[_0x1bef44(0x233)][_0x1bef44(0x25d)],_0x460839[_0x1bef44(0x1e3)])?await _0x4fea04[_0x1bef44(0x25e)](_0x461b41=>{},testOpsHelper[_0x1bef44(0x219)]()):await _0x4fea04[_0x1bef44(0x25e)](testOpsHelper['getSyncScript']());}),markSessionName=PerformanceTester[a1_0x4c459a(0x26d)](PerformanceAutEvents[a1_0x4c459a(0x1f9)],async(_0x46c534,_0x5320b4)=>{const _0x1f643f=a1_0x4c459a,_0x541e93={};_0x541e93[_0x1f643f(0x1ee)]=_0x1f643f(0x20b),_0x541e93[_0x1f643f(0x21b)]=function(_0x460f85,_0x51b214){return _0x460f85===_0x51b214;},_0x541e93['umamI']='Playwright';const _0x264c98=_0x541e93,_0x547f23={};_0x547f23[_0x1f643f(0x25d)]=_0x5320b4;const _0x124bfa={};_0x124bfa['action']=_0x264c98[_0x1f643f(0x1ee)],_0x124bfa[_0x1f643f(0x2a3)]=_0x547f23;const _0xcfc570=_0x124bfa;_0x264c98['bKGAv'](_0x46c534['constructor'][_0x1f643f(0x25d)],_0x264c98[_0x1f643f(0x29f)])?await _0x46c534['executeScript'](()=>{},_0x1f643f(0x218)+JSON[_0x1f643f(0x270)](_0xcfc570)):await _0x46c534['executeScript'](_0x1f643f(0x218)+JSON['stringify'](_0xcfc570));}),patchSaveScreenshot=_0x1e6246=>{const _0x4ebd54=a1_0x4c459a,_0x49cee0={'jakAd':_0x4ebd54(0x255),'OYxSu':'TEST_SCREENSHOT','EZiuV':function(_0x241171){return _0x241171();},'AvmDg':function(_0x223473,_0x5c31e1){return _0x223473(_0x5c31e1);},'SRkAa':'Screenshot\x20path\x20not\x20found'};_0x49cee0[_0x4ebd54(0x1f7)](isTrue,process[_0x4ebd54(0x1e6)][_0x4ebd54(0x21f)])&&!_0x1e6246[_0x4ebd54(0x24e)]&&(_0x1e6246[_0x4ebd54(0x24e)]=!![],_0x1e6246[_0x4ebd54(0x250)]=_0x1e6246[_0x4ebd54(0x1d4)],_0x1e6246[_0x4ebd54(0x1d4)]=(_0x29e693,_0x5028c5=![])=>{const _0x5f5683=_0x4ebd54,_0x5ae992={'SyOBI':_0x49cee0[_0x5f5683(0x269)],'gzUlC':_0x49cee0[_0x5f5683(0x249)],'iOGkD':function(_0x9421b7){const _0x45f7d8=_0x5f5683;return _0x49cee0[_0x45f7d8(0x27b)](_0x9421b7);},'OFunR':function(_0x562c20,_0x2040e9){const _0x3861e2=_0x5f5683;return _0x49cee0[_0x3861e2(0x1f7)](_0x562c20,_0x2040e9);},'DFmJL':_0x49cee0[_0x5f5683(0x201)]};return new Promise(function(_0x2f34b4,_0xbd5e1){_0x1e6246['initSaveScreenshot'](_0x29e693,_0x5028c5)['then'](()=>{const _0x426699=a1_0x2b30,_0x1b53d9=CodeceptUtils['screenshotOutputFolder'](_0x29e693);if(_0x1b53d9){const _0x4d9d3c=fs['readFileSync'](_0x1b53d9);process[_0x426699(0x268)](_0x426699(0x1e8)+process[_0x426699(0x28e)],{'timestamp':new Date()[_0x426699(0x1f0)](),'message':_0x4d9d3c[_0x426699(0x240)](_0x5ae992['SyOBI']),'kind':_0x5ae992['gzUlC']}),_0x5ae992[_0x426699(0x24b)](_0x2f34b4);}_0x5ae992[_0x426699(0x2ad)](_0xbd5e1,new Error(_0x5ae992[_0x426699(0x1dc)]));})['catch'](()=>null);});});},patchWebDriverBefore=_0x646d83=>{const _0x82099a=a1_0x4c459a,_0xfb76c1={'vBJFS':function(_0x567975){return _0x567975();},'iUQTF':function(_0x1f53e2,_0x41cff8){return _0x1f53e2(_0x41cff8);},'FzDGv':function(_0x1cd009,_0xceed54){return _0x1cd009===_0xceed54;},'uwWAQ':'webdriverio','wXvRj':'string','bxnIk':function(_0x3b8a0a,_0x256a67){return _0x3b8a0a===_0x256a67;},'tNvNb':'Element'},_0x32c475=async function(_0xd6a916,_0xa19d38){const _0x554e7c=a1_0x2b30;_0xfb76c1[_0x554e7c(0x299)](isAccessibilityAutomationSession)&&!global[_0x554e7c(0x279)]&&global[_0x554e7c(0x248)]&&scripts['shouldWrapCommand'](_0xd6a916[_0x554e7c(0x25d)])&&_0xfb76c1[_0x554e7c(0x1fb)](shouldPatchExecuteScript,arguments[0x2])&&(global['bstackAllyScanning']=!![],await PerformanceTester[_0x554e7c(0x26d)](PerformanceA11yEvents[_0x554e7c(0x2a9)],async()=>{const _0x1af625=_0x554e7c;logger[_0x1af625(0x247)](_0x1af625(0x257)+_0xd6a916[_0x1af625(0x21c)]+'\x20'+_0xd6a916[_0x1af625(0x25d)]),await AccessibilityHelper[_0x1af625(0x215)](_0x646d83,scripts[_0x1af625(0x29d)]);},{'command':_0xd6a916[_0x554e7c(0x25d)]})());global[_0x554e7c(0x279)]=![];const _0x1a87dd=JSON[_0x554e7c(0x208)](process[_0x554e7c(0x1e6)][_0x554e7c(0x205)]||'{}');if(_0xfb76c1[_0x554e7c(0x23b)](_0x1a87dd?.[_0x554e7c(0x202)]?.[_0x554e7c(0x25d)],_0xfb76c1[_0x554e7c(0x2a0)])&&_0xfb76c1['FzDGv'](typeof _0x1a87dd?.[_0x554e7c(0x202)]?.[_0x554e7c(0x278)],_0xfb76c1[_0x554e7c(0x280)])&&_0x1a87dd?.[_0x554e7c(0x202)]?.[_0x554e7c(0x278)][_0x554e7c(0x2b8)]('7'))return _0xa19d38[_0x554e7c(0x256)](null,Array[_0x554e7c(0x251)]['slice'][_0x554e7c(0x2b1)](arguments,0x2));return _0xa19d38[_0x554e7c(0x256)](this,Array[_0x554e7c(0x251)]['slice'][_0x554e7c(0x2b1)](arguments,0x2));},_0x16fb8e=CodeceptWebDriver[_0x82099a(0x251)][_0x82099a(0x23a)];CodeceptWebDriver['prototype'][_0x82099a(0x23a)]=async function(){const _0x1d3667=_0x82099a;try{await _0x16fb8e['apply'](this,arguments);}catch(_0xc66ee1){logger[_0x1d3667(0x247)](_0x1d3667(0x277)+util['format'](_0xc66ee1));}scripts[_0x1d3667(0x265)][_0x1d3667(0x2a5)](_0x56b7de=>_0x56b7de[_0x1d3667(0x25d)]&&_0x56b7de['class'])[_0x1d3667(0x20d)](_0x2bc16f=>{const _0x3b7a6b=_0x1d3667;this['browser'][_0x3b7a6b(0x253)](_0x2bc16f[_0x3b7a6b(0x25d)],_0x32c475[_0x3b7a6b(0x25f)](this,_0x2bc16f),_0xfb76c1[_0x3b7a6b(0x267)](_0x2bc16f[_0x3b7a6b(0x21c)],_0xfb76c1[_0x3b7a6b(0x276)]));}),_0xfb76c1[_0x1d3667(0x1fb)](processWebDriverConfig,_0x646d83);};};function parseJwt(_0x2d6c39){const _0x1357f1=a1_0x4c459a,_0x32dd92={};_0x32dd92[_0x1357f1(0x227)]=_0x1357f1(0x255);const _0xa5de9f=_0x32dd92;if(!_0x2d6c39)return null;return JSON['parse'](Buffer['from'](_0x2d6c39[_0x1357f1(0x222)]('.')[0x1],_0xa5de9f[_0x1357f1(0x227)])[_0x1357f1(0x240)]());}const patchPlaywrightBefore=()=>{const _0x188f8f=a1_0x4c459a,_0x4910a6={'qxbOl':function(_0x205205){return _0x205205();},'sTFGl':'devtools://','KiSgf':'--auto-open-devtools-for-tabs','QAful':function(_0xde686e,_0x3e71fc){return _0xde686e(_0x3e71fc);},'ZSFai':function(_0x4b43ab,_0x4ef760){return _0x4b43ab+_0x4ef760;},'NWRXy':'\x0aStack:\x20','hWZNL':function(_0x1cb4db){return _0x1cb4db();},'IMxiG':function(_0x74f15a){return _0x74f15a();},'RkHtP':function(_0x255620){return _0x255620();}};PlaywrightSessionDetails[_0x188f8f(0x2aa)]();const _0x3c1137=CodeceptPlaywright[_0x188f8f(0x251)][_0x188f8f(0x23a)];CodeceptPlaywright[_0x188f8f(0x251)]['_before']=async function(){const _0x461849=_0x188f8f,_0x5445d4={'QBaXe':function(_0x32c254){return _0x4910a6['qxbOl'](_0x32c254);},'kWwVW':_0x4910a6[_0x461849(0x1d5)],'HTukc':_0x4910a6[_0x461849(0x1ea)],'UUeQe':function(_0x5434ee,_0x1fc658){const _0x35a139=_0x461849;return _0x4910a6[_0x35a139(0x2a6)](_0x5434ee,_0x1fc658);},'GIFqX':function(_0x574e2c,_0x19fece){const _0x2c44ee=_0x461849;return _0x4910a6[_0x2c44ee(0x298)](_0x574e2c,_0x19fece);},'Ooxvy':_0x4910a6[_0x461849(0x20f)]};this['browserContext']=await this[_0x461849(0x27e)]['contexts']()[0x0];const _0x255b09=async()=>{const _0x22445d=_0x461849,_0x1de043={'yaXnh':function(_0x3eb4d2){const _0x89d076=a1_0x2b30;return _0x5445d4[_0x89d076(0x22b)](_0x3eb4d2);},'WRUyj':_0x5445d4[_0x22445d(0x24d)]},_0x3fb7bd=this['config']&&this[_0x22445d(0x207)][_0x22445d(0x2af)]&&this['config'][_0x22445d(0x2af)][_0x22445d(0x21e)]&&Array[_0x22445d(0x26a)](this[_0x22445d(0x207)][_0x22445d(0x2af)][_0x22445d(0x21e)])&&this[_0x22445d(0x207)][_0x22445d(0x2af)][_0x22445d(0x21e)]['includes'](_0x5445d4['HTukc']);if(_0x5445d4[_0x22445d(0x22b)](isAccessibilityAutomationSession)&&!_0x3fb7bd)try{const _0x31ea0c=_0x5445d4[_0x22445d(0x28c)](parseJwt,process['env'][_0x22445d(0x1da)]);if(_0x31ea0c&&_0x31ea0c['a11y_core_config']&&_0x31ea0c['a11y_core_config'][_0x22445d(0x294)]){const _0x3cf271=this[_0x22445d(0x286)][_0x22445d(0x296)][_0x22445d(0x25f)](this[_0x22445d(0x286)]);this[_0x22445d(0x286)]['pages']=async function(){const _0x10b980=_0x22445d,_0x1a0c22=await _0x1de043[_0x10b980(0x200)](_0x3cf271),_0x1b06b3=[];for(const _0x5dad65 of _0x1a0c22){try{const _0x420da8=await _0x5dad65[_0x10b980(0x252)]();!_0x420da8['startsWith'](_0x1de043['WRUyj'])&&_0x1b06b3[_0x10b980(0x1eb)](_0x5dad65);}catch(_0xb0ef80){_0x1b06b3['push'](_0x5dad65);}}return _0x1b06b3;};}if(!_0x5445d4['QBaXe'](isBrowserstackInfra)){const _0x3048e0=await this[_0x22445d(0x1d9)][_0x22445d(0x252)]();if(_0x3048e0['startsWith'](_0x5445d4[_0x22445d(0x24d)])){const _0x1682f0=await this[_0x22445d(0x286)]['pages']();this[_0x22445d(0x1d8)](_0x1682f0[0x0]);}}}catch(_0x4d7917){logger['debug'](_0x22445d(0x2b9)+_0x4d7917[_0x22445d(0x258)]+(_0x4d7917[_0x22445d(0x20c)]?_0x5445d4[_0x22445d(0x231)](_0x5445d4[_0x22445d(0x225)],_0x4d7917['stack']):''));}};_0x4910a6[_0x461849(0x27a)](isBrowserstackInfra)&&await _0x4910a6['IMxiG'](_0x255b09),await _0x3c1137[_0x461849(0x256)](this,arguments),!_0x4910a6[_0x461849(0x288)](isBrowserstackInfra)&&await _0x4910a6[_0x461849(0x27a)](_0x255b09);};},getCodeceptDriver=()=>{const _0x1e05c6=a1_0x4c459a,_0x391100={};_0x391100[_0x1e05c6(0x2ae)]=_0x1e05c6(0x285),_0x391100[_0x1e05c6(0x1e1)]=_0x1e05c6(0x203),_0x391100['yPXcJ']=_0x1e05c6(0x229),_0x391100[_0x1e05c6(0x2b5)]='TestCafe';const _0x176e9f=_0x391100,_0x351f2a=[_0x176e9f['NGryF'],_0x176e9f['ByOwm'],_0x176e9f['yPXcJ'],_0x176e9f[_0x1e05c6(0x2b5)]],_0x58d2cf=_0x351f2a[_0x1e05c6(0x22e)](_0x10fa55=>!!CodeceptJS[_0x1e05c6(0x2b2)]['helpers'](_0x10fa55));if(!_0x58d2cf)return null;return CodeceptJS[_0x1e05c6(0x2b2)][_0x1e05c6(0x210)](_0x58d2cf);};function a1_0x2b30(_0x9090e9,_0x249f18){const _0x343673=a1_0x3436();return a1_0x2b30=function(_0x2b3011,_0x3a816c){_0x2b3011=_0x2b3011-0x1d4;let _0x69eba6=_0x343673[_0x2b3011];return _0x69eba6;},a1_0x2b30(_0x9090e9,_0x249f18);}module['exports']=function(_0x3a47ea){const _0x120ea0=a1_0x4c459a,_0x54e6d2={'XkXgg':function(_0x51e271){return _0x51e271();},'uMxht':function(_0x55626c,_0x5dc32b){return _0x55626c(_0x5dc32b);},'gJfox':_0x120ea0(0x237),'XemnO':_0x120ea0(0x1ff),'lrQWl':_0x120ea0(0x22c),'JPiij':_0x120ea0(0x28d),'gCLpi':function(_0x672cbe,_0x3813da){return _0x672cbe(_0x3813da);},'DpuOz':'hook-started','QZIfb':_0x120ea0(0x244),'VcBsR':_0x120ea0(0x22a),'AvBan':'browserstackTestName','ZYXLn':'test-before','VHOeT':function(_0xa1f342,_0x546293){return _0xa1f342(_0x546293);},'rTULQ':function(_0x1a6736,_0x466b4f,_0x364687){return _0x1a6736(_0x466b4f,_0x364687);},'uViTH':function(_0x9ae796,_0xe80969){return _0x9ae796(_0xe80969);},'IwEoy':'test-started','VZXzn':function(_0x4fe4d8){return _0x4fe4d8();},'otpEg':_0x120ea0(0x1e2),'hFyAY':function(_0x39e7dc){return _0x39e7dc();},'cTuCP':function(_0x13cd28,_0x5ceb00,_0x4cb39d,_0x561517){return _0x13cd28(_0x5ceb00,_0x4cb39d,_0x561517);},'BpbLH':function(_0x4f1689,_0x361b5d){return _0x4f1689===_0x361b5d;},'anVZa':_0x120ea0(0x260),'WRaaB':_0x120ea0(0x2a2),'nGaCu':_0x120ea0(0x28b),'bbwrj':_0x120ea0(0x1f3),'oYCYm':function(_0x5e4528,_0x4b90dd,_0x1c9214){return _0x5e4528(_0x4b90dd,_0x1c9214);},'uoNUU':_0x120ea0(0x21d),'rvuCG':_0x120ea0(0x254),'jmNAz':_0x120ea0(0x243),'GxubK':'TEST_LOG','UHYFt':_0x120ea0(0x213),'dkzkL':_0x120ea0(0x29e),'UsPkZ':_0x120ea0(0x2bc),'nLHEd':function(_0x3c4f83){return _0x3c4f83();},'qQWve':'Playwright'};_0x3a47ea[_0x120ea0(0x2a1)]&&(global['__skipSessionStatus']=_0x3a47ea[_0x120ea0(0x2a1)]);PerformanceTester[_0x120ea0(0x289)]();const _0x32e0e2=_0x54e6d2['nLHEd'](getCodeceptDriver),_0x5e48cd=new O11yHelper(_0x32e0e2,_0x3a47ea),_0x54128a=!!CodeceptJS[_0x120ea0(0x2b2)]['helpers'](_0x54e6d2['qQWve']);global[_0x120ea0(0x22d)]=_0x32e0e2,_0x32e0e2&&(PerformanceTester[_0x120ea0(0x26d)](PerformanceEvents['SDK_PRE_INITIALIZE'],()=>{const _0x4cb783=_0x120ea0;_0x54128a?_0x54e6d2[_0x4cb783(0x2ab)](patchPlaywrightBefore):_0x54e6d2['uMxht'](patchWebDriverBefore,_0x32e0e2);})(),PerformanceTester[_0x120ea0(0x26d)](PerformanceEvents[_0x120ea0(0x1e4)],()=>{const _0x3874a2=_0x120ea0;_0x32e0e2[_0x3874a2(0x237)]=async()=>{const _0x35f18b=_0x3874a2;if(global['accessibilityPlatform']){const _0x37b5db={};return _0x37b5db[_0x35f18b(0x29c)]=_0x54e6d2[_0x35f18b(0x239)],await PerformanceTester[_0x35f18b(0x26d)](PerformanceA11yEvents[_0x35f18b(0x2a9)],async()=>{return await AccessibilityHelper['browserStackExecuteDriver'](_0x32e0e2,scripts['performScan']);},_0x37b5db)(),await PerformanceTester[_0x35f18b(0x26d)](PerformanceA11yEvents['GET_RESULTS_SUMMARY'],async()=>{const _0x17b9b6=_0x35f18b;return await AccessibilityHelper[_0x17b9b6(0x215)](_0x32e0e2,scripts['getResultsSummary']);})();}return logger['warn'](_0x54e6d2[_0x35f18b(0x275)]),{};},_0x32e0e2['getAccessibilityResults']=async()=>{const _0x2650a5=_0x3874a2;if(global[_0x2650a5(0x248)]){const _0x58813f={};return _0x58813f[_0x2650a5(0x29c)]=_0x54e6d2[_0x2650a5(0x21a)],await PerformanceTester[_0x2650a5(0x26d)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x2e47d9=_0x2650a5;return await AccessibilityHelper[_0x2e47d9(0x215)](_0x32e0e2,scripts[_0x2e47d9(0x29d)]);},_0x58813f)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x2650a5(0x20e)],async()=>{const _0x13cb70=_0x2650a5;return await AccessibilityHelper[_0x13cb70(0x215)](_0x32e0e2,scripts['getResults']);})();}return logger['warn'](_0x54e6d2['JPiij']),{};},_0x54e6d2['gCLpi'](patchSaveScreenshot,_0x32e0e2);})()),CodeceptJS[_0x120ea0(0x238)]['dispatcher']['on'](CodeceptJS[_0x120ea0(0x238)][_0x120ea0(0x232)][_0x120ea0(0x209)],()=>{const _0xa91940=_0x120ea0;PerformanceTester[_0xa91940(0x27f)](PerformanceEvents[_0xa91940(0x264)]);try{_0x5e48cd[_0xa91940(0x27f)](),testOpsHelper[_0xa91940(0x246)](),PerformanceTester['end'](PerformanceEvents['SDK_PRE_TEST']);}catch(_0x4a220e){PerformanceTester[_0xa91940(0x241)](_0x4a220e),PerformanceTester[_0xa91940(0x29a)](PerformanceEvents['SDK_PRE_TEST'],![],_0x4a220e);}}),CodeceptJS[_0x120ea0(0x238)][_0x120ea0(0x2b7)]['on'](CodeceptJS[_0x120ea0(0x238)][_0x120ea0(0x232)][_0x120ea0(0x263)],async()=>{const _0x26ca0e=_0x120ea0;PerformanceTester[_0x26ca0e(0x27f)](PerformanceEvents['SDK_POST_TEST']);try{requestSpy[_0x26ca0e(0x221)](),await _0x5e48cd['stop'](),PerformanceTester['end'](PerformanceEvents[_0x26ca0e(0x1ed)]);}catch(_0x298acb){PerformanceTester[_0x26ca0e(0x241)](_0x298acb),PerformanceTester[_0x26ca0e(0x29a)](PerformanceEvents[_0x26ca0e(0x1ed)],![],_0x298acb);}finally{PerformanceTester[_0x26ca0e(0x29b)]();}}),CodeceptJS[_0x120ea0(0x238)]['dispatcher']['on'](CodeceptJS[_0x120ea0(0x238)][_0x120ea0(0x2ac)][_0x120ea0(0x1fe)],_0x2edca7=>{const _0x18c864=_0x120ea0;PerformanceTester[_0x18c864(0x27f)](PerformanceEvents['SDK_HOOK']);try{const _0x5d154f=_0x2edca7[_0x18c864(0x1d7)][_0x18c864(0x212)],_0x1114c1=_0x5e48cd[_0x18c864(0x262)](TEST_EVENTS[_0x18c864(0x2a4)],_0x5d154f);CodeceptRecorder[_0x18c864(0x1fd)](()=>_0x5e48cd[_0x18c864(0x26e)](TEST_EVENTS['HOOK_RUN_STARTED'],_0x1114c1));const _0x269ad8={};_0x269ad8[_0x18c864(0x23d)]=_0x54e6d2[_0x18c864(0x2bb)],PerformanceTester[_0x18c864(0x29a)](PerformanceEvents[_0x18c864(0x245)],!![],null,_0x269ad8);}catch(_0x5989fe){const _0x12bef5={};_0x12bef5[_0x18c864(0x23d)]=_0x54e6d2[_0x18c864(0x2bb)],PerformanceTester[_0x18c864(0x29a)](PerformanceEvents[_0x18c864(0x245)],![],_0x5989fe,_0x12bef5),PerformanceTester[_0x18c864(0x241)](_0x5989fe);}}),CodeceptJS[_0x120ea0(0x238)][_0x120ea0(0x2b7)]['on'](CodeceptJS[_0x120ea0(0x238)][_0x120ea0(0x2ac)][_0x120ea0(0x291)],_0x20714c=>{const _0x2e49aa=_0x120ea0,_0xc37e32={};_0xc37e32['hookType']=_0x54e6d2[_0x2e49aa(0x230)],PerformanceTester[_0x2e49aa(0x27f)](PerformanceHookEvents[_0x2e49aa(0x245)],!![],null,_0xc37e32);try{const _0x41c324=_0x20714c[_0x2e49aa(0x1d7)]['test'],_0x516a5d=_0x5e48cd['captureEvent'](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x41c324);CodeceptRecorder[_0x2e49aa(0x1fd)](()=>_0x5e48cd[_0x2e49aa(0x26e)](TEST_EVENTS[_0x2e49aa(0x293)],_0x516a5d));const _0x875d95={};_0x875d95[_0x2e49aa(0x23d)]=_0x54e6d2['QZIfb'],PerformanceTester[_0x2e49aa(0x29a)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x875d95);}catch(_0x2500da){PerformanceTester['captureError'](_0x2500da);const _0x1b30be={};_0x1b30be[_0x2e49aa(0x23d)]=_0x54e6d2[_0x2e49aa(0x230)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],_0x2500da,_0x1b30be);}}),CodeceptJS[_0x120ea0(0x238)]['dispatcher']['on'](CodeceptJS[_0x120ea0(0x238)][_0x120ea0(0x2ac)]['failed'],async(_0x46bb14,_0x28bc8f)=>{const _0x3758b8=_0x120ea0;PerformanceTester[_0x3758b8(0x27f)](PerformanceHookEvents['SDK_HOOK']);try{const _0x29b517=_0x46bb14[_0x3758b8(0x1d7)]['test'],_0x40ac13=_0x5e48cd[_0x3758b8(0x262)](TEST_EVENTS[_0x3758b8(0x293)],_0x29b517,_0x28bc8f);CodeceptRecorder[_0x3758b8(0x1fd)](()=>_0x5e48cd[_0x3758b8(0x26e)](TEST_EVENTS[_0x3758b8(0x293)],_0x40ac13));const _0x5cf7e9={};_0x5cf7e9[_0x3758b8(0x23d)]=_0x54e6d2[_0x3758b8(0x23c)],PerformanceTester[_0x3758b8(0x27f)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x5cf7e9);}catch(_0x544cc6){PerformanceTester['captureError'](_0x544cc6);const _0x431223={};_0x431223[_0x3758b8(0x23d)]=_0x54e6d2[_0x3758b8(0x23c)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],_0x544cc6,_0x431223);}const _0x56382f={};_0x56382f[_0x3758b8(0x23d)]=_0x54e6d2[_0x3758b8(0x23c)],PerformanceTester['end'](PerformanceHookEvents[_0x3758b8(0x245)],!![],null,_0x56382f);}),CodeceptJS[_0x120ea0(0x238)]['dispatcher']['on'](CodeceptJS['event'][_0x120ea0(0x212)]['before'],_0x5b31fa=>{const _0x5ca1f4=_0x120ea0;PerformanceTester[_0x5ca1f4(0x27f)](PerformanceHookEvents[_0x5ca1f4(0x245)]);try{globals[_0x5ca1f4(0x1fa)](_0x54e6d2[_0x5ca1f4(0x1f2)],_0x5b31fa['title']);_0x54e6d2[_0x5ca1f4(0x2ab)](isBrowserstackInfra)&&(_0x54128a&&(global['__workerDetails']={'currentTest':{'name':_0x5b31fa[_0x5ca1f4(0x1e0)],'testInfo':{'titlePath':_0x5b31fa[_0x5ca1f4(0x24a)]()}}}));const _0x35941e={};_0x35941e[_0x5ca1f4(0x23d)]=_0x54e6d2[_0x5ca1f4(0x273)],PerformanceTester[_0x5ca1f4(0x29a)](PerformanceHookEvents[_0x5ca1f4(0x245)],!![],null,_0x35941e);}catch(_0x2df83d){PerformanceTester[_0x5ca1f4(0x241)](_0x2df83d);const _0x28ee5f={};_0x28ee5f[_0x5ca1f4(0x23d)]=_0x54e6d2[_0x5ca1f4(0x273)],PerformanceTester['end'](PerformanceHookEvents[_0x5ca1f4(0x245)],![],_0x2df83d,_0x28ee5f);}}),CodeceptJS[_0x120ea0(0x238)][_0x120ea0(0x2b7)]['on'](CodeceptJS[_0x120ea0(0x238)][_0x120ea0(0x212)][_0x120ea0(0x1fe)],_0x58e350=>{const _0x255420=_0x120ea0;PerformanceTester[_0x255420(0x27f)](PerformanceHookEvents[_0x255420(0x245)]);try{globals[_0x255420(0x1fa)](_0x54e6d2[_0x255420(0x1f2)],_0x58e350[_0x255420(0x1e0)]);const _0x1cb4ff=_0x5e48cd[_0x255420(0x262)](TEST_EVENTS[_0x255420(0x271)],_0x58e350);CodeceptRecorder['add'](()=>_0x5e48cd[_0x255420(0x26e)](TEST_EVENTS[_0x255420(0x271)],_0x1cb4ff)),CodeceptRecorder['add'](async()=>{const _0x14435c=_0x255420;_0x54e6d2[_0x14435c(0x2ab)](isBrowserstackInfra)&&(!_0x54e6d2[_0x14435c(0x2b6)](isTrue,_0x3a47ea[_0x14435c(0x20a)])&&await _0x54e6d2['rTULQ'](markSessionName,_0x32e0e2,_0x58e350[_0x14435c(0x1e0)]),_0x5e48cd['enabled']&&await _0x54e6d2[_0x14435c(0x223)](o11ySync,_0x32e0e2));});}catch(_0x2c3c73){const _0x223625={};_0x223625['hookType']=_0x54e6d2[_0x255420(0x2b4)],PerformanceTester[_0x255420(0x29a)](PerformanceHookEvents[_0x255420(0x245)],![],_0x2c3c73,_0x223625),PerformanceTester['captureError'](_0x2c3c73);}const _0xb2973b={};_0xb2973b[_0x255420(0x23d)]=_0x54e6d2[_0x255420(0x2b4)],PerformanceTester[_0x255420(0x29a)](PerformanceHookEvents[_0x255420(0x245)],!![],null,_0xb2973b);}),CodeceptJS[_0x120ea0(0x238)]['dispatcher']['on'](CodeceptJS[_0x120ea0(0x238)][_0x120ea0(0x212)][_0x120ea0(0x291)],_0x4931e5=>{const _0x5ba0b1=_0x120ea0;PerformanceTester[_0x5ba0b1(0x27f)](PerformanceHookEvents[_0x5ba0b1(0x245)]);try{const _0x2103a5=_0x5e48cd[_0x5ba0b1(0x262)](TEST_EVENTS[_0x5ba0b1(0x27d)],_0x4931e5);CodeceptRecorder[_0x5ba0b1(0x1fd)](()=>_0x5e48cd[_0x5ba0b1(0x26e)](TEST_EVENTS[_0x5ba0b1(0x27d)],_0x2103a5)),CodeceptRecorder[_0x5ba0b1(0x1fd)](async()=>{const _0x7ccfa1=_0x5ba0b1,_0x588331={'cSlQr':function(_0x263b72,_0x9c9ed2,_0x2b830e){const _0x4a579d=a1_0x2b30;return _0x54e6d2[_0x4a579d(0x266)](_0x263b72,_0x9c9ed2,_0x2b830e);},'mBWLx':function(_0x42a4c0,_0x4e393b,_0x133b66){const _0x463559=a1_0x2b30;return _0x54e6d2[_0x463559(0x266)](_0x42a4c0,_0x4e393b,_0x133b66);}};_0x54e6d2[_0x7ccfa1(0x1e9)](isBrowserstackInfra)&&await PerformanceTester[_0x7ccfa1(0x26d)](PerformanceAutEvents['SESSION_STATUS'],async()=>{const _0x1c9783=_0x7ccfa1;_0x54128a?await _0x588331['cSlQr'](playwrightMarkSessionStatus,_0x32e0e2,STATE_PASSED):await _0x588331[_0x1c9783(0x204)](markSessionStatus,_0x32e0e2,STATE_PASSED);})();}),PerformanceTester[_0x5ba0b1(0x29a)](PerformanceEvents['SDK_TEST']);}catch(_0x952ed7){PerformanceTester[_0x5ba0b1(0x241)](_0x952ed7);const _0x5807={};_0x5807[_0x5ba0b1(0x23d)]=_0x54e6d2[_0x5ba0b1(0x1f5)],PerformanceTester[_0x5ba0b1(0x29a)](PerformanceHookEvents[_0x5ba0b1(0x245)],![],_0x952ed7,_0x5807),PerformanceTester[_0x5ba0b1(0x29a)](PerformanceEvents[_0x5ba0b1(0x274)],![],_0x952ed7);}const _0x2076fc={};_0x2076fc[_0x5ba0b1(0x23d)]=_0x54e6d2[_0x5ba0b1(0x1f5)],PerformanceTester[_0x5ba0b1(0x29a)](PerformanceHookEvents[_0x5ba0b1(0x245)],!![],null,_0x2076fc);}),CodeceptJS[_0x120ea0(0x238)][_0x120ea0(0x2b7)]['on'](CodeceptJS[_0x120ea0(0x238)]['test'][_0x120ea0(0x282)],(_0x4a2aff,_0x5a26c3)=>{const _0x3bed6c=_0x120ea0;PerformanceTester[_0x3bed6c(0x27f)](PerformanceHookEvents[_0x3bed6c(0x245)]);try{if(_0x54e6d2['BpbLH'](_0x4a2aff[_0x3bed6c(0x233)][_0x3bed6c(0x25d)],_0x54e6d2['anVZa'])){const _0x331190=_0x5e48cd[_0x3bed6c(0x262)](TEST_EVENTS[_0x3bed6c(0x1db)],_0x4a2aff[_0x3bed6c(0x1d7)][_0x3bed6c(0x216)]);CodeceptRecorder[_0x3bed6c(0x1fd)](()=>_0x5e48cd[_0x3bed6c(0x26e)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x331190));}else{const _0x19cc62=_0x5e48cd[_0x3bed6c(0x262)](TEST_EVENTS[_0x3bed6c(0x27d)],_0x4a2aff,_0x5a26c3);CodeceptRecorder[_0x3bed6c(0x1fd)](()=>{const _0x9dbe9e=_0x3bed6c;try{_0x5e48cd[_0x9dbe9e(0x26e)](TEST_EVENTS[_0x9dbe9e(0x27d)],_0x19cc62);}catch(_0xfe4220){logger['debug']('Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20'+util[_0x9dbe9e(0x25a)](_0xfe4220)),PerformanceTester[_0x9dbe9e(0x29a)](PerformanceEvents[_0x9dbe9e(0x274)],![],_0xfe4220);}}),CodeceptRecorder['add'](async()=>{const _0x445430=_0x3bed6c;try{_0x54e6d2[_0x445430(0x28f)](isBrowserstackInfra)&&(_0x54128a?await _0x54e6d2[_0x445430(0x2b3)](playwrightMarkSessionStatus,_0x32e0e2,STATE_FAILED,_0x5a26c3):await _0x54e6d2[_0x445430(0x2b3)](markSessionStatus,_0x32e0e2,STATE_FAILED,_0x5a26c3));}catch(_0x5713e2){logger['debug'](_0x445430(0x236)+util[_0x445430(0x25a)](_0x5713e2)),PerformanceTester[_0x445430(0x29a)](PerformanceEvents[_0x445430(0x274)],![],_0x5713e2);}});}PerformanceTester['end'](PerformanceEvents[_0x3bed6c(0x274)]);}catch(_0x4cc818){PerformanceTester[_0x3bed6c(0x241)](_0x4cc818);const _0xcbb8af={};_0xcbb8af['hookType']=_0x54e6d2[_0x3bed6c(0x292)],PerformanceTester['end'](PerformanceHookEvents[_0x3bed6c(0x245)],![],_0x4cc818,_0xcbb8af),PerformanceTester[_0x3bed6c(0x29a)](PerformanceEvents[_0x3bed6c(0x274)],![],_0x4cc818);}const _0x37cc60={};_0x37cc60[_0x3bed6c(0x23d)]=_0x54e6d2['WRaaB'],PerformanceTester[_0x3bed6c(0x29a)](PerformanceHookEvents[_0x3bed6c(0x245)],!![],null,_0x37cc60);}),CodeceptJS[_0x120ea0(0x238)][_0x120ea0(0x2b7)]['on'](CodeceptJS[_0x120ea0(0x238)][_0x120ea0(0x212)]['skipped'],_0x472472=>{const _0x1e966a=_0x120ea0;PerformanceTester[_0x1e966a(0x27f)](PerformanceHookEvents[_0x1e966a(0x245)]);try{const _0x3efbc2=_0x5e48cd[_0x1e966a(0x262)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x472472);CodeceptRecorder[_0x1e966a(0x1fd)](()=>_0x5e48cd[_0x1e966a(0x26e)](TEST_EVENTS[_0x1e966a(0x1db)],_0x3efbc2)),PerformanceTester[_0x1e966a(0x29a)](PerformanceEvents[_0x1e966a(0x274)]);}catch(_0x220571){PerformanceTester[_0x1e966a(0x241)](_0x220571),PerformanceTester['end'](PerformanceEvents[_0x1e966a(0x274)],![],_0x220571);const _0x551e5a={};_0x551e5a[_0x1e966a(0x23d)]=_0x54e6d2['nGaCu'],PerformanceTester[_0x1e966a(0x29a)](PerformanceHookEvents['SDK_HOOK'],![],_0x220571,_0x551e5a);}const _0x110e78={};_0x110e78['hookType']=_0x54e6d2[_0x1e966a(0x1d6)],PerformanceTester[_0x1e966a(0x29a)](PerformanceHookEvents[_0x1e966a(0x245)],!![],null,_0x110e78);}),CodeceptJS[_0x120ea0(0x238)][_0x120ea0(0x2b7)]['on'](CodeceptJS['event'][_0x120ea0(0x212)][_0x120ea0(0x263)],async(_0x19d838,_0x59a443)=>{const _0x32df65=_0x120ea0,_0x3e07e2={};_0x3e07e2['wStdq']=_0x54e6d2['bbwrj'];const _0x33b7bb=_0x3e07e2;try{PerformanceTester['start'](PerformanceHookEvents[_0x32df65(0x245)]);const _0x5b8814=_0x54e6d2['oYCYm'](shouldScanTestForAccessibility,_0x19d838['titlePath'](),!![]);if(_0x54e6d2[_0x32df65(0x28f)](isAccessibilityAutomationSession)&&global[_0x32df65(0x248)]&&_0x5b8814){const _0x335be2={};_0x335be2[_0x32df65(0x27c)]=_0x19d838[_0x32df65(0x23e)],_0x335be2[_0x32df65(0x26f)]=process[_0x32df65(0x1e6)][testHubConstants[_0x32df65(0x2b0)][_0x32df65(0x22f)]],_0x335be2['thJwtToken']=process[_0x32df65(0x1e6)][testHubConstants['ENV_VAR'][_0x32df65(0x226)]];const _0x3955ac=_0x335be2;logger[_0x32df65(0x247)](_0x32df65(0x211)+JSON[_0x32df65(0x270)](_0x3955ac)),CodeceptRecorder[_0x32df65(0x1fd)](async()=>{const _0x8b60a1=_0x32df65,_0x223f28={};_0x223f28[_0x8b60a1(0x29c)]=_0x33b7bb[_0x8b60a1(0x224)],await PerformanceTester[_0x8b60a1(0x26d)](PerformanceA11yEvents[_0x8b60a1(0x2a9)],async()=>{const _0x293ada=_0x8b60a1;await AccessibilityHelper[_0x293ada(0x215)](_0x32e0e2,scripts[_0x293ada(0x29d)]);},_0x223f28)(),await PerformanceTester[_0x8b60a1(0x26d)](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x201e40=_0x8b60a1;await AccessibilityHelper[_0x201e40(0x215)](_0x32e0e2,scripts['saveTestResults'],_0x3955ac);})();}),logger[_0x32df65(0x1e7)](_0x54e6d2[_0x32df65(0x287)]);}const _0x1ea5a4={};_0x1ea5a4[_0x32df65(0x23d)]=_0x54e6d2[_0x32df65(0x295)],PerformanceTester[_0x32df65(0x29a)](PerformanceHookEvents[_0x32df65(0x245)],!![],null,_0x1ea5a4);}catch(_0x15546d){PerformanceTester[_0x32df65(0x241)](_0x15546d);const _0x17e026={};_0x17e026['hookType']=_0x54e6d2['rvuCG'],PerformanceTester[_0x32df65(0x29a)](PerformanceHookEvents[_0x32df65(0x245)],![],_0x15546d,_0x17e026);}}),CodeceptJS[_0x120ea0(0x238)][_0x120ea0(0x2b7)]['on'](CodeceptJS[_0x120ea0(0x238)][_0x120ea0(0x206)][_0x120ea0(0x259)],_0x218a43=>{const _0x1be712=_0x120ea0;PerformanceTester[_0x1be712(0x27f)](PerformanceHookEvents[_0x1be712(0x245)]);try{process[_0x1be712(0x268)]('bs:addLog:'+process['pid'],{'timestamp':new Date()[_0x1be712(0x1f0)](),'level':_0x54e6d2['jmNAz'],'message':_0x218a43,'kind':_0x54e6d2[_0x1be712(0x290)],'http_response':{}});}catch(_0x44c897){PerformanceTester[_0x1be712(0x241)](_0x44c897);const _0x1b76f0={};_0x1b76f0[_0x1be712(0x23d)]=_0x54e6d2['UHYFt'],PerformanceTester[_0x1be712(0x29a)](PerformanceHookEvents[_0x1be712(0x245)],![],_0x44c897,_0x1b76f0);}const _0x5e2905={};_0x5e2905[_0x1be712(0x23d)]=_0x54e6d2['UHYFt'],PerformanceTester[_0x1be712(0x29a)](PerformanceHookEvents[_0x1be712(0x245)],!![],null,_0x5e2905);}),CodeceptJS[_0x120ea0(0x238)]['dispatcher']['on'](CodeceptJS['event'][_0x120ea0(0x242)][_0x120ea0(0x209)],_0x2748a6=>{const _0x3ace53=_0x120ea0,_0x243812={};_0x243812[_0x3ace53(0x23d)]=_0x54e6d2[_0x3ace53(0x284)],PerformanceTester[_0x3ace53(0x26d)](PerformanceHookEvents[_0x3ace53(0x245)],()=>{_0x5e48cd['bddStepStart'](_0x2748a6);},_0x243812)();}),CodeceptJS[_0x120ea0(0x238)][_0x120ea0(0x2b7)]['on'](CodeceptJS['event'][_0x120ea0(0x242)][_0x120ea0(0x263)],_0x2e2c4f=>{const _0x57c14b=_0x120ea0,_0x2c009c={};_0x2c009c[_0x57c14b(0x23d)]=_0x54e6d2[_0x57c14b(0x281)],PerformanceTester['measureWrapper'](PerformanceHookEvents[_0x57c14b(0x245)],()=>{const _0x51b310=_0x57c14b;_0x5e48cd[_0x51b310(0x1df)](_0x2e2c4f);},_0x2c009c)();});};
1
+ function a1_0x1053(_0x1767b4,_0xdc2717){const _0x889575=a1_0x8895();return a1_0x1053=function(_0x105389,_0x41ffa3){_0x105389=_0x105389-0x188;let _0x420074=_0x889575[_0x105389];return _0x420074;},a1_0x1053(_0x1767b4,_0xdc2717);}function a1_0x8895(){const _0x562a37=['chromium','2314280QkmCpb','container','toString','action','BmNwF','ELjOL','TestCafe','setGlobal','ycicU','Vhfnj','filter','HTAJX','kzcXS','from','started','arguments','BROWSERSTACK_TESTHUB_UUID','__workerDetails','patchSaveScreenshot','Puppeteer','a11y_core_config','config','Playwright','1611150ZgswbQ','before','stopMonitoring','push','SDK_POST_INITIALIZE','shBzj','captureEvent','enabled','nAJtn','event','PxucK','hook-started','env','QqEZl','bddStepFinish','startsWith','exports','thBuildUuid','./helper.js','22JtqbJP','shouldWrapCommand','BvoMR','bddStep','../../helpers/performance/performance-tester','call','stack','PERFORM_SCAN','bqREH','version','NPJpl','codeceptjs','reason','SLckW','helpers','fireEvent','debug','apply','devtools://','screenshotOutputFolder','4627140FakdvA','VZIjj','status','SDK_PRE_TEST','_setPage','warn','SDK_POST_TEST','Yvzje','../../helpers/helper','knzAv','SDK_HOOK','getAccessibilityResultsSummary','HOOK_RUN_FINISHED','uqxKO','_before','MGqAa','BS_A11Y_JWT','../../bin/playwright/accessibility-helper','hookType','message','jQBMq','GET_RESULTS_SUMMARY','add','name','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','browserstackTestName','failed','DJIrW','wWIem','pwoRZ','LRhQr','includes','FrtQg','startMonitoring','bddStep-after','slice','args','SYNC','codeceptjs/lib/helper/WebDriver.js','initSaveScreenshot','hook-failed','rxupp','getResults','addRequestSpy','test-started','captureError','readFileSync','BjTXT','winstonLogger','util','CUKkI','oOfOp','saveTestResults','--auto-open-devtools-for-tabs','all','class','TEST_RUN_STARTED','comment','domForge','hoHtu','codeceptjs/lib/utils.js','Failed\x20to\x20patch\x20pages\x20method\x20in\x20browserContext\x20for\x20a11y\x20domForge:\x20','start','find','getAccessibilityResults','ZBHxu','saveScreenshot','skipSessionName','performScan','toISOString','bstackAllyScanning','2507547fDnlwY','hiCyW','tjwnl','info','BvlSJ','SAVE_RESULTS','pages','dispatcher','titlePath','sTIfe','then','GET_RESULTS','../../helpers/test-observability/utils','TLXHy','getResultsSummary','currentTest','pixfT','TEST_LOG','eJjah','../../helpers/performance/constants','fAEzC','constructor','browserStackExecuteDriver','step','stop','bind','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','2952486jcGayq','test-passed','emit','pid','TEST_RUN_FINISHED','SESSION_NAME','forEach','5PPJYzs','patch','piFnJ','HOOK_RUN_STARTED','page','isArray','test-before','\x0aStack:\x20','../../helpers/logger','XjtyJ','Pbuqx','SDK_TEST','vyiDv','127119EPlNvX','fDRQC','KhlzU','test-failed','16VbDnsJ','split','6726924nYGJdS','measureWrapper','vZKce','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','skipSessionStatus','test','contexts','after','title','hook-passed','SDK_PRE_INITIALIZE','browser','step-comment','browserContext','TEST_RUN_SKIPPED','NYSIC','browserstack_executor:\x20','stringify','Element','testFramework','LkVYb','__driver','Failed\x20to\x20execute\x20_before:\x20','webdriverio','FRAMEWORK_DETAILS','cdgVf','ctx','__skipSessionStatus','rCWEM','accessibilityPlatform','otCCm','pEoxK','format','url','Pcadi','thJwtToken','mvwbk','nbPQj','qKWPu','base64','WwCoO','executeScript','LoLvA','command','RZZpW','gNuLD','uJwEv','testAnalyticsId','prototype','4CqBgVZ','INFO','end','fFSpK','LnWKF','hook','QhGei','KxcRk','test-after'];a1_0x8895=function(){return _0x562a37;};return a1_0x8895();}const a1_0x126a87=a1_0x1053;(function(_0xcfb0d,_0x4de614){const _0x463d75=a1_0x1053,_0x406523=_0xcfb0d();while(!![]){try{const _0x273104=parseInt(_0x463d75(0x21c))/0x1*(-parseInt(_0x463d75(0x253))/0x2)+parseInt(_0x463d75(0x208))/0x3+parseInt(_0x463d75(0x25d))/0x4+-parseInt(_0x463d75(0x20f))/0x5*(parseInt(_0x463d75(0x274))/0x6)+parseInt(_0x463d75(0x1ed))/0x7*(-parseInt(_0x463d75(0x220))/0x8)+-parseInt(_0x463d75(0x222))/0x9+parseInt(_0x463d75(0x1a6))/0xa*(parseInt(_0x463d75(0x192))/0xb);if(_0x273104===_0x4de614)break;else _0x406523['push'](_0x406523['shift']());}catch(_0x18474b){_0x406523['push'](_0x406523['shift']());}}}(a1_0x8895,0x7a70f));const fs=require('fs'),util=require(a1_0x126a87(0x1d7)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x126a87(0x1ae)),logger=require(a1_0x126a87(0x217))[a1_0x126a87(0x1d6)],testOpsHelper=require(a1_0x126a87(0x1f9)),requestSpy=require('../../helpers/request-spy'),PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require('./o11yHelper'),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),AccessibilityHelper=require(a1_0x126a87(0x1b7)),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require(a1_0x126a87(0x196)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x126a87(0x200)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x126a87(0x191)),testHubConstants=require('../../helpers/testhub/constants.js'),globals=require('../../helpers/globals.js'),CodeceptJS=requireModule('codeceptjs/lib/index.js',a1_0x126a87(0x19d)),CodeceptUtils=requireModule(a1_0x126a87(0x1e2),a1_0x126a87(0x19d)),CodeceptWebDriver=requireModule(a1_0x126a87(0x1cc),a1_0x126a87(0x19d)),CodeceptRecorder=requireModule('codeceptjs/lib/recorder.js',a1_0x126a87(0x19d)),CodeceptPlaywright=requireModule('codeceptjs/lib/helper/Playwright.js','codeceptjs'),playwrightMarkSessionStatus=(_0xd90204,_0x167222,_0x265a31)=>{const _0x57b482=a1_0x126a87,_0x233968={'ukKqH':'setSessionStatus','wWIem':function(_0x5a4c36,_0x14b490){return _0x5a4c36(_0x14b490);}},_0xb02e9c={};_0xb02e9c[_0x57b482(0x1a8)]=_0x167222;const _0x156fd6={};_0x156fd6['action']=_0x233968['ukKqH'],_0x156fd6['arguments']=_0xb02e9c;const _0xd0b4f9=_0x156fd6;return!_0x233968[_0x57b482(0x1c2)](isUndefined,_0x265a31)&&(_0xd0b4f9[_0x57b482(0x26c)][_0x57b482(0x19e)]=JSON[_0x57b482(0x233)](_0x265a31)),_0xd90204[_0x57b482(0x24b)](()=>{},_0x57b482(0x232)+JSON[_0x57b482(0x233)](_0xd0b4f9));},o11ySync=PerformanceTester[a1_0x126a87(0x223)](PerformanceO11yEvents[a1_0x126a87(0x1cb)],async _0x10a76d=>{const _0x21acdc=a1_0x126a87,_0x108120={};_0x108120[_0x21acdc(0x201)]=function(_0x4e525b,_0x42f9d3){return _0x4e525b===_0x42f9d3;},_0x108120[_0x21acdc(0x224)]='Playwright';const _0x22cc12=_0x108120;_0x22cc12[_0x21acdc(0x201)](_0x10a76d[_0x21acdc(0x202)]['name'],_0x22cc12[_0x21acdc(0x224)])?await _0x10a76d['executeScript'](_0x3c76c2=>{},testOpsHelper['getSyncScript']()):await _0x10a76d[_0x21acdc(0x24b)](testOpsHelper['getSyncScript']());}),markSessionName=PerformanceTester[a1_0x126a87(0x223)](PerformanceAutEvents[a1_0x126a87(0x20d)],async(_0x1b227e,_0x5bdd25)=>{const _0x5116b9=a1_0x126a87,_0x2a0493={};_0x2a0493['NcQKu']='setSessionName',_0x2a0493[_0x5116b9(0x1c3)]=function(_0x43d21f,_0x202476){return _0x43d21f===_0x202476;},_0x2a0493[_0x5116b9(0x261)]=_0x5116b9(0x273);const _0x54d593=_0x2a0493,_0x4503b7={};_0x4503b7[_0x5116b9(0x1bd)]=_0x5bdd25;const _0x70578b={};_0x70578b[_0x5116b9(0x260)]=_0x54d593['NcQKu'],_0x70578b[_0x5116b9(0x26c)]=_0x4503b7;const _0x59a83e=_0x70578b;_0x54d593[_0x5116b9(0x1c3)](_0x1b227e['constructor']['name'],_0x54d593[_0x5116b9(0x261)])?await _0x1b227e[_0x5116b9(0x24b)](()=>{},'browserstack_executor:\x20'+JSON[_0x5116b9(0x233)](_0x59a83e)):await _0x1b227e['executeScript'](_0x5116b9(0x232)+JSON[_0x5116b9(0x233)](_0x59a83e));}),patchSaveScreenshot=_0x1dace8=>{const _0x36475f=a1_0x126a87,_0x450334={'rCWEM':_0x36475f(0x249),'shBzj':'TEST_SCREENSHOT','fLfEV':function(_0x38329a){return _0x38329a();},'hoHtu':function(_0x5aa7bd,_0x13d97b){return _0x5aa7bd(_0x13d97b);},'sTIfe':'Screenshot\x20path\x20not\x20found','UoLOa':function(_0x12d292,_0x253ac4){return _0x12d292(_0x253ac4);}};_0x450334['UoLOa'](isTrue,process['env']['BS_TESTOPS_ALLOW_SCREENSHOTS'])&&!_0x1dace8['patchSaveScreenshot']&&(_0x1dace8[_0x36475f(0x26f)]=!![],_0x1dace8[_0x36475f(0x1cd)]=_0x1dace8[_0x36475f(0x1e8)],_0x1dace8[_0x36475f(0x1e8)]=(_0x3bda93,_0x1e2f7d=![])=>{const _0x3ed3a4=_0x36475f,_0xe0cee4={'HTAJX':_0x450334[_0x3ed3a4(0x23e)],'yeDwJ':_0x450334[_0x3ed3a4(0x279)],'ELjOL':function(_0x25a01d){return _0x450334['fLfEV'](_0x25a01d);},'mzpQe':function(_0x55fcb5,_0x1b8664){const _0x305382=_0x3ed3a4;return _0x450334[_0x305382(0x1e1)](_0x55fcb5,_0x1b8664);},'SLckW':_0x450334[_0x3ed3a4(0x1f6)]};return new Promise(function(_0x3d09bb,_0x40321c){const _0xb02824=_0x3ed3a4,_0x88fa32={'eEpIa':_0xe0cee4[_0xb02824(0x268)],'YYBaY':_0xe0cee4['yeDwJ'],'mvwbk':function(_0x745f10){const _0x3e3e78=_0xb02824;return _0xe0cee4[_0x3e3e78(0x262)](_0x745f10);},'BvlSJ':function(_0xa3f958,_0x2d6d97){return _0xe0cee4['mzpQe'](_0xa3f958,_0x2d6d97);},'FgNIM':_0xe0cee4[_0xb02824(0x19f)]};_0x1dace8['initSaveScreenshot'](_0x3bda93,_0x1e2f7d)[_0xb02824(0x1f7)](()=>{const _0x1dce0c=_0xb02824,_0x4fa625=CodeceptUtils[_0x1dce0c(0x1a5)](_0x3bda93);if(_0x4fa625){const _0x51cc8b=fs[_0x1dce0c(0x1d4)](_0x4fa625);process[_0x1dce0c(0x20a)]('bs:addLog:'+process['pid'],{'timestamp':new Date()[_0x1dce0c(0x1eb)](),'message':_0x51cc8b[_0x1dce0c(0x25f)](_0x88fa32['eEpIa']),'kind':_0x88fa32['YYBaY']}),_0x88fa32[_0x1dce0c(0x246)](_0x3d09bb);}_0x88fa32[_0x1dce0c(0x1f1)](_0x40321c,new Error(_0x88fa32['FgNIM']));})['catch'](()=>null);});});},patchWebDriverBefore=_0x28f604=>{const _0x122a47=a1_0x126a87,_0x177a44={'KhlzU':function(_0x51a324){return _0x51a324();},'nbPQj':function(_0x45a03a,_0xa6b6aa){return _0x45a03a(_0xa6b6aa);},'TLXHy':function(_0x391cca,_0x1ebc52){return _0x391cca===_0x1ebc52;},'jQBMq':_0x122a47(0x239),'IPkzi':'string','NYSIC':_0x122a47(0x234)},_0x13cf66=async function(_0x46cf22,_0x3a6cc6){const _0x4c6e16=_0x122a47;_0x177a44[_0x4c6e16(0x21e)](isAccessibilityAutomationSession)&&!global[_0x4c6e16(0x1ec)]&&global[_0x4c6e16(0x23f)]&&scripts[_0x4c6e16(0x193)](_0x46cf22['name'])&&_0x177a44[_0x4c6e16(0x247)](shouldPatchExecuteScript,arguments[0x2])&&(global['bstackAllyScanning']=!![],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x4c6e16(0x199)],async()=>{const _0x43e4f7=_0x4c6e16;logger['debug']('Performing\x20scan\x20for\x20'+_0x46cf22[_0x43e4f7(0x1dd)]+'\x20'+_0x46cf22[_0x43e4f7(0x1bd)]),await AccessibilityHelper[_0x43e4f7(0x203)](_0x28f604,scripts[_0x43e4f7(0x1ea)]);},{'command':_0x46cf22[_0x4c6e16(0x1bd)]})());global[_0x4c6e16(0x1ec)]=![];const _0x4b4f9d=JSON['parse'](process[_0x4c6e16(0x18b)][_0x4c6e16(0x23a)]||'{}');if(_0x177a44['TLXHy'](_0x4b4f9d?.[_0x4c6e16(0x235)]?.['name'],_0x177a44[_0x4c6e16(0x1ba)])&&_0x177a44[_0x4c6e16(0x1fa)](typeof _0x4b4f9d?.['testFramework']?.[_0x4c6e16(0x19b)],_0x177a44['IPkzi'])&&_0x4b4f9d?.['testFramework']?.[_0x4c6e16(0x19b)][_0x4c6e16(0x18e)]('7'))return _0x3a6cc6[_0x4c6e16(0x1a3)](null,Array['prototype'][_0x4c6e16(0x1c9)][_0x4c6e16(0x197)](arguments,0x2));return _0x3a6cc6[_0x4c6e16(0x1a3)](this,Array[_0x4c6e16(0x252)][_0x4c6e16(0x1c9)][_0x4c6e16(0x197)](arguments,0x2));},_0x3475aa=CodeceptWebDriver['prototype']['_before'];CodeceptWebDriver['prototype'][_0x122a47(0x1b4)]=async function(){const _0x470550=_0x122a47;try{await _0x3475aa[_0x470550(0x1a3)](this,arguments);}catch(_0x17ec92){logger[_0x470550(0x1a2)](_0x470550(0x238)+util['format'](_0x17ec92));}scripts['commandsToWrap'][_0x470550(0x267)](_0x365cc0=>_0x365cc0[_0x470550(0x1bd)]&&_0x365cc0[_0x470550(0x1dd)])[_0x470550(0x20e)](_0x2937b2=>{const _0x426053=_0x470550;this['browser']['overwriteCommand'](_0x2937b2[_0x426053(0x1bd)],_0x13cf66[_0x426053(0x206)](this,_0x2937b2),_0x177a44['TLXHy'](_0x2937b2[_0x426053(0x1dd)],_0x177a44[_0x426053(0x231)]));}),_0x177a44['nbPQj'](processWebDriverConfig,_0x28f604);};};function parseJwt(_0x34146f){const _0x33e421=a1_0x126a87,_0x48b7f1={};_0x48b7f1['KCoqD']=_0x33e421(0x249);const _0x4615d0=_0x48b7f1;if(!_0x34146f)return null;return JSON['parse'](Buffer[_0x33e421(0x26a)](_0x34146f[_0x33e421(0x221)]('.')[0x1],_0x4615d0['KCoqD'])['toString']());}const patchPlaywrightBefore=()=>{const _0x4c477a=a1_0x126a87,_0x57a628={'rxupp':function(_0x1ea90f){return _0x1ea90f();},'KxcRk':_0x4c477a(0x1a4),'Lnrsl':_0x4c477a(0x1db),'QqEZl':function(_0x5a9bb9,_0x45090e){return _0x5a9bb9(_0x45090e);},'bYHfU':function(_0x286104,_0x2ad51b){return _0x286104+_0x2ad51b;},'NPJpl':_0x4c477a(0x216),'CLRMm':function(_0x417330){return _0x417330();}};PlaywrightSessionDetails[_0x4c477a(0x210)]();const _0x99b2f3=CodeceptPlaywright[_0x4c477a(0x252)]['_before'];CodeceptPlaywright['prototype']['_before']=async function(){const _0xf60685=_0x4c477a,_0x5ab225={'VZIjj':function(_0x4f7307){return _0x57a628['rxupp'](_0x4f7307);},'LoLvA':_0x57a628[_0xf60685(0x25a)],'uqxKO':_0x57a628['Lnrsl'],'BvoMR':function(_0x148ac8,_0x8b6997){const _0x36ad55=_0xf60685;return _0x57a628[_0x36ad55(0x18c)](_0x148ac8,_0x8b6997);},'knzAv':function(_0x4da50a,_0x1bba6d){return _0x57a628['bYHfU'](_0x4da50a,_0x1bba6d);},'IVIeF':_0x57a628[_0xf60685(0x19c)]};this['browserContext']=await this[_0xf60685(0x22d)][_0xf60685(0x228)]()[0x0];const _0x5d63d4=async()=>{const _0x454263=_0xf60685,_0x3a52a0={'xENCZ':function(_0x30550a){return _0x5ab225['VZIjj'](_0x30550a);},'dWzmF':_0x5ab225['LoLvA']},_0x262a6f=this[_0x454263(0x272)]&&this['config'][_0x454263(0x25c)]&&this[_0x454263(0x272)]['chromium'][_0x454263(0x1ca)]&&Array[_0x454263(0x214)](this[_0x454263(0x272)][_0x454263(0x25c)][_0x454263(0x1ca)])&&this['config']['chromium'][_0x454263(0x1ca)][_0x454263(0x1c5)](_0x5ab225[_0x454263(0x1b3)]);if(_0x5ab225[_0x454263(0x1a7)](isAccessibilityAutomationSession)&&!_0x262a6f)try{const _0x4b6cf0=_0x5ab225[_0x454263(0x194)](parseJwt,process[_0x454263(0x18b)][_0x454263(0x1b6)]);if(_0x4b6cf0&&_0x4b6cf0[_0x454263(0x271)]&&_0x4b6cf0['a11y_core_config'][_0x454263(0x1e0)]){const _0x4775fa=this[_0x454263(0x22f)][_0x454263(0x1f3)][_0x454263(0x206)](this[_0x454263(0x22f)]);this[_0x454263(0x22f)][_0x454263(0x1f3)]=async function(){const _0x34920f=_0x454263,_0x47093b=await _0x3a52a0['xENCZ'](_0x4775fa),_0x419462=[];for(const _0x2a520f of _0x47093b){try{const _0x27f825=await _0x2a520f[_0x34920f(0x243)]();!_0x27f825[_0x34920f(0x18e)](_0x3a52a0['dWzmF'])&&_0x419462[_0x34920f(0x277)](_0x2a520f);}catch(_0x3f0248){_0x419462[_0x34920f(0x277)](_0x2a520f);}}return _0x419462;};}if(!_0x5ab225['VZIjj'](isBrowserstackInfra)){const _0x1d8f99=await this[_0x454263(0x213)]['url']();if(_0x1d8f99[_0x454263(0x18e)](_0x5ab225[_0x454263(0x24c)])){const _0x9142af=await this[_0x454263(0x22f)]['pages']();this[_0x454263(0x1aa)](_0x9142af[0x0]);}}}catch(_0x4602be){logger['debug'](_0x454263(0x1e3)+_0x4602be[_0x454263(0x1b9)]+(_0x4602be['stack']?_0x5ab225[_0x454263(0x1af)](_0x5ab225['IVIeF'],_0x4602be[_0x454263(0x198)]):''));}};_0x57a628[_0xf60685(0x1cf)](isBrowserstackInfra)&&await _0x57a628[_0xf60685(0x1cf)](_0x5d63d4),await _0x99b2f3['apply'](this,arguments),!_0x57a628[_0xf60685(0x1cf)](isBrowserstackInfra)&&await _0x57a628['CLRMm'](_0x5d63d4);};},getCodeceptDriver=()=>{const _0x4d2b22=a1_0x126a87,_0x243c5c={};_0x243c5c[_0x4d2b22(0x27c)]='WebDriver',_0x243c5c[_0x4d2b22(0x1c4)]=_0x4d2b22(0x273),_0x243c5c['PxucK']=_0x4d2b22(0x270),_0x243c5c[_0x4d2b22(0x1d9)]=_0x4d2b22(0x263);const _0x32cd10=_0x243c5c,_0x43f31e=[_0x32cd10[_0x4d2b22(0x27c)],_0x32cd10[_0x4d2b22(0x1c4)],_0x32cd10[_0x4d2b22(0x189)],_0x32cd10[_0x4d2b22(0x1d9)]],_0x30a8ec=_0x43f31e[_0x4d2b22(0x1e5)](_0x325cf9=>!!CodeceptJS['container'][_0x4d2b22(0x1a0)](_0x325cf9));if(!_0x30a8ec)return null;return CodeceptJS['container'][_0x4d2b22(0x1a0)](_0x30a8ec);};module[a1_0x126a87(0x18f)]=function(_0x585cd2){const _0x981e07=a1_0x126a87,_0x4dd419={'LkVYb':function(_0x44d2ba){return _0x44d2ba();},'hardf':function(_0x301866,_0x2a1de1){return _0x301866(_0x2a1de1);},'hiCyW':'getAccessibilityResultsSummary','piFnJ':_0x981e07(0x225),'gNuLD':_0x981e07(0x1e6),'pixfT':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','woHCl':_0x981e07(0x18a),'QhGei':_0x981e07(0x22b),'FrtQg':_0x981e07(0x1ce),'DJIrW':_0x981e07(0x1bf),'XjtyJ':_0x981e07(0x215),'szooI':function(_0x5d6e38,_0x3a1dc0){return _0x5d6e38(_0x3a1dc0);},'bqREH':function(_0x1538f2,_0x1dddd2,_0x1244f6){return _0x1538f2(_0x1dddd2,_0x1244f6);},'ycicU':_0x981e07(0x1d2),'zTqnv':function(_0x5e6bcb,_0x170023,_0x43a909){return _0x5e6bcb(_0x170023,_0x43a909);},'RZZpW':function(_0x3a52a2){return _0x3a52a2();},'uJwEv':_0x981e07(0x209),'vyiDv':function(_0x1d83e1,_0x460a86,_0x151cc1,_0x22e780){return _0x1d83e1(_0x460a86,_0x151cc1,_0x22e780);},'WwCoO':function(_0x4a2187,_0x1f0fda){return _0x4a2187===_0x1f0fda;},'tifoT':'Suite','Pcadi':_0x981e07(0x21f),'Yvzje':'test-skipped','Vhfnj':'afterTest','fFSpK':function(_0x3e7576,_0x292a78,_0x1bc9bd){return _0x3e7576(_0x292a78,_0x1bc9bd);},'otCCm':_0x981e07(0x1be),'eJjah':_0x981e07(0x25b),'BjTXT':_0x981e07(0x254),'CUKkI':_0x981e07(0x1fe),'MGqAa':_0x981e07(0x22e),'tjwnl':'bddStep-before','oQkdh':_0x981e07(0x1c8),'pEoxK':_0x981e07(0x273)};_0x585cd2[_0x981e07(0x226)]&&(global[_0x981e07(0x23d)]=_0x585cd2['skipSessionStatus']);PerformanceTester[_0x981e07(0x1c7)]();const _0x1b3a88=_0x4dd419[_0x981e07(0x236)](getCodeceptDriver),_0x48f112=new O11yHelper(_0x1b3a88,_0x585cd2),_0x4102ce=!!CodeceptJS[_0x981e07(0x25e)]['helpers'](_0x4dd419[_0x981e07(0x241)]);global[_0x981e07(0x237)]=_0x1b3a88,_0x1b3a88&&(PerformanceTester[_0x981e07(0x223)](PerformanceEvents[_0x981e07(0x22c)],()=>{const _0x1c5b45=_0x981e07;_0x4102ce?_0x4dd419[_0x1c5b45(0x236)](patchPlaywrightBefore):_0x4dd419['hardf'](patchWebDriverBefore,_0x1b3a88);})(),PerformanceTester['measureWrapper'](PerformanceEvents[_0x981e07(0x278)],()=>{const _0x162810=_0x981e07,_0x11fc15={};_0x11fc15[_0x162810(0x248)]=_0x4dd419[_0x162810(0x24f)],_0x11fc15[_0x162810(0x269)]=_0x4dd419[_0x162810(0x1fd)];const _0x5710a0=_0x11fc15;_0x1b3a88[_0x162810(0x1b1)]=async()=>{const _0x1585e2=_0x162810;if(global['accessibilityPlatform']){const _0x3a4f5e={};return _0x3a4f5e[_0x1585e2(0x24d)]=_0x4dd419[_0x1585e2(0x1ee)],await PerformanceTester[_0x1585e2(0x223)](PerformanceA11yEvents[_0x1585e2(0x199)],async()=>{const _0x5f1918=_0x1585e2;return await AccessibilityHelper[_0x5f1918(0x203)](_0x1b3a88,scripts[_0x5f1918(0x1ea)]);},_0x3a4f5e)(),await PerformanceTester[_0x1585e2(0x223)](PerformanceA11yEvents[_0x1585e2(0x1bb)],async()=>{const _0x54840b=_0x1585e2;return await AccessibilityHelper[_0x54840b(0x203)](_0x1b3a88,scripts[_0x54840b(0x1fb)]);})();}return logger[_0x1585e2(0x1ab)](_0x4dd419[_0x1585e2(0x211)]),{};},_0x1b3a88['getAccessibilityResults']=async()=>{const _0x267daf=_0x162810;if(global['accessibilityPlatform']){const _0x510e28={};return _0x510e28['command']=_0x5710a0[_0x267daf(0x248)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x267daf(0x199)],async()=>{const _0x403bae=_0x267daf;return await AccessibilityHelper[_0x403bae(0x203)](_0x1b3a88,scripts[_0x403bae(0x1ea)]);},_0x510e28)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x267daf(0x1f8)],async()=>{const _0x3c49a1=_0x267daf;return await AccessibilityHelper[_0x3c49a1(0x203)](_0x1b3a88,scripts[_0x3c49a1(0x1d0)]);})();}return logger[_0x267daf(0x1ab)](_0x5710a0['kzcXS']),{};},_0x4dd419['hardf'](patchSaveScreenshot,_0x1b3a88);})()),CodeceptJS[_0x981e07(0x188)][_0x981e07(0x1f4)]['on'](CodeceptJS['event'][_0x981e07(0x1dc)][_0x981e07(0x275)],()=>{const _0x5bcd5b=_0x981e07;PerformanceTester[_0x5bcd5b(0x1e4)](PerformanceEvents[_0x5bcd5b(0x1a9)]);try{_0x48f112[_0x5bcd5b(0x1e4)](),testOpsHelper[_0x5bcd5b(0x1d1)](),PerformanceTester[_0x5bcd5b(0x255)](PerformanceEvents['SDK_PRE_TEST']);}catch(_0x4daac0){PerformanceTester[_0x5bcd5b(0x1d3)](_0x4daac0),PerformanceTester[_0x5bcd5b(0x255)](PerformanceEvents[_0x5bcd5b(0x1a9)],![],_0x4daac0);}}),CodeceptJS[_0x981e07(0x188)][_0x981e07(0x1f4)]['on'](CodeceptJS[_0x981e07(0x188)]['all']['after'],async()=>{const _0x1baabd=_0x981e07;PerformanceTester[_0x1baabd(0x1e4)](PerformanceEvents[_0x1baabd(0x1ac)]);try{requestSpy['restore'](),await _0x48f112[_0x1baabd(0x205)](),PerformanceTester[_0x1baabd(0x255)](PerformanceEvents[_0x1baabd(0x1ac)]);}catch(_0x409ebb){PerformanceTester[_0x1baabd(0x1d3)](_0x409ebb),PerformanceTester[_0x1baabd(0x255)](PerformanceEvents[_0x1baabd(0x1ac)],![],_0x409ebb);}finally{PerformanceTester[_0x1baabd(0x276)]();}}),CodeceptJS[_0x981e07(0x188)][_0x981e07(0x1f4)]['on'](CodeceptJS[_0x981e07(0x188)][_0x981e07(0x258)]['started'],_0x2d147a=>{const _0x4b7122=_0x981e07;PerformanceTester[_0x4b7122(0x1e4)](PerformanceEvents['SDK_HOOK']);try{const _0xd4d3b7=_0x2d147a[_0x4b7122(0x23c)]['test'],_0x4c3856=_0x48f112[_0x4b7122(0x27a)](TEST_EVENTS[_0x4b7122(0x212)],_0xd4d3b7);CodeceptRecorder[_0x4b7122(0x1bc)](()=>_0x48f112[_0x4b7122(0x1a1)](TEST_EVENTS[_0x4b7122(0x212)],_0x4c3856));const _0x31af={};_0x31af[_0x4b7122(0x1b8)]=_0x4dd419['woHCl'],PerformanceTester[_0x4b7122(0x255)](PerformanceEvents['SDK_HOOK'],!![],null,_0x31af);}catch(_0x33429d){const _0x1e0ed3={};_0x1e0ed3['hookType']=_0x4dd419['woHCl'],PerformanceTester[_0x4b7122(0x255)](PerformanceEvents[_0x4b7122(0x1b0)],![],_0x33429d,_0x1e0ed3),PerformanceTester['captureError'](_0x33429d);}}),CodeceptJS[_0x981e07(0x188)][_0x981e07(0x1f4)]['on'](CodeceptJS[_0x981e07(0x188)]['hook']['passed'],_0x4d01f8=>{const _0x331e34=_0x981e07,_0x2b0db4={};_0x2b0db4[_0x331e34(0x1b8)]=_0x4dd419[_0x331e34(0x259)],PerformanceTester[_0x331e34(0x1e4)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x2b0db4);try{const _0x1511b0=_0x4d01f8[_0x331e34(0x23c)][_0x331e34(0x227)],_0x2d0b7e=_0x48f112[_0x331e34(0x27a)](TEST_EVENTS[_0x331e34(0x1b2)],_0x1511b0);CodeceptRecorder['add'](()=>_0x48f112[_0x331e34(0x1a1)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x2d0b7e));const _0x260957={};_0x260957[_0x331e34(0x1b8)]=_0x4dd419['QhGei'],PerformanceTester[_0x331e34(0x255)](PerformanceHookEvents[_0x331e34(0x1b0)],!![],null,_0x260957);}catch(_0x476bec){PerformanceTester[_0x331e34(0x1d3)](_0x476bec);const _0xe37536={};_0xe37536[_0x331e34(0x1b8)]=_0x4dd419['QhGei'],PerformanceTester['end'](PerformanceHookEvents[_0x331e34(0x1b0)],![],_0x476bec,_0xe37536);}}),CodeceptJS[_0x981e07(0x188)][_0x981e07(0x1f4)]['on'](CodeceptJS[_0x981e07(0x188)][_0x981e07(0x258)][_0x981e07(0x1c0)],async(_0x5974fc,_0xdcdec)=>{const _0x543bda=_0x981e07;PerformanceTester[_0x543bda(0x1e4)](PerformanceHookEvents[_0x543bda(0x1b0)]);try{const _0x2a02f9=_0x5974fc[_0x543bda(0x23c)][_0x543bda(0x227)],_0x4f03e4=_0x48f112['captureEvent'](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x2a02f9,_0xdcdec);CodeceptRecorder['add'](()=>_0x48f112[_0x543bda(0x1a1)](TEST_EVENTS[_0x543bda(0x1b2)],_0x4f03e4));const _0x98891c={};_0x98891c['hookType']=_0x4dd419['FrtQg'],PerformanceTester[_0x543bda(0x1e4)](PerformanceHookEvents[_0x543bda(0x1b0)],!![],null,_0x98891c);}catch(_0x3d68e7){PerformanceTester['captureError'](_0x3d68e7);const _0xf2b7f6={};_0xf2b7f6[_0x543bda(0x1b8)]=_0x4dd419['FrtQg'],PerformanceTester[_0x543bda(0x255)](PerformanceHookEvents[_0x543bda(0x1b0)],![],_0x3d68e7,_0xf2b7f6);}const _0x5e73de={};_0x5e73de[_0x543bda(0x1b8)]=_0x4dd419[_0x543bda(0x1c6)],PerformanceTester[_0x543bda(0x255)](PerformanceHookEvents[_0x543bda(0x1b0)],!![],null,_0x5e73de);}),CodeceptJS[_0x981e07(0x188)][_0x981e07(0x1f4)]['on'](CodeceptJS[_0x981e07(0x188)][_0x981e07(0x227)][_0x981e07(0x275)],_0x18a6e5=>{const _0x20e844=_0x981e07;PerformanceTester[_0x20e844(0x1e4)](PerformanceHookEvents['SDK_HOOK']);try{globals[_0x20e844(0x264)](_0x4dd419['DJIrW'],_0x18a6e5[_0x20e844(0x22a)]);_0x4dd419[_0x20e844(0x236)](isBrowserstackInfra)&&(_0x4102ce&&(global[_0x20e844(0x26e)]={'currentTest':{'name':_0x18a6e5['title'],'testInfo':{'titlePath':_0x18a6e5[_0x20e844(0x1f5)]()}}}));const _0x5cd31a={};_0x5cd31a[_0x20e844(0x1b8)]=_0x4dd419['XjtyJ'],PerformanceTester['end'](PerformanceHookEvents[_0x20e844(0x1b0)],!![],null,_0x5cd31a);}catch(_0x5c713c){PerformanceTester[_0x20e844(0x1d3)](_0x5c713c);const _0x425952={};_0x425952['hookType']=_0x4dd419[_0x20e844(0x218)],PerformanceTester['end'](PerformanceHookEvents[_0x20e844(0x1b0)],![],_0x5c713c,_0x425952);}}),CodeceptJS[_0x981e07(0x188)][_0x981e07(0x1f4)]['on'](CodeceptJS[_0x981e07(0x188)][_0x981e07(0x227)][_0x981e07(0x26b)],_0x2ee656=>{const _0x1532e2=_0x981e07,_0x4aeb6d={'ZBHxu':function(_0x383b25){const _0x1f086d=a1_0x1053;return _0x4dd419[_0x1f086d(0x236)](_0x383b25);},'cdgVf':function(_0xcf3f18,_0x44685a){return _0x4dd419['szooI'](_0xcf3f18,_0x44685a);},'LnWKF':function(_0x275e84,_0x134170,_0x52b065){const _0x5d419c=a1_0x1053;return _0x4dd419[_0x5d419c(0x19a)](_0x275e84,_0x134170,_0x52b065);}};PerformanceTester[_0x1532e2(0x1e4)](PerformanceHookEvents[_0x1532e2(0x1b0)]);try{globals[_0x1532e2(0x264)](_0x4dd419[_0x1532e2(0x1c1)],_0x2ee656[_0x1532e2(0x22a)]);const _0x17c491=_0x48f112[_0x1532e2(0x27a)](TEST_EVENTS[_0x1532e2(0x1de)],_0x2ee656);CodeceptRecorder[_0x1532e2(0x1bc)](()=>_0x48f112[_0x1532e2(0x1a1)](TEST_EVENTS[_0x1532e2(0x1de)],_0x17c491)),CodeceptRecorder[_0x1532e2(0x1bc)](async()=>{const _0x52bc64=_0x1532e2;_0x4aeb6d[_0x52bc64(0x1e7)](isBrowserstackInfra)&&(!_0x4aeb6d[_0x52bc64(0x23b)](isTrue,_0x585cd2[_0x52bc64(0x1e9)])&&await _0x4aeb6d[_0x52bc64(0x257)](markSessionName,_0x1b3a88,_0x2ee656[_0x52bc64(0x22a)]),_0x48f112[_0x52bc64(0x27b)]&&await _0x4aeb6d[_0x52bc64(0x23b)](o11ySync,_0x1b3a88));});}catch(_0x529949){const _0x55fdb9={};_0x55fdb9['hookType']=_0x4dd419['ycicU'],PerformanceTester[_0x1532e2(0x255)](PerformanceHookEvents[_0x1532e2(0x1b0)],![],_0x529949,_0x55fdb9),PerformanceTester[_0x1532e2(0x1d3)](_0x529949);}const _0x37cd03={};_0x37cd03['hookType']=_0x4dd419[_0x1532e2(0x265)],PerformanceTester[_0x1532e2(0x255)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x37cd03);}),CodeceptJS[_0x981e07(0x188)][_0x981e07(0x1f4)]['on'](CodeceptJS['event'][_0x981e07(0x227)]['passed'],_0x17543c=>{const _0x377a44=_0x981e07;PerformanceTester[_0x377a44(0x1e4)](PerformanceHookEvents[_0x377a44(0x1b0)]);try{const _0x37763f=_0x48f112[_0x377a44(0x27a)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x17543c);CodeceptRecorder['add'](()=>_0x48f112[_0x377a44(0x1a1)](TEST_EVENTS[_0x377a44(0x20c)],_0x37763f)),CodeceptRecorder[_0x377a44(0x1bc)](async()=>{const _0x155845=_0x377a44,_0xb4eb90={'Pbuqx':function(_0x3d4d58,_0x1deb59,_0x1359dd){return _0x4dd419['zTqnv'](_0x3d4d58,_0x1deb59,_0x1359dd);}};_0x4dd419['RZZpW'](isBrowserstackInfra)&&await PerformanceTester[_0x155845(0x223)](PerformanceAutEvents['SESSION_STATUS'],async()=>{const _0x5b7fb7=_0x155845;_0x4102ce?await _0xb4eb90[_0x5b7fb7(0x219)](playwrightMarkSessionStatus,_0x1b3a88,STATE_PASSED):await _0xb4eb90[_0x5b7fb7(0x219)](markSessionStatus,_0x1b3a88,STATE_PASSED);})();}),PerformanceTester[_0x377a44(0x255)](PerformanceEvents[_0x377a44(0x21a)]);}catch(_0x4d9d3c){PerformanceTester[_0x377a44(0x1d3)](_0x4d9d3c);const _0x5b249b={};_0x5b249b[_0x377a44(0x1b8)]=_0x4dd419[_0x377a44(0x250)],PerformanceTester[_0x377a44(0x255)](PerformanceHookEvents['SDK_HOOK'],![],_0x4d9d3c,_0x5b249b),PerformanceTester['end'](PerformanceEvents['SDK_TEST'],![],_0x4d9d3c);}const _0x52a3f1={};_0x52a3f1['hookType']=_0x4dd419[_0x377a44(0x250)],PerformanceTester[_0x377a44(0x255)](PerformanceHookEvents[_0x377a44(0x1b0)],!![],null,_0x52a3f1);}),CodeceptJS[_0x981e07(0x188)]['dispatcher']['on'](CodeceptJS[_0x981e07(0x188)]['test'][_0x981e07(0x1c0)],(_0x1c6975,_0x4c999e)=>{const _0x575f4c=_0x981e07;PerformanceTester[_0x575f4c(0x1e4)](PerformanceHookEvents[_0x575f4c(0x1b0)]);try{if(_0x4dd419[_0x575f4c(0x24a)](_0x1c6975[_0x575f4c(0x202)][_0x575f4c(0x1bd)],_0x4dd419['tifoT'])){const _0x2343b=_0x48f112[_0x575f4c(0x27a)](TEST_EVENTS[_0x575f4c(0x230)],_0x1c6975[_0x575f4c(0x23c)][_0x575f4c(0x1fc)]);CodeceptRecorder[_0x575f4c(0x1bc)](()=>_0x48f112[_0x575f4c(0x1a1)](TEST_EVENTS[_0x575f4c(0x230)],_0x2343b));}else{const _0x231641=_0x48f112[_0x575f4c(0x27a)](TEST_EVENTS[_0x575f4c(0x20c)],_0x1c6975,_0x4c999e);CodeceptRecorder[_0x575f4c(0x1bc)](()=>{const _0x5ef30c=_0x575f4c;try{_0x48f112[_0x5ef30c(0x1a1)](TEST_EVENTS[_0x5ef30c(0x20c)],_0x231641);}catch(_0x3e2b61){logger[_0x5ef30c(0x1a2)]('Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20'+util[_0x5ef30c(0x242)](_0x3e2b61)),PerformanceTester[_0x5ef30c(0x255)](PerformanceEvents[_0x5ef30c(0x21a)],![],_0x3e2b61);}}),CodeceptRecorder[_0x575f4c(0x1bc)](async()=>{const _0x7773e6=_0x575f4c;try{_0x4dd419['RZZpW'](isBrowserstackInfra)&&(_0x4102ce?await _0x4dd419[_0x7773e6(0x21b)](playwrightMarkSessionStatus,_0x1b3a88,STATE_FAILED,_0x4c999e):await _0x4dd419['vyiDv'](markSessionStatus,_0x1b3a88,STATE_FAILED,_0x4c999e));}catch(_0x13015c){logger[_0x7773e6(0x1a2)](_0x7773e6(0x207)+util[_0x7773e6(0x242)](_0x13015c)),PerformanceTester[_0x7773e6(0x255)](PerformanceEvents[_0x7773e6(0x21a)],![],_0x13015c);}});}PerformanceTester[_0x575f4c(0x255)](PerformanceEvents['SDK_TEST']);}catch(_0x1afb07){PerformanceTester[_0x575f4c(0x1d3)](_0x1afb07);const _0x5efc20={};_0x5efc20[_0x575f4c(0x1b8)]=_0x4dd419[_0x575f4c(0x244)],PerformanceTester[_0x575f4c(0x255)](PerformanceHookEvents['SDK_HOOK'],![],_0x1afb07,_0x5efc20),PerformanceTester['end'](PerformanceEvents['SDK_TEST'],![],_0x1afb07);}const _0x3a674d={};_0x3a674d[_0x575f4c(0x1b8)]=_0x4dd419[_0x575f4c(0x244)],PerformanceTester[_0x575f4c(0x255)](PerformanceHookEvents[_0x575f4c(0x1b0)],!![],null,_0x3a674d);}),CodeceptJS[_0x981e07(0x188)][_0x981e07(0x1f4)]['on'](CodeceptJS[_0x981e07(0x188)][_0x981e07(0x227)]['skipped'],_0x410660=>{const _0x24c543=_0x981e07;PerformanceTester[_0x24c543(0x1e4)](PerformanceHookEvents[_0x24c543(0x1b0)]);try{const _0x1f061f=_0x48f112[_0x24c543(0x27a)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x410660);CodeceptRecorder[_0x24c543(0x1bc)](()=>_0x48f112[_0x24c543(0x1a1)](TEST_EVENTS[_0x24c543(0x230)],_0x1f061f)),PerformanceTester[_0x24c543(0x255)](PerformanceEvents['SDK_TEST']);}catch(_0x44de80){PerformanceTester[_0x24c543(0x1d3)](_0x44de80),PerformanceTester['end'](PerformanceEvents[_0x24c543(0x21a)],![],_0x44de80);const _0x22ce3a={};_0x22ce3a[_0x24c543(0x1b8)]=_0x4dd419[_0x24c543(0x1ad)],PerformanceTester[_0x24c543(0x255)](PerformanceHookEvents[_0x24c543(0x1b0)],![],_0x44de80,_0x22ce3a);}const _0x1bd588={};_0x1bd588[_0x24c543(0x1b8)]=_0x4dd419[_0x24c543(0x1ad)],PerformanceTester[_0x24c543(0x255)](PerformanceHookEvents[_0x24c543(0x1b0)],!![],null,_0x1bd588);}),CodeceptJS[_0x981e07(0x188)][_0x981e07(0x1f4)]['on'](CodeceptJS[_0x981e07(0x188)]['test'][_0x981e07(0x229)],async(_0xdaeebd,_0x535767)=>{const _0x1b7487=_0x981e07,_0x21190c={};_0x21190c[_0x1b7487(0x21d)]=_0x4dd419[_0x1b7487(0x266)];const _0x4c1348=_0x21190c;try{PerformanceTester[_0x1b7487(0x1e4)](PerformanceHookEvents[_0x1b7487(0x1b0)]);const _0x2a5967=_0x4dd419[_0x1b7487(0x256)](shouldScanTestForAccessibility,_0xdaeebd[_0x1b7487(0x1f5)](),!![]);if(_0x4dd419[_0x1b7487(0x24e)](isAccessibilityAutomationSession)&&global[_0x1b7487(0x23f)]&&_0x2a5967){const _0xcb3fab={};_0xcb3fab['thTestRunUuid']=_0xdaeebd[_0x1b7487(0x251)],_0xcb3fab[_0x1b7487(0x190)]=process[_0x1b7487(0x18b)][testHubConstants['ENV_VAR'][_0x1b7487(0x26d)]],_0xcb3fab[_0x1b7487(0x245)]=process[_0x1b7487(0x18b)][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_JWT']];const _0x3fb978=_0xcb3fab;logger[_0x1b7487(0x1a2)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x1b7487(0x233)](_0x3fb978)),CodeceptRecorder[_0x1b7487(0x1bc)](async()=>{const _0x4b1709=_0x1b7487,_0x5cead6={};_0x5cead6[_0x4b1709(0x24d)]=_0x4c1348[_0x4b1709(0x21d)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x35f462=_0x4b1709;await AccessibilityHelper[_0x35f462(0x203)](_0x1b3a88,scripts['performScan']);},_0x5cead6)(),await PerformanceTester[_0x4b1709(0x223)](PerformanceA11yEvents[_0x4b1709(0x1f2)],async()=>{const _0x198a83=_0x4b1709;await AccessibilityHelper['browserStackExecuteDriver'](_0x1b3a88,scripts[_0x198a83(0x1da)],_0x3fb978);})();}),logger[_0x1b7487(0x1f0)](_0x4dd419[_0x1b7487(0x240)]);}const _0x593d7a={};_0x593d7a[_0x1b7487(0x1b8)]=_0x4dd419[_0x1b7487(0x1ff)],PerformanceTester[_0x1b7487(0x255)](PerformanceHookEvents[_0x1b7487(0x1b0)],!![],null,_0x593d7a);}catch(_0x38393f){PerformanceTester[_0x1b7487(0x1d3)](_0x38393f);const _0x4b36be={};_0x4b36be[_0x1b7487(0x1b8)]=_0x4dd419[_0x1b7487(0x1ff)],PerformanceTester[_0x1b7487(0x255)](PerformanceHookEvents['SDK_HOOK'],![],_0x38393f,_0x4b36be);}}),CodeceptJS[_0x981e07(0x188)]['dispatcher']['on'](CodeceptJS[_0x981e07(0x188)][_0x981e07(0x204)][_0x981e07(0x1df)],_0x8534bb=>{const _0x3ddd16=_0x981e07;PerformanceTester[_0x3ddd16(0x1e4)](PerformanceHookEvents[_0x3ddd16(0x1b0)]);try{process[_0x3ddd16(0x20a)]('bs:addLog:'+process[_0x3ddd16(0x20b)],{'timestamp':new Date()['toISOString'](),'level':_0x4dd419[_0x3ddd16(0x1d5)],'message':_0x8534bb,'kind':_0x4dd419[_0x3ddd16(0x1d8)],'http_response':{}});}catch(_0x5a6bfd){PerformanceTester['captureError'](_0x5a6bfd);const _0x58ccef={};_0x58ccef[_0x3ddd16(0x1b8)]=_0x4dd419['MGqAa'],PerformanceTester[_0x3ddd16(0x255)](PerformanceHookEvents[_0x3ddd16(0x1b0)],![],_0x5a6bfd,_0x58ccef);}const _0x1c3eea={};_0x1c3eea[_0x3ddd16(0x1b8)]=_0x4dd419[_0x3ddd16(0x1b5)],PerformanceTester['end'](PerformanceHookEvents[_0x3ddd16(0x1b0)],!![],null,_0x1c3eea);}),CodeceptJS[_0x981e07(0x188)][_0x981e07(0x1f4)]['on'](CodeceptJS[_0x981e07(0x188)][_0x981e07(0x195)][_0x981e07(0x275)],_0x35887f=>{const _0x1fcb06=_0x981e07,_0x9c4682={};_0x9c4682[_0x1fcb06(0x1b8)]=_0x4dd419[_0x1fcb06(0x1ef)],PerformanceTester[_0x1fcb06(0x223)](PerformanceHookEvents[_0x1fcb06(0x1b0)],()=>{_0x48f112['bddStepStart'](_0x35887f);},_0x9c4682)();}),CodeceptJS['event'][_0x981e07(0x1f4)]['on'](CodeceptJS['event']['bddStep'][_0x981e07(0x229)],_0x20235f=>{const _0x2f04b9=_0x981e07,_0xe13234={};_0xe13234[_0x2f04b9(0x1b8)]=_0x4dd419['oQkdh'],PerformanceTester[_0x2f04b9(0x223)](PerformanceHookEvents[_0x2f04b9(0x1b0)],()=>{const _0x30ce63=_0x2f04b9;_0x48f112[_0x30ce63(0x18d)](_0x20235f);},_0xe13234)();});};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a2_0x4948(_0x4d5ba2,_0x19d887){const _0x3fb147=a2_0x3fb1();return a2_0x4948=function(_0x494815,_0x46ab56){_0x494815=_0x494815-0x1a8;let _0x32da91=_0x3fb147[_0x494815];return _0x32da91;},a2_0x4948(_0x4d5ba2,_0x19d887);}const a2_0x4e7bdb=a2_0x4948;(function(_0x416f05,_0x47e3ef){const _0x228492=a2_0x4948,_0xd7d5e5=_0x416f05();while(!![]){try{const _0x3a51dc=parseInt(_0x228492(0x20c))/0x1*(parseInt(_0x228492(0x22f))/0x2)+parseInt(_0x228492(0x1c0))/0x3+parseInt(_0x228492(0x1fc))/0x4*(parseInt(_0x228492(0x232))/0x5)+-parseInt(_0x228492(0x207))/0x6*(parseInt(_0x228492(0x1f5))/0x7)+parseInt(_0x228492(0x1ee))/0x8+parseInt(_0x228492(0x1e2))/0x9+-parseInt(_0x228492(0x21c))/0xa*(parseInt(_0x228492(0x1ad))/0xb);if(_0x3a51dc===_0x47e3ef)break;else _0xd7d5e5['push'](_0xd7d5e5['shift']());}catch(_0x99be16){_0xd7d5e5['push'](_0xd7d5e5['shift']());}}}(a2_0x3fb1,0x455ec));const fs=require('fs'),path=require('path'),util=require(a2_0x4e7bdb(0x22e)),process=require(a2_0x4e7bdb(0x1b7)),logger=require(a2_0x4e7bdb(0x23a))[a2_0x4e7bdb(0x21a)],{default:BrowserStackSetup}=require(a2_0x4e7bdb(0x23d)),helper=require(a2_0x4e7bdb(0x1c2)),utilities=require('../../helpers/utilities'),{checkAccessibilityPlatformConfig}=require(a2_0x4e7bdb(0x1de)),{setAccessibilityCapabilities}=require(a2_0x4e7bdb(0x1cc)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x4e7bdb(0x1c2)),CodeceptJS=requireModule(a2_0x4e7bdb(0x20d),a2_0x4e7bdb(0x21d)),testOpsHelper=require('../../helpers/test-observability/utils'),TestHubHandler=require(a2_0x4e7bdb(0x1e0)),constants=require(a2_0x4e7bdb(0x1d7)),PerformanceTester=require(a2_0x4e7bdb(0x206)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),PerformanceEvents=require(a2_0x4e7bdb(0x1dc))[a2_0x4e7bdb(0x1a9)],ClientTroubleShootingService=require(a2_0x4e7bdb(0x225)),_testErrorData=[],getUserCodeceptJSConfigs=(_0x26160a,_0x42bb21)=>{const _0x5a9c06=a2_0x4e7bdb,_0x4300bd={};_0x4300bd[_0x5a9c06(0x211)]=function(_0x5b5151,_0x19e1a1){return _0x5b5151===_0x19e1a1;},_0x4300bd[_0x5a9c06(0x1a8)]='codecept.conf.js',_0x4300bd[_0x5a9c06(0x1ef)]='codecept.json';const _0x4c47f1=_0x4300bd;let _0x3cda32=null;const _0x4da649={};let _0x5d3ebe=_0x42bb21['findIndex'](_0x14d7f1=>_0x14d7f1===_0x5a9c06(0x1b3));_0x4c47f1[_0x5a9c06(0x211)](_0x5d3ebe,-0x1)&&(_0x5d3ebe=_0x42bb21[_0x5a9c06(0x1b0)](_0x4f39ab=>_0x4f39ab==='-c'));if(!helper[_0x5a9c06(0x23e)](_0x26160a[_0x5a9c06(0x1f9)])&&fs['existsSync'](path[_0x5a9c06(0x1b5)](process[_0x5a9c06(0x1cf)](),_0x26160a[_0x5a9c06(0x1f9)])))_0x3cda32=path[_0x5a9c06(0x1b5)](process[_0x5a9c06(0x1cf)](),_0x26160a[_0x5a9c06(0x1f9)]),_0x42bb21[_0x5a9c06(0x221)](_0x5d3ebe,0x2);else{if(!helper[_0x5a9c06(0x23e)](_0x26160a['c'])&&fs['existsSync'](path[_0x5a9c06(0x1b5)](process[_0x5a9c06(0x1cf)](),_0x26160a['c'])))_0x3cda32=path[_0x5a9c06(0x1b5)](process['cwd'](),_0x26160a['c']),_0x42bb21['slice'](_0x5d3ebe,0x2);else{if(fs[_0x5a9c06(0x1ba)](path[_0x5a9c06(0x1b5)](process[_0x5a9c06(0x1cf)](),_0x4c47f1['hGaNW'])))_0x3cda32=path[_0x5a9c06(0x1b5)](process[_0x5a9c06(0x1cf)](),_0x4c47f1[_0x5a9c06(0x1a8)]);else fs[_0x5a9c06(0x1ba)](path[_0x5a9c06(0x1b5)](process[_0x5a9c06(0x1cf)](),_0x4c47f1[_0x5a9c06(0x1ef)]))&&(_0x3cda32=path[_0x5a9c06(0x1b5)](process[_0x5a9c06(0x1cf)](),_0x4c47f1[_0x5a9c06(0x1ef)]));}}return process[_0x5a9c06(0x1f3)][_0x5a9c06(0x22c)]=_0x3cda32,_0x3cda32;},getO11yRerunPattern=()=>{const _0x3ac0e0=a2_0x4e7bdb,_0x2f1874=helper['isTrue'](process[_0x3ac0e0(0x1f3)]['BROWSERSTACK_RERUN']);if(_0x2f1874){const _0x980a2e=process[_0x3ac0e0(0x1f3)][_0x3ac0e0(0x242)],_0x2c39d0=[];if(helper[_0x3ac0e0(0x1c6)](_0x980a2e)&&!helper['isUndefined'](_0x980a2e)){_0x980a2e[_0x3ac0e0(0x23b)](',')[_0x3ac0e0(0x1f6)](_0x48eb5f=>{const _0x5e5b87=_0x3ac0e0;_0x2c39d0[_0x5e5b87(0x21b)]('('+_0x48eb5f[_0x5e5b87(0x1e6)]()+')');});const _0x22865f='^'+_0x2c39d0[_0x3ac0e0(0x1b5)]('|')+'$';return _0x22865f;}}return null;},a2_0x2e3b1f={};a2_0x2e3b1f[a2_0x4e7bdb(0x1ce)]='chromium',a2_0x2e3b1f[a2_0x4e7bdb(0x22b)]=a2_0x4e7bdb(0x1d1),a2_0x2e3b1f['playwright-firefox']=a2_0x4e7bdb(0x1b4),a2_0x2e3b1f[a2_0x4e7bdb(0x1b1)]=a2_0x4e7bdb(0x220);const pwToCodeceptBrowser=a2_0x2e3b1f;function a2_0x3fb1(){const _0x3e7b21=['UraYG','start','path','spawn','NnzLH','stringify','tgLvD','XDlKE','browser','winstonLogger','push','10fABICp','codeceptjs','getUserWorkerCount','WebDriver','webkit','slice','errorMessage','profile','nlMts','../utils/clientTroubleshootingService','isTestObservabilitySession','platforms','toLowerCase','FUSLF','Playwright','playwright-chromium','USER_CONFIG_DETAILS_PATH','testContextOptions','util','149008HAiaEo','require','load','2434885TyTqso','useW3C','browserName','cfRmP','assign','accessibilityOptions','result','prepareCapabilities','../../helpers/logger','split','Failed\x20:\x20','../../helpers/BrowserStackSetup','isUndefined','replace','gxjOF','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','BROWSERSTACK_RERUN_TESTS','hGaNW','EVENTS','isEmpty','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','stop','18296410vjEgkw','XzhYK','vLThO','findIndex','playwright-webkit','passed','--config','firefox','join','SDK_SETUP','process','Started\x20:\x20','now','existsSync','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','forEach','addOptions','skipSessionName','err','1258863dQHSjs','ZrJtl','../../helpers/helper','getPlaywrightUrl','SDK_CLEANUP','log','validateRerunTestList','accessibility','helpers','CODECEPT_CUCUMBER','finalExecution','MaPys','../../bin/playwright/accessibility-helper','qBzXu','chrome','cwd','eusSL','chromium','BROWSERSTACK_TEST_ACCESSIBILITY_YML','peDQB','testConfig','info','bootstrapAll','../utils/constants','launchBuild','sMdci','initialize','failed','../../helpers/performance/constants','BrowserStackPlugin','../../helpers/accessibility-automation/helper','teardownAll','../../helpers/testhub/testhubHandler','before','2737971hxMRJU','xhmxR','userName','skipSessionStatus','trim','YmGmL','CODECEPT','run','hubUrl','/wd/hub','printBuildLink','desiredCapabilities','4472464YHkWly','qOqXP','BROWSERSTACK_TEST_OBSERVABILITY_YML','dosfh','test','env','enabled','399HsiMBp','map','host','end','config','Passed\x20:\x20','event','4CpQzRX','validPlatformsPresent','testObservability','accessKey','all','title','dirname','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','setAdditionalCapabilities','mergeDeep','../../helpers/performance/performance-tester','12678CZVACW','gherkin','browserStackCwd','CdoJT','lCVOD','4kayhkt','codeceptjs/lib/index.js','browserWSEndpoint','FHlwI','length'];a2_0x3fb1=function(){return _0x3e7b21;};return a2_0x3fb1();}async function run(_0x29cbd6,_0xf18b8a,_0xb0491d){const _0x1d97fb=a2_0x4e7bdb,_0x500c24={'tgLvD':function(_0x15dc93,_0x36ddd0){return _0x15dc93+_0x36ddd0;},'XDlKE':function(_0x454008,_0xb318d7){return _0x454008(_0xb318d7);},'tTDxH':function(_0x5dcc65,_0x605015){return _0x5dcc65+_0x605015;},'lCVOD':function(_0x335eb7,_0x30c961,_0x14e28c){return _0x335eb7(_0x30c961,_0x14e28c);},'CdoJT':_0x1d97fb(0x1c8),'ZrJtl':function(_0x2c6b0a){return _0x2c6b0a();},'gxjOF':_0x1d97fb(0x1eb),'YmGmL':function(_0x10ecfa){return _0x10ecfa();},'FFCor':function(_0x4cb86c){return _0x4cb86c();},'AOVoz':_0x1d97fb(0x23c),'NnzLH':_0x1d97fb(0x1fa),'jlFUt':_0x1d97fb(0x1b8),'XzhYK':'4|2|5|0|3|1','xhmxR':_0x1d97fb(0x203),'sMdci':_0x1d97fb(0x22a),'RiIkY':_0x1d97fb(0x21f),'peDQB':function(_0x5050bd,_0x21932a){return _0x5050bd(_0x21932a);},'sBVPe':function(_0x1f698a,_0xe46945){return _0x1f698a!=_0xe46945;},'KXSyB':function(_0x2236fc,_0x53fb34){return _0x2236fc===_0x53fb34;},'FUSLF':_0x1d97fb(0x208),'cfRmP':function(_0x301d52){return _0x301d52();},'qBzXu':function(_0x1bab55,_0x4085a3){return _0x1bab55*_0x4085a3;},'eusSL':function(_0x38b885,_0x486682,_0x9a5da2){return _0x38b885(_0x486682,_0x9a5da2);},'MaPys':_0x1d97fb(0x219),'vLThO':_0x1d97fb(0x1ed),'FHlwI':function(_0x1ff897,_0x4e20d7,_0x2a1679){return _0x1ff897(_0x4e20d7,_0x2a1679);},'dosfh':'root','ERyRx':'BrowserStackPlugin.js','nlMts':_0x1d97fb(0x209)};await _0xb0491d[_0x1d97fb(0x1da)](_0x29cbd6),await helper['handleApp'](_0xb0491d[_0x1d97fb(0x1f9)]);if(!_0xb0491d[_0x1d97fb(0x1f9)])return;process[_0x1d97fb(0x223)]=_0x29cbd6[_0x1d97fb(0x223)];_0x29cbd6['profile']&&(process[_0x1d97fb(0x1f3)]['profile']=_0x29cbd6[_0x1d97fb(0x223)]);const _0x1736ad=_0x500c24[_0x1d97fb(0x20b)](getUserCodeceptJSConfigs,_0x29cbd6,_0xf18b8a);let _0x189f70={};_0x1736ad?(logger[_0x1d97fb(0x1d5)](_0x1d97fb(0x241)+_0x1736ad),_0x189f70=CodeceptJS[_0x1d97fb(0x1f9)][_0x1d97fb(0x231)](_0x1736ad)):logger[_0x1d97fb(0x1d5)](_0x500c24[_0x1d97fb(0x1e3)]);let _0x33ba8e=![];_0x500c24[_0x1d97fb(0x20b)](nestedKeyValue,_0x189f70,[_0x500c24['CdoJT'],_0x500c24[_0x1d97fb(0x1d9)]])&&(_0x33ba8e=!![]);const _0x56dd2d=_0x33ba8e?_0x500c24[_0x1d97fb(0x1d9)]:_0x500c24['RiIkY'];let _0x260018=!_0x33ba8e?helper[_0x1d97fb(0x233)](_0xb0491d[_0x1d97fb(0x1f9)]):![];!helper[_0x1d97fb(0x23e)](_0xb0491d[_0x1d97fb(0x1f9)]['accessibilityOptions'])&&(process['env'][_0x1d97fb(0x1ab)]=JSON[_0x1d97fb(0x216)](_0xb0491d[_0x1d97fb(0x1f9)][_0x1d97fb(0x237)]));let _0x21f2e6=_0xb0491d['config'][_0x1d97fb(0x1c7)];_0x21f2e6=_0x21f2e6||_0x500c24[_0x1d97fb(0x1d3)](checkAccessibilityPlatformConfig,_0xb0491d[_0x1d97fb(0x1f9)]),process[_0x1d97fb(0x1f3)][_0x1d97fb(0x1d2)]=_0x21f2e6;_0x21f2e6&&(_0x260018=!_0x21f2e6);_0x500c24['sBVPe'](_0xb0491d['config'][_0x1d97fb(0x1fe)],null)?process[_0x1d97fb(0x1f3)][_0x1d97fb(0x1f0)]=_0xb0491d[_0x1d97fb(0x1f9)][_0x1d97fb(0x1fe)]:process['env'][_0x1d97fb(0x1f0)]=_0x500c24['KXSyB'](_0x56dd2d,_0x500c24[_0x1d97fb(0x1d9)]);const _0x2fb841=_0x500c24[_0x1d97fb(0x20b)](nestedKeyValue,_0x189f70,[_0x500c24[_0x1d97fb(0x229)]]),_0x3fc29e=_0x2fb841&&!helper[_0x1d97fb(0x1aa)](_0x2fb841)?FRAMEWORKS[_0x1d97fb(0x1c9)]:FRAMEWORKS['CODECEPT'],_0x381535=await TestHubHandler[_0x1d97fb(0x1d8)](_0x3fc29e,_0xb0491d);_0x21f2e6&&_0x500c24[_0x1d97fb(0x1d3)](setAccessibilityCapabilities,_0xb0491d[_0x1d97fb(0x1f9)]);const _0x490542={},_0x166305=[],_0x63f647=_0xb0491d[_0x1d97fb(0x1f9)]['parallelsPerPlatform']||helper[_0x1d97fb(0x21e)](_0x29cbd6,_0xf18b8a,_0xb0491d[_0x1d97fb(0x1f9)],constants['FRAMEWORKS'][_0x1d97fb(0x1e8)])||0x1;let _0x477284=0x1;if(_0x500c24[_0x1d97fb(0x235)](isBrowserstackInfra)){const _0x8bfc86=helper[_0x1d97fb(0x239)](_0xb0491d[_0x1d97fb(0x1f9)],_0x260018,constants['FRAMEWORKS'][_0x1d97fb(0x1e8)]);_0x8bfc86[_0x1d97fb(0x1bc)](_0x59c025=>{const _0x25e453=_0x1d97fb;helper[_0x25e453(0x204)](_0x59c025);}),helper[_0x1d97fb(0x1fd)](_0xb0491d[_0x1d97fb(0x1f9)])?_0x477284=_0x500c24[_0x1d97fb(0x1cd)](_0x63f647,_0xb0491d['config'][_0x1d97fb(0x227)][_0x1d97fb(0x210)]):_0x477284=_0x63f647,_0x8bfc86[_0x1d97fb(0x1bc)](_0xe1701f=>{const _0x58ed73=_0x1d97fb,_0x4fd4f6=_0x500c24['tTDxH'](helper['getPlatformName'](_0xe1701f,'_'),'_'+Date[_0x58ed73(0x1b9)]()),_0x3d6ce7=((()=>{const _0x5ed369=_0x58ed73;if(_0x33ba8e){const _0x57a8bf=pwToCodeceptBrowser[_0xe1701f['browserName']]||_0xe1701f[_0x5ed369(0x234)];return{'browser':_0x57a8bf,[_0x57a8bf]:{'browserWSEndpoint':_0x500c24[_0x5ed369(0x217)](helper[_0x5ed369(0x1c3)](_0xb0491d['config']),_0x500c24[_0x5ed369(0x218)](encodeURIComponent,JSON[_0x5ed369(0x216)](_0xe1701f)))}};}const _0x4ae461={};return _0x4ae461[_0x5ed369(0x1ed)]=_0xe1701f,_0x4ae461['user']=_0xb0491d[_0x5ed369(0x1f9)][_0x5ed369(0x1e4)],_0x4ae461['key']=_0xb0491d[_0x5ed369(0x1f9)][_0x5ed369(0x1ff)],_0x4ae461;})()),_0x224d06=_0x500c24['lCVOD'](nestedKeyValue,_0x189f70,[_0x500c24[_0x58ed73(0x20a)],_0x56dd2d]);_0x490542[_0x4fd4f6]=_0x224d06?helper[_0x58ed73(0x205)](_0x3d6ce7,_0x224d06):_0x3d6ce7;if(!_0x33ba8e){_0x490542[_0x4fd4f6][_0x58ed73(0x219)]=_0xe1701f[_0x58ed73(0x234)]||_0x3d6ce7[_0x58ed73(0x219)];if(_0x500c24[_0x58ed73(0x1c1)](isBrowserstackInfra)){_0x490542[_0x4fd4f6][_0x58ed73(0x1f7)]=constants[_0x58ed73(0x1ea)][_0x58ed73(0x23f)](_0x500c24['gxjOF'],'')[_0x58ed73(0x23f)](/https?:\/\//,'');;_0x490542[_0x4fd4f6][_0x58ed73(0x213)]=_0x500c24[_0x58ed73(0x240)];}}_0x166305['push'](_0x4fd4f6);});}else{_0x477284=0x1;if(_0x33ba8e){const _0xe9e0a6=_0x500c24[_0x1d97fb(0x1d0)](nestedKeyValue,_0x189f70,[_0x500c24[_0x1d97fb(0x20a)],_0x56dd2d,_0x500c24[_0x1d97fb(0x1cb)]]),_0x2026fa=_0x500c24[_0x1d97fb(0x1d0)](nestedKeyValue,_0x189f70,[_0x500c24[_0x1d97fb(0x20a)],_0x56dd2d,_0xe9e0a6]);if(_0x2026fa&&_0x2026fa[_0x1d97fb(0x20e)]){const _0x2217fb={};_0x2217fb['platforms']=[],_0x2026fa[_0x1d97fb(0x20e)]=helper[_0x1d97fb(0x239)](Object[_0x1d97fb(0x236)]({},_0xb0491d[_0x1d97fb(0x1f9)],_0x2217fb),null,_0x3fc29e['toLowerCase'](),null,null,_0x2026fa[_0x1d97fb(0x20e)]);}}else{const _0x14f470={};_0x14f470['platforms']=[],_0x189f70[_0x500c24['CdoJT']][_0x56dd2d][_0x500c24['vLThO']]=helper[_0x1d97fb(0x239)](Object[_0x1d97fb(0x236)]({},_0xb0491d[_0x1d97fb(0x1f9)],_0x14f470),null,_0x3fc29e[_0x1d97fb(0x228)](),_0x500c24[_0x1d97fb(0x20f)](nestedKeyValue,_0x189f70,[_0x500c24[_0x1d97fb(0x20a)],_0x56dd2d,_0x500c24[_0x1d97fb(0x1af)]])||{},null,null);}_0x490542[_0x500c24[_0x1d97fb(0x1f1)]]=_0x189f70,_0x166305[_0x1d97fb(0x21b)](_0x500c24['dosfh']);}const _0x5820af={};_0x5820af[_0x1d97fb(0x1d4)]=_0x1736ad;const _0x5d99a9=_0x5820af,_0x30e385=path['join'](__dirname,_0x500c24['ERyRx']),_0x22a40e=process[_0x1d97fb(0x1cf)]();process[_0x1d97fb(0x1f3)][_0x500c24[_0x1d97fb(0x224)]]=_0x22a40e,process['chdir'](path[_0x1d97fb(0x202)](_0x1736ad));const _0x15eef3=new CodeceptJS['Workers'](null,_0x5d99a9),_0x43141f=_0x15eef3['createGroupsOfSuites'](_0x477284),_0x5835e5=testOpsHelper[_0x1d97fb(0x226)](),_0x31717d=_0x166305[_0x1d97fb(0x1f6)](_0x25d790=>{const _0x55629f=_0x1d97fb,_0x33f76d={};_0x33f76d['Playwright']=_0x490542[_0x25d790];const _0x55842b={};_0x55842b[_0x55629f(0x21f)]=_0x490542[_0x25d790];const _0x11ca86=_0x33ba8e?_0x33f76d:_0x55842b,_0x3bd7ae=_0x500c24[_0x55629f(0x1e7)](getO11yRerunPattern),_0x197316={};_0x197316[_0x55629f(0x1c8)]=_0x11ca86;const _0x31652d={};_0x31652d[_0x55629f(0x230)]=_0x30e385,_0x31652d[_0x55629f(0x1f4)]=!![],_0x31652d[_0x55629f(0x1be)]=_0xb0491d[_0x55629f(0x1f9)][_0x55629f(0x22d)][_0x55629f(0x1be)],_0x31652d[_0x55629f(0x1e5)]=_0xb0491d['config'][_0x55629f(0x22d)][_0x55629f(0x1e5)],_0x31652d[_0x55629f(0x1fe)]=_0x5835e5,_0x31652d['frameworkName']=_0x3fc29e;const _0x16086e={};_0x16086e[_0x55629f(0x1dd)]=_0x31652d;const _0x505f1d={};return _0x505f1d['plugins']=_0x16086e,helper['mergeDeep']({},_0x189f70,_0x500c24['FFCor'](isBrowserstackInfra)?_0x197316:{},_0x3bd7ae?{'grep':_0x3bd7ae}:{},_0x505f1d);});for(const _0x2059fd of _0x31717d){for(const _0x2e6263 of _0x43141f){const _0x34285d=_0x15eef3[_0x1d97fb(0x214)]();_0x34285d['addTests'](_0x2e6263),_0x34285d['addConfig'](_0x2059fd);const _0x3b5fab={};_0x3b5fab['config']=_0x1736ad,_0x34285d[_0x1d97fb(0x1bd)](Object[_0x1d97fb(0x236)](_0x3b5fab,_0x29cbd6));}}_0x15eef3['on'](CodeceptJS[_0x1d97fb(0x1fb)][_0x1d97fb(0x1f2)][_0x1d97fb(0x1db)],(_0x1ee388,_0x5c21d9)=>{const _0x4e0c8e=_0x1d97fb;console[_0x4e0c8e(0x1c5)](_0x500c24['AOVoz'],_0x1ee388[_0x4e0c8e(0x201)]);const _0x20d262={[_0x1ee388['title']]:_0x1ee388[_0x4e0c8e(0x1bf)]['stack']};_testErrorData[_0x4e0c8e(0x21b)](_0x20d262);}),_0x15eef3['on'](CodeceptJS[_0x1d97fb(0x1fb)][_0x1d97fb(0x1f2)][_0x1d97fb(0x1b2)],async _0x444ff5=>{const _0x40f37e=_0x1d97fb;console[_0x40f37e(0x1c5)](_0x500c24[_0x40f37e(0x215)],_0x444ff5[_0x40f37e(0x201)]);}),_0x15eef3['on'](CodeceptJS['event'][_0x1d97fb(0x1f2)][_0x1d97fb(0x1e1)],async _0x249a9a=>{const _0x362991=_0x1d97fb;console[_0x362991(0x1c5)](_0x500c24['jlFUt'],_0x249a9a[_0x362991(0x201)]);}),_0x15eef3['on'](CodeceptJS[_0x1d97fb(0x1fb)][_0x1d97fb(0x200)][_0x1d97fb(0x238)],async()=>{const _0x2457d7=_0x1d97fb,_0x3e9dba=_0x500c24[_0x2457d7(0x1ae)][_0x2457d7(0x23b)]('|');let _0x401ef7=0x0;while(!![]){switch(_0x3e9dba[_0x401ef7++]){case'0':utilities[_0x2457d7(0x1ca)](_0xb0491d);continue;case'1':_0x15eef3['printResults']();continue;case'2':_0xb0491d[_0x2457d7(0x222)]=_testErrorData;continue;case'3':try{await TestHubHandler[_0x2457d7(0x1ac)]();}catch(_0x42ca87){logger['debug'](_0x2457d7(0x1bb)+util['format'](_0x42ca87));}continue;case'4':PerformanceTester[_0x2457d7(0x212)](PerformanceEvents[_0x2457d7(0x1c4)]);continue;case'5':testOpsHelper[_0x2457d7(0x1ec)]();continue;}break;}});async function _0x1e8604(){const _0x18f3e1=_0x1d97fb;try{await _0x15eef3[_0x18f3e1(0x1d6)](),await _0x15eef3[_0x18f3e1(0x1e9)]();}finally{process['chdir'](_0x22a40e),await _0x15eef3[_0x18f3e1(0x1df)]();}}PerformanceTester[_0x1d97fb(0x1f8)](PerformanceEvents[_0x1d97fb(0x1b6)]),_0x500c24[_0x1d97fb(0x235)](_0x1e8604);}module['exports']=run;
2
+ 'use strict';function a2_0x35ff(){const _0x1ceed4=['toLowerCase','mergeDeep','accessKey','info','dKxnp','Failed\x20:\x20','process','1747179gjVvcF','WebDriver','SDK_CLEANUP','frameworkName','debug','validateRerunTestList','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','mqmSR','dirname','useW3C','PHjZF','teardownAll','replace','isTrue','8BcYLBE','parallelsPerPlatform','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','profile','browser','load','err','wFRfO','--config','vNcul','all','../../helpers/testhub/testhubHandler','run','bLkAn','browserStackCwd','../../helpers/performance/constants','split','Workers','handleApp','playwright-firefox','bootstrapAll','plugins','dtbFX','platforms','470XuHvNS','SPVjF','40047NgELmF','76rGFzWe','alwOd','../../helpers/test-observability/utils','user','testConfig','BrowserStackPlugin','log','path','existsSync','join','ZTMnX','ySXHa','length','finalExecution','start','DzwuX','chromium','CODECEPT_CUCUMBER','printBuildLink','slice','BROWSERSTACK_RERUN','key','result','uZCqS','format','findIndex','config','chrome','stack','assign','map','12444OUfoUk','createGroupsOfSuites','../../helpers/helper','event','getPlaywrightUrl','vvupA','CHmOb','addTests','238178BTqEtV','PclWC','playwright-webkit','test','codecept.conf.js','winstonLogger','isUndefined','cwd','forEach','browserName','bhLow','skipSessionStatus','370302nPmUyu','gherkin','byvaJ','webkit','env','../../helpers/performance/performance-tester','FRAMEWORKS','../utils/constants','accessibilityOptions','spawn','trim','validPlatformsPresent','codecept.json','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','lFtMF','launchBuild','USER_CONFIG_DETAILS_PATH','iCDWG','HlAbW','setAdditionalCapabilities','prepareCapabilities','push','3038098WwCMrv','util','desiredCapabilities','failed','enabled','skipSessionName','Started\x20:\x20','Playwright','9079250GjHQMi','root','title','printResults','addConfig','hubUrl','mbLoR','/wd/hub','browserWSEndpoint','IuPNk','testObservability','stringify','stop','BROWSERSTACK_RERUN_TESTS','CODECEPT','BrowserStackPlugin.js','../../helpers/logger','addOptions','testContextOptions','QGeDk'];a2_0x35ff=function(){return _0x1ceed4;};return a2_0x35ff();}const a2_0x3743c7=a2_0x1dca;(function(_0x18cd3b,_0x4077d0){const _0x4e0f97=a2_0x1dca,_0x2b7d99=_0x18cd3b();while(!![]){try{const _0x39ec6f=parseInt(_0x4e0f97(0x177))/0x1+-parseInt(_0x4e0f97(0x183))/0x2+-parseInt(_0x4e0f97(0x14f))/0x3*(-parseInt(_0x4e0f97(0x150))/0x4)+-parseInt(_0x4e0f97(0x14d))/0x5*(-parseInt(_0x4e0f97(0x16f))/0x6)+parseInt(_0x4e0f97(0x104))/0x7+parseInt(_0x4e0f97(0x135))/0x8*(parseInt(_0x4e0f97(0x127))/0x9)+-parseInt(_0x4e0f97(0x10c))/0xa;if(_0x39ec6f===_0x4077d0)break;else _0x2b7d99['push'](_0x2b7d99['shift']());}catch(_0x193151){_0x2b7d99['push'](_0x2b7d99['shift']());}}}(a2_0x35ff,0x3628a));const fs=require('fs'),path=require(a2_0x3743c7(0x157)),util=require(a2_0x3743c7(0x105)),process=require(a2_0x3743c7(0x126)),logger=require(a2_0x3743c7(0x11c))[a2_0x3743c7(0x17c)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a2_0x3743c7(0x171)),utilities=require('../../helpers/utilities'),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities}=require('../../bin/playwright/accessibility-helper'),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x3743c7(0x171)),CodeceptJS=requireModule('codeceptjs/lib/index.js','codeceptjs'),testOpsHelper=require(a2_0x3743c7(0x152)),TestHubHandler=require(a2_0x3743c7(0x140)),constants=require(a2_0x3743c7(0x18a)),PerformanceTester=require(a2_0x3743c7(0x188)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),PerformanceEvents=require(a2_0x3743c7(0x144))['EVENTS'],ClientTroubleShootingService=require('../utils/clientTroubleshootingService'),_testErrorData=[],getUserCodeceptJSConfigs=(_0x3c3774,_0x2fafc4)=>{const _0x37f773=a2_0x3743c7,_0x3b5af5={};_0x3b5af5[_0x37f773(0x131)]=function(_0x156857,_0x478f1a){return _0x156857===_0x478f1a;},_0x3b5af5['iCDWG']=_0x37f773(0x17b),_0x3b5af5[_0x37f773(0x15f)]=_0x37f773(0x18f);const _0x6d01bf=_0x3b5af5;let _0x5f4d58=null;const _0x5acfdd={};let _0x3bd602=_0x2fafc4[_0x37f773(0x169)](_0x157cc1=>_0x157cc1===_0x37f773(0x13d));_0x6d01bf[_0x37f773(0x131)](_0x3bd602,-0x1)&&(_0x3bd602=_0x2fafc4['findIndex'](_0x2f3545=>_0x2f3545==='-c'));if(!helper[_0x37f773(0x17d)](_0x3c3774[_0x37f773(0x16a)])&&fs[_0x37f773(0x158)](path[_0x37f773(0x159)](process[_0x37f773(0x17e)](),_0x3c3774[_0x37f773(0x16a)])))_0x5f4d58=path[_0x37f773(0x159)](process['cwd'](),_0x3c3774[_0x37f773(0x16a)]),_0x2fafc4['slice'](_0x3bd602,0x2);else{if(!helper[_0x37f773(0x17d)](_0x3c3774['c'])&&fs[_0x37f773(0x158)](path[_0x37f773(0x159)](process[_0x37f773(0x17e)](),_0x3c3774['c'])))_0x5f4d58=path[_0x37f773(0x159)](process[_0x37f773(0x17e)](),_0x3c3774['c']),_0x2fafc4[_0x37f773(0x163)](_0x3bd602,0x2);else{if(fs[_0x37f773(0x158)](path[_0x37f773(0x159)](process['cwd'](),_0x6d01bf[_0x37f773(0x195)])))_0x5f4d58=path[_0x37f773(0x159)](process[_0x37f773(0x17e)](),_0x6d01bf[_0x37f773(0x195)]);else fs[_0x37f773(0x158)](path[_0x37f773(0x159)](process['cwd'](),_0x6d01bf[_0x37f773(0x15f)]))&&(_0x5f4d58=path['join'](process['cwd'](),_0x6d01bf['DzwuX']));}}return process[_0x37f773(0x187)][_0x37f773(0x194)]=_0x5f4d58,_0x5f4d58;},getO11yRerunPattern=()=>{const _0x3ae5b6=a2_0x3743c7,_0x2ec396=helper[_0x3ae5b6(0x134)](process[_0x3ae5b6(0x187)][_0x3ae5b6(0x164)]);if(_0x2ec396){const _0x3386c5=process['env'][_0x3ae5b6(0x119)],_0x401316=[];if(helper[_0x3ae5b6(0x12c)](_0x3386c5)&&!helper[_0x3ae5b6(0x17d)](_0x3386c5)){_0x3386c5[_0x3ae5b6(0x145)](',')[_0x3ae5b6(0x16e)](_0x55c5af=>{const _0x59bf56=_0x3ae5b6;_0x401316['push']('('+_0x55c5af[_0x59bf56(0x18d)]()+')');});const _0x3a55b8='^'+_0x401316[_0x3ae5b6(0x159)]('|')+'$';return _0x3a55b8;}}return null;},a2_0x3ef793={};a2_0x3ef793[a2_0x3743c7(0x16b)]=a2_0x3743c7(0x160),a2_0x3ef793['playwright-chromium']=a2_0x3743c7(0x160),a2_0x3ef793[a2_0x3743c7(0x148)]='firefox',a2_0x3ef793[a2_0x3743c7(0x179)]=a2_0x3743c7(0x186);const pwToCodeceptBrowser=a2_0x3ef793;async function run(_0x420ecf,_0x5a84cd,_0x44fe90){const _0x31f5cc=a2_0x3743c7,_0x5cb810={'CHmOb':function(_0x2bc3e7,_0x26ac9c){return _0x2bc3e7+_0x26ac9c;},'ZTMnX':function(_0x544f2d,_0x4e7d47){return _0x544f2d(_0x4e7d47);},'mbLoR':function(_0x32c781,_0x1e3ce5,_0x1c0d26){return _0x32c781(_0x1e3ce5,_0x1c0d26);},'lFtMF':'helpers','dtbFX':function(_0x1d0246){return _0x1d0246();},'ySXHa':_0x31f5cc(0x113),'NSpsO':function(_0x574d57){return _0x574d57();},'dKxnp':_0x31f5cc(0x125),'SPVjF':'Passed\x20:\x20','PclWC':_0x31f5cc(0x10a),'vvupA':'3|1|4|5|2|0','bhLow':_0x31f5cc(0x190),'EKfOx':function(_0x41e6ab,_0x3cd59b,_0x201998){return _0x41e6ab(_0x3cd59b,_0x201998);},'bLkAn':_0x31f5cc(0x10b),'LEVYb':_0x31f5cc(0x128),'rioGK':function(_0x21d2d2,_0x1e0cb6){return _0x21d2d2!=_0x1e0cb6;},'byvaJ':function(_0x1aaee8,_0x25f76c){return _0x1aaee8===_0x25f76c;},'mqmSR':function(_0x55b850,_0xdbec83,_0x23118d){return _0x55b850(_0xdbec83,_0x23118d);},'QGeDk':_0x31f5cc(0x184),'IuPNk':function(_0x264dcf,_0x378a9c){return _0x264dcf(_0x378a9c);},'vNcul':function(_0x5a52ef,_0x371d52){return _0x5a52ef*_0x371d52;},'STbUd':function(_0x59bb94,_0x1335fd,_0x5ec2e6){return _0x59bb94(_0x1335fd,_0x5ec2e6);},'wFRfO':_0x31f5cc(0x139),'YGzli':function(_0xd1e4f2,_0x20e060,_0x438642){return _0xd1e4f2(_0x20e060,_0x438642);},'alwOd':_0x31f5cc(0x106),'uZCqS':_0x31f5cc(0x10d),'HlAbW':_0x31f5cc(0x11b),'qHJXg':_0x31f5cc(0x143)};await _0x44fe90['initialize'](_0x420ecf),await helper[_0x31f5cc(0x147)](_0x44fe90[_0x31f5cc(0x16a)]);if(!_0x44fe90[_0x31f5cc(0x16a)])return;process[_0x31f5cc(0x138)]=_0x420ecf[_0x31f5cc(0x138)];_0x420ecf[_0x31f5cc(0x138)]&&(process[_0x31f5cc(0x187)][_0x31f5cc(0x138)]=_0x420ecf[_0x31f5cc(0x138)]);const _0x2366be=_0x5cb810[_0x31f5cc(0x112)](getUserCodeceptJSConfigs,_0x420ecf,_0x5a84cd);let _0x1d54f1={};_0x2366be?(logger[_0x31f5cc(0x123)](_0x31f5cc(0x12d)+_0x2366be),_0x1d54f1=CodeceptJS[_0x31f5cc(0x16a)][_0x31f5cc(0x13a)](_0x2366be)):logger[_0x31f5cc(0x123)](_0x5cb810[_0x31f5cc(0x181)]);let _0x2081f6=![];_0x5cb810['EKfOx'](nestedKeyValue,_0x1d54f1,[_0x5cb810[_0x31f5cc(0x192)],_0x5cb810[_0x31f5cc(0x142)]])&&(_0x2081f6=!![]);const _0x25081d=_0x2081f6?_0x5cb810[_0x31f5cc(0x142)]:_0x5cb810['LEVYb'];let _0x15abfd=!_0x2081f6?helper[_0x31f5cc(0x130)](_0x44fe90[_0x31f5cc(0x16a)]):![];!helper[_0x31f5cc(0x17d)](_0x44fe90[_0x31f5cc(0x16a)][_0x31f5cc(0x18b)])&&(process[_0x31f5cc(0x187)][_0x31f5cc(0x191)]=JSON[_0x31f5cc(0x117)](_0x44fe90[_0x31f5cc(0x16a)]['accessibilityOptions']));let _0x1c4749=_0x44fe90[_0x31f5cc(0x16a)]['accessibility'];_0x1c4749=_0x1c4749||_0x5cb810[_0x31f5cc(0x15a)](checkAccessibilityPlatformConfig,_0x44fe90[_0x31f5cc(0x16a)]),process[_0x31f5cc(0x187)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x1c4749;_0x1c4749&&(_0x15abfd=!_0x1c4749);_0x5cb810['rioGK'](_0x44fe90[_0x31f5cc(0x16a)][_0x31f5cc(0x116)],null)?process[_0x31f5cc(0x187)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x44fe90[_0x31f5cc(0x16a)][_0x31f5cc(0x116)]:process[_0x31f5cc(0x187)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x5cb810[_0x31f5cc(0x185)](_0x25081d,_0x5cb810[_0x31f5cc(0x142)]);const _0x201665=_0x5cb810[_0x31f5cc(0x12e)](nestedKeyValue,_0x1d54f1,[_0x5cb810[_0x31f5cc(0x11f)]]),_0x4b75fb=_0x201665&&!helper['isEmpty'](_0x201665)?FRAMEWORKS[_0x31f5cc(0x161)]:FRAMEWORKS['CODECEPT'],_0x545b0c=await TestHubHandler[_0x31f5cc(0x193)](_0x4b75fb,_0x44fe90);_0x1c4749&&_0x5cb810[_0x31f5cc(0x115)](setAccessibilityCapabilities,_0x44fe90[_0x31f5cc(0x16a)]);const _0xb1e8dc={},_0x233a8b=[],_0x482a28=_0x44fe90[_0x31f5cc(0x16a)][_0x31f5cc(0x136)]||helper['getUserWorkerCount'](_0x420ecf,_0x5a84cd,_0x44fe90[_0x31f5cc(0x16a)],constants['FRAMEWORKS'][_0x31f5cc(0x11a)])||0x1;let _0x4af6d9=0x1;if(_0x5cb810[_0x31f5cc(0x14b)](isBrowserstackInfra)){const _0x312e23=helper[_0x31f5cc(0x102)](_0x44fe90[_0x31f5cc(0x16a)],_0x15abfd,constants[_0x31f5cc(0x189)][_0x31f5cc(0x11a)]);_0x312e23[_0x31f5cc(0x17f)](_0x1b4927=>{const _0x420ff5=_0x31f5cc;helper[_0x420ff5(0x101)](_0x1b4927);}),helper[_0x31f5cc(0x18e)](_0x44fe90['config'])?_0x4af6d9=_0x5cb810[_0x31f5cc(0x13e)](_0x482a28,_0x44fe90[_0x31f5cc(0x16a)][_0x31f5cc(0x14c)][_0x31f5cc(0x15c)]):_0x4af6d9=_0x482a28,_0x312e23[_0x31f5cc(0x17f)](_0x572ded=>{const _0x5319f8=_0x31f5cc,_0x8bce47=_0x5cb810[_0x5319f8(0x175)](helper['getPlatformName'](_0x572ded,'_'),'_'+Date['now']()),_0xe44c40=((()=>{const _0x1aa166=_0x5319f8;if(_0x2081f6){const _0x908e07=pwToCodeceptBrowser[_0x572ded[_0x1aa166(0x180)]]||_0x572ded[_0x1aa166(0x180)];return{'browser':_0x908e07,[_0x908e07]:{'browserWSEndpoint':_0x5cb810[_0x1aa166(0x175)](helper[_0x1aa166(0x173)](_0x44fe90[_0x1aa166(0x16a)]),_0x5cb810[_0x1aa166(0x15a)](encodeURIComponent,JSON['stringify'](_0x572ded)))}};}const _0x4a0511={};return _0x4a0511[_0x1aa166(0x106)]=_0x572ded,_0x4a0511[_0x1aa166(0x153)]=_0x44fe90[_0x1aa166(0x16a)]['userName'],_0x4a0511[_0x1aa166(0x165)]=_0x44fe90[_0x1aa166(0x16a)][_0x1aa166(0x122)],_0x4a0511;})()),_0xa4f64a=_0x5cb810[_0x5319f8(0x112)](nestedKeyValue,_0x1d54f1,[_0x5cb810[_0x5319f8(0x192)],_0x25081d]);_0xb1e8dc[_0x8bce47]=_0xa4f64a?helper['mergeDeep'](_0xe44c40,_0xa4f64a):_0xe44c40;if(!_0x2081f6){_0xb1e8dc[_0x8bce47][_0x5319f8(0x139)]=_0x572ded[_0x5319f8(0x180)]||_0xe44c40['browser'];if(_0x5cb810[_0x5319f8(0x14b)](isBrowserstackInfra)){_0xb1e8dc[_0x8bce47]['host']=constants[_0x5319f8(0x111)][_0x5319f8(0x133)](_0x5cb810[_0x5319f8(0x15b)],'')[_0x5319f8(0x133)](/https?:\/\//,'');;_0xb1e8dc[_0x8bce47][_0x5319f8(0x157)]=_0x5cb810[_0x5319f8(0x15b)];}}_0x233a8b['push'](_0x8bce47);});}else{_0x4af6d9=0x1;if(_0x2081f6){const _0x21d6b3=_0x5cb810['STbUd'](nestedKeyValue,_0x1d54f1,[_0x5cb810[_0x31f5cc(0x192)],_0x25081d,_0x5cb810[_0x31f5cc(0x13c)]]),_0x505347=_0x5cb810['YGzli'](nestedKeyValue,_0x1d54f1,[_0x5cb810[_0x31f5cc(0x192)],_0x25081d,_0x21d6b3]);if(_0x505347&&_0x505347[_0x31f5cc(0x114)]){const _0x57681a={};_0x57681a[_0x31f5cc(0x14c)]=[],_0x505347['browserWSEndpoint']=helper[_0x31f5cc(0x102)](Object[_0x31f5cc(0x16d)]({},_0x44fe90[_0x31f5cc(0x16a)],_0x57681a),null,_0x4b75fb[_0x31f5cc(0x120)](),null,null,_0x505347[_0x31f5cc(0x114)]);}}else{const _0x15aa56={};_0x15aa56['platforms']=[],_0x1d54f1[_0x5cb810[_0x31f5cc(0x192)]][_0x25081d][_0x5cb810[_0x31f5cc(0x151)]]=helper[_0x31f5cc(0x102)](Object['assign']({},_0x44fe90[_0x31f5cc(0x16a)],_0x15aa56),null,_0x4b75fb['toLowerCase'](),_0x5cb810['mqmSR'](nestedKeyValue,_0x1d54f1,[_0x5cb810[_0x31f5cc(0x192)],_0x25081d,_0x5cb810[_0x31f5cc(0x151)]])||{},null,null);}_0xb1e8dc[_0x5cb810['uZCqS']]=_0x1d54f1,_0x233a8b[_0x31f5cc(0x103)](_0x5cb810[_0x31f5cc(0x167)]);}const _0x557b8e={};_0x557b8e[_0x31f5cc(0x154)]=_0x2366be;const _0x511398=_0x557b8e,_0x465e85=path[_0x31f5cc(0x159)](__dirname,_0x5cb810[_0x31f5cc(0x100)]),_0x148b02=process[_0x31f5cc(0x17e)]();process[_0x31f5cc(0x187)][_0x5cb810['qHJXg']]=_0x148b02,process['chdir'](path[_0x31f5cc(0x12f)](_0x2366be));const _0x1a57ce=new CodeceptJS[(_0x31f5cc(0x146))](null,_0x511398),_0x352c47=_0x1a57ce[_0x31f5cc(0x170)](_0x4af6d9),_0x5084e8=testOpsHelper['isTestObservabilitySession'](),_0xd30f21=_0x233a8b[_0x31f5cc(0x16e)](_0x5bac8d=>{const _0x4a36db=_0x31f5cc,_0x31141a={};_0x31141a[_0x4a36db(0x10b)]=_0xb1e8dc[_0x5bac8d];const _0x46d842={};_0x46d842[_0x4a36db(0x128)]=_0xb1e8dc[_0x5bac8d];const _0x16b622=_0x2081f6?_0x31141a:_0x46d842,_0x79e0d4=_0x5cb810[_0x4a36db(0x14b)](getO11yRerunPattern),_0x2f2e25={};_0x2f2e25['helpers']=_0x16b622;const _0xf0accb={};_0xf0accb['require']=_0x465e85,_0xf0accb[_0x4a36db(0x108)]=!![],_0xf0accb['skipSessionName']=_0x44fe90['config'][_0x4a36db(0x11e)][_0x4a36db(0x109)],_0xf0accb[_0x4a36db(0x182)]=_0x44fe90[_0x4a36db(0x16a)]['testContextOptions'][_0x4a36db(0x182)],_0xf0accb[_0x4a36db(0x116)]=_0x5084e8,_0xf0accb[_0x4a36db(0x12a)]=_0x4b75fb;const _0x49e753={};_0x49e753[_0x4a36db(0x155)]=_0xf0accb;const _0x4651db={};return _0x4651db[_0x4a36db(0x14a)]=_0x49e753,helper[_0x4a36db(0x121)]({},_0x1d54f1,_0x5cb810['NSpsO'](isBrowserstackInfra)?_0x2f2e25:{},_0x79e0d4?{'grep':_0x79e0d4}:{},_0x4651db);});for(const _0x466e71 of _0xd30f21){for(const _0xa7f856 of _0x352c47){const _0x574ed9=_0x1a57ce[_0x31f5cc(0x18c)]();_0x574ed9[_0x31f5cc(0x176)](_0xa7f856),_0x574ed9[_0x31f5cc(0x110)](_0x466e71);const _0x105119={};_0x105119['config']=_0x2366be,_0x574ed9[_0x31f5cc(0x11d)](Object['assign'](_0x105119,_0x420ecf));}}_0x1a57ce['on'](CodeceptJS[_0x31f5cc(0x172)]['test'][_0x31f5cc(0x107)],(_0x2d7bf3,_0x367b12)=>{const _0x2da3ee=_0x31f5cc;console[_0x2da3ee(0x156)](_0x5cb810[_0x2da3ee(0x124)],_0x2d7bf3[_0x2da3ee(0x10e)]);const _0x5ba614={[_0x2d7bf3[_0x2da3ee(0x10e)]]:_0x2d7bf3[_0x2da3ee(0x13b)][_0x2da3ee(0x16c)]};_testErrorData['push'](_0x5ba614);}),_0x1a57ce['on'](CodeceptJS[_0x31f5cc(0x172)]['test']['passed'],async _0x208351=>{const _0x27c307=_0x31f5cc;console['log'](_0x5cb810[_0x27c307(0x14e)],_0x208351[_0x27c307(0x10e)]);}),_0x1a57ce['on'](CodeceptJS['event'][_0x31f5cc(0x17a)]['before'],async _0x2cd35b=>{const _0x376e97=_0x31f5cc;console[_0x376e97(0x156)](_0x5cb810[_0x376e97(0x178)],_0x2cd35b[_0x376e97(0x10e)]);}),_0x1a57ce['on'](CodeceptJS[_0x31f5cc(0x172)][_0x31f5cc(0x13f)][_0x31f5cc(0x166)],async()=>{const _0x4bb647=_0x31f5cc,_0x57dc4a=_0x5cb810[_0x4bb647(0x174)][_0x4bb647(0x145)]('|');let _0x111590=0x0;while(!![]){switch(_0x57dc4a[_0x111590++]){case'0':_0x1a57ce[_0x4bb647(0x10f)]();continue;case'1':_0x44fe90['errorMessage']=_testErrorData;continue;case'2':try{await TestHubHandler[_0x4bb647(0x118)]();}catch(_0x4a51b){logger[_0x4bb647(0x12b)](_0x4bb647(0x137)+util[_0x4bb647(0x168)](_0x4a51b));}continue;case'3':PerformanceTester[_0x4bb647(0x15e)](PerformanceEvents[_0x4bb647(0x129)]);continue;case'4':testOpsHelper[_0x4bb647(0x162)]();continue;case'5':utilities[_0x4bb647(0x15d)](_0x44fe90);continue;}break;}});async function _0x5bb1a8(){const _0x17359f=_0x31f5cc;try{await _0x1a57ce[_0x17359f(0x149)](),await _0x1a57ce[_0x17359f(0x141)]();}finally{process['chdir'](_0x148b02),await _0x1a57ce[_0x17359f(0x132)]();}}PerformanceTester['end'](PerformanceEvents['SDK_SETUP']),_0x5cb810[_0x31f5cc(0x14b)](_0x5bb1a8);}function a2_0x1dca(_0x111a8a,_0x949eef){const _0x35ffa7=a2_0x35ff();return a2_0x1dca=function(_0x1dcac6,_0x5dd48d){_0x1dcac6=_0x1dcac6-0x100;let _0x3b7638=_0x35ffa7[_0x1dcac6];return _0x3b7638;},a2_0x1dca(_0x111a8a,_0x949eef);}module['exports']=run;
@@ -1 +1 @@
1
- const a3_0x1210e3=a3_0x376d;(function(_0x274648,_0x5d20cf){const _0x264c73=a3_0x376d,_0x30b6f0=_0x274648();while(!![]){try{const _0x81c54d=-parseInt(_0x264c73(0x165))/0x1+parseInt(_0x264c73(0x164))/0x2*(-parseInt(_0x264c73(0x167))/0x3)+parseInt(_0x264c73(0x17f))/0x4*(parseInt(_0x264c73(0x195))/0x5)+-parseInt(_0x264c73(0x183))/0x6*(parseInt(_0x264c73(0x15f))/0x7)+-parseInt(_0x264c73(0x166))/0x8*(parseInt(_0x264c73(0x181))/0x9)+parseInt(_0x264c73(0x170))/0xa*(-parseInt(_0x264c73(0x17c))/0xb)+-parseInt(_0x264c73(0x159))/0xc*(-parseInt(_0x264c73(0x187))/0xd);if(_0x81c54d===_0x5d20cf)break;else _0x30b6f0['push'](_0x30b6f0['shift']());}catch(_0x1819c5){_0x30b6f0['push'](_0x30b6f0['shift']());}}}(a3_0x4068,0x604ea));function a3_0x376d(_0x2d166b,_0x1a24f4){const _0x406805=a3_0x4068();return a3_0x376d=function(_0x376da9,_0x3e1629){_0x376da9=_0x376da9-0x14f;let _0x133aea=_0x406805[_0x376da9];return _0x133aea;},a3_0x376d(_0x2d166b,_0x1a24f4);}const {isUndefined,nestedKeyValue}=require(a3_0x1210e3(0x15c)),logger=require('../../helpers/logger')['winstonLogger'],PlaywrightSessionDetails=require(a3_0x1210e3(0x16b)),{isAccessibilityAutomationSession}=require(a3_0x1210e3(0x169)),{getObservabilityLinkedProductName}=require(a3_0x1210e3(0x154)),getOSVersionFromCaps=_0x11d408=>{const _0x4c8c57=a3_0x1210e3,_0x520fde={};_0x520fde[_0x4c8c57(0x190)]=_0x4c8c57(0x192),_0x520fde[_0x4c8c57(0x179)]=_0x4c8c57(0x171),_0x520fde[_0x4c8c57(0x153)]=_0x4c8c57(0x198),_0x520fde['cgdDW']=_0x4c8c57(0x175),_0x520fde[_0x4c8c57(0x152)]=_0x4c8c57(0x16a);const _0x4e5e43=_0x520fde;if(!_0x11d408)return null;const _0x496d82=_0x11d408[_0x4e5e43['vRHvj']],_0x33aedb=[_0x4e5e43[_0x4c8c57(0x179)],_0x4e5e43[_0x4c8c57(0x153)],_0x4e5e43[_0x4c8c57(0x186)],_0x4e5e43[_0x4c8c57(0x152)]];for(const _0x484501 of _0x33aedb){if(_0x496d82&&_0x496d82[_0x484501])return _0x496d82[_0x484501];else{if(_0x11d408[_0x484501])return _0x11d408[_0x484501];}}return null;};function a3_0x4068(){const _0x23c497=['1017bYGsen','browser','48jxOrmv','latest','bsSessionId','cgdDW','6851VeIHIa','browserVersion','accessibilityPlatform','NtAhU','browser_version','platform','vzfic','constructor','chrome','vRHvj','capabilities','bstack:options','platformName','shouldPatchExecuteScript','4745cQVoHa','browserName','deviceName','platform_version','sessionId','config','GnETW','uDmdZ','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','WebDriver','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','parse','HatZz','RhAlU','../../helpers/test-observability/utils','jUhlb','oVZwD','browserWSEndpoint','searchParams','53784PWIMcG','includes','jzqRP','../../helpers/helper','DQSHm','GosCW','601783DSGVJj','processWebDriverConfig','IEiwC','LpWpy','APfUh','8806HaIGVf','292496btUixR','12568RIJWXc','213XQnUse','HELwr','../../helpers/accessibility-automation/helper','os_version','../../bin/playwright/sessionDetails','name','vefZt','uXpIe','Mzfba','1017970rLAeAD','platformVersion','UyKwf','GMAiS','PCepr','osVersion','igejN','aYazh','warn','PtRJY','unknown_grid','zUCFR','77cOhDwg','goLQi','__cloud_provider___','908iGJhwz','caps'];a3_0x4068=function(){return _0x23c497;};return a3_0x4068();}exports['fetchPlatformDetails']=_0x4ee7c3=>{const _0x8e1cc=a3_0x1210e3,_0x3cf9bc={'OIEOQ':_0x8e1cc(0x17a),'jzqRP':function(_0x265053,_0x4bda5a){return _0x265053===_0x4bda5a;},'aYazh':_0x8e1cc(0x14f),'LpWpy':function(_0x501fe3,_0x10b674){return _0x501fe3(_0x10b674);},'zUCFR':function(_0x4dfe2e,_0x35837e,_0x3126da){return _0x4dfe2e(_0x35837e,_0x3126da);},'PCepr':_0x8e1cc(0x19a),'vzfic':'desiredCapabilities','igejN':function(_0x13bbf8,_0x332afa){return _0x13bbf8(_0x332afa);},'yyKyE':function(_0x2c0d68,_0x27870f){return _0x2c0d68===_0x27870f;},'APfUh':'Playwright','Spftm':_0x8e1cc(0x182),'uDmdZ':_0x8e1cc(0x157),'GMAiS':_0x8e1cc(0x180),'HELwr':function(_0x296a71,_0x22e3b6){return _0x296a71(_0x22e3b6);}};if(!_0x4ee7c3)return null;let _0x33a896=global[_0x8e1cc(0x17e)]||_0x3cf9bc['OIEOQ'];if(_0x3cf9bc[_0x8e1cc(0x15b)](_0x4ee7c3[_0x8e1cc(0x18e)][_0x8e1cc(0x16c)],_0x3cf9bc[_0x8e1cc(0x177)])){const _0x43ece5=_0x4ee7c3['browser'];if(!_0x43ece5)return null;const _0x49e016=_0x43ece5[_0x8e1cc(0x191)],_0x213ffb=_0x3cf9bc[_0x8e1cc(0x162)](getOSVersionFromCaps,_0x3cf9bc['zUCFR'](nestedKeyValue,_0x4ee7c3,[_0x3cf9bc[_0x8e1cc(0x174)],_0x3cf9bc[_0x8e1cc(0x18d)]]));return{[_0x33a896]:{'browser':_0x49e016['browserName'],'browser_version':_0x49e016[_0x8e1cc(0x188)],'capabilities':_0x49e016,'platform':_0x49e016[_0x8e1cc(0x193)],'platform_version':_0x49e016[_0x8e1cc(0x171)]||_0x213ffb,'product':_0x3cf9bc[_0x8e1cc(0x176)](getObservabilityLinkedProductName,_0x49e016),'session_id':_0x43ece5[_0x8e1cc(0x199)]}};}else{if(_0x3cf9bc['yyKyE'](_0x4ee7c3['constructor'][_0x8e1cc(0x16c)],_0x3cf9bc[_0x8e1cc(0x163)])){const _0x14727d=PlaywrightSessionDetails['getDetails']();_0x33a896=_0x14727d['cloudProvider']||_0x33a896;const _0x4f637d=_0x3cf9bc[_0x8e1cc(0x17b)](nestedKeyValue,_0x4ee7c3,[_0x3cf9bc[_0x8e1cc(0x174)],_0x3cf9bc['Spftm'],_0x3cf9bc[_0x8e1cc(0x19c)]]),_0x2a42e7=_0x4f637d?JSON[_0x8e1cc(0x151)](new URL(_0x4f637d)[_0x8e1cc(0x158)]['get'](_0x3cf9bc[_0x8e1cc(0x173)])):{};return{[_0x33a896]:{'browser':_0x14727d[_0x8e1cc(0x182)]||_0x2a42e7['browserName'],'browser_version':_0x14727d[_0x8e1cc(0x18b)]||_0x2a42e7[_0x8e1cc(0x18b)],'capabilities':_0x2a42e7,'platform':_0x14727d[_0x8e1cc(0x18c)],'platform_version':_0x14727d[_0x8e1cc(0x198)],'product':_0x3cf9bc[_0x8e1cc(0x168)](getObservabilityLinkedProductName,_0x2a42e7),'session_id':_0x14727d[_0x8e1cc(0x185)]}};}}},exports[a3_0x1210e3(0x160)]=_0x253879=>{const _0x186b29=a3_0x1210e3,_0x3fb5b8={'NAQgM':function(_0x2ee85a){return _0x2ee85a();},'Mzfba':function(_0x5356df,_0x2efda5){return _0x5356df===_0x2efda5;},'UyKwf':_0x186b29(0x184),'VxKmF':function(_0x2b3618,_0xa75686){return _0x2b3618>_0xa75686;},'DQSHm':function(_0x30462f,_0x56d181){return _0x30462f(_0x56d181);},'NtAhU':_0x186b29(0x150),'vefZt':_0x186b29(0x18f),'jUhlb':function(_0x5e4464,_0x32056d){return _0x5e4464===_0x32056d;},'GosCW':'playwright-chromium','PDIsU':_0x186b29(0x19d),'GnETW':function(_0x4dc09d,_0x12a60e){return _0x4dc09d(_0x12a60e);},'goLQi':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.'};if(_0x3fb5b8['NAQgM'](isAccessibilityAutomationSession)){const _0x40c2aa=_0x253879['browser'],_0x123f88=_0x40c2aa[_0x186b29(0x191)];global[_0x186b29(0x189)]=!![],!(_0x3fb5b8[_0x186b29(0x16f)](_0x123f88[_0x186b29(0x188)],_0x3fb5b8[_0x186b29(0x172)])||_0x3fb5b8['VxKmF'](_0x3fb5b8[_0x186b29(0x15d)](parseInt,_0x123f88['browserVersion']),0x5e))&&(logger[_0x186b29(0x178)](_0x3fb5b8[_0x186b29(0x18a)]),global[_0x186b29(0x189)]=![]),!(_0x3fb5b8[_0x186b29(0x16f)](_0x123f88['browserName'],_0x3fb5b8[_0x186b29(0x16d)])||_0x3fb5b8[_0x186b29(0x155)](_0x123f88[_0x186b29(0x196)],_0x3fb5b8[_0x186b29(0x15e)]))&&(logger[_0x186b29(0x178)](_0x3fb5b8['PDIsU']),global[_0x186b29(0x189)]=![]),!_0x3fb5b8[_0x186b29(0x19b)](isUndefined,_0x123f88[_0x186b29(0x197)])&&(logger['warn'](_0x3fb5b8[_0x186b29(0x17d)]),global['accessibilityPlatform']=![]);}},exports[a3_0x1210e3(0x194)]=_0x38ee56=>{const _0x132246=a3_0x1210e3,_0x259009={};_0x259009[_0x132246(0x16e)]=function(_0x837183,_0x44ad4a){return _0x837183!==_0x44ad4a;},_0x259009['RGVpW']='string',_0x259009[_0x132246(0x161)]='browserstack_executor',_0x259009['oVZwD']='browserstack_accessibility_automation_script';const _0x182666=_0x259009;if(!_0x38ee56)return![];else{if(_0x182666[_0x132246(0x16e)](typeof _0x38ee56,_0x182666['RGVpW']))return!![];}return!_0x38ee56[_0x132246(0x15a)](_0x182666[_0x132246(0x161)])&&!_0x38ee56[_0x132246(0x15a)](_0x182666[_0x132246(0x156)]);};
1
+ function a3_0x18e4(){const _0x36c109=['jtIMW','ZvXFG','335372OHzSex','constructor','getDetails','3886099NtCrLa','DcNAr','browserstack_accessibility_automation_script','HwLcq','get','browserWSEndpoint','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','shouldPatchExecuteScript','platformName','desiredCapabilities','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','3999770UcShYC','jBPkL','warn','browserVersion','IPePM','URBos','10470190mlCKYp','bsSessionId','capabilities','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','PAqTr','WebDriver','../../helpers/logger','lOMhw','UHlqG','accessibilityPlatform','9RQGYPb','BbVYm','../../helpers/accessibility-automation/helper','HUtXG','6840992MIBvla','sessionId','VmjSh','deviceName','sxLRa','platform','SgKNC','cpuHn','wWlNf','browser','includes','EQTuW','fTYch','caps','twtTs','wWfSn','465HqRRhl','playwright-chromium','searchParams','../../bin/playwright/sessionDetails','4HxjnJP','HeFBy','NzuPE','parse','platform_version','Playwright','processWebDriverConfig','browser_version','3891144milJUw','qcIpk','browserName','tyrkV','__cloud_provider___','winstonLogger','552ymLskK','config','fetchPlatformDetails','name','qmbYc','uVBLO','platformVersion','ruNwW'];a3_0x18e4=function(){return _0x36c109;};return a3_0x18e4();}function a3_0x9014(_0x14f7b1,_0x2a441d){const _0x18e419=a3_0x18e4();return a3_0x9014=function(_0x9014bc,_0x31b75e){_0x9014bc=_0x9014bc-0x185;let _0x65a7a4=_0x18e419[_0x9014bc];return _0x65a7a4;},a3_0x9014(_0x14f7b1,_0x2a441d);}const a3_0x3377b0=a3_0x9014;(function(_0x3e5749,_0x365f18){const _0x368099=a3_0x9014,_0x1ccc71=_0x3e5749();while(!![]){try{const _0x1c70c9=parseInt(_0x368099(0x187))/0x1*(-parseInt(_0x368099(0x1bd))/0x2)+-parseInt(_0x368099(0x1b9))/0x3*(-parseInt(_0x368099(0x1cb))/0x4)+parseInt(_0x368099(0x195))/0x5+parseInt(_0x368099(0x1c5))/0x6+-parseInt(_0x368099(0x18a))/0x7+-parseInt(_0x368099(0x1a9))/0x8+-parseInt(_0x368099(0x1a5))/0x9*(-parseInt(_0x368099(0x19b))/0xa);if(_0x1c70c9===_0x365f18)break;else _0x1ccc71['push'](_0x1ccc71['shift']());}catch(_0x155a22){_0x1ccc71['push'](_0x1ccc71['shift']());}}}(a3_0x18e4,0x6a696));const {isUndefined,nestedKeyValue}=require('../../helpers/helper'),logger=require(a3_0x3377b0(0x1a1))[a3_0x3377b0(0x1ca)],PlaywrightSessionDetails=require(a3_0x3377b0(0x1bc)),{isAccessibilityAutomationSession}=require(a3_0x3377b0(0x1a7)),{getObservabilityLinkedProductName}=require('../../helpers/test-observability/utils'),getOSVersionFromCaps=_0x53b176=>{const _0x49e91e=a3_0x3377b0,_0x40f757={};_0x40f757[_0x49e91e(0x1b1)]='bstack:options',_0x40f757[_0x49e91e(0x1cf)]='platformVersion',_0x40f757[_0x49e91e(0x1a3)]=_0x49e91e(0x1c1),_0x40f757[_0x49e91e(0x1d0)]='osVersion',_0x40f757[_0x49e91e(0x1b5)]='os_version';const _0x38ec4c=_0x40f757;if(!_0x53b176)return null;const _0x3832e3=_0x53b176[_0x38ec4c[_0x49e91e(0x1b1)]],_0x50c4fe=[_0x38ec4c[_0x49e91e(0x1cf)],_0x38ec4c[_0x49e91e(0x1a3)],_0x38ec4c[_0x49e91e(0x1d0)],_0x38ec4c[_0x49e91e(0x1b5)]];for(const _0x2c5841 of _0x50c4fe){if(_0x3832e3&&_0x3832e3[_0x2c5841])return _0x3832e3[_0x2c5841];else{if(_0x53b176[_0x2c5841])return _0x53b176[_0x2c5841];}}return null;};exports[a3_0x3377b0(0x1cd)]=_0x38eef2=>{const _0x41f952=a3_0x3377b0,_0x54a815={'Vzqlk':'unknown_grid','QxyYZ':function(_0x470c2e,_0x28aaae){return _0x470c2e===_0x28aaae;},'lOMhw':_0x41f952(0x1a0),'jtIMW':function(_0x21d19b,_0x1ad72c){return _0x21d19b(_0x1ad72c);},'HUtXG':function(_0x4bf501,_0x397faf,_0x5547ae){return _0x4bf501(_0x397faf,_0x5547ae);},'wWfSn':_0x41f952(0x1cc),'NzuPE':_0x41f952(0x193),'BbVYm':function(_0x391c30,_0x67dbe5){return _0x391c30===_0x67dbe5;},'twtTs':_0x41f952(0x1c2),'tyrkV':function(_0xd8df10,_0x4e43ec,_0x27af62){return _0xd8df10(_0x4e43ec,_0x27af62);},'URBos':'browser','SgKNC':_0x41f952(0x18f),'mcooL':_0x41f952(0x1b6)};if(!_0x38eef2)return null;let _0x29b16c=global[_0x41f952(0x1c9)]||_0x54a815['Vzqlk'];if(_0x54a815['QxyYZ'](_0x38eef2[_0x41f952(0x188)][_0x41f952(0x1ce)],_0x54a815[_0x41f952(0x1a2)])){const _0x1e61e7=_0x38eef2[_0x41f952(0x1b2)];if(!_0x1e61e7)return null;const _0x314bfb=_0x1e61e7[_0x41f952(0x19d)],_0x3f65fe=_0x54a815[_0x41f952(0x185)](getOSVersionFromCaps,_0x54a815[_0x41f952(0x1a8)](nestedKeyValue,_0x38eef2,[_0x54a815[_0x41f952(0x1b8)],_0x54a815[_0x41f952(0x1bf)]]));return{[_0x29b16c]:{'browser':_0x314bfb[_0x41f952(0x1c7)],'browser_version':_0x314bfb['browserVersion'],'capabilities':_0x314bfb,'platform':_0x314bfb[_0x41f952(0x192)],'platform_version':_0x314bfb[_0x41f952(0x1d1)]||_0x3f65fe,'product':_0x54a815[_0x41f952(0x185)](getObservabilityLinkedProductName,_0x314bfb),'session_id':_0x1e61e7[_0x41f952(0x1aa)]}};}else{if(_0x54a815[_0x41f952(0x1a6)](_0x38eef2[_0x41f952(0x188)][_0x41f952(0x1ce)],_0x54a815[_0x41f952(0x1b7)])){const _0xb30558=PlaywrightSessionDetails[_0x41f952(0x189)]();_0x29b16c=_0xb30558['cloudProvider']||_0x29b16c;const _0x2f28dd=_0x54a815[_0x41f952(0x1c8)](nestedKeyValue,_0x38eef2,[_0x54a815[_0x41f952(0x1b8)],_0x54a815[_0x41f952(0x19a)],_0x54a815[_0x41f952(0x1af)]]),_0x25c257=_0x2f28dd?JSON[_0x41f952(0x1c0)](new URL(_0x2f28dd)[_0x41f952(0x1bb)][_0x41f952(0x18e)](_0x54a815['mcooL'])):{};return{[_0x29b16c]:{'browser':_0xb30558['browser']||_0x25c257[_0x41f952(0x1c7)],'browser_version':_0xb30558['browser_version']||_0x25c257[_0x41f952(0x1c4)],'capabilities':_0x25c257,'platform':_0xb30558[_0x41f952(0x1ae)],'platform_version':_0xb30558['platform_version'],'product':_0x54a815[_0x41f952(0x185)](getObservabilityLinkedProductName,_0x25c257),'session_id':_0xb30558[_0x41f952(0x19c)]}};}}},exports[a3_0x3377b0(0x1c3)]=_0x50febd=>{const _0xd8cc39=a3_0x3377b0,_0x7e2bc8={'qcIpk':function(_0x338bfe){return _0x338bfe();},'HwLcq':function(_0x45e4ba,_0x1d9a77){return _0x45e4ba===_0x1d9a77;},'VmjSh':'latest','DcNAr':function(_0x580d8d,_0x71f7a0){return _0x580d8d>_0x71f7a0;},'ruNwW':function(_0x303a25,_0x42d125){return _0x303a25(_0x42d125);},'jBPkL':_0xd8cc39(0x194),'AabnL':function(_0x4115c4,_0x1637ac){return _0x4115c4===_0x1637ac;},'cxhOu':'chrome','DTXzr':function(_0x2dcbac,_0x2434aa){return _0x2dcbac===_0x2434aa;},'IPePM':_0xd8cc39(0x1ba),'hqcfi':_0xd8cc39(0x19e),'PAqTr':function(_0x4cb1d9,_0x2e0fed){return _0x4cb1d9(_0x2e0fed);},'ZvXFG':_0xd8cc39(0x190)};if(_0x7e2bc8[_0xd8cc39(0x1c6)](isAccessibilityAutomationSession)){const _0x47ec42=_0x50febd[_0xd8cc39(0x1b2)],_0x293305=_0x47ec42['capabilities'];global[_0xd8cc39(0x1a4)]=!![],!(_0x7e2bc8[_0xd8cc39(0x18d)](_0x293305['browserVersion'],_0x7e2bc8[_0xd8cc39(0x1ab)])||_0x7e2bc8[_0xd8cc39(0x18b)](_0x7e2bc8[_0xd8cc39(0x1d2)](parseInt,_0x293305[_0xd8cc39(0x198)]),0x5e))&&(logger[_0xd8cc39(0x197)](_0x7e2bc8[_0xd8cc39(0x196)]),global[_0xd8cc39(0x1a4)]=![]),!(_0x7e2bc8['AabnL'](_0x293305['browserName'],_0x7e2bc8['cxhOu'])||_0x7e2bc8['DTXzr'](_0x293305[_0xd8cc39(0x1c7)],_0x7e2bc8[_0xd8cc39(0x199)]))&&(logger['warn'](_0x7e2bc8['hqcfi']),global[_0xd8cc39(0x1a4)]=![]),!_0x7e2bc8[_0xd8cc39(0x19f)](isUndefined,_0x293305[_0xd8cc39(0x1ac)])&&(logger[_0xd8cc39(0x197)](_0x7e2bc8[_0xd8cc39(0x186)]),global[_0xd8cc39(0x1a4)]=![]);}},exports[a3_0x3377b0(0x191)]=_0x70998e=>{const _0x51f605=a3_0x3377b0,_0x282729={};_0x282729[_0x51f605(0x1be)]=function(_0x10efd6,_0x18a938){return _0x10efd6!==_0x18a938;},_0x282729[_0x51f605(0x1b4)]='string',_0x282729[_0x51f605(0x1ad)]='browserstack_executor',_0x282729[_0x51f605(0x1b0)]=_0x51f605(0x18c);const _0x1639e3=_0x282729;if(!_0x70998e)return![];else{if(_0x1639e3['HeFBy'](typeof _0x70998e,_0x1639e3[_0x51f605(0x1b4)]))return!![];}return!_0x70998e[_0x51f605(0x1b3)](_0x1639e3['sxLRa'])&&!_0x70998e[_0x51f605(0x1b3)](_0x1639e3[_0x51f605(0x1b0)]);};
@@ -1 +1 @@
1
- const a4_0x27863a=a4_0x3278;(function(_0x37ae06,_0x1cb9c2){const _0x230aff=a4_0x3278,_0x22e61d=_0x37ae06();while(!![]){try{const _0x401499=-parseInt(_0x230aff(0x20f))/0x1*(-parseInt(_0x230aff(0x1a4))/0x2)+parseInt(_0x230aff(0x197))/0x3*(-parseInt(_0x230aff(0x1e2))/0x4)+parseInt(_0x230aff(0x22c))/0x5+-parseInt(_0x230aff(0x233))/0x6+-parseInt(_0x230aff(0x1ed))/0x7*(-parseInt(_0x230aff(0x1cb))/0x8)+-parseInt(_0x230aff(0x221))/0x9+parseInt(_0x230aff(0x1a1))/0xa*(-parseInt(_0x230aff(0x17f))/0xb);if(_0x401499===_0x1cb9c2)break;else _0x22e61d['push'](_0x22e61d['shift']());}catch(_0x1e6884){_0x22e61d['push'](_0x22e61d['shift']());}}}(a4_0x3319,0x2f430));function a4_0x3278(_0xd64cf8,_0x1f36b5){const _0x3319d2=a4_0x3319();return a4_0x3278=function(_0x327854,_0x50d789){_0x327854=_0x327854-0x178;let _0x328c1e=_0x3319d2[_0x327854];return _0x328c1e;},a4_0x3278(_0xd64cf8,_0x1f36b5);}const path=require(a4_0x27863a(0x194)),fs=require('fs'),{v4:uuidv4}=require(a4_0x27863a(0x24e)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x27863a(0x1a7)),testOpsHelper=require(a4_0x27863a(0x195)),{getTestEnv}=require(a4_0x27863a(0x242)),{FRAMEWORKS}=require(a4_0x27863a(0x216)),logger=require(a4_0x27863a(0x224))[a4_0x27863a(0x24d)],SessionHandler=require('../../helpers/test-observability/sessionHandler'),RequestQueueHandler=require(a4_0x27863a(0x1aa)),PlaywrightSessionDetails=require(a4_0x27863a(0x243)),debug=testOpsHelper[a4_0x27863a(0x25f)],{processAccessibilityCaps}=require('../playwright/accessibility-helper'),Constants=require('../utils/constants'),{fetchPlatformDetails}=require(a4_0x27863a(0x1c4)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x27863a(0x1b7)),constants=require(a4_0x27863a(0x187)),STATE_PASSED=a4_0x27863a(0x261),STATE_FAILED='failed',a4_0x174a33={};a4_0x174a33[a4_0x27863a(0x21a)]=a4_0x27863a(0x188),a4_0x174a33[a4_0x27863a(0x1fc)]=a4_0x27863a(0x1b9),a4_0x174a33[a4_0x27863a(0x1c8)]='TestRunSkipped',a4_0x174a33['HOOK_RUN_STARTED']='HookRunStarted',a4_0x174a33['HOOK_RUN_FINISHED']='HookRunFinished';const TEST_EVENTS=a4_0x174a33,parseEvent=_0x47240f=>{const _0x3f34de=a4_0x27863a,_0x246898={};_0x246898[_0x3f34de(0x1a5)]=function(_0x202615,_0x32bea3){return _0x202615<_0x32bea3;},_0x246898[_0x3f34de(0x1bd)]=function(_0x39f6e3,_0x341243){return _0x39f6e3===_0x341243;},_0x246898[_0x3f34de(0x1a6)]=_0x3f34de(0x237),_0x246898[_0x3f34de(0x1ac)]=_0x3f34de(0x1f0),_0x246898['zPoVT']=function(_0x10838e,_0xf3fd5a){return _0x10838e===_0xf3fd5a;},_0x246898[_0x3f34de(0x1ec)]=_0x3f34de(0x17e),_0x246898[_0x3f34de(0x1ef)]=_0x3f34de(0x1de),_0x246898[_0x3f34de(0x206)]=function(_0x113add,_0x3c0e27){return _0x113add===_0x3c0e27;},_0x246898['oOxAj']=_0x3f34de(0x248);const _0x30fe32=_0x246898,_0x46b140=_0x47240f[_0x3f34de(0x239)](/^(.*)Run(.*)$/);if(!_0x46b140)return null;if(_0x30fe32[_0x3f34de(0x1a5)](_0x46b140[_0x3f34de(0x1cf)],0x3))return null;const _0x1412ad=_0x46b140[0x1][_0x3f34de(0x256)](),_0x884f39=_0x46b140[0x2][_0x3f34de(0x256)]();return{'test':_0x30fe32['nNtbe'](_0x1412ad,_0x30fe32[_0x3f34de(0x1a6)]),'hook':_0x30fe32['nNtbe'](_0x1412ad,_0x30fe32[_0x3f34de(0x1ac)]),'skipped':_0x30fe32[_0x3f34de(0x1ff)](_0x884f39,_0x30fe32[_0x3f34de(0x1ec)]),'started':_0x30fe32[_0x3f34de(0x1bd)](_0x884f39,_0x30fe32[_0x3f34de(0x1ef)]),'finished':_0x30fe32[_0x3f34de(0x206)](_0x884f39,_0x30fe32[_0x3f34de(0x1bf)])};},mockPWBrowserType=_0x46026e=>{const _0x28cfba=a4_0x27863a,_0x21a7e5={'uFlKu':function(_0x262ef5,_0x3048ce,_0xe60438){return _0x262ef5(_0x3048ce,_0xe60438);},'viBdT':'wsEndpoint','zmvxd':function(_0x32cf1a,_0x53a552){return _0x32cf1a(_0x53a552);},'YKHqY':'browserstack','XrtPz':function(_0x39ecf0,_0x27f9b0){return _0x39ecf0(_0x27f9b0);},'AyhnO':function(_0x1cc548,_0x351a3d){return _0x1cc548===_0x351a3d;},'AuVRd':'string','MKGzr':'lib','iuBmN':_0x28cfba(0x1c6),'RnEDF':_0x28cfba(0x178),'rTBGE':_0x28cfba(0x1e7),'QNyhl':'connect','cgitw':_0x28cfba(0x1ca)},_0x413ea3=path['join'](_0x21a7e5[_0x28cfba(0x201)],_0x21a7e5['iuBmN'],_0x21a7e5[_0x28cfba(0x1af)]),_0x4e34f6=_0x21a7e5[_0x28cfba(0x1a2)](importFileFromPWCore,_0x413ea3);if(!_0x4e34f6){_0x21a7e5[_0x28cfba(0x1c3)](debug,_0x21a7e5[_0x28cfba(0x209)]);return;}const _0x37959a=_0x4e34f6['BrowserType'],_0x357b5c=_0x37959a[_0x28cfba(0x1b2)];if(_0x357b5c[_0x28cfba(0x262)])return;const _0x375137=_0x357b5c['connect'];Object[_0x28cfba(0x23b)](_0x357b5c,_0x21a7e5[_0x28cfba(0x234)],{'get':function(){const _0x463135={'qEQNA':function(_0x6090d9,_0x205d2c){const _0x44f26c=a4_0x3278;return _0x21a7e5[_0x44f26c(0x244)](_0x6090d9,_0x205d2c);},'kleLY':_0x21a7e5['AuVRd']};return async function _0x1bb589(_0x54f6d7,_0x4dbcad){const _0x3d674c=a4_0x3278,_0xc4d70b=_0x21a7e5[_0x3d674c(0x252)](nestedKeyValue,_0x54f6d7,[_0x21a7e5['viBdT']])||_0x54f6d7;let _0x154d17=null,_0x4d89d2=null;try{[_0x4d89d2,_0x154d17]=_0xc4d70b?_0x21a7e5[_0x3d674c(0x1a2)](parseWSEndpoint,_0xc4d70b):[null,null],global['__platformCaps']=_0x154d17,logger['debug'](_0x3d674c(0x1e0)+_0x4d89d2),_0x4d89d2[_0x3d674c(0x1d7)](Constants[_0x3d674c(0x1f8)])&&(global[_0x3d674c(0x263)]=_0x21a7e5[_0x3d674c(0x260)]);}catch(_0x290bf6){logger[_0x3d674c(0x25f)]('Failed\x20to\x20parse\x20wsendpoint\x20'+_0xc4d70b+'\x20'+_0x290bf6);}_0x21a7e5[_0x3d674c(0x252)](processAccessibilityCaps,_0x154d17,_0x4d89d2);if(global['accessibilityPlatform']){const _0x1974db=await _0x357b5c[_0x3d674c(0x19d)]['apply'](this,[''+Constants[_0x3d674c(0x18a)]+_0x21a7e5['XrtPz'](encodeURIComponent,JSON['stringify'](_0x154d17))]);return PlaywrightSessionDetails['setupBrowserDetails'](_0x1974db,_0x46026e,_0xc4d70b),_0x1974db;}return _0x375137[_0x3d674c(0x20b)](this,arguments)[_0x3d674c(0x1d9)](_0x930a76=>{const _0x35ac05=_0x3d674c;let _0x4e635a=_0x54f6d7['wsEndpoint'];return _0x463135[_0x35ac05(0x1c0)](typeof _0x54f6d7,_0x463135['kleLY'])&&(_0x4e635a=_0x54f6d7),PlaywrightSessionDetails[_0x35ac05(0x19e)](_0x930a76,_0x46026e,_0x4e635a),_0x930a76;});};}});const _0x4f6959=_0x357b5c[_0x28cfba(0x1ca)];Object[_0x28cfba(0x23b)](_0x357b5c,_0x21a7e5[_0x28cfba(0x23d)],{'get':function(){return async function _0x325943(){const _0x557f85=a4_0x3278;return _0x4f6959['apply'](this,arguments)[_0x557f85(0x1d9)](_0x60acf4=>{return PlaywrightSessionDetails['setupBrowserDetails'](_0x60acf4,null),_0x60acf4;});};}});};function a4_0x3319(){const _0x1ab7f0=['CODECEPT','../../helpers/test-observability/requestQueueHandler','groups','zwcSn','driver','test_run','RnEDF','result','QwILa','prototype','event_type','currentHook','codeceptjs','getInstance','../../helpers/testhub/utils.js','Jljai','TestRunFinished','uploadEventData','prefixTestPath','getHooksForTest','nNtbe','iNODZ','oOxAj','qEQNA','failed\x20to\x20get\x20root\x20parent\x20file\x20','statSync','XrtPz','./helper.js','FAqTH','client','getCBTInfo','TEST_RUN_SKIPPED','hook_run_uuid','launch','24DvDsYG','shutdown','backtrace','AGtFu','length','startedAt','File\x20path\x20could\x20not\x20be\x20found','frameworkName','.git','APNrj','WlHxK','KSItC','includes','failure','then','AiSmz','AkObo','YAvHF','IOPwx','started','captureEvent','Checking\x20for\x20accessibility\x20automation\x20session\x20with\x20','failed','196396YpqoPL','getFailureType','util','lIpyX','rfijT','Not\x20able\x20to\x20import\x20Browser','title','_afterEach','UToxn','integrations','wZJXw','609294CcijqN','duration','WIXJM','hook','BgenJ','STATE_FAILED','sendCBTInfo','dirname','constructor','gEjhC','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','BROWSERSTACK','KeTir','lumLF','YjAFj','TEST_RUN_FINISHED','1|3|5|4|2|0','kIhZG','zPoVT','patchConsoleLogger','MKGzr','split','_afterAll','hooks','currentTest','caQxA','stepAnalyticsId','getHierarchy','rTBGE','failure_backtrace','apply','bddStepFinish','failureData','body','8713fkblme','suites','testAnalyticsId','success','cwd','fullTitle','EytOH','../../helpers/test-observability/constants','pending','\x20with\x20error\x20:\x20','appendTestItemLog','TEST_RUN_STARTED','sRccH','KAsRY','Fsueu','UATbq','TEST_REPORTING_ANALYTICS','name','854577OILHEF','kwXDX','bind','../../helpers/logger','pid','ZMhZS','getHookType','now','_paths','PVYbD','hook_run','471285iOvXUu','GNlur','knADZ','LogCreated','ctx','NaGKW','uCJwu','385578oisYHf','QNyhl','test_run_uuid','markedStatus','test','bddSteps','match','wzRMg','defineProperty','toString','cgitw','retryOf','CBTSessionCreated','finished_at','text','../mocha/test-observability/mochaUtils','../playwright/sessionDetails','AyhnO','ZblWo','mDHRf','push','finished','JXDvh','hWtNs','location_prefix','KPcAc','winstonLogger','uuid','_beforeEach','krjiD','Oaumc','uFlKu','WDvni','file','_beforeAll','toLowerCase','zdglv','javascript','mapTestHooks','bs:addLog:','toISOString','getRootParentFile','sLDvL','HUdTq','debug','YKHqY','passed','obsBrowserTypeMockApplied','__cloud_provider___','browserType.js','TEST_EVENTS','file_name','errorsDetailed','resetSkipTestHooks','concat','skipped','734283zJCcmR','AenUj','jalie','sep','rtokg','WPQoO','uTnkB','exports','../utils/constants','TestRunStarted','expanded','PLAYWRIGHT_HUB_URL','SIjQF','_testEnv','POcto','findGitConfig','removeAllListeners','start','err','MxoJi','parent','path','../../helpers/test-observability/utils','hookAnalyticsId','3PnkJFK','forEach','initializeBddStep','enabled','relative','OQgEl','connectOverCDP','setupBrowserDetails','inspect','YEFQr','10aswBcK','zmvxd','message','26vgZCFQ','ediFo','dcOOf','../../helpers/helper','keyword'];a4_0x3319=function(){return _0x1ab7f0;};return a4_0x3319();}class O11yHelper{[a4_0x27863a(0x205)]=null;['currentHook']=null;['enabled']=![];[a4_0x27863a(0x1d2)]=![];constructor(_0x441257,_0x58fd7d){const _0xbaeb76=a4_0x27863a,_0x563b97={'POcto':_0xbaeb76(0x1fd),'EjkIS':function(_0x83fcec,_0x2e6027){return _0x83fcec===_0x2e6027;},'rtokg':'Playwright','OQgEl':function(_0x5b9b11,_0x4d4da1){return _0x5b9b11(_0x4d4da1);},'WDvni':function(_0x462fab){return _0x462fab();},'kIhZG':function(_0x5be0fa){return _0x5be0fa();}},_0x5d303c=_0x563b97[_0xbaeb76(0x18d)][_0xbaeb76(0x202)]('|');let _0x588fdb=0x0;while(!![]){switch(_0x5d303c[_0x588fdb++]){case'0':this['driver']&&_0x563b97['EjkIS'](this['driver'][_0xbaeb76(0x1f5)][_0xbaeb76(0x220)],_0x563b97[_0xbaeb76(0x183)])&&_0x563b97[_0xbaeb76(0x19c)](mockPWBrowserType,null);continue;case'1':this['enabled']=_0x563b97[_0xbaeb76(0x253)](shouldProcessEventForTesthub);continue;case'2':this[_0xbaeb76(0x229)]=new testOpsHelper['PathHelper']({'cwd':process[_0xbaeb76(0x213)]()},this['_testEnv'][_0xbaeb76(0x24b)]);continue;case'3':this['frameworkName']=_0x58fd7d[_0xbaeb76(0x1d2)];continue;case'4':this[_0xbaeb76(0x18c)]=_0x563b97[_0xbaeb76(0x1fe)](getTestEnv);continue;case'5':this[_0xbaeb76(0x1ad)]=_0x441257;continue;}break;}}[a4_0x27863a(0x190)](){const _0x2ffaf2=a4_0x27863a;if(!this[_0x2ffaf2(0x19a)])return;testOpsHelper[_0x2ffaf2(0x200)](),process[_0x2ffaf2(0x18f)](_0x2ffaf2(0x25a)+process[_0x2ffaf2(0x225)]),process['on'](_0x2ffaf2(0x25a)+process['pid'],this[_0x2ffaf2(0x219)][_0x2ffaf2(0x223)](this));}async['stop'](){const _0x4daf18=a4_0x27863a;await RequestQueueHandler[_0x4daf18(0x1b6)]()[_0x4daf18(0x1cc)]();}async[a4_0x27863a(0x219)](_0x3db45d){const _0x18f391=a4_0x27863a,_0x3a6329={'njahH':_0x18f391(0x22f),'QwILa':function(_0x16bfb4,_0x372838){return _0x16bfb4(_0x372838);}};try{this[_0x18f391(0x1b4)]&&!this[_0x18f391(0x1b4)][_0x18f391(0x236)]&&(_0x3db45d[_0x18f391(0x1c9)]=this['currentHook'][_0x18f391(0x196)]);!_0x3db45d['hook_run_uuid']&&this[_0x18f391(0x205)]&&!this['currentTest']['markedStatus']&&(_0x3db45d['test_run_uuid']=this[_0x18f391(0x205)][_0x18f391(0x211)]);if(_0x3db45d['hook_run_uuid']||_0x3db45d[_0x18f391(0x235)]){const _0x3e163b={};_0x3e163b[_0x18f391(0x1b3)]=_0x3a6329['njahH'],_0x3e163b['logs']=[_0x3db45d],await SessionHandler[_0x18f391(0x1ba)](_0x3e163b);}}catch(_0x5ba022){_0x3a6329[_0x18f391(0x1b1)](debug,'Exception\x20in\x20uploading\x20log\x20data\x20to\x20'+constants[_0x18f391(0x21f)]+_0x18f391(0x218)+_0x5ba022);}}async[a4_0x27863a(0x1f3)](_0x3c3648){const _0x1f9e93=a4_0x27863a,_0x63bab7={'AGtFu':_0x1f9e93(0x23f),'IOPwx':function(_0x4cb488,_0x5d64ec){return _0x4cb488(_0x5d64ec);}};if(!this['enabled'])return;const _0x25063b=this[_0x1f9e93(0x1c7)](this['driver']);try{const _0x5b3f33={};_0x5b3f33[_0x1f9e93(0x24e)]=_0x3c3648,_0x5b3f33[_0x1f9e93(0x1eb)]=_0x25063b;const _0x38ba9f=_0x5b3f33,_0x5a8869={};_0x5a8869[_0x1f9e93(0x1b3)]=_0x63bab7[_0x1f9e93(0x1ce)],_0x5a8869[_0x1f9e93(0x1ae)]=_0x38ba9f,await SessionHandler[_0x1f9e93(0x1ba)](_0x5a8869);}catch(_0x21ee0f){_0x63bab7[_0x1f9e93(0x1dd)](debug,'Exception\x20in\x20uploading\x20platform\x20details\x20to\x20'+constants['TEST_REPORTING_ANALYTICS']+_0x1f9e93(0x218)+_0x21ee0f);}}[a4_0x27863a(0x1c7)](_0x49166d){const _0xcb8386=a4_0x27863a,_0x172012={'UATbq':function(_0x3fcf9f,_0x5fd6b2){return _0x3fcf9f(_0x5fd6b2);}};return _0x172012[_0xcb8386(0x21e)](fetchPlatformDetails,_0x49166d);}['resetSkipTestHooks']=_0x2edd33=>{const _0x5aba9d=a4_0x27863a,_0x56ec98={};_0x56ec98['knADZ']=_0x5aba9d(0x24f),_0x56ec98[_0x5aba9d(0x1d6)]=_0x5aba9d(0x1e9);const _0x212ac7=_0x56ec98;if(!_0x2edd33||!_0x2edd33[_0x5aba9d(0x193)])return;[_0x212ac7[_0x5aba9d(0x22e)],_0x212ac7[_0x5aba9d(0x1d6)]]['forEach'](_0x533bad=>{const _0x30a72e=_0x5aba9d,_0x321a61=_0x2edd33[_0x30a72e(0x193)][_0x533bad];_0x321a61[_0x30a72e(0x198)](_0x54a6fa=>{const _0x13212d=_0x30a72e;_0x54a6fa['hookAnalyticsId']&&(_0x54a6fa[_0x13212d(0x196)]=null);});});};[a4_0x27863a(0x259)](_0x3341d8){const _0x39cda8=a4_0x27863a,_0x323773={'qWUxr':_0x39cda8(0x1b5),'krjiD':function(_0x2d9646){return _0x2d9646();},'bYudv':function(_0x39d47f,_0x4c0123){return _0x39d47f===_0x4c0123;},'sRccH':_0x39cda8(0x1e9),'KeTir':_0x39cda8(0x255),'HUdTq':_0x39cda8(0x203),'KAsRY':_0x39cda8(0x24f)};if(!_0x3341d8||!_0x3341d8[_0x39cda8(0x193)])return;[_0x323773[_0x39cda8(0x1f9)],_0x323773[_0x39cda8(0x25e)],_0x323773[_0x39cda8(0x21c)],_0x323773['sRccH']][_0x39cda8(0x198)](_0xcc2eb3=>{const _0x579e74=_0x39cda8,_0x1a6611={'wzRMg':_0x323773['qWUxr'],'Jljai':function(_0x3099f3){const _0xd29ff8=a4_0x3278;return _0x323773[_0xd29ff8(0x250)](_0x3099f3);},'rfijT':function(_0x5dd6de,_0x251b16){return _0x323773['bYudv'](_0x5dd6de,_0x251b16);},'uWckA':_0x323773[_0x579e74(0x21b)]},_0x3d4349=_0x3341d8[_0x579e74(0x193)][_0xcc2eb3]||[];_0x3d4349['forEach'](_0x412d9e=>{const _0x2273de=_0x579e74;if(_0x412d9e['title'][_0x2273de(0x1d7)](_0x1a6611[_0x2273de(0x23a)]))return;if(!_0x412d9e['hookAnalyticsId'])_0x412d9e[_0x2273de(0x196)]=_0x1a6611['Jljai'](uuidv4);else _0x412d9e[_0x2273de(0x236)]&&_0x1a6611[_0x2273de(0x1e6)](_0xcc2eb3,_0x1a6611['uWckA'])&&(_0x412d9e[_0x2273de(0x196)]=_0x1a6611[_0x2273de(0x1b8)](uuidv4),delete _0x412d9e['markedStatus']);});}),this[_0x39cda8(0x259)](_0x3341d8[_0x39cda8(0x193)]);}[a4_0x27863a(0x1bc)](_0x2279cd){const _0x159f37=a4_0x27863a,_0x357180={};_0x357180['lIpyX']=_0x159f37(0x255),_0x357180[_0x159f37(0x231)]=_0x159f37(0x203),_0x357180[_0x159f37(0x1ea)]=_0x159f37(0x24f),_0x357180[_0x159f37(0x1da)]=_0x159f37(0x1e9);const _0x2500b6=_0x357180;if(!_0x2279cd||!_0x2279cd[_0x159f37(0x193)])return[];const _0x20b4da=[];return[_0x2500b6[_0x159f37(0x1e5)],_0x2500b6[_0x159f37(0x231)],_0x2500b6[_0x159f37(0x1ea)],_0x2500b6[_0x159f37(0x1da)]][_0x159f37(0x198)](_0x47adb7=>{const _0x3d6fd4=_0x159f37,_0x437177=_0x2279cd[_0x3d6fd4(0x193)][_0x47adb7]||[];_0x437177[_0x3d6fd4(0x198)](_0x372829=>{const _0x3a8e89=_0x3d6fd4;_0x372829[_0x3a8e89(0x196)]&&_0x20b4da[_0x3a8e89(0x247)](_0x372829[_0x3a8e89(0x196)]);});}),[][_0x159f37(0x17d)](_0x20b4da,this['getHooksForTest'](_0x2279cd[_0x159f37(0x193)]));}[a4_0x27863a(0x227)](_0x376538){const _0x11a412=a4_0x27863a,_0x459c56=/^"(?<hook>.*)" hook:.*$/,_0x4ead08=_0x376538[_0x11a412(0x1e8)],_0x35859a=_0x4ead08[_0x11a412(0x239)](_0x459c56);if(_0x35859a&&_0x35859a['groups'])return _0x35859a[_0x11a412(0x1ab)][_0x11a412(0x1f0)]['toUpperCase']()['replace']('\x20','_');return null;}[a4_0x27863a(0x18e)](_0x47d53a){const _0x422da0=a4_0x27863a,_0x49a81e={};_0x49a81e[_0x422da0(0x24c)]=function(_0x5ae8e1,_0x47ad67){return _0x5ae8e1===_0x47ad67;},_0x49a81e[_0x422da0(0x181)]=_0x422da0(0x1d3),_0x49a81e['Oaumc']='config';const _0x3386e5=_0x49a81e,_0x1ef466=path[_0x422da0(0x182)];if(_0x3386e5[_0x422da0(0x24c)](_0x47d53a,null)||_0x3386e5[_0x422da0(0x24c)](_0x47d53a,'')||_0x3386e5[_0x422da0(0x24c)](_0x47d53a,_0x1ef466)||_0x3386e5[_0x422da0(0x24c)](_0x47d53a,path['dirname'](_0x47d53a)))return null;try{return fs[_0x422da0(0x1c2)](path['join'](_0x47d53a,_0x3386e5[_0x422da0(0x181)],_0x3386e5[_0x422da0(0x251)])),_0x47d53a;}catch(_0x3c581c){const _0x3216d0=path[_0x422da0(0x1f4)](_0x47d53a);return this[_0x422da0(0x18e)](_0x3216d0);}}[a4_0x27863a(0x25c)](_0x21641a){const _0x115d32=a4_0x27863a,_0x3f75a5={};_0x3f75a5[_0x115d32(0x21d)]=function(_0x126b96,_0x281991){return _0x126b96>_0x281991;};const _0x20da3f=_0x3f75a5;if(_0x21641a[_0x115d32(0x254)])return _0x21641a[_0x115d32(0x254)];if(_0x21641a['ctx']){const _0x5ee605=_0x21641a[_0x115d32(0x230)][_0x115d32(0x205)]?this[_0x115d32(0x25c)](_0x21641a['ctx'][_0x115d32(0x205)]):null;if(_0x5ee605)return _0x5ee605;}if(_0x21641a[_0x115d32(0x193)]){const _0x31d742=this['getRootParentFile'](_0x21641a[_0x115d32(0x193)])||(_0x21641a[_0x115d32(0x193)]['ctx']&&_0x21641a[_0x115d32(0x193)]['ctx'][_0x115d32(0x205)]?this[_0x115d32(0x25c)](_0x21641a[_0x115d32(0x193)][_0x115d32(0x230)][_0x115d32(0x205)]):null);if(_0x31d742)return _0x31d742;_0x21641a[_0x115d32(0x193)][_0x115d32(0x210)]&&_0x20da3f[_0x115d32(0x21d)](_0x21641a[_0x115d32(0x193)][_0x115d32(0x210)][_0x115d32(0x1cf)],0x0)&&_0x21641a['parent'][_0x115d32(0x210)][_0x115d32(0x198)](_0x170fb4=>{const _0x4b7fca=_0x115d32,_0x4ddb11=_0x170fb4[_0x4b7fca(0x230)]?this[_0x4b7fca(0x25c)](_0x170fb4[_0x4b7fca(0x230)]):null;if(_0x4ddb11)return _0x4ddb11;});}return null;}['getHierarchy'](_0x6cc630){const _0x4f9498=a4_0x27863a,_0x27e275={};_0x27e275[_0x4f9498(0x18b)]=function(_0x46fa09,_0x3a466){return _0x46fa09!==_0x3a466;};const _0x30b8f3=_0x27e275,_0x551b9f=[];if(_0x6cc630&&_0x6cc630[_0x4f9498(0x193)]){let _0x5c91ca=_0x6cc630[_0x4f9498(0x193)];while(_0x5c91ca&&_0x30b8f3[_0x4f9498(0x18b)](_0x5c91ca['title'],'')){_0x551b9f[_0x4f9498(0x247)](_0x5c91ca[_0x4f9498(0x1e8)]),_0x5c91ca=_0x5c91ca[_0x4f9498(0x193)];}}return _0x551b9f;}[a4_0x27863a(0x1df)](_0x38a904,_0x1adc49,_0x430817=undefined){const _0x2347b3=a4_0x27863a,_0x18bf27={'PVYbD':function(_0x49b10e,_0x4a7969){return _0x49b10e(_0x4a7969);},'YjAFj':function(_0x533af3){return _0x533af3();},'AkObo':function(_0x5567dc){return _0x5567dc();},'iNODZ':function(_0x5dba45){return _0x5dba45();},'hWtNs':_0x2347b3(0x1e4),'zdglv':_0x2347b3(0x191),'YAvHF':function(_0x3414ec,_0x5e3518){return _0x3414ec!==_0x5e3518;},'EytOH':function(_0x3aefa6,_0x8841d6){return _0x3aefa6!==_0x8841d6;},'BgenJ':_0x2347b3(0x1d1),'kleWL':'pending','MxoJi':_0x2347b3(0x1e1),'WlHxK':_0x2347b3(0x261),'JXDvh':_0x2347b3(0x17e),'ZblWo':_0x2347b3(0x258),'APNrj':function(_0x2cabeb,_0x224a8d){return _0x2cabeb-_0x224a8d;},'zoWlw':function(_0x639ce3,_0x45a366,_0x5b9679,_0x1b70a2,_0x8bb15a){return _0x639ce3(_0x45a366,_0x5b9679,_0x1b70a2,_0x8bb15a);},'uCJwu':_0x2347b3(0x1eb),'sLDvL':'meta','oUJwB':_0x2347b3(0x1d8),'FAqTH':_0x2347b3(0x20a),'lumLF':_0x2347b3(0x1cd),'QQoRv':'failure_reason_expanded','VDEqv':_0x2347b3(0x189),'GNlur':function(_0x4c2116,_0x32ed89){return _0x4c2116===_0x32ed89;},'DFqjY':_0x2347b3(0x22b),'YEFQr':_0x2347b3(0x1ae)};if(!this[_0x2347b3(0x19a)])return;try{if(_0x1adc49['fn']&&_0x1adc49['fn'][_0x2347b3(0x23c)]()[_0x2347b3(0x239)](/browserstack internal helper hook/))return;const _0xf7df1f=_0x18bf27[_0x2347b3(0x22a)](parseEvent,_0x38a904);if(!_0xf7df1f)return;if(_0xf7df1f[_0x2347b3(0x237)]){this['currentTest']=_0x1adc49,this['currentHook']=null;if(_0xf7df1f[_0x2347b3(0x1de)]||_0xf7df1f[_0x2347b3(0x17e)]){_0x1adc49[_0x2347b3(0x1d0)]=new Date(),_0x1adc49[_0x2347b3(0x236)]=![];if(!_0x1adc49['testAnalyticsId'])_0x1adc49[_0x2347b3(0x211)]=_0x18bf27[_0x2347b3(0x1fb)](uuidv4);else _0x1adc49[_0x2347b3(0x236)]&&(!_0x1adc49[_0x2347b3(0x23e)]&&(_0x1adc49[_0x2347b3(0x23e)]=_0x1adc49[_0x2347b3(0x211)]),_0x1adc49[_0x2347b3(0x211)]=_0x18bf27[_0x2347b3(0x1fb)](uuidv4));}}else{if(_0xf7df1f['hook']){this['currentHook']=_0x1adc49;if(_0xf7df1f['started']){_0x1adc49[_0x2347b3(0x1d0)]=new Date(),_0x1adc49[_0x2347b3(0x236)]=![];if(!_0x1adc49[_0x2347b3(0x196)])_0x1adc49[_0x2347b3(0x196)]=_0x18bf27[_0x2347b3(0x1db)](uuidv4);else _0x1adc49['hookAnalyticsId']&&_0x1adc49[_0x2347b3(0x236)]&&(_0x1adc49['hookAnalyticsId']=_0x18bf27[_0x2347b3(0x1be)](uuidv4));}}}if(_0xf7df1f[_0x2347b3(0x248)]&&_0x1adc49['markedStatus'])return;let _0x3f04b0;try{_0x3f04b0=this[_0x2347b3(0x25c)](_0x1adc49);}catch(_0x1d7c3a){logger[_0x2347b3(0x25f)](_0x2347b3(0x1c1)+_0x1d7c3a),_0x3f04b0=null;}const _0x46bad8=_0x18bf27[_0x2347b3(0x22a)](require,_0x18bf27[_0x2347b3(0x24a)]);let _0x1388f0=[];_0x430817&&(_0x1388f0=[_0x430817,_0x18bf27[_0x2347b3(0x257)]]);const _0xc18181=_0x18bf27[_0x2347b3(0x1dc)](_0x1adc49[_0x2347b3(0x17b)],undefined)?_0x46bad8[_0x2347b3(0x19f)](_0x1adc49['errorsDetailed'][0x0]):_0x18bf27[_0x2347b3(0x215)](_0x430817,undefined)?_0x430817[_0x2347b3(0x23c)]():undefined,_0x4fc0b9=_0x3f04b0?this[_0x2347b3(0x18e)](_0x3f04b0):null,_0xe5926e=_0x3f04b0?this[_0x2347b3(0x229)][_0x2347b3(0x1bb)](this[_0x2347b3(0x25c)](_0x1adc49)):_0x18bf27[_0x2347b3(0x1f1)];let _0x41e193=_0x18bf27['kleWL'];const _0x477d32=!_0xf7df1f[_0x2347b3(0x1de)]?new Date()[_0x2347b3(0x25b)]():null;if(_0xf7df1f[_0x2347b3(0x248)])_0x41e193=_0x430817?_0x18bf27[_0x2347b3(0x192)]:_0x18bf27[_0x2347b3(0x1d5)],_0x1adc49[_0x2347b3(0x236)]=!![];else _0xf7df1f['skipped']&&(_0x41e193=_0x18bf27[_0x2347b3(0x249)],_0x1adc49[_0x2347b3(0x236)]=!![]);const _0x3cc2f7={'framework':this['frameworkName'],'uuid':_0x1adc49['testAnalyticsId']||_0x1adc49[_0x2347b3(0x196)],'name':_0x1adc49[_0x2347b3(0x1e8)],'body':{'lang':_0x18bf27[_0x2347b3(0x245)],'code':_0x1adc49[_0x2347b3(0x20e)][_0x2347b3(0x23c)]()},'type':_0x1adc49['type'],'scope':_0x1adc49[_0x2347b3(0x214)](),'scopes':this[_0x2347b3(0x208)](_0x1adc49),'file_name':_0xe5926e,'vc_filepath':_0x4fc0b9?path[_0x2347b3(0x19b)](_0x4fc0b9,_0x3f04b0):null,'location':_0xe5926e,'result':_0x41e193,'failure_reason':_0xc18181,'duration_in_ms':_0x1adc49[_0x2347b3(0x1ee)]||(_0xf7df1f[_0x2347b3(0x248)]||_0xf7df1f[_0x2347b3(0x17e)])?_0x18bf27[_0x2347b3(0x1d4)](Date[_0x2347b3(0x228)](),new Date(_0x1adc49['startedAt'])['getTime']()):null,'started_at':new Date(_0x1adc49[_0x2347b3(0x1d0)])[_0x2347b3(0x25b)](),'finished_at':_0x477d32,'failure':testOpsHelper[_0x2347b3(0x20d)]['apply'](null,_0x1388f0),'failure_type':!_0xc18181?null:testOpsHelper[_0x2347b3(0x1e3)](_0xc18181),'retry_of':_0x1adc49['retryOf']||null,'tags':_0x1adc49['tags']||[],'customRerunParam':{'rerun_name':_0x1adc49['fullTitle']()}};_0x18bf27['zoWlw'](appendTesthubParams,_0x3cc2f7,_0x38a904,_0x1adc49,FRAMEWORKS[_0x2347b3(0x1a9)]);if(_0xf7df1f[_0x2347b3(0x1f0)])[_0x3cc2f7['hook_type'],_0x3cc2f7[_0x2347b3(0x220)]]=[this[_0x2347b3(0x227)](_0x1adc49),_0x1adc49[_0x2347b3(0x230)]['test'][_0x2347b3(0x1e8)]],_0xf7df1f[_0x2347b3(0x248)]?_0x18bf27['EytOH'](_0x3cc2f7[_0x2347b3(0x1b0)],_0x18bf27[_0x2347b3(0x192)])&&(_0x3cc2f7['result']=_0x18bf27[_0x2347b3(0x1d5)]):_0x3cc2f7[_0x2347b3(0x20e)]={};else _0xf7df1f['test']&&(this['mapTestHooks'](_0x1adc49),_0xf7df1f['skipped']&&this[_0x2347b3(0x17c)](_0x1adc49),(_0xf7df1f['finished']||_0xf7df1f['skipped'])&&(_0x3cc2f7[_0x2347b3(0x204)]=this[_0x2347b3(0x1bc)](_0x1adc49)));this[_0x2347b3(0x1ad)]&&(_0xf7df1f[_0x2347b3(0x1de)]||_0xf7df1f[_0x2347b3(0x17e)])&&(_0x3cc2f7[_0x18bf27[_0x2347b3(0x232)]]=this[_0x2347b3(0x1c7)](this[_0x2347b3(0x1ad)]));_0xf7df1f['test']&&_0xf7df1f[_0x2347b3(0x248)]&&_0x1adc49[_0x2347b3(0x238)]&&(_0x3cc2f7[_0x18bf27[_0x2347b3(0x25d)]]={'feature':{'name':_0x1adc49[_0x2347b3(0x193)]['feature'][_0x2347b3(0x220)],'path':_0x3cc2f7[_0x2347b3(0x17a)],'description':_0x1adc49[_0x2347b3(0x193)]['comment']},'scenario':{'name':_0x1adc49[_0x2347b3(0x1e8)]},'steps':_0x1adc49[_0x2347b3(0x238)]});const _0x2b39d8=_0x3cc2f7[_0x18bf27['oUJwB']][0x0];_0x2b39d8&&(_0x3cc2f7[_0x18bf27[_0x2347b3(0x1c5)]]=_0x2b39d8[_0x18bf27[_0x2347b3(0x1fa)]],_0x3cc2f7[_0x18bf27['QQoRv']]=_0x2b39d8[_0x18bf27['VDEqv']]);if(_0x1adc49[_0x2347b3(0x238)])for(const _0x346759 of _0x1adc49[_0x2347b3(0x238)]){!_0x346759[_0x2347b3(0x240)]&&(_0x346759['finished_at']=new Date()[_0x2347b3(0x25b)](),_0x18bf27[_0x2347b3(0x22d)](_0x346759[_0x2347b3(0x1b0)],_0x18bf27['kleWL'])&&(_0x2b39d8?(_0x346759[_0x2347b3(0x1b0)]=_0x18bf27[_0x2347b3(0x192)],_0x346759[_0x2347b3(0x1d8)]=_0x2b39d8[_0x18bf27[_0x2347b3(0x1fa)]][0x0]):_0x346759[_0x2347b3(0x1b0)]=_0x18bf27[_0x2347b3(0x1d5)]));}const _0x59bc26={};_0x59bc26[_0x2347b3(0x1b3)]=_0xf7df1f['skipped']?TEST_EVENTS[_0x2347b3(0x1fc)]:_0x38a904;const _0x41acbf=_0x59bc26;return _0xf7df1f[_0x2347b3(0x1f0)]?_0x41acbf[_0x18bf27['DFqjY']]=_0x3cc2f7:_0x41acbf[_0x18bf27[_0x2347b3(0x1a0)]]=_0x3cc2f7,_0x41acbf;}catch(_0x3d5533){logger['debug']('Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'+_0x38a904+_0x2347b3(0x218)+_0x3d5533);}}async['fireEvent'](_0x3522c3,_0x5e2f8b){const _0x5746a2=a4_0x27863a;if(!this[_0x5746a2(0x19a)]||!_0x5e2f8b||!_0x3522c3)return![];try{return await SessionHandler[_0x5746a2(0x1ba)](_0x5e2f8b);}catch(_0x23b6c5){logger[_0x5746a2(0x25f)](_0x5746a2(0x1f7)+_0x3522c3+_0x5746a2(0x218)+_0x23b6c5);}}[a4_0x27863a(0x199)](_0xf06638){const _0x418df5=a4_0x27863a,_0x5440b4={};_0x5440b4['gEjhC']=_0x418df5(0x217);const _0x11f7fd=_0x5440b4;return{'id':_0xf06638[_0x418df5(0x207)],'text':_0xf06638[_0x418df5(0x241)],'keyword':_0xf06638[_0x418df5(0x1a8)],'started_at':_0xf06638['startedAt']['toISOString'](),'result':_0x11f7fd[_0x418df5(0x1f6)]};}['bddStepStart'](_0xee9f15){const _0x1b9b5e=a4_0x27863a,_0x1a1791={'WPQoO':function(_0x7d3e3a){return _0x7d3e3a();}};!this[_0x1b9b5e(0x205)]['bddSteps']&&(this[_0x1b9b5e(0x205)][_0x1b9b5e(0x238)]=[]),!_0xee9f15[_0x1b9b5e(0x207)]&&(_0xee9f15[_0x1b9b5e(0x207)]=_0x1a1791[_0x1b9b5e(0x184)](uuidv4),_0xee9f15[_0x1b9b5e(0x1d0)]=new Date(),this[_0x1b9b5e(0x205)][_0x1b9b5e(0x238)]['push'](this[_0x1b9b5e(0x199)](_0xee9f15)));}[a4_0x27863a(0x20c)](_0x2f52e3){const _0x32790e=a4_0x27863a,_0x38cb06={'AenUj':function(_0x4c9a77,_0x4aae1a){return _0x4c9a77(_0x4aae1a);},'ZMhZS':_0x32790e(0x212),'kwXDX':_0x32790e(0x217),'uTnkB':_0x32790e(0x261),'mDHRf':function(_0x3d6482,_0xd42ca0){return _0x3d6482-_0xd42ca0;}};let _0x259ae6=this[_0x32790e(0x205)][_0x32790e(0x238)]['find'](_0x5cffcd=>_0x5cffcd['id']===_0x2f52e3[_0x32790e(0x207)]);_0x38cb06[_0x32790e(0x180)](isUndefined,_0x259ae6)&&(_0x259ae6=this[_0x32790e(0x199)](_0x2f52e3)),_0x259ae6[_0x32790e(0x1b0)]=[_0x38cb06[_0x32790e(0x226)],_0x38cb06[_0x32790e(0x222)]][_0x32790e(0x1d7)](_0x2f52e3['status'])?_0x38cb06[_0x32790e(0x185)]:_0x2f52e3['status'],_0x259ae6[_0x32790e(0x240)]=new Date()[_0x32790e(0x25b)](),_0x259ae6[_0x32790e(0x1ee)]=_0x38cb06[_0x32790e(0x246)](Date['now'](),_0x2f52e3[_0x32790e(0x1d0)]['getTime']()),_0x259ae6['failure']=_0x2f52e3[_0x32790e(0x191)]?_0x2f52e3[_0x32790e(0x191)][_0x32790e(0x1a3)]:null;}}const a4_0x495aba={};a4_0x495aba['O11yHelper']=O11yHelper,a4_0x495aba['STATE_PASSED']=STATE_PASSED,a4_0x495aba[a4_0x27863a(0x1f2)]=STATE_FAILED,a4_0x495aba[a4_0x27863a(0x179)]=TEST_EVENTS,module[a4_0x27863a(0x186)]=a4_0x495aba;
1
+ const a4_0x908b35=a4_0x78b9;(function(_0x4ff8c7,_0x41b7c2){const _0x2a3ecf=a4_0x78b9,_0x48d070=_0x4ff8c7();while(!![]){try{const _0x5cabda=-parseInt(_0x2a3ecf(0x1d5))/0x1+-parseInt(_0x2a3ecf(0x186))/0x2+parseInt(_0x2a3ecf(0x1f3))/0x3*(parseInt(_0x2a3ecf(0x1ac))/0x4)+-parseInt(_0x2a3ecf(0x165))/0x5+parseInt(_0x2a3ecf(0x1fe))/0x6*(parseInt(_0x2a3ecf(0x202))/0x7)+parseInt(_0x2a3ecf(0x1ee))/0x8*(-parseInt(_0x2a3ecf(0x15a))/0x9)+parseInt(_0x2a3ecf(0x17c))/0xa*(parseInt(_0x2a3ecf(0x1eb))/0xb);if(_0x5cabda===_0x41b7c2)break;else _0x48d070['push'](_0x48d070['shift']());}catch(_0x42b1a3){_0x48d070['push'](_0x48d070['shift']());}}}(a4_0x2a91,0xd6856));function a4_0x78b9(_0x2b9eb1,_0x1d3c18){const _0x2a91b5=a4_0x2a91();return a4_0x78b9=function(_0x78b9e9,_0x5d3386){_0x78b9e9=_0x78b9e9-0x117;let _0x422619=_0x2a91b5[_0x78b9e9];return _0x422619;},a4_0x78b9(_0x2b9eb1,_0x1d3c18);}const path=require(a4_0x908b35(0x196)),fs=require('fs'),{v4:uuidv4}=require(a4_0x908b35(0x1fd)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require('../../helpers/helper'),testOpsHelper=require(a4_0x908b35(0x16a)),{getTestEnv}=require('../mocha/test-observability/mochaUtils'),{FRAMEWORKS}=require(a4_0x908b35(0x15f)),logger=require(a4_0x908b35(0x12e))[a4_0x908b35(0x1a6)],SessionHandler=require(a4_0x908b35(0x1bc)),RequestQueueHandler=require(a4_0x908b35(0x1dc)),PlaywrightSessionDetails=require(a4_0x908b35(0x1f8)),debug=testOpsHelper[a4_0x908b35(0x18e)],{processAccessibilityCaps}=require('../playwright/accessibility-helper'),Constants=require(a4_0x908b35(0x1df)),{fetchPlatformDetails}=require(a4_0x908b35(0x172)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x908b35(0x1c7)),constants=require('../utils/constants'),STATE_PASSED=a4_0x908b35(0x1c4),STATE_FAILED='failed',a4_0x55240a={};a4_0x55240a[a4_0x908b35(0x1f0)]=a4_0x908b35(0x1dd),a4_0x55240a['TEST_RUN_FINISHED']='TestRunFinished',a4_0x55240a['TEST_RUN_SKIPPED']='TestRunSkipped',a4_0x55240a[a4_0x908b35(0x167)]=a4_0x908b35(0x139),a4_0x55240a[a4_0x908b35(0x121)]=a4_0x908b35(0x14f);const TEST_EVENTS=a4_0x55240a,parseEvent=_0x2b1f13=>{const _0x499593=a4_0x908b35,_0x2a05bf={};_0x2a05bf['YrjfL']=function(_0x16db3e,_0x1149c2){return _0x16db3e<_0x1149c2;},_0x2a05bf[_0x499593(0x1f7)]=function(_0x5355d2,_0x300410){return _0x5355d2===_0x300410;},_0x2a05bf['mmGFs']='test',_0x2a05bf[_0x499593(0x1b5)]=_0x499593(0x1cd),_0x2a05bf[_0x499593(0x145)]=function(_0x836031,_0xc3c90a){return _0x836031===_0xc3c90a;},_0x2a05bf[_0x499593(0x140)]=_0x499593(0x205),_0x2a05bf[_0x499593(0x182)]=function(_0x1f8507,_0xb52cb){return _0x1f8507===_0xb52cb;},_0x2a05bf[_0x499593(0x174)]='started',_0x2a05bf[_0x499593(0x122)]=_0x499593(0x170);const _0x4cdcd5=_0x2a05bf,_0x1f9805=_0x2b1f13[_0x499593(0x1aa)](/^(.*)Run(.*)$/);if(!_0x1f9805)return null;if(_0x4cdcd5[_0x499593(0x118)](_0x1f9805[_0x499593(0x13c)],0x3))return null;const _0x51926a=_0x1f9805[0x1][_0x499593(0x17d)](),_0x327aa7=_0x1f9805[0x2][_0x499593(0x17d)]();return{'test':_0x4cdcd5['JAuJz'](_0x51926a,_0x4cdcd5[_0x499593(0x1ff)]),'hook':_0x4cdcd5[_0x499593(0x1f7)](_0x51926a,_0x4cdcd5['bConz']),'skipped':_0x4cdcd5['rkPVi'](_0x327aa7,_0x4cdcd5[_0x499593(0x140)]),'started':_0x4cdcd5[_0x499593(0x182)](_0x327aa7,_0x4cdcd5[_0x499593(0x174)]),'finished':_0x4cdcd5[_0x499593(0x1f7)](_0x327aa7,_0x4cdcd5['ESnox'])};},mockPWBrowserType=_0x380810=>{const _0x4097e3=a4_0x908b35,_0x36397c={'mefEm':function(_0x1daefc,_0x4fb33b,_0x3e5346){return _0x1daefc(_0x4fb33b,_0x3e5346);},'ykSeX':_0x4097e3(0x1f1),'tGqOG':function(_0x546c6a,_0x4730cc){return _0x546c6a(_0x4730cc);},'aGhzt':_0x4097e3(0x132),'donUQ':function(_0x54c5c5,_0x327cab){return _0x54c5c5===_0x327cab;},'ragqw':'string','afAev':_0x4097e3(0x1a0),'oEpeZ':_0x4097e3(0x20a),'bElDZ':_0x4097e3(0x207),'YJXLH':function(_0x13832b,_0x1e6761){return _0x13832b(_0x1e6761);},'xSkzZ':_0x4097e3(0x11c),'RBoUZ':_0x4097e3(0x1ba),'tvPiW':_0x4097e3(0x11a)},_0x245562=path[_0x4097e3(0x1ea)](_0x36397c['afAev'],_0x36397c[_0x4097e3(0x124)],_0x36397c[_0x4097e3(0x1c9)]),_0x2ae20d=_0x36397c[_0x4097e3(0x150)](importFileFromPWCore,_0x245562);if(!_0x2ae20d){_0x36397c[_0x4097e3(0x14d)](debug,_0x36397c['xSkzZ']);return;}const _0x13b5cc=_0x2ae20d[_0x4097e3(0x1af)],_0x39b3d6=_0x13b5cc[_0x4097e3(0x190)];if(_0x39b3d6[_0x4097e3(0x16c)])return;const _0xe2fd6f=_0x39b3d6[_0x4097e3(0x1ba)];Object[_0x4097e3(0x136)](_0x39b3d6,_0x36397c[_0x4097e3(0x117)],{'get':function(){const _0x2a204c={'WnWSU':function(_0x1e07af,_0x26ace7){return _0x36397c['donUQ'](_0x1e07af,_0x26ace7);},'gMVZR':_0x36397c['ragqw']};return async function _0x5bed9f(_0x447c85,_0x3423fb){const _0x391faa=a4_0x78b9,_0x5a3838=_0x36397c['mefEm'](nestedKeyValue,_0x447c85,[_0x36397c[_0x391faa(0x19d)]])||_0x447c85;let _0x2de919=null,_0x42f9f8=null;try{[_0x42f9f8,_0x2de919]=_0x5a3838?_0x36397c['tGqOG'](parseWSEndpoint,_0x5a3838):[null,null],global[_0x391faa(0x1f5)]=_0x2de919,logger['debug'](_0x391faa(0x15e)+_0x42f9f8),_0x42f9f8[_0x391faa(0x1e6)](Constants[_0x391faa(0x19a)])&&(global['__cloud_provider___']=_0x36397c[_0x391faa(0x161)]);}catch(_0x3c1d2e){logger[_0x391faa(0x18e)](_0x391faa(0x187)+_0x5a3838+'\x20'+_0x3c1d2e);}_0x36397c[_0x391faa(0x1cc)](processAccessibilityCaps,_0x2de919,_0x42f9f8);if(global['accessibilityPlatform']){const _0x3dab50=await _0x39b3d6[_0x391faa(0x12b)]['apply'](this,[''+Constants[_0x391faa(0x1da)]+_0x36397c[_0x391faa(0x150)](encodeURIComponent,JSON[_0x391faa(0x211)](_0x2de919))]);return PlaywrightSessionDetails[_0x391faa(0x1c3)](_0x3dab50,_0x380810,_0x5a3838),_0x3dab50;}return _0xe2fd6f[_0x391faa(0x154)](this,arguments)[_0x391faa(0x1e7)](_0x38a680=>{const _0x3fb06b=_0x391faa;let _0x11526f=_0x447c85[_0x3fb06b(0x1f1)];return _0x2a204c[_0x3fb06b(0x1ca)](typeof _0x447c85,_0x2a204c[_0x3fb06b(0x1d7)])&&(_0x11526f=_0x447c85),PlaywrightSessionDetails[_0x3fb06b(0x1c3)](_0x38a680,_0x380810,_0x11526f),_0x38a680;});};}});const _0x58c11e=_0x39b3d6[_0x4097e3(0x11a)];Object[_0x4097e3(0x136)](_0x39b3d6,_0x36397c[_0x4097e3(0x1ab)],{'get':function(){return async function _0x45877d(){const _0x2e7fa9=a4_0x78b9;return _0x58c11e[_0x2e7fa9(0x154)](this,arguments)[_0x2e7fa9(0x1e7)](_0x3067de=>{const _0x45322e=_0x2e7fa9;return PlaywrightSessionDetails[_0x45322e(0x1c3)](_0x3067de,null),_0x3067de;});};}});};function a4_0x2a91(){const _0x47e65f=['location_prefix','find','HookRunStarted','SISqH','CBTSessionCreated','length','gsQMZ','patchConsoleLogger','JzBCV','knnTb','retryOf','hook_type','comment','now','rkPVi','unGDp','.git','File\x20path\x20could\x20not\x20be\x20found','kMKHS','stepAnalyticsId','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','hookAnalyticsId','YJXLH','Qnsqa','HookRunFinished','tGqOG','IjjxJ','_beforeEach','status','apply','sendCBTInfo','errorsDetailed','push','captureEvent','STATE_FAILED','1087281JnnkJM','xwcmz','MxZOQ','yebPd','Checking\x20for\x20accessibility\x20automation\x20session\x20with\x20','../../helpers/test-observability/constants','pAant','aGhzt','Exception\x20in\x20uploading\x20log\x20data\x20to\x20','dOVOO','integrations','922670Hsigrr','inspect','HOOK_RUN_STARTED','TEST_EVENTS','mZypE','../../helpers/test-observability/utils','body','obsBrowserTypeMockApplied','O11yHelper','getRootParentFile','_testEnv','finished','result','./helper.js','stop','JMVsT','oNEDn','currentHook','fullTitle','success','name','toUpperCase','hooks','30phBvrP','toLowerCase','enabled','started','shutdown','dCylt','rdaJH','mapTestHooks','suites','err','2579102rYnhiR','Failed\x20to\x20parse\x20wsendpoint\x20','OERxN','YdAsB','vOpMT','title','GilJW','appendTestItemLog','debug','hook_run','prototype','opSnq','driver','IPPoR','event_type','toString','path','failed\x20to\x20get\x20root\x20parent\x20file\x20','ctx','getCBTInfo','BROWSERSTACK','LgbrE','sep','ykSeX','cwd','test_run','lib','eEMWF','pnjPt','kMCEV','dsgPS','mBufI','winstonLogger','eNrmp','findGitConfig','constructor','match','tvPiW','205144lMaYWt','fireEvent','bddStepStart','BrowserType','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','forEach','markedStatus','javascript','pending','bConz','split','startedAt','cAfFO','keyword','connect','test','../../helpers/test-observability/sessionHandler','osljQ','GgZLw','wpRFg','exports','cLtSm','failed','setupBrowserDetails','passed','message','hook_run_uuid','../../helpers/testhub/utils.js','config','bElDZ','WnWSU','logs','mefEm','hook','currentTest','okEpH','rlXjS','frameworkName','bs:addLog:','uploadEventData','failure_reason_expanded','1651700gaHkxz','bddSteps','gMVZR','dirname','toISOString','PLAYWRIGHT_HUB_URL','finished_at','../../helpers/test-observability/requestQueueHandler','TestRunStarted','vhPaE','../utils/constants','VUKSH','removeAllListeners','STATE_PASSED','WjSJK','failure','LogCreated','includes','then','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20','BqJyl','join','11416042StTIQK','PathHelper','_afterAll','104HJAwWX','util','TEST_RUN_STARTED','wsEndpoint','XihsM','78QTnkIJ','duration','__platformCaps','test_run_uuid','JAuJz','../playwright/sessionDetails','ZTbif','Playwright','ZfoQg','rpqLO','uuid','54EAWINU','mmGFs','NdJxA','meta','877394LfutRh','\x20with\x20error\x20:\x20','expanded','skipped','getTime','browserType.js','file_name','getHooksForTest','client','FIhAG','getHookType','nrmGg','bABnG','testAnalyticsId','groups','stringify','sLRFw','RBoUZ','YrjfL','mHvdh','launch','getInstance','Not\x20able\x20to\x20import\x20Browser','yYKeR','pid','failure_backtrace','_afterEach','HOOK_RUN_FINISHED','ESnox','feature','oEpeZ','file','initializeBddStep','getFailureType','qeQAi','TjzHR','resetSkipTestHooks','connectOverCDP','ijnhv','_beforeAll','../../helpers/logger','rmHDC','ugKBv','parent','browserstack','nhmnP','prefixTestPath','_paths','defineProperty'];a4_0x2a91=function(){return _0x47e65f;};return a4_0x2a91();}class O11yHelper{[a4_0x908b35(0x1ce)]=null;[a4_0x908b35(0x176)]=null;['enabled']=![];['frameworkName']=![];constructor(_0x1852f1,_0x151014){const _0x3a7a3d=a4_0x908b35,_0xd7e26={'heyCa':'1|0|4|2|5|3','rpqLO':function(_0x3b04ba){return _0x3b04ba();},'LFtMC':function(_0x325651){return _0x325651();},'dOVOO':function(_0xd9435,_0x27272a){return _0xd9435===_0x27272a;},'IjjxJ':_0x3a7a3d(0x1fa),'HkLOh':function(_0x122882,_0x27bcfe){return _0x122882(_0x27bcfe);}},_0x117916=_0xd7e26['heyCa'][_0x3a7a3d(0x1b6)]('|');let _0x4b9c46=0x0;while(!![]){switch(_0x117916[_0x4b9c46++]){case'0':this[_0x3a7a3d(0x1d1)]=_0x151014['frameworkName'];continue;case'1':this['enabled']=_0xd7e26[_0x3a7a3d(0x1fc)](shouldProcessEventForTesthub);continue;case'2':this['_testEnv']=_0xd7e26['LFtMC'](getTestEnv);continue;case'3':this[_0x3a7a3d(0x192)]&&_0xd7e26[_0x3a7a3d(0x163)](this[_0x3a7a3d(0x192)][_0x3a7a3d(0x1a9)]['name'],_0xd7e26[_0x3a7a3d(0x151)])&&_0xd7e26['HkLOh'](mockPWBrowserType,null);continue;case'4':this['driver']=_0x1852f1;continue;case'5':this[_0x3a7a3d(0x135)]=new testOpsHelper[(_0x3a7a3d(0x1ec))]({'cwd':process[_0x3a7a3d(0x19e)]()},this[_0x3a7a3d(0x16f)][_0x3a7a3d(0x137)]);continue;}break;}}['start'](){const _0x2aee51=a4_0x908b35;if(!this[_0x2aee51(0x17e)])return;testOpsHelper[_0x2aee51(0x13e)](),process[_0x2aee51(0x1e1)](_0x2aee51(0x1d2)+process[_0x2aee51(0x11e)]),process['on'](_0x2aee51(0x1d2)+process['pid'],this[_0x2aee51(0x18d)]['bind'](this));}async[a4_0x908b35(0x173)](){const _0x2ed8ac=a4_0x908b35;await RequestQueueHandler[_0x2ed8ac(0x11b)]()[_0x2ed8ac(0x180)]();}async[a4_0x908b35(0x18d)](_0x5acc22){const _0x1bfbcc=a4_0x908b35,_0x5c2c3e={'GLsVk':_0x1bfbcc(0x1e5),'ugKBv':function(_0x4cc8c4,_0x12195e){return _0x4cc8c4(_0x12195e);}};try{this[_0x1bfbcc(0x176)]&&!this['currentHook'][_0x1bfbcc(0x1b2)]&&(_0x5acc22['hook_run_uuid']=this[_0x1bfbcc(0x176)]['hookAnalyticsId']);!_0x5acc22[_0x1bfbcc(0x1c6)]&&this[_0x1bfbcc(0x1ce)]&&!this['currentTest'][_0x1bfbcc(0x1b2)]&&(_0x5acc22['test_run_uuid']=this[_0x1bfbcc(0x1ce)][_0x1bfbcc(0x20f)]);if(_0x5acc22[_0x1bfbcc(0x1c6)]||_0x5acc22[_0x1bfbcc(0x1f6)]){const _0x11877e={};_0x11877e[_0x1bfbcc(0x194)]=_0x5c2c3e['GLsVk'],_0x11877e[_0x1bfbcc(0x1cb)]=[_0x5acc22],await SessionHandler[_0x1bfbcc(0x1d3)](_0x11877e);}}catch(_0x10cf57){_0x5c2c3e[_0x1bfbcc(0x130)](debug,_0x1bfbcc(0x162)+constants['TEST_REPORTING_ANALYTICS']+'\x20with\x20error\x20:\x20'+_0x10cf57);}}async[a4_0x908b35(0x155)](_0xc32196){const _0x2b3371=a4_0x908b35,_0x52e5d9={'mBufI':_0x2b3371(0x13b),'mZypE':function(_0x3b3095,_0x4956e8){return _0x3b3095(_0x4956e8);}};if(!this[_0x2b3371(0x17e)])return;const _0x2656cb=this[_0x2b3371(0x199)](this[_0x2b3371(0x192)]);try{const _0x1758ec={};_0x1758ec['uuid']=_0xc32196,_0x1758ec[_0x2b3371(0x164)]=_0x2656cb;const _0x5f3456=_0x1758ec,_0x7d1d99={};_0x7d1d99['event_type']=_0x52e5d9[_0x2b3371(0x1a5)],_0x7d1d99['test_run']=_0x5f3456,await SessionHandler[_0x2b3371(0x1d3)](_0x7d1d99);}catch(_0x5d9c6a){_0x52e5d9[_0x2b3371(0x169)](debug,_0x2b3371(0x1e8)+constants['TEST_REPORTING_ANALYTICS']+_0x2b3371(0x203)+_0x5d9c6a);}}['getCBTInfo'](_0x9d2617){const _0x1d22c6=a4_0x908b35,_0x1d3f3c={'MxZOQ':function(_0x3d1ce1,_0x549e0a){return _0x3d1ce1(_0x549e0a);}};return _0x1d3f3c[_0x1d22c6(0x15c)](fetchPlatformDetails,_0x9d2617);}['resetSkipTestHooks']=_0x3caaee=>{const _0x12a230=a4_0x908b35,_0x52eb54={};_0x52eb54[_0x12a230(0x212)]=_0x12a230(0x152),_0x52eb54[_0x12a230(0x12c)]=_0x12a230(0x120);const _0x2c08b8=_0x52eb54;if(!_0x3caaee||!_0x3caaee['parent'])return;[_0x2c08b8[_0x12a230(0x212)],_0x2c08b8[_0x12a230(0x12c)]][_0x12a230(0x1b1)](_0x453a00=>{const _0x499de5=_0x12a230,_0xe6fc6b=_0x3caaee[_0x499de5(0x131)][_0x453a00];_0xe6fc6b['forEach'](_0x4175b3=>{const _0x547c00=_0x499de5;_0x4175b3['hookAnalyticsId']&&(_0x4175b3[_0x547c00(0x14c)]=null);});});};['mapTestHooks'](_0x5b296c){const _0x5b154c=a4_0x908b35,_0x57489c={'ZfoQg':'codeceptjs','BqJyl':function(_0xf63557){return _0xf63557();},'briLh':function(_0x4ddd2f,_0x3b7c39){return _0x4ddd2f===_0x3b7c39;},'pnjPt':_0x5b154c(0x120),'NdJxA':function(_0x3419c8){return _0x3419c8();},'bABnG':'_beforeAll','mHvdh':_0x5b154c(0x1ed),'GilJW':_0x5b154c(0x152)};if(!_0x5b296c||!_0x5b296c[_0x5b154c(0x131)])return;[_0x57489c[_0x5b154c(0x20e)],_0x57489c[_0x5b154c(0x119)],_0x57489c[_0x5b154c(0x18c)],_0x57489c[_0x5b154c(0x1a2)]]['forEach'](_0x19576d=>{const _0xed2a26=_0x5b154c,_0x36177e=_0x5b296c['parent'][_0x19576d]||[];_0x36177e[_0xed2a26(0x1b1)](_0x337852=>{const _0x491fd2=_0xed2a26;if(_0x337852[_0x491fd2(0x18b)][_0x491fd2(0x1e6)](_0x57489c[_0x491fd2(0x1fb)]))return;if(!_0x337852[_0x491fd2(0x14c)])_0x337852['hookAnalyticsId']=_0x57489c[_0x491fd2(0x1e9)](uuidv4);else _0x337852[_0x491fd2(0x1b2)]&&_0x57489c['briLh'](_0x19576d,_0x57489c[_0x491fd2(0x1a2)])&&(_0x337852[_0x491fd2(0x14c)]=_0x57489c[_0x491fd2(0x200)](uuidv4),delete _0x337852['markedStatus']);});}),this['mapTestHooks'](_0x5b296c[_0x5b154c(0x131)]);}['getHooksForTest'](_0x3d5850){const _0x18db40=a4_0x908b35,_0x20ee8b={};_0x20ee8b[_0x18db40(0x20d)]=_0x18db40(0x12d),_0x20ee8b[_0x18db40(0x129)]='_afterAll',_0x20ee8b[_0x18db40(0x1a4)]=_0x18db40(0x152),_0x20ee8b[_0x18db40(0x1bd)]='_afterEach';const _0x10e67d=_0x20ee8b;if(!_0x3d5850||!_0x3d5850['parent'])return[];const _0x3ad543=[];return[_0x10e67d[_0x18db40(0x20d)],_0x10e67d['TjzHR'],_0x10e67d[_0x18db40(0x1a4)],_0x10e67d[_0x18db40(0x1bd)]]['forEach'](_0x575b49=>{const _0x18ee28=_0x18db40,_0x5a3106=_0x3d5850[_0x18ee28(0x131)][_0x575b49]||[];_0x5a3106[_0x18ee28(0x1b1)](_0x24a236=>{const _0x381546=_0x18ee28;_0x24a236[_0x381546(0x14c)]&&_0x3ad543[_0x381546(0x157)](_0x24a236[_0x381546(0x14c)]);});}),[]['concat'](_0x3ad543,this[_0x18db40(0x209)](_0x3d5850[_0x18db40(0x131)]));}[a4_0x908b35(0x20c)](_0x2ccf94){const _0x56cf1a=a4_0x908b35,_0x27ec99=/^"(?<hook>.*)" hook:.*$/,_0x494071=_0x2ccf94['title'],_0x283ce8=_0x494071[_0x56cf1a(0x1aa)](_0x27ec99);if(_0x283ce8&&_0x283ce8[_0x56cf1a(0x210)])return _0x283ce8[_0x56cf1a(0x210)]['hook'][_0x56cf1a(0x17a)]()['replace']('\x20','_');return null;}[a4_0x908b35(0x1a8)](_0x211ef7){const _0x2c21f4=a4_0x908b35,_0x3d17e9={};_0x3d17e9['kMKHS']=function(_0x1d7b04,_0x2514c8){return _0x1d7b04===_0x2514c8;},_0x3d17e9['GgZLw']=function(_0x5da721,_0x250d71){return _0x5da721===_0x250d71;},_0x3d17e9['eEMWF']=_0x2c21f4(0x147),_0x3d17e9[_0x2c21f4(0x13d)]=_0x2c21f4(0x1c8);const _0x13d218=_0x3d17e9,_0x46deff=path[_0x2c21f4(0x19c)];if(_0x13d218[_0x2c21f4(0x149)](_0x211ef7,null)||_0x13d218[_0x2c21f4(0x1be)](_0x211ef7,'')||_0x13d218['kMKHS'](_0x211ef7,_0x46deff)||_0x13d218[_0x2c21f4(0x1be)](_0x211ef7,path[_0x2c21f4(0x1d8)](_0x211ef7)))return null;try{return fs['statSync'](path[_0x2c21f4(0x1ea)](_0x211ef7,_0x13d218[_0x2c21f4(0x1a1)],_0x13d218[_0x2c21f4(0x13d)])),_0x211ef7;}catch(_0x50c3cf){const _0x1ef7fa=path[_0x2c21f4(0x1d8)](_0x211ef7);return this[_0x2c21f4(0x1a8)](_0x1ef7fa);}}['getRootParentFile'](_0x2d6392){const _0x4fa324=a4_0x908b35,_0x451a0b={};_0x451a0b[_0x4fa324(0x1cf)]=function(_0x39960d,_0x568e80){return _0x39960d>_0x568e80;};const _0x41e455=_0x451a0b;if(_0x2d6392[_0x4fa324(0x125)])return _0x2d6392[_0x4fa324(0x125)];if(_0x2d6392[_0x4fa324(0x198)]){const _0x313e1c=_0x2d6392[_0x4fa324(0x198)][_0x4fa324(0x1ce)]?this[_0x4fa324(0x16e)](_0x2d6392[_0x4fa324(0x198)]['currentTest']):null;if(_0x313e1c)return _0x313e1c;}if(_0x2d6392['parent']){const _0x18235c=this[_0x4fa324(0x16e)](_0x2d6392['parent'])||(_0x2d6392[_0x4fa324(0x131)][_0x4fa324(0x198)]&&_0x2d6392[_0x4fa324(0x131)]['ctx']['currentTest']?this[_0x4fa324(0x16e)](_0x2d6392[_0x4fa324(0x131)][_0x4fa324(0x198)][_0x4fa324(0x1ce)]):null);if(_0x18235c)return _0x18235c;_0x2d6392[_0x4fa324(0x131)]['suites']&&_0x41e455['okEpH'](_0x2d6392[_0x4fa324(0x131)][_0x4fa324(0x184)][_0x4fa324(0x13c)],0x0)&&_0x2d6392[_0x4fa324(0x131)][_0x4fa324(0x184)][_0x4fa324(0x1b1)](_0x240fb5=>{const _0x423a78=_0x4fa324,_0x263c2d=_0x240fb5['ctx']?this['getRootParentFile'](_0x240fb5[_0x423a78(0x198)]):null;if(_0x263c2d)return _0x263c2d;});}return null;}['getHierarchy'](_0x1d19e4){const _0x5a9bb2=a4_0x908b35,_0x2a644e={};_0x2a644e[_0x5a9bb2(0x1f9)]=function(_0xb849a6,_0x40d89d){return _0xb849a6!==_0x40d89d;};const _0x2c742a=_0x2a644e,_0x2fd4ed=[];if(_0x1d19e4&&_0x1d19e4[_0x5a9bb2(0x131)]){let _0x194568=_0x1d19e4['parent'];while(_0x194568&&_0x2c742a[_0x5a9bb2(0x1f9)](_0x194568[_0x5a9bb2(0x18b)],'')){_0x2fd4ed[_0x5a9bb2(0x157)](_0x194568[_0x5a9bb2(0x18b)]),_0x194568=_0x194568[_0x5a9bb2(0x131)];}}return _0x2fd4ed;}[a4_0x908b35(0x158)](_0x3741c3,_0x1f6b0e,_0x320439=undefined){const _0x4dcb68=a4_0x908b35,_0x2f7615={'oNEDn':function(_0x5b4771,_0x15cf82){return _0x5b4771(_0x15cf82);},'YdAsB':function(_0x5cd4d4){return _0x5cd4d4();},'IPPoR':function(_0x8fcdb9){return _0x8fcdb9();},'dCylt':function(_0x3281ec,_0x4aac74){return _0x3281ec(_0x4aac74);},'rmHDC':_0x4dcb68(0x1ef),'kMCEV':_0x4dcb68(0x185),'opSnq':function(_0x12a8d3,_0x3c1177){return _0x12a8d3!==_0x3c1177;},'Qnsqa':function(_0x48981d,_0x302d4b){return _0x48981d!==_0x302d4b;},'eNrmp':_0x4dcb68(0x148),'FIhAG':'pending','vhPaE':_0x4dcb68(0x1c2),'JzBCV':_0x4dcb68(0x1c4),'wpRFg':_0x4dcb68(0x205),'ojCQR':_0x4dcb68(0x1b3),'cAfFO':function(_0x4e6c93,_0x51d4bf){return _0x4e6c93-_0x51d4bf;},'qeQAi':function(_0x4ea8ac,_0x13cdd4,_0xd8c82d,_0x17ff0e,_0x3f51af){return _0x4ea8ac(_0x13cdd4,_0xd8c82d,_0x17ff0e,_0x3f51af);},'unGDp':function(_0xda82e,_0x1b9bea){return _0xda82e!==_0x1b9bea;},'SISqH':_0x4dcb68(0x164),'cLtSm':_0x4dcb68(0x201),'VUKSH':'failure','auyFZ':_0x4dcb68(0x11f),'nhmnP':'backtrace','WjSJK':_0x4dcb68(0x1d4),'lSuHw':_0x4dcb68(0x204),'yebPd':function(_0x319192,_0xdb19b6){return _0x319192===_0xdb19b6;},'vOpMT':_0x4dcb68(0x18f),'XihsM':_0x4dcb68(0x19f)};if(!this['enabled'])return;try{if(_0x1f6b0e['fn']&&_0x1f6b0e['fn'][_0x4dcb68(0x195)]()[_0x4dcb68(0x1aa)](/browserstack internal helper hook/))return;const _0x6328c3=_0x2f7615[_0x4dcb68(0x175)](parseEvent,_0x3741c3);if(!_0x6328c3)return;if(_0x6328c3[_0x4dcb68(0x1bb)]){this['currentTest']=_0x1f6b0e,this[_0x4dcb68(0x176)]=null;if(_0x6328c3[_0x4dcb68(0x17f)]||_0x6328c3[_0x4dcb68(0x205)]){_0x1f6b0e['startedAt']=new Date(),_0x1f6b0e[_0x4dcb68(0x1b2)]=![];if(!_0x1f6b0e[_0x4dcb68(0x20f)])_0x1f6b0e['testAnalyticsId']=_0x2f7615[_0x4dcb68(0x189)](uuidv4);else _0x1f6b0e[_0x4dcb68(0x1b2)]&&(!_0x1f6b0e[_0x4dcb68(0x141)]&&(_0x1f6b0e[_0x4dcb68(0x141)]=_0x1f6b0e[_0x4dcb68(0x20f)]),_0x1f6b0e[_0x4dcb68(0x20f)]=_0x2f7615[_0x4dcb68(0x189)](uuidv4));}}else{if(_0x6328c3[_0x4dcb68(0x1cd)]){this['currentHook']=_0x1f6b0e;if(_0x6328c3[_0x4dcb68(0x17f)]){_0x1f6b0e[_0x4dcb68(0x1b7)]=new Date(),_0x1f6b0e[_0x4dcb68(0x1b2)]=![];if(!_0x1f6b0e['hookAnalyticsId'])_0x1f6b0e[_0x4dcb68(0x14c)]=_0x2f7615[_0x4dcb68(0x193)](uuidv4);else _0x1f6b0e[_0x4dcb68(0x14c)]&&_0x1f6b0e[_0x4dcb68(0x1b2)]&&(_0x1f6b0e[_0x4dcb68(0x14c)]=_0x2f7615['IPPoR'](uuidv4));}}}if(_0x6328c3[_0x4dcb68(0x170)]&&_0x1f6b0e[_0x4dcb68(0x1b2)])return;let _0xc84a7e;try{_0xc84a7e=this[_0x4dcb68(0x16e)](_0x1f6b0e);}catch(_0x3b673b){logger[_0x4dcb68(0x18e)](_0x4dcb68(0x197)+_0x3b673b),_0xc84a7e=null;}const _0x28b08e=_0x2f7615[_0x4dcb68(0x181)](require,_0x2f7615[_0x4dcb68(0x12f)]);let _0x91727e=[];_0x320439&&(_0x91727e=[_0x320439,_0x2f7615[_0x4dcb68(0x1a3)]]);const _0x4ff0d7=_0x2f7615[_0x4dcb68(0x191)](_0x1f6b0e[_0x4dcb68(0x156)],undefined)?_0x28b08e[_0x4dcb68(0x166)](_0x1f6b0e['errorsDetailed'][0x0]):_0x2f7615[_0x4dcb68(0x14e)](_0x320439,undefined)?_0x320439['toString']():undefined,_0x2ce0c2=_0xc84a7e?this['findGitConfig'](_0xc84a7e):null,_0x4c0bdb=_0xc84a7e?this[_0x4dcb68(0x135)][_0x4dcb68(0x134)](this[_0x4dcb68(0x16e)](_0x1f6b0e)):_0x2f7615[_0x4dcb68(0x1a7)];let _0x4f5fec=_0x2f7615[_0x4dcb68(0x20b)];const _0x2d000a=!_0x6328c3[_0x4dcb68(0x17f)]?new Date()[_0x4dcb68(0x1d9)]():null;if(_0x6328c3[_0x4dcb68(0x170)])_0x4f5fec=_0x320439?_0x2f7615[_0x4dcb68(0x1de)]:_0x2f7615[_0x4dcb68(0x13f)],_0x1f6b0e[_0x4dcb68(0x1b2)]=!![];else _0x6328c3[_0x4dcb68(0x205)]&&(_0x4f5fec=_0x2f7615[_0x4dcb68(0x1bf)],_0x1f6b0e[_0x4dcb68(0x1b2)]=!![]);const _0x3a086f={'framework':this[_0x4dcb68(0x1d1)],'uuid':_0x1f6b0e[_0x4dcb68(0x20f)]||_0x1f6b0e[_0x4dcb68(0x14c)],'name':_0x1f6b0e[_0x4dcb68(0x18b)],'body':{'lang':_0x2f7615['ojCQR'],'code':_0x1f6b0e[_0x4dcb68(0x16b)][_0x4dcb68(0x195)]()},'type':_0x1f6b0e['type'],'scope':_0x1f6b0e[_0x4dcb68(0x177)](),'scopes':this['getHierarchy'](_0x1f6b0e),'file_name':_0x4c0bdb,'vc_filepath':_0x2ce0c2?path['relative'](_0x2ce0c2,_0xc84a7e):null,'location':_0x4c0bdb,'result':_0x4f5fec,'failure_reason':_0x4ff0d7,'duration_in_ms':_0x1f6b0e[_0x4dcb68(0x1f4)]||(_0x6328c3['finished']||_0x6328c3['skipped'])?_0x2f7615[_0x4dcb68(0x1b8)](Date[_0x4dcb68(0x144)](),new Date(_0x1f6b0e[_0x4dcb68(0x1b7)])[_0x4dcb68(0x206)]()):null,'started_at':new Date(_0x1f6b0e[_0x4dcb68(0x1b7)])[_0x4dcb68(0x1d9)](),'finished_at':_0x2d000a,'failure':testOpsHelper['failureData'][_0x4dcb68(0x154)](null,_0x91727e),'failure_type':!_0x4ff0d7?null:testOpsHelper[_0x4dcb68(0x127)](_0x4ff0d7),'retry_of':_0x1f6b0e[_0x4dcb68(0x141)]||null,'tags':_0x1f6b0e['tags']||[],'customRerunParam':{'rerun_name':_0x1f6b0e[_0x4dcb68(0x177)]()}};_0x2f7615[_0x4dcb68(0x128)](appendTesthubParams,_0x3a086f,_0x3741c3,_0x1f6b0e,FRAMEWORKS['CODECEPT']);if(_0x6328c3[_0x4dcb68(0x1cd)])[_0x3a086f[_0x4dcb68(0x142)],_0x3a086f[_0x4dcb68(0x179)]]=[this[_0x4dcb68(0x20c)](_0x1f6b0e),_0x1f6b0e['ctx'][_0x4dcb68(0x1bb)][_0x4dcb68(0x18b)]],_0x6328c3['finished']?_0x2f7615[_0x4dcb68(0x146)](_0x3a086f[_0x4dcb68(0x171)],_0x2f7615['vhPaE'])&&(_0x3a086f[_0x4dcb68(0x171)]=_0x2f7615[_0x4dcb68(0x13f)]):_0x3a086f[_0x4dcb68(0x16b)]={};else _0x6328c3[_0x4dcb68(0x1bb)]&&(this[_0x4dcb68(0x183)](_0x1f6b0e),_0x6328c3['skipped']&&this[_0x4dcb68(0x12a)](_0x1f6b0e),(_0x6328c3[_0x4dcb68(0x170)]||_0x6328c3[_0x4dcb68(0x205)])&&(_0x3a086f[_0x4dcb68(0x17b)]=this[_0x4dcb68(0x209)](_0x1f6b0e)));this[_0x4dcb68(0x192)]&&(_0x6328c3['started']||_0x6328c3[_0x4dcb68(0x205)])&&(_0x3a086f[_0x2f7615[_0x4dcb68(0x13a)]]=this[_0x4dcb68(0x199)](this[_0x4dcb68(0x192)]));_0x6328c3['test']&&_0x6328c3[_0x4dcb68(0x170)]&&_0x1f6b0e['bddSteps']&&(_0x3a086f[_0x2f7615[_0x4dcb68(0x1c1)]]={'feature':{'name':_0x1f6b0e[_0x4dcb68(0x131)][_0x4dcb68(0x123)][_0x4dcb68(0x179)],'path':_0x3a086f[_0x4dcb68(0x208)],'description':_0x1f6b0e[_0x4dcb68(0x131)][_0x4dcb68(0x143)]},'scenario':{'name':_0x1f6b0e[_0x4dcb68(0x18b)]},'steps':_0x1f6b0e[_0x4dcb68(0x1d6)]});const _0x58bf90=_0x3a086f[_0x2f7615[_0x4dcb68(0x1e0)]][0x0];_0x58bf90&&(_0x3a086f[_0x2f7615['auyFZ']]=_0x58bf90[_0x2f7615[_0x4dcb68(0x133)]],_0x3a086f[_0x2f7615[_0x4dcb68(0x1e3)]]=_0x58bf90[_0x2f7615['lSuHw']]);if(_0x1f6b0e[_0x4dcb68(0x1d6)])for(const _0x6797f0 of _0x1f6b0e[_0x4dcb68(0x1d6)]){!_0x6797f0[_0x4dcb68(0x1db)]&&(_0x6797f0['finished_at']=new Date()[_0x4dcb68(0x1d9)](),_0x2f7615[_0x4dcb68(0x15d)](_0x6797f0[_0x4dcb68(0x171)],_0x2f7615['FIhAG'])&&(_0x58bf90?(_0x6797f0[_0x4dcb68(0x171)]=_0x2f7615['vhPaE'],_0x6797f0[_0x4dcb68(0x1e4)]=_0x58bf90[_0x2f7615[_0x4dcb68(0x133)]][0x0]):_0x6797f0[_0x4dcb68(0x171)]=_0x2f7615[_0x4dcb68(0x13f)]));}const _0xc79a31={};_0xc79a31[_0x4dcb68(0x194)]=_0x6328c3[_0x4dcb68(0x205)]?TEST_EVENTS['TEST_RUN_FINISHED']:_0x3741c3;const _0x24f435=_0xc79a31;return _0x6328c3[_0x4dcb68(0x1cd)]?_0x24f435[_0x2f7615[_0x4dcb68(0x18a)]]=_0x3a086f:_0x24f435[_0x2f7615[_0x4dcb68(0x1f2)]]=_0x3a086f,_0x24f435;}catch(_0x2cba05){logger[_0x4dcb68(0x18e)](_0x4dcb68(0x1b0)+_0x3741c3+_0x4dcb68(0x203)+_0x2cba05);}}async[a4_0x908b35(0x1ad)](_0x37ed04,_0x324231){const _0x3c46cb=a4_0x908b35;if(!this[_0x3c46cb(0x17e)]||!_0x324231||!_0x37ed04)return![];try{return await SessionHandler['uploadEventData'](_0x324231);}catch(_0x2c5e18){logger['debug'](_0x3c46cb(0x14b)+_0x37ed04+_0x3c46cb(0x203)+_0x2c5e18);}}[a4_0x908b35(0x126)](_0x4a8a7d){const _0x36994c=a4_0x908b35,_0x32b777={};_0x32b777['WmrLL']=_0x36994c(0x1b4);const _0x195268=_0x32b777;return{'id':_0x4a8a7d[_0x36994c(0x14a)],'text':_0x4a8a7d['text'],'keyword':_0x4a8a7d[_0x36994c(0x1b9)],'started_at':_0x4a8a7d[_0x36994c(0x1b7)][_0x36994c(0x1d9)](),'result':_0x195268['WmrLL']};}[a4_0x908b35(0x1ae)](_0x3e411d){const _0x5ea970=a4_0x908b35,_0x499316={'xwcmz':function(_0x1fb62f){return _0x1fb62f();}};!this[_0x5ea970(0x1ce)][_0x5ea970(0x1d6)]&&(this['currentTest'][_0x5ea970(0x1d6)]=[]),!_0x3e411d[_0x5ea970(0x14a)]&&(_0x3e411d[_0x5ea970(0x14a)]=_0x499316[_0x5ea970(0x15b)](uuidv4),_0x3e411d[_0x5ea970(0x1b7)]=new Date(),this[_0x5ea970(0x1ce)][_0x5ea970(0x1d6)][_0x5ea970(0x157)](this[_0x5ea970(0x126)](_0x3e411d)));}['bddStepFinish'](_0x551a78){const _0x2c6b17=a4_0x908b35,_0x4f6bb1={'OERxN':function(_0x18d3b7,_0x49f0f1){return _0x18d3b7(_0x49f0f1);},'yYKeR':_0x2c6b17(0x178),'rlXjS':_0x2c6b17(0x1b4),'pAant':_0x2c6b17(0x1c4),'LgbrE':function(_0xd64e49,_0x54a381){return _0xd64e49-_0x54a381;}};let _0x29e142=this['currentTest'][_0x2c6b17(0x1d6)][_0x2c6b17(0x138)](_0x378094=>_0x378094['id']===_0x551a78['stepAnalyticsId']);_0x4f6bb1[_0x2c6b17(0x188)](isUndefined,_0x29e142)&&(_0x29e142=this['initializeBddStep'](_0x551a78)),_0x29e142[_0x2c6b17(0x171)]=[_0x4f6bb1[_0x2c6b17(0x11d)],_0x4f6bb1[_0x2c6b17(0x1d0)]]['includes'](_0x551a78[_0x2c6b17(0x153)])?_0x4f6bb1[_0x2c6b17(0x160)]:_0x551a78[_0x2c6b17(0x153)],_0x29e142[_0x2c6b17(0x1db)]=new Date()['toISOString'](),_0x29e142['duration']=_0x4f6bb1[_0x2c6b17(0x19b)](Date[_0x2c6b17(0x144)](),_0x551a78[_0x2c6b17(0x1b7)][_0x2c6b17(0x206)]()),_0x29e142[_0x2c6b17(0x1e4)]=_0x551a78['err']?_0x551a78['err'][_0x2c6b17(0x1c5)]:null;}}const a4_0x54e9de={};a4_0x54e9de[a4_0x908b35(0x16d)]=O11yHelper,a4_0x54e9de[a4_0x908b35(0x1e2)]=STATE_PASSED,a4_0x54e9de[a4_0x908b35(0x159)]=STATE_FAILED,a4_0x54e9de[a4_0x908b35(0x168)]=TEST_EVENTS,module[a4_0x908b35(0x1c0)]=a4_0x54e9de;