browserstack-node-sdk 1.48.0 → 1.49.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 +3 -2
  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_0x23ed69=a80_0x2e8f;function a80_0x3337(){const _0x564579=['onBeforeExecute:\x20Command\x20','testInfo','\x20using\x20script:\x20','thTestRunUuid','\x20script\x20available\x20in\x20scriptsList','AYoUN','680oXUatI','iLPyV','Executing\x20','qqEWK','dvYHn','Error\x20in\x20performScanForCli\x20for\x20script\x20',',\x20\x0a\x20','testFramework','Exception\x20in\x20isPlatformSupported:\x20','isEnabledTestcase','INjgO','platformValidation','romQM','vZmnw','finishScanningForCli','testAnalyticsId','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20results.','measureWrapper','AAChu','fbbcn','onBeforeExecute:\x20Accessibility\x20not\x20enabled\x20for\x20current\x20test,\x20skipping\x20scan\x20for\x20','BofYp','2908752sbwsMY','BrNZj','jdDlQ','\x20value=','uEwAA','AXvEr','getScript','642426bAGAng','\x20testHubUuid=','lCVEj','WEQsd','JYgCe',']\x20clear\x20','yGWvq','saveTestResults','MJsfE','tXNEX','PRE','txkPo','YFTCj','browserstack.accessibilityOptions.scannerProcessingTimeout','stopTestCapture','browser','zWhFY','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100\x20on\x20non-bstack\x20infra.','goog:chromeOptions','a11y:save-results','MPVmZ','browserVersion','getData','XIovf','getTestUUID','test-tags-->\x20','\x20accessibility\x20script\x20on\x20page','EXECUTE','Page\x20','tZAoK','applySendMessageToServerPatch',']\x20isEnabledTestcase\x20(jest)\x20result=','RjCta','Error\x20in\x20shouldScanForCommand:\x20','utxQL','isPlatformSupported:\x20Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','xhqJD','KkggL','RmhSU','NioaX','DYGab','ZyvUm','onBeforeTest','xzJhH','capabilities','fetchCentralAuthA11yConfig:\x20No\x20bin\x20session\x20ID\x20available','VqlmJ','length','OHPqX','getCurrentInstanceName','pIaeX','ENVbG','KFlKw','NENOB','getCapabilitiesList','clpqG','map','browserstack.accessibilityOptions.scannerVersion','TrkyC','toLowerCase','accessibilityToken','ACCESSIBILITY_INITIALIZED','../../../helpers/helper','yxsAV','POST','RlLyP','okHqS','getState','bOXAd','Running\x20Save\x20results\x20for\x20Accessibility\x20testing','hJeux','Bzvbk','stringify','unknown','parse','ScanArgs:\x20','KCNgq','PpeYd','getLogDisabledShown','onBeforeExecute:\x20Page\x20object\x20not\x20available\x20for\x20command\x20','parseFromProto','\x22browserstack.user\x22:\x22[REDACTED]\x22','initAccessibilityConfig','executeScriptByName:\x20Page\x20is\x20null\x20for\x20script\x20','[AccessibilityModule]\x20onAfterTest:\x20framework=','JMhTC','30AOhBuD','yvswR','scannerProcessingTimeout','Awovm','RHpYd','capabilitiesList','PJuln','Error\x20in\x20onBeforeExecute\x20accessibility\x20module:\x20','browserstack_executor','Context','../grpcClient','DGbIj','cucumber','JhyRz','./baseModule','size','_centralAuthConfigFetched','stopTestCapture:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20result\x20save',']\x20Failed\x20to\x20initialize\x20accessibility\x20configuration','gsMTB','getAccessibilityResultsSummary','cPtKz','Cqdab','commandsList','../TestInfo.js','XZooH','getTesthub','latest','some','getParamsForScanForCli','ODUAf','oJjrf','KSraC','performPageScan:\x20Page\x20is\x20null','find','browserStackEvaluate','JPIoV','getName','yoVPn','test_tags','pRHZB','format','isPlatformSupported','unfWl','onBeforeTest:\x20event=','WBzND','getScriptsList','26346DUXNSv','../../../helpers/classLogger','uapsq','jEIig',']\x20isEnabledTestcase\x20(cucumber)\x20result=','Error\x20checking\x20headless\x20capability:\x20','onBeforeExecute:\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','env','end','getCurrentAccessibilityStatus','replace',',\x20tags=','PzBIZ','titlePath','YaRyl','loadDriverExecuteParams','TrackedInstance','toObject','getSuccess','UfJQr','isPlatformSupported:\x20caps\x20are\x20null','setAccessibilityConfig','ZrMBh','getBuildId','message','launchCaps','DHdMD','kYYTa','getCapabilityValue','../../../helpers/accessibility-automation/helper','string','WfbnX','../../utils/playwright-patcher','../framework/testFramework','excludeTagsInTestingScope','onBeforeTest:\x20Page\x20is\x20null,\x20accessibility\x20cannot\x20be\x20initialized','browserstack.accessibilityOptions.authToken','aBDGs','LCzhu','\x20script\x20available','patchSendMessageToServer','oiykp','MJwQR','LXjHh','Performing\x20scan\x20before\x20getting\x20results\x20summary','includeTagsInTestingScope','onBeforeExecute:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20scan','getOptions','isArray','Weoqx','MODULE_NAME','getTestId',',\x20excludeTags=','4055805srtysV','Error\x20in\x20stopTestCapture:\x20','delete','nQNlv','[CLI]\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','VWHnE','options','Error\x20in\x20performPageScan:\x20','value','fZUTx','getResults','onAfterTest:\x20Skipping\x20accessibility\x20cleanup\x20-\x20not\x20a\x20supported\x20test\x20framework','TXaIS','BcqMg','browserstack.accessibilityOptions.wcagVersion','getTrackedInstance','Skipping\x20saving\x20results\x20from\x20cli,\x20no\x20running\x20test\x20found','Error\x20in\x20onAfterTest\x20accessibility\x20module:\x20','dqudh','Error\x20in\x20validatePlatformForAccessibility:\x20','KEY_INIT','KEY_TEST_NAME','onBeforeExecute:\x20command=','Error\x20getting\x20script\x20by\x20name\x20','Error\x20in\x20onBeforeTest\x20accessibility\x20module:\x20','setShouldScan','BS_A11Y_JWT','debug','performScanForCli','LOG_DISABLED_SHOWN','Scan\x20result:\x20','scan','Executing\x20accessibility\x20script\x20on\x20page','BbLDB','stack','KYVLE','oirgd','Error\x20parsing\x20accessibility\x20execute\x20params:\x20','afterTestHook','commandName','executeScriptByName:\x20No\x20','XLYrD','../framework/constants/testFrameworkConstants.js','MvZdV','ehYvY','error','updateData','../../../helpers/accessibility-automation/scripts',']\x20Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error:\x20','1|4|7|9|15|8|0|12|5|13|2|10|6|3|14|11','__accessibilityOptions','GbWZp','info','ootLb','BROWSERSTACK_CLI_BIN_SESSION_ID','mGhkH','hskfR','_sendMessageServerPatchApplied','loadAccessibilityConfig','evaluate','setAccessibilityToken','getTestDetails','accessibilityPlatform','stopTestCapture:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','sDMbz','start','name:\x20','getCommandsList','getAccessibilityResultsSummary:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20',',\x20includeTags=','instance','Dencm','vnbIi','name','tcnTv','yGdnA','[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20summaryArgs=','fetchCentralAuthA11yConfig:\x20Failed\x20to\x20fetch\x20driver\x20execute\x20params\x20for\x20','iSCaD','360MvQuIr','chrome','isAppAccessibility','onBeforeExecute:\x20No\x20command\x20name\x20provided','../state/hookState','42896TfuVmU','scriptsList','NON_BROWSERSTACK_AUTOMATION_SESSIONS','shouldScanForCommand','onAfterTest','testhub_build_uuid','jest','Error\x20getting\x20capability\x20value\x20for\x20','KEY_DRIVER_HAS_URL','getPlatformIndex','Error\x20in\x20initAccessibilityConfig:\x20','JUews','yhuym','warn','registerObserver','usgFI','27827ZINRhb','iaBGR','XdudQ','toJson','XaSsd','44iFQFHV','DRIVER_INIT','hasAccessibilityExecuteParams','present','FNIch','test_run_id','KanFv','function','getAccessibilityResultsSummary:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20cannot\x20retrieve\x20summary.','performPageScan','true','AUTOMATION_SESSIONS','asuGJ','\x20a11yToken=','setLogDisabledShown','cqjrs','browserName','gInGa','page','QbCxI','yPCfK','includes','getAccessibilityConfig','BROWSERSTACK_TESTHUB_JWT','../../playwright/accessibility-helper','mergeObject','[platform\x20-\x20','ascii','EcUBM','currentTest','_centralAuthA11yConfig','DwKOS','onBeforeExecute','getValue','Error\x20in\x20getAccessibilityResults:\x20','get','fetchDriverExecuteParamsEvent','NeBHM','headless','bind','getContext','isEnabled',',\x20isAppAccessibility=','set','iKrJx','accessibilityConfig','TBfSm','KEY_TESTHUB_BUILD_ID','\x20from\x20testIdentifier=','qMUGa','xskKU','accessibility','null','dRgFR','QsIpw','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20summary.','getInstance','ihYUh','RawHv',',\x20testIdentifier=','playwright-chromium','sendMessageToServer\x20accessibility\x20patch\x20already\x20applied','fetchCentralAuthA11yConfig','GeGyl','SDK_ACCESSIBILITY_CONFIG','UMSCx','../../../helpers/accessibility-automation/constants','shouldScanForCommand:\x20','executeScriptByName','getAccessibilityExecuteParams','onBeforeTest:\x20Skipping\x20accessibility\x20check\x20-\x20not\x20a\x20supported\x20test\x20framework','DnNap','[AccessibilityModule]\x20stopTestCapture:\x20Jest\x20-\x20resolved\x20thTestRunUuid=',']\x20should\x20run\x20accessibility\x20value=','__workerDetails','command','PERFORM_SCAN','gKBDf','AxUWZ','BROWSERSTACK_TEST_ACCESSIBILITY_YML','xzMfo','YNuku','onBeforeExecute:\x20Accessibility\x20scan\x20completed\x20for\x20command:\x20','../framework/automationFramework','UReQn','../cliUtils','[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','QUIT','commandsToWrap','BuHVY',']\x20Accessibility\x20configuration\x20initialized\x20successfully','[AccessibilityModule]\x20stopTestCapture:\x20Saving\x20results,\x20thTestRunUuid=','uyJfP','getCommandsToWrap','performScan','mgEMz','getAccessibilityResults','getAccessibility','setShouldScanCurrentTest','dOwJp','Accessibility\x20extension\x20data\x20for\x20current\x20test\x20from\x20cli\x20','MMojg','toISOString','[AccessibilityModule]\x20onBeforeExecute:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','processAccessibilityCaps','__jestCurrentTestIdentifier','XGNJq','\x20result\x20for\x20','GET_RESULTS_SUMMARY','getScriptByName','UaoNl','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','pwPage','vfYLo','QQKZr','Performing\x20scan\x20before\x20from\x20cli','5624050lFQEfM','performPageScan:\x20Script\x20is\x20null'];a80_0x3337=function(){return _0x564579;};return a80_0x3337();}(function(_0x34737c,_0x5d653d){const _0x316f39=a80_0x2e8f,_0xcb3d6c=_0x34737c();while(!![]){try{const _0x1ab335=parseInt(_0x316f39(0x308))/0x1*(parseInt(_0x316f39(0x240))/0x2)+-parseInt(_0x316f39(0x1ea))/0x3+-parseInt(_0x316f39(0x1e3))/0x4+-parseInt(_0x316f39(0x1cd))/0x5*(parseInt(_0x316f39(0x26f))/0x6)+parseInt(_0x316f39(0x2f8))/0x7*(-parseInt(_0x316f39(0x2f3))/0x8)+-parseInt(_0x316f39(0x2a4))/0x9+-parseInt(_0x316f39(0x1c5))/0xa*(-parseInt(_0x316f39(0x30d))/0xb);if(_0x1ab335===_0x5d653d)break;else _0xcb3d6c['push'](_0xcb3d6c['shift']());}catch(_0x4b37a3){_0xcb3d6c['push'](_0xcb3d6c['shift']());}}}(a80_0x3337,0x622c2));const BaseModule=require(a80_0x23ed69(0x24e)),{createClassLogger}=require(a80_0x23ed69(0x270)),CLIUtils=require('../cliUtils'),AutomationFramework=require(a80_0x23ed69(0x1a4)),TestFramework=require(a80_0x23ed69(0x290)),AutomationFrameworkState=require('../state/automationFrameworkState'),HookState=require(a80_0x23ed69(0x2f7)),GrpcClient=require(a80_0x23ed69(0x24a)),scripts=require(a80_0x23ed69(0x2d3)),logger=createClassLogger(a80_0x23ed69(0x27f)),PerformanceTester=require('../../../helpers/performance/performance-tester.js'),{EVENTS,A11Y_EVENTS:PerformanceA11yEvents}=require('../../../helpers/performance/constants.js'),{MINIMUM_BROWSER_VERSION_ACCESSIBILITY,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require(a80_0x23ed69(0x34f)),{nestedKeyValue,isUndefined}=require(a80_0x23ed69(0x228)),util=require('util'),TestInfo=require(a80_0x23ed69(0x258)),TestFrameworkConstants=require(a80_0x23ed69(0x2ce));class AccessibilityModule extends BaseModule{static [a80_0x23ed69(0x2a1)]=AccessibilityModule['name'];static [a80_0x23ed69(0x250)]=![];static [a80_0x23ed69(0x32b)]={};constructor(_0x3b6f7a){const _0xbe1be7=a80_0x23ed69,_0x55624f={};_0x55624f['Btkoh']=_0xbe1be7(0x2d5),_0x55624f[_0xbe1be7(0x321)]=_0xbe1be7(0x227),_0x55624f[_0xbe1be7(0x35a)]='[AccessibilityModule]\x20Constructor:\x20Registered\x20observers\x20-\x20EXECUTE\x20PRE,\x20CREATE\x20POST,\x20QUIT\x20PRE',_0x55624f['KYVLE']=_0xbe1be7(0x2fd),_0x55624f[_0xbe1be7(0x299)]='DRIVER_HAS_URL';const _0x3940ea=_0x55624f,_0x42fc0b=_0x3940ea['Btkoh']['split']('|');let _0x37c3e6=0x0;while(!![]){switch(_0x42fc0b[_0x37c3e6++]){case'0':this[_0xbe1be7(0x340)]=new Map();continue;case'1':super();continue;case'2':this[_0xbe1be7(0x2dd)]=![];continue;case'3':this[_0xbe1be7(0x2b8)]=_0x3940ea[_0xbe1be7(0x321)];continue;case'4':AutomationFramework[_0xbe1be7(0x306)](AutomationFrameworkState[_0xbe1be7(0x205)],HookState[_0xbe1be7(0x1f4)],this[_0xbe1be7(0x32d)][_0xbe1be7(0x334)](this));continue;case'5':this[_0xbe1be7(0x2f5)]=![];continue;case'6':logger['debug'](_0x3940ea[_0xbe1be7(0x35a)]);continue;case'7':AutomationFramework['registerObserver'](AutomationFrameworkState['CREATE'],HookState[_0xbe1be7(0x22a)],this[_0xbe1be7(0x214)]['bind'](this));continue;case'8':this['accessibilityConfig']=_0x3b6f7a[_0xbe1be7(0x280)]();continue;case'9':AutomationFramework[_0xbe1be7(0x306)](AutomationFrameworkState[_0xbe1be7(0x1a8)],HookState[_0xbe1be7(0x1f4)],this[_0xbe1be7(0x2fc)]['bind'](this));continue;case'10':this[_0xbe1be7(0x2e0)](_0x3b6f7a[_0xbe1be7(0x29e)]()[_0xbe1be7(0x220)]());continue;case'11':this[_0xbe1be7(0x33c)]=_0x3940ea[_0xbe1be7(0x2c7)];continue;case'12':this[_0xbe1be7(0x2c1)]=new Map();continue;case'13':this[_0xbe1be7(0x216)]=[];continue;case'14':this[_0xbe1be7(0x300)]=_0x3940ea[_0xbe1be7(0x299)];continue;case'15':this[_0xbe1be7(0x336)]=!![];continue;}break;}}[a80_0x23ed69(0x336)](){const _0x4964d1=a80_0x23ed69;return this[_0x4964d1(0x336)];}['getModuleName'](){const _0x28896c=a80_0x23ed69;return AccessibilityModule[_0x28896c(0x2a1)];}[a80_0x23ed69(0x278)](){const _0x8bae82=a80_0x23ed69;return this[_0x8bae82(0x340)][_0x8bae82(0x330)](CLIUtils[_0x8bae82(0x21b)](),![]);}[a80_0x23ed69(0x238)](){const _0x5bee48=a80_0x23ed69;return this['LOG_DISABLED_SHOWN']['get'](CLIUtils[_0x5bee48(0x21b)](),![]);}[a80_0x23ed69(0x31b)](_0x52d1e0){const _0x1152af=a80_0x23ed69;this[_0x1152af(0x2c1)][_0x1152af(0x338)](CLIUtils[_0x1152af(0x21b)](),_0x52d1e0);}['applySendMessageToServerPatch'](){const _0x31d1ba=a80_0x23ed69,_0x2a2484={'cPtKz':_0x31d1ba(0x34a),'ihYUh':function(_0x108c88,_0xbbc9d6){return _0x108c88(_0xbbc9d6);},'lCVEj':_0x31d1ba(0x28f),'iKrJx':'Applied\x20sendMessageToServer\x20patch\x20for\x20accessibility\x20command\x20interception','WEQsd':'patchSendMessageToServer\x20function\x20not\x20available\x20from\x20playwright-patcher'};if(this['_sendMessageServerPatchApplied']){logger['debug'](_0x2a2484[_0x31d1ba(0x255)]);return;}try{const _0x3e0b00=_0x2a2484[_0x31d1ba(0x346)](require,_0x2a2484[_0x31d1ba(0x1ec)]);_0x3e0b00&&_0x3e0b00['patchSendMessageToServer']?(_0x3e0b00[_0x31d1ba(0x297)](),this['_sendMessageServerPatchApplied']=!![],logger[_0x31d1ba(0x2bf)](_0x2a2484[_0x31d1ba(0x339)])):logger[_0x31d1ba(0x2bf)](_0x2a2484[_0x31d1ba(0x1ed)]);}catch(_0xbf6ca4){logger[_0x31d1ba(0x2bf)]('Error\x20applying\x20sendMessageToServer\x20patch:\x20'+util[_0x31d1ba(0x269)](_0xbf6ca4));}}[a80_0x23ed69(0x26a)](_0x51e274=null,_0x5afaab=null,_0x43aa7e=null){const _0x4674a8=a80_0x23ed69,_0x510fb6={'KFlKw':function(_0x2dbbfb,_0x1fde43){return _0x2dbbfb&&_0x1fde43;},'QsIpw':_0x4674a8(0x283),'TBfSm':function(_0x5a4e2d,_0x117e04){return _0x5a4e2d(_0x117e04);},'JYgCe':_0x4674a8(0x28c),'PMReQ':_0x4674a8(0x228),'qqEWK':function(_0x3b1a3c){return _0x3b1a3c();},'KCNgq':'isPlatformSupported:\x20Not\x20an\x20accessibility\x20automation\x20session','YaRyl':function(_0x507815,_0x4fb14c){return _0x507815===_0x4fb14c;},'BofYp':_0x4674a8(0x2f4),'iLPyV':_0x4674a8(0x349),'uapsq':function(_0x271b85,_0x2ef39f){return _0x271b85===_0x2ef39f;},'jgjWm':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','usgFI':function(_0x55faa2,_0x377403){return _0x55faa2===_0x377403;},'RHpYd':_0x4674a8(0x317),'MJsfE':_0x4674a8(0x28d),'oJjrf':_0x4674a8(0x20d),'mPdff':function(_0x482d7a,_0x2ac8ae){return _0x482d7a>_0x2ac8ae;},'WBzND':function(_0x213383,_0x4cd2ec){return _0x213383(_0x4cd2ec);},'yANpn':function(_0x26e90b,_0x57bd41){return _0x26e90b(_0x57bd41);},'DYmNU':_0x4674a8(0x1fb),'DpWtU':function(_0x4be272,_0x1e4470){return _0x4be272!==_0x1e4470;},'CrWZy':_0x4674a8(0x25b),'ehYvY':function(_0x2a44a1,_0x32275b){return _0x2a44a1>_0x32275b;},'GeGyl':function(_0x92c9ad,_0x2f1c22){return _0x92c9ad(_0x2f1c22);},'jdDlQ':function(_0x531647,_0x207748){return _0x531647(_0x207748);},'cqjrs':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.'};try{if(_0x510fb6[_0x4674a8(0x21e)](!_0x5afaab,!_0x43aa7e))return logger[_0x4674a8(0x2bf)](_0x510fb6[_0x4674a8(0x343)]),![];const {isAccessibilityAutomationSession:_0x43ebcd}=_0x510fb6[_0x4674a8(0x33b)](require,_0x510fb6[_0x4674a8(0x1ee)]),{isUndefined:_0x5568a3,isBrowserstackInfra:_0x552304}=_0x510fb6[_0x4674a8(0x33b)](require,_0x510fb6['PMReQ']);if(!_0x510fb6['qqEWK'](_0x43ebcd))return logger[_0x4674a8(0x2bf)](_0x510fb6[_0x4674a8(0x236)]),![];if(!(_0x5afaab['browserName']&&_0x510fb6[_0x4674a8(0x27d)](_0x5afaab[_0x4674a8(0x31d)][_0x4674a8(0x225)](),_0x510fb6[_0x4674a8(0x1e2)])||_0x5afaab['browserName']&&_0x510fb6[_0x4674a8(0x27d)](_0x5afaab[_0x4674a8(0x31d)][_0x4674a8(0x225)](),_0x510fb6['iLPyV'])||_0x5afaab[_0x4674a8(0x1f9)]&&_0x510fb6[_0x4674a8(0x27d)](_0x5afaab[_0x4674a8(0x1f9)][_0x4674a8(0x225)](),_0x510fb6[_0x4674a8(0x1e2)])||_0x5afaab[_0x4674a8(0x1f9)]&&_0x510fb6[_0x4674a8(0x271)](_0x5afaab[_0x4674a8(0x1f9)][_0x4674a8(0x225)](),_0x510fb6[_0x4674a8(0x1ce)])))return logger[_0x4674a8(0x305)](_0x510fb6['jgjWm']),![];try{const _0x39a0bd=_0x5afaab[_0x4674a8(0x333)],_0x598cd5=_0x510fb6['YaRyl'](_0x39a0bd,!![])||_0x510fb6[_0x4674a8(0x307)](_0x39a0bd,_0x510fb6[_0x4674a8(0x244)])||_0x510fb6['usgFI'](typeof _0x39a0bd,_0x510fb6[_0x4674a8(0x1f2)])&&_0x510fb6[_0x4674a8(0x27d)](_0x39a0bd[_0x4674a8(0x225)](),_0x510fb6[_0x4674a8(0x244)]);if(_0x598cd5)return logger[_0x4674a8(0x305)](_0x510fb6[_0x4674a8(0x25f)]),![];}catch(_0x3b5606){logger['debug'](_0x4674a8(0x274)+util[_0x4674a8(0x269)](_0x3b5606));}if(!_0x510fb6[_0x4674a8(0x1d0)](_0x552304)){if(!_0x510fb6['mPdff'](_0x510fb6[_0x4674a8(0x26d)](parseFloat,_0x5afaab[_0x4674a8(0x1ff)]),_0x510fb6['yANpn'](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY)))return logger[_0x4674a8(0x305)](_0x510fb6['DYmNU']),![];}else{if(_0x510fb6['DpWtU'](_0x5afaab[_0x4674a8(0x1ff)],_0x510fb6['CrWZy'])&&!_0x510fb6[_0x4674a8(0x2d0)](_0x510fb6[_0x4674a8(0x34c)](parseFloat,_0x5afaab[_0x4674a8(0x1ff)]),_0x510fb6[_0x4674a8(0x1e5)](parseFloat,MINIMUM_BROWSER_VERSION_ACCESSIBILITY)))return logger['warn'](_0x510fb6[_0x4674a8(0x31c)]),![];}return!![];}catch(_0x32071c){return logger[_0x4674a8(0x2bf)](_0x4674a8(0x1d5)+_0x32071c[_0x4674a8(0x287)]),![];}}[a80_0x23ed69(0x1d6)](_0x2955d4=[],_0x254a62,_0x22234a=a80_0x23ed69(0x24c)){const _0x14f177=a80_0x23ed69,_0x1766e8={'RlLyP':function(_0x3c83ca,_0x7e90b){return _0x3c83ca===_0x7e90b;},'unfWl':_0x14f177(0x2fe),'ntoxg':function(_0x52a82a,_0x2627f2){return _0x52a82a||_0x2627f2;},'ODUAf':function(_0x44a0df,_0x308dac){return _0x44a0df&&_0x308dac;},'yGdnA':_0x14f177(0x233),'Bzvbk':function(_0x41aa80,_0x1806d0){return _0x41aa80(_0x1806d0);},'FLQEu':function(_0x55a748,_0x5d1822){return _0x55a748>_0x5d1822;},'OHPqX':function(_0x35545f,_0x44167c){return _0x35545f&&_0x44167c;}};try{const _0x201391=process['env'][_0x14f177(0x1c0)]?JSON[_0x14f177(0x234)](process[_0x14f177(0x276)][_0x14f177(0x1c0)]):null;if(!_0x201391)return!![];const _0x3ea35a=Array['isArray'](_0x201391[_0x14f177(0x29c)])?_0x201391[_0x14f177(0x29c)]:[],_0x33d601=Array[_0x14f177(0x29f)](_0x201391[_0x14f177(0x291)])?_0x201391[_0x14f177(0x291)]:[];if(_0x1766e8[_0x14f177(0x22b)](_0x22234a,_0x1766e8[_0x14f177(0x26b)])){let _0x10bda3;Array['isArray'](_0x2955d4)?_0x10bda3=_0x2955d4['join']('\x20'):_0x10bda3=_0x1766e8['ntoxg'](_0x2955d4,'');const _0xcd7dfd=_0x33d601[_0x14f177(0x25c)](_0x2e2236=>_0x10bda3[_0x14f177(0x322)](_0x2e2236)),_0x37608d=_0x1766e8['RlLyP'](_0x3ea35a[_0x14f177(0x219)],0x0)||_0x3ea35a['some'](_0x1a8e29=>_0x10bda3[_0x14f177(0x322)](_0x1a8e29)),_0x4d04f4=_0x1766e8[_0x14f177(0x25e)](!_0xcd7dfd,_0x37608d);return logger[_0x14f177(0x2bf)](_0x14f177(0x327)+(_0x254a62?.[_0x14f177(0x301)]?.()||_0x1766e8[_0x14f177(0x2ef)])+_0x14f177(0x209)+_0x4d04f4+',\x20testName='+_0x10bda3+_0x14f177(0x2e9)+JSON[_0x14f177(0x232)](_0x3ea35a)+_0x14f177(0x2a3)+JSON[_0x14f177(0x232)](_0x33d601)),_0x4d04f4;}const _0x305230=Array[_0x14f177(0x29f)](_0x2955d4)?_0x2955d4:[];let _0x7cc0ff=![],_0x303c7c=_0x1766e8[_0x14f177(0x22b)](_0x3ea35a[_0x14f177(0x219)],0x0);const _0x301c8a=_0x4083a8=>typeof _0x4083a8==='string'?_0x4083a8[_0x14f177(0x279)](/^@/,'')[_0x14f177(0x225)]()['trim']():_0x4083a8,_0x4c004b=new Set(_0x3ea35a['map'](_0x301c8a)),_0x432fc7=new Set(_0x33d601[_0x14f177(0x222)](_0x301c8a));for(const _0x4b5078 of _0x305230){const _0x4a5070=_0x1766e8[_0x14f177(0x231)](_0x301c8a,_0x4b5078);_0x432fc7['has'](_0x4a5070)&&(_0x7cc0ff=!![]),_0x1766e8['FLQEu'](_0x4c004b[_0x14f177(0x24f)],0x0)&&_0x4c004b['has'](_0x4a5070)&&(_0x303c7c=!![]);}const _0x4928d2=_0x1766e8[_0x14f177(0x21a)](_0x303c7c,!_0x7cc0ff);return logger[_0x14f177(0x2bf)]('[platform\x20-\x20'+(_0x254a62?.[_0x14f177(0x301)]?.()||_0x1766e8['yGdnA'])+_0x14f177(0x273)+_0x4928d2+_0x14f177(0x27a)+JSON[_0x14f177(0x232)](_0x305230)+_0x14f177(0x2e9)+JSON[_0x14f177(0x232)](_0x3ea35a)+',\x20excludeTags='+JSON[_0x14f177(0x232)](_0x33d601)),_0x4928d2;}catch(_0xa95f7b){return logger[_0x14f177(0x2bf)](_0x14f177(0x327)+(_0x254a62?.['getPlatformIndex']?.()||_0x1766e8[_0x14f177(0x2ef)])+_0x14f177(0x2d4)+_0xa95f7b['message']),![];}}async[a80_0x23ed69(0x214)](_0x19c0ff){const _0x57dd69=a80_0x23ed69,_0x1342c0={};_0x1342c0['DbEar']=function(_0x2dd7d0,_0x34d90a){return _0x2dd7d0!==_0x34d90a;},_0x1342c0[_0x57dd69(0x215)]='cucumber',_0x1342c0[_0x57dd69(0x289)]=function(_0x5cf289,_0x6c9f5a){return _0x5cf289!==_0x6c9f5a;},_0x1342c0['vZmnw']='jest',_0x1342c0[_0x57dd69(0x20f)]=_0x57dd69(0x353),_0x1342c0['Cqdab']='TEST_INIT',_0x1342c0['vnbIi']=_0x57dd69(0x292),_0x1342c0['tZAoK']='onBeforeTest:\x20Page\x20object\x20available,\x20proceeding\x20with\x20accessibility\x20validation',_0x1342c0[_0x57dd69(0x1fe)]=_0x57dd69(0x30e),_0x1342c0['RmhSU']=function(_0x3f7d33,_0xcd9d58){return _0x3f7d33===_0xcd9d58;},_0x1342c0[_0x57dd69(0x201)]='onBeforeTest:\x20Driver\x20not\x20initialized,\x20setting\x20DRIVER_INIT=true',_0x1342c0[_0x57dd69(0x2dc)]='Unknown\x20Test',_0x1342c0[_0x57dd69(0x30c)]=function(_0x72a84c,_0x977faa){return _0x72a84c>_0x977faa;},_0x1342c0[_0x57dd69(0x1f0)]=function(_0x3cb938,_0x7dd0f2){return _0x3cb938===_0x7dd0f2;},_0x1342c0[_0x57dd69(0x2c5)]=_0x57dd69(0x314),_0x1342c0['UReQn']=_0x57dd69(0x267),_0x1342c0[_0x57dd69(0x1df)]=function(_0x3d91b7,_0x1f0dae){return _0x3d91b7&&_0x1f0dae;},_0x1342c0[_0x57dd69(0x266)]=_0x57dd69(0x233),_0x1342c0[_0x57dd69(0x246)]=_0x57dd69(0x317);const _0xef8552=_0x1342c0;if(_0xef8552['DbEar'](_0x19c0ff[_0x57dd69(0x1d4)],_0xef8552['xzJhH'])&&_0xef8552[_0x57dd69(0x289)](_0x19c0ff['testFramework'],_0xef8552[_0x57dd69(0x1da)])){logger[_0x57dd69(0x2bf)](_0xef8552['KkggL']);return;}logger['info'](_0x57dd69(0x26c)+JSON[_0x57dd69(0x232)](_0x19c0ff));try{const _0x18babe=AutomationFramework[_0x57dd69(0x2b3)](),_0x45885a=TestFramework['getTrackedInstance'](),_0x572688=_0x19c0ff['page']||global[_0x57dd69(0x357)]?.[_0x57dd69(0x1c1)]||null;if(!_0x572688){_0x45885a&&_0x45885a[_0x57dd69(0x2d2)](_0xef8552[_0x57dd69(0x256)],!![]);logger['debug'](_0xef8552[_0x57dd69(0x2ec)]);return;}logger[_0x57dd69(0x2bf)](_0xef8552[_0x57dd69(0x207)]);const _0x4a5273=_0x45885a?.[_0x57dd69(0x200)](_0xef8552[_0x57dd69(0x1fe)],![]),_0x205268=_0x45885a?.['getData'](_0xef8552[_0x57dd69(0x256)],![]);if(_0xef8552[_0x57dd69(0x210)](_0x4a5273,![])&&_0xef8552[_0x57dd69(0x210)](_0x205268,![])){_0x45885a&&_0x45885a[_0x57dd69(0x2d2)](_0xef8552[_0x57dd69(0x1fe)],!![]);logger['debug'](_0xef8552[_0x57dd69(0x201)]);return;}_0x45885a&&_0x45885a[_0x57dd69(0x2d2)](_0xef8552[_0x57dd69(0x256)],!![]);let _0x1db516,_0x52765b;const _0x8a5f96=_0x19c0ff[_0x57dd69(0x1d4)]||_0xef8552[_0x57dd69(0x215)];if(_0xef8552[_0x57dd69(0x210)](_0x8a5f96,_0xef8552['vZmnw'])){_0x52765b=_0x19c0ff[_0x57dd69(0x1c8)]?.['testAnalyticsId']||_0x19c0ff[_0x57dd69(0x1c8)]?.['id']||global[_0x57dd69(0x1ba)]||global['__workerDetails']?.[_0x57dd69(0x32a)]?.[_0x57dd69(0x1dc)]||global[_0x57dd69(0x357)]?.[_0x57dd69(0x32a)]?.['id'];const _0x5c52da=_0x45885a?.['getAllData']()?.[_0x57dd69(0x330)](_0x52765b);if(_0x5c52da&&_0x5c52da[TestFrameworkConstants['KEY_TEST_NAME']])_0x1db516=_0x5c52da[TestFrameworkConstants[_0x57dd69(0x2b9)]];else{if(_0x19c0ff[_0x57dd69(0x1c8)]?.[_0x57dd69(0x27c)])_0x1db516=_0x19c0ff[_0x57dd69(0x1c8)]['titlePath'];else global[_0x57dd69(0x357)]?.[_0x57dd69(0x32a)]?.['testInfo']?.['titlePath']?_0x1db516=global[_0x57dd69(0x357)][_0x57dd69(0x32a)][_0x57dd69(0x1c8)][_0x57dd69(0x27c)]:_0x1db516=_0xef8552[_0x57dd69(0x2dc)];}logger['debug']('[AccessibilityModule]\x20onBeforeTest:\x20Jest\x20-\x20testIdentifier='+_0x52765b+',\x20testName='+JSON[_0x57dd69(0x232)](_0x1db516));}else{_0x52765b=this[_0x57dd69(0x2a2)](_0x19c0ff);const _0x1307ee=TestInfo[_0x57dd69(0x2e1)](_0x52765b);let _0x5e79a4=[];if(_0x1307ee&&Array[_0x57dd69(0x29f)](_0x1307ee[_0x57dd69(0x267)])&&_0xef8552[_0x57dd69(0x30c)](_0x1307ee[_0x57dd69(0x267)]['length'],0x0))_0x5e79a4=_0x1307ee[_0x57dd69(0x267)];else{if(_0x45885a){const _0x208038=_0xef8552[_0x57dd69(0x1f0)](typeof _0x45885a[_0x57dd69(0x200)],_0xef8552[_0x57dd69(0x2c5)])?_0x45885a['getData'](_0xef8552[_0x57dd69(0x1a5)],[]):_0x45885a['test_tags']||[];Array[_0x57dd69(0x29f)](_0x208038)&&(_0x5e79a4=_0x208038);}}_0x1db516=_0x5e79a4;}logger['info'](_0x57dd69(0x203)+JSON[_0x57dd69(0x232)](_0x1db516));const _0x7e6c23=this[_0x57dd69(0x26a)](_0x18babe,_0x19c0ff['platformCaps'],_0x19c0ff[_0x57dd69(0x288)]);logger[_0x57dd69(0x2bf)]('[AccessibilityModule]\x20onBeforeTest:\x20platformSupported='+_0x7e6c23+',\x20isAppAccessibility='+this[_0x57dd69(0x2f5)]);const _0x200480=this[_0x57dd69(0x1d6)](_0x1db516,_0x18babe,_0x8a5f96),_0x3a5762=_0xef8552[_0x57dd69(0x1df)](_0x7e6c23,_0x200480),_0x41a2ee=CLIUtils[_0x57dd69(0x21b)]();this['accessibility'][_0x57dd69(0x338)](_0x41a2ee,_0x3a5762),global['Context']?.[_0x57dd69(0x335)]&&global[_0x57dd69(0x249)][_0x57dd69(0x335)]()[_0x57dd69(0x2bd)](_0x3a5762),logger[_0x57dd69(0x2bf)]('[platform\x20-\x20'+(_0x18babe?.[_0x57dd69(0x301)]?.()||_0xef8552['yoVPn'])+_0x57dd69(0x356)+_0x3a5762),_0x3a5762?(global[_0x57dd69(0x2e2)]=!![],process['env'][_0x57dd69(0x35c)]=_0xef8552[_0x57dd69(0x246)],this[_0x57dd69(0x208)]()):global[_0x57dd69(0x2e2)]=![];}catch(_0x128266){logger['error'](_0x57dd69(0x2bc)+(_0x128266[_0x57dd69(0x2c6)]||_0x128266[_0x57dd69(0x287)]));const _0x3e9547=CLIUtils['getCurrentInstanceName']();this['accessibility'][_0x57dd69(0x338)](_0x3e9547,![]),global[_0x57dd69(0x2e2)]=![];}}['getGoogleChromeOptions'](){const _0x1ce2ff=a80_0x23ed69;return this[_0x1ce2ff(0x216)][_0x1ce2ff(0x262)](_0x357cb0=>_0x357cb0['getName']()===_0x1ce2ff(0x1fc))?.[_0x1ce2ff(0x32e)]()||'';}[a80_0x23ed69(0x28b)](_0x494adf){const _0x302cef=a80_0x23ed69;try{const _0x30690f=this[_0x302cef(0x33a)]?.['options']?.[_0x302cef(0x245)]||[],_0x264a2a=_0x30690f[_0x302cef(0x262)](_0x5837cb=>_0x5837cb[_0x302cef(0x2ed)]===_0x494adf);return _0x264a2a?_0x264a2a['value']:null;}catch(_0x249ff1){return logger['debug'](_0x302cef(0x2ff)+_0x494adf+':\x20'+_0x249ff1['message']),null;}}async[a80_0x23ed69(0x284)](_0x3f162f,_0x5a29f5){const _0x57816d=a80_0x23ed69,_0x49a70a=_0x3f162f[_0x57816d(0x1b2)]()[_0x57816d(0x29e)](),_0x558599=_0x49a70a[_0x57816d(0x26e)](),_0x306d53=_0x49a70a[_0x57816d(0x1ae)]()?.[_0x57816d(0x2e7)]();scripts[_0x57816d(0x23a)](_0x558599,_0x306d53),scripts[_0x57816d(0x30b)]();const _0x540be5=_0x49a70a[_0x57816d(0x220)]();this[_0x57816d(0x216)]=_0x49a70a[_0x57816d(0x220)](),await this[_0x57816d(0x2e0)](_0x540be5,_0x5a29f5[_0x57816d(0x288)]);}async[a80_0x23ed69(0x2e0)](_0x3cf1ad,_0x355ff6={}){const _0x11a885=a80_0x23ed69,_0x1eb2d8={};_0x1eb2d8[_0x11a885(0x213)]=function(_0xe3c1a2,_0x271de3){return _0xe3c1a2===_0x271de3;},_0x1eb2d8['iaBGR']=_0x11a885(0x226),_0x1eb2d8['qKEFJ']=_0x11a885(0x293),_0x1eb2d8['XngXf']='wcagVersion',_0x1eb2d8[_0x11a885(0x320)]=_0x11a885(0x2b2),_0x1eb2d8[_0x11a885(0x329)]=function(_0x10f457,_0x2b9272){return _0x10f457===_0x2b9272;},_0x1eb2d8[_0x11a885(0x1a1)]='scannerVersion',_0x1eb2d8[_0x11a885(0x33e)]=_0x11a885(0x223),_0x1eb2d8[_0x11a885(0x24b)]=function(_0x2acdb7,_0x52780c){return _0x2acdb7===_0x52780c;},_0x1eb2d8['yvswR']=_0x11a885(0x242),_0x1eb2d8[_0x11a885(0x319)]=_0x11a885(0x1f7);const _0x4f0c30=_0x1eb2d8;global[_0x11a885(0x2d6)]=global[_0x11a885(0x2d6)]||{};for(const _0x1df316 of _0x3cf1ad){logger[_0x11a885(0x2d8)](_0x11a885(0x2e6)+_0x1df316['getName']()+_0x11a885(0x1e6)+_0x1df316[_0x11a885(0x32e)]());if(_0x4f0c30[_0x11a885(0x213)](_0x1df316[_0x11a885(0x265)](),_0x4f0c30[_0x11a885(0x309)]))process[_0x11a885(0x276)][_0x11a885(0x2be)]=_0x1df316[_0x11a885(0x32e)](),global[_0x11a885(0x2d6)][_0x4f0c30['qKEFJ']]=_0x1df316[_0x11a885(0x32e)]();else{if(_0x4f0c30[_0x11a885(0x213)](_0x1df316[_0x11a885(0x265)](),_0x4f0c30['XngXf']))global[_0x11a885(0x2d6)][_0x4f0c30[_0x11a885(0x320)]]=_0x1df316[_0x11a885(0x32e)]();else{if(_0x4f0c30[_0x11a885(0x329)](_0x1df316['getName'](),_0x4f0c30[_0x11a885(0x1a1)]))global['__accessibilityOptions'][_0x4f0c30[_0x11a885(0x33e)]]=_0x1df316[_0x11a885(0x32e)]();else _0x4f0c30[_0x11a885(0x24b)](_0x1df316['getName'](),_0x4f0c30[_0x11a885(0x241)])&&(global[_0x11a885(0x2d6)][_0x4f0c30['asuGJ']]=_0x1df316[_0x11a885(0x32e)]());}}}}async[a80_0x23ed69(0x2fc)](_0x1c6191){const _0x2c343f=a80_0x23ed69,_0x59f18f={};_0x59f18f['Awovm']=function(_0x639df3,_0x18690b){return _0x639df3!==_0x18690b;},_0x59f18f[_0x2c343f(0x1b0)]=_0x2c343f(0x24c),_0x59f18f[_0x2c343f(0x2a7)]=_0x2c343f(0x2fe),_0x59f18f[_0x2c343f(0x229)]=_0x2c343f(0x2af),_0x59f18f[_0x2c343f(0x24d)]=_0x2c343f(0x233);const _0x29f9c6=_0x59f18f;if(_0x29f9c6[_0x2c343f(0x243)](_0x1c6191[_0x2c343f(0x1d4)],_0x29f9c6[_0x2c343f(0x1b0)])&&_0x29f9c6[_0x2c343f(0x243)](_0x1c6191[_0x2c343f(0x1d4)],_0x29f9c6[_0x2c343f(0x2a7)])){logger[_0x2c343f(0x2bf)](_0x29f9c6[_0x2c343f(0x229)]);return;}const _0x301078=_0x1c6191['testInfo']?.[_0x2c343f(0x1dc)]||_0x1c6191[_0x2c343f(0x1c8)]?.['id']||global[_0x2c343f(0x1ba)];logger[_0x2c343f(0x2d8)](_0x2c343f(0x23e)+_0x1c6191[_0x2c343f(0x1d4)]+_0x2c343f(0x348)+_0x301078);try{const _0x566883=_0x1c6191['instance']||AutomationFramework[_0x2c343f(0x2b3)](),_0x3c7b77=CLIUtils[_0x2c343f(0x21b)](),_0x552a59=this[_0x2c343f(0x278)]();logger['debug'](_0x2c343f(0x327)+(_0x566883?.[_0x2c343f(0x301)]?.()||_0x29f9c6[_0x2c343f(0x24d)])+']\x20onAfterTest\x20should\x20scan='+_0x552a59),_0x552a59&&await this[_0x2c343f(0x1f8)](_0x566883,_0x1c6191),this[_0x2c343f(0x340)][_0x2c343f(0x2a6)](_0x3c7b77),this[_0x2c343f(0x2c1)][_0x2c343f(0x2a6)](_0x3c7b77);}catch(_0x3f749a){logger[_0x2c343f(0x2d1)](_0x2c343f(0x2b5)+(_0x3f749a[_0x2c343f(0x2c6)]||_0x3f749a['message']));}}async[a80_0x23ed69(0x1f8)](_0x6f845c,_0x783a83){const _0x5eb29b=a80_0x23ed69,_0x4a5574={};_0x4a5574['MvZdV']=function(_0x192a09,_0x3c4a0d){return _0x192a09===_0x3c4a0d;},_0x4a5574[_0x5eb29b(0x1d7)]=_0x5eb29b(0x314),_0x4a5574['KanFv']=_0x5eb29b(0x2fe),_0x4a5574[_0x5eb29b(0x20e)]='cucumber',_0x4a5574[_0x5eb29b(0x1b6)]=_0x5eb29b(0x251),_0x4a5574[_0x5eb29b(0x1fa)]=_0x5eb29b(0x340),_0x4a5574[_0x5eb29b(0x1ad)]='saveResults',_0x4a5574[_0x5eb29b(0x295)]=_0x5eb29b(0x233),_0x4a5574[_0x5eb29b(0x285)]=_0x5eb29b(0x310),_0x4a5574[_0x5eb29b(0x21f)]=_0x5eb29b(0x341),_0x4a5574[_0x5eb29b(0x268)]=function(_0x125529,_0xcc25a2){return _0x125529===_0xcc25a2;},_0x4a5574[_0x5eb29b(0x2db)]=function(_0xbd2a89,_0xfa0ac6){return _0xbd2a89||_0xfa0ac6;},_0x4a5574[_0x5eb29b(0x311)]=function(_0x3a433d,_0x3c6155){return _0x3a433d||_0x3c6155;},_0x4a5574['ENVbG']=_0x5eb29b(0x318),_0x4a5574['KPwjV']=_0x5eb29b(0x2fa);const _0x39e913=_0x4a5574;try{const _0x97ef5a=_0x783a83[_0x5eb29b(0x1d4)]||(_0x39e913['MvZdV'](this['testFrameworkData']?.['name']?.[_0x5eb29b(0x225)](),_0x39e913[_0x5eb29b(0x313)])?_0x39e913[_0x5eb29b(0x313)]:_0x39e913[_0x5eb29b(0x20e)]);let _0x452553='',_0x17071f=null,_0x2cc679=null;if(_0x39e913[_0x5eb29b(0x2cf)](_0x97ef5a,_0x39e913[_0x5eb29b(0x313)])){_0x17071f=_0x783a83[_0x5eb29b(0x1c8)]?.[_0x5eb29b(0x1dc)]||_0x783a83[_0x5eb29b(0x1c8)]?.['id']||global[_0x5eb29b(0x1ba)];if(!_0x17071f){logger[_0x5eb29b(0x305)](_0x39e913[_0x5eb29b(0x1b6)]);return;}try{const _0xf60794=await GrpcClient[_0x5eb29b(0x345)]()['fetchDriverExecuteParamsEvent'](process[_0x5eb29b(0x276)][_0x5eb29b(0x2da)],_0x39e913[_0x5eb29b(0x1fa)],_0x39e913[_0x5eb29b(0x1ad)],_0x17071f),_0x92f075=AccessibilityModule[_0x5eb29b(0x27e)](null,_0xf60794);_0x452553=_0x92f075?.['thTestRunUuid']||'',logger['debug'](_0x5eb29b(0x355)+_0x452553+'\x20from\x20testIdentifier='+_0x17071f),_0x2cc679=_0xf60794;}catch(_0x4bc2de){logger[_0x5eb29b(0x2d1)](_0x5eb29b(0x2e3)+_0x4bc2de[_0x5eb29b(0x287)]);return;}}else{const _0x260ff4=this[_0x5eb29b(0x2a2)](_0x783a83);_0x452553=TestInfo[_0x5eb29b(0x202)](_0x260ff4);}const _0x2d704a=((()=>{const _0x55210f=_0x5eb29b,_0x12ac13=(this[_0x55210f(0x33a)]?.[_0x55210f(0x2aa)]?.[_0x55210f(0x245)]||[])[_0x55210f(0x262)](_0xf707d6=>(typeof _0xf707d6[_0x55210f(0x265)]===_0x55210f(0x314)?_0xf707d6[_0x55210f(0x265)]():_0xf707d6[_0x55210f(0x2ed)])===this[_0x55210f(0x33c)]);return _0x12ac13?_0x39e913['MvZdV'](typeof _0x12ac13[_0x55210f(0x32e)],_0x39e913[_0x55210f(0x1d7)])?_0x12ac13['getValue']():_0x12ac13[_0x55210f(0x2ac)]:'';})()),_0x45ea25=process['env']['BROWSERSTACK_TESTHUB_JWT']||'';logger[_0x5eb29b(0x2bf)](_0x5eb29b(0x327)+(_0x6f845c?.[_0x5eb29b(0x301)]?.()||_0x39e913['LCzhu'])+_0x5eb29b(0x1ef)+_0x452553+_0x5eb29b(0x1eb)+_0x2d704a+_0x5eb29b(0x31a)+(_0x45ea25?_0x39e913[_0x5eb29b(0x285)]:_0x39e913[_0x5eb29b(0x21f)]));let _0x4dc366;if(_0x39e913[_0x5eb29b(0x268)](_0x97ef5a,_0x39e913[_0x5eb29b(0x313)]))_0x4dc366=AccessibilityModule['loadDriverExecuteParams'](_0x452553,_0x2cc679);else{const _0x2133eb=await GrpcClient[_0x5eb29b(0x345)]()[_0x5eb29b(0x331)](process['env'][_0x5eb29b(0x2da)],_0x39e913['zWhFY'],_0x39e913[_0x5eb29b(0x1ad)]);_0x4dc366=AccessibilityModule['loadDriverExecuteParams'](_0x452553,_0x2133eb);}logger[_0x5eb29b(0x2bf)]('Accessibility\x20data\x20for\x20extension:\x20'+JSON['stringify'](_0x4dc366));const _0x23bb62=Object['assign']({},{'thTestRunUuid':_0x39e913[_0x5eb29b(0x2db)](_0x452553,''),'thBuildUuid':_0x39e913[_0x5eb29b(0x2db)](_0x2d704a,''),'thJwtToken':_0x39e913[_0x5eb29b(0x311)](_0x45ea25,'')},_0x4dc366);logger['debug'](_0x5eb29b(0x1ac)+_0x452553+_0x5eb29b(0x337)+this[_0x5eb29b(0x2f5)]);let _0x272506=global[_0x5eb29b(0x357)]?.['pwPage']||null;!_0x272506&&(_0x272506=AutomationFramework[_0x5eb29b(0x22d)](_0x6f845c,_0x39e913[_0x5eb29b(0x21d)],null)),!_0x272506&&(_0x272506=AutomationFramework[_0x5eb29b(0x22d)](_0x6f845c,_0x39e913['KPwjV'],null)),await this['finishScanningForCli'](this[_0x5eb29b(0x278)](),_0x452553,_0x272506,_0x23bb62,this[_0x5eb29b(0x2f5)]);}catch(_0xa0b7){logger['error'](_0x5eb29b(0x2a5)+(_0xa0b7[_0x5eb29b(0x2c6)]||_0xa0b7[_0x5eb29b(0x287)]));}}async[a80_0x23ed69(0x1db)](_0x15f56d,_0x381246,_0x2ee855,_0x370658,_0x25156e){const _0x3edeb6=a80_0x23ed69,_0x1e42e6={};_0x1e42e6[_0x3edeb6(0x2d7)]='saveResults',_0x1e42e6[_0x3edeb6(0x20c)]=function(_0x3bfd73,_0x5a1527){return _0x3bfd73&&_0x5a1527;},_0x1e42e6[_0x3edeb6(0x2ad)]='Skipping\x20saving\x20results\x20from\x20cli,\x20saveResults\x20script\x20is\x20missing',_0x1e42e6[_0x3edeb6(0x23f)]=function(_0x426a70,_0x15d420){return _0x426a70===_0x15d420;},_0x1e42e6[_0x3edeb6(0x1c2)]='null',_0x1e42e6['jEIig']=_0x3edeb6(0x2b4),_0x1e42e6[_0x3edeb6(0x2b6)]=_0x3edeb6(0x1c4),_0x1e42e6[_0x3edeb6(0x294)]=_0x3edeb6(0x2ca),_0x1e42e6['FCire']='scan',_0x1e42e6[_0x3edeb6(0x282)]=function(_0x268dde,_0x17cdb8){return _0x268dde&&_0x17cdb8;},_0x1e42e6[_0x3edeb6(0x260)]=_0x3edeb6(0x22f),_0x1e42e6['romQM']=_0x3edeb6(0x1fd),_0x1e42e6[_0x3edeb6(0x304)]='Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended\x20from\x20cli.';const _0x3eca1e=_0x1e42e6;try{const _0x596c4a=this['getScriptByName'](_0x3eca1e[_0x3edeb6(0x2d7)]);if(_0x3eca1e[_0x3edeb6(0x20c)](!_0x25156e,!_0x596c4a)){logger[_0x3edeb6(0x2bf)](_0x3eca1e[_0x3edeb6(0x2ad)]);return;}if(!_0x381246||_0x3eca1e['JMhTC'](_0x381246,_0x3eca1e[_0x3edeb6(0x1c2)])||_0x3eca1e[_0x3edeb6(0x23f)](_0x381246,'')){logger[_0x3edeb6(0x2bf)](_0x3eca1e[_0x3edeb6(0x272)]);return;}logger['debug'](_0x3edeb6(0x1b5)+JSON[_0x3edeb6(0x232)](_0x370658)),_0x15f56d&&(logger[_0x3edeb6(0x2bf)](_0x3eca1e[_0x3edeb6(0x2b6)]),await this[_0x3edeb6(0x2c0)](_0x2ee855,_0x381246,_0x3eca1e['aBDGs'],_0x370658,_0x25156e,_0x3eca1e['FCire']),_0x3eca1e['UfJQr'](!_0x25156e,_0x596c4a)&&(logger[_0x3edeb6(0x2bf)](_0x3eca1e[_0x3edeb6(0x260)]),await PerformanceTester[_0x3edeb6(0x1de)](_0x3eca1e[_0x3edeb6(0x1d9)],async()=>{const _0x3e46a4=_0x3edeb6;await this['performScanForCli'](_0x2ee855,_0x381246,_0x3eca1e[_0x3e46a4(0x2d7)],_0x370658,_0x25156e,_0x3eca1e[_0x3e46a4(0x2d7)]);})()),logger[_0x3edeb6(0x2d8)](_0x3eca1e[_0x3edeb6(0x304)]));}catch(_0x1d5f8c){logger[_0x3edeb6(0x2d1)]('Unable\x20to\x20mark\x20test\x20finish\x20for\x20accessibility\x20from\x20cli\x20-\x20'+(_0x1d5f8c[_0x3edeb6(0x2c6)]||_0x1d5f8c['message']));}}async[a80_0x23ed69(0x32d)](_0x5cfee7){const _0x220118=a80_0x23ed69,_0x330dc2={};_0x330dc2[_0x220118(0x221)]=function(_0x4298ed,_0x16d5ac){return _0x4298ed!==_0x16d5ac;},_0x330dc2[_0x220118(0x2eb)]=_0x220118(0x24c),_0x330dc2[_0x220118(0x1e0)]=function(_0x17dc90,_0x3c1c7d){return _0x17dc90!==_0x3c1c7d;},_0x330dc2[_0x220118(0x1aa)]=_0x220118(0x2fe),_0x330dc2[_0x220118(0x1c3)]='onBeforeExecute:\x20Skipping\x20accessibility\x20scan\x20-\x20not\x20a\x20supported\x20test\x20framework',_0x330dc2['okHqS']=_0x220118(0x233),_0x330dc2[_0x220118(0x354)]=_0x220118(0x2f6),_0x330dc2[_0x220118(0x253)]=function(_0x38eb2c,_0x5311f0){return _0x38eb2c===_0x5311f0;},_0x330dc2[_0x220118(0x2d9)]=_0x220118(0x29d),_0x330dc2['oirgd']=_0x220118(0x340),_0x330dc2[_0x220118(0x1bf)]=_0x220118(0x1af),_0x330dc2[_0x220118(0x2b0)]=_0x220118(0x312),_0x330dc2['MOmoC']=_0x220118(0x2fd),_0x330dc2[_0x220118(0x347)]='scan',_0x330dc2['tXNEX']=_0x220118(0x341);const _0x59fa04=_0x330dc2;if(_0x59fa04[_0x220118(0x221)](_0x5cfee7[_0x220118(0x1d4)],_0x59fa04[_0x220118(0x2eb)])&&_0x59fa04['fbbcn'](_0x5cfee7[_0x220118(0x1d4)],_0x59fa04['BuHVY'])){logger[_0x220118(0x2bf)](_0x59fa04[_0x220118(0x1c3)]);return;}logger['debug'](_0x220118(0x2ba)+(_0x5cfee7[_0x220118(0x2cb)]||_0x59fa04[_0x220118(0x22c)])+',\x20framework='+_0x5cfee7[_0x220118(0x1d4)]);try{const _0x54c5be=_0x5cfee7[_0x220118(0x2ea)]||AutomationFramework[_0x220118(0x2b3)](),_0x5d4d48=TestFramework[_0x220118(0x2b3)](),_0x58aa8a=_0x5cfee7[_0x220118(0x2cb)]||_0x5cfee7[_0x220118(0x358)]?.[_0x220118(0x265)]();if(!_0x58aa8a){logger[_0x220118(0x2bf)](_0x59fa04[_0x220118(0x354)]);return;}if(!this[_0x220118(0x278)]()){logger[_0x220118(0x2bf)](_0x220118(0x1e1)+_0x58aa8a);return;}if(!this[_0x220118(0x2fb)](_0x58aa8a)){logger[_0x220118(0x2bf)](_0x220118(0x1c7)+_0x58aa8a+'\x20is\x20not\x20in\x20the\x20list\x20of\x20commands\x20to\x20be\x20scanned');return;}const _0x25f3aa=_0x5cfee7[_0x220118(0x31f)]||global['__workerDetails']?.[_0x220118(0x1c1)];if(!_0x25f3aa){logger['debug'](_0x220118(0x239)+_0x58aa8a);return;}let _0x34b948='',_0x114542=null;if(_0x59fa04['gsMTB'](_0x5cfee7['testFramework'],_0x59fa04[_0x220118(0x1aa)])){_0x114542=_0x5cfee7[_0x220118(0x1c8)]?.['testAnalyticsId']||_0x5cfee7[_0x220118(0x1c8)]?.['id']||global['__jestCurrentTestIdentifier'];if(!_0x114542){logger['warn'](_0x59fa04[_0x220118(0x2d9)]);return;}try{const _0x202d8a=await GrpcClient[_0x220118(0x345)]()[_0x220118(0x331)](process['env'][_0x220118(0x2da)],_0x59fa04[_0x220118(0x2c8)],_0x59fa04[_0x220118(0x1bf)],_0x114542),_0x2653dc=AccessibilityModule[_0x220118(0x27e)](null,_0x202d8a);_0x34b948=_0x2653dc?.[_0x220118(0x1ca)]||'',logger[_0x220118(0x2bf)](_0x220118(0x1b8)+_0x34b948+_0x220118(0x33d)+_0x114542);}catch(_0x193138){logger[_0x220118(0x2d1)]('onBeforeExecute:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20'+_0x193138['message']);return;}}else _0x34b948=this[_0x220118(0x28b)](_0x59fa04[_0x220118(0x2b0)])||'';const _0xa7d3c4=this[_0x220118(0x28b)](_0x59fa04['MOmoC'])||this['accessibilityConfig'][this[_0x220118(0x33c)]]||null,_0x24dcd1=process['env'][_0x220118(0x324)]||'',_0x3fbfa2=this[_0x220118(0x25d)](_0x58aa8a,_0x34b948,_0xa7d3c4,_0x24dcd1),_0x208f03=_0x59fa04[_0x220118(0x253)](_0x5cfee7[_0x220118(0x1d4)],_0x59fa04[_0x220118(0x1aa)])?await AccessibilityModule[_0x220118(0x34b)](_0x59fa04[_0x220118(0x347)],_0x34b948,_0x114542):await AccessibilityModule[_0x220118(0x34b)](_0x59fa04[_0x220118(0x347)],_0x34b948);logger[_0x220118(0x2d8)](_0x220118(0x235)+(_0x3fbfa2?JSON[_0x220118(0x232)](_0x3fbfa2):_0x59fa04[_0x220118(0x1f3)]));const _0x4e697b=CLIUtils[_0x220118(0x326)](_0x3fbfa2,_0x208f03);logger[_0x220118(0x2d8)]('MergedScanArgs:\x20'+(_0x4e697b?JSON[_0x220118(0x232)](_0x4e697b):_0x59fa04['tXNEX'])),logger['debug'](_0x220118(0x275)+_0x58aa8a);const _0x72414e=await this[_0x220118(0x2c0)](_0x25f3aa,_0x34b948,_0x58aa8a,_0x4e697b,this[_0x220118(0x2f5)]);logger[_0x220118(0x2bf)](_0x220118(0x1a3)+_0x58aa8a+_0x220118(0x1d3)+_0x72414e);}catch(_0xca797e){logger[_0x220118(0x2d1)](_0x220118(0x247)+(_0xca797e[_0x220118(0x2c6)]||_0xca797e[_0x220118(0x287)]));}}['shouldScanCurrentTest'](){const _0x283f36=a80_0x23ed69;return this[_0x283f36(0x278)]();}[a80_0x23ed69(0x1b3)](_0x42d689){const _0xd8cfdf=a80_0x23ed69,_0x53f03e=CLIUtils[_0xd8cfdf(0x21b)]();this[_0xd8cfdf(0x340)]['set'](_0x53f03e,_0x42d689);}async[a80_0x23ed69(0x23c)](_0x53804b){const _0x96578f=a80_0x23ed69,_0x186958={};_0x186958[_0x96578f(0x1f5)]=_0x96578f(0x233);const _0x814425=_0x186958;try{const _0x457d3b=_0x53804b[_0x96578f(0x2ea)]||AutomationFramework['getTrackedInstance'](),_0x170023=_0x457d3b?.[_0x96578f(0x200)]?.()?.[_0x96578f(0x330)]?.(this[_0x96578f(0x2b8)])||![];if(_0x170023)return;PerformanceTester[_0x96578f(0x2e5)](EVENTS[_0x96578f(0x34d)]);const _0x497fcc=await GrpcClient[_0x96578f(0x345)]()[_0x96578f(0x323)](_0x53804b);_0x497fcc&&_0x497fcc['getAccessibility']&&_0x497fcc['getAccessibility']()&&_0x497fcc[_0x96578f(0x1b2)]()[_0x96578f(0x281)]()?(await this[_0x96578f(0x2de)](_0x497fcc,_0x53804b),_0x457d3b?.[_0x96578f(0x200)]&&_0x457d3b[_0x96578f(0x200)]()[_0x96578f(0x338)](this[_0x96578f(0x2b8)],!![]),logger[_0x96578f(0x2bf)](_0x96578f(0x327)+(_0x457d3b?.[_0x96578f(0x301)]?.()||_0x814425[_0x96578f(0x1f5)])+_0x96578f(0x1ab))):logger[_0x96578f(0x2bf)](_0x96578f(0x327)+(_0x457d3b?.[_0x96578f(0x301)]?.()||_0x814425[_0x96578f(0x1f5)])+_0x96578f(0x252)),PerformanceTester[_0x96578f(0x277)](EVENTS[_0x96578f(0x34d)]);}catch(_0x248f02){PerformanceTester[_0x96578f(0x277)](EVENTS[_0x96578f(0x34d)],![],_0x248f02[_0x96578f(0x287)]),logger['error'](_0x96578f(0x302)+(_0x248f02[_0x96578f(0x2c6)]||_0x248f02['message']));}}async[a80_0x23ed69(0x2de)](_0x267388,_0x361043){const _0x20b11c=a80_0x23ed69;await this[_0x20b11c(0x284)](_0x267388,_0x361043);const _0x4392c4=_0x267388['getAccessibility']()['getOptions']();if(_0x4392c4){const _0x17df46=_0x267388[_0x20b11c(0x25a)]&&_0x267388[_0x20b11c(0x25a)]();_0x17df46&&(this[_0x20b11c(0x33a)][this[_0x20b11c(0x33c)]]=_0x17df46[_0x20b11c(0x286)]&&_0x17df46['getBuildId']());}}[a80_0x23ed69(0x2fb)](_0x39cb8d){const _0x44f6bd=a80_0x23ed69,_0x3a6a0c={};_0x3a6a0c[_0x44f6bd(0x29a)]=function(_0x4ec2e5,_0x276e3c){return _0x4ec2e5===_0x276e3c;};const _0x31f4cf=_0x3a6a0c;try{if(!_0x39cb8d)return![];const _0xd0838b=this[_0x44f6bd(0x33a)]?.[_0x44f6bd(0x2aa)]?.[_0x44f6bd(0x1a9)]?.[_0x44f6bd(0x257)]||[],_0x82f41b=_0xd0838b['some'](_0x3037a3=>{const _0x8db85e=_0x44f6bd;return _0x3037a3[_0x8db85e(0x2ed)]&&_0x31f4cf[_0x8db85e(0x29a)](_0x3037a3['name'][_0x8db85e(0x225)](),_0x39cb8d[_0x8db85e(0x225)]());});return logger[_0x44f6bd(0x2bf)](_0x44f6bd(0x350)+_0x39cb8d+'\x20->\x20'+_0x82f41b+',\x20available\x20commands:\x20'+JSON[_0x44f6bd(0x232)](_0xd0838b[_0x44f6bd(0x222)](_0x1cedeb=>_0x1cedeb[_0x44f6bd(0x2ed)]))),_0x82f41b;}catch(_0x1f4a55){return logger['debug'](_0x44f6bd(0x20b)+_0x1f4a55[_0x44f6bd(0x287)]),![];}}['isBrowserstackScriptCommand'](_0x512416){const _0x393b6e=a80_0x23ed69,_0x2fedb6={};_0x2fedb6['VWHnE']=function(_0x2267b7,_0xaf77ff){return _0x2267b7===_0xaf77ff;},_0x2fedb6[_0x393b6e(0x2cd)]='string',_0x2fedb6[_0x393b6e(0x28a)]=_0x393b6e(0x248);const _0x41b073=_0x2fedb6,_0x122218=_0x512416[_0x393b6e(0x1e9)]&&_0x512416[_0x393b6e(0x1e9)]();return _0x122218&&_0x41b073[_0x393b6e(0x2a9)](typeof _0x122218,_0x41b073[_0x393b6e(0x2cd)])&&_0x122218[_0x393b6e(0x322)](_0x41b073[_0x393b6e(0x28a)]);}['isAccessibilityScriptCommand'](_0x130d8c){const _0xd2bd81=a80_0x23ed69,_0x5eade3={};_0x5eade3[_0xd2bd81(0x212)]=function(_0x3e978c,_0x5a5fff){return _0x3e978c!==_0x5a5fff;},_0x5eade3[_0xd2bd81(0x1e8)]=_0xd2bd81(0x28d),_0x5eade3[_0xd2bd81(0x230)]=_0xd2bd81(0x340),_0x5eade3[_0xd2bd81(0x211)]='performScan',_0x5eade3[_0xd2bd81(0x1e7)]='getResults',_0x5eade3['UMSCx']=_0xd2bd81(0x1f1);const _0x449ee2=_0x5eade3,_0x45c8ca=_0x130d8c['getScript']&&_0x130d8c[_0xd2bd81(0x1e9)]();if(!_0x45c8ca||_0x449ee2[_0xd2bd81(0x212)](typeof _0x45c8ca,_0x449ee2[_0xd2bd81(0x1e8)]))return![];return _0x45c8ca['includes'](_0x449ee2[_0xd2bd81(0x230)])||_0x45c8ca[_0xd2bd81(0x322)](_0x449ee2[_0xd2bd81(0x211)])||_0x45c8ca[_0xd2bd81(0x322)](_0x449ee2['uEwAA'])||_0x45c8ca[_0xd2bd81(0x322)](_0x449ee2[_0xd2bd81(0x34e)]);}[a80_0x23ed69(0x25d)](_0x322949,_0x474af2,_0x567fa9,_0x9ed168){const _0x3771f4=a80_0x23ed69,_0x1f0151={};_0x1f0151[_0x3771f4(0x1bb)]=function(_0x1f7967,_0x25c410){return _0x1f7967||_0x25c410;},_0x1f0151[_0x3771f4(0x33f)]=function(_0x3ee405,_0x556e87){return _0x3ee405||_0x556e87;};const _0x530500=_0x1f0151;return{'command':_0x322949,'thTestRunUuid':_0x530500[_0x3771f4(0x1bb)](_0x474af2,''),'thBuildUuid':_0x530500[_0x3771f4(0x1bb)](_0x567fa9,''),'thJwtToken':_0x530500['xskKU'](_0x9ed168,''),'timestamp':new Date()[_0x3771f4(0x1b7)]()};}['getScriptByName'](_0x30e838){const _0x437ea2=a80_0x23ed69,_0x2e4418={};_0x2e4418['asZDB']=function(_0x38bfa6,_0x5b0a3d){return _0x38bfa6||_0x5b0a3d;};const _0x22b510=_0x2e4418;try{const _0x58bb72=this['accessibilityConfig']?.['options']?.[_0x437ea2(0x2f9)]||[],_0x16bf20=_0x58bb72[_0x437ea2(0x262)](_0x5f43e5=>_0x5f43e5['name']===_0x30e838);return _0x22b510['asZDB'](_0x16bf20,null);}catch(_0x493ab7){return logger['debug'](_0x437ea2(0x2bb)+_0x30e838+':\x20'+_0x493ab7['message']),null;}}async[a80_0x23ed69(0x351)](_0x3e731d,_0x39a0e4,_0x3a7455=null){const _0x527881=a80_0x23ed69,_0x540e90={'gWjuX':function(_0x5848c9,_0x4fba5e){return _0x5848c9(_0x4fba5e);},'bOXAd':_0x527881(0x325)};try{if(!_0x3e731d)return logger[_0x527881(0x2bf)](_0x527881(0x23d)+_0x39a0e4),null;const _0x3c33a2=this[_0x527881(0x1be)](_0x39a0e4);if(!_0x3c33a2||!_0x3c33a2[_0x527881(0x358)])return logger['debug'](_0x527881(0x2cc)+_0x39a0e4+_0x527881(0x296)),null;logger[_0x527881(0x2bf)](_0x527881(0x1cf)+_0x39a0e4+_0x527881(0x204));const _0x5a0c3f=_0x540e90['gWjuX'](require,_0x540e90[_0x527881(0x22e)]),_0xc120e5=_0x3a7455?await _0x5a0c3f[_0x527881(0x263)](_0x3e731d,_0x3c33a2[_0x527881(0x358)],_0x3a7455):await _0x5a0c3f[_0x527881(0x263)](_0x3e731d,_0x3c33a2[_0x527881(0x358)]);return _0xc120e5;}catch(_0x2ffbf5){return logger[_0x527881(0x2d1)]('Error\x20executing\x20script\x20'+_0x39a0e4+':\x20'+(_0x2ffbf5[_0x527881(0x2c6)]||_0x2ffbf5[_0x527881(0x287)])),null;}}async[a80_0x23ed69(0x2c0)](_0x36fe0d,_0x571f38,_0x53fcbd,_0x3eb5ef,_0x4e31ee,_0x483d2f=a80_0x23ed69(0x2c3)){const _0x1245bb=a80_0x23ed69,_0x449a83={'uIJCy':function(_0x255064,_0x53fcb8){return _0x255064===_0x53fcb8;},'AYoUN':_0x1245bb(0x2c3),'gInGa':function(_0x2aef86,_0x29a3d5){return _0x2aef86(_0x29a3d5);},'WfbnX':_0x1245bb(0x325),'YNuku':function(_0x427ad1,_0x5135a4){return _0x427ad1(_0x5135a4);}};try{logger['debug'](_0x1245bb(0x2a8)+_0x53fcbd+_0x1245bb(0x1c9)+_0x483d2f);const _0x618b07=this[_0x1245bb(0x1be)](_0x483d2f);if(!_0x618b07||!_0x618b07[_0x1245bb(0x358)]){logger[_0x1245bb(0x2bf)]('performScanForCli:\x20No\x20'+_0x483d2f+_0x1245bb(0x1cb));return;}if(_0x449a83['uIJCy'](_0x483d2f,_0x449a83[_0x1245bb(0x1cc)])){const _0x4c3c22=_0x449a83[_0x1245bb(0x31e)](require,_0x449a83[_0x1245bb(0x28e)]),_0x5bb108={};_0x5bb108[_0x1245bb(0x358)]=_0x53fcbd;const _0x151cb5=await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x1245bb(0x359)],async()=>{const _0x514ced=_0x1245bb;await _0x4c3c22[_0x514ced(0x263)](_0x36fe0d,_0x618b07['command']);},_0x5bb108)();return logger['info'](_0x1245bb(0x206)+_0x483d2f+'\x20result\x20for\x20'+_0x53fcbd+':\x20'+util[_0x1245bb(0x269)](_0x151cb5)),_0x151cb5;}const _0x10e763=_0x449a83[_0x1245bb(0x1a2)](require,_0x449a83[_0x1245bb(0x28e)]),_0x2f749d=await PerformanceTester['measureWrapper'](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x279838=_0x1245bb;await _0x10e763[_0x279838(0x263)](_0x36fe0d,_0x618b07[_0x279838(0x358)],_0x3eb5ef);})();return logger[_0x1245bb(0x2d8)](_0x1245bb(0x206)+_0x483d2f+_0x1245bb(0x1bc)+_0x53fcbd+':\x20'+util[_0x1245bb(0x269)](_0x2f749d)),_0x2f749d;}catch(_0x115eec){logger['error'](_0x1245bb(0x1d2)+_0x483d2f+':\x20'+(_0x115eec[_0x1245bb(0x2c6)]||_0x115eec['message']));}}async['validatePlatformForAccessibility'](_0x3c2a3c){const _0x515663=a80_0x23ed69,_0x373103={'iSCaD':function(_0x5751fd,_0x43a975){return _0x5751fd(_0x43a975);},'dOwJp':_0x515663(0x28c)};try{const _0x43bf75=_0x373103[_0x515663(0x2f2)](require,_0x373103[_0x515663(0x1b4)]);return await _0x43bf75[_0x515663(0x1d8)](_0x3c2a3c);}catch(_0x18eb22){return logger['error'](_0x515663(0x2b7)+(_0x18eb22[_0x515663(0x2c6)]||_0x18eb22['message'])),![];}}['processAccessibilityCaps'](_0x263ccb,_0xf0ef,_0x3ab707){const _0x5ea89d=a80_0x23ed69,_0x3f94b3={'PzBIZ':function(_0x152cc0,_0x35bada){return _0x152cc0(_0x35bada);},'BcqMg':_0x5ea89d(0x325),'JPIoV':_0x5ea89d(0x23b),'dRgFR':'\x22browserstack.key\x22:\x22[REDACTED]\x22'};try{const _0x795059=_0x3f94b3[_0x5ea89d(0x27b)](require,_0x3f94b3[_0x5ea89d(0x2b1)]);_0x795059[_0x5ea89d(0x1b9)](_0x263ccb,_0xf0ef,_0x3ab707);const _0x4819e8=JSON[_0x5ea89d(0x232)](_0x263ccb)['replace'](/"browserstack\.user":"[^"]*"/g,_0x3f94b3[_0x5ea89d(0x264)])[_0x5ea89d(0x279)](/"browserstack\.key":"[^"]*"/g,_0x3f94b3[_0x5ea89d(0x342)]);logger[_0x5ea89d(0x2bf)]('Processed\x20accessibility\x20caps\x20'+global[_0x5ea89d(0x2e2)]+'\x20'+_0x4819e8);}catch(_0x47a5b2){logger[_0x5ea89d(0x2d1)]('Error\x20in\x20processAccessibilityCaps:\x20'+(_0x47a5b2[_0x5ea89d(0x2c6)]||_0x47a5b2[_0x5ea89d(0x287)]));}}async[a80_0x23ed69(0x1b1)](_0xf7fd71){const _0x501038=a80_0x23ed69,_0x3b9fa0={};_0x3b9fa0['dvYHn']=_0x501038(0x1dd),_0x3b9fa0[_0x501038(0x21c)]=_0x501038(0x2ae);const _0x1870e0=_0x3b9fa0;try{if(!this[_0x501038(0x278)]())return logger['warn'](_0x1870e0[_0x501038(0x1d1)]),[];const _0x567b6a=await this['executeScriptByName'](_0xf7fd71,_0x1870e0[_0x501038(0x21c)]);return _0x567b6a||[];}catch(_0x4a38c2){return logger[_0x501038(0x2d1)](_0x501038(0x32f)+(_0x4a38c2['stack']||_0x4a38c2[_0x501038(0x287)])),[];}}async[a80_0x23ed69(0x254)](_0x194cc1){const _0x3f044c=a80_0x23ed69,_0x45818e={'XdudQ':'scan','JUews':'getResultsSummary','DwKOS':_0x3f044c(0x344),'ixAHZ':function(_0x3adbbc,_0x19c60a){return _0x3adbbc(_0x19c60a);},'PpeYd':_0x3f044c(0x1a6),'AxUWZ':function(_0x9fb3c4,_0x2ba0ae){return _0x9fb3c4===_0x2ba0ae;},'jURnI':_0x3f044c(0x2fe),'BrNZj':_0x3f044c(0x315),'HBuxM':_0x3f044c(0x340),'XZooH':_0x3f044c(0x2fd),'sDMbz':_0x3f044c(0x254),'Weoqx':_0x3f044c(0x312),'RjCta':_0x3f044c(0x29b),'AOkUf':'No\x20summaryResults\x20found.'};try{if(!this[_0x3f044c(0x278)]())return logger[_0x3f044c(0x305)](_0x45818e[_0x3f044c(0x32c)]),{};const _0x18d070=_0x45818e['ixAHZ'](require,_0x45818e[_0x3f044c(0x237)]),_0x474b98=_0x18d070['getTestFrameworkDetail'](),_0xe0b4ba=_0x45818e[_0x3f044c(0x35b)](_0x474b98?.[_0x3f044c(0x2ed)]?.[_0x3f044c(0x225)](),_0x45818e['jURnI']);let _0x13dacd='',_0x401113=null,_0x291002=null;if(_0xe0b4ba){_0x401113=global[_0x3f044c(0x1ba)]||global[_0x3f044c(0x357)]?.[_0x3f044c(0x32a)]?.[_0x3f044c(0x1dc)]||global[_0x3f044c(0x357)]?.[_0x3f044c(0x32a)]?.['id'];if(!_0x401113)return logger[_0x3f044c(0x305)](_0x45818e[_0x3f044c(0x1e4)]),{};try{const _0x1c0622=await GrpcClient[_0x3f044c(0x345)]()['fetchDriverExecuteParamsEvent'](process[_0x3f044c(0x276)][_0x3f044c(0x2da)],_0x45818e['HBuxM'],_0x45818e[_0x3f044c(0x303)],_0x401113),_0xa5e58c=AccessibilityModule['loadDriverExecuteParams'](null,_0x1c0622);_0x13dacd=_0xa5e58c?.[_0x3f044c(0x1ca)]||'',logger[_0x3f044c(0x2bf)](_0x3f044c(0x1a7)+_0x13dacd+'\x20from\x20testIdentifier='+_0x401113);const _0x38c56f=await AccessibilityModule['fetchCentralAuthA11yConfig'](_0x45818e['JUews'],_0x13dacd,_0x401113),_0x40ca49=this[_0x3f044c(0x28b)](_0x45818e[_0x3f044c(0x259)])||this[_0x3f044c(0x33a)][this['KEY_TESTHUB_BUILD_ID']]||null,_0xae320a=process[_0x3f044c(0x276)][_0x3f044c(0x324)]||'',_0x581d41=this['getParamsForScanForCli'](_0x45818e[_0x3f044c(0x2e4)],_0x13dacd,_0x40ca49,_0xae320a);_0x291002=_0x18d070[_0x3f044c(0x326)](_0x581d41,_0x38c56f),logger[_0x3f044c(0x2bf)](_0x3f044c(0x2f0)+JSON[_0x3f044c(0x232)](_0x291002));}catch(_0x83f12e){return logger[_0x3f044c(0x2d1)](_0x3f044c(0x2e8)+_0x83f12e[_0x3f044c(0x287)]),{};}}else{_0x13dacd=this['getCapabilityValue'](_0x45818e[_0x3f044c(0x2a0)])||'';const _0x440ac8=this[_0x3f044c(0x28b)](_0x45818e[_0x3f044c(0x259)])||this[_0x3f044c(0x33a)][this[_0x3f044c(0x33c)]]||null,_0x5567b0=process[_0x3f044c(0x276)]['BROWSERSTACK_TESTHUB_JWT']||'';_0x291002=this[_0x3f044c(0x25d)](_0x45818e[_0x3f044c(0x2e4)],_0x13dacd,_0x440ac8,_0x5567b0);}logger[_0x3f044c(0x2bf)](_0x45818e[_0x3f044c(0x20a)]),await PerformanceTester[_0x3f044c(0x1de)](PerformanceA11yEvents[_0x3f044c(0x359)],async()=>{const _0x103b67=_0x3f044c,_0x276812=await this[_0x103b67(0x351)](_0x194cc1,_0x45818e[_0x103b67(0x30a)],_0x291002);logger['debug'](_0x103b67(0x2c2)+util[_0x103b67(0x269)](_0x276812));},{'command':_0x45818e[_0x3f044c(0x2e4)]})();const _0x4246a6=await PerformanceTester[_0x3f044c(0x1de)](PerformanceA11yEvents[_0x3f044c(0x1bd)],async()=>{const _0x278979=_0x3f044c;return await this[_0x278979(0x351)](_0x194cc1,_0x45818e['JUews'],_0x291002);})();if(!_0x4246a6)return logger[_0x3f044c(0x2bf)](_0x45818e['AOkUf']),{};return _0x4246a6;}catch(_0x1fe246){return logger[_0x3f044c(0x2d1)]('Error\x20in\x20getAccessibilityResultsSummary:\x20'+(_0x1fe246[_0x3f044c(0x2c6)]||_0x1fe246[_0x3f044c(0x287)])),{};}}async[a80_0x23ed69(0x316)](_0x17ae70,_0x3dcc49,_0x12648c=null){const _0x542320=a80_0x23ed69,_0x37835e={};_0x37835e[_0x542320(0x332)]=_0x542320(0x261),_0x37835e[_0x542320(0x224)]=_0x542320(0x1c6),_0x37835e[_0x542320(0x218)]=_0x542320(0x2c4);const _0x251b99=_0x37835e;try{if(!_0x17ae70)return logger['debug'](_0x251b99[_0x542320(0x332)]),null;if(!_0x3dcc49)return logger[_0x542320(0x2bf)](_0x251b99[_0x542320(0x224)]),null;logger['debug'](_0x251b99['VqlmJ']);const _0x263180=_0x12648c?await _0x17ae70[_0x542320(0x2df)](_0x3dcc49,_0x12648c):await _0x17ae70['evaluate'](_0x3dcc49);return _0x263180;}catch(_0x12bcd3){return logger[_0x542320(0x2d1)](_0x542320(0x2ab)+(_0x12bcd3['stack']||_0x12bcd3[_0x542320(0x287)])),null;}}static[a80_0x23ed69(0x27e)](_0x55c2f6,_0x5c8f49){const _0x59a36e=a80_0x23ed69,_0x56e22c={};_0x56e22c[_0x59a36e(0x298)]=_0x59a36e(0x328);const _0x2b3179=_0x56e22c,_0xc39d32={};_0xc39d32[_0x59a36e(0x1ca)]=_0x55c2f6;const _0x1fff1a=_0xc39d32;let _0x2663ca={};if(_0x5c8f49['getSuccess']()&&_0x5c8f49[_0x59a36e(0x30f)]())try{_0x2663ca=JSON[_0x59a36e(0x234)](new Buffer(_0x5c8f49[_0x59a36e(0x352)]())['toString'](_0x2b3179[_0x59a36e(0x298)]));}catch(_0xbf75e8){logger[_0x59a36e(0x2d1)](_0x59a36e(0x2c9)+_0xbf75e8[_0x59a36e(0x287)]),_0x2663ca={};}return CLIUtils[_0x59a36e(0x326)](_0x1fff1a,_0x2663ca);}static async[a80_0x23ed69(0x34b)](_0x1dc400,_0x49f951='',_0x5c53b6=null){const _0x4c44aa=a80_0x23ed69,_0x2c09a9={};_0x2c09a9['tcnTv']=_0x4c44aa(0x217),_0x2c09a9['YFTCj']=_0x4c44aa(0x340);const _0x53aac9=_0x2c09a9;try{if(!_0x5c53b6&&AccessibilityModule[_0x4c44aa(0x250)])return AccessibilityModule[_0x4c44aa(0x32b)];if(!process[_0x4c44aa(0x276)][_0x4c44aa(0x2da)])return logger[_0x4c44aa(0x2d1)](_0x53aac9[_0x4c44aa(0x2ee)]),{};const _0x78e6c2=await GrpcClient[_0x4c44aa(0x345)]()['fetchDriverExecuteParamsEvent'](process[_0x4c44aa(0x276)]['BROWSERSTACK_CLI_BIN_SESSION_ID'],_0x53aac9[_0x4c44aa(0x1f6)],_0x1dc400,_0x5c53b6),_0xdbd378=_0x5c53b6?AccessibilityModule[_0x4c44aa(0x27e)](null,_0x78e6c2)?.['thTestRunUuid']||_0x49f951:_0x49f951,_0x11e483=AccessibilityModule[_0x4c44aa(0x27e)](_0xdbd378,_0x78e6c2);return!_0x5c53b6&&(AccessibilityModule[_0x4c44aa(0x32b)]=_0x11e483,AccessibilityModule[_0x4c44aa(0x250)]=!![]),_0x11e483;}catch(_0x393a51){return logger['error'](_0x4c44aa(0x2f1)+_0x1dc400+':\x20'+(_0x393a51[_0x4c44aa(0x2c6)]||_0x393a51[_0x4c44aa(0x287)])),{};}}}function a80_0x2e8f(_0x541dfe,_0x40a900){const _0x3337b5=a80_0x3337();return a80_0x2e8f=function(_0x2e8f29,_0x26f229){_0x2e8f29=_0x2e8f29-0x1a1;let _0x3c8d57=_0x3337b5[_0x2e8f29];return _0x3c8d57;},a80_0x2e8f(_0x541dfe,_0x40a900);};module['exports']=AccessibilityModule;
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 +1 @@
1
- function a81_0x560a(_0x294f63,_0x3f0cb3){const _0x3c8288=a81_0x3c82();return a81_0x560a=function(_0x560aaa,_0x2703d4){_0x560aaa=_0x560aaa-0x11c;let _0x1e5d0d=_0x3c8288[_0x560aaa];return _0x1e5d0d;},a81_0x560a(_0x294f63,_0x3f0cb3);}const a81_0x364f92=a81_0x560a;(function(_0x57bf9c,_0x2deaf6){const _0x550bb9=a81_0x560a,_0x19cd36=_0x57bf9c();while(!![]){try{const _0x11a339=-parseInt(_0x550bb9(0x146))/0x1+-parseInt(_0x550bb9(0x121))/0x2*(parseInt(_0x550bb9(0x126))/0x3)+-parseInt(_0x550bb9(0x12a))/0x4*(-parseInt(_0x550bb9(0x123))/0x5)+parseInt(_0x550bb9(0x120))/0x6*(-parseInt(_0x550bb9(0x125))/0x7)+parseInt(_0x550bb9(0x122))/0x8+parseInt(_0x550bb9(0x130))/0x9+parseInt(_0x550bb9(0x144))/0xa*(parseInt(_0x550bb9(0x129))/0xb);if(_0x11a339===_0x2deaf6)break;else _0x19cd36['push'](_0x19cd36['shift']());}catch(_0x43e1af){_0x19cd36['push'](_0x19cd36['shift']());}}}(a81_0x3c82,0x8fc85));const logger=require('../../../helpers/logger.js')[a81_0x364f92(0x139)],{FRAMEWORKS}=require(a81_0x364f92(0x140));class BaseModule{constructor(_0x36e3a3=null){const _0x43bf66=a81_0x364f92,_0xd3b50d={};_0xd3b50d['yntFV']=_0x43bf66(0x147),_0xd3b50d[_0x43bf66(0x13e)]=_0x43bf66(0x13b);const _0x526a5b=_0xd3b50d,_0x52c629=_0x526a5b['yntFV'][_0x43bf66(0x135)]('|');let _0xb199af=0x0;while(!![]){switch(_0x52c629[_0xb199af++]){case'0':this[_0x43bf66(0x142)]=null;continue;case'1':this['testFrameworkData']=this[_0x43bf66(0x143)](_0x36e3a3);continue;case'2':this['config']={};continue;case'3':this[_0x43bf66(0x11e)]=_0x526a5b[_0x43bf66(0x13e)];continue;case'4':this[_0x43bf66(0x11d)]=0x0;continue;case'5':this[_0x43bf66(0x13a)]=null;continue;}break;}}[a81_0x364f92(0x13f)](){const _0x40f602=a81_0x364f92,_0x38ca8b={};_0x38ca8b[_0x40f602(0x136)]='Missing\x20binSessionId';const _0x32263f=_0x38ca8b;if(!this[_0x40f602(0x13a)])throw new Error(_0x32263f[_0x40f602(0x136)]);}[a81_0x364f92(0x12b)](){const _0xa4e9bf=a81_0x364f92;return this[_0xa4e9bf(0x11e)];}['configure'](_0x49ce5b,_0x1bf8ac,_0x4d200c,_0x1dd923={}){const _0x51ca6d=a81_0x364f92,_0x3b7625={};_0x3b7625[_0x51ca6d(0x149)]=_0x51ca6d(0x137);const _0x1282ae=_0x3b7625,_0x5ee3c0=_0x1282ae['KdFVg'][_0x51ca6d(0x135)]('|');let _0x4c5b5e=0x0;while(!![]){switch(_0x5ee3c0[_0x4c5b5e++]){case'0':this[_0x51ca6d(0x142)]=_0x4d200c;continue;case'1':this[_0x51ca6d(0x127)]=_0x1dd923;continue;case'2':this[_0x51ca6d(0x13a)]=_0x49ce5b;continue;case'3':this[_0x51ca6d(0x11d)]=_0x1bf8ac;continue;case'4':logger[_0x51ca6d(0x148)](_0x51ca6d(0x12f)+this[_0x51ca6d(0x12b)]()+_0x51ca6d(0x133)+_0x49ce5b+',\x20platformIndex='+_0x1bf8ac);continue;}break;}}[a81_0x364f92(0x124)](_0x114327){const _0x22f0c0=a81_0x364f92,_0x2c348e={};_0x2c348e[_0x22f0c0(0x12d)]=function(_0x1879c9,_0x2c2f88){return _0x1879c9===_0x2c2f88;},_0x2c348e['kMXzS']=function(_0x8f2545,_0x43fc0f){return _0x8f2545===_0x43fc0f;},_0x2c348e[_0x22f0c0(0x128)]=function(_0x21ab52,_0x5c6ce9){return _0x21ab52===_0x5c6ce9;};const _0x451465=_0x2c348e;let _0x3205b1='';if(_0x451465['LbgLF'](_0x114327[_0x22f0c0(0x131)],FRAMEWORKS[_0x22f0c0(0x13d)]))_0x3205b1=_0x114327[_0x22f0c0(0x141)]?.[_0x22f0c0(0x145)]?.['id']||_0x114327['testInfo']?.[_0x22f0c0(0x11f)];else{if(_0x451465[_0x22f0c0(0x134)](_0x114327[_0x22f0c0(0x131)],FRAMEWORKS[_0x22f0c0(0x13c)]))_0x3205b1=_0x114327['testInfo']?.['testCaseStartedId'];else _0x451465[_0x22f0c0(0x128)](_0x114327[_0x22f0c0(0x131)],FRAMEWORKS[_0x22f0c0(0x12e)])&&(_0x3205b1=_0x114327[_0x22f0c0(0x141)]?.['id']);}return _0x3205b1;}[a81_0x364f92(0x143)](_0x5a1079){const _0x57fdea=a81_0x364f92,_0x17c901={};_0x17c901[_0x57fdea(0x132)]=function(_0x9c286d,_0x517dfd){return _0x9c286d!==_0x517dfd;},_0x17c901['rfecG']='object';const _0x26b323=_0x17c901;if(!_0x5a1079||_0x26b323[_0x57fdea(0x132)](typeof _0x5a1079,_0x26b323[_0x57fdea(0x12c)]))return null;const _0x368278={};_0x368278[_0x57fdea(0x11e)]=_0x5a1079[_0x57fdea(0x11e)],_0x368278[_0x57fdea(0x11c)]=_0x5a1079[_0x57fdea(0x11c)]&&_0x5a1079[_0x57fdea(0x11c)][_0x5a1079[_0x57fdea(0x11e)]];const _0x39b7c7=_0x368278;return _0x39b7c7;}}function a81_0x3c82(){const _0x24c8c9=['version','platformIndex','name','testId','24glUDqm','10724VzQlXi','7319704BUSMnF','11885LwdYrG','getTestId','644511hIxTdX','462IrRAph','config','WBvQE','11zmyDfA','268OxlZLt','getModuleName','rfecG','LbgLF','JEST','Configured\x20module\x20','8051400OOUyKu','testFramework','IyiPc','\x20with\x20binSessionId=','kMXzS','split','RVlDV','2|3|0|1|4','exports','winstonLogger','binSessionId','BaseModule','CUCUMBER','PLAYWRIGHT','csVAy','ensureBinSession','../../../helpers/test-observability/constants.js','testInfo','client','setTestFrameworkData','2840730LrbKHg','_test','469922BMoKgr','3|5|4|2|0|1','debug','KdFVg'];a81_0x3c82=function(){return _0x24c8c9;};return a81_0x3c82();}module[a81_0x364f92(0x138)]=BaseModule;
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 +1 @@
1
- const a82_0x540ac3=a82_0x4f27;function a82_0x4f27(_0x1acb4f,_0x41732f){const _0x511dc4=a82_0x511d();return a82_0x4f27=function(_0x4f279e,_0x4739ef){_0x4f279e=_0x4f279e-0xfd;let _0x3129bf=_0x511dc4[_0x4f279e];return _0x3129bf;},a82_0x4f27(_0x1acb4f,_0x41732f);}(function(_0x41a2c8,_0x46336f){const _0x551d31=a82_0x4f27,_0x2acdf6=_0x41a2c8();while(!![]){try{const _0x2c1fd8=-parseInt(_0x551d31(0x110))/0x1+-parseInt(_0x551d31(0x12e))/0x2*(parseInt(_0x551d31(0x11b))/0x3)+-parseInt(_0x551d31(0x113))/0x4+-parseInt(_0x551d31(0x10e))/0x5+parseInt(_0x551d31(0x11a))/0x6+-parseInt(_0x551d31(0x104))/0x7*(-parseInt(_0x551d31(0x11d))/0x8)+-parseInt(_0x551d31(0x10b))/0x9*(-parseInt(_0x551d31(0x114))/0xa);if(_0x2c1fd8===_0x46336f)break;else _0x2acdf6['push'](_0x2acdf6['shift']());}catch(_0x3e83a5){_0x2acdf6['push'](_0x2acdf6['shift']());}}}(a82_0x511d,0xb955a));function a82_0x511d(){const _0x28019f=['LTS','error','693360zmxMRf','3meVOSb','lbJle','9047288rMshIn','yJZKe','browserstackAutomation','lLEue','Failed\x20to\x20record\x20LTS\x20telemetry:\x20','getLTSSessionId','AgiEe','XzsYp','mpJsK','env','message','overrideLoadTesting','fHMkb','true','../../../helpers/helper.js','BROWSERSTACK_LTS_SESSION_ID','uqDgZ','1595630sHcIcK','yrXfq','mUGLw','toString','undefined','gXLcx','hXVlW','string','../../../helpers/classLogger.js','7hcfxIl','ydPma','LTS\x20not\x20enabled;\x20returning\x20empty\x20LTS\x20session\x20id','LoadTestModule','XjEZG','isLTSSession','debug','7657128TQzmrq','BROWSERSTACK_LTS_SESSION_ID\x20cleared','exports','222350VeWVYQ','yyyGB','967485mqsrHJ','DmHRm','LTS\x20session\x20enabled;\x20returning\x20env\x20BROWSERSTACK_LTS_SESSION_ID','1516620CvsuwB','20BSWjAK','PAKvw','setLTSSessionId','wzcSu'];a82_0x511d=function(){return _0x28019f;};return a82_0x511d();}const {createClassLogger}=require(a82_0x540ac3(0x103)),logger=createClassLogger(a82_0x540ac3(0x107)),{sendSdkEvents}=require(a82_0x540ac3(0x12b)),isLTSSession=(_0x7d5bd4=null)=>{const _0x38d2a7=a82_0x540ac3,_0x48e9c6={};_0x48e9c6[_0x38d2a7(0x12f)]=function(_0xdf5bb1,_0x34e586){return _0xdf5bb1!==_0x34e586;},_0x48e9c6[_0x38d2a7(0x111)]=_0x38d2a7(0xff),_0x48e9c6[_0x38d2a7(0x100)]=function(_0x2ddbe1,_0x1297af){return _0x2ddbe1===_0x1297af;},_0x48e9c6[_0x38d2a7(0x120)]=_0x38d2a7(0x102),_0x48e9c6[_0x38d2a7(0x11c)]=function(_0x314877,_0x4dc590){return _0x314877===_0x4dc590;},_0x48e9c6[_0x38d2a7(0x125)]=_0x38d2a7(0x12a),_0x48e9c6['hXVlW']=function(_0x1ba9b8,_0x5661aa){return _0x1ba9b8===_0x5661aa;},_0x48e9c6[_0x38d2a7(0x115)]=function(_0x154eed,_0xccea56){return _0x154eed===_0xccea56;},_0x48e9c6[_0x38d2a7(0x11e)]='false';const _0x345ce9=_0x48e9c6;try{if(_0x345ce9[_0x38d2a7(0x12f)](typeof process['env'][_0x38d2a7(0x128)],_0x345ce9[_0x38d2a7(0x111)])){const _0x1e6ca8=process[_0x38d2a7(0x126)][_0x38d2a7(0x128)];return _0x345ce9[_0x38d2a7(0x100)](typeof _0x1e6ca8,_0x345ce9[_0x38d2a7(0x120)])?_0x345ce9[_0x38d2a7(0x11c)](_0x1e6ca8['toLowerCase'](),_0x345ce9[_0x38d2a7(0x125)]):!!_0x1e6ca8;}const _0x5dfa50=_0x7d5bd4&&_0x7d5bd4[_0x38d2a7(0x128)],_0x483d62=!!(_0x7d5bd4&&(_0x345ce9[_0x38d2a7(0x101)](_0x7d5bd4[_0x38d2a7(0x11f)],!![])||_0x345ce9[_0x38d2a7(0x11c)](_0x7d5bd4['browserstackAutomation'],_0x345ce9['mpJsK']))),_0x2b7133=!!(_0x5dfa50&&_0x345ce9['PAKvw'](_0x5dfa50[_0x38d2a7(0xfe)]()['toLowerCase'](),_0x345ce9[_0x38d2a7(0x125)])&&!_0x483d62);return process[_0x38d2a7(0x126)][_0x38d2a7(0x128)]=_0x2b7133?_0x345ce9[_0x38d2a7(0x125)]:_0x345ce9['yJZKe'],_0x2b7133;}catch(_0x5a957d){return process['env'][_0x38d2a7(0x128)]=_0x345ce9[_0x38d2a7(0x11e)],![];}},getLTSSessionId=()=>{const _0x275a7a=a82_0x540ac3,_0x319dc5={'yyyGB':function(_0x60cef4){return _0x60cef4();},'XjEZG':_0x275a7a(0x112),'ydPma':_0x275a7a(0x106)};try{if(_0x319dc5[_0x275a7a(0x10f)](isLTSSession))return logger['debug'](_0x319dc5[_0x275a7a(0x108)]),process[_0x275a7a(0x126)][_0x275a7a(0x12c)]||'';}catch(_0x3b1326){logger[_0x275a7a(0x119)]('Error\x20while\x20resolving\x20LTS\x20session\x20id:\x20'+(_0x3b1326&&_0x3b1326[_0x275a7a(0x127)]));}return logger[_0x275a7a(0x10a)](_0x319dc5[_0x275a7a(0x105)]),'';},setLTSSessionId=async(_0x351a10={})=>{const _0x148abd=a82_0x540ac3,_0x4c67bb={'fHMkb':function(_0x18517c){return _0x18517c();},'RXwtI':'BROWSERSTACK_LTS_SESSION_ID\x20set\x20from\x20env','XzsYp':_0x148abd(0x10c),'mUGLw':_0x148abd(0x118),'wzcSu':function(_0x396db5,_0x135ddd){return _0x396db5(_0x135ddd);},'uqDgZ':function(_0x3a22eb,_0x2a727d,_0x152460){return _0x3a22eb(_0x2a727d,_0x152460);},'AgiEe':function(_0x28a940,_0x26c9ce){return _0x28a940||_0x26c9ce;}};try{const _0x2f4c24=_0x4c67bb[_0x148abd(0x129)](getLTSSessionId);_0x2f4c24?(process[_0x148abd(0x126)][_0x148abd(0x12c)]=_0x2f4c24,logger[_0x148abd(0x10a)](_0x4c67bb['RXwtI'])):(delete process[_0x148abd(0x126)][_0x148abd(0x12c)],logger[_0x148abd(0x10a)](_0x4c67bb[_0x148abd(0x124)]));try{const _0x1b166d={'feature':_0x4c67bb[_0x148abd(0xfd)],'ltsEnabled':_0x4c67bb[_0x148abd(0x117)](isLTSSession,_0x351a10),'ltsSessionIdPresent':!!_0x2f4c24};await _0x4c67bb[_0x148abd(0x12d)](sendSdkEvents,_0x1b166d,_0x351a10);}catch(_0x45d64e){logger[_0x148abd(0x10a)](_0x148abd(0x121)+(_0x45d64e&&_0x45d64e[_0x148abd(0x127)]));}return _0x4c67bb[_0x148abd(0x123)](_0x2f4c24,'');}catch(_0x4fffba){return logger[_0x148abd(0x10a)]('setLTSSessionId\x20error:\x20'+(_0x4fffba&&_0x4fffba['message'])),'';}},a82_0x566507={};a82_0x566507[a82_0x540ac3(0x109)]=isLTSSession,a82_0x566507[a82_0x540ac3(0x122)]=getLTSSessionId,a82_0x566507[a82_0x540ac3(0x116)]=setLTSSessionId,module[a82_0x540ac3(0x10d)]=a82_0x566507;
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 +1 @@
1
- const a83_0x57d868=a83_0x5ca1;(function(_0x15749e,_0x1d9037){const _0x4e4930=a83_0x5ca1,_0xf4efb2=_0x15749e();while(!![]){try{const _0x110670=parseInt(_0x4e4930(0x14c))/0x1+-parseInt(_0x4e4930(0x140))/0x2*(parseInt(_0x4e4930(0x155))/0x3)+-parseInt(_0x4e4930(0x168))/0x4*(-parseInt(_0x4e4930(0x14b))/0x5)+-parseInt(_0x4e4930(0x141))/0x6*(-parseInt(_0x4e4930(0x15f))/0x7)+parseInt(_0x4e4930(0x14f))/0x8*(parseInt(_0x4e4930(0x154))/0x9)+parseInt(_0x4e4930(0x151))/0xa*(-parseInt(_0x4e4930(0x161))/0xb)+-parseInt(_0x4e4930(0x148))/0xc;if(_0x110670===_0x1d9037)break;else _0xf4efb2['push'](_0xf4efb2['shift']());}catch(_0x2fce70){_0xf4efb2['push'](_0xf4efb2['shift']());}}}(a83_0x4b0c,0xeaaf8));function a83_0x4b0c(){const _0x10544c=['21WtKLHs','TEST_REPORTING_ANALYTICS','88kKaNVJ','../../../helpers/helper.js','\x20sync\x20done','SYNC','../../../helpers/performance/performance-tester.js','../framework/automationFramework.js','../../../helpers/classLogger.js','32acoxrp','name','getModuleName','start','iOamw','end','./baseModule','10TsGUrG','2977614esHbAL','onBeforeTest:\x20page\x20is\x20not\x20defined','tvasj','CREATE','now','info','../../../helpers/performance/constants.js','1170684SgVFHE','fzebs','onBeforeTest','16145ivdDWa','1488661bjQUXE','debug','xBxSX','16cuuWme','POST','223030zdApYr','onBeforeTest:\x20','../state/hookState.js','18846GeVXaz','1062141rSGLIu','logger','ObservabilitySync:','ObservabilityModule','MODULE_NAME','exports','page','bind','fueEE','Pkzrh'];a83_0x4b0c=function(){return _0x10544c;};return a83_0x4b0c();}const BaseModule=require(a83_0x57d868(0x13f)),{createClassLogger}=require(a83_0x57d868(0x167)),AutomationFramework=require(a83_0x57d868(0x166)),AutomationFrameworkState=require('../state/automationFrameworkState.js'),HookState=require(a83_0x57d868(0x153)),{playwrightAnnotate}=require(a83_0x57d868(0x162)),PerformanceTester=require(a83_0x57d868(0x165)),{O11y_EVENTS}=require(a83_0x57d868(0x147)),constants=require('../../utils/constants.js');class ObservabilityModule extends BaseModule{['logger']=createClassLogger(a83_0x57d868(0x158));constructor(_0x393f35){const _0x1d026b=a83_0x57d868,_0x260da4={};_0x260da4[_0x1d026b(0x14e)]='ObservabilityModule';const _0x25cedf=_0x260da4;super(),this[_0x1d026b(0x169)]=_0x25cedf[_0x1d026b(0x14e)],this['observabilityConfig']=_0x393f35,AutomationFramework['registerObserver'](AutomationFrameworkState[_0x1d026b(0x144)],HookState[_0x1d026b(0x150)],this['onBeforeTest'][_0x1d026b(0x15c)](this));}[a83_0x57d868(0x16a)](){const _0x367bbb=a83_0x57d868;return ObservabilityModule[_0x367bbb(0x159)];}async[a83_0x57d868(0x14a)](_0x517920){const _0x5f46d1=a83_0x57d868,_0x321e37={'fzebs':function(_0x191441,_0x26dfd0){return _0x191441+_0x26dfd0;},'iOamw':_0x5f46d1(0x157),'fueEE':function(_0x36a82d,_0x3ad5a9,_0x22e3d1,_0x667ff7){return _0x36a82d(_0x3ad5a9,_0x22e3d1,_0x667ff7);},'Pkzrh':_0x5f46d1(0x14d),'tvasj':_0x5f46d1(0x142)};if(_0x517920['page']){const _0x5f1d42=_0x517920[_0x5f46d1(0x15b)],_0x2791d1=Date[_0x5f46d1(0x145)](),_0x436986=_0x321e37[_0x5f46d1(0x149)](_0x321e37[_0x5f46d1(0x16c)],_0x2791d1);PerformanceTester[_0x5f46d1(0x16b)](O11y_EVENTS['SYNC']),await _0x321e37[_0x5f46d1(0x15d)](playwrightAnnotate,_0x5f1d42,_0x436986,_0x321e37[_0x5f46d1(0x15e)]),PerformanceTester[_0x5f46d1(0x13e)](O11y_EVENTS[_0x5f46d1(0x164)]),this[_0x5f46d1(0x156)][_0x5f46d1(0x146)](_0x5f46d1(0x152)+constants[_0x5f46d1(0x160)]+_0x5f46d1(0x163));}else this[_0x5f46d1(0x156)][_0x5f46d1(0x14d)](_0x321e37[_0x5f46d1(0x143)]);}}function a83_0x5ca1(_0xd55a7c,_0x21d597){const _0x4b0c3a=a83_0x4b0c();return a83_0x5ca1=function(_0x5ca18c,_0x3f2213){_0x5ca18c=_0x5ca18c-0x13e;let _0x5947dc=_0x4b0c3a[_0x5ca18c];return _0x5947dc;},a83_0x5ca1(_0xd55a7c,_0x21d597);}ObservabilityModule[a83_0x57d868(0x159)]=a83_0x57d868(0x158),module[a83_0x57d868(0x15a)]=ObservabilityModule;
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 +1 @@
1
- const a84_0x2c193b=a84_0x90af;function a84_0x90af(_0x5c7be0,_0x420e80){const _0x52049c=a84_0x5204();return a84_0x90af=function(_0x90af00,_0x2cc6e8){_0x90af00=_0x90af00-0x8d;let _0x27257a=_0x52049c[_0x90af00];return _0x27257a;},a84_0x90af(_0x5c7be0,_0x420e80);}(function(_0x5d3542,_0x2eeb35){const _0x36cae4=a84_0x90af,_0xcd25fd=_0x5d3542();while(!![]){try{const _0x26d40a=parseInt(_0x36cae4(0xcf))/0x1*(parseInt(_0x36cae4(0xed))/0x2)+-parseInt(_0x36cae4(0xb4))/0x3*(-parseInt(_0x36cae4(0xc4))/0x4)+-parseInt(_0x36cae4(0xe8))/0x5+-parseInt(_0x36cae4(0xad))/0x6+-parseInt(_0x36cae4(0x149))/0x7*(parseInt(_0x36cae4(0x156))/0x8)+-parseInt(_0x36cae4(0x11f))/0x9*(parseInt(_0x36cae4(0x10c))/0xa)+parseInt(_0x36cae4(0x10a))/0xb;if(_0x26d40a===_0x2eeb35)break;else _0xcd25fd['push'](_0xcd25fd['shift']());}catch(_0x2b4e7a){_0xcd25fd['push'](_0xcd25fd['shift']());}}}(a84_0x5204,0xdd852));const util=require('util'),BaseModule=require(a84_0x2c193b(0x13e)),{createClassLogger}=require(a84_0x2c193b(0x10b)),{getFrameworkVersion}=require('../../../helpers/test-observability/utils'),helper=require(a84_0x2c193b(0x95)),{FRAMEWORKS}=require(a84_0x2c193b(0x158)),AutomationFramework=require(a84_0x2c193b(0xea)),AutomationFrameworkState=require('../state/automationFrameworkState.js'),HookState=require(a84_0x2c193b(0x140)),{playwrightBstackJsExecutor,nestedKeyValue,playwrightAnnotate,getPlaywrightStatus,getPlaywrightSessionName,getCucumberSessionName}=require(a84_0x2c193b(0x103)),CLIUtils=require(a84_0x2c193b(0x101)),BrowserstackCLI=require(a84_0x2c193b(0x154)),GrpcClient=require(a84_0x2c193b(0xa9)),PerformanceTester=require(a84_0x2c193b(0x96)),PerformanceEvents=require(a84_0x2c193b(0xc5))[a84_0x2c193b(0x144)],TestInfo=require(a84_0x2c193b(0x14f)),{getPlaywrightProvider}=require(a84_0x2c193b(0x103)),LoadTestModule=require('./loadTestModule.js'),TestFrameworkConstants=require('../framework/constants/testFrameworkConstants.js'),TestFrameworkState=require(a84_0x2c193b(0x148)),JestUtils=require(a84_0x2c193b(0x8f));class PlaywrightDriverModule extends BaseModule{static [a84_0x2c193b(0xc3)]=a84_0x2c193b(0xd9);static [a84_0x2c193b(0x15b)]=a84_0x2c193b(0xe3);static [a84_0x2c193b(0xbd)]=a84_0x2c193b(0x9e);static [a84_0x2c193b(0x121)]='sessionId';static [a84_0x2c193b(0x109)]=a84_0x2c193b(0x11c);static [a84_0x2c193b(0xe1)]=a84_0x2c193b(0x159);static ['KEY_HUB_URL']=a84_0x2c193b(0xba);static [a84_0x2c193b(0xfe)]='platformDetails';static [a84_0x2c193b(0xf4)]=a84_0x2c193b(0xf0);[a84_0x2c193b(0xaa)]=createClassLogger('PlaywrightDriverModule');constructor(_0x510091=null){const _0xd0ab49=a84_0x2c193b,_0x5bd63a={};_0x5bd63a[_0xd0ab49(0xe5)]=_0xd0ab49(0xf6),_0x5bd63a[_0xd0ab49(0xc0)]=_0xd0ab49(0x98);const _0x1181b9=_0x5bd63a,_0x582c73=_0x1181b9[_0xd0ab49(0xe5)][_0xd0ab49(0xd7)]('|');let _0x8979a7=0x0;while(!![]){switch(_0x582c73[_0x8979a7++]){case'0':this[_0xd0ab49(0x131)]=null;continue;case'1':AutomationFramework[_0xd0ab49(0x134)](AutomationFrameworkState[_0xd0ab49(0x90)],HookState[_0xd0ab49(0xfa)],this[_0xd0ab49(0xb6)][_0xd0ab49(0x141)](this));continue;case'2':this['browserVersion']=null;continue;case'3':this['browserName']=null;continue;case'4':this[_0xd0ab49(0xdd)]=new JestUtils();continue;case'5':this['playwrightVersion']=null;continue;case'6':AutomationFramework[_0xd0ab49(0x134)](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState[_0xd0ab49(0xfa)],this[_0xd0ab49(0xb5)]['bind'](this));continue;case'7':AutomationFramework[_0xd0ab49(0x134)](AutomationFrameworkState[_0xd0ab49(0xe7)],HookState[_0xd0ab49(0xfa)],this[_0xd0ab49(0x113)][_0xd0ab49(0x141)](this));continue;case'8':AutomationFramework[_0xd0ab49(0x134)](AutomationFrameworkState[_0xd0ab49(0x90)],HookState['PRE'],this['onBeforeDriverCreate'][_0xd0ab49(0x141)](this));continue;case'9':this['platforms']=[];continue;case'10':super(_0x510091);continue;case'11':this[_0xd0ab49(0x94)]=_0x1181b9[_0xd0ab49(0xc0)];continue;}break;}}[a84_0x2c193b(0x124)](){const _0x3730e7=a84_0x2c193b;return PlaywrightDriverModule[_0x3730e7(0x15a)];}async[a84_0x2c193b(0x133)](_0x888ffd){const _0x1c605a=a84_0x2c193b,_0x3b7fa6={};_0x3b7fa6['sVcvi']=_0x1c605a(0xb7);const _0x38104a=_0x3b7fa6;try{this[_0x1c605a(0xaa)]['debug'](_0x38104a[_0x1c605a(0x126)]);const _0x581ecf=_0x888ffd['launchcaps'],_0x12e722=_0x888ffd[_0x1c605a(0xba)];AutomationFramework['setState'](_0x888ffd['instance'],PlaywrightDriverModule[_0x1c605a(0xe1)],_0x581ecf),AutomationFramework[_0x1c605a(0x92)](_0x888ffd['instance'],PlaywrightDriverModule[_0x1c605a(0xa1)],_0x12e722);}catch(_0x21576a){this[_0x1c605a(0xaa)][_0x1c605a(0xd1)](_0x1c605a(0xd8)+util['format'](_0x21576a));}}async[a84_0x2c193b(0xb5)](_0x4cf1e0){const _0x543692=a84_0x2c193b,_0x1d3cf0={};_0x1d3cf0[_0x543692(0xf9)]=function(_0x1050fa,_0x5482c9){return _0x1050fa||_0x5482c9;};const _0x1a1fdd=_0x1d3cf0;try{const _0x59e413=_0x4cf1e0?.[_0x543692(0x106)]&&_0x4cf1e0?.[_0x543692(0x106)]?.[_0x543692(0x139)]&&_0x4cf1e0?.['message']?.[_0x543692(0x139)]?.[_0x543692(0x13c)],_0x13e98e=_0x4cf1e0?.['message']&&_0x4cf1e0?.['message']?.[_0x543692(0x14c)];if(_0x1a1fdd['VtbbT'](_0x59e413,_0x13e98e)){this[_0x543692(0xaa)][_0x543692(0x155)]('onDispatchExecute:\x20Playwright\x20driver\x20is\x20executing\x20tests\x20'+util[_0x543692(0x12c)](_0x59e413)+'\x20||\x20'+util[_0x543692(0x12c)](_0x13e98e));const _0x3bb870=_0x4cf1e0?.[_0x543692(0xbb)],_0x4f62bf=global?.[_0x543692(0xce)]?.[_0x543692(0x12e)]?.[_0x543692(0x119)],_0x25a959=_0x59e413?.['sessionId']||_0x13e98e?.[_0x543692(0xa6)],_0x1d8827=_0x59e413?.[_0x543692(0x123)]||_0x13e98e?.[_0x543692(0x123)];_0x25a959&&(this['logger']['debug']('onDispatchExecute:\x20Playwright\x20sessionId:\x20'+_0x25a959),AutomationFramework[_0x543692(0x92)](_0x3bb870,PlaywrightDriverModule[_0x543692(0x121)],_0x25a959)),_0x4f62bf&&(this['logger'][_0x543692(0x155)](_0x543692(0x13d)+util['inspect'](_0x4f62bf)),AutomationFramework['setState'](_0x3bb870,PlaywrightDriverModule[_0x543692(0x109)],_0x4f62bf));}}catch(_0x11b7f0){this[_0x543692(0xaa)][_0x543692(0xd1)](_0x543692(0xf7)+util['format'](_0x11b7f0));}}async[a84_0x2c193b(0xb6)](_0x4c894d){const _0x298b7e=a84_0x2c193b,_0x14dd33={'XACrD':'onAfterDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','BNTHe':function(_0x2966ec,_0x28ce64){return _0x2966ec(_0x28ce64);},'PfOsD':_0x298b7e(0xee),'aWXuO':_0x298b7e(0x9f),'mNcoo':_0x298b7e(0x147),'WOcDH':_0x298b7e(0xcb),'fDJAQ':_0x298b7e(0x12d)};try{this[_0x298b7e(0xaa)]['debug'](_0x14dd33[_0x298b7e(0x157)]);const _0x1d7e6c=_0x4c894d['instance'];this[_0x298b7e(0x11d)]=_0x14dd33[_0x298b7e(0x132)](getFrameworkVersion,FRAMEWORKS[_0x298b7e(0x100)]);if(_0x4c894d['page']){this['logger'][_0x298b7e(0x155)](_0x14dd33[_0x298b7e(0x13f)]),AutomationFramework[_0x298b7e(0x92)](_0x1d7e6c,PlaywrightDriverModule[_0x298b7e(0xbd)],_0x4c894d[_0x298b7e(0x102)]);if(_0x4c894d[_0x298b7e(0xc9)]){this[_0x298b7e(0xaa)][_0x298b7e(0x155)](_0x14dd33['aWXuO']);const _0x835d2c=this[_0x298b7e(0x14e)](_0x4c894d);AutomationFramework[_0x298b7e(0x92)](_0x1d7e6c,PlaywrightDriverModule[_0x298b7e(0xf4)],_0x835d2c),await this['markSessionName'](_0x4c894d[_0x298b7e(0xc9)]);}}_0x4c894d[_0x298b7e(0xd2)]&&(this[_0x298b7e(0xaa)][_0x298b7e(0x155)](_0x14dd33[_0x298b7e(0x13b)]),AutomationFramework[_0x298b7e(0x92)](_0x1d7e6c,PlaywrightDriverModule[_0x298b7e(0x15b)],_0x4c894d[_0x298b7e(0xd2)]));if(_0x4c894d[_0x298b7e(0x12a)]){this[_0x298b7e(0xaa)]['debug'](_0x14dd33['WOcDH']);const _0x3175a7=global?.[_0x298b7e(0xce)]?.[_0x298b7e(0x12e)]?.[_0x298b7e(0x119)];AutomationFramework[_0x298b7e(0x92)](_0x1d7e6c,PlaywrightDriverModule[_0x298b7e(0xc3)],_0x4c894d[_0x298b7e(0x12a)]),AutomationFramework[_0x298b7e(0x92)](_0x1d7e6c,PlaywrightDriverModule[_0x298b7e(0x109)],_0x3175a7);const _0x4800f7={};_0x4800f7[_0x298b7e(0x110)]=!![];const _0x34f313=Buffer[_0x298b7e(0x127)](JSON[_0x298b7e(0x122)](_0x4800f7)['toString'](_0x14dd33[_0x298b7e(0xdf)])),_0x2afac3=await GrpcClient[_0x298b7e(0x9a)]()[_0x298b7e(0xbc)]({'platformIndex':_0x3175a7,'ref':_0x1d7e6c[_0x298b7e(0xa0)](),'userInputParams':_0x34f313});helper[_0x298b7e(0x135)](helper[_0x298b7e(0xd0)]())&&AutomationFramework['setState'](_0x1d7e6c,PlaywrightDriverModule[_0x298b7e(0xe1)],JSON['parse'](Buffer[_0x298b7e(0x127)](_0x2afac3[_0x298b7e(0x10f)](),_0x14dd33['fDJAQ'])[_0x298b7e(0x9b)]()));}}catch(_0x417361){this[_0x298b7e(0xaa)][_0x298b7e(0xd1)](_0x298b7e(0xb0)+util[_0x298b7e(0x14b)](_0x417361));}}async[a84_0x2c193b(0x113)](_0x470c87){const _0x5d8266=a84_0x2c193b,_0xca82e8={'qNJMn':'Automation\x20onAfterTest:\x20Test\x20completed','dEfBy':'Automation\x20onAfterTest:\x20Automation\x20instance\x20is\x20not\x20available','augJB':function(_0x548565,_0x49e075){return _0x548565(_0x49e075);},'YJyOC':function(_0x469932,_0x5666d2){return _0x469932(_0x5666d2);},'zZFAD':function(_0x2d0930,_0x2a7b16,_0x38f8a0){return _0x2d0930(_0x2a7b16,_0x38f8a0);},'lxTXx':_0x5d8266(0xde),'KFiWm':_0x5d8266(0x106),'jdFDf':function(_0x57ddad,_0x579f32,_0x32b9e3){return _0x57ddad(_0x579f32,_0x32b9e3);},'lmftE':'error','Cjnjz':function(_0x217e0d,_0x37de8e,_0x207542){return _0x217e0d(_0x37de8e,_0x207542);},'lMeeL':_0x5d8266(0xb9),'sdbEA':function(_0x5602e1,_0x53ea79){return _0x5602e1>_0x53ea79;},'dMeKb':function(_0x586f53,_0x302ab7){return _0x586f53||_0x302ab7;},'qgOUk':function(_0x3fa901,_0x136320){return _0x3fa901||_0x136320;},'tLBJw':function(_0x67ef20,_0x940e37){return _0x67ef20===_0x940e37;},'uKFHW':function(_0xb95e80,_0x3de6a6){return _0xb95e80+_0x3de6a6;},'uShpG':_0x5d8266(0xcd),'VyDSY':function(_0x3d7ecc,_0x34cc01){return _0x3d7ecc+_0x34cc01;},'CDyaq':_0x5d8266(0xd5),'WaWyX':'Playwright','XBMyC':'1.51.0','WKguS':_0x5d8266(0x12d),'teDPX':function(_0x7c2ddf,_0x5774ce){return _0x7c2ddf===_0x5774ce;},'CENKA':function(_0x74375c,_0x56bb13){return _0x74375c===_0x56bb13;},'ncPpu':_0x5d8266(0x136)};this[_0x5d8266(0xaa)][_0x5d8266(0x155)](_0xca82e8[_0x5d8266(0xaf)]);const _0x399eed=_0x470c87[_0x5d8266(0xbb)];if(!_0x399eed){this['logger'][_0x5d8266(0x155)](_0xca82e8[_0x5d8266(0xf5)]);return;}const _0x22251b=_0x470c87[_0x5d8266(0xc9)],_0xb86377=this[_0x5d8266(0x14e)](_0x470c87),_0x21c8cf=_0x22251b[_0x5d8266(0xef)];let _0x5063a8;const _0x2dd23f=_0xca82e8[_0x5d8266(0x93)](getPlaywrightStatus,_0x21c8cf);let _0x213d9c,_0x46820a=null;if(_0x22251b['pickle']||_0x22251b[_0x5d8266(0x152)])_0x213d9c=_0xca82e8[_0x5d8266(0xc1)](getCucumberSessionName,_0x22251b),_0x5063a8=_0xca82e8[_0x5d8266(0xf8)](nestedKeyValue,_0x22251b,[_0xca82e8['lxTXx'],_0xca82e8[_0x5d8266(0xd3)]]);else{_0x213d9c=_0xca82e8[_0x5d8266(0xc1)](getPlaywrightSessionName,_0x22251b),_0x5063a8=_0xca82e8[_0x5d8266(0xc6)](nestedKeyValue,_0x22251b,[_0xca82e8['lmftE'],_0xca82e8[_0x5d8266(0xd3)]]);const _0x4a51d8=_0xca82e8[_0x5d8266(0x145)](nestedKeyValue,_0x22251b,[_0xca82e8[_0x5d8266(0xe0)]]);_0x4a51d8&&_0xca82e8[_0x5d8266(0x14d)](_0x4a51d8[_0x5d8266(0x9c)],0x0)&&(_0x46820a=_0x4a51d8[0x0][_0x5d8266(0x106)]),_0x5063a8=_0xca82e8[_0x5d8266(0x9d)](_0x5063a8,_0x46820a),this['logger'][_0x5d8266(0x155)](_0x5d8266(0x143)+_0x2dd23f+_0x5d8266(0x112)+_0x5063a8);}const _0x4eb945=_0xca82e8[_0x5d8266(0xc8)](_0x5063a8,_0x46820a);this[_0x5d8266(0xaa)]['debug'](_0x5d8266(0x143)+_0x2dd23f);let _0x5e9964,_0x41dbbc;if(this[_0x5d8266(0xf2)]&&_0xca82e8[_0x5d8266(0xb8)](this[_0x5d8266(0xf2)][_0x5d8266(0x94)],FRAMEWORKS[_0x5d8266(0x11e)]))_0x5e9964=_0xb86377,_0x41dbbc=TestInfo[_0x5d8266(0x104)](_0x5e9964);else this[_0x5d8266(0xf2)]&&_0xca82e8['tLBJw'](this[_0x5d8266(0xf2)][_0x5d8266(0x94)],FRAMEWORKS['JEST'])?(_0x5e9964=this[_0x5d8266(0xdd)]['recreateIdentifierFromTestInfo'](_0x22251b),this[_0x5d8266(0xaa)]['debug'](_0x5d8266(0xec)+_0x5e9964)):(_0x5e9964=TestInfo[_0x5d8266(0xcc)](_0x22251b,_0x22251b['retry']),_0x41dbbc=TestInfo[_0x5d8266(0x104)](_0x5e9964));const _0x1e1d30=TestInfo['getTestDetails'](_0x5e9964);this['logger'][_0x5d8266(0x14a)](_0xca82e8[_0x5d8266(0x13a)](_0xca82e8[_0x5d8266(0xae)],_0xb86377)),this[_0x5d8266(0xaa)]['info'](_0xca82e8[_0x5d8266(0x11a)](_0xca82e8[_0x5d8266(0xca)],util[_0x5d8266(0x12c)](_0x1e1d30)));const _0x18d200=AutomationFramework['getState'](_0x399eed,PlaywrightDriverModule[_0x5d8266(0x109)]),_0x258952=_0x1e1d30?.[TestFrameworkConstants[_0x5d8266(0xac)]]||this[_0x5d8266(0xf2)]&&this[_0x5d8266(0xf2)]['name'],_0x3d01ea=_0x1e1d30?.[TestFrameworkConstants[_0x5d8266(0x153)]]||this['testFrameworkData']&&this['testFrameworkData'][_0x5d8266(0xdc)],_0x16c2e9=TestFrameworkState[_0x5d8266(0x108)]['toString']()[_0x5d8266(0xd7)]('.')[0x1],_0x48bf6f=HookState['POST'][_0x5d8266(0x9b)]()[_0x5d8266(0xd7)]('.')[0x1],_0x40dad7=_0x399eed[_0x5d8266(0xd4)](),_0x430cf0=AutomationFramework[_0x5d8266(0xf3)](_0x399eed,PlaywrightDriverModule['KEY_HUB_URL'],''),_0x133a4e={'provider':_0xca82e8['YJyOC'](getPlaywrightProvider,_0x430cf0),'frameworkName':_0xca82e8[_0x5d8266(0xc2)],'frameworkVersion':_0xca82e8[_0x5d8266(0xe6)],'frameworkSessionId':LoadTestModule['isLTSSession']()?LoadTestModule[_0x5d8266(0x151)]():AutomationFramework[_0x5d8266(0xf3)](_0x399eed,PlaywrightDriverModule[_0x5d8266(0x121)],''),'ref':_0x399eed[_0x5d8266(0xa0)](),'hubUrl':_0x430cf0};let _0x3baf87=AutomationFramework[_0x5d8266(0xf3)](_0x399eed,PlaywrightDriverModule[_0x5d8266(0xe1)],{});_0x3baf87&&_0xca82e8[_0x5d8266(0x14d)](Object[_0x5d8266(0x114)](_0x3baf87)['length'],0x0)?_0x3baf87=Buffer[_0x5d8266(0x127)](JSON['stringify'](_0x3baf87))[_0x5d8266(0x9b)](_0xca82e8['WKguS']):_0x3baf87=Buffer['from'](JSON[_0x5d8266(0x122)]({}))[_0x5d8266(0x9b)](_0xca82e8['WKguS']);const _0x15ecd5={'hash':_0x40dad7['getId'](),'threadId':_0x40dad7['getThreadId']()[_0x5d8266(0x9b)](),'processId':_0x40dad7[_0x5d8266(0xab)]()[_0x5d8266(0x9b)]()},_0x16ffd0={};_0x16ffd0[_0x5d8266(0x10d)]=_0x5e9964;const _0x1dfcd8={};_0x1dfcd8[_0x5d8266(0x99)]=_0x41dbbc;const _0x19385d={'platformIndex':_0x18d200,'testFrameworkName':_0x258952,'testFrameworkVersion':_0x3d01ea,'testFrameworkState':_0x16c2e9,'testHookState':_0x48bf6f,...this[_0x5d8266(0xf2)]&&_0xca82e8['teDPX'](this[_0x5d8266(0xf2)]['name'],FRAMEWORKS[_0x5d8266(0xeb)])?_0x16ffd0:_0x1dfcd8,'automationSession':_0x133a4e,'capabilities':_0x3baf87,'executionContext':_0x15ecd5};this[_0x5d8266(0xaa)][_0x5d8266(0x155)](_0x5d8266(0xa2)+util[_0x5d8266(0x14b)](_0x19385d)),GrpcClient['getInstance']()[_0x5d8266(0xe2)](_0x19385d),this[_0x5d8266(0xaa)]['debug'](_0x5d8266(0xa4)+_0xb86377+(this[_0x5d8266(0xf2)]&&_0xca82e8['CENKA'](this[_0x5d8266(0xf2)]['name'],FRAMEWORKS[_0x5d8266(0xeb)])?_0x5d8266(0xd6)+_0x5e9964:''));if(!_0x2dd23f){this[_0x5d8266(0xaa)][_0x5d8266(0x155)](_0xca82e8[_0x5d8266(0x137)],_0x21c8cf[_0x5d8266(0xef)]);return;}this[_0x5d8266(0xaa)]['debug'](_0x5d8266(0x142)+_0xb86377),_0x22251b&&(this['logger'][_0x5d8266(0x155)](_0x5d8266(0xfc)+_0x213d9c),await this[_0x5d8266(0xa8)](_0x22251b)),await this['markSessionStatus'](_0x399eed,_0x213d9c,_0x2dd23f,_0x4eb945);}async[a84_0x2c193b(0x138)](_0x24cbbc,_0x73fa01,_0x44f350,_0x363c74){const _0x59acf6=a84_0x2c193b,_0x2ce152={'YVoJO':'markSessionStatus:\x20Skipping\x20session\x20status\x20marking','NTgNh':_0x59acf6(0x105),'qprWU':_0x59acf6(0xda),'BxMhh':_0x59acf6(0x136),'bUhaD':_0x59acf6(0xb3),'qymFw':_0x59acf6(0xbe),'jGkOQ':_0x59acf6(0xa7),'yVraI':function(_0x52296f,_0x1b6ed1){return _0x52296f===_0x1b6ed1;},'gZamG':'passed','UkLxb':_0x59acf6(0x14a),'akJhZ':'error','PsEPm':function(_0x2febe0,_0x3f899f,_0x3666d5,_0x1632cb){return _0x2febe0(_0x3f899f,_0x3666d5,_0x1632cb);},'IXMwy':'markSessionStatus:\x20Marking\x20session\x20status','PaZdq':function(_0x5928a6,_0x27aa3c,_0x54041a){return _0x5928a6(_0x27aa3c,_0x54041a);}};if(CLIUtils[_0x59acf6(0x117)](BrowserstackCLI[_0x59acf6(0x9a)]()['getConfig']())){this[_0x59acf6(0xaa)][_0x59acf6(0x155)](_0x2ce152[_0x59acf6(0x111)]);return;}const _0x5811df=_0x24cbbc;if(!_0x5811df){this[_0x59acf6(0xaa)][_0x59acf6(0x155)](_0x2ce152[_0x59acf6(0x115)]);return;}const _0x29b6eb=AutomationFramework[_0x59acf6(0xf3)](_0x5811df,PlaywrightDriverModule[_0x59acf6(0xbd)]);if(!_0x29b6eb){this['logger'][_0x59acf6(0x155)](_0x2ce152[_0x59acf6(0xbf)]);return;}const _0x2ecf27=_0x44f350;if(!_0x2ecf27){this[_0x59acf6(0xaa)][_0x59acf6(0x155)](_0x2ce152[_0x59acf6(0x116)],_0x2ecf27);return;}const _0x4b006a={};_0x4b006a[_0x59acf6(0xef)]=_0x2ecf27;const _0x710174={};_0x710174[_0x59acf6(0x11b)]=_0x2ce152[_0x59acf6(0xb2)],_0x710174[_0x59acf6(0xe4)]=_0x4b006a;const _0x4e6471=_0x710174;_0x363c74&&(_0x4e6471[_0x59acf6(0xe4)][_0x2ce152[_0x59acf6(0x150)]]=_0x363c74);const _0x5e9c7d=(_0x73fa01?_0x73fa01:_0x2ce152[_0x59acf6(0xc7)])+'\x20'+_0x2ecf27+'\x20'+(_0x363c74?_0x59acf6(0x97)+_0x363c74:''),_0xc7c1c8=_0x2ce152[_0x59acf6(0x146)](_0x2ecf27,_0x2ce152[_0x59acf6(0x8e)])?_0x2ce152[_0x59acf6(0x91)]:_0x2ce152['akJhZ'];await _0x2ce152[_0x59acf6(0x8d)](playwrightAnnotate,_0x29b6eb,_0x5e9c7d,_0xc7c1c8),_0x363c74&&(_0x4e6471[_0x59acf6(0xe4)][_0x2ce152[_0x59acf6(0x150)]]=_0x363c74),PerformanceTester[_0x59acf6(0xff)](PerformanceEvents[_0x59acf6(0x107)]),this['logger'][_0x59acf6(0x155)](_0x2ce152[_0x59acf6(0x118)]),await _0x2ce152[_0x59acf6(0xe9)](playwrightBstackJsExecutor,_0x29b6eb,_0x4e6471),PerformanceTester[_0x59acf6(0xb1)](PerformanceEvents['SESSION_STATUS']);}async[a84_0x2c193b(0xa8)](_0xd9a617){const _0x1acf64=a84_0x2c193b,_0x582aa1={'UAwQk':_0x1acf64(0x130),'iXolH':function(_0x420ae8,_0x5b0931){return _0x420ae8(_0x5b0931);},'gRjAZ':function(_0x204b7a,_0x5b8970){return _0x204b7a(_0x5b8970);},'HPQaQ':_0x1acf64(0x10e),'wdsXH':function(_0x1351f5,_0x286b80,_0x5aac8d){return _0x1351f5(_0x286b80,_0x5aac8d);}};try{if(CLIUtils[_0x1acf64(0x12f)](BrowserstackCLI['getInstance']()[_0x1acf64(0xa5)]())){this[_0x1acf64(0xaa)][_0x1acf64(0x155)](_0x582aa1[_0x1acf64(0x129)]);return;}const _0x317b33=AutomationFramework[_0x1acf64(0xf3)](AutomationFramework[_0x1acf64(0xdb)](),PlaywrightDriverModule[_0x1acf64(0xbd)]);let _0x35ee67;_0xd9a617[_0x1acf64(0xfd)]||_0xd9a617['gherkinDocument']?_0x35ee67=_0x582aa1[_0x1acf64(0xa3)](getCucumberSessionName,_0xd9a617):_0x35ee67=_0x582aa1[_0x1acf64(0x120)](getPlaywrightSessionName,_0xd9a617);const _0x3e45df={};_0x3e45df[_0x1acf64(0x94)]=_0x35ee67;const _0x43cff5={};_0x43cff5['action']=_0x582aa1[_0x1acf64(0xfb)],_0x43cff5[_0x1acf64(0xe4)]=_0x3e45df;const _0x29fdba=_0x43cff5;PerformanceTester[_0x1acf64(0xff)](PerformanceEvents[_0x1acf64(0x128)]),await _0x582aa1[_0x1acf64(0x12b)](playwrightBstackJsExecutor,_0x317b33,_0x29fdba),PerformanceTester['end'](PerformanceEvents[_0x1acf64(0x128)]);}catch(_0x228f1b){PerformanceTester[_0x1acf64(0xb1)](PerformanceEvents[_0x1acf64(0x128)],![],util[_0x1acf64(0x14b)](_0x228f1b)),this[_0x1acf64(0xaa)][_0x1acf64(0xd1)](_0x1acf64(0x125)+util[_0x1acf64(0x14b)](_0x228f1b));}}}function a84_0x5204(){const _0x2f6e9b=['getTrackedInstance','version','jestUtils','result','fDJAQ','lMeeL','KEY_CAPABILITIES','testSessionEvent','contextObject','arguments','wAEiA','XBMyC','EXECUTE','671820toPqII','PaZdq','../framework/automationFramework.js','JEST','Automation\x20onAfterTest:\x20Recreated\x20Jest\x20testIdentifier:\x20','2ffmhJO','onAfterDriverCreate:\x20Setting\x20page\x20object','status','testId','exports','testFrameworkData','getState','KEY_TEST_ID','dEfBy','10|11|5|3|2|9|0|4|8|1|6|7','Error\x20in\x20onDispatchExecute:\x20','zZFAD','VtbbT','POST','HPQaQ','Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20to:\x20','pickle','KEY_PLATFORM_DETAILS','start','PLAYWRIGHT','../cliUtils.js','page','../../../helpers/helper.js','getTestUUID','markSessionStatus:\x20Automation\x20instance\x20is\x20not\x20available','message','SESSION_STATUS','TEST','KEY_PLATFORM_INDEX','35637888kyvOBl','../../../helpers/classLogger.js','100aJyDGs','test_identifier','setSessionName','getCapabilities','isPlaywright','YVoJO','\x20failure\x20reason:\x20','onAfterTest','keys','NTgNh','BxMhh','shouldSkipSessionStatus','IXMwy','parallelIndex','VyDSY','action','platformIndex','playwrightVersion','CUCUMBER','1046187IyVyqk','gRjAZ','KEY_SESSION_ID','stringify','platformDetails','getModuleName','Error\x20in\x20markSessionName:\x20','sVcvi','from','SESSION_NAME','UAwQk','browser','wdsXH','inspect','base64','workerInfo','shouldSkipSessionName','markSessionName:\x20Skipping\x20session\x20name\x20marking','testRunId','BNTHe','onBeforeDriverCreate','registerObserver','isFalse','Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','ncPpu','markSessionStatus','params','uKFHW','mNcoo','bsParams','onDispatchExecute:\x20Playwright\x20platform\x20platformIndex:\x20','./baseModule','PfOsD','../state/hookState.js','bind','Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20and\x20status\x20for\x20testId:\x20','Automation\x20onAfterTest:\x20Test\x20status:\x20','AUTOMATE_EVENTS','Cjnjz','yVraI','onAfterDriverCreate:\x20Setting\x20context\x20object','../state/testFrameworkState','10693067RDomsU','info','format','bStackParams','sdbEA','getTestId','../TestInfo.js','qymFw','getLTSSessionId','gherkinDocument','KEY_TEST_FRAMEWORK_VERSION','../browserstackCLI.js','debug','8UFBAdH','XACrD','../../utils/constants','capabilities','MODULE_NAME','KEY_CONTEXT_OBJECT','PsEPm','gZamG','../utils/jest-utils.js','CREATE','UkLxb','setState','augJB','name','../../../helpers/helper','../../../helpers/performance/performance-tester.js','with\x20','PlaywrightDriverModule','testUuid','getInstance','toString','length','dMeKb','pageObject','onAfterDriverCreate:\x20Setting\x20Session\x20Name\x20from\x20testInfo','getRef','KEY_HUB_URL','onAfterTest\x20CBTSession\x20payload:\x20','iXolH','onAfterTest\x20CBTSession\x20complete\x20for\x20testId:\x20','getConfig','sessionId','Session','markSessionName','../grpcClient.js','logger','getProcessId','KEY_TEST_FRAMEWORK_NAME','3102558LqINzz','uShpG','qNJMn','Error\x20in\x20onAfterDriverCreate:\x20','end','bUhaD','setSessionStatus','9kLUiwt','onPlaywrightDispatch','onAfterDriverCreate','onBeforeDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','tLBJw','errors','hubUrl','instance','driverInit','KEY_PAGE_OBJECT','reason','qprWU','DbwMk','YJyOC','WaWyX','KEY_BROWSER_OBJECT','277392hEdrVy','../../../helpers/performance/constants.js','jdFDf','jGkOQ','qgOUk','testInfo','CDyaq','onAfterDriverCreate:\x20Setting\x20browser\x20object','getTestIdentifierFromTestInfo','testId:\x20','__workerDetails','800962jEhgjO','isBrowserstackInfra','error','context','KFiWm','getContext','testData\x20from\x20onAfterTest:\x20',',\x20test_identifier:\x20','split','Error\x20in\x20onBeforeDriverCreate:\x20','browserObject','markSessionStatus:\x20Page\x20object\x20is\x20not\x20available'];a84_0x5204=function(){return _0x2f6e9b;};return a84_0x5204();}PlaywrightDriverModule[a84_0x2c193b(0x15a)]=a84_0x2c193b(0x98),module[a84_0x2c193b(0xf1)]=PlaywrightDriverModule;
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;