browserstack-node-sdk 1.50.3 → 1.50.5
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_0x5016(){const _0x19cce6=['FRAMEWORK','../bin/v2/browserstackCLI','isAuthenticated','getCentralUser','setBrowserstackInfraFromConfig','startMonitoring','\x20with\x20response\x20','3sLNTcM','readConfig','toString','84PaFLLM','Error\x20occured\x20while\x20stopping\x20percy','oZJnN','eVeWg','win32','MAOug','VlWlu','2|3|1|4|0','setUpHubUrl','warn','bstackConfig','cancel','YwtbV','\x20with\x20error\x20','../bin/v2/modules/loadTestModule','pUoSC','qaGbg','setupTCGAuth','JBjLZ','race','userName','end','customRepeaters','status','SIGBREAK','exceptions','url','preInitialize','stopPercy','SIGHUP','../bin/utils/apiUtilityMethods','tcg\x20config\x20setup\x20successful.','stopLocalBinary','percy','wboHC','isLTSSession','push','exitHandler','No\x20config\x20provided.','NDJcH','getAccessKey','SIGTERM','measures','framework','SIGABRT','setupTcgConfigFile','winstonLogger','Tluim','turboScaleUrl','split','NdlXJ','LrRct','../bin/utils/clientTroubleshootingService','setLogLevel','playwright','XwohQ','env','lvoXy','selenium-webdriver','userName\x20or\x20accessKey\x20is\x20not\x20defined','getInstance','HUB_MANAGEMENT','Error\x20in\x20sending\x20testhub\x20stop:\x20','startLocalBinary','envConfig','yfEjo','GPKVe','generateLocalIdentifier','isEnabled','bZwIi','setCLICaps','AOAis','isTurboScaleSession','platforms','BrowserstackHealing.init','isHealingEnabled','config','dsKuR','8298279ixPobo','turboScaleOptions','./helper','testContextOptions','info','NEHkQ','Local\x20binary\x20not\x20started\x20as\x20skipBinaryInitialisation\x20is\x20enabled','Local\x20binary\x20started\x20successfully','constructor','getHubUrl','measureWrapper','sdkRunId','playwrightUrl','../bin/utils/constants','close','accessKey','UZjXZ','intExitHandler','requireSeleniumWebdriverCheck','handled','Healing\x20is\x20not\x20enabled\x20for\x20your\x20group,\x20please\x20contact\x20the\x20admin','getFinalCaps','GglKM','isNotUndefined','11cRuirb','4.5.0','BMNLy','nEETs','killSignal','unhandledRejection','cliConfig','5431120yLztWa','beforeExit','initialize','Shutdown\x20triggered\x20by\x20','?caps=','2184NClEEE','isUndefined','proxyConfig','Local\x20binary\x20stopped','setupKeepAlive','TCG_DOWN','FPJLR','WzrpC','HxwAz','../ai-sdk-node/bundle','AUTOLOGCAPTURE_NOTIFICATION','useW3C','__isPlaywrightInstalled','UPGRADE_REQUIRED','4841705HiTmAl','./performance/constants','pnKyL','setEnvCaps','includes','AI_INIT_SUCCESSFUL','error','./testhub/testhubHandler','4186812RGbkof','PYfYf','AEKIz','events.json','isTrue','skipSessionName','stringify','BROWSERSTACK_PERCY','vAPxZ','stop','errorMessage','SIGQUIT','Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20','getLocalIdentifier','2|19|5|16|10|0|11|9|4|18|21|23|15|17|13|14|1|22|20|8|12|7|6|3','tfyEo','osphY','skipBinaryInitialisation','dzfie','aiHeal:tcgAuth','PXigz','wUcpM','dqyqQ','kHwnS','ANRZz','ats-repeater','bthOq','debug','join','skipSessionStatus','vDoaS','browserstackLocal','statusCode','assign','PnVpF','setHandlePWError','selfHeal','configPath','init','Please\x20upgrade\x20Browserstack\x20SDK\x20to\x20the\x20latest\x20version\x20to\x20use\x20the\x20self-healing\x20feature.','QQdVo','false','kKpMi','disableAutoCaptureLogs','LKKrH','parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','proxyUrl','./setKeepAlive','./timeoutPromise','iIZrZ','7|3|2|6|4|0|5|1','handleExceptions','29267oqGeWa','10716579tMNyGM','Calling\x20Build\x20Stop\x20from\x20ExitHandler','captureError','setLogDir','Percy\x20stopped','unhandledErrors','eKVxL','uuid','tcgAuthConfig','TCG_AUTH_TIMEOUT','10BxfBNy','getPackageVersion','272770suWAfB','SDK_CLEANUP','proxy','reportFinalDetectionState','writeFileSync','ABdPq','Odjzy','AI_INIT_FAILURE','Failed\x20to\x20send\x20data\x20to\x20','vQZmA','xMREz','../../package.json','fireFunnelTestEvent','wpHht','default','IkPhR','uLcUt','SDK\x20run\x20started\x20with\x20id:\x20','./logger','./testhub/utils','isRunning','isBrowserstackInfra','getUserName','XUhXG','sanitizeCaps','TCG_URL','QuDlJ','length','integrations','browserStackLocalOptions','getTurboScaleGridDetails','MRmFZ','localIdentifier','setupBrowserstackLocal','xIYWk','true','jjnSo','SIGINT','aBmsG','qhJLz','localOptions','AI_PROXY_FAILURE','path','UGrsn','format','turboScale','version','util','platform','allocateHub','Error\x20in\x20writing\x20events\x20to\x20file\x20','MxAHB','vnaJF','BROWSERSTACK_TURBOSCALE','RYmue','setCredentialsFromYmlConfig','message'];a94_0x5016=function(){return _0x19cce6;};return a94_0x5016();}const a94_0x43d472=a94_0x1dd6;(function(_0x49a4da,_0x4b3c64){const _0x46979e=a94_0x1dd6,_0x3f2213=_0x49a4da();while(!![]){try{const _0x300380=-parseInt(_0x46979e(0x142))/0x1*(parseInt(_0x46979e(0x99))/0x2)+-parseInt(_0x46979e(0xd9))/0x3*(parseInt(_0x46979e(0x149))/0x4)+-parseInt(_0x46979e(0x15c))/0x5+-parseInt(_0x46979e(0x164))/0x6+-parseInt(_0x46979e(0x8c))/0x7*(parseInt(_0x46979e(0x14e))/0x8)+-parseInt(_0x46979e(0x8d))/0x9*(-parseInt(_0x46979e(0x97))/0xa)+-parseInt(_0x46979e(0x12a))/0xb*(-parseInt(_0x46979e(0xdc))/0xc);if(_0x300380===_0x4b3c64)break;else _0x3f2213['push'](_0x3f2213['shift']());}catch(_0x1a593c){_0x3f2213['push'](_0x3f2213['shift']());}}}(a94_0x5016,0xc4bfb));function a94_0x1dd6(_0x484b5a,_0x5edb4b){const _0x5016da=a94_0x5016();return a94_0x1dd6=function(_0x1dd69f,_0xf190e5){_0x1dd69f=_0x1dd69f-0x73;let _0xe727ca=_0x5016da[_0x1dd69f];return _0xe727ca;},a94_0x1dd6(_0x484b5a,_0x5edb4b);}const util=require(a94_0x43d472(0xc8)),os=require('os'),path=require(a94_0x43d472(0xc3)),{v4:uuidv4}=require(a94_0x43d472(0x94)),fs=require('fs'),constants=require(a94_0x43d472(0x137)),logger=require(a94_0x43d472(0xab))[a94_0x43d472(0x10a)],fileLogger=require('./logger')['fileLogger'],{getLogDir}=require('./logger'),helper=require(a94_0x43d472(0x12c)),utilities=require('./utilities'),percyHelper=require('./percy/utils'),hubAllocator=require('../hubAllocationMethods'),PerformanceTester=require('./performance/performance-tester'),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents}=require(a94_0x43d472(0x15d)),{setPercyFlag}=require(a94_0x43d472(0xac)),TestHubHandler=require(a94_0x43d472(0x163)),timeoutPromise=require(a94_0x43d472(0x88)),BrowserstackCLI=require(a94_0x43d472(0xd3)),LoadTestModule=require(a94_0x43d472(0xea)),{getEdsInstrumentationAPIUrl}=require(a94_0x43d472(0xfa)),ClientTroubleShootingService=require(a94_0x43d472(0x110));class BrowserStackSetup{constructor(_0x37d616,_0x52d50c){const _0x5be73c=a94_0x43d472,_0x22a194={'tfyEo':_0x5be73c(0x172),'XXzMZ':_0x5be73c(0x102),'Tluim':function(_0x404902){return _0x404902();}},_0x1d282f=_0x22a194[_0x5be73c(0x173)][_0x5be73c(0x10d)]('|');let _0xa99bb4=0x0;while(!![]){switch(_0x1d282f[_0xa99bb4++]){case'0':this[_0x5be73c(0x7d)]=helper['getConfigPath'](_0x37d616);continue;case'1':helper[_0x5be73c(0xd6)](this[_0x5be73c(0x128)],this[_0x5be73c(0x148)]);continue;case'2':this[_0x5be73c(0x92)]=[];continue;case'3':PerformanceTester[_0x5be73c(0xd7)]();continue;case'4':this[_0x5be73c(0x128)][_0x5be73c(0x125)]=this[_0x5be73c(0x128)][_0x5be73c(0x125)]||[];continue;case'5':this['envConfig']=helper[_0x5be73c(0x15f)]();continue;case'6':helper[_0x5be73c(0x111)](this[_0x5be73c(0x128)],this['cliConfig'],this[_0x5be73c(0x11c)]);continue;case'7':helper[_0x5be73c(0x90)](this[_0x5be73c(0x128)]);continue;case'8':this[_0x5be73c(0x128)][_0x5be73c(0x12d)]['skipSessionName']=!helper[_0x5be73c(0xae)]()||helper[_0x5be73c(0x168)](this[_0x5be73c(0x128)][_0x5be73c(0x12d)][_0x5be73c(0x169)]);continue;case'9':this[_0x5be73c(0x148)]=helper[_0x5be73c(0x122)](_0x37d616);continue;case'10':this[_0x5be73c(0xfd)]=null;continue;case'11':this[_0x5be73c(0x128)]=helper[_0x5be73c(0xda)](this[_0x5be73c(0x7d)]);continue;case'12':helper[_0x5be73c(0x13f)](this[_0x5be73c(0x128)],this[_0x5be73c(0x148)],this[_0x5be73c(0x11c)]);continue;case'13':if(helper['isUndefined'](this['config']))throw new Error(_0x22a194['XXzMZ']);continue;case'14':if(this[_0x5be73c(0x128)][_0x5be73c(0x162)])throw new Error(this[_0x5be73c(0x128)][_0x5be73c(0x162)]);continue;case'15':this['framework']=_0x52d50c;continue;case'16':this[_0x5be73c(0x77)]=null;continue;case'17':global[_0x5be73c(0x107)]=_0x52d50c;continue;case'18':this['config'][_0x5be73c(0x12d)]=this[_0x5be73c(0x128)][_0x5be73c(0x12d)]||{};continue;case'19':helper['normalizeTestReportingEnvVars']();continue;case'20':this[_0x5be73c(0x128)]['testContextOptions'][_0x5be73c(0x75)]=!helper[_0x5be73c(0xae)]()||helper[_0x5be73c(0x168)](this['config'][_0x5be73c(0x12d)][_0x5be73c(0x75)]);continue;case'21':this[_0x5be73c(0x16e)]={};continue;case'22':helper[_0x5be73c(0xd0)](this[_0x5be73c(0x128)]);continue;case'23':this['sdkRunId']=_0x22a194[_0x5be73c(0x10b)](uuidv4);continue;}break;}}[a94_0x43d472(0xf7)](_0x4c2787){const _0x4dd970=a94_0x43d472,_0x18cd7e={'YwtbV':_0x4dd970(0x117),'XUhXG':function(_0x4d377e,_0x30091e){return _0x4d377e===_0x30091e;},'wUcpM':function(_0x3284ca,_0x2bf23f){return _0x3284ca===_0x2bf23f;},'xMREz':_0x4dd970(0xb5),'dzfie':'SDKTestAttempted','jjnSo':function(_0x255a70,_0x52ac20){return _0x255a70<_0x52ac20;},'yfEjo':function(_0xf598e5,_0x255fff){return _0xf598e5(_0x255fff);},'vAPxZ':_0x4dd970(0x116),'vOYLg':function(_0x5c7dd2,_0x287967){return _0x5c7dd2===_0x287967;},'eKVxL':_0x4dd970(0x143),'pnKyL':'Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','qaGbg':_0x4dd970(0x85),'uLcUt':_0x4dd970(0x105),'BVXJV':_0x4dd970(0xbe),'Odjzy':_0x4dd970(0xf9),'DYFTM':function(_0x2dcc8d,_0x2d9c94){return _0x2dcc8d!==_0x2d9c94;},'XwohQ':_0x4dd970(0xe0),'GglKM':_0x4dd970(0x108),'GPKVe':_0x4dd970(0x16f),'dqyqQ':_0x4dd970(0xf4),'FPJLR':_0x4dd970(0x14a)},_0x1aac83=this['framework'];global[_0x4dd970(0x128)]=this[_0x4dd970(0x128)],helper[_0x4dd970(0xb1)](this[_0x4dd970(0x128)]),this[_0x4dd970(0x146)]=null,global[_0x4dd970(0x135)]=this[_0x4dd970(0x135)],logger['info'](_0x4dd970(0xaa)+this['sdkRunId']),!this[_0x4dd970(0x128)][_0x4dd970(0xb6)]&&(this[_0x4dd970(0x128)][_0x4dd970(0xb6)]=this[_0x4dd970(0x128)][_0x4dd970(0xc1)]||{});if(helper[_0x4dd970(0x14f)](helper[_0x4dd970(0xaf)](this[_0x4dd970(0x128)]))||helper['isUndefined'](helper[_0x4dd970(0x104)](this[_0x4dd970(0x128)])))throw new Error(_0x18cd7e[_0x4dd970(0xe8)]);helper['getLocalConfig'](this[_0x4dd970(0x128)])&&helper[_0x4dd970(0x14f)](helper[_0x4dd970(0x171)](this['config']))&&(!helper[_0x4dd970(0x14f)](this[_0x4dd970(0x128)][_0x4dd970(0xb6)])&&_0x18cd7e[_0x4dd970(0xb0)](this[_0x4dd970(0x128)]['browserStackLocalOptions'][_0x4dd970(0x132)],Object)?!helper[_0x4dd970(0x168)](this[_0x4dd970(0x128)]['browserStackLocalOptions'][_0x4dd970(0x175)])&&(this['config'][_0x4dd970(0xb6)][_0x4dd970(0xb9)]=helper['generateLocalIdentifier']()):this['config'][_0x4dd970(0xb6)]={'localIdentifier':helper[_0x4dd970(0x11f)]()});this['config'][_0x4dd970(0xb6)][_0x4dd970(0x175)]=helper[_0x4dd970(0x168)](this[_0x4dd970(0x128)][_0x4dd970(0xb6)][_0x4dd970(0x175)]),helper[_0x4dd970(0x7b)](this['config']);if(_0x18cd7e[_0x4dd970(0x179)](_0x1aac83,_0x18cd7e[_0x4dd970(0xa3)]))return;this['handleExceptions']();process['env'][_0x4dd970(0xce)]&&(this[_0x4dd970(0x128)][_0x4dd970(0xc6)]=helper['isTrue'](process[_0x4dd970(0x114)][_0x4dd970(0xce)]),this['config'][_0x4dd970(0x12b)]=this[_0x4dd970(0x128)][_0x4dd970(0x12b)]||{});helper['isTurboScaleSession'](this[_0x4dd970(0x128)])&&(process[_0x4dd970(0x114)][_0x4dd970(0xce)]=!![]);LoadTestModule[_0x4dd970(0xff)](this['config'])&&logger[_0x4dd970(0x73)]('LTS\x20session\x20enabled\x20for\x20this\x20run.\x20SDK\x20run\x20id:\x20'+this[_0x4dd970(0x135)]);if(!helper['isBrowserstackInfra']()){try{process[_0x4dd970(0x114)][_0x4dd970(0xd2)]=_0x1aac83,utilities[_0x4dd970(0xa5)](_0x18cd7e[_0x4dd970(0x176)],{},this['config'],this['framework']);}catch(_0x101880){logger[_0x4dd970(0x73)](_0x4dd970(0x170)+_0x101880);}return;}if(helper[_0x4dd970(0x13c)](_0x1aac83)){if(global[_0x4dd970(0x15a)])return;_0x18cd7e[_0x4dd970(0xbd)](_0x18cd7e[_0x4dd970(0x11d)](parseInt,helper['getPackageVersion'](_0x18cd7e[_0x4dd970(0x16c)])),0x3)&&(this[_0x4dd970(0x128)][_0x4dd970(0x159)]=![]),_0x18cd7e['vOYLg'](helper['compareVersions'](helper[_0x4dd970(0x98)](_0x18cd7e[_0x4dd970(0x16c)]),_0x18cd7e[_0x4dd970(0x93)]),0x1)&&(this['config'][_0x4dd970(0x159)]=!![]);}(helper['isUndefined'](this[_0x4dd970(0x128)]['platforms'])||helper[_0x4dd970(0x14f)](this[_0x4dd970(0x128)][_0x4dd970(0x125)][_0x4dd970(0xb4)]))&&(helper[_0x4dd970(0x14f)](this['config']['parallelsPerPlatform'])?logger[_0x4dd970(0x12e)](_0x18cd7e[_0x4dd970(0x15e)]):logger[_0x4dd970(0xe5)](_0x18cd7e[_0x4dd970(0xec)]),this['config'][_0x4dd970(0x125)]=[]);!this[_0x4dd970(0x128)][_0x4dd970(0x12d)]&&(this['config'][_0x4dd970(0x12d)]={});try{process[_0x4dd970(0x114)]['FRAMEWORK']=_0x4c2787['_'][0x0],utilities[_0x4dd970(0xa5)](_0x18cd7e[_0x4dd970(0x176)],{},this[_0x4dd970(0x128)],this['framework']);}catch(_0x3bd8f0){logger[_0x4dd970(0x73)](_0x4dd970(0x170)+_0x3bd8f0);}!this[_0x4dd970(0x128)][_0x4dd970(0x83)]&&logger[_0x4dd970(0x12e)](constants[_0x4dd970(0x158)]),this[_0x4dd970(0x13b)]=this[_0x4dd970(0x13b)]['bind'](this),process['on'](_0x18cd7e[_0x4dd970(0xa9)],this[_0x4dd970(0x13b)]),process['on'](_0x18cd7e['BVXJV'],this[_0x4dd970(0x13b)]),process['on'](_0x18cd7e[_0x4dd970(0x9f)],this[_0x4dd970(0x13b)]),_0x18cd7e['DYFTM'](process[_0x4dd970(0xc9)],_0x18cd7e[_0x4dd970(0x113)])?(process['on'](_0x18cd7e[_0x4dd970(0x140)],this[_0x4dd970(0x13b)]),process['on'](_0x18cd7e[_0x4dd970(0x11e)],this[_0x4dd970(0x13b)])):process['on'](_0x18cd7e[_0x4dd970(0x17a)],this[_0x4dd970(0x13b)]),process['on'](_0x18cd7e[_0x4dd970(0x154)],this['exitHandler']());}async[a94_0x43d472(0x14b)](_0x28a16c){const _0xd90a9f=a94_0x43d472,_0x1abedf={'vQZmA':_0xd90a9f(0x17d),'wboHC':'custom-repeater','PXigz':_0xd90a9f(0xbc),'VlWlu':function(_0x4db4e2,_0x362024){return _0x4db4e2===_0x362024;},'AEKIz':_0xd90a9f(0x112),'lvoXy':function(_0x5869f8,_0x294afb){return _0x5869f8+_0x294afb;},'UZjXZ':_0xd90a9f(0x14d),'EynLy':function(_0x4cf609,_0x52b603){return _0x4cf609(_0x52b603);},'BMNLy':'codeceptjs'};this[_0xd90a9f(0xf7)](_0x28a16c);if(helper[_0xd90a9f(0x124)](this[_0xd90a9f(0x128)])){const _0x5e4e3c=await helper[_0xd90a9f(0xb7)](this[_0xd90a9f(0x128)]);this[_0xd90a9f(0x128)]['turboScaleGridDetails']=_0x5e4e3c,_0x5e4e3c['isTrialGrid']&&helper[_0xd90a9f(0x141)](this[_0xd90a9f(0x128)]['browserstackLocal'])&&helper[_0xd90a9f(0x168)](this[_0xd90a9f(0x128)][_0xd90a9f(0x77)])&&(this[_0xd90a9f(0x128)][_0xd90a9f(0xb6)][_0xd90a9f(0xb9)]=_0x1abedf[_0xd90a9f(0xa2)],this[_0xd90a9f(0x128)][_0xd90a9f(0xb6)][_0x1abedf[_0xd90a9f(0xfe)]]=_0x5e4e3c[_0xd90a9f(0xf2)][_0xd90a9f(0x74)](','),this['config'][_0xd90a9f(0xb6)]['forceLocal']=_0x1abedf[_0xd90a9f(0x178)]),this[_0xd90a9f(0x128)][_0xd90a9f(0x10c)]=_0x5e4e3c[_0xd90a9f(0xf6)],this[_0xd90a9f(0x107)]&&_0x1abedf[_0xd90a9f(0xe2)](this['framework']['toLowerCase'](),_0x1abedf[_0xd90a9f(0x166)])?this[_0xd90a9f(0x128)][_0xd90a9f(0x10c)]=_0x1abedf[_0xd90a9f(0x115)](_0x5e4e3c[_0xd90a9f(0x136)],_0x1abedf[_0xd90a9f(0x13a)]):constants['hubUrl']=helper[_0xd90a9f(0x133)](this[_0xd90a9f(0x128)]),logger['debug']('HUB\x20URL\x20SET\x20TO\x20TurboScale\x20HUB\x20-\x20'+constants['hubUrl']);}helper['setProxySettings'](this[_0xd90a9f(0x128)]),this[_0xd90a9f(0x152)](),_0x1abedf['EynLy'](setPercyFlag,this),await this[_0xd90a9f(0xba)](),![_0x1abedf[_0xd90a9f(0x144)],_0x1abedf['AEKIz']][_0xd90a9f(0x160)](this[_0xd90a9f(0x107)])&&!helper[_0xd90a9f(0x124)](this[_0xd90a9f(0x128)])&&!helper[_0xd90a9f(0xd5)]()['central_scanner']&&await this['setUpHubUrl']();}async['setupPercy'](){const _0x38a7e0=a94_0x43d472,_0x1aa515={};_0x1aa515['RYmue']=function(_0x526303,_0x141612){return _0x526303===_0x141612;},_0x1aa515[_0x38a7e0(0xde)]=_0x38a7e0(0x81),_0x1aa515[_0x38a7e0(0xc4)]='Could\x20not\x20start\x20percy,\x20check\x20percy\x20logs\x20for\x20info.',_0x1aa515[_0x38a7e0(0xc0)]='Percy\x20started\x20successfully',_0x1aa515[_0x38a7e0(0x123)]=_0x38a7e0(0xbc),_0x1aa515[_0x38a7e0(0x7a)]=_0x38a7e0(0x14a);const _0x1ad260=_0x1aa515;if(helper[_0x38a7e0(0x168)](this['config']['percy'])&&(!this[_0x38a7e0(0xfd)]||!this['percy']['isRunning']()))try{this['percy']=await percyHelper['startPercy'](this[_0x38a7e0(0x128)]);if(!this[_0x38a7e0(0xfd)]){process['env']['BROWSERSTACK_PERCY']=_0x1ad260[_0x38a7e0(0xde)];throw new Error(_0x1ad260[_0x38a7e0(0xc4)]);}logger[_0x38a7e0(0x12e)](_0x1ad260['qhJLz']),process['env'][_0x38a7e0(0x16b)]=_0x1ad260[_0x38a7e0(0x123)];let _0x493ee3=0x0;const _0x5dde1c=async()=>{const _0x4307d0=_0x38a7e0;_0x493ee3++,_0x1ad260[_0x4307d0(0xcf)](_0x493ee3,0x1)&&await this['stopPercy']();};process['on'](_0x1ad260[_0x38a7e0(0x7a)],_0x5dde1c);}catch(_0x36af49){process[_0x38a7e0(0x114)][_0x38a7e0(0x16b)]=_0x1ad260['oZJnN'],logger[_0x38a7e0(0x73)]('Error\x20in\x20percy\x20setup\x20'+_0x36af49);throw new Error(_0x36af49[_0x38a7e0(0xdb)]());}}async[a94_0x43d472(0xf8)](){const _0x4bbea5=a94_0x43d472,_0x122cd2={};_0x122cd2[_0x4bbea5(0xb8)]=_0x4bbea5(0x91),_0x122cd2[_0x4bbea5(0x89)]=_0x4bbea5(0xdd);const _0x34962e=_0x122cd2;if(this[_0x4bbea5(0xfd)]&&this[_0x4bbea5(0xfd)]['isRunning']())try{await percyHelper[_0x4bbea5(0xf8)](this[_0x4bbea5(0xfd)]),logger[_0x4bbea5(0x12e)](_0x34962e[_0x4bbea5(0xb8)]);}catch(_0x25e5c0){logger[_0x4bbea5(0x162)](_0x34962e[_0x4bbea5(0x89)],_0x25e5c0['message']);}}async[a94_0x43d472(0xba)](){const _0xf9ee74=a94_0x43d472,_0x27297d={};_0x27297d['TRWUH']=_0xf9ee74(0x130),_0x27297d[_0xf9ee74(0xcd)]=_0xf9ee74(0x131);const _0x3d1354=_0x27297d;if(helper[_0xf9ee74(0xae)]()&&helper[_0xf9ee74(0x168)](this[_0xf9ee74(0x128)][_0xf9ee74(0x77)])&&(!this['browserstackLocal']||!this[_0xf9ee74(0x77)]['isRunning']()))try{if(this[_0xf9ee74(0x128)]['browserStackLocalOptions'][_0xf9ee74(0x175)]){logger[_0xf9ee74(0x73)](_0x3d1354['TRWUH']);return;}this[_0xf9ee74(0x77)]=await helper[_0xf9ee74(0x11b)](this[_0xf9ee74(0x128)]),logger['info'](_0x3d1354['vnaJF']);}catch(_0x47297c){logger[_0xf9ee74(0x73)](_0x47297c);throw new Error(_0x47297c[_0xf9ee74(0xdb)]());}}async['stopBrowserstackLocal'](){const _0x3f95bf=a94_0x43d472,_0x2c40de={};_0x2c40de[_0x3f95bf(0xa6)]=_0x3f95bf(0x151),_0x2c40de[_0x3f95bf(0x174)]='Error\x20occured\x20while\x20stopping\x20local\x20binary';const _0x2f5576=_0x2c40de;if(this[_0x3f95bf(0x77)]&&this[_0x3f95bf(0x77)][_0x3f95bf(0xad)]())try{await helper[_0x3f95bf(0xfc)](this[_0x3f95bf(0x77)]),logger[_0x3f95bf(0x12e)](_0x2f5576[_0x3f95bf(0xa6)]);}catch(_0xb4e9e1){logger['error'](_0x2f5576['osphY'],_0xb4e9e1['message']);}}async[a94_0x43d472(0xe4)](){const _0xf7b6bb=a94_0x43d472;return PerformanceTester[_0xf7b6bb(0x134)](PerformanceAutEvents[_0xf7b6bb(0x119)],async()=>{const _0x2346ef=_0xf7b6bb;await hubAllocator[_0x2346ef(0xca)](this[_0x2346ef(0x128)]);})();}async[a94_0x43d472(0xed)](){const _0x53bb85=a94_0x43d472,_0x30f39d={'HxwAz':function(_0x58d40d,_0x26347d){return _0x58d40d(_0x26347d);},'JBjLZ':_0x53bb85(0x157),'dsKuR':function(_0x169ddc,_0x4a941a,_0x263a32,_0x58dd40,_0x4b39fd,_0xd4d104,_0x552bfb){return _0x169ddc(_0x4a941a,_0x263a32,_0x58dd40,_0x4b39fd,_0xd4d104,_0x552bfb);},'ABdPq':'BrowserstackHealing.init\x20method\x20timed\x20out','eVeWg':'BrowserstackHealingInitFailed','xIYWk':_0x53bb85(0xa4),'vDoaS':_0x53bb85(0x126),'VLktO':function(_0x143453,_0x2780c7){return _0x143453(_0x2780c7);},'WzrpC':function(_0x6fb601,_0x46d9cd){return _0x6fb601===_0x46d9cd;},'nEETs':_0x53bb85(0xbc),'RSltf':function(_0x496887,_0x3f972e){return _0x496887===_0x3f972e;},'bthOq':function(_0x2e34ae,_0xfd17a7){return _0x2e34ae===_0xfd17a7;},'LKKrH':_0x53bb85(0x7f),'KbNtt':function(_0x3721b4,_0x3c800e){return _0x3721b4===_0x3c800e;},'ORYqY':'Something\x20went\x20wrong.\x20Disabling\x20healing\x20for\x20this\x20session.\x20Please\x20try\x20again\x20later.','SJgyV':'Authentication\x20Failed.\x20Disabling\x20Healing\x20for\x20this\x20session.','klrCQ':_0x53bb85(0x13e),'NdlXJ':function(_0x25f0d3,_0x2ed0df){return _0x25f0d3>=_0x2ed0df;},'aBmsG':function(_0x502972,_0x1fc633){return _0x502972<_0x1fc633;},'PYfYf':_0x53bb85(0xfb),'LrRct':_0x53bb85(0x177),'MxAHB':function(_0x3bae23){return _0x3bae23();}},_0x89c4e9=PerformanceTester[_0x53bb85(0x134)](_0x30f39d[_0x53bb85(0x10f)],async()=>{const _0x10e5ef=_0x53bb85;try{const _0x31a9d8=new Date(),_0x58bbc3=helper['getProxyConfigForTcg'](this[_0x10e5ef(0x128)]),_0x5349a8=_0x30f39d[_0x10e5ef(0x156)](require,path[_0x10e5ef(0x74)](__dirname,_0x30f39d[_0x10e5ef(0xee)])),_0x3dd662=_0x30f39d[_0x10e5ef(0x129)](timeoutPromise,constants[_0x10e5ef(0x96)],_0x30f39d[_0x10e5ef(0x9e)],_0x30f39d[_0x10e5ef(0xdf)],_0x31a9d8,this['config'],this['framework']),_0x33939f={'tcgUrl':constants[_0x10e5ef(0xb2)],'sdkVersion':_0x30f39d['HxwAz'](require,_0x30f39d[_0x10e5ef(0xbb)])[_0x10e5ef(0xc7)],'methodUsed':_0x30f39d[_0x10e5ef(0x76)],'proxyConfig':_0x58bbc3,'os':os[_0x10e5ef(0xc9)]()};if(_0x58bbc3&&_0x58bbc3[_0x10e5ef(0x86)]){utilities[_0x10e5ef(0xa5)](constants[_0x10e5ef(0xc2)],_0x33939f,this['config'],this[_0x10e5ef(0x107)]);return;}const _0x536b59={};_0x536b59[_0x10e5ef(0x9b)]=_0x58bbc3;const _0x374c27=await Promise[_0x10e5ef(0xef)]([_0x5349a8[_0x10e5ef(0x7e)](this[_0x10e5ef(0x128)][_0x10e5ef(0x139)],this['config'][_0x10e5ef(0xf0)],constants[_0x10e5ef(0xb2)],_0x30f39d['VLktO'](require,_0x30f39d[_0x10e5ef(0xbb)])[_0x10e5ef(0xc7)],_0x536b59)['then'](_0x35e000=>{const _0x1b0541=_0x10e5ef;return _0x3dd662[_0x1b0541(0xe7)](),_0x35e000;}),_0x3dd662]);_0x374c27[_0x10e5ef(0x127)]=_0x30f39d[_0x10e5ef(0x155)](_0x374c27[_0x10e5ef(0x127)],_0x30f39d[_0x10e5ef(0x145)])||_0x30f39d['RSltf'](_0x374c27[_0x10e5ef(0x127)],!![]);const _0x4baad7=_0x30f39d[_0x10e5ef(0x155)](this['config'][_0x10e5ef(0x7c)],!![])||_0x30f39d[_0x10e5ef(0x17e)](this[_0x10e5ef(0x128)]['selfHeal'],_0x30f39d[_0x10e5ef(0x145)]);if(_0x30f39d[_0x10e5ef(0x155)](_0x374c27[_0x10e5ef(0xd1)],constants[_0x10e5ef(0x15b)])&&_0x4baad7)logger[_0x10e5ef(0x12e)](_0x30f39d[_0x10e5ef(0x84)]);else{if(!_0x374c27[_0x10e5ef(0xd4)]&&_0x30f39d['KbNtt'](_0x374c27[_0x10e5ef(0xf3)],0x1f7)&&_0x4baad7)logger['info'](_0x30f39d['ORYqY']),utilities[_0x10e5ef(0xa5)](constants[_0x10e5ef(0x153)],_0x33939f,this[_0x10e5ef(0x128)],this[_0x10e5ef(0x107)]);else{if(!_0x374c27[_0x10e5ef(0xd4)]&&_0x4baad7){logger['info'](_0x30f39d['SJgyV']);const _0xd9f657={'tcgUrl':constants['TCG_URL'],'sdkVersion':_0x30f39d['HxwAz'](require,_0x30f39d['xIYWk'])[_0x10e5ef(0xc7)],'methodUsed':_0x30f39d[_0x10e5ef(0x76)],'proxyConfig':_0x58bbc3,'os':os[_0x10e5ef(0xc9)]()};utilities[_0x10e5ef(0xa5)](constants['TCG_AUTH_FAILURE'],_0xd9f657,this[_0x10e5ef(0x128)],this[_0x10e5ef(0x107)]);}else{if(_0x374c27[_0x10e5ef(0xd4)]&&!_0x374c27[_0x10e5ef(0x127)]&&_0x4baad7)logger[_0x10e5ef(0x12e)](_0x30f39d['klrCQ']);else{if(_0x30f39d[_0x10e5ef(0x10e)](_0x374c27[_0x10e5ef(0xf3)],0xc8)&&_0x30f39d[_0x10e5ef(0xbf)](_0x374c27[_0x10e5ef(0xf3)],0x12c))utilities['fireFunnelTestEvent'](constants[_0x10e5ef(0x161)],_0x33939f,this[_0x10e5ef(0x128)],this['framework']);else{if(_0x30f39d['NdlXJ'](_0x374c27['status'],0x190))_0x33939f[_0x10e5ef(0xf3)]=_0x374c27[_0x10e5ef(0xf3)],utilities[_0x10e5ef(0xa5)](constants[_0x10e5ef(0xa0)],_0x33939f,this[_0x10e5ef(0x128)],this[_0x10e5ef(0x107)]);else!_0x374c27['status']&&utilities['fireFunnelTestEvent'](constants['INVALID_INIT_RESP_WITH_USER_IMPACT'],_0x33939f,this[_0x10e5ef(0x128)],this['framework']);}}}}}if(_0x374c27[_0x10e5ef(0xd4)]&&_0x374c27[_0x10e5ef(0x127)]){const _0xc83ba1={};_0xc83ba1[_0x10e5ef(0x95)]=_0x374c27;const _0xda5cf9=_0xc83ba1;_0x58bbc3&&(_0xda5cf9[_0x10e5ef(0x150)]=_0x58bbc3),_0xda5cf9['framework']=this[_0x10e5ef(0x107)],_0xda5cf9[_0x10e5ef(0xe6)]=this[_0x10e5ef(0x128)],helper[_0x10e5ef(0x109)](_0xda5cf9),logger[_0x10e5ef(0x73)](_0x30f39d[_0x10e5ef(0x165)]);}}catch(_0x18161){logger[_0x10e5ef(0x73)]('Error\x20in\x20setting\x20up\x20tcg\x20authconfig.\x20Error:\x20'+(_0x18161[_0x10e5ef(0xd1)]?_0x18161[_0x10e5ef(0xd1)]:''));}});await _0x30f39d[_0x53bb85(0xcc)](_0x89c4e9);}[a94_0x43d472(0x152)](){const _0x550a85=a94_0x43d472,_0x1e22be={'pzEXZ':function(_0x56b61a,_0x58ba37){return _0x56b61a(_0x58ba37);},'Hyxvy':_0x550a85(0x87)};_0x1e22be['pzEXZ'](require,_0x1e22be['Hyxvy'])();}[a94_0x43d472(0x8b)](){const _0x1af6d9=a94_0x43d472,_0x1e1062={};_0x1e1062['NDJcH']=_0x1af6d9(0xe3),_0x1e1062[_0x1af6d9(0x17b)]=_0x1af6d9(0x147),_0x1e1062[_0x1af6d9(0x12f)]='uncaughtException';const _0x36a577=_0x1e1062,_0x15ccff=_0x472af3=>{const _0x5dacd2=_0x1af6d9,_0x1d8f5c=_0x36a577[_0x5dacd2(0x103)][_0x5dacd2(0x10d)]('|');let _0x4b22a9=0x0;while(!![]){switch(_0x1d8f5c[_0x4b22a9++]){case'0':ClientTroubleShootingService[_0x5dacd2(0x9c)]();continue;case'1':this[_0x5dacd2(0x92)][_0x5dacd2(0x100)](util[_0x5dacd2(0xc5)]('%j',_0x472af3));continue;case'2':logger[_0x5dacd2(0x162)](_0x472af3[_0x5dacd2(0xd1)]);continue;case'3':logger[_0x5dacd2(0x73)](util[_0x5dacd2(0xc5)](_0x472af3));continue;case'4':PerformanceTester[_0x5dacd2(0x8f)](_0x472af3);continue;}break;}};process['on'](_0x36a577[_0x1af6d9(0x17b)],_0x15ccff),process['on'](_0x36a577[_0x1af6d9(0x12f)],_0x15ccff);}async['intExitHandler'](_0x316f57){const _0x226c49=a94_0x43d472,_0x27340b={};_0x27340b[_0x226c49(0xeb)]=_0x226c49(0x8a),_0x27340b['ANRZz']=function(_0x368e0b,_0x2f62ce){return _0x368e0b+_0x2f62ce;},_0x27340b[_0x226c49(0xb3)]=_0x226c49(0x14c),_0x27340b[_0x226c49(0x80)]=_0x226c49(0x13d);const _0x5e00eb=_0x27340b,_0x28ce46=_0x5e00eb[_0x226c49(0xeb)][_0x226c49(0x10d)]('|');let _0x431f3e=0x0;while(!![]){switch(_0x28ce46[_0x431f3e++]){case'0':await TestHubHandler[_0x226c49(0x16d)](_0x316f57);continue;case'1':await BrowserstackCLI[_0x226c49(0x118)]()['stop']();continue;case'2':logger[_0x226c49(0x12e)](_0x5e00eb[_0x226c49(0x17c)](_0x5e00eb['QuDlJ'],_0x316f57));continue;case'3':this[_0x5e00eb['ANRZz'](_0x5e00eb[_0x226c49(0x80)],_0x316f57)]=!![];continue;case'4':await ClientTroubleShootingService['reportProcessInterruptionSituation'](_0x316f57);continue;case'5':await ClientTroubleShootingService[_0x226c49(0x9c)]();continue;case'6':this['killSignal']=_0x316f57;continue;case'7':if(this[_0x5e00eb[_0x226c49(0x17c)](_0x5e00eb[_0x226c49(0x80)],_0x316f57)])return;continue;}break;}}[a94_0x43d472(0x101)](){const _0x1d67c3=a94_0x43d472,_0x394575={'IkPhR':function(_0x3bd52d,_0x590ccc){return _0x3bd52d===_0x590ccc;},'MAOug':_0x1d67c3(0x8e),'AWtgl':function(_0x5d1096,_0x3559a9){return _0x5d1096>_0x3559a9;},'kKpMi':function(_0x47b73c,_0x355b4b){return _0x47b73c>_0x355b4b;},'bZwIi':function(_0x3b5c2e,_0x3510ed){return _0x3b5c2e(_0x3510ed);},'HWOos':function(_0x35f3e2){return _0x35f3e2();},'pPuzk':_0x1d67c3(0x167)};let _0x1f25ce=0x0;return async()=>{const _0x55d2d8=_0x1d67c3;_0x1f25ce++;if(_0x394575[_0x55d2d8(0xa8)](_0x1f25ce,0x1)){helper['checkStopLocalBinaryOnExit'](this['framework'])&&await this['stopBrowserstackLocal']();try{logger[_0x55d2d8(0x73)](_0x394575[_0x55d2d8(0xe1)]),await TestHubHandler[_0x55d2d8(0x16d)](_0x1f25ce),await ClientTroubleShootingService[_0x55d2d8(0x9c)](),await BrowserstackCLI[_0x55d2d8(0x118)]()[_0x55d2d8(0x16d)]('1');}catch(_0x1627c7){logger[_0x55d2d8(0x73)](_0x55d2d8(0x11a)+util['format'](_0x1627c7));}PerformanceTester[_0x55d2d8(0xf1)](PerformanceEvents[_0x55d2d8(0x9a)]);if(PerformanceTester[_0x55d2d8(0x120)]()){const {measures:_0x34f31c,errors:_0x599437}=await PerformanceTester['finalize'](),_0x19122c={};if(_0x34f31c&&_0x394575['AWtgl'](_0x34f31c[_0x55d2d8(0xb4)],0x0)||_0x599437&&_0x394575[_0x55d2d8(0x82)](_0x599437['length'],0x0)){const _0x2ab939={};_0x2ab939[_0x55d2d8(0x106)]=_0x34f31c,_0x2ab939[_0x55d2d8(0xf5)]=_0x599437,Object[_0x55d2d8(0x79)](_0x19122c,_0x2ab939);}try{const _0x4765bc=await helper['sendToEDS'](_0x19122c,this[_0x55d2d8(0x128)]);logger[_0x55d2d8(0x73)]('Data\x20sent\x20successfully\x20to\x20'+_0x394575['bZwIi'](getEdsInstrumentationAPIUrl,'')+_0x55d2d8(0xd8)+_0x4765bc[_0x55d2d8(0x78)]);}catch(_0x57b5b2){logger[_0x55d2d8(0x73)](_0x55d2d8(0xa1)+_0x394575[_0x55d2d8(0x121)](getEdsInstrumentationAPIUrl,'')+_0x55d2d8(0xe9)+util[_0x55d2d8(0xc5)](_0x57b5b2));}try{fs[_0x55d2d8(0x9d)](path[_0x55d2d8(0x74)](_0x394575['HWOos'](getLogDir),_0x394575['pPuzk']),JSON[_0x55d2d8(0x16a)](_0x19122c));}catch(_0x4037e4){logger['debug'](_0x55d2d8(0xcb)+_0x4037e4);}}}logger&&logger[_0x55d2d8(0x138)](),fileLogger&&fileLogger[_0x55d2d8(0x138)]();};}}exports[a94_0x43d472(0xa7)]=BrowserStackSetup;
|
|
1
|
+
const a94_0x2c2c97=a94_0x3561;(function(_0x22e054,_0x2944e3){const _0x24ec66=a94_0x3561,_0x140b9c=_0x22e054();while(!![]){try{const _0x135976=-parseInt(_0x24ec66(0xd4))/0x1*(-parseInt(_0x24ec66(0x195))/0x2)+-parseInt(_0x24ec66(0xa9))/0x3*(parseInt(_0x24ec66(0x194))/0x4)+-parseInt(_0x24ec66(0x19d))/0x5+-parseInt(_0x24ec66(0xfc))/0x6*(parseInt(_0x24ec66(0xcf))/0x7)+parseInt(_0x24ec66(0x1a4))/0x8+-parseInt(_0x24ec66(0xbb))/0x9+-parseInt(_0x24ec66(0x145))/0xa*(-parseInt(_0x24ec66(0x131))/0xb);if(_0x135976===_0x2944e3)break;else _0x140b9c['push'](_0x140b9c['shift']());}catch(_0x2d9142){_0x140b9c['push'](_0x140b9c['shift']());}}}(a94_0x5784,0x8c0ad));function a94_0x3561(_0x42c7e2,_0x42660c){const _0x578453=a94_0x5784();return a94_0x3561=function(_0x35618a,_0x3cb70f){_0x35618a=_0x35618a-0x96;let _0x2d7600=_0x578453[_0x35618a];return _0x2d7600;},a94_0x3561(_0x42c7e2,_0x42660c);}const util=require('util'),os=require('os'),path=require('path'),{v4:uuidv4}=require(a94_0x2c2c97(0x10d)),fs=require('fs'),constants=require('../bin/utils/constants'),logger=require(a94_0x2c2c97(0x115))[a94_0x2c2c97(0x1a9)],fileLogger=require(a94_0x2c2c97(0x115))[a94_0x2c2c97(0xd0)],{getLogDir}=require('./logger'),helper=require('./helper'),utilities=require('./utilities'),percyHelper=require(a94_0x2c2c97(0x181)),hubAllocator=require(a94_0x2c2c97(0x191)),PerformanceTester=require('./performance/performance-tester'),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents}=require('./performance/constants'),{setPercyFlag}=require(a94_0x2c2c97(0x18f)),TestHubHandler=require('./testhub/testhubHandler'),timeoutPromise=require('./timeoutPromise'),BrowserstackCLI=require('../bin/v2/browserstackCLI'),LoadTestModule=require(a94_0x2c2c97(0xb9)),{getEdsInstrumentationAPIUrl}=require(a94_0x2c2c97(0x176)),ClientTroubleShootingService=require('../bin/utils/clientTroubleshootingService');class BrowserStackSetup{constructor(_0x48e2fe,_0x4c0f53){const _0x14fc1f=a94_0x2c2c97,_0x2afe5a={'igiCM':_0x14fc1f(0x122),'grBnj':function(_0x23da56){return _0x23da56();},'IPirr':_0x14fc1f(0x152)},_0xaccbe8=_0x2afe5a[_0x14fc1f(0xc2)][_0x14fc1f(0x97)]('|');let _0x1c16c2=0x0;while(!![]){switch(_0xaccbe8[_0x1c16c2++]){case'0':this[_0x14fc1f(0x13f)]=[];continue;case'1':this[_0x14fc1f(0x19a)]=_0x4c0f53;continue;case'2':helper[_0x14fc1f(0x15a)](this[_0x14fc1f(0xf3)],this[_0x14fc1f(0x155)]);continue;case'3':this[_0x14fc1f(0x197)]=null;continue;case'4':this[_0x14fc1f(0xfe)]=helper[_0x14fc1f(0x16f)]();continue;case'5':this[_0x14fc1f(0x174)]=helper['getConfigPath'](_0x48e2fe);continue;case'6':this[_0x14fc1f(0xf0)]={};continue;case'7':this[_0x14fc1f(0xbc)]=_0x2afe5a[_0x14fc1f(0x102)](uuidv4);continue;case'8':helper[_0x14fc1f(0x1aa)](this[_0x14fc1f(0xf3)]);continue;case'9':this[_0x14fc1f(0xf3)][_0x14fc1f(0x143)]=this['config'][_0x14fc1f(0x143)]||{};continue;case'10':helper[_0x14fc1f(0x119)](this['config']);continue;case'11':if(this[_0x14fc1f(0xf3)][_0x14fc1f(0x169)])throw new Error(this[_0x14fc1f(0xf3)][_0x14fc1f(0x169)]);continue;case'12':PerformanceTester[_0x14fc1f(0xd8)]();continue;case'13':helper[_0x14fc1f(0x199)](this['config'],this[_0x14fc1f(0x155)],this[_0x14fc1f(0xfe)]);continue;case'14':this['percy']=null;continue;case'15':this[_0x14fc1f(0xf3)][_0x14fc1f(0x143)][_0x14fc1f(0x17b)]=!helper[_0x14fc1f(0x9c)]()||helper[_0x14fc1f(0x99)](this[_0x14fc1f(0xf3)]['testContextOptions'][_0x14fc1f(0x17b)]);continue;case'16':this[_0x14fc1f(0xf3)]['platforms']=this[_0x14fc1f(0xf3)]['platforms']||[];continue;case'17':this[_0x14fc1f(0x155)]=helper[_0x14fc1f(0xf1)](_0x48e2fe);continue;case'18':if(helper[_0x14fc1f(0x101)](this['config']))throw new Error(_0x2afe5a[_0x14fc1f(0x16e)]);continue;case'19':helper['normalizeTestReportingEnvVars']();continue;case'20':helper[_0x14fc1f(0xa0)](this[_0x14fc1f(0xf3)],this[_0x14fc1f(0x155)],this[_0x14fc1f(0xfe)]);continue;case'21':this['config']=helper['readConfig'](this['configPath']);continue;case'22':global['framework']=_0x4c0f53;continue;case'23':this[_0x14fc1f(0xf3)]['testContextOptions'][_0x14fc1f(0xca)]=!helper[_0x14fc1f(0x9c)]()||helper[_0x14fc1f(0x99)](this['config'][_0x14fc1f(0x143)][_0x14fc1f(0xca)]);continue;}break;}}[a94_0x2c2c97(0x188)](_0x3af1a7){const _0x9eb9f6=a94_0x2c2c97,_0x1be24a={'ecUAV':_0x9eb9f6(0x163),'HZgNG':function(_0xcc9142,_0x43c46c){return _0xcc9142===_0x43c46c;},'nAPaT':function(_0x39723d,_0x5c7834){return _0x39723d===_0x5c7834;},'YxpxL':_0x9eb9f6(0xa2),'jTSyY':_0x9eb9f6(0xb6),'UXzCE':function(_0x599628,_0x2e4ba0){return _0x599628<_0x2e4ba0;},'oCQRy':function(_0x5324f4,_0x301d09){return _0x5324f4(_0x301d09);},'RZHOl':_0x9eb9f6(0x170),'bGNAo':function(_0x592bfd,_0x5616b3){return _0x592bfd===_0x5616b3;},'LwQGd':_0x9eb9f6(0xe7),'ExLdf':_0x9eb9f6(0xed),'sWBjU':_0x9eb9f6(0x19f),'EVdED':_0x9eb9f6(0xda),'YUHXg':_0x9eb9f6(0xd6),'NjNrF':_0x9eb9f6(0xba),'aYFPR':function(_0x444f9b,_0x464515){return _0x444f9b!==_0x464515;},'cvrMb':'win32','qOOXl':_0x9eb9f6(0x17d),'kCVkc':'SIGQUIT','nENDT':_0x9eb9f6(0x190),'CCuJT':_0x9eb9f6(0x1a6)},_0x382804=this[_0x9eb9f6(0x19a)];global[_0x9eb9f6(0xf3)]=this[_0x9eb9f6(0xf3)],helper[_0x9eb9f6(0x15c)](this[_0x9eb9f6(0xf3)]),this['killSignal']=null,global['sdkRunId']=this[_0x9eb9f6(0xbc)],logger[_0x9eb9f6(0xa3)](_0x9eb9f6(0x180)+this['sdkRunId']),!this['config'][_0x9eb9f6(0x136)]&&(this['config']['browserStackLocalOptions']=this[_0x9eb9f6(0xf3)][_0x9eb9f6(0x187)]||{});if(helper[_0x9eb9f6(0x101)](helper[_0x9eb9f6(0x185)](this[_0x9eb9f6(0xf3)]))||helper[_0x9eb9f6(0x101)](helper['getAccessKey'](this[_0x9eb9f6(0xf3)])))throw new Error(_0x1be24a[_0x9eb9f6(0x129)]);helper[_0x9eb9f6(0x112)](this['config'])&&helper[_0x9eb9f6(0x101)](helper[_0x9eb9f6(0x14b)](this[_0x9eb9f6(0xf3)]))&&(!helper[_0x9eb9f6(0x101)](this[_0x9eb9f6(0xf3)][_0x9eb9f6(0x136)])&&_0x1be24a[_0x9eb9f6(0x17c)](this[_0x9eb9f6(0xf3)][_0x9eb9f6(0x136)][_0x9eb9f6(0xd1)],Object)?!helper[_0x9eb9f6(0x99)](this[_0x9eb9f6(0xf3)][_0x9eb9f6(0x136)][_0x9eb9f6(0xef)])&&(this[_0x9eb9f6(0xf3)][_0x9eb9f6(0x136)][_0x9eb9f6(0x127)]=helper[_0x9eb9f6(0x107)]()):this[_0x9eb9f6(0xf3)][_0x9eb9f6(0x136)]={'localIdentifier':helper['generateLocalIdentifier']()});this[_0x9eb9f6(0xf3)][_0x9eb9f6(0x136)]['skipBinaryInitialisation']=helper['isTrue'](this[_0x9eb9f6(0xf3)][_0x9eb9f6(0x136)]['skipBinaryInitialisation']),helper['setHandlePWError'](this[_0x9eb9f6(0xf3)]);if(_0x1be24a['nAPaT'](_0x382804,_0x1be24a[_0x9eb9f6(0x113)]))return;this[_0x9eb9f6(0xc7)]();process[_0x9eb9f6(0x167)]['BROWSERSTACK_TURBOSCALE']&&(this[_0x9eb9f6(0xf3)][_0x9eb9f6(0xbd)]=helper[_0x9eb9f6(0x99)](process[_0x9eb9f6(0x167)][_0x9eb9f6(0xf8)]),this['config'][_0x9eb9f6(0x140)]=this[_0x9eb9f6(0xf3)]['turboScaleOptions']||{});helper[_0x9eb9f6(0xc8)](this[_0x9eb9f6(0xf3)])&&(process[_0x9eb9f6(0x167)][_0x9eb9f6(0xf8)]=!![]);LoadTestModule[_0x9eb9f6(0x12a)](this[_0x9eb9f6(0xf3)])&&logger[_0x9eb9f6(0x98)](_0x9eb9f6(0xd2)+this[_0x9eb9f6(0xbc)]);if(!helper['isBrowserstackInfra']()){try{process['env'][_0x9eb9f6(0x111)]=_0x382804,utilities[_0x9eb9f6(0x19c)](_0x1be24a[_0x9eb9f6(0x96)],{},this['config'],this['framework']);}catch(_0x2354ab){logger[_0x9eb9f6(0x98)]('Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20'+_0x2354ab);}return;}if(helper[_0x9eb9f6(0xf7)](_0x382804)){if(global[_0x9eb9f6(0xe8)])return;_0x1be24a[_0x9eb9f6(0x110)](_0x1be24a[_0x9eb9f6(0xbe)](parseInt,helper['getPackageVersion'](_0x1be24a['RZHOl'])),0x3)&&(this[_0x9eb9f6(0xf3)][_0x9eb9f6(0x13a)]=![]),_0x1be24a['bGNAo'](helper[_0x9eb9f6(0xeb)](helper['getPackageVersion'](_0x1be24a[_0x9eb9f6(0x177)]),_0x1be24a['LwQGd']),0x1)&&(this[_0x9eb9f6(0xf3)][_0x9eb9f6(0x13a)]=!![]);}(helper['isUndefined'](this[_0x9eb9f6(0xf3)][_0x9eb9f6(0x130)])||helper['isUndefined'](this[_0x9eb9f6(0xf3)][_0x9eb9f6(0x130)][_0x9eb9f6(0x144)]))&&(helper['isUndefined'](this[_0x9eb9f6(0xf3)][_0x9eb9f6(0x16b)])?logger[_0x9eb9f6(0xa3)](_0x1be24a[_0x9eb9f6(0x193)]):logger[_0x9eb9f6(0xb7)](_0x1be24a[_0x9eb9f6(0x104)]),this[_0x9eb9f6(0xf3)]['platforms']=[]);!this['config'][_0x9eb9f6(0x143)]&&(this[_0x9eb9f6(0xf3)]['testContextOptions']={});try{process[_0x9eb9f6(0x167)][_0x9eb9f6(0x111)]=_0x3af1a7['_'][0x0],utilities['fireFunnelTestEvent'](_0x1be24a['jTSyY'],{},this[_0x9eb9f6(0xf3)],this[_0x9eb9f6(0x19a)]);}catch(_0x13b187){logger['debug'](_0x9eb9f6(0x128)+_0x13b187);}!this[_0x9eb9f6(0xf3)][_0x9eb9f6(0x12e)]&&logger['info'](constants[_0x9eb9f6(0x126)]),this[_0x9eb9f6(0xd5)]=this[_0x9eb9f6(0xd5)][_0x9eb9f6(0x11d)](this),process['on'](_0x1be24a['EVdED'],this[_0x9eb9f6(0xd5)]),process['on'](_0x1be24a[_0x9eb9f6(0x158)],this[_0x9eb9f6(0xd5)]),process['on'](_0x1be24a['NjNrF'],this[_0x9eb9f6(0xd5)]),_0x1be24a[_0x9eb9f6(0x121)](process[_0x9eb9f6(0x162)],_0x1be24a[_0x9eb9f6(0xaf)])?(process['on'](_0x1be24a[_0x9eb9f6(0x10e)],this[_0x9eb9f6(0xd5)]),process['on'](_0x1be24a[_0x9eb9f6(0xad)],this[_0x9eb9f6(0xd5)])):process['on'](_0x1be24a[_0x9eb9f6(0xb2)],this['intExitHandler']),process['on'](_0x1be24a[_0x9eb9f6(0xec)],this[_0x9eb9f6(0x100)]());}async[a94_0x2c2c97(0x13c)](_0x13b304){const _0x29f483=a94_0x2c2c97,_0x2b37ba={'mJoxZ':'ats-repeater','gWUET':_0x29f483(0x17a),'sZxkh':'true','RDCxi':function(_0x53643c,_0x47f6ce){return _0x53643c===_0x47f6ce;},'iTwYE':'playwright','jLcXq':function(_0x2850e7,_0x2a1ffa){return _0x2850e7+_0x2a1ffa;},'VmYbU':'?caps=','KNJWu':function(_0x58b1b4,_0xfac977){return _0x58b1b4(_0xfac977);},'sduGv':_0x29f483(0xf6)};this[_0x29f483(0x188)](_0x13b304);if(helper['isTurboScaleSession'](this[_0x29f483(0xf3)])){const _0x2ad38c=await helper[_0x29f483(0x10b)](this[_0x29f483(0xf3)]);this[_0x29f483(0xf3)][_0x29f483(0x1a3)]=_0x2ad38c,_0x2ad38c[_0x29f483(0x178)]&&helper['isNotUndefined'](this[_0x29f483(0xf3)][_0x29f483(0x197)])&&helper[_0x29f483(0x99)](this[_0x29f483(0xf3)]['browserstackLocal'])&&(this[_0x29f483(0xf3)][_0x29f483(0x136)][_0x29f483(0x127)]=_0x2b37ba[_0x29f483(0xd3)],this[_0x29f483(0xf3)]['browserStackLocalOptions'][_0x2b37ba['gWUET']]=_0x2ad38c[_0x29f483(0x14f)][_0x29f483(0x148)](','),this['config'][_0x29f483(0x136)][_0x29f483(0x109)]=_0x2b37ba[_0x29f483(0x159)]),this[_0x29f483(0xf3)][_0x29f483(0xf4)]=_0x2ad38c['url'],this[_0x29f483(0x19a)]&&_0x2b37ba[_0x29f483(0x192)](this['framework'][_0x29f483(0x165)](),_0x2b37ba[_0x29f483(0x147)])?this[_0x29f483(0xf3)][_0x29f483(0xf4)]=_0x2b37ba[_0x29f483(0x117)](_0x2ad38c[_0x29f483(0xd7)],_0x2b37ba[_0x29f483(0xdf)]):constants[_0x29f483(0x9e)]=helper[_0x29f483(0x15d)](this[_0x29f483(0xf3)]),logger[_0x29f483(0x98)]('HUB\x20URL\x20SET\x20TO\x20TurboScale\x20HUB\x20-\x20'+constants['hubUrl']);}helper[_0x29f483(0x11e)](this[_0x29f483(0xf3)]),this['setupKeepAlive'](),_0x2b37ba[_0x29f483(0xcc)](setPercyFlag,this),await this[_0x29f483(0xfa)](),![_0x2b37ba[_0x29f483(0x156)],_0x2b37ba[_0x29f483(0x147)]]['includes'](this[_0x29f483(0x19a)])&&!helper[_0x29f483(0xc8)](this[_0x29f483(0xf3)])&&!helper[_0x29f483(0x10f)]()['central_scanner']&&await this['setUpHubUrl']();}async[a94_0x2c2c97(0x182)](){const _0x40d77d=a94_0x2c2c97,_0x1989ce={};_0x1989ce[_0x40d77d(0xc3)]=function(_0x3ee96d,_0x100585){return _0x3ee96d===_0x100585;},_0x1989ce['HCpOK']=_0x40d77d(0x183),_0x1989ce[_0x40d77d(0xb3)]=_0x40d77d(0x19b),_0x1989ce[_0x40d77d(0x16c)]='Percy\x20started\x20successfully',_0x1989ce[_0x40d77d(0x172)]=_0x40d77d(0xc1),_0x1989ce['QKGRt']='beforeExit';const _0x474994=_0x1989ce;if(helper['isTrue'](this['config'][_0x40d77d(0xdc)])&&(!this[_0x40d77d(0xdc)]||!this[_0x40d77d(0xdc)][_0x40d77d(0xb0)]()))try{this['percy']=await percyHelper[_0x40d77d(0xb1)](this[_0x40d77d(0xf3)]);if(!this[_0x40d77d(0xdc)]){process['env'][_0x40d77d(0x189)]=_0x474994[_0x40d77d(0x151)];throw new Error(_0x474994[_0x40d77d(0xb3)]);}logger[_0x40d77d(0xa3)](_0x474994[_0x40d77d(0x16c)]),process[_0x40d77d(0x167)]['BROWSERSTACK_PERCY']=_0x474994['zTxaO'];let _0x252e62=0x0;const _0x505e39=async()=>{const _0x29e013=_0x40d77d;_0x252e62++,_0x474994[_0x29e013(0xc3)](_0x252e62,0x1)&&await this[_0x29e013(0x1a0)]();};process['on'](_0x474994[_0x40d77d(0xc6)],_0x505e39);}catch(_0x2c47d9){process[_0x40d77d(0x167)][_0x40d77d(0x189)]=_0x474994[_0x40d77d(0x151)],logger[_0x40d77d(0x98)](_0x40d77d(0xac)+_0x2c47d9);throw new Error(_0x2c47d9[_0x40d77d(0xe1)]());}}async[a94_0x2c2c97(0x1a0)](){const _0x4914ae=a94_0x2c2c97,_0x267010={};_0x267010[_0x4914ae(0xe4)]=_0x4914ae(0x164),_0x267010[_0x4914ae(0xe5)]=_0x4914ae(0x153);const _0x4f40b6=_0x267010;if(this['percy']&&this[_0x4914ae(0xdc)][_0x4914ae(0xb0)]())try{await percyHelper['stopPercy'](this['percy']),logger[_0x4914ae(0xa3)](_0x4f40b6[_0x4914ae(0xe4)]);}catch(_0x16a4dc){logger[_0x4914ae(0x169)](_0x4f40b6['NtsLq'],_0x16a4dc[_0x4914ae(0xc9)]);}}async[a94_0x2c2c97(0xfa)](){const _0x58c79f=a94_0x2c2c97,_0x3be1cf={};_0x3be1cf[_0x58c79f(0xd9)]='Local\x20binary\x20not\x20started\x20as\x20skipBinaryInitialisation\x20is\x20enabled',_0x3be1cf[_0x58c79f(0x1a2)]=_0x58c79f(0x161);const _0x4b08a2=_0x3be1cf;if(helper[_0x58c79f(0x9c)]()&&helper[_0x58c79f(0x99)](this[_0x58c79f(0xf3)][_0x58c79f(0x197)])&&(!this[_0x58c79f(0x197)]||!this[_0x58c79f(0x197)][_0x58c79f(0xb0)]()))try{if(this[_0x58c79f(0xf3)]['browserStackLocalOptions']['skipBinaryInitialisation']){logger['debug'](_0x4b08a2[_0x58c79f(0xd9)]);return;}this[_0x58c79f(0x197)]=await helper[_0x58c79f(0xc5)](this[_0x58c79f(0xf3)]),logger[_0x58c79f(0xa3)](_0x4b08a2[_0x58c79f(0x1a2)]);}catch(_0x54466e){logger[_0x58c79f(0x98)](_0x54466e);throw new Error(_0x54466e[_0x58c79f(0xe1)]());}}async[a94_0x2c2c97(0x9f)](){const _0x52b348=a94_0x2c2c97,_0x256298={};_0x256298[_0x52b348(0x17e)]=_0x52b348(0x160),_0x256298['FPLUE']=_0x52b348(0x9d);const _0x15d3a3=_0x256298;if(this[_0x52b348(0x197)]&&this['browserstackLocal'][_0x52b348(0xb0)]())try{await helper[_0x52b348(0x11a)](this[_0x52b348(0x197)]),logger[_0x52b348(0xa3)](_0x15d3a3[_0x52b348(0x17e)]);}catch(_0x24caee){logger[_0x52b348(0x169)](_0x15d3a3['FPLUE'],_0x24caee[_0x52b348(0xc9)]);}}async[a94_0x2c2c97(0x173)](){const _0x36f049=a94_0x2c2c97;return PerformanceTester[_0x36f049(0xa8)](PerformanceAutEvents[_0x36f049(0x184)],async()=>{const _0x457031=_0x36f049;await hubAllocator[_0x457031(0x13e)](this[_0x457031(0xf3)]);})();}async['setupTCGAuth'](){const _0x2852bf=a94_0x2c2c97,_0x5847e2={'Uonja':function(_0x398c27,_0x362431){return _0x398c27(_0x362431);},'kvClF':_0x2852bf(0xf2),'iVHiJ':function(_0x2dcf5b,_0x54b1f5,_0x460294,_0x5ed44c,_0x35a982,_0x5ca0b3,_0x344c65){return _0x2dcf5b(_0x54b1f5,_0x460294,_0x5ed44c,_0x35a982,_0x5ca0b3,_0x344c65);},'YXNCV':_0x2852bf(0x12b),'nGhHZ':_0x2852bf(0x17f),'QEysL':'../../package.json','hHEnj':_0x2852bf(0x10a),'iFbNa':function(_0x26fe10,_0x3b32ae){return _0x26fe10(_0x3b32ae);},'UiXFY':function(_0x5c5b48,_0xe5383){return _0x5c5b48===_0xe5383;},'MtXOk':'true','FLcbS':function(_0x15e9c7,_0x5f0acc){return _0x15e9c7===_0x5f0acc;},'NiTxE':function(_0x5a7256,_0x50079a){return _0x5a7256===_0x50079a;},'ofUkl':function(_0x315781,_0x2fc261){return _0x315781===_0x2fc261;},'KKGaC':_0x2852bf(0x16d),'BwHcj':function(_0x3aa2be,_0x4347dc){return _0x3aa2be===_0x4347dc;},'SIvPD':_0x2852bf(0x154),'nIFpF':_0x2852bf(0x124),'tMwPa':_0x2852bf(0x198),'wtVkB':function(_0x215e64,_0x4474e6){return _0x215e64>=_0x4474e6;},'XgvlB':function(_0x279c1a,_0x29899d){return _0x279c1a<_0x29899d;},'XOqwe':function(_0x46a09f,_0x1e8aad){return _0x46a09f>=_0x1e8aad;},'xWeVI':_0x2852bf(0x14c),'vlZLh':_0x2852bf(0x175),'lEXkD':function(_0x59fa99){return _0x59fa99();}},_0x458728=PerformanceTester[_0x2852bf(0xa8)](_0x5847e2['vlZLh'],async()=>{const _0x291bc6=_0x2852bf;try{const _0x3cb305=new Date(),_0xc296b0=helper['getProxyConfigForTcg'](this['config']),_0x21c981=_0x5847e2[_0x291bc6(0xe9)](require,path[_0x291bc6(0x148)](__dirname,_0x5847e2[_0x291bc6(0xf5)])),_0x28a9ee=_0x5847e2['iVHiJ'](timeoutPromise,constants[_0x291bc6(0xa6)],_0x5847e2[_0x291bc6(0x12f)],_0x5847e2[_0x291bc6(0xfb)],_0x3cb305,this[_0x291bc6(0xf3)],this[_0x291bc6(0x19a)]),_0x43f469={'tcgUrl':constants[_0x291bc6(0x135)],'sdkVersion':_0x5847e2[_0x291bc6(0xe9)](require,_0x5847e2['QEysL'])[_0x291bc6(0xde)],'methodUsed':_0x5847e2[_0x291bc6(0x149)],'proxyConfig':_0xc296b0,'os':os[_0x291bc6(0x162)]()};if(_0xc296b0&&_0xc296b0[_0x291bc6(0xcd)]){utilities[_0x291bc6(0x19c)](constants[_0x291bc6(0x16a)],_0x43f469,this['config'],this[_0x291bc6(0x19a)]);return;}const _0x2ad8d3={};_0x2ad8d3[_0x291bc6(0xea)]=_0xc296b0;const _0x593355=await Promise[_0x291bc6(0xa4)]([_0x21c981[_0x291bc6(0x118)](this[_0x291bc6(0xf3)][_0x291bc6(0x146)],this[_0x291bc6(0xf3)][_0x291bc6(0x196)],constants['TCG_URL'],_0x5847e2[_0x291bc6(0xb5)](require,_0x5847e2['QEysL'])[_0x291bc6(0xde)],_0x2ad8d3)['then'](_0x2fc873=>{const _0x39eb9d=_0x291bc6;return _0x28a9ee[_0x39eb9d(0xff)](),_0x2fc873;}),_0x28a9ee]);_0x593355[_0x291bc6(0x14e)]=_0x5847e2[_0x291bc6(0xa1)](_0x593355[_0x291bc6(0x14e)],_0x5847e2[_0x291bc6(0xa7)])||_0x5847e2[_0x291bc6(0xa1)](_0x593355[_0x291bc6(0x14e)],!![]);const _0x3ddc31=_0x5847e2[_0x291bc6(0x106)](this[_0x291bc6(0xf3)][_0x291bc6(0x18e)],!![])||_0x5847e2[_0x291bc6(0x157)](this[_0x291bc6(0xf3)][_0x291bc6(0x18e)],_0x5847e2[_0x291bc6(0xa7)]);if(_0x5847e2[_0x291bc6(0x1a5)](_0x593355['message'],constants[_0x291bc6(0xb8)])&&_0x3ddc31)logger[_0x291bc6(0xa3)](_0x5847e2[_0x291bc6(0x114)]);else{if(!_0x593355[_0x291bc6(0x12c)]&&_0x5847e2[_0x291bc6(0xfd)](_0x593355['status'],0x1f7)&&_0x3ddc31)logger['info'](_0x5847e2[_0x291bc6(0x13d)]),utilities[_0x291bc6(0x19c)](constants[_0x291bc6(0x139)],_0x43f469,this[_0x291bc6(0xf3)],this[_0x291bc6(0x19a)]);else{if(!_0x593355[_0x291bc6(0x12c)]&&_0x3ddc31){logger[_0x291bc6(0xa3)](_0x5847e2[_0x291bc6(0xaa)]);const _0x145cd9={'tcgUrl':constants[_0x291bc6(0x135)],'sdkVersion':_0x5847e2[_0x291bc6(0xe9)](require,_0x5847e2[_0x291bc6(0x137)])[_0x291bc6(0xde)],'methodUsed':_0x5847e2[_0x291bc6(0x149)],'proxyConfig':_0xc296b0,'os':os[_0x291bc6(0x162)]()};utilities[_0x291bc6(0x19c)](constants[_0x291bc6(0xe6)],_0x145cd9,this[_0x291bc6(0xf3)],this['framework']);}else{if(_0x593355[_0x291bc6(0x12c)]&&!_0x593355['isHealingEnabled']&&_0x3ddc31)logger[_0x291bc6(0xa3)](_0x5847e2[_0x291bc6(0x18c)]);else{if(_0x5847e2[_0x291bc6(0x168)](_0x593355[_0x291bc6(0x11f)],0xc8)&&_0x5847e2['XgvlB'](_0x593355[_0x291bc6(0x11f)],0x12c))utilities[_0x291bc6(0x19c)](constants[_0x291bc6(0x18a)],_0x43f469,this[_0x291bc6(0xf3)],this['framework']);else{if(_0x5847e2['XOqwe'](_0x593355[_0x291bc6(0x11f)],0x190))_0x43f469[_0x291bc6(0x11f)]=_0x593355[_0x291bc6(0x11f)],utilities[_0x291bc6(0x19c)](constants[_0x291bc6(0xbf)],_0x43f469,this[_0x291bc6(0xf3)],this[_0x291bc6(0x19a)]);else!_0x593355['status']&&utilities[_0x291bc6(0x19c)](constants[_0x291bc6(0x18d)],_0x43f469,this['config'],this[_0x291bc6(0x19a)]);}}}}}if(_0x593355[_0x291bc6(0x12c)]&&_0x593355[_0x291bc6(0x14e)]){const _0x10c967={};_0x10c967[_0x291bc6(0x12d)]=_0x593355;const _0x40fee6=_0x10c967;_0xc296b0&&(_0x40fee6[_0x291bc6(0x1ab)]=_0xc296b0),_0x40fee6['framework']=this[_0x291bc6(0x19a)],_0x40fee6['bstackConfig']=this[_0x291bc6(0xf3)],helper[_0x291bc6(0x13b)](_0x40fee6),logger[_0x291bc6(0x98)](_0x5847e2[_0x291bc6(0xc0)]);}}catch(_0x1f36aa){logger[_0x291bc6(0x98)](_0x291bc6(0xee)+(_0x1f36aa['message']?_0x1f36aa[_0x291bc6(0xc9)]:''));}});await _0x5847e2[_0x2852bf(0x19e)](_0x458728);}['setupKeepAlive'](){const _0x5c5ed4=a94_0x2c2c97,_0x1cd809={'ofokp':function(_0x32365b,_0xed5096){return _0x32365b(_0xed5096);},'YWZda':_0x5c5ed4(0x150)};_0x1cd809[_0x5c5ed4(0x179)](require,_0x1cd809[_0x5c5ed4(0x132)])();}[a94_0x2c2c97(0xc7)](){const _0x3e74b3=a94_0x2c2c97,_0x4ff9f6={};_0x4ff9f6[_0x3e74b3(0x171)]=_0x3e74b3(0x11c),_0x4ff9f6[_0x3e74b3(0x18b)]=_0x3e74b3(0x11b),_0x4ff9f6[_0x3e74b3(0x133)]='uncaughtException';const _0x11a5a2=_0x4ff9f6,_0x54c11e=_0xeb787=>{const _0x33aa65=_0x3e74b3,_0x152d8d=_0x11a5a2[_0x33aa65(0x171)][_0x33aa65(0x97)]('|');let _0x3b21a1=0x0;while(!![]){switch(_0x152d8d[_0x3b21a1++]){case'0':PerformanceTester[_0x33aa65(0x141)](_0xeb787);continue;case'1':this[_0x33aa65(0x13f)]['push'](util[_0x33aa65(0x108)]('%j',_0xeb787));continue;case'2':logger[_0x33aa65(0x98)](util['format'](_0xeb787));continue;case'3':ClientTroubleShootingService[_0x33aa65(0xce)]();continue;case'4':logger[_0x33aa65(0x169)](_0xeb787['message']);continue;}break;}};process['on'](_0x11a5a2['gBfcc'],_0x54c11e),process['on'](_0x11a5a2[_0x3e74b3(0x133)],_0x54c11e);}async['intExitHandler'](_0x3011b0){const _0x46eb5e=a94_0x2c2c97,_0x5db517={};_0x5db517[_0x46eb5e(0xcb)]=_0x46eb5e(0x1a7),_0x5db517[_0x46eb5e(0xf9)]=function(_0x421e0b,_0x53f186){return _0x421e0b+_0x53f186;},_0x5db517[_0x46eb5e(0x14d)]='handled',_0x5db517[_0x46eb5e(0x1a1)]=function(_0x2e1c75,_0x536eb8){return _0x2e1c75+_0x536eb8;},_0x5db517[_0x46eb5e(0x166)]='Shutdown\x20triggered\x20by\x20',_0x5db517[_0x46eb5e(0xb4)]=function(_0x315448,_0x362463){return _0x315448+_0x362463;};const _0x139dc4=_0x5db517,_0x3b1db2=_0x139dc4[_0x46eb5e(0xcb)][_0x46eb5e(0x97)]('|');let _0x45be47=0x0;while(!![]){switch(_0x3b1db2[_0x45be47++]){case'0':await ClientTroubleShootingService[_0x46eb5e(0xce)]();continue;case'1':await BrowserstackCLI[_0x46eb5e(0x138)]()[_0x46eb5e(0x103)]();continue;case'2':await ClientTroubleShootingService[_0x46eb5e(0xa5)](_0x3011b0);continue;case'3':await TestHubHandler[_0x46eb5e(0x103)](_0x3011b0);continue;case'4':if(this[_0x139dc4[_0x46eb5e(0xf9)](_0x139dc4[_0x46eb5e(0x14d)],_0x3011b0)])return;continue;case'5':logger['info'](_0x139dc4[_0x46eb5e(0x1a1)](_0x139dc4[_0x46eb5e(0x166)],_0x3011b0));continue;case'6':this[_0x139dc4[_0x46eb5e(0xb4)](_0x139dc4[_0x46eb5e(0x14d)],_0x3011b0)]=!![];continue;case'7':this[_0x46eb5e(0x1a8)]=_0x3011b0;continue;}break;}}[a94_0x2c2c97(0x100)](){const _0x4244a8=a94_0x2c2c97,_0x5a3afa={'Yhaob':function(_0x8a171c,_0x525433){return _0x8a171c===_0x525433;},'bIkRy':_0x4244a8(0x15f),'cDivM':function(_0x42cf39,_0x41696d){return _0x42cf39>_0x41696d;},'luBrp':function(_0x2c977c,_0x33e4b5){return _0x2c977c>_0x33e4b5;},'RmyXa':function(_0x2ab9fd,_0x5d4d1c){return _0x2ab9fd(_0x5d4d1c);},'JUUig':function(_0x40240c){return _0x40240c();},'dmJHM':_0x4244a8(0x9b)};let _0x1e695e=0x0;return async()=>{const _0x3b99b0=_0x4244a8;_0x1e695e++;if(_0x5a3afa[_0x3b99b0(0x125)](_0x1e695e,0x1)){helper[_0x3b99b0(0x14a)](this[_0x3b99b0(0x19a)])&&await this[_0x3b99b0(0x9f)]();try{logger[_0x3b99b0(0x98)](_0x5a3afa[_0x3b99b0(0x9a)]),await TestHubHandler[_0x3b99b0(0x103)](_0x1e695e),await ClientTroubleShootingService[_0x3b99b0(0xce)](),await BrowserstackCLI['getInstance']()[_0x3b99b0(0x103)]('1');}catch(_0x2993ad){logger[_0x3b99b0(0x98)](_0x3b99b0(0x142)+util[_0x3b99b0(0x108)](_0x2993ad));}PerformanceTester[_0x3b99b0(0xe0)](PerformanceEvents[_0x3b99b0(0x116)]);if(PerformanceTester[_0x3b99b0(0xe3)]()){const {measures:_0x65a50f,errors:_0x4b384b}=await PerformanceTester[_0x3b99b0(0xdd)](),_0x10c4da={};if(_0x65a50f&&_0x5a3afa[_0x3b99b0(0x105)](_0x65a50f['length'],0x0)||_0x4b384b&&_0x5a3afa[_0x3b99b0(0xae)](_0x4b384b[_0x3b99b0(0x144)],0x0)){const _0x2e4227={};_0x2e4227['measures']=_0x65a50f,_0x2e4227['exceptions']=_0x4b384b,Object[_0x3b99b0(0xdb)](_0x10c4da,_0x2e4227);}try{const _0x4e2021=await helper['sendToEDS'](_0x10c4da,this[_0x3b99b0(0xf3)]);logger[_0x3b99b0(0x98)](_0x3b99b0(0x186)+_0x5a3afa[_0x3b99b0(0xab)](getEdsInstrumentationAPIUrl,'')+'\x20with\x20response\x20'+_0x4e2021[_0x3b99b0(0x134)]);}catch(_0x1612f4){logger[_0x3b99b0(0x98)](_0x3b99b0(0x15e)+_0x5a3afa[_0x3b99b0(0xab)](getEdsInstrumentationAPIUrl,'')+_0x3b99b0(0x10c)+util[_0x3b99b0(0x108)](_0x1612f4));}try{fs[_0x3b99b0(0x15b)](path['join'](_0x5a3afa['JUUig'](getLogDir),_0x5a3afa['dmJHM']),JSON[_0x3b99b0(0xe2)](_0x10c4da));}catch(_0x523bfb){logger[_0x3b99b0(0x98)](_0x3b99b0(0x120)+_0x523bfb);}}}logger&&logger[_0x3b99b0(0x123)](),fileLogger&&fileLogger['close']();};}}exports[a94_0x2c2c97(0xc4)]=BrowserStackSetup;function a94_0x5784(){const _0x3c759a=['join','hHEnj','checkStopLocalBinaryOnExit','getLocalIdentifier','tcg\x20config\x20setup\x20successful.','IJzmt','isHealingEnabled','customRepeaters','./setKeepAlive','HCpOK','No\x20config\x20provided.','Error\x20occured\x20while\x20stopping\x20percy','Something\x20went\x20wrong.\x20Disabling\x20healing\x20for\x20this\x20session.\x20Please\x20try\x20again\x20later.','cliConfig','sduGv','NiTxE','YUHXg','sZxkh','setBrowserstackInfraFromConfig','writeFileSync','sanitizeCaps','getHubUrl','Failed\x20to\x20send\x20data\x20to\x20','Calling\x20Build\x20Stop\x20from\x20ExitHandler','Local\x20binary\x20stopped','Local\x20binary\x20started\x20successfully','platform','userName\x20or\x20accessKey\x20is\x20not\x20defined','Percy\x20stopped','toLowerCase','iZvMU','env','wtVkB','error','AI_PROXY_FAILURE','parallelsPerPlatform','qzDKf','Please\x20upgrade\x20Browserstack\x20SDK\x20to\x20the\x20latest\x20version\x20to\x20use\x20the\x20self-healing\x20feature.','IPirr','setEnvCaps','selenium-webdriver','RUjIL','zTxaO','setUpHubUrl','configPath','aiHeal:tcgAuth','../bin/utils/apiUtilityMethods','RZHOl','isTrialGrid','ofokp','custom-repeater','skipSessionName','HZgNG','SIGABRT','pSVtL','BrowserstackHealingInitFailed','SDK\x20run\x20started\x20with\x20id:\x20','./percy/utils','setupPercy','false','HUB_MANAGEMENT','getUserName','Data\x20sent\x20successfully\x20to\x20','localOptions','preInitialize','BROWSERSTACK_PERCY','AI_INIT_SUCCESSFUL','gBfcc','tMwPa','INVALID_INIT_RESP_WITH_USER_IMPACT','selfHeal','./testhub/utils','SIGBREAK','../hubAllocationMethods','RDCxi','ExLdf','88ojHCOi','1662518ObkZYz','userName','browserstackLocal','Healing\x20is\x20not\x20enabled\x20for\x20your\x20group,\x20please\x20contact\x20the\x20admin','getFinalCaps','framework','Could\x20not\x20start\x20percy,\x20check\x20percy\x20logs\x20for\x20info.','fireFunnelTestEvent','3582805KwzBhV','lEXkD','parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','stopPercy','viRdM','kzdBp','turboScaleGridDetails','7354720BsdrQA','ofUkl','beforeExit','4|6|5|7|2|3|0|1','killSignal','winstonLogger','setLogDir','proxyConfig','jTSyY','split','debug','isTrue','bIkRy','events.json','isBrowserstackInfra','Error\x20occured\x20while\x20stopping\x20local\x20binary','hubUrl','stopBrowserstackLocal','setLogLevel','UiXFY','integrations','info','race','reportProcessInterruptionSituation','TCG_AUTH_TIMEOUT','MtXOk','measureWrapper','43179dhBVYj','nIFpF','RmyXa','Error\x20in\x20percy\x20setup\x20','kCVkc','luBrp','cvrMb','isRunning','startPercy','nENDT','HuUhO','kxjCE','iFbNa','SDKTestAttempted','warn','UPGRADE_REQUIRED','../bin/v2/modules/loadTestModule','SIGHUP','3682440VkQltM','sdkRunId','turboScale','oCQRy','AI_INIT_FAILURE','xWeVI','true','igiCM','JXpyM','default','startLocalBinary','QKGRt','handleExceptions','isTurboScaleSession','message','skipSessionStatus','OpbXL','KNJWu','proxyUrl','reportFinalDetectionState','132146qvzUDz','fileLogger','constructor','LTS\x20session\x20enabled\x20for\x20this\x20run.\x20SDK\x20run\x20id:\x20','mJoxZ','1qSomZA','intExitHandler','SIGINT','playwrightUrl','startMonitoring','sdjUQ','SIGTERM','assign','percy','finalize','version','VmYbU','end','toString','stringify','isEnabled','YBuSO','NtsLq','TCG_AUTH_FAILURE','4.5.0','__isPlaywrightInstalled','Uonja','proxy','compareVersions','CCuJT','Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','Error\x20in\x20setting\x20up\x20tcg\x20authconfig.\x20Error:\x20','skipBinaryInitialisation','errorMessage','setCLICaps','../ai-sdk-node/bundle','config','turboScaleUrl','kvClF','codeceptjs','requireSeleniumWebdriverCheck','BROWSERSTACK_TURBOSCALE','sOTuJ','setupBrowserstackLocal','nGhHZ','234LewfTq','BwHcj','envConfig','cancel','exitHandler','isUndefined','grBnj','stop','sWBjU','cDivM','FLcbS','generateLocalIdentifier','format','forceLocal','BrowserstackHealing.init','getTurboScaleGridDetails','\x20with\x20error\x20','uuid','qOOXl','getCentralUser','UXzCE','FRAMEWORK','getLocalConfig','YxpxL','KKGaC','./logger','SDK_CLEANUP','jLcXq','init','setCredentialsFromYmlConfig','stopLocalBinary','unhandledRejection','4|2|1|0|3','bind','setProxySettings','status','Error\x20in\x20writing\x20events\x20to\x20file\x20','aYFPR','0|19|4|3|14|5|21|17|16|9|6|7|1|22|18|11|2|10|23|15|13|8|20|12','close','Authentication\x20Failed.\x20Disabling\x20Healing\x20for\x20this\x20session.','Yhaob','AUTOLOGCAPTURE_NOTIFICATION','localIdentifier','Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20','ecUAV','isLTSSession','BrowserstackHealing.init\x20method\x20timed\x20out','isAuthenticated','tcgAuthConfig','disableAutoCaptureLogs','YXNCV','platforms','209Grjfcn','YWZda','XubaI','statusCode','TCG_URL','browserStackLocalOptions','QEysL','getInstance','TCG_DOWN','useW3C','setupTcgConfigFile','initialize','SIvPD','allocateHub','unhandledErrors','turboScaleOptions','captureError','Error\x20in\x20sending\x20testhub\x20stop:\x20','testContextOptions','length','527170bjVNsd','accessKey','iTwYE'];a94_0x5784=function(){return _0x3c759a;};return a94_0x5784();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a95_0x533540=a95_0x59d1;function a95_0x3696(){const _0x523efd=['getId','Accessibility\x20scan\x20attempt\x20','QTkXt','wKoxq','capabilitiesList',').\x20Error:\x20','Scan\x20attempt\x20','performScan','page','setPlaywrightScriptTimeout','bcVlU','Selenium\x20WebDriver\x20manage()\x20method\x20not\x20available,\x20skipping\x20timeout\x20setting','4xlwodh','yvsVi','scanSucceeded','Failed\x20to\x20set\x20Selenium\x20script\x20timeout:\x20','env','ZmJcY','FJWGb','\x20failed\x20for\x20method:\x20','message','All\x20accessibility\x20scan\x20attempts\x20failed\x20for\x20method:\x20','../globals','ZuADC','nQhuk','VEEoj','OPavt','fulfilled','updateRetryConfig','\x20-\x20not\x20applicable','currentTest','wMxOq','Accessibility\x20retry\x20configuration\x20updated:\x20','Page','playwright-codecept-driver','rejected','zNJyI','TaTlT','[Accessibility]\x20Scan\x20skipped\x20-\x20scanning\x20is\x20currently\x20disabled\x20(partial\x20scan\x20mode)','ioYtV','ElrNB','manage','status','NxyjK','ms\x20using\x20setTimeouts\x20API','tKelm','771840NNmmKe','ySGox','ciKRD','JBYmt','measureWrapper','getCapabilities','selenium-webdriver','biPkX','Skipping\x20timeout\x20setting\x20for\x20','ms\x20using\x20timeouts()\x20API',',\x20cannot\x20save\x20accessibility\x20results\x20with\x20retry.','dqWFX','getAccessibilityResultsSummary',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary\x20with\x20retry.','qnXLX','WebDriver','Accessibility\x20results\x20saved\x20successfully\x20on\x20attempt\x20','timeoutMs','Accessibility\x20results\x20retrieval\x20attempt\x20',')\x20with\x20error:\x20','executeAsyncScript','maxRetries','\x20failed\x20(','BFYAJ','JQbbd','__workerDetails','warn','getAccessibilityResultsWithRetry','zGBPx','AfBJK','wXewl','isPlaywright','function','Unknown\x20error','dZfmr','getGlobal',',\x20cannot\x20perform\x20scan\x20with\x20retry.','aNnWg','../../bin/v2/browserstackCLI','getInstance','Accessibility\x20results\x20retrieved\x20successfully\x20on\x20attempt\x20','wYIIn','NthDL','getCurrentUrl','xkYQe','oWvZn','saveTestResults','getAccessibilityResults','results','nYsib','butwi','1664878fcqbUT','Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20','Accessibility\x20results\x20save\x20attempt\x20','unknown_method','performComprehensiveAccessibilityScanWithRetry','JvUHx','hjMfc','uIylP','max','util','ifcLn','447555OKQjVK','setSeleniumScriptTimeout','timeouts','value','RlYqD','GFANy','Selenium\x20WebDriver\x20timeout\x20API\x20not\x20available,\x20skipping\x20timeout\x20setting','error','getAccessibilityModule','uebff','setTimeouts','../../bin/playwright/accessibility-helper','isAccessibilityPlatform','vyyKq','name','setScriptTimeout','isSeleniumDriver','dyIeB','svAUU','Failed\x20to\x20set\x20Playwright\x20script\x20timeout:\x20','AKbsc','All\x20accessibility\x20results\x20save\x20attempts\x20failed\x20(','yPtPM','Operation\x20timed\x20out\x20after\x20','driverType','dYGYQ','WvtXt',').\x20Last\x20error:\x20','All\x20accessibility\x20results\x20retrieval\x20attempts\x20failed\x20(','mYyXM','QnBMi','29981cEHejc','24kssuzq','NksBm','2449704pWikAO','HsIJi','type','ijaSl','JEFHU','PKEur','options','bstackA11yShouldScan','1434xwqsDq','info','scannerProcessingTimeout','url','undefined','):\x20','./helper','RLVot','constructor','wVegB','Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20','melUC','fjgvB','3538100wdNwzT','pscOc','vxKmF','Playwright\x20accessibility\x20helper\x20not\x20available','cmugL','playwright-page','TERjc','debug','summary','nNjYI','HJtub','browserstackSessionName','goto','pSQwu','ms\x20using\x20setScriptTimeout\x20API','lINTu','getRetryConfig','unknown','BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT','IcEiE','uXKYJ','LKNiu','isAccessibilityAutomationSession','Accessibility\x20scan\x20succeeded\x20on\x20attempt\x20','3512637FjMEie','reason','accessibilityPlatform','sNEIe','setDefaultTimeout','accessibilityConfig','QZuFE','WpxaA','getSession','race','Cannot\x20set\x20script\x20timeout:\x20not\x20a\x20Selenium\x20WebDriver','Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20','evaluate','mWqVZ','dIqAR','KWmRx','oPrHO','Unknown\x20driver/page\x20type:\x20','defaultTimeoutMs','Failed\x20to\x20retrieve\x20accessibility\x20results\x20(','Unknown\x20error\x20during\x20comprehensive\x20accessibility\x20scan'];a95_0x3696=function(){return _0x523efd;};return a95_0x3696();}(function(_0x59c908,_0x51b400){const _0x2c5599=a95_0x59d1,_0xbe40b0=_0x59c908();while(!![]){try{const _0x466470=-parseInt(_0x2c5599(0x1e3))/0x1+-parseInt(_0x2c5599(0x18e))/0x2*(-parseInt(_0x2c5599(0x1ee))/0x3)+-parseInt(_0x2c5599(0x140))/0x4+parseInt(_0x2c5599(0x155))/0x5+-parseInt(_0x2c5599(0x148))/0x6*(-parseInt(_0x2c5599(0x13d))/0x7)+parseInt(_0x2c5599(0x13e))/0x8*(parseInt(_0x2c5599(0x16d))/0x9)+-parseInt(_0x2c5599(0x1b0))/0xa;if(_0x466470===_0x51b400)break;else _0xbe40b0['push'](_0xbe40b0['shift']());}catch(_0x425b22){_0xbe40b0['push'](_0xbe40b0['shift']());}}}(a95_0x3696,0xce8c2));const util=require(a95_0x533540(0x1ec)),logger=require('../logger')['winstonLogger'],accessibilityHelper=require(a95_0x533540(0x14e)),globals=require(a95_0x533540(0x198)),scripts=require('./scripts'),PerformanceTester=require('../performance/performance-tester'),{A11Y_EVENTS:PerformanceA11yEvents}=require('../performance/constants'),BrowserstackCLI=require(a95_0x533540(0x1d6));let playwrightA11yHelper=null;try{playwrightA11yHelper=require(a95_0x533540(0x1f9));}catch(a95_0x408b05){logger[a95_0x533540(0x15c)](a95_0x533540(0x158));}const a95_0x3b596c={};function a95_0x59d1(_0x4197b1,_0x5c7738){const _0x3696d6=a95_0x3696();return a95_0x59d1=function(_0x59d155,_0x3c21d3){_0x59d155=_0x59d155-0x13d;let _0xa17fa1=_0x3696d6[_0x59d155];return _0xa17fa1;},a95_0x59d1(_0x4197b1,_0x5c7738);}a95_0x3b596c[a95_0x533540(0x1c5)]=0x1,a95_0x3b596c['timeoutMs']=0x7530,a95_0x3b596c[a95_0x533540(0x17f)]=0x7530;const RETRY_CONFIG=a95_0x3b596c,setConfigTimeout=(_0x2fd437,_0x114dc8=null)=>{const _0x1cefac=a95_0x533540,_0x3948ef={'nNjYI':function(_0x1477e5,_0x22a969){return _0x1477e5===_0x22a969;},'biPkX':_0x1cefac(0x14a),'QnBMi':function(_0x32901e,_0x45b15d){return _0x32901e===_0x45b15d;},'KWmRx':function(_0x35e96f,_0x15c87f){return _0x35e96f*_0x15c87f;},'aNnWg':function(_0x35eedb,_0xcfa577){return _0x35eedb(_0xcfa577);},'WpxaA':function(_0x55410c,_0x604524){return _0x55410c(_0x604524);}};if(BrowserstackCLI[_0x1cefac(0x1d7)]()['isRunning']()&&BrowserstackCLI[_0x1cefac(0x1d7)]()[_0x1cefac(0x1f6)]()){const _0x6b07ed=BrowserstackCLI[_0x1cefac(0x1d7)]()[_0x1cefac(0x1f6)]()[_0x1cefac(0x172)],_0x1bb68f=_0x6b07ed[_0x1cefac(0x146)][_0x1cefac(0x186)]||[];for(const _0x562a8d of _0x1bb68f){_0x3948ef[_0x1cefac(0x15e)](_0x562a8d[_0x1cefac(0x1fc)],_0x3948ef[_0x1cefac(0x1b7)])&&_0x3948ef[_0x1cefac(0x20c)](_0x114dc8,null)&&(_0x2fd437[_0x1cefac(0x1c1)]=_0x3948ef[_0x1cefac(0x17c)](_0x3948ef[_0x1cefac(0x1d5)](parseInt,_0x562a8d['value']),0x3e8));}}else process[_0x1cefac(0x192)]['BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT']&&(_0x2fd437['timeoutMs']=_0x3948ef[_0x1cefac(0x17c)](_0x3948ef[_0x1cefac(0x174)](parseInt,process['env'][_0x1cefac(0x167)]),0x3e8));},detectDriverType=_0x41a793=>{const _0xbde57f=a95_0x533540,_0x26b05c={};_0x26b05c[_0xbde57f(0x1e2)]=_0xbde57f(0x166),_0x26b05c[_0xbde57f(0x1b3)]=function(_0x2dfca9,_0x703a4){return _0x2dfca9===_0x703a4;},_0x26b05c['dIqAR']=_0xbde57f(0x1d0),_0x26b05c[_0xbde57f(0x1af)]=_0xbde57f(0x15a),_0x26b05c[_0xbde57f(0x1da)]=function(_0x44512b,_0x38bf8c){return _0x44512b===_0x38bf8c;},_0x26b05c[_0xbde57f(0x19a)]=function(_0x514753,_0x149809){return _0x514753===_0x149809;},_0x26b05c[_0xbde57f(0x13f)]=_0xbde57f(0x1b6),_0x26b05c[_0xbde57f(0x1fb)]=function(_0x3319d4,_0x2ad317){return _0x3319d4===_0x2ad317;},_0x26b05c[_0xbde57f(0x170)]=_0xbde57f(0x1a3),_0x26b05c[_0xbde57f(0x193)]=function(_0x1c7ed4,_0x35d38f){return _0x1c7ed4===_0x35d38f;},_0x26b05c['FJWGb']=_0xbde57f(0x1bf),_0x26b05c[_0xbde57f(0x1c7)]='Playwright',_0x26b05c['IcEiE']='playwright-codecept-driver',_0x26b05c[_0xbde57f(0x1cd)]=function(_0x3b3372,_0x5ca60e){return _0x3b3372||_0x5ca60e;},_0x26b05c['wMnPL']=_0xbde57f(0x14c);const _0x3525bd=_0x26b05c;if(!_0x41a793){const _0x2971cb={};return _0x2971cb[_0xbde57f(0x1cf)]=![],_0x2971cb['type']=_0x3525bd['butwi'],_0x2971cb;}if(_0x3525bd['JBYmt'](typeof _0x41a793[_0xbde57f(0x179)],_0x3525bd[_0xbde57f(0x17b)])&&_0x3525bd[_0xbde57f(0x1b3)](typeof _0x41a793[_0xbde57f(0x14b)],_0x3525bd[_0xbde57f(0x17b)])&&_0x3525bd[_0xbde57f(0x1b3)](typeof _0x41a793[_0xbde57f(0x161)],_0x3525bd[_0xbde57f(0x17b)])){const _0x9dac18={};return _0x9dac18[_0xbde57f(0x1cf)]=!![],_0x9dac18[_0xbde57f(0x142)]=_0x3525bd[_0xbde57f(0x1af)],_0x9dac18;}if(_0x3525bd[_0xbde57f(0x1da)](typeof _0x41a793[_0xbde57f(0x1c4)],_0x3525bd[_0xbde57f(0x17b)])&&_0x3525bd[_0xbde57f(0x19a)](typeof _0x41a793[_0xbde57f(0x1b5)],_0x3525bd[_0xbde57f(0x17b)])){const _0x32984a={};return _0x32984a[_0xbde57f(0x1cf)]=![],_0x32984a[_0xbde57f(0x142)]=_0x3525bd[_0xbde57f(0x13f)],_0x32984a;}const _0x4ddd9b=_0x41a793[_0xbde57f(0x150)]?.[_0xbde57f(0x1fc)];if(_0x3525bd[_0xbde57f(0x1fb)](_0x4ddd9b,_0x3525bd['sNEIe'])){const _0x19880e={};return _0x19880e['isPlaywright']=!![],_0x19880e[_0xbde57f(0x142)]=_0x3525bd['tKelm'],_0x19880e;}if(_0x3525bd[_0xbde57f(0x193)](_0x4ddd9b,_0x3525bd[_0xbde57f(0x194)])){const _0x57c6bb={};return _0x57c6bb[_0xbde57f(0x1cf)]=![],_0x57c6bb[_0xbde57f(0x142)]=_0x3525bd[_0xbde57f(0x13f)],_0x57c6bb;}if(_0x3525bd[_0xbde57f(0x1da)](_0x4ddd9b,_0x3525bd['BFYAJ'])){const _0xb4697b={};return _0xb4697b[_0xbde57f(0x1cf)]=!![],_0xb4697b['type']=_0x3525bd[_0xbde57f(0x168)],_0xb4697b;}logger[_0xbde57f(0x1ca)](_0xbde57f(0x17e)+_0x3525bd[_0xbde57f(0x1cd)](_0x4ddd9b,_0x3525bd['wMnPL']));const _0x4b6c85={};return _0x4b6c85['isPlaywright']=![],_0x4b6c85['type']=_0x3525bd[_0xbde57f(0x1e2)],_0x4b6c85;},withTimeout=(_0x4ca3a8,_0x44d0d6)=>{const _0x127258=a95_0x533540;return Promise[_0x127258(0x176)]([_0x4ca3a8,new Promise((_0xfe5971,_0x407b62)=>setTimeout(()=>_0x407b62(new Error(_0x127258(0x205)+_0x44d0d6+'ms')),_0x44d0d6))]);};exports['performScanWithRetry']=async(_0x1e8dc5,_0xe2014d=null,_0x212ca7=null,_0x1b7364=![])=>{const _0x25fe3b=a95_0x533540,_0x2c3419={'nImtH':function(_0x32c5ff,_0x2164d4){return _0x32c5ff&&_0x2164d4;},'RZXfD':function(_0x30bb51,_0x3c03fb,_0x28be50){return _0x30bb51(_0x3c03fb,_0x28be50);},'vxKmF':function(_0x22019b,_0x23e035){return _0x22019b===_0x23e035;},'PnQbc':_0x25fe3b(0x1a4),'pscOc':function(_0x480688,_0x39adfd,_0x1a1ba4){return _0x480688(_0x39adfd,_0x1a1ba4);},'cmugL':function(_0x2e5ae3,_0x41fbcf){return _0x2e5ae3(_0x41fbcf);},'GFANy':'isAccessibilityPlatform','TaTlT':function(_0x3190b5,_0x554924){return _0x3190b5!==_0x554924;},'uIylP':'bstackA11yShouldScan','ioYtV':function(_0x2c2e8f,_0x195c84){return _0x2c2e8f===_0x195c84;},'ijaSl':_0x25fe3b(0x1a8),'wVegB':_0x25fe3b(0x1e6),'mibci':function(_0x1b34ec,_0x3b1f9d){return _0x1b34ec===_0x3b1f9d;},'xkYQe':_0x25fe3b(0x1d0),'ciKRD':function(_0x6d4e1d,_0x362e6a){return _0x6d4e1d===_0x362e6a;},'JQbbd':function(_0x283b0e,_0xc7fc96){return _0x283b0e<=_0xc7fc96;},'wYIIn':function(_0x3c670,_0x599d17){return _0x3c670+_0x599d17;},'iCApP':_0x25fe3b(0x1d1)},{isPlaywright:_0x1663ff,type:_0x82a9d0}=_0x2c3419[_0x25fe3b(0x159)](detectDriverType,_0x1e8dc5),_0x41dab4=_0x1663ff?global[_0x25fe3b(0x16f)]&&(_0x1b7364||_0x2c3419['vxKmF'](global[_0x25fe3b(0x147)],!![])):accessibilityHelper['isAccessibilityAutomationSession']()&&globals[_0x25fe3b(0x1d3)](_0x2c3419[_0x25fe3b(0x1f3)])&&(_0x1b7364||_0x2c3419[_0x25fe3b(0x1a7)](globals[_0x25fe3b(0x1d3)](_0x2c3419[_0x25fe3b(0x1ea)]),![]));if(!_0x41dab4)return _0x1663ff&&global[_0x25fe3b(0x16f)]&&_0x2c3419[_0x25fe3b(0x1a9)](global['bstackA11yShouldScan'],![])?logger[_0x25fe3b(0x15c)](_0x2c3419[_0x25fe3b(0x143)]):logger[_0x25fe3b(0x1ca)](_0x25fe3b(0x178)+_0x82a9d0+_0x25fe3b(0x1d4)),![];const _0x3c7abf=_0xe2014d||global[_0x25fe3b(0x160)]||_0x2c3419[_0x25fe3b(0x151)];let _0x5cad1f=null;const _0x532469={'testhub_btcer_uuid':global[_0x25fe3b(0x1c9)]?.[_0x25fe3b(0x1a0)]?.['id'],'url':_0x2c3419['mibci'](typeof _0x1e8dc5[_0x25fe3b(0x14b)],_0x2c3419[_0x25fe3b(0x1dc)])?await _0x1e8dc5['url']():_0x2c3419['vxKmF'](typeof _0x1e8dc5['getCurrentUrl'],_0x2c3419[_0x25fe3b(0x1dc)])?await _0x1e8dc5[_0x25fe3b(0x1db)]():'','automate_session_id':_0x2c3419[_0x25fe3b(0x1b2)](typeof _0x1e8dc5[_0x25fe3b(0x175)],_0x2c3419[_0x25fe3b(0x1dc)])?(await _0x1e8dc5[_0x25fe3b(0x175)]())[_0x25fe3b(0x182)]():''};for(let _0x2b7efc=0x1;_0x2c3419[_0x25fe3b(0x1c8)](_0x2b7efc,_0x2c3419['wYIIn'](RETRY_CONFIG[_0x25fe3b(0x1c5)],0x1));_0x2b7efc++){try{return logger[_0x25fe3b(0x15c)](_0x25fe3b(0x183)+_0x2b7efc+'/'+_0x2c3419[_0x25fe3b(0x1d9)](RETRY_CONFIG[_0x25fe3b(0x1c5)],0x1)+'\x20for\x20method:\x20'+_0x3c7abf+'\x20('+_0x82a9d0+')'),await PerformanceTester[_0x25fe3b(0x1b4)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x421a8f=_0x25fe3b;let _0x27aa88;if(_0x2c3419['nImtH'](_0x1663ff,playwrightA11yHelper)){_0x2c3419['RZXfD'](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x421a8f(0x18b)](_0x1e8dc5,RETRY_CONFIG[_0x421a8f(0x1c1)]);let _0x5868f7=_0x1e8dc5;_0x2c3419[_0x421a8f(0x157)](_0x82a9d0,_0x2c3419['PnQbc'])&&(_0x5868f7=_0x1e8dc5[_0x421a8f(0x18a)]),_0x27aa88=await _0x2c3419[_0x421a8f(0x156)](withTimeout,playwrightA11yHelper[_0x421a8f(0x189)](_0x5868f7,_0x3c7abf),RETRY_CONFIG[_0x421a8f(0x1c1)]),await exports['setPlaywrightScriptTimeout'](_0x1e8dc5,RETRY_CONFIG[_0x421a8f(0x17f)]);}else await exports[_0x421a8f(0x1ef)](_0x1e8dc5,RETRY_CONFIG[_0x421a8f(0x1c1)]),_0x27aa88=await _0x2c3419[_0x421a8f(0x156)](withTimeout,accessibilityHelper[_0x421a8f(0x189)](_0x1e8dc5,_0x3c7abf),RETRY_CONFIG['timeoutMs']),await exports[_0x421a8f(0x1ef)](_0x1e8dc5,RETRY_CONFIG[_0x421a8f(0x17f)]);logger[_0x421a8f(0x15c)](_0x421a8f(0x188)+_0x2b7efc+'\x20completed\x20successfully.');},{'command':_0x3c7abf,..._0x532469})(),logger[_0x25fe3b(0x149)](_0x25fe3b(0x16c)+_0x2b7efc+'.'),!![];}catch(_0x132299){_0x5cad1f=_0x132299,logger[_0x25fe3b(0x15c)](_0x25fe3b(0x183)+_0x2b7efc+_0x25fe3b(0x195)+_0x3c7abf+'\x20('+_0x82a9d0+_0x25fe3b(0x187)+_0x132299[_0x25fe3b(0x196)]);}}return logger['error'](_0x25fe3b(0x197)+_0x3c7abf+'\x20('+_0x82a9d0+_0x25fe3b(0x1c3)+(_0x5cad1f?.[_0x25fe3b(0x196)]||_0x2c3419['iCApP'])),![];},exports[a95_0x533540(0x1cb)]=async(_0x1ac749,_0x39a7aa)=>{const _0x3cb1bd=a95_0x533540,_0x20e017={'ElrNB':function(_0x1cc4ee,_0x2ce32b){return _0x1cc4ee(_0x2ce32b);},'fjgvB':'isAccessibilityPlatform','dYGYQ':_0x3cb1bd(0x147),'ZuADC':function(_0x191f7e,_0xbc10cc){return _0x191f7e<=_0xbc10cc;},'HJtub':function(_0x23be92,_0x3405ed){return _0x23be92+_0x3405ed;},'uXKYJ':function(_0x584afa,_0x88850){return _0x584afa+_0x88850;},'hjMfc':function(_0x26bb24,_0x33ce57){return _0x26bb24&&_0x33ce57;},'MOwVK':function(_0x963133,_0x429ecc,_0x3938f1){return _0x963133(_0x429ecc,_0x3938f1);},'HJHdQ':function(_0x335903,_0x4a3085,_0x1c52dc){return _0x335903(_0x4a3085,_0x1c52dc);},'wXewl':function(_0x507b04,_0x14c695,_0x46ed37){return _0x507b04(_0x14c695,_0x46ed37);},'mWqVZ':_0x3cb1bd(0x1d1)},{isPlaywright:_0x4c2340,type:_0x46d784}=_0x20e017[_0x3cb1bd(0x1aa)](detectDriverType,_0x1ac749),_0x2acc8c=_0x4c2340?_0x39a7aa[_0x3cb1bd(0x16f)]:accessibilityHelper['isAccessibilityAutomationSession']()&&globals[_0x3cb1bd(0x1d3)](_0x20e017[_0x3cb1bd(0x154)])&&globals[_0x3cb1bd(0x1d3)](_0x20e017[_0x3cb1bd(0x207)]);if(!_0x2acc8c)return logger[_0x3cb1bd(0x1ca)](_0x3cb1bd(0x178)+_0x46d784+',\x20cannot\x20retrieve\x20Accessibility\x20results\x20with\x20retry.'),[];let _0x363c47=null;for(let _0x72b68=0x1;_0x20e017[_0x3cb1bd(0x199)](_0x72b68,_0x20e017[_0x3cb1bd(0x15f)](RETRY_CONFIG[_0x3cb1bd(0x1c5)],0x1));_0x72b68++){try{logger[_0x3cb1bd(0x15c)](_0x3cb1bd(0x1c2)+_0x72b68+'/'+_0x20e017[_0x3cb1bd(0x169)](RETRY_CONFIG[_0x3cb1bd(0x1c5)],0x1)+'\x20('+_0x46d784+')');let _0x3b84c1;return _0x20e017[_0x3cb1bd(0x1e9)](_0x4c2340,playwrightA11yHelper)?(_0x20e017['MOwVK'](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x3cb1bd(0x18b)](_0x1ac749,RETRY_CONFIG[_0x3cb1bd(0x1c1)]),_0x3b84c1=await _0x20e017['HJHdQ'](withTimeout,playwrightA11yHelper[_0x3cb1bd(0x1df)](_0x1ac749),RETRY_CONFIG['timeoutMs']),await exports[_0x3cb1bd(0x18b)](_0x1ac749,RETRY_CONFIG[_0x3cb1bd(0x17f)])):(await exports[_0x3cb1bd(0x1ef)](_0x1ac749,RETRY_CONFIG['timeoutMs']),_0x3b84c1=await _0x20e017[_0x3cb1bd(0x1ce)](withTimeout,accessibilityHelper['getAccessibilityResults'](_0x1ac749,_0x39a7aa),RETRY_CONFIG[_0x3cb1bd(0x1c1)]),await exports['setSeleniumScriptTimeout'](_0x1ac749,RETRY_CONFIG['defaultTimeoutMs'])),logger[_0x3cb1bd(0x149)](_0x3cb1bd(0x1d8)+_0x72b68+'\x20('+_0x46d784+')'),_0x3b84c1;}catch(_0x37faa9){_0x363c47=_0x37faa9,logger[_0x3cb1bd(0x1ca)](_0x3cb1bd(0x1c2)+_0x72b68+_0x3cb1bd(0x1c6)+_0x46d784+_0x3cb1bd(0x187)+_0x37faa9[_0x3cb1bd(0x196)]);}}return logger['error'](_0x3cb1bd(0x20a)+_0x46d784+_0x3cb1bd(0x209)+(_0x363c47?.[_0x3cb1bd(0x196)]||_0x20e017[_0x3cb1bd(0x17a)])),[];},exports['getAccessibilityResultsSummaryWithRetry']=async(_0x14c7b4,_0x16df1f)=>{const _0x4376b6=a95_0x533540,_0x2a1279={'svAUU':function(_0xb2c5e6,_0x4125e6){return _0xb2c5e6(_0x4125e6);},'VEEoj':'isAccessibilityPlatform','oPrHO':_0x4376b6(0x147),'ifcLn':function(_0x37b1b5,_0xa76372){return _0x37b1b5<=_0xa76372;},'JvUHx':function(_0x35c457,_0x115506){return _0x35c457+_0x115506;},'dZfmr':function(_0x4e92b9,_0x39375b){return _0x4e92b9+_0x39375b;},'HsIJi':function(_0x365972,_0x5482aa){return _0x365972&&_0x5482aa;},'wMxOq':function(_0x4793a6,_0x18a768,_0x24e84b){return _0x4793a6(_0x18a768,_0x24e84b);},'yPtPM':function(_0x583763,_0x297323,_0x34be7b){return _0x583763(_0x297323,_0x34be7b);},'mYyXM':function(_0x520cdf,_0x3c071b,_0x5f2493){return _0x520cdf(_0x3c071b,_0x5f2493);},'QZuFE':_0x4376b6(0x1d1)},{isPlaywright:_0x22c0ad,type:_0x5a2d88}=_0x2a1279[_0x4376b6(0x200)](detectDriverType,_0x14c7b4),_0x5e2025=_0x22c0ad?_0x16df1f[_0x4376b6(0x16f)]:accessibilityHelper[_0x4376b6(0x16b)]()&&globals[_0x4376b6(0x1d3)](_0x2a1279[_0x4376b6(0x19b)])&&globals['getGlobal'](_0x2a1279[_0x4376b6(0x17d)]);if(!_0x5e2025)return logger[_0x4376b6(0x1ca)](_0x4376b6(0x178)+_0x5a2d88+_0x4376b6(0x1bd)),{};let _0x35cf03=null;for(let _0x1f3830=0x1;_0x2a1279[_0x4376b6(0x1ed)](_0x1f3830,_0x2a1279[_0x4376b6(0x1e8)](RETRY_CONFIG['maxRetries'],0x1));_0x1f3830++){try{logger[_0x4376b6(0x15c)](_0x4376b6(0x1e4)+_0x1f3830+'/'+_0x2a1279[_0x4376b6(0x1d2)](RETRY_CONFIG[_0x4376b6(0x1c5)],0x1)+'\x20('+_0x5a2d88+')');let _0x2064ad;return _0x2a1279[_0x4376b6(0x141)](_0x22c0ad,playwrightA11yHelper)?(_0x2a1279[_0x4376b6(0x1a1)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x4376b6(0x18b)](_0x14c7b4,RETRY_CONFIG[_0x4376b6(0x1c1)]),_0x2064ad=await _0x2a1279[_0x4376b6(0x204)](withTimeout,playwrightA11yHelper[_0x4376b6(0x1bc)](_0x14c7b4),RETRY_CONFIG['timeoutMs']),await exports[_0x4376b6(0x18b)](_0x14c7b4,RETRY_CONFIG[_0x4376b6(0x17f)])):(await exports[_0x4376b6(0x1ef)](_0x14c7b4,RETRY_CONFIG[_0x4376b6(0x1c1)]),_0x2064ad=await _0x2a1279[_0x4376b6(0x20b)](withTimeout,accessibilityHelper[_0x4376b6(0x1bc)](_0x14c7b4,_0x16df1f),RETRY_CONFIG[_0x4376b6(0x1c1)]),await exports[_0x4376b6(0x1ef)](_0x14c7b4,RETRY_CONFIG[_0x4376b6(0x17f)])),logger[_0x4376b6(0x149)]('Accessibility\x20results\x20summary\x20retrieved\x20successfully\x20on\x20attempt\x20'+_0x1f3830+'\x20('+_0x5a2d88+')'),_0x2064ad;}catch(_0x3dbcd9){_0x35cf03=_0x3dbcd9,logger[_0x4376b6(0x1ca)](_0x4376b6(0x1e4)+_0x1f3830+_0x4376b6(0x1c6)+_0x5a2d88+').\x20Error:\x20'+_0x3dbcd9[_0x4376b6(0x196)]);}}return logger['error']('All\x20accessibility\x20results\x20summary\x20retrieval\x20attempts\x20failed\x20('+_0x5a2d88+_0x4376b6(0x209)+(_0x35cf03?.[_0x4376b6(0x196)]||_0x2a1279[_0x4376b6(0x173)])),{};},exports[a95_0x533540(0x1e7)]=async(_0xb2890f,_0xeda6b0,_0x321a1b=null)=>{const _0x8877ec=a95_0x533540,_0x56e86e={'wBMuw':function(_0x1ecd45,_0x473d86){return _0x1ecd45(_0x473d86);},'QTkXt':function(_0xe93c07,_0x24f968){return _0xe93c07===_0x24f968;},'qnXLX':_0x8877ec(0x19d),'zGBPx':function(_0x15435b,_0x21b036){return _0x15435b===_0x21b036;},'ySGox':function(_0x2b0187,_0x74a9b0){return _0x2b0187===_0x74a9b0;},'gbdaE':_0x8877ec(0x1a5),'OPavt':function(_0x337679,_0x49d98e){return _0x337679===_0x49d98e;},'NxyjK':_0x8877ec(0x181)},{isPlaywright:_0x355ace,type:_0x193616}=_0x56e86e['wBMuw'](detectDriverType,_0xb2890f),_0x3456d0={};_0x3456d0['scanSucceeded']=![],_0x3456d0[_0x8877ec(0x1e0)]=[],_0x3456d0[_0x8877ec(0x15d)]={},_0x3456d0[_0x8877ec(0x1f5)]=null,_0x3456d0[_0x8877ec(0x206)]=_0x193616;const _0x3ff510=_0x3456d0;try{_0x3ff510[_0x8877ec(0x190)]=await exports['performScanWithRetry'](_0xb2890f,_0x321a1b);if(_0x3ff510[_0x8877ec(0x190)]){const [_0x54dc5a,_0x185e58]=await Promise['allSettled']([exports[_0x8877ec(0x1cb)](_0xb2890f,_0xeda6b0),exports['getAccessibilityResultsSummaryWithRetry'](_0xb2890f,_0xeda6b0)]);_0x3ff510['results']=_0x56e86e[_0x8877ec(0x184)](_0x54dc5a['status'],_0x56e86e['qnXLX'])?_0x54dc5a[_0x8877ec(0x1f1)]:[],_0x3ff510[_0x8877ec(0x15d)]=_0x56e86e[_0x8877ec(0x1cc)](_0x185e58[_0x8877ec(0x1ac)],_0x56e86e[_0x8877ec(0x1be)])?_0x185e58[_0x8877ec(0x1f1)]:{},_0x56e86e[_0x8877ec(0x1b1)](_0x54dc5a[_0x8877ec(0x1ac)],_0x56e86e['gbdaE'])&&logger[_0x8877ec(0x1ca)](_0x8877ec(0x180)+_0x193616+'):\x20'+_0x54dc5a[_0x8877ec(0x16e)]?.['message']),_0x56e86e[_0x8877ec(0x19c)](_0x185e58[_0x8877ec(0x1ac)],_0x56e86e['gbdaE'])&&logger[_0x8877ec(0x1ca)]('Failed\x20to\x20retrieve\x20accessibility\x20summary\x20('+_0x193616+_0x8877ec(0x14d)+_0x185e58[_0x8877ec(0x16e)]?.[_0x8877ec(0x196)]);}}catch(_0x4692b2){_0x3ff510[_0x8877ec(0x1f5)]=_0x4692b2[_0x8877ec(0x196)]||_0x56e86e[_0x8877ec(0x1ad)],logger['error']('Comprehensive\x20accessibility\x20scan\x20failed\x20('+_0x193616+_0x8877ec(0x14d)+_0x3ff510[_0x8877ec(0x1f5)]);}return _0x3ff510;},exports[a95_0x533540(0x19e)]=_0x1b9974=>{const _0x5fbbf7=a95_0x533540,_0x2690be={};_0x2690be['LKNiu']=function(_0x2d3f71,_0x5668e3){return _0x2d3f71!==_0x5668e3;},_0x2690be[_0x5fbbf7(0x14f)]=function(_0x23757c,_0x639133){return _0x23757c!==_0x639133;};const _0x4b9ec5=_0x2690be;_0x4b9ec5[_0x5fbbf7(0x16a)](_0x1b9974['maxRetries'],undefined)&&(RETRY_CONFIG[_0x5fbbf7(0x1c5)]=Math[_0x5fbbf7(0x1eb)](0x0,_0x1b9974[_0x5fbbf7(0x1c5)])),_0x4b9ec5['RLVot'](_0x1b9974['timeoutMs'],undefined)&&(RETRY_CONFIG[_0x5fbbf7(0x1c1)]=Math[_0x5fbbf7(0x1eb)](0x3e8,_0x1b9974[_0x5fbbf7(0x1c1)])),logger[_0x5fbbf7(0x15c)](_0x5fbbf7(0x1a2)+JSON['stringify'](RETRY_CONFIG));},exports[a95_0x533540(0x165)]=()=>{const _0x2a6fbb={...RETRY_CONFIG};return _0x2a6fbb;},exports['isPlaywrightPage']=_0x20434e=>{const _0x46293f=a95_0x533540,_0x3885b4={'lINTu':function(_0x14aa4c,_0x348e64){return _0x14aa4c(_0x348e64);}};return _0x3885b4[_0x46293f(0x164)](detectDriverType,_0x20434e)['isPlaywright'];},exports['isSeleniumDriver']=_0x419d34=>{const _0x4931bf=a95_0x533540,_0x2b084e={'zNJyI':function(_0x1a4849,_0x4ed116){return _0x1a4849(_0x4ed116);},'dqWFX':function(_0x197267,_0x1ce650){return _0x197267===_0x1ce650;},'aZOcW':'selenium-webdriver'},{isPlaywright:_0x721051,type:_0x3f596d}=_0x2b084e[_0x4931bf(0x1a6)](detectDriverType,_0x419d34);return!_0x721051&&_0x2b084e[_0x4931bf(0x1bb)](_0x3f596d,_0x2b084e['aZOcW']);},exports[a95_0x533540(0x18b)]=async(_0x5a705e,_0x5b0099=null)=>{const _0x3746dd=a95_0x533540,_0x45c66b={'QqpTH':function(_0x3bd90e,_0x1b4b52){return _0x3bd90e(_0x1b4b52);},'pSQwu':function(_0x2f646e,_0x38aab6){return _0x2f646e===_0x38aab6;},'OIBgV':'function'},{isPlaywright:_0x36a8a0,type:_0x369422}=_0x45c66b['QqpTH'](detectDriverType,_0x5a705e);if(!_0x36a8a0)return logger[_0x3746dd(0x15c)](_0x3746dd(0x1b8)+_0x369422+_0x3746dd(0x19f)),!![];const _0x4bf776=_0x5b0099||RETRY_CONFIG['defaultTimeoutMs'];try{return _0x5a705e&&_0x45c66b[_0x3746dd(0x162)](typeof _0x5a705e[_0x3746dd(0x171)],_0x45c66b['OIBgV'])&&(await _0x5a705e[_0x3746dd(0x171)](_0x4bf776),logger[_0x3746dd(0x15c)]('Set\x20Playwright\x20page\x20default\x20timeout\x20to\x20'+_0x4bf776+'ms')),!![];}catch(_0x505ad5){return logger[_0x3746dd(0x1ca)](_0x3746dd(0x201)+_0x505ad5[_0x3746dd(0x196)]),![];}},exports['setSeleniumScriptTimeout']=async(_0x19643f,_0x18f383=null)=>{const _0x50a1f1=a95_0x533540,_0x58bbf8={};_0x58bbf8['nYsib']=_0x50a1f1(0x177),_0x58bbf8[_0x50a1f1(0x208)]=function(_0x47ecbb,_0x8d00bc){return _0x47ecbb===_0x8d00bc;},_0x58bbf8[_0x50a1f1(0x1dd)]=_0x50a1f1(0x1d0),_0x58bbf8[_0x50a1f1(0x1ff)]=function(_0x4630dc,_0x4009a2){return _0x4630dc===_0x4009a2;},_0x58bbf8['AKbsc']=_0x50a1f1(0x1f4),_0x58bbf8[_0x50a1f1(0x18c)]=_0x50a1f1(0x18d);const _0x55cd46=_0x58bbf8;if(!exports[_0x50a1f1(0x1fe)](_0x19643f))return logger['warn'](_0x55cd46[_0x50a1f1(0x1e1)]),![];const _0x568bb5=_0x18f383||RETRY_CONFIG[_0x50a1f1(0x17f)];try{if(_0x19643f&&_0x55cd46[_0x50a1f1(0x208)](typeof _0x19643f['manage'],_0x55cd46[_0x50a1f1(0x1dd)])){const _0x57514e=_0x19643f[_0x50a1f1(0x1ab)]();if(_0x57514e&&_0x55cd46['dyIeB'](typeof _0x57514e['timeouts'],_0x55cd46['oWvZn']))await _0x57514e[_0x50a1f1(0x1f0)]()[_0x50a1f1(0x1fd)](_0x568bb5),logger[_0x50a1f1(0x15c)](_0x50a1f1(0x152)+_0x568bb5+_0x50a1f1(0x1b9));else{if(_0x57514e&&_0x55cd46[_0x50a1f1(0x208)](typeof _0x57514e[_0x50a1f1(0x1f8)],_0x55cd46['oWvZn'])){const _0x58e3f1={};_0x58e3f1['script']=_0x568bb5,await _0x57514e['setTimeouts'](_0x58e3f1),logger[_0x50a1f1(0x15c)](_0x50a1f1(0x152)+_0x568bb5+_0x50a1f1(0x1ae));}else{if(_0x57514e&&_0x55cd46['WvtXt'](typeof _0x57514e[_0x50a1f1(0x1fd)],_0x55cd46[_0x50a1f1(0x1dd)]))await _0x57514e[_0x50a1f1(0x1fd)](_0x568bb5),logger[_0x50a1f1(0x15c)](_0x50a1f1(0x152)+_0x568bb5+_0x50a1f1(0x163));else return logger[_0x50a1f1(0x15c)](_0x55cd46[_0x50a1f1(0x202)]),!![];}}}else return logger[_0x50a1f1(0x15c)](_0x55cd46['bcVlU']),!![];return!![];}catch(_0x52df4f){return logger[_0x50a1f1(0x1ca)](_0x50a1f1(0x191)+_0x52df4f[_0x50a1f1(0x196)]),![];}},exports['saveAccessibilityResultsWithRetry']=async(_0x2e598b,_0xdc05a5)=>{const _0x1d5fd6=a95_0x533540,_0x4c8749={'yvsVi':function(_0x133af7,_0x2edfe3){return _0x133af7(_0x2edfe3);},'uebff':_0x1d5fd6(0x1fa),'TERjc':_0x1d5fd6(0x147),'RlYqD':function(_0x31f17c,_0x59d81e){return _0x31f17c<=_0x59d81e;},'wKoxq':function(_0x35e432,_0x3fc140){return _0x35e432+_0x3fc140;},'PKEur':function(_0x225f03,_0x405604){return _0x225f03+_0x405604;},'lnyuE':function(_0xd90fa,_0x1ecb46){return _0xd90fa&&_0x1ecb46;},'JEFHU':function(_0x4f730d,_0x33479c,_0x5b17c6){return _0x4f730d(_0x33479c,_0x5b17c6);},'melUC':_0x1d5fd6(0x1d1)},{isPlaywright:_0x3e899b,type:_0x3f19de}=_0x4c8749[_0x1d5fd6(0x18f)](detectDriverType,_0x2e598b),_0x52c5eb=_0x3e899b?global[_0x1d5fd6(0x16f)]:accessibilityHelper[_0x1d5fd6(0x16b)]()&&globals[_0x1d5fd6(0x1d3)](_0x4c8749[_0x1d5fd6(0x1f7)])&&globals[_0x1d5fd6(0x1d3)](_0x4c8749[_0x1d5fd6(0x15b)]);if(!_0x52c5eb)return logger['warn']('Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20'+_0x3f19de+_0x1d5fd6(0x1ba)),![];let _0x36d3b5=null;for(let _0x46e382=0x1;_0x4c8749[_0x1d5fd6(0x1f2)](_0x46e382,_0x4c8749[_0x1d5fd6(0x185)](RETRY_CONFIG[_0x1d5fd6(0x1c5)],0x1));_0x46e382++){try{return logger[_0x1d5fd6(0x15c)](_0x1d5fd6(0x1e5)+_0x46e382+'/'+_0x4c8749[_0x1d5fd6(0x145)](RETRY_CONFIG[_0x1d5fd6(0x1c5)],0x1)+'\x20('+_0x3f19de+')'),_0x4c8749['lnyuE'](_0x3e899b,playwrightA11yHelper)?(_0x4c8749[_0x1d5fd6(0x144)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x1d5fd6(0x18b)](_0x2e598b,RETRY_CONFIG[_0x1d5fd6(0x1c1)]),await _0x4c8749[_0x1d5fd6(0x144)](withTimeout,playwrightA11yHelper['browserStackEvaluate'](_0x2e598b,scripts[_0x1d5fd6(0x1de)],_0xdc05a5),RETRY_CONFIG[_0x1d5fd6(0x1c1)]),await exports[_0x1d5fd6(0x18b)](_0x2e598b,RETRY_CONFIG[_0x1d5fd6(0x17f)])):(await exports[_0x1d5fd6(0x1ef)](_0x2e598b,RETRY_CONFIG[_0x1d5fd6(0x1c1)]),await _0x4c8749[_0x1d5fd6(0x144)](withTimeout,_0x2e598b[_0x1d5fd6(0x1c4)](scripts[_0x1d5fd6(0x1de)],_0xdc05a5),RETRY_CONFIG['timeoutMs']),await exports['setSeleniumScriptTimeout'](_0x2e598b,RETRY_CONFIG[_0x1d5fd6(0x17f)])),logger[_0x1d5fd6(0x149)](_0x1d5fd6(0x1c0)+_0x46e382+'\x20('+_0x3f19de+')'),!![];}catch(_0x195f1a){_0x36d3b5=_0x195f1a,logger['warn']('Accessibility\x20results\x20save\x20attempt\x20'+_0x46e382+_0x1d5fd6(0x1c6)+_0x3f19de+_0x1d5fd6(0x187)+_0x195f1a[_0x1d5fd6(0x196)]);}}return logger['error'](_0x1d5fd6(0x203)+_0x3f19de+_0x1d5fd6(0x209)+(_0x36d3b5?.['message']||_0x4c8749[_0x1d5fd6(0x153)])),![];};
|
|
1
|
+
const a95_0x567c67=a95_0x4319;(function(_0x26b598,_0x1a1b91){const _0x568393=a95_0x4319,_0x56813d=_0x26b598();while(!![]){try{const _0x4baaff=parseInt(_0x568393(0xb4))/0x1+parseInt(_0x568393(0x69))/0x2+-parseInt(_0x568393(0xba))/0x3*(parseInt(_0x568393(0xa7))/0x4)+parseInt(_0x568393(0xd3))/0x5*(parseInt(_0x568393(0x11e))/0x6)+-parseInt(_0x568393(0x81))/0x7+-parseInt(_0x568393(0x6f))/0x8+parseInt(_0x568393(0x92))/0x9;if(_0x4baaff===_0x1a1b91)break;else _0x56813d['push'](_0x56813d['shift']());}catch(_0x4a9ea5){_0x56813d['push'](_0x56813d['shift']());}}}(a95_0x250d,0xe421e));const util=require(a95_0x567c67(0xb7)),logger=require(a95_0x567c67(0xfa))['winstonLogger'],accessibilityHelper=require(a95_0x567c67(0x67)),globals=require(a95_0x567c67(0xa5)),scripts=require(a95_0x567c67(0xe5)),PerformanceTester=require('../performance/performance-tester'),{A11Y_EVENTS:PerformanceA11yEvents}=require(a95_0x567c67(0xe9)),BrowserstackCLI=require(a95_0x567c67(0xaa));let playwrightA11yHelper=null;try{playwrightA11yHelper=require(a95_0x567c67(0xcb));}catch(a95_0x4267da){logger[a95_0x567c67(0x7d)](a95_0x567c67(0xf3));}const a95_0x2aafc7={};function a95_0x4319(_0x5cc7c0,_0xe4c124){const _0x250d17=a95_0x250d();return a95_0x4319=function(_0x4319f5,_0x22cd07){_0x4319f5=_0x4319f5-0x64;let _0x2376f9=_0x250d17[_0x4319f5];return _0x2376f9;},a95_0x4319(_0x5cc7c0,_0xe4c124);}function a95_0x250d(){const _0x3a1503=['tKjkH','12LUmXaG','All\x20accessibility\x20results\x20retrieval\x20attempts\x20failed\x20(','uTjxs','../../bin/v2/browserstackCLI','hXMId','Selenium\x20WebDriver\x20timeout\x20API\x20not\x20available,\x20skipping\x20timeout\x20setting','LCaoS','mHdDx','type','BjIoQ','UPlTi','defaultTimeoutMs','isPlaywright','71439XaYtjw','SXIIz','evaluate','util','OmOhB','PSRcV','253458IqWhoK','reJgh','\x20failed\x20for\x20method:\x20','stringify','bstackA11yScanOptions','fvwWO','bgJcL','oTjRg','nMQOk','browserstackSessionName','Failed\x20to\x20set\x20Selenium\x20script\x20timeout:\x20','QvjCq','Comprehensive\x20accessibility\x20scan\x20failed\x20(','cjYdM','Unknown\x20error\x20during\x20comprehensive\x20accessibility\x20scan','tHodI','Ekjua','../../bin/playwright/accessibility-helper','REAdB','max','AQLds','hXUpQ','warn','accessibilityPlatform','setPlaywrightScriptTimeout','213595qDRZkG','qIGIn','url','uloEs','options','Set\x20Playwright\x20page\x20default\x20timeout\x20to\x20','error','performComprehensiveAccessibilityScanWithRetry','isAccessibilityPlatform','ZGWGP','getAccessibilityResultsWithRetry','script',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary\x20with\x20retry.','BtshP','ms\x20using\x20setTimeouts\x20API','vIZsq','Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20','env','./scripts','Cannot\x20set\x20script\x20timeout:\x20not\x20a\x20Selenium\x20WebDriver','iXRpc','Unknown\x20error','../performance/constants','WebDriver','IDuTA','capabilitiesList','ZlQDx','scanSucceeded','aTNTE','getGlobal','hDofn','tvkPg','Playwright\x20accessibility\x20helper\x20not\x20available','qAZDt','yeQsg','results','aCvEV','tWYnA','name','../logger',').\x20Last\x20error:\x20','bstackA11yShouldScan','getCurrentUrl','setScriptTimeout','playwright-codecept-driver','page','message','eSAmI','Failed\x20to\x20retrieve\x20accessibility\x20summary\x20(','Accessibility\x20results\x20save\x20attempt\x20','kXjQL','WYarR','isPlaywrightPage','saveTestResults','allSettled','aCGIo','__workerDetails','EwGWE','setDefaultTimeout',',\x20cannot\x20perform\x20scan\x20with\x20retry.','isSeleniumDriver','ofslv','getAccessibilityResultsSummary','):\x20','performScan',')\x20with\x20error:\x20','[Accessibility]\x20Scan\x20skipped\x20-\x20scanning\x20is\x20currently\x20disabled\x20(partial\x20scan\x20mode)','setSeleniumScriptTimeout','\x20for\x20method:\x20','txYeC','Skipping\x20timeout\x20setting\x20for\x20','getAccessibilityResults','Smkig','value',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20with\x20retry.','12HgZSuG','slPMl','Failed\x20to\x20set\x20Playwright\x20script\x20timeout:\x20','isAccessibilityAutomationSession','browserStackEvaluate','All\x20accessibility\x20scan\x20attempts\x20failed\x20for\x20method:\x20','dOYfv','BzGty','wuSLD','updateRetryConfig','constructor','gUMgj','getAccessibilityModule','Failed\x20to\x20retrieve\x20accessibility\x20results\x20(','reason','./helper','executeAsyncScript','1838932TjGlie','BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT','performScanWithRetry','Accessibility\x20scan\x20attempt\x20','jqgoN','Selenium\x20WebDriver\x20manage()\x20method\x20not\x20available,\x20skipping\x20timeout\x20setting','8217600eyaHSp','SrTSL','lYtjI','All\x20accessibility\x20results\x20summary\x20retrieval\x20attempts\x20failed\x20(','timeouts',',\x20cannot\x20save\x20accessibility\x20results\x20with\x20retry.','summary','rejected','getInstance','zhsua','info','ms\x20using\x20timeouts()\x20API','vwUBa','status','debug','DICjW','BjpSt','function','11342044lKQYUX','setTimeouts','LITBd','tFFny','Accessibility\x20retry\x20configuration\x20updated:\x20','oQLbY','getRetryConfig','getCapabilities','currentTest','yfhRJ','unknown_method','gFqdu','timeoutMs','PyMbv','epgmI','ywYwn','Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20','24831333SFBkAw','maxRetries','OcfQV','getAccessibilityResultsSummaryWithRetry','hrvFD','race','tlmqX','Accessibility\x20results\x20retrieval\x20attempt\x20','GzVlA','manage','isRunning',').\x20Error:\x20','undefined','oBqPg','All\x20accessibility\x20results\x20save\x20attempts\x20failed\x20(','\x20failed\x20(','measureWrapper','jiFRB','Playwright','../globals'];a95_0x250d=function(){return _0x3a1503;};return a95_0x250d();}a95_0x2aafc7['maxRetries']=0x1,a95_0x2aafc7[a95_0x567c67(0x8d)]=0x7530,a95_0x2aafc7['defaultTimeoutMs']=0x7530;const RETRY_CONFIG=a95_0x2aafc7,setConfigTimeout=(_0x474862,_0x26fb4d=null)=>{const _0x580ba8=a95_0x567c67,_0x2f47d7={'kXjQL':function(_0x43e179,_0x54acb7){return _0x43e179===_0x54acb7;},'jMweI':'scannerProcessingTimeout','gUMgj':function(_0x482b65,_0x9a9d09){return _0x482b65*_0x9a9d09;},'BzGty':function(_0x4e6f3a,_0x561ebc){return _0x4e6f3a(_0x561ebc);},'OcfQV':function(_0x26c187,_0x12c4fd){return _0x26c187*_0x12c4fd;}};if(BrowserstackCLI[_0x580ba8(0x77)]()[_0x580ba8(0x9c)]()&&BrowserstackCLI[_0x580ba8(0x77)]()[_0x580ba8(0x64)]()){const _0x69ac12=BrowserstackCLI['getInstance']()['getAccessibilityModule']()['accessibilityConfig'],_0x4f769a=_0x69ac12[_0x580ba8(0xd7)][_0x580ba8(0xec)]||[];for(const _0x285dde of _0x4f769a){_0x2f47d7[_0x580ba8(0x105)](_0x285dde[_0x580ba8(0xf9)],_0x2f47d7['jMweI'])&&_0x2f47d7[_0x580ba8(0x105)](_0x26fb4d,null)&&(_0x474862[_0x580ba8(0x8d)]=_0x2f47d7[_0x580ba8(0x129)](_0x2f47d7[_0x580ba8(0x125)](parseInt,_0x285dde[_0x580ba8(0x11c)]),0x3e8));}}else process[_0x580ba8(0xe4)][_0x580ba8(0x6a)]&&(_0x474862[_0x580ba8(0x8d)]=_0x2f47d7[_0x580ba8(0x94)](_0x2f47d7['BzGty'](parseInt,process[_0x580ba8(0xe4)]['BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT']),0x3e8));},detectDriverType=_0x4d8e22=>{const _0x2e2766=a95_0x567c67,_0x28e25d={};_0x28e25d[_0x2e2766(0x9a)]='unknown',_0x28e25d[_0x2e2766(0xad)]=function(_0x3244b4,_0x41f0fb){return _0x3244b4===_0x41f0fb;},_0x28e25d[_0x2e2766(0x98)]=_0x2e2766(0x80),_0x28e25d[_0x2e2766(0x102)]=function(_0x3a25f9,_0x19b654){return _0x3a25f9===_0x19b654;},_0x28e25d[_0x2e2766(0xb1)]='playwright-page',_0x28e25d[_0x2e2766(0x118)]=function(_0x20c708,_0x5b4575){return _0x20c708===_0x5b4575;},_0x28e25d['tHodI']='selenium-webdriver',_0x28e25d['nMQOk']='Page',_0x28e25d[_0x2e2766(0xf8)]=function(_0x1f6eba,_0xd71e28){return _0x1f6eba===_0xd71e28;},_0x28e25d['FXMIi']=_0x2e2766(0xea),_0x28e25d[_0x2e2766(0x96)]=function(_0xcebe6b,_0x51dfac){return _0xcebe6b===_0x51dfac;},_0x28e25d[_0x2e2766(0x83)]=_0x2e2766(0xa4),_0x28e25d['SoLNS']=_0x2e2766(0xff),_0x28e25d['QESwo']=function(_0x3fcacd,_0x2d99b7){return _0x3fcacd||_0x2d99b7;},_0x28e25d[_0x2e2766(0xca)]=_0x2e2766(0x9e);const _0x4e97e2=_0x28e25d;if(!_0x4d8e22){const _0x15def5={};return _0x15def5[_0x2e2766(0xb3)]=![],_0x15def5[_0x2e2766(0xaf)]=_0x4e97e2[_0x2e2766(0x9a)],_0x15def5;}if(_0x4e97e2[_0x2e2766(0xad)](typeof _0x4d8e22[_0x2e2766(0xb6)],_0x4e97e2[_0x2e2766(0x98)])&&_0x4e97e2[_0x2e2766(0xad)](typeof _0x4d8e22[_0x2e2766(0xd5)],_0x4e97e2[_0x2e2766(0x98)])&&_0x4e97e2[_0x2e2766(0x102)](typeof _0x4d8e22['goto'],_0x4e97e2[_0x2e2766(0x98)])){const _0x22fe09={};return _0x22fe09[_0x2e2766(0xb3)]=!![],_0x22fe09[_0x2e2766(0xaf)]=_0x4e97e2[_0x2e2766(0xb1)],_0x22fe09;}if(_0x4e97e2[_0x2e2766(0x102)](typeof _0x4d8e22['executeAsyncScript'],_0x4e97e2['tlmqX'])&&_0x4e97e2[_0x2e2766(0x118)](typeof _0x4d8e22[_0x2e2766(0x88)],_0x4e97e2['tlmqX'])){const _0x1bb8dd={};return _0x1bb8dd[_0x2e2766(0xb3)]=![],_0x1bb8dd[_0x2e2766(0xaf)]=_0x4e97e2['tHodI'],_0x1bb8dd;}const _0x12c1b0=_0x4d8e22[_0x2e2766(0x128)]?.[_0x2e2766(0xf9)];if(_0x4e97e2[_0x2e2766(0x102)](_0x12c1b0,_0x4e97e2[_0x2e2766(0xc2)])){const _0x13cea8={};return _0x13cea8[_0x2e2766(0xb3)]=!![],_0x13cea8[_0x2e2766(0xaf)]=_0x4e97e2[_0x2e2766(0xb1)],_0x13cea8;}if(_0x4e97e2[_0x2e2766(0xf8)](_0x12c1b0,_0x4e97e2['FXMIi'])){const _0x2617dd={};return _0x2617dd['isPlaywright']=![],_0x2617dd[_0x2e2766(0xaf)]=_0x4e97e2[_0x2e2766(0xc9)],_0x2617dd;}if(_0x4e97e2[_0x2e2766(0x96)](_0x12c1b0,_0x4e97e2[_0x2e2766(0x83)])){const _0x350358={};return _0x350358[_0x2e2766(0xb3)]=!![],_0x350358['type']=_0x4e97e2['SoLNS'],_0x350358;}logger[_0x2e2766(0xd0)]('Unknown\x20driver/page\x20type:\x20'+_0x4e97e2['QESwo'](_0x12c1b0,_0x4e97e2[_0x2e2766(0xca)]));const _0x109d25={};return _0x109d25[_0x2e2766(0xb3)]=![],_0x109d25[_0x2e2766(0xaf)]=_0x4e97e2['GzVlA'],_0x109d25;},withTimeout=(_0x3510cf,_0x19f72c)=>{const _0x2d176f=a95_0x567c67;return Promise[_0x2d176f(0x97)]([_0x3510cf,new Promise((_0x4f1815,_0x5dd34c)=>setTimeout(()=>_0x5dd34c(new Error('Operation\x20timed\x20out\x20after\x20'+_0x19f72c+'ms')),_0x19f72c))]);};exports[a95_0x567c67(0x6b)]=async(_0x15653e,_0x30125d=null,_0x5f4929=null,_0x89272c=![],_0x53eb43=null)=>{const _0x3dbe9f=a95_0x567c67,_0x3d8bba={'vIZsq':function(_0x2eac25,_0x47493e){return _0x2eac25&&_0x47493e;},'oQLbY':function(_0x48686f,_0x5ed105,_0x2fd022){return _0x48686f(_0x5ed105,_0x2fd022);},'Smkig':function(_0x3c98aa,_0x10da63){return _0x3c98aa===_0x10da63;},'lYtjI':_0x3dbe9f(0xff),'jiFRB':function(_0x3a131b,_0x452dc1,_0x3b9dac){return _0x3a131b(_0x452dc1,_0x3b9dac);},'gFqdu':function(_0x22eade,_0x5a6dde){return _0x22eade(_0x5a6dde);},'cjYdM':function(_0x1cd85c,_0x262be8){return _0x1cd85c||_0x262be8;},'yeQsg':_0x3dbe9f(0xdb),'tFFny':function(_0x3cefc6,_0x5e1bef){return _0x3cefc6!==_0x5e1bef;},'hXUpQ':_0x3dbe9f(0xfc),'aCvEV':_0x3dbe9f(0x115),'Rwmay':_0x3dbe9f(0x8b),'ZlQDx':'function','QvjCq':function(_0x486543,_0x55e932){return _0x486543===_0x55e932;},'bgJcL':function(_0x33f1e7,_0x407f0e){return _0x33f1e7<=_0x407f0e;},'PSRcV':function(_0x5bb778,_0x26dfdd){return _0x5bb778+_0x26dfdd;},'hXMId':_0x3dbe9f(0xe8)},{isPlaywright:_0xf80c01,type:_0x48ee0d}=_0x3d8bba[_0x3dbe9f(0x8c)](detectDriverType,_0x15653e),_0x453368=_0x89272c?_0x3d8bba[_0x3dbe9f(0xc7)](_0x53eb43,{}):global[_0x3dbe9f(0xbe)]||{},_0x14748b=_0xf80c01?global[_0x3dbe9f(0xd1)]&&(_0x89272c||_0x3d8bba['Smkig'](global[_0x3dbe9f(0xfc)],!![])):accessibilityHelper[_0x3dbe9f(0x121)]()&&globals[_0x3dbe9f(0xf0)](_0x3d8bba['yeQsg'])&&(_0x89272c||_0x3d8bba[_0x3dbe9f(0x84)](globals['getGlobal'](_0x3d8bba['hXUpQ']),![]));if(!_0x14748b)return _0xf80c01&&global[_0x3dbe9f(0xd1)]&&_0x3d8bba[_0x3dbe9f(0x11b)](global[_0x3dbe9f(0xfc)],![])||!_0xf80c01&&globals['getGlobal'](_0x3d8bba[_0x3dbe9f(0xf5)])&&_0x3d8bba['Smkig'](globals['getGlobal'](_0x3d8bba[_0x3dbe9f(0xcf)]),![])?logger['debug'](_0x3d8bba[_0x3dbe9f(0xf7)]):logger[_0x3dbe9f(0xd0)](_0x3dbe9f(0x91)+_0x48ee0d+_0x3dbe9f(0x10e)),![];const _0x208010=_0x30125d||global[_0x3dbe9f(0xc3)]||_0x3d8bba['Rwmay'];let _0x1280d8=null;const _0x192c11={'testhub_btcer_uuid':global[_0x3dbe9f(0x10b)]?.[_0x3dbe9f(0x89)]?.['id'],'url':_0x3d8bba[_0x3dbe9f(0x11b)](typeof _0x15653e['url'],_0x3d8bba[_0x3dbe9f(0xed)])?await _0x15653e[_0x3dbe9f(0xd5)]():_0x3d8bba[_0x3dbe9f(0x11b)](typeof _0x15653e[_0x3dbe9f(0xfd)],_0x3d8bba['ZlQDx'])?await _0x15653e[_0x3dbe9f(0xfd)]():'','automate_session_id':_0x3d8bba[_0x3dbe9f(0xc5)](typeof _0x15653e['getSession'],_0x3d8bba[_0x3dbe9f(0xed)])?(await _0x15653e['getSession']())['getId']():''};for(let _0x3cb307=0x1;_0x3d8bba[_0x3dbe9f(0xc0)](_0x3cb307,_0x3d8bba['PSRcV'](RETRY_CONFIG[_0x3dbe9f(0x93)],0x1));_0x3cb307++){try{return logger['debug'](_0x3dbe9f(0x6c)+_0x3cb307+'/'+_0x3d8bba[_0x3dbe9f(0xb9)](RETRY_CONFIG[_0x3dbe9f(0x93)],0x1)+_0x3dbe9f(0x117)+_0x208010+'\x20('+_0x48ee0d+')'),await PerformanceTester[_0x3dbe9f(0xa2)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x5245fb=_0x3dbe9f;let _0x8b8df1;if(_0x3d8bba[_0x5245fb(0xe2)](_0xf80c01,playwrightA11yHelper)){_0x3d8bba[_0x5245fb(0x86)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x5245fb(0xd2)](_0x15653e,RETRY_CONFIG[_0x5245fb(0x8d)]);let _0x2a8e95=_0x15653e;_0x3d8bba[_0x5245fb(0x11b)](_0x48ee0d,_0x3d8bba[_0x5245fb(0x71)])&&(_0x2a8e95=_0x15653e[_0x5245fb(0x100)]),_0x8b8df1=await _0x3d8bba[_0x5245fb(0xa3)](withTimeout,playwrightA11yHelper['performScan'](_0x2a8e95,_0x208010,_0x453368),RETRY_CONFIG[_0x5245fb(0x8d)]),await exports[_0x5245fb(0xd2)](_0x15653e,RETRY_CONFIG[_0x5245fb(0xb2)]);}else await exports[_0x5245fb(0x116)](_0x15653e,RETRY_CONFIG[_0x5245fb(0x8d)]),_0x8b8df1=await _0x3d8bba['jiFRB'](withTimeout,accessibilityHelper[_0x5245fb(0x113)](_0x15653e,_0x208010,_0x89272c,_0x453368),RETRY_CONFIG[_0x5245fb(0x8d)]),await exports[_0x5245fb(0x116)](_0x15653e,RETRY_CONFIG[_0x5245fb(0xb2)]);logger['debug']('Scan\x20attempt\x20'+_0x3cb307+'\x20completed\x20successfully.');},{'command':_0x208010,..._0x192c11})(),logger['info']('Accessibility\x20scan\x20succeeded\x20on\x20attempt\x20'+_0x3cb307+'.'),!![];}catch(_0x4ea421){_0x1280d8=_0x4ea421,logger['debug'](_0x3dbe9f(0x6c)+_0x3cb307+_0x3dbe9f(0xbc)+_0x208010+'\x20('+_0x48ee0d+').\x20Error:\x20'+_0x4ea421[_0x3dbe9f(0x101)]);}}return logger[_0x3dbe9f(0xd9)](_0x3dbe9f(0x123)+_0x208010+'\x20('+_0x48ee0d+_0x3dbe9f(0x114)+(_0x1280d8?.[_0x3dbe9f(0x101)]||_0x3d8bba[_0x3dbe9f(0xab)])),![];},exports[a95_0x567c67(0xdd)]=async(_0x5b2b13,_0x167225)=>{const _0x41f145=a95_0x567c67,_0x323718={'aCGIo':function(_0x4b58be,_0x2689eb){return _0x4b58be(_0x2689eb);},'jqgoN':_0x41f145(0xdb),'LHTiA':function(_0x421069,_0x1bf993){return _0x421069<=_0x1bf993;},'PyMbv':function(_0x33a006,_0x210bc8){return _0x33a006+_0x210bc8;},'BjIoQ':function(_0x430f55,_0x1f93ff){return _0x430f55+_0x1f93ff;},'MwlIe':function(_0x38ef70,_0x34e396){return _0x38ef70&&_0x34e396;},'uTjxs':function(_0x4611df,_0x1b4f73,_0x2a9e64){return _0x4611df(_0x1b4f73,_0x2a9e64);},'IDuTA':function(_0x368f6a,_0x303134,_0x29285e){return _0x368f6a(_0x303134,_0x29285e);},'TBZPT':function(_0x4bcfea,_0x1a39a0,_0x141255){return _0x4bcfea(_0x1a39a0,_0x141255);},'fvwWO':'Unknown\x20error'},{isPlaywright:_0x4822db,type:_0x3083ee}=_0x323718[_0x41f145(0x10a)](detectDriverType,_0x5b2b13),_0x535e06=_0x4822db?_0x167225[_0x41f145(0xd1)]:accessibilityHelper[_0x41f145(0x121)]()&&globals[_0x41f145(0xf0)](_0x323718[_0x41f145(0x6d)]);if(!_0x535e06)return logger[_0x41f145(0xd0)](_0x41f145(0x91)+_0x3083ee+_0x41f145(0x11d)),[];let _0x18d5d8=null;for(let _0x2a3dc6=0x1;_0x323718['LHTiA'](_0x2a3dc6,_0x323718[_0x41f145(0x8e)](RETRY_CONFIG[_0x41f145(0x93)],0x1));_0x2a3dc6++){try{logger[_0x41f145(0x7d)](_0x41f145(0x99)+_0x2a3dc6+'/'+_0x323718[_0x41f145(0xb0)](RETRY_CONFIG[_0x41f145(0x93)],0x1)+'\x20('+_0x3083ee+')');let _0x4f22ee;return _0x323718['MwlIe'](_0x4822db,playwrightA11yHelper)?(_0x323718[_0x41f145(0xa9)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x41f145(0xd2)](_0x5b2b13,RETRY_CONFIG[_0x41f145(0x8d)]),_0x4f22ee=await _0x323718[_0x41f145(0xeb)](withTimeout,playwrightA11yHelper[_0x41f145(0x11a)](_0x5b2b13),RETRY_CONFIG[_0x41f145(0x8d)]),await exports[_0x41f145(0xd2)](_0x5b2b13,RETRY_CONFIG[_0x41f145(0xb2)])):(await exports['setSeleniumScriptTimeout'](_0x5b2b13,RETRY_CONFIG[_0x41f145(0x8d)]),_0x4f22ee=await _0x323718['TBZPT'](withTimeout,accessibilityHelper['getAccessibilityResults'](_0x5b2b13,_0x167225),RETRY_CONFIG['timeoutMs']),await exports[_0x41f145(0x116)](_0x5b2b13,RETRY_CONFIG[_0x41f145(0xb2)])),logger['info']('Accessibility\x20results\x20retrieved\x20successfully\x20on\x20attempt\x20'+_0x2a3dc6+'\x20('+_0x3083ee+')'),_0x4f22ee;}catch(_0x52be2e){_0x18d5d8=_0x52be2e,logger[_0x41f145(0xd0)](_0x41f145(0x99)+_0x2a3dc6+_0x41f145(0xa1)+_0x3083ee+_0x41f145(0x9d)+_0x52be2e[_0x41f145(0x101)]);}}return logger[_0x41f145(0xd9)](_0x41f145(0xa8)+_0x3083ee+_0x41f145(0xfb)+(_0x18d5d8?.[_0x41f145(0x101)]||_0x323718[_0x41f145(0xbf)])),[];},exports[a95_0x567c67(0x95)]=async(_0x524c08,_0x1267dc)=>{const _0x578921=a95_0x567c67,_0x2e8f25={'qAZDt':function(_0x168593,_0x4f3949){return _0x168593(_0x4f3949);},'wuSLD':_0x578921(0xdb),'BnBwU':function(_0x50a2a8,_0x5f478e){return _0x50a2a8<=_0x5f478e;},'tKjkH':function(_0x40ac05,_0x11a31a){return _0x40ac05+_0x11a31a;},'AQLds':function(_0x53f13a,_0x5e869d){return _0x53f13a+_0x5e869d;},'epgmI':function(_0x28e9ee,_0x120989){return _0x28e9ee&&_0x120989;},'ofslv':function(_0x24ef16,_0x221fe6,_0x376cb4){return _0x24ef16(_0x221fe6,_0x376cb4);},'pLtKE':function(_0x3fe41e,_0x58f692,_0x11033c){return _0x3fe41e(_0x58f692,_0x11033c);},'ZGWGP':function(_0x3395fb,_0x59c9ce,_0x1725ca){return _0x3395fb(_0x59c9ce,_0x1725ca);},'oBqPg':'Unknown\x20error'},{isPlaywright:_0x112b64,type:_0x29d741}=_0x2e8f25[_0x578921(0xf4)](detectDriverType,_0x524c08),_0x53cca5=_0x112b64?_0x1267dc[_0x578921(0xd1)]:accessibilityHelper[_0x578921(0x121)]()&&globals[_0x578921(0xf0)](_0x2e8f25[_0x578921(0x126)]);if(!_0x53cca5)return logger[_0x578921(0xd0)](_0x578921(0x91)+_0x29d741+_0x578921(0xdf)),{};let _0xdcef07=null;for(let _0x436d03=0x1;_0x2e8f25['BnBwU'](_0x436d03,_0x2e8f25[_0x578921(0xa6)](RETRY_CONFIG[_0x578921(0x93)],0x1));_0x436d03++){try{logger[_0x578921(0x7d)]('Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20'+_0x436d03+'/'+_0x2e8f25[_0x578921(0xce)](RETRY_CONFIG[_0x578921(0x93)],0x1)+'\x20('+_0x29d741+')');let _0x932ad;return _0x2e8f25[_0x578921(0x8f)](_0x112b64,playwrightA11yHelper)?(_0x2e8f25[_0x578921(0x110)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x578921(0xd2)](_0x524c08,RETRY_CONFIG[_0x578921(0x8d)]),_0x932ad=await _0x2e8f25['pLtKE'](withTimeout,playwrightA11yHelper[_0x578921(0x111)](_0x524c08),RETRY_CONFIG['timeoutMs']),await exports[_0x578921(0xd2)](_0x524c08,RETRY_CONFIG[_0x578921(0xb2)])):(await exports[_0x578921(0x116)](_0x524c08,RETRY_CONFIG['timeoutMs']),_0x932ad=await _0x2e8f25[_0x578921(0xdc)](withTimeout,accessibilityHelper[_0x578921(0x111)](_0x524c08,_0x1267dc),RETRY_CONFIG[_0x578921(0x8d)]),await exports[_0x578921(0x116)](_0x524c08,RETRY_CONFIG[_0x578921(0xb2)])),logger[_0x578921(0x79)]('Accessibility\x20results\x20summary\x20retrieved\x20successfully\x20on\x20attempt\x20'+_0x436d03+'\x20('+_0x29d741+')'),_0x932ad;}catch(_0x16f5eb){_0xdcef07=_0x16f5eb,logger[_0x578921(0xd0)]('Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20'+_0x436d03+_0x578921(0xa1)+_0x29d741+_0x578921(0x9d)+_0x16f5eb['message']);}}return logger[_0x578921(0xd9)](_0x578921(0x72)+_0x29d741+_0x578921(0xfb)+(_0xdcef07?.[_0x578921(0x101)]||_0x2e8f25[_0x578921(0x9f)])),{};},exports[a95_0x567c67(0xda)]=async(_0x437bff,_0xe5e1c7,_0x4fedc5=null)=>{const _0x4d58de=a95_0x567c67,_0x57fc89={'qIGIn':function(_0x272e15,_0x5d32e5){return _0x272e15(_0x5d32e5);},'reJgh':function(_0x536778,_0x54ec2d){return _0x536778===_0x54ec2d;},'yfhRJ':'fulfilled','mHdDx':function(_0x3b4427,_0x359710){return _0x3b4427===_0x359710;},'vwUBa':_0x4d58de(0x76),'yxCCz':_0x4d58de(0xc8)},{isPlaywright:_0x423359,type:_0x583658}=_0x57fc89[_0x4d58de(0xd4)](detectDriverType,_0x437bff),_0x180856={};_0x180856[_0x4d58de(0xee)]=![],_0x180856[_0x4d58de(0xf6)]=[],_0x180856[_0x4d58de(0x75)]={},_0x180856[_0x4d58de(0xd9)]=null,_0x180856['driverType']=_0x583658;const _0x4cc2d8=_0x180856;try{_0x4cc2d8[_0x4d58de(0xee)]=await exports[_0x4d58de(0x6b)](_0x437bff,_0x4fedc5);if(_0x4cc2d8[_0x4d58de(0xee)]){const [_0x2b6b75,_0x29f659]=await Promise[_0x4d58de(0x109)]([exports[_0x4d58de(0xdd)](_0x437bff,_0xe5e1c7),exports[_0x4d58de(0x95)](_0x437bff,_0xe5e1c7)]);_0x4cc2d8[_0x4d58de(0xf6)]=_0x57fc89[_0x4d58de(0xbb)](_0x2b6b75[_0x4d58de(0x7c)],_0x57fc89['yfhRJ'])?_0x2b6b75[_0x4d58de(0x11c)]:[],_0x4cc2d8[_0x4d58de(0x75)]=_0x57fc89[_0x4d58de(0xae)](_0x29f659[_0x4d58de(0x7c)],_0x57fc89[_0x4d58de(0x8a)])?_0x29f659[_0x4d58de(0x11c)]:{},_0x57fc89['reJgh'](_0x2b6b75[_0x4d58de(0x7c)],_0x57fc89[_0x4d58de(0x7b)])&&logger[_0x4d58de(0xd0)](_0x4d58de(0x65)+_0x583658+'):\x20'+_0x2b6b75[_0x4d58de(0x66)]?.[_0x4d58de(0x101)]),_0x57fc89[_0x4d58de(0xae)](_0x29f659['status'],_0x57fc89[_0x4d58de(0x7b)])&&logger['warn'](_0x4d58de(0x103)+_0x583658+_0x4d58de(0x112)+_0x29f659[_0x4d58de(0x66)]?.[_0x4d58de(0x101)]);}}catch(_0x4cd8e9){_0x4cc2d8['error']=_0x4cd8e9['message']||_0x57fc89['yxCCz'],logger['error'](_0x4d58de(0xc6)+_0x583658+_0x4d58de(0x112)+_0x4cc2d8['error']);}return _0x4cc2d8;},exports[a95_0x567c67(0x127)]=_0x24398c=>{const _0x58c362=a95_0x567c67,_0x427110={};_0x427110[_0x58c362(0xc1)]=function(_0x157d9e,_0x137a06){return _0x157d9e!==_0x137a06;};const _0x2b4287=_0x427110;_0x2b4287[_0x58c362(0xc1)](_0x24398c['maxRetries'],undefined)&&(RETRY_CONFIG[_0x58c362(0x93)]=Math[_0x58c362(0xcd)](0x0,_0x24398c[_0x58c362(0x93)])),_0x2b4287[_0x58c362(0xc1)](_0x24398c[_0x58c362(0x8d)],undefined)&&(RETRY_CONFIG[_0x58c362(0x8d)]=Math['max'](0x3e8,_0x24398c[_0x58c362(0x8d)])),logger[_0x58c362(0x7d)](_0x58c362(0x85)+JSON[_0x58c362(0xbd)](RETRY_CONFIG));},exports[a95_0x567c67(0x87)]=()=>{const _0x2c8da3={...RETRY_CONFIG};return _0x2c8da3;},exports[a95_0x567c67(0x107)]=_0x5c4a48=>{const _0x44fbf2=a95_0x567c67,_0x5c6ad0={'famOu':function(_0x478910,_0x53b4f9){return _0x478910(_0x53b4f9);}};return _0x5c6ad0['famOu'](detectDriverType,_0x5c4a48)[_0x44fbf2(0xb3)];},exports['isSeleniumDriver']=_0x1af798=>{const _0x2c7e5f=a95_0x567c67,_0x3a1126={'hDofn':function(_0x56b70c,_0x5b7248){return _0x56b70c(_0x5b7248);},'OmOhB':function(_0x3a3e72,_0x3718ab){return _0x3a3e72===_0x3718ab;},'zlgOl':'selenium-webdriver'},{isPlaywright:_0x27e857,type:_0x4e123d}=_0x3a1126[_0x2c7e5f(0xf1)](detectDriverType,_0x1af798);return!_0x27e857&&_0x3a1126[_0x2c7e5f(0xb8)](_0x4e123d,_0x3a1126['zlgOl']);},exports[a95_0x567c67(0xd2)]=async(_0x2aaf28,_0x53bf58=null)=>{const _0x51c48d=a95_0x567c67,_0x3c5c90={'tvkPg':function(_0x21a4ff,_0x51d741){return _0x21a4ff(_0x51d741);},'aTNTE':function(_0x516924,_0x60c65f){return _0x516924===_0x60c65f;},'EwGWE':_0x51c48d(0x80)},{isPlaywright:_0x51292d,type:_0x35eef9}=_0x3c5c90[_0x51c48d(0xf2)](detectDriverType,_0x2aaf28);if(!_0x51292d)return logger[_0x51c48d(0x7d)](_0x51c48d(0x119)+_0x35eef9+'\x20-\x20not\x20applicable'),!![];const _0x4d6128=_0x53bf58||RETRY_CONFIG[_0x51c48d(0xb2)];try{return _0x2aaf28&&_0x3c5c90[_0x51c48d(0xef)](typeof _0x2aaf28[_0x51c48d(0x10d)],_0x3c5c90[_0x51c48d(0x10c)])&&(await _0x2aaf28['setDefaultTimeout'](_0x4d6128),logger[_0x51c48d(0x7d)](_0x51c48d(0xd8)+_0x4d6128+'ms')),!![];}catch(_0xe86866){return logger['warn'](_0x51c48d(0x120)+_0xe86866[_0x51c48d(0x101)]),![];}},exports[a95_0x567c67(0x116)]=async(_0x1bbb6e,_0x27d377=null)=>{const _0x24815c=a95_0x567c67,_0x31001d={};_0x31001d[_0x24815c(0x124)]=_0x24815c(0xe6),_0x31001d[_0x24815c(0x7f)]=function(_0x185288,_0x14109d){return _0x185288===_0x14109d;},_0x31001d[_0x24815c(0x78)]='function',_0x31001d[_0x24815c(0xd6)]=function(_0x559a73,_0x25fd7d){return _0x559a73===_0x25fd7d;},_0x31001d[_0x24815c(0x90)]=function(_0x4253b6,_0x2bbfbe){return _0x4253b6===_0x2bbfbe;},_0x31001d[_0x24815c(0x11f)]=_0x24815c(0xac),_0x31001d['PEPHa']=_0x24815c(0x6e);const _0x28246d=_0x31001d;if(!exports[_0x24815c(0x10f)](_0x1bbb6e))return logger[_0x24815c(0xd0)](_0x28246d[_0x24815c(0x124)]),![];const _0x41ed5d=_0x27d377||RETRY_CONFIG[_0x24815c(0xb2)];try{if(_0x1bbb6e&&_0x28246d[_0x24815c(0x7f)](typeof _0x1bbb6e['manage'],_0x28246d[_0x24815c(0x78)])){const _0x40d5db=_0x1bbb6e[_0x24815c(0x9b)]();if(_0x40d5db&&_0x28246d[_0x24815c(0xd6)](typeof _0x40d5db[_0x24815c(0x73)],_0x28246d[_0x24815c(0x78)]))await _0x40d5db[_0x24815c(0x73)]()['setScriptTimeout'](_0x41ed5d),logger['debug'](_0x24815c(0xe3)+_0x41ed5d+_0x24815c(0x7a));else{if(_0x40d5db&&_0x28246d['uloEs'](typeof _0x40d5db[_0x24815c(0x82)],_0x28246d[_0x24815c(0x78)])){const _0x33fb8a={};_0x33fb8a[_0x24815c(0xde)]=_0x41ed5d,await _0x40d5db[_0x24815c(0x82)](_0x33fb8a),logger['debug']('Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20'+_0x41ed5d+_0x24815c(0xe1));}else{if(_0x40d5db&&_0x28246d[_0x24815c(0x90)](typeof _0x40d5db[_0x24815c(0xfe)],_0x28246d['zhsua']))await _0x40d5db[_0x24815c(0xfe)](_0x41ed5d),logger[_0x24815c(0x7d)]('Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20'+_0x41ed5d+'ms\x20using\x20setScriptTimeout\x20API');else return logger['debug'](_0x28246d[_0x24815c(0x11f)]),!![];}}}else return logger['debug'](_0x28246d['PEPHa']),!![];return!![];}catch(_0x445ebb){return logger[_0x24815c(0xd0)](_0x24815c(0xc4)+_0x445ebb[_0x24815c(0x101)]),![];}},exports['saveAccessibilityResultsWithRetry']=async(_0x75634b,_0x534ad9)=>{const _0x54627c=a95_0x567c67,_0x577be1={'WYarR':function(_0x2ee979,_0x1fdd68){return _0x2ee979(_0x1fdd68);},'SXIIz':_0x54627c(0xdb),'wmKIp':function(_0x5a82da,_0x2829f8){return _0x5a82da<=_0x2829f8;},'REAdB':function(_0x3e0fd8,_0x5b22b9){return _0x3e0fd8+_0x5b22b9;},'iXRpc':function(_0x50953d,_0x32e1b0){return _0x50953d+_0x32e1b0;},'OXIub':function(_0x296765,_0x1a5e58){return _0x296765&&_0x1a5e58;},'SrTSL':function(_0x57a523,_0x4910f5,_0x410e20){return _0x57a523(_0x4910f5,_0x410e20);},'BtshP':function(_0x4786d3,_0x534ba9,_0x3cf2e5){return _0x4786d3(_0x534ba9,_0x3cf2e5);},'DICjW':_0x54627c(0xe8)},{isPlaywright:_0x2a5e3f,type:_0x189017}=_0x577be1[_0x54627c(0x106)](detectDriverType,_0x75634b),_0x465e3d=_0x2a5e3f?global[_0x54627c(0xd1)]:accessibilityHelper[_0x54627c(0x121)]()&&globals[_0x54627c(0xf0)](_0x577be1[_0x54627c(0xb5)]);if(!_0x465e3d)return logger[_0x54627c(0xd0)](_0x54627c(0x91)+_0x189017+_0x54627c(0x74)),![];let _0x5480e6=null;for(let _0x30a1d6=0x1;_0x577be1['wmKIp'](_0x30a1d6,_0x577be1[_0x54627c(0xcc)](RETRY_CONFIG[_0x54627c(0x93)],0x1));_0x30a1d6++){try{return logger[_0x54627c(0x7d)](_0x54627c(0x104)+_0x30a1d6+'/'+_0x577be1[_0x54627c(0xe7)](RETRY_CONFIG['maxRetries'],0x1)+'\x20('+_0x189017+')'),_0x577be1['OXIub'](_0x2a5e3f,playwrightA11yHelper)?(_0x577be1[_0x54627c(0x70)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x54627c(0xd2)](_0x75634b,RETRY_CONFIG[_0x54627c(0x8d)]),await _0x577be1[_0x54627c(0xe0)](withTimeout,playwrightA11yHelper[_0x54627c(0x122)](_0x75634b,scripts[_0x54627c(0x108)],_0x534ad9),RETRY_CONFIG['timeoutMs']),await exports['setPlaywrightScriptTimeout'](_0x75634b,RETRY_CONFIG[_0x54627c(0xb2)])):(await exports[_0x54627c(0x116)](_0x75634b,RETRY_CONFIG[_0x54627c(0x8d)]),await _0x577be1[_0x54627c(0xe0)](withTimeout,_0x75634b[_0x54627c(0x68)](scripts[_0x54627c(0x108)],_0x534ad9),RETRY_CONFIG[_0x54627c(0x8d)]),await exports[_0x54627c(0x116)](_0x75634b,RETRY_CONFIG['defaultTimeoutMs'])),logger[_0x54627c(0x79)]('Accessibility\x20results\x20saved\x20successfully\x20on\x20attempt\x20'+_0x30a1d6+'\x20('+_0x189017+')'),!![];}catch(_0x34e865){_0x5480e6=_0x34e865,logger[_0x54627c(0xd0)](_0x54627c(0x104)+_0x30a1d6+_0x54627c(0xa1)+_0x189017+_0x54627c(0x9d)+_0x34e865[_0x54627c(0x101)]);}}return logger[_0x54627c(0xd9)](_0x54627c(0xa0)+_0x189017+').\x20Last\x20error:\x20'+(_0x5480e6?.[_0x54627c(0x101)]||_0x577be1[_0x54627c(0x7e)])),![];};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a96_0x2b8a(_0x374946,_0x4b381c){var _0x34ca77=a96_0x34ca();return a96_0x2b8a=function(_0x2b8a37,_0x982638){_0x2b8a37=_0x2b8a37-0xd0;var _0x50f998=_0x34ca77[_0x2b8a37];return _0x50f998;},a96_0x2b8a(_0x374946,_0x4b381c);}var a96_0x312541=a96_0x2b8a;(function(_0x290817,_0x13bbd9){var _0xa2698=a96_0x2b8a,_0x2343e0=_0x290817();while(!![]){try{var _0x55bbdf=-parseInt(_0xa2698(0xdb))/0x1*(parseInt(_0xa2698(0xd4))/0x2)+parseInt(_0xa2698(0xd7))/0x3+-parseInt(_0xa2698(0xdc))/0x4+-parseInt(_0xa2698(0xdf))/0x5*(-parseInt(_0xa2698(0xde))/0x6)+parseInt(_0xa2698(0xd5))/0x7+parseInt(_0xa2698(0xdd))/0x8*(-parseInt(_0xa2698(0xd0))/0x9)+-parseInt(_0xa2698(0xda))/0xa*(-parseInt(_0xa2698(0xd2))/0xb);if(_0x55bbdf===_0x13bbd9)break;else _0x2343e0['push'](_0x2343e0['shift']());}catch(_0x579e26){_0x2343e0['push'](_0x2343e0['shift']());}}}(a96_0x34ca,0x34d54),exports[a96_0x312541(0xd9)]=a96_0x312541(0xd1),exports[a96_0x312541(0xd6)]='94',exports[a96_0x312541(0xd3)]=a96_0x312541(0xd8));function a96_0x34ca(){var _0xc8dd45=['MINIMUM_BROWSER_VERSION_ACCESSIBILITY','262776YRvzQm','100','API_URL','5830qbuuMR','7jbpwxO','1316284CWrITU','2196696adFpgS','35658iIFSiF','40FdJdQC','9WEqIRX','https://accessibility.browserstack.com/api','17578nfoDAK','MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY','81034iucoNJ','258377nFyFZu'];a96_0x34ca=function(){return _0xc8dd45;};return a96_0x34ca();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a97_0x2d94(){const _0x16dc2c=['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','KrcMA','../globals','isArray','getPlatformVersion','4FHAdXW','goog:chromeOptions','sNDTe','executeAsyncScript','4140291DQVBTg','includes','application/json','../logger','xgtiu','v2/test_runs','No\x20accessibility\x20summary\x20was\x20found.','FSlYd','bstack:options','requireModule','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20','tgDTF','browserstackSessionName','info','YjDYt','statusText','fsAQQ','assign','options_','Performing\x20scan\x20before\x20getting\x20results\x20summary','LqPGR','hFXSr','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','parse','status','isTrue','UfyoI','8664035tWzYjK','2807BdDxJA','stopAccessibilityTestRun','QYwcD','device','Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20','Authorization','19048NwMrcn','resolve','yXtZf','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','9lbWPqO','ERasa','BROWSERSTACK_TURBOSCALE','fMpvI','../performance/constants','../performance/performance-tester','isBrowserstackInfra','stack','No\x20accessibility\x20results\x20were\x20found.','BROWSERSTACK_TEST_ACCESSIBILITY_YML','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','jPFeR','khljt','accessibility','pass','LoLjS','qKNvm','141798eebjQj','44915ZrvEWR','forEach','EwYRr','AOtWE','join','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','buildName','response','getUserName','getResultsSummary','data','platforms','isBrowserStackCommandExecutor','getAccessKey','ggkyC','ZAPem','projectName','debug','Ldrbi','getResults','selenium-webdriver','playwright','error','measureWrapper','iLRbe','aJQjD','gyGHt','GET_RESULTS','22873850rvTrUg','stringify','nonBstackPlatformValidation','oXrAs','chromeOptions','nodeRequest','method','headers','POST','PUT','performScan','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','isAccessibilityPlatform','MXcxh','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','yilIu','XGVVR','message','toJson','UoNAf','./constants','util','SeOda','rYOgX','isAccessibilityAutomationSession','browserName','SCwnE','sRWYg','VFTXs','basename','iLkVP','getGlobal','whrky','excludeTagsInTestingScope','Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20','TJeeS','YruTT','PijRJ','LfRYL','QaUnc','Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20','cEccK','Bearer\x20','a11y:stop','WgEZa','args','parseFromJson','createAccessibilityTestRun','PERFORM_SCAN','body','version','mergeDeep','json','szVoH','getBrowserVersion','getCiInfo','browserVersion','--headless','./scripts','getAgentVersion','null','warn','getPlatform','eYTsb','auth','getAccessibilityResults','checkAccessibilityPlatformConfig','dcxGc','toISOString','wNQbW','Invalid\x20request:\x20','ExHvO','includeTagsInTestingScope','length','Error\x20while\x20adding\x20Non-Bstack\x20capabilities:\x20','format','getGitMetaData','nAxQc','errors','iSrsy','Invalid\x20configuration\x20passed.','dABzH','wSxXg','some','bstackA11yShouldScan','scannerVersion','Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20','getHostInfo','Content-Type','fsouM','hjZwe','hgaPW','pMNzn','getCapabilities','zSwmc','Performing\x20scan\x20before\x20getting\x20results','test_runs/stop','getTestFrameworkDetails','nestedKeyValue','jbSAP','getPackageVersion','browserstack_executor','capabilities_','set','jftFs','MhDho','GET_RESULTS_SUMMARY','script','string','1405208oHhayJ','akFsh','cjwpS','path','CZyVn','pAeOm','setNonBstackInfraCapabilities','isUndefined','getAccessibilityResultsSummary','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.','WcYMK','get','Qvbzv','buildDescription','BS_A11Y_JWT','browserstack','mMZvx','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','env','Performed\x20scan\x20with\x20result:\x20','Not\x20a\x20Accessibility\x20Session','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20'];a97_0x2d94=function(){return _0x16dc2c;};return a97_0x2d94();}const a97_0x446f97=a97_0xa5c3;(function(_0x716f46,_0x5cf116){const _0x2ff446=a97_0xa5c3,_0x12bb85=_0x716f46();while(!![]){try{const _0x8c574b=-parseInt(_0x2ff446(0x1ce))/0x1+-parseInt(_0x2ff446(0x258))/0x2+-parseInt(_0x2ff446(0x277))/0x3*(parseInt(_0x2ff446(0x273))/0x4)+parseInt(_0x2ff446(0x292))/0x5+parseInt(_0x2ff446(0x1cd))/0x6+parseInt(_0x2ff446(0x293))/0x7*(-parseInt(_0x2ff446(0x299))/0x8)+-parseInt(_0x2ff446(0x29d))/0x9*(-parseInt(_0x2ff446(0x1ea))/0xa);if(_0x8c574b===_0x5cf116)break;else _0x12bb85['push'](_0x12bb85['shift']());}catch(_0x418ab4){_0x12bb85['push'](_0x12bb85['shift']());}}}(a97_0x2d94,0xeab94));const path=require(a97_0x446f97(0x25b)),util=require(a97_0x446f97(0x200)),bsSetupHelper=require('../helper'),logger=require(a97_0x446f97(0x27a))['winstonLogger'],{API_URL,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require(a97_0x446f97(0x1ff)),PerformanceTester=require(a97_0x446f97(0x2a2)),scripts=require(a97_0x446f97(0x225)),globals=require(a97_0x446f97(0x270)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a97_0x446f97(0x2a1));function a97_0xa5c3(_0x156d01,_0x41f7e3){const _0x2d94e1=a97_0x2d94();return a97_0xa5c3=function(_0xa5c368,_0x5b20f2){_0xa5c368=_0xa5c368-0x1cd;let _0x551501=_0x2d94e1[_0xa5c368];return _0x551501;},a97_0xa5c3(_0x156d01,_0x41f7e3);}exports['fetchPlatformDetails']=async _0x1a3a85=>{const _0x51f6e5=a97_0x446f97,_0xb61b52={};_0xb61b52[_0x51f6e5(0x201)]=function(_0x5df5d7,_0x3f8abb){return _0x5df5d7===_0x3f8abb;},_0xb61b52[_0x51f6e5(0x23a)]=_0x51f6e5(0x267);const _0xc6c942=_0xb61b52;let _0x5bd822={};try{const _0x247922=await _0x1a3a85[_0x51f6e5(0x248)]();_0x5bd822={'os_name':_0x247922[_0x51f6e5(0x229)](),'os_version':bsSetupHelper[_0x51f6e5(0x272)](_0xc6c942[_0x51f6e5(0x201)](global['__cloud_provider___'],_0xc6c942[_0x51f6e5(0x23a)])),'browser_name':_0x247922['getBrowserName'](),'browser_version':_0x247922[_0x51f6e5(0x221)]()};}catch(_0x4680a0){logger[_0x51f6e5(0x1df)](_0x51f6e5(0x2a7)+_0x4680a0);}return _0x5bd822;},exports['isAccessibilityAutomationSession']=()=>{const _0x212137=a97_0x446f97,_0x155f1a={};_0x155f1a[_0x212137(0x1ed)]=function(_0x344e31,_0xfded66){return _0x344e31===_0xfded66;},_0x155f1a['hFXSr']='string',_0x155f1a['Ldrbi']=function(_0x5e4f36,_0x1d20ca){return _0x5e4f36>_0x1d20ca;},_0x155f1a[_0x212137(0x2ac)]=function(_0x50a2f6,_0x40cb84){return _0x50a2f6!==_0x40cb84;},_0x155f1a[_0x212137(0x28b)]=_0x212137(0x227),_0x155f1a[_0x212137(0x244)]=function(_0x39517b,_0x10a9c9){return _0x39517b&&_0x10a9c9;};const _0x359fd0=_0x155f1a;try{const _0x537e93=bsSetupHelper[_0x212137(0x290)](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML'])||bsSetupHelper[_0x212137(0x290)](process[_0x212137(0x26a)][_0x212137(0x26e)]),_0x5c6f3f=_0x359fd0[_0x212137(0x1ed)](typeof process['env']['BS_A11Y_JWT'],_0x359fd0[_0x212137(0x28c)])&&_0x359fd0[_0x212137(0x1e0)](process[_0x212137(0x26a)][_0x212137(0x266)][_0x212137(0x234)],0x0)&&_0x359fd0['LoLjS'](process[_0x212137(0x26a)][_0x212137(0x266)],_0x359fd0[_0x212137(0x28b)]);return _0x359fd0[_0x212137(0x244)](_0x537e93,_0x5c6f3f);}catch(_0x52f04d){logger[_0x212137(0x1df)](_0x212137(0x297)+_0x52f04d);}return![];},exports[a97_0x446f97(0x1ec)]=(_0x1e9ecf,_0x58317c)=>{const _0x7e30d6=a97_0x446f97,_0x5b2a0c={'YruTT':_0x7e30d6(0x204),'Qvbzv':function(_0x5278e3,_0x115b79){return _0x5278e3(_0x115b79);},'ggkyC':_0x7e30d6(0x223),'CZyVn':_0x7e30d6(0x21d),'TJeeS':_0x7e30d6(0x27f),'WcYMK':'deviceName','sRWYg':_0x7e30d6(0x296),'JJXLG':_0x7e30d6(0x1f5),'UfyoI':'selenium-webdriver/chrome.js','zSwmc':_0x7e30d6(0x1e2),'pMNzn':_0x7e30d6(0x289),'SCwnE':_0x7e30d6(0x218),'akFsh':_0x7e30d6(0x1ee),'AOtWE':_0x7e30d6(0x224),'aJQjD':_0x7e30d6(0x29c),'WgEZa':_0x7e30d6(0x274),'cEccK':function(_0x5c30ea,_0xb38090){return _0x5c30ea===_0xb38090;},'QYwcD':'chrome','iLRbe':function(_0x3e8216,_0x52961b){return _0x3e8216>=_0x52961b;}},_0xc414f7=_0x1e9ecf[_0x7e30d6(0x263)](_0x5b2a0c[_0x7e30d6(0x20f)]),_0x754a0a=_0x5b2a0c[_0x7e30d6(0x264)](parseFloat,_0x1e9ecf[_0x7e30d6(0x263)](_0x5b2a0c[_0x7e30d6(0x1dc)]))||_0x5b2a0c[_0x7e30d6(0x264)](parseFloat,_0x1e9ecf[_0x7e30d6(0x263)](_0x5b2a0c[_0x7e30d6(0x25c)])),_0x3dc682=_0x1e9ecf['get'](_0x5b2a0c['TJeeS'])||{},_0x2f8c87=_0x5b2a0c[_0x7e30d6(0x264)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY),_0x418fcd=_0x3dc682[_0x5b2a0c[_0x7e30d6(0x262)]]||_0x1e9ecf[_0x7e30d6(0x263)](_0x5b2a0c[_0x7e30d6(0x206)])||![];if(_0x418fcd)return logger[_0x7e30d6(0x228)](_0x5b2a0c['JJXLG']),![];let _0xe45188;try{_0xe45188=bsSetupHelper[_0x7e30d6(0x280)](_0x5b2a0c[_0x7e30d6(0x291)],_0x5b2a0c[_0x7e30d6(0x249)]);}catch(_0x47f615){return![];}const _0x118393=new _0xe45188['Options'](_0x58317c['chromeOptions_']),_0x393fe9=bsSetupHelper[_0x7e30d6(0x24d)](_0x118393,[_0x5b2a0c[_0x7e30d6(0x247)],_0x5b2a0c['SCwnE']])||bsSetupHelper[_0x7e30d6(0x24d)](_0x58317c[_0x7e30d6(0x251)],[_0x5b2a0c[_0x7e30d6(0x20e)],_0x5b2a0c[_0x7e30d6(0x259)],_0x5b2a0c[_0x7e30d6(0x205)]])||bsSetupHelper[_0x7e30d6(0x24d)](_0x58317c[_0x7e30d6(0x251)],[_0x5b2a0c['akFsh'],_0x5b2a0c[_0x7e30d6(0x205)]])||[];if(_0x393fe9[_0x7e30d6(0x278)](_0x5b2a0c['AOtWE']))return logger['warn'](_0x5b2a0c[_0x7e30d6(0x1e7)]),![];const _0x1bc404=_0x58317c[_0x7e30d6(0x251)]||{},_0x1c5e1a=bsSetupHelper[_0x7e30d6(0x24d)](_0x1bc404,[_0x5b2a0c[_0x7e30d6(0x217)]])||{},_0x9975d1=bsSetupHelper[_0x7e30d6(0x24d)](_0x1c5e1a,[_0x5b2a0c['SCwnE']])||[];if(_0x9975d1['includes'](_0x5b2a0c[_0x7e30d6(0x1d1)]))return logger[_0x7e30d6(0x228)](_0x5b2a0c[_0x7e30d6(0x1e7)]),![];if(_0x5b2a0c[_0x7e30d6(0x214)](_0xc414f7['toLowerCase'](),_0x5b2a0c[_0x7e30d6(0x295)])&&_0x5b2a0c[_0x7e30d6(0x1e6)](_0x754a0a,_0x2f8c87))return!![];return logger[_0x7e30d6(0x228)](_0x7e30d6(0x281)+MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY+'.'),![];},exports[a97_0x446f97(0x25e)]=_0x39fc6=>{const _0x43841b=a97_0x446f97,_0x5888b7={};_0x5888b7[_0x43841b(0x23c)]=_0x43841b(0x274),_0x5888b7[_0x43841b(0x268)]=function(_0x14d3bc,_0x303419){return _0x14d3bc||_0x303419;},_0x5888b7[_0x43841b(0x1f7)]=_0x43841b(0x26c);const _0x4cbc39=_0x5888b7,_0x4a2175=scripts['ChromeExtension'];try{const _0x3ae7b7=bsSetupHelper[_0x43841b(0x290)](process[_0x43841b(0x26a)][_0x43841b(0x2a6)])||bsSetupHelper[_0x43841b(0x290)](process[_0x43841b(0x26a)][_0x43841b(0x26e)]);if((!bsSetupHelper['isBrowserstackInfra']()||process[_0x43841b(0x26a)][_0x43841b(0x29f)])&&_0x3ae7b7){const _0x5b0e12=_0x39fc6[_0x43841b(0x248)](),_0x43334d=_0x5b0e12[_0x43841b(0x263)](_0x4cbc39[_0x43841b(0x23c)]),_0xd5c711=_0x4cbc39[_0x43841b(0x268)](_0x43334d,{});bsSetupHelper[_0x43841b(0x21e)](_0xd5c711,_0x4a2175),_0x39fc6[_0x43841b(0x248)]()[_0x43841b(0x252)](_0x4cbc39[_0x43841b(0x23c)],_0xd5c711);}else logger['warn'](_0x4cbc39[_0x43841b(0x1f7)]);}catch(_0x289a61){logger[_0x43841b(0x1e4)](_0x43841b(0x235)+_0x289a61);}},exports['shouldScanTestForAccessibility']=(_0x8e1a1f=null,_0x2a2e04=!![],_0x2df48a=[])=>{const _0x37b57d=a97_0x446f97,_0x5bf053={};_0x5bf053[_0x37b57d(0x253)]=function(_0x459eda,_0x5f2494){return _0x459eda==_0x5f2494;},_0x5bf053[_0x37b57d(0x27b)]=function(_0x5ce584,_0x483209){return _0x5ce584>_0x483209;},_0x5bf053[_0x37b57d(0x230)]=function(_0x25690c,_0xc9f09e){return _0x25690c===_0xc9f09e;},_0x5bf053[_0x37b57d(0x246)]=function(_0x41e739,_0xd0eb90){return _0x41e739&&_0xd0eb90;},_0x5bf053[_0x37b57d(0x202)]=function(_0x1c4b78,_0x1bc70e){return _0x1c4b78===_0x1bc70e;};const _0x355476=_0x5bf053;if(_0x355476['jftFs'](process[_0x37b57d(0x26a)][_0x37b57d(0x269)],null))return!![];try{const _0x1bb325=JSON[_0x37b57d(0x28e)](process['env'][_0x37b57d(0x269)]),_0x39811d=Array[_0x37b57d(0x271)](_0x1bb325[_0x37b57d(0x233)])?_0x1bb325[_0x37b57d(0x233)]:[],_0x57b0e7=Array[_0x37b57d(0x271)](_0x1bb325[_0x37b57d(0x20c)])?_0x1bb325['excludeTagsInTestingScope']:[];if(bsSetupHelper['isUndefined'](_0x8e1a1f)){if(_0x355476[_0x37b57d(0x27b)](_0x2df48a[_0x37b57d(0x234)],0x0)){const _0xe7e6df=_0x57b0e7[_0x37b57d(0x23e)](_0x2bb373=>_0x2df48a[_0x37b57d(0x278)](_0x2bb373)),_0x48c64a=_0x355476['wNQbW'](_0x39811d[_0x37b57d(0x234)],0x0)||_0x39811d[_0x37b57d(0x23e)](_0x41edd8=>_0x2df48a['includes'](_0x41edd8));return _0x355476['hgaPW'](!_0xe7e6df,_0x48c64a);}return!![];}let _0x3d246b;_0x2a2e04?_0x3d246b=_0x8e1a1f[_0x37b57d(0x1d2)]('/'):_0x3d246b=_0x8e1a1f;const _0x4cd464=_0x57b0e7['some'](_0x1eda55=>_0x3d246b[_0x37b57d(0x278)](_0x1eda55)),_0x563782=_0x355476[_0x37b57d(0x202)](_0x39811d['length'],0x0)||_0x39811d[_0x37b57d(0x23e)](_0x3c4968=>_0x3d246b[_0x37b57d(0x278)](_0x3c4968));return _0x355476[_0x37b57d(0x246)](!_0x4cd464,_0x563782);}catch(_0x21e9f1){logger['debug'](_0x37b57d(0x20d)+util[_0x37b57d(0x236)](_0x21e9f1));}return![];},exports[a97_0x446f97(0x22d)]=_0x2a4a03=>{const _0x4205e4=a97_0x446f97;let _0x4602c4=![];try{_0x2a4a03[_0x4205e4(0x1d9)][_0x4205e4(0x1cf)](_0x3ef1a1=>{const _0x329ed7=_0x4205e4;if(bsSetupHelper[_0x329ed7(0x290)](_0x3ef1a1['accessibility']))return _0x4602c4=!![],!![];});}catch(_0x468ad0){logger['debug'](_0x4205e4(0x241)+_0x468ad0);}return _0x4602c4||bsSetupHelper[_0x4205e4(0x290)](_0x2a4a03[_0x4205e4(0x2aa)]);},exports[a97_0x446f97(0x21a)]=PerformanceTester[a97_0x446f97(0x1e5)]('a11y:start',async function(_0x4475df,_0x47e2a6){const _0x476f2e=a97_0x446f97,_0x54a66f={};_0x54a66f['UoNAf']=_0x476f2e(0x1f8),_0x54a66f[_0x476f2e(0x212)]=_0x476f2e(0x1e3),_0x54a66f[_0x476f2e(0x1fa)]='javascript',_0x54a66f[_0x476f2e(0x1dd)]='application/json',_0x54a66f[_0x476f2e(0x287)]=_0x476f2e(0x1f2),_0x54a66f[_0x476f2e(0x25a)]=_0x476f2e(0x27c),_0x54a66f[_0x476f2e(0x207)]=function(_0x2adb44,_0x41e1cd){return _0x2adb44===_0x41e1cd;},_0x54a66f['YjDYt']=_0x476f2e(0x23b),_0x54a66f[_0x476f2e(0x232)]='false';const _0x1e909b=_0x54a66f,_0x1101d4=bsSetupHelper[_0x476f2e(0x1d6)](_0x4475df),_0xf1fe6b=bsSetupHelper[_0x476f2e(0x1db)](_0x4475df);if(bsSetupHelper['isUndefined'](_0x1101d4)||bsSetupHelper[_0x476f2e(0x25f)](_0xf1fe6b))return logger['error'](_0x1e909b[_0x476f2e(0x1fe)]),[null,null];try{let _0x4aa7f9;bsSetupHelper[_0x476f2e(0x25f)](process[_0x476f2e(0x26a)][_0x476f2e(0x269)])?_0x4aa7f9={}:_0x4aa7f9=JSON[_0x476f2e(0x28e)](process[_0x476f2e(0x26a)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']);const {name:_0x5f1250,version:_0x369c8a}=bsSetupHelper[_0x476f2e(0x24c)](_0x4475df,_0x47e2a6),_0x5e3209={'projectName':_0x4475df[_0x476f2e(0x1de)],'buildName':_0x4475df[_0x476f2e(0x1d4)]||path[_0x476f2e(0x208)](path[_0x476f2e(0x29a)](process['cwd']())),'startTime':new Date()[_0x476f2e(0x22f)](),'description':_0x4475df[_0x476f2e(0x265)]||'','source':{'frameworkName':_0x47e2a6['includes'](_0x1e909b[_0x476f2e(0x212)])?_0x1e909b[_0x476f2e(0x212)]:_0x47e2a6,'frameworkVersion':bsSetupHelper[_0x476f2e(0x24f)](_0x47e2a6),'sdkVersion':bsSetupHelper[_0x476f2e(0x226)](),'language':_0x1e909b['yilIu'],'testFramework':_0x5f1250,'testFrameworkVersion':_0x369c8a},'settings':_0x4aa7f9,'versionControl':await bsSetupHelper[_0x476f2e(0x237)](),'ciInfo':bsSetupHelper[_0x476f2e(0x222)](),'hostInfo':bsSetupHelper[_0x476f2e(0x242)](),'browserstackAutomation':bsSetupHelper[_0x476f2e(0x2a3)]()},_0x5d61d7={};_0x5d61d7['user']=_0x1101d4,_0x5d61d7[_0x476f2e(0x2ab)]=_0xf1fe6b;const _0x5d4cda={};_0x5d4cda['Content-Type']=_0x1e909b[_0x476f2e(0x1dd)];const _0x1ad798={};_0x1ad798[_0x476f2e(0x22b)]=_0x5d61d7,_0x1ad798[_0x476f2e(0x1f1)]=_0x5d4cda;const _0x32ef21=_0x1ad798,_0xf8e61b={};_0xf8e61b[_0x476f2e(0x21c)]=_0x5e3209,_0xf8e61b['json']=!![];const _0x159681=Object['assign'](_0x32ef21,_0xf8e61b),_0x136259=await bsSetupHelper['nodeRequest'](_0x1e909b['fsAQQ'],_0x1e909b[_0x476f2e(0x25a)],_0x159681,_0x4475df,API_URL);let _0x54fa92=process[_0x476f2e(0x26a)][_0x476f2e(0x269)];return _0x54fa92?_0x54fa92=JSON[_0x476f2e(0x28e)](process[_0x476f2e(0x26a)][_0x476f2e(0x269)]):_0x54fa92={},scripts[_0x476f2e(0x219)](_0x136259['data']['data']),scripts[_0x476f2e(0x1fd)](),_0x54fa92[_0x476f2e(0x240)]=_0x136259[_0x476f2e(0x1d8)][_0x476f2e(0x1d8)][_0x476f2e(0x240)],process[_0x476f2e(0x26a)][_0x476f2e(0x269)]=JSON[_0x476f2e(0x1eb)](_0x54fa92),[_0x136259[_0x476f2e(0x1d8)][_0x476f2e(0x1d8)]['accessibilityToken'],_0x136259[_0x476f2e(0x1d8)][_0x476f2e(0x1d8)]['id']];}catch(_0x24c067){if(_0x24c067[_0x476f2e(0x1d5)])logger[_0x476f2e(0x1e4)](_0x476f2e(0x1d3)+_0x24c067[_0x476f2e(0x1d5)][_0x476f2e(0x28f)]+'\x20'+_0x24c067['response'][_0x476f2e(0x286)]+'\x20'+JSON[_0x476f2e(0x1eb)](_0x24c067[_0x476f2e(0x1d5)]['data']));else{if(_0x1e909b[_0x476f2e(0x207)](_0x24c067[_0x476f2e(0x1fc)],_0x1e909b[_0x476f2e(0x285)])){logger[_0x476f2e(0x1e4)](_0x476f2e(0x1d3)+(_0x24c067[_0x476f2e(0x1fc)]||_0x24c067[_0x476f2e(0x2a4)]));for(const _0x2a840e of _0x24c067[_0x476f2e(0x239)]){logger['error'](_0x2a840e['message']);}process[_0x476f2e(0x26a)][_0x476f2e(0x2a6)]=_0x1e909b[_0x476f2e(0x232)],process['env'][_0x476f2e(0x26e)]=_0x1e909b[_0x476f2e(0x232)];}else logger[_0x476f2e(0x1e4)](_0x476f2e(0x1d3)+(_0x24c067[_0x476f2e(0x1fc)]||_0x24c067[_0x476f2e(0x2a4)]));}return[null,null];}}),exports[a97_0x446f97(0x294)]=PerformanceTester[a97_0x446f97(0x1e5)](a97_0x446f97(0x216),async function(_0x54ff2c){const _0x239cc5=a97_0x446f97,_0x393451={};_0x393451[_0x239cc5(0x24e)]=function(_0x5c119a,_0x5a090f){return _0x5c119a!==_0x5a090f;},_0x393451[_0x239cc5(0x29b)]=_0x239cc5(0x257),_0x393451[_0x239cc5(0x275)]='error',_0x393451['jPFeR']='Build\x20creation\x20had\x20failed.',_0x393451[_0x239cc5(0x210)]=_0x239cc5(0x279),_0x393451[_0x239cc5(0x1fb)]=_0x239cc5(0x1f3),_0x393451[_0x239cc5(0x2a9)]=_0x239cc5(0x24b),_0x393451[_0x239cc5(0x211)]=function(_0x4168b1,_0x2ef7c5){return _0x4168b1+_0x2ef7c5;},_0x393451['szVoH']=_0x239cc5(0x231),_0x393451[_0x239cc5(0x282)]='success';const _0x5bc4a8=_0x393451;if(bsSetupHelper['isUndefined'](process[_0x239cc5(0x26a)][_0x239cc5(0x266)])||_0x5bc4a8['jbSAP'](typeof process['env'][_0x239cc5(0x266)],_0x5bc4a8[_0x239cc5(0x29b)])){const _0x4b85e5={};return _0x4b85e5['status']=_0x5bc4a8[_0x239cc5(0x275)],_0x4b85e5['message']=_0x5bc4a8[_0x239cc5(0x2a8)],_0x4b85e5;}const _0x397153={'endTime':new Date()[_0x239cc5(0x22f)]()},_0x17d881={};_0x17d881[_0x239cc5(0x298)]=_0x239cc5(0x215)+process[_0x239cc5(0x26a)][_0x239cc5(0x266)],_0x17d881[_0x239cc5(0x243)]=_0x5bc4a8[_0x239cc5(0x210)];const _0x2adfc6={};_0x2adfc6[_0x239cc5(0x1f1)]=_0x17d881;const _0x298eea=_0x2adfc6,_0x49d792={};_0x49d792[_0x239cc5(0x21c)]=_0x397153,_0x49d792[_0x239cc5(0x22b)]=null,_0x49d792[_0x239cc5(0x21f)]=!![];const _0x2b5635=Object[_0x239cc5(0x288)](_0x298eea,_0x49d792);try{const _0x4932ab=await bsSetupHelper[_0x239cc5(0x1ef)](_0x5bc4a8['XGVVR'],_0x5bc4a8[_0x239cc5(0x2a9)],_0x2b5635,_0x54ff2c,API_URL);if(_0x4932ab['data'][_0x239cc5(0x1e4)])throw new Error(_0x5bc4a8['LfRYL'](_0x5bc4a8[_0x239cc5(0x220)],_0x4932ab[_0x239cc5(0x1d8)][_0x239cc5(0x1e4)]));else{logger[_0x239cc5(0x284)](_0x239cc5(0x26d)+new Date()[_0x239cc5(0x22f)]());const _0x20d477={};return _0x20d477[_0x239cc5(0x28f)]=_0x5bc4a8[_0x239cc5(0x282)],_0x20d477[_0x239cc5(0x1fc)]='',_0x20d477;}}catch(_0x53c441){_0x53c441[_0x239cc5(0x1d5)]?logger[_0x239cc5(0x1e4)](_0x239cc5(0x213)+_0x53c441['response'][_0x239cc5(0x28f)]+'\x20'+_0x53c441[_0x239cc5(0x1d5)][_0x239cc5(0x286)]+'\x20'+JSON[_0x239cc5(0x1eb)](_0x53c441[_0x239cc5(0x1d5)][_0x239cc5(0x1d8)])):logger[_0x239cc5(0x1e4)](_0x239cc5(0x213)+(_0x53c441['message']||util[_0x239cc5(0x236)](_0x53c441)));const _0x5957b9={};return _0x5957b9['status']=_0x5bc4a8[_0x239cc5(0x275)],_0x5957b9[_0x239cc5(0x1fc)]=_0x53c441[_0x239cc5(0x1fc)]||(_0x53c441[_0x239cc5(0x1d5)]?_0x53c441['response'][_0x239cc5(0x28f)]+':'+_0x53c441[_0x239cc5(0x1d5)][_0x239cc5(0x286)]:_0x53c441),_0x5957b9;}}),exports[a97_0x446f97(0x1f4)]=async(_0x222172,_0x5b4db3=null)=>{const _0x1aca0f=a97_0x446f97,_0x4748ab={};_0x4748ab[_0x1aca0f(0x1d0)]=_0x1aca0f(0x1f6),_0x4748ab['gyGHt']=_0x1aca0f(0x23f),_0x4748ab['FSlYd']=_0x1aca0f(0x261);const _0x4cd449=_0x4748ab;if(!this[_0x1aca0f(0x203)]()||!globals[_0x1aca0f(0x20a)](_0x4cd449[_0x1aca0f(0x1d0)])||!globals[_0x1aca0f(0x20a)](_0x4cd449[_0x1aca0f(0x1e8)])){logger[_0x1aca0f(0x228)](_0x4cd449[_0x1aca0f(0x27e)]);return;}return await PerformanceTester[_0x1aca0f(0x1e5)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x25fb08=_0x1aca0f,_0x1b2ffc={};_0x1b2ffc[_0x25fb08(0x1f0)]=_0x5b4db3||global[_0x25fb08(0x283)];const _0x5be89f=util[_0x25fb08(0x236)](await _0x222172['executeAsyncScript'](scripts[_0x25fb08(0x1f4)],_0x1b2ffc));return logger[_0x25fb08(0x1df)](_0x25fb08(0x26b)+_0x5be89f),_0x5be89f;},{'command':_0x5b4db3})();},exports[a97_0x446f97(0x22c)]=async(_0x2feb79,_0x1149ec)=>{const _0x265606=a97_0x446f97,_0xf3884b={};_0xf3884b[_0x265606(0x20b)]=_0x265606(0x24a),_0xf3884b[_0x265606(0x238)]='isAccessibilityPlatform',_0xf3884b[_0x265606(0x245)]='bstackA11yShouldScan',_0xf3884b['eYTsb']=_0x265606(0x1f9),_0xf3884b['kqXVH']='getAccessibilityResults',_0xf3884b['BKqDB']=_0x265606(0x2a5);const _0x219494=_0xf3884b;if(!this['isAccessibilityAutomationSession']()||!globals[_0x265606(0x20a)](_0x219494[_0x265606(0x238)])||!globals['getGlobal'](_0x219494['hjZwe']))return logger[_0x265606(0x228)](_0x219494[_0x265606(0x22a)]),[];try{return await PerformanceTester[_0x265606(0x1e5)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x1b0ad2=_0x265606;logger[_0x1b0ad2(0x1df)](_0x219494['whrky']);const _0x75c1d9={};_0x75c1d9[_0x1b0ad2(0x1f0)]=_0x1149ec[_0x1b0ad2(0x283)],logger[_0x1b0ad2(0x1df)](util[_0x1b0ad2(0x236)](await _0x2feb79[_0x1b0ad2(0x276)](scripts[_0x1b0ad2(0x1f4)],_0x75c1d9)));},{'command':_0x219494['kqXVH']})(),await PerformanceTester[_0x265606(0x1e5)](PerformanceA11yEvents[_0x265606(0x1e9)],async()=>{const _0x3b8fc7=_0x265606,_0x1a304c=await _0x2feb79[_0x3b8fc7(0x276)](scripts[_0x3b8fc7(0x1e1)]);return _0x1a304c;})();}catch{return logger[_0x265606(0x1e4)](_0x219494['BKqDB']),[];}},exports[a97_0x446f97(0x260)]=async(_0xdbdeb4,_0x1a0811)=>{const _0x3cbad5=a97_0x446f97,_0x37931d={};_0x37931d[_0x3cbad5(0x26f)]=_0x3cbad5(0x28a),_0x37931d[_0x3cbad5(0x29e)]='isAccessibilityPlatform',_0x37931d['MhDho']=_0x3cbad5(0x23f),_0x37931d[_0x3cbad5(0x2a0)]=_0x3cbad5(0x28d),_0x37931d['dcxGc']=_0x3cbad5(0x260),_0x37931d[_0x3cbad5(0x23d)]=_0x3cbad5(0x27d);const _0x5db783=_0x37931d;if(!this[_0x3cbad5(0x203)]()||!globals[_0x3cbad5(0x20a)](_0x5db783[_0x3cbad5(0x29e)])||!globals[_0x3cbad5(0x20a)](_0x5db783[_0x3cbad5(0x254)]))return logger[_0x3cbad5(0x228)](_0x5db783['fMpvI']),{};try{return await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x3cbad5(0x21b)],async()=>{const _0x47c1cc=_0x3cbad5;logger[_0x47c1cc(0x1df)](_0x5db783[_0x47c1cc(0x26f)]);const _0x57ba5c={};_0x57ba5c[_0x47c1cc(0x1f0)]=_0x1a0811[_0x47c1cc(0x283)],logger[_0x47c1cc(0x1df)](util['format'](await _0xdbdeb4['executeAsyncScript'](scripts[_0x47c1cc(0x1f4)],_0x57ba5c)));},{'command':_0x5db783[_0x3cbad5(0x22e)]})(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x3cbad5(0x255)],async()=>{const _0x11cb30=_0x3cbad5,_0x5450a9=await _0xdbdeb4[_0x11cb30(0x276)](scripts[_0x11cb30(0x1d7)]);return _0x5450a9;})();}catch{return logger[_0x3cbad5(0x1e4)](_0x5db783[_0x3cbad5(0x23d)]),{};}},exports[a97_0x446f97(0x1da)]=_0x16ddaf=>{const _0x27ef17=a97_0x446f97,_0x17e861={};_0x17e861[_0x27ef17(0x2ad)]=function(_0x5d0eaf,_0x2b6582){return _0x5d0eaf===_0x2b6582;},_0x17e861[_0x27ef17(0x25d)]=_0x27ef17(0x257),_0x17e861[_0x27ef17(0x209)]=_0x27ef17(0x250);const _0x5690b8=_0x17e861;if(_0x16ddaf&&_0x16ddaf[_0x27ef17(0x256)]&&_0x5690b8[_0x27ef17(0x2ad)](typeof _0x16ddaf[_0x27ef17(0x256)],_0x5690b8[_0x27ef17(0x25d)]))return _0x16ddaf[_0x27ef17(0x256)]['includes'](_0x5690b8[_0x27ef17(0x209)]);return![];};
|
|
1
|
+
function a97_0x96c0(_0x1f9375,_0x1d2745){const _0x3a8a6a=a97_0x3a8a();return a97_0x96c0=function(_0x96c08f,_0x4c2b58){_0x96c08f=_0x96c08f-0x118;let _0xef62e9=_0x3a8a6a[_0x96c08f];return _0xef62e9;},a97_0x96c0(_0x1f9375,_0x1d2745);}const a97_0x42ebb0=a97_0x96c0;(function(_0x26ad80,_0x32689a){const _0x9e1895=a97_0x96c0,_0x27abee=_0x26ad80();while(!![]){try{const _0x46da16=-parseInt(_0x9e1895(0x1ce))/0x1+parseInt(_0x9e1895(0x125))/0x2+-parseInt(_0x9e1895(0x1ca))/0x3*(-parseInt(_0x9e1895(0x174))/0x4)+-parseInt(_0x9e1895(0x188))/0x5+-parseInt(_0x9e1895(0x1e9))/0x6*(-parseInt(_0x9e1895(0x1f0))/0x7)+parseInt(_0x9e1895(0x1cc))/0x8*(-parseInt(_0x9e1895(0x130))/0x9)+-parseInt(_0x9e1895(0x168))/0xa;if(_0x46da16===_0x32689a)break;else _0x27abee['push'](_0x27abee['shift']());}catch(_0x44522f){_0x27abee['push'](_0x27abee['shift']());}}}(a97_0x3a8a,0x7fc0e));const path=require(a97_0x42ebb0(0x19a)),util=require(a97_0x42ebb0(0x1a6)),bsSetupHelper=require('../helper'),logger=require(a97_0x42ebb0(0x1d1))[a97_0x42ebb0(0x143)],{API_URL,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require(a97_0x42ebb0(0x1b0)),PerformanceTester=require(a97_0x42ebb0(0x13e)),scripts=require(a97_0x42ebb0(0x1cb)),globals=require(a97_0x42ebb0(0x1d3)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a97_0x42ebb0(0x195));function a97_0x3a8a(){const _0x4108c9=['performScan','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','PoAnx','zuTXa','Performing\x20scan\x20before\x20getting\x20results','kCBLD','2052510bCmaqQ','dGEkS','LpEfa','isAccessibilityAutomationSession','browserstack','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','--headless','nestedKeyValue','getResults','isBrowserStackCommandExecutor','Pmrga','null','3832PrBheb','ADbcj','XQinJ','isTrue','json','browserstack_executor','NMiEu','Lzufr','mergeDeep','a11y:start','getTestFrameworkDetails','debug','goog:chromeOptions','HjhOf','parse','status','VuibJ','BUEGg','vAzvM','AFgpq','2087020PhrMFX','excludeTagsInTestingScope','aygXm','plQkJ','Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20','getCiInfo','knDjA','error','some','Not\x20a\x20Accessibility\x20Session','getPackageVersion','Performing\x20scan\x20before\x20getting\x20results\x20summary','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','../performance/constants','platforms','get','ltrrx','SKHzv','path','deviceName','accessibility','euKWe','accessibilityToken','Performed\x20scan\x20with\x20result:\x20','CgdEX','RVcce','v2/test_runs','warn','mVvjE','resolve','util','PERFORM_SCAN','env','hBGqp','getAccessibilityResults','script','application/json','GjMQI','format','xafiD','./constants','args','Content-Type','shouldScanTestForAccessibility','pass','Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20','response','IsOvp','TkyEz','requireModule','PIqdv','No\x20accessibility\x20summary\x20was\x20found.','FmVbf','xTrYV','UUnkb','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','mvtCD','chromeOptions','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','ihcOm','BROWSERSTACK_TEST_ACCESSIBILITY_YML','Bearer\x20','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','javascript','isArray','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20','3255sTQMxM','./scripts','8QdskDG','browserName','552136LEGslt','ueunx','getAccessKey','../logger','ChromeExtension','../globals','wjAfE','method','BS_A11Y_JWT','test_runs/stop','CZwTd','KKGwf','Authorization','stopAccessibilityTestRun','iIKhH','message','Lfabo','getAccessibilityResultsSummary','bstackA11yScanOptions','Options','Invalid\x20request:\x20','uEfGL','success','scannerVersion','EgKKl','device','getGitMetaData','702354oaXxMW','ndywt','info','Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20','aHWEY','stringify','isAccessibilityPlatform','56hJRIRK','ugktT','MoAjk','bstackA11yShouldScan','GET_RESULTS','body','auth','getHostInfo','projectName','dKGCV','toISOString','isUndefined','checkAccessibilityPlatformConfig','KqaSR','BROWSERSTACK_TURBOSCALE','browserVersion','browserstackSessionName','272530jwGMHq','capabilities_','data','SoLxl','string','__cloud_provider___','KntdB','selenium-webdriver','statusText','uYsCv','join','3726882KsvMXq','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','Invalid\x20configuration\x20passed.','pTvnm','oUQFJ','KxCkd','Udbjc','Build\x20creation\x20had\x20failed.','executeAsyncScript','getGlobal','oahSX','KEhkt','uUBPN','LkTMb','../performance/performance-tester','alFdd','toLowerCase','command','measureWrapper','winstonLogger','QMfMN','PUT','nodeRequest','cYTgr','PtuoH','GET_RESULTS_SUMMARY','cFywL','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token','parseFromJson','UzUMf','false','errors','XyKrr','getCapabilities','YnTkV','KkGZr','Mltxm','isBrowserstackInfra','assign','VLAJg','[Accessibility]\x20Selenium\x20performScan\x20payload:\x20','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.','createAccessibilityTestRun','basename','stack','toJson','includes','length','headers','a11y:stop'];a97_0x3a8a=function(){return _0x4108c9;};return a97_0x3a8a();}exports['fetchPlatformDetails']=async _0x51f9f6=>{const _0x3f29b0=a97_0x42ebb0,_0x4ed88={};_0x4ed88[_0x3f29b0(0x16a)]=function(_0x48a110,_0x3bebf1){return _0x48a110===_0x3bebf1;},_0x4ed88['SKHzv']=_0x3f29b0(0x16c);const _0x42ce95=_0x4ed88;let _0x2b241e={};try{const _0x32fad8=await _0x51f9f6[_0x3f29b0(0x151)]();_0x2b241e={'os_name':_0x32fad8['getPlatform'](),'os_version':bsSetupHelper['getPlatformVersion'](_0x42ce95[_0x3f29b0(0x16a)](global[_0x3f29b0(0x12a)],_0x42ce95[_0x3f29b0(0x199)])),'browser_name':_0x32fad8['getBrowserName'](),'browser_version':_0x32fad8['getBrowserVersion']()};}catch(_0x10084e){logger[_0x3f29b0(0x17f)](_0x3f29b0(0x16d)+_0x10084e);}return _0x2b241e;},exports[a97_0x42ebb0(0x16b)]=()=>{const _0x277aa3=a97_0x42ebb0,_0x264a38={};_0x264a38[_0x277aa3(0x175)]=function(_0x1cd0eb,_0x5012a8){return _0x1cd0eb===_0x5012a8;},_0x264a38['HjhOf']=_0x277aa3(0x129),_0x264a38['AFgpq']=function(_0xfa4e13,_0x53529d){return _0xfa4e13>_0x53529d;},_0x264a38['ltrrx']=function(_0xa52e16,_0x2b0f99){return _0xa52e16!==_0x2b0f99;},_0x264a38[_0x277aa3(0x165)]=_0x277aa3(0x173),_0x264a38[_0x277aa3(0x1af)]=function(_0x3b0168,_0x140222){return _0x3b0168&&_0x140222;};const _0x38b471=_0x264a38;try{const _0x240c63=bsSetupHelper['isTrue'](process[_0x277aa3(0x1a8)][_0x277aa3(0x1c4)])||bsSetupHelper['isTrue'](process['env'][_0x277aa3(0x1bf)]),_0xe3ef63=_0x38b471[_0x277aa3(0x175)](typeof process['env'][_0x277aa3(0x1d6)],_0x38b471[_0x277aa3(0x181)])&&_0x38b471[_0x277aa3(0x187)](process[_0x277aa3(0x1a8)][_0x277aa3(0x1d6)][_0x277aa3(0x15f)],0x0)&&_0x38b471[_0x277aa3(0x198)](process['env'][_0x277aa3(0x1d6)],_0x38b471[_0x277aa3(0x165)]);return _0x38b471['xafiD'](_0x240c63,_0xe3ef63);}catch(_0x2bbfba){logger[_0x277aa3(0x17f)]('Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20'+_0x2bbfba);}return![];},exports['nonBstackPlatformValidation']=(_0x18db46,_0x3fb671)=>{const _0x1c6227=a97_0x42ebb0,_0x4ae557={'Pmrga':_0x1c6227(0x1cd),'XQinJ':function(_0x4d9790,_0x17489b){return _0x4d9790(_0x17489b);},'aygXm':_0x1c6227(0x123),'Mltxm':'version','oUQFJ':'bstack:options','cFywL':function(_0x41910b,_0x27732d){return _0x41910b(_0x27732d);},'LkTMb':_0x1c6227(0x19b),'kCBLD':_0x1c6227(0x1e7),'JEvHw':_0x1c6227(0x194),'KkGZr':'selenium-webdriver/chrome.js','wyMAG':_0x1c6227(0x12c),'UUnkb':'options_','mvtCD':_0x1c6227(0x1b1),'PtuoH':_0x1c6227(0x1c1),'hBGqp':_0x1c6227(0x16e),'plQkJ':'Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','UzUMf':'goog:chromeOptions','TkyEz':function(_0x4e191d,_0x4d6734){return _0x4e191d===_0x4d6734;},'ihcOm':'chrome','CZwTd':function(_0x1f2f4b,_0x340653){return _0x1f2f4b>=_0x340653;}},_0xa23b1c=_0x18db46['get'](_0x4ae557[_0x1c6227(0x172)]),_0x3b96f0=_0x4ae557[_0x1c6227(0x176)](parseFloat,_0x18db46[_0x1c6227(0x197)](_0x4ae557[_0x1c6227(0x18a)]))||_0x4ae557[_0x1c6227(0x176)](parseFloat,_0x18db46[_0x1c6227(0x197)](_0x4ae557[_0x1c6227(0x154)])),_0x5331c1=_0x18db46[_0x1c6227(0x197)](_0x4ae557['oUQFJ'])||{},_0xdb72cc=_0x4ae557[_0x1c6227(0x14a)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY),_0x3aab92=_0x5331c1[_0x4ae557[_0x1c6227(0x13d)]]||_0x18db46[_0x1c6227(0x197)](_0x4ae557[_0x1c6227(0x167)])||![];if(_0x3aab92)return logger[_0x1c6227(0x1a3)](_0x4ae557['JEvHw']),![];let _0x200f92;try{_0x200f92=bsSetupHelper[_0x1c6227(0x1b9)](_0x4ae557[_0x1c6227(0x153)],_0x4ae557['wyMAG']);}catch(_0x45f094){return![];}const _0x490ebe=new _0x200f92[(_0x1c6227(0x1e1))](_0x3fb671['chromeOptions_']),_0x1930c9=bsSetupHelper[_0x1c6227(0x16f)](_0x490ebe,[_0x4ae557[_0x1c6227(0x1be)],_0x4ae557[_0x1c6227(0x1c0)]])||bsSetupHelper[_0x1c6227(0x16f)](_0x3fb671['capabilities_'],[_0x4ae557[_0x1c6227(0x134)],_0x4ae557[_0x1c6227(0x148)],_0x4ae557[_0x1c6227(0x1c0)]])||bsSetupHelper[_0x1c6227(0x16f)](_0x3fb671[_0x1c6227(0x126)],[_0x4ae557[_0x1c6227(0x148)],_0x4ae557['mvtCD']])||[];if(_0x1930c9[_0x1c6227(0x15e)](_0x4ae557[_0x1c6227(0x1a9)]))return logger[_0x1c6227(0x1a3)](_0x4ae557[_0x1c6227(0x18b)]),![];const _0xf17e7c=_0x3fb671[_0x1c6227(0x126)]||{},_0x7aa153=bsSetupHelper[_0x1c6227(0x16f)](_0xf17e7c,[_0x4ae557[_0x1c6227(0x14d)]])||{},_0x314d52=bsSetupHelper[_0x1c6227(0x16f)](_0x7aa153,[_0x4ae557['mvtCD']])||[];if(_0x314d52[_0x1c6227(0x15e)](_0x4ae557[_0x1c6227(0x1a9)]))return logger[_0x1c6227(0x1a3)](_0x4ae557[_0x1c6227(0x18b)]),![];if(_0x4ae557[_0x1c6227(0x1b8)](_0xa23b1c[_0x1c6227(0x140)](),_0x4ae557[_0x1c6227(0x1c3)])&&_0x4ae557[_0x1c6227(0x1d8)](_0x3b96f0,_0xdb72cc))return!![];return logger[_0x1c6227(0x1a3)](_0x1c6227(0x1c9)+MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY+'.'),![];},exports['setNonBstackInfraCapabilities']=_0x178ecd=>{const _0x1cb1a8=a97_0x42ebb0,_0x2fc9e0={};_0x2fc9e0['VLAJg']=_0x1cb1a8(0x180),_0x2fc9e0['KqaSR']=function(_0x26d258,_0xf8ecb7){return _0x26d258||_0xf8ecb7;},_0x2fc9e0['JkSwF']=_0x1cb1a8(0x191);const _0x4d8f08=_0x2fc9e0,_0x3f012e=scripts[_0x1cb1a8(0x1d2)];try{const _0x41ffc1=bsSetupHelper['isTrue'](process[_0x1cb1a8(0x1a8)][_0x1cb1a8(0x1c4)])||bsSetupHelper[_0x1cb1a8(0x177)](process['env'][_0x1cb1a8(0x1bf)]);if((!bsSetupHelper['isBrowserstackInfra']()||process[_0x1cb1a8(0x1a8)][_0x1cb1a8(0x122)])&&_0x41ffc1){const _0x49c788=_0x178ecd[_0x1cb1a8(0x151)](),_0x33c19a=_0x49c788[_0x1cb1a8(0x197)](_0x4d8f08[_0x1cb1a8(0x157)]),_0x57acfb=_0x4d8f08[_0x1cb1a8(0x121)](_0x33c19a,{});bsSetupHelper[_0x1cb1a8(0x17c)](_0x57acfb,_0x3f012e),_0x178ecd['getCapabilities']()['set'](_0x4d8f08['VLAJg'],_0x57acfb);}else logger[_0x1cb1a8(0x1a3)](_0x4d8f08['JkSwF']);}catch(_0x39e411){logger['error']('Error\x20while\x20adding\x20Non-Bstack\x20capabilities:\x20'+_0x39e411);}},exports[a97_0x42ebb0(0x1b3)]=(_0x57430d=null,_0x12fd75=!![],_0x5198b2=[])=>{const _0x357ce3=a97_0x42ebb0,_0x25ab6d={};_0x25ab6d[_0x357ce3(0x186)]=function(_0x154f3d,_0x40e437){return _0x154f3d==_0x40e437;},_0x25ab6d['PIqdv']=function(_0x4c2ae6,_0x59e84a){return _0x4c2ae6>_0x59e84a;},_0x25ab6d[_0x357ce3(0x1bd)]=function(_0x45fc7c,_0x49b789){return _0x45fc7c===_0x49b789;},_0x25ab6d['OAgqC']=function(_0x1b6de1,_0x1721d4){return _0x1b6de1&&_0x1721d4;},_0x25ab6d['euKWe']=function(_0x10d6dc,_0x4677c0){return _0x10d6dc===_0x4677c0;},_0x25ab6d[_0x357ce3(0x12b)]=function(_0x19cf8d,_0xb45228){return _0x19cf8d&&_0xb45228;};const _0x168ef6=_0x25ab6d;if(_0x168ef6['vAzvM'](process['env'][_0x357ce3(0x163)],null))return!![];try{const _0x4f5be8=JSON['parse'](process[_0x357ce3(0x1a8)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']),_0x4b1581=Array[_0x357ce3(0x1c8)](_0x4f5be8['includeTagsInTestingScope'])?_0x4f5be8['includeTagsInTestingScope']:[],_0x4b7d98=Array[_0x357ce3(0x1c8)](_0x4f5be8[_0x357ce3(0x189)])?_0x4f5be8[_0x357ce3(0x189)]:[];if(bsSetupHelper[_0x357ce3(0x11f)](_0x57430d)){if(_0x168ef6[_0x357ce3(0x1ba)](_0x5198b2[_0x357ce3(0x15f)],0x0)){const _0x15a1c9=_0x4b7d98['some'](_0x1ca424=>_0x5198b2[_0x357ce3(0x15e)](_0x1ca424)),_0x33672e=_0x168ef6['xTrYV'](_0x4b1581['length'],0x0)||_0x4b1581[_0x357ce3(0x190)](_0x1d9c6f=>_0x5198b2[_0x357ce3(0x15e)](_0x1d9c6f));return _0x168ef6['OAgqC'](!_0x15a1c9,_0x33672e);}return!![];}let _0x20eb47;_0x12fd75?_0x20eb47=_0x57430d[_0x357ce3(0x12f)]('/'):_0x20eb47=_0x57430d;const _0x58836f=_0x4b7d98['some'](_0x27f545=>_0x20eb47[_0x357ce3(0x15e)](_0x27f545)),_0x357a79=_0x168ef6[_0x357ce3(0x19d)](_0x4b1581[_0x357ce3(0x15f)],0x0)||_0x4b1581[_0x357ce3(0x190)](_0x41cbd4=>_0x20eb47['includes'](_0x41cbd4));return _0x168ef6[_0x357ce3(0x12b)](!_0x58836f,_0x357a79);}catch(_0x49eea3){logger['debug'](_0x357ce3(0x1b5)+util[_0x357ce3(0x1ae)](_0x49eea3));}return![];},exports[a97_0x42ebb0(0x120)]=_0x28e72f=>{const _0x23f849=a97_0x42ebb0;let _0x272d23=![];try{_0x28e72f[_0x23f849(0x196)]['forEach'](_0x343a03=>{const _0x465f54=_0x23f849;if(bsSetupHelper[_0x465f54(0x177)](_0x343a03[_0x465f54(0x19c)]))return _0x272d23=!![],!![];});}catch(_0x3fd128){logger['debug'](_0x23f849(0x1ec)+_0x3fd128);}return _0x272d23||bsSetupHelper[_0x23f849(0x177)](_0x28e72f['accessibility']);},exports[a97_0x42ebb0(0x15a)]=PerformanceTester[a97_0x42ebb0(0x142)](a97_0x42ebb0(0x17d),async function(_0x10468f,_0x165d76){const _0x36c16e=a97_0x42ebb0,_0x77f39a={};_0x77f39a['Lzufr']=_0x36c16e(0x14b),_0x77f39a[_0x36c16e(0x11d)]='playwright',_0x77f39a[_0x36c16e(0x185)]=_0x36c16e(0x1c7),_0x77f39a[_0x36c16e(0x133)]=_0x36c16e(0x1ac),_0x77f39a['uYsCv']='POST',_0x77f39a['FmVbf']=_0x36c16e(0x1a2),_0x77f39a[_0x36c16e(0x1dc)]=function(_0xeb3728,_0x344908){return _0xeb3728===_0x344908;},_0x77f39a[_0x36c16e(0x17a)]=_0x36c16e(0x132),_0x77f39a['KxCkd']=_0x36c16e(0x14e);const _0x16bd7e=_0x77f39a,_0x56a6fb=bsSetupHelper['getUserName'](_0x10468f),_0x3967f4=bsSetupHelper[_0x36c16e(0x1d0)](_0x10468f);if(bsSetupHelper['isUndefined'](_0x56a6fb)||bsSetupHelper[_0x36c16e(0x11f)](_0x3967f4))return logger['error'](_0x16bd7e[_0x36c16e(0x17b)]),[null,null];try{let _0x4adddb;bsSetupHelper['isUndefined'](process[_0x36c16e(0x1a8)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])?_0x4adddb={}:_0x4adddb=JSON[_0x36c16e(0x182)](process[_0x36c16e(0x1a8)][_0x36c16e(0x163)]);const {name:_0x35572c,version:_0x12e6dd}=bsSetupHelper[_0x36c16e(0x17e)](_0x10468f,_0x165d76),_0x3a25f4={'projectName':_0x10468f[_0x36c16e(0x11c)],'buildName':_0x10468f['buildName']||path[_0x36c16e(0x15b)](path[_0x36c16e(0x1a5)](process['cwd']())),'startTime':new Date()[_0x36c16e(0x11e)](),'description':_0x10468f['buildDescription']||'','source':{'frameworkName':_0x165d76[_0x36c16e(0x15e)](_0x16bd7e['dKGCV'])?_0x16bd7e[_0x36c16e(0x11d)]:_0x165d76,'frameworkVersion':bsSetupHelper[_0x36c16e(0x192)](_0x165d76),'sdkVersion':bsSetupHelper['getAgentVersion'](),'language':_0x16bd7e[_0x36c16e(0x185)],'testFramework':_0x35572c,'testFrameworkVersion':_0x12e6dd},'settings':_0x4adddb,'versionControl':await bsSetupHelper[_0x36c16e(0x1e8)](),'ciInfo':bsSetupHelper[_0x36c16e(0x18d)](),'hostInfo':bsSetupHelper[_0x36c16e(0x11b)](),'browserstackAutomation':bsSetupHelper[_0x36c16e(0x155)]()},_0x377e78={};_0x377e78['user']=_0x56a6fb,_0x377e78[_0x36c16e(0x1b4)]=_0x3967f4;const _0x229311={};_0x229311[_0x36c16e(0x1b2)]=_0x16bd7e[_0x36c16e(0x133)];const _0x1a8b12={};_0x1a8b12[_0x36c16e(0x11a)]=_0x377e78,_0x1a8b12[_0x36c16e(0x160)]=_0x229311;const _0x36dcaf=_0x1a8b12,_0x459a76={};_0x459a76[_0x36c16e(0x119)]=_0x3a25f4,_0x459a76[_0x36c16e(0x178)]=!![];const _0x206462=Object[_0x36c16e(0x156)](_0x36dcaf,_0x459a76),_0x2fe1c3=await bsSetupHelper[_0x36c16e(0x146)](_0x16bd7e[_0x36c16e(0x12e)],_0x16bd7e[_0x36c16e(0x1bc)],_0x206462,_0x10468f,API_URL);let _0x7a9fb9=process[_0x36c16e(0x1a8)][_0x36c16e(0x163)];return _0x7a9fb9?_0x7a9fb9=JSON[_0x36c16e(0x182)](process['env'][_0x36c16e(0x163)]):_0x7a9fb9={},scripts[_0x36c16e(0x14c)](_0x2fe1c3[_0x36c16e(0x127)][_0x36c16e(0x127)]),scripts[_0x36c16e(0x15d)](),_0x7a9fb9[_0x36c16e(0x1e5)]=_0x2fe1c3['data']['data'][_0x36c16e(0x1e5)],process[_0x36c16e(0x1a8)][_0x36c16e(0x163)]=JSON[_0x36c16e(0x1ee)](_0x7a9fb9),[_0x2fe1c3[_0x36c16e(0x127)][_0x36c16e(0x127)][_0x36c16e(0x19e)],_0x2fe1c3[_0x36c16e(0x127)][_0x36c16e(0x127)]['id']];}catch(_0x24b2f9){if(_0x24b2f9['response'])logger[_0x36c16e(0x18f)](_0x36c16e(0x131)+_0x24b2f9[_0x36c16e(0x1b6)]['status']+'\x20'+_0x24b2f9[_0x36c16e(0x1b6)][_0x36c16e(0x12d)]+'\x20'+JSON[_0x36c16e(0x1ee)](_0x24b2f9[_0x36c16e(0x1b6)][_0x36c16e(0x127)]));else{if(_0x16bd7e[_0x36c16e(0x1dc)](_0x24b2f9['message'],_0x16bd7e[_0x36c16e(0x17a)])){logger['error'](_0x36c16e(0x131)+(_0x24b2f9[_0x36c16e(0x1dd)]||_0x24b2f9[_0x36c16e(0x15c)]));for(const _0x568587 of _0x24b2f9[_0x36c16e(0x14f)]){logger[_0x36c16e(0x18f)](_0x568587['message']);}process[_0x36c16e(0x1a8)][_0x36c16e(0x1c4)]=_0x16bd7e['KxCkd'],process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x16bd7e[_0x36c16e(0x135)];}else logger[_0x36c16e(0x18f)](_0x36c16e(0x131)+(_0x24b2f9[_0x36c16e(0x1dd)]||_0x24b2f9[_0x36c16e(0x15c)]));}return[null,null];}}),exports[a97_0x42ebb0(0x1db)]=PerformanceTester['measureWrapper'](a97_0x42ebb0(0x161),async function(_0x188919){const _0xbe26fa=a97_0x42ebb0,_0x30abfe={};_0x30abfe[_0xbe26fa(0x1ad)]=function(_0x27026d,_0x2fba2d){return _0x27026d!==_0x2fba2d;},_0x30abfe[_0xbe26fa(0x18e)]=_0xbe26fa(0x129),_0x30abfe[_0xbe26fa(0x1cf)]=_0xbe26fa(0x18f),_0x30abfe[_0xbe26fa(0x128)]=_0xbe26fa(0x137),_0x30abfe[_0xbe26fa(0x13f)]=_0xbe26fa(0x1ac),_0x30abfe[_0xbe26fa(0x1d4)]=_0xbe26fa(0x145),_0x30abfe[_0xbe26fa(0x169)]=_0xbe26fa(0x1d7),_0x30abfe[_0xbe26fa(0x13a)]=function(_0x487d59,_0x3ad07e){return _0x487d59+_0x3ad07e;},_0x30abfe['IsOvp']=_0xbe26fa(0x1e2),_0x30abfe[_0xbe26fa(0x1e6)]=_0xbe26fa(0x1e4);const _0x301658=_0x30abfe;if(bsSetupHelper['isUndefined'](process[_0xbe26fa(0x1a8)][_0xbe26fa(0x1d6)])||_0x301658[_0xbe26fa(0x1ad)](typeof process[_0xbe26fa(0x1a8)]['BS_A11Y_JWT'],_0x301658['knDjA'])){const _0x4febb3={};return _0x4febb3['status']=_0x301658[_0xbe26fa(0x1cf)],_0x4febb3[_0xbe26fa(0x1dd)]=_0x301658[_0xbe26fa(0x128)],_0x4febb3;}const _0x54306e={'endTime':new Date()[_0xbe26fa(0x11e)]()},_0x1a6a7f={};_0x1a6a7f[_0xbe26fa(0x1da)]=_0xbe26fa(0x1c5)+process[_0xbe26fa(0x1a8)][_0xbe26fa(0x1d6)],_0x1a6a7f[_0xbe26fa(0x1b2)]=_0x301658[_0xbe26fa(0x13f)];const _0x40298a={};_0x40298a[_0xbe26fa(0x160)]=_0x1a6a7f;const _0x3f1745=_0x40298a,_0x59ef71={};_0x59ef71[_0xbe26fa(0x119)]=_0x54306e,_0x59ef71['auth']=null,_0x59ef71[_0xbe26fa(0x178)]=!![];const _0x20cc47=Object[_0xbe26fa(0x156)](_0x3f1745,_0x59ef71);try{const _0x446234=await bsSetupHelper['nodeRequest'](_0x301658[_0xbe26fa(0x1d4)],_0x301658[_0xbe26fa(0x169)],_0x20cc47,_0x188919,API_URL);if(_0x446234[_0xbe26fa(0x127)]['error'])throw new Error(_0x301658[_0xbe26fa(0x13a)](_0x301658[_0xbe26fa(0x1b7)],_0x446234['data'][_0xbe26fa(0x18f)]));else{logger[_0xbe26fa(0x1eb)]('BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20'+new Date()[_0xbe26fa(0x11e)]());const _0x403e7e={};return _0x403e7e[_0xbe26fa(0x183)]=_0x301658[_0xbe26fa(0x1e6)],_0x403e7e['message']='',_0x403e7e;}}catch(_0x4b3191){_0x4b3191[_0xbe26fa(0x1b6)]?logger[_0xbe26fa(0x18f)](_0xbe26fa(0x18c)+_0x4b3191[_0xbe26fa(0x1b6)][_0xbe26fa(0x183)]+'\x20'+_0x4b3191[_0xbe26fa(0x1b6)][_0xbe26fa(0x12d)]+'\x20'+JSON[_0xbe26fa(0x1ee)](_0x4b3191[_0xbe26fa(0x1b6)][_0xbe26fa(0x127)])):logger[_0xbe26fa(0x18f)](_0xbe26fa(0x18c)+(_0x4b3191['message']||util['format'](_0x4b3191)));const _0x553152={};return _0x553152['status']=_0x301658[_0xbe26fa(0x1cf)],_0x553152[_0xbe26fa(0x1dd)]=_0x4b3191[_0xbe26fa(0x1dd)]||(_0x4b3191[_0xbe26fa(0x1b6)]?_0x4b3191[_0xbe26fa(0x1b6)]['status']+':'+_0x4b3191[_0xbe26fa(0x1b6)][_0xbe26fa(0x12d)]:_0x4b3191),_0x553152;}}),exports[a97_0x42ebb0(0x162)]=async(_0x565260,_0x37c4ea=null,_0x4d4a1b=![],_0x3b8e8a=null)=>{const _0x550cec=a97_0x42ebb0,_0x34dfdf={};_0x34dfdf[_0x550cec(0x1de)]=_0x550cec(0x1ef),_0x34dfdf[_0x550cec(0x144)]=_0x550cec(0x1f3),_0x34dfdf[_0x550cec(0x1f1)]=_0x550cec(0x159),_0x34dfdf[_0x550cec(0x147)]=function(_0x4a5a8b,_0x130487){return _0x4a5a8b||_0x130487;},_0x34dfdf[_0x550cec(0x184)]=_0x550cec(0x1e0);const _0x588264=_0x34dfdf;if(!this['isAccessibilityAutomationSession']()||!globals[_0x550cec(0x139)](_0x588264[_0x550cec(0x1de)])||!_0x4d4a1b&&!globals[_0x550cec(0x139)](_0x588264['QMfMN'])){logger[_0x550cec(0x1a3)](_0x588264[_0x550cec(0x1f1)]);return;}const _0xaa2739=_0x4d4a1b?_0x588264[_0x550cec(0x147)](_0x3b8e8a,{}):globals[_0x550cec(0x139)](_0x588264[_0x550cec(0x184)])||{},_0x6ce59f={};_0x6ce59f[_0x550cec(0x1d5)]=_0x37c4ea||global[_0x550cec(0x124)];const _0x338830=Object['assign']({},_0xaa2739,_0x6ce59f);logger['debug'](_0x550cec(0x158)+util[_0x550cec(0x1ae)]('%j',_0x338830));const _0x1d3ecf={};return _0x1d3ecf[_0x550cec(0x141)]=_0x37c4ea,await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x550cec(0x1a7)],async()=>{const _0x48be8c=_0x550cec,_0x559f02=util[_0x48be8c(0x1ae)](await _0x565260['executeAsyncScript'](scripts[_0x48be8c(0x162)],_0x338830));return logger[_0x48be8c(0x17f)](_0x48be8c(0x19f)+_0x559f02),_0x559f02;},_0x1d3ecf)();},exports[a97_0x42ebb0(0x1aa)]=async(_0x3854e2,_0x577da8)=>{const _0x414073=a97_0x42ebb0,_0x12b0a0={};_0x12b0a0[_0x414073(0x136)]=_0x414073(0x166),_0x12b0a0[_0x414073(0x13b)]=_0x414073(0x1ef),_0x12b0a0[_0x414073(0x1a4)]=_0x414073(0x1f3),_0x12b0a0[_0x414073(0x152)]=_0x414073(0x1c2),_0x12b0a0[_0x414073(0x164)]=_0x414073(0x1aa),_0x12b0a0[_0x414073(0x1f2)]='No\x20accessibility\x20results\x20were\x20found.';const _0x3eaab8=_0x12b0a0;if(!this[_0x414073(0x16b)]()||!globals['getGlobal'](_0x3eaab8[_0x414073(0x13b)])||!globals[_0x414073(0x139)](_0x3eaab8[_0x414073(0x1a4)]))return logger[_0x414073(0x1a3)](_0x3eaab8[_0x414073(0x152)]),[];try{return await PerformanceTester[_0x414073(0x142)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x542fc0=_0x414073;logger[_0x542fc0(0x17f)](_0x3eaab8['Udbjc']);const _0x35aa80={};_0x35aa80['method']=_0x577da8['browserstackSessionName'],logger[_0x542fc0(0x17f)](util['format'](await _0x3854e2[_0x542fc0(0x138)](scripts[_0x542fc0(0x162)],_0x35aa80)));},{'command':_0x3eaab8[_0x414073(0x164)]})(),await PerformanceTester[_0x414073(0x142)](PerformanceA11yEvents[_0x414073(0x118)],async()=>{const _0x231fe3=_0x414073,_0x1bbe2b=await _0x3854e2[_0x231fe3(0x138)](scripts[_0x231fe3(0x170)]);return _0x1bbe2b;})();}catch{return logger['error'](_0x3eaab8[_0x414073(0x1f2)]),[];}},exports[a97_0x42ebb0(0x1df)]=async(_0x1206b4,_0x2f1652)=>{const _0x534246=a97_0x42ebb0,_0x46140b={};_0x46140b[_0x534246(0x1e3)]=_0x534246(0x193),_0x46140b['KKGwf']='isAccessibilityPlatform',_0x46140b['XyKrr']=_0x534246(0x1f3),_0x46140b[_0x534246(0x1a0)]=_0x534246(0x1c6),_0x46140b[_0x534246(0x1a1)]=_0x534246(0x1df),_0x46140b[_0x534246(0x1ed)]=_0x534246(0x1bb);const _0x5422a5=_0x46140b;if(!this[_0x534246(0x16b)]()||!globals[_0x534246(0x139)](_0x5422a5[_0x534246(0x1d9)])||!globals[_0x534246(0x139)](_0x5422a5[_0x534246(0x150)]))return logger[_0x534246(0x1a3)](_0x5422a5['CgdEX']),{};try{return await PerformanceTester[_0x534246(0x142)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x5569cc=_0x534246;logger['debug'](_0x5422a5['uEfGL']);const _0x1d2bb8={};_0x1d2bb8[_0x5569cc(0x1d5)]=_0x2f1652[_0x5569cc(0x124)],logger[_0x5569cc(0x17f)](util[_0x5569cc(0x1ae)](await _0x1206b4[_0x5569cc(0x138)](scripts['performScan'],_0x1d2bb8)));},{'command':_0x5422a5[_0x534246(0x1a1)]})(),await PerformanceTester[_0x534246(0x142)](PerformanceA11yEvents[_0x534246(0x149)],async()=>{const _0x923284=_0x534246,_0x102d83=await _0x1206b4[_0x923284(0x138)](scripts['getResultsSummary']);return _0x102d83;})();}catch{return logger[_0x534246(0x18f)](_0x5422a5['aHWEY']),{};}},exports[a97_0x42ebb0(0x171)]=_0x56b3fa=>{const _0x4b4a38=a97_0x42ebb0,_0x37a9a6={};_0x37a9a6[_0x4b4a38(0x13c)]=function(_0x5dd232,_0x4f2b71){return _0x5dd232===_0x4f2b71;},_0x37a9a6[_0x4b4a38(0x1ea)]='string',_0x37a9a6['Dgaln']=_0x4b4a38(0x179);const _0x17805f=_0x37a9a6;if(_0x56b3fa&&_0x56b3fa[_0x4b4a38(0x1ab)]&&_0x17805f['uUBPN'](typeof _0x56b3fa[_0x4b4a38(0x1ab)],_0x17805f[_0x4b4a38(0x1ea)]))return _0x56b3fa[_0x4b4a38(0x1ab)][_0x4b4a38(0x15e)](_0x17805f['Dgaln']);return![];};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a98_0x4fc831=a98_0x50e3;(function(_0x562d76,_0x27b19d){const _0x255e92=a98_0x50e3,_0x44e1d0=_0x562d76();while(!![]){try{const _0x3fb22a=-parseInt(_0x255e92(0x138))/0x1*(parseInt(_0x255e92(0x120))/0x2)+-parseInt(_0x255e92(0x12c))/0x3*(-parseInt(_0x255e92(0x119))/0x4)+-parseInt(_0x255e92(0x111))/0x5*(parseInt(_0x255e92(0xff))/0x6)+parseInt(_0x255e92(0x12d))/0x7+parseInt(_0x255e92(0x11b))/0x8+parseInt(_0x255e92(0x13b))/0x9*(-parseInt(_0x255e92(0x125))/0xa)+-parseInt(_0x255e92(0x103))/0xb*(-parseInt(_0x255e92(0x127))/0xc);if(_0x3fb22a===_0x27b19d)break;else _0x44e1d0['push'](_0x44e1d0['shift']());}catch(_0x25162a){_0x44e1d0['push'](_0x44e1d0['shift']());}}}(a98_0xd1fa,0x8e02e));const path=require('path'),fs=require('fs'),logger=require('../../helpers/logger')[a98_0x4fc831(0x114)],helper=require(a98_0x4fc831(0x118));class Scripts{constructor(){const _0x41ba9b=a98_0x4fc831,_0x271b8b={};_0x271b8b[_0x41ba9b(0x135)]=_0x41ba9b(0x132),_0x271b8b[_0x41ba9b(0x112)]=_0x41ba9b(0x12a),_0x271b8b['WfdvV']=_0x41ba9b(0x11c);const _0x9c0037=_0x271b8b,_0x2c9ffe=_0x9c0037['BcdBu'][_0x41ba9b(0x116)]('|');let _0x938730=0x0;while(!![]){switch(_0x2c9ffe[_0x938730++]){case'0':this[_0x41ba9b(0x106)]=null;continue;case'1':this[_0x41ba9b(0x136)]=null;continue;case'2':this[_0x41ba9b(0x115)]=null;continue;case'3':this[_0x41ba9b(0x137)]=null;continue;case'4':this['fromJson']();continue;case'5':this[_0x41ba9b(0x124)]=path[_0x41ba9b(0x11a)](helper['homedir'](),_0x9c0037[_0x41ba9b(0x112)]);continue;case'6':this[_0x41ba9b(0x10f)]=path['join'](this[_0x41ba9b(0x124)],_0x9c0037[_0x41ba9b(0x12b)]);continue;}break;}}[a98_0x4fc831(0x10e)](_0x39c91c){const _0x46ae9a=a98_0x4fc831;_0x39c91c[_0x46ae9a(0x110)]&&(this[_0x46ae9a(0x137)]=_0x39c91c[_0x46ae9a(0x110)]['scan'],this['getResults']=_0x39c91c['scripts'][_0x46ae9a(0x136)],this[_0x46ae9a(0x106)]=_0x39c91c[_0x46ae9a(0x110)][_0x46ae9a(0x106)],this[_0x46ae9a(0x115)]=_0x39c91c[_0x46ae9a(0x110)][_0x46ae9a(0x134)]),this[_0x46ae9a(0x101)]=_0x39c91c[_0x46ae9a(0x128)],this[_0x46ae9a(0x11f)]=_0x39c91c[_0x46ae9a(0x122)];}[a98_0x4fc831(0x129)](_0x165956,_0x10ca89){const _0x1d23b5=a98_0x4fc831,_0x3e9419={};_0x3e9419[_0x1d23b5(0x10c)]=function(_0x5ad4c0,_0x12e0f5){return _0x5ad4c0>_0x12e0f5;},_0x3e9419[_0x1d23b5(0x104)]=function(_0x7b694b,_0x2150d2){return _0x7b694b===_0x2150d2;},_0x3e9419[_0x1d23b5(0x12f)]=_0x1d23b5(0x13a),_0x3e9419[_0x1d23b5(0x131)]=function(_0x32dd9f,_0x513fd9){return _0x32dd9f===_0x513fd9;},_0x3e9419[_0x1d23b5(0x108)]='getResults',_0x3e9419[_0x1d23b5(0x10b)]=function(_0x2234b5,_0x48c179){return _0x2234b5===_0x48c179;},_0x3e9419['tJEHT']=_0x1d23b5(0x106),_0x3e9419[_0x1d23b5(0x11d)]=function(_0x2ec6b7,_0x474699){return _0x2ec6b7===_0x474699;},_0x3e9419[_0x1d23b5(0x12e)]='saveResults';const _0x47493e=_0x3e9419;if(_0x165956&&_0x47493e['QWLqh'](_0x165956[_0x1d23b5(0x113)],0x0))for(const _0x4939fb of _0x165956){if(_0x47493e['UfTox'](_0x4939fb[_0x1d23b5(0x107)](),_0x47493e[_0x1d23b5(0x12f)]))this[_0x1d23b5(0x137)]=_0x4939fb[_0x1d23b5(0x133)]();else{if(_0x47493e['tjDoY'](_0x4939fb[_0x1d23b5(0x107)](),_0x47493e[_0x1d23b5(0x108)]))this[_0x1d23b5(0x136)]=_0x4939fb['getCommand']();else{if(_0x47493e['bTAhC'](_0x4939fb['getName'](),_0x47493e['tJEHT']))this[_0x1d23b5(0x106)]=_0x4939fb[_0x1d23b5(0x133)]();else _0x47493e[_0x1d23b5(0x11d)](_0x4939fb[_0x1d23b5(0x107)](),_0x47493e[_0x1d23b5(0x12e)])&&(this[_0x1d23b5(0x115)]=_0x4939fb[_0x1d23b5(0x133)]());}}}_0x10ca89&&_0x47493e[_0x1d23b5(0x10c)](_0x10ca89[_0x1d23b5(0x113)],0x0)&&(this['commandsToWrap']=_0x10ca89[_0x1d23b5(0x121)](_0x359616=>{const _0x41389c=_0x1d23b5;return{'name':_0x359616[_0x41389c(0x107)](),'method':_0x359616['getMethod'](),'library':_0x359616[_0x41389c(0x10d)](),'module':_0x359616['getModule'](),'class':_0x359616[_0x41389c(0x10a)]()};}));}['shouldWrapCommand'](_0x152c8e){const _0x4db88b=a98_0x4fc831,_0x47eee8={};_0x47eee8[_0x4db88b(0x117)]=function(_0x2ceeb8,_0x392d8e){return _0x2ceeb8!==_0x392d8e;};const _0x2f9d6d=_0x47eee8;try{return _0x2f9d6d['bUomc'](this[_0x4db88b(0x101)]['findIndex'](_0x113c13=>_0x113c13[_0x4db88b(0x105)][_0x4db88b(0x11e)]()===_0x152c8e['toLowerCase']()),-0x1);}catch(_0x577bf2){logger[_0x4db88b(0x102)](_0x4db88b(0x126)+_0x577bf2);}return![];}[a98_0x4fc831(0x109)](){const _0x1bf457=a98_0x4fc831;!fs[_0x1bf457(0x139)](this[_0x1bf457(0x124)])&&fs['mkdirSync'](this[_0x1bf457(0x124)]),fs['writeFileSync'](this[_0x1bf457(0x10f)],JSON[_0x1bf457(0x100)]({'scripts':{'scan':this[_0x1bf457(0x137)],'getResults':this[_0x1bf457(0x136)],'getResultsSummary':this[_0x1bf457(0x106)],'saveResults':this[_0x1bf457(0x115)]},'commands':this[_0x1bf457(0x101)],'nonBStackInfraA11yChromeOptions':this['ChromeExtension']}));}[a98_0x4fc831(0x123)](){const _0x1d8c0f=a98_0x4fc831,_0x3ebc25={'meuMt':function(_0x36b2c9,_0x714da8){return _0x36b2c9(_0x714da8);}};fs['existsSync'](this[_0x1d8c0f(0x10f)])&&this[_0x1d8c0f(0x10e)](_0x3ebc25[_0x1d8c0f(0x130)](require,this[_0x1d8c0f(0x10f)]));}}function a98_0xd1fa(){const _0x668775=['commands.json','lMPfy','toLowerCase','ChromeExtension','52rgFJlh','map','nonBStackInfraA11yChromeOptions','fromJson','browserstackFolderPath','1836860pVFYTO','Exception\x20in\x20browserstack\x20accessibility\x20automation\x20with\x20error:\x20','14154732DIAAeW','commands','parseFromProto','.browserstack','WfdvV','366441CqAguc','3404961BLnIBJ','uMJju','UHNQf','meuMt','tjDoY','3|1|0|2|5|6|4','getCommand','saveResults','BcdBu','getResults','performScan','20899XcToSb','existsSync','scan','54sNpNsw','18jFXPMf','stringify','commandsToWrap','debug','11YNMMQh','UfTox','name','getResultsSummary','getName','BwhlS','toJson','getClass','bTAhC','QWLqh','getLibrary','parseFromJson','commandsPath','scripts','865225yVJVKM','FYREj','length','winstonLogger','saveTestResults','split','bUomc','../helper','8PDdQrG','join','6688200BJYccl'];a98_0xd1fa=function(){return _0x668775;};return a98_0xd1fa();}function a98_0x50e3(_0x6b2ab4,_0x164d30){const _0xd1fa48=a98_0xd1fa();return a98_0x50e3=function(_0x50e341,_0x41fdc9){_0x50e341=_0x50e341-0xff;let _0x1af7f9=_0xd1fa48[_0x50e341];return _0x1af7f9;},a98_0x50e3(_0x6b2ab4,_0x164d30);}module['exports']=new Scripts();
|