browserstack-node-sdk 1.49.0 → 1.49.2

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
- const a80_0x525b2c=a80_0xa588;function a80_0x5b87(){const _0xc68b61=['titlePath','loadDriverExecuteParams','uBVsL','CQkdW','../grpcClient','vywhI','Error\x20in\x20onAfterTest\x20accessibility\x20module:\x20','getAccessibility','ZMtRp','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','info','getScriptsList','onBeforeTest:\x20Skipping\x20accessibility\x20check\x20-\x20not\x20a\x20supported\x20test\x20framework','accessibilityToken','sLTDR','eATSS','getParamsForScanForCli','getCapabilityValue','onBeforeExecute:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','testInfo','getPlatformIndex','toISOString','XpKMq','Error\x20in\x20validatePlatformForAccessibility:\x20','JuBOQ','DhejA','ZRBUY','onBeforeExecute:\x20command=','FOBtW','loadAccessibilityConfig','instance','getTestId','stopTestCapture:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','performScan','mmwGm','capabilitiesList','isPlatformSupported','jrzRE','Skipping\x20saving\x20results\x20from\x20cli,\x20saveResults\x20script\x20is\x20missing','setLogDisabledShown','ffSrM','getScriptByName','set','vezlG','getLogDisabledShown','CFNwQ','BpGXx','tNMRz','TQgEo','Accessibility\x20extension\x20data\x20for\x20current\x20test\x20from\x20cli\x20','No\x20summaryResults\x20found.','isPlatformSupported:\x20Not\x20an\x20accessibility\x20automation\x20session','KVVbF','./baseModule','[AccessibilityModule]\x20onBeforeExecute:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','NfLMn','wcagVersion','74406aIgJMq','finishScanningForCli','getCurrentInstanceName','qPRZn','getAccessibilityResultsSummary','njAVb','util','WAaqA','Uhpeo','[CLI]\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','uoijy','true','chrome','IrhFl','wHgzh','onBeforeExecute','BROWSERSTACK_CLI_BIN_SESSION_ID','Applied\x20sendMessageToServer\x20patch\x20for\x20accessibility\x20command\x20interception','browserVersion','scannerProcessingTimeout','MTiQD','executeScriptByName','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20results.','IaoRS','JuEAr','../../../helpers/performance/constants.js','../../utils/playwright-patcher','setAccessibilityToken','stack','ujzIk','gycMd','PnpRC','SDK_ACCESSIBILITY_CONFIG','getScript','../../../helpers/helper',']\x20isEnabledTestcase\x20(jest)\x20result=','getModuleName','getInstance','shouldScanForCommand:\x20','hmrlT','rTQjm','SrzTb','gabtb','_centralAuthA11yConfig','cyiAF',']\x20Failed\x20to\x20initialize\x20accessibility\x20configuration','mjNsi','ueRUO','scan','commandsToWrap','browserstack.accessibilityOptions.authToken','sQQJw','nvOpw','getState','replace','GcIgP','jCVhx','bind','validatePlatformForAccessibility','getTestFrameworkDetail','\x20value=','Performing\x20scan\x20before\x20from\x20cli','onBeforeTest:\x20Page\x20object\x20available,\x20proceeding\x20with\x20accessibility\x20validation','AIxSD','pHPIz','BROWSERSTACK_TESTHUB_JWT','Error\x20in\x20onBeforeExecute\x20accessibility\x20module:\x20','env','updateData','lVDan','stopTestCapture','name','Exception\x20in\x20isPlatformSupported:\x20','exports','[platform\x20-\x20','getData','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','debug','__accessibilityOptions','mergeObject','OSjfm','start','browserStackEvaluate','getTrackedInstance','KyIAF','BVEIa',']\x20Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error:\x20','MergedScanArgs:\x20','getName','../../../helpers/accessibility-automation/constants','command','../../playwright/accessibility-helper','page','CREATE','20032080dpwPzP','NimUN','xkEAo','currentTest','patchSendMessageToServer\x20function\x20not\x20available\x20from\x20playwright-patcher','[AccessibilityModule]\x20stopTestCapture:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','delete','patchSendMessageToServer',',\x20isAppAccessibility=','../state/hookState','setAccessibilityConfig','eeigI','evaluate','onBeforeExecute:\x20Accessibility\x20scan\x20completed\x20for\x20command:\x20','TrackedInstance','testFramework','YsEwU','RTdFV','\x20is\x20not\x20in\x20the\x20list\x20of\x20commands\x20to\x20be\x20scanned','1196LTbVLK','JmJHt','registerObserver','CDzxR','capabilities','browserName','haNVf','getResultsSummary','\x20testHubUuid=','UTTXw','ppmEN','thTestRunUuid','TEOQJ','shouldScanCurrentTest','QQNuK','latest','onBeforeExecute:\x20Accessibility\x20not\x20enabled\x20for\x20current\x20test,\x20skipping\x20scan\x20for\x20','getCommandsList','performPageScan:\x20Script\x20is\x20null','CqBVg','assign','qdaMJ','ACCESSIBILITY_INITIALIZED','isAppAccessibility',']\x20Accessibility\x20configuration\x20initialized\x20successfully','opBXm','getGoogleChromeOptions','toLowerCase','test_run_id','_sendMessageServerPatchApplied','EKbfv','hyYQd','Processed\x20accessibility\x20caps\x20','null','Page\x20','PtwPY','DRIVER_HAS_URL','[AccessibilityModule]\x20onAfterTest:\x20framework=','ZvwwG','\x22browserstack.user\x22:\x22[REDACTED]\x22','ocYLU',']\x20should\x20run\x20accessibility\x20value=','Error\x20in\x20processAccessibilityCaps:\x20','error','DRIVER_INIT','../cliUtils','322IBcYXD','yIMuj','PRE','wDvlz','KEY_INIT','oiSpj','onBeforeTest:\x20Page\x20is\x20null,\x20accessibility\x20cannot\x20be\x20initialized','POST','split','IUmOe','__workerDetails','NVsSz','Executing\x20accessibility\x20script\x20on\x20page','browser','Error\x20executing\x20script\x20','voUEo','Error\x20in\x20initAccessibilityConfig:\x20','getTesthub','fWoHc','measureWrapper','[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20summaryArgs=','XQzEq','QDElL','\x20accessibility\x20script\x20on\x20page','onBeforeTest:\x20event=','CzvNX','afterTestHook','RDheS','TRqYz','join','HZFaP','WFBsZ','HJqGa','sbmzt','launchCaps','../../../helpers/accessibility-automation/helper','urzCH','dwNkq','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100\x20on\x20non-bstack\x20infra.','vYucT',',\x20available\x20commands:\x20','Executing\x20','name:\x20','itslR','../state/automationFrameworkState','excludeTagsInTestingScope','goog:chromeOptions','includes','Context','wbVBS','NIUlJ','length','5966eYrXry','../../../helpers/classLogger','Mgpkn','LOG_DISABLED_SHOWN','KEY_TEST_NAME','lVJij','unknown','onAfterTest','a11y:save-results','../../../helpers/performance/performance-tester.js','isPlatformSupported:\x20caps\x20are\x20null','trim','Error\x20in\x20performScanForCli\x20for\x20script\x20','Unable\x20to\x20mark\x20test\x20finish\x20for\x20accessibility\x20from\x20cli\x20-\x20','Error\x20getting\x20script\x20by\x20name\x20','sendMessageToServer\x20accessibility\x20patch\x20already\x20applied','browserstack.accessibilityOptions.scannerVersion','PERFORM_SCAN','onBeforeExecute:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20scan','accessibilityConfig','IwzRm','options','__jestCurrentTestIdentifier','getOptions','gxFnN','getBuildId','getAccessibilityResultsSummary:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20cannot\x20retrieve\x20summary.',',\x20includeTags=','1032158oqTAAp','warn','TzgkX','getValue',']\x20clear\x20','PEaVS','GET_RESULTS_SUMMARY','Error\x20parsing\x20accessibility\x20execute\x20params:\x20','QUIT','orGhq','size','getCapabilitiesList','fwOpg','getTestDetails','jest','JphoI','vYWDd','[AccessibilityModule]\x20onBeforeTest:\x20platformSupported=','platformValidation','browserstack.accessibilityOptions.scannerProcessingTimeout','../framework/testFramework','fetchCentralAuthA11yConfig:\x20No\x20bin\x20session\x20ID\x20available','PoWIa',',\x20excludeTags=','HzsYS','getContext','6|9|7|14|2|13|0|12|1|5|4|8|15|10|3|11','onBeforeTest','iLapt','qpvOn','getResults','lmvXU','performScanForCli','9515scChbA','find','tdbFf','DBRZg','VCOqu','shouldScanForCommand','getTestUUID','LgdhV','GxzlP','TSega','LYDzj','Scan\x20result:\x20','browserstack.accessibilityOptions.wcagVersion','isAccessibilityScriptCommand','oZTtU','KZlYg','Error\x20in\x20shouldScanForCommand:\x20','some','saveTestResults','Error\x20in\x20getAccessibilityResults:\x20','oxUBV','sLtmb','get','../framework/automationFramework','YgaXN','format','getAccessibilityResultsSummary:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20',',\x20tags=','RgjKY','map','includeTagsInTestingScope','commandName','NSZqi','HIoxu','_centralAuthConfigFetched','KIznn','sgUqW','AjEVl','getCurrentAccessibilityStatus','BHMoQ','isArray','yusBz','fWbah','browserstack_executor','pueLd',',\x20\x0a\x20','playwright-chromium','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20summary.','GRevn','HfHqk','10276839ZNcVDJ','lLvhk','FdAvG','fetchDriverExecuteParamsEvent','setShouldScan','getSuccess','executeScriptByName:\x20No\x20','performPageScan','\x20from\x20testIdentifier=','mMFZx','TEST_INIT','value','parse','hmhqX','onBeforeExecute:\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','ACZLC','string','fgZLx','isEnabledTestcase','parseFromProto','BmeiM','FYVZh','message','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','cucumber','test_tags','caOGK','KEY_DRIVER_HAS_URL','onBeforeExecute:\x20Command\x20','getAccessibilityResults','kUJbs','AyHYm','testhub_build_uuid','yTtKs','processAccessibilityCaps','headless','tQUjG','Running\x20Save\x20results\x20for\x20Accessibility\x20testing','2519488YUbOLC','onBeforeTest:\x20Driver\x20not\x20initialized,\x20setting\x20DRIVER_INIT=true','KEY_TESTHUB_BUILD_ID','end','isEnabled','accessibilityPlatform','Error\x20in\x20getAccessibilityResultsSummary:\x20','pwPage','EXECUTE','function','MODULE_NAME','cnfCt','GeyEH','has','performScanForCli:\x20No\x20','testFrameworkData','ByFgS','\x20using\x20script:\x20','saveResults','stringify','rGypT','accessibility','HZVZd','FNKQw','onAfterTest:\x20Skipping\x20accessibility\x20cleanup\x20-\x20not\x20a\x20supported\x20test\x20framework','mUdaV','cDNFG','fnHHg','stopTestCapture:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20result\x20save','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended\x20from\x20cli.','[AccessibilityModule]\x20onBeforeTest:\x20Jest\x20-\x20testIdentifier=','CpauO','testAnalyticsId','scannerVersion','1413vPTkXZ','applySendMessageToServerPatch','getCommandsToWrap'];a80_0x5b87=function(){return _0xc68b61;};return a80_0x5b87();}(function(_0x7e9250,_0x2ce54b){const _0x3dfb77=a80_0xa588,_0x35819a=_0x7e9250();while(!![]){try{const _0x3815df=-parseInt(_0x3dfb77(0x15e))/0x1+-parseInt(_0x3dfb77(0x308))/0x2*(-parseInt(_0x3dfb77(0x1f9))/0x3)+-parseInt(_0x3dfb77(0x2a6))/0x4*(-parseInt(_0x3dfb77(0x17f))/0x5)+parseInt(_0x3dfb77(0x235))/0x6*(parseInt(_0x3dfb77(0x2d4))/0x7)+parseInt(_0x3dfb77(0x1d7))/0x8+parseInt(_0x3dfb77(0x1b1))/0x9+-parseInt(_0x3dfb77(0x293))/0xa;if(_0x3815df===_0x2ce54b)break;else _0x35819a['push'](_0x35819a['shift']());}catch(_0x27fbfa){_0x35819a['push'](_0x35819a['shift']());}}}(a80_0x5b87,0xebcf5));const BaseModule=require(a80_0x525b2c(0x231)),{createClassLogger}=require(a80_0x525b2c(0x309)),CLIUtils=require('../cliUtils'),AutomationFramework=require(a80_0x525b2c(0x196)),TestFramework=require(a80_0x525b2c(0x172)),AutomationFrameworkState=require(a80_0x525b2c(0x300)),HookState=require(a80_0x525b2c(0x29c)),GrpcClient=require(a80_0x525b2c(0x200)),scripts=require('../../../helpers/accessibility-automation/scripts'),logger=createClassLogger(a80_0x525b2c(0x2a1)),PerformanceTester=require(a80_0x525b2c(0x311)),{EVENTS,A11Y_EVENTS:PerformanceA11yEvents}=require(a80_0x525b2c(0x24e)),{MINIMUM_BROWSER_VERSION_ACCESSIBILITY,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require(a80_0x525b2c(0x28e)),{nestedKeyValue,isUndefined}=require(a80_0x525b2c(0x257)),util=require(a80_0x525b2c(0x23b)),TestInfo=require('../TestInfo.js'),TestFrameworkConstants=require('../framework/constants/testFrameworkConstants.js');class AccessibilityModule extends BaseModule{static [a80_0x525b2c(0x1e1)]=AccessibilityModule[a80_0x525b2c(0x27c)];static [a80_0x525b2c(0x1a1)]=![];static ['_centralAuthA11yConfig']={};constructor(_0x264a2b){const _0x1709ce=a80_0x525b2c,_0x27fd1e={};_0x27fd1e[_0x1709ce(0x1e7)]=_0x1709ce(0x178),_0x27fd1e[_0x1709ce(0x2bb)]=_0x1709ce(0x2ca),_0x27fd1e[_0x1709ce(0x20a)]=_0x1709ce(0x2bc),_0x27fd1e[_0x1709ce(0x160)]=_0x1709ce(0x1d1),_0x27fd1e['pHPIz']='[AccessibilityModule]\x20Constructor:\x20Registered\x20observers\x20-\x20EXECUTE\x20PRE,\x20CREATE\x20POST,\x20QUIT\x20PRE';const _0x1eae4c=_0x27fd1e,_0x3ba0a3=_0x1eae4c[_0x1709ce(0x1e7)][_0x1709ce(0x2dc)]('|');let _0x462095=0x0;while(!![]){switch(_0x3ba0a3[_0x462095++]){case'0':this[_0x1709ce(0x1ec)]=new Map();continue;case'1':this['isAppAccessibility']=![];continue;case'2':this['isEnabled']=!![];continue;case'3':this[_0x1709ce(0x1cc)]=_0x1eae4c[_0x1709ce(0x2bb)];continue;case'4':this[_0x1709ce(0x2c3)]=![];continue;case'5':this[_0x1709ce(0x2aa)]=[];continue;case'6':super();continue;case'7':AutomationFramework[_0x1709ce(0x2a8)](AutomationFrameworkState[_0x1709ce(0x292)],HookState[_0x1709ce(0x2db)],this['onBeforeTest'][_0x1709ce(0x26e)](this));continue;case'8':this[_0x1709ce(0x250)](_0x264a2b[_0x1709ce(0x159)]()['getCapabilitiesList']());continue;case'9':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x1709ce(0x1df)],HookState[_0x1709ce(0x2d6)],this[_0x1709ce(0x244)][_0x1709ce(0x26e)](this));continue;case'10':this['KEY_INIT']=_0x1eae4c[_0x1709ce(0x20a)];continue;case'11':this[_0x1709ce(0x1d9)]=_0x1eae4c[_0x1709ce(0x160)];continue;case'12':this[_0x1709ce(0x30b)]=new Map();continue;case'13':this['accessibilityConfig']=_0x264a2b['toObject']();continue;case'14':AutomationFramework[_0x1709ce(0x2a8)](AutomationFrameworkState[_0x1709ce(0x166)],HookState['PRE'],this['onAfterTest']['bind'](this));continue;case'15':logger[_0x1709ce(0x282)](_0x1eae4c[_0x1709ce(0x275)]);continue;}break;}}[a80_0x525b2c(0x1db)](){const _0x8db94f=a80_0x525b2c;return this[_0x8db94f(0x1db)];}[a80_0x525b2c(0x259)](){return AccessibilityModule['MODULE_NAME'];}[a80_0x525b2c(0x1a5)](){const _0x31d41b=a80_0x525b2c;return this[_0x31d41b(0x1ec)][_0x31d41b(0x195)](CLIUtils[_0x31d41b(0x237)](),![]);}[a80_0x525b2c(0x228)](){const _0x4e745c=a80_0x525b2c;return this[_0x4e745c(0x30b)]['get'](CLIUtils[_0x4e745c(0x237)](),![]);}[a80_0x525b2c(0x223)](_0x4cb296){const _0x52e9fc=a80_0x525b2c;this[_0x52e9fc(0x30b)]['set'](CLIUtils[_0x52e9fc(0x237)](),_0x4cb296);}[a80_0x525b2c(0x1fa)](){const _0x139734=a80_0x525b2c,_0x29ee79={'fWbah':_0x139734(0x151),'FYVZh':function(_0x557d2d,_0x2b88f7){return _0x557d2d(_0x2b88f7);},'pZIls':_0x139734(0x24f),'mjNsi':_0x139734(0x246),'LgdhV':_0x139734(0x297)};if(this[_0x139734(0x2c3)]){logger[_0x139734(0x282)](_0x29ee79[_0x139734(0x1a9)]);return;}try{const _0x54e07b=_0x29ee79[_0x139734(0x1c6)](require,_0x29ee79['pZIls']);_0x54e07b&&_0x54e07b['patchSendMessageToServer']?(_0x54e07b[_0x139734(0x29a)](),this['_sendMessageServerPatchApplied']=!![],logger[_0x139734(0x282)](_0x29ee79[_0x139734(0x263)])):logger[_0x139734(0x282)](_0x29ee79[_0x139734(0x186)]);}catch(_0x42ada6){logger['debug']('Error\x20applying\x20sendMessageToServer\x20patch:\x20'+util[_0x139734(0x198)](_0x42ada6));}}[a80_0x525b2c(0x220)](_0x1d29c9=null,_0x4df004=null,_0x52b5d2=null){const _0x186d2f=a80_0x525b2c,_0x473292={'KVVbF':function(_0x2963ca,_0x31aabd){return _0x2963ca&&_0x31aabd;},'QDElL':_0x186d2f(0x312),'haNVf':function(_0x3d7fdd,_0x4be9ef){return _0x3d7fdd(_0x4be9ef);},'lqhtl':_0x186d2f(0x2f7),'HZVZd':function(_0x259735,_0x188c5d){return _0x259735(_0x188c5d);},'HJqGa':'../../../helpers/helper','PtwPY':function(_0x5bf5ad){return _0x5bf5ad();},'uBVsL':_0x186d2f(0x22f),'GxzlP':function(_0x2f9c3d,_0x2d1859){return _0x2f9c3d===_0x2d1859;},'orGhq':_0x186d2f(0x241),'yusBz':_0x186d2f(0x1ad),'TEOQJ':function(_0x2a8502,_0x411c1b){return _0x2a8502===_0x411c1b;},'ujzIk':_0x186d2f(0x1c8),'PEaVS':function(_0x4cf5e7,_0x2abdda){return _0x4cf5e7===_0x2abdda;},'VCOqu':function(_0x397ee2,_0x2feb96){return _0x397ee2===_0x2feb96;},'DhejA':_0x186d2f(0x240),'ueRUO':_0x186d2f(0x1c1),'SrzTb':'isPlatformSupported:\x20Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','KOSAa':function(_0x1ad313,_0x8d2f88){return _0x1ad313>_0x8d2f88;},'RTdFV':_0x186d2f(0x2fa),'AIxSD':function(_0x44b1fc,_0x56f7f7){return _0x44b1fc!==_0x56f7f7;},'LYDzj':_0x186d2f(0x2b5),'vYWDd':function(_0x232710,_0x28cf30){return _0x232710>_0x28cf30;},'jvsAB':function(_0x83b23e,_0x3cdebb){return _0x83b23e(_0x3cdebb);},'vezlG':function(_0x31f9b8,_0x119682){return _0x31f9b8(_0x119682);},'TjBzV':_0x186d2f(0x205)};try{if(_0x473292[_0x186d2f(0x230)](!_0x4df004,!_0x52b5d2))return logger[_0x186d2f(0x282)](_0x473292[_0x186d2f(0x2ea)]),![];const {isAccessibilityAutomationSession:_0x578f31}=_0x473292[_0x186d2f(0x2ac)](require,_0x473292['lqhtl']),{isUndefined:_0x5c17e1,isBrowserstackInfra:_0x1bed0}=_0x473292[_0x186d2f(0x1ed)](require,_0x473292[_0x186d2f(0x2f4)]);if(!_0x473292[_0x186d2f(0x2c9)](_0x578f31))return logger[_0x186d2f(0x282)](_0x473292[_0x186d2f(0x1fe)]),![];if(!(_0x4df004[_0x186d2f(0x2ab)]&&_0x473292[_0x186d2f(0x187)](_0x4df004['browserName']['toLowerCase'](),_0x473292['orGhq'])||_0x4df004[_0x186d2f(0x2ab)]&&_0x473292[_0x186d2f(0x187)](_0x4df004[_0x186d2f(0x2ab)][_0x186d2f(0x2c1)](),_0x473292[_0x186d2f(0x1a8)])||_0x4df004[_0x186d2f(0x2e1)]&&_0x473292[_0x186d2f(0x2b2)](_0x4df004['browser'][_0x186d2f(0x2c1)](),_0x473292[_0x186d2f(0x167)])||_0x4df004[_0x186d2f(0x2e1)]&&_0x473292[_0x186d2f(0x187)](_0x4df004[_0x186d2f(0x2e1)][_0x186d2f(0x2c1)](),_0x473292['yusBz'])))return logger['warn'](_0x473292[_0x186d2f(0x252)]),![];try{const _0x4a4b9b=_0x4df004[_0x186d2f(0x1d4)],_0x3cd5b1=_0x473292[_0x186d2f(0x163)](_0x4a4b9b,!![])||_0x473292[_0x186d2f(0x183)](_0x4a4b9b,_0x473292[_0x186d2f(0x215)])||_0x473292[_0x186d2f(0x163)](typeof _0x4a4b9b,_0x473292[_0x186d2f(0x264)])&&_0x473292['PEaVS'](_0x4a4b9b[_0x186d2f(0x2c1)](),_0x473292[_0x186d2f(0x215)]);if(_0x3cd5b1)return logger[_0x186d2f(0x15f)](_0x473292[_0x186d2f(0x25e)]),![];}catch(_0xbfe4e3){logger[_0x186d2f(0x282)]('Error\x20checking\x20headless\x20capability:\x20'+util[_0x186d2f(0x198)](_0xbfe4e3));}if(!_0x473292[_0x186d2f(0x2c9)](_0x1bed0)){if(!_0x473292['KOSAa'](_0x473292[_0x186d2f(0x1ed)](parseFloat,_0x4df004[_0x186d2f(0x247)]),_0x473292['haNVf'](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY)))return logger[_0x186d2f(0x15f)](_0x473292[_0x186d2f(0x2a4)]),![];}else{if(_0x473292[_0x186d2f(0x274)](_0x4df004[_0x186d2f(0x247)],_0x473292[_0x186d2f(0x189)])&&!_0x473292[_0x186d2f(0x16e)](_0x473292['jvsAB'](parseFloat,_0x4df004['browserVersion']),_0x473292[_0x186d2f(0x227)](parseFloat,MINIMUM_BROWSER_VERSION_ACCESSIBILITY)))return logger['warn'](_0x473292['TjBzV']),![];}return!![];}catch(_0x4ddb2f){return logger[_0x186d2f(0x282)](_0x186d2f(0x27d)+_0x4ddb2f['message']),![];}}[a80_0x525b2c(0x1c3)](_0x1884ae=[],_0x2382de,_0x10858a=a80_0x525b2c(0x1c9)){const _0x200e65=a80_0x525b2c,_0xeaffc4={'MTiQD':function(_0xb158ca,_0x2b08da){return _0xb158ca===_0x2b08da;},'CDzxR':_0x200e65(0x16c),'eATSS':function(_0x475e10,_0xd24b82){return _0x475e10||_0xd24b82;},'pYFiI':function(_0x55b9fa,_0x24fd78){return _0x55b9fa===_0x24fd78;},'urzCH':function(_0x597e06,_0x1529e8){return _0x597e06&&_0x1529e8;},'OSjfm':_0x200e65(0x30e),'HaHwG':function(_0x3650ed,_0x528349){return _0x3650ed(_0x528349);},'WPdbz':function(_0x22b881,_0xa27f5a){return _0x22b881>_0xa27f5a;}};try{const _0x2c0607=process[_0x200e65(0x278)][_0x200e65(0x281)]?JSON[_0x200e65(0x1bd)](process[_0x200e65(0x278)][_0x200e65(0x281)]):null;if(!_0x2c0607)return!![];const _0x4c3262=Array['isArray'](_0x2c0607[_0x200e65(0x19d)])?_0x2c0607[_0x200e65(0x19d)]:[],_0x1498ed=Array[_0x200e65(0x1a7)](_0x2c0607[_0x200e65(0x301)])?_0x2c0607[_0x200e65(0x301)]:[];if(_0xeaffc4[_0x200e65(0x249)](_0x10858a,_0xeaffc4[_0x200e65(0x2a9)])){let _0x3d817a;Array['isArray'](_0x1884ae)?_0x3d817a=_0x1884ae[_0x200e65(0x2f1)]('\x20'):_0x3d817a=_0xeaffc4[_0x200e65(0x20b)](_0x1884ae,'');const _0x1ec1f4=_0x1498ed[_0x200e65(0x190)](_0x4b1452=>_0x3d817a[_0x200e65(0x303)](_0x4b1452)),_0x5a20e3=_0xeaffc4['pYFiI'](_0x4c3262[_0x200e65(0x307)],0x0)||_0x4c3262[_0x200e65(0x190)](_0x29bbec=>_0x3d817a[_0x200e65(0x303)](_0x29bbec)),_0x1bdb47=_0xeaffc4[_0x200e65(0x2f8)](!_0x1ec1f4,_0x5a20e3);return logger[_0x200e65(0x282)](_0x200e65(0x27f)+(_0x2382de?.[_0x200e65(0x210)]?.()||_0xeaffc4[_0x200e65(0x285)])+_0x200e65(0x258)+_0x1bdb47+',\x20testName='+_0x3d817a+_0x200e65(0x15d)+JSON[_0x200e65(0x1ea)](_0x4c3262)+_0x200e65(0x175)+JSON[_0x200e65(0x1ea)](_0x1498ed)),_0x1bdb47;}const _0x15c140=Array['isArray'](_0x1884ae)?_0x1884ae:[];let _0x3b98ff=![],_0x1f1c50=_0xeaffc4['MTiQD'](_0x4c3262[_0x200e65(0x307)],0x0);const _0x480ed3=_0x34b35c=>typeof _0x34b35c===_0x200e65(0x1c1)?_0x34b35c['replace'](/^@/,'')[_0x200e65(0x2c1)]()[_0x200e65(0x313)]():_0x34b35c,_0x483a84=new Set(_0x4c3262[_0x200e65(0x19c)](_0x480ed3)),_0x21f29f=new Set(_0x1498ed['map'](_0x480ed3));for(const _0x5afb17 of _0x15c140){const _0xd11a6=_0xeaffc4['HaHwG'](_0x480ed3,_0x5afb17);_0x21f29f[_0x200e65(0x1e4)](_0xd11a6)&&(_0x3b98ff=!![]),_0xeaffc4['WPdbz'](_0x483a84[_0x200e65(0x168)],0x0)&&_0x483a84['has'](_0xd11a6)&&(_0x1f1c50=!![]);}const _0x260a30=_0xeaffc4[_0x200e65(0x2f8)](_0x1f1c50,!_0x3b98ff);return logger[_0x200e65(0x282)](_0x200e65(0x27f)+(_0x2382de?.['getPlatformIndex']?.()||_0xeaffc4[_0x200e65(0x285)])+']\x20isEnabledTestcase\x20(cucumber)\x20result='+_0x260a30+_0x200e65(0x19a)+JSON[_0x200e65(0x1ea)](_0x15c140)+_0x200e65(0x15d)+JSON[_0x200e65(0x1ea)](_0x4c3262)+',\x20excludeTags='+JSON['stringify'](_0x1498ed)),_0x260a30;}catch(_0x3db778){return logger[_0x200e65(0x282)](_0x200e65(0x27f)+(_0x2382de?.[_0x200e65(0x210)]?.()||_0xeaffc4[_0x200e65(0x285)])+_0x200e65(0x28b)+_0x3db778[_0x200e65(0x1c7)]),![];}}async[a80_0x525b2c(0x179)](_0x5e7c90){const _0x260f00=a80_0x525b2c,_0x19b6f6={};_0x19b6f6['oiSpj']=function(_0x158ed2,_0x232122){return _0x158ed2!==_0x232122;},_0x19b6f6['tNMRz']=_0x260f00(0x1c9),_0x19b6f6[_0x260f00(0x25f)]=_0x260f00(0x16c),_0x19b6f6['ZvwwG']=_0x260f00(0x208),_0x19b6f6[_0x260f00(0x182)]=_0x260f00(0x1bb),_0x19b6f6[_0x260f00(0x1be)]=_0x260f00(0x2da),_0x19b6f6[_0x260f00(0x16a)]=_0x260f00(0x273),_0x19b6f6[_0x260f00(0x26d)]=_0x260f00(0x2d2),_0x19b6f6[_0x260f00(0x242)]=function(_0x1617bc,_0x427d15){return _0x1617bc===_0x427d15;},_0x19b6f6[_0x260f00(0x27a)]=function(_0x2b8b6a,_0x23b631){return _0x2b8b6a===_0x23b631;},_0x19b6f6['CqBVg']=_0x260f00(0x1d8),_0x19b6f6[_0x260f00(0x1f0)]=function(_0x18e832,_0xf403c6){return _0x18e832===_0xf403c6;},_0x19b6f6[_0x260f00(0x2c4)]='Unknown\x20Test',_0x19b6f6[_0x260f00(0x2bf)]=function(_0x26d3c6,_0xb32dad){return _0x26d3c6>_0xb32dad;},_0x19b6f6['pbiZz']=function(_0x2ba100,_0x361912){return _0x2ba100===_0x361912;},_0x19b6f6[_0x260f00(0x2f3)]=_0x260f00(0x1e0),_0x19b6f6[_0x260f00(0x23a)]=_0x260f00(0x1ca),_0x19b6f6[_0x260f00(0x2a3)]=function(_0x47ef68,_0x1b591f){return _0x47ef68&&_0x1b591f;},_0x19b6f6[_0x260f00(0x216)]=_0x260f00(0x30e),_0x19b6f6[_0x260f00(0x17d)]=_0x260f00(0x240);const _0x133384=_0x19b6f6;if(_0x133384[_0x260f00(0x2d9)](_0x5e7c90[_0x260f00(0x2a2)],_0x133384[_0x260f00(0x22b)])&&_0x133384[_0x260f00(0x2d9)](_0x5e7c90[_0x260f00(0x2a2)],_0x133384[_0x260f00(0x25f)])){logger[_0x260f00(0x282)](_0x133384[_0x260f00(0x2cc)]);return;}logger[_0x260f00(0x206)](_0x260f00(0x2ec)+JSON['stringify'](_0x5e7c90));try{const _0x164f7b=AutomationFramework[_0x260f00(0x288)](),_0x19da91=TestFramework[_0x260f00(0x288)](),_0x9ae072=_0x5e7c90[_0x260f00(0x291)]||global['__workerDetails']?.[_0x260f00(0x1de)]||null;if(!_0x9ae072){_0x19da91&&_0x19da91[_0x260f00(0x279)](_0x133384[_0x260f00(0x182)],!![]);logger[_0x260f00(0x282)](_0x133384[_0x260f00(0x1be)]);return;}logger['debug'](_0x133384[_0x260f00(0x16a)]);const _0xeace46=_0x19da91?.[_0x260f00(0x280)](_0x133384[_0x260f00(0x26d)],![]),_0xf75308=_0x19da91?.[_0x260f00(0x280)](_0x133384[_0x260f00(0x182)],![]);if(_0x133384[_0x260f00(0x242)](_0xeace46,![])&&_0x133384[_0x260f00(0x27a)](_0xf75308,![])){_0x19da91&&_0x19da91[_0x260f00(0x279)](_0x133384[_0x260f00(0x26d)],!![]);logger[_0x260f00(0x282)](_0x133384[_0x260f00(0x2b9)]);return;}_0x19da91&&_0x19da91['updateData'](_0x133384[_0x260f00(0x182)],!![]);let _0x1c4ed5,_0x414f0f;const _0xed911c=_0x5e7c90[_0x260f00(0x2a2)]||_0x133384[_0x260f00(0x22b)];if(_0x133384[_0x260f00(0x1f0)](_0xed911c,_0x133384[_0x260f00(0x25f)])){_0x414f0f=_0x5e7c90[_0x260f00(0x20f)]?.['testAnalyticsId']||_0x5e7c90['testInfo']?.['id']||global[_0x260f00(0x158)]||global[_0x260f00(0x2de)]?.[_0x260f00(0x296)]?.[_0x260f00(0x1f7)]||global[_0x260f00(0x2de)]?.[_0x260f00(0x296)]?.['id'];const _0x11f72a=_0x19da91?.['getAllData']()?.[_0x260f00(0x195)](_0x414f0f);if(_0x11f72a&&_0x11f72a[TestFrameworkConstants[_0x260f00(0x30c)]])_0x1c4ed5=_0x11f72a[TestFrameworkConstants[_0x260f00(0x30c)]];else{if(_0x5e7c90[_0x260f00(0x20f)]?.[_0x260f00(0x1fc)])_0x1c4ed5=_0x5e7c90[_0x260f00(0x20f)]['titlePath'];else global[_0x260f00(0x2de)]?.[_0x260f00(0x296)]?.[_0x260f00(0x20f)]?.['titlePath']?_0x1c4ed5=global[_0x260f00(0x2de)][_0x260f00(0x296)]['testInfo'][_0x260f00(0x1fc)]:_0x1c4ed5=_0x133384['EKbfv'];}logger['debug'](_0x260f00(0x1f5)+_0x414f0f+',\x20testName='+JSON[_0x260f00(0x1ea)](_0x1c4ed5));}else{_0x414f0f=this['getTestId'](_0x5e7c90);const _0x5c6ac8=TestInfo[_0x260f00(0x16b)](_0x414f0f);let _0x230c55=[];if(_0x5c6ac8&&Array['isArray'](_0x5c6ac8['test_tags'])&&_0x133384[_0x260f00(0x2bf)](_0x5c6ac8[_0x260f00(0x1ca)]['length'],0x0))_0x230c55=_0x5c6ac8['test_tags'];else{if(_0x19da91){const _0x5056cc=_0x133384['pbiZz'](typeof _0x19da91['getData'],_0x133384[_0x260f00(0x2f3)])?_0x19da91[_0x260f00(0x280)](_0x133384[_0x260f00(0x23a)],[]):_0x19da91[_0x260f00(0x1ca)]||[];Array['isArray'](_0x5056cc)&&(_0x230c55=_0x5056cc);}}_0x1c4ed5=_0x230c55;}logger[_0x260f00(0x206)]('test-tags-->\x20'+JSON[_0x260f00(0x1ea)](_0x1c4ed5));const _0x3572d4=this[_0x260f00(0x220)](_0x164f7b,_0x5e7c90['platformCaps'],_0x5e7c90['launchCaps']);logger['debug'](_0x260f00(0x16f)+_0x3572d4+_0x260f00(0x29b)+this[_0x260f00(0x2bd)]);const _0x217e66=this['isEnabledTestcase'](_0x1c4ed5,_0x164f7b,_0xed911c),_0x4884ac=_0x133384[_0x260f00(0x2a3)](_0x3572d4,_0x217e66),_0x1fdd88=CLIUtils[_0x260f00(0x237)]();this['accessibility']['set'](_0x1fdd88,_0x4884ac),global[_0x260f00(0x304)]?.[_0x260f00(0x177)]&&global['Context']['getContext']()[_0x260f00(0x1b5)](_0x4884ac),logger[_0x260f00(0x282)](_0x260f00(0x27f)+(_0x164f7b?.['getPlatformIndex']?.()||_0x133384[_0x260f00(0x216)])+_0x260f00(0x2cf)+_0x4884ac),_0x4884ac?(global['accessibilityPlatform']=!![],process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x133384[_0x260f00(0x17d)],this[_0x260f00(0x1fa)]()):global['accessibilityPlatform']=![];}catch(_0x37c349){logger[_0x260f00(0x2d1)]('Error\x20in\x20onBeforeTest\x20accessibility\x20module:\x20'+(_0x37c349[_0x260f00(0x251)]||_0x37c349[_0x260f00(0x1c7)]));const _0x2475f6=CLIUtils[_0x260f00(0x237)]();this[_0x260f00(0x1ec)][_0x260f00(0x226)](_0x2475f6,![]),global['accessibilityPlatform']=![];}}[a80_0x525b2c(0x2c0)](){const _0x2acf63=a80_0x525b2c;return this[_0x2acf63(0x2aa)][_0x2acf63(0x180)](_0x4a8e96=>_0x4a8e96['getName']()===_0x2acf63(0x302))?.[_0x2acf63(0x161)]()||'';}['getCapabilityValue'](_0x51f0a1){const _0x5871d8=a80_0x525b2c;try{const _0x34d3cd=this[_0x5871d8(0x155)]?.[_0x5871d8(0x157)]?.[_0x5871d8(0x21f)]||[],_0x651fe=_0x34d3cd[_0x5871d8(0x180)](_0x3019ad=>_0x3019ad[_0x5871d8(0x27c)]===_0x51f0a1);return _0x651fe?_0x651fe[_0x5871d8(0x1bc)]:null;}catch(_0x5b373e){return logger[_0x5871d8(0x282)]('Error\x20getting\x20capability\x20value\x20for\x20'+_0x51f0a1+':\x20'+_0x5b373e[_0x5871d8(0x1c7)]),null;}}async['setAccessibilityConfig'](_0x174841,_0x297408){const _0x96c3bb=a80_0x525b2c,_0x1699ca=_0x174841['getAccessibility']()['getOptions'](),_0x18938b=_0x1699ca[_0x96c3bb(0x207)](),_0x7778c7=_0x1699ca[_0x96c3bb(0x1fb)]()?.[_0x96c3bb(0x2b7)]();scripts[_0x96c3bb(0x1c4)](_0x18938b,_0x7778c7),scripts['toJson']();const _0x527c33=_0x1699ca[_0x96c3bb(0x169)]();this['capabilities']=_0x1699ca[_0x96c3bb(0x169)](),await this[_0x96c3bb(0x250)](_0x527c33,_0x297408[_0x96c3bb(0x2f6)]);}async['setAccessibilityToken'](_0x123461,_0x1971e7={}){const _0x132862=a80_0x525b2c,_0x4d5aa9={};_0x4d5aa9[_0x132862(0x2e3)]=function(_0x1e93f4,_0x187bf7){return _0x1e93f4===_0x187bf7;},_0x4d5aa9[_0x132862(0x2ed)]=_0x132862(0x209),_0x4d5aa9[_0x132862(0x2b0)]=_0x132862(0x267),_0x4d5aa9[_0x132862(0x1d2)]=function(_0x1cb809,_0x54d9de){return _0x1cb809===_0x54d9de;},_0x4d5aa9[_0x132862(0x2f9)]=_0x132862(0x234),_0x4d5aa9[_0x132862(0x19f)]=_0x132862(0x18b),_0x4d5aa9['NfLMn']=function(_0x5660ab,_0xb41eed){return _0x5660ab===_0xb41eed;},_0x4d5aa9['TRqYz']=_0x132862(0x1f8),_0x4d5aa9[_0x132862(0x1d0)]=_0x132862(0x152),_0x4d5aa9[_0x132862(0x23d)]=_0x132862(0x248),_0x4d5aa9['gxFnN']=_0x132862(0x171);const _0x1caf1c=_0x4d5aa9;global[_0x132862(0x283)]=global[_0x132862(0x283)]||{};for(const _0x581880 of _0x123461){logger[_0x132862(0x206)](_0x132862(0x2fe)+_0x581880[_0x132862(0x28d)]()+_0x132862(0x271)+_0x581880['getValue']());if(_0x1caf1c[_0x132862(0x2e3)](_0x581880['getName'](),_0x1caf1c[_0x132862(0x2ed)]))process[_0x132862(0x278)]['BS_A11Y_JWT']=_0x581880['getValue'](),global[_0x132862(0x283)][_0x1caf1c['ppmEN']]=_0x581880[_0x132862(0x161)]();else{if(_0x1caf1c['yTtKs'](_0x581880[_0x132862(0x28d)](),_0x1caf1c['dwNkq']))global[_0x132862(0x283)][_0x1caf1c[_0x132862(0x19f)]]=_0x581880[_0x132862(0x161)]();else{if(_0x1caf1c[_0x132862(0x233)](_0x581880[_0x132862(0x28d)](),_0x1caf1c[_0x132862(0x2f0)]))global['__accessibilityOptions'][_0x1caf1c[_0x132862(0x1d0)]]=_0x581880['getValue']();else _0x1caf1c[_0x132862(0x1d2)](_0x581880[_0x132862(0x28d)](),_0x1caf1c[_0x132862(0x23d)])&&(global[_0x132862(0x283)][_0x1caf1c[_0x132862(0x15a)]]=_0x581880[_0x132862(0x161)]());}}}}async[a80_0x525b2c(0x30f)](_0x28ae63){const _0x1cf9b4=a80_0x525b2c,_0x5e50e0={};_0x5e50e0[_0x1cf9b4(0x212)]=function(_0x2f46d5,_0x2c9607){return _0x2f46d5!==_0x2c9607;},_0x5e50e0[_0x1cf9b4(0x229)]=_0x1cf9b4(0x1c9),_0x5e50e0[_0x1cf9b4(0x1e2)]=function(_0x171943,_0x45a942){return _0x171943!==_0x45a942;},_0x5e50e0[_0x1cf9b4(0x28a)]=_0x1cf9b4(0x16c),_0x5e50e0[_0x1cf9b4(0x1ff)]=_0x1cf9b4(0x1ef),_0x5e50e0[_0x1cf9b4(0x17b)]=_0x1cf9b4(0x30e);const _0x517a9a=_0x5e50e0;if(_0x517a9a[_0x1cf9b4(0x212)](_0x28ae63[_0x1cf9b4(0x2a2)],_0x517a9a['CFNwQ'])&&_0x517a9a[_0x1cf9b4(0x1e2)](_0x28ae63[_0x1cf9b4(0x2a2)],_0x517a9a[_0x1cf9b4(0x28a)])){logger[_0x1cf9b4(0x282)](_0x517a9a[_0x1cf9b4(0x1ff)]);return;}const _0x4b2200=_0x28ae63[_0x1cf9b4(0x20f)]?.[_0x1cf9b4(0x1f7)]||_0x28ae63['testInfo']?.['id']||global[_0x1cf9b4(0x158)];logger[_0x1cf9b4(0x206)](_0x1cf9b4(0x2cb)+_0x28ae63[_0x1cf9b4(0x2a2)]+',\x20testIdentifier='+_0x4b2200);try{const _0x152568=_0x28ae63[_0x1cf9b4(0x21a)]||AutomationFramework[_0x1cf9b4(0x288)](),_0x505d76=CLIUtils[_0x1cf9b4(0x237)](),_0x3754a0=this['getCurrentAccessibilityStatus']();logger[_0x1cf9b4(0x282)](_0x1cf9b4(0x27f)+(_0x152568?.['getPlatformIndex']?.()||_0x517a9a['qpvOn'])+']\x20onAfterTest\x20should\x20scan='+_0x3754a0),_0x3754a0&&await this[_0x1cf9b4(0x27b)](_0x152568,_0x28ae63),this[_0x1cf9b4(0x1ec)][_0x1cf9b4(0x299)](_0x505d76),this[_0x1cf9b4(0x30b)][_0x1cf9b4(0x299)](_0x505d76);}catch(_0x513744){logger['error'](_0x1cf9b4(0x202)+(_0x513744[_0x1cf9b4(0x251)]||_0x513744[_0x1cf9b4(0x1c7)]));}}async[a80_0x525b2c(0x27b)](_0x273d41,_0x3cec54){const _0x2732e7=a80_0x525b2c,_0xd72a0={};_0xd72a0[_0x2732e7(0x214)]=function(_0x5265b9,_0x5a5eca){return _0x5265b9===_0x5a5eca;},_0xd72a0[_0x2732e7(0x1a4)]=_0x2732e7(0x1e0),_0xd72a0['Mgpkn']=function(_0x1dab97,_0x46422e){return _0x1dab97===_0x46422e;},_0xd72a0['NimUN']=_0x2732e7(0x16c),_0xd72a0[_0x2732e7(0x1e3)]=_0x2732e7(0x1c9),_0xd72a0[_0x2732e7(0x197)]=function(_0x3bbbf7,_0x1340f7){return _0x3bbbf7===_0x1340f7;},_0xd72a0['caOGK']=_0x2732e7(0x1f3),_0xd72a0[_0x2732e7(0x18e)]='accessibility',_0xd72a0[_0x2732e7(0x23f)]=_0x2732e7(0x1e9),_0xd72a0[_0x2732e7(0x16d)]='unknown',_0xd72a0[_0x2732e7(0x19b)]='present',_0xd72a0[_0x2732e7(0x1b3)]=_0x2732e7(0x2c7),_0xd72a0[_0x2732e7(0x269)]=function(_0x17cce0,_0x112736){return _0x17cce0===_0x112736;},_0xd72a0[_0x2732e7(0x17a)]=function(_0x43011d,_0x33b34c){return _0x43011d||_0x33b34c;},_0xd72a0['vYucT']=function(_0x2ccbe3,_0x531b53){return _0x2ccbe3||_0x531b53;},_0xd72a0[_0x2732e7(0x1f1)]='AUTOMATION_SESSIONS',_0xd72a0['vywhI']='NON_BROWSERSTACK_AUTOMATION_SESSIONS';const _0x4db586=_0xd72a0;try{const _0x4ff9d7=_0x3cec54[_0x2732e7(0x2a2)]||(_0x4db586[_0x2732e7(0x30a)](this[_0x2732e7(0x1e6)]?.[_0x2732e7(0x27c)]?.['toLowerCase'](),_0x4db586[_0x2732e7(0x294)])?_0x4db586[_0x2732e7(0x294)]:_0x4db586['GeyEH']);let _0x4eac93='',_0x25d3ed=null,_0x3455b4=null;if(_0x4db586[_0x2732e7(0x197)](_0x4ff9d7,_0x4db586[_0x2732e7(0x294)])){_0x25d3ed=_0x3cec54[_0x2732e7(0x20f)]?.[_0x2732e7(0x1f7)]||_0x3cec54[_0x2732e7(0x20f)]?.['id']||global['__jestCurrentTestIdentifier'];if(!_0x25d3ed){logger[_0x2732e7(0x15f)](_0x4db586[_0x2732e7(0x1cb)]);return;}try{const _0x4ed59d=await GrpcClient[_0x2732e7(0x25a)]()[_0x2732e7(0x1b4)](process[_0x2732e7(0x278)][_0x2732e7(0x245)],_0x4db586['KZlYg'],_0x4db586['uoijy'],_0x25d3ed),_0x36b535=AccessibilityModule[_0x2732e7(0x1fd)](null,_0x4ed59d);_0x4eac93=_0x36b535?.[_0x2732e7(0x2b1)]||'',logger[_0x2732e7(0x282)](_0x2732e7(0x298)+_0x4eac93+'\x20from\x20testIdentifier='+_0x25d3ed),_0x3455b4=_0x4ed59d;}catch(_0x683e63){logger[_0x2732e7(0x2d1)](_0x2732e7(0x21c)+_0x683e63['message']);return;}}else{const _0x29e035=this[_0x2732e7(0x21b)](_0x3cec54);_0x4eac93=TestInfo[_0x2732e7(0x185)](_0x29e035);}const _0x377477=((()=>{const _0x71e3e=_0x2732e7,_0x3ae0cf=(this[_0x71e3e(0x155)]?.[_0x71e3e(0x157)]?.[_0x71e3e(0x21f)]||[])[_0x71e3e(0x180)](_0x20ea1b=>(typeof _0x20ea1b[_0x71e3e(0x28d)]===_0x71e3e(0x1e0)?_0x20ea1b['getName']():_0x20ea1b[_0x71e3e(0x27c)])===this[_0x71e3e(0x1d9)]);return _0x3ae0cf?_0x4db586[_0x71e3e(0x214)](typeof _0x3ae0cf['getValue'],_0x4db586[_0x71e3e(0x1a4)])?_0x3ae0cf[_0x71e3e(0x161)]():_0x3ae0cf[_0x71e3e(0x1bc)]:'';})()),_0x47c483=process['env']['BROWSERSTACK_TESTHUB_JWT']||'';logger[_0x2732e7(0x282)](_0x2732e7(0x27f)+(_0x273d41?.[_0x2732e7(0x210)]?.()||_0x4db586[_0x2732e7(0x16d)])+_0x2732e7(0x162)+_0x4eac93+_0x2732e7(0x2ae)+_0x377477+'\x20a11yToken='+(_0x47c483?_0x4db586[_0x2732e7(0x19b)]:_0x4db586['FdAvG']));let _0x59e9c4;if(_0x4db586['nvOpw'](_0x4ff9d7,_0x4db586[_0x2732e7(0x294)]))_0x59e9c4=AccessibilityModule[_0x2732e7(0x1fd)](_0x4eac93,_0x3455b4);else{const _0x19cfcd=await GrpcClient['getInstance']()[_0x2732e7(0x1b4)](process[_0x2732e7(0x278)][_0x2732e7(0x245)],_0x4db586[_0x2732e7(0x18e)],_0x4db586[_0x2732e7(0x23f)]);_0x59e9c4=AccessibilityModule['loadDriverExecuteParams'](_0x4eac93,_0x19cfcd);}logger['debug']('Accessibility\x20data\x20for\x20extension:\x20'+JSON[_0x2732e7(0x1ea)](_0x59e9c4));const _0x32cb01=Object[_0x2732e7(0x2ba)]({},{'thTestRunUuid':_0x4db586[_0x2732e7(0x17a)](_0x4eac93,''),'thBuildUuid':_0x4db586[_0x2732e7(0x2fb)](_0x377477,''),'thJwtToken':_0x4db586['vYucT'](_0x47c483,'')},_0x59e9c4);logger[_0x2732e7(0x282)]('[AccessibilityModule]\x20stopTestCapture:\x20Saving\x20results,\x20thTestRunUuid='+_0x4eac93+_0x2732e7(0x29b)+this['isAppAccessibility']);let _0x487e73=global[_0x2732e7(0x2de)]?.['pwPage']||null;!_0x487e73&&(_0x487e73=AutomationFramework[_0x2732e7(0x26a)](_0x273d41,_0x4db586[_0x2732e7(0x1f1)],null)),!_0x487e73&&(_0x487e73=AutomationFramework[_0x2732e7(0x26a)](_0x273d41,_0x4db586[_0x2732e7(0x201)],null)),await this[_0x2732e7(0x236)](this['getCurrentAccessibilityStatus'](),_0x4eac93,_0x487e73,_0x32cb01,this['isAppAccessibility']);}catch(_0x15aa93){logger['error']('Error\x20in\x20stopTestCapture:\x20'+(_0x15aa93[_0x2732e7(0x251)]||_0x15aa93[_0x2732e7(0x1c7)]));}}async['finishScanningForCli'](_0x4102a0,_0x362f57,_0x6be50f,_0x4b2acc,_0x178585){const _0x39a371=a80_0x525b2c,_0x2932e6={};_0x2932e6['kUJbs']=_0x39a371(0x1e9),_0x2932e6[_0x39a371(0x1d5)]=function(_0x18338b,_0x13c5a1){return _0x18338b&&_0x13c5a1;},_0x2932e6['HIoxu']=_0x39a371(0x222),_0x2932e6[_0x39a371(0x2df)]=function(_0x247d2e,_0x5597ab){return _0x247d2e===_0x5597ab;},_0x2932e6[_0x39a371(0x2c5)]='null',_0x2932e6['fgZLx']='Skipping\x20saving\x20results\x20from\x20cli,\x20no\x20running\x20test\x20found',_0x2932e6[_0x39a371(0x1b0)]=_0x39a371(0x272),_0x2932e6['WAaqA']=_0x39a371(0x2ee),_0x2932e6[_0x39a371(0x2b4)]=_0x39a371(0x265),_0x2932e6[_0x39a371(0x22c)]=function(_0x3f1fcf,_0xc54e0c){return _0x3f1fcf&&_0xc54e0c;},_0x2932e6['wHgzh']=_0x39a371(0x1d6),_0x2932e6[_0x39a371(0x1a3)]=_0x39a371(0x310),_0x2932e6[_0x39a371(0x1f6)]=_0x39a371(0x1f4);const _0x262813=_0x2932e6;try{const _0x39b03f=this['getScriptByName'](_0x262813[_0x39a371(0x1cf)]);if(_0x262813[_0x39a371(0x1d5)](!_0x178585,!_0x39b03f)){logger[_0x39a371(0x282)](_0x262813[_0x39a371(0x1a0)]);return;}if(!_0x362f57||_0x262813[_0x39a371(0x2df)](_0x362f57,_0x262813[_0x39a371(0x2c5)])||_0x262813[_0x39a371(0x2df)](_0x362f57,'')){logger[_0x39a371(0x282)](_0x262813[_0x39a371(0x1c2)]);return;}logger['debug'](_0x39a371(0x22d)+JSON[_0x39a371(0x1ea)](_0x4b2acc)),_0x4102a0&&(logger[_0x39a371(0x282)](_0x262813['HfHqk']),await this[_0x39a371(0x17e)](_0x6be50f,_0x362f57,_0x262813[_0x39a371(0x23c)],_0x4b2acc,_0x178585,_0x262813['QQNuK']),_0x262813['TQgEo'](!_0x178585,_0x39b03f)&&(logger[_0x39a371(0x282)](_0x262813[_0x39a371(0x243)]),await PerformanceTester[_0x39a371(0x2e7)](_0x262813[_0x39a371(0x1a3)],async()=>{const _0xb5cf90=_0x39a371;await this['performScanForCli'](_0x6be50f,_0x362f57,_0x262813['kUJbs'],_0x4b2acc,_0x178585,_0x262813[_0xb5cf90(0x1cf)]);})()),logger[_0x39a371(0x206)](_0x262813[_0x39a371(0x1f6)]));}catch(_0x4834f5){logger[_0x39a371(0x2d1)](_0x39a371(0x14f)+(_0x4834f5[_0x39a371(0x251)]||_0x4834f5['message']));}}async[a80_0x525b2c(0x244)](_0x189ea0){const _0x2d8f1d=a80_0x525b2c,_0xa7f726={};_0xa7f726[_0x2d8f1d(0x1ab)]=function(_0x59c574,_0x412f4a){return _0x59c574!==_0x412f4a;},_0xa7f726[_0x2d8f1d(0x193)]=_0x2d8f1d(0x1c9),_0xa7f726[_0x2d8f1d(0x26c)]=function(_0x425428,_0x398b8a){return _0x425428!==_0x398b8a;},_0xa7f726[_0x2d8f1d(0x21e)]=_0x2d8f1d(0x16c),_0xa7f726[_0x2d8f1d(0x295)]='onBeforeExecute:\x20Skipping\x20accessibility\x20scan\x20-\x20not\x20a\x20supported\x20test\x20framework',_0xa7f726['TSega']=_0x2d8f1d(0x30e),_0xa7f726[_0x2d8f1d(0x261)]='onBeforeExecute:\x20No\x20command\x20name\x20provided',_0xa7f726[_0x2d8f1d(0x30d)]=function(_0x3d3c0a,_0x2f6afc){return _0x3d3c0a===_0x2f6afc;},_0xa7f726[_0x2d8f1d(0x194)]=_0x2d8f1d(0x154),_0xa7f726[_0x2d8f1d(0x1eb)]=_0x2d8f1d(0x1ec),_0xa7f726[_0x2d8f1d(0x1ee)]=_0x2d8f1d(0x21d),_0xa7f726[_0x2d8f1d(0x181)]=_0x2d8f1d(0x2c2),_0xa7f726[_0x2d8f1d(0x176)]=_0x2d8f1d(0x1d1),_0xa7f726[_0x2d8f1d(0x289)]=_0x2d8f1d(0x265),_0xa7f726[_0x2d8f1d(0x24d)]=_0x2d8f1d(0x2c7);const _0x7132e8=_0xa7f726;if(_0x7132e8[_0x2d8f1d(0x1ab)](_0x189ea0['testFramework'],_0x7132e8['oxUBV'])&&_0x7132e8['GcIgP'](_0x189ea0[_0x2d8f1d(0x2a2)],_0x7132e8['mmwGm'])){logger[_0x2d8f1d(0x282)](_0x7132e8[_0x2d8f1d(0x295)]);return;}logger[_0x2d8f1d(0x282)](_0x2d8f1d(0x217)+(_0x189ea0[_0x2d8f1d(0x19e)]||_0x7132e8[_0x2d8f1d(0x188)])+',\x20framework='+_0x189ea0[_0x2d8f1d(0x2a2)]);try{const _0x5e137f=_0x189ea0[_0x2d8f1d(0x21a)]||AutomationFramework[_0x2d8f1d(0x288)](),_0x34c119=TestFramework[_0x2d8f1d(0x288)](),_0x191ea4=_0x189ea0[_0x2d8f1d(0x19e)]||_0x189ea0[_0x2d8f1d(0x28f)]?.[_0x2d8f1d(0x28d)]();if(!_0x191ea4){logger[_0x2d8f1d(0x282)](_0x7132e8[_0x2d8f1d(0x261)]);return;}if(!this[_0x2d8f1d(0x1a5)]()){logger[_0x2d8f1d(0x282)](_0x2d8f1d(0x2b6)+_0x191ea4);return;}if(!this[_0x2d8f1d(0x184)](_0x191ea4)){logger['debug'](_0x2d8f1d(0x1cd)+_0x191ea4+_0x2d8f1d(0x2a5));return;}const _0x397024=_0x189ea0['page']||global[_0x2d8f1d(0x2de)]?.[_0x2d8f1d(0x1de)];if(!_0x397024){logger[_0x2d8f1d(0x282)]('onBeforeExecute:\x20Page\x20object\x20not\x20available\x20for\x20command\x20'+_0x191ea4);return;}let _0x17318f='',_0x2c9cd5=null;if(_0x7132e8[_0x2d8f1d(0x30d)](_0x189ea0[_0x2d8f1d(0x2a2)],_0x7132e8[_0x2d8f1d(0x21e)])){_0x2c9cd5=_0x189ea0[_0x2d8f1d(0x20f)]?.[_0x2d8f1d(0x1f7)]||_0x189ea0[_0x2d8f1d(0x20f)]?.['id']||global['__jestCurrentTestIdentifier'];if(!_0x2c9cd5){logger[_0x2d8f1d(0x15f)](_0x7132e8[_0x2d8f1d(0x194)]);return;}try{const _0x8c4b38=await GrpcClient[_0x2d8f1d(0x25a)]()[_0x2d8f1d(0x1b4)](process[_0x2d8f1d(0x278)][_0x2d8f1d(0x245)],_0x7132e8[_0x2d8f1d(0x1eb)],_0x7132e8[_0x2d8f1d(0x1ee)],_0x2c9cd5),_0x49989c=AccessibilityModule[_0x2d8f1d(0x1fd)](null,_0x8c4b38);_0x17318f=_0x49989c?.[_0x2d8f1d(0x2b1)]||'',logger[_0x2d8f1d(0x282)](_0x2d8f1d(0x232)+_0x17318f+_0x2d8f1d(0x1b9)+_0x2c9cd5);}catch(_0x512e66){logger[_0x2d8f1d(0x2d1)](_0x2d8f1d(0x20e)+_0x512e66[_0x2d8f1d(0x1c7)]);return;}}else _0x17318f=this[_0x2d8f1d(0x20d)](_0x7132e8[_0x2d8f1d(0x181)])||'';const _0x5ad5dd=this['getCapabilityValue'](_0x7132e8[_0x2d8f1d(0x176)])||this['accessibilityConfig'][this[_0x2d8f1d(0x1d9)]]||null,_0x4e8694=process[_0x2d8f1d(0x278)][_0x2d8f1d(0x276)]||'',_0x6d38b7=this[_0x2d8f1d(0x20c)](_0x191ea4,_0x17318f,_0x5ad5dd,_0x4e8694),_0x10dae0=_0x7132e8['lVJij'](_0x189ea0['testFramework'],_0x7132e8[_0x2d8f1d(0x21e)])?await AccessibilityModule['fetchCentralAuthA11yConfig'](_0x7132e8[_0x2d8f1d(0x289)],_0x17318f,_0x2c9cd5):await AccessibilityModule['fetchCentralAuthA11yConfig'](_0x7132e8[_0x2d8f1d(0x289)],_0x17318f);logger[_0x2d8f1d(0x206)]('ScanArgs:\x20'+(_0x6d38b7?JSON[_0x2d8f1d(0x1ea)](_0x6d38b7):_0x7132e8['JuEAr']));const _0x4b98d9=CLIUtils[_0x2d8f1d(0x284)](_0x6d38b7,_0x10dae0);logger['info'](_0x2d8f1d(0x28c)+(_0x4b98d9?JSON['stringify'](_0x4b98d9):_0x7132e8[_0x2d8f1d(0x24d)])),logger[_0x2d8f1d(0x282)](_0x2d8f1d(0x1bf)+_0x191ea4);const _0x1c92d8=await this[_0x2d8f1d(0x17e)](_0x397024,_0x17318f,_0x191ea4,_0x4b98d9,this['isAppAccessibility']);logger[_0x2d8f1d(0x282)](_0x2d8f1d(0x2a0)+_0x191ea4+_0x2d8f1d(0x1ac)+_0x1c92d8);}catch(_0x44bae7){logger[_0x2d8f1d(0x2d1)](_0x2d8f1d(0x277)+(_0x44bae7[_0x2d8f1d(0x251)]||_0x44bae7[_0x2d8f1d(0x1c7)]));}}[a80_0x525b2c(0x2b3)](){return this['getCurrentAccessibilityStatus']();}['setShouldScanCurrentTest'](_0x5c90f3){const _0x4e1041=a80_0x525b2c,_0x2e752a=CLIUtils[_0x4e1041(0x237)]();this['accessibility'][_0x4e1041(0x226)](_0x2e752a,_0x5c90f3);}async['initAccessibilityConfig'](_0x232430){const _0x244687=a80_0x525b2c,_0x252a2b={};_0x252a2b[_0x244687(0x221)]='unknown';const _0x37fde8=_0x252a2b;try{const _0x3c3a42=_0x232430[_0x244687(0x21a)]||AutomationFramework[_0x244687(0x288)](),_0x4fe359=_0x3c3a42?.[_0x244687(0x280)]?.()?.[_0x244687(0x195)]?.(this[_0x244687(0x2d8)])||![];if(_0x4fe359)return;PerformanceTester[_0x244687(0x286)](EVENTS[_0x244687(0x255)]);const _0x5409b6=await GrpcClient[_0x244687(0x25a)]()['getAccessibilityConfig'](_0x232430);_0x5409b6&&_0x5409b6[_0x244687(0x203)]&&_0x5409b6[_0x244687(0x203)]()&&_0x5409b6['getAccessibility']()['getSuccess']()?(await this[_0x244687(0x219)](_0x5409b6,_0x232430),_0x3c3a42?.[_0x244687(0x280)]&&_0x3c3a42[_0x244687(0x280)]()[_0x244687(0x226)](this[_0x244687(0x2d8)],!![]),logger[_0x244687(0x282)]('[platform\x20-\x20'+(_0x3c3a42?.[_0x244687(0x210)]?.()||_0x37fde8[_0x244687(0x221)])+_0x244687(0x2be))):logger[_0x244687(0x282)](_0x244687(0x27f)+(_0x3c3a42?.['getPlatformIndex']?.()||_0x37fde8['jrzRE'])+_0x244687(0x262)),PerformanceTester['end'](EVENTS[_0x244687(0x255)]);}catch(_0x213d4c){PerformanceTester[_0x244687(0x1da)](EVENTS[_0x244687(0x255)],![],_0x213d4c[_0x244687(0x1c7)]),logger[_0x244687(0x2d1)](_0x244687(0x2e4)+(_0x213d4c[_0x244687(0x251)]||_0x213d4c[_0x244687(0x1c7)]));}}async[a80_0x525b2c(0x219)](_0x34bd73,_0x2184fd){const _0xd65355=a80_0x525b2c;await this[_0xd65355(0x29d)](_0x34bd73,_0x2184fd);const _0x12b776=_0x34bd73[_0xd65355(0x203)]()[_0xd65355(0x159)]();if(_0x12b776){const _0x28c7dc=_0x34bd73[_0xd65355(0x2e5)]&&_0x34bd73['getTesthub']();_0x28c7dc&&(this['accessibilityConfig'][this['KEY_TESTHUB_BUILD_ID']]=_0x28c7dc[_0xd65355(0x15b)]&&_0x28c7dc['getBuildId']());}}[a80_0x525b2c(0x184)](_0x303005){const _0x3c6c02=a80_0x525b2c,_0x5ea0ff={};_0x5ea0ff['UTTXw']=function(_0x46c70a,_0x162d19){return _0x46c70a===_0x162d19;};const _0x290601=_0x5ea0ff;try{if(!_0x303005)return![];const _0x2e9803=this[_0x3c6c02(0x155)]?.[_0x3c6c02(0x157)]?.[_0x3c6c02(0x266)]?.['commandsList']||[],_0x47d9d2=_0x2e9803[_0x3c6c02(0x190)](_0x3a703e=>{const _0x46e674=_0x3c6c02;return _0x3a703e[_0x46e674(0x27c)]&&_0x290601[_0x46e674(0x2af)](_0x3a703e[_0x46e674(0x27c)][_0x46e674(0x2c1)](),_0x303005[_0x46e674(0x2c1)]());});return logger[_0x3c6c02(0x282)](_0x3c6c02(0x25b)+_0x303005+'\x20->\x20'+_0x47d9d2+_0x3c6c02(0x2fc)+JSON[_0x3c6c02(0x1ea)](_0x2e9803['map'](_0x26832e=>_0x26832e[_0x3c6c02(0x27c)]))),_0x47d9d2;}catch(_0x4380af){return logger['debug'](_0x3c6c02(0x18f)+_0x4380af[_0x3c6c02(0x1c7)]),![];}}['isBrowserstackScriptCommand'](_0x42f9fe){const _0x28418e=a80_0x525b2c,_0x22d4d8={};_0x22d4d8['fWoHc']=function(_0x3e7e67,_0x22119f){return _0x3e7e67===_0x22119f;},_0x22d4d8['IUmOe']=_0x28418e(0x1c1),_0x22d4d8[_0x28418e(0x1c5)]=_0x28418e(0x1aa);const _0x2122d5=_0x22d4d8,_0x50e503=_0x42f9fe[_0x28418e(0x256)]&&_0x42f9fe[_0x28418e(0x256)]();return _0x50e503&&_0x2122d5[_0x28418e(0x2e6)](typeof _0x50e503,_0x2122d5[_0x28418e(0x2dd)])&&_0x50e503[_0x28418e(0x303)](_0x2122d5[_0x28418e(0x1c5)]);}[a80_0x525b2c(0x18c)](_0x4eb9f3){const _0x1230db=a80_0x525b2c,_0x1b3ff2={};_0x1b3ff2[_0x1230db(0x25c)]=function(_0x18412c,_0x816bc8){return _0x18412c!==_0x816bc8;},_0x1b3ff2['EMaXO']=_0x1230db(0x1c1),_0x1b3ff2[_0x1230db(0x2f2)]=_0x1230db(0x1ec),_0x1b3ff2['kkwSE']=_0x1230db(0x21d),_0x1b3ff2[_0x1230db(0x2d7)]='getResults',_0x1b3ff2[_0x1230db(0x254)]=_0x1230db(0x191);const _0x5163b7=_0x1b3ff2,_0x8d1f09=_0x4eb9f3[_0x1230db(0x256)]&&_0x4eb9f3[_0x1230db(0x256)]();if(!_0x8d1f09||_0x5163b7[_0x1230db(0x25c)](typeof _0x8d1f09,_0x5163b7['EMaXO']))return![];return _0x8d1f09['includes'](_0x5163b7[_0x1230db(0x2f2)])||_0x8d1f09[_0x1230db(0x303)](_0x5163b7['kkwSE'])||_0x8d1f09['includes'](_0x5163b7['wDvlz'])||_0x8d1f09[_0x1230db(0x303)](_0x5163b7['PnpRC']);}[a80_0x525b2c(0x20c)](_0x44c47c,_0x4d6560,_0x372ee6,_0x2ec4b6){const _0x148778=a80_0x525b2c,_0x27e440={};_0x27e440[_0x148778(0x25d)]=function(_0x55c34e,_0x5c1e6c){return _0x55c34e||_0x5c1e6c;},_0x27e440[_0x148778(0x268)]=function(_0x3c0f92,_0x4f5551){return _0x3c0f92||_0x4f5551;};const _0xb748c8=_0x27e440;return{'command':_0x44c47c,'thTestRunUuid':_0xb748c8[_0x148778(0x25d)](_0x4d6560,''),'thBuildUuid':_0xb748c8[_0x148778(0x25d)](_0x372ee6,''),'thJwtToken':_0xb748c8[_0x148778(0x268)](_0x2ec4b6,''),'timestamp':new Date()[_0x148778(0x211)]()};}[a80_0x525b2c(0x225)](_0x845d4a){const _0x2417ce=a80_0x525b2c,_0x11bfb0={};_0x11bfb0['PoWIa']=function(_0x142503,_0x57105b){return _0x142503||_0x57105b;};const _0x49ca39=_0x11bfb0;try{const _0x6e99a7=this[_0x2417ce(0x155)]?.[_0x2417ce(0x157)]?.['scriptsList']||[],_0x3ac74c=_0x6e99a7['find'](_0x5ea2b3=>_0x5ea2b3[_0x2417ce(0x27c)]===_0x845d4a);return _0x49ca39[_0x2417ce(0x174)](_0x3ac74c,null);}catch(_0x3ae32f){return logger[_0x2417ce(0x282)](_0x2417ce(0x150)+_0x845d4a+':\x20'+_0x3ae32f[_0x2417ce(0x1c7)]),null;}}async[a80_0x525b2c(0x24a)](_0x16f76b,_0x1eaeed,_0x55c178=null){const _0x4bceec=a80_0x525b2c,_0x25f34a={'qPRZn':function(_0x3d4ce5,_0x5b350d){return _0x3d4ce5(_0x5b350d);},'ZofXx':_0x4bceec(0x290)};try{if(!_0x16f76b)return logger['debug']('executeScriptByName:\x20Page\x20is\x20null\x20for\x20script\x20'+_0x1eaeed),null;const _0x55b600=this[_0x4bceec(0x225)](_0x1eaeed);if(!_0x55b600||!_0x55b600['command'])return logger[_0x4bceec(0x282)](_0x4bceec(0x1b7)+_0x1eaeed+'\x20script\x20available'),null;logger['debug'](_0x4bceec(0x2fd)+_0x1eaeed+_0x4bceec(0x2eb));const _0x231a10=_0x25f34a[_0x4bceec(0x238)](require,_0x25f34a['ZofXx']),_0x509e93=_0x55c178?await _0x231a10[_0x4bceec(0x287)](_0x16f76b,_0x55b600['command'],_0x55c178):await _0x231a10[_0x4bceec(0x287)](_0x16f76b,_0x55b600[_0x4bceec(0x28f)]);return _0x509e93;}catch(_0x4de4b8){return logger[_0x4bceec(0x2d1)](_0x4bceec(0x2e2)+_0x1eaeed+':\x20'+(_0x4de4b8[_0x4bceec(0x251)]||_0x4de4b8['message'])),null;}}async[a80_0x525b2c(0x17e)](_0x51079c,_0x9f5e92,_0x3100a5,_0x1af2cb,_0x2f406b,_0x43ba5f='scan'){const _0x1991b0=a80_0x525b2c,_0x29fff5={'AciNw':function(_0x1238c8,_0x3c0008){return _0x1238c8===_0x3c0008;},'IwzRm':_0x1991b0(0x265),'lLvhk':function(_0x1a5130,_0x592731){return _0x1a5130(_0x592731);},'KIznn':'../../playwright/accessibility-helper','itslR':function(_0x44ffa9,_0x7b56ac){return _0x44ffa9(_0x7b56ac);}};try{logger[_0x1991b0(0x282)](_0x1991b0(0x23e)+_0x3100a5+_0x1991b0(0x1e8)+_0x43ba5f);const _0xf04b53=this[_0x1991b0(0x225)](_0x43ba5f);if(!_0xf04b53||!_0xf04b53['command']){logger[_0x1991b0(0x282)](_0x1991b0(0x1e5)+_0x43ba5f+'\x20script\x20available\x20in\x20scriptsList');return;}if(_0x29fff5['AciNw'](_0x43ba5f,_0x29fff5[_0x1991b0(0x156)])){const _0x23c2cf=_0x29fff5[_0x1991b0(0x1b2)](require,_0x29fff5[_0x1991b0(0x1a2)]),_0x359300={};_0x359300['command']=_0x3100a5;const _0x12bbcf=await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x1991b0(0x153)],async()=>{const _0x42c239=_0x1991b0;await _0x23c2cf[_0x42c239(0x287)](_0x51079c,_0xf04b53[_0x42c239(0x28f)]);},_0x359300)();return logger[_0x1991b0(0x206)](_0x1991b0(0x2c8)+_0x43ba5f+'\x20result\x20for\x20'+_0x3100a5+':\x20'+util[_0x1991b0(0x198)](_0x12bbcf)),_0x12bbcf;}const _0x495369=_0x29fff5[_0x1991b0(0x2ff)](require,_0x29fff5[_0x1991b0(0x1a2)]),_0x501e4b=await PerformanceTester[_0x1991b0(0x2e7)](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{await _0x495369['browserStackEvaluate'](_0x51079c,_0xf04b53['command'],_0x1af2cb);})();return logger[_0x1991b0(0x206)]('Page\x20'+_0x43ba5f+'\x20result\x20for\x20'+_0x3100a5+':\x20'+util[_0x1991b0(0x198)](_0x501e4b)),_0x501e4b;}catch(_0xea0399){logger[_0x1991b0(0x2d1)](_0x1991b0(0x314)+_0x43ba5f+':\x20'+(_0xea0399[_0x1991b0(0x251)]||_0xea0399['message']));}}async[a80_0x525b2c(0x26f)](_0x42f437){const _0x4b5626=a80_0x525b2c,_0x2cf8a1={'fnHHg':function(_0x17290d,_0x293572){return _0x17290d(_0x293572);},'NIUlJ':_0x4b5626(0x2f7)};try{const _0x25b399=_0x2cf8a1[_0x4b5626(0x1f2)](require,_0x2cf8a1[_0x4b5626(0x306)]);return await _0x25b399[_0x4b5626(0x170)](_0x42f437);}catch(_0x269c31){return logger[_0x4b5626(0x2d1)](_0x4b5626(0x213)+(_0x269c31[_0x4b5626(0x251)]||_0x269c31[_0x4b5626(0x1c7)])),![];}}['processAccessibilityCaps'](_0x145a3e,_0xd5e7e0,_0x5800e2){const _0x5b821f=a80_0x525b2c,_0x1ecb6d={'wbVBS':function(_0x319612,_0x33eb24){return _0x319612(_0x33eb24);},'funQW':_0x5b821f(0x290),'ffSrM':_0x5b821f(0x2cd),'IaoRS':'\x22browserstack.key\x22:\x22[REDACTED]\x22'};try{const _0x4ab9e5=_0x1ecb6d[_0x5b821f(0x305)](require,_0x1ecb6d['funQW']);_0x4ab9e5[_0x5b821f(0x1d3)](_0x145a3e,_0xd5e7e0,_0x5800e2);const _0x9c503e=JSON[_0x5b821f(0x1ea)](_0x145a3e)[_0x5b821f(0x26b)](/"browserstack\.user":"[^"]*"/g,_0x1ecb6d[_0x5b821f(0x224)])['replace'](/"browserstack\.key":"[^"]*"/g,_0x1ecb6d[_0x5b821f(0x24c)]);logger[_0x5b821f(0x282)](_0x5b821f(0x2c6)+global[_0x5b821f(0x1dc)]+'\x20'+_0x9c503e);}catch(_0x48cadf){logger[_0x5b821f(0x2d1)](_0x5b821f(0x2d0)+(_0x48cadf[_0x5b821f(0x251)]||_0x48cadf[_0x5b821f(0x1c7)]));}}async[a80_0x525b2c(0x1ce)](_0x439c47){const _0xd9fe50=a80_0x525b2c,_0x3690b1={};_0x3690b1[_0xd9fe50(0x2f5)]=_0xd9fe50(0x24b),_0x3690b1['yIMuj']=_0xd9fe50(0x17c);const _0x58c2e4=_0x3690b1;try{if(!this[_0xd9fe50(0x1a5)]())return logger[_0xd9fe50(0x15f)](_0x58c2e4[_0xd9fe50(0x2f5)]),[];const _0x1d6f86=await this[_0xd9fe50(0x24a)](_0x439c47,_0x58c2e4[_0xd9fe50(0x2d5)]);return _0x1d6f86||[];}catch(_0x34593c){return logger[_0xd9fe50(0x2d1)](_0xd9fe50(0x192)+(_0x34593c['stack']||_0x34593c[_0xd9fe50(0x1c7)])),[];}}async[a80_0x525b2c(0x239)](_0x1ba6ef){const _0x54f9ac=a80_0x525b2c,_0x4508f2={'RDheS':'scan','FOBtW':_0x54f9ac(0x2ad),'czpZs':_0x54f9ac(0x1ae),'XQzEq':function(_0x547222,_0x15584f){return _0x547222(_0x15584f);},'BpGXx':_0x54f9ac(0x2d3),'hIYvZ':function(_0x22a9ce,_0x1f6486){return _0x22a9ce===_0x1f6486;},'gycMd':'jest','ZMtRp':_0x54f9ac(0x15c),'oZTtU':_0x54f9ac(0x1ec),'mMFZx':_0x54f9ac(0x1d1),'GRevn':_0x54f9ac(0x239),'cnFHj':_0x54f9ac(0x2c2),'AMUFf':'Performing\x20scan\x20before\x20getting\x20results\x20summary','TvWhv':_0x54f9ac(0x22e)};try{if(!this[_0x54f9ac(0x1a5)]())return logger[_0x54f9ac(0x15f)](_0x4508f2['czpZs']),{};const _0x3ffee4=_0x4508f2[_0x54f9ac(0x2e9)](require,_0x4508f2[_0x54f9ac(0x22a)]),_0x57d476=_0x3ffee4[_0x54f9ac(0x270)](),_0x3d24d4=_0x4508f2['hIYvZ'](_0x57d476?.[_0x54f9ac(0x27c)]?.[_0x54f9ac(0x2c1)](),_0x4508f2[_0x54f9ac(0x253)]);let _0x37979a='',_0x3f9b73=null,_0x451f1f=null;if(_0x3d24d4){_0x3f9b73=global[_0x54f9ac(0x158)]||global[_0x54f9ac(0x2de)]?.['currentTest']?.[_0x54f9ac(0x1f7)]||global[_0x54f9ac(0x2de)]?.['currentTest']?.['id'];if(!_0x3f9b73)return logger[_0x54f9ac(0x15f)](_0x4508f2[_0x54f9ac(0x204)]),{};try{const _0x159b9c=await GrpcClient['getInstance']()['fetchDriverExecuteParamsEvent'](process[_0x54f9ac(0x278)][_0x54f9ac(0x245)],_0x4508f2[_0x54f9ac(0x18d)],_0x4508f2[_0x54f9ac(0x218)],_0x3f9b73),_0x1cb3f4=AccessibilityModule[_0x54f9ac(0x1fd)](null,_0x159b9c);_0x37979a=_0x1cb3f4?.[_0x54f9ac(0x2b1)]||'',logger[_0x54f9ac(0x282)]('[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20resolved\x20thTestRunUuid='+_0x37979a+'\x20from\x20testIdentifier='+_0x3f9b73);const _0x21691d=await AccessibilityModule['fetchCentralAuthA11yConfig'](_0x4508f2[_0x54f9ac(0x218)],_0x37979a,_0x3f9b73),_0x457f6b=this[_0x54f9ac(0x20d)](_0x4508f2[_0x54f9ac(0x1ba)])||this[_0x54f9ac(0x155)][this[_0x54f9ac(0x1d9)]]||null,_0x1a67ba=process[_0x54f9ac(0x278)][_0x54f9ac(0x276)]||'',_0x5861a0=this[_0x54f9ac(0x20c)](_0x4508f2['GRevn'],_0x37979a,_0x457f6b,_0x1a67ba);_0x451f1f=_0x3ffee4[_0x54f9ac(0x284)](_0x5861a0,_0x21691d),logger[_0x54f9ac(0x282)](_0x54f9ac(0x2e8)+JSON['stringify'](_0x451f1f));}catch(_0x7abf06){return logger[_0x54f9ac(0x2d1)](_0x54f9ac(0x199)+_0x7abf06[_0x54f9ac(0x1c7)]),{};}}else{_0x37979a=this[_0x54f9ac(0x20d)](_0x4508f2['cnFHj'])||'';const _0x1f7459=this[_0x54f9ac(0x20d)](_0x4508f2[_0x54f9ac(0x1ba)])||this[_0x54f9ac(0x155)][this[_0x54f9ac(0x1d9)]]||null,_0xe992a=process['env'][_0x54f9ac(0x276)]||'';_0x451f1f=this['getParamsForScanForCli'](_0x4508f2[_0x54f9ac(0x1af)],_0x37979a,_0x1f7459,_0xe992a);}logger[_0x54f9ac(0x282)](_0x4508f2['AMUFf']),await PerformanceTester[_0x54f9ac(0x2e7)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x115899=_0x54f9ac,_0x5a71b3=await this[_0x115899(0x24a)](_0x1ba6ef,_0x4508f2[_0x115899(0x2ef)],_0x451f1f);logger[_0x115899(0x282)](_0x115899(0x18a)+util[_0x115899(0x198)](_0x5a71b3));},{'command':_0x4508f2['GRevn']})();const _0xeb575d=await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x54f9ac(0x164)],async()=>{return await this['executeScriptByName'](_0x1ba6ef,_0x4508f2['FOBtW'],_0x451f1f);})();if(!_0xeb575d)return logger[_0x54f9ac(0x282)](_0x4508f2['TvWhv']),{};return _0xeb575d;}catch(_0x7f510f){return logger[_0x54f9ac(0x2d1)](_0x54f9ac(0x1dd)+(_0x7f510f['stack']||_0x7f510f[_0x54f9ac(0x1c7)])),{};}}async[a80_0x525b2c(0x1b8)](_0x9ea2a8,_0x321e11,_0x5ee80d=null){const _0xbfdf80=a80_0x525b2c,_0x311125={};_0x311125['LaIna']='performPageScan:\x20Page\x20is\x20null',_0x311125[_0xbfdf80(0x2ce)]=_0xbfdf80(0x2b8),_0x311125['eeigI']=_0xbfdf80(0x2e0);const _0x32e887=_0x311125;try{if(!_0x9ea2a8)return logger[_0xbfdf80(0x282)](_0x32e887['LaIna']),null;if(!_0x321e11)return logger[_0xbfdf80(0x282)](_0x32e887[_0xbfdf80(0x2ce)]),null;logger[_0xbfdf80(0x282)](_0x32e887[_0xbfdf80(0x29e)]);const _0x4dfc22=_0x5ee80d?await _0x9ea2a8[_0xbfdf80(0x29f)](_0x321e11,_0x5ee80d):await _0x9ea2a8[_0xbfdf80(0x29f)](_0x321e11);return _0x4dfc22;}catch(_0x2ec0ad){return logger[_0xbfdf80(0x2d1)]('Error\x20in\x20performPageScan:\x20'+(_0x2ec0ad[_0xbfdf80(0x251)]||_0x2ec0ad[_0xbfdf80(0x1c7)])),null;}}static[a80_0x525b2c(0x1fd)](_0x2f524b,_0x4a2f90){const _0x15b309=a80_0x525b2c,_0x2d4745={};_0x2d4745[_0x15b309(0x2a7)]='ascii';const _0x41178d=_0x2d4745,_0x196a4f={};_0x196a4f[_0x15b309(0x2b1)]=_0x2f524b;const _0x559ec1=_0x196a4f;let _0xe8e3a5={};if(_0x4a2f90[_0x15b309(0x1b6)]()&&_0x4a2f90['hasAccessibilityExecuteParams']())try{_0xe8e3a5=JSON[_0x15b309(0x1bd)](new Buffer(_0x4a2f90['getAccessibilityExecuteParams']())['toString'](_0x41178d[_0x15b309(0x2a7)]));}catch(_0x152206){logger[_0x15b309(0x2d1)](_0x15b309(0x165)+_0x152206[_0x15b309(0x1c7)]),_0xe8e3a5={};}return CLIUtils[_0x15b309(0x284)](_0x559ec1,_0xe8e3a5);}static async['fetchCentralAuthA11yConfig'](_0x259c6f,_0x222935='',_0x1100f6=null){const _0x5ae7e4=a80_0x525b2c,_0x5ef68d={};_0x5ef68d[_0x5ae7e4(0x1c0)]=_0x5ae7e4(0x173),_0x5ef68d[_0x5ae7e4(0x1a6)]=_0x5ae7e4(0x1ec);const _0x4e15ea=_0x5ef68d;try{if(!_0x1100f6&&AccessibilityModule[_0x5ae7e4(0x1a1)])return AccessibilityModule[_0x5ae7e4(0x260)];if(!process[_0x5ae7e4(0x278)][_0x5ae7e4(0x245)])return logger[_0x5ae7e4(0x2d1)](_0x4e15ea[_0x5ae7e4(0x1c0)]),{};const _0x24d76e=await GrpcClient[_0x5ae7e4(0x25a)]()[_0x5ae7e4(0x1b4)](process[_0x5ae7e4(0x278)][_0x5ae7e4(0x245)],_0x4e15ea[_0x5ae7e4(0x1a6)],_0x259c6f,_0x1100f6),_0x56f0b0=_0x1100f6?AccessibilityModule['loadDriverExecuteParams'](null,_0x24d76e)?.[_0x5ae7e4(0x2b1)]||_0x222935:_0x222935,_0x59f0bb=AccessibilityModule[_0x5ae7e4(0x1fd)](_0x56f0b0,_0x24d76e);return!_0x1100f6&&(AccessibilityModule[_0x5ae7e4(0x260)]=_0x59f0bb,AccessibilityModule[_0x5ae7e4(0x1a1)]=!![]),_0x59f0bb;}catch(_0x20d49b){return logger[_0x5ae7e4(0x2d1)]('fetchCentralAuthA11yConfig:\x20Failed\x20to\x20fetch\x20driver\x20execute\x20params\x20for\x20'+_0x259c6f+':\x20'+(_0x20d49b[_0x5ae7e4(0x251)]||_0x20d49b['message'])),{};}}}function a80_0xa588(_0x180ece,_0x253d67){const _0x5b87f3=a80_0x5b87();return a80_0xa588=function(_0xa5889f,_0x108d44){_0xa5889f=_0xa5889f-0x14f;let _0x29f702=_0x5b87f3[_0xa5889f];return _0x29f702;},a80_0xa588(_0x180ece,_0x253d67);};module[a80_0x525b2c(0x27e)]=AccessibilityModule;
1
+ const a80_0x12b359=a80_0x95f4;function a80_0x126d(){const _0x845dd6=['svnJg','stack','XCriM','ttYuG','getPlatformIndex','toISOString','onBeforeExecute:\x20Page\x20object\x20not\x20available\x20for\x20command\x20','DRIVER_HAS_URL','getAccessibilityResultsSummary','getScriptByName','wOsiP','Error\x20in\x20onBeforeTest\x20accessibility\x20module:\x20',']\x20onAfterTest\x20should\x20scan=','commandName','_sendMessageServerPatchApplied','xHXFs','10287600UialwL','zVmFV','IjXOV','pgiXj','getAccessibilityResults','6206942eGgEbF','QwZmU','onBeforeExecute:\x20No\x20command\x20name\x20provided','info','LOG_DISABLED_SHOWN','VxRlD','../state/automationFrameworkState','KEY_TEST_NAME','JUEGV','getModuleName','ascii','qIlOC','capabilitiesList','tCdaw','stringify','iLgVD','Executing\x20','lLujc','uxiUj','getAccessibility','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','command','gNyOJ','bhVne','jUpUv','kmyGs','JLbcK','SDK_ACCESSIBILITY_CONFIG',']\x20clear\x20','find','getGoogleChromeOptions','Applied\x20sendMessageToServer\x20patch\x20for\x20accessibility\x20command\x20interception','launchCaps','Performing\x20scan\x20before\x20getting\x20results\x20summary','[platform\x20-\x20','CbBuu','../TestInfo.js','jest','trim','EAkAl','shouldScanForCommand','name','onAfterTest','getData','_centralAuthConfigFetched','isAccessibilityScriptCommand','JXAXt','true','loadAccessibilityConfig','Error\x20in\x20performPageScan:\x20','qNqBN','onBeforeExecute','vGpPK','[CLI]\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','performScan','evaluate','\x22browserstack.key\x22:\x22[REDACTED]\x22','PHIwa','getResults','message','zGUBt','PRE','pDJfb','vtcZV','xWLOQ','44235uscjXG','vWbyw','HCEkd','../../../helpers/accessibility-automation/helper','KsUhN','FGNWK','getScriptsList',']\x20Failed\x20to\x20initialize\x20accessibility\x20configuration','oWgcu','accessibilityPlatform','KEY_INIT','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100\x20on\x20non-bstack\x20infra.','QQnEM','end','Error\x20in\x20stopTestCapture:\x20','setAccessibilityConfig','\x20is\x20not\x20in\x20the\x20list\x20of\x20commands\x20to\x20be\x20scanned','QUIT','Unable\x20to\x20mark\x20test\x20finish\x20for\x20accessibility\x20from\x20cli\x20-\x20',',\x20\x0a\x20','KMHOP','getSuccess','Error\x20checking\x20headless\x20capability:\x20','iZZnr','toLowerCase','getCurrentAccessibilityStatus','../../playwright/accessibility-helper','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended\x20from\x20cli.','../grpcClient','Error\x20in\x20onBeforeExecute\x20accessibility\x20module:\x20','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','isPlatformSupported:\x20Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','wdfEh','orffG','skSCW','KEY_TESTHUB_BUILD_ID','RmIEk','fgPkZ','nDBDL','AUTOMATION_SESSIONS','LvboQ','Error\x20in\x20shouldScanForCommand:\x20','isEnabled','QQAoH',',\x20includeTags=','stopTestCapture','name:\x20','GFKaO','join','../../../helpers/helper','testFramework','format','assign','loadDriverExecuteParams','\x20value=','scannerVersion','getCommandsList','./baseModule','setShouldScanCurrentTest','performScanForCli','measureWrapper','browser','SQyPo','../framework/constants/testFrameworkConstants.js','warn','test_tags','fetchDriverExecuteParamsEvent','ZnOYm','SKiqK','getScript','getTesthub','wLGpN','Context','\x20using\x20script:\x20','performScanForCli:\x20No\x20','toObject','Error\x20in\x20initAccessibilityConfig:\x20','afterTestHook','getName','error','pvAMh','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20summary.','performPageScan','scannerProcessingTimeout','options',',\x20tags=','accessibility','../state/hookState','ZmPvo','Error\x20getting\x20capability\x20value\x20for\x20','getTrackedInstance','gYbMd','iOWBS','lDVuJ','testhub_build_uuid','function','onBeforeExecute:\x20command=','sCsJP','ftQNw','BROWSERSTACK_TEST_ACCESSIBILITY_YML','Tcoiu','getValue','vrBwi','__jestCurrentTestIdentifier','onBeforeExecute:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20scan','kuwUD','Ecbuq','gkkvd',',\x20excludeTags=',']\x20isEnabledTestcase\x20(jest)\x20result=','Executing\x20accessibility\x20script\x20on\x20page','erxrC','ifIHM','OVREN','ZPBSj','accessibilityConfig','xLFRu','DnoGe','getOptions','rgBxE','rDYFj','PAcLd','bind','platformCaps','pZqoD','jxXKF','NEmWq','FIWJS','scan','Error\x20in\x20getAccessibilityResultsSummary:\x20','finishScanningForCli','browserstack.accessibilityOptions.authToken','getTestUUID','../../utils/playwright-patcher','getAccessibilityExecuteParams','processAccessibilityCaps','UBMAt','titlePath','dgSzy','qwppl','_centralAuthA11yConfig','value','isBrowserstackScriptCommand','qVJsb','cSdAW','__workerDetails','SCyvc','Processed\x20accessibility\x20caps\x20','onBeforeExecute:\x20Skipping\x20accessibility\x20scan\x20-\x20not\x20a\x20supported\x20test\x20framework','delete','JcDTo','QArHa','capabilities',',\x20isAppAccessibility=','10pykDKs','stopTestCapture:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20result\x20save','No\x20summaryResults\x20found.','AhSfw','BS_A11Y_JWT','2148723ffHKdQ','Skipping\x20saving\x20results\x20from\x20cli,\x20saveResults\x20script\x20is\x20missing','fetchCentralAuthA11yConfig:\x20No\x20bin\x20session\x20ID\x20available','ziexL','28587VjRsrk','QCCVt','jZRDQ','includes','AXOYQ','shouldScanCurrentTest','isPlatformSupported:\x20Not\x20an\x20accessibility\x20automation\x20session','split','onBeforeExecute:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','meXJg','bRIBL','a11y:save-results','BROWSERSTACK_TESTHUB_JWT','performPageScan:\x20Script\x20is\x20null','NmpWl','\x20script\x20available\x20in\x20scriptsList','currentTest','isPlatformSupported','KEEtp','some','MfMcz','1076MZwKXJ','getAccessibilityResultsSummary:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20cannot\x20retrieve\x20summary.','browserStackEvaluate','length','TEST_INIT','hWHyl','RjAUV','terOP','SAVE_RESULTS','stopTestCapture:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','ynggy','Accessibility\x20data\x20for\x20extension:\x20','has','../../../helpers/performance/constants.js','HSoVh','getResultsSummary','test_run_id','mhuZP','setShouldScan','PDyvX','getCommandsToWrap','NFYBA','38yoLCPi','Oieij','browserVersion','bgaXS','YPbYp','[AccessibilityModule]\x20onAfterTest:\x20framework=','Accessibility\x20extension\x20data\x20for\x20current\x20test\x20from\x20cli\x20','updateData','sendMessageToServer\x20accessibility\x20patch\x20already\x20applied','SVWfJ','getCapabilityValue','[AccessibilityModule]\x20onBeforeTest:\x20platformSupported=','goog:chromeOptions','hfBcp','onBeforeTest','../cliUtils','browserName','HJyNu','708lGSvlK','fJONd','includeTagsInTestingScope','OAOUa','mergeObject','Error\x20parsing\x20accessibility\x20execute\x20params:\x20','isAppAccessibility','scriptsList','WcNVC','JjbHh','performPageScan:\x20Page\x20is\x20null','vdEXT','exports','getCapabilitiesList',',\x20available\x20commands:\x20','UdFjU','Error\x20in\x20getAccessibilityResults:\x20','fetchCentralAuthA11yConfig:\x20Failed\x20to\x20fetch\x20driver\x20execute\x20params\x20for\x20','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','DosTa','feRrI','VeZkF','getState','null','latest','[AccessibilityModule]\x20Constructor:\x20Registered\x20observers\x20-\x20EXECUTE\x20PRE,\x20CREATE\x20POST,\x20QUIT\x20PRE','uXQnr',']\x20should\x20run\x20accessibility\x20value=','FWPpX','patchSendMessageToServer\x20function\x20not\x20available\x20from\x20playwright-patcher','onBeforeTest:\x20Page\x20is\x20null,\x20accessibility\x20cannot\x20be\x20initialized','../framework/testFramework','XpipL','start','Error\x20executing\x20script\x20','platformValidation','getContext','replace','iMUvL','OTdgP','map','yDLaX','\x20->\x20','uyAjz','Skipping\x20saving\x20results\x20from\x20cli,\x20no\x20running\x20test\x20found','\x20from\x20testIdentifier=','testFrameworkData','gYTau','ACCESSIBILITY_INITIALIZED','debug','setLogDisabledShown','iKtDP','cucumber','onBeforeExecute:\x20Accessibility\x20not\x20enabled\x20for\x20current\x20test,\x20skipping\x20scan\x20for\x20','validatePlatformForAccessibility','set','__accessibilityOptions','Error\x20in\x20performScanForCli\x20for\x20script\x20','saveResults','headless','XfjPZ','onBeforeTest:\x20Page\x20object\x20available,\x20proceeding\x20with\x20accessibility\x20validation','../../../helpers/accessibility-automation/constants','MODULE_NAME','3706967wVizeG','string','pNHPO','bJsnd','dyoTE','testAnalyticsId','getBuildId','POST','isEnabledTestcase','toString','accessibilityToken','thTestRunUuid','fetchCentralAuthA11yConfig','aUKDA','CsXhv','../framework/automationFramework','[AccessibilityModule]\x20onBeforeExecute:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','\x20a11yToken=','Uoxki',',\x20testIdentifier=','isArray','BfHhR','onBeforeTest:\x20event=',']\x20Accessibility\x20configuration\x20initialized\x20successfully','VbysQ','[AccessibilityModule]\x20stopTestCapture:\x20Saving\x20results,\x20thTestRunUuid=','fQgol','Scan\x20result:\x20','unknown','PERFORM_SCAN','15|1|6|2|3|11|4|14|7|9|0|10|13|12|5|8','pwPage','yBelO','Page\x20','env','ScanArgs:\x20','MNamn','EqhaL','applySendMessageToServerPatch','BROWSERSTACK_CLI_BIN_SESSION_ID','registerObserver','executeScriptByName','NON_BROWSERSTACK_AUTOMATION_SESSIONS','ToCmb','cfFTE','shouldScanForCommand:\x20','mynvq','getCurrentInstanceName','KoWqd','parse','testInfo','Error\x20in\x20validatePlatformForAccessibility:\x20','rSwtk','Error\x20getting\x20script\x20by\x20name\x20','onBeforeExecute:\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','excludeTagsInTestingScope','3117KeIIoH','isPlatformSupported:\x20caps\x20are\x20null','\x20result\x20for\x20','tjTnM','GZNAA','kuTTx','commandsList','DRIVER_INIT','Performing\x20scan\x20before\x20from\x20cli','[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20summaryArgs=','beJyv','[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','gnrcI','get','qTKHh','[AccessibilityModule]\x20stopTestCapture:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','VOqEj','pWaUK','HlZLx',',\x20testName=','browserstack_executor','VTtpg','getAllData','getAccessibilityConfig','getInstance','page','onBeforeTest:\x20Driver\x20not\x20initialized,\x20setting\x20DRIVER_INIT=true','getTestDetails','setAccessibilityToken','8ADGjQX','instance',']\x20Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error:\x20','patchSendMessageToServer','FbDis','wcagVersion','getParamsForScanForCli'];a80_0x126d=function(){return _0x845dd6;};return a80_0x126d();}(function(_0x5e9df5,_0x473ab4){const _0x2fdf20=a80_0x95f4,_0x442194=_0x5e9df5();while(!![]){try{const _0x4d9d86=-parseInt(_0x2fdf20(0x2e8))/0x1*(parseInt(_0x2fdf20(0x313))/0x2)+-parseInt(_0x2fdf20(0x39d))/0x3*(-parseInt(_0x2fdf20(0x2fd))/0x4)+-parseInt(_0x2fdf20(0x245))/0x5*(parseInt(_0x2fdf20(0x325))/0x6)+parseInt(_0x2fdf20(0x204))/0x7*(parseInt(_0x2fdf20(0x1e8))/0x8)+-parseInt(_0x2fdf20(0x2e4))/0x9+-parseInt(_0x2fdf20(0x2df))/0xa*(-parseInt(_0x2fdf20(0x365))/0xb)+parseInt(_0x2fdf20(0x1ff))/0xc;if(_0x4d9d86===_0x473ab4)break;else _0x442194['push'](_0x442194['shift']());}catch(_0x53246a){_0x442194['push'](_0x442194['shift']());}}}(a80_0x126d,0x82878));const BaseModule=require(a80_0x12b359(0x27e)),{createClassLogger}=require('../../../helpers/classLogger'),CLIUtils=require(a80_0x12b359(0x322)),AutomationFramework=require(a80_0x12b359(0x374)),TestFramework=require(a80_0x12b359(0x344)),AutomationFrameworkState=require(a80_0x12b359(0x20a)),HookState=require(a80_0x12b359(0x29c)),GrpcClient=require(a80_0x12b359(0x261)),scripts=require('../../../helpers/accessibility-automation/scripts'),logger=createClassLogger('TrackedInstance'),PerformanceTester=require('../../../helpers/performance/performance-tester.js'),{EVENTS,A11Y_EVENTS:PerformanceA11yEvents}=require(a80_0x12b359(0x30a)),{MINIMUM_BROWSER_VERSION_ACCESSIBILITY,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require(a80_0x12b359(0x363)),{nestedKeyValue,isUndefined}=require('../../../helpers/helper'),util=require('util'),TestInfo=require(a80_0x12b359(0x228)),TestFrameworkConstants=require(a80_0x12b359(0x284));class AccessibilityModule extends BaseModule{static [a80_0x12b359(0x364)]=AccessibilityModule[a80_0x12b359(0x22d)];static ['_centralAuthConfigFetched']=![];static ['_centralAuthA11yConfig']={};constructor(_0x5ee9fd){const _0x115b12=a80_0x12b359,_0x38d86c={};_0x38d86c[_0x115b12(0x267)]=_0x115b12(0x383),_0x38d86c['HSoVh']=_0x115b12(0x1f6),_0x38d86c[_0x115b12(0x37f)]=_0x115b12(0x2a3),_0x38d86c[_0x115b12(0x354)]=_0x115b12(0x355),_0x38d86c[_0x115b12(0x2cd)]=_0x115b12(0x33e);const _0x2ae43b=_0x38d86c,_0x4cf6f6=_0x2ae43b[_0x115b12(0x267)][_0x115b12(0x2ef)]('|');let _0xafc792=0x0;while(!![]){switch(_0x4cf6f6[_0xafc792++]){case'0':this[_0x115b12(0x1fd)]=![];continue;case'1':AutomationFramework[_0x115b12(0x38d)](AutomationFrameworkState['EXECUTE'],HookState[_0x115b12(0x241)],this[_0x115b12(0x237)][_0x115b12(0x2bf)](this));continue;case'2':AutomationFramework[_0x115b12(0x38d)](AutomationFrameworkState[_0x115b12(0x256)],HookState['PRE'],this[_0x115b12(0x22e)][_0x115b12(0x2bf)](this));continue;case'3':this['isEnabled']=!![];continue;case'4':this[_0x115b12(0x29b)]=new Map();continue;case'5':this['KEY_DRIVER_HAS_URL']=_0x2ae43b[_0x115b12(0x30b)];continue;case'6':AutomationFramework[_0x115b12(0x38d)](AutomationFrameworkState['CREATE'],HookState[_0x115b12(0x36c)],this['onBeforeTest'][_0x115b12(0x2bf)](this));continue;case'7':this[_0x115b12(0x32b)]=![];continue;case'8':this[_0x115b12(0x268)]=_0x2ae43b[_0x115b12(0x37f)];continue;case'9':this[_0x115b12(0x2dd)]=[];continue;case'10':this[_0x115b12(0x1e7)](_0x5ee9fd[_0x115b12(0x2bb)]()['getCapabilitiesList']());continue;case'11':this['accessibilityConfig']=_0x5ee9fd[_0x115b12(0x290)]();continue;case'12':this[_0x115b12(0x24f)]=_0x2ae43b[_0x115b12(0x354)];continue;case'13':logger[_0x115b12(0x356)](_0x2ae43b[_0x115b12(0x2cd)]);continue;case'14':this['LOG_DISABLED_SHOWN']=new Map();continue;case'15':super();continue;}break;}}[a80_0x12b359(0x26f)](){const _0x40c237=a80_0x12b359;return this[_0x40c237(0x26f)];}[a80_0x12b359(0x20d)](){const _0x35fb8d=a80_0x12b359;return AccessibilityModule[_0x35fb8d(0x364)];}[a80_0x12b359(0x25e)](){const _0x2d0544=a80_0x12b359;return this['accessibility']['get'](CLIUtils[_0x2d0544(0x394)](),![]);}['getLogDisabledShown'](){const _0x27e218=a80_0x12b359;return this[_0x27e218(0x208)]['get'](CLIUtils[_0x27e218(0x394)](),![]);}[a80_0x12b359(0x357)](_0x5675ff){const _0x5344d8=a80_0x12b359;this['LOG_DISABLED_SHOWN'][_0x5344d8(0x35c)](CLIUtils[_0x5344d8(0x394)](),_0x5675ff);}['applySendMessageToServerPatch'](){const _0x52f1aa=a80_0x12b359,_0x114287={'pZqoD':_0x52f1aa(0x31b),'kmyGs':function(_0x53949b,_0x20b1c1){return _0x53949b(_0x20b1c1);},'dyXmt':_0x52f1aa(0x2ca),'mynvq':_0x52f1aa(0x223),'pWaUK':_0x52f1aa(0x342)};if(this[_0x52f1aa(0x1fd)]){logger['debug'](_0x114287[_0x52f1aa(0x2c1)]);return;}try{const _0xc31e33=_0x114287[_0x52f1aa(0x21d)](require,_0x114287['dyXmt']);_0xc31e33&&_0xc31e33[_0x52f1aa(0x1eb)]?(_0xc31e33[_0x52f1aa(0x1eb)](),this['_sendMessageServerPatchApplied']=!![],logger[_0x52f1aa(0x356)](_0x114287[_0x52f1aa(0x393)])):logger[_0x52f1aa(0x356)](_0x114287[_0x52f1aa(0x1dc)]);}catch(_0x3a1bff){logger[_0x52f1aa(0x356)]('Error\x20applying\x20sendMessageToServer\x20patch:\x20'+util[_0x52f1aa(0x278)](_0x3a1bff));}}[a80_0x12b359(0x2f9)](_0x220819=null,_0x3f5306=null,_0x1647a2=null){const _0x3bd4d0=a80_0x12b359,_0x5186af={'NEmWq':function(_0x3e91e1,_0x1b0d26){return _0x3e91e1&&_0x1b0d26;},'VxRlD':_0x3bd4d0(0x39e),'GFKaO':function(_0x3fb132,_0x5e3d1f){return _0x3fb132(_0x5e3d1f);},'iMUvL':'../../../helpers/accessibility-automation/helper','dgSzy':function(_0x9df687,_0x45c4b0){return _0x9df687(_0x45c4b0);},'IjXOV':_0x3bd4d0(0x276),'PHIwa':function(_0x380ea7){return _0x380ea7();},'rgBxE':_0x3bd4d0(0x2ee),'uyAjz':function(_0x5dd716,_0x40dbd7){return _0x5dd716===_0x40dbd7;},'FWPpX':'chrome','XfjPZ':'playwright-chromium','XsOAN':function(_0x16c88b,_0x53e496){return _0x16c88b===_0x53e496;},'cfFTE':function(_0x2c8a5e,_0x4d73b0){return _0x2c8a5e===_0x4d73b0;},'xLFRu':_0x3bd4d0(0x218),'JQkaK':function(_0x3293b8,_0xb6574d){return _0x3293b8===_0xb6574d;},'iLgVD':_0x3bd4d0(0x233),'FGNWK':function(_0x4d604f,_0x11e684){return _0x4d604f===_0x11e684;},'LvboQ':'string','hwRvp':function(_0x80fcd5,_0x1e1606){return _0x80fcd5===_0x1e1606;},'unWHI':_0x3bd4d0(0x264),'yBelO':function(_0x15b535){return _0x15b535();},'tjTnM':function(_0x480187,_0x3e3764){return _0x480187>_0x3e3764;},'OVREN':function(_0x4a5088,_0x68a45c){return _0x4a5088(_0x68a45c);},'DosTa':_0x3bd4d0(0x250),'VeZkF':function(_0x54bfb2,_0x3958aa){return _0x54bfb2!==_0x3958aa;},'qNqBN':_0x3bd4d0(0x33d),'wdfEh':function(_0x3775bc,_0x538d3c){return _0x3775bc(_0x538d3c);},'EqhaL':_0x3bd4d0(0x263)};try{if(_0x5186af[_0x3bd4d0(0x2c3)](!_0x3f5306,!_0x1647a2))return logger[_0x3bd4d0(0x356)](_0x5186af[_0x3bd4d0(0x209)]),![];const {isAccessibilityAutomationSession:_0x4060cd}=_0x5186af[_0x3bd4d0(0x274)](require,_0x5186af[_0x3bd4d0(0x34b)]),{isUndefined:_0x5ef00c,isBrowserstackInfra:_0x1cb67b}=_0x5186af[_0x3bd4d0(0x2cf)](require,_0x5186af[_0x3bd4d0(0x201)]);if(!_0x5186af[_0x3bd4d0(0x23d)](_0x4060cd))return logger[_0x3bd4d0(0x356)](_0x5186af[_0x3bd4d0(0x2bc)]),![];if(!(_0x3f5306['browserName']&&_0x5186af[_0x3bd4d0(0x350)](_0x3f5306['browserName']['toLowerCase'](),_0x5186af[_0x3bd4d0(0x341)])||_0x3f5306[_0x3bd4d0(0x323)]&&_0x5186af[_0x3bd4d0(0x350)](_0x3f5306[_0x3bd4d0(0x323)][_0x3bd4d0(0x25d)](),_0x5186af[_0x3bd4d0(0x361)])||_0x3f5306[_0x3bd4d0(0x282)]&&_0x5186af['XsOAN'](_0x3f5306['browser'][_0x3bd4d0(0x25d)](),_0x5186af[_0x3bd4d0(0x341)])||_0x3f5306['browser']&&_0x5186af[_0x3bd4d0(0x391)](_0x3f5306['browser'][_0x3bd4d0(0x25d)](),_0x5186af[_0x3bd4d0(0x361)])))return logger['warn'](_0x5186af[_0x3bd4d0(0x2b9)]),![];try{const _0x56bdc9=_0x3f5306[_0x3bd4d0(0x360)],_0x39d358=_0x5186af['JQkaK'](_0x56bdc9,!![])||_0x5186af['JQkaK'](_0x56bdc9,_0x5186af[_0x3bd4d0(0x213)])||_0x5186af[_0x3bd4d0(0x24a)](typeof _0x56bdc9,_0x5186af[_0x3bd4d0(0x26d)])&&_0x5186af['hwRvp'](_0x56bdc9[_0x3bd4d0(0x25d)](),_0x5186af[_0x3bd4d0(0x213)]);if(_0x39d358)return logger['warn'](_0x5186af['unWHI']),![];}catch(_0x2b86e9){logger[_0x3bd4d0(0x356)](_0x3bd4d0(0x25b)+util[_0x3bd4d0(0x278)](_0x2b86e9));}if(!_0x5186af[_0x3bd4d0(0x385)](_0x1cb67b)){if(!_0x5186af['tjTnM'](_0x5186af[_0x3bd4d0(0x2b6)](parseFloat,_0x3f5306[_0x3bd4d0(0x315)]),_0x5186af['OVREN'](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY)))return logger[_0x3bd4d0(0x285)](_0x5186af[_0x3bd4d0(0x338)]),![];}else{if(_0x5186af[_0x3bd4d0(0x33a)](_0x3f5306[_0x3bd4d0(0x315)],_0x5186af[_0x3bd4d0(0x236)])&&!_0x5186af[_0x3bd4d0(0x3a0)](_0x5186af[_0x3bd4d0(0x265)](parseFloat,_0x3f5306[_0x3bd4d0(0x315)]),_0x5186af[_0x3bd4d0(0x2cf)](parseFloat,MINIMUM_BROWSER_VERSION_ACCESSIBILITY)))return logger[_0x3bd4d0(0x285)](_0x5186af[_0x3bd4d0(0x38a)]),![];}return!![];}catch(_0x4fea28){return logger[_0x3bd4d0(0x356)]('Exception\x20in\x20isPlatformSupported:\x20'+_0x4fea28[_0x3bd4d0(0x23f)]),![];}}[a80_0x12b359(0x36d)](_0x24700b=[],_0xd198fd,_0x2e6300='cucumber'){const _0xd40964=a80_0x12b359,_0x517b1f={'CbBuu':function(_0x464f6c,_0x2d220b){return _0x464f6c===_0x2d220b;},'HJyNu':_0xd40964(0x229),'ftQNw':function(_0x217def,_0x30f8cb){return _0x217def||_0x30f8cb;},'QArHa':function(_0x4c783b,_0x3550e1){return _0x4c783b===_0x3550e1;},'DnoGe':function(_0x2ab120,_0x270bc1){return _0x2ab120&&_0x270bc1;},'beJyv':_0xd40964(0x381),'ZPBSj':function(_0x504976,_0x12726c){return _0x504976===_0x12726c;},'KsUhN':function(_0x43d4a8,_0x151a7a){return _0x43d4a8(_0x151a7a);},'iKtDP':function(_0x24a2fa,_0x2a5a48){return _0x24a2fa>_0x2a5a48;},'wLGpN':function(_0x3bedaa,_0xa87b96){return _0x3bedaa&&_0xa87b96;}};try{const _0x27b64e=process[_0xd40964(0x387)][_0xd40964(0x337)]?JSON[_0xd40964(0x396)](process[_0xd40964(0x387)][_0xd40964(0x337)]):null;if(!_0x27b64e)return!![];const _0x49d1af=Array['isArray'](_0x27b64e[_0xd40964(0x327)])?_0x27b64e[_0xd40964(0x327)]:[],_0x56d664=Array[_0xd40964(0x379)](_0x27b64e[_0xd40964(0x39c)])?_0x27b64e[_0xd40964(0x39c)]:[];if(_0x517b1f[_0xd40964(0x227)](_0x2e6300,_0x517b1f[_0xd40964(0x324)])){let _0xe957be;Array[_0xd40964(0x379)](_0x24700b)?_0xe957be=_0x24700b[_0xd40964(0x275)]('\x20'):_0xe957be=_0x517b1f[_0xd40964(0x2a7)](_0x24700b,'');const _0x32fd8b=_0x56d664[_0xd40964(0x2fb)](_0x175a3e=>_0xe957be[_0xd40964(0x2eb)](_0x175a3e)),_0xd88bb9=_0x517b1f[_0xd40964(0x2dc)](_0x49d1af[_0xd40964(0x300)],0x0)||_0x49d1af[_0xd40964(0x2fb)](_0x41dfa7=>_0xe957be[_0xd40964(0x2eb)](_0x41dfa7)),_0x382d1a=_0x517b1f[_0xd40964(0x2ba)](!_0x32fd8b,_0xd88bb9);return logger[_0xd40964(0x356)]('[platform\x20-\x20'+(_0xd198fd?.['getPlatformIndex']?.()||_0x517b1f['beJyv'])+_0xd40964(0x2b2)+_0x382d1a+_0xd40964(0x1de)+_0xe957be+_0xd40964(0x271)+JSON[_0xd40964(0x212)](_0x49d1af)+_0xd40964(0x2b1)+JSON[_0xd40964(0x212)](_0x56d664)),_0x382d1a;}const _0xd019eb=Array[_0xd40964(0x379)](_0x24700b)?_0x24700b:[];let _0x41420d=![],_0x259802=_0x517b1f[_0xd40964(0x2b7)](_0x49d1af[_0xd40964(0x300)],0x0);const _0x54eda0=_0x575dfb=>typeof _0x575dfb===_0xd40964(0x366)?_0x575dfb['replace'](/^@/,'')[_0xd40964(0x25d)]()[_0xd40964(0x22a)]():_0x575dfb,_0x492845=new Set(_0x49d1af[_0xd40964(0x34d)](_0x54eda0)),_0x5b1b17=new Set(_0x56d664[_0xd40964(0x34d)](_0x54eda0));for(const _0x332073 of _0xd019eb){const _0x5ca2fe=_0x517b1f[_0xd40964(0x249)](_0x54eda0,_0x332073);_0x5b1b17[_0xd40964(0x309)](_0x5ca2fe)&&(_0x41420d=!![]),_0x517b1f[_0xd40964(0x358)](_0x492845['size'],0x0)&&_0x492845[_0xd40964(0x309)](_0x5ca2fe)&&(_0x259802=!![]);}const _0x17dc46=_0x517b1f[_0xd40964(0x28c)](_0x259802,!_0x41420d);return logger[_0xd40964(0x356)]('[platform\x20-\x20'+(_0xd198fd?.[_0xd40964(0x1f3)]?.()||_0x517b1f[_0xd40964(0x3a7)])+']\x20isEnabledTestcase\x20(cucumber)\x20result='+_0x17dc46+_0xd40964(0x29a)+JSON[_0xd40964(0x212)](_0xd019eb)+_0xd40964(0x271)+JSON['stringify'](_0x49d1af)+',\x20excludeTags='+JSON[_0xd40964(0x212)](_0x56d664)),_0x17dc46;}catch(_0x3463d3){return logger[_0xd40964(0x356)](_0xd40964(0x226)+(_0xd198fd?.[_0xd40964(0x1f3)]?.()||_0x517b1f[_0xd40964(0x3a7)])+_0xd40964(0x1ea)+_0x3463d3[_0xd40964(0x23f)]),![];}}async[a80_0x12b359(0x321)](_0x1f1ac1){const _0x4dd8e4=a80_0x12b359,_0x3c6452={};_0x3c6452['ZmPvo']=function(_0x1dd12c,_0x38c63d){return _0x1dd12c!==_0x38c63d;},_0x3c6452[_0x4dd8e4(0x2a2)]=_0x4dd8e4(0x359),_0x3c6452[_0x4dd8e4(0x2af)]=function(_0x22dd81,_0x471bbf){return _0x22dd81!==_0x471bbf;},_0x3c6452[_0x4dd8e4(0x200)]='jest',_0x3c6452['VOqEj']='onBeforeTest:\x20Skipping\x20accessibility\x20check\x20-\x20not\x20a\x20supported\x20test\x20framework',_0x3c6452[_0x4dd8e4(0x399)]=_0x4dd8e4(0x301),_0x3c6452[_0x4dd8e4(0x216)]=_0x4dd8e4(0x343),_0x3c6452[_0x4dd8e4(0x1ef)]=_0x4dd8e4(0x362),_0x3c6452[_0x4dd8e4(0x289)]=_0x4dd8e4(0x3a4),_0x3c6452[_0x4dd8e4(0x2ec)]=function(_0x5e140f,_0x15f5e5){return _0x5e140f===_0x15f5e5;},_0x3c6452[_0x4dd8e4(0x232)]=_0x4dd8e4(0x1e5),_0x3c6452[_0x4dd8e4(0x2c4)]=function(_0x4d4077,_0x2c06c){return _0x4d4077===_0x2c06c;},_0x3c6452['qTKHh']='Unknown\x20Test',_0x3c6452['MZYhl']=function(_0x5482f3,_0x136401){return _0x5482f3>_0x136401;},_0x3c6452[_0x4dd8e4(0x377)]='function',_0x3c6452[_0x4dd8e4(0x317)]=_0x4dd8e4(0x286),_0x3c6452[_0x4dd8e4(0x2d7)]=function(_0x2caf9e,_0x58cac3){return _0x2caf9e&&_0x58cac3;},_0x3c6452[_0x4dd8e4(0x312)]='unknown',_0x3c6452[_0x4dd8e4(0x205)]=_0x4dd8e4(0x233);const _0x4acf66=_0x3c6452;if(_0x4acf66[_0x4dd8e4(0x29d)](_0x1f1ac1[_0x4dd8e4(0x277)],_0x4acf66['lDVuJ'])&&_0x4acf66[_0x4dd8e4(0x2af)](_0x1f1ac1[_0x4dd8e4(0x277)],_0x4acf66[_0x4dd8e4(0x200)])){logger[_0x4dd8e4(0x356)](_0x4acf66[_0x4dd8e4(0x1db)]);return;}logger[_0x4dd8e4(0x207)](_0x4dd8e4(0x37b)+JSON[_0x4dd8e4(0x212)](_0x1f1ac1));try{const _0x38595a=AutomationFramework[_0x4dd8e4(0x29f)](),_0x3edcae=TestFramework[_0x4dd8e4(0x29f)](),_0x25019f=_0x1f1ac1[_0x4dd8e4(0x1e4)]||global[_0x4dd8e4(0x2d6)]?.[_0x4dd8e4(0x384)]||null;if(!_0x25019f){_0x3edcae&&_0x3edcae[_0x4dd8e4(0x31a)](_0x4acf66[_0x4dd8e4(0x399)],!![]);logger['debug'](_0x4acf66[_0x4dd8e4(0x216)]);return;}logger[_0x4dd8e4(0x356)](_0x4acf66[_0x4dd8e4(0x1ef)]);const _0x20bbf0=_0x3edcae?.[_0x4dd8e4(0x22f)](_0x4acf66[_0x4dd8e4(0x289)],![]),_0x52e992=_0x3edcae?.['getData'](_0x4acf66[_0x4dd8e4(0x399)],![]);if(_0x4acf66[_0x4dd8e4(0x2ec)](_0x20bbf0,![])&&_0x4acf66[_0x4dd8e4(0x2ec)](_0x52e992,![])){_0x3edcae&&_0x3edcae[_0x4dd8e4(0x31a)](_0x4acf66[_0x4dd8e4(0x289)],!![]);logger['debug'](_0x4acf66[_0x4dd8e4(0x232)]);return;}_0x3edcae&&_0x3edcae['updateData'](_0x4acf66['rSwtk'],!![]);let _0x5cb4f7,_0x33f669;const _0x4a731a=_0x1f1ac1[_0x4dd8e4(0x277)]||_0x4acf66[_0x4dd8e4(0x2a2)];if(_0x4acf66[_0x4dd8e4(0x2c4)](_0x4a731a,_0x4acf66[_0x4dd8e4(0x200)])){_0x33f669=_0x1f1ac1[_0x4dd8e4(0x397)]?.[_0x4dd8e4(0x36a)]||_0x1f1ac1['testInfo']?.['id']||global[_0x4dd8e4(0x2ac)]||global[_0x4dd8e4(0x2d6)]?.[_0x4dd8e4(0x2f8)]?.[_0x4dd8e4(0x36a)]||global['__workerDetails']?.[_0x4dd8e4(0x2f8)]?.['id'];const _0x36e0a5=_0x3edcae?.[_0x4dd8e4(0x1e1)]()?.[_0x4dd8e4(0x3aa)](_0x33f669);if(_0x36e0a5&&_0x36e0a5[TestFrameworkConstants['KEY_TEST_NAME']])_0x5cb4f7=_0x36e0a5[TestFrameworkConstants[_0x4dd8e4(0x20b)]];else{if(_0x1f1ac1[_0x4dd8e4(0x397)]?.[_0x4dd8e4(0x2ce)])_0x5cb4f7=_0x1f1ac1[_0x4dd8e4(0x397)]['titlePath'];else global[_0x4dd8e4(0x2d6)]?.[_0x4dd8e4(0x2f8)]?.[_0x4dd8e4(0x397)]?.['titlePath']?_0x5cb4f7=global[_0x4dd8e4(0x2d6)][_0x4dd8e4(0x2f8)][_0x4dd8e4(0x397)]['titlePath']:_0x5cb4f7=_0x4acf66[_0x4dd8e4(0x3ab)];}logger[_0x4dd8e4(0x356)]('[AccessibilityModule]\x20onBeforeTest:\x20Jest\x20-\x20testIdentifier='+_0x33f669+_0x4dd8e4(0x1de)+JSON[_0x4dd8e4(0x212)](_0x5cb4f7));}else{_0x33f669=this['getTestId'](_0x1f1ac1);const _0x2cdbda=TestInfo[_0x4dd8e4(0x1e6)](_0x33f669);let _0x18bb9f=[];if(_0x2cdbda&&Array[_0x4dd8e4(0x379)](_0x2cdbda[_0x4dd8e4(0x286)])&&_0x4acf66['MZYhl'](_0x2cdbda['test_tags'][_0x4dd8e4(0x300)],0x0))_0x18bb9f=_0x2cdbda[_0x4dd8e4(0x286)];else{if(_0x3edcae){const _0x2d7baa=_0x4acf66[_0x4dd8e4(0x2c4)](typeof _0x3edcae[_0x4dd8e4(0x22f)],_0x4acf66[_0x4dd8e4(0x377)])?_0x3edcae[_0x4dd8e4(0x22f)](_0x4acf66[_0x4dd8e4(0x317)],[]):_0x3edcae['test_tags']||[];Array['isArray'](_0x2d7baa)&&(_0x18bb9f=_0x2d7baa);}}_0x5cb4f7=_0x18bb9f;}logger['info']('test-tags-->\x20'+JSON[_0x4dd8e4(0x212)](_0x5cb4f7));const _0x4a960c=this[_0x4dd8e4(0x2f9)](_0x38595a,_0x1f1ac1[_0x4dd8e4(0x2c0)],_0x1f1ac1['launchCaps']);logger['debug'](_0x4dd8e4(0x31e)+_0x4a960c+_0x4dd8e4(0x2de)+this[_0x4dd8e4(0x32b)]);const _0x5174c4=this[_0x4dd8e4(0x36d)](_0x5cb4f7,_0x38595a,_0x4a731a),_0x1a5fb3=_0x4acf66[_0x4dd8e4(0x2d7)](_0x4a960c,_0x5174c4),_0x34b804=CLIUtils[_0x4dd8e4(0x394)]();this[_0x4dd8e4(0x29b)][_0x4dd8e4(0x35c)](_0x34b804,_0x1a5fb3),global[_0x4dd8e4(0x28d)]?.[_0x4dd8e4(0x349)]&&global[_0x4dd8e4(0x28d)][_0x4dd8e4(0x349)]()[_0x4dd8e4(0x30f)](_0x1a5fb3),logger[_0x4dd8e4(0x356)](_0x4dd8e4(0x226)+(_0x38595a?.[_0x4dd8e4(0x1f3)]?.()||_0x4acf66[_0x4dd8e4(0x312)])+_0x4dd8e4(0x340)+_0x1a5fb3),_0x1a5fb3?(global[_0x4dd8e4(0x24e)]=!![],process[_0x4dd8e4(0x387)][_0x4dd8e4(0x2a8)]=_0x4acf66[_0x4dd8e4(0x205)],this[_0x4dd8e4(0x38b)]()):global[_0x4dd8e4(0x24e)]=![];}catch(_0x1f70d4){logger[_0x4dd8e4(0x294)](_0x4dd8e4(0x1fa)+(_0x1f70d4[_0x4dd8e4(0x1f0)]||_0x1f70d4['message']));const _0x141485=CLIUtils['getCurrentInstanceName']();this[_0x4dd8e4(0x29b)]['set'](_0x141485,![]),global['accessibilityPlatform']=![];}}[a80_0x12b359(0x222)](){const _0x10f3d1=a80_0x12b359;return this[_0x10f3d1(0x2dd)]['find'](_0x3cd6d0=>_0x3cd6d0[_0x10f3d1(0x293)]()===_0x10f3d1(0x31f))?.[_0x10f3d1(0x2aa)]()||'';}['getCapabilityValue'](_0x4bee63){const _0x25c503=a80_0x12b359;try{const _0x49aaee=this[_0x25c503(0x2b8)]?.[_0x25c503(0x299)]?.[_0x25c503(0x210)]||[],_0x4242dc=_0x49aaee[_0x25c503(0x221)](_0x19dbdd=>_0x19dbdd[_0x25c503(0x22d)]===_0x4bee63);return _0x4242dc?_0x4242dc[_0x25c503(0x2d2)]:null;}catch(_0xb936fc){return logger['debug'](_0x25c503(0x29e)+_0x4bee63+':\x20'+_0xb936fc[_0x25c503(0x23f)]),null;}}async[a80_0x12b359(0x254)](_0x8ac97f,_0x2e817e){const _0x38516f=a80_0x12b359,_0x3f5543=_0x8ac97f['getAccessibility']()[_0x38516f(0x2bb)](),_0x2b9feb=_0x3f5543[_0x38516f(0x24b)](),_0x59b554=_0x3f5543[_0x38516f(0x311)]()?.[_0x38516f(0x27d)]();scripts['parseFromProto'](_0x2b9feb,_0x59b554),scripts['toJson']();const _0x24fb10=_0x3f5543[_0x38516f(0x332)]();this[_0x38516f(0x2dd)]=_0x3f5543[_0x38516f(0x332)](),await this[_0x38516f(0x1e7)](_0x24fb10,_0x2e817e[_0x38516f(0x224)]);}async[a80_0x12b359(0x1e7)](_0x444c22,_0x4557f0={}){const _0x19c476=a80_0x12b359,_0x434625={};_0x434625['YjlJk']=function(_0x1bd81f,_0x393af9){return _0x1bd81f===_0x393af9;},_0x434625[_0x19c476(0x37a)]=_0x19c476(0x36f),_0x434625[_0x19c476(0x21b)]=_0x19c476(0x2c8),_0x434625['Oieij']=_0x19c476(0x1ed),_0x434625[_0x19c476(0x1ec)]='browserstack.accessibilityOptions.wcagVersion',_0x434625['jUpUv']=function(_0x1fcfbe,_0x25f325){return _0x1fcfbe===_0x25f325;},_0x434625['WUuNp']=_0x19c476(0x27c),_0x434625[_0x19c476(0x1f2)]='browserstack.accessibilityOptions.scannerVersion',_0x434625[_0x19c476(0x339)]=function(_0x7a3144,_0x35f695){return _0x7a3144===_0x35f695;},_0x434625[_0x19c476(0x310)]=_0x19c476(0x298),_0x434625[_0x19c476(0x243)]='browserstack.accessibilityOptions.scannerProcessingTimeout';const _0x31c843=_0x434625;global[_0x19c476(0x35d)]=global['__accessibilityOptions']||{};for(const _0x3c00d5 of _0x444c22){logger[_0x19c476(0x207)](_0x19c476(0x273)+_0x3c00d5[_0x19c476(0x293)]()+_0x19c476(0x27b)+_0x3c00d5[_0x19c476(0x2aa)]());if(_0x31c843['YjlJk'](_0x3c00d5[_0x19c476(0x293)](),_0x31c843[_0x19c476(0x37a)]))process['env'][_0x19c476(0x2e3)]=_0x3c00d5[_0x19c476(0x2aa)](),global[_0x19c476(0x35d)][_0x31c843[_0x19c476(0x21b)]]=_0x3c00d5[_0x19c476(0x2aa)]();else{if(_0x31c843['YjlJk'](_0x3c00d5['getName'](),_0x31c843[_0x19c476(0x314)]))global[_0x19c476(0x35d)][_0x31c843['FbDis']]=_0x3c00d5['getValue']();else{if(_0x31c843[_0x19c476(0x21c)](_0x3c00d5[_0x19c476(0x293)](),_0x31c843['WUuNp']))global[_0x19c476(0x35d)][_0x31c843[_0x19c476(0x1f2)]]=_0x3c00d5['getValue']();else _0x31c843['feRrI'](_0x3c00d5[_0x19c476(0x293)](),_0x31c843['PDyvX'])&&(global[_0x19c476(0x35d)][_0x31c843[_0x19c476(0x243)]]=_0x3c00d5['getValue']());}}}}async[a80_0x12b359(0x22e)](_0x217210){const _0x4e41ee=a80_0x12b359,_0x262f48={};_0x262f48[_0x4e41ee(0x22b)]=function(_0x50c96c,_0x21802b){return _0x50c96c!==_0x21802b;},_0x262f48[_0x4e41ee(0x328)]=_0x4e41ee(0x359),_0x262f48[_0x4e41ee(0x395)]=_0x4e41ee(0x229),_0x262f48[_0x4e41ee(0x3a1)]='onAfterTest:\x20Skipping\x20accessibility\x20cleanup\x20-\x20not\x20a\x20supported\x20test\x20framework',_0x262f48[_0x4e41ee(0x1dd)]=_0x4e41ee(0x381);const _0x331bf0=_0x262f48;if(_0x331bf0[_0x4e41ee(0x22b)](_0x217210[_0x4e41ee(0x277)],_0x331bf0[_0x4e41ee(0x328)])&&_0x331bf0[_0x4e41ee(0x22b)](_0x217210[_0x4e41ee(0x277)],_0x331bf0[_0x4e41ee(0x395)])){logger['debug'](_0x331bf0[_0x4e41ee(0x3a1)]);return;}const _0x4aeb77=_0x217210['testInfo']?.[_0x4e41ee(0x36a)]||_0x217210['testInfo']?.['id']||global[_0x4e41ee(0x2ac)];logger[_0x4e41ee(0x207)](_0x4e41ee(0x318)+_0x217210['testFramework']+_0x4e41ee(0x378)+_0x4aeb77);try{const _0x555f5e=_0x217210[_0x4e41ee(0x1e9)]||AutomationFramework['getTrackedInstance'](),_0xce1a44=CLIUtils[_0x4e41ee(0x394)](),_0x1a2861=this[_0x4e41ee(0x25e)]();logger[_0x4e41ee(0x356)](_0x4e41ee(0x226)+(_0x555f5e?.[_0x4e41ee(0x1f3)]?.()||_0x331bf0['HlZLx'])+_0x4e41ee(0x1fb)+_0x1a2861),_0x1a2861&&await this[_0x4e41ee(0x272)](_0x555f5e,_0x217210),this[_0x4e41ee(0x29b)][_0x4e41ee(0x2da)](_0xce1a44),this[_0x4e41ee(0x208)][_0x4e41ee(0x2da)](_0xce1a44);}catch(_0x4084bc){logger[_0x4e41ee(0x294)]('Error\x20in\x20onAfterTest\x20accessibility\x20module:\x20'+(_0x4084bc[_0x4e41ee(0x1f0)]||_0x4084bc['message']));}}async[a80_0x12b359(0x272)](_0x284edb,_0x30b512){const _0x4fcd39=a80_0x12b359,_0x297db9={};_0x297db9[_0x4fcd39(0x1e0)]=function(_0x32b5fb,_0x29878f){return _0x32b5fb===_0x29878f;},_0x297db9[_0x4fcd39(0x2a0)]=_0x4fcd39(0x2a4),_0x297db9[_0x4fcd39(0x2b5)]='jest',_0x297db9['qVJsb']='cucumber',_0x297db9[_0x4fcd39(0x32d)]=function(_0x198411,_0x2688b0){return _0x198411===_0x2688b0;},_0x297db9[_0x4fcd39(0x316)]=_0x4fcd39(0x2e0),_0x297db9['SVWfJ']=_0x4fcd39(0x29b),_0x297db9[_0x4fcd39(0x373)]=_0x4fcd39(0x35f),_0x297db9[_0x4fcd39(0x238)]=_0x4fcd39(0x381),_0x297db9[_0x4fcd39(0x37d)]='present',_0x297db9['terOP']=_0x4fcd39(0x33c),_0x297db9['QQnEM']=function(_0x467598,_0x3c84da){return _0x467598||_0x3c84da;},_0x297db9[_0x4fcd39(0x326)]=function(_0xf37af4,_0x5915b9){return _0xf37af4||_0x5915b9;},_0x297db9[_0x4fcd39(0x247)]=_0x4fcd39(0x26c),_0x297db9['ZnOYm']=_0x4fcd39(0x38f);const _0x84f9d=_0x297db9;try{const _0x5b4c54=_0x30b512[_0x4fcd39(0x277)]||(_0x84f9d[_0x4fcd39(0x1e0)](this[_0x4fcd39(0x353)]?.[_0x4fcd39(0x22d)]?.[_0x4fcd39(0x25d)](),_0x84f9d[_0x4fcd39(0x2b5)])?_0x84f9d[_0x4fcd39(0x2b5)]:_0x84f9d[_0x4fcd39(0x2d4)]);let _0x577e2f='',_0x576ca5=null,_0xc46f3e=null;if(_0x84f9d['WcNVC'](_0x5b4c54,_0x84f9d['ifIHM'])){_0x576ca5=_0x30b512[_0x4fcd39(0x397)]?.[_0x4fcd39(0x36a)]||_0x30b512[_0x4fcd39(0x397)]?.['id']||global[_0x4fcd39(0x2ac)];if(!_0x576ca5){logger[_0x4fcd39(0x285)](_0x84f9d[_0x4fcd39(0x316)]);return;}try{const _0x1ff297=await GrpcClient[_0x4fcd39(0x1e3)]()[_0x4fcd39(0x287)](process[_0x4fcd39(0x387)]['BROWSERSTACK_CLI_BIN_SESSION_ID'],_0x84f9d[_0x4fcd39(0x31c)],_0x84f9d[_0x4fcd39(0x373)],_0x576ca5),_0x4d5b72=AccessibilityModule['loadDriverExecuteParams'](null,_0x1ff297);_0x577e2f=_0x4d5b72?.['thTestRunUuid']||'',logger[_0x4fcd39(0x356)](_0x4fcd39(0x3ac)+_0x577e2f+_0x4fcd39(0x352)+_0x576ca5),_0xc46f3e=_0x1ff297;}catch(_0x7e31b1){logger[_0x4fcd39(0x294)](_0x4fcd39(0x306)+_0x7e31b1['message']);return;}}else{const _0x3bae0e=this['getTestId'](_0x30b512);_0x577e2f=TestInfo[_0x4fcd39(0x2c9)](_0x3bae0e);}const _0x4bff10=((()=>{const _0x233310=_0x4fcd39,_0x2227e6=(this['accessibilityConfig']?.[_0x233310(0x299)]?.[_0x233310(0x210)]||[])[_0x233310(0x221)](_0x3cd9ac=>(typeof _0x3cd9ac[_0x233310(0x293)]==='function'?_0x3cd9ac[_0x233310(0x293)]():_0x3cd9ac[_0x233310(0x22d)])===this['KEY_TESTHUB_BUILD_ID']);return _0x2227e6?_0x84f9d[_0x233310(0x1e0)](typeof _0x2227e6[_0x233310(0x2aa)],_0x84f9d[_0x233310(0x2a0)])?_0x2227e6[_0x233310(0x2aa)]():_0x2227e6['value']:'';})()),_0x586b52=process[_0x4fcd39(0x387)][_0x4fcd39(0x2f4)]||'';logger[_0x4fcd39(0x356)](_0x4fcd39(0x226)+(_0x284edb?.['getPlatformIndex']?.()||_0x84f9d['vGpPK'])+_0x4fcd39(0x220)+_0x577e2f+'\x20testHubUuid='+_0x4bff10+_0x4fcd39(0x376)+(_0x586b52?_0x84f9d[_0x4fcd39(0x37d)]:_0x84f9d[_0x4fcd39(0x304)]));let _0x2840e7;if(_0x84f9d['WcNVC'](_0x5b4c54,_0x84f9d[_0x4fcd39(0x2b5)]))_0x2840e7=AccessibilityModule[_0x4fcd39(0x27a)](_0x577e2f,_0xc46f3e);else{const _0x5e5198=await GrpcClient['getInstance']()[_0x4fcd39(0x287)](process['env']['BROWSERSTACK_CLI_BIN_SESSION_ID'],_0x84f9d[_0x4fcd39(0x31c)],_0x84f9d['CsXhv']);_0x2840e7=AccessibilityModule[_0x4fcd39(0x27a)](_0x577e2f,_0x5e5198);}logger[_0x4fcd39(0x356)](_0x4fcd39(0x308)+JSON[_0x4fcd39(0x212)](_0x2840e7));const _0x17f5da=Object[_0x4fcd39(0x279)]({},{'thTestRunUuid':_0x84f9d[_0x4fcd39(0x251)](_0x577e2f,''),'thBuildUuid':_0x84f9d['fJONd'](_0x4bff10,''),'thJwtToken':_0x84f9d[_0x4fcd39(0x251)](_0x586b52,'')},_0x2840e7);logger[_0x4fcd39(0x356)](_0x4fcd39(0x37e)+_0x577e2f+_0x4fcd39(0x2de)+this[_0x4fcd39(0x32b)]);let _0x197834=global[_0x4fcd39(0x2d6)]?.['pwPage']||null;!_0x197834&&(_0x197834=AutomationFramework[_0x4fcd39(0x33b)](_0x284edb,_0x84f9d[_0x4fcd39(0x247)],null)),!_0x197834&&(_0x197834=AutomationFramework[_0x4fcd39(0x33b)](_0x284edb,_0x84f9d[_0x4fcd39(0x288)],null)),await this[_0x4fcd39(0x2c7)](this[_0x4fcd39(0x25e)](),_0x577e2f,_0x197834,_0x17f5da,this[_0x4fcd39(0x32b)]);}catch(_0x21256d){logger[_0x4fcd39(0x294)](_0x4fcd39(0x253)+(_0x21256d[_0x4fcd39(0x1f0)]||_0x21256d['message']));}}async[a80_0x12b359(0x2c7)](_0x3104f5,_0x5d69ac,_0x21bab5,_0x4e3799,_0x16b555){const _0x20e852=a80_0x12b359,_0x3f4ec9={};_0x3f4ec9[_0x20e852(0x307)]=_0x20e852(0x35f),_0x3f4ec9['rDYFj']=function(_0x273626,_0x5d6752){return _0x273626&&_0x5d6752;},_0x3f4ec9[_0x20e852(0x1f9)]=_0x20e852(0x2e5),_0x3f4ec9[_0x20e852(0x24d)]=function(_0x14a876,_0x3e4919){return _0x14a876===_0x3e4919;},_0x3f4ec9[_0x20e852(0x2fa)]=_0x20e852(0x33c),_0x3f4ec9[_0x20e852(0x2a6)]=_0x20e852(0x351),_0x3f4ec9[_0x20e852(0x320)]=_0x20e852(0x3a5),_0x3f4ec9[_0x20e852(0x2e2)]=_0x20e852(0x292),_0x3f4ec9[_0x20e852(0x302)]=_0x20e852(0x2c5),_0x3f4ec9[_0x20e852(0x372)]=function(_0x4d169d,_0x479f27){return _0x4d169d&&_0x479f27;},_0x3f4ec9[_0x20e852(0x25c)]='Running\x20Save\x20results\x20for\x20Accessibility\x20testing',_0x3f4ec9['bRIBL']=_0x20e852(0x2f3),_0x3f4ec9[_0x20e852(0x2ab)]=_0x20e852(0x260);const _0x50ab64=_0x3f4ec9;try{const _0x38c6fc=this[_0x20e852(0x1f8)](_0x50ab64[_0x20e852(0x307)]);if(_0x50ab64[_0x20e852(0x2bd)](!_0x16b555,!_0x38c6fc)){logger[_0x20e852(0x356)](_0x50ab64[_0x20e852(0x1f9)]);return;}if(!_0x5d69ac||_0x50ab64['oWgcu'](_0x5d69ac,_0x50ab64[_0x20e852(0x2fa)])||_0x50ab64[_0x20e852(0x24d)](_0x5d69ac,'')){logger[_0x20e852(0x356)](_0x50ab64[_0x20e852(0x2a6)]);return;}logger[_0x20e852(0x356)](_0x20e852(0x319)+JSON[_0x20e852(0x212)](_0x4e3799)),_0x3104f5&&(logger[_0x20e852(0x356)](_0x50ab64['hfBcp']),await this[_0x20e852(0x280)](_0x21bab5,_0x5d69ac,_0x50ab64[_0x20e852(0x2e2)],_0x4e3799,_0x16b555,_0x50ab64[_0x20e852(0x302)]),_0x50ab64[_0x20e852(0x372)](!_0x16b555,_0x38c6fc)&&(logger['debug'](_0x50ab64[_0x20e852(0x25c)]),await PerformanceTester[_0x20e852(0x281)](_0x50ab64[_0x20e852(0x2f2)],async()=>{const _0x264270=_0x20e852;await this[_0x264270(0x280)](_0x21bab5,_0x5d69ac,_0x50ab64[_0x264270(0x307)],_0x4e3799,_0x16b555,_0x50ab64['ynggy']);})()),logger[_0x20e852(0x207)](_0x50ab64[_0x20e852(0x2ab)]));}catch(_0xc57ac6){logger[_0x20e852(0x294)](_0x20e852(0x257)+(_0xc57ac6['stack']||_0xc57ac6[_0x20e852(0x23f)]));}}async[a80_0x12b359(0x237)](_0x14eb4d){const _0x41024f=a80_0x12b359,_0x4afe94={};_0x4afe94['jxXKF']=function(_0x1f0231,_0x5ec531){return _0x1f0231!==_0x5ec531;},_0x4afe94[_0x41024f(0x334)]='cucumber',_0x4afe94[_0x41024f(0x2fc)]=function(_0x1c7a5c,_0x154de7){return _0x1c7a5c!==_0x154de7;},_0x4afe94[_0x41024f(0x2b0)]='jest',_0x4afe94[_0x41024f(0x3a9)]=_0x41024f(0x2d9),_0x4afe94['OTdgP']=_0x41024f(0x381),_0x4afe94['RjAUV']=_0x41024f(0x206),_0x4afe94['pNHPO']=function(_0x4ceb95,_0x88a09f){return _0x4ceb95===_0x88a09f;},_0x4afe94[_0x41024f(0x215)]=_0x41024f(0x2ad),_0x4afe94[_0x41024f(0x389)]=_0x41024f(0x29b),_0x4afe94[_0x41024f(0x2a9)]=_0x41024f(0x23a),_0x4afe94[_0x41024f(0x269)]=_0x41024f(0x30d),_0x4afe94[_0x41024f(0x26b)]=_0x41024f(0x2a3),_0x4afe94[_0x41024f(0x2f6)]=_0x41024f(0x2c5),_0x4afe94['ltauq']=_0x41024f(0x33c);const _0x36426d=_0x4afe94;if(_0x36426d[_0x41024f(0x2c2)](_0x14eb4d[_0x41024f(0x277)],_0x36426d['UdFjU'])&&_0x36426d['MfMcz'](_0x14eb4d['testFramework'],_0x36426d[_0x41024f(0x2b0)])){logger[_0x41024f(0x356)](_0x36426d['gnrcI']);return;}logger['debug'](_0x41024f(0x2a5)+(_0x14eb4d[_0x41024f(0x1fc)]||_0x36426d[_0x41024f(0x34c)])+',\x20framework='+_0x14eb4d[_0x41024f(0x277)]);try{const _0x2aae4a=_0x14eb4d['instance']||AutomationFramework[_0x41024f(0x29f)](),_0x5e354e=TestFramework[_0x41024f(0x29f)](),_0x2eb37a=_0x14eb4d['commandName']||_0x14eb4d['command']?.[_0x41024f(0x293)]();if(!_0x2eb37a){logger[_0x41024f(0x356)](_0x36426d[_0x41024f(0x303)]);return;}if(!this['getCurrentAccessibilityStatus']()){logger[_0x41024f(0x356)](_0x41024f(0x35a)+_0x2eb37a);return;}if(!this[_0x41024f(0x22c)](_0x2eb37a)){logger['debug']('onBeforeExecute:\x20Command\x20'+_0x2eb37a+_0x41024f(0x255));return;}const _0x2f3e2a=_0x14eb4d[_0x41024f(0x1e4)]||global[_0x41024f(0x2d6)]?.['pwPage'];if(!_0x2f3e2a){logger['debug'](_0x41024f(0x1f5)+_0x2eb37a);return;}let _0x51de08='',_0x4dcfe5=null;if(_0x36426d[_0x41024f(0x367)](_0x14eb4d[_0x41024f(0x277)],_0x36426d[_0x41024f(0x2b0)])){_0x4dcfe5=_0x14eb4d[_0x41024f(0x397)]?.[_0x41024f(0x36a)]||_0x14eb4d[_0x41024f(0x397)]?.['id']||global[_0x41024f(0x2ac)];if(!_0x4dcfe5){logger['warn'](_0x36426d[_0x41024f(0x215)]);return;}try{const _0x3b68d5=await GrpcClient[_0x41024f(0x1e3)]()[_0x41024f(0x287)](process[_0x41024f(0x387)]['BROWSERSTACK_CLI_BIN_SESSION_ID'],_0x36426d['MNamn'],_0x36426d[_0x41024f(0x2a9)],_0x4dcfe5),_0x2d8078=AccessibilityModule['loadDriverExecuteParams'](null,_0x3b68d5);_0x51de08=_0x2d8078?.['thTestRunUuid']||'',logger[_0x41024f(0x356)](_0x41024f(0x375)+_0x51de08+_0x41024f(0x352)+_0x4dcfe5);}catch(_0x4aa09c){logger['error'](_0x41024f(0x2f0)+_0x4aa09c[_0x41024f(0x23f)]);return;}}else _0x51de08=this[_0x41024f(0x31d)](_0x36426d[_0x41024f(0x269)])||'';const _0x465c6d=this[_0x41024f(0x31d)](_0x36426d['nDBDL'])||this[_0x41024f(0x2b8)][this[_0x41024f(0x268)]]||null,_0x4c2578=process['env'][_0x41024f(0x2f4)]||'',_0xd3dca5=this[_0x41024f(0x1ee)](_0x2eb37a,_0x51de08,_0x465c6d,_0x4c2578),_0x493e03=_0x36426d['pNHPO'](_0x14eb4d[_0x41024f(0x277)],_0x36426d['gkkvd'])?await AccessibilityModule[_0x41024f(0x371)](_0x36426d[_0x41024f(0x2f6)],_0x51de08,_0x4dcfe5):await AccessibilityModule[_0x41024f(0x371)](_0x36426d[_0x41024f(0x2f6)],_0x51de08);logger[_0x41024f(0x207)](_0x41024f(0x388)+(_0xd3dca5?JSON[_0x41024f(0x212)](_0xd3dca5):_0x36426d['ltauq']));const _0x7b4d31=CLIUtils[_0x41024f(0x329)](_0xd3dca5,_0x493e03);logger[_0x41024f(0x207)]('MergedScanArgs:\x20'+(_0x7b4d31?JSON[_0x41024f(0x212)](_0x7b4d31):_0x36426d['ltauq'])),logger[_0x41024f(0x356)](_0x41024f(0x39b)+_0x2eb37a);const _0xb2e263=await this['performScanForCli'](_0x2f3e2a,_0x51de08,_0x2eb37a,_0x7b4d31,this['isAppAccessibility']);logger[_0x41024f(0x356)]('onBeforeExecute:\x20Accessibility\x20scan\x20completed\x20for\x20command:\x20'+_0x2eb37a+_0x41024f(0x258)+_0xb2e263);}catch(_0x37e987){logger[_0x41024f(0x294)](_0x41024f(0x262)+(_0x37e987[_0x41024f(0x1f0)]||_0x37e987[_0x41024f(0x23f)]));}}[a80_0x12b359(0x2ed)](){const _0x5da913=a80_0x12b359;return this[_0x5da913(0x25e)]();}[a80_0x12b359(0x27f)](_0x11acf7){const _0x429022=a80_0x12b359,_0x3ef907=CLIUtils['getCurrentInstanceName']();this['accessibility'][_0x429022(0x35c)](_0x3ef907,_0x11acf7);}async['initAccessibilityConfig'](_0x364dec){const _0x16772f=a80_0x12b359,_0x184208={};_0x184208[_0x16772f(0x2e9)]=_0x16772f(0x381);const _0x3b3edd=_0x184208;try{const _0x445ba8=_0x364dec['instance']||AutomationFramework[_0x16772f(0x29f)](),_0x482b1d=_0x445ba8?.['getData']?.()?.[_0x16772f(0x3aa)]?.(this[_0x16772f(0x24f)])||![];if(_0x482b1d)return;PerformanceTester[_0x16772f(0x346)](EVENTS[_0x16772f(0x21f)]);const _0x3b96ee=await GrpcClient[_0x16772f(0x1e3)]()[_0x16772f(0x1e2)](_0x364dec);_0x3b96ee&&_0x3b96ee[_0x16772f(0x217)]&&_0x3b96ee[_0x16772f(0x217)]()&&_0x3b96ee[_0x16772f(0x217)]()['getSuccess']()?(await this['loadAccessibilityConfig'](_0x3b96ee,_0x364dec),_0x445ba8?.[_0x16772f(0x22f)]&&_0x445ba8[_0x16772f(0x22f)]()['set'](this['KEY_INIT'],!![]),logger[_0x16772f(0x356)](_0x16772f(0x226)+(_0x445ba8?.[_0x16772f(0x1f3)]?.()||_0x3b3edd[_0x16772f(0x2e9)])+_0x16772f(0x37c))):logger['debug'](_0x16772f(0x226)+(_0x445ba8?.[_0x16772f(0x1f3)]?.()||_0x3b3edd[_0x16772f(0x2e9)])+_0x16772f(0x24c)),PerformanceTester['end'](EVENTS[_0x16772f(0x21f)]);}catch(_0x25171a){PerformanceTester[_0x16772f(0x252)](EVENTS[_0x16772f(0x21f)],![],_0x25171a[_0x16772f(0x23f)]),logger['error'](_0x16772f(0x291)+(_0x25171a['stack']||_0x25171a[_0x16772f(0x23f)]));}}async[a80_0x12b359(0x234)](_0x20aba7,_0x589f32){const _0x24d567=a80_0x12b359;await this[_0x24d567(0x254)](_0x20aba7,_0x589f32);const _0x3a96a7=_0x20aba7[_0x24d567(0x217)]()[_0x24d567(0x2bb)]();if(_0x3a96a7){const _0x4fd8bf=_0x20aba7['getTesthub']&&_0x20aba7[_0x24d567(0x28b)]();_0x4fd8bf&&(this[_0x24d567(0x2b8)][this['KEY_TESTHUB_BUILD_ID']]=_0x4fd8bf[_0x24d567(0x36b)]&&_0x4fd8bf[_0x24d567(0x36b)]());}}[a80_0x12b359(0x22c)](_0x4565f7){const _0x2a8658=a80_0x12b359,_0x26c614={};_0x26c614['xWLOQ']=function(_0x30fe1d,_0x896a68){return _0x30fe1d===_0x896a68;};const _0x2bd36f=_0x26c614;try{if(!_0x4565f7)return![];const _0x8cfd8c=this[_0x2a8658(0x2b8)]?.[_0x2a8658(0x299)]?.['commandsToWrap']?.[_0x2a8658(0x3a3)]||[],_0x32199b=_0x8cfd8c[_0x2a8658(0x2fb)](_0x3fbdbe=>{const _0x4372a7=_0x2a8658;return _0x3fbdbe['name']&&_0x2bd36f[_0x4372a7(0x244)](_0x3fbdbe[_0x4372a7(0x22d)][_0x4372a7(0x25d)](),_0x4565f7['toLowerCase']());});return logger[_0x2a8658(0x356)](_0x2a8658(0x392)+_0x4565f7+_0x2a8658(0x34f)+_0x32199b+_0x2a8658(0x333)+JSON['stringify'](_0x8cfd8c[_0x2a8658(0x34d)](_0x472e9d=>_0x472e9d[_0x2a8658(0x22d)]))),_0x32199b;}catch(_0x5359e9){return logger[_0x2a8658(0x356)](_0x2a8658(0x26e)+_0x5359e9[_0x2a8658(0x23f)]),![];}}[a80_0x12b359(0x2d3)](_0x22e894){const _0x263db6=a80_0x12b359,_0x35ff95={};_0x35ff95[_0x263db6(0x240)]=function(_0x3926ef,_0x3f4139){return _0x3926ef===_0x3f4139;},_0x35ff95['iOWBS']=_0x263db6(0x366),_0x35ff95['JLbcK']=_0x263db6(0x1df);const _0x4dad0c=_0x35ff95,_0x130a38=_0x22e894[_0x263db6(0x28a)]&&_0x22e894['getScript']();return _0x130a38&&_0x4dad0c[_0x263db6(0x240)](typeof _0x130a38,_0x4dad0c[_0x263db6(0x2a1)])&&_0x130a38['includes'](_0x4dad0c[_0x263db6(0x21e)]);}[a80_0x12b359(0x231)](_0x5ccdf1){const _0x18af9b=a80_0x12b359,_0x241dc5={};_0x241dc5[_0x18af9b(0x20f)]=function(_0x1fc2d1,_0x109206){return _0x1fc2d1!==_0x109206;},_0x241dc5['bJsnd']=_0x18af9b(0x366),_0x241dc5[_0x18af9b(0x2b4)]=_0x18af9b(0x29b),_0x241dc5['pIYRf']=_0x18af9b(0x23a),_0x241dc5[_0x18af9b(0x33f)]=_0x18af9b(0x23e),_0x241dc5['yDLaX']='saveTestResults';const _0x5cf83c=_0x241dc5,_0xb4bc72=_0x5ccdf1[_0x18af9b(0x28a)]&&_0x5ccdf1['getScript']();if(!_0xb4bc72||_0x5cf83c[_0x18af9b(0x20f)](typeof _0xb4bc72,_0x5cf83c[_0x18af9b(0x368)]))return![];return _0xb4bc72[_0x18af9b(0x2eb)](_0x5cf83c[_0x18af9b(0x2b4)])||_0xb4bc72[_0x18af9b(0x2eb)](_0x5cf83c['pIYRf'])||_0xb4bc72['includes'](_0x5cf83c[_0x18af9b(0x33f)])||_0xb4bc72[_0x18af9b(0x2eb)](_0x5cf83c[_0x18af9b(0x34e)]);}[a80_0x12b359(0x1ee)](_0x22b4cc,_0x3a5ac3,_0x1f6944,_0x45633f){const _0x3ddb5e=a80_0x12b359,_0x1d11a2={};_0x1d11a2['cSdAW']=function(_0x41a161,_0x8b4f2c){return _0x41a161||_0x8b4f2c;},_0x1d11a2[_0x3ddb5e(0x2ea)]=function(_0x1b61f0,_0x23c445){return _0x1b61f0||_0x23c445;},_0x1d11a2[_0x3ddb5e(0x345)]=function(_0x13b4bf,_0x56a85b){return _0x13b4bf||_0x56a85b;};const _0x5d2127=_0x1d11a2;return{'command':_0x22b4cc,'thTestRunUuid':_0x5d2127[_0x3ddb5e(0x2d5)](_0x3a5ac3,''),'thBuildUuid':_0x5d2127[_0x3ddb5e(0x2ea)](_0x1f6944,''),'thJwtToken':_0x5d2127['XpipL'](_0x45633f,''),'timestamp':new Date()[_0x3ddb5e(0x1f4)]()};}[a80_0x12b359(0x1f8)](_0x4013e3){const _0x4bdecc=a80_0x12b359,_0x581ea9={};_0x581ea9[_0x4bdecc(0x2f1)]=function(_0x5e9f8c,_0x34c8cc){return _0x5e9f8c||_0x34c8cc;};const _0x169d62=_0x581ea9;try{const _0x870ef8=this['accessibilityConfig']?.['options']?.[_0x4bdecc(0x32c)]||[],_0x4e9e50=_0x870ef8['find'](_0x2aba87=>_0x2aba87[_0x4bdecc(0x22d)]===_0x4013e3);return _0x169d62[_0x4bdecc(0x2f1)](_0x4e9e50,null);}catch(_0x1b6ba8){return logger[_0x4bdecc(0x356)](_0x4bdecc(0x39a)+_0x4013e3+':\x20'+_0x1b6ba8['message']),null;}}async[a80_0x12b359(0x38e)](_0x1d21c2,_0x3167cf,_0x2c92ca=null){const _0x17e760=a80_0x12b359,_0x5106fd={'jDpdB':function(_0x50474b,_0x3fbe3f){return _0x50474b(_0x3fbe3f);},'tCdaw':_0x17e760(0x25f)};try{if(!_0x1d21c2)return logger['debug']('executeScriptByName:\x20Page\x20is\x20null\x20for\x20script\x20'+_0x3167cf),null;const _0x25678c=this['getScriptByName'](_0x3167cf);if(!_0x25678c||!_0x25678c[_0x17e760(0x219)])return logger[_0x17e760(0x356)]('executeScriptByName:\x20No\x20'+_0x3167cf+'\x20script\x20available'),null;logger['debug'](_0x17e760(0x214)+_0x3167cf+'\x20accessibility\x20script\x20on\x20page');const _0x4ea11f=_0x5106fd['jDpdB'](require,_0x5106fd[_0x17e760(0x211)]),_0x2417c3=_0x2c92ca?await _0x4ea11f['browserStackEvaluate'](_0x1d21c2,_0x25678c[_0x17e760(0x219)],_0x2c92ca):await _0x4ea11f[_0x17e760(0x2ff)](_0x1d21c2,_0x25678c[_0x17e760(0x219)]);return _0x2417c3;}catch(_0x5c166e){return logger[_0x17e760(0x294)](_0x17e760(0x347)+_0x3167cf+':\x20'+(_0x5c166e['stack']||_0x5c166e[_0x17e760(0x23f)])),null;}}async['performScanForCli'](_0xb2ad44,_0xb0bde,_0xfb8dca,_0x4babd7,_0x3c1547,_0xee2c6b=a80_0x12b359(0x2c5)){const _0x18d4eb=a80_0x12b359,_0x4dd03={'rHqpc':function(_0xcfade2,_0x386c22){return _0xcfade2===_0x386c22;},'ToCmb':'scan','gNyOJ':function(_0x3e622d,_0x4abb5b){return _0x3e622d(_0x4abb5b);},'KMHOP':_0x18d4eb(0x25f),'ziexL':function(_0x3cd310,_0x30c592){return _0x3cd310(_0x30c592);}};try{logger[_0x18d4eb(0x356)](_0x18d4eb(0x239)+_0xfb8dca+_0x18d4eb(0x28e)+_0xee2c6b);const _0xb26e66=this[_0x18d4eb(0x1f8)](_0xee2c6b);if(!_0xb26e66||!_0xb26e66[_0x18d4eb(0x219)]){logger['debug'](_0x18d4eb(0x28f)+_0xee2c6b+_0x18d4eb(0x2f7));return;}if(_0x4dd03['rHqpc'](_0xee2c6b,_0x4dd03[_0x18d4eb(0x390)])){const _0x15437c=_0x4dd03[_0x18d4eb(0x21a)](require,_0x4dd03[_0x18d4eb(0x259)]),_0x420a35={};_0x420a35[_0x18d4eb(0x219)]=_0xfb8dca;const _0x4a4908=await PerformanceTester[_0x18d4eb(0x281)](PerformanceA11yEvents[_0x18d4eb(0x382)],async()=>{const _0x335ae1=_0x18d4eb;await _0x15437c[_0x335ae1(0x2ff)](_0xb2ad44,_0xb26e66['command']);},_0x420a35)();return logger[_0x18d4eb(0x207)](_0x18d4eb(0x386)+_0xee2c6b+_0x18d4eb(0x39f)+_0xfb8dca+':\x20'+util[_0x18d4eb(0x278)](_0x4a4908)),_0x4a4908;}const _0x3017ba=_0x4dd03[_0x18d4eb(0x2e7)](require,_0x4dd03['KMHOP']),_0x25897f=await PerformanceTester[_0x18d4eb(0x281)](PerformanceA11yEvents[_0x18d4eb(0x305)],async()=>{const _0x30f128=_0x18d4eb;await _0x3017ba[_0x30f128(0x2ff)](_0xb2ad44,_0xb26e66[_0x30f128(0x219)],_0x4babd7);})();return logger[_0x18d4eb(0x207)](_0x18d4eb(0x386)+_0xee2c6b+_0x18d4eb(0x39f)+_0xfb8dca+':\x20'+util['format'](_0x25897f)),_0x25897f;}catch(_0x28d25c){logger['error'](_0x18d4eb(0x35e)+_0xee2c6b+':\x20'+(_0x28d25c[_0x18d4eb(0x1f0)]||_0x28d25c[_0x18d4eb(0x23f)]));}}async[a80_0x12b359(0x35b)](_0x4697b3){const _0x3a0868=a80_0x12b359,_0x5afd0f={'kuTTx':function(_0x34c7fa,_0x13447a){return _0x34c7fa(_0x13447a);},'laQER':_0x3a0868(0x248)};try{const _0x36c229=_0x5afd0f[_0x3a0868(0x3a2)](require,_0x5afd0f['laQER']);return await _0x36c229[_0x3a0868(0x348)](_0x4697b3);}catch(_0x4a06ff){return logger[_0x3a0868(0x294)](_0x3a0868(0x398)+(_0x4a06ff['stack']||_0x4a06ff[_0x3a0868(0x23f)])),![];}}[a80_0x12b359(0x2cc)](_0x239930,_0x383dac,_0x1a0d1b){const _0xdc9141=a80_0x12b359,_0x7b6ad1={'QQAoH':function(_0x32ce80,_0x529f09){return _0x32ce80(_0x529f09);},'qwppl':'../../playwright/accessibility-helper','zezDo':'\x22browserstack.user\x22:\x22[REDACTED]\x22','kuwUD':_0xdc9141(0x23c)};try{const _0x6fb8df=_0x7b6ad1[_0xdc9141(0x270)](require,_0x7b6ad1[_0xdc9141(0x2d0)]);_0x6fb8df[_0xdc9141(0x2cc)](_0x239930,_0x383dac,_0x1a0d1b);const _0x1f6019=JSON[_0xdc9141(0x212)](_0x239930)[_0xdc9141(0x34a)](/"browserstack\.user":"[^"]*"/g,_0x7b6ad1['zezDo'])[_0xdc9141(0x34a)](/"browserstack\.key":"[^"]*"/g,_0x7b6ad1[_0xdc9141(0x2ae)]);logger[_0xdc9141(0x356)](_0xdc9141(0x2d8)+global[_0xdc9141(0x24e)]+'\x20'+_0x1f6019);}catch(_0x4a2eb2){logger[_0xdc9141(0x294)]('Error\x20in\x20processAccessibilityCaps:\x20'+(_0x4a2eb2[_0xdc9141(0x1f0)]||_0x4a2eb2[_0xdc9141(0x23f)]));}}async[a80_0x12b359(0x203)](_0x12915c){const _0x4cf068=a80_0x12b359,_0x4dc147={};_0x4dc147[_0x4cf068(0x20c)]='Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20results.',_0x4dc147[_0x4cf068(0x246)]=_0x4cf068(0x23e);const _0x47da04=_0x4dc147;try{if(!this[_0x4cf068(0x25e)]())return logger['warn'](_0x47da04[_0x4cf068(0x20c)]),[];const _0x4bc8d0=await this[_0x4cf068(0x38e)](_0x12915c,_0x47da04['vWbyw']);return _0x4bc8d0||[];}catch(_0x3e7e27){return logger[_0x4cf068(0x294)](_0x4cf068(0x335)+(_0x3e7e27['stack']||_0x3e7e27['message'])),[];}}async[a80_0x12b359(0x1f7)](_0x168b2c){const _0x308aad=a80_0x12b359,_0x5481d0={'SQyPo':_0x308aad(0x2c5),'vdEXT':_0x308aad(0x30c),'LsvqB':_0x308aad(0x296),'QLGrG':function(_0x224eaa,_0x57fa2e){return _0x224eaa(_0x57fa2e);},'OeoJv':_0x308aad(0x322),'Cgqho':function(_0x3cbdad,_0x5dba7d){return _0x3cbdad===_0x5dba7d;},'pvAMh':'jest','JjbHh':_0x308aad(0x2fe),'mhuZP':_0x308aad(0x29b),'fgPkZ':_0x308aad(0x2a3),'JcDTo':_0x308aad(0x1f7),'KlWNS':_0x308aad(0x30d),'pgiXj':_0x308aad(0x225),'pPCeW':_0x308aad(0x2e1)};try{if(!this['getCurrentAccessibilityStatus']())return logger['warn'](_0x5481d0['LsvqB']),{};const _0x24c0a6=_0x5481d0['QLGrG'](require,_0x5481d0['OeoJv']),_0x127178=_0x24c0a6['getTestFrameworkDetail'](),_0x2326c9=_0x5481d0['Cgqho'](_0x127178?.['name']?.[_0x308aad(0x25d)](),_0x5481d0[_0x308aad(0x295)]);let _0x249238='',_0x15ab6f=null,_0x34b3da=null;if(_0x2326c9){_0x15ab6f=global[_0x308aad(0x2ac)]||global[_0x308aad(0x2d6)]?.['currentTest']?.[_0x308aad(0x36a)]||global[_0x308aad(0x2d6)]?.[_0x308aad(0x2f8)]?.['id'];if(!_0x15ab6f)return logger[_0x308aad(0x285)](_0x5481d0[_0x308aad(0x32e)]),{};try{const _0x5db788=await GrpcClient[_0x308aad(0x1e3)]()[_0x308aad(0x287)](process[_0x308aad(0x387)][_0x308aad(0x38c)],_0x5481d0[_0x308aad(0x30e)],_0x5481d0[_0x308aad(0x330)],_0x15ab6f),_0x1bccd8=AccessibilityModule[_0x308aad(0x27a)](null,_0x5db788);_0x249238=_0x1bccd8?.[_0x308aad(0x370)]||'',logger[_0x308aad(0x356)](_0x308aad(0x3a8)+_0x249238+_0x308aad(0x352)+_0x15ab6f);const _0x521126=await AccessibilityModule[_0x308aad(0x371)](_0x5481d0[_0x308aad(0x330)],_0x249238,_0x15ab6f),_0x222d66=this[_0x308aad(0x31d)](_0x5481d0[_0x308aad(0x26a)])||this[_0x308aad(0x2b8)][this[_0x308aad(0x268)]]||null,_0x1cba01=process[_0x308aad(0x387)][_0x308aad(0x2f4)]||'',_0x4f8cdc=this[_0x308aad(0x1ee)](_0x5481d0['JcDTo'],_0x249238,_0x222d66,_0x1cba01);_0x34b3da=_0x24c0a6[_0x308aad(0x329)](_0x4f8cdc,_0x521126),logger[_0x308aad(0x356)](_0x308aad(0x3a6)+JSON[_0x308aad(0x212)](_0x34b3da));}catch(_0x5361b8){return logger['error']('getAccessibilityResultsSummary:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20'+_0x5361b8['message']),{};}}else{_0x249238=this[_0x308aad(0x31d)](_0x5481d0['KlWNS'])||'';const _0x167fff=this[_0x308aad(0x31d)](_0x5481d0['fgPkZ'])||this[_0x308aad(0x2b8)][this['KEY_TESTHUB_BUILD_ID']]||null,_0x1f0e3e=process[_0x308aad(0x387)][_0x308aad(0x2f4)]||'';_0x34b3da=this[_0x308aad(0x1ee)](_0x5481d0[_0x308aad(0x2db)],_0x249238,_0x167fff,_0x1f0e3e);}logger['debug'](_0x5481d0[_0x308aad(0x202)]),await PerformanceTester[_0x308aad(0x281)](PerformanceA11yEvents[_0x308aad(0x382)],async()=>{const _0xfbb8e8=_0x308aad,_0x48eaea=await this['executeScriptByName'](_0x168b2c,_0x5481d0[_0xfbb8e8(0x283)],_0x34b3da);logger['debug'](_0xfbb8e8(0x380)+util[_0xfbb8e8(0x278)](_0x48eaea));},{'command':_0x5481d0[_0x308aad(0x2db)]})();const _0x56efed=await PerformanceTester[_0x308aad(0x281)](PerformanceA11yEvents['GET_RESULTS_SUMMARY'],async()=>{const _0x351d9a=_0x308aad;return await this[_0x351d9a(0x38e)](_0x168b2c,_0x5481d0[_0x351d9a(0x330)],_0x34b3da);})();if(!_0x56efed)return logger[_0x308aad(0x356)](_0x5481d0['pPCeW']),{};return _0x56efed;}catch(_0x132dc0){return logger['error'](_0x308aad(0x2c6)+(_0x132dc0[_0x308aad(0x1f0)]||_0x132dc0[_0x308aad(0x23f)])),{};}}async[a80_0x12b359(0x297)](_0x2d3830,_0x547843,_0x209d3=null){const _0x57f4c2=a80_0x12b359,_0x13e7a9={};_0x13e7a9['dyoTE']=_0x57f4c2(0x32f),_0x13e7a9[_0x57f4c2(0x1f1)]=_0x57f4c2(0x2f5),_0x13e7a9[_0x57f4c2(0x242)]=_0x57f4c2(0x2b3);const _0x76cfe7=_0x13e7a9;try{if(!_0x2d3830)return logger[_0x57f4c2(0x356)](_0x76cfe7[_0x57f4c2(0x369)]),null;if(!_0x547843)return logger[_0x57f4c2(0x356)](_0x76cfe7['XCriM']),null;logger['debug'](_0x76cfe7['pDJfb']);const _0x7a4b59=_0x209d3?await _0x2d3830['evaluate'](_0x547843,_0x209d3):await _0x2d3830[_0x57f4c2(0x23b)](_0x547843);return _0x7a4b59;}catch(_0x48f232){return logger[_0x57f4c2(0x294)](_0x57f4c2(0x235)+(_0x48f232['stack']||_0x48f232[_0x57f4c2(0x23f)])),null;}}static[a80_0x12b359(0x27a)](_0x3e04b2,_0x5dc5d4){const _0x3efc15=a80_0x12b359,_0x3b3cae={};_0x3b3cae[_0x3efc15(0x266)]=_0x3efc15(0x20e);const _0x253ede=_0x3b3cae,_0x5c756d={};_0x5c756d['thTestRunUuid']=_0x3e04b2;const _0x3f570a=_0x5c756d;let _0x5e0a1d={};if(_0x5dc5d4[_0x3efc15(0x25a)]()&&_0x5dc5d4['hasAccessibilityExecuteParams']())try{_0x5e0a1d=JSON[_0x3efc15(0x396)](new Buffer(_0x5dc5d4[_0x3efc15(0x2cb)]())[_0x3efc15(0x36e)](_0x253ede[_0x3efc15(0x266)]));}catch(_0x585da2){logger[_0x3efc15(0x294)](_0x3efc15(0x32a)+_0x585da2[_0x3efc15(0x23f)]),_0x5e0a1d={};}return CLIUtils['mergeObject'](_0x3f570a,_0x5e0a1d);}static async['fetchCentralAuthA11yConfig'](_0x24064d,_0x27b49a='',_0x120153=null){const _0x561696=a80_0x12b359,_0x593ea5={};_0x593ea5[_0x561696(0x1fe)]=_0x561696(0x2e6),_0x593ea5[_0x561696(0x2be)]=_0x561696(0x29b);const _0x2898da=_0x593ea5;try{if(!_0x120153&&AccessibilityModule[_0x561696(0x230)])return AccessibilityModule[_0x561696(0x2d1)];if(!process[_0x561696(0x387)][_0x561696(0x38c)])return logger[_0x561696(0x294)](_0x2898da[_0x561696(0x1fe)]),{};const _0x2af643=await GrpcClient[_0x561696(0x1e3)]()[_0x561696(0x287)](process[_0x561696(0x387)][_0x561696(0x38c)],_0x2898da[_0x561696(0x2be)],_0x24064d,_0x120153),_0x25ce49=_0x120153?AccessibilityModule[_0x561696(0x27a)](null,_0x2af643)?.[_0x561696(0x370)]||_0x27b49a:_0x27b49a,_0x3c86e0=AccessibilityModule[_0x561696(0x27a)](_0x25ce49,_0x2af643);return!_0x120153&&(AccessibilityModule[_0x561696(0x2d1)]=_0x3c86e0,AccessibilityModule['_centralAuthConfigFetched']=!![]),_0x3c86e0;}catch(_0x4de85f){return logger[_0x561696(0x294)](_0x561696(0x336)+_0x24064d+':\x20'+(_0x4de85f[_0x561696(0x1f0)]||_0x4de85f[_0x561696(0x23f)])),{};}}};function a80_0x95f4(_0x2e0bb4,_0x12d00e){const _0x126dcf=a80_0x126d();return a80_0x95f4=function(_0x95f4a7,_0x40e1f1){_0x95f4a7=_0x95f4a7-0x1db;let _0x3c1d05=_0x126dcf[_0x95f4a7];return _0x3c1d05;},a80_0x95f4(_0x2e0bb4,_0x12d00e);}module[a80_0x12b359(0x331)]=AccessibilityModule;
@@ -1 +1 @@
1
- function a81_0x195b(_0x1d786f,_0x4fcf81){const _0x5c055d=a81_0x5c05();return a81_0x195b=function(_0x195b10,_0x4de0e7){_0x195b10=_0x195b10-0xc4;let _0x2aeeb6=_0x5c055d[_0x195b10];return _0x2aeeb6;},a81_0x195b(_0x1d786f,_0x4fcf81);}const a81_0x1e92ca=a81_0x195b;function a81_0x5c05(){const _0x376b72=['object','1528145KsdwUo','108nEZLqa','Configured\x20module\x20','setTestFrameworkData','iqLfn','4852956xaCrvS','testId','ensureBinSession','2|4|1|3|0','testInfo','2426078YbWSWe',',\x20platformIndex=','1222434BvOlzY','QRPbP','version','split','12fKxffG','1091846BqgafE','kMKtE','getModuleName','winstonLogger','GuQtv','exports','3WTlzZt','uAxau','141296EeGsHl','binSessionId','name','_test','20yyeBRQ','ebPex','client','GGUcZ','testFramework','platformIndex','OQaUO','testFrameworkData','PLAYWRIGHT','getTestId','CUCUMBER','JEST','11856889rzOemw'];a81_0x5c05=function(){return _0x376b72;};return a81_0x5c05();}(function(_0x172378,_0xab5700){const _0x1182d0=a81_0x195b,_0x4f5762=_0x172378();while(!![]){try{const _0x1e2aea=parseInt(_0x1182d0(0xce))/0x1+parseInt(_0x1182d0(0xcc))/0x2*(-parseInt(_0x1182d0(0xd9))/0x3)+-parseInt(_0x1182d0(0xd2))/0x4*(parseInt(_0x1182d0(0xed))/0x5)+-parseInt(_0x1182d0(0xc7))/0x6+parseInt(_0x1182d0(0xd3))/0x7+-parseInt(_0x1182d0(0xdb))/0x8*(-parseInt(_0x1182d0(0xee))/0x9)+-parseInt(_0x1182d0(0xdf))/0xa*(-parseInt(_0x1182d0(0xeb))/0xb);if(_0x1e2aea===_0xab5700)break;else _0x4f5762['push'](_0x4f5762['shift']());}catch(_0x105ca3){_0x4f5762['push'](_0x4f5762['shift']());}}}(a81_0x5c05,0xc51ea));const logger=require('../../../helpers/logger.js')[a81_0x1e92ca(0xd6)],{FRAMEWORKS}=require('../../../helpers/test-observability/constants.js');class BaseModule{constructor(_0x33a68b=null){const _0x463a8b=a81_0x1e92ca,_0x21ccad={};_0x21ccad[_0x463a8b(0xc6)]='3|1|2|4|5|0',_0x21ccad[_0x463a8b(0xe2)]='BaseModule';const _0x1b80b7=_0x21ccad,_0x1eb067=_0x1b80b7[_0x463a8b(0xc6)][_0x463a8b(0xd1)]('|');let _0x4c789d=0x0;while(!![]){switch(_0x1eb067[_0x4c789d++]){case'0':this[_0x463a8b(0xe6)]=this[_0x463a8b(0xc5)](_0x33a68b);continue;case'1':this[_0x463a8b(0xdc)]=null;continue;case'2':this[_0x463a8b(0xe4)]=0x0;continue;case'3':this['name']=_0x1b80b7[_0x463a8b(0xe2)];continue;case'4':this['config']={};continue;case'5':this[_0x463a8b(0xe1)]=null;continue;}break;}}[a81_0x1e92ca(0xc9)](){const _0x38961b=a81_0x1e92ca,_0x2921d5={};_0x2921d5['ebPex']='Missing\x20binSessionId';const _0x6a5349=_0x2921d5;if(!this['binSessionId'])throw new Error(_0x6a5349[_0x38961b(0xe0)]);}[a81_0x1e92ca(0xd5)](){const _0x32e43b=a81_0x1e92ca;return this[_0x32e43b(0xdd)];}['configure'](_0x5e77d6,_0x553f4c,_0x52ac9c,_0xb206e9={}){const _0x2b1d2d=a81_0x1e92ca,_0x10979b={};_0x10979b[_0x2b1d2d(0xda)]=_0x2b1d2d(0xca);const _0x4872b2=_0x10979b,_0x3158bf=_0x4872b2['uAxau']['split']('|');let _0x2d34b8=0x0;while(!![]){switch(_0x3158bf[_0x2d34b8++]){case'0':logger['debug'](_0x2b1d2d(0xc4)+this[_0x2b1d2d(0xd5)]()+'\x20with\x20binSessionId='+_0x5e77d6+_0x2b1d2d(0xcd)+_0x553f4c);continue;case'1':this[_0x2b1d2d(0xe1)]=_0x52ac9c;continue;case'2':this[_0x2b1d2d(0xdc)]=_0x5e77d6;continue;case'3':this['config']=_0xb206e9;continue;case'4':this[_0x2b1d2d(0xe4)]=_0x553f4c;continue;}break;}}[a81_0x1e92ca(0xe8)](_0x1d40a1){const _0x4e85df=a81_0x1e92ca,_0x4ba92a={};_0x4ba92a[_0x4e85df(0xcf)]=function(_0x116312,_0x4af3f8){return _0x116312===_0x4af3f8;},_0x4ba92a[_0x4e85df(0xd4)]=function(_0x4d23c1,_0x45585b){return _0x4d23c1===_0x45585b;};const _0x4994e0=_0x4ba92a;let _0x417144='';if(_0x4994e0[_0x4e85df(0xcf)](_0x1d40a1['testFramework'],FRAMEWORKS[_0x4e85df(0xe7)]))_0x417144=_0x1d40a1['testInfo']?.[_0x4e85df(0xde)]?.['id']||_0x1d40a1['testInfo']?.[_0x4e85df(0xc8)];else{if(_0x4994e0[_0x4e85df(0xd4)](_0x1d40a1[_0x4e85df(0xe3)],FRAMEWORKS[_0x4e85df(0xe9)]))_0x417144=_0x1d40a1[_0x4e85df(0xcb)]?.['testCaseStartedId'];else _0x4994e0[_0x4e85df(0xcf)](_0x1d40a1[_0x4e85df(0xe3)],FRAMEWORKS[_0x4e85df(0xea)])&&(_0x417144=_0x1d40a1['testInfo']?.['id']);}return _0x417144;}['setTestFrameworkData'](_0x3a05db){const _0x38150e=a81_0x1e92ca,_0x14fb85={};_0x14fb85[_0x38150e(0xe5)]=function(_0x1d0c13,_0x2d5662){return _0x1d0c13!==_0x2d5662;},_0x14fb85[_0x38150e(0xd7)]=_0x38150e(0xec);const _0x47a70f=_0x14fb85;if(!_0x3a05db||_0x47a70f[_0x38150e(0xe5)](typeof _0x3a05db,_0x47a70f[_0x38150e(0xd7)]))return null;const _0x359f75={};_0x359f75[_0x38150e(0xdd)]=_0x3a05db[_0x38150e(0xdd)],_0x359f75['version']=_0x3a05db[_0x38150e(0xd0)]&&_0x3a05db[_0x38150e(0xd0)][_0x3a05db[_0x38150e(0xdd)]];const _0x23b032=_0x359f75;return _0x23b032;}}module[a81_0x1e92ca(0xd8)]=BaseModule;
1
+ const a81_0x843699=a81_0x2f02;(function(_0x451460,_0xa9ec28){const _0x7af84b=a81_0x2f02,_0x3c58cc=_0x451460();while(!![]){try{const _0x30a037=-parseInt(_0x7af84b(0x8d))/0x1+parseInt(_0x7af84b(0xa2))/0x2*(-parseInt(_0x7af84b(0x85))/0x3)+-parseInt(_0x7af84b(0x7f))/0x4+parseInt(_0x7af84b(0x9b))/0x5+-parseInt(_0x7af84b(0xa7))/0x6*(parseInt(_0x7af84b(0x92))/0x7)+-parseInt(_0x7af84b(0x97))/0x8*(-parseInt(_0x7af84b(0x82))/0x9)+parseInt(_0x7af84b(0x80))/0xa;if(_0x30a037===_0xa9ec28)break;else _0x3c58cc['push'](_0x3c58cc['shift']());}catch(_0x53d9ac){_0x3c58cc['push'](_0x3c58cc['shift']());}}}(a81_0x2faa,0x8fbbb));function a81_0x2faa(){const _0x46eb20=['2646805HUIgbH',',\x20platformIndex=','config','configure','ensureBinSession','223464RfeFNQ','../../../helpers/test-observability/constants.js','PMfVf','testId','5595505qXybRV','version','cOmSR','TWNed','testFrameworkData','getTestId','client','174WyXoej','QjsLb','tOLMt','PLAYWRIGHT','CUCUMBER','12ixvGqU','binSessionId','MJlfm','getModuleName','3674112kxSUlK','22324300bOSDwo','name','180mQQjru','_test','BaseModule','16491jkEgYu','Missing\x20binSessionId','\x20with\x20binSessionId=','exports','object','WIgZw','../../../helpers/logger.js','testInfo','1168463YelagM','ChLbR','split','testFramework','platformIndex'];a81_0x2faa=function(){return _0x46eb20;};return a81_0x2faa();}const logger=require(a81_0x843699(0x8b))['winstonLogger'],{FRAMEWORKS}=require(a81_0x843699(0x98));function a81_0x2f02(_0x158ef4,_0x54a9c0){const _0x2faa6e=a81_0x2faa();return a81_0x2f02=function(_0x2f0285,_0x759efc){_0x2f0285=_0x2f0285-0x7f;let _0x5e96f3=_0x2faa6e[_0x2f0285];return _0x5e96f3;},a81_0x2f02(_0x158ef4,_0x54a9c0);}class BaseModule{constructor(_0x17c622=null){const _0x1c5bdd=a81_0x843699,_0x4a0030={};_0x4a0030[_0x1c5bdd(0x99)]='4|3|0|2|1|5',_0x4a0030[_0x1c5bdd(0xa9)]=_0x1c5bdd(0x84);const _0x5099b7=_0x4a0030,_0x1a6ad7=_0x5099b7[_0x1c5bdd(0x99)][_0x1c5bdd(0x8f)]('|');let _0x5c5a22=0x0;while(!![]){switch(_0x1a6ad7[_0x5c5a22++]){case'0':this[_0x1c5bdd(0x91)]=0x0;continue;case'1':this[_0x1c5bdd(0xa1)]=null;continue;case'2':this[_0x1c5bdd(0x94)]={};continue;case'3':this[_0x1c5bdd(0xa8)]=null;continue;case'4':this[_0x1c5bdd(0x81)]=_0x5099b7[_0x1c5bdd(0xa9)];continue;case'5':this[_0x1c5bdd(0x9f)]=this['setTestFrameworkData'](_0x17c622);continue;}break;}}[a81_0x843699(0x96)](){const _0x55a3cf=a81_0x843699,_0x1eaa72={};_0x1eaa72[_0x55a3cf(0x9d)]=_0x55a3cf(0x86);const _0x42f635=_0x1eaa72;if(!this[_0x55a3cf(0xa8)])throw new Error(_0x42f635[_0x55a3cf(0x9d)]);}[a81_0x843699(0xaa)](){const _0x1ee1a3=a81_0x843699;return this[_0x1ee1a3(0x81)];}[a81_0x843699(0x95)](_0x420f70,_0x570439,_0x4c2633,_0x179374={}){const _0x39eb41=a81_0x843699,_0x213d6e={};_0x213d6e[_0x39eb41(0xa3)]='1|3|4|0|2';const _0x521e9e=_0x213d6e,_0x2acc73=_0x521e9e[_0x39eb41(0xa3)][_0x39eb41(0x8f)]('|');let _0x45563b=0x0;while(!![]){switch(_0x2acc73[_0x45563b++]){case'0':this[_0x39eb41(0x94)]=_0x179374;continue;case'1':this['binSessionId']=_0x420f70;continue;case'2':logger['debug']('Configured\x20module\x20'+this[_0x39eb41(0xaa)]()+_0x39eb41(0x87)+_0x420f70+_0x39eb41(0x93)+_0x570439);continue;case'3':this['platformIndex']=_0x570439;continue;case'4':this[_0x39eb41(0xa1)]=_0x4c2633;continue;}break;}}[a81_0x843699(0xa0)](_0x3e256b){const _0x313b81=a81_0x843699,_0x4a884d={};_0x4a884d['WIgZw']=function(_0x80f6c4,_0x33094a){return _0x80f6c4===_0x33094a;},_0x4a884d['tOLMt']=function(_0xe525d,_0x3cf145){return _0xe525d===_0x3cf145;};const _0x82b0d0=_0x4a884d;let _0x2a581f='';if(_0x82b0d0[_0x313b81(0x8a)](_0x3e256b['testFramework'],FRAMEWORKS[_0x313b81(0xa5)]))_0x2a581f=_0x3e256b[_0x313b81(0x8c)]?.[_0x313b81(0x83)]?.['id']||_0x3e256b[_0x313b81(0x8c)]?.[_0x313b81(0x9a)];else{if(_0x82b0d0[_0x313b81(0x8a)](_0x3e256b['testFramework'],FRAMEWORKS[_0x313b81(0xa6)]))_0x2a581f=_0x3e256b['testInfo']?.['testCaseStartedId'];else _0x82b0d0[_0x313b81(0xa4)](_0x3e256b[_0x313b81(0x90)],FRAMEWORKS['JEST'])&&(_0x2a581f=_0x3e256b[_0x313b81(0x8c)]?.['id']);}return _0x2a581f;}['setTestFrameworkData'](_0xbdc58){const _0x256195=a81_0x843699,_0x15dbee={};_0x15dbee[_0x256195(0x9e)]=function(_0x4e24de,_0x339298){return _0x4e24de!==_0x339298;},_0x15dbee[_0x256195(0x8e)]=_0x256195(0x89);const _0x3b64bb=_0x15dbee;if(!_0xbdc58||_0x3b64bb[_0x256195(0x9e)](typeof _0xbdc58,_0x3b64bb[_0x256195(0x8e)]))return null;const _0x1b111b={};_0x1b111b[_0x256195(0x81)]=_0xbdc58[_0x256195(0x81)],_0x1b111b['version']=_0xbdc58['version']&&_0xbdc58[_0x256195(0x9c)][_0xbdc58[_0x256195(0x81)]];const _0x42a70b=_0x1b111b;return _0x42a70b;}}module[a81_0x843699(0x88)]=BaseModule;
@@ -1 +1 @@
1
- const a82_0x5b8b58=a82_0x3e34;function a82_0x3e34(_0xf0f6c2,_0x52d50d){const _0x10954a=a82_0x1095();return a82_0x3e34=function(_0x3e3435,_0x21ccff){_0x3e3435=_0x3e3435-0x1e7;let _0x572c12=_0x10954a[_0x3e3435];return _0x572c12;},a82_0x3e34(_0xf0f6c2,_0x52d50d);}(function(_0xdb88a,_0x11a13b){const _0x2baeb7=a82_0x3e34,_0x1f1422=_0xdb88a();while(!![]){try{const _0xdc3495=parseInt(_0x2baeb7(0x213))/0x1*(parseInt(_0x2baeb7(0x202))/0x2)+parseInt(_0x2baeb7(0x20c))/0x3+-parseInt(_0x2baeb7(0x214))/0x4*(parseInt(_0x2baeb7(0x1e9))/0x5)+-parseInt(_0x2baeb7(0x1ef))/0x6+-parseInt(_0x2baeb7(0x1e8))/0x7+-parseInt(_0x2baeb7(0x1f2))/0x8*(-parseInt(_0x2baeb7(0x1f4))/0x9)+parseInt(_0x2baeb7(0x1fd))/0xa;if(_0xdc3495===_0x11a13b)break;else _0x1f1422['push'](_0x1f1422['shift']());}catch(_0x40031c){_0x1f1422['push'](_0x1f1422['shift']());}}}(a82_0x1095,0xdf8a3));const {createClassLogger}=require(a82_0x5b8b58(0x1f6)),logger=createClassLogger(a82_0x5b8b58(0x1ea)),{sendSdkEvents}=require(a82_0x5b8b58(0x201)),isLTSSession=(_0xf660dc=null)=>{const _0x2ec28f=a82_0x5b8b58,_0x4c7c79={};_0x4c7c79['oreTE']=function(_0x44c736,_0x5c4d04){return _0x44c736!==_0x5c4d04;},_0x4c7c79[_0x2ec28f(0x1f3)]='undefined',_0x4c7c79['JxtWQ']=function(_0x52d77c,_0x1707f5){return _0x52d77c===_0x1707f5;},_0x4c7c79[_0x2ec28f(0x206)]='string',_0x4c7c79['zwUbu']='true',_0x4c7c79[_0x2ec28f(0x205)]=function(_0x13e625,_0x224a39){return _0x13e625===_0x224a39;},_0x4c7c79[_0x2ec28f(0x212)]=function(_0x5bfc35,_0x406536){return _0x5bfc35===_0x406536;},_0x4c7c79[_0x2ec28f(0x1f8)]=_0x2ec28f(0x1f0);const _0x2c1b37=_0x4c7c79;try{if(_0x2c1b37['oreTE'](typeof process[_0x2ec28f(0x216)][_0x2ec28f(0x207)],_0x2c1b37['nZjjk'])){const _0x2e16e7=process['env']['overrideLoadTesting'];return _0x2c1b37[_0x2ec28f(0x204)](typeof _0x2e16e7,_0x2c1b37[_0x2ec28f(0x206)])?_0x2c1b37[_0x2ec28f(0x204)](_0x2e16e7['toLowerCase'](),_0x2c1b37[_0x2ec28f(0x1ed)]):!!_0x2e16e7;}const _0x1744c7=_0xf660dc&&_0xf660dc['overrideLoadTesting'],_0x37a389=!!(_0xf660dc&&(_0x2c1b37['IxBgn'](_0xf660dc[_0x2ec28f(0x208)],!![])||_0x2c1b37[_0x2ec28f(0x204)](_0xf660dc[_0x2ec28f(0x208)],_0x2c1b37[_0x2ec28f(0x1ed)]))),_0x20603f=!!(_0x1744c7&&_0x2c1b37[_0x2ec28f(0x212)](_0x1744c7['toString']()[_0x2ec28f(0x20f)](),_0x2c1b37[_0x2ec28f(0x1ed)])&&!_0x37a389);return process[_0x2ec28f(0x216)][_0x2ec28f(0x207)]=_0x20603f?_0x2c1b37[_0x2ec28f(0x1ed)]:_0x2c1b37[_0x2ec28f(0x1f8)],_0x20603f;}catch(_0x2cf643){return process[_0x2ec28f(0x216)][_0x2ec28f(0x207)]=_0x2c1b37[_0x2ec28f(0x1f8)],![];}},getLTSSessionId=()=>{const _0x11ff26=a82_0x5b8b58,_0x2359ec={'pXcGB':function(_0x4c4974){return _0x4c4974();},'KrUJD':_0x11ff26(0x1fe),'hDqNW':_0x11ff26(0x215)};try{if(_0x2359ec[_0x11ff26(0x217)](isLTSSession))return logger['debug'](_0x2359ec[_0x11ff26(0x1fc)]),process[_0x11ff26(0x216)]['BROWSERSTACK_LTS_SESSION_ID']||'';}catch(_0x25131b){logger[_0x11ff26(0x1f5)](_0x11ff26(0x218)+(_0x25131b&&_0x25131b[_0x11ff26(0x1ff)]));}return logger['debug'](_0x2359ec[_0x11ff26(0x203)]),'';},setLTSSessionId=async(_0x5f0706={})=>{const _0x1f7c36=a82_0x5b8b58,_0xcd10c7={'vAaYY':function(_0x145420){return _0x145420();},'cHsWP':_0x1f7c36(0x1f9),'BXFub':_0x1f7c36(0x1e7),'JonKZ':_0x1f7c36(0x1ee),'cOJSh':function(_0xa63c90,_0x2334f2){return _0xa63c90(_0x2334f2);},'eKpnI':function(_0x11c611,_0x18482,_0x955f3){return _0x11c611(_0x18482,_0x955f3);},'iByUk':function(_0x3ad51d,_0x2db32e){return _0x3ad51d||_0x2db32e;}};try{const _0x2dd357=_0xcd10c7[_0x1f7c36(0x1fb)](getLTSSessionId);_0x2dd357?(process[_0x1f7c36(0x216)]['BROWSERSTACK_LTS_SESSION_ID']=_0x2dd357,logger[_0x1f7c36(0x1fa)](_0xcd10c7[_0x1f7c36(0x211)])):(delete process['env'][_0x1f7c36(0x1f7)],logger['debug'](_0xcd10c7[_0x1f7c36(0x200)]));try{const _0x4d20a5={'feature':_0xcd10c7[_0x1f7c36(0x20a)],'ltsEnabled':_0xcd10c7[_0x1f7c36(0x210)](isLTSSession,_0x5f0706),'ltsSessionIdPresent':!!_0x2dd357};await _0xcd10c7[_0x1f7c36(0x20d)](sendSdkEvents,_0x4d20a5,_0x5f0706);}catch(_0xbb8fe9){logger['debug'](_0x1f7c36(0x1ec)+(_0xbb8fe9&&_0xbb8fe9[_0x1f7c36(0x1ff)]));}return _0xcd10c7[_0x1f7c36(0x20e)](_0x2dd357,'');}catch(_0x42bb1b){return logger[_0x1f7c36(0x1fa)](_0x1f7c36(0x219)+(_0x42bb1b&&_0x42bb1b[_0x1f7c36(0x1ff)])),'';}},a82_0x155a2c={};a82_0x155a2c[a82_0x5b8b58(0x1eb)]=isLTSSession,a82_0x155a2c[a82_0x5b8b58(0x20b)]=getLTSSessionId,a82_0x155a2c[a82_0x5b8b58(0x1f1)]=setLTSSessionId,module[a82_0x5b8b58(0x209)]=a82_0x155a2c;function a82_0x1095(){const _0x13cdde=['13761860URaJIz','LTS\x20session\x20enabled;\x20returning\x20env\x20BROWSERSTACK_LTS_SESSION_ID','message','BXFub','../../../helpers/helper.js','235648yKfyhB','hDqNW','JxtWQ','IxBgn','aUmLr','overrideLoadTesting','browserstackAutomation','exports','JonKZ','getLTSSessionId','4926150oKqtXG','eKpnI','iByUk','toLowerCase','cOJSh','cHsWP','jallj','1SYGMTf','272LOtFet','LTS\x20not\x20enabled;\x20returning\x20empty\x20LTS\x20session\x20id','env','pXcGB','Error\x20while\x20resolving\x20LTS\x20session\x20id:\x20','setLTSSessionId\x20error:\x20','BROWSERSTACK_LTS_SESSION_ID\x20cleared','7999103bLMWIQ','93320WGyRQT','LoadTestModule','isLTSSession','Failed\x20to\x20record\x20LTS\x20telemetry:\x20','zwUbu','LTS','9401496caoFBD','false','setLTSSessionId','688hSuLhG','nZjjk','184014UuoGzf','error','../../../helpers/classLogger.js','BROWSERSTACK_LTS_SESSION_ID','XHpDD','BROWSERSTACK_LTS_SESSION_ID\x20set\x20from\x20env','debug','vAaYY','KrUJD'];a82_0x1095=function(){return _0x13cdde;};return a82_0x1095();}
1
+ const a82_0x363b27=a82_0x43ca;(function(_0x20e33f,_0x5c6559){const _0x3ad7b9=a82_0x43ca,_0x212fb8=_0x20e33f();while(!![]){try{const _0xfd57c1=-parseInt(_0x3ad7b9(0xda))/0x1*(-parseInt(_0x3ad7b9(0xd2))/0x2)+-parseInt(_0x3ad7b9(0xea))/0x3+-parseInt(_0x3ad7b9(0xf4))/0x4+parseInt(_0x3ad7b9(0xf3))/0x5+parseInt(_0x3ad7b9(0xd3))/0x6+-parseInt(_0x3ad7b9(0xfe))/0x7*(-parseInt(_0x3ad7b9(0xd8))/0x8)+parseInt(_0x3ad7b9(0xe2))/0x9;if(_0xfd57c1===_0x5c6559)break;else _0x212fb8['push'](_0x212fb8['shift']());}catch(_0x4f7271){_0x212fb8['push'](_0x212fb8['shift']());}}}(a82_0x2f0c,0x28c3c));const {createClassLogger}=require(a82_0x363b27(0xe8)),logger=createClassLogger(a82_0x363b27(0xd5)),{sendSdkEvents}=require(a82_0x363b27(0xf2)),isLTSSession=(_0x39e705=null)=>{const _0x510021=a82_0x363b27,_0x2542bf={};_0x2542bf['oxRll']=function(_0x1dbb2d,_0x348ceb){return _0x1dbb2d!==_0x348ceb;},_0x2542bf[_0x510021(0xf5)]=_0x510021(0xd9),_0x2542bf[_0x510021(0xf7)]=function(_0x38ff02,_0x4ec8cb){return _0x38ff02===_0x4ec8cb;},_0x2542bf['KNDQw']='string',_0x2542bf[_0x510021(0xf0)]=function(_0x25e828,_0x20d64e){return _0x25e828===_0x20d64e;},_0x2542bf[_0x510021(0xff)]=_0x510021(0xfb),_0x2542bf[_0x510021(0xed)]=function(_0x259b91,_0x271c5c){return _0x259b91===_0x271c5c;},_0x2542bf['JIQfw']=function(_0x46ccc6,_0xf6f6aa){return _0x46ccc6===_0xf6f6aa;},_0x2542bf['oTRut']=function(_0x18c6dd,_0x27d59f){return _0x18c6dd===_0x27d59f;},_0x2542bf[_0x510021(0xf9)]='false';const _0xccd7f7=_0x2542bf;try{if(_0xccd7f7['oxRll'](typeof process[_0x510021(0xd6)][_0x510021(0xdb)],_0xccd7f7[_0x510021(0xf5)])){const _0x3acc7c=process[_0x510021(0xd6)][_0x510021(0xdb)];return _0xccd7f7['YdxVt'](typeof _0x3acc7c,_0xccd7f7[_0x510021(0xe1)])?_0xccd7f7[_0x510021(0xf0)](_0x3acc7c[_0x510021(0xfc)](),_0xccd7f7[_0x510021(0xff)]):!!_0x3acc7c;}const _0x73c08=_0x39e705&&_0x39e705[_0x510021(0xdb)],_0xf39b03=!!(_0x39e705&&(_0xccd7f7[_0x510021(0xed)](_0x39e705['browserstackAutomation'],!![])||_0xccd7f7['JIQfw'](_0x39e705[_0x510021(0xe7)],_0xccd7f7[_0x510021(0xff)]))),_0x1652bb=!!(_0x73c08&&_0xccd7f7['oTRut'](_0x73c08['toString']()[_0x510021(0xfc)](),_0xccd7f7[_0x510021(0xff)])&&!_0xf39b03);return process['env']['overrideLoadTesting']=_0x1652bb?_0xccd7f7[_0x510021(0xff)]:_0xccd7f7[_0x510021(0xf9)],_0x1652bb;}catch(_0x5e712d){return process[_0x510021(0xd6)][_0x510021(0xdb)]=_0xccd7f7['CDJSn'],![];}},getLTSSessionId=()=>{const _0x1f1411=a82_0x363b27,_0x19807c={'HyHXI':function(_0x30c871){return _0x30c871();},'wcbnB':_0x1f1411(0xd4),'Gupac':_0x1f1411(0xe9)};try{if(_0x19807c[_0x1f1411(0xdf)](isLTSSession))return logger[_0x1f1411(0xef)](_0x19807c[_0x1f1411(0xe0)]),process[_0x1f1411(0xd6)][_0x1f1411(0xfa)]||'';}catch(_0x29172c){logger[_0x1f1411(0xeb)]('Error\x20while\x20resolving\x20LTS\x20session\x20id:\x20'+(_0x29172c&&_0x29172c[_0x1f1411(0xe5)]));}return logger[_0x1f1411(0xef)](_0x19807c['Gupac']),'';},setLTSSessionId=async(_0x203f34={})=>{const _0x490ed5=a82_0x363b27,_0x3523d6={'TgxWx':function(_0x4457bf){return _0x4457bf();},'QpqWD':_0x490ed5(0xd7),'xMDKk':_0x490ed5(0xe3),'IQhKl':_0x490ed5(0xdd),'meVxG':function(_0x59fa95,_0x4c6186){return _0x59fa95(_0x4c6186);},'LswCR':function(_0x39aa8,_0x3db3eb,_0x2fe4d5){return _0x39aa8(_0x3db3eb,_0x2fe4d5);},'Lnjbt':function(_0x44f15c,_0x41c81e){return _0x44f15c||_0x41c81e;}};try{const _0x26fe61=_0x3523d6[_0x490ed5(0xfd)](getLTSSessionId);_0x26fe61?(process[_0x490ed5(0xd6)][_0x490ed5(0xfa)]=_0x26fe61,logger['debug'](_0x3523d6[_0x490ed5(0xde)])):(delete process['env'][_0x490ed5(0xfa)],logger['debug'](_0x3523d6[_0x490ed5(0xf1)]));try{const _0x50eca8={'feature':_0x3523d6[_0x490ed5(0xe4)],'ltsEnabled':_0x3523d6[_0x490ed5(0xe6)](isLTSSession,_0x203f34),'ltsSessionIdPresent':!!_0x26fe61};await _0x3523d6[_0x490ed5(0xec)](sendSdkEvents,_0x50eca8,_0x203f34);}catch(_0x9df028){logger[_0x490ed5(0xef)]('Failed\x20to\x20record\x20LTS\x20telemetry:\x20'+(_0x9df028&&_0x9df028[_0x490ed5(0xe5)]));}return _0x3523d6['Lnjbt'](_0x26fe61,'');}catch(_0x1db3cd){return logger[_0x490ed5(0xef)](_0x490ed5(0xf8)+(_0x1db3cd&&_0x1db3cd[_0x490ed5(0xe5)])),'';}},a82_0x3fc44c={};a82_0x3fc44c['isLTSSession']=isLTSSession,a82_0x3fc44c[a82_0x363b27(0xf6)]=getLTSSessionId,a82_0x3fc44c[a82_0x363b27(0xee)]=setLTSSessionId,module[a82_0x363b27(0xdc)]=a82_0x3fc44c;function a82_0x43ca(_0x31ff58,_0x284991){const _0x2f0cdd=a82_0x2f0c();return a82_0x43ca=function(_0x43caba,_0x5e01d5){_0x43caba=_0x43caba-0xd2;let _0x20bdc9=_0x2f0cdd[_0x43caba];return _0x20bdc9;},a82_0x43ca(_0x31ff58,_0x284991);}function a82_0x2f0c(){const _0x5ae15f=['../../../helpers/helper.js','1068150AsnAli','770804NrElHu','uAIaS','getLTSSessionId','YdxVt','setLTSSessionId\x20error:\x20','CDJSn','BROWSERSTACK_LTS_SESSION_ID','true','toLowerCase','TgxWx','4802pingut','uaHHT','88946cAkSlw','986130roouFp','LTS\x20session\x20enabled;\x20returning\x20env\x20BROWSERSTACK_LTS_SESSION_ID','LoadTestModule','env','BROWSERSTACK_LTS_SESSION_ID\x20set\x20from\x20env','48miPrrF','undefined','4MFucfS','overrideLoadTesting','exports','LTS','QpqWD','HyHXI','wcbnB','KNDQw','490374JlzHKL','BROWSERSTACK_LTS_SESSION_ID\x20cleared','IQhKl','message','meVxG','browserstackAutomation','../../../helpers/classLogger.js','LTS\x20not\x20enabled;\x20returning\x20empty\x20LTS\x20session\x20id','764418IiESAS','error','LswCR','AYWZl','setLTSSessionId','debug','Lthdb','xMDKk'];a82_0x2f0c=function(){return _0x5ae15f;};return a82_0x2f0c();}
@@ -1 +1 @@
1
- function a83_0xdc7c(){const _0x706452=['6305892vtenab','618348XqimBd','5598OqzrWw','exports','onBeforeTest:\x20','start','observabilityConfig','../../../helpers/performance/constants.js','end','page','getModuleName','WaJyx','name','9948WjZWFK','4041450GCtPXe','CREATE','debug','5558399ecfeZC','./baseModule','687skUTjC','5043140DDkfmW','3195wCojTz','../framework/automationFramework.js','2enXhHm','info','\x20sync\x20done','../../../helpers/classLogger.js','MODULE_NAME','TEST_REPORTING_ANALYTICS','8dCbbFM','onBeforeTest','EEOJA','ObservabilityModule','../../../helpers/performance/performance-tester.js','POST','logger','../../utils/constants.js','33EVMfiX','ObservabilitySync:','qPMeY','SYNC'];a83_0xdc7c=function(){return _0x706452;};return a83_0xdc7c();}const a83_0x1be44a=a83_0xc0ae;(function(_0x343857,_0x4c1769){const _0xd64b65=a83_0xc0ae,_0x371f12=_0x343857();while(!![]){try{const _0x15be34=parseInt(_0xd64b65(0x1df))/0x1*(parseInt(_0xd64b65(0x1c9))/0x2)+-parseInt(_0xd64b65(0x1db))/0x3*(-parseInt(_0xd64b65(0x1d5))/0x4)+-parseInt(_0xd64b65(0x1dd))/0x5*(parseInt(_0xd64b65(0x1ca))/0x6)+-parseInt(_0xd64b65(0x1d9))/0x7*(-parseInt(_0xd64b65(0x1e5))/0x8)+parseInt(_0xd64b65(0x1d6))/0x9+parseInt(_0xd64b65(0x1dc))/0xa+-parseInt(_0xd64b65(0x1ed))/0xb*(parseInt(_0xd64b65(0x1f1))/0xc);if(_0x15be34===_0x4c1769)break;else _0x371f12['push'](_0x371f12['shift']());}catch(_0x126f0a){_0x371f12['push'](_0x371f12['shift']());}}}(a83_0xdc7c,0xba308));const BaseModule=require(a83_0x1be44a(0x1da)),{createClassLogger}=require(a83_0x1be44a(0x1e2)),AutomationFramework=require(a83_0x1be44a(0x1de)),AutomationFrameworkState=require('../state/automationFrameworkState.js'),HookState=require('../state/hookState.js'),{playwrightAnnotate}=require('../../../helpers/helper.js'),PerformanceTester=require(a83_0x1be44a(0x1e9)),{O11y_EVENTS}=require(a83_0x1be44a(0x1cf)),constants=require(a83_0x1be44a(0x1ec));function a83_0xc0ae(_0x1456ca,_0x26b79a){const _0xdc7c54=a83_0xdc7c();return a83_0xc0ae=function(_0xc0ae52,_0x58128d){_0xc0ae52=_0xc0ae52-0x1c9;let _0x108f29=_0xdc7c54[_0xc0ae52];return _0x108f29;},a83_0xc0ae(_0x1456ca,_0x26b79a);}class ObservabilityModule extends BaseModule{['logger']=createClassLogger(a83_0x1be44a(0x1e8));constructor(_0x215075){const _0x5792ea=a83_0x1be44a,_0x3f1fc5={};_0x3f1fc5[_0x5792ea(0x1ef)]=_0x5792ea(0x1e8);const _0x2b905f=_0x3f1fc5;super(),this[_0x5792ea(0x1d4)]=_0x2b905f[_0x5792ea(0x1ef)],this[_0x5792ea(0x1ce)]=_0x215075,AutomationFramework['registerObserver'](AutomationFrameworkState[_0x5792ea(0x1d7)],HookState[_0x5792ea(0x1ea)],this[_0x5792ea(0x1e6)]['bind'](this));}[a83_0x1be44a(0x1d2)](){const _0x4fcfb8=a83_0x1be44a;return ObservabilityModule[_0x4fcfb8(0x1e3)];}async[a83_0x1be44a(0x1e6)](_0x13cc99){const _0x43427f=a83_0x1be44a,_0x4cf059={'CLpTY':function(_0x1727df,_0x1b1163){return _0x1727df+_0x1b1163;},'EEOJA':_0x43427f(0x1ee),'HDtRU':function(_0xabd7ba,_0x429ec8,_0x4d534b,_0x5e1dfb){return _0xabd7ba(_0x429ec8,_0x4d534b,_0x5e1dfb);},'vCYKn':_0x43427f(0x1d8),'WaJyx':'onBeforeTest:\x20page\x20is\x20not\x20defined'};if(_0x13cc99[_0x43427f(0x1d1)]){const _0x1eefcc=_0x13cc99[_0x43427f(0x1d1)],_0x46e833=Date['now'](),_0x8bf50e=_0x4cf059['CLpTY'](_0x4cf059[_0x43427f(0x1e7)],_0x46e833);PerformanceTester[_0x43427f(0x1cd)](O11y_EVENTS[_0x43427f(0x1f0)]),await _0x4cf059['HDtRU'](playwrightAnnotate,_0x1eefcc,_0x8bf50e,_0x4cf059['vCYKn']),PerformanceTester[_0x43427f(0x1d0)](O11y_EVENTS[_0x43427f(0x1f0)]),this[_0x43427f(0x1eb)][_0x43427f(0x1e0)](_0x43427f(0x1cc)+constants[_0x43427f(0x1e4)]+_0x43427f(0x1e1));}else this[_0x43427f(0x1eb)]['debug'](_0x4cf059[_0x43427f(0x1d3)]);}}ObservabilityModule[a83_0x1be44a(0x1e3)]=a83_0x1be44a(0x1e8),module[a83_0x1be44a(0x1cb)]=ObservabilityModule;
1
+ function a83_0x27ad(){const _0x5231e4=['MYaaD','./baseModule','../state/automationFrameworkState.js','onBeforeTest','onBeforeTest:\x20page\x20is\x20not\x20defined','page','../../../helpers/classLogger.js','CnkYk','TEST_REPORTING_ANALYTICS','3490MdIuao','UqHoh','../../utils/constants.js','8hCbrcc','logger','onBeforeTest:\x20','../../../helpers/helper.js','52hOatEX','dBDVN','end','SYNC','CREATE','77768WIQaSW','6415440IMcUFU','329fSHWoc','157266gplWJy','MODULE_NAME','rvxzt','\x20sync\x20done','../../../helpers/performance/constants.js','Qtvhw','../state/hookState.js','info','name','2599530QBqZVQ','ObservabilityModule','debug','ObservabilitySync:','now','../framework/automationFramework.js','getModuleName','439555sLRfAD','POST','5661558RbcMSN'];a83_0x27ad=function(){return _0x5231e4;};return a83_0x27ad();}function a83_0x6d26(_0x77447e,_0x1e8ffe){const _0x27ad99=a83_0x27ad();return a83_0x6d26=function(_0x6d26fd,_0x35b3da){_0x6d26fd=_0x6d26fd-0x18c;let _0x15a493=_0x27ad99[_0x6d26fd];return _0x15a493;},a83_0x6d26(_0x77447e,_0x1e8ffe);}const a83_0x59f402=a83_0x6d26;(function(_0x3e9a64,_0x3fca33){const _0x8384ff=a83_0x6d26,_0x206170=_0x3e9a64();while(!![]){try{const _0x39e623=-parseInt(_0x8384ff(0x19f))/0x1+-parseInt(_0x8384ff(0x1a2))/0x2*(parseInt(_0x8384ff(0x1ae))/0x3)+-parseInt(_0x8384ff(0x1a6))/0x4*(-parseInt(_0x8384ff(0x193))/0x5)+parseInt(_0x8384ff(0x1ac))/0x6+parseInt(_0x8384ff(0x1ad))/0x7*(-parseInt(_0x8384ff(0x1ab))/0x8)+-parseInt(_0x8384ff(0x195))/0x9+-parseInt(_0x8384ff(0x18c))/0xa;if(_0x39e623===_0x3fca33)break;else _0x206170['push'](_0x206170['shift']());}catch(_0x17ccd1){_0x206170['push'](_0x206170['shift']());}}}(a83_0x27ad,0x9f6cb));const BaseModule=require(a83_0x59f402(0x197)),{createClassLogger}=require(a83_0x59f402(0x19c)),AutomationFramework=require(a83_0x59f402(0x191)),AutomationFrameworkState=require(a83_0x59f402(0x198)),HookState=require(a83_0x59f402(0x1b4)),{playwrightAnnotate}=require(a83_0x59f402(0x1a5)),PerformanceTester=require('../../../helpers/performance/performance-tester.js'),{O11y_EVENTS}=require(a83_0x59f402(0x1b2)),constants=require(a83_0x59f402(0x1a1));class ObservabilityModule extends BaseModule{[a83_0x59f402(0x1a3)]=createClassLogger(a83_0x59f402(0x18d));constructor(_0x3859e2){const _0xd4ceef=a83_0x59f402,_0x48fddf={};_0x48fddf[_0xd4ceef(0x19d)]=_0xd4ceef(0x18d);const _0x45498a=_0x48fddf;super(),this[_0xd4ceef(0x1b6)]=_0x45498a[_0xd4ceef(0x19d)],this['observabilityConfig']=_0x3859e2,AutomationFramework['registerObserver'](AutomationFrameworkState[_0xd4ceef(0x1aa)],HookState[_0xd4ceef(0x194)],this[_0xd4ceef(0x199)]['bind'](this));}[a83_0x59f402(0x192)](){const _0x2d20d8=a83_0x59f402;return ObservabilityModule[_0x2d20d8(0x1af)];}async['onBeforeTest'](_0x215d7a){const _0x49637e=a83_0x59f402,_0x4db8b7={'MYaaD':function(_0x353b7e,_0x4a2580){return _0x353b7e+_0x4a2580;},'UqHoh':_0x49637e(0x18f),'Qtvhw':function(_0x3e2646,_0xec8934,_0x401e51,_0x412c89){return _0x3e2646(_0xec8934,_0x401e51,_0x412c89);},'dBDVN':_0x49637e(0x18e),'rvxzt':_0x49637e(0x19a)};if(_0x215d7a[_0x49637e(0x19b)]){const _0x395afe=_0x215d7a['page'],_0x1f815d=Date[_0x49637e(0x190)](),_0x2301c3=_0x4db8b7[_0x49637e(0x196)](_0x4db8b7[_0x49637e(0x1a0)],_0x1f815d);PerformanceTester['start'](O11y_EVENTS[_0x49637e(0x1a9)]),await _0x4db8b7[_0x49637e(0x1b3)](playwrightAnnotate,_0x395afe,_0x2301c3,_0x4db8b7[_0x49637e(0x1a7)]),PerformanceTester[_0x49637e(0x1a8)](O11y_EVENTS['SYNC']),this[_0x49637e(0x1a3)][_0x49637e(0x1b5)](_0x49637e(0x1a4)+constants[_0x49637e(0x19e)]+_0x49637e(0x1b1));}else this[_0x49637e(0x1a3)]['debug'](_0x4db8b7[_0x49637e(0x1b0)]);}}ObservabilityModule[a83_0x59f402(0x1af)]=a83_0x59f402(0x18d),module['exports']=ObservabilityModule;
@@ -1 +1 @@
1
- const a84_0x179989=a84_0x4850;function a84_0x13b2(){const _0x3bb112=['setState','PlaywrightDriverModule','arguments','recreateIdentifierFromTestInfo','shouldSkipSessionStatus','Lsqyy','VczdF','TRAWU','page','2572esvQid','PLAYWRIGHT_DISPATCH','CREATE','Automation\x20onAfterTest:\x20Recreated\x20Jest\x20testIdentifier:\x20','markSessionStatus:\x20Automation\x20instance\x20is\x20not\x20available','test_identifier','hubUrl','KEY_BROWSER_OBJECT','instance','workerInfo','onAfterTest\x20CBTSession\x20payload:\x20','markSessionStatus','base64','MODULE_NAME','../../../helpers/classLogger.js','getRef','exports','isPlaywright','format','testUuid','1682986Jetrmn','../state/hookState.js','SESSION_NAME','CahoO','keys','setSessionName','end','../../../helpers/test-observability/utils','browserName','launchcaps','onAfterDriverCreate:\x20Setting\x20Session\x20Name\x20from\x20testInfo','debug','fGGWq','message','testFrameworkData','markSessionStatus:\x20Page\x20object\x20is\x20not\x20available','getProcessId','getId','pRKmc','bsParams','with\x20','onAfterDriverCreate','KEY_PAGE_OBJECT','reason','registerObserver','Iosrs','QmWMS','CxYqx','onDispatchExecute:\x20Playwright\x20sessionId:\x20','getCapabilities','length','wiAFm','../framework/automationFramework.js','ZNDWJ','../framework/constants/testFrameworkConstants.js','Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','LIbvg','testInfo','getState','jestUtils','info','error','browser','ZfXiz','OApOU','retry','getInstance','start','errors','Automation\x20onAfterTest:\x20Test\x20completed','bStackParams','Ikkmj','shvQk','\x20failure\x20reason:\x20','getConfig','../grpcClient.js','../utils/jest-utils.js','JKfxt','nxTsZ','PLAYWRIGHT','isLTSSession','QWkSV','shouldSkipSessionName','SESSION_STATUS','../state/automationFrameworkState.js','util','version','2877060oYNEfl','kqeBv','onBeforeDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','1839174lGnXCI','onAfterTest','testRunId','wmcYX','isBrowserstackInfra','Qgpjd','playwrightVersion','markSessionName:\x20Skipping\x20session\x20name\x20marking','917586QZMGgN','platforms','NHRdY','Error\x20in\x20markSessionName:\x20','getTestDetails','Error\x20in\x20onDispatchExecute:\x20','split','params','HDaXt','getLTSSessionId','pVzOq','DUtge','toString','Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20to:\x20','sessionId','contextObject','FARNj','getTestUUID','Automation\x20onAfterTest:\x20Test\x20status:\x20','AUTOMATE_EVENTS','KEY_PLATFORM_DETAILS','../cliUtils.js','tDvYJ','SUJZv','../TestInfo.js','WpNxL','bind','action','anMkq','name','driverInit','Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20and\x20status\x20for\x20testId:\x20','KEY_TEST_FRAMEWORK_VERSION','MMfeE','\x20||\x20','LeMdw','KEY_TEST_ID','passed','yFzNi','../state/testFrameworkState','__workerDetails','TEST','stringify','testId:\x20','status','SfWvM','markSessionStatus:\x20Marking\x20session\x20status','markSessionStatus:\x20Skipping\x20session\x20status\x20marking','uynHJ','KEY_HUB_URL','jdWyw','KEY_CAPABILITIES','inspect','../../../helpers/helper.js','CUCUMBER','setSessionStatus','16gAfaCF','KEY_TEST_FRAMEWORK_NAME','RDXvC','PRE','KEY_SESSION_ID','../../utils/constants','onPlaywrightDispatch','EXECUTE','markSessionName','getTrackedInstance','POST','getTestId','isFalse','pickle','parallelIndex','Playwright','KEY_PLATFORM_INDEX','capabilities','1947LlLKHr','1.51.0','from','logger','platformIndex','WVPAH','platformDetails','./loadTestModule.js','onBeforeDriverCreate','wijkC','getContext','../../../helpers/performance/constants.js','KEY_CONTEXT_OBJECT','1630174dRhkuy','13590981xnsdyu','SqNqA'];a84_0x13b2=function(){return _0x3bb112;};return a84_0x13b2();}(function(_0xbddbf4,_0x2e2cd2){const _0x471d01=a84_0x4850,_0x4c5f53=_0xbddbf4();while(!![]){try{const _0x286e89=-parseInt(_0x471d01(0x199))/0x1+-parseInt(_0x471d01(0x210))/0x2+parseInt(_0x471d01(0x1e3))/0x3*(parseInt(_0x471d01(0x1fc))/0x4)+-parseInt(_0x471d01(0x18e))/0x5+-parseInt(_0x471d01(0x191))/0x6+-parseInt(_0x471d01(0x1f0))/0x7+-parseInt(_0x471d01(0x1d1))/0x8*(-parseInt(_0x471d01(0x1f1))/0x9);if(_0x286e89===_0x2e2cd2)break;else _0x4c5f53['push'](_0x4c5f53['shift']());}catch(_0x106fad){_0x4c5f53['push'](_0x4c5f53['shift']());}}}(a84_0x13b2,0x899a7));const util=require(a84_0x179989(0x251)),BaseModule=require('./baseModule'),{createClassLogger}=require(a84_0x179989(0x20a)),{getFrameworkVersion}=require(a84_0x179989(0x217)),helper=require('../../../helpers/helper'),{FRAMEWORKS}=require(a84_0x179989(0x1d6)),AutomationFramework=require(a84_0x179989(0x230)),AutomationFrameworkState=require(a84_0x179989(0x250)),HookState=require(a84_0x179989(0x211)),{playwrightBstackJsExecutor,nestedKeyValue,playwrightAnnotate,getPlaywrightStatus,getPlaywrightSessionName,getCucumberSessionName}=require(a84_0x179989(0x1ce)),CLIUtils=require(a84_0x179989(0x1ae)),BrowserstackCLI=require('../browserstackCLI.js'),GrpcClient=require(a84_0x179989(0x247)),PerformanceTester=require('../../../helpers/performance/performance-tester.js'),PerformanceEvents=require(a84_0x179989(0x1ee))[a84_0x179989(0x1ac)],TestInfo=require(a84_0x179989(0x1b1)),{getPlaywrightProvider}=require(a84_0x179989(0x1ce)),LoadTestModule=require(a84_0x179989(0x1ea)),TestFrameworkConstants=require(a84_0x179989(0x232)),TestFrameworkState=require(a84_0x179989(0x1c0)),JestUtils=require(a84_0x179989(0x248));class PlaywrightDriverModule extends BaseModule{static [a84_0x179989(0x203)]='browserObject';static [a84_0x179989(0x1ef)]=a84_0x179989(0x1a8);static [a84_0x179989(0x226)]='pageObject';static ['KEY_SESSION_ID']='sessionId';static [a84_0x179989(0x1e1)]=a84_0x179989(0x1e7);static [a84_0x179989(0x1cc)]=a84_0x179989(0x1e2);static [a84_0x179989(0x1ca)]=a84_0x179989(0x202);static [a84_0x179989(0x1ad)]=a84_0x179989(0x1e9);static ['KEY_TEST_ID']='testId';[a84_0x179989(0x1e6)]=createClassLogger(a84_0x179989(0x1f4));constructor(_0x3c2593=null){const _0x33b5d3=a84_0x179989,_0x238ef4={};_0x238ef4[_0x33b5d3(0x21c)]='8|2|4|6|9|1|3|7|11|10|5|0',_0x238ef4[_0x33b5d3(0x1e8)]=_0x33b5d3(0x1f4);const _0x1d093a=_0x238ef4,_0x1c9ea6=_0x1d093a[_0x33b5d3(0x21c)][_0x33b5d3(0x19f)]('|');let _0x1bc785=0x0;while(!![]){switch(_0x1c9ea6[_0x1bc785++]){case'0':AutomationFramework[_0x33b5d3(0x228)](AutomationFrameworkState[_0x33b5d3(0x1d8)],HookState[_0x33b5d3(0x1db)],this['onAfterTest'][_0x33b5d3(0x1b3)](this));continue;case'1':this[_0x33b5d3(0x19a)]=[];continue;case'2':this['name']=_0x1d093a[_0x33b5d3(0x1e8)];continue;case'3':this[_0x33b5d3(0x193)]=null;continue;case'4':this[_0x33b5d3(0x197)]=null;continue;case'5':AutomationFramework[_0x33b5d3(0x228)](AutomationFrameworkState[_0x33b5d3(0x1fd)],HookState['POST'],this[_0x33b5d3(0x1d7)][_0x33b5d3(0x1b3)](this));continue;case'6':this[_0x33b5d3(0x218)]=null;continue;case'7':this['jestUtils']=new JestUtils();continue;case'8':super(_0x3c2593);continue;case'9':this['browserVersion']=null;continue;case'10':AutomationFramework[_0x33b5d3(0x228)](AutomationFrameworkState[_0x33b5d3(0x1fe)],HookState[_0x33b5d3(0x1db)],this[_0x33b5d3(0x225)][_0x33b5d3(0x1b3)](this));continue;case'11':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x33b5d3(0x1fe)],HookState[_0x33b5d3(0x1d4)],this[_0x33b5d3(0x1eb)][_0x33b5d3(0x1b3)](this));continue;}break;}}['getModuleName'](){const _0x31f502=a84_0x179989;return PlaywrightDriverModule[_0x31f502(0x209)];}async['onBeforeDriverCreate'](_0x10077a){const _0x1b565f=a84_0x179989,_0x3e9329={};_0x3e9329[_0x1b565f(0x196)]=_0x1b565f(0x190);const _0x3e6a5f=_0x3e9329;try{this[_0x1b565f(0x1e6)][_0x1b565f(0x21b)](_0x3e6a5f[_0x1b565f(0x196)]);const _0x30b2c3=_0x10077a[_0x1b565f(0x219)],_0x21a3d4=_0x10077a['hubUrl'];AutomationFramework['setState'](_0x10077a[_0x1b565f(0x204)],PlaywrightDriverModule[_0x1b565f(0x1cc)],_0x30b2c3),AutomationFramework[_0x1b565f(0x1f3)](_0x10077a[_0x1b565f(0x204)],PlaywrightDriverModule['KEY_HUB_URL'],_0x21a3d4);}catch(_0x27456a){this[_0x1b565f(0x1e6)][_0x1b565f(0x239)]('Error\x20in\x20onBeforeDriverCreate:\x20'+util['format'](_0x27456a));}}async['onPlaywrightDispatch'](_0xb0d8ab){const _0x15645c=a84_0x179989,_0x11be76={};_0x11be76[_0x15645c(0x1c6)]=function(_0x10ba4f,_0x1e455e){return _0x10ba4f||_0x1e455e;};const _0x4f707d=_0x11be76;try{const _0xea750c=_0xb0d8ab?.['message']&&_0xb0d8ab?.['message']?.[_0x15645c(0x1a0)]&&_0xb0d8ab?.[_0x15645c(0x21d)]?.['params']?.[_0x15645c(0x223)],_0x12da5f=_0xb0d8ab?.[_0x15645c(0x21d)]&&_0xb0d8ab?.[_0x15645c(0x21d)]?.[_0x15645c(0x242)];if(_0x4f707d[_0x15645c(0x1c6)](_0xea750c,_0x12da5f)){this[_0x15645c(0x1e6)][_0x15645c(0x21b)]('onDispatchExecute:\x20Playwright\x20driver\x20is\x20executing\x20tests\x20'+util[_0x15645c(0x1cd)](_0xea750c)+_0x15645c(0x1bb)+util['inspect'](_0x12da5f));const _0x540bc6=_0xb0d8ab?.[_0x15645c(0x204)],_0x5af827=global?.[_0x15645c(0x1c1)]?.[_0x15645c(0x205)]?.[_0x15645c(0x1df)],_0xe76846=_0xea750c?.[_0x15645c(0x1a7)]||_0x12da5f?.[_0x15645c(0x1a7)],_0x54edd5=_0xea750c?.['platformDetails']||_0x12da5f?.['platformDetails'];_0xe76846&&(this[_0x15645c(0x1e6)][_0x15645c(0x21b)](_0x15645c(0x22c)+_0xe76846),AutomationFramework[_0x15645c(0x1f3)](_0x540bc6,PlaywrightDriverModule['KEY_SESSION_ID'],_0xe76846)),_0x5af827&&(this['logger'][_0x15645c(0x21b)]('onDispatchExecute:\x20Playwright\x20platform\x20platformIndex:\x20'+util[_0x15645c(0x1cd)](_0x5af827)),AutomationFramework[_0x15645c(0x1f3)](_0x540bc6,PlaywrightDriverModule[_0x15645c(0x1e1)],_0x5af827));}}catch(_0x196fa6){this[_0x15645c(0x1e6)][_0x15645c(0x239)](_0x15645c(0x19e)+util['format'](_0x196fa6));}}async['onAfterDriverCreate'](_0x3b3aff){const _0x5ecf0e=a84_0x179989,_0x8bba96={'pRKmc':'onAfterDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','Lsqyy':function(_0x518efe,_0x1596f8){return _0x518efe(_0x1596f8);},'JKfxt':'onAfterDriverCreate:\x20Setting\x20page\x20object','WpNxL':_0x5ecf0e(0x21a),'kqeBv':'onAfterDriverCreate:\x20Setting\x20context\x20object','xJnPR':'onAfterDriverCreate:\x20Setting\x20browser\x20object','ZNDWJ':_0x5ecf0e(0x208)};try{this[_0x5ecf0e(0x1e6)][_0x5ecf0e(0x21b)](_0x8bba96[_0x5ecf0e(0x222)]);const _0x5c9754=_0x3b3aff[_0x5ecf0e(0x204)];this[_0x5ecf0e(0x197)]=_0x8bba96[_0x5ecf0e(0x1f8)](getFrameworkVersion,FRAMEWORKS[_0x5ecf0e(0x24b)]);if(_0x3b3aff[_0x5ecf0e(0x1fb)]){this['logger'][_0x5ecf0e(0x21b)](_0x8bba96[_0x5ecf0e(0x249)]),AutomationFramework['setState'](_0x5c9754,PlaywrightDriverModule[_0x5ecf0e(0x226)],_0x3b3aff[_0x5ecf0e(0x1fb)]);if(_0x3b3aff[_0x5ecf0e(0x235)]){this[_0x5ecf0e(0x1e6)]['debug'](_0x8bba96[_0x5ecf0e(0x1b2)]);const _0x506574=this[_0x5ecf0e(0x1dc)](_0x3b3aff);AutomationFramework['setState'](_0x5c9754,PlaywrightDriverModule[_0x5ecf0e(0x1bd)],_0x506574),await this[_0x5ecf0e(0x1d9)](_0x3b3aff[_0x5ecf0e(0x235)]);}}_0x3b3aff['context']&&(this['logger'][_0x5ecf0e(0x21b)](_0x8bba96[_0x5ecf0e(0x18f)]),AutomationFramework[_0x5ecf0e(0x1f3)](_0x5c9754,PlaywrightDriverModule[_0x5ecf0e(0x1ef)],_0x3b3aff['context']));if(_0x3b3aff[_0x5ecf0e(0x23a)]){this[_0x5ecf0e(0x1e6)][_0x5ecf0e(0x21b)](_0x8bba96['xJnPR']);const _0x1cd0c8=global?.[_0x5ecf0e(0x1c1)]?.[_0x5ecf0e(0x205)]?.[_0x5ecf0e(0x1df)];AutomationFramework[_0x5ecf0e(0x1f3)](_0x5c9754,PlaywrightDriverModule[_0x5ecf0e(0x203)],_0x3b3aff[_0x5ecf0e(0x23a)]),AutomationFramework[_0x5ecf0e(0x1f3)](_0x5c9754,PlaywrightDriverModule[_0x5ecf0e(0x1e1)],_0x1cd0c8);const _0x533177={};_0x533177[_0x5ecf0e(0x20d)]=!![];const _0x2f7cc7=Buffer['from'](JSON['stringify'](_0x533177)[_0x5ecf0e(0x1a5)](_0x8bba96[_0x5ecf0e(0x231)])),_0x5ae2b=await GrpcClient[_0x5ecf0e(0x23e)]()[_0x5ecf0e(0x1b7)]({'platformIndex':_0x1cd0c8,'ref':_0x5c9754['getRef'](),'userInputParams':_0x2f7cc7});helper[_0x5ecf0e(0x1dd)](helper[_0x5ecf0e(0x195)]())&&AutomationFramework[_0x5ecf0e(0x1f3)](_0x5c9754,PlaywrightDriverModule[_0x5ecf0e(0x1cc)],JSON['parse'](Buffer[_0x5ecf0e(0x1e5)](_0x5ae2b[_0x5ecf0e(0x22d)](),_0x8bba96[_0x5ecf0e(0x231)])[_0x5ecf0e(0x1a5)]()));}}catch(_0x3c7fa8){this[_0x5ecf0e(0x1e6)][_0x5ecf0e(0x239)]('Error\x20in\x20onAfterDriverCreate:\x20'+util[_0x5ecf0e(0x20e)](_0x3c7fa8));}}async[a84_0x179989(0x192)](_0x1f5c43){const _0x482f15=a84_0x179989,_0x359536={'FARNj':_0x482f15(0x241),'MMfeE':'Automation\x20onAfterTest:\x20Automation\x20instance\x20is\x20not\x20available','LeMdw':function(_0x2616f3,_0x4c2f5b){return _0x2616f3(_0x4c2f5b);},'QmWMS':function(_0x2a5b33,_0x3325ea,_0x3d584e){return _0x2a5b33(_0x3325ea,_0x3d584e);},'YHTIP':'result','yFzNi':_0x482f15(0x21d),'nxTsZ':function(_0x9b8270,_0xe2ac82){return _0x9b8270(_0xe2ac82);},'wLQjL':_0x482f15(0x239),'wmcYX':_0x482f15(0x240),'uynHJ':function(_0x4688c0,_0x415033){return _0x4688c0>_0x415033;},'wijkC':function(_0x2bfe51,_0x7dbde0){return _0x2bfe51||_0x7dbde0;},'shvQk':function(_0x526b02,_0x8d5210){return _0x526b02||_0x8d5210;},'jdWyw':function(_0x36e7db,_0x180637){return _0x36e7db===_0x180637;},'TRAWU':function(_0x5b4b69,_0x422096){return _0x5b4b69===_0x422096;},'RJQpz':function(_0x236b1a,_0x428638){return _0x236b1a+_0x428638;},'ErwnU':_0x482f15(0x1c4),'OApOU':function(_0xf12a4f,_0x4e08b3){return _0xf12a4f+_0x4e08b3;},'MOvsA':'testData\x20from\x20onAfterTest:\x20','CxYqx':_0x482f15(0x1e0),'RDXvC':_0x482f15(0x1e4),'pVzOq':function(_0x424c94,_0xe3363d){return _0x424c94>_0xe3363d;},'LIbvg':_0x482f15(0x208),'MppPS':_0x482f15(0x233)};this[_0x482f15(0x1e6)][_0x482f15(0x21b)](_0x359536[_0x482f15(0x1a9)]);const _0x4786c0=_0x1f5c43[_0x482f15(0x204)];if(!_0x4786c0){this[_0x482f15(0x1e6)][_0x482f15(0x21b)](_0x359536[_0x482f15(0x1ba)]);return;}const _0x5dfb10=_0x1f5c43[_0x482f15(0x235)],_0x364b51=this[_0x482f15(0x1dc)](_0x1f5c43),_0x5669c7=_0x5dfb10['status'];let _0x2ea149;const _0x137e4f=_0x359536[_0x482f15(0x1bc)](getPlaywrightStatus,_0x5669c7);let _0x20af26,_0x26b896=null;if(_0x5dfb10[_0x482f15(0x1de)]||_0x5dfb10['gherkinDocument'])_0x20af26=_0x359536[_0x482f15(0x1bc)](getCucumberSessionName,_0x5dfb10),_0x2ea149=_0x359536[_0x482f15(0x22a)](nestedKeyValue,_0x5dfb10,[_0x359536['YHTIP'],_0x359536['yFzNi']]);else{_0x20af26=_0x359536[_0x482f15(0x24a)](getPlaywrightSessionName,_0x5dfb10),_0x2ea149=_0x359536[_0x482f15(0x22a)](nestedKeyValue,_0x5dfb10,[_0x359536['wLQjL'],_0x359536[_0x482f15(0x1bf)]]);const _0x318371=_0x359536['QmWMS'](nestedKeyValue,_0x5dfb10,[_0x359536[_0x482f15(0x194)]]);_0x318371&&_0x359536[_0x482f15(0x1c9)](_0x318371[_0x482f15(0x22e)],0x0)&&(_0x26b896=_0x318371[0x0][_0x482f15(0x21d)]),_0x2ea149=_0x359536[_0x482f15(0x1ec)](_0x2ea149,_0x26b896),this[_0x482f15(0x1e6)][_0x482f15(0x21b)](_0x482f15(0x1ab)+_0x137e4f+_0x482f15(0x245)+_0x2ea149);}const _0x94d8b4=_0x359536[_0x482f15(0x244)](_0x2ea149,_0x26b896);this['logger'][_0x482f15(0x21b)](_0x482f15(0x1ab)+_0x137e4f);let _0x118deb,_0x10ae83;if(this[_0x482f15(0x21e)]&&_0x359536['jdWyw'](this['testFrameworkData'][_0x482f15(0x1b6)],FRAMEWORKS[_0x482f15(0x1cf)]))_0x118deb=_0x364b51,_0x10ae83=TestInfo[_0x482f15(0x1aa)](_0x118deb);else this[_0x482f15(0x21e)]&&_0x359536[_0x482f15(0x1fa)](this[_0x482f15(0x21e)]['name'],FRAMEWORKS['JEST'])?(_0x118deb=this[_0x482f15(0x237)][_0x482f15(0x1f6)](_0x5dfb10),this['logger'][_0x482f15(0x21b)](_0x482f15(0x1ff)+_0x118deb)):(_0x118deb=TestInfo['getTestIdentifierFromTestInfo'](_0x5dfb10,_0x5dfb10[_0x482f15(0x23d)]),_0x10ae83=TestInfo[_0x482f15(0x1aa)](_0x118deb));const _0x1247a1=TestInfo[_0x482f15(0x19d)](_0x118deb);this[_0x482f15(0x1e6)][_0x482f15(0x238)](_0x359536['RJQpz'](_0x359536['ErwnU'],_0x364b51)),this['logger']['info'](_0x359536[_0x482f15(0x23c)](_0x359536['MOvsA'],util[_0x482f15(0x1cd)](_0x1247a1)));const _0x53d746=AutomationFramework[_0x482f15(0x236)](_0x4786c0,PlaywrightDriverModule['KEY_PLATFORM_INDEX']),_0x5357fe=_0x1247a1?.[TestFrameworkConstants[_0x482f15(0x1d2)]]||this[_0x482f15(0x21e)]&&this[_0x482f15(0x21e)][_0x482f15(0x1b6)],_0xd9d4f3=_0x1247a1?.[TestFrameworkConstants[_0x482f15(0x1b9)]]||this[_0x482f15(0x21e)]&&this[_0x482f15(0x21e)][_0x482f15(0x18d)],_0x514e43=TestFrameworkState[_0x482f15(0x1c2)][_0x482f15(0x1a5)]()[_0x482f15(0x19f)]('.')[0x1],_0x37ee93=HookState[_0x482f15(0x1db)][_0x482f15(0x1a5)]()[_0x482f15(0x19f)]('.')[0x1],_0x2af9b8=_0x4786c0[_0x482f15(0x1ed)](),_0x37ce10=AutomationFramework[_0x482f15(0x236)](_0x4786c0,PlaywrightDriverModule[_0x482f15(0x1ca)],''),_0x25f09b={'provider':_0x359536[_0x482f15(0x1bc)](getPlaywrightProvider,_0x37ce10),'frameworkName':_0x359536[_0x482f15(0x22b)],'frameworkVersion':_0x359536[_0x482f15(0x1d3)],'frameworkSessionId':LoadTestModule[_0x482f15(0x24c)]()?LoadTestModule[_0x482f15(0x1a2)]():AutomationFramework[_0x482f15(0x236)](_0x4786c0,PlaywrightDriverModule[_0x482f15(0x1d5)],''),'ref':_0x4786c0[_0x482f15(0x20b)](),'hubUrl':_0x37ce10};let _0x589230=AutomationFramework[_0x482f15(0x236)](_0x4786c0,PlaywrightDriverModule[_0x482f15(0x1cc)],{});_0x589230&&_0x359536[_0x482f15(0x1a3)](Object[_0x482f15(0x214)](_0x589230)['length'],0x0)?_0x589230=Buffer['from'](JSON[_0x482f15(0x1c3)](_0x589230))[_0x482f15(0x1a5)](_0x359536[_0x482f15(0x234)]):_0x589230=Buffer['from'](JSON[_0x482f15(0x1c3)]({}))[_0x482f15(0x1a5)](_0x359536['LIbvg']);const _0x231639={'hash':_0x2af9b8[_0x482f15(0x221)](),'threadId':_0x2af9b8['getThreadId']()[_0x482f15(0x1a5)](),'processId':_0x2af9b8[_0x482f15(0x220)]()[_0x482f15(0x1a5)]()},_0x946506={};_0x946506[_0x482f15(0x201)]=_0x118deb;const _0x38dbd5={};_0x38dbd5[_0x482f15(0x20f)]=_0x10ae83;const _0x11d70b={'platformIndex':_0x53d746,'testFrameworkName':_0x5357fe,'testFrameworkVersion':_0xd9d4f3,'testFrameworkState':_0x514e43,'testHookState':_0x37ee93,...this['testFrameworkData']&&_0x359536[_0x482f15(0x1fa)](this[_0x482f15(0x21e)][_0x482f15(0x1b6)],FRAMEWORKS['JEST'])?_0x946506:_0x38dbd5,'automationSession':_0x25f09b,'capabilities':_0x589230,'executionContext':_0x231639};this['logger'][_0x482f15(0x21b)](_0x482f15(0x206)+util[_0x482f15(0x20e)](_0x11d70b)),GrpcClient[_0x482f15(0x23e)]()['testSessionEvent'](_0x11d70b),this[_0x482f15(0x1e6)][_0x482f15(0x21b)]('onAfterTest\x20CBTSession\x20complete\x20for\x20testId:\x20'+_0x364b51+(this[_0x482f15(0x21e)]&&_0x359536[_0x482f15(0x1cb)](this['testFrameworkData']['name'],FRAMEWORKS['JEST'])?',\x20test_identifier:\x20'+_0x118deb:''));if(!_0x137e4f){this[_0x482f15(0x1e6)]['debug'](_0x359536['MppPS'],_0x5669c7[_0x482f15(0x1c5)]);return;}this[_0x482f15(0x1e6)]['debug'](_0x482f15(0x1b8)+_0x364b51),_0x5dfb10&&(this['logger']['debug'](_0x482f15(0x1a6)+_0x20af26),await this[_0x482f15(0x1d9)](_0x5dfb10)),await this[_0x482f15(0x207)](_0x4786c0,_0x20af26,_0x137e4f,_0x94d8b4);}async[a84_0x179989(0x207)](_0x5e2de9,_0x3a99c9,_0x5741f6,_0x3d9663){const _0x3a5a93=a84_0x179989,_0x19e9a2={'Iosrs':_0x3a5a93(0x1c8),'tDvYJ':_0x3a5a93(0x200),'anMkq':_0x3a5a93(0x21f),'VczdF':_0x3a5a93(0x233),'yzArO':_0x3a5a93(0x1d0),'SUJZv':_0x3a5a93(0x227),'HDaXt':'Session','QWkSV':function(_0x48a8b8,_0x3a8374){return _0x48a8b8===_0x3a8374;},'NHRdY':_0x3a5a93(0x1be),'NqLbo':_0x3a5a93(0x238),'wiAFm':_0x3a5a93(0x239),'Ikkmj':function(_0x84509e,_0x1379c3,_0x42c4a5,_0x5dcf5c){return _0x84509e(_0x1379c3,_0x42c4a5,_0x5dcf5c);},'KDAZi':_0x3a5a93(0x1c7),'CahoO':function(_0x59d916,_0x27e55f,_0x484dd8){return _0x59d916(_0x27e55f,_0x484dd8);}};if(CLIUtils[_0x3a5a93(0x1f7)](BrowserstackCLI[_0x3a5a93(0x23e)]()[_0x3a5a93(0x246)]())){this['logger'][_0x3a5a93(0x21b)](_0x19e9a2[_0x3a5a93(0x229)]);return;}const _0x4b038d=_0x5e2de9;if(!_0x4b038d){this[_0x3a5a93(0x1e6)][_0x3a5a93(0x21b)](_0x19e9a2[_0x3a5a93(0x1af)]);return;}const _0x2c0b58=AutomationFramework[_0x3a5a93(0x236)](_0x4b038d,PlaywrightDriverModule[_0x3a5a93(0x226)]);if(!_0x2c0b58){this[_0x3a5a93(0x1e6)][_0x3a5a93(0x21b)](_0x19e9a2[_0x3a5a93(0x1b5)]);return;}const _0x261be1=_0x5741f6;if(!_0x261be1){this[_0x3a5a93(0x1e6)][_0x3a5a93(0x21b)](_0x19e9a2[_0x3a5a93(0x1f9)],_0x261be1);return;}const _0x4e672b={};_0x4e672b['status']=_0x261be1;const _0x583553={};_0x583553[_0x3a5a93(0x1b4)]=_0x19e9a2['yzArO'],_0x583553[_0x3a5a93(0x1f5)]=_0x4e672b;const _0x175713=_0x583553;_0x3d9663&&(_0x175713[_0x3a5a93(0x1f5)][_0x19e9a2['SUJZv']]=_0x3d9663);const _0x82f3a6=(_0x3a99c9?_0x3a99c9:_0x19e9a2[_0x3a5a93(0x1a1)])+'\x20'+_0x261be1+'\x20'+(_0x3d9663?_0x3a5a93(0x224)+_0x3d9663:''),_0x781fd3=_0x19e9a2[_0x3a5a93(0x24d)](_0x261be1,_0x19e9a2[_0x3a5a93(0x19b)])?_0x19e9a2['NqLbo']:_0x19e9a2[_0x3a5a93(0x22f)];await _0x19e9a2[_0x3a5a93(0x243)](playwrightAnnotate,_0x2c0b58,_0x82f3a6,_0x781fd3),_0x3d9663&&(_0x175713[_0x3a5a93(0x1f5)][_0x19e9a2[_0x3a5a93(0x1b0)]]=_0x3d9663),PerformanceTester[_0x3a5a93(0x23f)](PerformanceEvents['SESSION_STATUS']),this[_0x3a5a93(0x1e6)][_0x3a5a93(0x21b)](_0x19e9a2['KDAZi']),await _0x19e9a2[_0x3a5a93(0x213)](playwrightBstackJsExecutor,_0x2c0b58,_0x175713),PerformanceTester['end'](PerformanceEvents[_0x3a5a93(0x24f)]);}async['markSessionName'](_0x359445){const _0x4c4185=a84_0x179989,_0x5f02fd={'ZfXiz':_0x4c4185(0x198),'DUtge':function(_0x12fea3,_0x249f21){return _0x12fea3(_0x249f21);},'VpVkO':_0x4c4185(0x215),'SqNqA':function(_0x1b1429,_0x565f72,_0x300080){return _0x1b1429(_0x565f72,_0x300080);}};try{if(CLIUtils[_0x4c4185(0x24e)](BrowserstackCLI[_0x4c4185(0x23e)]()[_0x4c4185(0x246)]())){this[_0x4c4185(0x1e6)][_0x4c4185(0x21b)](_0x5f02fd[_0x4c4185(0x23b)]);return;}const _0x4f3019=AutomationFramework[_0x4c4185(0x236)](AutomationFramework[_0x4c4185(0x1da)](),PlaywrightDriverModule[_0x4c4185(0x226)]);let _0x42e031;_0x359445['pickle']||_0x359445['gherkinDocument']?_0x42e031=_0x5f02fd[_0x4c4185(0x1a4)](getCucumberSessionName,_0x359445):_0x42e031=_0x5f02fd[_0x4c4185(0x1a4)](getPlaywrightSessionName,_0x359445);const _0x1acf7d={};_0x1acf7d[_0x4c4185(0x1b6)]=_0x42e031;const _0x2cc6db={};_0x2cc6db[_0x4c4185(0x1b4)]=_0x5f02fd['VpVkO'],_0x2cc6db['arguments']=_0x1acf7d;const _0x42ef8b=_0x2cc6db;PerformanceTester[_0x4c4185(0x23f)](PerformanceEvents[_0x4c4185(0x212)]),await _0x5f02fd[_0x4c4185(0x1f2)](playwrightBstackJsExecutor,_0x4f3019,_0x42ef8b),PerformanceTester[_0x4c4185(0x216)](PerformanceEvents[_0x4c4185(0x212)]);}catch(_0x46bfb4){PerformanceTester[_0x4c4185(0x216)](PerformanceEvents[_0x4c4185(0x212)],![],util[_0x4c4185(0x20e)](_0x46bfb4)),this['logger'][_0x4c4185(0x239)](_0x4c4185(0x19c)+util[_0x4c4185(0x20e)](_0x46bfb4));}}}function a84_0x4850(_0x55582f,_0x1692b2){const _0x13b2a4=a84_0x13b2();return a84_0x4850=function(_0x48500d,_0xfe05d9){_0x48500d=_0x48500d-0x18d;let _0x3a0b4d=_0x13b2a4[_0x48500d];return _0x3a0b4d;},a84_0x4850(_0x55582f,_0x1692b2);}PlaywrightDriverModule[a84_0x179989(0x209)]=a84_0x179989(0x1f4),module[a84_0x179989(0x20c)]=PlaywrightDriverModule;
1
+ const a84_0x3b9d8b=a84_0x3aba;(function(_0x53c086,_0xae5566){const _0x466e4f=a84_0x3aba,_0x3754ea=_0x53c086();while(!![]){try{const _0x16f652=-parseInt(_0x466e4f(0x1cf))/0x1*(parseInt(_0x466e4f(0x186))/0x2)+parseInt(_0x466e4f(0x1db))/0x3*(-parseInt(_0x466e4f(0x1f4))/0x4)+-parseInt(_0x466e4f(0x1fd))/0x5*(parseInt(_0x466e4f(0x156))/0x6)+parseInt(_0x466e4f(0x1c0))/0x7*(parseInt(_0x466e4f(0x1a8))/0x8)+-parseInt(_0x466e4f(0x1ad))/0x9*(-parseInt(_0x466e4f(0x168))/0xa)+parseInt(_0x466e4f(0x1e8))/0xb+parseInt(_0x466e4f(0x1fc))/0xc;if(_0x16f652===_0xae5566)break;else _0x3754ea['push'](_0x3754ea['shift']());}catch(_0x1611f3){_0x3754ea['push'](_0x3754ea['shift']());}}}(a84_0x5aa2,0xb3e57));const util=require(a84_0x3b9d8b(0x202)),BaseModule=require(a84_0x3b9d8b(0x20e)),{createClassLogger}=require(a84_0x3b9d8b(0x171)),{getFrameworkVersion}=require('../../../helpers/test-observability/utils'),helper=require('../../../helpers/helper'),{FRAMEWORKS}=require(a84_0x3b9d8b(0x1c1)),AutomationFramework=require(a84_0x3b9d8b(0x187)),AutomationFrameworkState=require(a84_0x3b9d8b(0x1a0)),HookState=require(a84_0x3b9d8b(0x16f)),{playwrightBstackJsExecutor,nestedKeyValue,playwrightAnnotate,getPlaywrightStatus,getPlaywrightSessionName,getCucumberSessionName}=require(a84_0x3b9d8b(0x164)),CLIUtils=require(a84_0x3b9d8b(0x150)),BrowserstackCLI=require('../browserstackCLI.js'),GrpcClient=require(a84_0x3b9d8b(0x1b1)),PerformanceTester=require(a84_0x3b9d8b(0x1cd)),PerformanceEvents=require('../../../helpers/performance/constants.js')[a84_0x3b9d8b(0x209)],TestInfo=require('../TestInfo.js'),{getPlaywrightProvider}=require('../../../helpers/helper.js'),LoadTestModule=require(a84_0x3b9d8b(0x179)),TestFrameworkConstants=require(a84_0x3b9d8b(0x1d9)),TestFrameworkState=require(a84_0x3b9d8b(0x1b8)),JestUtils=require(a84_0x3b9d8b(0x15c));class PlaywrightDriverModule extends BaseModule{static ['KEY_BROWSER_OBJECT']=a84_0x3b9d8b(0x1e5);static [a84_0x3b9d8b(0x19d)]='contextObject';static ['KEY_PAGE_OBJECT']=a84_0x3b9d8b(0x1af);static [a84_0x3b9d8b(0x1f3)]=a84_0x3b9d8b(0x191);static ['KEY_PLATFORM_INDEX']=a84_0x3b9d8b(0x200);static [a84_0x3b9d8b(0x20a)]='capabilities';static [a84_0x3b9d8b(0x152)]='hubUrl';static [a84_0x3b9d8b(0x17e)]=a84_0x3b9d8b(0x19a);static [a84_0x3b9d8b(0x1f5)]='testId';[a84_0x3b9d8b(0x160)]=createClassLogger(a84_0x3b9d8b(0x1bd));constructor(_0x550470=null){const _0x15d537=a84_0x3b9d8b,_0x170069={};_0x170069[_0x15d537(0x1e6)]='3|6|7|5|11|0|1|9|2|8|4|10',_0x170069[_0x15d537(0x194)]=_0x15d537(0x1bd);const _0x5c3c90=_0x170069,_0x3aeebe=_0x5c3c90[_0x15d537(0x1e6)][_0x15d537(0x17b)]('|');let _0x183dde=0x0;while(!![]){switch(_0x3aeebe[_0x183dde++]){case'0':this['platforms']=[];continue;case'1':this[_0x15d537(0x1a3)]=null;continue;case'2':AutomationFramework[_0x15d537(0x1c2)](AutomationFrameworkState[_0x15d537(0x1c3)],HookState[_0x15d537(0x207)],this[_0x15d537(0x199)][_0x15d537(0x15f)](this));continue;case'3':super(_0x550470);continue;case'4':AutomationFramework['registerObserver'](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState[_0x15d537(0x18c)],this[_0x15d537(0x1c8)][_0x15d537(0x15f)](this));continue;case'5':this['browserName']=null;continue;case'6':this[_0x15d537(0x162)]=_0x5c3c90[_0x15d537(0x194)];continue;case'7':this[_0x15d537(0x1c5)]=null;continue;case'8':AutomationFramework[_0x15d537(0x1c2)](AutomationFrameworkState[_0x15d537(0x1c3)],HookState[_0x15d537(0x18c)],this['onAfterDriverCreate'][_0x15d537(0x15f)](this));continue;case'9':this['jestUtils']=new JestUtils();continue;case'10':AutomationFramework[_0x15d537(0x1c2)](AutomationFrameworkState[_0x15d537(0x1e3)],HookState['POST'],this['onAfterTest'][_0x15d537(0x15f)](this));continue;case'11':this[_0x15d537(0x1c4)]=null;continue;}break;}}['getModuleName'](){return PlaywrightDriverModule['MODULE_NAME'];}async[a84_0x3b9d8b(0x199)](_0x48f427){const _0x3a1d30=a84_0x3b9d8b,_0x47b03b={};_0x47b03b['IoXnz']=_0x3a1d30(0x1ba);const _0x2058b1=_0x47b03b;try{this[_0x3a1d30(0x160)][_0x3a1d30(0x19b)](_0x2058b1[_0x3a1d30(0x1d0)]);const _0x2ad0d2=_0x48f427[_0x3a1d30(0x1eb)],_0x37d75d=_0x48f427['hubUrl'];AutomationFramework[_0x3a1d30(0x1aa)](_0x48f427[_0x3a1d30(0x1ac)],PlaywrightDriverModule['KEY_CAPABILITIES'],_0x2ad0d2),AutomationFramework['setState'](_0x48f427[_0x3a1d30(0x1ac)],PlaywrightDriverModule[_0x3a1d30(0x152)],_0x37d75d);}catch(_0x3213e8){this[_0x3a1d30(0x160)]['error'](_0x3a1d30(0x175)+util[_0x3a1d30(0x1d5)](_0x3213e8));}}async[a84_0x3b9d8b(0x1c8)](_0x285f2c){const _0x3ddeda=a84_0x3b9d8b,_0x34a5f5={};_0x34a5f5[_0x3ddeda(0x197)]=function(_0x243e9c,_0x46164f){return _0x243e9c||_0x46164f;};const _0x5ec6a3=_0x34a5f5;try{const _0x1c5a19=_0x285f2c?.[_0x3ddeda(0x1fb)]&&_0x285f2c?.[_0x3ddeda(0x1fb)]?.['params']&&_0x285f2c?.['message']?.[_0x3ddeda(0x15d)]?.[_0x3ddeda(0x1a4)],_0x169c4e=_0x285f2c?.[_0x3ddeda(0x1fb)]&&_0x285f2c?.[_0x3ddeda(0x1fb)]?.[_0x3ddeda(0x1d1)];if(_0x5ec6a3[_0x3ddeda(0x197)](_0x1c5a19,_0x169c4e)){this[_0x3ddeda(0x160)][_0x3ddeda(0x19b)](_0x3ddeda(0x1c9)+util['inspect'](_0x1c5a19)+_0x3ddeda(0x1ab)+util[_0x3ddeda(0x170)](_0x169c4e));const _0x1af0be=_0x285f2c?.[_0x3ddeda(0x1ac)],_0x342fcc=global?.[_0x3ddeda(0x1a6)]?.[_0x3ddeda(0x1dc)]?.[_0x3ddeda(0x173)],_0x34743e=_0x1c5a19?.[_0x3ddeda(0x191)]||_0x169c4e?.['sessionId'],_0x59e6eb=_0x1c5a19?.[_0x3ddeda(0x19a)]||_0x169c4e?.[_0x3ddeda(0x19a)];_0x34743e&&(this[_0x3ddeda(0x160)][_0x3ddeda(0x19b)](_0x3ddeda(0x151)+_0x34743e),AutomationFramework['setState'](_0x1af0be,PlaywrightDriverModule['KEY_SESSION_ID'],_0x34743e)),_0x342fcc&&(this[_0x3ddeda(0x160)][_0x3ddeda(0x19b)](_0x3ddeda(0x181)+util[_0x3ddeda(0x170)](_0x342fcc)),AutomationFramework['setState'](_0x1af0be,PlaywrightDriverModule[_0x3ddeda(0x17a)],_0x342fcc));}}catch(_0x28aa10){this[_0x3ddeda(0x160)][_0x3ddeda(0x169)](_0x3ddeda(0x201)+util[_0x3ddeda(0x1d5)](_0x28aa10));}}async[a84_0x3b9d8b(0x1ed)](_0x44125f){const _0x326b12=a84_0x3b9d8b,_0x4284fb={'CiufT':'onAfterDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','CICox':function(_0x50d79d,_0x461b1c){return _0x50d79d(_0x461b1c);},'oCgZb':_0x326b12(0x1e7),'LsWMj':_0x326b12(0x192),'DYTZg':'onAfterDriverCreate:\x20Setting\x20context\x20object','YeYOX':'onAfterDriverCreate:\x20Setting\x20browser\x20object','wvAtJ':_0x326b12(0x1d2)};try{this[_0x326b12(0x160)][_0x326b12(0x19b)](_0x4284fb[_0x326b12(0x1ee)]);const _0x1b6040=_0x44125f[_0x326b12(0x1ac)];this[_0x326b12(0x1c5)]=_0x4284fb[_0x326b12(0x16d)](getFrameworkVersion,FRAMEWORKS[_0x326b12(0x15b)]);if(_0x44125f[_0x326b12(0x19c)]){this[_0x326b12(0x160)]['debug'](_0x4284fb[_0x326b12(0x1e4)]),AutomationFramework[_0x326b12(0x1aa)](_0x1b6040,PlaywrightDriverModule[_0x326b12(0x1e2)],_0x44125f['page']);if(_0x44125f['testInfo']){this['logger'][_0x326b12(0x19b)](_0x4284fb['LsWMj']);const _0x571038=this[_0x326b12(0x208)](_0x44125f);AutomationFramework['setState'](_0x1b6040,PlaywrightDriverModule['KEY_TEST_ID'],_0x571038),await this[_0x326b12(0x19f)](_0x44125f[_0x326b12(0x1d4)]);}}_0x44125f[_0x326b12(0x158)]&&(this[_0x326b12(0x160)][_0x326b12(0x19b)](_0x4284fb[_0x326b12(0x154)]),AutomationFramework['setState'](_0x1b6040,PlaywrightDriverModule['KEY_CONTEXT_OBJECT'],_0x44125f[_0x326b12(0x158)]));if(_0x44125f[_0x326b12(0x18e)]){this[_0x326b12(0x160)]['debug'](_0x4284fb[_0x326b12(0x184)]);const _0x289562=global?.[_0x326b12(0x1a6)]?.[_0x326b12(0x1dc)]?.[_0x326b12(0x173)];AutomationFramework[_0x326b12(0x1aa)](_0x1b6040,PlaywrightDriverModule[_0x326b12(0x17d)],_0x44125f[_0x326b12(0x18e)]),AutomationFramework[_0x326b12(0x1aa)](_0x1b6040,PlaywrightDriverModule[_0x326b12(0x17a)],_0x289562);const _0x4030a2={};_0x4030a2[_0x326b12(0x195)]=!![];const _0x4204c5=Buffer[_0x326b12(0x1a2)](JSON[_0x326b12(0x205)](_0x4030a2)[_0x326b12(0x1a7)](_0x4284fb['wvAtJ'])),_0x2a4750=await GrpcClient['getInstance']()[_0x326b12(0x1f9)]({'platformIndex':_0x289562,'ref':_0x1b6040[_0x326b12(0x1e9)](),'userInputParams':_0x4204c5});helper[_0x326b12(0x1d7)](helper[_0x326b12(0x1f6)]())&&AutomationFramework['setState'](_0x1b6040,PlaywrightDriverModule[_0x326b12(0x20a)],JSON['parse'](Buffer[_0x326b12(0x1a2)](_0x2a4750['getCapabilities'](),_0x4284fb[_0x326b12(0x1e0)])[_0x326b12(0x1a7)]()));}}catch(_0xd07e2f){this[_0x326b12(0x160)][_0x326b12(0x169)](_0x326b12(0x18d)+util[_0x326b12(0x1d5)](_0xd07e2f));}}async['onAfterTest'](_0x3627f4){const _0x50c2ca=a84_0x3b9d8b,_0x989cd9={'QLkCX':_0x50c2ca(0x1a9),'qhuui':_0x50c2ca(0x15e),'BmYbY':function(_0x28aeff,_0x2c1109){return _0x28aeff(_0x2c1109);},'aPRbm':function(_0x3b2053,_0x1068a6,_0x1be41d){return _0x3b2053(_0x1068a6,_0x1be41d);},'uqByC':_0x50c2ca(0x1ec),'JumUv':'message','zrAIs':function(_0x1d71b4,_0x2f4d3d,_0x2cd690){return _0x1d71b4(_0x2f4d3d,_0x2cd690);},'Rrzfk':_0x50c2ca(0x169),'NFyyO':_0x50c2ca(0x180),'HBjNe':function(_0x5ae428,_0x43b376){return _0x5ae428>_0x43b376;},'ZaUUc':function(_0x33b9a8,_0x82c2ff){return _0x33b9a8||_0x82c2ff;},'eoRhz':function(_0x554cf0,_0x6cf565){return _0x554cf0||_0x6cf565;},'vCNPP':function(_0x78fa70,_0x3eeea7){return _0x78fa70===_0x3eeea7;},'LTXXS':function(_0x346010,_0x5087ea){return _0x346010===_0x5087ea;},'LzSvx':function(_0x4a62a6,_0x40ab50){return _0x4a62a6+_0x40ab50;},'hyqRr':_0x50c2ca(0x15a),'VaSge':_0x50c2ca(0x16b),'gKuiH':_0x50c2ca(0x1ef),'cTwyz':_0x50c2ca(0x18f),'cjLFn':function(_0x3179b6,_0x4d8599){return _0x3179b6>_0x4d8599;},'TDdzD':_0x50c2ca(0x1d2),'BpMXJ':'Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20'};this[_0x50c2ca(0x160)]['debug'](_0x989cd9['QLkCX']);const _0x28af88=_0x3627f4['instance'];if(!_0x28af88){this['logger']['debug'](_0x989cd9[_0x50c2ca(0x188)]);return;}const _0x150460=_0x3627f4[_0x50c2ca(0x1d4)],_0x2b6513=this[_0x50c2ca(0x208)](_0x3627f4),_0x785fc0=_0x150460['status'];let _0x340529;const _0x4c7d1a=_0x989cd9[_0x50c2ca(0x1f7)](getPlaywrightStatus,_0x785fc0);let _0x22b9d6,_0x563910=null;if(_0x150460[_0x50c2ca(0x20b)]||_0x150460[_0x50c2ca(0x1c6)])_0x22b9d6=_0x989cd9['BmYbY'](getCucumberSessionName,_0x150460),_0x340529=_0x989cd9[_0x50c2ca(0x1b4)](nestedKeyValue,_0x150460,[_0x989cd9[_0x50c2ca(0x14f)],_0x989cd9[_0x50c2ca(0x1ca)]]);else{_0x22b9d6=_0x989cd9['BmYbY'](getPlaywrightSessionName,_0x150460),_0x340529=_0x989cd9[_0x50c2ca(0x17c)](nestedKeyValue,_0x150460,[_0x989cd9[_0x50c2ca(0x17f)],_0x989cd9[_0x50c2ca(0x1ca)]]);const _0x3346f2=_0x989cd9[_0x50c2ca(0x17c)](nestedKeyValue,_0x150460,[_0x989cd9[_0x50c2ca(0x1cc)]]);_0x3346f2&&_0x989cd9[_0x50c2ca(0x1ea)](_0x3346f2[_0x50c2ca(0x1f0)],0x0)&&(_0x563910=_0x3346f2[0x0][_0x50c2ca(0x1fb)]),_0x340529=_0x989cd9[_0x50c2ca(0x204)](_0x340529,_0x563910),this[_0x50c2ca(0x160)][_0x50c2ca(0x19b)](_0x50c2ca(0x196)+_0x4c7d1a+'\x20failure\x20reason:\x20'+_0x340529);}const _0x1639b3=_0x989cd9[_0x50c2ca(0x177)](_0x340529,_0x563910);this[_0x50c2ca(0x160)][_0x50c2ca(0x19b)](_0x50c2ca(0x196)+_0x4c7d1a);let _0x388125,_0x39a4ee;if(this[_0x50c2ca(0x1b0)]&&_0x989cd9['vCNPP'](this['testFrameworkData'][_0x50c2ca(0x162)],FRAMEWORKS[_0x50c2ca(0x166)]))_0x388125=_0x2b6513,_0x39a4ee=TestInfo[_0x50c2ca(0x1fa)](_0x388125);else this[_0x50c2ca(0x1b0)]&&_0x989cd9[_0x50c2ca(0x193)](this['testFrameworkData'][_0x50c2ca(0x162)],FRAMEWORKS[_0x50c2ca(0x1bb)])?(_0x388125=this['jestUtils'][_0x50c2ca(0x16a)](_0x150460),this['logger'][_0x50c2ca(0x19b)]('Automation\x20onAfterTest:\x20Recreated\x20Jest\x20testIdentifier:\x20'+_0x388125)):(_0x388125=TestInfo['getTestIdentifierFromTestInfo'](_0x150460,_0x150460[_0x50c2ca(0x210)]),_0x39a4ee=TestInfo[_0x50c2ca(0x1fa)](_0x388125));const _0x28448a=TestInfo[_0x50c2ca(0x18b)](_0x388125);this[_0x50c2ca(0x160)][_0x50c2ca(0x165)](_0x989cd9['LzSvx'](_0x989cd9[_0x50c2ca(0x185)],_0x2b6513)),this[_0x50c2ca(0x160)][_0x50c2ca(0x165)](_0x989cd9['LzSvx'](_0x989cd9[_0x50c2ca(0x1b9)],util['inspect'](_0x28448a)));const _0x28c4c4=AutomationFramework[_0x50c2ca(0x167)](_0x28af88,PlaywrightDriverModule[_0x50c2ca(0x17a)]),_0x523882=_0x28448a?.[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]||this[_0x50c2ca(0x1b0)]&&this['testFrameworkData'][_0x50c2ca(0x162)],_0x428d76=_0x28448a?.[TestFrameworkConstants[_0x50c2ca(0x161)]]||this[_0x50c2ca(0x1b0)]&&this[_0x50c2ca(0x1b0)][_0x50c2ca(0x1b6)],_0x573f22=TestFrameworkState[_0x50c2ca(0x1b7)][_0x50c2ca(0x1a7)]()['split']('.')[0x1],_0x212462=HookState['POST'][_0x50c2ca(0x1a7)]()[_0x50c2ca(0x17b)]('.')[0x1],_0x46e98d=_0x28af88[_0x50c2ca(0x178)](),_0xea89ba=AutomationFramework[_0x50c2ca(0x167)](_0x28af88,PlaywrightDriverModule[_0x50c2ca(0x152)],''),_0x28d4c5={'provider':_0x989cd9[_0x50c2ca(0x1f7)](getPlaywrightProvider,_0xea89ba),'frameworkName':_0x989cd9['gKuiH'],'frameworkVersion':_0x989cd9[_0x50c2ca(0x20d)],'frameworkSessionId':LoadTestModule[_0x50c2ca(0x206)]()?LoadTestModule['getLTSSessionId']():AutomationFramework[_0x50c2ca(0x167)](_0x28af88,PlaywrightDriverModule['KEY_SESSION_ID'],''),'ref':_0x28af88[_0x50c2ca(0x1e9)](),'hubUrl':_0xea89ba};let _0xd896a0=AutomationFramework[_0x50c2ca(0x167)](_0x28af88,PlaywrightDriverModule[_0x50c2ca(0x20a)],{});_0xd896a0&&_0x989cd9['cjLFn'](Object[_0x50c2ca(0x14e)](_0xd896a0)['length'],0x0)?_0xd896a0=Buffer['from'](JSON[_0x50c2ca(0x205)](_0xd896a0))['toString'](_0x989cd9['TDdzD']):_0xd896a0=Buffer[_0x50c2ca(0x1a2)](JSON[_0x50c2ca(0x205)]({}))[_0x50c2ca(0x1a7)](_0x989cd9[_0x50c2ca(0x1a5)]);const _0x2959f7={'hash':_0x46e98d[_0x50c2ca(0x190)](),'threadId':_0x46e98d[_0x50c2ca(0x1b5)]()[_0x50c2ca(0x1a7)](),'processId':_0x46e98d['getProcessId']()[_0x50c2ca(0x1a7)]()},_0x4dd5e9={};_0x4dd5e9['test_identifier']=_0x388125;const _0x32242a={};_0x32242a['testUuid']=_0x39a4ee;const _0xbd9a68={'platformIndex':_0x28c4c4,'testFrameworkName':_0x523882,'testFrameworkVersion':_0x428d76,'testFrameworkState':_0x573f22,'testHookState':_0x212462,...this[_0x50c2ca(0x1b0)]&&_0x989cd9['vCNPP'](this['testFrameworkData'][_0x50c2ca(0x162)],FRAMEWORKS[_0x50c2ca(0x1bb)])?_0x4dd5e9:_0x32242a,'automationSession':_0x28d4c5,'capabilities':_0xd896a0,'executionContext':_0x2959f7};this[_0x50c2ca(0x160)]['debug']('onAfterTest\x20CBTSession\x20payload:\x20'+util[_0x50c2ca(0x1d5)](_0xbd9a68)),GrpcClient[_0x50c2ca(0x172)]()[_0x50c2ca(0x1d3)](_0xbd9a68),this[_0x50c2ca(0x160)][_0x50c2ca(0x19b)](_0x50c2ca(0x1be)+_0x2b6513+(this[_0x50c2ca(0x1b0)]&&_0x989cd9[_0x50c2ca(0x176)](this['testFrameworkData'][_0x50c2ca(0x162)],FRAMEWORKS[_0x50c2ca(0x1bb)])?_0x50c2ca(0x157)+_0x388125:''));if(!_0x4c7d1a){this[_0x50c2ca(0x160)][_0x50c2ca(0x19b)](_0x989cd9[_0x50c2ca(0x1b3)],_0x785fc0[_0x50c2ca(0x174)]);return;}this[_0x50c2ca(0x160)][_0x50c2ca(0x19b)]('Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20and\x20status\x20for\x20testId:\x20'+_0x2b6513),_0x150460&&(this[_0x50c2ca(0x160)][_0x50c2ca(0x19b)](_0x50c2ca(0x16c)+_0x22b9d6),await this[_0x50c2ca(0x19f)](_0x150460)),await this['markSessionStatus'](_0x28af88,_0x22b9d6,_0x4c7d1a,_0x1639b3);}async['markSessionStatus'](_0x1574bf,_0x3edbc4,_0x526119,_0x51ba20){const _0x14e845=a84_0x3b9d8b,_0x1c40d2={'jXsLh':'markSessionStatus:\x20Skipping\x20session\x20status\x20marking','Pyfpk':'markSessionStatus:\x20Automation\x20instance\x20is\x20not\x20available','eFhkX':_0x14e845(0x1f8),'OPJbd':'Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','qhhaL':_0x14e845(0x1f2),'LlRti':'reason','lfbFT':_0x14e845(0x1da),'CMUvJ':function(_0x138bfc,_0x37a893){return _0x138bfc===_0x37a893;},'oxOJO':_0x14e845(0x198),'moHNE':_0x14e845(0x165),'pKFSI':_0x14e845(0x169),'BLKSq':function(_0x56eda,_0x1662c2,_0x4835d2,_0x23d5ee){return _0x56eda(_0x1662c2,_0x4835d2,_0x23d5ee);},'tYfnU':'markSessionStatus:\x20Marking\x20session\x20status','piZgV':function(_0x3778fd,_0x490ce0,_0x104e49){return _0x3778fd(_0x490ce0,_0x104e49);}};if(CLIUtils['shouldSkipSessionStatus'](BrowserstackCLI[_0x14e845(0x172)]()[_0x14e845(0x163)]())){this[_0x14e845(0x160)][_0x14e845(0x19b)](_0x1c40d2[_0x14e845(0x1ae)]);return;}const _0x4897c8=_0x1574bf;if(!_0x4897c8){this[_0x14e845(0x160)][_0x14e845(0x19b)](_0x1c40d2[_0x14e845(0x1cb)]);return;}const _0x4e2ecc=AutomationFramework[_0x14e845(0x167)](_0x4897c8,PlaywrightDriverModule[_0x14e845(0x1e2)]);if(!_0x4e2ecc){this['logger']['debug'](_0x1c40d2['eFhkX']);return;}const _0x23b9d4=_0x526119;if(!_0x23b9d4){this[_0x14e845(0x160)][_0x14e845(0x19b)](_0x1c40d2[_0x14e845(0x1ce)],_0x23b9d4);return;}const _0xf1d21f={};_0xf1d21f[_0x14e845(0x174)]=_0x23b9d4;const _0x15a0ed={};_0x15a0ed[_0x14e845(0x1bf)]=_0x1c40d2[_0x14e845(0x159)],_0x15a0ed['arguments']=_0xf1d21f;const _0x44fdeb=_0x15a0ed;_0x51ba20&&(_0x44fdeb[_0x14e845(0x1bc)][_0x1c40d2[_0x14e845(0x1de)]]=_0x51ba20);const _0x1570c6=(_0x3edbc4?_0x3edbc4:_0x1c40d2[_0x14e845(0x1fe)])+'\x20'+_0x23b9d4+'\x20'+(_0x51ba20?_0x14e845(0x155)+_0x51ba20:''),_0x54d4c0=_0x1c40d2[_0x14e845(0x189)](_0x23b9d4,_0x1c40d2[_0x14e845(0x1e1)])?_0x1c40d2[_0x14e845(0x1f1)]:_0x1c40d2[_0x14e845(0x1dd)];await _0x1c40d2[_0x14e845(0x1c7)](playwrightAnnotate,_0x4e2ecc,_0x1570c6,_0x54d4c0),_0x51ba20&&(_0x44fdeb[_0x14e845(0x1bc)][_0x1c40d2[_0x14e845(0x1de)]]=_0x51ba20),PerformanceTester[_0x14e845(0x19e)](PerformanceEvents[_0x14e845(0x1df)]),this['logger'][_0x14e845(0x19b)](_0x1c40d2['tYfnU']),await _0x1c40d2[_0x14e845(0x182)](playwrightBstackJsExecutor,_0x4e2ecc,_0x44fdeb),PerformanceTester[_0x14e845(0x20f)](PerformanceEvents[_0x14e845(0x1df)]);}async[a84_0x3b9d8b(0x19f)](_0x14b403){const _0x4ccdbf=a84_0x3b9d8b,_0x547fa2={'eyWaE':_0x4ccdbf(0x183),'hTGJS':function(_0x55c0d2,_0x97e29a){return _0x55c0d2(_0x97e29a);},'Nuxpc':'setSessionName','CKFlD':function(_0x1ed220,_0x3f5ffc,_0x25d595){return _0x1ed220(_0x3f5ffc,_0x25d595);}};try{if(CLIUtils[_0x4ccdbf(0x1a1)](BrowserstackCLI[_0x4ccdbf(0x172)]()[_0x4ccdbf(0x163)]())){this[_0x4ccdbf(0x160)]['debug'](_0x547fa2[_0x4ccdbf(0x203)]);return;}const _0x16e2b1=AutomationFramework['getState'](AutomationFramework[_0x4ccdbf(0x16e)](),PlaywrightDriverModule[_0x4ccdbf(0x1e2)]);let _0x3c0569;_0x14b403[_0x4ccdbf(0x20b)]||_0x14b403[_0x4ccdbf(0x1c6)]?_0x3c0569=_0x547fa2[_0x4ccdbf(0x153)](getCucumberSessionName,_0x14b403):_0x3c0569=_0x547fa2[_0x4ccdbf(0x153)](getPlaywrightSessionName,_0x14b403);const _0x51d461={};_0x51d461[_0x4ccdbf(0x162)]=_0x3c0569;const _0x28869a={};_0x28869a['action']=_0x547fa2[_0x4ccdbf(0x1ff)],_0x28869a[_0x4ccdbf(0x1bc)]=_0x51d461;const _0x5f20a7=_0x28869a;PerformanceTester[_0x4ccdbf(0x19e)](PerformanceEvents[_0x4ccdbf(0x20c)]),await _0x547fa2[_0x4ccdbf(0x18a)](playwrightBstackJsExecutor,_0x16e2b1,_0x5f20a7),PerformanceTester[_0x4ccdbf(0x20f)](PerformanceEvents[_0x4ccdbf(0x20c)]);}catch(_0x40a87c){PerformanceTester[_0x4ccdbf(0x20f)](PerformanceEvents[_0x4ccdbf(0x20c)],![],util['format'](_0x40a87c)),this['logger'][_0x4ccdbf(0x169)](_0x4ccdbf(0x1b2)+util[_0x4ccdbf(0x1d5)](_0x40a87c));}}}function a84_0x3aba(_0x121004,_0xe6a1bf){const _0x5aa231=a84_0x5aa2();return a84_0x3aba=function(_0x3abaf3,_0x159353){_0x3abaf3=_0x3abaf3-0x14e;let _0x7c27a0=_0x5aa231[_0x3abaf3];return _0x7c27a0;},a84_0x3aba(_0x121004,_0xe6a1bf);}PlaywrightDriverModule[a84_0x3b9d8b(0x1d8)]=a84_0x3b9d8b(0x1bd),module[a84_0x3b9d8b(0x1d6)]=PlaywrightDriverModule;function a84_0x5aa2(){const _0x216fb4=['instance','4599PoFcfZ','jXsLh','pageObject','testFrameworkData','../grpcClient.js','Error\x20in\x20markSessionName:\x20','BpMXJ','aPRbm','getThreadId','version','TEST','../state/testFrameworkState','VaSge','onBeforeDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','JEST','arguments','PlaywrightDriverModule','onAfterTest\x20CBTSession\x20complete\x20for\x20testId:\x20','action','119XkFIuE','../../utils/constants','registerObserver','CREATE','browserVersion','playwrightVersion','gherkinDocument','BLKSq','onPlaywrightDispatch','onDispatchExecute:\x20Playwright\x20driver\x20is\x20executing\x20tests\x20','JumUv','Pyfpk','NFyyO','../../../helpers/performance/performance-tester.js','OPJbd','5742DvTbMz','IoXnz','bStackParams','base64','testSessionEvent','testInfo','format','exports','isFalse','MODULE_NAME','../framework/constants/testFrameworkConstants.js','Session','74154YZxGEB','workerInfo','pKFSI','LlRti','SESSION_STATUS','wvAtJ','oxOJO','KEY_PAGE_OBJECT','EXECUTE','oCgZb','browserObject','DUOFL','onAfterDriverCreate:\x20Setting\x20page\x20object','6724883keiQZw','getRef','HBjNe','launchcaps','result','onAfterDriverCreate','CiufT','Playwright','length','moHNE','setSessionStatus','KEY_SESSION_ID','52BWLcir','KEY_TEST_ID','isBrowserstackInfra','BmYbY','markSessionStatus:\x20Page\x20object\x20is\x20not\x20available','driverInit','getTestUUID','message','1890948KkuwJK','23075lkEGAv','lfbFT','Nuxpc','platformIndex','Error\x20in\x20onDispatchExecute:\x20','util','eyWaE','ZaUUc','stringify','isLTSSession','PRE','getTestId','AUTOMATE_EVENTS','KEY_CAPABILITIES','pickle','SESSION_NAME','cTwyz','./baseModule','end','retry','keys','uqByC','../cliUtils.js','onDispatchExecute:\x20Playwright\x20sessionId:\x20','KEY_HUB_URL','hTGJS','DYTZg','with\x20','330Pwkizp',',\x20test_identifier:\x20','context','qhhaL','testId:\x20','PLAYWRIGHT','../utils/jest-utils.js','params','Automation\x20onAfterTest:\x20Automation\x20instance\x20is\x20not\x20available','bind','logger','KEY_TEST_FRAMEWORK_VERSION','name','getConfig','../../../helpers/helper.js','info','CUCUMBER','getState','13190LBzNFX','error','recreateIdentifierFromTestInfo','testData\x20from\x20onAfterTest:\x20','Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20to:\x20','CICox','getTrackedInstance','../state/hookState.js','inspect','../../../helpers/classLogger.js','getInstance','parallelIndex','status','Error\x20in\x20onBeforeDriverCreate:\x20','vCNPP','eoRhz','getContext','./loadTestModule.js','KEY_PLATFORM_INDEX','split','zrAIs','KEY_BROWSER_OBJECT','KEY_PLATFORM_DETAILS','Rrzfk','errors','onDispatchExecute:\x20Playwright\x20platform\x20platformIndex:\x20','piZgV','markSessionName:\x20Skipping\x20session\x20name\x20marking','YeYOX','hyqRr','182frVPkU','../framework/automationFramework.js','qhuui','CMUvJ','CKFlD','getTestDetails','POST','Error\x20in\x20onAfterDriverCreate:\x20','browser','1.51.0','getId','sessionId','onAfterDriverCreate:\x20Setting\x20Session\x20Name\x20from\x20testInfo','LTXXS','dilmv','isPlaywright','Automation\x20onAfterTest:\x20Test\x20status:\x20','sMtnv','passed','onBeforeDriverCreate','platformDetails','debug','page','KEY_CONTEXT_OBJECT','start','markSessionName','../state/automationFrameworkState.js','shouldSkipSessionName','from','testRunId','bsParams','TDdzD','__workerDetails','toString','184280HIJruV','Automation\x20onAfterTest:\x20Test\x20completed','setState','\x20||\x20'];a84_0x5aa2=function(){return _0x216fb4;};return a84_0x5aa2();}