browserstack-node-sdk 1.49.1 → 1.49.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
|
-
function a94_0x101b(){const _0x45a517=['tcgAuthConfig','kJQMD','envConfig','length','init','./performance/performance-tester','measures','JwLlF','getLocalConfig','prevy','rYrtO','?caps=','ecVle','allocateHub','2|4|0|1|3','91UbGQxy','../bin/utils/apiUtilityMethods','platforms','OYpoZ','browserStackLocalOptions','XKOPQ','stopLocalBinary','LpQsn','JOkqg','stopBrowserstackLocal','eQFXC','HUB\x20URL\x20SET\x20TO\x20TurboScale\x20HUB\x20-\x20','isUndefined','isTurboScaleSession','TWefw','783435WcYqnJ','Please\x20upgrade\x20Browserstack\x20SDK\x20to\x20the\x20latest\x20version\x20to\x20use\x20the\x20self-healing\x20feature.','TCG_AUTH_FAILURE','setLogDir','Something\x20went\x20wrong.\x20Disabling\x20healing\x20for\x20this\x20session.\x20Please\x20try\x20again\x20later.','Could\x20not\x20start\x20percy,\x20check\x20percy\x20logs\x20for\x20info.','Error\x20occured\x20while\x20stopping\x20percy','YANNw','./performance/constants','WygGt','ToAgd','zIKTD','bstackConfig','stopPercy','writeFileSync','isTrue','SAygV','info','GKWzM','BrowserstackHealing.init','playwrightUrl','setupPercy','integrations','exitHandler','TCG_URL','../../package.json','killSignal','IrCDc','Percy\x20stopped','HOGzi','setupTcgConfigFile','LBFUp','mCKQQ','parallelsPerPlatform','toString','aocZm','turboScaleOptions','nyShR','INanh','turboScaleUrl','DvwmT','jPtxT','getFinalCaps','version','status','unhandledErrors','getCentralUser','ALVCD','default','proxyUrl','platform','VdEzg','../hubAllocationMethods','__isPlaywrightInstalled','xxixj','startPercy','../bin/utils/constants','fzYbL','setCredentialsFromYmlConfig','rGmXA','percy','INVALID_INIT_RESP_WITH_USER_IMPACT','getProxyConfigForTcg','isLTSSession','intExitHandler','./testhub/utils','4.5.0','uJJfz','oiZpd','FJycP','1782064YIMuQc','../bin/utils/clientTroubleshootingService','central_scanner','selfHeal','sdkRunId','bCmQo','../bin/v2/modules/loadTestModule','Percy\x20started\x20successfully','winstonLogger','OxUXw','userName','beforeExit','Data\x20sent\x20successfully\x20to\x20','errorMessage','warn','\x20with\x20error\x20','startMonitoring','kTfRM','path','BROWSERSTACK_PERCY','prlYQ','SIGTERM','localOptions','custom-repeater','accessKey','Healing\x20is\x20not\x20enabled\x20for\x20your\x20group,\x20please\x20contact\x20the\x20admin','SIGINT','ENJmV','Local\x20binary\x20started\x20successfully','reportFinalDetectionState','BDGTT','config','hubUrl','yQfsI','AUTOLOGCAPTURE_NOTIFICATION','zVVbs','testContextOptions','Error\x20in\x20setting\x20up\x20tcg\x20authconfig.\x20Error:\x20','setUpHubUrl','gWvOd','369NQszuq','checkStopLocalBinaryOnExit','aiHeal:tcgAuth','requireSeleniumWebdriverCheck','doEMD','setCLICaps','DpPFS','true','7|2|1|6|0|4|3|5','skipBinaryInitialisation','UuRPo','Error\x20in\x20sending\x20testhub\x20stop:\x20','BrowserstackHealing.init\x20method\x20timed\x20out','setupKeepAlive','BROWSERSTACK_TURBOSCALE','getLocalIdentifier','skipSessionStatus','configPath','isRunning','UIleb','turboScale','Local\x20binary\x20not\x20started\x20as\x20skipBinaryInitialisation\x20is\x20enabled','codeceptjs','ZqPeX','proxyConfig','Calling\x20Build\x20Stop\x20from\x20ExitHandler','SDK\x20run\x20started\x20with\x20id:\x20','close','isAuthenticated','QXlfU','isHealingEnabled','join','forceLocal','UkbsA','Shutdown\x20triggered\x20by\x20','localIdentifier','debug','measureWrapper','unhandledRejection','framework','blLia','Bzsfc','captureError','FRAMEWORK','10|7|22|9|6|17|16|15|8|18|21|23|1|2|5|11|14|20|4|12|3|19|13|0','getUserName','31028ERRkZj','bind','AsafS','Error\x20in\x20percy\x20setup\x20','getInstance','skipSessionName','events.json','./setKeepAlive','Failed\x20to\x20send\x20data\x20to\x20','setProxySettings','HUB_MANAGEMENT','DgoQm','compareVersions','fireFunnelTestEvent','SZiDO','handled','LTS\x20session\x20enabled\x20for\x20this\x20run.\x20SDK\x20run\x20id:\x20','getHubUrl','split','useW3C','stringify','PnBsM','rTIRj','initialize','UaHcm','format','setupTCGAuth','url','preInitialize','parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','error','userName\x20or\x20accessKey\x20is\x20not\x20defined','uncaughtException','LUwJj','stop','./utilities','turboScaleGridDetails','973774HcbSHP','setupBrowserstackLocal','env','SIGHUP','end','Error\x20in\x20writing\x20events\x20to\x20file\x20','sanitizeCaps','4817133hjbdQC','isTrialGrid','setBrowserstackInfraFromConfig','Authentication\x20Failed.\x20Disabling\x20Healing\x20for\x20this\x20session.','SDK_CLEANUP','FofcD','kUZLU','normalizeTestReportingEnvVars','generateLocalIdentifier','assign','AI_INIT_SUCCESSFUL','cliConfig','../ai-sdk-node/bundle','browserstackLocal','451345IeGryK','../bin/v2/browserstackCLI','wqBGU','SIGBREAK','tKlnY','223302GFdZgC','TCG_DOWN','./logger','race','UPGRADE_REQUIRED','constructor','selenium-webdriver','viSki','WUtFg','TJFGg','getConfigPath','getPackageVersion','handleExceptions','message','isEnabled','Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20','sendToEDS'];a94_0x101b=function(){return _0x45a517;};return a94_0x101b();}const a94_0x45d619=a94_0x2c65;(function(_0xa7e868,_0x1bfb47){const _0x33ef2a=a94_0x2c65,_0x5157db=_0xa7e868();while(!![]){try{const _0x5748f5=-parseInt(_0x33ef2a(0xe3))/0x1+parseInt(_0x33ef2a(0xce))/0x2+-parseInt(_0x33ef2a(0x185))/0x3*(-parseInt(_0x33ef2a(0x1b3))/0x4)+-parseInt(_0x33ef2a(0x117))/0x5+parseInt(_0x33ef2a(0xe8))/0x6*(-parseInt(_0x33ef2a(0x108))/0x7)+-parseInt(_0x33ef2a(0x15d))/0x8+parseInt(_0x33ef2a(0xd5))/0x9;if(_0x5748f5===_0x1bfb47)break;else _0x5157db['push'](_0x5157db['shift']());}catch(_0xee59b2){_0x5157db['push'](_0x5157db['shift']());}}}(a94_0x101b,0xa1878));const util=require('util'),os=require('os'),path=require(a94_0x45d619(0x16f)),{v4:uuidv4}=require('uuid'),fs=require('fs'),constants=require(a94_0x45d619(0x14f)),logger=require(a94_0x45d619(0xea))[a94_0x45d619(0x165)],fileLogger=require('./logger')['fileLogger'],{getLogDir}=require(a94_0x45d619(0xea)),helper=require('./helper'),utilities=require(a94_0x45d619(0xcc)),percyHelper=require('./percy/utils'),hubAllocator=require(a94_0x45d619(0x14b)),PerformanceTester=require(a94_0x45d619(0xfe)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents}=require(a94_0x45d619(0x11f)),{setPercyFlag}=require(a94_0x45d619(0x158)),TestHubHandler=require('./testhub/testhubHandler'),timeoutPromise=require('./timeoutPromise'),BrowserstackCLI=require(a94_0x45d619(0xe4)),LoadTestModule=require(a94_0x45d619(0x163)),{getEdsInstrumentationAPIUrl}=require(a94_0x45d619(0x109)),ClientTroubleShootingService=require(a94_0x45d619(0x15e));function a94_0x2c65(_0xe15ba2,_0x3fa494){const _0x101bc2=a94_0x101b();return a94_0x2c65=function(_0x2c6519,_0x5c6f6a){_0x2c6519=_0x2c6519-0xc4;let _0x5d333f=_0x101bc2[_0x2c6519];return _0x5d333f;},a94_0x2c65(_0xe15ba2,_0x3fa494);}class BrowserStackSetup{constructor(_0x5ec8cf,_0x3c1460){const _0x271c0c=a94_0x45d619,_0x8d4d6e={'kJQMD':_0x271c0c(0x1b1),'MGXpX':'No\x20config\x20provided.','JoKpe':function(_0x53e393){return _0x53e393();}},_0x22f05d=_0x8d4d6e[_0x271c0c(0xfa)][_0x271c0c(0x1c5)]('|');let _0x32e6c8=0x0;while(!![]){switch(_0x22f05d[_0x32e6c8++]){case'0':PerformanceTester[_0x271c0c(0x16d)]();continue;case'1':this['framework']=_0x3c1460;continue;case'2':global[_0x271c0c(0x1ac)]=_0x3c1460;continue;case'3':helper[_0x271c0c(0x141)](this[_0x271c0c(0x17c)],this[_0x271c0c(0xe0)],this['envConfig']);continue;case'4':this[_0x271c0c(0x17c)][_0x271c0c(0x181)][_0x271c0c(0x195)]=!helper['isBrowserstackInfra']()||helper[_0x271c0c(0x126)](this['config']['testContextOptions'][_0x271c0c(0x195)]);continue;case'5':if(helper[_0x271c0c(0x114)](this[_0x271c0c(0x17c)]))throw new Error(_0x8d4d6e['MGXpX']);continue;case'6':this[_0x271c0c(0x153)]=null;continue;case'7':helper[_0x271c0c(0xdc)]();continue;case'8':this[_0x271c0c(0x17c)][_0x271c0c(0x10a)]=this[_0x271c0c(0x17c)][_0x271c0c(0x10a)]||[];continue;case'9':this[_0x271c0c(0xe2)]=null;continue;case'10':this[_0x271c0c(0x144)]=[];continue;case'11':if(this[_0x271c0c(0x17c)][_0x271c0c(0xc7)])throw new Error(this['config'][_0x271c0c(0xc7)]);continue;case'12':this[_0x271c0c(0x17c)][_0x271c0c(0x181)][_0x271c0c(0x1b8)]=!helper['isBrowserstackInfra']()||helper[_0x271c0c(0x126)](this['config']['testContextOptions'][_0x271c0c(0x1b8)]);continue;case'13':helper['setLogLevel'](this[_0x271c0c(0x17c)],this[_0x271c0c(0xe0)],this[_0x271c0c(0xfb)]);continue;case'14':helper[_0x271c0c(0xd7)](this[_0x271c0c(0x17c)],this[_0x271c0c(0xe0)]);continue;case'15':this[_0x271c0c(0xe0)]=helper[_0x271c0c(0x18a)](_0x5ec8cf);continue;case'16':this[_0x271c0c(0x17c)]=helper['readConfig'](this[_0x271c0c(0x196)]);continue;case'17':this[_0x271c0c(0x196)]=helper[_0x271c0c(0xf2)](_0x5ec8cf);continue;case'18':this[_0x271c0c(0x17c)][_0x271c0c(0x181)]=this[_0x271c0c(0x17c)][_0x271c0c(0x181)]||{};continue;case'19':helper[_0x271c0c(0x11a)](this['config']);continue;case'20':helper[_0x271c0c(0x151)](this['config']);continue;case'21':this[_0x271c0c(0x16a)]={};continue;case'22':this[_0x271c0c(0xfb)]=helper['setEnvCaps']();continue;case'23':this[_0x271c0c(0x161)]=_0x8d4d6e['JoKpe'](uuidv4);continue;}break;}}['preInitialize'](_0x5cab41){const _0x57c7d2=a94_0x45d619,_0x26c3c9={'UuRPo':_0x57c7d2(0xc8),'tKlnY':function(_0x1dc720,_0x2e17c2){return _0x1dc720===_0x2e17c2;},'ecVle':_0x57c7d2(0x12d),'aocZm':'SDKTestAttempted','viSki':function(_0x3eea8f,_0x1359d1){return _0x3eea8f<_0x1359d1;},'FofcD':function(_0x786fc3,_0x4e4e4c){return _0x786fc3(_0x4e4e4c);},'wqBGU':_0x57c7d2(0xee),'MXRRA':function(_0x2af42f,_0x3a3295){return _0x2af42f===_0x3a3295;},'LBFUp':_0x57c7d2(0x159),'OxUXw':'Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','ENJmV':_0x57c7d2(0xc6),'jPtxT':_0x57c7d2(0x172),'QXlfU':_0x57c7d2(0x177),'uJJfz':_0x57c7d2(0xd1),'ALVCD':function(_0x1db749,_0x3933c8){return _0x1db749!==_0x3933c8;},'xxixj':'win32','bCmQo':'SIGABRT','eQFXC':'SIGQUIT','oiZpd':_0x57c7d2(0xe6),'rTIRj':'beforeExit'},_0xa382f8=this[_0x57c7d2(0x1ac)];global[_0x57c7d2(0x17c)]=this[_0x57c7d2(0x17c)],helper[_0x57c7d2(0xd4)](this[_0x57c7d2(0x17c)]),this['killSignal']=null,global[_0x57c7d2(0x161)]=this[_0x57c7d2(0x161)],logger[_0x57c7d2(0x128)](_0x57c7d2(0x19f)+this['sdkRunId']),!this[_0x57c7d2(0x17c)][_0x57c7d2(0x10c)]&&(this['config'][_0x57c7d2(0x10c)]=this['config'][_0x57c7d2(0x173)]||{});if(helper['isUndefined'](helper[_0x57c7d2(0x1b2)](this[_0x57c7d2(0x17c)]))||helper['isUndefined'](helper['getAccessKey'](this['config'])))throw new Error(_0x26c3c9[_0x57c7d2(0x18f)]);helper[_0x57c7d2(0x101)](this[_0x57c7d2(0x17c)])&&helper[_0x57c7d2(0x114)](helper[_0x57c7d2(0x194)](this[_0x57c7d2(0x17c)]))&&(!helper[_0x57c7d2(0x114)](this[_0x57c7d2(0x17c)]['browserStackLocalOptions'])&&_0x26c3c9[_0x57c7d2(0xe7)](this['config'][_0x57c7d2(0x10c)][_0x57c7d2(0xed)],Object)?!helper[_0x57c7d2(0x126)](this[_0x57c7d2(0x17c)][_0x57c7d2(0x10c)][_0x57c7d2(0x18e)])&&(this[_0x57c7d2(0x17c)][_0x57c7d2(0x10c)][_0x57c7d2(0x1a8)]=helper[_0x57c7d2(0xdd)]()):this[_0x57c7d2(0x17c)][_0x57c7d2(0x10c)]={'localIdentifier':helper[_0x57c7d2(0xdd)]()});this[_0x57c7d2(0x17c)][_0x57c7d2(0x10c)]['skipBinaryInitialisation']=helper[_0x57c7d2(0x126)](this['config']['browserStackLocalOptions'][_0x57c7d2(0x18e)]),helper['setHandlePWError'](this[_0x57c7d2(0x17c)]);if(_0x26c3c9[_0x57c7d2(0xe7)](_0xa382f8,_0x26c3c9[_0x57c7d2(0x105)]))return;this[_0x57c7d2(0xf4)]();process['env'][_0x57c7d2(0x193)]&&(this[_0x57c7d2(0x17c)][_0x57c7d2(0x199)]=helper[_0x57c7d2(0x126)](process[_0x57c7d2(0xd0)][_0x57c7d2(0x193)]),this['config']['turboScaleOptions']=this[_0x57c7d2(0x17c)][_0x57c7d2(0x13b)]||{});helper['isTurboScaleSession'](this['config'])&&(process[_0x57c7d2(0xd0)][_0x57c7d2(0x193)]=!![]);LoadTestModule[_0x57c7d2(0x156)](this[_0x57c7d2(0x17c)])&&logger[_0x57c7d2(0x1a9)](_0x57c7d2(0x1c3)+this[_0x57c7d2(0x161)]);if(!helper['isBrowserstackInfra']()){try{process[_0x57c7d2(0xd0)]['FRAMEWORK']=_0xa382f8,utilities[_0x57c7d2(0x1c0)](_0x26c3c9[_0x57c7d2(0x13a)],{},this['config'],this[_0x57c7d2(0x1ac)]);}catch(_0xa7e382){logger['debug'](_0x57c7d2(0xf7)+_0xa7e382);}return;}if(helper[_0x57c7d2(0x188)](_0xa382f8)){if(global[_0x57c7d2(0x14c)])return;_0x26c3c9[_0x57c7d2(0xef)](_0x26c3c9[_0x57c7d2(0xda)](parseInt,helper[_0x57c7d2(0xf3)](_0x26c3c9[_0x57c7d2(0xe5)])),0x3)&&(this[_0x57c7d2(0x17c)][_0x57c7d2(0x1c6)]=![]),_0x26c3c9['MXRRA'](helper[_0x57c7d2(0x1bf)](helper[_0x57c7d2(0xf3)](_0x26c3c9['wqBGU']),_0x26c3c9[_0x57c7d2(0x136)]),0x1)&&(this['config'][_0x57c7d2(0x1c6)]=!![]);}(helper[_0x57c7d2(0x114)](this['config']['platforms'])||helper[_0x57c7d2(0x114)](this['config'][_0x57c7d2(0x10a)]['length']))&&(helper[_0x57c7d2(0x114)](this['config'][_0x57c7d2(0x138)])?logger[_0x57c7d2(0x128)](_0x26c3c9[_0x57c7d2(0x166)]):logger[_0x57c7d2(0x16b)](_0x26c3c9[_0x57c7d2(0x178)]),this[_0x57c7d2(0x17c)][_0x57c7d2(0x10a)]=[]);!this[_0x57c7d2(0x17c)][_0x57c7d2(0x181)]&&(this[_0x57c7d2(0x17c)][_0x57c7d2(0x181)]={});try{process['env'][_0x57c7d2(0x1b0)]=_0x5cab41['_'][0x0],utilities[_0x57c7d2(0x1c0)](_0x26c3c9[_0x57c7d2(0x13a)],{},this[_0x57c7d2(0x17c)],this['framework']);}catch(_0x45f23b){logger[_0x57c7d2(0x1a9)](_0x57c7d2(0xf7)+_0x45f23b);}!this[_0x57c7d2(0x17c)]['disableAutoCaptureLogs']&&logger[_0x57c7d2(0x128)](constants[_0x57c7d2(0x17f)]),this[_0x57c7d2(0x157)]=this[_0x57c7d2(0x157)][_0x57c7d2(0x1b4)](this),process['on'](_0x26c3c9[_0x57c7d2(0x140)],this[_0x57c7d2(0x157)]),process['on'](_0x26c3c9[_0x57c7d2(0x1a2)],this[_0x57c7d2(0x157)]),process['on'](_0x26c3c9[_0x57c7d2(0x15a)],this[_0x57c7d2(0x157)]),_0x26c3c9[_0x57c7d2(0x146)](process[_0x57c7d2(0x149)],_0x26c3c9[_0x57c7d2(0x14d)])?(process['on'](_0x26c3c9[_0x57c7d2(0x162)],this[_0x57c7d2(0x157)]),process['on'](_0x26c3c9[_0x57c7d2(0x112)],this[_0x57c7d2(0x157)])):process['on'](_0x26c3c9[_0x57c7d2(0x15b)],this[_0x57c7d2(0x157)]),process['on'](_0x26c3c9[_0x57c7d2(0x1c9)],this[_0x57c7d2(0x12e)]());}async[a94_0x45d619(0x1ca)](_0x3ce443){const _0xca0d94=a94_0x45d619,_0x33cce1={'ByxNK':'ats-repeater','doEMD':_0xca0d94(0x174),'FJycP':_0xca0d94(0x18c),'AsafS':function(_0x3c03d9,_0x54e4ad){return _0x3c03d9===_0x54e4ad;},'rDadd':'playwright','EqGUn':function(_0x619d79,_0x2e675b){return _0x619d79+_0x2e675b;},'SZiDO':_0xca0d94(0x104),'pYnMb':function(_0x12a5c7,_0x49c317){return _0x12a5c7(_0x49c317);},'Bzsfc':_0xca0d94(0x19b)};this[_0xca0d94(0xc5)](_0x3ce443);if(helper[_0xca0d94(0x115)](this['config'])){const _0x347fcd=await helper['getTurboScaleGridDetails'](this['config']);this[_0xca0d94(0x17c)][_0xca0d94(0xcd)]=_0x347fcd,_0x347fcd[_0xca0d94(0xd6)]&&helper['isNotUndefined'](this[_0xca0d94(0x17c)]['browserstackLocal'])&&helper[_0xca0d94(0x126)](this[_0xca0d94(0x17c)][_0xca0d94(0xe2)])&&(this[_0xca0d94(0x17c)]['browserStackLocalOptions'][_0xca0d94(0x1a8)]=_0x33cce1['ByxNK'],this[_0xca0d94(0x17c)][_0xca0d94(0x10c)][_0x33cce1[_0xca0d94(0x189)]]=_0x347fcd['customRepeaters']['join'](','),this[_0xca0d94(0x17c)][_0xca0d94(0x10c)][_0xca0d94(0x1a5)]=_0x33cce1[_0xca0d94(0x15c)]),this['config']['turboScaleUrl']=_0x347fcd[_0xca0d94(0xc4)],this[_0xca0d94(0x1ac)]&&_0x33cce1[_0xca0d94(0x1b5)](this['framework']['toLowerCase'](),_0x33cce1['rDadd'])?this[_0xca0d94(0x17c)][_0xca0d94(0x13e)]=_0x33cce1['EqGUn'](_0x347fcd[_0xca0d94(0x12b)],_0x33cce1[_0xca0d94(0x1c1)]):constants[_0xca0d94(0x17d)]=helper[_0xca0d94(0x1c4)](this['config']),logger[_0xca0d94(0x1a9)](_0xca0d94(0x113)+constants[_0xca0d94(0x17d)]);}helper[_0xca0d94(0x1bc)](this[_0xca0d94(0x17c)]),this[_0xca0d94(0x192)](),_0x33cce1['pYnMb'](setPercyFlag,this),await this[_0xca0d94(0xcf)](),![_0x33cce1[_0xca0d94(0x1ae)],_0x33cce1['rDadd']]['includes'](this[_0xca0d94(0x1ac)])&&!helper[_0xca0d94(0x115)](this[_0xca0d94(0x17c)])&&!helper[_0xca0d94(0x145)]()[_0xca0d94(0x15f)]&&await this['setUpHubUrl']();}async[a94_0x45d619(0x12c)](){const _0x53e11c=a94_0x45d619,_0x2dd1bb={};_0x2dd1bb[_0x53e11c(0x16e)]=function(_0xba0802,_0xb040fe){return _0xba0802===_0xb040fe;},_0x2dd1bb[_0x53e11c(0x10d)]='false',_0x2dd1bb[_0x53e11c(0x198)]=_0x53e11c(0x11c),_0x2dd1bb['GKWzM']=_0x53e11c(0x164),_0x2dd1bb[_0x53e11c(0xf1)]=_0x53e11c(0x18c),_0x2dd1bb[_0x53e11c(0xdb)]=_0x53e11c(0x168);const _0x325138=_0x2dd1bb;if(helper[_0x53e11c(0x126)](this[_0x53e11c(0x17c)][_0x53e11c(0x153)])&&(!this[_0x53e11c(0x153)]||!this[_0x53e11c(0x153)][_0x53e11c(0x197)]()))try{this[_0x53e11c(0x153)]=await percyHelper[_0x53e11c(0x14e)](this[_0x53e11c(0x17c)]);if(!this[_0x53e11c(0x153)]){process['env']['BROWSERSTACK_PERCY']=_0x325138[_0x53e11c(0x10d)];throw new Error(_0x325138[_0x53e11c(0x198)]);}logger[_0x53e11c(0x128)](_0x325138[_0x53e11c(0x129)]),process[_0x53e11c(0xd0)]['BROWSERSTACK_PERCY']=_0x325138['TJFGg'];let _0x47372e=0x0;const _0xf5c88d=async()=>{const _0x1db20d=_0x53e11c;_0x47372e++,_0x325138['kTfRM'](_0x47372e,0x1)&&await this[_0x1db20d(0x124)]();};process['on'](_0x325138[_0x53e11c(0xdb)],_0xf5c88d);}catch(_0x5f4cc6){process['env'][_0x53e11c(0x170)]=_0x325138[_0x53e11c(0x10d)],logger[_0x53e11c(0x1a9)](_0x53e11c(0x1b6)+_0x5f4cc6);throw new Error(_0x5f4cc6[_0x53e11c(0x139)]());}}async[a94_0x45d619(0x124)](){const _0x5a7b6e=a94_0x45d619,_0x4fdf98={};_0x4fdf98[_0x5a7b6e(0x1c8)]=_0x5a7b6e(0x133),_0x4fdf98[_0x5a7b6e(0x17e)]=_0x5a7b6e(0x11d);const _0x185f6c=_0x4fdf98;if(this[_0x5a7b6e(0x153)]&&this[_0x5a7b6e(0x153)][_0x5a7b6e(0x197)]())try{await percyHelper[_0x5a7b6e(0x124)](this[_0x5a7b6e(0x153)]),logger['info'](_0x185f6c['PnBsM']);}catch(_0x2c664e){logger[_0x5a7b6e(0xc7)](_0x185f6c[_0x5a7b6e(0x17e)],_0x2c664e[_0x5a7b6e(0xf5)]);}}async[a94_0x45d619(0xcf)](){const _0x29752b=a94_0x45d619,_0x8029a8={};_0x8029a8[_0x29752b(0x11e)]=_0x29752b(0x19a),_0x8029a8[_0x29752b(0x150)]=_0x29752b(0x179);const _0x55f9e8=_0x8029a8;if(helper['isBrowserstackInfra']()&&helper[_0x29752b(0x126)](this[_0x29752b(0x17c)][_0x29752b(0xe2)])&&(!this[_0x29752b(0xe2)]||!this[_0x29752b(0xe2)][_0x29752b(0x197)]()))try{if(this[_0x29752b(0x17c)][_0x29752b(0x10c)][_0x29752b(0x18e)]){logger[_0x29752b(0x1a9)](_0x55f9e8[_0x29752b(0x11e)]);return;}this[_0x29752b(0xe2)]=await helper['startLocalBinary'](this[_0x29752b(0x17c)]),logger[_0x29752b(0x128)](_0x55f9e8[_0x29752b(0x150)]);}catch(_0x28f94e){logger[_0x29752b(0x1a9)](_0x28f94e);throw new Error(_0x28f94e[_0x29752b(0x139)]());}}async['stopBrowserstackLocal'](){const _0x566ec0=a94_0x45d619,_0x5ae2fe={};_0x5ae2fe[_0x566ec0(0x137)]='Local\x20binary\x20stopped',_0x5ae2fe[_0x566ec0(0x121)]='Error\x20occured\x20while\x20stopping\x20local\x20binary';const _0x4d1d87=_0x5ae2fe;if(this[_0x566ec0(0xe2)]&&this[_0x566ec0(0xe2)][_0x566ec0(0x197)]())try{await helper[_0x566ec0(0x10e)](this[_0x566ec0(0xe2)]),logger[_0x566ec0(0x128)](_0x4d1d87['mCKQQ']);}catch(_0x305d77){logger[_0x566ec0(0xc7)](_0x4d1d87[_0x566ec0(0x121)],_0x305d77['message']);}}async[a94_0x45d619(0x183)](){const _0x5f1e39=a94_0x45d619;return PerformanceTester[_0x5f1e39(0x1aa)](PerformanceAutEvents[_0x5f1e39(0x1bd)],async()=>{const _0x13cd89=_0x5f1e39;await hubAllocator[_0x13cd89(0x106)](this[_0x13cd89(0x17c)]);})();}async[a94_0x45d619(0x1cd)](){const _0x3be00b=a94_0x45d619,_0x15aa1f={'VpqEk':function(_0x4ef219,_0x3a9c4c){return _0x4ef219(_0x3a9c4c);},'prevy':_0x3be00b(0xe1),'zIKTD':function(_0x19c285,_0x5a74ac,_0x12473c,_0x50b78e,_0x4cc490,_0x969b61,_0x412cc6){return _0x19c285(_0x5a74ac,_0x12473c,_0x50b78e,_0x4cc490,_0x969b61,_0x412cc6);},'AilTX':_0x3be00b(0x191),'HOGzi':'BrowserstackHealingInitFailed','zVVbs':function(_0x3e854a,_0x285423){return _0x3e854a(_0x285423);},'INanh':_0x3be00b(0x130),'rGmXA':_0x3be00b(0x12a),'FYGPq':function(_0x195c17,_0x153eed){return _0x195c17===_0x153eed;},'LUwJj':_0x3be00b(0x18c),'JEELS':function(_0x451e98,_0x2fc70e){return _0x451e98===_0x2fc70e;},'GuIFt':function(_0x5526c3,_0x1a374e){return _0x5526c3===_0x1a374e;},'JwLlF':function(_0x4e4059,_0x40ce5c){return _0x4e4059===_0x40ce5c;},'Tesuc':function(_0x4eec75,_0xd87e93){return _0x4eec75===_0xd87e93;},'RzDhr':_0x3be00b(0x118),'jqRBG':_0x3be00b(0x11b),'bcCmG':_0x3be00b(0xd8),'DvwmT':function(_0x313146,_0x34bb0c){return _0x313146(_0x34bb0c);},'OYpoZ':_0x3be00b(0x176),'JOkqg':function(_0x427100,_0x2eea0c){return _0x427100>=_0x2eea0c;},'rYrtO':function(_0x566431,_0x67ef3c){return _0x566431<_0x67ef3c;},'UaHcm':'tcg\x20config\x20setup\x20successful.','prlYQ':_0x3be00b(0x187),'DpPFS':function(_0x58c497){return _0x58c497();}},_0x556102=PerformanceTester[_0x3be00b(0x1aa)](_0x15aa1f[_0x3be00b(0x171)],async()=>{const _0x48952f=_0x3be00b;try{const _0x39a368=new Date(),_0x3b6074=helper[_0x48952f(0x155)](this[_0x48952f(0x17c)]),_0x29454c=_0x15aa1f['VpqEk'](require,path[_0x48952f(0x1a4)](__dirname,_0x15aa1f[_0x48952f(0x102)])),_0x596eb9=_0x15aa1f[_0x48952f(0x122)](timeoutPromise,constants['TCG_AUTH_TIMEOUT'],_0x15aa1f['AilTX'],_0x15aa1f[_0x48952f(0x134)],_0x39a368,this['config'],this[_0x48952f(0x1ac)]),_0x3e34d9={'tcgUrl':constants[_0x48952f(0x12f)],'sdkVersion':_0x15aa1f[_0x48952f(0x180)](require,_0x15aa1f['INanh'])[_0x48952f(0x142)],'methodUsed':_0x15aa1f[_0x48952f(0x152)],'proxyConfig':_0x3b6074,'os':os[_0x48952f(0x149)]()};if(_0x3b6074&&_0x3b6074[_0x48952f(0x148)]){utilities[_0x48952f(0x1c0)](constants['AI_PROXY_FAILURE'],_0x3e34d9,this['config'],this[_0x48952f(0x1ac)]);return;}const _0x15d65f={};_0x15d65f['proxy']=_0x3b6074;const _0x2eed6b=await Promise[_0x48952f(0xeb)]([_0x29454c[_0x48952f(0xfd)](this[_0x48952f(0x17c)][_0x48952f(0x175)],this['config'][_0x48952f(0x167)],constants[_0x48952f(0x12f)],_0x15aa1f[_0x48952f(0x180)](require,_0x15aa1f['INanh'])[_0x48952f(0x142)],_0x15d65f)['then'](_0x2b4a11=>{return _0x596eb9['cancel'](),_0x2b4a11;}),_0x596eb9]);_0x2eed6b['isHealingEnabled']=_0x15aa1f['FYGPq'](_0x2eed6b[_0x48952f(0x1a3)],_0x15aa1f[_0x48952f(0xca)])||_0x15aa1f['JEELS'](_0x2eed6b[_0x48952f(0x1a3)],!![]);const _0xf0b753=_0x15aa1f['GuIFt'](this[_0x48952f(0x17c)][_0x48952f(0x160)],!![])||_0x15aa1f[_0x48952f(0x100)](this[_0x48952f(0x17c)][_0x48952f(0x160)],_0x15aa1f['LUwJj']);if(_0x15aa1f['Tesuc'](_0x2eed6b['message'],constants[_0x48952f(0xec)])&&_0xf0b753)logger[_0x48952f(0x128)](_0x15aa1f['RzDhr']);else{if(!_0x2eed6b[_0x48952f(0x1a1)]&&_0x15aa1f['Tesuc'](_0x2eed6b[_0x48952f(0x143)],0x1f7)&&_0xf0b753)logger[_0x48952f(0x128)](_0x15aa1f['jqRBG']),utilities[_0x48952f(0x1c0)](constants[_0x48952f(0xe9)],_0x3e34d9,this[_0x48952f(0x17c)],this[_0x48952f(0x1ac)]);else{if(!_0x2eed6b['isAuthenticated']&&_0xf0b753){logger[_0x48952f(0x128)](_0x15aa1f['bcCmG']);const _0x1b22c0={'tcgUrl':constants[_0x48952f(0x12f)],'sdkVersion':_0x15aa1f[_0x48952f(0x13f)](require,_0x15aa1f[_0x48952f(0x13d)])[_0x48952f(0x142)],'methodUsed':_0x15aa1f[_0x48952f(0x152)],'proxyConfig':_0x3b6074,'os':os[_0x48952f(0x149)]()};utilities[_0x48952f(0x1c0)](constants[_0x48952f(0x119)],_0x1b22c0,this['config'],this[_0x48952f(0x1ac)]);}else{if(_0x2eed6b[_0x48952f(0x1a1)]&&!_0x2eed6b['isHealingEnabled']&&_0xf0b753)logger['info'](_0x15aa1f[_0x48952f(0x10b)]);else{if(_0x15aa1f[_0x48952f(0x110)](_0x2eed6b[_0x48952f(0x143)],0xc8)&&_0x15aa1f[_0x48952f(0x103)](_0x2eed6b[_0x48952f(0x143)],0x12c))utilities['fireFunnelTestEvent'](constants[_0x48952f(0xdf)],_0x3e34d9,this[_0x48952f(0x17c)],this[_0x48952f(0x1ac)]);else{if(_0x15aa1f[_0x48952f(0x110)](_0x2eed6b['status'],0x190))_0x3e34d9[_0x48952f(0x143)]=_0x2eed6b[_0x48952f(0x143)],utilities[_0x48952f(0x1c0)](constants['AI_INIT_FAILURE'],_0x3e34d9,this['config'],this[_0x48952f(0x1ac)]);else!_0x2eed6b[_0x48952f(0x143)]&&utilities[_0x48952f(0x1c0)](constants[_0x48952f(0x154)],_0x3e34d9,this[_0x48952f(0x17c)],this[_0x48952f(0x1ac)]);}}}}}if(_0x2eed6b[_0x48952f(0x1a1)]&&_0x2eed6b[_0x48952f(0x1a3)]){const _0x1c8d22={};_0x1c8d22[_0x48952f(0xf9)]=_0x2eed6b;const _0x265100=_0x1c8d22;_0x3b6074&&(_0x265100[_0x48952f(0x19d)]=_0x3b6074),_0x265100[_0x48952f(0x1ac)]=this[_0x48952f(0x1ac)],_0x265100[_0x48952f(0x123)]=this['config'],helper[_0x48952f(0x135)](_0x265100),logger[_0x48952f(0x1a9)](_0x15aa1f[_0x48952f(0x1cb)]);}}catch(_0x10bbe7){logger[_0x48952f(0x1a9)](_0x48952f(0x182)+(_0x10bbe7[_0x48952f(0xf5)]?_0x10bbe7[_0x48952f(0xf5)]:''));}});await _0x15aa1f[_0x3be00b(0x18b)](_0x556102);}['setupKeepAlive'](){const _0x50fc0e=a94_0x45d619,_0x5b5df1={'VdEzg':function(_0x21a5f4,_0x37c5f0){return _0x21a5f4(_0x37c5f0);},'IrCDc':_0x50fc0e(0x1ba)};_0x5b5df1[_0x50fc0e(0x14a)](require,_0x5b5df1[_0x50fc0e(0x132)])();}[a94_0x45d619(0xf4)](){const _0x3cf292=a94_0x45d619,_0x5c1249={};_0x5c1249[_0x3cf292(0x10f)]=_0x3cf292(0x107),_0x5c1249['UkbsA']=_0x3cf292(0x1ab),_0x5c1249[_0x3cf292(0x120)]=_0x3cf292(0xc9);const _0x1cafe9=_0x5c1249,_0x1f7539=_0x5a9013=>{const _0x412888=_0x3cf292,_0x273176=_0x1cafe9[_0x412888(0x10f)][_0x412888(0x1c5)]('|');let _0x157a4f=0x0;while(!![]){switch(_0x273176[_0x157a4f++]){case'0':this['unhandledErrors']['push'](util[_0x412888(0x1cc)]('%j',_0x5a9013));continue;case'1':PerformanceTester[_0x412888(0x1af)](_0x5a9013);continue;case'2':logger[_0x412888(0xc7)](_0x5a9013[_0x412888(0xf5)]);continue;case'3':ClientTroubleShootingService[_0x412888(0x17a)]();continue;case'4':logger[_0x412888(0x1a9)](util[_0x412888(0x1cc)](_0x5a9013));continue;}break;}};process['on'](_0x1cafe9[_0x3cf292(0x1a6)],_0x1f7539),process['on'](_0x1cafe9[_0x3cf292(0x120)],_0x1f7539);}async[a94_0x45d619(0x157)](_0x4a258a){const _0x4e3958=a94_0x45d619,_0x2a3081={};_0x2a3081['KmYJf']=_0x4e3958(0x18d),_0x2a3081[_0x4e3958(0x116)]=function(_0x3dadaa,_0x6e0708){return _0x3dadaa+_0x6e0708;},_0x2a3081[_0x4e3958(0x1be)]=_0x4e3958(0x1a7),_0x2a3081[_0x4e3958(0x184)]=function(_0x839cea,_0x437903){return _0x839cea+_0x437903;},_0x2a3081['SAygV']=_0x4e3958(0x1c2),_0x2a3081[_0x4e3958(0x19c)]=function(_0x2a6e0e,_0x3fced3){return _0x2a6e0e+_0x3fced3;};const _0x116b7a=_0x2a3081,_0xc4ef8f=_0x116b7a['KmYJf'][_0x4e3958(0x1c5)]('|');let _0x2d8c9a=0x0;while(!![]){switch(_0xc4ef8f[_0x2d8c9a++]){case'0':await ClientTroubleShootingService['reportProcessInterruptionSituation'](_0x4a258a);continue;case'1':logger[_0x4e3958(0x128)](_0x116b7a['TWefw'](_0x116b7a['DgoQm'],_0x4a258a));continue;case'2':this[_0x116b7a[_0x4e3958(0x184)](_0x116b7a[_0x4e3958(0x127)],_0x4a258a)]=!![];continue;case'3':await ClientTroubleShootingService[_0x4e3958(0x17a)]();continue;case'4':await TestHubHandler['stop'](_0x4a258a);continue;case'5':await BrowserstackCLI[_0x4e3958(0x1b7)]()[_0x4e3958(0xcb)]();continue;case'6':this[_0x4e3958(0x131)]=_0x4a258a;continue;case'7':if(this[_0x116b7a[_0x4e3958(0x19c)](_0x116b7a[_0x4e3958(0x127)],_0x4a258a)])return;continue;}break;}}[a94_0x45d619(0x12e)](){const _0x13e387=a94_0x45d619,_0x2da060={'WUtFg':function(_0x225828,_0x222b6b){return _0x225828===_0x222b6b;},'xjFTn':_0x13e387(0x19e),'blLia':function(_0x6958db,_0x53e6fc){return _0x6958db>_0x53e6fc;},'BDGTT':function(_0x4c0479,_0x2dfec8){return _0x4c0479>_0x2dfec8;},'nyShR':function(_0x3b8d4a,_0x5ec024){return _0x3b8d4a(_0x5ec024);},'VHBap':function(_0x32dde5){return _0x32dde5();},'znvkT':_0x13e387(0x1b9)};let _0x2821d9=0x0;return async()=>{const _0x1fbfc3=_0x13e387;_0x2821d9++;if(_0x2da060[_0x1fbfc3(0xf0)](_0x2821d9,0x1)){helper[_0x1fbfc3(0x186)](this[_0x1fbfc3(0x1ac)])&&await this[_0x1fbfc3(0x111)]();try{logger[_0x1fbfc3(0x1a9)](_0x2da060['xjFTn']),await TestHubHandler[_0x1fbfc3(0xcb)](_0x2821d9),await ClientTroubleShootingService['reportFinalDetectionState'](),await BrowserstackCLI['getInstance']()[_0x1fbfc3(0xcb)]('1');}catch(_0x48d27b){logger['debug'](_0x1fbfc3(0x190)+util[_0x1fbfc3(0x1cc)](_0x48d27b));}PerformanceTester[_0x1fbfc3(0xd2)](PerformanceEvents[_0x1fbfc3(0xd9)]);if(PerformanceTester[_0x1fbfc3(0xf6)]()){const {measures:_0x402d6c,errors:_0x5ead9f}=await PerformanceTester['finalize'](),_0x2d9962={};if(_0x402d6c&&_0x2da060[_0x1fbfc3(0x1ad)](_0x402d6c[_0x1fbfc3(0xfc)],0x0)||_0x5ead9f&&_0x2da060[_0x1fbfc3(0x17b)](_0x5ead9f[_0x1fbfc3(0xfc)],0x0)){const _0x474d10={};_0x474d10[_0x1fbfc3(0xff)]=_0x402d6c,_0x474d10['exceptions']=_0x5ead9f,Object[_0x1fbfc3(0xde)](_0x2d9962,_0x474d10);}try{const _0x4e50a2=await helper[_0x1fbfc3(0xf8)](_0x2d9962,this[_0x1fbfc3(0x17c)]);logger[_0x1fbfc3(0x1a9)](_0x1fbfc3(0x169)+_0x2da060[_0x1fbfc3(0x13c)](getEdsInstrumentationAPIUrl,'')+'\x20with\x20response\x20'+_0x4e50a2['statusCode']);}catch(_0x1eb097){logger[_0x1fbfc3(0x1a9)](_0x1fbfc3(0x1bb)+_0x2da060['nyShR'](getEdsInstrumentationAPIUrl,'')+_0x1fbfc3(0x16c)+util[_0x1fbfc3(0x1cc)](_0x1eb097));}try{fs[_0x1fbfc3(0x125)](path[_0x1fbfc3(0x1a4)](_0x2da060['VHBap'](getLogDir),_0x2da060['znvkT']),JSON[_0x1fbfc3(0x1c7)](_0x2d9962));}catch(_0x2c1960){logger[_0x1fbfc3(0x1a9)](_0x1fbfc3(0xd3)+_0x2c1960);}}}logger&&logger[_0x1fbfc3(0x1a0)](),fileLogger&&fileLogger[_0x1fbfc3(0x1a0)]();};}}exports[a94_0x45d619(0x147)]=BrowserStackSetup;
|
|
1
|
+
function a94_0x23f7(_0x49c5d7,_0xe3c173){const _0x37453b=a94_0x3745();return a94_0x23f7=function(_0x23f7ef,_0x51abe2){_0x23f7ef=_0x23f7ef-0x178;let _0xcb342d=_0x37453b[_0x23f7ef];return _0xcb342d;},a94_0x23f7(_0x49c5d7,_0xe3c173);}function a94_0x3745(){const _0x4afb23=['AAvhn','INILx','skipBinaryInitialisation','6|1|5|4|2|3|7|0','includes','preInitialize','fWCKF','Fjhod','Gyith','stopLocalBinary','split','4|2|0|1|3','compareVersions','DQtxj','RpbEN','url','nYUGt','3696500CLpPAk','message','env','selenium-webdriver','getPackageVersion','./testhub/utils','sxExz','./setKeepAlive','setupTcgConfigFile','platforms','XilQo','uncaughtException','ats-repeater','NXnYF','aiHeal:tcgAuth','SIGINT','vEMsc','Local\x20binary\x20stopped','FRAMEWORK','then','getFinalCaps','isRunning','cNiuq','bind','bASBT','handleExceptions','localIdentifier','win32','central_scanner','isHealingEnabled','nqVOx','VSowH','bstackConfig','parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','sanitizeCaps','init','percy','browserStackLocalOptions','ojZXL','isUndefined','611472FWGeGs','Shutdown\x20triggered\x20by\x20','hYBFw','yCWek','jOrKF','close','No\x20config\x20provided.','measureWrapper','join','../../package.json','sendToEDS','length','cliConfig','SIGABRT','Percy\x20stopped','MdAFK','isEnabled','cdeSw','oITLA','KgchX','playwrightUrl','killSignal','envConfig','mllHz','mmnKN','BrowserstackHealingInitFailed','accessKey','../bin/v2/browserstackCLI','setupBrowserstackLocal','uPGAZ','stopBrowserstackLocal','stopPercy','getInstance','TCG_URL','turboScaleOptions','framework','./testhub/testhubHandler','../ai-sdk-node/bundle','winstonLogger','259570HvmrSC','coERM','config','setEnvCaps','stop','RyTFM','../bin/v2/modules/loadTestModule','Inxbh','hubUrl','setUpHubUrl','playwright','jUKzL','util','\x20with\x20error\x20','selfHeal','33YyfkvY','mNzPd','IDzoF','HPgXh','exitHandler','ItMbl','testContextOptions','./performance/constants','localOptions','startLocalBinary','./logger','wUtjd','getLocalConfig','AUTOLOGCAPTURE_NOTIFICATION','checkStopLocalBinaryOnExit','proxyUrl','setupKeepAlive','rufIF','events.json','captureError','?caps=','TCG_AUTH_FAILURE','version','initialize','integrations','JOSkS','customRepeaters','jfjxz','8348248yuZhta','skipSessionStatus','LTS\x20session\x20enabled\x20for\x20this\x20run.\x20SDK\x20run\x20id:\x20','disableAutoCaptureLogs','setHandlePWError','sdkRunId','getTurboScaleGridDetails','\x20with\x20response\x20','Failed\x20to\x20send\x20data\x20to\x20','qlzVM','platform','getHubUrl','SPrxV','rTham','SDK\x20run\x20started\x20with\x20id:\x20','Ojezl','exceptions','isLTSSession','SIGTERM','SDK_CLEANUP','turboScaleUrl','isAuthenticated','Error\x20in\x20sending\x20testhub\x20stop:\x20','normalizeTestReportingEnvVars','nVBkj','TCG_DOWN','reportFinalDetectionState','Error\x20in\x20setting\x20up\x20tcg\x20authconfig.\x20Error:\x20','isTurboScaleSession','BROWSERSTACK_PERCY','PNGOi','warn','readConfig','intExitHandler','AI_INIT_SUCCESSFUL','./percy/utils','EOBWd','plkNl','requireSeleniumWebdriverCheck','zvldE','BrowserstackHealing.init\x20method\x20timed\x20out','Error\x20in\x20percy\x20setup\x20','pAuoz','setLogLevel','hChpV','KdYsu','../bin/utils/apiUtilityMethods','info','QXNSv','unhandledErrors','4|18|15|11|17|0|5|1|8|23|16|2|12|20|3|7|9|14|19|13|10|21|22|6','Error\x20occured\x20while\x20stopping\x20percy','fXyDo','useW3C','userName\x20or\x20accessKey\x20is\x20not\x20defined','generateLocalIdentifier','default','startMonitoring','Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','Percy\x20started\x20successfully','TCG_AUTH_TIMEOUT','format','978dQNZWJ','end','false','cpykj','YfYdg','browserstackLocal','errorMessage','turboScale','LFImr','race','uIVbj','diPLY','1735925kBTFvo','setCLICaps','clUHH','cLpUC','sVFGP','push','setupPercy','error','constructor','SIGBREAK','measures','INVALID_INIT_RESP_WITH_USER_IMPACT','beUdX','57533UBNuBY','4168KDHQAF','swwxE','debug','skipSessionName','getUserName','stringify','path','setProxySettings','assign','isTrue','366gHSFzJ','BrowserstackHealing.init','status','HUB\x20URL\x20SET\x20TO\x20TurboScale\x20HUB\x20-\x20','handled','reportProcessInterruptionSituation','qSMMg','SIGQUIT','beforeExit','tcg\x20config\x20setup\x20successful.','TKDjF','configPath','getLocalIdentifier','9vGTcxQ','SIGHUP','../bin/utils/clientTroubleshootingService','./helper','eAOTX','DrHFu','isBrowserstackInfra','krEpN','setBrowserstackInfraFromConfig','getProxyConfigForTcg','fireFunnelTestEvent','cancel','VsXXr','YoKnc','BROWSERSTACK_TURBOSCALE','XDBsH','UPGRADE_REQUIRED','qnaxr','Local\x20binary\x20not\x20started\x20as\x20skipBinaryInitialisation\x20is\x20enabled','./utilities','true','statusCode','Lnhmb'];a94_0x3745=function(){return _0x4afb23;};return a94_0x3745();}const a94_0x56d405=a94_0x23f7;(function(_0x51a5e6,_0x5f1bfe){const _0x345bfa=a94_0x23f7,_0x1ad087=_0x51a5e6();while(!![]){try{const _0xbdbc0b=-parseInt(_0x345bfa(0x268))/0x1+parseInt(_0x345bfa(0x201))/0x2*(-parseInt(_0x345bfa(0x1e7))/0x3)+parseInt(_0x345bfa(0x240))/0x4+-parseInt(_0x345bfa(0x1f3))/0x5+parseInt(_0x345bfa(0x20b))/0x6*(parseInt(_0x345bfa(0x200))/0x7)+parseInt(_0x345bfa(0x1a9))/0x8*(parseInt(_0x345bfa(0x218))/0x9)+parseInt(_0x345bfa(0x17e))/0xa*(-parseInt(_0x345bfa(0x18d))/0xb);if(_0xbdbc0b===_0x5f1bfe)break;else _0x1ad087['push'](_0x1ad087['shift']());}catch(_0x3bf248){_0x1ad087['push'](_0x1ad087['shift']());}}}(a94_0x3745,0xb7dcf));const util=require(a94_0x56d405(0x18a)),os=require('os'),path=require(a94_0x56d405(0x207)),{v4:uuidv4}=require('uuid'),fs=require('fs'),constants=require('../bin/utils/constants'),logger=require(a94_0x56d405(0x197))[a94_0x56d405(0x17d)],fileLogger=require(a94_0x56d405(0x197))['fileLogger'],{getLogDir}=require(a94_0x56d405(0x197)),helper=require(a94_0x56d405(0x21b)),utilities=require(a94_0x56d405(0x22b)),percyHelper=require(a94_0x56d405(0x1cc)),hubAllocator=require('../hubAllocationMethods'),PerformanceTester=require('./performance/performance-tester'),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents}=require(a94_0x56d405(0x194)),{setPercyFlag}=require(a94_0x56d405(0x245)),TestHubHandler=require(a94_0x56d405(0x17b)),timeoutPromise=require('./timeoutPromise'),BrowserstackCLI=require(a94_0x56d405(0x283)),LoadTestModule=require(a94_0x56d405(0x184)),{getEdsInstrumentationAPIUrl}=require(a94_0x56d405(0x1d7)),ClientTroubleShootingService=require(a94_0x56d405(0x21a));class BrowserStackSetup{constructor(_0x2b2d40,_0x4cd4fb){const _0x4de8e1=a94_0x56d405,_0x249e6d={'jOrKF':_0x4de8e1(0x1db),'NXnYF':function(_0x324392){return _0x324392();},'nqVOx':_0x4de8e1(0x26e)},_0x430996=_0x249e6d[_0x4de8e1(0x26c)][_0x4de8e1(0x239)]('|');let _0x14c0d1=0x0;while(!![]){switch(_0x430996[_0x14c0d1++]){case'0':this[_0x4de8e1(0x216)]=helper['getConfigPath'](_0x2b2d40);continue;case'1':this[_0x4de8e1(0x274)]=helper[_0x4de8e1(0x1f4)](_0x2b2d40);continue;case'2':this['sdkRunId']=_0x249e6d[_0x4de8e1(0x24d)](uuidv4);continue;case'3':if(helper['isUndefined'](this[_0x4de8e1(0x180)]))throw new Error(_0x249e6d[_0x4de8e1(0x25e)]);continue;case'4':this[_0x4de8e1(0x1da)]=[];continue;case'5':this[_0x4de8e1(0x180)]=helper[_0x4de8e1(0x1c9)](this[_0x4de8e1(0x216)]);continue;case'6':PerformanceTester[_0x4de8e1(0x1e2)]();continue;case'7':if(this[_0x4de8e1(0x180)][_0x4de8e1(0x1fa)])throw new Error(this[_0x4de8e1(0x180)][_0x4de8e1(0x1fa)]);continue;case'8':this[_0x4de8e1(0x180)]['platforms']=this[_0x4de8e1(0x180)][_0x4de8e1(0x249)]||[];continue;case'9':helper[_0x4de8e1(0x220)](this['config'],this[_0x4de8e1(0x274)]);continue;case'10':helper[_0x4de8e1(0x254)](this[_0x4de8e1(0x180)],this[_0x4de8e1(0x274)],this[_0x4de8e1(0x27e)]);continue;case'11':this[_0x4de8e1(0x1ec)]=null;continue;case'12':this['framework']=_0x4cd4fb;continue;case'13':this[_0x4de8e1(0x180)]['testContextOptions'][_0x4de8e1(0x204)]=!helper[_0x4de8e1(0x21e)]()||helper[_0x4de8e1(0x20a)](this['config']['testContextOptions']['skipSessionName']);continue;case'14':helper['setCredentialsFromYmlConfig'](this[_0x4de8e1(0x180)]);continue;case'15':this[_0x4de8e1(0x27e)]=helper[_0x4de8e1(0x181)]();continue;case'16':this[_0x4de8e1(0x1ed)]={};continue;case'17':this[_0x4de8e1(0x264)]=null;continue;case'18':helper[_0x4de8e1(0x1c0)]();continue;case'19':this['config'][_0x4de8e1(0x193)][_0x4de8e1(0x1aa)]=!helper['isBrowserstackInfra']()||helper[_0x4de8e1(0x20a)](this[_0x4de8e1(0x180)][_0x4de8e1(0x193)][_0x4de8e1(0x1aa)]);continue;case'20':global[_0x4de8e1(0x17a)]=_0x4cd4fb;continue;case'21':helper['setLogDir'](this[_0x4de8e1(0x180)]);continue;case'22':helper[_0x4de8e1(0x1d4)](this['config'],this[_0x4de8e1(0x274)],this[_0x4de8e1(0x27e)]);continue;case'23':this['config'][_0x4de8e1(0x193)]=this[_0x4de8e1(0x180)]['testContextOptions']||{};continue;}break;}}['preInitialize'](_0xfe6bd4){const _0x6a2dc4=a94_0x56d405,_0xb6108b={'beUdX':_0x6a2dc4(0x1df),'wUtjd':function(_0x18c60f,_0x53cf1e){return _0x18c60f===_0x53cf1e;},'plkNl':_0x6a2dc4(0x1a5),'INILx':'SDKTestAttempted','coERM':function(_0x4d2948,_0x3f073a){return _0x4d2948<_0x3f073a;},'mllHz':function(_0x26a60a,_0x819581){return _0x26a60a(_0x819581);},'HPgXh':_0x6a2dc4(0x243),'Ojezl':'4.5.0','eAOTX':_0x6a2dc4(0x1e3),'KgchX':_0x6a2dc4(0x261),'cLpUC':_0x6a2dc4(0x1bb),'VSowH':_0x6a2dc4(0x24f),'ygThE':_0x6a2dc4(0x219),'cdeSw':function(_0x187690,_0x1d90ff){return _0x187690!==_0x1d90ff;},'uPGAZ':_0x6a2dc4(0x25b),'hChpV':_0x6a2dc4(0x275),'mNzPd':_0x6a2dc4(0x212),'swwxE':_0x6a2dc4(0x1fc),'rrIFL':_0x6a2dc4(0x213)},_0x37746f=this[_0x6a2dc4(0x17a)];global[_0x6a2dc4(0x180)]=this['config'],helper[_0x6a2dc4(0x262)](this[_0x6a2dc4(0x180)]),this[_0x6a2dc4(0x27d)]=null,global[_0x6a2dc4(0x1ae)]=this['sdkRunId'],logger['info'](_0x6a2dc4(0x1b7)+this['sdkRunId']),!this[_0x6a2dc4(0x180)]['browserStackLocalOptions']&&(this[_0x6a2dc4(0x180)][_0x6a2dc4(0x265)]=this[_0x6a2dc4(0x180)][_0x6a2dc4(0x195)]||{});if(helper[_0x6a2dc4(0x267)](helper[_0x6a2dc4(0x205)](this['config']))||helper[_0x6a2dc4(0x267)](helper['getAccessKey'](this[_0x6a2dc4(0x180)])))throw new Error(_0xb6108b[_0x6a2dc4(0x1ff)]);helper[_0x6a2dc4(0x199)](this['config'])&&helper[_0x6a2dc4(0x267)](helper[_0x6a2dc4(0x217)](this[_0x6a2dc4(0x180)]))&&(!helper[_0x6a2dc4(0x267)](this[_0x6a2dc4(0x180)][_0x6a2dc4(0x265)])&&_0xb6108b[_0x6a2dc4(0x198)](this[_0x6a2dc4(0x180)][_0x6a2dc4(0x265)][_0x6a2dc4(0x1fb)],Object)?!helper[_0x6a2dc4(0x20a)](this[_0x6a2dc4(0x180)][_0x6a2dc4(0x265)][_0x6a2dc4(0x231)])&&(this[_0x6a2dc4(0x180)][_0x6a2dc4(0x265)][_0x6a2dc4(0x25a)]=helper[_0x6a2dc4(0x1e0)]()):this['config'][_0x6a2dc4(0x265)]={'localIdentifier':helper[_0x6a2dc4(0x1e0)]()});this['config'][_0x6a2dc4(0x265)]['skipBinaryInitialisation']=helper[_0x6a2dc4(0x20a)](this[_0x6a2dc4(0x180)]['browserStackLocalOptions'][_0x6a2dc4(0x231)]),helper[_0x6a2dc4(0x1ad)](this[_0x6a2dc4(0x180)]);if(_0xb6108b[_0x6a2dc4(0x198)](_0x37746f,_0xb6108b[_0x6a2dc4(0x1ce)]))return;this['handleExceptions']();process[_0x6a2dc4(0x242)][_0x6a2dc4(0x226)]&&(this[_0x6a2dc4(0x180)][_0x6a2dc4(0x1ee)]=helper['isTrue'](process[_0x6a2dc4(0x242)]['BROWSERSTACK_TURBOSCALE']),this['config'][_0x6a2dc4(0x179)]=this['config']['turboScaleOptions']||{});helper[_0x6a2dc4(0x1c5)](this['config'])&&(process[_0x6a2dc4(0x242)][_0x6a2dc4(0x226)]=!![]);LoadTestModule[_0x6a2dc4(0x1ba)](this[_0x6a2dc4(0x180)])&&logger[_0x6a2dc4(0x203)](_0x6a2dc4(0x1ab)+this['sdkRunId']);if(!helper[_0x6a2dc4(0x21e)]()){try{process[_0x6a2dc4(0x242)]['FRAMEWORK']=_0x37746f,utilities[_0x6a2dc4(0x222)](_0xb6108b[_0x6a2dc4(0x230)],{},this[_0x6a2dc4(0x180)],this[_0x6a2dc4(0x17a)]);}catch(_0x4d9271){logger['debug']('Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20'+_0x4d9271);}return;}if(helper[_0x6a2dc4(0x1cf)](_0x37746f)){if(global['__isPlaywrightInstalled'])return;_0xb6108b[_0x6a2dc4(0x17f)](_0xb6108b[_0x6a2dc4(0x27f)](parseInt,helper[_0x6a2dc4(0x244)](_0xb6108b[_0x6a2dc4(0x190)])),0x3)&&(this[_0x6a2dc4(0x180)][_0x6a2dc4(0x1de)]=![]),_0xb6108b[_0x6a2dc4(0x198)](helper[_0x6a2dc4(0x23b)](helper[_0x6a2dc4(0x244)](_0xb6108b[_0x6a2dc4(0x190)]),_0xb6108b[_0x6a2dc4(0x1b8)]),0x1)&&(this[_0x6a2dc4(0x180)][_0x6a2dc4(0x1de)]=!![]);}(helper[_0x6a2dc4(0x267)](this[_0x6a2dc4(0x180)]['platforms'])||helper[_0x6a2dc4(0x267)](this['config']['platforms'][_0x6a2dc4(0x273)]))&&(helper['isUndefined'](this[_0x6a2dc4(0x180)]['parallelsPerPlatform'])?logger[_0x6a2dc4(0x1d8)](_0xb6108b[_0x6a2dc4(0x21c)]):logger[_0x6a2dc4(0x1c8)](_0xb6108b[_0x6a2dc4(0x27b)]),this[_0x6a2dc4(0x180)]['platforms']=[]);!this[_0x6a2dc4(0x180)][_0x6a2dc4(0x193)]&&(this[_0x6a2dc4(0x180)][_0x6a2dc4(0x193)]={});try{process['env'][_0x6a2dc4(0x252)]=_0xfe6bd4['_'][0x0],utilities['fireFunnelTestEvent'](_0xb6108b[_0x6a2dc4(0x230)],{},this[_0x6a2dc4(0x180)],this[_0x6a2dc4(0x17a)]);}catch(_0x264693){logger[_0x6a2dc4(0x203)]('Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20'+_0x264693);}!this[_0x6a2dc4(0x180)][_0x6a2dc4(0x1ac)]&&logger[_0x6a2dc4(0x1d8)](constants[_0x6a2dc4(0x19a)]),this[_0x6a2dc4(0x1ca)]=this[_0x6a2dc4(0x1ca)][_0x6a2dc4(0x257)](this),process['on'](_0xb6108b[_0x6a2dc4(0x1f6)],this[_0x6a2dc4(0x1ca)]),process['on'](_0xb6108b[_0x6a2dc4(0x25f)],this[_0x6a2dc4(0x1ca)]),process['on'](_0xb6108b['ygThE'],this[_0x6a2dc4(0x1ca)]),_0xb6108b[_0x6a2dc4(0x279)](process[_0x6a2dc4(0x1b3)],_0xb6108b[_0x6a2dc4(0x285)])?(process['on'](_0xb6108b[_0x6a2dc4(0x1d5)],this[_0x6a2dc4(0x1ca)]),process['on'](_0xb6108b[_0x6a2dc4(0x18e)],this[_0x6a2dc4(0x1ca)])):process['on'](_0xb6108b[_0x6a2dc4(0x202)],this[_0x6a2dc4(0x1ca)]),process['on'](_0xb6108b['rrIFL'],this['exitHandler']());}async[a94_0x56d405(0x1a4)](_0x1f2035){const _0x423b50=a94_0x56d405,_0x3a4c04={'XDBsH':_0x423b50(0x24c),'YoKnc':'custom-repeater','qnaxr':'true','krEpN':function(_0x462562,_0x4a477e){return _0x462562===_0x4a477e;},'nYUGt':_0x423b50(0x188),'hdXMM':function(_0x1e5653,_0x398fe7){return _0x1e5653+_0x398fe7;},'IDzoF':_0x423b50(0x1a1),'XilQo':function(_0x231d74,_0x3c2894){return _0x231d74(_0x3c2894);},'LFImr':'codeceptjs'};this[_0x423b50(0x234)](_0x1f2035);if(helper['isTurboScaleSession'](this['config'])){const _0x46c70f=await helper[_0x423b50(0x1af)](this['config']);this['config']['turboScaleGridDetails']=_0x46c70f,_0x46c70f['isTrialGrid']&&helper['isNotUndefined'](this[_0x423b50(0x180)][_0x423b50(0x1ec)])&&helper[_0x423b50(0x20a)](this[_0x423b50(0x180)][_0x423b50(0x1ec)])&&(this[_0x423b50(0x180)][_0x423b50(0x265)][_0x423b50(0x25a)]=_0x3a4c04[_0x423b50(0x227)],this[_0x423b50(0x180)][_0x423b50(0x265)][_0x3a4c04[_0x423b50(0x225)]]=_0x46c70f[_0x423b50(0x1a7)][_0x423b50(0x270)](','),this[_0x423b50(0x180)]['browserStackLocalOptions']['forceLocal']=_0x3a4c04[_0x423b50(0x229)]),this[_0x423b50(0x180)][_0x423b50(0x1bd)]=_0x46c70f[_0x423b50(0x23e)],this['framework']&&_0x3a4c04[_0x423b50(0x21f)](this['framework']['toLowerCase'](),_0x3a4c04[_0x423b50(0x23f)])?this['config'][_0x423b50(0x1bd)]=_0x3a4c04['hdXMM'](_0x46c70f[_0x423b50(0x27c)],_0x3a4c04[_0x423b50(0x18f)]):constants[_0x423b50(0x186)]=helper[_0x423b50(0x1b4)](this[_0x423b50(0x180)]),logger[_0x423b50(0x203)](_0x423b50(0x20e)+constants['hubUrl']);}helper[_0x423b50(0x208)](this['config']),this[_0x423b50(0x19d)](),_0x3a4c04[_0x423b50(0x24a)](setPercyFlag,this),await this[_0x423b50(0x284)](),![_0x3a4c04[_0x423b50(0x1ef)],_0x3a4c04['nYUGt']][_0x423b50(0x233)](this[_0x423b50(0x17a)])&&!helper[_0x423b50(0x1c5)](this[_0x423b50(0x180)])&&!helper['getCentralUser']()[_0x423b50(0x25c)]&&await this[_0x423b50(0x187)]();}async[a94_0x56d405(0x1f9)](){const _0x5e7ee5=a94_0x56d405,_0x489a53={};_0x489a53[_0x5e7ee5(0x21d)]=function(_0x534c0f,_0x2daaea){return _0x534c0f===_0x2daaea;},_0x489a53[_0x5e7ee5(0x266)]=_0x5e7ee5(0x1e9),_0x489a53['KdYsu']='Could\x20not\x20start\x20percy,\x20check\x20percy\x20logs\x20for\x20info.',_0x489a53[_0x5e7ee5(0x1a6)]=_0x5e7ee5(0x1e4),_0x489a53[_0x5e7ee5(0x1eb)]=_0x5e7ee5(0x22c),_0x489a53[_0x5e7ee5(0x192)]=_0x5e7ee5(0x213);const _0x5b2634=_0x489a53;if(helper['isTrue'](this[_0x5e7ee5(0x180)]['percy'])&&(!this[_0x5e7ee5(0x264)]||!this['percy'][_0x5e7ee5(0x255)]()))try{this[_0x5e7ee5(0x264)]=await percyHelper['startPercy'](this[_0x5e7ee5(0x180)]);if(!this['percy']){process[_0x5e7ee5(0x242)]['BROWSERSTACK_PERCY']=_0x5b2634[_0x5e7ee5(0x266)];throw new Error(_0x5b2634[_0x5e7ee5(0x1d6)]);}logger[_0x5e7ee5(0x1d8)](_0x5b2634[_0x5e7ee5(0x1a6)]),process[_0x5e7ee5(0x242)][_0x5e7ee5(0x1c6)]=_0x5b2634['YfYdg'];let _0x277f5f=0x0;const _0x280a1a=async()=>{const _0xe0eaa4=_0x5e7ee5;_0x277f5f++,_0x5b2634[_0xe0eaa4(0x21d)](_0x277f5f,0x1)&&await this['stopPercy']();};process['on'](_0x5b2634['ItMbl'],_0x280a1a);}catch(_0xde634b){process[_0x5e7ee5(0x242)][_0x5e7ee5(0x1c6)]=_0x5b2634[_0x5e7ee5(0x266)],logger[_0x5e7ee5(0x203)](_0x5e7ee5(0x1d2)+_0xde634b);throw new Error(_0xde634b['toString']());}}async[a94_0x56d405(0x287)](){const _0x1f0d9c=a94_0x56d405,_0x4fce06={};_0x4fce06[_0x1f0d9c(0x1ea)]=_0x1f0d9c(0x276),_0x4fce06['vEMsc']=_0x1f0d9c(0x1dc);const _0x16b81b=_0x4fce06;if(this[_0x1f0d9c(0x264)]&&this[_0x1f0d9c(0x264)][_0x1f0d9c(0x255)]())try{await percyHelper['stopPercy'](this[_0x1f0d9c(0x264)]),logger[_0x1f0d9c(0x1d8)](_0x16b81b[_0x1f0d9c(0x1ea)]);}catch(_0x13e556){logger[_0x1f0d9c(0x1fa)](_0x16b81b[_0x1f0d9c(0x250)],_0x13e556['message']);}}async[a94_0x56d405(0x284)](){const _0x57e1a8=a94_0x56d405,_0x5e699f={};_0x5e699f[_0x57e1a8(0x1b5)]=_0x57e1a8(0x22a),_0x5e699f['diPLY']='Local\x20binary\x20started\x20successfully';const _0x1377a8=_0x5e699f;if(helper['isBrowserstackInfra']()&&helper['isTrue'](this['config'][_0x57e1a8(0x1ec)])&&(!this[_0x57e1a8(0x1ec)]||!this[_0x57e1a8(0x1ec)][_0x57e1a8(0x255)]()))try{if(this[_0x57e1a8(0x180)]['browserStackLocalOptions'][_0x57e1a8(0x231)]){logger[_0x57e1a8(0x203)](_0x1377a8['SPrxV']);return;}this[_0x57e1a8(0x1ec)]=await helper[_0x57e1a8(0x196)](this['config']),logger[_0x57e1a8(0x1d8)](_0x1377a8[_0x57e1a8(0x1f2)]);}catch(_0xd963c){logger[_0x57e1a8(0x203)](_0xd963c);throw new Error(_0xd963c['toString']());}}async['stopBrowserstackLocal'](){const _0x1e3cb4=a94_0x56d405,_0x40858a={};_0x40858a[_0x1e3cb4(0x26b)]=_0x1e3cb4(0x251),_0x40858a[_0x1e3cb4(0x1dd)]='Error\x20occured\x20while\x20stopping\x20local\x20binary';const _0x249cdf=_0x40858a;if(this[_0x1e3cb4(0x1ec)]&&this[_0x1e3cb4(0x1ec)][_0x1e3cb4(0x255)]())try{await helper[_0x1e3cb4(0x238)](this['browserstackLocal']),logger[_0x1e3cb4(0x1d8)](_0x249cdf[_0x1e3cb4(0x26b)]);}catch(_0x13149a){logger[_0x1e3cb4(0x1fa)](_0x249cdf['fXyDo'],_0x13149a['message']);}}async[a94_0x56d405(0x187)](){const _0x49d30a=a94_0x56d405;return PerformanceTester[_0x49d30a(0x26f)](PerformanceAutEvents['HUB_MANAGEMENT'],async()=>{const _0x155439=_0x49d30a;await hubAllocator['allocateHub'](this[_0x155439(0x180)]);})();}async['setupTCGAuth'](){const _0x17f24d=a94_0x56d405,_0x563c5d={'GQPXB':function(_0x18b0e1,_0x537382){return _0x18b0e1(_0x537382);},'Fjhod':_0x17f24d(0x17c),'RyTFM':function(_0x3a2e1d,_0x44293d,_0x2f8fbd,_0x36c7dc,_0x267b51,_0x409553,_0x1bda0f){return _0x3a2e1d(_0x44293d,_0x2f8fbd,_0x36c7dc,_0x267b51,_0x409553,_0x1bda0f);},'PNGOi':_0x17f24d(0x1d1),'Inxbh':_0x17f24d(0x281),'clUHH':function(_0xb9cc7a,_0xfda421){return _0xb9cc7a(_0xfda421);},'qSMMg':_0x17f24d(0x271),'pAuoz':_0x17f24d(0x20c),'mmnKN':function(_0x3ce4c8,_0x54bb42){return _0x3ce4c8(_0x54bb42);},'nVBkj':function(_0x5faa6a,_0x4aa5f1){return _0x5faa6a===_0x4aa5f1;},'cNiuq':_0x17f24d(0x22c),'rufIF':function(_0x4e51d8,_0x3f42ad){return _0x4e51d8===_0x3f42ad;},'oITLA':'Please\x20upgrade\x20Browserstack\x20SDK\x20to\x20the\x20latest\x20version\x20to\x20use\x20the\x20self-healing\x20feature.','YbVWw':'Something\x20went\x20wrong.\x20Disabling\x20healing\x20for\x20this\x20session.\x20Please\x20try\x20again\x20later.','qlzVM':'Authentication\x20Failed.\x20Disabling\x20Healing\x20for\x20this\x20session.','RpbEN':'Healing\x20is\x20not\x20enabled\x20for\x20your\x20group,\x20please\x20contact\x20the\x20admin','Lnhmb':function(_0x24d488,_0x3c9013){return _0x24d488>=_0x3c9013;},'AAvhn':function(_0x420753,_0x252657){return _0x420753<_0x252657;},'TKDjF':function(_0x58523f,_0x427c5b){return _0x58523f>=_0x427c5b;},'Gyith':_0x17f24d(0x214),'hYBFw':_0x17f24d(0x24e),'jUKzL':function(_0x445851){return _0x445851();}},_0x24b433=PerformanceTester[_0x17f24d(0x26f)](_0x563c5d[_0x17f24d(0x26a)],async()=>{const _0x2bca2c=_0x17f24d;try{const _0x3b3050=new Date(),_0x35d474=helper[_0x2bca2c(0x221)](this['config']),_0x585c0d=_0x563c5d['GQPXB'](require,path[_0x2bca2c(0x270)](__dirname,_0x563c5d[_0x2bca2c(0x236)])),_0x45eabb=_0x563c5d[_0x2bca2c(0x183)](timeoutPromise,constants[_0x2bca2c(0x1e5)],_0x563c5d[_0x2bca2c(0x1c7)],_0x563c5d[_0x2bca2c(0x185)],_0x3b3050,this[_0x2bca2c(0x180)],this[_0x2bca2c(0x17a)]),_0x26571b={'tcgUrl':constants['TCG_URL'],'sdkVersion':_0x563c5d[_0x2bca2c(0x1f5)](require,_0x563c5d[_0x2bca2c(0x211)])[_0x2bca2c(0x1a3)],'methodUsed':_0x563c5d['pAuoz'],'proxyConfig':_0x35d474,'os':os['platform']()};if(_0x35d474&&_0x35d474[_0x2bca2c(0x19c)]){utilities[_0x2bca2c(0x222)](constants['AI_PROXY_FAILURE'],_0x26571b,this[_0x2bca2c(0x180)],this[_0x2bca2c(0x17a)]);return;}const _0xeb8d00={};_0xeb8d00['proxy']=_0x35d474;const _0x541462=await Promise[_0x2bca2c(0x1f0)]([_0x585c0d[_0x2bca2c(0x263)](this['config'][_0x2bca2c(0x282)],this[_0x2bca2c(0x180)]['userName'],constants[_0x2bca2c(0x178)],_0x563c5d[_0x2bca2c(0x280)](require,_0x563c5d[_0x2bca2c(0x211)])[_0x2bca2c(0x1a3)],_0xeb8d00)[_0x2bca2c(0x253)](_0x78707c=>{const _0x15f3aa=_0x2bca2c;return _0x45eabb[_0x15f3aa(0x223)](),_0x78707c;}),_0x45eabb]);_0x541462[_0x2bca2c(0x25d)]=_0x563c5d[_0x2bca2c(0x1c1)](_0x541462[_0x2bca2c(0x25d)],_0x563c5d[_0x2bca2c(0x256)])||_0x563c5d[_0x2bca2c(0x1c1)](_0x541462[_0x2bca2c(0x25d)],!![]);const _0x420c06=_0x563c5d[_0x2bca2c(0x19e)](this[_0x2bca2c(0x180)][_0x2bca2c(0x18c)],!![])||_0x563c5d[_0x2bca2c(0x1c1)](this[_0x2bca2c(0x180)]['selfHeal'],_0x563c5d[_0x2bca2c(0x256)]);if(_0x563c5d[_0x2bca2c(0x1c1)](_0x541462['message'],constants[_0x2bca2c(0x228)])&&_0x420c06)logger[_0x2bca2c(0x1d8)](_0x563c5d[_0x2bca2c(0x27a)]);else{if(!_0x541462['isAuthenticated']&&_0x563c5d[_0x2bca2c(0x1c1)](_0x541462[_0x2bca2c(0x20d)],0x1f7)&&_0x420c06)logger[_0x2bca2c(0x1d8)](_0x563c5d['YbVWw']),utilities[_0x2bca2c(0x222)](constants[_0x2bca2c(0x1c2)],_0x26571b,this[_0x2bca2c(0x180)],this['framework']);else{if(!_0x541462[_0x2bca2c(0x1be)]&&_0x420c06){logger[_0x2bca2c(0x1d8)](_0x563c5d[_0x2bca2c(0x1b2)]);const _0x22138d={'tcgUrl':constants['TCG_URL'],'sdkVersion':_0x563c5d[_0x2bca2c(0x1f5)](require,_0x563c5d[_0x2bca2c(0x211)])[_0x2bca2c(0x1a3)],'methodUsed':_0x563c5d[_0x2bca2c(0x1d3)],'proxyConfig':_0x35d474,'os':os[_0x2bca2c(0x1b3)]()};utilities[_0x2bca2c(0x222)](constants[_0x2bca2c(0x1a2)],_0x22138d,this[_0x2bca2c(0x180)],this[_0x2bca2c(0x17a)]);}else{if(_0x541462[_0x2bca2c(0x1be)]&&!_0x541462[_0x2bca2c(0x25d)]&&_0x420c06)logger[_0x2bca2c(0x1d8)](_0x563c5d[_0x2bca2c(0x23d)]);else{if(_0x563c5d[_0x2bca2c(0x22e)](_0x541462[_0x2bca2c(0x20d)],0xc8)&&_0x563c5d[_0x2bca2c(0x22f)](_0x541462[_0x2bca2c(0x20d)],0x12c))utilities[_0x2bca2c(0x222)](constants[_0x2bca2c(0x1cb)],_0x26571b,this[_0x2bca2c(0x180)],this[_0x2bca2c(0x17a)]);else{if(_0x563c5d[_0x2bca2c(0x215)](_0x541462['status'],0x190))_0x26571b[_0x2bca2c(0x20d)]=_0x541462[_0x2bca2c(0x20d)],utilities[_0x2bca2c(0x222)](constants['AI_INIT_FAILURE'],_0x26571b,this[_0x2bca2c(0x180)],this[_0x2bca2c(0x17a)]);else!_0x541462[_0x2bca2c(0x20d)]&&utilities[_0x2bca2c(0x222)](constants[_0x2bca2c(0x1fe)],_0x26571b,this['config'],this[_0x2bca2c(0x17a)]);}}}}}if(_0x541462[_0x2bca2c(0x1be)]&&_0x541462['isHealingEnabled']){const _0x57d1f9={};_0x57d1f9['tcgAuthConfig']=_0x541462;const _0x4c7a13=_0x57d1f9;_0x35d474&&(_0x4c7a13['proxyConfig']=_0x35d474),_0x4c7a13[_0x2bca2c(0x17a)]=this[_0x2bca2c(0x17a)],_0x4c7a13[_0x2bca2c(0x260)]=this[_0x2bca2c(0x180)],helper[_0x2bca2c(0x248)](_0x4c7a13),logger[_0x2bca2c(0x203)](_0x563c5d[_0x2bca2c(0x237)]);}}catch(_0x18e5e4){logger[_0x2bca2c(0x203)](_0x2bca2c(0x1c4)+(_0x18e5e4[_0x2bca2c(0x241)]?_0x18e5e4[_0x2bca2c(0x241)]:''));}});await _0x563c5d[_0x17f24d(0x189)](_0x24b433);}[a94_0x56d405(0x19d)](){const _0x125e06=a94_0x56d405,_0x3a7861={'EOBWd':function(_0x224120,_0x2d6c18){return _0x224120(_0x2d6c18);},'CLIgL':_0x125e06(0x247)};_0x3a7861[_0x125e06(0x1cd)](require,_0x3a7861['CLIgL'])();}[a94_0x56d405(0x259)](){const _0x2ec16d=a94_0x56d405,_0x1f6226={};_0x1f6226['uIVbj']=_0x2ec16d(0x23a),_0x1f6226['jfjxz']='unhandledRejection',_0x1f6226[_0x2ec16d(0x1b6)]=_0x2ec16d(0x24b);const _0x3601ad=_0x1f6226,_0x5eb9ad=_0x570c21=>{const _0x341891=_0x2ec16d,_0x42f06b=_0x3601ad[_0x341891(0x1f1)][_0x341891(0x239)]('|');let _0x16ea9e=0x0;while(!![]){switch(_0x42f06b[_0x16ea9e++]){case'0':this[_0x341891(0x1da)][_0x341891(0x1f8)](util['format']('%j',_0x570c21));continue;case'1':PerformanceTester[_0x341891(0x1a0)](_0x570c21);continue;case'2':logger[_0x341891(0x203)](util[_0x341891(0x1e6)](_0x570c21));continue;case'3':ClientTroubleShootingService['reportFinalDetectionState']();continue;case'4':logger['error'](_0x570c21[_0x341891(0x241)]);continue;}break;}};process['on'](_0x3601ad[_0x2ec16d(0x1a8)],_0x5eb9ad),process['on'](_0x3601ad[_0x2ec16d(0x1b6)],_0x5eb9ad);}async[a94_0x56d405(0x1ca)](_0x49fe93){const _0x17f395=a94_0x56d405,_0x3ed1ad={};_0x3ed1ad['sxExz']=_0x17f395(0x232),_0x3ed1ad[_0x17f395(0x1f7)]=function(_0x4b6be5,_0x340ae8){return _0x4b6be5+_0x340ae8;},_0x3ed1ad[_0x17f395(0x1d9)]=_0x17f395(0x20f),_0x3ed1ad[_0x17f395(0x1d0)]=_0x17f395(0x269),_0x3ed1ad[_0x17f395(0x277)]=function(_0x30647c,_0x16b19d){return _0x30647c+_0x16b19d;};const _0x306f6e=_0x3ed1ad,_0xadb4ad=_0x306f6e[_0x17f395(0x246)][_0x17f395(0x239)]('|');let _0x2b9c72=0x0;while(!![]){switch(_0xadb4ad[_0x2b9c72++]){case'0':await BrowserstackCLI[_0x17f395(0x288)]()['stop']();continue;case'1':this[_0x306f6e[_0x17f395(0x1f7)](_0x306f6e[_0x17f395(0x1d9)],_0x49fe93)]=!![];continue;case'2':await ClientTroubleShootingService[_0x17f395(0x210)](_0x49fe93);continue;case'3':await TestHubHandler['stop'](_0x49fe93);continue;case'4':this['killSignal']=_0x49fe93;continue;case'5':logger[_0x17f395(0x1d8)](_0x306f6e[_0x17f395(0x1f7)](_0x306f6e[_0x17f395(0x1d0)],_0x49fe93));continue;case'6':if(this[_0x306f6e['MdAFK'](_0x306f6e[_0x17f395(0x1d9)],_0x49fe93)])return;continue;case'7':await ClientTroubleShootingService[_0x17f395(0x1c3)]();continue;}break;}}[a94_0x56d405(0x191)](){const _0x16f8f4=a94_0x56d405,_0x1da39a={'DQtxj':function(_0x38d339,_0x4a1ac2){return _0x38d339===_0x4a1ac2;},'SFgMf':'Calling\x20Build\x20Stop\x20from\x20ExitHandler','FIyQb':function(_0x2a1da5,_0x2ee297){return _0x2a1da5>_0x2ee297;},'TcRar':function(_0x5da8ef,_0x31be58){return _0x5da8ef>_0x31be58;},'VsXXr':function(_0x2342c5,_0x4f444e){return _0x2342c5(_0x4f444e);},'bASBT':function(_0x2c6a79){return _0x2c6a79();},'fWCKF':_0x16f8f4(0x19f)};let _0x51f836=0x0;return async()=>{const _0x487f85=_0x16f8f4;_0x51f836++;if(_0x1da39a[_0x487f85(0x23c)](_0x51f836,0x1)){helper[_0x487f85(0x19b)](this[_0x487f85(0x17a)])&&await this[_0x487f85(0x286)]();try{logger[_0x487f85(0x203)](_0x1da39a['SFgMf']),await TestHubHandler[_0x487f85(0x182)](_0x51f836),await ClientTroubleShootingService[_0x487f85(0x1c3)](),await BrowserstackCLI[_0x487f85(0x288)]()[_0x487f85(0x182)]('1');}catch(_0x5a8a0d){logger[_0x487f85(0x203)](_0x487f85(0x1bf)+util[_0x487f85(0x1e6)](_0x5a8a0d));}PerformanceTester[_0x487f85(0x1e8)](PerformanceEvents[_0x487f85(0x1bc)]);if(PerformanceTester[_0x487f85(0x278)]()){const {measures:_0x404e6d,errors:_0x44638a}=await PerformanceTester['finalize'](),_0x282952={};if(_0x404e6d&&_0x1da39a['FIyQb'](_0x404e6d[_0x487f85(0x273)],0x0)||_0x44638a&&_0x1da39a['TcRar'](_0x44638a[_0x487f85(0x273)],0x0)){const _0x1a4011={};_0x1a4011[_0x487f85(0x1fd)]=_0x404e6d,_0x1a4011[_0x487f85(0x1b9)]=_0x44638a,Object[_0x487f85(0x209)](_0x282952,_0x1a4011);}try{const _0x5c381d=await helper[_0x487f85(0x272)](_0x282952,this[_0x487f85(0x180)]);logger[_0x487f85(0x203)]('Data\x20sent\x20successfully\x20to\x20'+_0x1da39a[_0x487f85(0x224)](getEdsInstrumentationAPIUrl,'')+_0x487f85(0x1b0)+_0x5c381d[_0x487f85(0x22d)]);}catch(_0x322687){logger[_0x487f85(0x203)](_0x487f85(0x1b1)+_0x1da39a[_0x487f85(0x224)](getEdsInstrumentationAPIUrl,'')+_0x487f85(0x18b)+util[_0x487f85(0x1e6)](_0x322687));}try{fs['writeFileSync'](path['join'](_0x1da39a[_0x487f85(0x258)](getLogDir),_0x1da39a[_0x487f85(0x235)]),JSON[_0x487f85(0x206)](_0x282952));}catch(_0x31527f){logger[_0x487f85(0x203)]('Error\x20in\x20writing\x20events\x20to\x20file\x20'+_0x31527f);}}}logger&&logger[_0x487f85(0x26d)](),fileLogger&&fileLogger[_0x487f85(0x26d)]();};}}exports[a94_0x56d405(0x1e1)]=BrowserStackSetup;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a95_0x4b98(){const _0xa6a169=['evaluate','saveAccessibilityResultsWithRetry','DySOA','debug','All\x20accessibility\x20scan\x20attempts\x20failed\x20for\x20method:\x20','selenium-webdriver','734213kspdIK','../logger','LvMNV','lGRHC','getAccessibilityResults','isSeleniumDriver','summary','message','defaultTimeoutMs','timeoutMs','\x20for\x20method:\x20','Uqxrd','Ojdkm','updateRetryConfig','error','dCfDq','Playwright\x20accessibility\x20helper\x20not\x20available','ms\x20using\x20timeouts()\x20API','Skipping\x20timeout\x20setting\x20for\x20','Accessibility\x20results\x20retrieval\x20attempt\x20','LUgam','PERFORM_SCAN','Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20','All\x20accessibility\x20results\x20summary\x20retrieval\x20attempts\x20failed\x20(','setScriptTimeout','./scripts','IdREi','1420216HLtXjT','rCvfR','results','bDBEv','Accessibility\x20results\x20retrieved\x20successfully\x20on\x20attempt\x20','Uoxkk','options','edwlZ','4ddKjRx','NcRaK','unknown','getGlobal','itobt','goto','RezAb','OvHXH','SDGUm','TZcYP','):\x20','executeAsyncScript','DufBk','Set\x20Playwright\x20page\x20default\x20timeout\x20to\x20','eNDOz','accessibilityConfig','isAccessibilityAutomationSession','Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20','reason','manage',')\x20with\x20error:\x20','Failed\x20to\x20set\x20Playwright\x20script\x20timeout:\x20','atviz','3441990NNDnUf','browserstackSessionName',').\x20Last\x20error:\x20','1894364jIsCSy','mzIvz','value','race','browserStackEvaluate','oNRej','118725aerjmi','Selenium\x20WebDriver\x20timeout\x20API\x20not\x20available,\x20skipping\x20timeout\x20setting','info','scanSucceeded','JBwiD','getAccessibilityResultsSummary','Accessibility\x20results\x20save\x20attempt\x20','Failed\x20to\x20retrieve\x20accessibility\x20results\x20(','Scan\x20attempt\x20','qUYaX','aVhaT','getRetryConfig','fulfilled','Rsurg','SIZJZ','ipGwg','bstackA11yShouldScan','miAaJ','6wRRelh','xDuUd','odqwz',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary\x20with\x20retry.','Selenium\x20WebDriver\x20manage()\x20method\x20not\x20available,\x20skipping\x20timeout\x20setting','accessibilityPlatform','BYxkB','cbrxL','status','setDefaultTimeout','QWMiN','Unknown\x20error\x20during\x20comprehensive\x20accessibility\x20scan','wNwQO','winstonLogger','allSettled','29166948VVbTrP','rQgWh','performScanWithRetry','oSJVb','function','UZjUM','All\x20accessibility\x20results\x20save\x20attempts\x20failed\x20(','getId','RrEGM','../../bin/v2/browserstackCLI','undefined','__workerDetails','playwright-page','Failed\x20to\x20set\x20Selenium\x20script\x20timeout:\x20','osUSE','name','CVeRZ','\x20failed\x20for\x20method:\x20','setSeleniumScriptTimeout','fShYM','Comprehensive\x20accessibility\x20scan\x20failed\x20(','Accessibility\x20scan\x20attempt\x20','getInstance','Operation\x20timed\x20out\x20after\x20','pPQaS','BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT',').\x20Error:\x20','isAccessibilityPlatform','iPTVA','getAccessibilityModule',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20with\x20retry.','mQxLC','ASwXz','getAccessibilityResultsWithRetry','RiiBZ','warn','isPlaywright','performScan','url','aiLkr','./helper','All\x20accessibility\x20results\x20retrieval\x20attempts\x20failed\x20(','ulEqt','max','setPlaywrightScriptTimeout','capabilitiesList','cWRMm','Accessibility\x20retry\x20configuration\x20updated:\x20','nGMfH','fuDan','performComprehensiveAccessibilityScanWithRetry','getCurrentUrl','driverType','ozqul','env','\x20failed\x20(','saveTestResults','timeouts','unknown_method','isPlaywrightPage','SbMfJ','WebDriver','Accessibility\x20results\x20saved\x20successfully\x20on\x20attempt\x20','knXCJ','../../bin/playwright/accessibility-helper','PDxfo','Unknown\x20driver/page\x20type:\x20','Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20','esKmq','script','wZjYs','playwright-codecept-driver','setTimeouts','bAgNs','Accessibility\x20scan\x20succeeded\x20on\x20attempt\x20','YLAap','6031088oXOKsz','Unknown\x20error','../performance/performance-tester','TJOHD','CnMfc','getAccessibilityResultsSummaryWithRetry','type','jMjHa','constructor','uRPAh','PxGQI','currentTest','Playwright','xxAYf','util','\x20completed\x20successfully.','maxRetries'];a95_0x4b98=function(){return _0xa6a169;};return a95_0x4b98();}const a95_0xd35fe5=a95_0x3128;(function(_0x51df9d,_0x5e0f2d){const _0x14926a=a95_0x3128,_0x365785=_0x51df9d();while(!![]){try{const _0x45f908=parseInt(_0x14926a(0xcc))/0x1+parseInt(_0x14926a(0x109))/0x2+parseInt(_0x14926a(0x106))/0x3*(parseInt(_0x14926a(0xef))/0x4)+-parseInt(_0x14926a(0x10f))/0x5+-parseInt(_0x14926a(0x121))/0x6*(-parseInt(_0x14926a(0xb5))/0x7)+parseInt(_0x14926a(0xe7))/0x8+-parseInt(_0x14926a(0x130))/0x9;if(_0x45f908===_0x5e0f2d)break;else _0x365785['push'](_0x365785['shift']());}catch(_0x3f0738){_0x365785['push'](_0x365785['shift']());}}}(a95_0x4b98,0x934b7));const util=require(a95_0xd35fe5(0xc3)),logger=require(a95_0xd35fe5(0xcd))[a95_0xd35fe5(0x12e)],accessibilityHelper=require(a95_0xd35fe5(0x91)),globals=require('../globals'),scripts=require(a95_0xd35fe5(0xe5)),PerformanceTester=require(a95_0xd35fe5(0xb7)),{A11Y_EVENTS:PerformanceA11yEvents}=require('../performance/constants'),BrowserstackCLI=require(a95_0xd35fe5(0x139));let playwrightA11yHelper=null;function a95_0x3128(_0x580525,_0x16235f){const _0x4b98a7=a95_0x4b98();return a95_0x3128=function(_0x3128a4,_0x362831){_0x3128a4=_0x3128a4-0x90;let _0x1a19fb=_0x4b98a7[_0x3128a4];return _0x1a19fb;},a95_0x3128(_0x580525,_0x16235f);}try{playwrightA11yHelper=require(a95_0xd35fe5(0xa9));}catch(a95_0x46ed85){logger[a95_0xd35fe5(0xc9)](a95_0xd35fe5(0xdc));}const a95_0x19ba84={};a95_0x19ba84[a95_0xd35fe5(0xc5)]=0x1,a95_0x19ba84[a95_0xd35fe5(0xd5)]=0x7530,a95_0x19ba84[a95_0xd35fe5(0xd4)]=0x7530;const RETRY_CONFIG=a95_0x19ba84,setConfigTimeout=(_0x56bcd8,_0x4b4f55=null)=>{const _0x25fc1a=a95_0xd35fe5,_0x2adf40={'rZYzL':function(_0x5c378c,_0x3a9e61){return _0x5c378c===_0x3a9e61;},'Uqxrd':'scannerProcessingTimeout','oUAGC':function(_0x12d6a4,_0x526daa){return _0x12d6a4*_0x526daa;},'iKcEp':function(_0x25bd3d,_0x8017b){return _0x25bd3d(_0x8017b);},'BYxkB':function(_0x4ed427,_0x14163c){return _0x4ed427*_0x14163c;}};if(BrowserstackCLI['getInstance']()['isRunning']()&&BrowserstackCLI[_0x25fc1a(0x146)]()[_0x25fc1a(0x14d)]()){const _0x183322=BrowserstackCLI[_0x25fc1a(0x146)]()[_0x25fc1a(0x14d)]()[_0x25fc1a(0xfe)],_0x5cbd81=_0x183322[_0x25fc1a(0xed)][_0x25fc1a(0x96)]||[];for(const _0x5805a2 of _0x5cbd81){_0x2adf40['rZYzL'](_0x5805a2[_0x25fc1a(0x13f)],_0x2adf40[_0x25fc1a(0xd7)])&&_0x2adf40['rZYzL'](_0x4b4f55,null)&&(_0x56bcd8[_0x25fc1a(0xd5)]=_0x2adf40['oUAGC'](_0x2adf40['iKcEp'](parseInt,_0x5805a2[_0x25fc1a(0x10b)]),0x3e8));}}else process[_0x25fc1a(0x9f)][_0x25fc1a(0x149)]&&(_0x56bcd8[_0x25fc1a(0xd5)]=_0x2adf40[_0x25fc1a(0x127)](_0x2adf40['iKcEp'](parseInt,process[_0x25fc1a(0x9f)]['BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT']),0x3e8));},detectDriverType=_0x372819=>{const _0x719f66=a95_0xd35fe5,_0x25ddc8={};_0x25ddc8[_0x719f66(0x135)]=_0x719f66(0xf1),_0x25ddc8[_0x719f66(0xbf)]=function(_0x1c7b17,_0x1c886b){return _0x1c7b17===_0x1c886b;},_0x25ddc8[_0x719f66(0xb9)]=_0x719f66(0x134),_0x25ddc8[_0x719f66(0x119)]=_0x719f66(0x13c),_0x25ddc8[_0x719f66(0x93)]=_0x719f66(0xcb),_0x25ddc8[_0x719f66(0x11e)]='Page',_0x25ddc8['lGRHC']=_0x719f66(0xa6),_0x25ddc8[_0x719f66(0xb4)]=function(_0x56007f,_0x4f9fe4){return _0x56007f===_0x4f9fe4;},_0x25ddc8[_0x719f66(0xa5)]=_0x719f66(0xc1),_0x25ddc8['zOHxc']=_0x719f66(0xb0),_0x25ddc8['RiiBZ']=function(_0x14c806,_0x8e7a04){return _0x14c806||_0x8e7a04;},_0x25ddc8['Ojdkm']=_0x719f66(0x13a);const _0x21d0fa=_0x25ddc8;if(!_0x372819){const _0x560e44={};return _0x560e44['isPlaywright']=![],_0x560e44['type']=_0x21d0fa['UZjUM'],_0x560e44;}if(_0x21d0fa['PxGQI'](typeof _0x372819[_0x719f66(0xc6)],_0x21d0fa[_0x719f66(0xb9)])&&_0x21d0fa[_0x719f66(0xbf)](typeof _0x372819[_0x719f66(0x156)],_0x21d0fa[_0x719f66(0xb9)])&&_0x21d0fa[_0x719f66(0xbf)](typeof _0x372819[_0x719f66(0xf4)],_0x21d0fa[_0x719f66(0xb9)])){const _0x3aab6c={};return _0x3aab6c['isPlaywright']=!![],_0x3aab6c['type']=_0x21d0fa[_0x719f66(0x119)],_0x3aab6c;}if(_0x21d0fa['PxGQI'](typeof _0x372819[_0x719f66(0xfa)],_0x21d0fa[_0x719f66(0xb9)])&&_0x21d0fa[_0x719f66(0xbf)](typeof _0x372819['getCapabilities'],_0x21d0fa[_0x719f66(0xb9)])){const _0x1ab27e={};return _0x1ab27e[_0x719f66(0x154)]=![],_0x1ab27e['type']=_0x21d0fa[_0x719f66(0x93)],_0x1ab27e;}const _0x1c591a=_0x372819[_0x719f66(0xbd)]?.[_0x719f66(0x13f)];if(_0x21d0fa['PxGQI'](_0x1c591a,_0x21d0fa[_0x719f66(0x11e)])){const _0x44d24e={};return _0x44d24e[_0x719f66(0x154)]=!![],_0x44d24e[_0x719f66(0xbb)]=_0x21d0fa['aVhaT'],_0x44d24e;}if(_0x21d0fa['PxGQI'](_0x1c591a,_0x21d0fa[_0x719f66(0xcf)])){const _0x38c6f5={};return _0x38c6f5[_0x719f66(0x154)]=![],_0x38c6f5[_0x719f66(0xbb)]=_0x21d0fa[_0x719f66(0x93)],_0x38c6f5;}if(_0x21d0fa['YLAap'](_0x1c591a,_0x21d0fa[_0x719f66(0xa5)])){const _0x4693ba={};return _0x4693ba[_0x719f66(0x154)]=!![],_0x4693ba[_0x719f66(0xbb)]=_0x21d0fa['zOHxc'],_0x4693ba;}logger[_0x719f66(0x153)](_0x719f66(0xab)+_0x21d0fa[_0x719f66(0x152)](_0x1c591a,_0x21d0fa[_0x719f66(0xd8)]));const _0xba9663={};return _0xba9663['isPlaywright']=![],_0xba9663[_0x719f66(0xbb)]=_0x21d0fa['UZjUM'],_0xba9663;},withTimeout=(_0xd09fb1,_0x22ef88)=>{const _0x3f72ca=a95_0xd35fe5;return Promise[_0x3f72ca(0x10c)]([_0xd09fb1,new Promise((_0x4e0e53,_0x17590f)=>setTimeout(()=>_0x17590f(new Error(_0x3f72ca(0x147)+_0x22ef88+'ms')),_0x22ef88))]);};exports[a95_0xd35fe5(0x132)]=async(_0x3c54eb,_0x43d30b=null,_0x3bc5f8=null)=>{const _0x146d50=a95_0xd35fe5,_0x3a50b9={'knXCJ':function(_0x38a67d,_0x292cf4){return _0x38a67d&&_0x292cf4;},'OvHXH':function(_0x31895f,_0x383c33,_0x33eee1){return _0x31895f(_0x383c33,_0x33eee1);},'pPQaS':function(_0x49518e,_0x144a52){return _0x49518e===_0x144a52;},'DufBk':'playwright-codecept-driver','esKmq':function(_0x55ea0f,_0xba4c86,_0x39cbac){return _0x55ea0f(_0xba4c86,_0x39cbac);},'PDxfo':function(_0x5bee86,_0x276fe8,_0x23cbbf){return _0x5bee86(_0x276fe8,_0x23cbbf);},'oSJVb':function(_0x54775c,_0x1bca26){return _0x54775c(_0x1bca26);},'wZjYs':'isAccessibilityPlatform','XvTgA':_0x146d50(0x11f),'SIZJZ':_0x146d50(0xa3),'rQgWh':function(_0x3bf1e6,_0x1ca5a0){return _0x3bf1e6===_0x1ca5a0;},'cbrxL':_0x146d50(0x134),'RADxg':function(_0x37590f,_0x26406f){return _0x37590f===_0x26406f;},'uRPAh':function(_0x2319f0,_0x5947fa){return _0x2319f0===_0x5947fa;},'KhRNR':function(_0x5b7dde,_0x547534){return _0x5b7dde<=_0x547534;},'CVeRZ':function(_0x198da1,_0x24b5b9){return _0x198da1+_0x24b5b9;},'iwCJo':function(_0x3d6129,_0xf19a16){return _0x3d6129+_0xf19a16;},'wvDSe':_0x146d50(0xb6)},{isPlaywright:_0x22f3ef,type:_0x57e6a9}=_0x3a50b9[_0x146d50(0x133)](detectDriverType,_0x3c54eb),_0x2553a6=_0x22f3ef?global[_0x146d50(0x126)]:accessibilityHelper['isAccessibilityAutomationSession']()&&globals[_0x146d50(0xf2)](_0x3a50b9[_0x146d50(0xaf)])&&globals[_0x146d50(0xf2)](_0x3a50b9['XvTgA']);if(!_0x2553a6)return logger[_0x146d50(0x153)](_0x146d50(0x100)+_0x57e6a9+',\x20cannot\x20perform\x20scan\x20with\x20retry.'),![];const _0x1a9258=_0x43d30b||global[_0x146d50(0x107)]||_0x3a50b9[_0x146d50(0x11d)];let _0xf30081=null;const _0xb71dc8={'testhub_btcer_uuid':global[_0x146d50(0x13b)]?.[_0x146d50(0xc0)]?.['id'],'url':_0x3a50b9[_0x146d50(0x131)](typeof _0x3c54eb[_0x146d50(0x156)],_0x3a50b9[_0x146d50(0x128)])?await _0x3c54eb[_0x146d50(0x156)]():_0x3a50b9['RADxg'](typeof _0x3c54eb[_0x146d50(0x9c)],_0x3a50b9[_0x146d50(0x128)])?await _0x3c54eb[_0x146d50(0x9c)]():'','automate_session_id':_0x3a50b9[_0x146d50(0xbe)](typeof _0x3c54eb['getSession'],_0x3a50b9['cbrxL'])?(await _0x3c54eb['getSession']())[_0x146d50(0x137)]():''};for(let _0x2251b6=0x1;_0x3a50b9['KhRNR'](_0x2251b6,_0x3a50b9[_0x146d50(0x140)](RETRY_CONFIG[_0x146d50(0xc5)],0x1));_0x2251b6++){try{return logger[_0x146d50(0xc9)](_0x146d50(0x145)+_0x2251b6+'/'+_0x3a50b9['iwCJo'](RETRY_CONFIG['maxRetries'],0x1)+_0x146d50(0xd6)+_0x1a9258+'\x20('+_0x57e6a9+')'),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x146d50(0xe1)],async()=>{const _0x33ffb5=_0x146d50;let _0x44a500;if(_0x3a50b9[_0x33ffb5(0xa8)](_0x22f3ef,playwrightA11yHelper)){_0x3a50b9[_0x33ffb5(0xf6)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x33ffb5(0x95)](_0x3c54eb,RETRY_CONFIG[_0x33ffb5(0xd5)]);let _0x4d245c=_0x3c54eb;_0x3a50b9[_0x33ffb5(0x148)](_0x57e6a9,_0x3a50b9[_0x33ffb5(0xfb)])&&(_0x4d245c=_0x3c54eb['page']),_0x44a500=await _0x3a50b9[_0x33ffb5(0xad)](withTimeout,playwrightA11yHelper[_0x33ffb5(0x155)](_0x4d245c,_0x1a9258),RETRY_CONFIG['timeoutMs']),await exports['setPlaywrightScriptTimeout'](_0x3c54eb,RETRY_CONFIG[_0x33ffb5(0xd4)]);}else await exports['setSeleniumScriptTimeout'](_0x3c54eb,RETRY_CONFIG[_0x33ffb5(0xd5)]),_0x44a500=await _0x3a50b9[_0x33ffb5(0xaa)](withTimeout,accessibilityHelper[_0x33ffb5(0x155)](_0x3c54eb,_0x1a9258),RETRY_CONFIG['timeoutMs']),await exports['setSeleniumScriptTimeout'](_0x3c54eb,RETRY_CONFIG[_0x33ffb5(0xd4)]);logger[_0x33ffb5(0xc9)](_0x33ffb5(0x117)+_0x2251b6+_0x33ffb5(0xc4));},{'command':_0x1a9258,..._0xb71dc8})(),logger[_0x146d50(0x111)](_0x146d50(0xb3)+_0x2251b6+'.'),!![];}catch(_0x2243f4){_0xf30081=_0x2243f4,logger['debug'](_0x146d50(0x145)+_0x2251b6+_0x146d50(0x141)+_0x1a9258+'\x20('+_0x57e6a9+_0x146d50(0x14a)+_0x2243f4[_0x146d50(0xd3)]);}}return logger[_0x146d50(0xda)](_0x146d50(0xca)+_0x1a9258+'\x20('+_0x57e6a9+_0x146d50(0x103)+(_0xf30081?.[_0x146d50(0xd3)]||_0x3a50b9['wvDSe'])),![];},exports['getAccessibilityResultsWithRetry']=async(_0x454ca2,_0x274513)=>{const _0x10f06d=a95_0xd35fe5,_0x4e73fa={'fuDan':function(_0x3d59fb,_0x58d4bf){return _0x3d59fb(_0x58d4bf);},'jMjHa':'isAccessibilityPlatform','dCfDq':_0x10f06d(0x11f),'aiLkr':function(_0x2dfd64,_0x11c080){return _0x2dfd64<=_0x11c080;},'wNwQO':function(_0x5a95b6,_0x35edd1){return _0x5a95b6+_0x35edd1;},'osUSE':function(_0x377700,_0x22d4a2){return _0x377700+_0x22d4a2;},'shIbk':function(_0x5b2f5c,_0x3f2cd6){return _0x5b2f5c&&_0x3f2cd6;},'ASwXz':function(_0x16090f,_0x3ef9f5,_0x10020a){return _0x16090f(_0x3ef9f5,_0x10020a);},'IdREi':_0x10f06d(0xb6)},{isPlaywright:_0x2c1c04,type:_0x2b1a3f}=_0x4e73fa[_0x10f06d(0x9a)](detectDriverType,_0x454ca2),_0x201516=_0x2c1c04?_0x274513['accessibilityPlatform']:accessibilityHelper[_0x10f06d(0xff)]()&&globals[_0x10f06d(0xf2)](_0x4e73fa[_0x10f06d(0xbc)])&&globals[_0x10f06d(0xf2)](_0x4e73fa[_0x10f06d(0xdb)]);if(!_0x201516)return logger[_0x10f06d(0x153)]('Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20'+_0x2b1a3f+_0x10f06d(0x14e)),[];let _0xad8b1c=null;for(let _0x3a108e=0x1;_0x4e73fa[_0x10f06d(0x90)](_0x3a108e,_0x4e73fa[_0x10f06d(0x12d)](RETRY_CONFIG[_0x10f06d(0xc5)],0x1));_0x3a108e++){try{logger[_0x10f06d(0xc9)]('Accessibility\x20results\x20retrieval\x20attempt\x20'+_0x3a108e+'/'+_0x4e73fa[_0x10f06d(0x13e)](RETRY_CONFIG[_0x10f06d(0xc5)],0x1)+'\x20('+_0x2b1a3f+')');let _0xe4397a;return _0x4e73fa['shIbk'](_0x2c1c04,playwrightA11yHelper)?(_0x4e73fa[_0x10f06d(0x150)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x10f06d(0x95)](_0x454ca2,RETRY_CONFIG['timeoutMs']),_0xe4397a=await _0x4e73fa[_0x10f06d(0x150)](withTimeout,playwrightA11yHelper[_0x10f06d(0xd0)](_0x454ca2),RETRY_CONFIG[_0x10f06d(0xd5)]),await exports[_0x10f06d(0x95)](_0x454ca2,RETRY_CONFIG[_0x10f06d(0xd4)])):(await exports['setSeleniumScriptTimeout'](_0x454ca2,RETRY_CONFIG[_0x10f06d(0xd5)]),_0xe4397a=await _0x4e73fa[_0x10f06d(0x150)](withTimeout,accessibilityHelper['getAccessibilityResults'](_0x454ca2,_0x274513),RETRY_CONFIG['timeoutMs']),await exports[_0x10f06d(0x142)](_0x454ca2,RETRY_CONFIG[_0x10f06d(0xd4)])),logger[_0x10f06d(0x111)](_0x10f06d(0xeb)+_0x3a108e+'\x20('+_0x2b1a3f+')'),_0xe4397a;}catch(_0x337e1a){_0xad8b1c=_0x337e1a,logger[_0x10f06d(0x153)](_0x10f06d(0xdf)+_0x3a108e+_0x10f06d(0xa0)+_0x2b1a3f+_0x10f06d(0x14a)+_0x337e1a['message']);}}return logger[_0x10f06d(0xda)](_0x10f06d(0x92)+_0x2b1a3f+_0x10f06d(0x108)+(_0xad8b1c?.['message']||_0x4e73fa[_0x10f06d(0xe6)])),[];},exports[a95_0xd35fe5(0xba)]=async(_0x257107,_0xaa7e39)=>{const _0x27a4c2=a95_0xd35fe5,_0x12d058={'fShYM':function(_0x4f4819,_0x30393e){return _0x4f4819(_0x30393e);},'fIQKK':_0x27a4c2(0x14b),'odqwz':_0x27a4c2(0x11f),'TJOHD':function(_0x1932ca,_0x5e3ed0){return _0x1932ca<=_0x5e3ed0;},'MaaWI':function(_0x3877b0,_0x23ccd2){return _0x3877b0+_0x23ccd2;},'atviz':function(_0x4f6efe,_0x48afdc){return _0x4f6efe&&_0x48afdc;},'oNRej':function(_0x1a8bc3,_0x1e4714,_0x2db1bc){return _0x1a8bc3(_0x1e4714,_0x2db1bc);},'mzIvz':function(_0x577620,_0x597d0a,_0x48a107){return _0x577620(_0x597d0a,_0x48a107);},'miAaJ':_0x27a4c2(0xb6)},{isPlaywright:_0x4bc6ec,type:_0x396c88}=_0x12d058[_0x27a4c2(0x143)](detectDriverType,_0x257107),_0x3ee8ab=_0x4bc6ec?_0xaa7e39[_0x27a4c2(0x126)]:accessibilityHelper[_0x27a4c2(0xff)]()&&globals[_0x27a4c2(0xf2)](_0x12d058['fIQKK'])&&globals['getGlobal'](_0x12d058[_0x27a4c2(0x123)]);if(!_0x3ee8ab)return logger['warn'](_0x27a4c2(0x100)+_0x396c88+_0x27a4c2(0x124)),{};let _0x3a24b4=null;for(let _0xef6369=0x1;_0x12d058[_0x27a4c2(0xb8)](_0xef6369,_0x12d058['MaaWI'](RETRY_CONFIG[_0x27a4c2(0xc5)],0x1));_0xef6369++){try{logger['debug'](_0x27a4c2(0xac)+_0xef6369+'/'+_0x12d058['MaaWI'](RETRY_CONFIG['maxRetries'],0x1)+'\x20('+_0x396c88+')');let _0x32ab83;return _0x12d058[_0x27a4c2(0x105)](_0x4bc6ec,playwrightA11yHelper)?(_0x12d058[_0x27a4c2(0x10e)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x27a4c2(0x95)](_0x257107,RETRY_CONFIG[_0x27a4c2(0xd5)]),_0x32ab83=await _0x12d058[_0x27a4c2(0x10e)](withTimeout,playwrightA11yHelper[_0x27a4c2(0x114)](_0x257107),RETRY_CONFIG[_0x27a4c2(0xd5)]),await exports[_0x27a4c2(0x95)](_0x257107,RETRY_CONFIG['defaultTimeoutMs'])):(await exports[_0x27a4c2(0x142)](_0x257107,RETRY_CONFIG['timeoutMs']),_0x32ab83=await _0x12d058[_0x27a4c2(0x10a)](withTimeout,accessibilityHelper[_0x27a4c2(0x114)](_0x257107,_0xaa7e39),RETRY_CONFIG['timeoutMs']),await exports[_0x27a4c2(0x142)](_0x257107,RETRY_CONFIG['defaultTimeoutMs'])),logger[_0x27a4c2(0x111)]('Accessibility\x20results\x20summary\x20retrieved\x20successfully\x20on\x20attempt\x20'+_0xef6369+'\x20('+_0x396c88+')'),_0x32ab83;}catch(_0x432030){_0x3a24b4=_0x432030,logger['warn'](_0x27a4c2(0xac)+_0xef6369+'\x20failed\x20('+_0x396c88+_0x27a4c2(0x14a)+_0x432030[_0x27a4c2(0xd3)]);}}return logger[_0x27a4c2(0xda)](_0x27a4c2(0xe3)+_0x396c88+_0x27a4c2(0x108)+(_0x3a24b4?.[_0x27a4c2(0xd3)]||_0x12d058[_0x27a4c2(0x120)])),{};},exports[a95_0xd35fe5(0x9b)]=async(_0x1b8aa1,_0x4222f9,_0x4bd3dc=null)=>{const _0x2184df=a95_0xd35fe5,_0x55bddf={'mQxLC':function(_0x4b4c4c,_0x51b4c5){return _0x4b4c4c(_0x51b4c5);},'qUYaX':function(_0x191ade,_0x412028){return _0x191ade===_0x412028;},'LUgam':_0x2184df(0x11b),'xDuUd':function(_0x2b07f9,_0x8fc9c4){return _0x2b07f9===_0x8fc9c4;},'nGMfH':function(_0x974165,_0x532e8e){return _0x974165===_0x532e8e;},'eNDOz':'rejected','HmzQx':function(_0x570d7b,_0x5442d1){return _0x570d7b===_0x5442d1;},'bAgNs':_0x2184df(0x12c)},{isPlaywright:_0x52ee14,type:_0x2e47b9}=_0x55bddf[_0x2184df(0x14f)](detectDriverType,_0x1b8aa1),_0x2a996a={};_0x2a996a['scanSucceeded']=![],_0x2a996a[_0x2184df(0xe9)]=[],_0x2a996a[_0x2184df(0xd2)]={},_0x2a996a[_0x2184df(0xda)]=null,_0x2a996a[_0x2184df(0x9d)]=_0x2e47b9;const _0x4347ea=_0x2a996a;try{_0x4347ea[_0x2184df(0x112)]=await exports[_0x2184df(0x132)](_0x1b8aa1,_0x4bd3dc);if(_0x4347ea[_0x2184df(0x112)]){const [_0x146727,_0x101351]=await Promise[_0x2184df(0x12f)]([exports[_0x2184df(0x151)](_0x1b8aa1,_0x4222f9),exports[_0x2184df(0xba)](_0x1b8aa1,_0x4222f9)]);_0x4347ea[_0x2184df(0xe9)]=_0x55bddf[_0x2184df(0x118)](_0x146727[_0x2184df(0x129)],_0x55bddf[_0x2184df(0xe0)])?_0x146727[_0x2184df(0x10b)]:[],_0x4347ea[_0x2184df(0xd2)]=_0x55bddf[_0x2184df(0x122)](_0x101351[_0x2184df(0x129)],_0x55bddf[_0x2184df(0xe0)])?_0x101351[_0x2184df(0x10b)]:{},_0x55bddf[_0x2184df(0x99)](_0x146727[_0x2184df(0x129)],_0x55bddf[_0x2184df(0xfd)])&&logger['warn'](_0x2184df(0x116)+_0x2e47b9+'):\x20'+_0x146727[_0x2184df(0x101)]?.['message']),_0x55bddf['HmzQx'](_0x101351[_0x2184df(0x129)],_0x55bddf['eNDOz'])&&logger[_0x2184df(0x153)]('Failed\x20to\x20retrieve\x20accessibility\x20summary\x20('+_0x2e47b9+_0x2184df(0xf9)+_0x101351[_0x2184df(0x101)]?.['message']);}}catch(_0x229967){_0x4347ea[_0x2184df(0xda)]=_0x229967[_0x2184df(0xd3)]||_0x55bddf[_0x2184df(0xb2)],logger[_0x2184df(0xda)](_0x2184df(0x144)+_0x2e47b9+_0x2184df(0xf9)+_0x4347ea[_0x2184df(0xda)]);}return _0x4347ea;},exports[a95_0xd35fe5(0xd9)]=_0x1dff7f=>{const _0x46bad1=a95_0xd35fe5,_0x4fed2c={};_0x4fed2c[_0x46bad1(0xea)]=function(_0x6b551d,_0x15af83){return _0x6b551d!==_0x15af83;};const _0x19c73d=_0x4fed2c;_0x19c73d[_0x46bad1(0xea)](_0x1dff7f[_0x46bad1(0xc5)],undefined)&&(RETRY_CONFIG[_0x46bad1(0xc5)]=Math[_0x46bad1(0x94)](0x0,_0x1dff7f[_0x46bad1(0xc5)])),_0x19c73d[_0x46bad1(0xea)](_0x1dff7f[_0x46bad1(0xd5)],undefined)&&(RETRY_CONFIG[_0x46bad1(0xd5)]=Math[_0x46bad1(0x94)](0x3e8,_0x1dff7f[_0x46bad1(0xd5)])),logger[_0x46bad1(0xc9)](_0x46bad1(0x98)+JSON['stringify'](RETRY_CONFIG));},exports[a95_0xd35fe5(0x11a)]=()=>{const _0x219590={...RETRY_CONFIG};return _0x219590;},exports[a95_0xd35fe5(0xa4)]=_0x35557e=>{const _0x29f1d9=a95_0xd35fe5,_0x508fd3={'ozqul':function(_0xfec9e3,_0xefebbb){return _0xfec9e3(_0xefebbb);}};return _0x508fd3[_0x29f1d9(0x9e)](detectDriverType,_0x35557e)[_0x29f1d9(0x154)];},exports[a95_0xd35fe5(0xd1)]=_0x285c28=>{const _0x24530d=a95_0xd35fe5,_0x5ba6c7={'JoTnY':function(_0x54570b,_0x51f45b){return _0x54570b(_0x51f45b);},'JBwiD':function(_0x3d74e9,_0x227e8e){return _0x3d74e9===_0x227e8e;},'RezAb':_0x24530d(0xcb)},{isPlaywright:_0x1df1f1,type:_0x173b9e}=_0x5ba6c7['JoTnY'](detectDriverType,_0x285c28);return!_0x1df1f1&&_0x5ba6c7[_0x24530d(0x113)](_0x173b9e,_0x5ba6c7[_0x24530d(0xf5)]);},exports[a95_0xd35fe5(0x95)]=async(_0x5b0f15,_0x2f2fc6=null)=>{const _0x2ef9c2=a95_0xd35fe5,_0x56320e={'xxAYf':function(_0x38d9ef,_0x4bb025){return _0x38d9ef(_0x4bb025);},'QWMiN':function(_0x2516c0,_0x3f65c7){return _0x2516c0===_0x3f65c7;},'cWRMm':_0x2ef9c2(0x134)},{isPlaywright:_0x28623e,type:_0x5cc898}=_0x56320e[_0x2ef9c2(0xc2)](detectDriverType,_0x5b0f15);if(!_0x28623e)return logger['debug'](_0x2ef9c2(0xde)+_0x5cc898+'\x20-\x20not\x20applicable'),!![];const _0x3f8640=_0x2f2fc6||RETRY_CONFIG['defaultTimeoutMs'];try{return _0x5b0f15&&_0x56320e[_0x2ef9c2(0x12b)](typeof _0x5b0f15['setDefaultTimeout'],_0x56320e[_0x2ef9c2(0x97)])&&(await _0x5b0f15[_0x2ef9c2(0x12a)](_0x3f8640),logger[_0x2ef9c2(0xc9)](_0x2ef9c2(0xfc)+_0x3f8640+'ms')),!![];}catch(_0x429ab3){return logger[_0x2ef9c2(0x153)](_0x2ef9c2(0x104)+_0x429ab3[_0x2ef9c2(0xd3)]),![];}},exports[a95_0xd35fe5(0x142)]=async(_0x4f10f2,_0x499a9d=null)=>{const _0x3d30e2=a95_0xd35fe5,_0x54af88={};_0x54af88[_0x3d30e2(0xe8)]='Cannot\x20set\x20script\x20timeout:\x20not\x20a\x20Selenium\x20WebDriver',_0x54af88[_0x3d30e2(0xc8)]=function(_0x632084,_0x4c7856){return _0x632084===_0x4c7856;},_0x54af88[_0x3d30e2(0xf0)]='function',_0x54af88[_0x3d30e2(0xec)]=function(_0x20739c,_0x5c4403){return _0x20739c===_0x5c4403;},_0x54af88[_0x3d30e2(0xf8)]=function(_0x1d1e0b,_0x2b664c){return _0x1d1e0b===_0x2b664c;},_0x54af88[_0x3d30e2(0xf7)]=function(_0x4652e3,_0x2cae10){return _0x4652e3===_0x2cae10;},_0x54af88[_0x3d30e2(0x138)]=_0x3d30e2(0x110),_0x54af88['AFgzY']=_0x3d30e2(0x125);const _0x320617=_0x54af88;if(!exports['isSeleniumDriver'](_0x4f10f2))return logger[_0x3d30e2(0x153)](_0x320617[_0x3d30e2(0xe8)]),![];const _0xb95276=_0x499a9d||RETRY_CONFIG[_0x3d30e2(0xd4)];try{if(_0x4f10f2&&_0x320617['DySOA'](typeof _0x4f10f2[_0x3d30e2(0x102)],_0x320617['NcRaK'])){const _0x5f2328=_0x4f10f2[_0x3d30e2(0x102)]();if(_0x5f2328&&_0x320617[_0x3d30e2(0xec)](typeof _0x5f2328[_0x3d30e2(0xa2)],_0x320617['NcRaK']))await _0x5f2328[_0x3d30e2(0xa2)]()[_0x3d30e2(0xe4)](_0xb95276),logger[_0x3d30e2(0xc9)]('Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20'+_0xb95276+_0x3d30e2(0xdd));else{if(_0x5f2328&&_0x320617['TZcYP'](typeof _0x5f2328[_0x3d30e2(0xb1)],_0x320617[_0x3d30e2(0xf0)])){const _0x1ab159={};_0x1ab159[_0x3d30e2(0xae)]=_0xb95276,await _0x5f2328[_0x3d30e2(0xb1)](_0x1ab159),logger[_0x3d30e2(0xc9)](_0x3d30e2(0xe2)+_0xb95276+'ms\x20using\x20setTimeouts\x20API');}else{if(_0x5f2328&&_0x320617[_0x3d30e2(0xf7)](typeof _0x5f2328[_0x3d30e2(0xe4)],_0x320617[_0x3d30e2(0xf0)]))await _0x5f2328[_0x3d30e2(0xe4)](_0xb95276),logger[_0x3d30e2(0xc9)](_0x3d30e2(0xe2)+_0xb95276+'ms\x20using\x20setScriptTimeout\x20API');else return logger[_0x3d30e2(0xc9)](_0x320617[_0x3d30e2(0x138)]),!![];}}}else return logger[_0x3d30e2(0xc9)](_0x320617['AFgzY']),!![];return!![];}catch(_0x40e8c1){return logger[_0x3d30e2(0x153)](_0x3d30e2(0x13d)+_0x40e8c1[_0x3d30e2(0xd3)]),![];}},exports[a95_0xd35fe5(0xc7)]=async(_0x359b15,_0x71b11c)=>{const _0x4ac59a=a95_0xd35fe5,_0xff0321={'nuCMt':function(_0x595af9,_0x562c46){return _0x595af9(_0x562c46);},'itobt':_0x4ac59a(0x14b),'ZbsXT':_0x4ac59a(0x11f),'FPbFN':function(_0x203efa,_0x3ceb41){return _0x203efa<=_0x3ceb41;},'iNiAr':function(_0xe3e41a,_0x5f4051){return _0xe3e41a+_0x5f4051;},'LvMNV':function(_0x485193,_0x267972){return _0x485193+_0x267972;},'edwlZ':function(_0x4af863,_0x51967f){return _0x4af863&&_0x51967f;},'MXnQc':function(_0x2958d2,_0x273004,_0x3bf978){return _0x2958d2(_0x273004,_0x3bf978);},'Rsurg':function(_0x3ffa0b,_0x3f6ae2,_0x30d90d){return _0x3ffa0b(_0x3f6ae2,_0x30d90d);},'iPTVA':'Unknown\x20error'},{isPlaywright:_0x1ff800,type:_0x2d4a01}=_0xff0321['nuCMt'](detectDriverType,_0x359b15),_0x401227=_0x1ff800?global['accessibilityPlatform']:accessibilityHelper[_0x4ac59a(0xff)]()&&globals[_0x4ac59a(0xf2)](_0xff0321[_0x4ac59a(0xf3)])&&globals[_0x4ac59a(0xf2)](_0xff0321['ZbsXT']);if(!_0x401227)return logger[_0x4ac59a(0x153)](_0x4ac59a(0x100)+_0x2d4a01+',\x20cannot\x20save\x20accessibility\x20results\x20with\x20retry.'),![];let _0x251db8=null;for(let _0x55fba8=0x1;_0xff0321['FPbFN'](_0x55fba8,_0xff0321['iNiAr'](RETRY_CONFIG[_0x4ac59a(0xc5)],0x1));_0x55fba8++){try{return logger[_0x4ac59a(0xc9)](_0x4ac59a(0x115)+_0x55fba8+'/'+_0xff0321[_0x4ac59a(0xce)](RETRY_CONFIG[_0x4ac59a(0xc5)],0x1)+'\x20('+_0x2d4a01+')'),_0xff0321[_0x4ac59a(0xee)](_0x1ff800,playwrightA11yHelper)?(_0xff0321['MXnQc'](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x4ac59a(0x95)](_0x359b15,RETRY_CONFIG['timeoutMs']),await _0xff0321['MXnQc'](withTimeout,playwrightA11yHelper[_0x4ac59a(0x10d)](_0x359b15,scripts[_0x4ac59a(0xa1)],_0x71b11c),RETRY_CONFIG[_0x4ac59a(0xd5)]),await exports[_0x4ac59a(0x95)](_0x359b15,RETRY_CONFIG[_0x4ac59a(0xd4)])):(await exports[_0x4ac59a(0x142)](_0x359b15,RETRY_CONFIG[_0x4ac59a(0xd5)]),await _0xff0321[_0x4ac59a(0x11c)](withTimeout,_0x359b15[_0x4ac59a(0xfa)](scripts['saveTestResults'],_0x71b11c),RETRY_CONFIG[_0x4ac59a(0xd5)]),await exports['setSeleniumScriptTimeout'](_0x359b15,RETRY_CONFIG[_0x4ac59a(0xd4)])),logger['info'](_0x4ac59a(0xa7)+_0x55fba8+'\x20('+_0x2d4a01+')'),!![];}catch(_0x3270b3){_0x251db8=_0x3270b3,logger[_0x4ac59a(0x153)](_0x4ac59a(0x115)+_0x55fba8+_0x4ac59a(0xa0)+_0x2d4a01+_0x4ac59a(0x14a)+_0x3270b3[_0x4ac59a(0xd3)]);}}return logger[_0x4ac59a(0xda)](_0x4ac59a(0x136)+_0x2d4a01+_0x4ac59a(0x108)+(_0x251db8?.[_0x4ac59a(0xd3)]||_0xff0321[_0x4ac59a(0x14c)])),![];};
|
|
1
|
+
function a95_0x51f5(_0x155b3e,_0x4309e4){const _0x124ffd=a95_0x124f();return a95_0x51f5=function(_0x51f5f5,_0x5b6fcc){_0x51f5f5=_0x51f5f5-0xca;let _0x1f7fe8=_0x124ffd[_0x51f5f5];return _0x1f7fe8;},a95_0x51f5(_0x155b3e,_0x4309e4);}const a95_0x2d6984=a95_0x51f5;(function(_0x1f4b01,_0xe1be00){const _0x16e515=a95_0x51f5,_0x2ae8d2=_0x1f4b01();while(!![]){try{const _0x1f2b20=parseInt(_0x16e515(0x126))/0x1+-parseInt(_0x16e515(0x17a))/0x2*(-parseInt(_0x16e515(0x15f))/0x3)+parseInt(_0x16e515(0xe0))/0x4*(-parseInt(_0x16e515(0x164))/0x5)+parseInt(_0x16e515(0xe8))/0x6*(-parseInt(_0x16e515(0xfd))/0x7)+-parseInt(_0x16e515(0x128))/0x8+parseInt(_0x16e515(0x187))/0x9+parseInt(_0x16e515(0x11e))/0xa;if(_0x1f2b20===_0xe1be00)break;else _0x2ae8d2['push'](_0x2ae8d2['shift']());}catch(_0x4b71d2){_0x2ae8d2['push'](_0x2ae8d2['shift']());}}}(a95_0x124f,0x9317d));const util=require(a95_0x2d6984(0x185)),logger=require('../logger')[a95_0x2d6984(0x145)],accessibilityHelper=require('./helper'),globals=require('../globals'),scripts=require(a95_0x2d6984(0xdb)),PerformanceTester=require(a95_0x2d6984(0x119)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a95_0x2d6984(0x146)),BrowserstackCLI=require('../../bin/v2/browserstackCLI');let playwrightA11yHelper=null;function a95_0x124f(){const _0x398ecd=['All\x20accessibility\x20results\x20retrieval\x20attempts\x20failed\x20(','defaultTimeoutMs','Comprehensive\x20accessibility\x20scan\x20failed\x20(','yMBzf','SZHCa','function','rxHXq','url','ITclG','performScan','XKTXd','ENZbL','executeAsyncScript','getSession','\x20failed\x20(','QiAMW','ms\x20using\x20timeouts()\x20API','Accessibility\x20results\x20retrieval\x20attempt\x20','playwright-page','MlzWn','3uUKlJG',').\x20Last\x20error:\x20','manage','EhnXm','fulfilled','1556230zSEOLE','HFtAx','lIpZN','timeoutMs',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary\x20with\x20retry.','VvmiK','debug','setSeleniumScriptTimeout','Scan\x20attempt\x20','warn','selenium-webdriver','meSWb','RQcGE','saveTestResults','message','uXiCe','All\x20accessibility\x20results\x20save\x20attempts\x20failed\x20(','rejected','cuuho','type','accessibilityPlatform','\x20for\x20method:\x20','770134YirGBE','fhLbF','FPbVC','Accessibility\x20results\x20saved\x20successfully\x20on\x20attempt\x20','driverType','reason','XBrCM','pcyUX','VdSpq','awSnp','YuSGi','util','stringify','395244NqpXCC','constructor','ZQJNZ','getInstance','getAccessibilityResultsWithRetry','LDAVh',')\x20with\x20error:\x20','TTSZF','Accessibility\x20results\x20save\x20attempt\x20','undefined',',\x20cannot\x20save\x20accessibility\x20results\x20with\x20retry.','ms\x20using\x20setTimeouts\x20API','isPlaywrightPage','SGuhY','timeouts','IOzdN','info','wUWdy','JCdOo','Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20','CTZyx','Operation\x20timed\x20out\x20after\x20','YmcZa','isAccessibilityPlatform','ziFSY','script','Unknown\x20error','Playwright\x20accessibility\x20helper\x20not\x20available','OibkP','GqtMq','./scripts','measureWrapper','race','rFbKp','__workerDetails','8AposfW','Selenium\x20WebDriver\x20manage()\x20method\x20not\x20available,\x20skipping\x20timeout\x20setting','isAccessibilityAutomationSession','updateRetryConfig','vkWIN','Playwright','ms\x20using\x20setScriptTimeout\x20API','maxRetries','322644yYaVAu','ApNwQ','playwright-codecept-driver','Failed\x20to\x20set\x20Selenium\x20script\x20timeout:\x20','getAccessibilityResultsSummaryWithRetry','kfSWk','env','page','evaluate','setTimeouts','uDpZB','isPlaywright','getCurrentUrl','scannerProcessingTimeout','Skipping\x20timeout\x20setting\x20for\x20','pAnZx','qLfsa','currentTest','results','getRetryConfig','CLfbH','49RuKjqs','getId','../../bin/playwright/accessibility-helper','QvISF','zJbDC',').\x20Error:\x20','\x20failed\x20for\x20method:\x20','value','BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT','EnFnl','\x20completed\x20successfully.','WzGYl','browserStackEvaluate','pzSBS','EcwFo','jxPoD','getAccessibilityResultsSummary','options','ureQf','getAccessibilityResults','Accessibility\x20scan\x20attempt\x20','sDdBC','):\x20','max','hiaXk','MlagP','ndLqU','Accessibility\x20retry\x20configuration\x20updated:\x20','../performance/performance-tester','uoqFk','summary','vEoZk','goto','4404840SwMchq','rxQBO','Gwema','Cannot\x20set\x20script\x20timeout:\x20not\x20a\x20Selenium\x20WebDriver','Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20','scanSucceeded','lpLCW','OgIzn','1046258zybzbq','\x20-\x20not\x20applicable','2514576JtmnEK','getGlobal','Page','cEYkY','isSeleniumDriver','HXhai','Tdvxb','setPlaywrightScriptTimeout','setScriptTimeout','allSettled','Failed\x20to\x20retrieve\x20accessibility\x20summary\x20(','isRunning','getCapabilities','error','hTImW','setDefaultTimeout','status','unknown','Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20','Accessibility\x20scan\x20succeeded\x20on\x20attempt\x20','getAccessibilityModule','name','Accessibility\x20results\x20retrieved\x20successfully\x20on\x20attempt\x20','bstackA11yShouldScan','lxhpK','ghhZx','OAqAh','PhFLg','Unknown\x20driver/page\x20type:\x20','winstonLogger','../performance/constants','Selenium\x20WebDriver\x20timeout\x20API\x20not\x20available,\x20skipping\x20timeout\x20setting','OEsVD','Set\x20Playwright\x20page\x20default\x20timeout\x20to\x20','FssMk'];a95_0x124f=function(){return _0x398ecd;};return a95_0x124f();}try{playwrightA11yHelper=require(a95_0x2d6984(0xff));}catch(a95_0x37ba87){logger[a95_0x2d6984(0x16a)](a95_0x2d6984(0xd8));}const a95_0x193126={};a95_0x193126[a95_0x2d6984(0xe7)]=0x1,a95_0x193126[a95_0x2d6984(0x167)]=0x7530,a95_0x193126[a95_0x2d6984(0x14c)]=0x7530;const RETRY_CONFIG=a95_0x193126,setConfigTimeout=(_0x18d4c3,_0x1ec789=null)=>{const _0x30d58c=a95_0x2d6984,_0x402a0f={'ENZbL':function(_0x3ae0e5,_0x23f3e2){return _0x3ae0e5===_0x23f3e2;},'yMBzf':_0x30d58c(0xf5),'lIpZN':function(_0x5b335a,_0x45c182){return _0x5b335a===_0x45c182;},'LDAVh':function(_0x2d8986,_0x4856e0){return _0x2d8986*_0x4856e0;},'EhnXm':function(_0x26a8a2,_0x15809a){return _0x26a8a2(_0x15809a);}};if(BrowserstackCLI['getInstance']()[_0x30d58c(0x133)]()&&BrowserstackCLI['getInstance']()[_0x30d58c(0x13c)]()){const _0x5e5764=BrowserstackCLI[_0x30d58c(0x18a)]()[_0x30d58c(0x13c)]()['accessibilityConfig'],_0x56c576=_0x5e5764[_0x30d58c(0x10e)]['capabilitiesList']||[];for(const _0x587f7a of _0x56c576){_0x402a0f[_0x30d58c(0x156)](_0x587f7a[_0x30d58c(0x13d)],_0x402a0f[_0x30d58c(0x14e)])&&_0x402a0f[_0x30d58c(0x166)](_0x1ec789,null)&&(_0x18d4c3[_0x30d58c(0x167)]=_0x402a0f[_0x30d58c(0x18c)](_0x402a0f['EhnXm'](parseInt,_0x587f7a[_0x30d58c(0x104)]),0x3e8));}}else process[_0x30d58c(0xee)][_0x30d58c(0x105)]&&(_0x18d4c3[_0x30d58c(0x167)]=_0x402a0f[_0x30d58c(0x18c)](_0x402a0f[_0x30d58c(0x162)](parseInt,process[_0x30d58c(0xee)][_0x30d58c(0x105)]),0x3e8));},detectDriverType=_0x3ef786=>{const _0x530fb6=a95_0x2d6984,_0x5e7e81={};_0x5e7e81['pcyUX']=_0x530fb6(0x139),_0x5e7e81['PhFLg']=function(_0x2f64bb,_0x469ab2){return _0x2f64bb===_0x469ab2;},_0x5e7e81[_0x530fb6(0x176)]=_0x530fb6(0x150),_0x5e7e81[_0x530fb6(0x10c)]=function(_0x3758b4,_0x4bf7a7){return _0x3758b4===_0x4bf7a7;},_0x5e7e81[_0x530fb6(0xed)]=_0x530fb6(0x15d),_0x5e7e81[_0x530fb6(0xf8)]=_0x530fb6(0x16e),_0x5e7e81['jqzHU']=_0x530fb6(0x12a),_0x5e7e81[_0x530fb6(0x165)]=function(_0x3e8f9e,_0x515910){return _0x3e8f9e===_0x515910;},_0x5e7e81['ndLqU']='WebDriver',_0x5e7e81[_0x530fb6(0x189)]=function(_0x20de22,_0xf25d3c){return _0x20de22===_0xf25d3c;},_0x5e7e81[_0x530fb6(0x151)]=_0x530fb6(0xe5),_0x5e7e81[_0x530fb6(0x115)]=_0x530fb6(0xea),_0x5e7e81['VdSpq']=function(_0x3fd282,_0x916b56){return _0x3fd282||_0x916b56;},_0x5e7e81['Gwema']=_0x530fb6(0x190);const _0x95e7b3=_0x5e7e81;if(!_0x3ef786){const _0x53cf09={};return _0x53cf09[_0x530fb6(0xf3)]=![],_0x53cf09[_0x530fb6(0x177)]=_0x95e7b3[_0x530fb6(0x181)],_0x53cf09;}if(_0x95e7b3[_0x530fb6(0x143)](typeof _0x3ef786[_0x530fb6(0xf0)],_0x95e7b3[_0x530fb6(0x176)])&&_0x95e7b3[_0x530fb6(0x10c)](typeof _0x3ef786[_0x530fb6(0x152)],_0x95e7b3['cuuho'])&&_0x95e7b3[_0x530fb6(0x143)](typeof _0x3ef786[_0x530fb6(0x11d)],_0x95e7b3[_0x530fb6(0x176)])){const _0x59dbe9={};return _0x59dbe9[_0x530fb6(0xf3)]=!![],_0x59dbe9['type']=_0x95e7b3[_0x530fb6(0xed)],_0x59dbe9;}if(_0x95e7b3[_0x530fb6(0x10c)](typeof _0x3ef786[_0x530fb6(0x157)],_0x95e7b3[_0x530fb6(0x176)])&&_0x95e7b3[_0x530fb6(0x143)](typeof _0x3ef786[_0x530fb6(0x134)],_0x95e7b3[_0x530fb6(0x176)])){const _0x42d56f={};return _0x42d56f[_0x530fb6(0xf3)]=![],_0x42d56f[_0x530fb6(0x177)]=_0x95e7b3[_0x530fb6(0xf8)],_0x42d56f;}const _0x57a41d=_0x3ef786[_0x530fb6(0x188)]?.[_0x530fb6(0x13d)];if(_0x95e7b3[_0x530fb6(0x143)](_0x57a41d,_0x95e7b3['jqzHU'])){const _0x4dac6e={};return _0x4dac6e[_0x530fb6(0xf3)]=!![],_0x4dac6e[_0x530fb6(0x177)]=_0x95e7b3[_0x530fb6(0xed)],_0x4dac6e;}if(_0x95e7b3[_0x530fb6(0x165)](_0x57a41d,_0x95e7b3[_0x530fb6(0x117)])){const _0x334858={};return _0x334858[_0x530fb6(0xf3)]=![],_0x334858[_0x530fb6(0x177)]=_0x95e7b3['qLfsa'],_0x334858;}if(_0x95e7b3[_0x530fb6(0x189)](_0x57a41d,_0x95e7b3['rxHXq'])){const _0x1cb184={};return _0x1cb184[_0x530fb6(0xf3)]=!![],_0x1cb184['type']=_0x95e7b3[_0x530fb6(0x115)],_0x1cb184;}logger['warn'](_0x530fb6(0x144)+_0x95e7b3[_0x530fb6(0x182)](_0x57a41d,_0x95e7b3[_0x530fb6(0x120)]));const _0x57f571={};return _0x57f571['isPlaywright']=![],_0x57f571[_0x530fb6(0x177)]=_0x95e7b3['pcyUX'],_0x57f571;},withTimeout=(_0xc21237,_0x1e758d)=>{const _0x1f7370=a95_0x2d6984;return Promise[_0x1f7370(0xdd)]([_0xc21237,new Promise((_0xab0a83,_0x262d94)=>setTimeout(()=>_0x262d94(new Error(_0x1f7370(0xd2)+_0x1e758d+'ms')),_0x1e758d))]);};exports['performScanWithRetry']=async(_0x44862,_0x1d6e7b=null,_0x44e8f3=null)=>{const _0x2babb5=a95_0x2d6984,_0x509b44={'MlagP':function(_0x57acfb,_0x1e7ef7){return _0x57acfb&&_0x1e7ef7;},'qyKNn':function(_0x100db4,_0x597b94,_0x2e3d9f){return _0x100db4(_0x597b94,_0x2e3d9f);},'VvmiK':function(_0x4085c5,_0x592787){return _0x4085c5===_0x592787;},'lxhpK':_0x2babb5(0xea),'ddqRm':function(_0x2047c0,_0x489b5b,_0x174636){return _0x2047c0(_0x489b5b,_0x174636);},'QiAMW':function(_0x152d77,_0x42053c,_0xbe1adc){return _0x152d77(_0x42053c,_0xbe1adc);},'eqhIR':function(_0x18bcb7,_0x31bd2a){return _0x18bcb7(_0x31bd2a);},'TTSZF':'isAccessibilityPlatform','SZHCa':'bstackA11yShouldScan','CLfbH':'unknown_method','vEoZk':function(_0x900557,_0x45cd5b){return _0x900557===_0x45cd5b;},'rxQBO':'function','HXhai':function(_0x45457c,_0x120a4a){return _0x45457c===_0x120a4a;},'lJWmz':function(_0x62345b,_0x47fbf2){return _0x62345b<=_0x47fbf2;},'vkWIN':function(_0xb73d5d,_0x499ac3){return _0xb73d5d+_0x499ac3;},'zJbDC':function(_0x2fbbed,_0x57e92f){return _0x2fbbed+_0x57e92f;},'CTZyx':_0x2babb5(0xd7)},{isPlaywright:_0x7f804f,type:_0x191d34}=_0x509b44['eqhIR'](detectDriverType,_0x44862),_0x2056f1=_0x7f804f?global[_0x2babb5(0x178)]:accessibilityHelper['isAccessibilityAutomationSession']()&&globals['getGlobal'](_0x509b44[_0x2babb5(0x18e)])&&globals['getGlobal'](_0x509b44[_0x2babb5(0x14f)]);if(!_0x2056f1)return logger[_0x2babb5(0x16d)]('Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20'+_0x191d34+',\x20cannot\x20perform\x20scan\x20with\x20retry.'),![];const _0x1c5b14=_0x1d6e7b||global['browserstackSessionName']||_0x509b44[_0x2babb5(0xfc)];let _0x4923ff=null;const _0xa62f1d={'testhub_btcer_uuid':global[_0x2babb5(0xdf)]?.[_0x2babb5(0xf9)]?.['id'],'url':_0x509b44[_0x2babb5(0x11c)](typeof _0x44862[_0x2babb5(0x152)],_0x509b44[_0x2babb5(0x11f)])?await _0x44862[_0x2babb5(0x152)]():_0x509b44[_0x2babb5(0x12d)](typeof _0x44862[_0x2babb5(0xf4)],_0x509b44['rxQBO'])?await _0x44862[_0x2babb5(0xf4)]():'','automate_session_id':_0x509b44[_0x2babb5(0x169)](typeof _0x44862['getSession'],_0x509b44[_0x2babb5(0x11f)])?(await _0x44862[_0x2babb5(0x158)]())[_0x2babb5(0xfe)]():''};for(let _0x2b0d22=0x1;_0x509b44['lJWmz'](_0x2b0d22,_0x509b44[_0x2babb5(0xe4)](RETRY_CONFIG['maxRetries'],0x1));_0x2b0d22++){try{return logger[_0x2babb5(0x16a)](_0x2babb5(0x111)+_0x2b0d22+'/'+_0x509b44[_0x2babb5(0x101)](RETRY_CONFIG['maxRetries'],0x1)+_0x2babb5(0x179)+_0x1c5b14+'\x20('+_0x191d34+')'),await PerformanceTester[_0x2babb5(0xdc)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x551e0a=_0x2babb5;let _0x274fc8;if(_0x509b44[_0x551e0a(0x116)](_0x7f804f,playwrightA11yHelper)){_0x509b44['qyKNn'](setConfigTimeout,RETRY_CONFIG,null),await exports['setPlaywrightScriptTimeout'](_0x44862,RETRY_CONFIG[_0x551e0a(0x167)]);let _0x3c41e7=_0x44862;_0x509b44['VvmiK'](_0x191d34,_0x509b44[_0x551e0a(0x140)])&&(_0x3c41e7=_0x44862[_0x551e0a(0xef)]),_0x274fc8=await _0x509b44['ddqRm'](withTimeout,playwrightA11yHelper[_0x551e0a(0x154)](_0x3c41e7,_0x1c5b14),RETRY_CONFIG[_0x551e0a(0x167)]),await exports[_0x551e0a(0x12f)](_0x44862,RETRY_CONFIG[_0x551e0a(0x14c)]);}else await exports[_0x551e0a(0x16b)](_0x44862,RETRY_CONFIG[_0x551e0a(0x167)]),_0x274fc8=await _0x509b44[_0x551e0a(0x15a)](withTimeout,accessibilityHelper[_0x551e0a(0x154)](_0x44862,_0x1c5b14),RETRY_CONFIG['timeoutMs']),await exports[_0x551e0a(0x16b)](_0x44862,RETRY_CONFIG['defaultTimeoutMs']);logger[_0x551e0a(0x16a)](_0x551e0a(0x16c)+_0x2b0d22+_0x551e0a(0x107));},{'command':_0x1c5b14,..._0xa62f1d})(),logger['info'](_0x2babb5(0x13b)+_0x2b0d22+'.'),!![];}catch(_0x1a155f){_0x4923ff=_0x1a155f,logger[_0x2babb5(0x16a)](_0x2babb5(0x111)+_0x2b0d22+_0x2babb5(0x103)+_0x1c5b14+'\x20('+_0x191d34+_0x2babb5(0x102)+_0x1a155f['message']);}}return logger[_0x2babb5(0x135)]('All\x20accessibility\x20scan\x20attempts\x20failed\x20for\x20method:\x20'+_0x1c5b14+'\x20('+_0x191d34+_0x2babb5(0x18d)+(_0x4923ff?.[_0x2babb5(0x172)]||_0x509b44[_0x2babb5(0xd1)])),![];},exports[a95_0x2d6984(0x18b)]=async(_0x4a3fab,_0xc4bf26)=>{const _0x3960e6=a95_0x2d6984,_0x3db013={'ureQf':function(_0x520400,_0x337790){return _0x520400(_0x337790);},'FssMk':_0x3960e6(0xd4),'FemWl':'bstackA11yShouldScan','OAqAh':function(_0xce372c,_0x30efa6){return _0xce372c<=_0x30efa6;},'RQcGE':function(_0x5a0c0e,_0x179290){return _0x5a0c0e+_0x179290;},'ITclG':function(_0x26a4b7,_0x29fdaa){return _0x26a4b7+_0x29fdaa;},'ApNwQ':function(_0x12b55a,_0x24564c){return _0x12b55a&&_0x24564c;},'HaZjC':function(_0x21f071,_0x404efc,_0x40527a){return _0x21f071(_0x404efc,_0x40527a);},'OgIzn':function(_0x3f0be8,_0xd92b13,_0x2d81b2){return _0x3f0be8(_0xd92b13,_0x2d81b2);},'XKTXd':function(_0x227cce,_0x49ad10,_0x3fe575){return _0x227cce(_0x49ad10,_0x3fe575);},'YuSGi':_0x3960e6(0xd7)},{isPlaywright:_0x21f394,type:_0x14c151}=_0x3db013[_0x3960e6(0x10f)](detectDriverType,_0x4a3fab),_0x1b38aa=_0x21f394?_0xc4bf26[_0x3960e6(0x178)]:accessibilityHelper['isAccessibilityAutomationSession']()&&globals[_0x3960e6(0x129)](_0x3db013[_0x3960e6(0x14a)])&&globals[_0x3960e6(0x129)](_0x3db013['FemWl']);if(!_0x1b38aa)return logger['warn'](_0x3960e6(0x122)+_0x14c151+',\x20cannot\x20retrieve\x20Accessibility\x20results\x20with\x20retry.'),[];let _0x5c1695=null;for(let _0x4f6b80=0x1;_0x3db013[_0x3960e6(0x142)](_0x4f6b80,_0x3db013[_0x3960e6(0x170)](RETRY_CONFIG[_0x3960e6(0xe7)],0x1));_0x4f6b80++){try{logger[_0x3960e6(0x16a)](_0x3960e6(0x15c)+_0x4f6b80+'/'+_0x3db013[_0x3960e6(0x153)](RETRY_CONFIG[_0x3960e6(0xe7)],0x1)+'\x20('+_0x14c151+')');let _0x408e01;return _0x3db013[_0x3960e6(0xe9)](_0x21f394,playwrightA11yHelper)?(_0x3db013['HaZjC'](setConfigTimeout,RETRY_CONFIG,null),await exports['setPlaywrightScriptTimeout'](_0x4a3fab,RETRY_CONFIG[_0x3960e6(0x167)]),_0x408e01=await _0x3db013[_0x3960e6(0x125)](withTimeout,playwrightA11yHelper[_0x3960e6(0x110)](_0x4a3fab),RETRY_CONFIG['timeoutMs']),await exports[_0x3960e6(0x12f)](_0x4a3fab,RETRY_CONFIG[_0x3960e6(0x14c)])):(await exports[_0x3960e6(0x16b)](_0x4a3fab,RETRY_CONFIG['timeoutMs']),_0x408e01=await _0x3db013[_0x3960e6(0x155)](withTimeout,accessibilityHelper[_0x3960e6(0x110)](_0x4a3fab,_0xc4bf26),RETRY_CONFIG[_0x3960e6(0x167)]),await exports[_0x3960e6(0x16b)](_0x4a3fab,RETRY_CONFIG['defaultTimeoutMs'])),logger[_0x3960e6(0xcd)](_0x3960e6(0x13e)+_0x4f6b80+'\x20('+_0x14c151+')'),_0x408e01;}catch(_0x3a5089){_0x5c1695=_0x3a5089,logger['warn'](_0x3960e6(0x15c)+_0x4f6b80+_0x3960e6(0x159)+_0x14c151+').\x20Error:\x20'+_0x3a5089[_0x3960e6(0x172)]);}}return logger[_0x3960e6(0x135)](_0x3960e6(0x14b)+_0x14c151+').\x20Last\x20error:\x20'+(_0x5c1695?.['message']||_0x3db013[_0x3960e6(0x184)])),[];},exports[a95_0x2d6984(0xec)]=async(_0x42e5c6,_0x28e910)=>{const _0x2f320f=a95_0x2d6984,_0x5202e0={'Tdvxb':function(_0x5e208f,_0x19b9fa){return _0x5e208f(_0x19b9fa);},'XBrCM':'isAccessibilityPlatform','yGXNK':'bstackA11yShouldScan','ziFSY':function(_0x3b5f23,_0x391780){return _0x3b5f23<=_0x391780;},'atnkz':function(_0x11d6cd,_0x3d94e3){return _0x11d6cd+_0x3d94e3;},'EcwFo':function(_0x30fefc,_0x138383){return _0x30fefc+_0x138383;},'YmcZa':function(_0x2ca2ae,_0x53c1c7){return _0x2ca2ae&&_0x53c1c7;},'hTImW':function(_0x46f804,_0x22140e,_0x5e47a8){return _0x46f804(_0x22140e,_0x5e47a8);},'WzGYl':function(_0x4082ae,_0x31390b,_0x57dafb){return _0x4082ae(_0x31390b,_0x57dafb);},'UaZNr':'Unknown\x20error'},{isPlaywright:_0x3a50ed,type:_0x145e88}=_0x5202e0[_0x2f320f(0x12e)](detectDriverType,_0x42e5c6),_0x32a01a=_0x3a50ed?_0x28e910['accessibilityPlatform']:accessibilityHelper['isAccessibilityAutomationSession']()&&globals[_0x2f320f(0x129)](_0x5202e0[_0x2f320f(0x180)])&&globals[_0x2f320f(0x129)](_0x5202e0['yGXNK']);if(!_0x32a01a)return logger[_0x2f320f(0x16d)]('Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20'+_0x145e88+_0x2f320f(0x168)),{};let _0x3f9a07=null;for(let _0x44b33e=0x1;_0x5202e0[_0x2f320f(0xd5)](_0x44b33e,_0x5202e0['atnkz'](RETRY_CONFIG['maxRetries'],0x1));_0x44b33e++){try{logger[_0x2f320f(0x16a)](_0x2f320f(0xd0)+_0x44b33e+'/'+_0x5202e0[_0x2f320f(0x10b)](RETRY_CONFIG[_0x2f320f(0xe7)],0x1)+'\x20('+_0x145e88+')');let _0x94360f;return _0x5202e0[_0x2f320f(0xd3)](_0x3a50ed,playwrightA11yHelper)?(_0x5202e0[_0x2f320f(0x136)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x2f320f(0x12f)](_0x42e5c6,RETRY_CONFIG['timeoutMs']),_0x94360f=await _0x5202e0[_0x2f320f(0x108)](withTimeout,playwrightA11yHelper['getAccessibilityResultsSummary'](_0x42e5c6),RETRY_CONFIG[_0x2f320f(0x167)]),await exports[_0x2f320f(0x12f)](_0x42e5c6,RETRY_CONFIG[_0x2f320f(0x14c)])):(await exports[_0x2f320f(0x16b)](_0x42e5c6,RETRY_CONFIG[_0x2f320f(0x167)]),_0x94360f=await _0x5202e0['WzGYl'](withTimeout,accessibilityHelper[_0x2f320f(0x10d)](_0x42e5c6,_0x28e910),RETRY_CONFIG[_0x2f320f(0x167)]),await exports[_0x2f320f(0x16b)](_0x42e5c6,RETRY_CONFIG[_0x2f320f(0x14c)])),logger[_0x2f320f(0xcd)]('Accessibility\x20results\x20summary\x20retrieved\x20successfully\x20on\x20attempt\x20'+_0x44b33e+'\x20('+_0x145e88+')'),_0x94360f;}catch(_0x1c0b16){_0x3f9a07=_0x1c0b16,logger['warn'](_0x2f320f(0xd0)+_0x44b33e+'\x20failed\x20('+_0x145e88+_0x2f320f(0x102)+_0x1c0b16[_0x2f320f(0x172)]);}}return logger[_0x2f320f(0x135)]('All\x20accessibility\x20results\x20summary\x20retrieval\x20attempts\x20failed\x20('+_0x145e88+_0x2f320f(0x160)+(_0x3f9a07?.[_0x2f320f(0x172)]||_0x5202e0['UaZNr'])),{};},exports['performComprehensiveAccessibilityScanWithRetry']=async(_0x3d8d24,_0x13409b,_0x45a46a=null)=>{const _0x5b01b6=a95_0x2d6984,_0x129734={'SGuhY':function(_0x49acf6,_0x1b5dd7){return _0x49acf6(_0x1b5dd7);},'MlzWn':function(_0x43d8ab,_0x41239a){return _0x43d8ab===_0x41239a;},'IOzdN':_0x5b01b6(0x163),'OoeUL':function(_0x4fb309,_0x1e1ebd){return _0x4fb309===_0x1e1ebd;},'lpLCW':_0x5b01b6(0x175),'sDdBC':'Unknown\x20error\x20during\x20comprehensive\x20accessibility\x20scan'},{isPlaywright:_0x579dfb,type:_0x5b9ebc}=_0x129734[_0x5b01b6(0xca)](detectDriverType,_0x3d8d24),_0x1bfe7d={};_0x1bfe7d['scanSucceeded']=![],_0x1bfe7d['results']=[],_0x1bfe7d['summary']={},_0x1bfe7d['error']=null,_0x1bfe7d[_0x5b01b6(0x17e)]=_0x5b9ebc;const _0x1bdbfb=_0x1bfe7d;try{_0x1bdbfb[_0x5b01b6(0x123)]=await exports['performScanWithRetry'](_0x3d8d24,_0x45a46a);if(_0x1bdbfb[_0x5b01b6(0x123)]){const [_0x4ceb84,_0x4f35d3]=await Promise[_0x5b01b6(0x131)]([exports[_0x5b01b6(0x18b)](_0x3d8d24,_0x13409b),exports[_0x5b01b6(0xec)](_0x3d8d24,_0x13409b)]);_0x1bdbfb[_0x5b01b6(0xfa)]=_0x129734['MlzWn'](_0x4ceb84[_0x5b01b6(0x138)],_0x129734[_0x5b01b6(0xcc)])?_0x4ceb84[_0x5b01b6(0x104)]:[],_0x1bdbfb[_0x5b01b6(0x11b)]=_0x129734['OoeUL'](_0x4f35d3[_0x5b01b6(0x138)],_0x129734['IOzdN'])?_0x4f35d3['value']:{},_0x129734[_0x5b01b6(0x15e)](_0x4ceb84[_0x5b01b6(0x138)],_0x129734['lpLCW'])&&logger[_0x5b01b6(0x16d)]('Failed\x20to\x20retrieve\x20accessibility\x20results\x20('+_0x5b9ebc+_0x5b01b6(0x113)+_0x4ceb84[_0x5b01b6(0x17f)]?.[_0x5b01b6(0x172)]),_0x129734['MlzWn'](_0x4f35d3['status'],_0x129734[_0x5b01b6(0x124)])&&logger['warn'](_0x5b01b6(0x132)+_0x5b9ebc+_0x5b01b6(0x113)+_0x4f35d3[_0x5b01b6(0x17f)]?.[_0x5b01b6(0x172)]);}}catch(_0x38fa09){_0x1bdbfb[_0x5b01b6(0x135)]=_0x38fa09[_0x5b01b6(0x172)]||_0x129734[_0x5b01b6(0x112)],logger[_0x5b01b6(0x135)](_0x5b01b6(0x14d)+_0x5b9ebc+_0x5b01b6(0x113)+_0x1bdbfb[_0x5b01b6(0x135)]);}return _0x1bdbfb;},exports[a95_0x2d6984(0xe3)]=_0x557aa3=>{const _0x17774e=a95_0x2d6984,_0x39f8f5={};_0x39f8f5['mgabg']=function(_0x4d8e0a,_0x4a6763){return _0x4d8e0a!==_0x4a6763;},_0x39f8f5[_0x17774e(0x173)]=function(_0x6cd5d8,_0x29ecb2){return _0x6cd5d8!==_0x29ecb2;};const _0x2f45b1=_0x39f8f5;_0x2f45b1['mgabg'](_0x557aa3[_0x17774e(0xe7)],undefined)&&(RETRY_CONFIG[_0x17774e(0xe7)]=Math[_0x17774e(0x114)](0x0,_0x557aa3['maxRetries'])),_0x2f45b1[_0x17774e(0x173)](_0x557aa3[_0x17774e(0x167)],undefined)&&(RETRY_CONFIG[_0x17774e(0x167)]=Math['max'](0x3e8,_0x557aa3['timeoutMs'])),logger['debug'](_0x17774e(0x118)+JSON[_0x17774e(0x186)](RETRY_CONFIG));},exports[a95_0x2d6984(0xfb)]=()=>{const _0x366705={...RETRY_CONFIG};return _0x366705;},exports[a95_0x2d6984(0x193)]=_0x514c56=>{const _0x3c079d=a95_0x2d6984,_0x81e368={'NlSHw':function(_0xb55c5b,_0x28be15){return _0xb55c5b(_0x28be15);}};return _0x81e368['NlSHw'](detectDriverType,_0x514c56)[_0x3c079d(0xf3)];},exports[a95_0x2d6984(0x12c)]=_0x1b370f=>{const _0x724fa3=a95_0x2d6984,_0x2d1561={'wUWdy':function(_0x27e4fb,_0x116fd3){return _0x27e4fb(_0x116fd3);},'fhLbF':function(_0x573d22,_0x1a9a6a){return _0x573d22===_0x1a9a6a;},'fuAKb':_0x724fa3(0x16e)},{isPlaywright:_0x50e919,type:_0x3114a9}=_0x2d1561[_0x724fa3(0xce)](detectDriverType,_0x1b370f);return!_0x50e919&&_0x2d1561[_0x724fa3(0x17b)](_0x3114a9,_0x2d1561['fuAKb']);},exports['setPlaywrightScriptTimeout']=async(_0x5e9abb,_0x397ba1=null)=>{const _0x598ece=a95_0x2d6984,_0x235e06={'vlqex':function(_0x2d3258,_0xc8d4c2){return _0x2d3258(_0xc8d4c2);},'uoqFk':function(_0x37432b,_0x23f758){return _0x37432b===_0x23f758;},'pzSBS':_0x598ece(0x150)},{isPlaywright:_0x30dae3,type:_0x3de69b}=_0x235e06['vlqex'](detectDriverType,_0x5e9abb);if(!_0x30dae3)return logger[_0x598ece(0x16a)](_0x598ece(0xf6)+_0x3de69b+_0x598ece(0x127)),!![];const _0x176c75=_0x397ba1||RETRY_CONFIG[_0x598ece(0x14c)];try{return _0x5e9abb&&_0x235e06[_0x598ece(0x11a)](typeof _0x5e9abb[_0x598ece(0x137)],_0x235e06[_0x598ece(0x10a)])&&(await _0x5e9abb[_0x598ece(0x137)](_0x176c75),logger[_0x598ece(0x16a)](_0x598ece(0x149)+_0x176c75+'ms')),!![];}catch(_0x10a203){return logger['warn']('Failed\x20to\x20set\x20Playwright\x20script\x20timeout:\x20'+_0x10a203[_0x598ece(0x172)]),![];}},exports['setSeleniumScriptTimeout']=async(_0x5a0c3f,_0xf31105=null)=>{const _0x1a4a91=a95_0x2d6984,_0x123a78={};_0x123a78[_0x1a4a91(0xda)]=_0x1a4a91(0x121),_0x123a78[_0x1a4a91(0x16f)]=function(_0x21fdae,_0x1ed656){return _0x21fdae===_0x1ed656;},_0x123a78['EnFnl']='function',_0x123a78[_0x1a4a91(0x148)]=function(_0x11df7b,_0x5d01ff){return _0x11df7b===_0x5d01ff;},_0x123a78[_0x1a4a91(0xf7)]=_0x1a4a91(0x147),_0x123a78[_0x1a4a91(0x12b)]=_0x1a4a91(0xe1);const _0x1997fb=_0x123a78;if(!exports[_0x1a4a91(0x12c)](_0x5a0c3f))return logger[_0x1a4a91(0x16d)](_0x1997fb[_0x1a4a91(0xda)]),![];const _0x313d72=_0xf31105||RETRY_CONFIG[_0x1a4a91(0x14c)];try{if(_0x5a0c3f&&_0x1997fb['meSWb'](typeof _0x5a0c3f['manage'],_0x1997fb['EnFnl'])){const _0x5b62d9=_0x5a0c3f[_0x1a4a91(0x161)]();if(_0x5b62d9&&_0x1997fb[_0x1a4a91(0x148)](typeof _0x5b62d9[_0x1a4a91(0xcb)],_0x1997fb[_0x1a4a91(0x106)]))await _0x5b62d9['timeouts']()[_0x1a4a91(0x130)](_0x313d72),logger[_0x1a4a91(0x16a)](_0x1a4a91(0x13a)+_0x313d72+_0x1a4a91(0x15b));else{if(_0x5b62d9&&_0x1997fb[_0x1a4a91(0x148)](typeof _0x5b62d9[_0x1a4a91(0xf1)],_0x1997fb['EnFnl'])){const _0x21a3ff={};_0x21a3ff[_0x1a4a91(0xd6)]=_0x313d72,await _0x5b62d9[_0x1a4a91(0xf1)](_0x21a3ff),logger['debug'](_0x1a4a91(0x13a)+_0x313d72+_0x1a4a91(0x192));}else{if(_0x5b62d9&&_0x1997fb[_0x1a4a91(0x16f)](typeof _0x5b62d9['setScriptTimeout'],_0x1997fb[_0x1a4a91(0x106)]))await _0x5b62d9[_0x1a4a91(0x130)](_0x313d72),logger['debug'](_0x1a4a91(0x13a)+_0x313d72+_0x1a4a91(0xe6));else return logger[_0x1a4a91(0x16a)](_0x1997fb[_0x1a4a91(0xf7)]),!![];}}}else return logger[_0x1a4a91(0x16a)](_0x1997fb[_0x1a4a91(0x12b)]),!![];return!![];}catch(_0x1b8ba9){return logger[_0x1a4a91(0x16d)](_0x1a4a91(0xeb)+_0x1b8ba9[_0x1a4a91(0x172)]),![];}},exports['saveAccessibilityResultsWithRetry']=async(_0x316018,_0x28a2b4)=>{const _0x5a574c=a95_0x2d6984,_0x168739={'JCdOo':function(_0x531b8f,_0xb8e1b7){return _0x531b8f(_0xb8e1b7);},'Krzcc':_0x5a574c(0xd4),'awSnp':_0x5a574c(0x13f),'FPbVC':function(_0x4cfac5,_0x1388fc){return _0x4cfac5<=_0x1388fc;},'uDpZB':function(_0x54413e,_0x1e836d){return _0x54413e+_0x1e836d;},'OibkP':function(_0x4d3b8b,_0x4bda66){return _0x4d3b8b+_0x4bda66;},'ghhZx':function(_0x32af6f,_0x3f5f88){return _0x32af6f&&_0x3f5f88;},'rFbKp':function(_0x294f6a,_0x571830,_0x32355a){return _0x294f6a(_0x571830,_0x32355a);},'QvISF':'Unknown\x20error'},{isPlaywright:_0x2a15cc,type:_0x4b1496}=_0x168739[_0x5a574c(0xcf)](detectDriverType,_0x316018),_0x304d80=_0x2a15cc?global[_0x5a574c(0x178)]:accessibilityHelper[_0x5a574c(0xe2)]()&&globals[_0x5a574c(0x129)](_0x168739['Krzcc'])&&globals[_0x5a574c(0x129)](_0x168739[_0x5a574c(0x183)]);if(!_0x304d80)return logger[_0x5a574c(0x16d)]('Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20'+_0x4b1496+_0x5a574c(0x191)),![];let _0x4048d5=null;for(let _0x49843f=0x1;_0x168739[_0x5a574c(0x17c)](_0x49843f,_0x168739[_0x5a574c(0xf2)](RETRY_CONFIG[_0x5a574c(0xe7)],0x1));_0x49843f++){try{return logger['debug'](_0x5a574c(0x18f)+_0x49843f+'/'+_0x168739[_0x5a574c(0xd9)](RETRY_CONFIG[_0x5a574c(0xe7)],0x1)+'\x20('+_0x4b1496+')'),_0x168739[_0x5a574c(0x141)](_0x2a15cc,playwrightA11yHelper)?(_0x168739[_0x5a574c(0xde)](setConfigTimeout,RETRY_CONFIG,null),await exports['setPlaywrightScriptTimeout'](_0x316018,RETRY_CONFIG[_0x5a574c(0x167)]),await _0x168739[_0x5a574c(0xde)](withTimeout,playwrightA11yHelper[_0x5a574c(0x109)](_0x316018,scripts['saveTestResults'],_0x28a2b4),RETRY_CONFIG['timeoutMs']),await exports['setPlaywrightScriptTimeout'](_0x316018,RETRY_CONFIG['defaultTimeoutMs'])):(await exports[_0x5a574c(0x16b)](_0x316018,RETRY_CONFIG[_0x5a574c(0x167)]),await _0x168739[_0x5a574c(0xde)](withTimeout,_0x316018['executeAsyncScript'](scripts[_0x5a574c(0x171)],_0x28a2b4),RETRY_CONFIG[_0x5a574c(0x167)]),await exports[_0x5a574c(0x16b)](_0x316018,RETRY_CONFIG[_0x5a574c(0x14c)])),logger['info'](_0x5a574c(0x17d)+_0x49843f+'\x20('+_0x4b1496+')'),!![];}catch(_0x2bd6dc){_0x4048d5=_0x2bd6dc,logger[_0x5a574c(0x16d)](_0x5a574c(0x18f)+_0x49843f+_0x5a574c(0x159)+_0x4b1496+_0x5a574c(0x102)+_0x2bd6dc[_0x5a574c(0x172)]);}}return logger[_0x5a574c(0x135)](_0x5a574c(0x174)+_0x4b1496+').\x20Last\x20error:\x20'+(_0x4048d5?.[_0x5a574c(0x172)]||_0x168739[_0x5a574c(0x100)])),![];};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a96_0x9b35(_0x22288e,_0x359b8d){var _0x517d34=a96_0x517d();return a96_0x9b35=function(_0x9b35f2,_0x31419f){_0x9b35f2=_0x9b35f2-0x147;var _0x5385e9=_0x517d34[_0x9b35f2];return _0x5385e9;},a96_0x9b35(_0x22288e,_0x359b8d);}var a96_0xf51d6a=a96_0x9b35;(function(_0x49df94,_0x25f6f3){var _0x1399e2=a96_0x9b35,_0x4058df=_0x49df94();while(!![]){try{var _0xb8bfb9=parseInt(_0x1399e2(0x155))/0x1+parseInt(_0x1399e2(0x14a))/0x2*(-parseInt(_0x1399e2(0x14e))/0x3)+-parseInt(_0x1399e2(0x14b))/0x4+parseInt(_0x1399e2(0x148))/0x5*(-parseInt(_0x1399e2(0x150))/0x6)+parseInt(_0x1399e2(0x154))/0x7+parseInt(_0x1399e2(0x14d))/0x8*(-parseInt(_0x1399e2(0x14f))/0x9)+-parseInt(_0x1399e2(0x153))/0xa*(-parseInt(_0x1399e2(0x149))/0xb);if(_0xb8bfb9===_0x25f6f3)break;else _0x4058df['push'](_0x4058df['shift']());}catch(_0x4caa64){_0x4058df['push'](_0x4058df['shift']());}}}(a96_0x517d,0x1f396),exports[a96_0xf51d6a(0x147)]='https://accessibility.browserstack.com/api',exports[a96_0xf51d6a(0x152)]='94',exports[a96_0xf51d6a(0x151)]=a96_0xf51d6a(0x14c));function a96_0x517d(){var _0x40c616=['65yGFILp','2211539gwrvDm','12YNnFsd','272060oGTNIB','100','16prhcuE','29883Qxfxfp','276201JIqzJD','112632PtMjAv','MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY','MINIMUM_BROWSER_VERSION_ACCESSIBILITY','20dkCByx','735658MxHyvi','53897XfpJls','API_URL'];a96_0x517d=function(){return _0x40c616;};return a96_0x517d();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a97_0x59790c=a97_0x2a45;function a97_0x2a45(_0x5bfa46,_0x52f17b){const _0x2d5b2b=a97_0x2d5b();return a97_0x2a45=function(_0x2a4551,_0x1a6186){_0x2a4551=_0x2a4551-0xd0;let _0x4efeba=_0x2d5b2b[_0x2a4551];return _0x4efeba;},a97_0x2a45(_0x5bfa46,_0x52f17b);}(function(_0x79110f,_0x5508e7){const _0x5c7d00=a97_0x2a45,_0x1ef5ab=_0x79110f();while(!![]){try{const _0x149278=-parseInt(_0x5c7d00(0x176))/0x1*(parseInt(_0x5c7d00(0xde))/0x2)+-parseInt(_0x5c7d00(0x195))/0x3*(parseInt(_0x5c7d00(0x11d))/0x4)+parseInt(_0x5c7d00(0x100))/0x5+parseInt(_0x5c7d00(0xf9))/0x6+-parseInt(_0x5c7d00(0x112))/0x7*(parseInt(_0x5c7d00(0x11f))/0x8)+parseInt(_0x5c7d00(0x157))/0x9+parseInt(_0x5c7d00(0xfd))/0xa*(parseInt(_0x5c7d00(0xfa))/0xb);if(_0x149278===_0x5508e7)break;else _0x1ef5ab['push'](_0x1ef5ab['shift']());}catch(_0x2709ec){_0x1ef5ab['push'](_0x1ef5ab['shift']());}}}(a97_0x2d5b,0xd6de7));function a97_0x2d5b(){const _0x4e0e1e=['debug','warn','bISgi','basename','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','BROWSERSTACK_TURBOSCALE','getPackageVersion','mKnco','includeTagsInTestingScope','tduDB','goog:chromeOptions','isArray','bQXzJ','HzntG','selenium-webdriver','1YtZWps','vTYUt','PVVZg','--headless','cwd','accessibility','nonBstackPlatformValidation','browserstackSessionName','info','mergeDeep','rHjRS','BROWSERSTACK_TEST_ACCESSIBILITY_YML','../globals','Performed\x20scan\x20with\x20result:\x20','../logger','XQKTr','resolve','browserstack_executor','Content-Type','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.','method','BS_A11Y_JWT','some','isBrowserstackInfra','env','ScteE','chromeOptions_','pYXpC','selenium-webdriver/chrome.js','toISOString','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','3698259XKfujw','UxfpD','performScan','../helper','isAccessibilityPlatform','assign','length','string','nestedKeyValue','uAkuW','TPLms','body','RlPHp','HlpaM','getTestFrameworkDetails','JCwMX','getGitMetaData','util','ZRCye','LItYk','excludeTagsInTestingScope','stringify','toLowerCase','../performance/constants','getHostInfo','isAccessibilityAutomationSession','ZqDbt','OciZH','elvsD','test_runs/stop','isBrowserStackCommandExecutor','wXJia','version','proHb','VfteF','xfUeY','Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20','CIkEb','MzzvO','GET_RESULTS_SUMMARY','2779078fZaAkg','error','MsXja','success','jdVya','FaJIE','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','QdznK','measureWrapper','getAccessibilityResultsSummary','toJson','xOXUA','options_','No\x20accessibility\x20summary\x20was\x20found.','IePLw','ALHel','v2/test_runs','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','user','iyyUS','requireModule','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token','winstonLogger','auth','forEach','PERFORM_SCAN','MULrH','1718292sebmaI','11awNHap','scannerVersion','capabilities_','21116050GweNJF','chrome','javascript','6461685emxgRL','getAccessKey','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','message','MztfE','xVlXa','IFsjr','stack','get','Performing\x20scan\x20before\x20getting\x20results\x20summary','errors','getCapabilities','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','getBrowserVersion','Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20','dkUAG','oHUQx','GET_RESULTS','7gWAuFQ','PNJHZ','gdESE','shouldScanTestForAccessibility','Invalid\x20request:\x20','getCiInfo','executeAsyncScript','MdBCK','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20','bstack:options','PUT','4Cokhyd','chromeOptions','5167256dOHKPJ','getUserName','join','YEDQb','Error\x20while\x20adding\x20Non-Bstack\x20capabilities:\x20','Yfpgj','cUPcg','stopAccessibilityTestRun','a11y:start','bDYHD','getResults','includes','../performance/performance-tester','set','lMEbJ','buildDescription','getGlobal','KcZLo','browserVersion','czKgo','POST','./constants','getPlatformVersion','setNonBstackInfraCapabilities','isUndefined','data','gQVeY','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','JNXbt','accessibilityToken','script','Performing\x20scan\x20before\x20getting\x20results','statusText','pZSJb','headers','Tnpuw','BFcXI','SEgTo','fetchPlatformDetails','EqdNH','isTrue','toLZa','args','response','createAccessibilityTestRun','format','getAgentVersion','bstackA11yShouldScan','LELkQ','LYKoX','parse','status','BZNfO','UOEKk','getBrowserName','checkAccessibilityPlatformConfig','4121802sekopr','vIbli','Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20','gAbAd','oyHGX','browserstack','application/json','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','xyIgi','json','nodeRequest','EFeZG','__cloud_provider___','Not\x20a\x20Accessibility\x20Session','LpSMn','No\x20accessibility\x20results\x20were\x20found.'];a97_0x2d5b=function(){return _0x4e0e1e;};return a97_0x2d5b();}const path=require('path'),util=require(a97_0x59790c(0x1a6)),bsSetupHelper=require(a97_0x59790c(0x198)),logger=require(a97_0x59790c(0x184))[a97_0x59790c(0xf4)],{API_URL,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require(a97_0x59790c(0x134)),PerformanceTester=require(a97_0x59790c(0x12b)),scripts=require('./scripts'),globals=require(a97_0x59790c(0x182)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a97_0x59790c(0x1ac));exports[a97_0x59790c(0x145)]=async _0x4c4c79=>{const _0x5e89a0=a97_0x59790c,_0x5b249f={};_0x5b249f['UOEKk']=function(_0x240b3e,_0x1e0d06){return _0x240b3e===_0x1e0d06;},_0x5b249f[_0x5e89a0(0x139)]=_0x5e89a0(0x15c);const _0x5507a7=_0x5b249f;let _0x38d697={};try{const _0x274430=await _0x4c4c79[_0x5e89a0(0x10b)]();_0x38d697={'os_name':_0x274430['getPlatform'](),'os_version':bsSetupHelper[_0x5e89a0(0x135)](_0x5507a7[_0x5e89a0(0x154)](global[_0x5e89a0(0x163)],_0x5507a7[_0x5e89a0(0x139)])),'browser_name':_0x274430[_0x5e89a0(0x155)](),'browser_version':_0x274430[_0x5e89a0(0x10d)]()};}catch(_0x2fed5e){logger[_0x5e89a0(0x167)](_0x5e89a0(0xef)+_0x2fed5e);}return _0x38d697;},exports[a97_0x59790c(0x1ae)]=()=>{const _0x288dca=a97_0x59790c,_0x127ef9={};_0x127ef9[_0x288dca(0x15b)]=function(_0x582a75,_0x29ef67){return _0x582a75===_0x29ef67;},_0x127ef9[_0x288dca(0xd2)]=_0x288dca(0x19c),_0x127ef9[_0x288dca(0x119)]=function(_0x20f1cd,_0x57b876){return _0x20f1cd>_0x57b876;},_0x127ef9[_0x288dca(0x1a7)]=function(_0x3ae6b8,_0x11b4ed){return _0x3ae6b8!==_0x11b4ed;},_0x127ef9[_0x288dca(0x142)]='null',_0x127ef9[_0x288dca(0x106)]=function(_0x1eb254,_0x146e63){return _0x1eb254&&_0x146e63;};const _0x98f145=_0x127ef9;try{const _0x2ffc87=bsSetupHelper[_0x288dca(0x147)](process['env'][_0x288dca(0x181)])||bsSetupHelper['isTrue'](process[_0x288dca(0x18e)][_0x288dca(0x194)]),_0x5d164b=_0x98f145[_0x288dca(0x15b)](typeof process[_0x288dca(0x18e)][_0x288dca(0x18b)],_0x98f145['elvsD'])&&_0x98f145[_0x288dca(0x119)](process[_0x288dca(0x18e)]['BS_A11Y_JWT'][_0x288dca(0x19b)],0x0)&&_0x98f145[_0x288dca(0x1a7)](process['env'][_0x288dca(0x18b)],_0x98f145['Tnpuw']);return _0x98f145[_0x288dca(0x106)](_0x2ffc87,_0x5d164b);}catch(_0x43adaa){logger[_0x288dca(0x167)](_0x288dca(0xda)+_0x43adaa);}return![];},exports[a97_0x59790c(0x17c)]=(_0xb3ec87,_0x4a3058)=>{const _0x3df42c=a97_0x59790c,_0x1abd55={'dkUAG':'browserName','pZSJb':function(_0x5d5886,_0x26f82c){return _0x5d5886(_0x26f82c);},'qttRb':_0x3df42c(0x131),'LYKoX':_0x3df42c(0xd6),'cUPcg':_0x3df42c(0x11b),'CIkEb':function(_0x3590c9,_0x3b41d4){return _0x3590c9(_0x3b41d4);},'PiuFr':'deviceName','FaJIE':'device','bQXzJ':_0x3df42c(0x10c),'TPLms':_0x3df42c(0x192),'RlPHp':_0x3df42c(0x175),'XQKTr':_0x3df42c(0xea),'MsXja':_0x3df42c(0x149),'xVlXa':_0x3df42c(0x11e),'gAbAd':_0x3df42c(0x179),'proHb':_0x3df42c(0x102),'hnwma':'goog:chromeOptions','PVVZg':function(_0x6c150d,_0x4b6aca){return _0x6c150d===_0x4b6aca;},'EFeZG':_0x3df42c(0xfe),'Yfpgj':function(_0x132c8d,_0x4ed42c){return _0x132c8d>=_0x4ed42c;}},_0x76dc7e=_0xb3ec87[_0x3df42c(0x108)](_0x1abd55[_0x3df42c(0x10f)]),_0x278f39=_0x1abd55['pZSJb'](parseFloat,_0xb3ec87[_0x3df42c(0x108)](_0x1abd55['qttRb']))||_0x1abd55[_0x3df42c(0x140)](parseFloat,_0xb3ec87[_0x3df42c(0x108)](_0x1abd55[_0x3df42c(0x150)])),_0xd649f8=_0xb3ec87['get'](_0x1abd55[_0x3df42c(0x125)])||{},_0x5cbf92=_0x1abd55[_0x3df42c(0xdb)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY),_0x29095e=_0xd649f8[_0x1abd55['PiuFr']]||_0xb3ec87[_0x3df42c(0x108)](_0x1abd55[_0x3df42c(0xe3)])||![];if(_0x29095e)return logger[_0x3df42c(0x168)](_0x1abd55[_0x3df42c(0x173)]),![];let _0x2b6f4e;try{_0x2b6f4e=bsSetupHelper[_0x3df42c(0xf2)](_0x1abd55[_0x3df42c(0x19f)],_0x1abd55[_0x3df42c(0x1a1)]);}catch(_0x6f261c){return![];}const _0x1384c9=new _0x2b6f4e['Options'](_0x4a3058[_0x3df42c(0x190)]),_0x114cb2=bsSetupHelper[_0x3df42c(0x19d)](_0x1384c9,[_0x1abd55[_0x3df42c(0x185)],_0x1abd55['MsXja']])||bsSetupHelper[_0x3df42c(0x19d)](_0x4a3058['capabilities_'],[_0x1abd55[_0x3df42c(0x125)],_0x1abd55['xVlXa'],_0x1abd55[_0x3df42c(0xe0)]])||bsSetupHelper[_0x3df42c(0x19d)](_0x4a3058[_0x3df42c(0xfc)],[_0x1abd55[_0x3df42c(0x105)],_0x1abd55[_0x3df42c(0xe0)]])||[];if(_0x114cb2[_0x3df42c(0x12a)](_0x1abd55[_0x3df42c(0x15a)]))return logger[_0x3df42c(0x168)](_0x1abd55[_0x3df42c(0xd7)]),![];const _0x2abc27=_0x4a3058[_0x3df42c(0xfc)]||{},_0x3a4d8d=bsSetupHelper['nestedKeyValue'](_0x2abc27,[_0x1abd55['hnwma']])||{},_0x1e10be=bsSetupHelper['nestedKeyValue'](_0x3a4d8d,[_0x1abd55[_0x3df42c(0xe0)]])||[];if(_0x1e10be[_0x3df42c(0x12a)](_0x1abd55[_0x3df42c(0x15a)]))return logger[_0x3df42c(0x168)](_0x1abd55['proHb']),![];if(_0x1abd55[_0x3df42c(0x178)](_0x76dc7e[_0x3df42c(0x1ab)](),_0x1abd55[_0x3df42c(0x162)])&&_0x1abd55[_0x3df42c(0x124)](_0x278f39,_0x5cbf92))return!![];return logger[_0x3df42c(0x168)]('Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20'+MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY+'.'),![];},exports[a97_0x59790c(0x136)]=_0x385396=>{const _0x238c1f=a97_0x59790c,_0x4143ad={};_0x4143ad['oaQxJ']=_0x238c1f(0x171),_0x4143ad[_0x238c1f(0x165)]=function(_0x591e03,_0x530b38){return _0x591e03||_0x530b38;},_0x4143ad[_0x238c1f(0xd9)]=_0x238c1f(0x164);const _0x1a7a5e=_0x4143ad,_0x1df1a6=scripts['ChromeExtension'];try{const _0x1f19b8=bsSetupHelper[_0x238c1f(0x147)](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML'])||bsSetupHelper[_0x238c1f(0x147)](process[_0x238c1f(0x18e)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']);if((!bsSetupHelper[_0x238c1f(0x18d)]()||process[_0x238c1f(0x18e)][_0x238c1f(0x16c)])&&_0x1f19b8){const _0x1059fb=_0x385396[_0x238c1f(0x10b)](),_0x297526=_0x1059fb[_0x238c1f(0x108)](_0x1a7a5e['oaQxJ']),_0x51305c=_0x1a7a5e[_0x238c1f(0x165)](_0x297526,{});bsSetupHelper[_0x238c1f(0x17f)](_0x51305c,_0x1df1a6),_0x385396['getCapabilities']()[_0x238c1f(0x12c)](_0x1a7a5e['oaQxJ'],_0x51305c);}else logger[_0x238c1f(0x168)](_0x1a7a5e[_0x238c1f(0xd9)]);}catch(_0x3de8b4){logger[_0x238c1f(0xdf)](_0x238c1f(0x123)+_0x3de8b4);}},exports[a97_0x59790c(0x115)]=(_0x311030=null,_0x23211d=!![],_0x9d8ce1=[])=>{const _0xe10dbc=a97_0x59790c,_0x16d15d={};_0x16d15d[_0xe10dbc(0x143)]=function(_0x542b4b,_0x541920){return _0x542b4b==_0x541920;},_0x16d15d['YEDQb']=function(_0xa6a70a,_0x3d6f2f){return _0xa6a70a>_0x3d6f2f;},_0x16d15d[_0xe10dbc(0x177)]=function(_0xc8eb6,_0x5baf96){return _0xc8eb6===_0x5baf96;},_0x16d15d['QdznK']=function(_0x521dc5,_0x4b2260){return _0x521dc5&&_0x4b2260;},_0x16d15d['xyIgi']=function(_0x4e6374,_0x1b71f9){return _0x4e6374===_0x1b71f9;},_0x16d15d['oHUQx']=function(_0x31e958,_0x4bd0f4){return _0x31e958&&_0x4bd0f4;};const _0x3df613=_0x16d15d;if(_0x3df613[_0xe10dbc(0x143)](process[_0xe10dbc(0x18e)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'],null))return!![];try{const _0x406f86=JSON[_0xe10dbc(0x151)](process[_0xe10dbc(0x18e)][_0xe10dbc(0x15e)]),_0x31d0b3=Array[_0xe10dbc(0x172)](_0x406f86[_0xe10dbc(0x16f)])?_0x406f86['includeTagsInTestingScope']:[],_0x49781f=Array[_0xe10dbc(0x172)](_0x406f86[_0xe10dbc(0x1a9)])?_0x406f86[_0xe10dbc(0x1a9)]:[];if(bsSetupHelper['isUndefined'](_0x311030)){if(_0x3df613[_0xe10dbc(0x122)](_0x9d8ce1[_0xe10dbc(0x19b)],0x0)){const _0x5db92a=_0x49781f[_0xe10dbc(0x18c)](_0x18a4ae=>_0x9d8ce1['includes'](_0x18a4ae)),_0x4047d3=_0x3df613[_0xe10dbc(0x177)](_0x31d0b3[_0xe10dbc(0x19b)],0x0)||_0x31d0b3[_0xe10dbc(0x18c)](_0x330f51=>_0x9d8ce1[_0xe10dbc(0x12a)](_0x330f51));return _0x3df613[_0xe10dbc(0xe5)](!_0x5db92a,_0x4047d3);}return!![];}let _0x125fae;_0x23211d?_0x125fae=_0x311030[_0xe10dbc(0x121)]('/'):_0x125fae=_0x311030;const _0x8744f4=_0x49781f['some'](_0x5bf1d8=>_0x125fae[_0xe10dbc(0x12a)](_0x5bf1d8)),_0x15137b=_0x3df613[_0xe10dbc(0x15f)](_0x31d0b3[_0xe10dbc(0x19b)],0x0)||_0x31d0b3[_0xe10dbc(0x18c)](_0x3470e7=>_0x125fae['includes'](_0x3470e7));return _0x3df613[_0xe10dbc(0x110)](!_0x8744f4,_0x15137b);}catch(_0x5071ad){logger[_0xe10dbc(0x167)]('Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20'+util['format'](_0x5071ad));}return![];},exports[a97_0x59790c(0x156)]=_0x217286=>{const _0x40a7c4=a97_0x59790c;let _0x277bfd=![];try{_0x217286['platforms'][_0x40a7c4(0xf6)](_0x19b261=>{const _0x306c2f=_0x40a7c4;if(bsSetupHelper[_0x306c2f(0x147)](_0x19b261['accessibility']))return _0x277bfd=!![],!![];});}catch(_0x39e5fa){logger[_0x40a7c4(0x167)](_0x40a7c4(0x10e)+_0x39e5fa);}return _0x277bfd||bsSetupHelper[_0x40a7c4(0x147)](_0x217286[_0x40a7c4(0x17b)]);},exports[a97_0x59790c(0x14b)]=PerformanceTester[a97_0x59790c(0xe6)](a97_0x59790c(0x127),async function(_0x55b7c2,_0x11b110){const _0x5e33df=a97_0x59790c,_0xd01869={};_0xd01869[_0x5e33df(0x196)]=_0x5e33df(0xf3),_0xd01869[_0x5e33df(0x16e)]='playwright',_0xd01869[_0x5e33df(0x13b)]=_0x5e33df(0xff),_0xd01869[_0x5e33df(0x148)]=_0x5e33df(0x15d),_0xd01869[_0x5e33df(0x191)]=_0x5e33df(0x133),_0xd01869[_0x5e33df(0xd1)]=_0x5e33df(0xee),_0xd01869[_0x5e33df(0x146)]=function(_0xfa6a33,_0x48ea48){return _0xfa6a33===_0x48ea48;},_0xd01869['KcZLo']='Invalid\x20configuration\x20passed.',_0xd01869[_0x5e33df(0x14f)]='false';const _0x2ffa40=_0xd01869,_0x233b40=bsSetupHelper[_0x5e33df(0x120)](_0x55b7c2),_0x5594ea=bsSetupHelper[_0x5e33df(0x101)](_0x55b7c2);if(bsSetupHelper['isUndefined'](_0x233b40)||bsSetupHelper['isUndefined'](_0x5594ea))return logger[_0x5e33df(0xdf)](_0x2ffa40['UxfpD']),[null,null];try{let _0x2c8401;bsSetupHelper[_0x5e33df(0x137)](process[_0x5e33df(0x18e)][_0x5e33df(0x15e)])?_0x2c8401={}:_0x2c8401=JSON[_0x5e33df(0x151)](process[_0x5e33df(0x18e)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']);const {name:_0x16adcb,version:_0x407345}=bsSetupHelper[_0x5e33df(0x1a3)](_0x55b7c2,_0x11b110),_0x30dd97={'projectName':_0x55b7c2['projectName'],'buildName':_0x55b7c2['buildName']||path[_0x5e33df(0x16a)](path[_0x5e33df(0x186)](process[_0x5e33df(0x17a)]())),'startTime':new Date()[_0x5e33df(0x193)](),'description':_0x55b7c2[_0x5e33df(0x12e)]||'','source':{'frameworkName':_0x11b110[_0x5e33df(0x12a)](_0x2ffa40[_0x5e33df(0x16e)])?_0x2ffa40[_0x5e33df(0x16e)]:_0x11b110,'frameworkVersion':bsSetupHelper[_0x5e33df(0x16d)](_0x11b110),'sdkVersion':bsSetupHelper[_0x5e33df(0x14d)](),'language':_0x2ffa40[_0x5e33df(0x13b)],'testFramework':_0x16adcb,'testFrameworkVersion':_0x407345},'settings':_0x2c8401,'versionControl':await bsSetupHelper[_0x5e33df(0x1a5)](),'ciInfo':bsSetupHelper[_0x5e33df(0x117)](),'hostInfo':bsSetupHelper[_0x5e33df(0x1ad)](),'browserstackAutomation':bsSetupHelper[_0x5e33df(0x18d)]()},_0x377dc5={};_0x377dc5[_0x5e33df(0xf0)]=_0x233b40,_0x377dc5['pass']=_0x5594ea;const _0x36424a={};_0x36424a[_0x5e33df(0x188)]=_0x2ffa40[_0x5e33df(0x148)];const _0x194402={};_0x194402[_0x5e33df(0xf5)]=_0x377dc5,_0x194402[_0x5e33df(0x141)]=_0x36424a;const _0x49c512=_0x194402,_0x5138dd={};_0x5138dd[_0x5e33df(0x1a0)]=_0x30dd97,_0x5138dd[_0x5e33df(0x160)]=!![];const _0x182637=Object[_0x5e33df(0x19a)](_0x49c512,_0x5138dd),_0x369bc9=await bsSetupHelper[_0x5e33df(0x161)](_0x2ffa40[_0x5e33df(0x191)],_0x2ffa40[_0x5e33df(0xd1)],_0x182637,_0x55b7c2,API_URL);let _0x2f971e=process[_0x5e33df(0x18e)][_0x5e33df(0x15e)];return _0x2f971e?_0x2f971e=JSON[_0x5e33df(0x151)](process[_0x5e33df(0x18e)][_0x5e33df(0x15e)]):_0x2f971e={},scripts['parseFromJson'](_0x369bc9['data'][_0x5e33df(0x138)]),scripts[_0x5e33df(0xe8)](),_0x2f971e[_0x5e33df(0xfb)]=_0x369bc9[_0x5e33df(0x138)]['data'][_0x5e33df(0xfb)],process[_0x5e33df(0x18e)][_0x5e33df(0x15e)]=JSON[_0x5e33df(0x1aa)](_0x2f971e),[_0x369bc9['data'][_0x5e33df(0x138)][_0x5e33df(0x13c)],_0x369bc9[_0x5e33df(0x138)][_0x5e33df(0x138)]['id']];}catch(_0x46a5b7){if(_0x46a5b7['response'])logger[_0x5e33df(0xdf)](_0x5e33df(0x16b)+_0x46a5b7[_0x5e33df(0x14a)][_0x5e33df(0x152)]+'\x20'+_0x46a5b7['response'][_0x5e33df(0x13f)]+'\x20'+JSON['stringify'](_0x46a5b7[_0x5e33df(0x14a)][_0x5e33df(0x138)]));else{if(_0x2ffa40[_0x5e33df(0x146)](_0x46a5b7[_0x5e33df(0x103)],_0x2ffa40[_0x5e33df(0x130)])){logger[_0x5e33df(0xdf)]('Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20'+(_0x46a5b7['message']||_0x46a5b7[_0x5e33df(0x107)]));for(const _0x3c78b9 of _0x46a5b7[_0x5e33df(0x10a)]){logger[_0x5e33df(0xdf)](_0x3c78b9[_0x5e33df(0x103)]);}process[_0x5e33df(0x18e)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x2ffa40[_0x5e33df(0x14f)],process[_0x5e33df(0x18e)][_0x5e33df(0x194)]=_0x2ffa40[_0x5e33df(0x14f)];}else logger[_0x5e33df(0xdf)](_0x5e33df(0x16b)+(_0x46a5b7[_0x5e33df(0x103)]||_0x46a5b7['stack']));}return[null,null];}}),exports[a97_0x59790c(0x126)]=PerformanceTester[a97_0x59790c(0xe6)]('a11y:stop',async function(_0x56a8db){const _0x2ea17d=a97_0x59790c,_0x4c0543={};_0x4c0543[_0x2ea17d(0x132)]=function(_0x11971a,_0x120e61){return _0x11971a!==_0x120e61;},_0x4c0543[_0x2ea17d(0xed)]='string',_0x4c0543[_0x2ea17d(0xd0)]='error',_0x4c0543[_0x2ea17d(0xd8)]='Build\x20creation\x20had\x20failed.',_0x4c0543[_0x2ea17d(0x180)]=_0x2ea17d(0x15d),_0x4c0543['gdESE']=_0x2ea17d(0x11c),_0x4c0543[_0x2ea17d(0x18f)]=_0x2ea17d(0xd3),_0x4c0543[_0x2ea17d(0xf1)]=function(_0x40f24b,_0x2670fb){return _0x40f24b+_0x2670fb;},_0x4c0543[_0x2ea17d(0x1a8)]=_0x2ea17d(0x116),_0x4c0543['tduDB']=_0x2ea17d(0xe1);const _0x73aaa9=_0x4c0543;if(bsSetupHelper[_0x2ea17d(0x137)](process[_0x2ea17d(0x18e)]['BS_A11Y_JWT'])||_0x73aaa9[_0x2ea17d(0x132)](typeof process[_0x2ea17d(0x18e)][_0x2ea17d(0x18b)],_0x73aaa9[_0x2ea17d(0xed)])){const _0x322f55={};return _0x322f55[_0x2ea17d(0x152)]=_0x73aaa9['ZqDbt'],_0x322f55[_0x2ea17d(0x103)]=_0x73aaa9[_0x2ea17d(0xd8)],_0x322f55;}const _0x506236={'endTime':new Date()[_0x2ea17d(0x193)]()},_0x1b16bf={};_0x1b16bf['Authorization']='Bearer\x20'+process['env'][_0x2ea17d(0x18b)],_0x1b16bf[_0x2ea17d(0x188)]=_0x73aaa9['rHjRS'];const _0xf65393={};_0xf65393[_0x2ea17d(0x141)]=_0x1b16bf;const _0x2b6126=_0xf65393,_0x4fec8d={};_0x4fec8d[_0x2ea17d(0x1a0)]=_0x506236,_0x4fec8d[_0x2ea17d(0xf5)]=null,_0x4fec8d[_0x2ea17d(0x160)]=!![];const _0x28509=Object[_0x2ea17d(0x19a)](_0x2b6126,_0x4fec8d);try{const _0x31ef4c=await bsSetupHelper[_0x2ea17d(0x161)](_0x73aaa9[_0x2ea17d(0x114)],_0x73aaa9['ScteE'],_0x28509,_0x56a8db,API_URL);if(_0x31ef4c['data'][_0x2ea17d(0xdf)])throw new Error(_0x73aaa9[_0x2ea17d(0xf1)](_0x73aaa9['LItYk'],_0x31ef4c[_0x2ea17d(0x138)][_0x2ea17d(0xdf)]));else{logger[_0x2ea17d(0x17e)](_0x2ea17d(0x11a)+new Date()[_0x2ea17d(0x193)]());const _0x5af18c={};return _0x5af18c[_0x2ea17d(0x152)]=_0x73aaa9[_0x2ea17d(0x170)],_0x5af18c['message']='',_0x5af18c;}}catch(_0x5cc50e){_0x5cc50e[_0x2ea17d(0x14a)]?logger[_0x2ea17d(0xdf)](_0x2ea17d(0x159)+_0x5cc50e[_0x2ea17d(0x14a)][_0x2ea17d(0x152)]+'\x20'+_0x5cc50e[_0x2ea17d(0x14a)]['statusText']+'\x20'+JSON[_0x2ea17d(0x1aa)](_0x5cc50e['response']['data'])):logger['error'](_0x2ea17d(0x159)+(_0x5cc50e[_0x2ea17d(0x103)]||util[_0x2ea17d(0x14c)](_0x5cc50e)));const _0x2c774f={};return _0x2c774f['status']=_0x73aaa9[_0x2ea17d(0xd0)],_0x2c774f[_0x2ea17d(0x103)]=_0x5cc50e['message']||(_0x5cc50e[_0x2ea17d(0x14a)]?_0x5cc50e[_0x2ea17d(0x14a)]['status']+':'+_0x5cc50e[_0x2ea17d(0x14a)]['statusText']:_0x5cc50e),_0x2c774f;}}),exports['performScan']=async(_0x502f6b,_0x516705=null)=>{const _0x1c52b7=a97_0x59790c,_0x2d73d7={};_0x2d73d7[_0x1c52b7(0xe2)]=_0x1c52b7(0x199),_0x2d73d7[_0x1c52b7(0xe9)]=_0x1c52b7(0x14e),_0x2d73d7[_0x1c52b7(0xd5)]=_0x1c52b7(0x189);const _0x34c9d2=_0x2d73d7;if(!this[_0x1c52b7(0x1ae)]()||!globals[_0x1c52b7(0x12f)](_0x34c9d2['jdVya'])||!globals['getGlobal'](_0x34c9d2['xOXUA'])){logger[_0x1c52b7(0x168)](_0x34c9d2[_0x1c52b7(0xd5)]);return;}return await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x1c52b7(0xf7)],async()=>{const _0x4cfd9a=_0x1c52b7,_0x394895={};_0x394895[_0x4cfd9a(0x18a)]=_0x516705||global[_0x4cfd9a(0x17d)];const _0x32dec0=util[_0x4cfd9a(0x14c)](await _0x502f6b[_0x4cfd9a(0x118)](scripts[_0x4cfd9a(0x197)],_0x394895));return logger['debug'](_0x4cfd9a(0x183)+_0x32dec0),_0x32dec0;},{'command':_0x516705})();},exports['getAccessibilityResults']=async(_0x5465c1,_0x24eb07)=>{const _0x54d294=a97_0x59790c,_0x6d5554={};_0x6d5554[_0x54d294(0x169)]=_0x54d294(0x13e),_0x6d5554[_0x54d294(0xf8)]=_0x54d294(0x199),_0x6d5554[_0x54d294(0x113)]=_0x54d294(0x14e),_0x6d5554[_0x54d294(0x144)]=_0x54d294(0xe4),_0x6d5554[_0x54d294(0xdc)]='getAccessibilityResults',_0x6d5554[_0x54d294(0x174)]=_0x54d294(0x166);const _0x2e2e36=_0x6d5554;if(!this[_0x54d294(0x1ae)]()||!globals[_0x54d294(0x12f)](_0x2e2e36[_0x54d294(0xf8)])||!globals['getGlobal'](_0x2e2e36[_0x54d294(0x113)]))return logger['warn'](_0x2e2e36[_0x54d294(0x144)]),[];try{return await PerformanceTester[_0x54d294(0xe6)](PerformanceA11yEvents[_0x54d294(0xf7)],async()=>{const _0x592004=_0x54d294;logger[_0x592004(0x167)](_0x2e2e36[_0x592004(0x169)]);const _0x275b24={};_0x275b24[_0x592004(0x18a)]=_0x24eb07[_0x592004(0x17d)],logger[_0x592004(0x167)](util[_0x592004(0x14c)](await _0x5465c1[_0x592004(0x118)](scripts[_0x592004(0x197)],_0x275b24)));},{'command':_0x2e2e36[_0x54d294(0xdc)]})(),await PerformanceTester[_0x54d294(0xe6)](PerformanceA11yEvents[_0x54d294(0x111)],async()=>{const _0x77a3cb=_0x54d294,_0x4de2d7=await _0x5465c1[_0x77a3cb(0x118)](scripts[_0x77a3cb(0x129)]);return _0x4de2d7;})();}catch{return logger['error'](_0x2e2e36[_0x54d294(0x174)]),[];}},exports[a97_0x59790c(0xe7)]=async(_0x41ebc7,_0x5d469f)=>{const _0x69d3a3=a97_0x59790c,_0x5e1ffd={};_0x5e1ffd[_0x69d3a3(0x12d)]=_0x69d3a3(0x109),_0x5e1ffd['uAkuW']=_0x69d3a3(0x199),_0x5e1ffd['IePLw']=_0x69d3a3(0x14e),_0x5e1ffd[_0x69d3a3(0x158)]=_0x69d3a3(0x13a),_0x5e1ffd[_0x69d3a3(0x128)]=_0x69d3a3(0xe7),_0x5e1ffd[_0x69d3a3(0x104)]=_0x69d3a3(0xeb);const _0x4f9fb6=_0x5e1ffd;if(!this[_0x69d3a3(0x1ae)]()||!globals[_0x69d3a3(0x12f)](_0x4f9fb6[_0x69d3a3(0x19e)])||!globals[_0x69d3a3(0x12f)](_0x4f9fb6[_0x69d3a3(0xec)]))return logger[_0x69d3a3(0x168)](_0x4f9fb6[_0x69d3a3(0x158)]),{};try{return await PerformanceTester[_0x69d3a3(0xe6)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x543bb7=_0x69d3a3;logger['debug'](_0x4f9fb6[_0x543bb7(0x12d)]);const _0x38c7a6={};_0x38c7a6[_0x543bb7(0x18a)]=_0x5d469f[_0x543bb7(0x17d)],logger[_0x543bb7(0x167)](util[_0x543bb7(0x14c)](await _0x41ebc7[_0x543bb7(0x118)](scripts[_0x543bb7(0x197)],_0x38c7a6)));},{'command':_0x4f9fb6[_0x69d3a3(0x128)]})(),await PerformanceTester[_0x69d3a3(0xe6)](PerformanceA11yEvents[_0x69d3a3(0xdd)],async()=>{const _0xb9886a=_0x69d3a3,_0x254ccb=await _0x41ebc7[_0xb9886a(0x118)](scripts['getResultsSummary']);return _0x254ccb;})();}catch{return logger[_0x69d3a3(0xdf)](_0x4f9fb6[_0x69d3a3(0x104)]),{};}},exports[a97_0x59790c(0xd4)]=_0x45ffec=>{const _0x26635b=a97_0x59790c,_0x118022={};_0x118022[_0x26635b(0x1a2)]=function(_0x44047c,_0x26a8f0){return _0x44047c===_0x26a8f0;},_0x118022[_0x26635b(0x153)]=_0x26635b(0x19c),_0x118022[_0x26635b(0x1a4)]=_0x26635b(0x187);const _0x5b64bb=_0x118022;if(_0x45ffec&&_0x45ffec['script']&&_0x5b64bb[_0x26635b(0x1a2)](typeof _0x45ffec[_0x26635b(0x13d)],_0x5b64bb[_0x26635b(0x153)]))return _0x45ffec[_0x26635b(0x13d)][_0x26635b(0x12a)](_0x5b64bb[_0x26635b(0x1a4)]);return![];};
|
|
1
|
+
const a97_0x4a34c1=a97_0x2fa1;(function(_0x1cb32f,_0x319d30){const _0x49b1ba=a97_0x2fa1,_0x25f173=_0x1cb32f();while(!![]){try{const _0x2040f5=-parseInt(_0x49b1ba(0x146))/0x1*(parseInt(_0x49b1ba(0x131))/0x2)+-parseInt(_0x49b1ba(0x135))/0x3+-parseInt(_0x49b1ba(0x17a))/0x4+parseInt(_0x49b1ba(0x15f))/0x5+parseInt(_0x49b1ba(0x116))/0x6+parseInt(_0x49b1ba(0x138))/0x7*(-parseInt(_0x49b1ba(0x142))/0x8)+parseInt(_0x49b1ba(0x15c))/0x9*(parseInt(_0x49b1ba(0xda))/0xa);if(_0x2040f5===_0x319d30)break;else _0x25f173['push'](_0x25f173['shift']());}catch(_0xdb259f){_0x25f173['push'](_0x25f173['shift']());}}}(a97_0x1f63,0xd7e0e));function a97_0x2fa1(_0x4a1a01,_0x3b53f3){const _0x1f638f=a97_0x1f63();return a97_0x2fa1=function(_0x2fa1a1,_0x243bd9){_0x2fa1a1=_0x2fa1a1-0xc3;let _0x51b837=_0x1f638f[_0x2fa1a1];return _0x51b837;},a97_0x2fa1(_0x4a1a01,_0x3b53f3);}const path=require(a97_0x4a34c1(0x186)),util=require('util'),bsSetupHelper=require('../helper'),logger=require(a97_0x4a34c1(0x102))['winstonLogger'],{API_URL,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require('./constants'),PerformanceTester=require(a97_0x4a34c1(0xe2)),scripts=require(a97_0x4a34c1(0x119)),globals=require(a97_0x4a34c1(0x16b)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a97_0x4a34c1(0x168));function a97_0x1f63(){const _0xa2fcd1=['Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.','SAonG','playwright','browserstackSessionName','format','mEZAt','__cloud_provider___','bGvNN','BoOIT','POST','Not\x20a\x20Accessibility\x20Session','getAccessKey','getPackageVersion','length','status','message','UoFBl','KTmGk','XhtlA','AfLnG','7634439umEyWq','stopAccessibilityTestRun','nrlAw','4089565NjhcfG','bjudp','PzVwf','PERFORM_SCAN','method','cBphS','assign','BS_A11Y_JWT','PdQmh','../performance/constants','application/json','cwd','../globals','ElqRo','sTYgX','NvFiK','nCpWL','body','checkAccessibilityPlatformConfig','auth','string','response','getResults','giCxu','executeAsyncScript','No\x20accessibility\x20summary\x20was\x20found.','capabilities_','305828FqPloQ','nodeRequest','RTaiC','KucUo','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','QbBoT','GWBfs','ShYYM','performScan','goog:chromeOptions','neTJl','getAccessibilityResults','path','KRWId','zpnVS','opbAa','GONPT','No\x20accessibility\x20results\x20were\x20found.','error','stack','version','NdnBG','uGrwK','RrCuE','isBrowserStackCommandExecutor','utciZ','PUT','browserName','stringify','bNlCA','HTisf','fetchPlatformDetails','Invalid\x20request:\x20','qBTQI','a11y:stop','BqYTS','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','dCXqv','false','getResultsSummary','HhcVK','BROWSERSTACK_TURBOSCALE','Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20','accessibility','BKlan','test_runs/stop','qHKkd','jclUq','10qnKQGi','GflXO','setNonBstackInfraCapabilities','isBrowserstackInfra','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','nIgZl','get','Authorization','../performance/performance-tester','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20','statusText','createAccessibilityTestRun','Error\x20while\x20adding\x20Non-Bstack\x20capabilities:\x20','json','getGlobal','isAccessibilityPlatform','dLtzC','deviceName','platforms','NkviK','getHostInfo','info','nestedKeyValue','Performing\x20scan\x20before\x20getting\x20results\x20summary','measureWrapper','script','data','iPtJV','toISOString','isArray','buildName','Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20','BROWSERSTACK_TEST_ACCESSIBILITY_YML','chromeOptions_','pass','shouldScanTestForAccessibility','ChromeExtension','jpann','getUserName','../logger','iLLYu','uTeWw','javascript','getPlatformVersion','Bearer\x20','xDzkM','includes','getCapabilities','bstackA11yShouldScan','env','getBrowserVersion','fHmuT','tfcfR','UNhOz','qCrGl','GET_RESULTS','nonBstackPlatformValidation','isUndefined','toLowerCase','4219134aWQiIP','excludeTagsInTestingScope','parse','./scripts','rkNGg','toJson','CIJqM','isTrue','Performing\x20scan\x20before\x20getting\x20results','ckzJS','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','lrKYk','PDgdC','requireModule','mtCek','bXbJA','resolve','ojryc','ZBbfL','chrome','chromeOptions','buildDescription','Options','join','selenium-webdriver','success','parseFromJson','34cqonLH','device','Build\x20creation\x20had\x20failed.','debug','1044942yUjdzu','warn','VWfMB','6045837udnWeu','rQVgO','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','gINgj','getGitMetaData','getAccessibilityResultsSummary','pVRIT','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','xfbWb','dmIAt','8KjgzPJ','--headless','some','browserstack','11569yUysTX','isAccessibilityAutomationSession'];a97_0x1f63=function(){return _0xa2fcd1;};return a97_0x1f63();}exports[a97_0x4a34c1(0xc9)]=async _0x231406=>{const _0x529e9d=a97_0x4a34c1,_0x68e864={};_0x68e864['GflXO']=function(_0x40d155,_0x26ac15){return _0x40d155===_0x26ac15;},_0x68e864['neTJl']=_0x529e9d(0x145);const _0x3b38d4=_0x68e864;let _0x432d7d={};try{const _0x138629=await _0x231406[_0x529e9d(0x10a)]();_0x432d7d={'os_name':_0x138629['getPlatform'](),'os_version':bsSetupHelper[_0x529e9d(0x106)](_0x3b38d4[_0x529e9d(0xdb)](global[_0x529e9d(0x14e)],_0x3b38d4[_0x529e9d(0x184)])),'browser_name':_0x138629['getBrowserName'](),'browser_version':_0x138629[_0x529e9d(0x10d)]()};}catch(_0x5bd7b1){logger[_0x529e9d(0x134)](_0x529e9d(0xe3)+_0x5bd7b1);}return _0x432d7d;},exports[a97_0x4a34c1(0x147)]=()=>{const _0x28dec3=a97_0x4a34c1,_0x4bca34={};_0x4bca34[_0x28dec3(0x108)]=function(_0x13c62f,_0xdc1171){return _0x13c62f===_0xdc1171;},_0x4bca34[_0x28dec3(0x181)]=_0x28dec3(0x173),_0x4bca34[_0x28dec3(0x10f)]=function(_0x35d7b5,_0x128c28){return _0x35d7b5>_0x128c28;},_0x4bca34[_0x28dec3(0x15a)]=function(_0x17e938,_0x287aa5){return _0x17e938!==_0x287aa5;},_0x4bca34['NvFiK']='null',_0x4bca34[_0x28dec3(0x16d)]=function(_0x53e698,_0x2335a8){return _0x53e698&&_0x2335a8;};const _0x2513b7=_0x4bca34;try{const _0x4baaea=bsSetupHelper['isTrue'](process[_0x28dec3(0x10c)][_0x28dec3(0xfb)])||bsSetupHelper[_0x28dec3(0x11d)](process[_0x28dec3(0x10c)][_0x28dec3(0xde)]),_0x215433=_0x2513b7[_0x28dec3(0x108)](typeof process[_0x28dec3(0x10c)]['BS_A11Y_JWT'],_0x2513b7[_0x28dec3(0x181)])&&_0x2513b7['tfcfR'](process['env']['BS_A11Y_JWT']['length'],0x0)&&_0x2513b7[_0x28dec3(0x15a)](process[_0x28dec3(0x10c)][_0x28dec3(0x166)],_0x2513b7[_0x28dec3(0x16e)]);return _0x2513b7['sTYgX'](_0x4baaea,_0x215433);}catch(_0x2b1c82){logger[_0x28dec3(0x134)]('Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20'+_0x2b1c82);}return![];},exports[a97_0x4a34c1(0x113)]=(_0x58ae21,_0xc64ad9)=>{const _0x69737e=a97_0x4a34c1,_0x9ebf95={'jtmCn':_0x69737e(0xc5),'aKRBN':function(_0x1e192c,_0x2654ba){return _0x1e192c(_0x2654ba);},'iLLYu':'browserVersion','giCxu':function(_0x3aa65f,_0x3204d2){return _0x3aa65f(_0x3204d2);},'xfbWb':_0x69737e(0x18e),'dmIAt':'bstack:options','VWfMB':function(_0x37b6bc,_0x24a518){return _0x37b6bc(_0x24a518);},'opbAa':_0x69737e(0xec),'SAonG':_0x69737e(0x132),'BKlan':_0x69737e(0x17e),'CIJqM':'selenium-webdriver/chrome.js','jpann':_0x69737e(0x12e),'GONPT':'options_','pVRIT':'args','qBTQI':_0x69737e(0x12a),'zpnVS':_0x69737e(0x143),'uTeWw':_0x69737e(0xce),'nIJWd':_0x69737e(0x183),'AfLnG':function(_0x47175a,_0x36c704){return _0x47175a===_0x36c704;},'rQVgO':_0x69737e(0x129),'cBphS':function(_0x4ec4a8,_0x106b61){return _0x4ec4a8>=_0x106b61;}},_0x10676a=_0x58ae21[_0x69737e(0xe0)](_0x9ebf95['jtmCn']),_0x25130b=_0x9ebf95['aKRBN'](parseFloat,_0x58ae21['get'](_0x9ebf95[_0x69737e(0x103)]))||_0x9ebf95[_0x69737e(0x176)](parseFloat,_0x58ae21['get'](_0x9ebf95[_0x69737e(0x140)])),_0xc33324=_0x58ae21[_0x69737e(0xe0)](_0x9ebf95[_0x69737e(0x141)])||{},_0x2700a1=_0x9ebf95[_0x69737e(0x137)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY),_0xdcb607=_0xc33324[_0x9ebf95[_0x69737e(0x189)]]||_0x58ae21[_0x69737e(0xe0)](_0x9ebf95[_0x69737e(0x149)])||![];if(_0xdcb607)return logger[_0x69737e(0x136)](_0x9ebf95[_0x69737e(0xd6)]),![];let _0x4b53e0;try{_0x4b53e0=bsSetupHelper[_0x69737e(0x123)](_0x9ebf95[_0x69737e(0x11c)],_0x9ebf95[_0x69737e(0x100)]);}catch(_0x3b176a){return![];}const _0x4ea65f=new _0x4b53e0[(_0x69737e(0x12c))](_0xc64ad9[_0x69737e(0xfc)]),_0x909a0a=bsSetupHelper[_0x69737e(0xf1)](_0x4ea65f,[_0x9ebf95[_0x69737e(0x18a)],_0x9ebf95[_0x69737e(0x13e)]])||bsSetupHelper[_0x69737e(0xf1)](_0xc64ad9['capabilities_'],[_0x9ebf95[_0x69737e(0x141)],_0x9ebf95[_0x69737e(0xcb)],_0x9ebf95[_0x69737e(0x13e)]])||bsSetupHelper[_0x69737e(0xf1)](_0xc64ad9['capabilities_'],[_0x9ebf95[_0x69737e(0xcb)],_0x9ebf95[_0x69737e(0x13e)]])||[];if(_0x909a0a[_0x69737e(0x109)](_0x9ebf95[_0x69737e(0x188)]))return logger[_0x69737e(0x136)](_0x9ebf95[_0x69737e(0x104)]),![];const _0xaf7aac=_0xc64ad9[_0x69737e(0x179)]||{},_0x4a24e5=bsSetupHelper[_0x69737e(0xf1)](_0xaf7aac,[_0x9ebf95['nIJWd']])||{},_0x23ebf2=bsSetupHelper['nestedKeyValue'](_0x4a24e5,[_0x9ebf95[_0x69737e(0x13e)]])||[];if(_0x23ebf2[_0x69737e(0x109)](_0x9ebf95[_0x69737e(0x188)]))return logger[_0x69737e(0x136)](_0x9ebf95[_0x69737e(0x104)]),![];if(_0x9ebf95[_0x69737e(0x15b)](_0x10676a[_0x69737e(0x115)](),_0x9ebf95[_0x69737e(0x139)])&&_0x9ebf95[_0x69737e(0x164)](_0x25130b,_0x2700a1))return!![];return logger[_0x69737e(0x136)]('Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20'+MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY+'.'),![];},exports[a97_0x4a34c1(0xdc)]=_0xbd9fad=>{const _0x225df7=a97_0x4a34c1,_0x335a89={};_0x335a89[_0x225df7(0x15e)]=_0x225df7(0x183),_0x335a89[_0x225df7(0xdf)]=function(_0xa97bd5,_0x241f06){return _0xa97bd5||_0x241f06;},_0x335a89['ElqRo']=_0x225df7(0x152);const _0x53d825=_0x335a89,_0x3364dc=scripts[_0x225df7(0xff)];try{const _0x1e6d49=bsSetupHelper[_0x225df7(0x11d)](process[_0x225df7(0x10c)][_0x225df7(0xfb)])||bsSetupHelper[_0x225df7(0x11d)](process['env'][_0x225df7(0xde)]);if((!bsSetupHelper[_0x225df7(0xdd)]()||process[_0x225df7(0x10c)][_0x225df7(0xd3)])&&_0x1e6d49){const _0x27f36a=_0xbd9fad['getCapabilities'](),_0x43eaa0=_0x27f36a[_0x225df7(0xe0)](_0x53d825[_0x225df7(0x15e)]),_0x25962c=_0x53d825['nIgZl'](_0x43eaa0,{});bsSetupHelper['mergeDeep'](_0x25962c,_0x3364dc),_0xbd9fad[_0x225df7(0x10a)]()['set'](_0x53d825['nrlAw'],_0x25962c);}else logger[_0x225df7(0x136)](_0x53d825[_0x225df7(0x16c)]);}catch(_0x3d376c){logger[_0x225df7(0x18c)](_0x225df7(0xe7)+_0x3d376c);}},exports[a97_0x4a34c1(0xfe)]=(_0x1eb76a=null,_0x4555dc=!![],_0x40b03a=[])=>{const _0x42a71c=a97_0x4a34c1,_0x470624={};_0x470624[_0x42a71c(0x121)]=function(_0xe66166,_0xf971a9){return _0xe66166==_0xf971a9;},_0x470624['BoOIT']=function(_0x5b7c76,_0x5d0ff2){return _0x5b7c76>_0x5d0ff2;},_0x470624[_0x42a71c(0xd9)]=function(_0x57aaa2,_0x8147d3){return _0x57aaa2===_0x8147d3;},_0x470624['EgxEL']=function(_0x5454a1,_0x4f2cd0){return _0x5454a1&&_0x4f2cd0;},_0x470624[_0x42a71c(0x18f)]=function(_0x22ab85,_0x495f4f){return _0x22ab85&&_0x495f4f;};const _0x43f4f8=_0x470624;if(_0x43f4f8[_0x42a71c(0x121)](process['env'][_0x42a71c(0x13a)],null))return!![];try{const _0x4f216b=JSON[_0x42a71c(0x118)](process[_0x42a71c(0x10c)][_0x42a71c(0x13a)]),_0x2ec829=Array[_0x42a71c(0xf8)](_0x4f216b['includeTagsInTestingScope'])?_0x4f216b['includeTagsInTestingScope']:[],_0x25ef02=Array[_0x42a71c(0xf8)](_0x4f216b[_0x42a71c(0x117)])?_0x4f216b[_0x42a71c(0x117)]:[];if(bsSetupHelper[_0x42a71c(0x114)](_0x1eb76a)){if(_0x43f4f8[_0x42a71c(0x150)](_0x40b03a[_0x42a71c(0x155)],0x0)){const _0x24c1ee=_0x25ef02[_0x42a71c(0x144)](_0x5b14c6=>_0x40b03a[_0x42a71c(0x109)](_0x5b14c6)),_0x246415=_0x43f4f8['jclUq'](_0x2ec829[_0x42a71c(0x155)],0x0)||_0x2ec829[_0x42a71c(0x144)](_0xa6fd2a=>_0x40b03a[_0x42a71c(0x109)](_0xa6fd2a));return _0x43f4f8['EgxEL'](!_0x24c1ee,_0x246415);}return!![];}let _0xe90a0f;_0x4555dc?_0xe90a0f=_0x1eb76a[_0x42a71c(0x12d)]('/'):_0xe90a0f=_0x1eb76a;const _0x501b8d=_0x25ef02[_0x42a71c(0x144)](_0x5a0c85=>_0xe90a0f[_0x42a71c(0x109)](_0x5a0c85)),_0x159b91=_0x43f4f8['jclUq'](_0x2ec829[_0x42a71c(0x155)],0x0)||_0x2ec829[_0x42a71c(0x144)](_0x4d9bb3=>_0xe90a0f[_0x42a71c(0x109)](_0x4d9bb3));return _0x43f4f8[_0x42a71c(0x18f)](!_0x501b8d,_0x159b91);}catch(_0x18fac1){logger[_0x42a71c(0x134)](_0x42a71c(0xd4)+util['format'](_0x18fac1));}return![];},exports[a97_0x4a34c1(0x171)]=_0x348937=>{const _0x427457=a97_0x4a34c1;let _0x260626=![];try{_0x348937[_0x427457(0xed)]['forEach'](_0x184167=>{const _0x1c32c7=_0x427457;if(bsSetupHelper[_0x1c32c7(0x11d)](_0x184167[_0x1c32c7(0xd5)]))return _0x260626=!![],!![];});}catch(_0x546460){logger[_0x427457(0x134)](_0x427457(0xe4)+_0x546460);}return _0x260626||bsSetupHelper[_0x427457(0x11d)](_0x348937[_0x427457(0xd5)]);},exports[a97_0x4a34c1(0xe6)]=PerformanceTester[a97_0x4a34c1(0xf3)]('a11y:start',async function(_0x4e306b,_0x182997){const _0x1fb18c=a97_0x4a34c1,_0xdd370e={};_0xdd370e['HkPJe']='Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token',_0xdd370e[_0x1fb18c(0x10e)]=_0x1fb18c(0x14a),_0xdd370e[_0x1fb18c(0xd2)]=_0x1fb18c(0x105),_0xdd370e[_0x1fb18c(0x17d)]='application/json',_0xdd370e[_0x1fb18c(0x122)]=_0x1fb18c(0x151),_0xdd370e['mEZAt']='v2/test_runs',_0xdd370e[_0x1fb18c(0x180)]=function(_0x322834,_0xef7554){return _0x322834===_0xef7554;},_0xdd370e['KRWId']='Invalid\x20configuration\x20passed.',_0xdd370e[_0x1fb18c(0x110)]=_0x1fb18c(0xd0);const _0x307d75=_0xdd370e,_0xcda48=bsSetupHelper[_0x1fb18c(0x101)](_0x4e306b),_0x41970a=bsSetupHelper[_0x1fb18c(0x153)](_0x4e306b);if(bsSetupHelper[_0x1fb18c(0x114)](_0xcda48)||bsSetupHelper[_0x1fb18c(0x114)](_0x41970a))return logger['error'](_0x307d75['HkPJe']),[null,null];try{let _0x2ba731;bsSetupHelper[_0x1fb18c(0x114)](process[_0x1fb18c(0x10c)][_0x1fb18c(0x13a)])?_0x2ba731={}:_0x2ba731=JSON[_0x1fb18c(0x118)](process[_0x1fb18c(0x10c)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']);const {name:_0x352504,version:_0x4050ba}=bsSetupHelper['getTestFrameworkDetails'](_0x4e306b,_0x182997),_0x383711={'projectName':_0x4e306b['projectName'],'buildName':_0x4e306b[_0x1fb18c(0xf9)]||path['basename'](path[_0x1fb18c(0x126)](process[_0x1fb18c(0x16a)]())),'startTime':new Date()['toISOString'](),'description':_0x4e306b[_0x1fb18c(0x12b)]||'','source':{'frameworkName':_0x182997[_0x1fb18c(0x109)](_0x307d75[_0x1fb18c(0x10e)])?_0x307d75[_0x1fb18c(0x10e)]:_0x182997,'frameworkVersion':bsSetupHelper[_0x1fb18c(0x154)](_0x182997),'sdkVersion':bsSetupHelper['getAgentVersion'](),'language':_0x307d75[_0x1fb18c(0xd2)],'testFramework':_0x352504,'testFrameworkVersion':_0x4050ba},'settings':_0x2ba731,'versionControl':await bsSetupHelper[_0x1fb18c(0x13c)](),'ciInfo':bsSetupHelper['getCiInfo'](),'hostInfo':bsSetupHelper[_0x1fb18c(0xef)](),'browserstackAutomation':bsSetupHelper[_0x1fb18c(0xdd)]()},_0x566bac={};_0x566bac['user']=_0xcda48,_0x566bac[_0x1fb18c(0xfd)]=_0x41970a;const _0x1f78cd={};_0x1f78cd['Content-Type']=_0x307d75[_0x1fb18c(0x17d)];const _0x5e7116={};_0x5e7116[_0x1fb18c(0x172)]=_0x566bac,_0x5e7116['headers']=_0x1f78cd;const _0x6b886=_0x5e7116,_0xf6c4a9={};_0xf6c4a9['body']=_0x383711,_0xf6c4a9['json']=!![];const _0x294305=Object[_0x1fb18c(0x165)](_0x6b886,_0xf6c4a9),_0x210a0e=await bsSetupHelper[_0x1fb18c(0x17b)](_0x307d75[_0x1fb18c(0x122)],_0x307d75[_0x1fb18c(0x14d)],_0x294305,_0x4e306b,API_URL);let _0x492f13=process['env'][_0x1fb18c(0x13a)];return _0x492f13?_0x492f13=JSON[_0x1fb18c(0x118)](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']):_0x492f13={},scripts[_0x1fb18c(0x130)](_0x210a0e[_0x1fb18c(0xf5)][_0x1fb18c(0xf5)]),scripts[_0x1fb18c(0x11b)](),_0x492f13['scannerVersion']=_0x210a0e[_0x1fb18c(0xf5)][_0x1fb18c(0xf5)]['scannerVersion'],process[_0x1fb18c(0x10c)][_0x1fb18c(0x13a)]=JSON[_0x1fb18c(0xc6)](_0x492f13),[_0x210a0e[_0x1fb18c(0xf5)]['data']['accessibilityToken'],_0x210a0e['data'][_0x1fb18c(0xf5)]['id']];}catch(_0x2a0617){if(_0x2a0617[_0x1fb18c(0x174)])logger['error'](_0x1fb18c(0x13f)+_0x2a0617[_0x1fb18c(0x174)][_0x1fb18c(0x156)]+'\x20'+_0x2a0617[_0x1fb18c(0x174)][_0x1fb18c(0xe5)]+'\x20'+JSON['stringify'](_0x2a0617[_0x1fb18c(0x174)]['data']));else{if(_0x307d75[_0x1fb18c(0x180)](_0x2a0617[_0x1fb18c(0x157)],_0x307d75[_0x1fb18c(0x187)])){logger[_0x1fb18c(0x18c)](_0x1fb18c(0x13f)+(_0x2a0617[_0x1fb18c(0x157)]||_0x2a0617[_0x1fb18c(0x18d)]));for(const _0x3fb844 of _0x2a0617['errors']){logger['error'](_0x3fb844[_0x1fb18c(0x157)]);}process[_0x1fb18c(0x10c)][_0x1fb18c(0xfb)]=_0x307d75[_0x1fb18c(0x110)],process[_0x1fb18c(0x10c)][_0x1fb18c(0xde)]=_0x307d75[_0x1fb18c(0x110)];}else logger[_0x1fb18c(0x18c)](_0x1fb18c(0x13f)+(_0x2a0617[_0x1fb18c(0x157)]||_0x2a0617[_0x1fb18c(0x18d)]));}return[null,null];}}),exports[a97_0x4a34c1(0x15d)]=PerformanceTester[a97_0x4a34c1(0xf3)](a97_0x4a34c1(0xcc),async function(_0xa45466){const _0x3b1c67=a97_0x4a34c1,_0x13a8a8={};_0x13a8a8['qCrGl']=function(_0x10e968,_0x4063c4){return _0x10e968!==_0x4063c4;},_0x13a8a8[_0x3b1c67(0xc3)]=_0x3b1c67(0x173),_0x13a8a8['nCpWL']=_0x3b1c67(0x18c),_0x13a8a8[_0x3b1c67(0x167)]=_0x3b1c67(0x133),_0x13a8a8[_0x3b1c67(0xc7)]=_0x3b1c67(0x169),_0x13a8a8[_0x3b1c67(0x127)]=_0x3b1c67(0xc4),_0x13a8a8[_0x3b1c67(0x190)]=_0x3b1c67(0xd7),_0x13a8a8['PzVwf']=function(_0x33b978,_0x539106){return _0x33b978+_0x539106;},_0x13a8a8[_0x3b1c67(0x125)]=_0x3b1c67(0xca),_0x13a8a8[_0x3b1c67(0xf6)]=_0x3b1c67(0x12f);const _0x3b7481=_0x13a8a8;if(bsSetupHelper[_0x3b1c67(0x114)](process[_0x3b1c67(0x10c)]['BS_A11Y_JWT'])||_0x3b7481[_0x3b1c67(0x111)](typeof process[_0x3b1c67(0x10c)]['BS_A11Y_JWT'],_0x3b7481[_0x3b1c67(0xc3)])){const _0x415893={};return _0x415893[_0x3b1c67(0x156)]=_0x3b7481[_0x3b1c67(0x16f)],_0x415893[_0x3b1c67(0x157)]=_0x3b7481[_0x3b1c67(0x167)],_0x415893;}const _0x208384={'endTime':new Date()['toISOString']()},_0x3701aa={};_0x3701aa[_0x3b1c67(0xe1)]=_0x3b1c67(0x107)+process['env']['BS_A11Y_JWT'],_0x3701aa['Content-Type']=_0x3b7481[_0x3b1c67(0xc7)];const _0x1c9fbd={};_0x1c9fbd['headers']=_0x3701aa;const _0x57991d=_0x1c9fbd,_0x6c0cc3={};_0x6c0cc3[_0x3b1c67(0x170)]=_0x208384,_0x6c0cc3['auth']=null,_0x6c0cc3[_0x3b1c67(0xe8)]=!![];const _0x45590b=Object[_0x3b1c67(0x165)](_0x57991d,_0x6c0cc3);try{const _0x875e28=await bsSetupHelper[_0x3b1c67(0x17b)](_0x3b7481[_0x3b1c67(0x127)],_0x3b7481[_0x3b1c67(0x190)],_0x45590b,_0xa45466,API_URL);if(_0x875e28[_0x3b1c67(0xf5)][_0x3b1c67(0x18c)])throw new Error(_0x3b7481[_0x3b1c67(0x161)](_0x3b7481['bXbJA'],_0x875e28[_0x3b1c67(0xf5)][_0x3b1c67(0x18c)]));else{logger[_0x3b1c67(0xf0)]('BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20'+new Date()[_0x3b1c67(0xf7)]());const _0x11892d={};return _0x11892d[_0x3b1c67(0x156)]=_0x3b7481['iPtJV'],_0x11892d[_0x3b1c67(0x157)]='',_0x11892d;}}catch(_0x3d49b8){_0x3d49b8['response']?logger[_0x3b1c67(0x18c)](_0x3b1c67(0xfa)+_0x3d49b8['response'][_0x3b1c67(0x156)]+'\x20'+_0x3d49b8[_0x3b1c67(0x174)][_0x3b1c67(0xe5)]+'\x20'+JSON['stringify'](_0x3d49b8[_0x3b1c67(0x174)][_0x3b1c67(0xf5)])):logger[_0x3b1c67(0x18c)](_0x3b1c67(0xfa)+(_0x3d49b8[_0x3b1c67(0x157)]||util[_0x3b1c67(0x14c)](_0x3d49b8)));const _0x387768={};return _0x387768[_0x3b1c67(0x156)]=_0x3b7481['nCpWL'],_0x387768[_0x3b1c67(0x157)]=_0x3d49b8[_0x3b1c67(0x157)]||(_0x3d49b8['response']?_0x3d49b8['response'][_0x3b1c67(0x156)]+':'+_0x3d49b8['response']['statusText']:_0x3d49b8),_0x387768;}}),exports['performScan']=async(_0x3c7c61,_0x3e85f6=null)=>{const _0x40611e=a97_0x4a34c1,_0x308a46={};_0x308a46['BqYTS']='isAccessibilityPlatform',_0x308a46['RrCuE']=_0x40611e(0x10b),_0x308a46[_0x40611e(0x159)]=_0x40611e(0x148);const _0x1ac1a3=_0x308a46;if(!this['isAccessibilityAutomationSession']()||!globals['getGlobal'](_0x1ac1a3[_0x40611e(0xcd)])||!globals[_0x40611e(0xe9)](_0x1ac1a3[_0x40611e(0x191)])){logger[_0x40611e(0x136)](_0x1ac1a3[_0x40611e(0x159)]);return;}return await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x40611e(0x162)],async()=>{const _0x2b8743=_0x40611e,_0x275a90={};_0x275a90[_0x2b8743(0x163)]=_0x3e85f6||global[_0x2b8743(0x14b)];const _0x592994=util[_0x2b8743(0x14c)](await _0x3c7c61['executeAsyncScript'](scripts[_0x2b8743(0x182)],_0x275a90));return logger[_0x2b8743(0x134)]('Performed\x20scan\x20with\x20result:\x20'+_0x592994),_0x592994;},{'command':_0x3e85f6})();},exports[a97_0x4a34c1(0x185)]=async(_0x2d9d83,_0x36fded)=>{const _0x448e79=a97_0x4a34c1,_0x320dc0={};_0x320dc0['dLtzC']=_0x448e79(0x11e),_0x320dc0[_0x448e79(0x11f)]='isAccessibilityPlatform',_0x320dc0['RTaiC']=_0x448e79(0x10b),_0x320dc0[_0x448e79(0x158)]=_0x448e79(0x120),_0x320dc0[_0x448e79(0x160)]=_0x448e79(0x185),_0x320dc0[_0x448e79(0x13b)]=_0x448e79(0x18b);const _0x6b6506=_0x320dc0;if(!this[_0x448e79(0x147)]()||!globals[_0x448e79(0xe9)](_0x6b6506['ckzJS'])||!globals[_0x448e79(0xe9)](_0x6b6506[_0x448e79(0x17c)]))return logger[_0x448e79(0x136)](_0x6b6506['UoFBl']),[];try{return await PerformanceTester[_0x448e79(0xf3)](PerformanceA11yEvents[_0x448e79(0x162)],async()=>{const _0x2817f4=_0x448e79;logger['debug'](_0x6b6506[_0x2817f4(0xeb)]);const _0x401d89={};_0x401d89[_0x2817f4(0x163)]=_0x36fded[_0x2817f4(0x14b)],logger[_0x2817f4(0x134)](util[_0x2817f4(0x14c)](await _0x2d9d83[_0x2817f4(0x177)](scripts[_0x2817f4(0x182)],_0x401d89)));},{'command':_0x6b6506[_0x448e79(0x160)]})(),await PerformanceTester[_0x448e79(0xf3)](PerformanceA11yEvents[_0x448e79(0x112)],async()=>{const _0x309e2e=_0x448e79,_0x410c88=await _0x2d9d83[_0x309e2e(0x177)](scripts[_0x309e2e(0x175)]);return _0x410c88;})();}catch{return logger['error'](_0x6b6506[_0x448e79(0x13b)]),[];}},exports[a97_0x4a34c1(0x13d)]=async(_0x1b4000,_0x575820)=>{const _0x3fcf64=a97_0x4a34c1,_0x23ff08={};_0x23ff08[_0x3fcf64(0x17f)]=_0x3fcf64(0xf2),_0x23ff08[_0x3fcf64(0xcf)]=_0x3fcf64(0xea),_0x23ff08[_0x3fcf64(0x124)]=_0x3fcf64(0x10b),_0x23ff08[_0x3fcf64(0xc8)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.',_0x23ff08[_0x3fcf64(0x128)]=_0x3fcf64(0x13d),_0x23ff08[_0x3fcf64(0xd8)]=_0x3fcf64(0x178);const _0x41db47=_0x23ff08;if(!this[_0x3fcf64(0x147)]()||!globals[_0x3fcf64(0xe9)](_0x41db47[_0x3fcf64(0xcf)])||!globals['getGlobal'](_0x41db47[_0x3fcf64(0x124)]))return logger['warn'](_0x41db47[_0x3fcf64(0xc8)]),{};try{return await PerformanceTester[_0x3fcf64(0xf3)](PerformanceA11yEvents[_0x3fcf64(0x162)],async()=>{const _0x16a47c=_0x3fcf64;logger[_0x16a47c(0x134)](_0x41db47[_0x16a47c(0x17f)]);const _0x1f3b65={};_0x1f3b65[_0x16a47c(0x163)]=_0x575820[_0x16a47c(0x14b)],logger[_0x16a47c(0x134)](util[_0x16a47c(0x14c)](await _0x1b4000[_0x16a47c(0x177)](scripts[_0x16a47c(0x182)],_0x1f3b65)));},{'command':_0x41db47[_0x3fcf64(0x128)]})(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents['GET_RESULTS_SUMMARY'],async()=>{const _0x58205e=_0x3fcf64,_0x18ad53=await _0x1b4000[_0x58205e(0x177)](scripts[_0x58205e(0xd1)]);return _0x18ad53;})();}catch{return logger[_0x3fcf64(0x18c)](_0x41db47[_0x3fcf64(0xd8)]),{};}},exports[a97_0x4a34c1(0x192)]=_0x1fd818=>{const _0x42bf72=a97_0x4a34c1,_0x2297f8={};_0x2297f8[_0x42bf72(0x14f)]=function(_0x484511,_0x20c5ef){return _0x484511===_0x20c5ef;},_0x2297f8[_0x42bf72(0xee)]=_0x42bf72(0x173),_0x2297f8[_0x42bf72(0x11a)]='browserstack_executor';const _0x8e198a=_0x2297f8;if(_0x1fd818&&_0x1fd818[_0x42bf72(0xf4)]&&_0x8e198a[_0x42bf72(0x14f)](typeof _0x1fd818['script'],_0x8e198a[_0x42bf72(0xee)]))return _0x1fd818['script']['includes'](_0x8e198a[_0x42bf72(0x11a)]);return![];};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a98_0x21d654=a98_0x439b;(function(_0x191571,_0xffd6a6){const _0x3406db=a98_0x439b,_0x2ff184=_0x191571();while(!![]){try{const _0x33dddb=parseInt(_0x3406db(0x1cc))/0x1*(-parseInt(_0x3406db(0x1e4))/0x2)+parseInt(_0x3406db(0x1bd))/0x3+parseInt(_0x3406db(0x1e1))/0x4*(parseInt(_0x3406db(0x1ea))/0x5)+parseInt(_0x3406db(0x1dd))/0x6+parseInt(_0x3406db(0x1ef))/0x7+-parseInt(_0x3406db(0x1e0))/0x8+-parseInt(_0x3406db(0x1d3))/0x9;if(_0x33dddb===_0xffd6a6)break;else _0x2ff184['push'](_0x2ff184['shift']());}catch(_0x2de508){_0x2ff184['push'](_0x2ff184['shift']());}}}(a98_0x3c1b,0x3f07e));function a98_0x3c1b(){const _0x6975d=['findIndex','map','WCQOK','getCommand','2556168tNaAen','stringify','XeLPc','3290712FpQStr','312RrOBTD','winstonLogger','GrHvV','156GgmOgx','toLowerCase','existsSync','browserstackFolderPath','saveResults','scripts','25790WzJxnt','split','join','ZAvjd','../helper','3156139tfItNC','getModule','length','.browserstack','jKiCZ','fromJson','scan','nICZu','1410804HJFsJl','cJdFv','../../helpers/logger','performScan','getResults','JltPX','parseFromProto','commandsPath','mkdirSync','getName','CpahD','bnXFR','SOMnP','getResultsSummary','paJnY','6361sEOJsx','ChromeExtension','VpbMX','getClass','commandsToWrap','shouldWrapCommand','tlfhT','5254434NqLRtg','Exception\x20in\x20browserstack\x20accessibility\x20automation\x20with\x20error:\x20','parseFromJson','commands.json','nonBStackInfraA11yChromeOptions','saveTestResults'];a98_0x3c1b=function(){return _0x6975d;};return a98_0x3c1b();}const path=require('path'),fs=require('fs'),logger=require(a98_0x21d654(0x1bf))[a98_0x21d654(0x1e2)],helper=require(a98_0x21d654(0x1ee));class Scripts{constructor(){const _0xb2cf0c=a98_0x21d654,_0x514922={};_0x514922[_0xb2cf0c(0x1e3)]='1|2|0|4|5|6|3',_0x514922[_0xb2cf0c(0x1c8)]=_0xb2cf0c(0x1f2),_0x514922['SOMnP']=_0xb2cf0c(0x1d6);const _0x105279=_0x514922,_0x115cdf=_0x105279[_0xb2cf0c(0x1e3)][_0xb2cf0c(0x1eb)]('|');let _0x43f8e7=0x0;while(!![]){switch(_0x115cdf[_0x43f8e7++]){case'0':this[_0xb2cf0c(0x1ca)]=null;continue;case'1':this[_0xb2cf0c(0x1c0)]=null;continue;case'2':this[_0xb2cf0c(0x1c1)]=null;continue;case'3':this[_0xb2cf0c(0x1f4)]();continue;case'4':this['saveTestResults']=null;continue;case'5':this[_0xb2cf0c(0x1e7)]=path[_0xb2cf0c(0x1ec)](helper['homedir'](),_0x105279[_0xb2cf0c(0x1c8)]);continue;case'6':this[_0xb2cf0c(0x1c4)]=path[_0xb2cf0c(0x1ec)](this[_0xb2cf0c(0x1e7)],_0x105279[_0xb2cf0c(0x1c9)]);continue;}break;}}[a98_0x21d654(0x1d5)](_0xbc2e56){const _0x58b491=a98_0x21d654;_0xbc2e56[_0x58b491(0x1e9)]&&(this[_0x58b491(0x1c0)]=_0xbc2e56[_0x58b491(0x1e9)][_0x58b491(0x1f5)],this['getResults']=_0xbc2e56[_0x58b491(0x1e9)][_0x58b491(0x1c1)],this[_0x58b491(0x1ca)]=_0xbc2e56[_0x58b491(0x1e9)][_0x58b491(0x1ca)],this['saveTestResults']=_0xbc2e56[_0x58b491(0x1e9)][_0x58b491(0x1e8)]),this[_0x58b491(0x1d0)]=_0xbc2e56['commands'],this[_0x58b491(0x1cd)]=_0xbc2e56[_0x58b491(0x1d7)];}[a98_0x21d654(0x1c3)](_0x255802,_0x207e6b){const _0x3b5ddd=a98_0x21d654,_0x3ee1a1={};_0x3ee1a1[_0x3b5ddd(0x1bc)]=function(_0x1fa8d7,_0x215c0e){return _0x1fa8d7>_0x215c0e;},_0x3ee1a1[_0x3b5ddd(0x1f3)]=function(_0x251536,_0x113427){return _0x251536===_0x113427;},_0x3ee1a1[_0x3b5ddd(0x1be)]=_0x3b5ddd(0x1f5),_0x3ee1a1[_0x3b5ddd(0x1ed)]=function(_0x2e4a65,_0x2a5435){return _0x2e4a65===_0x2a5435;},_0x3ee1a1['CpahD']='getResults',_0x3ee1a1[_0x3b5ddd(0x1cb)]=_0x3b5ddd(0x1ca),_0x3ee1a1['VpbMX']=function(_0x25cfa4,_0x264b58){return _0x25cfa4===_0x264b58;},_0x3ee1a1[_0x3b5ddd(0x1df)]='saveResults',_0x3ee1a1[_0x3b5ddd(0x1db)]=function(_0x5128ef,_0x19b724){return _0x5128ef>_0x19b724;};const _0x396a47=_0x3ee1a1;if(_0x255802&&_0x396a47[_0x3b5ddd(0x1bc)](_0x255802[_0x3b5ddd(0x1f1)],0x0))for(const _0x5c6e9a of _0x255802){if(_0x396a47[_0x3b5ddd(0x1f3)](_0x5c6e9a[_0x3b5ddd(0x1c6)](),_0x396a47[_0x3b5ddd(0x1be)]))this[_0x3b5ddd(0x1c0)]=_0x5c6e9a['getCommand']();else{if(_0x396a47[_0x3b5ddd(0x1ed)](_0x5c6e9a['getName'](),_0x396a47[_0x3b5ddd(0x1c7)]))this[_0x3b5ddd(0x1c1)]=_0x5c6e9a[_0x3b5ddd(0x1dc)]();else{if(_0x396a47[_0x3b5ddd(0x1ed)](_0x5c6e9a[_0x3b5ddd(0x1c6)](),_0x396a47[_0x3b5ddd(0x1cb)]))this[_0x3b5ddd(0x1ca)]=_0x5c6e9a['getCommand']();else _0x396a47[_0x3b5ddd(0x1ce)](_0x5c6e9a[_0x3b5ddd(0x1c6)](),_0x396a47[_0x3b5ddd(0x1df)])&&(this['saveTestResults']=_0x5c6e9a[_0x3b5ddd(0x1dc)]());}}}_0x207e6b&&_0x396a47[_0x3b5ddd(0x1db)](_0x207e6b[_0x3b5ddd(0x1f1)],0x0)&&(this['commandsToWrap']=_0x207e6b[_0x3b5ddd(0x1da)](_0x4c6a95=>{const _0x37fd72=_0x3b5ddd;return{'name':_0x4c6a95[_0x37fd72(0x1c6)](),'method':_0x4c6a95['getMethod'](),'library':_0x4c6a95['getLibrary'](),'module':_0x4c6a95[_0x37fd72(0x1f0)](),'class':_0x4c6a95[_0x37fd72(0x1cf)]()};}));}[a98_0x21d654(0x1d1)](_0xd0834a){const _0x4a58ad=a98_0x21d654,_0x4dcdc7={};_0x4dcdc7[_0x4a58ad(0x1c2)]=function(_0x49753a,_0x52c228){return _0x49753a!==_0x52c228;};const _0x14e026=_0x4dcdc7;try{return _0x14e026[_0x4a58ad(0x1c2)](this[_0x4a58ad(0x1d0)][_0x4a58ad(0x1d9)](_0x2ba95d=>_0x2ba95d['name']['toLowerCase']()===_0xd0834a[_0x4a58ad(0x1e5)]()),-0x1);}catch(_0x1d5227){logger['debug'](_0x4a58ad(0x1d4)+_0x1d5227);}return![];}['toJson'](){const _0x66bfc0=a98_0x21d654;!fs[_0x66bfc0(0x1e6)](this[_0x66bfc0(0x1e7)])&&fs[_0x66bfc0(0x1c5)](this['browserstackFolderPath']),fs['writeFileSync'](this[_0x66bfc0(0x1c4)],JSON[_0x66bfc0(0x1de)]({'scripts':{'scan':this[_0x66bfc0(0x1c0)],'getResults':this[_0x66bfc0(0x1c1)],'getResultsSummary':this[_0x66bfc0(0x1ca)],'saveResults':this[_0x66bfc0(0x1d8)]},'commands':this[_0x66bfc0(0x1d0)],'nonBStackInfraA11yChromeOptions':this[_0x66bfc0(0x1cd)]}));}[a98_0x21d654(0x1f4)](){const _0x4614f7=a98_0x21d654,_0x1ac6f1={'tlfhT':function(_0x22c805,_0x13d8c8){return _0x22c805(_0x13d8c8);}};fs[_0x4614f7(0x1e6)](this['commandsPath'])&&this[_0x4614f7(0x1d5)](_0x1ac6f1[_0x4614f7(0x1d2)](require,this[_0x4614f7(0x1c4)]));}}function a98_0x439b(_0x9594be,_0x2d7674){const _0x3c1b4a=a98_0x3c1b();return a98_0x439b=function(_0x439b1f,_0x72861f){_0x439b1f=_0x439b1f-0x1bc;let _0x337d9b=_0x3c1b4a[_0x439b1f];return _0x337d9b;},a98_0x439b(_0x9594be,_0x2d7674);}module['exports']=new Scripts();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a99_0xe9e4(){const _0x40a080=['fromEntries','browserName','getGlobal','Unable\x20to\x20load\x20healing\x20module,\x20error:\x20','race','118318BxxrWN','handleSuccess','../../ai-sdk-node/bundle','locatorType','aiHeal_userId','POLL_HEALING_RESULT_TIMEOUT','BygRA','tlpqN','Umgez','25XugxmE','XdZcc','get','VwnJH','path','../logger','5907096cEpkDO','564792OKClNr','string','aiHealing','map_','message','LBQsL','toLowerCase','handleFailure','nqONr','RmGwg','EdhuB','Error\x20in\x20(healing)\x20handling\x20failure\x20event.\x20ERROR:\x20','10eXCWyq','chromeOptions_','aiHeal_isGroupAIEnabled','debug','initializeCapabilities','then','value','plNLC','getId','VjhYk','FpjMw','OsRRI','forEach','12QoNlFB','freeze','BrowserstackHealing.healFailure\x20method\x20timed\x20out','initializeHealingCapabilities','MwNRC','{\x22region\x22:\x20\x22','setToken','fvZJH','capabilities_','TwQzY','browserstackSessionName','639926ekpvvX','isSelfHealEnabled','MsMFn','cancel','selector','bMpBZ','../../bin/utils/constants','MaNLv','replace','1841976dXsOcP','myjRD','ieOptions_','safariOptions_','pNfjC','aiHeal_sessionToken','getTestName','cBcFT','32CFjxXg','BrowserstackHealingSetTcgTokenFailed','ZyDEl','safari','getCapabilities','firefox','../../helpers/timeoutPromise','HEALING_FAILURE_TIMEOUT','OsVeN','KkZXR','BrowserstackHealing.pollResult\x20method\x20timed\x20out','5745014rewqdW','pollResult','set','setTcgToken','BrowserstackHealing','6icerNN','fZLrr','syEDh','using','\x20command','\x22,\x20\x22tcgUrls\x22:\x20{\x22','microsoftedge','logData','TCG_URL','_handleEvent','edgeOptions_','edge','aiHeal_groupId','71718KLPUdn','lcpcc','info','keys','BrowserstackHealing.setToken\x20method\x20timed\x20out','EPbkt','TCG_REGION','getSession','ckZZs','error','Ssbts','framework','parameters_','newCapabilities','winstonLogger','log','config','locatorValue','getProjectName','aiSdkWrapper'];a99_0xe9e4=function(){return _0x40a080;};return a99_0xe9e4();}const a99_0x5e8a08=a99_0x70ab;function a99_0x70ab(_0x46c79b,_0x2c3c09){const _0xe9e46b=a99_0xe9e4();return a99_0x70ab=function(_0x70abb1,_0x116b24){_0x70abb1=_0x70abb1-0xc6;let _0x577cc4=_0xe9e46b[_0x70abb1];return _0x577cc4;},a99_0x70ab(_0x46c79b,_0x2c3c09);}(function(_0x31ab3a,_0x1102ee){const _0x17d513=a99_0x70ab,_0xa1aff3=_0x31ab3a();while(!![]){try{const _0x1989ff=parseInt(_0x17d513(0xf8))/0x1*(parseInt(_0x17d513(0xd2))/0x2)+-parseInt(_0x17d513(0x135))/0x3+-parseInt(_0x17d513(0x108))/0x4+-parseInt(_0x17d513(0x101))/0x5*(-parseInt(_0x17d513(0xdf))/0x6)+-parseInt(_0x17d513(0x12c))/0x7*(parseInt(_0x17d513(0x13d))/0x8)+-parseInt(_0x17d513(0x107))/0x9*(-parseInt(_0x17d513(0x114))/0xa)+parseInt(_0x17d513(0xcd))/0xb*(parseInt(_0x17d513(0x121))/0xc);if(_0x1989ff===_0x1102ee)break;else _0xa1aff3['push'](_0xa1aff3['shift']());}catch(_0x9c8337){_0xa1aff3['push'](_0xa1aff3['shift']());}}}(a99_0xe9e4,0x7359b));const path=require(a99_0x5e8a08(0x105)),{commandRepository}=require('./autoHealHelper'),constants=require(a99_0x5e8a08(0x132)),logger=require(a99_0x5e8a08(0x106))[a99_0x5e8a08(0xed)],globals=require('../globals'),timeoutPromise=require(a99_0x5e8a08(0xc8)),isUndefinedOrNull=_0x18f373=>_0x18f373===undefined||_0x18f373===null||_0x18f373==='',isNotUndefinedOrNull=_0x312313=>!isUndefinedOrNull(_0x312313),isString=_0xb4d7c1=>isNotUndefinedOrNull(_0xb4d7c1)&&typeof _0xb4d7c1===a99_0x5e8a08(0x109);class AiSdkWrapper{constructor(){const _0x42e9d6=a99_0x5e8a08,_0xfacbf5={'cBcFT':function(_0x3aa9b4,_0x12033d){return _0x3aa9b4(_0x12033d);},'VjhYk':_0x42e9d6(0xfa)};this['BrowserstackHealing']=undefined;try{this[_0x42e9d6(0xd1)]=_0xfacbf5[_0x42e9d6(0x13c)](require,path['join'](__dirname,_0xfacbf5[_0x42e9d6(0x11d)]));}catch(_0x24eb04){logger[_0x42e9d6(0xe8)](_0x42e9d6(0xf6)+(_0x24eb04&&_0x24eb04[_0x42e9d6(0x10c)]?_0x24eb04[_0x42e9d6(0x10c)]:''));}}[a99_0x5e8a08(0x124)](_0x368c05){const _0x2b8f67=a99_0x5e8a08,_0x430497={};_0x430497[_0x2b8f67(0x128)]=_0x2b8f67(0xec),_0x430497[_0x2b8f67(0x100)]=function(_0x390d34,_0x62f975){return _0x390d34===_0x62f975;},_0x430497[_0x2b8f67(0x13f)]='chrome',_0x430497['fZLrr']=function(_0x4241f4,_0x140399){return _0x4241f4===_0x140399;},_0x430497[_0x2b8f67(0x136)]=_0x2b8f67(0xc7),_0x430497[_0x2b8f67(0x125)]=_0x2b8f67(0x140),_0x430497[_0x2b8f67(0xcb)]=_0x2b8f67(0xdd),_0x430497['VwnJH']=_0x2b8f67(0xd8);const _0x4eba02=_0x430497;try{const _0x2f1f2a=this[_0x2b8f67(0xd1)][_0x2b8f67(0x118)](Object[_0x2b8f67(0xf3)](_0x368c05[_0x2b8f67(0xc6)]()[_0x2b8f67(0x10b)]));console[_0x2b8f67(0xee)](_0x4eba02[_0x2b8f67(0x128)],_0x2f1f2a);if(_0x4eba02[_0x2b8f67(0x100)](_0x2f1f2a?.[_0x2b8f67(0xf4)]?.['toLowerCase'](),_0x4eba02['ZyDEl']))_0x368c05[_0x2b8f67(0x115)]=_0x2f1f2a;else{if(_0x4eba02['fZLrr'](_0x2f1f2a?.['browserName']?.[_0x2b8f67(0x10e)](),_0x4eba02['myjRD']))_0x368c05['firefoxOptions_']=_0x2f1f2a;else{if(_0x4eba02['fZLrr'](_0x2f1f2a?.[_0x2b8f67(0xf4)]?.[_0x2b8f67(0x10e)](),_0x4eba02[_0x2b8f67(0x125)]))_0x368c05[_0x2b8f67(0x138)]=_0x2f1f2a;else{if(_0x4eba02[_0x2b8f67(0x100)](_0x2f1f2a?.['browserName']?.['toLowerCase'](),_0x4eba02['KkZXR'])||_0x4eba02[_0x2b8f67(0xd3)](_0x2f1f2a?.['browserName']?.['toLowerCase'](),_0x4eba02[_0x2b8f67(0x104)]))_0x368c05[_0x2b8f67(0xdc)]=_0x2f1f2a;else _0x4eba02['Umgez'](_0x2f1f2a?.[_0x2b8f67(0xf4)]?.[_0x2b8f67(0x10e)](),'ie')&&(_0x368c05[_0x2b8f67(0x137)]=_0x2f1f2a);}}}Object[_0x2b8f67(0xe2)](_0x2f1f2a)[_0x2b8f67(0x120)](_0x3df3da=>{const _0x5e67cb=_0x2b8f67,_0x3b4ecf=_0x368c05[_0x5e67cb(0x129)][_0x5e67cb(0x103)](_0x3df3da);_0x368c05[_0x5e67cb(0x129)][_0x5e67cb(0xcf)](_0x3df3da,_0x2f1f2a[_0x3df3da]);});}catch(_0x1d3dba){logger[_0x2b8f67(0xe8)]('Error\x20in\x20initialising\x20healing\x20capabilities\x20,\x20error:\x20'+(_0x1d3dba&&_0x1d3dba['message']?_0x1d3dba['message']:''));}}async[a99_0x5e8a08(0xd0)](_0x3c3acf){const _0x16dd6e=a99_0x5e8a08,_0x531fa0={'MsMFn':function(_0x1b0252,_0x4d1fe5,_0x329cb6,_0x4967d0,_0x132a8e,_0x2559cb,_0x5438d4){return _0x1b0252(_0x4d1fe5,_0x329cb6,_0x4967d0,_0x132a8e,_0x2559cb,_0x5438d4);},'OsVeN':_0x16dd6e(0xe3),'GNYiN':_0x16dd6e(0x13e),'syEDh':_0x16dd6e(0x13a)},_0x464fc0=new Date(),_0x550e4f=_0x531fa0[_0x16dd6e(0x12e)](timeoutPromise,constants['SET_TCG_TOKEN_TIMEOUT'],_0x531fa0[_0x16dd6e(0xca)],_0x531fa0['GNYiN'],_0x464fc0,this['config'],this['framework']);await Promise[_0x16dd6e(0xf7)]([this[_0x16dd6e(0xd1)][_0x16dd6e(0x127)](_0x3c3acf,globals[_0x16dd6e(0xf5)](_0x531fa0[_0x16dd6e(0xd4)]),constants[_0x16dd6e(0xda)])[_0x16dd6e(0x119)](()=>{const _0x5cebc9=_0x16dd6e;_0x550e4f[_0x5cebc9(0x12f)]();}),_0x550e4f]);}async[a99_0x5e8a08(0xdb)](_0x5d9ca0,_0x103b72,_0x5619d7,_0x1f67cc){const _0x1433b5=a99_0x5e8a08,_0x4f0b51={'lcpcc':function(_0x1fffd1,_0x1b9d35){return _0x1fffd1===_0x1b9d35;},'FpjMw':function(_0x2246fb,_0x41e0a2){return _0x2246fb(_0x41e0a2);},'bMpBZ':function(_0x437400,_0x4c3506){return _0x437400(_0x4c3506);},'RmGwg':function(_0x302d67,_0x4024ac){return _0x302d67(_0x4024ac);},'plNLC':function(_0x5272e8,_0x2da9b8){return _0x5272e8(_0x2da9b8);},'tlpqN':function(_0x4e55c4,_0x1b6772){return _0x4e55c4(_0x1b6772);},'LBQsL':'s://','BygRA':function(_0x504502,_0x1a114c){return _0x504502(_0x1a114c);},'Ssbts':_0x1433b5(0xfc),'yjiQG':_0x1433b5(0xde),'yowRS':_0x1433b5(0x116),'XdZcc':function(_0x3f382b,_0x3e4154,_0x8e2bd1,_0x3674bc,_0x28a13d,_0x4a4066,_0x4ba1e4){return _0x3f382b(_0x3e4154,_0x8e2bd1,_0x3674bc,_0x28a13d,_0x4a4066,_0x4ba1e4);},'EPbkt':'BrowserstackHealing.logData\x20method\x20timed\x20out','OsRRI':'BrowserstackHealingLogDataFailed','nqONr':function(_0x110207,_0x13c5ad,_0xb6854,_0x3f2e0c,_0x5c8f47,_0x75c0d7,_0x1678ab){return _0x110207(_0x13c5ad,_0xb6854,_0x3f2e0c,_0x5c8f47,_0x75c0d7,_0x1678ab);},'MaNLv':_0x1433b5(0x123),'ckZZs':'BrowserstackHealingHealFailureFailed'},_0x5d1a1c=(await _0x103b72[_0x1433b5(0xe6)]())[_0x1433b5(0x11c)]();let _0x288cd8='';if(commandRepository[_0x1433b5(0x12d)]()&&_0x4f0b51[_0x1433b5(0xe0)](_0x1f67cc,![])||_0x4f0b51[_0x1433b5(0xe0)](_0x1f67cc,!![])){const _0x3e8aa9=_0x4f0b51['FpjMw'](isNotUndefinedOrNull,_0x5619d7['parameters_'][_0x1433b5(0xd5)])&&_0x4f0b51['bMpBZ'](isString,_0x5619d7[_0x1433b5(0xeb)]['using'])?_0x5619d7[_0x1433b5(0xeb)][_0x1433b5(0xd5)][_0x1433b5(0x134)](/'/g,'\x5c\x27')[_0x1433b5(0x134)](/"/g,'\x5c\x22'):'',_0x5833a=_0x4f0b51[_0x1433b5(0x11e)](isNotUndefinedOrNull,_0x5619d7[_0x1433b5(0xeb)]['using'])&&_0x4f0b51['FpjMw'](isString,_0x5619d7[_0x1433b5(0xeb)][_0x1433b5(0x11a)])?_0x5619d7[_0x1433b5(0xeb)]['value'][_0x1433b5(0x134)](/'/g,'\x5c\x27')[_0x1433b5(0x134)](/"/g,'\x5c\x22'):'',_0x1b3838=_0x4f0b51[_0x1433b5(0x131)](isNotUndefinedOrNull,commandRepository[_0x1433b5(0xf1)]())&&_0x4f0b51['RmGwg'](isString,commandRepository[_0x1433b5(0xf1)]())?commandRepository[_0x1433b5(0xf1)]()['replace'](/'/g,'\x5c\x27')['replace'](/"/g,'\x5c\x22'):'';let _0x11f396=_0x4f0b51[_0x1433b5(0x11b)](isNotUndefinedOrNull,global[_0x1433b5(0x12b)])&&_0x4f0b51[_0x1433b5(0xff)](isString,global['browserstackSessionName'])?global[_0x1433b5(0x12b)][_0x1433b5(0x134)](/'/g,'\x5c\x27')[_0x1433b5(0x134)](/"/g,'\x5c\x22'):'';!_0x11f396&&(_0x11f396=_0x4f0b51[_0x1433b5(0x111)](isNotUndefinedOrNull,commandRepository[_0x1433b5(0x13b)]())&&_0x4f0b51[_0x1433b5(0x131)](isString,commandRepository[_0x1433b5(0x13b)]())?commandRepository[_0x1433b5(0x13b)]()[_0x1433b5(0x134)](/'/g,'\x5c\x27')[_0x1433b5(0x134)](/"/g,'\x5c\x22'):'');let _0x4a1978=_0x1433b5(0x126)+constants[_0x1433b5(0xe5)]+_0x1433b5(0xd7)+constants[_0x1433b5(0xe5)]+'\x22:\x20{\x22endpoint\x22:\x20\x22'+constants[_0x1433b5(0xda)]['split'](_0x4f0b51[_0x1433b5(0x10d)])[0x1]+'\x22}}}';_0x4a1978=_0x4f0b51[_0x1433b5(0x111)](isNotUndefinedOrNull,_0x4a1978)&&_0x4f0b51[_0x1433b5(0xfe)](isString,_0x4a1978)?_0x4a1978['replace'](/'/g,'\x5c\x27')['replace'](/"/g,'\x5c\x22'):'';const _0x54847a=commandRepository['getCommands'](_0x5d1a1c),_0x103b3d=globals[_0x1433b5(0xf5)](_0x4f0b51[_0x1433b5(0xe9)]),_0x41e13b=globals[_0x1433b5(0xf5)](_0x4f0b51['yjiQG']),_0x3c545a=globals[_0x1433b5(0xf5)](_0x4f0b51['yowRS']),_0x4e3a04=![],_0x507d86=new Date();if(_0x1f67cc){const _0x497cc5=_0x4f0b51[_0x1433b5(0x102)](timeoutPromise,constants['HEALING_LOG_DATA_TIMEOUT'],_0x4f0b51[_0x1433b5(0xe4)],_0x4f0b51[_0x1433b5(0x11f)],_0x507d86,this['config'],this[_0x1433b5(0xea)]);_0x288cd8=await Promise[_0x1433b5(0xf7)]([this[_0x1433b5(0xd1)][_0x1433b5(0xd9)](_0x3e8aa9,_0x5833a,_0x1b3838,_0x11f396,_0x41e13b,_0x5d1a1c,_0x54847a,_0x4a1978)[_0x1433b5(0x119)](_0x156cf1=>{return _0x497cc5['cancel'](),_0x156cf1;}),_0x497cc5]);}else{if(commandRepository[_0x1433b5(0x12d)]()){const _0x37ff39=_0x4f0b51[_0x1433b5(0x110)](timeoutPromise,constants[_0x1433b5(0xc9)],_0x4f0b51[_0x1433b5(0x133)],_0x4f0b51[_0x1433b5(0xe7)],_0x507d86,this[_0x1433b5(0xef)],this[_0x1433b5(0xea)]);_0x288cd8=await Promise[_0x1433b5(0xf7)]([this[_0x1433b5(0xd1)]['healFailure'](_0x3e8aa9,_0x5833a,_0x1b3838,_0x11f396,_0x103b3d,_0x41e13b,_0x5d1a1c,_0x54847a,_0x4e3a04,_0x3c545a,_0x4a1978)[_0x1433b5(0x119)](_0x500c21=>{const _0x235b6b=_0x1433b5;return _0x37ff39[_0x235b6b(0x12f)](),_0x500c21;}),_0x37ff39]);}}_0x288cd8&&await _0x103b72['executeScript'](_0x288cd8);}}async[a99_0x5e8a08(0xf9)](_0x41dcee,_0x54a33c,_0x345fbf){const _0x18e79e=a99_0x5e8a08;try{await this[_0x18e79e(0xdb)](_0x41dcee,_0x54a33c,_0x345fbf,!![]);}catch(_0x93929f){return logger[_0x18e79e(0xe8)]('Error\x20in\x20(healing)\x20success\x20event.\x20ERROR:\x20'+(_0x93929f&&_0x93929f[_0x18e79e(0x10c)]?_0x93929f['message']:'')),![];}return!![];}async[a99_0x5e8a08(0x10f)](_0x2f4d56,_0x18bb82,_0x12b0db){const _0xed0073=a99_0x5e8a08,_0x24d0f3={'EdhuB':function(_0x5506dd,_0x5b8156,_0x5e3f75,_0x545b19,_0x4f1afb,_0x5b7bc8,_0xf51fb4){return _0x5506dd(_0x5b8156,_0x5e3f75,_0x545b19,_0x4f1afb,_0x5b7bc8,_0xf51fb4);},'pNfjC':_0xed0073(0xcc),'TwQzY':'BrowserstackHealingPollResultFailed','xDwIB':_0xed0073(0x13a)};try{await this['_handleEvent'](_0x2f4d56,_0x18bb82,_0x12b0db,![]);const _0x1bc92d=(await _0x18bb82[_0xed0073(0xe6)]())[_0xed0073(0x11c)](),_0x58d36c=new Date(),_0x324224=_0x24d0f3[_0xed0073(0x112)](timeoutPromise,constants[_0xed0073(0xfd)],_0x24d0f3[_0xed0073(0x139)],_0x24d0f3[_0xed0073(0x12a)],_0x58d36c,this[_0xed0073(0xef)],this[_0xed0073(0xea)]),_0x3ff42c=await Promise[_0xed0073(0xf7)]([this[_0xed0073(0xd1)][_0xed0073(0xce)](constants[_0xed0073(0xda)],_0x1bc92d,globals['getGlobal'](_0x24d0f3['xDwIB']))[_0xed0073(0x119)](_0x2495a1=>{const _0x1763b9=_0xed0073;return _0x324224[_0x1763b9(0x12f)](),_0x2495a1;}),_0x324224]);if(_0x3ff42c&&_0x3ff42c[_0xed0073(0x130)]&&_0x3ff42c[_0xed0073(0x11a)]){const _0x10c351={};return _0x10c351[_0xed0073(0xfb)]=_0x3ff42c[_0xed0073(0x130)],_0x10c351[_0xed0073(0xf0)]=_0x3ff42c[_0xed0073(0x11a)],_0x10c351[_0xed0073(0x10a)]=!![],_0x10c351;}const _0x2ebb36={};return _0x2ebb36[_0xed0073(0xfb)]=_0x12b0db[_0xed0073(0xeb)][_0xed0073(0xd5)],_0x2ebb36[_0xed0073(0xf0)]=_0x3ff42c['value'],_0x2ebb36[_0xed0073(0x10a)]=!![],_0x2ebb36;}catch(_0x223820){return logger[_0xed0073(0x117)](_0xed0073(0x113)+(_0x223820&&_0x223820[_0xed0073(0x10c)]?_0x223820['message']:'')),logger[_0xed0073(0xe1)]('Healing\x20Failed,\x20Browserstack\x20AI\x20could\x20not\x20heal\x20the\x20'+_0x12b0db['name_']+_0xed0073(0xd6)),_0x12b0db;}}}exports[a99_0x5e8a08(0xf2)]=Object[a99_0x5e8a08(0x122)](new AiSdkWrapper());
|
|
1
|
+
const a99_0x51856c=a99_0x5e8c;(function(_0x4f1ad8,_0x2fbee9){const _0x36e6dc=a99_0x5e8c,_0x4f7d25=_0x4f1ad8();while(!![]){try{const _0xa66a0=-parseInt(_0x36e6dc(0xde))/0x1*(-parseInt(_0x36e6dc(0xdc))/0x2)+parseInt(_0x36e6dc(0x118))/0x3+parseInt(_0x36e6dc(0x11e))/0x4+parseInt(_0x36e6dc(0x123))/0x5*(parseInt(_0x36e6dc(0x12d))/0x6)+-parseInt(_0x36e6dc(0x127))/0x7*(parseInt(_0x36e6dc(0x103))/0x8)+-parseInt(_0x36e6dc(0x124))/0x9+parseInt(_0x36e6dc(0x12c))/0xa;if(_0xa66a0===_0x2fbee9)break;else _0x4f7d25['push'](_0x4f7d25['shift']());}catch(_0x4335e5){_0x4f7d25['push'](_0x4f7d25['shift']());}}}(a99_0x252a,0xe15e3));const path=require(a99_0x51856c(0xd6)),{commandRepository}=require('./autoHealHelper'),constants=require(a99_0x51856c(0xed)),logger=require(a99_0x51856c(0x110))['winstonLogger'],globals=require('../globals'),timeoutPromise=require(a99_0x51856c(0x100)),isUndefinedOrNull=_0x2578d0=>_0x2578d0===undefined||_0x2578d0===null||_0x2578d0==='',isNotUndefinedOrNull=_0x3d71bd=>!isUndefinedOrNull(_0x3d71bd),isString=_0x10ada9=>isNotUndefinedOrNull(_0x10ada9)&&typeof _0x10ada9===a99_0x51856c(0xbc);class AiSdkWrapper{constructor(){const _0x3e6de2=a99_0x51856c,_0x1b800b={'ssLfu':function(_0xd10cd1,_0x4860dc){return _0xd10cd1(_0x4860dc);},'VzzKI':_0x3e6de2(0xd7)};this[_0x3e6de2(0xea)]=undefined;try{this[_0x3e6de2(0xea)]=_0x1b800b['ssLfu'](require,path['join'](__dirname,_0x1b800b[_0x3e6de2(0x111)]));}catch(_0x641714){logger['error'](_0x3e6de2(0x125)+(_0x641714&&_0x641714[_0x3e6de2(0xe3)]?_0x641714[_0x3e6de2(0xe3)]:''));}}[a99_0x51856c(0x128)](_0x4ec454){const _0x1d8bc5=a99_0x51856c,_0x492cca={};_0x492cca[_0x1d8bc5(0xcf)]=_0x1d8bc5(0xef),_0x492cca['BafMi']=function(_0x35dacd,_0x66df48){return _0x35dacd===_0x66df48;},_0x492cca[_0x1d8bc5(0xd1)]=_0x1d8bc5(0xc8),_0x492cca['tYfFj']='firefox',_0x492cca[_0x1d8bc5(0xdf)]='safari',_0x492cca['fxxYS']=_0x1d8bc5(0xba),_0x492cca[_0x1d8bc5(0x11a)]=_0x1d8bc5(0x12a);const _0x482f31=_0x492cca;try{const _0x4966f1=this[_0x1d8bc5(0xea)][_0x1d8bc5(0xee)](Object[_0x1d8bc5(0x107)](_0x4ec454[_0x1d8bc5(0xd9)]()[_0x1d8bc5(0xe0)]));console[_0x1d8bc5(0xe9)](_0x482f31[_0x1d8bc5(0xcf)],_0x4966f1);if(_0x482f31[_0x1d8bc5(0x121)](_0x4966f1?.[_0x1d8bc5(0xc9)]?.['toLowerCase'](),_0x482f31[_0x1d8bc5(0xd1)]))_0x4ec454[_0x1d8bc5(0x101)]=_0x4966f1;else{if(_0x482f31[_0x1d8bc5(0x121)](_0x4966f1?.[_0x1d8bc5(0xc9)]?.[_0x1d8bc5(0x115)](),_0x482f31[_0x1d8bc5(0xc1)]))_0x4ec454['firefoxOptions_']=_0x4966f1;else{if(_0x482f31[_0x1d8bc5(0x121)](_0x4966f1?.[_0x1d8bc5(0xc9)]?.[_0x1d8bc5(0x115)](),_0x482f31[_0x1d8bc5(0xdf)]))_0x4ec454['safariOptions_']=_0x4966f1;else{if(_0x482f31[_0x1d8bc5(0x121)](_0x4966f1?.[_0x1d8bc5(0xc9)]?.['toLowerCase'](),_0x482f31[_0x1d8bc5(0xe1)])||_0x482f31[_0x1d8bc5(0x121)](_0x4966f1?.[_0x1d8bc5(0xc9)]?.[_0x1d8bc5(0x115)](),_0x482f31[_0x1d8bc5(0x11a)]))_0x4ec454[_0x1d8bc5(0xc6)]=_0x4966f1;else _0x482f31[_0x1d8bc5(0x121)](_0x4966f1?.[_0x1d8bc5(0xc9)]?.['toLowerCase'](),'ie')&&(_0x4ec454[_0x1d8bc5(0xe2)]=_0x4966f1);}}}Object[_0x1d8bc5(0xca)](_0x4966f1)[_0x1d8bc5(0xf5)](_0x5adb31=>{const _0x902559=_0x1d8bc5,_0x48a07c=_0x4ec454['capabilities_'][_0x902559(0xda)](_0x5adb31);_0x4ec454['capabilities_'][_0x902559(0x11d)](_0x5adb31,_0x4966f1[_0x5adb31]);});}catch(_0x5f3bd8){logger[_0x1d8bc5(0x11b)](_0x1d8bc5(0x12e)+(_0x5f3bd8&&_0x5f3bd8[_0x1d8bc5(0xe3)]?_0x5f3bd8[_0x1d8bc5(0xe3)]:''));}}async[a99_0x51856c(0x102)](_0x8b2c30){const _0x2037b1=a99_0x51856c,_0x81161c={'iqihG':function(_0x1e6a9c,_0x241cde,_0x2e0f85,_0x3e89fd,_0x336bfe,_0x20e29f,_0x44a6b1){return _0x1e6a9c(_0x241cde,_0x2e0f85,_0x3e89fd,_0x336bfe,_0x20e29f,_0x44a6b1);},'nHbKm':_0x2037b1(0xe5),'qsUIS':_0x2037b1(0x10f),'QPZdp':_0x2037b1(0xcc)},_0x30dba2=new Date(),_0x3fa269=_0x81161c[_0x2037b1(0x10d)](timeoutPromise,constants[_0x2037b1(0xc3)],_0x81161c[_0x2037b1(0xf3)],_0x81161c[_0x2037b1(0x11f)],_0x30dba2,this[_0x2037b1(0xcd)],this[_0x2037b1(0xf4)]);await Promise[_0x2037b1(0x10e)]([this[_0x2037b1(0xea)][_0x2037b1(0xe8)](_0x8b2c30,globals[_0x2037b1(0x11c)](_0x81161c[_0x2037b1(0x112)]),constants['TCG_URL'])[_0x2037b1(0x117)](()=>{_0x3fa269['cancel']();}),_0x3fa269]);}async[a99_0x51856c(0xd5)](_0x26825a,_0x324ed7,_0x251f20,_0x47c02c){const _0x5ac29e=a99_0x51856c,_0x20a1e3={'KxETj':function(_0x56611c,_0x2ea6f5){return _0x56611c===_0x2ea6f5;},'gRfgZ':function(_0x1bb181,_0x44b6d7){return _0x1bb181(_0x44b6d7);},'MVkwK':function(_0x12c00d,_0x19e6df){return _0x12c00d(_0x19e6df);},'ndMem':function(_0x21030f,_0x1c3f48){return _0x21030f(_0x1c3f48);},'TPzmK':function(_0xcb41d4,_0x3d417d){return _0xcb41d4(_0x3d417d);},'PQUur':function(_0x5ad5fb,_0x50838e){return _0x5ad5fb(_0x50838e);},'MhAjn':function(_0x51bfa4,_0x54c180){return _0x51bfa4(_0x54c180);},'CcRuu':'s://','paIQc':function(_0x32d767,_0x136155){return _0x32d767(_0x136155);},'zLAQa':'aiHeal_userId','DjewR':_0x5ac29e(0xdd),'Vjvuo':_0x5ac29e(0xf0),'SxmMh':function(_0x445677,_0xe849ad,_0x395266,_0x3239ee,_0x21518f,_0x5b2bbd,_0x57e43f){return _0x445677(_0xe849ad,_0x395266,_0x3239ee,_0x21518f,_0x5b2bbd,_0x57e43f);},'vGMSc':'BrowserstackHealing.logData\x20method\x20timed\x20out','KhvJf':_0x5ac29e(0x10a),'nKMPg':function(_0x3db5e6,_0x331cbd,_0x2a0825,_0x5b6f7f,_0x5954d0,_0x5f4a96,_0x16fde5){return _0x3db5e6(_0x331cbd,_0x2a0825,_0x5b6f7f,_0x5954d0,_0x5f4a96,_0x16fde5);},'Wenrb':'BrowserstackHealing.healFailure\x20method\x20timed\x20out','qKpRy':'BrowserstackHealingHealFailureFailed'},_0x1f368a=(await _0x324ed7[_0x5ac29e(0x106)]())[_0x5ac29e(0xd4)]();let _0x138cdd='';if(commandRepository[_0x5ac29e(0xc5)]()&&_0x20a1e3[_0x5ac29e(0xf7)](_0x47c02c,![])||_0x20a1e3[_0x5ac29e(0xf7)](_0x47c02c,!![])){const _0x188958=_0x20a1e3[_0x5ac29e(0xc2)](isNotUndefinedOrNull,_0x251f20[_0x5ac29e(0xfe)]['using'])&&_0x20a1e3[_0x5ac29e(0xe4)](isString,_0x251f20[_0x5ac29e(0xfe)][_0x5ac29e(0xd8)])?_0x251f20[_0x5ac29e(0xfe)]['using']['replace'](/'/g,'\x5c\x27')['replace'](/"/g,'\x5c\x22'):'',_0x2db36f=_0x20a1e3[_0x5ac29e(0xbe)](isNotUndefinedOrNull,_0x251f20[_0x5ac29e(0xfe)][_0x5ac29e(0xd8)])&&_0x20a1e3[_0x5ac29e(0xbe)](isString,_0x251f20['parameters_']['value'])?_0x251f20[_0x5ac29e(0xfe)][_0x5ac29e(0xeb)]['replace'](/'/g,'\x5c\x27')[_0x5ac29e(0xb9)](/"/g,'\x5c\x22'):'',_0x496365=_0x20a1e3[_0x5ac29e(0xe4)](isNotUndefinedOrNull,commandRepository[_0x5ac29e(0xc4)]())&&_0x20a1e3[_0x5ac29e(0x119)](isString,commandRepository[_0x5ac29e(0xc4)]())?commandRepository['getProjectName']()['replace'](/'/g,'\x5c\x27')[_0x5ac29e(0xb9)](/"/g,'\x5c\x22'):'';let _0x1b4561=_0x20a1e3[_0x5ac29e(0xf8)](isNotUndefinedOrNull,global[_0x5ac29e(0xf1)])&&_0x20a1e3[_0x5ac29e(0xbe)](isString,global['browserstackSessionName'])?global['browserstackSessionName'][_0x5ac29e(0xb9)](/'/g,'\x5c\x27')['replace'](/"/g,'\x5c\x22'):'';!_0x1b4561&&(_0x1b4561=_0x20a1e3[_0x5ac29e(0xe4)](isNotUndefinedOrNull,commandRepository[_0x5ac29e(0xec)]())&&_0x20a1e3['MhAjn'](isString,commandRepository[_0x5ac29e(0xec)]())?commandRepository[_0x5ac29e(0xec)]()[_0x5ac29e(0xb9)](/'/g,'\x5c\x27')[_0x5ac29e(0xb9)](/"/g,'\x5c\x22'):'');let _0x322231='{\x22region\x22:\x20\x22'+constants[_0x5ac29e(0x109)]+_0x5ac29e(0xd2)+constants['TCG_REGION']+'\x22:\x20{\x22endpoint\x22:\x20\x22'+constants[_0x5ac29e(0x129)][_0x5ac29e(0x113)](_0x20a1e3[_0x5ac29e(0xf6)])[0x1]+'\x22}}}';_0x322231=_0x20a1e3[_0x5ac29e(0xfb)](isNotUndefinedOrNull,_0x322231)&&_0x20a1e3[_0x5ac29e(0xbe)](isString,_0x322231)?_0x322231[_0x5ac29e(0xb9)](/'/g,'\x5c\x27')[_0x5ac29e(0xb9)](/"/g,'\x5c\x22'):'';const _0x1a4b79=commandRepository['getCommands'](_0x1f368a),_0x2ccd0d=globals[_0x5ac29e(0x11c)](_0x20a1e3[_0x5ac29e(0x10b)]),_0x5c75a1=globals['getGlobal'](_0x20a1e3[_0x5ac29e(0xff)]),_0x566c95=globals[_0x5ac29e(0x11c)](_0x20a1e3[_0x5ac29e(0xbb)]),_0x5d5a3a=![],_0x59039f=new Date();if(_0x47c02c){const _0x37e7b7=_0x20a1e3['SxmMh'](timeoutPromise,constants['HEALING_LOG_DATA_TIMEOUT'],_0x20a1e3[_0x5ac29e(0x12b)],_0x20a1e3['KhvJf'],_0x59039f,this[_0x5ac29e(0xcd)],this['framework']);_0x138cdd=await Promise[_0x5ac29e(0x10e)]([this['BrowserstackHealing'][_0x5ac29e(0xbd)](_0x188958,_0x2db36f,_0x496365,_0x1b4561,_0x5c75a1,_0x1f368a,_0x1a4b79,_0x322231)[_0x5ac29e(0x117)](_0x1e94ff=>{const _0x45dded=_0x5ac29e;return _0x37e7b7[_0x45dded(0xfc)](),_0x1e94ff;}),_0x37e7b7]);}else{if(commandRepository[_0x5ac29e(0xc5)]()){const _0x2851f6=_0x20a1e3['nKMPg'](timeoutPromise,constants[_0x5ac29e(0x114)],_0x20a1e3[_0x5ac29e(0xc7)],_0x20a1e3[_0x5ac29e(0xd3)],_0x59039f,this[_0x5ac29e(0xcd)],this['framework']);_0x138cdd=await Promise[_0x5ac29e(0x10e)]([this['BrowserstackHealing'][_0x5ac29e(0xfd)](_0x188958,_0x2db36f,_0x496365,_0x1b4561,_0x2ccd0d,_0x5c75a1,_0x1f368a,_0x1a4b79,_0x5d5a3a,_0x566c95,_0x322231)[_0x5ac29e(0x117)](_0x50be49=>{const _0x248cc4=_0x5ac29e;return _0x2851f6[_0x248cc4(0xfc)](),_0x50be49;}),_0x2851f6]);}}_0x138cdd&&await _0x324ed7[_0x5ac29e(0xce)](_0x138cdd);}}async[a99_0x51856c(0x120)](_0x2b828c,_0x4a941d,_0x530f56){const _0x2b8140=a99_0x51856c;try{await this[_0x2b8140(0xd5)](_0x2b828c,_0x4a941d,_0x530f56,!![]);}catch(_0x5573c5){return logger[_0x2b8140(0x11b)](_0x2b8140(0xcb)+(_0x5573c5&&_0x5573c5[_0x2b8140(0xe3)]?_0x5573c5[_0x2b8140(0xe3)]:'')),![];}return!![];}async[a99_0x51856c(0x126)](_0x9200c3,_0x21a8ac,_0x2442d2){const _0x1e8488=a99_0x51856c,_0x3cc71e={'mCeDk':function(_0x4bd18c,_0x2425c1,_0x301e5c,_0x1fd0c8,_0x4c3809,_0x5738b3,_0x129a09){return _0x4bd18c(_0x2425c1,_0x301e5c,_0x1fd0c8,_0x4c3809,_0x5738b3,_0x129a09);},'fAUcG':'BrowserstackHealing.pollResult\x20method\x20timed\x20out','bNzHL':_0x1e8488(0xf2),'NlmwF':_0x1e8488(0xcc)};try{await this[_0x1e8488(0xd5)](_0x9200c3,_0x21a8ac,_0x2442d2,![]);const _0x5dd065=(await _0x21a8ac[_0x1e8488(0x106)]())[_0x1e8488(0xd4)](),_0x24bd2f=new Date(),_0x4cb3b0=_0x3cc71e[_0x1e8488(0x105)](timeoutPromise,constants['POLL_HEALING_RESULT_TIMEOUT'],_0x3cc71e[_0x1e8488(0x108)],_0x3cc71e[_0x1e8488(0x116)],_0x24bd2f,this[_0x1e8488(0xcd)],this[_0x1e8488(0xf4)]),_0x3d458b=await Promise[_0x1e8488(0x10e)]([this[_0x1e8488(0xea)]['pollResult'](constants['TCG_URL'],_0x5dd065,globals[_0x1e8488(0x11c)](_0x3cc71e[_0x1e8488(0xbf)]))[_0x1e8488(0x117)](_0x555200=>{const _0x361dc1=_0x1e8488;return _0x4cb3b0[_0x361dc1(0xfc)](),_0x555200;}),_0x4cb3b0]);if(_0x3d458b&&_0x3d458b[_0x1e8488(0xfa)]&&_0x3d458b[_0x1e8488(0xeb)]){const _0x3d3cb5={};return _0x3d3cb5['locatorType']=_0x3d458b[_0x1e8488(0xfa)],_0x3d3cb5[_0x1e8488(0x122)]=_0x3d458b[_0x1e8488(0xeb)],_0x3d3cb5[_0x1e8488(0xe6)]=!![],_0x3d3cb5;}const _0x30ef09={};return _0x30ef09[_0x1e8488(0xc0)]=_0x2442d2[_0x1e8488(0xfe)][_0x1e8488(0xd8)],_0x30ef09[_0x1e8488(0x122)]=_0x3d458b['value'],_0x30ef09['aiHealing']=!![],_0x30ef09;}catch(_0xd970c4){return logger[_0x1e8488(0x104)](_0x1e8488(0xdb)+(_0xd970c4&&_0xd970c4[_0x1e8488(0xe3)]?_0xd970c4[_0x1e8488(0xe3)]:'')),logger[_0x1e8488(0xb8)](_0x1e8488(0x10c)+_0x2442d2['name_']+_0x1e8488(0xd0)),_0x2442d2;}}}exports[a99_0x51856c(0xe7)]=Object[a99_0x51856c(0xf9)](new AiSdkWrapper());function a99_0x5e8c(_0x4e819d,_0x4d96b5){const _0x252acf=a99_0x252a();return a99_0x5e8c=function(_0x5e8c30,_0x423f06){_0x5e8c30=_0x5e8c30-0xb8;let _0xb89fcf=_0x252acf[_0x5e8c30];return _0xb89fcf;},a99_0x5e8c(_0x4e819d,_0x4d96b5);}function a99_0x252a(){const _0x833ec5=['setToken','log','BrowserstackHealing','value','getTestName','../../bin/utils/constants','initializeCapabilities','newCapabilities','aiHeal_isGroupAIEnabled','browserstackSessionName','BrowserstackHealingPollResultFailed','nHbKm','framework','forEach','CcRuu','KxETj','PQUur','freeze','selector','paIQc','cancel','healFailure','parameters_','DjewR','../../helpers/timeoutPromise','chromeOptions_','setTcgToken','80ZGAkhC','debug','mCeDk','getSession','fromEntries','fAUcG','TCG_REGION','BrowserstackHealingLogDataFailed','zLAQa','Healing\x20Failed,\x20Browserstack\x20AI\x20could\x20not\x20heal\x20the\x20','iqihG','race','BrowserstackHealingSetTcgTokenFailed','../logger','VzzKI','QPZdp','split','HEALING_FAILURE_TIMEOUT','toLowerCase','bNzHL','then','5115876VXQmSK','TPzmK','QhyyD','error','getGlobal','set','2353520NDBVdE','qsUIS','handleSuccess','BafMi','locatorValue','805045svZwZJ','13179483VwPlzY','Unable\x20to\x20load\x20healing\x20module,\x20error:\x20','handleFailure','1042125TfCODo','initializeHealingCapabilities','TCG_URL','microsoftedge','vGMSc','6677180hUiTnx','18dQoWMo','Error\x20in\x20initialising\x20healing\x20capabilities\x20,\x20error:\x20','info','replace','edge','Vjvuo','string','logData','ndMem','NlmwF','locatorType','tYfFj','gRfgZ','SET_TCG_TOKEN_TIMEOUT','getProjectName','isSelfHealEnabled','edgeOptions_','Wenrb','chrome','browserName','keys','Error\x20in\x20(healing)\x20success\x20event.\x20ERROR:\x20','aiHeal_sessionToken','config','executeScript','SGGZc','\x20command','moVqR','\x22,\x20\x22tcgUrls\x22:\x20{\x22','qKpRy','getId','_handleEvent','path','../../ai-sdk-node/bundle','using','getCapabilities','get','Error\x20in\x20(healing)\x20handling\x20failure\x20event.\x20ERROR:\x20','23342gpPBRS','aiHeal_groupId','37exvCWJ','Azryv','map_','fxxYS','ieOptions_','message','MVkwK','BrowserstackHealing.setToken\x20method\x20timed\x20out','aiHealing','aiSdkWrapper'];a99_0x252a=function(){return _0x833ec5;};return a99_0x252a();}
|