browserstack-node-sdk 1.50.7 → 1.50.9

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 (186) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/nightwatch/command.js +1 -1
  79. package/src/bin/playwright/accessibility-helper.js +1 -1
  80. package/src/bin/playwright/command.js +1 -1
  81. package/src/bin/playwright/globalSetup.js +1 -1
  82. package/src/bin/playwright/mock-process.js +1 -1
  83. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  84. package/src/bin/playwright/patches.js +1 -1
  85. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  86. package/src/bin/playwright/reporter/reporter.js +1 -1
  87. package/src/bin/playwright/reporter/test-details.js +1 -1
  88. package/src/bin/playwright/sessionDetails.js +1 -1
  89. package/src/bin/runner.js +1 -1
  90. package/src/bin/setup.js +1 -1
  91. package/src/bin/test-runner/index.js +1 -1
  92. package/src/bin/test-runner/runTest.js +1 -1
  93. package/src/bin/test-runner/testWorker.js +1 -1
  94. package/src/bin/utils/apiUtilityMethods.js +1 -1
  95. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  96. package/src/bin/utils/constants.js +1 -1
  97. package/src/bin/utils/log4jsAppender.js +1 -1
  98. package/src/bin/utils/logPatcher.js +1 -1
  99. package/src/bin/utils/logReportingAPI.js +1 -1
  100. package/src/bin/utils/playwright-patcher.js +1 -1
  101. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  102. package/src/bin/utils/sharedUtils.js +1 -1
  103. package/src/bin/v2/TestInfo.js +1 -1
  104. package/src/bin/v2/browserstackCLI.js +1 -1
  105. package/src/bin/v2/cliUtils.js +1 -1
  106. package/src/bin/v2/customTagManager.js +1 -1
  107. package/src/bin/v2/eventDispatcher.js +1 -1
  108. package/src/bin/v2/framework/automationFramework.js +1 -1
  109. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  110. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  111. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  112. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  113. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  114. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  115. package/src/bin/v2/framework/testFramework.js +1 -1
  116. package/src/bin/v2/grpcClient.js +1 -1
  117. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  118. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  119. package/src/bin/v2/instances/trackedContext.js +1 -1
  120. package/src/bin/v2/instances/trackedInstance.js +1 -1
  121. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  122. package/src/bin/v2/modules/baseModule.js +1 -1
  123. package/src/bin/v2/modules/loadTestModule.js +1 -1
  124. package/src/bin/v2/modules/observabilityModule.js +1 -1
  125. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  126. package/src/bin/v2/modules/testhubModule.js +1 -1
  127. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  128. package/src/bin/v2/state/hookState.js +1 -1
  129. package/src/bin/v2/state/testFrameworkState.js +1 -1
  130. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  131. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  132. package/src/bin/v2/utils/jest-utils.js +1 -1
  133. package/src/bin/vanilla-js/command.js +1 -1
  134. package/src/browserStackSdk.js +1 -1
  135. package/src/helpers/BrowserStackSetup.js +1 -1
  136. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  137. package/src/helpers/accessibility-automation/constants.js +1 -1
  138. package/src/helpers/accessibility-automation/helper.js +1 -1
  139. package/src/helpers/accessibility-automation/scripts.js +1 -1
  140. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  141. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  142. package/src/helpers/ats/constants.js +1 -1
  143. package/src/helpers/ats/helper.js +1 -1
  144. package/src/helpers/capsMapping.js +1 -1
  145. package/src/helpers/central-scanner/constants.js +1 -1
  146. package/src/helpers/central-scanner/helpers.js +1 -1
  147. package/src/helpers/classLogger.js +1 -1
  148. package/src/helpers/globals.js +1 -1
  149. package/src/helpers/helper.js +1 -1
  150. package/src/helpers/logger.js +1 -1
  151. package/src/helpers/metadata.js +1 -1
  152. package/src/helpers/patchHelper.js +1 -1
  153. package/src/helpers/patchHelpers.js +1 -1
  154. package/src/helpers/percy/Percy.js +1 -1
  155. package/src/helpers/percy/PercyBinary.js +1 -1
  156. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  157. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  158. package/src/helpers/percy/PercySDK.js +1 -1
  159. package/src/helpers/percy/index.js +1 -1
  160. package/src/helpers/percy/utils.js +1 -1
  161. package/src/helpers/performance/constants.js +1 -1
  162. package/src/helpers/performance/performance-tester.js +1 -1
  163. package/src/helpers/playwright-helper.js +1 -1
  164. package/src/helpers/processHelper.js +1 -1
  165. package/src/helpers/request-spy.js +1 -1
  166. package/src/helpers/setKeepAlive.js +1 -1
  167. package/src/helpers/test-observability/constants.js +1 -1
  168. package/src/helpers/test-observability/error-handler.js +1 -1
  169. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  170. package/src/helpers/test-observability/sessionHandler.js +1 -1
  171. package/src/helpers/test-observability/utils.js +1 -1
  172. package/src/helpers/test-orchestration/constants.js +1 -1
  173. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  174. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  175. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  176. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  177. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  178. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  179. package/src/helpers/testhub/constants.js +1 -1
  180. package/src/helpers/testhub/testhubHandler.js +1 -1
  181. package/src/helpers/testhub/utils.js +1 -1
  182. package/src/helpers/timeoutPromise.js +1 -1
  183. package/src/helpers/utilities.js +1 -1
  184. package/src/helpers/w3cMapping.js +1 -1
  185. package/src/hubAllocationMethods.js +1 -1
  186. package/src/index.js +1 -1
