browserstack-node-sdk 1.50.0 → 1.50.1
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
|
+
function a94_0x434e(_0x3c018c,_0x16bab7){const _0xc16b80=a94_0xc16b();return a94_0x434e=function(_0x434ee6,_0x309b14){_0x434ee6=_0x434ee6-0x1c4;let _0xc3b420=_0xc16b80[_0x434ee6];return _0xc3b420;},a94_0x434e(_0x3c018c,_0x16bab7);}const a94_0xc863f9=a94_0x434e;(function(_0xba3cba,_0x24009b){const _0x27342e=a94_0x434e,_0x402397=_0xba3cba();while(!![]){try{const _0x38f3d7=parseInt(_0x27342e(0x1df))/0x1+parseInt(_0x27342e(0x25f))/0x2*(parseInt(_0x27342e(0x27f))/0x3)+-parseInt(_0x27342e(0x23c))/0x4*(parseInt(_0x27342e(0x282))/0x5)+parseInt(_0x27342e(0x230))/0x6+-parseInt(_0x27342e(0x227))/0x7+-parseInt(_0x27342e(0x20c))/0x8*(-parseInt(_0x27342e(0x28b))/0x9)+parseInt(_0x27342e(0x2ac))/0xa*(-parseInt(_0x27342e(0x217))/0xb);if(_0x38f3d7===_0x24009b)break;else _0x402397['push'](_0x402397['shift']());}catch(_0x22a5be){_0x402397['push'](_0x402397['shift']());}}}(a94_0xc16b,0x35e5a));const util=require(a94_0xc863f9(0x2b4)),os=require('os'),path=require(a94_0xc863f9(0x2c0)),{v4:uuidv4}=require(a94_0xc863f9(0x264)),fs=require('fs'),constants=require('../bin/utils/constants'),logger=require(a94_0xc863f9(0x28c))['winstonLogger'],fileLogger=require(a94_0xc863f9(0x28c))['fileLogger'],{getLogDir}=require('./logger'),helper=require(a94_0xc863f9(0x1c4)),utilities=require(a94_0xc863f9(0x237)),percyHelper=require(a94_0xc863f9(0x20b)),hubAllocator=require(a94_0xc863f9(0x27e)),PerformanceTester=require(a94_0xc863f9(0x283)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents}=require(a94_0xc863f9(0x266)),{setPercyFlag}=require(a94_0xc863f9(0x2ca)),TestHubHandler=require(a94_0xc863f9(0x202)),timeoutPromise=require(a94_0xc863f9(0x223)),BrowserstackCLI=require(a94_0xc863f9(0x221)),LoadTestModule=require(a94_0xc863f9(0x2c5)),{getEdsInstrumentationAPIUrl}=require(a94_0xc863f9(0x29c)),ClientTroubleShootingService=require(a94_0xc863f9(0x1e2));function a94_0xc16b(){const _0x49bc00=['warn','init','Something\x20went\x20wrong.\x20Disabling\x20healing\x20for\x20this\x20session.\x20Please\x20try\x20again\x20later.','Percy\x20stopped','22594rVoYFq','Shutdown\x20triggered\x20by\x20','Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','Jomkq','XRSPQ','uuid','isTrialGrid','./performance/constants','iBhAj','pDfgu','Data\x20sent\x20successfully\x20to\x20','Zotnp','includes','mFohF','statusCode','getAccessKey','Local\x20binary\x20not\x20started\x20as\x20skipBinaryInitialisation\x20is\x20enabled','unhandledErrors','killSignal','luYRj','DPBoX','setLogLevel','JHruu','vfCkT','HUB_MANAGEMENT','ELRyC','win32','constructor','browserstackLocal','VCdql','vkjCM','../hubAllocationMethods','60aoDyHs','IhVrd','Failed\x20to\x20send\x20data\x20to\x20','5pvAzUu','./performance/performance-tester','central_scanner','format','setProxySettings','5|18|7|6|9|11|3|13|22|1|4|15|16|8|0|2|17|19|21|20|23|12|14|10','platforms','toString','readConfig','702234JONdEO','./logger','handleExceptions','playwrightUrl','SIGABRT','Tsomu','HUB\x20URL\x20SET\x20TO\x20TurboScale\x20HUB\x20-\x20','tKytr','ODHTT','then','finalize','race','stopBrowserstackLocal','writeFileSync','UPGRADE_REQUIRED','selenium-webdriver','percy','../bin/utils/apiUtilityMethods','cggdg','integrations','setCLICaps','setupBrowserstackLocal','setupKeepAlive','proxyUrl','Calling\x20Build\x20Stop\x20from\x20ExitHandler','platform','selfHeal','close','fireFunnelTestEvent','turboScaleUrl','Healing\x20is\x20not\x20enabled\x20for\x20your\x20group,\x20please\x20contact\x20the\x20admin','JAbRE','join','90NeUrZx','__isPlaywrightInstalled','SRQsi','measures','skipSessionName','false','SIGBREAK','TCG_URL','util','ehShZ','Error\x20in\x20sending\x20testhub\x20stop:\x20','accessKey','umlHM','startMonitoring','CXdVe','hubUrl','hmVlH','No\x20config\x20provided.','split','isAuthenticated','path','proxy','SIGQUIT','NYKxw','jWdfa','../bin/v2/modules/loadTestModule','errorMessage','envConfig','version','FGVQi','./testhub/utils','status','startPercy','reportFinalDetectionState','EvIeS','startLocalBinary','KsGCm','SDK\x20run\x20started\x20with\x20id:\x20','pnZzi','./helper','SDK_CLEANUP','fNGqc','exceptions','Error\x20occured\x20while\x20stopping\x20local\x20binary','stringify','skipSessionStatus','1|0|6|5|7|3|2|4','bind','TCG_AUTH_FAILURE','playwright','preInitialize','Error\x20in\x20percy\x20setup\x20','stop','url','exitHandler','jTaAb','getPackageVersion','compareVersions','getUserName','bstackConfig','SIGINT','BROWSERSTACK_PERCY','beforeExit','GpdyB','allocateHub','cliConfig','414066IrEcIP','isNotUndefined','ipoFb','../bin/utils/clientTroubleshootingService','Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20','ZiggS','message','TCG_DOWN','nMmDw','getConfigPath','\x20with\x20error\x20','AI_PROXY_FAILURE','ZhlAp','error','toLowerCase','customRepeaters','setCredentialsFromYmlConfig','AI_INIT_SUCCESSFUL','default','localIdentifier','../ai-sdk-node/bundle','events.json','kSjhC','FRAMEWORK','SIGHUP','useW3C','QuUuh','userName\x20or\x20accessKey\x20is\x20not\x20defined','uncaughtException','initialize','gGtaU','testContextOptions','configPath','framework','OVRGw','./testhub/testhubHandler','lFyTF','setBrowserstackInfraFromConfig','length','vjrDG','BrowserstackHealingInitFailed','isBrowserstackInfra','isUndefined','INVALID_INIT_RESP_WITH_USER_IMPACT','./percy/utils','8cuhUAu','generateLocalIdentifier','HigkW','\x20with\x20response\x20','unhandledRejection','getInstance','sdkRunId','ernjv','stopLocalBinary','tglGu','mbmQm','250206OoFAwt','isTrue','parallelsPerPlatform','./setKeepAlive','config','info','setHandlePWError','isRunning','SBpex','VUYoz','../bin/v2/browserstackCLI','MwrqQ','./timeoutPromise','jByjG','Authentication\x20Failed.\x20Disabling\x20Healing\x20for\x20this\x20session.','isTurboScaleSession','2443819xWaaOk','aiHeal:tcgAuth','push','BROWSERSTACK_TURBOSCALE','Local\x20binary\x20started\x20successfully','jjCoG','ltmUl','TjdfO','AI_INIT_FAILURE','1961826vpHxsY','oqAsc','browserStackLocalOptions','setUpHubUrl','dhNTh','mZBpw','skipBinaryInitialisation','./utilities','4.5.0','hfXRd','intExitHandler','isHealingEnabled','1081640lfOXmF','getTurboScaleGridDetails','sendToEDS','getLocalIdentifier','BrowserstackHealing.init','nHRdE','sanitizeCaps','end','CiZwW','setupTcgConfigFile','BvwTZ','XpuAF','Please\x20upgrade\x20Browserstack\x20SDK\x20to\x20the\x20latest\x20version\x20to\x20use\x20the\x20self-healing\x20feature.','true','turboScaleOptions','setLogDir','pnJPS','forceLocal','env','getFinalCaps','tcgAuthConfig','Local\x20binary\x20stopped','isLTSSession','turboScaleGridDetails','RQxFZ','stopPercy','SDKTestAttempted','setEnvCaps','mWonC','debug','LUnjB'];a94_0xc16b=function(){return _0x49bc00;};return a94_0xc16b();}class BrowserStackSetup{constructor(_0x5320b4,_0x433d10){const _0x52e4d8=a94_0xc863f9,_0x398111={'IFHkO':_0x52e4d8(0x287),'ZhlAp':_0x52e4d8(0x2bd),'vfCkT':function(_0x1f99fe){return _0x1f99fe();}},_0x15bf50=_0x398111['IFHkO']['split']('|');let _0x14b8e6=0x0;while(!![]){switch(_0x15bf50[_0x14b8e6++]){case'0':if(helper['isUndefined'](this['config']))throw new Error(_0x398111[_0x52e4d8(0x1eb)]);continue;case'1':this[_0x52e4d8(0x21b)][_0x52e4d8(0x1fe)]=this[_0x52e4d8(0x21b)]['testContextOptions']||{};continue;case'2':if(this['config'][_0x52e4d8(0x1ec)])throw new Error(this[_0x52e4d8(0x21b)]['error']);continue;case'3':this[_0x52e4d8(0x21b)]=helper[_0x52e4d8(0x28a)](this[_0x52e4d8(0x1ff)]);continue;case'4':this[_0x52e4d8(0x2c6)]={};continue;case'5':this['unhandledErrors']=[];continue;case'6':this[_0x52e4d8(0x27b)]=null;continue;case'7':this[_0x52e4d8(0x2c7)]=helper[_0x52e4d8(0x257)]();continue;case'8':global[_0x52e4d8(0x200)]=_0x433d10;continue;case'9':this[_0x52e4d8(0x29b)]=null;continue;case'10':PerformanceTester[_0x52e4d8(0x2b9)]();continue;case'11':this[_0x52e4d8(0x1ff)]=helper[_0x52e4d8(0x1e8)](_0x5320b4);continue;case'12':helper[_0x52e4d8(0x24b)](this[_0x52e4d8(0x21b)]);continue;case'13':this[_0x52e4d8(0x1de)]=helper[_0x52e4d8(0x29f)](_0x5320b4);continue;case'14':helper[_0x52e4d8(0x274)](this[_0x52e4d8(0x21b)],this[_0x52e4d8(0x1de)],this[_0x52e4d8(0x2c7)]);continue;case'15':this[_0x52e4d8(0x212)]=_0x398111[_0x52e4d8(0x276)](uuidv4);continue;case'16':this[_0x52e4d8(0x200)]=_0x433d10;continue;case'17':helper[_0x52e4d8(0x204)](this[_0x52e4d8(0x21b)],this[_0x52e4d8(0x1de)]);continue;case'18':helper['normalizeTestReportingEnvVars']();continue;case'19':helper[_0x52e4d8(0x1ef)](this[_0x52e4d8(0x21b)]);continue;case'20':this[_0x52e4d8(0x21b)]['testContextOptions'][_0x52e4d8(0x2b0)]=!helper['isBrowserstackInfra']()||helper['isTrue'](this[_0x52e4d8(0x21b)][_0x52e4d8(0x1fe)][_0x52e4d8(0x2b0)]);continue;case'21':this[_0x52e4d8(0x21b)][_0x52e4d8(0x1fe)]['skipSessionStatus']=!helper[_0x52e4d8(0x208)]()||helper['isTrue'](this['config'][_0x52e4d8(0x1fe)][_0x52e4d8(0x1ca)]);continue;case'22':this[_0x52e4d8(0x21b)][_0x52e4d8(0x288)]=this[_0x52e4d8(0x21b)]['platforms']||[];continue;case'23':helper[_0x52e4d8(0x24f)](this['config'],this[_0x52e4d8(0x1de)],this[_0x52e4d8(0x2c7)]);continue;}break;}}[a94_0xc863f9(0x1cf)](_0x438d57){const _0x396dad=a94_0xc863f9,_0x4ef92d={'RQxFZ':_0x396dad(0x1fa),'FGVQi':function(_0x327f6c,_0x1007e1){return _0x327f6c===_0x1007e1;},'fNGqc':_0x396dad(0x29e),'LEHcv':_0x396dad(0x256),'JHruu':function(_0x1f7eeb,_0xb18acc){return _0x1f7eeb<_0xb18acc;},'mWonC':function(_0x167ed7,_0x22516d){return _0x167ed7(_0x22516d);},'vkjCM':_0x396dad(0x29a),'eraes':_0x396dad(0x238),'LUnjB':_0x396dad(0x261),'pnZzi':'parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','cggdg':'SIGTERM','kSjhC':_0x396dad(0x1d9),'TjdfO':_0x396dad(0x1f7),'jjCoG':function(_0xcfad31,_0x39c209){return _0xcfad31!==_0x39c209;},'DPBoX':_0x396dad(0x279),'oDWfV':_0x396dad(0x28f),'KsGCm':_0x396dad(0x2c2),'XRSPQ':_0x396dad(0x2b2),'ZiggS':_0x396dad(0x1db)},_0x202418=this[_0x396dad(0x200)];global[_0x396dad(0x21b)]=this[_0x396dad(0x21b)],helper[_0x396dad(0x242)](this[_0x396dad(0x21b)]),this[_0x396dad(0x271)]=null,global[_0x396dad(0x212)]=this[_0x396dad(0x212)],logger[_0x396dad(0x21c)](_0x396dad(0x2d1)+this[_0x396dad(0x212)]),!this[_0x396dad(0x21b)][_0x396dad(0x232)]&&(this[_0x396dad(0x21b)][_0x396dad(0x232)]=this[_0x396dad(0x21b)]['localOptions']||{});if(helper[_0x396dad(0x209)](helper[_0x396dad(0x1d7)](this[_0x396dad(0x21b)]))||helper['isUndefined'](helper[_0x396dad(0x26e)](this[_0x396dad(0x21b)])))throw new Error(_0x4ef92d[_0x396dad(0x254)]);helper['getLocalConfig'](this[_0x396dad(0x21b)])&&helper[_0x396dad(0x209)](helper[_0x396dad(0x23f)](this[_0x396dad(0x21b)]))&&(!helper[_0x396dad(0x209)](this['config'][_0x396dad(0x232)])&&_0x4ef92d['FGVQi'](this[_0x396dad(0x21b)][_0x396dad(0x232)][_0x396dad(0x27a)],Object)?!helper[_0x396dad(0x218)](this[_0x396dad(0x21b)]['browserStackLocalOptions'][_0x396dad(0x236)])&&(this[_0x396dad(0x21b)]['browserStackLocalOptions'][_0x396dad(0x1f2)]=helper[_0x396dad(0x20d)]()):this[_0x396dad(0x21b)][_0x396dad(0x232)]={'localIdentifier':helper[_0x396dad(0x20d)]()});this[_0x396dad(0x21b)][_0x396dad(0x232)][_0x396dad(0x236)]=helper['isTrue'](this['config'][_0x396dad(0x232)]['skipBinaryInitialisation']),helper[_0x396dad(0x21d)](this[_0x396dad(0x21b)]);if(_0x4ef92d['FGVQi'](_0x202418,_0x4ef92d[_0x396dad(0x1c6)]))return;this[_0x396dad(0x28d)]();process[_0x396dad(0x24e)]['BROWSERSTACK_TURBOSCALE']&&(this[_0x396dad(0x21b)]['turboScale']=helper[_0x396dad(0x218)](process['env']['BROWSERSTACK_TURBOSCALE']),this['config'][_0x396dad(0x24a)]=this['config'][_0x396dad(0x24a)]||{});helper[_0x396dad(0x226)](this[_0x396dad(0x21b)])&&(process[_0x396dad(0x24e)][_0x396dad(0x22a)]=!![]);LoadTestModule[_0x396dad(0x252)](this[_0x396dad(0x21b)])&&logger['debug']('LTS\x20session\x20enabled\x20for\x20this\x20run.\x20SDK\x20run\x20id:\x20'+this[_0x396dad(0x212)]);if(!helper[_0x396dad(0x208)]()){try{process['env'][_0x396dad(0x1f6)]=_0x202418,utilities[_0x396dad(0x2a7)](_0x4ef92d['LEHcv'],{},this[_0x396dad(0x21b)],this['framework']);}catch(_0x4b5e44){logger[_0x396dad(0x259)](_0x396dad(0x1e3)+_0x4b5e44);}return;}if(helper['requireSeleniumWebdriverCheck'](_0x202418)){if(global[_0x396dad(0x2ad)])return;_0x4ef92d[_0x396dad(0x275)](_0x4ef92d[_0x396dad(0x258)](parseInt,helper[_0x396dad(0x1d5)](_0x4ef92d[_0x396dad(0x27d)])),0x3)&&(this['config'][_0x396dad(0x1f8)]=![]),_0x4ef92d[_0x396dad(0x2c9)](helper[_0x396dad(0x1d6)](helper[_0x396dad(0x1d5)](_0x4ef92d[_0x396dad(0x27d)]),_0x4ef92d['eraes']),0x1)&&(this['config']['useW3C']=!![]);}(helper['isUndefined'](this[_0x396dad(0x21b)][_0x396dad(0x288)])||helper[_0x396dad(0x209)](this[_0x396dad(0x21b)]['platforms'][_0x396dad(0x205)]))&&(helper[_0x396dad(0x209)](this[_0x396dad(0x21b)][_0x396dad(0x219)])?logger[_0x396dad(0x21c)](_0x4ef92d[_0x396dad(0x25a)]):logger[_0x396dad(0x25b)](_0x4ef92d[_0x396dad(0x2d2)]),this[_0x396dad(0x21b)]['platforms']=[]);!this[_0x396dad(0x21b)][_0x396dad(0x1fe)]&&(this[_0x396dad(0x21b)][_0x396dad(0x1fe)]={});try{process[_0x396dad(0x24e)][_0x396dad(0x1f6)]=_0x438d57['_'][0x0],utilities[_0x396dad(0x2a7)](_0x4ef92d['LEHcv'],{},this[_0x396dad(0x21b)],this[_0x396dad(0x200)]);}catch(_0x3f2fa8){logger[_0x396dad(0x259)]('Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20'+_0x3f2fa8);}!this[_0x396dad(0x21b)]['disableAutoCaptureLogs']&&logger['info'](constants['AUTOLOGCAPTURE_NOTIFICATION']),this[_0x396dad(0x23a)]=this[_0x396dad(0x23a)][_0x396dad(0x1cc)](this),process['on'](_0x4ef92d[_0x396dad(0x29d)],this['intExitHandler']),process['on'](_0x4ef92d[_0x396dad(0x1f5)],this['intExitHandler']),process['on'](_0x4ef92d[_0x396dad(0x22e)],this['intExitHandler']),_0x4ef92d[_0x396dad(0x22c)](process[_0x396dad(0x2a4)],_0x4ef92d[_0x396dad(0x273)])?(process['on'](_0x4ef92d['oDWfV'],this['intExitHandler']),process['on'](_0x4ef92d[_0x396dad(0x2d0)],this[_0x396dad(0x23a)])):process['on'](_0x4ef92d[_0x396dad(0x263)],this[_0x396dad(0x23a)]),process['on'](_0x4ef92d[_0x396dad(0x1e4)],this[_0x396dad(0x1d3)]());}async[a94_0xc863f9(0x1fc)](_0xae3aa1){const _0x2b10fd=a94_0xc863f9,_0x4df0a7={'EPJRp':'ats-repeater','jByjG':'custom-repeater','OVRGw':_0x2b10fd(0x249),'mFohF':function(_0x4274a0,_0x42f290){return _0x4274a0===_0x42f290;},'Jomkq':_0x2b10fd(0x1ce),'SBpex':function(_0x6bdeb3,_0x16eb7c){return _0x6bdeb3+_0x16eb7c;},'lFyTF':'?caps=','ELRyC':function(_0x25f6d6,_0x56c00){return _0x25f6d6(_0x56c00);},'mbmQm':'codeceptjs'};this[_0x2b10fd(0x1cf)](_0xae3aa1);if(helper['isTurboScaleSession'](this[_0x2b10fd(0x21b)])){const _0x402b56=await helper[_0x2b10fd(0x23d)](this[_0x2b10fd(0x21b)]);this[_0x2b10fd(0x21b)][_0x2b10fd(0x253)]=_0x402b56,_0x402b56[_0x2b10fd(0x265)]&&helper[_0x2b10fd(0x1e0)](this[_0x2b10fd(0x21b)][_0x2b10fd(0x27b)])&&helper[_0x2b10fd(0x218)](this['config'][_0x2b10fd(0x27b)])&&(this[_0x2b10fd(0x21b)][_0x2b10fd(0x232)]['localIdentifier']=_0x4df0a7['EPJRp'],this[_0x2b10fd(0x21b)][_0x2b10fd(0x232)][_0x4df0a7[_0x2b10fd(0x224)]]=_0x402b56[_0x2b10fd(0x1ee)]['join'](','),this[_0x2b10fd(0x21b)][_0x2b10fd(0x232)][_0x2b10fd(0x24d)]=_0x4df0a7[_0x2b10fd(0x201)]),this[_0x2b10fd(0x21b)][_0x2b10fd(0x2a8)]=_0x402b56[_0x2b10fd(0x1d2)],this[_0x2b10fd(0x200)]&&_0x4df0a7[_0x2b10fd(0x26c)](this[_0x2b10fd(0x200)][_0x2b10fd(0x1ed)](),_0x4df0a7['Jomkq'])?this['config'][_0x2b10fd(0x2a8)]=_0x4df0a7[_0x2b10fd(0x21f)](_0x402b56[_0x2b10fd(0x28e)],_0x4df0a7[_0x2b10fd(0x203)]):constants[_0x2b10fd(0x2bb)]=helper['getHubUrl'](this[_0x2b10fd(0x21b)]),logger[_0x2b10fd(0x259)](_0x2b10fd(0x291)+constants[_0x2b10fd(0x2bb)]);}helper[_0x2b10fd(0x286)](this['config']),this[_0x2b10fd(0x2a1)](),_0x4df0a7[_0x2b10fd(0x278)](setPercyFlag,this),await this[_0x2b10fd(0x2a0)](),![_0x4df0a7[_0x2b10fd(0x216)],_0x4df0a7[_0x2b10fd(0x262)]][_0x2b10fd(0x26b)](this[_0x2b10fd(0x200)])&&!helper[_0x2b10fd(0x226)](this['config'])&&!helper['getCentralUser']()[_0x2b10fd(0x284)]&&await this['setUpHubUrl']();}async['setupPercy'](){const _0x1148f2=a94_0xc863f9,_0x5750be={};_0x5750be[_0x1148f2(0x1f9)]=function(_0x1d3111,_0x17704c){return _0x1d3111===_0x17704c;},_0x5750be[_0x1148f2(0x222)]=_0x1148f2(0x2b1),_0x5750be[_0x1148f2(0x292)]='Could\x20not\x20start\x20percy,\x20check\x20percy\x20logs\x20for\x20info.',_0x5750be['IbtdM']='Percy\x20started\x20successfully',_0x5750be[_0x1148f2(0x2ae)]=_0x1148f2(0x249),_0x5750be[_0x1148f2(0x267)]=_0x1148f2(0x1db);const _0x430c90=_0x5750be;if(helper['isTrue'](this[_0x1148f2(0x21b)][_0x1148f2(0x29b)])&&(!this[_0x1148f2(0x29b)]||!this[_0x1148f2(0x29b)][_0x1148f2(0x21e)]()))try{this[_0x1148f2(0x29b)]=await percyHelper[_0x1148f2(0x2cc)](this[_0x1148f2(0x21b)]);if(!this[_0x1148f2(0x29b)]){process[_0x1148f2(0x24e)][_0x1148f2(0x1da)]=_0x430c90['MwrqQ'];throw new Error(_0x430c90[_0x1148f2(0x292)]);}logger[_0x1148f2(0x21c)](_0x430c90['IbtdM']),process[_0x1148f2(0x24e)][_0x1148f2(0x1da)]=_0x430c90[_0x1148f2(0x2ae)];let _0x3135cc=0x0;const _0x378836=async()=>{const _0x3e157e=_0x1148f2;_0x3135cc++,_0x430c90[_0x3e157e(0x1f9)](_0x3135cc,0x1)&&await this['stopPercy']();};process['on'](_0x430c90[_0x1148f2(0x267)],_0x378836);}catch(_0x385412){process[_0x1148f2(0x24e)][_0x1148f2(0x1da)]=_0x430c90[_0x1148f2(0x222)],logger[_0x1148f2(0x259)](_0x1148f2(0x1d0)+_0x385412);throw new Error(_0x385412[_0x1148f2(0x289)]());}}async[a94_0xc863f9(0x255)](){const _0xb32c55=a94_0xc863f9,_0x2e53f1={};_0x2e53f1[_0xb32c55(0x234)]=_0xb32c55(0x25e),_0x2e53f1['UteyH']='Error\x20occured\x20while\x20stopping\x20percy';const _0x20d483=_0x2e53f1;if(this[_0xb32c55(0x29b)]&&this[_0xb32c55(0x29b)]['isRunning']())try{await percyHelper[_0xb32c55(0x255)](this[_0xb32c55(0x29b)]),logger[_0xb32c55(0x21c)](_0x20d483[_0xb32c55(0x234)]);}catch(_0x567dd7){logger['error'](_0x20d483['UteyH'],_0x567dd7['message']);}}async[a94_0xc863f9(0x2a0)](){const _0x3c1708=a94_0xc863f9,_0x1b6938={};_0x1b6938[_0x3c1708(0x246)]=_0x3c1708(0x26f),_0x1b6938[_0x3c1708(0x247)]=_0x3c1708(0x22b);const _0x320323=_0x1b6938;if(helper[_0x3c1708(0x208)]()&&helper[_0x3c1708(0x218)](this[_0x3c1708(0x21b)]['browserstackLocal'])&&(!this[_0x3c1708(0x27b)]||!this[_0x3c1708(0x27b)][_0x3c1708(0x21e)]()))try{if(this[_0x3c1708(0x21b)][_0x3c1708(0x232)][_0x3c1708(0x236)]){logger['debug'](_0x320323[_0x3c1708(0x246)]);return;}this[_0x3c1708(0x27b)]=await helper[_0x3c1708(0x2cf)](this[_0x3c1708(0x21b)]),logger[_0x3c1708(0x21c)](_0x320323[_0x3c1708(0x247)]);}catch(_0x5d961a){logger[_0x3c1708(0x259)](_0x5d961a);throw new Error(_0x5d961a[_0x3c1708(0x289)]());}}async[a94_0xc863f9(0x297)](){const _0x3077ef=a94_0xc863f9,_0x237d6b={};_0x237d6b[_0x3077ef(0x293)]=_0x3077ef(0x251),_0x237d6b[_0x3077ef(0x235)]=_0x3077ef(0x1c8);const _0x464e91=_0x237d6b;if(this[_0x3077ef(0x27b)]&&this[_0x3077ef(0x27b)][_0x3077ef(0x21e)]())try{await helper[_0x3077ef(0x214)](this[_0x3077ef(0x27b)]),logger['info'](_0x464e91[_0x3077ef(0x293)]);}catch(_0x1095fa){logger['error'](_0x464e91[_0x3077ef(0x235)],_0x1095fa[_0x3077ef(0x1e5)]);}}async[a94_0xc863f9(0x233)](){const _0x22ba52=a94_0xc863f9;return PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x22ba52(0x277)],async()=>{const _0x3dea93=_0x22ba52;await hubAllocator[_0x3dea93(0x1dd)](this[_0x3dea93(0x21b)]);})();}async['setupTCGAuth'](){const _0x4d6725=a94_0xc863f9,_0x82afde={'ehShZ':function(_0x574786,_0x3581eb){return _0x574786(_0x3581eb);},'HigkW':_0x4d6725(0x1f3),'SDjFi':function(_0xc31595,_0x57d4c1,_0x351779,_0x4f033f,_0x5f21c2,_0x51a1de,_0x135209){return _0xc31595(_0x57d4c1,_0x351779,_0x4f033f,_0x5f21c2,_0x51a1de,_0x135209);},'CXdVe':'BrowserstackHealing.init\x20method\x20timed\x20out','ipoFb':_0x4d6725(0x207),'nMmDw':'../../package.json','hmVlH':_0x4d6725(0x240),'tglGu':function(_0x1c27bd,_0x552490){return _0x1c27bd(_0x552490);},'ltmUl':function(_0x55b77f,_0x2a1882){return _0x55b77f===_0x2a1882;},'jWdfa':_0x4d6725(0x249),'nHRdE':function(_0x205310,_0x4ba968){return _0x205310===_0x4ba968;},'LBBIl':_0x4d6725(0x248),'aVgWA':function(_0x3d07ef,_0x3a0042){return _0x3d07ef===_0x3a0042;},'oqAsc':_0x4d6725(0x25d),'jDPJO':_0x4d6725(0x225),'bEpYl':function(_0x333229,_0x27d9cb){return _0x333229(_0x27d9cb);},'hfXRd':_0x4d6725(0x2a9),'pDfgu':function(_0x3f0c9a,_0x22e84d){return _0x3f0c9a>=_0x22e84d;},'GpdyB':function(_0x162a04,_0x149f4b){return _0x162a04<_0x149f4b;},'VUYoz':function(_0x30effd,_0x2c420f){return _0x30effd>=_0x2c420f;},'jTaAb':'tcg\x20config\x20setup\x20successful.','Zotnp':_0x4d6725(0x228),'oaMNS':function(_0x4bb8e0){return _0x4bb8e0();}},_0x58e875=PerformanceTester['measureWrapper'](_0x82afde[_0x4d6725(0x26a)],async()=>{const _0x3fd8ce=_0x4d6725;try{const _0x148711=new Date(),_0x49dbfa=helper['getProxyConfigForTcg'](this[_0x3fd8ce(0x21b)]),_0x33666d=_0x82afde[_0x3fd8ce(0x2b5)](require,path[_0x3fd8ce(0x2ab)](__dirname,_0x82afde[_0x3fd8ce(0x20e)])),_0x2fcd36=_0x82afde['SDjFi'](timeoutPromise,constants['TCG_AUTH_TIMEOUT'],_0x82afde[_0x3fd8ce(0x2ba)],_0x82afde[_0x3fd8ce(0x1e1)],_0x148711,this['config'],this[_0x3fd8ce(0x200)]),_0x5053ae={'tcgUrl':constants['TCG_URL'],'sdkVersion':_0x82afde[_0x3fd8ce(0x2b5)](require,_0x82afde['nMmDw'])[_0x3fd8ce(0x2c8)],'methodUsed':_0x82afde[_0x3fd8ce(0x2bc)],'proxyConfig':_0x49dbfa,'os':os['platform']()};if(_0x49dbfa&&_0x49dbfa[_0x3fd8ce(0x2a2)]){utilities['fireFunnelTestEvent'](constants[_0x3fd8ce(0x1ea)],_0x5053ae,this[_0x3fd8ce(0x21b)],this['framework']);return;}const _0x2a39d7={};_0x2a39d7[_0x3fd8ce(0x2c1)]=_0x49dbfa;const _0x297b72=await Promise[_0x3fd8ce(0x296)]([_0x33666d[_0x3fd8ce(0x25c)](this[_0x3fd8ce(0x21b)][_0x3fd8ce(0x2b7)],this[_0x3fd8ce(0x21b)]['userName'],constants[_0x3fd8ce(0x2b3)],_0x82afde[_0x3fd8ce(0x215)](require,_0x82afde[_0x3fd8ce(0x1e7)])[_0x3fd8ce(0x2c8)],_0x2a39d7)[_0x3fd8ce(0x294)](_0x2f46d4=>{return _0x2fcd36['cancel'](),_0x2f46d4;}),_0x2fcd36]);_0x297b72[_0x3fd8ce(0x23b)]=_0x82afde['ltmUl'](_0x297b72[_0x3fd8ce(0x23b)],_0x82afde['jWdfa'])||_0x82afde[_0x3fd8ce(0x241)](_0x297b72[_0x3fd8ce(0x23b)],!![]);const _0x98c09b=_0x82afde[_0x3fd8ce(0x22d)](this['config'][_0x3fd8ce(0x2a5)],!![])||_0x82afde[_0x3fd8ce(0x241)](this[_0x3fd8ce(0x21b)][_0x3fd8ce(0x2a5)],_0x82afde[_0x3fd8ce(0x2c4)]);if(_0x82afde[_0x3fd8ce(0x241)](_0x297b72[_0x3fd8ce(0x1e5)],constants[_0x3fd8ce(0x299)])&&_0x98c09b)logger['info'](_0x82afde['LBBIl']);else{if(!_0x297b72[_0x3fd8ce(0x2bf)]&&_0x82afde['aVgWA'](_0x297b72[_0x3fd8ce(0x2cb)],0x1f7)&&_0x98c09b)logger[_0x3fd8ce(0x21c)](_0x82afde[_0x3fd8ce(0x231)]),utilities['fireFunnelTestEvent'](constants[_0x3fd8ce(0x1e6)],_0x5053ae,this['config'],this[_0x3fd8ce(0x200)]);else{if(!_0x297b72[_0x3fd8ce(0x2bf)]&&_0x98c09b){logger[_0x3fd8ce(0x21c)](_0x82afde['jDPJO']);const _0x3a0b40={'tcgUrl':constants[_0x3fd8ce(0x2b3)],'sdkVersion':_0x82afde['bEpYl'](require,_0x82afde[_0x3fd8ce(0x1e7)])[_0x3fd8ce(0x2c8)],'methodUsed':_0x82afde[_0x3fd8ce(0x2bc)],'proxyConfig':_0x49dbfa,'os':os[_0x3fd8ce(0x2a4)]()};utilities[_0x3fd8ce(0x2a7)](constants[_0x3fd8ce(0x1cd)],_0x3a0b40,this[_0x3fd8ce(0x21b)],this[_0x3fd8ce(0x200)]);}else{if(_0x297b72[_0x3fd8ce(0x2bf)]&&!_0x297b72[_0x3fd8ce(0x23b)]&&_0x98c09b)logger[_0x3fd8ce(0x21c)](_0x82afde[_0x3fd8ce(0x239)]);else{if(_0x82afde[_0x3fd8ce(0x268)](_0x297b72['status'],0xc8)&&_0x82afde[_0x3fd8ce(0x1dc)](_0x297b72[_0x3fd8ce(0x2cb)],0x12c))utilities[_0x3fd8ce(0x2a7)](constants[_0x3fd8ce(0x1f0)],_0x5053ae,this[_0x3fd8ce(0x21b)],this[_0x3fd8ce(0x200)]);else{if(_0x82afde[_0x3fd8ce(0x220)](_0x297b72['status'],0x190))_0x5053ae[_0x3fd8ce(0x2cb)]=_0x297b72['status'],utilities[_0x3fd8ce(0x2a7)](constants[_0x3fd8ce(0x22f)],_0x5053ae,this[_0x3fd8ce(0x21b)],this[_0x3fd8ce(0x200)]);else!_0x297b72[_0x3fd8ce(0x2cb)]&&utilities[_0x3fd8ce(0x2a7)](constants[_0x3fd8ce(0x20a)],_0x5053ae,this['config'],this['framework']);}}}}}if(_0x297b72[_0x3fd8ce(0x2bf)]&&_0x297b72[_0x3fd8ce(0x23b)]){const _0x16e78d={};_0x16e78d[_0x3fd8ce(0x250)]=_0x297b72;const _0x1a97fc=_0x16e78d;_0x49dbfa&&(_0x1a97fc['proxyConfig']=_0x49dbfa),_0x1a97fc[_0x3fd8ce(0x200)]=this[_0x3fd8ce(0x200)],_0x1a97fc[_0x3fd8ce(0x1d8)]=this['config'],helper[_0x3fd8ce(0x245)](_0x1a97fc),logger[_0x3fd8ce(0x259)](_0x82afde[_0x3fd8ce(0x1d4)]);}}catch(_0x2e9a5c){logger[_0x3fd8ce(0x259)]('Error\x20in\x20setting\x20up\x20tcg\x20authconfig.\x20Error:\x20'+(_0x2e9a5c[_0x3fd8ce(0x1e5)]?_0x2e9a5c[_0x3fd8ce(0x1e5)]:''));}});await _0x82afde['oaMNS'](_0x58e875);}['setupKeepAlive'](){const _0x3aa77e=a94_0xc863f9,_0x317cd7={'vjrDG':function(_0x44d6d8,_0x10e89f){return _0x44d6d8(_0x10e89f);},'lqzNb':_0x3aa77e(0x21a)};_0x317cd7[_0x3aa77e(0x206)](require,_0x317cd7['lqzNb'])();}[a94_0xc863f9(0x28d)](){const _0x4d6a85=a94_0xc863f9,_0x44365d={};_0x44365d[_0x4d6a85(0x272)]='2|3|1|0|4',_0x44365d[_0x4d6a85(0x2aa)]=_0x4d6a85(0x210),_0x44365d['CiZwW']=_0x4d6a85(0x1fb);const _0x883c23=_0x44365d,_0x422727=_0xecec63=>{const _0x4d24cb=_0x4d6a85,_0x5e6bba=_0x883c23[_0x4d24cb(0x272)][_0x4d24cb(0x2be)]('|');let _0x4a101f=0x0;while(!![]){switch(_0x5e6bba[_0x4a101f++]){case'0':PerformanceTester['captureError'](_0xecec63);continue;case'1':this[_0x4d24cb(0x270)][_0x4d24cb(0x229)](util[_0x4d24cb(0x285)]('%j',_0xecec63));continue;case'2':logger[_0x4d24cb(0x1ec)](_0xecec63['message']);continue;case'3':logger['debug'](util[_0x4d24cb(0x285)](_0xecec63));continue;case'4':ClientTroubleShootingService[_0x4d24cb(0x2cd)]();continue;}break;}};process['on'](_0x883c23[_0x4d6a85(0x2aa)],_0x422727),process['on'](_0x883c23[_0x4d6a85(0x244)],_0x422727);}async[a94_0xc863f9(0x23a)](_0x25a9e7){const _0x2bc168=a94_0xc863f9,_0x27c5e2={};_0x27c5e2[_0x2bc168(0x2c3)]=_0x2bc168(0x1cb),_0x27c5e2['xbfek']=function(_0x3c7a49,_0x5e60eb){return _0x3c7a49+_0x5e60eb;},_0x27c5e2['EvIeS']='handled',_0x27c5e2['Tsomu']=function(_0x2beb7e,_0x2c2267){return _0x2beb7e+_0x2c2267;},_0x27c5e2[_0x2bc168(0x213)]=_0x2bc168(0x260);const _0x27e795=_0x27c5e2,_0x15a8af=_0x27e795[_0x2bc168(0x2c3)]['split']('|');let _0x37be63=0x0;while(!![]){switch(_0x15a8af[_0x37be63++]){case'0':this[_0x27e795['xbfek'](_0x27e795[_0x2bc168(0x2ce)],_0x25a9e7)]=!![];continue;case'1':if(this[_0x27e795[_0x2bc168(0x290)](_0x27e795[_0x2bc168(0x2ce)],_0x25a9e7)])return;continue;case'2':await ClientTroubleShootingService[_0x2bc168(0x2cd)]();continue;case'3':await TestHubHandler[_0x2bc168(0x1d1)](_0x25a9e7);continue;case'4':await BrowserstackCLI[_0x2bc168(0x211)]()[_0x2bc168(0x1d1)]();continue;case'5':this[_0x2bc168(0x271)]=_0x25a9e7;continue;case'6':logger['info'](_0x27e795['xbfek'](_0x27e795[_0x2bc168(0x213)],_0x25a9e7));continue;case'7':await ClientTroubleShootingService['reportProcessInterruptionSituation'](_0x25a9e7);continue;}break;}}[a94_0xc863f9(0x1d3)](){const _0x457a81=a94_0xc863f9,_0x1ae947={'umlHM':function(_0x28dfa2,_0x3039ad){return _0x28dfa2===_0x3039ad;},'sOoAY':_0x457a81(0x2a3),'VCdql':function(_0x2cb8a6,_0x50ad6f){return _0x2cb8a6>_0x50ad6f;},'IhVrd':function(_0x1d2835,_0x5b9eb4){return _0x1d2835(_0x5b9eb4);},'gGtaU':function(_0x2cfda2){return _0x2cfda2();},'pnJPS':_0x457a81(0x1f4)};let _0x4a4fe8=0x0;return async()=>{const _0x3d9811=_0x457a81;_0x4a4fe8++;if(_0x1ae947[_0x3d9811(0x2b8)](_0x4a4fe8,0x1)){helper['checkStopLocalBinaryOnExit'](this[_0x3d9811(0x200)])&&await this[_0x3d9811(0x297)]();try{logger['debug'](_0x1ae947['sOoAY']),await TestHubHandler['stop'](_0x4a4fe8),await ClientTroubleShootingService['reportFinalDetectionState'](),await BrowserstackCLI[_0x3d9811(0x211)]()[_0x3d9811(0x1d1)]('1');}catch(_0x3eb1e0){logger['debug'](_0x3d9811(0x2b6)+util[_0x3d9811(0x285)](_0x3eb1e0));}PerformanceTester[_0x3d9811(0x243)](PerformanceEvents[_0x3d9811(0x1c5)]);if(PerformanceTester['isEnabled']()){const {measures:_0xb2467e,errors:_0x4c5b3f}=await PerformanceTester[_0x3d9811(0x295)](),_0x1b8c69={};if(_0xb2467e&&_0x1ae947[_0x3d9811(0x27c)](_0xb2467e[_0x3d9811(0x205)],0x0)||_0x4c5b3f&&_0x1ae947['VCdql'](_0x4c5b3f['length'],0x0)){const _0x332af8={};_0x332af8[_0x3d9811(0x2af)]=_0xb2467e,_0x332af8[_0x3d9811(0x1c7)]=_0x4c5b3f,Object['assign'](_0x1b8c69,_0x332af8);}try{const _0xaf75f4=await helper[_0x3d9811(0x23e)](_0x1b8c69,this['config']);logger[_0x3d9811(0x259)](_0x3d9811(0x269)+_0x1ae947[_0x3d9811(0x280)](getEdsInstrumentationAPIUrl,'')+_0x3d9811(0x20f)+_0xaf75f4[_0x3d9811(0x26d)]);}catch(_0xdae21f){logger[_0x3d9811(0x259)](_0x3d9811(0x281)+_0x1ae947[_0x3d9811(0x280)](getEdsInstrumentationAPIUrl,'')+_0x3d9811(0x1e9)+util[_0x3d9811(0x285)](_0xdae21f));}try{fs[_0x3d9811(0x298)](path[_0x3d9811(0x2ab)](_0x1ae947[_0x3d9811(0x1fd)](getLogDir),_0x1ae947[_0x3d9811(0x24c)]),JSON[_0x3d9811(0x1c9)](_0x1b8c69));}catch(_0x52b961){logger['debug']('Error\x20in\x20writing\x20events\x20to\x20file\x20'+_0x52b961);}}}logger&&logger[_0x3d9811(0x2a6)](),fileLogger&&fileLogger[_0x3d9811(0x2a6)]();};}}exports[a94_0xc863f9(0x1f1)]=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
|
+
function a95_0x45be(_0x5c1863,_0x1deec3){const _0x24dacb=a95_0x24da();return a95_0x45be=function(_0x45beb2,_0x40e84e){_0x45beb2=_0x45beb2-0x123;let _0x57ce5b=_0x24dacb[_0x45beb2];return _0x57ce5b;},a95_0x45be(_0x5c1863,_0x1deec3);}const a95_0x1729f6=a95_0x45be;(function(_0x5657fe,_0x5bf711){const _0x25a494=a95_0x45be,_0x527c62=_0x5657fe();while(!![]){try{const _0x42fba6=parseInt(_0x25a494(0x1a6))/0x1+parseInt(_0x25a494(0x13f))/0x2*(parseInt(_0x25a494(0x186))/0x3)+-parseInt(_0x25a494(0x152))/0x4*(-parseInt(_0x25a494(0x141))/0x5)+-parseInt(_0x25a494(0x142))/0x6*(parseInt(_0x25a494(0x128))/0x7)+-parseInt(_0x25a494(0x177))/0x8+-parseInt(_0x25a494(0x15a))/0x9+parseInt(_0x25a494(0x1cf))/0xa;if(_0x42fba6===_0x5bf711)break;else _0x527c62['push'](_0x527c62['shift']());}catch(_0x2d6b17){_0x527c62['push'](_0x527c62['shift']());}}}(a95_0x24da,0xd926a));const util=require(a95_0x1729f6(0x1d6)),logger=require(a95_0x1729f6(0x170))[a95_0x1729f6(0x156)],accessibilityHelper=require(a95_0x1729f6(0x164)),globals=require(a95_0x1729f6(0x1b5)),scripts=require(a95_0x1729f6(0x1d2)),PerformanceTester=require(a95_0x1729f6(0x182)),{A11Y_EVENTS:PerformanceA11yEvents}=require('../performance/constants'),BrowserstackCLI=require('../../bin/v2/browserstackCLI');let playwrightA11yHelper=null;try{playwrightA11yHelper=require('../../bin/playwright/accessibility-helper');}catch(a95_0x5d6715){logger[a95_0x1729f6(0x1da)]('Playwright\x20accessibility\x20helper\x20not\x20available');}const a95_0x1feb08={};a95_0x1feb08[a95_0x1729f6(0x167)]=0x1,a95_0x1feb08[a95_0x1729f6(0x15d)]=0x7530,a95_0x1feb08[a95_0x1729f6(0x151)]=0x7530;function a95_0x24da(){const _0x5d787c=['scanSucceeded','LKxAJ','Accessibility\x20results\x20retrieved\x20successfully\x20on\x20attempt\x20',').\x20Error:\x20','\x20failed\x20(','max','iWTyT','isPlaywrightPage','setPlaywrightScriptTimeout','zGwOd','executeAsyncScript','PAfwM','defaultTimeoutMs','8syjlIK','qOBOL','ms\x20using\x20setTimeouts\x20API','Comprehensive\x20accessibility\x20scan\x20failed\x20(','winstonLogger','dktCN','xPvqK','FJMIg','9557154qeGvZU','isRunning','UgUNG','timeoutMs','KVKTK','playwright-page','aufuC','fulfilled','BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT','ukOgv','./helper','mVzAz','WebDriver','maxRetries','setScriptTimeout','reason','setTimeouts','name','GxAqH','GwTCY','browserStackEvaluate','Page','../logger','ms\x20using\x20setScriptTimeout\x20API','uYanv','Unknown\x20error','type','ukBOt','BTESQ','4366400IXOxTv','saveAccessibilityResultsWithRetry','Accessibility\x20scan\x20attempt\x20','\x20completed\x20successfully.','goto','hEOXw','\x20-\x20not\x20applicable','hVDlZ','mKNdn','url','driverType','../performance/performance-tester','timeouts','rejected','wfaxq','21vFrBFp','PfhYl','ljZwl','info',')\x20with\x20error:\x20','Scan\x20attempt\x20','Selenium\x20WebDriver\x20manage()\x20method\x20not\x20available,\x20skipping\x20timeout\x20setting','):\x20','Skipping\x20timeout\x20setting\x20for\x20','performComprehensiveAccessibilityScanWithRetry','Accessibility\x20results\x20save\x20attempt\x20','Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20','scannerProcessingTimeout','MwPpx','isAccessibilityAutomationSession','updateRetryConfig','BtNNg','yUqBJ','evaluate','value','KRKCr','saveTestResults','bstackA11yShouldScan','JXTRD','kQGgw','zdptT','Unknown\x20driver/page\x20type:\x20','performScanWithRetry','gZxZC','Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20','Accessibility\x20results\x20retrieval\x20attempt\x20','NTxFG','1353707SOzpMl',').\x20Last\x20error:\x20','Set\x20Playwright\x20page\x20default\x20timeout\x20to\x20','All\x20accessibility\x20results\x20summary\x20retrieval\x20attempts\x20failed\x20(','summary','DzUDp','isSeleniumDriver','NxIyE','gMfTu','RYAGc','constructor','sEvNJ','dRkai','YXobS',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary\x20with\x20retry.','../globals','ihYod','stringify','unknown_method','\x20for\x20method:\x20','status','selenium-webdriver','__workerDetails','UkQqb','uamzC','getAccessibilityResultsSummaryWithRetry','getAccessibilityResultsWithRetry','AogZp',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20with\x20retry.','All\x20accessibility\x20results\x20retrieval\x20attempts\x20failed\x20(','getSession','getGlobal','qWiKg','getCurrentUrl','getInstance','fEyCh','puMlj','ZfoWS','Ljmzk','results','vxPgD','22811950VYrlTq','manage','race','./scripts','WVjkR','capabilitiesList','isAccessibilityPlatform','util','PERFORM_SCAN','Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20','message','debug','error','accessibilityPlatform','Unknown\x20error\x20during\x20comprehensive\x20accessibility\x20scan','setDefaultTimeout','env','pUtHF','getAccessibilityResults','ZmKCY','Accessibility\x20results\x20summary\x20retrieved\x20successfully\x20on\x20attempt\x20','SXCpj','accessibilityConfig','ybrZe','pKVMw','VFYBc','warn','Failed\x20to\x20retrieve\x20accessibility\x20results\x20(','138901hAqIWu','CDKbi','script','ODJBG','options','function','wAjRW','Failed\x20to\x20set\x20Selenium\x20script\x20timeout:\x20','OWLbi','setSeleniumScriptTimeout','GLwCo','isPlaywright','playwright-codecept-driver','getAccessibilityResultsSummary','amUpH','YVVNW','OUNKj','bKzPM','currentTest','getCapabilities','XRRUn','fuBZb','getAccessibilityModule','53654dASdkF','performScan','803585pwhJDU','498GJFPNC','MnxnJ','Failed\x20to\x20retrieve\x20accessibility\x20summary\x20('];a95_0x24da=function(){return _0x5d787c;};return a95_0x24da();}const RETRY_CONFIG=a95_0x1feb08,setConfigTimeout=(_0x581f39,_0x1d46e9=null)=>{const _0x4c001e=a95_0x1729f6,_0x160c19={'ZNsue':function(_0x3970b7,_0x544ea6){return _0x3970b7===_0x544ea6;},'xPvqK':_0x4c001e(0x192),'ZmKCY':function(_0x334555,_0x3eaa21){return _0x334555===_0x3eaa21;},'OUNKj':function(_0x1a6327,_0x8bb184){return _0x1a6327*_0x8bb184;},'kQGgw':function(_0x1d1302,_0x4395f3){return _0x1d1302(_0x4395f3);},'aufuC':function(_0x3e9455,_0x51f14f){return _0x3e9455*_0x51f14f;}};if(BrowserstackCLI[_0x4c001e(0x1c8)]()[_0x4c001e(0x15b)]()&&BrowserstackCLI[_0x4c001e(0x1c8)]()[_0x4c001e(0x13e)]()){const _0x3bc1c3=BrowserstackCLI['getInstance']()['getAccessibilityModule']()[_0x4c001e(0x1e5)],_0x2d902f=_0x3bc1c3[_0x4c001e(0x12c)][_0x4c001e(0x1d4)]||[];for(const _0x357acd of _0x2d902f){_0x160c19['ZNsue'](_0x357acd[_0x4c001e(0x16b)],_0x160c19[_0x4c001e(0x158)])&&_0x160c19[_0x4c001e(0x1e2)](_0x1d46e9,null)&&(_0x581f39[_0x4c001e(0x15d)]=_0x160c19[_0x4c001e(0x138)](_0x160c19['kQGgw'](parseInt,_0x357acd[_0x4c001e(0x199)]),0x3e8));}}else process[_0x4c001e(0x1df)][_0x4c001e(0x162)]&&(_0x581f39[_0x4c001e(0x15d)]=_0x160c19[_0x4c001e(0x160)](_0x160c19[_0x4c001e(0x19e)](parseInt,process[_0x4c001e(0x1df)][_0x4c001e(0x162)]),0x3e8));},detectDriverType=_0x3730fc=>{const _0x39c643=a95_0x1729f6,_0xfadaf5={};_0xfadaf5[_0x39c643(0x1e4)]='unknown',_0xfadaf5['YVVNW']=function(_0x3c0164,_0xd280b4){return _0x3c0164===_0xd280b4;},_0xfadaf5[_0x39c643(0x187)]=_0x39c643(0x12d),_0xfadaf5[_0x39c643(0x125)]=function(_0x1ff9cc,_0x54964a){return _0x1ff9cc===_0x54964a;},_0xfadaf5[_0x39c643(0x1b3)]=_0x39c643(0x15f),_0xfadaf5[_0x39c643(0x1cb)]=function(_0x31cae3,_0x3afd5e){return _0x31cae3===_0x3afd5e;},_0xfadaf5[_0x39c643(0x143)]=_0x39c643(0x1bb),_0xfadaf5[_0x39c643(0x153)]=_0x39c643(0x16f),_0xfadaf5['CDKbi']=_0x39c643(0x166),_0xfadaf5[_0x39c643(0x130)]=function(_0xcbdff3,_0x41e0a8){return _0xcbdff3===_0x41e0a8;},_0xfadaf5[_0x39c643(0x17e)]='Playwright',_0xfadaf5[_0x39c643(0x1b1)]=_0x39c643(0x134),_0xfadaf5['pKVMw']=function(_0x5479e6,_0x44f878){return _0x5479e6||_0x44f878;},_0xfadaf5[_0x39c643(0x1ae)]='undefined';const _0x10d30f=_0xfadaf5;if(!_0x3730fc){const _0x34091a={};return _0x34091a[_0x39c643(0x133)]=![],_0x34091a[_0x39c643(0x174)]=_0x10d30f[_0x39c643(0x1e4)],_0x34091a;}if(_0x10d30f['YVVNW'](typeof _0x3730fc[_0x39c643(0x198)],_0x10d30f[_0x39c643(0x187)])&&_0x10d30f[_0x39c643(0x137)](typeof _0x3730fc[_0x39c643(0x180)],_0x10d30f[_0x39c643(0x187)])&&_0x10d30f['VFYBc'](typeof _0x3730fc[_0x39c643(0x17b)],_0x10d30f[_0x39c643(0x187)])){const _0x495892={};return _0x495892[_0x39c643(0x133)]=!![],_0x495892['type']=_0x10d30f[_0x39c643(0x1b3)],_0x495892;}if(_0x10d30f[_0x39c643(0x125)](typeof _0x3730fc[_0x39c643(0x14f)],_0x10d30f[_0x39c643(0x187)])&&_0x10d30f['ZfoWS'](typeof _0x3730fc[_0x39c643(0x13b)],_0x10d30f[_0x39c643(0x187)])){const _0xed78d={};return _0xed78d[_0x39c643(0x133)]=![],_0xed78d['type']=_0x10d30f['MnxnJ'],_0xed78d;}const _0x389f51=_0x3730fc[_0x39c643(0x1b0)]?.[_0x39c643(0x16b)];if(_0x10d30f[_0x39c643(0x125)](_0x389f51,_0x10d30f['qOBOL'])){const _0x1ac36f={};return _0x1ac36f[_0x39c643(0x133)]=!![],_0x1ac36f[_0x39c643(0x174)]=_0x10d30f['YXobS'],_0x1ac36f;}if(_0x10d30f[_0x39c643(0x137)](_0x389f51,_0x10d30f[_0x39c643(0x129)])){const _0x59d35a={};return _0x59d35a['isPlaywright']=![],_0x59d35a[_0x39c643(0x174)]=_0x10d30f[_0x39c643(0x143)],_0x59d35a;}if(_0x10d30f[_0x39c643(0x130)](_0x389f51,_0x10d30f[_0x39c643(0x17e)])){const _0x50ca74={};return _0x50ca74[_0x39c643(0x133)]=!![],_0x50ca74['type']=_0x10d30f[_0x39c643(0x1b1)],_0x50ca74;}logger[_0x39c643(0x126)](_0x39c643(0x1a0)+_0x10d30f[_0x39c643(0x124)](_0x389f51,_0x10d30f[_0x39c643(0x1ae)]));const _0x36e183={};return _0x36e183[_0x39c643(0x133)]=![],_0x36e183[_0x39c643(0x174)]=_0x10d30f['SXCpj'],_0x36e183;},withTimeout=(_0x2d464a,_0x56237d)=>{const _0x188e09=a95_0x1729f6;return Promise[_0x188e09(0x1d1)]([_0x2d464a,new Promise((_0x1ef5f3,_0x486934)=>setTimeout(()=>_0x486934(new Error('Operation\x20timed\x20out\x20after\x20'+_0x56237d+'ms')),_0x56237d))]);};exports['performScanWithRetry']=async(_0x339caf,_0x125b5a=null,_0x13439f=null,_0x34a4a4=![])=>{const _0x48d0c4=a95_0x1729f6,_0x490201={'uYanv':function(_0x4eb1e0,_0x33eaf6){return _0x4eb1e0&&_0x33eaf6;},'Ljmzk':function(_0x2f8d7b,_0x54a7e1,_0x384ab6){return _0x2f8d7b(_0x54a7e1,_0x384ab6);},'mVzAz':function(_0x2962b2,_0x27879c){return _0x2962b2===_0x27879c;},'iWTyT':_0x48d0c4(0x134),'WVjkR':function(_0x5d69b3,_0x41e456,_0x2f7555){return _0x5d69b3(_0x41e456,_0x2f7555);},'ukOgv':function(_0x2240eb,_0x9ceb66){return _0x2240eb(_0x9ceb66);},'yUqBJ':_0x48d0c4(0x1d5),'RYAGc':function(_0x195038,_0x1a1f08){return _0x195038!==_0x1a1f08;},'NTxFG':_0x48d0c4(0x19c),'XRRUn':function(_0x4d29d4,_0x4f156c){return _0x4d29d4===_0x4f156c;},'zdptT':'[Accessibility]\x20Scan\x20skipped\x20-\x20scanning\x20is\x20currently\x20disabled\x20(partial\x20scan\x20mode)','BTESQ':_0x48d0c4(0x1b8),'MwPpx':_0x48d0c4(0x12d),'jNLxu':function(_0x1a0a69,_0x4aff03){return _0x1a0a69<=_0x4aff03;},'puMlj':function(_0x29605b,_0x55efc3){return _0x29605b+_0x55efc3;},'ihYod':_0x48d0c4(0x173)},{isPlaywright:_0x4a4d59,type:_0x35ee67}=_0x490201[_0x48d0c4(0x163)](detectDriverType,_0x339caf),_0x28928c=_0x4a4d59?global[_0x48d0c4(0x1dc)]&&(_0x34a4a4||_0x490201[_0x48d0c4(0x165)](global['bstackA11yShouldScan'],!![])):accessibilityHelper[_0x48d0c4(0x194)]()&&globals[_0x48d0c4(0x1c5)](_0x490201[_0x48d0c4(0x197)])&&(_0x34a4a4||_0x490201[_0x48d0c4(0x1af)](globals['getGlobal'](_0x490201[_0x48d0c4(0x1a5)]),![]));if(!_0x28928c)return _0x4a4d59&&global[_0x48d0c4(0x1dc)]&&_0x490201[_0x48d0c4(0x13c)](global[_0x48d0c4(0x19c)],![])?logger['debug'](_0x490201[_0x48d0c4(0x19f)]):logger['warn'](_0x48d0c4(0x191)+_0x35ee67+',\x20cannot\x20perform\x20scan\x20with\x20retry.'),![];const _0x4a9b90=_0x125b5a||global['browserstackSessionName']||_0x490201[_0x48d0c4(0x176)];let _0x448543=null;const _0x3df51f={'testhub_btcer_uuid':global[_0x48d0c4(0x1bc)]?.[_0x48d0c4(0x13a)]?.['id'],'url':_0x490201[_0x48d0c4(0x13c)](typeof _0x339caf[_0x48d0c4(0x180)],_0x490201['MwPpx'])?await _0x339caf['url']():_0x490201['mVzAz'](typeof _0x339caf['getCurrentUrl'],_0x490201[_0x48d0c4(0x193)])?await _0x339caf[_0x48d0c4(0x1c7)]():'','automate_session_id':_0x490201[_0x48d0c4(0x13c)](typeof _0x339caf[_0x48d0c4(0x1c4)],_0x490201[_0x48d0c4(0x193)])?(await _0x339caf[_0x48d0c4(0x1c4)]())['getId']():''};for(let _0x2e4f87=0x1;_0x490201['jNLxu'](_0x2e4f87,_0x490201['puMlj'](RETRY_CONFIG[_0x48d0c4(0x167)],0x1));_0x2e4f87++){try{return logger[_0x48d0c4(0x1da)](_0x48d0c4(0x179)+_0x2e4f87+'/'+_0x490201[_0x48d0c4(0x1ca)](RETRY_CONFIG[_0x48d0c4(0x167)],0x1)+_0x48d0c4(0x1b9)+_0x4a9b90+'\x20('+_0x35ee67+')'),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x48d0c4(0x1d7)],async()=>{const _0x18f00a=_0x48d0c4;let _0x24ad41;if(_0x490201[_0x18f00a(0x172)](_0x4a4d59,playwrightA11yHelper)){_0x490201[_0x18f00a(0x1cc)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x18f00a(0x14d)](_0x339caf,RETRY_CONFIG[_0x18f00a(0x15d)]);let _0xc3847e=_0x339caf;_0x490201['mVzAz'](_0x35ee67,_0x490201[_0x18f00a(0x14b)])&&(_0xc3847e=_0x339caf['page']),_0x24ad41=await _0x490201[_0x18f00a(0x1d3)](withTimeout,playwrightA11yHelper[_0x18f00a(0x140)](_0xc3847e,_0x4a9b90),RETRY_CONFIG[_0x18f00a(0x15d)]),await exports[_0x18f00a(0x14d)](_0x339caf,RETRY_CONFIG['defaultTimeoutMs']);}else await exports['setSeleniumScriptTimeout'](_0x339caf,RETRY_CONFIG['timeoutMs']),_0x24ad41=await _0x490201[_0x18f00a(0x1cc)](withTimeout,accessibilityHelper['performScan'](_0x339caf,_0x4a9b90),RETRY_CONFIG[_0x18f00a(0x15d)]),await exports[_0x18f00a(0x131)](_0x339caf,RETRY_CONFIG['defaultTimeoutMs']);logger[_0x18f00a(0x1da)](_0x18f00a(0x18b)+_0x2e4f87+_0x18f00a(0x17a));},{'command':_0x4a9b90,..._0x3df51f})(),logger[_0x48d0c4(0x189)]('Accessibility\x20scan\x20succeeded\x20on\x20attempt\x20'+_0x2e4f87+'.'),!![];}catch(_0x3d960f){_0x448543=_0x3d960f,logger[_0x48d0c4(0x1da)](_0x48d0c4(0x179)+_0x2e4f87+'\x20failed\x20for\x20method:\x20'+_0x4a9b90+'\x20('+_0x35ee67+_0x48d0c4(0x148)+_0x3d960f[_0x48d0c4(0x1d9)]);}}return logger[_0x48d0c4(0x1db)]('All\x20accessibility\x20scan\x20attempts\x20failed\x20for\x20method:\x20'+_0x4a9b90+'\x20('+_0x35ee67+_0x48d0c4(0x18a)+(_0x448543?.[_0x48d0c4(0x1d9)]||_0x490201[_0x48d0c4(0x1b6)])),![];},exports[a95_0x1729f6(0x1c0)]=async(_0x59ad62,_0x95cd91)=>{const _0x36f965=a95_0x1729f6,_0x4efe5b={'KVKTK':function(_0x404980,_0x1e3c43){return _0x404980(_0x1e3c43);},'BtNNg':_0x36f965(0x1d5),'ybrZe':_0x36f965(0x19c),'FJMIg':function(_0x23ae20,_0x562c3e){return _0x23ae20<=_0x562c3e;},'UgUNG':function(_0x49cf03,_0x599648){return _0x49cf03+_0x599648;},'wfaxq':function(_0x4305bb,_0x59eaaf){return _0x4305bb&&_0x59eaaf;},'ODJBG':function(_0x2a5473,_0x5729fa,_0x28cad5){return _0x2a5473(_0x5729fa,_0x28cad5);},'GwTCY':function(_0x417660,_0x2be13a,_0x17fcc8){return _0x417660(_0x2be13a,_0x17fcc8);},'wXRmV':_0x36f965(0x173)},{isPlaywright:_0x23c3fd,type:_0x4a8dbb}=_0x4efe5b[_0x36f965(0x15e)](detectDriverType,_0x59ad62),_0x58e84e=_0x23c3fd?_0x95cd91[_0x36f965(0x1dc)]:accessibilityHelper[_0x36f965(0x194)]()&&globals[_0x36f965(0x1c5)](_0x4efe5b[_0x36f965(0x196)])&&globals[_0x36f965(0x1c5)](_0x4efe5b[_0x36f965(0x123)]);if(!_0x58e84e)return logger[_0x36f965(0x126)](_0x36f965(0x191)+_0x4a8dbb+_0x36f965(0x1c2)),[];let _0x87c495=null;for(let _0x4ba216=0x1;_0x4efe5b[_0x36f965(0x159)](_0x4ba216,_0x4efe5b[_0x36f965(0x15c)](RETRY_CONFIG['maxRetries'],0x1));_0x4ba216++){try{logger[_0x36f965(0x1da)](_0x36f965(0x1a4)+_0x4ba216+'/'+_0x4efe5b[_0x36f965(0x15c)](RETRY_CONFIG['maxRetries'],0x1)+'\x20('+_0x4a8dbb+')');let _0x29a336;return _0x4efe5b[_0x36f965(0x185)](_0x23c3fd,playwrightA11yHelper)?(_0x4efe5b[_0x36f965(0x12b)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x36f965(0x14d)](_0x59ad62,RETRY_CONFIG[_0x36f965(0x15d)]),_0x29a336=await _0x4efe5b['GwTCY'](withTimeout,playwrightA11yHelper[_0x36f965(0x1e1)](_0x59ad62),RETRY_CONFIG[_0x36f965(0x15d)]),await exports[_0x36f965(0x14d)](_0x59ad62,RETRY_CONFIG[_0x36f965(0x151)])):(await exports[_0x36f965(0x131)](_0x59ad62,RETRY_CONFIG[_0x36f965(0x15d)]),_0x29a336=await _0x4efe5b[_0x36f965(0x16d)](withTimeout,accessibilityHelper['getAccessibilityResults'](_0x59ad62,_0x95cd91),RETRY_CONFIG['timeoutMs']),await exports[_0x36f965(0x131)](_0x59ad62,RETRY_CONFIG[_0x36f965(0x151)])),logger[_0x36f965(0x189)](_0x36f965(0x147)+_0x4ba216+'\x20('+_0x4a8dbb+')'),_0x29a336;}catch(_0x767a2){_0x87c495=_0x767a2,logger[_0x36f965(0x126)](_0x36f965(0x1a4)+_0x4ba216+_0x36f965(0x149)+_0x4a8dbb+_0x36f965(0x148)+_0x767a2[_0x36f965(0x1d9)]);}}return logger[_0x36f965(0x1db)](_0x36f965(0x1c3)+_0x4a8dbb+_0x36f965(0x1a7)+(_0x87c495?.[_0x36f965(0x1d9)]||_0x4efe5b['wXRmV'])),[];},exports[a95_0x1729f6(0x1bf)]=async(_0x51252d,_0x705d9)=>{const _0x75fdb6=a95_0x1729f6,_0x1d4b09={'KRKCr':function(_0x4f1035,_0x1e866d){return _0x4f1035(_0x1e866d);},'nljzg':'isAccessibilityPlatform','zGwOd':'bstackA11yShouldScan','oxhNW':function(_0x1a67cc,_0x3688e3){return _0x1a67cc<=_0x3688e3;},'dktCN':function(_0x28953f,_0x2fb1b7){return _0x28953f+_0x2fb1b7;},'PAfwM':function(_0x2944d1,_0x104d9c){return _0x2944d1&&_0x104d9c;},'DzUDp':function(_0xb1865a,_0x24cd81,_0x4efd2d){return _0xb1865a(_0x24cd81,_0x4efd2d);},'dRkai':'Unknown\x20error'},{isPlaywright:_0x28e9e5,type:_0x1a3841}=_0x1d4b09[_0x75fdb6(0x19a)](detectDriverType,_0x51252d),_0x483478=_0x28e9e5?_0x705d9[_0x75fdb6(0x1dc)]:accessibilityHelper[_0x75fdb6(0x194)]()&&globals[_0x75fdb6(0x1c5)](_0x1d4b09['nljzg'])&&globals['getGlobal'](_0x1d4b09[_0x75fdb6(0x14e)]);if(!_0x483478)return logger[_0x75fdb6(0x126)](_0x75fdb6(0x191)+_0x1a3841+_0x75fdb6(0x1b4)),{};let _0x2f0ac3=null;for(let _0x376ed2=0x1;_0x1d4b09['oxhNW'](_0x376ed2,_0x1d4b09[_0x75fdb6(0x157)](RETRY_CONFIG[_0x75fdb6(0x167)],0x1));_0x376ed2++){try{logger[_0x75fdb6(0x1da)](_0x75fdb6(0x1a3)+_0x376ed2+'/'+_0x1d4b09[_0x75fdb6(0x157)](RETRY_CONFIG['maxRetries'],0x1)+'\x20('+_0x1a3841+')');let _0x84d15f;return _0x1d4b09[_0x75fdb6(0x150)](_0x28e9e5,playwrightA11yHelper)?(_0x1d4b09[_0x75fdb6(0x1ab)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x75fdb6(0x14d)](_0x51252d,RETRY_CONFIG[_0x75fdb6(0x15d)]),_0x84d15f=await _0x1d4b09['DzUDp'](withTimeout,playwrightA11yHelper[_0x75fdb6(0x135)](_0x51252d),RETRY_CONFIG[_0x75fdb6(0x15d)]),await exports[_0x75fdb6(0x14d)](_0x51252d,RETRY_CONFIG[_0x75fdb6(0x151)])):(await exports['setSeleniumScriptTimeout'](_0x51252d,RETRY_CONFIG[_0x75fdb6(0x15d)]),_0x84d15f=await _0x1d4b09[_0x75fdb6(0x1ab)](withTimeout,accessibilityHelper[_0x75fdb6(0x135)](_0x51252d,_0x705d9),RETRY_CONFIG['timeoutMs']),await exports['setSeleniumScriptTimeout'](_0x51252d,RETRY_CONFIG['defaultTimeoutMs'])),logger[_0x75fdb6(0x189)](_0x75fdb6(0x1e3)+_0x376ed2+'\x20('+_0x1a3841+')'),_0x84d15f;}catch(_0x7fe22d){_0x2f0ac3=_0x7fe22d,logger['warn'](_0x75fdb6(0x1a3)+_0x376ed2+_0x75fdb6(0x149)+_0x1a3841+_0x75fdb6(0x148)+_0x7fe22d[_0x75fdb6(0x1d9)]);}}return logger[_0x75fdb6(0x1db)](_0x75fdb6(0x1a9)+_0x1a3841+_0x75fdb6(0x1a7)+(_0x2f0ac3?.[_0x75fdb6(0x1d9)]||_0x1d4b09[_0x75fdb6(0x1b2)])),{};},exports[a95_0x1729f6(0x18f)]=async(_0x4c414b,_0x57ac6b,_0x3e3a9b=null)=>{const _0x5e5a87=a95_0x1729f6,_0x5eef11={'hEOXw':function(_0x1b5452,_0x3f121c){return _0x1b5452(_0x3f121c);},'ElRPI':function(_0x39f5c2,_0x36fb51){return _0x39f5c2===_0x36fb51;},'uamzC':_0x5e5a87(0x161),'VnITS':function(_0x43c103,_0x55b062){return _0x43c103===_0x55b062;},'vxPgD':function(_0x484014,_0xfe1e9e){return _0x484014===_0xfe1e9e;},'fEyCh':_0x5e5a87(0x184),'GLwCo':_0x5e5a87(0x1dd)},{isPlaywright:_0x58a4ec,type:_0x39e15e}=_0x5eef11[_0x5e5a87(0x17c)](detectDriverType,_0x4c414b),_0x25e797={};_0x25e797[_0x5e5a87(0x145)]=![],_0x25e797[_0x5e5a87(0x1cd)]=[],_0x25e797[_0x5e5a87(0x1aa)]={},_0x25e797[_0x5e5a87(0x1db)]=null,_0x25e797[_0x5e5a87(0x181)]=_0x39e15e;const _0x5f4ad1=_0x25e797;try{_0x5f4ad1[_0x5e5a87(0x145)]=await exports[_0x5e5a87(0x1a1)](_0x4c414b,_0x3e3a9b);if(_0x5f4ad1[_0x5e5a87(0x145)]){const [_0x126db3,_0x142426]=await Promise['allSettled']([exports['getAccessibilityResultsWithRetry'](_0x4c414b,_0x57ac6b),exports[_0x5e5a87(0x1bf)](_0x4c414b,_0x57ac6b)]);_0x5f4ad1[_0x5e5a87(0x1cd)]=_0x5eef11['ElRPI'](_0x126db3[_0x5e5a87(0x1ba)],_0x5eef11[_0x5e5a87(0x1be)])?_0x126db3[_0x5e5a87(0x199)]:[],_0x5f4ad1[_0x5e5a87(0x1aa)]=_0x5eef11['VnITS'](_0x142426[_0x5e5a87(0x1ba)],_0x5eef11['uamzC'])?_0x142426[_0x5e5a87(0x199)]:{},_0x5eef11['vxPgD'](_0x126db3[_0x5e5a87(0x1ba)],_0x5eef11[_0x5e5a87(0x1c9)])&&logger[_0x5e5a87(0x126)](_0x5e5a87(0x127)+_0x39e15e+_0x5e5a87(0x18d)+_0x126db3[_0x5e5a87(0x169)]?.[_0x5e5a87(0x1d9)]),_0x5eef11[_0x5e5a87(0x1ce)](_0x142426[_0x5e5a87(0x1ba)],_0x5eef11[_0x5e5a87(0x1c9)])&&logger['warn'](_0x5e5a87(0x144)+_0x39e15e+_0x5e5a87(0x18d)+_0x142426[_0x5e5a87(0x169)]?.[_0x5e5a87(0x1d9)]);}}catch(_0x3ed43e){_0x5f4ad1['error']=_0x3ed43e[_0x5e5a87(0x1d9)]||_0x5eef11[_0x5e5a87(0x132)],logger[_0x5e5a87(0x1db)](_0x5e5a87(0x155)+_0x39e15e+_0x5e5a87(0x18d)+_0x5f4ad1[_0x5e5a87(0x1db)]);}return _0x5f4ad1;},exports[a95_0x1729f6(0x195)]=_0xd4b807=>{const _0x1e05e0=a95_0x1729f6,_0xd40fd0={};_0xd40fd0[_0x1e05e0(0x1bd)]=function(_0x259f5d,_0x1575d7){return _0x259f5d!==_0x1575d7;},_0xd40fd0[_0x1e05e0(0x13d)]=function(_0x46db69,_0x2b7942){return _0x46db69!==_0x2b7942;};const _0x45ce41=_0xd40fd0;_0x45ce41[_0x1e05e0(0x1bd)](_0xd4b807['maxRetries'],undefined)&&(RETRY_CONFIG[_0x1e05e0(0x167)]=Math[_0x1e05e0(0x14a)](0x0,_0xd4b807[_0x1e05e0(0x167)])),_0x45ce41[_0x1e05e0(0x13d)](_0xd4b807[_0x1e05e0(0x15d)],undefined)&&(RETRY_CONFIG['timeoutMs']=Math[_0x1e05e0(0x14a)](0x3e8,_0xd4b807['timeoutMs'])),logger[_0x1e05e0(0x1da)]('Accessibility\x20retry\x20configuration\x20updated:\x20'+JSON[_0x1e05e0(0x1b7)](RETRY_CONFIG));},exports['getRetryConfig']=()=>{const _0xab4a6={...RETRY_CONFIG};return _0xab4a6;},exports[a95_0x1729f6(0x14c)]=_0x4d3eda=>{const _0x336b24=a95_0x1729f6,_0x3be77f={'JXTRD':function(_0x586aca,_0xa7e23b){return _0x586aca(_0xa7e23b);}};return _0x3be77f[_0x336b24(0x19d)](detectDriverType,_0x4d3eda)[_0x336b24(0x133)];},exports[a95_0x1729f6(0x1ac)]=_0x5520ad=>{const _0x5de866=a95_0x1729f6,_0x6d873f={'GxAqH':function(_0x3b5fcf,_0x325244){return _0x3b5fcf(_0x325244);},'qIDlh':function(_0x5aaf4a,_0x78b2ff){return _0x5aaf4a===_0x78b2ff;},'bKzPM':_0x5de866(0x1bb)},{isPlaywright:_0x18089e,type:_0x34b5b0}=_0x6d873f[_0x5de866(0x16c)](detectDriverType,_0x5520ad);return!_0x18089e&&_0x6d873f['qIDlh'](_0x34b5b0,_0x6d873f[_0x5de866(0x139)]);},exports[a95_0x1729f6(0x14d)]=async(_0x5237fb,_0x1ba2d3=null)=>{const _0x572eef=a95_0x1729f6,_0xb82b3a={'gZxZC':function(_0x469cd6,_0x38dd02){return _0x469cd6(_0x38dd02);},'AYtWe':function(_0x88b498,_0x1e1af6){return _0x88b498===_0x1e1af6;},'pUtHF':_0x572eef(0x12d)},{isPlaywright:_0x4eec0a,type:_0x255624}=_0xb82b3a[_0x572eef(0x1a2)](detectDriverType,_0x5237fb);if(!_0x4eec0a)return logger['debug'](_0x572eef(0x18e)+_0x255624+_0x572eef(0x17d)),!![];const _0x4ba9ee=_0x1ba2d3||RETRY_CONFIG[_0x572eef(0x151)];try{return _0x5237fb&&_0xb82b3a['AYtWe'](typeof _0x5237fb['setDefaultTimeout'],_0xb82b3a[_0x572eef(0x1e0)])&&(await _0x5237fb[_0x572eef(0x1de)](_0x4ba9ee),logger[_0x572eef(0x1da)](_0x572eef(0x1a8)+_0x4ba9ee+'ms')),!![];}catch(_0x1d906f){return logger['warn']('Failed\x20to\x20set\x20Playwright\x20script\x20timeout:\x20'+_0x1d906f['message']),![];}},exports[a95_0x1729f6(0x131)]=async(_0x1d7bcb,_0x547627=null)=>{const _0x719e38=a95_0x1729f6,_0x49fa56={};_0x49fa56[_0x719e38(0x1c6)]='Cannot\x20set\x20script\x20timeout:\x20not\x20a\x20Selenium\x20WebDriver',_0x49fa56['mKNdn']=function(_0x56124a,_0x3217fb){return _0x56124a===_0x3217fb;},_0x49fa56[_0x719e38(0x1ad)]='function',_0x49fa56[_0x719e38(0x12e)]='Selenium\x20WebDriver\x20timeout\x20API\x20not\x20available,\x20skipping\x20timeout\x20setting',_0x49fa56['LKxAJ']=_0x719e38(0x18c);const _0x570627=_0x49fa56;if(!exports[_0x719e38(0x1ac)](_0x1d7bcb))return logger['warn'](_0x570627['qWiKg']),![];const _0x3e43b0=_0x547627||RETRY_CONFIG[_0x719e38(0x151)];try{if(_0x1d7bcb&&_0x570627[_0x719e38(0x17f)](typeof _0x1d7bcb[_0x719e38(0x1d0)],_0x570627[_0x719e38(0x1ad)])){const _0xcd967e=_0x1d7bcb[_0x719e38(0x1d0)]();if(_0xcd967e&&_0x570627[_0x719e38(0x17f)](typeof _0xcd967e[_0x719e38(0x183)],_0x570627[_0x719e38(0x1ad)]))await _0xcd967e[_0x719e38(0x183)]()[_0x719e38(0x168)](_0x3e43b0),logger[_0x719e38(0x1da)](_0x719e38(0x1d8)+_0x3e43b0+'ms\x20using\x20timeouts()\x20API');else{if(_0xcd967e&&_0x570627[_0x719e38(0x17f)](typeof _0xcd967e[_0x719e38(0x16a)],_0x570627[_0x719e38(0x1ad)])){const _0x4832bf={};_0x4832bf[_0x719e38(0x12a)]=_0x3e43b0,await _0xcd967e[_0x719e38(0x16a)](_0x4832bf),logger[_0x719e38(0x1da)](_0x719e38(0x1d8)+_0x3e43b0+_0x719e38(0x154));}else{if(_0xcd967e&&_0x570627[_0x719e38(0x17f)](typeof _0xcd967e['setScriptTimeout'],_0x570627['NxIyE']))await _0xcd967e['setScriptTimeout'](_0x3e43b0),logger[_0x719e38(0x1da)](_0x719e38(0x1d8)+_0x3e43b0+_0x719e38(0x171));else return logger['debug'](_0x570627[_0x719e38(0x12e)]),!![];}}}else return logger[_0x719e38(0x1da)](_0x570627[_0x719e38(0x146)]),!![];return!![];}catch(_0x19469f){return logger[_0x719e38(0x126)](_0x719e38(0x12f)+_0x19469f[_0x719e38(0x1d9)]),![];}},exports[a95_0x1729f6(0x178)]=async(_0x101c66,_0x2ed1e8)=>{const _0x24a7d9=a95_0x1729f6,_0x4e8d88={'AogZp':function(_0xf876a7,_0x5bebb7){return _0xf876a7(_0x5bebb7);},'AwrQA':'isAccessibilityPlatform','ahIUo':_0x24a7d9(0x19c),'fCyGJ':function(_0x4a1326,_0x1bf3d2){return _0x4a1326<=_0x1bf3d2;},'sfydU':function(_0x4b029b,_0xf1e5a9){return _0x4b029b+_0xf1e5a9;},'amUpH':function(_0x49f4b9,_0x55cd0c){return _0x49f4b9+_0x55cd0c;},'ljZwl':function(_0x218ca1,_0x51beba){return _0x218ca1&&_0x51beba;},'ukBOt':function(_0x5c9441,_0x857e97,_0x90537b){return _0x5c9441(_0x857e97,_0x90537b);},'qrowW':function(_0x587a08,_0x28ecf9,_0x4fad05){return _0x587a08(_0x28ecf9,_0x4fad05);},'cwmNS':_0x24a7d9(0x173)},{isPlaywright:_0x4e5681,type:_0x5e3f34}=_0x4e8d88[_0x24a7d9(0x1c1)](detectDriverType,_0x101c66),_0x59ef84=_0x4e5681?global[_0x24a7d9(0x1dc)]:accessibilityHelper['isAccessibilityAutomationSession']()&&globals[_0x24a7d9(0x1c5)](_0x4e8d88['AwrQA'])&&globals[_0x24a7d9(0x1c5)](_0x4e8d88['ahIUo']);if(!_0x59ef84)return logger[_0x24a7d9(0x126)]('Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20'+_0x5e3f34+',\x20cannot\x20save\x20accessibility\x20results\x20with\x20retry.'),![];let _0x495863=null;for(let _0x3b78b5=0x1;_0x4e8d88['fCyGJ'](_0x3b78b5,_0x4e8d88['sfydU'](RETRY_CONFIG[_0x24a7d9(0x167)],0x1));_0x3b78b5++){try{return logger[_0x24a7d9(0x1da)](_0x24a7d9(0x190)+_0x3b78b5+'/'+_0x4e8d88[_0x24a7d9(0x136)](RETRY_CONFIG[_0x24a7d9(0x167)],0x1)+'\x20('+_0x5e3f34+')'),_0x4e8d88[_0x24a7d9(0x188)](_0x4e5681,playwrightA11yHelper)?(_0x4e8d88[_0x24a7d9(0x175)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x24a7d9(0x14d)](_0x101c66,RETRY_CONFIG['timeoutMs']),await _0x4e8d88[_0x24a7d9(0x175)](withTimeout,playwrightA11yHelper[_0x24a7d9(0x16e)](_0x101c66,scripts[_0x24a7d9(0x19b)],_0x2ed1e8),RETRY_CONFIG[_0x24a7d9(0x15d)]),await exports[_0x24a7d9(0x14d)](_0x101c66,RETRY_CONFIG[_0x24a7d9(0x151)])):(await exports[_0x24a7d9(0x131)](_0x101c66,RETRY_CONFIG[_0x24a7d9(0x15d)]),await _0x4e8d88['qrowW'](withTimeout,_0x101c66[_0x24a7d9(0x14f)](scripts[_0x24a7d9(0x19b)],_0x2ed1e8),RETRY_CONFIG[_0x24a7d9(0x15d)]),await exports[_0x24a7d9(0x131)](_0x101c66,RETRY_CONFIG[_0x24a7d9(0x151)])),logger[_0x24a7d9(0x189)]('Accessibility\x20results\x20saved\x20successfully\x20on\x20attempt\x20'+_0x3b78b5+'\x20('+_0x5e3f34+')'),!![];}catch(_0x441313){_0x495863=_0x441313,logger['warn'](_0x24a7d9(0x190)+_0x3b78b5+_0x24a7d9(0x149)+_0x5e3f34+').\x20Error:\x20'+_0x441313['message']);}}return logger[_0x24a7d9(0x1db)]('All\x20accessibility\x20results\x20save\x20attempts\x20failed\x20('+_0x5e3f34+_0x24a7d9(0x1a7)+(_0x495863?.[_0x24a7d9(0x1d9)]||_0x4e8d88['cwmNS'])),![];};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a96_0x4cdfc1=a96_0x1e0b;function a96_0x1e0b(_0x3e2c7b,_0x2d9ab1){var _0x2f2e13=a96_0x2f2e();return a96_0x1e0b=function(_0x1e0bb4,_0x2a38e0){_0x1e0bb4=_0x1e0bb4-0x1bc;var _0x7a1b2d=_0x2f2e13[_0x1e0bb4];return _0x7a1b2d;},a96_0x1e0b(_0x3e2c7b,_0x2d9ab1);}function a96_0x2f2e(){var _0x3f1cb4=['MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY','12JaTGbu','https://accessibility.browserstack.com/api','MINIMUM_BROWSER_VERSION_ACCESSIBILITY','100','280052ndKYcF','173241wkXqYo','266694ROVajf','8642290kSICnW','35VxBkjH','1312820QAmkBx','664235InujCh','15248upXZAj','927BtWnVZ'];a96_0x2f2e=function(){return _0x3f1cb4;};return a96_0x2f2e();}(function(_0x51de5a,_0x1e8727){var _0x1f073b=a96_0x1e0b,_0x402f32=_0x51de5a();while(!![]){try{var _0x2e328d=-parseInt(_0x1f073b(0x1c9))/0x1+parseInt(_0x1f073b(0x1c5))/0x2*(-parseInt(_0x1f073b(0x1bc))/0x3)+-parseInt(_0x1f073b(0x1c0))/0x4+-parseInt(_0x1f073b(0x1c1))/0x5+-parseInt(_0x1f073b(0x1bd))/0x6*(-parseInt(_0x1f073b(0x1bf))/0x7)+-parseInt(_0x1f073b(0x1c2))/0x8*(-parseInt(_0x1f073b(0x1c3))/0x9)+parseInt(_0x1f073b(0x1be))/0xa;if(_0x2e328d===_0x1e8727)break;else _0x402f32['push'](_0x402f32['shift']());}catch(_0x4c62f6){_0x402f32['push'](_0x402f32['shift']());}}}(a96_0x2f2e,0x2fa86),exports['API_URL']=a96_0x4cdfc1(0x1c6),exports[a96_0x4cdfc1(0x1c7)]='94',exports[a96_0x4cdfc1(0x1c4)]=a96_0x4cdfc1(0x1c8));
|
|
@@ -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_0x350bf4=a97_0x4083;function a97_0x431e(){const _0x52d59e=['cnjSg','MWHOs','omeiK','options_','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token','ooUdk','get','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.','./scripts','stack','VeeMl','method','getTestFrameworkDetails','browserName','getAgentVersion','playwright','yFHTb','btjuv','scannerVersion','device','javascript','Performing\x20scan\x20before\x20getting\x20results','pwMxp','spdrl','getBrowserVersion','chromeOptions_','1132500cxuueh','CJcbm','selenium-webdriver/chrome.js','NJFvB','IugKV','Zkeyy','join','mpdVA','goog:chromeOptions','Performed\x20scan\x20with\x20result:\x20','ezITF','ZBHOq','getHostInfo','null','basename','message','GET_RESULTS','parseFromJson','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','gwtlC','nodeRequest','iEAjt','Content-Type','OtLvP','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','RhYDk','browserstackSessionName','projectName','gJHkb','../helper','235086bOULPE','Authorization','817040tDeMoE','faNxN','Options','error','assign','jIYJG','IRQlp','application/json','auth','statusText','__cloud_provider___','getCiInfo','HJikM','getAccessibilityResults','a11y:stop','getResultsSummary','msudg','browserstack_executor','BS_A11Y_JWT','test_runs/stop','../globals','Bearer\x20','LoyTC','mYTTE','script','isArray','vXgas','chromeOptions','LfnKI','length','XMtRP','getGlobal','false','xOZlk','excludeTagsInTestingScope','isTrue','4497815cOPKaZ','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','uOVvX','chrome','4630962MEQbUm','HYYVK','response','790540GnxzCs','VUsQB','warn','stringify','XuDzk','--headless','Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20','8PKoXGG','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','headers','EBaYN','Performing\x20scan\x20before\x20getting\x20results\x20summary','toISOString','sLaDK','isBrowserstackInfra','json','debug','QClao','wZRSI','toJson','buildName','zAtLR','performScan','ddXjR','qsmJU','Invalid\x20configuration\x20passed.','mergeDeep','stopAccessibilityTestRun','a11y:start','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','isAccessibilityAutomationSession','getAccessKey','getCapabilities','body','includeTagsInTestingScope','parse','set','lZYbC','ChromeExtension','aEODu','Build\x20creation\x20had\x20failed.','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','iDHZN','getAccessibilityResultsSummary','executeAsyncScript','bstackA11yShouldScan','capabilities_','No\x20accessibility\x20summary\x20was\x20found.','data','PkPsl','../performance/constants','ZFMfO','NAneQ','selenium-webdriver','Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20','eWzyT','status','success','CjxOK','nestedKeyValue','2913113hKSEQw','format','resolve','getBrowserName','platforms','OTFuT','checkAccessibilityPlatformConfig','getPackageVersion','args','HlrER','WdvEX','measureWrapper','PERFORM_SCAN','CltAE','PUT','errors','ZjFpF','isUndefined','BROWSERSTACK_TEST_ACCESSIBILITY_YML','some','getPlatform','string','util','Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20','user','env','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','Invalid\x20request:\x20','getUserName','vATjj','deviceName','oPshU','gAatP','KOYuq','isAccessibilityPlatform','browserVersion','qZudl','uSWrf','getResults','fptGF','../performance/performance-tester','nonBstackPlatformValidation','includes'];a97_0x431e=function(){return _0x52d59e;};return a97_0x431e();}function a97_0x4083(_0x5c5e35,_0x46ce4f){const _0x431ec8=a97_0x431e();return a97_0x4083=function(_0x4083c8,_0x2a0287){_0x4083c8=_0x4083c8-0x7b;let _0x2c0eb3=_0x431ec8[_0x4083c8];return _0x2c0eb3;},a97_0x4083(_0x5c5e35,_0x46ce4f);}(function(_0x1850a9,_0x52defd){const _0x5d02b1=a97_0x4083,_0x35be52=_0x1850a9();while(!![]){try{const _0x26c6a4=parseInt(_0x5d02b1(0xe3))/0x1+parseInt(_0x5d02b1(0xe1))/0x2+parseInt(_0x5d02b1(0xc3))/0x3+-parseInt(_0x5d02b1(0x10e))/0x4+-parseInt(_0x5d02b1(0x107))/0x5+parseInt(_0x5d02b1(0x10b))/0x6+-parseInt(_0x5d02b1(0x7d))/0x7*(parseInt(_0x5d02b1(0x115))/0x8);if(_0x26c6a4===_0x52defd)break;else _0x35be52['push'](_0x35be52['shift']());}catch(_0x21f491){_0x35be52['push'](_0x35be52['shift']());}}}(a97_0x431e,0x8b4b9));const path=require('path'),util=require(a97_0x350bf4(0x93)),bsSetupHelper=require(a97_0x350bf4(0xe0)),logger=require('../logger')['winstonLogger'],{API_URL,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require('./constants'),PerformanceTester=require(a97_0x350bf4(0xa5)),scripts=require(a97_0x350bf4(0xb1)),globals=require(a97_0x350bf4(0xf7)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a97_0x350bf4(0x140));exports['fetchPlatformDetails']=async _0x58fc10=>{const _0x37128f=a97_0x350bf4,_0x3df20a={};_0x3df20a[_0x37128f(0xf9)]=function(_0x445784,_0x1ae497){return _0x445784===_0x1ae497;},_0x3df20a[_0x37128f(0x9e)]='browserstack';const _0x34d738=_0x3df20a;let _0x1b0fc8={};try{const _0x366682=await _0x58fc10[_0x37128f(0x12e)]();_0x1b0fc8={'os_name':_0x366682[_0x37128f(0x91)](),'os_version':bsSetupHelper['getPlatformVersion'](_0x34d738[_0x37128f(0xf9)](global[_0x37128f(0xed)],_0x34d738[_0x37128f(0x9e)])),'browser_name':_0x366682[_0x37128f(0x80)](),'browser_version':_0x366682[_0x37128f(0xc1)]()};}catch(_0x1a82ef){logger[_0x37128f(0x11e)](_0x37128f(0xd5)+_0x1a82ef);}return _0x1b0fc8;},exports[a97_0x350bf4(0x12c)]=()=>{const _0x345435=a97_0x350bf4,_0x3a4b33={};_0x3a4b33[_0x345435(0xda)]=function(_0x45633d,_0x1573bf){return _0x45633d===_0x1573bf;},_0x3a4b33['ZBHOq']=_0x345435(0x92),_0x3a4b33[_0x345435(0xe9)]=function(_0x4bd8c4,_0x4f8e65){return _0x4bd8c4>_0x4f8e65;},_0x3a4b33['fptGF']=function(_0x3632ae,_0x48225d){return _0x3632ae!==_0x48225d;},_0x3a4b33[_0x345435(0x112)]=_0x345435(0xd0),_0x3a4b33[_0x345435(0xff)]=function(_0x2c8e9f,_0x107345){return _0x2c8e9f&&_0x107345;};const _0x5b85c6=_0x3a4b33;try{const _0x3f0f47=bsSetupHelper['isTrue'](process[_0x345435(0x96)][_0x345435(0x8f)])||bsSetupHelper[_0x345435(0x106)](process[_0x345435(0x96)][_0x345435(0xdb)]),_0x461edb=_0x5b85c6[_0x345435(0xda)](typeof process[_0x345435(0x96)][_0x345435(0xf5)],_0x5b85c6[_0x345435(0xce)])&&_0x5b85c6[_0x345435(0xe9)](process[_0x345435(0x96)][_0x345435(0xf5)][_0x345435(0x100)],0x0)&&_0x5b85c6[_0x345435(0xa4)](process[_0x345435(0x96)]['BS_A11Y_JWT'],_0x5b85c6[_0x345435(0x112)]);return _0x5b85c6[_0x345435(0xff)](_0x3f0f47,_0x461edb);}catch(_0xa229d5){logger[_0x345435(0x11e)]('Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20'+_0xa229d5);}return![];},exports[a97_0x350bf4(0xa6)]=(_0x3d37f9,_0x364546)=>{const _0x235458=a97_0x350bf4,_0x363dbb={'ezITF':_0x235458(0xb6),'CjxOK':function(_0x4d7b3f,_0x5af4e3){return _0x4d7b3f(_0x5af4e3);},'uOVvX':_0x235458(0xa0),'PkPsl':'version','vXgas':'bstack:options','vATjj':_0x235458(0x9b),'HYYVK':_0x235458(0xbc),'msudg':_0x235458(0x12b),'KmBnV':_0x235458(0xc5),'gJHkb':_0x235458(0x143),'faNxN':_0x235458(0xab),'xOZlk':_0x235458(0x85),'RhYDk':_0x235458(0xfe),'WdvEX':_0x235458(0x113),'OwVlQ':_0x235458(0x116),'LJkEb':_0x235458(0xcb),'NAneQ':function(_0x406337,_0xe0f2e6){return _0x406337===_0xe0f2e6;},'eWzyT':_0x235458(0x10a),'vSaDH':function(_0x25c596,_0x300d69){return _0x25c596>=_0x300d69;}},_0x1c7b48=_0x3d37f9['get'](_0x363dbb[_0x235458(0xcd)]),_0xcf3637=_0x363dbb[_0x235458(0x7b)](parseFloat,_0x3d37f9['get'](_0x363dbb[_0x235458(0x109)]))||_0x363dbb[_0x235458(0x7b)](parseFloat,_0x3d37f9[_0x235458(0xaf)](_0x363dbb[_0x235458(0x13f)])),_0x745ec0=_0x3d37f9['get'](_0x363dbb['vXgas'])||{},_0x153d8c=_0x363dbb[_0x235458(0x7b)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY),_0x1b9ea6=_0x745ec0[_0x363dbb[_0x235458(0x9a)]]||_0x3d37f9[_0x235458(0xaf)](_0x363dbb[_0x235458(0x10c)])||![];if(_0x1b9ea6)return logger[_0x235458(0x110)](_0x363dbb[_0x235458(0xf3)]),![];let _0x1036de;try{_0x1036de=bsSetupHelper['requireModule'](_0x363dbb['KmBnV'],_0x363dbb[_0x235458(0xdf)]);}catch(_0x3bfe2d){return![];}const _0x3e1946=new _0x1036de[(_0x235458(0xe5))](_0x364546[_0x235458(0xc2)]),_0x12aea2=bsSetupHelper['nestedKeyValue'](_0x3e1946,[_0x363dbb[_0x235458(0xe4)],_0x363dbb['xOZlk']])||bsSetupHelper[_0x235458(0x7c)](_0x364546[_0x235458(0x13c)],[_0x363dbb[_0x235458(0xfd)],_0x363dbb['RhYDk'],_0x363dbb[_0x235458(0x104)]])||bsSetupHelper[_0x235458(0x7c)](_0x364546[_0x235458(0x13c)],[_0x363dbb[_0x235458(0xdc)],_0x363dbb[_0x235458(0x104)]])||[];if(_0x12aea2[_0x235458(0xa7)](_0x363dbb[_0x235458(0x87)]))return logger[_0x235458(0x110)](_0x363dbb['OwVlQ']),![];const _0x46e1c5=_0x364546['capabilities_']||{},_0x3f99ac=bsSetupHelper[_0x235458(0x7c)](_0x46e1c5,[_0x363dbb['LJkEb']])||{},_0x56fad4=bsSetupHelper[_0x235458(0x7c)](_0x3f99ac,[_0x363dbb['xOZlk']])||[];if(_0x56fad4[_0x235458(0xa7)](_0x363dbb['WdvEX']))return logger[_0x235458(0x110)](_0x363dbb['OwVlQ']),![];if(_0x363dbb[_0x235458(0x142)](_0x1c7b48['toLowerCase'](),_0x363dbb[_0x235458(0x145)])&&_0x363dbb['vSaDH'](_0xcf3637,_0x153d8c))return!![];return logger[_0x235458(0x110)]('Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20'+MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY+'.'),![];},exports['setNonBstackInfraCapabilities']=_0x2eeb95=>{const _0x582263=a97_0x350bf4,_0x2e9f68={};_0x2e9f68['qsmJU']='goog:chromeOptions',_0x2e9f68['nfihC']=function(_0x3117e3,_0x155c10){return _0x3117e3||_0x155c10;},_0x2e9f68['gwtlC']='Not\x20a\x20Accessibility\x20Session';const _0x10e5e4=_0x2e9f68,_0x556b02=scripts[_0x582263(0x134)];try{const _0x47d425=bsSetupHelper['isTrue'](process[_0x582263(0x96)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'])||bsSetupHelper[_0x582263(0x106)](process[_0x582263(0x96)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']);if((!bsSetupHelper['isBrowserstackInfra']()||process['env']['BROWSERSTACK_TURBOSCALE'])&&_0x47d425){const _0x7b4438=_0x2eeb95[_0x582263(0x12e)](),_0x1ffb36=_0x7b4438[_0x582263(0xaf)](_0x10e5e4['qsmJU']),_0x50ee7c=_0x10e5e4['nfihC'](_0x1ffb36,{});bsSetupHelper[_0x582263(0x128)](_0x50ee7c,_0x556b02),_0x2eeb95['getCapabilities']()[_0x582263(0x132)](_0x10e5e4[_0x582263(0x126)],_0x50ee7c);}else logger['warn'](_0x10e5e4[_0x582263(0xd6)]);}catch(_0x1e264a){logger[_0x582263(0xe6)]('Error\x20while\x20adding\x20Non-Bstack\x20capabilities:\x20'+_0x1e264a);}},exports['shouldScanTestForAccessibility']=(_0x4882e3=null,_0x12c842=!![],_0x1cb7d6=[])=>{const _0x45ce0e=a97_0x350bf4,_0x4079aa={};_0x4079aa['cvZly']=function(_0x1c9560,_0x3c1359){return _0x1c9560==_0x3c1359;},_0x4079aa[_0x45ce0e(0x8a)]=function(_0x209335,_0x4c1d75){return _0x209335>_0x4c1d75;},_0x4079aa[_0x45ce0e(0xe8)]=function(_0x2b0ebf,_0xf0ab9f){return _0x2b0ebf===_0xf0ab9f;},_0x4079aa[_0x45ce0e(0x11b)]=function(_0x4864cb,_0x5d7939){return _0x4864cb&&_0x5d7939;},_0x4079aa[_0x45ce0e(0xa9)]=function(_0x1e8210,_0x263f27){return _0x1e8210===_0x263f27;};const _0x455e00=_0x4079aa;if(_0x455e00['cvZly'](process[_0x45ce0e(0x96)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'],null))return!![];try{const _0x46e58b=JSON[_0x45ce0e(0x131)](process[_0x45ce0e(0x96)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']),_0x2cdb6c=Array[_0x45ce0e(0xfc)](_0x46e58b[_0x45ce0e(0x130)])?_0x46e58b[_0x45ce0e(0x130)]:[],_0x336dcb=Array[_0x45ce0e(0xfc)](_0x46e58b[_0x45ce0e(0x105)])?_0x46e58b[_0x45ce0e(0x105)]:[];if(bsSetupHelper[_0x45ce0e(0x8e)](_0x4882e3)){if(_0x455e00[_0x45ce0e(0x8a)](_0x1cb7d6[_0x45ce0e(0x100)],0x0)){const _0x5a903e=_0x336dcb[_0x45ce0e(0x90)](_0xfa7397=>_0x1cb7d6['includes'](_0xfa7397)),_0xbe4729=_0x455e00[_0x45ce0e(0xe8)](_0x2cdb6c[_0x45ce0e(0x100)],0x0)||_0x2cdb6c['some'](_0x29b04c=>_0x1cb7d6[_0x45ce0e(0xa7)](_0x29b04c));return _0x455e00[_0x45ce0e(0x11b)](!_0x5a903e,_0xbe4729);}return!![];}let _0x5aeb6e;_0x12c842?_0x5aeb6e=_0x4882e3[_0x45ce0e(0xc9)]('/'):_0x5aeb6e=_0x4882e3;const _0x3adb38=_0x336dcb[_0x45ce0e(0x90)](_0x2b554a=>_0x5aeb6e[_0x45ce0e(0xa7)](_0x2b554a)),_0x59ae99=_0x455e00[_0x45ce0e(0xa9)](_0x2cdb6c[_0x45ce0e(0x100)],0x0)||_0x2cdb6c[_0x45ce0e(0x90)](_0x2420f8=>_0x5aeb6e[_0x45ce0e(0xa7)](_0x2420f8));return _0x455e00['sLaDK'](!_0x3adb38,_0x59ae99);}catch(_0x576a96){logger[_0x45ce0e(0x11e)](_0x45ce0e(0x144)+util['format'](_0x576a96));}return![];},exports[a97_0x350bf4(0x83)]=_0x28f486=>{const _0xbff20b=a97_0x350bf4;let _0x3f82de=![];try{_0x28f486[_0xbff20b(0x81)]['forEach'](_0x3d8f9a=>{const _0x67e6b3=_0xbff20b;if(bsSetupHelper[_0x67e6b3(0x106)](_0x3d8f9a['accessibility']))return _0x3f82de=!![],!![];});}catch(_0x49f9f6){logger['debug'](_0xbff20b(0x114)+_0x49f9f6);}return _0x3f82de||bsSetupHelper[_0xbff20b(0x106)](_0x28f486['accessibility']);},exports['createAccessibilityTestRun']=PerformanceTester[a97_0x350bf4(0x88)](a97_0x350bf4(0x12a),async function(_0xf5e27b,_0x281fa5){const _0x57b5cc=a97_0x350bf4,_0x4dd0ef={};_0x4dd0ef['omeiK']=_0x57b5cc(0xad),_0x4dd0ef[_0x57b5cc(0x9d)]=_0x57b5cc(0xb8),_0x4dd0ef['btjuv']=_0x57b5cc(0xbd),_0x4dd0ef[_0x57b5cc(0x10f)]=_0x57b5cc(0xea),_0x4dd0ef[_0x57b5cc(0x118)]='POST',_0x4dd0ef[_0x57b5cc(0xc7)]='v2/test_runs',_0x4dd0ef['spdrl']=function(_0x597c0b,_0x1b6774){return _0x597c0b===_0x1b6774;},_0x4dd0ef['iEAjt']=_0x57b5cc(0x127),_0x4dd0ef['mpdVA']=_0x57b5cc(0x103);const _0x43087b=_0x4dd0ef,_0xa06fcc=bsSetupHelper[_0x57b5cc(0x99)](_0xf5e27b),_0x3fbf46=bsSetupHelper[_0x57b5cc(0x12d)](_0xf5e27b);if(bsSetupHelper[_0x57b5cc(0x8e)](_0xa06fcc)||bsSetupHelper[_0x57b5cc(0x8e)](_0x3fbf46))return logger[_0x57b5cc(0xe6)](_0x43087b[_0x57b5cc(0xaa)]),[null,null];try{let _0xcb35c5;bsSetupHelper[_0x57b5cc(0x8e)](process[_0x57b5cc(0x96)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])?_0xcb35c5={}:_0xcb35c5=JSON[_0x57b5cc(0x131)](process[_0x57b5cc(0x96)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']);const {name:_0x39eb3a,version:_0x562d2e}=bsSetupHelper[_0x57b5cc(0xb5)](_0xf5e27b,_0x281fa5),_0xc7c57f={'projectName':_0xf5e27b[_0x57b5cc(0xde)],'buildName':_0xf5e27b[_0x57b5cc(0x122)]||path[_0x57b5cc(0xd1)](path[_0x57b5cc(0x7f)](process['cwd']())),'startTime':new Date()['toISOString'](),'description':_0xf5e27b['buildDescription']||'','source':{'frameworkName':_0x281fa5[_0x57b5cc(0xa7)](_0x43087b[_0x57b5cc(0x9d)])?_0x43087b[_0x57b5cc(0x9d)]:_0x281fa5,'frameworkVersion':bsSetupHelper[_0x57b5cc(0x84)](_0x281fa5),'sdkVersion':bsSetupHelper[_0x57b5cc(0xb7)](),'language':_0x43087b[_0x57b5cc(0xba)],'testFramework':_0x39eb3a,'testFrameworkVersion':_0x562d2e},'settings':_0xcb35c5,'versionControl':await bsSetupHelper['getGitMetaData'](),'ciInfo':bsSetupHelper[_0x57b5cc(0xee)](),'hostInfo':bsSetupHelper[_0x57b5cc(0xcf)](),'browserstackAutomation':bsSetupHelper[_0x57b5cc(0x11c)]()},_0xe12f43={};_0xe12f43[_0x57b5cc(0x95)]=_0xa06fcc,_0xe12f43['pass']=_0x3fbf46;const _0x483425={};_0x483425[_0x57b5cc(0xd9)]=_0x43087b[_0x57b5cc(0x10f)];const _0x45b8de={};_0x45b8de[_0x57b5cc(0xeb)]=_0xe12f43,_0x45b8de[_0x57b5cc(0x117)]=_0x483425;const _0x5ba3c2=_0x45b8de,_0xc2c146={};_0xc2c146[_0x57b5cc(0x12f)]=_0xc7c57f,_0xc2c146['json']=!![];const _0x399805=Object[_0x57b5cc(0xe7)](_0x5ba3c2,_0xc2c146),_0x3a72a8=await bsSetupHelper['nodeRequest'](_0x43087b[_0x57b5cc(0x118)],_0x43087b[_0x57b5cc(0xc7)],_0x399805,_0xf5e27b,API_URL);let _0xf623ee=process[_0x57b5cc(0x96)][_0x57b5cc(0xac)];return _0xf623ee?_0xf623ee=JSON[_0x57b5cc(0x131)](process['env'][_0x57b5cc(0xac)]):_0xf623ee={},scripts[_0x57b5cc(0xd4)](_0x3a72a8[_0x57b5cc(0x13e)][_0x57b5cc(0x13e)]),scripts[_0x57b5cc(0x121)](),_0xf623ee[_0x57b5cc(0xbb)]=_0x3a72a8['data'][_0x57b5cc(0x13e)][_0x57b5cc(0xbb)],process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x57b5cc(0x111)](_0xf623ee),[_0x3a72a8['data'][_0x57b5cc(0x13e)]['accessibilityToken'],_0x3a72a8[_0x57b5cc(0x13e)]['data']['id']];}catch(_0xa3bb21){if(_0xa3bb21[_0x57b5cc(0x10d)])logger[_0x57b5cc(0xe6)](_0x57b5cc(0x108)+_0xa3bb21[_0x57b5cc(0x10d)][_0x57b5cc(0x146)]+'\x20'+_0xa3bb21[_0x57b5cc(0x10d)][_0x57b5cc(0xec)]+'\x20'+JSON[_0x57b5cc(0x111)](_0xa3bb21[_0x57b5cc(0x10d)][_0x57b5cc(0x13e)]));else{if(_0x43087b[_0x57b5cc(0xc0)](_0xa3bb21[_0x57b5cc(0xd2)],_0x43087b[_0x57b5cc(0xd8)])){logger[_0x57b5cc(0xe6)]('Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20'+(_0xa3bb21[_0x57b5cc(0xd2)]||_0xa3bb21[_0x57b5cc(0xb2)]));for(const _0x5b21fc of _0xa3bb21[_0x57b5cc(0x8c)]){logger[_0x57b5cc(0xe6)](_0x5b21fc[_0x57b5cc(0xd2)]);}process[_0x57b5cc(0x96)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x43087b[_0x57b5cc(0xca)],process[_0x57b5cc(0x96)][_0x57b5cc(0xdb)]=_0x43087b[_0x57b5cc(0xca)];}else logger[_0x57b5cc(0xe6)](_0x57b5cc(0x108)+(_0xa3bb21[_0x57b5cc(0xd2)]||_0xa3bb21['stack']));}return[null,null];}}),exports[a97_0x350bf4(0x129)]=PerformanceTester[a97_0x350bf4(0x88)](a97_0x350bf4(0xf1),async function(_0x438efe){const _0x4dd36b=a97_0x350bf4,_0x524515={};_0x524515[_0x4dd36b(0x138)]=function(_0x2b626c,_0x43c1f8){return _0x2b626c!==_0x43c1f8;},_0x524515[_0x4dd36b(0x135)]='string',_0x524515['uSWrf']=_0x4dd36b(0xe6),_0x524515[_0x4dd36b(0xc8)]=_0x4dd36b(0x136),_0x524515[_0x4dd36b(0xa1)]=_0x4dd36b(0xea),_0x524515[_0x4dd36b(0xfa)]=_0x4dd36b(0x8b),_0x524515[_0x4dd36b(0x125)]=_0x4dd36b(0xf6),_0x524515['Tltrg']=function(_0x4c60c0,_0x72436){return _0x4c60c0+_0x72436;},_0x524515[_0x4dd36b(0xbf)]=_0x4dd36b(0x98),_0x524515['hhxqW']=_0x4dd36b(0x147);const _0x55d15e=_0x524515;if(bsSetupHelper['isUndefined'](process[_0x4dd36b(0x96)][_0x4dd36b(0xf5)])||_0x55d15e['iDHZN'](typeof process[_0x4dd36b(0x96)][_0x4dd36b(0xf5)],_0x55d15e[_0x4dd36b(0x135)])){const _0x2c4c12={};return _0x2c4c12[_0x4dd36b(0x146)]=_0x55d15e[_0x4dd36b(0xa2)],_0x2c4c12[_0x4dd36b(0xd2)]=_0x55d15e[_0x4dd36b(0xc8)],_0x2c4c12;}const _0x2b5f16={'endTime':new Date()[_0x4dd36b(0x11a)]()},_0x14f055={};_0x14f055[_0x4dd36b(0xe2)]=_0x4dd36b(0xf8)+process[_0x4dd36b(0x96)][_0x4dd36b(0xf5)],_0x14f055['Content-Type']=_0x55d15e['qZudl'];const _0x2bd66e={};_0x2bd66e[_0x4dd36b(0x117)]=_0x14f055;const _0x1cf15c=_0x2bd66e,_0x555ca1={};_0x555ca1[_0x4dd36b(0x12f)]=_0x2b5f16,_0x555ca1[_0x4dd36b(0xeb)]=null,_0x555ca1[_0x4dd36b(0x11d)]=!![];const _0x2dfc9c=Object[_0x4dd36b(0xe7)](_0x1cf15c,_0x555ca1);try{const _0x4fc941=await bsSetupHelper[_0x4dd36b(0xd7)](_0x55d15e[_0x4dd36b(0xfa)],_0x55d15e[_0x4dd36b(0x125)],_0x2dfc9c,_0x438efe,API_URL);if(_0x4fc941['data'][_0x4dd36b(0xe6)])throw new Error(_0x55d15e['Tltrg'](_0x55d15e[_0x4dd36b(0xbf)],_0x4fc941[_0x4dd36b(0x13e)][_0x4dd36b(0xe6)]));else{logger['info']('BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20'+new Date()[_0x4dd36b(0x11a)]());const _0x2a4ada={};return _0x2a4ada[_0x4dd36b(0x146)]=_0x55d15e['hhxqW'],_0x2a4ada[_0x4dd36b(0xd2)]='',_0x2a4ada;}}catch(_0x579aab){_0x579aab[_0x4dd36b(0x10d)]?logger['error'](_0x4dd36b(0x94)+_0x579aab[_0x4dd36b(0x10d)][_0x4dd36b(0x146)]+'\x20'+_0x579aab[_0x4dd36b(0x10d)]['statusText']+'\x20'+JSON[_0x4dd36b(0x111)](_0x579aab[_0x4dd36b(0x10d)]['data'])):logger['error'](_0x4dd36b(0x94)+(_0x579aab[_0x4dd36b(0xd2)]||util[_0x4dd36b(0x7e)](_0x579aab)));const _0x337777={};return _0x337777[_0x4dd36b(0x146)]=_0x55d15e[_0x4dd36b(0xa2)],_0x337777['message']=_0x579aab[_0x4dd36b(0xd2)]||(_0x579aab[_0x4dd36b(0x10d)]?_0x579aab[_0x4dd36b(0x10d)][_0x4dd36b(0x146)]+':'+_0x579aab[_0x4dd36b(0x10d)]['statusText']:_0x579aab),_0x337777;}}),exports['performScan']=async(_0x4ea4e4,_0x158f08=null)=>{const _0x433066=a97_0x350bf4,_0xccf2d6={};_0xccf2d6[_0x433066(0xae)]='isAccessibilityPlatform',_0xccf2d6[_0x433066(0x123)]='bstackA11yShouldScan',_0xccf2d6[_0x433066(0x11f)]=_0x433066(0xb0);const _0xdc6c52=_0xccf2d6;if(!this[_0x433066(0x12c)]()||!globals[_0x433066(0x102)](_0xdc6c52[_0x433066(0xae)])||!globals[_0x433066(0x102)](_0xdc6c52[_0x433066(0x123)])){logger[_0x433066(0x110)](_0xdc6c52[_0x433066(0x11f)]);return;}return await PerformanceTester[_0x433066(0x88)](PerformanceA11yEvents[_0x433066(0x89)],async()=>{const _0x579319=_0x433066,_0x189bae={};_0x189bae[_0x579319(0xb4)]=_0x158f08||global['browserstackSessionName'];const _0x15a5b8=util[_0x579319(0x7e)](await _0x4ea4e4[_0x579319(0x13a)](scripts['performScan'],_0x189bae));return logger[_0x579319(0x11e)](_0x579319(0xcc)+_0x15a5b8),_0x15a5b8;},{'command':_0x158f08})();},exports[a97_0x350bf4(0xf0)]=async(_0x132b0f,_0x51326e)=>{const _0x6ca932=a97_0x350bf4,_0x3e6540={};_0x3e6540[_0x6ca932(0xef)]=_0x6ca932(0xbe),_0x3e6540[_0x6ca932(0x101)]=_0x6ca932(0x9f),_0x3e6540[_0x6ca932(0xb3)]=_0x6ca932(0x13b),_0x3e6540[_0x6ca932(0x8d)]=_0x6ca932(0x97),_0x3e6540[_0x6ca932(0x141)]=_0x6ca932(0xf0),_0x3e6540['yFHTb']='No\x20accessibility\x20results\x20were\x20found.';const _0x11e47a=_0x3e6540;if(!this['isAccessibilityAutomationSession']()||!globals[_0x6ca932(0x102)](_0x11e47a['XMtRP'])||!globals[_0x6ca932(0x102)](_0x11e47a[_0x6ca932(0xb3)]))return logger[_0x6ca932(0x110)](_0x11e47a[_0x6ca932(0x8d)]),[];try{return await PerformanceTester[_0x6ca932(0x88)](PerformanceA11yEvents[_0x6ca932(0x89)],async()=>{const _0x2269f3=_0x6ca932;logger[_0x2269f3(0x11e)](_0x11e47a['HJikM']);const _0x2fb133={};_0x2fb133['method']=_0x51326e[_0x2269f3(0xdd)],logger[_0x2269f3(0x11e)](util[_0x2269f3(0x7e)](await _0x132b0f[_0x2269f3(0x13a)](scripts['performScan'],_0x2fb133)));},{'command':_0x11e47a[_0x6ca932(0x141)]})(),await PerformanceTester[_0x6ca932(0x88)](PerformanceA11yEvents[_0x6ca932(0xd3)],async()=>{const _0x49861b=_0x6ca932,_0x3d3e66=await _0x132b0f[_0x49861b(0x13a)](scripts[_0x49861b(0xa3)]);return _0x3d3e66;})();}catch{return logger[_0x6ca932(0xe6)](_0x11e47a[_0x6ca932(0xb9)]),[];}},exports[a97_0x350bf4(0x139)]=async(_0x17350f,_0x431d88)=>{const _0x4afdd2=a97_0x350bf4,_0x16571f={};_0x16571f[_0x4afdd2(0xc4)]=_0x4afdd2(0x119),_0x16571f[_0x4afdd2(0xa8)]='isAccessibilityPlatform',_0x16571f[_0x4afdd2(0x86)]=_0x4afdd2(0x13b),_0x16571f['uINPd']=_0x4afdd2(0x137),_0x16571f[_0x4afdd2(0xc6)]='getAccessibilityResultsSummary',_0x16571f[_0x4afdd2(0x133)]=_0x4afdd2(0x13d);const _0x1f61cc=_0x16571f;if(!this['isAccessibilityAutomationSession']()||!globals[_0x4afdd2(0x102)](_0x1f61cc[_0x4afdd2(0xa8)])||!globals[_0x4afdd2(0x102)](_0x1f61cc[_0x4afdd2(0x86)]))return logger[_0x4afdd2(0x110)](_0x1f61cc['uINPd']),{};try{return await PerformanceTester[_0x4afdd2(0x88)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x43e525=_0x4afdd2;logger[_0x43e525(0x11e)](_0x1f61cc[_0x43e525(0xc4)]);const _0x39dae2={};_0x39dae2['method']=_0x431d88['browserstackSessionName'],logger['debug'](util[_0x43e525(0x7e)](await _0x17350f[_0x43e525(0x13a)](scripts[_0x43e525(0x124)],_0x39dae2)));},{'command':_0x1f61cc[_0x4afdd2(0xc6)]})(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents['GET_RESULTS_SUMMARY'],async()=>{const _0xff60f8=_0x4afdd2,_0x10f86a=await _0x17350f[_0xff60f8(0x13a)](scripts[_0xff60f8(0xf2)]);return _0x10f86a;})();}catch{return logger['error'](_0x1f61cc[_0x4afdd2(0x133)]),{};}},exports['isBrowserStackCommandExecutor']=_0x2cc6c1=>{const _0x3b56f2=a97_0x350bf4,_0x284d6e={};_0x284d6e[_0x3b56f2(0x120)]=function(_0x270efa,_0x538ac1){return _0x270efa===_0x538ac1;},_0x284d6e[_0x3b56f2(0x82)]='string',_0x284d6e[_0x3b56f2(0x9c)]=_0x3b56f2(0xf4);const _0x26d506=_0x284d6e;if(_0x2cc6c1&&_0x2cc6c1['script']&&_0x26d506['wZRSI'](typeof _0x2cc6c1['script'],_0x26d506[_0x3b56f2(0x82)]))return _0x2cc6c1[_0x3b56f2(0xfb)][_0x3b56f2(0xa7)](_0x26d506[_0x3b56f2(0x9c)]);return![];};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a98_0x5c5e62=a98_0x1377;(function(_0x18d1f5,_0x56ba85){const _0x272de9=a98_0x1377,_0x481072=_0x18d1f5();while(!![]){try{const _0x12a46f=parseInt(_0x272de9(0x110))/0x1+parseInt(_0x272de9(0xf1))/0x2*(-parseInt(_0x272de9(0x107))/0x3)+-parseInt(_0x272de9(0xeb))/0x4+parseInt(_0x272de9(0x101))/0x5+-parseInt(_0x272de9(0x10b))/0x6*(parseInt(_0x272de9(0x111))/0x7)+parseInt(_0x272de9(0x11d))/0x8*(-parseInt(_0x272de9(0xf8))/0x9)+parseInt(_0x272de9(0x108))/0xa;if(_0x12a46f===_0x56ba85)break;else _0x481072['push'](_0x481072['shift']());}catch(_0x5dd304){_0x481072['push'](_0x481072['shift']());}}}(a98_0x4891,0x33fe8));const path=require(a98_0x5c5e62(0xf5)),fs=require('fs'),logger=require('../../helpers/logger')[a98_0x5c5e62(0xec)],helper=require(a98_0x5c5e62(0x10d));class Scripts{constructor(){const _0x372f7c=a98_0x5c5e62,_0x2c61fa={};_0x2c61fa[_0x372f7c(0xf9)]=_0x372f7c(0xf2),_0x2c61fa[_0x372f7c(0x11b)]='commands.json',_0x2c61fa[_0x372f7c(0xf3)]='.browserstack';const _0x291b6b=_0x2c61fa,_0x13c86b=_0x291b6b[_0x372f7c(0xf9)]['split']('|');let _0xe1972d=0x0;while(!![]){switch(_0x13c86b[_0xe1972d++]){case'0':this[_0x372f7c(0xfa)]=null;continue;case'1':this[_0x372f7c(0x10e)]=null;continue;case'2':this[_0x372f7c(0xed)]=path[_0x372f7c(0xef)](this[_0x372f7c(0x112)],_0x291b6b[_0x372f7c(0x11b)]);continue;case'3':this['getResults']=null;continue;case'4':this[_0x372f7c(0xfe)]();continue;case'5':this[_0x372f7c(0x112)]=path[_0x372f7c(0xef)](helper[_0x372f7c(0x100)](),_0x291b6b[_0x372f7c(0xf3)]);continue;case'6':this['performScan']=null;continue;}break;}}[a98_0x5c5e62(0xe9)](_0x436c97){const _0x2aae3c=a98_0x5c5e62;_0x436c97['scripts']&&(this[_0x2aae3c(0xff)]=_0x436c97[_0x2aae3c(0xfc)]['scan'],this['getResults']=_0x436c97[_0x2aae3c(0xfc)][_0x2aae3c(0xf7)],this[_0x2aae3c(0xfa)]=_0x436c97[_0x2aae3c(0xfc)][_0x2aae3c(0xfa)],this['saveTestResults']=_0x436c97[_0x2aae3c(0xfc)]['saveResults']),this[_0x2aae3c(0x117)]=_0x436c97['commands'],this[_0x2aae3c(0x103)]=_0x436c97[_0x2aae3c(0xf4)];}[a98_0x5c5e62(0xfd)](_0x430688,_0x39c047){const _0x4c049b=a98_0x5c5e62,_0x16138c={};_0x16138c['kpZlH']=function(_0x41faea,_0x3ca700){return _0x41faea>_0x3ca700;},_0x16138c[_0x4c049b(0xea)]=function(_0x22d3ee,_0x5db321){return _0x22d3ee===_0x5db321;},_0x16138c['FPXWz']='scan',_0x16138c['mXqKN']=_0x4c049b(0xf7),_0x16138c[_0x4c049b(0x109)]=function(_0x3c5ae9,_0x2a796b){return _0x3c5ae9===_0x2a796b;},_0x16138c[_0x4c049b(0xe6)]='getResultsSummary',_0x16138c[_0x4c049b(0x114)]=function(_0x26f7a8,_0x1e1d53){return _0x26f7a8===_0x1e1d53;},_0x16138c['nFBlM']=_0x4c049b(0x118);const _0x8db58=_0x16138c;if(_0x430688&&_0x8db58[_0x4c049b(0xfb)](_0x430688['length'],0x0))for(const _0x4ff763 of _0x430688){if(_0x8db58[_0x4c049b(0xea)](_0x4ff763[_0x4c049b(0x119)](),_0x8db58[_0x4c049b(0x116)]))this[_0x4c049b(0xff)]=_0x4ff763[_0x4c049b(0x106)]();else{if(_0x8db58[_0x4c049b(0xea)](_0x4ff763[_0x4c049b(0x119)](),_0x8db58[_0x4c049b(0x10c)]))this[_0x4c049b(0xf7)]=_0x4ff763[_0x4c049b(0x106)]();else{if(_0x8db58[_0x4c049b(0x109)](_0x4ff763[_0x4c049b(0x119)](),_0x8db58['WTlCn']))this[_0x4c049b(0xfa)]=_0x4ff763[_0x4c049b(0x106)]();else _0x8db58[_0x4c049b(0x114)](_0x4ff763[_0x4c049b(0x119)](),_0x8db58[_0x4c049b(0xf0)])&&(this['saveTestResults']=_0x4ff763[_0x4c049b(0x106)]());}}}_0x39c047&&_0x8db58[_0x4c049b(0xfb)](_0x39c047[_0x4c049b(0x104)],0x0)&&(this[_0x4c049b(0x117)]=_0x39c047['map'](_0x509d90=>{const _0x86d85b=_0x4c049b;return{'name':_0x509d90[_0x86d85b(0x119)](),'method':_0x509d90[_0x86d85b(0x105)](),'library':_0x509d90['getLibrary'](),'module':_0x509d90['getModule'](),'class':_0x509d90[_0x86d85b(0xe7)]()};}));}[a98_0x5c5e62(0x115)](_0x30d7eb){const _0x11be69=a98_0x5c5e62,_0x6410d0={};_0x6410d0['Mcpyr']=function(_0x2dc8a5,_0x13b78d){return _0x2dc8a5!==_0x13b78d;};const _0x2efd09=_0x6410d0;try{return _0x2efd09[_0x11be69(0xf6)](this[_0x11be69(0x117)][_0x11be69(0x10f)](_0x362394=>_0x362394[_0x11be69(0x11e)][_0x11be69(0x11f)]()===_0x30d7eb[_0x11be69(0x11f)]()),-0x1);}catch(_0x5e66ae){logger['debug'](_0x11be69(0x11c)+_0x5e66ae);}return![];}[a98_0x5c5e62(0x102)](){const _0xc3d78d=a98_0x5c5e62;!fs[_0xc3d78d(0xee)](this[_0xc3d78d(0x112)])&&fs[_0xc3d78d(0x113)](this[_0xc3d78d(0x112)]),fs[_0xc3d78d(0x10a)](this[_0xc3d78d(0xed)],JSON[_0xc3d78d(0xe5)]({'scripts':{'scan':this[_0xc3d78d(0xff)],'getResults':this[_0xc3d78d(0xf7)],'getResultsSummary':this[_0xc3d78d(0xfa)],'saveResults':this[_0xc3d78d(0x10e)]},'commands':this[_0xc3d78d(0x117)],'nonBStackInfraA11yChromeOptions':this[_0xc3d78d(0x103)]}));}['fromJson'](){const _0x3d31ab=a98_0x5c5e62,_0x31677e={'yTRTT':function(_0x5363eb,_0x1fbfec){return _0x5363eb(_0x1fbfec);}};fs[_0x3d31ab(0xee)](this[_0x3d31ab(0xed)])&&this[_0x3d31ab(0xe9)](_0x31677e[_0x3d31ab(0x11a)](require,this[_0x3d31ab(0xed)]));}}function a98_0x1377(_0x4da1a3,_0x553881){const _0x4891de=a98_0x4891();return a98_0x1377=function(_0x137701,_0x315e2a){_0x137701=_0x137701-0xe5;let _0x540653=_0x4891de[_0x137701];return _0x540653;},a98_0x1377(_0x4da1a3,_0x553881);}module[a98_0x5c5e62(0xe8)]=new Scripts();function a98_0x4891(){const _0x194de2=['6|3|0|1|5|2|4','VvOZv','nonBStackInfraA11yChromeOptions','path','Mcpyr','getResults','126vgeCfy','zIcaQ','getResultsSummary','kpZlH','scripts','parseFromProto','fromJson','performScan','homedir','968695WhDDcl','toJson','ChromeExtension','length','getMethod','getCommand','54039tMJluZ','732640iAmjyy','tGxvV','writeFileSync','140874PSMVUd','mXqKN','../helper','saveTestResults','findIndex','273564zPycLL','7dyUIhh','browserstackFolderPath','mkdirSync','TNfRn','shouldWrapCommand','FPXWz','commandsToWrap','saveResults','getName','yTRTT','ubbJJ','Exception\x20in\x20browserstack\x20accessibility\x20automation\x20with\x20error:\x20','14728OdaaiM','name','toLowerCase','stringify','WTlCn','getClass','exports','parseFromJson','QNDbv','176708ppVZkL','winstonLogger','commandsPath','existsSync','join','nFBlM','26VQCqOP'];a98_0x4891=function(){return _0x194de2;};return a98_0x4891();}
|
|
@@ -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
|
+
function a99_0xa2e5(){const _0x47cb35=['getGlobal','BBMia','fromEntries','selector','handleFailure','aiHealing','HEALING_LOG_DATA_TIMEOUT','bEcMK','browserstackSessionName','aiSdkWrapper','bvzKG','edgeOptions_','BIalG','freeze','config','toLowerCase','using','join','_handleEvent','firefoxOptions_','354113EMhhWF','../globals','getTestName','debug','ZSzkp','microsoftedge','logData','chrome','aiHeal_groupId','2006265KDfKsC','BrowserstackHealing','locatorValue','zUwqr','cancel','QSmFB','ZNjzW','HbEYU','KNeqF','getSession','157328oRmVWw','parameters_','../../ai-sdk-node/bundle','VkNCL','MzCTK','BrowserstackHealingHealFailureFailed','SDtdx','SYPpE','2239856UNrbsq','capabilities_','forEach','setTcgToken','POLL_HEALING_RESULT_TIMEOUT','isSelfHealEnabled','DppWg','JHfUp','WTkSk','BrowserstackHealing.healFailure\x20method\x20timed\x20out','HEALING_FAILURE_TIMEOUT','BrowserstackHealingSetTcgTokenFailed','lOIYr','TeREM','getId','race','initializeHealingCapabilities','mFFeu','MeAqY','320420WGlksI','BrowserstackHealingPollResultFailed','tNPwy','framework','\x20command','string','Error\x20in\x20(healing)\x20success\x20event.\x20ERROR:\x20','getCommands','BrowserstackHealing.pollResult\x20method\x20timed\x20out','Error\x20in\x20initialising\x20healing\x20capabilities\x20,\x20error:\x20','SET_TCG_TOKEN_TIMEOUT','../logger','./autoHealHelper','keys','healFailure','error','vcrcD','BrowserstackHealingLogDataFailed','274652VeoILM','value','message','info','BrowserstackHealing.logData\x20method\x20timed\x20out','safari','ieOptions_','browserName','ghJiJ','gJBtF','hLvyX','handleSuccess','YAPpt','TCG_URL','1004311bwfOis','safariOptions_','TCG_REGION','BrowserstackHealing.setToken\x20method\x20timed\x20out','log','NcslH','RNgRE','winstonLogger','42ycryoH','LpfVW','split','Healing\x20Failed,\x20Browserstack\x20AI\x20could\x20not\x20heal\x20the\x20','replace','then','\x22:\x20{\x22endpoint\x22:\x20\x22','Unable\x20to\x20load\x20healing\x20module,\x20error:\x20','locatorType','getCapabilities','map_','279cTyXgc','getProjectName','chromeOptions_','cvyKE','setToken','HgASB','Error\x20in\x20(healing)\x20handling\x20failure\x20event.\x20ERROR:\x20'];a99_0xa2e5=function(){return _0x47cb35;};return a99_0xa2e5();}const a99_0x4a3a2b=a99_0x1152;(function(_0x3262aa,_0x3bc07e){const _0x4a0bff=a99_0x1152,_0x12d5f9=_0x3262aa();while(!![]){try{const _0x3e0be3=parseInt(_0x4a0bff(0x187))/0x1+-parseInt(_0x4a0bff(0x1c7))/0x2+-parseInt(_0x4a0bff(0x190))/0x3+parseInt(_0x4a0bff(0x1a2))/0x4+-parseInt(_0x4a0bff(0x1b5))/0x5*(parseInt(_0x4a0bff(0x1dd))/0x6)+parseInt(_0x4a0bff(0x1d5))/0x7+parseInt(_0x4a0bff(0x19a))/0x8*(parseInt(_0x4a0bff(0x16c))/0x9);if(_0x3e0be3===_0x3bc07e)break;else _0x12d5f9['push'](_0x12d5f9['shift']());}catch(_0x59fb07){_0x12d5f9['push'](_0x12d5f9['shift']());}}}(a99_0xa2e5,0x64b6f));const path=require('path'),{commandRepository}=require(a99_0x4a3a2b(0x1c1)),constants=require('../../bin/utils/constants'),logger=require(a99_0x4a3a2b(0x1c0))[a99_0x4a3a2b(0x1dc)],globals=require(a99_0x4a3a2b(0x188)),timeoutPromise=require('../../helpers/timeoutPromise'),isUndefinedOrNull=_0x1d5bd7=>_0x1d5bd7===undefined||_0x1d5bd7===null||_0x1d5bd7==='',isNotUndefinedOrNull=_0x5cf99a=>!isUndefinedOrNull(_0x5cf99a),isString=_0x3a0b17=>isNotUndefinedOrNull(_0x3a0b17)&&typeof _0x3a0b17===a99_0x4a3a2b(0x1ba);function a99_0x1152(_0x309295,_0x39fb56){const _0xa2e52e=a99_0xa2e5();return a99_0x1152=function(_0x1152bb,_0x1bddb2){_0x1152bb=_0x1152bb-0x166;let _0x2924cf=_0xa2e52e[_0x1152bb];return _0x2924cf;},a99_0x1152(_0x309295,_0x39fb56);}class AiSdkWrapper{constructor(){const _0x15d806=a99_0x4a3a2b,_0xc605cd={'nKlWh':function(_0x460d52,_0x25e89b){return _0x460d52(_0x25e89b);},'MeAqY':_0x15d806(0x19c)};this['BrowserstackHealing']=undefined;try{this['BrowserstackHealing']=_0xc605cd['nKlWh'](require,path[_0x15d806(0x184)](__dirname,_0xc605cd[_0x15d806(0x1b4)]));}catch(_0x599afb){logger[_0x15d806(0x1c4)](_0x15d806(0x168)+(_0x599afb&&_0x599afb[_0x15d806(0x1c9)]?_0x599afb['message']:''));}}[a99_0x4a3a2b(0x1b2)](_0x454eee){const _0x38b6c2=a99_0x4a3a2b,_0x5ca605={};_0x5ca605[_0x38b6c2(0x1b3)]='newCapabilities',_0x5ca605[_0x38b6c2(0x19e)]=function(_0x9e5ba6,_0x5aac96){return _0x9e5ba6===_0x5aac96;},_0x5ca605[_0x38b6c2(0x18b)]=_0x38b6c2(0x18e),_0x5ca605['TDYVV']='firefox',_0x5ca605['gJBtF']=function(_0x1fb2ea,_0x51f809){return _0x1fb2ea===_0x51f809;},_0x5ca605['FxvPE']=_0x38b6c2(0x1cc),_0x5ca605['KNeqF']='edge',_0x5ca605[_0x38b6c2(0x19d)]=_0x38b6c2(0x18c),_0x5ca605[_0x38b6c2(0x1ae)]=function(_0x3415c3,_0x51be0c){return _0x3415c3===_0x51be0c;};const _0x5e66f1=_0x5ca605;try{const _0x3a6908=this[_0x38b6c2(0x191)]['initializeCapabilities'](Object[_0x38b6c2(0x175)](_0x454eee[_0x38b6c2(0x16a)]()[_0x38b6c2(0x16b)]));console[_0x38b6c2(0x1d9)](_0x5e66f1[_0x38b6c2(0x1b3)],_0x3a6908);if(_0x5e66f1[_0x38b6c2(0x19e)](_0x3a6908?.[_0x38b6c2(0x1ce)]?.[_0x38b6c2(0x182)](),_0x5e66f1[_0x38b6c2(0x18b)]))_0x454eee[_0x38b6c2(0x16e)]=_0x3a6908;else{if(_0x5e66f1['MzCTK'](_0x3a6908?.['browserName']?.['toLowerCase'](),_0x5e66f1['TDYVV']))_0x454eee[_0x38b6c2(0x186)]=_0x3a6908;else{if(_0x5e66f1['gJBtF'](_0x3a6908?.[_0x38b6c2(0x1ce)]?.[_0x38b6c2(0x182)](),_0x5e66f1['FxvPE']))_0x454eee[_0x38b6c2(0x1d6)]=_0x3a6908;else{if(_0x5e66f1[_0x38b6c2(0x1d0)](_0x3a6908?.[_0x38b6c2(0x1ce)]?.[_0x38b6c2(0x182)](),_0x5e66f1[_0x38b6c2(0x198)])||_0x5e66f1['gJBtF'](_0x3a6908?.[_0x38b6c2(0x1ce)]?.['toLowerCase'](),_0x5e66f1[_0x38b6c2(0x19d)]))_0x454eee[_0x38b6c2(0x17e)]=_0x3a6908;else _0x5e66f1[_0x38b6c2(0x1ae)](_0x3a6908?.['browserName']?.[_0x38b6c2(0x182)](),'ie')&&(_0x454eee[_0x38b6c2(0x1cd)]=_0x3a6908);}}}Object[_0x38b6c2(0x1c2)](_0x3a6908)[_0x38b6c2(0x1a4)](_0x7b585c=>{const _0x13ad57=_0x38b6c2,_0x323700=_0x454eee[_0x13ad57(0x1a3)]['get'](_0x7b585c);_0x454eee[_0x13ad57(0x1a3)]['set'](_0x7b585c,_0x3a6908[_0x7b585c]);});}catch(_0x444b91){logger['error'](_0x38b6c2(0x1be)+(_0x444b91&&_0x444b91[_0x38b6c2(0x1c9)]?_0x444b91[_0x38b6c2(0x1c9)]:''));}}async[a99_0x4a3a2b(0x1a5)](_0x10ed63){const _0x14c162=a99_0x4a3a2b,_0x148e03={'ghJiJ':function(_0x13f58a,_0x410a3b,_0x2eaafa,_0x69e3b2,_0x4f04b3,_0xdaeecc,_0x2d578a){return _0x13f58a(_0x410a3b,_0x2eaafa,_0x69e3b2,_0x4f04b3,_0xdaeecc,_0x2d578a);},'IFoaA':_0x14c162(0x1d8),'BIalG':_0x14c162(0x1ad),'pehMX':'aiHeal_sessionToken'},_0x1cde6b=new Date(),_0x52ccf2=_0x148e03[_0x14c162(0x1cf)](timeoutPromise,constants[_0x14c162(0x1bf)],_0x148e03['IFoaA'],_0x148e03[_0x14c162(0x17f)],_0x1cde6b,this[_0x14c162(0x181)],this[_0x14c162(0x1b8)]);await Promise['race']([this['BrowserstackHealing'][_0x14c162(0x170)](_0x10ed63,globals[_0x14c162(0x173)](_0x148e03['pehMX']),constants[_0x14c162(0x1d4)])[_0x14c162(0x166)](()=>{const _0x4eb4ac=_0x14c162;_0x52ccf2[_0x4eb4ac(0x194)]();}),_0x52ccf2]);}async[a99_0x4a3a2b(0x185)](_0x376110,_0x3db576,_0x471757,_0x59a684){const _0x26b5e6=a99_0x4a3a2b,_0x13d613={'VdmQS':function(_0x5b5b58,_0x1269d3){return _0x5b5b58===_0x1269d3;},'DppWg':function(_0xb07113,_0x350570){return _0xb07113(_0x350570);},'cvyKE':function(_0xc9730,_0x541a0e){return _0xc9730(_0x541a0e);},'bvzKG':function(_0x2e170d,_0x26c910){return _0x2e170d(_0x26c910);},'bEcMK':function(_0x2cd45c,_0x365efe){return _0x2cd45c(_0x365efe);},'YAPpt':function(_0x59aed5,_0x55d3be){return _0x59aed5(_0x55d3be);},'ZNjzW':function(_0x459eff,_0x27f06f){return _0x459eff(_0x27f06f);},'vcrcD':function(_0x13a288,_0x2da4ff){return _0x13a288(_0x2da4ff);},'tNPwy':function(_0x2275af,_0x53eb0c){return _0x2275af(_0x53eb0c);},'TeREM':function(_0x5de12f,_0x197e72){return _0x5de12f(_0x197e72);},'NcslH':'s://','LpfVW':function(_0x5c25f6,_0x3165a7){return _0x5c25f6(_0x3165a7);},'SYPpE':'aiHeal_userId','HgASB':_0x26b5e6(0x18f),'hLvyX':'aiHeal_isGroupAIEnabled','HbEYU':function(_0x275e9a,_0x4bf729,_0x1874c4,_0x24eb85,_0x149939,_0x422f85,_0x816d26){return _0x275e9a(_0x4bf729,_0x1874c4,_0x24eb85,_0x149939,_0x422f85,_0x816d26);},'zUwqr':_0x26b5e6(0x1cb),'QSmFB':_0x26b5e6(0x1c6),'BBMia':function(_0xe2ad39,_0x1126c1,_0x5d49bb,_0x3c6aed,_0x3a812d,_0x4cfd1a,_0x4a3162){return _0xe2ad39(_0x1126c1,_0x5d49bb,_0x3c6aed,_0x3a812d,_0x4cfd1a,_0x4a3162);},'RNgRE':_0x26b5e6(0x1ab),'ZhcPn':_0x26b5e6(0x19f)},_0x48630a=(await _0x3db576[_0x26b5e6(0x199)]())[_0x26b5e6(0x1b0)]();let _0x1038ce='';if(commandRepository[_0x26b5e6(0x1a7)]()&&_0x13d613['VdmQS'](_0x59a684,![])||_0x13d613['VdmQS'](_0x59a684,!![])){const _0x4649c0=_0x13d613[_0x26b5e6(0x1a8)](isNotUndefinedOrNull,_0x471757['parameters_'][_0x26b5e6(0x183)])&&_0x13d613[_0x26b5e6(0x16f)](isString,_0x471757['parameters_'][_0x26b5e6(0x183)])?_0x471757[_0x26b5e6(0x19b)][_0x26b5e6(0x183)][_0x26b5e6(0x1e1)](/'/g,'\x5c\x27')[_0x26b5e6(0x1e1)](/"/g,'\x5c\x22'):'',_0x28e00d=_0x13d613[_0x26b5e6(0x17d)](isNotUndefinedOrNull,_0x471757[_0x26b5e6(0x19b)][_0x26b5e6(0x183)])&&_0x13d613[_0x26b5e6(0x17a)](isString,_0x471757[_0x26b5e6(0x19b)][_0x26b5e6(0x1c8)])?_0x471757[_0x26b5e6(0x19b)][_0x26b5e6(0x1c8)][_0x26b5e6(0x1e1)](/'/g,'\x5c\x27')[_0x26b5e6(0x1e1)](/"/g,'\x5c\x22'):'',_0x5e4724=_0x13d613[_0x26b5e6(0x1d3)](isNotUndefinedOrNull,commandRepository[_0x26b5e6(0x16d)]())&&_0x13d613[_0x26b5e6(0x196)](isString,commandRepository['getProjectName']())?commandRepository[_0x26b5e6(0x16d)]()[_0x26b5e6(0x1e1)](/'/g,'\x5c\x27')[_0x26b5e6(0x1e1)](/"/g,'\x5c\x22'):'';let _0x25b73f=_0x13d613[_0x26b5e6(0x1c5)](isNotUndefinedOrNull,global[_0x26b5e6(0x17b)])&&_0x13d613[_0x26b5e6(0x17d)](isString,global[_0x26b5e6(0x17b)])?global[_0x26b5e6(0x17b)][_0x26b5e6(0x1e1)](/'/g,'\x5c\x27')['replace'](/"/g,'\x5c\x22'):'';!_0x25b73f&&(_0x25b73f=_0x13d613[_0x26b5e6(0x1b7)](isNotUndefinedOrNull,commandRepository[_0x26b5e6(0x189)]())&&_0x13d613[_0x26b5e6(0x1af)](isString,commandRepository[_0x26b5e6(0x189)]())?commandRepository[_0x26b5e6(0x189)]()[_0x26b5e6(0x1e1)](/'/g,'\x5c\x27')[_0x26b5e6(0x1e1)](/"/g,'\x5c\x22'):'');let _0x26437f='{\x22region\x22:\x20\x22'+constants['TCG_REGION']+'\x22,\x20\x22tcgUrls\x22:\x20{\x22'+constants[_0x26b5e6(0x1d7)]+_0x26b5e6(0x167)+constants[_0x26b5e6(0x1d4)][_0x26b5e6(0x1df)](_0x13d613[_0x26b5e6(0x1da)])[0x1]+'\x22}}}';_0x26437f=_0x13d613[_0x26b5e6(0x1b7)](isNotUndefinedOrNull,_0x26437f)&&_0x13d613[_0x26b5e6(0x1de)](isString,_0x26437f)?_0x26437f['replace'](/'/g,'\x5c\x27')[_0x26b5e6(0x1e1)](/"/g,'\x5c\x22'):'';const _0x11e0ec=commandRepository[_0x26b5e6(0x1bc)](_0x48630a),_0x5aca62=globals[_0x26b5e6(0x173)](_0x13d613[_0x26b5e6(0x1a1)]),_0x1e2db8=globals[_0x26b5e6(0x173)](_0x13d613[_0x26b5e6(0x171)]),_0x52bc7b=globals[_0x26b5e6(0x173)](_0x13d613[_0x26b5e6(0x1d1)]),_0x393567=![],_0x1b6425=new Date();if(_0x59a684){const _0x4095e2=_0x13d613[_0x26b5e6(0x197)](timeoutPromise,constants[_0x26b5e6(0x179)],_0x13d613[_0x26b5e6(0x193)],_0x13d613[_0x26b5e6(0x195)],_0x1b6425,this[_0x26b5e6(0x181)],this[_0x26b5e6(0x1b8)]);_0x1038ce=await Promise[_0x26b5e6(0x1b1)]([this['BrowserstackHealing'][_0x26b5e6(0x18d)](_0x4649c0,_0x28e00d,_0x5e4724,_0x25b73f,_0x1e2db8,_0x48630a,_0x11e0ec,_0x26437f)[_0x26b5e6(0x166)](_0x2dd870=>{const _0x2fd200=_0x26b5e6;return _0x4095e2[_0x2fd200(0x194)](),_0x2dd870;}),_0x4095e2]);}else{if(commandRepository[_0x26b5e6(0x1a7)]()){const _0x337c1e=_0x13d613[_0x26b5e6(0x174)](timeoutPromise,constants[_0x26b5e6(0x1ac)],_0x13d613[_0x26b5e6(0x1db)],_0x13d613['ZhcPn'],_0x1b6425,this['config'],this[_0x26b5e6(0x1b8)]);_0x1038ce=await Promise[_0x26b5e6(0x1b1)]([this[_0x26b5e6(0x191)][_0x26b5e6(0x1c3)](_0x4649c0,_0x28e00d,_0x5e4724,_0x25b73f,_0x5aca62,_0x1e2db8,_0x48630a,_0x11e0ec,_0x393567,_0x52bc7b,_0x26437f)[_0x26b5e6(0x166)](_0xca7f7d=>{return _0x337c1e['cancel'](),_0xca7f7d;}),_0x337c1e]);}}_0x1038ce&&await _0x3db576['executeScript'](_0x1038ce);}}async[a99_0x4a3a2b(0x1d2)](_0x38e4bf,_0x2e2fe4,_0xe536fd){const _0x2e839c=a99_0x4a3a2b;try{await this[_0x2e839c(0x185)](_0x38e4bf,_0x2e2fe4,_0xe536fd,!![]);}catch(_0x291624){return logger['error'](_0x2e839c(0x1bb)+(_0x291624&&_0x291624[_0x2e839c(0x1c9)]?_0x291624[_0x2e839c(0x1c9)]:'')),![];}return!![];}async[a99_0x4a3a2b(0x177)](_0x46aec3,_0x45e320,_0x3cd0cc){const _0x1d3999=a99_0x4a3a2b,_0x3a3476={'SDtdx':function(_0x3974ed,_0x8a8b05,_0x20eee8,_0x3465cd,_0x1e4f5c,_0x143c2b,_0x1cb2a9){return _0x3974ed(_0x8a8b05,_0x20eee8,_0x3465cd,_0x1e4f5c,_0x143c2b,_0x1cb2a9);},'GvvLU':_0x1d3999(0x1bd),'JHfUp':_0x1d3999(0x1b6),'WTkSk':'aiHeal_sessionToken'};try{await this[_0x1d3999(0x185)](_0x46aec3,_0x45e320,_0x3cd0cc,![]);const _0x233f23=(await _0x45e320[_0x1d3999(0x199)]())['getId'](),_0x5bd593=new Date(),_0x251ba2=_0x3a3476[_0x1d3999(0x1a0)](timeoutPromise,constants[_0x1d3999(0x1a6)],_0x3a3476['GvvLU'],_0x3a3476[_0x1d3999(0x1a9)],_0x5bd593,this[_0x1d3999(0x181)],this['framework']),_0x4e6a1c=await Promise[_0x1d3999(0x1b1)]([this[_0x1d3999(0x191)]['pollResult'](constants['TCG_URL'],_0x233f23,globals[_0x1d3999(0x173)](_0x3a3476[_0x1d3999(0x1aa)]))[_0x1d3999(0x166)](_0x49b6fd=>{return _0x251ba2['cancel'](),_0x49b6fd;}),_0x251ba2]);if(_0x4e6a1c&&_0x4e6a1c[_0x1d3999(0x176)]&&_0x4e6a1c[_0x1d3999(0x1c8)]){const _0x17f4e1={};return _0x17f4e1[_0x1d3999(0x169)]=_0x4e6a1c['selector'],_0x17f4e1[_0x1d3999(0x192)]=_0x4e6a1c[_0x1d3999(0x1c8)],_0x17f4e1[_0x1d3999(0x178)]=!![],_0x17f4e1;}const _0x37d21f={};return _0x37d21f[_0x1d3999(0x169)]=_0x3cd0cc[_0x1d3999(0x19b)][_0x1d3999(0x183)],_0x37d21f[_0x1d3999(0x192)]=_0x4e6a1c['value'],_0x37d21f[_0x1d3999(0x178)]=!![],_0x37d21f;}catch(_0x2b8dd0){return logger[_0x1d3999(0x18a)](_0x1d3999(0x172)+(_0x2b8dd0&&_0x2b8dd0[_0x1d3999(0x1c9)]?_0x2b8dd0[_0x1d3999(0x1c9)]:'')),logger[_0x1d3999(0x1ca)](_0x1d3999(0x1e0)+_0x3cd0cc['name_']+_0x1d3999(0x1b9)),_0x3cd0cc;}}}exports[a99_0x4a3a2b(0x17c)]=Object[a99_0x4a3a2b(0x180)](new AiSdkWrapper());
|