browserstack-node-sdk 1.50.0 → 1.50.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a94_0x1dfc35=a94_0x1077;(function(_0x203201,_0x345cd7){const _0x40fead=a94_0x1077,_0xa49aad=_0x203201();while(!![]){try{const _0x2c6f6a=parseInt(_0x40fead(0x276))/0x1+parseInt(_0x40fead(0x25e))/0x2+-parseInt(_0x40fead(0x220))/0x3+-parseInt(_0x40fead(0x273))/0x4*(parseInt(_0x40fead(0x29a))/0x5)+parseInt(_0x40fead(0x2aa))/0x6*(parseInt(_0x40fead(0x233))/0x7)+parseInt(_0x40fead(0x1b3))/0x8*(parseInt(_0x40fead(0x2a9))/0x9)+-parseInt(_0x40fead(0x26f))/0xa;if(_0x2c6f6a===_0x345cd7)break;else _0xa49aad['push'](_0xa49aad['shift']());}catch(_0x9d02fd){_0xa49aad['push'](_0xa49aad['shift']());}}}(a94_0x1657,0x76da3));const util=require(a94_0x1dfc35(0x1fc)),os=require('os'),path=require(a94_0x1dfc35(0x1d5)),{v4:uuidv4}=require('uuid'),fs=require('fs'),constants=require('../bin/utils/constants'),logger=require(a94_0x1dfc35(0x1f0))[a94_0x1dfc35(0x1df)],fileLogger=require(a94_0x1dfc35(0x1f0))[a94_0x1dfc35(0x296)],{getLogDir}=require(a94_0x1dfc35(0x1f0)),helper=require(a94_0x1dfc35(0x22f)),utilities=require(a94_0x1dfc35(0x1bc)),percyHelper=require(a94_0x1dfc35(0x1da)),hubAllocator=require('../hubAllocationMethods'),PerformanceTester=require('./performance/performance-tester'),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents}=require('./performance/constants'),{setPercyFlag}=require(a94_0x1dfc35(0x277)),TestHubHandler=require(a94_0x1dfc35(0x1c3)),timeoutPromise=require(a94_0x1dfc35(0x22e)),BrowserstackCLI=require('../bin/v2/browserstackCLI'),LoadTestModule=require(a94_0x1dfc35(0x28e)),{getEdsInstrumentationAPIUrl}=require(a94_0x1dfc35(0x25d)),ClientTroubleShootingService=require('../bin/utils/clientTroubleshootingService');class BrowserStackSetup{constructor(_0x15dc30,_0x49b45c){const _0x491922=a94_0x1dfc35,_0x100b70={'epZUs':'23|15|22|16|4|19|17|9|20|13|14|10|12|21|2|18|11|5|0|3|7|6|8|1','ZjOUg':_0x491922(0x26d),'qIjhF':function(_0x488968){return _0x488968();}},_0x2e7b26=_0x100b70[_0x491922(0x245)][_0x491922(0x239)]('|');let _0x3b6eec=0x0;while(!![]){switch(_0x2e7b26[_0x3b6eec++]){case'0':this[_0x491922(0x216)]['testContextOptions'][_0x491922(0x29b)]=!helper[_0x491922(0x289)]()||helper['isTrue'](this[_0x491922(0x216)][_0x491922(0x20b)][_0x491922(0x29b)]);continue;case'1':PerformanceTester['startMonitoring']();continue;case'2':if(helper['isUndefined'](this[_0x491922(0x216)]))throw new Error(_0x100b70['ZjOUg']);continue;case'3':this[_0x491922(0x216)][_0x491922(0x20b)][_0x491922(0x295)]=!helper[_0x491922(0x289)]()||helper[_0x491922(0x284)](this[_0x491922(0x216)][_0x491922(0x20b)][_0x491922(0x295)]);continue;case'4':this[_0x491922(0x242)]=null;continue;case'5':helper[_0x491922(0x2a6)](this[_0x491922(0x216)]);continue;case'6':helper[_0x491922(0x1ae)](this[_0x491922(0x216)]);continue;case'7':helper['getFinalCaps'](this[_0x491922(0x216)],this['cliConfig'],this[_0x491922(0x231)]);continue;case'8':helper['setLogLevel'](this[_0x491922(0x216)],this[_0x491922(0x225)],this[_0x491922(0x231)]);continue;case'9':this['cliConfig']=helper[_0x491922(0x1c7)](_0x15dc30);continue;case'10':this[_0x491922(0x1e0)]=_0x100b70[_0x491922(0x238)](uuidv4);continue;case'11':helper[_0x491922(0x1c8)](this[_0x491922(0x216)],this['cliConfig']);continue;case'12':this[_0x491922(0x1ff)]=_0x49b45c;continue;case'13':this[_0x491922(0x216)][_0x491922(0x20b)]=this['config'][_0x491922(0x20b)]||{};continue;case'14':this['errorMessage']={};continue;case'15':helper['normalizeTestReportingEnvVars']();continue;case'16':this[_0x491922(0x20c)]=null;continue;case'17':this[_0x491922(0x216)]=helper[_0x491922(0x29d)](this[_0x491922(0x2ba)]);continue;case'18':if(this[_0x491922(0x216)]['error'])throw new Error(this[_0x491922(0x216)]['error']);continue;case'19':this['configPath']=helper[_0x491922(0x265)](_0x15dc30);continue;case'20':this[_0x491922(0x216)][_0x491922(0x1e8)]=this[_0x491922(0x216)]['platforms']||[];continue;case'21':global[_0x491922(0x1ff)]=_0x49b45c;continue;case'22':this[_0x491922(0x231)]=helper[_0x491922(0x232)]();continue;case'23':this[_0x491922(0x1bf)]=[];continue;}break;}}[a94_0x1dfc35(0x1b8)](_0x5f5190){const _0xb890aa=a94_0x1dfc35,_0xd0dfdf={'pmuYJ':'userName\x20or\x20accessKey\x20is\x20not\x20defined','ZEiKh':function(_0x419ec1,_0x215c19){return _0x419ec1===_0x215c19;},'xFCuA':_0xb890aa(0x1ac),'HreAR':_0xb890aa(0x1aa),'InCSz':function(_0x5ec869,_0x450d70){return _0x5ec869<_0x450d70;},'gUVrs':function(_0x361da2,_0x228f23){return _0x361da2(_0x228f23);},'YlTPi':_0xb890aa(0x210),'mZXIF':function(_0x3dc001,_0x43b20d){return _0x3dc001===_0x43b20d;},'FZFBY':_0xb890aa(0x1bb),'dTXSV':_0xb890aa(0x287),'HIcde':'parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','jkcVx':_0xb890aa(0x1d2),'NgyhD':_0xb890aa(0x1b2),'qNome':_0xb890aa(0x27c),'cSPcu':function(_0x17a4c2,_0x14bc5f){return _0x17a4c2!==_0x14bc5f;},'Jphad':'win32','msYal':_0xb890aa(0x1ca),'tiRUk':_0xb890aa(0x21a),'FtBlI':'SIGBREAK','xXRBu':'beforeExit'},_0x3166f9=this[_0xb890aa(0x1ff)];global['config']=this[_0xb890aa(0x216)],helper[_0xb890aa(0x1b6)](this[_0xb890aa(0x216)]),this['killSignal']=null,global[_0xb890aa(0x1e0)]=this[_0xb890aa(0x1e0)],logger['info']('SDK\x20run\x20started\x20with\x20id:\x20'+this[_0xb890aa(0x1e0)]),!this[_0xb890aa(0x216)][_0xb890aa(0x269)]&&(this[_0xb890aa(0x216)][_0xb890aa(0x269)]=this[_0xb890aa(0x216)]['localOptions']||{});if(helper[_0xb890aa(0x297)](helper[_0xb890aa(0x24a)](this[_0xb890aa(0x216)]))||helper[_0xb890aa(0x297)](helper['getAccessKey'](this[_0xb890aa(0x216)])))throw new Error(_0xd0dfdf[_0xb890aa(0x1cc)]);helper[_0xb890aa(0x256)](this[_0xb890aa(0x216)])&&helper[_0xb890aa(0x297)](helper[_0xb890aa(0x252)](this['config']))&&(!helper[_0xb890aa(0x297)](this[_0xb890aa(0x216)][_0xb890aa(0x269)])&&_0xd0dfdf[_0xb890aa(0x26c)](this['config']['browserStackLocalOptions']['constructor'],Object)?!helper[_0xb890aa(0x284)](this[_0xb890aa(0x216)][_0xb890aa(0x269)][_0xb890aa(0x1f1)])&&(this[_0xb890aa(0x216)][_0xb890aa(0x269)][_0xb890aa(0x1ed)]=helper['generateLocalIdentifier']()):this[_0xb890aa(0x216)]['browserStackLocalOptions']={'localIdentifier':helper['generateLocalIdentifier']()});this[_0xb890aa(0x216)][_0xb890aa(0x269)]['skipBinaryInitialisation']=helper['isTrue'](this['config'][_0xb890aa(0x269)][_0xb890aa(0x1f1)]),helper[_0xb890aa(0x264)](this[_0xb890aa(0x216)]);if(_0xd0dfdf['ZEiKh'](_0x3166f9,_0xd0dfdf[_0xb890aa(0x227)]))return;this[_0xb890aa(0x2bd)]();process[_0xb890aa(0x1d6)]['BROWSERSTACK_TURBOSCALE']&&(this[_0xb890aa(0x216)][_0xb890aa(0x1f3)]=helper[_0xb890aa(0x284)](process[_0xb890aa(0x1d6)][_0xb890aa(0x285)]),this[_0xb890aa(0x216)][_0xb890aa(0x257)]=this['config'][_0xb890aa(0x257)]||{});helper[_0xb890aa(0x2a7)](this[_0xb890aa(0x216)])&&(process[_0xb890aa(0x1d6)][_0xb890aa(0x285)]=!![]);LoadTestModule[_0xb890aa(0x267)](this[_0xb890aa(0x216)])&&logger[_0xb890aa(0x200)](_0xb890aa(0x274)+this[_0xb890aa(0x1e0)]);if(!helper[_0xb890aa(0x289)]()){try{process['env'][_0xb890aa(0x1d9)]=_0x3166f9,utilities[_0xb890aa(0x1f2)](_0xd0dfdf[_0xb890aa(0x28d)],{},this[_0xb890aa(0x216)],this['framework']);}catch(_0x3a323a){logger['debug'](_0xb890aa(0x29c)+_0x3a323a);}return;}if(helper[_0xb890aa(0x270)](_0x3166f9)){if(global[_0xb890aa(0x27a)])return;_0xd0dfdf[_0xb890aa(0x1f5)](_0xd0dfdf[_0xb890aa(0x25a)](parseInt,helper[_0xb890aa(0x1c5)](_0xd0dfdf[_0xb890aa(0x268)])),0x3)&&(this['config'][_0xb890aa(0x203)]=![]),_0xd0dfdf[_0xb890aa(0x25f)](helper['compareVersions'](helper['getPackageVersion'](_0xd0dfdf[_0xb890aa(0x268)]),_0xd0dfdf[_0xb890aa(0x1b7)]),0x1)&&(this['config'][_0xb890aa(0x203)]=!![]);}(helper['isUndefined'](this['config'][_0xb890aa(0x1e8)])||helper['isUndefined'](this['config'][_0xb890aa(0x1e8)][_0xb890aa(0x29e)]))&&(helper[_0xb890aa(0x297)](this[_0xb890aa(0x216)][_0xb890aa(0x24d)])?logger[_0xb890aa(0x224)](_0xd0dfdf[_0xb890aa(0x209)]):logger[_0xb890aa(0x219)](_0xd0dfdf[_0xb890aa(0x1e2)]),this[_0xb890aa(0x216)][_0xb890aa(0x1e8)]=[]);!this[_0xb890aa(0x216)][_0xb890aa(0x20b)]&&(this[_0xb890aa(0x216)][_0xb890aa(0x20b)]={});try{process[_0xb890aa(0x1d6)]['FRAMEWORK']=_0x5f5190['_'][0x0],utilities[_0xb890aa(0x1f2)](_0xd0dfdf[_0xb890aa(0x28d)],{},this[_0xb890aa(0x216)],this[_0xb890aa(0x1ff)]);}catch(_0x43c168){logger[_0xb890aa(0x200)](_0xb890aa(0x29c)+_0x43c168);}!this['config'][_0xb890aa(0x27e)]&&logger[_0xb890aa(0x224)](constants[_0xb890aa(0x251)]),this['intExitHandler']=this[_0xb890aa(0x1f7)][_0xb890aa(0x271)](this),process['on'](_0xd0dfdf[_0xb890aa(0x1e9)],this[_0xb890aa(0x1f7)]),process['on'](_0xd0dfdf[_0xb890aa(0x1f8)],this[_0xb890aa(0x1f7)]),process['on'](_0xd0dfdf[_0xb890aa(0x250)],this[_0xb890aa(0x1f7)]),_0xd0dfdf['cSPcu'](process['platform'],_0xd0dfdf['Jphad'])?(process['on'](_0xd0dfdf[_0xb890aa(0x299)],this[_0xb890aa(0x1f7)]),process['on'](_0xd0dfdf['tiRUk'],this['intExitHandler'])):process['on'](_0xd0dfdf[_0xb890aa(0x2ab)],this['intExitHandler']),process['on'](_0xd0dfdf['xXRBu'],this[_0xb890aa(0x237)]());}async[a94_0x1dfc35(0x229)](_0x4bee53){const _0x30ef0d=a94_0x1dfc35,_0x463f09={'Vdwre':_0x30ef0d(0x1cf),'fnkpZ':_0x30ef0d(0x298),'NkZrR':_0x30ef0d(0x226),'LCyjW':function(_0x2ea250,_0x57892f){return _0x2ea250===_0x57892f;},'gsMJJ':_0x30ef0d(0x263),'uEJYk':function(_0xb69721,_0x4bbf8a){return _0xb69721+_0x4bbf8a;},'hWsQr':_0x30ef0d(0x28f),'XsHUZ':function(_0x8ad3ef,_0x319a1d){return _0x8ad3ef(_0x319a1d);},'ABAKZ':_0x30ef0d(0x2b0)};this[_0x30ef0d(0x1b8)](_0x4bee53);if(helper[_0x30ef0d(0x2a7)](this['config'])){const _0x24c039=await helper[_0x30ef0d(0x1d4)](this[_0x30ef0d(0x216)]);this[_0x30ef0d(0x216)][_0x30ef0d(0x236)]=_0x24c039,_0x24c039['isTrialGrid']&&helper[_0x30ef0d(0x272)](this[_0x30ef0d(0x216)][_0x30ef0d(0x20c)])&&helper['isTrue'](this[_0x30ef0d(0x216)]['browserstackLocal'])&&(this[_0x30ef0d(0x216)]['browserStackLocalOptions'][_0x30ef0d(0x1ed)]=_0x463f09['Vdwre'],this[_0x30ef0d(0x216)][_0x30ef0d(0x269)][_0x463f09[_0x30ef0d(0x217)]]=_0x24c039[_0x30ef0d(0x28c)][_0x30ef0d(0x23f)](','),this['config'][_0x30ef0d(0x269)][_0x30ef0d(0x266)]=_0x463f09[_0x30ef0d(0x1cb)]),this[_0x30ef0d(0x216)][_0x30ef0d(0x248)]=_0x24c039[_0x30ef0d(0x1c6)],this['framework']&&_0x463f09[_0x30ef0d(0x223)](this[_0x30ef0d(0x1ff)][_0x30ef0d(0x2ac)](),_0x463f09['gsMJJ'])?this[_0x30ef0d(0x216)]['turboScaleUrl']=_0x463f09[_0x30ef0d(0x292)](_0x24c039[_0x30ef0d(0x1af)],_0x463f09[_0x30ef0d(0x1c0)]):constants[_0x30ef0d(0x1f9)]=helper[_0x30ef0d(0x235)](this[_0x30ef0d(0x216)]),logger[_0x30ef0d(0x200)](_0x30ef0d(0x23b)+constants[_0x30ef0d(0x1f9)]);}helper[_0x30ef0d(0x24c)](this[_0x30ef0d(0x216)]),this[_0x30ef0d(0x26a)](),_0x463f09[_0x30ef0d(0x293)](setPercyFlag,this),await this[_0x30ef0d(0x24b)](),![_0x463f09[_0x30ef0d(0x212)],_0x463f09[_0x30ef0d(0x1ec)]][_0x30ef0d(0x244)](this[_0x30ef0d(0x1ff)])&&!helper[_0x30ef0d(0x2a7)](this[_0x30ef0d(0x216)])&&!helper[_0x30ef0d(0x286)]()[_0x30ef0d(0x27b)]&&await this[_0x30ef0d(0x22c)]();}async[a94_0x1dfc35(0x1e5)](){const _0x1942a6=a94_0x1dfc35,_0xe39e06={};_0xe39e06[_0x1942a6(0x291)]=function(_0x1a2b9e,_0x1e719e){return _0x1a2b9e===_0x1e719e;},_0xe39e06['wrkhj']=_0x1942a6(0x1ba),_0xe39e06['ZySKw']=_0x1942a6(0x1ea),_0xe39e06[_0x1942a6(0x1b9)]='Percy\x20started\x20successfully',_0xe39e06[_0x1942a6(0x1ce)]=_0x1942a6(0x226),_0xe39e06[_0x1942a6(0x23e)]=_0x1942a6(0x1e3);const _0x49bae5=_0xe39e06;if(helper[_0x1942a6(0x284)](this[_0x1942a6(0x216)][_0x1942a6(0x242)])&&(!this[_0x1942a6(0x242)]||!this[_0x1942a6(0x242)][_0x1942a6(0x2a8)]()))try{this[_0x1942a6(0x242)]=await percyHelper[_0x1942a6(0x222)](this[_0x1942a6(0x216)]);if(!this[_0x1942a6(0x242)]){process[_0x1942a6(0x1d6)][_0x1942a6(0x201)]=_0x49bae5[_0x1942a6(0x20a)];throw new Error(_0x49bae5[_0x1942a6(0x23d)]);}logger[_0x1942a6(0x224)](_0x49bae5[_0x1942a6(0x1b9)]),process['env'][_0x1942a6(0x201)]=_0x49bae5['mpkHW'];let _0x1b6eb9=0x0;const _0x469b5c=async()=>{const _0x474937=_0x1942a6;_0x1b6eb9++,_0x49bae5[_0x474937(0x291)](_0x1b6eb9,0x1)&&await this[_0x474937(0x1be)]();};process['on'](_0x49bae5['LMhwW'],_0x469b5c);}catch(_0xcfdb01){process[_0x1942a6(0x1d6)][_0x1942a6(0x201)]=_0x49bae5[_0x1942a6(0x20a)],logger[_0x1942a6(0x200)]('Error\x20in\x20percy\x20setup\x20'+_0xcfdb01);throw new Error(_0xcfdb01[_0x1942a6(0x275)]());}}async[a94_0x1dfc35(0x1be)](){const _0xa59132=a94_0x1dfc35,_0x58f4db={};_0x58f4db[_0xa59132(0x1fd)]=_0xa59132(0x22b),_0x58f4db['FXbPu']=_0xa59132(0x2a3);const _0x3206a6=_0x58f4db;if(this[_0xa59132(0x242)]&&this[_0xa59132(0x242)][_0xa59132(0x2a8)]())try{await percyHelper[_0xa59132(0x1be)](this['percy']),logger[_0xa59132(0x224)](_0x3206a6['TxsDV']);}catch(_0x593770){logger['error'](_0x3206a6['FXbPu'],_0x593770[_0xa59132(0x1b0)]);}}async['setupBrowserstackLocal'](){const _0x353dc9=a94_0x1dfc35,_0x40b3c3={};_0x40b3c3[_0x353dc9(0x1dd)]=_0x353dc9(0x22a),_0x40b3c3['xKgKg']=_0x353dc9(0x1de);const _0x14e15e=_0x40b3c3;if(helper[_0x353dc9(0x289)]()&&helper[_0x353dc9(0x284)](this['config'][_0x353dc9(0x20c)])&&(!this[_0x353dc9(0x20c)]||!this[_0x353dc9(0x20c)][_0x353dc9(0x2a8)]()))try{if(this['config'][_0x353dc9(0x269)][_0x353dc9(0x1f1)]){logger[_0x353dc9(0x200)](_0x14e15e[_0x353dc9(0x1dd)]);return;}this[_0x353dc9(0x20c)]=await helper[_0x353dc9(0x214)](this[_0x353dc9(0x216)]),logger[_0x353dc9(0x224)](_0x14e15e[_0x353dc9(0x247)]);}catch(_0x4dd45d){logger[_0x353dc9(0x200)](_0x4dd45d);throw new Error(_0x4dd45d[_0x353dc9(0x275)]());}}async[a94_0x1dfc35(0x23a)](){const _0x3d9179=a94_0x1dfc35,_0x46558f={};_0x46558f[_0x3d9179(0x24e)]=_0x3d9179(0x2b3),_0x46558f[_0x3d9179(0x221)]=_0x3d9179(0x281);const _0x2ea4c7=_0x46558f;if(this[_0x3d9179(0x20c)]&&this[_0x3d9179(0x20c)]['isRunning']())try{await helper[_0x3d9179(0x246)](this[_0x3d9179(0x20c)]),logger[_0x3d9179(0x224)](_0x2ea4c7[_0x3d9179(0x24e)]);}catch(_0x30f446){logger[_0x3d9179(0x211)](_0x2ea4c7[_0x3d9179(0x221)],_0x30f446[_0x3d9179(0x1b0)]);}}async[a94_0x1dfc35(0x22c)](){const _0x588960=a94_0x1dfc35;return PerformanceTester[_0x588960(0x1c9)](PerformanceAutEvents['HUB_MANAGEMENT'],async()=>{const _0x71e801=_0x588960;await hubAllocator[_0x71e801(0x228)](this[_0x71e801(0x216)]);})();}async[a94_0x1dfc35(0x202)](){const _0x2c8f6e=a94_0x1dfc35,_0x383cd5={'yHBmf':function(_0x355fd5,_0x4fe863){return _0x355fd5(_0x4fe863);},'hXKSz':_0x2c8f6e(0x1db),'pNTeI':function(_0xde1954,_0x254c32,_0x434313,_0x3f891b,_0x205b0a,_0x217b6f,_0x38c33c){return _0xde1954(_0x254c32,_0x434313,_0x3f891b,_0x205b0a,_0x217b6f,_0x38c33c);},'biYJf':_0x2c8f6e(0x260),'aqeHl':_0x2c8f6e(0x1e1),'RdivP':_0x2c8f6e(0x1d3),'kjAqt':_0x2c8f6e(0x22d),'MTspi':function(_0x130fd1,_0x2f87ef){return _0x130fd1(_0x2f87ef);},'gNVqd':function(_0x4b18d2,_0x1fd9f9){return _0x4b18d2===_0x1fd9f9;},'JjdLS':_0x2c8f6e(0x226),'qtcif':_0x2c8f6e(0x2a5),'NZuvO':function(_0x1d4c20,_0x354534){return _0x1d4c20===_0x354534;},'xXWXT':_0x2c8f6e(0x26b),'RvhCT':_0x2c8f6e(0x1f4),'JbfbO':function(_0x44d3f5,_0x595764){return _0x44d3f5(_0x595764);},'MnGwl':'Healing\x20is\x20not\x20enabled\x20for\x20your\x20group,\x20please\x20contact\x20the\x20admin','BOAoD':function(_0x400211,_0x1fbfdd){return _0x400211>=_0x1fbfdd;},'FlYjv':function(_0x25b752,_0x35f6d0){return _0x25b752<_0x35f6d0;},'VPxqs':_0x2c8f6e(0x2a0),'YWggq':_0x2c8f6e(0x206),'PtvsH':function(_0x422c49){return _0x422c49();}},_0x3deb89=PerformanceTester['measureWrapper'](_0x383cd5[_0x2c8f6e(0x1d0)],async()=>{const _0x53482c=_0x2c8f6e;try{const _0x41545a=new Date(),_0xc5caaf=helper[_0x53482c(0x2a2)](this[_0x53482c(0x216)]),_0xca3cc8=_0x383cd5[_0x53482c(0x258)](require,path[_0x53482c(0x23f)](__dirname,_0x383cd5[_0x53482c(0x205)])),_0x9459a4=_0x383cd5[_0x53482c(0x1c2)](timeoutPromise,constants[_0x53482c(0x2b8)],_0x383cd5[_0x53482c(0x24f)],_0x383cd5[_0x53482c(0x278)],_0x41545a,this[_0x53482c(0x216)],this[_0x53482c(0x1ff)]),_0x518da2={'tcgUrl':constants['TCG_URL'],'sdkVersion':_0x383cd5[_0x53482c(0x258)](require,_0x383cd5['RdivP'])[_0x53482c(0x282)],'methodUsed':_0x383cd5[_0x53482c(0x1b1)],'proxyConfig':_0xc5caaf,'os':os[_0x53482c(0x204)]()};if(_0xc5caaf&&_0xc5caaf[_0x53482c(0x2ad)]){utilities[_0x53482c(0x1f2)](constants[_0x53482c(0x283)],_0x518da2,this[_0x53482c(0x216)],this[_0x53482c(0x1ff)]);return;}const _0x438374={};_0x438374[_0x53482c(0x21d)]=_0xc5caaf;const _0x5ad8c7=await Promise[_0x53482c(0x213)]([_0xca3cc8[_0x53482c(0x1f6)](this[_0x53482c(0x216)]['accessKey'],this[_0x53482c(0x216)]['userName'],constants['TCG_URL'],_0x383cd5[_0x53482c(0x241)](require,_0x383cd5[_0x53482c(0x2a4)])[_0x53482c(0x282)],_0x438374)[_0x53482c(0x1eb)](_0x51cd1b=>{return _0x9459a4['cancel'](),_0x51cd1b;}),_0x9459a4]);_0x5ad8c7[_0x53482c(0x1e7)]=_0x383cd5[_0x53482c(0x20e)](_0x5ad8c7[_0x53482c(0x1e7)],_0x383cd5[_0x53482c(0x2b1)])||_0x383cd5[_0x53482c(0x20e)](_0x5ad8c7[_0x53482c(0x1e7)],!![]);const _0x7e4343=_0x383cd5[_0x53482c(0x20e)](this['config'][_0x53482c(0x234)],!![])||_0x383cd5[_0x53482c(0x20e)](this[_0x53482c(0x216)][_0x53482c(0x234)],_0x383cd5[_0x53482c(0x2b1)]);if(_0x383cd5[_0x53482c(0x20e)](_0x5ad8c7[_0x53482c(0x1b0)],constants[_0x53482c(0x294)])&&_0x7e4343)logger[_0x53482c(0x224)](_0x383cd5['qtcif']);else{if(!_0x5ad8c7[_0x53482c(0x1bd)]&&_0x383cd5['NZuvO'](_0x5ad8c7[_0x53482c(0x215)],0x1f7)&&_0x7e4343)logger['info'](_0x383cd5['xXWXT']),utilities[_0x53482c(0x1f2)](constants[_0x53482c(0x28b)],_0x518da2,this[_0x53482c(0x216)],this[_0x53482c(0x1ff)]);else{if(!_0x5ad8c7[_0x53482c(0x1bd)]&&_0x7e4343){logger[_0x53482c(0x224)](_0x383cd5[_0x53482c(0x1fe)]);const _0x339af5={'tcgUrl':constants[_0x53482c(0x240)],'sdkVersion':_0x383cd5[_0x53482c(0x1d8)](require,_0x383cd5[_0x53482c(0x2a4)])['version'],'methodUsed':_0x383cd5[_0x53482c(0x1b1)],'proxyConfig':_0xc5caaf,'os':os[_0x53482c(0x204)]()};utilities[_0x53482c(0x1f2)](constants[_0x53482c(0x288)],_0x339af5,this[_0x53482c(0x216)],this['framework']);}else{if(_0x5ad8c7[_0x53482c(0x1bd)]&&!_0x5ad8c7['isHealingEnabled']&&_0x7e4343)logger[_0x53482c(0x224)](_0x383cd5['MnGwl']);else{if(_0x383cd5[_0x53482c(0x21b)](_0x5ad8c7[_0x53482c(0x215)],0xc8)&&_0x383cd5[_0x53482c(0x254)](_0x5ad8c7[_0x53482c(0x215)],0x12c))utilities[_0x53482c(0x1f2)](constants['AI_INIT_SUCCESSFUL'],_0x518da2,this[_0x53482c(0x216)],this[_0x53482c(0x1ff)]);else{if(_0x383cd5[_0x53482c(0x21b)](_0x5ad8c7['status'],0x190))_0x518da2[_0x53482c(0x215)]=_0x5ad8c7[_0x53482c(0x215)],utilities[_0x53482c(0x1f2)](constants['AI_INIT_FAILURE'],_0x518da2,this['config'],this[_0x53482c(0x1ff)]);else!_0x5ad8c7['status']&&utilities['fireFunnelTestEvent'](constants[_0x53482c(0x280)],_0x518da2,this[_0x53482c(0x216)],this[_0x53482c(0x1ff)]);}}}}}if(_0x5ad8c7[_0x53482c(0x1bd)]&&_0x5ad8c7[_0x53482c(0x1e7)]){const _0x5407a4={};_0x5407a4['tcgAuthConfig']=_0x5ad8c7;const _0x1f237d=_0x5407a4;_0xc5caaf&&(_0x1f237d[_0x53482c(0x1e4)]=_0xc5caaf),_0x1f237d['framework']=this[_0x53482c(0x1ff)],_0x1f237d[_0x53482c(0x1fb)]=this[_0x53482c(0x216)],helper[_0x53482c(0x26e)](_0x1f237d),logger[_0x53482c(0x200)](_0x383cd5['VPxqs']);}}catch(_0x405648){logger[_0x53482c(0x200)]('Error\x20in\x20setting\x20up\x20tcg\x20authconfig.\x20Error:\x20'+(_0x405648['message']?_0x405648[_0x53482c(0x1b0)]:''));}});await _0x383cd5[_0x2c8f6e(0x208)](_0x3deb89);}[a94_0x1dfc35(0x26a)](){const _0x26e475=a94_0x1dfc35,_0x4369b1={'QLACR':function(_0x5703d7,_0x44b880){return _0x5703d7(_0x44b880);},'Obmtf':_0x26e475(0x1d7)};_0x4369b1[_0x26e475(0x2b5)](require,_0x4369b1[_0x26e475(0x1ad)])();}[a94_0x1dfc35(0x2bd)](){const _0x12be67=a94_0x1dfc35,_0x293c46={};_0x293c46['PHEPT']=_0x12be67(0x21f),_0x293c46[_0x12be67(0x2ae)]=_0x12be67(0x2b6),_0x293c46[_0x12be67(0x243)]='uncaughtException';const _0x286f3c=_0x293c46,_0x446c4c=_0x270e5b=>{const _0x2b4bbf=_0x12be67,_0x448ff5=_0x286f3c[_0x2b4bbf(0x2bb)][_0x2b4bbf(0x239)]('|');let _0x122394=0x0;while(!![]){switch(_0x448ff5[_0x122394++]){case'0':logger[_0x2b4bbf(0x200)](util[_0x2b4bbf(0x25b)](_0x270e5b));continue;case'1':ClientTroubleShootingService['reportFinalDetectionState']();continue;case'2':PerformanceTester[_0x2b4bbf(0x20f)](_0x270e5b);continue;case'3':logger[_0x2b4bbf(0x211)](_0x270e5b['message']);continue;case'4':this[_0x2b4bbf(0x1bf)][_0x2b4bbf(0x2bc)](util[_0x2b4bbf(0x25b)]('%j',_0x270e5b));continue;}break;}};process['on'](_0x286f3c[_0x12be67(0x2ae)],_0x446c4c),process['on'](_0x286f3c['GchkV'],_0x446c4c);}async[a94_0x1dfc35(0x1f7)](_0x402fc8){const _0x4c68e2=a94_0x1dfc35,_0xb6781={};_0xb6781[_0x4c68e2(0x2af)]=_0x4c68e2(0x1ef),_0xb6781[_0x4c68e2(0x1c1)]=function(_0x12f21d,_0x149492){return _0x12f21d+_0x149492;},_0xb6781[_0x4c68e2(0x1dc)]=_0x4c68e2(0x259),_0xb6781[_0x4c68e2(0x27d)]=_0x4c68e2(0x2b2);const _0x182410=_0xb6781,_0x596c50=_0x182410['oGCPh'][_0x4c68e2(0x239)]('|');let _0x129d9b=0x0;while(!![]){switch(_0x596c50[_0x129d9b++]){case'0':this[_0x182410['SExhC'](_0x182410['aISgj'],_0x402fc8)]=!![];continue;case'1':if(this[_0x182410[_0x4c68e2(0x1c1)](_0x182410[_0x4c68e2(0x1dc)],_0x402fc8)])return;continue;case'2':await ClientTroubleShootingService[_0x4c68e2(0x1e6)](_0x402fc8);continue;case'3':await BrowserstackCLI[_0x4c68e2(0x1b4)]()['stop']();continue;case'4':await TestHubHandler[_0x4c68e2(0x230)](_0x402fc8);continue;case'5':logger[_0x4c68e2(0x224)](_0x182410[_0x4c68e2(0x1c1)](_0x182410['kZUVJ'],_0x402fc8));continue;case'6':this[_0x4c68e2(0x1ab)]=_0x402fc8;continue;case'7':await ClientTroubleShootingService['reportFinalDetectionState']();continue;}break;}}[a94_0x1dfc35(0x237)](){const _0x5a121c=a94_0x1dfc35,_0x5edc5f={'uRKqs':function(_0x3f22c1,_0x2b2449){return _0x3f22c1===_0x2b2449;},'oSMJF':_0x5a121c(0x29f),'FbkDJ':function(_0x35d270,_0xb6f1e0){return _0x35d270>_0xb6f1e0;},'OOtpw':function(_0x54caaa,_0x5b99f5){return _0x54caaa(_0x5b99f5);},'QXxrE':function(_0x3ad25e){return _0x3ad25e();},'nkdiE':_0x5a121c(0x1fa)};let _0x84e0ee=0x0;return async()=>{const _0x2e0be9=_0x5a121c;_0x84e0ee++;if(_0x5edc5f[_0x2e0be9(0x2a1)](_0x84e0ee,0x1)){helper['checkStopLocalBinaryOnExit'](this[_0x2e0be9(0x1ff)])&&await this[_0x2e0be9(0x23a)]();try{logger[_0x2e0be9(0x200)](_0x5edc5f[_0x2e0be9(0x1b5)]),await TestHubHandler[_0x2e0be9(0x230)](_0x84e0ee),await ClientTroubleShootingService[_0x2e0be9(0x218)](),await BrowserstackCLI[_0x2e0be9(0x1b4)]()['stop']('1');}catch(_0x454727){logger[_0x2e0be9(0x200)](_0x2e0be9(0x2b7)+util[_0x2e0be9(0x25b)](_0x454727));}PerformanceTester[_0x2e0be9(0x255)](PerformanceEvents[_0x2e0be9(0x23c)]);if(PerformanceTester[_0x2e0be9(0x21c)]()){const {measures:_0x55a26d,errors:_0x3f9bdb}=await PerformanceTester[_0x2e0be9(0x2b4)](),_0x2b217e={};if(_0x55a26d&&_0x5edc5f['FbkDJ'](_0x55a26d['length'],0x0)||_0x3f9bdb&&_0x5edc5f[_0x2e0be9(0x21e)](_0x3f9bdb[_0x2e0be9(0x29e)],0x0)){const _0x17d7ec={};_0x17d7ec[_0x2e0be9(0x1ee)]=_0x55a26d,_0x17d7ec[_0x2e0be9(0x1c4)]=_0x3f9bdb,Object[_0x2e0be9(0x1d1)](_0x2b217e,_0x17d7ec);}try{const _0x2a559f=await helper[_0x2e0be9(0x279)](_0x2b217e,this[_0x2e0be9(0x216)]);logger[_0x2e0be9(0x200)](_0x2e0be9(0x207)+_0x5edc5f[_0x2e0be9(0x249)](getEdsInstrumentationAPIUrl,'')+_0x2e0be9(0x20d)+_0x2a559f['statusCode']);}catch(_0x19b792){logger[_0x2e0be9(0x200)](_0x2e0be9(0x261)+_0x5edc5f['OOtpw'](getEdsInstrumentationAPIUrl,'')+_0x2e0be9(0x27f)+util['format'](_0x19b792));}try{fs[_0x2e0be9(0x28a)](path[_0x2e0be9(0x23f)](_0x5edc5f[_0x2e0be9(0x1cd)](getLogDir),_0x5edc5f[_0x2e0be9(0x253)]),JSON[_0x2e0be9(0x2b9)](_0x2b217e));}catch(_0x5b2128){logger[_0x2e0be9(0x200)](_0x2e0be9(0x290)+_0x5b2128);}}}logger&&logger[_0x2e0be9(0x262)](),fileLogger&&fileLogger[_0x2e0be9(0x262)]();};}}exports[a94_0x1dfc35(0x25c)]=BrowserStackSetup;function a94_0x1077(_0x28ac7b,_0x6d19dc){const _0x1657ff=a94_0x1657();return a94_0x1077=function(_0x107788,_0x2bc43b){_0x107788=_0x107788-0x1aa;let _0x583c2b=_0x1657ff[_0x107788];return _0x583c2b;},a94_0x1077(_0x28ac7b,_0x6d19dc);}function a94_0x1657(){const _0x23ba95=['qIjhF','split','stopBrowserstackLocal','HUB\x20URL\x20SET\x20TO\x20TurboScale\x20HUB\x20-\x20','SDK_CLEANUP','ZySKw','LMhwW','join','TCG_URL','MTspi','percy','GchkV','includes','epZUs','stopLocalBinary','xKgKg','turboScaleUrl','OOtpw','getUserName','setupBrowserstackLocal','setProxySettings','parallelsPerPlatform','IDPiZ','biYJf','qNome','AUTOLOGCAPTURE_NOTIFICATION','getLocalIdentifier','nkdiE','FlYjv','end','getLocalConfig','turboScaleOptions','yHBmf','handled','gUVrs','format','default','../bin/utils/apiUtilityMethods','1468984gikYLN','mZXIF','BrowserstackHealing.init\x20method\x20timed\x20out','Failed\x20to\x20send\x20data\x20to\x20','close','playwright','setHandlePWError','getConfigPath','forceLocal','isLTSSession','YlTPi','browserStackLocalOptions','setupKeepAlive','Something\x20went\x20wrong.\x20Disabling\x20healing\x20for\x20this\x20session.\x20Please\x20try\x20again\x20later.','ZEiKh','No\x20config\x20provided.','setupTcgConfigFile','18269290izGWlh','requireSeleniumWebdriverCheck','bind','isNotUndefined','1242996szmPGX','LTS\x20session\x20enabled\x20for\x20this\x20run.\x20SDK\x20run\x20id:\x20','toString','965738MZCyqb','./testhub/utils','aqeHl','sendToEDS','__isPlaywrightInstalled','central_scanner','SIGHUP','kZUVJ','disableAutoCaptureLogs','\x20with\x20error\x20','INVALID_INIT_RESP_WITH_USER_IMPACT','Error\x20occured\x20while\x20stopping\x20local\x20binary','version','AI_PROXY_FAILURE','isTrue','BROWSERSTACK_TURBOSCALE','getCentralUser','Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','TCG_AUTH_FAILURE','isBrowserstackInfra','writeFileSync','TCG_DOWN','customRepeaters','HreAR','../bin/v2/modules/loadTestModule','?caps=','Error\x20in\x20writing\x20events\x20to\x20file\x20','lhlwP','uEJYk','XsHUZ','UPGRADE_REQUIRED','skipSessionName','fileLogger','isUndefined','custom-repeater','msYal','10gdinBx','skipSessionStatus','Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20','readConfig','length','Calling\x20Build\x20Stop\x20from\x20ExitHandler','tcg\x20config\x20setup\x20successful.','uRKqs','getProxyConfigForTcg','Error\x20occured\x20while\x20stopping\x20percy','RdivP','Please\x20upgrade\x20Browserstack\x20SDK\x20to\x20the\x20latest\x20version\x20to\x20use\x20the\x20self-healing\x20feature.','setCredentialsFromYmlConfig','isTurboScaleSession','isRunning','3317157gBwGsX','24Wumted','FtBlI','toLowerCase','proxyUrl','IVGOT','oGCPh','codeceptjs','JjdLS','Shutdown\x20triggered\x20by\x20','Local\x20binary\x20stopped','finalize','QLACR','unhandledRejection','Error\x20in\x20sending\x20testhub\x20stop:\x20','TCG_AUTH_TIMEOUT','stringify','configPath','PHEPT','push','handleExceptions','SDKTestAttempted','killSignal','integrations','Obmtf','setLogDir','playwrightUrl','message','kjAqt','SIGINT','8tyrcOF','getInstance','oSMJF','sanitizeCaps','FZFBY','preInitialize','DHQWw','false','4.5.0','./utilities','isAuthenticated','stopPercy','unhandledErrors','hWsQr','SExhC','pNTeI','./testhub/testhubHandler','exceptions','getPackageVersion','url','setCLICaps','setBrowserstackInfraFromConfig','measureWrapper','SIGABRT','NkZrR','pmuYJ','QXxrE','mpkHW','ats-repeater','YWggq','assign','SIGTERM','../../package.json','getTurboScaleGridDetails','path','env','./setKeepAlive','JbfbO','FRAMEWORK','./percy/utils','../ai-sdk-node/bundle','aISgj','lnpRd','Local\x20binary\x20started\x20successfully','winstonLogger','sdkRunId','BrowserstackHealingInitFailed','HIcde','beforeExit','proxyConfig','setupPercy','reportProcessInterruptionSituation','isHealingEnabled','platforms','jkcVx','Could\x20not\x20start\x20percy,\x20check\x20percy\x20logs\x20for\x20info.','then','gsMJJ','localIdentifier','measures','1|0|5|6|2|4|7|3','./logger','skipBinaryInitialisation','fireFunnelTestEvent','turboScale','Authentication\x20Failed.\x20Disabling\x20Healing\x20for\x20this\x20session.','InCSz','init','intExitHandler','NgyhD','hubUrl','events.json','bstackConfig','util','TxsDV','RvhCT','framework','debug','BROWSERSTACK_PERCY','setupTCGAuth','useW3C','platform','hXKSz','aiHeal:tcgAuth','Data\x20sent\x20successfully\x20to\x20','PtvsH','dTXSV','wrkhj','testContextOptions','browserstackLocal','\x20with\x20response\x20','gNVqd','captureError','selenium-webdriver','error','ABAKZ','race','startLocalBinary','status','config','fnkpZ','reportFinalDetectionState','warn','SIGQUIT','BOAoD','isEnabled','proxy','FbkDJ','3|0|4|2|1','315075xKJVvg','uyaVy','startPercy','LCyjW','info','cliConfig','true','xFCuA','allocateHub','initialize','Local\x20binary\x20not\x20started\x20as\x20skipBinaryInitialisation\x20is\x20enabled','Percy\x20stopped','setUpHubUrl','BrowserstackHealing.init','./timeoutPromise','./helper','stop','envConfig','setEnvCaps','1700069oQkTTP','selfHeal','getHubUrl','turboScaleGridDetails','exitHandler'];a94_0x1657=function(){return _0x23ba95;};return a94_0x1657();}
|
|
1
|
+
const a94_0x16c68a=a94_0x2e9a;(function(_0xcf2dde,_0x983111){const _0x57e36c=a94_0x2e9a,_0xf929a5=_0xcf2dde();while(!![]){try{const _0x105a0d=parseInt(_0x57e36c(0x239))/0x1+parseInt(_0x57e36c(0x22a))/0x2*(parseInt(_0x57e36c(0x247))/0x3)+parseInt(_0x57e36c(0x233))/0x4+-parseInt(_0x57e36c(0x1b2))/0x5*(parseInt(_0x57e36c(0x234))/0x6)+-parseInt(_0x57e36c(0x21a))/0x7+parseInt(_0x57e36c(0x242))/0x8*(parseInt(_0x57e36c(0x1ad))/0x9)+-parseInt(_0x57e36c(0x177))/0xa;if(_0x105a0d===_0x983111)break;else _0xf929a5['push'](_0xf929a5['shift']());}catch(_0x4c8035){_0xf929a5['push'](_0xf929a5['shift']());}}}(a94_0x2f9c,0xaa4b8));const util=require(a94_0x16c68a(0x1cd)),os=require('os'),path=require(a94_0x16c68a(0x1bb)),{v4:uuidv4}=require(a94_0x16c68a(0x195)),fs=require('fs'),constants=require(a94_0x16c68a(0x254)),logger=require(a94_0x16c68a(0x1f4))[a94_0x16c68a(0x238)],fileLogger=require(a94_0x16c68a(0x1f4))[a94_0x16c68a(0x163)],{getLogDir}=require(a94_0x16c68a(0x1f4)),helper=require(a94_0x16c68a(0x16e)),utilities=require(a94_0x16c68a(0x25f)),percyHelper=require(a94_0x16c68a(0x255)),hubAllocator=require(a94_0x16c68a(0x189)),PerformanceTester=require(a94_0x16c68a(0x23b)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents}=require(a94_0x16c68a(0x17a)),{setPercyFlag}=require(a94_0x16c68a(0x207)),TestHubHandler=require('./testhub/testhubHandler'),timeoutPromise=require('./timeoutPromise'),BrowserstackCLI=require('../bin/v2/browserstackCLI'),LoadTestModule=require(a94_0x16c68a(0x1a6)),{getEdsInstrumentationAPIUrl}=require(a94_0x16c68a(0x251)),ClientTroubleShootingService=require(a94_0x16c68a(0x1c6));function a94_0x2e9a(_0x5ec104,_0x54a581){const _0x2f9c2b=a94_0x2f9c();return a94_0x2e9a=function(_0x2e9a57,_0x58085e){_0x2e9a57=_0x2e9a57-0x15b;let _0x21be84=_0x2f9c2b[_0x2e9a57];return _0x21be84;},a94_0x2e9a(_0x5ec104,_0x54a581);}function a94_0x2f9c(){const _0x5a9a0b=['oFEJN','DqoHx','74342ABnALY','tEGwf','LsXbz','NNPgO','default','Error\x20in\x20percy\x20setup\x20','uxIQY','yjUcQ','setBrowserstackInfraFromConfig','5285320lQpCKh','318936OBtiYT','readConfig','stopBrowserstackLocal','GVxCi','winstonLogger','1207155wFufVw','fYkKi','./performance/performance-tester','frNNJ','measureWrapper','generateLocalIdentifier','isNotUndefined','isTrue','selenium-webdriver','16eKetKf','length','setLogDir','isRunning','split','9hMbNwL','Lxeov','beforeExit','localOptions','dBVPZ','error','checkStopLocalBinaryOnExit','stopPercy','finalize','envConfig','../bin/utils/apiUtilityMethods','./setKeepAlive','eHfNo','../bin/utils/constants','./percy/utils','oibsY','setProxySettings','getLocalConfig','slcBu','ats-repeater','isLTSSession','Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20','unhandledErrors','xmphk','./utilities','stringify','AI_INIT_SUCCESSFUL','bstackConfig','proxyConfig','Data\x20sent\x20successfully\x20to\x20','SDK_CLEANUP','getTurboScaleGridDetails','iaAmU','SIGQUIT','APSca','fgcMd','gPhhq','qdgAY','BROWSERSTACK_PERCY','DzAvz','UPGRADE_REQUIRED','kGFCD','../../package.json','fctGt','message','eOIfe','DfvNt','BROWSERSTACK_TURBOSCALE','SIGBREAK','startPercy','forceLocal','platforms','Error\x20in\x20sending\x20testhub\x20stop:\x20','getUserName','ZSuRy','fileLogger','events.json','uxhYS','Error\x20in\x20writing\x20events\x20to\x20file\x20','iduXd','Error\x20occured\x20while\x20stopping\x20percy','custom-repeater','QOLNM','push','intExitHandler','__isPlaywrightInstalled','./helper','tqOXV','setHandlePWError','vKUfF','proxyUrl','sendToEDS','useW3C','zMINk','ZOnsw','5067320RJEHwL','3|6|1|5|0|7|2|4','selfHeal','./performance/constants','LTS\x20session\x20enabled\x20for\x20this\x20run.\x20SDK\x20run\x20id:\x20','SSIJI','hubUrl','yzidv','setEnvCaps','TCG_URL','isEnabled','warn','SIGHUP','SDKTestAttempted','format','exceptions','playwright','skipSessionName','../hubAllocationMethods','setCLICaps','skipSessionStatus','cancel','toString','NYQqE','aiHeal:tcgAuth','Percy\x20stopped','status','killSignal','info','exitHandler','uuid','initialize','GKAnA','Please\x20upgrade\x20Browserstack\x20SDK\x20to\x20the\x20latest\x20version\x20to\x20use\x20the\x20self-healing\x20feature.','isAuthenticated','proxy','configPath','localIdentifier','isHealingEnabled','end','ebXpd','jNHvd','AI_INIT_FAILURE','setupTcgConfigFile','eIgir','INVALID_INIT_RESP_WITH_USER_IMPACT','zcnBM','../bin/v2/modules/loadTestModule','platform','fireFunnelTestEvent','env','bind','baKCE','startLocalBinary','1640646aBHQRd','getLocalIdentifier','12|10|18|7|20|16|22|11|4|2|1|5|17|0|8|19|14|13|6|9|3|15|21|23','race','ykBnY','115LkBRbY','LKqVO','pfZAC','gULtr','Btpei','isUndefined','handleExceptions','SDK\x20run\x20started\x20with\x20id:\x20','\x20with\x20response\x20','path','percy','qzmak','WdspW','lxFQs','xVEOg','UHXwG','AUTOLOGCAPTURE_NOTIFICATION','../ai-sdk-node/bundle','url','codeceptjs','../bin/utils/clientTroubleshootingService','DkDwB','requireSeleniumWebdriverCheck','setupKeepAlive','wrhxc','XbnuR','getPackageVersion','util','version','AI_PROXY_FAILURE','includes','2|4|3|1|0','debug','BniVY','yiDcr','isBrowserstackInfra','isTurboScaleSession','UTfrO','playwrightUrl','ozEgC','cliConfig','IbetG','setupPercy','BrowserstackHealingInitFailed','browserStackLocalOptions','setCredentialsFromYmlConfig','allocateHub','4.5.0','fpUNW','TCG_DOWN','Healing\x20is\x20not\x20enabled\x20for\x20your\x20group,\x20please\x20contact\x20the\x20admin','captureError','getHubUrl','setUpHubUrl','turboScale','TCG_AUTH_TIMEOUT','tcgAuthConfig','HUB_MANAGEMENT','Local\x20binary\x20stopped','userName\x20or\x20accessKey\x20is\x20not\x20defined','getAccessKey','uncaughtException','Error\x20in\x20setting\x20up\x20tcg\x20authconfig.\x20Error:\x20','sdkRunId','then','ObORN','./logger','prIRU','getConfigPath','Something\x20went\x20wrong.\x20Disabling\x20healing\x20for\x20this\x20session.\x20Please\x20try\x20again\x20later.','FRAMEWORK','testContextOptions','preInitialize','rzYry','config','parallelsPerPlatform','stopLocalBinary','BrowserstackHealing.init\x20method\x20timed\x20out','browserstackLocal','accessKey','turboScaleUrl','getFinalCaps','pAGiA','false','eVQpK','./testhub/utils','Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','reportProcessInterruptionSituation','handled','constructor','tcg\x20config\x20setup\x20successful.','skipBinaryInitialisation','customRepeaters','rOhXB','Shutdown\x20triggered\x20by\x20','framework','?caps=','normalizeTestReportingEnvVars','YQCLE','turboScaleOptions','true','measures','TCG_AUTH_FAILURE','YoRnm','4044166LafWOh','unhandledRejection','startMonitoring','writeFileSync','stop','compareVersions','setupTCGAuth','parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','isTrialGrid','getInstance','Authentication\x20Failed.\x20Disabling\x20Healing\x20for\x20this\x20session.','assign','reportFinalDetectionState','JTAFp'];a94_0x2f9c=function(){return _0x5a9a0b;};return a94_0x2f9c();}class BrowserStackSetup{constructor(_0x2fb190,_0x1d0f42){const _0x35e525=a94_0x16c68a,_0x24c33b={'ykBnY':_0x35e525(0x1af),'wrhxc':function(_0x47050c){return _0x47050c();},'UTfrO':'No\x20config\x20provided.'},_0x35a820=_0x24c33b[_0x35e525(0x1b1)][_0x35e525(0x246)]('|');let _0x18ef38=0x0;while(!![]){switch(_0x35a820[_0x18ef38++]){case'0':global[_0x35e525(0x211)]=_0x1d0f42;continue;case'1':this['errorMessage']={};continue;case'2':this[_0x35e525(0x1fc)][_0x35e525(0x1f9)]=this[_0x35e525(0x1fc)][_0x35e525(0x1f9)]||{};continue;case'3':helper[_0x35e525(0x203)](this[_0x35e525(0x1fc)],this[_0x35e525(0x1da)],this[_0x35e525(0x250)]);continue;case'4':this[_0x35e525(0x1fc)][_0x35e525(0x15f)]=this[_0x35e525(0x1fc)][_0x35e525(0x15f)]||[];continue;case'5':this[_0x35e525(0x1f1)]=_0x24c33b[_0x35e525(0x1ca)](uuidv4);continue;case'6':this[_0x35e525(0x1fc)][_0x35e525(0x1f9)]['skipSessionStatus']=!helper[_0x35e525(0x1d5)]()||helper[_0x35e525(0x240)](this[_0x35e525(0x1fc)][_0x35e525(0x1f9)][_0x35e525(0x18b)]);continue;case'7':this[_0x35e525(0x200)]=null;continue;case'8':if(helper[_0x35e525(0x1b7)](this[_0x35e525(0x1fc)]))throw new Error(_0x24c33b[_0x35e525(0x1d7)]);continue;case'9':this[_0x35e525(0x1fc)][_0x35e525(0x1f9)][_0x35e525(0x188)]=!helper[_0x35e525(0x1d5)]()||helper[_0x35e525(0x240)](this[_0x35e525(0x1fc)][_0x35e525(0x1f9)][_0x35e525(0x188)]);continue;case'10':helper[_0x35e525(0x213)]();continue;case'11':this['cliConfig']=helper[_0x35e525(0x18a)](_0x2fb190);continue;case'12':this[_0x35e525(0x25d)]=[];continue;case'13':helper[_0x35e525(0x1df)](this['config']);continue;case'14':helper[_0x35e525(0x232)](this[_0x35e525(0x1fc)],this[_0x35e525(0x1da)]);continue;case'15':helper[_0x35e525(0x244)](this['config']);continue;case'16':this['configPath']=helper[_0x35e525(0x1f6)](_0x2fb190);continue;case'17':this[_0x35e525(0x211)]=_0x1d0f42;continue;case'18':this['envConfig']=helper[_0x35e525(0x17f)]();continue;case'19':if(this['config'][_0x35e525(0x24c)])throw new Error(this[_0x35e525(0x1fc)]['error']);continue;case'20':this[_0x35e525(0x1bc)]=null;continue;case'21':helper['setLogLevel'](this[_0x35e525(0x1fc)],this[_0x35e525(0x1da)],this[_0x35e525(0x250)]);continue;case'22':this[_0x35e525(0x1fc)]=helper[_0x35e525(0x235)](this[_0x35e525(0x19b)]);continue;case'23':PerformanceTester[_0x35e525(0x21c)]();continue;}break;}}[a94_0x16c68a(0x1fa)](_0x23fdd1){const _0x5befc9=a94_0x16c68a,_0x50ff69={'xUeUW':_0x5befc9(0x1ed),'prIRU':function(_0x42d48b,_0x585758){return _0x42d48b===_0x585758;},'xmphk':function(_0x3c1ad6,_0x28e38a){return _0x3c1ad6===_0x28e38a;},'fctGt':'integrations','NYQqE':_0x5befc9(0x184),'auUhR':function(_0x407a6b,_0xc69a5d){return _0x407a6b<_0xc69a5d;},'iqKVI':function(_0x5e9927,_0xdd234){return _0x5e9927(_0xdd234);},'eHfNo':_0x5befc9(0x241),'qXdEc':_0x5befc9(0x1e1),'fgcMd':_0x5befc9(0x208),'eIgir':_0x5befc9(0x221),'kseor':'SIGTERM','yZMEe':'SIGINT','czoFX':_0x5befc9(0x183),'dBVPZ':function(_0x116260,_0x43f34c){return _0x116260!==_0x43f34c;},'iduXd':'win32','NNPgO':'SIGABRT','iaAmU':_0x5befc9(0x268),'yzidv':_0x5befc9(0x15c),'kGFCD':'beforeExit'},_0x3d35e4=this['framework'];global[_0x5befc9(0x1fc)]=this[_0x5befc9(0x1fc)],helper['sanitizeCaps'](this[_0x5befc9(0x1fc)]),this[_0x5befc9(0x192)]=null,global[_0x5befc9(0x1f1)]=this['sdkRunId'],logger[_0x5befc9(0x193)](_0x5befc9(0x1b9)+this[_0x5befc9(0x1f1)]),!this['config'][_0x5befc9(0x1de)]&&(this['config'][_0x5befc9(0x1de)]=this[_0x5befc9(0x1fc)][_0x5befc9(0x24a)]||{});if(helper[_0x5befc9(0x1b7)](helper[_0x5befc9(0x161)](this[_0x5befc9(0x1fc)]))||helper[_0x5befc9(0x1b7)](helper[_0x5befc9(0x1ee)](this['config'])))throw new Error(_0x50ff69['xUeUW']);helper[_0x5befc9(0x258)](this[_0x5befc9(0x1fc)])&&helper[_0x5befc9(0x1b7)](helper[_0x5befc9(0x1ae)](this[_0x5befc9(0x1fc)]))&&(!helper[_0x5befc9(0x1b7)](this[_0x5befc9(0x1fc)][_0x5befc9(0x1de)])&&_0x50ff69[_0x5befc9(0x1f5)](this[_0x5befc9(0x1fc)]['browserStackLocalOptions'][_0x5befc9(0x20b)],Object)?!helper[_0x5befc9(0x240)](this[_0x5befc9(0x1fc)][_0x5befc9(0x1de)][_0x5befc9(0x20d)])&&(this[_0x5befc9(0x1fc)][_0x5befc9(0x1de)][_0x5befc9(0x19c)]=helper['generateLocalIdentifier']()):this[_0x5befc9(0x1fc)]['browserStackLocalOptions']={'localIdentifier':helper[_0x5befc9(0x23e)]()});this['config'][_0x5befc9(0x1de)][_0x5befc9(0x20d)]=helper[_0x5befc9(0x240)](this[_0x5befc9(0x1fc)][_0x5befc9(0x1de)][_0x5befc9(0x20d)]),helper[_0x5befc9(0x170)](this[_0x5befc9(0x1fc)]);if(_0x50ff69[_0x5befc9(0x25e)](_0x3d35e4,_0x50ff69[_0x5befc9(0x272)]))return;this[_0x5befc9(0x1b8)]();process[_0x5befc9(0x1a9)][_0x5befc9(0x15b)]&&(this[_0x5befc9(0x1fc)][_0x5befc9(0x1e8)]=helper[_0x5befc9(0x240)](process[_0x5befc9(0x1a9)][_0x5befc9(0x15b)]),this[_0x5befc9(0x1fc)][_0x5befc9(0x215)]=this[_0x5befc9(0x1fc)][_0x5befc9(0x215)]||{});helper[_0x5befc9(0x1d6)](this[_0x5befc9(0x1fc)])&&(process[_0x5befc9(0x1a9)][_0x5befc9(0x15b)]=!![]);LoadTestModule[_0x5befc9(0x25b)](this[_0x5befc9(0x1fc)])&&logger[_0x5befc9(0x1d2)](_0x5befc9(0x17b)+this[_0x5befc9(0x1f1)]);if(!helper[_0x5befc9(0x1d5)]()){try{process[_0x5befc9(0x1a9)][_0x5befc9(0x1f8)]=_0x3d35e4,utilities['fireFunnelTestEvent'](_0x50ff69[_0x5befc9(0x18e)],{},this[_0x5befc9(0x1fc)],this[_0x5befc9(0x211)]);}catch(_0x37a8cd){logger[_0x5befc9(0x1d2)]('Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20'+_0x37a8cd);}return;}if(helper[_0x5befc9(0x1c8)](_0x3d35e4)){if(global[_0x5befc9(0x16d)])return;_0x50ff69['auUhR'](_0x50ff69['iqKVI'](parseInt,helper[_0x5befc9(0x1cc)](_0x50ff69[_0x5befc9(0x253)])),0x3)&&(this[_0x5befc9(0x1fc)]['useW3C']=![]),_0x50ff69[_0x5befc9(0x25e)](helper[_0x5befc9(0x21f)](helper['getPackageVersion'](_0x50ff69[_0x5befc9(0x253)]),_0x50ff69['qXdEc']),0x1)&&(this[_0x5befc9(0x1fc)][_0x5befc9(0x174)]=!![]);}(helper[_0x5befc9(0x1b7)](this['config'][_0x5befc9(0x15f)])||helper[_0x5befc9(0x1b7)](this[_0x5befc9(0x1fc)][_0x5befc9(0x15f)]['length']))&&(helper['isUndefined'](this[_0x5befc9(0x1fc)][_0x5befc9(0x1fd)])?logger['info'](_0x50ff69[_0x5befc9(0x26a)]):logger[_0x5befc9(0x182)](_0x50ff69[_0x5befc9(0x1a3)]),this[_0x5befc9(0x1fc)][_0x5befc9(0x15f)]=[]);!this[_0x5befc9(0x1fc)][_0x5befc9(0x1f9)]&&(this[_0x5befc9(0x1fc)][_0x5befc9(0x1f9)]={});try{process[_0x5befc9(0x1a9)][_0x5befc9(0x1f8)]=_0x23fdd1['_'][0x0],utilities['fireFunnelTestEvent'](_0x50ff69['NYQqE'],{},this[_0x5befc9(0x1fc)],this['framework']);}catch(_0x14d46f){logger[_0x5befc9(0x1d2)](_0x5befc9(0x25c)+_0x14d46f);}!this['config']['disableAutoCaptureLogs']&&logger[_0x5befc9(0x193)](constants[_0x5befc9(0x1c2)]),this[_0x5befc9(0x16c)]=this[_0x5befc9(0x16c)][_0x5befc9(0x1aa)](this),process['on'](_0x50ff69['kseor'],this[_0x5befc9(0x16c)]),process['on'](_0x50ff69['yZMEe'],this[_0x5befc9(0x16c)]),process['on'](_0x50ff69['czoFX'],this[_0x5befc9(0x16c)]),_0x50ff69[_0x5befc9(0x24b)](process[_0x5befc9(0x1a7)],_0x50ff69[_0x5befc9(0x167)])?(process['on'](_0x50ff69[_0x5befc9(0x22d)],this['intExitHandler']),process['on'](_0x50ff69[_0x5befc9(0x267)],this['intExitHandler'])):process['on'](_0x50ff69[_0x5befc9(0x17e)],this[_0x5befc9(0x16c)]),process['on'](_0x50ff69[_0x5befc9(0x270)],this[_0x5befc9(0x194)]());}async[a94_0x16c68a(0x196)](_0x5c9920){const _0x21f17c=a94_0x16c68a,_0x140a15={'DqoHx':_0x21f17c(0x25a),'SpYjo':_0x21f17c(0x169),'AhxQX':_0x21f17c(0x216),'oibsY':function(_0x52ae20,_0x318dc1){return _0x52ae20===_0x318dc1;},'gPhhq':_0x21f17c(0x187),'LsXbz':function(_0x57f6c8,_0x1c3bde){return _0x57f6c8+_0x1c3bde;},'yjUcQ':_0x21f17c(0x212),'zMINk':function(_0x392c6c,_0x5b7d3d){return _0x392c6c(_0x5b7d3d);},'IbetG':_0x21f17c(0x1c5)};this[_0x21f17c(0x1fa)](_0x5c9920);if(helper[_0x21f17c(0x1d6)](this[_0x21f17c(0x1fc)])){const _0x6119ae=await helper[_0x21f17c(0x266)](this[_0x21f17c(0x1fc)]);this['config']['turboScaleGridDetails']=_0x6119ae,_0x6119ae[_0x21f17c(0x222)]&&helper[_0x21f17c(0x23f)](this['config'][_0x21f17c(0x200)])&&helper['isTrue'](this[_0x21f17c(0x1fc)]['browserstackLocal'])&&(this[_0x21f17c(0x1fc)][_0x21f17c(0x1de)][_0x21f17c(0x19c)]=_0x140a15[_0x21f17c(0x229)],this[_0x21f17c(0x1fc)][_0x21f17c(0x1de)][_0x140a15['SpYjo']]=_0x6119ae[_0x21f17c(0x20e)]['join'](','),this[_0x21f17c(0x1fc)][_0x21f17c(0x1de)][_0x21f17c(0x15e)]=_0x140a15['AhxQX']),this['config'][_0x21f17c(0x202)]=_0x6119ae[_0x21f17c(0x1c4)],this[_0x21f17c(0x211)]&&_0x140a15[_0x21f17c(0x256)](this[_0x21f17c(0x211)]['toLowerCase'](),_0x140a15[_0x21f17c(0x26b)])?this['config']['turboScaleUrl']=_0x140a15[_0x21f17c(0x22c)](_0x6119ae[_0x21f17c(0x1d8)],_0x140a15[_0x21f17c(0x231)]):constants['hubUrl']=helper[_0x21f17c(0x1e6)](this[_0x21f17c(0x1fc)]),logger['debug']('HUB\x20URL\x20SET\x20TO\x20TurboScale\x20HUB\x20-\x20'+constants[_0x21f17c(0x17d)]);}helper[_0x21f17c(0x257)](this['config']),this['setupKeepAlive'](),_0x140a15[_0x21f17c(0x175)](setPercyFlag,this),await this['setupBrowserstackLocal'](),![_0x140a15[_0x21f17c(0x1db)],_0x140a15[_0x21f17c(0x26b)]][_0x21f17c(0x1d0)](this[_0x21f17c(0x211)])&&!helper[_0x21f17c(0x1d6)](this[_0x21f17c(0x1fc)])&&!helper['getCentralUser']()['central_scanner']&&await this['setUpHubUrl']();}async[a94_0x16c68a(0x1dc)](){const _0x34deef=a94_0x16c68a,_0x177711={};_0x177711['vKUfF']=function(_0x2521b8,_0x2393e0){return _0x2521b8===_0x2393e0;},_0x177711[_0x34deef(0x1c1)]=_0x34deef(0x205),_0x177711['ObORN']='Could\x20not\x20start\x20percy,\x20check\x20percy\x20logs\x20for\x20info.',_0x177711[_0x34deef(0x16a)]='Percy\x20started\x20successfully',_0x177711['rzYry']='true',_0x177711[_0x34deef(0x275)]=_0x34deef(0x249);const _0x1428fa=_0x177711;if(helper[_0x34deef(0x240)](this[_0x34deef(0x1fc)][_0x34deef(0x1bc)])&&(!this[_0x34deef(0x1bc)]||!this[_0x34deef(0x1bc)][_0x34deef(0x245)]()))try{this['percy']=await percyHelper[_0x34deef(0x15d)](this[_0x34deef(0x1fc)]);if(!this['percy']){process[_0x34deef(0x1a9)][_0x34deef(0x26d)]=_0x1428fa[_0x34deef(0x1c1)];throw new Error(_0x1428fa[_0x34deef(0x1f3)]);}logger[_0x34deef(0x193)](_0x1428fa['QOLNM']),process['env'][_0x34deef(0x26d)]=_0x1428fa[_0x34deef(0x1fb)];let _0x1654f0=0x0;const _0x569d43=async()=>{const _0xf74b3a=_0x34deef;_0x1654f0++,_0x1428fa[_0xf74b3a(0x171)](_0x1654f0,0x1)&&await this[_0xf74b3a(0x24e)]();};process['on'](_0x1428fa[_0x34deef(0x275)],_0x569d43);}catch(_0x10ea44){process['env']['BROWSERSTACK_PERCY']=_0x1428fa[_0x34deef(0x1c1)],logger[_0x34deef(0x1d2)](_0x34deef(0x22f)+_0x10ea44);throw new Error(_0x10ea44[_0x34deef(0x18d)]());}}async['stopPercy'](){const _0x1f2ae3=a94_0x16c68a,_0x2a0d85={};_0x2a0d85[_0x1f2ae3(0x23c)]=_0x1f2ae3(0x190),_0x2a0d85[_0x1f2ae3(0x227)]=_0x1f2ae3(0x168);const _0x48a089=_0x2a0d85;if(this[_0x1f2ae3(0x1bc)]&&this[_0x1f2ae3(0x1bc)][_0x1f2ae3(0x245)]())try{await percyHelper[_0x1f2ae3(0x24e)](this[_0x1f2ae3(0x1bc)]),logger['info'](_0x48a089['frNNJ']);}catch(_0x56439b){logger[_0x1f2ae3(0x24c)](_0x48a089[_0x1f2ae3(0x227)],_0x56439b[_0x1f2ae3(0x273)]);}}async['setupBrowserstackLocal'](){const _0x4dc47a=a94_0x16c68a,_0x225d4c={};_0x225d4c[_0x4dc47a(0x1ab)]='Local\x20binary\x20not\x20started\x20as\x20skipBinaryInitialisation\x20is\x20enabled',_0x225d4c[_0x4dc47a(0x214)]='Local\x20binary\x20started\x20successfully';const _0x245d80=_0x225d4c;if(helper[_0x4dc47a(0x1d5)]()&&helper['isTrue'](this[_0x4dc47a(0x1fc)][_0x4dc47a(0x200)])&&(!this[_0x4dc47a(0x200)]||!this[_0x4dc47a(0x200)][_0x4dc47a(0x245)]()))try{if(this['config'][_0x4dc47a(0x1de)][_0x4dc47a(0x20d)]){logger[_0x4dc47a(0x1d2)](_0x245d80['baKCE']);return;}this[_0x4dc47a(0x200)]=await helper[_0x4dc47a(0x1ac)](this[_0x4dc47a(0x1fc)]),logger[_0x4dc47a(0x193)](_0x245d80[_0x4dc47a(0x214)]);}catch(_0x3dbacd){logger[_0x4dc47a(0x1d2)](_0x3dbacd);throw new Error(_0x3dbacd['toString']());}}async[a94_0x16c68a(0x236)](){const _0x2bdc8f=a94_0x16c68a,_0x3fcbf8={};_0x3fcbf8[_0x2bdc8f(0x1d3)]=_0x2bdc8f(0x1ec),_0x3fcbf8[_0x2bdc8f(0x1b5)]='Error\x20occured\x20while\x20stopping\x20local\x20binary';const _0x3543da=_0x3fcbf8;if(this['browserstackLocal']&&this[_0x2bdc8f(0x200)][_0x2bdc8f(0x245)]())try{await helper[_0x2bdc8f(0x1fe)](this[_0x2bdc8f(0x200)]),logger['info'](_0x3543da['BniVY']);}catch(_0x2b9499){logger['error'](_0x3543da[_0x2bdc8f(0x1b5)],_0x2b9499[_0x2bdc8f(0x273)]);}}async[a94_0x16c68a(0x1e7)](){const _0x4570c4=a94_0x16c68a;return PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x4570c4(0x1eb)],async()=>{const _0x49fab2=_0x4570c4;await hubAllocator[_0x49fab2(0x1e0)](this[_0x49fab2(0x1fc)]);})();}async[a94_0x16c68a(0x220)](){const _0x2fbf73=a94_0x16c68a,_0xf5ebc0={'LKqVO':function(_0x465b9c,_0x466745){return _0x465b9c(_0x466745);},'zcnBM':_0x2fbf73(0x1c3),'MHCDc':function(_0x5c1cda,_0x3ec4e3,_0x536175,_0x2e3f8e,_0x2894e9,_0x32b28c,_0x3a30cf){return _0x5c1cda(_0x3ec4e3,_0x536175,_0x2e3f8e,_0x2894e9,_0x32b28c,_0x3a30cf);},'lxFQs':_0x2fbf73(0x1ff),'MwjCY':_0x2fbf73(0x1dd),'fpUNW':function(_0x28eca8,_0x19f27e){return _0x28eca8(_0x19f27e);},'Btpei':_0x2fbf73(0x271),'cclzg':'BrowserstackHealing.init','Lxeov':function(_0x15537d,_0x2fe5ba){return _0x15537d(_0x2fe5ba);},'rOhXB':function(_0x59c5f1,_0x339d22){return _0x59c5f1===_0x339d22;},'uxhYS':_0x2fbf73(0x216),'xVEOg':function(_0x4e06ee,_0x261a2b){return _0x4e06ee===_0x261a2b;},'YvdIH':function(_0x64237a,_0x338a50){return _0x64237a===_0x338a50;},'uxIQY':function(_0x4c1dc5,_0x40c8dd){return _0x4c1dc5===_0x40c8dd;},'ZSuRy':_0x2fbf73(0x198),'ozEgC':function(_0x42dfd9,_0x6d853f){return _0x42dfd9===_0x6d853f;},'SSIJI':_0x2fbf73(0x1f7),'yNbqo':_0x2fbf73(0x224),'pAGiA':_0x2fbf73(0x1e4),'slcBu':function(_0xff1e3c,_0x316a79){return _0xff1e3c>=_0x316a79;},'eVQpK':function(_0x480479,_0x1deaad){return _0x480479<_0x1deaad;},'qzmak':function(_0x2dd351,_0x42ebe9){return _0x2dd351>=_0x42ebe9;},'GVxCi':_0x2fbf73(0x20c),'WdspW':_0x2fbf73(0x18f),'tqOXV':function(_0x13cd9e){return _0x13cd9e();}},_0x1eb9d3=PerformanceTester[_0x2fbf73(0x23d)](_0xf5ebc0[_0x2fbf73(0x1be)],async()=>{const _0x2d5644=_0x2fbf73;try{const _0x2bcc7a=new Date(),_0x8c9758=helper['getProxyConfigForTcg'](this[_0x2d5644(0x1fc)]),_0x5a8f57=_0xf5ebc0[_0x2d5644(0x1b3)](require,path['join'](__dirname,_0xf5ebc0[_0x2d5644(0x1a5)])),_0x5f5a94=_0xf5ebc0['MHCDc'](timeoutPromise,constants[_0x2d5644(0x1e9)],_0xf5ebc0[_0x2d5644(0x1bf)],_0xf5ebc0['MwjCY'],_0x2bcc7a,this[_0x2d5644(0x1fc)],this[_0x2d5644(0x211)]),_0x89bd0d={'tcgUrl':constants[_0x2d5644(0x180)],'sdkVersion':_0xf5ebc0['fpUNW'](require,_0xf5ebc0['Btpei'])[_0x2d5644(0x1ce)],'methodUsed':_0xf5ebc0['cclzg'],'proxyConfig':_0x8c9758,'os':os[_0x2d5644(0x1a7)]()};if(_0x8c9758&&_0x8c9758[_0x2d5644(0x172)]){utilities[_0x2d5644(0x1a8)](constants[_0x2d5644(0x1cf)],_0x89bd0d,this[_0x2d5644(0x1fc)],this[_0x2d5644(0x211)]);return;}const _0x39d59a={};_0x39d59a[_0x2d5644(0x19a)]=_0x8c9758;const _0x3ee508=await Promise[_0x2d5644(0x1b0)]([_0x5a8f57['init'](this[_0x2d5644(0x1fc)][_0x2d5644(0x201)],this['config']['userName'],constants[_0x2d5644(0x180)],_0xf5ebc0[_0x2d5644(0x248)](require,_0xf5ebc0[_0x2d5644(0x1b6)])[_0x2d5644(0x1ce)],_0x39d59a)[_0x2d5644(0x1f2)](_0x32beb8=>{const _0x1841a1=_0x2d5644;return _0x5f5a94[_0x1841a1(0x18c)](),_0x32beb8;}),_0x5f5a94]);_0x3ee508[_0x2d5644(0x19d)]=_0xf5ebc0[_0x2d5644(0x20f)](_0x3ee508[_0x2d5644(0x19d)],_0xf5ebc0[_0x2d5644(0x165)])||_0xf5ebc0[_0x2d5644(0x1c0)](_0x3ee508[_0x2d5644(0x19d)],!![]);const _0x31673c=_0xf5ebc0[_0x2d5644(0x1c0)](this[_0x2d5644(0x1fc)][_0x2d5644(0x179)],!![])||_0xf5ebc0['YvdIH'](this['config']['selfHeal'],_0xf5ebc0[_0x2d5644(0x165)]);if(_0xf5ebc0[_0x2d5644(0x230)](_0x3ee508['message'],constants[_0x2d5644(0x26f)])&&_0x31673c)logger[_0x2d5644(0x193)](_0xf5ebc0[_0x2d5644(0x162)]);else{if(!_0x3ee508[_0x2d5644(0x199)]&&_0xf5ebc0[_0x2d5644(0x1d9)](_0x3ee508[_0x2d5644(0x191)],0x1f7)&&_0x31673c)logger[_0x2d5644(0x193)](_0xf5ebc0[_0x2d5644(0x17c)]),utilities[_0x2d5644(0x1a8)](constants[_0x2d5644(0x1e3)],_0x89bd0d,this[_0x2d5644(0x1fc)],this[_0x2d5644(0x211)]);else{if(!_0x3ee508[_0x2d5644(0x199)]&&_0x31673c){logger[_0x2d5644(0x193)](_0xf5ebc0['yNbqo']);const _0x2bcfc2={'tcgUrl':constants[_0x2d5644(0x180)],'sdkVersion':_0xf5ebc0[_0x2d5644(0x1e2)](require,_0xf5ebc0[_0x2d5644(0x1b6)])[_0x2d5644(0x1ce)],'methodUsed':_0xf5ebc0['cclzg'],'proxyConfig':_0x8c9758,'os':os[_0x2d5644(0x1a7)]()};utilities['fireFunnelTestEvent'](constants[_0x2d5644(0x218)],_0x2bcfc2,this[_0x2d5644(0x1fc)],this[_0x2d5644(0x211)]);}else{if(_0x3ee508[_0x2d5644(0x199)]&&!_0x3ee508['isHealingEnabled']&&_0x31673c)logger[_0x2d5644(0x193)](_0xf5ebc0[_0x2d5644(0x204)]);else{if(_0xf5ebc0[_0x2d5644(0x259)](_0x3ee508[_0x2d5644(0x191)],0xc8)&&_0xf5ebc0[_0x2d5644(0x206)](_0x3ee508[_0x2d5644(0x191)],0x12c))utilities[_0x2d5644(0x1a8)](constants[_0x2d5644(0x261)],_0x89bd0d,this['config'],this['framework']);else{if(_0xf5ebc0[_0x2d5644(0x1bd)](_0x3ee508[_0x2d5644(0x191)],0x190))_0x89bd0d['status']=_0x3ee508[_0x2d5644(0x191)],utilities[_0x2d5644(0x1a8)](constants[_0x2d5644(0x1a1)],_0x89bd0d,this[_0x2d5644(0x1fc)],this[_0x2d5644(0x211)]);else!_0x3ee508[_0x2d5644(0x191)]&&utilities['fireFunnelTestEvent'](constants[_0x2d5644(0x1a4)],_0x89bd0d,this[_0x2d5644(0x1fc)],this[_0x2d5644(0x211)]);}}}}}if(_0x3ee508[_0x2d5644(0x199)]&&_0x3ee508[_0x2d5644(0x19d)]){const _0xbfe3cb={};_0xbfe3cb[_0x2d5644(0x1ea)]=_0x3ee508;const _0x51448e=_0xbfe3cb;_0x8c9758&&(_0x51448e[_0x2d5644(0x263)]=_0x8c9758),_0x51448e[_0x2d5644(0x211)]=this[_0x2d5644(0x211)],_0x51448e[_0x2d5644(0x262)]=this[_0x2d5644(0x1fc)],helper[_0x2d5644(0x1a2)](_0x51448e),logger[_0x2d5644(0x1d2)](_0xf5ebc0[_0x2d5644(0x237)]);}}catch(_0x4c9ea5){logger[_0x2d5644(0x1d2)](_0x2d5644(0x1f0)+(_0x4c9ea5[_0x2d5644(0x273)]?_0x4c9ea5[_0x2d5644(0x273)]:''));}});await _0xf5ebc0[_0x2fbf73(0x16f)](_0x1eb9d3);}[a94_0x16c68a(0x1c9)](){const _0x472658=a94_0x16c68a,_0x785bb1={'jNHvd':function(_0x647362,_0x29d2d6){return _0x647362(_0x29d2d6);},'fLhqK':_0x472658(0x252)};_0x785bb1[_0x472658(0x1a0)](require,_0x785bb1['fLhqK'])();}[a94_0x16c68a(0x1b8)](){const _0x19b974=a94_0x16c68a,_0x69792a={};_0x69792a['GKAnA']=_0x19b974(0x1d1),_0x69792a['ebXpd']=_0x19b974(0x21b),_0x69792a['YoRnm']=_0x19b974(0x1ef);const _0x787b38=_0x69792a,_0x3feb46=_0x5add07=>{const _0x44b4aa=_0x19b974,_0x275c85=_0x787b38[_0x44b4aa(0x197)][_0x44b4aa(0x246)]('|');let _0x36f12e=0x0;while(!![]){switch(_0x275c85[_0x36f12e++]){case'0':ClientTroubleShootingService[_0x44b4aa(0x226)]();continue;case'1':PerformanceTester[_0x44b4aa(0x1e5)](_0x5add07);continue;case'2':logger['error'](_0x5add07[_0x44b4aa(0x273)]);continue;case'3':this[_0x44b4aa(0x25d)][_0x44b4aa(0x16b)](util[_0x44b4aa(0x185)]('%j',_0x5add07));continue;case'4':logger[_0x44b4aa(0x1d2)](util[_0x44b4aa(0x185)](_0x5add07));continue;}break;}};process['on'](_0x787b38[_0x19b974(0x19f)],_0x3feb46),process['on'](_0x787b38[_0x19b974(0x219)],_0x3feb46);}async['intExitHandler'](_0x482216){const _0x136c41=a94_0x16c68a,_0x3dae75={};_0x3dae75[_0x136c41(0x176)]=_0x136c41(0x178),_0x3dae75['DzAvz']=function(_0x239996,_0x31a0df){return _0x239996+_0x31a0df;},_0x3dae75[_0x136c41(0x269)]=_0x136c41(0x210),_0x3dae75[_0x136c41(0x22b)]=_0x136c41(0x20a);const _0x2bdd17=_0x3dae75,_0x41eae3=_0x2bdd17['ZOnsw']['split']('|');let _0x3fa88b=0x0;while(!![]){switch(_0x41eae3[_0x3fa88b++]){case'0':await ClientTroubleShootingService[_0x136c41(0x209)](_0x482216);continue;case'1':logger[_0x136c41(0x193)](_0x2bdd17[_0x136c41(0x26e)](_0x2bdd17[_0x136c41(0x269)],_0x482216));continue;case'2':await ClientTroubleShootingService['reportFinalDetectionState']();continue;case'3':if(this[_0x2bdd17[_0x136c41(0x26e)](_0x2bdd17[_0x136c41(0x22b)],_0x482216)])return;continue;case'4':await BrowserstackCLI[_0x136c41(0x223)]()[_0x136c41(0x21e)]();continue;case'5':this['killSignal']=_0x482216;continue;case'6':this[_0x2bdd17[_0x136c41(0x26e)](_0x2bdd17[_0x136c41(0x22b)],_0x482216)]=!![];continue;case'7':await TestHubHandler['stop'](_0x482216);continue;}break;}}[a94_0x16c68a(0x194)](){const _0x429326=a94_0x16c68a,_0x1b4a74={'fYkKi':function(_0x413fc2,_0x2cd5d6){return _0x413fc2===_0x2cd5d6;},'qdgAY':'Calling\x20Build\x20Stop\x20from\x20ExitHandler','yiDcr':function(_0x32abca,_0x8a8b2e){return _0x32abca>_0x8a8b2e;},'eOIfe':function(_0x44dfca,_0x3e068d){return _0x44dfca>_0x3e068d;},'pfZAC':function(_0x2a1f0e,_0x19bc28){return _0x2a1f0e(_0x19bc28);},'DkDwB':function(_0x5447a1,_0x100752){return _0x5447a1(_0x100752);},'oFEJN':function(_0x2a23f0){return _0x2a23f0();},'XbnuR':_0x429326(0x164)};let _0x44036a=0x0;return async()=>{const _0x21112c=_0x429326;_0x44036a++;if(_0x1b4a74[_0x21112c(0x23a)](_0x44036a,0x1)){helper[_0x21112c(0x24d)](this[_0x21112c(0x211)])&&await this[_0x21112c(0x236)]();try{logger['debug'](_0x1b4a74[_0x21112c(0x26c)]),await TestHubHandler['stop'](_0x44036a),await ClientTroubleShootingService[_0x21112c(0x226)](),await BrowserstackCLI[_0x21112c(0x223)]()['stop']('1');}catch(_0x4d9c06){logger['debug'](_0x21112c(0x160)+util[_0x21112c(0x185)](_0x4d9c06));}PerformanceTester[_0x21112c(0x19e)](PerformanceEvents[_0x21112c(0x265)]);if(PerformanceTester[_0x21112c(0x181)]()){const {measures:_0x50c334,errors:_0x137479}=await PerformanceTester[_0x21112c(0x24f)](),_0x137f9a={};if(_0x50c334&&_0x1b4a74[_0x21112c(0x1d4)](_0x50c334[_0x21112c(0x243)],0x0)||_0x137479&&_0x1b4a74[_0x21112c(0x274)](_0x137479['length'],0x0)){const _0x3e79b1={};_0x3e79b1[_0x21112c(0x217)]=_0x50c334,_0x3e79b1[_0x21112c(0x186)]=_0x137479,Object[_0x21112c(0x225)](_0x137f9a,_0x3e79b1);}try{const _0x4be4f9=await helper[_0x21112c(0x173)](_0x137f9a,this[_0x21112c(0x1fc)]);logger[_0x21112c(0x1d2)](_0x21112c(0x264)+_0x1b4a74[_0x21112c(0x1b4)](getEdsInstrumentationAPIUrl,'')+_0x21112c(0x1ba)+_0x4be4f9['statusCode']);}catch(_0x58172d){logger['debug']('Failed\x20to\x20send\x20data\x20to\x20'+_0x1b4a74[_0x21112c(0x1c7)](getEdsInstrumentationAPIUrl,'')+'\x20with\x20error\x20'+util[_0x21112c(0x185)](_0x58172d));}try{fs[_0x21112c(0x21d)](path['join'](_0x1b4a74[_0x21112c(0x228)](getLogDir),_0x1b4a74[_0x21112c(0x1cb)]),JSON[_0x21112c(0x260)](_0x137f9a));}catch(_0x3483e4){logger[_0x21112c(0x1d2)](_0x21112c(0x166)+_0x3483e4);}}}logger&&logger['close'](),fileLogger&&fileLogger['close']();};}}exports[a94_0x16c68a(0x22e)]=BrowserStackSetup;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a95_0x2506e9=a95_0xc19c;(function(_0x32c970,_0x5d9cac){const _0x180133=a95_0xc19c,_0x2f1056=_0x32c970();while(!![]){try{const _0x3f7943=parseInt(_0x180133(0x76))/0x1*(parseInt(_0x180133(0xed))/0x2)+-parseInt(_0x180133(0xd7))/0x3*(parseInt(_0x180133(0x7f))/0x4)+parseInt(_0x180133(0xa2))/0x5*(-parseInt(_0x180133(0xdb))/0x6)+-parseInt(_0x180133(0xad))/0x7*(-parseInt(_0x180133(0x7b))/0x8)+-parseInt(_0x180133(0x91))/0x9*(-parseInt(_0x180133(0x10f))/0xa)+-parseInt(_0x180133(0x122))/0xb*(-parseInt(_0x180133(0x88))/0xc)+parseInt(_0x180133(0x144))/0xd;if(_0x3f7943===_0x5d9cac)break;else _0x2f1056['push'](_0x2f1056['shift']());}catch(_0x203603){_0x2f1056['push'](_0x2f1056['shift']());}}}(a95_0x5b05,0x8b940));const util=require(a95_0x2506e9(0xfa)),logger=require(a95_0x2506e9(0xd2))['winstonLogger'],accessibilityHelper=require(a95_0x2506e9(0xab)),globals=require(a95_0x2506e9(0xfc)),scripts=require(a95_0x2506e9(0x9e)),PerformanceTester=require(a95_0x2506e9(0xae)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a95_0x2506e9(0x84)),BrowserstackCLI=require('../../bin/v2/browserstackCLI');let playwrightA11yHelper=null;try{playwrightA11yHelper=require(a95_0x2506e9(0xc0));}catch(a95_0x2b0a25){logger[a95_0x2506e9(0x110)](a95_0x2506e9(0xe8));}const a95_0x395d74={};function a95_0xc19c(_0x162584,_0x601a05){const _0x5b051f=a95_0x5b05();return a95_0xc19c=function(_0xc19c2c,_0x306c69){_0xc19c2c=_0xc19c2c-0x73;let _0xfc6aa4=_0x5b051f[_0xc19c2c];return _0xfc6aa4;},a95_0xc19c(_0x162584,_0x601a05);}function a95_0x5b05(){const _0x2e6ad8=['defaultTimeoutMs','zNOpq','getCurrentUrl','sGjTs','isSeleniumDriver','All\x20accessibility\x20results\x20summary\x20retrieval\x20attempts\x20failed\x20(','allSettled','Accessibility\x20results\x20summary\x20retrieved\x20successfully\x20on\x20attempt\x20','4580675mWtoHE','xUcsf','cMagR','ipWOm','ms\x20using\x20timeouts()\x20API','Accessibility\x20results\x20retrieval\x20attempt\x20','Scan\x20attempt\x20','LqmkR','YTTWC','Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20','gdRdx','QlRRL','scanSucceeded','Accessibility\x20scan\x20attempt\x20','plBFY','Accessibility\x20results\x20retrieved\x20successfully\x20on\x20attempt\x20','SZUCi','nzkdV','timeoutMs','name','getSession','value','updateRetryConfig','accessibilityConfig','EpNgq','stringify','Skipping\x20timeout\x20setting\x20for\x20','performScanWithRetry','getAccessibilityModule','unknown_method','WebDriver','__workerDetails','isAccessibilityPlatform','setSeleniumScriptTimeout','2020343eqURDx','isPlaywright','playwright-codecept-driver','script','pFfaY','3187yZCAvA','All\x20accessibility\x20results\x20retrieval\x20attempts\x20failed\x20(','bstackA11yShouldScan','Page','vqDGN','8thnzOc','browserStackEvaluate','getAccessibilityResultsSummary','Accessibility\x20results\x20save\x20attempt\x20','12vhHHQx','max','Accessibility\x20results\x20saved\x20successfully\x20on\x20attempt\x20','UsUil','jbubC','../performance/constants','maxRetries','message','fulfilled','12EyvlUG','reason','bijbi','summary','sswWC','performComprehensiveAccessibilityScanWithRetry','driverType',').\x20Last\x20error:\x20','IUlhE','9uWaBpg','Unknown\x20error','setTimeouts','evaluate','getAccessibilityResultsWithRetry','Unknown\x20error\x20during\x20comprehensive\x20accessibility\x20scan','results','bEyJA','Accessibility\x20retry\x20configuration\x20updated:\x20','unknown','setScriptTimeout','env','type','./scripts','setDefaultTimeout','Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20','measureWrapper','595220drPHpj','FONtM','\x20failed\x20for\x20method:\x20','LabFT','saveAccessibilityResultsWithRetry','yGAyw','Failed\x20to\x20retrieve\x20accessibility\x20summary\x20(','rbCse','getInstance','./helper','url','5855500jZloTV','../performance/performance-tester','selenium-webdriver','Selenium\x20WebDriver\x20manage()\x20method\x20not\x20available,\x20skipping\x20timeout\x20setting','Failed\x20to\x20retrieve\x20accessibility\x20results\x20(','Failed\x20to\x20set\x20Selenium\x20script\x20timeout:\x20','dQBEe','nXIyS','accessibilityPlatform','ydubn','timeouts','capabilitiesList','isAccessibilityAutomationSession','setPlaywrightScriptTimeout','cvRBg','status','Comprehensive\x20accessibility\x20scan\x20failed\x20(','manage','currentTest','../../bin/playwright/accessibility-helper','performScan','info','Selenium\x20WebDriver\x20timeout\x20API\x20not\x20available,\x20skipping\x20timeout\x20setting','Set\x20Playwright\x20page\x20default\x20timeout\x20to\x20','HjHnF','constructor','wnzfD','Accessibility\x20scan\x20succeeded\x20on\x20attempt\x20','cpUhG','undefined','race','getId','ZyoDm','\x20-\x20not\x20applicable','ezZyN','ms\x20using\x20setTimeouts\x20API','saveTestResults','../logger','BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT','JZZGM',')\x20with\x20error:\x20','uOJge','506106hPScSB','BQwzW','jdwrq','CdjTV','42mkMFGN','Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20','MMxLT','GReqd','executeAsyncScript','getRetryConfig','scannerProcessingTimeout','page','):\x20','klHBt','eDpHl','hPpKm','warn','Playwright\x20accessibility\x20helper\x20not\x20available','Lrust','getAccessibilityResultsSummaryWithRetry','Vzyvd','\x20failed\x20(','158atNCDD','EKTyr','ULMiY','eOAsC','nKjtr','error','PERFORM_SCAN','function','nczzi','jGidS','ensyt',',\x20cannot\x20save\x20accessibility\x20results\x20with\x20retry.','Rwfkp','util','isRunning','../globals',').\x20Error:\x20','getCapabilities','goto','\x20for\x20method:\x20','aTDcs','ZzIaR','gpAwC','jzvKO','pVjaF','kovfQ','ms\x20using\x20setScriptTimeout\x20API','dZCuF',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary\x20with\x20retry.','Emqqd','All\x20accessibility\x20results\x20save\x20attempts\x20failed\x20(','IsFoh','JRWrA','Cannot\x20set\x20script\x20timeout:\x20not\x20a\x20Selenium\x20WebDriver','2510170poZToC','debug','RNhAx','UVCub','kAUCg','bfvbN','vCGhJ','getGlobal','PKNLy','VZgJh',',\x20cannot\x20perform\x20scan\x20with\x20retry.'];a95_0x5b05=function(){return _0x2e6ad8;};return a95_0x5b05();}a95_0x395d74[a95_0x2506e9(0x85)]=0x1,a95_0x395d74[a95_0x2506e9(0x134)]=0x7530,a95_0x395d74[a95_0x2506e9(0x11a)]=0x7530;const RETRY_CONFIG=a95_0x395d74,setConfigTimeout=(_0x38fc16,_0x1dd395=null)=>{const _0x220cc9=a95_0x2506e9,_0x38d41c={'EpNgq':function(_0x9e98f7,_0xf66086){return _0x9e98f7===_0xf66086;},'Emqqd':_0x220cc9(0xe1),'JcAXZ':function(_0x14fbd4,_0x145383){return _0x14fbd4*_0x145383;},'nczzi':function(_0x32df8c,_0x3f35ad){return _0x32df8c(_0x3f35ad);}};if(BrowserstackCLI[_0x220cc9(0xaa)]()[_0x220cc9(0xfb)]()&&BrowserstackCLI[_0x220cc9(0xaa)]()[_0x220cc9(0x13e)]()){const _0x7835d4=BrowserstackCLI['getInstance']()[_0x220cc9(0x13e)]()[_0x220cc9(0x139)],_0x38d0fd=_0x7835d4['options'][_0x220cc9(0xb8)]||[];for(const _0x48e6ff of _0x38d0fd){_0x38d41c[_0x220cc9(0x13a)](_0x48e6ff[_0x220cc9(0x135)],_0x38d41c[_0x220cc9(0x10a)])&&_0x38d41c[_0x220cc9(0x13a)](_0x1dd395,null)&&(_0x38fc16[_0x220cc9(0x134)]=_0x38d41c['JcAXZ'](_0x38d41c[_0x220cc9(0xf5)](parseInt,_0x48e6ff[_0x220cc9(0x137)]),0x3e8));}}else process[_0x220cc9(0x9c)][_0x220cc9(0xd3)]&&(_0x38fc16[_0x220cc9(0x134)]=_0x38d41c['JcAXZ'](_0x38d41c[_0x220cc9(0xf5)](parseInt,process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT']),0x3e8));},detectDriverType=_0x1e369a=>{const _0x19e2a=a95_0x2506e9,_0x4fd736={};_0x4fd736[_0x19e2a(0xb4)]=_0x19e2a(0x9a),_0x4fd736[_0x19e2a(0xbb)]=function(_0x49a189,_0x59dc55){return _0x49a189===_0x59dc55;},_0x4fd736[_0x19e2a(0x8c)]='function',_0x4fd736[_0x19e2a(0x111)]=function(_0x44fb04,_0x10df56){return _0x44fb04===_0x10df56;},_0x4fd736[_0x19e2a(0xcd)]=function(_0xbe6f2f,_0x3101d1){return _0xbe6f2f===_0x3101d1;},_0x4fd736[_0x19e2a(0x130)]='playwright-page',_0x4fd736[_0x19e2a(0x124)]=function(_0x256a38,_0x5f3f78){return _0x256a38===_0x5f3f78;},_0x4fd736[_0x19e2a(0x129)]=_0x19e2a(0xaf),_0x4fd736[_0x19e2a(0x10d)]=_0x19e2a(0x79),_0x4fd736[_0x19e2a(0x82)]=_0x19e2a(0x140),_0x4fd736[_0x19e2a(0xeb)]=function(_0x4bbb79,_0x5863b1){return _0x4bbb79===_0x5863b1;},_0x4fd736[_0x19e2a(0x8a)]='Playwright',_0x4fd736[_0x19e2a(0xe4)]=_0x19e2a(0x73),_0x4fd736[_0x19e2a(0x12c)]=function(_0x276551,_0x100399){return _0x276551||_0x100399;},_0x4fd736[_0x19e2a(0x101)]=_0x19e2a(0xca);const _0x392c31=_0x4fd736;if(!_0x1e369a){const _0x3a36a5={};return _0x3a36a5[_0x19e2a(0x145)]=![],_0x3a36a5[_0x19e2a(0x9d)]=_0x392c31['nXIyS'],_0x3a36a5;}if(_0x392c31[_0x19e2a(0xbb)](typeof _0x1e369a[_0x19e2a(0x94)],_0x392c31[_0x19e2a(0x8c)])&&_0x392c31[_0x19e2a(0x111)](typeof _0x1e369a[_0x19e2a(0xac)],_0x392c31[_0x19e2a(0x8c)])&&_0x392c31['ZyoDm'](typeof _0x1e369a[_0x19e2a(0xff)],_0x392c31[_0x19e2a(0x8c)])){const _0x569eee={};return _0x569eee[_0x19e2a(0x145)]=!![],_0x569eee['type']=_0x392c31[_0x19e2a(0x130)],_0x569eee;}if(_0x392c31['RNhAx'](typeof _0x1e369a[_0x19e2a(0xdf)],_0x392c31['sswWC'])&&_0x392c31[_0x19e2a(0x124)](typeof _0x1e369a[_0x19e2a(0xfe)],_0x392c31['sswWC'])){const _0x2f9cf9={};return _0x2f9cf9[_0x19e2a(0x145)]=![],_0x2f9cf9[_0x19e2a(0x9d)]=_0x392c31[_0x19e2a(0x129)],_0x2f9cf9;}const _0x3b4f56=_0x1e369a[_0x19e2a(0xc6)]?.[_0x19e2a(0x135)];if(_0x392c31['cMagR'](_0x3b4f56,_0x392c31[_0x19e2a(0x10d)])){const _0x2c312a={};return _0x2c312a[_0x19e2a(0x145)]=!![],_0x2c312a['type']=_0x392c31['plBFY'],_0x2c312a;}if(_0x392c31[_0x19e2a(0xbb)](_0x3b4f56,_0x392c31[_0x19e2a(0x82)])){const _0x142afb={};return _0x142afb['isPlaywright']=![],_0x142afb[_0x19e2a(0x9d)]=_0x392c31[_0x19e2a(0x129)],_0x142afb;}if(_0x392c31[_0x19e2a(0xeb)](_0x3b4f56,_0x392c31['bijbi'])){const _0x3b5374={};return _0x3b5374[_0x19e2a(0x145)]=!![],_0x3b5374[_0x19e2a(0x9d)]=_0x392c31[_0x19e2a(0xe4)],_0x3b5374;}logger['warn']('Unknown\x20driver/page\x20type:\x20'+_0x392c31[_0x19e2a(0x12c)](_0x3b4f56,_0x392c31[_0x19e2a(0x101)]));const _0x1f550e={};return _0x1f550e[_0x19e2a(0x145)]=![],_0x1f550e['type']=_0x392c31['nXIyS'],_0x1f550e;},withTimeout=(_0x4a89e6,_0x413039)=>{const _0xeef4b5=a95_0x2506e9;return Promise[_0xeef4b5(0xcb)]([_0x4a89e6,new Promise((_0x3b98d7,_0x558931)=>setTimeout(()=>_0x558931(new Error('Operation\x20timed\x20out\x20after\x20'+_0x413039+'ms')),_0x413039))]);};exports[a95_0x2506e9(0x13d)]=async(_0x23915b,_0x4618b4=null,_0x46a3ed=null,_0x4d5e0f=![])=>{const _0x2e71d6=a95_0x2506e9,_0x212881={'uTwAl':function(_0x1766cd,_0x389df5){return _0x1766cd&&_0x389df5;},'KsyQn':function(_0x151cfd,_0x349730,_0xf6e107){return _0x151cfd(_0x349730,_0xf6e107);},'xUcsf':function(_0x2bbea8,_0x12ba6c){return _0x2bbea8===_0x12ba6c;},'LabFT':'playwright-codecept-driver','pjXAO':function(_0x165794,_0x16815a,_0x59a21b){return _0x165794(_0x16815a,_0x59a21b);},'jbubC':function(_0xb5d4de,_0x5dd4a4,_0x58a903){return _0xb5d4de(_0x5dd4a4,_0x58a903);},'JZZGM':function(_0xb99e8f,_0xdf6513){return _0xb99e8f(_0xdf6513);},'SZUCi':_0x2e71d6(0x142),'NbhZp':function(_0x202f87,_0x30652d){return _0x202f87!==_0x30652d;},'uOJge':_0x2e71d6(0x78),'IsFoh':'[Accessibility]\x20Scan\x20skipped\x20-\x20scanning\x20is\x20currently\x20disabled\x20(partial\x20scan\x20mode)','YTTWC':_0x2e71d6(0x13f),'hPpKm':function(_0x27f9d1,_0x33bb1a){return _0x27f9d1===_0x33bb1a;},'jzvKO':_0x2e71d6(0xf4),'UVCub':function(_0x36a8f5,_0x242e67){return _0x36a8f5===_0x242e67;},'BQwzW':function(_0x3c871f,_0x418133){return _0x3c871f<=_0x418133;},'gpAwC':function(_0x1859c1,_0x3c5635){return _0x1859c1+_0x3c5635;},'mbtMe':function(_0x1c2643,_0x5e8609){return _0x1c2643+_0x5e8609;},'dZCuF':_0x2e71d6(0x92)},{isPlaywright:_0x5260d6,type:_0x5dcc35}=_0x212881[_0x2e71d6(0xd4)](detectDriverType,_0x23915b),_0x3160da=_0x5260d6?global[_0x2e71d6(0xb5)]&&(_0x4d5e0f||_0x212881[_0x2e71d6(0x123)](global['bstackA11yShouldScan'],!![])):accessibilityHelper['isAccessibilityAutomationSession']()&&globals[_0x2e71d6(0x116)](_0x212881[_0x2e71d6(0x132)])&&(_0x4d5e0f||_0x212881['NbhZp'](globals[_0x2e71d6(0x116)](_0x212881[_0x2e71d6(0xd6)]),![]));if(!_0x3160da)return _0x5260d6&&global['accessibilityPlatform']&&_0x212881[_0x2e71d6(0x123)](global[_0x2e71d6(0x78)],![])?logger['debug'](_0x212881[_0x2e71d6(0x10c)]):logger[_0x2e71d6(0xe7)](_0x2e71d6(0x12b)+_0x5dcc35+_0x2e71d6(0x119)),![];const _0x57e991=_0x4618b4||global['browserstackSessionName']||_0x212881[_0x2e71d6(0x12a)];let _0x47574e=null;const _0x13b83f={'testhub_btcer_uuid':global[_0x2e71d6(0x141)]?.[_0x2e71d6(0xbf)]?.['id'],'url':_0x212881[_0x2e71d6(0xe6)](typeof _0x23915b[_0x2e71d6(0xac)],_0x212881['jzvKO'])?await _0x23915b[_0x2e71d6(0xac)]():_0x212881[_0x2e71d6(0x123)](typeof _0x23915b[_0x2e71d6(0x11c)],_0x212881[_0x2e71d6(0x104)])?await _0x23915b[_0x2e71d6(0x11c)]():'','automate_session_id':_0x212881[_0x2e71d6(0x112)](typeof _0x23915b[_0x2e71d6(0x136)],_0x212881[_0x2e71d6(0x104)])?(await _0x23915b[_0x2e71d6(0x136)]())[_0x2e71d6(0xcc)]():''};for(let _0x1b0ac4=0x1;_0x212881[_0x2e71d6(0xd8)](_0x1b0ac4,_0x212881[_0x2e71d6(0x103)](RETRY_CONFIG[_0x2e71d6(0x85)],0x1));_0x1b0ac4++){try{return logger['debug'](_0x2e71d6(0x12f)+_0x1b0ac4+'/'+_0x212881['mbtMe'](RETRY_CONFIG[_0x2e71d6(0x85)],0x1)+_0x2e71d6(0x100)+_0x57e991+'\x20('+_0x5dcc35+')'),await PerformanceTester[_0x2e71d6(0xa1)](PerformanceA11yEvents[_0x2e71d6(0xf3)],async()=>{const _0x3bfbd6=_0x2e71d6;let _0x55569d;if(_0x212881['uTwAl'](_0x5260d6,playwrightA11yHelper)){_0x212881['KsyQn'](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x3bfbd6(0xba)](_0x23915b,RETRY_CONFIG[_0x3bfbd6(0x134)]);let _0x1d1c5e=_0x23915b;_0x212881['xUcsf'](_0x5dcc35,_0x212881[_0x3bfbd6(0xa5)])&&(_0x1d1c5e=_0x23915b[_0x3bfbd6(0xe2)]),_0x55569d=await _0x212881['pjXAO'](withTimeout,playwrightA11yHelper['performScan'](_0x1d1c5e,_0x57e991),RETRY_CONFIG['timeoutMs']),await exports[_0x3bfbd6(0xba)](_0x23915b,RETRY_CONFIG['defaultTimeoutMs']);}else await exports[_0x3bfbd6(0x143)](_0x23915b,RETRY_CONFIG[_0x3bfbd6(0x134)]),_0x55569d=await _0x212881[_0x3bfbd6(0x83)](withTimeout,accessibilityHelper[_0x3bfbd6(0xc1)](_0x23915b,_0x57e991),RETRY_CONFIG[_0x3bfbd6(0x134)]),await exports[_0x3bfbd6(0x143)](_0x23915b,RETRY_CONFIG[_0x3bfbd6(0x11a)]);logger[_0x3bfbd6(0x110)](_0x3bfbd6(0x128)+_0x1b0ac4+'\x20completed\x20successfully.');},{'command':_0x57e991,..._0x13b83f})(),logger[_0x2e71d6(0xc2)](_0x2e71d6(0xc8)+_0x1b0ac4+'.'),!![];}catch(_0x57ca8c){_0x47574e=_0x57ca8c,logger['debug'](_0x2e71d6(0x12f)+_0x1b0ac4+_0x2e71d6(0xa4)+_0x57e991+'\x20('+_0x5dcc35+_0x2e71d6(0xfd)+_0x57ca8c[_0x2e71d6(0x86)]);}}return logger[_0x2e71d6(0xf2)]('All\x20accessibility\x20scan\x20attempts\x20failed\x20for\x20method:\x20'+_0x57e991+'\x20('+_0x5dcc35+_0x2e71d6(0xd5)+(_0x47574e?.[_0x2e71d6(0x86)]||_0x212881[_0x2e71d6(0x108)])),![];},exports[a95_0x2506e9(0x95)]=async(_0x4d6ccd,_0xe7b9db)=>{const _0x3593ca=a95_0x2506e9,_0xdae5e2={'Lrust':function(_0x3b32d5,_0x3c1c37){return _0x3b32d5(_0x3c1c37);},'rbCse':_0x3593ca(0x142),'vsbwe':_0x3593ca(0x78),'HjHnF':function(_0x447bf7,_0x46030f){return _0x447bf7<=_0x46030f;},'bEyJA':function(_0x474eb1,_0x4cfd05){return _0x474eb1+_0x4cfd05;},'eOAsC':function(_0x48113c,_0x4893aa){return _0x48113c&&_0x4893aa;},'kAUCg':function(_0x1e9acb,_0x5b1982,_0x67f019){return _0x1e9acb(_0x5b1982,_0x67f019);},'TrPlr':function(_0x2eb2ac,_0x9c7315,_0xc135c3){return _0x2eb2ac(_0x9c7315,_0xc135c3);},'jGidS':_0x3593ca(0x92)},{isPlaywright:_0x468480,type:_0x5a1213}=_0xdae5e2[_0x3593ca(0xe9)](detectDriverType,_0x4d6ccd),_0x506e86=_0x468480?_0xe7b9db[_0x3593ca(0xb5)]:accessibilityHelper[_0x3593ca(0xb9)]()&&globals[_0x3593ca(0x116)](_0xdae5e2[_0x3593ca(0xa9)])&&globals['getGlobal'](_0xdae5e2['vsbwe']);if(!_0x506e86)return logger['warn'](_0x3593ca(0x12b)+_0x5a1213+',\x20cannot\x20retrieve\x20Accessibility\x20results\x20with\x20retry.'),[];let _0x1de453=null;for(let _0xaa980c=0x1;_0xdae5e2[_0x3593ca(0xc5)](_0xaa980c,_0xdae5e2[_0x3593ca(0x98)](RETRY_CONFIG[_0x3593ca(0x85)],0x1));_0xaa980c++){try{logger['debug'](_0x3593ca(0x127)+_0xaa980c+'/'+_0xdae5e2[_0x3593ca(0x98)](RETRY_CONFIG[_0x3593ca(0x85)],0x1)+'\x20('+_0x5a1213+')');let _0x54c5c8;return _0xdae5e2[_0x3593ca(0xf0)](_0x468480,playwrightA11yHelper)?(_0xdae5e2['kAUCg'](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x3593ca(0xba)](_0x4d6ccd,RETRY_CONFIG[_0x3593ca(0x134)]),_0x54c5c8=await _0xdae5e2['TrPlr'](withTimeout,playwrightA11yHelper['getAccessibilityResults'](_0x4d6ccd),RETRY_CONFIG['timeoutMs']),await exports[_0x3593ca(0xba)](_0x4d6ccd,RETRY_CONFIG[_0x3593ca(0x11a)])):(await exports[_0x3593ca(0x143)](_0x4d6ccd,RETRY_CONFIG['timeoutMs']),_0x54c5c8=await _0xdae5e2[_0x3593ca(0x113)](withTimeout,accessibilityHelper['getAccessibilityResults'](_0x4d6ccd,_0xe7b9db),RETRY_CONFIG[_0x3593ca(0x134)]),await exports[_0x3593ca(0x143)](_0x4d6ccd,RETRY_CONFIG['defaultTimeoutMs'])),logger[_0x3593ca(0xc2)](_0x3593ca(0x131)+_0xaa980c+'\x20('+_0x5a1213+')'),_0x54c5c8;}catch(_0x311fd1){_0x1de453=_0x311fd1,logger[_0x3593ca(0xe7)](_0x3593ca(0x127)+_0xaa980c+_0x3593ca(0xec)+_0x5a1213+_0x3593ca(0xfd)+_0x311fd1[_0x3593ca(0x86)]);}}return logger[_0x3593ca(0xf2)](_0x3593ca(0x77)+_0x5a1213+_0x3593ca(0x8f)+(_0x1de453?.['message']||_0xdae5e2[_0x3593ca(0xf6)])),[];},exports[a95_0x2506e9(0xea)]=async(_0x43063c,_0x6646fb)=>{const _0x460a8a=a95_0x2506e9,_0x2bf371={'QzPLk':function(_0x42e784,_0x4f346e){return _0x42e784(_0x4f346e);},'PIbzE':_0x460a8a(0x142),'ydubn':_0x460a8a(0x78),'GReqd':function(_0x12d915,_0x3b69c5){return _0x12d915<=_0x3b69c5;},'wnzfD':function(_0x5cb57f,_0x4b98dd){return _0x5cb57f+_0x4b98dd;},'PKNLy':function(_0x3c0d0d,_0x398ffe){return _0x3c0d0d&&_0x398ffe;},'pFfaY':function(_0x534b85,_0x2e4073,_0x54e47d){return _0x534b85(_0x2e4073,_0x54e47d);},'kvSTY':function(_0x2da3fb,_0x256df1,_0x4a7030){return _0x2da3fb(_0x256df1,_0x4a7030);},'rOOOS':_0x460a8a(0x92)},{isPlaywright:_0x3b7375,type:_0xd207e0}=_0x2bf371['QzPLk'](detectDriverType,_0x43063c),_0x55036a=_0x3b7375?_0x6646fb[_0x460a8a(0xb5)]:accessibilityHelper[_0x460a8a(0xb9)]()&&globals[_0x460a8a(0x116)](_0x2bf371['PIbzE'])&&globals[_0x460a8a(0x116)](_0x2bf371[_0x460a8a(0xb6)]);if(!_0x55036a)return logger['warn']('Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20'+_0xd207e0+_0x460a8a(0x109)),{};let _0x18e1de=null;for(let _0x2b2798=0x1;_0x2bf371[_0x460a8a(0xde)](_0x2b2798,_0x2bf371[_0x460a8a(0xc7)](RETRY_CONFIG[_0x460a8a(0x85)],0x1));_0x2b2798++){try{logger[_0x460a8a(0x110)](_0x460a8a(0xa0)+_0x2b2798+'/'+_0x2bf371[_0x460a8a(0xc7)](RETRY_CONFIG[_0x460a8a(0x85)],0x1)+'\x20('+_0xd207e0+')');let _0x292365;return _0x2bf371[_0x460a8a(0x117)](_0x3b7375,playwrightA11yHelper)?(_0x2bf371[_0x460a8a(0x75)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x460a8a(0xba)](_0x43063c,RETRY_CONFIG[_0x460a8a(0x134)]),_0x292365=await _0x2bf371[_0x460a8a(0x75)](withTimeout,playwrightA11yHelper[_0x460a8a(0x7d)](_0x43063c),RETRY_CONFIG[_0x460a8a(0x134)]),await exports[_0x460a8a(0xba)](_0x43063c,RETRY_CONFIG[_0x460a8a(0x11a)])):(await exports[_0x460a8a(0x143)](_0x43063c,RETRY_CONFIG[_0x460a8a(0x134)]),_0x292365=await _0x2bf371['kvSTY'](withTimeout,accessibilityHelper[_0x460a8a(0x7d)](_0x43063c,_0x6646fb),RETRY_CONFIG[_0x460a8a(0x134)]),await exports[_0x460a8a(0x143)](_0x43063c,RETRY_CONFIG['defaultTimeoutMs'])),logger[_0x460a8a(0xc2)](_0x460a8a(0x121)+_0x2b2798+'\x20('+_0xd207e0+')'),_0x292365;}catch(_0x32a642){_0x18e1de=_0x32a642,logger[_0x460a8a(0xe7)](_0x460a8a(0xa0)+_0x2b2798+_0x460a8a(0xec)+_0xd207e0+_0x460a8a(0xfd)+_0x32a642['message']);}}return logger[_0x460a8a(0xf2)](_0x460a8a(0x11f)+_0xd207e0+_0x460a8a(0x8f)+(_0x18e1de?.['message']||_0x2bf371['rOOOS'])),{};},exports[a95_0x2506e9(0x8d)]=async(_0x2d981e,_0x4cbb87,_0x31b414=null)=>{const _0x3c9401=a95_0x2506e9,_0x1d1ba4={'FONtM':function(_0x588c38,_0x1b3715){return _0x588c38(_0x1b3715);},'QlRRL':function(_0x85644a,_0x348e8e){return _0x85644a===_0x348e8e;},'EKTyr':_0x3c9401(0x87),'VZgJh':function(_0x2c1955,_0x20449d){return _0x2c1955===_0x20449d;},'zNOpq':'rejected','ensyt':function(_0x24a9b0,_0x13db55){return _0x24a9b0===_0x13db55;},'jdwrq':_0x3c9401(0x96)},{isPlaywright:_0x94a1ef,type:_0x371801}=_0x1d1ba4[_0x3c9401(0xa3)](detectDriverType,_0x2d981e),_0x451af2={};_0x451af2[_0x3c9401(0x12e)]=![],_0x451af2[_0x3c9401(0x97)]=[],_0x451af2[_0x3c9401(0x8b)]={},_0x451af2['error']=null,_0x451af2[_0x3c9401(0x8e)]=_0x371801;const _0x2a57ab=_0x451af2;try{_0x2a57ab[_0x3c9401(0x12e)]=await exports[_0x3c9401(0x13d)](_0x2d981e,_0x31b414);if(_0x2a57ab['scanSucceeded']){const [_0x4c713d,_0xe5b2be]=await Promise[_0x3c9401(0x120)]([exports['getAccessibilityResultsWithRetry'](_0x2d981e,_0x4cbb87),exports[_0x3c9401(0xea)](_0x2d981e,_0x4cbb87)]);_0x2a57ab['results']=_0x1d1ba4[_0x3c9401(0x12d)](_0x4c713d[_0x3c9401(0xbc)],_0x1d1ba4[_0x3c9401(0xee)])?_0x4c713d[_0x3c9401(0x137)]:[],_0x2a57ab['summary']=_0x1d1ba4[_0x3c9401(0x12d)](_0xe5b2be['status'],_0x1d1ba4[_0x3c9401(0xee)])?_0xe5b2be[_0x3c9401(0x137)]:{},_0x1d1ba4[_0x3c9401(0x118)](_0x4c713d[_0x3c9401(0xbc)],_0x1d1ba4[_0x3c9401(0x11b)])&&logger['warn'](_0x3c9401(0xb1)+_0x371801+_0x3c9401(0xe3)+_0x4c713d[_0x3c9401(0x89)]?.[_0x3c9401(0x86)]),_0x1d1ba4[_0x3c9401(0xf7)](_0xe5b2be['status'],_0x1d1ba4[_0x3c9401(0x11b)])&&logger['warn'](_0x3c9401(0xa8)+_0x371801+_0x3c9401(0xe3)+_0xe5b2be['reason']?.[_0x3c9401(0x86)]);}}catch(_0x380c3b){_0x2a57ab[_0x3c9401(0xf2)]=_0x380c3b[_0x3c9401(0x86)]||_0x1d1ba4[_0x3c9401(0xd9)],logger['error'](_0x3c9401(0xbd)+_0x371801+_0x3c9401(0xe3)+_0x2a57ab[_0x3c9401(0xf2)]);}return _0x2a57ab;},exports[a95_0x2506e9(0x138)]=_0x27d20d=>{const _0x35e62d=a95_0x2506e9,_0x156196={};_0x156196[_0x35e62d(0xb3)]=function(_0x15fdd9,_0x422abc){return _0x15fdd9!==_0x422abc;};const _0x22bdc4=_0x156196;_0x22bdc4[_0x35e62d(0xb3)](_0x27d20d['maxRetries'],undefined)&&(RETRY_CONFIG[_0x35e62d(0x85)]=Math[_0x35e62d(0x80)](0x0,_0x27d20d['maxRetries'])),_0x22bdc4['dQBEe'](_0x27d20d[_0x35e62d(0x134)],undefined)&&(RETRY_CONFIG[_0x35e62d(0x134)]=Math[_0x35e62d(0x80)](0x3e8,_0x27d20d[_0x35e62d(0x134)])),logger['debug'](_0x35e62d(0x99)+JSON[_0x35e62d(0x13b)](RETRY_CONFIG));},exports[a95_0x2506e9(0xe0)]=()=>{const _0x5b641d={...RETRY_CONFIG};return _0x5b641d;},exports['isPlaywrightPage']=_0x236d6d=>{const _0x491a58=a95_0x2506e9,_0x217e03={'cpUhG':function(_0x43d29c,_0x33f004){return _0x43d29c(_0x33f004);}};return _0x217e03[_0x491a58(0xc9)](detectDriverType,_0x236d6d)['isPlaywright'];},exports[a95_0x2506e9(0x11e)]=_0x26a4f3=>{const _0x5363cc=a95_0x2506e9,_0x2e3920={'ULMiY':function(_0x2c04fd,_0x59c84a){return _0x2c04fd(_0x59c84a);},'yGAyw':function(_0x264d44,_0x5ed5d6){return _0x264d44===_0x5ed5d6;},'OqqVh':_0x5363cc(0xaf)},{isPlaywright:_0x36906d,type:_0x3e4db2}=_0x2e3920[_0x5363cc(0xef)](detectDriverType,_0x26a4f3);return!_0x36906d&&_0x2e3920[_0x5363cc(0xa7)](_0x3e4db2,_0x2e3920['OqqVh']);},exports[a95_0x2506e9(0xba)]=async(_0x2e717b,_0x3456da=null)=>{const _0x4668f4=a95_0x2506e9,_0x9f56e8={'LrdMy':function(_0x4279c8,_0x5a9079){return _0x4279c8(_0x5a9079);},'ZzIaR':function(_0x41e0cf,_0xcadcec){return _0x41e0cf===_0xcadcec;},'vqDGN':'function'},{isPlaywright:_0x971472,type:_0x2b3eb3}=_0x9f56e8['LrdMy'](detectDriverType,_0x2e717b);if(!_0x971472)return logger[_0x4668f4(0x110)](_0x4668f4(0x13c)+_0x2b3eb3+_0x4668f4(0xce)),!![];const _0x5eddac=_0x3456da||RETRY_CONFIG[_0x4668f4(0x11a)];try{return _0x2e717b&&_0x9f56e8[_0x4668f4(0x102)](typeof _0x2e717b['setDefaultTimeout'],_0x9f56e8[_0x4668f4(0x7a)])&&(await _0x2e717b[_0x4668f4(0x9f)](_0x5eddac),logger[_0x4668f4(0x110)](_0x4668f4(0xc4)+_0x5eddac+'ms')),!![];}catch(_0x4f8bea){return logger[_0x4668f4(0xe7)]('Failed\x20to\x20set\x20Playwright\x20script\x20timeout:\x20'+_0x4f8bea['message']),![];}},exports[a95_0x2506e9(0x143)]=async(_0x8a1e85,_0x2bc610=null)=>{const _0x1d03ca=a95_0x2506e9,_0x4c69ae={};_0x4c69ae[_0x1d03ca(0xf1)]=_0x1d03ca(0x10e),_0x4c69ae[_0x1d03ca(0x105)]=function(_0x36aba6,_0x533cc7){return _0x36aba6===_0x533cc7;},_0x4c69ae[_0x1d03ca(0xe5)]=_0x1d03ca(0xf4),_0x4c69ae[_0x1d03ca(0xf9)]=function(_0x3a5c97,_0x4d03f0){return _0x3a5c97===_0x4d03f0;},_0x4c69ae[_0x1d03ca(0xcf)]=function(_0x50d8f7,_0x25780d){return _0x50d8f7===_0x25780d;},_0x4c69ae['UqaYY']=_0x1d03ca(0xc3),_0x4c69ae[_0x1d03ca(0xda)]=_0x1d03ca(0xb0);const _0x2a21ff=_0x4c69ae;if(!exports[_0x1d03ca(0x11e)](_0x8a1e85))return logger['warn'](_0x2a21ff['nKjtr']),![];const _0x26a413=_0x2bc610||RETRY_CONFIG[_0x1d03ca(0x11a)];try{if(_0x8a1e85&&_0x2a21ff[_0x1d03ca(0x105)](typeof _0x8a1e85[_0x1d03ca(0xbe)],_0x2a21ff[_0x1d03ca(0xe5)])){const _0x1c0801=_0x8a1e85[_0x1d03ca(0xbe)]();if(_0x1c0801&&_0x2a21ff[_0x1d03ca(0xf9)](typeof _0x1c0801[_0x1d03ca(0xb7)],_0x2a21ff[_0x1d03ca(0xe5)]))await _0x1c0801[_0x1d03ca(0xb7)]()[_0x1d03ca(0x9b)](_0x26a413),logger[_0x1d03ca(0x110)](_0x1d03ca(0xdc)+_0x26a413+_0x1d03ca(0x126));else{if(_0x1c0801&&_0x2a21ff['ezZyN'](typeof _0x1c0801[_0x1d03ca(0x93)],_0x2a21ff[_0x1d03ca(0xe5)])){const _0x27c96a={};_0x27c96a[_0x1d03ca(0x74)]=_0x26a413,await _0x1c0801[_0x1d03ca(0x93)](_0x27c96a),logger[_0x1d03ca(0x110)](_0x1d03ca(0xdc)+_0x26a413+_0x1d03ca(0xd0));}else{if(_0x1c0801&&_0x2a21ff[_0x1d03ca(0xcf)](typeof _0x1c0801[_0x1d03ca(0x9b)],_0x2a21ff[_0x1d03ca(0xe5)]))await _0x1c0801[_0x1d03ca(0x9b)](_0x26a413),logger[_0x1d03ca(0x110)](_0x1d03ca(0xdc)+_0x26a413+_0x1d03ca(0x107));else return logger['debug'](_0x2a21ff['UqaYY']),!![];}}}else return logger[_0x1d03ca(0x110)](_0x2a21ff['CdjTV']),!![];return!![];}catch(_0x3bb069){return logger[_0x1d03ca(0xe7)](_0x1d03ca(0xb2)+_0x3bb069[_0x1d03ca(0x86)]),![];}},exports[a95_0x2506e9(0xa6)]=async(_0x207dbf,_0x56613d)=>{const _0x54d715=a95_0x2506e9,_0x3c1a6b={'kovfQ':function(_0x2e54e7,_0x37e8b6){return _0x2e54e7(_0x37e8b6);},'nzkdV':_0x54d715(0x142),'UWalE':'bstackA11yShouldScan','IUlhE':function(_0x500775,_0x5c1680){return _0x500775<=_0x5c1680;},'bfvbN':function(_0x599c55,_0x1b15ce){return _0x599c55+_0x1b15ce;},'pgvhc':function(_0x326720,_0x88fb78){return _0x326720+_0x88fb78;},'MMxLT':function(_0x10013b,_0x1ba8cb){return _0x10013b&&_0x1ba8cb;},'sGjTs':function(_0x126150,_0x8f26bd,_0x449cd4){return _0x126150(_0x8f26bd,_0x449cd4);},'ipWOm':function(_0x4e8012,_0x2d851d,_0x3b839b){return _0x4e8012(_0x2d851d,_0x3b839b);},'vCGhJ':'Unknown\x20error'},{isPlaywright:_0x123ead,type:_0x50cbc4}=_0x3c1a6b[_0x54d715(0x106)](detectDriverType,_0x207dbf),_0x3de4e9=_0x123ead?global[_0x54d715(0xb5)]:accessibilityHelper['isAccessibilityAutomationSession']()&&globals[_0x54d715(0x116)](_0x3c1a6b[_0x54d715(0x133)])&&globals[_0x54d715(0x116)](_0x3c1a6b['UWalE']);if(!_0x3de4e9)return logger[_0x54d715(0xe7)](_0x54d715(0x12b)+_0x50cbc4+_0x54d715(0xf8)),![];let _0x280a81=null;for(let _0x30b279=0x1;_0x3c1a6b[_0x54d715(0x90)](_0x30b279,_0x3c1a6b[_0x54d715(0x114)](RETRY_CONFIG[_0x54d715(0x85)],0x1));_0x30b279++){try{return logger[_0x54d715(0x110)](_0x54d715(0x7e)+_0x30b279+'/'+_0x3c1a6b['pgvhc'](RETRY_CONFIG[_0x54d715(0x85)],0x1)+'\x20('+_0x50cbc4+')'),_0x3c1a6b[_0x54d715(0xdd)](_0x123ead,playwrightA11yHelper)?(_0x3c1a6b['sGjTs'](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x54d715(0xba)](_0x207dbf,RETRY_CONFIG[_0x54d715(0x134)]),await _0x3c1a6b[_0x54d715(0x125)](withTimeout,playwrightA11yHelper[_0x54d715(0x7c)](_0x207dbf,scripts[_0x54d715(0xd1)],_0x56613d),RETRY_CONFIG[_0x54d715(0x134)]),await exports[_0x54d715(0xba)](_0x207dbf,RETRY_CONFIG[_0x54d715(0x11a)])):(await exports[_0x54d715(0x143)](_0x207dbf,RETRY_CONFIG['timeoutMs']),await _0x3c1a6b[_0x54d715(0x11d)](withTimeout,_0x207dbf['executeAsyncScript'](scripts[_0x54d715(0xd1)],_0x56613d),RETRY_CONFIG['timeoutMs']),await exports[_0x54d715(0x143)](_0x207dbf,RETRY_CONFIG['defaultTimeoutMs'])),logger['info'](_0x54d715(0x81)+_0x30b279+'\x20('+_0x50cbc4+')'),!![];}catch(_0x33a5ed){_0x280a81=_0x33a5ed,logger[_0x54d715(0xe7)](_0x54d715(0x7e)+_0x30b279+_0x54d715(0xec)+_0x50cbc4+_0x54d715(0xfd)+_0x33a5ed[_0x54d715(0x86)]);}}return logger[_0x54d715(0xf2)](_0x54d715(0x10b)+_0x50cbc4+_0x54d715(0x8f)+(_0x280a81?.['message']||_0x3c1a6b[_0x54d715(0x115)])),![];};
|
|
1
|
+
const a95_0x553d90=a95_0xc9a6;function a95_0xc9a6(_0x65d3c8,_0x3929a4){const _0x4b866c=a95_0x4b86();return a95_0xc9a6=function(_0xc9a60f,_0x493d02){_0xc9a60f=_0xc9a60f-0x1d7;let _0xa4eebf=_0x4b866c[_0xc9a60f];return _0xa4eebf;},a95_0xc9a6(_0x65d3c8,_0x3929a4);}(function(_0x5d5cac,_0x53a289){const _0x56ac6c=a95_0xc9a6,_0x2e4006=_0x5d5cac();while(!![]){try{const _0x108f12=-parseInt(_0x56ac6c(0x25e))/0x1+parseInt(_0x56ac6c(0x282))/0x2+-parseInt(_0x56ac6c(0x20a))/0x3+-parseInt(_0x56ac6c(0x285))/0x4+-parseInt(_0x56ac6c(0x1ee))/0x5*(-parseInt(_0x56ac6c(0x23a))/0x6)+-parseInt(_0x56ac6c(0x248))/0x7*(parseInt(_0x56ac6c(0x28f))/0x8)+parseInt(_0x56ac6c(0x229))/0x9*(parseInt(_0x56ac6c(0x23f))/0xa);if(_0x108f12===_0x53a289)break;else _0x2e4006['push'](_0x2e4006['shift']());}catch(_0x5421cc){_0x2e4006['push'](_0x2e4006['shift']());}}}(a95_0x4b86,0xae33b));const util=require('util'),logger=require(a95_0x553d90(0x216))[a95_0x553d90(0x228)],accessibilityHelper=require('./helper'),globals=require(a95_0x553d90(0x2a4)),scripts=require(a95_0x553d90(0x295)),PerformanceTester=require(a95_0x553d90(0x234)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a95_0x553d90(0x235)),BrowserstackCLI=require(a95_0x553d90(0x1dd));let playwrightA11yHelper=null;try{playwrightA11yHelper=require('../../bin/playwright/accessibility-helper');}catch(a95_0x4f0bcd){logger[a95_0x553d90(0x1ed)]('Playwright\x20accessibility\x20helper\x20not\x20available');}const a95_0xc0411d={};function a95_0x4b86(){const _0x47593d=['setTimeouts','getAccessibilityResultsSummary','getAccessibilityResultsSummaryWithRetry','zPzfm','utsPz','QehhK','Failed\x20to\x20retrieve\x20accessibility\x20results\x20(','debug','200FEurVv','[Accessibility]\x20Scan\x20skipped\x20-\x20scanning\x20is\x20currently\x20disabled\x20(partial\x20scan\x20mode)','gZnnd','Failed\x20to\x20set\x20Selenium\x20script\x20timeout:\x20','updateRetryConfig','getCurrentUrl','\x20completed\x20successfully.','fulfilled','CZwHX','getAccessibilityResults','playwright-codecept-driver','timeouts','dFkUw',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20with\x20retry.','rejected','capabilitiesList','EfDYk','\x20failed\x20for\x20method:\x20','wSJgt','\x20-\x20not\x20applicable','constructor',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary\x20with\x20retry.','Playwright','qAKAW','ms\x20using\x20timeouts()\x20API','scanSucceeded','All\x20accessibility\x20results\x20retrieval\x20attempts\x20failed\x20(','getGlobal','1678947xvmQvJ','driverType','timeoutMs','Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20','Jeeas','aAjld','IfRnS','QXbgi','warn','getAccessibilityModule','\x20for\x20method:\x20','cTnHx','../logger','unknown','mOPXt','Accessibility\x20results\x20retrieved\x20successfully\x20on\x20attempt\x20','currentTest','JFoqr','saveAccessibilityResultsWithRetry','name','rDJvV','NFKlN','ms\x20using\x20setScriptTimeout\x20API','dvtNp','__workerDetails','allSettled','cbwVh','XXBfs','reason','aeTlw','winstonLogger','1280871jauaTQ',')\x20with\x20error:\x20','type','setScriptTimeout','Accessibility\x20scan\x20attempt\x20','LNWtl','maxRetries','stringify','lXiGn','OLjLa','gwxax','../performance/performance-tester','../performance/constants','TxaLe','Accessibility\x20results\x20save\x20attempt\x20','NYsBi','sxZTX','38946gPefIj','RijDd','PqARY','getCapabilities','options','130vtnaNG','IZfXA','QmBFP','FAUGX',',\x20cannot\x20save\x20accessibility\x20results\x20with\x20retry.','kFRJD','accessibilityPlatform','peGPN','IdHev','828506MyyJPg','zlqmR','Accessibility\x20retry\x20configuration\x20updated:\x20','performScan','mnwae','Unknown\x20error\x20during\x20comprehensive\x20accessibility\x20scan','uJCZG','QgnVu','SWBbH','value','evaluate','isSeleniumDriver','All\x20accessibility\x20scan\x20attempts\x20failed\x20for\x20method:\x20','JamRw','ms\x20using\x20setTimeouts\x20API','isRunning','unknown_method','setPlaywrightScriptTimeout','performComprehensiveAccessibilityScanWithRetry','zHRAb','UFsWJ','Accessibility\x20results\x20saved\x20successfully\x20on\x20attempt\x20','83489KGVHMB','Unknown\x20driver/page\x20type:\x20','uIXCq','Accessibility\x20scan\x20succeeded\x20on\x20attempt\x20','GVhGZ','Accessibility\x20results\x20summary\x20retrieved\x20successfully\x20on\x20attempt\x20','lacdQ','summary','zCJjN','url','QBUhA','performScanWithRetry','race','selenium-webdriver','Unknown\x20error','All\x20accessibility\x20results\x20summary\x20retrieval\x20attempts\x20failed\x20(','isPlaywright','Cannot\x20set\x20script\x20timeout:\x20not\x20a\x20Selenium\x20WebDriver','Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20','Accessibility\x20results\x20retrieval\x20attempt\x20','mhRWI',').\x20Last\x20error:\x20','McDGX','message','bstackA11yShouldScan','getInstance','mKsUY','Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20','duNXD','setDefaultTimeout','getAccessibilityResultsWithRetry','undefined','BmVzK','results','page','browserStackEvaluate','1089508llpEMt','MvXAX','XCGQe','4718056LDNmeo','ZAuFe','jsfbv','wZmbZ','PERFORM_SCAN','OTXlm',').\x20Error:\x20','max','status','env','8DcFeQe','executeAsyncScript','isAccessibilityPlatform','manage','tNlCC','tQmVU','./scripts','):\x20','All\x20accessibility\x20results\x20save\x20attempts\x20failed\x20(','scannerProcessingTimeout','exeJS','info','Scan\x20attempt\x20','hUKqs','defaultTimeoutMs','Failed\x20to\x20retrieve\x20accessibility\x20summary\x20(','Operation\x20timed\x20out\x20after\x20','ayxLp','ifZrn','browserstackSessionName','BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT','../globals','zNkuI','function','fYsea','ePjVP','getSession','smVIz','IGLWN','\x20failed\x20(','../../bin/v2/browserstackCLI','yrpEX','HalhR','cXKkG','error','exLPO','script','isAccessibilityAutomationSession','setSeleniumScriptTimeout'];a95_0x4b86=function(){return _0x47593d;};return a95_0x4b86();}a95_0xc0411d[a95_0x553d90(0x22f)]=0x1,a95_0xc0411d[a95_0x553d90(0x20c)]=0x7530,a95_0xc0411d[a95_0x553d90(0x29d)]=0x7530;const RETRY_CONFIG=a95_0xc0411d,setConfigTimeout=(_0x15eea1,_0x144910=null)=>{const _0x3d893b=a95_0x553d90,_0x5a588f={'ePjVP':function(_0x30e998,_0x5a9c8f){return _0x30e998===_0x5a9c8f;},'wZmbZ':_0x3d893b(0x298),'qucug':function(_0x155f32,_0x5a1ba8){return _0x155f32*_0x5a1ba8;},'dFkUw':function(_0x22b764,_0x195e9e){return _0x22b764(_0x195e9e);},'cXKkG':function(_0x3ccab6,_0x5ba76b){return _0x3ccab6*_0x5ba76b;},'smVIz':function(_0x3936e8,_0x41ac5d){return _0x3936e8(_0x41ac5d);}};if(BrowserstackCLI[_0x3d893b(0x277)]()[_0x3d893b(0x257)]()&&BrowserstackCLI[_0x3d893b(0x277)]()[_0x3d893b(0x213)]()){const _0x3cb545=BrowserstackCLI[_0x3d893b(0x277)]()[_0x3d893b(0x213)]()['accessibilityConfig'],_0x22fc19=_0x3cb545[_0x3d893b(0x23e)][_0x3d893b(0x1fd)]||[];for(const _0xa98bc4 of _0x22fc19){_0x5a588f[_0x3d893b(0x1d8)](_0xa98bc4[_0x3d893b(0x21d)],_0x5a588f[_0x3d893b(0x288)])&&_0x5a588f[_0x3d893b(0x1d8)](_0x144910,null)&&(_0x15eea1[_0x3d893b(0x20c)]=_0x5a588f['qucug'](_0x5a588f[_0x3d893b(0x1fa)](parseInt,_0xa98bc4[_0x3d893b(0x251)]),0x3e8));}}else process[_0x3d893b(0x28e)]['BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT']&&(_0x15eea1[_0x3d893b(0x20c)]=_0x5a588f[_0x3d893b(0x1e0)](_0x5a588f[_0x3d893b(0x1da)](parseInt,process[_0x3d893b(0x28e)][_0x3d893b(0x2a3)]),0x3e8));},detectDriverType=_0x2d2348=>{const _0xa58647=a95_0x553d90,_0x81fba7={};_0x81fba7['qAKAW']=_0xa58647(0x217),_0x81fba7[_0xa58647(0x247)]=function(_0x4ce18a,_0xed3fb1){return _0x4ce18a===_0xed3fb1;},_0x81fba7[_0xa58647(0x1f0)]='function',_0x81fba7[_0xa58647(0x250)]='playwright-page',_0x81fba7[_0xa58647(0x287)]=function(_0x1c916c,_0x308724){return _0x1c916c===_0x308724;},_0x81fba7[_0xa58647(0x25c)]=_0xa58647(0x26b),_0x81fba7[_0xa58647(0x278)]='Page',_0x81fba7['XXBfs']=function(_0x48e285,_0x3cde46){return _0x48e285===_0x3cde46;},_0x81fba7['mnwae']='WebDriver',_0x81fba7[_0xa58647(0x284)]=_0xa58647(0x204),_0x81fba7[_0xa58647(0x21b)]=_0xa58647(0x1f8),_0x81fba7[_0xa58647(0x1f6)]=function(_0x652772,_0x16ee76){return _0x652772||_0x16ee76;},_0x81fba7[_0xa58647(0x239)]=_0xa58647(0x27d);const _0x2c4156=_0x81fba7;if(!_0x2d2348){const _0x4f3735={};return _0x4f3735['isPlaywright']=![],_0x4f3735[_0xa58647(0x22b)]=_0x2c4156[_0xa58647(0x205)],_0x4f3735;}if(_0x2c4156[_0xa58647(0x247)](typeof _0x2d2348[_0xa58647(0x252)],_0x2c4156[_0xa58647(0x1f0)])&&_0x2c4156['IdHev'](typeof _0x2d2348[_0xa58647(0x267)],_0x2c4156[_0xa58647(0x1f0)])&&_0x2c4156[_0xa58647(0x247)](typeof _0x2d2348['goto'],_0x2c4156['gZnnd'])){const _0x36958a={};return _0x36958a['isPlaywright']=!![],_0x36958a[_0xa58647(0x22b)]=_0x2c4156[_0xa58647(0x250)],_0x36958a;}if(_0x2c4156[_0xa58647(0x247)](typeof _0x2d2348[_0xa58647(0x290)],_0x2c4156[_0xa58647(0x1f0)])&&_0x2c4156[_0xa58647(0x287)](typeof _0x2d2348[_0xa58647(0x23d)],_0x2c4156[_0xa58647(0x1f0)])){const _0x3871fe={};return _0x3871fe[_0xa58647(0x26e)]=![],_0x3871fe[_0xa58647(0x22b)]=_0x2c4156['UFsWJ'],_0x3871fe;}const _0x516a2d=_0x2d2348[_0xa58647(0x202)]?.[_0xa58647(0x21d)];if(_0x2c4156[_0xa58647(0x247)](_0x516a2d,_0x2c4156['mKsUY'])){const _0x272bf6={};return _0x272bf6[_0xa58647(0x26e)]=!![],_0x272bf6[_0xa58647(0x22b)]=_0x2c4156[_0xa58647(0x250)],_0x272bf6;}if(_0x2c4156[_0xa58647(0x225)](_0x516a2d,_0x2c4156[_0xa58647(0x24c)])){const _0x4dc7f1={};return _0x4dc7f1[_0xa58647(0x26e)]=![],_0x4dc7f1['type']=_0x2c4156[_0xa58647(0x25c)],_0x4dc7f1;}if(_0x2c4156[_0xa58647(0x287)](_0x516a2d,_0x2c4156[_0xa58647(0x284)])){const _0x569ebd={};return _0x569ebd[_0xa58647(0x26e)]=!![],_0x569ebd[_0xa58647(0x22b)]=_0x2c4156['JFoqr'],_0x569ebd;}logger[_0xa58647(0x212)](_0xa58647(0x25f)+_0x2c4156[_0xa58647(0x1f6)](_0x516a2d,_0x2c4156[_0xa58647(0x239)]));const _0x4a8d7d={};return _0x4a8d7d[_0xa58647(0x26e)]=![],_0x4a8d7d[_0xa58647(0x22b)]=_0x2c4156['qAKAW'],_0x4a8d7d;},withTimeout=(_0x3ded5f,_0x106a14)=>{const _0x3afa22=a95_0x553d90;return Promise[_0x3afa22(0x26a)]([_0x3ded5f,new Promise((_0x2bf038,_0x42851f)=>setTimeout(()=>_0x42851f(new Error(_0x3afa22(0x29f)+_0x106a14+'ms')),_0x106a14))]);};exports['performScanWithRetry']=async(_0x5ccf8e,_0x2c21a4=null,_0x44d3d8=null,_0x460345=![])=>{const _0x57d5d1=a95_0x553d90,_0x287f38={'yhCCO':function(_0x145a95,_0x2537a2){return _0x145a95&&_0x2537a2;},'MvXAX':function(_0x41173d,_0x216209,_0x441c0){return _0x41173d(_0x216209,_0x441c0);},'gwxax':function(_0x12e40f,_0x3ebf4c){return _0x12e40f===_0x3ebf4c;},'uJCZG':_0x57d5d1(0x1f8),'QmBFP':function(_0x4f3d6c,_0x5ad6cc,_0x4895f9){return _0x4f3d6c(_0x5ad6cc,_0x4895f9);},'cTnHx':function(_0x260dc4,_0x268591,_0xbcaf73){return _0x260dc4(_0x268591,_0xbcaf73);},'ZAuFe':function(_0x255861,_0x2e4ade){return _0x255861(_0x2e4ade);},'fsQbL':_0x57d5d1(0x291),'FAUGX':function(_0x3b81c3,_0x3d016c){return _0x3b81c3!==_0x3d016c;},'mhRWI':'bstackA11yShouldScan','zlqmR':function(_0x2b82b8,_0x537a35){return _0x2b82b8===_0x537a35;},'wSJgt':_0x57d5d1(0x1ef),'tQmVU':_0x57d5d1(0x258),'QgnVu':'function','zCJjN':function(_0x43fda7,_0x4ae62e){return _0x43fda7<=_0x4ae62e;},'erkxm':function(_0x207442,_0x1b3958){return _0x207442+_0x1b3958;},'aAjld':_0x57d5d1(0x26c)},{isPlaywright:_0x380ff0,type:_0x55b54c}=_0x287f38[_0x57d5d1(0x286)](detectDriverType,_0x5ccf8e),_0x507d6f=_0x380ff0?global[_0x57d5d1(0x245)]&&(_0x460345||_0x287f38[_0x57d5d1(0x233)](global[_0x57d5d1(0x276)],!![])):accessibilityHelper[_0x57d5d1(0x1e4)]()&&globals[_0x57d5d1(0x209)](_0x287f38['fsQbL'])&&(_0x460345||_0x287f38[_0x57d5d1(0x242)](globals[_0x57d5d1(0x209)](_0x287f38[_0x57d5d1(0x272)]),![]));if(!_0x507d6f)return _0x380ff0&&global[_0x57d5d1(0x245)]&&_0x287f38[_0x57d5d1(0x249)](global[_0x57d5d1(0x276)],![])?logger[_0x57d5d1(0x1ed)](_0x287f38[_0x57d5d1(0x200)]):logger[_0x57d5d1(0x212)](_0x57d5d1(0x20d)+_0x55b54c+',\x20cannot\x20perform\x20scan\x20with\x20retry.'),![];const _0x127a44=_0x2c21a4||global[_0x57d5d1(0x2a2)]||_0x287f38[_0x57d5d1(0x294)];let _0x48cfc8=null;const _0x59209d={'testhub_btcer_uuid':global[_0x57d5d1(0x222)]?.[_0x57d5d1(0x21a)]?.['id'],'url':_0x287f38[_0x57d5d1(0x249)](typeof _0x5ccf8e[_0x57d5d1(0x267)],_0x287f38[_0x57d5d1(0x24f)])?await _0x5ccf8e[_0x57d5d1(0x267)]():_0x287f38[_0x57d5d1(0x249)](typeof _0x5ccf8e[_0x57d5d1(0x1f3)],_0x287f38[_0x57d5d1(0x24f)])?await _0x5ccf8e[_0x57d5d1(0x1f3)]():'','automate_session_id':_0x287f38[_0x57d5d1(0x233)](typeof _0x5ccf8e[_0x57d5d1(0x1d9)],_0x287f38[_0x57d5d1(0x24f)])?(await _0x5ccf8e['getSession']())['getId']():''};for(let _0x48264e=0x1;_0x287f38[_0x57d5d1(0x266)](_0x48264e,_0x287f38['erkxm'](RETRY_CONFIG['maxRetries'],0x1));_0x48264e++){try{return logger['debug'](_0x57d5d1(0x22d)+_0x48264e+'/'+_0x287f38['erkxm'](RETRY_CONFIG[_0x57d5d1(0x22f)],0x1)+_0x57d5d1(0x214)+_0x127a44+'\x20('+_0x55b54c+')'),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x57d5d1(0x289)],async()=>{const _0x2d1eef=_0x57d5d1;let _0x3d0304;if(_0x287f38['yhCCO'](_0x380ff0,playwrightA11yHelper)){_0x287f38[_0x2d1eef(0x283)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x2d1eef(0x259)](_0x5ccf8e,RETRY_CONFIG[_0x2d1eef(0x20c)]);let _0x4faba9=_0x5ccf8e;_0x287f38['gwxax'](_0x55b54c,_0x287f38[_0x2d1eef(0x24e)])&&(_0x4faba9=_0x5ccf8e[_0x2d1eef(0x280)]),_0x3d0304=await _0x287f38[_0x2d1eef(0x241)](withTimeout,playwrightA11yHelper[_0x2d1eef(0x24b)](_0x4faba9,_0x127a44),RETRY_CONFIG[_0x2d1eef(0x20c)]),await exports[_0x2d1eef(0x259)](_0x5ccf8e,RETRY_CONFIG['defaultTimeoutMs']);}else await exports[_0x2d1eef(0x1e5)](_0x5ccf8e,RETRY_CONFIG[_0x2d1eef(0x20c)]),_0x3d0304=await _0x287f38[_0x2d1eef(0x215)](withTimeout,accessibilityHelper['performScan'](_0x5ccf8e,_0x127a44),RETRY_CONFIG[_0x2d1eef(0x20c)]),await exports[_0x2d1eef(0x1e5)](_0x5ccf8e,RETRY_CONFIG['defaultTimeoutMs']);logger[_0x2d1eef(0x1ed)](_0x2d1eef(0x29b)+_0x48264e+_0x2d1eef(0x1f4));},{'command':_0x127a44,..._0x59209d})(),logger[_0x57d5d1(0x29a)](_0x57d5d1(0x261)+_0x48264e+'.'),!![];}catch(_0x543cd3){_0x48cfc8=_0x543cd3,logger[_0x57d5d1(0x1ed)]('Accessibility\x20scan\x20attempt\x20'+_0x48264e+_0x57d5d1(0x1ff)+_0x127a44+'\x20('+_0x55b54c+_0x57d5d1(0x28b)+_0x543cd3[_0x57d5d1(0x275)]);}}return logger['error'](_0x57d5d1(0x254)+_0x127a44+'\x20('+_0x55b54c+_0x57d5d1(0x22a)+(_0x48cfc8?.['message']||_0x287f38[_0x57d5d1(0x20f)])),![];},exports[a95_0x553d90(0x27c)]=async(_0x246eb8,_0x4f1faf)=>{const _0x7b50bd=a95_0x553d90,_0x4bddce={'IfRnS':function(_0x152939,_0x3c4e0c){return _0x152939(_0x3c4e0c);},'kFRJD':'isAccessibilityPlatform','zHRAb':_0x7b50bd(0x276),'zNkuI':function(_0x4d3ba7,_0x53a112){return _0x4d3ba7<=_0x53a112;},'exeJS':function(_0x3e0fd4,_0x5ce925){return _0x3e0fd4+_0x5ce925;},'TxaLe':function(_0x55cd03,_0x42fa66){return _0x55cd03+_0x42fa66;},'QehhK':function(_0x25859a,_0x1270a9){return _0x25859a&&_0x1270a9;},'fYsea':function(_0xa8dcad,_0x3b9a06,_0x424b2f){return _0xa8dcad(_0x3b9a06,_0x424b2f);},'McDGX':function(_0x2dfdcf,_0x4a87d5,_0xe0b62f){return _0x2dfdcf(_0x4a87d5,_0xe0b62f);},'Jeeas':_0x7b50bd(0x26c)},{isPlaywright:_0x2d0e4c,type:_0x34907d}=_0x4bddce[_0x7b50bd(0x210)](detectDriverType,_0x246eb8),_0x1f5d49=_0x2d0e4c?_0x4f1faf[_0x7b50bd(0x245)]:accessibilityHelper[_0x7b50bd(0x1e4)]()&&globals['getGlobal'](_0x4bddce[_0x7b50bd(0x244)])&&globals[_0x7b50bd(0x209)](_0x4bddce[_0x7b50bd(0x25b)]);if(!_0x1f5d49)return logger[_0x7b50bd(0x212)](_0x7b50bd(0x20d)+_0x34907d+_0x7b50bd(0x1fb)),[];let _0xffbeb1=null;for(let _0x3223cb=0x1;_0x4bddce[_0x7b50bd(0x2a5)](_0x3223cb,_0x4bddce[_0x7b50bd(0x299)](RETRY_CONFIG['maxRetries'],0x1));_0x3223cb++){try{logger[_0x7b50bd(0x1ed)]('Accessibility\x20results\x20retrieval\x20attempt\x20'+_0x3223cb+'/'+_0x4bddce[_0x7b50bd(0x236)](RETRY_CONFIG['maxRetries'],0x1)+'\x20('+_0x34907d+')');let _0x2c1ef8;return _0x4bddce[_0x7b50bd(0x1eb)](_0x2d0e4c,playwrightA11yHelper)?(_0x4bddce[_0x7b50bd(0x1d7)](setConfigTimeout,RETRY_CONFIG,null),await exports['setPlaywrightScriptTimeout'](_0x246eb8,RETRY_CONFIG['timeoutMs']),_0x2c1ef8=await _0x4bddce[_0x7b50bd(0x1d7)](withTimeout,playwrightA11yHelper[_0x7b50bd(0x1f7)](_0x246eb8),RETRY_CONFIG[_0x7b50bd(0x20c)]),await exports[_0x7b50bd(0x259)](_0x246eb8,RETRY_CONFIG[_0x7b50bd(0x29d)])):(await exports[_0x7b50bd(0x1e5)](_0x246eb8,RETRY_CONFIG[_0x7b50bd(0x20c)]),_0x2c1ef8=await _0x4bddce[_0x7b50bd(0x274)](withTimeout,accessibilityHelper[_0x7b50bd(0x1f7)](_0x246eb8,_0x4f1faf),RETRY_CONFIG[_0x7b50bd(0x20c)]),await exports['setSeleniumScriptTimeout'](_0x246eb8,RETRY_CONFIG[_0x7b50bd(0x29d)])),logger[_0x7b50bd(0x29a)](_0x7b50bd(0x219)+_0x3223cb+'\x20('+_0x34907d+')'),_0x2c1ef8;}catch(_0x516f40){_0xffbeb1=_0x516f40,logger[_0x7b50bd(0x212)](_0x7b50bd(0x271)+_0x3223cb+_0x7b50bd(0x1dc)+_0x34907d+_0x7b50bd(0x28b)+_0x516f40[_0x7b50bd(0x275)]);}}return logger[_0x7b50bd(0x1e1)](_0x7b50bd(0x208)+_0x34907d+').\x20Last\x20error:\x20'+(_0xffbeb1?.[_0x7b50bd(0x275)]||_0x4bddce[_0x7b50bd(0x20e)])),[];},exports[a95_0x553d90(0x1e8)]=async(_0x4f307a,_0x107fc5)=>{const _0x4edc64=a95_0x553d90,_0x5c364e={'PqARY':function(_0x5846a4,_0x5e2de3){return _0x5846a4(_0x5e2de3);},'lXiGn':_0x4edc64(0x291),'NFKlN':_0x4edc64(0x276),'uIXCq':function(_0x57bba0,_0x36371a){return _0x57bba0<=_0x36371a;},'IZfXA':function(_0x2ded8d,_0xc095c){return _0x2ded8d+_0xc095c;},'hUKqs':function(_0x43b4e5,_0x1892d1){return _0x43b4e5&&_0x1892d1;},'OLjLa':function(_0x27e4b1,_0x437fdb,_0x50e67f){return _0x27e4b1(_0x437fdb,_0x50e67f);},'tNlCC':_0x4edc64(0x26c)},{isPlaywright:_0x36d652,type:_0x584e72}=_0x5c364e[_0x4edc64(0x23c)](detectDriverType,_0x4f307a),_0x13f728=_0x36d652?_0x107fc5['accessibilityPlatform']:accessibilityHelper[_0x4edc64(0x1e4)]()&&globals[_0x4edc64(0x209)](_0x5c364e[_0x4edc64(0x231)])&&globals['getGlobal'](_0x5c364e[_0x4edc64(0x21f)]);if(!_0x13f728)return logger[_0x4edc64(0x212)]('Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20'+_0x584e72+_0x4edc64(0x203)),{};let _0x7cccb0=null;for(let _0x51e4c5=0x1;_0x5c364e[_0x4edc64(0x260)](_0x51e4c5,_0x5c364e[_0x4edc64(0x240)](RETRY_CONFIG[_0x4edc64(0x22f)],0x1));_0x51e4c5++){try{logger[_0x4edc64(0x1ed)](_0x4edc64(0x270)+_0x51e4c5+'/'+_0x5c364e[_0x4edc64(0x240)](RETRY_CONFIG['maxRetries'],0x1)+'\x20('+_0x584e72+')');let _0x140d8b;return _0x5c364e[_0x4edc64(0x29c)](_0x36d652,playwrightA11yHelper)?(_0x5c364e[_0x4edc64(0x232)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x4edc64(0x259)](_0x4f307a,RETRY_CONFIG[_0x4edc64(0x20c)]),_0x140d8b=await _0x5c364e[_0x4edc64(0x232)](withTimeout,playwrightA11yHelper[_0x4edc64(0x1e7)](_0x4f307a),RETRY_CONFIG[_0x4edc64(0x20c)]),await exports['setPlaywrightScriptTimeout'](_0x4f307a,RETRY_CONFIG['defaultTimeoutMs'])):(await exports[_0x4edc64(0x1e5)](_0x4f307a,RETRY_CONFIG['timeoutMs']),_0x140d8b=await _0x5c364e['OLjLa'](withTimeout,accessibilityHelper[_0x4edc64(0x1e7)](_0x4f307a,_0x107fc5),RETRY_CONFIG[_0x4edc64(0x20c)]),await exports[_0x4edc64(0x1e5)](_0x4f307a,RETRY_CONFIG[_0x4edc64(0x29d)])),logger['info'](_0x4edc64(0x263)+_0x51e4c5+'\x20('+_0x584e72+')'),_0x140d8b;}catch(_0x401003){_0x7cccb0=_0x401003,logger[_0x4edc64(0x212)](_0x4edc64(0x270)+_0x51e4c5+_0x4edc64(0x1dc)+_0x584e72+_0x4edc64(0x28b)+_0x401003[_0x4edc64(0x275)]);}}return logger[_0x4edc64(0x1e1)](_0x4edc64(0x26d)+_0x584e72+_0x4edc64(0x273)+(_0x7cccb0?.[_0x4edc64(0x275)]||_0x5c364e[_0x4edc64(0x293)])),{};},exports[a95_0x553d90(0x25a)]=async(_0x1823ed,_0x36b007,_0x12c513=null)=>{const _0x2758c0=a95_0x553d90,_0x547ada={'HalhR':function(_0x35cda6,_0x3419d9){return _0x35cda6(_0x3419d9);},'WLOlG':function(_0x532ef2,_0x50cb53){return _0x532ef2===_0x50cb53;},'rDJvV':_0x2758c0(0x1f5),'peGPN':function(_0x327267,_0x1f4d09){return _0x327267===_0x1f4d09;},'cbwVh':_0x2758c0(0x1fc),'ToaPk':_0x2758c0(0x24d)},{isPlaywright:_0x7a2f2f,type:_0x4e9ed4}=_0x547ada[_0x2758c0(0x1df)](detectDriverType,_0x1823ed),_0x44f86e={};_0x44f86e[_0x2758c0(0x207)]=![],_0x44f86e['results']=[],_0x44f86e[_0x2758c0(0x265)]={},_0x44f86e['error']=null,_0x44f86e[_0x2758c0(0x20b)]=_0x4e9ed4;const _0xe16df7=_0x44f86e;try{_0xe16df7[_0x2758c0(0x207)]=await exports[_0x2758c0(0x269)](_0x1823ed,_0x12c513);if(_0xe16df7[_0x2758c0(0x207)]){const [_0x25988d,_0x322600]=await Promise[_0x2758c0(0x223)]([exports[_0x2758c0(0x27c)](_0x1823ed,_0x36b007),exports[_0x2758c0(0x1e8)](_0x1823ed,_0x36b007)]);_0xe16df7[_0x2758c0(0x27f)]=_0x547ada['WLOlG'](_0x25988d[_0x2758c0(0x28d)],_0x547ada[_0x2758c0(0x21e)])?_0x25988d['value']:[],_0xe16df7[_0x2758c0(0x265)]=_0x547ada[_0x2758c0(0x246)](_0x322600[_0x2758c0(0x28d)],_0x547ada[_0x2758c0(0x21e)])?_0x322600[_0x2758c0(0x251)]:{},_0x547ada[_0x2758c0(0x246)](_0x25988d[_0x2758c0(0x28d)],_0x547ada[_0x2758c0(0x224)])&&logger[_0x2758c0(0x212)](_0x2758c0(0x1ec)+_0x4e9ed4+_0x2758c0(0x296)+_0x25988d[_0x2758c0(0x226)]?.['message']),_0x547ada['peGPN'](_0x322600[_0x2758c0(0x28d)],_0x547ada[_0x2758c0(0x224)])&&logger[_0x2758c0(0x212)](_0x2758c0(0x29e)+_0x4e9ed4+_0x2758c0(0x296)+_0x322600[_0x2758c0(0x226)]?.[_0x2758c0(0x275)]);}}catch(_0xb295c9){_0xe16df7['error']=_0xb295c9[_0x2758c0(0x275)]||_0x547ada['ToaPk'],logger['error']('Comprehensive\x20accessibility\x20scan\x20failed\x20('+_0x4e9ed4+_0x2758c0(0x296)+_0xe16df7[_0x2758c0(0x1e1)]);}return _0xe16df7;},exports[a95_0x553d90(0x1f2)]=_0x20ca09=>{const _0x3de797=a95_0x553d90,_0x794e0f={};_0x794e0f[_0x3de797(0x2a1)]=function(_0x1bd2ab,_0x2fa477){return _0x1bd2ab!==_0x2fa477;};const _0x1e3970=_0x794e0f;_0x1e3970['ifZrn'](_0x20ca09[_0x3de797(0x22f)],undefined)&&(RETRY_CONFIG[_0x3de797(0x22f)]=Math[_0x3de797(0x28c)](0x0,_0x20ca09[_0x3de797(0x22f)])),_0x1e3970[_0x3de797(0x2a1)](_0x20ca09[_0x3de797(0x20c)],undefined)&&(RETRY_CONFIG['timeoutMs']=Math[_0x3de797(0x28c)](0x3e8,_0x20ca09[_0x3de797(0x20c)])),logger['debug'](_0x3de797(0x24a)+JSON[_0x3de797(0x230)](RETRY_CONFIG));},exports['getRetryConfig']=()=>{const _0x2fae98={...RETRY_CONFIG};return _0x2fae98;},exports['isPlaywrightPage']=_0x216ea0=>{const _0x24d8f8=a95_0x553d90,_0x2de4f1={'ayxLp':function(_0x113302,_0x4741c0){return _0x113302(_0x4741c0);}};return _0x2de4f1[_0x24d8f8(0x2a0)](detectDriverType,_0x216ea0)[_0x24d8f8(0x26e)];},exports[a95_0x553d90(0x253)]=_0x248075=>{const _0x2dbeda=a95_0x553d90,_0x19f6db={'cNhbp':function(_0x2fda69,_0x5c0e07){return _0x2fda69(_0x5c0e07);},'duNXD':function(_0x45a2b7,_0x383cae){return _0x45a2b7===_0x383cae;},'NYsBi':_0x2dbeda(0x26b)},{isPlaywright:_0x15d5f3,type:_0x587dce}=_0x19f6db['cNhbp'](detectDriverType,_0x248075);return!_0x15d5f3&&_0x19f6db[_0x2dbeda(0x27a)](_0x587dce,_0x19f6db[_0x2dbeda(0x238)]);},exports[a95_0x553d90(0x259)]=async(_0x24ce41,_0x4f1ab9=null)=>{const _0x3e6f28=a95_0x553d90,_0xdbd160={'BmVzK':function(_0x58b218,_0x20326b){return _0x58b218(_0x20326b);},'QXbgi':function(_0x7b8037,_0x3d503f){return _0x7b8037===_0x3d503f;},'exLPO':_0x3e6f28(0x2a6)},{isPlaywright:_0xdbb6c3,type:_0x3d1583}=_0xdbd160[_0x3e6f28(0x27e)](detectDriverType,_0x24ce41);if(!_0xdbb6c3)return logger[_0x3e6f28(0x1ed)]('Skipping\x20timeout\x20setting\x20for\x20'+_0x3d1583+_0x3e6f28(0x201)),!![];const _0x3dba53=_0x4f1ab9||RETRY_CONFIG[_0x3e6f28(0x29d)];try{return _0x24ce41&&_0xdbd160[_0x3e6f28(0x211)](typeof _0x24ce41['setDefaultTimeout'],_0xdbd160[_0x3e6f28(0x1e2)])&&(await _0x24ce41[_0x3e6f28(0x27b)](_0x3dba53),logger['debug']('Set\x20Playwright\x20page\x20default\x20timeout\x20to\x20'+_0x3dba53+'ms')),!![];}catch(_0x178b3c){return logger[_0x3e6f28(0x212)]('Failed\x20to\x20set\x20Playwright\x20script\x20timeout:\x20'+_0x178b3c[_0x3e6f28(0x275)]),![];}},exports['setSeleniumScriptTimeout']=async(_0x3d08eb,_0x593489=null)=>{const _0x28ab6d=a95_0x553d90,_0xf8c4e={};_0xf8c4e['utsPz']=_0x28ab6d(0x26f),_0xf8c4e[_0x28ab6d(0x221)]=function(_0x340ac8,_0x258b01){return _0x340ac8===_0x258b01;},_0xf8c4e['lacdQ']=_0x28ab6d(0x2a6),_0xf8c4e[_0x28ab6d(0x255)]=function(_0x171d04,_0x3e54c5){return _0x171d04===_0x3e54c5;},_0xf8c4e[_0x28ab6d(0x268)]=function(_0x3fe4ce,_0x16e95f){return _0x3fe4ce===_0x16e95f;},_0xf8c4e[_0x28ab6d(0x227)]=function(_0x72e60c,_0x189d02){return _0x72e60c===_0x189d02;},_0xf8c4e[_0x28ab6d(0x1db)]='Selenium\x20WebDriver\x20timeout\x20API\x20not\x20available,\x20skipping\x20timeout\x20setting',_0xf8c4e[_0x28ab6d(0x23b)]='Selenium\x20WebDriver\x20manage()\x20method\x20not\x20available,\x20skipping\x20timeout\x20setting';const _0x28b1b=_0xf8c4e;if(!exports['isSeleniumDriver'](_0x3d08eb))return logger[_0x28ab6d(0x212)](_0x28b1b[_0x28ab6d(0x1ea)]),![];const _0x3b3fb6=_0x593489||RETRY_CONFIG[_0x28ab6d(0x29d)];try{if(_0x3d08eb&&_0x28b1b['dvtNp'](typeof _0x3d08eb['manage'],_0x28b1b[_0x28ab6d(0x264)])){const _0x229dba=_0x3d08eb[_0x28ab6d(0x292)]();if(_0x229dba&&_0x28b1b[_0x28ab6d(0x255)](typeof _0x229dba['timeouts'],_0x28b1b[_0x28ab6d(0x264)]))await _0x229dba[_0x28ab6d(0x1f9)]()[_0x28ab6d(0x22c)](_0x3b3fb6),logger[_0x28ab6d(0x1ed)]('Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20'+_0x3b3fb6+_0x28ab6d(0x206));else{if(_0x229dba&&_0x28b1b[_0x28ab6d(0x268)](typeof _0x229dba[_0x28ab6d(0x1e6)],_0x28b1b[_0x28ab6d(0x264)])){const _0x415a05={};_0x415a05[_0x28ab6d(0x1e3)]=_0x3b3fb6,await _0x229dba[_0x28ab6d(0x1e6)](_0x415a05),logger[_0x28ab6d(0x1ed)](_0x28ab6d(0x279)+_0x3b3fb6+_0x28ab6d(0x256));}else{if(_0x229dba&&_0x28b1b['aeTlw'](typeof _0x229dba[_0x28ab6d(0x22c)],_0x28b1b[_0x28ab6d(0x264)]))await _0x229dba[_0x28ab6d(0x22c)](_0x3b3fb6),logger[_0x28ab6d(0x1ed)](_0x28ab6d(0x279)+_0x3b3fb6+_0x28ab6d(0x220));else return logger['debug'](_0x28b1b[_0x28ab6d(0x1db)]),!![];}}}else return logger[_0x28ab6d(0x1ed)](_0x28b1b[_0x28ab6d(0x23b)]),!![];return!![];}catch(_0x2884f4){return logger[_0x28ab6d(0x212)](_0x28ab6d(0x1f1)+_0x2884f4['message']),![];}},exports[a95_0x553d90(0x21c)]=async(_0x3ccf93,_0x125479)=>{const _0x3bb366=a95_0x553d90,_0x2f4bd5={'cmBCs':function(_0x5a4bba,_0x5a5a61){return _0x5a4bba(_0x5a5a61);},'vNvVZ':_0x3bb366(0x291),'EfDYk':_0x3bb366(0x276),'GVhGZ':function(_0x12800e,_0x3a4779){return _0x12800e<=_0x3a4779;},'OTXlm':function(_0x5af837,_0x50893d){return _0x5af837+_0x50893d;},'mOPXt':function(_0x153d3d,_0x4999f1){return _0x153d3d+_0x4999f1;},'zPzfm':function(_0x2f2b3f,_0x2b91f2){return _0x2f2b3f&&_0x2b91f2;},'LNWtl':function(_0x182d00,_0x1262ac,_0x5b07a3){return _0x182d00(_0x1262ac,_0x5b07a3);},'GHDOi':function(_0x18c925,_0x13d083,_0x287f07){return _0x18c925(_0x13d083,_0x287f07);},'yrpEX':_0x3bb366(0x26c)},{isPlaywright:_0x353b5e,type:_0x1bb25a}=_0x2f4bd5['cmBCs'](detectDriverType,_0x3ccf93),_0x562f5b=_0x353b5e?global[_0x3bb366(0x245)]:accessibilityHelper[_0x3bb366(0x1e4)]()&&globals[_0x3bb366(0x209)](_0x2f4bd5['vNvVZ'])&&globals[_0x3bb366(0x209)](_0x2f4bd5[_0x3bb366(0x1fe)]);if(!_0x562f5b)return logger[_0x3bb366(0x212)](_0x3bb366(0x20d)+_0x1bb25a+_0x3bb366(0x243)),![];let _0x19e26e=null;for(let _0x4929fa=0x1;_0x2f4bd5[_0x3bb366(0x262)](_0x4929fa,_0x2f4bd5[_0x3bb366(0x28a)](RETRY_CONFIG[_0x3bb366(0x22f)],0x1));_0x4929fa++){try{return logger[_0x3bb366(0x1ed)]('Accessibility\x20results\x20save\x20attempt\x20'+_0x4929fa+'/'+_0x2f4bd5[_0x3bb366(0x218)](RETRY_CONFIG['maxRetries'],0x1)+'\x20('+_0x1bb25a+')'),_0x2f4bd5[_0x3bb366(0x1e9)](_0x353b5e,playwrightA11yHelper)?(_0x2f4bd5[_0x3bb366(0x22e)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x3bb366(0x259)](_0x3ccf93,RETRY_CONFIG[_0x3bb366(0x20c)]),await _0x2f4bd5['GHDOi'](withTimeout,playwrightA11yHelper[_0x3bb366(0x281)](_0x3ccf93,scripts['saveTestResults'],_0x125479),RETRY_CONFIG['timeoutMs']),await exports[_0x3bb366(0x259)](_0x3ccf93,RETRY_CONFIG[_0x3bb366(0x29d)])):(await exports[_0x3bb366(0x1e5)](_0x3ccf93,RETRY_CONFIG[_0x3bb366(0x20c)]),await _0x2f4bd5['GHDOi'](withTimeout,_0x3ccf93[_0x3bb366(0x290)](scripts['saveTestResults'],_0x125479),RETRY_CONFIG['timeoutMs']),await exports[_0x3bb366(0x1e5)](_0x3ccf93,RETRY_CONFIG['defaultTimeoutMs'])),logger[_0x3bb366(0x29a)](_0x3bb366(0x25d)+_0x4929fa+'\x20('+_0x1bb25a+')'),!![];}catch(_0x541e3e){_0x19e26e=_0x541e3e,logger[_0x3bb366(0x212)](_0x3bb366(0x237)+_0x4929fa+'\x20failed\x20('+_0x1bb25a+_0x3bb366(0x28b)+_0x541e3e[_0x3bb366(0x275)]);}}return logger[_0x3bb366(0x1e1)](_0x3bb366(0x297)+_0x1bb25a+_0x3bb366(0x273)+(_0x19e26e?.['message']||_0x2f4bd5[_0x3bb366(0x1de)])),![];};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a96_0x2824(_0x17e08c,_0x432dbc){var _0x247d56=a96_0x247d();return a96_0x2824=function(_0x2824a8,_0x5720a0){_0x2824a8=_0x2824a8-0xdb;var _0x142550=_0x247d56[_0x2824a8];return _0x142550;},a96_0x2824(_0x17e08c,_0x432dbc);}function a96_0x247d(){var _0x5c230a=['API_URL','MINIMUM_BROWSER_VERSION_ACCESSIBILITY','7086pUsceV','8073768xgBzBG','472iWZatB','83742kTHSXK','65934NfOOJI','3204WtcwnN','100','160siyres','493281nPRmbJ','5OQTzGT','2405tTVddD','9863FEShPA','4eJDQZv'];a96_0x247d=function(){return _0x5c230a;};return a96_0x247d();}var a96_0x2f58c9=a96_0x2824;(function(_0xc39a58,_0x4d6b86){var _0x243931=a96_0x2824,_0x41791d=_0xc39a58();while(!![]){try{var _0x5bd506=-parseInt(_0x243931(0xe6))/0x1*(parseInt(_0x243931(0xdd))/0x2)+-parseInt(_0x243931(0xe0))/0x3*(parseInt(_0x243931(0xe9))/0x4)+-parseInt(_0x243931(0xe7))/0x5*(parseInt(_0x243931(0xe2))/0x6)+-parseInt(_0x243931(0xe8))/0x7*(parseInt(_0x243931(0xdf))/0x8)+-parseInt(_0x243931(0xe5))/0x9+-parseInt(_0x243931(0xe4))/0xa*(parseInt(_0x243931(0xe1))/0xb)+parseInt(_0x243931(0xde))/0xc;if(_0x5bd506===_0x4d6b86)break;else _0x41791d['push'](_0x41791d['shift']());}catch(_0x3a9ea7){_0x41791d['push'](_0x41791d['shift']());}}}(a96_0x247d,0x21527),exports[a96_0x2f58c9(0xdb)]='https://accessibility.browserstack.com/api',exports[a96_0x2f58c9(0xdc)]='94',exports['MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY']=a96_0x2f58c9(0xe3));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a97_0x11d4(){const _0x3a3318=['getUserName','8CUecLR','script','debug','nonBstackPlatformValidation','data','PERFORM_SCAN','headers','cUPAN','getBrowserVersion','jkcHV','cEkbm','fetchPlatformDetails','includeTagsInTestingScope','zTubQ','measureWrapper','basename','getAccessibilityResultsSummary','assign','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','LfsVo','v2/test_runs','uIoau','get','error','buildName','performScan','hwAad','body','getTestFrameworkDetails','accessibility','qQUcm','getGitMetaData','DLCOH','VVuMN','FfOHK','BS_A11Y_JWT','aaKqu','Invalid\x20request:\x20','shouldScanTestForAccessibility','eNCFr','selenium-webdriver','path','VJPpN','Bwrej','selenium-webdriver/chrome.js','toLowerCase','maWPt','imVXj','10MxHDVx','parse','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','xIqvr','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20','7259472LASQCv','response','tknMQ','ojSFK','3828126HNMBWT','winstonLogger','No\x20accessibility\x20results\x20were\x20found.','yrKMg','bstack:options','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','isAccessibilityAutomationSession','UuIEX','Not\x20a\x20Accessibility\x20Session','UKrXW','Performing\x20scan\x20before\x20getting\x20results\x20summary','set','lBMvO','getGlobal','a11y:stop','IGdjM','Build\x20creation\x20had\x20failed.','chromeOptions_','gNRcM','Error\x20while\x20adding\x20Non-Bstack\x20capabilities:\x20','toISOString','IRBkG','isArray','isAccessibilityPlatform','nodeRequest','257838ACiDtz','TIQcn','cwd','oQLHo','isTrue','KHRyV','DpdTG','2502595GbKgZk','--headless','lCOkh','test_runs/stop','VyAiv','DNSIJ','options_','58173nDMrpV','JpaDa','capabilities_','PUT','UgBSH','GRpgx','Mreas','requireModule','fnwup','LzxlY','executeAsyncScript','KyFrg','includes','getCiInfo','gABEp','env','method','dqnKQ','getHostInfo','./constants','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','device','../helper','14983lSzhOV','statusText','hCRav','checkAccessibilityPlatformConfig','getPlatformVersion','getAccessibilityResults','CfcUH','isBrowserStackCommandExecutor','Authorization','parseFromJson','success','projectName','sVWEA','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','getResults','createAccessibilityTestRun','2057742OoQwlY','isUndefined','Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20','qhPEE','PWelX','warn','No\x20accessibility\x20summary\x20was\x20found.','auth','60LCsPzP','RTRrg','YcrPe','getAccessKey','nYxtJ','version','message','a11y:start','Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20','auagp','util','GGnBL','favOE','Bearer\x20','POST','some','application/json','stopAccessibilityTestRun','length','ovTNs','vLSIz','OTJRt','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.','../globals','XcNIi','getCapabilities','NFRnz','goog:chromeOptions','resolve','IksKE','string','join','getPlatform','gvLBT','GET_RESULTS_SUMMARY','ahhSx','gRIhc','ZAyrs','false','excludeTagsInTestingScope','scannerVersion','70XyzWWW','wOBgC','browserVersion','Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20','sOysO','getBrowserName','qIPcC','BROWSERSTACK_TEST_ACCESSIBILITY_YML','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','LVPYl','status','stringify','stack','errors','../performance/constants','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20','null','pass','browserstack','getAgentVersion','nestedKeyValue','format','Performing\x20scan\x20before\x20getting\x20results','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','bstackA11yShouldScan','./scripts','Content-Type'];a97_0x11d4=function(){return _0x3a3318;};return a97_0x11d4();}function a97_0x3c27(_0x4ae5be,_0x344ba5){const _0x11d46c=a97_0x11d4();return a97_0x3c27=function(_0x3c276c,_0x2d18be){_0x3c276c=_0x3c276c-0xdc;let _0x5a4f3e=_0x11d46c[_0x3c276c];return _0x5a4f3e;},a97_0x3c27(_0x4ae5be,_0x344ba5);}const a97_0x2f317f=a97_0x3c27;(function(_0x346c2d,_0x2d1171){const _0x553b7f=a97_0x3c27,_0x36da4d=_0x346c2d();while(!![]){try{const _0x20ab5d=-parseInt(_0x553b7f(0x113))/0x1*(-parseInt(_0x553b7f(0x154))/0x2)+parseInt(_0x553b7f(0xfc))/0x3*(-parseInt(_0x553b7f(0x12b))/0x4)+parseInt(_0x553b7f(0xf5))/0x5+parseInt(_0x553b7f(0x1a9))/0x6+-parseInt(_0x553b7f(0xee))/0x7*(parseInt(_0x553b7f(0x170))/0x8)+-parseInt(_0x553b7f(0x123))/0x9*(parseInt(_0x553b7f(0x1a0))/0xa)+-parseInt(_0x553b7f(0x1a5))/0xb;if(_0x20ab5d===_0x2d1171)break;else _0x36da4d['push'](_0x36da4d['shift']());}catch(_0x2c9241){_0x36da4d['push'](_0x36da4d['shift']());}}}(a97_0x11d4,0x6d0c0));const path=require(a97_0x2f317f(0x199)),util=require(a97_0x2f317f(0x135)),bsSetupHelper=require(a97_0x2f317f(0x112)),logger=require('../logger')[a97_0x2f317f(0x1aa)],{API_URL,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require(a97_0x2f317f(0x10f)),PerformanceTester=require('../performance/performance-tester'),scripts=require(a97_0x2f317f(0x16d)),globals=require(a97_0x2f317f(0x142)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a97_0x2f317f(0x162));exports[a97_0x2f317f(0x17b)]=async _0x14b9cf=>{const _0x435e95=a97_0x2f317f,_0x1d4f33={};_0x1d4f33[_0x435e95(0x1a7)]=function(_0x5cebbc,_0x214fc1){return _0x5cebbc===_0x214fc1;},_0x1d4f33[_0x435e95(0x19b)]=_0x435e95(0x166);const _0x261c19=_0x1d4f33;let _0x304936={};try{const _0x193a88=await _0x14b9cf['getCapabilities']();_0x304936={'os_name':_0x193a88[_0x435e95(0x14b)](),'os_version':bsSetupHelper[_0x435e95(0x117)](_0x261c19[_0x435e95(0x1a7)](global['__cloud_provider___'],_0x261c19[_0x435e95(0x19b)])),'browser_name':_0x193a88[_0x435e95(0x159)](),'browser_version':_0x193a88[_0x435e95(0x178)]()};}catch(_0x1aac3d){logger[_0x435e95(0x172)](_0x435e95(0x15c)+_0x1aac3d);}return _0x304936;},exports[a97_0x2f317f(0x1af)]=()=>{const _0x56bd80=a97_0x2f317f,_0x1d62bd={};_0x1d62bd[_0x56bd80(0x14e)]=function(_0x2a9add,_0x5e5ecf){return _0x2a9add===_0x5e5ecf;},_0x1d62bd[_0x56bd80(0x158)]=_0x56bd80(0x149),_0x1d62bd[_0x56bd80(0x137)]=function(_0x3aa895,_0x126452){return _0x3aa895>_0x126452;},_0x1d62bd['LzxlY']=function(_0x407672,_0x434110){return _0x407672!==_0x434110;},_0x1d62bd[_0x56bd80(0x107)]=_0x56bd80(0x164),_0x1d62bd[_0x56bd80(0x12c)]=function(_0x1463dd,_0x535115){return _0x1463dd&&_0x535115;};const _0x3c7e7e=_0x1d62bd;try{const _0x3556db=bsSetupHelper[_0x56bd80(0xf2)](process[_0x56bd80(0x10b)][_0x56bd80(0x15b)])||bsSetupHelper[_0x56bd80(0xf2)](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']),_0x29f750=_0x3c7e7e[_0x56bd80(0x14e)](typeof process[_0x56bd80(0x10b)][_0x56bd80(0x193)],_0x3c7e7e[_0x56bd80(0x158)])&&_0x3c7e7e[_0x56bd80(0x137)](process[_0x56bd80(0x10b)][_0x56bd80(0x193)][_0x56bd80(0x13d)],0x0)&&_0x3c7e7e[_0x56bd80(0x105)](process[_0x56bd80(0x10b)][_0x56bd80(0x193)],_0x3c7e7e[_0x56bd80(0x107)]);return _0x3c7e7e[_0x56bd80(0x12c)](_0x3556db,_0x29f750);}catch(_0x1c1fc4){logger[_0x56bd80(0x172)](_0x56bd80(0x157)+_0x1c1fc4);}return![];},exports[a97_0x2f317f(0x173)]=(_0x3abb43,_0x7e644d)=>{const _0x20b6ef=a97_0x2f317f,_0x242d7c={'dqnKQ':'browserName','VJPpN':function(_0x561616,_0x41afe2){return _0x561616(_0x41afe2);},'GRpgx':_0x20b6ef(0x156),'oQLHo':_0x20b6ef(0x130),'VyAiv':_0x20b6ef(0x1ad),'LVPYl':'deviceName','bXzPj':_0x20b6ef(0x111),'DLCOH':_0x20b6ef(0x120),'NFRnz':_0x20b6ef(0x19c),'CfcUH':_0x20b6ef(0x198),'YcrPe':_0x20b6ef(0xfb),'jkcHV':'args','gABEp':'chromeOptions','zTubQ':_0x20b6ef(0xf6),'sVWEA':_0x20b6ef(0x182),'fnwup':_0x20b6ef(0x146),'OTJRt':function(_0x469e5b,_0x59651a){return _0x469e5b===_0x59651a;},'Nmjbq':'chrome','gRIhc':function(_0x1bce80,_0x478173){return _0x1bce80>=_0x478173;}},_0x4b0b79=_0x3abb43['get'](_0x242d7c[_0x20b6ef(0x10d)]),_0x1bffab=_0x242d7c[_0x20b6ef(0x19a)](parseFloat,_0x3abb43[_0x20b6ef(0x186)](_0x242d7c[_0x20b6ef(0x101)]))||_0x242d7c[_0x20b6ef(0x19a)](parseFloat,_0x3abb43[_0x20b6ef(0x186)](_0x242d7c[_0x20b6ef(0xf1)])),_0x5b8f3e=_0x3abb43['get'](_0x242d7c[_0x20b6ef(0xf9)])||{},_0x58366f=_0x242d7c[_0x20b6ef(0x19a)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY),_0x2b608c=_0x5b8f3e[_0x242d7c[_0x20b6ef(0x15d)]]||_0x3abb43[_0x20b6ef(0x186)](_0x242d7c['bXzPj'])||![];if(_0x2b608c)return logger[_0x20b6ef(0x128)](_0x242d7c[_0x20b6ef(0x190)]),![];let _0x1c9f1a;try{_0x1c9f1a=bsSetupHelper[_0x20b6ef(0x103)](_0x242d7c[_0x20b6ef(0x145)],_0x242d7c[_0x20b6ef(0x119)]);}catch(_0x1e25f4){return![];}const _0x1f0cad=new _0x1c9f1a['Options'](_0x7e644d[_0x20b6ef(0xe6)]),_0x3c04fa=bsSetupHelper['nestedKeyValue'](_0x1f0cad,[_0x242d7c[_0x20b6ef(0x12d)],_0x242d7c[_0x20b6ef(0x179)]])||bsSetupHelper['nestedKeyValue'](_0x7e644d[_0x20b6ef(0xfe)],[_0x242d7c[_0x20b6ef(0xf9)],_0x242d7c[_0x20b6ef(0x10a)],_0x242d7c[_0x20b6ef(0x179)]])||bsSetupHelper[_0x20b6ef(0x168)](_0x7e644d[_0x20b6ef(0xfe)],[_0x242d7c[_0x20b6ef(0x10a)],_0x242d7c['jkcHV']])||[];if(_0x3c04fa[_0x20b6ef(0x108)](_0x242d7c[_0x20b6ef(0x17d)]))return logger[_0x20b6ef(0x128)](_0x242d7c[_0x20b6ef(0x11f)]),![];const _0x28cf22=_0x7e644d['capabilities_']||{},_0x5b6d02=bsSetupHelper[_0x20b6ef(0x168)](_0x28cf22,[_0x242d7c[_0x20b6ef(0x104)]])||{},_0x58f567=bsSetupHelper[_0x20b6ef(0x168)](_0x5b6d02,[_0x242d7c[_0x20b6ef(0x179)]])||[];if(_0x58f567[_0x20b6ef(0x108)](_0x242d7c[_0x20b6ef(0x17d)]))return logger['warn'](_0x242d7c[_0x20b6ef(0x11f)]),![];if(_0x242d7c[_0x20b6ef(0x140)](_0x4b0b79[_0x20b6ef(0x19d)](),_0x242d7c['Nmjbq'])&&_0x242d7c[_0x20b6ef(0x14f)](_0x1bffab,_0x58366f))return!![];return logger[_0x20b6ef(0x128)](_0x20b6ef(0x163)+MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY+'.'),![];},exports['setNonBstackInfraCapabilities']=_0x2ea9c0=>{const _0x463a8c=a97_0x2f317f,_0x45fb7f={};_0x45fb7f[_0x463a8c(0x194)]='goog:chromeOptions',_0x45fb7f[_0x463a8c(0xf7)]=function(_0xa0e3e5,_0x2b2540){return _0xa0e3e5||_0x2b2540;},_0x45fb7f[_0x463a8c(0x191)]=_0x463a8c(0xdd);const _0x46d3d8=_0x45fb7f,_0x578344=scripts['ChromeExtension'];try{const _0x2f9416=bsSetupHelper['isTrue'](process[_0x463a8c(0x10b)][_0x463a8c(0x15b)])||bsSetupHelper['isTrue'](process[_0x463a8c(0x10b)][_0x463a8c(0x1ae)]);if((!bsSetupHelper['isBrowserstackInfra']()||process['env']['BROWSERSTACK_TURBOSCALE'])&&_0x2f9416){const _0x3e6dd1=_0x2ea9c0['getCapabilities'](),_0x1ec301=_0x3e6dd1[_0x463a8c(0x186)](_0x46d3d8[_0x463a8c(0x194)]),_0x48f8ce=_0x46d3d8[_0x463a8c(0xf7)](_0x1ec301,{});bsSetupHelper['mergeDeep'](_0x48f8ce,_0x578344),_0x2ea9c0[_0x463a8c(0x144)]()[_0x463a8c(0xe0)](_0x46d3d8[_0x463a8c(0x194)],_0x48f8ce);}else logger[_0x463a8c(0x128)](_0x46d3d8[_0x463a8c(0x191)]);}catch(_0x2fab88){logger[_0x463a8c(0x187)](_0x463a8c(0xe8)+_0x2fab88);}},exports[a97_0x2f317f(0x196)]=(_0x4fa86a=null,_0x401224=!![],_0x15c6c8=[])=>{const _0x556949=a97_0x2f317f,_0x3f9433={};_0x3f9433[_0x556949(0x185)]=function(_0x249df8,_0x50d131){return _0x249df8==_0x50d131;},_0x3f9433[_0x556949(0x192)]=function(_0x5d1bee,_0x22f63d){return _0x5d1bee>_0x22f63d;},_0x3f9433[_0x556949(0x12f)]=function(_0x28d4bc,_0x4d91bb){return _0x28d4bc===_0x4d91bb;},_0x3f9433[_0x556949(0xfa)]=function(_0x2d7174,_0xc9a9a5){return _0x2d7174&&_0xc9a9a5;};const _0x477c21=_0x3f9433;if(_0x477c21['uIoau'](process[_0x556949(0x10b)][_0x556949(0x1a2)],null))return!![];try{const _0x2017c3=JSON[_0x556949(0x1a1)](process[_0x556949(0x10b)][_0x556949(0x1a2)]),_0x423696=Array[_0x556949(0xeb)](_0x2017c3[_0x556949(0x17c)])?_0x2017c3['includeTagsInTestingScope']:[],_0x5c10eb=Array[_0x556949(0xeb)](_0x2017c3[_0x556949(0x152)])?_0x2017c3[_0x556949(0x152)]:[];if(bsSetupHelper['isUndefined'](_0x4fa86a)){if(_0x477c21['FfOHK'](_0x15c6c8[_0x556949(0x13d)],0x0)){const _0x3c7154=_0x5c10eb[_0x556949(0x13a)](_0x4e6e09=>_0x15c6c8['includes'](_0x4e6e09)),_0x1674be=_0x477c21['nYxtJ'](_0x423696[_0x556949(0x13d)],0x0)||_0x423696[_0x556949(0x13a)](_0x2bc927=>_0x15c6c8['includes'](_0x2bc927));return _0x477c21[_0x556949(0xfa)](!_0x3c7154,_0x1674be);}return!![];}let _0x311fa7;_0x401224?_0x311fa7=_0x4fa86a[_0x556949(0x14a)]('/'):_0x311fa7=_0x4fa86a;const _0x20e4dc=_0x5c10eb['some'](_0x403980=>_0x311fa7[_0x556949(0x108)](_0x403980)),_0x2ac0ab=_0x477c21[_0x556949(0x12f)](_0x423696[_0x556949(0x13d)],0x0)||_0x423696['some'](_0x11d784=>_0x311fa7[_0x556949(0x108)](_0x11d784));return _0x477c21[_0x556949(0xfa)](!_0x20e4dc,_0x2ac0ab);}catch(_0x2e62f6){logger[_0x556949(0x172)]('Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20'+util[_0x556949(0x169)](_0x2e62f6));}return![];},exports[a97_0x2f317f(0x116)]=_0x5aa122=>{const _0x1e624d=a97_0x2f317f;let _0x187fde=![];try{_0x5aa122['platforms']['forEach'](_0x303329=>{const _0x2e4062=a97_0x3c27;if(bsSetupHelper[_0x2e4062(0xf2)](_0x303329['accessibility']))return _0x187fde=!![],!![];});}catch(_0x1baa5b){logger[_0x1e624d(0x172)](_0x1e624d(0x125)+_0x1baa5b);}return _0x187fde||bsSetupHelper[_0x1e624d(0xf2)](_0x5aa122[_0x1e624d(0x18d)]);},exports[a97_0x2f317f(0x122)]=PerformanceTester[a97_0x2f317f(0x17e)](a97_0x2f317f(0x132),async function(_0xac83b8,_0x4db1f4){const _0x120289=a97_0x2f317f,_0x53bfa7={};_0x53bfa7[_0x120289(0x18e)]='Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token',_0x53bfa7[_0x120289(0x136)]='playwright',_0x53bfa7[_0x120289(0xe7)]='javascript',_0x53bfa7['DpdTG']=_0x120289(0x13b),_0x53bfa7[_0x120289(0xdc)]=_0x120289(0x139),_0x53bfa7[_0x120289(0x150)]=_0x120289(0x184),_0x53bfa7[_0x120289(0x183)]=function(_0x40039f,_0x587d80){return _0x40039f===_0x587d80;},_0x53bfa7[_0x120289(0x18a)]='Invalid\x20configuration\x20passed.',_0x53bfa7[_0x120289(0x1ac)]=_0x120289(0x151);const _0x451616=_0x53bfa7,_0x8bec01=bsSetupHelper[_0x120289(0x16f)](_0xac83b8),_0x1b0d7b=bsSetupHelper[_0x120289(0x12e)](_0xac83b8);if(bsSetupHelper[_0x120289(0x124)](_0x8bec01)||bsSetupHelper[_0x120289(0x124)](_0x1b0d7b))return logger[_0x120289(0x187)](_0x451616['qQUcm']),[null,null];try{let _0x53dc5e;bsSetupHelper[_0x120289(0x124)](process[_0x120289(0x10b)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])?_0x53dc5e={}:_0x53dc5e=JSON[_0x120289(0x1a1)](process[_0x120289(0x10b)][_0x120289(0x1a2)]);const {name:_0x20616e,version:_0x54bd31}=bsSetupHelper[_0x120289(0x18c)](_0xac83b8,_0x4db1f4),_0x3d8499={'projectName':_0xac83b8[_0x120289(0x11e)],'buildName':_0xac83b8[_0x120289(0x188)]||path[_0x120289(0x17f)](path[_0x120289(0x147)](process[_0x120289(0xf0)]())),'startTime':new Date()[_0x120289(0xe9)](),'description':_0xac83b8['buildDescription']||'','source':{'frameworkName':_0x4db1f4[_0x120289(0x108)](_0x451616[_0x120289(0x136)])?_0x451616[_0x120289(0x136)]:_0x4db1f4,'frameworkVersion':bsSetupHelper['getPackageVersion'](_0x4db1f4),'sdkVersion':bsSetupHelper[_0x120289(0x167)](),'language':_0x451616[_0x120289(0xe7)],'testFramework':_0x20616e,'testFrameworkVersion':_0x54bd31},'settings':_0x53dc5e,'versionControl':await bsSetupHelper[_0x120289(0x18f)](),'ciInfo':bsSetupHelper[_0x120289(0x109)](),'hostInfo':bsSetupHelper[_0x120289(0x10e)](),'browserstackAutomation':bsSetupHelper['isBrowserstackInfra']()},_0x893cbc={};_0x893cbc['user']=_0x8bec01,_0x893cbc[_0x120289(0x165)]=_0x1b0d7b;const _0x426c6c={};_0x426c6c[_0x120289(0x16e)]=_0x451616[_0x120289(0xf4)];const _0x6aaeb6={};_0x6aaeb6['auth']=_0x893cbc,_0x6aaeb6[_0x120289(0x176)]=_0x426c6c;const _0x36fb97=_0x6aaeb6,_0x3603e4={};_0x3603e4[_0x120289(0x18b)]=_0x3d8499,_0x3603e4['json']=!![];const _0x3ddc38=Object['assign'](_0x36fb97,_0x3603e4),_0x4a524d=await bsSetupHelper[_0x120289(0xed)](_0x451616[_0x120289(0xdc)],_0x451616[_0x120289(0x150)],_0x3ddc38,_0xac83b8,API_URL);let _0x5e0c99=process['env'][_0x120289(0x1a2)];return _0x5e0c99?_0x5e0c99=JSON[_0x120289(0x1a1)](process[_0x120289(0x10b)][_0x120289(0x1a2)]):_0x5e0c99={},scripts[_0x120289(0x11c)](_0x4a524d[_0x120289(0x174)][_0x120289(0x174)]),scripts['toJson'](),_0x5e0c99[_0x120289(0x153)]=_0x4a524d[_0x120289(0x174)]['data']['scannerVersion'],process['env'][_0x120289(0x1a2)]=JSON[_0x120289(0x15f)](_0x5e0c99),[_0x4a524d[_0x120289(0x174)]['data']['accessibilityToken'],_0x4a524d[_0x120289(0x174)][_0x120289(0x174)]['id']];}catch(_0x4d0a3){if(_0x4d0a3['response'])logger['error'](_0x120289(0x110)+_0x4d0a3['response'][_0x120289(0x15e)]+'\x20'+_0x4d0a3['response']['statusText']+'\x20'+JSON[_0x120289(0x15f)](_0x4d0a3['response'][_0x120289(0x174)]));else{if(_0x451616['LfsVo'](_0x4d0a3[_0x120289(0x131)],_0x451616[_0x120289(0x18a)])){logger[_0x120289(0x187)]('Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20'+(_0x4d0a3['message']||_0x4d0a3[_0x120289(0x160)]));for(const _0x4ba21b of _0x4d0a3[_0x120289(0x161)]){logger['error'](_0x4ba21b[_0x120289(0x131)]);}process[_0x120289(0x10b)][_0x120289(0x15b)]=_0x451616[_0x120289(0x1ac)],process[_0x120289(0x10b)][_0x120289(0x1ae)]=_0x451616[_0x120289(0x1ac)];}else logger[_0x120289(0x187)]('Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20'+(_0x4d0a3[_0x120289(0x131)]||_0x4d0a3['stack']));}return[null,null];}}),exports[a97_0x2f317f(0x13c)]=PerformanceTester[a97_0x2f317f(0x17e)](a97_0x2f317f(0xe3),async function(_0x4f8f28){const _0x17d9e0=a97_0x2f317f,_0xc7edd9={};_0xc7edd9[_0x17d9e0(0xea)]=function(_0x5506bb,_0x1208be){return _0x5506bb!==_0x1208be;},_0xc7edd9[_0x17d9e0(0x19f)]=_0x17d9e0(0x149),_0xc7edd9[_0x17d9e0(0x126)]=_0x17d9e0(0x187),_0xc7edd9[_0x17d9e0(0xef)]=_0x17d9e0(0xe5),_0xc7edd9['UKrXW']=_0x17d9e0(0x13b),_0xc7edd9[_0x17d9e0(0x100)]=_0x17d9e0(0xff),_0xc7edd9['urjjf']=_0x17d9e0(0xf8),_0xc7edd9['cEkbm']=function(_0x36d85c,_0x474a46){return _0x36d85c+_0x474a46;},_0xc7edd9[_0x17d9e0(0x115)]=_0x17d9e0(0x195),_0xc7edd9['ojSFK']=_0x17d9e0(0x11d);const _0x22fed2=_0xc7edd9;if(bsSetupHelper[_0x17d9e0(0x124)](process['env']['BS_A11Y_JWT'])||_0x22fed2[_0x17d9e0(0xea)](typeof process[_0x17d9e0(0x10b)][_0x17d9e0(0x193)],_0x22fed2[_0x17d9e0(0x19f)])){const _0x5e6947={};return _0x5e6947['status']=_0x22fed2[_0x17d9e0(0x126)],_0x5e6947['message']=_0x22fed2[_0x17d9e0(0xef)],_0x5e6947;}const _0x12264e={'endTime':new Date()[_0x17d9e0(0xe9)]()},_0x9c5014={};_0x9c5014[_0x17d9e0(0x11b)]=_0x17d9e0(0x138)+process[_0x17d9e0(0x10b)][_0x17d9e0(0x193)],_0x9c5014[_0x17d9e0(0x16e)]=_0x22fed2[_0x17d9e0(0xde)];const _0x39d75a={};_0x39d75a['headers']=_0x9c5014;const _0x50e9d1=_0x39d75a,_0x57a94d={};_0x57a94d[_0x17d9e0(0x18b)]=_0x12264e,_0x57a94d[_0x17d9e0(0x12a)]=null,_0x57a94d['json']=!![];const _0x401798=Object[_0x17d9e0(0x181)](_0x50e9d1,_0x57a94d);try{const _0x469dd4=await bsSetupHelper[_0x17d9e0(0xed)](_0x22fed2[_0x17d9e0(0x100)],_0x22fed2['urjjf'],_0x401798,_0x4f8f28,API_URL);if(_0x469dd4[_0x17d9e0(0x174)][_0x17d9e0(0x187)])throw new Error(_0x22fed2[_0x17d9e0(0x17a)](_0x22fed2[_0x17d9e0(0x115)],_0x469dd4[_0x17d9e0(0x174)][_0x17d9e0(0x187)]));else{logger['info'](_0x17d9e0(0x1a4)+new Date()[_0x17d9e0(0xe9)]());const _0x1038d0={};return _0x1038d0[_0x17d9e0(0x15e)]=_0x22fed2[_0x17d9e0(0x1a8)],_0x1038d0[_0x17d9e0(0x131)]='',_0x1038d0;}}catch(_0x3528b5){_0x3528b5[_0x17d9e0(0x1a6)]?logger[_0x17d9e0(0x187)](_0x17d9e0(0x133)+_0x3528b5['response']['status']+'\x20'+_0x3528b5['response'][_0x17d9e0(0x114)]+'\x20'+JSON[_0x17d9e0(0x15f)](_0x3528b5[_0x17d9e0(0x1a6)][_0x17d9e0(0x174)])):logger[_0x17d9e0(0x187)](_0x17d9e0(0x133)+(_0x3528b5['message']||util[_0x17d9e0(0x169)](_0x3528b5)));const _0x112756={};return _0x112756[_0x17d9e0(0x15e)]=_0x22fed2[_0x17d9e0(0x126)],_0x112756[_0x17d9e0(0x131)]=_0x3528b5[_0x17d9e0(0x131)]||(_0x3528b5[_0x17d9e0(0x1a6)]?_0x3528b5[_0x17d9e0(0x1a6)]['status']+':'+_0x3528b5[_0x17d9e0(0x1a6)][_0x17d9e0(0x114)]:_0x3528b5),_0x112756;}}),exports['performScan']=async(_0x554ba5,_0x5345a7=null)=>{const _0x319b00=a97_0x2f317f,_0x370dfa={};_0x370dfa['Mreas']='isAccessibilityPlatform',_0x370dfa[_0x319b00(0x155)]=_0x319b00(0x16c),_0x370dfa[_0x319b00(0x127)]=_0x319b00(0x141);const _0x2ac6b3=_0x370dfa;if(!this[_0x319b00(0x1af)]()||!globals[_0x319b00(0xe2)](_0x2ac6b3[_0x319b00(0x102)])||!globals[_0x319b00(0xe2)](_0x2ac6b3[_0x319b00(0x155)])){logger['warn'](_0x2ac6b3[_0x319b00(0x127)]);return;}return await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x319b00(0x175)],async()=>{const _0x925a0f=_0x319b00,_0x5031a7={};_0x5031a7['method']=_0x5345a7||global['browserstackSessionName'];const _0x441803=util[_0x925a0f(0x169)](await _0x554ba5[_0x925a0f(0x106)](scripts[_0x925a0f(0x189)],_0x5031a7));return logger[_0x925a0f(0x172)]('Performed\x20scan\x20with\x20result:\x20'+_0x441803),_0x441803;},{'command':_0x5345a7})();},exports[a97_0x2f317f(0x118)]=async(_0x410e4e,_0x37a753)=>{const _0x2c1f07=a97_0x2f317f,_0x3b7514={};_0x3b7514[_0x2c1f07(0xe1)]=_0x2c1f07(0x16a),_0x3b7514[_0x2c1f07(0x197)]='isAccessibilityPlatform',_0x3b7514[_0x2c1f07(0xfd)]=_0x2c1f07(0x16c),_0x3b7514[_0x2c1f07(0x177)]=_0x2c1f07(0x16b),_0x3b7514[_0x2c1f07(0xf3)]=_0x2c1f07(0x118),_0x3b7514[_0x2c1f07(0x13e)]=_0x2c1f07(0x1ab);const _0x131bf3=_0x3b7514;if(!this[_0x2c1f07(0x1af)]()||!globals[_0x2c1f07(0xe2)](_0x131bf3[_0x2c1f07(0x197)])||!globals[_0x2c1f07(0xe2)](_0x131bf3[_0x2c1f07(0xfd)]))return logger['warn'](_0x131bf3['cUPAN']),[];try{return await PerformanceTester[_0x2c1f07(0x17e)](PerformanceA11yEvents[_0x2c1f07(0x175)],async()=>{const _0x32a08c=_0x2c1f07;logger[_0x32a08c(0x172)](_0x131bf3[_0x32a08c(0xe1)]);const _0x419c7e={};_0x419c7e[_0x32a08c(0x10c)]=_0x37a753['browserstackSessionName'],logger[_0x32a08c(0x172)](util[_0x32a08c(0x169)](await _0x410e4e[_0x32a08c(0x106)](scripts['performScan'],_0x419c7e)));},{'command':_0x131bf3[_0x2c1f07(0xf3)]})(),await PerformanceTester[_0x2c1f07(0x17e)](PerformanceA11yEvents['GET_RESULTS'],async()=>{const _0x4b3691=_0x2c1f07,_0x68d648=await _0x410e4e[_0x4b3691(0x106)](scripts[_0x4b3691(0x121)]);return _0x68d648;})();}catch{return logger['error'](_0x131bf3[_0x2c1f07(0x13e)]),[];}},exports[a97_0x2f317f(0x180)]=async(_0x1c4cfd,_0x3290d4)=>{const _0x356bda=a97_0x2f317f,_0xda348f={};_0xda348f[_0x356bda(0x148)]=_0x356bda(0xdf),_0xda348f[_0x356bda(0x14c)]=_0x356bda(0xec),_0xda348f[_0x356bda(0xe4)]=_0x356bda(0x16c),_0xda348f[_0x356bda(0x143)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.',_0xda348f[_0x356bda(0x13f)]='getAccessibilityResultsSummary',_0xda348f[_0x356bda(0x15a)]=_0x356bda(0x129);const _0xf9c47c=_0xda348f;if(!this[_0x356bda(0x1af)]()||!globals['getGlobal'](_0xf9c47c['gvLBT'])||!globals['getGlobal'](_0xf9c47c[_0x356bda(0xe4)]))return logger[_0x356bda(0x128)](_0xf9c47c[_0x356bda(0x143)]),{};try{return await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x356bda(0x175)],async()=>{const _0x2c9f80=_0x356bda;logger['debug'](_0xf9c47c[_0x2c9f80(0x148)]);const _0x194402={};_0x194402[_0x2c9f80(0x10c)]=_0x3290d4['browserstackSessionName'],logger[_0x2c9f80(0x172)](util[_0x2c9f80(0x169)](await _0x1c4cfd[_0x2c9f80(0x106)](scripts['performScan'],_0x194402)));},{'command':_0xf9c47c[_0x356bda(0x13f)]})(),await PerformanceTester[_0x356bda(0x17e)](PerformanceA11yEvents[_0x356bda(0x14d)],async()=>{const _0x4bea4=_0x356bda,_0x3d0b52=await _0x1c4cfd[_0x4bea4(0x106)](scripts['getResultsSummary']);return _0x3d0b52;})();}catch{return logger['error'](_0xf9c47c[_0x356bda(0x15a)]),{};}},exports[a97_0x2f317f(0x11a)]=_0x153078=>{const _0x350a7d=a97_0x2f317f,_0x5c98aa={};_0x5c98aa[_0x350a7d(0x19e)]=function(_0x49126a,_0x591b9a){return _0x49126a===_0x591b9a;},_0x5c98aa[_0x350a7d(0x1a3)]=_0x350a7d(0x149),_0x5c98aa[_0x350a7d(0x134)]='browserstack_executor';const _0x59c2fe=_0x5c98aa;if(_0x153078&&_0x153078['script']&&_0x59c2fe[_0x350a7d(0x19e)](typeof _0x153078['script'],_0x59c2fe[_0x350a7d(0x1a3)]))return _0x153078[_0x350a7d(0x171)]['includes'](_0x59c2fe[_0x350a7d(0x134)]);return![];};
|
|
1
|
+
const a97_0x25201e=a97_0x3ea4;function a97_0x38ff(){const _0x260d0a=['performScan','success','v2/test_runs','deviceName','ZakYt','getPlatform','info','headers','getAccessibilityResultsSummary','scannerVersion','pass','statusText','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20','browserstack_executor','Content-Type','includeTagsInTestingScope','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','errors','MBgEq','Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20','goog:chromeOptions','wMsrM','qAYAO','GPPEd','URSMP','Invalid\x20request:\x20','basename','PNzuP','../performance/performance-tester','xCORa','response','getHostInfo','getUserName','TBBDp','user','ctvfc','accessibilityToken','getCiInfo','RuJEc','status','UKlXX','YxfxO','Qyyfz','excludeTagsInTestingScope','bfZIy','toISOString','No\x20accessibility\x20summary\x20was\x20found.','./scripts','warn','GET_RESULTS_SUMMARY','bstack:options','gRlXS','chrome','fetchPlatformDetails','stringify','selenium-webdriver/chrome.js','isUndefined','isTrue','error','parse','format','executeAsyncScript','projectName','307727fdzWMJ','method','--headless','version','xDIya','data','TeztV','join','EHuQb','buildDescription','length','zPdaC','BJtYQ','setNonBstackInfraCapabilities','env','550IvLxuQ','isAccessibilityAutomationSession','PwuBx','Performing\x20scan\x20before\x20getting\x20results','rMhBg','a11y:stop','nonBstackPlatformValidation','chromeOptions_','BROWSERSTACK_TEST_ACCESSIBILITY_YML','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','sNvvs','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20','isArray','ArKvl','browserstackSessionName','nodeRequest','__cloud_provider___','includes','mergeDeep','debug','dMeUb','set','Performed\x20scan\x20with\x20result:\x20','773650PVCZto','stack','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','PUT','some','Bearer\x20','flIgQ','getPackageVersion','measureWrapper','12qVqdJX','JSvRx','POST','body','beZnC','javascript','getBrowserName','Skxsj','nestedKeyValue','qvDVp','aprZJ','../logger','playwright','resolve','610wvSYme','script','wnBIF','PkipF','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.','OveRZ','getCapabilities','getResults','assign','6lgayGm','MnuXj','string','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','thBKN','./constants','cwd','kpxir','accessibility','Not\x20a\x20Accessibility\x20Session','createAccessibilityTestRun','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','53446DElKxp','rRZzZ','false','getTestFrameworkDetails','getAccessibilityResults','fGetA','json','YltJK','gnOVA','isBrowserstackInfra','GET_RESULTS','isAccessibilityPlatform','forEach','HyTtv','CUFBa','platforms','88NzxQtF','vluKP','SXFQe','isBrowserStackCommandExecutor','test_runs/stop','device','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token','toLowerCase','LxAJn','capabilities_','IHQEg','../performance/constants','Options','bstackA11yShouldScan','toJson','nqFqy','hMsmH','a11y:start','message','iejFR','18ftjNKX','auth','ioANt','LBosn','getGlobal','BS_A11Y_JWT','winstonLogger','JlHQK','zgchh','7818936fPCrJP','application/json','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','selenium-webdriver','Tiyxm','qrebM','getBrowserVersion','vJslU','Build\x20creation\x20had\x20failed.','get','akwdd','okwOE','getGitMetaData','BAyiq','browserName','Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20','BhuUl','mvIkI','qGwOw','30297tUhPWk','231992lzINMG','Wbvqz','PERFORM_SCAN','kIheZ','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'];a97_0x38ff=function(){return _0x260d0a;};return a97_0x38ff();}(function(_0x58beb6,_0x39387b){const _0x41ea8b=a97_0x3ea4,_0x5ac386=_0x58beb6();while(!![]){try{const _0x1e381f=-parseInt(_0x41ea8b(0x1ea))/0x1*(parseInt(_0x41ea8b(0x20d))/0x2)+parseInt(_0x41ea8b(0x24d))/0x3*(-parseInt(_0x41ea8b(0x21d))/0x4)+parseInt(_0x41ea8b(0x1e1))/0x5+-parseInt(_0x41ea8b(0x201))/0x6*(-parseInt(_0x41ea8b(0x292))/0x7)+-parseInt(_0x41ea8b(0x24e))/0x8*(parseInt(_0x41ea8b(0x231))/0x9)+-parseInt(_0x41ea8b(0x1f8))/0xa*(-parseInt(_0x41ea8b(0x1ca))/0xb)+parseInt(_0x41ea8b(0x23a))/0xc;if(_0x1e381f===_0x39387b)break;else _0x5ac386['push'](_0x5ac386['shift']());}catch(_0x2f637a){_0x5ac386['push'](_0x5ac386['shift']());}}}(a97_0x38ff,0x3da33));const path=require('path'),util=require('util'),bsSetupHelper=require('../helper'),logger=require(a97_0x25201e(0x1f5))[a97_0x25201e(0x237)],{API_URL,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require(a97_0x25201e(0x206)),PerformanceTester=require(a97_0x25201e(0x26f)),scripts=require(a97_0x25201e(0x282)),globals=require('../globals'),{A11Y_EVENTS:PerformanceA11yEvents}=require(a97_0x25201e(0x228));function a97_0x3ea4(_0x173ac6,_0x58e72e){const _0x38ff98=a97_0x38ff();return a97_0x3ea4=function(_0x3ea43c,_0x325b5c){_0x3ea43c=_0x3ea43c-0x1c0;let _0x3df4e4=_0x38ff98[_0x3ea43c];return _0x3df4e4;},a97_0x3ea4(_0x173ac6,_0x58e72e);}exports[a97_0x25201e(0x288)]=async _0x1add64=>{const _0x374dcf=a97_0x25201e,_0x3f41dd={};_0x3f41dd[_0x374dcf(0x244)]=function(_0xd3c4b2,_0x40e033){return _0xd3c4b2===_0x40e033;},_0x3f41dd[_0x374dcf(0x265)]='browserstack';const _0x5cf156=_0x3f41dd;let _0x3a395b={};try{const _0x3bbd38=await _0x1add64['getCapabilities']();_0x3a395b={'os_name':_0x3bbd38[_0x374dcf(0x258)](),'os_version':bsSetupHelper['getPlatformVersion'](_0x5cf156[_0x374dcf(0x244)](global[_0x374dcf(0x1da)],_0x5cf156[_0x374dcf(0x265)])),'browser_name':_0x3bbd38[_0x374dcf(0x1f0)](),'browser_version':_0x3bbd38[_0x374dcf(0x240)]()};}catch(_0x244145){logger['debug']('Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20'+_0x244145);}return _0x3a395b;},exports[a97_0x25201e(0x1cb)]=()=>{const _0x19ebdc=a97_0x25201e,_0x3dad4b={};_0x3dad4b[_0x19ebdc(0x241)]=function(_0xe48360,_0x459cd4){return _0xe48360===_0x459cd4;},_0x3dad4b[_0x19ebdc(0x1d4)]='string',_0x3dad4b[_0x19ebdc(0x245)]=function(_0x2094a5,_0x370095){return _0x2094a5>_0x370095;},_0x3dad4b[_0x19ebdc(0x27f)]=function(_0x1b937f,_0x469663){return _0x1b937f!==_0x469663;},_0x3dad4b[_0x19ebdc(0x230)]='null',_0x3dad4b[_0x19ebdc(0x257)]=function(_0x274c31,_0x17034c){return _0x274c31&&_0x17034c;};const _0x2927b7=_0x3dad4b;try{const _0xbb3da4=bsSetupHelper[_0x19ebdc(0x28c)](process[_0x19ebdc(0x1c9)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'])||bsSetupHelper[_0x19ebdc(0x28c)](process[_0x19ebdc(0x1c9)][_0x19ebdc(0x1e3)]),_0x40b8d3=_0x2927b7[_0x19ebdc(0x241)](typeof process[_0x19ebdc(0x1c9)][_0x19ebdc(0x236)],_0x2927b7[_0x19ebdc(0x1d4)])&&_0x2927b7['okwOE'](process[_0x19ebdc(0x1c9)][_0x19ebdc(0x236)]['length'],0x0)&&_0x2927b7[_0x19ebdc(0x27f)](process[_0x19ebdc(0x1c9)][_0x19ebdc(0x236)],_0x2927b7[_0x19ebdc(0x230)]);return _0x2927b7[_0x19ebdc(0x257)](_0xbb3da4,_0x40b8d3);}catch(_0x4719ab){logger[_0x19ebdc(0x1dd)]('Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20'+_0x4719ab);}return![];},exports[a97_0x25201e(0x1d0)]=(_0x21325a,_0x404341)=>{const _0x973b4b=a97_0x25201e,_0x5c7034={'zPdaC':_0x973b4b(0x248),'YltJK':function(_0xbe1555,_0x5f55be){return _0xbe1555(_0x5f55be);},'Qyyfz':'browserVersion','mvIkI':_0x973b4b(0x295),'hMsmH':_0x973b4b(0x285),'UKlXX':_0x973b4b(0x256),'Skxsj':_0x973b4b(0x222),'JSvRx':_0x973b4b(0x23c),'OveRZ':_0x973b4b(0x28a),'fGetA':_0x973b4b(0x23d),'TeztV':'options_','xCORa':'args','zgchh':'chromeOptions','aprZJ':_0x973b4b(0x294),'wNiBG':_0x973b4b(0x204),'GPPEd':_0x973b4b(0x267),'CUFBa':function(_0x41711d,_0x3a7fdc){return _0x41711d===_0x3a7fdc;},'PNzuP':_0x973b4b(0x287),'qGwOw':function(_0x198f60,_0x189fe4){return _0x198f60>=_0x189fe4;}},_0x101f55=_0x21325a[_0x973b4b(0x243)](_0x5c7034[_0x973b4b(0x1c6)]),_0x6fcf6d=_0x5c7034[_0x973b4b(0x214)](parseFloat,_0x21325a[_0x973b4b(0x243)](_0x5c7034[_0x973b4b(0x27d)]))||_0x5c7034[_0x973b4b(0x214)](parseFloat,_0x21325a['get'](_0x5c7034[_0x973b4b(0x24b)])),_0x23dd3c=_0x21325a[_0x973b4b(0x243)](_0x5c7034[_0x973b4b(0x22d)])||{},_0x445390=_0x5c7034[_0x973b4b(0x214)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY),_0x5c3043=_0x23dd3c[_0x5c7034[_0x973b4b(0x27b)]]||_0x21325a['get'](_0x5c7034[_0x973b4b(0x1f1)])||![];if(_0x5c3043)return logger[_0x973b4b(0x283)](_0x5c7034[_0x973b4b(0x1eb)]),![];let _0x76d032;try{_0x76d032=bsSetupHelper['requireModule'](_0x5c7034[_0x973b4b(0x1fd)],_0x5c7034[_0x973b4b(0x212)]);}catch(_0x57abe8){return![];}const _0x240a6e=new _0x76d032[(_0x973b4b(0x229))](_0x404341[_0x973b4b(0x1d1)]),_0x18f1c2=bsSetupHelper[_0x973b4b(0x1f2)](_0x240a6e,[_0x5c7034[_0x973b4b(0x1c1)],_0x5c7034['xCORa']])||bsSetupHelper[_0x973b4b(0x1f2)](_0x404341[_0x973b4b(0x226)],[_0x5c7034[_0x973b4b(0x22d)],_0x5c7034['zgchh'],_0x5c7034['xCORa']])||bsSetupHelper[_0x973b4b(0x1f2)](_0x404341[_0x973b4b(0x226)],[_0x5c7034[_0x973b4b(0x239)],_0x5c7034[_0x973b4b(0x270)]])||[];if(_0x18f1c2['includes'](_0x5c7034[_0x973b4b(0x1f4)]))return logger[_0x973b4b(0x283)](_0x5c7034['wNiBG']),![];const _0x3a577e=_0x404341[_0x973b4b(0x226)]||{},_0x2dd8c7=bsSetupHelper[_0x973b4b(0x1f2)](_0x3a577e,[_0x5c7034[_0x973b4b(0x26a)]])||{},_0x3156ad=bsSetupHelper[_0x973b4b(0x1f2)](_0x2dd8c7,[_0x5c7034[_0x973b4b(0x270)]])||[];if(_0x3156ad[_0x973b4b(0x1db)](_0x5c7034[_0x973b4b(0x1f4)]))return logger['warn'](_0x5c7034['wNiBG']),![];if(_0x5c7034[_0x973b4b(0x21b)](_0x101f55[_0x973b4b(0x224)](),_0x5c7034[_0x973b4b(0x26e)])&&_0x5c7034[_0x973b4b(0x24c)](_0x6fcf6d,_0x445390))return!![];return logger[_0x973b4b(0x283)](_0x973b4b(0x25f)+MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY+'.'),![];},exports[a97_0x25201e(0x1c8)]=_0x40d636=>{const _0x16e2f1=a97_0x25201e,_0x554fa7={};_0x554fa7['SXFQe']=_0x16e2f1(0x267),_0x554fa7['beZnC']=function(_0x36f7ff,_0x5b8c14){return _0x36f7ff||_0x5b8c14;},_0x554fa7[_0x16e2f1(0x234)]=_0x16e2f1(0x20a);const _0x33832f=_0x554fa7,_0x260a17=scripts['ChromeExtension'];try{const _0x3bf51a=bsSetupHelper[_0x16e2f1(0x28c)](process[_0x16e2f1(0x1c9)][_0x16e2f1(0x1d2)])||bsSetupHelper[_0x16e2f1(0x28c)](process[_0x16e2f1(0x1c9)][_0x16e2f1(0x1e3)]);if((!bsSetupHelper[_0x16e2f1(0x216)]()||process[_0x16e2f1(0x1c9)]['BROWSERSTACK_TURBOSCALE'])&&_0x3bf51a){const _0x489d54=_0x40d636[_0x16e2f1(0x1fe)](),_0x13ce9c=_0x489d54['get'](_0x33832f[_0x16e2f1(0x21f)]),_0x2eddcd=_0x33832f[_0x16e2f1(0x1ee)](_0x13ce9c,{});bsSetupHelper[_0x16e2f1(0x1dc)](_0x2eddcd,_0x260a17),_0x40d636[_0x16e2f1(0x1fe)]()[_0x16e2f1(0x1df)](_0x33832f[_0x16e2f1(0x21f)],_0x2eddcd);}else logger[_0x16e2f1(0x283)](_0x33832f[_0x16e2f1(0x234)]);}catch(_0x282a8b){logger[_0x16e2f1(0x28d)]('Error\x20while\x20adding\x20Non-Bstack\x20capabilities:\x20'+_0x282a8b);}},exports['shouldScanTestForAccessibility']=(_0x36483c=null,_0x58c385=!![],_0x35072d=[])=>{const _0x3f9ad9=a97_0x25201e,_0x25c2c9={};_0x25c2c9[_0x3f9ad9(0x1c7)]=function(_0x4254f1,_0x493106){return _0x4254f1==_0x493106;},_0x25c2c9[_0x3f9ad9(0x23e)]=function(_0x11408d,_0x3e6db4){return _0x11408d>_0x3e6db4;},_0x25c2c9['LxAJn']=function(_0x1253ee,_0x300d26){return _0x1253ee===_0x300d26;},_0x25c2c9[_0x3f9ad9(0x26b)]=function(_0x5796d8,_0x3b7d92){return _0x5796d8&&_0x3b7d92;},_0x25c2c9[_0x3f9ad9(0x1f3)]=function(_0x24e325,_0x116cd1){return _0x24e325&&_0x116cd1;};const _0x7b7c8d=_0x25c2c9;if(_0x7b7c8d[_0x3f9ad9(0x1c7)](process[_0x3f9ad9(0x1c9)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'],null))return!![];try{const _0x24ac7e=JSON[_0x3f9ad9(0x28e)](process[_0x3f9ad9(0x1c9)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']),_0xb5ebcc=Array[_0x3f9ad9(0x1d6)](_0x24ac7e[_0x3f9ad9(0x262)])?_0x24ac7e[_0x3f9ad9(0x262)]:[],_0x3ab303=Array[_0x3f9ad9(0x1d6)](_0x24ac7e[_0x3f9ad9(0x27e)])?_0x24ac7e[_0x3f9ad9(0x27e)]:[];if(bsSetupHelper['isUndefined'](_0x36483c)){if(_0x7b7c8d[_0x3f9ad9(0x23e)](_0x35072d['length'],0x0)){const _0x1ca71b=_0x3ab303[_0x3f9ad9(0x1e5)](_0x48c4fc=>_0x35072d[_0x3f9ad9(0x1db)](_0x48c4fc)),_0x4f6cd8=_0x7b7c8d[_0x3f9ad9(0x225)](_0xb5ebcc[_0x3f9ad9(0x1c5)],0x0)||_0xb5ebcc[_0x3f9ad9(0x1e5)](_0x53dbba=>_0x35072d[_0x3f9ad9(0x1db)](_0x53dbba));return _0x7b7c8d[_0x3f9ad9(0x26b)](!_0x1ca71b,_0x4f6cd8);}return!![];}let _0x5c0468;_0x58c385?_0x5c0468=_0x36483c[_0x3f9ad9(0x1c2)]('/'):_0x5c0468=_0x36483c;const _0x4650b2=_0x3ab303[_0x3f9ad9(0x1e5)](_0x47b471=>_0x5c0468[_0x3f9ad9(0x1db)](_0x47b471)),_0x4e95f1=_0x7b7c8d[_0x3f9ad9(0x225)](_0xb5ebcc[_0x3f9ad9(0x1c5)],0x0)||_0xb5ebcc['some'](_0x3d86fa=>_0x5c0468[_0x3f9ad9(0x1db)](_0x3d86fa));return _0x7b7c8d[_0x3f9ad9(0x1f3)](!_0x4650b2,_0x4e95f1);}catch(_0x3ac569){logger[_0x3f9ad9(0x1dd)](_0x3f9ad9(0x249)+util[_0x3f9ad9(0x28f)](_0x3ac569));}return![];},exports['checkAccessibilityPlatformConfig']=_0x31882f=>{const _0x283d0b=a97_0x25201e;let _0x3570fc=![];try{_0x31882f[_0x283d0b(0x21c)][_0x283d0b(0x219)](_0x472d7e=>{const _0x34c76b=_0x283d0b;if(bsSetupHelper[_0x34c76b(0x28c)](_0x472d7e[_0x34c76b(0x209)]))return _0x3570fc=!![],!![];});}catch(_0x42acd5){logger[_0x283d0b(0x1dd)]('Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20'+_0x42acd5);}return _0x3570fc||bsSetupHelper[_0x283d0b(0x28c)](_0x31882f[_0x283d0b(0x209)]);},exports[a97_0x25201e(0x20b)]=PerformanceTester[a97_0x25201e(0x1e9)](a97_0x25201e(0x22e),async function(_0x5a39ac,_0x903886){const _0x3a2713=a97_0x25201e,_0x2e0917={};_0x2e0917[_0x3a2713(0x27c)]=_0x3a2713(0x223),_0x2e0917['ioANt']=_0x3a2713(0x1f6),_0x2e0917[_0x3a2713(0x227)]=_0x3a2713(0x1ef),_0x2e0917[_0x3a2713(0x205)]='application/json',_0x2e0917['qAYAO']=_0x3a2713(0x1ec),_0x2e0917[_0x3a2713(0x22c)]=_0x3a2713(0x255),_0x2e0917[_0x3a2713(0x215)]=function(_0x545c48,_0x24503c){return _0x545c48===_0x24503c;},_0x2e0917[_0x3a2713(0x1fa)]='Invalid\x20configuration\x20passed.',_0x2e0917[_0x3a2713(0x23f)]=_0x3a2713(0x20f);const _0x368ad5=_0x2e0917,_0x7e00f3=bsSetupHelper[_0x3a2713(0x273)](_0x5a39ac),_0x44544a=bsSetupHelper['getAccessKey'](_0x5a39ac);if(bsSetupHelper[_0x3a2713(0x28b)](_0x7e00f3)||bsSetupHelper[_0x3a2713(0x28b)](_0x44544a))return logger[_0x3a2713(0x28d)](_0x368ad5['YxfxO']),[null,null];try{let _0x15c511;bsSetupHelper[_0x3a2713(0x28b)](process[_0x3a2713(0x1c9)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])?_0x15c511={}:_0x15c511=JSON[_0x3a2713(0x28e)](process[_0x3a2713(0x1c9)][_0x3a2713(0x252)]);const {name:_0x58eed4,version:_0x4fdbe4}=bsSetupHelper[_0x3a2713(0x210)](_0x5a39ac,_0x903886),_0x3b0051={'projectName':_0x5a39ac[_0x3a2713(0x291)],'buildName':_0x5a39ac['buildName']||path[_0x3a2713(0x26d)](path[_0x3a2713(0x1f7)](process[_0x3a2713(0x207)]())),'startTime':new Date()[_0x3a2713(0x280)](),'description':_0x5a39ac[_0x3a2713(0x1c4)]||'','source':{'frameworkName':_0x903886[_0x3a2713(0x1db)](_0x368ad5[_0x3a2713(0x233)])?_0x368ad5[_0x3a2713(0x233)]:_0x903886,'frameworkVersion':bsSetupHelper[_0x3a2713(0x1e8)](_0x903886),'sdkVersion':bsSetupHelper['getAgentVersion'](),'language':_0x368ad5['IHQEg'],'testFramework':_0x58eed4,'testFrameworkVersion':_0x4fdbe4},'settings':_0x15c511,'versionControl':await bsSetupHelper[_0x3a2713(0x246)](),'ciInfo':bsSetupHelper[_0x3a2713(0x278)](),'hostInfo':bsSetupHelper[_0x3a2713(0x272)](),'browserstackAutomation':bsSetupHelper[_0x3a2713(0x216)]()},_0x5b9774={};_0x5b9774[_0x3a2713(0x275)]=_0x7e00f3,_0x5b9774[_0x3a2713(0x25d)]=_0x44544a;const _0x1bd3c8={};_0x1bd3c8[_0x3a2713(0x261)]=_0x368ad5[_0x3a2713(0x205)];const _0x2d6edf={};_0x2d6edf[_0x3a2713(0x232)]=_0x5b9774,_0x2d6edf[_0x3a2713(0x25a)]=_0x1bd3c8;const _0x26c0bd=_0x2d6edf,_0xe1afb0={};_0xe1afb0['body']=_0x3b0051,_0xe1afb0['json']=!![];const _0x4dcaec=Object[_0x3a2713(0x200)](_0x26c0bd,_0xe1afb0),_0x365be1=await bsSetupHelper[_0x3a2713(0x1d9)](_0x368ad5[_0x3a2713(0x269)],_0x368ad5[_0x3a2713(0x22c)],_0x4dcaec,_0x5a39ac,API_URL);let _0x4c3692=process[_0x3a2713(0x1c9)][_0x3a2713(0x252)];return _0x4c3692?_0x4c3692=JSON[_0x3a2713(0x28e)](process['env'][_0x3a2713(0x252)]):_0x4c3692={},scripts['parseFromJson'](_0x365be1[_0x3a2713(0x1c0)][_0x3a2713(0x1c0)]),scripts[_0x3a2713(0x22b)](),_0x4c3692[_0x3a2713(0x25c)]=_0x365be1['data'][_0x3a2713(0x1c0)][_0x3a2713(0x25c)],process['env'][_0x3a2713(0x252)]=JSON[_0x3a2713(0x289)](_0x4c3692),[_0x365be1[_0x3a2713(0x1c0)][_0x3a2713(0x1c0)][_0x3a2713(0x277)],_0x365be1[_0x3a2713(0x1c0)]['data']['id']];}catch(_0x1326db){if(_0x1326db[_0x3a2713(0x271)])logger[_0x3a2713(0x28d)]('Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20'+_0x1326db[_0x3a2713(0x271)][_0x3a2713(0x27a)]+'\x20'+_0x1326db['response']['statusText']+'\x20'+JSON[_0x3a2713(0x289)](_0x1326db[_0x3a2713(0x271)][_0x3a2713(0x1c0)]));else{if(_0x368ad5[_0x3a2713(0x215)](_0x1326db[_0x3a2713(0x22f)],_0x368ad5[_0x3a2713(0x1fa)])){logger[_0x3a2713(0x28d)](_0x3a2713(0x263)+(_0x1326db[_0x3a2713(0x22f)]||_0x1326db['stack']));for(const _0x259aeb of _0x1326db[_0x3a2713(0x264)]){logger[_0x3a2713(0x28d)](_0x259aeb[_0x3a2713(0x22f)]);}process['env'][_0x3a2713(0x1d2)]=_0x368ad5[_0x3a2713(0x23f)],process['env'][_0x3a2713(0x1e3)]=_0x368ad5[_0x3a2713(0x23f)];}else logger['error']('Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20'+(_0x1326db[_0x3a2713(0x22f)]||_0x1326db[_0x3a2713(0x1e2)]));}return[null,null];}}),exports['stopAccessibilityTestRun']=PerformanceTester['measureWrapper'](a97_0x25201e(0x1cf),async function(_0x5e388f){const _0x468c79=a97_0x25201e,_0x59b435={};_0x59b435[_0x468c79(0x202)]=function(_0x31f24b,_0x17d03e){return _0x31f24b!==_0x17d03e;},_0x59b435[_0x468c79(0x286)]=_0x468c79(0x203),_0x59b435[_0x468c79(0x276)]=_0x468c79(0x28d),_0x59b435[_0x468c79(0x21e)]=_0x468c79(0x242),_0x59b435[_0x468c79(0x1c3)]=_0x468c79(0x23b),_0x59b435[_0x468c79(0x1e7)]=_0x468c79(0x1e4),_0x59b435[_0x468c79(0x1de)]=_0x468c79(0x221),_0x59b435['DgqeY']=function(_0xefdd48,_0x18a482){return _0xefdd48+_0x18a482;},_0x59b435[_0x468c79(0x247)]=_0x468c79(0x26c),_0x59b435['rMhBg']=_0x468c79(0x254);const _0x1a96f7=_0x59b435;if(bsSetupHelper['isUndefined'](process[_0x468c79(0x1c9)]['BS_A11Y_JWT'])||_0x1a96f7[_0x468c79(0x202)](typeof process[_0x468c79(0x1c9)]['BS_A11Y_JWT'],_0x1a96f7[_0x468c79(0x286)])){const _0x368df7={};return _0x368df7[_0x468c79(0x27a)]=_0x1a96f7[_0x468c79(0x276)],_0x368df7[_0x468c79(0x22f)]=_0x1a96f7[_0x468c79(0x21e)],_0x368df7;}const _0x47d9e0={'endTime':new Date()[_0x468c79(0x280)]()},_0xdef753={};_0xdef753['Authorization']=_0x468c79(0x1e6)+process[_0x468c79(0x1c9)]['BS_A11Y_JWT'],_0xdef753[_0x468c79(0x261)]=_0x1a96f7['EHuQb'];const _0x16078c={};_0x16078c[_0x468c79(0x25a)]=_0xdef753;const _0x250f0e=_0x16078c,_0x4590e4={};_0x4590e4[_0x468c79(0x1ed)]=_0x47d9e0,_0x4590e4['auth']=null,_0x4590e4[_0x468c79(0x213)]=!![];const _0x4ef07d=Object['assign'](_0x250f0e,_0x4590e4);try{const _0xbc7851=await bsSetupHelper['nodeRequest'](_0x1a96f7[_0x468c79(0x1e7)],_0x1a96f7[_0x468c79(0x1de)],_0x4ef07d,_0x5e388f,API_URL);if(_0xbc7851['data']['error'])throw new Error(_0x1a96f7['DgqeY'](_0x1a96f7[_0x468c79(0x247)],_0xbc7851[_0x468c79(0x1c0)][_0x468c79(0x28d)]));else{logger[_0x468c79(0x259)](_0x468c79(0x1d5)+new Date()[_0x468c79(0x280)]());const _0x23a366={};return _0x23a366[_0x468c79(0x27a)]=_0x1a96f7[_0x468c79(0x1ce)],_0x23a366[_0x468c79(0x22f)]='',_0x23a366;}}catch(_0x4bc35f){_0x4bc35f[_0x468c79(0x271)]?logger[_0x468c79(0x28d)]('Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20'+_0x4bc35f['response']['status']+'\x20'+_0x4bc35f[_0x468c79(0x271)][_0x468c79(0x25e)]+'\x20'+JSON[_0x468c79(0x289)](_0x4bc35f[_0x468c79(0x271)][_0x468c79(0x1c0)])):logger[_0x468c79(0x28d)](_0x468c79(0x266)+(_0x4bc35f[_0x468c79(0x22f)]||util[_0x468c79(0x28f)](_0x4bc35f)));const _0x40f610={};return _0x40f610[_0x468c79(0x27a)]=_0x1a96f7[_0x468c79(0x276)],_0x40f610[_0x468c79(0x22f)]=_0x4bc35f[_0x468c79(0x22f)]||(_0x4bc35f['response']?_0x4bc35f[_0x468c79(0x271)][_0x468c79(0x27a)]+':'+_0x4bc35f[_0x468c79(0x271)][_0x468c79(0x25e)]:_0x4bc35f),_0x40f610;}}),exports[a97_0x25201e(0x253)]=async(_0x20915a,_0x25dc6e=null)=>{const _0x3172e5=a97_0x25201e,_0x4c9e34={};_0x4c9e34[_0x3172e5(0x274)]='isAccessibilityPlatform',_0x4c9e34[_0x3172e5(0x238)]=_0x3172e5(0x22a),_0x4c9e34['rRZzZ']=_0x3172e5(0x1fc);const _0x58b9a7=_0x4c9e34;if(!this[_0x3172e5(0x1cb)]()||!globals[_0x3172e5(0x235)](_0x58b9a7[_0x3172e5(0x274)])||!globals[_0x3172e5(0x235)](_0x58b9a7[_0x3172e5(0x238)])){logger[_0x3172e5(0x283)](_0x58b9a7[_0x3172e5(0x20e)]);return;}return await PerformanceTester[_0x3172e5(0x1e9)](PerformanceA11yEvents[_0x3172e5(0x250)],async()=>{const _0x1b6a7b=_0x3172e5,_0x1cea0a={};_0x1cea0a[_0x1b6a7b(0x293)]=_0x25dc6e||global[_0x1b6a7b(0x1d8)];const _0x24f4d3=util[_0x1b6a7b(0x28f)](await _0x20915a[_0x1b6a7b(0x290)](scripts['performScan'],_0x1cea0a));return logger[_0x1b6a7b(0x1dd)](_0x1b6a7b(0x1e0)+_0x24f4d3),_0x24f4d3;},{'command':_0x25dc6e})();},exports[a97_0x25201e(0x211)]=async(_0xbe08a0,_0x82e44d)=>{const _0x1f1186=a97_0x25201e,_0x67d888={};_0x67d888[_0x1f1186(0x1cc)]=_0x1f1186(0x1cd),_0x67d888[_0x1f1186(0x1d7)]=_0x1f1186(0x218),_0x67d888[_0x1f1186(0x24f)]=_0x1f1186(0x22a),_0x67d888[_0x1f1186(0x268)]=_0x1f1186(0x20c),_0x67d888['BhuUl']=_0x1f1186(0x211),_0x67d888['PkipF']='No\x20accessibility\x20results\x20were\x20found.';const _0x2ed0e0=_0x67d888;if(!this[_0x1f1186(0x1cb)]()||!globals[_0x1f1186(0x235)](_0x2ed0e0[_0x1f1186(0x1d7)])||!globals[_0x1f1186(0x235)](_0x2ed0e0[_0x1f1186(0x24f)]))return logger[_0x1f1186(0x283)](_0x2ed0e0[_0x1f1186(0x268)]),[];try{return await PerformanceTester[_0x1f1186(0x1e9)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x597c38=_0x1f1186;logger[_0x597c38(0x1dd)](_0x2ed0e0['PwuBx']);const _0x2dca2b={};_0x2dca2b[_0x597c38(0x293)]=_0x82e44d[_0x597c38(0x1d8)],logger['debug'](util[_0x597c38(0x28f)](await _0xbe08a0[_0x597c38(0x290)](scripts[_0x597c38(0x253)],_0x2dca2b)));},{'command':_0x2ed0e0[_0x1f1186(0x24a)]})(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x1f1186(0x217)],async()=>{const _0x41ce7f=_0x1f1186,_0x4ec8d4=await _0xbe08a0['executeAsyncScript'](scripts[_0x41ce7f(0x1ff)]);return _0x4ec8d4;})();}catch{return logger[_0x1f1186(0x28d)](_0x2ed0e0[_0x1f1186(0x1fb)]),[];}},exports['getAccessibilityResultsSummary']=async(_0x28af3d,_0x308621)=>{const _0x2ea1c1=a97_0x25201e,_0x3e1ed1={};_0x3e1ed1[_0x2ea1c1(0x251)]='Performing\x20scan\x20before\x20getting\x20results\x20summary',_0x3e1ed1['kpxir']=_0x2ea1c1(0x218),_0x3e1ed1[_0x2ea1c1(0x21a)]=_0x2ea1c1(0x22a),_0x3e1ed1[_0x2ea1c1(0x296)]=_0x2ea1c1(0x1d3),_0x3e1ed1['YueXy']=_0x2ea1c1(0x25b),_0x3e1ed1['aIodZ']=_0x2ea1c1(0x281);const _0x35db6d=_0x3e1ed1;if(!this['isAccessibilityAutomationSession']()||!globals[_0x2ea1c1(0x235)](_0x35db6d[_0x2ea1c1(0x208)])||!globals[_0x2ea1c1(0x235)](_0x35db6d['HyTtv']))return logger[_0x2ea1c1(0x283)](_0x35db6d[_0x2ea1c1(0x296)]),{};try{return await PerformanceTester[_0x2ea1c1(0x1e9)](PerformanceA11yEvents[_0x2ea1c1(0x250)],async()=>{const _0x2fd0ae=_0x2ea1c1;logger[_0x2fd0ae(0x1dd)](_0x35db6d[_0x2fd0ae(0x251)]);const _0x2ec213={};_0x2ec213['method']=_0x308621[_0x2fd0ae(0x1d8)],logger[_0x2fd0ae(0x1dd)](util[_0x2fd0ae(0x28f)](await _0x28af3d[_0x2fd0ae(0x290)](scripts[_0x2fd0ae(0x253)],_0x2ec213)));},{'command':_0x35db6d['YueXy']})(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x2ea1c1(0x284)],async()=>{const _0x7b5218=await _0x28af3d['executeAsyncScript'](scripts['getResultsSummary']);return _0x7b5218;})();}catch{return logger[_0x2ea1c1(0x28d)](_0x35db6d['aIodZ']),{};}},exports[a97_0x25201e(0x220)]=_0x1fb426=>{const _0x2cab0b=a97_0x25201e,_0x32ff8c={};_0x32ff8c['pCOdz']=function(_0x40f66d,_0x613343){return _0x40f66d===_0x613343;},_0x32ff8c['MHdHx']=_0x2cab0b(0x203),_0x32ff8c[_0x2cab0b(0x279)]=_0x2cab0b(0x260);const _0x637893=_0x32ff8c;if(_0x1fb426&&_0x1fb426[_0x2cab0b(0x1f9)]&&_0x637893['pCOdz'](typeof _0x1fb426[_0x2cab0b(0x1f9)],_0x637893['MHdHx']))return _0x1fb426[_0x2cab0b(0x1f9)]['includes'](_0x637893[_0x2cab0b(0x279)]);return![];};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a98_0x3e7f(_0x159700,_0x39f5aa){const _0x534470=a98_0x5344();return a98_0x3e7f=function(_0x3e7fdc,_0x5c6332){_0x3e7fdc=_0x3e7fdc-0x187;let _0x52f899=_0x534470[_0x3e7fdc];return _0x52f899;},a98_0x3e7f(_0x159700,_0x39f5aa);}const a98_0x3ade1e=a98_0x3e7f;(function(_0x5b8ce7,_0x24e7ab){const _0x405fcb=a98_0x3e7f,_0x365d3f=_0x5b8ce7();while(!![]){try{const _0x1d399f=parseInt(_0x405fcb(0x199))/0x1*(parseInt(_0x405fcb(0x1c1))/0x2)+-parseInt(_0x405fcb(0x194))/0x3*(-parseInt(_0x405fcb(0x1b6))/0x4)+-parseInt(_0x405fcb(0x189))/0x5+parseInt(_0x405fcb(0x1b0))/0x6+parseInt(_0x405fcb(0x1ac))/0x7+-parseInt(_0x405fcb(0x18a))/0x8+parseInt(_0x405fcb(0x197))/0x9*(-parseInt(_0x405fcb(0x1af))/0xa);if(_0x1d399f===_0x24e7ab)break;else _0x365d3f['push'](_0x365d3f['shift']());}catch(_0x4d2f8c){_0x365d3f['push'](_0x365d3f['shift']());}}}(a98_0x5344,0x76e87));function a98_0x5344(){const _0x374e65=['mszTe','parseFromJson','getResults','456LGwLBI','writeFileSync','biBqB','9QXXpMy','debug','19EqkLss','commandsToWrap','getName','getMethod','parseFromProto','getLibrary','scripts','AaGWo','../helper','ChromeExtension','CihJG','yrZTz','existsSync','getResultsSummary','browserstackFolderPath','saveTestResults','toLowerCase','getClass','homedir','5809601qocAbf','fftzt','join','13932530xYQFPQ','5260746dFpSNZ','ezGBv','mkdirSync','nonBStackInfraA11yChromeOptions','.browserstack','getModule','10364kFBSnv','length','scan','getCommand','winstonLogger','eeIJp','toJson','fromJson','map','stringify','performScan','28678tmLObU','OkKDb','commandsPath','807750ElsQgK','2649256GJzVWg','commands.json','exports','shouldWrapCommand','OFNUo','1|5|4|3|2|6|0','GodAO'];a98_0x5344=function(){return _0x374e65;};return a98_0x5344();}const path=require('path'),fs=require('fs'),logger=require('../../helpers/logger')[a98_0x3ade1e(0x1ba)],helper=require(a98_0x3ade1e(0x1a1));class Scripts{constructor(){const _0x2e6f01=a98_0x3ade1e,_0x3ccc5f={};_0x3ccc5f[_0x2e6f01(0x1ad)]=_0x2e6f01(0x18f),_0x3ccc5f[_0x2e6f01(0x191)]=_0x2e6f01(0x1b4),_0x3ccc5f[_0x2e6f01(0x187)]=_0x2e6f01(0x18b);const _0x540f78=_0x3ccc5f,_0x59bc55=_0x540f78[_0x2e6f01(0x1ad)]['split']('|');let _0x4940ea=0x0;while(!![]){switch(_0x59bc55[_0x4940ea++]){case'0':this['fromJson']();continue;case'1':this[_0x2e6f01(0x1c0)]=null;continue;case'2':this['browserstackFolderPath']=path[_0x2e6f01(0x1ae)](helper[_0x2e6f01(0x1ab)](),_0x540f78['mszTe']);continue;case'3':this[_0x2e6f01(0x1a8)]=null;continue;case'4':this[_0x2e6f01(0x1a6)]=null;continue;case'5':this['getResults']=null;continue;case'6':this[_0x2e6f01(0x188)]=path[_0x2e6f01(0x1ae)](this[_0x2e6f01(0x1a7)],_0x540f78[_0x2e6f01(0x187)]);continue;}break;}}['parseFromJson'](_0x4cbb1a){const _0x39db20=a98_0x3ade1e;_0x4cbb1a['scripts']&&(this[_0x39db20(0x1c0)]=_0x4cbb1a[_0x39db20(0x19f)]['scan'],this[_0x39db20(0x193)]=_0x4cbb1a[_0x39db20(0x19f)]['getResults'],this[_0x39db20(0x1a6)]=_0x4cbb1a[_0x39db20(0x19f)][_0x39db20(0x1a6)],this[_0x39db20(0x1a8)]=_0x4cbb1a[_0x39db20(0x19f)]['saveResults']),this[_0x39db20(0x19a)]=_0x4cbb1a['commands'],this['ChromeExtension']=_0x4cbb1a[_0x39db20(0x1b3)];}[a98_0x3ade1e(0x19d)](_0x1c70ff,_0x1841fb){const _0xdcf619=a98_0x3ade1e,_0x59113f={};_0x59113f['GodAO']=function(_0x326aa2,_0x18190b){return _0x326aa2>_0x18190b;},_0x59113f[_0xdcf619(0x1a3)]=function(_0x52d84e,_0x535821){return _0x52d84e===_0x535821;},_0x59113f[_0xdcf619(0x1bb)]=_0xdcf619(0x1b8),_0x59113f['debMn']=_0xdcf619(0x193),_0x59113f[_0xdcf619(0x1b1)]=_0xdcf619(0x1a6),_0x59113f[_0xdcf619(0x1a0)]=function(_0x19ab1a,_0x4ee420){return _0x19ab1a===_0x4ee420;},_0x59113f['yrZTz']='saveResults';const _0x3d502d=_0x59113f;if(_0x1c70ff&&_0x3d502d[_0xdcf619(0x190)](_0x1c70ff[_0xdcf619(0x1b7)],0x0))for(const _0x9f0113 of _0x1c70ff){if(_0x3d502d[_0xdcf619(0x1a3)](_0x9f0113['getName'](),_0x3d502d['eeIJp']))this[_0xdcf619(0x1c0)]=_0x9f0113[_0xdcf619(0x1b9)]();else{if(_0x3d502d['CihJG'](_0x9f0113[_0xdcf619(0x19b)](),_0x3d502d['debMn']))this[_0xdcf619(0x193)]=_0x9f0113['getCommand']();else{if(_0x3d502d[_0xdcf619(0x1a3)](_0x9f0113[_0xdcf619(0x19b)](),_0x3d502d[_0xdcf619(0x1b1)]))this[_0xdcf619(0x1a6)]=_0x9f0113['getCommand']();else _0x3d502d[_0xdcf619(0x1a0)](_0x9f0113[_0xdcf619(0x19b)](),_0x3d502d[_0xdcf619(0x1a4)])&&(this['saveTestResults']=_0x9f0113[_0xdcf619(0x1b9)]());}}}_0x1841fb&&_0x3d502d[_0xdcf619(0x190)](_0x1841fb[_0xdcf619(0x1b7)],0x0)&&(this['commandsToWrap']=_0x1841fb[_0xdcf619(0x1be)](_0x4ec771=>{const _0x47909a=_0xdcf619;return{'name':_0x4ec771[_0x47909a(0x19b)](),'method':_0x4ec771[_0x47909a(0x19c)](),'library':_0x4ec771[_0x47909a(0x19e)](),'module':_0x4ec771[_0x47909a(0x1b5)](),'class':_0x4ec771[_0x47909a(0x1aa)]()};}));}[a98_0x3ade1e(0x18d)](_0x22e954){const _0x25fb32=a98_0x3ade1e,_0x50c994={};_0x50c994[_0x25fb32(0x196)]=function(_0x5a4af9,_0x110b69){return _0x5a4af9!==_0x110b69;};const _0x346dfd=_0x50c994;try{return _0x346dfd[_0x25fb32(0x196)](this[_0x25fb32(0x19a)]['findIndex'](_0x3b2294=>_0x3b2294['name'][_0x25fb32(0x1a9)]()===_0x22e954[_0x25fb32(0x1a9)]()),-0x1);}catch(_0x22c382){logger[_0x25fb32(0x198)]('Exception\x20in\x20browserstack\x20accessibility\x20automation\x20with\x20error:\x20'+_0x22c382);}return![];}[a98_0x3ade1e(0x1bc)](){const _0x759a46=a98_0x3ade1e;!fs[_0x759a46(0x1a5)](this[_0x759a46(0x1a7)])&&fs[_0x759a46(0x1b2)](this[_0x759a46(0x1a7)]),fs[_0x759a46(0x195)](this[_0x759a46(0x188)],JSON[_0x759a46(0x1bf)]({'scripts':{'scan':this[_0x759a46(0x1c0)],'getResults':this['getResults'],'getResultsSummary':this[_0x759a46(0x1a6)],'saveResults':this[_0x759a46(0x1a8)]},'commands':this[_0x759a46(0x19a)],'nonBStackInfraA11yChromeOptions':this[_0x759a46(0x1a2)]}));}[a98_0x3ade1e(0x1bd)](){const _0x156f15=a98_0x3ade1e,_0x3987da={'OFNUo':function(_0x3e8b1e,_0x7a6fb5){return _0x3e8b1e(_0x7a6fb5);}};fs[_0x156f15(0x1a5)](this[_0x156f15(0x188)])&&this[_0x156f15(0x192)](_0x3987da[_0x156f15(0x18e)](require,this[_0x156f15(0x188)]));}}module[a98_0x3ade1e(0x18c)]=new Scripts();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a99_0x514148=a99_0x57b9;(function(_0x33b08a,_0x45df82){const _0x5591d1=a99_0x57b9,_0x4849fa=_0x33b08a();while(!![]){try{const _0x105bc9=parseInt(_0x5591d1(0x101))/0x1*(-parseInt(_0x5591d1(0xc2))/0x2)+-parseInt(_0x5591d1(0x12c))/0x3+parseInt(_0x5591d1(0x120))/0x4*(parseInt(_0x5591d1(0x10e))/0x5)+-parseInt(_0x5591d1(0x12a))/0x6*(-parseInt(_0x5591d1(0xfe))/0x7)+-parseInt(_0x5591d1(0x110))/0x8+parseInt(_0x5591d1(0x10a))/0x9+parseInt(_0x5591d1(0x113))/0xa;if(_0x105bc9===_0x45df82)break;else _0x4849fa['push'](_0x4849fa['shift']());}catch(_0x5e0185){_0x4849fa['push'](_0x4849fa['shift']());}}}(a99_0x4203,0xc21c1));function a99_0x4203(){const _0x37ff5f=['replace','21mDMHLf','\x22:\x20{\x22endpoint\x22:\x20\x22','firefox','2bSBIXe','race','isSelfHealEnabled','aiHealing','get','toLowerCase','healFailure','wAwsg','then','12235644MZlytV','setToken','keys','NAoGJ','10zmravj','ocFwz','2296112fxyWuT','KXhJC','getProjectName','6605770CGWMMg','wFLpS','_handleEvent','value','../globals','split','newCapabilities','BrowserstackHealing.setToken\x20method\x20timed\x20out','MUVbe','vjCAc','Error\x20in\x20initialising\x20healing\x20capabilities\x20,\x20error:\x20','XaONm','initializeHealingCapabilities','409064eZjjrp','getGlobal','initializeCapabilities','hnaIL','BrowserstackHealingLogDataFailed','parameters_','config','locatorValue','aiHeal_userId','\x22,\x20\x22tcgUrls\x22:\x20{\x22','227958HfvIrx','Healing\x20Failed,\x20Browserstack\x20AI\x20could\x20not\x20heal\x20the\x20','1772589hDnpqx','{\x22region\x22:\x20\x22','using','firefoxOptions_','dYrzg','pollResult','665654fdxsMO','message','safariOptions_','dEZqo','nsMpH','browserstackSessionName','CQdSi','bHzzz','BrowserstackHealing.pollResult\x20method\x20timed\x20out','OVBOS','EpLqB','executeScript','RsYHT','framework','map_','browserName','icvUe','cancel','safari','winstonLogger','JSBiz','vtVvP','Error\x20in\x20(healing)\x20handling\x20failure\x20event.\x20ERROR:\x20','../../ai-sdk-node/bundle','edgeOptions_','chrome','\x20command','getTestName','BrowserstackHealing.logData\x20method\x20timed\x20out','forEach','lXeBN','CfXGs','WPNVm','CVDan','TCG_REGION','BrowserstackHealing','TCG_URL','getCommands','BrowserstackHealing.healFailure\x20method\x20timed\x20out','freeze','aiHeal_isGroupAIEnabled','BrowserstackHealingPollResultFailed','s://','microsoftedge','aiHeal_sessionToken','info','KfmwD','getSession','getId','ZEVyF','../../helpers/timeoutPromise','Qtuhp','error','BrowserstackHealingSetTcgTokenFailed','capabilities_','path','debug','aiSdkWrapper','wFSwZ'];a99_0x4203=function(){return _0x37ff5f;};return a99_0x4203();}const path=require(a99_0x514148(0xf9)),{commandRepository}=require('./autoHealHelper'),constants=require('../../bin/utils/constants'),logger=require('../logger')[a99_0x514148(0xd5)],globals=require(a99_0x514148(0x117)),timeoutPromise=require(a99_0x514148(0xf4)),isUndefinedOrNull=_0x3b41e1=>_0x3b41e1===undefined||_0x3b41e1===null||_0x3b41e1==='',isNotUndefinedOrNull=_0x54c5be=>!isUndefinedOrNull(_0x54c5be),isString=_0x28a6bd=>isNotUndefinedOrNull(_0x28a6bd)&&typeof _0x28a6bd==='string';function a99_0x57b9(_0x28c8f8,_0x422d4c){const _0x420334=a99_0x4203();return a99_0x57b9=function(_0x57b94b,_0x484e0b){_0x57b94b=_0x57b94b-0xc2;let _0x2f1c89=_0x420334[_0x57b94b];return _0x2f1c89;},a99_0x57b9(_0x28c8f8,_0x422d4c);}class AiSdkWrapper{constructor(){const _0x74d083=a99_0x514148,_0x5ad4d2={'dJkJI':function(_0x57277c,_0x16cb0a){return _0x57277c(_0x16cb0a);},'VXIdm':_0x74d083(0xd9)};this[_0x74d083(0xe5)]=undefined;try{this[_0x74d083(0xe5)]=_0x5ad4d2['dJkJI'](require,path['join'](__dirname,_0x5ad4d2['VXIdm']));}catch(_0x20023f){logger[_0x74d083(0xf6)]('Unable\x20to\x20load\x20healing\x20module,\x20error:\x20'+(_0x20023f&&_0x20023f[_0x74d083(0xc3)]?_0x20023f[_0x74d083(0xc3)]:''));}}[a99_0x514148(0x11f)](_0x3c7548){const _0x1ab1a2=a99_0x514148,_0xc342d2={};_0xc342d2[_0x1ab1a2(0x111)]=_0x1ab1a2(0x119),_0xc342d2[_0x1ab1a2(0xf0)]=function(_0x25e61e,_0x4ee7f0){return _0x25e61e===_0x4ee7f0;},_0xc342d2['EpLqB']=_0x1ab1a2(0xdb),_0xc342d2[_0x1ab1a2(0x130)]=function(_0x568a14,_0x1b6ce5){return _0x568a14===_0x1b6ce5;},_0xc342d2[_0x1ab1a2(0xf5)]=_0x1ab1a2(0x100),_0xc342d2[_0x1ab1a2(0xd2)]=_0x1ab1a2(0xd4),_0xc342d2['JSBiz']=function(_0x3fb8cf,_0x2f75df){return _0x3fb8cf===_0x2f75df;},_0xc342d2['XaONm']='edge',_0xc342d2['wFSwZ']=function(_0x13fac8,_0x24d8f2){return _0x13fac8===_0x24d8f2;},_0xc342d2['bHzzz']=_0x1ab1a2(0xed);const _0xbd0238=_0xc342d2;try{const _0x559219=this[_0x1ab1a2(0xe5)][_0x1ab1a2(0x122)](Object['fromEntries'](_0x3c7548['getCapabilities']()[_0x1ab1a2(0xd0)]));console['log'](_0xbd0238[_0x1ab1a2(0x111)],_0x559219);if(_0xbd0238[_0x1ab1a2(0xf0)](_0x559219?.[_0x1ab1a2(0xd1)]?.[_0x1ab1a2(0x106)](),_0xbd0238[_0x1ab1a2(0xcc)]))_0x3c7548['chromeOptions_']=_0x559219;else{if(_0xbd0238[_0x1ab1a2(0x130)](_0x559219?.[_0x1ab1a2(0xd1)]?.[_0x1ab1a2(0x106)](),_0xbd0238[_0x1ab1a2(0xf5)]))_0x3c7548[_0x1ab1a2(0x12f)]=_0x559219;else{if(_0xbd0238[_0x1ab1a2(0xf0)](_0x559219?.['browserName']?.[_0x1ab1a2(0x106)](),_0xbd0238['icvUe']))_0x3c7548[_0x1ab1a2(0xc4)]=_0x559219;else{if(_0xbd0238[_0x1ab1a2(0xd6)](_0x559219?.['browserName']?.['toLowerCase'](),_0xbd0238[_0x1ab1a2(0x11e)])||_0xbd0238[_0x1ab1a2(0xfc)](_0x559219?.['browserName']?.['toLowerCase'](),_0xbd0238[_0x1ab1a2(0xc9)]))_0x3c7548[_0x1ab1a2(0xda)]=_0x559219;else _0xbd0238[_0x1ab1a2(0x130)](_0x559219?.[_0x1ab1a2(0xd1)]?.[_0x1ab1a2(0x106)](),'ie')&&(_0x3c7548['ieOptions_']=_0x559219);}}}Object[_0x1ab1a2(0x10c)](_0x559219)[_0x1ab1a2(0xdf)](_0x3daa25=>{const _0x54be9e=_0x1ab1a2,_0x20f214=_0x3c7548[_0x54be9e(0xf8)][_0x54be9e(0x105)](_0x3daa25);_0x3c7548[_0x54be9e(0xf8)]['set'](_0x3daa25,_0x559219[_0x3daa25]);});}catch(_0xa690fa){logger[_0x1ab1a2(0xf6)](_0x1ab1a2(0x11d)+(_0xa690fa&&_0xa690fa[_0x1ab1a2(0xc3)]?_0xa690fa['message']:''));}}async['setTcgToken'](_0x566c1e){const _0x289b2f=a99_0x514148,_0x2e7cbf={'vjCAc':function(_0x17e3a8,_0x351515,_0x5976b9,_0x33f79f,_0x50eec2,_0x36894c,_0xe76f86){return _0x17e3a8(_0x351515,_0x5976b9,_0x33f79f,_0x50eec2,_0x36894c,_0xe76f86);},'WPNVm':_0x289b2f(0x11a),'ZEVyF':_0x289b2f(0xf7),'hnaIL':_0x289b2f(0xee)},_0x1f371e=new Date(),_0x39799a=_0x2e7cbf[_0x289b2f(0x11c)](timeoutPromise,constants['SET_TCG_TOKEN_TIMEOUT'],_0x2e7cbf[_0x289b2f(0xe2)],_0x2e7cbf[_0x289b2f(0xf3)],_0x1f371e,this['config'],this['framework']);await Promise['race']([this['BrowserstackHealing'][_0x289b2f(0x10b)](_0x566c1e,globals[_0x289b2f(0x121)](_0x2e7cbf[_0x289b2f(0x123)]),constants[_0x289b2f(0xe6)])['then'](()=>{_0x39799a['cancel']();}),_0x39799a]);}async['_handleEvent'](_0x2817d6,_0x5da06f,_0x1beae9,_0x3fb82c){const _0x48b913=a99_0x514148,_0x13ed46={'eFaIC':function(_0x1e1c49,_0x5514fd){return _0x1e1c49===_0x5514fd;},'DAnpJ':function(_0x19f7db,_0x166d43){return _0x19f7db(_0x166d43);},'nsMpH':function(_0x27ca61,_0x17c579){return _0x27ca61(_0x17c579);},'ocFwz':function(_0x2a2d5f,_0x396122){return _0x2a2d5f(_0x396122);},'VJagX':function(_0x450fae,_0x4f35ac){return _0x450fae(_0x4f35ac);},'KcmMR':function(_0x2f0758,_0xc4b618){return _0x2f0758(_0xc4b618);},'wFLpS':function(_0x3ff7ed,_0x50f45d){return _0x3ff7ed(_0x50f45d);},'wAwsg':_0x48b913(0xec),'RmhnS':function(_0x363313,_0x5c8e77){return _0x363313(_0x5c8e77);},'OVBOS':_0x48b913(0x128),'CfXGs':'aiHeal_groupId','RsYHT':_0x48b913(0xea),'vtVvP':function(_0x5af8eb,_0x481d59,_0x3a6df6,_0x138e41,_0x503ffd,_0x24f626,_0x2bd509){return _0x5af8eb(_0x481d59,_0x3a6df6,_0x138e41,_0x503ffd,_0x24f626,_0x2bd509);},'CVDan':_0x48b913(0xde),'Zqxew':_0x48b913(0x124),'NAoGJ':_0x48b913(0xe8),'MUVbe':'BrowserstackHealingHealFailureFailed'},_0x4415a9=(await _0x5da06f[_0x48b913(0xf1)]())[_0x48b913(0xf2)]();let _0x41bd26='';if(commandRepository[_0x48b913(0x103)]()&&_0x13ed46['eFaIC'](_0x3fb82c,![])||_0x13ed46['eFaIC'](_0x3fb82c,!![])){const _0x1c1b9c=_0x13ed46['DAnpJ'](isNotUndefinedOrNull,_0x1beae9[_0x48b913(0x125)][_0x48b913(0x12e)])&&_0x13ed46['DAnpJ'](isString,_0x1beae9[_0x48b913(0x125)]['using'])?_0x1beae9['parameters_'][_0x48b913(0x12e)]['replace'](/'/g,'\x5c\x27')['replace'](/"/g,'\x5c\x22'):'',_0x45fd54=_0x13ed46[_0x48b913(0xc6)](isNotUndefinedOrNull,_0x1beae9[_0x48b913(0x125)][_0x48b913(0x12e)])&&_0x13ed46['nsMpH'](isString,_0x1beae9[_0x48b913(0x125)]['value'])?_0x1beae9[_0x48b913(0x125)]['value'][_0x48b913(0xfd)](/'/g,'\x5c\x27')[_0x48b913(0xfd)](/"/g,'\x5c\x22'):'',_0xa4764c=_0x13ed46[_0x48b913(0x10f)](isNotUndefinedOrNull,commandRepository[_0x48b913(0x112)]())&&_0x13ed46['VJagX'](isString,commandRepository['getProjectName']())?commandRepository[_0x48b913(0x112)]()[_0x48b913(0xfd)](/'/g,'\x5c\x27')[_0x48b913(0xfd)](/"/g,'\x5c\x22'):'';let _0x9d8e18=_0x13ed46['KcmMR'](isNotUndefinedOrNull,global['browserstackSessionName'])&&_0x13ed46['wFLpS'](isString,global[_0x48b913(0xc7)])?global['browserstackSessionName']['replace'](/'/g,'\x5c\x27')[_0x48b913(0xfd)](/"/g,'\x5c\x22'):'';!_0x9d8e18&&(_0x9d8e18=_0x13ed46[_0x48b913(0x114)](isNotUndefinedOrNull,commandRepository[_0x48b913(0xdd)]())&&_0x13ed46['nsMpH'](isString,commandRepository[_0x48b913(0xdd)]())?commandRepository[_0x48b913(0xdd)]()[_0x48b913(0xfd)](/'/g,'\x5c\x27')[_0x48b913(0xfd)](/"/g,'\x5c\x22'):'');let _0x45d791=_0x48b913(0x12d)+constants[_0x48b913(0xe4)]+_0x48b913(0x129)+constants[_0x48b913(0xe4)]+_0x48b913(0xff)+constants['TCG_URL'][_0x48b913(0x118)](_0x13ed46[_0x48b913(0x108)])[0x1]+'\x22}}}';_0x45d791=_0x13ed46['RmhnS'](isNotUndefinedOrNull,_0x45d791)&&_0x13ed46[_0x48b913(0x10f)](isString,_0x45d791)?_0x45d791[_0x48b913(0xfd)](/'/g,'\x5c\x27')[_0x48b913(0xfd)](/"/g,'\x5c\x22'):'';const _0x1c151b=commandRepository[_0x48b913(0xe7)](_0x4415a9),_0x18a2f8=globals['getGlobal'](_0x13ed46[_0x48b913(0xcb)]),_0x560cb2=globals[_0x48b913(0x121)](_0x13ed46[_0x48b913(0xe1)]),_0x4d9ae6=globals[_0x48b913(0x121)](_0x13ed46[_0x48b913(0xce)]),_0x250b0a=![],_0x48c8a7=new Date();if(_0x3fb82c){const _0x1cb7fc=_0x13ed46[_0x48b913(0xd7)](timeoutPromise,constants['HEALING_LOG_DATA_TIMEOUT'],_0x13ed46[_0x48b913(0xe3)],_0x13ed46['Zqxew'],_0x48c8a7,this[_0x48b913(0x126)],this[_0x48b913(0xcf)]);_0x41bd26=await Promise[_0x48b913(0x102)]([this[_0x48b913(0xe5)]['logData'](_0x1c1b9c,_0x45fd54,_0xa4764c,_0x9d8e18,_0x560cb2,_0x4415a9,_0x1c151b,_0x45d791)[_0x48b913(0x109)](_0x3af4a1=>{const _0x6c94ac=_0x48b913;return _0x1cb7fc[_0x6c94ac(0xd3)](),_0x3af4a1;}),_0x1cb7fc]);}else{if(commandRepository[_0x48b913(0x103)]()){const _0x4dba18=_0x13ed46[_0x48b913(0xd7)](timeoutPromise,constants['HEALING_FAILURE_TIMEOUT'],_0x13ed46[_0x48b913(0x10d)],_0x13ed46[_0x48b913(0x11b)],_0x48c8a7,this[_0x48b913(0x126)],this['framework']);_0x41bd26=await Promise[_0x48b913(0x102)]([this[_0x48b913(0xe5)][_0x48b913(0x107)](_0x1c1b9c,_0x45fd54,_0xa4764c,_0x9d8e18,_0x18a2f8,_0x560cb2,_0x4415a9,_0x1c151b,_0x250b0a,_0x4d9ae6,_0x45d791)[_0x48b913(0x109)](_0x133720=>{const _0x109d6c=_0x48b913;return _0x4dba18[_0x109d6c(0xd3)](),_0x133720;}),_0x4dba18]);}}_0x41bd26&&await _0x5da06f[_0x48b913(0xcd)](_0x41bd26);}}async['handleSuccess'](_0x4f49d6,_0x45af0f,_0xb9af7f){const _0x4b1a21=a99_0x514148;try{await this[_0x4b1a21(0x115)](_0x4f49d6,_0x45af0f,_0xb9af7f,!![]);}catch(_0x1b69d2){return logger[_0x4b1a21(0xf6)]('Error\x20in\x20(healing)\x20success\x20event.\x20ERROR:\x20'+(_0x1b69d2&&_0x1b69d2['message']?_0x1b69d2[_0x4b1a21(0xc3)]:'')),![];}return!![];}async['handleFailure'](_0x5148eb,_0x29ccf9,_0x50114b){const _0xc4906=a99_0x514148,_0x46bf66={'iJdKP':function(_0x554ae7,_0x465b7b,_0x4d350b,_0x39e71d,_0x2eca9f,_0x4c811e,_0x2ce6e9){return _0x554ae7(_0x465b7b,_0x4d350b,_0x39e71d,_0x2eca9f,_0x4c811e,_0x2ce6e9);},'CQdSi':_0xc4906(0xca),'dEZqo':_0xc4906(0xeb),'lXeBN':_0xc4906(0xee)};try{await this['_handleEvent'](_0x5148eb,_0x29ccf9,_0x50114b,![]);const _0xc53f64=(await _0x29ccf9[_0xc4906(0xf1)]())[_0xc4906(0xf2)](),_0x420008=new Date(),_0x1e0155=_0x46bf66['iJdKP'](timeoutPromise,constants['POLL_HEALING_RESULT_TIMEOUT'],_0x46bf66[_0xc4906(0xc8)],_0x46bf66[_0xc4906(0xc5)],_0x420008,this[_0xc4906(0x126)],this[_0xc4906(0xcf)]),_0x54868d=await Promise[_0xc4906(0x102)]([this[_0xc4906(0xe5)][_0xc4906(0x131)](constants[_0xc4906(0xe6)],_0xc53f64,globals[_0xc4906(0x121)](_0x46bf66[_0xc4906(0xe0)]))[_0xc4906(0x109)](_0x45b446=>{const _0x56d221=_0xc4906;return _0x1e0155[_0x56d221(0xd3)](),_0x45b446;}),_0x1e0155]);if(_0x54868d&&_0x54868d['selector']&&_0x54868d[_0xc4906(0x116)]){const _0x1059d4={};return _0x1059d4['locatorType']=_0x54868d['selector'],_0x1059d4['locatorValue']=_0x54868d[_0xc4906(0x116)],_0x1059d4['aiHealing']=!![],_0x1059d4;}const _0x3f7174={};return _0x3f7174['locatorType']=_0x50114b[_0xc4906(0x125)][_0xc4906(0x12e)],_0x3f7174[_0xc4906(0x127)]=_0x54868d[_0xc4906(0x116)],_0x3f7174[_0xc4906(0x104)]=!![],_0x3f7174;}catch(_0x10594f){return logger[_0xc4906(0xfa)](_0xc4906(0xd8)+(_0x10594f&&_0x10594f[_0xc4906(0xc3)]?_0x10594f[_0xc4906(0xc3)]:'')),logger[_0xc4906(0xef)](_0xc4906(0x12b)+_0x50114b['name_']+_0xc4906(0xdc)),_0x50114b;}}}exports[a99_0x514148(0xfb)]=Object[a99_0x514148(0xe9)](new AiSdkWrapper());
|
|
1
|
+
const a99_0x2aff36=a99_0x1874;function a99_0x2946(){const _0x43eca3=['microsoftedge','fromEntries','Error\x20in\x20(healing)\x20success\x20event.\x20ERROR:\x20','BwIvp','healFailure','ckaTY','OrKDv','vKSIE','log','aiHeal_isGroupAIEnabled','yAdin','message','winstonLogger','POLL_HEALING_RESULT_TIMEOUT','BrowserstackHealing.pollResult\x20method\x20timed\x20out','value','getCommands','split','keys','cancel','../globals','then','logData','XVQov','IoIHm','BrowserstackHealing','handleFailure','wOXiI','DtSnU','using','string','set','2373633rohqvm','map_','info','join','s://','\x22}}}','45395Ibjmlc','HEALING_LOG_DATA_TIMEOUT','firefox','setToken','aiHeal_groupId','rObQv','UiZGD','selector','getGlobal','browserstackSessionName','lFooG','BrowserstackHealingLogDataFailed','getSession','Unable\x20to\x20load\x20healing\x20module,\x20error:\x20','chromeOptions_','pAfGK','locatorType','capabilities_','executeScript','KLzkM','BrowserstackHealing.setToken\x20method\x20timed\x20out','CmGej','1XwkrIQ','bsTgi','4698582jSEUdq','parameters_','TCG_URL','1037580iRhilT','error','\x22:\x20{\x22endpoint\x22:\x20\x22','aiHealing','BrowserstackHealingPollResultFailed','framework','setTcgToken','72rVCAea','race','BrowserstackHealing.healFailure\x20method\x20timed\x20out','../../helpers/timeoutPromise','396nTSjQt','{\x22region\x22:\x20\x22','edge','qifjl','toLowerCase','_handleEvent','initializeHealingCapabilities','Healing\x20Failed,\x20Browserstack\x20AI\x20could\x20not\x20heal\x20the\x20','kBIlG','Error\x20in\x20(healing)\x20handling\x20failure\x20event.\x20ERROR:\x20','idKse','4469076jlCwEG','vdOoR','handleSuccess','PrMSB','NFLaU','getProjectName','10189944DUuGex','Error\x20in\x20initialising\x20healing\x20capabilities\x20,\x20error:\x20','BrowserstackHealingSetTcgTokenFailed','wqEfI','debug','UAIsA','aiHeal_userId','getTestName','path','oDsaT','safariOptions_','config','pollResult','pudev','pTDiY','replace','forEach','BrowserstackHealingHealFailureFailed','2828398YnRQkp','getCapabilities','TCG_REGION','SET_TCG_TOKEN_TIMEOUT','getId','initializeCapabilities','browserName'];a99_0x2946=function(){return _0x43eca3;};return a99_0x2946();}(function(_0x1a16cd,_0x26731f){const _0x79410a=a99_0x1874,_0x3119bc=_0x1a16cd();while(!![]){try{const _0x364347=-parseInt(_0x79410a(0x15f))/0x1*(-parseInt(_0x79410a(0x11c))/0x2)+-parseInt(_0x79410a(0x143))/0x3+parseInt(_0x79410a(0x104))/0x4+-parseInt(_0x79410a(0x149))/0x5*(-parseInt(_0x79410a(0xf9))/0x6)+parseInt(_0x79410a(0xeb))/0x7+-parseInt(_0x79410a(0x10a))/0x8+parseInt(_0x79410a(0xf5))/0x9*(-parseInt(_0x79410a(0xee))/0xa);if(_0x364347===_0x26731f)break;else _0x3119bc['push'](_0x3119bc['shift']());}catch(_0x3111c7){_0x3119bc['push'](_0x3119bc['shift']());}}}(a99_0x2946,0xdd68a));function a99_0x1874(_0x41cbdf,_0x340fb6){const _0x294663=a99_0x2946();return a99_0x1874=function(_0x1874cb,_0x1a1366){_0x1874cb=_0x1874cb-0xeb;let _0xa72c15=_0x294663[_0x1874cb];return _0xa72c15;},a99_0x1874(_0x41cbdf,_0x340fb6);}const path=require(a99_0x2aff36(0x112)),{commandRepository}=require('./autoHealHelper'),constants=require('../../bin/utils/constants'),logger=require('../logger')[a99_0x2aff36(0x12f)],globals=require(a99_0x2aff36(0x137)),timeoutPromise=require(a99_0x2aff36(0xf8)),isUndefinedOrNull=_0x3f7632=>_0x3f7632===undefined||_0x3f7632===null||_0x3f7632==='',isNotUndefinedOrNull=_0x4c363e=>!isUndefinedOrNull(_0x4c363e),isString=_0xbe0eb4=>isNotUndefinedOrNull(_0xbe0eb4)&&typeof _0xbe0eb4===a99_0x2aff36(0x141);class AiSdkWrapper{constructor(){const _0x31b8eb=a99_0x2aff36,_0x16b425={'wqEfI':function(_0x43149e,_0x13ab86){return _0x43149e(_0x13ab86);},'ckaTY':'../../ai-sdk-node/bundle'};this[_0x31b8eb(0x13c)]=undefined;try{this[_0x31b8eb(0x13c)]=_0x16b425[_0x31b8eb(0x10d)](require,path[_0x31b8eb(0x146)](__dirname,_0x16b425[_0x31b8eb(0x128)]));}catch(_0x10a688){logger[_0x31b8eb(0xef)](_0x31b8eb(0x156)+(_0x10a688&&_0x10a688[_0x31b8eb(0x12e)]?_0x10a688[_0x31b8eb(0x12e)]:''));}}[a99_0x2aff36(0xff)](_0x29bc77){const _0x43726a=a99_0x2aff36,_0x408371={};_0x408371[_0x43726a(0x129)]='newCapabilities',_0x408371[_0x43726a(0x108)]=function(_0x48e127,_0x339102){return _0x48e127===_0x339102;},_0x408371['rObQv']='chrome',_0x408371[_0x43726a(0x14f)]=_0x43726a(0x14b),_0x408371['wOXiI']='safari',_0x408371['vKSIE']=function(_0x4118a4,_0x1fd4f7){return _0x4118a4===_0x1fd4f7;},_0x408371[_0x43726a(0x105)]=_0x43726a(0xfb),_0x408371[_0x43726a(0x12d)]=function(_0x2d8ec0,_0x51ea41){return _0x2d8ec0===_0x51ea41;},_0x408371[_0x43726a(0x15e)]=_0x43726a(0x123),_0x408371['OoXAT']=function(_0x3bdf6b,_0x24b548){return _0x3bdf6b===_0x24b548;};const _0x54d2f4=_0x408371;try{const _0xaae016=this[_0x43726a(0x13c)][_0x43726a(0x121)](Object[_0x43726a(0x124)](_0x29bc77[_0x43726a(0x11d)]()[_0x43726a(0x144)]));console[_0x43726a(0x12b)](_0x54d2f4[_0x43726a(0x129)],_0xaae016);if(_0x54d2f4[_0x43726a(0x108)](_0xaae016?.['browserName']?.[_0x43726a(0xfd)](),_0x54d2f4[_0x43726a(0x14e)]))_0x29bc77[_0x43726a(0x157)]=_0xaae016;else{if(_0x54d2f4[_0x43726a(0x108)](_0xaae016?.[_0x43726a(0x122)]?.[_0x43726a(0xfd)](),_0x54d2f4['UiZGD']))_0x29bc77['firefoxOptions_']=_0xaae016;else{if(_0x54d2f4['NFLaU'](_0xaae016?.[_0x43726a(0x122)]?.[_0x43726a(0xfd)](),_0x54d2f4[_0x43726a(0x13e)]))_0x29bc77[_0x43726a(0x114)]=_0xaae016;else{if(_0x54d2f4[_0x43726a(0x12a)](_0xaae016?.[_0x43726a(0x122)]?.[_0x43726a(0xfd)](),_0x54d2f4[_0x43726a(0x105)])||_0x54d2f4['yAdin'](_0xaae016?.[_0x43726a(0x122)]?.[_0x43726a(0xfd)](),_0x54d2f4[_0x43726a(0x15e)]))_0x29bc77['edgeOptions_']=_0xaae016;else _0x54d2f4['OoXAT'](_0xaae016?.['browserName']?.[_0x43726a(0xfd)](),'ie')&&(_0x29bc77['ieOptions_']=_0xaae016);}}}Object[_0x43726a(0x135)](_0xaae016)[_0x43726a(0x11a)](_0x4e0009=>{const _0x220986=_0x43726a,_0x2445f0=_0x29bc77[_0x220986(0x15a)]['get'](_0x4e0009);_0x29bc77[_0x220986(0x15a)][_0x220986(0x142)](_0x4e0009,_0xaae016[_0x4e0009]);});}catch(_0x46eae2){logger[_0x43726a(0xef)](_0x43726a(0x10b)+(_0x46eae2&&_0x46eae2[_0x43726a(0x12e)]?_0x46eae2[_0x43726a(0x12e)]:''));}}async[a99_0x2aff36(0xf4)](_0x373f67){const _0x34deea=a99_0x2aff36,_0x3166bf={'XVQov':function(_0x4628a3,_0x3156da,_0x295b07,_0x5868eb,_0x205dce,_0x52cf51,_0x49b091){return _0x4628a3(_0x3156da,_0x295b07,_0x5868eb,_0x205dce,_0x52cf51,_0x49b091);},'BwIvp':_0x34deea(0x15d),'idKse':_0x34deea(0x10c),'pAfGK':'aiHeal_sessionToken'},_0x1373d5=new Date(),_0x488181=_0x3166bf[_0x34deea(0x13a)](timeoutPromise,constants[_0x34deea(0x11f)],_0x3166bf[_0x34deea(0x126)],_0x3166bf[_0x34deea(0x103)],_0x1373d5,this[_0x34deea(0x115)],this['framework']);await Promise[_0x34deea(0xf6)]([this['BrowserstackHealing'][_0x34deea(0x14c)](_0x373f67,globals[_0x34deea(0x151)](_0x3166bf[_0x34deea(0x158)]),constants[_0x34deea(0xed)])['then'](()=>{_0x488181['cancel']();}),_0x488181]);}async[a99_0x2aff36(0xfe)](_0x2274a5,_0x3b7d6c,_0x4c182c,_0x135afa){const _0x53b586=a99_0x2aff36,_0x485f82={'pudev':function(_0x4f575e,_0x12a733){return _0x4f575e===_0x12a733;},'bsTgi':function(_0xac08ea,_0x293859){return _0xac08ea===_0x293859;},'PrMSB':function(_0x28e4c3,_0xed2fa5){return _0x28e4c3(_0xed2fa5);},'IoIHm':function(_0x4b31b5,_0x227a57){return _0x4b31b5(_0x227a57);},'ZHkDi':function(_0x348c56,_0x34e47e){return _0x348c56(_0x34e47e);},'pTDiY':_0x53b586(0x147),'elZHS':function(_0x565eb1,_0x1fb609){return _0x565eb1(_0x1fb609);},'DtSnU':_0x53b586(0x110),'lFooG':_0x53b586(0x14d),'FXoSy':_0x53b586(0x12c),'kBIlG':function(_0x3a7356,_0x3eaaf9,_0x154a67,_0x4e65d1,_0x326e42,_0x3c52b1,_0x31c1a7){return _0x3a7356(_0x3eaaf9,_0x154a67,_0x4e65d1,_0x326e42,_0x3c52b1,_0x31c1a7);},'WJGgu':'BrowserstackHealing.logData\x20method\x20timed\x20out','WcOjS':_0x53b586(0x154),'nkluh':_0x53b586(0xf7),'pSrap':_0x53b586(0x11b)},_0x504191=(await _0x3b7d6c[_0x53b586(0x155)]())[_0x53b586(0x120)]();let _0x5b2fb4='';if(commandRepository['isSelfHealEnabled']()&&_0x485f82[_0x53b586(0x117)](_0x135afa,![])||_0x485f82[_0x53b586(0x160)](_0x135afa,!![])){const _0x18aa1e=_0x485f82['PrMSB'](isNotUndefinedOrNull,_0x4c182c[_0x53b586(0xec)]['using'])&&_0x485f82[_0x53b586(0x13b)](isString,_0x4c182c[_0x53b586(0xec)][_0x53b586(0x140)])?_0x4c182c[_0x53b586(0xec)][_0x53b586(0x140)][_0x53b586(0x119)](/'/g,'\x5c\x27')['replace'](/"/g,'\x5c\x22'):'',_0x2f3bcf=_0x485f82['IoIHm'](isNotUndefinedOrNull,_0x4c182c[_0x53b586(0xec)]['using'])&&_0x485f82[_0x53b586(0x107)](isString,_0x4c182c[_0x53b586(0xec)][_0x53b586(0x132)])?_0x4c182c[_0x53b586(0xec)][_0x53b586(0x132)][_0x53b586(0x119)](/'/g,'\x5c\x27')[_0x53b586(0x119)](/"/g,'\x5c\x22'):'',_0x353bc7=_0x485f82[_0x53b586(0x107)](isNotUndefinedOrNull,commandRepository[_0x53b586(0x109)]())&&_0x485f82['PrMSB'](isString,commandRepository[_0x53b586(0x109)]())?commandRepository[_0x53b586(0x109)]()[_0x53b586(0x119)](/'/g,'\x5c\x27')[_0x53b586(0x119)](/"/g,'\x5c\x22'):'';let _0x8d4bc2=_0x485f82[_0x53b586(0x13b)](isNotUndefinedOrNull,global['browserstackSessionName'])&&_0x485f82['PrMSB'](isString,global[_0x53b586(0x152)])?global['browserstackSessionName'][_0x53b586(0x119)](/'/g,'\x5c\x27')[_0x53b586(0x119)](/"/g,'\x5c\x22'):'';!_0x8d4bc2&&(_0x8d4bc2=_0x485f82['PrMSB'](isNotUndefinedOrNull,commandRepository[_0x53b586(0x111)]())&&_0x485f82['ZHkDi'](isString,commandRepository['getTestName']())?commandRepository[_0x53b586(0x111)]()['replace'](/'/g,'\x5c\x27')[_0x53b586(0x119)](/"/g,'\x5c\x22'):'');let _0x5825e1=_0x53b586(0xfa)+constants['TCG_REGION']+'\x22,\x20\x22tcgUrls\x22:\x20{\x22'+constants[_0x53b586(0x11e)]+_0x53b586(0xf0)+constants[_0x53b586(0xed)][_0x53b586(0x134)](_0x485f82[_0x53b586(0x118)])[0x1]+_0x53b586(0x148);_0x5825e1=_0x485f82['elZHS'](isNotUndefinedOrNull,_0x5825e1)&&_0x485f82[_0x53b586(0x13b)](isString,_0x5825e1)?_0x5825e1[_0x53b586(0x119)](/'/g,'\x5c\x27')[_0x53b586(0x119)](/"/g,'\x5c\x22'):'';const _0x25a7e1=commandRepository[_0x53b586(0x133)](_0x504191),_0x2a28c3=globals[_0x53b586(0x151)](_0x485f82[_0x53b586(0x13f)]),_0x4d4214=globals[_0x53b586(0x151)](_0x485f82[_0x53b586(0x153)]),_0x2fdbb6=globals['getGlobal'](_0x485f82['FXoSy']),_0x1be913=![],_0x5aa73f=new Date();if(_0x135afa){const _0x2cbdc3=_0x485f82['kBIlG'](timeoutPromise,constants[_0x53b586(0x14a)],_0x485f82['WJGgu'],_0x485f82['WcOjS'],_0x5aa73f,this[_0x53b586(0x115)],this[_0x53b586(0xf3)]);_0x5b2fb4=await Promise['race']([this[_0x53b586(0x13c)][_0x53b586(0x139)](_0x18aa1e,_0x2f3bcf,_0x353bc7,_0x8d4bc2,_0x4d4214,_0x504191,_0x25a7e1,_0x5825e1)[_0x53b586(0x138)](_0x166d09=>{const _0x4c57e1=_0x53b586;return _0x2cbdc3[_0x4c57e1(0x136)](),_0x166d09;}),_0x2cbdc3]);}else{if(commandRepository['isSelfHealEnabled']()){const _0x4052f7=_0x485f82[_0x53b586(0x101)](timeoutPromise,constants['HEALING_FAILURE_TIMEOUT'],_0x485f82['nkluh'],_0x485f82['pSrap'],_0x5aa73f,this[_0x53b586(0x115)],this['framework']);_0x5b2fb4=await Promise[_0x53b586(0xf6)]([this['BrowserstackHealing'][_0x53b586(0x127)](_0x18aa1e,_0x2f3bcf,_0x353bc7,_0x8d4bc2,_0x2a28c3,_0x4d4214,_0x504191,_0x25a7e1,_0x1be913,_0x2fdbb6,_0x5825e1)[_0x53b586(0x138)](_0x135747=>{const _0x127a5b=_0x53b586;return _0x4052f7[_0x127a5b(0x136)](),_0x135747;}),_0x4052f7]);}}_0x5b2fb4&&await _0x3b7d6c[_0x53b586(0x15b)](_0x5b2fb4);}}async[a99_0x2aff36(0x106)](_0x305569,_0x288945,_0x1f971a){const _0x281f62=a99_0x2aff36;try{await this['_handleEvent'](_0x305569,_0x288945,_0x1f971a,!![]);}catch(_0x5e427a){return logger[_0x281f62(0xef)](_0x281f62(0x125)+(_0x5e427a&&_0x5e427a[_0x281f62(0x12e)]?_0x5e427a['message']:'')),![];}return!![];}async[a99_0x2aff36(0x13d)](_0x488b9e,_0x30154b,_0x23bdff){const _0x3f2d11=a99_0x2aff36,_0x1c4c9d={'qifjl':function(_0x912b21,_0x3a9b8c,_0x571f92,_0x7e25a3,_0x66ac4e,_0x2282e4,_0x1932d6){return _0x912b21(_0x3a9b8c,_0x571f92,_0x7e25a3,_0x66ac4e,_0x2282e4,_0x1932d6);},'UAIsA':_0x3f2d11(0x131),'KLzkM':_0x3f2d11(0xf2),'oDsaT':'aiHeal_sessionToken'};try{await this[_0x3f2d11(0xfe)](_0x488b9e,_0x30154b,_0x23bdff,![]);const _0xafd9f=(await _0x30154b[_0x3f2d11(0x155)]())[_0x3f2d11(0x120)](),_0x2769f1=new Date(),_0x370b43=_0x1c4c9d[_0x3f2d11(0xfc)](timeoutPromise,constants[_0x3f2d11(0x130)],_0x1c4c9d[_0x3f2d11(0x10f)],_0x1c4c9d[_0x3f2d11(0x15c)],_0x2769f1,this[_0x3f2d11(0x115)],this['framework']),_0x342452=await Promise['race']([this[_0x3f2d11(0x13c)][_0x3f2d11(0x116)](constants[_0x3f2d11(0xed)],_0xafd9f,globals[_0x3f2d11(0x151)](_0x1c4c9d[_0x3f2d11(0x113)]))['then'](_0x5ed660=>{const _0x27714e=_0x3f2d11;return _0x370b43[_0x27714e(0x136)](),_0x5ed660;}),_0x370b43]);if(_0x342452&&_0x342452[_0x3f2d11(0x150)]&&_0x342452[_0x3f2d11(0x132)]){const _0x332a18={};return _0x332a18['locatorType']=_0x342452['selector'],_0x332a18['locatorValue']=_0x342452[_0x3f2d11(0x132)],_0x332a18['aiHealing']=!![],_0x332a18;}const _0xb054b9={};return _0xb054b9[_0x3f2d11(0x159)]=_0x23bdff[_0x3f2d11(0xec)][_0x3f2d11(0x140)],_0xb054b9['locatorValue']=_0x342452['value'],_0xb054b9[_0x3f2d11(0xf1)]=!![],_0xb054b9;}catch(_0x310de0){return logger[_0x3f2d11(0x10e)](_0x3f2d11(0x102)+(_0x310de0&&_0x310de0[_0x3f2d11(0x12e)]?_0x310de0['message']:'')),logger[_0x3f2d11(0x145)](_0x3f2d11(0x100)+_0x23bdff['name_']+'\x20command'),_0x23bdff;}}}exports['aiSdkWrapper']=Object['freeze'](new AiSdkWrapper());
|