browserstack-node-sdk 1.66.4 → 1.68.0
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/browserstack.yml.sample +34 -1
- package/package.json +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/detox/a11ySetup.js +1 -1
- package/src/bin/detox/command.js +1 -1
- package/src/bin/detox/modifyDetoxConf.js +1 -1
- package/src/bin/detox/traEmitter.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.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/loadErrors.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/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/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/node-generic/client.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/reporterArgs.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.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/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.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/puppeteer-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/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/nodeGenericTestFramework.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/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.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/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/sdkErrorHandler.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/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.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/driverInitErrorReporter.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/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.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/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
function a127_0x3c0e(_0x3d1d61,_0x1ac44e){const _0x1f0aed=a127_0x1f0a();return a127_0x3c0e=function(_0x3c0eac,_0x42e98a){_0x3c0eac=_0x3c0eac-0xc2;let _0x4028ab=_0x1f0aed[_0x3c0eac];return _0x4028ab;},a127_0x3c0e(_0x3d1d61,_0x1ac44e);}const a127_0x180121=a127_0x3c0e;(function(_0x5bd8da,_0x253ad3){const _0x289d68=a127_0x3c0e,_0x5c8b12=_0x5bd8da();while(!![]){try{const _0x361b74=parseInt(_0x289d68(0x151))/0x1*(parseInt(_0x289d68(0xf2))/0x2)+-parseInt(_0x289d68(0xd1))/0x3+parseInt(_0x289d68(0x160))/0x4+parseInt(_0x289d68(0x18c))/0x5+parseInt(_0x289d68(0xf0))/0x6*(-parseInt(_0x289d68(0x125))/0x7)+parseInt(_0x289d68(0x122))/0x8*(-parseInt(_0x289d68(0x102))/0x9)+parseInt(_0x289d68(0x126))/0xa;if(_0x361b74===_0x253ad3)break;else _0x5c8b12['push'](_0x5c8b12['shift']());}catch(_0x237f48){_0x5c8b12['push'](_0x5c8b12['shift']());}}}(a127_0x1f0a,0xebd44));const util=require(a127_0x180121(0x161)),path=require('path'),{v4:uuidv4}=require('uuid'),fs=require('fs'),constants=require(a127_0x180121(0x129)),logger=require(a127_0x180121(0x110))['winstonLogger'],fileLogger=require(a127_0x180121(0x110))[a127_0x180121(0x180)],{getLogDir}=require('./logger'),helper=require(a127_0x180121(0x124)),utilities=require('./utilities'),percyHelper=require(a127_0x180121(0x142)),hubAllocator=require(a127_0x180121(0xc4)),PerformanceTester=require('./performance/performance-tester'),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents}=require(a127_0x180121(0x13a)),{setPercyFlag}=require(a127_0x180121(0x1a9)),TestHubHandler=require(a127_0x180121(0xd3)),BrowserstackCLI=require(a127_0x180121(0x13b)),LoadTestModule=require(a127_0x180121(0x18a)),{getEdsInstrumentationAPIUrl}=require(a127_0x180121(0x17b)),ClientTroubleShootingService=require('../bin/utils/clientTroubleshootingService');class BrowserStackSetup{constructor(_0x989d79,_0x23a285){const _0x42d975=a127_0x180121,_0x1428ce={'cxCSr':_0x42d975(0x108),'gubuJ':function(_0x52b2f0){return _0x52b2f0();},'GAagr':function(_0x2d2810,_0x595e43){return _0x2d2810(_0x595e43);},'dtotP':'./caCertHelper','JRDHh':'No\x20config\x20provided.'},_0x53a021=_0x1428ce[_0x42d975(0xcd)]['split']('|');let _0xef1d67=0x0;while(!![]){switch(_0x53a021[_0xef1d67++]){case'0':this['unhandledErrors']=[];continue;case'1':helper[_0x42d975(0x103)](this[_0x42d975(0x195)]);continue;case'2':this[_0x42d975(0x195)]['testContextOptions']=this[_0x42d975(0x195)][_0x42d975(0x11c)]||{};continue;case'3':helper['normalizeTestReportingEnvVars']();continue;case'4':helper[_0x42d975(0xd6)](this[_0x42d975(0x195)]);continue;case'5':if(this['config'][_0x42d975(0x12e)])throw new Error(this[_0x42d975(0x195)]['error']);continue;case'6':this[_0x42d975(0x195)]=helper[_0x42d975(0x11a)](this[_0x42d975(0xc2)]);continue;case'7':this['browserstackLocal']=null;continue;case'8':this['config'][_0x42d975(0x11c)][_0x42d975(0x174)]=!helper[_0x42d975(0xc9)]()||helper['isTrue'](this[_0x42d975(0x195)][_0x42d975(0x11c)][_0x42d975(0x174)]);continue;case'9':global[_0x42d975(0xe8)]=_0x23a285;continue;case'10':this[_0x42d975(0xe8)]=_0x23a285;continue;case'11':this[_0x42d975(0xc2)]=helper[_0x42d975(0x1a3)](_0x989d79);continue;case'12':this[_0x42d975(0x133)]={};continue;case'13':this[_0x42d975(0x14a)]=_0x1428ce[_0x42d975(0x173)](uuidv4);continue;case'14':PerformanceTester[_0x42d975(0x17a)]();continue;case'15':try{_0x1428ce[_0x42d975(0x179)](require,_0x1428ce[_0x42d975(0x114)])['setupCaCertificate'](this[_0x42d975(0x195)],logger);}catch(_0x564422){}continue;case'16':this['cliConfig']=helper['setCLICaps'](_0x989d79);continue;case'17':helper[_0x42d975(0xf7)](this[_0x42d975(0x195)],this['cliConfig'],this[_0x42d975(0x187)]);continue;case'18':helper[_0x42d975(0x194)](this[_0x42d975(0x195)],this[_0x42d975(0x153)],this['envConfig']);continue;case'19':this[_0x42d975(0x187)]=helper['setEnvCaps']();continue;case'20':helper[_0x42d975(0xdc)](this['config'],this[_0x42d975(0x153)],this[_0x42d975(0x187)],this['framework']);continue;case'21':if(helper[_0x42d975(0x164)](this[_0x42d975(0x195)]))throw new Error(_0x1428ce[_0x42d975(0x10e)]);continue;case'22':helper[_0x42d975(0x14e)](this[_0x42d975(0x195)],this[_0x42d975(0xe8)]);continue;case'23':this[_0x42d975(0x195)]['testContextOptions']['skipSessionStatus']=!helper[_0x42d975(0xc9)]()||helper[_0x42d975(0x16f)](this['config'][_0x42d975(0x11c)]['skipSessionStatus']);continue;case'24':this[_0x42d975(0x113)]=null;continue;case'25':this[_0x42d975(0x195)][_0x42d975(0x11f)]=this[_0x42d975(0x195)][_0x42d975(0x11f)]||[];continue;case'26':helper[_0x42d975(0x119)](this[_0x42d975(0x195)],this[_0x42d975(0x153)]);continue;}break;}}[a127_0x180121(0xec)](_0x3f9fca){const _0x54137c=a127_0x180121,_0x420dd7={'zrCEM':_0x54137c(0x131),'iNFhr':function(_0x5f041d,_0x36c57b){return _0x5f041d===_0x36c57b;},'lSHkF':function(_0x2ba0a6,_0x566e73){return _0x2ba0a6===_0x566e73;},'tmPYg':_0x54137c(0x106),'DmzoH':_0x54137c(0x154),'pDWcs':function(_0x9e831f,_0x3070ec){return _0x9e831f<_0x3070ec;},'JfoOX':function(_0xfc2222,_0x16f2cf){return _0xfc2222(_0x16f2cf);},'aXfVj':_0x54137c(0x19d),'bwetH':function(_0x1db809,_0x1d9324){return _0x1db809===_0x1d9324;},'Zzxhk':_0x54137c(0x198),'vkiOE':_0x54137c(0x1a0),'KUwIR':'parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','IKLsj':_0x54137c(0xcb),'xECuq':_0x54137c(0xe4),'xXUOr':_0x54137c(0x16e),'jykTC':function(_0x60a1b8,_0x7e29c5){return _0x60a1b8!==_0x7e29c5;},'qHKUf':_0x54137c(0xe7),'yWYSB':'SIGABRT','YmlbZ':'SIGQUIT','KnWZf':_0x54137c(0x16b),'gRoFt':'beforeExit'},_0xfc9285=this[_0x54137c(0xe8)];global[_0x54137c(0x195)]=this[_0x54137c(0x195)],helper[_0x54137c(0x100)](this[_0x54137c(0x195)]),this[_0x54137c(0x136)]=null,global[_0x54137c(0x14a)]=this['sdkRunId'],logger[_0x54137c(0x15b)]('SDK\x20run\x20started\x20with\x20id:\x20'+this[_0x54137c(0x14a)]),!this[_0x54137c(0x195)]['browserStackLocalOptions']&&(this[_0x54137c(0x195)][_0x54137c(0xda)]=this[_0x54137c(0x195)]['localOptions']||{});if(helper[_0x54137c(0x164)](helper['getUserName'](this[_0x54137c(0x195)]))||helper[_0x54137c(0x164)](helper['getAccessKey'](this[_0x54137c(0x195)])))throw new Error(_0x420dd7[_0x54137c(0x137)]);helper[_0x54137c(0x18e)](this[_0x54137c(0x195)])&&helper[_0x54137c(0x164)](helper[_0x54137c(0xe3)](this[_0x54137c(0x195)]))&&(!helper[_0x54137c(0x164)](this[_0x54137c(0x195)][_0x54137c(0xda)])&&_0x420dd7[_0x54137c(0x13d)](this[_0x54137c(0x195)]['browserStackLocalOptions'][_0x54137c(0x17c)],Object)?!helper['isTrue'](this[_0x54137c(0x195)][_0x54137c(0xda)][_0x54137c(0x11b)])&&(this[_0x54137c(0x195)][_0x54137c(0xda)][_0x54137c(0xd4)]=helper[_0x54137c(0xee)]()):this[_0x54137c(0x195)][_0x54137c(0xda)]={'localIdentifier':helper[_0x54137c(0xee)]()});this[_0x54137c(0x195)][_0x54137c(0xda)][_0x54137c(0x11b)]=helper[_0x54137c(0x16f)](this[_0x54137c(0x195)]['browserStackLocalOptions'][_0x54137c(0x11b)]),helper[_0x54137c(0x15e)](this['config']);if(_0x420dd7[_0x54137c(0x176)](_0xfc9285,_0x420dd7[_0x54137c(0x193)]))return;this[_0x54137c(0x1a8)]();process[_0x54137c(0x1a2)][_0x54137c(0xe1)]&&(this[_0x54137c(0x195)][_0x54137c(0x185)]=helper['isTrue'](process[_0x54137c(0x1a2)]['BROWSERSTACK_TURBOSCALE']),this[_0x54137c(0x195)][_0x54137c(0x14d)]=this[_0x54137c(0x195)]['turboScaleOptions']||{});helper[_0x54137c(0x16d)](this[_0x54137c(0x195)])&&(process[_0x54137c(0x1a2)][_0x54137c(0xe1)]=!![]);LoadTestModule[_0x54137c(0xc7)](this[_0x54137c(0x195)])&&logger[_0x54137c(0x166)]('LTS\x20session\x20enabled\x20for\x20this\x20run.\x20SDK\x20run\x20id:\x20'+this['sdkRunId']);if(!helper[_0x54137c(0xc9)]()){try{process['env'][_0x54137c(0x10f)]=_0xfc9285,utilities['fireFunnelTestEvent'](_0x420dd7['DmzoH'],{},this[_0x54137c(0x195)],this[_0x54137c(0xe8)]);}catch(_0x5b074a){logger['debug'](_0x54137c(0x120)+_0x5b074a);}return;}if(helper['requireSeleniumWebdriverCheck'](_0xfc9285)){if(global[_0x54137c(0x189)]||global['__isPuppeteerInstalled'])return;_0x420dd7[_0x54137c(0x15c)](_0x420dd7[_0x54137c(0x112)](parseInt,helper[_0x54137c(0x13c)](_0x420dd7[_0x54137c(0xd7)])),0x3)&&(this[_0x54137c(0x195)][_0x54137c(0x147)]=![]),_0x420dd7[_0x54137c(0x14f)](helper[_0x54137c(0xef)](helper[_0x54137c(0x13c)](_0x420dd7[_0x54137c(0xd7)]),_0x420dd7[_0x54137c(0x11d)]),0x1)&&(this[_0x54137c(0x195)][_0x54137c(0x147)]=!![]);}(helper[_0x54137c(0x164)](this[_0x54137c(0x195)][_0x54137c(0x11f)])||helper[_0x54137c(0x164)](this[_0x54137c(0x195)][_0x54137c(0x11f)][_0x54137c(0x186)]))&&(helper[_0x54137c(0x164)](this['config'][_0x54137c(0x172)])?logger[_0x54137c(0x15b)](_0x420dd7[_0x54137c(0x139)]):logger[_0x54137c(0x10b)](_0x420dd7[_0x54137c(0x170)]),this[_0x54137c(0x195)][_0x54137c(0x11f)]=[]);!this[_0x54137c(0x195)][_0x54137c(0x11c)]&&(this['config'][_0x54137c(0x11c)]={});try{process[_0x54137c(0x1a2)][_0x54137c(0x10f)]=_0x3f9fca['_'][0x0],utilities[_0x54137c(0xd2)](_0x420dd7[_0x54137c(0x178)],{},this['config'],this[_0x54137c(0xe8)]);}catch(_0xa6c4c8){logger[_0x54137c(0x166)](_0x54137c(0x120)+_0xa6c4c8);}!this[_0x54137c(0x195)][_0x54137c(0xeb)]&&logger[_0x54137c(0x15b)](constants['AUTOLOGCAPTURE_NOTIFICATION']),this[_0x54137c(0xf3)]=this[_0x54137c(0xf3)]['bind'](this),process['on'](_0x420dd7['IKLsj'],this[_0x54137c(0xf3)]),process['on'](_0x420dd7[_0x54137c(0x11e)],this[_0x54137c(0xf3)]),process['on'](_0x420dd7[_0x54137c(0x138)],this['intExitHandler']),_0x420dd7[_0x54137c(0x19a)](process['platform'],_0x420dd7['qHKUf'])?(process['on'](_0x420dd7[_0x54137c(0x141)],this['intExitHandler']),process['on'](_0x420dd7[_0x54137c(0x13f)],this[_0x54137c(0xf3)])):process['on'](_0x420dd7['KnWZf'],this[_0x54137c(0xf3)]),process['on'](_0x420dd7[_0x54137c(0x18d)],this[_0x54137c(0x104)]());}async[a127_0x180121(0xdd)](_0x2b174e){const _0x1ba286=a127_0x180121,_0x24fcc5={'vDRjW':'ats-repeater','zoYyS':_0x1ba286(0x145),'hQukP':_0x1ba286(0x128),'wqNYh':function(_0xf6a8da,_0xcf1b82){return _0xf6a8da===_0xcf1b82;},'pLCkH':'playwright','sGQnl':function(_0xc0981f,_0x111d5d){return _0xc0981f+_0x111d5d;},'ZSwtX':'?caps=','kYevk':function(_0x1ed723,_0x12115c){return _0x1ed723(_0x12115c);},'UvsSl':_0x1ba286(0x157)};this['preInitialize'](_0x2b174e);if(helper[_0x1ba286(0x16d)](this[_0x1ba286(0x195)])){const _0x30db1f=await helper['getTurboScaleGridDetails'](this[_0x1ba286(0x195)]);this['config']['turboScaleGridDetails']=_0x30db1f,_0x30db1f[_0x1ba286(0x17d)]&&helper[_0x1ba286(0x18b)](this[_0x1ba286(0x195)]['browserstackLocal'])&&helper[_0x1ba286(0x16f)](this[_0x1ba286(0x195)][_0x1ba286(0x158)])&&(this[_0x1ba286(0x195)][_0x1ba286(0xda)]['localIdentifier']=_0x24fcc5[_0x1ba286(0x19c)],this[_0x1ba286(0x195)]['browserStackLocalOptions'][_0x24fcc5[_0x1ba286(0xc5)]]=_0x30db1f['customRepeaters'][_0x1ba286(0x196)](','),this[_0x1ba286(0x195)][_0x1ba286(0xda)][_0x1ba286(0x116)]=_0x24fcc5['hQukP']),this[_0x1ba286(0x195)][_0x1ba286(0x156)]=_0x30db1f[_0x1ba286(0x16c)],this[_0x1ba286(0xe8)]&&_0x24fcc5[_0x1ba286(0x197)](this[_0x1ba286(0xe8)][_0x1ba286(0x169)](),_0x24fcc5[_0x1ba286(0x17e)])?this['config'][_0x1ba286(0x156)]=_0x24fcc5[_0x1ba286(0xf4)](_0x30db1f['playwrightUrl'],_0x24fcc5[_0x1ba286(0x149)]):constants[_0x1ba286(0x152)]=helper[_0x1ba286(0x155)](this[_0x1ba286(0x195)]),logger[_0x1ba286(0x166)](_0x1ba286(0x121)+constants[_0x1ba286(0x152)]);}helper[_0x1ba286(0x1a4)](this[_0x1ba286(0x195)]),this[_0x1ba286(0xf5)](),_0x24fcc5[_0x1ba286(0x101)](setPercyFlag,this),![_0x24fcc5['UvsSl'],_0x24fcc5[_0x1ba286(0x17e)]][_0x1ba286(0x159)](this[_0x1ba286(0xe8)])&&!helper[_0x1ba286(0x16d)](this[_0x1ba286(0x195)])&&!helper[_0x1ba286(0x1a5)]()['central_scanner']&&await this[_0x1ba286(0xca)]();}async[a127_0x180121(0xfe)](){const _0x5ecc89=a127_0x180121,_0x4e637d={};_0x4e637d[_0x5ecc89(0x130)]=function(_0x3f7cf2,_0x3b00f7){return _0x3f7cf2===_0x3b00f7;},_0x4e637d[_0x5ecc89(0x183)]=_0x5ecc89(0x105),_0x4e637d['QBlEr']=_0x5ecc89(0x182),_0x4e637d[_0x5ecc89(0x109)]=_0x5ecc89(0x123),_0x4e637d['qkTMc']=_0x5ecc89(0x128),_0x4e637d['HKkbC']='beforeExit';const _0x25d7e3=_0x4e637d;if(helper[_0x5ecc89(0x16f)](this[_0x5ecc89(0x195)][_0x5ecc89(0x113)])&&(!this[_0x5ecc89(0x113)]||!this['percy'][_0x5ecc89(0xf8)]()))try{this[_0x5ecc89(0x113)]=await percyHelper[_0x5ecc89(0x115)](this['config']);if(!this['percy']){process[_0x5ecc89(0x1a2)][_0x5ecc89(0x19e)]=_0x25d7e3[_0x5ecc89(0x183)];throw new Error(_0x25d7e3[_0x5ecc89(0x199)]);}logger[_0x5ecc89(0x15b)](_0x25d7e3[_0x5ecc89(0x109)]),process[_0x5ecc89(0x1a2)][_0x5ecc89(0x19e)]=_0x25d7e3[_0x5ecc89(0xfb)];let _0x270dd3=0x0;const _0x212787=async()=>{const _0x297b87=_0x5ecc89;_0x270dd3++,_0x25d7e3[_0x297b87(0x130)](_0x270dd3,0x1)&&await this[_0x297b87(0xcc)]();};process['on'](_0x25d7e3[_0x5ecc89(0x181)],_0x212787);}catch(_0x1944c7){process[_0x5ecc89(0x1a2)][_0x5ecc89(0x19e)]=_0x25d7e3[_0x5ecc89(0x183)],logger[_0x5ecc89(0x166)](_0x5ecc89(0x17f)+_0x1944c7);throw new Error(_0x1944c7['toString']());}}async[a127_0x180121(0xcc)](){const _0x14e03d=a127_0x180121,_0x422ae8={};_0x422ae8[_0x14e03d(0x188)]='Percy\x20stopped',_0x422ae8[_0x14e03d(0x14b)]='Error\x20occured\x20while\x20stopping\x20percy';const _0x387045=_0x422ae8;if(this[_0x14e03d(0x113)]&&this[_0x14e03d(0x113)][_0x14e03d(0xf8)]())try{await percyHelper['stopPercy'](this[_0x14e03d(0x113)]),logger[_0x14e03d(0x15b)](_0x387045[_0x14e03d(0x188)]);}catch(_0x344684){logger['error'](_0x387045[_0x14e03d(0x14b)],_0x344684[_0x14e03d(0x10c)]);}}async[a127_0x180121(0xe9)](){const _0x184b6a=a127_0x180121,_0x3bd2ee={};_0x3bd2ee[_0x184b6a(0x191)]=_0x184b6a(0x135),_0x3bd2ee['Cmfrz']='Local\x20binary\x20started\x20successfully';const _0x131ccb=_0x3bd2ee;if(helper['isBrowserstackInfra']()&&helper[_0x184b6a(0x16f)](this['config'][_0x184b6a(0x158)])&&(!this['browserstackLocal']||!this[_0x184b6a(0x158)][_0x184b6a(0xf8)]()))try{if(this[_0x184b6a(0x195)]['browserStackLocalOptions']['skipBinaryInitialisation']){logger['debug'](_0x131ccb[_0x184b6a(0x191)]);return;}this[_0x184b6a(0x158)]=await helper[_0x184b6a(0x15d)](this[_0x184b6a(0x195)]),logger[_0x184b6a(0x15b)](_0x131ccb['Cmfrz']);}catch(_0x1b0c42){logger[_0x184b6a(0x166)](_0x1b0c42);throw new Error(_0x1b0c42[_0x184b6a(0x12f)]());}}async[a127_0x180121(0x140)](){const _0x29bbac=a127_0x180121,_0xcdc405={};_0xcdc405[_0x29bbac(0xde)]=_0x29bbac(0xd5),_0xcdc405[_0x29bbac(0xfd)]='Error\x20occured\x20while\x20stopping\x20local\x20binary';const _0x2af13b=_0xcdc405;if(this[_0x29bbac(0x158)]&&this[_0x29bbac(0x158)][_0x29bbac(0xf8)]())try{await helper['stopLocalBinary'](this[_0x29bbac(0x158)]),logger[_0x29bbac(0x15b)](_0x2af13b['PtwKU']);}catch(_0x169fd2){logger[_0x29bbac(0x12e)](_0x2af13b[_0x29bbac(0xfd)],_0x169fd2['message']);}}async['setUpHubUrl'](){const _0x4b21ca=a127_0x180121;return PerformanceTester[_0x4b21ca(0x10a)](PerformanceAutEvents[_0x4b21ca(0x127)],async()=>{const _0x38247f=_0x4b21ca;await hubAllocator[_0x38247f(0x18f)](this[_0x38247f(0x195)]);})();}[a127_0x180121(0xf5)](){const _0xdb28c8=a127_0x180121,_0x3f472c={'fxaqC':function(_0x3f3cc9,_0x4c564a){return _0x3f3cc9(_0x4c564a);},'IxAeD':_0xdb28c8(0x148)};_0x3f472c[_0xdb28c8(0x12d)](require,_0x3f472c[_0xdb28c8(0x143)])();}[a127_0x180121(0x1a8)](){const _0x36d0e2=a127_0x180121,_0x2404b8={};_0x2404b8[_0x36d0e2(0x1a6)]=_0x36d0e2(0xfa),_0x2404b8[_0x36d0e2(0xcf)]='unhandledRejection',_0x2404b8['snLZz']='uncaughtException';const _0x1a6486=_0x2404b8,_0x4efdf1=_0x511f56=>{const _0x27df25=_0x36d0e2,_0x3462cc=_0x1a6486[_0x27df25(0x1a6)][_0x27df25(0xd0)]('|');let _0x35d670=0x0;while(!![]){switch(_0x3462cc[_0x35d670++]){case'0':logger[_0x27df25(0x12e)](_0x511f56[_0x27df25(0x10c)]);continue;case'1':logger[_0x27df25(0x166)](util['format'](_0x511f56));continue;case'2':PerformanceTester[_0x27df25(0xf6)](_0x511f56);continue;case'3':this[_0x27df25(0x15f)][_0x27df25(0x16a)](util[_0x27df25(0x12c)]('%j',_0x511f56));continue;case'4':ClientTroubleShootingService[_0x27df25(0x175)]();continue;}break;}};process['on'](_0x1a6486[_0x36d0e2(0xcf)],_0x4efdf1),process['on'](_0x1a6486[_0x36d0e2(0xff)],_0x4efdf1);}async['intExitHandler'](_0x21cfaf){const _0x1924ac=a127_0x180121,_0xc06ac7={'dvyPU':function(_0x1977ce,_0x4f975e){return _0x1977ce+_0x4f975e;},'XJdsj':_0x1924ac(0xc6),'ghlgd':_0x1924ac(0xd9),'RBDKl':function(_0x37897f,_0x3c1a5f,_0x32d538){return _0x37897f(_0x3c1a5f,_0x32d538);},'tcVCr':function(_0x3d0c6f,_0x32304b){return _0x3d0c6f+_0x32304b;},'DFqbE':'handled','ncMnR':function(_0x2da361,_0x167dca){return _0x2da361+_0x167dca;},'gMYft':function(_0x2923ee,_0x15a1fb){return _0x2923ee+_0x15a1fb;},'Zucrj':_0x1924ac(0xf9),'sUCRM':function(_0x556b46,_0x1b0d1f){return _0x556b46(_0x1b0d1f);},'gZbAM':function(_0x15bbf2,_0x41d147){return _0x15bbf2===_0x41d147;},'kGXwZ':'timed-out','oedLO':function(_0x135b85,_0x2b236a){return _0x135b85+_0x2b236a;},'Ddgyc':'Signal\x20shutdown\x20timed\x20out\x20after\x20','DnrXM':_0x1924ac(0x192),'RJFUI':function(_0x62301f,_0x33e844){return _0x62301f+_0x33e844;}};if(this[_0xc06ac7['tcVCr'](_0xc06ac7[_0x1924ac(0xe6)],_0x21cfaf)])return;this[_0xc06ac7[_0x1924ac(0xd8)](_0xc06ac7['DFqbE'],_0x21cfaf)]=!![],logger[_0x1924ac(0x15b)](_0xc06ac7[_0x1924ac(0x15a)](_0xc06ac7[_0x1924ac(0x1a7)],_0x21cfaf)),this[_0x1924ac(0x136)]=_0x21cfaf;const _0x2c6567=0x7530;let _0x20782b;const _0x79e406=(async()=>{const _0x597be9=_0x1924ac;await ClientTroubleShootingService['reportProcessInterruptionSituation'](_0x21cfaf),await TestHubHandler[_0x597be9(0x150)](_0x21cfaf);const _0x32d37f=BrowserstackCLI[_0x597be9(0xdb)]();await utilities[_0x597be9(0x19f)](this,_0x32d37f?_0x32d37f[_0x597be9(0xf8)]():![]),await ClientTroubleShootingService[_0x597be9(0x175)](),await BrowserstackCLI[_0x597be9(0xdb)]()[_0x597be9(0x150)]();})()[_0x1924ac(0xea)](()=>'completed')[_0x1924ac(0xc3)](_0x520f5=>{const _0x382611=_0x1924ac;return logger[_0x382611(0x166)](_0xc06ac7[_0x382611(0xe2)](_0xc06ac7[_0x382611(0x14c)],util[_0x382611(0x12c)](_0x520f5))),_0xc06ac7[_0x382611(0x171)];}),_0x5121a1=new Promise(_0x4cde99=>{const _0x1f8745=_0x1924ac;_0x20782b=_0xc06ac7[_0x1f8745(0x146)](setTimeout,()=>_0x4cde99('timed-out'),_0x2c6567),_0x20782b['unref']&&_0x20782b[_0x1f8745(0x144)]();}),_0x2eba11=await Promise[_0x1924ac(0x118)]([_0x79e406,_0x5121a1]);_0xc06ac7[_0x1924ac(0x190)](clearTimeout,_0x20782b),_0xc06ac7[_0x1924ac(0x107)](_0x2eba11,_0xc06ac7[_0x1924ac(0x165)])&&logger['warn'](_0xc06ac7[_0x1924ac(0x15a)](_0xc06ac7[_0x1924ac(0x1a1)](_0xc06ac7[_0x1924ac(0xe0)],_0x2c6567),_0xc06ac7[_0x1924ac(0x132)])),process[_0x1924ac(0xc8)](process[_0x1924ac(0xed)]||_0xc06ac7['RJFUI'](0x80,constants[_0x1924ac(0x12a)][_0x21cfaf]||0x0));}['exitHandler'](){const _0x30fe7f=a127_0x180121,_0x306c9f={'HXhlG':function(_0x1d9a49,_0x2eea0e){return _0x1d9a49===_0x2eea0e;},'SJcEX':'Calling\x20Build\x20Stop\x20from\x20ExitHandler','NrnuH':function(_0xbb393,_0x2a3ea8){return _0xbb393>_0x2a3ea8;},'jmXhg':function(_0x2770b5,_0x52c95b){return _0x2770b5(_0x52c95b);},'EHWtN':function(_0x543ce0,_0x5abcaa){return _0x543ce0(_0x5abcaa);},'QtZrk':function(_0x57e8d1){return _0x57e8d1();},'CNrGL':_0x30fe7f(0x19b)};let _0x161f47=0x0;return async()=>{const _0x16fa71=_0x30fe7f;_0x161f47++;if(_0x306c9f[_0x16fa71(0x117)](_0x161f47,0x1)){helper['checkStopLocalBinaryOnExit'](this[_0x16fa71(0xe8)])&&await this[_0x16fa71(0x140)]();try{logger['debug'](_0x306c9f[_0x16fa71(0xce)]),await TestHubHandler[_0x16fa71(0x150)](_0x161f47),await ClientTroubleShootingService[_0x16fa71(0x175)](),await BrowserstackCLI['getInstance']()[_0x16fa71(0x150)]('1');}catch(_0x2b1fd8){logger[_0x16fa71(0x166)](_0x16fa71(0x177)+util[_0x16fa71(0x12c)](_0x2b1fd8));}PerformanceTester[_0x16fa71(0x167)](PerformanceEvents[_0x16fa71(0x168)]);if(PerformanceTester['isEnabled']()){const {measures:_0x4d2a23,errors:_0xfc5707}=await PerformanceTester['finalize'](),_0x3cedb1={};if(_0x4d2a23&&_0x306c9f[_0x16fa71(0xe5)](_0x4d2a23[_0x16fa71(0x186)],0x0)||_0xfc5707&&_0x306c9f[_0x16fa71(0xe5)](_0xfc5707[_0x16fa71(0x186)],0x0)){const _0x2f2552={};_0x2f2552['measures']=_0x4d2a23,_0x2f2552['exceptions']=_0xfc5707,Object['assign'](_0x3cedb1,_0x2f2552);}try{const _0x366b5b=await helper[_0x16fa71(0x13e)](_0x3cedb1,this[_0x16fa71(0x195)]);logger['debug'](_0x16fa71(0x184)+_0x306c9f[_0x16fa71(0x134)](getEdsInstrumentationAPIUrl,'')+_0x16fa71(0x163)+_0x366b5b[_0x16fa71(0xdf)]);}catch(_0x1753c3){logger[_0x16fa71(0x166)]('Failed\x20to\x20send\x20data\x20to\x20'+_0x306c9f[_0x16fa71(0x111)](getEdsInstrumentationAPIUrl,'')+'\x20with\x20error\x20'+util['format'](_0x1753c3));}try{fs[_0x16fa71(0x10d)](path[_0x16fa71(0x196)](_0x306c9f[_0x16fa71(0x162)](getLogDir),_0x306c9f['CNrGL']),JSON[_0x16fa71(0x12b)](_0x3cedb1));}catch(_0x4faf21){logger[_0x16fa71(0x166)]('Error\x20in\x20writing\x20events\x20to\x20file\x20'+_0x4faf21);}}}logger&&logger[_0x16fa71(0xfc)](),fileLogger&&fileLogger[_0x16fa71(0xfc)]();};}}function a127_0x1f0a(){const _0xfd7167=['includes','gMYft','info','pDWcs','startLocalBinary','setHandlePWError','unhandledErrors','2158748KzUOVL','util','QtZrk','\x20with\x20response\x20','isUndefined','kGXwZ','debug','end','SDK_CLEANUP','toLowerCase','push','SIGBREAK','url','isTurboScaleSession','SIGHUP','isTrue','KUwIR','ghlgd','parallelsPerPlatform','gubuJ','skipSessionName','reportFinalDetectionState','lSHkF','Error\x20in\x20sending\x20testhub\x20stop:\x20','DmzoH','GAagr','startMonitoring','../bin/utils/apiUtilityMethods','constructor','isTrialGrid','pLCkH','Error\x20in\x20percy\x20setup\x20','fileLogger','HKkbC','Could\x20not\x20start\x20percy,\x20check\x20percy\x20logs\x20for\x20info.','tNAqA','Data\x20sent\x20successfully\x20to\x20','turboScale','length','envConfig','YeXng','__isPlaywrightInstalled','../bin/v2/modules/loadTestModule','isNotUndefined','5920910CImXbT','gRoFt','getLocalConfig','allocateHub','sUCRM','kIGTO','ms;\x20forcing\x20exit','tmPYg','setLogLevel','config','join','wqNYh','4.5.0','QBlEr','jykTC','events.json','vDRjW','selenium-webdriver','BROWSERSTACK_PERCY','finalExecution','Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','oedLO','env','getConfigPath','setProxySettings','getCentralUser','HSMUH','Zucrj','handleExceptions','./testhub/utils','configPath','catch','../hubAllocationMethods','zoYyS','Signal\x20shutdown\x20did\x20not\x20complete\x20cleanly:\x20','isLTSSession','exit','isBrowserstackInfra','setUpHubUrl','SIGTERM','stopPercy','cxCSr','SJcEX','DnVnE','split','2991441JeMrVe','fireFunnelTestEvent','./testhub/testhubHandler','localIdentifier','Local\x20binary\x20stopped','setLogDir','aXfVj','ncMnR','completed','browserStackLocalOptions','getInstance','getFinalCaps','initialize','PtwKU','statusCode','Ddgyc','BROWSERSTACK_TURBOSCALE','dvyPU','getLocalIdentifier','SIGINT','NrnuH','DFqbE','win32','framework','setupBrowserstackLocal','then','disableAutoCaptureLogs','preInitialize','exitCode','generateLocalIdentifier','compareVersions','72xAMDjF','default','14xLDQfC','intExitHandler','sGQnl','setupKeepAlive','captureError','setSmartTestSelectionFeatureBranchesConfig','isRunning','Shutdown\x20triggered\x20by\x20','0|1|3|2|4','qkTMc','close','DaQiW','setupPercy','snLZz','sanitizeCaps','kYevk','81558tdceSe','setCredentialsFromYmlConfig','exitHandler','false','integrations','gZbAM','0|3|19|7|24|11|6|16|25|2|12|13|10|9|21|5|22|26|1|23|8|20|17|4|18|14|15','zqRjC','measureWrapper','warn','message','writeFileSync','JRDHh','FRAMEWORK','./logger','EHWtN','JfoOX','percy','dtotP','startPercy','forceLocal','HXhlG','race','setBrowserstackInfraFromConfig','readConfig','skipBinaryInitialisation','testContextOptions','Zzxhk','xECuq','platforms','Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20','HUB\x20URL\x20SET\x20TO\x20TurboScale\x20HUB\x20-\x20','1360ooUSaR','Percy\x20started\x20successfully','./helper','872816AnuGJu','25272330sJFneF','HUB_MANAGEMENT','true','../bin/utils/constants','SIGNAL_EXIT_CODES','stringify','format','fxaqC','error','toString','IxFrZ','userName\x20or\x20accessKey\x20is\x20not\x20defined','DnrXM','errorMessage','jmXhg','Local\x20binary\x20not\x20started\x20as\x20skipBinaryInitialisation\x20is\x20enabled','killSignal','zrCEM','xXUOr','vkiOE','./performance/constants','../bin/v2/browserstackCLI','getPackageVersion','iNFhr','sendToEDS','YmlbZ','stopBrowserstackLocal','yWYSB','./percy/utils','IxAeD','unref','custom-repeater','RBDKl','useW3C','./setKeepAlive','ZSwtX','sdkRunId','utqpT','XJdsj','turboScaleOptions','validateSkipAppOverride','bwetH','stop','106971hgbDKe','hubUrl','cliConfig','SDKTestAttempted','getHubUrl','turboScaleUrl','codeceptjs','browserstackLocal'];a127_0x1f0a=function(){return _0xfd7167;};return a127_0x1f0a();}exports[a127_0x180121(0xf1)]=BrowserStackSetup;
|
|
1
|
+
function a127_0x32f4(){const _0x2c9438=['end','Local\x20binary\x20not\x20started\x20as\x20skipBinaryInitialisation\x20is\x20enabled','error','./testhub/utils','224SIzYhT','percy','wAqDk','setUpHubUrl','hHDlx','xlroH','useW3C','uncaughtException','SmArJ','envConfig','WKjkk','?caps=','Error\x20occured\x20while\x20stopping\x20local\x20binary','killSignal','turboScaleUrl','CyUMW','SDK\x20run\x20started\x20with\x20id:\x20','isRunning','QiigW','normalizeTestReportingEnvVars','url','localOptions','RpfDA','playwrightUrl','mDHxW','oZYic','preInitialize','getLocalIdentifier','sanitizeCaps','PRNHX','VpxyW','setupPercy','getLocalConfig','env','ZUFXe','parallelsPerPlatform','warn','SDK_CLEANUP','setCredentialsFromYmlConfig','SIGINT','LvjVh','\x20with\x20error\x20','skbmB','sdkRunId','additionalPlatforms','ePVAY','DjmlM','browserstackLocal','RXLsc','./performance/performance-tester','platform','close','yRkxB','finalize','integrations','xTETd','setLogDir','turboScaleGridDetails','reportProcessInterruptionSituation','winstonLogger','Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20','BROWSERSTACK_TURBOSCALE','getCentralUser','ImjPV','initialize','qoTjY','hubUrl','turboScaleOptions','length','platforms','isTrialGrid','testContextOptions','Could\x20not\x20start\x20percy,\x20check\x20percy\x20logs\x20for\x20info.','stop','stopBrowserstackLocal','UHOAi','setSmartTestSelectionFeatureBranchesConfig','./testhub/testhubHandler','esySc','isNotUndefined','setBrowserstackInfraFromConfig','measureWrapper','beforeExit','Failed\x20to\x20send\x20data\x20to\x20','split','Error\x20occured\x20while\x20stopping\x20percy','vQGix','skipSessionStatus','tScrf','true','configPath','Local\x20binary\x20started\x20successfully','setupKeepAlive','DrMJO','codeceptjs','startLocalBinary','Signal\x20shutdown\x20did\x20not\x20complete\x20cleanly:\x20','SIGNAL_EXIT_CODES','forceLocal','userName\x20or\x20accessKey\x20is\x20not\x20defined','LMDyH','QWAHA','exceptions','measures','writeFileSync','catch','LSjdz','playwright','unref','ms;\x20forcing\x20exit','compareVersions','ats-repeater','11536650iaLqGG','getTurboScaleGridDetails','./caCertHelper','Tlded','SIGTERM','framework','uyOVm','115326exoSsA','FghGu','central_scanner','intExitHandler','assign','../hubAllocationMethods','zWRLc','debug','setHandlePWError','setProxySettings','parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','KTSfE','SDKTestAttempted','getAccessKey','Percy\x20stopped','biOom','SIGABRT','HUB\x20URL\x20SET\x20TO\x20TurboScale\x20HUB\x20-\x20','errorMessage','FxgAZ','NPgbY','message','4.5.0','ncJnz','isBrowserstackInfra','SIGQUIT','hHezq','allocateHub','NZfUj','Calling\x20Build\x20Stop\x20from\x20ExitHandler','fireFunnelTestEvent','Error\x20in\x20writing\x20events\x20to\x20file\x20','isTurboScaleSession','validateSkipAppOverride','skipSessionName','finalExecution','9ItCSJU','509822WGIpUS','2424095PyMbYn','setupBrowserstackLocal','FRAMEWORK','format','isUndefined','setLogLevel','40itlUjS','unhandledErrors','hcHwm','turboScale','readConfig','Local\x20binary\x20stopped','skipBinaryInitialisation','stopPercy','getPackageVersion','YIVNs','browserStackLocalOptions','completed','timed-out','custom-repeater','GdDsG','aJcrs','JhVBI','khFDa','497824jSyuhv','86937Cdjzfn','handled','372428SXzqBM','stopLocalBinary','getFinalCaps','Percy\x20started\x20successfully','config','qBJxd','isEnabled','getInstance','race','customRepeaters','stringify','join','./percy/utils','./setKeepAlive','getConfigPath','mOdZB','pdUsI','ULOOL','mmnFF','toLowerCase','../bin/v2/modules/loadTestModule','../bin/utils/apiUtilityMethods','exitCode','setupCaCertificate','exit','lfhBL','setEnvCaps','captureError','czohG','fzgCa','events.json','AUTOLOGCAPTURE_NOTIFICATION','cliConfig','reportFinalDetectionState','./logger','exitHandler','../bin/v2/browserstackCLI','fileLogger','Error\x20in\x20sending\x20testhub\x20stop:\x20','getHubUrl','BROWSERSTACK_PERCY','selenium-webdriver','sendToEDS','GxQMz','../bin/utils/constants','aYqbU','ykeVC','isTrue','NZMYF','info','GsQRP','SIGHUP'];a127_0x32f4=function(){return _0x2c9438;};return a127_0x32f4();}const a127_0x5d564b=a127_0x5a63;(function(_0x6aaec1,_0xcfc192){const _0xf91b1c=a127_0x5a63,_0x20c237=_0x6aaec1();while(!![]){try{const _0x2fdc0f=-parseInt(_0xf91b1c(0x226))/0x1+-parseInt(_0xf91b1c(0x22d))/0x2*(parseInt(_0xf91b1c(0x240))/0x3)+parseInt(_0xf91b1c(0x242))/0x4+-parseInt(_0xf91b1c(0x227))/0x5+-parseInt(_0xf91b1c(0x201))/0x6*(-parseInt(_0xf91b1c(0x27a))/0x7)+parseInt(_0xf91b1c(0x23f))/0x8*(parseInt(_0xf91b1c(0x225))/0x9)+parseInt(_0xf91b1c(0x1fa))/0xa;if(_0x2fdc0f===_0xcfc192)break;else _0x20c237['push'](_0x20c237['shift']());}catch(_0x1b393a){_0x20c237['push'](_0x20c237['shift']());}}}(a127_0x32f4,0x5569b));const util=require('util'),path=require('path'),{v4:uuidv4}=require('uuid'),fs=require('fs'),constants=require(a127_0x5d564b(0x26e)),logger=require(a127_0x5d564b(0x264))[a127_0x5d564b(0x2b5)],fileLogger=require(a127_0x5d564b(0x264))[a127_0x5d564b(0x267)],{getLogDir}=require('./logger'),helper=require('./helper'),utilities=require('./utilities'),percyHelper=require(a127_0x5d564b(0x24e)),hubAllocator=require(a127_0x5d564b(0x206)),PerformanceTester=require(a127_0x5d564b(0x2ab)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents}=require('./performance/constants'),{setPercyFlag}=require(a127_0x5d564b(0x279)),TestHubHandler=require(a127_0x5d564b(0x2c7)),BrowserstackCLI=require(a127_0x5d564b(0x266)),LoadTestModule=require(a127_0x5d564b(0x256)),{getEdsInstrumentationAPIUrl}=require(a127_0x5d564b(0x257)),ClientTroubleShootingService=require('../bin/utils/clientTroubleshootingService');class BrowserStackSetup{constructor(_0x29d14f,_0x3b4b1f){const _0x593512=a127_0x5d564b,_0x5446c1={'khFDa':'16|27|2|25|0|18|10|8|14|4|23|5|24|12|6|13|26|28|11|7|17|19|22|9|20|3|15|1|21','mDHxW':'No\x20config\x20provided.','utkKo':function(_0x4e12e2,_0x5033c9){return _0x4e12e2(_0x5033c9);},'QWAHA':_0x593512(0x1fc),'JhVBI':function(_0x5acafb){return _0x5acafb();}},_0x23320d=_0x5446c1[_0x593512(0x23e)]['split']('|');let _0x56c735=0x0;while(!![]){switch(_0x23320d[_0x56c735++]){case'0':this[_0x593512(0x27b)]=null;continue;case'1':PerformanceTester['startMonitoring']();continue;case'2':this[_0x593512(0x283)]=helper[_0x593512(0x25c)]();continue;case'3':helper[_0x593512(0x2b2)](this[_0x593512(0x246)]);continue;case'4':this[_0x593512(0x246)]['additionalPlatforms']=this['config'][_0x593512(0x2a6)]||[];continue;case'5':this[_0x593512(0x213)]={};continue;case'6':global[_0x593512(0x1ff)]=_0x3b4b1f;continue;case'7':helper[_0x593512(0x2ca)](this[_0x593512(0x246)],this[_0x593512(0x262)]);continue;case'8':this[_0x593512(0x262)]=helper['setCLICaps'](_0x29d14f);continue;case'9':helper[_0x593512(0x244)](this[_0x593512(0x246)],this[_0x593512(0x262)],this['envConfig'],this[_0x593512(0x1ff)]);continue;case'10':this[_0x593512(0x246)]=helper[_0x593512(0x231)](this[_0x593512(0x2d4)]);continue;case'11':helper['validateAdditionalPlatforms'](this['config'],this[_0x593512(0x1ff)]);continue;case'12':this[_0x593512(0x1ff)]=_0x3b4b1f;continue;case'13':if(helper[_0x593512(0x22b)](this[_0x593512(0x246)]))throw new Error(_0x5446c1[_0x593512(0x292)]);continue;case'14':this[_0x593512(0x246)]['platforms']=this[_0x593512(0x246)][_0x593512(0x2bf)]||[];continue;case'15':helper[_0x593512(0x22c)](this['config'],this[_0x593512(0x262)],this[_0x593512(0x283)]);continue;case'16':this[_0x593512(0x22e)]=[];continue;case'17':helper[_0x593512(0x2a0)](this['config']);continue;case'18':this['configPath']=helper[_0x593512(0x250)](_0x29d14f);continue;case'19':this[_0x593512(0x246)][_0x593512(0x2c1)]['skipSessionStatus']=!helper[_0x593512(0x219)]()||helper[_0x593512(0x271)](this[_0x593512(0x246)]['testContextOptions'][_0x593512(0x2d1)]);continue;case'20':helper[_0x593512(0x2c6)](this[_0x593512(0x246)],this[_0x593512(0x262)],this['envConfig']);continue;case'21':try{_0x5446c1['utkKo'](require,_0x5446c1[_0x593512(0x2df)])[_0x593512(0x259)](this[_0x593512(0x246)],logger);}catch(_0x71272c){}continue;case'22':this[_0x593512(0x246)][_0x593512(0x2c1)]['skipSessionName']=!helper[_0x593512(0x219)]()||helper[_0x593512(0x271)](this[_0x593512(0x246)][_0x593512(0x2c1)][_0x593512(0x223)]);continue;case'23':this[_0x593512(0x246)][_0x593512(0x2c1)]=this[_0x593512(0x246)]['testContextOptions']||{};continue;case'24':this['sdkRunId']=_0x5446c1[_0x593512(0x23d)](uuidv4);continue;case'25':this[_0x593512(0x2a9)]=null;continue;case'26':if(this[_0x593512(0x246)][_0x593512(0x278)])throw new Error(this[_0x593512(0x246)][_0x593512(0x278)]);continue;case'27':helper[_0x593512(0x28d)]();continue;case'28':helper[_0x593512(0x222)](this[_0x593512(0x246)],this[_0x593512(0x1ff)]);continue;}break;}}['preInitialize'](_0x1f3b9a){const _0x3316c2=a127_0x5d564b,_0x351968={'FghGu':_0x3316c2(0x2dd),'xlroH':function(_0x562d3e,_0x12c046){return _0x562d3e===_0x12c046;},'RXLsc':_0x3316c2(0x2b0),'pdUsI':_0x3316c2(0x20d),'ImjPV':function(_0x2ae2e3,_0x86be50){return _0x2ae2e3<_0x86be50;},'yRkxB':function(_0x1627f0,_0x255395){return _0x1627f0(_0x255395);},'VpxyW':_0x3316c2(0x26b),'PvMQU':function(_0x35df83,_0x1dd600){return _0x35df83===_0x1dd600;},'vQGix':_0x3316c2(0x217),'YIVNs':'Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','FttQV':_0x3316c2(0x20b),'LvjVh':_0x3316c2(0x1fe),'cWKNR':_0x3316c2(0x2a1),'aXpBk':_0x3316c2(0x275),'QiigW':function(_0xca125b,_0x5bffce){return _0xca125b!==_0x5bffce;},'fzgCa':'win32','DjmlM':_0x3316c2(0x211),'XQuEH':_0x3316c2(0x21a),'NPgbY':'SIGBREAK','IaQTK':'beforeExit'},_0x18eded=this[_0x3316c2(0x1ff)];global[_0x3316c2(0x246)]=this[_0x3316c2(0x246)],helper[_0x3316c2(0x296)](this[_0x3316c2(0x246)]),this[_0x3316c2(0x287)]=null,global['sdkRunId']=this['sdkRunId'],logger[_0x3316c2(0x273)](_0x3316c2(0x28a)+this[_0x3316c2(0x2a5)]),!this[_0x3316c2(0x246)][_0x3316c2(0x237)]&&(this['config'][_0x3316c2(0x237)]=this[_0x3316c2(0x246)][_0x3316c2(0x28f)]||{});if(helper[_0x3316c2(0x22b)](helper['getUserName'](this[_0x3316c2(0x246)]))||helper[_0x3316c2(0x22b)](helper[_0x3316c2(0x20e)](this[_0x3316c2(0x246)])))throw new Error(_0x351968[_0x3316c2(0x202)]);helper[_0x3316c2(0x29a)](this[_0x3316c2(0x246)])&&helper[_0x3316c2(0x22b)](helper[_0x3316c2(0x295)](this[_0x3316c2(0x246)]))&&(!helper[_0x3316c2(0x22b)](this[_0x3316c2(0x246)][_0x3316c2(0x237)])&&_0x351968[_0x3316c2(0x27f)](this['config'][_0x3316c2(0x237)]['constructor'],Object)?!helper[_0x3316c2(0x271)](this[_0x3316c2(0x246)]['browserStackLocalOptions'][_0x3316c2(0x233)])&&(this[_0x3316c2(0x246)][_0x3316c2(0x237)]['localIdentifier']=helper['generateLocalIdentifier']()):this['config'][_0x3316c2(0x237)]={'localIdentifier':helper['generateLocalIdentifier']()});this[_0x3316c2(0x246)]['browserStackLocalOptions'][_0x3316c2(0x233)]=helper[_0x3316c2(0x271)](this[_0x3316c2(0x246)]['browserStackLocalOptions'][_0x3316c2(0x233)]),helper[_0x3316c2(0x209)](this[_0x3316c2(0x246)]);if(_0x351968[_0x3316c2(0x27f)](_0x18eded,_0x351968[_0x3316c2(0x2aa)]))return;this['handleExceptions']();process[_0x3316c2(0x29b)][_0x3316c2(0x2b7)]&&(this[_0x3316c2(0x246)][_0x3316c2(0x230)]=helper['isTrue'](process[_0x3316c2(0x29b)][_0x3316c2(0x2b7)]),this[_0x3316c2(0x246)][_0x3316c2(0x2bd)]=this[_0x3316c2(0x246)]['turboScaleOptions']||{});helper[_0x3316c2(0x221)](this[_0x3316c2(0x246)])&&(process[_0x3316c2(0x29b)][_0x3316c2(0x2b7)]=!![]);LoadTestModule['isLTSSession'](this[_0x3316c2(0x246)])&&logger['debug']('LTS\x20session\x20enabled\x20for\x20this\x20run.\x20SDK\x20run\x20id:\x20'+this['sdkRunId']);if(!helper[_0x3316c2(0x219)]()){try{process['env'][_0x3316c2(0x229)]=_0x18eded,utilities[_0x3316c2(0x21f)](_0x351968[_0x3316c2(0x252)],{},this['config'],this[_0x3316c2(0x1ff)]);}catch(_0x8f80af){logger['debug']('Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20'+_0x8f80af);}return;}if(helper['requireSeleniumWebdriverCheck'](_0x18eded)){if(global['__isPlaywrightInstalled']||global['__isPuppeteerInstalled'])return;_0x351968[_0x3316c2(0x2b9)](_0x351968[_0x3316c2(0x2ae)](parseInt,helper[_0x3316c2(0x235)](_0x351968[_0x3316c2(0x298)])),0x3)&&(this[_0x3316c2(0x246)][_0x3316c2(0x280)]=![]),_0x351968['PvMQU'](helper[_0x3316c2(0x1f8)](helper[_0x3316c2(0x235)](_0x351968[_0x3316c2(0x298)]),_0x351968[_0x3316c2(0x2d0)]),0x1)&&(this[_0x3316c2(0x246)]['useW3C']=!![]);}(helper[_0x3316c2(0x22b)](this[_0x3316c2(0x246)]['platforms'])||helper[_0x3316c2(0x22b)](this[_0x3316c2(0x246)]['platforms'][_0x3316c2(0x2be)]))&&(helper[_0x3316c2(0x22b)](this[_0x3316c2(0x246)][_0x3316c2(0x29d)])?logger[_0x3316c2(0x273)](_0x351968[_0x3316c2(0x236)]):logger[_0x3316c2(0x29e)](_0x351968['FttQV']),this[_0x3316c2(0x246)]['platforms']=[]);!this[_0x3316c2(0x246)][_0x3316c2(0x2c1)]&&(this[_0x3316c2(0x246)][_0x3316c2(0x2c1)]={});try{process[_0x3316c2(0x29b)]['FRAMEWORK']=_0x1f3b9a['_'][0x0],utilities[_0x3316c2(0x21f)](_0x351968[_0x3316c2(0x252)],{},this['config'],this['framework']);}catch(_0x396178){logger[_0x3316c2(0x208)](_0x3316c2(0x2b6)+_0x396178);}!this[_0x3316c2(0x246)]['disableAutoCaptureLogs']&&logger[_0x3316c2(0x273)](constants[_0x3316c2(0x261)]),this['intExitHandler']=this[_0x3316c2(0x204)]['bind'](this),process['on'](_0x351968[_0x3316c2(0x2a2)],this[_0x3316c2(0x204)]),process['on'](_0x351968['cWKNR'],this[_0x3316c2(0x204)]),process['on'](_0x351968['aXpBk'],this['intExitHandler']),_0x351968[_0x3316c2(0x28c)](process[_0x3316c2(0x2ac)],_0x351968[_0x3316c2(0x25f)])?(process['on'](_0x351968[_0x3316c2(0x2a8)],this[_0x3316c2(0x204)]),process['on'](_0x351968['XQuEH'],this['intExitHandler'])):process['on'](_0x351968[_0x3316c2(0x215)],this[_0x3316c2(0x204)]),process['on'](_0x351968['IaQTK'],this[_0x3316c2(0x265)]());}async[a127_0x5d564b(0x2ba)](_0x29c3ba){const _0x1c2451=a127_0x5d564b,_0x3d4087={'RpfDA':_0x1c2451(0x1f9),'KTSfE':_0x1c2451(0x23a),'qoTjY':'true','Tlded':function(_0x5c9fd4,_0x1213e9){return _0x5c9fd4===_0x1213e9;},'hcHwm':_0x1c2451(0x1f5),'ncJnz':function(_0x393393,_0x1b80fc){return _0x393393+_0x1b80fc;},'czohG':_0x1c2451(0x285),'SmArJ':function(_0x5c0bc8,_0x4c6d1d){return _0x5c0bc8(_0x4c6d1d);},'lfhBL':_0x1c2451(0x2d8)};this[_0x1c2451(0x294)](_0x29c3ba);if(helper[_0x1c2451(0x221)](this[_0x1c2451(0x246)])){const _0x1c753a=await helper[_0x1c2451(0x1fb)](this['config']);this['config'][_0x1c2451(0x2b3)]=_0x1c753a,_0x1c753a[_0x1c2451(0x2c0)]&&helper[_0x1c2451(0x2c9)](this[_0x1c2451(0x246)]['browserstackLocal'])&&helper[_0x1c2451(0x271)](this[_0x1c2451(0x246)][_0x1c2451(0x2a9)])&&(this['config'][_0x1c2451(0x237)]['localIdentifier']=_0x3d4087[_0x1c2451(0x290)],this[_0x1c2451(0x246)][_0x1c2451(0x237)][_0x3d4087[_0x1c2451(0x20c)]]=_0x1c753a[_0x1c2451(0x24b)][_0x1c2451(0x24d)](','),this[_0x1c2451(0x246)]['browserStackLocalOptions'][_0x1c2451(0x2dc)]=_0x3d4087[_0x1c2451(0x2bb)]),this['config'][_0x1c2451(0x288)]=_0x1c753a[_0x1c2451(0x28e)],this[_0x1c2451(0x1ff)]&&_0x3d4087[_0x1c2451(0x1fd)](this[_0x1c2451(0x1ff)][_0x1c2451(0x255)](),_0x3d4087[_0x1c2451(0x22f)])?this[_0x1c2451(0x246)]['turboScaleUrl']=_0x3d4087[_0x1c2451(0x218)](_0x1c753a[_0x1c2451(0x291)],_0x3d4087[_0x1c2451(0x25e)]):constants[_0x1c2451(0x2bc)]=helper[_0x1c2451(0x269)](this['config']),logger['debug'](_0x1c2451(0x212)+constants[_0x1c2451(0x2bc)]);}helper[_0x1c2451(0x20a)](this[_0x1c2451(0x246)]),this[_0x1c2451(0x2d6)](),_0x3d4087[_0x1c2451(0x282)](setPercyFlag,this),![_0x3d4087[_0x1c2451(0x25b)],_0x3d4087[_0x1c2451(0x22f)]]['includes'](this[_0x1c2451(0x1ff)])&&!helper['isTurboScaleSession'](this[_0x1c2451(0x246)])&&!helper[_0x1c2451(0x2b8)]()[_0x1c2451(0x203)]&&await this[_0x1c2451(0x27d)]();}async[a127_0x5d564b(0x299)](){const _0x299a3c=a127_0x5d564b,_0x22625b={};_0x22625b[_0x299a3c(0x29c)]=function(_0x4e3ba1,_0x29e1ab){return _0x4e3ba1===_0x29e1ab;},_0x22625b[_0x299a3c(0x289)]='false',_0x22625b[_0x299a3c(0x2b1)]=_0x299a3c(0x2c2),_0x22625b[_0x299a3c(0x27c)]=_0x299a3c(0x245),_0x22625b[_0x299a3c(0x2de)]=_0x299a3c(0x2d3),_0x22625b[_0x299a3c(0x251)]=_0x299a3c(0x2cc);const _0x25639a=_0x22625b;if(helper[_0x299a3c(0x271)](this[_0x299a3c(0x246)][_0x299a3c(0x27b)])&&(!this['percy']||!this[_0x299a3c(0x27b)][_0x299a3c(0x28b)]()))try{this[_0x299a3c(0x27b)]=await percyHelper['startPercy'](this[_0x299a3c(0x246)]);if(!this[_0x299a3c(0x27b)]){process[_0x299a3c(0x29b)][_0x299a3c(0x26a)]=_0x25639a[_0x299a3c(0x289)];throw new Error(_0x25639a[_0x299a3c(0x2b1)]);}logger[_0x299a3c(0x273)](_0x25639a[_0x299a3c(0x27c)]),process[_0x299a3c(0x29b)]['BROWSERSTACK_PERCY']=_0x25639a['LMDyH'];let _0x4821f2=0x0;const _0x49f964=async()=>{const _0x4dd73c=_0x299a3c;_0x4821f2++,_0x25639a[_0x4dd73c(0x29c)](_0x4821f2,0x1)&&await this[_0x4dd73c(0x234)]();};process['on'](_0x25639a[_0x299a3c(0x251)],_0x49f964);}catch(_0x2bc7f9){process[_0x299a3c(0x29b)][_0x299a3c(0x26a)]=_0x25639a[_0x299a3c(0x289)],logger[_0x299a3c(0x208)]('Error\x20in\x20percy\x20setup\x20'+_0x2bc7f9);throw new Error(_0x2bc7f9['toString']());}}async[a127_0x5d564b(0x234)](){const _0x1a5a38=a127_0x5d564b,_0x38f056={};_0x38f056['hHDlx']=_0x1a5a38(0x20f),_0x38f056[_0x1a5a38(0x253)]=_0x1a5a38(0x2cf);const _0x4daeb4=_0x38f056;if(this[_0x1a5a38(0x27b)]&&this[_0x1a5a38(0x27b)][_0x1a5a38(0x28b)]())try{await percyHelper['stopPercy'](this[_0x1a5a38(0x27b)]),logger[_0x1a5a38(0x273)](_0x4daeb4[_0x1a5a38(0x27e)]);}catch(_0x68b801){logger[_0x1a5a38(0x278)](_0x4daeb4[_0x1a5a38(0x253)],_0x68b801[_0x1a5a38(0x216)]);}}async[a127_0x5d564b(0x228)](){const _0x46deb1=a127_0x5d564b,_0x33b904={};_0x33b904[_0x46deb1(0x2c5)]=_0x46deb1(0x277),_0x33b904['NZfUj']=_0x46deb1(0x2d5);const _0x35bcb3=_0x33b904;if(helper[_0x46deb1(0x219)]()&&helper[_0x46deb1(0x271)](this['config'][_0x46deb1(0x2a9)])&&(!this[_0x46deb1(0x2a9)]||!this[_0x46deb1(0x2a9)][_0x46deb1(0x28b)]()))try{if(this['config'][_0x46deb1(0x237)][_0x46deb1(0x233)]){logger[_0x46deb1(0x208)](_0x35bcb3[_0x46deb1(0x2c5)]);return;}this[_0x46deb1(0x2a9)]=await helper[_0x46deb1(0x2d9)](this[_0x46deb1(0x246)]),logger[_0x46deb1(0x273)](_0x35bcb3[_0x46deb1(0x21d)]);}catch(_0x4628d2){logger[_0x46deb1(0x208)](_0x4628d2);throw new Error(_0x4628d2['toString']());}}async[a127_0x5d564b(0x2c4)](){const _0x3256da=a127_0x5d564b,_0x1483cb={};_0x1483cb[_0x3256da(0x284)]=_0x3256da(0x232),_0x1483cb[_0x3256da(0x247)]=_0x3256da(0x286);const _0x2f590b=_0x1483cb;if(this[_0x3256da(0x2a9)]&&this['browserstackLocal']['isRunning']())try{await helper[_0x3256da(0x243)](this[_0x3256da(0x2a9)]),logger[_0x3256da(0x273)](_0x2f590b[_0x3256da(0x284)]);}catch(_0x463308){logger[_0x3256da(0x278)](_0x2f590b[_0x3256da(0x247)],_0x463308[_0x3256da(0x216)]);}}async[a127_0x5d564b(0x27d)](){const _0x12d3df=a127_0x5d564b;return PerformanceTester[_0x12d3df(0x2cb)](PerformanceAutEvents['HUB_MANAGEMENT'],async()=>{const _0x486ec1=_0x12d3df;await hubAllocator[_0x486ec1(0x21c)](this['config']);})();}[a127_0x5d564b(0x2d6)](){const _0x5bf0a7=a127_0x5d564b,_0x2142ab={'biOom':function(_0x36fc9f,_0x2b89d3){return _0x36fc9f(_0x2b89d3);},'DrMJO':_0x5bf0a7(0x24f)};_0x2142ab[_0x5bf0a7(0x210)](require,_0x2142ab[_0x5bf0a7(0x2d7)])();}['handleExceptions'](){const _0x2502c8=a127_0x5d564b,_0xeba488={};_0xeba488[_0x2502c8(0x2c8)]='4|2|1|3|0',_0xeba488[_0x2502c8(0x200)]='unhandledRejection',_0xeba488[_0x2502c8(0x297)]=_0x2502c8(0x281);const _0x3a3005=_0xeba488,_0x2dab16=_0x5095bd=>{const _0x124922=_0x2502c8,_0x1730a8=_0x3a3005[_0x124922(0x2c8)][_0x124922(0x2ce)]('|');let _0x1b6e8d=0x0;while(!![]){switch(_0x1730a8[_0x1b6e8d++]){case'0':ClientTroubleShootingService[_0x124922(0x263)]();continue;case'1':this[_0x124922(0x22e)]['push'](util[_0x124922(0x22a)]('%j',_0x5095bd));continue;case'2':logger[_0x124922(0x208)](util['format'](_0x5095bd));continue;case'3':PerformanceTester[_0x124922(0x25d)](_0x5095bd);continue;case'4':logger['error'](_0x5095bd[_0x124922(0x216)]);continue;}break;}};process['on'](_0x3a3005[_0x2502c8(0x200)],_0x2dab16),process['on'](_0x3a3005[_0x2502c8(0x297)],_0x2dab16);}async[a127_0x5d564b(0x204)](_0x11b497){const _0x3c083b=a127_0x5d564b,_0x17e436={'aJcrs':function(_0x33ab27,_0x22edf4){return _0x33ab27+_0x22edf4;},'mmnFF':_0x3c083b(0x2da),'FIbQH':_0x3c083b(0x238),'lgHSF':function(_0x39cbe8,_0x1311a7,_0x2a0265){return _0x39cbe8(_0x1311a7,_0x2a0265);},'LSjdz':_0x3c083b(0x241),'skbmB':function(_0x324035,_0x266183){return _0x324035+_0x266183;},'NZMYF':function(_0x242f83,_0x441417){return _0x242f83+_0x441417;},'oZYic':'Shutdown\x20triggered\x20by\x20','ykeVC':function(_0x465a23,_0x8ec2f1){return _0x465a23(_0x8ec2f1);},'GsQRP':function(_0x6e055d,_0x910d4f){return _0x6e055d===_0x910d4f;},'tScrf':_0x3c083b(0x239),'KmRmL':'Signal\x20shutdown\x20timed\x20out\x20after\x20','FxgAZ':_0x3c083b(0x1f7)};if(this[_0x17e436[_0x3c083b(0x23c)](_0x17e436[_0x3c083b(0x1f4)],_0x11b497)])return;this[_0x17e436[_0x3c083b(0x2a4)](_0x17e436[_0x3c083b(0x1f4)],_0x11b497)]=!![],logger[_0x3c083b(0x273)](_0x17e436[_0x3c083b(0x272)](_0x17e436[_0x3c083b(0x293)],_0x11b497)),this[_0x3c083b(0x287)]=_0x11b497;const _0x2e9ba7=0x7530;let _0x34d41f;const _0x1e689a=(async()=>{const _0x5a018d=_0x3c083b;await ClientTroubleShootingService[_0x5a018d(0x2b4)](_0x11b497),await TestHubHandler[_0x5a018d(0x2c3)](_0x11b497);const _0x1bb433=BrowserstackCLI[_0x5a018d(0x249)]();await utilities[_0x5a018d(0x224)](this,_0x1bb433?_0x1bb433[_0x5a018d(0x28b)]():![]),await ClientTroubleShootingService[_0x5a018d(0x263)](),await BrowserstackCLI[_0x5a018d(0x249)]()['stop']();})()['then'](()=>'completed')[_0x3c083b(0x1f3)](_0x417c59=>{const _0x4f5de5=_0x3c083b;return logger[_0x4f5de5(0x208)](_0x17e436[_0x4f5de5(0x23c)](_0x17e436[_0x4f5de5(0x254)],util[_0x4f5de5(0x22a)](_0x417c59))),_0x17e436['FIbQH'];}),_0x46de72=new Promise(_0x1a254c=>{const _0x368f4a=_0x3c083b;_0x34d41f=_0x17e436['lgHSF'](setTimeout,()=>_0x1a254c('timed-out'),_0x2e9ba7),_0x34d41f[_0x368f4a(0x1f6)]&&_0x34d41f[_0x368f4a(0x1f6)]();}),_0x33a95c=await Promise[_0x3c083b(0x24a)]([_0x1e689a,_0x46de72]);_0x17e436[_0x3c083b(0x270)](clearTimeout,_0x34d41f),_0x17e436[_0x3c083b(0x274)](_0x33a95c,_0x17e436[_0x3c083b(0x2d2)])&&logger[_0x3c083b(0x29e)](_0x17e436[_0x3c083b(0x23c)](_0x17e436['skbmB'](_0x17e436['KmRmL'],_0x2e9ba7),_0x17e436[_0x3c083b(0x214)])),process[_0x3c083b(0x25a)](process[_0x3c083b(0x258)]||_0x17e436['skbmB'](0x80,constants[_0x3c083b(0x2db)][_0x11b497]||0x0));}[a127_0x5d564b(0x265)](){const _0x3075ec=a127_0x5d564b,_0x30ee22={'zWRLc':function(_0x233b57,_0x2fbb94){return _0x233b57===_0x2fbb94;},'hHezq':_0x3075ec(0x21e),'GxQMz':function(_0x13f8a1,_0x33bbda){return _0x13f8a1>_0x33bbda;},'aYqbU':function(_0x1aa946,_0x22118c){return _0x1aa946(_0x22118c);},'Gqyms':function(_0xa1e1eb,_0xd27454){return _0xa1e1eb(_0xd27454);},'GdDsG':function(_0x55b498){return _0x55b498();},'ePVAY':_0x3075ec(0x260)};let _0x16da45=0x0;return async()=>{const _0x4fc9bd=_0x3075ec;_0x16da45++;if(_0x30ee22[_0x4fc9bd(0x207)](_0x16da45,0x1)){helper['checkStopLocalBinaryOnExit'](this[_0x4fc9bd(0x1ff)])&&await this[_0x4fc9bd(0x2c4)]();try{logger[_0x4fc9bd(0x208)](_0x30ee22[_0x4fc9bd(0x21b)]),await TestHubHandler['stop'](_0x16da45),await ClientTroubleShootingService[_0x4fc9bd(0x263)](),await BrowserstackCLI[_0x4fc9bd(0x249)]()[_0x4fc9bd(0x2c3)]('1');}catch(_0x46f9fc){logger[_0x4fc9bd(0x208)](_0x4fc9bd(0x268)+util[_0x4fc9bd(0x22a)](_0x46f9fc));}PerformanceTester[_0x4fc9bd(0x276)](PerformanceEvents[_0x4fc9bd(0x29f)]);if(PerformanceTester[_0x4fc9bd(0x248)]()){const {measures:_0x5b567a,errors:_0x2990af}=await PerformanceTester[_0x4fc9bd(0x2af)](),_0x5e9fcd={};if(_0x5b567a&&_0x30ee22[_0x4fc9bd(0x26d)](_0x5b567a['length'],0x0)||_0x2990af&&_0x30ee22[_0x4fc9bd(0x26d)](_0x2990af['length'],0x0)){const _0x3a7219={};_0x3a7219[_0x4fc9bd(0x2e1)]=_0x5b567a,_0x3a7219[_0x4fc9bd(0x2e0)]=_0x2990af,Object[_0x4fc9bd(0x205)](_0x5e9fcd,_0x3a7219);}try{const _0xf69743=await helper[_0x4fc9bd(0x26c)](_0x5e9fcd,this[_0x4fc9bd(0x246)]);logger[_0x4fc9bd(0x208)]('Data\x20sent\x20successfully\x20to\x20'+_0x30ee22[_0x4fc9bd(0x26f)](getEdsInstrumentationAPIUrl,'')+'\x20with\x20response\x20'+_0xf69743['statusCode']);}catch(_0x37b2b8){logger['debug'](_0x4fc9bd(0x2cd)+_0x30ee22['Gqyms'](getEdsInstrumentationAPIUrl,'')+_0x4fc9bd(0x2a3)+util[_0x4fc9bd(0x22a)](_0x37b2b8));}try{fs[_0x4fc9bd(0x1f2)](path['join'](_0x30ee22[_0x4fc9bd(0x23b)](getLogDir),_0x30ee22[_0x4fc9bd(0x2a7)]),JSON[_0x4fc9bd(0x24c)](_0x5e9fcd));}catch(_0x3404fc){logger[_0x4fc9bd(0x208)](_0x4fc9bd(0x220)+_0x3404fc);}}}logger&&logger[_0x4fc9bd(0x2ad)](),fileLogger&&fileLogger[_0x4fc9bd(0x2ad)]();};}}function a127_0x5a63(_0x2b2384,_0x535da7){const _0x32f400=a127_0x32f4();return a127_0x5a63=function(_0x5a6365,_0x30680a){_0x5a6365=_0x5a6365-0x1f2;let _0xb1b363=_0x32f400[_0x5a6365];return _0xb1b363;},a127_0x5a63(_0x2b2384,_0x535da7);}exports['default']=BrowserStackSetup;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a128_0x4ec1f4=a128_0x34be;(function(_0x1cac28,_0x3f06a6){const _0x2119a9=a128_0x34be,_0x4ad1e8=_0x1cac28();while(!![]){try{const _0x3c54e2=-parseInt(_0x2119a9(0x1b0))/0x1*(parseInt(_0x2119a9(0x1a8))/0x2)+parseInt(_0x2119a9(0x116))/0x3+-parseInt(_0x2119a9(0x1cf))/0x4*(parseInt(_0x2119a9(0x11c))/0x5)+-parseInt(_0x2119a9(0x16c))/0x6+-parseInt(_0x2119a9(0x14f))/0x7*(parseInt(_0x2119a9(0x1a2))/0x8)+parseInt(_0x2119a9(0x156))/0x9*(-parseInt(_0x2119a9(0x13b))/0xa)+parseInt(_0x2119a9(0x1bf))/0xb;if(_0x3c54e2===_0x3f06a6)break;else _0x4ad1e8['push'](_0x4ad1e8['shift']());}catch(_0x19da2b){_0x4ad1e8['push'](_0x4ad1e8['shift']());}}}(a128_0x24e9,0xd644f));function a128_0x34be(_0x56a364,_0x4a3b33){const _0x24e97a=a128_0x24e9();return a128_0x34be=function(_0x34bead,_0x31a635){_0x34bead=_0x34bead-0x10d;let _0x5836c6=_0x24e97a[_0x34bead];return _0x5836c6;},a128_0x34be(_0x56a364,_0x4a3b33);}const util=require(a128_0x4ec1f4(0x14d)),logger=require(a128_0x4ec1f4(0x1af))['winstonLogger'],accessibilityHelper=require(a128_0x4ec1f4(0x197)),globals=require(a128_0x4ec1f4(0x162)),scripts=require(a128_0x4ec1f4(0x119)),PerformanceTester=require(a128_0x4ec1f4(0x180)),{A11Y_EVENTS:PerformanceA11yEvents}=require('../performance/constants'),BrowserstackCLI=require('../../bin/v2/browserstackCLI');let playwrightA11yHelper=null;function a128_0x24e9(){const _0x5274ad=['NdbsA','52FsLJAC','wviax','env','zserz','vdNgL','aUUzg','Failed\x20to\x20set\x20Playwright\x20script\x20timeout:\x20','../logger','47629yMrvyI','QpTyT','__workerDetails','race','xNGQS','constructor','CSEml','EIZng','Accessibility\x20scan\x20attempt\x20','PMBLS','PnDJM','Failed\x20to\x20retrieve\x20accessibility\x20summary\x20(','Unknown\x20driver/page\x20type:\x20','Failed\x20to\x20set\x20Selenium\x20script\x20timeout:\x20','lnOtr','52681882eIsZxD','Playwright\x20accessibility\x20helper\x20not\x20available',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20with\x20retry.','\x20failed\x20(','setDefaultTimeout','ms\x20using\x20setScriptTimeout\x20API','ms\x20using\x20setTimeouts\x20API','name','Playwright','YWqCD','setTimeouts','XLSYd','WbIGa','undefined','VOeMo','WebDriver','38784VsoGmw','scannerProcessingTimeout','setSeleniumScriptTimeout','ySZTw','fKWVm','value','NTXkF','GioYG','RcQQH','uzvkF','getSession','isPlaywright','RkbRT','Accessibility\x20scan\x20succeeded\x20on\x20attempt\x20','EpNWf','OXWAv','1995810YXuuRB','):\x20','bYJRm','./scripts','jXnRZ','mpjmF','30QuwSKA','status','GuFXb','resolveMobileThTestRunUuid','LOmoY','EozyP','page','hGgKk','allSettled','Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20','fulfilled','performScanWithRetry','ghzyg','bstackA11yShouldScan','reason','message','bstackA11yScanOptions','measureWrapper','url','DVcii','performScan','maxRetries','timeouts','manage','mynkh','ms\x20using\x20timeouts()\x20API','xmGmx','Failed\x20to\x20retrieve\x20accessibility\x20results\x20(','Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20','All\x20accessibility\x20results\x20summary\x20retrieval\x20attempts\x20failed\x20(','evaluate','12990ZuLMJs','getGlobal','Selenium\x20WebDriver\x20manage()\x20method\x20not\x20available,\x20skipping\x20timeout\x20setting','isMobilePlatform','assign','summary','lxMsW','ooMgq','JkCpm','EkMZl','unknown_method','OExVR','warn','currentTest','Skipping\x20timeout\x20setting\x20for\x20','Accessibility\x20results\x20retrieval\x20attempt\x20','accessibilityPlatform','Omahq','util','jzafi','7xDqwDC','hXfKJ','hzGXM','eJwQZ','tPJnb','sOmTt',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary\x20with\x20retry.','7713KTLgjX','capabilitiesList','[Accessibility]\x20Scan\x20skipped\x20-\x20scanning\x20is\x20currently\x20disabled\x20(partial\x20scan\x20mode)','executeAsyncScript','dLhRt','playwright-codecept-driver','getCurrentUrl','DbCTO',')\x20with\x20error:\x20','unknown','All\x20accessibility\x20results\x20save\x20attempts\x20failed\x20(','type','../globals','updateRetryConfig','getAccessibilityResultsSummary','fGWKE','debug','Accessibility\x20results\x20summary\x20retrieved\x20successfully\x20on\x20attempt\x20','aWXAh','selenium-webdriver','setScriptTimeout','ZzBao','9376614htBnyX',').\x20Last\x20error:\x20','defaultTimeoutMs','saveTestResults','Accessibility\x20results\x20save\x20attempt\x20','Set\x20Playwright\x20page\x20default\x20timeout\x20to\x20','yyOyZ','isSeleniumDriver','timeoutMs','jQfYh','cLSdC','getAccessibilityResultsWithRetry','error','BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT','getAccessibilityResultsSummaryWithRetry','eOtKV','Comprehensive\x20accessibility\x20scan\x20failed\x20(','jDOYB','playwright-page','ZJwYe','../performance/performance-tester','Unknown\x20error','results','tVExq','ewlBh','setPlaywrightScriptTimeout','performComprehensiveAccessibilityScanWithRetry','getInstance','uphLf','Accessibility\x20results\x20saved\x20successfully\x20on\x20attempt\x20',').\x20Error:\x20','info','../../bin/playwright/accessibility-helper','Unknown\x20error\x20during\x20comprehensive\x20accessibility\x20scan','isRunning','lNuyp','is_mobile_session','stringify','function','Scan\x20attempt\x20','max','dELop','getAccessibilityModule','./helper','isPlaywrightPage','\x20completed\x20successfully.','uFHaq','PERFORM_SCAN','scanSucceeded','ORHyO','\x20for\x20method:\x20','lEctQ','getAccessibilityResults','Cannot\x20set\x20script\x20timeout:\x20not\x20a\x20Selenium\x20WebDriver','4834744ArinOU','hUnWN','isAccessibilityPlatform','pGPes','Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20'];a128_0x24e9=function(){return _0x5274ad;};return a128_0x24e9();}try{playwrightA11yHelper=require(a128_0x4ec1f4(0x18c));}catch(a128_0x15f6fe){logger[a128_0x4ec1f4(0x166)](a128_0x4ec1f4(0x1c0));}const a128_0x1e3b51={};a128_0x1e3b51[a128_0x4ec1f4(0x131)]=0x1,a128_0x1e3b51['timeoutMs']=0x7530,a128_0x1e3b51[a128_0x4ec1f4(0x16e)]=0x7530;const RETRY_CONFIG=a128_0x1e3b51,setConfigTimeout=(_0x50a42e,_0x368b71=null)=>{const _0x14d4cb=a128_0x4ec1f4,_0x5acb7e={'GuFXb':function(_0x4a9ff1,_0x2b6f62){return _0x4a9ff1===_0x2b6f62;},'OlmTP':_0x14d4cb(0x1d0),'ZfWEa':function(_0x41251f,_0x31544e){return _0x41251f*_0x31544e;},'cLSdC':function(_0x4ddca2,_0x179f2d){return _0x4ddca2(_0x179f2d);},'NTXkF':function(_0x50f2b4,_0x3bba8c){return _0x50f2b4*_0x3bba8c;}};if(BrowserstackCLI['getInstance']()[_0x14d4cb(0x18e)]()&&BrowserstackCLI[_0x14d4cb(0x187)]()['getAccessibilityModule']()){const _0x148da6=BrowserstackCLI[_0x14d4cb(0x187)]()[_0x14d4cb(0x196)]()['accessibilityConfig'],_0x10b097=_0x148da6['options'][_0x14d4cb(0x157)]||[];for(const _0x40d880 of _0x10b097){_0x5acb7e[_0x14d4cb(0x11e)](_0x40d880[_0x14d4cb(0x1c6)],_0x5acb7e['OlmTP'])&&_0x5acb7e[_0x14d4cb(0x11e)](_0x368b71,null)&&(_0x50a42e[_0x14d4cb(0x174)]=_0x5acb7e['ZfWEa'](_0x5acb7e[_0x14d4cb(0x176)](parseInt,_0x40d880[_0x14d4cb(0x1d4)]),0x3e8));}}else process[_0x14d4cb(0x1aa)]['BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT']&&(_0x50a42e[_0x14d4cb(0x174)]=_0x5acb7e[_0x14d4cb(0x1d5)](_0x5acb7e['cLSdC'](parseInt,process[_0x14d4cb(0x1aa)][_0x14d4cb(0x179)]),0x3e8));},detectDriverType=_0x393277=>{const _0x35c85b=a128_0x4ec1f4,_0x1cfbdb={};_0x1cfbdb[_0x35c85b(0x1ab)]=_0x35c85b(0x15f),_0x1cfbdb[_0x35c85b(0x120)]=function(_0x544852,_0x2d5811){return _0x544852===_0x2d5811;},_0x1cfbdb[_0x35c85b(0x121)]=_0x35c85b(0x192),_0x1cfbdb[_0x35c85b(0x1a5)]=function(_0x2b1deb,_0x4fc514){return _0x2b1deb===_0x4fc514;},_0x1cfbdb['uFHaq']=_0x35c85b(0x17e),_0x1cfbdb[_0x35c85b(0x10e)]=function(_0x598473,_0xd90419){return _0x598473===_0xd90419;},_0x1cfbdb[_0x35c85b(0x14e)]=function(_0x5cd3b2,_0x26089c){return _0x5cd3b2===_0x26089c;},_0x1cfbdb[_0x35c85b(0x168)]='selenium-webdriver',_0x1cfbdb[_0x35c85b(0x144)]='Page',_0x1cfbdb['sOmTt']=function(_0x50aff4,_0x232ff6){return _0x50aff4===_0x232ff6;},_0x1cfbdb[_0x35c85b(0x18f)]=_0x35c85b(0x1ce),_0x1cfbdb[_0x35c85b(0x112)]=_0x35c85b(0x1c7),_0x1cfbdb['JkCpm']=_0x35c85b(0x15b),_0x1cfbdb['MkmJa']=function(_0x209e62,_0x47ac70){return _0x209e62||_0x47ac70;},_0x1cfbdb[_0x35c85b(0x1d2)]=_0x35c85b(0x1cc);const _0xc57c57=_0x1cfbdb;if(!_0x393277){const _0x48f321={};return _0x48f321[_0x35c85b(0x111)]=![],_0x48f321[_0x35c85b(0x161)]=_0xc57c57[_0x35c85b(0x1ab)],_0x48f321;}if(_0xc57c57[_0x35c85b(0x120)](typeof _0x393277[_0x35c85b(0x13a)],_0xc57c57[_0x35c85b(0x121)])&&_0xc57c57[_0x35c85b(0x1a5)](typeof _0x393277['url'],_0xc57c57[_0x35c85b(0x121)])&&_0xc57c57['pGPes'](typeof _0x393277['goto'],_0xc57c57[_0x35c85b(0x121)])){const _0x5ce4fe={};return _0x5ce4fe[_0x35c85b(0x111)]=!![],_0x5ce4fe[_0x35c85b(0x161)]=_0xc57c57[_0x35c85b(0x19a)],_0x5ce4fe;}if(_0xc57c57[_0x35c85b(0x10e)](typeof _0x393277['executeAsyncScript'],_0xc57c57['EozyP'])&&_0xc57c57[_0x35c85b(0x14e)](typeof _0x393277['getCapabilities'],_0xc57c57['EozyP'])){const _0xe05180={};return _0xe05180['isPlaywright']=![],_0xe05180[_0x35c85b(0x161)]=_0xc57c57['aWXAh'],_0xe05180;}const _0x2d6c09=_0x393277[_0x35c85b(0x1b5)]?.[_0x35c85b(0x1c6)];if(_0xc57c57['jzafi'](_0x2d6c09,_0xc57c57[_0x35c85b(0x144)])){const _0x497379={};return _0x497379['isPlaywright']=!![],_0x497379['type']=_0xc57c57[_0x35c85b(0x19a)],_0x497379;}if(_0xc57c57[_0x35c85b(0x154)](_0x2d6c09,_0xc57c57['lNuyp'])){const _0x291d13={};return _0x291d13[_0x35c85b(0x111)]=![],_0x291d13['type']=_0xc57c57['aWXAh'],_0x291d13;}if(_0xc57c57[_0x35c85b(0x120)](_0x2d6c09,_0xc57c57['RkbRT'])){const _0x4517e4={};return _0x4517e4[_0x35c85b(0x111)]=!![],_0x4517e4[_0x35c85b(0x161)]=_0xc57c57[_0x35c85b(0x143)],_0x4517e4;}logger[_0x35c85b(0x147)](_0x35c85b(0x1bc)+_0xc57c57['MkmJa'](_0x2d6c09,_0xc57c57[_0x35c85b(0x1d2)]));const _0x2d0ff6={};return _0x2d0ff6['isPlaywright']=![],_0x2d0ff6['type']=_0xc57c57[_0x35c85b(0x1ab)],_0x2d0ff6;},withTimeout=(_0x442bb3,_0x594446)=>{const _0x144595=a128_0x4ec1f4;return Promise[_0x144595(0x1b3)]([_0x442bb3,new Promise((_0x19ac67,_0x2fefe0)=>setTimeout(()=>_0x2fefe0(new Error('Operation\x20timed\x20out\x20after\x20'+_0x594446+'ms')),_0x594446))]);};exports[a128_0x4ec1f4(0x127)]=async(_0x6a0cb0,_0x10cfac=null,_0x395b38=null,_0x90a805=![],_0x590c1d=null)=>{const _0x16995b=a128_0x4ec1f4,_0xeb9bd5={'krzCz':function(_0x488e1e,_0x5ee27f){return _0x488e1e&&_0x5ee27f;},'uphLf':function(_0x471266,_0x1c1168,_0x3599aa){return _0x471266(_0x1c1168,_0x3599aa);},'GioYG':function(_0x2e1e3f,_0xe86af2){return _0x2e1e3f===_0xe86af2;},'uzvkF':_0x16995b(0x15b),'hjdAO':function(_0x2ee471,_0x2003ae,_0x20983d){return _0x2ee471(_0x2003ae,_0x20983d);},'VoNEV':function(_0x2f141e,_0x1d728f){return _0x2f141e(_0x1d728f);},'lEctQ':function(_0x32d224,_0x3239d9){return _0x32d224||_0x3239d9;},'hUnWN':function(_0x2aca50,_0x5d3f1e){return _0x2aca50!==_0x5d3f1e;},'CSEml':_0x16995b(0x1a4),'NdbsA':function(_0x4766b5,_0xed1ad4){return _0x4766b5!==_0xed1ad4;},'xmGmx':_0x16995b(0x129),'fGWKE':_0x16995b(0x158),'itnlv':_0x16995b(0x145),'EIZng':function(_0x414bb9,_0x57034f){return _0x414bb9===_0x57034f;},'PMBLS':_0x16995b(0x192),'eJwQZ':function(_0x196ce1,_0x186dd4){return _0x196ce1<=_0x186dd4;},'oPnhl':function(_0x45bdd4,_0x26db0e){return _0x45bdd4+_0x26db0e;},'tPJnb':_0x16995b(0x181)},{isPlaywright:_0x4c1a73,type:_0x5df865}=_0xeb9bd5['VoNEV'](detectDriverType,_0x6a0cb0),_0x4fcc54=_0x90a805?_0xeb9bd5[_0x16995b(0x19f)](_0x590c1d,{}):global[_0x16995b(0x12c)]||{},_0x52503f=_0x4c1a73?global[_0x16995b(0x14b)]&&(_0x90a805||_0xeb9bd5[_0x16995b(0x1a3)](global[_0x16995b(0x129)],![])):accessibilityHelper['isAccessibilityAutomationSession']()&&globals[_0x16995b(0x13c)](_0xeb9bd5[_0x16995b(0x1b6)])&&(_0x90a805||_0xeb9bd5[_0x16995b(0x1a7)](globals['getGlobal'](_0xeb9bd5[_0x16995b(0x136)]),![]));if(!_0x52503f)return _0x4c1a73&&global[_0x16995b(0x14b)]&&_0xeb9bd5[_0x16995b(0x10d)](global[_0x16995b(0x129)],![])||!_0x4c1a73&&globals['getGlobal'](_0xeb9bd5['CSEml'])&&_0xeb9bd5[_0x16995b(0x10d)](globals[_0x16995b(0x13c)](_0xeb9bd5[_0x16995b(0x136)]),![])?logger[_0x16995b(0x166)](_0xeb9bd5[_0x16995b(0x165)]):logger['warn'](_0x16995b(0x1a6)+_0x5df865+',\x20cannot\x20perform\x20scan\x20with\x20retry.'),![];const _0x57582c=_0x10cfac||global['browserstackSessionName']||_0xeb9bd5['itnlv'];let _0x4dc654=null;const _0x3cf53a={'testhub_btcer_uuid':global[_0x16995b(0x1b2)]?.[_0x16995b(0x148)]?.['id'],'url':_0xeb9bd5[_0x16995b(0x1b7)](typeof _0x6a0cb0[_0x16995b(0x12e)],_0xeb9bd5[_0x16995b(0x1b9)])?await _0x6a0cb0[_0x16995b(0x12e)]():_0xeb9bd5[_0x16995b(0x1b7)](typeof _0x6a0cb0[_0x16995b(0x15c)],_0xeb9bd5[_0x16995b(0x1b9)])?await _0x6a0cb0['getCurrentUrl']():'','automate_session_id':_0xeb9bd5[_0x16995b(0x10d)](typeof _0x6a0cb0['getSession'],_0xeb9bd5[_0x16995b(0x1b9)])?(await _0x6a0cb0[_0x16995b(0x110)]())['getId']():''};for(let _0x4f6db2=0x1;_0xeb9bd5[_0x16995b(0x152)](_0x4f6db2,_0xeb9bd5['oPnhl'](RETRY_CONFIG[_0x16995b(0x131)],0x1));_0x4f6db2++){try{return logger[_0x16995b(0x166)](_0x16995b(0x1b8)+_0x4f6db2+'/'+_0xeb9bd5['oPnhl'](RETRY_CONFIG[_0x16995b(0x131)],0x1)+_0x16995b(0x19e)+_0x57582c+'\x20('+_0x5df865+')'),await PerformanceTester[_0x16995b(0x12d)](PerformanceA11yEvents[_0x16995b(0x19b)],async()=>{const _0x3fb6d7=_0x16995b;let _0x4ba17c;if(_0xeb9bd5['krzCz'](_0x4c1a73,playwrightA11yHelper)){_0xeb9bd5[_0x3fb6d7(0x188)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x3fb6d7(0x185)](_0x6a0cb0,RETRY_CONFIG['timeoutMs']);let _0x46ba26=_0x6a0cb0;_0xeb9bd5[_0x3fb6d7(0x10d)](_0x5df865,_0xeb9bd5[_0x3fb6d7(0x10f)])&&(_0x46ba26=_0x6a0cb0[_0x3fb6d7(0x122)]);const _0x2c614c=global[_0x3fb6d7(0x13e)]?{'is_mobile_session':!![],'thTestRunUuid':accessibilityHelper[_0x3fb6d7(0x11f)]()}:{};_0x4ba17c=await _0xeb9bd5[_0x3fb6d7(0x188)](withTimeout,playwrightA11yHelper[_0x3fb6d7(0x130)](_0x46ba26,_0x57582c,_0x4fcc54,_0x2c614c),RETRY_CONFIG[_0x3fb6d7(0x174)]),await exports[_0x3fb6d7(0x185)](_0x6a0cb0,RETRY_CONFIG['defaultTimeoutMs']);}else await exports['setSeleniumScriptTimeout'](_0x6a0cb0,RETRY_CONFIG[_0x3fb6d7(0x174)]),_0x4ba17c=await _0xeb9bd5['hjdAO'](withTimeout,accessibilityHelper[_0x3fb6d7(0x130)](_0x6a0cb0,_0x57582c,_0x90a805,_0x4fcc54),RETRY_CONFIG[_0x3fb6d7(0x174)]),await exports[_0x3fb6d7(0x1d1)](_0x6a0cb0,RETRY_CONFIG['defaultTimeoutMs']);logger['debug'](_0x3fb6d7(0x193)+_0x4f6db2+_0x3fb6d7(0x199));},{'command':_0x57582c,..._0x3cf53a})(),logger[_0x16995b(0x18b)](_0x16995b(0x113)+_0x4f6db2+'.'),!![];}catch(_0x1916ea){_0x4dc654=_0x1916ea,logger[_0x16995b(0x166)]('Accessibility\x20scan\x20attempt\x20'+_0x4f6db2+'\x20failed\x20for\x20method:\x20'+_0x57582c+'\x20('+_0x5df865+_0x16995b(0x18a)+_0x1916ea['message']);}}return logger[_0x16995b(0x178)]('All\x20accessibility\x20scan\x20attempts\x20failed\x20for\x20method:\x20'+_0x57582c+'\x20('+_0x5df865+_0x16995b(0x15e)+(_0x4dc654?.[_0x16995b(0x12b)]||_0xeb9bd5[_0x16995b(0x153)])),![];},exports[a128_0x4ec1f4(0x177)]=async(_0x546f5a,_0x1a71b1)=>{const _0x5b4833=a128_0x4ec1f4,_0xbbbe23={'PnDJM':function(_0x5e48c3,_0x2595f0){return _0x5e48c3(_0x2595f0);},'krMfu':_0x5b4833(0x1a4),'yyOyZ':function(_0x497808,_0x3d9b2b){return _0x497808<=_0x3d9b2b;},'OExVR':function(_0x3e609a,_0x1fbdf4){return _0x3e609a+_0x1fbdf4;},'nRObq':function(_0x4e5473,_0x45a314){return _0x4e5473&&_0x45a314;},'jDOYB':function(_0x4ec359,_0x27525f,_0x29776c){return _0x4ec359(_0x27525f,_0x29776c);},'bYJRm':'Unknown\x20error'},{isPlaywright:_0x2e8a15,type:_0x291fa4}=_0xbbbe23[_0x5b4833(0x1ba)](detectDriverType,_0x546f5a),_0x55ec79=_0x2e8a15?_0x1a71b1[_0x5b4833(0x14b)]:accessibilityHelper['isAccessibilityAutomationSession']()&&globals[_0x5b4833(0x13c)](_0xbbbe23['krMfu']);if(!_0x55ec79)return logger[_0x5b4833(0x147)]('Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20'+_0x291fa4+_0x5b4833(0x1c1)),[];let _0x582d8b=null;for(let _0x322f44=0x1;_0xbbbe23[_0x5b4833(0x172)](_0x322f44,_0xbbbe23[_0x5b4833(0x146)](RETRY_CONFIG[_0x5b4833(0x131)],0x1));_0x322f44++){try{logger[_0x5b4833(0x166)]('Accessibility\x20results\x20retrieval\x20attempt\x20'+_0x322f44+'/'+_0xbbbe23[_0x5b4833(0x146)](RETRY_CONFIG[_0x5b4833(0x131)],0x1)+'\x20('+_0x291fa4+')');let _0x3c6c1e;return _0xbbbe23['nRObq'](_0x2e8a15,playwrightA11yHelper)?(_0xbbbe23[_0x5b4833(0x17d)](setConfigTimeout,RETRY_CONFIG,null),await exports['setPlaywrightScriptTimeout'](_0x546f5a,RETRY_CONFIG[_0x5b4833(0x174)]),_0x3c6c1e=await _0xbbbe23[_0x5b4833(0x17d)](withTimeout,playwrightA11yHelper['getAccessibilityResults'](_0x546f5a),RETRY_CONFIG[_0x5b4833(0x174)]),await exports[_0x5b4833(0x185)](_0x546f5a,RETRY_CONFIG[_0x5b4833(0x16e)])):(await exports['setSeleniumScriptTimeout'](_0x546f5a,RETRY_CONFIG[_0x5b4833(0x174)]),_0x3c6c1e=await _0xbbbe23[_0x5b4833(0x17d)](withTimeout,accessibilityHelper[_0x5b4833(0x1a0)](_0x546f5a,_0x1a71b1),RETRY_CONFIG['timeoutMs']),await exports['setSeleniumScriptTimeout'](_0x546f5a,RETRY_CONFIG[_0x5b4833(0x16e)])),logger[_0x5b4833(0x18b)]('Accessibility\x20results\x20retrieved\x20successfully\x20on\x20attempt\x20'+_0x322f44+'\x20('+_0x291fa4+')'),_0x3c6c1e;}catch(_0x4fe605){_0x582d8b=_0x4fe605,logger['warn'](_0x5b4833(0x14a)+_0x322f44+_0x5b4833(0x1c2)+_0x291fa4+_0x5b4833(0x18a)+_0x4fe605[_0x5b4833(0x12b)]);}}return logger[_0x5b4833(0x178)]('All\x20accessibility\x20results\x20retrieval\x20attempts\x20failed\x20('+_0x291fa4+_0x5b4833(0x16d)+(_0x582d8b?.[_0x5b4833(0x12b)]||_0xbbbe23[_0x5b4833(0x118)])),[];},exports[a128_0x4ec1f4(0x17a)]=async(_0x2f6376,_0x6e924d)=>{const _0x4fc915=a128_0x4ec1f4,_0x25e7ac={'OXWAv':function(_0x1782d9,_0x5ee3be){return _0x1782d9(_0x5ee3be);},'xNGQS':_0x4fc915(0x1a4),'ooMgq':function(_0x4f26df,_0x3c5d75){return _0x4f26df<=_0x3c5d75;},'dELop':function(_0x3c42a4,_0xda91f4){return _0x3c42a4+_0xda91f4;},'tVExq':function(_0x42dc7b,_0x545f43){return _0x42dc7b+_0x545f43;},'agEnM':function(_0x140960,_0x487e14){return _0x140960&&_0x487e14;},'hXfKJ':function(_0x31fb8f,_0x3698f9,_0x3c42c4){return _0x31fb8f(_0x3698f9,_0x3c42c4);},'hzGXM':_0x4fc915(0x181)},{isPlaywright:_0x4bdf32,type:_0xd522d3}=_0x25e7ac[_0x4fc915(0x115)](detectDriverType,_0x2f6376),_0x2f467a=_0x4bdf32?_0x6e924d[_0x4fc915(0x14b)]:accessibilityHelper['isAccessibilityAutomationSession']()&&globals['getGlobal'](_0x25e7ac[_0x4fc915(0x1b4)]);if(!_0x2f467a)return logger[_0x4fc915(0x147)](_0x4fc915(0x1a6)+_0xd522d3+_0x4fc915(0x155)),{};let _0x3518cd=null;for(let _0x27bf68=0x1;_0x25e7ac[_0x4fc915(0x142)](_0x27bf68,_0x25e7ac[_0x4fc915(0x195)](RETRY_CONFIG[_0x4fc915(0x131)],0x1));_0x27bf68++){try{logger['debug'](_0x4fc915(0x125)+_0x27bf68+'/'+_0x25e7ac[_0x4fc915(0x183)](RETRY_CONFIG[_0x4fc915(0x131)],0x1)+'\x20('+_0xd522d3+')');let _0x102692;return _0x25e7ac['agEnM'](_0x4bdf32,playwrightA11yHelper)?(_0x25e7ac[_0x4fc915(0x150)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x4fc915(0x185)](_0x2f6376,RETRY_CONFIG['timeoutMs']),_0x102692=await _0x25e7ac['hXfKJ'](withTimeout,playwrightA11yHelper['getAccessibilityResultsSummary'](_0x2f6376),RETRY_CONFIG[_0x4fc915(0x174)]),await exports[_0x4fc915(0x185)](_0x2f6376,RETRY_CONFIG[_0x4fc915(0x16e)])):(await exports[_0x4fc915(0x1d1)](_0x2f6376,RETRY_CONFIG[_0x4fc915(0x174)]),_0x102692=await _0x25e7ac['hXfKJ'](withTimeout,accessibilityHelper[_0x4fc915(0x164)](_0x2f6376,_0x6e924d),RETRY_CONFIG[_0x4fc915(0x174)]),await exports[_0x4fc915(0x1d1)](_0x2f6376,RETRY_CONFIG[_0x4fc915(0x16e)])),logger['info'](_0x4fc915(0x167)+_0x27bf68+'\x20('+_0xd522d3+')'),_0x102692;}catch(_0x20b60e){_0x3518cd=_0x20b60e,logger[_0x4fc915(0x147)](_0x4fc915(0x125)+_0x27bf68+_0x4fc915(0x1c2)+_0xd522d3+_0x4fc915(0x18a)+_0x20b60e[_0x4fc915(0x12b)]);}}return logger['error'](_0x4fc915(0x139)+_0xd522d3+').\x20Last\x20error:\x20'+(_0x3518cd?.['message']||_0x25e7ac[_0x4fc915(0x151)])),{};},exports[a128_0x4ec1f4(0x186)]=async(_0x7add18,_0x1bd196,_0x5c5749=null)=>{const _0x5f06d8=a128_0x4ec1f4,_0x3bbbbf={'jXnRZ':function(_0x28a2cc,_0x282104){return _0x28a2cc(_0x282104);},'inZKh':function(_0x5a6090,_0x560c0){return _0x5a6090===_0x560c0;},'ZJwYe':_0x5f06d8(0x126),'uuPlZ':function(_0x1513d2,_0x1c1876){return _0x1513d2===_0x1c1876;},'aUUzg':function(_0x44fead,_0x5bbe89){return _0x44fead===_0x5bbe89;},'IpTRg':'rejected','YWqCD':function(_0x2246ac,_0xe988e8){return _0x2246ac===_0xe988e8;},'DbCTO':_0x5f06d8(0x18d)},{isPlaywright:_0x30dfee,type:_0xd54f50}=_0x3bbbbf[_0x5f06d8(0x11a)](detectDriverType,_0x7add18),_0x2fc416={};_0x2fc416['scanSucceeded']=![],_0x2fc416[_0x5f06d8(0x182)]=[],_0x2fc416[_0x5f06d8(0x140)]={},_0x2fc416[_0x5f06d8(0x178)]=null,_0x2fc416['driverType']=_0xd54f50;const _0x428c5a=_0x2fc416;try{_0x428c5a[_0x5f06d8(0x19c)]=await exports[_0x5f06d8(0x127)](_0x7add18,_0x5c5749);if(_0x428c5a[_0x5f06d8(0x19c)]){const [_0x3bb933,_0x410345]=await Promise[_0x5f06d8(0x124)]([exports[_0x5f06d8(0x177)](_0x7add18,_0x1bd196),exports[_0x5f06d8(0x17a)](_0x7add18,_0x1bd196)]);_0x428c5a[_0x5f06d8(0x182)]=_0x3bbbbf['inZKh'](_0x3bb933[_0x5f06d8(0x11d)],_0x3bbbbf[_0x5f06d8(0x17f)])?_0x3bb933[_0x5f06d8(0x1d4)]:[],_0x428c5a[_0x5f06d8(0x140)]=_0x3bbbbf['uuPlZ'](_0x410345[_0x5f06d8(0x11d)],_0x3bbbbf['ZJwYe'])?_0x410345['value']:{},_0x3bbbbf[_0x5f06d8(0x1ad)](_0x3bb933[_0x5f06d8(0x11d)],_0x3bbbbf['IpTRg'])&&logger[_0x5f06d8(0x147)](_0x5f06d8(0x137)+_0xd54f50+_0x5f06d8(0x117)+_0x3bb933[_0x5f06d8(0x12a)]?.['message']),_0x3bbbbf[_0x5f06d8(0x1c8)](_0x410345[_0x5f06d8(0x11d)],_0x3bbbbf['IpTRg'])&&logger[_0x5f06d8(0x147)](_0x5f06d8(0x1bb)+_0xd54f50+_0x5f06d8(0x117)+_0x410345[_0x5f06d8(0x12a)]?.['message']);}}catch(_0x10da52){_0x428c5a['error']=_0x10da52['message']||_0x3bbbbf[_0x5f06d8(0x15d)],logger['error'](_0x5f06d8(0x17c)+_0xd54f50+_0x5f06d8(0x117)+_0x428c5a[_0x5f06d8(0x178)]);}return _0x428c5a;},exports[a128_0x4ec1f4(0x163)]=_0x384e53=>{const _0x1c3d60=a128_0x4ec1f4,_0x47bdfc={};_0x47bdfc[_0x1c3d60(0x175)]=function(_0x480a8e,_0x55fcd6){return _0x480a8e!==_0x55fcd6;},_0x47bdfc['ORHyO']=function(_0x47982e,_0x527aac){return _0x47982e!==_0x527aac;};const _0x16f78b=_0x47bdfc;_0x16f78b[_0x1c3d60(0x175)](_0x384e53[_0x1c3d60(0x131)],undefined)&&(RETRY_CONFIG[_0x1c3d60(0x131)]=Math[_0x1c3d60(0x194)](0x0,_0x384e53[_0x1c3d60(0x131)])),_0x16f78b[_0x1c3d60(0x19d)](_0x384e53['timeoutMs'],undefined)&&(RETRY_CONFIG['timeoutMs']=Math[_0x1c3d60(0x194)](0x3e8,_0x384e53['timeoutMs'])),logger[_0x1c3d60(0x166)]('Accessibility\x20retry\x20configuration\x20updated:\x20'+JSON[_0x1c3d60(0x191)](RETRY_CONFIG));},exports['getRetryConfig']=()=>{const _0x2f5db8={...RETRY_CONFIG};return _0x2f5db8;},exports[a128_0x4ec1f4(0x198)]=_0x498e26=>{const _0x380678=a128_0x4ec1f4,_0x1aa4a8={'ghzyg':function(_0x252430,_0x4f7441){return _0x252430(_0x4f7441);}};return _0x1aa4a8[_0x380678(0x128)](detectDriverType,_0x498e26)[_0x380678(0x111)];},exports[a128_0x4ec1f4(0x173)]=_0x52f4af=>{const _0x4b6601=a128_0x4ec1f4,_0x4a00ab={'aHEPd':function(_0x3677ab,_0x1b2d7e){return _0x3677ab(_0x1b2d7e);},'KGqfR':function(_0x35184d,_0x4e73d1){return _0x35184d===_0x4e73d1;},'EpNWf':_0x4b6601(0x169)},{isPlaywright:_0x1868ab,type:_0x15baec}=_0x4a00ab['aHEPd'](detectDriverType,_0x52f4af);return!_0x1868ab&&_0x4a00ab['KGqfR'](_0x15baec,_0x4a00ab[_0x4b6601(0x114)]);},exports[a128_0x4ec1f4(0x185)]=async(_0x15d794,_0x4d53ac=null)=>{const _0x20dc13=a128_0x4ec1f4,_0x56df3d={'WbIGa':function(_0x39dd68,_0x3322cd){return _0x39dd68(_0x3322cd);},'qYStQ':function(_0x139fb5,_0xa5dfc4){return _0x139fb5===_0xa5dfc4;},'QpTyT':'function'},{isPlaywright:_0x17ffb9,type:_0xefa345}=_0x56df3d[_0x20dc13(0x1cb)](detectDriverType,_0x15d794);if(!_0x17ffb9)return logger['debug'](_0x20dc13(0x149)+_0xefa345+'\x20-\x20not\x20applicable'),!![];const _0x2dce0a=_0x4d53ac||RETRY_CONFIG['defaultTimeoutMs'];try{return _0x15d794&&_0x56df3d['qYStQ'](typeof _0x15d794[_0x20dc13(0x1c3)],_0x56df3d[_0x20dc13(0x1b1)])&&(await _0x15d794[_0x20dc13(0x1c3)](_0x2dce0a),logger[_0x20dc13(0x166)](_0x20dc13(0x171)+_0x2dce0a+'ms')),!![];}catch(_0x26802b){return logger[_0x20dc13(0x147)](_0x20dc13(0x1ae)+_0x26802b['message']),![];}},exports[a128_0x4ec1f4(0x1d1)]=async(_0x265fdb,_0x1cc7fb=null)=>{const _0x1be8d7=a128_0x4ec1f4,_0x3294d7={};_0x3294d7['VOeMo']=_0x1be8d7(0x1a1),_0x3294d7[_0x1be8d7(0x1be)]=function(_0x25fe32,_0x4c52ce){return _0x25fe32===_0x4c52ce;},_0x3294d7[_0x1be8d7(0x17b)]=_0x1be8d7(0x192),_0x3294d7[_0x1be8d7(0x1ca)]=function(_0x45aab9,_0xcf8198){return _0x45aab9===_0xcf8198;},_0x3294d7[_0x1be8d7(0x12f)]=function(_0x4ffb95,_0x37918a){return _0x4ffb95===_0x37918a;},_0x3294d7[_0x1be8d7(0x14c)]='Selenium\x20WebDriver\x20timeout\x20API\x20not\x20available,\x20skipping\x20timeout\x20setting',_0x3294d7[_0x1be8d7(0x141)]=_0x1be8d7(0x13d);const _0x424b14=_0x3294d7;if(!exports[_0x1be8d7(0x173)](_0x265fdb))return logger['warn'](_0x424b14[_0x1be8d7(0x1cd)]),![];const _0xb66e01=_0x1cc7fb||RETRY_CONFIG['defaultTimeoutMs'];try{if(_0x265fdb&&_0x424b14['lnOtr'](typeof _0x265fdb[_0x1be8d7(0x133)],_0x424b14[_0x1be8d7(0x17b)])){const _0x42f7c8=_0x265fdb[_0x1be8d7(0x133)]();if(_0x42f7c8&&_0x424b14[_0x1be8d7(0x1ca)](typeof _0x42f7c8[_0x1be8d7(0x132)],_0x424b14[_0x1be8d7(0x17b)]))await _0x42f7c8[_0x1be8d7(0x132)]()['setScriptTimeout'](_0xb66e01),logger['debug'](_0x1be8d7(0x138)+_0xb66e01+_0x1be8d7(0x135));else{if(_0x42f7c8&&_0x424b14[_0x1be8d7(0x1be)](typeof _0x42f7c8['setTimeouts'],_0x424b14[_0x1be8d7(0x17b)])){const _0x46bdd4={};_0x46bdd4['script']=_0xb66e01,await _0x42f7c8[_0x1be8d7(0x1c9)](_0x46bdd4),logger[_0x1be8d7(0x166)](_0x1be8d7(0x138)+_0xb66e01+_0x1be8d7(0x1c5));}else{if(_0x42f7c8&&_0x424b14[_0x1be8d7(0x12f)](typeof _0x42f7c8['setScriptTimeout'],_0x424b14['eOtKV']))await _0x42f7c8[_0x1be8d7(0x16a)](_0xb66e01),logger[_0x1be8d7(0x166)](_0x1be8d7(0x138)+_0xb66e01+_0x1be8d7(0x1c4));else return logger[_0x1be8d7(0x166)](_0x424b14[_0x1be8d7(0x14c)]),!![];}}}else return logger['debug'](_0x424b14['lxMsW']),!![];return!![];}catch(_0x1aead8){return logger[_0x1be8d7(0x147)](_0x1be8d7(0x1bd)+_0x1aead8[_0x1be8d7(0x12b)]),![];}},exports['saveAccessibilityResultsWithRetry']=async(_0x48cf68,_0x4fe9c3)=>{const _0x54d6ff=a128_0x4ec1f4,_0xc76343={'vdNgL':function(_0x5d5081,_0x2fb23a){return _0x5d5081(_0x2fb23a);},'dLhRt':_0x54d6ff(0x1a4),'wdqyO':function(_0x224686,_0x1d21cf){return _0x224686<=_0x1d21cf;},'wviax':function(_0x3b337a,_0x1e53e7){return _0x3b337a+_0x1e53e7;},'ZzBao':function(_0x20c297,_0x5bb366){return _0x20c297&&_0x5bb366;},'mpjmF':function(_0x5521ad,_0x38f3b3,_0x31e129){return _0x5521ad(_0x38f3b3,_0x31e129);},'mynkh':function(_0x4ec7b0,_0x16f4d9,_0x3ae5da){return _0x4ec7b0(_0x16f4d9,_0x3ae5da);},'ewlBh':'isMobilePlatform','fKWVm':function(_0x34dd2f,_0x863c67,_0x557d73){return _0x34dd2f(_0x863c67,_0x557d73);},'hGgKk':'Unknown\x20error'},{isPlaywright:_0xc1274a,type:_0x1a7217}=_0xc76343[_0x54d6ff(0x1ac)](detectDriverType,_0x48cf68),_0x334465=_0xc1274a?global[_0x54d6ff(0x14b)]:accessibilityHelper['isAccessibilityAutomationSession']()&&globals[_0x54d6ff(0x13c)](_0xc76343[_0x54d6ff(0x15a)]);if(!_0x334465)return logger[_0x54d6ff(0x147)]('Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20'+_0x1a7217+',\x20cannot\x20save\x20accessibility\x20results\x20with\x20retry.'),![];let _0x532d31=null;for(let _0x3bb2fb=0x1;_0xc76343['wdqyO'](_0x3bb2fb,_0xc76343[_0x54d6ff(0x1a9)](RETRY_CONFIG['maxRetries'],0x1));_0x3bb2fb++){try{logger['debug']('Accessibility\x20results\x20save\x20attempt\x20'+_0x3bb2fb+'/'+_0xc76343[_0x54d6ff(0x1a9)](RETRY_CONFIG[_0x54d6ff(0x131)],0x1)+'\x20('+_0x1a7217+')');if(_0xc76343[_0x54d6ff(0x16b)](_0xc1274a,playwrightA11yHelper)){_0xc76343[_0x54d6ff(0x11b)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x54d6ff(0x185)](_0x48cf68,RETRY_CONFIG[_0x54d6ff(0x174)]);const _0x3793dd={};_0x3793dd['is_mobile_session']=!![];const _0x54b3d8=global[_0x54d6ff(0x13e)]?Object[_0x54d6ff(0x13f)]({},_0x4fe9c3,_0x3793dd):_0x4fe9c3;await _0xc76343[_0x54d6ff(0x134)](withTimeout,playwrightA11yHelper['browserStackEvaluate'](_0x48cf68,scripts[_0x54d6ff(0x16f)],_0x54b3d8),RETRY_CONFIG[_0x54d6ff(0x174)]),await exports[_0x54d6ff(0x185)](_0x48cf68,RETRY_CONFIG[_0x54d6ff(0x16e)]);}else{await exports['setSeleniumScriptTimeout'](_0x48cf68,RETRY_CONFIG['timeoutMs']);const _0x3f1144={};_0x3f1144[_0x54d6ff(0x190)]=!![];const _0x151390=globals[_0x54d6ff(0x13c)](_0xc76343[_0x54d6ff(0x184)])?Object[_0x54d6ff(0x13f)]({},_0x4fe9c3,_0x3f1144):_0x4fe9c3;await _0xc76343[_0x54d6ff(0x1d3)](withTimeout,_0x48cf68[_0x54d6ff(0x159)](scripts[_0x54d6ff(0x16f)],_0x151390),RETRY_CONFIG[_0x54d6ff(0x174)]),await exports['setSeleniumScriptTimeout'](_0x48cf68,RETRY_CONFIG[_0x54d6ff(0x16e)]);}return logger['info'](_0x54d6ff(0x189)+_0x3bb2fb+'\x20('+_0x1a7217+')'),!![];}catch(_0x29a9c7){_0x532d31=_0x29a9c7,logger[_0x54d6ff(0x147)](_0x54d6ff(0x170)+_0x3bb2fb+_0x54d6ff(0x1c2)+_0x1a7217+').\x20Error:\x20'+_0x29a9c7[_0x54d6ff(0x12b)]);}}return logger[_0x54d6ff(0x178)](_0x54d6ff(0x160)+_0x1a7217+').\x20Last\x20error:\x20'+(_0x532d31?.['message']||_0xc76343[_0x54d6ff(0x123)])),![];};
|
|
1
|
+
const a128_0x27e209=a128_0x4781;(function(_0x42c01a,_0x3d030e){const _0x46e86a=a128_0x4781,_0x48d3c9=_0x42c01a();while(!![]){try{const _0x496253=parseInt(_0x46e86a(0x1f6))/0x1+parseInt(_0x46e86a(0x19e))/0x2*(parseInt(_0x46e86a(0x1d6))/0x3)+-parseInt(_0x46e86a(0x1b9))/0x4+parseInt(_0x46e86a(0x235))/0x5*(-parseInt(_0x46e86a(0x217))/0x6)+parseInt(_0x46e86a(0x239))/0x7+parseInt(_0x46e86a(0x19f))/0x8*(-parseInt(_0x46e86a(0x223))/0x9)+-parseInt(_0x46e86a(0x194))/0xa;if(_0x496253===_0x3d030e)break;else _0x48d3c9['push'](_0x48d3c9['shift']());}catch(_0x36ac08){_0x48d3c9['push'](_0x48d3c9['shift']());}}}(a128_0x35a0,0x60cb0));const util=require('util'),logger=require('../logger')[a128_0x27e209(0x1d2)],accessibilityHelper=require(a128_0x27e209(0x1dc)),globals=require('../globals'),scripts=require(a128_0x27e209(0x206)),PerformanceTester=require('../performance/performance-tester'),{A11Y_EVENTS:PerformanceA11yEvents}=require(a128_0x27e209(0x1aa)),BrowserstackCLI=require('../../bin/v2/browserstackCLI');let playwrightA11yHelper=null;try{playwrightA11yHelper=require(a128_0x27e209(0x1a1));}catch(a128_0x6c201d){logger[a128_0x27e209(0x1f0)]('Playwright\x20accessibility\x20helper\x20not\x20available');}function a128_0x35a0(){const _0x45efa0=['EAyem','isPlaywrightPage','max','scanSucceeded','updateRetryConfig',').\x20Error:\x20','1783256DAdxiE','PCXJA','unknown','name','VFzal','Accessibility\x20results\x20save\x20attempt\x20','[Accessibility]\x20Scan\x20skipped\x20-\x20scanning\x20is\x20currently\x20disabled\x20(partial\x20scan\x20mode)','ONQXF','getAccessibilityModule','zIjrj','unknown_method','zaWnv','function','isPlaywright','All\x20accessibility\x20results\x20retrieval\x20attempts\x20failed\x20(','tGwuw','kRoBP','KaAyC','Accessibility\x20results\x20saved\x20successfully\x20on\x20attempt\x20','KKBJN','Accessibility\x20scan\x20attempt\x20','\x20for\x20method:\x20','Yzdsr','currentTest','ms\x20using\x20setScriptTimeout\x20API','winstonLogger','\x20failed\x20for\x20method:\x20','evaluate','info','303VyHupb','page','performScanWithRetry','goto','WebDriver','Failed\x20to\x20retrieve\x20accessibility\x20summary\x20(','./helper','resolveMobileThTestRunUuid','getId','STrbu','\x20-\x20not\x20applicable','Playwright','performScan','IymXy','Failed\x20to\x20set\x20Playwright\x20script\x20timeout:\x20','CxgEo','evVJe','WpuNP','getAccessibilityResultsWithRetry','Accessibility\x20results\x20retrieval\x20attempt\x20','getGlobal','assign','maxRetries','QaGUq','rejected','setSeleniumScriptTimeout','debug','xoLZX','pUkyw','BYVrQ','JMYde',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary\x20with\x20retry.','486226PqIjnb','browserstackSessionName','elMtX','All\x20accessibility\x20results\x20save\x20attempts\x20failed\x20(','kxXNq','options','playwright-codecept-driver','hjGdF','\x20failed\x20(','All\x20accessibility\x20scan\x20attempts\x20failed\x20for\x20method:\x20','getAccessibilityResultsSummary','Mzcqe','getCurrentUrl','abolG','BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT','UOLuc','./scripts','LzjDR','selenium-webdriver','summary','Selenium\x20WebDriver\x20timeout\x20API\x20not\x20available,\x20skipping\x20timeout\x20setting','dmrTd','Accessibility\x20retry\x20configuration\x20updated:\x20','getCapabilities','executeAsyncScript','url','capabilitiesList','DQxzC','erlqI','timeouts','bstackA11yScanOptions','tQsmj','getAccessibilityResults','234BbNrDP','LFyih','undefined','manage','ms\x20using\x20timeouts()\x20API','Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20','mgsAb','HxGer','):\x20','Unknown\x20error','Comprehensive\x20accessibility\x20scan\x20failed\x20(','allSettled','18EFJSEq','rSVLv','isMobilePlatform','Failed\x20to\x20set\x20Selenium\x20script\x20timeout:\x20','xCTrL','JeNFy','warn','VzcuV','esLuT','error',',\x20cannot\x20perform\x20scan\x20with\x20retry.','is_mobile_session','cbUrS','tATFD','env','getAccessibilityResultsSummaryWithRetry','saveTestResults','QWyqM','42870DLEcKt','tqGmE','bstackA11yShouldScan','Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20','5329044WGZUnA','Cannot\x20set\x20script\x20timeout:\x20not\x20a\x20Selenium\x20WebDriver','setPlaywrightScriptTimeout',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20with\x20retry.','PERFORM_SCAN','rzRKg','status','isAccessibilityPlatform','browserStackEvaluate','Accessibility\x20scan\x20succeeded\x20on\x20attempt\x20','isSeleniumDriver','setScriptTimeout','accessibilityPlatform','jfHJR','LyKhL','Kqvez','vDMzS','LWCZg','Scan\x20attempt\x20','otsrn','zDNMV','isRunning','type','setTimeouts','results','JJDpn','noABB','getInstance','Jsddc',',\x20cannot\x20save\x20accessibility\x20results\x20with\x20retry.','value','oIhuu','Operation\x20timed\x20out\x20after\x20','getSession','saveAccessibilityResultsWithRetry','playwright-page','measureWrapper','pITfd','rqLpM','reason','5051570xyaWQa','yDVpW','FCuwr','Accessibility\x20results\x20retrieved\x20successfully\x20on\x20attempt\x20','message','HkJmG','race','accessibilityConfig','setDefaultTimeout',').\x20Last\x20error:\x20','12058OscTLW','698504NTYRLg','uRflW','../../bin/playwright/accessibility-helper','NGyqp','RQdik','defaultTimeoutMs','hRWOd','timeoutMs','isAccessibilityAutomationSession','LDMdk','wEOzN','../performance/constants','Selenium\x20WebDriver\x20manage()\x20method\x20not\x20available,\x20skipping\x20timeout\x20setting','nvcKn','Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20','Failed\x20to\x20retrieve\x20accessibility\x20results\x20(','Ckcyh','MLIkG','bUrdH','kIfMX'];a128_0x35a0=function(){return _0x45efa0;};return a128_0x35a0();}const a128_0x7a33d7={};a128_0x7a33d7['maxRetries']=0x1,a128_0x7a33d7[a128_0x27e209(0x1a6)]=0x7530,a128_0x7a33d7[a128_0x27e209(0x1a4)]=0x7530;function a128_0x4781(_0x36cdc3,_0x2d5cb2){const _0x35a086=a128_0x35a0();return a128_0x4781=function(_0x478104,_0x3ef66b){_0x478104=_0x478104-0x175;let _0x4b4ce4=_0x35a086[_0x478104];return _0x4b4ce4;},a128_0x4781(_0x36cdc3,_0x2d5cb2);}const RETRY_CONFIG=a128_0x7a33d7,setConfigTimeout=(_0x6aa1fa,_0x1d3af3=null)=>{const _0x4f7c17=a128_0x27e209,_0x2b0633={'hRWOd':function(_0x4dbb00,_0x3ee4f5){return _0x4dbb00===_0x3ee4f5;},'abolG':'scannerProcessingTimeout','kUGAD':function(_0x1257d0,_0x2ee86e){return _0x1257d0===_0x2ee86e;},'kRoBP':function(_0x46447c,_0x515108){return _0x46447c*_0x515108;},'ZPENd':function(_0x349310,_0x2c74aa){return _0x349310(_0x2c74aa);},'Ckcyh':function(_0x31e462,_0x3444d3){return _0x31e462*_0x3444d3;},'pLklU':function(_0x4d35cf,_0x16ef4e){return _0x4d35cf(_0x16ef4e);}};if(BrowserstackCLI['getInstance']()[_0x4f7c17(0x181)]()&&BrowserstackCLI[_0x4f7c17(0x187)]()['getAccessibilityModule']()){const _0x39f69b=BrowserstackCLI['getInstance']()[_0x4f7c17(0x1c1)]()[_0x4f7c17(0x19b)],_0x30c81d=_0x39f69b[_0x4f7c17(0x1fb)][_0x4f7c17(0x210)]||[];for(const _0x2d7545 of _0x30c81d){_0x2b0633[_0x4f7c17(0x1a5)](_0x2d7545[_0x4f7c17(0x1bc)],_0x2b0633[_0x4f7c17(0x203)])&&_0x2b0633['kUGAD'](_0x1d3af3,null)&&(_0x6aa1fa[_0x4f7c17(0x1a6)]=_0x2b0633[_0x4f7c17(0x1c9)](_0x2b0633['ZPENd'](parseInt,_0x2d7545[_0x4f7c17(0x18a)]),0x3e8));}}else process[_0x4f7c17(0x231)][_0x4f7c17(0x204)]&&(_0x6aa1fa[_0x4f7c17(0x1a6)]=_0x2b0633[_0x4f7c17(0x1af)](_0x2b0633['pLklU'](parseInt,process[_0x4f7c17(0x231)]['BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT']),0x3e8));},detectDriverType=_0x9c21f8=>{const _0x227be5=a128_0x27e209,_0x37764d={};_0x37764d[_0x227be5(0x1b1)]=_0x227be5(0x1bb),_0x37764d[_0x227be5(0x17f)]=function(_0xb197fc,_0x726500){return _0xb197fc===_0x726500;},_0x37764d[_0x227be5(0x1e6)]=_0x227be5(0x1c5),_0x37764d[_0x227be5(0x205)]=function(_0x13d936,_0x5c2e70){return _0x13d936===_0x5c2e70;},_0x37764d['wEOzN']=function(_0x4d57dc,_0x14a362){return _0x4d57dc===_0x14a362;},_0x37764d[_0x227be5(0x199)]=_0x227be5(0x18f),_0x37764d[_0x227be5(0x22a)]=function(_0x27b2ef,_0x568b62){return _0x27b2ef===_0x568b62;},_0x37764d['LyKhL']=_0x227be5(0x208),_0x37764d[_0x227be5(0x180)]='Page',_0x37764d['tGwuw']=function(_0x15b8d7,_0xb7c04f){return _0x15b8d7===_0xb7c04f;},_0x37764d[_0x227be5(0x1ed)]=_0x227be5(0x1da),_0x37764d[_0x227be5(0x1c0)]=_0x227be5(0x1e1),_0x37764d['eATjW']=_0x227be5(0x1fc),_0x37764d[_0x227be5(0x21d)]=function(_0x2ca705,_0x448ee9){return _0x2ca705||_0x448ee9;},_0x37764d[_0x227be5(0x191)]=_0x227be5(0x219);const _0x3fb6ea=_0x37764d;if(!_0x9c21f8){const _0x4e0128={};return _0x4e0128[_0x227be5(0x1c6)]=![],_0x4e0128['type']=_0x3fb6ea['bUrdH'],_0x4e0128;}if(_0x3fb6ea[_0x227be5(0x17f)](typeof _0x9c21f8[_0x227be5(0x1d4)],_0x3fb6ea['evVJe'])&&_0x3fb6ea[_0x227be5(0x205)](typeof _0x9c21f8[_0x227be5(0x20f)],_0x3fb6ea['evVJe'])&&_0x3fb6ea[_0x227be5(0x1a9)](typeof _0x9c21f8[_0x227be5(0x1d9)],_0x3fb6ea[_0x227be5(0x1e6)])){const _0x3e0b76={};return _0x3e0b76[_0x227be5(0x1c6)]=!![],_0x3e0b76[_0x227be5(0x182)]=_0x3fb6ea['HkJmG'],_0x3e0b76;}if(_0x3fb6ea['wEOzN'](typeof _0x9c21f8[_0x227be5(0x20e)],_0x3fb6ea['evVJe'])&&_0x3fb6ea[_0x227be5(0x22a)](typeof _0x9c21f8[_0x227be5(0x20d)],_0x3fb6ea[_0x227be5(0x1e6)])){const _0x593c8b={};return _0x593c8b[_0x227be5(0x1c6)]=![],_0x593c8b[_0x227be5(0x182)]=_0x3fb6ea[_0x227be5(0x17a)],_0x593c8b;}const _0xfca288=_0x9c21f8['constructor']?.[_0x227be5(0x1bc)];if(_0x3fb6ea[_0x227be5(0x22a)](_0xfca288,_0x3fb6ea[_0x227be5(0x180)])){const _0x2a2591={};return _0x2a2591[_0x227be5(0x1c6)]=!![],_0x2a2591[_0x227be5(0x182)]=_0x3fb6ea['HkJmG'],_0x2a2591;}if(_0x3fb6ea[_0x227be5(0x1c8)](_0xfca288,_0x3fb6ea['QaGUq'])){const _0x598aab={};return _0x598aab[_0x227be5(0x1c6)]=![],_0x598aab[_0x227be5(0x182)]=_0x3fb6ea['LyKhL'],_0x598aab;}if(_0x3fb6ea[_0x227be5(0x1c8)](_0xfca288,_0x3fb6ea['ONQXF'])){const _0x46e5da={};return _0x46e5da['isPlaywright']=!![],_0x46e5da[_0x227be5(0x182)]=_0x3fb6ea['eATjW'],_0x46e5da;}logger[_0x227be5(0x229)]('Unknown\x20driver/page\x20type:\x20'+_0x3fb6ea[_0x227be5(0x21d)](_0xfca288,_0x3fb6ea[_0x227be5(0x191)]));const _0x1c3ec8={};return _0x1c3ec8[_0x227be5(0x1c6)]=![],_0x1c3ec8['type']=_0x3fb6ea[_0x227be5(0x1b1)],_0x1c3ec8;},withTimeout=(_0x193cf6,_0x3443b9)=>{const _0x182225=a128_0x27e209;return Promise[_0x182225(0x19a)]([_0x193cf6,new Promise((_0x3defed,_0x26326a)=>setTimeout(()=>_0x26326a(new Error(_0x182225(0x18c)+_0x3443b9+'ms')),_0x3443b9))]);};exports[a128_0x27e209(0x1d8)]=async(_0x219139,_0x563c19=null,_0x50bfba=null,_0x40935a=![],_0x1fc15b=null)=>{const _0x51ae96=a128_0x27e209,_0x33f29e={'KmiIW':function(_0x538a4a,_0xd80905){return _0x538a4a&&_0xd80905;},'DQxzC':function(_0x362ce7,_0x5c8c67,_0x58c95a){return _0x362ce7(_0x5c8c67,_0x58c95a);},'rSVLv':function(_0xd9596d,_0x4df22d){return _0xd9596d===_0x4df22d;},'VFzal':'playwright-codecept-driver','LwDNZ':function(_0x1d8641,_0x3edd80){return _0x1d8641(_0x3edd80);},'elMtX':function(_0x54cfbd,_0x166130){return _0x54cfbd||_0x166130;},'Mzcqe':function(_0x3c4ded,_0x92ae20){return _0x3c4ded!==_0x92ae20;},'LDMdk':'isAccessibilityPlatform','JJDpn':_0x51ae96(0x237),'MLIkG':_0x51ae96(0x1bf),'NHYnd':_0x51ae96(0x1c3),'vDMzS':function(_0x304a8a,_0x206db6){return _0x304a8a===_0x206db6;},'LzjDR':_0x51ae96(0x1c5),'JeNFy':function(_0x173af7,_0x31c8cd){return _0x173af7<=_0x31c8cd;},'JEnou':function(_0x478aaa,_0x137da0){return _0x478aaa+_0x137da0;},'erlqI':function(_0x31e556,_0xa0d874){return _0x31e556+_0xa0d874;},'eabpI':_0x51ae96(0x220)},{isPlaywright:_0xba0270,type:_0x4c42a8}=_0x33f29e['LwDNZ'](detectDriverType,_0x219139),_0xf985b5=_0x40935a?_0x33f29e[_0x51ae96(0x1f8)](_0x1fc15b,{}):global[_0x51ae96(0x214)]||{},_0x2afae5=_0xba0270?global[_0x51ae96(0x178)]&&(_0x40935a||_0x33f29e[_0x51ae96(0x201)](global[_0x51ae96(0x237)],![])):accessibilityHelper['isAccessibilityAutomationSession']()&&globals[_0x51ae96(0x1ea)](_0x33f29e[_0x51ae96(0x1a8)])&&(_0x40935a||_0x33f29e[_0x51ae96(0x201)](globals[_0x51ae96(0x1ea)](_0x33f29e['JJDpn']),![]));if(!_0x2afae5)return _0xba0270&&global[_0x51ae96(0x178)]&&_0x33f29e['rSVLv'](global[_0x51ae96(0x237)],![])||!_0xba0270&&globals['getGlobal'](_0x33f29e[_0x51ae96(0x1a8)])&&_0x33f29e[_0x51ae96(0x224)](globals[_0x51ae96(0x1ea)](_0x33f29e[_0x51ae96(0x185)]),![])?logger['debug'](_0x33f29e[_0x51ae96(0x1b0)]):logger[_0x51ae96(0x229)](_0x51ae96(0x1ad)+_0x4c42a8+_0x51ae96(0x22d)),![];const _0x5e2549=_0x563c19||global[_0x51ae96(0x1f7)]||_0x33f29e['NHYnd'];let _0x40b9cf=null;const _0x2cc1bd={'testhub_btcer_uuid':global['__workerDetails']?.[_0x51ae96(0x1d0)]?.['id'],'url':_0x33f29e[_0x51ae96(0x17c)](typeof _0x219139['url'],_0x33f29e[_0x51ae96(0x207)])?await _0x219139['url']():_0x33f29e[_0x51ae96(0x17c)](typeof _0x219139[_0x51ae96(0x202)],_0x33f29e[_0x51ae96(0x207)])?await _0x219139[_0x51ae96(0x202)]():'','automate_session_id':_0x33f29e[_0x51ae96(0x17c)](typeof _0x219139[_0x51ae96(0x18d)],_0x33f29e[_0x51ae96(0x207)])?(await _0x219139[_0x51ae96(0x18d)]())[_0x51ae96(0x1de)]():''};for(let _0x39e599=0x1;_0x33f29e[_0x51ae96(0x228)](_0x39e599,_0x33f29e['JEnou'](RETRY_CONFIG['maxRetries'],0x1));_0x39e599++){try{return logger[_0x51ae96(0x1f0)](_0x51ae96(0x1cd)+_0x39e599+'/'+_0x33f29e[_0x51ae96(0x212)](RETRY_CONFIG[_0x51ae96(0x1ec)],0x1)+_0x51ae96(0x1ce)+_0x5e2549+'\x20('+_0x4c42a8+')'),await PerformanceTester[_0x51ae96(0x190)](PerformanceA11yEvents[_0x51ae96(0x23d)],async()=>{const _0x5accc7=_0x51ae96;let _0x42a048;if(_0x33f29e['KmiIW'](_0xba0270,playwrightA11yHelper)){_0x33f29e[_0x5accc7(0x211)](setConfigTimeout,RETRY_CONFIG,null),await exports['setPlaywrightScriptTimeout'](_0x219139,RETRY_CONFIG[_0x5accc7(0x1a6)]);let _0x3a270d=_0x219139;_0x33f29e[_0x5accc7(0x224)](_0x4c42a8,_0x33f29e[_0x5accc7(0x1bd)])&&(_0x3a270d=_0x219139[_0x5accc7(0x1d7)]);const _0x293dbe=global[_0x5accc7(0x225)]?{'is_mobile_session':!![],'thTestRunUuid':accessibilityHelper[_0x5accc7(0x1dd)]()}:{};_0x42a048=await _0x33f29e['DQxzC'](withTimeout,playwrightA11yHelper[_0x5accc7(0x1e2)](_0x3a270d,_0x5e2549,_0xf985b5,_0x293dbe),RETRY_CONFIG[_0x5accc7(0x1a6)]),await exports[_0x5accc7(0x23b)](_0x219139,RETRY_CONFIG['defaultTimeoutMs']);}else await exports[_0x5accc7(0x1ef)](_0x219139,RETRY_CONFIG[_0x5accc7(0x1a6)]),_0x42a048=await _0x33f29e[_0x5accc7(0x211)](withTimeout,accessibilityHelper[_0x5accc7(0x1e2)](_0x219139,_0x5e2549,_0x40935a,_0xf985b5),RETRY_CONFIG[_0x5accc7(0x1a6)]),await exports[_0x5accc7(0x1ef)](_0x219139,RETRY_CONFIG[_0x5accc7(0x1a4)]);logger[_0x5accc7(0x1f0)](_0x5accc7(0x17e)+_0x39e599+'\x20completed\x20successfully.');},{'command':_0x5e2549,..._0x2cc1bd})(),logger[_0x51ae96(0x1d5)](_0x51ae96(0x175)+_0x39e599+'.'),!![];}catch(_0x1a7764){_0x40b9cf=_0x1a7764,logger[_0x51ae96(0x1f0)](_0x51ae96(0x1cd)+_0x39e599+_0x51ae96(0x1d3)+_0x5e2549+'\x20('+_0x4c42a8+').\x20Error:\x20'+_0x1a7764[_0x51ae96(0x198)]);}}return logger[_0x51ae96(0x22c)](_0x51ae96(0x1ff)+_0x5e2549+'\x20('+_0x4c42a8+')\x20with\x20error:\x20'+(_0x40b9cf?.[_0x51ae96(0x198)]||_0x33f29e['eabpI'])),![];},exports[a128_0x27e209(0x1e8)]=async(_0x59a59a,_0x3a4205)=>{const _0x266fc2=a128_0x27e209,_0x21ad21={'esLuT':function(_0x4a409f,_0x1479d0){return _0x4a409f(_0x1479d0);},'nvcKn':_0x266fc2(0x240),'cbUrS':function(_0x47a961,_0x55ed27){return _0x47a961<=_0x55ed27;},'ZGCBn':function(_0x1cdf84,_0x38fe72){return _0x1cdf84+_0x38fe72;},'LFyih':function(_0x28e5d6,_0x14c77b){return _0x28e5d6&&_0x14c77b;},'tQsmj':function(_0x4b0054,_0x2f91c5,_0x166b83){return _0x4b0054(_0x2f91c5,_0x166b83);},'kxXNq':function(_0x300a04,_0x3c8a28,_0x2e51a1){return _0x300a04(_0x3c8a28,_0x2e51a1);},'BYVrQ':function(_0x406dd8,_0x4433c1,_0x10490e){return _0x406dd8(_0x4433c1,_0x10490e);},'KaAyC':_0x266fc2(0x220)},{isPlaywright:_0x28ec74,type:_0x4127e5}=_0x21ad21[_0x266fc2(0x22b)](detectDriverType,_0x59a59a),_0x3529a6=_0x28ec74?_0x3a4205[_0x266fc2(0x178)]:accessibilityHelper[_0x266fc2(0x1a7)]()&&globals[_0x266fc2(0x1ea)](_0x21ad21[_0x266fc2(0x1ac)]);if(!_0x3529a6)return logger[_0x266fc2(0x229)](_0x266fc2(0x1ad)+_0x4127e5+_0x266fc2(0x23c)),[];let _0x7cfc01=null;for(let _0x49c71c=0x1;_0x21ad21[_0x266fc2(0x22f)](_0x49c71c,_0x21ad21['ZGCBn'](RETRY_CONFIG[_0x266fc2(0x1ec)],0x1));_0x49c71c++){try{logger['debug'](_0x266fc2(0x1e9)+_0x49c71c+'/'+_0x21ad21['ZGCBn'](RETRY_CONFIG['maxRetries'],0x1)+'\x20('+_0x4127e5+')');let _0x4471e1;return _0x21ad21[_0x266fc2(0x218)](_0x28ec74,playwrightA11yHelper)?(_0x21ad21[_0x266fc2(0x215)](setConfigTimeout,RETRY_CONFIG,null),await exports['setPlaywrightScriptTimeout'](_0x59a59a,RETRY_CONFIG[_0x266fc2(0x1a6)]),_0x4471e1=await _0x21ad21[_0x266fc2(0x1fa)](withTimeout,playwrightA11yHelper['getAccessibilityResults'](_0x59a59a),RETRY_CONFIG[_0x266fc2(0x1a6)]),await exports[_0x266fc2(0x23b)](_0x59a59a,RETRY_CONFIG['defaultTimeoutMs'])):(await exports[_0x266fc2(0x1ef)](_0x59a59a,RETRY_CONFIG[_0x266fc2(0x1a6)]),_0x4471e1=await _0x21ad21[_0x266fc2(0x1f3)](withTimeout,accessibilityHelper[_0x266fc2(0x216)](_0x59a59a,_0x3a4205),RETRY_CONFIG['timeoutMs']),await exports[_0x266fc2(0x1ef)](_0x59a59a,RETRY_CONFIG[_0x266fc2(0x1a4)])),logger['info'](_0x266fc2(0x197)+_0x49c71c+'\x20('+_0x4127e5+')'),_0x4471e1;}catch(_0x1036c9){_0x7cfc01=_0x1036c9,logger[_0x266fc2(0x229)](_0x266fc2(0x1e9)+_0x49c71c+_0x266fc2(0x1fe)+_0x4127e5+_0x266fc2(0x1b8)+_0x1036c9['message']);}}return logger[_0x266fc2(0x22c)](_0x266fc2(0x1c7)+_0x4127e5+_0x266fc2(0x19d)+(_0x7cfc01?.[_0x266fc2(0x198)]||_0x21ad21[_0x266fc2(0x1ca)])),[];},exports[a128_0x27e209(0x232)]=async(_0xfc75c2,_0x166ac6)=>{const _0x1c6713=a128_0x27e209,_0x4a94f8={'noABB':function(_0x2fa9a1,_0x4bd243){return _0x2fa9a1(_0x4bd243);},'RQdik':_0x1c6713(0x240),'bqJjo':function(_0xdd498,_0x54e2c8){return _0xdd498<=_0x54e2c8;},'yDVpW':function(_0x20cd9e,_0x56f55e){return _0x20cd9e+_0x56f55e;},'hjGdF':function(_0x1a3a68,_0x402cc4){return _0x1a3a68+_0x402cc4;},'JMYde':function(_0x5b27d0,_0x598f7b){return _0x5b27d0&&_0x598f7b;},'rzRKg':function(_0xa8d5c4,_0x4ab754,_0x2d0fb0){return _0xa8d5c4(_0x4ab754,_0x2d0fb0);},'QWyqM':function(_0x590ec1,_0x3dc280,_0x35589a){return _0x590ec1(_0x3dc280,_0x35589a);},'NGyqp':function(_0x4a47d3,_0x290ee2,_0x1a28cc){return _0x4a47d3(_0x290ee2,_0x1a28cc);},'STrbu':_0x1c6713(0x220)},{isPlaywright:_0x4f5ffb,type:_0x130fbb}=_0x4a94f8[_0x1c6713(0x186)](detectDriverType,_0xfc75c2),_0x1928ae=_0x4f5ffb?_0x166ac6[_0x1c6713(0x178)]:accessibilityHelper[_0x1c6713(0x1a7)]()&&globals[_0x1c6713(0x1ea)](_0x4a94f8[_0x1c6713(0x1a3)]);if(!_0x1928ae)return logger[_0x1c6713(0x229)](_0x1c6713(0x1ad)+_0x130fbb+_0x1c6713(0x1f5)),{};let _0x1c3b75=null;for(let _0x3fc833=0x1;_0x4a94f8['bqJjo'](_0x3fc833,_0x4a94f8[_0x1c6713(0x195)](RETRY_CONFIG['maxRetries'],0x1));_0x3fc833++){try{logger[_0x1c6713(0x1f0)](_0x1c6713(0x21c)+_0x3fc833+'/'+_0x4a94f8[_0x1c6713(0x1fd)](RETRY_CONFIG[_0x1c6713(0x1ec)],0x1)+'\x20('+_0x130fbb+')');let _0x2b47da;return _0x4a94f8[_0x1c6713(0x1f4)](_0x4f5ffb,playwrightA11yHelper)?(_0x4a94f8[_0x1c6713(0x23e)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x1c6713(0x23b)](_0xfc75c2,RETRY_CONFIG[_0x1c6713(0x1a6)]),_0x2b47da=await _0x4a94f8[_0x1c6713(0x234)](withTimeout,playwrightA11yHelper[_0x1c6713(0x200)](_0xfc75c2),RETRY_CONFIG[_0x1c6713(0x1a6)]),await exports[_0x1c6713(0x23b)](_0xfc75c2,RETRY_CONFIG[_0x1c6713(0x1a4)])):(await exports['setSeleniumScriptTimeout'](_0xfc75c2,RETRY_CONFIG[_0x1c6713(0x1a6)]),_0x2b47da=await _0x4a94f8[_0x1c6713(0x1a2)](withTimeout,accessibilityHelper[_0x1c6713(0x200)](_0xfc75c2,_0x166ac6),RETRY_CONFIG[_0x1c6713(0x1a6)]),await exports[_0x1c6713(0x1ef)](_0xfc75c2,RETRY_CONFIG[_0x1c6713(0x1a4)])),logger[_0x1c6713(0x1d5)]('Accessibility\x20results\x20summary\x20retrieved\x20successfully\x20on\x20attempt\x20'+_0x3fc833+'\x20('+_0x130fbb+')'),_0x2b47da;}catch(_0x331ffe){_0x1c3b75=_0x331ffe,logger[_0x1c6713(0x229)](_0x1c6713(0x21c)+_0x3fc833+_0x1c6713(0x1fe)+_0x130fbb+').\x20Error:\x20'+_0x331ffe[_0x1c6713(0x198)]);}}return logger['error']('All\x20accessibility\x20results\x20summary\x20retrieval\x20attempts\x20failed\x20('+_0x130fbb+_0x1c6713(0x19d)+(_0x1c3b75?.[_0x1c6713(0x198)]||_0x4a94f8[_0x1c6713(0x1df)])),{};},exports['performComprehensiveAccessibilityScanWithRetry']=async(_0x2bf7f6,_0xbc3576,_0x47f4e9=null)=>{const _0x5c4cc3=a128_0x27e209,_0x283875={'whvPs':function(_0x364127,_0x335b41){return _0x364127(_0x335b41);},'KKBJN':function(_0x3f2b00,_0x9cdf8c){return _0x3f2b00===_0x9cdf8c;},'Kqvez':'fulfilled','dmrTd':function(_0x43cc9f,_0x1f8d98){return _0x43cc9f===_0x1f8d98;},'zaWnv':_0x5c4cc3(0x1ee),'VlmSL':function(_0x5326fc,_0x4f5a11){return _0x5326fc===_0x4f5a11;},'Jsddc':'Unknown\x20error\x20during\x20comprehensive\x20accessibility\x20scan'},{isPlaywright:_0x37fb0d,type:_0x3e9650}=_0x283875['whvPs'](detectDriverType,_0x2bf7f6),_0x1a0676={};_0x1a0676[_0x5c4cc3(0x1b6)]=![],_0x1a0676[_0x5c4cc3(0x184)]=[],_0x1a0676['summary']={},_0x1a0676[_0x5c4cc3(0x22c)]=null,_0x1a0676['driverType']=_0x3e9650;const _0x510d37=_0x1a0676;try{_0x510d37['scanSucceeded']=await exports[_0x5c4cc3(0x1d8)](_0x2bf7f6,_0x47f4e9);if(_0x510d37[_0x5c4cc3(0x1b6)]){const [_0x3099c3,_0x5bf022]=await Promise[_0x5c4cc3(0x222)]([exports[_0x5c4cc3(0x1e8)](_0x2bf7f6,_0xbc3576),exports[_0x5c4cc3(0x232)](_0x2bf7f6,_0xbc3576)]);_0x510d37[_0x5c4cc3(0x184)]=_0x283875['KKBJN'](_0x3099c3['status'],_0x283875['Kqvez'])?_0x3099c3[_0x5c4cc3(0x18a)]:[],_0x510d37[_0x5c4cc3(0x209)]=_0x283875[_0x5c4cc3(0x20b)](_0x5bf022[_0x5c4cc3(0x23f)],_0x283875[_0x5c4cc3(0x17b)])?_0x5bf022['value']:{},_0x283875[_0x5c4cc3(0x1cc)](_0x3099c3[_0x5c4cc3(0x23f)],_0x283875[_0x5c4cc3(0x1c4)])&&logger[_0x5c4cc3(0x229)](_0x5c4cc3(0x1ae)+_0x3e9650+_0x5c4cc3(0x21f)+_0x3099c3['reason']?.[_0x5c4cc3(0x198)]),_0x283875['VlmSL'](_0x5bf022[_0x5c4cc3(0x23f)],_0x283875[_0x5c4cc3(0x1c4)])&&logger[_0x5c4cc3(0x229)](_0x5c4cc3(0x1db)+_0x3e9650+_0x5c4cc3(0x21f)+_0x5bf022[_0x5c4cc3(0x193)]?.[_0x5c4cc3(0x198)]);}}catch(_0x3d2442){_0x510d37[_0x5c4cc3(0x22c)]=_0x3d2442[_0x5c4cc3(0x198)]||_0x283875[_0x5c4cc3(0x188)],logger[_0x5c4cc3(0x22c)](_0x5c4cc3(0x221)+_0x3e9650+_0x5c4cc3(0x21f)+_0x510d37['error']);}return _0x510d37;},exports[a128_0x27e209(0x1b7)]=_0x5b445d=>{const _0x593df9=a128_0x27e209,_0x1d14fe={};_0x1d14fe[_0x593df9(0x1a0)]=function(_0x84d6ee,_0x24413a){return _0x84d6ee!==_0x24413a;};const _0x408f4e=_0x1d14fe;_0x408f4e[_0x593df9(0x1a0)](_0x5b445d[_0x593df9(0x1ec)],undefined)&&(RETRY_CONFIG['maxRetries']=Math['max'](0x0,_0x5b445d[_0x593df9(0x1ec)])),_0x408f4e[_0x593df9(0x1a0)](_0x5b445d[_0x593df9(0x1a6)],undefined)&&(RETRY_CONFIG['timeoutMs']=Math[_0x593df9(0x1b5)](0x3e8,_0x5b445d[_0x593df9(0x1a6)])),logger['debug'](_0x593df9(0x20c)+JSON['stringify'](RETRY_CONFIG));},exports['getRetryConfig']=()=>{const _0x5b9e2a={...RETRY_CONFIG};return _0x5b9e2a;},exports[a128_0x27e209(0x1b4)]=_0x4cb56d=>{const _0x2eb411=a128_0x27e209,_0x3cf01c={'rqLpM':function(_0x58b62e,_0x298d17){return _0x58b62e(_0x298d17);}};return _0x3cf01c[_0x2eb411(0x192)](detectDriverType,_0x4cb56d)[_0x2eb411(0x1c6)];},exports[a128_0x27e209(0x176)]=_0x2a683b=>{const _0x359ce4=a128_0x27e209,_0x380f39={'NMZmP':function(_0x350031,_0x30c050){return _0x350031(_0x30c050);},'FrOBz':function(_0x4c6a1b,_0xb1bf11){return _0x4c6a1b===_0xb1bf11;},'IymXy':_0x359ce4(0x208)},{isPlaywright:_0x2e56be,type:_0x775977}=_0x380f39['NMZmP'](detectDriverType,_0x2a683b);return!_0x2e56be&&_0x380f39['FrOBz'](_0x775977,_0x380f39[_0x359ce4(0x1e3)]);},exports[a128_0x27e209(0x23b)]=async(_0x1b0125,_0x30d79a=null)=>{const _0x3417cc=a128_0x27e209,_0x101c8c={'PCXJA':function(_0x3daa7d,_0x2af839){return _0x3daa7d(_0x2af839);},'pUkyw':function(_0x4e2923,_0x8b02df){return _0x4e2923===_0x8b02df;},'KecpR':'function'},{isPlaywright:_0x21163c,type:_0x3dc4fe}=_0x101c8c[_0x3417cc(0x1ba)](detectDriverType,_0x1b0125);if(!_0x21163c)return logger[_0x3417cc(0x1f0)]('Skipping\x20timeout\x20setting\x20for\x20'+_0x3dc4fe+_0x3417cc(0x1e0)),!![];const _0x1b81eb=_0x30d79a||RETRY_CONFIG['defaultTimeoutMs'];try{return _0x1b0125&&_0x101c8c[_0x3417cc(0x1f2)](typeof _0x1b0125['setDefaultTimeout'],_0x101c8c['KecpR'])&&(await _0x1b0125[_0x3417cc(0x19c)](_0x1b81eb),logger[_0x3417cc(0x1f0)]('Set\x20Playwright\x20page\x20default\x20timeout\x20to\x20'+_0x1b81eb+'ms')),!![];}catch(_0x4fa04c){return logger[_0x3417cc(0x229)](_0x3417cc(0x1e4)+_0x4fa04c[_0x3417cc(0x198)]),![];}},exports['setSeleniumScriptTimeout']=async(_0x1cef5e,_0x5d6442=null)=>{const _0x7c89fa=a128_0x27e209,_0x527208={};_0x527208[_0x7c89fa(0x21e)]=_0x7c89fa(0x23a),_0x527208['tqGmE']=function(_0x27e0e8,_0x5ae6e1){return _0x27e0e8===_0x5ae6e1;},_0x527208['WpuNP']=_0x7c89fa(0x1c5),_0x527208[_0x7c89fa(0x1b2)]=function(_0xa52544,_0x1f1a34){return _0xa52544===_0x1f1a34;},_0x527208[_0x7c89fa(0x179)]=function(_0x313bd0,_0x244be7){return _0x313bd0===_0x244be7;},_0x527208[_0x7c89fa(0x230)]=function(_0x539254,_0x58f9b6){return _0x539254===_0x58f9b6;},_0x527208[_0x7c89fa(0x1c2)]=_0x7c89fa(0x20a),_0x527208[_0x7c89fa(0x227)]=_0x7c89fa(0x1ab);const _0x66da9=_0x527208;if(!exports[_0x7c89fa(0x176)](_0x1cef5e))return logger['warn'](_0x66da9[_0x7c89fa(0x21e)]),![];const _0x5ad377=_0x5d6442||RETRY_CONFIG[_0x7c89fa(0x1a4)];try{if(_0x1cef5e&&_0x66da9[_0x7c89fa(0x236)](typeof _0x1cef5e[_0x7c89fa(0x21a)],_0x66da9[_0x7c89fa(0x1e7)])){const _0x54be5b=_0x1cef5e[_0x7c89fa(0x21a)]();if(_0x54be5b&&_0x66da9[_0x7c89fa(0x1b2)](typeof _0x54be5b[_0x7c89fa(0x213)],_0x66da9[_0x7c89fa(0x1e7)]))await _0x54be5b[_0x7c89fa(0x213)]()['setScriptTimeout'](_0x5ad377),logger[_0x7c89fa(0x1f0)](_0x7c89fa(0x238)+_0x5ad377+_0x7c89fa(0x21b));else{if(_0x54be5b&&_0x66da9[_0x7c89fa(0x179)](typeof _0x54be5b['setTimeouts'],_0x66da9['WpuNP'])){const _0x1f6587={};_0x1f6587['script']=_0x5ad377,await _0x54be5b[_0x7c89fa(0x183)](_0x1f6587),logger[_0x7c89fa(0x1f0)]('Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20'+_0x5ad377+'ms\x20using\x20setTimeouts\x20API');}else{if(_0x54be5b&&_0x66da9['tATFD'](typeof _0x54be5b[_0x7c89fa(0x177)],_0x66da9[_0x7c89fa(0x1e7)]))await _0x54be5b[_0x7c89fa(0x177)](_0x5ad377),logger[_0x7c89fa(0x1f0)](_0x7c89fa(0x238)+_0x5ad377+_0x7c89fa(0x1d1));else return logger[_0x7c89fa(0x1f0)](_0x66da9[_0x7c89fa(0x1c2)]),!![];}}}else return logger['debug'](_0x66da9[_0x7c89fa(0x227)]),!![];return!![];}catch(_0x323633){return logger[_0x7c89fa(0x229)](_0x7c89fa(0x226)+_0x323633[_0x7c89fa(0x198)]),![];}},exports[a128_0x27e209(0x18e)]=async(_0x55940b,_0x31cbc8)=>{const _0x551b46=a128_0x27e209,_0x438543={'Yzdsr':function(_0x44081b,_0x376a79){return _0x44081b(_0x376a79);},'xoLZX':_0x551b46(0x240),'LWCZg':function(_0x4f816f,_0x4fe67b){return _0x4f816f<=_0x4fe67b;},'EAyem':function(_0x3ba893,_0x39003c){return _0x3ba893+_0x39003c;},'CEiQY':function(_0x4c3ab5,_0x13034c){return _0x4c3ab5&&_0x13034c;},'oIhuu':function(_0x44d3dd,_0x54d51f,_0x472ee0){return _0x44d3dd(_0x54d51f,_0x472ee0);},'FCuwr':_0x551b46(0x225),'ORiWK':function(_0x784f83,_0x49b783,_0x2216b5){return _0x784f83(_0x49b783,_0x2216b5);},'CxgEo':_0x551b46(0x220)},{isPlaywright:_0x30fa5d,type:_0x26ebc4}=_0x438543[_0x551b46(0x1cf)](detectDriverType,_0x55940b),_0x495692=_0x30fa5d?global[_0x551b46(0x178)]:accessibilityHelper[_0x551b46(0x1a7)]()&&globals[_0x551b46(0x1ea)](_0x438543[_0x551b46(0x1f1)]);if(!_0x495692)return logger[_0x551b46(0x229)]('Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20'+_0x26ebc4+_0x551b46(0x189)),![];let _0xf5b3c8=null;for(let _0x7dc4b4=0x1;_0x438543[_0x551b46(0x17d)](_0x7dc4b4,_0x438543[_0x551b46(0x1b3)](RETRY_CONFIG[_0x551b46(0x1ec)],0x1));_0x7dc4b4++){try{logger[_0x551b46(0x1f0)](_0x551b46(0x1be)+_0x7dc4b4+'/'+_0x438543[_0x551b46(0x1b3)](RETRY_CONFIG[_0x551b46(0x1ec)],0x1)+'\x20('+_0x26ebc4+')');if(_0x438543['CEiQY'](_0x30fa5d,playwrightA11yHelper)){_0x438543['oIhuu'](setConfigTimeout,RETRY_CONFIG,null),await exports['setPlaywrightScriptTimeout'](_0x55940b,RETRY_CONFIG[_0x551b46(0x1a6)]);const _0x23e343={};_0x23e343[_0x551b46(0x22e)]=!![];const _0x1c47cd=global[_0x551b46(0x225)]?Object[_0x551b46(0x1eb)]({},_0x31cbc8,_0x23e343):_0x31cbc8;await _0x438543[_0x551b46(0x18b)](withTimeout,playwrightA11yHelper[_0x551b46(0x241)](_0x55940b,scripts[_0x551b46(0x233)],_0x1c47cd),RETRY_CONFIG[_0x551b46(0x1a6)]),await exports[_0x551b46(0x23b)](_0x55940b,RETRY_CONFIG['defaultTimeoutMs']);}else{await exports['setSeleniumScriptTimeout'](_0x55940b,RETRY_CONFIG[_0x551b46(0x1a6)]);const _0x1a5753={};_0x1a5753[_0x551b46(0x22e)]=!![];const _0x5c7546=globals[_0x551b46(0x1ea)](_0x438543[_0x551b46(0x196)])?Object[_0x551b46(0x1eb)]({},_0x31cbc8,_0x1a5753):_0x31cbc8;await _0x438543['ORiWK'](withTimeout,_0x55940b[_0x551b46(0x20e)](scripts[_0x551b46(0x233)],_0x5c7546),RETRY_CONFIG[_0x551b46(0x1a6)]),await exports['setSeleniumScriptTimeout'](_0x55940b,RETRY_CONFIG[_0x551b46(0x1a4)]);}return logger[_0x551b46(0x1d5)](_0x551b46(0x1cb)+_0x7dc4b4+'\x20('+_0x26ebc4+')'),!![];}catch(_0x1c44ca){_0xf5b3c8=_0x1c44ca,logger['warn'](_0x551b46(0x1be)+_0x7dc4b4+_0x551b46(0x1fe)+_0x26ebc4+_0x551b46(0x1b8)+_0x1c44ca[_0x551b46(0x198)]);}}return logger[_0x551b46(0x22c)](_0x551b46(0x1f9)+_0x26ebc4+_0x551b46(0x19d)+(_0xf5b3c8?.[_0x551b46(0x198)]||_0x438543[_0x551b46(0x1e5)])),![];};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a129_0x3d081f=a129_0x529e;(function(_0x57d57d,_0x1d50d8){var _0x270715=a129_0x529e,_0x4d7fc8=_0x57d57d();while(!![]){try{var _0x5a3626=-parseInt(_0x270715(0x9f))/0x1*(parseInt(_0x270715(0x88))/0x2)+parseInt(_0x270715(0x81))/0x3+parseInt(_0x270715(0x93))/0x4*(parseInt(_0x270715(0x7f))/0x5)+-parseInt(_0x270715(0x80))/0x6*(-parseInt(_0x270715(0xa0))/0x7)+-parseInt(_0x270715(0x92))/0x8*(parseInt(_0x270715(0x90))/0x9)+parseInt(_0x270715(0x89))/0xa*(-parseInt(_0x270715(0x85))/0xb)+-parseInt(_0x270715(0x98))/0xc*(-parseInt(_0x270715(0x8a))/0xd);if(_0x5a3626===_0x1d50d8)break;else _0x4d7fc8['push'](_0x4d7fc8['shift']());}catch(_0x555d35){_0x4d7fc8['push'](_0x4d7fc8['shift']());}}}(a129_0x42ee,0x98865),exports[a129_0x3d081f(0x97)]=a129_0x3d081f(0x9e),exports['BSTACK_SCAN_IN_PROGRESS']=Symbol[a129_0x3d081f(0x9b)](a129_0x3d081f(0x8e)),exports['MINIMUM_BROWSER_VERSION_ACCESSIBILITY']='94',exports[a129_0x3d081f(0x8f)]=a129_0x3d081f(0x95),exports[a129_0x3d081f(0xa4)]=a129_0x3d081f(0x9a),exports[a129_0x3d081f(0xa2)]=a129_0x3d081f(0x96));var a129_0x17bac0={};function a129_0x529e(_0x24dbf3,_0xfdf10){var _0x42ee82=a129_0x42ee();return a129_0x529e=function(_0x529ebc,_0x15ade3){_0x529ebc=_0x529ebc-0x7f;var _0x188164=_0x42ee82[_0x529ebc];return _0x188164;},a129_0x529e(_0x24dbf3,_0xfdf10);}a129_0x17bac0[a129_0x3d081f(0x9c)]=a129_0x3d081f(0x84),a129_0x17bac0[a129_0x3d081f(0x82)]=0x5e,a129_0x17bac0[a129_0x3d081f(0x9d)]=0x64,a129_0x17bac0[a129_0x3d081f(0x91)]=!![];var a129_0x2bcdd2={};a129_0x2bcdd2[a129_0x3d081f(0x9c)]=a129_0x3d081f(0x84),a129_0x2bcdd2[a129_0x3d081f(0x82)]=0x5e,a129_0x2bcdd2[a129_0x3d081f(0x9d)]=0x64,a129_0x2bcdd2[a129_0x3d081f(0x91)]=!![];var a129_0x1e2eeb={};function a129_0x42ee(){var _0x14c5ab=['2625980zpdXXV','6618CIqpeo','1996494NnOaOE','min_version_browserstack','ChromeForTesting','Chrome','2687817dtjdoc','Edge','chromium','1282544mbUnTG','40IgGkiQ','3888183tWNxqc','Safari','ACCESSIBILITY_SUPPORTED_BROWSERS','chromefortesting','bstack.a11yScanInProgress','MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY','9YMhxIj','requires_chrome_options_check','3602248WPDcVM','8uPyLCA','microsoftedge','100','18.4','API_URL','36xgrLvQ','edge','141','for','display_name','min_version_non_browserstack','https://accessibility.browserstack.com/api','1GhjFwh','511WZcfGS','msedge','MINIMUM_SAFARI_VERSION','chrome','MINIMUM_CHROMEFORTESTING_VERSION'];a129_0x42ee=function(){return _0x14c5ab;};return a129_0x42ee();}a129_0x1e2eeb['display_name']=a129_0x3d081f(0x84),a129_0x1e2eeb['min_version_browserstack']=0x5e,a129_0x1e2eeb['min_version_non_browserstack']=0x64,a129_0x1e2eeb[a129_0x3d081f(0x91)]=!![];var a129_0x4e53f9={};a129_0x4e53f9[a129_0x3d081f(0x9c)]=a129_0x3d081f(0x83),a129_0x4e53f9[a129_0x3d081f(0x82)]=0x8d,a129_0x4e53f9[a129_0x3d081f(0x9d)]=0x8d,a129_0x4e53f9[a129_0x3d081f(0x91)]=!![];var a129_0x18af34={};a129_0x18af34['display_name']=a129_0x3d081f(0x86),a129_0x18af34[a129_0x3d081f(0x82)]=0x64,a129_0x18af34['min_version_non_browserstack']=0x64,a129_0x18af34[a129_0x3d081f(0x91)]=!![];var a129_0x3f2b57={};a129_0x3f2b57[a129_0x3d081f(0x9c)]=a129_0x3d081f(0x86),a129_0x3f2b57[a129_0x3d081f(0x82)]=0x64,a129_0x3f2b57['min_version_non_browserstack']=0x64,a129_0x3f2b57[a129_0x3d081f(0x91)]=!![];var a129_0x1e58ec={};a129_0x1e58ec[a129_0x3d081f(0x9c)]=a129_0x3d081f(0x86),a129_0x1e58ec[a129_0x3d081f(0x82)]=0x64,a129_0x1e58ec[a129_0x3d081f(0x9d)]=0x64,a129_0x1e58ec[a129_0x3d081f(0x91)]=!![];var a129_0x151218={};a129_0x151218['display_name']=a129_0x3d081f(0x8b),a129_0x151218[a129_0x3d081f(0x82)]=18.4,a129_0x151218['min_version_non_browserstack']=18.4,a129_0x151218[a129_0x3d081f(0x91)]=![];var a129_0x54a68d={};a129_0x54a68d[a129_0x3d081f(0xa3)]=a129_0x17bac0,a129_0x54a68d[a129_0x3d081f(0x87)]=a129_0x2bcdd2,a129_0x54a68d['playwright-chromium']=a129_0x1e2eeb,a129_0x54a68d[a129_0x3d081f(0x8d)]=a129_0x4e53f9,a129_0x54a68d[a129_0x3d081f(0x99)]=a129_0x18af34,a129_0x54a68d[a129_0x3d081f(0x94)]=a129_0x3f2b57,a129_0x54a68d[a129_0x3d081f(0xa1)]=a129_0x1e58ec,a129_0x54a68d['safari']=a129_0x151218,exports[a129_0x3d081f(0x8c)]=a129_0x54a68d;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a130_0x2e5b(){const _0x39025a=['parse','ecooP','env','TEzoG','includeTagsInTestingScope','join','parseA11yJwtPayload','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20','udYly','KODVL','headers','IzRix','--headless=','../globals','global.__workerDetails\x20exists\x20but\x20.currentTest\x20is\x20undefined\x20—\x20scan\x20fired\x20outside\x20a\x20test\x20body\x20(before/beforeAll\x20hook,\x20or\x20between\x20tests).','iRfFO','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','Authorization','SizwG','fetchPlatformDetails','v2/test_runs','DfbgP','xKIeS','has','ErhhW','../helper','isUndefined','requires_chrome_options_check','stringify','tvlPc','wxygN','GXRPt','info','BROWSERSTACK_TURBOSCALE','Error\x20checking\x20mobile\x20accessibility\x20session:\x20','true','excludeTagsInTestingScope','selenium-webdriver','BROWSERSTACK_TEST_ACCESSIBILITY_YML','ySert','requiresChromeOptionsValidation','oupfS','getAccessibilityResultsSummary:\x20Mobile\x20session\x20detected,\x20args:\x20','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','jCthF','Ptwef','isAccessibilityAutomationSession','isBrowserstackInfra','bstackA11yShouldScan','getAccessibilityResultsSummary','djSop','data','[Accessibility]\x20Mobile\x20scan\x20requested\x20but\x20thTestRunUuid\x20not\x20resolvable:\x20','trim','RnXUu','getCurrentTestUUID','FRrtM','isBrowserStackCommandExecutor','includes','DQUEr','goog:chromeOptions','display_name','performScan','isBrowserSupportedForAccessibility','./constants','resolveMobileThTestRunUuid','base64','getResults','TwOIL','javascript','util','Session\x20is\x20identified\x20as\x20mobile\x20accessibility\x20platform\x20(Android\x20+\x20Chrome)','platforms','JkbKI','pHdHt','yaQlZ','DGxzu','Sixes','avLvw','browserstack_executor','chromeOptions','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','some','projectName','MOBILE_SCANNING_DISABLED_WARNING','null','uOKEd','isAccessibilityPlatform','global.__workerDetails\x20is\x20undefined\x20—\x20no\x20test-framework\x20setup\x20hook\x20has\x20initialized\x20it\x20yet.\x20A\x20scan\x20is\x20likely\x20firing\x20before\x20the\x20test\x20started\x20(e.g.\x20from\x20a\x20before/beforeAll\x20hook\x20or\x20from\x20plain\x20Selenium\x20with\x20no\x20test\x20framework).','Error\x20checking\x20if\x20mobile\x20accessibility\x20platform:\x20','Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20','dRSiP','assign','get','chromeOptions_','getCapabilities','basename','iIvYB','args','QtYxP','getMinVersionForBrowser','getBrowserVersion','getBrowserA11yConfig','SbxRh','warn','set','rqhIm','parseFromJson','vUFDW','../logger','yfzut','cwd','options_','Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20','toLowerCase','shouldScanTestForAccessibility','getUserName','2135550xUxJGQ','DtkHZ','SynkL','JYYcV','hCFFQ','qTFBX','nestedKeyValue','uibIK','jSFUK','GqSvL','getGitMetaData','toJson','method','HxnRA','HZhjT','getBrowserName','startsWith','BdQyx','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','response','TmFIB','Error\x20while\x20adding\x20Non-Bstack\x20capabilities:\x20','../performance/performance-tester','browserName','No\x20accessibility\x20results\x20were\x20found.','Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20','debug','KxYMf','nodeRequest','path','BS_A11Y_JWT','scannerVersion','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','ztYbb','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','ifMom','getInstance','getTestFramework','test_runs/stop','getAccessibilityModule','../performance/constants','Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20','a11y:start','chrome','\x20The\x20on-device\x20scan\x20will\x20POST\x20to\x20/api/test_cases/save_intermediate_results\x20with\x20an\x20empty\x20th_test_run_uuid\x20and\x20fail\x20validation\x20(HTTP\x20422).\x20Fix\x20the\x20framework\x20setup\x20hook\x20that\x20should\x20pre-populate\x20global.__workerDetails.currentTest.thTestRunUuid.','thTestRunUuid','getMobileA11yCapabilities','isAppAccessibility','checkAccessibilityPlatformConfig','isVersionSupported','642684nACZQh','xsUrb','hasLegacyHeadlessArg','wAJMe','is_mobile_session','browserstack','Error\x20while\x20adding\x20Non-Bstack\x20capabilities\x20to\x20caps:\x20','script','Options','browserstackSessionName','ChromeExtension','device','YzBGx','a11y:stop','yTLyz','AEaZq','hBkGu',',\x20testRunId=','./scripts','json','getId','min_version_non_browserstack','rRIuQ','EQMko','AKquX','iDZkl','WLMzf','uHTRS','isTrue','getAppAccessibilityResultsSummary','btTYd','platformName','getCiInfo','uoQke','isMobileAccessibilityPlatform','jLlTu','min_version_browserstack','getResultsSummary','getAccessibilityResults','compareVersions','string','LbnUC','zJzme','global.__workerDetails.currentTest\x20exists\x20with\x20keys\x20[','fovHD','filter','statusText','KhrPV','status','fZXBZ','split','Not\x20a\x20Accessibility\x20Session','application/json','format','mergeDeep','[Accessibility]\x20Selenium\x20performScan\x20payload:\x20','FAMiG','errors','executeAsyncScript','OixEi','Mobile\x20Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser.','../../bin/v2/browserstackCLI','message','1182kaUUoo','isMobileScanningEnabledForGroup','AfUCm','No\x20accessibility\x20summary\x20was\x20found.','wait','Unable\x20to\x20mirror\x20accessibility\x20chrome\x20options\x20into\x20builder\x20options:\x20','getGlobal','accessibilityToken','LRYxe','getAppAccessibilityResults','nonBstackPlatformValidation','glCcX','user','QKZeN','eQEXS','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.','dZToK','toISOString','[App-A11y]\x20getAccessibilityResultsSummary:\x20sessionId=','setNonBstackInfraCapabilitiesOnCaps','3552564RyBeJO','deviceName','--headless=new','ygijX','object','Performing\x20scan\x20before\x20getting\x20results','length','performScan:\x20Mobile\x20capabilities\x20added\x20to\x20scan\x20arguments','309785pJLOoL','getPackageVersion','getAgentVersion','CPODz','UJXyj','sseOD','return\x20document.readyState\x20===\x20\x22complete\x22','Performing\x20scan\x20before\x20getting\x20results\x20summary','PERFORM_SCAN','undefined','aeQQS','TDpQh','getHostInfo','concat','auth','zrWIa','SnqCh','keys','function','NNvPI','hpTqb','Performed\x20scan\x20with\x20result:\x20','kpLcN','command','capabilities_','fucvI','accessibility','vuCAW','from','--headless','3496676xOlWfi','.\x20The\x20framework\x20setup\x20hook\x20is\x20not\x20writing\x20thTestRunUuid\x20onto\x20currentTest.','uwaVE','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','JsiAN','SNcJi','mirrorChromeOptionsIntoBuilder','PUT','stack','body','error','isMobileAccessibilitySession','OnzGS','isArray','Content-Type','KVFpO','Mobile\x20Accessibility\x20Automation\x20is\x20not\x20enabled\x20for\x20your\x20account.\x20Accessibility\x20scans\x20will\x20be\x20skipped\x20on\x20mobile\x20sessions.\x20Contact\x20BrowserStack\x20to\x20enable\x20mobile\x20accessibility\x20scanning.','WJsAC','fwVcQ','sLzmk','4096KmTJwd','version','BKCFi','1870680SXVTKw','GET_RESULTS','getSession','measureWrapper','vQuMZ','KaGJt','false'];a130_0x2e5b=function(){return _0x39025a;};return a130_0x2e5b();}const a130_0x174add=a130_0x17fa;(function(_0x4c27dc,_0x494987){const _0xac7190=a130_0x17fa,_0x4e11a4=_0x4c27dc();while(!![]){try{const _0x3e87de=parseInt(_0xac7190(0x29f))/0x1+parseInt(_0xac7190(0x1ed))/0x2*(-parseInt(_0xac7190(0x19f))/0x3)+parseInt(_0xac7190(0x1d9))/0x4+-parseInt(_0xac7190(0x26d))/0x5+parseInt(_0xac7190(0x1b3))/0x6+-parseInt(_0xac7190(0x1bb))/0x7+-parseInt(_0xac7190(0x1f0))/0x8;if(_0x3e87de===_0x494987)break;else _0x4e11a4['push'](_0x4e11a4['shift']());}catch(_0x4e8757){_0x4e11a4['push'](_0x4e11a4['shift']());}}}(a130_0x2e5b,0x91b63));const path=require(a130_0x174add(0x28a)),util=require(a130_0x174add(0x23e)),bsSetupHelper=require(a130_0x174add(0x210)),logger=require(a130_0x174add(0x265))['winstonLogger'],{API_URL,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY,ACCESSIBILITY_SUPPORTED_BROWSERS}=require(a130_0x174add(0x238)),PerformanceTester=require(a130_0x174add(0x283)),scripts=require(a130_0x174add(0x172)),globals=require(a130_0x174add(0x204)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a130_0x174add(0x295));function a130_0x17fa(_0x5a97dc,_0x34dcc2){const _0x2e5b9b=a130_0x2e5b();return a130_0x17fa=function(_0x17faec,_0x167b1b){_0x17faec=_0x17faec-0x167;let _0x1ca10d=_0x2e5b9b[_0x17faec];return _0x1ca10d;},a130_0x17fa(_0x5a97dc,_0x34dcc2);}exports[a130_0x174add(0x20a)]=async _0x32d1a8=>{const _0x3ab554=a130_0x174add,_0x3a8002={};_0x3a8002[_0x3ab554(0x176)]=function(_0x423097,_0x132253){return _0x423097===_0x132253;},_0x3a8002[_0x3ab554(0x191)]=_0x3ab554(0x2a4);const _0x3ddd09=_0x3a8002;let _0x149245={};try{const _0x21b36d=await _0x32d1a8['getCapabilities']();_0x149245={'os_name':_0x21b36d['getPlatform'](),'os_version':bsSetupHelper['getPlatformVersion'](_0x3ddd09[_0x3ab554(0x176)](global['__cloud_provider___'],_0x3ddd09[_0x3ab554(0x191)])),'browser_name':_0x21b36d[_0x3ab554(0x27c)](),'browser_version':_0x21b36d[_0x3ab554(0x25d)]()};}catch(_0x4b0d44){logger['debug'](_0x3ab554(0x207)+_0x4b0d44);}return _0x149245;},exports['isAccessibilityAutomationSession']=()=>{const _0x4eca89=a130_0x174add,_0x332c45={};_0x332c45[_0x4eca89(0x19b)]=function(_0x3320a8,_0x5c60be){return _0x3320a8===_0x5c60be;},_0x332c45[_0x4eca89(0x26e)]=_0x4eca89(0x188),_0x332c45[_0x4eca89(0x1db)]=function(_0x17e078,_0x1da521){return _0x17e078>_0x1da521;},_0x332c45[_0x4eca89(0x216)]=function(_0x1a1a46,_0x4a4332){return _0x1a1a46!==_0x4a4332;},_0x332c45['djSop']=_0x4eca89(0x24d),_0x332c45[_0x4eca89(0x27e)]=function(_0x3490f4,_0x31a2f6){return _0x3490f4&&_0x31a2f6;};const _0x51df64=_0x332c45;try{const _0x2cd11c=bsSetupHelper['isTrue'](process[_0x4eca89(0x1f9)][_0x4eca89(0x21d)])||bsSetupHelper[_0x4eca89(0x17c)](process[_0x4eca89(0x1f9)][_0x4eca89(0x1dc)]),_0x1753ee=_0x51df64['OixEi'](typeof process[_0x4eca89(0x1f9)][_0x4eca89(0x28b)],_0x51df64[_0x4eca89(0x26e)])&&_0x51df64[_0x4eca89(0x1db)](process[_0x4eca89(0x1f9)]['BS_A11Y_JWT'][_0x4eca89(0x1b9)],0x0)&&_0x51df64[_0x4eca89(0x216)](process[_0x4eca89(0x1f9)][_0x4eca89(0x28b)],_0x51df64[_0x4eca89(0x22a)]);return _0x51df64['BdQyx'](_0x2cd11c,_0x1753ee);}catch(_0x401745){logger[_0x4eca89(0x287)](_0x4eca89(0x286)+_0x401745);}return![];};const isLegacyHeadlessArg=_0x4916a6=>typeof _0x4916a6==='string'&&(_0x4916a6===a130_0x174add(0x1d8)||_0x4916a6[a130_0x174add(0x27d)](a130_0x174add(0x203))&&_0x4916a6!==a130_0x174add(0x1b5));exports[a130_0x174add(0x2a1)]=_0x51ba70=>{const _0x2d3d9e=a130_0x174add,_0x27be2a={};_0x27be2a['TQRBr']='selenium-webdriver/chrome.js',_0x27be2a[_0x2d3d9e(0x189)]=_0x2d3d9e(0x21c),_0x27be2a[_0x2d3d9e(0x2a0)]=function(_0x4cf40d,_0x1ab66e){return _0x4cf40d===_0x1ab66e;},_0x27be2a[_0x2d3d9e(0x1b6)]=_0x2d3d9e(0x1cd),_0x27be2a[_0x2d3d9e(0x26f)]=_0x2d3d9e(0x234),_0x27be2a[_0x2d3d9e(0x1cb)]='bstack:options',_0x27be2a['sLzmk']='chromeOptions',_0x27be2a[_0x2d3d9e(0x1ad)]=_0x2d3d9e(0x25a);const _0xb230fb=_0x27be2a;try{let _0x1eba56;try{_0x1eba56=bsSetupHelper['requireModule'](_0xb230fb['TQRBr'],_0xb230fb[_0x2d3d9e(0x189)]);}catch(_0x1bddbf){return![];}const _0x2902bc=new _0x1eba56[(_0x2d3d9e(0x168))](_0x51ba70[_0x2d3d9e(0x256)]),_0x2f1722=_0x2902bc[_0x2d3d9e(0x268)]&&_0x2902bc[_0x2d3d9e(0x268)][_0x2d3d9e(0x25a)]||_0xb230fb[_0x2d3d9e(0x2a0)](typeof _0x2902bc[_0x2d3d9e(0x255)],_0xb230fb[_0x2d3d9e(0x1b6)])&&_0x2902bc[_0x2d3d9e(0x255)](_0xb230fb[_0x2d3d9e(0x26f)])&&_0x2902bc[_0x2d3d9e(0x255)](_0xb230fb[_0x2d3d9e(0x26f)])[_0x2d3d9e(0x25a)]||bsSetupHelper['nestedKeyValue'](_0x51ba70[_0x2d3d9e(0x1d3)],[_0xb230fb['SnqCh'],_0xb230fb[_0x2d3d9e(0x1ec)],_0xb230fb['eQEXS']])||bsSetupHelper[_0x2d3d9e(0x273)](_0x51ba70['capabilities_'],[_0xb230fb[_0x2d3d9e(0x1ec)],_0xb230fb[_0x2d3d9e(0x1ad)]])||[];if((Array[_0x2d3d9e(0x1e6)](_0x2f1722)?_0x2f1722:[])[_0x2d3d9e(0x24a)](isLegacyHeadlessArg))return!![];const _0x19a586=_0x51ba70[_0x2d3d9e(0x1d3)]||{},_0x41ef46=bsSetupHelper[_0x2d3d9e(0x273)](_0x19a586,[_0xb230fb[_0x2d3d9e(0x26f)]])||{},_0x4f4f39=bsSetupHelper[_0x2d3d9e(0x273)](_0x41ef46,[_0xb230fb[_0x2d3d9e(0x1ad)]])||[];return(Array[_0x2d3d9e(0x1e6)](_0x4f4f39)?_0x4f4f39:[])[_0x2d3d9e(0x24a)](isLegacyHeadlessArg);}catch(_0x578f90){return logger[_0x2d3d9e(0x287)]('Exception\x20while\x20checking\x20for\x20legacy\x20headless\x20mode:\x20'+util[_0x2d3d9e(0x195)](_0x578f90)),![];}},exports[a130_0x174add(0x1a9)]=(_0xf47147,_0x12b491)=>{const _0x37799e=a130_0x174add,_0x58e3d6={'sseOD':_0x37799e(0x284),'SNcJi':function(_0x28c6b7,_0x509d78){return _0x28c6b7(_0x509d78);},'AKquX':'browserVersion','qZNYQ':function(_0x3d2cea,_0x2c4041){return _0x3d2cea(_0x2c4041);},'PUdqS':_0x37799e(0x1ee),'NNvPI':'bstack:options','udYly':_0x37799e(0x1b4),'dZToK':_0x37799e(0x16b),'avLvw':_0x37799e(0x249),'UshVz':_0x37799e(0x28d),'CPODz':function(_0x25d613,_0x3446b6){return _0x25d613===_0x3446b6;},'IzRix':_0x37799e(0x298),'WLMzf':function(_0x2a4942,_0x18582b){return _0x2a4942>=_0x18582b;}},_0x337602=_0xf47147[_0x37799e(0x255)](_0x58e3d6[_0x37799e(0x1c0)]),_0x130c8e=_0x58e3d6[_0x37799e(0x1de)](parseFloat,_0xf47147[_0x37799e(0x255)](_0x58e3d6[_0x37799e(0x178)]))||_0x58e3d6['qZNYQ'](parseFloat,_0xf47147[_0x37799e(0x255)](_0x58e3d6['PUdqS'])),_0x3bca3b=_0xf47147[_0x37799e(0x255)](_0x58e3d6[_0x37799e(0x1ce)])||{},_0x227070=_0x58e3d6['SNcJi'](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY),_0x380c5d=_0x3bca3b[_0x58e3d6[_0x37799e(0x1ff)]]||_0xf47147['get'](_0x58e3d6[_0x37799e(0x1af)])||![];if(_0x380c5d)return logger[_0x37799e(0x260)](_0x58e3d6[_0x37799e(0x246)]),![];if(exports[_0x37799e(0x2a1)](_0x12b491))return logger[_0x37799e(0x260)](_0x58e3d6['UshVz']),![];if(_0x58e3d6[_0x37799e(0x1be)](_0x337602['toLowerCase'](),_0x58e3d6[_0x37799e(0x202)])&&_0x58e3d6[_0x37799e(0x17a)](_0x130c8e,_0x227070))return!![];return logger[_0x37799e(0x260)](_0x37799e(0x1fe)+MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY+'.'),![];};const mergeChromeOptionsPreservingArrays=(_0x3da9dc,_0x13be16)=>{const _0x2f8189=a130_0x174add,_0x5715ad={};_0x5715ad[_0x2f8189(0x1ca)]=function(_0x36c574,_0x6de91e){return _0x36c574!==_0x6de91e;},_0x5715ad['diLzz']='string',_0x5715ad[_0x2f8189(0x225)]=function(_0x9d3218,_0x30ccfd){return _0x9d3218===_0x30ccfd;},_0x5715ad['kpLcN']=_0x2f8189(0x1b7),_0x5715ad['LRYxe']=function(_0x1e5a7c,_0x732ea3){return _0x1e5a7c===_0x732ea3;};const _0x287a14=_0x5715ad,_0x2fed87=_0x3da9dc&&_0x287a14[_0x2f8189(0x225)](typeof _0x3da9dc,_0x287a14['kpLcN'])?_0x3da9dc:{},_0x277217=_0x13be16&&_0x287a14[_0x2f8189(0x1a7)](typeof _0x13be16,_0x287a14[_0x2f8189(0x1d1)])?_0x13be16:{},_0x2a05d0=Object[_0x2f8189(0x254)]({},_0x2fed87,_0x277217);return Object[_0x2f8189(0x1cc)](_0x277217)['forEach'](_0x10deab=>{const _0x2c3493=_0x2f8189;if(Array[_0x2c3493(0x1e6)](_0x277217[_0x10deab])||Array[_0x2c3493(0x1e6)](_0x2fed87[_0x10deab])){const _0x3ba267=Array['isArray'](_0x2fed87[_0x10deab])?_0x2fed87[_0x10deab]:[],_0x32fce0=Array['isArray'](_0x277217[_0x10deab])?_0x277217[_0x10deab]:[],_0x1ae191=new Set();_0x2a05d0[_0x10deab]=_0x3ba267[_0x2c3493(0x1c8)](_0x32fce0)[_0x2c3493(0x18d)](_0x57f58d=>{const _0x5f0694=_0x2c3493;if(_0x287a14[_0x5f0694(0x1ca)](typeof _0x57f58d,_0x287a14['diLzz']))return!![];if(_0x1ae191[_0x5f0694(0x20e)](_0x57f58d))return![];return _0x1ae191['add'](_0x57f58d),!![];});}}),_0x2a05d0;};exports[a130_0x174add(0x1df)]=(_0x45ff,_0x297987)=>{const _0x1709b8=a130_0x174add,_0x264aad={'ztYbb':function(_0xd17396,_0xb2edae){return _0xd17396!==_0xb2edae;},'KxYMf':'function','JkbKI':_0x1709b8(0x234),'SizwG':function(_0x4350ba,_0x312c69,_0x11b693){return _0x4350ba(_0x312c69,_0x11b693);},'rqhIm':function(_0x10e1d2,_0x2ecf58){return _0x10e1d2||_0x2ecf58;},'fovHD':function(_0x175245,_0xee85b2){return _0x175245+_0xee85b2;},'hCFFQ':_0x1709b8(0x1a4)};try{const _0x58f394=_0x45ff&&_0x45ff[_0x1709b8(0x256)];if(!_0x58f394||_0x264aad[_0x1709b8(0x28e)](typeof _0x58f394[_0x1709b8(0x255)],_0x264aad[_0x1709b8(0x288)])||_0x264aad['ztYbb'](typeof _0x58f394[_0x1709b8(0x261)],_0x264aad[_0x1709b8(0x288)]))return;const _0x180af1=_0x58f394['CAPABILITY_KEY']||_0x264aad[_0x1709b8(0x241)],_0x5a6a09=_0x58f394[_0x1709b8(0x255)](_0x180af1)||{},_0x5beeb0=_0x264aad[_0x1709b8(0x209)](mergeChromeOptionsPreservingArrays,_0x5a6a09,_0x264aad[_0x1709b8(0x262)](_0x297987,{}));_0x58f394[_0x1709b8(0x261)](_0x180af1,_0x5beeb0);}catch(_0x2e27a){logger[_0x1709b8(0x287)](_0x264aad[_0x1709b8(0x18c)](_0x264aad[_0x1709b8(0x271)],util[_0x1709b8(0x195)](_0x2e27a)));}},exports['setNonBstackInfraCapabilities']=(_0x40c88a,_0xb9ba4=!![])=>{const _0x58581d=a130_0x174add,_0x148220={'EQMko':function(_0x1e73d0,_0x46b57f){return _0x1e73d0===_0x46b57f;},'AEaZq':_0x58581d(0x248),'jLlTu':'goog:chromeOptions','CzuaA':function(_0x1ebff0,_0x2498dd,_0x5773cc){return _0x1ebff0(_0x2498dd,_0x5773cc);},'AfUCm':function(_0x4dbee3,_0x5cdf3c){return _0x4dbee3||_0x5cdf3c;},'vbzYy':_0x58581d(0x193)},_0x3c709c=scripts[_0x58581d(0x16a)];try{const _0x2b6456=bsSetupHelper[_0x58581d(0x17c)](process['env'][_0x58581d(0x21d)])||bsSetupHelper[_0x58581d(0x17c)](process['env'][_0x58581d(0x1dc)]);if((!bsSetupHelper[_0x58581d(0x227)]()||process[_0x58581d(0x1f9)][_0x58581d(0x218)])&&_0x2b6456){const _0x1d00a7=_0x40c88a[_0x58581d(0x257)](),_0x12a07b=_0x148220[_0x58581d(0x177)](_0xb9ba4,![])?_0x148220[_0x58581d(0x16f)]:_0x148220[_0x58581d(0x183)],_0x1a401d=_0x1d00a7[_0x58581d(0x255)](_0x12a07b)||_0x1d00a7[_0x58581d(0x255)](_0x148220[_0x58581d(0x183)])||{},_0x514ccd=_0x148220['CzuaA'](mergeChromeOptionsPreservingArrays,_0x1a401d,_0x148220[_0x58581d(0x1a1)](_0x3c709c,{}));_0x1d00a7[_0x58581d(0x261)](_0x12a07b,_0x514ccd),exports[_0x58581d(0x1df)](_0x40c88a,_0x514ccd);}else logger['warn'](_0x148220['vbzYy']);}catch(_0xd8cd1c){logger[_0x58581d(0x1e3)](_0x58581d(0x282)+_0xd8cd1c);}},exports[a130_0x174add(0x1b2)]=_0x26b6a1=>{const _0x311a81=a130_0x174add,_0x2ab6a8={};_0x2ab6a8[_0x311a81(0x1d6)]=function(_0x3bdf8d,_0x51f7df){return _0x3bdf8d||_0x51f7df;},_0x2ab6a8[_0x311a81(0x1d4)]=_0x311a81(0x234);const _0x181e9e=_0x2ab6a8;_0x26b6a1=_0x181e9e['vuCAW'](_0x26b6a1,{});const _0x21ee82=scripts[_0x311a81(0x16a)];try{const _0x46c8ee=bsSetupHelper[_0x311a81(0x17c)](process[_0x311a81(0x1f9)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'])||bsSetupHelper[_0x311a81(0x17c)](process[_0x311a81(0x1f9)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']);if((!bsSetupHelper[_0x311a81(0x227)]()||process[_0x311a81(0x1f9)][_0x311a81(0x218)])&&_0x46c8ee){const _0x4efd6c=_0x26b6a1[_0x181e9e['fucvI']]||{};bsSetupHelper[_0x311a81(0x196)](_0x4efd6c,_0x21ee82),_0x26b6a1[_0x181e9e[_0x311a81(0x1d4)]]=_0x4efd6c;}}catch(_0xd8a55b){logger[_0x311a81(0x1e3)](_0x311a81(0x2a5)+_0xd8a55b);}return _0x26b6a1;},exports[a130_0x174add(0x26b)]=(_0x50801b=null,_0xe43ec6=!![],_0x926bdc=[])=>{const _0x33d573=a130_0x174add,_0x3b2fcf={};_0x3b2fcf[_0x33d573(0x1f4)]=function(_0x1f3a07,_0x217e22){return _0x1f3a07==_0x217e22;},_0x3b2fcf[_0x33d573(0x215)]=function(_0x3ae198,_0x534c3e){return _0x3ae198>_0x534c3e;},_0x3b2fcf['SbxRh']=function(_0x267e96,_0x3a4e9e){return _0x267e96===_0x3a4e9e;},_0x3b2fcf[_0x33d573(0x224)]=function(_0x22a719,_0x1a2a3f){return _0x22a719&&_0x1a2a3f;},_0x3b2fcf[_0x33d573(0x170)]=function(_0x39d1ad,_0x58094f){return _0x39d1ad===_0x58094f;};const _0x39f225=_0x3b2fcf;if(_0x39f225[_0x33d573(0x1f4)](process[_0x33d573(0x1f9)][_0x33d573(0x223)],null))return!![];try{const _0x107ed0=JSON[_0x33d573(0x1f7)](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']),_0x13d24e=Array[_0x33d573(0x1e6)](_0x107ed0[_0x33d573(0x1fb)])?_0x107ed0[_0x33d573(0x1fb)]:[],_0x529432=Array['isArray'](_0x107ed0['excludeTagsInTestingScope'])?_0x107ed0[_0x33d573(0x21b)]:[],_0x2fd581=_0x424823=>typeof _0x424823===_0x33d573(0x188)?_0x424823['replace'](/^@/,'')[_0x33d573(0x26a)]()[_0x33d573(0x22d)]():_0x424823;if(bsSetupHelper['isUndefined'](_0x50801b)){if(_0x39f225[_0x33d573(0x215)](_0x926bdc[_0x33d573(0x1b9)],0x0)){const _0x1d4bc7=_0x926bdc['map'](_0x2fd581),_0x4b7fdc=_0x529432[_0x33d573(0x24a)](_0x519a0d=>_0x1d4bc7[_0x33d573(0x232)](_0x2fd581(_0x519a0d))),_0x2b5baf=_0x39f225[_0x33d573(0x25f)](_0x13d24e[_0x33d573(0x1b9)],0x0)||_0x13d24e[_0x33d573(0x24a)](_0x2cc9e3=>_0x1d4bc7['includes'](_0x2fd581(_0x2cc9e3)));return _0x39f225[_0x33d573(0x224)](!_0x4b7fdc,_0x2b5baf);}return!![];}let _0x2b29db;_0xe43ec6?_0x2b29db=_0x50801b[_0x33d573(0x1fc)]('/'):_0x2b29db=_0x50801b;const _0x3e8d6c=_0x529432[_0x33d573(0x24a)](_0x47b94e=>_0x2b29db[_0x33d573(0x26a)]()[_0x33d573(0x232)](_0x2fd581(_0x47b94e)[_0x33d573(0x26a)]())),_0xbf83e9=_0x39f225['hBkGu'](_0x13d24e[_0x33d573(0x1b9)],0x0)||_0x13d24e[_0x33d573(0x24a)](_0x266ce7=>_0x2b29db[_0x33d573(0x26a)]()['includes'](_0x2fd581(_0x266ce7)[_0x33d573(0x26a)]()));return _0x39f225[_0x33d573(0x224)](!_0x3e8d6c,_0xbf83e9);}catch(_0x218d17){logger['debug'](_0x33d573(0x252)+util[_0x33d573(0x195)](_0x218d17));}return![];},exports[a130_0x174add(0x29d)]=_0xbe8827=>{const _0x231bcc=a130_0x174add;let _0xce30=![];try{_0xbe8827[_0x231bcc(0x240)]['forEach'](_0x5ed2ec=>{const _0xc3169c=_0x231bcc;if(bsSetupHelper[_0xc3169c(0x17c)](_0x5ed2ec['accessibility']))return _0xce30=!![],!![];});}catch(_0x3ca5a5){logger[_0x231bcc(0x287)](_0x231bcc(0x269)+_0x3ca5a5);}return _0xce30||bsSetupHelper[_0x231bcc(0x17c)](_0xbe8827[_0x231bcc(0x1d5)]);},exports['createAccessibilityTestRun']=PerformanceTester[a130_0x174add(0x1f3)](a130_0x174add(0x297),async function(_0x2a25d6,_0x282367){const _0x4ce72d=a130_0x174add,_0x2cfb36={};_0x2cfb36[_0x4ce72d(0x1fa)]='Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token',_0x2cfb36['HZhjT']='playwright',_0x2cfb36[_0x4ce72d(0x1c6)]=_0x4ce72d(0x23d),_0x2cfb36[_0x4ce72d(0x1cf)]=_0x4ce72d(0x194),_0x2cfb36[_0x4ce72d(0x24e)]='POST',_0x2cfb36[_0x4ce72d(0x16c)]=_0x4ce72d(0x20b),_0x2cfb36[_0x4ce72d(0x17b)]=function(_0x5c573d,_0x298aea){return _0x5c573d===_0x298aea;},_0x2cfb36[_0x4ce72d(0x18f)]='Invalid\x20configuration\x20passed.',_0x2cfb36[_0x4ce72d(0x244)]=_0x4ce72d(0x1f6);const _0x27062f=_0x2cfb36,_0x294020=bsSetupHelper[_0x4ce72d(0x26c)](_0x2a25d6),_0x245b21=bsSetupHelper['getAccessKey'](_0x2a25d6);if(bsSetupHelper[_0x4ce72d(0x211)](_0x294020)||bsSetupHelper['isUndefined'](_0x245b21))return logger['error'](_0x27062f[_0x4ce72d(0x1fa)]),[null,null];try{let _0x3cfb0d;bsSetupHelper[_0x4ce72d(0x211)](process[_0x4ce72d(0x1f9)][_0x4ce72d(0x223)])?_0x3cfb0d={}:_0x3cfb0d=JSON[_0x4ce72d(0x1f7)](process[_0x4ce72d(0x1f9)][_0x4ce72d(0x223)]);const {name:_0x2ed4c5,version:_0x703c7}=bsSetupHelper['getTestFrameworkDetails'](_0x2a25d6,_0x282367),_0x2cc23c={'projectName':_0x2a25d6[_0x4ce72d(0x24b)],'buildName':_0x2a25d6['buildName']||path[_0x4ce72d(0x258)](path['resolve'](process[_0x4ce72d(0x267)]())),'startTime':new Date()['toISOString'](),'description':_0x2a25d6['buildDescription']||'','source':{'frameworkName':_0x282367[_0x4ce72d(0x232)](_0x27062f[_0x4ce72d(0x27b)])?_0x27062f[_0x4ce72d(0x27b)]:_0x282367,'frameworkVersion':bsSetupHelper[_0x4ce72d(0x1bc)](_0x282367),'sdkVersion':bsSetupHelper[_0x4ce72d(0x1bd)](),'language':_0x27062f['TDpQh'],'testFramework':_0x2ed4c5,'testFrameworkVersion':_0x703c7},'settings':_0x3cfb0d,'versionControl':await bsSetupHelper[_0x4ce72d(0x277)](),'ciInfo':bsSetupHelper[_0x4ce72d(0x180)](),'hostInfo':bsSetupHelper[_0x4ce72d(0x1c7)](),'browserstackAutomation':bsSetupHelper[_0x4ce72d(0x227)]()},_0x438b2d={};_0x438b2d[_0x4ce72d(0x1ab)]=_0x294020,_0x438b2d['pass']=_0x245b21;const _0x1386a7={};_0x1386a7[_0x4ce72d(0x1e7)]=_0x27062f[_0x4ce72d(0x1cf)];const _0x93cfd={};_0x93cfd[_0x4ce72d(0x1c9)]=_0x438b2d,_0x93cfd[_0x4ce72d(0x201)]=_0x1386a7;const _0x483731=_0x93cfd,_0x179c18={};_0x179c18[_0x4ce72d(0x1e2)]=_0x2cc23c,_0x179c18[_0x4ce72d(0x173)]=!![];const _0x256475=Object[_0x4ce72d(0x254)](_0x483731,_0x179c18),_0x19e7e8=await bsSetupHelper[_0x4ce72d(0x289)](_0x27062f[_0x4ce72d(0x24e)],_0x27062f['YzBGx'],_0x256475,_0x2a25d6,API_URL);let _0x62a331=process[_0x4ce72d(0x1f9)][_0x4ce72d(0x223)];return _0x62a331?_0x62a331=JSON[_0x4ce72d(0x1f7)](process[_0x4ce72d(0x1f9)][_0x4ce72d(0x223)]):_0x62a331={},scripts[_0x4ce72d(0x263)](_0x19e7e8[_0x4ce72d(0x22b)][_0x4ce72d(0x22b)]),scripts[_0x4ce72d(0x278)](),_0x62a331['scannerVersion']=_0x19e7e8[_0x4ce72d(0x22b)]['data'][_0x4ce72d(0x28c)],process[_0x4ce72d(0x1f9)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x4ce72d(0x213)](_0x62a331),[_0x19e7e8[_0x4ce72d(0x22b)][_0x4ce72d(0x22b)][_0x4ce72d(0x1a6)],_0x19e7e8[_0x4ce72d(0x22b)][_0x4ce72d(0x22b)]['id']];}catch(_0x422a45){if(_0x422a45[_0x4ce72d(0x280)])logger[_0x4ce72d(0x1e3)](_0x4ce72d(0x27f)+_0x422a45[_0x4ce72d(0x280)][_0x4ce72d(0x190)]+'\x20'+_0x422a45['response'][_0x4ce72d(0x18e)]+'\x20'+JSON['stringify'](_0x422a45[_0x4ce72d(0x280)]['data']));else{if(_0x27062f[_0x4ce72d(0x17b)](_0x422a45['message'],_0x27062f[_0x4ce72d(0x18f)])){logger[_0x4ce72d(0x1e3)](_0x4ce72d(0x27f)+(_0x422a45[_0x4ce72d(0x19e)]||_0x422a45[_0x4ce72d(0x1e1)]));for(const _0x58533c of _0x422a45[_0x4ce72d(0x199)]){logger[_0x4ce72d(0x1e3)](_0x58533c[_0x4ce72d(0x19e)]);}process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x27062f['DGxzu'],process[_0x4ce72d(0x1f9)][_0x4ce72d(0x1dc)]=_0x27062f[_0x4ce72d(0x244)];}else logger['error']('Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20'+(_0x422a45[_0x4ce72d(0x19e)]||_0x422a45[_0x4ce72d(0x1e1)]));}return[null,null];}}),exports['stopAccessibilityTestRun']=PerformanceTester['measureWrapper'](a130_0x174add(0x16d),async function(_0x1c38e6){const _0xfd2fd5=a130_0x174add,_0x575ec2={};_0x575ec2[_0xfd2fd5(0x233)]=function(_0x498a85,_0x32e2d6){return _0x498a85!==_0x32e2d6;},_0x575ec2[_0xfd2fd5(0x20f)]=_0xfd2fd5(0x188),_0x575ec2[_0xfd2fd5(0x242)]='error',_0x575ec2[_0xfd2fd5(0x1e8)]='Build\x20creation\x20had\x20failed.',_0x575ec2[_0xfd2fd5(0x25b)]=_0xfd2fd5(0x194),_0x575ec2[_0xfd2fd5(0x274)]=_0xfd2fd5(0x1e0),_0x575ec2[_0xfd2fd5(0x200)]=_0xfd2fd5(0x293),_0x575ec2[_0xfd2fd5(0x20d)]=function(_0x63cad0,_0x4bb9b5){return _0x63cad0+_0x4bb9b5;},_0x575ec2[_0xfd2fd5(0x1f5)]='Invalid\x20request:\x20',_0x575ec2[_0xfd2fd5(0x16e)]='success';const _0x215bd7=_0x575ec2;if(bsSetupHelper[_0xfd2fd5(0x211)](process['env'][_0xfd2fd5(0x28b)])||_0x215bd7[_0xfd2fd5(0x233)](typeof process[_0xfd2fd5(0x1f9)][_0xfd2fd5(0x28b)],_0x215bd7[_0xfd2fd5(0x20f)])){const _0x408ec5={};return _0x408ec5['status']=_0x215bd7[_0xfd2fd5(0x242)],_0x408ec5['message']=_0x215bd7[_0xfd2fd5(0x1e8)],_0x408ec5;}const _0x56cf84={'endTime':new Date()[_0xfd2fd5(0x1b0)]()},_0x31abce={};_0x31abce[_0xfd2fd5(0x208)]='Bearer\x20'+process[_0xfd2fd5(0x1f9)][_0xfd2fd5(0x28b)],_0x31abce[_0xfd2fd5(0x1e7)]=_0x215bd7[_0xfd2fd5(0x25b)];const _0x4d8739={};_0x4d8739[_0xfd2fd5(0x201)]=_0x31abce;const _0x4dd59b=_0x4d8739,_0x1bd311={};_0x1bd311[_0xfd2fd5(0x1e2)]=_0x56cf84,_0x1bd311['auth']=null,_0x1bd311['json']=!![];const _0x40cfbd=Object['assign'](_0x4dd59b,_0x1bd311);try{const _0x206765=await bsSetupHelper[_0xfd2fd5(0x289)](_0x215bd7[_0xfd2fd5(0x274)],_0x215bd7['KODVL'],_0x40cfbd,_0x1c38e6,API_URL);if(_0x206765[_0xfd2fd5(0x22b)][_0xfd2fd5(0x1e3)])throw new Error(_0x215bd7[_0xfd2fd5(0x20d)](_0x215bd7[_0xfd2fd5(0x1f5)],_0x206765[_0xfd2fd5(0x22b)][_0xfd2fd5(0x1e3)]));else{logger[_0xfd2fd5(0x217)](_0xfd2fd5(0x222)+new Date()[_0xfd2fd5(0x1b0)]());const _0x7430cb={};return _0x7430cb[_0xfd2fd5(0x190)]=_0x215bd7[_0xfd2fd5(0x16e)],_0x7430cb[_0xfd2fd5(0x19e)]='',_0x7430cb;}}catch(_0x2867f3){_0x2867f3[_0xfd2fd5(0x280)]?logger['error']('Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20'+_0x2867f3['response']['status']+'\x20'+_0x2867f3['response'][_0xfd2fd5(0x18e)]+'\x20'+JSON['stringify'](_0x2867f3[_0xfd2fd5(0x280)]['data'])):logger[_0xfd2fd5(0x1e3)](_0xfd2fd5(0x296)+(_0x2867f3[_0xfd2fd5(0x19e)]||util[_0xfd2fd5(0x195)](_0x2867f3)));const _0x57b574={};return _0x57b574[_0xfd2fd5(0x190)]=_0x215bd7[_0xfd2fd5(0x242)],_0x57b574[_0xfd2fd5(0x19e)]=_0x2867f3[_0xfd2fd5(0x19e)]||(_0x2867f3[_0xfd2fd5(0x280)]?_0x2867f3[_0xfd2fd5(0x280)]['status']+':'+_0x2867f3[_0xfd2fd5(0x280)][_0xfd2fd5(0x18e)]:_0x2867f3),_0x57b574;}}),exports['performScan']=async(_0x191996,_0x41494d=null,_0x2ebdac=![],_0x14d3d1=null)=>{const _0x38e6dd=a130_0x174add,_0x5170f4={};_0x5170f4[_0x38e6dd(0x181)]=_0x38e6dd(0x24f),_0x5170f4[_0x38e6dd(0x270)]='bstackA11yShouldScan',_0x5170f4[_0x38e6dd(0x281)]=_0x38e6dd(0x1ae),_0x5170f4[_0x38e6dd(0x20c)]=function(_0xf8c509,_0x585e0f){return _0xf8c509||_0x585e0f;},_0x5170f4[_0x38e6dd(0x259)]='bstackA11yScanOptions',_0x5170f4[_0x38e6dd(0x253)]=_0x38e6dd(0x1ba);const _0x5b732e=_0x5170f4;if(!this[_0x38e6dd(0x226)]()||!globals[_0x38e6dd(0x1a5)](_0x5b732e[_0x38e6dd(0x181)])||!_0x2ebdac&&!globals[_0x38e6dd(0x1a5)](_0x5b732e[_0x38e6dd(0x270)])){logger[_0x38e6dd(0x260)](_0x5b732e['TmFIB']);return;}const _0x5a6fb4=_0x2ebdac?_0x5b732e[_0x38e6dd(0x20c)](_0x14d3d1,{}):globals['getGlobal'](_0x5b732e[_0x38e6dd(0x259)])||{},_0x4e4e8a={};_0x4e4e8a[_0x38e6dd(0x279)]=_0x41494d||global[_0x38e6dd(0x169)];const _0x4cb787=Object[_0x38e6dd(0x254)]({},_0x5a6fb4,_0x4e4e8a);await this[_0x38e6dd(0x1e4)](_0x191996)&&(Object['assign'](_0x4cb787,this[_0x38e6dd(0x29b)](),{'thTestRunUuid':this[_0x38e6dd(0x239)]()}),logger[_0x38e6dd(0x287)](_0x5b732e[_0x38e6dd(0x253)]));logger[_0x38e6dd(0x287)](_0x38e6dd(0x197)+util['format']('%j',_0x4cb787));const _0x3a5d01={};return _0x3a5d01[_0x38e6dd(0x1d2)]=_0x41494d,await PerformanceTester[_0x38e6dd(0x1f3)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x324655=_0x38e6dd;try{await _0x191996[_0x324655(0x1a3)](()=>_0x191996['executeScript'](_0x324655(0x1c1)),0x1388);}catch(_0x59bb7c){}const _0x5c9fd5=util['format'](await _0x191996[_0x324655(0x19a)](scripts[_0x324655(0x236)],_0x4cb787));return logger[_0x324655(0x287)](_0x324655(0x1d0)+_0x5c9fd5),_0x5c9fd5;},_0x3a5d01)();},exports[a130_0x174add(0x186)]=async(_0xb55f0a,_0x8a172d)=>{const _0x1d53f6=a130_0x174add,_0xafd75e={'GqSvL':_0x1d53f6(0x1b8),'RnXUu':_0x1d53f6(0x24f),'kcZhs':_0x1d53f6(0x228),'fwVcQ':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','glCcX':function(_0x3fbb10,_0x1d46bc){return _0x3fbb10(_0x1d46bc);},'qTFBX':_0x1d53f6(0x19d),'OUuwy':_0x1d53f6(0x186),'WJsAC':_0x1d53f6(0x285)};if(!this[_0x1d53f6(0x226)]()||!globals[_0x1d53f6(0x1a5)](_0xafd75e[_0x1d53f6(0x22e)])||!globals[_0x1d53f6(0x1a5)](_0xafd75e['kcZhs']))return logger[_0x1d53f6(0x260)](_0xafd75e[_0x1d53f6(0x1eb)]),[];try{const _0x4c2fbc=_0xafd75e[_0x1d53f6(0x1aa)](require,_0xafd75e[_0x1d53f6(0x272)]),_0xd6b0e0=_0x4c2fbc[_0x1d53f6(0x291)](),_0x2e4182=_0xd6b0e0&&_0xd6b0e0[_0x1d53f6(0x294)]();if(_0x2e4182&&_0x2e4182[_0x1d53f6(0x29c)]){const _0x32c57c=(await _0xb55f0a[_0x1d53f6(0x1f2)]())[_0x1d53f6(0x174)]();let _0x4ff453='';try{const _0x3c4ead=_0xd6b0e0['getTestFramework']&&_0xd6b0e0[_0x1d53f6(0x292)]();_0x4ff453=_0x3c4ead&&_0x3c4ead[_0x1d53f6(0x22f)]&&_0x3c4ead[_0x1d53f6(0x22f)]()||'';}catch(_0xd4e8be){}return logger['debug']('[App-A11y]\x20getAccessibilityResults:\x20sessionId='+_0x32c57c+_0x1d53f6(0x171)+_0x4ff453),await _0x2e4182[_0x1d53f6(0x1a8)](_0x32c57c,_0x4ff453);}const _0x487eaf=await this[_0x1d53f6(0x1e4)](_0xb55f0a),_0x5e0c33=_0x487eaf?Object[_0x1d53f6(0x254)]({},this[_0x1d53f6(0x29b)](),{'thTestRunUuid':this[_0x1d53f6(0x239)]()}):{};return _0x487eaf&&logger[_0x1d53f6(0x287)]('getAccessibilityResults:\x20Mobile\x20session\x20detected,\x20args:\x20'+util[_0x1d53f6(0x195)]('%j',_0x5e0c33)),await PerformanceTester[_0x1d53f6(0x1f3)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x4b770b=_0x1d53f6;logger[_0x4b770b(0x287)](_0xafd75e[_0x4b770b(0x276)]);const _0x38d1e1={};_0x38d1e1['method']=_0x8a172d[_0x4b770b(0x169)];const _0x51f077=Object[_0x4b770b(0x254)](_0x38d1e1,_0x5e0c33);logger[_0x4b770b(0x287)](util[_0x4b770b(0x195)](await _0xb55f0a[_0x4b770b(0x19a)](scripts[_0x4b770b(0x236)],_0x51f077)));},{'command':_0xafd75e['OUuwy']})(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x1d53f6(0x1f1)],async()=>{const _0x1e6df9=_0x1d53f6,_0x3e7562=_0x487eaf?await _0xb55f0a[_0x1e6df9(0x19a)](scripts[_0x1e6df9(0x23b)],_0x5e0c33):await _0xb55f0a[_0x1e6df9(0x19a)](scripts[_0x1e6df9(0x23b)]);return _0x3e7562;})();}catch{return logger[_0x1d53f6(0x1e3)](_0xafd75e[_0x1d53f6(0x1ea)]),[];}},exports['getAccessibilityResultsSummary']=async(_0x3cbef8,_0x4ee195)=>{const _0x54242b=a130_0x174add,_0x572e7a={'iueid':_0x54242b(0x1c2),'wAJMe':_0x54242b(0x24f),'sEJxa':_0x54242b(0x228),'yfzut':_0x54242b(0x28f),'RzPXl':function(_0x240728,_0x249f09){return _0x240728(_0x249f09);},'FhbMl':_0x54242b(0x19d),'zJzme':_0x54242b(0x229),'ySert':_0x54242b(0x1a2)};if(!this['isAccessibilityAutomationSession']()||!globals[_0x54242b(0x1a5)](_0x572e7a[_0x54242b(0x2a2)])||!globals[_0x54242b(0x1a5)](_0x572e7a['sEJxa']))return logger['warn'](_0x572e7a[_0x54242b(0x266)]),{};try{const _0x24a2f9=_0x572e7a['RzPXl'](require,_0x572e7a['FhbMl']),_0x5506e1=_0x24a2f9[_0x54242b(0x291)](),_0x11b979=_0x5506e1&&_0x5506e1[_0x54242b(0x294)]();if(_0x11b979&&_0x11b979[_0x54242b(0x29c)]){const _0xbebd00=(await _0x3cbef8[_0x54242b(0x1f2)]())[_0x54242b(0x174)]();let _0x4e8457='';try{const _0x3473da=_0x5506e1[_0x54242b(0x292)]&&_0x5506e1[_0x54242b(0x292)]();_0x4e8457=_0x3473da&&_0x3473da['getCurrentTestUUID']&&_0x3473da[_0x54242b(0x22f)]()||'';}catch(_0x38c2a1){}return logger[_0x54242b(0x287)](_0x54242b(0x1b1)+_0xbebd00+_0x54242b(0x171)+_0x4e8457),await _0x11b979[_0x54242b(0x17d)](_0xbebd00,_0x4e8457);}const _0x556151=await this[_0x54242b(0x1e4)](_0x3cbef8),_0x1e28f2=_0x556151?Object[_0x54242b(0x254)]({},this['getMobileA11yCapabilities'](),{'thTestRunUuid':this[_0x54242b(0x239)]()}):{};return _0x556151&&logger[_0x54242b(0x287)](_0x54242b(0x221)+util[_0x54242b(0x195)]('%j',_0x1e28f2)),await PerformanceTester[_0x54242b(0x1f3)](PerformanceA11yEvents[_0x54242b(0x1c3)],async()=>{const _0x959770=_0x54242b;logger['debug'](_0x572e7a['iueid']);const _0x5a0012={};_0x5a0012[_0x959770(0x279)]=_0x4ee195[_0x959770(0x169)];const _0x30c66e=Object[_0x959770(0x254)](_0x5a0012,_0x1e28f2);logger['debug'](util[_0x959770(0x195)](await _0x3cbef8['executeAsyncScript'](scripts[_0x959770(0x236)],_0x30c66e)));},{'command':_0x572e7a[_0x54242b(0x18a)]})(),await PerformanceTester[_0x54242b(0x1f3)](PerformanceA11yEvents['GET_RESULTS_SUMMARY'],async()=>{const _0x3a100d=_0x54242b,_0xf32f58=_0x556151?await _0x3cbef8[_0x3a100d(0x19a)](scripts[_0x3a100d(0x185)],_0x1e28f2):await _0x3cbef8[_0x3a100d(0x19a)](scripts[_0x3a100d(0x185)]);return _0xf32f58;})();}catch{return logger['error'](_0x572e7a[_0x54242b(0x21e)]),{};}},exports[a130_0x174add(0x182)]=(_0x33e267,_0x5ad1c7=![])=>{const _0x2604d1=a130_0x174add,_0x236b80={'yaQlZ':function(_0x4178b5,_0x2b714f){return _0x4178b5(_0x2b714f);},'UJXyj':_0x2604d1(0x17f),'btTYd':function(_0x291224,_0x3c1bc8){return _0x291224(_0x3c1bc8);},'rTyzT':'platform','UphKw':function(_0x5bf96d,_0x34d321){return _0x5bf96d!==_0x34d321;},'JTiHe':'android','iRfFO':_0x2604d1(0x284),'tvlPc':_0x2604d1(0x298),'QKZeN':_0x2604d1(0x19c),'BKCFi':_0x2604d1(0x23f)};try{if(!_0x33e267)return![];const _0x356c18=_0x3bee94=>typeof _0x33e267[_0x2604d1(0x255)]==='function'?_0x33e267[_0x2604d1(0x255)](_0x3bee94):_0x33e267[_0x3bee94],_0x20727e=_0x236b80['yaQlZ'](String,_0x236b80[_0x2604d1(0x243)](_0x356c18,_0x236b80[_0x2604d1(0x1bf)])||_0x236b80[_0x2604d1(0x17e)](_0x356c18,_0x236b80['rTyzT'])||'')['toLowerCase']();if(_0x236b80['UphKw'](_0x20727e,_0x236b80['JTiHe']))return![];const _0x5d8dc3=_0x236b80['btTYd'](String,_0x236b80['yaQlZ'](_0x356c18,_0x236b80[_0x2604d1(0x206)])||'')[_0x2604d1(0x26a)]();if(!_0x5d8dc3[_0x2604d1(0x232)](_0x236b80[_0x2604d1(0x214)]))return _0x5ad1c7&&logger[_0x2604d1(0x260)](_0x236b80[_0x2604d1(0x1ac)]),![];return logger['debug'](_0x236b80[_0x2604d1(0x1ef)]),!![];}catch(_0x39becc){return logger['debug'](_0x2604d1(0x251)+_0x39becc),![];}},exports[a130_0x174add(0x1e4)]=async _0x128a7b=>{const _0x5f0c52=a130_0x174add;try{const _0x386369=await _0x128a7b[_0x5f0c52(0x257)]();return exports[_0x5f0c52(0x182)](_0x386369);}catch(_0x50df7e){return logger[_0x5f0c52(0x287)](_0x5f0c52(0x219)+_0x50df7e),![];}},exports['getMobileA11yCapabilities']=()=>{const _0x5eb7fb=a130_0x174add,_0x285c88={};return _0x285c88[_0x5eb7fb(0x2a3)]=!![],_0x285c88;},exports[a130_0x174add(0x239)]=()=>{const _0x32976e=a130_0x174add,_0x40d50d={};_0x40d50d[_0x32976e(0x27a)]=function(_0x5b3d4f,_0x3dad1d){return _0x5b3d4f===_0x3dad1d;},_0x40d50d['OnzGS']=_0x32976e(0x188),_0x40d50d[_0x32976e(0x1f8)]=function(_0x33b151,_0x1b89ec){return _0x33b151>_0x1b89ec;},_0x40d50d[_0x32976e(0x245)]=_0x32976e(0x250),_0x40d50d[_0x32976e(0x220)]=_0x32976e(0x205),_0x40d50d['mkqIc']=function(_0x2bf3ab,_0x16e15c){return _0x2bf3ab===_0x16e15c;},_0x40d50d[_0x32976e(0x198)]=_0x32976e(0x1c4);const _0x52c2af=_0x40d50d,_0x5d0e5d=global['__workerDetails'],_0x11432d=_0x5d0e5d&&_0x5d0e5d['currentTest'],_0x56ff00=_0x11432d&&_0x11432d[_0x32976e(0x29a)];if(_0x52c2af['HxnRA'](typeof _0x56ff00,_0x52c2af[_0x32976e(0x1e5)])&&_0x52c2af['ecooP'](_0x56ff00['length'],0x0))return _0x56ff00;let _0xc2f033;if(!_0x5d0e5d)_0xc2f033=_0x52c2af[_0x32976e(0x245)];else!_0x11432d?_0xc2f033=_0x52c2af[_0x32976e(0x220)]:_0xc2f033=_0x32976e(0x18b)+Object['keys'](_0x11432d)[_0x32976e(0x1fc)](',\x20')+']\x20but\x20thTestRunUuid\x20is\x20'+(_0x52c2af['mkqIc'](_0x56ff00,undefined)?_0x52c2af[_0x32976e(0x198)]:'\x22'+_0x56ff00+'\x22')+_0x32976e(0x1da);return logger[_0x32976e(0x260)](_0x32976e(0x22c)+_0xc2f033+_0x32976e(0x299)),'';},exports[a130_0x174add(0x231)]=_0x191ba6=>{const _0x417e1d=a130_0x174add,_0x3f9b69={};_0x3f9b69[_0x417e1d(0x23c)]=function(_0x7403bd,_0x218ec4){return _0x7403bd===_0x218ec4;},_0x3f9b69[_0x417e1d(0x1dd)]=_0x417e1d(0x188),_0x3f9b69[_0x417e1d(0x179)]=_0x417e1d(0x247);const _0x46901d=_0x3f9b69;if(_0x191ba6&&_0x191ba6[_0x417e1d(0x167)]&&_0x46901d[_0x417e1d(0x23c)](typeof _0x191ba6[_0x417e1d(0x167)],_0x46901d[_0x417e1d(0x1dd)]))return _0x191ba6[_0x417e1d(0x167)][_0x417e1d(0x232)](_0x46901d['iDZkl']);return![];},exports[a130_0x174add(0x24c)]=a130_0x174add(0x1e9),exports[a130_0x174add(0x1a0)]=()=>process[a130_0x174add(0x1f9)]['BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP']===a130_0x174add(0x21a),exports[a130_0x174add(0x237)]=_0x1967b1=>{const _0x2469fb=a130_0x174add,_0x3695da={};_0x3695da[_0x2469fb(0x275)]=function(_0x2094ba,_0x363fd7){return _0x2094ba in _0x363fd7;};const _0x26176e=_0x3695da;if(bsSetupHelper[_0x2469fb(0x211)](_0x1967b1))return![];const _0x568d17=_0x1967b1[_0x2469fb(0x26a)]();return _0x26176e['jSFUK'](_0x568d17,ACCESSIBILITY_SUPPORTED_BROWSERS);},exports['getBrowserA11yConfig']=_0x15e850=>{if(bsSetupHelper['isUndefined'](_0x15e850))return null;const _0x55b1f0=_0x15e850['toLowerCase']();return ACCESSIBILITY_SUPPORTED_BROWSERS[_0x55b1f0]||null;},exports[a130_0x174add(0x25c)]=(_0x94ec24,_0x204a90)=>{const _0x5283cc=a130_0x174add,_0x485c7d=this[_0x5283cc(0x25e)](_0x94ec24);if(!_0x485c7d)return null;if(_0x204a90)return _0x485c7d[_0x5283cc(0x184)];return _0x485c7d[_0x5283cc(0x175)];},exports['getBrowserDisplayName']=_0x37d362=>{const _0x5e62bd=a130_0x174add,_0x39fe10=this[_0x5e62bd(0x25e)](_0x37d362);return _0x39fe10?_0x39fe10[_0x5e62bd(0x235)]:_0x37d362;},exports[a130_0x174add(0x21f)]=_0x5e6aba=>{const _0x36ebba=a130_0x174add,_0x13e9d8=this[_0x36ebba(0x25e)](_0x5e6aba);return _0x13e9d8?_0x13e9d8[_0x36ebba(0x212)]:![];},exports[a130_0x174add(0x29e)]=(_0x19bd94,_0x22849d)=>{const _0x4f3239=a130_0x174add,_0x2cc9bd={'aeQQS':function(_0x3f0bea,_0x300f8f){return _0x3f0bea(_0x300f8f);},'ifMom':function(_0xf0cba1,_0x27fd9c){return _0xf0cba1>=_0x27fd9c;}};if(bsSetupHelper[_0x4f3239(0x211)](_0x19bd94)||bsSetupHelper['isUndefined'](_0x22849d))return![];const _0x39c9de=bsSetupHelper[_0x4f3239(0x187)](_0x2cc9bd['aeQQS'](String,_0x19bd94),_0x2cc9bd[_0x4f3239(0x1c5)](String,_0x22849d));return _0x2cc9bd[_0x4f3239(0x290)](_0x39c9de,0x0);},exports[a130_0x174add(0x1fd)]=_0x2771c6=>{const _0x43eb70=a130_0x174add,_0x4889de={};_0x4889de['FRrtM']=function(_0x5a7c36,_0x501f61){return _0x5a7c36!==_0x501f61;},_0x4889de[_0x43eb70(0x264)]='string',_0x4889de['EhwnZ']=_0x43eb70(0x23a);const _0x24da8c=_0x4889de;if(!_0x2771c6||_0x24da8c[_0x43eb70(0x230)](typeof _0x2771c6,_0x24da8c['vUFDW']))return null;try{return JSON[_0x43eb70(0x1f7)](Buffer[_0x43eb70(0x1d7)](_0x2771c6[_0x43eb70(0x192)]('.')[0x1],_0x24da8c['EhwnZ'])['toString']());}catch{return null;}};
|
|
1
|
+
const a130_0x20cb64=a130_0x4c57;(function(_0x1232ad,_0x21da64){const _0x8876a5=a130_0x4c57,_0x386e38=_0x1232ad();while(!![]){try{const _0x316568=parseInt(_0x8876a5(0x27c))/0x1*(parseInt(_0x8876a5(0x1db))/0x2)+parseInt(_0x8876a5(0x1bc))/0x3+-parseInt(_0x8876a5(0x25d))/0x4*(-parseInt(_0x8876a5(0x168))/0x5)+-parseInt(_0x8876a5(0x240))/0x6+parseInt(_0x8876a5(0x1c4))/0x7+parseInt(_0x8876a5(0x269))/0x8+parseInt(_0x8876a5(0x221))/0x9*(-parseInt(_0x8876a5(0x215))/0xa);if(_0x316568===_0x21da64)break;else _0x386e38['push'](_0x386e38['shift']());}catch(_0x1135d1){_0x386e38['push'](_0x386e38['shift']());}}}(a130_0x2cff,0x5995b));const path=require(a130_0x20cb64(0x237)),util=require(a130_0x20cb64(0x21f)),bsSetupHelper=require(a130_0x20cb64(0x203)),logger=require(a130_0x20cb64(0x29b))[a130_0x20cb64(0x209)],{API_URL,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY,ACCESSIBILITY_SUPPORTED_BROWSERS}=require('./constants'),PerformanceTester=require(a130_0x20cb64(0x1ce)),scripts=require(a130_0x20cb64(0x292)),globals=require(a130_0x20cb64(0x1ba)),{A11Y_EVENTS:PerformanceA11yEvents}=require('../performance/constants');function a130_0x2cff(){const _0x5bb3b8=['parse','global.__workerDetails\x20exists\x20but\x20.currentTest\x20is\x20undefined\x20—\x20scan\x20fired\x20outside\x20a\x20test\x20body\x20(before/beforeAll\x20hook,\x20or\x20between\x20tests).','CewNd','lczti','shouldScanTestForAccessibility','JcHjV','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.','oPbeI','nHbet','uNapA','kAiPF','compareVersions','GET_RESULTS','wKZwf','toLowerCase','BOgrr','platformName','BS_A11Y_JWT','warn','toISOString','LBysW','CAPABILITY_KEY','measureWrapper','includeTagsInTestingScope','getResults','version','from','getId','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token','stringify','RFRHj','format','YRkBG','ZsSxk','response','BhpLZ','iKOMG','fetchPlatformDetails','TXuWt','Mobile\x20Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser.','cSlZo','Mobile\x20Accessibility\x20Automation\x20is\x20not\x20enabled\x20for\x20your\x20account.\x20Accessibility\x20scans\x20will\x20be\x20skipped\x20on\x20mobile\x20sessions.\x20Contact\x20BrowserStack\x20to\x20enable\x20mobile\x20accessibility\x20scanning.','getAccessibilityResults:\x20Mobile\x20session\x20detected,\x20args:\x20','device','Authorization','getBrowserDisplayName','oQKkC','../globals','stack','1207224SlwcNz','setNonBstackInfraCapabilities','split','Unable\x20to\x20mirror\x20accessibility\x20chrome\x20options\x20into\x20builder\x20options:\x20','resolve','v2/test_runs','MOBILE_SCANNING_DISABLED_WARNING','thTestRunUuid','281379bYgNrV','ILcsL','BROWSERSTACK_TURBOSCALE','../../bin/v2/browserstackCLI','resolveMobileThTestRunUuid','POST','OdglJ','playwright','ZZhOA','PUT','../performance/performance-tester','iGShM','gIaTR','browserstack','getAccessibilityResults','Ffwbr','startsWith','isArray','projectName','browserName','auth','iaFyE','WFOlW','526tAgpWc','isBrowserstackInfra',',\x20testRunId=','knAFZ','object','yHLil','hJyoe','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','--headless','headers','[Accessibility]\x20Mobile\x20scan\x20requested\x20but\x20thTestRunUuid\x20not\x20resolvable:\x20','browserVersion','getBrowserA11yConfig','get','CWMzh','includes','toJson','info','pbORe','YQvkZ','has','hasLegacyHeadlessArg','script','errors','undefined','a11y:start','AFgLI','body','concat','iVKQD','isAccessibilityAutomationSession','getTestFramework','Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20','EHQev','PERFORM_SCAN','getCurrentTestUUID','requiresChromeOptionsValidation','Content-Type','keys','getAccessibilityResultsSummary:\x20Mobile\x20session\x20detected,\x20args:\x20','../helper','message','[App-A11y]\x20getAccessibilityResultsSummary:\x20sessionId=','debug','WGQIH','xHkXV','winstonLogger','browserstack_executor','kTNQS','isTrue','yramv','HyhtN','min_version_non_browserstack','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','cwd','IOHkB','fGHfr','filter','285370BdwOem','platforms','DzpmV','selenium-webdriver','browserstackSessionName','MVyVn','trim','WMcyK','basename','Qoauv','util','getAgentVersion','423nyfLRB','Exception\x20while\x20checking\x20for\x20legacy\x20headless\x20mode:\x20','a11y:stop','xXmcf','Error\x20while\x20adding\x20Non-Bstack\x20capabilities:\x20','getGlobal','true','zncKq','getAccessibilityModule','return\x20document.readyState\x20===\x20\x22complete\x22','NARAq','isMobileAccessibilitySession','FqQCT','bstackA11yShouldScan','DvKhF','getMobileA11yCapabilities','xmtDq','BROWSERSTACK_TEST_ACCESSIBILITY_YML','HkGEE','isMobileAccessibilityPlatform','silUA','getHostInfo','path','nodeRequest','IWrxL','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','OWXWj','Error\x20while\x20adding\x20Non-Bstack\x20capabilities\x20to\x20caps:\x20','TpasV','xJJPp','cWEkI','2585880uGlZkb','nonBstackPlatformValidation','getMinVersionForBrowser','GjHKq','ChromeExtension','fkxxM','HuZur','chromeOptions','getAccessibilityResultsSummary','Performed\x20scan\x20with\x20result:\x20','SQcEI','function','isAppAccessibility','forEach','base64','deviceName','string','isAccessibilityPlatform','statusText','bstackA11yScanOptions','getPlatform','getSession','isUndefined','zjVtU','method','zPSDt','getInstance','ZEVqU','MUCSQ','36kkSXeI','length','application/json','VCLMm','TjwDy','pegRq','getUserName','json','[Accessibility]\x20Selenium\x20performScan\x20payload:\x20','HREox','command','sJnmb','2854488QweQYq','test_runs/stop','BINip','accessibilityToken','parseFromJson','aLjGc','map','uBTtH','bstack:options','ACghx','epoPi','tutiC','getAppAccessibilityResultsSummary','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','join','env','NyVmb','executeAsyncScript','Rvlqp','2593CpuWsi','Pvfhx','null','YKOZV','JEtZQ','error','stopAccessibilityTestRun','getCiInfo','VXUrZ','cQThw','turzi','Invalid\x20configuration\x20passed.','FuOMa','JfWDG','FDolW','Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20','setNonBstackInfraCapabilitiesOnCaps','Build\x20creation\x20had\x20failed.','aVfMn','NgifY','nestedKeyValue','./scripts','Session\x20is\x20identified\x20as\x20mobile\x20accessibility\x20platform\x20(Android\x20+\x20Chrome)','scannerVersion','WHYoP','data','buildDescription','global.__workerDetails\x20is\x20undefined\x20—\x20no\x20test-framework\x20setup\x20hook\x20has\x20initialized\x20it\x20yet.\x20A\x20scan\x20is\x20likely\x20firing\x20before\x20the\x20test\x20started\x20(e.g.\x20from\x20a\x20before/beforeAll\x20hook\x20or\x20from\x20plain\x20Selenium\x20with\x20no\x20test\x20framework).','getCapabilities','args','../logger','--headless=new','yuMqu','kjJJn','selenium-webdriver/chrome.js','ZdDjN','performScan','BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP','Error\x20checking\x20if\x20mobile\x20accessibility\x20platform:\x20','Not\x20a\x20Accessibility\x20Session','currentTest','XrdAi','chrome','mirrorChromeOptionsIntoBuilder','aTIjO','365435Mcrocy','false','sIimc','flzdX','display_name','chromeOptions_','wEKhR','replace','options_','checkAccessibilityPlatformConfig','set','some','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','getResultsSummary','wdYYn','SrEpS','JQzUY',']\x20but\x20thTestRunUuid\x20is\x20','bAqII','executeScript','getBrowserVersion','NDnkV','javascript','accessibility','capabilities_','mergeDeep','__cloud_provider___','iOxDw','vsIak','assign','toString','goog:chromeOptions','status','ZptiH','Performing\x20scan\x20before\x20getting\x20results'];a130_0x2cff=function(){return _0x5bb3b8;};return a130_0x2cff();}exports[a130_0x20cb64(0x1b0)]=async _0x1697e8=>{const _0x50cb1a=a130_0x20cb64,_0x5710f8={};_0x5710f8[_0x50cb1a(0x1fc)]=function(_0x4f4125,_0x40fc07){return _0x4f4125===_0x40fc07;},_0x5710f8['iGShM']=_0x50cb1a(0x1d1);const _0x5e4237=_0x5710f8;let _0x317dd4={};try{const _0x240ac6=await _0x1697e8[_0x50cb1a(0x299)]();_0x317dd4={'os_name':_0x240ac6[_0x50cb1a(0x254)](),'os_version':bsSetupHelper['getPlatformVersion'](_0x5e4237[_0x50cb1a(0x1fc)](global[_0x50cb1a(0x182)],_0x5e4237[_0x50cb1a(0x1cf)])),'browser_name':_0x240ac6['getBrowserName'](),'browser_version':_0x240ac6[_0x50cb1a(0x17c)]()};}catch(_0x51e364){logger[_0x50cb1a(0x206)](_0x50cb1a(0x276)+_0x51e364);}return _0x317dd4;},exports[a130_0x20cb64(0x1f9)]=()=>{const _0x30d452=a130_0x20cb64,_0x1f4d09={};_0x1f4d09['AFgLI']=function(_0x4acf5b,_0x313572){return _0x4acf5b===_0x313572;},_0x1f4d09[_0x30d452(0x262)]=_0x30d452(0x250),_0x1f4d09['nmXnm']=function(_0x69d208,_0x34c86f){return _0x69d208>_0x34c86f;},_0x1f4d09[_0x30d452(0x217)]=function(_0x532872,_0x352e45){return _0x532872!==_0x352e45;},_0x1f4d09[_0x30d452(0x183)]=_0x30d452(0x27e),_0x1f4d09[_0x30d452(0x1d0)]=function(_0x447d32,_0x3fa75c){return _0x447d32&&_0x3fa75c;};const _0x280b7f=_0x1f4d09;try{const _0x37af58=bsSetupHelper[_0x30d452(0x20c)](process[_0x30d452(0x278)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'])||bsSetupHelper[_0x30d452(0x20c)](process[_0x30d452(0x278)][_0x30d452(0x23a)]),_0x371a0d=_0x280b7f[_0x30d452(0x1f5)](typeof process[_0x30d452(0x278)]['BS_A11Y_JWT'],_0x280b7f[_0x30d452(0x262)])&&_0x280b7f['nmXnm'](process[_0x30d452(0x278)][_0x30d452(0x19c)][_0x30d452(0x25e)],0x0)&&_0x280b7f[_0x30d452(0x217)](process[_0x30d452(0x278)][_0x30d452(0x19c)],_0x280b7f[_0x30d452(0x183)]);return _0x280b7f[_0x30d452(0x1d0)](_0x37af58,_0x371a0d);}catch(_0x15fc11){logger[_0x30d452(0x206)]('Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20'+_0x15fc11);}return![];};const isLegacyHeadlessArg=_0x55563d=>typeof _0x55563d===a130_0x20cb64(0x250)&&(_0x55563d===a130_0x20cb64(0x1e3)||_0x55563d[a130_0x20cb64(0x1d4)]('--headless=')&&_0x55563d!==a130_0x20cb64(0x29c));function a130_0x4c57(_0x37dd49,_0x34ee05){const _0x2cff62=a130_0x2cff();return a130_0x4c57=function(_0x4c5719,_0x3c4f30){_0x4c5719=_0x4c5719-0x167;let _0x18ef46=_0x2cff62[_0x4c5719];return _0x18ef46;},a130_0x4c57(_0x37dd49,_0x34ee05);}exports[a130_0x20cb64(0x1f0)]=_0x334b13=>{const _0x5c44cd=a130_0x20cb64,_0x179f7c={};_0x179f7c[_0x5c44cd(0x193)]=_0x5c44cd(0x29f),_0x179f7c[_0x5c44cd(0x235)]=_0x5c44cd(0x218),_0x179f7c[_0x5c44cd(0x1ed)]=function(_0x517b7a,_0x5c8bb5){return _0x517b7a===_0x5c8bb5;},_0x179f7c['vsIak']='function',_0x179f7c[_0x5c44cd(0x18e)]='goog:chromeOptions',_0x179f7c[_0x5c44cd(0x167)]=_0x5c44cd(0x271),_0x179f7c[_0x5c44cd(0x261)]=_0x5c44cd(0x247),_0x179f7c[_0x5c44cd(0x1e0)]=_0x5c44cd(0x29a);const _0x460c50=_0x179f7c;try{let _0x38edc7;try{_0x38edc7=bsSetupHelper['requireModule'](_0x460c50[_0x5c44cd(0x193)],_0x460c50[_0x5c44cd(0x235)]);}catch(_0x46abec){return![];}const _0x122817=new _0x38edc7['Options'](_0x334b13[_0x5c44cd(0x16d)]),_0xca6f32=_0x122817[_0x5c44cd(0x170)]&&_0x122817[_0x5c44cd(0x170)][_0x5c44cd(0x29a)]||_0x460c50['pbORe'](typeof _0x122817['get'],_0x460c50[_0x5c44cd(0x184)])&&_0x122817[_0x5c44cd(0x1e8)](_0x460c50[_0x5c44cd(0x18e)])&&_0x122817[_0x5c44cd(0x1e8)](_0x460c50[_0x5c44cd(0x18e)])['args']||bsSetupHelper['nestedKeyValue'](_0x334b13[_0x5c44cd(0x180)],[_0x460c50['aTIjO'],_0x460c50[_0x5c44cd(0x261)],_0x460c50[_0x5c44cd(0x1e0)]])||bsSetupHelper['nestedKeyValue'](_0x334b13[_0x5c44cd(0x180)],[_0x460c50[_0x5c44cd(0x261)],_0x460c50[_0x5c44cd(0x1e0)]])||[];if((Array[_0x5c44cd(0x1d5)](_0xca6f32)?_0xca6f32:[])[_0x5c44cd(0x173)](isLegacyHeadlessArg))return!![];const _0x27cafd=_0x334b13[_0x5c44cd(0x180)]||{},_0x2740d4=bsSetupHelper[_0x5c44cd(0x291)](_0x27cafd,[_0x460c50[_0x5c44cd(0x18e)]])||{},_0x2622a4=bsSetupHelper[_0x5c44cd(0x291)](_0x2740d4,[_0x460c50['yHLil']])||[];return(Array[_0x5c44cd(0x1d5)](_0x2622a4)?_0x2622a4:[])[_0x5c44cd(0x173)](isLegacyHeadlessArg);}catch(_0xba121a){return logger[_0x5c44cd(0x206)](_0x5c44cd(0x222)+util[_0x5c44cd(0x1aa)](_0xba121a)),![];}},exports[a130_0x20cb64(0x241)]=(_0x374bb8,_0x1e8ea5)=>{const _0x27a312=a130_0x20cb64,_0x330c9d={'YKOZV':'browserName','NgifY':function(_0x3e11ce,_0x3950a3){return _0x3e11ce(_0x3950a3);},'ExMUC':_0x27a312(0x1e6),'JfWDG':_0x27a312(0x1a4),'WGQIH':'bstack:options','knAFZ':_0x27a312(0x24f),'ghZKP':_0x27a312(0x1b6),'VCLMm':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','ZEVqU':'Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','FqQCT':function(_0x458404,_0x14c2b0){return _0x458404===_0x14c2b0;},'kTNQS':_0x27a312(0x2a7),'lGNkB':function(_0x5a1ec5,_0x1a635d){return _0x5a1ec5>=_0x1a635d;}},_0x5e71e7=_0x374bb8[_0x27a312(0x1e8)](_0x330c9d[_0x27a312(0x27f)]),_0x50ecd3=_0x330c9d[_0x27a312(0x290)](parseFloat,_0x374bb8['get'](_0x330c9d['ExMUC']))||_0x330c9d[_0x27a312(0x290)](parseFloat,_0x374bb8[_0x27a312(0x1e8)](_0x330c9d[_0x27a312(0x289)])),_0x4840c0=_0x374bb8[_0x27a312(0x1e8)](_0x330c9d[_0x27a312(0x207)])||{},_0x15a468=_0x330c9d[_0x27a312(0x290)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY),_0x638aef=_0x4840c0[_0x330c9d[_0x27a312(0x1de)]]||_0x374bb8[_0x27a312(0x1e8)](_0x330c9d['ghZKP'])||![];if(_0x638aef)return logger[_0x27a312(0x19d)](_0x330c9d[_0x27a312(0x260)]),![];if(exports[_0x27a312(0x1f0)](_0x1e8ea5))return logger[_0x27a312(0x19d)](_0x330c9d[_0x27a312(0x25b)]),![];if(_0x330c9d[_0x27a312(0x22d)](_0x5e71e7['toLowerCase'](),_0x330c9d[_0x27a312(0x20b)])&&_0x330c9d['lGNkB'](_0x50ecd3,_0x15a468))return!![];return logger[_0x27a312(0x19d)](_0x27a312(0x28c)+MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY+'.'),![];};const mergeChromeOptionsPreservingArrays=(_0x20f4a7,_0x55e50e)=>{const _0x8980e2=a130_0x20cb64,_0xbcf311={};_0xbcf311[_0x8980e2(0x1e9)]=function(_0x1b4b89,_0x15d78c){return _0x1b4b89!==_0x15d78c;},_0xbcf311[_0x8980e2(0x16e)]=_0x8980e2(0x250),_0xbcf311['IOHkB']=function(_0x144adc,_0x91bbae){return _0x144adc===_0x91bbae;},_0xbcf311['Rvlqp']=_0x8980e2(0x1df);const _0x2f4303=_0xbcf311,_0x306e77=_0x20f4a7&&_0x2f4303[_0x8980e2(0x212)](typeof _0x20f4a7,_0x2f4303[_0x8980e2(0x27b)])?_0x20f4a7:{},_0x112e73=_0x55e50e&&_0x2f4303[_0x8980e2(0x212)](typeof _0x55e50e,_0x2f4303[_0x8980e2(0x27b)])?_0x55e50e:{},_0x2a26ae=Object[_0x8980e2(0x185)]({},_0x306e77,_0x112e73);return Object[_0x8980e2(0x201)](_0x112e73)[_0x8980e2(0x24d)](_0x221960=>{const _0x5613ef=_0x8980e2,_0x397bd8={'RFRHj':function(_0xbba82b,_0xd72cf6){const _0x65e92e=a130_0x4c57;return _0x2f4303[_0x65e92e(0x1e9)](_0xbba82b,_0xd72cf6);},'JQzUY':_0x2f4303[_0x5613ef(0x16e)]};if(Array[_0x5613ef(0x1d5)](_0x112e73[_0x221960])||Array['isArray'](_0x306e77[_0x221960])){const _0x2c78fe=Array[_0x5613ef(0x1d5)](_0x306e77[_0x221960])?_0x306e77[_0x221960]:[],_0x31bde1=Array[_0x5613ef(0x1d5)](_0x112e73[_0x221960])?_0x112e73[_0x221960]:[],_0x1d9a42=new Set();_0x2a26ae[_0x221960]=_0x2c78fe[_0x5613ef(0x1f7)](_0x31bde1)[_0x5613ef(0x214)](_0x2d7f88=>{const _0x1370e5=_0x5613ef;if(_0x397bd8[_0x1370e5(0x1a9)](typeof _0x2d7f88,_0x397bd8[_0x1370e5(0x178)]))return!![];if(_0x1d9a42[_0x1370e5(0x1ef)](_0x2d7f88))return![];return _0x1d9a42['add'](_0x2d7f88),!![];});}}),_0x2a26ae;};exports[a130_0x20cb64(0x2a8)]=(_0x2cd447,_0x14bbae)=>{const _0x4175bc=a130_0x20cb64,_0x200d31={'FDolW':function(_0xc1633e,_0xd875c0){return _0xc1633e!==_0xd875c0;},'aVfMn':_0x4175bc(0x24b),'ACghx':function(_0xd5107a,_0x5c74dd){return _0xd5107a!==_0x5c74dd;},'IWrxL':_0x4175bc(0x187),'ZsSxk':function(_0x78cb95,_0x3bb90a,_0x2b4962){return _0x78cb95(_0x3bb90a,_0x2b4962);},'JEtZQ':function(_0x1fbbfa,_0x202d0a){return _0x1fbbfa||_0x202d0a;},'SrEpS':function(_0xa87e8,_0x299542){return _0xa87e8+_0x299542;},'QDwsj':_0x4175bc(0x1bf)};try{const _0x50bfea=_0x2cd447&&_0x2cd447[_0x4175bc(0x16d)];if(!_0x50bfea||_0x200d31[_0x4175bc(0x28a)](typeof _0x50bfea[_0x4175bc(0x1e8)],_0x200d31[_0x4175bc(0x28f)])||_0x200d31[_0x4175bc(0x272)](typeof _0x50bfea['set'],_0x200d31[_0x4175bc(0x28f)]))return;const _0x3f471b=_0x50bfea[_0x4175bc(0x1a0)]||_0x200d31[_0x4175bc(0x239)],_0x41269c=_0x50bfea['get'](_0x3f471b)||{},_0x8c3e9b=_0x200d31[_0x4175bc(0x1ac)](mergeChromeOptionsPreservingArrays,_0x41269c,_0x200d31[_0x4175bc(0x280)](_0x14bbae,{}));_0x50bfea[_0x4175bc(0x172)](_0x3f471b,_0x8c3e9b);}catch(_0x2f368f){logger[_0x4175bc(0x206)](_0x200d31[_0x4175bc(0x177)](_0x200d31['QDwsj'],util[_0x4175bc(0x1aa)](_0x2f368f)));}},exports[a130_0x20cb64(0x1bd)]=(_0x58f394,_0x5e2276=!![])=>{const _0x427149=a130_0x20cb64,_0x28d514={'ZZhOA':function(_0x2936c7,_0x4b17bc){return _0x2936c7===_0x4b17bc;},'uBTtH':'chromeOptions','yuMqu':_0x427149(0x187),'kjJJn':function(_0x248f89,_0x30cdd7,_0x7b136c){return _0x248f89(_0x30cdd7,_0x7b136c);},'iaFyE':function(_0x40ed82,_0x3df6b2){return _0x40ed82||_0x3df6b2;},'foGxj':_0x427149(0x2a4)},_0x5e9f5a=scripts['ChromeExtension'];try{const _0x128432=bsSetupHelper['isTrue'](process[_0x427149(0x278)][_0x427149(0x232)])||bsSetupHelper[_0x427149(0x20c)](process[_0x427149(0x278)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']);if((!bsSetupHelper[_0x427149(0x1dc)]()||process['env'][_0x427149(0x1c6)])&&_0x128432){const _0x29d376=_0x58f394[_0x427149(0x299)](),_0x406587=_0x28d514[_0x427149(0x1cc)](_0x5e2276,![])?_0x28d514[_0x427149(0x270)]:_0x28d514[_0x427149(0x29d)],_0x41da7a=_0x29d376['get'](_0x406587)||_0x29d376['get'](_0x28d514[_0x427149(0x29d)])||{},_0x21d77e=_0x28d514[_0x427149(0x29e)](mergeChromeOptionsPreservingArrays,_0x41da7a,_0x28d514[_0x427149(0x1d9)](_0x5e9f5a,{}));_0x29d376['set'](_0x406587,_0x21d77e),exports[_0x427149(0x2a8)](_0x58f394,_0x21d77e);}else logger[_0x427149(0x19d)](_0x28d514['foGxj']);}catch(_0x5c47ed){logger[_0x427149(0x281)](_0x427149(0x225)+_0x5c47ed);}},exports[a130_0x20cb64(0x28d)]=_0x4fa8fd=>{const _0x2c85be=a130_0x20cb64,_0x106d29={};_0x106d29['GjHKq']=function(_0x5c53d3,_0x20403e){return _0x5c53d3||_0x20403e;},_0x106d29[_0x2c85be(0x25c)]=_0x2c85be(0x187);const _0x23b4b1=_0x106d29;_0x4fa8fd=_0x23b4b1[_0x2c85be(0x243)](_0x4fa8fd,{});const _0x4a71b4=scripts[_0x2c85be(0x244)];try{const _0x38cde2=bsSetupHelper[_0x2c85be(0x20c)](process[_0x2c85be(0x278)][_0x2c85be(0x232)])||bsSetupHelper[_0x2c85be(0x20c)](process[_0x2c85be(0x278)][_0x2c85be(0x23a)]);if((!bsSetupHelper[_0x2c85be(0x1dc)]()||process[_0x2c85be(0x278)][_0x2c85be(0x1c6)])&&_0x38cde2){const _0x48c525=_0x4fa8fd[_0x23b4b1[_0x2c85be(0x25c)]]||{};bsSetupHelper[_0x2c85be(0x181)](_0x48c525,_0x4a71b4),_0x4fa8fd[_0x23b4b1['MUCSQ']]=_0x48c525;}}catch(_0x277c61){logger[_0x2c85be(0x281)](_0x2c85be(0x23c)+_0x277c61);}return _0x4fa8fd;},exports[a130_0x20cb64(0x18f)]=(_0x36a315=null,_0x53ded7=!![],_0x405e80=[])=>{const _0x16b6dc=a130_0x20cb64,_0x29ffed={};_0x29ffed[_0x16b6dc(0x266)]=function(_0x581758,_0x5bfa41){return _0x581758==_0x5bfa41;},_0x29ffed[_0x16b6dc(0x23d)]=function(_0x199d53,_0x47877d){return _0x199d53>_0x47877d;},_0x29ffed[_0x16b6dc(0x228)]=function(_0x5c7bec,_0x3cb114){return _0x5c7bec===_0x3cb114;},_0x29ffed[_0x16b6dc(0x23f)]=function(_0x263677,_0x244a95){return _0x263677&&_0x244a95;},_0x29ffed[_0x16b6dc(0x1d3)]=function(_0x1ff80c,_0x2ff2e5){return _0x1ff80c&&_0x2ff2e5;};const _0x30ab81=_0x29ffed;if(_0x30ab81['HREox'](process[_0x16b6dc(0x278)][_0x16b6dc(0x174)],null))return!![];try{const _0x1daa99=JSON[_0x16b6dc(0x18b)](process[_0x16b6dc(0x278)][_0x16b6dc(0x174)]),_0x355614=Array[_0x16b6dc(0x1d5)](_0x1daa99[_0x16b6dc(0x1a2)])?_0x1daa99['includeTagsInTestingScope']:[],_0x46771d=Array[_0x16b6dc(0x1d5)](_0x1daa99['excludeTagsInTestingScope'])?_0x1daa99['excludeTagsInTestingScope']:[],_0x18842a=_0x17c807=>typeof _0x17c807===_0x16b6dc(0x250)?_0x17c807[_0x16b6dc(0x16f)](/^@/,'')['toLowerCase']()[_0x16b6dc(0x21b)]():_0x17c807;if(bsSetupHelper[_0x16b6dc(0x256)](_0x36a315)){if(_0x30ab81[_0x16b6dc(0x23d)](_0x405e80[_0x16b6dc(0x25e)],0x0)){const _0xc921cc=_0x405e80[_0x16b6dc(0x26f)](_0x18842a),_0x147d9f=_0x46771d[_0x16b6dc(0x173)](_0x50983f=>_0xc921cc['includes'](_0x18842a(_0x50983f))),_0x48e12c=_0x30ab81[_0x16b6dc(0x228)](_0x355614['length'],0x0)||_0x355614[_0x16b6dc(0x173)](_0x24e8a8=>_0xc921cc['includes'](_0x18842a(_0x24e8a8)));return _0x30ab81[_0x16b6dc(0x23f)](!_0x147d9f,_0x48e12c);}return!![];}let _0x151042;_0x53ded7?_0x151042=_0x36a315[_0x16b6dc(0x277)]('/'):_0x151042=_0x36a315;const _0x51e1a1=_0x46771d[_0x16b6dc(0x173)](_0x75982b=>_0x151042[_0x16b6dc(0x199)]()[_0x16b6dc(0x1ea)](_0x18842a(_0x75982b)[_0x16b6dc(0x199)]())),_0x229df3=_0x30ab81['zncKq'](_0x355614['length'],0x0)||_0x355614['some'](_0x4d7c5a=>_0x151042[_0x16b6dc(0x199)]()[_0x16b6dc(0x1ea)](_0x18842a(_0x4d7c5a)[_0x16b6dc(0x199)]()));return _0x30ab81[_0x16b6dc(0x1d3)](!_0x51e1a1,_0x229df3);}catch(_0x58939c){logger['debug'](_0x16b6dc(0x1fb)+util[_0x16b6dc(0x1aa)](_0x58939c));}return![];},exports[a130_0x20cb64(0x171)]=_0x3dec69=>{const _0x367df3=a130_0x20cb64;let _0x6048f=![];try{_0x3dec69[_0x367df3(0x216)][_0x367df3(0x24d)](_0x45c26b=>{const _0x5303a0=_0x367df3;if(bsSetupHelper[_0x5303a0(0x20c)](_0x45c26b[_0x5303a0(0x17f)]))return _0x6048f=!![],!![];});}catch(_0x26664c){logger['debug']('Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20'+_0x26664c);}return _0x6048f||bsSetupHelper['isTrue'](_0x3dec69[_0x367df3(0x17f)]);},exports['createAccessibilityTestRun']=PerformanceTester[a130_0x20cb64(0x1a1)](a130_0x20cb64(0x1f4),async function(_0x568be6,_0x3b2ebb){const _0x2f9f39=a130_0x20cb64,_0x589e1a={};_0x589e1a[_0x2f9f39(0x1b9)]=_0x2f9f39(0x1a7),_0x589e1a[_0x2f9f39(0x21a)]=_0x2f9f39(0x1cb),_0x589e1a[_0x2f9f39(0x176)]=_0x2f9f39(0x17e),_0x589e1a[_0x2f9f39(0x1da)]=_0x2f9f39(0x25f),_0x589e1a['fGHfr']=_0x2f9f39(0x1c9),_0x589e1a['ILcsL']=_0x2f9f39(0x1c1),_0x589e1a[_0x2f9f39(0x233)]=function(_0x31e82e,_0x3d3983){return _0x31e82e===_0x3d3983;},_0x589e1a[_0x2f9f39(0x224)]=_0x2f9f39(0x287),_0x589e1a[_0x2f9f39(0x23b)]=_0x2f9f39(0x169);const _0x185a86=_0x589e1a,_0x5a49a8=bsSetupHelper[_0x2f9f39(0x263)](_0x568be6),_0x16f0d6=bsSetupHelper['getAccessKey'](_0x568be6);if(bsSetupHelper['isUndefined'](_0x5a49a8)||bsSetupHelper[_0x2f9f39(0x256)](_0x16f0d6))return logger[_0x2f9f39(0x281)](_0x185a86['oQKkC']),[null,null];try{let _0x3e7a5b;bsSetupHelper[_0x2f9f39(0x256)](process[_0x2f9f39(0x278)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])?_0x3e7a5b={}:_0x3e7a5b=JSON['parse'](process[_0x2f9f39(0x278)][_0x2f9f39(0x174)]);const {name:_0x5910af,version:_0x1764bf}=bsSetupHelper['getTestFrameworkDetails'](_0x568be6,_0x3b2ebb),_0x3197d1={'projectName':_0x568be6[_0x2f9f39(0x1d6)],'buildName':_0x568be6['buildName']||path[_0x2f9f39(0x21d)](path[_0x2f9f39(0x1c0)](process[_0x2f9f39(0x211)]())),'startTime':new Date()[_0x2f9f39(0x19e)](),'description':_0x568be6[_0x2f9f39(0x297)]||'','source':{'frameworkName':_0x3b2ebb[_0x2f9f39(0x1ea)](_0x185a86[_0x2f9f39(0x21a)])?_0x185a86[_0x2f9f39(0x21a)]:_0x3b2ebb,'frameworkVersion':bsSetupHelper['getPackageVersion'](_0x3b2ebb),'sdkVersion':bsSetupHelper[_0x2f9f39(0x220)](),'language':_0x185a86['wdYYn'],'testFramework':_0x5910af,'testFrameworkVersion':_0x1764bf},'settings':_0x3e7a5b,'versionControl':await bsSetupHelper['getGitMetaData'](),'ciInfo':bsSetupHelper[_0x2f9f39(0x283)](),'hostInfo':bsSetupHelper[_0x2f9f39(0x236)](),'browserstackAutomation':bsSetupHelper[_0x2f9f39(0x1dc)]()},_0x256340={};_0x256340['user']=_0x5a49a8,_0x256340['pass']=_0x16f0d6;const _0x2475f3={};_0x2475f3['Content-Type']=_0x185a86[_0x2f9f39(0x1da)];const _0x45c778={};_0x45c778['auth']=_0x256340,_0x45c778[_0x2f9f39(0x1e4)]=_0x2475f3;const _0x3c7337=_0x45c778,_0x43601a={};_0x43601a[_0x2f9f39(0x1f6)]=_0x3197d1,_0x43601a[_0x2f9f39(0x264)]=!![];const _0x49ba7b=Object['assign'](_0x3c7337,_0x43601a),_0x5b0901=await bsSetupHelper[_0x2f9f39(0x238)](_0x185a86[_0x2f9f39(0x213)],_0x185a86[_0x2f9f39(0x1c5)],_0x49ba7b,_0x568be6,API_URL);let _0x587df2=process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'];return _0x587df2?_0x587df2=JSON[_0x2f9f39(0x18b)](process[_0x2f9f39(0x278)][_0x2f9f39(0x174)]):_0x587df2={},scripts[_0x2f9f39(0x26d)](_0x5b0901[_0x2f9f39(0x296)][_0x2f9f39(0x296)]),scripts[_0x2f9f39(0x1eb)](),_0x587df2['scannerVersion']=_0x5b0901['data'][_0x2f9f39(0x296)][_0x2f9f39(0x294)],process[_0x2f9f39(0x278)][_0x2f9f39(0x174)]=JSON[_0x2f9f39(0x1a8)](_0x587df2),[_0x5b0901[_0x2f9f39(0x296)][_0x2f9f39(0x296)][_0x2f9f39(0x26c)],_0x5b0901['data'][_0x2f9f39(0x296)]['id']];}catch(_0xf169be){if(_0xf169be['response'])logger[_0x2f9f39(0x281)](_0x2f9f39(0x210)+_0xf169be[_0x2f9f39(0x1ad)][_0x2f9f39(0x188)]+'\x20'+_0xf169be['response'][_0x2f9f39(0x252)]+'\x20'+JSON[_0x2f9f39(0x1a8)](_0xf169be[_0x2f9f39(0x1ad)][_0x2f9f39(0x296)]));else{if(_0x185a86['HkGEE'](_0xf169be[_0x2f9f39(0x204)],_0x185a86[_0x2f9f39(0x224)])){logger['error']('Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20'+(_0xf169be[_0x2f9f39(0x204)]||_0xf169be['stack']));for(const _0x4c8d62 of _0xf169be[_0x2f9f39(0x1f2)]){logger[_0x2f9f39(0x281)](_0x4c8d62[_0x2f9f39(0x204)]);}process['env'][_0x2f9f39(0x232)]=_0x185a86['OWXWj'],process[_0x2f9f39(0x278)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x185a86[_0x2f9f39(0x23b)];}else logger[_0x2f9f39(0x281)]('Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20'+(_0xf169be[_0x2f9f39(0x204)]||_0xf169be[_0x2f9f39(0x1bb)]));}return[null,null];}}),exports[a130_0x20cb64(0x282)]=PerformanceTester[a130_0x20cb64(0x1a1)](a130_0x20cb64(0x223),async function(_0x2e70f8){const _0x5dcc9a=a130_0x20cb64,_0x1033fb={};_0x1033fb[_0x5dcc9a(0x195)]=function(_0x246cee,_0x287061){return _0x246cee!==_0x287061;},_0x1033fb[_0x5dcc9a(0x16a)]=_0x5dcc9a(0x250),_0x1033fb['NDnkV']=_0x5dcc9a(0x281),_0x1033fb['cSlZo']=_0x5dcc9a(0x28e),_0x1033fb['hJyoe']='application/json',_0x1033fb[_0x5dcc9a(0x16b)]=_0x5dcc9a(0x1cd),_0x1033fb[_0x5dcc9a(0x19a)]=_0x5dcc9a(0x26a),_0x1033fb[_0x5dcc9a(0x26e)]=function(_0x39af43,_0x5dbc59){return _0x39af43+_0x5dbc59;},_0x1033fb['SQcEI']='Invalid\x20request:\x20',_0x1033fb[_0x5dcc9a(0x1af)]='success';const _0x55780b=_0x1033fb;if(bsSetupHelper[_0x5dcc9a(0x256)](process[_0x5dcc9a(0x278)][_0x5dcc9a(0x19c)])||_0x55780b[_0x5dcc9a(0x195)](typeof process[_0x5dcc9a(0x278)][_0x5dcc9a(0x19c)],_0x55780b['sIimc'])){const _0x2f5cd9={};return _0x2f5cd9[_0x5dcc9a(0x188)]=_0x55780b[_0x5dcc9a(0x17d)],_0x2f5cd9[_0x5dcc9a(0x204)]=_0x55780b[_0x5dcc9a(0x1b3)],_0x2f5cd9;}const _0x4e98e1={'endTime':new Date()[_0x5dcc9a(0x19e)]()},_0x3bbba2={};_0x3bbba2[_0x5dcc9a(0x1b7)]='Bearer\x20'+process[_0x5dcc9a(0x278)]['BS_A11Y_JWT'],_0x3bbba2[_0x5dcc9a(0x200)]=_0x55780b[_0x5dcc9a(0x1e1)];const _0x1ffe4c={};_0x1ffe4c[_0x5dcc9a(0x1e4)]=_0x3bbba2;const _0x219586=_0x1ffe4c,_0x3dbacd={};_0x3dbacd['body']=_0x4e98e1,_0x3dbacd[_0x5dcc9a(0x1d8)]=null,_0x3dbacd['json']=!![];const _0x332036=Object['assign'](_0x219586,_0x3dbacd);try{const _0x3186f3=await bsSetupHelper['nodeRequest'](_0x55780b['flzdX'],_0x55780b[_0x5dcc9a(0x19a)],_0x332036,_0x2e70f8,API_URL);if(_0x3186f3[_0x5dcc9a(0x296)]['error'])throw new Error(_0x55780b[_0x5dcc9a(0x26e)](_0x55780b[_0x5dcc9a(0x24a)],_0x3186f3[_0x5dcc9a(0x296)]['error']));else{logger[_0x5dcc9a(0x1ec)]('BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20'+new Date()[_0x5dcc9a(0x19e)]());const _0x36a67a={};return _0x36a67a[_0x5dcc9a(0x188)]=_0x55780b['iKOMG'],_0x36a67a[_0x5dcc9a(0x204)]='',_0x36a67a;}}catch(_0x28d170){_0x28d170[_0x5dcc9a(0x1ad)]?logger['error'](_0x5dcc9a(0x28b)+_0x28d170[_0x5dcc9a(0x1ad)][_0x5dcc9a(0x188)]+'\x20'+_0x28d170[_0x5dcc9a(0x1ad)][_0x5dcc9a(0x252)]+'\x20'+JSON['stringify'](_0x28d170[_0x5dcc9a(0x1ad)][_0x5dcc9a(0x296)])):logger[_0x5dcc9a(0x281)](_0x5dcc9a(0x28b)+(_0x28d170['message']||util[_0x5dcc9a(0x1aa)](_0x28d170)));const _0x3ab0ba={};return _0x3ab0ba[_0x5dcc9a(0x188)]=_0x55780b[_0x5dcc9a(0x17d)],_0x3ab0ba[_0x5dcc9a(0x204)]=_0x28d170[_0x5dcc9a(0x204)]||(_0x28d170['response']?_0x28d170['response'][_0x5dcc9a(0x188)]+':'+_0x28d170[_0x5dcc9a(0x1ad)]['statusText']:_0x28d170),_0x3ab0ba;}}),exports[a130_0x20cb64(0x2a1)]=async(_0x2214da,_0x4583b2=null,_0x38179f=![],_0x4ab159=null)=>{const _0x526acc=a130_0x20cb64,_0x8ec22c={};_0x8ec22c[_0x526acc(0x189)]=_0x526acc(0x251),_0x8ec22c[_0x526acc(0x19f)]='bstackA11yShouldScan',_0x8ec22c[_0x526acc(0x198)]=_0x526acc(0x191),_0x8ec22c[_0x526acc(0x1b1)]=function(_0x2942e9,_0x2742fd){return _0x2942e9||_0x2742fd;},_0x8ec22c[_0x526acc(0x21e)]=_0x526acc(0x253),_0x8ec22c[_0x526acc(0x21c)]='performScan:\x20Mobile\x20capabilities\x20added\x20to\x20scan\x20arguments';const _0x14b61e=_0x8ec22c;if(!this['isAccessibilityAutomationSession']()||!globals[_0x526acc(0x226)](_0x14b61e['ZptiH'])||!_0x38179f&&!globals[_0x526acc(0x226)](_0x14b61e[_0x526acc(0x19f)])){logger[_0x526acc(0x19d)](_0x14b61e[_0x526acc(0x198)]);return;}const _0x390014=_0x38179f?_0x14b61e[_0x526acc(0x1b1)](_0x4ab159,{}):globals[_0x526acc(0x226)](_0x14b61e[_0x526acc(0x21e)])||{},_0x5578ae={};_0x5578ae[_0x526acc(0x258)]=_0x4583b2||global['browserstackSessionName'];const _0x5e60b3=Object[_0x526acc(0x185)]({},_0x390014,_0x5578ae);await this[_0x526acc(0x22c)](_0x2214da)&&(Object[_0x526acc(0x185)](_0x5e60b3,this[_0x526acc(0x230)](),{'thTestRunUuid':this[_0x526acc(0x1c8)]()}),logger[_0x526acc(0x206)](_0x14b61e['WMcyK']));logger[_0x526acc(0x206)](_0x526acc(0x265)+util[_0x526acc(0x1aa)]('%j',_0x5e60b3));const _0x264a81={};return _0x264a81[_0x526acc(0x267)]=_0x4583b2,await PerformanceTester[_0x526acc(0x1a1)](PerformanceA11yEvents[_0x526acc(0x1fd)],async()=>{const _0x94cadb=_0x526acc;try{await _0x2214da['wait'](()=>_0x2214da[_0x94cadb(0x17b)](_0x94cadb(0x22a)),0x1388);}catch(_0x47f4fb){}const _0x3a1855=util[_0x94cadb(0x1aa)](await _0x2214da[_0x94cadb(0x27a)](scripts['performScan'],_0x5e60b3));return logger[_0x94cadb(0x206)](_0x94cadb(0x249)+_0x3a1855),_0x3a1855;},_0x264a81)();},exports[a130_0x20cb64(0x1d2)]=async(_0x438c9d,_0x2db910)=>{const _0x3ebde2=a130_0x20cb64,_0x36be25={'YwqUQ':_0x3ebde2(0x18a),'YQvkZ':_0x3ebde2(0x251),'HyhtN':_0x3ebde2(0x22e),'oPbeI':_0x3ebde2(0x1e2),'kZCDB':function(_0x57eaa8,_0x2a3271){return _0x57eaa8(_0x2a3271);},'turzi':_0x3ebde2(0x1c7),'BINip':_0x3ebde2(0x1d2),'cQThw':'No\x20accessibility\x20results\x20were\x20found.'};if(!this[_0x3ebde2(0x1f9)]()||!globals[_0x3ebde2(0x226)](_0x36be25[_0x3ebde2(0x1ee)])||!globals[_0x3ebde2(0x226)](_0x36be25[_0x3ebde2(0x20e)]))return logger['warn'](_0x36be25[_0x3ebde2(0x192)]),[];try{const _0xba320e=_0x36be25['kZCDB'](require,_0x36be25[_0x3ebde2(0x286)]),_0x21c209=_0xba320e[_0x3ebde2(0x25a)](),_0x2316aa=_0x21c209&&_0x21c209['getAccessibilityModule']();if(_0x2316aa&&_0x2316aa['isAppAccessibility']){const _0x46cb03=(await _0x438c9d[_0x3ebde2(0x255)]())[_0x3ebde2(0x1a6)]();let _0x2d7f06='';try{const _0x4bb783=_0x21c209[_0x3ebde2(0x1fa)]&&_0x21c209['getTestFramework']();_0x2d7f06=_0x4bb783&&_0x4bb783[_0x3ebde2(0x1fe)]&&_0x4bb783[_0x3ebde2(0x1fe)]()||'';}catch(_0x382395){}return logger[_0x3ebde2(0x206)]('[App-A11y]\x20getAccessibilityResults:\x20sessionId='+_0x46cb03+_0x3ebde2(0x1dd)+_0x2d7f06),await _0x2316aa['getAppAccessibilityResults'](_0x46cb03,_0x2d7f06);}const _0xf809eb=await this[_0x3ebde2(0x22c)](_0x438c9d),_0x30cec8=_0xf809eb?Object['assign']({},this['getMobileA11yCapabilities'](),{'thTestRunUuid':this[_0x3ebde2(0x1c8)]()}):{};return _0xf809eb&&logger[_0x3ebde2(0x206)](_0x3ebde2(0x1b5)+util[_0x3ebde2(0x1aa)]('%j',_0x30cec8)),await PerformanceTester[_0x3ebde2(0x1a1)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x546c8c=_0x3ebde2;logger['debug'](_0x36be25['YwqUQ']);const _0x5ef3af={};_0x5ef3af[_0x546c8c(0x258)]=_0x2db910[_0x546c8c(0x219)];const _0x59b310=Object['assign'](_0x5ef3af,_0x30cec8);logger[_0x546c8c(0x206)](util[_0x546c8c(0x1aa)](await _0x438c9d[_0x546c8c(0x27a)](scripts[_0x546c8c(0x2a1)],_0x59b310)));},{'command':_0x36be25[_0x3ebde2(0x26b)]})(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x3ebde2(0x197)],async()=>{const _0x4b1d73=_0x3ebde2,_0x356c03=_0xf809eb?await _0x438c9d[_0x4b1d73(0x27a)](scripts['getResults'],_0x30cec8):await _0x438c9d[_0x4b1d73(0x27a)](scripts[_0x4b1d73(0x1a3)]);return _0x356c03;})();}catch{return logger['error'](_0x36be25[_0x3ebde2(0x285)]),[];}},exports['getAccessibilityResultsSummary']=async(_0x2ce84a,_0xca979e)=>{const _0x48b15b=a130_0x20cb64,_0x29c619={'ZdDjN':'Performing\x20scan\x20before\x20getting\x20results\x20summary','nehIu':_0x48b15b(0x251),'JVSLl':_0x48b15b(0x22e),'OdglJ':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','HuZur':function(_0x2a0792,_0x392b32){return _0x2a0792(_0x392b32);},'CewNd':'../../bin/v2/browserstackCLI','axYyR':_0x48b15b(0x248),'JcHjV':'No\x20accessibility\x20summary\x20was\x20found.'};if(!this[_0x48b15b(0x1f9)]()||!globals[_0x48b15b(0x226)](_0x29c619['nehIu'])||!globals[_0x48b15b(0x226)](_0x29c619['JVSLl']))return logger[_0x48b15b(0x19d)](_0x29c619[_0x48b15b(0x1ca)]),{};try{const _0x3d4027=_0x29c619[_0x48b15b(0x246)](require,_0x29c619[_0x48b15b(0x18d)]),_0x1abed1=_0x3d4027[_0x48b15b(0x25a)](),_0x2c95d5=_0x1abed1&&_0x1abed1[_0x48b15b(0x229)]();if(_0x2c95d5&&_0x2c95d5[_0x48b15b(0x24c)]){const _0x90a0bd=(await _0x2ce84a[_0x48b15b(0x255)]())[_0x48b15b(0x1a6)]();let _0x4bfa50='';try{const _0x2e2798=_0x1abed1[_0x48b15b(0x1fa)]&&_0x1abed1[_0x48b15b(0x1fa)]();_0x4bfa50=_0x2e2798&&_0x2e2798['getCurrentTestUUID']&&_0x2e2798['getCurrentTestUUID']()||'';}catch(_0x1e4fc0){}return logger[_0x48b15b(0x206)](_0x48b15b(0x205)+_0x90a0bd+_0x48b15b(0x1dd)+_0x4bfa50),await _0x2c95d5[_0x48b15b(0x275)](_0x90a0bd,_0x4bfa50);}const _0x15b37a=await this[_0x48b15b(0x22c)](_0x2ce84a),_0x581abd=_0x15b37a?Object[_0x48b15b(0x185)]({},this['getMobileA11yCapabilities'](),{'thTestRunUuid':this['resolveMobileThTestRunUuid']()}):{};return _0x15b37a&&logger[_0x48b15b(0x206)](_0x48b15b(0x202)+util[_0x48b15b(0x1aa)]('%j',_0x581abd)),await PerformanceTester[_0x48b15b(0x1a1)](PerformanceA11yEvents[_0x48b15b(0x1fd)],async()=>{const _0xf8a8d3=_0x48b15b;logger[_0xf8a8d3(0x206)](_0x29c619[_0xf8a8d3(0x2a0)]);const _0x4d8252={};_0x4d8252[_0xf8a8d3(0x258)]=_0xca979e['browserstackSessionName'];const _0x378567=Object['assign'](_0x4d8252,_0x581abd);logger[_0xf8a8d3(0x206)](util[_0xf8a8d3(0x1aa)](await _0x2ce84a[_0xf8a8d3(0x27a)](scripts[_0xf8a8d3(0x2a1)],_0x378567)));},{'command':_0x29c619['axYyR']})(),await PerformanceTester[_0x48b15b(0x1a1)](PerformanceA11yEvents['GET_RESULTS_SUMMARY'],async()=>{const _0x2a4ac6=_0x48b15b,_0x39345f=_0x15b37a?await _0x2ce84a['executeAsyncScript'](scripts[_0x2a4ac6(0x175)],_0x581abd):await _0x2ce84a[_0x2a4ac6(0x27a)](scripts['getResultsSummary']);return _0x39345f;})();}catch{return logger[_0x48b15b(0x281)](_0x29c619[_0x48b15b(0x190)]),{};}},exports['isMobileAccessibilityPlatform']=(_0x42c97c,_0x1d2f5f=![])=>{const _0x5bc5bb=a130_0x20cb64,_0x2fda62={'xJJPp':function(_0x3f3e8b,_0x588d40){return _0x3f3e8b(_0x588d40);},'fkxxM':function(_0x55c1ff,_0x29ee84){return _0x55c1ff(_0x29ee84);},'DvKhF':_0x5bc5bb(0x19b),'NARAq':'platform','hupjY':function(_0x12f5b7,_0x42a74e){return _0x12f5b7!==_0x42a74e;},'NyVmb':'android','iUqDl':_0x5bc5bb(0x1d7),'VXUrZ':_0x5bc5bb(0x2a7),'PRrmy':_0x5bc5bb(0x1b2),'FuOMa':_0x5bc5bb(0x293)};try{if(!_0x42c97c)return![];const _0x5aa136=_0x4b8eda=>typeof _0x42c97c[_0x5bc5bb(0x1e8)]===_0x5bc5bb(0x24b)?_0x42c97c['get'](_0x4b8eda):_0x42c97c[_0x4b8eda],_0x2ec1a4=_0x2fda62[_0x5bc5bb(0x23e)](String,_0x2fda62['fkxxM'](_0x5aa136,_0x2fda62[_0x5bc5bb(0x22f)])||_0x2fda62['fkxxM'](_0x5aa136,_0x2fda62[_0x5bc5bb(0x22b)])||'')[_0x5bc5bb(0x199)]();if(_0x2fda62['hupjY'](_0x2ec1a4,_0x2fda62[_0x5bc5bb(0x279)]))return![];const _0x2c49e9=_0x2fda62[_0x5bc5bb(0x245)](String,_0x2fda62[_0x5bc5bb(0x245)](_0x5aa136,_0x2fda62['iUqDl'])||'')[_0x5bc5bb(0x199)]();if(!_0x2c49e9['includes'](_0x2fda62[_0x5bc5bb(0x284)]))return _0x1d2f5f&&logger[_0x5bc5bb(0x19d)](_0x2fda62['PRrmy']),![];return logger['debug'](_0x2fda62[_0x5bc5bb(0x288)]),!![];}catch(_0x585094){return logger[_0x5bc5bb(0x206)](_0x5bc5bb(0x2a3)+_0x585094),![];}},exports['isMobileAccessibilitySession']=async _0x33ffc6=>{const _0x12c603=a130_0x20cb64;try{const _0x45d4c5=await _0x33ffc6[_0x12c603(0x299)]();return exports[_0x12c603(0x234)](_0x45d4c5);}catch(_0x14a4f3){return logger[_0x12c603(0x206)]('Error\x20checking\x20mobile\x20accessibility\x20session:\x20'+_0x14a4f3),![];}},exports['getMobileA11yCapabilities']=()=>{const _0x15b5f1={};return _0x15b5f1['is_mobile_session']=!![],_0x15b5f1;},exports[a130_0x20cb64(0x1c8)]=()=>{const _0x3fec89=a130_0x20cb64,_0x1a6238={};_0x1a6238[_0x3fec89(0x17a)]=function(_0x50df78,_0x5bcbd8){return _0x50df78===_0x5bcbd8;},_0x1a6238['epoPi']='string',_0x1a6238[_0x3fec89(0x257)]=function(_0x3ed566,_0x57a231){return _0x3ed566>_0x57a231;},_0x1a6238[_0x3fec89(0x1f8)]=_0x3fec89(0x298),_0x1a6238[_0x3fec89(0x1ab)]=_0x3fec89(0x18c),_0x1a6238[_0x3fec89(0x20d)]=function(_0x43bdd1,_0x16d877){return _0x43bdd1===_0x16d877;},_0x1a6238[_0x3fec89(0x1ae)]=_0x3fec89(0x1f3);const _0x3e7b3b=_0x1a6238,_0x4053aa=global['__workerDetails'],_0x31ee57=_0x4053aa&&_0x4053aa[_0x3fec89(0x2a5)],_0xc9ba5c=_0x31ee57&&_0x31ee57[_0x3fec89(0x1c3)];if(_0x3e7b3b[_0x3fec89(0x17a)](typeof _0xc9ba5c,_0x3e7b3b[_0x3fec89(0x273)])&&_0x3e7b3b[_0x3fec89(0x257)](_0xc9ba5c[_0x3fec89(0x25e)],0x0))return _0xc9ba5c;let _0x5cb632;if(!_0x4053aa)_0x5cb632=_0x3e7b3b[_0x3fec89(0x1f8)];else!_0x31ee57?_0x5cb632=_0x3e7b3b['YRkBG']:_0x5cb632='global.__workerDetails.currentTest\x20exists\x20with\x20keys\x20['+Object[_0x3fec89(0x201)](_0x31ee57)[_0x3fec89(0x277)](',\x20')+_0x3fec89(0x179)+(_0x3e7b3b['yramv'](_0xc9ba5c,undefined)?_0x3e7b3b[_0x3fec89(0x1ae)]:'\x22'+_0xc9ba5c+'\x22')+'.\x20The\x20framework\x20setup\x20hook\x20is\x20not\x20writing\x20thTestRunUuid\x20onto\x20currentTest.';return logger['warn'](_0x3fec89(0x1e5)+_0x5cb632+'\x20The\x20on-device\x20scan\x20will\x20POST\x20to\x20/api/test_cases/save_intermediate_results\x20with\x20an\x20empty\x20th_test_run_uuid\x20and\x20fail\x20validation\x20(HTTP\x20422).\x20Fix\x20the\x20framework\x20setup\x20hook\x20that\x20should\x20pre-populate\x20global.__workerDetails.currentTest.thTestRunUuid.'),'';},exports['isBrowserStackCommandExecutor']=_0x47d241=>{const _0x11c074=a130_0x20cb64,_0x3a903d={};_0x3a903d[_0x11c074(0x194)]=function(_0x36f009,_0x3d40c7){return _0x36f009===_0x3d40c7;},_0x3a903d[_0x11c074(0x295)]='string',_0x3a903d[_0x11c074(0x274)]=_0x11c074(0x20a);const _0x3e5065=_0x3a903d;if(_0x47d241&&_0x47d241[_0x11c074(0x1f1)]&&_0x3e5065[_0x11c074(0x194)](typeof _0x47d241[_0x11c074(0x1f1)],_0x3e5065[_0x11c074(0x295)]))return _0x47d241[_0x11c074(0x1f1)][_0x11c074(0x1ea)](_0x3e5065[_0x11c074(0x274)]);return![];},exports[a130_0x20cb64(0x1c2)]=a130_0x20cb64(0x1b4),exports['isMobileScanningEnabledForGroup']=()=>process[a130_0x20cb64(0x278)][a130_0x20cb64(0x2a2)]===a130_0x20cb64(0x227),exports['isBrowserSupportedForAccessibility']=_0x7bb390=>{const _0x16af81=a130_0x20cb64,_0x6fcc0d={};_0x6fcc0d[_0x16af81(0x208)]=function(_0x5be67d,_0x19c94f){return _0x5be67d in _0x19c94f;};const _0x22b729=_0x6fcc0d;if(bsSetupHelper[_0x16af81(0x256)](_0x7bb390))return![];const _0x573679=_0x7bb390[_0x16af81(0x199)]();return _0x22b729[_0x16af81(0x208)](_0x573679,ACCESSIBILITY_SUPPORTED_BROWSERS);},exports[a130_0x20cb64(0x1e7)]=_0x482d91=>{const _0x9433fb=a130_0x20cb64;if(bsSetupHelper[_0x9433fb(0x256)](_0x482d91))return null;const _0x3689a1=_0x482d91[_0x9433fb(0x199)]();return ACCESSIBILITY_SUPPORTED_BROWSERS[_0x3689a1]||null;},exports[a130_0x20cb64(0x242)]=(_0xac9708,_0x206fa8)=>{const _0x3a2d80=a130_0x20cb64,_0x396dea=this['getBrowserA11yConfig'](_0xac9708);if(!_0x396dea)return null;if(_0x206fa8)return _0x396dea['min_version_browserstack'];return _0x396dea[_0x3a2d80(0x20f)];},exports[a130_0x20cb64(0x1b8)]=_0x2c836a=>{const _0x42f45a=a130_0x20cb64,_0x30ed85=this[_0x42f45a(0x1e7)](_0x2c836a);return _0x30ed85?_0x30ed85[_0x42f45a(0x16c)]:_0x2c836a;},exports[a130_0x20cb64(0x1ff)]=_0x450436=>{const _0x1fd0f6=a130_0x20cb64,_0x34e43c=this[_0x1fd0f6(0x1e7)](_0x450436);return _0x34e43c?_0x34e43c['requires_chrome_options_check']:![];},exports['isVersionSupported']=(_0x20f27b,_0x308150)=>{const _0x705c97=a130_0x20cb64,_0x2c2a3e={'Pvfhx':function(_0x2400be,_0x356862){return _0x2400be(_0x356862);},'yXjpL':function(_0x3f6aa0,_0x10cf74){return _0x3f6aa0(_0x10cf74);},'XrdAi':function(_0x5f4c1d,_0x1e9bb7){return _0x5f4c1d>=_0x1e9bb7;}};if(bsSetupHelper[_0x705c97(0x256)](_0x20f27b)||bsSetupHelper[_0x705c97(0x256)](_0x308150))return![];const _0x3f2432=bsSetupHelper[_0x705c97(0x196)](_0x2c2a3e[_0x705c97(0x27d)](String,_0x20f27b),_0x2c2a3e['yXjpL'](String,_0x308150));return _0x2c2a3e[_0x705c97(0x2a6)](_0x3f2432,0x0);},exports['parseA11yJwtPayload']=_0x3fb4cd=>{const _0x2ee4f9=a130_0x20cb64,_0x400852={};_0x400852[_0x2ee4f9(0x259)]=function(_0x157221,_0x436837){return _0x157221!==_0x436837;},_0x400852['sJnmb']=_0x2ee4f9(0x250),_0x400852['xmtDq']=_0x2ee4f9(0x24e);const _0x2db721=_0x400852;if(!_0x3fb4cd||_0x2db721['zPSDt'](typeof _0x3fb4cd,_0x2db721[_0x2ee4f9(0x268)]))return null;try{return JSON[_0x2ee4f9(0x18b)](Buffer[_0x2ee4f9(0x1a5)](_0x3fb4cd[_0x2ee4f9(0x1be)]('.')[0x1],_0x2db721[_0x2ee4f9(0x231)])[_0x2ee4f9(0x186)]());}catch{return null;}};
|