browserstack-node-sdk 1.49.7 → 1.49.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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/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/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/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/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/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/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.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/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/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/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/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.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 a94_0x497078=a94_0x54ca;(function(_0x20218a,_0x42f445){const _0x29b839=a94_0x54ca,_0x59a9b6=_0x20218a();while(!![]){try{const _0x3eb788=-parseInt(_0x29b839(0x29c))/0x1+-parseInt(_0x29b839(0x290))/0x2+parseInt(_0x29b839(0x211))/0x3+-parseInt(_0x29b839(0x2dd))/0x4*(parseInt(_0x29b839(0x2d6))/0x5)+-parseInt(_0x29b839(0x2e0))/0x6*(-parseInt(_0x29b839(0x21d))/0x7)+-parseInt(_0x29b839(0x210))/0x8+parseInt(_0x29b839(0x1d8))/0x9;if(_0x3eb788===_0x42f445)break;else _0x59a9b6['push'](_0x59a9b6['shift']());}catch(_0x3f53c4){_0x59a9b6['push'](_0x59a9b6['shift']());}}}(a94_0x48d1,0x32fe1));const util=require(a94_0x497078(0x220)),os=require('os'),path=require(a94_0x497078(0x2c8)),{v4:uuidv4}=require('uuid'),fs=require('fs'),constants=require(a94_0x497078(0x2b1)),logger=require(a94_0x497078(0x1dd))[a94_0x497078(0x243)],fileLogger=require('./logger')[a94_0x497078(0x268)],{getLogDir}=require('./logger'),helper=require(a94_0x497078(0x24e)),utilities=require(a94_0x497078(0x242)),percyHelper=require(a94_0x497078(0x22c)),hubAllocator=require(a94_0x497078(0x1e0)),PerformanceTester=require('./performance/performance-tester'),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents}=require(a94_0x497078(0x29a)),{setPercyFlag}=require(a94_0x497078(0x275)),TestHubHandler=require(a94_0x497078(0x1d1)),timeoutPromise=require(a94_0x497078(0x23e)),BrowserstackCLI=require(a94_0x497078(0x269)),LoadTestModule=require(a94_0x497078(0x1ea)),{getEdsInstrumentationAPIUrl}=require(a94_0x497078(0x28c)),ClientTroubleShootingService=require(a94_0x497078(0x27b));function a94_0x48d1(){const _0x3b60c6=['Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20','BrowserstackHealingInitFailed','setupTCGAuth','uncaughtException','./performance/constants','sdkRunId','316085qIbBGQ','HUB_MANAGEMENT','getLocalConfig','KiZzP','false','VHinm','aQdPG','VBGCs','sJvFU','TCG_AUTH_FAILURE','stop','SIGABRT','FffUL','handled','initialize','TCG_DOWN','stopBrowserstackLocal','koQSD','Something\x20went\x20wrong.\x20Disabling\x20healing\x20for\x20this\x20session.\x20Please\x20try\x20again\x20later.','Error\x20in\x20sending\x20testhub\x20stop:\x20','NcmaC','../bin/utils/constants','Please\x20upgrade\x20Browserstack\x20SDK\x20to\x20the\x20latest\x20version\x20to\x20use\x20the\x20self-healing\x20feature.','lrDun','getHubUrl','Yijbk','BGKyD','BzaKn','aiHeal:tcgAuth','getPackageVersion','GCXnO','mOBtH','tcg\x20config\x20setup\x20successful.','platforms','NJwIA','2|0|4|3|1','getFinalCaps','BPchf','AzzqH','UPGRADE_REQUIRED','constructor','UkKTn','join','version','path','measureWrapper','getProxyConfigForTcg','reportProcessInterruptionSituation','toString','generateLocalIdentifier','INVALID_INIT_RESP_WITH_USER_IMPACT','win32','custom-repeater','parallelsPerPlatform','Percy\x20started\x20successfully','JBxif','percy','Error\x20in\x20percy\x20setup\x20','10jaMkTW','fKHFG','turboScaleOptions','browserstackLocal','getConfigPath','oVQnN','SIGBREAK','648080mQHXBI','Data\x20sent\x20successfully\x20to\x20','Local\x20binary\x20started\x20successfully','6kAlePF','\x20with\x20error\x20','cliConfig','playwright','status','customRepeaters','isRunning','config','iniJZ','mQjrJ','nyrjU','isTurboScaleSession','./testhub/testhubHandler','HUB\x20URL\x20SET\x20TO\x20TurboScale\x20HUB\x20-\x20','AUTOLOGCAPTURE_NOTIFICATION','BrowserstackHealing.init','Failed\x20to\x20send\x20data\x20to\x20','debug','message','6588567ywUEVU','isTrue','assign','SDK_CLEANUP','getCentralUser','./logger','intExitHandler','FRAMEWORK','../hubAllocationMethods','default','Gdykf','parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','setupTcgConfigFile','setEnvCaps','sanitizeCaps','isLTSSession','setupKeepAlive','0|2|4|6|7|1|3|5','../bin/v2/modules/loadTestModule','qlMXq','length','ddYUf','REIYR','mSPxd','turboScale','LIAnm','ats-repeater','hRFsy','error','AI_INIT_FAILURE','xDbxJ','nqutP','finalize','central_scanner','Fjsbq','Could\x20not\x20start\x20percy,\x20check\x20percy\x20logs\x20for\x20info.','eZDcF','BrowserstackHealing.init\x20method\x20timed\x20out','AI_INIT_SUCCESSFUL','getInstance','getTurboScaleGridDetails','selfHeal','GHuiK','errorMessage','Percy\x20stopped','beforeExit','SgJZp','Zalhx','setLogLevel','isUndefined','fOviz','issip','url','compareVersions','YXoux','YwTyF','2040056NiIweo','1206450QTutdp','?caps=','writeFileSync','unhandledErrors','handleExceptions','fireFunnelTestEvent','Healing\x20is\x20not\x20enabled\x20for\x20your\x20group,\x20please\x20contact\x20the\x20admin','dSVrI','hubUrl','skipBinaryInitialisation','SIGTERM','dYMAP','2538669DWmKUQ','proxyConfig','buSib','util','\x20with\x20response\x20','TFpuQ','TLftl','warn','stopPercy','then','measures','rXETY','end','Error\x20in\x20setting\x20up\x20tcg\x20authconfig.\x20Error:\x20','env','./percy/utils','proxy','UaEUR','proxyUrl','forceLocal','configPath','isAuthenticated','eNtPd','Calling\x20Build\x20Stop\x20from\x20ExitHandler','NMSGj','../ai-sdk-node/bundle','SDK\x20run\x20started\x20with\x20id:\x20','isBrowserstackInfra','userName\x20or\x20accessKey\x20is\x20not\x20defined','4.5.0','rIoCk','framework','Jkupg','./timeoutPromise','close','UayvI','EpLzC','./utilities','winstonLogger','preInitialize','events.json','sendToEDS','setLogDir','getAccessKey','OkHxk','killSignal','bRCDm','yGbum','stopLocalBinary','./helper','useW3C','skipSessionStatus','turboScaleUrl','Shutdown\x20triggered\x20by\x20','setUpHubUrl','SDKTestAttempted','GHbCA','kGHGw','format','Local\x20binary\x20stopped','testContextOptions','browserStackLocalOptions','SnUgE','SIGINT','init','selenium-webdriver','split','startPercy','Local\x20binary\x20not\x20started\x20as\x20skipBinaryInitialisation\x20is\x20enabled','info','isHealingEnabled','TCG_AUTH_TIMEOUT','platform','reportFinalDetectionState','bMyah','fileLogger','../bin/v2/browserstackCLI','Error\x20in\x20writing\x20events\x20to\x20file\x20','includes','getUserName','envConfig','__isPlaywrightInstalled','toLowerCase','BROWSERSTACK_PERCY','getLocalIdentifier','exceptions','bOlLr','setHandlePWError','./testhub/utils','unhandledRejection','exitHandler','gYkEF','readConfig','bind','../bin/utils/clientTroubleshootingService','skipSessionName','SIGHUP','LTS\x20session\x20enabled\x20for\x20this\x20run.\x20SDK\x20run\x20id:\x20','codeceptjs','Spbjd','cancel','startLocalBinary','../../package.json','TCG_URL','userName','isTrialGrid','tcgAuthConfig','BROWSERSTACK_TURBOSCALE','ToSFY','push','true','../bin/utils/apiUtilityMethods','xwAdb','stringify','uQUlK','785766oqrcCs','SIGQUIT','sWTgB','setupBrowserstackLocal','localIdentifier','captureError'];a94_0x48d1=function(){return _0x3b60c6;};return a94_0x48d1();}function a94_0x54ca(_0x4ce88b,_0x1bcc68){const _0x48d1f6=a94_0x48d1();return a94_0x54ca=function(_0x54ca51,_0x3a33ba){_0x54ca51=_0x54ca51-0x1c9;let _0x532feb=_0x48d1f6[_0x54ca51];return _0x532feb;},a94_0x54ca(_0x4ce88b,_0x1bcc68);}class BrowserStackSetup{constructor(_0x1170c7,_0x2be732){const _0x106010=a94_0x497078,_0x7c67e7={'buSib':'13|20|22|12|8|23|3|15|5|10|11|4|9|1|2|18|7|17|19|14|0|16|6|21','issip':'No\x20config\x20provided.','bOlLr':function(_0x221b6d){return _0x221b6d();}},_0x201fbe=_0x7c67e7[_0x106010(0x21f)]['split']('|');let _0x1a8f07=0x0;while(!![]){switch(_0x201fbe[_0x1a8f07++]){case'0':helper[_0x106010(0x2c0)](this[_0x106010(0x1cc)],this['cliConfig'],this[_0x106010(0x26d)]);continue;case'1':global[_0x106010(0x23c)]=_0x2be732;continue;case'2':if(helper[_0x106010(0x209)](this[_0x106010(0x1cc)]))throw new Error(_0x7c67e7[_0x106010(0x20b)]);continue;case'3':this[_0x106010(0x1cc)]=helper[_0x106010(0x279)](this[_0x106010(0x231)]);continue;case'4':this[_0x106010(0x29b)]=_0x7c67e7[_0x106010(0x273)](uuidv4);continue;case'5':this[_0x106010(0x1cc)]['platforms']=this['config'][_0x106010(0x2bd)]||[];continue;case'6':helper[_0x106010(0x208)](this['config'],this['cliConfig'],this['envConfig']);continue;case'7':helper['setBrowserstackInfraFromConfig'](this[_0x106010(0x1cc)],this['cliConfig']);continue;case'8':this[_0x106010(0x2d4)]=null;continue;case'9':this[_0x106010(0x23c)]=_0x2be732;continue;case'10':this[_0x106010(0x1cc)][_0x106010(0x259)]=this['config'][_0x106010(0x259)]||{};continue;case'11':this[_0x106010(0x203)]={};continue;case'12':this['browserstackLocal']=null;continue;case'13':this[_0x106010(0x214)]=[];continue;case'14':this[_0x106010(0x1cc)][_0x106010(0x259)][_0x106010(0x27c)]=!helper[_0x106010(0x238)]()||helper['isTrue'](this['config'][_0x106010(0x259)][_0x106010(0x27c)]);continue;case'15':this[_0x106010(0x2e2)]=helper['setCLICaps'](_0x1170c7);continue;case'16':helper[_0x106010(0x247)](this[_0x106010(0x1cc)]);continue;case'17':helper['setCredentialsFromYmlConfig'](this['config']);continue;case'18':if(this[_0x106010(0x1cc)][_0x106010(0x1f4)])throw new Error(this[_0x106010(0x1cc)][_0x106010(0x1f4)]);continue;case'19':this[_0x106010(0x1cc)]['testContextOptions'][_0x106010(0x250)]=!helper['isBrowserstackInfra']()||helper[_0x106010(0x1d9)](this['config']['testContextOptions'][_0x106010(0x250)]);continue;case'20':helper['normalizeTestReportingEnvVars']();continue;case'21':PerformanceTester['startMonitoring']();continue;case'22':this[_0x106010(0x26d)]=helper[_0x106010(0x1e5)]();continue;case'23':this['configPath']=helper[_0x106010(0x2da)](_0x1170c7);continue;}break;}}[a94_0x497078(0x244)](_0x259b16){const _0x56bb23=a94_0x497078,_0x573c13={'Spbjd':_0x56bb23(0x239),'Fjsbq':function(_0x2a840c,_0x3348e4){return _0x2a840c===_0x3348e4;},'fKHFG':function(_0x22616b,_0x4d7f7c){return _0x22616b===_0x4d7f7c;},'pSZNj':'integrations','XuNvH':_0x56bb23(0x254),'bMyah':function(_0x12c23a,_0x5576f0){return _0x12c23a<_0x5576f0;},'mSPxd':function(_0x56a2b9,_0x2a1843){return _0x56a2b9(_0x2a1843);},'gYkEF':_0x56bb23(0x25e),'oXFwH':function(_0x7493c3,_0x4a5671){return _0x7493c3===_0x4a5671;},'YLESV':_0x56bb23(0x23a),'qlMXq':'Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','nXhNg':_0x56bb23(0x1e3),'nOCbj':_0x56bb23(0x21b),'iniJZ':_0x56bb23(0x25c),'mOBtH':_0x56bb23(0x27d),'sJvFU':function(_0x948388,_0x5bcaa1){return _0x948388!==_0x5bcaa1;},'oVQnN':_0x56bb23(0x2cf),'Zalhx':_0x56bb23(0x2a7),'VBGCs':_0x56bb23(0x291),'AZwRH':_0x56bb23(0x2dc),'mPEMK':_0x56bb23(0x205)},_0x353ef4=this[_0x56bb23(0x23c)];global[_0x56bb23(0x1cc)]=this[_0x56bb23(0x1cc)],helper[_0x56bb23(0x1e6)](this['config']),this[_0x56bb23(0x24a)]=null,global[_0x56bb23(0x29b)]=this[_0x56bb23(0x29b)],logger['info'](_0x56bb23(0x237)+this[_0x56bb23(0x29b)]),!this[_0x56bb23(0x1cc)][_0x56bb23(0x25a)]&&(this['config']['browserStackLocalOptions']=this[_0x56bb23(0x1cc)]['localOptions']||{});if(helper['isUndefined'](helper[_0x56bb23(0x26c)](this[_0x56bb23(0x1cc)]))||helper['isUndefined'](helper[_0x56bb23(0x248)](this['config'])))throw new Error(_0x573c13[_0x56bb23(0x280)]);helper[_0x56bb23(0x29e)](this[_0x56bb23(0x1cc)])&&helper[_0x56bb23(0x209)](helper[_0x56bb23(0x271)](this[_0x56bb23(0x1cc)]))&&(!helper[_0x56bb23(0x209)](this[_0x56bb23(0x1cc)][_0x56bb23(0x25a)])&&_0x573c13[_0x56bb23(0x1fa)](this[_0x56bb23(0x1cc)]['browserStackLocalOptions'][_0x56bb23(0x2c4)],Object)?!helper[_0x56bb23(0x1d9)](this[_0x56bb23(0x1cc)][_0x56bb23(0x25a)][_0x56bb23(0x21a)])&&(this[_0x56bb23(0x1cc)]['browserStackLocalOptions']['localIdentifier']=helper['generateLocalIdentifier']()):this[_0x56bb23(0x1cc)][_0x56bb23(0x25a)]={'localIdentifier':helper[_0x56bb23(0x2cd)]()});this['config'][_0x56bb23(0x25a)][_0x56bb23(0x21a)]=helper[_0x56bb23(0x1d9)](this['config'][_0x56bb23(0x25a)][_0x56bb23(0x21a)]),helper[_0x56bb23(0x274)](this['config']);if(_0x573c13[_0x56bb23(0x2d7)](_0x353ef4,_0x573c13['pSZNj']))return;this[_0x56bb23(0x215)]();process[_0x56bb23(0x22b)][_0x56bb23(0x288)]&&(this[_0x56bb23(0x1cc)][_0x56bb23(0x1f0)]=helper[_0x56bb23(0x1d9)](process[_0x56bb23(0x22b)][_0x56bb23(0x288)]),this[_0x56bb23(0x1cc)][_0x56bb23(0x2d8)]=this[_0x56bb23(0x1cc)][_0x56bb23(0x2d8)]||{});helper[_0x56bb23(0x1d0)](this[_0x56bb23(0x1cc)])&&(process[_0x56bb23(0x22b)][_0x56bb23(0x288)]=!![]);LoadTestModule[_0x56bb23(0x1e7)](this[_0x56bb23(0x1cc)])&&logger[_0x56bb23(0x1d6)](_0x56bb23(0x27e)+this[_0x56bb23(0x29b)]);if(!helper[_0x56bb23(0x238)]()){try{process['env'][_0x56bb23(0x1df)]=_0x353ef4,utilities['fireFunnelTestEvent'](_0x573c13['XuNvH'],{},this[_0x56bb23(0x1cc)],this[_0x56bb23(0x23c)]);}catch(_0x59732d){logger[_0x56bb23(0x1d6)]('Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20'+_0x59732d);}return;}if(helper['requireSeleniumWebdriverCheck'](_0x353ef4)){if(global[_0x56bb23(0x26e)])return;_0x573c13[_0x56bb23(0x267)](_0x573c13[_0x56bb23(0x1ef)](parseInt,helper[_0x56bb23(0x2b9)](_0x573c13[_0x56bb23(0x278)])),0x3)&&(this['config'][_0x56bb23(0x24f)]=![]),_0x573c13['oXFwH'](helper[_0x56bb23(0x20d)](helper[_0x56bb23(0x2b9)](_0x573c13[_0x56bb23(0x278)]),_0x573c13['YLESV']),0x1)&&(this[_0x56bb23(0x1cc)][_0x56bb23(0x24f)]=!![]);}(helper[_0x56bb23(0x209)](this[_0x56bb23(0x1cc)]['platforms'])||helper[_0x56bb23(0x209)](this['config'][_0x56bb23(0x2bd)]['length']))&&(helper[_0x56bb23(0x209)](this['config'][_0x56bb23(0x2d1)])?logger[_0x56bb23(0x262)](_0x573c13[_0x56bb23(0x1eb)]):logger[_0x56bb23(0x224)](_0x573c13['nXhNg']),this[_0x56bb23(0x1cc)][_0x56bb23(0x2bd)]=[]);!this['config'][_0x56bb23(0x259)]&&(this[_0x56bb23(0x1cc)][_0x56bb23(0x259)]={});try{process[_0x56bb23(0x22b)][_0x56bb23(0x1df)]=_0x259b16['_'][0x0],utilities[_0x56bb23(0x216)](_0x573c13['XuNvH'],{},this[_0x56bb23(0x1cc)],this['framework']);}catch(_0x21aaa2){logger[_0x56bb23(0x1d6)](_0x56bb23(0x296)+_0x21aaa2);}!this[_0x56bb23(0x1cc)]['disableAutoCaptureLogs']&&logger['info'](constants[_0x56bb23(0x1d3)]),this['intExitHandler']=this[_0x56bb23(0x1de)][_0x56bb23(0x27a)](this),process['on'](_0x573c13['nOCbj'],this[_0x56bb23(0x1de)]),process['on'](_0x573c13[_0x56bb23(0x1cd)],this[_0x56bb23(0x1de)]),process['on'](_0x573c13[_0x56bb23(0x2bb)],this[_0x56bb23(0x1de)]),_0x573c13[_0x56bb23(0x2a4)](process['platform'],_0x573c13[_0x56bb23(0x2db)])?(process['on'](_0x573c13[_0x56bb23(0x207)],this[_0x56bb23(0x1de)]),process['on'](_0x573c13[_0x56bb23(0x2a3)],this[_0x56bb23(0x1de)])):process['on'](_0x573c13['AZwRH'],this['intExitHandler']),process['on'](_0x573c13['mPEMK'],this[_0x56bb23(0x277)]());}async[a94_0x497078(0x2aa)](_0x4138d3){const _0x4c3ba0=a94_0x497078,_0x40778a={'fOviz':_0x4c3ba0(0x1f2),'kGHGw':_0x4c3ba0(0x2d0),'eZDcF':_0x4c3ba0(0x28b),'dYMAP':function(_0x2b036f,_0x482365){return _0x2b036f===_0x482365;},'Yijbk':_0x4c3ba0(0x2e3),'koQSD':function(_0x485e9,_0x882099){return _0x485e9+_0x882099;},'zwnSB':_0x4c3ba0(0x212),'UkKTn':function(_0x47980b,_0x3337fb){return _0x47980b(_0x3337fb);},'rIoCk':_0x4c3ba0(0x27f)};this[_0x4c3ba0(0x244)](_0x4138d3);if(helper[_0x4c3ba0(0x1d0)](this[_0x4c3ba0(0x1cc)])){const _0x3dcd99=await helper[_0x4c3ba0(0x200)](this[_0x4c3ba0(0x1cc)]);this[_0x4c3ba0(0x1cc)]['turboScaleGridDetails']=_0x3dcd99,_0x3dcd99[_0x4c3ba0(0x286)]&&helper['isNotUndefined'](this['config']['browserstackLocal'])&&helper['isTrue'](this[_0x4c3ba0(0x1cc)]['browserstackLocal'])&&(this[_0x4c3ba0(0x1cc)][_0x4c3ba0(0x25a)][_0x4c3ba0(0x294)]=_0x40778a[_0x4c3ba0(0x20a)],this[_0x4c3ba0(0x1cc)][_0x4c3ba0(0x25a)][_0x40778a[_0x4c3ba0(0x256)]]=_0x3dcd99[_0x4c3ba0(0x1ca)]['join'](','),this[_0x4c3ba0(0x1cc)][_0x4c3ba0(0x25a)][_0x4c3ba0(0x230)]=_0x40778a[_0x4c3ba0(0x1fc)]),this['config'][_0x4c3ba0(0x251)]=_0x3dcd99[_0x4c3ba0(0x20c)],this['framework']&&_0x40778a[_0x4c3ba0(0x21c)](this['framework'][_0x4c3ba0(0x26f)](),_0x40778a['Yijbk'])?this[_0x4c3ba0(0x1cc)][_0x4c3ba0(0x251)]=_0x40778a[_0x4c3ba0(0x2ad)](_0x3dcd99['playwrightUrl'],_0x40778a['zwnSB']):constants[_0x4c3ba0(0x219)]=helper[_0x4c3ba0(0x2b4)](this[_0x4c3ba0(0x1cc)]),logger['debug'](_0x4c3ba0(0x1d2)+constants['hubUrl']);}helper['setProxySettings'](this[_0x4c3ba0(0x1cc)]),this[_0x4c3ba0(0x1e8)](),_0x40778a[_0x4c3ba0(0x2c5)](setPercyFlag,this),await this[_0x4c3ba0(0x293)](),![_0x40778a[_0x4c3ba0(0x23b)],_0x40778a[_0x4c3ba0(0x2b5)]][_0x4c3ba0(0x26b)](this[_0x4c3ba0(0x23c)])&&!helper[_0x4c3ba0(0x1d0)](this['config'])&&!helper[_0x4c3ba0(0x1dc)]()[_0x4c3ba0(0x1f9)]&&await this[_0x4c3ba0(0x253)]();}async['setupPercy'](){const _0x4ee88a=a94_0x497078,_0x1584e0={};_0x1584e0[_0x4ee88a(0x206)]=function(_0x2ff67f,_0x1e0775){return _0x2ff67f===_0x1e0775;},_0x1584e0[_0x4ee88a(0x292)]=_0x4ee88a(0x2a0),_0x1584e0['rXETY']=_0x4ee88a(0x1fb),_0x1584e0[_0x4ee88a(0x2c2)]=_0x4ee88a(0x2d2),_0x1584e0[_0x4ee88a(0x23d)]=_0x4ee88a(0x28b),_0x1584e0['nyrjU']=_0x4ee88a(0x205);const _0x4b3f06=_0x1584e0;if(helper[_0x4ee88a(0x1d9)](this[_0x4ee88a(0x1cc)]['percy'])&&(!this['percy']||!this[_0x4ee88a(0x2d4)]['isRunning']()))try{this['percy']=await percyHelper[_0x4ee88a(0x260)](this['config']);if(!this[_0x4ee88a(0x2d4)]){process[_0x4ee88a(0x22b)]['BROWSERSTACK_PERCY']=_0x4b3f06[_0x4ee88a(0x292)];throw new Error(_0x4b3f06[_0x4ee88a(0x228)]);}logger[_0x4ee88a(0x262)](_0x4b3f06[_0x4ee88a(0x2c2)]),process[_0x4ee88a(0x22b)][_0x4ee88a(0x270)]=_0x4b3f06['Jkupg'];let _0x145d7d=0x0;const _0x1f5f6b=async()=>{const _0x53f7e1=_0x4ee88a;_0x145d7d++,_0x4b3f06[_0x53f7e1(0x206)](_0x145d7d,0x1)&&await this[_0x53f7e1(0x225)]();};process['on'](_0x4b3f06[_0x4ee88a(0x1cf)],_0x1f5f6b);}catch(_0x489f00){process[_0x4ee88a(0x22b)][_0x4ee88a(0x270)]=_0x4b3f06['sWTgB'],logger[_0x4ee88a(0x1d6)](_0x4ee88a(0x2d5)+_0x489f00);throw new Error(_0x489f00[_0x4ee88a(0x2cc)]());}}async[a94_0x497078(0x225)](){const _0x46ec20=a94_0x497078,_0x5c2abf={};_0x5c2abf[_0x46ec20(0x233)]=_0x46ec20(0x204),_0x5c2abf['TFpuQ']='Error\x20occured\x20while\x20stopping\x20percy';const _0x36f6df=_0x5c2abf;if(this['percy']&&this[_0x46ec20(0x2d4)][_0x46ec20(0x1cb)]())try{await percyHelper[_0x46ec20(0x225)](this['percy']),logger[_0x46ec20(0x262)](_0x36f6df['eNtPd']);}catch(_0x3518a9){logger[_0x46ec20(0x1f4)](_0x36f6df[_0x46ec20(0x222)],_0x3518a9[_0x46ec20(0x1d7)]);}}async[a94_0x497078(0x293)](){const _0x22c211=a94_0x497078,_0x195c6b={};_0x195c6b[_0x22c211(0x20f)]=_0x22c211(0x261),_0x195c6b['BPchf']=_0x22c211(0x2df);const _0x39de22=_0x195c6b;if(helper[_0x22c211(0x238)]()&&helper[_0x22c211(0x1d9)](this[_0x22c211(0x1cc)][_0x22c211(0x2d9)])&&(!this[_0x22c211(0x2d9)]||!this[_0x22c211(0x2d9)][_0x22c211(0x1cb)]()))try{if(this[_0x22c211(0x1cc)][_0x22c211(0x25a)][_0x22c211(0x21a)]){logger[_0x22c211(0x1d6)](_0x39de22[_0x22c211(0x20f)]);return;}this['browserstackLocal']=await helper[_0x22c211(0x282)](this[_0x22c211(0x1cc)]),logger[_0x22c211(0x262)](_0x39de22[_0x22c211(0x2c1)]);}catch(_0x1057cc){logger['debug'](_0x1057cc);throw new Error(_0x1057cc[_0x22c211(0x2cc)]());}}async[a94_0x497078(0x2ac)](){const _0x49a01d=a94_0x497078,_0x560d69={};_0x560d69[_0x49a01d(0x2b6)]=_0x49a01d(0x258),_0x560d69[_0x49a01d(0x2a2)]='Error\x20occured\x20while\x20stopping\x20local\x20binary';const _0x342b33=_0x560d69;if(this[_0x49a01d(0x2d9)]&&this[_0x49a01d(0x2d9)][_0x49a01d(0x1cb)]())try{await helper[_0x49a01d(0x24d)](this['browserstackLocal']),logger[_0x49a01d(0x262)](_0x342b33[_0x49a01d(0x2b6)]);}catch(_0x28b1c1){logger[_0x49a01d(0x1f4)](_0x342b33[_0x49a01d(0x2a2)],_0x28b1c1[_0x49a01d(0x1d7)]);}}async['setUpHubUrl'](){const _0x5a762c=a94_0x497078;return PerformanceTester[_0x5a762c(0x2c9)](PerformanceAutEvents[_0x5a762c(0x29d)],async()=>{const _0x14cbc5=_0x5a762c;await hubAllocator['allocateHub'](this[_0x14cbc5(0x1cc)]);})();}async[a94_0x497078(0x298)](){const _0x4bb0c0=a94_0x497078,_0x1859e9={'VHinm':function(_0x1309b5,_0x5c9ed2){return _0x1309b5(_0x5c9ed2);},'nqutP':_0x4bb0c0(0x236),'xDbxJ':function(_0x10a31b,_0x3978e0,_0x5dee2a,_0x1a4858,_0x275897,_0x406999,_0x3ed148){return _0x10a31b(_0x3978e0,_0x5dee2a,_0x1a4858,_0x275897,_0x406999,_0x3ed148);},'EpLzC':_0x4bb0c0(0x1fd),'uQUlK':_0x4bb0c0(0x297),'NcmaC':_0x4bb0c0(0x283),'xwAdb':_0x4bb0c0(0x1d4),'BSNds':function(_0x2aa55a,_0xcfaa22){return _0x2aa55a(_0xcfaa22);},'mQjrJ':function(_0x158cd9,_0x3ce7ab){return _0x158cd9===_0x3ce7ab;},'GHbCA':_0x4bb0c0(0x28b),'yGbum':function(_0x16b960,_0x14ab03){return _0x16b960===_0x14ab03;},'GCXnO':function(_0x25d38f,_0x8df279){return _0x25d38f===_0x8df279;},'NMSGj':_0x4bb0c0(0x2b2),'ukJno':function(_0x44458f,_0x338efe){return _0x44458f===_0x338efe;},'BzaKn':_0x4bb0c0(0x2ae),'JBxif':'Authentication\x20Failed.\x20Disabling\x20Healing\x20for\x20this\x20session.','Qifub':function(_0x33c1fd,_0x498261){return _0x33c1fd(_0x498261);},'IVihk':_0x4bb0c0(0x217),'lrDun':function(_0x1b3fe7,_0x22d775){return _0x1b3fe7>=_0x22d775;},'TLftl':function(_0x4ab2a2,_0x4a0758){return _0x4ab2a2<_0x4a0758;},'dSVrI':function(_0x4c76c5,_0xe6ba66){return _0x4c76c5>=_0xe6ba66;},'OkHxk':_0x4bb0c0(0x2bc),'ddYUf':_0x4bb0c0(0x2b8),'REIYR':function(_0xb485){return _0xb485();}},_0x4fc782=PerformanceTester[_0x4bb0c0(0x2c9)](_0x1859e9[_0x4bb0c0(0x1ed)],async()=>{const _0xbe2b21=_0x4bb0c0;try{const _0x4aaff1=new Date(),_0x32ab7a=helper[_0xbe2b21(0x2ca)](this[_0xbe2b21(0x1cc)]),_0x24f242=_0x1859e9[_0xbe2b21(0x2a1)](require,path[_0xbe2b21(0x2c6)](__dirname,_0x1859e9[_0xbe2b21(0x1f7)])),_0x52230f=_0x1859e9[_0xbe2b21(0x1f6)](timeoutPromise,constants[_0xbe2b21(0x264)],_0x1859e9[_0xbe2b21(0x241)],_0x1859e9[_0xbe2b21(0x28f)],_0x4aaff1,this[_0xbe2b21(0x1cc)],this['framework']),_0x30a097={'tcgUrl':constants['TCG_URL'],'sdkVersion':_0x1859e9[_0xbe2b21(0x2a1)](require,_0x1859e9[_0xbe2b21(0x2b0)])[_0xbe2b21(0x2c7)],'methodUsed':_0x1859e9['xwAdb'],'proxyConfig':_0x32ab7a,'os':os[_0xbe2b21(0x265)]()};if(_0x32ab7a&&_0x32ab7a[_0xbe2b21(0x22f)]){utilities['fireFunnelTestEvent'](constants['AI_PROXY_FAILURE'],_0x30a097,this['config'],this['framework']);return;}const _0x64be15={};_0x64be15[_0xbe2b21(0x22d)]=_0x32ab7a;const _0x5195e0=await Promise['race']([_0x24f242[_0xbe2b21(0x25d)](this[_0xbe2b21(0x1cc)]['accessKey'],this[_0xbe2b21(0x1cc)][_0xbe2b21(0x285)],constants['TCG_URL'],_0x1859e9['BSNds'](require,_0x1859e9['NcmaC'])[_0xbe2b21(0x2c7)],_0x64be15)[_0xbe2b21(0x226)](_0x5c67b8=>{const _0x24ae12=_0xbe2b21;return _0x52230f[_0x24ae12(0x281)](),_0x5c67b8;}),_0x52230f]);_0x5195e0[_0xbe2b21(0x263)]=_0x1859e9[_0xbe2b21(0x1ce)](_0x5195e0['isHealingEnabled'],_0x1859e9[_0xbe2b21(0x255)])||_0x1859e9[_0xbe2b21(0x24c)](_0x5195e0[_0xbe2b21(0x263)],!![]);const _0x316530=_0x1859e9[_0xbe2b21(0x1ce)](this[_0xbe2b21(0x1cc)][_0xbe2b21(0x201)],!![])||_0x1859e9['mQjrJ'](this['config'][_0xbe2b21(0x201)],_0x1859e9[_0xbe2b21(0x255)]);if(_0x1859e9[_0xbe2b21(0x2ba)](_0x5195e0[_0xbe2b21(0x1d7)],constants[_0xbe2b21(0x2c3)])&&_0x316530)logger[_0xbe2b21(0x262)](_0x1859e9[_0xbe2b21(0x235)]);else{if(!_0x5195e0['isAuthenticated']&&_0x1859e9['ukJno'](_0x5195e0['status'],0x1f7)&&_0x316530)logger[_0xbe2b21(0x262)](_0x1859e9[_0xbe2b21(0x2b7)]),utilities[_0xbe2b21(0x216)](constants[_0xbe2b21(0x2ab)],_0x30a097,this['config'],this[_0xbe2b21(0x23c)]);else{if(!_0x5195e0[_0xbe2b21(0x232)]&&_0x316530){logger[_0xbe2b21(0x262)](_0x1859e9[_0xbe2b21(0x2d3)]);const _0x3257b2={'tcgUrl':constants[_0xbe2b21(0x284)],'sdkVersion':_0x1859e9['Qifub'](require,_0x1859e9['NcmaC'])[_0xbe2b21(0x2c7)],'methodUsed':_0x1859e9[_0xbe2b21(0x28d)],'proxyConfig':_0x32ab7a,'os':os['platform']()};utilities['fireFunnelTestEvent'](constants[_0xbe2b21(0x2a5)],_0x3257b2,this[_0xbe2b21(0x1cc)],this[_0xbe2b21(0x23c)]);}else{if(_0x5195e0[_0xbe2b21(0x232)]&&!_0x5195e0[_0xbe2b21(0x263)]&&_0x316530)logger[_0xbe2b21(0x262)](_0x1859e9['IVihk']);else{if(_0x1859e9[_0xbe2b21(0x2b3)](_0x5195e0[_0xbe2b21(0x1c9)],0xc8)&&_0x1859e9[_0xbe2b21(0x223)](_0x5195e0[_0xbe2b21(0x1c9)],0x12c))utilities[_0xbe2b21(0x216)](constants[_0xbe2b21(0x1fe)],_0x30a097,this[_0xbe2b21(0x1cc)],this[_0xbe2b21(0x23c)]);else{if(_0x1859e9[_0xbe2b21(0x218)](_0x5195e0[_0xbe2b21(0x1c9)],0x190))_0x30a097[_0xbe2b21(0x1c9)]=_0x5195e0['status'],utilities[_0xbe2b21(0x216)](constants[_0xbe2b21(0x1f5)],_0x30a097,this[_0xbe2b21(0x1cc)],this[_0xbe2b21(0x23c)]);else!_0x5195e0[_0xbe2b21(0x1c9)]&&utilities[_0xbe2b21(0x216)](constants[_0xbe2b21(0x2ce)],_0x30a097,this[_0xbe2b21(0x1cc)],this['framework']);}}}}}if(_0x5195e0[_0xbe2b21(0x232)]&&_0x5195e0[_0xbe2b21(0x263)]){const _0x5cb7de={};_0x5cb7de[_0xbe2b21(0x287)]=_0x5195e0;const _0x4c13d7=_0x5cb7de;_0x32ab7a&&(_0x4c13d7[_0xbe2b21(0x21e)]=_0x32ab7a),_0x4c13d7[_0xbe2b21(0x23c)]=this[_0xbe2b21(0x23c)],_0x4c13d7['bstackConfig']=this[_0xbe2b21(0x1cc)],helper[_0xbe2b21(0x1e4)](_0x4c13d7),logger[_0xbe2b21(0x1d6)](_0x1859e9[_0xbe2b21(0x249)]);}}catch(_0x54b504){logger[_0xbe2b21(0x1d6)](_0xbe2b21(0x22a)+(_0x54b504[_0xbe2b21(0x1d7)]?_0x54b504[_0xbe2b21(0x1d7)]:''));}});await _0x1859e9[_0x4bb0c0(0x1ee)](_0x4fc782);}[a94_0x497078(0x1e8)](){const _0x495ead=a94_0x497078,_0x54e216={'Gdykf':function(_0x38cdab,_0x780a3f){return _0x38cdab(_0x780a3f);},'LIAnm':'./setKeepAlive'};_0x54e216[_0x495ead(0x1e2)](require,_0x54e216[_0x495ead(0x1f1)])();}[a94_0x497078(0x215)](){const _0xfc522a=a94_0x497078,_0x32084f={};_0x32084f[_0xfc522a(0x24b)]=_0xfc522a(0x2bf),_0x32084f[_0xfc522a(0x240)]=_0xfc522a(0x276),_0x32084f[_0xfc522a(0x22e)]=_0xfc522a(0x299);const _0x2ff549=_0x32084f,_0x504fcb=_0x43f368=>{const _0x429cb1=_0xfc522a,_0x5dc055=_0x2ff549[_0x429cb1(0x24b)][_0x429cb1(0x25f)]('|');let _0x2c9dcd=0x0;while(!![]){switch(_0x5dc055[_0x2c9dcd++]){case'0':logger[_0x429cb1(0x1d6)](util[_0x429cb1(0x257)](_0x43f368));continue;case'1':ClientTroubleShootingService['reportFinalDetectionState']();continue;case'2':logger['error'](_0x43f368[_0x429cb1(0x1d7)]);continue;case'3':PerformanceTester[_0x429cb1(0x295)](_0x43f368);continue;case'4':this[_0x429cb1(0x214)][_0x429cb1(0x28a)](util[_0x429cb1(0x257)]('%j',_0x43f368));continue;}break;}};process['on'](_0x2ff549['UayvI'],_0x504fcb),process['on'](_0x2ff549[_0xfc522a(0x22e)],_0x504fcb);}async[a94_0x497078(0x1de)](_0x16c112){const _0x599390=a94_0x497078,_0x2c3cbb={};_0x2c3cbb[_0x599390(0x2a8)]=_0x599390(0x1e9),_0x2c3cbb[_0x599390(0x202)]=function(_0x5a0789,_0x3d7eeb){return _0x5a0789+_0x3d7eeb;},_0x2c3cbb['ToSFY']=_0x599390(0x2a9),_0x2c3cbb[_0x599390(0x2be)]=function(_0x2037d0,_0x3b97d4){return _0x2037d0+_0x3b97d4;},_0x2c3cbb[_0x599390(0x25b)]=function(_0x35ca17,_0x1fdf1b){return _0x35ca17+_0x1fdf1b;},_0x2c3cbb[_0x599390(0x29f)]=_0x599390(0x252);const _0x30d506=_0x2c3cbb,_0x35222c=_0x30d506[_0x599390(0x2a8)][_0x599390(0x25f)]('|');let _0x202445=0x0;while(!![]){switch(_0x35222c[_0x202445++]){case'0':if(this[_0x30d506['GHuiK'](_0x30d506[_0x599390(0x289)],_0x16c112)])return;continue;case'1':await TestHubHandler[_0x599390(0x2a6)](_0x16c112);continue;case'2':this[_0x30d506[_0x599390(0x2be)](_0x30d506['ToSFY'],_0x16c112)]=!![];continue;case'3':await ClientTroubleShootingService[_0x599390(0x266)]();continue;case'4':logger[_0x599390(0x262)](_0x30d506[_0x599390(0x25b)](_0x30d506[_0x599390(0x29f)],_0x16c112));continue;case'5':await BrowserstackCLI[_0x599390(0x1ff)]()[_0x599390(0x2a6)]();continue;case'6':this[_0x599390(0x24a)]=_0x16c112;continue;case'7':await ClientTroubleShootingService[_0x599390(0x2cb)](_0x16c112);continue;}break;}}[a94_0x497078(0x277)](){const _0x136f7d=a94_0x497078,_0x3af160={'YXoux':function(_0x14018b,_0x304948){return _0x14018b===_0x304948;},'IQtZp':_0x136f7d(0x234),'hRFsy':function(_0x5429a0,_0x428da5){return _0x5429a0>_0x428da5;},'sVeyH':function(_0x56f49b,_0x40609b){return _0x56f49b(_0x40609b);},'jUOdh':function(_0x2a6624){return _0x2a6624();},'hzSVV':_0x136f7d(0x245)};let _0x127b4e=0x0;return async()=>{const _0x1085cc=_0x136f7d;_0x127b4e++;if(_0x3af160[_0x1085cc(0x20e)](_0x127b4e,0x1)){helper['checkStopLocalBinaryOnExit'](this[_0x1085cc(0x23c)])&&await this[_0x1085cc(0x2ac)]();try{logger[_0x1085cc(0x1d6)](_0x3af160['IQtZp']),await TestHubHandler[_0x1085cc(0x2a6)](_0x127b4e),await ClientTroubleShootingService[_0x1085cc(0x266)](),await BrowserstackCLI[_0x1085cc(0x1ff)]()[_0x1085cc(0x2a6)]('1');}catch(_0x3f99ab){logger[_0x1085cc(0x1d6)](_0x1085cc(0x2af)+util['format'](_0x3f99ab));}PerformanceTester[_0x1085cc(0x229)](PerformanceEvents[_0x1085cc(0x1db)]);if(PerformanceTester['isEnabled']()){const {measures:_0x55b130,errors:_0x4b0e59}=await PerformanceTester[_0x1085cc(0x1f8)](),_0x112413={};if(_0x55b130&&_0x3af160[_0x1085cc(0x1f3)](_0x55b130['length'],0x0)||_0x4b0e59&&_0x3af160[_0x1085cc(0x1f3)](_0x4b0e59[_0x1085cc(0x1ec)],0x0)){const _0x1d3f83={};_0x1d3f83[_0x1085cc(0x227)]=_0x55b130,_0x1d3f83[_0x1085cc(0x272)]=_0x4b0e59,Object[_0x1085cc(0x1da)](_0x112413,_0x1d3f83);}try{const _0x970f78=await helper[_0x1085cc(0x246)](_0x112413,this[_0x1085cc(0x1cc)]);logger['debug'](_0x1085cc(0x2de)+_0x3af160['sVeyH'](getEdsInstrumentationAPIUrl,'')+_0x1085cc(0x221)+_0x970f78['statusCode']);}catch(_0x3364f6){logger[_0x1085cc(0x1d6)](_0x1085cc(0x1d5)+_0x3af160['sVeyH'](getEdsInstrumentationAPIUrl,'')+_0x1085cc(0x2e1)+util[_0x1085cc(0x257)](_0x3364f6));}try{fs[_0x1085cc(0x213)](path[_0x1085cc(0x2c6)](_0x3af160['jUOdh'](getLogDir),_0x3af160['hzSVV']),JSON[_0x1085cc(0x28e)](_0x112413));}catch(_0x147491){logger[_0x1085cc(0x1d6)](_0x1085cc(0x26a)+_0x147491);}}}logger&&logger[_0x1085cc(0x23f)](),fileLogger&&fileLogger[_0x1085cc(0x23f)]();};}}exports[a94_0x497078(0x1e1)]=BrowserStackSetup;
|
|
1
|
+
const a94_0x19ff24=a94_0x255c;function a94_0x255c(_0x4e54ed,_0x5c39c6){const _0x5bc2d0=a94_0x5bc2();return a94_0x255c=function(_0x255c9c,_0x349316){_0x255c9c=_0x255c9c-0x75;let _0x6fb2d4=_0x5bc2d0[_0x255c9c];return _0x6fb2d4;},a94_0x255c(_0x4e54ed,_0x5c39c6);}(function(_0x14676e,_0x3c0181){const _0x6b507=a94_0x255c,_0x24d43b=_0x14676e();while(!![]){try{const _0x1ef0da=parseInt(_0x6b507(0x10f))/0x1+parseInt(_0x6b507(0xbd))/0x2*(-parseInt(_0x6b507(0x80))/0x3)+-parseInt(_0x6b507(0xd5))/0x4*(parseInt(_0x6b507(0xaa))/0x5)+parseInt(_0x6b507(0x8a))/0x6*(parseInt(_0x6b507(0xa2))/0x7)+parseInt(_0x6b507(0x75))/0x8*(-parseInt(_0x6b507(0xe6))/0x9)+-parseInt(_0x6b507(0x90))/0xa+parseInt(_0x6b507(0xf5))/0xb*(parseInt(_0x6b507(0x11d))/0xc);if(_0x1ef0da===_0x3c0181)break;else _0x24d43b['push'](_0x24d43b['shift']());}catch(_0x271cba){_0x24d43b['push'](_0x24d43b['shift']());}}}(a94_0x5bc2,0xa0596));const util=require(a94_0x19ff24(0xfe)),os=require('os'),path=require(a94_0x19ff24(0xa7)),{v4:uuidv4}=require(a94_0x19ff24(0x106)),fs=require('fs'),constants=require(a94_0x19ff24(0x105)),logger=require(a94_0x19ff24(0x15b))[a94_0x19ff24(0x94)],fileLogger=require(a94_0x19ff24(0x15b))[a94_0x19ff24(0x10d)],{getLogDir}=require(a94_0x19ff24(0x15b)),helper=require('./helper'),utilities=require('./utilities'),percyHelper=require(a94_0x19ff24(0x91)),hubAllocator=require('../hubAllocationMethods'),PerformanceTester=require(a94_0x19ff24(0x109)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents}=require(a94_0x19ff24(0xf7)),{setPercyFlag}=require('./testhub/utils'),TestHubHandler=require(a94_0x19ff24(0x169)),timeoutPromise=require('./timeoutPromise'),BrowserstackCLI=require(a94_0x19ff24(0xae)),LoadTestModule=require('../bin/v2/modules/loadTestModule'),{getEdsInstrumentationAPIUrl}=require(a94_0x19ff24(0xb8)),ClientTroubleShootingService=require('../bin/utils/clientTroubleshootingService');class BrowserStackSetup{constructor(_0x7acd77,_0x37ae03){const _0x185128=a94_0x19ff24,_0x22d367={'GabuG':_0x185128(0x118),'XKUve':'No\x20config\x20provided.','ahVdg':function(_0x2f68a2){return _0x2f68a2();}},_0x238866=_0x22d367[_0x185128(0xed)][_0x185128(0x14f)]('|');let _0x35b195=0x0;while(!![]){switch(_0x238866[_0x35b195++]){case'0':helper['setBrowserstackInfraFromConfig'](this[_0x185128(0x179)],this['cliConfig']);continue;case'1':this['cliConfig']=helper['setCLICaps'](_0x7acd77);continue;case'2':this[_0x185128(0xdc)]=null;continue;case'3':helper[_0x185128(0x11f)]();continue;case'4':PerformanceTester[_0x185128(0xb5)]();continue;case'5':this[_0x185128(0x8c)]=null;continue;case'6':global['framework']=_0x37ae03;continue;case'7':this['config']=helper[_0x185128(0xca)](this[_0x185128(0xe0)]);continue;case'8':this['framework']=_0x37ae03;continue;case'9':if(helper[_0x185128(0x7b)](this['config']))throw new Error(_0x22d367[_0x185128(0x15f)]);continue;case'10':helper[_0x185128(0x16c)](this[_0x185128(0x179)]);continue;case'11':this[_0x185128(0x99)]=_0x22d367[_0x185128(0xd1)](uuidv4);continue;case'12':this['errorMessage']={};continue;case'13':this[_0x185128(0x179)][_0x185128(0xe1)]=this['config'][_0x185128(0xe1)]||{};continue;case'14':helper[_0x185128(0xac)](this['config']);continue;case'15':this[_0x185128(0x179)][_0x185128(0xe1)]['skipSessionName']=!helper[_0x185128(0x173)]()||helper[_0x185128(0xb0)](this[_0x185128(0x179)][_0x185128(0xe1)][_0x185128(0x114)]);continue;case'16':this[_0x185128(0x115)]=helper[_0x185128(0x17f)]();continue;case'17':helper[_0x185128(0x116)](this[_0x185128(0x179)],this[_0x185128(0xe4)],this[_0x185128(0x115)]);continue;case'18':if(this[_0x185128(0x179)]['error'])throw new Error(this['config'][_0x185128(0x13e)]);continue;case'19':this[_0x185128(0x179)][_0x185128(0xf6)]=this['config'][_0x185128(0xf6)]||[];continue;case'20':this[_0x185128(0xe0)]=helper[_0x185128(0x9c)](_0x7acd77);continue;case'21':helper[_0x185128(0x164)](this['config'],this[_0x185128(0xe4)],this['envConfig']);continue;case'22':this[_0x185128(0x179)][_0x185128(0xe1)][_0x185128(0xd7)]=!helper[_0x185128(0x173)]()||helper['isTrue'](this[_0x185128(0x179)]['testContextOptions'][_0x185128(0xd7)]);continue;case'23':this[_0x185128(0xde)]=[];continue;}break;}}[a94_0x19ff24(0x12b)](_0x4ed774){const _0x243f4f=a94_0x19ff24,_0x44be2b={'sjKMK':_0x243f4f(0x119),'JxDle':function(_0x408c73,_0x17b668){return _0x408c73===_0x17b668;},'KlIvK':'integrations','iMpjN':_0x243f4f(0xfd),'zTJrh':function(_0x1c7d75,_0x4787d4){return _0x1c7d75<_0x4787d4;},'ubTVU':function(_0x58cb12,_0x43530f){return _0x58cb12(_0x43530f);},'Jqjmc':_0x243f4f(0x135),'wEdTD':_0x243f4f(0xd4),'ZsQIF':_0x243f4f(0x129),'AvheT':_0x243f4f(0xb6),'MypoF':_0x243f4f(0x165),'JBWIf':_0x243f4f(0x170),'zNbrA':'SIGHUP','DxZZw':function(_0x1cb865,_0x3c5fe8){return _0x1cb865!==_0x3c5fe8;},'jwmhv':'win32','rwwcA':_0x243f4f(0xeb),'hTAyA':_0x243f4f(0xc9),'fLpFE':_0x243f4f(0xf4),'Yhdty':_0x243f4f(0x17e)},_0x1d8df4=this[_0x243f4f(0xb2)];global['config']=this[_0x243f4f(0x179)],helper[_0x243f4f(0x120)](this[_0x243f4f(0x179)]),this[_0x243f4f(0x10e)]=null,global['sdkRunId']=this[_0x243f4f(0x99)],logger['info'](_0x243f4f(0x130)+this[_0x243f4f(0x99)]),!this[_0x243f4f(0x179)][_0x243f4f(0x16b)]&&(this['config'][_0x243f4f(0x16b)]=this[_0x243f4f(0x179)][_0x243f4f(0x112)]||{});if(helper['isUndefined'](helper['getUserName'](this[_0x243f4f(0x179)]))||helper['isUndefined'](helper[_0x243f4f(0x11b)](this['config'])))throw new Error(_0x44be2b['sjKMK']);helper['getLocalConfig'](this[_0x243f4f(0x179)])&&helper['isUndefined'](helper[_0x243f4f(0x171)](this[_0x243f4f(0x179)]))&&(!helper[_0x243f4f(0x7b)](this[_0x243f4f(0x179)][_0x243f4f(0x16b)])&&_0x44be2b[_0x243f4f(0x8e)](this[_0x243f4f(0x179)][_0x243f4f(0x16b)][_0x243f4f(0x101)],Object)?!helper['isTrue'](this['config'][_0x243f4f(0x16b)]['skipBinaryInitialisation'])&&(this[_0x243f4f(0x179)][_0x243f4f(0x16b)]['localIdentifier']=helper[_0x243f4f(0x160)]()):this[_0x243f4f(0x179)][_0x243f4f(0x16b)]={'localIdentifier':helper['generateLocalIdentifier']()});this[_0x243f4f(0x179)]['browserStackLocalOptions'][_0x243f4f(0x17d)]=helper[_0x243f4f(0xb0)](this[_0x243f4f(0x179)][_0x243f4f(0x16b)]['skipBinaryInitialisation']),helper['setHandlePWError'](this['config']);if(_0x44be2b[_0x243f4f(0x8e)](_0x1d8df4,_0x44be2b[_0x243f4f(0x17c)]))return;this[_0x243f4f(0xec)]();process[_0x243f4f(0x110)]['BROWSERSTACK_TURBOSCALE']&&(this[_0x243f4f(0x179)][_0x243f4f(0x151)]=helper[_0x243f4f(0xb0)](process[_0x243f4f(0x110)][_0x243f4f(0xbb)]),this['config'][_0x243f4f(0x144)]=this[_0x243f4f(0x179)][_0x243f4f(0x144)]||{});helper[_0x243f4f(0x13c)](this[_0x243f4f(0x179)])&&(process['env']['BROWSERSTACK_TURBOSCALE']=!![]);LoadTestModule[_0x243f4f(0x92)](this[_0x243f4f(0x179)])&&logger[_0x243f4f(0x13d)](_0x243f4f(0x16d)+this[_0x243f4f(0x99)]);if(!helper['isBrowserstackInfra']()){try{process[_0x243f4f(0x110)][_0x243f4f(0xe5)]=_0x1d8df4,utilities[_0x243f4f(0x7a)](_0x44be2b[_0x243f4f(0xef)],{},this[_0x243f4f(0x179)],this[_0x243f4f(0xb2)]);}catch(_0x3b312d){logger[_0x243f4f(0x13d)](_0x243f4f(0x104)+_0x3b312d);}return;}if(helper['requireSeleniumWebdriverCheck'](_0x1d8df4)){if(global['__isPlaywrightInstalled'])return;_0x44be2b[_0x243f4f(0x9d)](_0x44be2b['ubTVU'](parseInt,helper['getPackageVersion'](_0x44be2b['Jqjmc'])),0x3)&&(this[_0x243f4f(0x179)][_0x243f4f(0x125)]=![]),_0x44be2b[_0x243f4f(0x8e)](helper[_0x243f4f(0x9f)](helper[_0x243f4f(0x7d)](_0x44be2b[_0x243f4f(0xa1)]),_0x44be2b[_0x243f4f(0x172)]),0x1)&&(this[_0x243f4f(0x179)][_0x243f4f(0x125)]=!![]);}(helper['isUndefined'](this[_0x243f4f(0x179)]['platforms'])||helper['isUndefined'](this[_0x243f4f(0x179)][_0x243f4f(0xf6)][_0x243f4f(0x146)]))&&(helper[_0x243f4f(0x7b)](this[_0x243f4f(0x179)][_0x243f4f(0x14d)])?logger[_0x243f4f(0x117)](_0x44be2b[_0x243f4f(0xe7)]):logger[_0x243f4f(0x15d)](_0x44be2b[_0x243f4f(0x134)]),this[_0x243f4f(0x179)][_0x243f4f(0xf6)]=[]);!this[_0x243f4f(0x179)][_0x243f4f(0xe1)]&&(this[_0x243f4f(0x179)][_0x243f4f(0xe1)]={});try{process[_0x243f4f(0x110)][_0x243f4f(0xe5)]=_0x4ed774['_'][0x0],utilities[_0x243f4f(0x7a)](_0x44be2b[_0x243f4f(0xef)],{},this[_0x243f4f(0x179)],this[_0x243f4f(0xb2)]);}catch(_0x1a78fe){logger['debug'](_0x243f4f(0x104)+_0x1a78fe);}!this['config'][_0x243f4f(0x7f)]&&logger[_0x243f4f(0x117)](constants[_0x243f4f(0xc0)]),this[_0x243f4f(0xcd)]=this[_0x243f4f(0xcd)][_0x243f4f(0x78)](this),process['on'](_0x44be2b[_0x243f4f(0x15e)],this['intExitHandler']),process['on'](_0x44be2b[_0x243f4f(0x12e)],this[_0x243f4f(0xcd)]),process['on'](_0x44be2b[_0x243f4f(0xa3)],this[_0x243f4f(0xcd)]),_0x44be2b[_0x243f4f(0x113)](process[_0x243f4f(0x153)],_0x44be2b[_0x243f4f(0x79)])?(process['on'](_0x44be2b[_0x243f4f(0xcf)],this[_0x243f4f(0xcd)]),process['on'](_0x44be2b[_0x243f4f(0xa4)],this[_0x243f4f(0xcd)])):process['on'](_0x44be2b[_0x243f4f(0x9b)],this[_0x243f4f(0xcd)]),process['on'](_0x44be2b['Yhdty'],this[_0x243f4f(0x142)]());}async[a94_0x19ff24(0x16e)](_0x3555e7){const _0x99980e=a94_0x19ff24,_0x3aa11a={'CeisN':_0x99980e(0xd9),'QrObz':_0x99980e(0xd8),'KIFYe':_0x99980e(0x10b),'innkF':function(_0x205ce5,_0x7978bf){return _0x205ce5===_0x7978bf;},'EZlNS':_0x99980e(0x136),'gcHdf':function(_0x1c9f68,_0x4eab60){return _0x1c9f68+_0x4eab60;},'UWBeJ':_0x99980e(0x16f),'bFOQb':function(_0x18c9ea,_0x22a340){return _0x18c9ea(_0x22a340);},'YZErD':_0x99980e(0x150)};this[_0x99980e(0x12b)](_0x3555e7);if(helper['isTurboScaleSession'](this[_0x99980e(0x179)])){const _0x3d6a33=await helper[_0x99980e(0x143)](this[_0x99980e(0x179)]);this[_0x99980e(0x179)][_0x99980e(0xf3)]=_0x3d6a33,_0x3d6a33[_0x99980e(0x126)]&&helper[_0x99980e(0xb1)](this['config']['browserstackLocal'])&&helper[_0x99980e(0xb0)](this[_0x99980e(0x179)][_0x99980e(0xdc)])&&(this[_0x99980e(0x179)][_0x99980e(0x16b)]['localIdentifier']=_0x3aa11a[_0x99980e(0xcc)],this['config'][_0x99980e(0x16b)][_0x3aa11a[_0x99980e(0x81)]]=_0x3d6a33[_0x99980e(0xc7)][_0x99980e(0x180)](','),this[_0x99980e(0x179)][_0x99980e(0x16b)]['forceLocal']=_0x3aa11a[_0x99980e(0x152)]),this['config'][_0x99980e(0x14b)]=_0x3d6a33[_0x99980e(0x182)],this[_0x99980e(0xb2)]&&_0x3aa11a[_0x99980e(0x8b)](this['framework'][_0x99980e(0xd3)](),_0x3aa11a['EZlNS'])?this[_0x99980e(0x179)][_0x99980e(0x14b)]=_0x3aa11a['gcHdf'](_0x3d6a33[_0x99980e(0xa5)],_0x3aa11a[_0x99980e(0x162)]):constants['hubUrl']=helper[_0x99980e(0x154)](this[_0x99980e(0x179)]),logger[_0x99980e(0x13d)](_0x99980e(0x87)+constants['hubUrl']);}helper[_0x99980e(0x161)](this['config']),this['setupKeepAlive'](),_0x3aa11a[_0x99980e(0x147)](setPercyFlag,this),await this['setupBrowserstackLocal'](),![_0x3aa11a['YZErD'],_0x3aa11a[_0x99980e(0x177)]][_0x99980e(0x107)](this[_0x99980e(0xb2)])&&!helper['isTurboScaleSession'](this[_0x99980e(0x179)])&&!helper[_0x99980e(0x137)]()[_0x99980e(0xee)]&&await this['setUpHubUrl']();}async[a94_0x19ff24(0x82)](){const _0x1cc8f7=a94_0x19ff24,_0x439063={};_0x439063[_0x1cc8f7(0x175)]=function(_0xc5df65,_0x9bcd02){return _0xc5df65===_0x9bcd02;},_0x439063[_0x1cc8f7(0x103)]=_0x1cc8f7(0xc2),_0x439063[_0x1cc8f7(0xcb)]=_0x1cc8f7(0xb9),_0x439063[_0x1cc8f7(0x10c)]=_0x1cc8f7(0x102),_0x439063[_0x1cc8f7(0x11a)]=_0x1cc8f7(0x10b),_0x439063['xfLev']=_0x1cc8f7(0x17e);const _0x4e5236=_0x439063;if(helper[_0x1cc8f7(0xb0)](this[_0x1cc8f7(0x179)]['percy'])&&(!this[_0x1cc8f7(0x8c)]||!this[_0x1cc8f7(0x8c)][_0x1cc8f7(0x10a)]()))try{this[_0x1cc8f7(0x8c)]=await percyHelper['startPercy'](this[_0x1cc8f7(0x179)]);if(!this[_0x1cc8f7(0x8c)]){process[_0x1cc8f7(0x110)][_0x1cc8f7(0x131)]=_0x4e5236[_0x1cc8f7(0x103)];throw new Error(_0x4e5236[_0x1cc8f7(0xcb)]);}logger[_0x1cc8f7(0x117)](_0x4e5236[_0x1cc8f7(0x10c)]),process[_0x1cc8f7(0x110)][_0x1cc8f7(0x131)]=_0x4e5236[_0x1cc8f7(0x11a)];let _0x217a33=0x0;const _0x4f712a=async()=>{const _0x45d38b=_0x1cc8f7;_0x217a33++,_0x4e5236[_0x45d38b(0x175)](_0x217a33,0x1)&&await this[_0x45d38b(0xa6)]();};process['on'](_0x4e5236['xfLev'],_0x4f712a);}catch(_0x369453){process[_0x1cc8f7(0x110)]['BROWSERSTACK_PERCY']=_0x4e5236[_0x1cc8f7(0x103)],logger[_0x1cc8f7(0x13d)](_0x1cc8f7(0x108)+_0x369453);throw new Error(_0x369453[_0x1cc8f7(0x176)]());}}async['stopPercy'](){const _0x235493=a94_0x19ff24,_0x4396a1={};_0x4396a1['soEHW']='Percy\x20stopped',_0x4396a1[_0x235493(0x149)]='Error\x20occured\x20while\x20stopping\x20percy';const _0x23fff2=_0x4396a1;if(this[_0x235493(0x8c)]&&this[_0x235493(0x8c)][_0x235493(0x10a)]())try{await percyHelper[_0x235493(0xa6)](this[_0x235493(0x8c)]),logger['info'](_0x23fff2[_0x235493(0x183)]);}catch(_0x1816cf){logger[_0x235493(0x13e)](_0x23fff2[_0x235493(0x149)],_0x1816cf[_0x235493(0xbf)]);}}async[a94_0x19ff24(0xb7)](){const _0x36f14f=a94_0x19ff24,_0x30bf4c={};_0x30bf4c[_0x36f14f(0xfb)]=_0x36f14f(0x8d),_0x30bf4c[_0x36f14f(0x141)]='Local\x20binary\x20started\x20successfully';const _0x286e9a=_0x30bf4c;if(helper[_0x36f14f(0x173)]()&&helper['isTrue'](this[_0x36f14f(0x179)][_0x36f14f(0xdc)])&&(!this[_0x36f14f(0xdc)]||!this[_0x36f14f(0xdc)][_0x36f14f(0x10a)]()))try{if(this[_0x36f14f(0x179)][_0x36f14f(0x16b)][_0x36f14f(0x17d)]){logger[_0x36f14f(0x13d)](_0x286e9a[_0x36f14f(0xfb)]);return;}this['browserstackLocal']=await helper[_0x36f14f(0xe2)](this[_0x36f14f(0x179)]),logger['info'](_0x286e9a['BPGAu']);}catch(_0x225d12){logger[_0x36f14f(0x13d)](_0x225d12);throw new Error(_0x225d12[_0x36f14f(0x176)]());}}async[a94_0x19ff24(0x85)](){const _0x2f1499=a94_0x19ff24,_0x26f255={};_0x26f255[_0x2f1499(0x174)]=_0x2f1499(0x127),_0x26f255[_0x2f1499(0x93)]='Error\x20occured\x20while\x20stopping\x20local\x20binary';const _0xc05926=_0x26f255;if(this['browserstackLocal']&&this[_0x2f1499(0xdc)][_0x2f1499(0x10a)]())try{await helper['stopLocalBinary'](this['browserstackLocal']),logger[_0x2f1499(0x117)](_0xc05926[_0x2f1499(0x174)]);}catch(_0xf59bcd){logger[_0x2f1499(0x13e)](_0xc05926[_0x2f1499(0x93)],_0xf59bcd['message']);}}async['setUpHubUrl'](){const _0x115eda=a94_0x19ff24;return PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x115eda(0x12a)],async()=>{const _0x29cdd9=_0x115eda;await hubAllocator[_0x29cdd9(0x88)](this[_0x29cdd9(0x179)]);})();}async[a94_0x19ff24(0xda)](){const _0x2cf00d=a94_0x19ff24,_0x3dfd5c={'VXLgs':function(_0x4b84b2,_0x279b40){return _0x4b84b2(_0x279b40);},'Mlwjc':_0x2cf00d(0xb4),'KLuup':function(_0x173689,_0x2f3f73,_0x4ef496,_0x40b520,_0x431734,_0x102817,_0x7600e7){return _0x173689(_0x2f3f73,_0x4ef496,_0x40b520,_0x431734,_0x102817,_0x7600e7);},'VEDpw':'BrowserstackHealing.init\x20method\x20timed\x20out','SoXND':_0x2cf00d(0x168),'lNGtJ':function(_0x5a3eac,_0x197586){return _0x5a3eac(_0x197586);},'WdKCi':_0x2cf00d(0xdb),'nTUrY':_0x2cf00d(0x155),'ZKmPC':function(_0x47cc24,_0x15e59d){return _0x47cc24(_0x15e59d);},'vvKTw':function(_0x33b4ee,_0x3554fb){return _0x33b4ee===_0x3554fb;},'bunup':_0x2cf00d(0x10b),'XbiLu':function(_0x3b602e,_0x1cc886){return _0x3b602e===_0x1cc886;},'Ttget':function(_0x2f155c,_0x379ae1){return _0x2f155c===_0x379ae1;},'weIDy':_0x2cf00d(0x184),'hNcoo':'Something\x20went\x20wrong.\x20Disabling\x20healing\x20for\x20this\x20session.\x20Please\x20try\x20again\x20later.','TmDTW':_0x2cf00d(0xfc),'quloA':_0x2cf00d(0xd6),'PwMGL':function(_0x335d04,_0x282728){return _0x335d04>=_0x282728;},'iBfIi':function(_0x1a2b07,_0x2b1f4){return _0x1a2b07<_0x2b1f4;},'XEgiR':'tcg\x20config\x20setup\x20successful.','CMIpS':_0x2cf00d(0xf1),'QdVHA':function(_0x38e500){return _0x38e500();}},_0x3759db=PerformanceTester['measureWrapper'](_0x3dfd5c[_0x2cf00d(0xdd)],async()=>{const _0x2a1387=_0x2cf00d;try{const _0x5f324e=new Date(),_0x48688c=helper[_0x2a1387(0xf0)](this[_0x2a1387(0x179)]),_0x5a1ba2=_0x3dfd5c[_0x2a1387(0x133)](require,path[_0x2a1387(0x180)](__dirname,_0x3dfd5c['Mlwjc'])),_0x476246=_0x3dfd5c[_0x2a1387(0x139)](timeoutPromise,constants['TCG_AUTH_TIMEOUT'],_0x3dfd5c[_0x2a1387(0x15c)],_0x3dfd5c['SoXND'],_0x5f324e,this[_0x2a1387(0x179)],this['framework']),_0xf2b7b4={'tcgUrl':constants[_0x2a1387(0x181)],'sdkVersion':_0x3dfd5c[_0x2a1387(0x148)](require,_0x3dfd5c[_0x2a1387(0x84)])[_0x2a1387(0xf9)],'methodUsed':_0x3dfd5c[_0x2a1387(0xad)],'proxyConfig':_0x48688c,'os':os[_0x2a1387(0x153)]()};if(_0x48688c&&_0x48688c[_0x2a1387(0xdf)]){utilities['fireFunnelTestEvent'](constants[_0x2a1387(0x97)],_0xf2b7b4,this['config'],this[_0x2a1387(0xb2)]);return;}const _0x1c72ac={};_0x1c72ac[_0x2a1387(0x17b)]=_0x48688c;const _0x241c2c=await Promise['race']([_0x5a1ba2[_0x2a1387(0xfa)](this[_0x2a1387(0x179)][_0x2a1387(0x15a)],this[_0x2a1387(0x179)][_0x2a1387(0xaf)],constants[_0x2a1387(0x181)],_0x3dfd5c[_0x2a1387(0x140)](require,_0x3dfd5c['WdKCi'])['version'],_0x1c72ac)[_0x2a1387(0x95)](_0x24f631=>{const _0x400aaf=_0x2a1387;return _0x476246[_0x400aaf(0xc4)](),_0x24f631;}),_0x476246]);_0x241c2c['isHealingEnabled']=_0x3dfd5c[_0x2a1387(0xe3)](_0x241c2c[_0x2a1387(0xc6)],_0x3dfd5c[_0x2a1387(0x13b)])||_0x3dfd5c[_0x2a1387(0xe3)](_0x241c2c[_0x2a1387(0xc6)],!![]);const _0xab195c=_0x3dfd5c[_0x2a1387(0xba)](this[_0x2a1387(0x179)]['selfHeal'],!![])||_0x3dfd5c['vvKTw'](this[_0x2a1387(0x179)][_0x2a1387(0xbc)],_0x3dfd5c[_0x2a1387(0x13b)]);if(_0x3dfd5c[_0x2a1387(0x12f)](_0x241c2c[_0x2a1387(0xbf)],constants[_0x2a1387(0x89)])&&_0xab195c)logger[_0x2a1387(0x117)](_0x3dfd5c[_0x2a1387(0x8f)]);else{if(!_0x241c2c[_0x2a1387(0xc5)]&&_0x3dfd5c[_0x2a1387(0xba)](_0x241c2c[_0x2a1387(0xc8)],0x1f7)&&_0xab195c)logger['info'](_0x3dfd5c['hNcoo']),utilities['fireFunnelTestEvent'](constants['TCG_DOWN'],_0xf2b7b4,this[_0x2a1387(0x179)],this[_0x2a1387(0xb2)]);else{if(!_0x241c2c[_0x2a1387(0xc5)]&&_0xab195c){logger[_0x2a1387(0x117)](_0x3dfd5c[_0x2a1387(0x132)]);const _0xcc45c7={'tcgUrl':constants[_0x2a1387(0x181)],'sdkVersion':_0x3dfd5c['lNGtJ'](require,_0x3dfd5c[_0x2a1387(0x84)])['version'],'methodUsed':_0x3dfd5c[_0x2a1387(0xad)],'proxyConfig':_0x48688c,'os':os[_0x2a1387(0x153)]()};utilities[_0x2a1387(0x7a)](constants['TCG_AUTH_FAILURE'],_0xcc45c7,this[_0x2a1387(0x179)],this[_0x2a1387(0xb2)]);}else{if(_0x241c2c[_0x2a1387(0xc5)]&&!_0x241c2c[_0x2a1387(0xc6)]&&_0xab195c)logger[_0x2a1387(0x117)](_0x3dfd5c[_0x2a1387(0x14a)]);else{if(_0x3dfd5c[_0x2a1387(0xe8)](_0x241c2c['status'],0xc8)&&_0x3dfd5c['iBfIi'](_0x241c2c[_0x2a1387(0xc8)],0x12c))utilities['fireFunnelTestEvent'](constants['AI_INIT_SUCCESSFUL'],_0xf2b7b4,this[_0x2a1387(0x179)],this[_0x2a1387(0xb2)]);else{if(_0x3dfd5c[_0x2a1387(0xe8)](_0x241c2c[_0x2a1387(0xc8)],0x190))_0xf2b7b4[_0x2a1387(0xc8)]=_0x241c2c[_0x2a1387(0xc8)],utilities['fireFunnelTestEvent'](constants['AI_INIT_FAILURE'],_0xf2b7b4,this[_0x2a1387(0x179)],this[_0x2a1387(0xb2)]);else!_0x241c2c[_0x2a1387(0xc8)]&&utilities['fireFunnelTestEvent'](constants[_0x2a1387(0xd0)],_0xf2b7b4,this[_0x2a1387(0x179)],this[_0x2a1387(0xb2)]);}}}}}if(_0x241c2c[_0x2a1387(0xc5)]&&_0x241c2c[_0x2a1387(0xc6)]){const _0x247e4a={};_0x247e4a[_0x2a1387(0x178)]=_0x241c2c;const _0x17794f=_0x247e4a;_0x48688c&&(_0x17794f[_0x2a1387(0xc3)]=_0x48688c),_0x17794f['framework']=this[_0x2a1387(0xb2)],_0x17794f[_0x2a1387(0xa8)]=this[_0x2a1387(0x179)],helper[_0x2a1387(0x16a)](_0x17794f),logger['debug'](_0x3dfd5c[_0x2a1387(0x98)]);}}catch(_0x34a4b4){logger[_0x2a1387(0x13d)](_0x2a1387(0x138)+(_0x34a4b4['message']?_0x34a4b4[_0x2a1387(0xbf)]:''));}});await _0x3dfd5c['QdVHA'](_0x3759db);}[a94_0x19ff24(0x12c)](){const _0xc06083=a94_0x19ff24,_0x3490ee={'YZxIx':function(_0x17fae6,_0x54d90c){return _0x17fae6(_0x54d90c);},'JWxan':_0xc06083(0x166)};_0x3490ee[_0xc06083(0x11e)](require,_0x3490ee[_0xc06083(0x123)])();}['handleExceptions'](){const _0x2e67e0=a94_0x19ff24,_0x3291ea={};_0x3291ea[_0x2e67e0(0x128)]='0|3|1|2|4',_0x3291ea[_0x2e67e0(0x7e)]=_0x2e67e0(0xd2),_0x3291ea[_0x2e67e0(0xe9)]=_0x2e67e0(0x122);const _0x3c03a1=_0x3291ea,_0x5f5143=_0x31ed2e=>{const _0x4a9a60=_0x2e67e0,_0x4291e9=_0x3c03a1[_0x4a9a60(0x128)][_0x4a9a60(0x14f)]('|');let _0x260703=0x0;while(!![]){switch(_0x4291e9[_0x260703++]){case'0':logger[_0x4a9a60(0x13e)](_0x31ed2e[_0x4a9a60(0xbf)]);continue;case'1':this[_0x4a9a60(0xde)][_0x4a9a60(0x11c)](util[_0x4a9a60(0x7c)]('%j',_0x31ed2e));continue;case'2':PerformanceTester[_0x4a9a60(0x100)](_0x31ed2e);continue;case'3':logger['debug'](util['format'](_0x31ed2e));continue;case'4':ClientTroubleShootingService[_0x4a9a60(0x111)]();continue;}break;}};process['on'](_0x3c03a1['IEIlx'],_0x5f5143),process['on'](_0x3c03a1[_0x2e67e0(0xe9)],_0x5f5143);}async[a94_0x19ff24(0xcd)](_0x59761a){const _0x320a3e=a94_0x19ff24,_0x410cc2={};_0x410cc2[_0x320a3e(0x13a)]=_0x320a3e(0xff),_0x410cc2[_0x320a3e(0xce)]=function(_0x18ee81,_0x1eafb1){return _0x18ee81+_0x1eafb1;},_0x410cc2['xiAJh']=_0x320a3e(0x83),_0x410cc2[_0x320a3e(0xea)]=function(_0x2d27bd,_0x1b702b){return _0x2d27bd+_0x1b702b;},_0x410cc2[_0x320a3e(0x121)]=_0x320a3e(0xf8),_0x410cc2[_0x320a3e(0x86)]=function(_0x319166,_0x484015){return _0x319166+_0x484015;};const _0x3f6b1e=_0x410cc2,_0x4f96ba=_0x3f6b1e['vsHkn'][_0x320a3e(0x14f)]('|');let _0x552c27=0x0;while(!![]){switch(_0x4f96ba[_0x552c27++]){case'0':await ClientTroubleShootingService['reportProcessInterruptionSituation'](_0x59761a);continue;case'1':await ClientTroubleShootingService[_0x320a3e(0x111)]();continue;case'2':if(this[_0x3f6b1e[_0x320a3e(0xce)](_0x3f6b1e[_0x320a3e(0x9e)],_0x59761a)])return;continue;case'3':logger[_0x320a3e(0x117)](_0x3f6b1e[_0x320a3e(0xea)](_0x3f6b1e[_0x320a3e(0x121)],_0x59761a));continue;case'4':this[_0x3f6b1e['RJZWf'](_0x3f6b1e[_0x320a3e(0x9e)],_0x59761a)]=!![];continue;case'5':await BrowserstackCLI[_0x320a3e(0x157)]()['stop']();continue;case'6':await TestHubHandler[_0x320a3e(0x14e)](_0x59761a);continue;case'7':this['killSignal']=_0x59761a;continue;}break;}}[a94_0x19ff24(0x142)](){const _0x3a0877=a94_0x19ff24,_0x3318e6={'FXPeT':function(_0xcb106,_0x6c0a4c){return _0xcb106===_0x6c0a4c;},'BapWw':_0x3a0877(0x145),'rOlgc':function(_0x36348d,_0x3f5e10){return _0x36348d>_0x3f5e10;},'ebPaU':function(_0x2307be,_0x105d32){return _0x2307be>_0x105d32;},'KSgSL':function(_0x13f59d,_0x1fe156){return _0x13f59d(_0x1fe156);},'mriFk':function(_0x21ee19,_0x166c43){return _0x21ee19(_0x166c43);},'DupBN':function(_0x104150){return _0x104150();},'iHwbz':_0x3a0877(0xc1)};let _0x40dc9e=0x0;return async()=>{const _0x333210=_0x3a0877;_0x40dc9e++;if(_0x3318e6[_0x333210(0x12d)](_0x40dc9e,0x1)){helper['checkStopLocalBinaryOnExit'](this[_0x333210(0xb2)])&&await this[_0x333210(0x85)]();try{logger[_0x333210(0x13d)](_0x3318e6[_0x333210(0x17a)]),await TestHubHandler[_0x333210(0x14e)](_0x40dc9e),await ClientTroubleShootingService[_0x333210(0x111)](),await BrowserstackCLI[_0x333210(0x157)]()['stop']('1');}catch(_0xccabe4){logger[_0x333210(0x13d)](_0x333210(0xa0)+util[_0x333210(0x7c)](_0xccabe4));}PerformanceTester[_0x333210(0x96)](PerformanceEvents['SDK_CLEANUP']);if(PerformanceTester[_0x333210(0x13f)]()){const {measures:_0x5d205d,errors:_0x3306a2}=await PerformanceTester['finalize'](),_0x188a63={};if(_0x5d205d&&_0x3318e6[_0x333210(0xb3)](_0x5d205d[_0x333210(0x146)],0x0)||_0x3306a2&&_0x3318e6[_0x333210(0xa9)](_0x3306a2[_0x333210(0x146)],0x0)){const _0x1f8f4b={};_0x1f8f4b['measures']=_0x5d205d,_0x1f8f4b[_0x333210(0x158)]=_0x3306a2,Object[_0x333210(0x124)](_0x188a63,_0x1f8f4b);}try{const _0x462179=await helper[_0x333210(0xbe)](_0x188a63,this[_0x333210(0x179)]);logger[_0x333210(0x13d)]('Data\x20sent\x20successfully\x20to\x20'+_0x3318e6['KSgSL'](getEdsInstrumentationAPIUrl,'')+_0x333210(0x163)+_0x462179['statusCode']);}catch(_0x28579b){logger['debug'](_0x333210(0x9a)+_0x3318e6[_0x333210(0xab)](getEdsInstrumentationAPIUrl,'')+_0x333210(0x167)+util[_0x333210(0x7c)](_0x28579b));}try{fs[_0x333210(0x156)](path['join'](_0x3318e6[_0x333210(0x14c)](getLogDir),_0x3318e6[_0x333210(0x77)]),JSON[_0x333210(0x76)](_0x188a63));}catch(_0x2750ce){logger['debug'](_0x333210(0xf2)+_0x2750ce);}}}logger&&logger['close'](),fileLogger&&fileLogger['close']();};}}function a94_0x5bc2(){const _0x5339ba=['Please\x20upgrade\x20Browserstack\x20SDK\x20to\x20the\x20latest\x20version\x20to\x20use\x20the\x20self-healing\x20feature.','4688UnULnL','stringify','iHwbz','bind','jwmhv','fireFunnelTestEvent','isUndefined','format','getPackageVersion','IEIlx','disableAutoCaptureLogs','13641nEBWVk','QrObz','setupPercy','handled','WdKCi','stopBrowserstackLocal','RJZWf','HUB\x20URL\x20SET\x20TO\x20TurboScale\x20HUB\x20-\x20','allocateHub','UPGRADE_REQUIRED','6Prdfqi','innkF','percy','Local\x20binary\x20not\x20started\x20as\x20skipBinaryInitialisation\x20is\x20enabled','JxDle','weIDy','8034620ChqYLA','./percy/utils','isLTSSession','nrjwl','winstonLogger','then','end','AI_PROXY_FAILURE','XEgiR','sdkRunId','Failed\x20to\x20send\x20data\x20to\x20','fLpFE','getConfigPath','zTJrh','xiAJh','compareVersions','Error\x20in\x20sending\x20testhub\x20stop:\x20','Jqjmc','8609895YDVywQ','zNbrA','hTAyA','playwrightUrl','stopPercy','path','bstackConfig','ebPaU','3095TWUoYs','mriFk','setLogDir','nTUrY','../bin/v2/browserstackCLI','userName','isTrue','isNotUndefined','framework','rOlgc','../ai-sdk-node/bundle','startMonitoring','parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','setupBrowserstackLocal','../bin/utils/apiUtilityMethods','Could\x20not\x20start\x20percy,\x20check\x20percy\x20logs\x20for\x20info.','XbiLu','BROWSERSTACK_TURBOSCALE','selfHeal','386nivrLQ','sendToEDS','message','AUTOLOGCAPTURE_NOTIFICATION','events.json','false','proxyConfig','cancel','isAuthenticated','isHealingEnabled','customRepeaters','status','SIGQUIT','readConfig','VpBuF','CeisN','intExitHandler','xTWyH','rwwcA','INVALID_INIT_RESP_WITH_USER_IMPACT','ahVdg','unhandledRejection','toLowerCase','4.5.0','5008AYVZHy','Healing\x20is\x20not\x20enabled\x20for\x20your\x20group,\x20please\x20contact\x20the\x20admin','skipSessionStatus','custom-repeater','ats-repeater','setupTCGAuth','../../package.json','browserstackLocal','CMIpS','unhandledErrors','proxyUrl','configPath','testContextOptions','startLocalBinary','vvKTw','cliConfig','FRAMEWORK','1206GhMFzG','ZsQIF','PwMGL','HZVMf','kbkgr','SIGABRT','handleExceptions','GabuG','central_scanner','iMpjN','getProxyConfigForTcg','aiHeal:tcgAuth','Error\x20in\x20writing\x20events\x20to\x20file\x20','turboScaleGridDetails','SIGBREAK','22iDsBWv','platforms','./performance/constants','Shutdown\x20triggered\x20by\x20','version','init','YCBHn','Authentication\x20Failed.\x20Disabling\x20Healing\x20for\x20this\x20session.','SDKTestAttempted','util','2|4|3|7|0|6|1|5','captureError','constructor','Percy\x20started\x20successfully','YYcLE','Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20','../bin/utils/constants','uuid','includes','Error\x20in\x20percy\x20setup\x20','./performance/performance-tester','isRunning','true','vYsbR','fileLogger','killSignal','698996tOjVWr','env','reportFinalDetectionState','localOptions','DxZZw','skipSessionName','envConfig','getFinalCaps','info','23|3|16|2|5|20|7|1|19|13|12|11|8|6|9|18|0|10|22|15|17|14|21|4','userName\x20or\x20accessKey\x20is\x20not\x20defined','fsvSe','getAccessKey','push','7574124kHxYjo','YZxIx','normalizeTestReportingEnvVars','sanitizeCaps','WLhkj','uncaughtException','JWxan','assign','useW3C','isTrialGrid','Local\x20binary\x20stopped','Plqfg','Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','HUB_MANAGEMENT','preInitialize','setupKeepAlive','FXPeT','JBWIf','Ttget','SDK\x20run\x20started\x20with\x20id:\x20','BROWSERSTACK_PERCY','TmDTW','VXLgs','AvheT','selenium-webdriver','playwright','getCentralUser','Error\x20in\x20setting\x20up\x20tcg\x20authconfig.\x20Error:\x20','KLuup','vsHkn','bunup','isTurboScaleSession','debug','error','isEnabled','ZKmPC','BPGAu','exitHandler','getTurboScaleGridDetails','turboScaleOptions','Calling\x20Build\x20Stop\x20from\x20ExitHandler','length','bFOQb','lNGtJ','xOUjz','quloA','turboScaleUrl','DupBN','parallelsPerPlatform','stop','split','codeceptjs','turboScale','KIFYe','platform','getHubUrl','BrowserstackHealing.init','writeFileSync','getInstance','exceptions','default','accessKey','./logger','VEDpw','warn','MypoF','XKUve','generateLocalIdentifier','setProxySettings','UWBeJ','\x20with\x20response\x20','setLogLevel','SIGTERM','./setKeepAlive','\x20with\x20error\x20','BrowserstackHealingInitFailed','./testhub/testhubHandler','setupTcgConfigFile','browserStackLocalOptions','setCredentialsFromYmlConfig','LTS\x20session\x20enabled\x20for\x20this\x20run.\x20SDK\x20run\x20id:\x20','initialize','?caps=','SIGINT','getLocalIdentifier','wEdTD','isBrowserstackInfra','ckRVg','uBvzR','toString','EZlNS','tcgAuthConfig','config','BapWw','proxy','KlIvK','skipBinaryInitialisation','beforeExit','setEnvCaps','join','TCG_URL','url','soEHW'];a94_0x5bc2=function(){return _0x5339ba;};return a94_0x5bc2();}exports[a94_0x19ff24(0x159)]=BrowserStackSetup;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a95_0x4fab6d=a95_0x1195;(function(_0x35e181,_0x44b2df){const _0x14ff91=a95_0x1195,_0xe46565=_0x35e181();while(!![]){try{const _0x11b1d3=-parseInt(_0x14ff91(0x16f))/0x1+-parseInt(_0x14ff91(0xf1))/0x2+parseInt(_0x14ff91(0x11f))/0x3+-parseInt(_0x14ff91(0xef))/0x4+parseInt(_0x14ff91(0xcd))/0x5+-parseInt(_0x14ff91(0x113))/0x6*(parseInt(_0x14ff91(0xd7))/0x7)+parseInt(_0x14ff91(0x12d))/0x8;if(_0x11b1d3===_0x44b2df)break;else _0xe46565['push'](_0xe46565['shift']());}catch(_0x2d34e7){_0xe46565['push'](_0xe46565['shift']());}}}(a95_0x2d53,0xb1fdc));const util=require('util'),logger=require(a95_0x4fab6d(0x15c))[a95_0x4fab6d(0x177)],accessibilityHelper=require(a95_0x4fab6d(0x16e)),globals=require(a95_0x4fab6d(0xc2)),scripts=require(a95_0x4fab6d(0xe7)),PerformanceTester=require(a95_0x4fab6d(0x136)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a95_0x4fab6d(0x13c)),BrowserstackCLI=require('../../bin/v2/browserstackCLI');let playwrightA11yHelper=null;function a95_0x1195(_0x3ff144,_0x190b1f){const _0x2d538b=a95_0x2d53();return a95_0x1195=function(_0x119543,_0x24a290){_0x119543=_0x119543-0xb7;let _0x53e876=_0x2d538b[_0x119543];return _0x53e876;},a95_0x1195(_0x3ff144,_0x190b1f);}try{playwrightA11yHelper=require(a95_0x4fab6d(0x137));}catch(a95_0x209f87){logger[a95_0x4fab6d(0x128)](a95_0x4fab6d(0x10c));}function a95_0x2d53(){const _0x4bf3fd=['iTwEG','capabilitiesList','agORZ','1900804IUgEQu','\x20failed\x20for\x20method:\x20','17260BFJSIw','Accessibility\x20results\x20save\x20attempt\x20','isAccessibilityPlatform','Playwright','updateRetryConfig','upfdF','warn','wHmXb','setDefaultTimeout','setPlaywrightScriptTimeout','Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20','Unknown\x20error','GKcce','Cannot\x20set\x20script\x20timeout:\x20not\x20a\x20Selenium\x20WebDriver','Accessibility\x20results\x20retrieval\x20attempt\x20','Accessibility\x20results\x20summary\x20retrieved\x20successfully\x20on\x20attempt\x20','Selenium\x20WebDriver\x20timeout\x20API\x20not\x20available,\x20skipping\x20timeout\x20setting','MuAVt','isPlaywrightPage','Comprehensive\x20accessibility\x20scan\x20failed\x20(','fRouX','DnBTd','timeoutMs','maxRetries','ymDSr','tIqhz','CKhph','Playwright\x20accessibility\x20helper\x20not\x20available','allSettled','VVkRq','function','oszHe','Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20','qedmQ','6jTBvZX','pFxfB','RjUEI','value','accessibilityConfig','nYHdT','isSeleniumDriver','getInstance','WebDriver','ijoIM','__workerDetails','):\x20','3365169HRtNZt','bUqkX','playwright-page','BoUVI','ZyLQn','getAccessibilityResults','selenium-webdriver','setSeleniumScriptTimeout','\x20failed\x20(','debug','getCapabilities','playwright-codecept-driver','QPPtw','ms\x20using\x20timeouts()\x20API','3394240FIwLDX','url',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20with\x20retry.','summary','kPAux',',\x20cannot\x20save\x20accessibility\x20results\x20with\x20retry.','getCurrentUrl','qwyWZ','nUpKX','../performance/performance-tester','../../bin/playwright/accessibility-helper','saveTestResults','getAccessibilityModule','woKod','TcOlK','../performance/constants','Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20','UifYP','Accessibility\x20results\x20saved\x20successfully\x20on\x20attempt\x20','LoDoQ','Accessibility\x20results\x20retrieved\x20successfully\x20on\x20attempt\x20','qsEpP','sUcmG','VqOBz','HyRjt','MhcWB','gIQtA','mPmtv','Failed\x20to\x20set\x20Selenium\x20script\x20timeout:\x20','JMfCo','ZtAUC','Scan\x20attempt\x20','All\x20accessibility\x20scan\x20attempts\x20failed\x20for\x20method:\x20','inEKc',').\x20Error:\x20',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary\x20with\x20retry.','unknown_method','executeAsyncScript','getGlobal','\x20for\x20method:\x20','type','defaultTimeoutMs','AoxGE','measureWrapper','env','name','getAccessibilityResultsWithRetry','../logger','lHKay','VeAfl','getAccessibilityResultsSummary','undefined','VTAjh','tLKEh','Failed\x20to\x20retrieve\x20accessibility\x20summary\x20(','race','error','dKVbo','BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT','status','bstackA11yShouldScan','gSaoc','getId','Accessibility\x20retry\x20configuration\x20updated:\x20','Accessibility\x20scan\x20attempt\x20','./helper','1323701WNUJAn','FyhAk','EhzXk','Page','isAccessibilityAutomationSession','Tqklq','saveAccessibilityResultsWithRetry','GeWTQ','winstonLogger','eyruA','RmtQo','max','prUKS','lGSgF','MDsEY',')\x20with\x20error:\x20','getSession','qKWDq','jqBiB',').\x20Last\x20error:\x20','sYNXm','\x20-\x20not\x20applicable','../globals','setScriptTimeout','pfClZ','eSoNp','ytWpC','\x20completed\x20successfully.','script','performScanWithRetry','GBEKQ','gBaYR','VlrsF','5287220nRjNAR','XaPRO','HwdiA','results','info','isPlaywright','ms\x20using\x20setScriptTimeout\x20API','QEKVG','hfhDf','ulSQF','468041VVRlaN','scanSucceeded','constructor','All\x20accessibility\x20results\x20save\x20attempts\x20failed\x20(','sfftU','Failed\x20to\x20retrieve\x20accessibility\x20results\x20(','accessibilityPlatform','Failed\x20to\x20set\x20Playwright\x20script\x20timeout:\x20','currentTest','browserStackEvaluate','QjVZK','All\x20accessibility\x20results\x20summary\x20retrieval\x20attempts\x20failed\x20(','setTimeouts','reason','message','manage','./scripts','TYEBU','getRetryConfig','Set\x20Playwright\x20page\x20default\x20timeout\x20to\x20','OYyYD'];a95_0x2d53=function(){return _0x4bf3fd;};return a95_0x2d53();}const a95_0x12a18b={};a95_0x12a18b['maxRetries']=0x1,a95_0x12a18b[a95_0x4fab6d(0x107)]=0x7530,a95_0x12a18b[a95_0x4fab6d(0x156)]=0x7530;const RETRY_CONFIG=a95_0x12a18b,setConfigTimeout=(_0x385ec7,_0xf3a178=null)=>{const _0xd5781c=a95_0x4fab6d,_0x691911={'inEKc':function(_0x7c0fff,_0x18b276){return _0x7c0fff===_0x18b276;},'QEKVG':'scannerProcessingTimeout','woKod':function(_0x21cd1c,_0x8ac0ba){return _0x21cd1c===_0x8ac0ba;},'TGMRz':function(_0x2fde23,_0x51666c){return _0x2fde23*_0x51666c;},'tIqhz':function(_0x10ab15,_0xa1c4db){return _0x10ab15(_0xa1c4db);},'AoxGE':function(_0x1a40d9,_0x4531cc){return _0x1a40d9*_0x4531cc;},'TcOlK':function(_0x1b9dd7,_0x584c24){return _0x1b9dd7(_0x584c24);}};if(BrowserstackCLI[_0xd5781c(0x11a)]()['isRunning']()&&BrowserstackCLI[_0xd5781c(0x11a)]()[_0xd5781c(0x139)]()){const _0x1e2d3b=BrowserstackCLI[_0xd5781c(0x11a)]()[_0xd5781c(0x139)]()[_0xd5781c(0x117)],_0x3978a8=_0x1e2d3b['options'][_0xd5781c(0xed)]||[];for(const _0x328cef of _0x3978a8){_0x691911[_0xd5781c(0x14e)](_0x328cef[_0xd5781c(0x15a)],_0x691911[_0xd5781c(0xd4)])&&_0x691911[_0xd5781c(0x13a)](_0xf3a178,null)&&(_0x385ec7[_0xd5781c(0x107)]=_0x691911['TGMRz'](_0x691911[_0xd5781c(0x10a)](parseInt,_0x328cef[_0xd5781c(0x116)]),0x3e8));}}else process[_0xd5781c(0x159)]['BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT']&&(_0x385ec7[_0xd5781c(0x107)]=_0x691911[_0xd5781c(0x157)](_0x691911[_0xd5781c(0x13b)](parseInt,process[_0xd5781c(0x159)][_0xd5781c(0x167)]),0x3e8));},detectDriverType=_0x230ac2=>{const _0x584651=a95_0x4fab6d,_0x3a7171={};_0x3a7171[_0x584651(0x170)]='unknown',_0x3a7171[_0x584651(0xdb)]=function(_0x5b6a27,_0x141c04){return _0x5b6a27===_0x141c04;},_0x3a7171[_0x584651(0xcb)]=_0x584651(0x10f),_0x3a7171['GKcce']=function(_0x5c7987,_0x48466f){return _0x5c7987===_0x48466f;},_0x3a7171[_0x584651(0x12b)]=_0x584651(0x121),_0x3a7171[_0x584651(0x178)]=function(_0x2af652,_0x24e7c1){return _0x2af652===_0x24e7c1;},_0x3a7171[_0x584651(0xc0)]=_0x584651(0x125),_0x3a7171[_0x584651(0xbe)]=_0x584651(0x172),_0x3a7171[_0x584651(0x120)]=_0x584651(0x11b),_0x3a7171[_0x584651(0x131)]=_0x584651(0xf4),_0x3a7171[_0x584651(0x166)]=_0x584651(0x12a),_0x3a7171['prUKS']=function(_0x3887e2,_0x1721ed){return _0x3887e2||_0x1721ed;},_0x3a7171['ulSQF']=_0x584651(0x160);const _0x55ef00=_0x3a7171;if(!_0x230ac2){const _0x736747={};return _0x736747['isPlaywright']=![],_0x736747['type']=_0x55ef00[_0x584651(0x170)],_0x736747;}if(_0x55ef00[_0x584651(0xdb)](typeof _0x230ac2['evaluate'],_0x55ef00[_0x584651(0xcb)])&&_0x55ef00[_0x584651(0xfd)](typeof _0x230ac2[_0x584651(0x12e)],_0x55ef00[_0x584651(0xcb)])&&_0x55ef00[_0x584651(0xfd)](typeof _0x230ac2['goto'],_0x55ef00[_0x584651(0xcb)])){const _0x2144e5={};return _0x2144e5['isPlaywright']=!![],_0x2144e5[_0x584651(0x155)]=_0x55ef00['QPPtw'],_0x2144e5;}if(_0x55ef00[_0x584651(0x178)](typeof _0x230ac2[_0x584651(0x152)],_0x55ef00[_0x584651(0xcb)])&&_0x55ef00[_0x584651(0xdb)](typeof _0x230ac2[_0x584651(0x129)],_0x55ef00[_0x584651(0xcb)])){const _0x3caa5f={};return _0x3caa5f['isPlaywright']=![],_0x3caa5f[_0x584651(0x155)]=_0x55ef00['sYNXm'],_0x3caa5f;}const _0xaee657=_0x230ac2[_0x584651(0xd9)]?.[_0x584651(0x15a)];if(_0x55ef00[_0x584651(0x178)](_0xaee657,_0x55ef00[_0x584651(0xbe)])){const _0xa3ec17={};return _0xa3ec17[_0x584651(0xd2)]=!![],_0xa3ec17['type']=_0x55ef00[_0x584651(0x12b)],_0xa3ec17;}if(_0x55ef00[_0x584651(0xdb)](_0xaee657,_0x55ef00['bUqkX'])){const _0x3736ad={};return _0x3736ad[_0x584651(0xd2)]=![],_0x3736ad[_0x584651(0x155)]=_0x55ef00[_0x584651(0xc0)],_0x3736ad;}if(_0x55ef00['GKcce'](_0xaee657,_0x55ef00[_0x584651(0x131)])){const _0x858862={};return _0x858862[_0x584651(0xd2)]=!![],_0x858862[_0x584651(0x155)]=_0x55ef00[_0x584651(0x166)],_0x858862;}logger[_0x584651(0xf7)]('Unknown\x20driver/page\x20type:\x20'+_0x55ef00[_0x584651(0xb8)](_0xaee657,_0x55ef00[_0x584651(0xd6)]));const _0x4abb1f={};return _0x4abb1f['isPlaywright']=![],_0x4abb1f['type']=_0x55ef00[_0x584651(0x170)],_0x4abb1f;},withTimeout=(_0x11ba1c,_0x53dba2)=>{const _0x538548=a95_0x4fab6d;return Promise[_0x538548(0x164)]([_0x11ba1c,new Promise((_0x3c3f4e,_0x330725)=>setTimeout(()=>_0x330725(new Error('Operation\x20timed\x20out\x20after\x20'+_0x53dba2+'ms')),_0x53dba2))]);};exports[a95_0x4fab6d(0xc9)]=async(_0x742eb7,_0x1d751c=null,_0x2ab941=null)=>{const _0x336d9e=a95_0x4fab6d,_0x2c2d82={'XaPRO':function(_0x341757,_0x37b76f){return _0x341757&&_0x37b76f;},'ymDSr':function(_0xb16b1d,_0x1d5dfa,_0x4a160a){return _0xb16b1d(_0x1d5dfa,_0x4a160a);},'HwdiA':function(_0x2a88b1,_0x4bec05){return _0x2a88b1===_0x4bec05;},'lHKay':_0x336d9e(0x12a),'wXGeM':function(_0x1caddf,_0xa9669){return _0x1caddf(_0xa9669);},'VqOBz':_0x336d9e(0xf3),'MhcWB':'bstackA11yShouldScan','MuAVt':_0x336d9e(0x151),'upfdF':_0x336d9e(0x10f),'iTwEG':function(_0x3044c6,_0x2fd2c6){return _0x3044c6===_0x2fd2c6;},'EhzXk':function(_0x550fa1,_0x17f833){return _0x550fa1===_0x17f833;},'hbhUT':function(_0x11d6da,_0x34c402){return _0x11d6da<=_0x34c402;},'ZgUYg':function(_0x1fd031,_0x52153a){return _0x1fd031+_0x52153a;},'VVkRq':function(_0x4d2460,_0x3726e0){return _0x4d2460+_0x3726e0;},'pFxfB':_0x336d9e(0xfc)},{isPlaywright:_0x2eecbc,type:_0x4ec33f}=_0x2c2d82['wXGeM'](detectDriverType,_0x742eb7),_0x5f2afb=_0x2eecbc?global[_0x336d9e(0xdd)]:accessibilityHelper[_0x336d9e(0x173)]()&&globals[_0x336d9e(0x153)](_0x2c2d82[_0x336d9e(0x144)])&&globals[_0x336d9e(0x153)](_0x2c2d82[_0x336d9e(0x146)]);if(!_0x5f2afb)return logger[_0x336d9e(0xf7)](_0x336d9e(0x13d)+_0x4ec33f+',\x20cannot\x20perform\x20scan\x20with\x20retry.'),![];const _0x335eec=_0x1d751c||global['browserstackSessionName']||_0x2c2d82[_0x336d9e(0x102)];let _0x27a7cb=null;const _0x1c7495={'testhub_btcer_uuid':global[_0x336d9e(0x11d)]?.[_0x336d9e(0xdf)]?.['id'],'url':_0x2c2d82['HwdiA'](typeof _0x742eb7['url'],_0x2c2d82[_0x336d9e(0xf6)])?await _0x742eb7['url']():_0x2c2d82[_0x336d9e(0xec)](typeof _0x742eb7[_0x336d9e(0x133)],_0x2c2d82[_0x336d9e(0xf6)])?await _0x742eb7[_0x336d9e(0x133)]():'','automate_session_id':_0x2c2d82[_0x336d9e(0x171)](typeof _0x742eb7['getSession'],_0x2c2d82[_0x336d9e(0xf6)])?(await _0x742eb7[_0x336d9e(0xbc)]())[_0x336d9e(0x16b)]():''};for(let _0x2c7a37=0x1;_0x2c2d82['hbhUT'](_0x2c7a37,_0x2c2d82['ZgUYg'](RETRY_CONFIG[_0x336d9e(0x108)],0x1));_0x2c7a37++){try{return logger[_0x336d9e(0x128)](_0x336d9e(0x16d)+_0x2c7a37+'/'+_0x2c2d82[_0x336d9e(0x10e)](RETRY_CONFIG['maxRetries'],0x1)+_0x336d9e(0x154)+_0x335eec+'\x20('+_0x4ec33f+')'),await PerformanceTester[_0x336d9e(0x158)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x4d62fa=_0x336d9e;let _0x6dd4a7;if(_0x2c2d82[_0x4d62fa(0xce)](_0x2eecbc,playwrightA11yHelper)){_0x2c2d82[_0x4d62fa(0x109)](setConfigTimeout,RETRY_CONFIG,null),await exports['setPlaywrightScriptTimeout'](_0x742eb7,RETRY_CONFIG[_0x4d62fa(0x107)]);let _0x304a8a=_0x742eb7;_0x2c2d82[_0x4d62fa(0xcf)](_0x4ec33f,_0x2c2d82[_0x4d62fa(0x15d)])&&(_0x304a8a=_0x742eb7['page']),_0x6dd4a7=await _0x2c2d82[_0x4d62fa(0x109)](withTimeout,playwrightA11yHelper['performScan'](_0x304a8a,_0x335eec),RETRY_CONFIG[_0x4d62fa(0x107)]),await exports[_0x4d62fa(0xfa)](_0x742eb7,RETRY_CONFIG[_0x4d62fa(0x156)]);}else await exports[_0x4d62fa(0x126)](_0x742eb7,RETRY_CONFIG[_0x4d62fa(0x107)]),_0x6dd4a7=await _0x2c2d82['ymDSr'](withTimeout,accessibilityHelper['performScan'](_0x742eb7,_0x335eec),RETRY_CONFIG['timeoutMs']),await exports[_0x4d62fa(0x126)](_0x742eb7,RETRY_CONFIG[_0x4d62fa(0x156)]);logger[_0x4d62fa(0x128)](_0x4d62fa(0x14c)+_0x2c7a37+_0x4d62fa(0xc7));},{'command':_0x335eec,..._0x1c7495})(),logger[_0x336d9e(0xd1)]('Accessibility\x20scan\x20succeeded\x20on\x20attempt\x20'+_0x2c7a37+'.'),!![];}catch(_0x5b7f76){_0x27a7cb=_0x5b7f76,logger[_0x336d9e(0x128)](_0x336d9e(0x16d)+_0x2c7a37+_0x336d9e(0xf0)+_0x335eec+'\x20('+_0x4ec33f+_0x336d9e(0x14f)+_0x5b7f76[_0x336d9e(0xe5)]);}}return logger[_0x336d9e(0x165)](_0x336d9e(0x14d)+_0x335eec+'\x20('+_0x4ec33f+_0x336d9e(0xbb)+(_0x27a7cb?.['message']||_0x2c2d82[_0x336d9e(0x114)])),![];},exports[a95_0x4fab6d(0x15b)]=async(_0xdde14e,_0x4bd20c)=>{const _0x1a5666=a95_0x4fab6d,_0x357fe2={'ytWpC':function(_0x3e5cf9,_0x17d9ec){return _0x3e5cf9(_0x17d9ec);},'qwyWZ':_0x1a5666(0xf3),'TYEBU':_0x1a5666(0x169),'qKWDq':function(_0x2aa5e3,_0x3c5b24){return _0x2aa5e3<=_0x3c5b24;},'qsEpP':function(_0xa48f6b,_0x5f12d0){return _0xa48f6b+_0x5f12d0;},'gIQtA':function(_0x3b13a4,_0x504177){return _0x3b13a4&&_0x504177;},'GeWTQ':function(_0x3dd4a4,_0x532bc4,_0x15a0b9){return _0x3dd4a4(_0x532bc4,_0x15a0b9);},'ZtAUC':function(_0x1f59b5,_0x44956c,_0x198099){return _0x1f59b5(_0x44956c,_0x198099);},'hfhDf':function(_0x28d9c7,_0x1763b1,_0x1350d8){return _0x28d9c7(_0x1763b1,_0x1350d8);},'nUpKX':_0x1a5666(0xfc)},{isPlaywright:_0x2f2cba,type:_0x231421}=_0x357fe2[_0x1a5666(0xc6)](detectDriverType,_0xdde14e),_0x969937=_0x2f2cba?_0x4bd20c['accessibilityPlatform']:accessibilityHelper[_0x1a5666(0x173)]()&&globals[_0x1a5666(0x153)](_0x357fe2[_0x1a5666(0x134)])&&globals['getGlobal'](_0x357fe2[_0x1a5666(0xe8)]);if(!_0x969937)return logger[_0x1a5666(0xf7)]('Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20'+_0x231421+_0x1a5666(0x12f)),[];let _0xa2e94a=null;for(let _0x4ef4dc=0x1;_0x357fe2[_0x1a5666(0xbd)](_0x4ef4dc,_0x357fe2[_0x1a5666(0x142)](RETRY_CONFIG[_0x1a5666(0x108)],0x1));_0x4ef4dc++){try{logger[_0x1a5666(0x128)](_0x1a5666(0xff)+_0x4ef4dc+'/'+_0x357fe2['qsEpP'](RETRY_CONFIG[_0x1a5666(0x108)],0x1)+'\x20('+_0x231421+')');let _0x3fc719;return _0x357fe2[_0x1a5666(0x147)](_0x2f2cba,playwrightA11yHelper)?(_0x357fe2[_0x1a5666(0x176)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x1a5666(0xfa)](_0xdde14e,RETRY_CONFIG[_0x1a5666(0x107)]),_0x3fc719=await _0x357fe2[_0x1a5666(0x14b)](withTimeout,playwrightA11yHelper[_0x1a5666(0x124)](_0xdde14e),RETRY_CONFIG[_0x1a5666(0x107)]),await exports[_0x1a5666(0xfa)](_0xdde14e,RETRY_CONFIG['defaultTimeoutMs'])):(await exports[_0x1a5666(0x126)](_0xdde14e,RETRY_CONFIG[_0x1a5666(0x107)]),_0x3fc719=await _0x357fe2[_0x1a5666(0xd5)](withTimeout,accessibilityHelper[_0x1a5666(0x124)](_0xdde14e,_0x4bd20c),RETRY_CONFIG[_0x1a5666(0x107)]),await exports[_0x1a5666(0x126)](_0xdde14e,RETRY_CONFIG[_0x1a5666(0x156)])),logger[_0x1a5666(0xd1)](_0x1a5666(0x141)+_0x4ef4dc+'\x20('+_0x231421+')'),_0x3fc719;}catch(_0xd5702e){_0xa2e94a=_0xd5702e,logger['warn'](_0x1a5666(0xff)+_0x4ef4dc+_0x1a5666(0x127)+_0x231421+_0x1a5666(0x14f)+_0xd5702e['message']);}}return logger[_0x1a5666(0x165)]('All\x20accessibility\x20results\x20retrieval\x20attempts\x20failed\x20('+_0x231421+_0x1a5666(0xbf)+(_0xa2e94a?.['message']||_0x357fe2[_0x1a5666(0x135)])),[];},exports['getAccessibilityResultsSummaryWithRetry']=async(_0x1941bd,_0x2472fc)=>{const _0x3df9b5=a95_0x4fab6d,_0x40ae68={'fUjPf':function(_0x3bc8ab,_0x2d28ed){return _0x3bc8ab(_0x2d28ed);},'MDsEY':_0x3df9b5(0xf3),'nYHdT':_0x3df9b5(0x169),'WdYWw':function(_0x4097b4,_0x1200ee){return _0x4097b4<=_0x1200ee;},'YTHrE':function(_0x12cc13,_0x287c42){return _0x12cc13+_0x287c42;},'ZyLQn':function(_0x318d8c,_0x124531){return _0x318d8c&&_0x124531;},'wHmXb':function(_0x1c73a3,_0x57d6ff,_0x219a74){return _0x1c73a3(_0x57d6ff,_0x219a74);},'sUcmG':_0x3df9b5(0xfc)},{isPlaywright:_0x29f94a,type:_0x35c508}=_0x40ae68['fUjPf'](detectDriverType,_0x1941bd),_0x53719a=_0x29f94a?_0x2472fc[_0x3df9b5(0xdd)]:accessibilityHelper['isAccessibilityAutomationSession']()&&globals['getGlobal'](_0x40ae68[_0x3df9b5(0xba)])&&globals[_0x3df9b5(0x153)](_0x40ae68[_0x3df9b5(0x118)]);if(!_0x53719a)return logger[_0x3df9b5(0xf7)](_0x3df9b5(0x13d)+_0x35c508+_0x3df9b5(0x150)),{};let _0x469260=null;for(let _0xcdc748=0x1;_0x40ae68['WdYWw'](_0xcdc748,_0x40ae68['YTHrE'](RETRY_CONFIG['maxRetries'],0x1));_0xcdc748++){try{logger['debug'](_0x3df9b5(0x111)+_0xcdc748+'/'+_0x40ae68['YTHrE'](RETRY_CONFIG['maxRetries'],0x1)+'\x20('+_0x35c508+')');let _0x25de41;return _0x40ae68[_0x3df9b5(0x123)](_0x29f94a,playwrightA11yHelper)?(_0x40ae68[_0x3df9b5(0xf8)](setConfigTimeout,RETRY_CONFIG,null),await exports['setPlaywrightScriptTimeout'](_0x1941bd,RETRY_CONFIG[_0x3df9b5(0x107)]),_0x25de41=await _0x40ae68['wHmXb'](withTimeout,playwrightA11yHelper[_0x3df9b5(0x15f)](_0x1941bd),RETRY_CONFIG['timeoutMs']),await exports['setPlaywrightScriptTimeout'](_0x1941bd,RETRY_CONFIG['defaultTimeoutMs'])):(await exports[_0x3df9b5(0x126)](_0x1941bd,RETRY_CONFIG[_0x3df9b5(0x107)]),_0x25de41=await _0x40ae68['wHmXb'](withTimeout,accessibilityHelper['getAccessibilityResultsSummary'](_0x1941bd,_0x2472fc),RETRY_CONFIG[_0x3df9b5(0x107)]),await exports['setSeleniumScriptTimeout'](_0x1941bd,RETRY_CONFIG[_0x3df9b5(0x156)])),logger['info'](_0x3df9b5(0x100)+_0xcdc748+'\x20('+_0x35c508+')'),_0x25de41;}catch(_0x460beb){_0x469260=_0x460beb,logger[_0x3df9b5(0xf7)](_0x3df9b5(0x111)+_0xcdc748+'\x20failed\x20('+_0x35c508+').\x20Error:\x20'+_0x460beb[_0x3df9b5(0xe5)]);}}return logger[_0x3df9b5(0x165)](_0x3df9b5(0xe2)+_0x35c508+_0x3df9b5(0xbf)+(_0x469260?.['message']||_0x40ae68[_0x3df9b5(0x143)])),{};},exports['performComprehensiveAccessibilityScanWithRetry']=async(_0x3c022d,_0x4c7c4f,_0x397433=null)=>{const _0x1b69b7=a95_0x4fab6d,_0xadec9e={'UifYP':function(_0x4630b8,_0x338ec0){return _0x4630b8(_0x338ec0);},'VlrsF':function(_0x7cc00b,_0x225040){return _0x7cc00b===_0x225040;},'qedmQ':'fulfilled','tFxNJ':function(_0x5aadc0,_0x4e9ea3){return _0x5aadc0===_0x4e9ea3;},'DnBTd':'rejected','LoDoQ':'Unknown\x20error\x20during\x20comprehensive\x20accessibility\x20scan'},{isPlaywright:_0x1b8872,type:_0x5c3fcd}=_0xadec9e[_0x1b69b7(0x13e)](detectDriverType,_0x3c022d),_0x3061ed={};_0x3061ed[_0x1b69b7(0xd8)]=![],_0x3061ed[_0x1b69b7(0xd0)]=[],_0x3061ed[_0x1b69b7(0x130)]={},_0x3061ed['error']=null,_0x3061ed['driverType']=_0x5c3fcd;const _0x252c96=_0x3061ed;try{_0x252c96[_0x1b69b7(0xd8)]=await exports[_0x1b69b7(0xc9)](_0x3c022d,_0x397433);if(_0x252c96[_0x1b69b7(0xd8)]){const [_0x1abb8f,_0x17e53e]=await Promise[_0x1b69b7(0x10d)]([exports['getAccessibilityResultsWithRetry'](_0x3c022d,_0x4c7c4f),exports['getAccessibilityResultsSummaryWithRetry'](_0x3c022d,_0x4c7c4f)]);_0x252c96['results']=_0xadec9e[_0x1b69b7(0xcc)](_0x1abb8f[_0x1b69b7(0x168)],_0xadec9e[_0x1b69b7(0x112)])?_0x1abb8f[_0x1b69b7(0x116)]:[],_0x252c96[_0x1b69b7(0x130)]=_0xadec9e['tFxNJ'](_0x17e53e[_0x1b69b7(0x168)],_0xadec9e[_0x1b69b7(0x112)])?_0x17e53e[_0x1b69b7(0x116)]:{},_0xadec9e[_0x1b69b7(0xcc)](_0x1abb8f[_0x1b69b7(0x168)],_0xadec9e[_0x1b69b7(0x106)])&&logger[_0x1b69b7(0xf7)](_0x1b69b7(0xdc)+_0x5c3fcd+_0x1b69b7(0x11e)+_0x1abb8f[_0x1b69b7(0xe4)]?.['message']),_0xadec9e[_0x1b69b7(0xcc)](_0x17e53e[_0x1b69b7(0x168)],_0xadec9e[_0x1b69b7(0x106)])&&logger['warn'](_0x1b69b7(0x163)+_0x5c3fcd+_0x1b69b7(0x11e)+_0x17e53e['reason']?.[_0x1b69b7(0xe5)]);}}catch(_0x280025){_0x252c96[_0x1b69b7(0x165)]=_0x280025['message']||_0xadec9e[_0x1b69b7(0x140)],logger[_0x1b69b7(0x165)](_0x1b69b7(0x104)+_0x5c3fcd+'):\x20'+_0x252c96['error']);}return _0x252c96;},exports[a95_0x4fab6d(0xf5)]=_0x1b7181=>{const _0x397e85=a95_0x4fab6d,_0x490d80={};_0x490d80[_0x397e85(0x110)]=function(_0x455d4c,_0x3141bd){return _0x455d4c!==_0x3141bd;};const _0x4f0482=_0x490d80;_0x4f0482['oszHe'](_0x1b7181[_0x397e85(0x108)],undefined)&&(RETRY_CONFIG['maxRetries']=Math[_0x397e85(0xb7)](0x0,_0x1b7181[_0x397e85(0x108)])),_0x4f0482[_0x397e85(0x110)](_0x1b7181[_0x397e85(0x107)],undefined)&&(RETRY_CONFIG[_0x397e85(0x107)]=Math[_0x397e85(0xb7)](0x3e8,_0x1b7181[_0x397e85(0x107)])),logger[_0x397e85(0x128)](_0x397e85(0x16c)+JSON['stringify'](RETRY_CONFIG));},exports[a95_0x4fab6d(0xe9)]=()=>{const _0x57cd9e={...RETRY_CONFIG};return _0x57cd9e;},exports[a95_0x4fab6d(0x103)]=_0xa6fdc3=>{const _0x447954=a95_0x4fab6d,_0x6eb956={'CKhph':function(_0xa94973,_0xf164d6){return _0xa94973(_0xf164d6);}};return _0x6eb956[_0x447954(0x10b)](detectDriverType,_0xa6fdc3)[_0x447954(0xd2)];},exports['isSeleniumDriver']=_0x524d00=>{const _0x276c72=a95_0x4fab6d,_0x1247b5={'HyRjt':function(_0x5e8b5e,_0xd4b1f6){return _0x5e8b5e(_0xd4b1f6);},'GBEKQ':function(_0x177ad4,_0x20bfb6){return _0x177ad4===_0x20bfb6;},'VeAfl':'selenium-webdriver'},{isPlaywright:_0x5f2f4a,type:_0x14f3b7}=_0x1247b5[_0x276c72(0x145)](detectDriverType,_0x524d00);return!_0x5f2f4a&&_0x1247b5[_0x276c72(0xca)](_0x14f3b7,_0x1247b5[_0x276c72(0x15e)]);},exports[a95_0x4fab6d(0xfa)]=async(_0x4e40a1,_0x861251=null)=>{const _0x52d9f2=a95_0x4fab6d,_0x517736={'BoUVI':function(_0x1d8bf1,_0x3aedf2){return _0x1d8bf1(_0x3aedf2);},'tLKEh':function(_0x59aa33,_0x528241){return _0x59aa33===_0x528241;},'Tqklq':_0x52d9f2(0x10f)},{isPlaywright:_0x4a92e7,type:_0x26f143}=_0x517736[_0x52d9f2(0x122)](detectDriverType,_0x4e40a1);if(!_0x4a92e7)return logger[_0x52d9f2(0x128)]('Skipping\x20timeout\x20setting\x20for\x20'+_0x26f143+_0x52d9f2(0xc1)),!![];const _0x5b25b8=_0x861251||RETRY_CONFIG['defaultTimeoutMs'];try{return _0x4e40a1&&_0x517736[_0x52d9f2(0x162)](typeof _0x4e40a1[_0x52d9f2(0xf9)],_0x517736[_0x52d9f2(0x174)])&&(await _0x4e40a1['setDefaultTimeout'](_0x5b25b8),logger['debug'](_0x52d9f2(0xea)+_0x5b25b8+'ms')),!![];}catch(_0x4b9e66){return logger[_0x52d9f2(0xf7)](_0x52d9f2(0xde)+_0x4b9e66[_0x52d9f2(0xe5)]),![];}},exports[a95_0x4fab6d(0x126)]=async(_0x5e35bb,_0x3de5a3=null)=>{const _0x772ace=a95_0x4fab6d,_0x108b38={};_0x108b38[_0x772ace(0x11c)]=_0x772ace(0xfe),_0x108b38[_0x772ace(0x179)]=function(_0x779440,_0x11541c){return _0x779440===_0x11541c;},_0x108b38[_0x772ace(0xc4)]=_0x772ace(0x10f),_0x108b38[_0x772ace(0x148)]=function(_0x171c64,_0x1f09e4){return _0x171c64===_0x1f09e4;},_0x108b38['PUlEC']=_0x772ace(0x101),_0x108b38[_0x772ace(0x115)]='Selenium\x20WebDriver\x20manage()\x20method\x20not\x20available,\x20skipping\x20timeout\x20setting';const _0x499773=_0x108b38;if(!exports[_0x772ace(0x119)](_0x5e35bb))return logger[_0x772ace(0xf7)](_0x499773[_0x772ace(0x11c)]),![];const _0x2128c5=_0x3de5a3||RETRY_CONFIG['defaultTimeoutMs'];try{if(_0x5e35bb&&_0x499773[_0x772ace(0x179)](typeof _0x5e35bb[_0x772ace(0xe6)],_0x499773[_0x772ace(0xc4)])){const _0xfe3280=_0x5e35bb[_0x772ace(0xe6)]();if(_0xfe3280&&_0x499773[_0x772ace(0x179)](typeof _0xfe3280['timeouts'],_0x499773[_0x772ace(0xc4)]))await _0xfe3280['timeouts']()[_0x772ace(0xc3)](_0x2128c5),logger[_0x772ace(0x128)]('Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20'+_0x2128c5+_0x772ace(0x12c));else{if(_0xfe3280&&_0x499773[_0x772ace(0x148)](typeof _0xfe3280[_0x772ace(0xe3)],_0x499773[_0x772ace(0xc4)])){const _0x34476a={};_0x34476a[_0x772ace(0xc8)]=_0x2128c5,await _0xfe3280[_0x772ace(0xe3)](_0x34476a),logger[_0x772ace(0x128)](_0x772ace(0xfb)+_0x2128c5+'ms\x20using\x20setTimeouts\x20API');}else{if(_0xfe3280&&_0x499773[_0x772ace(0x148)](typeof _0xfe3280[_0x772ace(0xc3)],_0x499773[_0x772ace(0xc4)]))await _0xfe3280['setScriptTimeout'](_0x2128c5),logger[_0x772ace(0x128)]('Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20'+_0x2128c5+_0x772ace(0xd3));else return logger[_0x772ace(0x128)](_0x499773['PUlEC']),!![];}}}else return logger['debug'](_0x499773[_0x772ace(0x115)]),!![];return!![];}catch(_0x5eb8d9){return logger[_0x772ace(0xf7)](_0x772ace(0x149)+_0x5eb8d9[_0x772ace(0xe5)]),![];}},exports[a95_0x4fab6d(0x175)]=async(_0x39606a,_0x5c91f3)=>{const _0x266556=a95_0x4fab6d,_0x55a9c4={'eSoNp':function(_0x36aa4a,_0x2ec43c){return _0x36aa4a(_0x2ec43c);},'JMfCo':_0x266556(0xf3),'QjVZK':_0x266556(0x169),'fRouX':function(_0x1b7b19,_0x407ba6){return _0x1b7b19<=_0x407ba6;},'VTAjh':function(_0x35694a,_0x36228b){return _0x35694a+_0x36228b;},'OYyYD':function(_0x4008d5,_0x3b61c2){return _0x4008d5+_0x3b61c2;},'gSaoc':function(_0x2e9a8b,_0x1f8c3a){return _0x2e9a8b&&_0x1f8c3a;},'lGSgF':function(_0xaeb324,_0x4d416d,_0x148948){return _0xaeb324(_0x4d416d,_0x148948);},'aBhBz':function(_0x5d5360,_0xeefcc5,_0x114550){return _0x5d5360(_0xeefcc5,_0x114550);},'agORZ':_0x266556(0xfc)},{isPlaywright:_0x11bc34,type:_0x4ecc04}=_0x55a9c4[_0x266556(0xc5)](detectDriverType,_0x39606a),_0x423a96=_0x11bc34?global[_0x266556(0xdd)]:accessibilityHelper[_0x266556(0x173)]()&&globals[_0x266556(0x153)](_0x55a9c4[_0x266556(0x14a)])&&globals[_0x266556(0x153)](_0x55a9c4[_0x266556(0xe1)]);if(!_0x423a96)return logger['warn'](_0x266556(0x13d)+_0x4ecc04+_0x266556(0x132)),![];let _0x4bbd1b=null;for(let _0x1f7474=0x1;_0x55a9c4[_0x266556(0x105)](_0x1f7474,_0x55a9c4[_0x266556(0x161)](RETRY_CONFIG[_0x266556(0x108)],0x1));_0x1f7474++){try{return logger[_0x266556(0x128)](_0x266556(0xf2)+_0x1f7474+'/'+_0x55a9c4[_0x266556(0xeb)](RETRY_CONFIG['maxRetries'],0x1)+'\x20('+_0x4ecc04+')'),_0x55a9c4[_0x266556(0x16a)](_0x11bc34,playwrightA11yHelper)?(_0x55a9c4[_0x266556(0xb9)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x266556(0xfa)](_0x39606a,RETRY_CONFIG['timeoutMs']),await _0x55a9c4['aBhBz'](withTimeout,playwrightA11yHelper[_0x266556(0xe0)](_0x39606a,scripts[_0x266556(0x138)],_0x5c91f3),RETRY_CONFIG['timeoutMs']),await exports[_0x266556(0xfa)](_0x39606a,RETRY_CONFIG[_0x266556(0x156)])):(await exports[_0x266556(0x126)](_0x39606a,RETRY_CONFIG[_0x266556(0x107)]),await _0x55a9c4['aBhBz'](withTimeout,_0x39606a[_0x266556(0x152)](scripts['saveTestResults'],_0x5c91f3),RETRY_CONFIG[_0x266556(0x107)]),await exports[_0x266556(0x126)](_0x39606a,RETRY_CONFIG['defaultTimeoutMs'])),logger[_0x266556(0xd1)](_0x266556(0x13f)+_0x1f7474+'\x20('+_0x4ecc04+')'),!![];}catch(_0x172280){_0x4bbd1b=_0x172280,logger[_0x266556(0xf7)](_0x266556(0xf2)+_0x1f7474+'\x20failed\x20('+_0x4ecc04+_0x266556(0x14f)+_0x172280[_0x266556(0xe5)]);}}return logger[_0x266556(0x165)](_0x266556(0xda)+_0x4ecc04+_0x266556(0xbf)+(_0x4bbd1b?.['message']||_0x55a9c4[_0x266556(0xee)])),![];};
|
|
1
|
+
const a95_0xa8824e=a95_0x223e;(function(_0x5eb390,_0x10d1c4){const _0x51bdab=a95_0x223e,_0x5b2b48=_0x5eb390();while(!![]){try{const _0x39258b=-parseInt(_0x51bdab(0x214))/0x1+parseInt(_0x51bdab(0x1d6))/0x2+-parseInt(_0x51bdab(0x27f))/0x3+-parseInt(_0x51bdab(0x1cb))/0x4+parseInt(_0x51bdab(0x1f8))/0x5*(-parseInt(_0x51bdab(0x1e6))/0x6)+-parseInt(_0x51bdab(0x222))/0x7+parseInt(_0x51bdab(0x251))/0x8;if(_0x39258b===_0x10d1c4)break;else _0x5b2b48['push'](_0x5b2b48['shift']());}catch(_0xa5d555){_0x5b2b48['push'](_0x5b2b48['shift']());}}}(a95_0x7830,0x22145));const util=require('util'),logger=require(a95_0xa8824e(0x27a))['winstonLogger'],accessibilityHelper=require('./helper'),globals=require('../globals'),scripts=require(a95_0xa8824e(0x1c1)),PerformanceTester=require(a95_0xa8824e(0x237)),{A11Y_EVENTS:PerformanceA11yEvents}=require('../performance/constants'),BrowserstackCLI=require('../../bin/v2/browserstackCLI');let playwrightA11yHelper=null;try{playwrightA11yHelper=require(a95_0xa8824e(0x23c));}catch(a95_0x1fb654){logger[a95_0xa8824e(0x22e)]('Playwright\x20accessibility\x20helper\x20not\x20available');}function a95_0x223e(_0x4d553c,_0x40e43a){const _0x783038=a95_0x7830();return a95_0x223e=function(_0x223e54,_0x31722f){_0x223e54=_0x223e54-0x1bf;let _0x49fb16=_0x783038[_0x223e54];return _0x49fb16;},a95_0x223e(_0x4d553c,_0x40e43a);}const a95_0x2e2164={};a95_0x2e2164['maxRetries']=0x1,a95_0x2e2164[a95_0xa8824e(0x1e1)]=0x7530,a95_0x2e2164[a95_0xa8824e(0x246)]=0x7530;function a95_0x7830(){const _0x263576=['isPlaywright','QPume','getGlobal','getId','message','LVffz','measureWrapper','debug',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20with\x20retry.','vNgzf','Selenium\x20WebDriver\x20manage()\x20method\x20not\x20available,\x20skipping\x20timeout\x20setting','race','GEvmp','XjQdu','warn','playwright-page','../performance/performance-tester','isAccessibilityAutomationSession','ms\x20using\x20setScriptTimeout\x20API','ahbpq','setDefaultTimeout','../../bin/playwright/accessibility-helper','leHNv','executeAsyncScript','rejected','tZhwI','getCurrentUrl','error','JhXOX','max','DVrOa','defaultTimeoutMs','currentTest','TuOnl',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary\x20with\x20retry.','saveTestResults',').\x20Error:\x20','WkHuz','Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20','IrYsH','Accessibility\x20scan\x20succeeded\x20on\x20attempt\x20','saveAccessibilityResultsWithRetry','2405880DdRsAm',').\x20Last\x20error:\x20','reason','Comprehensive\x20accessibility\x20scan\x20failed\x20(','performComprehensiveAccessibilityScanWithRetry','getAccessibilityResultsWithRetry','\x20-\x20not\x20applicable','iAMrW','pYkpZ','RUHDh','YFXBx','fGGTA','scannerProcessingTimeout','setSeleniumScriptTimeout','Wtfea','isRunning','QYCfT','VtyrA','setTimeouts','jdOZJ','setPlaywrightScriptTimeout','jaCdf','lZWGj','DCFeC','goto','type','All\x20accessibility\x20results\x20summary\x20retrieval\x20attempts\x20failed\x20(','WUxCZ','getAccessibilityResults','YAWWy','bstackA11yShouldScan','xHVae','All\x20accessibility\x20results\x20retrieval\x20attempts\x20failed\x20(','giIai','qCpBC','rhmGw','FkXvP','Accessibility\x20results\x20retrieved\x20successfully\x20on\x20attempt\x20','rgIOT','Accessibility\x20results\x20retrieval\x20attempt\x20','accessibilityConfig','../logger','Failed\x20to\x20retrieve\x20accessibility\x20summary\x20(','honZh','maxRetries','info','100992zmucPM','CnHam','vxzEU','./scripts','nggnK','kxoZH','accessibilityPlatform','Skipping\x20timeout\x20setting\x20for\x20','jlITF','getCapabilities','leJpv','LHLrm','allSettled','225872UJaQTy','env','Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20','status','vcLqK','ms\x20using\x20timeouts()\x20API','Page','Unknown\x20error','VzbHX','undefined','timeouts','518640IsNILw','nDaWa','All\x20accessibility\x20scan\x20attempts\x20failed\x20for\x20method:\x20','page','Accessibility\x20retry\x20configuration\x20updated:\x20','options','Accessibility\x20results\x20summary\x20retrieved\x20successfully\x20on\x20attempt\x20','VFVjN','lDDaM','QbAYd','Accessibility\x20scan\x20attempt\x20','timeoutMs','Operation\x20timed\x20out\x20after\x20','\x20for\x20method:\x20','name','updateRetryConfig','448596wdbCxj','capabilitiesList',')\x20with\x20error:\x20','Ndihd','WahUz','oprvI','setScriptTimeout','unknown_method','Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20',',\x20cannot\x20save\x20accessibility\x20results\x20with\x20retry.',',\x20cannot\x20perform\x20scan\x20with\x20retry.','isAccessibilityPlatform','function','bgBwN','manage','Accessibility\x20results\x20save\x20attempt\x20','HSLHx','BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT','10RfVvZY','JDWOL','value','xAARr','getAccessibilityResultsSummary','getAccessibilityResultsSummaryWithRetry','pESjB','IQfKs','FhrCh','wtewi','All\x20accessibility\x20results\x20save\x20attempts\x20failed\x20(','Failed\x20to\x20set\x20Playwright\x20script\x20timeout:\x20','performScan','fulfilled','NMFjR','WEfwF','jFwQN','hezBY','\x20completed\x20successfully.','okcEz','getAccessibilityModule','CLYjV','NUUgr','AmQPk','results','playwright-codecept-driver','\x20failed\x20(','Set\x20Playwright\x20page\x20default\x20timeout\x20to\x20','10079FYnliU','performScanWithRetry','isSeleniumDriver','ms\x20using\x20setTimeouts\x20API','Failed\x20to\x20retrieve\x20accessibility\x20results\x20(','esePT','uIyKv','url','getInstance','xGHfX','Cannot\x20set\x20script\x20timeout:\x20not\x20a\x20Selenium\x20WebDriver','WebDriver','):\x20','Unknown\x20driver/page\x20type:\x20','1195061qsMLTo','scanSucceeded','vsKzl','wuoHz','summary'];a95_0x7830=function(){return _0x263576;};return a95_0x7830();}const RETRY_CONFIG=a95_0x2e2164,setConfigTimeout=(_0x4d8ab8,_0x1792b9=null)=>{const _0x1edf2b=a95_0xa8824e,_0x42e78c={'oprvI':function(_0x9a6c39,_0x3fa1d5){return _0x9a6c39===_0x3fa1d5;},'vybHy':_0x1edf2b(0x25d),'giIai':function(_0x539f67,_0xd82859){return _0x539f67===_0xd82859;},'LHLrm':function(_0x19518d,_0x11733c){return _0x19518d*_0x11733c;},'vxzEU':function(_0x4ddf56,_0x62afea){return _0x4ddf56(_0x62afea);},'TuOnl':function(_0x1c4f30,_0x2f51c2){return _0x1c4f30*_0x2f51c2;},'ahbpq':function(_0x107e0e,_0x31cb64){return _0x107e0e(_0x31cb64);}};if(BrowserstackCLI[_0x1edf2b(0x21c)]()[_0x1edf2b(0x260)]()&&BrowserstackCLI['getInstance']()['getAccessibilityModule']()){const _0x16aa82=BrowserstackCLI[_0x1edf2b(0x21c)]()[_0x1edf2b(0x20c)]()[_0x1edf2b(0x279)],_0xfd9b1f=_0x16aa82[_0x1edf2b(0x1db)][_0x1edf2b(0x1e7)]||[];for(const _0x24e930 of _0xfd9b1f){_0x42e78c[_0x1edf2b(0x1eb)](_0x24e930['name'],_0x42e78c['vybHy'])&&_0x42e78c[_0x1edf2b(0x272)](_0x1792b9,null)&&(_0x4d8ab8[_0x1edf2b(0x1e1)]=_0x42e78c[_0x1edf2b(0x1c9)](_0x42e78c[_0x1edf2b(0x1c0)](parseInt,_0x24e930['value']),0x3e8));}}else process[_0x1edf2b(0x1cc)][_0x1edf2b(0x1f7)]&&(_0x4d8ab8['timeoutMs']=_0x42e78c[_0x1edf2b(0x248)](_0x42e78c[_0x1edf2b(0x23a)](parseInt,process[_0x1edf2b(0x1cc)][_0x1edf2b(0x1f7)]),0x3e8));},detectDriverType=_0x588d5a=>{const _0x6caaa5=a95_0xa8824e,_0x375acf={};_0x375acf[_0x6caaa5(0x224)]='unknown',_0x375acf[_0x6caaa5(0x277)]=function(_0x1e8d8d,_0x520011){return _0x1e8d8d===_0x520011;},_0x375acf['jdOZJ']=_0x6caaa5(0x1f2),_0x375acf[_0x6caaa5(0x1f6)]=function(_0x1e8ed6,_0x4a1377){return _0x1e8ed6===_0x4a1377;},_0x375acf[_0x6caaa5(0x1ea)]=_0x6caaa5(0x236),_0x375acf[_0x6caaa5(0x21d)]=function(_0xca496b,_0x24fac8){return _0xca496b===_0x24fac8;},_0x375acf[_0x6caaa5(0x270)]='selenium-webdriver',_0x375acf[_0x6caaa5(0x228)]=_0x6caaa5(0x1d1),_0x375acf[_0x6caaa5(0x26c)]=function(_0x19281d,_0x2908cb){return _0x19281d===_0x2908cb;},_0x375acf[_0x6caaa5(0x1f9)]=_0x6caaa5(0x21f),_0x375acf[_0x6caaa5(0x1c6)]='Playwright',_0x375acf['Ndihd']=_0x6caaa5(0x211),_0x375acf[_0x6caaa5(0x26e)]=function(_0x428d4e,_0x19bbc6){return _0x428d4e||_0x19bbc6;},_0x375acf[_0x6caaa5(0x243)]=_0x6caaa5(0x1d4);const _0x40ce7e=_0x375acf;if(!_0x588d5a){const _0x513937={};return _0x513937[_0x6caaa5(0x227)]=![],_0x513937[_0x6caaa5(0x26a)]=_0x40ce7e[_0x6caaa5(0x224)],_0x513937;}if(_0x40ce7e[_0x6caaa5(0x277)](typeof _0x588d5a['evaluate'],_0x40ce7e[_0x6caaa5(0x264)])&&_0x40ce7e[_0x6caaa5(0x1f6)](typeof _0x588d5a['url'],_0x40ce7e[_0x6caaa5(0x264)])&&_0x40ce7e[_0x6caaa5(0x277)](typeof _0x588d5a[_0x6caaa5(0x269)],_0x40ce7e[_0x6caaa5(0x264)])){const _0x4460d8={};return _0x4460d8['isPlaywright']=!![],_0x4460d8[_0x6caaa5(0x26a)]=_0x40ce7e[_0x6caaa5(0x1ea)],_0x4460d8;}if(_0x40ce7e[_0x6caaa5(0x277)](typeof _0x588d5a[_0x6caaa5(0x23e)],_0x40ce7e[_0x6caaa5(0x264)])&&_0x40ce7e['xGHfX'](typeof _0x588d5a[_0x6caaa5(0x1c7)],_0x40ce7e[_0x6caaa5(0x264)])){const _0x1edb6e={};return _0x1edb6e[_0x6caaa5(0x227)]=![],_0x1edb6e['type']=_0x40ce7e[_0x6caaa5(0x270)],_0x1edb6e;}const _0x185ea0=_0x588d5a['constructor']?.[_0x6caaa5(0x1e4)];if(_0x40ce7e['rgIOT'](_0x185ea0,_0x40ce7e[_0x6caaa5(0x228)])){const _0xe2202f={};return _0xe2202f[_0x6caaa5(0x227)]=!![],_0xe2202f[_0x6caaa5(0x26a)]=_0x40ce7e[_0x6caaa5(0x1ea)],_0xe2202f;}if(_0x40ce7e[_0x6caaa5(0x26c)](_0x185ea0,_0x40ce7e[_0x6caaa5(0x1f9)])){const _0x1a8cad={};return _0x1a8cad[_0x6caaa5(0x227)]=![],_0x1a8cad['type']=_0x40ce7e[_0x6caaa5(0x270)],_0x1a8cad;}if(_0x40ce7e[_0x6caaa5(0x1f6)](_0x185ea0,_0x40ce7e[_0x6caaa5(0x1c6)])){const _0x3cb890={};return _0x3cb890[_0x6caaa5(0x227)]=!![],_0x3cb890['type']=_0x40ce7e[_0x6caaa5(0x1e9)],_0x3cb890;}logger[_0x6caaa5(0x235)](_0x6caaa5(0x221)+_0x40ce7e[_0x6caaa5(0x26e)](_0x185ea0,_0x40ce7e[_0x6caaa5(0x243)]));const _0x5267b0={};return _0x5267b0['isPlaywright']=![],_0x5267b0[_0x6caaa5(0x26a)]=_0x40ce7e[_0x6caaa5(0x224)],_0x5267b0;},withTimeout=(_0x168def,_0x28ea44)=>{const _0x255ac3=a95_0xa8824e;return Promise[_0x255ac3(0x232)]([_0x168def,new Promise((_0xc49d44,_0x502d7a)=>setTimeout(()=>_0x502d7a(new Error(_0x255ac3(0x1e2)+_0x28ea44+'ms')),_0x28ea44))]);};exports['performScanWithRetry']=async(_0x490de7,_0xe98872=null,_0x2d3d59=null)=>{const _0x3fc07b=a95_0xa8824e,_0x4a75e1={'UmVPS':function(_0x143e70,_0x465513){return _0x143e70&&_0x465513;},'honZh':function(_0x35cbd6,_0x12f765,_0x188699){return _0x35cbd6(_0x12f765,_0x188699);},'RaVqh':function(_0x4ddf90,_0x542f2a){return _0x4ddf90===_0x542f2a;},'leHNv':'playwright-codecept-driver','bgBwN':function(_0x3466a5,_0x2cd213){return _0x3466a5(_0x2cd213);},'wuoHz':_0x3fc07b(0x1f1),'pESjB':_0x3fc07b(0x26f),'kxoZH':_0x3fc07b(0x1ed),'xAARr':function(_0x211a4a,_0x5c5a68){return _0x211a4a===_0x5c5a68;},'tZhwI':_0x3fc07b(0x1f2),'zrYLp':function(_0x571609,_0xf7e136){return _0x571609===_0xf7e136;},'WEfwF':function(_0x4b986f,_0x1b249d){return _0x4b986f<=_0x1b249d;},'YFXBx':function(_0x4eaae7,_0x49fb22){return _0x4eaae7+_0x49fb22;},'VzbHX':_0x3fc07b(0x1d2)},{isPlaywright:_0x2c0037,type:_0x34e4bf}=_0x4a75e1[_0x3fc07b(0x1f3)](detectDriverType,_0x490de7),_0x5b6727=_0x2c0037?global['accessibilityPlatform']:accessibilityHelper[_0x3fc07b(0x238)]()&&globals[_0x3fc07b(0x229)](_0x4a75e1[_0x3fc07b(0x225)])&&globals[_0x3fc07b(0x229)](_0x4a75e1[_0x3fc07b(0x1fe)]);if(!_0x5b6727)return logger[_0x3fc07b(0x235)](_0x3fc07b(0x1ee)+_0x34e4bf+_0x3fc07b(0x1f0)),![];const _0x108963=_0xe98872||global['browserstackSessionName']||_0x4a75e1[_0x3fc07b(0x1c3)];let _0x19bbfa=null;const _0x421510={'testhub_btcer_uuid':global['__workerDetails']?.[_0x3fc07b(0x247)]?.['id'],'url':_0x4a75e1[_0x3fc07b(0x1fb)](typeof _0x490de7[_0x3fc07b(0x21b)],_0x4a75e1[_0x3fc07b(0x240)])?await _0x490de7[_0x3fc07b(0x21b)]():_0x4a75e1['zrYLp'](typeof _0x490de7[_0x3fc07b(0x241)],_0x4a75e1[_0x3fc07b(0x240)])?await _0x490de7['getCurrentUrl']():'','automate_session_id':_0x4a75e1['zrYLp'](typeof _0x490de7['getSession'],_0x4a75e1[_0x3fc07b(0x240)])?(await _0x490de7['getSession']())[_0x3fc07b(0x22a)]():''};for(let _0x3884cd=0x1;_0x4a75e1[_0x3fc07b(0x207)](_0x3884cd,_0x4a75e1[_0x3fc07b(0x25b)](RETRY_CONFIG[_0x3fc07b(0x27d)],0x1));_0x3884cd++){try{return logger[_0x3fc07b(0x22e)](_0x3fc07b(0x1e0)+_0x3884cd+'/'+_0x4a75e1[_0x3fc07b(0x25b)](RETRY_CONFIG[_0x3fc07b(0x27d)],0x1)+_0x3fc07b(0x1e3)+_0x108963+'\x20('+_0x34e4bf+')'),await PerformanceTester[_0x3fc07b(0x22d)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x24af69=_0x3fc07b;let _0x4a4bdd;if(_0x4a75e1['UmVPS'](_0x2c0037,playwrightA11yHelper)){_0x4a75e1['honZh'](setConfigTimeout,RETRY_CONFIG,null),await exports['setPlaywrightScriptTimeout'](_0x490de7,RETRY_CONFIG[_0x24af69(0x1e1)]);let _0x3aceed=_0x490de7;_0x4a75e1['RaVqh'](_0x34e4bf,_0x4a75e1[_0x24af69(0x23d)])&&(_0x3aceed=_0x490de7[_0x24af69(0x1d9)]),_0x4a4bdd=await _0x4a75e1[_0x24af69(0x27c)](withTimeout,playwrightA11yHelper[_0x24af69(0x204)](_0x3aceed,_0x108963),RETRY_CONFIG[_0x24af69(0x1e1)]),await exports[_0x24af69(0x265)](_0x490de7,RETRY_CONFIG[_0x24af69(0x246)]);}else await exports[_0x24af69(0x25e)](_0x490de7,RETRY_CONFIG[_0x24af69(0x1e1)]),_0x4a4bdd=await _0x4a75e1['honZh'](withTimeout,accessibilityHelper['performScan'](_0x490de7,_0x108963),RETRY_CONFIG[_0x24af69(0x1e1)]),await exports[_0x24af69(0x25e)](_0x490de7,RETRY_CONFIG[_0x24af69(0x246)]);logger[_0x24af69(0x22e)]('Scan\x20attempt\x20'+_0x3884cd+_0x24af69(0x20a));},{'command':_0x108963,..._0x421510})(),logger[_0x3fc07b(0x27e)](_0x3fc07b(0x24f)+_0x3884cd+'.'),!![];}catch(_0x905c7c){_0x19bbfa=_0x905c7c,logger[_0x3fc07b(0x22e)](_0x3fc07b(0x1e0)+_0x3884cd+'\x20failed\x20for\x20method:\x20'+_0x108963+'\x20('+_0x34e4bf+').\x20Error:\x20'+_0x905c7c[_0x3fc07b(0x22b)]);}}return logger[_0x3fc07b(0x242)](_0x3fc07b(0x1d8)+_0x108963+'\x20('+_0x34e4bf+_0x3fc07b(0x1e8)+(_0x19bbfa?.['message']||_0x4a75e1[_0x3fc07b(0x1d3)])),![];},exports[a95_0xa8824e(0x256)]=async(_0x120687,_0x38078f)=>{const _0x401749=a95_0xa8824e,_0x949937={'LVffz':function(_0x5cf586,_0x1e010b){return _0x5cf586(_0x1e010b);},'fzPCW':'isAccessibilityPlatform','wtewi':_0x401749(0x26f),'NMFjR':function(_0x5cb68f,_0x31f61c){return _0x5cb68f<=_0x31f61c;},'IQfKs':function(_0x5d73d3,_0x4659c4){return _0x5d73d3+_0x4659c4;},'LHWMO':function(_0x3b563f,_0x2baf74){return _0x3b563f&&_0x2baf74;},'vcLqK':function(_0x4c4f87,_0x3422d8,_0x132f7e){return _0x4c4f87(_0x3422d8,_0x132f7e);},'VFVjN':function(_0x5d1cac,_0x493e97,_0x5dc287){return _0x5d1cac(_0x493e97,_0x5dc287);},'pYkpZ':_0x401749(0x1d2)},{isPlaywright:_0xfbaa53,type:_0x4faf52}=_0x949937[_0x401749(0x22c)](detectDriverType,_0x120687),_0x473fe9=_0xfbaa53?_0x38078f[_0x401749(0x1c4)]:accessibilityHelper[_0x401749(0x238)]()&&globals[_0x401749(0x229)](_0x949937['fzPCW'])&&globals[_0x401749(0x229)](_0x949937[_0x401749(0x201)]);if(!_0x473fe9)return logger['warn'](_0x401749(0x1ee)+_0x4faf52+_0x401749(0x22f)),[];let _0x37c178=null;for(let _0x2931bf=0x1;_0x949937[_0x401749(0x206)](_0x2931bf,_0x949937['IQfKs'](RETRY_CONFIG[_0x401749(0x27d)],0x1));_0x2931bf++){try{logger[_0x401749(0x22e)](_0x401749(0x278)+_0x2931bf+'/'+_0x949937[_0x401749(0x1ff)](RETRY_CONFIG['maxRetries'],0x1)+'\x20('+_0x4faf52+')');let _0x49fb05;return _0x949937['LHWMO'](_0xfbaa53,playwrightA11yHelper)?(_0x949937['vcLqK'](setConfigTimeout,RETRY_CONFIG,null),await exports['setPlaywrightScriptTimeout'](_0x120687,RETRY_CONFIG[_0x401749(0x1e1)]),_0x49fb05=await _0x949937[_0x401749(0x1dd)](withTimeout,playwrightA11yHelper[_0x401749(0x26d)](_0x120687),RETRY_CONFIG[_0x401749(0x1e1)]),await exports[_0x401749(0x265)](_0x120687,RETRY_CONFIG['defaultTimeoutMs'])):(await exports[_0x401749(0x25e)](_0x120687,RETRY_CONFIG[_0x401749(0x1e1)]),_0x49fb05=await _0x949937[_0x401749(0x1cf)](withTimeout,accessibilityHelper['getAccessibilityResults'](_0x120687,_0x38078f),RETRY_CONFIG[_0x401749(0x1e1)]),await exports['setSeleniumScriptTimeout'](_0x120687,RETRY_CONFIG[_0x401749(0x246)])),logger[_0x401749(0x27e)](_0x401749(0x276)+_0x2931bf+'\x20('+_0x4faf52+')'),_0x49fb05;}catch(_0x191a4a){_0x37c178=_0x191a4a,logger[_0x401749(0x235)](_0x401749(0x278)+_0x2931bf+'\x20failed\x20('+_0x4faf52+_0x401749(0x24b)+_0x191a4a[_0x401749(0x22b)]);}}return logger[_0x401749(0x242)](_0x401749(0x271)+_0x4faf52+_0x401749(0x252)+(_0x37c178?.[_0x401749(0x22b)]||_0x949937[_0x401749(0x259)])),[];},exports['getAccessibilityResultsSummaryWithRetry']=async(_0x43974c,_0xf8083a)=>{const _0x5b5d01=a95_0xa8824e,_0x301476={'NhUzI':function(_0x39759d,_0x354fea){return _0x39759d(_0x354fea);},'VtyrA':_0x5b5d01(0x1f1),'Wtfea':_0x5b5d01(0x26f),'dVtvc':function(_0x49cb28,_0x502112){return _0x49cb28<=_0x502112;},'okcEz':function(_0x3c5cac,_0x151a3a){return _0x3c5cac+_0x151a3a;},'NPGup':function(_0x5b538d,_0x53e181){return _0x5b538d&&_0x53e181;},'CnHam':function(_0x200c0f,_0x1bed03,_0x4f67f2){return _0x200c0f(_0x1bed03,_0x4f67f2);},'FkXvP':function(_0x626ea4,_0x5f522d,_0xec7dee){return _0x626ea4(_0x5f522d,_0xec7dee);},'esePT':'Unknown\x20error'},{isPlaywright:_0x1d3589,type:_0x242403}=_0x301476['NhUzI'](detectDriverType,_0x43974c),_0x3bbab0=_0x1d3589?_0xf8083a[_0x5b5d01(0x1c4)]:accessibilityHelper[_0x5b5d01(0x238)]()&&globals[_0x5b5d01(0x229)](_0x301476[_0x5b5d01(0x262)])&&globals[_0x5b5d01(0x229)](_0x301476[_0x5b5d01(0x25f)]);if(!_0x3bbab0)return logger['warn']('Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20'+_0x242403+_0x5b5d01(0x249)),{};let _0x4f96ca=null;for(let _0x1025cb=0x1;_0x301476['dVtvc'](_0x1025cb,_0x301476['okcEz'](RETRY_CONFIG[_0x5b5d01(0x27d)],0x1));_0x1025cb++){try{logger[_0x5b5d01(0x22e)](_0x5b5d01(0x24d)+_0x1025cb+'/'+_0x301476[_0x5b5d01(0x20b)](RETRY_CONFIG[_0x5b5d01(0x27d)],0x1)+'\x20('+_0x242403+')');let _0x42caeb;return _0x301476['NPGup'](_0x1d3589,playwrightA11yHelper)?(_0x301476[_0x5b5d01(0x1bf)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x5b5d01(0x265)](_0x43974c,RETRY_CONFIG[_0x5b5d01(0x1e1)]),_0x42caeb=await _0x301476[_0x5b5d01(0x1bf)](withTimeout,playwrightA11yHelper['getAccessibilityResultsSummary'](_0x43974c),RETRY_CONFIG[_0x5b5d01(0x1e1)]),await exports[_0x5b5d01(0x265)](_0x43974c,RETRY_CONFIG[_0x5b5d01(0x246)])):(await exports[_0x5b5d01(0x25e)](_0x43974c,RETRY_CONFIG[_0x5b5d01(0x1e1)]),_0x42caeb=await _0x301476[_0x5b5d01(0x275)](withTimeout,accessibilityHelper[_0x5b5d01(0x1fc)](_0x43974c,_0xf8083a),RETRY_CONFIG[_0x5b5d01(0x1e1)]),await exports[_0x5b5d01(0x25e)](_0x43974c,RETRY_CONFIG[_0x5b5d01(0x246)])),logger[_0x5b5d01(0x27e)](_0x5b5d01(0x1dc)+_0x1025cb+'\x20('+_0x242403+')'),_0x42caeb;}catch(_0x468512){_0x4f96ca=_0x468512,logger[_0x5b5d01(0x235)]('Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20'+_0x1025cb+_0x5b5d01(0x212)+_0x242403+').\x20Error:\x20'+_0x468512[_0x5b5d01(0x22b)]);}}return logger[_0x5b5d01(0x242)](_0x5b5d01(0x26b)+_0x242403+_0x5b5d01(0x252)+(_0x4f96ca?.[_0x5b5d01(0x22b)]||_0x301476[_0x5b5d01(0x219)])),{};},exports[a95_0xa8824e(0x255)]=async(_0x28954f,_0x4a5489,_0x186b8d=null)=>{const _0x23424=a95_0xa8824e,_0x283933={'qCpBC':function(_0x184f55,_0x56c7f5){return _0x184f55(_0x56c7f5);},'QbAYd':function(_0xf3263b,_0x2958f4){return _0xf3263b===_0x2958f4;},'iYIaX':_0x23424(0x205),'nDaWa':function(_0x51fe36,_0x10e283){return _0x51fe36===_0x10e283;},'jaCdf':function(_0x3dd7ee,_0x34512c){return _0x3dd7ee===_0x34512c;},'RUHDh':_0x23424(0x23f),'hezBY':'Unknown\x20error\x20during\x20comprehensive\x20accessibility\x20scan'},{isPlaywright:_0x3635df,type:_0x583820}=_0x283933[_0x23424(0x273)](detectDriverType,_0x28954f),_0x4344b3={};_0x4344b3[_0x23424(0x223)]=![],_0x4344b3[_0x23424(0x210)]=[],_0x4344b3[_0x23424(0x226)]={},_0x4344b3[_0x23424(0x242)]=null,_0x4344b3['driverType']=_0x583820;const _0x4c12b1=_0x4344b3;try{_0x4c12b1['scanSucceeded']=await exports[_0x23424(0x215)](_0x28954f,_0x186b8d);if(_0x4c12b1[_0x23424(0x223)]){const [_0x49b025,_0x373389]=await Promise[_0x23424(0x1ca)]([exports[_0x23424(0x256)](_0x28954f,_0x4a5489),exports[_0x23424(0x1fd)](_0x28954f,_0x4a5489)]);_0x4c12b1[_0x23424(0x210)]=_0x283933[_0x23424(0x1df)](_0x49b025[_0x23424(0x1ce)],_0x283933['iYIaX'])?_0x49b025[_0x23424(0x1fa)]:[],_0x4c12b1[_0x23424(0x226)]=_0x283933[_0x23424(0x1d7)](_0x373389[_0x23424(0x1ce)],_0x283933['iYIaX'])?_0x373389['value']:{},_0x283933[_0x23424(0x266)](_0x49b025['status'],_0x283933[_0x23424(0x25a)])&&logger[_0x23424(0x235)](_0x23424(0x218)+_0x583820+_0x23424(0x220)+_0x49b025[_0x23424(0x253)]?.[_0x23424(0x22b)]),_0x283933[_0x23424(0x1d7)](_0x373389[_0x23424(0x1ce)],_0x283933[_0x23424(0x25a)])&&logger[_0x23424(0x235)](_0x23424(0x27b)+_0x583820+'):\x20'+_0x373389[_0x23424(0x253)]?.[_0x23424(0x22b)]);}}catch(_0x1c14de){_0x4c12b1['error']=_0x1c14de[_0x23424(0x22b)]||_0x283933[_0x23424(0x209)],logger['error'](_0x23424(0x254)+_0x583820+_0x23424(0x220)+_0x4c12b1[_0x23424(0x242)]);}return _0x4c12b1;},exports[a95_0xa8824e(0x1e5)]=_0x55507a=>{const _0x4a0069=a95_0xa8824e,_0x47905b={};_0x47905b[_0x4a0069(0x20d)]=function(_0x55af52,_0x58a12a){return _0x55af52!==_0x58a12a;},_0x47905b[_0x4a0069(0x208)]=function(_0x553f47,_0x5e53f6){return _0x553f47!==_0x5e53f6;};const _0x2f9e0c=_0x47905b;_0x2f9e0c['CLYjV'](_0x55507a[_0x4a0069(0x27d)],undefined)&&(RETRY_CONFIG[_0x4a0069(0x27d)]=Math[_0x4a0069(0x244)](0x0,_0x55507a['maxRetries'])),_0x2f9e0c['jFwQN'](_0x55507a[_0x4a0069(0x1e1)],undefined)&&(RETRY_CONFIG['timeoutMs']=Math[_0x4a0069(0x244)](0x3e8,_0x55507a['timeoutMs'])),logger['debug'](_0x4a0069(0x1da)+JSON['stringify'](RETRY_CONFIG));},exports['getRetryConfig']=()=>{const _0x250e72={...RETRY_CONFIG};return _0x250e72;},exports['isPlaywrightPage']=_0x21632e=>{const _0xea908a=a95_0xa8824e,_0x39e0c1={'FhrCh':function(_0x42922a,_0x41a689){return _0x42922a(_0x41a689);}};return _0x39e0c1[_0xea908a(0x200)](detectDriverType,_0x21632e)['isPlaywright'];},exports[a95_0xa8824e(0x216)]=_0x5a0d00=>{const _0x328c92=a95_0xa8824e,_0x10edd0={'fzbZj':function(_0x3e48e0,_0x4aef88){return _0x3e48e0(_0x4aef88);},'IrYsH':function(_0x259993,_0x18f812){return _0x259993===_0x18f812;},'iAMrW':'selenium-webdriver'},{isPlaywright:_0x39b769,type:_0x2cd331}=_0x10edd0['fzbZj'](detectDriverType,_0x5a0d00);return!_0x39b769&&_0x10edd0[_0x328c92(0x24e)](_0x2cd331,_0x10edd0[_0x328c92(0x258)]);},exports[a95_0xa8824e(0x265)]=async(_0x3fc982,_0x3100a6=null)=>{const _0x2b07c6=a95_0xa8824e,_0x5840c9={'vNgzf':function(_0x334052,_0x21ee07){return _0x334052(_0x21ee07);},'DCFeC':function(_0x207738,_0x28d318){return _0x207738===_0x28d318;},'zuOtI':_0x2b07c6(0x1f2)},{isPlaywright:_0x3d0fe2,type:_0x31497c}=_0x5840c9[_0x2b07c6(0x230)](detectDriverType,_0x3fc982);if(!_0x3d0fe2)return logger[_0x2b07c6(0x22e)](_0x2b07c6(0x1c5)+_0x31497c+_0x2b07c6(0x257)),!![];const _0x301507=_0x3100a6||RETRY_CONFIG[_0x2b07c6(0x246)];try{return _0x3fc982&&_0x5840c9[_0x2b07c6(0x268)](typeof _0x3fc982[_0x2b07c6(0x23b)],_0x5840c9['zuOtI'])&&(await _0x3fc982[_0x2b07c6(0x23b)](_0x301507),logger['debug'](_0x2b07c6(0x213)+_0x301507+'ms')),!![];}catch(_0x184a4b){return logger[_0x2b07c6(0x235)](_0x2b07c6(0x203)+_0x184a4b[_0x2b07c6(0x22b)]),![];}},exports[a95_0xa8824e(0x25e)]=async(_0x297465,_0x1cc820=null)=>{const _0x5e933a=a95_0xa8824e,_0x36ade4={};_0x36ade4[_0x5e933a(0x274)]=_0x5e933a(0x21e),_0x36ade4['NUUgr']=function(_0x57a1f4,_0x749a5){return _0x57a1f4===_0x749a5;},_0x36ade4['uIyKv']='function',_0x36ade4['fGGTA']=function(_0x460f80,_0xd4e652){return _0x460f80===_0xd4e652;},_0x36ade4[_0x5e933a(0x20f)]='Selenium\x20WebDriver\x20timeout\x20API\x20not\x20available,\x20skipping\x20timeout\x20setting',_0x36ade4['lZWGj']=_0x5e933a(0x231);const _0x582ae3=_0x36ade4;if(!exports[_0x5e933a(0x216)](_0x297465))return logger[_0x5e933a(0x235)](_0x582ae3[_0x5e933a(0x274)]),![];const _0x26dad4=_0x1cc820||RETRY_CONFIG[_0x5e933a(0x246)];try{if(_0x297465&&_0x582ae3[_0x5e933a(0x20e)](typeof _0x297465[_0x5e933a(0x1f4)],_0x582ae3[_0x5e933a(0x21a)])){const _0x36dc0b=_0x297465[_0x5e933a(0x1f4)]();if(_0x36dc0b&&_0x582ae3[_0x5e933a(0x20e)](typeof _0x36dc0b[_0x5e933a(0x1d5)],_0x582ae3['uIyKv']))await _0x36dc0b['timeouts']()[_0x5e933a(0x1ec)](_0x26dad4),logger[_0x5e933a(0x22e)]('Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20'+_0x26dad4+_0x5e933a(0x1d0));else{if(_0x36dc0b&&_0x582ae3['NUUgr'](typeof _0x36dc0b['setTimeouts'],_0x582ae3[_0x5e933a(0x21a)])){const _0x5dc6b8={};_0x5dc6b8['script']=_0x26dad4,await _0x36dc0b[_0x5e933a(0x263)](_0x5dc6b8),logger[_0x5e933a(0x22e)](_0x5e933a(0x1cd)+_0x26dad4+_0x5e933a(0x217));}else{if(_0x36dc0b&&_0x582ae3[_0x5e933a(0x25c)](typeof _0x36dc0b['setScriptTimeout'],_0x582ae3['uIyKv']))await _0x36dc0b[_0x5e933a(0x1ec)](_0x26dad4),logger['debug'](_0x5e933a(0x1cd)+_0x26dad4+_0x5e933a(0x239));else return logger[_0x5e933a(0x22e)](_0x582ae3['AmQPk']),!![];}}}else return logger[_0x5e933a(0x22e)](_0x582ae3[_0x5e933a(0x267)]),!![];return!![];}catch(_0x3a0056){return logger[_0x5e933a(0x235)]('Failed\x20to\x20set\x20Selenium\x20script\x20timeout:\x20'+_0x3a0056[_0x5e933a(0x22b)]),![];}},exports[a95_0xa8824e(0x250)]=async(_0x5510a4,_0x1b1abc)=>{const _0x46d6d0=a95_0xa8824e,_0x5db4f9={'GEvmp':function(_0x5ad096,_0x3adf92){return _0x5ad096(_0x3adf92);},'dusrq':_0x46d6d0(0x1f1),'QxlxL':_0x46d6d0(0x26f),'DVrOa':function(_0x20bd53,_0x36c7f5){return _0x20bd53<=_0x36c7f5;},'lDDaM':function(_0x21153f,_0x2b02e1){return _0x21153f+_0x2b02e1;},'WkHuz':function(_0x5f1ddf,_0x1492d1){return _0x5f1ddf&&_0x1492d1;},'XjQdu':function(_0x11679d,_0xdc744b,_0x32377a){return _0x11679d(_0xdc744b,_0x32377a);},'QYCfT':function(_0x339fd8,_0x1d09e3,_0x5e272e){return _0x339fd8(_0x1d09e3,_0x5e272e);},'nggnK':function(_0xa55244,_0x17a78b,_0x11aeca){return _0xa55244(_0x17a78b,_0x11aeca);},'leJpv':_0x46d6d0(0x1d2)},{isPlaywright:_0x3d6736,type:_0x400136}=_0x5db4f9[_0x46d6d0(0x233)](detectDriverType,_0x5510a4),_0x376ac9=_0x3d6736?global[_0x46d6d0(0x1c4)]:accessibilityHelper[_0x46d6d0(0x238)]()&&globals[_0x46d6d0(0x229)](_0x5db4f9['dusrq'])&&globals[_0x46d6d0(0x229)](_0x5db4f9['QxlxL']);if(!_0x376ac9)return logger[_0x46d6d0(0x235)]('Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20'+_0x400136+_0x46d6d0(0x1ef)),![];let _0x11fb60=null;for(let _0x1b33a2=0x1;_0x5db4f9[_0x46d6d0(0x245)](_0x1b33a2,_0x5db4f9[_0x46d6d0(0x1de)](RETRY_CONFIG['maxRetries'],0x1));_0x1b33a2++){try{return logger[_0x46d6d0(0x22e)](_0x46d6d0(0x1f5)+_0x1b33a2+'/'+_0x5db4f9['lDDaM'](RETRY_CONFIG[_0x46d6d0(0x27d)],0x1)+'\x20('+_0x400136+')'),_0x5db4f9[_0x46d6d0(0x24c)](_0x3d6736,playwrightA11yHelper)?(_0x5db4f9[_0x46d6d0(0x234)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x46d6d0(0x265)](_0x5510a4,RETRY_CONFIG[_0x46d6d0(0x1e1)]),await _0x5db4f9[_0x46d6d0(0x261)](withTimeout,playwrightA11yHelper['browserStackEvaluate'](_0x5510a4,scripts[_0x46d6d0(0x24a)],_0x1b1abc),RETRY_CONFIG[_0x46d6d0(0x1e1)]),await exports[_0x46d6d0(0x265)](_0x5510a4,RETRY_CONFIG[_0x46d6d0(0x246)])):(await exports[_0x46d6d0(0x25e)](_0x5510a4,RETRY_CONFIG[_0x46d6d0(0x1e1)]),await _0x5db4f9[_0x46d6d0(0x1c2)](withTimeout,_0x5510a4[_0x46d6d0(0x23e)](scripts[_0x46d6d0(0x24a)],_0x1b1abc),RETRY_CONFIG[_0x46d6d0(0x1e1)]),await exports[_0x46d6d0(0x25e)](_0x5510a4,RETRY_CONFIG[_0x46d6d0(0x246)])),logger['info']('Accessibility\x20results\x20saved\x20successfully\x20on\x20attempt\x20'+_0x1b33a2+'\x20('+_0x400136+')'),!![];}catch(_0x1c4e03){_0x11fb60=_0x1c4e03,logger[_0x46d6d0(0x235)](_0x46d6d0(0x1f5)+_0x1b33a2+_0x46d6d0(0x212)+_0x400136+_0x46d6d0(0x24b)+_0x1c4e03['message']);}}return logger[_0x46d6d0(0x242)](_0x46d6d0(0x202)+_0x400136+').\x20Last\x20error:\x20'+(_0x11fb60?.['message']||_0x5db4f9[_0x46d6d0(0x1c8)])),![];};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a96_0x4818(){var _0x1a6a96=['521430eYEdhA','20AohAQz','4131000RhTMrf','1309748DimQlV','8XKJtWs','MINIMUM_BROWSER_VERSION_ACCESSIBILITY','MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY','100','326333vxNynk','62670EPNfTs','API_URL','85cRFbDc','4967452lFknlR','https://accessibility.browserstack.com/api','16491UgKrYQ'];a96_0x4818=function(){return _0x1a6a96;};return a96_0x4818();}var a96_0x187df7=a96_0x39e9;function a96_0x39e9(_0x5016f0,_0x58868d){var _0x481826=a96_0x4818();return a96_0x39e9=function(_0x39e93b,_0x115346){_0x39e93b=_0x39e93b-0xa0;var _0x34ba5c=_0x481826[_0x39e93b];return _0x34ba5c;},a96_0x39e9(_0x5016f0,_0x58868d);}(function(_0x370c4b,_0x482e89){var _0x54e817=a96_0x39e9,_0x24fa4e=_0x370c4b();while(!![]){try{var _0x55b887=parseInt(_0x54e817(0xa9))/0x1+-parseInt(_0x54e817(0xa2))/0x2*(parseInt(_0x54e817(0xa0))/0x3)+parseInt(_0x54e817(0xa4))/0x4+-parseInt(_0x54e817(0xac))/0x5*(-parseInt(_0x54e817(0xaa))/0x6)+-parseInt(_0x54e817(0xad))/0x7*(parseInt(_0x54e817(0xa5))/0x8)+parseInt(_0x54e817(0xa3))/0x9+-parseInt(_0x54e817(0xa1))/0xa;if(_0x55b887===_0x482e89)break;else _0x24fa4e['push'](_0x24fa4e['shift']());}catch(_0x2cc894){_0x24fa4e['push'](_0x24fa4e['shift']());}}}(a96_0x4818,0x739f2),exports[a96_0x187df7(0xab)]=a96_0x187df7(0xae),exports[a96_0x187df7(0xa6)]='94',exports[a96_0x187df7(0xa7)]=a96_0x187df7(0xa8));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a97_0x5280ff=a97_0x1529;(function(_0x278402,_0x5e6900){const _0x11668d=a97_0x1529,_0x30c5ab=_0x278402();while(!![]){try{const _0x534874=-parseInt(_0x11668d(0x136))/0x1+-parseInt(_0x11668d(0x16c))/0x2+-parseInt(_0x11668d(0x150))/0x3+-parseInt(_0x11668d(0x1ae))/0x4+parseInt(_0x11668d(0x15a))/0x5*(-parseInt(_0x11668d(0x173))/0x6)+parseInt(_0x11668d(0x13b))/0x7*(parseInt(_0x11668d(0x1c1))/0x8)+parseInt(_0x11668d(0x152))/0x9*(parseInt(_0x11668d(0x117))/0xa);if(_0x534874===_0x5e6900)break;else _0x30c5ab['push'](_0x30c5ab['shift']());}catch(_0x47cf37){_0x30c5ab['push'](_0x30c5ab['shift']());}}}(a97_0x724e,0xc78dc));function a97_0x1529(_0x25e6a7,_0x30a65c){const _0x724e96=a97_0x724e();return a97_0x1529=function(_0x152903,_0x576c5c){_0x152903=_0x152903-0x103;let _0x1221c8=_0x724e96[_0x152903];return _0x1221c8;},a97_0x1529(_0x25e6a7,_0x30a65c);}function a97_0x724e(){const _0x3379b1=['v2/test_runs','MwQXY','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','VNAug','kvarO','Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20','playwright','BEdoz','BROWSERSTACK_TURBOSCALE','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','browserVersion','isTrue','BS_A11Y_JWT','performScan','success','kNAbN','set','browserstack_executor','status','DvtPY','chromeOptions_','cqTMO','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','RaYRA','maLBu','zEBZi','projectName','EeROi','measureWrapper','hcYbj','getAccessibilityResultsSummary','oKmtH','browserName','headers','Not\x20a\x20Accessibility\x20Session','getUserName','HFBle','OSqov','Mkfjk','length','accessibility','getAccessKey','util','PFsXb','accessibilityToken','lYsdd','__cloud_provider___','IxVKi','POST','UJPGg','ndZfS','getPackageVersion','stringify','TKOrG','mTfyV','3144332NRBkLm','yujYA','parse','checkAccessibilityPlatformConfig','format','XSwMC','get','No\x20accessibility\x20summary\x20was\x20found.','browserstackSessionName','selenium-webdriver/chrome.js','stack','setNonBstackInfraCapabilities','getCapabilities','eZsmj','getGlobal','json','nonBstackPlatformValidation','YosvG','message','3448DDCPZU','options_','winstonLogger','join','errors','LVhwK','getBrowserName','GET_RESULTS_SUMMARY','basename','includeTagsInTestingScope','cwd','KTQAg','getAccessibilityResults','VotUS','isUndefined','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.','fdErq','toLowerCase','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','browserstack','ChromeExtension','cwbHU','isAccessibilityPlatform','PUT','a11y:start','executeAsyncScript','shouldScanTestForAccessibility','statusText','getPlatform','assign','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token','Content-Type','../globals','NgrVL','getCiInfo','includes','chrome','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','zAnCA','toISOString','IIGTe','473940CcuEmm','fMIQO','getBrowserVersion','BROWSERSTACK_TEST_ACCESSIBILITY_YML','Performing\x20scan\x20before\x20getting\x20results\x20summary','dTEHq','sFRka','Build\x20creation\x20had\x20failed.','javascript','wVDaJ','some','capabilities_','args','uUFrw','qoYQP','getAgentVersion','Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20','./constants','pass','ZJCtO','bVAvp','bMSke','auth','isBrowserStackCommandExecutor','stopAccessibilityTestRun','false','YhMsF','warn','test_runs/stop','xZQHQ','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','1159515ZHfBQE','requireModule','nestedKeyValue','isBrowserstackInfra','qaydB','25459zXvYGF','data','EKLGi','getTestFrameworkDetails','resolve','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20','version','IhvSV','response','nodeRequest','fetchPlatformDetails','buildName','debug','OhPSA','script','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','getGitMetaData','toJson','goog:chromeOptions','GET_RESULTS','dJFiH','114351hkuLBf','GrpRh','765okXkht','./scripts','bstack:options','buildDescription','FyZCT','env','method','gsXuK','5rdxOQW','error','JcqbJ','jcQHY','SFFbm','string','xZFda','Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20','CyDtv','isArray','VxyHv','scannerVersion','Bearer\x20','pphft','body','bstackA11yShouldScan','excludeTagsInTestingScope','deviceName','3152878AsXaRx','forEach','isAccessibilityAutomationSession','../performance/constants','yoaek','PERFORM_SCAN','getResultsSummary','7311066QkSjBJ','path','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20','platforms'];a97_0x724e=function(){return _0x3379b1;};return a97_0x724e();}const path=require(a97_0x5280ff(0x174)),util=require(a97_0x5280ff(0x1a1)),bsSetupHelper=require('../helper'),logger=require('../logger')[a97_0x5280ff(0x1c3)],{API_URL,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require(a97_0x5280ff(0x128)),PerformanceTester=require('../performance/performance-tester'),scripts=require(a97_0x5280ff(0x153)),globals=require(a97_0x5280ff(0x10e)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a97_0x5280ff(0x16f));exports[a97_0x5280ff(0x145)]=async _0x824e3b=>{const _0x608876=a97_0x5280ff,_0x3d1dce={};_0x3d1dce[_0x608876(0x1c6)]=function(_0x4b6e4b,_0x521ade){return _0x4b6e4b===_0x521ade;},_0x3d1dce[_0x608876(0x178)]=_0x608876(0x1d5);const _0xb0ef=_0x3d1dce;let _0x4e906b={};try{const _0x193fac=await _0x824e3b[_0x608876(0x1ba)]();_0x4e906b={'os_name':_0x193fac[_0x608876(0x10a)](),'os_version':bsSetupHelper['getPlatformVersion'](_0xb0ef[_0x608876(0x1c6)](global[_0x608876(0x1a5)],_0xb0ef[_0x608876(0x178)])),'browser_name':_0x193fac[_0x608876(0x1c7)](),'browser_version':_0x193fac[_0x608876(0x119)]()};}catch(_0x20f5ce){logger[_0x608876(0x147)](_0x608876(0x113)+_0x20f5ce);}return _0x4e906b;},exports[a97_0x5280ff(0x16e)]=()=>{const _0x404aee=a97_0x5280ff,_0x36b072={};_0x36b072[_0x404aee(0x103)]=function(_0x3eba35,_0x4c4f5b){return _0x3eba35===_0x4c4f5b;},_0x36b072[_0x404aee(0x159)]=_0x404aee(0x15f),_0x36b072[_0x404aee(0x124)]=function(_0x26c552,_0x5651f2){return _0x26c552>_0x5651f2;},_0x36b072['zEBZi']=function(_0x35f93e,_0x550cde){return _0x35f93e!==_0x550cde;},_0x36b072[_0x404aee(0x12c)]='null',_0x36b072[_0x404aee(0x1a2)]=function(_0xb671c6,_0x508574){return _0xb671c6&&_0x508574;};const _0x4d21ce=_0x36b072;try{const _0x2fec94=bsSetupHelper[_0x404aee(0x182)](process[_0x404aee(0x157)][_0x404aee(0x11a)])||bsSetupHelper['isTrue'](process[_0x404aee(0x157)][_0x404aee(0x14a)]),_0x9792b0=_0x4d21ce[_0x404aee(0x103)](typeof process['env'][_0x404aee(0x183)],_0x4d21ce[_0x404aee(0x159)])&&_0x4d21ce[_0x404aee(0x124)](process[_0x404aee(0x157)]['BS_A11Y_JWT'][_0x404aee(0x19e)],0x0)&&_0x4d21ce[_0x404aee(0x190)](process['env'][_0x404aee(0x183)],_0x4d21ce[_0x404aee(0x12c)]);return _0x4d21ce[_0x404aee(0x1a2)](_0x2fec94,_0x9792b0);}catch(_0x53fa57){logger[_0x404aee(0x147)](_0x404aee(0x127)+_0x53fa57);}return![];},exports[a97_0x5280ff(0x1be)]=(_0x380af5,_0x389269)=>{const _0x4251c9=a97_0x5280ff,_0x5389c5={'dTEHq':_0x4251c9(0x197),'ZJCtO':function(_0x8a9b0d,_0x1dda47){return _0x8a9b0d(_0x1dda47);},'xZQHQ':_0x4251c9(0x181),'PeKWG':_0x4251c9(0x141),'IIGTe':_0x4251c9(0x154),'frsjZ':function(_0x357f4f,_0xdd94af){return _0x357f4f(_0xdd94af);},'mirhm':_0x4251c9(0x16b),'ziEuQ':'device','IhvSV':_0x4251c9(0x1d4),'oKjcr':_0x4251c9(0x1b7),'kNAbN':'selenium-webdriver','KTQAg':_0x4251c9(0x1c2),'BEdoz':_0x4251c9(0x123),'NgrVL':'chromeOptions','fMIQO':'--headless','FyZCT':_0x4251c9(0x180),'sFRka':_0x4251c9(0x14d),'SFFbm':function(_0x2f8cf1,_0x9c6c08){return _0x2f8cf1===_0x9c6c08;},'gubbL':_0x4251c9(0x112),'ndZfS':function(_0x5da99c,_0x38b1e3){return _0x5da99c>=_0x38b1e3;}},_0x31ba43=_0x380af5[_0x4251c9(0x1b4)](_0x5389c5[_0x4251c9(0x11c)]),_0x5e06b4=_0x5389c5[_0x4251c9(0x12a)](parseFloat,_0x380af5[_0x4251c9(0x1b4)](_0x5389c5[_0x4251c9(0x134)]))||_0x5389c5[_0x4251c9(0x12a)](parseFloat,_0x380af5[_0x4251c9(0x1b4)](_0x5389c5['PeKWG'])),_0x50ad60=_0x380af5[_0x4251c9(0x1b4)](_0x5389c5[_0x4251c9(0x116)])||{},_0x25aa6a=_0x5389c5['frsjZ'](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY),_0x1632e1=_0x50ad60[_0x5389c5['mirhm']]||_0x380af5['get'](_0x5389c5['ziEuQ'])||![];if(_0x1632e1)return logger[_0x4251c9(0x132)](_0x5389c5[_0x4251c9(0x142)]),![];let _0x28ec0b;try{_0x28ec0b=bsSetupHelper[_0x4251c9(0x137)](_0x5389c5['oKjcr'],_0x5389c5[_0x4251c9(0x186)]);}catch(_0x4e6236){return![];}const _0x4ea96d=new _0x28ec0b['Options'](_0x389269[_0x4251c9(0x18b)]),_0x56f004=bsSetupHelper['nestedKeyValue'](_0x4ea96d,[_0x5389c5[_0x4251c9(0x1cc)],_0x5389c5[_0x4251c9(0x17e)]])||bsSetupHelper['nestedKeyValue'](_0x389269[_0x4251c9(0x122)],[_0x5389c5[_0x4251c9(0x116)],_0x5389c5[_0x4251c9(0x10f)],_0x5389c5[_0x4251c9(0x17e)]])||bsSetupHelper[_0x4251c9(0x138)](_0x389269[_0x4251c9(0x122)],[_0x5389c5[_0x4251c9(0x10f)],_0x5389c5[_0x4251c9(0x17e)]])||[];if(_0x56f004[_0x4251c9(0x111)](_0x5389c5[_0x4251c9(0x118)]))return logger[_0x4251c9(0x132)](_0x5389c5['FyZCT']),![];const _0x45155c=_0x389269[_0x4251c9(0x122)]||{},_0x475d36=bsSetupHelper['nestedKeyValue'](_0x45155c,[_0x5389c5[_0x4251c9(0x11d)]])||{},_0x93c577=bsSetupHelper[_0x4251c9(0x138)](_0x475d36,[_0x5389c5[_0x4251c9(0x17e)]])||[];if(_0x93c577[_0x4251c9(0x111)](_0x5389c5['fMIQO']))return logger[_0x4251c9(0x132)](_0x5389c5[_0x4251c9(0x156)]),![];if(_0x5389c5[_0x4251c9(0x15e)](_0x31ba43[_0x4251c9(0x1d3)](),_0x5389c5['gubbL'])&&_0x5389c5[_0x4251c9(0x1a9)](_0x5e06b4,_0x25aa6a))return!![];return logger[_0x4251c9(0x132)](_0x4251c9(0x140)+MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY+'.'),![];},exports[a97_0x5280ff(0x1b9)]=_0x1e535d=>{const _0x19f3f5=a97_0x5280ff,_0x915aca={};_0x915aca[_0x19f3f5(0x196)]=_0x19f3f5(0x14d),_0x915aca[_0x19f3f5(0x131)]=function(_0x4a8e2e,_0x8048bd){return _0x4a8e2e||_0x8048bd;},_0x915aca[_0x19f3f5(0x19d)]=_0x19f3f5(0x199);const _0x49154a=_0x915aca,_0x16a7a5=scripts[_0x19f3f5(0x1d6)];try{const _0x25683f=bsSetupHelper[_0x19f3f5(0x182)](process[_0x19f3f5(0x157)][_0x19f3f5(0x11a)])||bsSetupHelper[_0x19f3f5(0x182)](process[_0x19f3f5(0x157)][_0x19f3f5(0x14a)]);if((!bsSetupHelper['isBrowserstackInfra']()||process[_0x19f3f5(0x157)][_0x19f3f5(0x17f)])&&_0x25683f){const _0x488ba8=_0x1e535d[_0x19f3f5(0x1ba)](),_0x2db70a=_0x488ba8[_0x19f3f5(0x1b4)](_0x49154a['oKmtH']),_0x5ba8a8=_0x49154a[_0x19f3f5(0x131)](_0x2db70a,{});bsSetupHelper['mergeDeep'](_0x5ba8a8,_0x16a7a5),_0x1e535d[_0x19f3f5(0x1ba)]()[_0x19f3f5(0x187)](_0x49154a[_0x19f3f5(0x196)],_0x5ba8a8);}else logger[_0x19f3f5(0x132)](_0x49154a[_0x19f3f5(0x19d)]);}catch(_0x6ad7c9){logger['error']('Error\x20while\x20adding\x20Non-Bstack\x20capabilities:\x20'+_0x6ad7c9);}},exports[a97_0x5280ff(0x108)]=(_0x20562c=null,_0x44f1f7=!![],_0x4797ed=[])=>{const _0x15f4f0=a97_0x5280ff,_0x5cbca4={};_0x5cbca4[_0x15f4f0(0x13a)]=function(_0x34cfd9,_0x5f562f){return _0x34cfd9==_0x5f562f;},_0x5cbca4[_0x15f4f0(0x12b)]=function(_0x36df02,_0x4df477){return _0x36df02>_0x4df477;},_0x5cbca4[_0x15f4f0(0x1d2)]=function(_0x3d084a,_0x526768){return _0x3d084a===_0x526768;},_0x5cbca4[_0x15f4f0(0x162)]=function(_0x195ddf,_0x76ffe2){return _0x195ddf&&_0x76ffe2;};const _0xff0ab1=_0x5cbca4;if(_0xff0ab1['qaydB'](process['env'][_0x15f4f0(0x18d)],null))return!![];try{const _0x1ba6c8=JSON[_0x15f4f0(0x1b0)](process[_0x15f4f0(0x157)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']),_0x7cedf9=Array['isArray'](_0x1ba6c8[_0x15f4f0(0x1ca)])?_0x1ba6c8[_0x15f4f0(0x1ca)]:[],_0x2c763f=Array[_0x15f4f0(0x163)](_0x1ba6c8['excludeTagsInTestingScope'])?_0x1ba6c8[_0x15f4f0(0x16a)]:[];if(bsSetupHelper[_0x15f4f0(0x1cf)](_0x20562c)){if(_0xff0ab1[_0x15f4f0(0x12b)](_0x4797ed[_0x15f4f0(0x19e)],0x0)){const _0x17bdec=_0x2c763f['some'](_0xd1daa2=>_0x4797ed[_0x15f4f0(0x111)](_0xd1daa2)),_0x5e85e4=_0xff0ab1[_0x15f4f0(0x1d2)](_0x7cedf9[_0x15f4f0(0x19e)],0x0)||_0x7cedf9[_0x15f4f0(0x121)](_0x283239=>_0x4797ed['includes'](_0x283239));return _0xff0ab1[_0x15f4f0(0x162)](!_0x17bdec,_0x5e85e4);}return!![];}let _0x5606b2;_0x44f1f7?_0x5606b2=_0x20562c[_0x15f4f0(0x1c4)]('/'):_0x5606b2=_0x20562c;const _0x30f7a0=_0x2c763f[_0x15f4f0(0x121)](_0x555b8b=>_0x5606b2['includes'](_0x555b8b)),_0x2ab20a=_0xff0ab1['fdErq'](_0x7cedf9[_0x15f4f0(0x19e)],0x0)||_0x7cedf9[_0x15f4f0(0x121)](_0x2b0ce9=>_0x5606b2[_0x15f4f0(0x111)](_0x2b0ce9));return _0xff0ab1[_0x15f4f0(0x162)](!_0x30f7a0,_0x2ab20a);}catch(_0x33a33a){logger[_0x15f4f0(0x147)](_0x15f4f0(0x161)+util[_0x15f4f0(0x1b2)](_0x33a33a));}return![];},exports[a97_0x5280ff(0x1b1)]=_0x334952=>{const _0x2e8d24=a97_0x5280ff;let _0x3ac09b=![];try{_0x334952[_0x2e8d24(0x176)][_0x2e8d24(0x16d)](_0x56eb8b=>{const _0x1caf53=_0x2e8d24;if(bsSetupHelper[_0x1caf53(0x182)](_0x56eb8b[_0x1caf53(0x19f)]))return _0x3ac09b=!![],!![];});}catch(_0x9ca0b4){logger['debug']('Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20'+_0x9ca0b4);}return _0x3ac09b||bsSetupHelper['isTrue'](_0x334952[_0x2e8d24(0x19f)]);},exports['createAccessibilityTestRun']=PerformanceTester[a97_0x5280ff(0x193)](a97_0x5280ff(0x106),async function(_0x1db0a0,_0x7253e4){const _0x3b025e=a97_0x5280ff,_0x49f829={};_0x49f829[_0x3b025e(0x18a)]=_0x3b025e(0x10c),_0x49f829[_0x3b025e(0x1bf)]=_0x3b025e(0x17d),_0x49f829['xZFda']=_0x3b025e(0x11f),_0x49f829[_0x3b025e(0x164)]='application/json',_0x49f829[_0x3b025e(0x1bb)]=_0x3b025e(0x1a7),_0x49f829['vxlyP']=_0x3b025e(0x177),_0x49f829[_0x3b025e(0x18c)]=function(_0x2f8af6,_0x4f87e6){return _0x2f8af6===_0x4f87e6;},_0x49f829[_0x3b025e(0x17a)]='Invalid\x20configuration\x20passed.',_0x49f829[_0x3b025e(0x1a8)]=_0x3b025e(0x130);const _0x87a4bc=_0x49f829,_0x41bbfc=bsSetupHelper[_0x3b025e(0x19a)](_0x1db0a0),_0x30ea43=bsSetupHelper[_0x3b025e(0x1a0)](_0x1db0a0);if(bsSetupHelper['isUndefined'](_0x41bbfc)||bsSetupHelper[_0x3b025e(0x1cf)](_0x30ea43))return logger[_0x3b025e(0x15b)](_0x87a4bc[_0x3b025e(0x18a)]),[null,null];try{let _0x16fa1d;bsSetupHelper[_0x3b025e(0x1cf)](process[_0x3b025e(0x157)][_0x3b025e(0x18d)])?_0x16fa1d={}:_0x16fa1d=JSON[_0x3b025e(0x1b0)](process[_0x3b025e(0x157)][_0x3b025e(0x18d)]);const {name:_0x3156c5,version:_0x55f6cd}=bsSetupHelper[_0x3b025e(0x13e)](_0x1db0a0,_0x7253e4),_0x5c092b={'projectName':_0x1db0a0[_0x3b025e(0x191)],'buildName':_0x1db0a0[_0x3b025e(0x146)]||path[_0x3b025e(0x1c9)](path[_0x3b025e(0x13f)](process[_0x3b025e(0x1cb)]())),'startTime':new Date()['toISOString'](),'description':_0x1db0a0[_0x3b025e(0x155)]||'','source':{'frameworkName':_0x7253e4['includes'](_0x87a4bc[_0x3b025e(0x1bf)])?_0x87a4bc['YosvG']:_0x7253e4,'frameworkVersion':bsSetupHelper[_0x3b025e(0x1aa)](_0x7253e4),'sdkVersion':bsSetupHelper[_0x3b025e(0x126)](),'language':_0x87a4bc[_0x3b025e(0x160)],'testFramework':_0x3156c5,'testFrameworkVersion':_0x55f6cd},'settings':_0x16fa1d,'versionControl':await bsSetupHelper[_0x3b025e(0x14b)](),'ciInfo':bsSetupHelper[_0x3b025e(0x110)](),'hostInfo':bsSetupHelper['getHostInfo'](),'browserstackAutomation':bsSetupHelper[_0x3b025e(0x139)]()},_0x27ee2b={};_0x27ee2b['user']=_0x41bbfc,_0x27ee2b[_0x3b025e(0x129)]=_0x30ea43;const _0x2b61d7={};_0x2b61d7[_0x3b025e(0x10d)]=_0x87a4bc['VxyHv'];const _0x4eda3e={};_0x4eda3e['auth']=_0x27ee2b,_0x4eda3e[_0x3b025e(0x198)]=_0x2b61d7;const _0xc6bbf7=_0x4eda3e,_0x1761dd={};_0x1761dd[_0x3b025e(0x168)]=_0x5c092b,_0x1761dd[_0x3b025e(0x1bd)]=!![];const _0x2bb7f8=Object[_0x3b025e(0x10b)](_0xc6bbf7,_0x1761dd),_0x538a06=await bsSetupHelper[_0x3b025e(0x144)](_0x87a4bc['eZsmj'],_0x87a4bc['vxlyP'],_0x2bb7f8,_0x1db0a0,API_URL);let _0x616916=process[_0x3b025e(0x157)][_0x3b025e(0x18d)];return _0x616916?_0x616916=JSON[_0x3b025e(0x1b0)](process[_0x3b025e(0x157)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']):_0x616916={},scripts['parseFromJson'](_0x538a06['data']['data']),scripts[_0x3b025e(0x14c)](),_0x616916['scannerVersion']=_0x538a06[_0x3b025e(0x13c)][_0x3b025e(0x13c)][_0x3b025e(0x165)],process['env'][_0x3b025e(0x18d)]=JSON['stringify'](_0x616916),[_0x538a06[_0x3b025e(0x13c)][_0x3b025e(0x13c)][_0x3b025e(0x1a3)],_0x538a06[_0x3b025e(0x13c)][_0x3b025e(0x13c)]['id']];}catch(_0x411ad1){if(_0x411ad1[_0x3b025e(0x143)])logger['error']('Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20'+_0x411ad1[_0x3b025e(0x143)][_0x3b025e(0x189)]+'\x20'+_0x411ad1['response']['statusText']+'\x20'+JSON['stringify'](_0x411ad1[_0x3b025e(0x143)][_0x3b025e(0x13c)]));else{if(_0x87a4bc['cqTMO'](_0x411ad1['message'],_0x87a4bc[_0x3b025e(0x17a)])){logger['error']('Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20'+(_0x411ad1[_0x3b025e(0x1c0)]||_0x411ad1[_0x3b025e(0x1b8)]));for(const _0x3b2e4c of _0x411ad1[_0x3b025e(0x1c5)]){logger[_0x3b025e(0x15b)](_0x3b2e4c[_0x3b025e(0x1c0)]);}process[_0x3b025e(0x157)][_0x3b025e(0x11a)]=_0x87a4bc['UJPGg'],process[_0x3b025e(0x157)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x87a4bc[_0x3b025e(0x1a8)];}else logger[_0x3b025e(0x15b)](_0x3b025e(0x179)+(_0x411ad1['message']||_0x411ad1['stack']));}return[null,null];}}),exports[a97_0x5280ff(0x12f)]=PerformanceTester[a97_0x5280ff(0x193)]('a11y:stop',async function(_0x2e0783){const _0x3dc72e=a97_0x5280ff,_0x49080c={};_0x49080c['TKOrG']=function(_0xb4b85b,_0x250730){return _0xb4b85b!==_0x250730;},_0x49080c[_0x3dc72e(0x13d)]=_0x3dc72e(0x15f),_0x49080c[_0x3dc72e(0x148)]=_0x3dc72e(0x15b),_0x49080c[_0x3dc72e(0x151)]=_0x3dc72e(0x11e),_0x49080c[_0x3dc72e(0x125)]='application/json',_0x49080c[_0x3dc72e(0x114)]=_0x3dc72e(0x105),_0x49080c[_0x3dc72e(0x192)]=_0x3dc72e(0x133),_0x49080c[_0x3dc72e(0x1ce)]=function(_0x14ce62,_0x2d9ae7){return _0x14ce62+_0x2d9ae7;},_0x49080c['lYsdd']='Invalid\x20request:\x20',_0x49080c[_0x3dc72e(0x194)]=_0x3dc72e(0x185);const _0x3b34bd=_0x49080c;if(bsSetupHelper[_0x3dc72e(0x1cf)](process[_0x3dc72e(0x157)][_0x3dc72e(0x183)])||_0x3b34bd[_0x3dc72e(0x1ac)](typeof process[_0x3dc72e(0x157)][_0x3dc72e(0x183)],_0x3b34bd['EKLGi'])){const _0x4f7aa8={};return _0x4f7aa8[_0x3dc72e(0x189)]=_0x3b34bd['OhPSA'],_0x4f7aa8[_0x3dc72e(0x1c0)]=_0x3b34bd[_0x3dc72e(0x151)],_0x4f7aa8;}const _0x4ddd9d={'endTime':new Date()[_0x3dc72e(0x115)]()},_0x472d2b={};_0x472d2b['Authorization']=_0x3dc72e(0x166)+process[_0x3dc72e(0x157)][_0x3dc72e(0x183)],_0x472d2b[_0x3dc72e(0x10d)]=_0x3b34bd[_0x3dc72e(0x125)];const _0x305709={};_0x305709[_0x3dc72e(0x198)]=_0x472d2b;const _0x145387=_0x305709,_0x10de6b={};_0x10de6b[_0x3dc72e(0x168)]=_0x4ddd9d,_0x10de6b[_0x3dc72e(0x12d)]=null,_0x10de6b[_0x3dc72e(0x1bd)]=!![];const _0x44a53b=Object[_0x3dc72e(0x10b)](_0x145387,_0x10de6b);try{const _0x280d3f=await bsSetupHelper[_0x3dc72e(0x144)](_0x3b34bd[_0x3dc72e(0x114)],_0x3b34bd[_0x3dc72e(0x192)],_0x44a53b,_0x2e0783,API_URL);if(_0x280d3f['data']['error'])throw new Error(_0x3b34bd['VotUS'](_0x3b34bd[_0x3dc72e(0x1a4)],_0x280d3f['data'][_0x3dc72e(0x15b)]));else{logger['info'](_0x3dc72e(0x175)+new Date()[_0x3dc72e(0x115)]());const _0x280707={};return _0x280707['status']=_0x3b34bd[_0x3dc72e(0x194)],_0x280707[_0x3dc72e(0x1c0)]='',_0x280707;}}catch(_0x24312b){_0x24312b[_0x3dc72e(0x143)]?logger[_0x3dc72e(0x15b)](_0x3dc72e(0x17c)+_0x24312b[_0x3dc72e(0x143)][_0x3dc72e(0x189)]+'\x20'+_0x24312b['response'][_0x3dc72e(0x109)]+'\x20'+JSON[_0x3dc72e(0x1ab)](_0x24312b[_0x3dc72e(0x143)][_0x3dc72e(0x13c)])):logger['error'](_0x3dc72e(0x17c)+(_0x24312b[_0x3dc72e(0x1c0)]||util[_0x3dc72e(0x1b2)](_0x24312b)));const _0xded931={};return _0xded931['status']=_0x3b34bd[_0x3dc72e(0x148)],_0xded931[_0x3dc72e(0x1c0)]=_0x24312b[_0x3dc72e(0x1c0)]||(_0x24312b[_0x3dc72e(0x143)]?_0x24312b[_0x3dc72e(0x143)][_0x3dc72e(0x189)]+':'+_0x24312b['response'][_0x3dc72e(0x109)]:_0x24312b),_0xded931;}}),exports[a97_0x5280ff(0x184)]=async(_0x4410df,_0x23e591=null)=>{const _0x3f1790=a97_0x5280ff,_0x34d17={};_0x34d17[_0x3f1790(0x17b)]='isAccessibilityPlatform',_0x34d17[_0x3f1790(0x15d)]=_0x3f1790(0x169),_0x34d17['bntVe']=_0x3f1790(0x1d1);const _0x1da0cb=_0x34d17;if(!this['isAccessibilityAutomationSession']()||!globals['getGlobal'](_0x1da0cb[_0x3f1790(0x17b)])||!globals[_0x3f1790(0x1bc)](_0x1da0cb[_0x3f1790(0x15d)])){logger['warn'](_0x1da0cb['bntVe']);return;}return await PerformanceTester[_0x3f1790(0x193)](PerformanceA11yEvents[_0x3f1790(0x171)],async()=>{const _0x3ff137=_0x3f1790,_0x5d82e4={};_0x5d82e4[_0x3ff137(0x158)]=_0x23e591||global[_0x3ff137(0x1b6)];const _0x3de56b=util[_0x3ff137(0x1b2)](await _0x4410df[_0x3ff137(0x107)](scripts[_0x3ff137(0x184)],_0x5d82e4));return logger['debug']('Performed\x20scan\x20with\x20result:\x20'+_0x3de56b),_0x3de56b;},{'command':_0x23e591})();},exports[a97_0x5280ff(0x1cd)]=async(_0x592308,_0x67f54b)=>{const _0x3caa94=a97_0x5280ff,_0x459bc7={};_0x459bc7['JcqbJ']='Performing\x20scan\x20before\x20getting\x20results',_0x459bc7['OSqov']='isAccessibilityPlatform',_0x459bc7['XSwMC']=_0x3caa94(0x169),_0x459bc7['HFBle']=_0x3caa94(0x1d0),_0x459bc7[_0x3caa94(0x14f)]='getAccessibilityResults',_0x459bc7[_0x3caa94(0x120)]='No\x20accessibility\x20results\x20were\x20found.';const _0xd968bc=_0x459bc7;if(!this[_0x3caa94(0x16e)]()||!globals[_0x3caa94(0x1bc)](_0xd968bc[_0x3caa94(0x19c)])||!globals[_0x3caa94(0x1bc)](_0xd968bc[_0x3caa94(0x1b3)]))return logger[_0x3caa94(0x132)](_0xd968bc[_0x3caa94(0x19b)]),[];try{return await PerformanceTester[_0x3caa94(0x193)](PerformanceA11yEvents[_0x3caa94(0x171)],async()=>{const _0x38f076=_0x3caa94;logger['debug'](_0xd968bc[_0x38f076(0x15c)]);const _0x53f212={};_0x53f212[_0x38f076(0x158)]=_0x67f54b[_0x38f076(0x1b6)],logger[_0x38f076(0x147)](util['format'](await _0x592308[_0x38f076(0x107)](scripts[_0x38f076(0x184)],_0x53f212)));},{'command':_0xd968bc[_0x3caa94(0x14f)]})(),await PerformanceTester[_0x3caa94(0x193)](PerformanceA11yEvents[_0x3caa94(0x14e)],async()=>{const _0x27c789=_0x3caa94,_0x49ba72=await _0x592308[_0x27c789(0x107)](scripts['getResults']);return _0x49ba72;})();}catch{return logger['error'](_0xd968bc[_0x3caa94(0x120)]),[];}},exports[a97_0x5280ff(0x195)]=async(_0x29d53e,_0x30c6ef)=>{const _0xa89917=a97_0x5280ff,_0xcc3992={};_0xcc3992[_0xa89917(0x170)]=_0xa89917(0x11b),_0xcc3992[_0xa89917(0x167)]=_0xa89917(0x104),_0xcc3992[_0xa89917(0x1a6)]=_0xa89917(0x169),_0xcc3992[_0xa89917(0x1ad)]=_0xa89917(0x135),_0xcc3992[_0xa89917(0x18e)]='getAccessibilityResultsSummary',_0xcc3992[_0xa89917(0x18f)]=_0xa89917(0x1b5);const _0x52a0b0=_0xcc3992;if(!this['isAccessibilityAutomationSession']()||!globals[_0xa89917(0x1bc)](_0x52a0b0['pphft'])||!globals[_0xa89917(0x1bc)](_0x52a0b0[_0xa89917(0x1a6)]))return logger['warn'](_0x52a0b0[_0xa89917(0x1ad)]),{};try{return await PerformanceTester[_0xa89917(0x193)](PerformanceA11yEvents[_0xa89917(0x171)],async()=>{const _0x1a9fad=_0xa89917;logger[_0x1a9fad(0x147)](_0x52a0b0[_0x1a9fad(0x170)]);const _0x3570dd={};_0x3570dd[_0x1a9fad(0x158)]=_0x30c6ef['browserstackSessionName'],logger[_0x1a9fad(0x147)](util[_0x1a9fad(0x1b2)](await _0x29d53e[_0x1a9fad(0x107)](scripts['performScan'],_0x3570dd)));},{'command':_0x52a0b0[_0xa89917(0x18e)]})(),await PerformanceTester[_0xa89917(0x193)](PerformanceA11yEvents[_0xa89917(0x1c8)],async()=>{const _0x5b4215=_0xa89917,_0x5dcba0=await _0x29d53e[_0x5b4215(0x107)](scripts[_0x5b4215(0x172)]);return _0x5dcba0;})();}catch{return logger[_0xa89917(0x15b)](_0x52a0b0['maLBu']),{};}},exports[a97_0x5280ff(0x12e)]=_0x1d53a2=>{const _0x5d7e86=a97_0x5280ff,_0x508f12={};_0x508f12['lDBSK']=function(_0x2160f1,_0x47c728){return _0x2160f1===_0x47c728;},_0x508f12['JamZn']='string',_0x508f12['yujYA']=_0x5d7e86(0x188);const _0xbe553a=_0x508f12;if(_0x1d53a2&&_0x1d53a2[_0x5d7e86(0x149)]&&_0xbe553a['lDBSK'](typeof _0x1d53a2[_0x5d7e86(0x149)],_0xbe553a['JamZn']))return _0x1d53a2[_0x5d7e86(0x149)][_0x5d7e86(0x111)](_0xbe553a[_0x5d7e86(0x1af)]);return![];};
|
|
1
|
+
const a97_0x3a1c2c=a97_0x285f;(function(_0x2a0e37,_0x14b3c0){const _0x205831=a97_0x285f,_0x56f019=_0x2a0e37();while(!![]){try{const _0x43fb66=-parseInt(_0x205831(0xe9))/0x1*(-parseInt(_0x205831(0x12f))/0x2)+-parseInt(_0x205831(0xf3))/0x3*(-parseInt(_0x205831(0x1bb))/0x4)+-parseInt(_0x205831(0x138))/0x5+-parseInt(_0x205831(0x16d))/0x6*(parseInt(_0x205831(0x16a))/0x7)+parseInt(_0x205831(0x10d))/0x8+-parseInt(_0x205831(0x127))/0x9+parseInt(_0x205831(0x12e))/0xa*(parseInt(_0x205831(0x164))/0xb);if(_0x43fb66===_0x14b3c0)break;else _0x56f019['push'](_0x56f019['shift']());}catch(_0x494015){_0x56f019['push'](_0x56f019['shift']());}}}(a97_0x5123,0x463df));function a97_0x285f(_0x578d47,_0x83d799){const _0x5123d2=a97_0x5123();return a97_0x285f=function(_0x285f60,_0xe4ca6f){_0x285f60=_0x285f60-0xe3;let _0x4df968=_0x5123d2[_0x285f60];return _0x4df968;},a97_0x285f(_0x578d47,_0x83d799);}function a97_0x5123(){const _0x5cffa2=['forEach','resolve','PERFORM_SCAN','buildName','./scripts','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20','Invalid\x20request:\x20','string','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20','BgVgr','getUserName','DOnho','some','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','browserVersion','kNHuh','WVLeW','get','BS_A11Y_JWT','error','performScan','GET_RESULTS','projectName','chrome','MQppx','BROWSERSTACK_TEST_ACCESSIBILITY_YML','OgnoT','cwd','1144zyajoh','elqZj','AZqaX','No\x20accessibility\x20results\x20were\x20found.','WpLRu','json','bstackA11yShouldScan','test_runs/stop','response','statusText','OgkXX','browserstackSessionName','29bKFrWr','gYFNC','PSaGX','LRMsP','jEUnd','THvio','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','auiFo','chromeOptions','Performing\x20scan\x20before\x20getting\x20results\x20summary','2559WqsAfs','cLgnV','getResults','nodeRequest','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','warn','capabilities_','measureWrapper','getResultsSummary','XdBRW','buildDescription','EqBbU','GET_RESULTS_SUMMARY','shouldScanTestForAccessibility','false','toJson','getBrowserName','getCiInfo','options_','success','excludeTagsInTestingScope','rUQOg','gVzNu','stopAccessibilityTestRun','XfsKW','1720512ZSnPZn','path','set','toISOString','includeTagsInTestingScope','accessibility','POST','ChromeExtension','getGlobal','AwmJb','HVhqD','args','MpEKq','pxAfj','znlSt','vVCIf','isAccessibilityPlatform','setNonBstackInfraCapabilities','gfKCF','version','headers','EDoIY','BROWSERSTACK_TURBOSCALE','SsKkb','wYmLo','isTrue','3797919TaoYYV','includes','Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20','script','isAccessibilityAutomationSession','Invalid\x20configuration\x20passed.','Performing\x20scan\x20before\x20getting\x20results','10ySYoUl','13306yOVmKP','../performance/performance-tester','nestedKeyValue','pGyPd','v2/test_runs','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token','isBrowserstackInfra','message','mergeDeep','1807440kvgDJQ','../performance/constants','jQPgv','GtthN','browserstack','basename','chromeOptions_','accessibilityToken','debug','EsKDE','PUT','../helper','VtQjm','getHostInfo','goog:chromeOptions','ZnBlB','fHdmz','slihL','info','FScRK','wVsvB','dnjRq','Dqzpy','getTestFrameworkDetails','NklVD','util','Error\x20while\x20adding\x20Non-Bstack\x20capabilities:\x20','YcpjN','rRQwr','tlHUo','data','selenium-webdriver','javascript','status','stringify','bstack:options','Content-Type','getAccessibilityResultsSummary','wSQBM','lINCK','null','uFVZW','browserstack_executor','YQjhq','8944331MxKaFH','a11y:start','--headless','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','PkeqW','method','595TXAPfj','length','getAccessKey','27804hLCZia','lrjCs','executeAsyncScript','user','kdxaz','Not\x20a\x20Accessibility\x20Session','errors','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.','fetchPlatformDetails','assign','Bearer\x20','getAccessibilityResults','browserName','gERjT','Authorization','getGitMetaData','selenium-webdriver/chrome.js','stack','eUjBR','isArray','qRNWh','Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20','nonBstackPlatformValidation','env','pVCEJ','join','jGsLp','diJsu','mCQPr','body','BoJyK','scannerVersion','HaXcl','getAgentVersion','application/json','cYvFy','No\x20accessibility\x20summary\x20was\x20found.','checkAccessibilityPlatformConfig','IIiXp','isUndefined','format','ORebf','Tvqat','PqKsR','cTLCT','parse','getCapabilities','isBrowserStackCommandExecutor'];a97_0x5123=function(){return _0x5cffa2;};return a97_0x5123();}const path=require(a97_0x3a1c2c(0x10e)),util=require(a97_0x3a1c2c(0x151)),bsSetupHelper=require(a97_0x3a1c2c(0x143)),logger=require('../logger')['winstonLogger'],{API_URL,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require('./constants'),PerformanceTester=require(a97_0x3a1c2c(0x130)),scripts=require(a97_0x3a1c2c(0x1a1)),globals=require('../globals'),{A11Y_EVENTS:PerformanceA11yEvents}=require(a97_0x3a1c2c(0x139));exports[a97_0x3a1c2c(0x175)]=async _0x1da2a4=>{const _0x232efb=a97_0x3a1c2c,_0x40e5b6={};_0x40e5b6[_0x232efb(0x181)]=function(_0x2a1a2f,_0x663f07){return _0x2a1a2f===_0x663f07;},_0x40e5b6['VtQjm']=_0x232efb(0x13c);const _0x4fc576=_0x40e5b6;let _0x27b6c2={};try{const _0x4c1823=await _0x1da2a4[_0x232efb(0x19b)]();_0x27b6c2={'os_name':_0x4c1823['getPlatform'](),'os_version':bsSetupHelper['getPlatformVersion'](_0x4fc576[_0x232efb(0x181)](global['__cloud_provider___'],_0x4fc576[_0x232efb(0x144)])),'browser_name':_0x4c1823[_0x232efb(0x104)](),'browser_version':_0x4c1823['getBrowserVersion']()};}catch(_0x4a3bb7){logger[_0x232efb(0x140)](_0x232efb(0xef)+_0x4a3bb7);}return _0x27b6c2;},exports[a97_0x3a1c2c(0x12b)]=()=>{const _0x587cf3=a97_0x3a1c2c,_0x3162f0={};_0x3162f0['jEUnd']=function(_0x21e7bb,_0x92e652){return _0x21e7bb===_0x92e652;},_0x3162f0[_0x587cf3(0x155)]=_0x587cf3(0x1a4),_0x3162f0[_0x587cf3(0x1bc)]=function(_0x4ae703,_0x4e5905){return _0x4ae703>_0x4e5905;},_0x3162f0[_0x587cf3(0x199)]=function(_0x3e3e1a,_0x876f7d){return _0x3e3e1a!==_0x876f7d;},_0x3162f0[_0x587cf3(0x1af)]=_0x587cf3(0x160),_0x3162f0[_0x587cf3(0xea)]=function(_0x1b1155,_0x4587a5){return _0x1b1155&&_0x4587a5;};const _0x52b0ba=_0x3162f0;try{const _0xa812c0=bsSetupHelper[_0x587cf3(0x126)](process[_0x587cf3(0x184)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'])||bsSetupHelper['isTrue'](process[_0x587cf3(0x184)][_0x587cf3(0x1ac)]),_0xe0694=_0x52b0ba[_0x587cf3(0xed)](typeof process[_0x587cf3(0x184)][_0x587cf3(0x1b1)],_0x52b0ba[_0x587cf3(0x155)])&&_0x52b0ba['elqZj'](process[_0x587cf3(0x184)][_0x587cf3(0x1b1)][_0x587cf3(0x16b)],0x0)&&_0x52b0ba[_0x587cf3(0x199)](process[_0x587cf3(0x184)][_0x587cf3(0x1b1)],_0x52b0ba['WVLeW']);return _0x52b0ba[_0x587cf3(0xea)](_0xa812c0,_0xe0694);}catch(_0x2ac4f1){logger['debug'](_0x587cf3(0x182)+_0x2ac4f1);}return![];},exports[a97_0x3a1c2c(0x183)]=(_0x10e4c1,_0x3004e0)=>{const _0x5a6b85=a97_0x3a1c2c,_0x251360={'kNHuh':_0x5a6b85(0x179),'OjVRZ':function(_0x151537,_0x2eade9){return _0x151537(_0x2eade9);},'rRQwr':_0x5a6b85(0x1ad),'ymSVD':function(_0x1c7ca8,_0x282ab5){return _0x1c7ca8(_0x282ab5);},'XdBRW':_0x5a6b85(0x120),'gERjT':_0x5a6b85(0x15b),'jGsLp':function(_0x289ed8,_0x45c26c){return _0x289ed8(_0x45c26c);},'dnjRq':'deviceName','lINCK':'device','fHdmz':_0x5a6b85(0x167),'eUjBR':_0x5a6b85(0x17d),'cLgnV':_0x5a6b85(0x157),'TpXhm':_0x5a6b85(0x106),'PSaGX':_0x5a6b85(0x118),'GtthN':_0x5a6b85(0xf1),'pxAfj':_0x5a6b85(0x166),'auiFo':_0x5a6b85(0x1ab),'YQjhq':_0x5a6b85(0x146),'OgkXX':function(_0xdb234c,_0x1afc44){return _0xdb234c===_0x1afc44;},'CapgM':_0x5a6b85(0x1b6),'MQppx':function(_0x360bd2,_0x28488b){return _0x360bd2>=_0x28488b;}},_0xea7727=_0x10e4c1[_0x5a6b85(0x1b0)](_0x251360[_0x5a6b85(0x1ae)]),_0x298996=_0x251360['OjVRZ'](parseFloat,_0x10e4c1['get'](_0x251360[_0x5a6b85(0x154)]))||_0x251360['ymSVD'](parseFloat,_0x10e4c1[_0x5a6b85(0x1b0)](_0x251360[_0x5a6b85(0xfd)])),_0x5278b0=_0x10e4c1[_0x5a6b85(0x1b0)](_0x251360['gERjT'])||{},_0x480eb8=_0x251360[_0x5a6b85(0x187)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY),_0x554b3c=_0x5278b0[_0x251360[_0x5a6b85(0x14d)]]||_0x10e4c1['get'](_0x251360[_0x5a6b85(0x15f)])||![];if(_0x554b3c)return logger[_0x5a6b85(0xf9)](_0x251360[_0x5a6b85(0x148)]),![];let _0x1b459e;try{_0x1b459e=bsSetupHelper['requireModule'](_0x251360[_0x5a6b85(0x17f)],_0x251360[_0x5a6b85(0xf4)]);}catch(_0x13ef66){return![];}const _0x5b79cd=new _0x1b459e['Options'](_0x3004e0[_0x5a6b85(0x13e)]),_0x901374=bsSetupHelper['nestedKeyValue'](_0x5b79cd,[_0x251360['TpXhm'],_0x251360[_0x5a6b85(0xeb)]])||bsSetupHelper[_0x5a6b85(0x131)](_0x3004e0['capabilities_'],[_0x251360[_0x5a6b85(0x17a)],_0x251360[_0x5a6b85(0x13b)],_0x251360[_0x5a6b85(0xeb)]])||bsSetupHelper[_0x5a6b85(0x131)](_0x3004e0[_0x5a6b85(0xfa)],[_0x251360[_0x5a6b85(0x13b)],_0x251360[_0x5a6b85(0xeb)]])||[];if(_0x901374[_0x5a6b85(0x128)](_0x251360[_0x5a6b85(0x11a)]))return logger[_0x5a6b85(0xf9)](_0x251360[_0x5a6b85(0xf0)]),![];const _0x3f77ce=_0x3004e0['capabilities_']||{},_0x535094=bsSetupHelper['nestedKeyValue'](_0x3f77ce,[_0x251360[_0x5a6b85(0x163)]])||{},_0xe39918=bsSetupHelper[_0x5a6b85(0x131)](_0x535094,[_0x251360[_0x5a6b85(0xeb)]])||[];if(_0xe39918[_0x5a6b85(0x128)](_0x251360[_0x5a6b85(0x11a)]))return logger[_0x5a6b85(0xf9)](_0x251360['auiFo']),![];if(_0x251360[_0x5a6b85(0xe7)](_0xea7727['toLowerCase'](),_0x251360['CapgM'])&&_0x251360[_0x5a6b85(0x1b7)](_0x298996,_0x480eb8))return!![];return logger[_0x5a6b85(0xf9)](_0x5a6b85(0x1a2)+MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY+'.'),![];},exports[a97_0x3a1c2c(0x11e)]=_0x386ed9=>{const _0x42f0d8=a97_0x3a1c2c,_0x46d541={};_0x46d541['BgVgr']=_0x42f0d8(0x146),_0x46d541[_0x42f0d8(0x141)]=function(_0x594ae7,_0x631470){return _0x594ae7||_0x631470;},_0x46d541[_0x42f0d8(0x197)]=_0x42f0d8(0x172);const _0x2cc424=_0x46d541,_0x24d01d=scripts[_0x42f0d8(0x114)];try{const _0x5e0f69=bsSetupHelper[_0x42f0d8(0x126)](process[_0x42f0d8(0x184)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'])||bsSetupHelper[_0x42f0d8(0x126)](process[_0x42f0d8(0x184)][_0x42f0d8(0x1ac)]);if((!bsSetupHelper[_0x42f0d8(0x135)]()||process[_0x42f0d8(0x184)][_0x42f0d8(0x123)])&&_0x5e0f69){const _0x1078d1=_0x386ed9[_0x42f0d8(0x19b)](),_0x41a3ce=_0x1078d1[_0x42f0d8(0x1b0)](_0x2cc424[_0x42f0d8(0x1a7)]),_0x3140b3=_0x2cc424['EsKDE'](_0x41a3ce,{});bsSetupHelper[_0x42f0d8(0x137)](_0x3140b3,_0x24d01d),_0x386ed9[_0x42f0d8(0x19b)]()[_0x42f0d8(0x10f)](_0x2cc424[_0x42f0d8(0x1a7)],_0x3140b3);}else logger[_0x42f0d8(0xf9)](_0x2cc424[_0x42f0d8(0x197)]);}catch(_0x3a2e7d){logger[_0x42f0d8(0x1b2)](_0x42f0d8(0x152)+_0x3a2e7d);}},exports[a97_0x3a1c2c(0x101)]=(_0x5f3d7a=null,_0x22404b=!![],_0x1c4216=[])=>{const _0x56f3be=a97_0x3a1c2c,_0x4b91e4={};_0x4b91e4[_0x56f3be(0x122)]=function(_0x54c337,_0x27e3cd){return _0x54c337==_0x27e3cd;},_0x4b91e4[_0x56f3be(0x15e)]=function(_0x1b8d7d,_0x4bd018){return _0x1b8d7d>_0x4bd018;},_0x4b91e4[_0x56f3be(0x117)]=function(_0x2d72c4,_0x2b7ba7){return _0x2d72c4===_0x2b7ba7;},_0x4b91e4[_0x56f3be(0x116)]=function(_0xc91500,_0x363189){return _0xc91500&&_0x363189;},_0x4b91e4[_0x56f3be(0x147)]=function(_0x3e530b,_0x4d2245){return _0x3e530b===_0x4d2245;};const _0x4585a3=_0x4b91e4;if(_0x4585a3['EDoIY'](process[_0x56f3be(0x184)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'],null))return!![];try{const _0x389c34=JSON[_0x56f3be(0x19a)](process['env'][_0x56f3be(0xf8)]),_0x6445d6=Array['isArray'](_0x389c34[_0x56f3be(0x111)])?_0x389c34[_0x56f3be(0x111)]:[],_0x5a10a6=Array[_0x56f3be(0x180)](_0x389c34[_0x56f3be(0x108)])?_0x389c34[_0x56f3be(0x108)]:[];if(bsSetupHelper[_0x56f3be(0x194)](_0x5f3d7a)){if(_0x4585a3['wSQBM'](_0x1c4216[_0x56f3be(0x16b)],0x0)){const _0x418adf=_0x5a10a6[_0x56f3be(0x1aa)](_0x5ebf61=>_0x1c4216[_0x56f3be(0x128)](_0x5ebf61)),_0x3cbe4c=_0x4585a3[_0x56f3be(0x117)](_0x6445d6['length'],0x0)||_0x6445d6['some'](_0x51b0fb=>_0x1c4216['includes'](_0x51b0fb));return _0x4585a3[_0x56f3be(0x116)](!_0x418adf,_0x3cbe4c);}return!![];}let _0x47e9eb;_0x22404b?_0x47e9eb=_0x5f3d7a[_0x56f3be(0x186)]('/'):_0x47e9eb=_0x5f3d7a;const _0x3f8d95=_0x5a10a6[_0x56f3be(0x1aa)](_0x5733f7=>_0x47e9eb[_0x56f3be(0x128)](_0x5733f7)),_0x24b601=_0x4585a3[_0x56f3be(0x147)](_0x6445d6['length'],0x0)||_0x6445d6[_0x56f3be(0x1aa)](_0x1b2e10=>_0x47e9eb[_0x56f3be(0x128)](_0x1b2e10));return _0x4585a3[_0x56f3be(0x116)](!_0x3f8d95,_0x24b601);}catch(_0x1d50be){logger[_0x56f3be(0x140)](_0x56f3be(0x129)+util[_0x56f3be(0x195)](_0x1d50be));}return![];},exports[a97_0x3a1c2c(0x192)]=_0x3df328=>{const _0x5b0171=a97_0x3a1c2c;let _0x245cc8=![];try{_0x3df328['platforms'][_0x5b0171(0x19d)](_0x34f6f2=>{const _0x6ee7a8=_0x5b0171;if(bsSetupHelper[_0x6ee7a8(0x126)](_0x34f6f2[_0x6ee7a8(0x112)]))return _0x245cc8=!![],!![];});}catch(_0x54936e){logger['debug']('Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20'+_0x54936e);}return _0x245cc8||bsSetupHelper[_0x5b0171(0x126)](_0x3df328[_0x5b0171(0x112)]);},exports['createAccessibilityTestRun']=PerformanceTester['measureWrapper'](a97_0x3a1c2c(0x165),async function(_0x51c145,_0x13bcbf){const _0x40fa2f=a97_0x3a1c2c,_0xe703d6={};_0xe703d6['SsKkb']=_0x40fa2f(0x134),_0xe703d6[_0x40fa2f(0x196)]='playwright',_0xe703d6['YcpjN']=_0x40fa2f(0x158),_0xe703d6[_0x40fa2f(0x10c)]=_0x40fa2f(0x18f),_0xe703d6[_0x40fa2f(0x1a9)]=_0x40fa2f(0x113),_0xe703d6['wYmLo']=_0x40fa2f(0x133),_0xe703d6[_0x40fa2f(0x190)]=function(_0x5b4eeb,_0x543bd1){return _0x5b4eeb===_0x543bd1;},_0xe703d6[_0x40fa2f(0xec)]=_0x40fa2f(0x12c),_0xe703d6[_0x40fa2f(0x168)]=_0x40fa2f(0x102);const _0x470f5c=_0xe703d6,_0x48b68a=bsSetupHelper[_0x40fa2f(0x1a8)](_0x51c145),_0xf5697b=bsSetupHelper[_0x40fa2f(0x16c)](_0x51c145);if(bsSetupHelper[_0x40fa2f(0x194)](_0x48b68a)||bsSetupHelper[_0x40fa2f(0x194)](_0xf5697b))return logger['error'](_0x470f5c[_0x40fa2f(0x124)]),[null,null];try{let _0x39d6b2;bsSetupHelper[_0x40fa2f(0x194)](process[_0x40fa2f(0x184)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])?_0x39d6b2={}:_0x39d6b2=JSON[_0x40fa2f(0x19a)](process[_0x40fa2f(0x184)][_0x40fa2f(0xf8)]);const {name:_0x52852e,version:_0x55925e}=bsSetupHelper[_0x40fa2f(0x14f)](_0x51c145,_0x13bcbf),_0x47f4fa={'projectName':_0x51c145[_0x40fa2f(0x1b5)],'buildName':_0x51c145[_0x40fa2f(0x1a0)]||path[_0x40fa2f(0x13d)](path[_0x40fa2f(0x19e)](process[_0x40fa2f(0x1ba)]())),'startTime':new Date()['toISOString'](),'description':_0x51c145[_0x40fa2f(0xfe)]||'','source':{'frameworkName':_0x13bcbf[_0x40fa2f(0x128)](_0x470f5c[_0x40fa2f(0x196)])?_0x470f5c[_0x40fa2f(0x196)]:_0x13bcbf,'frameworkVersion':bsSetupHelper['getPackageVersion'](_0x13bcbf),'sdkVersion':bsSetupHelper[_0x40fa2f(0x18e)](),'language':_0x470f5c[_0x40fa2f(0x153)],'testFramework':_0x52852e,'testFrameworkVersion':_0x55925e},'settings':_0x39d6b2,'versionControl':await bsSetupHelper[_0x40fa2f(0x17c)](),'ciInfo':bsSetupHelper[_0x40fa2f(0x105)](),'hostInfo':bsSetupHelper[_0x40fa2f(0x145)](),'browserstackAutomation':bsSetupHelper['isBrowserstackInfra']()},_0x90759c={};_0x90759c[_0x40fa2f(0x170)]=_0x48b68a,_0x90759c['pass']=_0xf5697b;const _0x357a70={};_0x357a70['Content-Type']=_0x470f5c['XfsKW'];const _0x5314bf={};_0x5314bf['auth']=_0x90759c,_0x5314bf[_0x40fa2f(0x121)]=_0x357a70;const _0x205bae=_0x5314bf,_0x544676={};_0x544676[_0x40fa2f(0x18a)]=_0x47f4fa,_0x544676[_0x40fa2f(0x1c0)]=!![];const _0x42d05f=Object[_0x40fa2f(0x176)](_0x205bae,_0x544676),_0x1362a9=await bsSetupHelper[_0x40fa2f(0xf6)](_0x470f5c[_0x40fa2f(0x1a9)],_0x470f5c[_0x40fa2f(0x125)],_0x42d05f,_0x51c145,API_URL);let _0x2ef3d3=process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'];return _0x2ef3d3?_0x2ef3d3=JSON[_0x40fa2f(0x19a)](process[_0x40fa2f(0x184)][_0x40fa2f(0xf8)]):_0x2ef3d3={},scripts['parseFromJson'](_0x1362a9['data']['data']),scripts[_0x40fa2f(0x103)](),_0x2ef3d3[_0x40fa2f(0x18c)]=_0x1362a9[_0x40fa2f(0x156)][_0x40fa2f(0x156)][_0x40fa2f(0x18c)],process[_0x40fa2f(0x184)][_0x40fa2f(0xf8)]=JSON['stringify'](_0x2ef3d3),[_0x1362a9[_0x40fa2f(0x156)][_0x40fa2f(0x156)][_0x40fa2f(0x13f)],_0x1362a9[_0x40fa2f(0x156)][_0x40fa2f(0x156)]['id']];}catch(_0x54a1f5){if(_0x54a1f5[_0x40fa2f(0xe5)])logger['error'](_0x40fa2f(0x1a5)+_0x54a1f5['response']['status']+'\x20'+_0x54a1f5[_0x40fa2f(0xe5)][_0x40fa2f(0xe6)]+'\x20'+JSON[_0x40fa2f(0x15a)](_0x54a1f5[_0x40fa2f(0xe5)][_0x40fa2f(0x156)]));else{if(_0x470f5c[_0x40fa2f(0x190)](_0x54a1f5['message'],_0x470f5c[_0x40fa2f(0xec)])){logger[_0x40fa2f(0x1b2)](_0x40fa2f(0x1a5)+(_0x54a1f5[_0x40fa2f(0x136)]||_0x54a1f5[_0x40fa2f(0x17e)]));for(const _0x483655 of _0x54a1f5[_0x40fa2f(0x173)]){logger['error'](_0x483655[_0x40fa2f(0x136)]);}process[_0x40fa2f(0x184)][_0x40fa2f(0x1b8)]=_0x470f5c['PkeqW'],process[_0x40fa2f(0x184)][_0x40fa2f(0x1ac)]=_0x470f5c[_0x40fa2f(0x168)];}else logger[_0x40fa2f(0x1b2)](_0x40fa2f(0x1a5)+(_0x54a1f5['message']||_0x54a1f5['stack']));}return[null,null];}}),exports[a97_0x3a1c2c(0x10b)]=PerformanceTester[a97_0x3a1c2c(0xfb)]('a11y:stop',async function(_0x4debbf){const _0x4a6949=a97_0x3a1c2c,_0x1bd37b={};_0x1bd37b[_0x4a6949(0x18b)]=function(_0x2e95cc,_0xe379f2){return _0x2e95cc!==_0xe379f2;},_0x1bd37b[_0x4a6949(0x119)]=_0x4a6949(0x1a4),_0x1bd37b[_0x4a6949(0x109)]=_0x4a6949(0x1b2),_0x1bd37b[_0x4a6949(0x171)]='Build\x20creation\x20had\x20failed.',_0x1bd37b[_0x4a6949(0x185)]=_0x4a6949(0x18f),_0x1bd37b[_0x4a6949(0x11f)]=_0x4a6949(0x142),_0x1bd37b[_0x4a6949(0x1b9)]=_0x4a6949(0xe4),_0x1bd37b['PqKsR']=function(_0x3e4794,_0x5c2729){return _0x3e4794+_0x5c2729;},_0x1bd37b[_0x4a6949(0x18d)]=_0x4a6949(0x1a3),_0x1bd37b[_0x4a6949(0x189)]=_0x4a6949(0x107);const _0x265a33=_0x1bd37b;if(bsSetupHelper[_0x4a6949(0x194)](process[_0x4a6949(0x184)]['BS_A11Y_JWT'])||_0x265a33['BoJyK'](typeof process['env'][_0x4a6949(0x1b1)],_0x265a33['MpEKq'])){const _0x454392={};return _0x454392['status']=_0x265a33[_0x4a6949(0x109)],_0x454392['message']=_0x265a33['kdxaz'],_0x454392;}const _0x430b3b={'endTime':new Date()[_0x4a6949(0x110)]()},_0x3c9972={};_0x3c9972[_0x4a6949(0x17b)]=_0x4a6949(0x177)+process['env'][_0x4a6949(0x1b1)],_0x3c9972[_0x4a6949(0x15c)]=_0x265a33['pVCEJ'];const _0x426b50={};_0x426b50['headers']=_0x3c9972;const _0x2b7cfa=_0x426b50,_0x4b5cac={};_0x4b5cac[_0x4a6949(0x18a)]=_0x430b3b,_0x4b5cac['auth']=null,_0x4b5cac[_0x4a6949(0x1c0)]=!![];const _0x4e6b33=Object[_0x4a6949(0x176)](_0x2b7cfa,_0x4b5cac);try{const _0x1fbcf2=await bsSetupHelper[_0x4a6949(0xf6)](_0x265a33['gfKCF'],_0x265a33[_0x4a6949(0x1b9)],_0x4e6b33,_0x4debbf,API_URL);if(_0x1fbcf2[_0x4a6949(0x156)]['error'])throw new Error(_0x265a33[_0x4a6949(0x198)](_0x265a33[_0x4a6949(0x18d)],_0x1fbcf2[_0x4a6949(0x156)][_0x4a6949(0x1b2)]));else{logger[_0x4a6949(0x14a)](_0x4a6949(0xf7)+new Date()[_0x4a6949(0x110)]());const _0x5d168e={};return _0x5d168e[_0x4a6949(0x159)]=_0x265a33[_0x4a6949(0x189)],_0x5d168e['message']='',_0x5d168e;}}catch(_0x389c3d){_0x389c3d['response']?logger['error'](_0x4a6949(0x1a6)+_0x389c3d[_0x4a6949(0xe5)][_0x4a6949(0x159)]+'\x20'+_0x389c3d[_0x4a6949(0xe5)][_0x4a6949(0xe6)]+'\x20'+JSON[_0x4a6949(0x15a)](_0x389c3d[_0x4a6949(0xe5)][_0x4a6949(0x156)])):logger[_0x4a6949(0x1b2)](_0x4a6949(0x1a6)+(_0x389c3d['message']||util[_0x4a6949(0x195)](_0x389c3d)));const _0x37c0a3={};return _0x37c0a3['status']=_0x265a33[_0x4a6949(0x109)],_0x37c0a3['message']=_0x389c3d[_0x4a6949(0x136)]||(_0x389c3d[_0x4a6949(0xe5)]?_0x389c3d[_0x4a6949(0xe5)][_0x4a6949(0x159)]+':'+_0x389c3d[_0x4a6949(0xe5)]['statusText']:_0x389c3d),_0x37c0a3;}}),exports[a97_0x3a1c2c(0x1b3)]=async(_0x3f8c9d,_0x43036c=null)=>{const _0x37342f=a97_0x3a1c2c,_0x4de95f={};_0x4de95f['WpLRu']='isAccessibilityPlatform',_0x4de95f[_0x37342f(0x149)]=_0x37342f(0xe3),_0x4de95f[_0x37342f(0x14c)]=_0x37342f(0x174);const _0x5535e3=_0x4de95f;if(!this[_0x37342f(0x12b)]()||!globals['getGlobal'](_0x5535e3[_0x37342f(0x1bf)])||!globals[_0x37342f(0x115)](_0x5535e3[_0x37342f(0x149)])){logger['warn'](_0x5535e3[_0x37342f(0x14c)]);return;}return await PerformanceTester[_0x37342f(0xfb)](PerformanceA11yEvents[_0x37342f(0x19f)],async()=>{const _0x42d0b6=_0x37342f,_0x490789={};_0x490789[_0x42d0b6(0x169)]=_0x43036c||global[_0x42d0b6(0xe8)];const _0x56937c=util[_0x42d0b6(0x195)](await _0x3f8c9d[_0x42d0b6(0x16f)](scripts[_0x42d0b6(0x1b3)],_0x490789));return logger[_0x42d0b6(0x140)]('Performed\x20scan\x20with\x20result:\x20'+_0x56937c),_0x56937c;},{'command':_0x43036c})();},exports['getAccessibilityResults']=async(_0x77bf7b,_0xa24ce2)=>{const _0x51af57=a97_0x3a1c2c,_0x30e8b7={};_0x30e8b7[_0x51af57(0x161)]=_0x51af57(0x12d),_0x30e8b7[_0x51af57(0x13a)]=_0x51af57(0x11d),_0x30e8b7[_0x51af57(0xff)]='bstackA11yShouldScan',_0x30e8b7[_0x51af57(0x10a)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.',_0x30e8b7[_0x51af57(0x11b)]=_0x51af57(0x178),_0x30e8b7[_0x51af57(0x14e)]=_0x51af57(0x1be);const _0x5730f7=_0x30e8b7;if(!this[_0x51af57(0x12b)]()||!globals[_0x51af57(0x115)](_0x5730f7['jQPgv'])||!globals[_0x51af57(0x115)](_0x5730f7['EqBbU']))return logger[_0x51af57(0xf9)](_0x5730f7['gVzNu']),[];try{return await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x51af57(0x19f)],async()=>{const _0x520e9c=_0x51af57;logger[_0x520e9c(0x140)](_0x5730f7[_0x520e9c(0x161)]);const _0x325a02={};_0x325a02['method']=_0xa24ce2[_0x520e9c(0xe8)],logger[_0x520e9c(0x140)](util[_0x520e9c(0x195)](await _0x77bf7b['executeAsyncScript'](scripts[_0x520e9c(0x1b3)],_0x325a02)));},{'command':_0x5730f7[_0x51af57(0x11b)]})(),await PerformanceTester[_0x51af57(0xfb)](PerformanceA11yEvents[_0x51af57(0x1b4)],async()=>{const _0x545546=_0x51af57,_0xae8229=await _0x77bf7b['executeAsyncScript'](scripts[_0x545546(0xf5)]);return _0xae8229;})();}catch{return logger[_0x51af57(0x1b2)](_0x5730f7[_0x51af57(0x14e)]),[];}},exports[a97_0x3a1c2c(0x15d)]=async(_0x30f449,_0x307d81)=>{const _0x1f9541=a97_0x3a1c2c,_0x2d10d1={};_0x2d10d1[_0x1f9541(0x16e)]=_0x1f9541(0xf2),_0x2d10d1[_0x1f9541(0xee)]='isAccessibilityPlatform',_0x2d10d1[_0x1f9541(0x14b)]='bstackA11yShouldScan',_0x2d10d1[_0x1f9541(0x150)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.',_0x2d10d1['diJsu']='getAccessibilityResultsSummary',_0x2d10d1[_0x1f9541(0x193)]=_0x1f9541(0x191);const _0x312ff0=_0x2d10d1;if(!this[_0x1f9541(0x12b)]()||!globals['getGlobal'](_0x312ff0[_0x1f9541(0xee)])||!globals['getGlobal'](_0x312ff0['FScRK']))return logger['warn'](_0x312ff0['NklVD']),{};try{return await PerformanceTester[_0x1f9541(0xfb)](PerformanceA11yEvents[_0x1f9541(0x19f)],async()=>{const _0x25b8b3=_0x1f9541;logger[_0x25b8b3(0x140)](_0x312ff0[_0x25b8b3(0x16e)]);const _0x21c851={};_0x21c851[_0x25b8b3(0x169)]=_0x307d81[_0x25b8b3(0xe8)],logger[_0x25b8b3(0x140)](util[_0x25b8b3(0x195)](await _0x30f449[_0x25b8b3(0x16f)](scripts['performScan'],_0x21c851)));},{'command':_0x312ff0[_0x1f9541(0x188)]})(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x1f9541(0x100)],async()=>{const _0x4d5a4d=_0x1f9541,_0x2baa54=await _0x30f449[_0x4d5a4d(0x16f)](scripts[_0x4d5a4d(0xfc)]);return _0x2baa54;})();}catch{return logger[_0x1f9541(0x1b2)](_0x312ff0['IIiXp']),{};}},exports[a97_0x3a1c2c(0x19c)]=_0xee89e9=>{const _0x48659f=a97_0x3a1c2c,_0x71d696={};_0x71d696[_0x48659f(0x11c)]=function(_0x153808,_0x5d4ac9){return _0x153808===_0x5d4ac9;},_0x71d696['AZqaX']=_0x48659f(0x1a4),_0x71d696[_0x48659f(0x132)]=_0x48659f(0x162);const _0x564931=_0x71d696;if(_0xee89e9&&_0xee89e9[_0x48659f(0x12a)]&&_0x564931[_0x48659f(0x11c)](typeof _0xee89e9[_0x48659f(0x12a)],_0x564931[_0x48659f(0x1bd)]))return _0xee89e9[_0x48659f(0x12a)][_0x48659f(0x128)](_0x564931['pGyPd']);return![];};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a98_0x8e9481=a98_0x1f68;(function(_0xa8e7a2,_0x59d394){const _0x1faf66=a98_0x1f68,_0xb6294=_0xa8e7a2();while(!![]){try{const _0x54ca3c=-parseInt(_0x1faf66(0x13b))/0x1*(parseInt(_0x1faf66(0x160))/0x2)+parseInt(_0x1faf66(0x153))/0x3*(-parseInt(_0x1faf66(0x163))/0x4)+-parseInt(_0x1faf66(0x15b))/0x5*(parseInt(_0x1faf66(0x15e))/0x6)+parseInt(_0x1faf66(0x15d))/0x7+parseInt(_0x1faf66(0x151))/0x8*(-parseInt(_0x1faf66(0x168))/0x9)+-parseInt(_0x1faf66(0x142))/0xa+parseInt(_0x1faf66(0x16f))/0xb*(parseInt(_0x1faf66(0x13c))/0xc);if(_0x54ca3c===_0x59d394)break;else _0xb6294['push'](_0xb6294['shift']());}catch(_0x71779){_0xb6294['push'](_0xb6294['shift']());}}}(a98_0x3d74,0xf166b));function a98_0x3d74(){const _0x76241e=['length','getMethod','JABUc','RRCve','BijKE','5nGynlX','stringify','1506785mXqWFM','2025798vguolh','commandsToWrap','2XQkQhJ','homedir','getName','16dKSbfz','fromJson','saveResults','GPUwN','shouldWrapCommand','1679211sbHztf','.browserstack','map','getResults','path','browserstackFolderPath','split','168938DqXfRf','commands','winstonLogger','aMVFp','kqWqd','saveTestResults','OsIks','scan','ESnQH','1109449iYBJLE','4080vThsDN','OXHdg','5|3|1|4|0|6|2','commands.json','toJson','getResultsSummary','10751360vdCFYT','exports','../../helpers/logger','getClass','../helper','parseFromJson','findIndex','yTCeG','OLVWI','WcdKA','ChromeExtension','PxRbh','performScan','getLibrary','getCommand','48muZyVu','commandsPath','604878wggqyC','scripts','mkdirSync'];a98_0x3d74=function(){return _0x76241e;};return a98_0x3d74();}function a98_0x1f68(_0x285aad,_0x81b11a){const _0x3d742d=a98_0x3d74();return a98_0x1f68=function(_0x1f688e,_0x3446a6){_0x1f688e=_0x1f688e-0x134;let _0x4a9af4=_0x3d742d[_0x1f688e];return _0x4a9af4;},a98_0x1f68(_0x285aad,_0x81b11a);}const path=require(a98_0x8e9481(0x16c)),fs=require('fs'),logger=require(a98_0x8e9481(0x144))[a98_0x8e9481(0x134)],helper=require(a98_0x8e9481(0x146));class Scripts{constructor(){const _0x140217=a98_0x8e9481,_0x5c587f={};_0x5c587f[_0x140217(0x13a)]=_0x140217(0x13e),_0x5c587f[_0x140217(0x14d)]=_0x140217(0x169),_0x5c587f['yTCeG']=_0x140217(0x13f);const _0x14cd66=_0x5c587f,_0x139004=_0x14cd66[_0x140217(0x13a)][_0x140217(0x16e)]('|');let _0x3600be=0x0;while(!![]){switch(_0x139004[_0x3600be++]){case'0':this[_0x140217(0x16d)]=path['join'](helper[_0x140217(0x161)](),_0x14cd66[_0x140217(0x14d)]);continue;case'1':this['getResultsSummary']=null;continue;case'2':this[_0x140217(0x164)]();continue;case'3':this[_0x140217(0x16b)]=null;continue;case'4':this[_0x140217(0x137)]=null;continue;case'5':this['performScan']=null;continue;case'6':this[_0x140217(0x152)]=path['join'](this[_0x140217(0x16d)],_0x14cd66[_0x140217(0x149)]);continue;}break;}}[a98_0x8e9481(0x147)](_0x2536ff){const _0x53db8b=a98_0x8e9481;_0x2536ff[_0x53db8b(0x154)]&&(this[_0x53db8b(0x14e)]=_0x2536ff['scripts'][_0x53db8b(0x139)],this['getResults']=_0x2536ff[_0x53db8b(0x154)][_0x53db8b(0x16b)],this[_0x53db8b(0x141)]=_0x2536ff['scripts'][_0x53db8b(0x141)],this[_0x53db8b(0x137)]=_0x2536ff[_0x53db8b(0x154)][_0x53db8b(0x165)]),this['commandsToWrap']=_0x2536ff[_0x53db8b(0x170)],this[_0x53db8b(0x14c)]=_0x2536ff['nonBStackInfraA11yChromeOptions'];}['parseFromProto'](_0x1edbe6,_0x239932){const _0x1742ae=a98_0x8e9481,_0x421769={};_0x421769[_0x1742ae(0x14b)]=function(_0x36d83b,_0x493dfb){return _0x36d83b>_0x493dfb;},_0x421769[_0x1742ae(0x159)]=function(_0x5d5788,_0x22b126){return _0x5d5788===_0x22b126;},_0x421769['OsIks']=_0x1742ae(0x139),_0x421769[_0x1742ae(0x166)]=function(_0x1c84f7,_0x341661){return _0x1c84f7===_0x341661;},_0x421769['kqWqd']='getResults',_0x421769[_0x1742ae(0x158)]=function(_0x311f9c,_0x18bb4e){return _0x311f9c===_0x18bb4e;},_0x421769[_0x1742ae(0x135)]=_0x1742ae(0x141),_0x421769[_0x1742ae(0x14a)]=_0x1742ae(0x165);const _0x3221af=_0x421769;if(_0x1edbe6&&_0x3221af[_0x1742ae(0x14b)](_0x1edbe6[_0x1742ae(0x156)],0x0))for(const _0x20fcb3 of _0x1edbe6){if(_0x3221af['RRCve'](_0x20fcb3[_0x1742ae(0x162)](),_0x3221af[_0x1742ae(0x138)]))this[_0x1742ae(0x14e)]=_0x20fcb3[_0x1742ae(0x150)]();else{if(_0x3221af['GPUwN'](_0x20fcb3[_0x1742ae(0x162)](),_0x3221af[_0x1742ae(0x136)]))this['getResults']=_0x20fcb3['getCommand']();else{if(_0x3221af[_0x1742ae(0x158)](_0x20fcb3['getName'](),_0x3221af[_0x1742ae(0x135)]))this['getResultsSummary']=_0x20fcb3[_0x1742ae(0x150)]();else _0x3221af['GPUwN'](_0x20fcb3[_0x1742ae(0x162)](),_0x3221af[_0x1742ae(0x14a)])&&(this[_0x1742ae(0x137)]=_0x20fcb3['getCommand']());}}}_0x239932&&_0x3221af[_0x1742ae(0x14b)](_0x239932[_0x1742ae(0x156)],0x0)&&(this[_0x1742ae(0x15f)]=_0x239932[_0x1742ae(0x16a)](_0x1fb0d9=>{const _0x1fa336=_0x1742ae;return{'name':_0x1fb0d9[_0x1fa336(0x162)](),'method':_0x1fb0d9[_0x1fa336(0x157)](),'library':_0x1fb0d9[_0x1fa336(0x14f)](),'module':_0x1fb0d9['getModule'](),'class':_0x1fb0d9[_0x1fa336(0x145)]()};}));}[a98_0x8e9481(0x167)](_0xbae48){const _0x273ad9=a98_0x8e9481,_0x146385={};_0x146385[_0x273ad9(0x13d)]=function(_0x2dbd2a,_0x23acaa){return _0x2dbd2a!==_0x23acaa;};const _0x427db6=_0x146385;try{return _0x427db6[_0x273ad9(0x13d)](this[_0x273ad9(0x15f)][_0x273ad9(0x148)](_0x5eead7=>_0x5eead7['name']['toLowerCase']()===_0xbae48['toLowerCase']()),-0x1);}catch(_0x3097c1){logger['debug']('Exception\x20in\x20browserstack\x20accessibility\x20automation\x20with\x20error:\x20'+_0x3097c1);}return![];}[a98_0x8e9481(0x140)](){const _0x40fa26=a98_0x8e9481;!fs['existsSync'](this[_0x40fa26(0x16d)])&&fs[_0x40fa26(0x155)](this['browserstackFolderPath']),fs['writeFileSync'](this[_0x40fa26(0x152)],JSON[_0x40fa26(0x15c)]({'scripts':{'scan':this[_0x40fa26(0x14e)],'getResults':this[_0x40fa26(0x16b)],'getResultsSummary':this['getResultsSummary'],'saveResults':this[_0x40fa26(0x137)]},'commands':this[_0x40fa26(0x15f)],'nonBStackInfraA11yChromeOptions':this['ChromeExtension']}));}[a98_0x8e9481(0x164)](){const _0x1c1fe5=a98_0x8e9481,_0x209177={'BijKE':function(_0x37703a,_0x37cabb){return _0x37703a(_0x37cabb);}};fs['existsSync'](this[_0x1c1fe5(0x152)])&&this[_0x1c1fe5(0x147)](_0x209177[_0x1c1fe5(0x15a)](require,this[_0x1c1fe5(0x152)]));}}module[a98_0x8e9481(0x143)]=new Scripts();
|