@@ -1 +1 @@
1
- function a80_0x3ad9(){const _0x39c766=[',\x20includeTags=','dEBAD','twQAI','isAppAccessibility','command','capabilities','rTcOy','../framework/constants/testFrameworkConstants.js','toObject','__accessibilityOptions','get','dMcls','format','browser','FSayn','HTISW','excludeTagsInTestingScope','\x20testHubUuid=','DRIVER_HAS_URL','getCapabilitiesList','function','getCapabilityValue','rpyqy','../../../helpers/accessibility-automation/constants','vhzxH','stack','YEsjv','commandsToWrap','includes','[AccessibilityModule]\x20onAfterTest:\x20framework=','getScriptsList','Error\x20getting\x20script\x20by\x20name\x20','getName','oxvvQ','\x20script\x20available\x20in\x20scriptsList','options','warn','shouldScanForCommand:\x20','getParamsForScanForCli','\x20->\x20','name:\x20','getAccessibilityExecuteParams','CwsME','replace','set','afterTestHook','dlDEa','Error\x20applying\x20sendMessageToServer\x20patch:\x20','__workerDetails','stopTestCapture','612465feuAAp','Iizpg','message','SHVlu','OJBzX','ZbAuP','jVZPa','--headless=','wcagVersion','PHSzG','xvBcy','env','Tfzbc','QUIT','xCxOO','Performing\x20scan\x20before\x20from\x20cli','../../../helpers/accessibility-automation/helper','onBeforeTest:\x20event=','browserstack.accessibilityOptions.wcagVersion','aMmHj','kZXPj','../cliUtils','cfkrX','stopTestCapture:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','getTestUUID','336749MuyVFN','SDK_ACCESSIBILITY_CONFIG','lOEFy','sendMessageToServer\x20accessibility\x20patch\x20already\x20applied','rURPn','browserVersion','\x22browserstack.key\x22:\x22[REDACTED]\x22','fJfLI','Sbryb','includeTagsInTestingScope','getAccessibilityResultsSummary:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20cannot\x20retrieve\x20summary.','\x20accessibility\x20script\x20on\x20page','getState','parseFromProto','getAccessibility','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','scannerVersion','browserName','getBuildId','fetchDriverExecuteParamsEvent','__jestCurrentTestIdentifier','UAmAu','updateData','TOLCk','Fvyzy','some','getAccessibilityResultsSummary','bXmsl','Exception\x20in\x20isPlatformSupported:\x20','xLcDK','[AccessibilityModule]\x20stopTestCapture:\x20Saving\x20results,\x20thTestRunUuid=','SAVE_RESULTS','onBeforeTest:\x20Driver\x20not\x20initialized,\x20setting\x20DRIVER_INIT=true','lCowR','Error\x20in\x20getAccessibilityResultsSummary:\x20','5696OuREbF','executeScriptByName:\x20No\x20','zSfgW','onBeforeExecute','find','Skipping\x20saving\x20results\x20from\x20cli,\x20no\x20running\x20test\x20found','qfNHa','error','setAccessibilityConfig','ssFHd','getCurrentAccessibilityStatus','102vLaSdr','accessibilityToken','OGwFL','LOG_DISABLED_SHOWN','onAfterTest','currentTest','onBeforeExecute:\x20No\x20command\x20name\x20provided','fWsLM','testAnalyticsId','JvQpb','pqZrv','Running\x20Save\x20results\x20for\x20Accessibility\x20testing','name','playwright-chromium','aMiVn','hasAccessibilityExecuteParams','sdQVF','onBeforeTest:\x20Skipping\x20accessibility\x20check\x20-\x20not\x20a\x20supported\x20test\x20framework','kguZa','TsGMm',']\x20Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error:\x20','OVSWt','capabilitiesList','Executing\x20','GOdZY','Context','JlGiy','length','[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20summaryArgs=','KEY_DRIVER_HAS_URL','UeRUa','JsJEs','evaluate','getAllData','getAccessibilityResultsSummary:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','onBeforeExecute:\x20command=','getCommandsList','processAccessibilityCaps','XHNrq','onBeforeExecute:\x20Accessibility\x20not\x20enabled\x20for\x20current\x20test,\x20skipping\x20scan\x20for\x20','dNcty','getTrackedInstance','1305SjujQO','getInstance','debug','vAiNd','YibST','YZbNh','finishScanningForCli','UOiEp','../framework/automationFramework','PbkOg','Fhpbg','../../../helpers/performance/performance-tester.js','RVSKE','onBeforeExecute:\x20Skipping\x20accessibility\x20scan\x20-\x20not\x20a\x20supported\x20test\x20framework','qdAca','MTYII','value','Accessibility\x20extension\x20data\x20for\x20current\x20test\x20from\x20cli\x20','QwqpC','nWYbK','Error\x20in\x20validatePlatformForAccessibility:\x20','[platform\x20-\x20',',\x20testName=','KEY_TESTHUB_BUILD_ID','toJson','./baseModule','join','getOptions','util','has','EBvQD','Performing\x20scan\x20before\x20getting\x20results\x20summary','testInfo','isPlatformSupported','zaXrR','XIway','OgSni','null','52LDIOaI','McRpC','zeMBf','browserstack_executor','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','BZQsc','hsvvc','BROWSERSTACK_CLI_BIN_SESSION_ID','registerObserver','Skipping\x20saving\x20results\x20from\x20cli,\x20saveResults\x20script\x20is\x20missing','getGoogleChromeOptions','PRE','QwCyf','awnNG','No\x20summaryResults\x20found.','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20summary.','BROWSERSTACK_TESTHUB_JWT','startsWith','fetchCentralAuthA11yConfig',',\x20\x0a\x20','rwNLE','oWlBY','cnnXZ','browserstack.accessibilityOptions.scannerVersion','testFrameworkData','stringify','27427440mfvKGo','stopTestCapture:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20result\x20save','saveTestResults','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20results.','scan','hABsy','TQnve','shouldScanCurrentTest','Lyadm','Executing\x20accessibility\x20script\x20on\x20page','MergedScanArgs:\x20','otKod','isEnabled','mergeObject','gwbxu','onBeforeExecute:\x20Accessibility\x20scan\x20completed\x20for\x20command:\x20','performScanForCli','VXdhK','testhub_build_uuid','BajNk','ewMDt','FZPmp',']\x20isEnabledTestcase\x20(jest)\x20result=','Error\x20in\x20onBeforeTest\x20accessibility\x20module:\x20','[AccessibilityModule]\x20onBeforeTest:\x20Jest\x20-\x20testIdentifier=','getTestDetails','LfXpB','getValue','KEY_TEST_NAME','[AccessibilityModule]\x20onBeforeTest:\x20platformSupported=','Error\x20parsing\x20accessibility\x20execute\x20params:\x20','ZKAUu','2007740cJWEUO','browserStackEvaluate','isPlatformSupported:\x20caps\x20are\x20null','hcEbv','GET_RESULTS_SUMMARY','isBrowserstackScriptCommand','\x20is\x20not\x20in\x20the\x20list\x20of\x20commands\x20to\x20be\x20scanned','AqIxq',',\x20tags=','_centralAuthConfigFetched','Accessibility\x20data\x20for\x20extension:\x20','GRgCo','accessibilityConfig','platformValidation','getTesthub','testFramework','cPfYe','dbuwG','parse','getLogDisabledShown','saveResults','blzxT','fstPF','PPTmN','wttFS','getCommandsToWrap','tikjR','liUEw','emBht','mcYjG',',\x20excludeTags=','getData','HNxpv','bJikd','launchCaps','onBeforeExecute:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20scan',',\x20available\x20commands:\x20','NON_BROWSERSTACK_AUTOMATION_SESSIONS','YGwLl','isArray','NkMgM','bind','unknown','ZxyRS','performScan','getScript','validatePlatformForAccessibility','szjkc','getScriptByName','getPlatformIndex','applySendMessageToServerPatch','Bobrr','onBeforeExecute:\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','pwPage','string','logwl','isEnabledTestcase','commandName','sAAML','buDKQ','nExIG','Error\x20executing\x20script\x20','info','cTgAk','measureWrapper','\x20result\x20for\x20','TrackedInstance','mMWGt','end','Auptr','UOjiw','kfYSI','thTestRunUuid','fjvaz','hmUQQ','args','test_run_id','titlePath','RBgNo','Unable\x20to\x20mark\x20test\x20finish\x20for\x20accessibility\x20from\x20cli\x20-\x20',']\x20Accessibility\x20configuration\x20initialized\x20successfully','getResults','accessibility','olUsD','setShouldScanCurrentTest','ijZSc','Error\x20in\x20initAccessibilityConfig:\x20','setLogDisabledShown','onBeforeTest:\x20Page\x20object\x20available,\x20proceeding\x20with\x20accessibility\x20validation','cucumber','instance','fetchCentralAuthA11yConfig:\x20No\x20bin\x20session\x20ID\x20available','test-tags-->\x20','AUTOMATION_SESSIONS','ZwqlT','executeScriptByName:\x20Page\x20is\x20null\x20for\x20script\x20','setAccessibilityToken','eAmtt','getSuccess','oGftG','shouldScanForCommand','--headless','BEufX','true','Error\x20in\x20getAccessibilityResults:\x20','vJrKf','ctLWP','performPageScan:\x20Page\x20is\x20null','getCurrentInstanceName','11|13|8|12|4|2|6|9|5|14|15|1|7|0|10|3','ezUUK','cTaxk','vTTWy','getTestId','SclsM','performPageScan:\x20Script\x20is\x20null','map','commandsList','toLowerCase','assign','jest','setShouldScan','\x20from\x20testIdentifier=','XUdVK','1291556ruvnGC',',\x20framework=','initAccessibilityConfig','browserstack.accessibilityOptions.authToken','aQJuR','KEY_INIT','OqItW','NVJYv','getModuleName','../../playwright/accessibility-helper','MKffr','getAccessibilityResults','POST','sPrqp','[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','onBeforeTest','../../../helpers/accessibility-automation/scripts','\x22browserstack.user\x22:\x22[REDACTED]\x22','patchSendMessageToServer','performPageScan','CwbQS','CREATE','page','Error\x20in\x20processAccessibilityCaps:\x20','../../../helpers/performance/constants.js',']\x20Failed\x20to\x20initialize\x20accessibility\x20configuration','NXjiD','\x20using\x20script:\x20','executeScriptByName','FxoIA','Scan\x20result:\x20','\x20script\x20available','ACCESSIBILITY_INITIALIZED','ECCaU','latest','axAHi','loadDriverExecuteParams','getResultsSummary','yKPmP','MODULE_NAME','Error\x20getting\x20capability\x20value\x20for\x20','toISOString','../../../helpers/helper','accessibilityPlatform','getContext','PERFORM_SCAN','test_tags','Error\x20checking\x20headless\x20capability:\x20','XPTJX','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','_sendMessageServerPatchApplied','Page\x20','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100\x20on\x20non-bstack\x20infra.','_centralAuthA11yConfig','LWOlZ','GULPY','180951euLWAM',',\x20isAppAccessibility=','browserstack.accessibilityOptions.scannerProcessingTimeout','delete','DRIVER_INIT','NXRka','loadAccessibilityConfig','YFNDf',',\x20testIdentifier=','VPfuK','smSnY','BROWSERSTACK_TEST_ACCESSIBILITY_YML','\x20value='];a80_0x3ad9=function(){return _0x39c766;};return a80_0x3ad9();}function a80_0x3e49(_0x4b1d82,_0x2a53b3){const _0x3ad92c=a80_0x3ad9();return a80_0x3e49=function(_0x3e4975,_0x5d35e5){_0x3e4975=_0x3e4975-0x1cf;let _0x465d07=_0x3ad92c[_0x3e4975];return _0x465d07;},a80_0x3e49(_0x4b1d82,_0x2a53b3);}const a80_0x40565e=a80_0x3e49;(function(_0x1684a4,_0x4e0dc0){const _0x3094e1=a80_0x3e49,_0x44fa56=_0x1684a4();while(!![]){try{const _0x23431a=-parseInt(_0x3094e1(0x1df))/0x1+-parseInt(_0x3094e1(0x32c))/0x2+-parseInt(_0x3094e1(0x364))/0x3*(-parseInt(_0x3094e1(0x276))/0x4)+-parseInt(_0x3094e1(0x2b0))/0x5+parseInt(_0x3094e1(0x226))/0x6*(-parseInt(_0x3094e1(0x1f8))/0x7)+parseInt(_0x3094e1(0x21b))/0x8*(-parseInt(_0x3094e1(0x250))/0x9)+parseInt(_0x3094e1(0x290))/0xa;if(_0x23431a===_0x4e0dc0)break;else _0x44fa56['push'](_0x44fa56['shift']());}catch(_0x31f1ca){_0x44fa56['push'](_0x44fa56['shift']());}}}(a80_0x3ad9,0xe6f5f));const BaseModule=require(a80_0x40565e(0x269)),{createClassLogger}=require('../../../helpers/classLogger'),CLIUtils=require(a80_0x40565e(0x1f4)),AutomationFramework=require(a80_0x40565e(0x258)),TestFramework=require('../framework/testFramework'),AutomationFrameworkState=require('../state/automationFrameworkState'),HookState=require('../state/hookState'),GrpcClient=require('../grpcClient'),scripts=require(a80_0x40565e(0x33c)),logger=createClassLogger(a80_0x40565e(0x2f2)),PerformanceTester=require(a80_0x40565e(0x25b)),{EVENTS,A11Y_EVENTS:PerformanceA11yEvents}=require(a80_0x40565e(0x344)),{MINIMUM_BROWSER_VERSION_ACCESSIBILITY,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require(a80_0x40565e(0x388)),{nestedKeyValue,isUndefined}=require(a80_0x40565e(0x356)),util=require(a80_0x40565e(0x26c)),TestInfo=require('../TestInfo.js'),TestFrameworkConstants=require(a80_0x40565e(0x378));class AccessibilityModule extends BaseModule{static [a80_0x40565e(0x353)]=AccessibilityModule[a80_0x40565e(0x232)];static ['_centralAuthConfigFetched']=![];static [a80_0x40565e(0x361)]={};constructor(_0x48213e){const _0x4af057=a80_0x40565e,_0x15fe37={};_0x15fe37[_0x4af057(0x27b)]=_0x4af057(0x31d),_0x15fe37[_0x4af057(0x283)]=_0x4af057(0x34c),_0x15fe37['vTTWy']=_0x4af057(0x2a2),_0x15fe37['emBht']='[AccessibilityModule]\x20Constructor:\x20Registered\x20observers\x20-\x20EXECUTE\x20PRE,\x20CREATE\x20POST,\x20QUIT\x20PRE',_0x15fe37[_0x4af057(0x305)]=_0x4af057(0x383);const _0x215c75=_0x15fe37,_0x2b8e64=_0x215c75[_0x4af057(0x27b)]['split']('|');let _0x491e0b=0x0;while(!![]){switch(_0x2b8e64[_0x491e0b++]){case'0':this[_0x4af057(0x331)]=_0x215c75[_0x4af057(0x283)];continue;case'1':this['setAccessibilityToken'](_0x48213e[_0x4af057(0x26b)]()[_0x4af057(0x384)]());continue;case'2':this[_0x4af057(0x2bc)]=_0x48213e[_0x4af057(0x379)]();continue;case'3':this[_0x4af057(0x267)]=_0x215c75[_0x4af057(0x320)];continue;case'4':this[_0x4af057(0x29c)]=!![];continue;case'5':this['isAppAccessibility']=![];continue;case'6':this[_0x4af057(0x302)]=new Map();continue;case'7':logger[_0x4af057(0x252)](_0x215c75[_0x4af057(0x2cc)]);continue;case'8':AutomationFramework[_0x4af057(0x27e)](AutomationFrameworkState[_0x4af057(0x341)],HookState[_0x4af057(0x338)],this[_0x4af057(0x33b)][_0x4af057(0x2d9)](this));continue;case'9':this[_0x4af057(0x229)]=new Map();continue;case'10':this[_0x4af057(0x243)]=_0x215c75[_0x4af057(0x305)];continue;case'11':super();continue;case'12':AutomationFramework[_0x4af057(0x27e)](AutomationFrameworkState[_0x4af057(0x1ec)],HookState['PRE'],this['onAfterTest'][_0x4af057(0x2d9)](this));continue;case'13':AutomationFramework[_0x4af057(0x27e)](AutomationFrameworkState['EXECUTE'],HookState[_0x4af057(0x281)],this[_0x4af057(0x21e)]['bind'](this));continue;case'14':this[_0x4af057(0x376)]=[];continue;case'15':this[_0x4af057(0x35e)]=![];continue;}break;}}[a80_0x40565e(0x29c)](){const _0x303253=a80_0x40565e;return this[_0x303253(0x29c)];}[a80_0x40565e(0x334)](){const _0x3989cc=a80_0x40565e;return AccessibilityModule[_0x3989cc(0x353)];}[a80_0x40565e(0x225)](){const _0x28a0de=a80_0x40565e;return this[_0x28a0de(0x302)][_0x28a0de(0x37b)](CLIUtils[_0x28a0de(0x31c)](),![]);}[a80_0x40565e(0x2c3)](){const _0x174784=a80_0x40565e;return this[_0x174784(0x229)][_0x174784(0x37b)](CLIUtils[_0x174784(0x31c)](),![]);}[a80_0x40565e(0x307)](_0x167bd1){const _0x6a0384=a80_0x40565e;this[_0x6a0384(0x229)]['set'](CLIUtils[_0x6a0384(0x31c)](),_0x167bd1);}[a80_0x40565e(0x2e2)](){const _0x331f8d=a80_0x40565e,_0x90a924={'hoLjM':_0x331f8d(0x1fb),'olUsD':function(_0x1f3426,_0x538917){return _0x1f3426(_0x538917);},'buDKQ':'../../utils/playwright-patcher','UOjiw':'Applied\x20sendMessageToServer\x20patch\x20for\x20accessibility\x20command\x20interception','KhqFr':'patchSendMessageToServer\x20function\x20not\x20available\x20from\x20playwright-patcher'};if(this['_sendMessageServerPatchApplied']){logger[_0x331f8d(0x252)](_0x90a924['hoLjM']);return;}try{const _0x35bd63=_0x90a924[_0x331f8d(0x303)](require,_0x90a924[_0x331f8d(0x2eb)]);_0x35bd63&&_0x35bd63[_0x331f8d(0x33e)]?(_0x35bd63[_0x331f8d(0x33e)](),this[_0x331f8d(0x35e)]=!![],logger['debug'](_0x90a924[_0x331f8d(0x2f6)])):logger[_0x331f8d(0x252)](_0x90a924['KhqFr']);}catch(_0x555f6c){logger['debug'](_0x331f8d(0x1dc)+util['format'](_0x555f6c));}}['isPlatformSupported'](_0x1b0b81=null,_0xee40d3=null,_0x105708=null){const _0x3e46c0=a80_0x40565e,_0x256d0e={'oWlBY':function(_0x2a1c83,_0x18382d){return _0x2a1c83&&_0x18382d;},'UOiEp':_0x3e46c0(0x2b2),'Wmloh':function(_0x1719c2,_0x86c376){return _0x1719c2(_0x86c376);},'mcYjG':_0x3e46c0(0x1ef),'ECCaU':function(_0x348b02,_0x40545f){return _0x348b02(_0x40545f);},'OJBzX':_0x3e46c0(0x356),'QwCyf':function(_0x891755){return _0x891755();},'pqZrv':'isPlatformSupported:\x20Not\x20an\x20accessibility\x20automation\x20session','SHVlu':function(_0x24f240,_0x375faa){return _0x24f240===_0x375faa;},'hmUQQ':'chrome','Tfzbc':function(_0x482ce0,_0x2b67d7){return _0x482ce0===_0x2b67d7;},'kfYSI':_0x3e46c0(0x233),'wvUXW':_0x3e46c0(0x207),'WHGUR':function(_0x15a12a,_0x13a8ac){return _0x15a12a===_0x13a8ac;},'cnnXZ':'true','TOLCk':_0x3e46c0(0x2e6),'Fvyzy':'isPlatformSupported:\x20Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','wttFS':'goog:chromeOptions','xqmBY':function(_0x4ad7a5,_0x586f29){return _0x4ad7a5>_0x586f29;},'WXwyq':function(_0x4bf9e0,_0x2ad3f7){return _0x4bf9e0(_0x2ad3f7);},'zeMBf':function(_0x4efb76,_0x293afd){return _0x4efb76(_0x293afd);},'MzIMm':_0x3e46c0(0x360),'OqItW':function(_0x5a36e4,_0x4fa59f){return _0x5a36e4!==_0x4fa59f;},'SCWbb':_0x3e46c0(0x34e),'HNxpv':function(_0x46898e,_0x1a5c78){return _0x46898e>_0x1a5c78;},'liUEw':function(_0x4f9955,_0xa8f30e){return _0x4f9955(_0xa8f30e);},'qzvGz':function(_0x51c8ab,_0xc227a0){return _0x51c8ab(_0xc227a0);},'iojVp':_0x3e46c0(0x35d)};try{if(_0x256d0e[_0x3e46c0(0x28b)](!_0xee40d3,!_0x105708))return logger[_0x3e46c0(0x252)](_0x256d0e[_0x3e46c0(0x257)]),![];const {isAccessibilityAutomationSession:_0x182622}=_0x256d0e['Wmloh'](require,_0x256d0e[_0x3e46c0(0x2cd)]),{isUndefined:_0x3ff92b,isBrowserstackInfra:_0x21c251}=_0x256d0e[_0x3e46c0(0x34d)](require,_0x256d0e[_0x3e46c0(0x1e3)]);if(!_0x256d0e[_0x3e46c0(0x282)](_0x182622))return logger[_0x3e46c0(0x252)](_0x256d0e[_0x3e46c0(0x230)]),![];if(!(_0xee40d3[_0x3e46c0(0x209)]&&_0x256d0e[_0x3e46c0(0x1e2)](_0xee40d3[_0x3e46c0(0x209)]['toLowerCase'](),_0x256d0e[_0x3e46c0(0x2fa)])||_0xee40d3[_0x3e46c0(0x209)]&&_0x256d0e['Tfzbc'](_0xee40d3[_0x3e46c0(0x209)][_0x3e46c0(0x326)](),_0x256d0e['kfYSI'])||_0xee40d3['browser']&&_0x256d0e[_0x3e46c0(0x1eb)](_0xee40d3[_0x3e46c0(0x37e)][_0x3e46c0(0x326)](),_0x256d0e['hmUQQ'])||_0xee40d3[_0x3e46c0(0x37e)]&&_0x256d0e['SHVlu'](_0xee40d3[_0x3e46c0(0x37e)]['toLowerCase'](),_0x256d0e[_0x3e46c0(0x2f7)])))return logger[_0x3e46c0(0x1d1)](_0x256d0e['wvUXW']),![];try{const _0x3ef7ec=_0xee40d3['headless'],_0x549127=_0x256d0e[_0x3e46c0(0x1e2)](_0x3ef7ec,!![])||_0x256d0e['WHGUR'](_0x3ef7ec,_0x256d0e[_0x3e46c0(0x28c)])||_0x256d0e[_0x3e46c0(0x1e2)](typeof _0x3ef7ec,_0x256d0e[_0x3e46c0(0x20f)])&&_0x256d0e[_0x3e46c0(0x1e2)](_0x3ef7ec[_0x3e46c0(0x326)](),_0x256d0e['cnnXZ']);if(_0x549127)return logger[_0x3e46c0(0x1d1)](_0x256d0e['Fvyzy']),![];const _0x5e7c9d=_0xee40d3?.['chromeOptions']?.[_0x3e46c0(0x2fb)]||_0xee40d3?.[_0x256d0e[_0x3e46c0(0x2c8)]]?.[_0x3e46c0(0x2fb)]||[];if(Array['isArray'](_0x5e7c9d)&&_0x5e7c9d[_0x3e46c0(0x211)](_0x350433=>typeof _0x350433==='string'&&(_0x350433===_0x3e46c0(0x315)||_0x350433[_0x3e46c0(0x287)](_0x3e46c0(0x1e6))&&_0x350433!=='--headless=new')))return logger[_0x3e46c0(0x1d1)](_0x256d0e[_0x3e46c0(0x210)]),![];}catch(_0x11fe80){logger[_0x3e46c0(0x252)](_0x3e46c0(0x35b)+util['format'](_0x11fe80));}if(!_0x256d0e[_0x3e46c0(0x282)](_0x21c251)){if(!_0x256d0e['xqmBY'](_0x256d0e['WXwyq'](parseFloat,_0xee40d3['browserVersion']),_0x256d0e[_0x3e46c0(0x278)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY)))return logger[_0x3e46c0(0x1d1)](_0x256d0e['MzIMm']),![];}else{if(_0x256d0e[_0x3e46c0(0x332)](_0xee40d3[_0x3e46c0(0x1fd)],_0x256d0e['SCWbb'])&&!_0x256d0e[_0x3e46c0(0x2d0)](_0x256d0e[_0x3e46c0(0x2cb)](parseFloat,_0xee40d3[_0x3e46c0(0x1fd)]),_0x256d0e['qzvGz'](parseFloat,MINIMUM_BROWSER_VERSION_ACCESSIBILITY)))return logger[_0x3e46c0(0x1d1)](_0x256d0e['iojVp']),![];}return!![];}catch(_0x11101d){return logger['debug'](_0x3e46c0(0x214)+_0x11101d['message']),![];}}[a80_0x40565e(0x2e8)](_0x559542=[],_0x555d15,_0xb013d4=a80_0x40565e(0x309)){const _0x1e88ac=a80_0x40565e,_0x163b20={'Sbryb':function(_0x21811d,_0x45b592){return _0x21811d===_0x45b592;},'Iizpg':_0x1e88ac(0x328),'szjkc':function(_0x406f3a,_0x10d4d2){return _0x406f3a||_0x10d4d2;},'hABsy':function(_0x5519c8,_0x12e0ef){return _0x5519c8&&_0x12e0ef;},'fjvaz':_0x1e88ac(0x2da),'EWqRH':function(_0x16bc23,_0x3f71f6){return _0x16bc23===_0x3f71f6;},'VCafp':function(_0xa306a,_0x1984c0){return _0xa306a(_0x1984c0);},'RVSKE':function(_0x2a5a76,_0x464c26){return _0x2a5a76>_0x464c26;}};try{const _0x33db2e=process[_0x1e88ac(0x1ea)][_0x1e88ac(0x27a)]?JSON[_0x1e88ac(0x2c2)](process[_0x1e88ac(0x1ea)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']):null;if(!_0x33db2e)return!![];const _0x88479f=Array[_0x1e88ac(0x2d7)](_0x33db2e[_0x1e88ac(0x201)])?_0x33db2e['includeTagsInTestingScope']:[],_0x3f9b40=Array[_0x1e88ac(0x2d7)](_0x33db2e[_0x1e88ac(0x381)])?_0x33db2e[_0x1e88ac(0x381)]:[];if(_0x163b20['Sbryb'](_0xb013d4,_0x163b20[_0x1e88ac(0x1e0)])){let _0x210c9e;Array[_0x1e88ac(0x2d7)](_0x559542)?_0x210c9e=_0x559542[_0x1e88ac(0x26a)]('\x20'):_0x210c9e=_0x163b20[_0x1e88ac(0x2df)](_0x559542,'');const _0x2e6b39=_0x3f9b40[_0x1e88ac(0x211)](_0x5b2fab=>_0x210c9e[_0x1e88ac(0x38d)](_0x5b2fab)),_0x211e2e=_0x163b20[_0x1e88ac(0x200)](_0x88479f['length'],0x0)||_0x88479f[_0x1e88ac(0x211)](_0x2d5ee4=>_0x210c9e[_0x1e88ac(0x38d)](_0x2d5ee4)),_0x6668be=_0x163b20[_0x1e88ac(0x295)](!_0x2e6b39,_0x211e2e);return logger['debug'](_0x1e88ac(0x265)+(_0x555d15?.[_0x1e88ac(0x2e1)]?.()||_0x163b20[_0x1e88ac(0x2f9)])+_0x1e88ac(0x2a6)+_0x6668be+',\x20testName='+_0x210c9e+_0x1e88ac(0x371)+JSON['stringify'](_0x88479f)+',\x20excludeTags='+JSON[_0x1e88ac(0x28f)](_0x3f9b40)),_0x6668be;}const _0x5a97b0=Array[_0x1e88ac(0x2d7)](_0x559542)?_0x559542:[];let _0x4b4614=![],_0x58e5e7=_0x163b20['EWqRH'](_0x88479f['length'],0x0);const _0x462392=_0x47a89b=>typeof _0x47a89b===_0x1e88ac(0x2e6)?_0x47a89b['replace'](/^@/,'')['toLowerCase']()['trim']():_0x47a89b,_0x23d2d2=new Set(_0x88479f[_0x1e88ac(0x324)](_0x462392)),_0x2a48a=new Set(_0x3f9b40[_0x1e88ac(0x324)](_0x462392));for(const _0x7f85ca of _0x5a97b0){const _0x18d864=_0x163b20['VCafp'](_0x462392,_0x7f85ca);_0x2a48a[_0x1e88ac(0x26d)](_0x18d864)&&(_0x4b4614=!![]),_0x163b20[_0x1e88ac(0x25c)](_0x23d2d2['size'],0x0)&&_0x23d2d2[_0x1e88ac(0x26d)](_0x18d864)&&(_0x58e5e7=!![]);}const _0x51cd32=_0x163b20['hABsy'](_0x58e5e7,!_0x4b4614);return logger['debug'](_0x1e88ac(0x265)+(_0x555d15?.[_0x1e88ac(0x2e1)]?.()||_0x163b20[_0x1e88ac(0x2f9)])+']\x20isEnabledTestcase\x20(cucumber)\x20result='+_0x51cd32+_0x1e88ac(0x2b8)+JSON[_0x1e88ac(0x28f)](_0x5a97b0)+_0x1e88ac(0x371)+JSON[_0x1e88ac(0x28f)](_0x88479f)+_0x1e88ac(0x2ce)+JSON[_0x1e88ac(0x28f)](_0x3f9b40)),_0x51cd32;}catch(_0x228432){return logger[_0x1e88ac(0x252)](_0x1e88ac(0x265)+(_0x555d15?.[_0x1e88ac(0x2e1)]?.()||_0x163b20[_0x1e88ac(0x2f9)])+_0x1e88ac(0x23a)+_0x228432[_0x1e88ac(0x1e1)]),![];}}async[a80_0x40565e(0x33b)](_0x3f0ea0){const _0x36ee9d=a80_0x40565e,_0x560ae5={};_0x560ae5[_0x36ee9d(0x2d8)]=function(_0x159fbf,_0x458b3f){return _0x159fbf!==_0x458b3f;},_0x560ae5[_0x36ee9d(0x1d7)]='cucumber',_0x560ae5[_0x36ee9d(0x392)]=function(_0x31820a,_0x9b06a5){return _0x31820a!==_0x9b06a5;},_0x560ae5[_0x36ee9d(0x253)]=_0x36ee9d(0x328),_0x560ae5[_0x36ee9d(0x23b)]=_0x36ee9d(0x237),_0x560ae5[_0x36ee9d(0x28a)]='TEST_INIT',_0x560ae5[_0x36ee9d(0x362)]='onBeforeTest:\x20Page\x20is\x20null,\x20accessibility\x20cannot\x20be\x20initialized',_0x560ae5[_0x36ee9d(0x2d1)]=_0x36ee9d(0x308),_0x560ae5[_0x36ee9d(0x22d)]=_0x36ee9d(0x368),_0x560ae5[_0x36ee9d(0x1f2)]=function(_0x12382f,_0x344e50){return _0x12382f===_0x344e50;},_0x560ae5[_0x36ee9d(0x2c1)]=function(_0x122b49,_0x4644d4){return _0x122b49===_0x4644d4;},_0x560ae5[_0x36ee9d(0x2a4)]=_0x36ee9d(0x218),_0x560ae5[_0x36ee9d(0x349)]=function(_0x54b337,_0xb29906){return _0x54b337===_0xb29906;},_0x560ae5[_0x36ee9d(0x346)]='Unknown\x20Test',_0x560ae5['HTISW']=function(_0x5ca714,_0x3cab9e){return _0x5ca714>_0x3cab9e;},_0x560ae5['WZPfN']='function',_0x560ae5['RBgNo']=_0x36ee9d(0x35a),_0x560ae5[_0x36ee9d(0x387)]=function(_0x10e73c,_0x374a8f){return _0x10e73c&&_0x374a8f;},_0x560ae5[_0x36ee9d(0x2ec)]='unknown',_0x560ae5['smSnY']=_0x36ee9d(0x317);const _0x548743=_0x560ae5;if(_0x548743[_0x36ee9d(0x2d8)](_0x3f0ea0['testFramework'],_0x548743[_0x36ee9d(0x1d7)])&&_0x548743[_0x36ee9d(0x392)](_0x3f0ea0[_0x36ee9d(0x2bf)],_0x548743[_0x36ee9d(0x253)])){logger[_0x36ee9d(0x252)](_0x548743[_0x36ee9d(0x23b)]);return;}logger[_0x36ee9d(0x2ee)](_0x36ee9d(0x1f0)+JSON['stringify'](_0x3f0ea0));try{const _0x45144a=AutomationFramework[_0x36ee9d(0x24f)](),_0x5459e1=TestFramework[_0x36ee9d(0x24f)](),_0x57bdb4=_0x3f0ea0[_0x36ee9d(0x342)]||global[_0x36ee9d(0x1dd)]?.['pwPage']||null;if(!_0x57bdb4){_0x5459e1&&_0x5459e1[_0x36ee9d(0x20e)](_0x548743[_0x36ee9d(0x28a)],!![]);logger[_0x36ee9d(0x252)](_0x548743[_0x36ee9d(0x362)]);return;}logger['debug'](_0x548743['bJikd']);const _0x582e76=_0x5459e1?.[_0x36ee9d(0x2cf)](_0x548743[_0x36ee9d(0x22d)],![]),_0xe84e51=_0x5459e1?.[_0x36ee9d(0x2cf)](_0x548743[_0x36ee9d(0x28a)],![]);if(_0x548743[_0x36ee9d(0x1f2)](_0x582e76,![])&&_0x548743['dbuwG'](_0xe84e51,![])){_0x5459e1&&_0x5459e1['updateData'](_0x548743['fWsLM'],!![]);logger[_0x36ee9d(0x252)](_0x548743[_0x36ee9d(0x2a4)]);return;}_0x5459e1&&_0x5459e1[_0x36ee9d(0x20e)](_0x548743[_0x36ee9d(0x28a)],!![]);let _0x55fa8e,_0x5aa7e8;const _0x3b885a=_0x3f0ea0[_0x36ee9d(0x2bf)]||_0x548743[_0x36ee9d(0x1d7)];if(_0x548743['FxoIA'](_0x3b885a,_0x548743['vAiNd'])){_0x5aa7e8=_0x3f0ea0['testInfo']?.[_0x36ee9d(0x22e)]||_0x3f0ea0[_0x36ee9d(0x270)]?.['id']||global[_0x36ee9d(0x20c)]||global[_0x36ee9d(0x1dd)]?.['currentTest']?.[_0x36ee9d(0x22e)]||global['__workerDetails']?.[_0x36ee9d(0x22b)]?.['id'];const _0x4b9bd7=_0x5459e1?.[_0x36ee9d(0x247)]()?.[_0x36ee9d(0x37b)](_0x5aa7e8);if(_0x4b9bd7&&_0x4b9bd7[TestFrameworkConstants[_0x36ee9d(0x2ac)]])_0x55fa8e=_0x4b9bd7[TestFrameworkConstants[_0x36ee9d(0x2ac)]];else{if(_0x3f0ea0[_0x36ee9d(0x270)]?.['titlePath'])_0x55fa8e=_0x3f0ea0[_0x36ee9d(0x270)][_0x36ee9d(0x2fd)];else global[_0x36ee9d(0x1dd)]?.['currentTest']?.[_0x36ee9d(0x270)]?.[_0x36ee9d(0x2fd)]?_0x55fa8e=global[_0x36ee9d(0x1dd)][_0x36ee9d(0x22b)][_0x36ee9d(0x270)][_0x36ee9d(0x2fd)]:_0x55fa8e=_0x548743[_0x36ee9d(0x346)];}logger[_0x36ee9d(0x252)](_0x36ee9d(0x2a8)+_0x5aa7e8+_0x36ee9d(0x266)+JSON['stringify'](_0x55fa8e));}else{_0x5aa7e8=this[_0x36ee9d(0x321)](_0x3f0ea0);const _0x45a604=TestInfo[_0x36ee9d(0x2a9)](_0x5aa7e8);let _0x6da4e8=[];if(_0x45a604&&Array[_0x36ee9d(0x2d7)](_0x45a604[_0x36ee9d(0x35a)])&&_0x548743[_0x36ee9d(0x380)](_0x45a604['test_tags'][_0x36ee9d(0x241)],0x0))_0x6da4e8=_0x45a604[_0x36ee9d(0x35a)];else{if(_0x5459e1){const _0x3b43de=_0x548743[_0x36ee9d(0x1f2)](typeof _0x5459e1[_0x36ee9d(0x2cf)],_0x548743['WZPfN'])?_0x5459e1[_0x36ee9d(0x2cf)](_0x548743[_0x36ee9d(0x2fe)],[]):_0x5459e1[_0x36ee9d(0x35a)]||[];Array[_0x36ee9d(0x2d7)](_0x3b43de)&&(_0x6da4e8=_0x3b43de);}}_0x55fa8e=_0x6da4e8;}logger['info'](_0x36ee9d(0x30c)+JSON[_0x36ee9d(0x28f)](_0x55fa8e));const _0x510b6c=this[_0x36ee9d(0x271)](_0x45144a,_0x3f0ea0['platformCaps'],_0x3f0ea0[_0x36ee9d(0x2d2)]);logger['debug'](_0x36ee9d(0x2ad)+_0x510b6c+_0x36ee9d(0x365)+this[_0x36ee9d(0x374)]);const _0x214484=this['isEnabledTestcase'](_0x55fa8e,_0x45144a,_0x3b885a),_0x552706=_0x548743['rpyqy'](_0x510b6c,_0x214484),_0x1cdc44=CLIUtils[_0x36ee9d(0x31c)]();this[_0x36ee9d(0x302)][_0x36ee9d(0x1d9)](_0x1cdc44,_0x552706),global[_0x36ee9d(0x23f)]?.[_0x36ee9d(0x358)]&&global[_0x36ee9d(0x23f)][_0x36ee9d(0x358)]()[_0x36ee9d(0x329)](_0x552706),logger[_0x36ee9d(0x252)](_0x36ee9d(0x265)+(_0x45144a?.['getPlatformIndex']?.()||_0x548743['nExIG'])+']\x20should\x20run\x20accessibility\x20value='+_0x552706),_0x552706?(global['accessibilityPlatform']=!![],process[_0x36ee9d(0x1ea)][_0x36ee9d(0x36f)]=_0x548743[_0x36ee9d(0x36e)],this[_0x36ee9d(0x2e2)]()):global[_0x36ee9d(0x357)]=![];}catch(_0xb6970e){logger['error'](_0x36ee9d(0x2a7)+(_0xb6970e[_0x36ee9d(0x38a)]||_0xb6970e[_0x36ee9d(0x1e1)]));const _0x3dc6=CLIUtils['getCurrentInstanceName']();this[_0x36ee9d(0x302)][_0x36ee9d(0x1d9)](_0x3dc6,![]),global[_0x36ee9d(0x357)]=![];}}[a80_0x40565e(0x280)](){const _0x5700eb=a80_0x40565e;return this['capabilities'][_0x5700eb(0x21f)](_0x551523=>_0x551523[_0x5700eb(0x391)]()==='goog:chromeOptions')?.['getValue']()||'';}[a80_0x40565e(0x386)](_0x1cb12c){const _0x1e20a1=a80_0x40565e;try{const _0x32f2c6=this['accessibilityConfig']?.[_0x1e20a1(0x1d0)]?.[_0x1e20a1(0x23c)]||[],_0x496b52=_0x32f2c6[_0x1e20a1(0x21f)](_0x433dd4=>_0x433dd4[_0x1e20a1(0x232)]===_0x1cb12c);return _0x496b52?_0x496b52[_0x1e20a1(0x260)]:null;}catch(_0x10b175){return logger[_0x1e20a1(0x252)](_0x1e20a1(0x354)+_0x1cb12c+':\x20'+_0x10b175[_0x1e20a1(0x1e1)]),null;}}async[a80_0x40565e(0x223)](_0x589901,_0x2cd8f4){const _0x4a4e50=a80_0x40565e,_0x4f3911=_0x589901[_0x4a4e50(0x206)]()[_0x4a4e50(0x26b)](),_0x3e07df=_0x4f3911[_0x4a4e50(0x38f)](),_0x3e4730=_0x4f3911[_0x4a4e50(0x2c9)]()?.[_0x4a4e50(0x24a)]();scripts[_0x4a4e50(0x205)](_0x3e07df,_0x3e4730),scripts[_0x4a4e50(0x268)]();const _0x57e3b4=_0x4f3911[_0x4a4e50(0x384)]();this[_0x4a4e50(0x376)]=_0x4f3911[_0x4a4e50(0x384)](),await this[_0x4a4e50(0x310)](_0x57e3b4,_0x2cd8f4[_0x4a4e50(0x2d2)]);}async['setAccessibilityToken'](_0xa3643f,_0x272d57={}){const _0x31f45a=a80_0x40565e,_0x5171f3={};_0x5171f3['UAmAu']=function(_0x9064d,_0x514d51){return _0x9064d===_0x514d51;},_0x5171f3[_0x31f45a(0x36b)]=_0x31f45a(0x227),_0x5171f3[_0x31f45a(0x363)]=_0x31f45a(0x32f),_0x5171f3[_0x31f45a(0x2e3)]=function(_0x17eb8b,_0x41071c){return _0x17eb8b===_0x41071c;},_0x5171f3[_0x31f45a(0x219)]=_0x31f45a(0x1e7),_0x5171f3[_0x31f45a(0x311)]=_0x31f45a(0x1f1),_0x5171f3[_0x31f45a(0x32b)]=_0x31f45a(0x208),_0x5171f3['lOEFy']=_0x31f45a(0x28d),_0x5171f3[_0x31f45a(0x215)]='scannerProcessingTimeout',_0x5171f3[_0x31f45a(0x296)]=_0x31f45a(0x366);const _0x5c9e22=_0x5171f3;global[_0x31f45a(0x37a)]=global[_0x31f45a(0x37a)]||{};for(const _0xe60f36 of _0xa3643f){logger[_0x31f45a(0x2ee)](_0x31f45a(0x1d5)+_0xe60f36[_0x31f45a(0x391)]()+_0x31f45a(0x370)+_0xe60f36[_0x31f45a(0x2ab)]());if(_0x5c9e22[_0x31f45a(0x20d)](_0xe60f36[_0x31f45a(0x391)](),_0x5c9e22['YFNDf']))process['env']['BS_A11Y_JWT']=_0xe60f36[_0x31f45a(0x2ab)](),global[_0x31f45a(0x37a)][_0x5c9e22['GULPY']]=_0xe60f36[_0x31f45a(0x2ab)]();else{if(_0x5c9e22[_0x31f45a(0x2e3)](_0xe60f36[_0x31f45a(0x391)](),_0x5c9e22[_0x31f45a(0x219)]))global['__accessibilityOptions'][_0x5c9e22['eAmtt']]=_0xe60f36[_0x31f45a(0x2ab)]();else{if(_0x5c9e22[_0x31f45a(0x20d)](_0xe60f36[_0x31f45a(0x391)](),_0x5c9e22[_0x31f45a(0x32b)]))global['__accessibilityOptions'][_0x5c9e22[_0x31f45a(0x1fa)]]=_0xe60f36[_0x31f45a(0x2ab)]();else _0x5c9e22['UAmAu'](_0xe60f36[_0x31f45a(0x391)](),_0x5c9e22['xLcDK'])&&(global['__accessibilityOptions'][_0x5c9e22[_0x31f45a(0x296)]]=_0xe60f36[_0x31f45a(0x2ab)]());}}}}async[a80_0x40565e(0x22a)](_0x2c73f5){const _0x56cc3d=a80_0x40565e,_0x111b18={};_0x111b18[_0x56cc3d(0x236)]=function(_0x132c24,_0x3b6c3e){return _0x132c24!==_0x3b6c3e;},_0x111b18['Lyadm']='cucumber',_0x111b18[_0x56cc3d(0x2f5)]=function(_0x492ffa,_0x5a424f){return _0x492ffa!==_0x5a424f;},_0x111b18['YZbNh']=_0x56cc3d(0x328),_0x111b18[_0x56cc3d(0x245)]='onAfterTest:\x20Skipping\x20accessibility\x20cleanup\x20-\x20not\x20a\x20supported\x20test\x20framework',_0x111b18[_0x56cc3d(0x389)]='unknown';const _0x13aba8=_0x111b18;if(_0x13aba8[_0x56cc3d(0x236)](_0x2c73f5['testFramework'],_0x13aba8[_0x56cc3d(0x298)])&&_0x13aba8['Auptr'](_0x2c73f5[_0x56cc3d(0x2bf)],_0x13aba8[_0x56cc3d(0x255)])){logger[_0x56cc3d(0x252)](_0x13aba8['JsJEs']);return;}const _0xf1c6c3=_0x2c73f5[_0x56cc3d(0x270)]?.['testAnalyticsId']||_0x2c73f5[_0x56cc3d(0x270)]?.['id']||global[_0x56cc3d(0x20c)];logger[_0x56cc3d(0x2ee)](_0x56cc3d(0x38e)+_0x2c73f5[_0x56cc3d(0x2bf)]+_0x56cc3d(0x36c)+_0xf1c6c3);try{const _0x3bd30e=_0x2c73f5[_0x56cc3d(0x30a)]||AutomationFramework[_0x56cc3d(0x24f)](),_0x23c89f=CLIUtils['getCurrentInstanceName'](),_0xeb7d22=this[_0x56cc3d(0x225)]();logger[_0x56cc3d(0x252)](_0x56cc3d(0x265)+(_0x3bd30e?.[_0x56cc3d(0x2e1)]?.()||_0x13aba8[_0x56cc3d(0x389)])+']\x20onAfterTest\x20should\x20scan='+_0xeb7d22),_0xeb7d22&&await this[_0x56cc3d(0x1de)](_0x3bd30e,_0x2c73f5),this['accessibility'][_0x56cc3d(0x367)](_0x23c89f),this[_0x56cc3d(0x229)][_0x56cc3d(0x367)](_0x23c89f);}catch(_0x37a50e){logger[_0x56cc3d(0x222)]('Error\x20in\x20onAfterTest\x20accessibility\x20module:\x20'+(_0x37a50e[_0x56cc3d(0x38a)]||_0x37a50e['message']));}}async[a80_0x40565e(0x1de)](_0x59d975,_0x2402b4){const _0x2e0d9d=a80_0x40565e,_0x912443={};_0x912443[_0x2e0d9d(0x38b)]=function(_0x3957b2,_0x59082b){return _0x3957b2===_0x59082b;},_0x912443[_0x2e0d9d(0x27c)]='function',_0x912443[_0x2e0d9d(0x26e)]=function(_0x1907ab,_0x4a270e){return _0x1907ab===_0x4a270e;},_0x912443[_0x2e0d9d(0x31e)]=_0x2e0d9d(0x328),_0x912443[_0x2e0d9d(0x1e9)]=_0x2e0d9d(0x309),_0x912443[_0x2e0d9d(0x2c7)]=_0x2e0d9d(0x291),_0x912443[_0x2e0d9d(0x336)]=_0x2e0d9d(0x302),_0x912443['OGwFL']=_0x2e0d9d(0x2c4),_0x912443[_0x2e0d9d(0x2d6)]=_0x2e0d9d(0x2da),_0x912443[_0x2e0d9d(0x373)]='present',_0x912443[_0x2e0d9d(0x1db)]=_0x2e0d9d(0x275),_0x912443[_0x2e0d9d(0x21d)]=function(_0x930758,_0x66a932){return _0x930758===_0x66a932;},_0x912443['NVJYv']=function(_0x98cd91,_0x1e6ad1){return _0x98cd91||_0x1e6ad1;},_0x912443['qdAca']=_0x2e0d9d(0x30d),_0x912443[_0x2e0d9d(0x2a3)]=_0x2e0d9d(0x2d5);const _0x1901ce=_0x912443;try{const _0x5cf0c4=_0x2402b4[_0x2e0d9d(0x2bf)]||(_0x1901ce[_0x2e0d9d(0x26e)](this[_0x2e0d9d(0x28e)]?.['name']?.[_0x2e0d9d(0x326)](),_0x1901ce['ezUUK'])?_0x1901ce[_0x2e0d9d(0x31e)]:_0x1901ce[_0x2e0d9d(0x1e9)]);let _0x2e26cf='',_0x137678=null,_0x12957e=null;if(_0x1901ce[_0x2e0d9d(0x38b)](_0x5cf0c4,_0x1901ce[_0x2e0d9d(0x31e)])){_0x137678=_0x2402b4[_0x2e0d9d(0x270)]?.[_0x2e0d9d(0x22e)]||_0x2402b4['testInfo']?.['id']||global['__jestCurrentTestIdentifier'];if(!_0x137678){logger[_0x2e0d9d(0x1d1)](_0x1901ce[_0x2e0d9d(0x2c7)]);return;}try{const _0x10b1cf=await GrpcClient[_0x2e0d9d(0x251)]()['fetchDriverExecuteParamsEvent'](process['env'][_0x2e0d9d(0x27d)],_0x1901ce['MKffr'],_0x1901ce[_0x2e0d9d(0x228)],_0x137678),_0x2d8288=AccessibilityModule[_0x2e0d9d(0x350)](null,_0x10b1cf);_0x2e26cf=_0x2d8288?.['thTestRunUuid']||'',logger[_0x2e0d9d(0x252)]('[AccessibilityModule]\x20stopTestCapture:\x20Jest\x20-\x20resolved\x20thTestRunUuid='+_0x2e26cf+_0x2e0d9d(0x32a)+_0x137678),_0x12957e=_0x10b1cf;}catch(_0x52c1b5){logger[_0x2e0d9d(0x222)](_0x2e0d9d(0x1f6)+_0x52c1b5[_0x2e0d9d(0x1e1)]);return;}}else{const _0x1af08b=this[_0x2e0d9d(0x321)](_0x2402b4);_0x2e26cf=TestInfo[_0x2e0d9d(0x1f7)](_0x1af08b);}const _0x14529d=((()=>{const _0xa07180=_0x2e0d9d,_0x1bcb21=(this[_0xa07180(0x2bc)]?.[_0xa07180(0x1d0)]?.['capabilitiesList']||[])[_0xa07180(0x21f)](_0x18bd8b=>(typeof _0x18bd8b[_0xa07180(0x391)]===_0xa07180(0x385)?_0x18bd8b[_0xa07180(0x391)]():_0x18bd8b[_0xa07180(0x232)])===this[_0xa07180(0x267)]);return _0x1bcb21?_0x1901ce['YEsjv'](typeof _0x1bcb21['getValue'],_0x1901ce[_0xa07180(0x27c)])?_0x1bcb21['getValue']():_0x1bcb21[_0xa07180(0x260)]:'';})()),_0x5d5f26=process[_0x2e0d9d(0x1ea)][_0x2e0d9d(0x286)]||'';logger[_0x2e0d9d(0x252)](_0x2e0d9d(0x265)+(_0x59d975?.[_0x2e0d9d(0x2e1)]?.()||_0x1901ce[_0x2e0d9d(0x2d6)])+']\x20clear\x20'+_0x2e26cf+_0x2e0d9d(0x382)+_0x14529d+'\x20a11yToken='+(_0x5d5f26?_0x1901ce['twQAI']:_0x1901ce[_0x2e0d9d(0x1db)]));let _0x37e6de;if(_0x1901ce[_0x2e0d9d(0x21d)](_0x5cf0c4,_0x1901ce[_0x2e0d9d(0x31e)]))_0x37e6de=AccessibilityModule[_0x2e0d9d(0x350)](_0x2e26cf,_0x12957e);else{const _0xd2e7e4=await GrpcClient[_0x2e0d9d(0x251)]()[_0x2e0d9d(0x20b)](process['env'][_0x2e0d9d(0x27d)],_0x1901ce[_0x2e0d9d(0x336)],_0x1901ce[_0x2e0d9d(0x228)]);_0x37e6de=AccessibilityModule[_0x2e0d9d(0x350)](_0x2e26cf,_0xd2e7e4);}logger['debug'](_0x2e0d9d(0x2ba)+JSON['stringify'](_0x37e6de));const _0x26b4fb=Object[_0x2e0d9d(0x327)]({},{'thTestRunUuid':_0x1901ce[_0x2e0d9d(0x333)](_0x2e26cf,''),'thBuildUuid':_0x1901ce['NVJYv'](_0x14529d,''),'thJwtToken':_0x1901ce[_0x2e0d9d(0x333)](_0x5d5f26,'')},_0x37e6de);logger[_0x2e0d9d(0x252)](_0x2e0d9d(0x216)+_0x2e26cf+_0x2e0d9d(0x365)+this[_0x2e0d9d(0x374)]);let _0x73add1=global[_0x2e0d9d(0x1dd)]?.[_0x2e0d9d(0x2e5)]||null;!_0x73add1&&(_0x73add1=AutomationFramework[_0x2e0d9d(0x204)](_0x59d975,_0x1901ce[_0x2e0d9d(0x25e)],null)),!_0x73add1&&(_0x73add1=AutomationFramework[_0x2e0d9d(0x204)](_0x59d975,_0x1901ce[_0x2e0d9d(0x2a3)],null)),await this[_0x2e0d9d(0x256)](this[_0x2e0d9d(0x225)](),_0x2e26cf,_0x73add1,_0x26b4fb,this[_0x2e0d9d(0x374)]);}catch(_0x2cf435){logger['error']('Error\x20in\x20stopTestCapture:\x20'+(_0x2cf435[_0x2e0d9d(0x38a)]||_0x2cf435[_0x2e0d9d(0x1e1)]));}}async[a80_0x40565e(0x256)](_0x54cb88,_0x3760c8,_0x1a9e83,_0x48c584,_0x9cdff6){const _0x28c996=a80_0x40565e,_0x120814={};_0x120814[_0x28c996(0x2a5)]=_0x28c996(0x2c4),_0x120814['QwqpC']=function(_0x4f6f51,_0x2797d1){return _0x4f6f51&&_0x2797d1;},_0x120814[_0x28c996(0x239)]=_0x28c996(0x27f),_0x120814['XIway']=function(_0xb70f08,_0x2eb36e){return _0xb70f08===_0x2eb36e;},_0x120814[_0x28c996(0x2e7)]=_0x28c996(0x275),_0x120814['bIEjo']=_0x28c996(0x220),_0x120814[_0x28c996(0x221)]=_0x28c996(0x1ee),_0x120814[_0x28c996(0x2a1)]=_0x28c996(0x1da),_0x120814[_0x28c996(0x37c)]=_0x28c996(0x294),_0x120814[_0x28c996(0x224)]=function(_0x384147,_0x47dfbd){return _0x384147&&_0x47dfbd;},_0x120814[_0x28c996(0x339)]=_0x28c996(0x231),_0x120814[_0x28c996(0x25f)]='a11y:save-results',_0x120814[_0x28c996(0x313)]='Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended\x20from\x20cli.';const _0x23a50f=_0x120814;try{const _0x61b512=this[_0x28c996(0x2e0)](_0x23a50f[_0x28c996(0x2a5)]);if(_0x23a50f[_0x28c996(0x262)](!_0x9cdff6,!_0x61b512)){logger[_0x28c996(0x252)](_0x23a50f[_0x28c996(0x239)]);return;}if(!_0x3760c8||_0x23a50f[_0x28c996(0x273)](_0x3760c8,_0x23a50f[_0x28c996(0x2e7)])||_0x23a50f[_0x28c996(0x273)](_0x3760c8,'')){logger[_0x28c996(0x252)](_0x23a50f['bIEjo']);return;}logger['debug'](_0x28c996(0x261)+JSON[_0x28c996(0x28f)](_0x48c584)),_0x54cb88&&(logger['debug'](_0x23a50f[_0x28c996(0x221)]),await this[_0x28c996(0x2a0)](_0x1a9e83,_0x3760c8,_0x23a50f[_0x28c996(0x2a1)],_0x48c584,_0x9cdff6,_0x23a50f[_0x28c996(0x37c)]),_0x23a50f[_0x28c996(0x224)](!_0x9cdff6,_0x61b512)&&(logger[_0x28c996(0x252)](_0x23a50f[_0x28c996(0x339)]),await PerformanceTester['measureWrapper'](_0x23a50f[_0x28c996(0x25f)],async()=>{const _0x10be84=_0x28c996;await this['performScanForCli'](_0x1a9e83,_0x3760c8,_0x23a50f['FZPmp'],_0x48c584,_0x9cdff6,_0x23a50f[_0x10be84(0x2a5)]);})()),logger['info'](_0x23a50f[_0x28c996(0x313)]));}catch(_0x500805){logger[_0x28c996(0x222)](_0x28c996(0x2ff)+(_0x500805[_0x28c996(0x38a)]||_0x500805[_0x28c996(0x1e1)]));}}async['onBeforeExecute'](_0x22296a){const _0x4ef3ae=a80_0x40565e,_0x5dbb75={};_0x5dbb75[_0x4ef3ae(0x2b7)]=function(_0x1fe4bd,_0x1e59e2){return _0x1fe4bd!==_0x1e59e2;},_0x5dbb75[_0x4ef3ae(0x2ef)]=_0x4ef3ae(0x309),_0x5dbb75['SFHfI']=function(_0x1f6ae5,_0x48f5c1){return _0x1f6ae5!==_0x48f5c1;},_0x5dbb75[_0x4ef3ae(0x31f)]='jest',_0x5dbb75['hcEbv']=_0x4ef3ae(0x25d),_0x5dbb75[_0x4ef3ae(0x244)]='unknown',_0x5dbb75[_0x4ef3ae(0x29b)]=_0x4ef3ae(0x22c),_0x5dbb75['PHSzG']=function(_0x337460,_0x5c8031){return _0x337460===_0x5c8031;},_0x5dbb75[_0x4ef3ae(0x36d)]=_0x4ef3ae(0x2d3),_0x5dbb75[_0x4ef3ae(0x23e)]=_0x4ef3ae(0x302),_0x5dbb75[_0x4ef3ae(0x2ea)]='performScan',_0x5dbb75[_0x4ef3ae(0x2c6)]=_0x4ef3ae(0x2fc),_0x5dbb75['bXmsl']=_0x4ef3ae(0x2a2),_0x5dbb75[_0x4ef3ae(0x24e)]=function(_0x3b9769,_0x3286cf){return _0x3b9769===_0x3286cf;},_0x5dbb75['axAHi']=_0x4ef3ae(0x294),_0x5dbb75['CwbQS']='null';const _0x4f8e18=_0x5dbb75;if(_0x4f8e18['AqIxq'](_0x22296a[_0x4ef3ae(0x2bf)],_0x4f8e18[_0x4ef3ae(0x2ef)])&&_0x4f8e18['SFHfI'](_0x22296a['testFramework'],_0x4f8e18[_0x4ef3ae(0x31f)])){logger[_0x4ef3ae(0x252)](_0x4f8e18[_0x4ef3ae(0x2b3)]);return;}logger[_0x4ef3ae(0x252)](_0x4ef3ae(0x249)+(_0x22296a['commandName']||_0x4f8e18[_0x4ef3ae(0x244)])+_0x4ef3ae(0x32d)+_0x22296a[_0x4ef3ae(0x2bf)]);try{const _0x20fb8a=_0x22296a[_0x4ef3ae(0x30a)]||AutomationFramework[_0x4ef3ae(0x24f)](),_0x45fdbe=TestFramework['getTrackedInstance'](),_0x210cae=_0x22296a[_0x4ef3ae(0x2e9)]||_0x22296a[_0x4ef3ae(0x375)]?.['getName']();if(!_0x210cae){logger['debug'](_0x4f8e18[_0x4ef3ae(0x29b)]);return;}if(!this[_0x4ef3ae(0x225)]()){logger[_0x4ef3ae(0x252)](_0x4ef3ae(0x24d)+_0x210cae);return;}if(!this[_0x4ef3ae(0x314)](_0x210cae)){logger['debug']('onBeforeExecute:\x20Command\x20'+_0x210cae+_0x4ef3ae(0x2b6));return;}const _0x3978f6=_0x22296a[_0x4ef3ae(0x342)]||global[_0x4ef3ae(0x1dd)]?.[_0x4ef3ae(0x2e5)];if(!_0x3978f6){logger[_0x4ef3ae(0x252)]('onBeforeExecute:\x20Page\x20object\x20not\x20available\x20for\x20command\x20'+_0x210cae);return;}let _0x12c6c4='',_0x400384=null;if(_0x4f8e18[_0x4ef3ae(0x1e8)](_0x22296a[_0x4ef3ae(0x2bf)],_0x4f8e18[_0x4ef3ae(0x31f)])){_0x400384=_0x22296a[_0x4ef3ae(0x270)]?.[_0x4ef3ae(0x22e)]||_0x22296a[_0x4ef3ae(0x270)]?.['id']||global[_0x4ef3ae(0x20c)];if(!_0x400384){logger[_0x4ef3ae(0x1d1)](_0x4f8e18['VPfuK']);return;}try{const _0x350de0=await GrpcClient['getInstance']()[_0x4ef3ae(0x20b)](process[_0x4ef3ae(0x1ea)][_0x4ef3ae(0x27d)],_0x4f8e18['GOdZY'],_0x4f8e18['sAAML'],_0x400384),_0x2373ee=AccessibilityModule['loadDriverExecuteParams'](null,_0x350de0);_0x12c6c4=_0x2373ee?.[_0x4ef3ae(0x2f8)]||'',logger[_0x4ef3ae(0x252)]('[AccessibilityModule]\x20onBeforeExecute:\x20Jest\x20-\x20resolved\x20thTestRunUuid='+_0x12c6c4+'\x20from\x20testIdentifier='+_0x400384);}catch(_0x5d6360){logger[_0x4ef3ae(0x222)]('onBeforeExecute:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20'+_0x5d6360['message']);return;}}else _0x12c6c4=this['getCapabilityValue'](_0x4f8e18['fstPF'])||'';const _0x2eddb5=this[_0x4ef3ae(0x386)](_0x4f8e18[_0x4ef3ae(0x213)])||this[_0x4ef3ae(0x2bc)][this[_0x4ef3ae(0x267)]]||null,_0x147451=process['env'][_0x4ef3ae(0x286)]||'',_0x3541ff=this['getParamsForScanForCli'](_0x210cae,_0x12c6c4,_0x2eddb5,_0x147451),_0x31dd6e=_0x4f8e18[_0x4ef3ae(0x24e)](_0x22296a[_0x4ef3ae(0x2bf)],_0x4f8e18[_0x4ef3ae(0x31f)])?await AccessibilityModule['fetchCentralAuthA11yConfig'](_0x4f8e18[_0x4ef3ae(0x34f)],_0x12c6c4,_0x400384):await AccessibilityModule['fetchCentralAuthA11yConfig'](_0x4f8e18[_0x4ef3ae(0x34f)],_0x12c6c4);logger['info']('ScanArgs:\x20'+(_0x3541ff?JSON[_0x4ef3ae(0x28f)](_0x3541ff):_0x4f8e18[_0x4ef3ae(0x340)]));const _0x371c67=CLIUtils[_0x4ef3ae(0x29d)](_0x3541ff,_0x31dd6e);logger[_0x4ef3ae(0x2ee)](_0x4ef3ae(0x29a)+(_0x371c67?JSON['stringify'](_0x371c67):_0x4f8e18[_0x4ef3ae(0x340)])),logger['debug'](_0x4ef3ae(0x2e4)+_0x210cae);const _0x28d2f2=await this[_0x4ef3ae(0x2a0)](_0x3978f6,_0x12c6c4,_0x210cae,_0x371c67,this[_0x4ef3ae(0x374)]);logger[_0x4ef3ae(0x252)](_0x4ef3ae(0x29f)+_0x210cae+_0x4ef3ae(0x289)+_0x28d2f2);}catch(_0x2e05ab){logger[_0x4ef3ae(0x222)]('Error\x20in\x20onBeforeExecute\x20accessibility\x20module:\x20'+(_0x2e05ab[_0x4ef3ae(0x38a)]||_0x2e05ab[_0x4ef3ae(0x1e1)]));}}[a80_0x40565e(0x297)](){const _0x5d5fef=a80_0x40565e;return this[_0x5d5fef(0x225)]();}[a80_0x40565e(0x304)](_0x118f17){const _0x9dd452=a80_0x40565e,_0x4267ab=CLIUtils[_0x9dd452(0x31c)]();this['accessibility']['set'](_0x4267ab,_0x118f17);}async[a80_0x40565e(0x32e)](_0xc3e8f3){const _0x480799=a80_0x40565e,_0x20515a={};_0x20515a[_0x480799(0x372)]=_0x480799(0x2da);const _0x579d8a=_0x20515a;try{const _0xc567dc=_0xc3e8f3[_0x480799(0x30a)]||AutomationFramework[_0x480799(0x24f)](),_0x57cf93=_0xc567dc?.[_0x480799(0x2cf)]?.()?.['get']?.(this['KEY_INIT'])||![];if(_0x57cf93)return;PerformanceTester['start'](EVENTS['SDK_ACCESSIBILITY_CONFIG']);const _0x2d3f46=await GrpcClient[_0x480799(0x251)]()['getAccessibilityConfig'](_0xc3e8f3);_0x2d3f46&&_0x2d3f46[_0x480799(0x206)]&&_0x2d3f46[_0x480799(0x206)]()&&_0x2d3f46[_0x480799(0x206)]()[_0x480799(0x312)]()?(await this['loadAccessibilityConfig'](_0x2d3f46,_0xc3e8f3),_0xc567dc?.[_0x480799(0x2cf)]&&_0xc567dc[_0x480799(0x2cf)]()[_0x480799(0x1d9)](this[_0x480799(0x331)],!![]),logger[_0x480799(0x252)](_0x480799(0x265)+(_0xc567dc?.[_0x480799(0x2e1)]?.()||_0x579d8a['dEBAD'])+_0x480799(0x300))):logger[_0x480799(0x252)]('[platform\x20-\x20'+(_0xc567dc?.[_0x480799(0x2e1)]?.()||_0x579d8a[_0x480799(0x372)])+_0x480799(0x345)),PerformanceTester[_0x480799(0x2f4)](EVENTS['SDK_ACCESSIBILITY_CONFIG']);}catch(_0x4d5e5b){PerformanceTester[_0x480799(0x2f4)](EVENTS[_0x480799(0x1f9)],![],_0x4d5e5b['message']),logger[_0x480799(0x222)](_0x480799(0x306)+(_0x4d5e5b[_0x480799(0x38a)]||_0x4d5e5b[_0x480799(0x1e1)]));}}async[a80_0x40565e(0x36a)](_0x12dc4d,_0xc55d85){const _0x1e6cfb=a80_0x40565e;await this[_0x1e6cfb(0x223)](_0x12dc4d,_0xc55d85);const _0x1b8e12=_0x12dc4d['getAccessibility']()[_0x1e6cfb(0x26b)]();if(_0x1b8e12){const _0x2ded00=_0x12dc4d['getTesthub']&&_0x12dc4d[_0x1e6cfb(0x2be)]();_0x2ded00&&(this['accessibilityConfig'][this[_0x1e6cfb(0x267)]]=_0x2ded00[_0x1e6cfb(0x20a)]&&_0x2ded00[_0x1e6cfb(0x20a)]());}}[a80_0x40565e(0x314)](_0x30a26d){const _0x5a219d=a80_0x40565e,_0x3b2bc3={};_0x3b2bc3[_0x5a219d(0x234)]=function(_0x32fcb4,_0xdbc92){return _0x32fcb4===_0xdbc92;};const _0x39dd71=_0x3b2bc3;try{if(!_0x30a26d)return![];const _0x17d297=this[_0x5a219d(0x2bc)]?.[_0x5a219d(0x1d0)]?.[_0x5a219d(0x38c)]?.[_0x5a219d(0x325)]||[],_0x47c7ca=_0x17d297[_0x5a219d(0x211)](_0x546449=>{const _0x21ee8b=_0x5a219d;return _0x546449['name']&&_0x39dd71[_0x21ee8b(0x234)](_0x546449['name']['toLowerCase'](),_0x30a26d[_0x21ee8b(0x326)]());});return logger['debug'](_0x5a219d(0x1d2)+_0x30a26d+_0x5a219d(0x1d4)+_0x47c7ca+_0x5a219d(0x2d4)+JSON['stringify'](_0x17d297['map'](_0x26c1dd=>_0x26c1dd[_0x5a219d(0x232)]))),_0x47c7ca;}catch(_0x3f57f9){return logger[_0x5a219d(0x252)]('Error\x20in\x20shouldScanForCommand:\x20'+_0x3f57f9['message']),![];}}[a80_0x40565e(0x2b5)](_0x3b454){const _0x2f3ee1=a80_0x40565e,_0x53e6ae={};_0x53e6ae[_0x2f3ee1(0x30e)]=function(_0x18b2cc,_0x2939f1){return _0x18b2cc===_0x2939f1;},_0x53e6ae[_0x2f3ee1(0x24c)]=_0x2f3ee1(0x2e6),_0x53e6ae[_0x2f3ee1(0x238)]=_0x2f3ee1(0x279);const _0xe383aa=_0x53e6ae,_0x58f850=_0x3b454[_0x2f3ee1(0x2dd)]&&_0x3b454[_0x2f3ee1(0x2dd)]();return _0x58f850&&_0xe383aa['ZwqlT'](typeof _0x58f850,_0xe383aa[_0x2f3ee1(0x24c)])&&_0x58f850['includes'](_0xe383aa[_0x2f3ee1(0x238)]);}['isAccessibilityScriptCommand'](_0x2dbe8a){const _0x689b8=a80_0x40565e,_0x8d1314={};_0x8d1314[_0x689b8(0x322)]=function(_0x48e363,_0x425804){return _0x48e363!==_0x425804;},_0x8d1314['jVZPa']=_0x689b8(0x2e6),_0x8d1314[_0x689b8(0x31a)]=_0x689b8(0x302),_0x8d1314[_0x689b8(0x316)]=_0x689b8(0x2dc),_0x8d1314[_0x689b8(0x2c0)]='getResults',_0x8d1314[_0x689b8(0x277)]=_0x689b8(0x292);const _0x4dea9a=_0x8d1314,_0x4d94a1=_0x2dbe8a[_0x689b8(0x2dd)]&&_0x2dbe8a['getScript']();if(!_0x4d94a1||_0x4dea9a[_0x689b8(0x322)](typeof _0x4d94a1,_0x4dea9a[_0x689b8(0x1e5)]))return![];return _0x4d94a1['includes'](_0x4dea9a['ctLWP'])||_0x4d94a1[_0x689b8(0x38d)](_0x4dea9a[_0x689b8(0x316)])||_0x4d94a1[_0x689b8(0x38d)](_0x4dea9a[_0x689b8(0x2c0)])||_0x4d94a1[_0x689b8(0x38d)](_0x4dea9a['McRpC']);}[a80_0x40565e(0x1d3)](_0xd6180c,_0x11abf6,_0x21140f,_0x440c6e){const _0xe56dec=a80_0x40565e,_0x35c623={};_0x35c623[_0xe56dec(0x1ff)]=function(_0x21e4df,_0x2561e3){return _0x21e4df||_0x2561e3;};const _0x27cf39=_0x35c623;return{'command':_0xd6180c,'thTestRunUuid':_0x27cf39[_0xe56dec(0x1ff)](_0x11abf6,''),'thBuildUuid':_0x27cf39[_0xe56dec(0x1ff)](_0x21140f,''),'thJwtToken':_0x27cf39['fJfLI'](_0x440c6e,''),'timestamp':new Date()[_0xe56dec(0x355)]()};}[a80_0x40565e(0x2e0)](_0x2096c6){const _0x4429d7=a80_0x40565e,_0x384bb2={};_0x384bb2['xCxOO']=function(_0x3925a4,_0xd70b2a){return _0x3925a4||_0xd70b2a;};const _0x149627=_0x384bb2;try{const _0x42c8d0=this[_0x4429d7(0x2bc)]?.[_0x4429d7(0x1d0)]?.['scriptsList']||[],_0x4df47f=_0x42c8d0[_0x4429d7(0x21f)](_0x5eac18=>_0x5eac18[_0x4429d7(0x232)]===_0x2096c6);return _0x149627[_0x4429d7(0x1ed)](_0x4df47f,null);}catch(_0x13bd16){return logger['debug'](_0x4429d7(0x390)+_0x2096c6+':\x20'+_0x13bd16[_0x4429d7(0x1e1)]),null;}}async['executeScriptByName'](_0xe7f5aa,_0x509e8c,_0x39b22c=null){const _0x128bc9=a80_0x40565e,_0x378071={'Fhpbg':function(_0x5d3937,_0x140258){return _0x5d3937(_0x140258);},'RVUgb':'../../playwright/accessibility-helper'};try{if(!_0xe7f5aa)return logger[_0x128bc9(0x252)](_0x128bc9(0x30f)+_0x509e8c),null;const _0x27696d=this[_0x128bc9(0x2e0)](_0x509e8c);if(!_0x27696d||!_0x27696d[_0x128bc9(0x375)])return logger[_0x128bc9(0x252)](_0x128bc9(0x21c)+_0x509e8c+_0x128bc9(0x34b)),null;logger[_0x128bc9(0x252)](_0x128bc9(0x23d)+_0x509e8c+_0x128bc9(0x203));const _0x5ad0b5=_0x378071[_0x128bc9(0x25a)](require,_0x378071['RVUgb']),_0x245eaf=_0x39b22c?await _0x5ad0b5[_0x128bc9(0x2b1)](_0xe7f5aa,_0x27696d['command'],_0x39b22c):await _0x5ad0b5[_0x128bc9(0x2b1)](_0xe7f5aa,_0x27696d['command']);return _0x245eaf;}catch(_0x289beb){return logger['error'](_0x128bc9(0x2ed)+_0x509e8c+':\x20'+(_0x289beb[_0x128bc9(0x38a)]||_0x289beb[_0x128bc9(0x1e1)])),null;}}async[a80_0x40565e(0x2a0)](_0x25ddd8,_0xda6267,_0x3cae3b,_0x1f32b1,_0x325ece,_0x400286=a80_0x40565e(0x294)){const _0x9af21d=a80_0x40565e,_0x1c878d={'mMWGt':function(_0x51310a,_0x3f569a){return _0x51310a===_0x3f569a;},'blzxT':_0x9af21d(0x294),'rMLqR':function(_0x5ef6d9,_0x39b8ca){return _0x5ef6d9(_0x39b8ca);},'rTcOy':'../../playwright/accessibility-helper','pVsEl':function(_0x2d7182,_0x27ed7d){return _0x2d7182(_0x27ed7d);}};try{logger[_0x9af21d(0x252)]('[CLI]\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20'+_0x3cae3b+_0x9af21d(0x347)+_0x400286);const _0x5bba7f=this[_0x9af21d(0x2e0)](_0x400286);if(!_0x5bba7f||!_0x5bba7f[_0x9af21d(0x375)]){logger[_0x9af21d(0x252)]('performScanForCli:\x20No\x20'+_0x400286+_0x9af21d(0x1cf));return;}if(_0x1c878d[_0x9af21d(0x2f3)](_0x400286,_0x1c878d[_0x9af21d(0x2c5)])){const _0x1df151=_0x1c878d['rMLqR'](require,_0x1c878d[_0x9af21d(0x377)]),_0x3fe624={};_0x3fe624['command']=_0x3cae3b;const _0x1ab2cf=await PerformanceTester[_0x9af21d(0x2f0)](PerformanceA11yEvents[_0x9af21d(0x359)],async()=>{const _0x26b222=_0x9af21d;await _0x1df151[_0x26b222(0x2b1)](_0x25ddd8,_0x5bba7f['command']);},_0x3fe624)();return logger['info'](_0x9af21d(0x35f)+_0x400286+_0x9af21d(0x2f1)+_0x3cae3b+':\x20'+util[_0x9af21d(0x37d)](_0x1ab2cf)),_0x1ab2cf;}const _0x1abab5=_0x1c878d['pVsEl'](require,_0x1c878d[_0x9af21d(0x377)]),_0x1c2ca1=await PerformanceTester[_0x9af21d(0x2f0)](PerformanceA11yEvents[_0x9af21d(0x217)],async()=>{await _0x1abab5['browserStackEvaluate'](_0x25ddd8,_0x5bba7f['command'],_0x1f32b1);})();return logger[_0x9af21d(0x2ee)](_0x9af21d(0x35f)+_0x400286+_0x9af21d(0x2f1)+_0x3cae3b+':\x20'+util[_0x9af21d(0x37d)](_0x1c2ca1)),_0x1c2ca1;}catch(_0x38db23){logger[_0x9af21d(0x222)]('Error\x20in\x20performScanForCli\x20for\x20script\x20'+_0x400286+':\x20'+(_0x38db23['stack']||_0x38db23['message']));}}async[a80_0x40565e(0x2de)](_0x5cf2f7){const _0x38c098=a80_0x40565e,_0x1b7907={'YibST':function(_0x236ce1,_0xf5b289){return _0x236ce1(_0xf5b289);},'rURPn':_0x38c098(0x1ef)};try{const _0x314d1a=_0x1b7907[_0x38c098(0x254)](require,_0x1b7907[_0x38c098(0x1fc)]);return await _0x314d1a[_0x38c098(0x2bd)](_0x5cf2f7);}catch(_0x425474){return logger[_0x38c098(0x222)](_0x38c098(0x264)+(_0x425474[_0x38c098(0x38a)]||_0x425474[_0x38c098(0x1e1)])),![];}}[a80_0x40565e(0x24b)](_0x417c03,_0x2575c3,_0x4f4387){const _0x57e883=a80_0x40565e,_0x115ea0={'JvQpb':function(_0x3245fe,_0x46e9cc){return _0x3245fe(_0x46e9cc);},'kABDr':_0x57e883(0x335),'hCnEt':_0x57e883(0x33d),'ZKAUu':_0x57e883(0x1fe)};try{const _0x3f74c5=_0x115ea0[_0x57e883(0x22f)](require,_0x115ea0['kABDr']);_0x3f74c5[_0x57e883(0x24b)](_0x417c03,_0x2575c3,_0x4f4387);const _0x3c69a4=JSON['stringify'](_0x417c03)['replace'](/"browserstack\.user":"[^"]*"/g,_0x115ea0['hCnEt'])[_0x57e883(0x1d8)](/"browserstack\.key":"[^"]*"/g,_0x115ea0[_0x57e883(0x2af)]);logger[_0x57e883(0x252)]('Processed\x20accessibility\x20caps\x20'+global[_0x57e883(0x357)]+'\x20'+_0x3c69a4);}catch(_0x3a7192){logger[_0x57e883(0x222)](_0x57e883(0x343)+(_0x3a7192[_0x57e883(0x38a)]||_0x3a7192['message']));}}async[a80_0x40565e(0x337)](_0x1b68aa){const _0x20f128=a80_0x40565e,_0x14129f={};_0x14129f[_0x20f128(0x1f3)]=_0x20f128(0x293),_0x14129f['PbkOg']=_0x20f128(0x301);const _0x11b027=_0x14129f;try{if(!this[_0x20f128(0x225)]())return logger[_0x20f128(0x1d1)](_0x11b027[_0x20f128(0x1f3)]),[];const _0x3048ff=await this[_0x20f128(0x348)](_0x1b68aa,_0x11b027[_0x20f128(0x259)]);return _0x3048ff||[];}catch(_0x40c681){return logger[_0x20f128(0x222)](_0x20f128(0x318)+(_0x40c681[_0x20f128(0x38a)]||_0x40c681[_0x20f128(0x1e1)])),[];}}async['getAccessibilityResultsSummary'](_0x10917e){const _0x454a24=a80_0x40565e,_0x5a6fc3={'nWYbK':_0x454a24(0x294),'cfkrX':_0x454a24(0x351),'FSayn':_0x454a24(0x285),'yHQqp':function(_0x1e8444,_0x4a21a7){return _0x1e8444(_0x4a21a7);},'aQJuR':'../cliUtils','ZxyRS':function(_0x3e3f8a,_0xe8a65c){return _0x3e3f8a===_0xe8a65c;},'OgSni':_0x454a24(0x328),'XPTJX':_0x454a24(0x202),'vJrKf':_0x454a24(0x302),'zaXrR':_0x454a24(0x2a2),'GRgCo':_0x454a24(0x212),'tikjR':_0x454a24(0x2fc),'oyVfh':_0x454a24(0x26f),'JlGiy':_0x454a24(0x284)};try{if(!this['getCurrentAccessibilityStatus']())return logger['warn'](_0x5a6fc3[_0x454a24(0x37f)]),{};const _0x56dbb4=_0x5a6fc3['yHQqp'](require,_0x5a6fc3[_0x454a24(0x330)]),_0x456b09=_0x56dbb4['getTestFrameworkDetail'](),_0x313c9c=_0x5a6fc3[_0x454a24(0x2db)](_0x456b09?.['name']?.[_0x454a24(0x326)](),_0x5a6fc3[_0x454a24(0x274)]);let _0x4212f0='',_0x782c8e=null,_0x41f13a=null;if(_0x313c9c){_0x782c8e=global[_0x454a24(0x20c)]||global[_0x454a24(0x1dd)]?.[_0x454a24(0x22b)]?.['testAnalyticsId']||global[_0x454a24(0x1dd)]?.[_0x454a24(0x22b)]?.['id'];if(!_0x782c8e)return logger['warn'](_0x5a6fc3[_0x454a24(0x35c)]),{};try{const _0x5df618=await GrpcClient[_0x454a24(0x251)]()[_0x454a24(0x20b)](process[_0x454a24(0x1ea)]['BROWSERSTACK_CLI_BIN_SESSION_ID'],_0x5a6fc3[_0x454a24(0x319)],_0x5a6fc3[_0x454a24(0x1f5)],_0x782c8e),_0x2e89f9=AccessibilityModule[_0x454a24(0x350)](null,_0x5df618);_0x4212f0=_0x2e89f9?.[_0x454a24(0x2f8)]||'',logger[_0x454a24(0x252)](_0x454a24(0x33a)+_0x4212f0+_0x454a24(0x32a)+_0x782c8e);const _0x3d3b90=await AccessibilityModule[_0x454a24(0x288)](_0x5a6fc3[_0x454a24(0x1f5)],_0x4212f0,_0x782c8e),_0x24b4a9=this[_0x454a24(0x386)](_0x5a6fc3[_0x454a24(0x272)])||this[_0x454a24(0x2bc)][this[_0x454a24(0x267)]]||null,_0x41fbd7=process['env'][_0x454a24(0x286)]||'',_0x382566=this[_0x454a24(0x1d3)](_0x5a6fc3[_0x454a24(0x2bb)],_0x4212f0,_0x24b4a9,_0x41fbd7);_0x41f13a=_0x56dbb4[_0x454a24(0x29d)](_0x382566,_0x3d3b90),logger[_0x454a24(0x252)](_0x454a24(0x242)+JSON[_0x454a24(0x28f)](_0x41f13a));}catch(_0x8a7bfc){return logger[_0x454a24(0x222)](_0x454a24(0x248)+_0x8a7bfc['message']),{};}}else{_0x4212f0=this[_0x454a24(0x386)](_0x5a6fc3[_0x454a24(0x2ca)])||'';const _0x1edbb0=this['getCapabilityValue'](_0x5a6fc3['zaXrR'])||this[_0x454a24(0x2bc)][this['KEY_TESTHUB_BUILD_ID']]||null,_0x42c5d9=process['env'][_0x454a24(0x286)]||'';_0x41f13a=this[_0x454a24(0x1d3)](_0x5a6fc3[_0x454a24(0x2bb)],_0x4212f0,_0x1edbb0,_0x42c5d9);}logger['debug'](_0x5a6fc3['oyVfh']),await PerformanceTester[_0x454a24(0x2f0)](PerformanceA11yEvents[_0x454a24(0x359)],async()=>{const _0x12655e=_0x454a24,_0x22648d=await this[_0x12655e(0x348)](_0x10917e,_0x5a6fc3[_0x12655e(0x263)],_0x41f13a);logger[_0x12655e(0x252)](_0x12655e(0x34a)+util[_0x12655e(0x37d)](_0x22648d));},{'command':_0x5a6fc3[_0x454a24(0x2bb)]})();const _0x1e40b8=await PerformanceTester[_0x454a24(0x2f0)](PerformanceA11yEvents[_0x454a24(0x2b4)],async()=>{const _0x24de57=_0x454a24;return await this[_0x24de57(0x348)](_0x10917e,_0x5a6fc3['cfkrX'],_0x41f13a);})();if(!_0x1e40b8)return logger['debug'](_0x5a6fc3[_0x454a24(0x240)]),{};return _0x1e40b8;}catch(_0x50dd7d){return logger[_0x454a24(0x222)](_0x454a24(0x21a)+(_0x50dd7d['stack']||_0x50dd7d[_0x454a24(0x1e1)])),{};}}async[a80_0x40565e(0x33f)](_0x332b1c,_0x1934eb,_0x1bab73=null){const _0x2b90b8=a80_0x40565e,_0x51c6bb={};_0x51c6bb['hlHoa']=_0x2b90b8(0x31b),_0x51c6bb[_0x2b90b8(0x352)]=_0x2b90b8(0x323),_0x51c6bb[_0x2b90b8(0x29e)]=_0x2b90b8(0x299);const _0x5392c2=_0x51c6bb;try{if(!_0x332b1c)return logger[_0x2b90b8(0x252)](_0x5392c2['hlHoa']),null;if(!_0x1934eb)return logger[_0x2b90b8(0x252)](_0x5392c2['yKPmP']),null;logger[_0x2b90b8(0x252)](_0x5392c2[_0x2b90b8(0x29e)]);const _0x12b8ab=_0x1bab73?await _0x332b1c[_0x2b90b8(0x246)](_0x1934eb,_0x1bab73):await _0x332b1c[_0x2b90b8(0x246)](_0x1934eb);return _0x12b8ab;}catch(_0x1e994e){return logger['error']('Error\x20in\x20performPageScan:\x20'+(_0x1e994e[_0x2b90b8(0x38a)]||_0x1e994e['message'])),null;}}static['loadDriverExecuteParams'](_0x53780d,_0xcb8875){const _0x3f6dc9=a80_0x40565e,_0x251574={};_0x251574['NXRka']='ascii';const _0x145e08=_0x251574,_0x320265={};_0x320265[_0x3f6dc9(0x2f8)]=_0x53780d;const _0x267007=_0x320265;let _0x35adca={};if(_0xcb8875[_0x3f6dc9(0x312)]()&&_0xcb8875[_0x3f6dc9(0x235)]())try{_0x35adca=JSON[_0x3f6dc9(0x2c2)](new Buffer(_0xcb8875[_0x3f6dc9(0x1d6)]())['toString'](_0x145e08[_0x3f6dc9(0x369)]));}catch(_0x3f9739){logger['error'](_0x3f6dc9(0x2ae)+_0x3f9739[_0x3f6dc9(0x1e1)]),_0x35adca={};}return CLIUtils['mergeObject'](_0x267007,_0x35adca);}static async[a80_0x40565e(0x288)](_0x25af94,_0x586362='',_0x4f4049=null){const _0x47402a=a80_0x40565e,_0x966bda={};_0x966bda[_0x47402a(0x1e4)]=_0x47402a(0x30b),_0x966bda['LfXpB']=_0x47402a(0x302);const _0x56486a=_0x966bda;try{if(!_0x4f4049&&AccessibilityModule[_0x47402a(0x2b9)])return AccessibilityModule[_0x47402a(0x361)];if(!process[_0x47402a(0x1ea)][_0x47402a(0x27d)])return logger[_0x47402a(0x222)](_0x56486a[_0x47402a(0x1e4)]),{};const _0x543161=await GrpcClient[_0x47402a(0x251)]()[_0x47402a(0x20b)](process[_0x47402a(0x1ea)][_0x47402a(0x27d)],_0x56486a[_0x47402a(0x2aa)],_0x25af94,_0x4f4049),_0x46c049=_0x4f4049?AccessibilityModule[_0x47402a(0x350)](null,_0x543161)?.[_0x47402a(0x2f8)]||_0x586362:_0x586362,_0x50810b=AccessibilityModule['loadDriverExecuteParams'](_0x46c049,_0x543161);return!_0x4f4049&&(AccessibilityModule[_0x47402a(0x361)]=_0x50810b,AccessibilityModule[_0x47402a(0x2b9)]=!![]),_0x50810b;}catch(_0x4dad13){return logger[_0x47402a(0x222)]('fetchCentralAuthA11yConfig:\x20Failed\x20to\x20fetch\x20driver\x20execute\x20params\x20for\x20'+_0x25af94+':\x20'+(_0x4dad13[_0x47402a(0x38a)]||_0x4dad13['message'])),{};}}};module['exports']=AccessibilityModule;
1
+ function a80_0x1ab1(_0x1fd00e,_0x4379f7){const _0xaaa737=a80_0xaaa7();return a80_0x1ab1=function(_0x1ab14e,_0x74edfa){_0x1ab14e=_0x1ab14e-0x67;let _0x4b0a7d=_0xaaa737[_0x1ab14e];return _0x4b0a7d;},a80_0x1ab1(_0x1fd00e,_0x4379f7);}function a80_0xaaa7(){const _0x337a52=['string','SAVE_RESULTS','KEY_TESTHUB_BUILD_ID','headless','796915PBjGej','sXaYP','akQaN','prttG','KaNmV','MlaJg','LCnDR','GPiGN','BROWSERSTACK_TESTHUB_JWT','onBeforeExecute:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','args','onBeforeExecute:\x20Accessibility\x20scan\x20completed\x20for\x20command:\x20','IpFoI','4394265byIZvM','WBZum','getContext','playwright-chromium','../../../helpers/accessibility-automation/constants','../../../helpers/performance/performance-tester.js','../../../helpers/classLogger','VFxVM','getParamsForScanForCli',',\x20includeTags=','NOuCX','Unwmh','getAccessibilityResultsSummary:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','stopTestCapture','includes','JasWF','testFramework','isPlatformSupported:\x20Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','onBeforeExecute:\x20command=','platformValidation','cUvuI','WcHoH','isEnabledTestcase','../framework/testFramework','getAccessibilityResultsSummary:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20cannot\x20retrieve\x20summary.','CREATE','uERih','MjyMu','isArray','onBeforeTest:\x20Skipping\x20accessibility\x20check\x20-\x20not\x20a\x20supported\x20test\x20framework','debug','Error\x20in\x20onAfterTest\x20accessibility\x20module:\x20','excludeTagsInTestingScope','TUXCf','egjBB','OssPE','getCurrentInstanceName','sJDiT','WFaRd',',\x20tags=','getSuccess','currentTest','SDK_ACCESSIBILITY_CONFIG','LOG_DISABLED_SHOWN','SEmHD','\x20script\x20available\x20in\x20scriptsList','NmvbQ','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100\x20on\x20non-bstack\x20infra.','performScanForCli','size','Exception\x20in\x20isPlatformSupported:\x20','RJRMx','ukMnH','shouldScanCurrentTest','assign','accessibilityPlatform','test_tags','browser','message','Error\x20getting\x20script\x20by\x20name\x20','UAWmd','isAppAccessibility','hklGO',']\x20clear\x20','[AccessibilityModule]\x20onAfterTest:\x20framework=','onBeforeExecute:\x20Skipping\x20accessibility\x20scan\x20-\x20not\x20a\x20supported\x20test\x20framework','jsPvO','accessibilityToken','vqWof','../state/automationFrameworkState','stringify','zJnvF','VBhTL','rqGmQ','QrxtU','a11y:save-results','isPlatformSupported','./baseModule','includeTagsInTestingScope','notdv','exports','getTestDetails','testFrameworkData','SypnP','YbvXE','Qzhzf','NON_BROWSERSTACK_AUTOMATION_SESSIONS','YBtyR','browserStackEvaluate','Unknown\x20Test','getModuleName','DRIVER_INIT','Unable\x20to\x20mark\x20test\x20finish\x20for\x20accessibility\x20from\x20cli\x20-\x20','myiXH','Page\x20','getResults','getCommandsToWrap','setAccessibilityToken','getScriptByName','onBeforeExecute:\x20No\x20command\x20name\x20provided','QPMNK','getTestUUID','PuJdo','testInfo','toLowerCase','605146uxJSXx','Error\x20in\x20onBeforeExecute\x20accessibility\x20module:\x20','scan','TeCdp','Performing\x20scan\x20before\x20from\x20cli','EyQnl','YHWuv','XUGNZ','titlePath','WQyZE','getCapabilitiesList','evaluate','_sendMessageServerPatchApplied','getAccessibility','YwcVl','../../../helpers/accessibility-automation/scripts','FKvzw','error','HPAVf','[AccessibilityModule]\x20stopTestCapture:\x20Saving\x20results,\x20thTestRunUuid=','rQSnn','applySendMessageToServerPatch','\x20is\x20not\x20in\x20the\x20list\x20of\x20commands\x20to\x20be\x20scanned','getAccessibilityExecuteParams','zxZzJ','EXECUTE','onBeforeTest:\x20event=','getInstance','getCapabilityValue','performPageScan:\x20Page\x20is\x20null','sendMessageToServer\x20accessibility\x20patch\x20already\x20applied','__workerDetails','YACnS','ODYZs','pwPage','getAllData','toJson','oowai','onAfterTest:\x20Skipping\x20accessibility\x20cleanup\x20-\x20not\x20a\x20supported\x20test\x20framework','DMhiu','getTestId','[AccessibilityModule]\x20onBeforeTest:\x20Jest\x20-\x20testIdentifier=','AfUJa','yBUDw','Error\x20applying\x20sendMessageToServer\x20patch:\x20','AnDyK','browserVersion','executeScriptByName:\x20No\x20',']\x20onAfterTest\x20should\x20scan=','UJofo','testAnalyticsId','onBeforeExecute:\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','BSgiC','Error\x20in\x20stopTestCapture:\x20','MejRc','ascii','srghw','Error\x20in\x20getAccessibilityResults:\x20','set','afterTestHook','[AccessibilityModule]\x20Constructor:\x20Registered\x20observers\x20-\x20EXECUTE\x20PRE,\x20CREATE\x20POST,\x20QUIT\x20PRE','MergedScanArgs:\x20','YkOFM','parseFromProto','start','saveTestResults','wAxnr','LcvFM','ghrSk','patchSendMessageToServer\x20function\x20not\x20available\x20from\x20playwright-patcher','format',',\x20testIdentifier=','find','loadAccessibilityConfig','getValue','performPageScan:\x20Script\x20is\x20null','nhUCq','platformCaps','wdfGL','QqDOY','\x20script\x20available','Error\x20in\x20performScanForCli\x20for\x20script\x20','cucumber','\x20->\x20','kvUGs','testhub_build_uuid','BROWSERSTACK_CLI_BIN_SESSION_ID','ACCESSIBILITY_INITIALIZED','6127470oOPxld','../../../helpers/performance/constants.js','wmotU','goog:chromeOptions','chrome','ZxNtc','onBeforeTest:\x20Driver\x20not\x20initialized,\x20setting\x20DRIVER_INIT=true','Zxmaf','TrackedInstance','test-tags-->\x20','_centralAuthConfigFetched','../../utils/playwright-patcher','Error\x20in\x20processAccessibilityCaps:\x20','getCurrentAccessibilityStatus','DWFPo','ADSLs','env','kXuRH','getOptions','Error\x20in\x20onBeforeTest\x20accessibility\x20module:\x20','Error\x20parsing\x20accessibility\x20execute\x20params:\x20','KEY_INIT','jwYSg','bTyvo','Skipping\x20saving\x20results\x20from\x20cli,\x20saveResults\x20script\x20is\x20missing','[platform\x20-\x20','mergeObject','QKTgi','commandName','browserName','fetchCentralAuthA11yConfig','info','[CLI]\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','olBnw','Skipping\x20saving\x20results\x20from\x20cli,\x20no\x20running\x20test\x20found','AUTOMATION_SESSIONS','onBeforeExecute:\x20Page\x20object\x20not\x20available\x20for\x20command\x20','Error\x20getting\x20capability\x20value\x20for\x20','updateData','nOZta','../TestInfo.js','__accessibilityOptions','XvWUH','name:\x20','Applied\x20sendMessageToServer\x20patch\x20for\x20accessibility\x20command\x20interception','stopTestCapture:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20result\x20save','NKfIt','DyEQu','DYAtk','getData','pBHKA','length','page','MODULE_NAME','qvPql','jEJcr','true','GFbhD','setLogDisabledShown','BmDcy','../../../helpers/accessibility-automation/helper','YuxHg','--headless',',\x20available\x20commands:\x20','oNQlY','function','measureWrapper','join','No\x20summaryResults\x20found.','CRLgB','jyjOG','dfluu','toISOString','jSsiy','MTUsX','scriptsList','__jestCurrentTestIdentifier','McPNX','Wtrdl','kMEuY','wEWSa','commandsToWrap',',\x20isAppAccessibility=','jZlCF',']\x20Accessibility\x20configuration\x20initialized\x20successfully','Error\x20in\x20getAccessibilityResultsSummary:\x20','\x20accessibility\x20script\x20on\x20page','iwFEO','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended\x20from\x20cli.','GIBXz','DvBSW','gGphV','MlnAy','HPJlU','1139871BjHcPi','WNcZv','map','AcKNZ','onBeforeExecute:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20scan','Context','fetchCentralAuthA11yConfig:\x20No\x20bin\x20session\x20ID\x20available','POST','isEnabled','loadDriverExecuteParams','../grpcClient','null','2MjJOzj','processAccessibilityCaps','../../../helpers/helper','options',',\x20excludeTags=','djPGy','iSsxZ','FOONm','QyPbc','toString','xwPyX','80ZImfBH','Error\x20executing\x20script\x20',']\x20should\x20run\x20accessibility\x20value=','IKMRV','../state/hookState','shouldScanForCommand','name','szHPF','XLIdB','browserstack.accessibilityOptions.scannerProcessingTimeout','jPtdD','stopTestCapture:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','vKxmr','rfIlu','acxwb','bpDKT','registerObserver','jest','performScan','startsWith','--headless=new','getName','command','parse','commandsList','Jlfkb','accessibility','Scan\x20result:\x20','KEY_TEST_NAME','_centralAuthA11yConfig','setAccessibilityConfig','TEST_INIT','patchSendMessageToServer','isAccessibilityScriptCommand','[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','yPhtM','getAccessibilityResults','PXoSV','getLogDisabledShown','thTestRunUuid','LJIYg','get','\x22browserstack.user\x22:\x22[REDACTED]\x22','launchCaps','value','Running\x20Save\x20results\x20for\x20Accessibility\x20testing','WAyCA','\x20a11yToken=','VHLUR','capabilities','VNQIx','isBrowserstackScriptCommand','getAccessibilityResultsSummary','WvlmU','\x20from\x20testIdentifier=','accessibilityConfig','NAavr',',\x20testName=','10977921SIDyed','[AccessibilityModule]\x20onBeforeTest:\x20platformSupported=','zxDaK','delete','finishScanningForCli','Error\x20checking\x20headless\x20capability:\x20','getTrackedInstance','getScript','replace','getScriptsList','VuWzL','KlWKn','stack','vwsRy','scannerVersion','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','unknown','some','2531144lOyWvJ','onBeforeExecute','\x20result\x20for\x20','Processed\x20accessibility\x20caps\x20','onAfterTest','onBeforeTest','XyOKN','../../playwright/accessibility-helper','lNwiP','XGYvW','getTestFrameworkDetail','lHwCi','vaMqw','ObtBf','instance','fetchDriverExecuteParamsEvent','PERFORM_SCAN','getPlatformIndex','Executing\x20','ItTMY','LltLv','getAccessibilityConfig','browserstack.accessibilityOptions.wcagVersion','nfmkZ','setShouldScan','warn','aqcmE','getTesthub','CPzyL','\x20testHubUuid=','skipCDPConnectOverride','pdZGy','getBuildId','QUIT',']\x20Failed\x20to\x20initialize\x20accessibility\x20configuration','\x22browserstack.key\x22:\x22[REDACTED]\x22','AIuHk','\x20value=','shouldScanForCommand:\x20','MFKde','ljopu','end','toObject',']\x20isEnabledTestcase\x20(cucumber)\x20result=','jJgAu','PRE','executeScriptByName:\x20Page\x20is\x20null\x20for\x20script\x20','../framework/constants/testFrameworkConstants.js','EqJwO','split','bind','MnHAG','ciTAe','executeScriptByName'];a80_0xaaa7=function(){return _0x337a52;};return a80_0xaaa7();}const a80_0xb87c9d=a80_0x1ab1;(function(_0x4be7ba,_0x5877de){const _0x1d60d=a80_0x1ab1,_0x22f21a=_0x4be7ba();while(!![]){try{const _0x23edd6=parseInt(_0x1d60d(0x226))/0x1+-parseInt(_0x1d60d(0x11f))/0x2*(-parseInt(_0x1d60d(0x113))/0x3)+-parseInt(_0x1d60d(0x176))/0x4+-parseInt(_0x1d60d(0x1bd))/0x5+parseInt(_0x1d60d(0xb5))/0x6+-parseInt(_0x1d60d(0x1b0))/0x7*(parseInt(_0x1d60d(0x12a))/0x8)+parseInt(_0x1d60d(0x164))/0x9;if(_0x23edd6===_0x5877de)break;else _0x22f21a['push'](_0x22f21a['shift']());}catch(_0x2b172b){_0x22f21a['push'](_0x22f21a['shift']());}}}(a80_0xaaa7,0x8ca1c));const BaseModule=require(a80_0xb87c9d(0x20a)),{createClassLogger}=require(a80_0xb87c9d(0x1c3)),CLIUtils=require('../cliUtils'),AutomationFramework=require('../framework/automationFramework'),TestFramework=require(a80_0xb87c9d(0x1d4)),AutomationFrameworkState=require(a80_0xb87c9d(0x202)),HookState=require(a80_0xb87c9d(0x12e)),GrpcClient=require(a80_0xb87c9d(0x11d)),scripts=require(a80_0xb87c9d(0x6c)),logger=createClassLogger(a80_0xb87c9d(0xbd)),PerformanceTester=require(a80_0xb87c9d(0x1c2)),{EVENTS,A11Y_EVENTS:PerformanceA11yEvents}=require(a80_0xb87c9d(0xb6)),{MINIMUM_BROWSER_VERSION_ACCESSIBILITY,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require(a80_0xb87c9d(0x1c1)),{nestedKeyValue,isUndefined}=require(a80_0xb87c9d(0x121)),util=require('util'),TestInfo=require(a80_0xb87c9d(0xdd)),TestFrameworkConstants=require(a80_0xb87c9d(0x1a5));class AccessibilityModule extends BaseModule{static [a80_0xb87c9d(0xea)]=AccessibilityModule[a80_0xb87c9d(0x130)];static [a80_0xb87c9d(0xbf)]=![];static [a80_0xb87c9d(0x147)]={};constructor(_0x1adf8d){const _0x2935e0=a80_0xb87c9d,_0x2962bf={};_0x2962bf['AcKNZ']='9|2|13|10|12|11|7|5|8|14|3|0|1|15|6|4',_0x2962bf['hEpCV']=_0x2935e0(0x99),_0x2962bf[_0x2935e0(0x214)]=_0x2935e0(0xb2),_0x2962bf['YuxHg']='DRIVER_HAS_URL',_0x2962bf[_0x2935e0(0x1f1)]=_0x2935e0(0xb4);const _0x116e88=_0x2962bf,_0xdc63d0=_0x116e88[_0x2935e0(0x116)][_0x2935e0(0x1a7)]('|');let _0x41ec87=0x0;while(!![]){switch(_0xdc63d0[_0x41ec87++]){case'0':this[_0x2935e0(0x21e)](_0x1adf8d[_0x2935e0(0xc7)]()['getCapabilitiesList']());continue;case'1':logger[_0x2935e0(0x1db)](_0x116e88['hEpCV']);continue;case'2':AutomationFramework[_0x2935e0(0x13a)](AutomationFrameworkState[_0x2935e0(0x76)],HookState[_0x2935e0(0x1a3)],this[_0x2935e0(0x177)][_0x2935e0(0x1a8)](this));continue;case'3':this['_sendMessageServerPatchApplied']=![];continue;case'4':this['KEY_TESTHUB_BUILD_ID']=_0x116e88['YBtyR'];continue;case'5':this[_0x2935e0(0x1e8)]=new Map();continue;case'6':this['KEY_DRIVER_HAS_URL']=_0x116e88[_0x2935e0(0xf2)];continue;case'7':this[_0x2935e0(0x144)]=new Map();continue;case'8':this[_0x2935e0(0x1fa)]=![];continue;case'9':super();continue;case'10':AutomationFramework[_0x2935e0(0x13a)](AutomationFrameworkState[_0x2935e0(0x197)],HookState[_0x2935e0(0x1a3)],this[_0x2935e0(0x17a)][_0x2935e0(0x1a8)](this));continue;case'11':this['accessibilityConfig']=_0x1adf8d[_0x2935e0(0x1a0)]();continue;case'12':this['isEnabled']=!![];continue;case'13':AutomationFramework[_0x2935e0(0x13a)](AutomationFrameworkState[_0x2935e0(0x1d6)],HookState[_0x2935e0(0x11a)],this[_0x2935e0(0x17b)][_0x2935e0(0x1a8)](this));continue;case'14':this['capabilities']=[];continue;case'15':this[_0x2935e0(0xca)]=_0x116e88[_0x2935e0(0x1f1)];continue;}break;}}[a80_0xb87c9d(0x11b)](){return this['isEnabled'];}[a80_0xb87c9d(0x217)](){return AccessibilityModule['MODULE_NAME'];}['getCurrentAccessibilityStatus'](){const _0xe50999=a80_0xb87c9d;return this[_0xe50999(0x144)][_0xe50999(0x153)](CLIUtils[_0xe50999(0x1e1)](),![]);}[a80_0xb87c9d(0x150)](){const _0x3e7b3e=a80_0xb87c9d;return this['LOG_DISABLED_SHOWN']['get'](CLIUtils[_0x3e7b3e(0x1e1)](),![]);}[a80_0xb87c9d(0xef)](_0x290bfd){const _0x2cf0e4=a80_0xb87c9d;this[_0x2cf0e4(0x1e8)][_0x2cf0e4(0x97)](CLIUtils[_0x2cf0e4(0x1e1)](),_0x290bfd);}[a80_0xb87c9d(0x72)](){const _0x56ae2d=a80_0xb87c9d,_0xbb872f={'UAWmd':_0x56ae2d(0x7b),'MTUsX':function(_0x16690a,_0x381ff4){return _0x16690a(_0x381ff4);},'PuJdo':_0x56ae2d(0xc0),'srghw':_0x56ae2d(0xe1),'QKTgi':_0x56ae2d(0xa2)};if(this[_0x56ae2d(0x69)]){logger[_0x56ae2d(0x1db)](_0xbb872f[_0x56ae2d(0x1f9)]);return;}try{const _0x5d6c58=_0xbb872f[_0x56ae2d(0xff)](require,_0xbb872f[_0x56ae2d(0x223)]);_0x5d6c58&&_0x5d6c58[_0x56ae2d(0x14a)]?(_0x5d6c58[_0x56ae2d(0x14a)](),this['_sendMessageServerPatchApplied']=!![],logger[_0x56ae2d(0x1db)](_0xbb872f[_0x56ae2d(0x95)])):logger[_0x56ae2d(0x1db)](_0xbb872f[_0x56ae2d(0xd0)]);}catch(_0x498c14){logger[_0x56ae2d(0x1db)](_0x56ae2d(0x89)+util[_0x56ae2d(0xa3)](_0x498c14));}}[a80_0xb87c9d(0x209)](_0x1eb9c0=null,_0x4a2b5f=null,_0xf68aa1=null){const _0x440612=a80_0xb87c9d,_0x38603c={'GFbhD':function(_0xfeb6b4,_0x2463a6){return _0xfeb6b4&&_0x2463a6;},'XGYvW':'isPlatformSupported:\x20caps\x20are\x20null','jZlCF':function(_0x2f27e6,_0x28cbeb){return _0x2f27e6(_0x28cbeb);},'sXaYP':'../../../helpers/accessibility-automation/helper','FUWGr':_0x440612(0x121),'dfluu':function(_0x5c33b4){return _0x5c33b4();},'wmotU':'isPlatformSupported:\x20Not\x20an\x20accessibility\x20automation\x20session','CRLgB':function(_0xd93cb,_0x39076c){return _0xd93cb===_0x39076c;},'pBHKA':_0x440612(0xb9),'QqDOY':_0x440612(0x1c0),'ZfcWl':function(_0x1344b3,_0x85ccdf){return _0x1344b3===_0x85ccdf;},'zlwgK':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','hjBPW':function(_0x1ec433,_0x2fc441){return _0x1ec433===_0x2fc441;},'jsPvO':_0x440612(0xed),'SEmHD':function(_0x42b877,_0x3aa6d8){return _0x42b877===_0x3aa6d8;},'AfUJa':'string','DWFPo':function(_0x4369cc,_0x10d691){return _0x4369cc===_0x10d691;},'EyQnl':_0x440612(0x1ce),'WBZum':_0x440612(0xb8),'pdZGy':function(_0x2bbe79){return _0x2bbe79();},'yBUDw':function(_0x200473,_0x308de2){return _0x200473>_0x308de2;},'myiXH':function(_0x789608,_0xb52b37){return _0x789608(_0xb52b37);},'fiMBN':function(_0x1a3352,_0x474d85){return _0x1a3352(_0x474d85);},'lNwiP':_0x440612(0x1ec),'DyEQu':function(_0x565dbb,_0x4fe8d1){return _0x565dbb!==_0x4fe8d1;},'TeCdp':'latest','MjyMu':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.'};try{if(_0x38603c[_0x440612(0xee)](!_0x4a2b5f,!_0xf68aa1))return logger[_0x440612(0x1db)](_0x38603c[_0x440612(0x17f)]),![];const {isAccessibilityAutomationSession:_0x3bffbe}=_0x38603c['jZlCF'](require,_0x38603c[_0x440612(0x1b1)]),{isUndefined:_0x3b2299,isBrowserstackInfra:_0x2a3d52}=_0x38603c[_0x440612(0x108)](require,_0x38603c['FUWGr']);if(!_0x38603c[_0x440612(0xfc)](_0x3bffbe))return logger['debug'](_0x38603c[_0x440612(0xb7)]),![];if(!(_0x4a2b5f[_0x440612(0xd2)]&&_0x38603c['CRLgB'](_0x4a2b5f[_0x440612(0xd2)]['toLowerCase'](),_0x38603c[_0x440612(0xe7)])||_0x4a2b5f[_0x440612(0xd2)]&&_0x38603c[_0x440612(0xfa)](_0x4a2b5f[_0x440612(0xd2)][_0x440612(0x225)](),_0x38603c[_0x440612(0xac)])||_0x4a2b5f[_0x440612(0x1f6)]&&_0x38603c['ZfcWl'](_0x4a2b5f[_0x440612(0x1f6)][_0x440612(0x225)](),_0x38603c[_0x440612(0xe7)])||_0x4a2b5f[_0x440612(0x1f6)]&&_0x38603c[_0x440612(0xfa)](_0x4a2b5f['browser'][_0x440612(0x225)](),_0x38603c['QqDOY'])))return logger['warn'](_0x38603c['zlwgK']),![];try{const _0x504f88=_0x4a2b5f[_0x440612(0x1af)],_0x41f0af=_0x38603c[_0x440612(0xfa)](_0x504f88,!![])||_0x38603c['hjBPW'](_0x504f88,_0x38603c[_0x440612(0x1ff)])||_0x38603c[_0x440612(0x1e9)](typeof _0x504f88,_0x38603c[_0x440612(0x87)])&&_0x38603c[_0x440612(0xc3)](_0x504f88['toLowerCase'](),_0x38603c[_0x440612(0x1ff)]);if(_0x41f0af)return logger[_0x440612(0x18f)](_0x38603c[_0x440612(0x22b)]),![];const _0x4d414e=_0x4a2b5f?.['chromeOptions']?.['args']||_0x4a2b5f?.[_0x38603c[_0x440612(0x1be)]]?.[_0x440612(0x1ba)]||[];if(Array[_0x440612(0x1d9)](_0x4d414e)&&_0x4d414e['some'](_0x574cbe=>typeof _0x574cbe===_0x440612(0x1ac)&&(_0x574cbe===_0x440612(0xf3)||_0x574cbe[_0x440612(0x13d)]('--headless=')&&_0x574cbe!==_0x440612(0x13e))))return logger[_0x440612(0x18f)](_0x38603c[_0x440612(0x22b)]),![];}catch(_0x11eaef){logger[_0x440612(0x1db)](_0x440612(0x169)+util[_0x440612(0xa3)](_0x11eaef));}if(!_0x38603c[_0x440612(0x195)](_0x2a3d52)){if(!_0x38603c[_0x440612(0x88)](_0x38603c['myiXH'](parseFloat,_0x4a2b5f['browserVersion']),_0x38603c['fiMBN'](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY)))return logger[_0x440612(0x18f)](_0x38603c[_0x440612(0x17e)]),![];}else{if(_0x38603c[_0x440612(0xe4)](_0x4a2b5f[_0x440612(0x8b)],_0x38603c[_0x440612(0x229)])&&!_0x38603c[_0x440612(0x88)](_0x38603c['myiXH'](parseFloat,_0x4a2b5f[_0x440612(0x8b)]),_0x38603c[_0x440612(0x21a)](parseFloat,MINIMUM_BROWSER_VERSION_ACCESSIBILITY)))return logger[_0x440612(0x18f)](_0x38603c[_0x440612(0x1d8)]),![];}return!![];}catch(_0x4a9dc1){return logger[_0x440612(0x1db)](_0x440612(0x1ef)+_0x4a9dc1[_0x440612(0x1f7)]),![];}}[a80_0xb87c9d(0x1d3)](_0x4beb39=[],_0x5aef40,_0x4327ca=a80_0xb87c9d(0xaf)){const _0x126df1=a80_0xb87c9d,_0xf51387={'ADSLs':function(_0x207a3b,_0x47004a){return _0x207a3b===_0x47004a;},'KVgmN':_0x126df1(0x13b),'WNcZv':function(_0x10ded8,_0x23add3){return _0x10ded8||_0x23add3;},'kvUGs':function(_0x1fa296,_0x563c8f){return _0x1fa296&&_0x563c8f;},'notdv':_0x126df1(0x174),'DLpuk':function(_0x1ebbe2,_0x561b10){return _0x1ebbe2(_0x561b10);},'ItTMY':function(_0x5c8e28,_0x125a0b){return _0x5c8e28>_0x125a0b;},'DMhiu':function(_0x5bd7a7,_0x26aa54){return _0x5bd7a7&&_0x26aa54;}};try{const _0x41c2d9=process[_0x126df1(0xc5)][_0x126df1(0x173)]?JSON[_0x126df1(0x141)](process['env'][_0x126df1(0x173)]):null;if(!_0x41c2d9)return!![];const _0x37ff12=Array[_0x126df1(0x1d9)](_0x41c2d9[_0x126df1(0x20b)])?_0x41c2d9[_0x126df1(0x20b)]:[],_0x5a2ea9=Array['isArray'](_0x41c2d9[_0x126df1(0x1dd)])?_0x41c2d9[_0x126df1(0x1dd)]:[];if(_0xf51387[_0x126df1(0xc4)](_0x4327ca,_0xf51387['KVgmN'])){let _0x59aee1;Array[_0x126df1(0x1d9)](_0x4beb39)?_0x59aee1=_0x4beb39[_0x126df1(0xf8)]('\x20'):_0x59aee1=_0xf51387[_0x126df1(0x114)](_0x4beb39,'');const _0x52b22b=_0x5a2ea9[_0x126df1(0x175)](_0x481a36=>_0x59aee1[_0x126df1(0x1cb)](_0x481a36)),_0x2bff4f=_0xf51387[_0x126df1(0xc4)](_0x37ff12['length'],0x0)||_0x37ff12[_0x126df1(0x175)](_0xa6e4fa=>_0x59aee1[_0x126df1(0x1cb)](_0xa6e4fa)),_0x2ad19c=_0xf51387[_0x126df1(0xb1)](!_0x52b22b,_0x2bff4f);return logger[_0x126df1(0x1db)](_0x126df1(0xce)+(_0x5aef40?.[_0x126df1(0x187)]?.()||_0xf51387[_0x126df1(0x20c)])+']\x20isEnabledTestcase\x20(jest)\x20result='+_0x2ad19c+_0x126df1(0x163)+_0x59aee1+_0x126df1(0x1c6)+JSON['stringify'](_0x37ff12)+_0x126df1(0x123)+JSON[_0x126df1(0x203)](_0x5a2ea9)),_0x2ad19c;}const _0xfc1c5d=Array[_0x126df1(0x1d9)](_0x4beb39)?_0x4beb39:[];let _0x5980d5=![],_0x3600f5=_0xf51387[_0x126df1(0xc4)](_0x37ff12[_0x126df1(0xe8)],0x0);const _0x21f87f=_0x3e865e=>typeof _0x3e865e===_0x126df1(0x1ac)?_0x3e865e[_0x126df1(0x16c)](/^@/,'')['toLowerCase']()['trim']():_0x3e865e,_0x544fec=new Set(_0x37ff12[_0x126df1(0x115)](_0x21f87f)),_0x1fe315=new Set(_0x5a2ea9[_0x126df1(0x115)](_0x21f87f));for(const _0x23cd71 of _0xfc1c5d){const _0x56c8b8=_0xf51387['DLpuk'](_0x21f87f,_0x23cd71);_0x1fe315['has'](_0x56c8b8)&&(_0x5980d5=!![]),_0xf51387[_0x126df1(0x189)](_0x544fec[_0x126df1(0x1ee)],0x0)&&_0x544fec['has'](_0x56c8b8)&&(_0x3600f5=!![]);}const _0x2dbe01=_0xf51387[_0x126df1(0x84)](_0x3600f5,!_0x5980d5);return logger['debug'](_0x126df1(0xce)+(_0x5aef40?.[_0x126df1(0x187)]?.()||_0xf51387['notdv'])+_0x126df1(0x1a1)+_0x2dbe01+_0x126df1(0x1e4)+JSON[_0x126df1(0x203)](_0xfc1c5d)+_0x126df1(0x1c6)+JSON[_0x126df1(0x203)](_0x37ff12)+_0x126df1(0x123)+JSON[_0x126df1(0x203)](_0x5a2ea9)),_0x2dbe01;}catch(_0x2a142f){return logger[_0x126df1(0x1db)](_0x126df1(0xce)+(_0x5aef40?.[_0x126df1(0x187)]?.()||_0xf51387[_0x126df1(0x20c)])+']\x20Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error:\x20'+_0x2a142f[_0x126df1(0x1f7)]),![];}}async['onBeforeTest'](_0x30910d){const _0xb5d041=a80_0xb87c9d,_0x2edec1={};_0x2edec1[_0xb5d041(0x205)]=function(_0x1e47f0,_0x55c88f){return _0x1e47f0!==_0x55c88f;},_0x2edec1[_0xb5d041(0x1e0)]=_0xb5d041(0xaf),_0x2edec1[_0xb5d041(0x126)]=_0xb5d041(0x13b),_0x2edec1[_0xb5d041(0x22f)]=_0xb5d041(0x1da),_0x2edec1[_0xb5d041(0xd6)]=_0xb5d041(0x149),_0x2edec1['Unwmh']='onBeforeTest:\x20Page\x20is\x20null,\x20accessibility\x20cannot\x20be\x20initialized',_0x2edec1['kbTvy']='onBeforeTest:\x20Page\x20object\x20available,\x20proceeding\x20with\x20accessibility\x20validation',_0x2edec1['qoFRE']=_0xb5d041(0x218),_0x2edec1['BmDcy']=function(_0x3bc765,_0x1ce6c9){return _0x3bc765===_0x1ce6c9;},_0x2edec1[_0xb5d041(0xa1)]=function(_0x2e8d8e,_0x3ce43c){return _0x2e8d8e===_0x3ce43c;},_0x2edec1[_0xb5d041(0x112)]=_0xb5d041(0xbb),_0x2edec1[_0xb5d041(0x75)]=function(_0x4cb719,_0x33cf3e){return _0x4cb719===_0x33cf3e;},_0x2edec1[_0xb5d041(0x1d1)]=_0xb5d041(0x216),_0x2edec1[_0xb5d041(0xec)]=function(_0x4cfe19,_0x4b4039){return _0x4cfe19>_0x4b4039;},_0x2edec1[_0xb5d041(0x9b)]=_0xb5d041(0xf6),_0x2edec1[_0xb5d041(0xcc)]=_0xb5d041(0x1f5),_0x2edec1['KlWKn']=function(_0x343124,_0x438849){return _0x343124&&_0x438849;},_0x2edec1[_0xb5d041(0x1a9)]=_0xb5d041(0x174),_0x2edec1[_0xb5d041(0xab)]=_0xb5d041(0xed);const _0x117349=_0x2edec1;if(_0x117349[_0xb5d041(0x205)](_0x30910d[_0xb5d041(0x1cd)],_0x117349[_0xb5d041(0x1e0)])&&_0x117349['VBhTL'](_0x30910d[_0xb5d041(0x1cd)],_0x117349[_0xb5d041(0x126)])){logger[_0xb5d041(0x1db)](_0x117349['WQyZE']);return;}logger[_0xb5d041(0xd4)](_0xb5d041(0x77)+JSON[_0xb5d041(0x203)](_0x30910d));try{const _0x52f8b0=AutomationFramework[_0xb5d041(0x16a)](),_0xf28c6e=TestFramework[_0xb5d041(0x16a)](),_0xe12d58=_0x30910d[_0xb5d041(0xe9)]||global[_0xb5d041(0x7c)]?.[_0xb5d041(0x7f)]||null;if(!_0xe12d58){_0xf28c6e&&_0xf28c6e['updateData'](_0x117349[_0xb5d041(0xd6)],!![]);logger[_0xb5d041(0x1db)](_0x117349[_0xb5d041(0x1c8)]);return;}logger[_0xb5d041(0x1db)](_0x117349['kbTvy']);const _0xb770a0=_0xf28c6e?.[_0xb5d041(0xe6)](_0x117349['qoFRE'],![]),_0x227f72=_0xf28c6e?.['getData'](_0x117349[_0xb5d041(0xd6)],![]);if(_0x117349['BmDcy'](_0xb770a0,![])&&_0x117349[_0xb5d041(0xa1)](_0x227f72,![])){_0xf28c6e&&_0xf28c6e[_0xb5d041(0xdb)](_0x117349['qoFRE'],!![]);logger[_0xb5d041(0x1db)](_0x117349[_0xb5d041(0x112)]);return;}_0xf28c6e&&_0xf28c6e[_0xb5d041(0xdb)](_0x117349['olBnw'],!![]);let _0xd55d24,_0x12eda6;const _0xb65f62=_0x30910d['testFramework']||_0x117349[_0xb5d041(0x1e0)];if(_0x117349[_0xb5d041(0x75)](_0xb65f62,_0x117349[_0xb5d041(0x126)])){_0x12eda6=_0x30910d['testInfo']?.[_0xb5d041(0x8f)]||_0x30910d[_0xb5d041(0x224)]?.['id']||global[_0xb5d041(0x101)]||global[_0xb5d041(0x7c)]?.[_0xb5d041(0x1e6)]?.[_0xb5d041(0x8f)]||global['__workerDetails']?.[_0xb5d041(0x1e6)]?.['id'];const _0x53594b=_0xf28c6e?.[_0xb5d041(0x80)]()?.[_0xb5d041(0x153)](_0x12eda6);if(_0x53594b&&_0x53594b[TestFrameworkConstants[_0xb5d041(0x146)]])_0xd55d24=_0x53594b[TestFrameworkConstants[_0xb5d041(0x146)]];else{if(_0x30910d[_0xb5d041(0x224)]?.[_0xb5d041(0x22e)])_0xd55d24=_0x30910d[_0xb5d041(0x224)][_0xb5d041(0x22e)];else global['__workerDetails']?.[_0xb5d041(0x1e6)]?.[_0xb5d041(0x224)]?.[_0xb5d041(0x22e)]?_0xd55d24=global[_0xb5d041(0x7c)][_0xb5d041(0x1e6)][_0xb5d041(0x224)][_0xb5d041(0x22e)]:_0xd55d24=_0x117349[_0xb5d041(0x1d1)];}logger['debug'](_0xb5d041(0x86)+_0x12eda6+_0xb5d041(0x163)+JSON[_0xb5d041(0x203)](_0xd55d24));}else{_0x12eda6=this[_0xb5d041(0x85)](_0x30910d);const _0x2a8840=TestInfo[_0xb5d041(0x20e)](_0x12eda6);let _0x3e2d19=[];if(_0x2a8840&&Array[_0xb5d041(0x1d9)](_0x2a8840['test_tags'])&&_0x117349[_0xb5d041(0xec)](_0x2a8840['test_tags'][_0xb5d041(0xe8)],0x0))_0x3e2d19=_0x2a8840[_0xb5d041(0x1f5)];else{if(_0xf28c6e){const _0x11c9fb=_0x117349[_0xb5d041(0xf0)](typeof _0xf28c6e['getData'],_0x117349[_0xb5d041(0x9b)])?_0xf28c6e[_0xb5d041(0xe6)](_0x117349[_0xb5d041(0xcc)],[]):_0xf28c6e[_0xb5d041(0x1f5)]||[];Array['isArray'](_0x11c9fb)&&(_0x3e2d19=_0x11c9fb);}}_0xd55d24=_0x3e2d19;}logger['info'](_0xb5d041(0xbe)+JSON[_0xb5d041(0x203)](_0xd55d24));const _0xb9e5f2=this[_0xb5d041(0x209)](_0x52f8b0,_0x30910d[_0xb5d041(0xaa)],_0x30910d[_0xb5d041(0x155)]);logger[_0xb5d041(0x1db)](_0xb5d041(0x165)+_0xb9e5f2+_0xb5d041(0x107)+this[_0xb5d041(0x1fa)]);const _0x39c770=this['isEnabledTestcase'](_0xd55d24,_0x52f8b0,_0xb65f62),_0x43ccbb=_0x117349[_0xb5d041(0x16f)](_0xb9e5f2,_0x39c770),_0x36195c=CLIUtils[_0xb5d041(0x1e1)]();this[_0xb5d041(0x144)][_0xb5d041(0x97)](_0x36195c,_0x43ccbb),global['Context']?.[_0xb5d041(0x1bf)]&&global[_0xb5d041(0x118)]['getContext']()[_0xb5d041(0x18e)](_0x43ccbb),logger[_0xb5d041(0x1db)](_0xb5d041(0xce)+(_0x52f8b0?.[_0xb5d041(0x187)]?.()||_0x117349[_0xb5d041(0x1a9)])+_0xb5d041(0x12c)+_0x43ccbb),_0x43ccbb?(global[_0xb5d041(0x1f4)]=!![],process[_0xb5d041(0xc5)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x117349[_0xb5d041(0xab)],this[_0xb5d041(0x72)]()):global[_0xb5d041(0x1f4)]=![];}catch(_0x220eae){logger[_0xb5d041(0x6e)](_0xb5d041(0xc8)+(_0x220eae['stack']||_0x220eae[_0xb5d041(0x1f7)]));const _0x313337=CLIUtils['getCurrentInstanceName']();this[_0xb5d041(0x144)][_0xb5d041(0x97)](_0x313337,![]),global['accessibilityPlatform']=![];}}['getGoogleChromeOptions'](){const _0x1cf5d6=a80_0xb87c9d;return this[_0x1cf5d6(0x15b)][_0x1cf5d6(0xa5)](_0x1e1f8a=>_0x1e1f8a[_0x1cf5d6(0x13f)]()===_0x1cf5d6(0xb8))?.[_0x1cf5d6(0xa7)]()||'';}[a80_0xb87c9d(0x79)](_0x1a5823){const _0x56a30f=a80_0xb87c9d;try{const _0x45e868=this['accessibilityConfig']?.['options']?.['capabilitiesList']||[],_0x33dec3=_0x45e868[_0x56a30f(0xa5)](_0x31deaf=>_0x31deaf['name']===_0x1a5823);return _0x33dec3?_0x33dec3[_0x56a30f(0x156)]:null;}catch(_0x1dc840){return logger[_0x56a30f(0x1db)](_0x56a30f(0xda)+_0x1a5823+':\x20'+_0x1dc840[_0x56a30f(0x1f7)]),null;}}async['setAccessibilityConfig'](_0x45109d,_0x29b3ed){const _0x4af2b3=a80_0xb87c9d,_0x215200=_0x45109d['getAccessibility']()[_0x4af2b3(0xc7)](),_0x54528f=_0x215200[_0x4af2b3(0x16d)](),_0x998b58=_0x215200[_0x4af2b3(0x21d)]()?.['getCommandsList']();scripts[_0x4af2b3(0x9c)](_0x54528f,_0x998b58),scripts[_0x4af2b3(0x81)]();const _0x65dfc5=_0x215200['getCapabilitiesList']();this['capabilities']=_0x215200[_0x4af2b3(0x67)](),await this[_0x4af2b3(0x21e)](_0x65dfc5,_0x29b3ed[_0x4af2b3(0x155)]);}async[a80_0xb87c9d(0x21e)](_0x22881d,_0x532c1b={}){const _0x3805b3=a80_0xb87c9d,_0xa7bc4={'PXoSV':function(_0x36684c,_0x593e52){return _0x36684c===_0x593e52;},'MlaJg':_0x3805b3(0x200),'UPvLH':'browserstack.accessibilityOptions.authToken','oNQlY':function(_0x3573d,_0x108f01){return _0x3573d(_0x108f01);},'KaNmV':_0x3805b3(0xf1),'NAavr':_0x3805b3(0x121),'egjBB':'wcagVersion','AnDyK':_0x3805b3(0x18c),'McPNX':function(_0x4307f2,_0x2a2e69){return _0x4307f2===_0x2a2e69;},'WvlmU':_0x3805b3(0x172),'XyOKN':'browserstack.accessibilityOptions.scannerVersion','fxqGC':function(_0x44bee5,_0xe6add3){return _0x44bee5===_0xe6add3;},'VFxVM':'scannerProcessingTimeout','QrxtU':_0x3805b3(0x133)};global[_0x3805b3(0xde)]=global['__accessibilityOptions']||{};for(const _0x53d794 of _0x22881d){logger[_0x3805b3(0xd4)](_0x3805b3(0xe0)+_0x53d794[_0x3805b3(0x13f)]()+_0x3805b3(0x19b)+_0x53d794[_0x3805b3(0xa7)]());if(_0xa7bc4[_0x3805b3(0x14f)](_0x53d794[_0x3805b3(0x13f)](),_0xa7bc4[_0x3805b3(0x1b5)])){const _0x7feb0c=_0x53d794[_0x3805b3(0xa7)]();process[_0x3805b3(0xc5)]['BS_A11Y_JWT']=_0x7feb0c,global[_0x3805b3(0xde)][_0xa7bc4['UPvLH']]=_0x7feb0c;const _0xfca819=_0xa7bc4[_0x3805b3(0xf5)](require,_0xa7bc4[_0x3805b3(0x1b4)]),{isTrue:_0x11bf28}=_0xa7bc4['oNQlY'](require,_0xa7bc4[_0x3805b3(0x162)]),_0x581605=_0xfca819['parseA11yJwtPayload'](_0x7feb0c);_0x581605&&_0xa7bc4['oNQlY'](_0x11bf28,_0x581605[_0x3805b3(0x194)])&&(process[_0x3805b3(0xc5)]['BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE']=!![]);}else{if(_0xa7bc4[_0x3805b3(0x14f)](_0x53d794[_0x3805b3(0x13f)](),_0xa7bc4[_0x3805b3(0x1df)]))global[_0x3805b3(0xde)][_0xa7bc4[_0x3805b3(0x8a)]]=_0x53d794['getValue']();else{if(_0xa7bc4[_0x3805b3(0x102)](_0x53d794[_0x3805b3(0x13f)](),_0xa7bc4[_0x3805b3(0x15f)]))global[_0x3805b3(0xde)][_0xa7bc4[_0x3805b3(0x17c)]]=_0x53d794[_0x3805b3(0xa7)]();else _0xa7bc4['fxqGC'](_0x53d794[_0x3805b3(0x13f)](),_0xa7bc4[_0x3805b3(0x1c4)])&&(global[_0x3805b3(0xde)][_0xa7bc4[_0x3805b3(0x207)]]=_0x53d794[_0x3805b3(0xa7)]());}}}}async[a80_0xb87c9d(0x17a)](_0x47e6b7){const _0xba9f6=a80_0xb87c9d,_0xc2ca71={};_0xc2ca71['MjSWQ']=function(_0x5488e9,_0x595e55){return _0x5488e9!==_0x595e55;},_0xc2ca71['bpDKT']=_0xba9f6(0xaf),_0xc2ca71[_0xba9f6(0x7d)]=_0xba9f6(0x13b),_0xc2ca71[_0xba9f6(0x1f0)]=_0xba9f6(0x83),_0xc2ca71[_0xba9f6(0x10e)]='unknown';const _0x1e0ab6=_0xc2ca71;if(_0x1e0ab6['MjSWQ'](_0x47e6b7[_0xba9f6(0x1cd)],_0x1e0ab6[_0xba9f6(0x139)])&&_0x1e0ab6['MjSWQ'](_0x47e6b7[_0xba9f6(0x1cd)],_0x1e0ab6[_0xba9f6(0x7d)])){logger['debug'](_0x1e0ab6[_0xba9f6(0x1f0)]);return;}const _0x16f57a=_0x47e6b7[_0xba9f6(0x224)]?.[_0xba9f6(0x8f)]||_0x47e6b7[_0xba9f6(0x224)]?.['id']||global['__jestCurrentTestIdentifier'];logger['info'](_0xba9f6(0x1fd)+_0x47e6b7['testFramework']+_0xba9f6(0xa4)+_0x16f57a);try{const _0xf9c21e=_0x47e6b7[_0xba9f6(0x184)]||AutomationFramework[_0xba9f6(0x16a)](),_0x36702b=CLIUtils[_0xba9f6(0x1e1)](),_0x191050=this[_0xba9f6(0xc2)]();logger[_0xba9f6(0x1db)](_0xba9f6(0xce)+(_0xf9c21e?.[_0xba9f6(0x187)]?.()||_0x1e0ab6[_0xba9f6(0x10e)])+_0xba9f6(0x8d)+_0x191050),_0x191050&&await this[_0xba9f6(0x1ca)](_0xf9c21e,_0x47e6b7),this[_0xba9f6(0x144)][_0xba9f6(0x167)](_0x36702b),this[_0xba9f6(0x1e8)][_0xba9f6(0x167)](_0x36702b);}catch(_0x36bffb){logger[_0xba9f6(0x6e)](_0xba9f6(0x1dc)+(_0x36bffb[_0xba9f6(0x170)]||_0x36bffb[_0xba9f6(0x1f7)]));}}async[a80_0xb87c9d(0x1ca)](_0x45856a,_0x2610b9){const _0x314a45=a80_0xb87c9d,_0x236ede={};_0x236ede[_0x314a45(0x201)]=function(_0x11c6ce,_0x3f1776){return _0x11c6ce===_0x3f1776;},_0x236ede['akHrO']=_0x314a45(0xf6),_0x236ede[_0x314a45(0xfb)]=_0x314a45(0x13b),_0x236ede['NOuCX']=_0x314a45(0xaf),_0x236ede[_0x314a45(0x190)]=function(_0x56f6fd,_0x1c7a0d){return _0x56f6fd===_0x1c7a0d;},_0x236ede[_0x314a45(0x127)]=_0x314a45(0xe2),_0x236ede[_0x314a45(0xbc)]=_0x314a45(0x144),_0x236ede[_0x314a45(0x124)]='saveResults',_0x236ede[_0x314a45(0x211)]=_0x314a45(0x174),_0x236ede[_0x314a45(0x6b)]='present',_0x236ede[_0x314a45(0x221)]=_0x314a45(0x11e),_0x236ede[_0x314a45(0x1b7)]=function(_0xc3c4df,_0x6e9221){return _0xc3c4df||_0x6e9221;},_0x236ede[_0x314a45(0x183)]=function(_0x12e1fb,_0x438629){return _0x12e1fb||_0x438629;},_0x236ede[_0x314a45(0x19a)]=function(_0x2e18cc,_0x54fad1){return _0x2e18cc||_0x54fad1;},_0x236ede[_0x314a45(0x15c)]=_0x314a45(0xd8),_0x236ede[_0x314a45(0x158)]=_0x314a45(0x213);const _0x573418=_0x236ede;try{const _0x5de5da=_0x2610b9[_0x314a45(0x1cd)]||(_0x573418[_0x314a45(0x201)](this[_0x314a45(0x20f)]?.['name']?.['toLowerCase'](),_0x573418['jyjOG'])?_0x573418[_0x314a45(0xfb)]:_0x573418[_0x314a45(0x1c7)]);let _0x3ce8d7='',_0x469f84=null,_0x410714=null;if(_0x573418[_0x314a45(0x190)](_0x5de5da,_0x573418[_0x314a45(0xfb)])){_0x469f84=_0x2610b9[_0x314a45(0x224)]?.[_0x314a45(0x8f)]||_0x2610b9[_0x314a45(0x224)]?.['id']||global[_0x314a45(0x101)];if(!_0x469f84){logger[_0x314a45(0x18f)](_0x573418['QyPbc']);return;}try{const _0x326997=await GrpcClient[_0x314a45(0x78)]()['fetchDriverExecuteParamsEvent'](process[_0x314a45(0xc5)]['BROWSERSTACK_CLI_BIN_SESSION_ID'],_0x573418[_0x314a45(0xbc)],_0x573418[_0x314a45(0x124)],_0x469f84),_0x1eb2c5=AccessibilityModule[_0x314a45(0x11c)](null,_0x326997);_0x3ce8d7=_0x1eb2c5?.[_0x314a45(0x151)]||'',logger[_0x314a45(0x1db)]('[AccessibilityModule]\x20stopTestCapture:\x20Jest\x20-\x20resolved\x20thTestRunUuid='+_0x3ce8d7+_0x314a45(0x160)+_0x469f84),_0x410714=_0x326997;}catch(_0x1fdd16){logger[_0x314a45(0x6e)](_0x314a45(0x135)+_0x1fdd16[_0x314a45(0x1f7)]);return;}}else{const _0x583bdd=this[_0x314a45(0x85)](_0x2610b9);_0x3ce8d7=TestInfo[_0x314a45(0x222)](_0x583bdd);}const _0x44daca=((()=>{const _0x3065b6=_0x314a45,_0x848a0e=(this['accessibilityConfig']?.[_0x3065b6(0x122)]?.['capabilitiesList']||[])[_0x3065b6(0xa5)](_0x12c77a=>(typeof _0x12c77a[_0x3065b6(0x13f)]==='function'?_0x12c77a[_0x3065b6(0x13f)]():_0x12c77a[_0x3065b6(0x130)])===this[_0x3065b6(0x1ae)]);return _0x848a0e?_0x573418[_0x3065b6(0x201)](typeof _0x848a0e['getValue'],_0x573418['akHrO'])?_0x848a0e['getValue']():_0x848a0e['value']:'';})()),_0x5a586e=process['env'][_0x314a45(0x1b8)]||'';logger['debug'](_0x314a45(0xce)+(_0x45856a?.['getPlatformIndex']?.()||_0x573418[_0x314a45(0x211)])+_0x314a45(0x1fc)+_0x3ce8d7+_0x314a45(0x193)+_0x44daca+_0x314a45(0x159)+(_0x5a586e?_0x573418[_0x314a45(0x6b)]:_0x573418[_0x314a45(0x221)]));let _0x49d21c;if(_0x573418[_0x314a45(0x201)](_0x5de5da,_0x573418[_0x314a45(0xfb)]))_0x49d21c=AccessibilityModule[_0x314a45(0x11c)](_0x3ce8d7,_0x410714);else{const _0x153f47=await GrpcClient['getInstance']()[_0x314a45(0x185)](process['env'][_0x314a45(0xb3)],_0x573418[_0x314a45(0xbc)],_0x573418[_0x314a45(0x124)]);_0x49d21c=AccessibilityModule[_0x314a45(0x11c)](_0x3ce8d7,_0x153f47);}logger['debug']('Accessibility\x20data\x20for\x20extension:\x20'+JSON['stringify'](_0x49d21c));const _0x34f881=Object[_0x314a45(0x1f3)]({},{'thTestRunUuid':_0x573418[_0x314a45(0x1b7)](_0x3ce8d7,''),'thBuildUuid':_0x573418[_0x314a45(0x183)](_0x44daca,''),'thJwtToken':_0x573418[_0x314a45(0x19a)](_0x5a586e,'')},_0x49d21c);logger[_0x314a45(0x1db)](_0x314a45(0x70)+_0x3ce8d7+_0x314a45(0x107)+this['isAppAccessibility']);let _0x2403f0=global['__workerDetails']?.['pwPage']||null;!_0x2403f0&&(_0x2403f0=AutomationFramework['getState'](_0x45856a,_0x573418[_0x314a45(0x15c)],null)),!_0x2403f0&&(_0x2403f0=AutomationFramework['getState'](_0x45856a,_0x573418[_0x314a45(0x158)],null)),await this[_0x314a45(0x168)](this[_0x314a45(0xc2)](),_0x3ce8d7,_0x2403f0,_0x34f881,this[_0x314a45(0x1fa)]);}catch(_0x5a652a){logger[_0x314a45(0x6e)](_0x314a45(0x92)+(_0x5a652a['stack']||_0x5a652a[_0x314a45(0x1f7)]));}}async[a80_0xb87c9d(0x168)](_0x3e1865,_0x5557c9,_0x3a7454,_0x3204ef,_0x1e6dd6){const _0x2de43b=a80_0xb87c9d,_0x4eefcf={};_0x4eefcf['kMEuY']='saveResults',_0x4eefcf[_0x2de43b(0x171)]=function(_0x59ba0a,_0x463deb){return _0x59ba0a&&_0x463deb;},_0x4eefcf[_0x2de43b(0x6f)]=_0x2de43b(0xcd),_0x4eefcf[_0x2de43b(0x111)]=function(_0x38cd24,_0x4fd496){return _0x38cd24===_0x4fd496;},_0x4eefcf['oowai']=_0x2de43b(0x11e),_0x4eefcf[_0x2de43b(0xcb)]=function(_0x5e2b37,_0x46e859){return _0x5e2b37===_0x46e859;},_0x4eefcf[_0x2de43b(0x1bc)]=_0x2de43b(0xd7),_0x4eefcf[_0x2de43b(0xa0)]=_0x2de43b(0x22a),_0x4eefcf[_0x2de43b(0x1d7)]=_0x2de43b(0x98),_0x4eefcf[_0x2de43b(0x16e)]=_0x2de43b(0x228),_0x4eefcf['BSgiC']=function(_0x4c63b9,_0x23c032){return _0x4c63b9&&_0x23c032;},_0x4eefcf['DdDpJ']=_0x2de43b(0x157),_0x4eefcf[_0x2de43b(0x22d)]=_0x2de43b(0x208),_0x4eefcf[_0x2de43b(0x138)]=_0x2de43b(0x10d);const _0xc95691=_0x4eefcf;try{const _0x4fbe30=this[_0x2de43b(0x21f)](_0xc95691['kMEuY']);if(_0xc95691['vwsRy'](!_0x1e6dd6,!_0x4fbe30)){logger[_0x2de43b(0x1db)](_0xc95691[_0x2de43b(0x6f)]);return;}if(!_0x5557c9||_0xc95691['MlnAy'](_0x5557c9,_0xc95691[_0x2de43b(0x82)])||_0xc95691['jwYSg'](_0x5557c9,'')){logger[_0x2de43b(0x1db)](_0xc95691[_0x2de43b(0x1bc)]);return;}logger[_0x2de43b(0x1db)]('Accessibility\x20extension\x20data\x20for\x20current\x20test\x20from\x20cli\x20'+JSON['stringify'](_0x3204ef)),_0x3e1865&&(logger[_0x2de43b(0x1db)](_0xc95691['LcvFM']),await this[_0x2de43b(0x1ed)](_0x3a7454,_0x5557c9,_0xc95691[_0x2de43b(0x1d7)],_0x3204ef,_0x1e6dd6,_0xc95691[_0x2de43b(0x16e)]),_0xc95691[_0x2de43b(0x91)](!_0x1e6dd6,_0x4fbe30)&&(logger[_0x2de43b(0x1db)](_0xc95691['DdDpJ']),await PerformanceTester[_0x2de43b(0xf7)](_0xc95691[_0x2de43b(0x22d)],async()=>{const _0x23eca4=_0x2de43b;await this[_0x23eca4(0x1ed)](_0x3a7454,_0x5557c9,_0xc95691[_0x23eca4(0x104)],_0x3204ef,_0x1e6dd6,_0xc95691['kMEuY']);})()),logger[_0x2de43b(0xd4)](_0xc95691[_0x2de43b(0x138)]));}catch(_0xe120be){logger[_0x2de43b(0x6e)](_0x2de43b(0x219)+(_0xe120be[_0x2de43b(0x170)]||_0xe120be[_0x2de43b(0x1f7)]));}}async['onBeforeExecute'](_0x1b501a){const _0x1e662a=a80_0xb87c9d,_0x16f2cb={};_0x16f2cb[_0x1e662a(0x1a2)]=function(_0xbda493,_0x5cab3f){return _0xbda493!==_0x5cab3f;},_0x16f2cb[_0x1e662a(0x1b6)]='cucumber',_0x16f2cb['NmvbQ']=function(_0x531c20,_0x41dd2e){return _0x531c20!==_0x41dd2e;},_0x16f2cb[_0x1e662a(0xdc)]=_0x1e662a(0x13b),_0x16f2cb[_0x1e662a(0x93)]=_0x1e662a(0x1fe),_0x16f2cb[_0x1e662a(0x1b2)]=_0x1e662a(0x174),_0x16f2cb[_0x1e662a(0x206)]=_0x1e662a(0x220),_0x16f2cb['nfmkZ']=function(_0x39dd1b,_0x203b27){return _0x39dd1b===_0x203b27;},_0x16f2cb[_0x1e662a(0x22c)]=_0x1e662a(0x117),_0x16f2cb[_0x1e662a(0x1b3)]='accessibility',_0x16f2cb[_0x1e662a(0x152)]=_0x1e662a(0x13c),_0x16f2cb[_0x1e662a(0x134)]='test_run_id',_0x16f2cb['iwFEO']=_0x1e662a(0xb2),_0x16f2cb['nhUCq']=_0x1e662a(0x228),_0x16f2cb['EqJwO']=_0x1e662a(0x11e);const _0x22dbef=_0x16f2cb;if(_0x22dbef[_0x1e662a(0x1a2)](_0x1b501a[_0x1e662a(0x1cd)],_0x22dbef['LCnDR'])&&_0x22dbef[_0x1e662a(0x1eb)](_0x1b501a[_0x1e662a(0x1cd)],_0x22dbef[_0x1e662a(0xdc)])){logger['debug'](_0x22dbef[_0x1e662a(0x93)]);return;}logger[_0x1e662a(0x1db)](_0x1e662a(0x1cf)+(_0x1b501a[_0x1e662a(0xd1)]||_0x22dbef[_0x1e662a(0x1b2)])+',\x20framework='+_0x1b501a[_0x1e662a(0x1cd)]);try{const _0x5e838c=_0x1b501a[_0x1e662a(0x184)]||AutomationFramework[_0x1e662a(0x16a)](),_0x3c92e2=TestFramework[_0x1e662a(0x16a)](),_0x4ee72c=_0x1b501a[_0x1e662a(0xd1)]||_0x1b501a[_0x1e662a(0x140)]?.[_0x1e662a(0x13f)]();if(!_0x4ee72c){logger[_0x1e662a(0x1db)](_0x22dbef[_0x1e662a(0x206)]);return;}if(!this[_0x1e662a(0xc2)]()){logger[_0x1e662a(0x1db)]('onBeforeExecute:\x20Accessibility\x20not\x20enabled\x20for\x20current\x20test,\x20skipping\x20scan\x20for\x20'+_0x4ee72c);return;}if(!this[_0x1e662a(0x12f)](_0x4ee72c)){logger['debug']('onBeforeExecute:\x20Command\x20'+_0x4ee72c+_0x1e662a(0x73));return;}const _0x3dca5e=_0x1b501a[_0x1e662a(0xe9)]||global[_0x1e662a(0x7c)]?.[_0x1e662a(0x7f)];if(!_0x3dca5e){logger[_0x1e662a(0x1db)](_0x1e662a(0xd9)+_0x4ee72c);return;}let _0x3b5f52='',_0x5868b5=null;if(_0x22dbef[_0x1e662a(0x18d)](_0x1b501a[_0x1e662a(0x1cd)],_0x22dbef[_0x1e662a(0xdc)])){_0x5868b5=_0x1b501a[_0x1e662a(0x224)]?.[_0x1e662a(0x8f)]||_0x1b501a[_0x1e662a(0x224)]?.['id']||global[_0x1e662a(0x101)];if(!_0x5868b5){logger['warn'](_0x22dbef[_0x1e662a(0x22c)]);return;}try{const _0x57aa82=await GrpcClient['getInstance']()[_0x1e662a(0x185)](process['env'][_0x1e662a(0xb3)],_0x22dbef[_0x1e662a(0x1b3)],_0x22dbef[_0x1e662a(0x152)],_0x5868b5),_0x49856f=AccessibilityModule[_0x1e662a(0x11c)](null,_0x57aa82);_0x3b5f52=_0x49856f?.[_0x1e662a(0x151)]||'',logger[_0x1e662a(0x1db)]('[AccessibilityModule]\x20onBeforeExecute:\x20Jest\x20-\x20resolved\x20thTestRunUuid='+_0x3b5f52+_0x1e662a(0x160)+_0x5868b5);}catch(_0x217875){logger[_0x1e662a(0x6e)](_0x1e662a(0x1b9)+_0x217875[_0x1e662a(0x1f7)]);return;}}else _0x3b5f52=this[_0x1e662a(0x79)](_0x22dbef[_0x1e662a(0x134)])||'';const _0x291260=this[_0x1e662a(0x79)](_0x22dbef[_0x1e662a(0x10c)])||this['accessibilityConfig'][this[_0x1e662a(0x1ae)]]||null,_0x1e7b40=process[_0x1e662a(0xc5)][_0x1e662a(0x1b8)]||'',_0x3b36de=this[_0x1e662a(0x1c5)](_0x4ee72c,_0x3b5f52,_0x291260,_0x1e7b40),_0x35e76c=_0x22dbef[_0x1e662a(0x18d)](_0x1b501a[_0x1e662a(0x1cd)],_0x22dbef[_0x1e662a(0xdc)])?await AccessibilityModule[_0x1e662a(0xd3)](_0x22dbef[_0x1e662a(0xa9)],_0x3b5f52,_0x5868b5):await AccessibilityModule[_0x1e662a(0xd3)](_0x22dbef[_0x1e662a(0xa9)],_0x3b5f52);logger[_0x1e662a(0xd4)]('ScanArgs:\x20'+(_0x3b36de?JSON['stringify'](_0x3b36de):_0x22dbef[_0x1e662a(0x1a6)]));const _0x12b9c9=CLIUtils[_0x1e662a(0xcf)](_0x3b36de,_0x35e76c);logger[_0x1e662a(0xd4)](_0x1e662a(0x9a)+(_0x12b9c9?JSON['stringify'](_0x12b9c9):_0x22dbef[_0x1e662a(0x1a6)])),logger[_0x1e662a(0x1db)](_0x1e662a(0x90)+_0x4ee72c);const _0x8997bb=await this[_0x1e662a(0x1ed)](_0x3dca5e,_0x3b5f52,_0x4ee72c,_0x12b9c9,this[_0x1e662a(0x1fa)]);logger[_0x1e662a(0x1db)](_0x1e662a(0x1bb)+_0x4ee72c+',\x20\x0a\x20'+_0x8997bb);}catch(_0x5498e9){logger['error'](_0x1e662a(0x227)+(_0x5498e9[_0x1e662a(0x170)]||_0x5498e9[_0x1e662a(0x1f7)]));}}[a80_0xb87c9d(0x1f2)](){const _0x46f277=a80_0xb87c9d;return this[_0x46f277(0xc2)]();}['setShouldScanCurrentTest'](_0x5c5a69){const _0x1f8002=a80_0xb87c9d,_0x29a6aa=CLIUtils[_0x1f8002(0x1e1)]();this['accessibility'][_0x1f8002(0x97)](_0x29a6aa,_0x5c5a69);}async['initAccessibilityConfig'](_0x18bc36){const _0x3fac4d=a80_0xb87c9d,_0x4fdd4b={};_0x4fdd4b['IKMRV']='unknown';const _0x4e616c=_0x4fdd4b;try{const _0x4578c1=_0x18bc36[_0x3fac4d(0x184)]||AutomationFramework['getTrackedInstance'](),_0x2ce683=_0x4578c1?.[_0x3fac4d(0xe6)]?.()?.['get']?.(this[_0x3fac4d(0xca)])||![];if(_0x2ce683)return;PerformanceTester[_0x3fac4d(0x9d)](EVENTS[_0x3fac4d(0x1e7)]);const _0x3563ca=await GrpcClient[_0x3fac4d(0x78)]()[_0x3fac4d(0x18b)](_0x18bc36);_0x3563ca&&_0x3563ca[_0x3fac4d(0x6a)]&&_0x3563ca[_0x3fac4d(0x6a)]()&&_0x3563ca[_0x3fac4d(0x6a)]()[_0x3fac4d(0x1e5)]()?(await this[_0x3fac4d(0xa6)](_0x3563ca,_0x18bc36),_0x4578c1?.['getData']&&_0x4578c1[_0x3fac4d(0xe6)]()[_0x3fac4d(0x97)](this['KEY_INIT'],!![]),logger[_0x3fac4d(0x1db)](_0x3fac4d(0xce)+(_0x4578c1?.[_0x3fac4d(0x187)]?.()||_0x4e616c[_0x3fac4d(0x12d)])+_0x3fac4d(0x109))):logger['debug']('[platform\x20-\x20'+(_0x4578c1?.['getPlatformIndex']?.()||_0x4e616c[_0x3fac4d(0x12d)])+_0x3fac4d(0x198)),PerformanceTester[_0x3fac4d(0x19f)](EVENTS[_0x3fac4d(0x1e7)]);}catch(_0x2f02fe){PerformanceTester[_0x3fac4d(0x19f)](EVENTS['SDK_ACCESSIBILITY_CONFIG'],![],_0x2f02fe[_0x3fac4d(0x1f7)]),logger[_0x3fac4d(0x6e)]('Error\x20in\x20initAccessibilityConfig:\x20'+(_0x2f02fe[_0x3fac4d(0x170)]||_0x2f02fe[_0x3fac4d(0x1f7)]));}}async[a80_0xb87c9d(0xa6)](_0x53a221,_0x539768){const _0x4ee002=a80_0xb87c9d;await this[_0x4ee002(0x148)](_0x53a221,_0x539768);const _0x133925=_0x53a221[_0x4ee002(0x6a)]()[_0x4ee002(0xc7)]();if(_0x133925){const _0x3d64fd=_0x53a221[_0x4ee002(0x191)]&&_0x53a221['getTesthub']();_0x3d64fd&&(this['accessibilityConfig'][this[_0x4ee002(0x1ae)]]=_0x3d64fd[_0x4ee002(0x196)]&&_0x3d64fd['getBuildId']());}}[a80_0xb87c9d(0x12f)](_0x1397b4){const _0x39ac0d=a80_0xb87c9d,_0x4ea91b={};_0x4ea91b[_0x39ac0d(0x19d)]=function(_0x611ab2,_0x545d0c){return _0x611ab2===_0x545d0c;};const _0x2d8971=_0x4ea91b;try{if(!_0x1397b4)return![];const _0x114624=this['accessibilityConfig']?.[_0x39ac0d(0x122)]?.[_0x39ac0d(0x106)]?.[_0x39ac0d(0x142)]||[],_0x121c67=_0x114624[_0x39ac0d(0x175)](_0x4c9dd9=>{const _0x300b8b=_0x39ac0d;return _0x4c9dd9[_0x300b8b(0x130)]&&_0x2d8971[_0x300b8b(0x19d)](_0x4c9dd9[_0x300b8b(0x130)][_0x300b8b(0x225)](),_0x1397b4['toLowerCase']());});return logger[_0x39ac0d(0x1db)](_0x39ac0d(0x19c)+_0x1397b4+_0x39ac0d(0xb0)+_0x121c67+_0x39ac0d(0xf4)+JSON['stringify'](_0x114624[_0x39ac0d(0x115)](_0x45d41d=>_0x45d41d[_0x39ac0d(0x130)]))),_0x121c67;}catch(_0x30f0db){return logger['debug']('Error\x20in\x20shouldScanForCommand:\x20'+_0x30f0db['message']),![];}}[a80_0xb87c9d(0x15d)](_0x3b3c05){const _0x54507f=a80_0xb87c9d,_0x4306a7={};_0x4306a7[_0x54507f(0xe5)]=function(_0x6a7d82,_0x622860){return _0x6a7d82===_0x622860;},_0x4306a7[_0x54507f(0x137)]='string',_0x4306a7[_0x54507f(0x166)]='browserstack_executor';const _0x51d6de=_0x4306a7,_0x2914ce=_0x3b3c05[_0x54507f(0x16b)]&&_0x3b3c05[_0x54507f(0x16b)]();return _0x2914ce&&_0x51d6de[_0x54507f(0xe5)](typeof _0x2914ce,_0x51d6de[_0x54507f(0x137)])&&_0x2914ce[_0x54507f(0x1cb)](_0x51d6de[_0x54507f(0x166)]);}[a80_0xb87c9d(0x14b)](_0x5b4c1c){const _0x596112=a80_0xb87c9d,_0x2184c5={};_0x2184c5['vKxmr']=function(_0x3b9633,_0x598e1f){return _0x3b9633!==_0x598e1f;},_0x2184c5[_0x596112(0x14d)]=_0x596112(0x1ac),_0x2184c5['iKvtb']=_0x596112(0x144),_0x2184c5[_0x596112(0x10f)]='performScan',_0x2184c5[_0x596112(0x181)]=_0x596112(0x21c),_0x2184c5[_0x596112(0x7e)]=_0x596112(0x9e);const _0x4db4ce=_0x2184c5,_0x1e515c=_0x5b4c1c[_0x596112(0x16b)]&&_0x5b4c1c[_0x596112(0x16b)]();if(!_0x1e515c||_0x4db4ce[_0x596112(0x136)](typeof _0x1e515c,_0x4db4ce[_0x596112(0x14d)]))return![];return _0x1e515c[_0x596112(0x1cb)](_0x4db4ce['iKvtb'])||_0x1e515c['includes'](_0x4db4ce[_0x596112(0x10f)])||_0x1e515c[_0x596112(0x1cb)](_0x4db4ce[_0x596112(0x181)])||_0x1e515c[_0x596112(0x1cb)](_0x4db4ce[_0x596112(0x7e)]);}[a80_0xb87c9d(0x1c5)](_0x2c7ff3,_0x5d1a12,_0x3a9365,_0x3abe85){const _0x571c64=a80_0xb87c9d,_0x2c3442={};_0x2c3442[_0x571c64(0xeb)]=function(_0xe4b9f0,_0x47aec9){return _0xe4b9f0||_0x47aec9;},_0x2c3442[_0x571c64(0x131)]=function(_0x33c9c3,_0x3a0083){return _0x33c9c3||_0x3a0083;},_0x2c3442['LltLv']=function(_0x385488,_0x543cd6){return _0x385488||_0x543cd6;};const _0x52d095=_0x2c3442;return{'command':_0x2c7ff3,'thTestRunUuid':_0x52d095[_0x571c64(0xeb)](_0x5d1a12,''),'thBuildUuid':_0x52d095[_0x571c64(0x131)](_0x3a9365,''),'thJwtToken':_0x52d095[_0x571c64(0x18a)](_0x3abe85,''),'timestamp':new Date()[_0x571c64(0xfd)]()};}['getScriptByName'](_0x3adf26){const _0x23dbf2=a80_0xb87c9d,_0x488153={};_0x488153[_0x23dbf2(0x182)]=function(_0x1fbc39,_0x1f057c){return _0x1fbc39||_0x1f057c;};const _0x428d04=_0x488153;try{const _0x52f71e=this[_0x23dbf2(0x161)]?.[_0x23dbf2(0x122)]?.[_0x23dbf2(0x100)]||[],_0x561154=_0x52f71e[_0x23dbf2(0xa5)](_0x11faac=>_0x11faac[_0x23dbf2(0x130)]===_0x3adf26);return _0x428d04[_0x23dbf2(0x182)](_0x561154,null);}catch(_0x24885a){return logger[_0x23dbf2(0x1db)](_0x23dbf2(0x1f8)+_0x3adf26+':\x20'+_0x24885a[_0x23dbf2(0x1f7)]),null;}}async[a80_0xb87c9d(0x1ab)](_0x3df39d,_0x4296b8,_0x2251ba=null){const _0xa685a1=a80_0xb87c9d,_0x3fce9c={'Jlfkb':function(_0x1a708f,_0x227704){return _0x1a708f(_0x227704);},'nANWM':_0xa685a1(0x17d)};try{if(!_0x3df39d)return logger['debug'](_0xa685a1(0x1a4)+_0x4296b8),null;const _0x58159d=this['getScriptByName'](_0x4296b8);if(!_0x58159d||!_0x58159d[_0xa685a1(0x140)])return logger[_0xa685a1(0x1db)](_0xa685a1(0x8c)+_0x4296b8+_0xa685a1(0xad)),null;logger[_0xa685a1(0x1db)](_0xa685a1(0x188)+_0x4296b8+_0xa685a1(0x10b));const _0x1d37ab=_0x3fce9c[_0xa685a1(0x143)](require,_0x3fce9c['nANWM']),_0x100f17=_0x2251ba?await _0x1d37ab[_0xa685a1(0x215)](_0x3df39d,_0x58159d[_0xa685a1(0x140)],_0x2251ba):await _0x1d37ab['browserStackEvaluate'](_0x3df39d,_0x58159d[_0xa685a1(0x140)]);return _0x100f17;}catch(_0x466a5e){return logger[_0xa685a1(0x6e)](_0xa685a1(0x12b)+_0x4296b8+':\x20'+(_0x466a5e[_0xa685a1(0x170)]||_0x466a5e[_0xa685a1(0x1f7)])),null;}}async[a80_0xb87c9d(0x1ed)](_0x2aef76,_0x25512d,_0x5f28b7,_0x5a0506,_0x463824,_0xbbde14='scan'){const _0xe5efd=a80_0xb87c9d,_0x14c3a1={'xwPyX':function(_0x965111,_0x23ec13){return _0x965111===_0x23ec13;},'Qzhzf':_0xe5efd(0x228),'SypnP':function(_0x13181f,_0x49ef2a){return _0x13181f(_0x49ef2a);},'kXuRH':_0xe5efd(0x17d),'jSsiy':function(_0x3b0aa9,_0xdde9ac){return _0x3b0aa9(_0xdde9ac);}};try{logger[_0xe5efd(0x1db)](_0xe5efd(0xd5)+_0x5f28b7+'\x20using\x20script:\x20'+_0xbbde14);const _0x32da0e=this[_0xe5efd(0x21f)](_0xbbde14);if(!_0x32da0e||!_0x32da0e[_0xe5efd(0x140)]){logger[_0xe5efd(0x1db)]('performScanForCli:\x20No\x20'+_0xbbde14+_0xe5efd(0x1ea));return;}if(_0x14c3a1[_0xe5efd(0x129)](_0xbbde14,_0x14c3a1[_0xe5efd(0x212)])){const _0x40855e=_0x14c3a1[_0xe5efd(0x210)](require,_0x14c3a1[_0xe5efd(0xc6)]),_0x1e4c4a={};_0x1e4c4a['command']=_0x5f28b7;const _0x9a0fe0=await PerformanceTester[_0xe5efd(0xf7)](PerformanceA11yEvents[_0xe5efd(0x186)],async()=>{const _0x1571c0=_0xe5efd;await _0x40855e[_0x1571c0(0x215)](_0x2aef76,_0x32da0e[_0x1571c0(0x140)]);},_0x1e4c4a)();return logger[_0xe5efd(0xd4)](_0xe5efd(0x21b)+_0xbbde14+_0xe5efd(0x178)+_0x5f28b7+':\x20'+util['format'](_0x9a0fe0)),_0x9a0fe0;}const _0x3dd373=_0x14c3a1[_0xe5efd(0xfe)](require,_0x14c3a1['kXuRH']),_0x51b168=await PerformanceTester[_0xe5efd(0xf7)](PerformanceA11yEvents[_0xe5efd(0x1ad)],async()=>{await _0x3dd373['browserStackEvaluate'](_0x2aef76,_0x32da0e['command'],_0x5a0506);})();return logger['info'](_0xe5efd(0x21b)+_0xbbde14+_0xe5efd(0x178)+_0x5f28b7+':\x20'+util[_0xe5efd(0xa3)](_0x51b168)),_0x51b168;}catch(_0x2f4ea0){logger[_0xe5efd(0x6e)](_0xe5efd(0xae)+_0xbbde14+':\x20'+(_0x2f4ea0[_0xe5efd(0x170)]||_0x2f4ea0['message']));}}async['validatePlatformForAccessibility'](_0x5f4ecd){const _0x1349ee=a80_0xb87c9d,_0x296f46={'ZxNtc':function(_0x4fbb9d,_0x58ef53){return _0x4fbb9d(_0x58ef53);},'VHLUR':_0x1349ee(0xf1)};try{const _0x12ff1c=_0x296f46[_0x1349ee(0xba)](require,_0x296f46[_0x1349ee(0x15a)]);return await _0x12ff1c[_0x1349ee(0x1d0)](_0x5f4ecd);}catch(_0x5536f1){return logger['error']('Error\x20in\x20validatePlatformForAccessibility:\x20'+(_0x5536f1['stack']||_0x5536f1[_0x1349ee(0x1f7)])),![];}}[a80_0xb87c9d(0x120)](_0x2890e4,_0x2ef384,_0x175875){const _0x27236b=a80_0xb87c9d,_0x32a04f={'TUXCf':function(_0x5b0ed8,_0x59d3c5){return _0x5b0ed8(_0x59d3c5);},'ljopu':_0x27236b(0x17d),'CQhAA':_0x27236b(0x154),'rQSnn':_0x27236b(0x199)};try{const _0x1df00f=_0x32a04f[_0x27236b(0x1de)](require,_0x32a04f[_0x27236b(0x19e)]);_0x1df00f[_0x27236b(0x120)](_0x2890e4,_0x2ef384,_0x175875);const _0x13481f=JSON[_0x27236b(0x203)](_0x2890e4)[_0x27236b(0x16c)](/"browserstack\.user":"[^"]*"/g,_0x32a04f['CQhAA'])[_0x27236b(0x16c)](/"browserstack\.key":"[^"]*"/g,_0x32a04f[_0x27236b(0x71)]);logger[_0x27236b(0x1db)](_0x27236b(0x179)+global[_0x27236b(0x1f4)]+'\x20'+_0x13481f);}catch(_0x1c1166){logger[_0x27236b(0x6e)](_0x27236b(0xc1)+(_0x1c1166[_0x27236b(0x170)]||_0x1c1166[_0x27236b(0x1f7)]));}}async[a80_0xb87c9d(0x14e)](_0x3a5f78){const _0x24d84e=a80_0xb87c9d,_0x219882={};_0x219882[_0x24d84e(0x1cc)]='Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20results.',_0x219882[_0x24d84e(0x8e)]='getResults';const _0x5cccaa=_0x219882;try{if(!this['getCurrentAccessibilityStatus']())return logger['warn'](_0x5cccaa[_0x24d84e(0x1cc)]),[];const _0x462f76=await this['executeScriptByName'](_0x3a5f78,_0x5cccaa[_0x24d84e(0x8e)]);return _0x462f76||[];}catch(_0x48813c){return logger[_0x24d84e(0x6e)](_0x24d84e(0x96)+(_0x48813c[_0x24d84e(0x170)]||_0x48813c['message'])),[];}}async[a80_0xb87c9d(0x15e)](_0x43e91c){const _0x4a8f03=a80_0xb87c9d,_0x34e5ef={'iSsxZ':_0x4a8f03(0x228),'FKvzw':'getResultsSummary','xDjJM':'Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20summary.','GIyrA':function(_0x262625,_0x4cd815){return _0x262625(_0x4cd815);},'wAxnr':'../cliUtils','gpKHf':function(_0x4ec374,_0x51abfb){return _0x4ec374===_0x51abfb;},'gGphV':_0x4a8f03(0x13b),'wEWSa':_0x4a8f03(0x1d5),'XvWUH':_0x4a8f03(0x144),'Wtrdl':_0x4a8f03(0xb2),'XLIdB':_0x4a8f03(0x15e),'WFaRd':'test_run_id','fMClx':'Performing\x20scan\x20before\x20getting\x20results\x20summary','zJnvF':_0x4a8f03(0xf9)};try{if(!this[_0x4a8f03(0xc2)]())return logger[_0x4a8f03(0x18f)](_0x34e5ef['xDjJM']),{};const _0x2f6ce4=_0x34e5ef['GIyrA'](require,_0x34e5ef[_0x4a8f03(0x9f)]),_0x2decbb=_0x2f6ce4[_0x4a8f03(0x180)](),_0x742e44=_0x34e5ef['gpKHf'](_0x2decbb?.[_0x4a8f03(0x130)]?.['toLowerCase'](),_0x34e5ef[_0x4a8f03(0x110)]);let _0x52b90f='',_0x16687a=null,_0x184712=null;if(_0x742e44){_0x16687a=global[_0x4a8f03(0x101)]||global[_0x4a8f03(0x7c)]?.[_0x4a8f03(0x1e6)]?.[_0x4a8f03(0x8f)]||global[_0x4a8f03(0x7c)]?.[_0x4a8f03(0x1e6)]?.['id'];if(!_0x16687a)return logger[_0x4a8f03(0x18f)](_0x34e5ef[_0x4a8f03(0x105)]),{};try{const _0x64b463=await GrpcClient['getInstance']()['fetchDriverExecuteParamsEvent'](process['env'][_0x4a8f03(0xb3)],_0x34e5ef[_0x4a8f03(0xdf)],_0x34e5ef['FKvzw'],_0x16687a),_0x36329e=AccessibilityModule[_0x4a8f03(0x11c)](null,_0x64b463);_0x52b90f=_0x36329e?.['thTestRunUuid']||'',logger['debug'](_0x4a8f03(0x14c)+_0x52b90f+'\x20from\x20testIdentifier='+_0x16687a);const _0x50e820=await AccessibilityModule[_0x4a8f03(0xd3)](_0x34e5ef[_0x4a8f03(0x6d)],_0x52b90f,_0x16687a),_0x5dadd6=this[_0x4a8f03(0x79)](_0x34e5ef[_0x4a8f03(0x103)])||this[_0x4a8f03(0x161)][this['KEY_TESTHUB_BUILD_ID']]||null,_0x371f03=process[_0x4a8f03(0xc5)][_0x4a8f03(0x1b8)]||'',_0xb28de0=this[_0x4a8f03(0x1c5)](_0x34e5ef[_0x4a8f03(0x132)],_0x52b90f,_0x5dadd6,_0x371f03);_0x184712=_0x2f6ce4['mergeObject'](_0xb28de0,_0x50e820),logger[_0x4a8f03(0x1db)]('[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20summaryArgs='+JSON[_0x4a8f03(0x203)](_0x184712));}catch(_0xeceb3e){return logger[_0x4a8f03(0x6e)](_0x4a8f03(0x1c9)+_0xeceb3e[_0x4a8f03(0x1f7)]),{};}}else{_0x52b90f=this[_0x4a8f03(0x79)](_0x34e5ef[_0x4a8f03(0x1e3)])||'';const _0x4b5e5b=this['getCapabilityValue'](_0x34e5ef['Wtrdl'])||this[_0x4a8f03(0x161)][this['KEY_TESTHUB_BUILD_ID']]||null,_0x251a2e=process[_0x4a8f03(0xc5)][_0x4a8f03(0x1b8)]||'';_0x184712=this['getParamsForScanForCli'](_0x34e5ef['XLIdB'],_0x52b90f,_0x4b5e5b,_0x251a2e);}logger['debug'](_0x34e5ef['fMClx']),await PerformanceTester[_0x4a8f03(0xf7)](PerformanceA11yEvents[_0x4a8f03(0x186)],async()=>{const _0x5a77a0=_0x4a8f03,_0x112c9a=await this[_0x5a77a0(0x1ab)](_0x43e91c,_0x34e5ef[_0x5a77a0(0x125)],_0x184712);logger['debug'](_0x5a77a0(0x145)+util[_0x5a77a0(0xa3)](_0x112c9a));},{'command':_0x34e5ef[_0x4a8f03(0x132)]})();const _0x13c649=await PerformanceTester[_0x4a8f03(0xf7)](PerformanceA11yEvents['GET_RESULTS_SUMMARY'],async()=>{const _0x1b43a9=_0x4a8f03;return await this[_0x1b43a9(0x1ab)](_0x43e91c,_0x34e5ef[_0x1b43a9(0x6d)],_0x184712);})();if(!_0x13c649)return logger['debug'](_0x34e5ef[_0x4a8f03(0x204)]),{};return _0x13c649;}catch(_0x47da7b){return logger[_0x4a8f03(0x6e)](_0x4a8f03(0x10a)+(_0x47da7b[_0x4a8f03(0x170)]||_0x47da7b['message'])),{};}}async['performPageScan'](_0xf1c7e5,_0x5d5165,_0x3e78fc=null){const _0x4eb51f=a80_0xb87c9d,_0x2987cb={};_0x2987cb[_0x4eb51f(0x1fb)]=_0x4eb51f(0x7a),_0x2987cb[_0x4eb51f(0x1aa)]=_0x4eb51f(0xa8),_0x2987cb[_0x4eb51f(0xe3)]='Executing\x20accessibility\x20script\x20on\x20page';const _0x278446=_0x2987cb;try{if(!_0xf1c7e5)return logger[_0x4eb51f(0x1db)](_0x278446[_0x4eb51f(0x1fb)]),null;if(!_0x5d5165)return logger[_0x4eb51f(0x1db)](_0x278446['ciTAe']),null;logger[_0x4eb51f(0x1db)](_0x278446[_0x4eb51f(0xe3)]);const _0x2271a5=_0x3e78fc?await _0xf1c7e5[_0x4eb51f(0x68)](_0x5d5165,_0x3e78fc):await _0xf1c7e5[_0x4eb51f(0x68)](_0x5d5165);return _0x2271a5;}catch(_0x550c3b){return logger[_0x4eb51f(0x6e)]('Error\x20in\x20performPageScan:\x20'+(_0x550c3b[_0x4eb51f(0x170)]||_0x550c3b[_0x4eb51f(0x1f7)])),null;}}static[a80_0xb87c9d(0x11c)](_0x1b0bcc,_0xc038ba){const _0x5ab4f5=a80_0xb87c9d,_0x55f77d={};_0x55f77d[_0x5ab4f5(0x192)]=_0x5ab4f5(0x94);const _0x44f92a=_0x55f77d,_0x5f2563={};_0x5f2563[_0x5ab4f5(0x151)]=_0x1b0bcc;const _0x1236fb=_0x5f2563;let _0x1cf5c7={};if(_0xc038ba[_0x5ab4f5(0x1e5)]()&&_0xc038ba['hasAccessibilityExecuteParams']())try{_0x1cf5c7=JSON['parse'](new Buffer(_0xc038ba[_0x5ab4f5(0x74)]())[_0x5ab4f5(0x128)](_0x44f92a['CPzyL']));}catch(_0x498d36){logger[_0x5ab4f5(0x6e)](_0x5ab4f5(0xc9)+_0x498d36[_0x5ab4f5(0x1f7)]),_0x1cf5c7={};}return CLIUtils[_0x5ab4f5(0xcf)](_0x1236fb,_0x1cf5c7);}static async['fetchCentralAuthA11yConfig'](_0x4b61e2,_0x823e9c='',_0x19c521=null){const _0x394164=a80_0xb87c9d,_0x156ef2={};_0x156ef2[_0x394164(0x1e2)]=_0x394164(0x119),_0x156ef2[_0x394164(0x1d2)]='accessibility';const _0x57938a=_0x156ef2;try{if(!_0x19c521&&AccessibilityModule[_0x394164(0xbf)])return AccessibilityModule[_0x394164(0x147)];if(!process[_0x394164(0xc5)][_0x394164(0xb3)])return logger['error'](_0x57938a['sJDiT']),{};const _0x406bed=await GrpcClient[_0x394164(0x78)]()[_0x394164(0x185)](process[_0x394164(0xc5)]['BROWSERSTACK_CLI_BIN_SESSION_ID'],_0x57938a[_0x394164(0x1d2)],_0x4b61e2,_0x19c521),_0x2df17b=_0x19c521?AccessibilityModule[_0x394164(0x11c)](null,_0x406bed)?.[_0x394164(0x151)]||_0x823e9c:_0x823e9c,_0x12d40c=AccessibilityModule[_0x394164(0x11c)](_0x2df17b,_0x406bed);return!_0x19c521&&(AccessibilityModule[_0x394164(0x147)]=_0x12d40c,AccessibilityModule['_centralAuthConfigFetched']=!![]),_0x12d40c;}catch(_0x5f23b8){return logger[_0x394164(0x6e)]('fetchCentralAuthA11yConfig:\x20Failed\x20to\x20fetch\x20driver\x20execute\x20params\x20for\x20'+_0x4b61e2+':\x20'+(_0x5f23b8[_0x394164(0x170)]||_0x5f23b8[_0x394164(0x1f7)])),{};}}};module[a80_0xb87c9d(0x20d)]=AccessibilityModule;
@@ -1 +1 @@
1
- function a81_0x2bda(_0x4e4cb1,_0x4360fd){const _0x1cc593=a81_0x1cc5();return a81_0x2bda=function(_0x2bdafe,_0x1a87f0){_0x2bdafe=_0x2bdafe-0x1c0;let _0xab6cec=_0x1cc593[_0x2bdafe];return _0xab6cec;},a81_0x2bda(_0x4e4cb1,_0x4360fd);}const a81_0x3f2519=a81_0x2bda;(function(_0x56050a,_0x20f7e8){const _0x10e54d=a81_0x2bda,_0x273045=_0x56050a();while(!![]){try{const _0x4f2f61=-parseInt(_0x10e54d(0x1c4))/0x1*(-parseInt(_0x10e54d(0x1ec))/0x2)+parseInt(_0x10e54d(0x1d4))/0x3*(parseInt(_0x10e54d(0x1da))/0x4)+-parseInt(_0x10e54d(0x1db))/0x5+-parseInt(_0x10e54d(0x1df))/0x6*(parseInt(_0x10e54d(0x1dd))/0x7)+parseInt(_0x10e54d(0x1cf))/0x8*(parseInt(_0x10e54d(0x1e7))/0x9)+parseInt(_0x10e54d(0x1d0))/0xa+parseInt(_0x10e54d(0x1c6))/0xb;if(_0x4f2f61===_0x20f7e8)break;else _0x273045['push'](_0x273045['shift']());}catch(_0x53fda2){_0x273045['push'](_0x273045['shift']());}}}(a81_0x1cc5,0x670ba));const logger=require(a81_0x3f2519(0x1d9))[a81_0x3f2519(0x1de)],{FRAMEWORKS}=require(a81_0x3f2519(0x1c1));function a81_0x1cc5(){const _0x5a12a0=['CUCUMBER','platformIndex','configure','version','testFramework','164064DRSoSy','3399270QxoOPF','3|2|1|4|5|0','iDoHa','ZfriP','25401SzPdXA','YehYS','config','object','JEST','../../../helpers/logger.js','44DVOJsN','2447270RpUvMn','kINzk','7houhaf','winstonLogger','4243368WHRLIN','QoCMl','getModuleName','testCaseStartedId','testInfo',',\x20platformIndex=','Missing\x20binSessionId','name','117ozueGc','exports','split','_test','ixbxN','1246098AWZpEH','ensureBinSession','../../../helpers/test-observability/constants.js','Configured\x20module\x20','setTestFrameworkData','1FoYTdZ','binSessionId','3256429UYUzqo','CAdcc','\x20with\x20binSessionId=','YajeI'];a81_0x1cc5=function(){return _0x5a12a0;};return a81_0x1cc5();}class BaseModule{constructor(_0x3fa356=null){const _0x54771c=a81_0x3f2519,_0x4fc852={};_0x4fc852['QoCMl']=_0x54771c(0x1d1),_0x4fc852[_0x54771c(0x1d5)]='BaseModule';const _0x32dc0d=_0x4fc852,_0x2c056f=_0x32dc0d[_0x54771c(0x1e0)][_0x54771c(0x1e9)]('|');let _0x1653b5=0x0;while(!![]){switch(_0x2c056f[_0x1653b5++]){case'0':this['testFrameworkData']=this[_0x54771c(0x1c3)](_0x3fa356);continue;case'1':this[_0x54771c(0x1cb)]=0x0;continue;case'2':this['binSessionId']=null;continue;case'3':this[_0x54771c(0x1e6)]=_0x32dc0d['YehYS'];continue;case'4':this[_0x54771c(0x1d6)]={};continue;case'5':this['client']=null;continue;}break;}}[a81_0x3f2519(0x1c0)](){const _0x5a6196=a81_0x3f2519,_0x2eb608={};_0x2eb608['ZfriP']=_0x5a6196(0x1e5);const _0x3a86e7=_0x2eb608;if(!this[_0x5a6196(0x1c5)])throw new Error(_0x3a86e7[_0x5a6196(0x1d3)]);}[a81_0x3f2519(0x1e1)](){const _0x58453c=a81_0x3f2519;return this[_0x58453c(0x1e6)];}[a81_0x3f2519(0x1cc)](_0x2bc39a,_0x250e39,_0x10e84a,_0x41cbac={}){const _0x2ba785=a81_0x3f2519,_0x3080d8={};_0x3080d8[_0x2ba785(0x1c9)]='1|3|0|2|4';const _0x2a3d56=_0x3080d8,_0x5f1f0e=_0x2a3d56['YajeI'][_0x2ba785(0x1e9)]('|');let _0x5137b6=0x0;while(!![]){switch(_0x5f1f0e[_0x5137b6++]){case'0':this['client']=_0x10e84a;continue;case'1':this['binSessionId']=_0x2bc39a;continue;case'2':this['config']=_0x41cbac;continue;case'3':this[_0x2ba785(0x1cb)]=_0x250e39;continue;case'4':logger['debug'](_0x2ba785(0x1c2)+this['getModuleName']()+_0x2ba785(0x1c8)+_0x2bc39a+_0x2ba785(0x1e4)+_0x250e39);continue;}break;}}['getTestId'](_0x31cb1c){const _0x30e11f=a81_0x3f2519,_0x92fbdc={};_0x92fbdc['CAdcc']=function(_0x102d94,_0x512ed1){return _0x102d94===_0x512ed1;},_0x92fbdc[_0x30e11f(0x1d2)]=function(_0x48173b,_0x15208c){return _0x48173b===_0x15208c;};const _0x1e3030=_0x92fbdc;let _0x3ede1e='';if(_0x1e3030[_0x30e11f(0x1c7)](_0x31cb1c[_0x30e11f(0x1ce)],FRAMEWORKS['PLAYWRIGHT']))_0x3ede1e=_0x31cb1c[_0x30e11f(0x1e3)]?.[_0x30e11f(0x1ea)]?.['id']||_0x31cb1c[_0x30e11f(0x1e3)]?.['testId'];else{if(_0x1e3030[_0x30e11f(0x1d2)](_0x31cb1c[_0x30e11f(0x1ce)],FRAMEWORKS[_0x30e11f(0x1ca)]))_0x3ede1e=_0x31cb1c[_0x30e11f(0x1e3)]?.[_0x30e11f(0x1e2)];else _0x1e3030[_0x30e11f(0x1c7)](_0x31cb1c[_0x30e11f(0x1ce)],FRAMEWORKS[_0x30e11f(0x1d8)])&&(_0x3ede1e=_0x31cb1c[_0x30e11f(0x1e3)]?.['id']);}return _0x3ede1e;}[a81_0x3f2519(0x1c3)](_0x343680){const _0x2c5cd1=a81_0x3f2519,_0x4d05bb={};_0x4d05bb[_0x2c5cd1(0x1eb)]=function(_0x463a03,_0x2d0760){return _0x463a03!==_0x2d0760;},_0x4d05bb[_0x2c5cd1(0x1dc)]=_0x2c5cd1(0x1d7);const _0xcc7e65=_0x4d05bb;if(!_0x343680||_0xcc7e65[_0x2c5cd1(0x1eb)](typeof _0x343680,_0xcc7e65[_0x2c5cd1(0x1dc)]))return null;const _0x18f141={};_0x18f141[_0x2c5cd1(0x1e6)]=_0x343680[_0x2c5cd1(0x1e6)],_0x18f141[_0x2c5cd1(0x1cd)]=_0x343680['version']&&_0x343680[_0x2c5cd1(0x1cd)][_0x343680[_0x2c5cd1(0x1e6)]];const _0x531742=_0x18f141;return _0x531742;}}module[a81_0x3f2519(0x1e8)]=BaseModule;
1
+ function a81_0x3065(_0x487fd3,_0x4c14be){const _0x2c60f0=a81_0x2c60();return a81_0x3065=function(_0x3065a9,_0x3462b0){_0x3065a9=_0x3065a9-0xcb;let _0x388e63=_0x2c60f0[_0x3065a9];return _0x388e63;},a81_0x3065(_0x487fd3,_0x4c14be);}const a81_0x27e178=a81_0x3065;(function(_0x7b18a1,_0x1aa478){const _0x17e0c0=a81_0x3065,_0x57744d=_0x7b18a1();while(!![]){try{const _0x19b178=-parseInt(_0x17e0c0(0xf9))/0x1*(parseInt(_0x17e0c0(0xf0))/0x2)+-parseInt(_0x17e0c0(0xf2))/0x3+parseInt(_0x17e0c0(0xec))/0x4*(-parseInt(_0x17e0c0(0xcf))/0x5)+-parseInt(_0x17e0c0(0xe7))/0x6*(-parseInt(_0x17e0c0(0xfa))/0x7)+parseInt(_0x17e0c0(0xdd))/0x8*(parseInt(_0x17e0c0(0xe5))/0x9)+-parseInt(_0x17e0c0(0xda))/0xa+parseInt(_0x17e0c0(0xd2))/0xb*(parseInt(_0x17e0c0(0xe6))/0xc);if(_0x19b178===_0x1aa478)break;else _0x57744d['push'](_0x57744d['shift']());}catch(_0x262e2a){_0x57744d['push'](_0x57744d['shift']());}}}(a81_0x2c60,0xdc798));const logger=require(a81_0x27e178(0xe1))[a81_0x27e178(0xe9)],{FRAMEWORKS}=require(a81_0x27e178(0xd7));class BaseModule{constructor(_0x573328=null){const _0x5b2439=a81_0x27e178,_0x4003f6={};_0x4003f6[_0x5b2439(0xed)]=_0x5b2439(0xdb),_0x4003f6[_0x5b2439(0xd9)]=_0x5b2439(0xe0);const _0x54e57f=_0x4003f6,_0x30e070=_0x54e57f[_0x5b2439(0xed)][_0x5b2439(0xd6)]('|');let _0x40de0a=0x0;while(!![]){switch(_0x30e070[_0x40de0a++]){case'0':this[_0x5b2439(0xdc)]=_0x54e57f[_0x5b2439(0xd9)];continue;case'1':this['testFrameworkData']=this['setTestFrameworkData'](_0x573328);continue;case'2':this['client']=null;continue;case'3':this[_0x5b2439(0xf5)]=0x0;continue;case'4':this[_0x5b2439(0xd4)]=null;continue;case'5':this['config']={};continue;}break;}}[a81_0x27e178(0xf6)](){const _0x534bae=a81_0x27e178,_0x1d8182={};_0x1d8182[_0x534bae(0xcc)]='Missing\x20binSessionId';const _0x528d2c=_0x1d8182;if(!this[_0x534bae(0xd4)])throw new Error(_0x528d2c['RZcXa']);}[a81_0x27e178(0xf3)](){return this['name'];}[a81_0x27e178(0xce)](_0x11eeb1,_0x41a72d,_0x101d16,_0x1b1d99={}){const _0x5d44a8=a81_0x27e178,_0x2fedaa={};_0x2fedaa[_0x5d44a8(0xee)]=_0x5d44a8(0xd0);const _0x4deb23=_0x2fedaa,_0x193ce0=_0x4deb23[_0x5d44a8(0xee)]['split']('|');let _0x464d23=0x0;while(!![]){switch(_0x193ce0[_0x464d23++]){case'0':this['config']=_0x1b1d99;continue;case'1':this[_0x5d44a8(0xf5)]=_0x41a72d;continue;case'2':this[_0x5d44a8(0xcd)]=_0x101d16;continue;case'3':logger['debug'](_0x5d44a8(0xfb)+this['getModuleName']()+_0x5d44a8(0xf4)+_0x11eeb1+_0x5d44a8(0xe8)+_0x41a72d);continue;case'4':this['binSessionId']=_0x11eeb1;continue;}break;}}['getTestId'](_0x29d35c){const _0x5d10b2=a81_0x27e178,_0x3f573c={};_0x3f573c[_0x5d10b2(0xef)]=function(_0x30c9b8,_0x19d6e4){return _0x30c9b8===_0x19d6e4;},_0x3f573c[_0x5d10b2(0xde)]=function(_0x37d2b4,_0x316449){return _0x37d2b4===_0x316449;},_0x3f573c[_0x5d10b2(0xd1)]=function(_0x4c3a33,_0x4b599b){return _0x4c3a33===_0x4b599b;};const _0x2708e3=_0x3f573c;let _0x2e9f00='';if(_0x2708e3[_0x5d10b2(0xef)](_0x29d35c['testFramework'],FRAMEWORKS['PLAYWRIGHT']))_0x2e9f00=_0x29d35c[_0x5d10b2(0xeb)]?.[_0x5d10b2(0xcb)]?.['id']||_0x29d35c['testInfo']?.[_0x5d10b2(0xf8)];else{if(_0x2708e3[_0x5d10b2(0xde)](_0x29d35c[_0x5d10b2(0xf1)],FRAMEWORKS[_0x5d10b2(0xe2)]))_0x2e9f00=_0x29d35c['testInfo']?.[_0x5d10b2(0xd5)];else _0x2708e3[_0x5d10b2(0xd1)](_0x29d35c['testFramework'],FRAMEWORKS[_0x5d10b2(0xdf)])&&(_0x2e9f00=_0x29d35c[_0x5d10b2(0xeb)]?.['id']);}return _0x2e9f00;}[a81_0x27e178(0xf7)](_0x5970c7){const _0xb295db=a81_0x27e178,_0x16a35a={};_0x16a35a[_0xb295db(0xea)]=function(_0x766e52,_0x2c05b7){return _0x766e52!==_0x2c05b7;},_0x16a35a[_0xb295db(0xe3)]=_0xb295db(0xd3);const _0x20282b=_0x16a35a;if(!_0x5970c7||_0x20282b[_0xb295db(0xea)](typeof _0x5970c7,_0x20282b['BUtsK']))return null;const _0xd153eb={};_0xd153eb['name']=_0x5970c7[_0xb295db(0xdc)],_0xd153eb['version']=_0x5970c7[_0xb295db(0xe4)]&&_0x5970c7[_0xb295db(0xe4)][_0x5970c7[_0xb295db(0xdc)]];const _0x44077f=_0xd153eb;return _0x44077f;}}function a81_0x2c60(){const _0xd08b3c=['CUCUMBER','BUtsK','version','18lWwLiT','4288380lKzeuP','6swpOvF',',\x20platformIndex=','winstonLogger','LZmUd','testInfo','9272JdGVTA','JmCFd','aLKtD','IZpUN','2YeYILR','testFramework','145440LRDOlk','getModuleName','\x20with\x20binSessionId=','platformIndex','ensureBinSession','setTestFrameworkData','testId','1083571bPxgUN','9502367TSqHGV','Configured\x20module\x20','_test','RZcXa','client','configure','1345aeWsTD','4|1|2|0|3','ItkhJ','33nfDwAz','object','binSessionId','testCaseStartedId','split','../../../helpers/test-observability/constants.js','exports','dlqKc','151710WBDuQG','0|4|3|5|2|1','name','977008wXfqTx','mfRyv','JEST','BaseModule','../../../helpers/logger.js'];a81_0x2c60=function(){return _0xd08b3c;};return a81_0x2c60();}module[a81_0x27e178(0xd8)]=BaseModule;
@@ -1 +1 @@
1
- const a82_0x4932d5=a82_0x251c;function a82_0x251c(_0x27f143,_0x5296d3){const _0x2d027f=a82_0x2d02();return a82_0x251c=function(_0x251c99,_0x1052d1){_0x251c99=_0x251c99-0x1db;let _0x18311c=_0x2d027f[_0x251c99];return _0x18311c;},a82_0x251c(_0x27f143,_0x5296d3);}(function(_0xa64783,_0x7d0d37){const _0x4d455e=a82_0x251c,_0x26c0fa=_0xa64783();while(!![]){try{const _0x5f00d3=-parseInt(_0x4d455e(0x1e7))/0x1+-parseInt(_0x4d455e(0x1e8))/0x2+parseInt(_0x4d455e(0x1e0))/0x3+-parseInt(_0x4d455e(0x1fe))/0x4*(parseInt(_0x4d455e(0x1e4))/0x5)+-parseInt(_0x4d455e(0x1ea))/0x6*(parseInt(_0x4d455e(0x1e2))/0x7)+parseInt(_0x4d455e(0x1f5))/0x8+-parseInt(_0x4d455e(0x1f9))/0x9*(-parseInt(_0x4d455e(0x1f7))/0xa);if(_0x5f00d3===_0x7d0d37)break;else _0x26c0fa['push'](_0x26c0fa['shift']());}catch(_0x2067f7){_0x26c0fa['push'](_0x26c0fa['shift']());}}}(a82_0x2d02,0x9b1c3));const {createClassLogger}=require(a82_0x4932d5(0x1f1)),logger=createClassLogger(a82_0x4932d5(0x1ff)),{sendSdkEvents}=require(a82_0x4932d5(0x201)),isLTSSession=(_0x5b7621=null)=>{const _0x15f0c7=a82_0x4932d5,_0x3cc1bb={};_0x3cc1bb[_0x15f0c7(0x1e9)]=function(_0x5afb91,_0x12530b){return _0x5afb91!==_0x12530b;},_0x3cc1bb['RlsnI']=_0x15f0c7(0x200),_0x3cc1bb['OWzfa']=function(_0x25c1c9,_0xa206b1){return _0x25c1c9===_0xa206b1;},_0x3cc1bb['UXKMW']='string',_0x3cc1bb[_0x15f0c7(0x1ed)]='true',_0x3cc1bb['NGcpU']=function(_0xad2fc4,_0x42a1a9){return _0xad2fc4===_0x42a1a9;},_0x3cc1bb[_0x15f0c7(0x1e1)]=_0x15f0c7(0x1de);const _0x3ff699=_0x3cc1bb;try{if(_0x3ff699[_0x15f0c7(0x1e9)](typeof process[_0x15f0c7(0x1f3)][_0x15f0c7(0x1fd)],_0x3ff699[_0x15f0c7(0x206)])){const _0x1baf47=process[_0x15f0c7(0x1f3)][_0x15f0c7(0x1fd)];return _0x3ff699['OWzfa'](typeof _0x1baf47,_0x3ff699['UXKMW'])?_0x3ff699[_0x15f0c7(0x203)](_0x1baf47[_0x15f0c7(0x1db)](),_0x3ff699[_0x15f0c7(0x1ed)]):!!_0x1baf47;}const _0x388609=_0x5b7621&&_0x5b7621[_0x15f0c7(0x1fd)],_0x4e9261=!!(_0x5b7621&&(_0x3ff699[_0x15f0c7(0x203)](_0x5b7621['browserstackAutomation'],!![])||_0x3ff699[_0x15f0c7(0x1fb)](_0x5b7621[_0x15f0c7(0x1ef)],_0x3ff699['HIxYk']))),_0x30f0b4=!!(_0x388609&&_0x3ff699[_0x15f0c7(0x1fb)](_0x388609[_0x15f0c7(0x1f8)]()[_0x15f0c7(0x1db)](),_0x3ff699[_0x15f0c7(0x1ed)])&&!_0x4e9261);return process[_0x15f0c7(0x1f3)][_0x15f0c7(0x1fd)]=_0x30f0b4?_0x3ff699[_0x15f0c7(0x1ed)]:_0x3ff699[_0x15f0c7(0x1e1)],_0x30f0b4;}catch(_0x21338d){return process['env']['overrideLoadTesting']=_0x3ff699[_0x15f0c7(0x1e1)],![];}},getLTSSessionId=()=>{const _0x32eadb=a82_0x4932d5,_0x1cba9a={'OeaAR':function(_0x1f1158){return _0x1f1158();},'cNBGd':_0x32eadb(0x1fc),'ZUAwO':_0x32eadb(0x1f6)};try{if(_0x1cba9a[_0x32eadb(0x1fa)](isLTSSession))return logger['debug'](_0x1cba9a[_0x32eadb(0x1e5)]),process[_0x32eadb(0x1f3)][_0x32eadb(0x1df)]||'';}catch(_0x4f0c1c){logger[_0x32eadb(0x1ee)](_0x32eadb(0x1f2)+(_0x4f0c1c&&_0x4f0c1c[_0x32eadb(0x1eb)]));}return logger[_0x32eadb(0x1dc)](_0x1cba9a[_0x32eadb(0x208)]),'';},setLTSSessionId=async(_0x269847={})=>{const _0x3a4696=a82_0x4932d5,_0x572972={'OHHaa':function(_0x751421){return _0x751421();},'xCcmD':_0x3a4696(0x1f4),'HDvkp':'BROWSERSTACK_LTS_SESSION_ID\x20cleared','DwsGD':'LTS','ZPRKB':function(_0x4dce0e,_0xf2d455){return _0x4dce0e(_0xf2d455);},'yvrMh':function(_0x576658,_0x3cb3e7,_0x39c820){return _0x576658(_0x3cb3e7,_0x39c820);},'wsXpa':function(_0x552fff,_0x177cb2){return _0x552fff||_0x177cb2;}};try{const _0x212e0b=_0x572972[_0x3a4696(0x1ec)](getLTSSessionId);_0x212e0b?(process[_0x3a4696(0x1f3)][_0x3a4696(0x1df)]=_0x212e0b,logger[_0x3a4696(0x1dc)](_0x572972[_0x3a4696(0x202)])):(delete process['env']['BROWSERSTACK_LTS_SESSION_ID'],logger['debug'](_0x572972[_0x3a4696(0x1dd)]));try{const _0x233c42={'feature':_0x572972[_0x3a4696(0x1e3)],'ltsEnabled':_0x572972['ZPRKB'](isLTSSession,_0x269847),'ltsSessionIdPresent':!!_0x212e0b};await _0x572972['yvrMh'](sendSdkEvents,_0x233c42,_0x269847);}catch(_0x46fddc){logger[_0x3a4696(0x1dc)](_0x3a4696(0x1f0)+(_0x46fddc&&_0x46fddc[_0x3a4696(0x1eb)]));}return _0x572972[_0x3a4696(0x204)](_0x212e0b,'');}catch(_0x1b0d8b){return logger['debug']('setLTSSessionId\x20error:\x20'+(_0x1b0d8b&&_0x1b0d8b[_0x3a4696(0x1eb)])),'';}},a82_0x42d9a1={};a82_0x42d9a1[a82_0x4932d5(0x205)]=isLTSSession,a82_0x42d9a1[a82_0x4932d5(0x207)]=getLTSSessionId,a82_0x42d9a1['setLTSSessionId']=setLTSSessionId,module[a82_0x4932d5(0x1e6)]=a82_0x42d9a1;function a82_0x2d02(){const _0x49b5d5=['9972344ZPcRuz','LTS\x20not\x20enabled;\x20returning\x20empty\x20LTS\x20session\x20id','2486390YqYJYm','toString','36dXRxnb','OeaAR','NGcpU','LTS\x20session\x20enabled;\x20returning\x20env\x20BROWSERSTACK_LTS_SESSION_ID','overrideLoadTesting','4UDFkSI','LoadTestModule','undefined','../../../helpers/helper.js','xCcmD','OWzfa','wsXpa','isLTSSession','RlsnI','getLTSSessionId','ZUAwO','toLowerCase','debug','HDvkp','false','BROWSERSTACK_LTS_SESSION_ID','403083Tdjuej','SStSe','7jcTDUG','DwsGD','596715vbgmhd','cNBGd','exports','544227zzGFVf','172808wvvsuM','YcnSO','5940930metOfN','message','OHHaa','HIxYk','error','browserstackAutomation','Failed\x20to\x20record\x20LTS\x20telemetry:\x20','../../../helpers/classLogger.js','Error\x20while\x20resolving\x20LTS\x20session\x20id:\x20','env','BROWSERSTACK_LTS_SESSION_ID\x20set\x20from\x20env'];a82_0x2d02=function(){return _0x49b5d5;};return a82_0x2d02();}
1
+ function a82_0xcb02(){const _0x5d99df=['cpVYv','1SlFtMg','zIdWD','odkkg','BhCNk','exports','2782476WMpiKd','sKemG','BROWSERSTACK_LTS_SESSION_ID','qkidS','string','uVudY','LoadTestModule','yMvPl','CJTjn','RtbDo','isLTSSession','dzQZx','toString','overrideLoadTesting','debug','env','11311370kkLLzC','LTS\x20session\x20enabled;\x20returning\x20env\x20BROWSERSTACK_LTS_SESSION_ID','48773826fCNDwb','true','browserstackAutomation','LTS','5558264EGXdWT','dwDmS','3DfQdhu','error','BROWSERSTACK_LTS_SESSION_ID\x20cleared','hmYdk','AqSBJ','BROWSERSTACK_LTS_SESSION_ID\x20set\x20from\x20env','BJAkF','../../../helpers/helper.js','2210368NCFmPu','Failed\x20to\x20record\x20LTS\x20telemetry:\x20','setLTSSessionId','message','Error\x20while\x20resolving\x20LTS\x20session\x20id:\x20','getLTSSessionId','../../../helpers/classLogger.js','setLTSSessionId\x20error:\x20','undefined','6318305GRsuVt','6237570HfSxAl','PyOxf','toLowerCase'];a82_0xcb02=function(){return _0x5d99df;};return a82_0xcb02();}function a82_0x1f91(_0xb8d54d,_0xf2153f){const _0xcb020=a82_0xcb02();return a82_0x1f91=function(_0x1f91bf,_0x51815b){_0x1f91bf=_0x1f91bf-0x13c;let _0x2009af=_0xcb020[_0x1f91bf];return _0x2009af;},a82_0x1f91(_0xb8d54d,_0xf2153f);}const a82_0x4213d1=a82_0x1f91;(function(_0x41f113,_0x57cef9){const _0x3cea0f=a82_0x1f91,_0x42172b=_0x41f113();while(!![]){try{const _0x42a366=-parseInt(_0x3cea0f(0x16a))/0x1*(-parseInt(_0x3cea0f(0x15c))/0x2)+-parseInt(_0x3cea0f(0x154))/0x3*(-parseInt(_0x3cea0f(0x13c))/0x4)+parseInt(_0x3cea0f(0x165))/0x5+parseInt(_0x3cea0f(0x166))/0x6+parseInt(_0x3cea0f(0x14c))/0x7+parseInt(_0x3cea0f(0x152))/0x8+-parseInt(_0x3cea0f(0x14e))/0x9;if(_0x42a366===_0x57cef9)break;else _0x42172b['push'](_0x42172b['shift']());}catch(_0x257ce0){_0x42172b['push'](_0x42172b['shift']());}}}(a82_0xcb02,0xf306e));const {createClassLogger}=require(a82_0x4213d1(0x162)),logger=createClassLogger(a82_0x4213d1(0x142)),{sendSdkEvents}=require(a82_0x4213d1(0x15b)),isLTSSession=(_0x3a274a=null)=>{const _0x563373=a82_0x4213d1,_0x3b1c5d={};_0x3b1c5d['BbZdl']=function(_0x4b4789,_0x3c0258){return _0x4b4789!==_0x3c0258;},_0x3b1c5d['BhCNk']=_0x563373(0x164),_0x3b1c5d[_0x563373(0x147)]=function(_0x18a41,_0x249208){return _0x18a41===_0x249208;},_0x3b1c5d['IwyDS']=_0x563373(0x140),_0x3b1c5d[_0x563373(0x13d)]=function(_0x5891f5,_0x4ea039){return _0x5891f5===_0x4ea039;},_0x3b1c5d[_0x563373(0x169)]=_0x563373(0x14f),_0x3b1c5d[_0x563373(0x158)]=function(_0x430f38,_0x348873){return _0x430f38===_0x348873;},_0x3b1c5d[_0x563373(0x157)]=function(_0x5d46e1,_0x284b89){return _0x5d46e1===_0x284b89;},_0x3b1c5d[_0x563373(0x143)]=function(_0x38f700,_0x59538e){return _0x38f700===_0x59538e;},_0x3b1c5d[_0x563373(0x145)]='false';const _0x8ee06c=_0x3b1c5d;try{if(_0x8ee06c['BbZdl'](typeof process[_0x563373(0x14b)]['overrideLoadTesting'],_0x8ee06c[_0x563373(0x16d)])){const _0x25719c=process[_0x563373(0x14b)]['overrideLoadTesting'];return _0x8ee06c['dzQZx'](typeof _0x25719c,_0x8ee06c['IwyDS'])?_0x8ee06c['sKemG'](_0x25719c['toLowerCase'](),_0x8ee06c[_0x563373(0x169)]):!!_0x25719c;}const _0x27a760=_0x3a274a&&_0x3a274a[_0x563373(0x149)],_0x1df42c=!!(_0x3a274a&&(_0x8ee06c['AqSBJ'](_0x3a274a[_0x563373(0x150)],!![])||_0x8ee06c[_0x563373(0x157)](_0x3a274a[_0x563373(0x150)],_0x8ee06c[_0x563373(0x169)]))),_0x8460a4=!!(_0x27a760&&_0x8ee06c['yMvPl'](_0x27a760[_0x563373(0x148)]()[_0x563373(0x168)](),_0x8ee06c['cpVYv'])&&!_0x1df42c);return process[_0x563373(0x14b)][_0x563373(0x149)]=_0x8460a4?_0x8ee06c['cpVYv']:_0x8ee06c[_0x563373(0x145)],_0x8460a4;}catch(_0x5178cc){return process[_0x563373(0x14b)][_0x563373(0x149)]=_0x8ee06c[_0x563373(0x145)],![];}},getLTSSessionId=()=>{const _0x565a0c=a82_0x4213d1,_0xb00217={'BJAkF':function(_0x468928){return _0x468928();},'TzEJy':_0x565a0c(0x14d),'PyOxf':'LTS\x20not\x20enabled;\x20returning\x20empty\x20LTS\x20session\x20id'};try{if(_0xb00217[_0x565a0c(0x15a)](isLTSSession))return logger[_0x565a0c(0x14a)](_0xb00217['TzEJy']),process['env'][_0x565a0c(0x13e)]||'';}catch(_0x5a171c){logger[_0x565a0c(0x155)](_0x565a0c(0x160)+(_0x5a171c&&_0x5a171c[_0x565a0c(0x15f)]));}return logger[_0x565a0c(0x14a)](_0xb00217[_0x565a0c(0x167)]),'';},setLTSSessionId=async(_0x5b46ff={})=>{const _0x24a16d=a82_0x4213d1,_0x36db85={'rtgam':function(_0x294dcb){return _0x294dcb();},'zIdWD':_0x24a16d(0x159),'CJTjn':_0x24a16d(0x156),'uVudY':_0x24a16d(0x151),'odkkg':function(_0x40b248,_0x5ae6db){return _0x40b248(_0x5ae6db);},'dwDmS':function(_0x1cbdb0,_0x2535b7,_0x21c89a){return _0x1cbdb0(_0x2535b7,_0x21c89a);},'qkidS':function(_0x48c586,_0x2bcfcb){return _0x48c586||_0x2bcfcb;}};try{const _0x2960dc=_0x36db85['rtgam'](getLTSSessionId);_0x2960dc?(process['env'][_0x24a16d(0x13e)]=_0x2960dc,logger[_0x24a16d(0x14a)](_0x36db85[_0x24a16d(0x16b)])):(delete process[_0x24a16d(0x14b)][_0x24a16d(0x13e)],logger[_0x24a16d(0x14a)](_0x36db85[_0x24a16d(0x144)]));try{const _0x40ba18={'feature':_0x36db85[_0x24a16d(0x141)],'ltsEnabled':_0x36db85[_0x24a16d(0x16c)](isLTSSession,_0x5b46ff),'ltsSessionIdPresent':!!_0x2960dc};await _0x36db85[_0x24a16d(0x153)](sendSdkEvents,_0x40ba18,_0x5b46ff);}catch(_0x3b9734){logger[_0x24a16d(0x14a)](_0x24a16d(0x15d)+(_0x3b9734&&_0x3b9734[_0x24a16d(0x15f)]));}return _0x36db85[_0x24a16d(0x13f)](_0x2960dc,'');}catch(_0x48b3ba){return logger[_0x24a16d(0x14a)](_0x24a16d(0x163)+(_0x48b3ba&&_0x48b3ba[_0x24a16d(0x15f)])),'';}},a82_0x3f9d39={};a82_0x3f9d39[a82_0x4213d1(0x146)]=isLTSSession,a82_0x3f9d39[a82_0x4213d1(0x161)]=getLTSSessionId,a82_0x3f9d39[a82_0x4213d1(0x15e)]=setLTSSessionId,module[a82_0x4213d1(0x16e)]=a82_0x3f9d39;
@@ -1 +1 @@
1
- function a83_0x45a2(){const _0x164cab=['POST','1710972MmVuSq','start','596904nPWGfv','onBeforeTest:\x20','observabilityConfig','sdMKR','debug','registerObserver','2828430AzRXBW','164Imxqdx','3eBvnVo','../../../helpers/performance/constants.js','TEST_REPORTING_ANALYTICS','end','1223720inmVEp','getModuleName','2563412RcTsrW','JJUgE','2333rNWDIA','ObservabilityModule','logger','Dawyi','../../../helpers/performance/performance-tester.js','../../../helpers/classLogger.js','page','onBeforeTest','../../utils/constants.js','\x20sync\x20done','now','CREATE','./baseModule','7UHGeGV','2209952ZkEFyq','SYNC','MODULE_NAME'];a83_0x45a2=function(){return _0x164cab;};return a83_0x45a2();}const a83_0x25be7f=a83_0x16b2;(function(_0x284089,_0x3fa943){const _0x2861a4=a83_0x16b2,_0x3669e3=_0x284089();while(!![]){try{const _0x5ae731=-parseInt(_0x2861a4(0x1bf))/0x1*(-parseInt(_0x2861a4(0x1b6))/0x2)+parseInt(_0x2861a4(0x1b7))/0x3*(parseInt(_0x2861a4(0x1bd))/0x4)+-parseInt(_0x2861a4(0x1d9))/0x5+parseInt(_0x2861a4(0x1d3))/0x6+parseInt(_0x2861a4(0x1cc))/0x7*(parseInt(_0x2861a4(0x1cd))/0x8)+-parseInt(_0x2861a4(0x1d1))/0x9+-parseInt(_0x2861a4(0x1bb))/0xa;if(_0x5ae731===_0x3fa943)break;else _0x3669e3['push'](_0x3669e3['shift']());}catch(_0x215f6f){_0x3669e3['push'](_0x3669e3['shift']());}}}(a83_0x45a2,0x507f9));function a83_0x16b2(_0x218229,_0x4a6aca){const _0x45a250=a83_0x45a2();return a83_0x16b2=function(_0x16b232,_0xa8e22b){_0x16b232=_0x16b232-0x1b6;let _0x595fd2=_0x45a250[_0x16b232];return _0x595fd2;},a83_0x16b2(_0x218229,_0x4a6aca);}const BaseModule=require(a83_0x25be7f(0x1cb)),{createClassLogger}=require(a83_0x25be7f(0x1c4)),AutomationFramework=require('../framework/automationFramework.js'),AutomationFrameworkState=require('../state/automationFrameworkState.js'),HookState=require('../state/hookState.js'),{playwrightAnnotate}=require('../../../helpers/helper.js'),PerformanceTester=require(a83_0x25be7f(0x1c3)),{O11y_EVENTS}=require(a83_0x25be7f(0x1b8)),constants=require(a83_0x25be7f(0x1c7));class ObservabilityModule extends BaseModule{[a83_0x25be7f(0x1c1)]=createClassLogger(a83_0x25be7f(0x1c0));constructor(_0x244f44){const _0x5d8a42=a83_0x25be7f,_0x48d02e={};_0x48d02e[_0x5d8a42(0x1c2)]=_0x5d8a42(0x1c0);const _0x548eda=_0x48d02e;super(),this['name']=_0x548eda[_0x5d8a42(0x1c2)],this[_0x5d8a42(0x1d5)]=_0x244f44,AutomationFramework[_0x5d8a42(0x1d8)](AutomationFrameworkState[_0x5d8a42(0x1ca)],HookState[_0x5d8a42(0x1d0)],this[_0x5d8a42(0x1c6)]['bind'](this));}[a83_0x25be7f(0x1bc)](){const _0x363733=a83_0x25be7f;return ObservabilityModule[_0x363733(0x1cf)];}async[a83_0x25be7f(0x1c6)](_0x42d6da){const _0x2b0e7f=a83_0x25be7f,_0x6d598={'lYwkd':function(_0x5881df,_0x1cd5de){return _0x5881df+_0x1cd5de;},'MAvRa':'ObservabilitySync:','iFMMH':function(_0x5a4b93,_0x255778,_0x20740f,_0x205e2d){return _0x5a4b93(_0x255778,_0x20740f,_0x205e2d);},'sdMKR':_0x2b0e7f(0x1d7),'JJUgE':'onBeforeTest:\x20page\x20is\x20not\x20defined'};if(_0x42d6da[_0x2b0e7f(0x1c5)]){const _0x294571=_0x42d6da['page'],_0x531635=Date[_0x2b0e7f(0x1c9)](),_0x55faea=_0x6d598['lYwkd'](_0x6d598['MAvRa'],_0x531635);PerformanceTester[_0x2b0e7f(0x1d2)](O11y_EVENTS[_0x2b0e7f(0x1ce)]),await _0x6d598['iFMMH'](playwrightAnnotate,_0x294571,_0x55faea,_0x6d598[_0x2b0e7f(0x1d6)]),PerformanceTester[_0x2b0e7f(0x1ba)](O11y_EVENTS[_0x2b0e7f(0x1ce)]),this[_0x2b0e7f(0x1c1)]['info'](_0x2b0e7f(0x1d4)+constants[_0x2b0e7f(0x1b9)]+_0x2b0e7f(0x1c8));}else this['logger'][_0x2b0e7f(0x1d7)](_0x6d598[_0x2b0e7f(0x1be)]);}}ObservabilityModule[a83_0x25be7f(0x1cf)]=a83_0x25be7f(0x1c0),module['exports']=ObservabilityModule;
1
+ const a83_0x88da09=a83_0x462f;(function(_0x471b28,_0x364f8f){const _0x507285=a83_0x462f,_0x3c2bd1=_0x471b28();while(!![]){try{const _0x509846=-parseInt(_0x507285(0x1a5))/0x1*(parseInt(_0x507285(0x19d))/0x2)+-parseInt(_0x507285(0x1a8))/0x3+parseInt(_0x507285(0x1a7))/0x4+parseInt(_0x507285(0x1b2))/0x5+-parseInt(_0x507285(0x1af))/0x6+parseInt(_0x507285(0x1ac))/0x7*(-parseInt(_0x507285(0x1b7))/0x8)+-parseInt(_0x507285(0x1ab))/0x9*(-parseInt(_0x507285(0x19a))/0xa);if(_0x509846===_0x364f8f)break;else _0x3c2bd1['push'](_0x3c2bd1['shift']());}catch(_0x5e2832){_0x3c2bd1['push'](_0x3c2bd1['shift']());}}}(a83_0x2dfc,0x55af2));const BaseModule=require('./baseModule'),{createClassLogger}=require(a83_0x88da09(0x198)),AutomationFramework=require(a83_0x88da09(0x1a6)),AutomationFrameworkState=require(a83_0x88da09(0x1a3)),HookState=require(a83_0x88da09(0x197)),{playwrightAnnotate}=require('../../../helpers/helper.js'),PerformanceTester=require('../../../helpers/performance/performance-tester.js'),{O11y_EVENTS}=require(a83_0x88da09(0x1a1)),constants=require(a83_0x88da09(0x191));class ObservabilityModule extends BaseModule{[a83_0x88da09(0x1a2)]=createClassLogger(a83_0x88da09(0x19e));constructor(_0x1c2fc8){const _0x534350=a83_0x88da09,_0x109548={};_0x109548[_0x534350(0x1b3)]=_0x534350(0x19e);const _0x155cf9=_0x109548;super(),this[_0x534350(0x1b1)]=_0x155cf9[_0x534350(0x1b3)],this['observabilityConfig']=_0x1c2fc8,AutomationFramework[_0x534350(0x1b6)](AutomationFrameworkState[_0x534350(0x1b0)],HookState['POST'],this[_0x534350(0x195)][_0x534350(0x1a0)](this));}[a83_0x88da09(0x1b5)](){return ObservabilityModule['MODULE_NAME'];}async['onBeforeTest'](_0x2ebfa1){const _0x38ad56=a83_0x88da09,_0xe02ef1={'bcdmg':function(_0xd91c5c,_0x44c11a){return _0xd91c5c+_0x44c11a;},'TLxnS':_0x38ad56(0x193),'GMIhp':function(_0x5edc1c,_0x5ab01d,_0x5424ad,_0x21e3e1){return _0x5edc1c(_0x5ab01d,_0x5424ad,_0x21e3e1);},'zJOsq':_0x38ad56(0x1aa),'Uwmiv':_0x38ad56(0x199)};if(_0x2ebfa1[_0x38ad56(0x1a4)]){const _0x538778=_0x2ebfa1[_0x38ad56(0x1a4)],_0x34b436=Date[_0x38ad56(0x19b)](),_0x396d76=_0xe02ef1['bcdmg'](_0xe02ef1['TLxnS'],_0x34b436);PerformanceTester[_0x38ad56(0x1a9)](O11y_EVENTS[_0x38ad56(0x1ad)]),await _0xe02ef1['GMIhp'](playwrightAnnotate,_0x538778,_0x396d76,_0xe02ef1[_0x38ad56(0x192)]),PerformanceTester[_0x38ad56(0x1b4)](O11y_EVENTS['SYNC']),this[_0x38ad56(0x1a2)][_0x38ad56(0x196)]('onBeforeTest:\x20'+constants[_0x38ad56(0x19f)]+_0x38ad56(0x1b8));}else this[_0x38ad56(0x1a2)][_0x38ad56(0x1aa)](_0xe02ef1[_0x38ad56(0x194)]);}}function a83_0x462f(_0x42a522,_0x2807c5){const _0x2dfc93=a83_0x2dfc();return a83_0x462f=function(_0x462f5a,_0x5f5084){_0x462f5a=_0x462f5a-0x191;let _0xbd1504=_0x2dfc93[_0x462f5a];return _0xbd1504;},a83_0x462f(_0x42a522,_0x2807c5);}ObservabilityModule[a83_0x88da09(0x19c)]=a83_0x88da09(0x19e),module[a83_0x88da09(0x1ae)]=ObservabilityModule;function a83_0x2dfc(){const _0x19f3f0=['debug','162KuZOfO','886340tNQFJo','SYNC','exports','2809890TJPiUj','CREATE','name','2529790FCkdlt','hTERr','end','getModuleName','registerObserver','16CQmTdi','\x20sync\x20done','../../utils/constants.js','zJOsq','ObservabilitySync:','Uwmiv','onBeforeTest','info','../state/hookState.js','../../../helpers/classLogger.js','onBeforeTest:\x20page\x20is\x20not\x20defined','643700QGIcft','now','MODULE_NAME','12wHKeEq','ObservabilityModule','TEST_REPORTING_ANALYTICS','bind','../../../helpers/performance/constants.js','logger','../state/automationFrameworkState.js','page','81866pEgoKp','../framework/automationFramework.js','2359248TebNBb','2072151BwGTTU','start'];a83_0x2dfc=function(){return _0x19f3f0;};return a83_0x2dfc();}
@@ -1 +1 @@
1
- const a84_0x4bf6cb=a84_0x3982;(function(_0x43a98c,_0x225d11){const _0x126a40=a84_0x3982,_0x3743f5=_0x43a98c();while(!![]){try{const _0x11b94e=parseInt(_0x126a40(0x17c))/0x1+parseInt(_0x126a40(0x168))/0x2+parseInt(_0x126a40(0x112))/0x3+-parseInt(_0x126a40(0x1a6))/0x4*(-parseInt(_0x126a40(0x1b3))/0x5)+-parseInt(_0x126a40(0x179))/0x6+parseInt(_0x126a40(0x100))/0x7*(parseInt(_0x126a40(0xf6))/0x8)+-parseInt(_0x126a40(0xf0))/0x9;if(_0x11b94e===_0x225d11)break;else _0x3743f5['push'](_0x3743f5['shift']());}catch(_0x33063d){_0x3743f5['push'](_0x3743f5['shift']());}}}(a84_0x35a8,0xf0b83));const util=require('util'),BaseModule=require(a84_0x4bf6cb(0x126)),{createClassLogger}=require(a84_0x4bf6cb(0xfa)),{getFrameworkVersion}=require('../../../helpers/test-observability/utils'),helper=require(a84_0x4bf6cb(0x165)),{FRAMEWORKS}=require('../../utils/constants'),AutomationFramework=require('../framework/automationFramework.js'),AutomationFrameworkState=require(a84_0x4bf6cb(0x1a2)),HookState=require(a84_0x4bf6cb(0x106)),{playwrightBstackJsExecutor,nestedKeyValue,playwrightAnnotate,getPlaywrightStatus,getPlaywrightSessionName,getCucumberSessionName}=require('../../../helpers/helper.js'),CLIUtils=require('../cliUtils.js'),BrowserstackCLI=require(a84_0x4bf6cb(0x18b)),GrpcClient=require(a84_0x4bf6cb(0x133)),PerformanceTester=require(a84_0x4bf6cb(0x153)),PerformanceEvents=require(a84_0x4bf6cb(0x113))[a84_0x4bf6cb(0x18f)],TestInfo=require('../TestInfo.js'),{getPlaywrightProvider,getProductForSession}=require(a84_0x4bf6cb(0x108)),LoadTestModule=require(a84_0x4bf6cb(0x17d)),TestFrameworkConstants=require(a84_0x4bf6cb(0x123)),TestFrameworkState=require('../state/testFrameworkState'),JestUtils=require(a84_0x4bf6cb(0x13b)),PlaywrightSessionDetails=require('../../playwright/sessionDetails');class PlaywrightDriverModule extends BaseModule{static [a84_0x4bf6cb(0x15c)]='browserObject';static [a84_0x4bf6cb(0x195)]=a84_0x4bf6cb(0x15a);static [a84_0x4bf6cb(0x1a4)]=a84_0x4bf6cb(0x142);static [a84_0x4bf6cb(0x177)]=a84_0x4bf6cb(0x11b);static [a84_0x4bf6cb(0x182)]=a84_0x4bf6cb(0x16e);static ['KEY_CAPABILITIES']='capabilities';static [a84_0x4bf6cb(0x14c)]='hubUrl';static ['KEY_PLATFORM_DETAILS']=a84_0x4bf6cb(0x10b);static ['KEY_TEST_ID']=a84_0x4bf6cb(0x1ac);[a84_0x4bf6cb(0x180)]=createClassLogger(a84_0x4bf6cb(0x141));constructor(_0x49b336=null){const _0x2150a8=a84_0x4bf6cb,_0x5d4692={};_0x5d4692[_0x2150a8(0x189)]=_0x2150a8(0x12b),_0x5d4692['zjbVo']=_0x2150a8(0x141);const _0x1f7da9=_0x5d4692,_0x45df25=_0x1f7da9['VKtXz'][_0x2150a8(0x16a)]('|');let _0xe60dd7=0x0;while(!![]){switch(_0x45df25[_0xe60dd7++]){case'0':this[_0x2150a8(0xec)]=null;continue;case'1':this[_0x2150a8(0x151)]=null;continue;case'2':this[_0x2150a8(0x181)]=[];continue;case'3':super(_0x49b336);continue;case'4':AutomationFramework[_0x2150a8(0x140)](AutomationFrameworkState[_0x2150a8(0x198)],HookState[_0x2150a8(0x1b0)],this['onAfterTest'][_0x2150a8(0x13c)](this));continue;case'5':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x2150a8(0x150)],HookState[_0x2150a8(0x185)],this[_0x2150a8(0x104)][_0x2150a8(0x13c)](this));continue;case'6':this[_0x2150a8(0x148)]=null;continue;case'7':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x2150a8(0x150)],HookState[_0x2150a8(0x1b0)],this[_0x2150a8(0x18c)]['bind'](this));continue;case'8':this['jestUtils']=new JestUtils();continue;case'9':AutomationFramework[_0x2150a8(0x140)](AutomationFrameworkState[_0x2150a8(0x121)],HookState[_0x2150a8(0x1b0)],this['onPlaywrightDispatch']['bind'](this));continue;case'10':this[_0x2150a8(0x105)]=_0x1f7da9[_0x2150a8(0x130)];continue;case'11':this[_0x2150a8(0x1a8)]=null;continue;}break;}}[a84_0x4bf6cb(0x19b)](){const _0x406d28=a84_0x4bf6cb;return PlaywrightDriverModule[_0x406d28(0x176)];}async['onBeforeDriverCreate'](_0x24312b){const _0x411f7b=a84_0x4bf6cb,_0x5688b7={};_0x5688b7[_0x411f7b(0xf4)]='onBeforeDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created';const _0x3ab219=_0x5688b7;try{this[_0x411f7b(0x180)][_0x411f7b(0x15e)](_0x3ab219[_0x411f7b(0xf4)]);const _0xf22fa3=_0x24312b[_0x411f7b(0xfc)],_0x36c356=_0x24312b['hubUrl'];AutomationFramework['setState'](_0x24312b[_0x411f7b(0x1a7)],PlaywrightDriverModule['KEY_CAPABILITIES'],_0xf22fa3),AutomationFramework[_0x411f7b(0x156)](_0x24312b[_0x411f7b(0x1a7)],PlaywrightDriverModule['KEY_HUB_URL'],_0x36c356);}catch(_0x1c82e3){this['logger'][_0x411f7b(0x10e)](_0x411f7b(0x158)+util[_0x411f7b(0x1b2)](_0x1c82e3));}}async['onPlaywrightDispatch'](_0x42f0bd){const _0x3fd40d=a84_0x4bf6cb,_0x34b78a={};_0x34b78a[_0x3fd40d(0xfe)]=function(_0x33e41a,_0x2bfe82){return _0x33e41a||_0x2bfe82;};const _0x469e79=_0x34b78a;try{const _0x124b61=_0x42f0bd?.[_0x3fd40d(0x146)]&&_0x42f0bd?.[_0x3fd40d(0x146)]?.[_0x3fd40d(0x192)]&&_0x42f0bd?.[_0x3fd40d(0x146)]?.[_0x3fd40d(0x192)]?.[_0x3fd40d(0x19e)],_0x45df81=_0x42f0bd?.['message']&&_0x42f0bd?.[_0x3fd40d(0x146)]?.[_0x3fd40d(0xf7)];if(_0x469e79[_0x3fd40d(0xfe)](_0x124b61,_0x45df81)){this[_0x3fd40d(0x180)][_0x3fd40d(0x15e)](_0x3fd40d(0x128)+util[_0x3fd40d(0x14e)](_0x124b61)+_0x3fd40d(0xef)+util[_0x3fd40d(0x14e)](_0x45df81));const _0x1e8cb4=_0x42f0bd?.[_0x3fd40d(0x1a7)],_0x4b01c0=global?.['__workerDetails']?.['workerInfo']?.[_0x3fd40d(0x184)],_0x56c03b=_0x124b61?.[_0x3fd40d(0x11b)]||_0x45df81?.['sessionId'],_0x20578a=_0x124b61?.['platformDetails']||_0x45df81?.[_0x3fd40d(0x10b)];_0x56c03b&&(this[_0x3fd40d(0x180)][_0x3fd40d(0x15e)](_0x3fd40d(0x127)+_0x56c03b),AutomationFramework['setState'](_0x1e8cb4,PlaywrightDriverModule[_0x3fd40d(0x177)],_0x56c03b)),_0x4b01c0&&(this[_0x3fd40d(0x180)][_0x3fd40d(0x15e)](_0x3fd40d(0x1a5)+util['inspect'](_0x4b01c0)),AutomationFramework[_0x3fd40d(0x156)](_0x1e8cb4,PlaywrightDriverModule[_0x3fd40d(0x182)],_0x4b01c0));}}catch(_0x1452f0){this[_0x3fd40d(0x180)][_0x3fd40d(0x10e)](_0x3fd40d(0xf5)+util[_0x3fd40d(0x1b2)](_0x1452f0));}}async[a84_0x4bf6cb(0x18c)](_0x490d3c){const _0x3f7092=a84_0x4bf6cb,_0x4de4e7={'MbhBb':'onAfterDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','iBpEH':function(_0x4b01e5,_0x1e804a){return _0x4b01e5(_0x1e804a);},'quJmb':_0x3f7092(0x197),'RRJol':_0x3f7092(0x125),'YojlL':_0x3f7092(0x136),'zOcoX':_0x3f7092(0x11d),'VBASe':_0x3f7092(0x138),'pwxao':function(_0x58e52a,_0x572a98){return _0x58e52a===_0x572a98;}};try{this[_0x3f7092(0x180)][_0x3f7092(0x15e)](_0x4de4e7[_0x3f7092(0x10d)]);const _0x12039a=_0x490d3c['instance'];this[_0x3f7092(0xec)]=_0x4de4e7['iBpEH'](getFrameworkVersion,FRAMEWORKS[_0x3f7092(0xee)]);if(_0x490d3c[_0x3f7092(0x1af)]){this[_0x3f7092(0x180)][_0x3f7092(0x15e)](_0x4de4e7[_0x3f7092(0x19a)]),AutomationFramework['setState'](_0x12039a,PlaywrightDriverModule['KEY_PAGE_OBJECT'],_0x490d3c[_0x3f7092(0x1af)]);if(_0x490d3c[_0x3f7092(0x19c)]){this[_0x3f7092(0x180)][_0x3f7092(0x15e)](_0x4de4e7[_0x3f7092(0x152)]);const _0x150b8f=this[_0x3f7092(0x103)](_0x490d3c);AutomationFramework[_0x3f7092(0x156)](_0x12039a,PlaywrightDriverModule[_0x3f7092(0x186)],_0x150b8f),await this[_0x3f7092(0x167)](_0x490d3c[_0x3f7092(0x19c)]);}}_0x490d3c[_0x3f7092(0x10c)]&&(this['logger'][_0x3f7092(0x15e)](_0x4de4e7[_0x3f7092(0x1a1)]),AutomationFramework[_0x3f7092(0x156)](_0x12039a,PlaywrightDriverModule[_0x3f7092(0x195)],_0x490d3c[_0x3f7092(0x10c)]));if(_0x490d3c[_0x3f7092(0x1ae)]){this['logger'][_0x3f7092(0x15e)](_0x4de4e7[_0x3f7092(0x17f)]);const _0x55a7f4=global?.[_0x3f7092(0x196)]?.[_0x3f7092(0x144)]?.[_0x3f7092(0x184)];AutomationFramework['setState'](_0x12039a,PlaywrightDriverModule[_0x3f7092(0x15c)],_0x490d3c[_0x3f7092(0x1ae)]),AutomationFramework[_0x3f7092(0x156)](_0x12039a,PlaywrightDriverModule[_0x3f7092(0x182)],_0x55a7f4);const _0x4fb603={};_0x4fb603[_0x3f7092(0x11c)]=!![];const _0x359710=Buffer['from'](JSON['stringify'](_0x4fb603)[_0x3f7092(0x137)](_0x4de4e7['VBASe'])),_0x2412df=await GrpcClient[_0x3f7092(0x193)]()['driverInit']({'platformIndex':_0x55a7f4,'ref':_0x12039a['getRef'](),'userInputParams':_0x359710});(helper[_0x3f7092(0xf8)](helper[_0x3f7092(0x115)]())||helper[_0x3f7092(0x178)](helper[_0x3f7092(0x115)]()&&BrowserstackCLI[_0x3f7092(0x193)]()['getConfig']()[_0x3f7092(0x181)]&&_0x4de4e7['pwxao'](BrowserstackCLI['getInstance']()[_0x3f7092(0x16b)]()[_0x3f7092(0x181)][_0x3f7092(0x110)],0x0)))&&AutomationFramework[_0x3f7092(0x156)](_0x12039a,PlaywrightDriverModule[_0x3f7092(0x1ab)],PlaywrightSessionDetails[_0x3f7092(0x19f)]());}}catch(_0x4f3d10){this[_0x3f7092(0x180)][_0x3f7092(0x10e)](_0x3f7092(0x188)+util['format'](_0x4f3d10));}}async[a84_0x4bf6cb(0x147)](_0x4d11da){const _0x41bd5a=a84_0x4bf6cb,_0x50ff8f={'pZsNX':_0x41bd5a(0x143),'Trjvw':_0x41bd5a(0x17a),'ZqWeK':function(_0x864ee3,_0x1500e6){return _0x864ee3(_0x1500e6);},'Klyqe':function(_0x4060f1,_0x2bc3df,_0x585776){return _0x4060f1(_0x2bc3df,_0x585776);},'ibzaC':_0x41bd5a(0x171),'Ksjjp':'message','aSVoN':_0x41bd5a(0x10e),'pdesA':function(_0x51c762,_0x4b2d86,_0x7b2d83){return _0x51c762(_0x4b2d86,_0x7b2d83);},'OllZZ':_0x41bd5a(0x117),'QtRGp':function(_0x372bd4,_0x37dde2){return _0x372bd4>_0x37dde2;},'qTIpn':function(_0x3b4334,_0x122e28){return _0x3b4334||_0x122e28;},'bwAKY':function(_0x31a462,_0x37303b){return _0x31a462===_0x37303b;},'WoveX':function(_0x46331b,_0x2036d5){return _0x46331b+_0x2036d5;},'CxeJc':'testId:\x20','pLqmx':function(_0x334362,_0x367443){return _0x334362+_0x367443;},'TwStx':'testData\x20from\x20onAfterTest:\x20','qDyUu':_0x41bd5a(0x17e),'XWLlL':'1.51.0','NFfeK':function(_0x4a5bd7){return _0x4a5bd7();},'IDxeS':function(_0x13b001,_0x240f5c){return _0x13b001>_0x240f5c;},'VtVBR':_0x41bd5a(0x138),'msqSV':_0x41bd5a(0x13e)};this[_0x41bd5a(0x180)][_0x41bd5a(0x15e)](_0x50ff8f[_0x41bd5a(0x1a0)]);const _0x989023=_0x4d11da['instance'];if(!_0x989023){this[_0x41bd5a(0x180)][_0x41bd5a(0x15e)](_0x50ff8f['Trjvw']);return;}const _0xb88d9f=_0x4d11da[_0x41bd5a(0x19c)],_0x2018c4=this[_0x41bd5a(0x103)](_0x4d11da),_0x422404=_0xb88d9f[_0x41bd5a(0x16d)];let _0x5c6894;const _0x4a6759=_0x50ff8f[_0x41bd5a(0x135)](getPlaywrightStatus,_0x422404);let _0x2a8dbb,_0x41ec68=null;if(_0xb88d9f[_0x41bd5a(0x132)]||_0xb88d9f[_0x41bd5a(0x13d)])_0x2a8dbb=_0x50ff8f[_0x41bd5a(0x135)](getCucumberSessionName,_0xb88d9f),_0x5c6894=_0x50ff8f[_0x41bd5a(0x194)](nestedKeyValue,_0xb88d9f,[_0x50ff8f[_0x41bd5a(0x107)],_0x50ff8f[_0x41bd5a(0xf1)]]);else{_0x2a8dbb=_0x50ff8f[_0x41bd5a(0x135)](getPlaywrightSessionName,_0xb88d9f),_0x5c6894=_0x50ff8f['Klyqe'](nestedKeyValue,_0xb88d9f,[_0x50ff8f['aSVoN'],_0x50ff8f[_0x41bd5a(0xf1)]]);const _0xdfaeef=_0x50ff8f[_0x41bd5a(0xf3)](nestedKeyValue,_0xb88d9f,[_0x50ff8f[_0x41bd5a(0x1ad)]]);_0xdfaeef&&_0x50ff8f['QtRGp'](_0xdfaeef[_0x41bd5a(0x110)],0x0)&&(_0x41ec68=_0xdfaeef[0x0]['message']),_0x5c6894=_0x50ff8f['qTIpn'](_0x5c6894,_0x41ec68),this[_0x41bd5a(0x180)][_0x41bd5a(0x15e)](_0x41bd5a(0x1a3)+_0x4a6759+'\x20failure\x20reason:\x20'+_0x5c6894);}const _0x5db185=_0x50ff8f[_0x41bd5a(0x109)](_0x5c6894,_0x41ec68);this[_0x41bd5a(0x180)][_0x41bd5a(0x15e)]('Automation\x20onAfterTest:\x20Test\x20status:\x20'+_0x4a6759);let _0x20097e,_0x3823e5;if(this[_0x41bd5a(0x172)]&&_0x50ff8f[_0x41bd5a(0x170)](this[_0x41bd5a(0x172)]['name'],FRAMEWORKS[_0x41bd5a(0x11f)]))_0x20097e=_0x2018c4,_0x3823e5=TestInfo[_0x41bd5a(0x13f)](_0x20097e);else this[_0x41bd5a(0x172)]&&_0x50ff8f['bwAKY'](this[_0x41bd5a(0x172)][_0x41bd5a(0x105)],FRAMEWORKS[_0x41bd5a(0x162)])?(_0x20097e=this['jestUtils'][_0x41bd5a(0x18a)](_0xb88d9f),this[_0x41bd5a(0x180)][_0x41bd5a(0x15e)](_0x41bd5a(0x18e)+_0x20097e)):(_0x20097e=TestInfo['getTestIdentifierFromTestInfo'](_0xb88d9f,_0xb88d9f[_0x41bd5a(0x15b)]),_0x3823e5=TestInfo[_0x41bd5a(0x13f)](_0x20097e));const _0x14c472=TestInfo[_0x41bd5a(0x145)](_0x20097e);this[_0x41bd5a(0x180)][_0x41bd5a(0xf2)](_0x50ff8f[_0x41bd5a(0x120)](_0x50ff8f[_0x41bd5a(0x131)],_0x2018c4)),this[_0x41bd5a(0x180)]['info'](_0x50ff8f[_0x41bd5a(0x111)](_0x50ff8f['TwStx'],util[_0x41bd5a(0x14e)](_0x14c472)));const _0x19c3ca=AutomationFramework[_0x41bd5a(0x19d)](_0x989023,PlaywrightDriverModule[_0x41bd5a(0x182)]),_0x4e3bcb=_0x14c472?.[TestFrameworkConstants[_0x41bd5a(0x187)]]||this[_0x41bd5a(0x172)]&&this[_0x41bd5a(0x172)][_0x41bd5a(0x105)],_0x397eb4=_0x14c472?.[TestFrameworkConstants[_0x41bd5a(0x154)]]||this['testFrameworkData']&&this[_0x41bd5a(0x172)][_0x41bd5a(0x16c)],_0x11dcba=TestFrameworkState['TEST'][_0x41bd5a(0x137)]()['split']('.')[0x1],_0x8fbe32=HookState[_0x41bd5a(0x1b0)][_0x41bd5a(0x137)]()['split']('.')[0x1],_0x57f5c1=_0x989023[_0x41bd5a(0x134)](),_0xa85195=AutomationFramework['getState'](_0x989023,PlaywrightDriverModule[_0x41bd5a(0x14c)],''),_0x38181e={'provider':_0x50ff8f[_0x41bd5a(0x135)](getPlaywrightProvider,_0xa85195),'frameworkName':_0x50ff8f[_0x41bd5a(0x157)],'frameworkVersion':_0x50ff8f[_0x41bd5a(0x11a)],'frameworkSessionId':LoadTestModule[_0x41bd5a(0x12e)]()?LoadTestModule[_0x41bd5a(0x14b)]():AutomationFramework['getState'](_0x989023,PlaywrightDriverModule[_0x41bd5a(0x177)],''),'ref':_0x989023['getRef'](),'hubUrl':_0xa85195,'product':_0x50ff8f['NFfeK'](getProductForSession)};let _0x39d7a1=AutomationFramework[_0x41bd5a(0x19d)](_0x989023,PlaywrightDriverModule['KEY_CAPABILITIES'],{});_0x39d7a1&&_0x50ff8f[_0x41bd5a(0x14f)](Object[_0x41bd5a(0x13a)](_0x39d7a1)['length'],0x0)?_0x39d7a1=Buffer[_0x41bd5a(0x102)](JSON[_0x41bd5a(0x122)](_0x39d7a1))[_0x41bd5a(0x137)](_0x50ff8f[_0x41bd5a(0x114)]):_0x39d7a1=Buffer[_0x41bd5a(0x102)](JSON['stringify']({}))[_0x41bd5a(0x137)](_0x50ff8f[_0x41bd5a(0x114)]);const _0x3bd378={'hash':_0x57f5c1[_0x41bd5a(0xff)](),'threadId':_0x57f5c1['getThreadId']()[_0x41bd5a(0x137)](),'processId':_0x57f5c1[_0x41bd5a(0x15f)]()[_0x41bd5a(0x137)]()},_0x4d8e70={};_0x4d8e70['test_identifier']=_0x20097e;const _0x5abd41={};_0x5abd41[_0x41bd5a(0x12c)]=_0x3823e5;const _0x5bef72={'platformIndex':_0x19c3ca,'testFrameworkName':_0x4e3bcb,'testFrameworkVersion':_0x397eb4,'testFrameworkState':_0x11dcba,'testHookState':_0x8fbe32,...this[_0x41bd5a(0x172)]&&_0x50ff8f[_0x41bd5a(0x170)](this[_0x41bd5a(0x172)][_0x41bd5a(0x105)],FRAMEWORKS[_0x41bd5a(0x162)])?_0x4d8e70:_0x5abd41,'automationSession':_0x38181e,'capabilities':_0x39d7a1,'executionContext':_0x3bd378};this[_0x41bd5a(0x180)][_0x41bd5a(0x15e)](_0x41bd5a(0x119)+util[_0x41bd5a(0x1b2)](_0x5bef72)),GrpcClient[_0x41bd5a(0x193)]()[_0x41bd5a(0x164)](_0x5bef72),this[_0x41bd5a(0x180)][_0x41bd5a(0x15e)]('onAfterTest\x20CBTSession\x20complete\x20for\x20testId:\x20'+_0x2018c4+(this[_0x41bd5a(0x172)]&&_0x50ff8f[_0x41bd5a(0x170)](this['testFrameworkData']['name'],FRAMEWORKS[_0x41bd5a(0x162)])?_0x41bd5a(0x16f)+_0x20097e:''));if(!_0x4a6759){this['logger']['debug'](_0x50ff8f[_0x41bd5a(0xf9)],_0x422404['status']);return;}this[_0x41bd5a(0x180)][_0x41bd5a(0x15e)](_0x41bd5a(0x1b1)+_0x2018c4),_0xb88d9f&&(this['logger']['debug']('Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20to:\x20'+_0x2a8dbb),await this[_0x41bd5a(0x167)](_0xb88d9f)),await this[_0x41bd5a(0x174)](_0x989023,_0x2a8dbb,_0x4a6759,_0x5db185);}async['markSessionStatus'](_0x50541a,_0x43aaca,_0x4812f7,_0x442c61){const _0x5194d5=a84_0x4bf6cb,_0x223da5={'kHIsC':_0x5194d5(0x173),'NCMZE':_0x5194d5(0x183),'yIMkw':_0x5194d5(0x155),'rpDYO':_0x5194d5(0x13e),'tzOhv':_0x5194d5(0x118),'KZUzj':_0x5194d5(0x163),'HSOTj':_0x5194d5(0x17b),'iSJMU':function(_0x3f0d90,_0x34dc47){return _0x3f0d90===_0x34dc47;},'nFEJL':_0x5194d5(0x11e),'Wflew':_0x5194d5(0xf2),'vzbwQ':_0x5194d5(0x10e),'YNgYh':function(_0x58765e,_0x37af15,_0xaab50a,_0x1f22b7){return _0x58765e(_0x37af15,_0xaab50a,_0x1f22b7);},'kHwry':_0x5194d5(0x159),'szEZd':function(_0x2c2114,_0x428be3,_0x45dba2){return _0x2c2114(_0x428be3,_0x45dba2);}};if(CLIUtils[_0x5194d5(0x18d)](BrowserstackCLI[_0x5194d5(0x193)]()[_0x5194d5(0x16b)]())){this['logger'][_0x5194d5(0x15e)](_0x223da5[_0x5194d5(0x160)]);return;}const _0x48c385=_0x50541a;if(!_0x48c385){this['logger'][_0x5194d5(0x15e)](_0x223da5[_0x5194d5(0x10a)]);return;}const _0x282e4d=AutomationFramework[_0x5194d5(0x19d)](_0x48c385,PlaywrightDriverModule[_0x5194d5(0x1a4)]);if(!_0x282e4d){this[_0x5194d5(0x180)][_0x5194d5(0x15e)](_0x223da5[_0x5194d5(0x116)]);return;}const _0x2ed6fd=_0x4812f7;if(!_0x2ed6fd){this[_0x5194d5(0x180)][_0x5194d5(0x15e)](_0x223da5[_0x5194d5(0x175)],_0x2ed6fd);return;}const _0x437003={};_0x437003['status']=_0x2ed6fd;const _0x461f8b={};_0x461f8b[_0x5194d5(0x169)]=_0x223da5[_0x5194d5(0xfb)],_0x461f8b[_0x5194d5(0x14d)]=_0x437003;const _0x40e08f=_0x461f8b;_0x442c61&&(_0x40e08f[_0x5194d5(0x14d)][_0x223da5[_0x5194d5(0xed)]]=_0x442c61);const _0x11c35e=(_0x43aaca?_0x43aaca:_0x223da5[_0x5194d5(0x124)])+'\x20'+_0x2ed6fd+'\x20'+(_0x442c61?'with\x20'+_0x442c61:''),_0x432225=_0x223da5[_0x5194d5(0x191)](_0x2ed6fd,_0x223da5[_0x5194d5(0x12f)])?_0x223da5[_0x5194d5(0x10f)]:_0x223da5[_0x5194d5(0x149)];await _0x223da5[_0x5194d5(0x1a9)](playwrightAnnotate,_0x282e4d,_0x11c35e,_0x432225),_0x442c61&&(_0x40e08f['arguments'][_0x223da5['KZUzj']]=_0x442c61),PerformanceTester[_0x5194d5(0x1aa)](PerformanceEvents[_0x5194d5(0x190)]),this[_0x5194d5(0x180)][_0x5194d5(0x15e)](_0x223da5[_0x5194d5(0x12a)]),await _0x223da5['szEZd'](playwrightBstackJsExecutor,_0x282e4d,_0x40e08f),PerformanceTester[_0x5194d5(0x12d)](PerformanceEvents['SESSION_STATUS']);}async[a84_0x4bf6cb(0x167)](_0x1634cd){const _0x43ba00=a84_0x4bf6cb,_0xe63717={'Vjoru':'markSessionName:\x20Skipping\x20session\x20name\x20marking','lJBuE':function(_0x19c934,_0x17becf){return _0x19c934(_0x17becf);},'cWOAw':function(_0x25e7c2,_0x2271c8){return _0x25e7c2(_0x2271c8);},'KuQDq':'setSessionName','UliPM':function(_0x165726,_0x45c6f8,_0x2037de){return _0x165726(_0x45c6f8,_0x2037de);}};try{if(CLIUtils[_0x43ba00(0x166)](BrowserstackCLI[_0x43ba00(0x193)]()[_0x43ba00(0x16b)]())){this['logger'][_0x43ba00(0x15e)](_0xe63717[_0x43ba00(0x199)]);return;}const _0x55030e=AutomationFramework['getState'](AutomationFramework[_0x43ba00(0x14a)](),PlaywrightDriverModule[_0x43ba00(0x1a4)]);let _0x1608a6;_0x1634cd[_0x43ba00(0x132)]||_0x1634cd['gherkinDocument']?_0x1608a6=_0xe63717['lJBuE'](getCucumberSessionName,_0x1634cd):_0x1608a6=_0xe63717[_0x43ba00(0x101)](getPlaywrightSessionName,_0x1634cd);const _0x480f82={};_0x480f82[_0x43ba00(0x105)]=_0x1608a6;const _0x8f44c5={};_0x8f44c5[_0x43ba00(0x169)]=_0xe63717[_0x43ba00(0xfd)],_0x8f44c5[_0x43ba00(0x14d)]=_0x480f82;const _0x2d991f=_0x8f44c5;PerformanceTester['start'](PerformanceEvents[_0x43ba00(0x161)]),await _0xe63717[_0x43ba00(0x15d)](playwrightBstackJsExecutor,_0x55030e,_0x2d991f),PerformanceTester[_0x43ba00(0x12d)](PerformanceEvents[_0x43ba00(0x161)]);}catch(_0x3b3381){PerformanceTester[_0x43ba00(0x12d)](PerformanceEvents[_0x43ba00(0x161)],![],util[_0x43ba00(0x1b2)](_0x3b3381)),this[_0x43ba00(0x180)][_0x43ba00(0x10e)](_0x43ba00(0x139)+util[_0x43ba00(0x1b2)](_0x3b3381));}}}PlaywrightDriverModule[a84_0x4bf6cb(0x176)]=a84_0x4bf6cb(0x141),module[a84_0x4bf6cb(0x129)]=PlaywrightDriverModule;function a84_0x3982(_0x4b8dfb,_0x17fd74){const _0x35a842=a84_0x35a8();return a84_0x3982=function(_0x398267,_0xa953ad){_0x398267=_0x398267-0xec;let _0x3b6d31=_0x35a842[_0x398267];return _0x3b6d31;},a84_0x3982(_0x4b8dfb,_0x17fd74);}function a84_0x35a8(){const _0x3689f2=['bsParams','getDetails','pZsNX','YojlL','../state/automationFrameworkState.js','Automation\x20onAfterTest:\x20Test\x20status:\x20','KEY_PAGE_OBJECT','onDispatchExecute:\x20Playwright\x20platform\x20platformIndex:\x20','24nZYjxu','instance','browserVersion','YNgYh','start','KEY_CAPABILITIES','testId','OllZZ','browser','page','POST','Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20and\x20status\x20for\x20testId:\x20','format','1209510JZWeVl','playwrightVersion','KZUzj','PLAYWRIGHT','\x20||\x20','8717706wvHrCl','Ksjjp','info','pdesA','uGjiv','Error\x20in\x20onDispatchExecute:\x20','8jdgkbE','bStackParams','isFalse','msqSV','../../../helpers/classLogger.js','tzOhv','launchcaps','KuQDq','dAmJz','getId','3466029amWwQH','cWOAw','from','getTestId','onBeforeDriverCreate','name','../state/hookState.js','ibzaC','../../../helpers/helper.js','qTIpn','NCMZE','platformDetails','context','MbhBb','error','Wflew','length','pLqmx','128838YeQalE','../../../helpers/performance/constants.js','VtVBR','isBrowserstackInfra','yIMkw','errors','setSessionStatus','onAfterTest\x20CBTSession\x20payload:\x20','XWLlL','sessionId','isPlaywright','onAfterDriverCreate:\x20Setting\x20browser\x20object','passed','CUCUMBER','WoveX','PLAYWRIGHT_DISPATCH','stringify','../framework/constants/testFrameworkConstants.js','HSOTj','onAfterDriverCreate:\x20Setting\x20Session\x20Name\x20from\x20testInfo','./baseModule','onDispatchExecute:\x20Playwright\x20sessionId:\x20','onDispatchExecute:\x20Playwright\x20driver\x20is\x20executing\x20tests\x20','exports','kHwry','3|10|0|6|11|2|1|8|5|7|9|4','testUuid','end','isLTSSession','nFEJL','zjbVo','CxeJc','pickle','../grpcClient.js','getContext','ZqWeK','onAfterDriverCreate:\x20Setting\x20context\x20object','toString','base64','Error\x20in\x20markSessionName:\x20','keys','../utils/jest-utils.js','bind','gherkinDocument','Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','getTestUUID','registerObserver','PlaywrightDriverModule','pageObject','Automation\x20onAfterTest:\x20Test\x20completed','workerInfo','getTestDetails','message','onAfterTest','browserName','vzbwQ','getTrackedInstance','getLTSSessionId','KEY_HUB_URL','arguments','inspect','IDxeS','CREATE','testRunId','RRJol','../../../helpers/performance/performance-tester.js','KEY_TEST_FRAMEWORK_VERSION','markSessionStatus:\x20Page\x20object\x20is\x20not\x20available','setState','qDyUu','Error\x20in\x20onBeforeDriverCreate:\x20','markSessionStatus:\x20Marking\x20session\x20status','contextObject','retry','KEY_BROWSER_OBJECT','UliPM','debug','getProcessId','kHIsC','SESSION_NAME','JEST','reason','testSessionEvent','../../../helpers/helper','shouldSkipSessionName','markSessionName','1958036aADoRR','action','split','getConfig','version','status','platformIndex',',\x20test_identifier:\x20','bwAKY','result','testFrameworkData','markSessionStatus:\x20Skipping\x20session\x20status\x20marking','markSessionStatus','rpDYO','MODULE_NAME','KEY_SESSION_ID','isTrue','9337008GyPKwg','Automation\x20onAfterTest:\x20Automation\x20instance\x20is\x20not\x20available','Session','542266gnHiUz','./loadTestModule.js','Playwright','zOcoX','logger','platforms','KEY_PLATFORM_INDEX','markSessionStatus:\x20Automation\x20instance\x20is\x20not\x20available','parallelIndex','PRE','KEY_TEST_ID','KEY_TEST_FRAMEWORK_NAME','Error\x20in\x20onAfterDriverCreate:\x20','VKtXz','recreateIdentifierFromTestInfo','../browserstackCLI.js','onAfterDriverCreate','shouldSkipSessionStatus','Automation\x20onAfterTest:\x20Recreated\x20Jest\x20testIdentifier:\x20','AUTOMATE_EVENTS','SESSION_STATUS','iSJMU','params','getInstance','Klyqe','KEY_CONTEXT_OBJECT','__workerDetails','onAfterDriverCreate:\x20Setting\x20page\x20object','EXECUTE','Vjoru','quJmb','getModuleName','testInfo','getState'];a84_0x35a8=function(){return _0x3689f2;};return a84_0x35a8();}
1
+ const a84_0x17b368=a84_0x1404;function a84_0x4bfe(){const _0x2b9223=['PLAYWRIGHT_DISPATCH','getConfig','playwrightVersion','../cliUtils.js','AUTOMATE_EVENTS','1062579EKMVyU','ecIoE','JEST','onDispatchExecute:\x20Playwright\x20sessionId:\x20','getProcessId','NHwdA','testFrameworkData','../framework/constants/testFrameworkConstants.js','getInstance','base64','browser','8PvKEOW','CUCUMBER','markSessionName','inspect','status','end','markSessionStatus','util','POST','Automation\x20onAfterTest:\x20Test\x20status:\x20','setState','params','eveFn','KJjux','testId','driverInit','KEY_BROWSER_OBJECT','instance','lxchq','5|4|1|10|9|8|7|6|3|0|2|11','with\x20','testRunId','setSessionStatus','TEST','../TestInfo.js','PLAYWRIGHT','__workerDetails','onDispatchExecute:\x20Playwright\x20platform\x20platformIndex:\x20','testUuid','platformDetails','fLWug','KEY_PAGE_OBJECT','onPlaywrightDispatch','ZSwma','KEY_SESSION_ID','shouldSkipSessionStatus','./loadTestModule.js','../browserstackCLI.js','onAfterTest\x20CBTSession\x20complete\x20for\x20testId:\x20','1272276Eppsmp','onAfterTest','getState','XBpMi','getModuleName','166475VzsPjY','arguments','WHiJB','pickle','markSessionStatus:\x20Marking\x20session\x20status','browserName','76xFMgIY','Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','registerObserver','KEY_CAPABILITIES','KEY_PLATFORM_INDEX','debug','action','onAfterTest\x20CBTSession\x20payload:\x20','sessionId','info','YHXwX','BnefC','../../utils/constants','wJWQn','KEY_TEST_FRAMEWORK_VERSION','from','testId:\x20','result','capabilities','uhEwv','QraSo','uUcqN','wqDNK','getDetails','4071947RzoedH','\x20||\x20','onBeforeDriverCreate','testInfo','toString','getTestUUID','onAfterDriverCreate:\x20Setting\x20context\x20object','LUytM','jestUtils','getId','getThreadId','PlaywrightDriverModule','parallelIndex','YZrAv','hubUrl','../state/testFrameworkState','context','getTestIdentifierFromTestInfo','KzuwT','length','Error\x20in\x20onBeforeDriverCreate:\x20','message','error','VaieU','10uaujdd','fzRwy','SrUzm','testSessionEvent','passed','browserVersion','MODULE_NAME','CREATE','KEY_PLATFORM_DETAILS','PqeHb','ULAgq',',\x20test_identifier:\x20','vqxoG','SESSION_NAME','getTestId','10797IMDfvk','contextObject','isLTSSession','aDIJp','split','../state/hookState.js','getTrackedInstance','isTrue','start','evQnG','KEY_HUB_URL','onAfterDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','isFalse','PAdrP','getTestDetails','suRTF','../state/automationFrameworkState.js','ayLtL','markSessionStatus:\x20Skipping\x20session\x20status\x20marking','logger','MIHmQ','193063JqdQup','../framework/automationFramework.js','DZURU','version','Error\x20in\x20markSessionName:\x20','KEY_TEST_ID','browserObject','SESSION_STATUS','onAfterDriverCreate:\x20Setting\x20page\x20object','UQgmj','getRef','../../playwright/sessionDetails','reason','122996lgVYaY','bEGQh','name','getLTSSessionId','bind','bOFCS','format','platforms','xyJGo','XZMVF','gherkinDocument','6NhUfga','recreateIdentifierFromTestInfo','../../../helpers/helper','Automation\x20onAfterTest:\x20Automation\x20instance\x20is\x20not\x20available','Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20and\x20status\x20for\x20testId:\x20','QUGXZ','Automation\x20onAfterTest:\x20Test\x20completed','markSessionName:\x20Skipping\x20session\x20name\x20marking','PRE','page','Playwright','EXECUTE','bStackParams','GRnin','pageObject','Automation\x20onAfterTest:\x20Recreated\x20Jest\x20testIdentifier:\x20','launchcaps','workerInfo','../grpcClient.js','LKTlF','platformIndex','Error\x20in\x20onAfterDriverCreate:\x20','oStey','retry','KEY_CONTEXT_OBJECT','isBrowserstackInfra','mTBSu','GKEgY','stringify','shouldSkipSessionName','onAfterDriverCreate:\x20Setting\x20Session\x20Name\x20from\x20testInfo','onAfterDriverCreate','JRwQc','odZaR','../../../helpers/helper.js'];a84_0x4bfe=function(){return _0x2b9223;};return a84_0x4bfe();}(function(_0x1e217e,_0x42e3c8){const _0x810514=a84_0x1404,_0x51dcc0=_0x1e217e();while(!![]){try{const _0x22e9d0=parseInt(_0x810514(0x100))/0x1+-parseInt(_0x810514(0x10d))/0x2+-parseInt(_0x810514(0x1bc))/0x3*(parseInt(_0x810514(0x17d))/0x4)+-parseInt(_0x810514(0x177))/0x5*(parseInt(_0x810514(0x118))/0x6)+-parseInt(_0x810514(0x140))/0x7*(parseInt(_0x810514(0x14b))/0x8)+-parseInt(_0x810514(0x172))/0x9+parseInt(_0x810514(0x1ad))/0xa*(parseInt(_0x810514(0x195))/0xb);if(_0x22e9d0===_0x42e3c8)break;else _0x51dcc0['push'](_0x51dcc0['shift']());}catch(_0x293b8a){_0x51dcc0['push'](_0x51dcc0['shift']());}}}(a84_0x4bfe,0x1a199));function a84_0x1404(_0x5dcd47,_0x5e1c9b){const _0x4bfe09=a84_0x4bfe();return a84_0x1404=function(_0x140481,_0x149775){_0x140481=_0x140481-0xfb;let _0x41e2d0=_0x4bfe09[_0x140481];return _0x41e2d0;},a84_0x1404(_0x5dcd47,_0x5e1c9b);}const util=require(a84_0x17b368(0x152)),BaseModule=require('./baseModule'),{createClassLogger}=require('../../../helpers/classLogger.js'),{getFrameworkVersion}=require('../../../helpers/test-observability/utils'),helper=require(a84_0x17b368(0x11a)),{FRAMEWORKS}=require(a84_0x17b368(0x189)),AutomationFramework=require(a84_0x17b368(0x101)),AutomationFrameworkState=require(a84_0x17b368(0xfb)),HookState=require(a84_0x17b368(0x1c1)),{playwrightBstackJsExecutor,nestedKeyValue,playwrightAnnotate,getPlaywrightStatus,getPlaywrightSessionName,getCucumberSessionName}=require(a84_0x17b368(0x13a)),CLIUtils=require(a84_0x17b368(0x13e)),BrowserstackCLI=require(a84_0x17b368(0x170)),GrpcClient=require(a84_0x17b368(0x12a)),PerformanceTester=require('../../../helpers/performance/performance-tester.js'),PerformanceEvents=require('../../../helpers/performance/constants.js')[a84_0x17b368(0x13f)],TestInfo=require(a84_0x17b368(0x163)),{getPlaywrightProvider,getProductForSession}=require(a84_0x17b368(0x13a)),LoadTestModule=require(a84_0x17b368(0x16f)),TestFrameworkConstants=require(a84_0x17b368(0x147)),TestFrameworkState=require(a84_0x17b368(0x1a4)),JestUtils=require('../utils/jest-utils.js'),PlaywrightSessionDetails=require(a84_0x17b368(0x10b));class PlaywrightDriverModule extends BaseModule{static [a84_0x17b368(0x15b)]=a84_0x17b368(0x106);static [a84_0x17b368(0x130)]=a84_0x17b368(0x1bd);static [a84_0x17b368(0x16a)]=a84_0x17b368(0x126);static [a84_0x17b368(0x16d)]=a84_0x17b368(0x185);static [a84_0x17b368(0x181)]=a84_0x17b368(0x12c);static [a84_0x17b368(0x180)]=a84_0x17b368(0x18f);static [a84_0x17b368(0x1c6)]=a84_0x17b368(0x1a3);static [a84_0x17b368(0x1b5)]='platformDetails';static [a84_0x17b368(0x105)]=a84_0x17b368(0x159);[a84_0x17b368(0xfe)]=createClassLogger(a84_0x17b368(0x1a0));constructor(_0x4a68d9=null){const _0x427aa7=a84_0x17b368,_0x4e5b5e={};_0x4e5b5e[_0x427aa7(0x1ae)]=_0x427aa7(0x15e),_0x4e5b5e[_0x427aa7(0x190)]=_0x427aa7(0x1a0);const _0x13cec8=_0x4e5b5e,_0x5c5f04=_0x13cec8[_0x427aa7(0x1ae)][_0x427aa7(0x1c0)]('|');let _0x3e1f46=0x0;while(!![]){switch(_0x5c5f04[_0x3e1f46++]){case'0':AutomationFramework[_0x427aa7(0x17f)](AutomationFrameworkState[_0x427aa7(0x1b4)],HookState[_0x427aa7(0x153)],this[_0x427aa7(0x137)][_0x427aa7(0x111)](this));continue;case'1':this[_0x427aa7(0x13d)]=null;continue;case'2':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x427aa7(0x13b)],HookState[_0x427aa7(0x153)],this[_0x427aa7(0x16b)][_0x427aa7(0x111)](this));continue;case'3':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x427aa7(0x1b4)],HookState[_0x427aa7(0x120)],this[_0x427aa7(0x197)][_0x427aa7(0x111)](this));continue;case'4':this[_0x427aa7(0x10f)]=_0x13cec8[_0x427aa7(0x190)];continue;case'5':super(_0x4a68d9);continue;case'6':this[_0x427aa7(0x19d)]=new JestUtils();continue;case'7':this[_0x427aa7(0x160)]=null;continue;case'8':this[_0x427aa7(0x114)]=[];continue;case'9':this[_0x427aa7(0x1b2)]=null;continue;case'10':this[_0x427aa7(0x17c)]=null;continue;case'11':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x427aa7(0x123)],HookState[_0x427aa7(0x153)],this[_0x427aa7(0x173)][_0x427aa7(0x111)](this));continue;}break;}}[a84_0x17b368(0x176)](){const _0x4a3485=a84_0x17b368;return PlaywrightDriverModule[_0x4a3485(0x1b3)];}async[a84_0x17b368(0x197)](_0x3eba3d){const _0xd887d7=a84_0x17b368,_0x5bb8f3={};_0x5bb8f3[_0xd887d7(0x138)]='onBeforeDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created';const _0x2a481f=_0x5bb8f3;try{this[_0xd887d7(0xfe)][_0xd887d7(0x182)](_0x2a481f[_0xd887d7(0x138)]);const _0x4485c3=_0x3eba3d[_0xd887d7(0x128)],_0x4ffc7c=_0x3eba3d[_0xd887d7(0x1a3)];AutomationFramework['setState'](_0x3eba3d['instance'],PlaywrightDriverModule[_0xd887d7(0x180)],_0x4485c3),AutomationFramework[_0xd887d7(0x155)](_0x3eba3d[_0xd887d7(0x15c)],PlaywrightDriverModule[_0xd887d7(0x1c6)],_0x4ffc7c);}catch(_0x893708){this[_0xd887d7(0xfe)]['error'](_0xd887d7(0x1a9)+util['format'](_0x893708));}}async[a84_0x17b368(0x16b)](_0x22b0c3){const _0x2e6243=a84_0x17b368,_0xa0e391={};_0xa0e391[_0x2e6243(0x112)]=function(_0x4ddc88,_0x20f371){return _0x4ddc88||_0x20f371;};const _0x18e7db=_0xa0e391;try{const _0x591873=_0x22b0c3?.[_0x2e6243(0x1aa)]&&_0x22b0c3?.['message']?.[_0x2e6243(0x156)]&&_0x22b0c3?.['message']?.[_0x2e6243(0x156)]?.['bsParams'],_0x4389ef=_0x22b0c3?.[_0x2e6243(0x1aa)]&&_0x22b0c3?.[_0x2e6243(0x1aa)]?.[_0x2e6243(0x124)];if(_0x18e7db[_0x2e6243(0x112)](_0x591873,_0x4389ef)){this['logger'][_0x2e6243(0x182)]('onDispatchExecute:\x20Playwright\x20driver\x20is\x20executing\x20tests\x20'+util['inspect'](_0x591873)+_0x2e6243(0x196)+util[_0x2e6243(0x14e)](_0x4389ef));const _0x4620a9=_0x22b0c3?.[_0x2e6243(0x15c)],_0x21443d=global?.[_0x2e6243(0x165)]?.[_0x2e6243(0x129)]?.[_0x2e6243(0x1a1)],_0x4226a3=_0x591873?.[_0x2e6243(0x185)]||_0x4389ef?.[_0x2e6243(0x185)],_0x22d04b=_0x591873?.[_0x2e6243(0x168)]||_0x4389ef?.[_0x2e6243(0x168)];_0x4226a3&&(this['logger'][_0x2e6243(0x182)](_0x2e6243(0x143)+_0x4226a3),AutomationFramework[_0x2e6243(0x155)](_0x4620a9,PlaywrightDriverModule[_0x2e6243(0x16d)],_0x4226a3)),_0x21443d&&(this[_0x2e6243(0xfe)][_0x2e6243(0x182)](_0x2e6243(0x166)+util[_0x2e6243(0x14e)](_0x21443d)),AutomationFramework[_0x2e6243(0x155)](_0x4620a9,PlaywrightDriverModule[_0x2e6243(0x181)],_0x21443d));}}catch(_0x23d3b2){this[_0x2e6243(0xfe)][_0x2e6243(0x1ab)]('Error\x20in\x20onDispatchExecute:\x20'+util[_0x2e6243(0x113)](_0x23d3b2));}}async['onAfterDriverCreate'](_0x202eea){const _0x2cf734=a84_0x17b368,_0x12d9e9={'fLWug':_0x2cf734(0x1c7),'GKEgY':function(_0x5aa4d0,_0x13aaba){return _0x5aa4d0(_0x13aaba);},'ayLtL':_0x2cf734(0x108),'GugOi':_0x2cf734(0x136),'vqxoG':_0x2cf734(0x19b),'XBpMi':'onAfterDriverCreate:\x20Setting\x20browser\x20object','NHwdA':_0x2cf734(0x149),'UQgmj':function(_0x30a8d9,_0x5d51a2){return _0x30a8d9===_0x5d51a2;}};try{this['logger'][_0x2cf734(0x182)](_0x12d9e9[_0x2cf734(0x169)]);const _0x370933=_0x202eea['instance'];this[_0x2cf734(0x13d)]=_0x12d9e9[_0x2cf734(0x133)](getFrameworkVersion,FRAMEWORKS[_0x2cf734(0x164)]);if(_0x202eea[_0x2cf734(0x121)]){this[_0x2cf734(0xfe)][_0x2cf734(0x182)](_0x12d9e9[_0x2cf734(0xfc)]),AutomationFramework[_0x2cf734(0x155)](_0x370933,PlaywrightDriverModule[_0x2cf734(0x16a)],_0x202eea[_0x2cf734(0x121)]);if(_0x202eea[_0x2cf734(0x198)]){this[_0x2cf734(0xfe)][_0x2cf734(0x182)](_0x12d9e9['GugOi']);const _0x280d84=this[_0x2cf734(0x1bb)](_0x202eea);AutomationFramework['setState'](_0x370933,PlaywrightDriverModule[_0x2cf734(0x105)],_0x280d84),await this[_0x2cf734(0x14d)](_0x202eea[_0x2cf734(0x198)]);}}_0x202eea[_0x2cf734(0x1a5)]&&(this['logger'][_0x2cf734(0x182)](_0x12d9e9[_0x2cf734(0x1b9)]),AutomationFramework[_0x2cf734(0x155)](_0x370933,PlaywrightDriverModule['KEY_CONTEXT_OBJECT'],_0x202eea[_0x2cf734(0x1a5)]));if(_0x202eea['browser']){this['logger'][_0x2cf734(0x182)](_0x12d9e9[_0x2cf734(0x175)]);const _0x3146e6=global?.[_0x2cf734(0x165)]?.[_0x2cf734(0x129)]?.['parallelIndex'];AutomationFramework[_0x2cf734(0x155)](_0x370933,PlaywrightDriverModule[_0x2cf734(0x15b)],_0x202eea[_0x2cf734(0x14a)]),AutomationFramework[_0x2cf734(0x155)](_0x370933,PlaywrightDriverModule[_0x2cf734(0x181)],_0x3146e6);const _0x1c1a64={};_0x1c1a64['isPlaywright']=!![];const _0xd77266=Buffer[_0x2cf734(0x18c)](JSON[_0x2cf734(0x134)](_0x1c1a64)[_0x2cf734(0x199)](_0x12d9e9[_0x2cf734(0x145)])),_0x1fc53f=await GrpcClient['getInstance']()[_0x2cf734(0x15a)]({'platformIndex':_0x3146e6,'ref':_0x370933[_0x2cf734(0x10a)](),'userInputParams':_0xd77266});(helper[_0x2cf734(0x1c8)](helper['isBrowserstackInfra']())||helper[_0x2cf734(0x1c3)](helper[_0x2cf734(0x131)]()&&BrowserstackCLI[_0x2cf734(0x148)]()['getConfig']()['platforms']&&_0x12d9e9[_0x2cf734(0x109)](BrowserstackCLI[_0x2cf734(0x148)]()[_0x2cf734(0x13c)]()[_0x2cf734(0x114)]['length'],0x0)))&&AutomationFramework['setState'](_0x370933,PlaywrightDriverModule[_0x2cf734(0x180)],PlaywrightSessionDetails[_0x2cf734(0x194)]());}}catch(_0x101000){this[_0x2cf734(0xfe)][_0x2cf734(0x1ab)](_0x2cf734(0x12d)+util['format'](_0x101000));}}async[a84_0x17b368(0x173)](_0x269e2f){const _0x5ec008=a84_0x17b368,_0x1fa101={'uUcqN':_0x5ec008(0x11e),'XZMVF':_0x5ec008(0x11b),'aDIJp':function(_0x31cfbc,_0x17e97c){return _0x31cfbc(_0x17e97c);},'KzuwT':function(_0x4f68c5,_0xfb9527){return _0x4f68c5(_0xfb9527);},'odZaR':function(_0x5dd6cf,_0x430546,_0x4d1645){return _0x5dd6cf(_0x430546,_0x4d1645);},'WHiJB':_0x5ec008(0x18e),'MIHmQ':_0x5ec008(0x1aa),'KJjux':function(_0x27763b,_0x426a21,_0xd4affe){return _0x27763b(_0x426a21,_0xd4affe);},'ULAgq':'error','jKxuq':'errors','LUytM':function(_0x1a40f9,_0x262390){return _0x1a40f9>_0x262390;},'SrUzm':function(_0x4298d6,_0x545fff){return _0x4298d6||_0x545fff;},'wqDNK':function(_0x40b8d1,_0x359de6){return _0x40b8d1===_0x359de6;},'ecIoE':function(_0x4ec939,_0x2e80a1){return _0x4ec939+_0x2e80a1;},'evQnG':_0x5ec008(0x18d),'VaieU':'testData\x20from\x20onAfterTest:\x20','NRTkU':_0x5ec008(0x122),'QraSo':'1.51.0','PqeHb':function(_0x32a966){return _0x32a966();},'YHXwX':function(_0x50b607,_0x5bb419){return _0x50b607>_0x5bb419;},'mTBSu':_0x5ec008(0x149),'VJXUI':_0x5ec008(0x17e)};this['logger'][_0x5ec008(0x182)](_0x1fa101[_0x5ec008(0x192)]);const _0x3ae0ab=_0x269e2f[_0x5ec008(0x15c)];if(!_0x3ae0ab){this['logger'][_0x5ec008(0x182)](_0x1fa101[_0x5ec008(0x116)]);return;}const _0x32482d=_0x269e2f['testInfo'],_0x2679e3=this['getTestId'](_0x269e2f),_0x3f2b25=_0x32482d[_0x5ec008(0x14f)];let _0x48d324;const _0x4211b3=_0x1fa101[_0x5ec008(0x1bf)](getPlaywrightStatus,_0x3f2b25);let _0x5bdabd,_0x61003b=null;if(_0x32482d[_0x5ec008(0x17a)]||_0x32482d[_0x5ec008(0x117)])_0x5bdabd=_0x1fa101[_0x5ec008(0x1a7)](getCucumberSessionName,_0x32482d),_0x48d324=_0x1fa101[_0x5ec008(0x139)](nestedKeyValue,_0x32482d,[_0x1fa101[_0x5ec008(0x179)],_0x1fa101[_0x5ec008(0xff)]]);else{_0x5bdabd=_0x1fa101[_0x5ec008(0x1a7)](getPlaywrightSessionName,_0x32482d),_0x48d324=_0x1fa101[_0x5ec008(0x158)](nestedKeyValue,_0x32482d,[_0x1fa101[_0x5ec008(0x1b7)],_0x1fa101[_0x5ec008(0xff)]]);const _0x4fee2f=_0x1fa101['odZaR'](nestedKeyValue,_0x32482d,[_0x1fa101['jKxuq']]);_0x4fee2f&&_0x1fa101[_0x5ec008(0x19c)](_0x4fee2f[_0x5ec008(0x1a8)],0x0)&&(_0x61003b=_0x4fee2f[0x0]['message']),_0x48d324=_0x1fa101[_0x5ec008(0x1af)](_0x48d324,_0x61003b),this[_0x5ec008(0xfe)][_0x5ec008(0x182)]('Automation\x20onAfterTest:\x20Test\x20status:\x20'+_0x4211b3+'\x20failure\x20reason:\x20'+_0x48d324);}const _0xb75018=_0x1fa101['SrUzm'](_0x48d324,_0x61003b);this[_0x5ec008(0xfe)][_0x5ec008(0x182)](_0x5ec008(0x154)+_0x4211b3);let _0x279a6c,_0x37a4cc;if(this[_0x5ec008(0x146)]&&_0x1fa101[_0x5ec008(0x193)](this[_0x5ec008(0x146)]['name'],FRAMEWORKS[_0x5ec008(0x14c)]))_0x279a6c=_0x2679e3,_0x37a4cc=TestInfo[_0x5ec008(0x19a)](_0x279a6c);else this[_0x5ec008(0x146)]&&_0x1fa101[_0x5ec008(0x193)](this[_0x5ec008(0x146)][_0x5ec008(0x10f)],FRAMEWORKS[_0x5ec008(0x142)])?(_0x279a6c=this[_0x5ec008(0x19d)][_0x5ec008(0x119)](_0x32482d),this['logger'][_0x5ec008(0x182)](_0x5ec008(0x127)+_0x279a6c)):(_0x279a6c=TestInfo[_0x5ec008(0x1a6)](_0x32482d,_0x32482d[_0x5ec008(0x12f)]),_0x37a4cc=TestInfo[_0x5ec008(0x19a)](_0x279a6c));const _0x1e2022=TestInfo[_0x5ec008(0x1ca)](_0x279a6c);this['logger']['info'](_0x1fa101[_0x5ec008(0x141)](_0x1fa101[_0x5ec008(0x1c5)],_0x2679e3)),this[_0x5ec008(0xfe)][_0x5ec008(0x186)](_0x1fa101['ecIoE'](_0x1fa101[_0x5ec008(0x1ac)],util[_0x5ec008(0x14e)](_0x1e2022)));const _0x1e9760=AutomationFramework[_0x5ec008(0x174)](_0x3ae0ab,PlaywrightDriverModule[_0x5ec008(0x181)]),_0x37daca=_0x1e2022?.[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]||this[_0x5ec008(0x146)]&&this[_0x5ec008(0x146)][_0x5ec008(0x10f)],_0x5c022b=_0x1e2022?.[TestFrameworkConstants[_0x5ec008(0x18b)]]||this[_0x5ec008(0x146)]&&this[_0x5ec008(0x146)][_0x5ec008(0x103)],_0x391301=TestFrameworkState[_0x5ec008(0x162)][_0x5ec008(0x199)]()['split']('.')[0x1],_0x2e1cfd=HookState['POST']['toString']()[_0x5ec008(0x1c0)]('.')[0x1],_0x2d3b36=_0x3ae0ab['getContext'](),_0x1aadc8=AutomationFramework[_0x5ec008(0x174)](_0x3ae0ab,PlaywrightDriverModule[_0x5ec008(0x1c6)],''),_0x810466={'provider':_0x1fa101[_0x5ec008(0x1a7)](getPlaywrightProvider,_0x1aadc8),'frameworkName':_0x1fa101['NRTkU'],'frameworkVersion':_0x1fa101[_0x5ec008(0x191)],'frameworkSessionId':LoadTestModule[_0x5ec008(0x1be)]()?LoadTestModule[_0x5ec008(0x110)]():AutomationFramework[_0x5ec008(0x174)](_0x3ae0ab,PlaywrightDriverModule['KEY_SESSION_ID'],''),'ref':_0x3ae0ab[_0x5ec008(0x10a)](),'hubUrl':_0x1aadc8,'product':_0x1fa101[_0x5ec008(0x1b6)](getProductForSession)};let _0x40a418=AutomationFramework[_0x5ec008(0x174)](_0x3ae0ab,PlaywrightDriverModule['KEY_CAPABILITIES'],{});_0x40a418&&_0x1fa101[_0x5ec008(0x187)](Object['keys'](_0x40a418)[_0x5ec008(0x1a8)],0x0)?_0x40a418=Buffer[_0x5ec008(0x18c)](JSON['stringify'](_0x40a418))[_0x5ec008(0x199)](_0x1fa101[_0x5ec008(0x132)]):_0x40a418=Buffer[_0x5ec008(0x18c)](JSON[_0x5ec008(0x134)]({}))[_0x5ec008(0x199)](_0x1fa101[_0x5ec008(0x132)]);const _0x52d895={'hash':_0x2d3b36[_0x5ec008(0x19e)](),'threadId':_0x2d3b36[_0x5ec008(0x19f)]()[_0x5ec008(0x199)](),'processId':_0x2d3b36[_0x5ec008(0x144)]()[_0x5ec008(0x199)]()},_0x55f7a0={};_0x55f7a0['test_identifier']=_0x279a6c;const _0x82be8c={};_0x82be8c[_0x5ec008(0x167)]=_0x37a4cc;const _0x52594c={'platformIndex':_0x1e9760,'testFrameworkName':_0x37daca,'testFrameworkVersion':_0x5c022b,'testFrameworkState':_0x391301,'testHookState':_0x2e1cfd,...this[_0x5ec008(0x146)]&&_0x1fa101[_0x5ec008(0x193)](this[_0x5ec008(0x146)][_0x5ec008(0x10f)],FRAMEWORKS[_0x5ec008(0x142)])?_0x55f7a0:_0x82be8c,'automationSession':_0x810466,'capabilities':_0x40a418,'executionContext':_0x52d895};this[_0x5ec008(0xfe)][_0x5ec008(0x182)](_0x5ec008(0x184)+util[_0x5ec008(0x113)](_0x52594c)),GrpcClient[_0x5ec008(0x148)]()[_0x5ec008(0x1b0)](_0x52594c),this[_0x5ec008(0xfe)][_0x5ec008(0x182)](_0x5ec008(0x171)+_0x2679e3+(this[_0x5ec008(0x146)]&&_0x1fa101['wqDNK'](this[_0x5ec008(0x146)][_0x5ec008(0x10f)],FRAMEWORKS['JEST'])?_0x5ec008(0x1b8)+_0x279a6c:''));if(!_0x4211b3){this[_0x5ec008(0xfe)]['debug'](_0x1fa101['VJXUI'],_0x3f2b25[_0x5ec008(0x14f)]);return;}this[_0x5ec008(0xfe)][_0x5ec008(0x182)](_0x5ec008(0x11c)+_0x2679e3),_0x32482d&&(this[_0x5ec008(0xfe)]['debug']('Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20to:\x20'+_0x5bdabd),await this[_0x5ec008(0x14d)](_0x32482d)),await this[_0x5ec008(0x151)](_0x3ae0ab,_0x5bdabd,_0x4211b3,_0xb75018);}async[a84_0x17b368(0x151)](_0x187fe7,_0x4f1649,_0x5b3d9b,_0x2508b1){const _0x1ceadc=a84_0x17b368,_0x144883={'DZURU':_0x1ceadc(0xfd),'QUGXZ':'markSessionStatus:\x20Automation\x20instance\x20is\x20not\x20available','LKTlF':'markSessionStatus:\x20Page\x20object\x20is\x20not\x20available','suRTF':_0x1ceadc(0x17e),'YZrAv':_0x1ceadc(0x161),'eveFn':_0x1ceadc(0x10c),'oStey':'Session','bEGQh':function(_0x4be1e8,_0x4345cf){return _0x4be1e8===_0x4345cf;},'kFawN':_0x1ceadc(0x1b1),'GRnin':_0x1ceadc(0x186),'PAdrP':'error','lxchq':function(_0x1adf5f,_0x221dd7,_0x30cf55,_0x50310a){return _0x1adf5f(_0x221dd7,_0x30cf55,_0x50310a);},'wJWQn':_0x1ceadc(0x17b),'rHsYM':function(_0x39c2d5,_0x2cc0c4,_0x4e30e4){return _0x39c2d5(_0x2cc0c4,_0x4e30e4);}};if(CLIUtils[_0x1ceadc(0x16e)](BrowserstackCLI[_0x1ceadc(0x148)]()[_0x1ceadc(0x13c)]())){this['logger'][_0x1ceadc(0x182)](_0x144883[_0x1ceadc(0x102)]);return;}const _0x4c4879=_0x187fe7;if(!_0x4c4879){this[_0x1ceadc(0xfe)][_0x1ceadc(0x182)](_0x144883[_0x1ceadc(0x11d)]);return;}const _0x51bf28=AutomationFramework[_0x1ceadc(0x174)](_0x4c4879,PlaywrightDriverModule[_0x1ceadc(0x16a)]);if(!_0x51bf28){this[_0x1ceadc(0xfe)][_0x1ceadc(0x182)](_0x144883[_0x1ceadc(0x12b)]);return;}const _0x5a4655=_0x5b3d9b;if(!_0x5a4655){this[_0x1ceadc(0xfe)][_0x1ceadc(0x182)](_0x144883[_0x1ceadc(0x1cb)],_0x5a4655);return;}const _0x408352={};_0x408352['status']=_0x5a4655;const _0xfbdae1={};_0xfbdae1[_0x1ceadc(0x183)]=_0x144883[_0x1ceadc(0x1a2)],_0xfbdae1[_0x1ceadc(0x178)]=_0x408352;const _0xa86327=_0xfbdae1;_0x2508b1&&(_0xa86327[_0x1ceadc(0x178)][_0x144883[_0x1ceadc(0x157)]]=_0x2508b1);const _0x34e437=(_0x4f1649?_0x4f1649:_0x144883[_0x1ceadc(0x12e)])+'\x20'+_0x5a4655+'\x20'+(_0x2508b1?_0x1ceadc(0x15f)+_0x2508b1:''),_0x3e089b=_0x144883[_0x1ceadc(0x10e)](_0x5a4655,_0x144883['kFawN'])?_0x144883[_0x1ceadc(0x125)]:_0x144883[_0x1ceadc(0x1c9)];await _0x144883[_0x1ceadc(0x15d)](playwrightAnnotate,_0x51bf28,_0x34e437,_0x3e089b),_0x2508b1&&(_0xa86327[_0x1ceadc(0x178)][_0x144883[_0x1ceadc(0x157)]]=_0x2508b1),PerformanceTester['start'](PerformanceEvents['SESSION_STATUS']),this[_0x1ceadc(0xfe)][_0x1ceadc(0x182)](_0x144883[_0x1ceadc(0x18a)]),await _0x144883['rHsYM'](playwrightBstackJsExecutor,_0x51bf28,_0xa86327),PerformanceTester[_0x1ceadc(0x150)](PerformanceEvents[_0x1ceadc(0x107)]);}async[a84_0x17b368(0x14d)](_0x239e8c){const _0x594e41=a84_0x17b368,_0x17052d={'xyJGo':_0x594e41(0x11f),'ZSwma':function(_0x2bd8d2,_0x3611cf){return _0x2bd8d2(_0x3611cf);},'BnefC':'setSessionName','GIgLA':function(_0x21dd0c,_0x16cbf7,_0x5a8232){return _0x21dd0c(_0x16cbf7,_0x5a8232);}};try{if(CLIUtils[_0x594e41(0x135)](BrowserstackCLI[_0x594e41(0x148)]()[_0x594e41(0x13c)]())){this[_0x594e41(0xfe)][_0x594e41(0x182)](_0x17052d[_0x594e41(0x115)]);return;}const _0x316e50=AutomationFramework[_0x594e41(0x174)](AutomationFramework[_0x594e41(0x1c2)](),PlaywrightDriverModule[_0x594e41(0x16a)]);let _0x27a776;_0x239e8c[_0x594e41(0x17a)]||_0x239e8c[_0x594e41(0x117)]?_0x27a776=_0x17052d[_0x594e41(0x16c)](getCucumberSessionName,_0x239e8c):_0x27a776=_0x17052d[_0x594e41(0x16c)](getPlaywrightSessionName,_0x239e8c);const _0x176a64={};_0x176a64[_0x594e41(0x10f)]=_0x27a776;const _0x120192={};_0x120192[_0x594e41(0x183)]=_0x17052d[_0x594e41(0x188)],_0x120192[_0x594e41(0x178)]=_0x176a64;const _0x402159=_0x120192;PerformanceTester[_0x594e41(0x1c4)](PerformanceEvents[_0x594e41(0x1ba)]),await _0x17052d['GIgLA'](playwrightBstackJsExecutor,_0x316e50,_0x402159),PerformanceTester[_0x594e41(0x150)](PerformanceEvents['SESSION_NAME']);}catch(_0x3fa3eb){PerformanceTester[_0x594e41(0x150)](PerformanceEvents['SESSION_NAME'],![],util[_0x594e41(0x113)](_0x3fa3eb)),this[_0x594e41(0xfe)][_0x594e41(0x1ab)](_0x594e41(0x104)+util['format'](_0x3fa3eb));}}}PlaywrightDriverModule[a84_0x17b368(0x1b3)]=a84_0x17b368(0x1a0),module['exports']=PlaywrightDriverModule;