browserstack-node-sdk 1.49.6 → 1.49.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (186) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/nightwatch/command.js +1 -1
  79. package/src/bin/playwright/accessibility-helper.js +1 -1
  80. package/src/bin/playwright/command.js +1 -1
  81. package/src/bin/playwright/globalSetup.js +1 -1
  82. package/src/bin/playwright/mock-process.js +1 -1
  83. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  84. package/src/bin/playwright/patches.js +1 -1
  85. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  86. package/src/bin/playwright/reporter/reporter.js +1 -1
  87. package/src/bin/playwright/reporter/test-details.js +1 -1
  88. package/src/bin/playwright/sessionDetails.js +1 -1
  89. package/src/bin/runner.js +1 -1
  90. package/src/bin/setup.js +1 -1
  91. package/src/bin/test-runner/index.js +1 -1
  92. package/src/bin/test-runner/runTest.js +1 -1
  93. package/src/bin/test-runner/testWorker.js +1 -1
  94. package/src/bin/utils/apiUtilityMethods.js +1 -1
  95. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  96. package/src/bin/utils/constants.js +1 -1
  97. package/src/bin/utils/log4jsAppender.js +1 -1
  98. package/src/bin/utils/logPatcher.js +1 -1
  99. package/src/bin/utils/logReportingAPI.js +1 -1
  100. package/src/bin/utils/playwright-patcher.js +1 -1
  101. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  102. package/src/bin/utils/sharedUtils.js +1 -1
  103. package/src/bin/v2/TestInfo.js +1 -1
  104. package/src/bin/v2/browserstackCLI.js +1 -1
  105. package/src/bin/v2/cliUtils.js +1 -1
  106. package/src/bin/v2/customTagManager.js +1 -1
  107. package/src/bin/v2/eventDispatcher.js +1 -1
  108. package/src/bin/v2/framework/automationFramework.js +1 -1
  109. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  110. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  111. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  112. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  113. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  114. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  115. package/src/bin/v2/framework/testFramework.js +1 -1
  116. package/src/bin/v2/grpcClient.js +1 -1
  117. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  118. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  119. package/src/bin/v2/instances/trackedContext.js +1 -1
  120. package/src/bin/v2/instances/trackedInstance.js +1 -1
  121. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  122. package/src/bin/v2/modules/baseModule.js +1 -1
  123. package/src/bin/v2/modules/loadTestModule.js +1 -1
  124. package/src/bin/v2/modules/observabilityModule.js +1 -1
  125. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  126. package/src/bin/v2/modules/testhubModule.js +1 -1
  127. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  128. package/src/bin/v2/state/hookState.js +1 -1
  129. package/src/bin/v2/state/testFrameworkState.js +1 -1
  130. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  131. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  132. package/src/bin/v2/utils/jest-utils.js +1 -1
  133. package/src/bin/vanilla-js/command.js +1 -1
  134. package/src/browserStackSdk.js +1 -1
  135. package/src/helpers/BrowserStackSetup.js +1 -1
  136. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  137. package/src/helpers/accessibility-automation/constants.js +1 -1
  138. package/src/helpers/accessibility-automation/helper.js +1 -1
  139. package/src/helpers/accessibility-automation/scripts.js +1 -1
  140. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  141. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  142. package/src/helpers/ats/constants.js +1 -1
  143. package/src/helpers/ats/helper.js +1 -1
  144. package/src/helpers/capsMapping.js +1 -1
  145. package/src/helpers/central-scanner/constants.js +1 -1
  146. package/src/helpers/central-scanner/helpers.js +1 -1
  147. package/src/helpers/classLogger.js +1 -1
  148. package/src/helpers/globals.js +1 -1
  149. package/src/helpers/helper.js +1 -1
  150. package/src/helpers/logger.js +1 -1
  151. package/src/helpers/metadata.js +1 -1
  152. package/src/helpers/patchHelper.js +1 -1
  153. package/src/helpers/patchHelpers.js +1 -1
  154. package/src/helpers/percy/Percy.js +1 -1
  155. package/src/helpers/percy/PercyBinary.js +1 -1
  156. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  157. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  158. package/src/helpers/percy/PercySDK.js +1 -1
  159. package/src/helpers/percy/index.js +1 -1
  160. package/src/helpers/percy/utils.js +1 -1
  161. package/src/helpers/performance/constants.js +1 -1
  162. package/src/helpers/performance/performance-tester.js +1 -1
  163. package/src/helpers/playwright-helper.js +1 -1
  164. package/src/helpers/processHelper.js +1 -1
  165. package/src/helpers/request-spy.js +1 -1
  166. package/src/helpers/setKeepAlive.js +1 -1
  167. package/src/helpers/test-observability/constants.js +1 -1
  168. package/src/helpers/test-observability/error-handler.js +1 -1
  169. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  170. package/src/helpers/test-observability/sessionHandler.js +1 -1
  171. package/src/helpers/test-observability/utils.js +1 -1
  172. package/src/helpers/test-orchestration/constants.js +1 -1
  173. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  174. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  175. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  176. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  177. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  178. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  179. package/src/helpers/testhub/constants.js +1 -1
  180. package/src/helpers/testhub/testhubHandler.js +1 -1
  181. package/src/helpers/testhub/utils.js +1 -1
  182. package/src/helpers/timeoutPromise.js +1 -1
  183. package/src/helpers/utilities.js +1 -1
  184. package/src/helpers/w3cMapping.js +1 -1
  185. package/src/hubAllocationMethods.js +1 -1
  186. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a80_0x2fda79=a80_0x5ee8;function a80_0x5ee8(_0x3f1556,_0x3e0a06){const _0x1d55f1=a80_0x1d55();return a80_0x5ee8=function(_0x5ee806,_0x7a8c8d){_0x5ee806=_0x5ee806-0x114;let _0x12cef4=_0x1d55f1[_0x5ee806];return _0x12cef4;},a80_0x5ee8(_0x3f1556,_0x3e0a06);}(function(_0x5b912c,_0x28649e){const _0x326e33=a80_0x5ee8,_0x473ddd=_0x5b912c();while(!![]){try{const _0x325475=-parseInt(_0x326e33(0x257))/0x1*(-parseInt(_0x326e33(0x275))/0x2)+-parseInt(_0x326e33(0x1e8))/0x3+parseInt(_0x326e33(0x2cd))/0x4+-parseInt(_0x326e33(0x168))/0x5+-parseInt(_0x326e33(0x16c))/0x6+-parseInt(_0x326e33(0x2a6))/0x7+parseInt(_0x326e33(0x1d1))/0x8;if(_0x325475===_0x28649e)break;else _0x473ddd['push'](_0x473ddd['shift']());}catch(_0x34b5f9){_0x473ddd['push'](_0x473ddd['shift']());}}}(a80_0x1d55,0x4ae9f));const BaseModule=require('./baseModule'),{createClassLogger}=require('../../../helpers/classLogger'),CLIUtils=require('../cliUtils'),AutomationFramework=require('../framework/automationFramework'),TestFramework=require(a80_0x2fda79(0x284)),AutomationFrameworkState=require(a80_0x2fda79(0x115)),HookState=require(a80_0x2fda79(0x26e)),GrpcClient=require(a80_0x2fda79(0x28d)),scripts=require(a80_0x2fda79(0x19a)),logger=createClassLogger('TrackedInstance'),PerformanceTester=require(a80_0x2fda79(0x200)),{EVENTS,A11Y_EVENTS:PerformanceA11yEvents}=require(a80_0x2fda79(0x131)),{MINIMUM_BROWSER_VERSION_ACCESSIBILITY,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require('../../../helpers/accessibility-automation/constants'),{nestedKeyValue,isUndefined}=require(a80_0x2fda79(0x25a)),util=require(a80_0x2fda79(0x293)),TestInfo=require(a80_0x2fda79(0x212)),TestFrameworkConstants=require(a80_0x2fda79(0x1e7));function a80_0x1d55(){const _0x1dbd94=['WdNmO','RZtLQ',',\x20isAppAccessibility=','228544uFanNt','shouldScanCurrentTest','cLlfa','../../../helpers/helper','getCapabilitiesList','\x20script\x20available','ASgcu','Ckpzh','some','onBeforeExecute','isArray','gjXkQ','accessibility','saveResults','onBeforeExecute:\x20Command\x20','onBeforeTest:\x20Page\x20object\x20available,\x20proceeding\x20with\x20accessibility\x20validation','../../utils/playwright-patcher','zaArn','performScanForCli:\x20No\x20','afterTestHook','present','FqIpn','unknown','../state/hookState','PRE','ObeUx','Ixbqx','bkeSN','browserVersion','KEY_TESTHUB_BUILD_ID','4lmslIP','IphBq','Error\x20in\x20shouldScanForCommand:\x20','LzVqB','vwIhX','dmkkd','kdlYZ','yRHZO','onBeforeExecute:\x20Accessibility\x20not\x20enabled\x20for\x20current\x20test,\x20skipping\x20scan\x20for\x20','ZxUXu','zfZHH','beMAS','VfTvS','Performing\x20scan\x20before\x20from\x20cli','getSuccess','../framework/testFramework','OMRLX','\x20a11yToken=','BCZFK','DyoRe','14|13|12|15|10|9|6|5|1|7|0|3|2|4|8|11','AdKcj',',\x20testName=','RRlLD','../grpcClient','a11y:save-results','Error\x20in\x20performPageScan:\x20','setAccessibilityToken','\x20from\x20testIdentifier=','getCurrentInstanceName','util','UXGFN','testFrameworkData','isPlatformSupported','setShouldScan','isAccessibilityScriptCommand','[AccessibilityModule]\x20stopTestCapture:\x20Saving\x20results,\x20thTestRunUuid=','Skipping\x20saving\x20results\x20from\x20cli,\x20saveResults\x20script\x20is\x20missing',']\x20isEnabledTestcase\x20(cucumber)\x20result=','qcGiA','TNEzq','eNhGG',',\x20\x0a\x20','setLogDisabledShown','Applied\x20sendMessageToServer\x20patch\x20for\x20accessibility\x20command\x20interception','KEY_DRIVER_HAS_URL','No\x20summaryResults\x20found.','scannerProcessingTimeout','Scan\x20result:\x20','100961LQoSDv','performPageScan:\x20Page\x20is\x20null','ItqRP','Hircx','xvZMo','launchCaps','performScanForCli','getScript','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','YxPqg','debug','getScriptByName','capabilities','vOoMz','Error\x20in\x20performScanForCli\x20for\x20script\x20','SAVE_RESULTS','QUIT','YCVIy','toJson','LsfqD','map','RKrwP','fetchCentralAuthA11yConfig:\x20No\x20bin\x20session\x20ID\x20available','Performing\x20scan\x20before\x20getting\x20results\x20summary',',\x20excludeTags=','mtgJL','getContext','Error\x20in\x20validatePlatformForAccessibility:\x20','chrome','VkpzE','KSTlL','getData','getPlatformIndex','JaTWc',',\x20tags=','getInstance',',\x20includeTags=','executeScriptByName','goog:chromeOptions','427068ncTKiU','__workerDetails','parse','DRCmY','page','size','_centralAuthConfigFetched',']\x20Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error:\x20','USUgq','cFDTG','stopTestCapture:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20result\x20save','\x20accessibility\x20script\x20on\x20page','CREATE','aSFGN',',\x20available\x20commands:\x20','getResultsSummary','ALWDv','lHcPy','../state/automationFrameworkState','cPCCH','ZdoZr','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20results.','replace','getName','qbjlX','PPyEf','getLogDisabledShown',']\x20Accessibility\x20configuration\x20initialized\x20successfully','hcgne','jCRdY','ITZSn','platformValidation','QrcKV','VQIoS','getBuildId','onBeforeTest','LIRCb','JPwOn','sbsnZ','fUIRj','pwPage','patchSendMessageToServer\x20function\x20not\x20available\x20from\x20playwright-patcher','vKfZd','MODULE_NAME','eNwil','getAccessibilityResultsSummary:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20cannot\x20retrieve\x20summary.','../../../helpers/performance/constants.js','lgtyX','accessibilityPlatform','XqTXa','has','onBeforeExecute:\x20No\x20command\x20name\x20provided','jatwo','Context','NCoPj','Error\x20in\x20onBeforeExecute\x20accessibility\x20module:\x20','toISOString','getAccessibilityResults','GIvLO','join','[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20summaryArgs=','Error\x20in\x20processAccessibilityCaps:\x20','registerObserver','titlePath','end','[AccessibilityModule]\x20onBeforeTest:\x20platformSupported=','Executing\x20accessibility\x20script\x20on\x20page','SDK_ACCESSIBILITY_CONFIG','true','loadDriverExecuteParams','jQCRc','getTrackedInstance','\x20is\x20not\x20in\x20the\x20list\x20of\x20commands\x20to\x20be\x20scanned','KEY_TEST_NAME','BROWSERSTACK_TESTHUB_JWT','onAfterTest:\x20Skipping\x20accessibility\x20cleanup\x20-\x20not\x20a\x20supported\x20test\x20framework','getAccessibilityResultsSummary:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','BSZQR','testFramework','Error\x20in\x20onAfterTest\x20accessibility\x20module:\x20','initAccessibilityConfig','message','BiSXH','DVnzr','WgtgL','TvAnc','dlUjo','getTesthub','KgasA','error','testhub_build_uuid','testInfo','stack','ijpqs','isPlatformSupported:\x20Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','oiAIz','Error\x20in\x20initAccessibilityConfig:\x20','find','Error\x20getting\x20script\x20by\x20name\x20','accessibilityToken','pVYsv','2805075yjqtPY','jyfgI','Rcvtn','getTestId','833208KrlXBE','Error\x20in\x20getAccessibilityResults:\x20','rHOjj','hPUml','toString','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','instance','fetchDriverExecuteParamsEvent','BROWSERSTACK_TEST_ACCESSIBILITY_YML','getAllData','isEnabledTestcase','getTestUUID','ascii','NON_BROWSERSTACK_AUTOMATION_SESSIONS','rBiwz','browser','browserStackEvaluate','browserstack.accessibilityOptions.wcagVersion','gPvtV',']\x20isEnabledTestcase\x20(jest)\x20result=','onAfterTest','setAccessibilityConfig','getAccessibility','onBeforeExecute:\x20Accessibility\x20scan\x20completed\x20for\x20command:\x20','info','browserstack_executor','BS_A11Y_JWT','applySendMessageToServerPatch','XkdFR','\x22browserstack.user\x22:\x22[REDACTED]\x22','PTGoM','trim','commandsToWrap','name','getCurrentAccessibilityStatus','BROWSERSTACK_CLI_BIN_SESSION_ID','stopTestCapture:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','getOptions','onBeforeExecute:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','currentTest','yZzpV','getTestFrameworkDetail','Error\x20checking\x20headless\x20capability:\x20','getCapabilityValue','Accessibility\x20data\x20for\x20extension:\x20','test_tags','../../../helpers/accessibility-automation/scripts','[AccessibilityModule]\x20onAfterTest:\x20framework=','oOecn','_centralAuthA11yConfig','playwright-chromium','kGUVf','../../../helpers/accessibility-automation/helper','TzrGT','rZtuc','fetchCentralAuthA11yConfig:\x20Failed\x20to\x20fetch\x20driver\x20execute\x20params\x20for\x20','KEY_INIT','includes','yfnSD','performPageScan','getAccessibilityResultsSummary','ACCESSIBILITY_INITIALIZED','parseFromProto','PDkcQ','XlnFR','env','getValue','lnUIA','[AccessibilityModule]\x20onBeforeTest:\x20Jest\x20-\x20testIdentifier=','format','YnfdM','zLcVc','Page\x20','../cliUtils','Unable\x20to\x20mark\x20test\x20finish\x20for\x20accessibility\x20from\x20cli\x20-\x20','performScan','test_run_id','JRxju','sendMessageToServer\x20accessibility\x20patch\x20already\x20applied','IADfm','getParamsForScanForCli',']\x20onAfterTest\x20should\x20scan=','__accessibilityOptions','[platform\x20-\x20','evaluate',']\x20Failed\x20to\x20initialize\x20accessibility\x20configuration','processAccessibilityCaps','getGoogleChromeOptions','value','length','scan','getCommandsList','PERFORM_SCAN','IRJhY','xHHCv','urMMd','RPgFp','browserstack.accessibilityOptions.authToken','ipLBQ','[CLI]\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','OdVvt','4203536Slldjn','onBeforeExecute:\x20Skipping\x20accessibility\x20scan\x20-\x20not\x20a\x20supported\x20test\x20framework','set','OsGRs','onBeforeExecute:\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','browserName','oAVrT','_sendMessageServerPatchApplied','testAnalyticsId','name:\x20','tKuLT','xXBse','warn','tNVnz','PPqcS','isEnabled','command',',\x20framework=','excludeTagsInTestingScope','Error\x20getting\x20capability\x20value\x20for\x20','isPlatformSupported:\x20Not\x20an\x20accessibility\x20automation\x20session','scriptsList','../framework/constants/testFrameworkConstants.js','204432fCdLjb','qYsne','UxtcD','capabilitiesList','bgDSV','string','kfSZV','getTestDetails','ggQDs','performPageScan:\x20Script\x20is\x20null','ukYCl','getModuleName','WsqFR','getState',']\x20clear\x20','Error\x20in\x20getAccessibilityResultsSummary:\x20','DRIVER_INIT','YcTBf','measureWrapper','qGAII','eQALf','test-tags-->\x20','isBrowserstackScriptCommand','[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','../../../helpers/performance/performance-tester.js','\x20script\x20available\x20in\x20scriptsList','commandName','getScriptsList','__jestCurrentTestIdentifier','Error\x20executing\x20script\x20','Error\x20in\x20stopTestCapture:\x20','stopTestCapture','ecidE','GET_RESULTS_SUMMARY','eRsUN','updateData','bYATd','onBeforeExecute:\x20Page\x20object\x20not\x20available\x20for\x20command\x20','iBObs','jest','onBeforeExecute:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20scan','ZHheW','../TestInfo.js','delete','rxLzB','LOG_DISABLED_SHOWN','fQyhC','ymDnx','zPoKB','bind','DKpgQ','accessibilityConfig','get','getAccessibilityConfig','FZGYc','dhcfh','EDhyo','latest','function','Processed\x20accessibility\x20caps\x20','isAppAccessibility','Error\x20in\x20onBeforeTest\x20accessibility\x20module:\x20','\x20testHubUuid=','\x20using\x20script:\x20','huTyK','getResults','shouldScanForCommand:\x20','qUtKi','TEST_INIT','ScanArgs:\x20','includeTagsInTestingScope','WFTZo','../../playwright/accessibility-helper','stringify','[AccessibilityModule]\x20onBeforeExecute:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','thTestRunUuid','[AccessibilityModule]\x20stopTestCapture:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','VTita','shouldScanForCommand','assign','VNcZy','cucumber','mergeObject','oqpsL','scannerVersion','start','toLowerCase','isPlatformSupported:\x20caps\x20are\x20null','finishScanningForCli','mSHLU','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','options','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20summary.','hjZYI','JPvyf','zDviO','null','onBeforeTest:\x20Driver\x20not\x20initialized,\x20setting\x20DRIVER_INIT=true','taKJD','loadAccessibilityConfig','onBeforeTest:\x20event=','LOUmL','yRvdq','executeScriptByName:\x20Page\x20is\x20null\x20for\x20script\x20','fetchCentralAuthA11yConfig','patchSendMessageToServer','onBeforeTest:\x20Skipping\x20accessibility\x20check\x20-\x20not\x20a\x20supported\x20test\x20framework','aHVzt'];a80_0x1d55=function(){return _0x1dbd94;};return a80_0x1d55();}class AccessibilityModule extends BaseModule{static [a80_0x2fda79(0x12e)]=AccessibilityModule['name'];static [a80_0x2fda79(0x2d3)]=![];static ['_centralAuthA11yConfig']={};constructor(_0x23833c){const _0x4e8a88=a80_0x2fda79,_0x44aea4={};_0x44aea4[_0x4e8a88(0x149)]=_0x4e8a88(0x289),_0x44aea4[_0x4e8a88(0x287)]='[AccessibilityModule]\x20Constructor:\x20Registered\x20observers\x20-\x20EXECUTE\x20PRE,\x20CREATE\x20POST,\x20QUIT\x20PRE',_0x44aea4[_0x4e8a88(0x20c)]=_0x4e8a88(0x1a9),_0x44aea4[_0x4e8a88(0x1fb)]='DRIVER_HAS_URL',_0x44aea4[_0x4e8a88(0x2d5)]=_0x4e8a88(0x15d);const _0x3dbbb6=_0x44aea4,_0x3a6760=_0x3dbbb6[_0x4e8a88(0x149)]['split']('|');let _0x5905d2=0x0;while(!![]){switch(_0x3a6760[_0x5905d2++]){case'0':this[_0x4e8a88(0x1d8)]=![];continue;case'1':this[_0x4e8a88(0x224)]=![];continue;case'2':logger['debug'](_0x3dbbb6[_0x4e8a88(0x287)]);continue;case'3':this[_0x4e8a88(0x290)](_0x23833c['getOptions']()[_0x4e8a88(0x25b)]());continue;case'4':this[_0x4e8a88(0x1a4)]=_0x3dbbb6['bYATd'];continue;case'5':this[_0x4e8a88(0x215)]=new Map();continue;case'6':this['accessibility']=new Map();continue;case'7':this['capabilities']=[];continue;case'8':this[_0x4e8a88(0x2a2)]=_0x3dbbb6[_0x4e8a88(0x1fb)];continue;case'9':this['accessibilityConfig']=_0x23833c['toObject']();continue;case'10':this[_0x4e8a88(0x1e0)]=!![];continue;case'11':this[_0x4e8a88(0x274)]=_0x3dbbb6[_0x4e8a88(0x2d5)];continue;case'12':AutomationFramework[_0x4e8a88(0x141)](AutomationFrameworkState[_0x4e8a88(0x2d9)],HookState['POST'],this['onBeforeTest'][_0x4e8a88(0x219)](this));continue;case'13':AutomationFramework[_0x4e8a88(0x141)](AutomationFrameworkState['EXECUTE'],HookState[_0x4e8a88(0x26f)],this['onBeforeExecute'][_0x4e8a88(0x219)](this));continue;case'14':super();continue;case'15':AutomationFramework[_0x4e8a88(0x141)](AutomationFrameworkState[_0x4e8a88(0x2b6)],HookState[_0x4e8a88(0x26f)],this['onAfterTest']['bind'](this));continue;}break;}}[a80_0x2fda79(0x1e0)](){const _0x2b6024=a80_0x2fda79;return this[_0x2b6024(0x1e0)];}[a80_0x2fda79(0x1f3)](){const _0x4f97e8=a80_0x2fda79;return AccessibilityModule[_0x4f97e8(0x12e)];}[a80_0x2fda79(0x18e)](){const _0x52a646=a80_0x2fda79;return this['accessibility'][_0x52a646(0x21c)](CLIUtils[_0x52a646(0x292)](),![]);}[a80_0x2fda79(0x11d)](){const _0x48cd9d=a80_0x2fda79;return this['LOG_DISABLED_SHOWN'][_0x48cd9d(0x21c)](CLIUtils[_0x48cd9d(0x292)](),![]);}[a80_0x2fda79(0x2a0)](_0x3a2cd2){const _0x3ddc4e=a80_0x2fda79;this[_0x3ddc4e(0x215)][_0x3ddc4e(0x1d3)](CLIUtils[_0x3ddc4e(0x292)](),_0x3a2cd2);}['applySendMessageToServerPatch'](){const _0x4003c5=a80_0x2fda79,_0x32aa79={'mSHLU':_0x4003c5(0x1ba),'ffazs':function(_0xb60e3e,_0x2ea8b2){return _0xb60e3e(_0x2ea8b2);},'oHMvt':_0x4003c5(0x267),'oQezn':_0x4003c5(0x2a1),'yVDlq':_0x4003c5(0x12c)};if(this[_0x4003c5(0x1d8)]){logger['debug'](_0x32aa79[_0x4003c5(0x241)]);return;}try{const _0x4c5fa1=_0x32aa79['ffazs'](require,_0x32aa79['oHMvt']);_0x4c5fa1&&_0x4c5fa1[_0x4003c5(0x251)]?(_0x4c5fa1[_0x4003c5(0x251)](),this[_0x4003c5(0x1d8)]=!![],logger['debug'](_0x32aa79['oQezn'])):logger[_0x4003c5(0x2b0)](_0x32aa79['yVDlq']);}catch(_0x39dda9){logger[_0x4003c5(0x2b0)]('Error\x20applying\x20sendMessageToServer\x20patch:\x20'+util[_0x4003c5(0x1b1)](_0x39dda9));}}[a80_0x2fda79(0x296)](_0x61fa44=null,_0x28cfdb=null,_0x4e13b1=null){const _0x5d7670=a80_0x2fda79,_0x302964={'xvZMo':function(_0x460dbc,_0x143503){return _0x460dbc&&_0x143503;},'ofPrQ':_0x5d7670(0x23f),'eQALf':function(_0x1f5670,_0x893054){return _0x1f5670(_0x893054);},'StOqO':_0x5d7670(0x1a0),'Ixbqx':_0x5d7670(0x25a),'UXGFN':function(_0x2e140d){return _0x2e140d();},'EDhyo':_0x5d7670(0x1e5),'WdNmO':function(_0x48f0dd,_0x239e39){return _0x48f0dd===_0x239e39;},'pVYsv':_0x5d7670(0x2c2),'ZxUXu':function(_0x2defbe,_0x1e28e0){return _0x2defbe===_0x1e28e0;},'WsqFR':_0x5d7670(0x19e),'ecidE':_0x5d7670(0x2ae),'ZdoZr':function(_0x3d73b6,_0x356da9){return _0x3d73b6===_0x356da9;},'ipLBQ':_0x5d7670(0x147),'hPUml':'string','WQbjo':_0x5d7670(0x161),'eRsUN':function(_0xa9a1eb,_0x6a784c){return _0xa9a1eb>_0x6a784c;},'lgtyX':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100\x20on\x20non-bstack\x20infra.','yfnSD':function(_0x16e694,_0xedb57d){return _0x16e694!==_0xedb57d;},'YxPqg':_0x5d7670(0x221),'rBiwz':function(_0x45f756,_0x57573){return _0x45f756>_0x57573;},'hcgne':_0x5d7670(0x242)};try{if(_0x302964[_0x5d7670(0x2aa)](!_0x28cfdb,!_0x4e13b1))return logger[_0x5d7670(0x2b0)](_0x302964['ofPrQ']),![];const {isAccessibilityAutomationSession:_0x3d11aa}=_0x302964[_0x5d7670(0x1fc)](require,_0x302964['StOqO']),{isUndefined:_0x134e92,isBrowserstackInfra:_0x73d7b9}=_0x302964[_0x5d7670(0x1fc)](require,_0x302964[_0x5d7670(0x271)]);if(!_0x302964['UXGFN'](_0x3d11aa))return logger[_0x5d7670(0x2b0)](_0x302964[_0x5d7670(0x220)]),![];if(!(_0x28cfdb['browserName']&&_0x302964[_0x5d7670(0x254)](_0x28cfdb[_0x5d7670(0x1d6)][_0x5d7670(0x23e)](),_0x302964[_0x5d7670(0x167)])||_0x28cfdb[_0x5d7670(0x1d6)]&&_0x302964['ZxUXu'](_0x28cfdb[_0x5d7670(0x1d6)][_0x5d7670(0x23e)](),_0x302964[_0x5d7670(0x1f4)])||_0x28cfdb['browser']&&_0x302964[_0x5d7670(0x27e)](_0x28cfdb[_0x5d7670(0x17b)][_0x5d7670(0x23e)](),_0x302964['pVYsv'])||_0x28cfdb[_0x5d7670(0x17b)]&&_0x302964[_0x5d7670(0x254)](_0x28cfdb[_0x5d7670(0x17b)][_0x5d7670(0x23e)](),_0x302964[_0x5d7670(0x1f4)])))return logger['warn'](_0x302964[_0x5d7670(0x208)]),![];try{const _0xdac30a=_0x28cfdb['headless'],_0x539575=_0x302964[_0x5d7670(0x117)](_0xdac30a,!![])||_0x302964['ZdoZr'](_0xdac30a,_0x302964[_0x5d7670(0x1ce)])||_0x302964[_0x5d7670(0x27e)](typeof _0xdac30a,_0x302964[_0x5d7670(0x16f)])&&_0x302964['ZxUXu'](_0xdac30a[_0x5d7670(0x23e)](),_0x302964['ipLBQ']);if(_0x539575)return logger['warn'](_0x302964['WQbjo']),![];}catch(_0xfaee2c){logger[_0x5d7670(0x2b0)](_0x5d7670(0x196)+util['format'](_0xfaee2c));}if(!_0x302964[_0x5d7670(0x294)](_0x73d7b9)){if(!_0x302964[_0x5d7670(0x20a)](_0x302964[_0x5d7670(0x1fc)](parseFloat,_0x28cfdb[_0x5d7670(0x273)]),_0x302964[_0x5d7670(0x1fc)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY)))return logger['warn'](_0x302964[_0x5d7670(0x132)]),![];}else{if(_0x302964[_0x5d7670(0x1a6)](_0x28cfdb[_0x5d7670(0x273)],_0x302964[_0x5d7670(0x2af)])&&!_0x302964[_0x5d7670(0x17a)](_0x302964['eQALf'](parseFloat,_0x28cfdb[_0x5d7670(0x273)]),_0x302964[_0x5d7670(0x1fc)](parseFloat,MINIMUM_BROWSER_VERSION_ACCESSIBILITY)))return logger['warn'](_0x302964[_0x5d7670(0x11f)]),![];}return!![];}catch(_0x2ba4e3){return logger['debug']('Exception\x20in\x20isPlatformSupported:\x20'+_0x2ba4e3[_0x5d7670(0x154)]),![];}}[a80_0x2fda79(0x176)](_0x243c2c=[],_0x3d5cd5,_0x413d82='cucumber'){const _0x4856ba=a80_0x2fda79,_0x5d8b0c={'OsGRs':function(_0x58ff33,_0x46f17c){return _0x58ff33===_0x46f17c;},'ATuCy':_0x4856ba(0x20f),'ALWDv':function(_0x2dc45c,_0x4e65c7){return _0x2dc45c||_0x4e65c7;},'WFTZo':function(_0x308607,_0x37f921){return _0x308607===_0x37f921;},'dlUjo':function(_0x1046d7,_0x1cf7b7){return _0x1046d7&&_0x1cf7b7;},'DVnzr':_0x4856ba(0x26d),'ggQDs':function(_0x4302dc,_0x4517b8){return _0x4302dc(_0x4517b8);},'ASgcu':function(_0x7df7e1,_0x2670dd){return _0x7df7e1>_0x2670dd;},'kdlYZ':function(_0x3daf37,_0x54ce9c){return _0x3daf37&&_0x54ce9c;}};try{const _0x136d11=process['env'][_0x4856ba(0x171)]?JSON['parse'](process[_0x4856ba(0x1ad)][_0x4856ba(0x171)]):null;if(!_0x136d11)return!![];const _0x31c90f=Array[_0x4856ba(0x261)](_0x136d11[_0x4856ba(0x22e)])?_0x136d11[_0x4856ba(0x22e)]:[],_0x95c3fd=Array[_0x4856ba(0x261)](_0x136d11[_0x4856ba(0x1e3)])?_0x136d11[_0x4856ba(0x1e3)]:[];if(_0x5d8b0c[_0x4856ba(0x1d4)](_0x413d82,_0x5d8b0c['ATuCy'])){let _0x1403e8;Array['isArray'](_0x243c2c)?_0x1403e8=_0x243c2c[_0x4856ba(0x13e)]('\x20'):_0x1403e8=_0x5d8b0c[_0x4856ba(0x2dd)](_0x243c2c,'');const _0x4dbd89=_0x95c3fd[_0x4856ba(0x25f)](_0x2883ad=>_0x1403e8[_0x4856ba(0x1a5)](_0x2883ad)),_0x4cd500=_0x5d8b0c[_0x4856ba(0x22f)](_0x31c90f['length'],0x0)||_0x31c90f[_0x4856ba(0x25f)](_0x2115dc=>_0x1403e8[_0x4856ba(0x1a5)](_0x2115dc)),_0x380a3f=_0x5d8b0c[_0x4856ba(0x159)](!_0x4dbd89,_0x4cd500);return logger[_0x4856ba(0x2b0)]('[platform\x20-\x20'+(_0x3d5cd5?.[_0x4856ba(0x2c6)]?.()||_0x5d8b0c[_0x4856ba(0x156)])+_0x4856ba(0x17f)+_0x380a3f+_0x4856ba(0x28b)+_0x1403e8+_0x4856ba(0x2ca)+JSON[_0x4856ba(0x231)](_0x31c90f)+',\x20excludeTags='+JSON[_0x4856ba(0x231)](_0x95c3fd)),_0x380a3f;}const _0x2839f3=Array[_0x4856ba(0x261)](_0x243c2c)?_0x243c2c:[];let _0x5c18f7=![],_0x51c366=_0x5d8b0c[_0x4856ba(0x22f)](_0x31c90f[_0x4856ba(0x1c5)],0x0);const _0x1d80b6=_0x3c7d44=>typeof _0x3c7d44===_0x4856ba(0x1ed)?_0x3c7d44['replace'](/^@/,'')[_0x4856ba(0x23e)]()[_0x4856ba(0x18b)]():_0x3c7d44,_0x25033c=new Set(_0x31c90f[_0x4856ba(0x2ba)](_0x1d80b6)),_0x2c444f=new Set(_0x95c3fd[_0x4856ba(0x2ba)](_0x1d80b6));for(const _0x43c214 of _0x2839f3){const _0x54cd51=_0x5d8b0c[_0x4856ba(0x1f0)](_0x1d80b6,_0x43c214);_0x2c444f[_0x4856ba(0x135)](_0x54cd51)&&(_0x5c18f7=!![]),_0x5d8b0c[_0x4856ba(0x25d)](_0x25033c[_0x4856ba(0x2d2)],0x0)&&_0x25033c['has'](_0x54cd51)&&(_0x51c366=!![]);}const _0x456f5e=_0x5d8b0c[_0x4856ba(0x27b)](_0x51c366,!_0x5c18f7);return logger[_0x4856ba(0x2b0)](_0x4856ba(0x1bf)+(_0x3d5cd5?.[_0x4856ba(0x2c6)]?.()||_0x5d8b0c['DVnzr'])+_0x4856ba(0x29b)+_0x456f5e+_0x4856ba(0x2c8)+JSON[_0x4856ba(0x231)](_0x2839f3)+',\x20includeTags='+JSON['stringify'](_0x31c90f)+_0x4856ba(0x2be)+JSON['stringify'](_0x95c3fd)),_0x456f5e;}catch(_0x56bf67){return logger[_0x4856ba(0x2b0)](_0x4856ba(0x1bf)+(_0x3d5cd5?.['getPlatformIndex']?.()||_0x5d8b0c[_0x4856ba(0x156)])+_0x4856ba(0x2d4)+_0x56bf67[_0x4856ba(0x154)]),![];}}async[a80_0x2fda79(0x126)](_0x4cc9f0){const _0x1d493f=a80_0x2fda79,_0x11a674={};_0x11a674['DRCmY']=function(_0x205ff7,_0x127d48){return _0x205ff7!==_0x127d48;},_0x11a674['rxLzB']=_0x1d493f(0x239),_0x11a674[_0x1d493f(0x128)]=_0x1d493f(0x20f),_0x11a674[_0x1d493f(0x211)]=_0x1d493f(0x252),_0x11a674['LOUmL']=_0x1d493f(0x22c),_0x11a674[_0x1d493f(0x2b9)]='onBeforeTest:\x20Page\x20is\x20null,\x20accessibility\x20cannot\x20be\x20initialized',_0x11a674[_0x1d493f(0x1b2)]=_0x1d493f(0x266),_0x11a674[_0x1d493f(0x29d)]=_0x1d493f(0x1f8),_0x11a674[_0x1d493f(0x272)]=function(_0x3daedd,_0x2da6c6){return _0x3daedd===_0x2da6c6;},_0x11a674['tNVnz']=_0x1d493f(0x249),_0x11a674[_0x1d493f(0x2b3)]='Unknown\x20Test',_0x11a674[_0x1d493f(0x139)]=function(_0x4ef8e4,_0x1a501b){return _0x4ef8e4>_0x1a501b;},_0x11a674[_0x1d493f(0x162)]=function(_0x5b4f0f,_0x10fb2d){return _0x5b4f0f===_0x10fb2d;},_0x11a674[_0x1d493f(0x2c4)]=_0x1d493f(0x222),_0x11a674[_0x1d493f(0x288)]=_0x1d493f(0x199),_0x11a674[_0x1d493f(0x24a)]=function(_0x3d950e,_0x56d31c){return _0x3d950e&&_0x56d31c;},_0x11a674[_0x1d493f(0x17e)]=_0x1d493f(0x26d),_0x11a674[_0x1d493f(0x1dc)]=_0x1d493f(0x147);const _0x401f1e=_0x11a674;if(_0x401f1e[_0x1d493f(0x2d0)](_0x4cc9f0[_0x1d493f(0x151)],_0x401f1e[_0x1d493f(0x214)])&&_0x401f1e['DRCmY'](_0x4cc9f0[_0x1d493f(0x151)],_0x401f1e[_0x1d493f(0x128)])){logger[_0x1d493f(0x2b0)](_0x401f1e['ZHheW']);return;}logger[_0x1d493f(0x184)](_0x1d493f(0x24c)+JSON[_0x1d493f(0x231)](_0x4cc9f0));try{const _0x1b95a8=AutomationFramework[_0x1d493f(0x14a)](),_0x5a0495=TestFramework['getTrackedInstance'](),_0xc73ee6=_0x4cc9f0[_0x1d493f(0x2d1)]||global[_0x1d493f(0x2ce)]?.[_0x1d493f(0x12b)]||null;if(!_0xc73ee6){_0x5a0495&&_0x5a0495[_0x1d493f(0x20b)](_0x401f1e['LOUmL'],!![]);logger[_0x1d493f(0x2b0)](_0x401f1e[_0x1d493f(0x2b9)]);return;}logger[_0x1d493f(0x2b0)](_0x401f1e[_0x1d493f(0x1b2)]);const _0x4d88b8=_0x5a0495?.['getData'](_0x401f1e['TNEzq'],![]),_0x51ba80=_0x5a0495?.[_0x1d493f(0x2c5)](_0x401f1e[_0x1d493f(0x24d)],![]);if(_0x401f1e[_0x1d493f(0x272)](_0x4d88b8,![])&&_0x401f1e[_0x1d493f(0x272)](_0x51ba80,![])){_0x5a0495&&_0x5a0495['updateData'](_0x401f1e[_0x1d493f(0x29d)],!![]);logger[_0x1d493f(0x2b0)](_0x401f1e[_0x1d493f(0x1de)]);return;}_0x5a0495&&_0x5a0495['updateData'](_0x401f1e[_0x1d493f(0x24d)],!![]);let _0xb27632,_0x3287ab;const _0x376241=_0x4cc9f0['testFramework']||_0x401f1e[_0x1d493f(0x214)];if(_0x401f1e[_0x1d493f(0x272)](_0x376241,_0x401f1e[_0x1d493f(0x128)])){_0x3287ab=_0x4cc9f0[_0x1d493f(0x15e)]?.[_0x1d493f(0x1d9)]||_0x4cc9f0[_0x1d493f(0x15e)]?.['id']||global['__jestCurrentTestIdentifier']||global[_0x1d493f(0x2ce)]?.[_0x1d493f(0x193)]?.[_0x1d493f(0x1d9)]||global[_0x1d493f(0x2ce)]?.[_0x1d493f(0x193)]?.['id'];const _0x5bdf33=_0x5a0495?.[_0x1d493f(0x175)]()?.[_0x1d493f(0x21c)](_0x3287ab);if(_0x5bdf33&&_0x5bdf33[TestFrameworkConstants[_0x1d493f(0x14c)]])_0xb27632=_0x5bdf33[TestFrameworkConstants['KEY_TEST_NAME']];else{if(_0x4cc9f0[_0x1d493f(0x15e)]?.[_0x1d493f(0x142)])_0xb27632=_0x4cc9f0[_0x1d493f(0x15e)][_0x1d493f(0x142)];else global[_0x1d493f(0x2ce)]?.[_0x1d493f(0x193)]?.[_0x1d493f(0x15e)]?.[_0x1d493f(0x142)]?_0xb27632=global[_0x1d493f(0x2ce)][_0x1d493f(0x193)][_0x1d493f(0x15e)][_0x1d493f(0x142)]:_0xb27632=_0x401f1e['vOoMz'];}logger['debug'](_0x1d493f(0x1b0)+_0x3287ab+',\x20testName='+JSON[_0x1d493f(0x231)](_0xb27632));}else{_0x3287ab=this[_0x1d493f(0x16b)](_0x4cc9f0);const _0xeeda4f=TestInfo[_0x1d493f(0x1ef)](_0x3287ab);let _0x4e9294=[];if(_0xeeda4f&&Array[_0x1d493f(0x261)](_0xeeda4f[_0x1d493f(0x199)])&&_0x401f1e[_0x1d493f(0x139)](_0xeeda4f[_0x1d493f(0x199)][_0x1d493f(0x1c5)],0x0))_0x4e9294=_0xeeda4f[_0x1d493f(0x199)];else{if(_0x5a0495){const _0x181a30=_0x401f1e[_0x1d493f(0x162)](typeof _0x5a0495[_0x1d493f(0x2c5)],_0x401f1e[_0x1d493f(0x2c4)])?_0x5a0495[_0x1d493f(0x2c5)](_0x401f1e[_0x1d493f(0x288)],[]):_0x5a0495['test_tags']||[];Array[_0x1d493f(0x261)](_0x181a30)&&(_0x4e9294=_0x181a30);}}_0xb27632=_0x4e9294;}logger[_0x1d493f(0x184)](_0x1d493f(0x1fd)+JSON[_0x1d493f(0x231)](_0xb27632));const _0x2aa897=this[_0x1d493f(0x296)](_0x1b95a8,_0x4cc9f0['platformCaps'],_0x4cc9f0[_0x1d493f(0x2ab)]);logger['debug'](_0x1d493f(0x144)+_0x2aa897+_0x1d493f(0x256)+this[_0x1d493f(0x224)]);const _0x4dcb8a=this[_0x1d493f(0x176)](_0xb27632,_0x1b95a8,_0x376241),_0xd681af=_0x401f1e[_0x1d493f(0x24a)](_0x2aa897,_0x4dcb8a),_0xf05262=CLIUtils[_0x1d493f(0x292)]();this[_0x1d493f(0x263)][_0x1d493f(0x1d3)](_0xf05262,_0xd681af),global[_0x1d493f(0x138)]?.[_0x1d493f(0x2c0)]&&global['Context'][_0x1d493f(0x2c0)]()[_0x1d493f(0x297)](_0xd681af),logger['debug']('[platform\x20-\x20'+(_0x1b95a8?.['getPlatformIndex']?.()||_0x401f1e['gPvtV'])+']\x20should\x20run\x20accessibility\x20value='+_0xd681af),_0xd681af?(global[_0x1d493f(0x133)]=!![],process['env'][_0x1d493f(0x174)]=_0x401f1e['xXBse'],this[_0x1d493f(0x187)]()):global[_0x1d493f(0x133)]=![];}catch(_0x51a662){logger['error'](_0x1d493f(0x225)+(_0x51a662[_0x1d493f(0x15f)]||_0x51a662[_0x1d493f(0x154)]));const _0x3a2df0=CLIUtils[_0x1d493f(0x292)]();this['accessibility'][_0x1d493f(0x1d3)](_0x3a2df0,![]),global[_0x1d493f(0x133)]=![];}}[a80_0x2fda79(0x1c3)](){const _0x5ed9f9=a80_0x2fda79;return this[_0x5ed9f9(0x2b2)][_0x5ed9f9(0x164)](_0x36befe=>_0x36befe[_0x5ed9f9(0x11a)]()===_0x5ed9f9(0x2cc))?.[_0x5ed9f9(0x1ae)]()||'';}['getCapabilityValue'](_0x4a39bd){const _0x4928fa=a80_0x2fda79;try{const _0x2642e7=this[_0x4928fa(0x21b)]?.['options']?.[_0x4928fa(0x1eb)]||[],_0x190d61=_0x2642e7['find'](_0x2fcfe6=>_0x2fcfe6[_0x4928fa(0x18d)]===_0x4a39bd);return _0x190d61?_0x190d61[_0x4928fa(0x1c4)]:null;}catch(_0x421453){return logger['debug'](_0x4928fa(0x1e4)+_0x4a39bd+':\x20'+_0x421453[_0x4928fa(0x154)]),null;}}async[a80_0x2fda79(0x181)](_0x4df849,_0x498ae3){const _0x2bf48b=a80_0x2fda79,_0x2d9568=_0x4df849[_0x2bf48b(0x182)]()[_0x2bf48b(0x191)](),_0x3aaec2=_0x2d9568[_0x2bf48b(0x203)](),_0x18e862=_0x2d9568['getCommandsToWrap']()?.[_0x2bf48b(0x1c7)]();scripts[_0x2bf48b(0x1aa)](_0x3aaec2,_0x18e862),scripts[_0x2bf48b(0x2b8)]();const _0xaddf23=_0x2d9568[_0x2bf48b(0x25b)]();this[_0x2bf48b(0x2b2)]=_0x2d9568[_0x2bf48b(0x25b)](),await this[_0x2bf48b(0x290)](_0xaddf23,_0x498ae3['launchCaps']);}async[a80_0x2fda79(0x290)](_0xf7cc09,_0x5cbf20={}){const _0x26e4ed=a80_0x2fda79,_0x4e3bb1={};_0x4e3bb1[_0x26e4ed(0x127)]=function(_0x220ac3,_0x40eea7){return _0x220ac3===_0x40eea7;},_0x4e3bb1[_0x26e4ed(0x276)]=_0x26e4ed(0x166),_0x4e3bb1[_0x26e4ed(0x20e)]=_0x26e4ed(0x1cd),_0x4e3bb1['ukYCl']=function(_0x57f6c6,_0x194fae){return _0x57f6c6===_0x194fae;},_0x4e3bb1[_0x26e4ed(0x259)]='wcagVersion',_0x4e3bb1[_0x26e4ed(0x114)]=_0x26e4ed(0x17d),_0x4e3bb1[_0x26e4ed(0x188)]=_0x26e4ed(0x23c),_0x4e3bb1[_0x26e4ed(0x1cb)]='browserstack.accessibilityOptions.scannerVersion',_0x4e3bb1[_0x26e4ed(0x281)]=function(_0x2ad5ff,_0x150379){return _0x2ad5ff===_0x150379;},_0x4e3bb1['JRxju']=_0x26e4ed(0x2a4),_0x4e3bb1[_0x26e4ed(0x268)]='browserstack.accessibilityOptions.scannerProcessingTimeout';const _0x45a4be=_0x4e3bb1;global[_0x26e4ed(0x1be)]=global[_0x26e4ed(0x1be)]||{};for(const _0x19fbc2 of _0xf7cc09){logger[_0x26e4ed(0x184)](_0x26e4ed(0x1da)+_0x19fbc2[_0x26e4ed(0x11a)]()+'\x20value='+_0x19fbc2['getValue']());if(_0x45a4be['LIRCb'](_0x19fbc2[_0x26e4ed(0x11a)](),_0x45a4be[_0x26e4ed(0x276)]))process[_0x26e4ed(0x1ad)][_0x26e4ed(0x186)]=_0x19fbc2[_0x26e4ed(0x1ae)](),global['__accessibilityOptions'][_0x45a4be[_0x26e4ed(0x20e)]]=_0x19fbc2[_0x26e4ed(0x1ae)]();else{if(_0x45a4be[_0x26e4ed(0x1f2)](_0x19fbc2[_0x26e4ed(0x11a)](),_0x45a4be[_0x26e4ed(0x259)]))global['__accessibilityOptions'][_0x45a4be[_0x26e4ed(0x114)]]=_0x19fbc2[_0x26e4ed(0x1ae)]();else{if(_0x45a4be['ukYCl'](_0x19fbc2[_0x26e4ed(0x11a)](),_0x45a4be['XkdFR']))global[_0x26e4ed(0x1be)][_0x45a4be['urMMd']]=_0x19fbc2['getValue']();else _0x45a4be['VfTvS'](_0x19fbc2[_0x26e4ed(0x11a)](),_0x45a4be[_0x26e4ed(0x1b9)])&&(global['__accessibilityOptions'][_0x45a4be[_0x26e4ed(0x268)]]=_0x19fbc2['getValue']());}}}}async[a80_0x2fda79(0x180)](_0x19235d){const _0x359d64=a80_0x2fda79,_0x4681e2={};_0x4681e2[_0x359d64(0x1af)]=function(_0x5911e9,_0x492e2e){return _0x5911e9!==_0x492e2e;},_0x4681e2[_0x359d64(0x137)]='cucumber',_0x4681e2[_0x359d64(0x278)]=function(_0x15a669,_0x1300ef){return _0x15a669!==_0x1300ef;},_0x4681e2['UrNhN']=_0x359d64(0x20f),_0x4681e2[_0x359d64(0x18a)]=_0x359d64(0x14e),_0x4681e2[_0x359d64(0x1df)]=_0x359d64(0x26d);const _0x3e9b71=_0x4681e2;if(_0x3e9b71['lnUIA'](_0x19235d[_0x359d64(0x151)],_0x3e9b71[_0x359d64(0x137)])&&_0x3e9b71[_0x359d64(0x278)](_0x19235d[_0x359d64(0x151)],_0x3e9b71['UrNhN'])){logger[_0x359d64(0x2b0)](_0x3e9b71[_0x359d64(0x18a)]);return;}const _0x55986f=_0x19235d[_0x359d64(0x15e)]?.[_0x359d64(0x1d9)]||_0x19235d[_0x359d64(0x15e)]?.['id']||global[_0x359d64(0x204)];logger['info'](_0x359d64(0x19b)+_0x19235d[_0x359d64(0x151)]+',\x20testIdentifier='+_0x55986f);try{const _0x452a66=_0x19235d[_0x359d64(0x172)]||AutomationFramework[_0x359d64(0x14a)](),_0x4a6af6=CLIUtils[_0x359d64(0x292)](),_0x92e202=this[_0x359d64(0x18e)]();logger['debug'](_0x359d64(0x1bf)+(_0x452a66?.[_0x359d64(0x2c6)]?.()||_0x3e9b71[_0x359d64(0x1df)])+_0x359d64(0x1bd)+_0x92e202),_0x92e202&&await this[_0x359d64(0x207)](_0x452a66,_0x19235d),this[_0x359d64(0x263)][_0x359d64(0x213)](_0x4a6af6),this['LOG_DISABLED_SHOWN'][_0x359d64(0x213)](_0x4a6af6);}catch(_0x73b417){logger[_0x359d64(0x15c)](_0x359d64(0x152)+(_0x73b417['stack']||_0x73b417[_0x359d64(0x154)]));}}async[a80_0x2fda79(0x207)](_0x151622,_0x3ef7b1){const _0x3813d1=a80_0x2fda79,_0x46b6f6={};_0x46b6f6[_0x3813d1(0x1db)]=function(_0x10043e,_0x43ae4f){return _0x10043e===_0x43ae4f;},_0x46b6f6['KgasA']=_0x3813d1(0x222),_0x46b6f6[_0x3813d1(0x12f)]=function(_0x3c736c,_0x49907f){return _0x3c736c===_0x49907f;},_0x46b6f6[_0x3813d1(0x2a8)]=_0x3813d1(0x20f),_0x46b6f6[_0x3813d1(0x27f)]=_0x3813d1(0x239),_0x46b6f6[_0x3813d1(0x124)]=_0x3813d1(0x2d7),_0x46b6f6[_0x3813d1(0x21e)]=_0x3813d1(0x263),_0x46b6f6[_0x3813d1(0x255)]=_0x3813d1(0x264),_0x46b6f6[_0x3813d1(0x217)]='unknown',_0x46b6f6[_0x3813d1(0x218)]=_0x3813d1(0x26b),_0x46b6f6[_0x3813d1(0x21f)]=_0x3813d1(0x248),_0x46b6f6['DKpgQ']=function(_0x5e9bfc,_0x28746d){return _0x5e9bfc||_0x28746d;},_0x46b6f6['kGUVf']=function(_0x4e4ec7,_0x5ef2dd){return _0x4e4ec7||_0x5ef2dd;},_0x46b6f6[_0x3813d1(0x16e)]='AUTOMATION_SESSIONS',_0x46b6f6[_0x3813d1(0x13d)]=_0x3813d1(0x179);const _0x53e486=_0x46b6f6;try{const _0x1cd203=_0x3ef7b1['testFramework']||(_0x53e486[_0x3813d1(0x12f)](this[_0x3813d1(0x295)]?.['name']?.['toLowerCase'](),_0x53e486[_0x3813d1(0x2a8)])?_0x53e486[_0x3813d1(0x2a8)]:_0x53e486[_0x3813d1(0x27f)]);let _0x1180e2='',_0x525b21=null,_0x1454bd=null;if(_0x53e486[_0x3813d1(0x12f)](_0x1cd203,_0x53e486['ItqRP'])){_0x525b21=_0x3ef7b1[_0x3813d1(0x15e)]?.[_0x3813d1(0x1d9)]||_0x3ef7b1[_0x3813d1(0x15e)]?.['id']||global[_0x3813d1(0x204)];if(!_0x525b21){logger['warn'](_0x53e486[_0x3813d1(0x124)]);return;}try{const _0x36c252=await GrpcClient[_0x3813d1(0x2c9)]()[_0x3813d1(0x173)](process[_0x3813d1(0x1ad)][_0x3813d1(0x18f)],_0x53e486[_0x3813d1(0x21e)],_0x53e486[_0x3813d1(0x255)],_0x525b21),_0x540735=AccessibilityModule[_0x3813d1(0x148)](null,_0x36c252);_0x1180e2=_0x540735?.['thTestRunUuid']||'',logger[_0x3813d1(0x2b0)](_0x3813d1(0x234)+_0x1180e2+'\x20from\x20testIdentifier='+_0x525b21),_0x1454bd=_0x36c252;}catch(_0x3bfc83){logger['error'](_0x3813d1(0x190)+_0x3bfc83[_0x3813d1(0x154)]);return;}}else{const _0x49ac5e=this[_0x3813d1(0x16b)](_0x3ef7b1);_0x1180e2=TestInfo[_0x3813d1(0x177)](_0x49ac5e);}const _0x5c183a=((()=>{const _0x46fbcd=_0x3813d1,_0x341cce=(this[_0x46fbcd(0x21b)]?.[_0x46fbcd(0x243)]?.['capabilitiesList']||[])[_0x46fbcd(0x164)](_0x510d2a=>(typeof _0x510d2a[_0x46fbcd(0x11a)]==='function'?_0x510d2a[_0x46fbcd(0x11a)]():_0x510d2a['name'])===this['KEY_TESTHUB_BUILD_ID']);return _0x341cce?_0x53e486[_0x46fbcd(0x1db)](typeof _0x341cce[_0x46fbcd(0x1ae)],_0x53e486[_0x46fbcd(0x15b)])?_0x341cce[_0x46fbcd(0x1ae)]():_0x341cce['value']:'';})()),_0x2a78d1=process['env'][_0x3813d1(0x14d)]||'';logger[_0x3813d1(0x2b0)](_0x3813d1(0x1bf)+(_0x151622?.[_0x3813d1(0x2c6)]?.()||_0x53e486[_0x3813d1(0x217)])+_0x3813d1(0x1f6)+_0x1180e2+_0x3813d1(0x226)+_0x5c183a+_0x3813d1(0x286)+(_0x2a78d1?_0x53e486['zPoKB']:_0x53e486['dhcfh']));let _0x58670e;if(_0x53e486['eNwil'](_0x1cd203,_0x53e486[_0x3813d1(0x2a8)]))_0x58670e=AccessibilityModule['loadDriverExecuteParams'](_0x1180e2,_0x1454bd);else{const _0x527c0d=await GrpcClient[_0x3813d1(0x2c9)]()[_0x3813d1(0x173)](process[_0x3813d1(0x1ad)][_0x3813d1(0x18f)],_0x53e486[_0x3813d1(0x21e)],_0x53e486[_0x3813d1(0x255)]);_0x58670e=AccessibilityModule['loadDriverExecuteParams'](_0x1180e2,_0x527c0d);}logger[_0x3813d1(0x2b0)](_0x3813d1(0x198)+JSON[_0x3813d1(0x231)](_0x58670e));const _0x17880f=Object[_0x3813d1(0x237)]({},{'thTestRunUuid':_0x53e486[_0x3813d1(0x21a)](_0x1180e2,''),'thBuildUuid':_0x53e486[_0x3813d1(0x19f)](_0x5c183a,''),'thJwtToken':_0x53e486[_0x3813d1(0x19f)](_0x2a78d1,'')},_0x58670e);logger['debug'](_0x3813d1(0x299)+_0x1180e2+_0x3813d1(0x256)+this[_0x3813d1(0x224)]);let _0x301769=global['__workerDetails']?.[_0x3813d1(0x12b)]||null;!_0x301769&&(_0x301769=AutomationFramework[_0x3813d1(0x1f5)](_0x151622,_0x53e486[_0x3813d1(0x16e)],null)),!_0x301769&&(_0x301769=AutomationFramework[_0x3813d1(0x1f5)](_0x151622,_0x53e486[_0x3813d1(0x13d)],null)),await this[_0x3813d1(0x240)](this[_0x3813d1(0x18e)](),_0x1180e2,_0x301769,_0x17880f,this[_0x3813d1(0x224)]);}catch(_0x490ee0){logger['error'](_0x3813d1(0x206)+(_0x490ee0[_0x3813d1(0x15f)]||_0x490ee0[_0x3813d1(0x154)]));}}async[a80_0x2fda79(0x240)](_0xf40f89,_0xe4ebe3,_0x53e953,_0x583448,_0x553cef){const _0x5d4283=a80_0x2fda79,_0x31add4={};_0x31add4[_0x5d4283(0x1c9)]=_0x5d4283(0x264),_0x31add4[_0x5d4283(0x160)]=function(_0x5e83f0,_0x8d02a9){return _0x5e83f0&&_0x8d02a9;},_0x31add4[_0x5d4283(0x235)]=_0x5d4283(0x29a),_0x31add4['JPvyf']=function(_0x2f7f29,_0x500d94){return _0x2f7f29===_0x500d94;},_0x31add4[_0x5d4283(0x228)]=_0x5d4283(0x248),_0x31add4['RRlLD']=function(_0x3a74a8,_0x61be22){return _0x3a74a8===_0x61be22;},_0x31add4[_0x5d4283(0x1d7)]='Skipping\x20saving\x20results\x20from\x20cli,\x20no\x20running\x20test\x20found',_0x31add4[_0x5d4283(0x2b7)]=_0x5d4283(0x282),_0x31add4[_0x5d4283(0x120)]=_0x5d4283(0x26a),_0x31add4[_0x5d4283(0x150)]=_0x5d4283(0x1c6),_0x31add4[_0x5d4283(0x121)]='Running\x20Save\x20results\x20for\x20Accessibility\x20testing',_0x31add4[_0x5d4283(0x280)]=_0x5d4283(0x28e),_0x31add4[_0x5d4283(0x245)]='Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended\x20from\x20cli.';const _0x368dd7=_0x31add4;try{const _0x242cb4=this[_0x5d4283(0x2b1)](_0x368dd7[_0x5d4283(0x1c9)]);if(_0x368dd7[_0x5d4283(0x160)](!_0x553cef,!_0x242cb4)){logger[_0x5d4283(0x2b0)](_0x368dd7[_0x5d4283(0x235)]);return;}if(!_0xe4ebe3||_0x368dd7[_0x5d4283(0x246)](_0xe4ebe3,_0x368dd7[_0x5d4283(0x228)])||_0x368dd7[_0x5d4283(0x28c)](_0xe4ebe3,'')){logger[_0x5d4283(0x2b0)](_0x368dd7[_0x5d4283(0x1d7)]);return;}logger[_0x5d4283(0x2b0)]('Accessibility\x20extension\x20data\x20for\x20current\x20test\x20from\x20cli\x20'+JSON['stringify'](_0x583448)),_0xf40f89&&(logger[_0x5d4283(0x2b0)](_0x368dd7[_0x5d4283(0x2b7)]),await this[_0x5d4283(0x2ac)](_0x53e953,_0xe4ebe3,_0x368dd7['jCRdY'],_0x583448,_0x553cef,_0x368dd7['BSZQR']),_0x368dd7[_0x5d4283(0x160)](!_0x553cef,_0x242cb4)&&(logger[_0x5d4283(0x2b0)](_0x368dd7['ITZSn']),await PerformanceTester[_0x5d4283(0x1fa)](_0x368dd7[_0x5d4283(0x280)],async()=>{const _0x4006a8=_0x5d4283;await this['performScanForCli'](_0x53e953,_0xe4ebe3,_0x368dd7[_0x4006a8(0x1c9)],_0x583448,_0x553cef,_0x368dd7[_0x4006a8(0x1c9)]);})()),logger[_0x5d4283(0x184)](_0x368dd7[_0x5d4283(0x245)]));}catch(_0x59c4d2){logger['error'](_0x5d4283(0x1b6)+(_0x59c4d2[_0x5d4283(0x15f)]||_0x59c4d2[_0x5d4283(0x154)]));}}async[a80_0x2fda79(0x260)](_0x4a4fe6){const _0x384b0a=a80_0x2fda79,_0x248737={};_0x248737[_0x384b0a(0x22b)]=function(_0x56ff4c,_0x57a261){return _0x56ff4c!==_0x57a261;},_0x248737[_0x384b0a(0x279)]='cucumber',_0x248737['TzrGT']=function(_0x316bb3,_0x4ff737){return _0x316bb3!==_0x4ff737;},_0x248737[_0x384b0a(0x27c)]=_0x384b0a(0x20f),_0x248737[_0x384b0a(0x1d0)]=_0x384b0a(0x1d2),_0x248737[_0x384b0a(0x29e)]=_0x384b0a(0x26d),_0x248737['qYsne']=_0x384b0a(0x136),_0x248737['VNcZy']=function(_0x6630b8,_0x1f07d0){return _0x6630b8===_0x1f07d0;},_0x248737[_0x384b0a(0x1f9)]=_0x384b0a(0x210),_0x248737['uzbkV']=_0x384b0a(0x263),_0x248737[_0x384b0a(0x2bf)]=_0x384b0a(0x1b7),_0x248737[_0x384b0a(0x24e)]=_0x384b0a(0x1b8),_0x248737['zLcVc']=_0x384b0a(0x15d),_0x248737[_0x384b0a(0x19c)]=function(_0x2ea66,_0x5d73af){return _0x2ea66===_0x5d73af;},_0x248737['OHnTG']=_0x384b0a(0x1c6),_0x248737[_0x384b0a(0x155)]='null';const _0x43e171=_0x248737;if(_0x43e171[_0x384b0a(0x22b)](_0x4a4fe6[_0x384b0a(0x151)],_0x43e171['vwIhX'])&&_0x43e171[_0x384b0a(0x1a1)](_0x4a4fe6[_0x384b0a(0x151)],_0x43e171['yRHZO'])){logger['debug'](_0x43e171[_0x384b0a(0x1d0)]);return;}logger['debug']('onBeforeExecute:\x20command='+(_0x4a4fe6[_0x384b0a(0x202)]||_0x43e171[_0x384b0a(0x29e)])+_0x384b0a(0x1e2)+_0x4a4fe6[_0x384b0a(0x151)]);try{const _0x54f376=_0x4a4fe6[_0x384b0a(0x172)]||AutomationFramework[_0x384b0a(0x14a)](),_0x556dc3=TestFramework['getTrackedInstance'](),_0x45688f=_0x4a4fe6[_0x384b0a(0x202)]||_0x4a4fe6[_0x384b0a(0x1e1)]?.['getName']();if(!_0x45688f){logger[_0x384b0a(0x2b0)](_0x43e171[_0x384b0a(0x1e9)]);return;}if(!this[_0x384b0a(0x18e)]()){logger[_0x384b0a(0x2b0)](_0x384b0a(0x27d)+_0x45688f);return;}if(!this[_0x384b0a(0x236)](_0x45688f)){logger[_0x384b0a(0x2b0)](_0x384b0a(0x265)+_0x45688f+_0x384b0a(0x14b));return;}const _0x172b78=_0x4a4fe6[_0x384b0a(0x2d1)]||global[_0x384b0a(0x2ce)]?.[_0x384b0a(0x12b)];if(!_0x172b78){logger[_0x384b0a(0x2b0)](_0x384b0a(0x20d)+_0x45688f);return;}let _0x5e9b35='',_0x2431ef=null;if(_0x43e171[_0x384b0a(0x238)](_0x4a4fe6[_0x384b0a(0x151)],_0x43e171['yRHZO'])){_0x2431ef=_0x4a4fe6[_0x384b0a(0x15e)]?.['testAnalyticsId']||_0x4a4fe6['testInfo']?.['id']||global[_0x384b0a(0x204)];if(!_0x2431ef){logger[_0x384b0a(0x1dd)](_0x43e171['YcTBf']);return;}try{const _0x23b61d=await GrpcClient[_0x384b0a(0x2c9)]()['fetchDriverExecuteParamsEvent'](process[_0x384b0a(0x1ad)]['BROWSERSTACK_CLI_BIN_SESSION_ID'],_0x43e171['uzbkV'],_0x43e171['mtgJL'],_0x2431ef),_0x1c306f=AccessibilityModule[_0x384b0a(0x148)](null,_0x23b61d);_0x5e9b35=_0x1c306f?.['thTestRunUuid']||'',logger[_0x384b0a(0x2b0)](_0x384b0a(0x232)+_0x5e9b35+_0x384b0a(0x291)+_0x2431ef);}catch(_0x2f8da9){logger[_0x384b0a(0x15c)](_0x384b0a(0x192)+_0x2f8da9[_0x384b0a(0x154)]);return;}}else _0x5e9b35=this[_0x384b0a(0x197)](_0x43e171[_0x384b0a(0x24e)])||'';const _0x1ac31c=this[_0x384b0a(0x197)](_0x43e171[_0x384b0a(0x1b3)])||this[_0x384b0a(0x21b)][this[_0x384b0a(0x274)]]||null,_0x5769d6=process['env'][_0x384b0a(0x14d)]||'',_0x1ba6af=this['getParamsForScanForCli'](_0x45688f,_0x5e9b35,_0x1ac31c,_0x5769d6),_0x3bf7f9=_0x43e171[_0x384b0a(0x19c)](_0x4a4fe6[_0x384b0a(0x151)],_0x43e171['yRHZO'])?await AccessibilityModule['fetchCentralAuthA11yConfig'](_0x43e171['OHnTG'],_0x5e9b35,_0x2431ef):await AccessibilityModule[_0x384b0a(0x250)](_0x43e171['OHnTG'],_0x5e9b35);logger[_0x384b0a(0x184)](_0x384b0a(0x22d)+(_0x1ba6af?JSON[_0x384b0a(0x231)](_0x1ba6af):_0x43e171['BiSXH']));const _0xdac188=CLIUtils[_0x384b0a(0x23a)](_0x1ba6af,_0x3bf7f9);logger[_0x384b0a(0x184)]('MergedScanArgs:\x20'+(_0xdac188?JSON[_0x384b0a(0x231)](_0xdac188):_0x43e171[_0x384b0a(0x155)])),logger[_0x384b0a(0x2b0)](_0x384b0a(0x1d5)+_0x45688f);const _0x294884=await this[_0x384b0a(0x2ac)](_0x172b78,_0x5e9b35,_0x45688f,_0xdac188,this[_0x384b0a(0x224)]);logger['debug'](_0x384b0a(0x183)+_0x45688f+_0x384b0a(0x29f)+_0x294884);}catch(_0x5a8648){logger[_0x384b0a(0x15c)](_0x384b0a(0x13a)+(_0x5a8648[_0x384b0a(0x15f)]||_0x5a8648[_0x384b0a(0x154)]));}}[a80_0x2fda79(0x258)](){const _0x519a99=a80_0x2fda79;return this[_0x519a99(0x18e)]();}['setShouldScanCurrentTest'](_0x12d8db){const _0x220af2=a80_0x2fda79,_0x99aecb=CLIUtils[_0x220af2(0x292)]();this[_0x220af2(0x263)][_0x220af2(0x1d3)](_0x99aecb,_0x12d8db);}async[a80_0x2fda79(0x153)](_0x37f613){const _0x11b69d=a80_0x2fda79,_0x1fa69f={};_0x1fa69f[_0x11b69d(0x1bb)]=_0x11b69d(0x26d);const _0x9649c5=_0x1fa69f;try{const _0x38e240=_0x37f613[_0x11b69d(0x172)]||AutomationFramework[_0x11b69d(0x14a)](),_0xcb28b5=_0x38e240?.[_0x11b69d(0x2c5)]?.()?.[_0x11b69d(0x21c)]?.(this[_0x11b69d(0x1a4)])||![];if(_0xcb28b5)return;PerformanceTester[_0x11b69d(0x23d)](EVENTS[_0x11b69d(0x146)]);const _0x5615a5=await GrpcClient[_0x11b69d(0x2c9)]()[_0x11b69d(0x21d)](_0x37f613);_0x5615a5&&_0x5615a5[_0x11b69d(0x182)]&&_0x5615a5['getAccessibility']()&&_0x5615a5['getAccessibility']()[_0x11b69d(0x283)]()?(await this[_0x11b69d(0x24b)](_0x5615a5,_0x37f613),_0x38e240?.[_0x11b69d(0x2c5)]&&_0x38e240[_0x11b69d(0x2c5)]()[_0x11b69d(0x1d3)](this['KEY_INIT'],!![]),logger[_0x11b69d(0x2b0)](_0x11b69d(0x1bf)+(_0x38e240?.['getPlatformIndex']?.()||_0x9649c5[_0x11b69d(0x1bb)])+_0x11b69d(0x11e))):logger[_0x11b69d(0x2b0)](_0x11b69d(0x1bf)+(_0x38e240?.[_0x11b69d(0x2c6)]?.()||_0x9649c5[_0x11b69d(0x1bb)])+_0x11b69d(0x1c1)),PerformanceTester[_0x11b69d(0x143)](EVENTS[_0x11b69d(0x146)]);}catch(_0x592890){PerformanceTester['end'](EVENTS[_0x11b69d(0x146)],![],_0x592890[_0x11b69d(0x154)]),logger[_0x11b69d(0x15c)](_0x11b69d(0x163)+(_0x592890[_0x11b69d(0x15f)]||_0x592890[_0x11b69d(0x154)]));}}async[a80_0x2fda79(0x24b)](_0x45b619,_0x1d5121){const _0x328e1d=a80_0x2fda79;await this[_0x328e1d(0x181)](_0x45b619,_0x1d5121);const _0x365159=_0x45b619[_0x328e1d(0x182)]()[_0x328e1d(0x191)]();if(_0x365159){const _0x955e15=_0x45b619[_0x328e1d(0x15a)]&&_0x45b619[_0x328e1d(0x15a)]();_0x955e15&&(this[_0x328e1d(0x21b)][this[_0x328e1d(0x274)]]=_0x955e15[_0x328e1d(0x125)]&&_0x955e15[_0x328e1d(0x125)]());}}['shouldScanForCommand'](_0x23564c){const _0x51819c=a80_0x2fda79,_0x4dac76={};_0x4dac76[_0x51819c(0x1ec)]=function(_0x54a983,_0x231c7d){return _0x54a983===_0x231c7d;};const _0x5199a7=_0x4dac76;try{if(!_0x23564c)return![];const _0x5399ca=this[_0x51819c(0x21b)]?.['options']?.[_0x51819c(0x18c)]?.['commandsList']||[],_0x2080ca=_0x5399ca[_0x51819c(0x25f)](_0x45af43=>{const _0xe617dd=_0x51819c;return _0x45af43['name']&&_0x5199a7[_0xe617dd(0x1ec)](_0x45af43[_0xe617dd(0x18d)][_0xe617dd(0x23e)](),_0x23564c['toLowerCase']());});return logger[_0x51819c(0x2b0)](_0x51819c(0x22a)+_0x23564c+'\x20->\x20'+_0x2080ca+_0x51819c(0x2db)+JSON[_0x51819c(0x231)](_0x5399ca[_0x51819c(0x2ba)](_0x3b86f6=>_0x3b86f6['name']))),_0x2080ca;}catch(_0x564d7c){return logger['debug'](_0x51819c(0x277)+_0x564d7c[_0x51819c(0x154)]),![];}}[a80_0x2fda79(0x1fe)](_0x1aabcb){const _0x3b83b0=a80_0x2fda79,_0x3a33fc={};_0x3a33fc[_0x3b83b0(0x157)]=function(_0x3984b3,_0x73e335){return _0x3984b3===_0x73e335;},_0x3a33fc[_0x3b83b0(0x2d6)]='string',_0x3a33fc[_0x3b83b0(0x134)]=_0x3b83b0(0x185);const _0x1cae5f=_0x3a33fc,_0x53ec76=_0x1aabcb[_0x3b83b0(0x2ad)]&&_0x1aabcb['getScript']();return _0x53ec76&&_0x1cae5f[_0x3b83b0(0x157)](typeof _0x53ec76,_0x1cae5f['cFDTG'])&&_0x53ec76[_0x3b83b0(0x1a5)](_0x1cae5f['XqTXa']);}[a80_0x2fda79(0x298)](_0x3793a8){const _0x4a153d=a80_0x2fda79,_0x1bbe49={};_0x1bbe49[_0x4a153d(0x16a)]=function(_0x569fb3,_0x3d9c66){return _0x569fb3!==_0x3d9c66;},_0x1bbe49[_0x4a153d(0x129)]=_0x4a153d(0x1ed),_0x1bbe49[_0x4a153d(0x1a2)]=_0x4a153d(0x263),_0x1bbe49['VkpzE']='performScan',_0x1bbe49[_0x4a153d(0x1ee)]='getResults',_0x1bbe49[_0x4a153d(0x169)]='saveTestResults';const _0x2872c1=_0x1bbe49,_0x406154=_0x3793a8[_0x4a153d(0x2ad)]&&_0x3793a8[_0x4a153d(0x2ad)]();if(!_0x406154||_0x2872c1['Rcvtn'](typeof _0x406154,_0x2872c1[_0x4a153d(0x129)]))return![];return _0x406154[_0x4a153d(0x1a5)](_0x2872c1['rZtuc'])||_0x406154['includes'](_0x2872c1[_0x4a153d(0x2c3)])||_0x406154['includes'](_0x2872c1[_0x4a153d(0x1ee)])||_0x406154[_0x4a153d(0x1a5)](_0x2872c1[_0x4a153d(0x169)]);}[a80_0x2fda79(0x1bc)](_0x2768c4,_0x3a942a,_0x4f41e3,_0x3cc7c4){const _0x5d9371=a80_0x2fda79,_0x166493={};_0x166493[_0x5d9371(0x194)]=function(_0x36049c,_0x3d19dc){return _0x36049c||_0x3d19dc;},_0x166493[_0x5d9371(0x1ab)]=function(_0x2cf3bc,_0x171dec){return _0x2cf3bc||_0x171dec;};const _0x32c53e=_0x166493;return{'command':_0x2768c4,'thTestRunUuid':_0x32c53e['yZzpV'](_0x3a942a,''),'thBuildUuid':_0x32c53e['yZzpV'](_0x4f41e3,''),'thJwtToken':_0x32c53e[_0x5d9371(0x1ab)](_0x3cc7c4,''),'timestamp':new Date()[_0x5d9371(0x13b)]()};}[a80_0x2fda79(0x2b1)](_0xc771cd){const _0x1ce6cf=a80_0x2fda79,_0x580346={};_0x580346['mxqxq']=function(_0x272e62,_0x5f51d8){return _0x272e62||_0x5f51d8;};const _0x4522db=_0x580346;try{const _0x4f8fce=this[_0x1ce6cf(0x21b)]?.[_0x1ce6cf(0x243)]?.[_0x1ce6cf(0x1e6)]||[],_0x24f852=_0x4f8fce[_0x1ce6cf(0x164)](_0x57324d=>_0x57324d[_0x1ce6cf(0x18d)]===_0xc771cd);return _0x4522db['mxqxq'](_0x24f852,null);}catch(_0x5c09be){return logger[_0x1ce6cf(0x2b0)](_0x1ce6cf(0x165)+_0xc771cd+':\x20'+_0x5c09be[_0x1ce6cf(0x154)]),null;}}async[a80_0x2fda79(0x2cb)](_0x4f35e5,_0x5bb5e7,_0x15cb11=null){const _0x1ed008=a80_0x2fda79,_0x1d77cb={'Ckpzh':function(_0x40b429,_0x9b4f9d){return _0x40b429(_0x9b4f9d);},'vKfZd':_0x1ed008(0x230)};try{if(!_0x4f35e5)return logger[_0x1ed008(0x2b0)](_0x1ed008(0x24f)+_0x5bb5e7),null;const _0x53262f=this[_0x1ed008(0x2b1)](_0x5bb5e7);if(!_0x53262f||!_0x53262f[_0x1ed008(0x1e1)])return logger[_0x1ed008(0x2b0)]('executeScriptByName:\x20No\x20'+_0x5bb5e7+_0x1ed008(0x25c)),null;logger[_0x1ed008(0x2b0)]('Executing\x20'+_0x5bb5e7+_0x1ed008(0x2d8));const _0x1e4074=_0x1d77cb[_0x1ed008(0x25e)](require,_0x1d77cb[_0x1ed008(0x12d)]),_0x32ecec=_0x15cb11?await _0x1e4074[_0x1ed008(0x17c)](_0x4f35e5,_0x53262f[_0x1ed008(0x1e1)],_0x15cb11):await _0x1e4074[_0x1ed008(0x17c)](_0x4f35e5,_0x53262f[_0x1ed008(0x1e1)]);return _0x32ecec;}catch(_0x36e9f1){return logger[_0x1ed008(0x15c)](_0x1ed008(0x205)+_0x5bb5e7+':\x20'+(_0x36e9f1[_0x1ed008(0x15f)]||_0x36e9f1[_0x1ed008(0x154)])),null;}}async[a80_0x2fda79(0x2ac)](_0x51dc9a,_0x21e988,_0x3e2069,_0x971eff,_0x52abfb,_0x545ba8='scan'){const _0x5eb568=a80_0x2fda79,_0x487289={'FqIpn':function(_0x22d3a5,_0x186f45){return _0x22d3a5===_0x186f45;},'qbjlX':'scan','BJPnW':function(_0x328fd2,_0x57d1c1){return _0x328fd2(_0x57d1c1);},'fUIRj':_0x5eb568(0x230),'cPCCH':function(_0x253577,_0x20f6a7){return _0x253577(_0x20f6a7);}};try{logger[_0x5eb568(0x2b0)](_0x5eb568(0x1cf)+_0x3e2069+_0x5eb568(0x227)+_0x545ba8);const _0x313b4d=this[_0x5eb568(0x2b1)](_0x545ba8);if(!_0x313b4d||!_0x313b4d['command']){logger['debug'](_0x5eb568(0x269)+_0x545ba8+_0x5eb568(0x201));return;}if(_0x487289[_0x5eb568(0x26c)](_0x545ba8,_0x487289[_0x5eb568(0x11b)])){const _0x569317=_0x487289['BJPnW'](require,_0x487289['fUIRj']),_0x4c5d71={};_0x4c5d71[_0x5eb568(0x1e1)]=_0x3e2069;const _0x471e6f=await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x5eb568(0x1c8)],async()=>{const _0x43dbfc=_0x5eb568;await _0x569317[_0x43dbfc(0x17c)](_0x51dc9a,_0x313b4d[_0x43dbfc(0x1e1)]);},_0x4c5d71)();return logger[_0x5eb568(0x184)](_0x5eb568(0x1b4)+_0x545ba8+'\x20result\x20for\x20'+_0x3e2069+':\x20'+util[_0x5eb568(0x1b1)](_0x471e6f)),_0x471e6f;}const _0xf80ba3=_0x487289[_0x5eb568(0x116)](require,_0x487289[_0x5eb568(0x12a)]),_0x5326ea=await PerformanceTester[_0x5eb568(0x1fa)](PerformanceA11yEvents[_0x5eb568(0x2b5)],async()=>{const _0x5cc07a=_0x5eb568;await _0xf80ba3['browserStackEvaluate'](_0x51dc9a,_0x313b4d[_0x5cc07a(0x1e1)],_0x971eff);})();return logger['info'](_0x5eb568(0x1b4)+_0x545ba8+'\x20result\x20for\x20'+_0x3e2069+':\x20'+util['format'](_0x5326ea)),_0x5326ea;}catch(_0x336dff){logger['error'](_0x5eb568(0x2b4)+_0x545ba8+':\x20'+(_0x336dff['stack']||_0x336dff[_0x5eb568(0x154)]));}}async['validatePlatformForAccessibility'](_0x2edba4){const _0x503a4d=a80_0x2fda79,_0x264991={'bjPKP':function(_0x45db35,_0xcedfe){return _0x45db35(_0xcedfe);},'JPAKT':'../../../helpers/accessibility-automation/helper'};try{const _0x53b3d8=_0x264991['bjPKP'](require,_0x264991['JPAKT']);return await _0x53b3d8[_0x503a4d(0x122)](_0x2edba4);}catch(_0x15ab55){return logger[_0x503a4d(0x15c)](_0x503a4d(0x2c1)+(_0x15ab55[_0x503a4d(0x15f)]||_0x15ab55[_0x503a4d(0x154)])),![];}}[a80_0x2fda79(0x1c2)](_0x30ae24,_0x3f83ca,_0xb6a6f1){const _0x126155=a80_0x2fda79,_0x38751c={'AdKcj':function(_0x200702,_0x1e314b){return _0x200702(_0x1e314b);},'Hircx':_0x126155(0x230),'dmkkd':_0x126155(0x189),'JaTWc':'\x22browserstack.key\x22:\x22[REDACTED]\x22'};try{const _0x415a0a=_0x38751c[_0x126155(0x28a)](require,_0x38751c[_0x126155(0x2a9)]);_0x415a0a[_0x126155(0x1c2)](_0x30ae24,_0x3f83ca,_0xb6a6f1);const _0x41b8b6=JSON[_0x126155(0x231)](_0x30ae24)[_0x126155(0x119)](/"browserstack\.user":"[^"]*"/g,_0x38751c[_0x126155(0x27a)])[_0x126155(0x119)](/"browserstack\.key":"[^"]*"/g,_0x38751c[_0x126155(0x2c7)]);logger[_0x126155(0x2b0)](_0x126155(0x223)+global[_0x126155(0x133)]+'\x20'+_0x41b8b6);}catch(_0x219f48){logger[_0x126155(0x15c)](_0x126155(0x140)+(_0x219f48[_0x126155(0x15f)]||_0x219f48['message']));}}async[a80_0x2fda79(0x13c)](_0x296f5d){const _0x44e000=a80_0x2fda79,_0x3992b7={};_0x3992b7['dweAM']=_0x44e000(0x118),_0x3992b7['PPyEf']=_0x44e000(0x229);const _0x2638fe=_0x3992b7;try{if(!this[_0x44e000(0x18e)]())return logger[_0x44e000(0x1dd)](_0x2638fe['dweAM']),[];const _0x4ee27d=await this[_0x44e000(0x2cb)](_0x296f5d,_0x2638fe[_0x44e000(0x11c)]);return _0x4ee27d||[];}catch(_0x595c4f){return logger['error'](_0x44e000(0x16d)+(_0x595c4f[_0x44e000(0x15f)]||_0x595c4f[_0x44e000(0x154)])),[];}}async[a80_0x2fda79(0x1a8)](_0xa09896){const _0x7b508c=a80_0x2fda79,_0x2d71f7={'qhavX':'scan','zDviO':_0x7b508c(0x2dc),'RPgFp':_0x7b508c(0x244),'UxtcD':function(_0x293c82,_0x8c499){return _0x293c82(_0x8c499);},'qcGiA':_0x7b508c(0x1b5),'XlnFR':function(_0x59c259,_0x4d9913){return _0x59c259===_0x4d9913;},'aHVzt':'jest','doBLJ':_0x7b508c(0x130),'gjXkQ':_0x7b508c(0x263),'aSFGN':_0x7b508c(0x15d),'oqpsL':_0x7b508c(0x1a8),'xHHCv':_0x7b508c(0x1b8),'TvAnc':_0x7b508c(0x2bd),'pbbHh':_0x7b508c(0x2a3)};try{if(!this[_0x7b508c(0x18e)]())return logger[_0x7b508c(0x1dd)](_0x2d71f7[_0x7b508c(0x1cc)]),{};const _0x24968e=_0x2d71f7[_0x7b508c(0x1ea)](require,_0x2d71f7[_0x7b508c(0x29c)]),_0x599c7e=_0x24968e[_0x7b508c(0x195)](),_0x38acfe=_0x2d71f7[_0x7b508c(0x1ac)](_0x599c7e?.['name']?.[_0x7b508c(0x23e)](),_0x2d71f7[_0x7b508c(0x253)]);let _0x567747='',_0x13c5ef=null,_0x4ae5b0=null;if(_0x38acfe){_0x13c5ef=global['__jestCurrentTestIdentifier']||global['__workerDetails']?.[_0x7b508c(0x193)]?.[_0x7b508c(0x1d9)]||global[_0x7b508c(0x2ce)]?.[_0x7b508c(0x193)]?.['id'];if(!_0x13c5ef)return logger[_0x7b508c(0x1dd)](_0x2d71f7['doBLJ']),{};try{const _0x223745=await GrpcClient[_0x7b508c(0x2c9)]()[_0x7b508c(0x173)](process[_0x7b508c(0x1ad)]['BROWSERSTACK_CLI_BIN_SESSION_ID'],_0x2d71f7[_0x7b508c(0x262)],_0x2d71f7[_0x7b508c(0x247)],_0x13c5ef),_0x33ae3e=AccessibilityModule['loadDriverExecuteParams'](null,_0x223745);_0x567747=_0x33ae3e?.[_0x7b508c(0x233)]||'',logger[_0x7b508c(0x2b0)](_0x7b508c(0x1ff)+_0x567747+_0x7b508c(0x291)+_0x13c5ef);const _0x276410=await AccessibilityModule[_0x7b508c(0x250)](_0x2d71f7['zDviO'],_0x567747,_0x13c5ef),_0x52a5bc=this['getCapabilityValue'](_0x2d71f7[_0x7b508c(0x2da)])||this[_0x7b508c(0x21b)][this['KEY_TESTHUB_BUILD_ID']]||null,_0x2a283c=process[_0x7b508c(0x1ad)][_0x7b508c(0x14d)]||'',_0x1aaaf9=this[_0x7b508c(0x1bc)](_0x2d71f7['oqpsL'],_0x567747,_0x52a5bc,_0x2a283c);_0x4ae5b0=_0x24968e[_0x7b508c(0x23a)](_0x1aaaf9,_0x276410),logger['debug'](_0x7b508c(0x13f)+JSON['stringify'](_0x4ae5b0));}catch(_0xf79d60){return logger[_0x7b508c(0x15c)](_0x7b508c(0x14f)+_0xf79d60[_0x7b508c(0x154)]),{};}}else{_0x567747=this['getCapabilityValue'](_0x2d71f7[_0x7b508c(0x1ca)])||'';const _0x7cd889=this['getCapabilityValue'](_0x2d71f7['aSFGN'])||this['accessibilityConfig'][this['KEY_TESTHUB_BUILD_ID']]||null,_0x5dec31=process[_0x7b508c(0x1ad)][_0x7b508c(0x14d)]||'';_0x4ae5b0=this[_0x7b508c(0x1bc)](_0x2d71f7[_0x7b508c(0x23b)],_0x567747,_0x7cd889,_0x5dec31);}logger['debug'](_0x2d71f7[_0x7b508c(0x158)]),await PerformanceTester[_0x7b508c(0x1fa)](PerformanceA11yEvents[_0x7b508c(0x1c8)],async()=>{const _0x11e90c=_0x7b508c,_0x5530e7=await this['executeScriptByName'](_0xa09896,_0x2d71f7['qhavX'],_0x4ae5b0);logger[_0x11e90c(0x2b0)](_0x11e90c(0x2a5)+util[_0x11e90c(0x1b1)](_0x5530e7));},{'command':_0x2d71f7[_0x7b508c(0x23b)]})();const _0x29dabe=await PerformanceTester[_0x7b508c(0x1fa)](PerformanceA11yEvents[_0x7b508c(0x209)],async()=>{const _0xe02580=_0x7b508c;return await this[_0xe02580(0x2cb)](_0xa09896,_0x2d71f7['zDviO'],_0x4ae5b0);})();if(!_0x29dabe)return logger['debug'](_0x2d71f7['pbbHh']),{};return _0x29dabe;}catch(_0x5007d0){return logger[_0x7b508c(0x15c)](_0x7b508c(0x1f7)+(_0x5007d0[_0x7b508c(0x15f)]||_0x5007d0[_0x7b508c(0x154)])),{};}}async[a80_0x2fda79(0x1a7)](_0x1800ea,_0x2754d6,_0x35cf11=null){const _0x5b8a94=a80_0x2fda79,_0xfee3d1={};_0xfee3d1[_0x5b8a94(0x270)]=_0x5b8a94(0x2a7),_0xfee3d1['tPLzK']=_0x5b8a94(0x1f1),_0xfee3d1[_0x5b8a94(0x123)]=_0x5b8a94(0x145);const _0x5b0e8f=_0xfee3d1;try{if(!_0x1800ea)return logger[_0x5b8a94(0x2b0)](_0x5b0e8f[_0x5b8a94(0x270)]),null;if(!_0x2754d6)return logger[_0x5b8a94(0x2b0)](_0x5b0e8f['tPLzK']),null;logger['debug'](_0x5b0e8f[_0x5b8a94(0x123)]);const _0x516fdc=_0x35cf11?await _0x1800ea[_0x5b8a94(0x1c0)](_0x2754d6,_0x35cf11):await _0x1800ea[_0x5b8a94(0x1c0)](_0x2754d6);return _0x516fdc;}catch(_0x207acf){return logger[_0x5b8a94(0x15c)](_0x5b8a94(0x28f)+(_0x207acf[_0x5b8a94(0x15f)]||_0x207acf[_0x5b8a94(0x154)])),null;}}static['loadDriverExecuteParams'](_0x210df9,_0x1b2212){const _0xd9caba=a80_0x2fda79,_0x4fa922={};_0x4fa922[_0xd9caba(0x2bb)]=_0xd9caba(0x178);const _0x360dec=_0x4fa922,_0x8145b6={};_0x8145b6[_0xd9caba(0x233)]=_0x210df9;const _0x3618b2=_0x8145b6;let _0x453aaf={};if(_0x1b2212['getSuccess']()&&_0x1b2212['hasAccessibilityExecuteParams']())try{_0x453aaf=JSON[_0xd9caba(0x2cf)](new Buffer(_0x1b2212['getAccessibilityExecuteParams']())[_0xd9caba(0x170)](_0x360dec[_0xd9caba(0x2bb)]));}catch(_0x218a37){logger[_0xd9caba(0x15c)]('Error\x20parsing\x20accessibility\x20execute\x20params:\x20'+_0x218a37[_0xd9caba(0x154)]),_0x453aaf={};}return CLIUtils[_0xd9caba(0x23a)](_0x3618b2,_0x453aaf);}static async['fetchCentralAuthA11yConfig'](_0x1628a5,_0x37ddd9='',_0xb98b9=null){const _0x240c55=a80_0x2fda79,_0x422b27={};_0x422b27[_0x240c55(0x216)]=_0x240c55(0x2bc),_0x422b27[_0x240c55(0x285)]='accessibility';const _0x50bf52=_0x422b27;try{if(!_0xb98b9&&AccessibilityModule['_centralAuthConfigFetched'])return AccessibilityModule[_0x240c55(0x19d)];if(!process[_0x240c55(0x1ad)][_0x240c55(0x18f)])return logger['error'](_0x50bf52[_0x240c55(0x216)]),{};const _0x3de109=await GrpcClient[_0x240c55(0x2c9)]()[_0x240c55(0x173)](process[_0x240c55(0x1ad)][_0x240c55(0x18f)],_0x50bf52[_0x240c55(0x285)],_0x1628a5,_0xb98b9),_0x4d8583=_0xb98b9?AccessibilityModule[_0x240c55(0x148)](null,_0x3de109)?.[_0x240c55(0x233)]||_0x37ddd9:_0x37ddd9,_0x3ca359=AccessibilityModule[_0x240c55(0x148)](_0x4d8583,_0x3de109);return!_0xb98b9&&(AccessibilityModule[_0x240c55(0x19d)]=_0x3ca359,AccessibilityModule[_0x240c55(0x2d3)]=!![]),_0x3ca359;}catch(_0x4d9d9a){return logger[_0x240c55(0x15c)](_0x240c55(0x1a3)+_0x1628a5+':\x20'+(_0x4d9d9a[_0x240c55(0x15f)]||_0x4d9d9a['message'])),{};}}};module['exports']=AccessibilityModule;
1
+ const a80_0x48c468=a80_0xb3b3;(function(_0x378e12,_0x2b429f){const _0x1453e0=a80_0xb3b3,_0x4fafb3=_0x378e12();while(!![]){try{const _0x44782c=-parseInt(_0x1453e0(0x103))/0x1*(-parseInt(_0x1453e0(0x1d7))/0x2)+-parseInt(_0x1453e0(0x1c9))/0x3+-parseInt(_0x1453e0(0x14e))/0x4+-parseInt(_0x1453e0(0x24c))/0x5*(parseInt(_0x1453e0(0x153))/0x6)+-parseInt(_0x1453e0(0x196))/0x7*(parseInt(_0x1453e0(0x2b1))/0x8)+-parseInt(_0x1453e0(0x128))/0x9*(parseInt(_0x1453e0(0x203))/0xa)+parseInt(_0x1453e0(0x107))/0xb;if(_0x44782c===_0x2b429f)break;else _0x4fafb3['push'](_0x4fafb3['shift']());}catch(_0x31728e){_0x4fafb3['push'](_0x4fafb3['shift']());}}}(a80_0x5894,0x9b65d));function a80_0xb3b3(_0x36cca5,_0x59a4c3){const _0x589484=a80_0x5894();return a80_0xb3b3=function(_0xb3b371,_0x175946){_0xb3b371=_0xb3b371-0xff;let _0x226f18=_0x589484[_0xb3b371];return _0x226f18;},a80_0xb3b3(_0x36cca5,_0x59a4c3);}function a80_0x5894(){const _0x59f271=['launchCaps','map','performScan','zKXIy','ENrGs','udqir','ozxHF','spAHv','qxive','getResultsSummary','Processed\x20accessibility\x20caps\x20','getScript','onBeforeExecute:\x20No\x20command\x20name\x20provided','bnKWe','options','bHETV','setAccessibilityConfig','browserstack.accessibilityOptions.scannerProcessingTimeout','cfRlV','490301GJxOVb','getModuleName','getTesthub','Snahh','chrome','aNnjs','getTrackedInstance','testAnalyticsId','lcvkk','isEnabled','vsPoq','GWnij','../../../helpers/accessibility-automation/constants','[AccessibilityModule]\x20Constructor:\x20Registered\x20observers\x20-\x20EXECUTE\x20PRE,\x20CREATE\x20POST,\x20QUIT\x20PRE','browserstack.accessibilityOptions.authToken','validatePlatformForAccessibility','LoedC','toLowerCase','getAccessibilityResultsSummary','Error\x20checking\x20headless\x20capability:\x20','size','null','getCapabilityValue','error','patchSendMessageToServer','format','platformCaps','getName','../cliUtils','ukSjD','[AccessibilityModule]\x20stopTestCapture:\x20Saving\x20results,\x20thTestRunUuid=','Page\x20','getTestDetails','xCFRc','thTestRunUuid','getCommandsToWrap','stopTestCapture:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','getInstance','__jestCurrentTestIdentifier','getPlatformIndex','Error\x20in\x20getAccessibilityResultsSummary:\x20','BmLTD','titlePath','page','Error\x20in\x20onBeforeExecute\x20accessibility\x20module:\x20','KHFpB','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','vcWEB','OMMlq','Error\x20in\x20performScanForCli\x20for\x20script\x20','TqrnG','3460488ngPLWo','mRElZ','getParamsForScanForCli','uUxCn','string','instance','performScanForCli','../framework/automationFramework','JonTM','performPageScan:\x20Script\x20is\x20null','commandsList',',\x20testName=','PQBwW','debug','6UQwQEg','delete','getResults','isArray','name','cImXq','CVZGU','FFScH','getOptions','KTNUN','setShouldScan','FormJ','fetchDriverExecuteParamsEvent','Error\x20in\x20shouldScanForCommand:\x20','JcnGc','getContext','KEY_TEST_NAME',']\x20Accessibility\x20configuration\x20initialized\x20successfully','scan','includeTagsInTestingScope',',\x20isAppAccessibility=','MYNaX','FoBgL','OGzrR','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','YExlG','mergeObject','getCommandsList','aALcx','MRlnG','RYjYf','commandsToWrap','pwPage','KEY_INIT','Executing\x20','StGaZ','nXvJg','wHHzI','spSfT','../framework/constants/testFrameworkConstants.js','IzyIR','GET_RESULTS_SUMMARY','browser','ACCESSIBILITY_INITIALIZED','30xUQcYX','testFrameworkData','oLZpz','ycUqa','__accessibilityOptions','zqZnr','browserstack_executor','OskFW','PRE','sendMessageToServer\x20accessibility\x20patch\x20already\x20applied','__workerDetails','KEY_DRIVER_HAS_URL','ctaWs','BirYK','getTestId','isAppAccessibility','unknown','ZfDxV','npmwJ','testInfo','JxrPb','gytFE','[CLI]\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','cxaSi','\x20value=','jest','KHssU','MQKFV','evaluate','gOfbE','test_run_id','WquXc','sJkLO','getScriptByName','fetchCentralAuthA11yConfig:\x20Failed\x20to\x20fetch\x20driver\x20execute\x20params\x20for\x20','spjvl','loadDriverExecuteParams','KcdIr','KeJMw','Skipping\x20saving\x20results\x20from\x20cli,\x20no\x20running\x20test\x20found','../../../helpers/helper','executeScriptByName:\x20Page\x20is\x20null\x20for\x20script\x20','WsaQP','currentTest','udIlW','SAVE_RESULTS','pUbey','exports','MergedScanArgs:\x20','DnSkA','yBQWq','browserstack.accessibilityOptions.scannerVersion','YiDpV','SDK_ACCESSIBILITY_CONFIG','FwzFB','QlWdq','getGoogleChromeOptions','dMkwn','uJKEv','assign',',\x20excludeTags=','bMGHC','fnxzs','\x20->\x20','some','BROWSERSTACK_TEST_ACCESSIBILITY_YML','../../../helpers/classLogger','find','applySendMessageToServerPatch','test_tags','KGszb','env','\x20a11yToken=','25KeoAvs','processAccessibilityCaps','IXEup',',\x20available\x20commands:\x20','platformValidation','umjac','info','PkZaC','Ntrea','onBeforeTest','mFiom','zMNkk','oPdJz','VwVKZ','WwctY','BROWSERSTACK_CLI_BIN_SESSION_ID','Oibsa','ilCLS','vGzGH','Accessibility\x20extension\x20data\x20for\x20current\x20test\x20from\x20cli\x20','testFramework','Error\x20getting\x20capability\x20value\x20for\x20','eopTd','[AccessibilityModule]\x20onAfterTest:\x20framework=',']\x20isEnabledTestcase\x20(cucumber)\x20result=','EuTMq','Error\x20in\x20onBeforeTest\x20accessibility\x20module:\x20','Cdzou','QGkUD','EXECUTE','POsmA','onBeforeExecute:\x20Accessibility\x20not\x20enabled\x20for\x20current\x20test,\x20skipping\x20scan\x20for\x20','isPlatformSupported:\x20Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','zGPir','oJHfm','[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','accessibilityConfig','ScanArgs:\x20','capabilitiesList','\x20accessibility\x20script\x20on\x20page','getSuccess','wcagVersion','has','accessibility','EPpre','EMgPN','sDuBW',']\x20should\x20run\x20accessibility\x20value=','loadAccessibilityConfig','CREATE','LOG_DISABLED_SHOWN','onBeforeTest:\x20Skipping\x20accessibility\x20check\x20-\x20not\x20a\x20supported\x20test\x20framework','onBeforeExecute:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','\x20is\x20not\x20in\x20the\x20list\x20of\x20commands\x20to\x20be\x20scanned','true','testhub_build_uuid','\x22browserstack.key\x22:\x22[REDACTED]\x22','zBWzl','POHOa','suMeN',']\x20Failed\x20to\x20initialize\x20accessibility\x20configuration','finishScanningForCli','YdTYw','onBeforeTest:\x20Page\x20object\x20available,\x20proceeding\x20with\x20accessibility\x20validation','present','getCapabilitiesList','reXHh','lvgug','_centralAuthConfigFetched','getCurrentAccessibilityStatus','toISOString','lbXVs','BROWSERSTACK_TESTHUB_JWT','updateData','../../../helpers/performance/performance-tester.js','fFwxK','cyFKf','ALUED','Error\x20getting\x20script\x20by\x20name\x20','hxOQM','../../utils/playwright-patcher','uSqfr','WfKyt','UVjjE','nNJjK','AahUz','executeScriptByName','kBipr','get','phkKI','WnhrY','zFdGa','zRVbW','stack','trim','shouldScanForCommand:\x20','AUTOMATION_SESSIONS','./baseModule','onBeforeExecute:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20scan','GMAuy','ZdTOE','104gXSfpC','GyDFv','wtBfz','goog:chromeOptions','Performing\x20scan\x20before\x20getting\x20results\x20summary','utbKm','TEST_INIT','getAccessibilityResultsSummary:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','JqVBJ','vnGHx','../../../helpers/accessibility-automation/helper','VmDcv','scannerProcessingTimeout','end','function','browserStackEvaluate','getState','JmLbH','hJZpL','283079fsJEki','setLogDisabledShown','HOIaj','Error\x20parsing\x20accessibility\x20execute\x20params:\x20','39947259GwqSNO','lXDxO','DRIVER_INIT','replace','Unknown\x20Test','message','isPlatformSupported:\x20Not\x20an\x20accessibility\x20automation\x20session','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100\x20on\x20non-bstack\x20infra.','zhXJK','_sendMessageServerPatchApplied','browserName','OHseZ','../TestInfo.js','getAccessibility','OmLqw','fetchCentralAuthA11yConfig','onAfterTest','MODULE_NAME','Error\x20applying\x20sendMessageToServer\x20patch:\x20','util','\x20result\x20for\x20','warn','UVwxE','QUIT','cucumber','setShouldScanCurrentTest','getAllData','playwright-chromium','RoKCY','onBeforeExecute','avUmO','latest','command','447138hHYFAB','xTnTZ','[AccessibilityModule]\x20onBeforeTest:\x20platformSupported=','[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20summaryArgs=','a11y:save-results','SrXcW','initAccessibilityConfig','getData','\x20script\x20available\x20in\x20scriptsList','onBeforeTest:\x20Driver\x20not\x20initialized,\x20setting\x20DRIVER_INIT=true','commandName','lvYFe','[AccessibilityModule]\x20stopTestCapture:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','[platform\x20-\x20','BS_A11Y_JWT','pyCam','getAccessibilityResults','hasAccessibilityExecuteParams','getCurrentInstanceName','ArJNN','yxzaY','wlcPY','../../../helpers/performance/constants.js','Error\x20in\x20performPageScan:\x20','TAZrD','browserVersion','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20summary.','getTestFrameworkDetail','bind','isEnabledTestcase','stringify','getValue','DRIVER_HAS_URL','parse','getScriptsList','uJXcE','includes',']\x20onAfterTest\x20should\x20scan=','1583744ptHdxx','performScanForCli:\x20No\x20','yLllI','Exception\x20in\x20isPlatformSupported:\x20',',\x20includeTags=','1482312ZFnqBS','parseFromProto','Scan\x20result:\x20','setAccessibilityToken','accessibilityToken','measureWrapper','vmGQP','\x20using\x20script:\x20','name:\x20','Error\x20in\x20validatePlatformForAccessibility:\x20','cJvUJ','cOErq','../framework/testFramework','../../../helpers/accessibility-automation/scripts','join','qxCIW','TrackedInstance','length','4|7|11|15|6|14|13|8|10|2|9|5|0|12|3|1','_centralAuthA11yConfig','KEY_TESTHUB_BUILD_ID','performPageScan','XXgRy','excludeTagsInTestingScope','../../playwright/accessibility-helper','icktk','registerObserver','accessibilityPlatform','stopTestCapture:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20result\x20save','xzaHG','jESdV','test-tags-->\x20','getBuildId','mUEyb','scannerVersion','SNQlf','Error\x20in\x20processAccessibilityCaps:\x20','capabilities','oItKo','../state/hookState','headless',',\x20testIdentifier=','value','set','Error\x20in\x20getAccessibilityResults:\x20','KZcgc','\x20from\x20testIdentifier=','shouldScanForCommand'];a80_0x5894=function(){return _0x59f271;};return a80_0x5894();}const BaseModule=require(a80_0x48c468(0x2ad)),{createClassLogger}=require(a80_0x48c468(0x245)),CLIUtils=require(a80_0x48c468(0x1b2)),AutomationFramework=require(a80_0x48c468(0x1d0)),TestFramework=require(a80_0x48c468(0x15f)),AutomationFrameworkState=require('../state/automationFrameworkState'),HookState=require(a80_0x48c468(0x17a)),GrpcClient=require('../grpcClient'),scripts=require(a80_0x48c468(0x160)),logger=createClassLogger(a80_0x48c468(0x163)),PerformanceTester=require(a80_0x48c468(0x296)),{EVENTS,A11Y_EVENTS:PerformanceA11yEvents}=require(a80_0x48c468(0x13e)),{MINIMUM_BROWSER_VERSION_ACCESSIBILITY,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require(a80_0x48c468(0x1a2)),{nestedKeyValue,isUndefined}=require(a80_0x48c468(0x22b)),util=require(a80_0x48c468(0x11a)),TestInfo=require(a80_0x48c468(0x113)),TestFrameworkConstants=require(a80_0x48c468(0x1fe));class AccessibilityModule extends BaseModule{static [a80_0x48c468(0x118)]=AccessibilityModule['name'];static [a80_0x48c468(0x290)]=![];static [a80_0x48c468(0x166)]={};constructor(_0x8b9752){const _0x34ef35=a80_0x48c468,_0x17d269={};_0x17d269[_0x34ef35(0x20a)]=_0x34ef35(0x165),_0x17d269[_0x34ef35(0x16c)]=_0x34ef35(0x1a3),_0x17d269[_0x34ef35(0x102)]=_0x34ef35(0x283),_0x17d269[_0x34ef35(0x1a1)]=_0x34ef35(0x148),_0x17d269[_0x34ef35(0x133)]=_0x34ef35(0x202);const _0x26df87=_0x17d269,_0x5b9133=_0x26df87[_0x34ef35(0x20a)]['split']('|');let _0x47ba7f=0x0;while(!![]){switch(_0x5b9133[_0x47ba7f++]){case'0':logger[_0x34ef35(0x1d6)](_0x26df87[_0x34ef35(0x16c)]);continue;case'1':this[_0x34ef35(0x167)]=_0x26df87[_0x34ef35(0x102)];continue;case'2':this[_0x34ef35(0x178)]=[];continue;case'3':this[_0x34ef35(0x20e)]=_0x26df87['GWnij'];continue;case'4':super();continue;case'5':this[_0x34ef35(0x156)](_0x8b9752[_0x34ef35(0x1df)]()[_0x34ef35(0x28d)]());continue;case'6':this[_0x34ef35(0x19f)]=!![];continue;case'7':AutomationFramework[_0x34ef35(0x16d)](AutomationFrameworkState[_0x34ef35(0x269)],HookState[_0x34ef35(0x20b)],this['onBeforeExecute']['bind'](this));continue;case'8':this[_0x34ef35(0x27e)]=new Map();continue;case'9':this[_0x34ef35(0x110)]=![];continue;case'10':this[_0x34ef35(0x212)]=![];continue;case'11':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x34ef35(0x27d)],HookState['POST'],this[_0x34ef35(0x255)][_0x34ef35(0x144)](this));continue;case'12':this[_0x34ef35(0x1f8)]=_0x26df87[_0x34ef35(0x133)];continue;case'13':this['accessibility']=new Map();continue;case'14':this[_0x34ef35(0x270)]=_0x8b9752['toObject']();continue;case'15':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x34ef35(0x11e)],HookState[_0x34ef35(0x20b)],this[_0x34ef35(0x117)][_0x34ef35(0x144)](this));continue;}break;}}['isEnabled'](){const _0x18e389=a80_0x48c468;return this[_0x18e389(0x19f)];}[a80_0x48c468(0x197)](){const _0x3cb968=a80_0x48c468;return AccessibilityModule[_0x3cb968(0x118)];}[a80_0x48c468(0x291)](){const _0x196f25=a80_0x48c468;return this[_0x196f25(0x277)][_0x196f25(0x2a4)](CLIUtils[_0x196f25(0x13a)](),![]);}['getLogDisabledShown'](){const _0x556956=a80_0x48c468;return this['LOG_DISABLED_SHOWN'][_0x556956(0x2a4)](CLIUtils[_0x556956(0x13a)](),![]);}[a80_0x48c468(0x104)](_0x2a3d50){const _0x189136=a80_0x48c468;this[_0x189136(0x27e)]['set'](CLIUtils['getCurrentInstanceName'](),_0x2a3d50);}[a80_0x48c468(0x247)](){const _0x5b1cd2=a80_0x48c468,_0x1c5b1e={'PQBwW':_0x5b1cd2(0x20c),'mRElZ':function(_0x14348b,_0x50961e){return _0x14348b(_0x50961e);},'JfHAc':_0x5b1cd2(0x29c),'uJXcE':'Applied\x20sendMessageToServer\x20patch\x20for\x20accessibility\x20command\x20interception','wHHzI':'patchSendMessageToServer\x20function\x20not\x20available\x20from\x20playwright-patcher'};if(this[_0x5b1cd2(0x110)]){logger[_0x5b1cd2(0x1d6)](_0x1c5b1e[_0x5b1cd2(0x1d5)]);return;}try{const _0x11232d=_0x1c5b1e[_0x5b1cd2(0x1ca)](require,_0x1c5b1e['JfHAc']);_0x11232d&&_0x11232d[_0x5b1cd2(0x1ae)]?(_0x11232d[_0x5b1cd2(0x1ae)](),this[_0x5b1cd2(0x110)]=!![],logger['debug'](_0x1c5b1e[_0x5b1cd2(0x14b)])):logger['debug'](_0x1c5b1e[_0x5b1cd2(0x1fc)]);}catch(_0x29bda4){logger[_0x5b1cd2(0x1d6)](_0x5b1cd2(0x119)+util[_0x5b1cd2(0x1af)](_0x29bda4));}}['isPlatformSupported'](_0x39d79b=null,_0x3348db=null,_0x313b62=null){const _0x37b881=a80_0x48c468,_0x3bfeeb={'uSqfr':function(_0x2e7f3b,_0x482467){return _0x2e7f3b&&_0x482467;},'bHETV':'isPlatformSupported:\x20caps\x20are\x20null','ALUED':function(_0x20af45,_0x596c63){return _0x20af45(_0x596c63);},'hxOQM':_0x37b881(0x2bb),'yPIUN':_0x37b881(0x22b),'KHFpB':function(_0x4377a2){return _0x4377a2();},'RoKCY':_0x37b881(0x10d),'iRcXI':function(_0x1b5742,_0x31a7d8){return _0x1b5742===_0x31a7d8;},'UVwxE':_0x37b881(0x19a),'zqZnr':function(_0x22dc87,_0x2cae65){return _0x22dc87===_0x2cae65;},'WfKyt':_0x37b881(0x122),'wtBfz':function(_0x5646dc,_0x5dd3af){return _0x5646dc===_0x5dd3af;},'IXEup':_0x37b881(0x1c4),'cgTyU':function(_0x492c4e,_0x21f166){return _0x492c4e===_0x21f166;},'EPpre':_0x37b881(0x282),'xCFRc':_0x37b881(0x1cd),'vnGHx':function(_0x44ca2f,_0x5f39c8){return _0x44ca2f===_0x5f39c8;},'Cdzou':_0x37b881(0x26c),'vmGQP':function(_0x205ec0){return _0x205ec0();},'avUmO':function(_0x319c12,_0x323c97){return _0x319c12>_0x323c97;},'oLZpz':function(_0x106bf6,_0x4baa61){return _0x106bf6(_0x4baa61);},'kBQhD':_0x37b881(0x10e),'WnhrY':function(_0x2d1613,_0x577970){return _0x2d1613!==_0x577970;},'MRlnG':_0x37b881(0x126),'pSMkH':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.'};try{if(_0x3bfeeb[_0x37b881(0x29d)](!_0x3348db,!_0x313b62))return logger['debug'](_0x3bfeeb[_0x37b881(0x192)]),![];const {isAccessibilityAutomationSession:_0x265cf5}=_0x3bfeeb[_0x37b881(0x299)](require,_0x3bfeeb[_0x37b881(0x29b)]),{isUndefined:_0x102ab5,isBrowserstackInfra:_0x3ec5c8}=_0x3bfeeb[_0x37b881(0x299)](require,_0x3bfeeb['yPIUN']);if(!_0x3bfeeb[_0x37b881(0x1c3)](_0x265cf5))return logger[_0x37b881(0x1d6)](_0x3bfeeb[_0x37b881(0x123)]),![];if(!(_0x3348db['browserName']&&_0x3bfeeb['iRcXI'](_0x3348db[_0x37b881(0x111)][_0x37b881(0x1a7)](),_0x3bfeeb[_0x37b881(0x11d)])||_0x3348db['browserName']&&_0x3bfeeb[_0x37b881(0x208)](_0x3348db['browserName']['toLowerCase'](),_0x3bfeeb['WfKyt'])||_0x3348db[_0x37b881(0x201)]&&_0x3bfeeb[_0x37b881(0x208)](_0x3348db[_0x37b881(0x201)][_0x37b881(0x1a7)](),_0x3bfeeb[_0x37b881(0x11d)])||_0x3348db[_0x37b881(0x201)]&&_0x3bfeeb[_0x37b881(0x2b3)](_0x3348db[_0x37b881(0x201)][_0x37b881(0x1a7)](),_0x3bfeeb[_0x37b881(0x29e)])))return logger['warn'](_0x3bfeeb[_0x37b881(0x24e)]),![];try{const _0x39df63=_0x3348db[_0x37b881(0x17b)],_0x311343=_0x3bfeeb[_0x37b881(0x208)](_0x39df63,!![])||_0x3bfeeb['cgTyU'](_0x39df63,_0x3bfeeb[_0x37b881(0x278)])||_0x3bfeeb['iRcXI'](typeof _0x39df63,_0x3bfeeb[_0x37b881(0x1b7)])&&_0x3bfeeb[_0x37b881(0x2ba)](_0x39df63[_0x37b881(0x1a7)](),_0x3bfeeb[_0x37b881(0x278)]);if(_0x311343)return logger['warn'](_0x3bfeeb[_0x37b881(0x267)]),![];}catch(_0x522619){logger[_0x37b881(0x1d6)](_0x37b881(0x1a9)+util[_0x37b881(0x1af)](_0x522619));}if(!_0x3bfeeb[_0x37b881(0x159)](_0x3ec5c8)){if(!_0x3bfeeb[_0x37b881(0x125)](_0x3bfeeb[_0x37b881(0x205)](parseFloat,_0x3348db['browserVersion']),_0x3bfeeb[_0x37b881(0x299)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY)))return logger[_0x37b881(0x11c)](_0x3bfeeb['kBQhD']),![];}else{if(_0x3bfeeb[_0x37b881(0x2a6)](_0x3348db[_0x37b881(0x141)],_0x3bfeeb[_0x37b881(0x1f4)])&&!_0x3bfeeb['avUmO'](_0x3bfeeb['ALUED'](parseFloat,_0x3348db['browserVersion']),_0x3bfeeb[_0x37b881(0x205)](parseFloat,MINIMUM_BROWSER_VERSION_ACCESSIBILITY)))return logger[_0x37b881(0x11c)](_0x3bfeeb['pSMkH']),![];}return!![];}catch(_0x30431f){return logger['debug'](_0x37b881(0x151)+_0x30431f[_0x37b881(0x10c)]),![];}}[a80_0x48c468(0x145)](_0xb74eee=[],_0xc0c282,_0x13b29e=a80_0x48c468(0x11f)){const _0x5d466d=a80_0x48c468,_0x22b8f1={'UVjjE':function(_0x25912b,_0x4c2706){return _0x25912b===_0x4c2706;},'AahUz':'jest','uUxCn':function(_0x2dce42,_0x4bfa6e){return _0x2dce42||_0x4bfa6e;},'OmLqw':function(_0x2e2a95,_0x52c352){return _0x2e2a95===_0x52c352;},'lXDxO':function(_0x35a7de,_0x3da486){return _0x35a7de&&_0x3da486;},'GyDFv':_0x5d466d(0x213),'vcWEB':function(_0x4b6d9a,_0x32b721){return _0x4b6d9a(_0x32b721);},'QlWdq':function(_0x165d1c,_0xd489df){return _0x165d1c>_0xd489df;},'HUytS':function(_0x328c0b,_0x261bd3){return _0x328c0b&&_0x261bd3;}};try{const _0x4edff4=process[_0x5d466d(0x24a)][_0x5d466d(0x1ef)]?JSON[_0x5d466d(0x149)](process[_0x5d466d(0x24a)][_0x5d466d(0x1ef)]):null;if(!_0x4edff4)return!![];const _0x35ce78=Array['isArray'](_0x4edff4[_0x5d466d(0x1ea)])?_0x4edff4[_0x5d466d(0x1ea)]:[],_0x3962f8=Array[_0x5d466d(0x1da)](_0x4edff4[_0x5d466d(0x16a)])?_0x4edff4[_0x5d466d(0x16a)]:[];if(_0x22b8f1[_0x5d466d(0x29f)](_0x13b29e,_0x22b8f1[_0x5d466d(0x2a1)])){let _0x38d4f2;Array[_0x5d466d(0x1da)](_0xb74eee)?_0x38d4f2=_0xb74eee[_0x5d466d(0x161)]('\x20'):_0x38d4f2=_0x22b8f1[_0x5d466d(0x1cc)](_0xb74eee,'');const _0x17722a=_0x3962f8[_0x5d466d(0x243)](_0x355d4b=>_0x38d4f2[_0x5d466d(0x14c)](_0x355d4b)),_0x5ca821=_0x22b8f1[_0x5d466d(0x115)](_0x35ce78[_0x5d466d(0x164)],0x0)||_0x35ce78['some'](_0x3e8149=>_0x38d4f2['includes'](_0x3e8149)),_0xb2d6c3=_0x22b8f1[_0x5d466d(0x108)](!_0x17722a,_0x5ca821);return logger['debug'](_0x5d466d(0x135)+(_0xc0c282?.[_0x5d466d(0x1bd)]?.()||_0x22b8f1[_0x5d466d(0x2b2)])+']\x20isEnabledTestcase\x20(jest)\x20result='+_0xb2d6c3+_0x5d466d(0x1d4)+_0x38d4f2+',\x20includeTags='+JSON['stringify'](_0x35ce78)+_0x5d466d(0x23f)+JSON['stringify'](_0x3962f8)),_0xb2d6c3;}const _0x5e49d3=Array[_0x5d466d(0x1da)](_0xb74eee)?_0xb74eee:[];let _0x3d6ab9=![],_0x38973a=_0x22b8f1[_0x5d466d(0x115)](_0x35ce78[_0x5d466d(0x164)],0x0);const _0x3f1d41=_0x15e9e1=>typeof _0x15e9e1===_0x5d466d(0x1cd)?_0x15e9e1[_0x5d466d(0x10a)](/^@/,'')[_0x5d466d(0x1a7)]()[_0x5d466d(0x2aa)]():_0x15e9e1,_0x171eac=new Set(_0x35ce78[_0x5d466d(0x184)](_0x3f1d41)),_0x3ed252=new Set(_0x3962f8[_0x5d466d(0x184)](_0x3f1d41));for(const _0x489358 of _0x5e49d3){const _0x3e8c0a=_0x22b8f1[_0x5d466d(0x1c5)](_0x3f1d41,_0x489358);_0x3ed252['has'](_0x3e8c0a)&&(_0x3d6ab9=!![]),_0x22b8f1[_0x5d466d(0x23a)](_0x171eac[_0x5d466d(0x1aa)],0x0)&&_0x171eac[_0x5d466d(0x276)](_0x3e8c0a)&&(_0x38973a=!![]);}const _0x3b8912=_0x22b8f1['HUytS'](_0x38973a,!_0x3d6ab9);return logger[_0x5d466d(0x1d6)](_0x5d466d(0x135)+(_0xc0c282?.['getPlatformIndex']?.()||_0x22b8f1['GyDFv'])+_0x5d466d(0x264)+_0x3b8912+',\x20tags='+JSON['stringify'](_0x5e49d3)+_0x5d466d(0x152)+JSON[_0x5d466d(0x146)](_0x35ce78)+',\x20excludeTags='+JSON[_0x5d466d(0x146)](_0x3962f8)),_0x3b8912;}catch(_0x27c60c){return logger[_0x5d466d(0x1d6)]('[platform\x20-\x20'+(_0xc0c282?.[_0x5d466d(0x1bd)]?.()||_0x22b8f1[_0x5d466d(0x2b2)])+']\x20Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error:\x20'+_0x27c60c[_0x5d466d(0x10c)]),![];}}async[a80_0x48c468(0x255)](_0x4fc941){const _0x2d3695=a80_0x48c468,_0x3a3a0e={};_0x3a3a0e[_0x2d3695(0x2b9)]=function(_0x21a1f3,_0x104acb){return _0x21a1f3!==_0x104acb;},_0x3a3a0e[_0x2d3695(0x23d)]='cucumber',_0x3a3a0e[_0x2d3695(0x13d)]=function(_0x18365c,_0x3be965){return _0x18365c!==_0x3be965;},_0x3a3a0e[_0x2d3695(0x1bf)]='jest',_0x3a3a0e['JonTM']=_0x2d3695(0x27f),_0x3a3a0e['YExlG']=_0x2d3695(0x2b7),_0x3a3a0e[_0x2d3695(0x179)]='onBeforeTest:\x20Page\x20is\x20null,\x20accessibility\x20cannot\x20be\x20initialized',_0x3a3a0e['xzaHG']=_0x2d3695(0x28b),_0x3a3a0e[_0x2d3695(0x258)]=_0x2d3695(0x109),_0x3a3a0e[_0x2d3695(0x1fb)]=function(_0x506903,_0x235cd7){return _0x506903===_0x235cd7;},_0x3a3a0e[_0x2d3695(0x15d)]=function(_0x5dd035,_0x31c8e2){return _0x5dd035===_0x31c8e2;},_0x3a3a0e[_0x2d3695(0x10f)]=_0x2d3695(0x131),_0x3a3a0e['KZcgc']=function(_0x21ca91,_0x1f6e56){return _0x21ca91===_0x1f6e56;},_0x3a3a0e['EMgPN']=_0x2d3695(0x10b),_0x3a3a0e[_0x2d3695(0x226)]=function(_0x526631,_0x159c9b){return _0x526631>_0x159c9b;},_0x3a3a0e[_0x2d3695(0x28f)]=function(_0x4bda9b,_0x532002){return _0x4bda9b===_0x532002;},_0x3a3a0e[_0x2d3695(0x1ee)]='function',_0x3a3a0e[_0x2d3695(0x240)]=_0x2d3695(0x248),_0x3a3a0e[_0x2d3695(0x1e5)]=function(_0x40da0e,_0xf20d5){return _0x40da0e&&_0xf20d5;},_0x3a3a0e[_0x2d3695(0x222)]=_0x2d3695(0x213),_0x3a3a0e[_0x2d3695(0x169)]=_0x2d3695(0x282);const _0x6c14ea=_0x3a3a0e;if(_0x6c14ea[_0x2d3695(0x2b9)](_0x4fc941[_0x2d3695(0x260)],_0x6c14ea[_0x2d3695(0x23d)])&&_0x6c14ea[_0x2d3695(0x13d)](_0x4fc941[_0x2d3695(0x260)],_0x6c14ea[_0x2d3695(0x1bf)])){logger[_0x2d3695(0x1d6)](_0x6c14ea[_0x2d3695(0x1d1)]);return;}logger[_0x2d3695(0x252)]('onBeforeTest:\x20event='+JSON[_0x2d3695(0x146)](_0x4fc941));try{const _0x49a46a=AutomationFramework[_0x2d3695(0x19c)](),_0x30b901=TestFramework[_0x2d3695(0x19c)](),_0x1efb8b=_0x4fc941[_0x2d3695(0x1c1)]||global[_0x2d3695(0x20d)]?.[_0x2d3695(0x1f7)]||null;if(!_0x1efb8b){_0x30b901&&_0x30b901[_0x2d3695(0x295)](_0x6c14ea[_0x2d3695(0x1f0)],!![]);logger[_0x2d3695(0x1d6)](_0x6c14ea[_0x2d3695(0x179)]);return;}logger['debug'](_0x6c14ea[_0x2d3695(0x170)]);const _0x13a2e0=_0x30b901?.[_0x2d3695(0x12f)](_0x6c14ea[_0x2d3695(0x258)],![]),_0x3a7692=_0x30b901?.[_0x2d3695(0x12f)](_0x6c14ea[_0x2d3695(0x1f0)],![]);if(_0x6c14ea[_0x2d3695(0x1fb)](_0x13a2e0,![])&&_0x6c14ea[_0x2d3695(0x15d)](_0x3a7692,![])){_0x30b901&&_0x30b901[_0x2d3695(0x295)](_0x6c14ea[_0x2d3695(0x258)],!![]);logger[_0x2d3695(0x1d6)](_0x6c14ea[_0x2d3695(0x10f)]);return;}_0x30b901&&_0x30b901[_0x2d3695(0x295)](_0x6c14ea['YExlG'],!![]);let _0x32e448,_0x3ae4dd;const _0x2088c1=_0x4fc941[_0x2d3695(0x260)]||_0x6c14ea[_0x2d3695(0x23d)];if(_0x6c14ea[_0x2d3695(0x180)](_0x2088c1,_0x6c14ea[_0x2d3695(0x1bf)])){_0x3ae4dd=_0x4fc941[_0x2d3695(0x216)]?.[_0x2d3695(0x19d)]||_0x4fc941[_0x2d3695(0x216)]?.['id']||global['__jestCurrentTestIdentifier']||global['__workerDetails']?.[_0x2d3695(0x22e)]?.[_0x2d3695(0x19d)]||global[_0x2d3695(0x20d)]?.[_0x2d3695(0x22e)]?.['id'];const _0x23cc84=_0x30b901?.[_0x2d3695(0x121)]()?.['get'](_0x3ae4dd);if(_0x23cc84&&_0x23cc84[TestFrameworkConstants[_0x2d3695(0x1e7)]])_0x32e448=_0x23cc84[TestFrameworkConstants[_0x2d3695(0x1e7)]];else{if(_0x4fc941[_0x2d3695(0x216)]?.[_0x2d3695(0x1c0)])_0x32e448=_0x4fc941[_0x2d3695(0x216)][_0x2d3695(0x1c0)];else global['__workerDetails']?.[_0x2d3695(0x22e)]?.['testInfo']?.[_0x2d3695(0x1c0)]?_0x32e448=global['__workerDetails']['currentTest'][_0x2d3695(0x216)][_0x2d3695(0x1c0)]:_0x32e448=_0x6c14ea[_0x2d3695(0x279)];}logger['debug']('[AccessibilityModule]\x20onBeforeTest:\x20Jest\x20-\x20testIdentifier='+_0x3ae4dd+_0x2d3695(0x1d4)+JSON[_0x2d3695(0x146)](_0x32e448));}else{_0x3ae4dd=this[_0x2d3695(0x211)](_0x4fc941);const _0x3850d6=TestInfo[_0x2d3695(0x1b6)](_0x3ae4dd);let _0x54d05d=[];if(_0x3850d6&&Array[_0x2d3695(0x1da)](_0x3850d6[_0x2d3695(0x248)])&&_0x6c14ea[_0x2d3695(0x226)](_0x3850d6[_0x2d3695(0x248)]['length'],0x0))_0x54d05d=_0x3850d6[_0x2d3695(0x248)];else{if(_0x30b901){const _0xb5069=_0x6c14ea['lvgug'](typeof _0x30b901[_0x2d3695(0x12f)],_0x6c14ea[_0x2d3695(0x1ee)])?_0x30b901[_0x2d3695(0x12f)](_0x6c14ea[_0x2d3695(0x240)],[]):_0x30b901[_0x2d3695(0x248)]||[];Array[_0x2d3695(0x1da)](_0xb5069)&&(_0x54d05d=_0xb5069);}}_0x32e448=_0x54d05d;}logger[_0x2d3695(0x252)](_0x2d3695(0x172)+JSON[_0x2d3695(0x146)](_0x32e448));const _0x1e6916=this['isPlatformSupported'](_0x49a46a,_0x4fc941[_0x2d3695(0x1b0)],_0x4fc941[_0x2d3695(0x183)]);logger[_0x2d3695(0x1d6)](_0x2d3695(0x12a)+_0x1e6916+_0x2d3695(0x1eb)+this[_0x2d3695(0x212)]);const _0x30a7a3=this[_0x2d3695(0x145)](_0x32e448,_0x49a46a,_0x2088c1),_0x3ffce4=_0x6c14ea['JcnGc'](_0x1e6916,_0x30a7a3),_0x4cafcb=CLIUtils[_0x2d3695(0x13a)]();this[_0x2d3695(0x277)][_0x2d3695(0x17e)](_0x4cafcb,_0x3ffce4),global['Context']?.[_0x2d3695(0x1e6)]&&global['Context'][_0x2d3695(0x1e6)]()[_0x2d3695(0x1e1)](_0x3ffce4),logger[_0x2d3695(0x1d6)]('[platform\x20-\x20'+(_0x49a46a?.[_0x2d3695(0x1bd)]?.()||_0x6c14ea[_0x2d3695(0x222)])+_0x2d3695(0x27b)+_0x3ffce4),_0x3ffce4?(global[_0x2d3695(0x16e)]=!![],process[_0x2d3695(0x24a)][_0x2d3695(0x244)]=_0x6c14ea[_0x2d3695(0x169)],this[_0x2d3695(0x247)]()):global['accessibilityPlatform']=![];}catch(_0x1494c4){logger[_0x2d3695(0x1ad)](_0x2d3695(0x266)+(_0x1494c4[_0x2d3695(0x2a9)]||_0x1494c4[_0x2d3695(0x10c)]));const _0x2f533c=CLIUtils[_0x2d3695(0x13a)]();this[_0x2d3695(0x277)]['set'](_0x2f533c,![]),global[_0x2d3695(0x16e)]=![];}}[a80_0x48c468(0x23b)](){const _0x180a63=a80_0x48c468;return this[_0x180a63(0x178)][_0x180a63(0x246)](_0x365e69=>_0x365e69[_0x180a63(0x1b1)]()===_0x180a63(0x2b4))?.['getValue']()||'';}[a80_0x48c468(0x1ac)](_0x32ff65){const _0x35ccd2=a80_0x48c468;try{const _0x4a644e=this['accessibilityConfig']?.[_0x35ccd2(0x191)]?.[_0x35ccd2(0x272)]||[],_0x368eff=_0x4a644e['find'](_0x4505b6=>_0x4505b6[_0x35ccd2(0x1db)]===_0x32ff65);return _0x368eff?_0x368eff[_0x35ccd2(0x17d)]:null;}catch(_0x11df72){return logger[_0x35ccd2(0x1d6)](_0x35ccd2(0x261)+_0x32ff65+':\x20'+_0x11df72[_0x35ccd2(0x10c)]),null;}}async[a80_0x48c468(0x193)](_0x3b225b,_0x3d4376){const _0x250650=a80_0x48c468,_0x587c6c=_0x3b225b[_0x250650(0x114)]()[_0x250650(0x1df)](),_0x4ed8fa=_0x587c6c[_0x250650(0x14a)](),_0x5aa0f8=_0x587c6c[_0x250650(0x1b9)]()?.[_0x250650(0x1f2)]();scripts[_0x250650(0x154)](_0x4ed8fa,_0x5aa0f8),scripts['toJson']();const _0x4a9311=_0x587c6c[_0x250650(0x28d)]();this[_0x250650(0x178)]=_0x587c6c[_0x250650(0x28d)](),await this[_0x250650(0x156)](_0x4a9311,_0x3d4376['launchCaps']);}async['setAccessibilityToken'](_0x14c02b,_0x59da0e={}){const _0x3be689=a80_0x48c468,_0x34f990={};_0x34f990[_0x3be689(0x21e)]=function(_0x2610c8,_0x28f484){return _0x2610c8===_0x28f484;},_0x34f990[_0x3be689(0x1ed)]=_0x3be689(0x157),_0x34f990['ENrGs']=_0x3be689(0x1a4),_0x34f990[_0x3be689(0x195)]=_0x3be689(0x275),_0x34f990['phkKI']='browserstack.accessibilityOptions.wcagVersion',_0x34f990[_0x3be689(0x27a)]=_0x3be689(0x175),_0x34f990[_0x3be689(0x235)]=_0x3be689(0x236),_0x34f990[_0x3be689(0x218)]=function(_0x391fe3,_0x34f589){return _0x391fe3===_0x34f589;},_0x34f990['utbKm']=_0x3be689(0x2bd),_0x34f990['BnIRw']=_0x3be689(0x194);const _0x5bba89=_0x34f990;global[_0x3be689(0x207)]=global[_0x3be689(0x207)]||{};for(const _0x232cdb of _0x14c02b){logger[_0x3be689(0x252)](_0x3be689(0x15b)+_0x232cdb[_0x3be689(0x1b1)]()+_0x3be689(0x21b)+_0x232cdb[_0x3be689(0x147)]());if(_0x5bba89[_0x3be689(0x21e)](_0x232cdb[_0x3be689(0x1b1)](),_0x5bba89['FoBgL']))process['env'][_0x3be689(0x136)]=_0x232cdb[_0x3be689(0x147)](),global[_0x3be689(0x207)][_0x5bba89[_0x3be689(0x187)]]=_0x232cdb[_0x3be689(0x147)]();else{if(_0x5bba89[_0x3be689(0x21e)](_0x232cdb['getName'](),_0x5bba89[_0x3be689(0x195)]))global[_0x3be689(0x207)][_0x5bba89[_0x3be689(0x2a5)]]=_0x232cdb[_0x3be689(0x147)]();else{if(_0x5bba89[_0x3be689(0x21e)](_0x232cdb[_0x3be689(0x1b1)](),_0x5bba89['sDuBW']))global[_0x3be689(0x207)][_0x5bba89[_0x3be689(0x235)]]=_0x232cdb[_0x3be689(0x147)]();else _0x5bba89['gytFE'](_0x232cdb[_0x3be689(0x1b1)](),_0x5bba89[_0x3be689(0x2b6)])&&(global[_0x3be689(0x207)][_0x5bba89['BnIRw']]=_0x232cdb[_0x3be689(0x147)]());}}}}async[a80_0x48c468(0x117)](_0x2a4570){const _0x29fe90=a80_0x48c468,_0x1c88ed={};_0x1c88ed['VwVKZ']=function(_0x5dbd55,_0xbd26cd){return _0x5dbd55!==_0xbd26cd;},_0x1c88ed[_0x29fe90(0x101)]='cucumber',_0x1c88ed['spSfT']=function(_0xf1b055,_0x4fc58e){return _0xf1b055!==_0x4fc58e;},_0x1c88ed[_0x29fe90(0x21a)]='jest',_0x1c88ed[_0x29fe90(0x268)]='onAfterTest:\x20Skipping\x20accessibility\x20cleanup\x20-\x20not\x20a\x20supported\x20test\x20framework',_0x1c88ed[_0x29fe90(0x2a8)]=_0x29fe90(0x213);const _0x2e1fa5=_0x1c88ed;if(_0x2e1fa5[_0x29fe90(0x259)](_0x2a4570[_0x29fe90(0x260)],_0x2e1fa5[_0x29fe90(0x101)])&&_0x2e1fa5[_0x29fe90(0x1fd)](_0x2a4570['testFramework'],_0x2e1fa5[_0x29fe90(0x21a)])){logger[_0x29fe90(0x1d6)](_0x2e1fa5['QGkUD']);return;}const _0x1d3693=_0x2a4570[_0x29fe90(0x216)]?.[_0x29fe90(0x19d)]||_0x2a4570[_0x29fe90(0x216)]?.['id']||global[_0x29fe90(0x1bc)];logger[_0x29fe90(0x252)](_0x29fe90(0x263)+_0x2a4570[_0x29fe90(0x260)]+_0x29fe90(0x17c)+_0x1d3693);try{const _0x1af0e1=_0x2a4570[_0x29fe90(0x1ce)]||AutomationFramework['getTrackedInstance'](),_0x351207=CLIUtils[_0x29fe90(0x13a)](),_0x23a1f7=this[_0x29fe90(0x291)]();logger[_0x29fe90(0x1d6)](_0x29fe90(0x135)+(_0x1af0e1?.[_0x29fe90(0x1bd)]?.()||_0x2e1fa5['zRVbW'])+_0x29fe90(0x14d)+_0x23a1f7),_0x23a1f7&&await this['stopTestCapture'](_0x1af0e1,_0x2a4570),this['accessibility'][_0x29fe90(0x1d8)](_0x351207),this[_0x29fe90(0x27e)][_0x29fe90(0x1d8)](_0x351207);}catch(_0x38eaaa){logger[_0x29fe90(0x1ad)]('Error\x20in\x20onAfterTest\x20accessibility\x20module:\x20'+(_0x38eaaa[_0x29fe90(0x2a9)]||_0x38eaaa[_0x29fe90(0x10c)]));}}async['stopTestCapture'](_0x327b6f,_0x19d1a7){const _0x31629a=a80_0x48c468,_0x235c00={};_0x235c00['zBWzl']=function(_0xb43ecf,_0x1decad){return _0xb43ecf===_0x1decad;},_0x235c00[_0x31629a(0x293)]=_0x31629a(0x2bf),_0x235c00[_0x31629a(0x25d)]=function(_0x5b368f,_0x16f330){return _0x5b368f===_0x16f330;},_0x235c00[_0x31629a(0x190)]=_0x31629a(0x21c),_0x235c00[_0x31629a(0x199)]=_0x31629a(0x11f),_0x235c00[_0x31629a(0x253)]=_0x31629a(0x16f),_0x235c00[_0x31629a(0x257)]=_0x31629a(0x277),_0x235c00[_0x31629a(0x223)]='saveResults',_0x235c00[_0x31629a(0x239)]='unknown',_0x235c00[_0x31629a(0x251)]=_0x31629a(0x28c),_0x235c00[_0x31629a(0x1de)]=_0x31629a(0x1ab),_0x235c00[_0x31629a(0x237)]=function(_0x3adee9,_0x20e41b){return _0x3adee9===_0x20e41b;},_0x235c00[_0x31629a(0x286)]=function(_0x214960,_0x4b66f5){return _0x214960||_0x4b66f5;},_0x235c00['AzQoQ']=function(_0x5726bf,_0x42c1f4){return _0x5726bf||_0x42c1f4;},_0x235c00[_0x31629a(0x229)]=_0x31629a(0x2ac),_0x235c00[_0x31629a(0x15e)]='NON_BROWSERSTACK_AUTOMATION_SESSIONS';const _0x3e485a=_0x235c00;try{const _0x15a320=_0x19d1a7[_0x31629a(0x260)]||(_0x3e485a[_0x31629a(0x25d)](this[_0x31629a(0x204)]?.[_0x31629a(0x1db)]?.[_0x31629a(0x1a7)](),_0x3e485a['bnKWe'])?_0x3e485a[_0x31629a(0x190)]:_0x3e485a[_0x31629a(0x199)]);let _0x65a139='',_0x3bbe9e=null,_0x367349=null;if(_0x3e485a['ilCLS'](_0x15a320,_0x3e485a[_0x31629a(0x190)])){_0x3bbe9e=_0x19d1a7[_0x31629a(0x216)]?.[_0x31629a(0x19d)]||_0x19d1a7[_0x31629a(0x216)]?.['id']||global[_0x31629a(0x1bc)];if(!_0x3bbe9e){logger[_0x31629a(0x11c)](_0x3e485a[_0x31629a(0x253)]);return;}try{const _0x44b647=await GrpcClient['getInstance']()[_0x31629a(0x1e3)](process[_0x31629a(0x24a)][_0x31629a(0x25b)],_0x3e485a[_0x31629a(0x257)],_0x3e485a['sJkLO'],_0x3bbe9e),_0x46700a=AccessibilityModule[_0x31629a(0x227)](null,_0x44b647);_0x65a139=_0x46700a?.['thTestRunUuid']||'',logger[_0x31629a(0x1d6)](_0x31629a(0x134)+_0x65a139+'\x20from\x20testIdentifier='+_0x3bbe9e),_0x367349=_0x44b647;}catch(_0x2fe973){logger[_0x31629a(0x1ad)](_0x31629a(0x1ba)+_0x2fe973[_0x31629a(0x10c)]);return;}}else{const _0x358a94=this[_0x31629a(0x211)](_0x19d1a7);_0x65a139=TestInfo['getTestUUID'](_0x358a94);}const _0x3c46e7=((()=>{const _0x242f7d=_0x31629a,_0x4185f8=(this['accessibilityConfig']?.['options']?.[_0x242f7d(0x272)]||[])['find'](_0x1642c4=>(typeof _0x1642c4[_0x242f7d(0x1b1)]===_0x242f7d(0x2bf)?_0x1642c4[_0x242f7d(0x1b1)]():_0x1642c4[_0x242f7d(0x1db)])===this[_0x242f7d(0x167)]);return _0x4185f8?_0x3e485a[_0x242f7d(0x285)](typeof _0x4185f8[_0x242f7d(0x147)],_0x3e485a['lbXVs'])?_0x4185f8['getValue']():_0x4185f8[_0x242f7d(0x17d)]:'';})()),_0x3097eb=process['env']['BROWSERSTACK_TESTHUB_JWT']||'';logger[_0x31629a(0x1d6)](_0x31629a(0x135)+(_0x327b6f?.[_0x31629a(0x1bd)]?.()||_0x3e485a[_0x31629a(0x239)])+']\x20clear\x20'+_0x65a139+'\x20testHubUuid='+_0x3c46e7+_0x31629a(0x24b)+(_0x3097eb?_0x3e485a[_0x31629a(0x251)]:_0x3e485a['FFScH']));let _0x4cc8c3;if(_0x3e485a[_0x31629a(0x237)](_0x15a320,_0x3e485a['bnKWe']))_0x4cc8c3=AccessibilityModule['loadDriverExecuteParams'](_0x65a139,_0x367349);else{const _0xf12061=await GrpcClient[_0x31629a(0x1bb)]()['fetchDriverExecuteParamsEvent'](process[_0x31629a(0x24a)]['BROWSERSTACK_CLI_BIN_SESSION_ID'],_0x3e485a[_0x31629a(0x257)],_0x3e485a[_0x31629a(0x223)]);_0x4cc8c3=AccessibilityModule[_0x31629a(0x227)](_0x65a139,_0xf12061);}logger['debug']('Accessibility\x20data\x20for\x20extension:\x20'+JSON[_0x31629a(0x146)](_0x4cc8c3));const _0x388e22=Object[_0x31629a(0x23e)]({},{'thTestRunUuid':_0x3e485a[_0x31629a(0x286)](_0x65a139,''),'thBuildUuid':_0x3e485a[_0x31629a(0x286)](_0x3c46e7,''),'thJwtToken':_0x3e485a['AzQoQ'](_0x3097eb,'')},_0x4cc8c3);logger[_0x31629a(0x1d6)](_0x31629a(0x1b4)+_0x65a139+_0x31629a(0x1eb)+this[_0x31629a(0x212)]);let _0x498b87=global['__workerDetails']?.['pwPage']||null;!_0x498b87&&(_0x498b87=AutomationFramework[_0x31629a(0x100)](_0x327b6f,_0x3e485a[_0x31629a(0x229)],null)),!_0x498b87&&(_0x498b87=AutomationFramework[_0x31629a(0x100)](_0x327b6f,_0x3e485a['cOErq'],null)),await this[_0x31629a(0x289)](this['getCurrentAccessibilityStatus'](),_0x65a139,_0x498b87,_0x388e22,this[_0x31629a(0x212)]);}catch(_0xcfe8b1){logger['error']('Error\x20in\x20stopTestCapture:\x20'+(_0xcfe8b1[_0x31629a(0x2a9)]||_0xcfe8b1[_0x31629a(0x10c)]));}}async[a80_0x48c468(0x289)](_0x163403,_0x2601b5,_0xec9163,_0x361429,_0x14563c){const _0x35b0fe=a80_0x48c468,_0x1039e8={};_0x1039e8[_0x35b0fe(0x231)]='saveResults',_0x1039e8[_0x35b0fe(0x297)]=function(_0x41667c,_0x263187){return _0x41667c&&_0x263187;},_0x1039e8[_0x35b0fe(0x298)]='Skipping\x20saving\x20results\x20from\x20cli,\x20saveResults\x20script\x20is\x20missing',_0x1039e8[_0x35b0fe(0x176)]=function(_0x4d8b27,_0x261a93){return _0x4d8b27===_0x261a93;},_0x1039e8[_0x35b0fe(0x1e2)]=_0x35b0fe(0x1ab),_0x1039e8[_0x35b0fe(0x234)]=function(_0x1f2cb7,_0x216c93){return _0x1f2cb7===_0x216c93;},_0x1039e8['WsaQP']=_0x35b0fe(0x22a),_0x1039e8[_0x35b0fe(0x1f3)]='Performing\x20scan\x20before\x20from\x20cli',_0x1039e8['suMeN']='afterTestHook',_0x1039e8['jkxkA']='scan',_0x1039e8['udIlW']='Running\x20Save\x20results\x20for\x20Accessibility\x20testing',_0x1039e8['lcvkk']=_0x35b0fe(0x12c),_0x1039e8[_0x35b0fe(0x137)]='Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended\x20from\x20cli.';const _0x594c4f=_0x1039e8;try{const _0x25991e=this[_0x35b0fe(0x224)](_0x594c4f[_0x35b0fe(0x231)]);if(_0x594c4f[_0x35b0fe(0x297)](!_0x14563c,!_0x25991e)){logger[_0x35b0fe(0x1d6)](_0x594c4f['cyFKf']);return;}if(!_0x2601b5||_0x594c4f[_0x35b0fe(0x176)](_0x2601b5,_0x594c4f[_0x35b0fe(0x1e2)])||_0x594c4f[_0x35b0fe(0x234)](_0x2601b5,'')){logger[_0x35b0fe(0x1d6)](_0x594c4f[_0x35b0fe(0x22d)]);return;}logger[_0x35b0fe(0x1d6)](_0x35b0fe(0x25f)+JSON['stringify'](_0x361429)),_0x163403&&(logger[_0x35b0fe(0x1d6)](_0x594c4f[_0x35b0fe(0x1f3)]),await this[_0x35b0fe(0x1cf)](_0xec9163,_0x2601b5,_0x594c4f[_0x35b0fe(0x287)],_0x361429,_0x14563c,_0x594c4f['jkxkA']),_0x594c4f[_0x35b0fe(0x297)](!_0x14563c,_0x25991e)&&(logger[_0x35b0fe(0x1d6)](_0x594c4f[_0x35b0fe(0x22f)]),await PerformanceTester['measureWrapper'](_0x594c4f[_0x35b0fe(0x19e)],async()=>{const _0x4f0885=_0x35b0fe;await this[_0x4f0885(0x1cf)](_0xec9163,_0x2601b5,_0x594c4f[_0x4f0885(0x231)],_0x361429,_0x14563c,_0x594c4f[_0x4f0885(0x231)]);})()),logger[_0x35b0fe(0x252)](_0x594c4f[_0x35b0fe(0x137)]));}catch(_0x235275){logger['error']('Unable\x20to\x20mark\x20test\x20finish\x20for\x20accessibility\x20from\x20cli\x20-\x20'+(_0x235275[_0x35b0fe(0x2a9)]||_0x235275[_0x35b0fe(0x10c)]));}}async[a80_0x48c468(0x124)](_0x59f28c){const _0x1de37d=a80_0x48c468,_0x46078a={};_0x46078a[_0x1de37d(0x129)]=function(_0x3c7a0b,_0xb5aeb2){return _0x3c7a0b!==_0xb5aeb2;},_0x46078a[_0x1de37d(0x25c)]=_0x1de37d(0x11f),_0x46078a['StGaZ']=function(_0x1603b1,_0x478c19){return _0x1603b1!==_0x478c19;},_0x46078a['JxrPb']=_0x1de37d(0x21c),_0x46078a[_0x1de37d(0x28e)]='onBeforeExecute:\x20Skipping\x20accessibility\x20scan\x20-\x20not\x20a\x20supported\x20test\x20framework',_0x46078a['cImXq']=_0x1de37d(0x213),_0x46078a[_0x1de37d(0x189)]=_0x1de37d(0x18f),_0x46078a[_0x1de37d(0x256)]=function(_0x992a27,_0x306bfd){return _0x992a27===_0x306bfd;},_0x46078a[_0x1de37d(0x26a)]=_0x1de37d(0x2ae),_0x46078a[_0x1de37d(0x1e0)]=_0x1de37d(0x277),_0x46078a[_0x1de37d(0x1dd)]=_0x1de37d(0x185),_0x46078a['aNnjs']=_0x1de37d(0x221),_0x46078a[_0x1de37d(0x2b0)]=_0x1de37d(0x283),_0x46078a[_0x1de37d(0x206)]=function(_0x1f9121,_0x59e345){return _0x1f9121===_0x59e345;},_0x46078a[_0x1de37d(0x23c)]=_0x1de37d(0x1e9),_0x46078a[_0x1de37d(0x1ec)]=_0x1de37d(0x1ab);const _0x3dd801=_0x46078a;if(_0x3dd801[_0x1de37d(0x129)](_0x59f28c[_0x1de37d(0x260)],_0x3dd801[_0x1de37d(0x25c)])&&_0x3dd801[_0x1de37d(0x1fa)](_0x59f28c[_0x1de37d(0x260)],_0x3dd801['JxrPb'])){logger[_0x1de37d(0x1d6)](_0x3dd801[_0x1de37d(0x28e)]);return;}logger[_0x1de37d(0x1d6)]('onBeforeExecute:\x20command='+(_0x59f28c[_0x1de37d(0x132)]||_0x3dd801[_0x1de37d(0x1dc)])+',\x20framework='+_0x59f28c['testFramework']);try{const _0x23fa9f=_0x59f28c['instance']||AutomationFramework[_0x1de37d(0x19c)](),_0x236d41=TestFramework[_0x1de37d(0x19c)](),_0x1378f8=_0x59f28c['commandName']||_0x59f28c[_0x1de37d(0x127)]?.[_0x1de37d(0x1b1)]();if(!_0x1378f8){logger[_0x1de37d(0x1d6)](_0x3dd801['ozxHF']);return;}if(!this[_0x1de37d(0x291)]()){logger[_0x1de37d(0x1d6)](_0x1de37d(0x26b)+_0x1378f8);return;}if(!this[_0x1de37d(0x182)](_0x1378f8)){logger[_0x1de37d(0x1d6)]('onBeforeExecute:\x20Command\x20'+_0x1378f8+_0x1de37d(0x281));return;}const _0xbd0e08=_0x59f28c[_0x1de37d(0x1c1)]||global[_0x1de37d(0x20d)]?.[_0x1de37d(0x1f7)];if(!_0xbd0e08){logger[_0x1de37d(0x1d6)]('onBeforeExecute:\x20Page\x20object\x20not\x20available\x20for\x20command\x20'+_0x1378f8);return;}let _0x75ff75='',_0x56c390=null;if(_0x3dd801['mFiom'](_0x59f28c['testFramework'],_0x3dd801[_0x1de37d(0x217)])){_0x56c390=_0x59f28c[_0x1de37d(0x216)]?.[_0x1de37d(0x19d)]||_0x59f28c[_0x1de37d(0x216)]?.['id']||global[_0x1de37d(0x1bc)];if(!_0x56c390){logger[_0x1de37d(0x11c)](_0x3dd801[_0x1de37d(0x26a)]);return;}try{const _0x3d4e53=await GrpcClient[_0x1de37d(0x1bb)]()[_0x1de37d(0x1e3)](process['env'][_0x1de37d(0x25b)],_0x3dd801['KTNUN'],_0x3dd801[_0x1de37d(0x1dd)],_0x56c390),_0x1ee6aa=AccessibilityModule[_0x1de37d(0x227)](null,_0x3d4e53);_0x75ff75=_0x1ee6aa?.[_0x1de37d(0x1b8)]||'',logger[_0x1de37d(0x1d6)]('[AccessibilityModule]\x20onBeforeExecute:\x20Jest\x20-\x20resolved\x20thTestRunUuid='+_0x75ff75+_0x1de37d(0x181)+_0x56c390);}catch(_0x4fe528){logger[_0x1de37d(0x1ad)](_0x1de37d(0x280)+_0x4fe528[_0x1de37d(0x10c)]);return;}}else _0x75ff75=this[_0x1de37d(0x1ac)](_0x3dd801[_0x1de37d(0x19b)])||'';const _0x101a7f=this[_0x1de37d(0x1ac)](_0x3dd801['ZdTOE'])||this[_0x1de37d(0x270)][this['KEY_TESTHUB_BUILD_ID']]||null,_0x4cf486=process[_0x1de37d(0x24a)][_0x1de37d(0x294)]||'',_0x57583d=this[_0x1de37d(0x1cb)](_0x1378f8,_0x75ff75,_0x101a7f,_0x4cf486),_0x59c315=_0x3dd801['ycUqa'](_0x59f28c[_0x1de37d(0x260)],_0x3dd801[_0x1de37d(0x217)])?await AccessibilityModule[_0x1de37d(0x116)](_0x3dd801[_0x1de37d(0x23c)],_0x75ff75,_0x56c390):await AccessibilityModule[_0x1de37d(0x116)](_0x3dd801[_0x1de37d(0x23c)],_0x75ff75);logger['info'](_0x1de37d(0x271)+(_0x57583d?JSON[_0x1de37d(0x146)](_0x57583d):_0x3dd801[_0x1de37d(0x1ec)]));const _0x32f42e=CLIUtils['mergeObject'](_0x57583d,_0x59c315);logger[_0x1de37d(0x252)](_0x1de37d(0x233)+(_0x32f42e?JSON['stringify'](_0x32f42e):_0x3dd801[_0x1de37d(0x1ec)])),logger[_0x1de37d(0x1d6)]('onBeforeExecute:\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20'+_0x1378f8);const _0x2006aa=await this[_0x1de37d(0x1cf)](_0xbd0e08,_0x75ff75,_0x1378f8,_0x32f42e,this[_0x1de37d(0x212)]);logger[_0x1de37d(0x1d6)]('onBeforeExecute:\x20Accessibility\x20scan\x20completed\x20for\x20command:\x20'+_0x1378f8+',\x20\x0a\x20'+_0x2006aa);}catch(_0x28d659){logger['error'](_0x1de37d(0x1c2)+(_0x28d659[_0x1de37d(0x2a9)]||_0x28d659[_0x1de37d(0x10c)]));}}['shouldScanCurrentTest'](){const _0x291c11=a80_0x48c468;return this[_0x291c11(0x291)]();}[a80_0x48c468(0x120)](_0x3e48d1){const _0x521221=a80_0x48c468,_0x8cdd1=CLIUtils[_0x521221(0x13a)]();this[_0x521221(0x277)][_0x521221(0x17e)](_0x8cdd1,_0x3e48d1);}async[a80_0x48c468(0x12e)](_0x595410){const _0x11a1d5=a80_0x48c468,_0x4ac48b={};_0x4ac48b['KcdIr']=_0x11a1d5(0x213);const _0x18f9d5=_0x4ac48b;try{const _0x35b20=_0x595410[_0x11a1d5(0x1ce)]||AutomationFramework[_0x11a1d5(0x19c)](),_0x298123=_0x35b20?.[_0x11a1d5(0x12f)]?.()?.[_0x11a1d5(0x2a4)]?.(this[_0x11a1d5(0x1f8)])||![];if(_0x298123)return;PerformanceTester['start'](EVENTS[_0x11a1d5(0x238)]);const _0x4533e3=await GrpcClient[_0x11a1d5(0x1bb)]()['getAccessibilityConfig'](_0x595410);_0x4533e3&&_0x4533e3[_0x11a1d5(0x114)]&&_0x4533e3[_0x11a1d5(0x114)]()&&_0x4533e3[_0x11a1d5(0x114)]()[_0x11a1d5(0x274)]()?(await this['loadAccessibilityConfig'](_0x4533e3,_0x595410),_0x35b20?.[_0x11a1d5(0x12f)]&&_0x35b20[_0x11a1d5(0x12f)]()[_0x11a1d5(0x17e)](this[_0x11a1d5(0x1f8)],!![]),logger[_0x11a1d5(0x1d6)]('[platform\x20-\x20'+(_0x35b20?.[_0x11a1d5(0x1bd)]?.()||_0x18f9d5[_0x11a1d5(0x228)])+_0x11a1d5(0x1e8))):logger[_0x11a1d5(0x1d6)](_0x11a1d5(0x135)+(_0x35b20?.[_0x11a1d5(0x1bd)]?.()||_0x18f9d5['KcdIr'])+_0x11a1d5(0x288)),PerformanceTester[_0x11a1d5(0x2be)](EVENTS[_0x11a1d5(0x238)]);}catch(_0x10a6fa){PerformanceTester['end'](EVENTS[_0x11a1d5(0x238)],![],_0x10a6fa[_0x11a1d5(0x10c)]),logger[_0x11a1d5(0x1ad)]('Error\x20in\x20initAccessibilityConfig:\x20'+(_0x10a6fa[_0x11a1d5(0x2a9)]||_0x10a6fa[_0x11a1d5(0x10c)]));}}async[a80_0x48c468(0x27c)](_0x1fc198,_0x197931){const _0x89b63b=a80_0x48c468;await this[_0x89b63b(0x193)](_0x1fc198,_0x197931);const _0x41228a=_0x1fc198[_0x89b63b(0x114)]()['getOptions']();if(_0x41228a){const _0x3b7110=_0x1fc198['getTesthub']&&_0x1fc198[_0x89b63b(0x198)]();_0x3b7110&&(this[_0x89b63b(0x270)][this[_0x89b63b(0x167)]]=_0x3b7110['getBuildId']&&_0x3b7110[_0x89b63b(0x173)]());}}[a80_0x48c468(0x182)](_0x27f756){const _0x3c3554=a80_0x48c468,_0x310263={};_0x310263[_0x3c3554(0x105)]=function(_0x535503,_0x14320a){return _0x535503===_0x14320a;};const _0x200d92=_0x310263;try{if(!_0x27f756)return![];const _0x59c69a=this['accessibilityConfig']?.[_0x3c3554(0x191)]?.[_0x3c3554(0x1f6)]?.[_0x3c3554(0x1d3)]||[],_0x49fbb8=_0x59c69a['some'](_0x181a01=>{const _0x456e58=_0x3c3554;return _0x181a01['name']&&_0x200d92[_0x456e58(0x105)](_0x181a01[_0x456e58(0x1db)][_0x456e58(0x1a7)](),_0x27f756[_0x456e58(0x1a7)]());});return logger[_0x3c3554(0x1d6)](_0x3c3554(0x2ab)+_0x27f756+_0x3c3554(0x242)+_0x49fbb8+_0x3c3554(0x24f)+JSON[_0x3c3554(0x146)](_0x59c69a[_0x3c3554(0x184)](_0xa919be=>_0xa919be[_0x3c3554(0x1db)]))),_0x49fbb8;}catch(_0x13c9c5){return logger[_0x3c3554(0x1d6)](_0x3c3554(0x1e4)+_0x13c9c5[_0x3c3554(0x10c)]),![];}}['isBrowserstackScriptCommand'](_0x478bf5){const _0xb6b7c4=a80_0x48c468,_0x14a73f={};_0x14a73f[_0xb6b7c4(0x171)]=function(_0x409f41,_0x3fa99d){return _0x409f41===_0x3fa99d;},_0x14a73f[_0xb6b7c4(0x2a3)]='string',_0x14a73f[_0xb6b7c4(0x26d)]=_0xb6b7c4(0x209);const _0x42941c=_0x14a73f,_0x4ab6e7=_0x478bf5[_0xb6b7c4(0x18e)]&&_0x478bf5[_0xb6b7c4(0x18e)]();return _0x4ab6e7&&_0x42941c[_0xb6b7c4(0x171)](typeof _0x4ab6e7,_0x42941c[_0xb6b7c4(0x2a3)])&&_0x4ab6e7[_0xb6b7c4(0x14c)](_0x42941c['zGPir']);}['isAccessibilityScriptCommand'](_0x1923e3){const _0x486996=a80_0x48c468,_0x354850={};_0x354850[_0x486996(0x18a)]=function(_0x203c7e,_0xd394c){return _0x203c7e!==_0xd394c;},_0x354850['RYjYf']=_0x486996(0x1cd),_0x354850['myJwn']=_0x486996(0x277),_0x354850[_0x486996(0x2bc)]=_0x486996(0x185),_0x354850[_0x486996(0x25e)]=_0x486996(0x1d9),_0x354850[_0x486996(0x112)]='saveTestResults';const _0x1dfc4d=_0x354850,_0x40899e=_0x1923e3['getScript']&&_0x1923e3[_0x486996(0x18e)]();if(!_0x40899e||_0x1dfc4d[_0x486996(0x18a)](typeof _0x40899e,_0x1dfc4d[_0x486996(0x1f5)]))return![];return _0x40899e[_0x486996(0x14c)](_0x1dfc4d['myJwn'])||_0x40899e[_0x486996(0x14c)](_0x1dfc4d['VmDcv'])||_0x40899e[_0x486996(0x14c)](_0x1dfc4d[_0x486996(0x25e)])||_0x40899e[_0x486996(0x14c)](_0x1dfc4d['OHseZ']);}[a80_0x48c468(0x1cb)](_0x1c7183,_0x58dce3,_0x465a75,_0x2e01b5){const _0x139ad2=a80_0x48c468,_0x1eaabf={};_0x1eaabf['GMAuy']=function(_0x540b81,_0x5f7665){return _0x540b81||_0x5f7665;},_0x1eaabf[_0x139ad2(0x220)]=function(_0x1a9b97,_0x1af07d){return _0x1a9b97||_0x1af07d;},_0x1eaabf[_0x139ad2(0x241)]=function(_0xeb8cf,_0x49f838){return _0xeb8cf||_0x49f838;};const _0xaeb5f2=_0x1eaabf;return{'command':_0x1c7183,'thTestRunUuid':_0xaeb5f2[_0x139ad2(0x2af)](_0x58dce3,''),'thBuildUuid':_0xaeb5f2[_0x139ad2(0x220)](_0x465a75,''),'thJwtToken':_0xaeb5f2[_0x139ad2(0x241)](_0x2e01b5,''),'timestamp':new Date()[_0x139ad2(0x292)]()};}[a80_0x48c468(0x224)](_0x5fdfda){const _0x43e24b=a80_0x48c468,_0x3a354f={};_0x3a354f['qxCIW']=function(_0x18e239,_0xd62a28){return _0x18e239||_0xd62a28;};const _0x44a175=_0x3a354f;try{const _0x51479e=this[_0x43e24b(0x270)]?.[_0x43e24b(0x191)]?.['scriptsList']||[],_0x72bc5b=_0x51479e[_0x43e24b(0x246)](_0x3635c9=>_0x3635c9['name']===_0x5fdfda);return _0x44a175[_0x43e24b(0x162)](_0x72bc5b,null);}catch(_0xceb840){return logger[_0x43e24b(0x1d6)](_0x43e24b(0x29a)+_0x5fdfda+':\x20'+_0xceb840[_0x43e24b(0x10c)]),null;}}async[a80_0x48c468(0x2a2)](_0x2780e7,_0x1a4adf,_0x2e9ce0=null){const _0x423082=a80_0x48c468,_0x1a494a={'TAZrD':function(_0x2b5512,_0x3f1993){return _0x2b5512(_0x3f1993);},'OeSUz':'../../playwright/accessibility-helper'};try{if(!_0x2780e7)return logger['debug'](_0x423082(0x22c)+_0x1a4adf),null;const _0x5d912b=this['getScriptByName'](_0x1a4adf);if(!_0x5d912b||!_0x5d912b['command'])return logger[_0x423082(0x1d6)]('executeScriptByName:\x20No\x20'+_0x1a4adf+'\x20script\x20available'),null;logger[_0x423082(0x1d6)](_0x423082(0x1f9)+_0x1a4adf+_0x423082(0x273));const _0x2ca09c=_0x1a494a[_0x423082(0x140)](require,_0x1a494a['OeSUz']),_0x117878=_0x2e9ce0?await _0x2ca09c[_0x423082(0xff)](_0x2780e7,_0x5d912b['command'],_0x2e9ce0):await _0x2ca09c['browserStackEvaluate'](_0x2780e7,_0x5d912b['command']);return _0x117878;}catch(_0x462218){return logger[_0x423082(0x1ad)]('Error\x20executing\x20script\x20'+_0x1a4adf+':\x20'+(_0x462218[_0x423082(0x2a9)]||_0x462218[_0x423082(0x10c)])),null;}}async[a80_0x48c468(0x1cf)](_0x453b05,_0x39813b,_0x41b8cd,_0x4918be,_0x59bf50,_0x134d24=a80_0x48c468(0x1e9)){const _0x131a1f=a80_0x48c468,_0x1a1b1c={'KHssU':function(_0x4a8c34,_0x50afad){return _0x4a8c34===_0x50afad;},'ukSjD':_0x131a1f(0x1e9),'GhXVG':function(_0x5c17f3,_0x2563da){return _0x5c17f3(_0x2563da);},'OMMlq':_0x131a1f(0x16b),'eopTd':function(_0x4ad8c7,_0x530910){return _0x4ad8c7(_0x530910);}};try{logger['debug'](_0x131a1f(0x219)+_0x41b8cd+_0x131a1f(0x15a)+_0x134d24);const _0x3d6ec2=this[_0x131a1f(0x224)](_0x134d24);if(!_0x3d6ec2||!_0x3d6ec2[_0x131a1f(0x127)]){logger[_0x131a1f(0x1d6)](_0x131a1f(0x14f)+_0x134d24+_0x131a1f(0x130));return;}if(_0x1a1b1c[_0x131a1f(0x21d)](_0x134d24,_0x1a1b1c[_0x131a1f(0x1b3)])){const _0x3c79c1=_0x1a1b1c['GhXVG'](require,_0x1a1b1c[_0x131a1f(0x1c6)]),_0x5dfd2b={};_0x5dfd2b[_0x131a1f(0x127)]=_0x41b8cd;const _0x5f3653=await PerformanceTester[_0x131a1f(0x158)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x2b81ab=_0x131a1f;await _0x3c79c1['browserStackEvaluate'](_0x453b05,_0x3d6ec2[_0x2b81ab(0x127)]);},_0x5dfd2b)();return logger[_0x131a1f(0x252)](_0x131a1f(0x1b5)+_0x134d24+_0x131a1f(0x11b)+_0x41b8cd+':\x20'+util[_0x131a1f(0x1af)](_0x5f3653)),_0x5f3653;}const _0x48f5f0=_0x1a1b1c[_0x131a1f(0x262)](require,_0x1a1b1c['OMMlq']),_0x227fa5=await PerformanceTester[_0x131a1f(0x158)](PerformanceA11yEvents[_0x131a1f(0x230)],async()=>{const _0x289982=_0x131a1f;await _0x48f5f0[_0x289982(0xff)](_0x453b05,_0x3d6ec2['command'],_0x4918be);})();return logger[_0x131a1f(0x252)](_0x131a1f(0x1b5)+_0x134d24+'\x20result\x20for\x20'+_0x41b8cd+':\x20'+util[_0x131a1f(0x1af)](_0x227fa5)),_0x227fa5;}catch(_0x4900cb){logger['error'](_0x131a1f(0x1c7)+_0x134d24+':\x20'+(_0x4900cb['stack']||_0x4900cb[_0x131a1f(0x10c)]));}}async[a80_0x48c468(0x1a5)](_0x1e26b5){const _0xfe65dc=a80_0x48c468,_0x11e92c={'KGszb':function(_0x50a6f3,_0x11321d){return _0x50a6f3(_0x11321d);},'mUEyb':'../../../helpers/accessibility-automation/helper'};try{const _0x16ec88=_0x11e92c[_0xfe65dc(0x249)](require,_0x11e92c[_0xfe65dc(0x174)]);return await _0x16ec88[_0xfe65dc(0x250)](_0x1e26b5);}catch(_0x45c2ed){return logger['error'](_0xfe65dc(0x15c)+(_0x45c2ed[_0xfe65dc(0x2a9)]||_0x45c2ed[_0xfe65dc(0x10c)])),![];}}[a80_0x48c468(0x24d)](_0x41038d,_0x291fb3,_0x2b77bf){const _0x5798bb=a80_0x48c468,_0x139317={'zLZHH':function(_0x23b0c9,_0x437697){return _0x23b0c9(_0x437697);},'nNJjK':_0x5798bb(0x16b),'EuTMq':'\x22browserstack.user\x22:\x22[REDACTED]\x22','gqdHL':_0x5798bb(0x284)};try{const _0x4ff574=_0x139317['zLZHH'](require,_0x139317[_0x5798bb(0x2a0)]);_0x4ff574[_0x5798bb(0x24d)](_0x41038d,_0x291fb3,_0x2b77bf);const _0x444d13=JSON[_0x5798bb(0x146)](_0x41038d)[_0x5798bb(0x10a)](/"browserstack\.user":"[^"]*"/g,_0x139317[_0x5798bb(0x265)])[_0x5798bb(0x10a)](/"browserstack\.key":"[^"]*"/g,_0x139317['gqdHL']);logger['debug'](_0x5798bb(0x18d)+global[_0x5798bb(0x16e)]+'\x20'+_0x444d13);}catch(_0x2ba538){logger['error'](_0x5798bb(0x177)+(_0x2ba538[_0x5798bb(0x2a9)]||_0x2ba538[_0x5798bb(0x10c)]));}}async[a80_0x48c468(0x138)](_0x129bd9){const _0x1e636f=a80_0x48c468,_0x28e01d={};_0x28e01d[_0x1e636f(0x1a6)]='Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20results.',_0x28e01d[_0x1e636f(0x2a7)]=_0x1e636f(0x1d9);const _0x341a87=_0x28e01d;try{if(!this[_0x1e636f(0x291)]())return logger[_0x1e636f(0x11c)](_0x341a87[_0x1e636f(0x1a6)]),[];const _0x22d3c8=await this[_0x1e636f(0x2a2)](_0x129bd9,_0x341a87[_0x1e636f(0x2a7)]);return _0x22d3c8||[];}catch(_0x33ec3a){return logger[_0x1e636f(0x1ad)](_0x1e636f(0x17f)+(_0x33ec3a[_0x1e636f(0x2a9)]||_0x33ec3a[_0x1e636f(0x10c)])),[];}}async[a80_0x48c468(0x1a8)](_0x36314a){const _0x4fce85=a80_0x48c468,_0x1a88b8={'SPQhz':_0x4fce85(0x1e9),'IzyIR':_0x4fce85(0x18c),'ctaWs':_0x4fce85(0x142),'WwctY':function(_0x1d660b,_0x1cd4a2){return _0x1d660b(_0x1cd4a2);},'SrXcW':_0x4fce85(0x1b2),'ZfDxV':function(_0x28e113,_0x1d44eb){return _0x28e113===_0x1d44eb;},'XmGEF':'jest','udqir':'getAccessibilityResultsSummary:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20cannot\x20retrieve\x20summary.','BirYK':_0x4fce85(0x277),'yLllI':_0x4fce85(0x283),'YdTYw':_0x4fce85(0x1a8),'vsPoq':_0x4fce85(0x221),'yxzaY':_0x4fce85(0x2b5),'Ntrea':'No\x20summaryResults\x20found.'};try{if(!this[_0x4fce85(0x291)]())return logger[_0x4fce85(0x11c)](_0x1a88b8[_0x4fce85(0x20f)]),{};const _0x22f79e=_0x1a88b8[_0x4fce85(0x25a)](require,_0x1a88b8[_0x4fce85(0x12d)]),_0x37e886=_0x22f79e[_0x4fce85(0x143)](),_0x52e8eb=_0x1a88b8[_0x4fce85(0x214)](_0x37e886?.[_0x4fce85(0x1db)]?.['toLowerCase'](),_0x1a88b8['XmGEF']);let _0x22fb09='',_0x5c2ca0=null,_0x27c61b=null;if(_0x52e8eb){_0x5c2ca0=global['__jestCurrentTestIdentifier']||global['__workerDetails']?.['currentTest']?.[_0x4fce85(0x19d)]||global['__workerDetails']?.[_0x4fce85(0x22e)]?.['id'];if(!_0x5c2ca0)return logger[_0x4fce85(0x11c)](_0x1a88b8[_0x4fce85(0x188)]),{};try{const _0x354204=await GrpcClient[_0x4fce85(0x1bb)]()[_0x4fce85(0x1e3)](process[_0x4fce85(0x24a)][_0x4fce85(0x25b)],_0x1a88b8[_0x4fce85(0x210)],_0x1a88b8[_0x4fce85(0x1ff)],_0x5c2ca0),_0x28d80c=AccessibilityModule[_0x4fce85(0x227)](null,_0x354204);_0x22fb09=_0x28d80c?.['thTestRunUuid']||'',logger['debug'](_0x4fce85(0x26f)+_0x22fb09+_0x4fce85(0x181)+_0x5c2ca0);const _0x1b5198=await AccessibilityModule['fetchCentralAuthA11yConfig'](_0x1a88b8[_0x4fce85(0x1ff)],_0x22fb09,_0x5c2ca0),_0x3c0aee=this['getCapabilityValue'](_0x1a88b8[_0x4fce85(0x150)])||this[_0x4fce85(0x270)][this['KEY_TESTHUB_BUILD_ID']]||null,_0x5b74ba=process[_0x4fce85(0x24a)][_0x4fce85(0x294)]||'',_0x5be99c=this[_0x4fce85(0x1cb)](_0x1a88b8['YdTYw'],_0x22fb09,_0x3c0aee,_0x5b74ba);_0x27c61b=_0x22f79e[_0x4fce85(0x1f1)](_0x5be99c,_0x1b5198),logger['debug'](_0x4fce85(0x12b)+JSON[_0x4fce85(0x146)](_0x27c61b));}catch(_0x18f520){return logger[_0x4fce85(0x1ad)](_0x4fce85(0x2b8)+_0x18f520['message']),{};}}else{_0x22fb09=this[_0x4fce85(0x1ac)](_0x1a88b8[_0x4fce85(0x1a0)])||'';const _0x262621=this[_0x4fce85(0x1ac)](_0x1a88b8['yLllI'])||this[_0x4fce85(0x270)][this[_0x4fce85(0x167)]]||null,_0x596bb9=process[_0x4fce85(0x24a)][_0x4fce85(0x294)]||'';_0x27c61b=this['getParamsForScanForCli'](_0x1a88b8[_0x4fce85(0x28a)],_0x22fb09,_0x262621,_0x596bb9);}logger[_0x4fce85(0x1d6)](_0x1a88b8[_0x4fce85(0x13c)]),await PerformanceTester['measureWrapper'](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x3f98df=_0x4fce85,_0x57e295=await this[_0x3f98df(0x2a2)](_0x36314a,_0x1a88b8['SPQhz'],_0x27c61b);logger[_0x3f98df(0x1d6)](_0x3f98df(0x155)+util['format'](_0x57e295));},{'command':_0x1a88b8[_0x4fce85(0x28a)]})();const _0x45bb28=await PerformanceTester[_0x4fce85(0x158)](PerformanceA11yEvents[_0x4fce85(0x200)],async()=>{const _0x12ac2f=_0x4fce85;return await this[_0x12ac2f(0x2a2)](_0x36314a,_0x1a88b8[_0x12ac2f(0x1ff)],_0x27c61b);})();if(!_0x45bb28)return logger[_0x4fce85(0x1d6)](_0x1a88b8[_0x4fce85(0x254)]),{};return _0x45bb28;}catch(_0xf49f3f){return logger['error'](_0x4fce85(0x1be)+(_0xf49f3f['stack']||_0xf49f3f[_0x4fce85(0x10c)])),{};}}async[a80_0x48c468(0x168)](_0x1d6b50,_0x22e2c7,_0x52cdd5=null){const _0x4beed9=a80_0x48c468,_0x1c9401={};_0x1c9401['qxive']='performPageScan:\x20Page\x20is\x20null',_0x1c9401[_0x4beed9(0x1c8)]=_0x4beed9(0x1d2),_0x1c9401['npmwJ']='Executing\x20accessibility\x20script\x20on\x20page';const _0x217b25=_0x1c9401;try{if(!_0x1d6b50)return logger[_0x4beed9(0x1d6)](_0x217b25[_0x4beed9(0x18b)]),null;if(!_0x22e2c7)return logger[_0x4beed9(0x1d6)](_0x217b25[_0x4beed9(0x1c8)]),null;logger[_0x4beed9(0x1d6)](_0x217b25[_0x4beed9(0x215)]);const _0x5f63d8=_0x52cdd5?await _0x1d6b50['evaluate'](_0x22e2c7,_0x52cdd5):await _0x1d6b50[_0x4beed9(0x21f)](_0x22e2c7);return _0x5f63d8;}catch(_0xf84b16){return logger['error'](_0x4beed9(0x13f)+(_0xf84b16[_0x4beed9(0x2a9)]||_0xf84b16[_0x4beed9(0x10c)])),null;}}static[a80_0x48c468(0x227)](_0x5ad056,_0x41eeb5){const _0x14bc67=a80_0x48c468,_0x4fe416={};_0x4fe416[_0x14bc67(0x26e)]='ascii';const _0x18c152=_0x4fe416,_0x40bb4b={};_0x40bb4b['thTestRunUuid']=_0x5ad056;const _0x21a738=_0x40bb4b;let _0x113423={};if(_0x41eeb5[_0x14bc67(0x274)]()&&_0x41eeb5[_0x14bc67(0x139)]())try{_0x113423=JSON[_0x14bc67(0x149)](new Buffer(_0x41eeb5['getAccessibilityExecuteParams']())['toString'](_0x18c152[_0x14bc67(0x26e)]));}catch(_0x54999d){logger[_0x14bc67(0x1ad)](_0x14bc67(0x106)+_0x54999d[_0x14bc67(0x10c)]),_0x113423={};}return CLIUtils[_0x14bc67(0x1f1)](_0x21a738,_0x113423);}static async[a80_0x48c468(0x116)](_0xd5d2f2,_0x335250='',_0x1cb209=null){const _0x111346=a80_0x48c468,_0x19bac1={};_0x19bac1[_0x111346(0x186)]='fetchCentralAuthA11yConfig:\x20No\x20bin\x20session\x20ID\x20available',_0x19bac1[_0x111346(0x13b)]=_0x111346(0x277);const _0x5735ff=_0x19bac1;try{if(!_0x1cb209&&AccessibilityModule[_0x111346(0x290)])return AccessibilityModule['_centralAuthA11yConfig'];if(!process[_0x111346(0x24a)]['BROWSERSTACK_CLI_BIN_SESSION_ID'])return logger[_0x111346(0x1ad)](_0x5735ff['zKXIy']),{};const _0x5f6256=await GrpcClient[_0x111346(0x1bb)]()[_0x111346(0x1e3)](process['env'][_0x111346(0x25b)],_0x5735ff[_0x111346(0x13b)],_0xd5d2f2,_0x1cb209),_0x5a191b=_0x1cb209?AccessibilityModule[_0x111346(0x227)](null,_0x5f6256)?.['thTestRunUuid']||_0x335250:_0x335250,_0x1fe806=AccessibilityModule[_0x111346(0x227)](_0x5a191b,_0x5f6256);return!_0x1cb209&&(AccessibilityModule[_0x111346(0x166)]=_0x1fe806,AccessibilityModule[_0x111346(0x290)]=!![]),_0x1fe806;}catch(_0x1f66db){return logger['error'](_0x111346(0x225)+_0xd5d2f2+':\x20'+(_0x1f66db[_0x111346(0x2a9)]||_0x1f66db[_0x111346(0x10c)])),{};}}};module[a80_0x48c468(0x232)]=AccessibilityModule;
@@ -1 +1 @@
1
- function a81_0x1438(_0xf99643,_0x37933e){const _0x339c3e=a81_0x339c();return a81_0x1438=function(_0x143885,_0x51bdc9){_0x143885=_0x143885-0xc9;let _0x1d9b1b=_0x339c3e[_0x143885];return _0x1d9b1b;},a81_0x1438(_0xf99643,_0x37933e);}const a81_0x46af66=a81_0x1438;function a81_0x339c(){const _0x2cd249=['version','2139468nVuQJr','_test','2|3|4|1|5|0','OKTmQ','config','../../../helpers/logger.js','object','winstonLogger','platformIndex','PLAYWRIGHT','WUVfM','3|4|2|1|0','name','10512kdCcwX','GorMD','getModuleName','4RVcYzY','testFrameworkData',',\x20platformIndex=','split','CUCUMBER','JEST','exports','client','856rANYRX','4213622Hoxchh','vvyvt','iruPQ','\x20with\x20binSessionId=','143751MaSSim','getTestId','aFcmW','testCaseStartedId','binSessionId','setTestFrameworkData','testFramework','testInfo','xuWks','8036NyoJnU','3315110HzUTCu','1713562KDFYro'];a81_0x339c=function(){return _0x2cd249;};return a81_0x339c();}(function(_0x380072,_0x513337){const _0x3b69e5=a81_0x1438,_0x57a1a9=_0x380072();while(!![]){try{const _0x3c1341=parseInt(_0x3b69e5(0xe8))/0x1+parseInt(_0x3b69e5(0xea))/0x2+parseInt(_0x3b69e5(0xdf))/0x3+-parseInt(_0x3b69e5(0xd2))/0x4*(-parseInt(_0x3b69e5(0xe9))/0x5)+-parseInt(_0x3b69e5(0xec))/0x6+-parseInt(_0x3b69e5(0xdb))/0x7+-parseInt(_0x3b69e5(0xda))/0x8*(parseInt(_0x3b69e5(0xcf))/0x9);if(_0x3c1341===_0x513337)break;else _0x57a1a9['push'](_0x57a1a9['shift']());}catch(_0x3d53a0){_0x57a1a9['push'](_0x57a1a9['shift']());}}}(a81_0x339c,0x782e0));const logger=require(a81_0x46af66(0xf1))[a81_0x46af66(0xc9)],{FRAMEWORKS}=require('../../../helpers/test-observability/constants.js');class BaseModule{constructor(_0x8ed143=null){const _0x3503a1=a81_0x46af66,_0x19845a={};_0x19845a['aFcmW']=_0x3503a1(0xee),_0x19845a[_0x3503a1(0xdd)]='BaseModule';const _0x430c50=_0x19845a,_0x439dac=_0x430c50[_0x3503a1(0xe1)][_0x3503a1(0xd5)]('|');let _0x216a36=0x0;while(!![]){switch(_0x439dac[_0x216a36++]){case'0':this[_0x3503a1(0xd3)]=this['setTestFrameworkData'](_0x8ed143);continue;case'1':this[_0x3503a1(0xf0)]={};continue;case'2':this['name']=_0x430c50[_0x3503a1(0xdd)];continue;case'3':this[_0x3503a1(0xe3)]=null;continue;case'4':this[_0x3503a1(0xca)]=0x0;continue;case'5':this[_0x3503a1(0xd9)]=null;continue;}break;}}['ensureBinSession'](){const _0xb2fd3e=a81_0x46af66,_0x5cab91={};_0x5cab91[_0xb2fd3e(0xd0)]='Missing\x20binSessionId';const _0x539c51=_0x5cab91;if(!this['binSessionId'])throw new Error(_0x539c51[_0xb2fd3e(0xd0)]);}[a81_0x46af66(0xd1)](){const _0xcb63bf=a81_0x46af66;return this[_0xcb63bf(0xce)];}['configure'](_0x29b38,_0x1ee6a9,_0x2afc09,_0x399d22={}){const _0x3cb7b8=a81_0x46af66,_0x13c84e={};_0x13c84e['xuWks']=_0x3cb7b8(0xcd);const _0x50f452=_0x13c84e,_0x4bc7a4=_0x50f452[_0x3cb7b8(0xe7)][_0x3cb7b8(0xd5)]('|');let _0x56c20c=0x0;while(!![]){switch(_0x4bc7a4[_0x56c20c++]){case'0':logger['debug']('Configured\x20module\x20'+this[_0x3cb7b8(0xd1)]()+_0x3cb7b8(0xde)+_0x29b38+_0x3cb7b8(0xd4)+_0x1ee6a9);continue;case'1':this[_0x3cb7b8(0xf0)]=_0x399d22;continue;case'2':this[_0x3cb7b8(0xd9)]=_0x2afc09;continue;case'3':this['binSessionId']=_0x29b38;continue;case'4':this[_0x3cb7b8(0xca)]=_0x1ee6a9;continue;}break;}}[a81_0x46af66(0xe0)](_0x3491a8){const _0x47dfad=a81_0x46af66,_0x33c418={};_0x33c418['vvyvt']=function(_0x5ce75a,_0x198f41){return _0x5ce75a===_0x198f41;};const _0x410c58=_0x33c418;let _0x496bae='';if(_0x410c58[_0x47dfad(0xdc)](_0x3491a8[_0x47dfad(0xe5)],FRAMEWORKS[_0x47dfad(0xcb)]))_0x496bae=_0x3491a8[_0x47dfad(0xe6)]?.[_0x47dfad(0xed)]?.['id']||_0x3491a8['testInfo']?.['testId'];else{if(_0x410c58['vvyvt'](_0x3491a8[_0x47dfad(0xe5)],FRAMEWORKS[_0x47dfad(0xd6)]))_0x496bae=_0x3491a8[_0x47dfad(0xe6)]?.[_0x47dfad(0xe2)];else _0x410c58[_0x47dfad(0xdc)](_0x3491a8[_0x47dfad(0xe5)],FRAMEWORKS[_0x47dfad(0xd7)])&&(_0x496bae=_0x3491a8['testInfo']?.['id']);}return _0x496bae;}[a81_0x46af66(0xe4)](_0x46dc39){const _0x587fc9=a81_0x46af66,_0x19a891={};_0x19a891[_0x587fc9(0xef)]=function(_0x4e6941,_0x2584e9){return _0x4e6941!==_0x2584e9;},_0x19a891[_0x587fc9(0xcc)]=_0x587fc9(0xf2);const _0x278f25=_0x19a891;if(!_0x46dc39||_0x278f25[_0x587fc9(0xef)](typeof _0x46dc39,_0x278f25[_0x587fc9(0xcc)]))return null;const _0x200070={};_0x200070[_0x587fc9(0xce)]=_0x46dc39[_0x587fc9(0xce)],_0x200070[_0x587fc9(0xeb)]=_0x46dc39['version']&&_0x46dc39[_0x587fc9(0xeb)][_0x46dc39['name']];const _0x1b2755=_0x200070;return _0x1b2755;}}module[a81_0x46af66(0xd8)]=BaseModule;
1
+ function a81_0x1d27(_0x37299d,_0x1f12e0){const _0x3d27df=a81_0x3d27();return a81_0x1d27=function(_0x1d273f,_0x373109){_0x1d273f=_0x1d273f-0x14b;let _0x2acd97=_0x3d27df[_0x1d273f];return _0x2acd97;},a81_0x1d27(_0x37299d,_0x1f12e0);}function a81_0x3d27(){const _0x3927fa=['sKQKS','iFwIq','Missing\x20binSessionId','6vDQiSC','1908128RsNrXk','getModuleName','5DXQZyN','676DoyWzH','CUCUMBER','configure','version','18wkxVSQ','847erjQWh','UYMyj','split','PLAYWRIGHT','testFramework','config','name','2993048AqAfCK','739766RiouYA','6680268xPhHnu','10770nioULn','krEKB','testInfo','platformIndex','../../../helpers/logger.js','../../../helpers/test-observability/constants.js','FXjQK','CTiAy','lFnHm','testCaseStartedId','3|1|4|2|0|5','27vJKryq','150468gkOwqp','JEST','testId','getTestId','ZCSqk','\x20with\x20binSessionId=','binSessionId','setTestFrameworkData','118176mPUBkU'];a81_0x3d27=function(){return _0x3927fa;};return a81_0x3d27();}const a81_0x1046bd=a81_0x1d27;(function(_0x42ba07,_0x49064c){const _0x3f7d26=a81_0x1d27,_0x41ff8e=_0x42ba07();while(!![]){try{const _0x1d292f=-parseInt(_0x3f7d26(0x159))/0x1+parseInt(_0x3f7d26(0x167))/0x2*(parseInt(_0x3f7d26(0x166))/0x3)+-parseInt(_0x3f7d26(0x174))/0x4*(parseInt(_0x3f7d26(0x14b))/0x5)+parseInt(_0x3f7d26(0x173))/0x6*(parseInt(_0x3f7d26(0x15a))/0x7)+-parseInt(_0x3f7d26(0x158))/0x8*(-parseInt(_0x3f7d26(0x150))/0x9)+parseInt(_0x3f7d26(0x15b))/0xa*(-parseInt(_0x3f7d26(0x151))/0xb)+parseInt(_0x3f7d26(0x16f))/0xc*(-parseInt(_0x3f7d26(0x14c))/0xd);if(_0x1d292f===_0x49064c)break;else _0x41ff8e['push'](_0x41ff8e['shift']());}catch(_0x48ebf3){_0x41ff8e['push'](_0x41ff8e['shift']());}}}(a81_0x3d27,0x8aa3d));const logger=require(a81_0x1046bd(0x15f))['winstonLogger'],{FRAMEWORKS}=require(a81_0x1046bd(0x160));class BaseModule{constructor(_0x29f688=null){const _0x49ec20=a81_0x1046bd,_0xe39015={};_0xe39015[_0x49ec20(0x16b)]=_0x49ec20(0x165),_0xe39015[_0x49ec20(0x163)]='BaseModule';const _0x5620f2=_0xe39015,_0x369c3a=_0x5620f2[_0x49ec20(0x16b)][_0x49ec20(0x153)]('|');let _0x1d7e00=0x0;while(!![]){switch(_0x369c3a[_0x1d7e00++]){case'0':this['client']=null;continue;case'1':this[_0x49ec20(0x16d)]=null;continue;case'2':this[_0x49ec20(0x156)]={};continue;case'3':this[_0x49ec20(0x157)]=_0x5620f2[_0x49ec20(0x163)];continue;case'4':this[_0x49ec20(0x15e)]=0x0;continue;case'5':this['testFrameworkData']=this[_0x49ec20(0x16e)](_0x29f688);continue;}break;}}['ensureBinSession'](){const _0x24f0dc=a81_0x1046bd,_0x51b9a4={};_0x51b9a4['iFwIq']=_0x24f0dc(0x172);const _0x3062d6=_0x51b9a4;if(!this[_0x24f0dc(0x16d)])throw new Error(_0x3062d6[_0x24f0dc(0x171)]);}[a81_0x1046bd(0x175)](){const _0x4e6df4=a81_0x1046bd;return this[_0x4e6df4(0x157)];}[a81_0x1046bd(0x14e)](_0x55e6e8,_0x100409,_0x4aff65,_0x13573e={}){const _0x4dc8cd=a81_0x1046bd,_0x407bc8={};_0x407bc8[_0x4dc8cd(0x15c)]='0|1|2|3|4';const _0x2d4ba8=_0x407bc8,_0x2266b3=_0x2d4ba8['krEKB'][_0x4dc8cd(0x153)]('|');let _0x5c3a69=0x0;while(!![]){switch(_0x2266b3[_0x5c3a69++]){case'0':this[_0x4dc8cd(0x16d)]=_0x55e6e8;continue;case'1':this[_0x4dc8cd(0x15e)]=_0x100409;continue;case'2':this['client']=_0x4aff65;continue;case'3':this[_0x4dc8cd(0x156)]=_0x13573e;continue;case'4':logger['debug']('Configured\x20module\x20'+this[_0x4dc8cd(0x175)]()+_0x4dc8cd(0x16c)+_0x55e6e8+',\x20platformIndex='+_0x100409);continue;}break;}}[a81_0x1046bd(0x16a)](_0x226b8f){const _0x2ddbdf=a81_0x1046bd,_0x3c0d89={};_0x3c0d89['FXjQK']=function(_0x1c09c9,_0x59791a){return _0x1c09c9===_0x59791a;},_0x3c0d89[_0x2ddbdf(0x152)]=function(_0x5d4d08,_0x2f5b3a){return _0x5d4d08===_0x2f5b3a;};const _0x347610=_0x3c0d89;let _0x2d54d6='';if(_0x347610[_0x2ddbdf(0x161)](_0x226b8f[_0x2ddbdf(0x155)],FRAMEWORKS[_0x2ddbdf(0x154)]))_0x2d54d6=_0x226b8f[_0x2ddbdf(0x15d)]?.['_test']?.['id']||_0x226b8f[_0x2ddbdf(0x15d)]?.[_0x2ddbdf(0x169)];else{if(_0x347610[_0x2ddbdf(0x152)](_0x226b8f[_0x2ddbdf(0x155)],FRAMEWORKS[_0x2ddbdf(0x14d)]))_0x2d54d6=_0x226b8f[_0x2ddbdf(0x15d)]?.[_0x2ddbdf(0x164)];else _0x347610[_0x2ddbdf(0x161)](_0x226b8f['testFramework'],FRAMEWORKS[_0x2ddbdf(0x168)])&&(_0x2d54d6=_0x226b8f[_0x2ddbdf(0x15d)]?.['id']);}return _0x2d54d6;}[a81_0x1046bd(0x16e)](_0x308f25){const _0x4ed584=a81_0x1046bd,_0x19b61a={};_0x19b61a['sKQKS']=function(_0xaf1065,_0x129273){return _0xaf1065!==_0x129273;},_0x19b61a[_0x4ed584(0x162)]='object';const _0x45e654=_0x19b61a;if(!_0x308f25||_0x45e654[_0x4ed584(0x170)](typeof _0x308f25,_0x45e654[_0x4ed584(0x162)]))return null;const _0x1e6bc1={};_0x1e6bc1[_0x4ed584(0x157)]=_0x308f25[_0x4ed584(0x157)],_0x1e6bc1[_0x4ed584(0x14f)]=_0x308f25[_0x4ed584(0x14f)]&&_0x308f25[_0x4ed584(0x14f)][_0x308f25[_0x4ed584(0x157)]];const _0x14fd62=_0x1e6bc1;return _0x14fd62;}}module['exports']=BaseModule;
@@ -1 +1 @@
1
- function a82_0x4e3a(){const _0x56c9d4=['overrideLoadTesting','browserstackAutomation','QyICu','setLTSSessionId\x20error:\x20','false','kfDoW','8KOWsJo','aWpmU','BjqPW','gCsPk','setLTSSessionId','BROWSERSTACK_LTS_SESSION_ID\x20cleared','toLowerCase','20jMWPoC','7849681sdQolC','2772814KHMdhP','toString','8MXZePK','700176lGcMbZ','LuwjF','BROWSERSTACK_LTS_SESSION_ID','ypGSM','36931240rhEQOn','exports','3807792XTASOQ','../../../helpers/helper.js','getLTSSessionId','error','LTS','JRcIQ','gzVea','yKVkO','WPaHr','zMbJx','jghcT','LoadTestModule','env','LTS\x20not\x20enabled;\x20returning\x20empty\x20LTS\x20session\x20id','message','131570AWcUNm','Error\x20while\x20resolving\x20LTS\x20session\x20id:\x20','undefined','string','178533HzqFxi','debug','OgjyG'];a82_0x4e3a=function(){return _0x56c9d4;};return a82_0x4e3a();}const a82_0x4bd443=a82_0x1a1e;(function(_0xf97b8e,_0x393b7c){const _0x3f992f=a82_0x1a1e,_0x116f17=_0xf97b8e();while(!![]){try{const _0x51296f=-parseInt(_0x3f992f(0x129))/0x1+-parseInt(_0x3f992f(0x13f))/0x2+parseInt(_0x3f992f(0x12d))/0x3*(-parseInt(_0x3f992f(0x141))/0x4)+-parseInt(_0x3f992f(0x13d))/0x5*(parseInt(_0x3f992f(0x142))/0x6)+-parseInt(_0x3f992f(0x13e))/0x7*(parseInt(_0x3f992f(0x136))/0x8)+parseInt(_0x3f992f(0x148))/0x9+parseInt(_0x3f992f(0x146))/0xa;if(_0x51296f===_0x393b7c)break;else _0x116f17['push'](_0x116f17['shift']());}catch(_0x233d4d){_0x116f17['push'](_0x116f17['shift']());}}}(a82_0x4e3a,0xd98a6));const {createClassLogger}=require('../../../helpers/classLogger.js'),logger=createClassLogger(a82_0x4bd443(0x125)),{sendSdkEvents}=require(a82_0x4bd443(0x149)),isLTSSession=(_0x2c0271=null)=>{const _0x4ceb57=a82_0x4bd443,_0x5204fa={};_0x5204fa[_0x4ceb57(0x135)]=function(_0x25387f,_0x410e91){return _0x25387f!==_0x410e91;},_0x5204fa[_0x4ceb57(0x122)]=_0x4ceb57(0x12b),_0x5204fa[_0x4ceb57(0x145)]=function(_0x117ff6,_0x50ad6b){return _0x117ff6===_0x50ad6b;},_0x5204fa['QyICu']=_0x4ceb57(0x12c),_0x5204fa[_0x4ceb57(0x123)]=function(_0x568596,_0x3edc31){return _0x568596===_0x3edc31;},_0x5204fa[_0x4ceb57(0x12f)]='true',_0x5204fa[_0x4ceb57(0x137)]=function(_0x3fb820,_0x138c8a){return _0x3fb820===_0x138c8a;},_0x5204fa[_0x4ceb57(0x143)]=function(_0x3571e7,_0x5d7480){return _0x3571e7===_0x5d7480;},_0x5204fa[_0x4ceb57(0x124)]=_0x4ceb57(0x134);const _0x3d5c09=_0x5204fa;try{if(_0x3d5c09[_0x4ceb57(0x135)](typeof process[_0x4ceb57(0x126)][_0x4ceb57(0x130)],_0x3d5c09[_0x4ceb57(0x122)])){const _0x302a12=process[_0x4ceb57(0x126)][_0x4ceb57(0x130)];return _0x3d5c09['ypGSM'](typeof _0x302a12,_0x3d5c09[_0x4ceb57(0x132)])?_0x3d5c09['zMbJx'](_0x302a12[_0x4ceb57(0x13c)](),_0x3d5c09[_0x4ceb57(0x12f)]):!!_0x302a12;}const _0x445bb5=_0x2c0271&&_0x2c0271[_0x4ceb57(0x130)],_0x52582d=!!(_0x2c0271&&(_0x3d5c09[_0x4ceb57(0x137)](_0x2c0271[_0x4ceb57(0x131)],!![])||_0x3d5c09[_0x4ceb57(0x137)](_0x2c0271[_0x4ceb57(0x131)],_0x3d5c09[_0x4ceb57(0x12f)]))),_0x14883b=!!(_0x445bb5&&_0x3d5c09[_0x4ceb57(0x143)](_0x445bb5[_0x4ceb57(0x140)]()['toLowerCase'](),_0x3d5c09[_0x4ceb57(0x12f)])&&!_0x52582d);return process['env']['overrideLoadTesting']=_0x14883b?_0x3d5c09[_0x4ceb57(0x12f)]:_0x3d5c09[_0x4ceb57(0x124)],_0x14883b;}catch(_0x18ea58){return process[_0x4ceb57(0x126)][_0x4ceb57(0x130)]=_0x3d5c09['jghcT'],![];}},getLTSSessionId=()=>{const _0x1a887f=a82_0x4bd443,_0x480a14={'yKVkO':function(_0x2afb84){return _0x2afb84();},'alMjj':'LTS\x20session\x20enabled;\x20returning\x20env\x20BROWSERSTACK_LTS_SESSION_ID','WRpJO':_0x1a887f(0x127)};try{if(_0x480a14[_0x1a887f(0x121)](isLTSSession))return logger[_0x1a887f(0x12e)](_0x480a14['alMjj']),process['env'][_0x1a887f(0x144)]||'';}catch(_0x4a0dec){logger[_0x1a887f(0x14b)](_0x1a887f(0x12a)+(_0x4a0dec&&_0x4a0dec[_0x1a887f(0x128)]));}return logger[_0x1a887f(0x12e)](_0x480a14['WRpJO']),'';},setLTSSessionId=async(_0x4ba6c7={})=>{const _0x2dfe0e=a82_0x4bd443,_0x301021={'JRcIQ':function(_0x3da2ac){return _0x3da2ac();},'pMhFa':'BROWSERSTACK_LTS_SESSION_ID\x20set\x20from\x20env','djuys':_0x2dfe0e(0x13b),'zIWLf':_0x2dfe0e(0x14c),'gCsPk':function(_0x4d8f48,_0x29b829){return _0x4d8f48(_0x29b829);},'gzVea':function(_0x56b896,_0x3d28e5,_0x130d47){return _0x56b896(_0x3d28e5,_0x130d47);},'BjqPW':function(_0x1297dd,_0x4c63b2){return _0x1297dd||_0x4c63b2;}};try{const _0x503b11=_0x301021[_0x2dfe0e(0x14d)](getLTSSessionId);_0x503b11?(process[_0x2dfe0e(0x126)]['BROWSERSTACK_LTS_SESSION_ID']=_0x503b11,logger[_0x2dfe0e(0x12e)](_0x301021['pMhFa'])):(delete process['env'][_0x2dfe0e(0x144)],logger[_0x2dfe0e(0x12e)](_0x301021['djuys']));try{const _0x3d4401={'feature':_0x301021['zIWLf'],'ltsEnabled':_0x301021[_0x2dfe0e(0x139)](isLTSSession,_0x4ba6c7),'ltsSessionIdPresent':!!_0x503b11};await _0x301021[_0x2dfe0e(0x120)](sendSdkEvents,_0x3d4401,_0x4ba6c7);}catch(_0x27f0f4){logger[_0x2dfe0e(0x12e)]('Failed\x20to\x20record\x20LTS\x20telemetry:\x20'+(_0x27f0f4&&_0x27f0f4[_0x2dfe0e(0x128)]));}return _0x301021[_0x2dfe0e(0x138)](_0x503b11,'');}catch(_0x45d51b){return logger[_0x2dfe0e(0x12e)](_0x2dfe0e(0x133)+(_0x45d51b&&_0x45d51b[_0x2dfe0e(0x128)])),'';}},a82_0x1a17fd={};function a82_0x1a1e(_0x4ff639,_0x39f5aa){const _0x4e3abe=a82_0x4e3a();return a82_0x1a1e=function(_0x1a1ec2,_0x246ed0){_0x1a1ec2=_0x1a1ec2-0x120;let _0x294d65=_0x4e3abe[_0x1a1ec2];return _0x294d65;},a82_0x1a1e(_0x4ff639,_0x39f5aa);}a82_0x1a17fd['isLTSSession']=isLTSSession,a82_0x1a17fd[a82_0x4bd443(0x14a)]=getLTSSessionId,a82_0x1a17fd[a82_0x4bd443(0x13a)]=setLTSSessionId,module[a82_0x4bd443(0x147)]=a82_0x1a17fd;
1
+ const a82_0x5c4e0b=a82_0x1cbb;function a82_0x1cbb(_0x2a7dcc,_0x1f0421){const _0x293a8d=a82_0x293a();return a82_0x1cbb=function(_0x1cbb91,_0xa33e34){_0x1cbb91=_0x1cbb91-0x1d5;let _0x49c26c=_0x293a8d[_0x1cbb91];return _0x49c26c;},a82_0x1cbb(_0x2a7dcc,_0x1f0421);}(function(_0xe33b4,_0x527372){const _0x2a21ae=a82_0x1cbb,_0x3da954=_0xe33b4();while(!![]){try{const _0x2714c9=-parseInt(_0x2a21ae(0x1e4))/0x1+parseInt(_0x2a21ae(0x1dc))/0x2*(parseInt(_0x2a21ae(0x1f8))/0x3)+parseInt(_0x2a21ae(0x1e0))/0x4+parseInt(_0x2a21ae(0x1f2))/0x5*(parseInt(_0x2a21ae(0x205))/0x6)+-parseInt(_0x2a21ae(0x1f0))/0x7+parseInt(_0x2a21ae(0x1f6))/0x8*(-parseInt(_0x2a21ae(0x1f3))/0x9)+parseInt(_0x2a21ae(0x203))/0xa;if(_0x2714c9===_0x527372)break;else _0x3da954['push'](_0x3da954['shift']());}catch(_0x5a9247){_0x3da954['push'](_0x3da954['shift']());}}}(a82_0x293a,0x7e445));const {createClassLogger}=require('../../../helpers/classLogger.js'),logger=createClassLogger(a82_0x5c4e0b(0x1f5)),{sendSdkEvents}=require(a82_0x5c4e0b(0x1e7)),isLTSSession=(_0x3d560c=null)=>{const _0x188261=a82_0x5c4e0b,_0xb8f57e={};_0xb8f57e[_0x188261(0x1d5)]=function(_0x2625f4,_0x3acd5a){return _0x2625f4!==_0x3acd5a;},_0xb8f57e[_0x188261(0x1e5)]=_0x188261(0x1db),_0xb8f57e[_0x188261(0x1d6)]=function(_0x212d1d,_0x5ef887){return _0x212d1d===_0x5ef887;},_0xb8f57e[_0x188261(0x1f4)]=_0x188261(0x1d8),_0xb8f57e[_0x188261(0x1ef)]=function(_0xf6043f,_0x505bcd){return _0xf6043f===_0x505bcd;},_0xb8f57e[_0x188261(0x1e2)]=_0x188261(0x1ff),_0xb8f57e[_0x188261(0x206)]=function(_0x29b6d8,_0x321501){return _0x29b6d8===_0x321501;},_0xb8f57e['xzPIi']=_0x188261(0x1dd);const _0x5ae47c=_0xb8f57e;try{if(_0x5ae47c['krJVL'](typeof process[_0x188261(0x1fe)][_0x188261(0x1ed)],_0x5ae47c[_0x188261(0x1e5)])){const _0x4e9d1c=process['env'][_0x188261(0x1ed)];return _0x5ae47c[_0x188261(0x1d6)](typeof _0x4e9d1c,_0x5ae47c[_0x188261(0x1f4)])?_0x5ae47c[_0x188261(0x1ef)](_0x4e9d1c[_0x188261(0x1df)](),_0x5ae47c[_0x188261(0x1e2)]):!!_0x4e9d1c;}const _0x359def=_0x3d560c&&_0x3d560c[_0x188261(0x1ed)],_0xfe2b35=!!(_0x3d560c&&(_0x5ae47c[_0x188261(0x1ef)](_0x3d560c[_0x188261(0x1e3)],!![])||_0x5ae47c[_0x188261(0x1ef)](_0x3d560c[_0x188261(0x1e3)],_0x5ae47c[_0x188261(0x1e2)]))),_0x58e01e=!!(_0x359def&&_0x5ae47c['QvLxT'](_0x359def[_0x188261(0x1fa)]()['toLowerCase'](),_0x5ae47c['vtagk'])&&!_0xfe2b35);return process[_0x188261(0x1fe)][_0x188261(0x1ed)]=_0x58e01e?_0x5ae47c[_0x188261(0x1e2)]:_0x5ae47c[_0x188261(0x1f7)],_0x58e01e;}catch(_0x8e6e52){return process[_0x188261(0x1fe)][_0x188261(0x1ed)]=_0x5ae47c['xzPIi'],![];}},getLTSSessionId=()=>{const _0x20e809=a82_0x5c4e0b,_0x1e5c40={'wqyax':function(_0x134a94){return _0x134a94();},'ApvHV':_0x20e809(0x200),'wUnlg':_0x20e809(0x207)};try{if(_0x1e5c40[_0x20e809(0x1ee)](isLTSSession))return logger[_0x20e809(0x1f9)](_0x1e5c40[_0x20e809(0x1fb)]),process['env'][_0x20e809(0x1d9)]||'';}catch(_0x203b54){logger[_0x20e809(0x1d7)](_0x20e809(0x1de)+(_0x203b54&&_0x203b54[_0x20e809(0x1e1)]));}return logger['debug'](_0x1e5c40[_0x20e809(0x201)]),'';},setLTSSessionId=async(_0x3dc501={})=>{const _0x3081b0=a82_0x5c4e0b,_0x299ac1={'Pctkv':function(_0x459d7e){return _0x459d7e();},'QjDay':_0x3081b0(0x1eb),'uExoP':_0x3081b0(0x202),'pqdeB':'LTS','RdlyU':function(_0x1d3779,_0x7ad0dd){return _0x1d3779(_0x7ad0dd);},'kelNp':function(_0x54c11c,_0x58376f,_0x2991ac){return _0x54c11c(_0x58376f,_0x2991ac);},'QhZuq':function(_0x146147,_0x3085c5){return _0x146147||_0x3085c5;}};try{const _0x513fcc=_0x299ac1[_0x3081b0(0x1da)](getLTSSessionId);_0x513fcc?(process[_0x3081b0(0x1fe)][_0x3081b0(0x1d9)]=_0x513fcc,logger[_0x3081b0(0x1f9)](_0x299ac1[_0x3081b0(0x204)])):(delete process['env'][_0x3081b0(0x1d9)],logger[_0x3081b0(0x1f9)](_0x299ac1[_0x3081b0(0x1f1)]));try{const _0x549f56={'feature':_0x299ac1['pqdeB'],'ltsEnabled':_0x299ac1[_0x3081b0(0x1ec)](isLTSSession,_0x3dc501),'ltsSessionIdPresent':!!_0x513fcc};await _0x299ac1[_0x3081b0(0x1fc)](sendSdkEvents,_0x549f56,_0x3dc501);}catch(_0x24b011){logger['debug']('Failed\x20to\x20record\x20LTS\x20telemetry:\x20'+(_0x24b011&&_0x24b011[_0x3081b0(0x1e1)]));}return _0x299ac1[_0x3081b0(0x1e6)](_0x513fcc,'');}catch(_0x21da0e){return logger[_0x3081b0(0x1f9)]('setLTSSessionId\x20error:\x20'+(_0x21da0e&&_0x21da0e['message'])),'';}},a82_0x5ec1ed={};function a82_0x293a(){const _0x26e1b4=['iVtcm','error','string','BROWSERSTACK_LTS_SESSION_ID','Pctkv','undefined','6XOtGkm','false','Error\x20while\x20resolving\x20LTS\x20session\x20id:\x20','toLowerCase','1246524Saxure','message','vtagk','browserstackAutomation','472118AqHpGB','jsiLq','QhZuq','../../../helpers/helper.js','setLTSSessionId','isLTSSession','getLTSSessionId','BROWSERSTACK_LTS_SESSION_ID\x20set\x20from\x20env','RdlyU','overrideLoadTesting','wqyax','rMAxS','4014836QxbFnp','uExoP','265IhEmdH','2997801crJPlM','iLwXz','LoadTestModule','16jmKilB','xzPIi','46167QgvRXb','debug','toString','ApvHV','kelNp','exports','env','true','LTS\x20session\x20enabled;\x20returning\x20env\x20BROWSERSTACK_LTS_SESSION_ID','wUnlg','BROWSERSTACK_LTS_SESSION_ID\x20cleared','10497880YdQkIu','QjDay','92994LiSSNA','QvLxT','LTS\x20not\x20enabled;\x20returning\x20empty\x20LTS\x20session\x20id','krJVL'];a82_0x293a=function(){return _0x26e1b4;};return a82_0x293a();}a82_0x5ec1ed[a82_0x5c4e0b(0x1e9)]=isLTSSession,a82_0x5ec1ed[a82_0x5c4e0b(0x1ea)]=getLTSSessionId,a82_0x5ec1ed[a82_0x5c4e0b(0x1e8)]=setLTSSessionId,module[a82_0x5c4e0b(0x1fd)]=a82_0x5ec1ed;
@@ -1 +1 @@
1
- function a83_0xe9d5(_0x133c3a,_0x27ed9a){const _0x175227=a83_0x1752();return a83_0xe9d5=function(_0xe9d5fb,_0x31cd18){_0xe9d5fb=_0xe9d5fb-0xc7;let _0x471a8=_0x175227[_0xe9d5fb];return _0x471a8;},a83_0xe9d5(_0x133c3a,_0x27ed9a);}const a83_0x57321c=a83_0xe9d5;(function(_0x465228,_0x3f31f0){const _0x231c5c=a83_0xe9d5,_0x2e17fd=_0x465228();while(!![]){try{const _0x2f5bf3=-parseInt(_0x231c5c(0xe6))/0x1*(-parseInt(_0x231c5c(0xec))/0x2)+-parseInt(_0x231c5c(0xca))/0x3+parseInt(_0x231c5c(0xe9))/0x4+parseInt(_0x231c5c(0xed))/0x5*(parseInt(_0x231c5c(0xdc))/0x6)+-parseInt(_0x231c5c(0xe7))/0x7+parseInt(_0x231c5c(0xd0))/0x8+parseInt(_0x231c5c(0xd1))/0x9*(-parseInt(_0x231c5c(0xdf))/0xa);if(_0x2f5bf3===_0x3f31f0)break;else _0x2e17fd['push'](_0x2e17fd['shift']());}catch(_0x56546d){_0x2e17fd['push'](_0x2e17fd['shift']());}}}(a83_0x1752,0x5b576));const BaseModule=require('./baseModule'),{createClassLogger}=require(a83_0x57321c(0xc7)),AutomationFramework=require('../framework/automationFramework.js'),AutomationFrameworkState=require(a83_0x57321c(0xee)),HookState=require(a83_0x57321c(0xd2)),{playwrightAnnotate}=require(a83_0x57321c(0xeb)),PerformanceTester=require(a83_0x57321c(0xea)),{O11y_EVENTS}=require('../../../helpers/performance/constants.js'),constants=require(a83_0x57321c(0xce));function a83_0x1752(){const _0x358b8a=['TEST_REPORTING_ANALYTICS','logger','VuLZg','../../utils/constants.js','observabilityConfig','4237296bOUwEH','13793562dxHwwR','../state/hookState.js','CREATE','BpIxa','MODULE_NAME','end','exports','MKeMv','getModuleName','onBeforeTest:\x20','\x20sync\x20done','228JajQmu','ObservabilityModule','start','10mNFIjK','fPLOB','debug','page','ObservabilitySync:','dCqKI','SYNC','149GFStNX','217273dOamuy','onBeforeTest','926176WnKMoY','../../../helpers/performance/performance-tester.js','../../../helpers/helper.js','9902BgNlvr','82190LvhFhh','../state/automationFrameworkState.js','../../../helpers/classLogger.js','onBeforeTest:\x20page\x20is\x20not\x20defined','bind','557274SCwCIU'];a83_0x1752=function(){return _0x358b8a;};return a83_0x1752();}class ObservabilityModule extends BaseModule{[a83_0x57321c(0xcc)]=createClassLogger(a83_0x57321c(0xdd));constructor(_0x499032){const _0x5aaffe=a83_0x57321c,_0x3b0e5b={};_0x3b0e5b['dCqKI']=_0x5aaffe(0xdd);const _0x539dc0=_0x3b0e5b;super(),this['name']=_0x539dc0[_0x5aaffe(0xe4)],this[_0x5aaffe(0xcf)]=_0x499032,AutomationFramework['registerObserver'](AutomationFrameworkState[_0x5aaffe(0xd3)],HookState['POST'],this[_0x5aaffe(0xe8)][_0x5aaffe(0xc9)](this));}[a83_0x57321c(0xd9)](){const _0x26753b=a83_0x57321c;return ObservabilityModule[_0x26753b(0xd5)];}async[a83_0x57321c(0xe8)](_0x4f1b83){const _0x224767=a83_0x57321c,_0x2e091a={'fPLOB':function(_0x30c4d0,_0x98d5cb){return _0x30c4d0+_0x98d5cb;},'BpIxa':_0x224767(0xe3),'VuLZg':function(_0x229398,_0x24f939,_0x127887,_0x2857ec){return _0x229398(_0x24f939,_0x127887,_0x2857ec);},'MKeMv':_0x224767(0xe1),'nvNzF':_0x224767(0xc8)};if(_0x4f1b83['page']){const _0x11f8f1=_0x4f1b83[_0x224767(0xe2)],_0x57d53f=Date['now'](),_0x31730a=_0x2e091a[_0x224767(0xe0)](_0x2e091a[_0x224767(0xd4)],_0x57d53f);PerformanceTester[_0x224767(0xde)](O11y_EVENTS[_0x224767(0xe5)]),await _0x2e091a[_0x224767(0xcd)](playwrightAnnotate,_0x11f8f1,_0x31730a,_0x2e091a[_0x224767(0xd8)]),PerformanceTester[_0x224767(0xd6)](O11y_EVENTS[_0x224767(0xe5)]),this['logger']['info'](_0x224767(0xda)+constants[_0x224767(0xcb)]+_0x224767(0xdb));}else this['logger'][_0x224767(0xe1)](_0x2e091a['nvNzF']);}}ObservabilityModule[a83_0x57321c(0xd5)]=a83_0x57321c(0xdd),module[a83_0x57321c(0xd7)]=ObservabilityModule;
1
+ const a83_0xe8e37b=a83_0x1ec0;(function(_0x466c04,_0xe3d0f9){const _0x1b4638=a83_0x1ec0,_0x1ff511=_0x466c04();while(!![]){try{const _0x41ed09=-parseInt(_0x1b4638(0x1c8))/0x1+parseInt(_0x1b4638(0x1ae))/0x2*(-parseInt(_0x1b4638(0x1c2))/0x3)+-parseInt(_0x1b4638(0x1b4))/0x4+-parseInt(_0x1b4638(0x1b6))/0x5*(-parseInt(_0x1b4638(0x1d5))/0x6)+parseInt(_0x1b4638(0x1bb))/0x7*(parseInt(_0x1b4638(0x1c9))/0x8)+parseInt(_0x1b4638(0x1c5))/0x9+parseInt(_0x1b4638(0x1d6))/0xa;if(_0x41ed09===_0xe3d0f9)break;else _0x1ff511['push'](_0x1ff511['shift']());}catch(_0x39ac61){_0x1ff511['push'](_0x1ff511['shift']());}}}(a83_0x4742,0xc39f8));function a83_0x1ec0(_0x32db93,_0x56e08a){const _0x4742c5=a83_0x4742();return a83_0x1ec0=function(_0x1ec086,_0x4af470){_0x1ec086=_0x1ec086-0x1ae;let _0x3c81e5=_0x4742c5[_0x1ec086];return _0x3c81e5;},a83_0x1ec0(_0x32db93,_0x56e08a);}const BaseModule=require('./baseModule'),{createClassLogger}=require('../../../helpers/classLogger.js'),AutomationFramework=require(a83_0xe8e37b(0x1c6)),AutomationFrameworkState=require(a83_0xe8e37b(0x1bf)),HookState=require(a83_0xe8e37b(0x1bd)),{playwrightAnnotate}=require(a83_0xe8e37b(0x1d1)),PerformanceTester=require(a83_0xe8e37b(0x1b3)),{O11y_EVENTS}=require(a83_0xe8e37b(0x1cf)),constants=require(a83_0xe8e37b(0x1c0));class ObservabilityModule extends BaseModule{[a83_0xe8e37b(0x1cc)]=createClassLogger(a83_0xe8e37b(0x1d7));constructor(_0x259925){const _0x49a72a=a83_0xe8e37b,_0x55cb59={};_0x55cb59[_0x49a72a(0x1af)]=_0x49a72a(0x1d7);const _0x3892f2=_0x55cb59;super(),this[_0x49a72a(0x1cb)]=_0x3892f2[_0x49a72a(0x1af)],this[_0x49a72a(0x1d8)]=_0x259925,AutomationFramework[_0x49a72a(0x1ca)](AutomationFrameworkState[_0x49a72a(0x1b7)],HookState[_0x49a72a(0x1d0)],this['onBeforeTest'][_0x49a72a(0x1b8)](this));}[a83_0xe8e37b(0x1be)](){const _0x518e35=a83_0xe8e37b;return ObservabilityModule[_0x518e35(0x1b9)];}async[a83_0xe8e37b(0x1c3)](_0x31ba2a){const _0x1f1e4e=a83_0xe8e37b,_0x25c907={'iCbma':function(_0x505a56,_0x141c68){return _0x505a56+_0x141c68;},'OnsIC':'ObservabilitySync:','UlevB':function(_0x4494b4,_0x3f74c8,_0x511996,_0x1bce37){return _0x4494b4(_0x3f74c8,_0x511996,_0x1bce37);},'Truwv':'debug','JOflN':'onBeforeTest:\x20page\x20is\x20not\x20defined'};if(_0x31ba2a[_0x1f1e4e(0x1b0)]){const _0x288f18=_0x31ba2a[_0x1f1e4e(0x1b0)],_0x473063=Date[_0x1f1e4e(0x1b1)](),_0x3de6cd=_0x25c907[_0x1f1e4e(0x1cd)](_0x25c907[_0x1f1e4e(0x1b5)],_0x473063);PerformanceTester[_0x1f1e4e(0x1d3)](O11y_EVENTS[_0x1f1e4e(0x1d2)]),await _0x25c907[_0x1f1e4e(0x1da)](playwrightAnnotate,_0x288f18,_0x3de6cd,_0x25c907[_0x1f1e4e(0x1bc)]),PerformanceTester[_0x1f1e4e(0x1c1)](O11y_EVENTS['SYNC']),this[_0x1f1e4e(0x1cc)][_0x1f1e4e(0x1ce)](_0x1f1e4e(0x1b2)+constants[_0x1f1e4e(0x1d4)]+_0x1f1e4e(0x1c4));}else this[_0x1f1e4e(0x1cc)][_0x1f1e4e(0x1d9)](_0x25c907[_0x1f1e4e(0x1c7)]);}}function a83_0x4742(){const _0x23e867=['../../../helpers/performance/performance-tester.js','4978920gakidb','OnsIC','710gncMVW','CREATE','bind','MODULE_NAME','exports','153797nmenRo','Truwv','../state/hookState.js','getModuleName','../state/automationFrameworkState.js','../../utils/constants.js','end','3469866VpNBMa','onBeforeTest','\x20sync\x20done','7886664dlHwlj','../framework/automationFramework.js','JOflN','866351PredOs','40xzGFjv','registerObserver','name','logger','iCbma','info','../../../helpers/performance/constants.js','POST','../../../helpers/helper.js','SYNC','start','TEST_REPORTING_ANALYTICS','63354gkwMrl','15834460ODXnna','ObservabilityModule','observabilityConfig','debug','UlevB','2NwEbQs','KebPp','page','now','onBeforeTest:\x20'];a83_0x4742=function(){return _0x23e867;};return a83_0x4742();}ObservabilityModule['MODULE_NAME']=a83_0xe8e37b(0x1d7),module[a83_0xe8e37b(0x1ba)]=ObservabilityModule;
@@ -1 +1 @@
1
- const a84_0x2b56c2=a84_0x2428;function a84_0x2129(){const _0x535dea=['onDispatchExecute:\x20Playwright\x20platform\x20platformIndex:\x20','5CqLSBd','onAfterTest\x20CBTSession\x20payload:\x20','JRCSb','../framework/automationFramework.js','reason','browserName','KEY_TEST_FRAMEWORK_NAME','test_identifier','Automation\x20onAfterTest:\x20Test\x20status:\x20','bsParams','1022ieIHgl','KEY_SESSION_ID','uizdN','testRunId','getContext','../../utils/constants','ZbZLI','CUCUMBER','14960kEYIJm','onAfterDriverCreate','onAfterDriverCreate:\x20Setting\x20browser\x20object','Automation\x20onAfterTest:\x20Automation\x20instance\x20is\x20not\x20available','name','7|5|8|11|3|0|4|10|6|9|2|1','dmfUS','EXECUTE','result','playwrightVersion','getRef','../../../helpers/helper','KEY_PAGE_OBJECT','Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20to:\x20','getProcessId','dOCdK','inspect','onAfterTest\x20CBTSession\x20complete\x20for\x20testId:\x20','split','2827116AZiEqi','../../../helpers/helper.js','KEY_CAPABILITIES','KLvPK','isPlaywright','UZlvE','saBdI','IkbJu','JlEZj','capabilities','PUqKW','testData\x20from\x20onAfterTest:\x20','XaBSZ','getTestId','uHJQS','format','error','onBeforeDriverCreate','nuVzu','Error\x20in\x20onAfterDriverCreate:\x20','markSessionStatus:\x20Skipping\x20session\x20status\x20marking','markSessionStatus:\x20Automation\x20instance\x20is\x20not\x20available','35256Qtebgd','zSjKD','workerInfo','version','../state/automationFrameworkState.js','testUuid','6608GTGDKG','KEY_BROWSER_OBJECT','hZefD','pwyHt','9BHlcRD','146148AzVgIG','PgLrA','end','iWkPy','bTQJD','onAfterDriverCreate:\x20Setting\x20Session\x20Name\x20from\x20testInfo','PLAYWRIGHT_DISPATCH','browserVersion','Playwright','errors','getThreadId','PLAYWRIGHT','getId','PlaywrightDriverModule','platforms','getTestUUID','getInstance','JEST','mBPIL','bStackParams','instance','isLTSSession','../browserstackCLI.js','bind','getTestIdentifierFromTestInfo','markSessionStatus:\x20Marking\x20session\x20status','setSessionName','contextObject','message','OrIFg','AuTeO','hubUrl','BRYKq','2qpArOe','../grpcClient.js','testInfo','length','TnkeA','passed','markSessionStatus','MODULE_NAME','AUTOMATE_EVENTS','../../../helpers/performance/constants.js','platformIndex','logger','KEY_TEST_ID','gRGpg','../cliUtils.js','stringify','EeTdn','KEY_TEST_FRAMEWORK_VERSION','with\x20','shouldSkipSessionStatus','parallelIndex','getTrackedInstance',',\x20test_identifier:\x20','context','ZKHVm','Automation\x20onAfterTest:\x20Recreated\x20Jest\x20testIdentifier:\x20','onPlaywrightDispatch','registerObserver','HBMQY','getConfig','3086611pPmfsA','testFrameworkData','jestUtils','info','PRE','onDispatchExecute:\x20Playwright\x20sessionId:\x20','platformDetails','getLTSSessionId','POST','../framework/constants/testFrameworkConstants.js','KEY_PLATFORM_DETAILS','SQVVc','hwMtU','arguments','onDispatchExecute:\x20Playwright\x20driver\x20is\x20executing\x20tests\x20','exports','page','setState','CREATE','../state/hookState.js','Session','DMigH','1.51.0','parse','isFalse','from','Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','../utils/jest-utils.js','../state/testFrameworkState','KEY_CONTEXT_OBJECT','oggTJ','start','hISwo','onAfterDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','sessionId','getModuleName','browser','kLUDn','onAfterDriverCreate:\x20Setting\x20context\x20object','retry','611358SRlFyU','action','../TestInfo.js','toString','TEST','markSessionStatus:\x20Page\x20object\x20is\x20not\x20available','shouldSkipSessionName','noaza','CDfnc','pickle','__workerDetails','onAfterTest','markSessionName','Error\x20in\x20markSessionName:\x20','UCmXL','testSessionEvent','FpoGb','launchcaps','getState','BLYOZ','gherkinDocument','debug','./baseModule','tnrXM','params','status','./loadTestModule.js','KEY_PLATFORM_INDEX'];a84_0x2129=function(){return _0x535dea;};return a84_0x2129();}(function(_0x45ee83,_0x217ad4){const _0x4ab960=a84_0x2428,_0x5252ef=_0x45ee83();while(!![]){try{const _0x4091ee=-parseInt(_0x4ab960(0x9b))/0x1*(-parseInt(_0x4ab960(0x144))/0x2)+parseInt(_0x4ab960(0x143))/0x3*(parseInt(_0x4ab960(0x139))/0x4)+-parseInt(_0x4ab960(0xfe))/0x5*(-parseInt(_0x4ab960(0xe1))/0x6)+parseInt(_0x4ab960(0x108))/0x7*(-parseInt(_0x4ab960(0x13f))/0x8)+parseInt(_0x4ab960(0x123))/0x9+-parseInt(_0x4ab960(0x110))/0xa+-parseInt(_0x4ab960(0xb9))/0xb;if(_0x4091ee===_0x217ad4)break;else _0x5252ef['push'](_0x5252ef['shift']());}catch(_0x220c57){_0x5252ef['push'](_0x5252ef['shift']());}}}(a84_0x2129,0x2d63a));const util=require('util'),BaseModule=require(a84_0x2b56c2(0xf7)),{createClassLogger}=require('../../../helpers/classLogger.js'),{getFrameworkVersion}=require('../../../helpers/test-observability/utils'),helper=require(a84_0x2b56c2(0x11b)),{FRAMEWORKS}=require(a84_0x2b56c2(0x10d)),AutomationFramework=require(a84_0x2b56c2(0x101)),AutomationFrameworkState=require(a84_0x2b56c2(0x13d)),HookState=require(a84_0x2b56c2(0xcc)),{playwrightBstackJsExecutor,nestedKeyValue,playwrightAnnotate,getPlaywrightStatus,getPlaywrightSessionName,getCucumberSessionName}=require(a84_0x2b56c2(0x124)),CLIUtils=require(a84_0x2b56c2(0xa9)),BrowserstackCLI=require(a84_0x2b56c2(0x90)),GrpcClient=require(a84_0x2b56c2(0x9c)),PerformanceTester=require('../../../helpers/performance/performance-tester.js'),PerformanceEvents=require(a84_0x2b56c2(0xa4))[a84_0x2b56c2(0xa3)],TestInfo=require(a84_0x2b56c2(0xe3)),{getPlaywrightProvider}=require('../../../helpers/helper.js'),LoadTestModule=require(a84_0x2b56c2(0xfb)),TestFrameworkConstants=require(a84_0x2b56c2(0xc2)),TestFrameworkState=require(a84_0x2b56c2(0xd5)),JestUtils=require(a84_0x2b56c2(0xd4));class PlaywrightDriverModule extends BaseModule{static [a84_0x2b56c2(0x140)]='browserObject';static ['KEY_CONTEXT_OBJECT']=a84_0x2b56c2(0x95);static [a84_0x2b56c2(0x11c)]='pageObject';static [a84_0x2b56c2(0x109)]=a84_0x2b56c2(0xdb);static [a84_0x2b56c2(0xfc)]=a84_0x2b56c2(0xa5);static [a84_0x2b56c2(0x125)]=a84_0x2b56c2(0x12c);static ['KEY_HUB_URL']=a84_0x2b56c2(0x99);static [a84_0x2b56c2(0xc3)]=a84_0x2b56c2(0xbf);static [a84_0x2b56c2(0xa7)]='testId';[a84_0x2b56c2(0xa6)]=createClassLogger(a84_0x2b56c2(0x151));constructor(_0x1fdbd0=null){const _0x54700c=a84_0x2b56c2,_0x33e3f5={};_0x33e3f5[_0x54700c(0x13a)]=_0x54700c(0x115),_0x33e3f5['FpoGb']='PlaywrightDriverModule';const _0x13595d=_0x33e3f5,_0x4f4e22=_0x13595d[_0x54700c(0x13a)]['split']('|');let _0x4d5495=0x0;while(!![]){switch(_0x4f4e22[_0x4d5495++]){case'0':this[_0x54700c(0x152)]=[];continue;case'1':AutomationFramework[_0x54700c(0xb6)](AutomationFrameworkState[_0x54700c(0x117)],HookState[_0x54700c(0xc1)],this[_0x54700c(0xec)][_0x54700c(0x91)](this));continue;case'2':AutomationFramework[_0x54700c(0xb6)](AutomationFrameworkState[_0x54700c(0x14a)],HookState['POST'],this[_0x54700c(0xb5)][_0x54700c(0x91)](this));continue;case'3':this[_0x54700c(0x14b)]=null;continue;case'4':this[_0x54700c(0x10b)]=null;continue;case'5':this[_0x54700c(0x114)]=_0x13595d[_0x54700c(0xf1)];continue;case'6':AutomationFramework['registerObserver'](AutomationFrameworkState['CREATE'],HookState[_0x54700c(0xbd)],this[_0x54700c(0x134)][_0x54700c(0x91)](this));continue;case'7':super(_0x1fdbd0);continue;case'8':this[_0x54700c(0x119)]=null;continue;case'9':AutomationFramework[_0x54700c(0xb6)](AutomationFrameworkState[_0x54700c(0xcb)],HookState['POST'],this[_0x54700c(0x111)]['bind'](this));continue;case'10':this[_0x54700c(0xbb)]=new JestUtils();continue;case'11':this[_0x54700c(0x103)]=null;continue;}break;}}[a84_0x2b56c2(0xdc)](){const _0x310125=a84_0x2b56c2;return PlaywrightDriverModule[_0x310125(0xa2)];}async[a84_0x2b56c2(0x134)](_0x547f03){const _0x3bca67=a84_0x2b56c2,_0x20e3e9={};_0x20e3e9['VxtJK']='onBeforeDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created';const _0x50db72=_0x20e3e9;try{this[_0x3bca67(0xa6)][_0x3bca67(0xf6)](_0x50db72['VxtJK']);const _0x2fc4f3=_0x547f03[_0x3bca67(0xf2)],_0xb1b042=_0x547f03[_0x3bca67(0x99)];AutomationFramework[_0x3bca67(0xca)](_0x547f03['instance'],PlaywrightDriverModule['KEY_CAPABILITIES'],_0x2fc4f3),AutomationFramework[_0x3bca67(0xca)](_0x547f03[_0x3bca67(0x8e)],PlaywrightDriverModule['KEY_HUB_URL'],_0xb1b042);}catch(_0x1d79ff){this[_0x3bca67(0xa6)][_0x3bca67(0x133)]('Error\x20in\x20onBeforeDriverCreate:\x20'+util[_0x3bca67(0x132)](_0x1d79ff));}}async[a84_0x2b56c2(0xb5)](_0x10bda0){const _0x680de8=a84_0x2b56c2,_0x448056={};_0x448056[_0x680de8(0x116)]=function(_0x1b0bac,_0x776a7a){return _0x1b0bac||_0x776a7a;};const _0x22c1b0=_0x448056;try{const _0x2cede3=_0x10bda0?.['message']&&_0x10bda0?.[_0x680de8(0x96)]?.[_0x680de8(0xf9)]&&_0x10bda0?.[_0x680de8(0x96)]?.[_0x680de8(0xf9)]?.[_0x680de8(0x107)],_0x49f1eb=_0x10bda0?.[_0x680de8(0x96)]&&_0x10bda0?.[_0x680de8(0x96)]?.[_0x680de8(0x8d)];if(_0x22c1b0[_0x680de8(0x116)](_0x2cede3,_0x49f1eb)){this[_0x680de8(0xa6)]['debug'](_0x680de8(0xc7)+util['inspect'](_0x2cede3)+'\x20||\x20'+util[_0x680de8(0x120)](_0x49f1eb));const _0x20b23c=_0x10bda0?.[_0x680de8(0x8e)],_0x538cd7=global?.[_0x680de8(0xeb)]?.[_0x680de8(0x13b)]?.['parallelIndex'],_0x2edca6=_0x2cede3?.[_0x680de8(0xdb)]||_0x49f1eb?.['sessionId'],_0x548d55=_0x2cede3?.[_0x680de8(0xbf)]||_0x49f1eb?.[_0x680de8(0xbf)];_0x2edca6&&(this[_0x680de8(0xa6)][_0x680de8(0xf6)](_0x680de8(0xbe)+_0x2edca6),AutomationFramework['setState'](_0x20b23c,PlaywrightDriverModule['KEY_SESSION_ID'],_0x2edca6)),_0x538cd7&&(this[_0x680de8(0xa6)][_0x680de8(0xf6)](_0x680de8(0xfd)+util[_0x680de8(0x120)](_0x538cd7)),AutomationFramework['setState'](_0x20b23c,PlaywrightDriverModule[_0x680de8(0xfc)],_0x538cd7));}}catch(_0x31f47d){this[_0x680de8(0xa6)]['error']('Error\x20in\x20onDispatchExecute:\x20'+util[_0x680de8(0x132)](_0x31f47d));}}async['onAfterDriverCreate'](_0x260dae){const _0x544d2f=a84_0x2b56c2,_0x5d250e={'oggTJ':_0x544d2f(0xda),'nuVzu':function(_0x3b3812,_0xbaad0f){return _0x3b3812(_0xbaad0f);},'JNfEf':'onAfterDriverCreate:\x20Setting\x20page\x20object','dDsXa':_0x544d2f(0x149),'kLUDn':_0x544d2f(0xdf),'QPlvG':_0x544d2f(0x112),'ZKHVm':'base64'};try{this[_0x544d2f(0xa6)]['debug'](_0x5d250e[_0x544d2f(0xd7)]);const _0x3b2e42=_0x260dae[_0x544d2f(0x8e)];this['playwrightVersion']=_0x5d250e[_0x544d2f(0x135)](getFrameworkVersion,FRAMEWORKS[_0x544d2f(0x14f)]);if(_0x260dae[_0x544d2f(0xc9)]){this[_0x544d2f(0xa6)][_0x544d2f(0xf6)](_0x5d250e['JNfEf']),AutomationFramework[_0x544d2f(0xca)](_0x3b2e42,PlaywrightDriverModule['KEY_PAGE_OBJECT'],_0x260dae['page']);if(_0x260dae['testInfo']){this[_0x544d2f(0xa6)]['debug'](_0x5d250e['dDsXa']);const _0x2d1a2a=this[_0x544d2f(0x130)](_0x260dae);AutomationFramework[_0x544d2f(0xca)](_0x3b2e42,PlaywrightDriverModule[_0x544d2f(0xa7)],_0x2d1a2a),await this['markSessionName'](_0x260dae[_0x544d2f(0x9d)]);}}_0x260dae[_0x544d2f(0xb2)]&&(this[_0x544d2f(0xa6)][_0x544d2f(0xf6)](_0x5d250e[_0x544d2f(0xde)]),AutomationFramework[_0x544d2f(0xca)](_0x3b2e42,PlaywrightDriverModule[_0x544d2f(0xd6)],_0x260dae['context']));if(_0x260dae[_0x544d2f(0xdd)]){this['logger'][_0x544d2f(0xf6)](_0x5d250e['QPlvG']);const _0x4b6000=global?.[_0x544d2f(0xeb)]?.[_0x544d2f(0x13b)]?.[_0x544d2f(0xaf)];AutomationFramework[_0x544d2f(0xca)](_0x3b2e42,PlaywrightDriverModule[_0x544d2f(0x140)],_0x260dae[_0x544d2f(0xdd)]),AutomationFramework[_0x544d2f(0xca)](_0x3b2e42,PlaywrightDriverModule['KEY_PLATFORM_INDEX'],_0x4b6000);const _0x560ef2={};_0x560ef2[_0x544d2f(0x127)]=!![];const _0x2e8605=Buffer['from'](JSON[_0x544d2f(0xaa)](_0x560ef2)[_0x544d2f(0xe4)](_0x5d250e[_0x544d2f(0xb3)])),_0x436a10=await GrpcClient[_0x544d2f(0x154)]()['driverInit']({'platformIndex':_0x4b6000,'ref':_0x3b2e42['getRef'](),'userInputParams':_0x2e8605});helper[_0x544d2f(0xd1)](helper['isBrowserstackInfra']())&&AutomationFramework[_0x544d2f(0xca)](_0x3b2e42,PlaywrightDriverModule[_0x544d2f(0x125)],JSON[_0x544d2f(0xd0)](Buffer[_0x544d2f(0xd2)](_0x436a10['getCapabilities'](),_0x5d250e[_0x544d2f(0xb3)])[_0x544d2f(0xe4)]()));}}catch(_0x390062){this[_0x544d2f(0xa6)][_0x544d2f(0x133)](_0x544d2f(0x136)+util['format'](_0x390062));}}async[a84_0x2b56c2(0xec)](_0x2c546e){const _0x241949=a84_0x2b56c2,_0x193d84={'SQVVc':'Automation\x20onAfterTest:\x20Test\x20completed','hZefD':_0x241949(0x113),'TnkeA':function(_0x178330,_0x250271){return _0x178330(_0x250271);},'oxXVG':function(_0x303d37,_0x538a17,_0x394f7d){return _0x303d37(_0x538a17,_0x394f7d);},'pwyHt':_0x241949(0x118),'hISwo':_0x241949(0x96),'EeTdn':'error','XaBSZ':function(_0x211f2a,_0x186ffb,_0x45cbcd){return _0x211f2a(_0x186ffb,_0x45cbcd);},'HBMQY':_0x241949(0x14d),'saBdI':function(_0x524f63,_0x20676b){return _0x524f63>_0x20676b;},'UCmXL':function(_0xe15d04,_0x5c593d){return _0xe15d04||_0x5c593d;},'CDfnc':function(_0x3e4262,_0x417cb3){return _0x3e4262||_0x417cb3;},'JlEZj':function(_0x265824,_0x28d57b){return _0x265824===_0x28d57b;},'uizdN':function(_0x424c0b,_0x28f7b3){return _0x424c0b+_0x28f7b3;},'ZbZLI':'testId:\x20','PUqKW':function(_0x54d539,_0x55e310){return _0x54d539+_0x55e310;},'gRGpg':_0x241949(0x12e),'UZlvE':_0x241949(0x14c),'JRCSb':_0x241949(0xcf),'hwMtU':function(_0x4244f6,_0x4a0933){return _0x4244f6>_0x4a0933;},'uHJQS':'base64','dOCdK':function(_0xd1c985,_0x909479){return _0xd1c985===_0x909479;},'mBPIL':_0x241949(0xd3)};this[_0x241949(0xa6)]['debug'](_0x193d84[_0x241949(0xc4)]);const _0x2cbbf2=_0x2c546e[_0x241949(0x8e)];if(!_0x2cbbf2){this[_0x241949(0xa6)][_0x241949(0xf6)](_0x193d84[_0x241949(0x141)]);return;}const _0x2fda81=_0x2c546e[_0x241949(0x9d)],_0x11b571=this[_0x241949(0x130)](_0x2c546e),_0x448a0b=_0x2fda81['status'];let _0x113916;const _0xe13194=_0x193d84[_0x241949(0x9f)](getPlaywrightStatus,_0x448a0b);let _0x2c0070,_0x1de64c=null;if(_0x2fda81[_0x241949(0xea)]||_0x2fda81['gherkinDocument'])_0x2c0070=_0x193d84[_0x241949(0x9f)](getCucumberSessionName,_0x2fda81),_0x113916=_0x193d84['oxXVG'](nestedKeyValue,_0x2fda81,[_0x193d84[_0x241949(0x142)],_0x193d84[_0x241949(0xd9)]]);else{_0x2c0070=_0x193d84[_0x241949(0x9f)](getPlaywrightSessionName,_0x2fda81),_0x113916=_0x193d84['oxXVG'](nestedKeyValue,_0x2fda81,[_0x193d84[_0x241949(0xab)],_0x193d84[_0x241949(0xd9)]]);const _0x5bab1a=_0x193d84[_0x241949(0x12f)](nestedKeyValue,_0x2fda81,[_0x193d84[_0x241949(0xb7)]]);_0x5bab1a&&_0x193d84[_0x241949(0x129)](_0x5bab1a[_0x241949(0x9e)],0x0)&&(_0x1de64c=_0x5bab1a[0x0][_0x241949(0x96)]),_0x113916=_0x193d84[_0x241949(0xef)](_0x113916,_0x1de64c),this[_0x241949(0xa6)]['debug']('Automation\x20onAfterTest:\x20Test\x20status:\x20'+_0xe13194+'\x20failure\x20reason:\x20'+_0x113916);}const _0x2bea4a=_0x193d84[_0x241949(0xe9)](_0x113916,_0x1de64c);this[_0x241949(0xa6)][_0x241949(0xf6)](_0x241949(0x106)+_0xe13194);let _0x4acf72,_0x3f9f51;if(this[_0x241949(0xba)]&&_0x193d84[_0x241949(0x12b)](this[_0x241949(0xba)][_0x241949(0x114)],FRAMEWORKS[_0x241949(0x10f)]))_0x4acf72=_0x11b571,_0x3f9f51=TestInfo[_0x241949(0x153)](_0x4acf72);else this[_0x241949(0xba)]&&_0x193d84[_0x241949(0x12b)](this[_0x241949(0xba)][_0x241949(0x114)],FRAMEWORKS[_0x241949(0x155)])?(_0x4acf72=this[_0x241949(0xbb)]['recreateIdentifierFromTestInfo'](_0x2fda81),this['logger'][_0x241949(0xf6)](_0x241949(0xb4)+_0x4acf72)):(_0x4acf72=TestInfo[_0x241949(0x92)](_0x2fda81,_0x2fda81[_0x241949(0xe0)]),_0x3f9f51=TestInfo[_0x241949(0x153)](_0x4acf72));const _0x56761e=TestInfo['getTestDetails'](_0x4acf72);this['logger']['info'](_0x193d84[_0x241949(0x10a)](_0x193d84[_0x241949(0x10e)],_0x11b571)),this[_0x241949(0xa6)]['info'](_0x193d84[_0x241949(0x12d)](_0x193d84[_0x241949(0xa8)],util['inspect'](_0x56761e)));const _0x34613b=AutomationFramework[_0x241949(0xf3)](_0x2cbbf2,PlaywrightDriverModule['KEY_PLATFORM_INDEX']),_0x306081=_0x56761e?.[TestFrameworkConstants[_0x241949(0x104)]]||this[_0x241949(0xba)]&&this['testFrameworkData'][_0x241949(0x114)],_0x2f4a2a=_0x56761e?.[TestFrameworkConstants[_0x241949(0xac)]]||this[_0x241949(0xba)]&&this[_0x241949(0xba)][_0x241949(0x13c)],_0x4a3cb1=TestFrameworkState[_0x241949(0xe5)][_0x241949(0xe4)]()['split']('.')[0x1],_0x485459=HookState['POST'][_0x241949(0xe4)]()[_0x241949(0x122)]('.')[0x1],_0x5def4f=_0x2cbbf2[_0x241949(0x10c)](),_0x2122ae=AutomationFramework[_0x241949(0xf3)](_0x2cbbf2,PlaywrightDriverModule['KEY_HUB_URL'],''),_0x3724e5={'provider':_0x193d84[_0x241949(0x9f)](getPlaywrightProvider,_0x2122ae),'frameworkName':_0x193d84[_0x241949(0x128)],'frameworkVersion':_0x193d84[_0x241949(0x100)],'frameworkSessionId':LoadTestModule[_0x241949(0x8f)]()?LoadTestModule[_0x241949(0xc0)]():AutomationFramework[_0x241949(0xf3)](_0x2cbbf2,PlaywrightDriverModule[_0x241949(0x109)],''),'ref':_0x2cbbf2[_0x241949(0x11a)](),'hubUrl':_0x2122ae};let _0x452aba=AutomationFramework[_0x241949(0xf3)](_0x2cbbf2,PlaywrightDriverModule[_0x241949(0x125)],{});_0x452aba&&_0x193d84[_0x241949(0xc5)](Object['keys'](_0x452aba)[_0x241949(0x9e)],0x0)?_0x452aba=Buffer['from'](JSON[_0x241949(0xaa)](_0x452aba))[_0x241949(0xe4)](_0x193d84[_0x241949(0x131)]):_0x452aba=Buffer[_0x241949(0xd2)](JSON[_0x241949(0xaa)]({}))[_0x241949(0xe4)](_0x193d84[_0x241949(0x131)]);const _0x520938={'hash':_0x5def4f[_0x241949(0x150)](),'threadId':_0x5def4f[_0x241949(0x14e)]()[_0x241949(0xe4)](),'processId':_0x5def4f[_0x241949(0x11e)]()[_0x241949(0xe4)]()},_0x1729ed={};_0x1729ed[_0x241949(0x105)]=_0x4acf72;const _0x2b6cd1={};_0x2b6cd1[_0x241949(0x13e)]=_0x3f9f51;const _0x3d3dd6={'platformIndex':_0x34613b,'testFrameworkName':_0x306081,'testFrameworkVersion':_0x2f4a2a,'testFrameworkState':_0x4a3cb1,'testHookState':_0x485459,...this[_0x241949(0xba)]&&_0x193d84['JlEZj'](this[_0x241949(0xba)][_0x241949(0x114)],FRAMEWORKS['JEST'])?_0x1729ed:_0x2b6cd1,'automationSession':_0x3724e5,'capabilities':_0x452aba,'executionContext':_0x520938};this[_0x241949(0xa6)]['debug'](_0x241949(0xff)+util['format'](_0x3d3dd6)),GrpcClient[_0x241949(0x154)]()[_0x241949(0xf0)](_0x3d3dd6),this[_0x241949(0xa6)]['debug'](_0x241949(0x121)+_0x11b571+(this[_0x241949(0xba)]&&_0x193d84[_0x241949(0x11f)](this[_0x241949(0xba)][_0x241949(0x114)],FRAMEWORKS[_0x241949(0x155)])?_0x241949(0xb1)+_0x4acf72:''));if(!_0xe13194){this[_0x241949(0xa6)]['debug'](_0x193d84[_0x241949(0x156)],_0x448a0b['status']);return;}this[_0x241949(0xa6)][_0x241949(0xf6)]('Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20and\x20status\x20for\x20testId:\x20'+_0x11b571),_0x2fda81&&(this[_0x241949(0xa6)][_0x241949(0xf6)](_0x241949(0x11d)+_0x2c0070),await this[_0x241949(0xed)](_0x2fda81)),await this[_0x241949(0xa1)](_0x2cbbf2,_0x2c0070,_0xe13194,_0x2bea4a);}async['markSessionStatus'](_0xd87a26,_0x535d65,_0x13027c,_0x532b66){const _0x5bb1d9=a84_0x2b56c2,_0x3c4092={'iWkPy':_0x5bb1d9(0x137),'BRYKq':_0x5bb1d9(0x138),'ryyJc':_0x5bb1d9(0xe6),'KLvPK':_0x5bb1d9(0xd3),'IQuvj':'setSessionStatus','PgLrA':_0x5bb1d9(0x102),'OrIFg':_0x5bb1d9(0xcd),'SoKoE':function(_0x4f6ebc,_0x5c0a1c){return _0x4f6ebc===_0x5c0a1c;},'xSfAu':_0x5bb1d9(0xa0),'AuTeO':_0x5bb1d9(0xbc),'IkbJu':_0x5bb1d9(0x133),'tnrXM':function(_0x27f238,_0x587652,_0x1e3bfa,_0x13255e){return _0x27f238(_0x587652,_0x1e3bfa,_0x13255e);},'bTQJD':_0x5bb1d9(0x93),'noaza':function(_0x36063a,_0xc94d28,_0x1bf6f7){return _0x36063a(_0xc94d28,_0x1bf6f7);}};if(CLIUtils[_0x5bb1d9(0xae)](BrowserstackCLI[_0x5bb1d9(0x154)]()[_0x5bb1d9(0xb8)]())){this['logger'][_0x5bb1d9(0xf6)](_0x3c4092[_0x5bb1d9(0x147)]);return;}const _0x4dfd16=_0xd87a26;if(!_0x4dfd16){this['logger'][_0x5bb1d9(0xf6)](_0x3c4092[_0x5bb1d9(0x9a)]);return;}const _0x26ad2c=AutomationFramework[_0x5bb1d9(0xf3)](_0x4dfd16,PlaywrightDriverModule['KEY_PAGE_OBJECT']);if(!_0x26ad2c){this[_0x5bb1d9(0xa6)]['debug'](_0x3c4092['ryyJc']);return;}const _0x5904f6=_0x13027c;if(!_0x5904f6){this['logger'][_0x5bb1d9(0xf6)](_0x3c4092[_0x5bb1d9(0x126)],_0x5904f6);return;}const _0x836263={};_0x836263[_0x5bb1d9(0xfa)]=_0x5904f6;const _0x1a6beb={};_0x1a6beb[_0x5bb1d9(0xe2)]=_0x3c4092['IQuvj'],_0x1a6beb['arguments']=_0x836263;const _0x2c07b1=_0x1a6beb;_0x532b66&&(_0x2c07b1[_0x5bb1d9(0xc6)][_0x3c4092['PgLrA']]=_0x532b66);const _0x2144a2=(_0x535d65?_0x535d65:_0x3c4092[_0x5bb1d9(0x97)])+'\x20'+_0x5904f6+'\x20'+(_0x532b66?_0x5bb1d9(0xad)+_0x532b66:''),_0x4218a5=_0x3c4092['SoKoE'](_0x5904f6,_0x3c4092['xSfAu'])?_0x3c4092[_0x5bb1d9(0x98)]:_0x3c4092[_0x5bb1d9(0x12a)];await _0x3c4092[_0x5bb1d9(0xf8)](playwrightAnnotate,_0x26ad2c,_0x2144a2,_0x4218a5),_0x532b66&&(_0x2c07b1[_0x5bb1d9(0xc6)][_0x3c4092[_0x5bb1d9(0x145)]]=_0x532b66),PerformanceTester[_0x5bb1d9(0xd8)](PerformanceEvents['SESSION_STATUS']),this[_0x5bb1d9(0xa6)][_0x5bb1d9(0xf6)](_0x3c4092[_0x5bb1d9(0x148)]),await _0x3c4092[_0x5bb1d9(0xe8)](playwrightBstackJsExecutor,_0x26ad2c,_0x2c07b1),PerformanceTester['end'](PerformanceEvents['SESSION_STATUS']);}async[a84_0x2b56c2(0xed)](_0x2b9935){const _0x309c70=a84_0x2b56c2,_0x1f7d6d={'DMigH':'markSessionName:\x20Skipping\x20session\x20name\x20marking','BLYOZ':function(_0x5d43a0,_0x2c24b3){return _0x5d43a0(_0x2c24b3);},'KNmIx':function(_0x48bb5a,_0x4676eb){return _0x48bb5a(_0x4676eb);},'uclpZ':_0x309c70(0x94),'PdEOf':function(_0x2295da,_0x1d562c,_0x4a21c9){return _0x2295da(_0x1d562c,_0x4a21c9);}};try{if(CLIUtils[_0x309c70(0xe7)](BrowserstackCLI[_0x309c70(0x154)]()[_0x309c70(0xb8)]())){this[_0x309c70(0xa6)]['debug'](_0x1f7d6d[_0x309c70(0xce)]);return;}const _0x253ce8=AutomationFramework[_0x309c70(0xf3)](AutomationFramework[_0x309c70(0xb0)](),PlaywrightDriverModule[_0x309c70(0x11c)]);let _0x466061;_0x2b9935[_0x309c70(0xea)]||_0x2b9935[_0x309c70(0xf5)]?_0x466061=_0x1f7d6d[_0x309c70(0xf4)](getCucumberSessionName,_0x2b9935):_0x466061=_0x1f7d6d['KNmIx'](getPlaywrightSessionName,_0x2b9935);const _0x4dc61a={};_0x4dc61a['name']=_0x466061;const _0x5b3649={};_0x5b3649['action']=_0x1f7d6d['uclpZ'],_0x5b3649[_0x309c70(0xc6)]=_0x4dc61a;const _0x1cadc8=_0x5b3649;PerformanceTester[_0x309c70(0xd8)](PerformanceEvents['SESSION_NAME']),await _0x1f7d6d['PdEOf'](playwrightBstackJsExecutor,_0x253ce8,_0x1cadc8),PerformanceTester[_0x309c70(0x146)](PerformanceEvents['SESSION_NAME']);}catch(_0x43e8f1){PerformanceTester['end'](PerformanceEvents['SESSION_NAME'],![],util['format'](_0x43e8f1)),this[_0x309c70(0xa6)]['error'](_0x309c70(0xee)+util[_0x309c70(0x132)](_0x43e8f1));}}}function a84_0x2428(_0x481b17,_0x2cf93f){const _0x212977=a84_0x2129();return a84_0x2428=function(_0x2428f7,_0x260083){_0x2428f7=_0x2428f7-0x8d;let _0x121dac=_0x212977[_0x2428f7];return _0x121dac;},a84_0x2428(_0x481b17,_0x2cf93f);}PlaywrightDriverModule[a84_0x2b56c2(0xa2)]=a84_0x2b56c2(0x151),module[a84_0x2b56c2(0xc8)]=PlaywrightDriverModule;
1
+ const a84_0x12872e=a84_0x4ced;(function(_0x2c09b4,_0x296aa6){const _0x3e5633=a84_0x4ced,_0x28647e=_0x2c09b4();while(!![]){try{const _0x5f1b66=-parseInt(_0x3e5633(0x1c4))/0x1*(parseInt(_0x3e5633(0x1a8))/0x2)+parseInt(_0x3e5633(0x1f9))/0x3*(-parseInt(_0x3e5633(0x1f0))/0x4)+parseInt(_0x3e5633(0x245))/0x5+parseInt(_0x3e5633(0x1f6))/0x6*(-parseInt(_0x3e5633(0x1ee))/0x7)+-parseInt(_0x3e5633(0x1a2))/0x8*(parseInt(_0x3e5633(0x1e4))/0x9)+-parseInt(_0x3e5633(0x230))/0xa+-parseInt(_0x3e5633(0x19f))/0xb*(-parseInt(_0x3e5633(0x1bb))/0xc);if(_0x5f1b66===_0x296aa6)break;else _0x28647e['push'](_0x28647e['shift']());}catch(_0x28be6a){_0x28647e['push'](_0x28647e['shift']());}}}(a84_0x13f3,0xe09ed));const util=require('util'),BaseModule=require(a84_0x12872e(0x249)),{createClassLogger}=require(a84_0x12872e(0x213)),{getFrameworkVersion}=require(a84_0x12872e(0x1f5)),helper=require('../../../helpers/helper'),{FRAMEWORKS}=require(a84_0x12872e(0x1a1)),AutomationFramework=require('../framework/automationFramework.js'),AutomationFrameworkState=require(a84_0x12872e(0x1f8)),HookState=require(a84_0x12872e(0x236)),{playwrightBstackJsExecutor,nestedKeyValue,playwrightAnnotate,getPlaywrightStatus,getPlaywrightSessionName,getCucumberSessionName}=require(a84_0x12872e(0x20a)),CLIUtils=require(a84_0x12872e(0x1b0)),BrowserstackCLI=require(a84_0x12872e(0x19d)),GrpcClient=require('../grpcClient.js'),PerformanceTester=require(a84_0x12872e(0x20d)),PerformanceEvents=require('../../../helpers/performance/constants.js')[a84_0x12872e(0x1af)],TestInfo=require('../TestInfo.js'),{getPlaywrightProvider}=require('../../../helpers/helper.js'),LoadTestModule=require(a84_0x12872e(0x1c7)),TestFrameworkConstants=require(a84_0x12872e(0x1b1)),TestFrameworkState=require('../state/testFrameworkState'),JestUtils=require(a84_0x12872e(0x23f));function a84_0x4ced(_0x4f5ebe,_0x4beba9){const _0x13f31f=a84_0x13f3();return a84_0x4ced=function(_0x4ced51,_0x282db6){_0x4ced51=_0x4ced51-0x193;let _0x4e5a32=_0x13f31f[_0x4ced51];return _0x4e5a32;},a84_0x4ced(_0x4f5ebe,_0x4beba9);}class PlaywrightDriverModule extends BaseModule{static [a84_0x12872e(0x210)]=a84_0x12872e(0x22a);static [a84_0x12872e(0x232)]='contextObject';static [a84_0x12872e(0x1f4)]=a84_0x12872e(0x1e1);static [a84_0x12872e(0x196)]='sessionId';static [a84_0x12872e(0x20f)]='platformIndex';static [a84_0x12872e(0x203)]='capabilities';static ['KEY_HUB_URL']='hubUrl';static [a84_0x12872e(0x19c)]=a84_0x12872e(0x1a9);static [a84_0x12872e(0x246)]='testId';[a84_0x12872e(0x243)]=createClassLogger('PlaywrightDriverModule');constructor(_0x345e8b=null){const _0x5094f5=a84_0x12872e,_0x191982={};_0x191982[_0x5094f5(0x215)]='8|10|6|4|3|11|5|7|1|0|9|2',_0x191982[_0x5094f5(0x1be)]=_0x5094f5(0x255);const _0x3cc4eb=_0x191982,_0x3158ca=_0x3cc4eb['PmkQC'][_0x5094f5(0x1a3)]('|');let _0x2885ae=0x0;while(!![]){switch(_0x3158ca[_0x2885ae++]){case'0':AutomationFramework[_0x5094f5(0x1b9)](AutomationFrameworkState[_0x5094f5(0x226)],HookState[_0x5094f5(0x253)],this['onAfterDriverCreate'][_0x5094f5(0x19b)](this));continue;case'1':AutomationFramework[_0x5094f5(0x1b9)](AutomationFrameworkState[_0x5094f5(0x226)],HookState[_0x5094f5(0x244)],this['onBeforeDriverCreate'][_0x5094f5(0x19b)](this));continue;case'2':AutomationFramework[_0x5094f5(0x1b9)](AutomationFrameworkState[_0x5094f5(0x204)],HookState[_0x5094f5(0x253)],this[_0x5094f5(0x19a)][_0x5094f5(0x19b)](this));continue;case'3':this[_0x5094f5(0x1bf)]=null;continue;case'4':this[_0x5094f5(0x21e)]=null;continue;case'5':this['testRunId']=null;continue;case'6':this[_0x5094f5(0x1d7)]=null;continue;case'7':this['jestUtils']=new JestUtils();continue;case'8':super(_0x345e8b);continue;case'9':AutomationFramework[_0x5094f5(0x1b9)](AutomationFrameworkState[_0x5094f5(0x1db)],HookState['POST'],this['onPlaywrightDispatch'][_0x5094f5(0x19b)](this));continue;case'10':this[_0x5094f5(0x1e6)]=_0x3cc4eb['eeGfc'];continue;case'11':this[_0x5094f5(0x1de)]=[];continue;}break;}}[a84_0x12872e(0x21b)](){const _0x1aec23=a84_0x12872e;return PlaywrightDriverModule[_0x1aec23(0x1ec)];}async[a84_0x12872e(0x198)](_0xa7ae0d){const _0x1e2d96=a84_0x12872e,_0x2a467c={};_0x2a467c[_0x1e2d96(0x1c6)]=_0x1e2d96(0x19e);const _0xf2793c=_0x2a467c;try{this[_0x1e2d96(0x243)][_0x1e2d96(0x252)](_0xf2793c[_0x1e2d96(0x1c6)]);const _0x23fc0a=_0xa7ae0d[_0x1e2d96(0x197)],_0x2e1bd2=_0xa7ae0d[_0x1e2d96(0x1d9)];AutomationFramework[_0x1e2d96(0x227)](_0xa7ae0d[_0x1e2d96(0x206)],PlaywrightDriverModule[_0x1e2d96(0x203)],_0x23fc0a),AutomationFramework[_0x1e2d96(0x227)](_0xa7ae0d[_0x1e2d96(0x206)],PlaywrightDriverModule['KEY_HUB_URL'],_0x2e1bd2);}catch(_0x1a6a3c){this['logger']['error']('Error\x20in\x20onBeforeDriverCreate:\x20'+util[_0x1e2d96(0x1a0)](_0x1a6a3c));}}async[a84_0x12872e(0x224)](_0x506d72){const _0x3c2444=a84_0x12872e,_0x3004d2={};_0x3004d2[_0x3c2444(0x1e8)]=function(_0x123741,_0x3851f1){return _0x123741||_0x3851f1;};const _0x599fec=_0x3004d2;try{const _0x984cca=_0x506d72?.[_0x3c2444(0x1d1)]&&_0x506d72?.[_0x3c2444(0x1d1)]?.[_0x3c2444(0x23d)]&&_0x506d72?.[_0x3c2444(0x1d1)]?.[_0x3c2444(0x23d)]?.[_0x3c2444(0x193)],_0x24a076=_0x506d72?.['message']&&_0x506d72?.[_0x3c2444(0x1d1)]?.['bStackParams'];if(_0x599fec[_0x3c2444(0x1e8)](_0x984cca,_0x24a076)){this[_0x3c2444(0x243)][_0x3c2444(0x252)](_0x3c2444(0x1d5)+util['inspect'](_0x984cca)+'\x20||\x20'+util[_0x3c2444(0x207)](_0x24a076));const _0xc4bdd1=_0x506d72?.[_0x3c2444(0x206)],_0x4db4fe=global?.[_0x3c2444(0x247)]?.[_0x3c2444(0x257)]?.[_0x3c2444(0x233)],_0x273f9a=_0x984cca?.[_0x3c2444(0x1e3)]||_0x24a076?.['sessionId'],_0x384aed=_0x984cca?.[_0x3c2444(0x1a9)]||_0x24a076?.[_0x3c2444(0x1a9)];_0x273f9a&&(this[_0x3c2444(0x243)][_0x3c2444(0x252)](_0x3c2444(0x1fb)+_0x273f9a),AutomationFramework[_0x3c2444(0x227)](_0xc4bdd1,PlaywrightDriverModule['KEY_SESSION_ID'],_0x273f9a)),_0x4db4fe&&(this[_0x3c2444(0x243)][_0x3c2444(0x252)](_0x3c2444(0x24f)+util['inspect'](_0x4db4fe)),AutomationFramework[_0x3c2444(0x227)](_0xc4bdd1,PlaywrightDriverModule[_0x3c2444(0x20f)],_0x4db4fe));}}catch(_0x4e7b1c){this[_0x3c2444(0x243)][_0x3c2444(0x1d0)](_0x3c2444(0x1bd)+util[_0x3c2444(0x1a0)](_0x4e7b1c));}}async[a84_0x12872e(0x1ca)](_0x2e2117){const _0x5a2ab5=a84_0x12872e,_0x17c12b={'zhMJf':'onAfterDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','vReLE':function(_0x533aab,_0x1a545e){return _0x533aab(_0x1a545e);},'fYzjE':_0x5a2ab5(0x1fa),'PdvfJ':_0x5a2ab5(0x21a),'aGHFd':_0x5a2ab5(0x1cc),'uhKco':_0x5a2ab5(0x23b),'rGiDc':_0x5a2ab5(0x1ea)};try{this[_0x5a2ab5(0x243)][_0x5a2ab5(0x252)](_0x17c12b[_0x5a2ab5(0x1c0)]);const _0x3cdb43=_0x2e2117[_0x5a2ab5(0x206)];this[_0x5a2ab5(0x1d7)]=_0x17c12b[_0x5a2ab5(0x1d2)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);if(_0x2e2117[_0x5a2ab5(0x1ba)]){this[_0x5a2ab5(0x243)][_0x5a2ab5(0x252)](_0x17c12b[_0x5a2ab5(0x22f)]),AutomationFramework[_0x5a2ab5(0x227)](_0x3cdb43,PlaywrightDriverModule[_0x5a2ab5(0x1f4)],_0x2e2117[_0x5a2ab5(0x1ba)]);if(_0x2e2117[_0x5a2ab5(0x229)]){this[_0x5a2ab5(0x243)]['debug'](_0x17c12b[_0x5a2ab5(0x222)]);const _0x2aacbc=this['getTestId'](_0x2e2117);AutomationFramework[_0x5a2ab5(0x227)](_0x3cdb43,PlaywrightDriverModule[_0x5a2ab5(0x246)],_0x2aacbc),await this[_0x5a2ab5(0x1b2)](_0x2e2117[_0x5a2ab5(0x229)]);}}_0x2e2117[_0x5a2ab5(0x1c3)]&&(this[_0x5a2ab5(0x243)]['debug'](_0x17c12b[_0x5a2ab5(0x21f)]),AutomationFramework[_0x5a2ab5(0x227)](_0x3cdb43,PlaywrightDriverModule[_0x5a2ab5(0x232)],_0x2e2117['context']));if(_0x2e2117[_0x5a2ab5(0x237)]){this[_0x5a2ab5(0x243)][_0x5a2ab5(0x252)](_0x17c12b['uhKco']);const _0x44a377=global?.[_0x5a2ab5(0x247)]?.[_0x5a2ab5(0x257)]?.[_0x5a2ab5(0x233)];AutomationFramework[_0x5a2ab5(0x227)](_0x3cdb43,PlaywrightDriverModule['KEY_BROWSER_OBJECT'],_0x2e2117[_0x5a2ab5(0x237)]),AutomationFramework[_0x5a2ab5(0x227)](_0x3cdb43,PlaywrightDriverModule[_0x5a2ab5(0x20f)],_0x44a377);const _0xef40c7={};_0xef40c7[_0x5a2ab5(0x205)]=!![];const _0x38bf33=Buffer[_0x5a2ab5(0x1ad)](JSON['stringify'](_0xef40c7)[_0x5a2ab5(0x1c9)](_0x17c12b[_0x5a2ab5(0x24d)])),_0x521a7c=await GrpcClient[_0x5a2ab5(0x1d8)]()[_0x5a2ab5(0x1e0)]({'platformIndex':_0x44a377,'ref':_0x3cdb43[_0x5a2ab5(0x25a)](),'userInputParams':_0x38bf33});helper[_0x5a2ab5(0x201)](helper[_0x5a2ab5(0x1e2)]())&&AutomationFramework[_0x5a2ab5(0x227)](_0x3cdb43,PlaywrightDriverModule[_0x5a2ab5(0x203)],JSON[_0x5a2ab5(0x1b8)](Buffer['from'](_0x521a7c[_0x5a2ab5(0x1e9)](),_0x17c12b['rGiDc'])['toString']()));}}catch(_0x3b6c8b){this[_0x5a2ab5(0x243)][_0x5a2ab5(0x1d0)](_0x5a2ab5(0x1b6)+util[_0x5a2ab5(0x1a0)](_0x3b6c8b));}}async['onAfterTest'](_0x18503f){const _0x5a0c95=a84_0x12872e,_0x1fc8ea={'qOqnP':_0x5a0c95(0x259),'GEDoh':'Automation\x20onAfterTest:\x20Automation\x20instance\x20is\x20not\x20available','QPNCO':function(_0x14101c,_0x483854){return _0x14101c(_0x483854);},'OUmQG':function(_0x3c6dfa,_0x5e4822){return _0x3c6dfa(_0x5e4822);},'eTSiN':function(_0x3bb5e6,_0x2c0999,_0x474ec1){return _0x3bb5e6(_0x2c0999,_0x474ec1);},'GbESs':'result','Bzkxx':_0x5a0c95(0x1d1),'jxwLw':function(_0x530c32,_0x25b0c2,_0x26f140){return _0x530c32(_0x25b0c2,_0x26f140);},'VUcjK':_0x5a0c95(0x1d0),'WZtCk':_0x5a0c95(0x218),'ieRHY':function(_0x3a77aa,_0x33761b){return _0x3a77aa>_0x33761b;},'iYPhI':function(_0x260e44,_0x1cca5d){return _0x260e44||_0x1cca5d;},'btXnP':function(_0x477446,_0x9e8377){return _0x477446||_0x9e8377;},'NVpeL':function(_0x40fa77,_0x2624da){return _0x40fa77===_0x2624da;},'RdXAV':function(_0x12a7dd,_0x403993){return _0x12a7dd+_0x403993;},'vQaeu':_0x5a0c95(0x231),'GVOjJ':'testData\x20from\x20onAfterTest:\x20','ewmos':_0x5a0c95(0x22b),'rJclu':_0x5a0c95(0x248),'nbHht':_0x5a0c95(0x1ea),'jfkvc':_0x5a0c95(0x1ed)};this[_0x5a0c95(0x243)][_0x5a0c95(0x252)](_0x1fc8ea[_0x5a0c95(0x24a)]);const _0x107b47=_0x18503f['instance'];if(!_0x107b47){this[_0x5a0c95(0x243)][_0x5a0c95(0x252)](_0x1fc8ea[_0x5a0c95(0x1ce)]);return;}const _0x61e6d2=_0x18503f[_0x5a0c95(0x229)],_0x1701dd=this[_0x5a0c95(0x22d)](_0x18503f),_0x329836=_0x61e6d2[_0x5a0c95(0x1f3)];let _0x3922a5;const _0x5d6381=_0x1fc8ea[_0x5a0c95(0x228)](getPlaywrightStatus,_0x329836);let _0x3ff7ee,_0x5b578a=null;if(_0x61e6d2[_0x5a0c95(0x1dd)]||_0x61e6d2[_0x5a0c95(0x1df)])_0x3ff7ee=_0x1fc8ea['OUmQG'](getCucumberSessionName,_0x61e6d2),_0x3922a5=_0x1fc8ea[_0x5a0c95(0x1b3)](nestedKeyValue,_0x61e6d2,[_0x1fc8ea[_0x5a0c95(0x209)],_0x1fc8ea[_0x5a0c95(0x1ac)]]);else{_0x3ff7ee=_0x1fc8ea['OUmQG'](getPlaywrightSessionName,_0x61e6d2),_0x3922a5=_0x1fc8ea[_0x5a0c95(0x20b)](nestedKeyValue,_0x61e6d2,[_0x1fc8ea[_0x5a0c95(0x1b7)],_0x1fc8ea['Bzkxx']]);const _0x1fccee=_0x1fc8ea[_0x5a0c95(0x20b)](nestedKeyValue,_0x61e6d2,[_0x1fc8ea[_0x5a0c95(0x1d4)]]);_0x1fccee&&_0x1fc8ea[_0x5a0c95(0x1f2)](_0x1fccee[_0x5a0c95(0x242)],0x0)&&(_0x5b578a=_0x1fccee[0x0][_0x5a0c95(0x1d1)]),_0x3922a5=_0x1fc8ea[_0x5a0c95(0x1fe)](_0x3922a5,_0x5b578a),this[_0x5a0c95(0x243)][_0x5a0c95(0x252)](_0x5a0c95(0x251)+_0x5d6381+'\x20failure\x20reason:\x20'+_0x3922a5);}const _0x281f90=_0x1fc8ea[_0x5a0c95(0x1fd)](_0x3922a5,_0x5b578a);this[_0x5a0c95(0x243)][_0x5a0c95(0x252)](_0x5a0c95(0x251)+_0x5d6381);let _0x5ee815,_0x53a54;if(this[_0x5a0c95(0x1a7)]&&_0x1fc8ea['NVpeL'](this[_0x5a0c95(0x1a7)]['name'],FRAMEWORKS[_0x5a0c95(0x256)]))_0x5ee815=_0x1701dd,_0x53a54=TestInfo[_0x5a0c95(0x1e5)](_0x5ee815);else this['testFrameworkData']&&_0x1fc8ea[_0x5a0c95(0x23a)](this['testFrameworkData']['name'],FRAMEWORKS[_0x5a0c95(0x1c8)])?(_0x5ee815=this[_0x5a0c95(0x1d6)][_0x5a0c95(0x1dc)](_0x61e6d2),this[_0x5a0c95(0x243)][_0x5a0c95(0x252)]('Automation\x20onAfterTest:\x20Recreated\x20Jest\x20testIdentifier:\x20'+_0x5ee815)):(_0x5ee815=TestInfo['getTestIdentifierFromTestInfo'](_0x61e6d2,_0x61e6d2[_0x5a0c95(0x1ef)]),_0x53a54=TestInfo[_0x5a0c95(0x1e5)](_0x5ee815));const _0x251664=TestInfo[_0x5a0c95(0x1cb)](_0x5ee815);this[_0x5a0c95(0x243)]['info'](_0x1fc8ea[_0x5a0c95(0x1ff)](_0x1fc8ea[_0x5a0c95(0x1aa)],_0x1701dd)),this[_0x5a0c95(0x243)][_0x5a0c95(0x22e)](_0x1fc8ea[_0x5a0c95(0x1ff)](_0x1fc8ea[_0x5a0c95(0x24e)],util['inspect'](_0x251664)));const _0x481cf2=AutomationFramework[_0x5a0c95(0x199)](_0x107b47,PlaywrightDriverModule[_0x5a0c95(0x20f)]),_0x1e85eb=_0x251664?.[TestFrameworkConstants[_0x5a0c95(0x1f7)]]||this[_0x5a0c95(0x1a7)]&&this[_0x5a0c95(0x1a7)][_0x5a0c95(0x1e6)],_0x5ce1d9=_0x251664?.[TestFrameworkConstants[_0x5a0c95(0x1c1)]]||this[_0x5a0c95(0x1a7)]&&this[_0x5a0c95(0x1a7)][_0x5a0c95(0x202)],_0x4b1cba=TestFrameworkState[_0x5a0c95(0x21c)]['toString']()[_0x5a0c95(0x1a3)]('.')[0x1],_0x1772a0=HookState[_0x5a0c95(0x253)]['toString']()[_0x5a0c95(0x1a3)]('.')[0x1],_0x3c745f=_0x107b47['getContext'](),_0x2eafa3=AutomationFramework['getState'](_0x107b47,PlaywrightDriverModule[_0x5a0c95(0x234)],''),_0x49fff3={'provider':_0x1fc8ea['OUmQG'](getPlaywrightProvider,_0x2eafa3),'frameworkName':_0x1fc8ea['ewmos'],'frameworkVersion':_0x1fc8ea['rJclu'],'frameworkSessionId':LoadTestModule[_0x5a0c95(0x24c)]()?LoadTestModule[_0x5a0c95(0x219)]():AutomationFramework[_0x5a0c95(0x199)](_0x107b47,PlaywrightDriverModule[_0x5a0c95(0x196)],''),'ref':_0x107b47[_0x5a0c95(0x25a)](),'hubUrl':_0x2eafa3};let _0x40a5e6=AutomationFramework['getState'](_0x107b47,PlaywrightDriverModule[_0x5a0c95(0x203)],{});_0x40a5e6&&_0x1fc8ea[_0x5a0c95(0x1f2)](Object['keys'](_0x40a5e6)[_0x5a0c95(0x242)],0x0)?_0x40a5e6=Buffer[_0x5a0c95(0x1ad)](JSON[_0x5a0c95(0x1c5)](_0x40a5e6))[_0x5a0c95(0x1c9)](_0x1fc8ea[_0x5a0c95(0x1ab)]):_0x40a5e6=Buffer[_0x5a0c95(0x1ad)](JSON[_0x5a0c95(0x1c5)]({}))[_0x5a0c95(0x1c9)](_0x1fc8ea[_0x5a0c95(0x1ab)]);const _0x3de2ec={'hash':_0x3c745f[_0x5a0c95(0x1eb)](),'threadId':_0x3c745f['getThreadId']()[_0x5a0c95(0x1c9)](),'processId':_0x3c745f['getProcessId']()[_0x5a0c95(0x1c9)]()},_0x5a56a3={};_0x5a56a3[_0x5a0c95(0x225)]=_0x5ee815;const _0x45e70b={};_0x45e70b[_0x5a0c95(0x25b)]=_0x53a54;const _0x19352a={'platformIndex':_0x481cf2,'testFrameworkName':_0x1e85eb,'testFrameworkVersion':_0x5ce1d9,'testFrameworkState':_0x4b1cba,'testHookState':_0x1772a0,...this[_0x5a0c95(0x1a7)]&&_0x1fc8ea[_0x5a0c95(0x23a)](this[_0x5a0c95(0x1a7)][_0x5a0c95(0x1e6)],FRAMEWORKS[_0x5a0c95(0x1c8)])?_0x5a56a3:_0x45e70b,'automationSession':_0x49fff3,'capabilities':_0x40a5e6,'executionContext':_0x3de2ec};this[_0x5a0c95(0x243)][_0x5a0c95(0x252)](_0x5a0c95(0x24b)+util['format'](_0x19352a)),GrpcClient[_0x5a0c95(0x1d8)]()[_0x5a0c95(0x1bc)](_0x19352a),this[_0x5a0c95(0x243)][_0x5a0c95(0x252)](_0x5a0c95(0x239)+_0x1701dd+(this[_0x5a0c95(0x1a7)]&&_0x1fc8ea[_0x5a0c95(0x23a)](this['testFrameworkData'][_0x5a0c95(0x1e6)],FRAMEWORKS[_0x5a0c95(0x1c8)])?_0x5a0c95(0x250)+_0x5ee815:''));if(!_0x5d6381){this['logger'][_0x5a0c95(0x252)](_0x1fc8ea['jfkvc'],_0x329836[_0x5a0c95(0x1f3)]);return;}this[_0x5a0c95(0x243)]['debug']('Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20and\x20status\x20for\x20testId:\x20'+_0x1701dd),_0x61e6d2&&(this[_0x5a0c95(0x243)]['debug'](_0x5a0c95(0x254)+_0x3ff7ee),await this['markSessionName'](_0x61e6d2)),await this[_0x5a0c95(0x220)](_0x107b47,_0x3ff7ee,_0x5d6381,_0x281f90);}async['markSessionStatus'](_0x5c426b,_0x3da2e5,_0x48cee0,_0x4f25b3){const _0x1a55e8=a84_0x12872e,_0x4efb1e={'zVdXp':_0x1a55e8(0x240),'nKPsY':'markSessionStatus:\x20Automation\x20instance\x20is\x20not\x20available','AhhUN':_0x1a55e8(0x1a6),'RWNyo':_0x1a55e8(0x1ed),'wAzRa':'setSessionStatus','tQQkm':_0x1a55e8(0x238),'dMwaB':'Session','bZonA':function(_0x325629,_0x4ad4cb){return _0x325629===_0x4ad4cb;},'WcOiF':_0x1a55e8(0x20c),'SNUvI':_0x1a55e8(0x22e),'HQhmE':_0x1a55e8(0x1d0),'nhmig':function(_0x3866bd,_0x14a05a,_0x1c3f4b,_0x2a8dd3){return _0x3866bd(_0x14a05a,_0x1c3f4b,_0x2a8dd3);},'XwccO':_0x1a55e8(0x217),'MocVq':function(_0x1ff894,_0x3f9a3e,_0x449465){return _0x1ff894(_0x3f9a3e,_0x449465);}};if(CLIUtils[_0x1a55e8(0x1fc)](BrowserstackCLI['getInstance']()[_0x1a55e8(0x211)]())){this['logger']['debug'](_0x4efb1e[_0x1a55e8(0x1c2)]);return;}const _0x1302f0=_0x5c426b;if(!_0x1302f0){this[_0x1a55e8(0x243)][_0x1a55e8(0x252)](_0x4efb1e[_0x1a55e8(0x1cd)]);return;}const _0xd699c8=AutomationFramework[_0x1a55e8(0x199)](_0x1302f0,PlaywrightDriverModule[_0x1a55e8(0x1f4)]);if(!_0xd699c8){this[_0x1a55e8(0x243)]['debug'](_0x4efb1e[_0x1a55e8(0x194)]);return;}const _0x27ceab=_0x48cee0;if(!_0x27ceab){this['logger']['debug'](_0x4efb1e['RWNyo'],_0x27ceab);return;}const _0x121df0={};_0x121df0[_0x1a55e8(0x1f3)]=_0x27ceab;const _0x285458={};_0x285458[_0x1a55e8(0x223)]=_0x4efb1e[_0x1a55e8(0x22c)],_0x285458[_0x1a55e8(0x195)]=_0x121df0;const _0x4e7984=_0x285458;_0x4f25b3&&(_0x4e7984['arguments'][_0x4efb1e['tQQkm']]=_0x4f25b3);const _0x9c36a4=(_0x3da2e5?_0x3da2e5:_0x4efb1e[_0x1a55e8(0x241)])+'\x20'+_0x27ceab+'\x20'+(_0x4f25b3?_0x1a55e8(0x221)+_0x4f25b3:''),_0xab25ae=_0x4efb1e['bZonA'](_0x27ceab,_0x4efb1e[_0x1a55e8(0x1b5)])?_0x4efb1e[_0x1a55e8(0x1cf)]:_0x4efb1e[_0x1a55e8(0x1f1)];await _0x4efb1e[_0x1a55e8(0x1a4)](playwrightAnnotate,_0xd699c8,_0x9c36a4,_0xab25ae),_0x4f25b3&&(_0x4e7984['arguments'][_0x4efb1e[_0x1a55e8(0x214)]]=_0x4f25b3),PerformanceTester[_0x1a55e8(0x235)](PerformanceEvents[_0x1a55e8(0x1b4)]),this[_0x1a55e8(0x243)][_0x1a55e8(0x252)](_0x4efb1e[_0x1a55e8(0x23e)]),await _0x4efb1e[_0x1a55e8(0x21d)](playwrightBstackJsExecutor,_0xd699c8,_0x4e7984),PerformanceTester['end'](PerformanceEvents[_0x1a55e8(0x1b4)]);}async['markSessionName'](_0x4b4bfa){const _0x24f582=a84_0x12872e,_0xe3f42c={'lqQLi':_0x24f582(0x23c),'hfvaD':function(_0x23f997,_0x3834dd){return _0x23f997(_0x3834dd);},'TIZqE':function(_0x4ddd2d,_0x46294c){return _0x4ddd2d(_0x46294c);},'gIRAD':_0x24f582(0x1d3),'WrrPS':function(_0x20816c,_0x2e00a8,_0x56040a){return _0x20816c(_0x2e00a8,_0x56040a);}};try{if(CLIUtils[_0x24f582(0x216)](BrowserstackCLI[_0x24f582(0x1d8)]()[_0x24f582(0x211)]())){this[_0x24f582(0x243)][_0x24f582(0x252)](_0xe3f42c[_0x24f582(0x200)]);return;}const _0x4ce63d=AutomationFramework[_0x24f582(0x199)](AutomationFramework[_0x24f582(0x1e7)](),PlaywrightDriverModule[_0x24f582(0x1f4)]);let _0x34795a;_0x4b4bfa[_0x24f582(0x1dd)]||_0x4b4bfa[_0x24f582(0x1df)]?_0x34795a=_0xe3f42c['hfvaD'](getCucumberSessionName,_0x4b4bfa):_0x34795a=_0xe3f42c[_0x24f582(0x1a5)](getPlaywrightSessionName,_0x4b4bfa);const _0x15d50c={};_0x15d50c[_0x24f582(0x1e6)]=_0x34795a;const _0x52ec66={};_0x52ec66[_0x24f582(0x223)]=_0xe3f42c[_0x24f582(0x20e)],_0x52ec66[_0x24f582(0x195)]=_0x15d50c;const _0x2e3d51=_0x52ec66;PerformanceTester[_0x24f582(0x235)](PerformanceEvents[_0x24f582(0x208)]),await _0xe3f42c[_0x24f582(0x212)](playwrightBstackJsExecutor,_0x4ce63d,_0x2e3d51),PerformanceTester['end'](PerformanceEvents[_0x24f582(0x208)]);}catch(_0x526cde){PerformanceTester[_0x24f582(0x1ae)](PerformanceEvents[_0x24f582(0x208)],![],util[_0x24f582(0x1a0)](_0x526cde)),this[_0x24f582(0x243)][_0x24f582(0x1d0)](_0x24f582(0x1da)+util[_0x24f582(0x1a0)](_0x526cde));}}}function a84_0x13f3(){const _0xb2376b=['151kucpxu','stringify','IvRHW','./loadTestModule.js','JEST','toString','onAfterDriverCreate','getTestDetails','onAfterDriverCreate:\x20Setting\x20context\x20object','nKPsY','GEDoh','SNUvI','error','message','vReLE','setSessionName','WZtCk','onDispatchExecute:\x20Playwright\x20driver\x20is\x20executing\x20tests\x20','jestUtils','playwrightVersion','getInstance','hubUrl','Error\x20in\x20markSessionName:\x20','PLAYWRIGHT_DISPATCH','recreateIdentifierFromTestInfo','pickle','platforms','gherkinDocument','driverInit','pageObject','isBrowserstackInfra','sessionId','64791nvPMKP','getTestUUID','name','getTrackedInstance','jHJsd','getCapabilities','base64','getId','MODULE_NAME','Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','9000586OjpDcX','retry','3421784jxwTwM','HQhmE','ieRHY','status','KEY_PAGE_OBJECT','../../../helpers/test-observability/utils','6pnmmSx','KEY_TEST_FRAMEWORK_NAME','../state/automationFrameworkState.js','6olPSTe','onAfterDriverCreate:\x20Setting\x20page\x20object','onDispatchExecute:\x20Playwright\x20sessionId:\x20','shouldSkipSessionStatus','btXnP','iYPhI','RdXAV','lqQLi','isFalse','version','KEY_CAPABILITIES','EXECUTE','isPlaywright','instance','inspect','SESSION_NAME','GbESs','../../../helpers/helper.js','jxwLw','passed','../../../helpers/performance/performance-tester.js','gIRAD','KEY_PLATFORM_INDEX','KEY_BROWSER_OBJECT','getConfig','WrrPS','../../../helpers/classLogger.js','tQQkm','PmkQC','shouldSkipSessionName','markSessionStatus:\x20Marking\x20session\x20status','errors','getLTSSessionId','onAfterDriverCreate:\x20Setting\x20Session\x20Name\x20from\x20testInfo','getModuleName','TEST','MocVq','browserName','aGHFd','markSessionStatus','with\x20','PdvfJ','action','onPlaywrightDispatch','test_identifier','CREATE','setState','QPNCO','testInfo','browserObject','Playwright','wAzRa','getTestId','info','fYzjE','11343660bnLCow','testId:\x20','KEY_CONTEXT_OBJECT','parallelIndex','KEY_HUB_URL','start','../state/hookState.js','browser','reason','onAfterTest\x20CBTSession\x20complete\x20for\x20testId:\x20','NVpeL','onAfterDriverCreate:\x20Setting\x20browser\x20object','markSessionName:\x20Skipping\x20session\x20name\x20marking','params','XwccO','../utils/jest-utils.js','markSessionStatus:\x20Skipping\x20session\x20status\x20marking','dMwaB','length','logger','PRE','5777100JtlPRO','KEY_TEST_ID','__workerDetails','1.51.0','./baseModule','qOqnP','onAfterTest\x20CBTSession\x20payload:\x20','isLTSSession','rGiDc','GVOjJ','onDispatchExecute:\x20Playwright\x20platform\x20platformIndex:\x20',',\x20test_identifier:\x20','Automation\x20onAfterTest:\x20Test\x20status:\x20','debug','POST','Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20to:\x20','PlaywrightDriverModule','CUCUMBER','workerInfo','exports','Automation\x20onAfterTest:\x20Test\x20completed','getRef','testUuid','bsParams','AhhUN','arguments','KEY_SESSION_ID','launchcaps','onBeforeDriverCreate','getState','onAfterTest','bind','KEY_PLATFORM_DETAILS','../browserstackCLI.js','onBeforeDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','33KWrAWX','format','../../utils/constants','880AOLfYy','split','nhmig','TIZqE','markSessionStatus:\x20Page\x20object\x20is\x20not\x20available','testFrameworkData','20858ndaFCo','platformDetails','vQaeu','nbHht','Bzkxx','from','end','AUTOMATE_EVENTS','../cliUtils.js','../framework/constants/testFrameworkConstants.js','markSessionName','eTSiN','SESSION_STATUS','WcOiF','Error\x20in\x20onAfterDriverCreate:\x20','VUcjK','parse','registerObserver','page','25049400cOtpdK','testSessionEvent','Error\x20in\x20onDispatchExecute:\x20','eeGfc','browserVersion','zhMJf','KEY_TEST_FRAMEWORK_VERSION','zVdXp','context'];a84_0x13f3=function(){return _0xb2376b;};return a84_0x13f3();}PlaywrightDriverModule[a84_0x12872e(0x1ec)]=a84_0x12872e(0x255),module[a84_0x12872e(0x258)]=PlaywrightDriverModule;