browserstack-node-sdk 1.60.1 → 1.61.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/driverInitErrorReporter.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a120_0x5e5dc8=a120_0xa4f2;function a120_0x1afa(){const _0x282b2c=['SDK\x20run\x20started\x20with\x20id:\x20','zBOtu','measures','ogGzo','uncaughtException','ObZSv','HKDKY','eGujx','proxy','MrUdI','wmdRc','AI_INIT_FAILURE','stop','./percy/utils','BROWSERSTACK_TURBOSCALE','jnmPX','fileLogger','iEstF','HijRb','readConfig','uuid','configPath','xMcen','statusCode','MWFtD','OhkIe','SRVzK','reportProcessInterruptionSituation','iVQOM','initialize','TCG_AUTH_FAILURE','init','TaGRy','measureWrapper','uMQxx','setupKeepAlive','platform','LTS\x20session\x20enabled\x20for\x20this\x20run.\x20SDK\x20run\x20id:\x20','setSmartTestSelectionFeatureBranchesConfig','SXVhC','SIGABRT','exitHandler','version','ObMWG','GXPDE','8620648NjIKab','getCentralUser','stringify','kAlFZ','hfNfM','handled','7594447LkqTOK','generateLocalIdentifier','killSignal','skipBinaryInitialisation','__isPlaywrightInstalled','race','../bin/v2/browserstackCLI','normalizeTestReportingEnvVars','FMxZO','HUB_MANAGEMENT','selenium-webdriver','UPGRADE_REQUIRED','Error\x20in\x20percy\x20setup\x20','isAuthenticated','Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20','6OgwZLp','./testhub/utils','exceptions','./performance/constants','1172KWLVXe','framework','gtEGs','setBrowserstackInfraFromConfig','join','skipSessionStatus','envConfig','../bin/v2/modules/loadTestModule','JvOQx','playwright','setupBrowserstackLocal','xDWMs','checkStopLocalBinaryOnExit','NKiiT','xGPya','jCkgk','reportFinalDetectionState','Failed\x20to\x20send\x20data\x20to\x20','completed','__isPuppeteerInstalled','preInitialize','events.json','timed-out','includes','winstonLogger','GbYaO','Signal\x20shutdown\x20timed\x20out\x20after\x20','fireFunnelTestEvent','getAccessKey','platforms','getInstance','isHealingEnabled','validateSkipAppOverride','unhandledErrors','No\x20config\x20provided.','setupTcgConfigFile','\x20with\x20error\x20','Data\x20sent\x20successfully\x20to\x20','Signal\x20shutdown\x20did\x20not\x20complete\x20cleanly:\x20','getTurboScaleGridDetails','split','toLowerCase','./logger','../../package.json','setLogLevel','url','allocateHub','startPercy','2562765OJAfeu','MJLlw','setHandlePWError','finalize','zruGY','debug','4.5.0','tBOPe','setCredentialsFromYmlConfig','jiFYy','bkFqz','../bin/utils/constants','isTrue','ZKhwM','isTrialGrid','turboScaleGridDetails','./utilities','AI_PROXY_FAILURE','SDK_CLEANUP','IftLo','beforeExit','MkDpe','AUTOLOGCAPTURE_NOTIFICATION','TCG_URL','40590uhyrqH','userName','wHEvk','parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','ehQuV','BrowserstackHealingInitFailed','OtpeI','turboScaleOptions','disableAutoCaptureLogs','jzFtX','RffVT','1692poEKwD','../bin/utils/apiUtilityMethods','abHGo','status','SIGBREAK','tcg\x20config\x20setup\x20successful.','aBtBQ','true','JHpiZ','AI_INIT_SUCCESSFUL','Local\x20binary\x20stopped','then','length','useW3C','../bin/utils/clientTroubleshootingService','ats-repeater','Could\x20not\x20start\x20percy,\x20check\x20percy\x20logs\x20for\x20info.','BROWSERSTACK_PERCY','xLeZj','setupCaCertificate','JuRhL','config','userName\x20or\x20accessKey\x20is\x20not\x20defined','stopPercy','9723evYTdg','jATAq','Error\x20in\x20writing\x20events\x20to\x20file\x20','VIAjb','isTurboScaleSession','info','startMonitoring','getProxyConfigForTcg','pRAVP','JariD','SIGHUP','Authentication\x20Failed.\x20Disabling\x20Healing\x20for\x20this\x20session.','localOptions','proxyUrl','setupTCGAuth','setProxySettings','setLogDir','central_scanner','PjhjU','unref','bind','requireSeleniumWebdriverCheck','cancel','tKutu','isNotUndefined','writeFileSync','setUpHubUrl','isUndefined','testContextOptions','getConfigPath','hubUrl','forceLocal','close','YqjEu','intExitHandler','stopLocalBinary','./setKeepAlive','3786079NgVBuM','tHSqY','stopBrowserstackLocal','XkxlR','isRunning','?caps=','Something\x20went\x20wrong.\x20Disabling\x20healing\x20for\x20this\x20session.\x20Please\x20try\x20again\x20later.','tcgAuthConfig','SDKTestAttempted','Error\x20occured\x20while\x20stopping\x20local\x20binary','sanitizeCaps','BQtDS','RJkKM','VXHmG','bRlYh','INVALID_INIT_RESP_WITH_USER_IMPACT','clKgv','selfHeal','env','hYWac','../hubAllocationMethods','catch','NipWr','lxstw','path','getHubUrl','message','constructor','isLTSSession','ivvdY','VHmYC','turboScale','getPackageVersion','aiHeal:tcgAuth','default','fmFaS','cliConfig','ms;\x20forcing\x20exit','ehtHr','\x20with\x20response\x20','error','setupPercy','browserStackLocalOptions','bstackConfig','isBrowserstackInfra','warn','format','558KgOhuO','integrations','FRAMEWORK','CAukZ','Error\x20in\x20sending\x20testhub\x20stop:\x20','toString','tqiHQ','skipSessionName','1748qbwvEu','Local\x20binary\x20started\x20successfully','Hlimi','setCLICaps','../ai-sdk-node/bundle','handleExceptions','./timeoutPromise','Calling\x20Build\x20Stop\x20from\x20ExitHandler','Error\x20in\x20setting\x20up\x20tcg\x20authconfig.\x20Error:\x20','vlrOO','vbenN','browserstackLocal','effBG','gXbzu','XQZlN','startLocalBinary','sdkRunId','localIdentifier','percy','setEnvCaps','turboScaleUrl','QxjuV','push','Shutdown\x20triggered\x20by\x20'];a120_0x1afa=function(){return _0x282b2c;};return a120_0x1afa();}(function(_0x1b16a8,_0x268f29){const _0x42ddec=a120_0xa4f2,_0x54be17=_0x1b16a8();while(!![]){try{const _0x3756b2=-parseInt(_0x42ddec(0x20a))/0x1*(-parseInt(_0x42ddec(0x268))/0x2)+-parseInt(_0x42ddec(0x1ae))/0x3*(parseInt(_0x42ddec(0x196))/0x4)+-parseInt(_0x42ddec(0x173))/0x5+-parseInt(_0x42ddec(0x264))/0x6*(-parseInt(_0x42ddec(0x255))/0x7)+parseInt(_0x42ddec(0x24f))/0x8+-parseInt(_0x42ddec(0x202))/0x9*(parseInt(_0x42ddec(0x18b))/0xa)+-parseInt(_0x42ddec(0x1d3))/0xb;if(_0x3756b2===_0x268f29)break;else _0x54be17['push'](_0x54be17['shift']());}catch(_0x507b33){_0x54be17['push'](_0x54be17['shift']());}}}(a120_0x1afa,0xacb9f));function a120_0xa4f2(_0x5ae42c,_0x7d4a0){const _0x1afa3f=a120_0x1afa();return a120_0xa4f2=function(_0xa4f209,_0x481873){_0xa4f209=_0xa4f209-0x15b;let _0x353435=_0x1afa3f[_0xa4f209];return _0x353435;},a120_0xa4f2(_0x5ae42c,_0x7d4a0);}const util=require('util'),os=require('os'),path=require(a120_0x5e5dc8(0x1eb)),{v4:uuidv4}=require(a120_0x5e5dc8(0x236)),fs=require('fs'),constants=require(a120_0x5e5dc8(0x17e)),logger=require(a120_0x5e5dc8(0x16d))[a120_0x5e5dc8(0x15b)],fileLogger=require('./logger')[a120_0x5e5dc8(0x232)],{getLogDir}=require(a120_0x5e5dc8(0x16d)),helper=require('./helper'),utilities=require(a120_0x5e5dc8(0x183)),percyHelper=require(a120_0x5e5dc8(0x22f)),hubAllocator=require(a120_0x5e5dc8(0x1e7)),PerformanceTester=require('./performance/performance-tester'),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents}=require(a120_0x5e5dc8(0x267)),{setPercyFlag}=require(a120_0x5e5dc8(0x265)),TestHubHandler=require('./testhub/testhubHandler'),timeoutPromise=require(a120_0x5e5dc8(0x210)),BrowserstackCLI=require(a120_0x5e5dc8(0x25b)),LoadTestModule=require(a120_0x5e5dc8(0x26f)),{getEdsInstrumentationAPIUrl}=require(a120_0x5e5dc8(0x197)),ClientTroubleShootingService=require(a120_0x5e5dc8(0x1a4));class BrowserStackSetup{constructor(_0xf60a9e,_0x486393){const _0x6db5ec=a120_0x5e5dc8,_0x462e40={'eGujx':'3|24|9|18|4|17|25|5|8|15|23|11|22|26|10|14|6|7|0|19|1|2|16|21|13|20|12','SXVhC':_0x6db5ec(0x165),'iVQOM':function(_0x237ee8){return _0x237ee8();},'uudin':function(_0x3a45b0,_0x343841){return _0x3a45b0(_0x343841);},'tqiHQ':'./caCertHelper'},_0x4e0e5e=_0x462e40[_0x6db5ec(0x229)]['split']('|');let _0x110e32=0x0;while(!![]){switch(_0x4e0e5e[_0x110e32++]){case'0':helper[_0x6db5ec(0x17b)](this[_0x6db5ec(0x1ab)]);continue;case'1':this[_0x6db5ec(0x1ab)][_0x6db5ec(0x1ca)][_0x6db5ec(0x209)]=!helper[_0x6db5ec(0x1ff)]()||helper[_0x6db5ec(0x17f)](this['config']['testContextOptions']['skipSessionName']);continue;case'2':helper['getFinalCaps'](this['config'],this[_0x6db5ec(0x1f7)],this[_0x6db5ec(0x26e)]);continue;case'3':this[_0x6db5ec(0x164)]=[];continue;case'4':this[_0x6db5ec(0x21c)]=null;continue;case'5':this['cliConfig']=helper[_0x6db5ec(0x20d)](_0xf60a9e);continue;case'6':helper[_0x6db5ec(0x163)](this[_0x6db5ec(0x1ab)],this[_0x6db5ec(0x269)]);continue;case'7':helper[_0x6db5ec(0x26b)](this[_0x6db5ec(0x1ab)],this[_0x6db5ec(0x1f7)]);continue;case'8':this[_0x6db5ec(0x1ab)][_0x6db5ec(0x160)]=this[_0x6db5ec(0x1ab)]['platforms']||[];continue;case'9':this[_0x6db5ec(0x26e)]=helper[_0x6db5ec(0x21d)]();continue;case'10':if(helper['isUndefined'](this['config']))throw new Error(_0x462e40[_0x6db5ec(0x249)]);continue;case'11':this[_0x6db5ec(0x21a)]=_0x462e40[_0x6db5ec(0x23e)](uuidv4);continue;case'12':try{_0x462e40['uudin'](require,_0x462e40[_0x6db5ec(0x208)])[_0x6db5ec(0x1a9)](this[_0x6db5ec(0x1ab)],logger);}catch(_0x1df4f7){}continue;case'13':helper[_0x6db5ec(0x16f)](this[_0x6db5ec(0x1ab)],this['cliConfig'],this[_0x6db5ec(0x26e)]);continue;case'14':if(this[_0x6db5ec(0x1ab)][_0x6db5ec(0x1fb)])throw new Error(this[_0x6db5ec(0x1ab)]['error']);continue;case'15':this[_0x6db5ec(0x1ab)][_0x6db5ec(0x1ca)]=this[_0x6db5ec(0x1ab)][_0x6db5ec(0x1ca)]||{};continue;case'16':helper[_0x6db5ec(0x248)](this[_0x6db5ec(0x1ab)],this['cliConfig'],this[_0x6db5ec(0x26e)]);continue;case'17':this[_0x6db5ec(0x237)]=helper[_0x6db5ec(0x1cb)](_0xf60a9e);continue;case'18':this['browserstackLocal']=null;continue;case'19':this['config'][_0x6db5ec(0x1ca)]['skipSessionStatus']=!helper[_0x6db5ec(0x1ff)]()||helper[_0x6db5ec(0x17f)](this[_0x6db5ec(0x1ab)][_0x6db5ec(0x1ca)][_0x6db5ec(0x26d)]);continue;case'20':PerformanceTester[_0x6db5ec(0x1b4)]();continue;case'21':helper[_0x6db5ec(0x1be)](this[_0x6db5ec(0x1ab)]);continue;case'22':this[_0x6db5ec(0x269)]=_0x486393;continue;case'23':this['errorMessage']={};continue;case'24':helper[_0x6db5ec(0x25c)]();continue;case'25':this[_0x6db5ec(0x1ab)]=helper[_0x6db5ec(0x235)](this[_0x6db5ec(0x237)]);continue;case'26':global[_0x6db5ec(0x269)]=_0x486393;continue;}break;}}[a120_0x5e5dc8(0x27c)](_0x438cd4){const _0x542d75=a120_0x5e5dc8,_0x4975a8={'aBtBQ':_0x542d75(0x1ac),'YqjEu':function(_0x3e8fee,_0x18bd07){return _0x3e8fee===_0x18bd07;},'EpERx':function(_0xf7c26,_0x55334f){return _0xf7c26===_0x55334f;},'ZdnhP':_0x542d75(0x203),'jCkgk':_0x542d75(0x1db),'ObZSv':function(_0x589540,_0x14aced){return _0x589540<_0x14aced;},'MkDpe':function(_0x36a234,_0x427dcb){return _0x36a234(_0x427dcb);},'XQZlN':_0x542d75(0x25f),'RffVT':_0x542d75(0x179),'vlrOO':'Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','hYWac':_0x542d75(0x18e),'ogGzo':'SIGTERM','effBG':'SIGINT','FMxZO':_0x542d75(0x1b8),'GbYaO':function(_0x2c9ab9,_0x3b57fa){return _0x2c9ab9!==_0x3b57fa;},'SGqBm':'win32','VXHmG':_0x542d75(0x24a),'jnmPX':'SIGQUIT','wmdRc':_0x542d75(0x19a),'MWFtD':_0x542d75(0x187)},_0x32d751=this[_0x542d75(0x269)];global[_0x542d75(0x1ab)]=this['config'],helper[_0x542d75(0x1dd)](this[_0x542d75(0x1ab)]),this[_0x542d75(0x257)]=null,global[_0x542d75(0x21a)]=this[_0x542d75(0x21a)],logger[_0x542d75(0x1b3)](_0x542d75(0x222)+this[_0x542d75(0x21a)]),!this[_0x542d75(0x1ab)]['browserStackLocalOptions']&&(this[_0x542d75(0x1ab)][_0x542d75(0x1fd)]=this[_0x542d75(0x1ab)][_0x542d75(0x1ba)]||{});if(helper[_0x542d75(0x1c9)](helper['getUserName'](this['config']))||helper[_0x542d75(0x1c9)](helper[_0x542d75(0x15f)](this[_0x542d75(0x1ab)])))throw new Error(_0x4975a8[_0x542d75(0x19c)]);helper['getLocalConfig'](this['config'])&&helper[_0x542d75(0x1c9)](helper['getLocalIdentifier'](this[_0x542d75(0x1ab)]))&&(!helper['isUndefined'](this[_0x542d75(0x1ab)][_0x542d75(0x1fd)])&&_0x4975a8[_0x542d75(0x1cf)](this[_0x542d75(0x1ab)]['browserStackLocalOptions'][_0x542d75(0x1ee)],Object)?!helper['isTrue'](this[_0x542d75(0x1ab)]['browserStackLocalOptions'][_0x542d75(0x258)])&&(this[_0x542d75(0x1ab)][_0x542d75(0x1fd)][_0x542d75(0x21b)]=helper[_0x542d75(0x256)]()):this[_0x542d75(0x1ab)][_0x542d75(0x1fd)]={'localIdentifier':helper[_0x542d75(0x256)]()});this['config'][_0x542d75(0x1fd)][_0x542d75(0x258)]=helper[_0x542d75(0x17f)](this[_0x542d75(0x1ab)][_0x542d75(0x1fd)][_0x542d75(0x258)]),helper[_0x542d75(0x175)](this[_0x542d75(0x1ab)]);if(_0x4975a8['EpERx'](_0x32d751,_0x4975a8['ZdnhP']))return;this[_0x542d75(0x20f)]();process[_0x542d75(0x1e5)][_0x542d75(0x230)]&&(this['config'][_0x542d75(0x1f2)]=helper['isTrue'](process[_0x542d75(0x1e5)][_0x542d75(0x230)]),this[_0x542d75(0x1ab)]['turboScaleOptions']=this[_0x542d75(0x1ab)][_0x542d75(0x192)]||{});helper[_0x542d75(0x1b2)](this[_0x542d75(0x1ab)])&&(process[_0x542d75(0x1e5)]['BROWSERSTACK_TURBOSCALE']=!![]);LoadTestModule[_0x542d75(0x1ef)](this[_0x542d75(0x1ab)])&&logger[_0x542d75(0x178)](_0x542d75(0x247)+this[_0x542d75(0x21a)]);if(!helper[_0x542d75(0x1ff)]()){try{process[_0x542d75(0x1e5)][_0x542d75(0x204)]=_0x32d751,utilities[_0x542d75(0x15e)](_0x4975a8[_0x542d75(0x277)],{},this[_0x542d75(0x1ab)],this['framework']);}catch(_0x5c39d8){logger[_0x542d75(0x178)](_0x542d75(0x263)+_0x5c39d8);}return;}if(helper[_0x542d75(0x1c3)](_0x32d751)){if(global[_0x542d75(0x259)]||global[_0x542d75(0x27b)])return;_0x4975a8[_0x542d75(0x227)](_0x4975a8[_0x542d75(0x188)](parseInt,helper['getPackageVersion'](_0x4975a8[_0x542d75(0x218)])),0x3)&&(this[_0x542d75(0x1ab)][_0x542d75(0x1a3)]=![]),_0x4975a8['YqjEu'](helper['compareVersions'](helper[_0x542d75(0x1f3)](_0x4975a8[_0x542d75(0x218)]),_0x4975a8[_0x542d75(0x195)]),0x1)&&(this[_0x542d75(0x1ab)][_0x542d75(0x1a3)]=!![]);}(helper[_0x542d75(0x1c9)](this[_0x542d75(0x1ab)][_0x542d75(0x160)])||helper[_0x542d75(0x1c9)](this[_0x542d75(0x1ab)]['platforms'][_0x542d75(0x1a2)]))&&(helper[_0x542d75(0x1c9)](this[_0x542d75(0x1ab)]['parallelsPerPlatform'])?logger['info'](_0x4975a8[_0x542d75(0x213)]):logger[_0x542d75(0x200)](_0x4975a8[_0x542d75(0x1e6)]),this[_0x542d75(0x1ab)][_0x542d75(0x160)]=[]);!this['config']['testContextOptions']&&(this[_0x542d75(0x1ab)][_0x542d75(0x1ca)]={});try{process[_0x542d75(0x1e5)][_0x542d75(0x204)]=_0x438cd4['_'][0x0],utilities[_0x542d75(0x15e)](_0x4975a8['jCkgk'],{},this[_0x542d75(0x1ab)],this[_0x542d75(0x269)]);}catch(_0x200de4){logger[_0x542d75(0x178)](_0x542d75(0x263)+_0x200de4);}!this[_0x542d75(0x1ab)][_0x542d75(0x193)]&&logger[_0x542d75(0x1b3)](constants[_0x542d75(0x189)]),this[_0x542d75(0x1d0)]=this[_0x542d75(0x1d0)][_0x542d75(0x1c2)](this),process['on'](_0x4975a8[_0x542d75(0x225)],this[_0x542d75(0x1d0)]),process['on'](_0x4975a8[_0x542d75(0x216)],this[_0x542d75(0x1d0)]),process['on'](_0x4975a8[_0x542d75(0x25d)],this['intExitHandler']),_0x4975a8[_0x542d75(0x15c)](process[_0x542d75(0x246)],_0x4975a8['SGqBm'])?(process['on'](_0x4975a8[_0x542d75(0x1e0)],this[_0x542d75(0x1d0)]),process['on'](_0x4975a8[_0x542d75(0x231)],this['intExitHandler'])):process['on'](_0x4975a8[_0x542d75(0x22c)],this[_0x542d75(0x1d0)]),process['on'](_0x4975a8[_0x542d75(0x23a)],this['exitHandler']());}async[a120_0x5e5dc8(0x23f)](_0x26d67a){const _0x102723=a120_0x5e5dc8,_0x14bbdc={'VHmYC':_0x102723(0x1a5),'IftLo':'custom-repeater','CAukZ':'true','JvOQx':function(_0x2fe677,_0x892de7){return _0x2fe677===_0x892de7;},'JHpiZ':_0x102723(0x271),'GXPDE':function(_0x2d9b5a,_0x50fdce){return _0x2d9b5a+_0x50fdce;},'HKDKY':_0x102723(0x1d8),'tjMuZ':function(_0x10bb7f,_0x4a009b){return _0x10bb7f(_0x4a009b);},'QxjuV':'codeceptjs'};this['preInitialize'](_0x26d67a);if(helper[_0x102723(0x1b2)](this[_0x102723(0x1ab)])){const _0x557221=await helper[_0x102723(0x16a)](this[_0x102723(0x1ab)]);this[_0x102723(0x1ab)][_0x102723(0x182)]=_0x557221,_0x557221[_0x102723(0x181)]&&helper[_0x102723(0x1c6)](this[_0x102723(0x1ab)]['browserstackLocal'])&&helper['isTrue'](this['config'][_0x102723(0x215)])&&(this['config'][_0x102723(0x1fd)][_0x102723(0x21b)]=_0x14bbdc[_0x102723(0x1f1)],this['config']['browserStackLocalOptions'][_0x14bbdc[_0x102723(0x186)]]=_0x557221['customRepeaters'][_0x102723(0x26c)](','),this[_0x102723(0x1ab)][_0x102723(0x1fd)][_0x102723(0x1cd)]=_0x14bbdc[_0x102723(0x205)]),this[_0x102723(0x1ab)][_0x102723(0x21e)]=_0x557221[_0x102723(0x170)],this['framework']&&_0x14bbdc[_0x102723(0x270)](this[_0x102723(0x269)][_0x102723(0x16c)](),_0x14bbdc['JHpiZ'])?this[_0x102723(0x1ab)]['turboScaleUrl']=_0x14bbdc[_0x102723(0x24e)](_0x557221['playwrightUrl'],_0x14bbdc[_0x102723(0x228)]):constants[_0x102723(0x1cc)]=helper[_0x102723(0x1ec)](this[_0x102723(0x1ab)]),logger[_0x102723(0x178)]('HUB\x20URL\x20SET\x20TO\x20TurboScale\x20HUB\x20-\x20'+constants[_0x102723(0x1cc)]);}helper[_0x102723(0x1bd)](this[_0x102723(0x1ab)]),this[_0x102723(0x245)](),_0x14bbdc['tjMuZ'](setPercyFlag,this),![_0x14bbdc[_0x102723(0x21f)],_0x14bbdc[_0x102723(0x19e)]][_0x102723(0x27f)](this[_0x102723(0x269)])&&!helper[_0x102723(0x1b2)](this['config'])&&!helper[_0x102723(0x250)]()[_0x102723(0x1bf)]&&await this[_0x102723(0x1c8)]();}async[a120_0x5e5dc8(0x1fc)](){const _0x1700ca=a120_0x5e5dc8,_0x40e009={};_0x40e009[_0x1700ca(0x214)]=function(_0x5e943e,_0x27140f){return _0x5e943e===_0x27140f;},_0x40e009[_0x1700ca(0x273)]='false',_0x40e009['XurXE']=_0x1700ca(0x1a6),_0x40e009[_0x1700ca(0x177)]='Percy\x20started\x20successfully',_0x40e009[_0x1700ca(0x242)]=_0x1700ca(0x19d),_0x40e009[_0x1700ca(0x24d)]='beforeExit';const _0x20032d=_0x40e009;if(helper['isTrue'](this[_0x1700ca(0x1ab)][_0x1700ca(0x21c)])&&(!this[_0x1700ca(0x21c)]||!this[_0x1700ca(0x21c)]['isRunning']()))try{this[_0x1700ca(0x21c)]=await percyHelper[_0x1700ca(0x172)](this[_0x1700ca(0x1ab)]);if(!this[_0x1700ca(0x21c)]){process['env'][_0x1700ca(0x1a7)]=_0x20032d[_0x1700ca(0x273)];throw new Error(_0x20032d['XurXE']);}logger[_0x1700ca(0x1b3)](_0x20032d[_0x1700ca(0x177)]),process[_0x1700ca(0x1e5)]['BROWSERSTACK_PERCY']=_0x20032d[_0x1700ca(0x242)];let _0x4f4422=0x0;const _0x51d232=async()=>{const _0x212223=_0x1700ca;_0x4f4422++,_0x20032d[_0x212223(0x214)](_0x4f4422,0x1)&&await this['stopPercy']();};process['on'](_0x20032d[_0x1700ca(0x24d)],_0x51d232);}catch(_0x32dd0b){process[_0x1700ca(0x1e5)]['BROWSERSTACK_PERCY']=_0x20032d[_0x1700ca(0x273)],logger[_0x1700ca(0x178)](_0x1700ca(0x261)+_0x32dd0b);throw new Error(_0x32dd0b[_0x1700ca(0x207)]());}}async[a120_0x5e5dc8(0x1ad)](){const _0x5051b8=a120_0x5e5dc8,_0x107835={};_0x107835[_0x5051b8(0x22b)]='Percy\x20stopped',_0x107835['pRAVP']='Error\x20occured\x20while\x20stopping\x20percy';const _0x3afbff=_0x107835;if(this[_0x5051b8(0x21c)]&&this['percy'][_0x5051b8(0x1d7)]())try{await percyHelper[_0x5051b8(0x1ad)](this[_0x5051b8(0x21c)]),logger[_0x5051b8(0x1b3)](_0x3afbff[_0x5051b8(0x22b)]);}catch(_0x5276a0){logger[_0x5051b8(0x1fb)](_0x3afbff[_0x5051b8(0x1b6)],_0x5276a0['message']);}}async[a120_0x5e5dc8(0x272)](){const _0xc633b4=a120_0x5e5dc8,_0x45565c={};_0x45565c[_0xc633b4(0x17c)]='Local\x20binary\x20not\x20started\x20as\x20skipBinaryInitialisation\x20is\x20enabled',_0x45565c['Hlimi']=_0xc633b4(0x20b);const _0x131e5b=_0x45565c;if(helper[_0xc633b4(0x1ff)]()&&helper[_0xc633b4(0x17f)](this[_0xc633b4(0x1ab)][_0xc633b4(0x215)])&&(!this[_0xc633b4(0x215)]||!this[_0xc633b4(0x215)][_0xc633b4(0x1d7)]()))try{if(this['config'][_0xc633b4(0x1fd)][_0xc633b4(0x258)]){logger[_0xc633b4(0x178)](_0x131e5b['jiFYy']);return;}this[_0xc633b4(0x215)]=await helper[_0xc633b4(0x219)](this[_0xc633b4(0x1ab)]),logger['info'](_0x131e5b[_0xc633b4(0x20c)]);}catch(_0x553719){logger['debug'](_0x553719);throw new Error(_0x553719[_0xc633b4(0x207)]());}}async[a120_0x5e5dc8(0x1d5)](){const _0x15638c=a120_0x5e5dc8,_0xdb5854={};_0xdb5854[_0x15638c(0x217)]=_0x15638c(0x1a0),_0xdb5854[_0x15638c(0x1af)]=_0x15638c(0x1dc);const _0x22ca6c=_0xdb5854;if(this[_0x15638c(0x215)]&&this[_0x15638c(0x215)]['isRunning']())try{await helper[_0x15638c(0x1d1)](this[_0x15638c(0x215)]),logger[_0x15638c(0x1b3)](_0x22ca6c[_0x15638c(0x217)]);}catch(_0x57a05a){logger[_0x15638c(0x1fb)](_0x22ca6c[_0x15638c(0x1af)],_0x57a05a[_0x15638c(0x1ed)]);}}async[a120_0x5e5dc8(0x1c8)](){const _0x58ac84=a120_0x5e5dc8;return PerformanceTester[_0x58ac84(0x243)](PerformanceAutEvents[_0x58ac84(0x25e)],async()=>{const _0x36775b=_0x58ac84;await hubAllocator[_0x36775b(0x171)](this[_0x36775b(0x1ab)]);})();}async[a120_0x5e5dc8(0x1bc)](){const _0xdf7836=a120_0x5e5dc8,_0x3d2c80={'RJkKM':function(_0x16aa99,_0x466175){return _0x16aa99(_0x466175);},'xLeZj':_0xdf7836(0x20e),'NipWr':function(_0x1a7caa,_0x317aff,_0x129a17,_0x1ca284,_0x3779d5,_0x451857,_0x15dbb7){return _0x1a7caa(_0x317aff,_0x129a17,_0x1ca284,_0x3779d5,_0x451857,_0x15dbb7);},'fmFaS':'BrowserstackHealing.init\x20method\x20timed\x20out','zBOtu':_0xdf7836(0x190),'MJLlw':function(_0x3b6081,_0xf2f300){return _0x3b6081(_0xf2f300);},'JariD':_0xdf7836(0x16e),'NKiiT':'BrowserstackHealing.init','opSZR':function(_0x583cb1,_0x481234){return _0x583cb1(_0x481234);},'ivvdY':function(_0xe19688,_0x80ebec){return _0xe19688===_0x80ebec;},'ehtHr':'true','tBOPe':function(_0x432dd0,_0x85057b){return _0x432dd0===_0x85057b;},'HijRb':function(_0x484686,_0x4ec168){return _0x484686===_0x4ec168;},'oVpTa':'Please\x20upgrade\x20Browserstack\x20SDK\x20to\x20the\x20latest\x20version\x20to\x20use\x20the\x20self-healing\x20feature.','PjhjU':_0xdf7836(0x1d9),'OdcjL':_0xdf7836(0x1b9),'xMcen':function(_0x34645a,_0x26f73d){return _0x34645a(_0x26f73d);},'abHGo':'Healing\x20is\x20not\x20enabled\x20for\x20your\x20group,\x20please\x20contact\x20the\x20admin','OtpeI':function(_0x4fe3f3,_0x41ad50){return _0x4fe3f3>=_0x41ad50;},'uMQxx':function(_0x27fcc7,_0x54e8c8){return _0x27fcc7<_0x54e8c8;},'aWtVJ':_0xdf7836(0x19b),'bkFqz':_0xdf7836(0x1f4),'jzFtX':function(_0x29583f){return _0x29583f();}},_0x19e01b=PerformanceTester[_0xdf7836(0x243)](_0x3d2c80[_0xdf7836(0x17d)],async()=>{const _0x15a86a=_0xdf7836;try{const _0xcc5acb=new Date(),_0x4575ea=helper[_0x15a86a(0x1b5)](this[_0x15a86a(0x1ab)]),_0x2a753a=_0x3d2c80[_0x15a86a(0x1df)](require,path[_0x15a86a(0x26c)](__dirname,_0x3d2c80[_0x15a86a(0x1a8)])),_0xc13509=_0x3d2c80[_0x15a86a(0x1e9)](timeoutPromise,constants['TCG_AUTH_TIMEOUT'],_0x3d2c80[_0x15a86a(0x1f6)],_0x3d2c80[_0x15a86a(0x223)],_0xcc5acb,this['config'],this['framework']),_0x78886f={'tcgUrl':constants[_0x15a86a(0x18a)],'sdkVersion':_0x3d2c80[_0x15a86a(0x174)](require,_0x3d2c80[_0x15a86a(0x1b7)])[_0x15a86a(0x24c)],'methodUsed':_0x3d2c80[_0x15a86a(0x275)],'proxyConfig':_0x4575ea,'os':os['platform']()};if(_0x4575ea&&_0x4575ea[_0x15a86a(0x1bb)]){utilities['fireFunnelTestEvent'](constants[_0x15a86a(0x184)],_0x78886f,this[_0x15a86a(0x1ab)],this['framework']);return;}const _0x4d6294={};_0x4d6294[_0x15a86a(0x22a)]=_0x4575ea;const _0x5bdbbc=await Promise[_0x15a86a(0x25a)]([_0x2a753a[_0x15a86a(0x241)](this[_0x15a86a(0x1ab)]['accessKey'],this[_0x15a86a(0x1ab)][_0x15a86a(0x18c)],constants[_0x15a86a(0x18a)],_0x3d2c80['opSZR'](require,_0x3d2c80[_0x15a86a(0x1b7)])[_0x15a86a(0x24c)],_0x4d6294)[_0x15a86a(0x1a1)](_0x19017f=>{const _0x433a80=_0x15a86a;return _0xc13509[_0x433a80(0x1c4)](),_0x19017f;}),_0xc13509]);_0x5bdbbc['isHealingEnabled']=_0x3d2c80[_0x15a86a(0x1f0)](_0x5bdbbc[_0x15a86a(0x162)],_0x3d2c80[_0x15a86a(0x1f9)])||_0x3d2c80[_0x15a86a(0x17a)](_0x5bdbbc[_0x15a86a(0x162)],!![]);const _0x26a0af=_0x3d2c80['tBOPe'](this['config'][_0x15a86a(0x1e4)],!![])||_0x3d2c80[_0x15a86a(0x234)](this[_0x15a86a(0x1ab)][_0x15a86a(0x1e4)],_0x3d2c80[_0x15a86a(0x1f9)]);if(_0x3d2c80[_0x15a86a(0x234)](_0x5bdbbc['message'],constants[_0x15a86a(0x260)])&&_0x26a0af)logger[_0x15a86a(0x1b3)](_0x3d2c80['oVpTa']);else{if(!_0x5bdbbc['isAuthenticated']&&_0x3d2c80[_0x15a86a(0x1f0)](_0x5bdbbc[_0x15a86a(0x199)],0x1f7)&&_0x26a0af)logger[_0x15a86a(0x1b3)](_0x3d2c80[_0x15a86a(0x1c0)]),utilities[_0x15a86a(0x15e)](constants['TCG_DOWN'],_0x78886f,this[_0x15a86a(0x1ab)],this[_0x15a86a(0x269)]);else{if(!_0x5bdbbc['isAuthenticated']&&_0x26a0af){logger['info'](_0x3d2c80['OdcjL']);const _0x3f8138={'tcgUrl':constants['TCG_URL'],'sdkVersion':_0x3d2c80[_0x15a86a(0x238)](require,_0x3d2c80[_0x15a86a(0x1b7)])[_0x15a86a(0x24c)],'methodUsed':_0x3d2c80['NKiiT'],'proxyConfig':_0x4575ea,'os':os[_0x15a86a(0x246)]()};utilities[_0x15a86a(0x15e)](constants[_0x15a86a(0x240)],_0x3f8138,this[_0x15a86a(0x1ab)],this[_0x15a86a(0x269)]);}else{if(_0x5bdbbc[_0x15a86a(0x262)]&&!_0x5bdbbc[_0x15a86a(0x162)]&&_0x26a0af)logger[_0x15a86a(0x1b3)](_0x3d2c80[_0x15a86a(0x198)]);else{if(_0x3d2c80[_0x15a86a(0x191)](_0x5bdbbc[_0x15a86a(0x199)],0xc8)&&_0x3d2c80[_0x15a86a(0x244)](_0x5bdbbc[_0x15a86a(0x199)],0x12c))utilities[_0x15a86a(0x15e)](constants[_0x15a86a(0x19f)],_0x78886f,this[_0x15a86a(0x1ab)],this[_0x15a86a(0x269)]);else{if(_0x3d2c80[_0x15a86a(0x191)](_0x5bdbbc[_0x15a86a(0x199)],0x190))_0x78886f[_0x15a86a(0x199)]=_0x5bdbbc[_0x15a86a(0x199)],utilities[_0x15a86a(0x15e)](constants[_0x15a86a(0x22d)],_0x78886f,this['config'],this[_0x15a86a(0x269)]);else!_0x5bdbbc[_0x15a86a(0x199)]&&utilities[_0x15a86a(0x15e)](constants[_0x15a86a(0x1e2)],_0x78886f,this[_0x15a86a(0x1ab)],this[_0x15a86a(0x269)]);}}}}}if(_0x5bdbbc[_0x15a86a(0x262)]&&_0x5bdbbc[_0x15a86a(0x162)]){const _0x12877d={};_0x12877d[_0x15a86a(0x1da)]=_0x5bdbbc;const _0x461a88=_0x12877d;_0x4575ea&&(_0x461a88['proxyConfig']=_0x4575ea),_0x461a88['framework']=this['framework'],_0x461a88[_0x15a86a(0x1fe)]=this[_0x15a86a(0x1ab)],helper[_0x15a86a(0x166)](_0x461a88),logger[_0x15a86a(0x178)](_0x3d2c80['aWtVJ']);}}catch(_0x430a21){logger['debug'](_0x15a86a(0x212)+(_0x430a21[_0x15a86a(0x1ed)]?_0x430a21[_0x15a86a(0x1ed)]:''));}});await _0x3d2c80[_0xdf7836(0x194)](_0x19e01b);}[a120_0x5e5dc8(0x245)](){const _0x2725fc=a120_0x5e5dc8,_0x14cc4f={'ehQuV':function(_0x1b754c,_0x2aaafd){return _0x1b754c(_0x2aaafd);},'ZKhwM':_0x2725fc(0x1d2)};_0x14cc4f[_0x2725fc(0x18f)](require,_0x14cc4f[_0x2725fc(0x180)])();}[a120_0x5e5dc8(0x20f)](){const _0x57adbc=a120_0x5e5dc8,_0x35c51b={};_0x35c51b[_0x57adbc(0x1d6)]='3|2|0|1|4',_0x35c51b['wHEvk']='unhandledRejection',_0x35c51b['gtEGs']=_0x57adbc(0x226);const _0x306dac=_0x35c51b,_0x5caa66=_0x496b9c=>{const _0x5938a8=_0x57adbc,_0x48c747=_0x306dac[_0x5938a8(0x1d6)][_0x5938a8(0x16b)]('|');let _0x4b2e9d=0x0;while(!![]){switch(_0x48c747[_0x4b2e9d++]){case'0':this[_0x5938a8(0x164)][_0x5938a8(0x220)](util[_0x5938a8(0x201)]('%j',_0x496b9c));continue;case'1':PerformanceTester['captureError'](_0x496b9c);continue;case'2':logger[_0x5938a8(0x178)](util[_0x5938a8(0x201)](_0x496b9c));continue;case'3':logger[_0x5938a8(0x1fb)](_0x496b9c[_0x5938a8(0x1ed)]);continue;case'4':ClientTroubleShootingService[_0x5938a8(0x278)]();continue;}break;}};process['on'](_0x306dac[_0x57adbc(0x18d)],_0x5caa66),process['on'](_0x306dac[_0x57adbc(0x26a)],_0x5caa66);}async[a120_0x5e5dc8(0x1d0)](_0x4f92d5){const _0x3af658=a120_0x5e5dc8,_0x36d3e6={'tHSqY':function(_0x19d24d,_0x239c0b){return _0x19d24d+_0x239c0b;},'WnkhY':_0x3af658(0x169),'kAlFZ':_0x3af658(0x27a),'dmcYr':function(_0x4c80ba,_0x11c148,_0x238b2c){return _0x4c80ba(_0x11c148,_0x238b2c);},'tKutu':_0x3af658(0x254),'JuRhL':_0x3af658(0x221),'lxstw':function(_0x45388d,_0xe119e8){return _0x45388d(_0xe119e8);},'hfNfM':function(_0x347392,_0x13bb99){return _0x347392===_0x13bb99;},'bRlYh':_0x3af658(0x27e),'VIAjb':function(_0x3cdf32,_0x41bf0c){return _0x3cdf32+_0x41bf0c;},'BQtDS':_0x3af658(0x15d),'OhkIe':_0x3af658(0x1f8)};if(this[_0x36d3e6['tHSqY'](_0x36d3e6['tKutu'],_0x4f92d5)])return;this[_0x36d3e6[_0x3af658(0x1d4)](_0x36d3e6[_0x3af658(0x1c5)],_0x4f92d5)]=!![],logger[_0x3af658(0x1b3)](_0x36d3e6[_0x3af658(0x1d4)](_0x36d3e6[_0x3af658(0x1aa)],_0x4f92d5)),this[_0x3af658(0x257)]=_0x4f92d5;const _0x5ad112=0x7530;let _0x320ab6;const _0x50080c=(async()=>{const _0x585150=_0x3af658;await ClientTroubleShootingService[_0x585150(0x23d)](_0x4f92d5),await TestHubHandler[_0x585150(0x22e)](_0x4f92d5),await ClientTroubleShootingService['reportFinalDetectionState'](),await BrowserstackCLI[_0x585150(0x161)]()['stop']();})()['then'](()=>_0x3af658(0x27a))[_0x3af658(0x1e8)](_0x25cd0f=>{const _0x552849=_0x3af658;return logger[_0x552849(0x178)](_0x36d3e6['tHSqY'](_0x36d3e6['WnkhY'],util[_0x552849(0x201)](_0x25cd0f))),_0x36d3e6[_0x552849(0x252)];}),_0x2bdf4e=new Promise(_0x3d106c=>{const _0x9c69be=_0x3af658;_0x320ab6=_0x36d3e6['dmcYr'](setTimeout,()=>_0x3d106c(_0x9c69be(0x27e)),_0x5ad112),_0x320ab6['unref']&&_0x320ab6[_0x9c69be(0x1c1)]();}),_0x2d52d1=await Promise['race']([_0x50080c,_0x2bdf4e]);_0x36d3e6[_0x3af658(0x1ea)](clearTimeout,_0x320ab6),_0x36d3e6[_0x3af658(0x253)](_0x2d52d1,_0x36d3e6[_0x3af658(0x1e1)])&&(logger[_0x3af658(0x200)](_0x36d3e6[_0x3af658(0x1d4)](_0x36d3e6[_0x3af658(0x1b1)](_0x36d3e6[_0x3af658(0x1de)],_0x5ad112),_0x36d3e6[_0x3af658(0x23b)])),process['exit'](process['exitCode']||0x0));}[a120_0x5e5dc8(0x24b)](){const _0x249465=a120_0x5e5dc8,_0x5bada7={'XuGcD':function(_0x25f92c,_0x57fafc){return _0x25f92c===_0x57fafc;},'MEIZV':_0x249465(0x211),'clKgv':function(_0x31751e,_0x5c0858){return _0x31751e>_0x5c0858;},'iEstF':function(_0x1e06d4,_0x3c0207){return _0x1e06d4>_0x3c0207;},'bjEcN':function(_0x28627e,_0x41d0b5){return _0x28627e(_0x41d0b5);},'xGPya':function(_0x445fe8,_0x1efe03){return _0x445fe8(_0x1efe03);},'SRVzK':function(_0x185d05){return _0x185d05();},'FYpRt':_0x249465(0x27d)};let _0x3cffba=0x0;return async()=>{const _0x329d58=_0x249465;_0x3cffba++;if(_0x5bada7['XuGcD'](_0x3cffba,0x1)){helper[_0x329d58(0x274)](this[_0x329d58(0x269)])&&await this[_0x329d58(0x1d5)]();try{logger[_0x329d58(0x178)](_0x5bada7['MEIZV']),await TestHubHandler['stop'](_0x3cffba),await ClientTroubleShootingService[_0x329d58(0x278)](),await BrowserstackCLI[_0x329d58(0x161)]()[_0x329d58(0x22e)]('1');}catch(_0x5d2251){logger[_0x329d58(0x178)](_0x329d58(0x206)+util[_0x329d58(0x201)](_0x5d2251));}PerformanceTester['end'](PerformanceEvents[_0x329d58(0x185)]);if(PerformanceTester['isEnabled']()){const {measures:_0x3696b2,errors:_0x34b992}=await PerformanceTester[_0x329d58(0x176)](),_0x188712={};if(_0x3696b2&&_0x5bada7[_0x329d58(0x1e3)](_0x3696b2['length'],0x0)||_0x34b992&&_0x5bada7[_0x329d58(0x233)](_0x34b992['length'],0x0)){const _0x39fd9a={};_0x39fd9a[_0x329d58(0x224)]=_0x3696b2,_0x39fd9a[_0x329d58(0x266)]=_0x34b992,Object['assign'](_0x188712,_0x39fd9a);}try{const _0xb91267=await helper['sendToEDS'](_0x188712,this[_0x329d58(0x1ab)]);logger[_0x329d58(0x178)](_0x329d58(0x168)+_0x5bada7['bjEcN'](getEdsInstrumentationAPIUrl,'')+_0x329d58(0x1fa)+_0xb91267[_0x329d58(0x239)]);}catch(_0x5142b2){logger[_0x329d58(0x178)](_0x329d58(0x279)+_0x5bada7[_0x329d58(0x276)](getEdsInstrumentationAPIUrl,'')+_0x329d58(0x167)+util[_0x329d58(0x201)](_0x5142b2));}try{fs[_0x329d58(0x1c7)](path['join'](_0x5bada7[_0x329d58(0x23c)](getLogDir),_0x5bada7['FYpRt']),JSON[_0x329d58(0x251)](_0x188712));}catch(_0x47cf06){logger['debug'](_0x329d58(0x1b0)+_0x47cf06);}}}logger&&logger[_0x329d58(0x1ce)](),fileLogger&&fileLogger[_0x329d58(0x1ce)]();};}}exports[a120_0x5e5dc8(0x1f5)]=BrowserStackSetup;
|
|
1
|
+
function a120_0xd265(_0x5eafec,_0x3a2efb){const _0x4e387f=a120_0x4e38();return a120_0xd265=function(_0xd265be,_0x1d8644){_0xd265be=_0xd265be-0x1d2;let _0x488c87=_0x4e387f[_0xd265be];return _0x488c87;},a120_0xd265(_0x5eafec,_0x3a2efb);}const a120_0x762a1e=a120_0xd265;(function(_0x30b2a0,_0x127420){const _0x484a7a=a120_0xd265,_0x2267b4=_0x30b2a0();while(!![]){try{const _0x24f5bf=-parseInt(_0x484a7a(0x208))/0x1*(-parseInt(_0x484a7a(0x272))/0x2)+-parseInt(_0x484a7a(0x1fd))/0x3*(-parseInt(_0x484a7a(0x235))/0x4)+-parseInt(_0x484a7a(0x294))/0x5+parseInt(_0x484a7a(0x220))/0x6*(parseInt(_0x484a7a(0x2b2))/0x7)+parseInt(_0x484a7a(0x217))/0x8*(parseInt(_0x484a7a(0x263))/0x9)+-parseInt(_0x484a7a(0x293))/0xa*(parseInt(_0x484a7a(0x2b3))/0xb)+parseInt(_0x484a7a(0x2c7))/0xc*(-parseInt(_0x484a7a(0x1d2))/0xd);if(_0x24f5bf===_0x127420)break;else _0x2267b4['push'](_0x2267b4['shift']());}catch(_0x198be5){_0x2267b4['push'](_0x2267b4['shift']());}}}(a120_0x4e38,0xb885f));const util=require(a120_0x762a1e(0x2c4)),os=require('os'),path=require(a120_0x762a1e(0x230)),{v4:uuidv4}=require(a120_0x762a1e(0x2dd)),fs=require('fs'),constants=require(a120_0x762a1e(0x236)),logger=require(a120_0x762a1e(0x2ba))[a120_0x762a1e(0x1e5)],fileLogger=require('./logger')[a120_0x762a1e(0x1dc)],{getLogDir}=require(a120_0x762a1e(0x2ba)),helper=require(a120_0x762a1e(0x2d0)),utilities=require('./utilities'),percyHelper=require(a120_0x762a1e(0x1e3)),hubAllocator=require(a120_0x762a1e(0x216)),PerformanceTester=require(a120_0x762a1e(0x242)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents}=require(a120_0x762a1e(0x287)),{setPercyFlag}=require(a120_0x762a1e(0x2e5)),TestHubHandler=require(a120_0x762a1e(0x2be)),timeoutPromise=require('./timeoutPromise'),BrowserstackCLI=require('../bin/v2/browserstackCLI'),LoadTestModule=require('../bin/v2/modules/loadTestModule'),{getEdsInstrumentationAPIUrl}=require(a120_0x762a1e(0x22d)),ClientTroubleShootingService=require(a120_0x762a1e(0x269));class BrowserStackSetup{constructor(_0x2deef1,_0x581809){const _0x11e2ce=a120_0x762a1e,_0x288d30={'ApJYw':_0x11e2ce(0x2c0),'Qcgmf':function(_0xa0d85e){return _0xa0d85e();},'uIfke':function(_0x257496,_0x2ebae5){return _0x257496(_0x2ebae5);},'urNpK':'./caCertHelper','OPRzv':_0x11e2ce(0x288)},_0x5be253=_0x288d30[_0x11e2ce(0x2cb)][_0x11e2ce(0x26f)]('|');let _0x42b088=0x0;while(!![]){switch(_0x5be253[_0x42b088++]){case'0':this[_0x11e2ce(0x29c)]=null;continue;case'1':this['envConfig']=helper[_0x11e2ce(0x246)]();continue;case'2':this['config']['testContextOptions']=this[_0x11e2ce(0x215)][_0x11e2ce(0x2b8)]||{};continue;case'3':helper[_0x11e2ce(0x2d1)](this['config'],this['cliConfig'],this[_0x11e2ce(0x2ed)]);continue;case'4':helper[_0x11e2ce(0x1d9)](this[_0x11e2ce(0x215)],this[_0x11e2ce(0x2e4)]);continue;case'5':this[_0x11e2ce(0x215)][_0x11e2ce(0x240)]=this[_0x11e2ce(0x215)][_0x11e2ce(0x240)]||[];continue;case'6':helper[_0x11e2ce(0x238)](this[_0x11e2ce(0x215)],this[_0x11e2ce(0x218)]);continue;case'7':if(this[_0x11e2ce(0x215)][_0x11e2ce(0x23c)])throw new Error(this[_0x11e2ce(0x215)][_0x11e2ce(0x23c)]);continue;case'8':this[_0x11e2ce(0x265)]=_0x288d30[_0x11e2ce(0x1fe)](uuidv4);continue;case'9':this[_0x11e2ce(0x243)]=helper[_0x11e2ce(0x1d8)](_0x2deef1);continue;case'10':helper['normalizeTestReportingEnvVars']();continue;case'11':try{_0x288d30[_0x11e2ce(0x254)](require,_0x288d30[_0x11e2ce(0x2ab)])[_0x11e2ce(0x28e)](this[_0x11e2ce(0x215)],logger);}catch(_0x21084d){}continue;case'12':global['framework']=_0x581809;continue;case'13':PerformanceTester[_0x11e2ce(0x2aa)]();continue;case'14':this[_0x11e2ce(0x215)][_0x11e2ce(0x2b8)][_0x11e2ce(0x214)]=!helper['isBrowserstackInfra']()||helper['isTrue'](this[_0x11e2ce(0x215)][_0x11e2ce(0x2b8)]['skipSessionName']);continue;case'15':this['framework']=_0x581809;continue;case'16':helper['setLogLevel'](this[_0x11e2ce(0x215)],this[_0x11e2ce(0x218)],this['envConfig']);continue;case'17':helper[_0x11e2ce(0x27e)](this['config']);continue;case'18':helper['setLogDir'](this[_0x11e2ce(0x215)]);continue;case'19':if(helper[_0x11e2ce(0x22e)](this[_0x11e2ce(0x215)]))throw new Error(_0x288d30['OPRzv']);continue;case'20':helper[_0x11e2ce(0x2ef)](this[_0x11e2ce(0x215)],this[_0x11e2ce(0x218)],this[_0x11e2ce(0x2ed)]);continue;case'21':this['errorMessage']={};continue;case'22':this[_0x11e2ce(0x2ce)]=null;continue;case'23':this['config']=helper[_0x11e2ce(0x2bc)](this[_0x11e2ce(0x243)]);continue;case'24':this[_0x11e2ce(0x289)]=[];continue;case'25':this[_0x11e2ce(0x215)]['testContextOptions']['skipSessionStatus']=!helper['isBrowserstackInfra']()||helper[_0x11e2ce(0x23d)](this[_0x11e2ce(0x215)][_0x11e2ce(0x2b8)][_0x11e2ce(0x2a4)]);continue;case'26':this['cliConfig']=helper[_0x11e2ce(0x20e)](_0x2deef1);continue;}break;}}[a120_0x762a1e(0x25e)](_0x1c6c4b){const _0x4224fc=a120_0x762a1e,_0x4615be={'WueVg':_0x4224fc(0x2e8),'bXeNb':function(_0x2a66b0,_0x6e0b75){return _0x2a66b0===_0x6e0b75;},'SIQak':function(_0x22456e,_0x3a3d29){return _0x22456e===_0x3a3d29;},'nyQwz':_0x4224fc(0x2a7),'bcWsV':_0x4224fc(0x1de),'EFxzy':function(_0x4515b4,_0x58ca13){return _0x4515b4<_0x58ca13;},'POprl':function(_0x39ee3a,_0x508338){return _0x39ee3a(_0x508338);},'webFR':_0x4224fc(0x2f1),'RmQOh':function(_0x5ad7e9,_0xedea08){return _0x5ad7e9===_0xedea08;},'MUFDX':_0x4224fc(0x281),'UBmsd':_0x4224fc(0x2e1),'mTpPu':_0x4224fc(0x239),'IFujY':_0x4224fc(0x248),'NaXFk':'SIGINT','SuBPO':'SIGHUP','LQXyi':function(_0x1e5eb9,_0x146e7d){return _0x1e5eb9!==_0x146e7d;},'lgGAc':'win32','yVFHA':_0x4224fc(0x22a),'wufsk':_0x4224fc(0x280),'KieRM':_0x4224fc(0x2db),'ANaka':'beforeExit'},_0x1c9295=this[_0x4224fc(0x2e4)];global[_0x4224fc(0x215)]=this[_0x4224fc(0x215)],helper[_0x4224fc(0x2bd)](this[_0x4224fc(0x215)]),this['killSignal']=null,global['sdkRunId']=this['sdkRunId'],logger['info'](_0x4224fc(0x2e3)+this[_0x4224fc(0x265)]),!this[_0x4224fc(0x215)]['browserStackLocalOptions']&&(this[_0x4224fc(0x215)][_0x4224fc(0x2bf)]=this[_0x4224fc(0x215)][_0x4224fc(0x2a2)]||{});if(helper[_0x4224fc(0x22e)](helper[_0x4224fc(0x253)](this[_0x4224fc(0x215)]))||helper['isUndefined'](helper[_0x4224fc(0x27a)](this['config'])))throw new Error(_0x4615be[_0x4224fc(0x26d)]);helper['getLocalConfig'](this['config'])&&helper[_0x4224fc(0x22e)](helper[_0x4224fc(0x264)](this[_0x4224fc(0x215)]))&&(!helper['isUndefined'](this[_0x4224fc(0x215)][_0x4224fc(0x2bf)])&&_0x4615be[_0x4224fc(0x2e6)](this['config'][_0x4224fc(0x2bf)][_0x4224fc(0x1f4)],Object)?!helper[_0x4224fc(0x23d)](this['config']['browserStackLocalOptions'][_0x4224fc(0x266)])&&(this['config'][_0x4224fc(0x2bf)][_0x4224fc(0x23e)]=helper[_0x4224fc(0x204)]()):this['config']['browserStackLocalOptions']={'localIdentifier':helper[_0x4224fc(0x204)]()});this['config'][_0x4224fc(0x2bf)][_0x4224fc(0x266)]=helper[_0x4224fc(0x23d)](this[_0x4224fc(0x215)][_0x4224fc(0x2bf)][_0x4224fc(0x266)]),helper[_0x4224fc(0x277)](this[_0x4224fc(0x215)]);if(_0x4615be['SIQak'](_0x1c9295,_0x4615be[_0x4224fc(0x211)]))return;this[_0x4224fc(0x2d8)]();process['env']['BROWSERSTACK_TURBOSCALE']&&(this[_0x4224fc(0x215)][_0x4224fc(0x2d6)]=helper[_0x4224fc(0x23d)](process[_0x4224fc(0x1ee)][_0x4224fc(0x20f)]),this[_0x4224fc(0x215)][_0x4224fc(0x29b)]=this[_0x4224fc(0x215)][_0x4224fc(0x29b)]||{});helper[_0x4224fc(0x241)](this[_0x4224fc(0x215)])&&(process[_0x4224fc(0x1ee)][_0x4224fc(0x20f)]=!![]);LoadTestModule[_0x4224fc(0x1f1)](this['config'])&&logger[_0x4224fc(0x1d5)]('LTS\x20session\x20enabled\x20for\x20this\x20run.\x20SDK\x20run\x20id:\x20'+this[_0x4224fc(0x265)]);if(!helper[_0x4224fc(0x1ff)]()){try{process[_0x4224fc(0x1ee)][_0x4224fc(0x1f5)]=_0x1c9295,utilities[_0x4224fc(0x226)](_0x4615be[_0x4224fc(0x1f8)],{},this['config'],this[_0x4224fc(0x2e4)]);}catch(_0xefb3){logger[_0x4224fc(0x1d5)](_0x4224fc(0x257)+_0xefb3);}return;}if(helper['requireSeleniumWebdriverCheck'](_0x1c9295)){if(global[_0x4224fc(0x2bb)]||global[_0x4224fc(0x1e8)])return;_0x4615be[_0x4224fc(0x231)](_0x4615be[_0x4224fc(0x1e0)](parseInt,helper[_0x4224fc(0x203)](_0x4615be[_0x4224fc(0x27f)])),0x3)&&(this['config'][_0x4224fc(0x1d3)]=![]),_0x4615be[_0x4224fc(0x2ae)](helper[_0x4224fc(0x258)](helper[_0x4224fc(0x203)](_0x4615be['webFR']),_0x4615be[_0x4224fc(0x25b)]),0x1)&&(this['config']['useW3C']=!![]);}(helper[_0x4224fc(0x22e)](this[_0x4224fc(0x215)][_0x4224fc(0x240)])||helper[_0x4224fc(0x22e)](this[_0x4224fc(0x215)][_0x4224fc(0x240)][_0x4224fc(0x2cd)]))&&(helper[_0x4224fc(0x22e)](this[_0x4224fc(0x215)][_0x4224fc(0x206)])?logger[_0x4224fc(0x2cc)](_0x4615be['UBmsd']):logger['warn'](_0x4615be[_0x4224fc(0x297)]),this[_0x4224fc(0x215)][_0x4224fc(0x240)]=[]);!this[_0x4224fc(0x215)][_0x4224fc(0x2b8)]&&(this[_0x4224fc(0x215)][_0x4224fc(0x2b8)]={});try{process[_0x4224fc(0x1ee)][_0x4224fc(0x1f5)]=_0x1c6c4b['_'][0x0],utilities[_0x4224fc(0x226)](_0x4615be['bcWsV'],{},this[_0x4224fc(0x215)],this['framework']);}catch(_0x383832){logger[_0x4224fc(0x1d5)](_0x4224fc(0x257)+_0x383832);}!this[_0x4224fc(0x215)]['disableAutoCaptureLogs']&&logger[_0x4224fc(0x2cc)](constants[_0x4224fc(0x296)]),this['intExitHandler']=this[_0x4224fc(0x2eb)][_0x4224fc(0x2dc)](this),process['on'](_0x4615be[_0x4224fc(0x28b)],this['intExitHandler']),process['on'](_0x4615be[_0x4224fc(0x1fa)],this[_0x4224fc(0x2eb)]),process['on'](_0x4615be[_0x4224fc(0x251)],this[_0x4224fc(0x2eb)]),_0x4615be[_0x4224fc(0x223)](process['platform'],_0x4615be['lgGAc'])?(process['on'](_0x4615be['yVFHA'],this[_0x4224fc(0x2eb)]),process['on'](_0x4615be[_0x4224fc(0x23a)],this['intExitHandler'])):process['on'](_0x4615be[_0x4224fc(0x260)],this[_0x4224fc(0x2eb)]),process['on'](_0x4615be['ANaka'],this[_0x4224fc(0x292)]());}async['initialize'](_0x4eeabf){const _0xfc886b=a120_0x762a1e,_0x41ff18={'ZedfI':_0xfc886b(0x286),'eEapN':_0xfc886b(0x2e7),'jjfgn':_0xfc886b(0x1f6),'KAEBD':function(_0x87eb5f,_0x49b163){return _0x87eb5f===_0x49b163;},'DhQMQ':_0xfc886b(0x237),'yCFeK':function(_0x32b4d4,_0xd2ae44){return _0x32b4d4+_0xd2ae44;},'Kovla':'?caps=','BwXtT':function(_0x1b9bd5,_0x3632d2){return _0x1b9bd5(_0x3632d2);},'sCjPy':_0xfc886b(0x2df)};this['preInitialize'](_0x4eeabf);if(helper[_0xfc886b(0x241)](this[_0xfc886b(0x215)])){const _0x3857d8=await helper['getTurboScaleGridDetails'](this[_0xfc886b(0x215)]);this[_0xfc886b(0x215)][_0xfc886b(0x225)]=_0x3857d8,_0x3857d8[_0xfc886b(0x24f)]&&helper[_0xfc886b(0x27c)](this['config'][_0xfc886b(0x29c)])&&helper['isTrue'](this[_0xfc886b(0x215)][_0xfc886b(0x29c)])&&(this['config'][_0xfc886b(0x2bf)]['localIdentifier']=_0x41ff18[_0xfc886b(0x2d5)],this[_0xfc886b(0x215)][_0xfc886b(0x2bf)][_0x41ff18[_0xfc886b(0x1d4)]]=_0x3857d8[_0xfc886b(0x256)][_0xfc886b(0x1ed)](','),this[_0xfc886b(0x215)][_0xfc886b(0x2bf)][_0xfc886b(0x283)]=_0x41ff18[_0xfc886b(0x26b)]),this[_0xfc886b(0x215)]['turboScaleUrl']=_0x3857d8[_0xfc886b(0x2b0)],this[_0xfc886b(0x2e4)]&&_0x41ff18[_0xfc886b(0x26c)](this[_0xfc886b(0x2e4)][_0xfc886b(0x1e6)](),_0x41ff18[_0xfc886b(0x2ec)])?this[_0xfc886b(0x215)][_0xfc886b(0x1f2)]=_0x41ff18[_0xfc886b(0x24b)](_0x3857d8[_0xfc886b(0x210)],_0x41ff18['Kovla']):constants[_0xfc886b(0x1dd)]=helper['getHubUrl'](this[_0xfc886b(0x215)]),logger[_0xfc886b(0x1d5)](_0xfc886b(0x259)+constants[_0xfc886b(0x1dd)]);}helper[_0xfc886b(0x22b)](this[_0xfc886b(0x215)]),this[_0xfc886b(0x25c)](),_0x41ff18[_0xfc886b(0x229)](setPercyFlag,this),![_0x41ff18[_0xfc886b(0x20b)],_0x41ff18['DhQMQ']][_0xfc886b(0x275)](this[_0xfc886b(0x2e4)])&&!helper[_0xfc886b(0x241)](this[_0xfc886b(0x215)])&&!helper[_0xfc886b(0x2c1)]()[_0xfc886b(0x2c6)]&&await this[_0xfc886b(0x20a)]();}async[a120_0x762a1e(0x224)](){const _0x18b05a=a120_0x762a1e,_0x3aa702={};_0x3aa702[_0x18b05a(0x2c9)]=function(_0x3167bd,_0x5d9eed){return _0x3167bd===_0x5d9eed;},_0x3aa702[_0x18b05a(0x2a1)]=_0x18b05a(0x2d2),_0x3aa702[_0x18b05a(0x1f0)]='Could\x20not\x20start\x20percy,\x20check\x20percy\x20logs\x20for\x20info.',_0x3aa702['YepRB']=_0x18b05a(0x28d),_0x3aa702['lMLIx']='true',_0x3aa702[_0x18b05a(0x201)]='beforeExit';const _0x2edea1=_0x3aa702;if(helper[_0x18b05a(0x23d)](this[_0x18b05a(0x215)][_0x18b05a(0x2ce)])&&(!this[_0x18b05a(0x2ce)]||!this[_0x18b05a(0x2ce)][_0x18b05a(0x1da)]()))try{this['percy']=await percyHelper['startPercy'](this[_0x18b05a(0x215)]);if(!this[_0x18b05a(0x2ce)]){process[_0x18b05a(0x1ee)]['BROWSERSTACK_PERCY']=_0x2edea1[_0x18b05a(0x2a1)];throw new Error(_0x2edea1[_0x18b05a(0x1f0)]);}logger[_0x18b05a(0x2cc)](_0x2edea1[_0x18b05a(0x2b7)]),process[_0x18b05a(0x1ee)][_0x18b05a(0x2c3)]=_0x2edea1[_0x18b05a(0x1e2)];let _0xd0741e=0x0;const _0x2418b6=async()=>{const _0x38b978=_0x18b05a;_0xd0741e++,_0x2edea1[_0x38b978(0x2c9)](_0xd0741e,0x1)&&await this['stopPercy']();};process['on'](_0x2edea1[_0x18b05a(0x201)],_0x2418b6);}catch(_0x51673e){process[_0x18b05a(0x1ee)][_0x18b05a(0x2c3)]=_0x2edea1[_0x18b05a(0x2a1)],logger[_0x18b05a(0x1d5)](_0x18b05a(0x21f)+_0x51673e);throw new Error(_0x51673e['toString']());}}async[a120_0x762a1e(0x2a6)](){const _0x5bd88a=a120_0x762a1e,_0x3f8a83={};_0x3f8a83[_0x5bd88a(0x1ea)]=_0x5bd88a(0x234),_0x3f8a83[_0x5bd88a(0x1ef)]=_0x5bd88a(0x279);const _0x3621d8=_0x3f8a83;if(this[_0x5bd88a(0x2ce)]&&this['percy'][_0x5bd88a(0x1da)]())try{await percyHelper[_0x5bd88a(0x2a6)](this[_0x5bd88a(0x2ce)]),logger[_0x5bd88a(0x2cc)](_0x3621d8[_0x5bd88a(0x1ea)]);}catch(_0x2fcec5){logger[_0x5bd88a(0x23c)](_0x3621d8['GgRKJ'],_0x2fcec5[_0x5bd88a(0x1df)]);}}async[a120_0x762a1e(0x291)](){const _0x3463d9=a120_0x762a1e,_0x4e8d97={};_0x4e8d97[_0x3463d9(0x21b)]=_0x3463d9(0x2d4),_0x4e8d97['tizPM']=_0x3463d9(0x2b6);const _0x3ebbac=_0x4e8d97;if(helper['isBrowserstackInfra']()&&helper[_0x3463d9(0x23d)](this[_0x3463d9(0x215)]['browserstackLocal'])&&(!this['browserstackLocal']||!this[_0x3463d9(0x29c)][_0x3463d9(0x1da)]()))try{if(this[_0x3463d9(0x215)]['browserStackLocalOptions']['skipBinaryInitialisation']){logger[_0x3463d9(0x1d5)](_0x3ebbac[_0x3463d9(0x21b)]);return;}this[_0x3463d9(0x29c)]=await helper['startLocalBinary'](this['config']),logger[_0x3463d9(0x2cc)](_0x3ebbac[_0x3463d9(0x222)]);}catch(_0x4cc02c){logger[_0x3463d9(0x1d5)](_0x4cc02c);throw new Error(_0x4cc02c[_0x3463d9(0x2c5)]());}}async[a120_0x762a1e(0x26e)](){const _0x2e301f=a120_0x762a1e,_0x375ae8={};_0x375ae8['nvJsq']='Local\x20binary\x20stopped',_0x375ae8[_0x2e301f(0x1db)]='Error\x20occured\x20while\x20stopping\x20local\x20binary';const _0x3d89e6=_0x375ae8;if(this[_0x2e301f(0x29c)]&&this[_0x2e301f(0x29c)]['isRunning']())try{await helper[_0x2e301f(0x247)](this[_0x2e301f(0x29c)]),logger[_0x2e301f(0x2cc)](_0x3d89e6['nvJsq']);}catch(_0x1883b1){logger[_0x2e301f(0x23c)](_0x3d89e6['iIHLz'],_0x1883b1[_0x2e301f(0x1df)]);}}async['setUpHubUrl'](){return PerformanceTester['measureWrapper'](PerformanceAutEvents['HUB_MANAGEMENT'],async()=>{const _0x38389e=a120_0xd265;await hubAllocator[_0x38389e(0x298)](this[_0x38389e(0x215)]);})();}async[a120_0x762a1e(0x262)](){const _0x5c58b1=a120_0x762a1e,_0x17e1c1={'UBbzH':function(_0x35477a,_0x3d0daa){return _0x35477a(_0x3d0daa);},'TBAkT':_0x5c58b1(0x25a),'Sctbl':function(_0x445501,_0x3cab76,_0x2e8c58,_0x42c5fa,_0x2c0632,_0x5a5d8e,_0x3c2dfb){return _0x445501(_0x3cab76,_0x2e8c58,_0x42c5fa,_0x2c0632,_0x5a5d8e,_0x3c2dfb);},'ohoAU':'BrowserstackHealing.init\x20method\x20timed\x20out','rAiYP':'BrowserstackHealingInitFailed','tQAdM':function(_0x3a530c,_0x36248f){return _0x3a530c(_0x36248f);},'wivDP':_0x5c58b1(0x2c2),'kAPqn':'BrowserstackHealing.init','eBAmg':function(_0x18b6b9,_0x115c23){return _0x18b6b9===_0x115c23;},'cYUll':'true','uLUlM':function(_0x51b0bb,_0x14b590){return _0x51b0bb===_0x14b590;},'kchWH':_0x5c58b1(0x2a3),'RyvcN':function(_0x423e24,_0x8d2e67){return _0x423e24===_0x8d2e67;},'IUVDl':_0x5c58b1(0x1ec),'OlJSH':_0x5c58b1(0x2b4),'zdvku':function(_0x57cce6,_0x209fde){return _0x57cce6(_0x209fde);},'vnwhU':_0x5c58b1(0x2da),'PYEvk':function(_0x4aaff0,_0x1acc43){return _0x4aaff0>=_0x1acc43;},'dfPeF':function(_0xd2bd10,_0x5c791a){return _0xd2bd10<_0x5c791a;},'JBgBh':function(_0xf373c3,_0xc969e9){return _0xf373c3>=_0xc969e9;},'VUvWQ':'tcg\x20config\x20setup\x20successful.','nZLRM':_0x5c58b1(0x24a),'tFxWb':function(_0x1d0508){return _0x1d0508();}},_0x248a69=PerformanceTester[_0x5c58b1(0x2ea)](_0x17e1c1[_0x5c58b1(0x29f)],async()=>{const _0x263d59=_0x5c58b1;try{const _0x5dcfc0=new Date(),_0x4dc6d7=helper[_0x263d59(0x2a5)](this[_0x263d59(0x215)]),_0x3aaefe=_0x17e1c1['UBbzH'](require,path['join'](__dirname,_0x17e1c1[_0x263d59(0x27b)])),_0x386e4c=_0x17e1c1[_0x263d59(0x1d6)](timeoutPromise,constants['TCG_AUTH_TIMEOUT'],_0x17e1c1[_0x263d59(0x271)],_0x17e1c1[_0x263d59(0x29a)],_0x5dcfc0,this[_0x263d59(0x215)],this[_0x263d59(0x2e4)]),_0x5bd347={'tcgUrl':constants[_0x263d59(0x285)],'sdkVersion':_0x17e1c1[_0x263d59(0x200)](require,_0x17e1c1[_0x263d59(0x274)])[_0x263d59(0x233)],'methodUsed':_0x17e1c1[_0x263d59(0x205)],'proxyConfig':_0x4dc6d7,'os':os[_0x263d59(0x2d7)]()};if(_0x4dc6d7&&_0x4dc6d7[_0x263d59(0x278)]){utilities['fireFunnelTestEvent'](constants[_0x263d59(0x20c)],_0x5bd347,this[_0x263d59(0x215)],this[_0x263d59(0x2e4)]);return;}const _0x222f7f={};_0x222f7f[_0x263d59(0x1d7)]=_0x4dc6d7;const _0x3f07bc=await Promise[_0x263d59(0x252)]([_0x3aaefe['init'](this['config'][_0x263d59(0x249)],this[_0x263d59(0x215)][_0x263d59(0x1e4)],constants[_0x263d59(0x285)],_0x17e1c1['tQAdM'](require,_0x17e1c1['wivDP'])['version'],_0x222f7f)[_0x263d59(0x228)](_0x46b171=>{const _0x142249=_0x263d59;return _0x386e4c[_0x142249(0x284)](),_0x46b171;}),_0x386e4c]);_0x3f07bc['isHealingEnabled']=_0x17e1c1['eBAmg'](_0x3f07bc['isHealingEnabled'],_0x17e1c1[_0x263d59(0x2e0)])||_0x17e1c1['uLUlM'](_0x3f07bc[_0x263d59(0x27d)],!![]);const _0x4c0107=_0x17e1c1[_0x263d59(0x21d)](this[_0x263d59(0x215)]['selfHeal'],!![])||_0x17e1c1[_0x263d59(0x21d)](this['config'][_0x263d59(0x244)],_0x17e1c1[_0x263d59(0x2e0)]);if(_0x17e1c1[_0x263d59(0x207)](_0x3f07bc['message'],constants[_0x263d59(0x25d)])&&_0x4c0107)logger[_0x263d59(0x2cc)](_0x17e1c1['kchWH']);else{if(!_0x3f07bc[_0x263d59(0x299)]&&_0x17e1c1[_0x263d59(0x2b5)](_0x3f07bc[_0x263d59(0x295)],0x1f7)&&_0x4c0107)logger[_0x263d59(0x2cc)](_0x17e1c1[_0x263d59(0x1f3)]),utilities[_0x263d59(0x226)](constants[_0x263d59(0x2cf)],_0x5bd347,this['config'],this[_0x263d59(0x2e4)]);else{if(!_0x3f07bc[_0x263d59(0x299)]&&_0x4c0107){logger['info'](_0x17e1c1[_0x263d59(0x1fc)]);const _0x1d725a={'tcgUrl':constants[_0x263d59(0x285)],'sdkVersion':_0x17e1c1[_0x263d59(0x270)](require,_0x17e1c1[_0x263d59(0x274)])['version'],'methodUsed':_0x17e1c1[_0x263d59(0x205)],'proxyConfig':_0x4dc6d7,'os':os[_0x263d59(0x2d7)]()};utilities[_0x263d59(0x226)](constants[_0x263d59(0x23b)],_0x1d725a,this[_0x263d59(0x215)],this['framework']);}else{if(_0x3f07bc['isAuthenticated']&&!_0x3f07bc[_0x263d59(0x27d)]&&_0x4c0107)logger['info'](_0x17e1c1['vnwhU']);else{if(_0x17e1c1['PYEvk'](_0x3f07bc[_0x263d59(0x295)],0xc8)&&_0x17e1c1[_0x263d59(0x2d9)](_0x3f07bc[_0x263d59(0x295)],0x12c))utilities[_0x263d59(0x226)](constants['AI_INIT_SUCCESSFUL'],_0x5bd347,this[_0x263d59(0x215)],this[_0x263d59(0x2e4)]);else{if(_0x17e1c1[_0x263d59(0x219)](_0x3f07bc['status'],0x190))_0x5bd347['status']=_0x3f07bc[_0x263d59(0x295)],utilities[_0x263d59(0x226)](constants['AI_INIT_FAILURE'],_0x5bd347,this['config'],this[_0x263d59(0x2e4)]);else!_0x3f07bc[_0x263d59(0x295)]&&utilities['fireFunnelTestEvent'](constants[_0x263d59(0x2e2)],_0x5bd347,this['config'],this['framework']);}}}}}if(_0x3f07bc['isAuthenticated']&&_0x3f07bc[_0x263d59(0x27d)]){const _0x421aee={};_0x421aee['tcgAuthConfig']=_0x3f07bc;const _0x36c6ae=_0x421aee;_0x4dc6d7&&(_0x36c6ae[_0x263d59(0x2ad)]=_0x4dc6d7),_0x36c6ae['framework']=this[_0x263d59(0x2e4)],_0x36c6ae[_0x263d59(0x2f0)]=this[_0x263d59(0x215)],helper[_0x263d59(0x23f)](_0x36c6ae),logger[_0x263d59(0x1d5)](_0x17e1c1['VUvWQ']);}}catch(_0x5545c2){logger[_0x263d59(0x1d5)]('Error\x20in\x20setting\x20up\x20tcg\x20authconfig.\x20Error:\x20'+(_0x5545c2['message']?_0x5545c2[_0x263d59(0x1df)]:''));}});await _0x17e1c1[_0x5c58b1(0x276)](_0x248a69);}[a120_0x762a1e(0x25c)](){const _0x49ce8c=a120_0x762a1e,_0x525604={'kafQQ':function(_0x4a1c89,_0xe9d403){return _0x4a1c89(_0xe9d403);},'aEUZp':_0x49ce8c(0x2e9)};_0x525604[_0x49ce8c(0x28c)](require,_0x525604[_0x49ce8c(0x221)])();}[a120_0x762a1e(0x2d8)](){const _0x4ae060=a120_0x762a1e,_0x545a02={};_0x545a02[_0x4ae060(0x282)]=_0x4ae060(0x1e7),_0x545a02[_0x4ae060(0x20d)]=_0x4ae060(0x245),_0x545a02[_0x4ae060(0x1f9)]=_0x4ae060(0x209);const _0x3baeac=_0x545a02,_0x18aa41=_0x53831e=>{const _0x1dd9fb=_0x4ae060,_0x435a0f=_0x3baeac[_0x1dd9fb(0x282)][_0x1dd9fb(0x26f)]('|');let _0x248cab=0x0;while(!![]){switch(_0x435a0f[_0x248cab++]){case'0':logger[_0x1dd9fb(0x1d5)](util[_0x1dd9fb(0x255)](_0x53831e));continue;case'1':PerformanceTester[_0x1dd9fb(0x29d)](_0x53831e);continue;case'2':ClientTroubleShootingService[_0x1dd9fb(0x2af)]();continue;case'3':this['unhandledErrors']['push'](util[_0x1dd9fb(0x255)]('%j',_0x53831e));continue;case'4':logger['error'](_0x53831e[_0x1dd9fb(0x1df)]);continue;}break;}};process['on'](_0x3baeac[_0x4ae060(0x20d)],_0x18aa41),process['on'](_0x3baeac[_0x4ae060(0x1f9)],_0x18aa41);}async[a120_0x762a1e(0x2eb)](_0x527763){const _0x3113e5=a120_0x762a1e,_0x85f377={'MTTLG':function(_0x1f31ce,_0x517ec0){return _0x1f31ce+_0x517ec0;},'JFzPf':'Signal\x20shutdown\x20did\x20not\x20complete\x20cleanly:\x20','HsTfN':_0x3113e5(0x24e),'CNWfp':function(_0xa28be5,_0x4bac34,_0x31817a){return _0xa28be5(_0x4bac34,_0x31817a);},'wadoO':function(_0x2411b1,_0x26a102){return _0x2411b1+_0x26a102;},'XEacK':_0x3113e5(0x2ca),'DjPjQ':function(_0xd47b3c,_0x236f95){return _0xd47b3c+_0x236f95;},'ivrqC':_0x3113e5(0x202),'rMDmo':function(_0x281022,_0x461836){return _0x281022(_0x461836);},'crnGI':function(_0x2cac8d,_0x1da8b8){return _0x2cac8d===_0x1da8b8;},'gZFkq':_0x3113e5(0x227),'HpDRs':_0x3113e5(0x1e1),'pqmeT':_0x3113e5(0x2a8)};if(this[_0x85f377[_0x3113e5(0x2a9)](_0x85f377[_0x3113e5(0x29e)],_0x527763)])return;this[_0x85f377[_0x3113e5(0x1eb)](_0x85f377['XEacK'],_0x527763)]=!![],logger[_0x3113e5(0x2cc)](_0x85f377[_0x3113e5(0x2a0)](_0x85f377['ivrqC'],_0x527763)),this[_0x3113e5(0x21e)]=_0x527763;const _0x3950e7=0x7530;let _0x406911;const _0xfde043=(async()=>{const _0x369e1b=_0x3113e5;await ClientTroubleShootingService[_0x369e1b(0x2de)](_0x527763),await TestHubHandler[_0x369e1b(0x261)](_0x527763),await ClientTroubleShootingService[_0x369e1b(0x2af)](),await BrowserstackCLI[_0x369e1b(0x273)]()[_0x369e1b(0x261)]();})()[_0x3113e5(0x228)](()=>'completed')['catch'](_0x5246d2=>{const _0x16a90c=_0x3113e5;return logger['debug'](_0x85f377[_0x16a90c(0x2a0)](_0x85f377[_0x16a90c(0x26a)],util['format'](_0x5246d2))),_0x85f377[_0x16a90c(0x267)];}),_0x8b9f48=new Promise(_0x64f294=>{const _0xfe8b15=_0x3113e5;_0x406911=_0x85f377['CNWfp'](setTimeout,()=>_0x64f294(_0xfe8b15(0x227)),_0x3950e7),_0x406911[_0xfe8b15(0x24c)]&&_0x406911[_0xfe8b15(0x24c)]();}),_0x13a042=await Promise['race']([_0xfde043,_0x8b9f48]);_0x85f377[_0x3113e5(0x28a)](clearTimeout,_0x406911),_0x85f377[_0x3113e5(0x2d3)](_0x13a042,_0x85f377['gZFkq'])&&(logger[_0x3113e5(0x21a)](_0x85f377[_0x3113e5(0x2a0)](_0x85f377[_0x3113e5(0x2a9)](_0x85f377[_0x3113e5(0x22f)],_0x3950e7),_0x85f377[_0x3113e5(0x250)])),process[_0x3113e5(0x28f)](process[_0x3113e5(0x213)]||0x0));}['exitHandler'](){const _0x671e71=a120_0x762a1e,_0x331fba={'ianMp':function(_0x52e6b6,_0x36f704){return _0x52e6b6===_0x36f704;},'fGLsO':_0x671e71(0x2ac),'XEDVQ':function(_0x5b3637,_0x4f72a9){return _0x5b3637>_0x4f72a9;},'hyiYF':function(_0xd14a89,_0x69e2e6){return _0xd14a89>_0x69e2e6;},'aykuW':function(_0x46694,_0x265fef){return _0x46694(_0x265fef);},'itzeM':function(_0x59a6ee){return _0x59a6ee();},'nmURw':_0x671e71(0x24d)};let _0x5a02a9=0x0;return async()=>{const _0x513401=_0x671e71;_0x5a02a9++;if(_0x331fba[_0x513401(0x25f)](_0x5a02a9,0x1)){helper['checkStopLocalBinaryOnExit'](this['framework'])&&await this[_0x513401(0x26e)]();try{logger[_0x513401(0x1d5)](_0x331fba['fGLsO']),await TestHubHandler[_0x513401(0x261)](_0x5a02a9),await ClientTroubleShootingService[_0x513401(0x2af)](),await BrowserstackCLI[_0x513401(0x273)]()[_0x513401(0x261)]('1');}catch(_0x71cf68){logger['debug']('Error\x20in\x20sending\x20testhub\x20stop:\x20'+util['format'](_0x71cf68));}PerformanceTester[_0x513401(0x232)](PerformanceEvents['SDK_CLEANUP']);if(PerformanceTester[_0x513401(0x2c8)]()){const {measures:_0x44916d,errors:_0x471cd7}=await PerformanceTester[_0x513401(0x1f7)](),_0x566a7f={};if(_0x44916d&&_0x331fba['XEDVQ'](_0x44916d['length'],0x0)||_0x471cd7&&_0x331fba['hyiYF'](_0x471cd7[_0x513401(0x2cd)],0x0)){const _0x3dae1b={};_0x3dae1b['measures']=_0x44916d,_0x3dae1b['exceptions']=_0x471cd7,Object[_0x513401(0x212)](_0x566a7f,_0x3dae1b);}try{const _0x2ef1bf=await helper[_0x513401(0x2ee)](_0x566a7f,this[_0x513401(0x215)]);logger[_0x513401(0x1d5)](_0x513401(0x1e9)+_0x331fba[_0x513401(0x21c)](getEdsInstrumentationAPIUrl,'')+_0x513401(0x290)+_0x2ef1bf['statusCode']);}catch(_0x343ab7){logger[_0x513401(0x1d5)]('Failed\x20to\x20send\x20data\x20to\x20'+_0x331fba[_0x513401(0x21c)](getEdsInstrumentationAPIUrl,'')+'\x20with\x20error\x20'+util['format'](_0x343ab7));}try{fs[_0x513401(0x1fb)](path[_0x513401(0x1ed)](_0x331fba[_0x513401(0x2b1)](getLogDir),_0x331fba['nmURw']),JSON[_0x513401(0x2b9)](_0x566a7f));}catch(_0x3618ce){logger[_0x513401(0x1d5)](_0x513401(0x268)+_0x3618ce);}}}logger&&logger[_0x513401(0x22c)](),fileLogger&&fileLogger[_0x513401(0x22c)]();};}}function a120_0x4e38(){const _0x1da7d5=['handled','ApJYw','info','length','percy','TCG_DOWN','./helper','setSmartTestSelectionFeatureBranchesConfig','false','crnGI','Local\x20binary\x20not\x20started\x20as\x20skipBinaryInitialisation\x20is\x20enabled','ZedfI','turboScale','platform','handleExceptions','dfPeF','Healing\x20is\x20not\x20enabled\x20for\x20your\x20group,\x20please\x20contact\x20the\x20admin','SIGBREAK','bind','uuid','reportProcessInterruptionSituation','codeceptjs','cYUll','Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','INVALID_INIT_RESP_WITH_USER_IMPACT','SDK\x20run\x20started\x20with\x20id:\x20','framework','./testhub/utils','bXeNb','custom-repeater','userName\x20or\x20accessKey\x20is\x20not\x20defined','./setKeepAlive','measureWrapper','intExitHandler','DhQMQ','envConfig','sendToEDS','getFinalCaps','bstackConfig','selenium-webdriver','19253bMGQIC','useW3C','eEapN','debug','Sctbl','proxy','getConfigPath','validateSkipAppOverride','isRunning','iIHLz','fileLogger','hubUrl','SDKTestAttempted','message','POprl','Signal\x20shutdown\x20timed\x20out\x20after\x20','lMLIx','./percy/utils','userName','winstonLogger','toLowerCase','4|0|3|1|2','__isPuppeteerInstalled','Data\x20sent\x20successfully\x20to\x20','QmiJv','DjPjQ','Something\x20went\x20wrong.\x20Disabling\x20healing\x20for\x20this\x20session.\x20Please\x20try\x20again\x20later.','join','env','GgRKJ','bvzth','isLTSSession','turboScaleUrl','IUVDl','constructor','FRAMEWORK','true','finalize','bcWsV','OrZfH','NaXFk','writeFileSync','OlJSH','322017XEpfvn','Qcgmf','isBrowserstackInfra','tQAdM','zTMNO','Shutdown\x20triggered\x20by\x20','getPackageVersion','generateLocalIdentifier','kAPqn','parallelsPerPlatform','uLUlM','7UvIfHQ','uncaughtException','setUpHubUrl','sCjPy','AI_PROXY_FAILURE','jcFhi','setCLICaps','BROWSERSTACK_TURBOSCALE','playwrightUrl','nyQwz','assign','exitCode','skipSessionName','config','../hubAllocationMethods','80ffyLsy','cliConfig','JBgBh','warn','ZyjNZ','aykuW','eBAmg','killSignal','Error\x20in\x20percy\x20setup\x20','264GEvyoy','aEUZp','tizPM','LQXyi','setupPercy','turboScaleGridDetails','fireFunnelTestEvent','timed-out','then','BwXtT','SIGABRT','setProxySettings','close','../bin/utils/apiUtilityMethods','isUndefined','HpDRs','path','EFxzy','end','version','Percy\x20stopped','40igLTMp','../bin/utils/constants','playwright','setBrowserstackInfraFromConfig','parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','wufsk','TCG_AUTH_FAILURE','error','isTrue','localIdentifier','setupTcgConfigFile','platforms','isTurboScaleSession','./performance/performance-tester','configPath','selfHeal','unhandledRejection','setEnvCaps','stopLocalBinary','SIGTERM','accessKey','aiHeal:tcgAuth','yCFeK','unref','events.json','completed','isTrialGrid','pqmeT','SuBPO','race','getUserName','uIfke','format','customRepeaters','Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20','compareVersions','HUB\x20URL\x20SET\x20TO\x20TurboScale\x20HUB\x20-\x20','../ai-sdk-node/bundle','MUFDX','setupKeepAlive','UPGRADE_REQUIRED','preInitialize','ianMp','KieRM','stop','setupTCGAuth','79083jUJBtf','getLocalIdentifier','sdkRunId','skipBinaryInitialisation','HsTfN','Error\x20in\x20writing\x20events\x20to\x20file\x20','../bin/utils/clientTroubleshootingService','JFzPf','jjfgn','KAEBD','WueVg','stopBrowserstackLocal','split','zdvku','ohoAU','330054vVCMgb','getInstance','wivDP','includes','tFxWb','setHandlePWError','proxyUrl','Error\x20occured\x20while\x20stopping\x20percy','getAccessKey','TBAkT','isNotUndefined','isHealingEnabled','setCredentialsFromYmlConfig','webFR','SIGQUIT','4.5.0','RtVgX','forceLocal','cancel','TCG_URL','ats-repeater','./performance/constants','No\x20config\x20provided.','unhandledErrors','rMDmo','IFujY','kafQQ','Percy\x20started\x20successfully','setupCaCertificate','exit','\x20with\x20response\x20','setupBrowserstackLocal','exitHandler','260BpMEOz','5679200EyJNeX','status','AUTOLOGCAPTURE_NOTIFICATION','mTpPu','allocateHub','isAuthenticated','rAiYP','turboScaleOptions','browserstackLocal','captureError','XEacK','nZLRM','MTTLG','YWHon','localOptions','Please\x20upgrade\x20Browserstack\x20SDK\x20to\x20the\x20latest\x20version\x20to\x20use\x20the\x20self-healing\x20feature.','skipSessionStatus','getProxyConfigForTcg','stopPercy','integrations','ms;\x20forcing\x20exit','wadoO','startMonitoring','urNpK','Calling\x20Build\x20Stop\x20from\x20ExitHandler','proxyConfig','RmQOh','reportFinalDetectionState','url','itzeM','205366SEdenU','521598PzDGXA','Authentication\x20Failed.\x20Disabling\x20Healing\x20for\x20this\x20session.','RyvcN','Local\x20binary\x20started\x20successfully','YepRB','testContextOptions','stringify','./logger','__isPlaywrightInstalled','readConfig','sanitizeCaps','./testhub/testhubHandler','browserStackLocalOptions','24|10|1|0|22|9|23|26|5|2|21|8|15|12|19|7|4|6|17|25|14|20|3|18|16|13|11','getCentralUser','../../package.json','BROWSERSTACK_PERCY','util','toString','central_scanner','3912GRngNe','isEnabled','SLzDN'];a120_0x4e38=function(){return _0x1da7d5;};return a120_0x4e38();}exports['default']=BrowserStackSetup;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a121_0x228b92=a121_0x25b4;(function(_0x47225c,_0x141f68){const _0x471c51=a121_0x25b4,_0x425cbc=_0x47225c();while(!![]){try{const _0x2bfc19=parseInt(_0x471c51(0x1ba))/0x1*(parseInt(_0x471c51(0x1c2))/0x2)+parseInt(_0x471c51(0x218))/0x3*(-parseInt(_0x471c51(0x1aa))/0x4)+-parseInt(_0x471c51(0x212))/0x5+-parseInt(_0x471c51(0x236))/0x6+parseInt(_0x471c51(0x1f8))/0x7+-parseInt(_0x471c51(0x1ad))/0x8+parseInt(_0x471c51(0x209))/0x9;if(_0x2bfc19===_0x141f68)break;else _0x425cbc['push'](_0x425cbc['shift']());}catch(_0x229020){_0x425cbc['push'](_0x425cbc['shift']());}}}(a121_0x4eee,0xa09e5));const util=require('util'),logger=require(a121_0x228b92(0x1de))[a121_0x228b92(0x23d)],accessibilityHelper=require(a121_0x228b92(0x215)),globals=require(a121_0x228b92(0x21b)),scripts=require(a121_0x228b92(0x1b1)),PerformanceTester=require('../performance/performance-tester'),{A11Y_EVENTS:PerformanceA11yEvents}=require(a121_0x228b92(0x268)),BrowserstackCLI=require(a121_0x228b92(0x23c));let playwrightA11yHelper=null;try{playwrightA11yHelper=require('../../bin/playwright/accessibility-helper');}catch(a121_0x26e529){logger[a121_0x228b92(0x1b6)](a121_0x228b92(0x216));}function a121_0x25b4(_0x401d91,_0x119c00){const _0x4eeeba=a121_0x4eee();return a121_0x25b4=function(_0x25b4d3,_0x430452){_0x25b4d3=_0x25b4d3-0x1a5;let _0x1511d9=_0x4eeeba[_0x25b4d3];return _0x1511d9;},a121_0x25b4(_0x401d91,_0x119c00);}const a121_0x1791c9={};a121_0x1791c9[a121_0x228b92(0x1ea)]=0x1,a121_0x1791c9['timeoutMs']=0x7530,a121_0x1791c9[a121_0x228b92(0x217)]=0x7530;function a121_0x4eee(){const _0x218e11=['KlYgG','\x20-\x20not\x20applicable','timeoutMs','goto','xPKPr','rOOqv','scanSucceeded','nNhhQ','env','GXDvl','capabilitiesList','max','1417276bjtpBT','RYrHX','LgQsf','ViWQK','uJEYx','All\x20accessibility\x20results\x20save\x20attempts\x20failed\x20(','Failed\x20to\x20retrieve\x20accessibility\x20results\x20(','rejected','Unknown\x20driver/page\x20type:\x20','fulfilled','SATKK','resolveMobileThTestRunUuid','Page','vODWY','aaWLP','VRJmw','All\x20accessibility\x20scan\x20attempts\x20failed\x20for\x20method:\x20','29003328TDNttl','evaluate','isMobilePlatform','manage','Operation\x20timed\x20out\x20after\x20','EHlSf','PERFORM_SCAN','error','message','3742640okUGRG','[Accessibility]\x20Scan\x20skipped\x20-\x20scanning\x20is\x20currently\x20disabled\x20(partial\x20scan\x20mode)','rDeJG','./helper','Playwright\x20accessibility\x20helper\x20not\x20available','defaultTimeoutMs','3eljdpN','Selenium\x20WebDriver\x20timeout\x20API\x20not\x20available,\x20skipping\x20timeout\x20setting','gbHfM','../globals','driverType','name','Comprehensive\x20accessibility\x20scan\x20failed\x20(','UQOXy','Unknown\x20error\x20during\x20comprehensive\x20accessibility\x20scan','xxOtD','LoEOJ','performComprehensiveAccessibilityScanWithRetry','RzZyr','SSDlf','performScan','AyoNu','getSession','ms\x20using\x20setTimeouts\x20API','Cannot\x20set\x20script\x20timeout:\x20not\x20a\x20Selenium\x20WebDriver','ceYDE','wofwZ','vCzxc','url','\x20failed\x20(','getInstance','Unknown\x20error','bstackA11yScanOptions','getAccessibilityResultsSummaryWithRetry','isAccessibilityPlatform','FGvpK','3484146nWMlui','results','sIuDc','LLVou','TVCcd','value','../../bin/v2/browserstackCLI','winstonLogger','ywsDE','agiMo','CGgSU','mGSDC','Gmcmh','IixQB','zBawU','Skipping\x20timeout\x20setting\x20for\x20','Accessibility\x20results\x20summary\x20retrieved\x20successfully\x20on\x20attempt\x20','JECJD','Accessibility\x20results\x20retrieval\x20attempt\x20','setDefaultTimeout','setPlaywrightScriptTimeout','accessibilityPlatform','BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT','ThfLz','isPlaywright','setTimeouts','zLHHY','\x20completed\x20successfully.','Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20','saveTestResults','HNWFQ','Accessibility\x20results\x20retrieved\x20successfully\x20on\x20attempt\x20','WtcSa','unknown','getAccessibilityResultsWithRetry','EniWT','ADqMN','Accessibility\x20results\x20save\x20attempt\x20',').\x20Last\x20error:\x20','getAccessibilityResults','isPlaywrightPage','is_mobile_session','timeouts','All\x20accessibility\x20results\x20retrieval\x20attempts\x20failed\x20(','getCurrentUrl','zlHeL','EvhMj','updateRetryConfig','OoUsn','knVir','../performance/constants','Scan\x20attempt\x20','QtHdG','currentTest','type','status','summary','UiLyL','ZoVgo','constructor','setScriptTimeout','ms\x20using\x20setScriptTimeout\x20API','stringify','TZMSd','gSzUu','assign','3514948ktIOTf','rgTuH',',\x20cannot\x20perform\x20scan\x20with\x20retry.','4807480SxeMVK','setSeleniumScriptTimeout','TpENr','iaTIm','./scripts','Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20','Ewwpp','pGqUK','sZiew','debug','NMbbb','KtpdI','options','61rOHqLl','Failed\x20to\x20set\x20Selenium\x20script\x20timeout:\x20','isSeleniumDriver','bstackA11yShouldScan','Accessibility\x20scan\x20succeeded\x20on\x20attempt\x20','UzjKK','browserStackEvaluate','getGlobal','1368cKSAPQ','isRunning','saveAccessibilityResultsWithRetry','):\x20','VRGxw','\x20failed\x20for\x20method:\x20','DKund',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary\x20with\x20retry.','\x20for\x20method:\x20','yDLJs','UHhoy','BHLYS','aoAyE','qLxQi','Rkpil','isAccessibilityAutomationSession','undefined',').\x20Error:\x20','executeAsyncScript','ms\x20using\x20timeouts()\x20API','Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20','hqCqE','page','warn','race','reason','UtKpw','info','../logger','playwright-codecept-driver','getRetryConfig','performScanWithRetry','function','ntTAo','frNiX','dZoJr','zXAtE','Failed\x20to\x20retrieve\x20accessibility\x20summary\x20(','Accessibility\x20scan\x20attempt\x20','getAccessibilityResultsSummary','maxRetries','selenium-webdriver'];a121_0x4eee=function(){return _0x218e11;};return a121_0x4eee();}const RETRY_CONFIG=a121_0x1791c9,setConfigTimeout=(_0x2f69ad,_0x2b6739=null)=>{const _0x247df7=a121_0x228b92,_0x1c081b={'RzZyr':function(_0x3792cb,_0x5cfc0d){return _0x3792cb===_0x5cfc0d;},'xxOtD':'scannerProcessingTimeout','LoEOJ':function(_0x4d06c8,_0x5ea75f){return _0x4d06c8*_0x5ea75f;},'sZiew':function(_0x20afae,_0x3d64c4){return _0x20afae(_0x3d64c4);}};if(BrowserstackCLI[_0x247df7(0x230)]()[_0x247df7(0x1c3)]()&&BrowserstackCLI[_0x247df7(0x230)]()['getAccessibilityModule']()){const _0x23e453=BrowserstackCLI[_0x247df7(0x230)]()['getAccessibilityModule']()['accessibilityConfig'],_0x1d30d9=_0x23e453[_0x247df7(0x1b9)][_0x247df7(0x1f6)]||[];for(const _0x1b2630 of _0x1d30d9){_0x1c081b[_0x247df7(0x224)](_0x1b2630['name'],_0x1c081b[_0x247df7(0x221)])&&_0x1c081b[_0x247df7(0x224)](_0x2b6739,null)&&(_0x2f69ad[_0x247df7(0x1ee)]=_0x1c081b[_0x247df7(0x222)](_0x1c081b['sZiew'](parseInt,_0x1b2630[_0x247df7(0x23b)]),0x3e8));}}else process['env'][_0x247df7(0x24c)]&&(_0x2f69ad[_0x247df7(0x1ee)]=_0x1c081b[_0x247df7(0x222)](_0x1c081b[_0x247df7(0x1b5)](parseInt,process[_0x247df7(0x1f4)][_0x247df7(0x24c)]),0x3e8));},detectDriverType=_0x532a59=>{const _0x4ecf33=a121_0x228b92,_0x4f2a6f={};_0x4f2a6f[_0x4ecf33(0x263)]=_0x4ecf33(0x257),_0x4f2a6f[_0x4ecf33(0x1fa)]=function(_0x493784,_0x117955){return _0x493784===_0x117955;},_0x4f2a6f[_0x4ecf33(0x1fc)]=_0x4ecf33(0x1e2),_0x4f2a6f[_0x4ecf33(0x254)]=function(_0x5b5a1a,_0x1d454f){return _0x5b5a1a===_0x1d454f;},_0x4f2a6f['UtKpw']='playwright-page',_0x4f2a6f[_0x4ecf33(0x243)]=function(_0x4b811f,_0x3a6cc8){return _0x4b811f===_0x3a6cc8;},_0x4f2a6f[_0x4ecf33(0x266)]=_0x4ecf33(0x1eb),_0x4f2a6f[_0x4ecf33(0x1a8)]=_0x4ecf33(0x204),_0x4f2a6f[_0x4ecf33(0x26a)]=function(_0x376f26,_0x1a22f6){return _0x376f26===_0x1a22f6;},_0x4f2a6f[_0x4ecf33(0x264)]='WebDriver',_0x4f2a6f[_0x4ecf33(0x207)]=function(_0x4c2c4e,_0x108c78){return _0x4c2c4e===_0x108c78;},_0x4f2a6f[_0x4ecf33(0x250)]='Playwright',_0x4f2a6f[_0x4ecf33(0x23f)]=_0x4ecf33(0x1df),_0x4f2a6f[_0x4ecf33(0x1f3)]=function(_0xb16c84,_0x5744bf){return _0xb16c84||_0x5744bf;},_0x4f2a6f[_0x4ecf33(0x206)]=_0x4ecf33(0x1d2);const _0x34ec31=_0x4f2a6f;if(!_0x532a59){const _0x5f2e7f={};return _0x5f2e7f[_0x4ecf33(0x24e)]=![],_0x5f2e7f[_0x4ecf33(0x26c)]=_0x34ec31[_0x4ecf33(0x263)],_0x5f2e7f;}if(_0x34ec31[_0x4ecf33(0x1fa)](typeof _0x532a59[_0x4ecf33(0x20a)],_0x34ec31[_0x4ecf33(0x1fc)])&&_0x34ec31['LgQsf'](typeof _0x532a59['url'],_0x34ec31[_0x4ecf33(0x1fc)])&&_0x34ec31['HNWFQ'](typeof _0x532a59[_0x4ecf33(0x1ef)],_0x34ec31[_0x4ecf33(0x1fc)])){const _0xcfc775={};return _0xcfc775[_0x4ecf33(0x24e)]=!![],_0xcfc775['type']=_0x34ec31[_0x4ecf33(0x1dc)],_0xcfc775;}if(_0x34ec31[_0x4ecf33(0x1fa)](typeof _0x532a59[_0x4ecf33(0x1d4)],_0x34ec31['uJEYx'])&&_0x34ec31[_0x4ecf33(0x243)](typeof _0x532a59['getCapabilities'],_0x34ec31[_0x4ecf33(0x1fc)])){const _0x33d4f8={};return _0x33d4f8['isPlaywright']=![],_0x33d4f8[_0x4ecf33(0x26c)]=_0x34ec31['OoUsn'],_0x33d4f8;}const _0x38695f=_0x532a59[_0x4ecf33(0x271)]?.[_0x4ecf33(0x21d)];if(_0x34ec31[_0x4ecf33(0x243)](_0x38695f,_0x34ec31[_0x4ecf33(0x1a8)])){const _0x420b07={};return _0x420b07[_0x4ecf33(0x24e)]=!![],_0x420b07[_0x4ecf33(0x26c)]=_0x34ec31[_0x4ecf33(0x1dc)],_0x420b07;}if(_0x34ec31['QtHdG'](_0x38695f,_0x34ec31[_0x4ecf33(0x264)])){const _0x3ec1c2={};return _0x3ec1c2[_0x4ecf33(0x24e)]=![],_0x3ec1c2[_0x4ecf33(0x26c)]=_0x34ec31[_0x4ecf33(0x266)],_0x3ec1c2;}if(_0x34ec31[_0x4ecf33(0x207)](_0x38695f,_0x34ec31[_0x4ecf33(0x250)])){const _0x15e51d={};return _0x15e51d['isPlaywright']=!![],_0x15e51d[_0x4ecf33(0x26c)]=_0x34ec31[_0x4ecf33(0x23f)],_0x15e51d;}logger[_0x4ecf33(0x1d9)](_0x4ecf33(0x200)+_0x34ec31[_0x4ecf33(0x1f3)](_0x38695f,_0x34ec31[_0x4ecf33(0x206)]));const _0x59a62b={};return _0x59a62b[_0x4ecf33(0x24e)]=![],_0x59a62b[_0x4ecf33(0x26c)]=_0x34ec31[_0x4ecf33(0x263)],_0x59a62b;},withTimeout=(_0x2aba20,_0x4cac1c)=>{const _0x35932=a121_0x228b92;return Promise[_0x35932(0x1da)]([_0x2aba20,new Promise((_0x245b65,_0x33d02a)=>setTimeout(()=>_0x33d02a(new Error(_0x35932(0x20d)+_0x4cac1c+'ms')),_0x4cac1c))]);};exports[a121_0x228b92(0x1e1)]=async(_0x1d0d1d,_0x2e2c35=null,_0x41fe5d=null,_0x527084=![],_0x212a05=null)=>{const _0x33bc69=a121_0x228b92,_0x41534e={'yDLJs':function(_0x57f36a,_0x2faeb7){return _0x57f36a&&_0x2faeb7;},'TpENr':function(_0x19f050,_0x56d30e,_0x4b9419){return _0x19f050(_0x56d30e,_0x4b9419);},'UiLyL':function(_0x1607ee,_0x1ac4e8){return _0x1607ee===_0x1ac4e8;},'UHhoy':'playwright-codecept-driver','ywsDE':function(_0x4e7545,_0x2962da,_0x3678fd){return _0x4e7545(_0x2962da,_0x3678fd);},'pGqUK':function(_0x2fa074,_0x19873e){return _0x2fa074(_0x19873e);},'mGSDC':function(_0x4fe398,_0x1f1a9a){return _0x4fe398||_0x1f1a9a;},'KtpdI':function(_0x1b6d42,_0x30b775){return _0x1b6d42!==_0x30b775;},'wofwZ':_0x33bc69(0x234),'Ewwpp':_0x33bc69(0x1bd),'LLVou':_0x33bc69(0x213),'knVir':'unknown_method','ViWQK':function(_0x346ec7,_0x3f92fb){return _0x346ec7===_0x3f92fb;},'EniWT':'function','iaTIm':function(_0x132036,_0x47e3de){return _0x132036<=_0x47e3de;},'cFSDb':function(_0x12db2b,_0x22162a){return _0x12db2b+_0x22162a;},'SATKK':function(_0x28d552,_0x50b0a0){return _0x28d552+_0x50b0a0;},'HukPg':_0x33bc69(0x231)},{isPlaywright:_0x4d5af5,type:_0x4fb7d6}=_0x41534e[_0x33bc69(0x1b4)](detectDriverType,_0x1d0d1d),_0x13b725=_0x527084?_0x41534e[_0x33bc69(0x241)](_0x212a05,{}):global[_0x33bc69(0x232)]||{},_0x306f08=_0x4d5af5?global['accessibilityPlatform']&&(_0x527084||_0x41534e[_0x33bc69(0x1b8)](global['bstackA11yShouldScan'],![])):accessibilityHelper[_0x33bc69(0x1d1)]()&&globals[_0x33bc69(0x1c1)](_0x41534e['wofwZ'])&&(_0x527084||_0x41534e[_0x33bc69(0x1b8)](globals['getGlobal'](_0x41534e[_0x33bc69(0x1b3)]),![]));if(!_0x306f08)return _0x4d5af5&&global[_0x33bc69(0x24b)]&&_0x41534e[_0x33bc69(0x26f)](global['bstackA11yShouldScan'],![])||!_0x4d5af5&&globals[_0x33bc69(0x1c1)](_0x41534e[_0x33bc69(0x22c)])&&_0x41534e[_0x33bc69(0x26f)](globals[_0x33bc69(0x1c1)](_0x41534e[_0x33bc69(0x1b3)]),![])?logger['debug'](_0x41534e[_0x33bc69(0x239)]):logger[_0x33bc69(0x1d9)](_0x33bc69(0x1d6)+_0x4fb7d6+_0x33bc69(0x1ac)),![];const _0x1ad06a=_0x2e2c35||global['browserstackSessionName']||_0x41534e[_0x33bc69(0x267)];let _0x3921bf=null;const _0x5406bf={'testhub_btcer_uuid':global['__workerDetails']?.[_0x33bc69(0x26b)]?.['id'],'url':_0x41534e[_0x33bc69(0x1fb)](typeof _0x1d0d1d[_0x33bc69(0x22e)],_0x41534e[_0x33bc69(0x259)])?await _0x1d0d1d['url']():_0x41534e['UiLyL'](typeof _0x1d0d1d[_0x33bc69(0x262)],_0x41534e[_0x33bc69(0x259)])?await _0x1d0d1d[_0x33bc69(0x262)]():'','automate_session_id':_0x41534e[_0x33bc69(0x1fb)](typeof _0x1d0d1d['getSession'],_0x41534e[_0x33bc69(0x259)])?(await _0x1d0d1d[_0x33bc69(0x228)]())['getId']():''};for(let _0x1141a0=0x1;_0x41534e[_0x33bc69(0x1b0)](_0x1141a0,_0x41534e['cFSDb'](RETRY_CONFIG[_0x33bc69(0x1ea)],0x1));_0x1141a0++){try{return logger[_0x33bc69(0x1b6)]('Accessibility\x20scan\x20attempt\x20'+_0x1141a0+'/'+_0x41534e[_0x33bc69(0x202)](RETRY_CONFIG[_0x33bc69(0x1ea)],0x1)+_0x33bc69(0x1ca)+_0x1ad06a+'\x20('+_0x4fb7d6+')'),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x33bc69(0x20f)],async()=>{const _0x2d944b=_0x33bc69;let _0x5d2bc1;if(_0x41534e[_0x2d944b(0x1cb)](_0x4d5af5,playwrightA11yHelper)){_0x41534e['TpENr'](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x2d944b(0x24a)](_0x1d0d1d,RETRY_CONFIG[_0x2d944b(0x1ee)]);let _0x430df4=_0x1d0d1d;_0x41534e[_0x2d944b(0x26f)](_0x4fb7d6,_0x41534e[_0x2d944b(0x1cc)])&&(_0x430df4=_0x1d0d1d[_0x2d944b(0x1d8)]);const _0x885bf8=global[_0x2d944b(0x20b)]?{'is_mobile_session':!![],'thTestRunUuid':accessibilityHelper[_0x2d944b(0x203)]()}:{};_0x5d2bc1=await _0x41534e[_0x2d944b(0x23e)](withTimeout,playwrightA11yHelper[_0x2d944b(0x226)](_0x430df4,_0x1ad06a,_0x13b725,_0x885bf8),RETRY_CONFIG[_0x2d944b(0x1ee)]),await exports[_0x2d944b(0x24a)](_0x1d0d1d,RETRY_CONFIG[_0x2d944b(0x217)]);}else await exports[_0x2d944b(0x1ae)](_0x1d0d1d,RETRY_CONFIG[_0x2d944b(0x1ee)]),_0x5d2bc1=await _0x41534e[_0x2d944b(0x1af)](withTimeout,accessibilityHelper[_0x2d944b(0x226)](_0x1d0d1d,_0x1ad06a,_0x527084,_0x13b725),RETRY_CONFIG[_0x2d944b(0x1ee)]),await exports[_0x2d944b(0x1ae)](_0x1d0d1d,RETRY_CONFIG[_0x2d944b(0x217)]);logger[_0x2d944b(0x1b6)](_0x2d944b(0x269)+_0x1141a0+_0x2d944b(0x251));},{'command':_0x1ad06a,..._0x5406bf})(),logger['info'](_0x33bc69(0x1be)+_0x1141a0+'.'),!![];}catch(_0x4ed888){_0x3921bf=_0x4ed888,logger['debug'](_0x33bc69(0x1e8)+_0x1141a0+_0x33bc69(0x1c7)+_0x1ad06a+'\x20('+_0x4fb7d6+_0x33bc69(0x1d3)+_0x4ed888['message']);}}return logger['error'](_0x33bc69(0x208)+_0x1ad06a+'\x20('+_0x4fb7d6+')\x20with\x20error:\x20'+(_0x3921bf?.[_0x33bc69(0x211)]||_0x41534e['HukPg'])),![];},exports['getAccessibilityResultsWithRetry']=async(_0x496f31,_0x5cc5df)=>{const _0x3351d0=a121_0x228b92,_0x442164={'gbHfM':function(_0x8b3674,_0x2f3176){return _0x8b3674(_0x2f3176);},'RYrHX':_0x3351d0(0x234),'CGgSU':function(_0x463680,_0x1d99fc){return _0x463680<=_0x1d99fc;},'vODWY':function(_0x245530,_0x375394){return _0x245530+_0x375394;},'Rsbzk':function(_0x12a49f,_0x32da02){return _0x12a49f+_0x32da02;},'ntTAo':function(_0x2d0031,_0x42c021){return _0x2d0031&&_0x42c021;},'ADqMN':function(_0x4a9a60,_0xade240,_0x49b111){return _0x4a9a60(_0xade240,_0x49b111);},'hqCqE':function(_0x277a36,_0x34241e,_0x1723c7){return _0x277a36(_0x34241e,_0x1723c7);},'dZoJr':_0x3351d0(0x231)},{isPlaywright:_0x15ceb4,type:_0x5b33f4}=_0x442164[_0x3351d0(0x21a)](detectDriverType,_0x496f31),_0x57954f=_0x15ceb4?_0x5cc5df['accessibilityPlatform']:accessibilityHelper[_0x3351d0(0x1d1)]()&&globals[_0x3351d0(0x1c1)](_0x442164[_0x3351d0(0x1f9)]);if(!_0x57954f)return logger[_0x3351d0(0x1d9)](_0x3351d0(0x1d6)+_0x5b33f4+',\x20cannot\x20retrieve\x20Accessibility\x20results\x20with\x20retry.'),[];let _0x27fb9c=null;for(let _0x313ff6=0x1;_0x442164[_0x3351d0(0x240)](_0x313ff6,_0x442164[_0x3351d0(0x205)](RETRY_CONFIG['maxRetries'],0x1));_0x313ff6++){try{logger[_0x3351d0(0x1b6)](_0x3351d0(0x248)+_0x313ff6+'/'+_0x442164['Rsbzk'](RETRY_CONFIG['maxRetries'],0x1)+'\x20('+_0x5b33f4+')');let _0x1b2e64;return _0x442164[_0x3351d0(0x1e3)](_0x15ceb4,playwrightA11yHelper)?(_0x442164[_0x3351d0(0x25a)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x3351d0(0x24a)](_0x496f31,RETRY_CONFIG[_0x3351d0(0x1ee)]),_0x1b2e64=await _0x442164[_0x3351d0(0x1d7)](withTimeout,playwrightA11yHelper[_0x3351d0(0x25d)](_0x496f31),RETRY_CONFIG[_0x3351d0(0x1ee)]),await exports[_0x3351d0(0x24a)](_0x496f31,RETRY_CONFIG[_0x3351d0(0x217)])):(await exports[_0x3351d0(0x1ae)](_0x496f31,RETRY_CONFIG[_0x3351d0(0x1ee)]),_0x1b2e64=await _0x442164[_0x3351d0(0x1d7)](withTimeout,accessibilityHelper[_0x3351d0(0x25d)](_0x496f31,_0x5cc5df),RETRY_CONFIG[_0x3351d0(0x1ee)]),await exports[_0x3351d0(0x1ae)](_0x496f31,RETRY_CONFIG[_0x3351d0(0x217)])),logger[_0x3351d0(0x1dd)](_0x3351d0(0x255)+_0x313ff6+'\x20('+_0x5b33f4+')'),_0x1b2e64;}catch(_0x318132){_0x27fb9c=_0x318132,logger['warn']('Accessibility\x20results\x20retrieval\x20attempt\x20'+_0x313ff6+_0x3351d0(0x22f)+_0x5b33f4+_0x3351d0(0x1d3)+_0x318132['message']);}}return logger[_0x3351d0(0x210)](_0x3351d0(0x261)+_0x5b33f4+_0x3351d0(0x25c)+(_0x27fb9c?.['message']||_0x442164[_0x3351d0(0x1e5)])),[];},exports[a121_0x228b92(0x233)]=async(_0x2e2512,_0x2b1066)=>{const _0x37f69a=a121_0x228b92,_0x242c6f={'DJEOD':function(_0x1651c2,_0x2c944d){return _0x1651c2(_0x2c944d);},'BHLYS':'isAccessibilityPlatform','Szeen':function(_0x4b85f4,_0x20f0a8){return _0x4b85f4<=_0x20f0a8;},'qLxQi':function(_0x48fb26,_0x460d5b){return _0x48fb26+_0x460d5b;},'UQOXy':function(_0x5b1f28,_0x4247aa){return _0x5b1f28+_0x4247aa;},'bmUHp':function(_0x28df58,_0x5c191b){return _0x28df58&&_0x5c191b;},'oMJKG':function(_0x3f23e6,_0x2daa1d,_0x44a233){return _0x3f23e6(_0x2daa1d,_0x44a233);},'AyoNu':function(_0x417f78,_0x452eff,_0x5dcdae){return _0x417f78(_0x452eff,_0x5dcdae);},'rgTuH':function(_0x5f205a,_0x17da63,_0x2da171){return _0x5f205a(_0x17da63,_0x2da171);},'UzjKK':'Unknown\x20error'},{isPlaywright:_0x55268b,type:_0x3176c7}=_0x242c6f['DJEOD'](detectDriverType,_0x2e2512),_0x44ce63=_0x55268b?_0x2b1066[_0x37f69a(0x24b)]:accessibilityHelper[_0x37f69a(0x1d1)]()&&globals['getGlobal'](_0x242c6f[_0x37f69a(0x1cd)]);if(!_0x44ce63)return logger[_0x37f69a(0x1d9)]('Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20'+_0x3176c7+_0x37f69a(0x1c9)),{};let _0x16b21f=null;for(let _0x178879=0x1;_0x242c6f['Szeen'](_0x178879,_0x242c6f[_0x37f69a(0x1cf)](RETRY_CONFIG[_0x37f69a(0x1ea)],0x1));_0x178879++){try{logger[_0x37f69a(0x1b6)]('Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20'+_0x178879+'/'+_0x242c6f[_0x37f69a(0x21f)](RETRY_CONFIG[_0x37f69a(0x1ea)],0x1)+'\x20('+_0x3176c7+')');let _0x18787b;return _0x242c6f['bmUHp'](_0x55268b,playwrightA11yHelper)?(_0x242c6f['oMJKG'](setConfigTimeout,RETRY_CONFIG,null),await exports['setPlaywrightScriptTimeout'](_0x2e2512,RETRY_CONFIG['timeoutMs']),_0x18787b=await _0x242c6f[_0x37f69a(0x227)](withTimeout,playwrightA11yHelper[_0x37f69a(0x1e9)](_0x2e2512),RETRY_CONFIG['timeoutMs']),await exports[_0x37f69a(0x24a)](_0x2e2512,RETRY_CONFIG['defaultTimeoutMs'])):(await exports['setSeleniumScriptTimeout'](_0x2e2512,RETRY_CONFIG[_0x37f69a(0x1ee)]),_0x18787b=await _0x242c6f[_0x37f69a(0x1ab)](withTimeout,accessibilityHelper[_0x37f69a(0x1e9)](_0x2e2512,_0x2b1066),RETRY_CONFIG['timeoutMs']),await exports[_0x37f69a(0x1ae)](_0x2e2512,RETRY_CONFIG['defaultTimeoutMs'])),logger[_0x37f69a(0x1dd)](_0x37f69a(0x246)+_0x178879+'\x20('+_0x3176c7+')'),_0x18787b;}catch(_0x474a4d){_0x16b21f=_0x474a4d,logger[_0x37f69a(0x1d9)](_0x37f69a(0x1b2)+_0x178879+_0x37f69a(0x22f)+_0x3176c7+_0x37f69a(0x1d3)+_0x474a4d['message']);}}return logger[_0x37f69a(0x210)]('All\x20accessibility\x20results\x20summary\x20retrieval\x20attempts\x20failed\x20('+_0x3176c7+_0x37f69a(0x25c)+(_0x16b21f?.[_0x37f69a(0x211)]||_0x242c6f[_0x37f69a(0x1bf)])),{};},exports[a121_0x228b92(0x223)]=async(_0x3d8c50,_0x26f5ab,_0xa7a3d1=null)=>{const _0x568fc6=a121_0x228b92,_0x24a453={'frNiX':function(_0x3a6fb9,_0x37ef2f){return _0x3a6fb9(_0x37ef2f);},'zBawU':function(_0x54f17b,_0x596589){return _0x54f17b===_0x596589;},'JECJD':_0x568fc6(0x201),'xPKPr':_0x568fc6(0x1ff),'VRGxw':_0x568fc6(0x220)},{isPlaywright:_0xe4d942,type:_0x244945}=_0x24a453[_0x568fc6(0x1e4)](detectDriverType,_0x3d8c50),_0x54da9d={};_0x54da9d[_0x568fc6(0x1f2)]=![],_0x54da9d['results']=[],_0x54da9d['summary']={},_0x54da9d['error']=null,_0x54da9d[_0x568fc6(0x21c)]=_0x244945;const _0x2f40f1=_0x54da9d;try{_0x2f40f1[_0x568fc6(0x1f2)]=await exports['performScanWithRetry'](_0x3d8c50,_0xa7a3d1);if(_0x2f40f1[_0x568fc6(0x1f2)]){const [_0x329b88,_0x1d0236]=await Promise['allSettled']([exports[_0x568fc6(0x258)](_0x3d8c50,_0x26f5ab),exports['getAccessibilityResultsSummaryWithRetry'](_0x3d8c50,_0x26f5ab)]);_0x2f40f1[_0x568fc6(0x237)]=_0x24a453[_0x568fc6(0x244)](_0x329b88[_0x568fc6(0x26d)],_0x24a453[_0x568fc6(0x247)])?_0x329b88[_0x568fc6(0x23b)]:[],_0x2f40f1[_0x568fc6(0x26e)]=_0x24a453[_0x568fc6(0x244)](_0x1d0236[_0x568fc6(0x26d)],_0x24a453[_0x568fc6(0x247)])?_0x1d0236[_0x568fc6(0x23b)]:{},_0x24a453[_0x568fc6(0x244)](_0x329b88[_0x568fc6(0x26d)],_0x24a453['xPKPr'])&&logger[_0x568fc6(0x1d9)](_0x568fc6(0x1fe)+_0x244945+'):\x20'+_0x329b88[_0x568fc6(0x1db)]?.[_0x568fc6(0x211)]),_0x24a453[_0x568fc6(0x244)](_0x1d0236[_0x568fc6(0x26d)],_0x24a453[_0x568fc6(0x1f0)])&&logger['warn'](_0x568fc6(0x1e7)+_0x244945+_0x568fc6(0x1c5)+_0x1d0236[_0x568fc6(0x1db)]?.[_0x568fc6(0x211)]);}}catch(_0x446255){_0x2f40f1[_0x568fc6(0x210)]=_0x446255[_0x568fc6(0x211)]||_0x24a453[_0x568fc6(0x1c6)],logger[_0x568fc6(0x210)](_0x568fc6(0x21e)+_0x244945+'):\x20'+_0x2f40f1[_0x568fc6(0x210)]);}return _0x2f40f1;},exports[a121_0x228b92(0x265)]=_0x85080=>{const _0x3278a6=a121_0x228b92,_0x189ba1={};_0x189ba1[_0x3278a6(0x1f5)]=function(_0x3114ec,_0xaeb47a){return _0x3114ec!==_0xaeb47a;};const _0x225bf5=_0x189ba1;_0x225bf5[_0x3278a6(0x1f5)](_0x85080[_0x3278a6(0x1ea)],undefined)&&(RETRY_CONFIG[_0x3278a6(0x1ea)]=Math[_0x3278a6(0x1f7)](0x0,_0x85080[_0x3278a6(0x1ea)])),_0x225bf5['GXDvl'](_0x85080[_0x3278a6(0x1ee)],undefined)&&(RETRY_CONFIG[_0x3278a6(0x1ee)]=Math[_0x3278a6(0x1f7)](0x3e8,_0x85080['timeoutMs'])),logger[_0x3278a6(0x1b6)]('Accessibility\x20retry\x20configuration\x20updated:\x20'+JSON[_0x3278a6(0x1a6)](RETRY_CONFIG));},exports[a121_0x228b92(0x1e0)]=()=>{const _0x5961d2={...RETRY_CONFIG};return _0x5961d2;},exports[a121_0x228b92(0x25e)]=_0x5310c9=>{const _0x19381a={'ZindY':function(_0x3f0155,_0x1f7e7b){return _0x3f0155(_0x1f7e7b);}};return _0x19381a['ZindY'](detectDriverType,_0x5310c9)['isPlaywright'];},exports[a121_0x228b92(0x1bc)]=_0x2f7587=>{const _0x426483=a121_0x228b92,_0x8f1d72={'WtcSa':function(_0xe1e7cc,_0x26e65b){return _0xe1e7cc(_0x26e65b);},'lLUAM':function(_0x464710,_0xeee317){return _0x464710===_0xeee317;},'TVCcd':'selenium-webdriver'},{isPlaywright:_0x2f25c0,type:_0x479c43}=_0x8f1d72[_0x426483(0x256)](detectDriverType,_0x2f7587);return!_0x2f25c0&&_0x8f1d72['lLUAM'](_0x479c43,_0x8f1d72[_0x426483(0x23a)]);},exports[a121_0x228b92(0x24a)]=async(_0x55a5ac,_0x497045=null)=>{const _0x21af64=a121_0x228b92,_0x91657e={'Gmcmh':function(_0x50053d,_0x44ff91){return _0x50053d(_0x44ff91);},'rDeJG':function(_0xd6283e,_0x4f2916){return _0xd6283e===_0x4f2916;},'DKund':_0x21af64(0x1e2)},{isPlaywright:_0x30f629,type:_0x230e35}=_0x91657e[_0x21af64(0x242)](detectDriverType,_0x55a5ac);if(!_0x30f629)return logger[_0x21af64(0x1b6)](_0x21af64(0x245)+_0x230e35+_0x21af64(0x1ed)),!![];const _0x4595a0=_0x497045||RETRY_CONFIG['defaultTimeoutMs'];try{return _0x55a5ac&&_0x91657e[_0x21af64(0x214)](typeof _0x55a5ac[_0x21af64(0x249)],_0x91657e[_0x21af64(0x1c8)])&&(await _0x55a5ac[_0x21af64(0x249)](_0x4595a0),logger['debug']('Set\x20Playwright\x20page\x20default\x20timeout\x20to\x20'+_0x4595a0+'ms')),!![];}catch(_0x2e6580){return logger[_0x21af64(0x1d9)]('Failed\x20to\x20set\x20Playwright\x20script\x20timeout:\x20'+_0x2e6580[_0x21af64(0x211)]),![];}},exports[a121_0x228b92(0x1ae)]=async(_0xa1039,_0x134283=null)=>{const _0x351018=a121_0x228b92,_0x2c0c85={};_0x2c0c85['ZoVgo']=_0x351018(0x22a),_0x2c0c85[_0x351018(0x1a7)]=function(_0xb1108b,_0x3a6bb7){return _0xb1108b===_0x3a6bb7;},_0x2c0c85[_0x351018(0x1ec)]=_0x351018(0x1e2),_0x2c0c85[_0x351018(0x1b7)]=function(_0x5ef7fd,_0x195667){return _0x5ef7fd===_0x195667;},_0x2c0c85[_0x351018(0x235)]=function(_0xdbde28,_0x5e7f44){return _0xdbde28===_0x5e7f44;},_0x2c0c85[_0x351018(0x1e6)]=_0x351018(0x219),_0x2c0c85[_0x351018(0x225)]='Selenium\x20WebDriver\x20manage()\x20method\x20not\x20available,\x20skipping\x20timeout\x20setting';const _0xd7006d=_0x2c0c85;if(!exports['isSeleniumDriver'](_0xa1039))return logger[_0x351018(0x1d9)](_0xd7006d[_0x351018(0x270)]),![];const _0x220bcd=_0x134283||RETRY_CONFIG[_0x351018(0x217)];try{if(_0xa1039&&_0xd7006d[_0x351018(0x1a7)](typeof _0xa1039[_0x351018(0x20c)],_0xd7006d[_0x351018(0x1ec)])){const _0x40fe89=_0xa1039['manage']();if(_0x40fe89&&_0xd7006d[_0x351018(0x1b7)](typeof _0x40fe89[_0x351018(0x260)],_0xd7006d[_0x351018(0x1ec)]))await _0x40fe89['timeouts']()[_0x351018(0x272)](_0x220bcd),logger[_0x351018(0x1b6)](_0x351018(0x252)+_0x220bcd+_0x351018(0x1d5));else{if(_0x40fe89&&_0xd7006d[_0x351018(0x1b7)](typeof _0x40fe89[_0x351018(0x24f)],_0xd7006d[_0x351018(0x1ec)])){const _0x5a9d9a={};_0x5a9d9a['script']=_0x220bcd,await _0x40fe89[_0x351018(0x24f)](_0x5a9d9a),logger[_0x351018(0x1b6)](_0x351018(0x252)+_0x220bcd+_0x351018(0x229));}else{if(_0x40fe89&&_0xd7006d[_0x351018(0x235)](typeof _0x40fe89[_0x351018(0x272)],_0xd7006d['KlYgG']))await _0x40fe89['setScriptTimeout'](_0x220bcd),logger[_0x351018(0x1b6)](_0x351018(0x252)+_0x220bcd+_0x351018(0x1a5));else return logger[_0x351018(0x1b6)](_0xd7006d['zXAtE']),!![];}}}else return logger['debug'](_0xd7006d[_0x351018(0x225)]),!![];return!![];}catch(_0x590a58){return logger[_0x351018(0x1d9)](_0x351018(0x1bb)+_0x590a58['message']),![];}},exports[a121_0x228b92(0x1c4)]=async(_0x312c3f,_0x5bee6c)=>{const _0x18cbcd=a121_0x228b92,_0x4bb566={'EHlSf':function(_0x151e28,_0x3734b2){return _0x151e28(_0x3734b2);},'aoAyE':_0x18cbcd(0x234),'ceYDE':function(_0x40d8b4,_0x2f556d){return _0x40d8b4<=_0x2f556d;},'sIuDc':function(_0x9fa37a,_0x4709bd){return _0x9fa37a+_0x4709bd;},'rOOqv':function(_0x8e6a5e,_0xee6e2b){return _0x8e6a5e&&_0xee6e2b;},'ThfLz':function(_0x554463,_0x5d0143,_0x3b9254){return _0x554463(_0x5d0143,_0x3b9254);},'dzhOl':function(_0x49ba2d,_0x5645d2,_0x3c4d4b){return _0x49ba2d(_0x5645d2,_0x3c4d4b);},'Rkpil':_0x18cbcd(0x20b),'vCzxc':function(_0x26fa1a,_0x322203,_0xf9a06b){return _0x26fa1a(_0x322203,_0xf9a06b);},'SPaTV':_0x18cbcd(0x231)},{isPlaywright:_0x3e5fec,type:_0x3fe004}=_0x4bb566[_0x18cbcd(0x20e)](detectDriverType,_0x312c3f),_0x5d7a4a=_0x3e5fec?global[_0x18cbcd(0x24b)]:accessibilityHelper['isAccessibilityAutomationSession']()&&globals[_0x18cbcd(0x1c1)](_0x4bb566[_0x18cbcd(0x1ce)]);if(!_0x5d7a4a)return logger[_0x18cbcd(0x1d9)](_0x18cbcd(0x1d6)+_0x3fe004+',\x20cannot\x20save\x20accessibility\x20results\x20with\x20retry.'),![];let _0x42b398=null;for(let _0x1063af=0x1;_0x4bb566[_0x18cbcd(0x22b)](_0x1063af,_0x4bb566[_0x18cbcd(0x238)](RETRY_CONFIG[_0x18cbcd(0x1ea)],0x1));_0x1063af++){try{logger[_0x18cbcd(0x1b6)](_0x18cbcd(0x25b)+_0x1063af+'/'+_0x4bb566[_0x18cbcd(0x238)](RETRY_CONFIG[_0x18cbcd(0x1ea)],0x1)+'\x20('+_0x3fe004+')');if(_0x4bb566[_0x18cbcd(0x1f1)](_0x3e5fec,playwrightA11yHelper)){_0x4bb566[_0x18cbcd(0x24d)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x18cbcd(0x24a)](_0x312c3f,RETRY_CONFIG['timeoutMs']);const _0x504e50={};_0x504e50[_0x18cbcd(0x25f)]=!![];const _0x3152d8=global[_0x18cbcd(0x20b)]?Object[_0x18cbcd(0x1a9)]({},_0x5bee6c,_0x504e50):_0x5bee6c;await _0x4bb566['dzhOl'](withTimeout,playwrightA11yHelper[_0x18cbcd(0x1c0)](_0x312c3f,scripts[_0x18cbcd(0x253)],_0x3152d8),RETRY_CONFIG[_0x18cbcd(0x1ee)]),await exports['setPlaywrightScriptTimeout'](_0x312c3f,RETRY_CONFIG['defaultTimeoutMs']);}else{await exports[_0x18cbcd(0x1ae)](_0x312c3f,RETRY_CONFIG[_0x18cbcd(0x1ee)]);const _0x5bc218={};_0x5bc218['is_mobile_session']=!![];const _0xb30ac2=globals[_0x18cbcd(0x1c1)](_0x4bb566[_0x18cbcd(0x1d0)])?Object[_0x18cbcd(0x1a9)]({},_0x5bee6c,_0x5bc218):_0x5bee6c;await _0x4bb566[_0x18cbcd(0x22d)](withTimeout,_0x312c3f['executeAsyncScript'](scripts[_0x18cbcd(0x253)],_0xb30ac2),RETRY_CONFIG['timeoutMs']),await exports[_0x18cbcd(0x1ae)](_0x312c3f,RETRY_CONFIG['defaultTimeoutMs']);}return logger['info']('Accessibility\x20results\x20saved\x20successfully\x20on\x20attempt\x20'+_0x1063af+'\x20('+_0x3fe004+')'),!![];}catch(_0x45a1f3){_0x42b398=_0x45a1f3,logger['warn'](_0x18cbcd(0x25b)+_0x1063af+_0x18cbcd(0x22f)+_0x3fe004+').\x20Error:\x20'+_0x45a1f3['message']);}}return logger[_0x18cbcd(0x210)](_0x18cbcd(0x1fd)+_0x3fe004+_0x18cbcd(0x25c)+(_0x42b398?.['message']||_0x4bb566['SPaTV'])),![];};
|
|
1
|
+
const a121_0x2fbb77=a121_0x5d35;(function(_0x29d44d,_0x201bb2){const _0x7f4c46=a121_0x5d35,_0x5d81ab=_0x29d44d();while(!![]){try{const _0x5c197b=-parseInt(_0x7f4c46(0x108))/0x1*(-parseInt(_0x7f4c46(0xe3))/0x2)+parseInt(_0x7f4c46(0xd3))/0x3*(parseInt(_0x7f4c46(0x149))/0x4)+parseInt(_0x7f4c46(0x138))/0x5*(parseInt(_0x7f4c46(0x13f))/0x6)+parseInt(_0x7f4c46(0x15c))/0x7+-parseInt(_0x7f4c46(0x137))/0x8+parseInt(_0x7f4c46(0x173))/0x9+-parseInt(_0x7f4c46(0x122))/0xa;if(_0x5c197b===_0x201bb2)break;else _0x5d81ab['push'](_0x5d81ab['shift']());}catch(_0x3c8bfb){_0x5d81ab['push'](_0x5d81ab['shift']());}}}(a121_0x2f20,0xb0b47));const util=require(a121_0x2fbb77(0x110)),logger=require(a121_0x2fbb77(0xcd))[a121_0x2fbb77(0x120)],accessibilityHelper=require(a121_0x2fbb77(0x153)),globals=require('../globals'),scripts=require(a121_0x2fbb77(0xe4)),PerformanceTester=require(a121_0x2fbb77(0x105)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a121_0x2fbb77(0xe1)),BrowserstackCLI=require(a121_0x2fbb77(0x10e));let playwrightA11yHelper=null;function a121_0x2f20(){const _0x302623=['LGqVN','function','rtVvE','Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20','zuncF','kemxq','Accessibility\x20scan\x20attempt\x20','getAccessibilityResultsSummaryWithRetry','summary','isSeleniumDriver','sJzEm','IuIYx','dyRNr','IByKJ','ihPFQ','assign','defaultTimeoutMs','tpBJw',',\x20cannot\x20save\x20accessibility\x20results\x20with\x20retry.','kIMSD','LFOMf','max','WebDriver','[Accessibility]\x20Scan\x20skipped\x20-\x20scanning\x20is\x20currently\x20disabled\x20(partial\x20scan\x20mode)','RSQXB','YiBJy','Skipping\x20timeout\x20setting\x20for\x20','unknown_method','../logger','nRRpo','YmniK','aAtLD','__workerDetails','Accessibility\x20results\x20retrieval\x20attempt\x20','15297jlkrFv','setDefaultTimeout','type','accessibilityConfig','fCHSi','Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20','getAccessibilityResultsWithRetry','setPlaywrightScriptTimeout','timeouts','zGIEO','timeoutMs','isAccessibilityPlatform','performComprehensiveAccessibilityScanWithRetry','sZJfw','../performance/constants','All\x20accessibility\x20results\x20retrieval\x20attempts\x20failed\x20(','1594330VcQfDV','./scripts','setScriptTimeout','sGwDX','maxRetries','undefined','executeAsyncScript','selenium-webdriver',')\x20with\x20error:\x20','cXmxP','playwright-codecept-driver','isRunning','Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20','wJUhD','allSettled','value','iAMnN','SEyBK','BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT','debug','All\x20accessibility\x20results\x20summary\x20retrieval\x20attempts\x20failed\x20(','evaluate','HzrKi','ABWFn','FlZnM','iRQXY','ahTrp','lQJtr','reason','tfzAj','isMobilePlatform','bstackA11yShouldScan','FgXeU','goto','../performance/performance-tester','GjpEt','options','1NfoLKH','hymOl','HxHai','Failed\x20to\x20set\x20Selenium\x20script\x20timeout:\x20','rWhpE','getInstance','../../bin/v2/browserstackCLI','manage','util','\x20completed\x20successfully.','pQVby','Accessibility\x20results\x20save\x20attempt\x20','Failed\x20to\x20retrieve\x20accessibility\x20summary\x20(','is_mobile_session','Selenium\x20WebDriver\x20manage()\x20method\x20not\x20available,\x20skipping\x20timeout\x20setting','WzsoD','saveTestResults','browserStackEvaluate','stringify','accessibilityPlatform','currentTest','KQWaO','kuFzS','GCOpE','winstonLogger','getRetryConfig','21365170MhBYCa','getSession','getGlobal','fJqnQ','message','fulfilled','Playwright',').\x20Last\x20error:\x20','mxEVk','constructor','resolveMobileThTestRunUuid','results','TScJg','getAccessibilityResults','error','XvGfl','../../bin/playwright/accessibility-helper','info','gJnmE','name','xKSRy','9517432VoVbtA','1525685PobLmN','mlKyK','env','measureWrapper','uaQfi','uPGUY','Comprehensive\x20accessibility\x20scan\x20failed\x20(','24UFUYov','MoUoZ','UqLRE','url','getAccessibilityResultsSummary','isAccessibilityAutomationSession','iiecj','Failed\x20to\x20set\x20Playwright\x20script\x20timeout:\x20','playwright-page','\x20failed\x20(','724cYZKvw','Cannot\x20set\x20script\x20timeout:\x20not\x20a\x20Selenium\x20WebDriver','Operation\x20timed\x20out\x20after\x20','SGWsh','Unknown\x20driver/page\x20type:\x20','UmpfN','):\x20','isPlaywright','setSeleniumScriptTimeout','zjSNc','./helper','getId','Page','scannerProcessingTimeout','ZncwB','dfdQZ','saveAccessibilityResultsWithRetry','TeyUg','capabilitiesList','3315151aHhfVA','HgEvL','warn','wOuxT','dpNts','Accessibility\x20scan\x20succeeded\x20on\x20attempt\x20','Kazou','performScanWithRetry','isPlaywrightPage','driverType','race','All\x20accessibility\x20results\x20save\x20attempts\x20failed\x20(','getAccessibilityModule','UoJwk','etHEq',').\x20Error:\x20','Unknown\x20error','BfNMm','HEDCc','LRuUS','EkaBY','xtPtU','ENDuy','5721786vmbmxu','ms\x20using\x20timeouts()\x20API','scanSucceeded','setTimeouts','Scan\x20attempt\x20','getCapabilities','getCurrentUrl','LyXrw','status','unknown'];a121_0x2f20=function(){return _0x302623;};return a121_0x2f20();}try{playwrightA11yHelper=require(a121_0x2fbb77(0x132));}catch(a121_0x434d35){logger[a121_0x2fbb77(0xf6)]('Playwright\x20accessibility\x20helper\x20not\x20available');}const a121_0x398789={};function a121_0x5d35(_0x178246,_0x425afb){const _0x2f204f=a121_0x2f20();return a121_0x5d35=function(_0x5d35f3,_0x231365){_0x5d35f3=_0x5d35f3-0xc5;let _0x549c75=_0x2f204f[_0x5d35f3];return _0x549c75;},a121_0x5d35(_0x178246,_0x425afb);}a121_0x398789[a121_0x2fbb77(0xe7)]=0x1,a121_0x398789[a121_0x2fbb77(0xdd)]=0x7530,a121_0x398789[a121_0x2fbb77(0x18d)]=0x7530;const RETRY_CONFIG=a121_0x398789,setConfigTimeout=(_0x4d10d7,_0x308cc8=null)=>{const _0x17c3c4=a121_0x2fbb77,_0x111398={'cXmxP':function(_0x30e36b,_0x337ce5){return _0x30e36b===_0x337ce5;},'HEDCc':_0x17c3c4(0x156),'IuIYx':function(_0x345eed,_0x4572b2){return _0x345eed*_0x4572b2;},'LFOMf':function(_0x3762be,_0x4233ed){return _0x3762be(_0x4233ed);},'UqLRE':function(_0x47b220,_0x30f003){return _0x47b220*_0x30f003;},'RSQXB':function(_0x3989b1,_0xe9ab90){return _0x3989b1(_0xe9ab90);}};if(BrowserstackCLI[_0x17c3c4(0x10d)]()[_0x17c3c4(0xee)]()&&BrowserstackCLI['getInstance']()[_0x17c3c4(0x168)]()){const _0x4a53fd=BrowserstackCLI['getInstance']()[_0x17c3c4(0x168)]()[_0x17c3c4(0xd6)],_0x435b46=_0x4a53fd[_0x17c3c4(0x107)][_0x17c3c4(0x15b)]||[];for(const _0x514b82 of _0x435b46){_0x111398[_0x17c3c4(0xec)](_0x514b82[_0x17c3c4(0x135)],_0x111398[_0x17c3c4(0x16e)])&&_0x111398[_0x17c3c4(0xec)](_0x308cc8,null)&&(_0x4d10d7[_0x17c3c4(0xdd)]=_0x111398[_0x17c3c4(0x188)](_0x111398[_0x17c3c4(0xc5)](parseInt,_0x514b82['value']),0x3e8));}}else process['env'][_0x17c3c4(0xf5)]&&(_0x4d10d7[_0x17c3c4(0xdd)]=_0x111398[_0x17c3c4(0x141)](_0x111398[_0x17c3c4(0xc9)](parseInt,process[_0x17c3c4(0x13a)][_0x17c3c4(0xf5)]),0x3e8));},detectDriverType=_0x24276d=>{const _0x7714ef=a121_0x2fbb77,_0x3580eb={};_0x3580eb[_0x7714ef(0xf4)]=_0x7714ef(0x17c),_0x3580eb[_0x7714ef(0x15f)]=function(_0x48dfc8,_0x1819cd){return _0x48dfc8===_0x1819cd;},_0x3580eb[_0x7714ef(0xfa)]=_0x7714ef(0x17e),_0x3580eb['HgEvL']=function(_0x45c9a2,_0x2f6552){return _0x45c9a2===_0x2f6552;},_0x3580eb[_0x7714ef(0x100)]=_0x7714ef(0x147),_0x3580eb[_0x7714ef(0xce)]=function(_0x3edc53,_0x4459c4){return _0x3edc53===_0x4459c4;},_0x3580eb[_0x7714ef(0x182)]=_0x7714ef(0xea),_0x3580eb[_0x7714ef(0x117)]=_0x7714ef(0x155),_0x3580eb[_0x7714ef(0x125)]=function(_0x20ad28,_0x26e407){return _0x20ad28===_0x26e407;},_0x3580eb[_0x7714ef(0x189)]=_0x7714ef(0xc7),_0x3580eb[_0x7714ef(0x134)]=_0x7714ef(0x128),_0x3580eb[_0x7714ef(0x18a)]=_0x7714ef(0xed),_0x3580eb['uHaNd']=function(_0x149ee0,_0x3621b2){return _0x149ee0||_0x3621b2;},_0x3580eb[_0x7714ef(0x18b)]=_0x7714ef(0xe8);const _0x5cdebf=_0x3580eb;if(!_0x24276d){const _0x48309f={};return _0x48309f[_0x7714ef(0x150)]=![],_0x48309f[_0x7714ef(0xd5)]=_0x5cdebf[_0x7714ef(0xf4)],_0x48309f;}if(_0x5cdebf['wOuxT'](typeof _0x24276d[_0x7714ef(0xf8)],_0x5cdebf[_0x7714ef(0xfa)])&&_0x5cdebf[_0x7714ef(0x15d)](typeof _0x24276d[_0x7714ef(0x142)],_0x5cdebf[_0x7714ef(0xfa)])&&_0x5cdebf[_0x7714ef(0x15d)](typeof _0x24276d[_0x7714ef(0x104)],_0x5cdebf[_0x7714ef(0xfa)])){const _0x5c27f1={};return _0x5c27f1[_0x7714ef(0x150)]=!![],_0x5c27f1[_0x7714ef(0xd5)]=_0x5cdebf[_0x7714ef(0x100)],_0x5c27f1;}if(_0x5cdebf[_0x7714ef(0xce)](typeof _0x24276d[_0x7714ef(0xe9)],_0x5cdebf[_0x7714ef(0xfa)])&&_0x5cdebf[_0x7714ef(0x15d)](typeof _0x24276d[_0x7714ef(0x178)],_0x5cdebf['ABWFn'])){const _0xb200d0={};return _0xb200d0['isPlaywright']=![],_0xb200d0['type']=_0x5cdebf[_0x7714ef(0x182)],_0xb200d0;}const _0x416ff2=_0x24276d[_0x7714ef(0x12b)]?.[_0x7714ef(0x135)];if(_0x5cdebf[_0x7714ef(0xce)](_0x416ff2,_0x5cdebf['WzsoD'])){const _0x2f9c0d={};return _0x2f9c0d[_0x7714ef(0x150)]=!![],_0x2f9c0d['type']=_0x5cdebf[_0x7714ef(0x100)],_0x2f9c0d;}if(_0x5cdebf[_0x7714ef(0x125)](_0x416ff2,_0x5cdebf[_0x7714ef(0x189)])){const _0x10792e={};return _0x10792e['isPlaywright']=![],_0x10792e[_0x7714ef(0xd5)]=_0x5cdebf[_0x7714ef(0x182)],_0x10792e;}if(_0x5cdebf['HgEvL'](_0x416ff2,_0x5cdebf[_0x7714ef(0x134)])){const _0x1d5b29={};return _0x1d5b29['isPlaywright']=!![],_0x1d5b29[_0x7714ef(0xd5)]=_0x5cdebf[_0x7714ef(0x18a)],_0x1d5b29;}logger['warn'](_0x7714ef(0x14d)+_0x5cdebf['uHaNd'](_0x416ff2,_0x5cdebf[_0x7714ef(0x18b)]));const _0x2e20f4={};return _0x2e20f4['isPlaywright']=![],_0x2e20f4[_0x7714ef(0xd5)]=_0x5cdebf['SEyBK'],_0x2e20f4;},withTimeout=(_0x9041fb,_0x4058ad)=>{const _0x3b5240=a121_0x2fbb77;return Promise[_0x3b5240(0x166)]([_0x9041fb,new Promise((_0x4e8cd2,_0xa2fff7)=>setTimeout(()=>_0xa2fff7(new Error(_0x3b5240(0x14b)+_0x4058ad+'ms')),_0x4058ad))]);};exports['performScanWithRetry']=async(_0x3a3b68,_0x377887=null,_0x43a192=null,_0x32db2b=![],_0x877274=null)=>{const _0x40ca59=a121_0x2fbb77,_0x1af6e8={'GCOpE':function(_0x472151,_0x390e62){return _0x472151&&_0x390e62;},'dfdQZ':function(_0x3860b1,_0x1356cd,_0x50779e){return _0x3860b1(_0x1356cd,_0x50779e);},'tpBJw':function(_0x2f3222,_0x2fb2a4){return _0x2f3222===_0x2fb2a4;},'TbycI':_0x40ca59(0xed),'KQWaO':function(_0x4ca60f,_0x2d77dc,_0x190436){return _0x4ca60f(_0x2d77dc,_0x190436);},'bfUPx':function(_0x25eed7,_0x5d857e){return _0x25eed7(_0x5d857e);},'sGwDX':function(_0x5bb25e,_0x54b4be){return _0x5bb25e||_0x54b4be;},'XvGfl':function(_0x43b01a,_0x56f95b){return _0x43b01a!==_0x56f95b;},'HzrKi':'isAccessibilityPlatform','iRQXY':function(_0x12c218,_0x409a83){return _0x12c218!==_0x409a83;},'LyXrw':_0x40ca59(0x102),'mlKyK':function(_0x3554b4,_0x58ad89){return _0x3554b4===_0x58ad89;},'dkaTj':function(_0x4faf9e,_0x3ec75a){return _0x4faf9e===_0x3ec75a;},'hymOl':_0x40ca59(0xc8),'mxEVk':_0x40ca59(0xcc),'FgXeU':_0x40ca59(0x17e),'pQrzQ':function(_0xa96622,_0x3faaab){return _0xa96622===_0x3faaab;},'MoUoZ':function(_0xe81d61,_0x56f51b){return _0xe81d61===_0x56f51b;},'pQVby':function(_0x196233,_0x3a8824){return _0x196233<=_0x3a8824;},'kuFzS':function(_0x5c7691,_0x263f21){return _0x5c7691+_0x263f21;},'NJmPo':'Unknown\x20error'},{isPlaywright:_0x3ae1da,type:_0x136dcd}=_0x1af6e8['bfUPx'](detectDriverType,_0x3a3b68),_0x4180bd=_0x32db2b?_0x1af6e8[_0x40ca59(0xe6)](_0x877274,{}):global['bstackA11yScanOptions']||{},_0x55062c=_0x3ae1da?global[_0x40ca59(0x11b)]&&(_0x32db2b||_0x1af6e8[_0x40ca59(0x131)](global['bstackA11yShouldScan'],![])):accessibilityHelper[_0x40ca59(0x144)]()&&globals[_0x40ca59(0x124)](_0x1af6e8[_0x40ca59(0xf9)])&&(_0x32db2b||_0x1af6e8[_0x40ca59(0xfc)](globals[_0x40ca59(0x124)](_0x1af6e8[_0x40ca59(0x17a)]),![]));if(!_0x55062c)return _0x3ae1da&&global['accessibilityPlatform']&&_0x1af6e8[_0x40ca59(0x139)](global['bstackA11yShouldScan'],![])||!_0x3ae1da&&globals['getGlobal'](_0x1af6e8[_0x40ca59(0xf9)])&&_0x1af6e8['dkaTj'](globals[_0x40ca59(0x124)](_0x1af6e8[_0x40ca59(0x17a)]),![])?logger[_0x40ca59(0xf6)](_0x1af6e8[_0x40ca59(0x109)]):logger['warn'](_0x40ca59(0xd8)+_0x136dcd+',\x20cannot\x20perform\x20scan\x20with\x20retry.'),![];const _0x1430cc=_0x377887||global['browserstackSessionName']||_0x1af6e8[_0x40ca59(0x12a)];let _0x4311c7=null;const _0x12db01={'testhub_btcer_uuid':global[_0x40ca59(0xd1)]?.[_0x40ca59(0x11c)]?.['id'],'url':_0x1af6e8[_0x40ca59(0x18e)](typeof _0x3a3b68[_0x40ca59(0x142)],_0x1af6e8[_0x40ca59(0x103)])?await _0x3a3b68['url']():_0x1af6e8['pQrzQ'](typeof _0x3a3b68[_0x40ca59(0x179)],_0x1af6e8[_0x40ca59(0x103)])?await _0x3a3b68[_0x40ca59(0x179)]():'','automate_session_id':_0x1af6e8[_0x40ca59(0x140)](typeof _0x3a3b68[_0x40ca59(0x123)],_0x1af6e8[_0x40ca59(0x103)])?(await _0x3a3b68[_0x40ca59(0x123)]())[_0x40ca59(0x154)]():''};for(let _0x15460f=0x1;_0x1af6e8[_0x40ca59(0x112)](_0x15460f,_0x1af6e8[_0x40ca59(0x11e)](RETRY_CONFIG[_0x40ca59(0xe7)],0x1));_0x15460f++){try{return logger['debug'](_0x40ca59(0x183)+_0x15460f+'/'+_0x1af6e8[_0x40ca59(0x11e)](RETRY_CONFIG[_0x40ca59(0xe7)],0x1)+'\x20for\x20method:\x20'+_0x1430cc+'\x20('+_0x136dcd+')'),await PerformanceTester[_0x40ca59(0x13b)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x33bd16=_0x40ca59;let _0x42a828;if(_0x1af6e8[_0x33bd16(0x11f)](_0x3ae1da,playwrightA11yHelper)){_0x1af6e8[_0x33bd16(0x158)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x33bd16(0xda)](_0x3a3b68,RETRY_CONFIG[_0x33bd16(0xdd)]);let _0x1b0547=_0x3a3b68;_0x1af6e8['tpBJw'](_0x136dcd,_0x1af6e8['TbycI'])&&(_0x1b0547=_0x3a3b68['page']);const _0x35fd3b=global['isMobilePlatform']?{'is_mobile_session':!![],'thTestRunUuid':accessibilityHelper[_0x33bd16(0x12c)]()}:{};_0x42a828=await _0x1af6e8[_0x33bd16(0x158)](withTimeout,playwrightA11yHelper['performScan'](_0x1b0547,_0x1430cc,_0x4180bd,_0x35fd3b),RETRY_CONFIG[_0x33bd16(0xdd)]),await exports[_0x33bd16(0xda)](_0x3a3b68,RETRY_CONFIG[_0x33bd16(0x18d)]);}else await exports[_0x33bd16(0x151)](_0x3a3b68,RETRY_CONFIG[_0x33bd16(0xdd)]),_0x42a828=await _0x1af6e8[_0x33bd16(0x11d)](withTimeout,accessibilityHelper['performScan'](_0x3a3b68,_0x1430cc,_0x32db2b,_0x4180bd),RETRY_CONFIG['timeoutMs']),await exports['setSeleniumScriptTimeout'](_0x3a3b68,RETRY_CONFIG[_0x33bd16(0x18d)]);logger[_0x33bd16(0xf6)](_0x33bd16(0x177)+_0x15460f+_0x33bd16(0x111));},{'command':_0x1430cc,..._0x12db01})(),logger['info'](_0x40ca59(0x161)+_0x15460f+'.'),!![];}catch(_0xced45a){_0x4311c7=_0xced45a,logger['debug'](_0x40ca59(0x183)+_0x15460f+'\x20failed\x20for\x20method:\x20'+_0x1430cc+'\x20('+_0x136dcd+').\x20Error:\x20'+_0xced45a[_0x40ca59(0x126)]);}}return logger['error']('All\x20accessibility\x20scan\x20attempts\x20failed\x20for\x20method:\x20'+_0x1430cc+'\x20('+_0x136dcd+_0x40ca59(0xeb)+(_0x4311c7?.[_0x40ca59(0x126)]||_0x1af6e8['NJmPo'])),![];},exports['getAccessibilityResultsWithRetry']=async(_0x2d334e,_0x498770)=>{const _0x497b9b=a121_0x2fbb77,_0x4119f4={'EUJGk':function(_0x9c0af,_0x128d7a){return _0x9c0af(_0x128d7a);},'dpNts':_0x497b9b(0xde),'xtPtU':function(_0x416748,_0x309224){return _0x416748<=_0x309224;},'PeLLD':function(_0x976e9a,_0x10fa93){return _0x976e9a+_0x10fa93;},'YiBJy':function(_0x121df8,_0x501b93){return _0x121df8+_0x501b93;},'cSPzp':function(_0x523823,_0x4f8438){return _0x523823&&_0x4f8438;},'BfNMm':function(_0x10cd8d,_0x3c5561,_0x7a622b){return _0x10cd8d(_0x3c5561,_0x7a622b);},'rWhpE':function(_0x6780c8,_0x4c97de,_0x119261){return _0x6780c8(_0x4c97de,_0x119261);},'ahTrp':function(_0x505718,_0x5ac0b6,_0x4fac52){return _0x505718(_0x5ac0b6,_0x4fac52);},'LRuUS':_0x497b9b(0x16c)},{isPlaywright:_0x7ec787,type:_0x594ef2}=_0x4119f4['EUJGk'](detectDriverType,_0x2d334e),_0x25d8d1=_0x7ec787?_0x498770[_0x497b9b(0x11b)]:accessibilityHelper[_0x497b9b(0x144)]()&&globals[_0x497b9b(0x124)](_0x4119f4[_0x497b9b(0x160)]);if(!_0x25d8d1)return logger[_0x497b9b(0x15e)](_0x497b9b(0xd8)+_0x594ef2+',\x20cannot\x20retrieve\x20Accessibility\x20results\x20with\x20retry.'),[];let _0x2d2ef7=null;for(let _0x1187c9=0x1;_0x4119f4[_0x497b9b(0x171)](_0x1187c9,_0x4119f4['PeLLD'](RETRY_CONFIG['maxRetries'],0x1));_0x1187c9++){try{logger[_0x497b9b(0xf6)](_0x497b9b(0xd2)+_0x1187c9+'/'+_0x4119f4[_0x497b9b(0xca)](RETRY_CONFIG[_0x497b9b(0xe7)],0x1)+'\x20('+_0x594ef2+')');let _0x10eff8;return _0x4119f4['cSPzp'](_0x7ec787,playwrightA11yHelper)?(_0x4119f4[_0x497b9b(0x16d)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x497b9b(0xda)](_0x2d334e,RETRY_CONFIG[_0x497b9b(0xdd)]),_0x10eff8=await _0x4119f4[_0x497b9b(0x10c)](withTimeout,playwrightA11yHelper[_0x497b9b(0x12f)](_0x2d334e),RETRY_CONFIG['timeoutMs']),await exports[_0x497b9b(0xda)](_0x2d334e,RETRY_CONFIG[_0x497b9b(0x18d)])):(await exports[_0x497b9b(0x151)](_0x2d334e,RETRY_CONFIG[_0x497b9b(0xdd)]),_0x10eff8=await _0x4119f4[_0x497b9b(0xfd)](withTimeout,accessibilityHelper[_0x497b9b(0x12f)](_0x2d334e,_0x498770),RETRY_CONFIG[_0x497b9b(0xdd)]),await exports['setSeleniumScriptTimeout'](_0x2d334e,RETRY_CONFIG[_0x497b9b(0x18d)])),logger[_0x497b9b(0x133)]('Accessibility\x20results\x20retrieved\x20successfully\x20on\x20attempt\x20'+_0x1187c9+'\x20('+_0x594ef2+')'),_0x10eff8;}catch(_0x6f79bb){_0x2d2ef7=_0x6f79bb,logger[_0x497b9b(0x15e)](_0x497b9b(0xd2)+_0x1187c9+'\x20failed\x20('+_0x594ef2+').\x20Error:\x20'+_0x6f79bb['message']);}}return logger[_0x497b9b(0x130)](_0x497b9b(0xe2)+_0x594ef2+_0x497b9b(0x129)+(_0x2d2ef7?.['message']||_0x4119f4[_0x497b9b(0x16f)])),[];},exports['getAccessibilityResultsSummaryWithRetry']=async(_0x51a330,_0x59dd29)=>{const _0x59f93f=a121_0x2fbb77,_0x39834f={'sZJfw':function(_0x43fad8,_0x86f5d9){return _0x43fad8(_0x86f5d9);},'gvkuk':_0x59f93f(0xde),'kIMSD':function(_0x36f357,_0xe08e76){return _0x36f357<=_0xe08e76;},'iAMnN':function(_0x40eff6,_0x2cb2f4){return _0x40eff6+_0x2cb2f4;},'etHEq':function(_0x3a8370,_0xf73507){return _0x3a8370&&_0xf73507;},'aAtLD':function(_0x42c276,_0x9cad99,_0x309a33){return _0x42c276(_0x9cad99,_0x309a33);},'TScJg':_0x59f93f(0x16c)},{isPlaywright:_0x40c5c4,type:_0x4d8bb0}=_0x39834f[_0x59f93f(0xe0)](detectDriverType,_0x51a330),_0x2872c5=_0x40c5c4?_0x59dd29[_0x59f93f(0x11b)]:accessibilityHelper[_0x59f93f(0x144)]()&&globals['getGlobal'](_0x39834f['gvkuk']);if(!_0x2872c5)return logger['warn']('Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20'+_0x4d8bb0+',\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary\x20with\x20retry.'),{};let _0x4add85=null;for(let _0x3dc434=0x1;_0x39834f[_0x59f93f(0x190)](_0x3dc434,_0x39834f[_0x59f93f(0xf3)](RETRY_CONFIG[_0x59f93f(0xe7)],0x1));_0x3dc434++){try{logger[_0x59f93f(0xf6)]('Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20'+_0x3dc434+'/'+_0x39834f[_0x59f93f(0xf3)](RETRY_CONFIG[_0x59f93f(0xe7)],0x1)+'\x20('+_0x4d8bb0+')');let _0x4ab0e8;return _0x39834f[_0x59f93f(0x16a)](_0x40c5c4,playwrightA11yHelper)?(_0x39834f[_0x59f93f(0xd0)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x59f93f(0xda)](_0x51a330,RETRY_CONFIG[_0x59f93f(0xdd)]),_0x4ab0e8=await _0x39834f[_0x59f93f(0xd0)](withTimeout,playwrightA11yHelper['getAccessibilityResultsSummary'](_0x51a330),RETRY_CONFIG[_0x59f93f(0xdd)]),await exports[_0x59f93f(0xda)](_0x51a330,RETRY_CONFIG[_0x59f93f(0x18d)])):(await exports['setSeleniumScriptTimeout'](_0x51a330,RETRY_CONFIG['timeoutMs']),_0x4ab0e8=await _0x39834f['aAtLD'](withTimeout,accessibilityHelper[_0x59f93f(0x143)](_0x51a330,_0x59dd29),RETRY_CONFIG['timeoutMs']),await exports['setSeleniumScriptTimeout'](_0x51a330,RETRY_CONFIG[_0x59f93f(0x18d)])),logger[_0x59f93f(0x133)]('Accessibility\x20results\x20summary\x20retrieved\x20successfully\x20on\x20attempt\x20'+_0x3dc434+'\x20('+_0x4d8bb0+')'),_0x4ab0e8;}catch(_0x3873be){_0x4add85=_0x3873be,logger[_0x59f93f(0x15e)](_0x59f93f(0xef)+_0x3dc434+_0x59f93f(0x148)+_0x4d8bb0+_0x59f93f(0x16b)+_0x3873be[_0x59f93f(0x126)]);}}return logger[_0x59f93f(0x130)](_0x59f93f(0xf7)+_0x4d8bb0+_0x59f93f(0x129)+(_0x4add85?.['message']||_0x39834f[_0x59f93f(0x12e)])),{};},exports[a121_0x2fbb77(0xdf)]=async(_0x409fff,_0x59d690,_0x4cd9da=null)=>{const _0x2a711a=a121_0x2fbb77,_0x2c9ef0={'eubVW':function(_0x1e07a2,_0x44e890){return _0x1e07a2(_0x44e890);},'ZncwB':function(_0x1f55a9,_0x47fd81){return _0x1f55a9===_0x47fd81;},'EkaBY':_0x2a711a(0x127),'lQJtr':function(_0x1b7056,_0x4efe9){return _0x1b7056===_0x4efe9;},'Kazou':'rejected','HxHai':'Unknown\x20error\x20during\x20comprehensive\x20accessibility\x20scan'},{isPlaywright:_0x1821e4,type:_0xdeecb8}=_0x2c9ef0['eubVW'](detectDriverType,_0x409fff),_0x1a1f3d={};_0x1a1f3d['scanSucceeded']=![],_0x1a1f3d[_0x2a711a(0x12d)]=[],_0x1a1f3d['summary']={},_0x1a1f3d[_0x2a711a(0x130)]=null,_0x1a1f3d[_0x2a711a(0x165)]=_0xdeecb8;const _0x371deb=_0x1a1f3d;try{_0x371deb[_0x2a711a(0x175)]=await exports[_0x2a711a(0x163)](_0x409fff,_0x4cd9da);if(_0x371deb[_0x2a711a(0x175)]){const [_0x5de1fe,_0x15c2fa]=await Promise[_0x2a711a(0xf1)]([exports[_0x2a711a(0xd9)](_0x409fff,_0x59d690),exports[_0x2a711a(0x184)](_0x409fff,_0x59d690)]);_0x371deb[_0x2a711a(0x12d)]=_0x2c9ef0[_0x2a711a(0x157)](_0x5de1fe['status'],_0x2c9ef0[_0x2a711a(0x170)])?_0x5de1fe[_0x2a711a(0xf2)]:[],_0x371deb[_0x2a711a(0x185)]=_0x2c9ef0['ZncwB'](_0x15c2fa[_0x2a711a(0x17b)],_0x2c9ef0[_0x2a711a(0x170)])?_0x15c2fa['value']:{},_0x2c9ef0[_0x2a711a(0xfe)](_0x5de1fe['status'],_0x2c9ef0[_0x2a711a(0x162)])&&logger[_0x2a711a(0x15e)]('Failed\x20to\x20retrieve\x20accessibility\x20results\x20('+_0xdeecb8+'):\x20'+_0x5de1fe[_0x2a711a(0xff)]?.[_0x2a711a(0x126)]),_0x2c9ef0[_0x2a711a(0x157)](_0x15c2fa['status'],_0x2c9ef0[_0x2a711a(0x162)])&&logger['warn'](_0x2a711a(0x114)+_0xdeecb8+_0x2a711a(0x14f)+_0x15c2fa[_0x2a711a(0xff)]?.[_0x2a711a(0x126)]);}}catch(_0x278753){_0x371deb[_0x2a711a(0x130)]=_0x278753['message']||_0x2c9ef0[_0x2a711a(0x10a)],logger[_0x2a711a(0x130)](_0x2a711a(0x13e)+_0xdeecb8+'):\x20'+_0x371deb[_0x2a711a(0x130)]);}return _0x371deb;},exports['updateRetryConfig']=_0x4c1cb2=>{const _0x34146b=a121_0x2fbb77,_0x1f6cde={};_0x1f6cde[_0x34146b(0x15a)]=function(_0x100488,_0x1f3c82){return _0x100488!==_0x1f3c82;},_0x1f6cde[_0x34146b(0x152)]=function(_0x5a1f52,_0x3a754c){return _0x5a1f52!==_0x3a754c;};const _0x48c62a=_0x1f6cde;_0x48c62a[_0x34146b(0x15a)](_0x4c1cb2[_0x34146b(0xe7)],undefined)&&(RETRY_CONFIG[_0x34146b(0xe7)]=Math[_0x34146b(0xc6)](0x0,_0x4c1cb2[_0x34146b(0xe7)])),_0x48c62a[_0x34146b(0x152)](_0x4c1cb2['timeoutMs'],undefined)&&(RETRY_CONFIG[_0x34146b(0xdd)]=Math['max'](0x3e8,_0x4c1cb2[_0x34146b(0xdd)])),logger['debug']('Accessibility\x20retry\x20configuration\x20updated:\x20'+JSON[_0x34146b(0x11a)](RETRY_CONFIG));},exports[a121_0x2fbb77(0x121)]=()=>{const _0xd7118e={...RETRY_CONFIG};return _0xd7118e;},exports[a121_0x2fbb77(0x164)]=_0xf78e7c=>{const _0x158fe1=a121_0x2fbb77,_0x1a0e3a={'uaQfi':function(_0x18dbdd,_0x122d5a){return _0x18dbdd(_0x122d5a);}};return _0x1a0e3a[_0x158fe1(0x13c)](detectDriverType,_0xf78e7c)[_0x158fe1(0x150)];},exports[a121_0x2fbb77(0x186)]=_0x23170d=>{const _0x4c022f=a121_0x2fbb77,_0x4cc314={'zGIEO':function(_0x7c0e4a,_0xcb1ca5){return _0x7c0e4a(_0xcb1ca5);},'sJzEm':function(_0x398ae1,_0x3cb659){return _0x398ae1===_0x3cb659;},'yUptz':'selenium-webdriver'},{isPlaywright:_0x2c48e6,type:_0x150b60}=_0x4cc314[_0x4c022f(0xdc)](detectDriverType,_0x23170d);return!_0x2c48e6&&_0x4cc314[_0x4c022f(0x187)](_0x150b60,_0x4cc314['yUptz']);},exports[a121_0x2fbb77(0xda)]=async(_0x46cad4,_0x3e32f4=null)=>{const _0x29992c=a121_0x2fbb77,_0x15b52d={'iiecj':function(_0x4d401b,_0x43bd8c){return _0x4d401b(_0x43bd8c);},'UoJwk':function(_0x493d32,_0x68f6c7){return _0x493d32===_0x68f6c7;},'FlZnM':'function'},{isPlaywright:_0x1aa874,type:_0x1a29c3}=_0x15b52d[_0x29992c(0x145)](detectDriverType,_0x46cad4);if(!_0x1aa874)return logger[_0x29992c(0xf6)](_0x29992c(0xcb)+_0x1a29c3+'\x20-\x20not\x20applicable'),!![];const _0x545137=_0x3e32f4||RETRY_CONFIG['defaultTimeoutMs'];try{return _0x46cad4&&_0x15b52d[_0x29992c(0x169)](typeof _0x46cad4[_0x29992c(0xd4)],_0x15b52d[_0x29992c(0xfb)])&&(await _0x46cad4[_0x29992c(0xd4)](_0x545137),logger[_0x29992c(0xf6)]('Set\x20Playwright\x20page\x20default\x20timeout\x20to\x20'+_0x545137+'ms')),!![];}catch(_0x3e1222){return logger[_0x29992c(0x15e)](_0x29992c(0x146)+_0x3e1222[_0x29992c(0x126)]),![];}},exports[a121_0x2fbb77(0x151)]=async(_0x3ba040,_0x35cef7=null)=>{const _0x5334fd=a121_0x2fbb77,_0x242b86={};_0x242b86[_0x5334fd(0x13d)]=_0x5334fd(0x14a),_0x242b86['ENDuy']=function(_0x342684,_0x2a7520){return _0x342684===_0x2a7520;},_0x242b86['wJUhD']=_0x5334fd(0x17e),_0x242b86[_0x5334fd(0x17d)]=function(_0x30dd42,_0x3602fd){return _0x30dd42===_0x3602fd;},_0x242b86['gDVaU']=function(_0x416aab,_0x47bc46){return _0x416aab===_0x47bc46;},_0x242b86['YmniK']='Selenium\x20WebDriver\x20timeout\x20API\x20not\x20available,\x20skipping\x20timeout\x20setting',_0x242b86['dCHqk']=_0x5334fd(0x116);const _0x4b3f53=_0x242b86;if(!exports[_0x5334fd(0x186)](_0x3ba040))return logger[_0x5334fd(0x15e)](_0x4b3f53['uPGUY']),![];const _0x19e7ba=_0x35cef7||RETRY_CONFIG['defaultTimeoutMs'];try{if(_0x3ba040&&_0x4b3f53['ENDuy'](typeof _0x3ba040[_0x5334fd(0x10f)],_0x4b3f53[_0x5334fd(0xf0)])){const _0x44da12=_0x3ba040['manage']();if(_0x44da12&&_0x4b3f53[_0x5334fd(0x172)](typeof _0x44da12['timeouts'],_0x4b3f53[_0x5334fd(0xf0)]))await _0x44da12[_0x5334fd(0xdb)]()[_0x5334fd(0xe5)](_0x19e7ba),logger[_0x5334fd(0xf6)](_0x5334fd(0x180)+_0x19e7ba+_0x5334fd(0x174));else{if(_0x44da12&&_0x4b3f53[_0x5334fd(0x17d)](typeof _0x44da12[_0x5334fd(0x176)],_0x4b3f53['wJUhD'])){const _0x207eea={};_0x207eea['script']=_0x19e7ba,await _0x44da12[_0x5334fd(0x176)](_0x207eea),logger[_0x5334fd(0xf6)](_0x5334fd(0x180)+_0x19e7ba+'ms\x20using\x20setTimeouts\x20API');}else{if(_0x44da12&&_0x4b3f53['gDVaU'](typeof _0x44da12[_0x5334fd(0xe5)],_0x4b3f53[_0x5334fd(0xf0)]))await _0x44da12['setScriptTimeout'](_0x19e7ba),logger[_0x5334fd(0xf6)](_0x5334fd(0x180)+_0x19e7ba+'ms\x20using\x20setScriptTimeout\x20API');else return logger['debug'](_0x4b3f53[_0x5334fd(0xcf)]),!![];}}}else return logger['debug'](_0x4b3f53['dCHqk']),!![];return!![];}catch(_0x382920){return logger[_0x5334fd(0x15e)](_0x5334fd(0x10b)+_0x382920[_0x5334fd(0x126)]),![];}},exports[a121_0x2fbb77(0x159)]=async(_0x28fd2c,_0x2a90d1)=>{const _0x115e40=a121_0x2fbb77,_0x576f07={'vrEZd':function(_0x3ac565,_0x158ff4){return _0x3ac565(_0x158ff4);},'zuncF':_0x115e40(0xde),'UmpfN':function(_0x8483e3,_0x4120cc){return _0x8483e3<=_0x4120cc;},'SGWsh':function(_0x504c16,_0x39371c){return _0x504c16+_0x39371c;},'rtVvE':function(_0x18e215,_0x519fcd){return _0x18e215&&_0x519fcd;},'fCHSi':function(_0x220d40,_0x584c91,_0x2375bf){return _0x220d40(_0x584c91,_0x2375bf);},'GjpEt':function(_0x1ee577,_0x4cee68,_0x5ac206){return _0x1ee577(_0x4cee68,_0x5ac206);},'xKSRy':'isMobilePlatform','kNDJl':function(_0xe618b3,_0x44f306,_0x563a24){return _0xe618b3(_0x44f306,_0x563a24);},'lZmdC':_0x115e40(0x16c)},{isPlaywright:_0x582fab,type:_0x135392}=_0x576f07['vrEZd'](detectDriverType,_0x28fd2c),_0x568592=_0x582fab?global[_0x115e40(0x11b)]:accessibilityHelper[_0x115e40(0x144)]()&&globals[_0x115e40(0x124)](_0x576f07[_0x115e40(0x181)]);if(!_0x568592)return logger['warn']('Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20'+_0x135392+_0x115e40(0x18f)),![];let _0x7a6964=null;for(let _0x18bed0=0x1;_0x576f07[_0x115e40(0x14e)](_0x18bed0,_0x576f07[_0x115e40(0x14c)](RETRY_CONFIG['maxRetries'],0x1));_0x18bed0++){try{logger[_0x115e40(0xf6)](_0x115e40(0x113)+_0x18bed0+'/'+_0x576f07[_0x115e40(0x14c)](RETRY_CONFIG[_0x115e40(0xe7)],0x1)+'\x20('+_0x135392+')');if(_0x576f07[_0x115e40(0x17f)](_0x582fab,playwrightA11yHelper)){_0x576f07[_0x115e40(0xd7)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x115e40(0xda)](_0x28fd2c,RETRY_CONFIG[_0x115e40(0xdd)]);const _0x35b60f={};_0x35b60f[_0x115e40(0x115)]=!![];const _0x165b16=global[_0x115e40(0x101)]?Object[_0x115e40(0x18c)]({},_0x2a90d1,_0x35b60f):_0x2a90d1;await _0x576f07[_0x115e40(0x106)](withTimeout,playwrightA11yHelper[_0x115e40(0x119)](_0x28fd2c,scripts[_0x115e40(0x118)],_0x165b16),RETRY_CONFIG[_0x115e40(0xdd)]),await exports[_0x115e40(0xda)](_0x28fd2c,RETRY_CONFIG[_0x115e40(0x18d)]);}else{await exports[_0x115e40(0x151)](_0x28fd2c,RETRY_CONFIG[_0x115e40(0xdd)]);const _0x34b0a7={};_0x34b0a7[_0x115e40(0x115)]=!![];const _0x235099=globals['getGlobal'](_0x576f07[_0x115e40(0x136)])?Object[_0x115e40(0x18c)]({},_0x2a90d1,_0x34b0a7):_0x2a90d1;await _0x576f07['kNDJl'](withTimeout,_0x28fd2c[_0x115e40(0xe9)](scripts[_0x115e40(0x118)],_0x235099),RETRY_CONFIG[_0x115e40(0xdd)]),await exports[_0x115e40(0x151)](_0x28fd2c,RETRY_CONFIG[_0x115e40(0x18d)]);}return logger[_0x115e40(0x133)]('Accessibility\x20results\x20saved\x20successfully\x20on\x20attempt\x20'+_0x18bed0+'\x20('+_0x135392+')'),!![];}catch(_0x982acf){_0x7a6964=_0x982acf,logger[_0x115e40(0x15e)](_0x115e40(0x113)+_0x18bed0+'\x20failed\x20('+_0x135392+_0x115e40(0x16b)+_0x982acf[_0x115e40(0x126)]);}}return logger[_0x115e40(0x130)](_0x115e40(0x167)+_0x135392+').\x20Last\x20error:\x20'+(_0x7a6964?.[_0x115e40(0x126)]||_0x576f07['lZmdC'])),![];};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a122_0x3651b1=a122_0x18bb;function a122_0x45b7(){var _0x668bf0=['141','2438712TDSFOG','586718vwDyGT','11820pkBZWX','9395udWNNM','chromium','Chrome','5067YPyenO','Safari','MINIMUM_CHROMEFORTESTING_VERSION','100','min_version_non_browserstack','requires_chrome_options_check','min_version_browserstack','MINIMUM_SAFARI_VERSION','safari','MINIMUM_BROWSER_VERSION_ACCESSIBILITY','display_name','3VKhYpo','1584WDHcuW','286107gyLtkM','114744vybdfD','2330846aBrDfI','chromefortesting','MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY','API_URL'];a122_0x45b7=function(){return _0x668bf0;};return a122_0x45b7();}(function(_0x2013b0,_0x5b7cc2){var _0x3a6be2=a122_0x18bb,_0x5b073a=_0x2013b0();while(!![]){try{var _0x190bb7=-parseInt(_0x3a6be2(0x1c2))/0x1+parseInt(_0x3a6be2(0x1ca))/0x2*(-parseInt(_0x3a6be2(0x1da))/0x3)+parseInt(_0x3a6be2(0x1c3))/0x4+-parseInt(_0x3a6be2(0x1cc))/0x5*(parseInt(_0x3a6be2(0x1c1))/0x6)+parseInt(_0x3a6be2(0x1c4))/0x7+parseInt(_0x3a6be2(0x1c9))/0x8+parseInt(_0x3a6be2(0x1cf))/0x9*(parseInt(_0x3a6be2(0x1cb))/0xa);if(_0x190bb7===_0x5b7cc2)break;else _0x5b073a['push'](_0x5b073a['shift']());}catch(_0xd747c5){_0x5b073a['push'](_0x5b073a['shift']());}}}(a122_0x45b7,0x3e9bf),exports[a122_0x3651b1(0x1c7)]='https://accessibility.browserstack.com/api',exports[a122_0x3651b1(0x1d8)]='94',exports[a122_0x3651b1(0x1c6)]=a122_0x3651b1(0x1d2),exports[a122_0x3651b1(0x1d1)]=a122_0x3651b1(0x1c8),exports[a122_0x3651b1(0x1d6)]='18.4');var a122_0x5ca3ee={};a122_0x5ca3ee[a122_0x3651b1(0x1d9)]=a122_0x3651b1(0x1ce),a122_0x5ca3ee['min_version_browserstack']=0x5e,a122_0x5ca3ee[a122_0x3651b1(0x1d3)]=0x64,a122_0x5ca3ee[a122_0x3651b1(0x1d4)]=!![];var a122_0x5d9cf1={};a122_0x5d9cf1[a122_0x3651b1(0x1d9)]=a122_0x3651b1(0x1ce),a122_0x5d9cf1[a122_0x3651b1(0x1d5)]=0x5e,a122_0x5d9cf1[a122_0x3651b1(0x1d3)]=0x64,a122_0x5d9cf1['requires_chrome_options_check']=!![];var a122_0xf0832={};a122_0xf0832[a122_0x3651b1(0x1d9)]=a122_0x3651b1(0x1ce),a122_0xf0832[a122_0x3651b1(0x1d5)]=0x5e,a122_0xf0832[a122_0x3651b1(0x1d3)]=0x64,a122_0xf0832[a122_0x3651b1(0x1d4)]=!![];function a122_0x18bb(_0x4c2396,_0x1e044b){var _0x45b7e6=a122_0x45b7();return a122_0x18bb=function(_0x18bb2e,_0x574012){_0x18bb2e=_0x18bb2e-0x1c1;var _0x250098=_0x45b7e6[_0x18bb2e];return _0x250098;},a122_0x18bb(_0x4c2396,_0x1e044b);}var a122_0x181882={};a122_0x181882[a122_0x3651b1(0x1d9)]='ChromeForTesting',a122_0x181882['min_version_browserstack']=0x8d,a122_0x181882[a122_0x3651b1(0x1d3)]=0x8d,a122_0x181882[a122_0x3651b1(0x1d4)]=!![];var a122_0x444bdc={};a122_0x444bdc[a122_0x3651b1(0x1d9)]=a122_0x3651b1(0x1d0),a122_0x444bdc[a122_0x3651b1(0x1d5)]=18.4,a122_0x444bdc[a122_0x3651b1(0x1d3)]=18.4,a122_0x444bdc[a122_0x3651b1(0x1d4)]=![];var a122_0x2c603d={};a122_0x2c603d['chrome']=a122_0x5ca3ee,a122_0x2c603d[a122_0x3651b1(0x1cd)]=a122_0x5d9cf1,a122_0x2c603d['playwright-chromium']=a122_0xf0832,a122_0x2c603d[a122_0x3651b1(0x1c5)]=a122_0x181882,a122_0x2c603d[a122_0x3651b1(0x1d7)]=a122_0x444bdc,exports['ACCESSIBILITY_SUPPORTED_BROWSERS']=a122_0x2c603d;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a123_0x2fda(){const _0x38f203=['statusText','executeScript','deviceName','rMogl','JXhTd','getBrowserVersion','isTrue','AjCLI','../logger','tvKJG','script','JAmIg','options_','GJXPU','response','scannerVersion','compareVersions','isUndefined','bstackA11yShouldScan','getHostInfo','nonBstackPlatformValidation','errors','xkBWo','mJQwB','getTestFrameworkDetails','EDpNI','getPackageVersion','isMobileAccessibilitySession','projectName','UTjUu','isAccessibilityPlatform','shouldScanTestForAccessibility','split','270168kysoeA','debug','false','Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20','MvnqN','Mobile\x20Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser.','gtCNy','No\x20accessibility\x20summary\x20was\x20found.','attFa','getMobileA11yCapabilities','isBrowserstackInfra','BS_A11Y_JWT','Error\x20checking\x20mobile\x20accessibility\x20session:\x20','zLddf','yVMNK','capabilities_','estLw','goog:chromeOptions','args','path','is_mobile_session','Owgsa','DTuif','getGlobal','mEMts','BROWSERSTACK_TEST_ACCESSIBILITY_YML','uXYAJ','DQuNu','Not\x20a\x20Accessibility\x20Session','keys','yBBNN','isArray','message','mergeDeep','[Accessibility]\x20Mobile\x20scan\x20requested\x20but\x20thTestRunUuid\x20not\x20resolvable:\x20','data','irZSz','browserstack','oeRRd','format','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','return\x20document.readyState\x20===\x20\x22complete\x22','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','7238490KiysIb','android','excludeTagsInTestingScope','BROWSERSTACK_TURBOSCALE','fTgSo','info','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','selenium-webdriver','setNonBstackInfraCapabilities','user','DpnMi','some','YsmwF','../globals','Performing\x20scan\x20before\x20getting\x20results\x20summary','getCiInfo','hcyEe','toISOString','Build\x20creation\x20had\x20failed.','OrujM','--headless','wvsgR','application/json','No\x20accessibility\x20results\x20were\x20found.','JgjlF','awQZN','Bearer\x20','nCpJZ','Content-Type','body','OaKSa','chrome','headers','isMobileScanningEnabledForGroup','assign','2475416UKHAdA','resolveMobileThTestRunUuid','../performance/performance-tester','method','Invalid\x20request:\x20','set','from','bXTZf','RXXOj','MWfjv','getAccessibilityResults:\x20Mobile\x20session\x20detected,\x20args:\x20','sUqOf','YGclk','parse','browserVersion','GET_RESULTS_SUMMARY','PorVv','accessibilityToken','BXHdY','global.__workerDetails\x20exists\x20but\x20.currentTest\x20is\x20undefined\x20—\x20scan\x20fired\x20outside\x20a\x20test\x20body\x20(before/beforeAll\x20hook,\x20or\x20between\x20tests).','MOBILE_SCANNING_DISABLED_WARNING','cRVua','GET_RESULTS','null','toJson','accessibility','wait','nodeRequest','KkdSy','--headless=','join','javascript','eWxUA','undefined','isAccessibilityAutomationSession','getGitMetaData','performScan','getBrowserA11yConfig','browserstack_executor','json','BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP','getAccessibilityResultsSummary','HpJSv','dAMke','get','base64','getMinVersionForBrowser','winstonLogger','function','fetchPlatformDetails','isBrowserStackCommandExecutor','VXAKY','2039456RPTjzi','LyHUs','getAgentVersion','YKvHW','EFOdb','getPlatform','Mobile\x20Accessibility\x20Automation\x20is\x20not\x20enabled\x20for\x20your\x20account.\x20Accessibility\x20scans\x20will\x20be\x20skipped\x20on\x20mobile\x20sessions.\x20Contact\x20BrowserStack\x20to\x20enable\x20mobile\x20accessibility\x20scanning.','ChromeExtension','srRqe','uyOVG','getUserName','includeTagsInTestingScope','command','VhHIx','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','lxRxK','../helper','buildName','XXjbp','\x20The\x20on-device\x20scan\x20will\x20POST\x20to\x20/api/test_cases/save_intermediate_results\x20with\x20an\x20empty\x20th_test_run_uuid\x20and\x20fail\x20validation\x20(HTTP\x20422).\x20Fix\x20the\x20framework\x20setup\x20hook\x20that\x20should\x20pre-populate\x20global.__workerDetails.currentTest.thTestRunUuid.','mBFJk','length','nestedKeyValue','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20','ubbvX','gzHtx','kJrCe','__cloud_provider___','vwDOj','FYHUr','./constants','measureWrapper','QJUBy','getResultsSummary','string','display_name','isMobileAccessibilityPlatform','getPlatformVersion','xuAJr','trim','checkAccessibilityPlatformConfig','--headless=new','global.__workerDetails\x20is\x20undefined\x20—\x20no\x20test-framework\x20setup\x20hook\x20has\x20initialized\x20it\x20yet.\x20A\x20scan\x20is\x20likely\x20firing\x20before\x20the\x20test\x20started\x20(e.g.\x20from\x20a\x20before/beforeAll\x20hook\x20or\x20from\x20plain\x20Selenium\x20with\x20no\x20test\x20framework).','status','basename','Authorization','min_version_browserstack','zcuLC','pEUGu','ZtlBP','stringify','DRssJ','cwd','warn','PERFORM_SCAN','toLowerCase','QSFwA','yopLq','nYCoW','chromeOptions','true','stopAccessibilityTestRun','requires_chrome_options_check','1249256bgyNVV','startsWith','error','platformName','fzxXg','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20','includes','getResults','CAluR','resolve','getBrowserDisplayName','ztIFK','[Accessibility]\x20Selenium\x20performScan\x20payload:\x20','211931ELhbbQ','toString','Error\x20checking\x20if\x20mobile\x20accessibility\x20platform:\x20','getCapabilities','a11y:start','getAccessKey','getAccessibilityResultsSummary:\x20Mobile\x20session\x20detected,\x20args:\x20','OTohJ','Performing\x20scan\x20before\x20getting\x20results','auth','dFrnt','YDnTZ','IzBbB','Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20','rVYGd','NpsVO','1692999kPqaVB','oPFzJ','__workerDetails','arJQD','Performed\x20scan\x20with\x20result:\x20','a11y:stop','fDBdB','95TIBYat','browserstackSessionName','YlOCn','browserName','dVCpW','parseA11yJwtPayload','executeAsyncScript','util','getBrowserName','QUhRZ','min_version_non_browserstack','env',']\x20but\x20thTestRunUuid\x20is\x20','thTestRunUuid','isVersionSupported'];a123_0x2fda=function(){return _0x38f203;};return a123_0x2fda();}const a123_0x5943fb=a123_0x296d;(function(_0x11dcac,_0x936cb1){const _0x528e1f=a123_0x296d,_0x1f523e=_0x11dcac();while(!![]){try{const _0x1c220b=parseInt(_0x528e1f(0xdf))/0x1+-parseInt(_0x528e1f(0xd1))/0x2+-parseInt(_0x528e1f(0xef))/0x3+-parseInt(_0x528e1f(0x174))/0x4+-parseInt(_0x528e1f(0xf6))/0x5*(-parseInt(_0x528e1f(0x126))/0x6)+parseInt(_0x528e1f(0x151))/0x7+parseInt(_0x528e1f(0x1a8))/0x8;if(_0x1c220b===_0x936cb1)break;else _0x1f523e['push'](_0x1f523e['shift']());}catch(_0xb83f9a){_0x1f523e['push'](_0x1f523e['shift']());}}}(a123_0x2fda,0x85f2a));function a123_0x296d(_0x4be51e,_0x5b3358){const _0x2fdaa8=a123_0x2fda();return a123_0x296d=function(_0x296d67,_0x381aa4){_0x296d67=_0x296d67-0xad;let _0x3cc5ce=_0x2fdaa8[_0x296d67];return _0x3cc5ce;},a123_0x296d(_0x4be51e,_0x5b3358);}const path=require(a123_0x5943fb(0x139)),util=require(a123_0x5943fb(0xfd)),bsSetupHelper=require(a123_0x5943fb(0x1b8)),logger=require(a123_0x5943fb(0x10d))[a123_0x5943fb(0x1a3)],{API_URL,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY,ACCESSIBILITY_SUPPORTED_BROWSERS}=require(a123_0x5943fb(0xb0)),PerformanceTester=require(a123_0x5943fb(0x176)),scripts=require('./scripts'),globals=require(a123_0x5943fb(0x15e)),{A11Y_EVENTS:PerformanceA11yEvents}=require('../performance/constants');exports[a123_0x5943fb(0x1a5)]=async _0x48c1eb=>{const _0x459f71=a123_0x5943fb,_0x3b1141={};_0x3b1141[_0x459f71(0x16c)]=function(_0x4caac1,_0xb50d6e){return _0x4caac1===_0xb50d6e;},_0x3b1141[_0x459f71(0xc5)]=_0x459f71(0x14b);const _0x2f8333=_0x3b1141;let _0x4312bd={};try{const _0x4cb162=await _0x48c1eb[_0x459f71(0xe2)]();_0x4312bd={'os_name':_0x4cb162[_0x459f71(0x1ad)](),'os_version':bsSetupHelper[_0x459f71(0xb7)](_0x2f8333[_0x459f71(0x16c)](global[_0x459f71(0xad)],_0x2f8333['DRssJ'])),'browser_name':_0x4cb162[_0x459f71(0xfe)](),'browser_version':_0x4cb162[_0x459f71(0x10a)]()};}catch(_0x11179b){logger[_0x459f71(0x127)](_0x459f71(0x14e)+_0x11179b);}return _0x4312bd;},exports['isAccessibilityAutomationSession']=()=>{const _0x2b058d=a123_0x5943fb,_0x2a80bd={};_0x2a80bd['gtCNy']=function(_0x334c45,_0x470df5){return _0x334c45===_0x470df5;},_0x2a80bd[_0x2b058d(0xe9)]='string',_0x2a80bd[_0x2b058d(0xf0)]=function(_0xf27c9e,_0x5a3b07){return _0xf27c9e>_0x5a3b07;},_0x2a80bd[_0x2b058d(0x14a)]=function(_0x335097,_0x3df2ce){return _0x335097!==_0x3df2ce;},_0x2a80bd[_0x2b058d(0x14c)]=_0x2b058d(0x18b),_0x2a80bd[_0x2b058d(0x1b7)]=function(_0x53dbdf,_0xba08c1){return _0x53dbdf&&_0xba08c1;};const _0x2e6518=_0x2a80bd;try{const _0x35f877=bsSetupHelper[_0x2b058d(0x10b)](process['env'][_0x2b058d(0x13f)])||bsSetupHelper[_0x2b058d(0x10b)](process[_0x2b058d(0x101)][_0x2b058d(0xd6)]),_0x329d7a=_0x2e6518[_0x2b058d(0x12c)](typeof process[_0x2b058d(0x101)][_0x2b058d(0x131)],_0x2e6518[_0x2b058d(0xe9)])&&_0x2e6518[_0x2b058d(0xf0)](process[_0x2b058d(0x101)][_0x2b058d(0x131)]['length'],0x0)&&_0x2e6518['irZSz'](process[_0x2b058d(0x101)][_0x2b058d(0x131)],_0x2e6518['oeRRd']);return _0x2e6518[_0x2b058d(0x1b7)](_0x35f877,_0x329d7a);}catch(_0xa3c25f){logger[_0x2b058d(0x127)]('Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20'+_0xa3c25f);}return![];},exports[a123_0x5943fb(0x119)]=(_0x3c5f1d,_0x1a82ef)=>{const _0x3c97aa=a123_0x5943fb,_0x1001dc={'mEMts':_0x3c97aa(0xf9),'sUqOf':function(_0x1925b0,_0x5612b3){return _0x1925b0(_0x5612b3);},'MgzKk':_0x3c97aa(0x182),'FYHUr':'version','kJrCe':'bstack:options','WCatR':_0x3c97aa(0x107),'EFOdb':'device','JXhTd':_0x3c97aa(0x150),'IzBbB':'selenium-webdriver/chrome.js','attFa':_0x3c97aa(0x158),'qoUuM':_0x3c97aa(0x111),'rVYGd':_0x3c97aa(0x138),'mJQwB':_0x3c97aa(0xcd),'gzHtx':'Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','YKvHW':'goog:chromeOptions','AjCLI':function(_0x1b78c4,_0x56088d){return _0x1b78c4===_0x56088d;},'JAmIg':_0x3c97aa(0x170),'RXXOj':function(_0x2e009f,_0x4e247e){return _0x2e009f>=_0x4e247e;}},_0x174b16=_0x3c5f1d['get'](_0x1001dc[_0x3c97aa(0x13e)]),_0xd47044=_0x1001dc[_0x3c97aa(0x17f)](parseFloat,_0x3c5f1d[_0x3c97aa(0x1a0)](_0x1001dc['MgzKk']))||_0x1001dc[_0x3c97aa(0x17f)](parseFloat,_0x3c5f1d[_0x3c97aa(0x1a0)](_0x1001dc[_0x3c97aa(0xaf)])),_0x40eab2=_0x3c5f1d[_0x3c97aa(0x1a0)](_0x1001dc[_0x3c97aa(0x1c2)])||{},_0x53f0ca=_0x1001dc['sUqOf'](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY),_0xe37dc5=_0x40eab2[_0x1001dc['WCatR']]||_0x3c5f1d[_0x3c97aa(0x1a0)](_0x1001dc[_0x3c97aa(0x1ac)])||![];if(_0xe37dc5)return logger[_0x3c97aa(0xc7)](_0x1001dc[_0x3c97aa(0x109)]),![];let _0x161955;try{_0x161955=bsSetupHelper['requireModule'](_0x1001dc[_0x3c97aa(0xeb)],_0x1001dc[_0x3c97aa(0x12e)]);}catch(_0x27fa9e){return![];}const _0x389505=new _0x161955['Options'](_0x1a82ef['chromeOptions_']),_0x315755=bsSetupHelper[_0x3c97aa(0x1be)](_0x389505,[_0x1001dc['qoUuM'],_0x1001dc['rVYGd']])||bsSetupHelper[_0x3c97aa(0x1be)](_0x1a82ef['capabilities_'],[_0x1001dc[_0x3c97aa(0x1c2)],_0x1001dc[_0x3c97aa(0x11c)],_0x1001dc[_0x3c97aa(0xed)]])||bsSetupHelper[_0x3c97aa(0x1be)](_0x1a82ef[_0x3c97aa(0x135)],[_0x1001dc['mJQwB'],_0x1001dc[_0x3c97aa(0xed)]])||[],_0x26ea5b=Array['isArray'](_0x315755)?_0x315755:[];if(_0x26ea5b[_0x3c97aa(0x15c)](_0x1d5c0c=>typeof _0x1d5c0c===_0x3c97aa(0xb4)&&(_0x1d5c0c===_0x3c97aa(0x165)||_0x1d5c0c[_0x3c97aa(0xd2)](_0x3c97aa(0x191))&&_0x1d5c0c!=='--headless=new')))return logger['warn'](_0x1001dc[_0x3c97aa(0x1c1)]),![];const _0x5ee89e=_0x1a82ef['capabilities_']||{},_0x5a3cb1=bsSetupHelper[_0x3c97aa(0x1be)](_0x5ee89e,[_0x1001dc[_0x3c97aa(0x1ab)]])||{},_0x14158d=bsSetupHelper[_0x3c97aa(0x1be)](_0x5a3cb1,[_0x1001dc[_0x3c97aa(0xed)]])||[],_0x457ab4=Array['isArray'](_0x14158d)?_0x14158d:[];if(_0x457ab4['some'](_0x162176=>typeof _0x162176===_0x3c97aa(0xb4)&&(_0x162176===_0x3c97aa(0x165)||_0x162176[_0x3c97aa(0xd2)](_0x3c97aa(0x191))&&_0x162176!==_0x3c97aa(0xbb))))return logger[_0x3c97aa(0xc7)](_0x1001dc['gzHtx']),![];if(_0x1001dc[_0x3c97aa(0x10c)](_0x174b16[_0x3c97aa(0xc9)](),_0x1001dc[_0x3c97aa(0x110)])&&_0x1001dc[_0x3c97aa(0x17c)](_0xd47044,_0x53f0ca))return!![];return logger[_0x3c97aa(0xc7)](_0x3c97aa(0x1bf)+MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY+'.'),![];},exports[a123_0x5943fb(0x159)]=_0x3346b9=>{const _0x38bd36=a123_0x5943fb,_0x50f682={};_0x50f682[_0x38bd36(0x144)]=_0x38bd36(0x137),_0x50f682[_0x38bd36(0x15b)]=function(_0x5598d9,_0x98c438){return _0x5598d9||_0x98c438;},_0x50f682[_0x38bd36(0x134)]=_0x38bd36(0x142);const _0x314595=_0x50f682,_0x75cf40=scripts[_0x38bd36(0x1af)];try{const _0x1780ed=bsSetupHelper[_0x38bd36(0x10b)](process['env'][_0x38bd36(0x13f)])||bsSetupHelper['isTrue'](process[_0x38bd36(0x101)][_0x38bd36(0xd6)]);if((!bsSetupHelper[_0x38bd36(0x130)]()||process[_0x38bd36(0x101)][_0x38bd36(0x154)])&&_0x1780ed){const _0x545733=_0x3346b9['getCapabilities'](),_0x535293=_0x545733[_0x38bd36(0x1a0)](_0x314595['yBBNN']),_0x4e88f3=_0x314595[_0x38bd36(0x15b)](_0x535293,{});bsSetupHelper[_0x38bd36(0x147)](_0x4e88f3,_0x75cf40),_0x3346b9[_0x38bd36(0xe2)]()[_0x38bd36(0x179)](_0x314595[_0x38bd36(0x144)],_0x4e88f3);}else logger[_0x38bd36(0xc7)](_0x314595[_0x38bd36(0x134)]);}catch(_0x35f293){logger['error']('Error\x20while\x20adding\x20Non-Bstack\x20capabilities:\x20'+_0x35f293);}},exports[a123_0x5943fb(0x124)]=(_0x2f5318=null,_0x101c2b=!![],_0x2f61e3=[])=>{const _0x1ca6a0=a123_0x5943fb,_0xb1d4ba={};_0xb1d4ba['ngjTE']=function(_0x445642,_0x9e450){return _0x445642==_0x9e450;},_0xb1d4ba['DQuNu']=function(_0x56b65d,_0x579230){return _0x56b65d>_0x579230;},_0xb1d4ba[_0x1ca6a0(0x19f)]=function(_0x56ab61,_0x48b606){return _0x56ab61===_0x48b606;},_0xb1d4ba[_0x1ca6a0(0x194)]=function(_0xbd35a1,_0xcf6782){return _0xbd35a1&&_0xcf6782;};const _0x4801a4=_0xb1d4ba;if(_0x4801a4['ngjTE'](process[_0x1ca6a0(0x101)][_0x1ca6a0(0x157)],null))return!![];try{const _0x4a25aa=JSON[_0x1ca6a0(0x181)](process[_0x1ca6a0(0x101)][_0x1ca6a0(0x157)]),_0x2d77f8=Array[_0x1ca6a0(0x145)](_0x4a25aa[_0x1ca6a0(0x1b3)])?_0x4a25aa[_0x1ca6a0(0x1b3)]:[],_0x368812=Array['isArray'](_0x4a25aa[_0x1ca6a0(0x153)])?_0x4a25aa['excludeTagsInTestingScope']:[],_0x41a20c=_0x3940e2=>typeof _0x3940e2===_0x1ca6a0(0xb4)?_0x3940e2['replace'](/^@/,'')[_0x1ca6a0(0xc9)]()[_0x1ca6a0(0xb9)]():_0x3940e2;if(bsSetupHelper[_0x1ca6a0(0x116)](_0x2f5318)){if(_0x4801a4[_0x1ca6a0(0x141)](_0x2f61e3[_0x1ca6a0(0x1bd)],0x0)){const _0x5968ce=_0x2f61e3['map'](_0x41a20c),_0xc6acd4=_0x368812[_0x1ca6a0(0x15c)](_0x1e53f9=>_0x5968ce['includes'](_0x41a20c(_0x1e53f9))),_0x26cf1e=_0x4801a4[_0x1ca6a0(0x19f)](_0x2d77f8['length'],0x0)||_0x2d77f8[_0x1ca6a0(0x15c)](_0x40d9e1=>_0x5968ce['includes'](_0x41a20c(_0x40d9e1)));return _0x4801a4[_0x1ca6a0(0x194)](!_0xc6acd4,_0x26cf1e);}return!![];}let _0x3e73cc;_0x101c2b?_0x3e73cc=_0x2f5318[_0x1ca6a0(0x192)]('/'):_0x3e73cc=_0x2f5318;const _0x1d4121=_0x368812[_0x1ca6a0(0x15c)](_0x20d242=>_0x3e73cc[_0x1ca6a0(0xc9)]()[_0x1ca6a0(0xd8)](_0x41a20c(_0x20d242)['toLowerCase']())),_0x5878a0=_0x4801a4[_0x1ca6a0(0x19f)](_0x2d77f8[_0x1ca6a0(0x1bd)],0x0)||_0x2d77f8[_0x1ca6a0(0x15c)](_0x28ec52=>_0x3e73cc[_0x1ca6a0(0xc9)]()[_0x1ca6a0(0xd8)](_0x41a20c(_0x28ec52)[_0x1ca6a0(0xc9)]()));return _0x4801a4[_0x1ca6a0(0x194)](!_0x1d4121,_0x5878a0);}catch(_0x286479){logger[_0x1ca6a0(0x127)](_0x1ca6a0(0x129)+util['format'](_0x286479));}return![];},exports[a123_0x5943fb(0xba)]=_0x113e05=>{const _0x5736a5=a123_0x5943fb;let _0x3022ca=![];try{_0x113e05['platforms']['forEach'](_0x46f7dd=>{const _0x492f41=a123_0x296d;if(bsSetupHelper[_0x492f41(0x10b)](_0x46f7dd[_0x492f41(0x18d)]))return _0x3022ca=!![],!![];});}catch(_0x3cc703){logger[_0x5736a5(0x127)](_0x5736a5(0xd7)+_0x3cc703);}return _0x3022ca||bsSetupHelper['isTrue'](_0x113e05['accessibility']);},exports['createAccessibilityTestRun']=PerformanceTester[a123_0x5943fb(0xb1)](a123_0x5943fb(0xe3),async function(_0xaea935,_0x1842fc){const _0x48bfe5=a123_0x5943fb,_0x809131={};_0x809131[_0x48bfe5(0x13b)]='Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token',_0x809131[_0x48bfe5(0xfa)]='playwright',_0x809131[_0x48bfe5(0x186)]=_0x48bfe5(0x193),_0x809131[_0x48bfe5(0xf8)]=_0x48bfe5(0x167),_0x809131['GJXPU']='POST',_0x809131[_0x48bfe5(0x15d)]='v2/test_runs',_0x809131['xkBWo']=function(_0x3a65e7,_0x1af946){return _0x3a65e7===_0x1af946;},_0x809131['gAIhP']='Invalid\x20configuration\x20passed.',_0x809131[_0x48bfe5(0x164)]=_0x48bfe5(0x128);const _0x37024c=_0x809131,_0x46bf40=bsSetupHelper[_0x48bfe5(0x1b2)](_0xaea935),_0xdd279d=bsSetupHelper[_0x48bfe5(0xe4)](_0xaea935);if(bsSetupHelper[_0x48bfe5(0x116)](_0x46bf40)||bsSetupHelper[_0x48bfe5(0x116)](_0xdd279d))return logger[_0x48bfe5(0xd3)](_0x37024c[_0x48bfe5(0x13b)]),[null,null];try{let _0x52b71b;bsSetupHelper[_0x48bfe5(0x116)](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])?_0x52b71b={}:_0x52b71b=JSON[_0x48bfe5(0x181)](process[_0x48bfe5(0x101)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']);const {name:_0x2a6735,version:_0xca2368}=bsSetupHelper[_0x48bfe5(0x11d)](_0xaea935,_0x1842fc),_0x209684={'projectName':_0xaea935[_0x48bfe5(0x121)],'buildName':_0xaea935[_0x48bfe5(0x1b9)]||path[_0x48bfe5(0xbe)](path[_0x48bfe5(0xdb)](process[_0x48bfe5(0xc6)]())),'startTime':new Date()['toISOString'](),'description':_0xaea935['buildDescription']||'','source':{'frameworkName':_0x1842fc[_0x48bfe5(0xd8)](_0x37024c[_0x48bfe5(0xfa)])?_0x37024c[_0x48bfe5(0xfa)]:_0x1842fc,'frameworkVersion':bsSetupHelper[_0x48bfe5(0x11f)](_0x1842fc),'sdkVersion':bsSetupHelper[_0x48bfe5(0x1aa)](),'language':_0x37024c[_0x48bfe5(0x186)],'testFramework':_0x2a6735,'testFrameworkVersion':_0xca2368},'settings':_0x52b71b,'versionControl':await bsSetupHelper[_0x48bfe5(0x197)](),'ciInfo':bsSetupHelper[_0x48bfe5(0x160)](),'hostInfo':bsSetupHelper[_0x48bfe5(0x118)](),'browserstackAutomation':bsSetupHelper['isBrowserstackInfra']()},_0x10e4ff={};_0x10e4ff[_0x48bfe5(0x15a)]=_0x46bf40,_0x10e4ff['pass']=_0xdd279d;const _0x3b703b={};_0x3b703b[_0x48bfe5(0x16d)]=_0x37024c[_0x48bfe5(0xf8)];const _0x34bfc3={};_0x34bfc3[_0x48bfe5(0xe8)]=_0x10e4ff,_0x34bfc3[_0x48bfe5(0x171)]=_0x3b703b;const _0x384915=_0x34bfc3,_0x36053f={};_0x36053f[_0x48bfe5(0x16e)]=_0x209684,_0x36053f[_0x48bfe5(0x19b)]=!![];const _0x181f7c=Object[_0x48bfe5(0x173)](_0x384915,_0x36053f),_0x5077b4=await bsSetupHelper[_0x48bfe5(0x18f)](_0x37024c[_0x48bfe5(0x112)],_0x37024c[_0x48bfe5(0x15d)],_0x181f7c,_0xaea935,API_URL);let _0x1087ec=process[_0x48bfe5(0x101)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'];return _0x1087ec?_0x1087ec=JSON[_0x48bfe5(0x181)](process[_0x48bfe5(0x101)][_0x48bfe5(0x157)]):_0x1087ec={},scripts['parseFromJson'](_0x5077b4[_0x48bfe5(0x149)][_0x48bfe5(0x149)]),scripts[_0x48bfe5(0x18c)](),_0x1087ec[_0x48bfe5(0x114)]=_0x5077b4[_0x48bfe5(0x149)][_0x48bfe5(0x149)][_0x48bfe5(0x114)],process['env'][_0x48bfe5(0x157)]=JSON[_0x48bfe5(0xc4)](_0x1087ec),[_0x5077b4[_0x48bfe5(0x149)]['data'][_0x48bfe5(0x185)],_0x5077b4[_0x48bfe5(0x149)][_0x48bfe5(0x149)]['id']];}catch(_0x23e78d){if(_0x23e78d['response'])logger['error'](_0x48bfe5(0x1b6)+_0x23e78d['response']['status']+'\x20'+_0x23e78d['response']['statusText']+'\x20'+JSON['stringify'](_0x23e78d[_0x48bfe5(0x113)][_0x48bfe5(0x149)]));else{if(_0x37024c[_0x48bfe5(0x11b)](_0x23e78d[_0x48bfe5(0x146)],_0x37024c['gAIhP'])){logger[_0x48bfe5(0xd3)](_0x48bfe5(0x1b6)+(_0x23e78d['message']||_0x23e78d['stack']));for(const _0x59ad68 of _0x23e78d[_0x48bfe5(0x11a)]){logger['error'](_0x59ad68['message']);}process[_0x48bfe5(0x101)][_0x48bfe5(0x13f)]=_0x37024c['OrujM'],process['env'][_0x48bfe5(0xd6)]=_0x37024c['OrujM'];}else logger['error'](_0x48bfe5(0x1b6)+(_0x23e78d[_0x48bfe5(0x146)]||_0x23e78d['stack']));}return[null,null];}}),exports[a123_0x5943fb(0xcf)]=PerformanceTester[a123_0x5943fb(0xb1)](a123_0x5943fb(0xf4),async function(_0x560d9e){const _0x38c6c2=a123_0x5943fb,_0x4dcff3={};_0x4dcff3[_0x38c6c2(0x1b5)]=function(_0x15ceba,_0x37bc4a){return _0x15ceba!==_0x37bc4a;},_0x4dcff3[_0x38c6c2(0x17d)]=_0x38c6c2(0xb4),_0x4dcff3[_0x38c6c2(0x136)]='error',_0x4dcff3[_0x38c6c2(0xee)]=_0x38c6c2(0x163),_0x4dcff3[_0x38c6c2(0x184)]='application/json',_0x4dcff3['DTuif']='PUT',_0x4dcff3[_0x38c6c2(0xcb)]='test_runs/stop',_0x4dcff3[_0x38c6c2(0x166)]=function(_0x5d37ef,_0xa8a37){return _0x5d37ef+_0xa8a37;},_0x4dcff3[_0x38c6c2(0xf2)]=_0x38c6c2(0x178),_0x4dcff3[_0x38c6c2(0xae)]='success';const _0x314f0d=_0x4dcff3;if(bsSetupHelper[_0x38c6c2(0x116)](process[_0x38c6c2(0x101)][_0x38c6c2(0x131)])||_0x314f0d[_0x38c6c2(0x1b5)](typeof process['env'][_0x38c6c2(0x131)],_0x314f0d[_0x38c6c2(0x17d)])){const _0x374f9b={};return _0x374f9b['status']=_0x314f0d[_0x38c6c2(0x136)],_0x374f9b['message']=_0x314f0d[_0x38c6c2(0xee)],_0x374f9b;}const _0x1a1db5={'endTime':new Date()[_0x38c6c2(0x162)]()},_0x493e2a={};_0x493e2a[_0x38c6c2(0xbf)]=_0x38c6c2(0x16b)+process['env'][_0x38c6c2(0x131)],_0x493e2a['Content-Type']=_0x314f0d[_0x38c6c2(0x184)];const _0x177c47={};_0x177c47[_0x38c6c2(0x171)]=_0x493e2a;const _0x1efe48=_0x177c47,_0x48ff26={};_0x48ff26[_0x38c6c2(0x16e)]=_0x1a1db5,_0x48ff26[_0x38c6c2(0xe8)]=null,_0x48ff26['json']=!![];const _0x1c8977=Object['assign'](_0x1efe48,_0x48ff26);try{const _0x3ef8ee=await bsSetupHelper['nodeRequest'](_0x314f0d[_0x38c6c2(0x13c)],_0x314f0d[_0x38c6c2(0xcb)],_0x1c8977,_0x560d9e,API_URL);if(_0x3ef8ee[_0x38c6c2(0x149)][_0x38c6c2(0xd3)])throw new Error(_0x314f0d[_0x38c6c2(0x166)](_0x314f0d['arJQD'],_0x3ef8ee[_0x38c6c2(0x149)][_0x38c6c2(0xd3)]));else{logger[_0x38c6c2(0x156)]('BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20'+new Date()['toISOString']());const _0x13f0d4={};return _0x13f0d4[_0x38c6c2(0xbd)]=_0x314f0d[_0x38c6c2(0xae)],_0x13f0d4[_0x38c6c2(0x146)]='',_0x13f0d4;}}catch(_0x2c0cd8){_0x2c0cd8[_0x38c6c2(0x113)]?logger[_0x38c6c2(0xd3)](_0x38c6c2(0xec)+_0x2c0cd8[_0x38c6c2(0x113)]['status']+'\x20'+_0x2c0cd8[_0x38c6c2(0x113)]['statusText']+'\x20'+JSON[_0x38c6c2(0xc4)](_0x2c0cd8[_0x38c6c2(0x113)][_0x38c6c2(0x149)])):logger['error'](_0x38c6c2(0xec)+(_0x2c0cd8[_0x38c6c2(0x146)]||util[_0x38c6c2(0x14d)](_0x2c0cd8)));const _0xd1d254={};return _0xd1d254['status']=_0x314f0d[_0x38c6c2(0x136)],_0xd1d254['message']=_0x2c0cd8['message']||(_0x2c0cd8[_0x38c6c2(0x113)]?_0x2c0cd8[_0x38c6c2(0x113)][_0x38c6c2(0xbd)]+':'+_0x2c0cd8[_0x38c6c2(0x113)][_0x38c6c2(0x105)]:_0x2c0cd8),_0xd1d254;}}),exports[a123_0x5943fb(0x198)]=async(_0x10716a,_0x356f0b=null,_0x12eb89=![],_0x4564e8=null)=>{const _0x7b86d1=a123_0x5943fb,_0x4dd7ac={};_0x4dd7ac['pEUGu']='isAccessibilityPlatform',_0x4dd7ac[_0x7b86d1(0xda)]=_0x7b86d1(0x117),_0x4dd7ac[_0x7b86d1(0x161)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.',_0x4dd7ac[_0x7b86d1(0xff)]=function(_0x249b66,_0x109d95){return _0x249b66||_0x109d95;},_0x4dd7ac[_0x7b86d1(0xca)]='bstackA11yScanOptions',_0x4dd7ac[_0x7b86d1(0xc3)]='performScan:\x20Mobile\x20capabilities\x20added\x20to\x20scan\x20arguments';const _0xb532b5=_0x4dd7ac;if(!this['isAccessibilityAutomationSession']()||!globals[_0x7b86d1(0x13d)](_0xb532b5[_0x7b86d1(0xc2)])||!_0x12eb89&&!globals[_0x7b86d1(0x13d)](_0xb532b5['CAluR'])){logger['warn'](_0xb532b5['hcyEe']);return;}const _0x2f0868=_0x12eb89?_0xb532b5[_0x7b86d1(0xff)](_0x4564e8,{}):globals[_0x7b86d1(0x13d)](_0xb532b5[_0x7b86d1(0xca)])||{},_0x3cb973={};_0x3cb973['method']=_0x356f0b||global[_0x7b86d1(0xf7)];const _0x5add6a=Object[_0x7b86d1(0x173)]({},_0x2f0868,_0x3cb973);await this[_0x7b86d1(0x120)](_0x10716a)&&(Object['assign'](_0x5add6a,this[_0x7b86d1(0x12f)](),{'thTestRunUuid':this[_0x7b86d1(0x175)]()}),logger[_0x7b86d1(0x127)](_0xb532b5[_0x7b86d1(0xc3)]));logger[_0x7b86d1(0x127)](_0x7b86d1(0xde)+util[_0x7b86d1(0x14d)]('%j',_0x5add6a));const _0x5004b7={};return _0x5004b7[_0x7b86d1(0x1b4)]=_0x356f0b,await PerformanceTester[_0x7b86d1(0xb1)](PerformanceA11yEvents[_0x7b86d1(0xc8)],async()=>{const _0x2ec97c=_0x7b86d1;try{await _0x10716a[_0x2ec97c(0x18e)](()=>_0x10716a[_0x2ec97c(0x106)](_0x2ec97c(0x14f)),0x1388);}catch(_0x23d6df){}const _0x1754b6=util[_0x2ec97c(0x14d)](await _0x10716a['executeAsyncScript'](scripts['performScan'],_0x5add6a));return logger[_0x2ec97c(0x127)](_0x2ec97c(0xf3)+_0x1754b6),_0x1754b6;},_0x5004b7)();},exports['getAccessibilityResults']=async(_0x2ab2ec,_0x558fe5)=>{const _0x259b47=a123_0x5943fb,_0x30d61d={};_0x30d61d[_0x259b47(0xea)]=_0x259b47(0xe7),_0x30d61d[_0x259b47(0x133)]=_0x259b47(0x123),_0x30d61d[_0x259b47(0xdd)]='bstackA11yShouldScan',_0x30d61d['tGTNN']='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.',_0x30d61d[_0x259b47(0x190)]='getAccessibilityResults',_0x30d61d[_0x259b47(0x108)]=_0x259b47(0x168);const _0x444b6d=_0x30d61d;if(!this[_0x259b47(0x196)]()||!globals[_0x259b47(0x13d)](_0x444b6d['zLddf'])||!globals[_0x259b47(0x13d)](_0x444b6d[_0x259b47(0xdd)]))return logger['warn'](_0x444b6d['tGTNN']),[];try{const _0xb30c04=await this[_0x259b47(0x120)](_0x2ab2ec),_0x53b631=_0xb30c04?Object[_0x259b47(0x173)]({},this['getMobileA11yCapabilities'](),{'thTestRunUuid':this[_0x259b47(0x175)]()}):{};return _0xb30c04&&logger['debug'](_0x259b47(0x17e)+util['format']('%j',_0x53b631)),await PerformanceTester[_0x259b47(0xb1)](PerformanceA11yEvents[_0x259b47(0xc8)],async()=>{const _0x415ce9=_0x259b47;logger[_0x415ce9(0x127)](_0x444b6d[_0x415ce9(0xea)]);const _0xcc6a07={};_0xcc6a07[_0x415ce9(0x177)]=_0x558fe5['browserstackSessionName'];const _0x5e2fc4=Object[_0x415ce9(0x173)](_0xcc6a07,_0x53b631);logger[_0x415ce9(0x127)](util[_0x415ce9(0x14d)](await _0x2ab2ec['executeAsyncScript'](scripts[_0x415ce9(0x198)],_0x5e2fc4)));},{'command':_0x444b6d[_0x259b47(0x190)]})(),await PerformanceTester[_0x259b47(0xb1)](PerformanceA11yEvents[_0x259b47(0x18a)],async()=>{const _0x3ebdf6=_0x259b47,_0x44d105=_0xb30c04?await _0x2ab2ec[_0x3ebdf6(0xfc)](scripts[_0x3ebdf6(0xd9)],_0x53b631):await _0x2ab2ec[_0x3ebdf6(0xfc)](scripts['getResults']);return _0x44d105;})();}catch{return logger['error'](_0x444b6d[_0x259b47(0x108)]),[];}},exports['getAccessibilityResultsSummary']=async(_0x3b6673,_0x4b6d62)=>{const _0x11abf0=a123_0x5943fb,_0x154f50={};_0x154f50[_0x11abf0(0xcc)]=_0x11abf0(0x15f),_0x154f50['MvnqN']=_0x11abf0(0x123),_0x154f50[_0x11abf0(0x140)]=_0x11abf0(0x117),_0x154f50['GcpUE']='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.',_0x154f50[_0x11abf0(0x11e)]=_0x11abf0(0x19d),_0x154f50['fTgSo']=_0x11abf0(0x12d);const _0x41cb31=_0x154f50;if(!this[_0x11abf0(0x196)]()||!globals[_0x11abf0(0x13d)](_0x41cb31[_0x11abf0(0x12a)])||!globals[_0x11abf0(0x13d)](_0x41cb31['uXYAJ']))return logger[_0x11abf0(0xc7)](_0x41cb31['GcpUE']),{};try{const _0x3f4c64=await this[_0x11abf0(0x120)](_0x3b6673),_0xb22881=_0x3f4c64?Object[_0x11abf0(0x173)]({},this[_0x11abf0(0x12f)](),{'thTestRunUuid':this[_0x11abf0(0x175)]()}):{};return _0x3f4c64&&logger['debug'](_0x11abf0(0xe5)+util[_0x11abf0(0x14d)]('%j',_0xb22881)),await PerformanceTester[_0x11abf0(0xb1)](PerformanceA11yEvents[_0x11abf0(0xc8)],async()=>{const _0x43a104=_0x11abf0;logger[_0x43a104(0x127)](_0x41cb31[_0x43a104(0xcc)]);const _0x461c51={};_0x461c51[_0x43a104(0x177)]=_0x4b6d62[_0x43a104(0xf7)];const _0x293240=Object[_0x43a104(0x173)](_0x461c51,_0xb22881);logger[_0x43a104(0x127)](util['format'](await _0x3b6673[_0x43a104(0xfc)](scripts[_0x43a104(0x198)],_0x293240)));},{'command':_0x41cb31[_0x11abf0(0x11e)]})(),await PerformanceTester[_0x11abf0(0xb1)](PerformanceA11yEvents[_0x11abf0(0x183)],async()=>{const _0x5c7b80=_0x11abf0,_0xf705e4=_0x3f4c64?await _0x3b6673[_0x5c7b80(0xfc)](scripts[_0x5c7b80(0xb3)],_0xb22881):await _0x3b6673[_0x5c7b80(0xfc)](scripts['getResultsSummary']);return _0xf705e4;})();}catch{return logger[_0x11abf0(0xd3)](_0x41cb31[_0x11abf0(0x155)]),{};}},exports[a123_0x5943fb(0xb6)]=(_0x5473bf,_0x26508e=![])=>{const _0x9f02e1=a123_0x5943fb,_0x26ece2={'srRqe':function(_0x112cc,_0x5d01da){return _0x112cc(_0x5d01da);},'cRVua':function(_0x3e8933,_0x20e1fb){return _0x3e8933(_0x20e1fb);},'UTjUu':_0x9f02e1(0xd4),'zcuLC':function(_0x73f969,_0x30338c){return _0x73f969!==_0x30338c;},'fzxXg':_0x9f02e1(0x152),'OaKSa':function(_0x36b004,_0x4a6806){return _0x36b004(_0x4a6806);},'jJNUb':function(_0x5a8a30,_0x24c193){return _0x5a8a30(_0x24c193);},'LyHUs':_0x9f02e1(0xf9),'mePLP':'chrome','YGclk':_0x9f02e1(0x12b),'awQZN':'Session\x20is\x20identified\x20as\x20mobile\x20accessibility\x20platform\x20(Android\x20+\x20Chrome)'};try{if(!_0x5473bf)return![];const _0x1e9374=_0x3ed7c1=>typeof _0x5473bf[_0x9f02e1(0x1a0)]===_0x9f02e1(0x1a4)?_0x5473bf[_0x9f02e1(0x1a0)](_0x3ed7c1):_0x5473bf[_0x3ed7c1],_0x30541e=_0x26ece2[_0x9f02e1(0x1b0)](String,_0x26ece2[_0x9f02e1(0x189)](_0x1e9374,_0x26ece2[_0x9f02e1(0x122)])||'')[_0x9f02e1(0xc9)]();if(_0x26ece2[_0x9f02e1(0xc1)](_0x30541e,_0x26ece2[_0x9f02e1(0xd5)]))return![];const _0x13bdec=_0x26ece2[_0x9f02e1(0x16f)](String,_0x26ece2['jJNUb'](_0x1e9374,_0x26ece2[_0x9f02e1(0x1a9)])||'')[_0x9f02e1(0xc9)]();if(!_0x13bdec[_0x9f02e1(0xd8)](_0x26ece2['mePLP']))return _0x26508e&&logger[_0x9f02e1(0xc7)](_0x26ece2[_0x9f02e1(0x180)]),![];return logger['debug'](_0x26ece2[_0x9f02e1(0x16a)]),!![];}catch(_0xee108a){return logger[_0x9f02e1(0x127)](_0x9f02e1(0xe1)+_0xee108a),![];}},exports['isMobileAccessibilitySession']=async _0x49b1b2=>{const _0x42d768=a123_0x5943fb;try{const _0x46d36c=await _0x49b1b2[_0x42d768(0xe2)]();return exports['isMobileAccessibilityPlatform'](_0x46d36c);}catch(_0x3e2116){return logger[_0x42d768(0x127)](_0x42d768(0x132)+_0x3e2116),![];}},exports[a123_0x5943fb(0x12f)]=()=>{const _0x5db802=a123_0x5943fb,_0x2c83cf={};return _0x2c83cf[_0x5db802(0x13a)]=!![],_0x2c83cf;},exports[a123_0x5943fb(0x175)]=()=>{const _0x211143=a123_0x5943fb,_0xb5572f={};_0xb5572f[_0x211143(0x19e)]=function(_0x2838a0,_0x1c08b8){return _0x2838a0===_0x1c08b8;},_0xb5572f[_0x211143(0x169)]=_0x211143(0xb4),_0xb5572f['bXTZf']=function(_0x5a1659,_0x47f2eb){return _0x5a1659>_0x47f2eb;},_0xb5572f[_0x211143(0xb2)]=_0x211143(0xbc),_0xb5572f['htRZv']=_0x211143(0x187),_0xb5572f[_0x211143(0x1ba)]=_0x211143(0x195);const _0x5ba659=_0xb5572f,_0x1ed54f=global[_0x211143(0xf1)],_0x474a5c=_0x1ed54f&&_0x1ed54f['currentTest'],_0x1587c2=_0x474a5c&&_0x474a5c[_0x211143(0x103)];if(_0x5ba659['HpJSv'](typeof _0x1587c2,_0x5ba659[_0x211143(0x169)])&&_0x5ba659[_0x211143(0x17b)](_0x1587c2[_0x211143(0x1bd)],0x0))return _0x1587c2;let _0x20ba4d;if(!_0x1ed54f)_0x20ba4d=_0x5ba659[_0x211143(0xb2)];else!_0x474a5c?_0x20ba4d=_0x5ba659['htRZv']:_0x20ba4d='global.__workerDetails.currentTest\x20exists\x20with\x20keys\x20['+Object[_0x211143(0x143)](_0x474a5c)['join'](',\x20')+_0x211143(0x102)+(_0x5ba659['HpJSv'](_0x1587c2,undefined)?_0x5ba659[_0x211143(0x1ba)]:'\x22'+_0x1587c2+'\x22')+'.\x20The\x20framework\x20setup\x20hook\x20is\x20not\x20writing\x20thTestRunUuid\x20onto\x20currentTest.';return logger[_0x211143(0xc7)](_0x211143(0x148)+_0x20ba4d+_0x211143(0x1bb)),'';},exports[a123_0x5943fb(0x1a6)]=_0x1ff1bc=>{const _0x54d941=a123_0x5943fb,_0xec2541={};_0xec2541[_0x54d941(0xf5)]=function(_0x16f7ba,_0x153e48){return _0x16f7ba===_0x153e48;},_0xec2541[_0x54d941(0xe6)]=_0x54d941(0xb4),_0xec2541[_0x54d941(0x1c0)]=_0x54d941(0x19a);const _0x3d6230=_0xec2541;if(_0x1ff1bc&&_0x1ff1bc['script']&&_0x3d6230[_0x54d941(0xf5)](typeof _0x1ff1bc[_0x54d941(0x10f)],_0x3d6230[_0x54d941(0xe6)]))return _0x1ff1bc[_0x54d941(0x10f)]['includes'](_0x3d6230[_0x54d941(0x1c0)]);return![];},exports[a123_0x5943fb(0x188)]=a123_0x5943fb(0x1ae),exports[a123_0x5943fb(0x172)]=()=>process['env'][a123_0x5943fb(0x19c)]===a123_0x5943fb(0xce),exports['isBrowserSupportedForAccessibility']=_0x4fcd94=>{const _0x9529e4=a123_0x5943fb,_0x5696b7={};_0x5696b7[_0x9529e4(0xb8)]=function(_0x56da97,_0x555599){return _0x56da97 in _0x555599;};const _0x1bc04e=_0x5696b7;if(bsSetupHelper[_0x9529e4(0x116)](_0x4fcd94))return![];const _0x134a9c=_0x4fcd94[_0x9529e4(0xc9)]();return _0x1bc04e[_0x9529e4(0xb8)](_0x134a9c,ACCESSIBILITY_SUPPORTED_BROWSERS);},exports[a123_0x5943fb(0x199)]=_0x3257cb=>{const _0x33c5e8=a123_0x5943fb;if(bsSetupHelper[_0x33c5e8(0x116)](_0x3257cb))return null;const _0x31bc4c=_0x3257cb[_0x33c5e8(0xc9)]();return ACCESSIBILITY_SUPPORTED_BROWSERS[_0x31bc4c]||null;},exports[a123_0x5943fb(0x1a2)]=(_0x52bd7e,_0x542701)=>{const _0x41ee38=a123_0x5943fb,_0x41c781=this[_0x41ee38(0x199)](_0x52bd7e);if(!_0x41c781)return null;if(_0x542701)return _0x41c781[_0x41ee38(0xc0)];return _0x41c781[_0x41ee38(0x100)];},exports[a123_0x5943fb(0xdc)]=_0xbfc4be=>{const _0x3c78e4=a123_0x5943fb,_0x4eb957=this[_0x3c78e4(0x199)](_0xbfc4be);return _0x4eb957?_0x4eb957[_0x3c78e4(0xb5)]:_0xbfc4be;},exports['requiresChromeOptionsValidation']=_0x195799=>{const _0x52c1e1=a123_0x5943fb,_0x3605f1=this['getBrowserA11yConfig'](_0x195799);return _0x3605f1?_0x3605f1[_0x52c1e1(0xd0)]:![];},exports[a123_0x5943fb(0x104)]=(_0x2fdb71,_0x5189cc)=>{const _0x5d8554=a123_0x5943fb,_0x40a173={'uyOVG':function(_0x4a82d7,_0x1b6abe){return _0x4a82d7(_0x1b6abe);},'xRiSw':function(_0x366d7f,_0xabfccb){return _0x366d7f(_0xabfccb);},'ioxYS':function(_0x7b22e1,_0x501710){return _0x7b22e1>=_0x501710;}};if(bsSetupHelper[_0x5d8554(0x116)](_0x2fdb71)||bsSetupHelper[_0x5d8554(0x116)](_0x5189cc))return![];const _0x3d2559=bsSetupHelper[_0x5d8554(0x115)](_0x40a173[_0x5d8554(0x1b1)](String,_0x2fdb71),_0x40a173['xRiSw'](String,_0x5189cc));return _0x40a173['ioxYS'](_0x3d2559,0x0);},exports[a123_0x5943fb(0xfb)]=_0x348b74=>{const _0x499804=a123_0x5943fb,_0x1d95fb={};_0x1d95fb[_0x499804(0x10e)]=function(_0x35d659,_0x5afcbc){return _0x35d659!==_0x5afcbc;},_0x1d95fb[_0x499804(0x1bc)]=_0x499804(0xb4),_0x1d95fb['VXAKY']=_0x499804(0x1a1);const _0x46f8ee=_0x1d95fb;if(!_0x348b74||_0x46f8ee[_0x499804(0x10e)](typeof _0x348b74,_0x46f8ee[_0x499804(0x1bc)]))return null;try{return JSON[_0x499804(0x181)](Buffer[_0x499804(0x17a)](_0x348b74[_0x499804(0x125)]('.')[0x1],_0x46f8ee[_0x499804(0x1a7)])[_0x499804(0xe0)]());}catch{return null;}};
|
|
1
|
+
function a123_0x2929(_0x3fcb1f,_0x3444c0){const _0x329359=a123_0x3293();return a123_0x2929=function(_0x2929b3,_0x9825a9){_0x2929b3=_0x2929b3-0x15f;let _0xf80e03=_0x329359[_0x2929b3];return _0xf80e03;},a123_0x2929(_0x3fcb1f,_0x3444c0);}function a123_0x3293(){const _0x560f0c=['Performed\x20scan\x20with\x20result:\x20','aReBQ','wMjDC','WjCyC','Options','error','nKCrE','oiCgF','projectName','v2/test_runs','67491wSfDLm','Invalid\x20configuration\x20passed.','length','util','EsgXR',']\x20but\x20thTestRunUuid\x20is\x20','dbDdZ','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','env','split','statusText','trim','1921140QEOvVN','UjPSc','SItGZ','Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20','device','NgJyI','BhJeQ','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','parse','getHostInfo','undefined','isBrowserstackInfra','assign','756488oxyQYs','DJdXv','getBrowserVersion','../logger','getAccessibilityResultsSummary:\x20Mobile\x20session\x20detected,\x20args:\x20','getMinVersionForBrowser','24384MSiVOU','map','getCapabilities','message','version','FOFfy','__workerDetails','peOZr','startsWith','LfjJI','selenium-webdriver/chrome.js','info','function','createAccessibilityTestRun','pzlbL','yjmQJ','replace','isAccessibilityAutomationSession','VUrpR','getAccessibilityResults','thTestRunUuid','browserstack','dxqHp','FxuWr','--headless=new','730InOKDv','cwd','fetchPlatformDetails','PRdff','OmTha','nonBstackPlatformValidation','global.__workerDetails\x20exists\x20but\x20.currentTest\x20is\x20undefined\x20—\x20scan\x20fired\x20outside\x20a\x20test\x20body\x20(before/beforeAll\x20hook,\x20or\x20between\x20tests).','performScan:\x20Mobile\x20capabilities\x20added\x20to\x20scan\x20arguments','shouldScanTestForAccessibility','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','application/json','javascript','[Accessibility]\x20Mobile\x20scan\x20requested\x20but\x20thTestRunUuid\x20not\x20resolvable:\x20','Authorization','FCAMs','auth','PUT','toISOString','chromeOptions_','MAtSk','512EFsXJU','performScan','../helper','currentTest','ccuga','wCZVp','xjOeo','KfyAC','rNadK','fFaTz','some','includes','capabilities_','112362LVcMdi','Mobile\x20Accessibility\x20Automation\x20is\x20not\x20enabled\x20for\x20your\x20account.\x20Accessibility\x20scans\x20will\x20be\x20skipped\x20on\x20mobile\x20sessions.\x20Contact\x20BrowserStack\x20to\x20enable\x20mobile\x20accessibility\x20scanning.','requiresChromeOptionsValidation','YfZKc','true','requires_chrome_options_check','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token','qTzOK','QGhGL','hYFel','accessibilityToken','getPlatformVersion','pass','platformName','TghvW','isTrue','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','Error\x20checking\x20mobile\x20accessibility\x20session:\x20','EfdfD','getPlatform','isArray','Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20','toJson','format','njMHt','BbGPP','response','get','MOBILE_SCANNING_DISABLED_WARNING','deviceName','getBrowserDisplayName','GvsoQ','../performance/performance-tester','global.__workerDetails.currentTest\x20exists\x20with\x20keys\x20[','user','GIZGN','xXIfT','getResultsSummary','toLowerCase','PpgyJ','forEach','test_runs/stop','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','chromeOptions','options_','BS_A11Y_JWT','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','getAgentVersion','YDgnz','browserstack_executor','cVWqP','return\x20document.readyState\x20===\x20\x22complete\x22','ZVbbI','hzYAi','xadWN','ChromeExtension','browserstackSessionName','qsqjQ','XGIUy','data','getAccessibilityResults:\x20Mobile\x20session\x20detected,\x20args:\x20','parseFromJson','executeAsyncScript','getGlobal','GET_RESULTS_SUMMARY','--headless=','OgwSt','min_version_non_browserstack','excludeTagsInTestingScope','LGoAL','57302wmbPIq','resolveMobileThTestRunUuid','keys','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','chrome','dUcJw','MVSAD','rLsvK','LzCwR','false','./constants','args','YBXGU','__cloud_provider___','bbMWy','warn','script','Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20','stopAccessibilityTestRun','a11y:stop','isMobileAccessibilitySession','bstackA11yScanOptions','getAccessKey','SWmFm','stringify','Gyjgx','xuRiB','wKrcI','DWSTb','PdSsF','pgcUR','isUndefined','getUserName','TSdsS','executeScript','Bearer\x20','getTestFrameworkDetails','Invalid\x20request:\x20','KUlNi','buildDescription','VSADB','is_mobile_session','isAccessibilityPlatform','path','Session\x20is\x20identified\x20as\x20mobile\x20accessibility\x20platform\x20(Android\x20+\x20Chrome)','min_version_browserstack','stack','string','sKNbZ','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.','getMobileA11yCapabilities','526120eqZVFL','checkAccessibilityPlatformConfig','--headless','isMobileAccessibilityPlatform','No\x20accessibility\x20summary\x20was\x20found.','Content-Type','nestedKeyValue','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20','qHOcu','GET_RESULTS','DIjFc','status','mBGaJ','a11y:start','Nrisu','playwright','getResults','YccIE','winstonLogger','isBrowserSupportedForAccessibility','xQxFu','nodeRequest','lPhPa','display_name','507zuHerN','errors','gAXrT','FwThl','join','browserVersion','buildName','YiAGb','PERFORM_SCAN','getGitMetaData','body','NWVwe','headers','./scripts','QrrRI','json','global.__workerDetails\x20is\x20undefined\x20—\x20no\x20test-framework\x20setup\x20hook\x20has\x20initialized\x20it\x20yet.\x20A\x20scan\x20is\x20likely\x20firing\x20before\x20the\x20test\x20started\x20(e.g.\x20from\x20a\x20before/beforeAll\x20hook\x20or\x20from\x20plain\x20Selenium\x20with\x20no\x20test\x20framework).','getPackageVersion','android','parseA11yJwtPayload','rCxjk','GOmrZ','wait','command','tVFbY','Performing\x20scan\x20before\x20getting\x20results\x20summary','Error\x20while\x20adding\x20Non-Bstack\x20capabilities:\x20','accessibility','measureWrapper','NUWHQ','isBrowserStackCommandExecutor','HvnrN','BROWSERSTACK_TEST_ACCESSIBILITY_YML','goog:chromeOptions','getBrowserName','Not\x20a\x20Accessibility\x20Session','AAKWP','includeTagsInTestingScope','No\x20accessibility\x20results\x20were\x20found.','platforms','MEiZv','HAMQH','debug','set'];a123_0x3293=function(){return _0x560f0c;};return a123_0x3293();}const a123_0x3967b3=a123_0x2929;(function(_0x41755d,_0x522559){const _0x392513=a123_0x2929,_0x3762af=_0x41755d();while(!![]){try{const _0x2a3a85=parseInt(_0x392513(0x23a))/0x1+parseInt(_0x392513(0x22d))/0x2+parseInt(_0x392513(0x1eb))/0x3*(-parseInt(_0x392513(0x240))/0x4)+-parseInt(_0x392513(0x1d3))/0x5+-parseInt(_0x392513(0x27a))/0x6+-parseInt(_0x392513(0x1a0))/0x7*(parseInt(_0x392513(0x26d))/0x8)+parseInt(_0x392513(0x221))/0x9*(parseInt(_0x392513(0x259))/0xa);if(_0x2a3a85===_0x522559)break;else _0x3762af['push'](_0x3762af['shift']());}catch(_0x4aa155){_0x3762af['push'](_0x3762af['shift']());}}}(a123_0x3293,0x8f2a6));const path=require(a123_0x3967b3(0x1cb)),util=require(a123_0x3967b3(0x224)),bsSetupHelper=require(a123_0x3967b3(0x26f)),logger=require(a123_0x3967b3(0x23d))[a123_0x3967b3(0x1e5)],{API_URL,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY,ACCESSIBILITY_SUPPORTED_BROWSERS}=require(a123_0x3967b3(0x1aa)),PerformanceTester=require(a123_0x3967b3(0x17a)),scripts=require(a123_0x3967b3(0x1f8)),globals=require('../globals'),{A11Y_EVENTS:PerformanceA11yEvents}=require('../performance/constants');exports[a123_0x3967b3(0x25b)]=async _0x3e960c=>{const _0xac4945=a123_0x3967b3,_0x20555d={};_0x20555d[_0xac4945(0x163)]=function(_0x25e0ae,_0x2452fc){return _0x25e0ae===_0x2452fc;},_0x20555d[_0xac4945(0x17e)]=_0xac4945(0x255);const _0x2c1597=_0x20555d;let _0x3e22d0={};try{const _0x2abf27=await _0x3e960c[_0xac4945(0x242)]();_0x3e22d0={'os_name':_0x2abf27[_0xac4945(0x16d)](),'os_version':bsSetupHelper[_0xac4945(0x165)](_0x2c1597['hYFel'](global[_0xac4945(0x1ad)],_0x2c1597[_0xac4945(0x17e)])),'browser_name':_0x2abf27[_0xac4945(0x20d)](),'browser_version':_0x2abf27[_0xac4945(0x23c)]()};}catch(_0x572958){logger[_0xac4945(0x215)](_0xac4945(0x1a3)+_0x572958);}return _0x3e22d0;},exports['isAccessibilityAutomationSession']=()=>{const _0x43fe05=a123_0x3967b3,_0x3bf4cb={};_0x3bf4cb[_0x43fe05(0x25c)]=function(_0xef09bb,_0x4a9232){return _0xef09bb===_0x4a9232;},_0x3bf4cb[_0x43fe05(0x24e)]='string',_0x3bf4cb[_0x43fe05(0x1b9)]=function(_0x517fd6,_0x376df3){return _0x517fd6>_0x376df3;},_0x3bf4cb['qHOcu']=function(_0x5b3647,_0x4f25a7){return _0x5b3647!==_0x4f25a7;},_0x3bf4cb['dUcJw']='null',_0x3bf4cb[_0x43fe05(0x16c)]=function(_0x47b46a,_0xc47f96){return _0x47b46a&&_0xc47f96;};const _0x5b2a44=_0x3bf4cb;try{const _0x104680=bsSetupHelper[_0x43fe05(0x169)](process[_0x43fe05(0x229)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'])||bsSetupHelper[_0x43fe05(0x169)](process[_0x43fe05(0x229)][_0x43fe05(0x184)]),_0x2a369b=_0x5b2a44[_0x43fe05(0x25c)](typeof process['env']['BS_A11Y_JWT'],_0x5b2a44[_0x43fe05(0x24e)])&&_0x5b2a44[_0x43fe05(0x1b9)](process[_0x43fe05(0x229)]['BS_A11Y_JWT'][_0x43fe05(0x223)],0x0)&&_0x5b2a44[_0x43fe05(0x1db)](process[_0x43fe05(0x229)][_0x43fe05(0x187)],_0x5b2a44[_0x43fe05(0x1a5)]);return _0x5b2a44['EfdfD'](_0x104680,_0x2a369b);}catch(_0x2fcc41){logger[_0x43fe05(0x215)](_0x43fe05(0x1b1)+_0x2fcc41);}return![];},exports[a123_0x3967b3(0x25e)]=(_0x42ba3f,_0x57aa21)=>{const _0x1fb93e=a123_0x3967b3,_0x59d04f={'LGoAL':'browserName','MYjke':function(_0x2c08b6,_0x1a5017){return _0x2c08b6(_0x1a5017);},'KUlNi':_0x1fb93e(0x1f0),'sKNbZ':function(_0x4c1fe9,_0x16282c){return _0x4c1fe9(_0x16282c);},'OgwSt':_0x1fb93e(0x244),'YiAGb':'bstack:options','NgJyI':function(_0x1b1d5c,_0x2642ba){return _0x1b1d5c(_0x2642ba);},'YfZKc':_0x1fb93e(0x177),'xQxFu':_0x1fb93e(0x231),'rCxjk':_0x1fb93e(0x188),'xjOeo':_0x1fb93e(0x24a),'DWSTb':'selenium-webdriver','FOFfy':_0x1fb93e(0x186),'qTzOK':_0x1fb93e(0x1ab),'MVSAD':_0x1fb93e(0x185),'BbGPP':_0x1fb93e(0x262),'LfjJI':_0x1fb93e(0x20c),'wrSih':function(_0x3aeba6,_0x49504d){return _0x3aeba6===_0x49504d;},'XYWrn':_0x1fb93e(0x1a4),'wMjDC':function(_0x12a11e,_0x43dfd6){return _0x12a11e>=_0x43dfd6;}},_0x101f5e=_0x42ba3f['get'](_0x59d04f[_0x1fb93e(0x19f)]),_0x2b42dd=_0x59d04f['MYjke'](parseFloat,_0x42ba3f[_0x1fb93e(0x175)](_0x59d04f[_0x1fb93e(0x1c6)]))||_0x59d04f[_0x1fb93e(0x1d0)](parseFloat,_0x42ba3f[_0x1fb93e(0x175)](_0x59d04f[_0x1fb93e(0x19c)])),_0x49711d=_0x42ba3f[_0x1fb93e(0x175)](_0x59d04f[_0x1fb93e(0x1f2)])||{},_0xca215f=_0x59d04f[_0x1fb93e(0x232)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY),_0x77a70f=_0x49711d[_0x59d04f[_0x1fb93e(0x27d)]]||_0x42ba3f[_0x1fb93e(0x175)](_0x59d04f[_0x1fb93e(0x1e7)])||![];if(_0x77a70f)return logger[_0x1fb93e(0x1af)](_0x59d04f[_0x1fb93e(0x1ff)]),![];let _0x5417ac;try{_0x5417ac=bsSetupHelper['requireModule'](_0x59d04f[_0x1fb93e(0x273)],_0x59d04f[_0x1fb93e(0x1bc)]);}catch(_0xd8af6d){return![];}const _0x17e7f5=new _0x5417ac[(_0x1fb93e(0x21b))](_0x57aa21[_0x1fb93e(0x26b)]),_0x58accb=bsSetupHelper[_0x1fb93e(0x1d9)](_0x17e7f5,[_0x59d04f[_0x1fb93e(0x245)],_0x59d04f[_0x1fb93e(0x161)]])||bsSetupHelper[_0x1fb93e(0x1d9)](_0x57aa21[_0x1fb93e(0x279)],[_0x59d04f[_0x1fb93e(0x1f2)],_0x59d04f[_0x1fb93e(0x1a6)],_0x59d04f[_0x1fb93e(0x161)]])||bsSetupHelper[_0x1fb93e(0x1d9)](_0x57aa21[_0x1fb93e(0x279)],[_0x59d04f[_0x1fb93e(0x1a6)],_0x59d04f[_0x1fb93e(0x161)]])||[],_0x23d1d8=Array[_0x1fb93e(0x16e)](_0x58accb)?_0x58accb:[];if(_0x23d1d8[_0x1fb93e(0x277)](_0x7e1a11=>typeof _0x7e1a11===_0x1fb93e(0x1cf)&&(_0x7e1a11===_0x1fb93e(0x1d5)||_0x7e1a11[_0x1fb93e(0x248)](_0x1fb93e(0x19b))&&_0x7e1a11!==_0x1fb93e(0x258))))return logger[_0x1fb93e(0x1af)](_0x59d04f[_0x1fb93e(0x173)]),![];const _0x4b0723=_0x57aa21['capabilities_']||{},_0xb9c908=bsSetupHelper['nestedKeyValue'](_0x4b0723,[_0x59d04f[_0x1fb93e(0x249)]])||{},_0x2be2fc=bsSetupHelper[_0x1fb93e(0x1d9)](_0xb9c908,[_0x59d04f[_0x1fb93e(0x161)]])||[],_0xa6ac55=Array[_0x1fb93e(0x16e)](_0x2be2fc)?_0x2be2fc:[];if(_0xa6ac55[_0x1fb93e(0x277)](_0xf8052d=>typeof _0xf8052d==='string'&&(_0xf8052d==='--headless'||_0xf8052d[_0x1fb93e(0x248)](_0x1fb93e(0x19b))&&_0xf8052d!=='--headless=new')))return logger[_0x1fb93e(0x1af)](_0x59d04f['BbGPP']),![];if(_0x59d04f['wrSih'](_0x101f5e[_0x1fb93e(0x180)](),_0x59d04f['XYWrn'])&&_0x59d04f[_0x1fb93e(0x219)](_0x2b42dd,_0xca215f))return!![];return logger[_0x1fb93e(0x1af)](_0x1fb93e(0x1da)+MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY+'.'),![];},exports['setNonBstackInfraCapabilities']=_0xa851fc=>{const _0x4839bb=a123_0x3967b3,_0x3dd5c5={};_0x3dd5c5[_0x4839bb(0x233)]=_0x4839bb(0x20c),_0x3dd5c5[_0x4839bb(0x267)]=function(_0x455c62,_0x566a59){return _0x455c62||_0x566a59;},_0x3dd5c5[_0x4839bb(0x225)]=_0x4839bb(0x20e);const _0x3296a1=_0x3dd5c5,_0xf64d78=scripts[_0x4839bb(0x191)];try{const _0x41d732=bsSetupHelper[_0x4839bb(0x169)](process[_0x4839bb(0x229)][_0x4839bb(0x20b)])||bsSetupHelper[_0x4839bb(0x169)](process[_0x4839bb(0x229)][_0x4839bb(0x184)]);if((!bsSetupHelper['isBrowserstackInfra']()||process[_0x4839bb(0x229)]['BROWSERSTACK_TURBOSCALE'])&&_0x41d732){const _0x43365a=_0xa851fc[_0x4839bb(0x242)](),_0x1e969d=_0x43365a[_0x4839bb(0x175)](_0x3296a1[_0x4839bb(0x233)]),_0x1f052b=_0x3296a1['FCAMs'](_0x1e969d,{});bsSetupHelper['mergeDeep'](_0x1f052b,_0xf64d78),_0xa851fc[_0x4839bb(0x242)]()[_0x4839bb(0x216)](_0x3296a1[_0x4839bb(0x233)],_0x1f052b);}else logger['warn'](_0x3296a1[_0x4839bb(0x225)]);}catch(_0x1ab568){logger['error'](_0x4839bb(0x205)+_0x1ab568);}},exports[a123_0x3967b3(0x261)]=(_0x387bc6=null,_0x414146=!![],_0x50e821=[])=>{const _0x383c3e=a123_0x3967b3,_0x112e54={};_0x112e54['xadWN']=function(_0x269903,_0x7dfe8e){return _0x269903==_0x7dfe8e;},_0x112e54['NWVwe']=function(_0x5a59f0,_0x20eee5){return _0x5a59f0>_0x20eee5;},_0x112e54['QMuwJ']=function(_0x1b9d61,_0x44b40a){return _0x1b9d61===_0x44b40a;},_0x112e54[_0x383c3e(0x22f)]=function(_0xb99858,_0x13e8a9){return _0xb99858&&_0x13e8a9;},_0x112e54['qsqjQ']=function(_0x3a7b5c,_0x290885){return _0x3a7b5c&&_0x290885;};const _0x2425a0=_0x112e54;if(_0x2425a0[_0x383c3e(0x190)](process[_0x383c3e(0x229)][_0x383c3e(0x228)],null))return!![];try{const _0x101922=JSON[_0x383c3e(0x235)](process['env'][_0x383c3e(0x228)]),_0xb54f1c=Array[_0x383c3e(0x16e)](_0x101922[_0x383c3e(0x210)])?_0x101922[_0x383c3e(0x210)]:[],_0x17f103=Array[_0x383c3e(0x16e)](_0x101922[_0x383c3e(0x19e)])?_0x101922['excludeTagsInTestingScope']:[],_0x224a69=_0x1a365b=>typeof _0x1a365b===_0x383c3e(0x1cf)?_0x1a365b[_0x383c3e(0x250)](/^@/,'')[_0x383c3e(0x180)]()[_0x383c3e(0x22c)]():_0x1a365b;if(bsSetupHelper['isUndefined'](_0x387bc6)){if(_0x2425a0[_0x383c3e(0x1f6)](_0x50e821[_0x383c3e(0x223)],0x0)){const _0x16d7ba=_0x50e821[_0x383c3e(0x241)](_0x224a69),_0x2ddf9f=_0x17f103['some'](_0x4bc6db=>_0x16d7ba[_0x383c3e(0x278)](_0x224a69(_0x4bc6db))),_0x4e9d08=_0x2425a0['QMuwJ'](_0xb54f1c[_0x383c3e(0x223)],0x0)||_0xb54f1c[_0x383c3e(0x277)](_0x49bd72=>_0x16d7ba[_0x383c3e(0x278)](_0x224a69(_0x49bd72)));return _0x2425a0[_0x383c3e(0x22f)](!_0x2ddf9f,_0x4e9d08);}return!![];}let _0x3b06f5;_0x414146?_0x3b06f5=_0x387bc6[_0x383c3e(0x1ef)]('/'):_0x3b06f5=_0x387bc6;const _0x4a3c02=_0x17f103[_0x383c3e(0x277)](_0x215634=>_0x3b06f5[_0x383c3e(0x180)]()[_0x383c3e(0x278)](_0x224a69(_0x215634)[_0x383c3e(0x180)]())),_0x229b3a=_0x2425a0['QMuwJ'](_0xb54f1c[_0x383c3e(0x223)],0x0)||_0xb54f1c[_0x383c3e(0x277)](_0xd5dd83=>_0x3b06f5['toLowerCase']()[_0x383c3e(0x278)](_0x224a69(_0xd5dd83)['toLowerCase']()));return _0x2425a0[_0x383c3e(0x193)](!_0x4a3c02,_0x229b3a);}catch(_0x59dcf6){logger[_0x383c3e(0x215)](_0x383c3e(0x230)+util[_0x383c3e(0x171)](_0x59dcf6));}return![];},exports[a123_0x3967b3(0x1d4)]=_0x230d5c=>{const _0x15b696=a123_0x3967b3;let _0x39584d=![];try{_0x230d5c[_0x15b696(0x212)][_0x15b696(0x182)](_0x15cf07=>{const _0x5e06a1=_0x15b696;if(bsSetupHelper[_0x5e06a1(0x169)](_0x15cf07['accessibility']))return _0x39584d=!![],!![];});}catch(_0x2d9115){logger[_0x15b696(0x215)](_0x15b696(0x16f)+_0x2d9115);}return _0x39584d||bsSetupHelper['isTrue'](_0x230d5c[_0x15b696(0x206)]);},exports[a123_0x3967b3(0x24d)]=PerformanceTester['measureWrapper'](a123_0x3967b3(0x1e0),async function(_0x5acca4,_0x2a020e){const _0x42f7ac=a123_0x3967b3,_0x3018d3={};_0x3018d3[_0x42f7ac(0x181)]=_0x42f7ac(0x160),_0x3018d3['DJdXv']=_0x42f7ac(0x1e2),_0x3018d3['VlZey']=_0x42f7ac(0x264),_0x3018d3[_0x42f7ac(0x1ed)]='application/json',_0x3018d3[_0x42f7ac(0x1be)]='POST',_0x3018d3[_0x42f7ac(0x276)]=_0x42f7ac(0x220),_0x3018d3[_0x42f7ac(0x1ee)]=function(_0x468a0d,_0x3145bd){return _0x468a0d===_0x3145bd;},_0x3018d3[_0x42f7ac(0x227)]=_0x42f7ac(0x222),_0x3018d3[_0x42f7ac(0x25d)]=_0x42f7ac(0x1a9);const _0x4e796e=_0x3018d3,_0x29e223=bsSetupHelper[_0x42f7ac(0x1c0)](_0x5acca4),_0x2cafd9=bsSetupHelper[_0x42f7ac(0x1b6)](_0x5acca4);if(bsSetupHelper[_0x42f7ac(0x1bf)](_0x29e223)||bsSetupHelper[_0x42f7ac(0x1bf)](_0x2cafd9))return logger['error'](_0x4e796e[_0x42f7ac(0x181)]),[null,null];try{let _0x47cc4e;bsSetupHelper[_0x42f7ac(0x1bf)](process[_0x42f7ac(0x229)][_0x42f7ac(0x228)])?_0x47cc4e={}:_0x47cc4e=JSON[_0x42f7ac(0x235)](process[_0x42f7ac(0x229)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']);const {name:_0xa48b49,version:_0x55cd22}=bsSetupHelper[_0x42f7ac(0x1c4)](_0x5acca4,_0x2a020e),_0x40106f={'projectName':_0x5acca4[_0x42f7ac(0x21f)],'buildName':_0x5acca4[_0x42f7ac(0x1f1)]||path['basename'](path['resolve'](process[_0x42f7ac(0x25a)]())),'startTime':new Date()[_0x42f7ac(0x26a)](),'description':_0x5acca4[_0x42f7ac(0x1c7)]||'','source':{'frameworkName':_0x2a020e[_0x42f7ac(0x278)](_0x4e796e['DJdXv'])?_0x4e796e[_0x42f7ac(0x23b)]:_0x2a020e,'frameworkVersion':bsSetupHelper[_0x42f7ac(0x1fc)](_0x2a020e),'sdkVersion':bsSetupHelper[_0x42f7ac(0x189)](),'language':_0x4e796e['VlZey'],'testFramework':_0xa48b49,'testFrameworkVersion':_0x55cd22},'settings':_0x47cc4e,'versionControl':await bsSetupHelper[_0x42f7ac(0x1f4)](),'ciInfo':bsSetupHelper['getCiInfo'](),'hostInfo':bsSetupHelper[_0x42f7ac(0x236)](),'browserstackAutomation':bsSetupHelper[_0x42f7ac(0x238)]()},_0x37af1b={};_0x37af1b[_0x42f7ac(0x17c)]=_0x29e223,_0x37af1b[_0x42f7ac(0x166)]=_0x2cafd9;const _0x4408dc={};_0x4408dc[_0x42f7ac(0x1d8)]=_0x4e796e[_0x42f7ac(0x1ed)];const _0x213d26={};_0x213d26[_0x42f7ac(0x268)]=_0x37af1b,_0x213d26[_0x42f7ac(0x1f7)]=_0x4408dc;const _0x20aa3d=_0x213d26,_0x5425d9={};_0x5425d9[_0x42f7ac(0x1f5)]=_0x40106f,_0x5425d9[_0x42f7ac(0x1fa)]=!![];const _0x2f2ac8=Object[_0x42f7ac(0x239)](_0x20aa3d,_0x5425d9),_0x22c583=await bsSetupHelper['nodeRequest'](_0x4e796e['pgcUR'],_0x4e796e[_0x42f7ac(0x276)],_0x2f2ac8,_0x5acca4,API_URL);let _0x2af9ff=process[_0x42f7ac(0x229)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'];return _0x2af9ff?_0x2af9ff=JSON[_0x42f7ac(0x235)](process['env'][_0x42f7ac(0x228)]):_0x2af9ff={},scripts[_0x42f7ac(0x197)](_0x22c583[_0x42f7ac(0x195)][_0x42f7ac(0x195)]),scripts[_0x42f7ac(0x170)](),_0x2af9ff['scannerVersion']=_0x22c583[_0x42f7ac(0x195)][_0x42f7ac(0x195)]['scannerVersion'],process[_0x42f7ac(0x229)][_0x42f7ac(0x228)]=JSON[_0x42f7ac(0x1b8)](_0x2af9ff),[_0x22c583[_0x42f7ac(0x195)][_0x42f7ac(0x195)][_0x42f7ac(0x164)],_0x22c583[_0x42f7ac(0x195)]['data']['id']];}catch(_0x1e9523){if(_0x1e9523['response'])logger['error'](_0x42f7ac(0x234)+_0x1e9523[_0x42f7ac(0x174)][_0x42f7ac(0x1de)]+'\x20'+_0x1e9523[_0x42f7ac(0x174)][_0x42f7ac(0x22b)]+'\x20'+JSON['stringify'](_0x1e9523[_0x42f7ac(0x174)][_0x42f7ac(0x195)]));else{if(_0x4e796e[_0x42f7ac(0x1ee)](_0x1e9523[_0x42f7ac(0x243)],_0x4e796e[_0x42f7ac(0x227)])){logger[_0x42f7ac(0x21c)](_0x42f7ac(0x234)+(_0x1e9523[_0x42f7ac(0x243)]||_0x1e9523[_0x42f7ac(0x1ce)]));for(const _0xbaaf9 of _0x1e9523[_0x42f7ac(0x1ec)]){logger['error'](_0xbaaf9[_0x42f7ac(0x243)]);}process[_0x42f7ac(0x229)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x4e796e['OmTha'],process['env'][_0x42f7ac(0x184)]=_0x4e796e[_0x42f7ac(0x25d)];}else logger[_0x42f7ac(0x21c)](_0x42f7ac(0x234)+(_0x1e9523['message']||_0x1e9523[_0x42f7ac(0x1ce)]));}return[null,null];}}),exports[a123_0x3967b3(0x1b2)]=PerformanceTester[a123_0x3967b3(0x207)](a123_0x3967b3(0x1b3),async function(_0x48eac9){const _0x4430e8=a123_0x3967b3,_0x2345aa={};_0x2345aa['rLsvK']=function(_0x2dc225,_0x2ddc36){return _0x2dc225!==_0x2ddc36;},_0x2345aa[_0x4430e8(0x194)]='string',_0x2345aa[_0x4430e8(0x21e)]='error',_0x2345aa[_0x4430e8(0x1ae)]='Build\x20creation\x20had\x20failed.',_0x2345aa[_0x4430e8(0x213)]=_0x4430e8(0x263),_0x2345aa[_0x4430e8(0x18f)]=_0x4430e8(0x269),_0x2345aa['UCHlV']=_0x4430e8(0x183),_0x2345aa[_0x4430e8(0x26c)]=function(_0xec78e5,_0x5b431e){return _0xec78e5+_0x5b431e;},_0x2345aa[_0x4430e8(0x1c8)]=_0x4430e8(0x1c5),_0x2345aa[_0x4430e8(0x18c)]='success';const _0x3c640d=_0x2345aa;if(bsSetupHelper['isUndefined'](process['env'][_0x4430e8(0x187)])||_0x3c640d[_0x4430e8(0x1a7)](typeof process[_0x4430e8(0x229)][_0x4430e8(0x187)],_0x3c640d[_0x4430e8(0x194)])){const _0x218124={};return _0x218124['status']=_0x3c640d['oiCgF'],_0x218124[_0x4430e8(0x243)]=_0x3c640d[_0x4430e8(0x1ae)],_0x218124;}const _0x23f719={'endTime':new Date()[_0x4430e8(0x26a)]()},_0x1c9e35={};_0x1c9e35[_0x4430e8(0x266)]=_0x4430e8(0x1c3)+process['env']['BS_A11Y_JWT'],_0x1c9e35['Content-Type']=_0x3c640d['MEiZv'];const _0x261fe2={};_0x261fe2[_0x4430e8(0x1f7)]=_0x1c9e35;const _0x4b7c47=_0x261fe2,_0x4e7851={};_0x4e7851[_0x4430e8(0x1f5)]=_0x23f719,_0x4e7851[_0x4430e8(0x268)]=null,_0x4e7851[_0x4430e8(0x1fa)]=!![];const _0x2e2f3a=Object['assign'](_0x4b7c47,_0x4e7851);try{const _0x2405c1=await bsSetupHelper[_0x4430e8(0x1e8)](_0x3c640d[_0x4430e8(0x18f)],_0x3c640d['UCHlV'],_0x2e2f3a,_0x48eac9,API_URL);if(_0x2405c1[_0x4430e8(0x195)][_0x4430e8(0x21c)])throw new Error(_0x3c640d['MAtSk'](_0x3c640d['VSADB'],_0x2405c1['data'][_0x4430e8(0x21c)]));else{logger[_0x4430e8(0x24b)]('BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20'+new Date()[_0x4430e8(0x26a)]());const _0x51ff3={};return _0x51ff3[_0x4430e8(0x1de)]=_0x3c640d['cVWqP'],_0x51ff3[_0x4430e8(0x243)]='',_0x51ff3;}}catch(_0xca6ec5){_0xca6ec5[_0x4430e8(0x174)]?logger[_0x4430e8(0x21c)]('Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20'+_0xca6ec5['response'][_0x4430e8(0x1de)]+'\x20'+_0xca6ec5[_0x4430e8(0x174)][_0x4430e8(0x22b)]+'\x20'+JSON[_0x4430e8(0x1b8)](_0xca6ec5['response']['data'])):logger[_0x4430e8(0x21c)]('Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20'+(_0xca6ec5[_0x4430e8(0x243)]||util[_0x4430e8(0x171)](_0xca6ec5)));const _0x157b70={};return _0x157b70[_0x4430e8(0x1de)]=_0x3c640d[_0x4430e8(0x21e)],_0x157b70[_0x4430e8(0x243)]=_0xca6ec5['message']||(_0xca6ec5[_0x4430e8(0x174)]?_0xca6ec5[_0x4430e8(0x174)][_0x4430e8(0x1de)]+':'+_0xca6ec5[_0x4430e8(0x174)][_0x4430e8(0x22b)]:_0xca6ec5),_0x157b70;}}),exports[a123_0x3967b3(0x26e)]=async(_0xa4b71b,_0x5e752a=null,_0xe935c2=![],_0x4144c0=null)=>{const _0x45c2f2=a123_0x3967b3,_0x3331cb={};_0x3331cb[_0x45c2f2(0x20a)]=_0x45c2f2(0x1ca),_0x3331cb[_0x45c2f2(0x256)]='bstackA11yShouldScan',_0x3331cb[_0x45c2f2(0x257)]=_0x45c2f2(0x1d1),_0x3331cb[_0x45c2f2(0x1a8)]=function(_0x5dc590,_0x3a0134){return _0x5dc590||_0x3a0134;},_0x3331cb[_0x45c2f2(0x200)]=_0x45c2f2(0x1b5),_0x3331cb[_0x45c2f2(0x18a)]=_0x45c2f2(0x260);const _0x3eef7e=_0x3331cb;if(!this[_0x45c2f2(0x251)]()||!globals[_0x45c2f2(0x199)](_0x3eef7e[_0x45c2f2(0x20a)])||!_0xe935c2&&!globals['getGlobal'](_0x3eef7e['dxqHp'])){logger[_0x45c2f2(0x1af)](_0x3eef7e[_0x45c2f2(0x257)]);return;}const _0x38de2d=_0xe935c2?_0x3eef7e['LzCwR'](_0x4144c0,{}):globals[_0x45c2f2(0x199)](_0x3eef7e[_0x45c2f2(0x200)])||{},_0x1ad2ea={};_0x1ad2ea['method']=_0x5e752a||global[_0x45c2f2(0x192)];const _0x397f49=Object[_0x45c2f2(0x239)]({},_0x38de2d,_0x1ad2ea);await this[_0x45c2f2(0x1b4)](_0xa4b71b)&&(Object['assign'](_0x397f49,this[_0x45c2f2(0x1d2)](),{'thTestRunUuid':this[_0x45c2f2(0x1a1)]()}),logger[_0x45c2f2(0x215)](_0x3eef7e[_0x45c2f2(0x18a)]));logger[_0x45c2f2(0x215)]('[Accessibility]\x20Selenium\x20performScan\x20payload:\x20'+util[_0x45c2f2(0x171)]('%j',_0x397f49));const _0x3df169={};return _0x3df169[_0x45c2f2(0x202)]=_0x5e752a,await PerformanceTester[_0x45c2f2(0x207)](PerformanceA11yEvents[_0x45c2f2(0x1f3)],async()=>{const _0x551fe4=_0x45c2f2;try{await _0xa4b71b[_0x551fe4(0x201)](()=>_0xa4b71b[_0x551fe4(0x1c2)](_0x551fe4(0x18d)),0x1388);}catch(_0x1c5192){}const _0x5a79b9=util[_0x551fe4(0x171)](await _0xa4b71b['executeAsyncScript'](scripts[_0x551fe4(0x26e)],_0x397f49));return logger[_0x551fe4(0x215)](_0x551fe4(0x217)+_0x5a79b9),_0x5a79b9;},_0x3df169)();},exports[a123_0x3967b3(0x253)]=async(_0x51690d,_0x36c28d)=>{const _0x364dd4=a123_0x3967b3,_0x11aa60={};_0x11aa60[_0x364dd4(0x218)]='Performing\x20scan\x20before\x20getting\x20results',_0x11aa60[_0x364dd4(0x203)]=_0x364dd4(0x1ca),_0x11aa60[_0x364dd4(0x274)]='bstackA11yShouldScan',_0x11aa60[_0x364dd4(0x21a)]=_0x364dd4(0x16a),_0x11aa60[_0x364dd4(0x24f)]='getAccessibilityResults',_0x11aa60[_0x364dd4(0x21d)]=_0x364dd4(0x211);const _0x4ed7c6=_0x11aa60;if(!this['isAccessibilityAutomationSession']()||!globals[_0x364dd4(0x199)](_0x4ed7c6['tVFbY'])||!globals[_0x364dd4(0x199)](_0x4ed7c6[_0x364dd4(0x274)]))return logger[_0x364dd4(0x1af)](_0x4ed7c6[_0x364dd4(0x21a)]),[];try{const _0x27b44f=await this[_0x364dd4(0x1b4)](_0x51690d),_0x116060=_0x27b44f?Object['assign']({},this[_0x364dd4(0x1d2)](),{'thTestRunUuid':this[_0x364dd4(0x1a1)]()}):{};return _0x27b44f&&logger[_0x364dd4(0x215)](_0x364dd4(0x196)+util[_0x364dd4(0x171)]('%j',_0x116060)),await PerformanceTester[_0x364dd4(0x207)](PerformanceA11yEvents[_0x364dd4(0x1f3)],async()=>{const _0x2c21ca=_0x364dd4;logger[_0x2c21ca(0x215)](_0x4ed7c6['aReBQ']);const _0x5941cd={};_0x5941cd['method']=_0x36c28d[_0x2c21ca(0x192)];const _0x5e5ca3=Object[_0x2c21ca(0x239)](_0x5941cd,_0x116060);logger[_0x2c21ca(0x215)](util[_0x2c21ca(0x171)](await _0x51690d[_0x2c21ca(0x198)](scripts[_0x2c21ca(0x26e)],_0x5e5ca3)));},{'command':_0x4ed7c6['yjmQJ']})(),await PerformanceTester[_0x364dd4(0x207)](PerformanceA11yEvents[_0x364dd4(0x1dc)],async()=>{const _0x572fca=_0x364dd4,_0x56f183=_0x27b44f?await _0x51690d[_0x572fca(0x198)](scripts['getResults'],_0x116060):await _0x51690d['executeAsyncScript'](scripts[_0x572fca(0x1e3)]);return _0x56f183;})();}catch{return logger['error'](_0x4ed7c6[_0x364dd4(0x21d)]),[];}},exports['getAccessibilityResultsSummary']=async(_0x5bb139,_0x5f08c8)=>{const _0x237388=a123_0x3967b3,_0x101a11={};_0x101a11[_0x237388(0x247)]=_0x237388(0x204),_0x101a11['lZBst']='isAccessibilityPlatform',_0x101a11['AAKWP']='bstackA11yShouldScan',_0x101a11['TSdsS']='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.',_0x101a11[_0x237388(0x1dd)]='getAccessibilityResultsSummary',_0x101a11[_0x237388(0x1e9)]=_0x237388(0x1d7);const _0x428d9d=_0x101a11;if(!this[_0x237388(0x251)]()||!globals[_0x237388(0x199)](_0x428d9d['lZBst'])||!globals[_0x237388(0x199)](_0x428d9d[_0x237388(0x20f)]))return logger['warn'](_0x428d9d[_0x237388(0x1c1)]),{};try{const _0x470884=await this['isMobileAccessibilitySession'](_0x5bb139),_0x16e8fb=_0x470884?Object[_0x237388(0x239)]({},this['getMobileA11yCapabilities'](),{'thTestRunUuid':this[_0x237388(0x1a1)]()}):{};return _0x470884&&logger[_0x237388(0x215)](_0x237388(0x23e)+util['format']('%j',_0x16e8fb)),await PerformanceTester[_0x237388(0x207)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0xe38eff=_0x237388;logger[_0xe38eff(0x215)](_0x428d9d[_0xe38eff(0x247)]);const _0x551c07={};_0x551c07['method']=_0x5f08c8[_0xe38eff(0x192)];const _0x229f8f=Object['assign'](_0x551c07,_0x16e8fb);logger[_0xe38eff(0x215)](util[_0xe38eff(0x171)](await _0x5bb139[_0xe38eff(0x198)](scripts[_0xe38eff(0x26e)],_0x229f8f)));},{'command':_0x428d9d[_0x237388(0x1dd)]})(),await PerformanceTester[_0x237388(0x207)](PerformanceA11yEvents[_0x237388(0x19a)],async()=>{const _0x3d97b6=_0x237388,_0x11039c=_0x470884?await _0x5bb139['executeAsyncScript'](scripts['getResultsSummary'],_0x16e8fb):await _0x5bb139[_0x3d97b6(0x198)](scripts[_0x3d97b6(0x17f)]);return _0x11039c;})();}catch{return logger[_0x237388(0x21c)](_0x428d9d[_0x237388(0x1e9)]),{};}},exports['isMobileAccessibilityPlatform']=(_0x3e327a,_0x26b61b=![])=>{const _0x503869=a123_0x3967b3,_0xaa4c9a={'AGySB':function(_0x1ae4ea,_0x18b4a6){return _0x1ae4ea(_0x18b4a6);},'HAMQH':_0x503869(0x167),'VfpRA':function(_0x1e65d3,_0x524221){return _0x1e65d3!==_0x524221;},'GIZGN':_0x503869(0x1fd),'bHVTW':function(_0x475442,_0xd7bff1){return _0x475442(_0xd7bff1);},'TghvW':function(_0x46e1ef,_0x2e9d72){return _0x46e1ef(_0x2e9d72);},'VUrpR':'browserName','wKrcI':_0x503869(0x1a4),'smOAX':'Mobile\x20Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser.','ccuga':_0x503869(0x1cc)};try{if(!_0x3e327a)return![];const _0x402837=_0x2c1b0b=>typeof _0x3e327a[_0x503869(0x175)]===_0x503869(0x24c)?_0x3e327a['get'](_0x2c1b0b):_0x3e327a[_0x2c1b0b],_0x25891c=_0xaa4c9a['AGySB'](String,_0xaa4c9a['AGySB'](_0x402837,_0xaa4c9a[_0x503869(0x214)])||'')[_0x503869(0x180)]();if(_0xaa4c9a['VfpRA'](_0x25891c,_0xaa4c9a[_0x503869(0x17d)]))return![];const _0x505d49=_0xaa4c9a['bHVTW'](String,_0xaa4c9a[_0x503869(0x168)](_0x402837,_0xaa4c9a[_0x503869(0x252)])||'')['toLowerCase']();if(!_0x505d49[_0x503869(0x278)](_0xaa4c9a[_0x503869(0x1bb)]))return _0x26b61b&&logger[_0x503869(0x1af)](_0xaa4c9a['smOAX']),![];return logger[_0x503869(0x215)](_0xaa4c9a[_0x503869(0x271)]),!![];}catch(_0x2766b1){return logger['debug']('Error\x20checking\x20if\x20mobile\x20accessibility\x20platform:\x20'+_0x2766b1),![];}},exports['isMobileAccessibilitySession']=async _0xab6941=>{const _0x396d67=a123_0x3967b3;try{const _0xecd944=await _0xab6941['getCapabilities']();return exports[_0x396d67(0x1d6)](_0xecd944);}catch(_0x2e3f0c){return logger['debug'](_0x396d67(0x16b)+_0x2e3f0c),![];}},exports['getMobileA11yCapabilities']=()=>{const _0x389f20=a123_0x3967b3,_0x523630={};return _0x523630[_0x389f20(0x1c9)]=!![],_0x523630;},exports['resolveMobileThTestRunUuid']=()=>{const _0x158cd1=a123_0x3967b3,_0x4ce8f2={};_0x4ce8f2[_0x158cd1(0x18e)]=function(_0x14fc37,_0x4dbb17){return _0x14fc37===_0x4dbb17;},_0x4ce8f2[_0x158cd1(0x1f9)]=_0x158cd1(0x1cf),_0x4ce8f2[_0x158cd1(0x1df)]=function(_0x207109,_0x37bbef){return _0x207109>_0x37bbef;},_0x4ce8f2[_0x158cd1(0x275)]=_0x158cd1(0x1fb),_0x4ce8f2[_0x158cd1(0x272)]=_0x158cd1(0x25f),_0x4ce8f2[_0x158cd1(0x179)]=function(_0x3732e0,_0x2242e1){return _0x3732e0===_0x2242e1;},_0x4ce8f2[_0x158cd1(0x208)]=_0x158cd1(0x237);const _0x84606a=_0x4ce8f2,_0x37e0d3=global[_0x158cd1(0x246)],_0x4f5354=_0x37e0d3&&_0x37e0d3[_0x158cd1(0x270)],_0x14a637=_0x4f5354&&_0x4f5354[_0x158cd1(0x254)];if(_0x84606a[_0x158cd1(0x18e)](typeof _0x14a637,_0x84606a['QrrRI'])&&_0x84606a['mBGaJ'](_0x14a637[_0x158cd1(0x223)],0x0))return _0x14a637;let _0x13c316;if(!_0x37e0d3)_0x13c316=_0x84606a[_0x158cd1(0x275)];else!_0x4f5354?_0x13c316=_0x84606a[_0x158cd1(0x272)]:_0x13c316=_0x158cd1(0x17b)+Object[_0x158cd1(0x1a2)](_0x4f5354)['join'](',\x20')+_0x158cd1(0x226)+(_0x84606a[_0x158cd1(0x179)](_0x14a637,undefined)?_0x84606a[_0x158cd1(0x208)]:'\x22'+_0x14a637+'\x22')+'.\x20The\x20framework\x20setup\x20hook\x20is\x20not\x20writing\x20thTestRunUuid\x20onto\x20currentTest.';return logger[_0x158cd1(0x1af)](_0x158cd1(0x265)+_0x13c316+'\x20The\x20on-device\x20scan\x20will\x20POST\x20to\x20/api/test_cases/save_intermediate_results\x20with\x20an\x20empty\x20th_test_run_uuid\x20and\x20fail\x20validation\x20(HTTP\x20422).\x20Fix\x20the\x20framework\x20setup\x20hook\x20that\x20should\x20pre-populate\x20global.__workerDetails.currentTest.thTestRunUuid.'),'';},exports[a123_0x3967b3(0x209)]=_0x3f8817=>{const _0x4d1713=a123_0x3967b3,_0xf53a02={};_0xf53a02[_0x4d1713(0x1ba)]=function(_0x204bd2,_0x458e2e){return _0x204bd2===_0x458e2e;},_0xf53a02[_0x4d1713(0x1e4)]=_0x4d1713(0x1cf),_0xf53a02[_0x4d1713(0x1ac)]=_0x4d1713(0x18b);const _0x284218=_0xf53a02;if(_0x3f8817&&_0x3f8817[_0x4d1713(0x1b0)]&&_0x284218['xuRiB'](typeof _0x3f8817['script'],_0x284218['YccIE']))return _0x3f8817[_0x4d1713(0x1b0)][_0x4d1713(0x278)](_0x284218[_0x4d1713(0x1ac)]);return![];},exports[a123_0x3967b3(0x176)]=a123_0x3967b3(0x27b),exports['isMobileScanningEnabledForGroup']=()=>process[a123_0x3967b3(0x229)]['BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP']===a123_0x3967b3(0x27e),exports[a123_0x3967b3(0x1e6)]=_0x506637=>{const _0x484fa9=a123_0x3967b3,_0x73aeec={};_0x73aeec[_0x484fa9(0x1e1)]=function(_0x4549cc,_0xfdf9f4){return _0x4549cc in _0xfdf9f4;};const _0x3b4e8a=_0x73aeec;if(bsSetupHelper[_0x484fa9(0x1bf)](_0x506637))return![];const _0x498255=_0x506637[_0x484fa9(0x180)]();return _0x3b4e8a['Nrisu'](_0x498255,ACCESSIBILITY_SUPPORTED_BROWSERS);},exports['getBrowserA11yConfig']=_0x430b2f=>{const _0x54a39b=a123_0x3967b3;if(bsSetupHelper[_0x54a39b(0x1bf)](_0x430b2f))return null;const _0x120f94=_0x430b2f[_0x54a39b(0x180)]();return ACCESSIBILITY_SUPPORTED_BROWSERS[_0x120f94]||null;},exports[a123_0x3967b3(0x23f)]=(_0x3f5689,_0x19b062)=>{const _0x163c2d=a123_0x3967b3,_0x15a90c=this['getBrowserA11yConfig'](_0x3f5689);if(!_0x15a90c)return null;if(_0x19b062)return _0x15a90c[_0x163c2d(0x1cd)];return _0x15a90c[_0x163c2d(0x19d)];},exports[a123_0x3967b3(0x178)]=_0x25bf1b=>{const _0x3a7fcc=a123_0x3967b3,_0x3aeeea=this['getBrowserA11yConfig'](_0x25bf1b);return _0x3aeeea?_0x3aeeea[_0x3a7fcc(0x1ea)]:_0x25bf1b;},exports[a123_0x3967b3(0x27c)]=_0x46705f=>{const _0x5a8f60=a123_0x3967b3,_0x1267ad=this['getBrowserA11yConfig'](_0x46705f);return _0x1267ad?_0x1267ad[_0x5a8f60(0x15f)]:![];},exports['isVersionSupported']=(_0x55495c,_0x191412)=>{const _0x1575fe=a123_0x3967b3,_0x5a769d={'PdSsF':function(_0x35e5f2,_0x3ea1fc){return _0x35e5f2(_0x3ea1fc);},'SWmFm':function(_0x115d80,_0x524f46){return _0x115d80>=_0x524f46;}};if(bsSetupHelper[_0x1575fe(0x1bf)](_0x55495c)||bsSetupHelper[_0x1575fe(0x1bf)](_0x191412))return![];const _0x195ffd=bsSetupHelper['compareVersions'](_0x5a769d[_0x1575fe(0x1bd)](String,_0x55495c),_0x5a769d[_0x1575fe(0x1bd)](String,_0x191412));return _0x5a769d[_0x1575fe(0x1b7)](_0x195ffd,0x0);},exports[a123_0x3967b3(0x1fe)]=_0x35ac10=>{const _0x13116e=a123_0x3967b3,_0x28fe1d={};_0x28fe1d[_0x13116e(0x172)]=function(_0x2be035,_0x203cc7){return _0x2be035!==_0x203cc7;},_0x28fe1d[_0x13116e(0x162)]=_0x13116e(0x1cf),_0x28fe1d[_0x13116e(0x22e)]='base64';const _0x1cc1e1=_0x28fe1d;if(!_0x35ac10||_0x1cc1e1[_0x13116e(0x172)](typeof _0x35ac10,_0x1cc1e1[_0x13116e(0x162)]))return null;try{return JSON[_0x13116e(0x235)](Buffer['from'](_0x35ac10[_0x13116e(0x22a)]('.')[0x1],_0x1cc1e1[_0x13116e(0x22e)])['toString']());}catch{return null;}};
|