browserstack-node-sdk 1.63.6 → 1.64.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/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/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/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/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/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/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/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/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/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/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a122_0x3f9d6a=a122_0x6ea5;function a122_0x6ea5(_0x57c841,_0x2b0498){const _0x31b870=a122_0x31b8();return a122_0x6ea5=function(_0x6ea566,_0x194aae){_0x6ea566=_0x6ea566-0x1ed;let _0x218bb9=_0x31b870[_0x6ea566];return _0x218bb9;},a122_0x6ea5(_0x57c841,_0x2b0498);}(function(_0x2a9418,_0x4ba2a4){const _0x590ecc=a122_0x6ea5,_0x5c92e2=_0x2a9418();while(!![]){try{const _0x493fd9=-parseInt(_0x590ecc(0x2b0))/0x1*(-parseInt(_0x590ecc(0x2ad))/0x2)+-parseInt(_0x590ecc(0x295))/0x3*(-parseInt(_0x590ecc(0x237))/0x4)+-parseInt(_0x590ecc(0x2dd))/0x5+parseInt(_0x590ecc(0x2a1))/0x6*(-parseInt(_0x590ecc(0x1fb))/0x7)+-parseInt(_0x590ecc(0x2ab))/0x8+-parseInt(_0x590ecc(0x262))/0x9*(-parseInt(_0x590ecc(0x2c6))/0xa)+-parseInt(_0x590ecc(0x2cc))/0xb*(-parseInt(_0x590ecc(0x21e))/0xc);if(_0x493fd9===_0x4ba2a4)break;else _0x5c92e2['push'](_0x5c92e2['shift']());}catch(_0x10f6c6){_0x5c92e2['push'](_0x5c92e2['shift']());}}}(a122_0x31b8,0x8d747));const util=require('util'),os=require('os'),path=require(a122_0x3f9d6a(0x2d1)),{v4:uuidv4}=require(a122_0x3f9d6a(0x249)),fs=require('fs'),constants=require(a122_0x3f9d6a(0x2d7)),logger=require(a122_0x3f9d6a(0x301))[a122_0x3f9d6a(0x297)],fileLogger=require('./logger')[a122_0x3f9d6a(0x233)],{getLogDir}=require(a122_0x3f9d6a(0x301)),helper=require('./helper'),utilities=require(a122_0x3f9d6a(0x257)),percyHelper=require(a122_0x3f9d6a(0x274)),hubAllocator=require('../hubAllocationMethods'),PerformanceTester=require(a122_0x3f9d6a(0x2dc)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents}=require(a122_0x3f9d6a(0x25c)),{setPercyFlag}=require('./testhub/utils'),TestHubHandler=require(a122_0x3f9d6a(0x250)),timeoutPromise=require(a122_0x3f9d6a(0x259)),BrowserstackCLI=require(a122_0x3f9d6a(0x2c7)),LoadTestModule=require('../bin/v2/modules/loadTestModule'),{getEdsInstrumentationAPIUrl}=require(a122_0x3f9d6a(0x2db)),ClientTroubleShootingService=require(a122_0x3f9d6a(0x313));class BrowserStackSetup{constructor(_0x26a2f9,_0x2b659b){const _0x344cee=a122_0x3f9d6a,_0x5d9161={'shdGS':_0x344cee(0x2bd),'QSqfU':function(_0x2a7358){return _0x2a7358();},'iSHzY':function(_0x3e4f39,_0x23d674){return _0x3e4f39(_0x23d674);},'XvVyQ':_0x344cee(0x2f1),'WAXfR':_0x344cee(0x1f4)},_0x40a23b=_0x5d9161[_0x344cee(0x29a)][_0x344cee(0x29c)]('|');let _0x21b625=0x0;while(!![]){switch(_0x40a23b[_0x21b625++]){case'0':this[_0x344cee(0x291)]=_0x5d9161[_0x344cee(0x2d6)](uuidv4);continue;case'1':helper['setLogLevel'](this['config'],this['cliConfig'],this[_0x344cee(0x1f9)]);continue;case'2':try{_0x5d9161[_0x344cee(0x215)](require,_0x5d9161[_0x344cee(0x2da)])['setupCaCertificate'](this[_0x344cee(0x20f)],logger);}catch(_0x3dbb32){}continue;case'3':this[_0x344cee(0x20f)][_0x344cee(0x2c2)]=this[_0x344cee(0x20f)][_0x344cee(0x2c2)]||{};continue;case'4':this[_0x344cee(0x1f1)]=_0x2b659b;continue;case'5':helper[_0x344cee(0x263)](this[_0x344cee(0x20f)],this[_0x344cee(0x1f1)]);continue;case'6':if(this[_0x344cee(0x20f)][_0x344cee(0x230)])throw new Error(this[_0x344cee(0x20f)][_0x344cee(0x230)]);continue;case'7':this[_0x344cee(0x20f)][_0x344cee(0x223)]=this[_0x344cee(0x20f)]['platforms']||[];continue;case'8':helper['setCredentialsFromYmlConfig'](this[_0x344cee(0x20f)]);continue;case'9':helper['setLogDir'](this[_0x344cee(0x20f)]);continue;case'10':helper[_0x344cee(0x25e)](this[_0x344cee(0x20f)],this['cliConfig']);continue;case'11':this[_0x344cee(0x225)]=helper['getConfigPath'](_0x26a2f9);continue;case'12':helper[_0x344cee(0x22a)](this['config'],this[_0x344cee(0x24d)],this['envConfig']);continue;case'13':global[_0x344cee(0x1f1)]=_0x2b659b;continue;case'14':this['errorMessage']={};continue;case'15':this['config']['testContextOptions'][_0x344cee(0x296)]=!helper['isBrowserstackInfra']()||helper['isTrue'](this[_0x344cee(0x20f)][_0x344cee(0x2c2)]['skipSessionStatus']);continue;case'16':this['percy']=null;continue;case'17':helper[_0x344cee(0x23c)]();continue;case'18':this[_0x344cee(0x1f9)]=helper[_0x344cee(0x25f)]();continue;case'19':PerformanceTester[_0x344cee(0x2be)]();continue;case'20':this['unhandledErrors']=[];continue;case'21':this[_0x344cee(0x20f)]=helper[_0x344cee(0x302)](this[_0x344cee(0x225)]);continue;case'22':this[_0x344cee(0x266)]=null;continue;case'23':if(helper[_0x344cee(0x288)](this['config']))throw new Error(_0x5d9161['WAXfR']);continue;case'24':this[_0x344cee(0x24d)]=helper[_0x344cee(0x222)](_0x26a2f9);continue;case'25':this[_0x344cee(0x20f)][_0x344cee(0x2c2)][_0x344cee(0x2c4)]=!helper[_0x344cee(0x2ba)]()||helper[_0x344cee(0x2d8)](this[_0x344cee(0x20f)][_0x344cee(0x2c2)][_0x344cee(0x2c4)]);continue;case'26':helper[_0x344cee(0x279)](this['config'],this[_0x344cee(0x24d)],this[_0x344cee(0x1f9)]);continue;}break;}}['preInitialize'](_0x10aca3){const _0x4238f9=a122_0x3f9d6a,_0x37796c={'BVZoJ':_0x4238f9(0x25b),'icwAo':function(_0x30a960,_0x51f3ad){return _0x30a960===_0x51f3ad;},'XhPbm':_0x4238f9(0x318),'oSVDa':_0x4238f9(0x24b),'mTnFZ':function(_0x136236,_0x28f62a){return _0x136236<_0x28f62a;},'EbAbR':function(_0x579ebe,_0x2495e4){return _0x579ebe(_0x2495e4);},'pCVUt':'selenium-webdriver','uWAsO':function(_0x2c04c6,_0xa4503d){return _0x2c04c6===_0xa4503d;},'gvHMr':_0x4238f9(0x210),'xCMJa':_0x4238f9(0x2c1),'Erimn':_0x4238f9(0x213),'aGdYG':_0x4238f9(0x2f7),'KlXpW':_0x4238f9(0x29e),'PHMho':_0x4238f9(0x30f),'oFuYs':function(_0x5f26ac,_0x5c18bd){return _0x5f26ac!==_0x5c18bd;},'bPVmM':_0x4238f9(0x205),'CwJcB':_0x4238f9(0x2ec),'PkmBf':'SIGQUIT','KKKDj':_0x4238f9(0x2cb),'ZUfTS':'beforeExit'},_0x5b9caa=this[_0x4238f9(0x1f1)];global[_0x4238f9(0x20f)]=this[_0x4238f9(0x20f)],helper[_0x4238f9(0x1f0)](this[_0x4238f9(0x20f)]),this['killSignal']=null,global[_0x4238f9(0x291)]=this[_0x4238f9(0x291)],logger[_0x4238f9(0x1f7)]('SDK\x20run\x20started\x20with\x20id:\x20'+this[_0x4238f9(0x291)]),!this[_0x4238f9(0x20f)]['browserStackLocalOptions']&&(this[_0x4238f9(0x20f)][_0x4238f9(0x26e)]=this[_0x4238f9(0x20f)][_0x4238f9(0x2ac)]||{});if(helper[_0x4238f9(0x288)](helper[_0x4238f9(0x2c0)](this[_0x4238f9(0x20f)]))||helper[_0x4238f9(0x288)](helper[_0x4238f9(0x2cf)](this[_0x4238f9(0x20f)])))throw new Error(_0x37796c[_0x4238f9(0x21b)]);helper['getLocalConfig'](this[_0x4238f9(0x20f)])&&helper[_0x4238f9(0x288)](helper[_0x4238f9(0x2e7)](this[_0x4238f9(0x20f)]))&&(!helper[_0x4238f9(0x288)](this[_0x4238f9(0x20f)][_0x4238f9(0x26e)])&&_0x37796c[_0x4238f9(0x2b7)](this[_0x4238f9(0x20f)][_0x4238f9(0x26e)][_0x4238f9(0x282)],Object)?!helper[_0x4238f9(0x2d8)](this[_0x4238f9(0x20f)]['browserStackLocalOptions'][_0x4238f9(0x2aa)])&&(this[_0x4238f9(0x20f)]['browserStackLocalOptions']['localIdentifier']=helper[_0x4238f9(0x28f)]()):this[_0x4238f9(0x20f)][_0x4238f9(0x26e)]={'localIdentifier':helper[_0x4238f9(0x28f)]()});this[_0x4238f9(0x20f)][_0x4238f9(0x26e)]['skipBinaryInitialisation']=helper[_0x4238f9(0x2d8)](this['config'][_0x4238f9(0x26e)]['skipBinaryInitialisation']),helper[_0x4238f9(0x1f6)](this[_0x4238f9(0x20f)]);if(_0x37796c[_0x4238f9(0x2b7)](_0x5b9caa,_0x37796c[_0x4238f9(0x2bb)]))return;this[_0x4238f9(0x26b)]();process[_0x4238f9(0x27b)][_0x4238f9(0x1ee)]&&(this[_0x4238f9(0x20f)][_0x4238f9(0x253)]=helper[_0x4238f9(0x2d8)](process[_0x4238f9(0x27b)][_0x4238f9(0x1ee)]),this[_0x4238f9(0x20f)]['turboScaleOptions']=this[_0x4238f9(0x20f)][_0x4238f9(0x22c)]||{});helper[_0x4238f9(0x30b)](this['config'])&&(process[_0x4238f9(0x27b)]['BROWSERSTACK_TURBOSCALE']=!![]);LoadTestModule['isLTSSession'](this[_0x4238f9(0x20f)])&&logger['debug'](_0x4238f9(0x2b6)+this[_0x4238f9(0x291)]);if(!helper['isBrowserstackInfra']()){try{process[_0x4238f9(0x27b)][_0x4238f9(0x246)]=_0x5b9caa,utilities['fireFunnelTestEvent'](_0x37796c[_0x4238f9(0x2a0)],{},this[_0x4238f9(0x20f)],this['framework']);}catch(_0x1abfea){logger[_0x4238f9(0x2f6)]('Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20'+_0x1abfea);}return;}if(helper[_0x4238f9(0x2df)](_0x5b9caa)){if(global[_0x4238f9(0x303)]||global[_0x4238f9(0x228)])return;_0x37796c[_0x4238f9(0x30a)](_0x37796c[_0x4238f9(0x317)](parseInt,helper[_0x4238f9(0x278)](_0x37796c['pCVUt'])),0x3)&&(this[_0x4238f9(0x20f)]['useW3C']=![]),_0x37796c[_0x4238f9(0x240)](helper[_0x4238f9(0x201)](helper[_0x4238f9(0x278)](_0x37796c[_0x4238f9(0x2de)]),_0x37796c[_0x4238f9(0x200)]),0x1)&&(this[_0x4238f9(0x20f)]['useW3C']=!![]);}(helper['isUndefined'](this[_0x4238f9(0x20f)]['platforms'])||helper[_0x4238f9(0x288)](this[_0x4238f9(0x20f)][_0x4238f9(0x223)][_0x4238f9(0x264)]))&&(helper[_0x4238f9(0x288)](this[_0x4238f9(0x20f)]['parallelsPerPlatform'])?logger[_0x4238f9(0x1f7)](_0x37796c[_0x4238f9(0x2b8)]):logger['warn'](_0x37796c['Erimn']),this[_0x4238f9(0x20f)][_0x4238f9(0x223)]=[]);!this[_0x4238f9(0x20f)]['testContextOptions']&&(this[_0x4238f9(0x20f)]['testContextOptions']={});try{process['env'][_0x4238f9(0x246)]=_0x10aca3['_'][0x0],utilities[_0x4238f9(0x312)](_0x37796c[_0x4238f9(0x2a0)],{},this[_0x4238f9(0x20f)],this[_0x4238f9(0x1f1)]);}catch(_0x5efa4d){logger[_0x4238f9(0x2f6)](_0x4238f9(0x216)+_0x5efa4d);}!this[_0x4238f9(0x20f)]['disableAutoCaptureLogs']&&logger[_0x4238f9(0x1f7)](constants[_0x4238f9(0x299)]),this[_0x4238f9(0x20a)]=this[_0x4238f9(0x20a)][_0x4238f9(0x23f)](this),process['on'](_0x37796c[_0x4238f9(0x305)],this['intExitHandler']),process['on'](_0x37796c[_0x4238f9(0x242)],this[_0x4238f9(0x20a)]),process['on'](_0x37796c[_0x4238f9(0x252)],this[_0x4238f9(0x20a)]),_0x37796c[_0x4238f9(0x219)](process['platform'],_0x37796c[_0x4238f9(0x21d)])?(process['on'](_0x37796c[_0x4238f9(0x2a3)],this['intExitHandler']),process['on'](_0x37796c[_0x4238f9(0x22d)],this[_0x4238f9(0x20a)])):process['on'](_0x37796c[_0x4238f9(0x20e)],this[_0x4238f9(0x20a)]),process['on'](_0x37796c[_0x4238f9(0x23b)],this['exitHandler']());}async[a122_0x3f9d6a(0x1fd)](_0x38df8c){const _0x413479=a122_0x3f9d6a,_0x8efbf0={'Ckmqb':_0x413479(0x2d5),'SyjuZ':_0x413479(0x1ef),'qSKhJ':_0x413479(0x2f3),'iHrht':function(_0x27ad0a,_0x104ce2){return _0x27ad0a===_0x104ce2;},'jXeSC':_0x413479(0x2bf),'XyhZw':function(_0x4b5aa0,_0x48825e){return _0x4b5aa0+_0x48825e;},'WTmJZ':_0x413479(0x217),'rpVka':function(_0x4bd076,_0x38b37c){return _0x4bd076(_0x38b37c);},'KBDdM':_0x413479(0x27a)};this[_0x413479(0x292)](_0x38df8c);if(helper['isTurboScaleSession'](this[_0x413479(0x20f)])){const _0xb8b901=await helper[_0x413479(0x27d)](this['config']);this['config']['turboScaleGridDetails']=_0xb8b901,_0xb8b901[_0x413479(0x23e)]&&helper['isNotUndefined'](this['config'][_0x413479(0x266)])&&helper[_0x413479(0x2d8)](this[_0x413479(0x20f)][_0x413479(0x266)])&&(this[_0x413479(0x20f)][_0x413479(0x26e)][_0x413479(0x224)]=_0x8efbf0[_0x413479(0x26c)],this[_0x413479(0x20f)][_0x413479(0x26e)][_0x8efbf0[_0x413479(0x220)]]=_0xb8b901['customRepeaters']['join'](','),this[_0x413479(0x20f)][_0x413479(0x26e)][_0x413479(0x20c)]=_0x8efbf0[_0x413479(0x244)]),this[_0x413479(0x20f)]['turboScaleUrl']=_0xb8b901[_0x413479(0x232)],this['framework']&&_0x8efbf0[_0x413479(0x1f3)](this[_0x413479(0x1f1)]['toLowerCase'](),_0x8efbf0['jXeSC'])?this[_0x413479(0x20f)][_0x413479(0x207)]=_0x8efbf0[_0x413479(0x204)](_0xb8b901[_0x413479(0x2c8)],_0x8efbf0['WTmJZ']):constants[_0x413479(0x289)]=helper['getHubUrl'](this['config']),logger['debug'](_0x413479(0x269)+constants[_0x413479(0x289)]);}helper[_0x413479(0x2ca)](this[_0x413479(0x20f)]),this[_0x413479(0x27f)](),_0x8efbf0[_0x413479(0x258)](setPercyFlag,this),![_0x8efbf0[_0x413479(0x2af)],_0x8efbf0['jXeSC']][_0x413479(0x26f)](this[_0x413479(0x1f1)])&&!helper[_0x413479(0x30b)](this[_0x413479(0x20f)])&&!helper[_0x413479(0x2d9)]()[_0x413479(0x29f)]&&await this[_0x413479(0x2cd)]();}async[a122_0x3f9d6a(0x2a4)](){const _0x4016ae=a122_0x3f9d6a,_0x74f983={};_0x74f983[_0x4016ae(0x284)]=function(_0x432adf,_0x4594c1){return _0x432adf===_0x4594c1;},_0x74f983[_0x4016ae(0x283)]=_0x4016ae(0x2f2),_0x74f983[_0x4016ae(0x248)]=_0x4016ae(0x243),_0x74f983[_0x4016ae(0x2ce)]=_0x4016ae(0x2e6),_0x74f983[_0x4016ae(0x2a9)]=_0x4016ae(0x2f3),_0x74f983[_0x4016ae(0x309)]=_0x4016ae(0x265);const _0x311105=_0x74f983;if(helper[_0x4016ae(0x2d8)](this[_0x4016ae(0x20f)]['percy'])&&(!this['percy']||!this['percy'][_0x4016ae(0x2ed)]()))try{this[_0x4016ae(0x238)]=await percyHelper[_0x4016ae(0x27e)](this[_0x4016ae(0x20f)]);if(!this[_0x4016ae(0x238)]){process[_0x4016ae(0x27b)][_0x4016ae(0x30e)]=_0x311105[_0x4016ae(0x283)];throw new Error(_0x311105[_0x4016ae(0x248)]);}logger[_0x4016ae(0x1f7)](_0x311105[_0x4016ae(0x2ce)]),process[_0x4016ae(0x27b)][_0x4016ae(0x30e)]=_0x311105[_0x4016ae(0x2a9)];let _0xf925d4=0x0;const _0xee904c=async()=>{const _0x12f693=_0x4016ae;_0xf925d4++,_0x311105[_0x12f693(0x284)](_0xf925d4,0x1)&&await this['stopPercy']();};process['on'](_0x311105[_0x4016ae(0x309)],_0xee904c);}catch(_0x41bc87){process['env'][_0x4016ae(0x30e)]=_0x311105[_0x4016ae(0x283)],logger[_0x4016ae(0x2f6)](_0x4016ae(0x26d)+_0x41bc87);throw new Error(_0x41bc87['toString']());}}async['stopPercy'](){const _0x366daa=a122_0x3f9d6a,_0x2a1b9b={};_0x2a1b9b[_0x366daa(0x255)]=_0x366daa(0x2e4),_0x2a1b9b[_0x366daa(0x267)]=_0x366daa(0x1fe);const _0x52ad99=_0x2a1b9b;if(this[_0x366daa(0x238)]&&this[_0x366daa(0x238)][_0x366daa(0x2ed)]())try{await percyHelper['stopPercy'](this[_0x366daa(0x238)]),logger['info'](_0x52ad99[_0x366daa(0x255)]);}catch(_0xaddee){logger[_0x366daa(0x230)](_0x52ad99[_0x366daa(0x267)],_0xaddee[_0x366daa(0x25d)]);}}async[a122_0x3f9d6a(0x209)](){const _0x264ff7=a122_0x3f9d6a,_0x4300e5={};_0x4300e5[_0x264ff7(0x211)]=_0x264ff7(0x272),_0x4300e5[_0x264ff7(0x2ff)]=_0x264ff7(0x2ea);const _0x119068=_0x4300e5;if(helper[_0x264ff7(0x2ba)]()&&helper[_0x264ff7(0x2d8)](this[_0x264ff7(0x20f)][_0x264ff7(0x266)])&&(!this[_0x264ff7(0x266)]||!this[_0x264ff7(0x266)][_0x264ff7(0x2ed)]()))try{if(this[_0x264ff7(0x20f)][_0x264ff7(0x26e)][_0x264ff7(0x2aa)]){logger[_0x264ff7(0x2f6)](_0x119068['ropeQ']);return;}this[_0x264ff7(0x266)]=await helper['startLocalBinary'](this['config']),logger[_0x264ff7(0x1f7)](_0x119068[_0x264ff7(0x2ff)]);}catch(_0x121ab2){logger[_0x264ff7(0x2f6)](_0x121ab2);throw new Error(_0x121ab2[_0x264ff7(0x307)]());}}async['stopBrowserstackLocal'](){const _0x256173=a122_0x3f9d6a,_0x356d5f={};_0x356d5f[_0x256173(0x2b9)]='Local\x20binary\x20stopped',_0x356d5f[_0x256173(0x2b3)]=_0x256173(0x285);const _0x48574a=_0x356d5f;if(this[_0x256173(0x266)]&&this[_0x256173(0x266)][_0x256173(0x2ed)]())try{await helper[_0x256173(0x2f8)](this[_0x256173(0x266)]),logger['info'](_0x48574a['tbErG']);}catch(_0x30993b){logger[_0x256173(0x230)](_0x48574a[_0x256173(0x2b3)],_0x30993b['message']);}}async[a122_0x3f9d6a(0x2cd)](){const _0x1a12ea=a122_0x3f9d6a;return PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x1a12ea(0x2b4)],async()=>{const _0x1afe1d=_0x1a12ea;await hubAllocator[_0x1afe1d(0x27c)](this[_0x1afe1d(0x20f)]);})();}async[a122_0x3f9d6a(0x241)](){const _0x180f0e=a122_0x3f9d6a,_0x168004={'dAoxF':function(_0x3046a3,_0x5075ef){return _0x3046a3(_0x5075ef);},'LGrmd':_0x180f0e(0x2a8),'NncST':function(_0x18a761,_0x32b710,_0x345ed7,_0x453816,_0x59dbed,_0x1f4376,_0x50ab48){return _0x18a761(_0x32b710,_0x345ed7,_0x453816,_0x59dbed,_0x1f4376,_0x50ab48);},'NoOlz':_0x180f0e(0x2ee),'EIOLO':_0x180f0e(0x280),'GHqKg':function(_0x383d6c,_0x279511){return _0x383d6c(_0x279511);},'YlbVc':_0x180f0e(0x275),'OKyqr':'BrowserstackHealing.init','qyIRR':function(_0xfd2641,_0x5ba9d7){return _0xfd2641===_0x5ba9d7;},'jtsfB':_0x180f0e(0x2f3),'AxXok':function(_0x525f59,_0x29db59){return _0x525f59===_0x29db59;},'YJZhw':_0x180f0e(0x235),'tDKlU':_0x180f0e(0x2fc),'GApCr':'Authentication\x20Failed.\x20Disabling\x20Healing\x20for\x20this\x20session.','urEWl':function(_0x43297f,_0x5a3756){return _0x43297f(_0x5a3756);},'dAqAD':'Healing\x20is\x20not\x20enabled\x20for\x20your\x20group,\x20please\x20contact\x20the\x20admin','ZYihV':function(_0x428448,_0x4ef002){return _0x428448>=_0x4ef002;},'mKyNt':function(_0x5a1a3e,_0xb5f249){return _0x5a1a3e<_0xb5f249;},'zQped':_0x180f0e(0x281),'sIuXw':_0x180f0e(0x2d2),'vYUCB':function(_0xba42e1){return _0xba42e1();}},_0x4f019c=PerformanceTester[_0x180f0e(0x314)](_0x168004['sIuXw'],async()=>{const _0x151cba=_0x180f0e;try{const _0x42923e=new Date(),_0x5c11d8=helper['getProxyConfigForTcg'](this[_0x151cba(0x20f)]),_0xa26359=_0x168004[_0x151cba(0x2e9)](require,path['join'](__dirname,_0x168004[_0x151cba(0x214)])),_0x1d71be=_0x168004[_0x151cba(0x221)](timeoutPromise,constants[_0x151cba(0x20b)],_0x168004[_0x151cba(0x260)],_0x168004['EIOLO'],_0x42923e,this['config'],this[_0x151cba(0x1f1)]),_0x7a234f={'tcgUrl':constants[_0x151cba(0x2ef)],'sdkVersion':_0x168004[_0x151cba(0x2fb)](require,_0x168004[_0x151cba(0x270)])['version'],'methodUsed':_0x168004[_0x151cba(0x227)],'proxyConfig':_0x5c11d8,'os':os[_0x151cba(0x2b1)]()};if(_0x5c11d8&&_0x5c11d8[_0x151cba(0x287)]){utilities[_0x151cba(0x312)](constants[_0x151cba(0x306)],_0x7a234f,this[_0x151cba(0x20f)],this['framework']),_0x1d71be[_0x151cba(0x256)]();return;}const _0x52a248={};_0x52a248[_0x151cba(0x2e1)]=_0x5c11d8;const _0x219b1c=await Promise['race']([_0xa26359[_0x151cba(0x24a)](this['config']['accessKey'],this[_0x151cba(0x20f)]['userName'],constants[_0x151cba(0x2ef)],_0x168004['dAoxF'](require,_0x168004[_0x151cba(0x270)])[_0x151cba(0x29d)],_0x52a248)['then'](_0x5c1ebb=>{const _0x12af8=_0x151cba;return _0x1d71be[_0x12af8(0x256)](),_0x5c1ebb;}),_0x1d71be]);_0x219b1c['isHealingEnabled']=_0x168004['qyIRR'](_0x219b1c[_0x151cba(0x247)],_0x168004['jtsfB'])||_0x168004['qyIRR'](_0x219b1c[_0x151cba(0x247)],!![]);const _0x15f74c=_0x168004[_0x151cba(0x28c)](this['config']['selfHeal'],!![])||_0x168004[_0x151cba(0x298)](this[_0x151cba(0x20f)][_0x151cba(0x24f)],_0x168004['jtsfB']);if(_0x168004[_0x151cba(0x28c)](_0x219b1c[_0x151cba(0x25d)],constants[_0x151cba(0x2a5)])&&_0x15f74c)logger['info'](_0x168004['YJZhw']);else{if(!_0x219b1c[_0x151cba(0x304)]&&_0x168004[_0x151cba(0x298)](_0x219b1c[_0x151cba(0x30d)],0x1f7)&&_0x15f74c)logger['info'](_0x168004['tDKlU']),utilities[_0x151cba(0x312)](constants[_0x151cba(0x2e0)],_0x7a234f,this[_0x151cba(0x20f)],this['framework']);else{if(!_0x219b1c[_0x151cba(0x304)]&&_0x15f74c){logger[_0x151cba(0x1f7)](_0x168004['GApCr']);const _0x48b36b={'tcgUrl':constants[_0x151cba(0x2ef)],'sdkVersion':_0x168004[_0x151cba(0x308)](require,_0x168004[_0x151cba(0x270)])[_0x151cba(0x29d)],'methodUsed':_0x168004[_0x151cba(0x227)],'proxyConfig':_0x5c11d8,'os':os[_0x151cba(0x2b1)]()};utilities[_0x151cba(0x312)](constants[_0x151cba(0x22f)],_0x48b36b,this[_0x151cba(0x20f)],this[_0x151cba(0x1f1)]);}else{if(_0x219b1c['isAuthenticated']&&!_0x219b1c[_0x151cba(0x247)]&&_0x15f74c)logger[_0x151cba(0x1f7)](_0x168004[_0x151cba(0x273)]);else{if(_0x168004[_0x151cba(0x2c5)](_0x219b1c['status'],0xc8)&&_0x168004[_0x151cba(0x28b)](_0x219b1c[_0x151cba(0x30d)],0x12c))utilities['fireFunnelTestEvent'](constants[_0x151cba(0x25a)],_0x7a234f,this[_0x151cba(0x20f)],this[_0x151cba(0x1f1)]);else{if(_0x168004[_0x151cba(0x2c5)](_0x219b1c[_0x151cba(0x30d)],0x190))_0x7a234f[_0x151cba(0x30d)]=_0x219b1c[_0x151cba(0x30d)],utilities[_0x151cba(0x312)](constants[_0x151cba(0x26a)],_0x7a234f,this[_0x151cba(0x20f)],this[_0x151cba(0x1f1)]);else!_0x219b1c['status']&&utilities[_0x151cba(0x312)](constants['INVALID_INIT_RESP_WITH_USER_IMPACT'],_0x7a234f,this[_0x151cba(0x20f)],this[_0x151cba(0x1f1)]);}}}}}if(_0x219b1c[_0x151cba(0x304)]&&_0x219b1c[_0x151cba(0x247)]){const _0xa0eb91={};_0xa0eb91['tcgAuthConfig']=_0x219b1c;const _0x536079=_0xa0eb91;_0x5c11d8&&(_0x536079[_0x151cba(0x254)]=_0x5c11d8),_0x536079[_0x151cba(0x1f1)]=this[_0x151cba(0x1f1)],_0x536079[_0x151cba(0x2b5)]=this[_0x151cba(0x20f)],helper['setupTcgConfigFile'](_0x536079),logger[_0x151cba(0x2f6)](_0x168004[_0x151cba(0x1ff)]);}}catch(_0x237316){logger[_0x151cba(0x2f6)](_0x151cba(0x261)+(_0x237316[_0x151cba(0x25d)]?_0x237316['message']:''));}});await _0x168004[_0x180f0e(0x226)](_0x4f019c);}[a122_0x3f9d6a(0x27f)](){const _0x3a064a=a122_0x3f9d6a,_0x5ef857={'EeuYz':function(_0x244756,_0x4290de){return _0x244756(_0x4290de);},'FFTbv':_0x3a064a(0x2fd)};_0x5ef857[_0x3a064a(0x218)](require,_0x5ef857[_0x3a064a(0x20d)])();}[a122_0x3f9d6a(0x26b)](){const _0x28589e=a122_0x3f9d6a,_0x28b03c={};_0x28b03c[_0x28589e(0x2e2)]='3|2|4|0|1',_0x28b03c['fJyNs']=_0x28589e(0x23d),_0x28b03c['bCMej']=_0x28589e(0x2b2);const _0x550d8a=_0x28b03c,_0x29c982=_0x3cca9e=>{const _0x1ee8ab=_0x28589e,_0x4d4b04=_0x550d8a[_0x1ee8ab(0x2e2)][_0x1ee8ab(0x29c)]('|');let _0x307eda=0x0;while(!![]){switch(_0x4d4b04[_0x307eda++]){case'0':PerformanceTester[_0x1ee8ab(0x311)](_0x3cca9e);continue;case'1':ClientTroubleShootingService['reportFinalDetectionState']();continue;case'2':logger['debug'](util[_0x1ee8ab(0x30c)](_0x3cca9e));continue;case'3':logger[_0x1ee8ab(0x230)](_0x3cca9e[_0x1ee8ab(0x25d)]);continue;case'4':this[_0x1ee8ab(0x239)][_0x1ee8ab(0x276)](util[_0x1ee8ab(0x30c)]('%j',_0x3cca9e));continue;}break;}};process['on'](_0x550d8a[_0x28589e(0x24c)],_0x29c982),process['on'](_0x550d8a[_0x28589e(0x2a6)],_0x29c982);}async[a122_0x3f9d6a(0x20a)](_0x56bcfe){const _0x514541=a122_0x3f9d6a,_0x10030c={'yCECx':function(_0x5645cc,_0x206652){return _0x5645cc+_0x206652;},'MVeQI':'Signal\x20shutdown\x20did\x20not\x20complete\x20cleanly:\x20','rSkSU':_0x514541(0x21c),'CIdad':function(_0x396103,_0x28660f,_0x16ca23){return _0x396103(_0x28660f,_0x16ca23);},'XHHUR':_0x514541(0x231),'qJUuz':function(_0x50e009,_0x428eca){return _0x50e009+_0x428eca;},'adlKm':_0x514541(0x229),'JorEo':function(_0x4a3d5e,_0x303028){return _0x4a3d5e(_0x303028);},'EIjeq':function(_0x366e79,_0x423e51){return _0x366e79===_0x423e51;},'bQVQE':'timed-out','BKixF':_0x514541(0x23a),'OCvPN':_0x514541(0x206)};if(this[_0x10030c[_0x514541(0x1fa)](_0x10030c[_0x514541(0x29b)],_0x56bcfe)])return;this[_0x10030c[_0x514541(0x1fa)](_0x10030c[_0x514541(0x29b)],_0x56bcfe)]=!![],logger['info'](_0x10030c['qJUuz'](_0x10030c[_0x514541(0x1f5)],_0x56bcfe)),this[_0x514541(0x28d)]=_0x56bcfe;const _0x30988b=0x7530;let _0x461e4f;const _0xb54a5e=(async()=>{const _0x47a0ef=_0x514541;await ClientTroubleShootingService[_0x47a0ef(0x1fc)](_0x56bcfe),await TestHubHandler[_0x47a0ef(0x316)](_0x56bcfe),await ClientTroubleShootingService[_0x47a0ef(0x2d4)](),await BrowserstackCLI[_0x47a0ef(0x2d3)]()[_0x47a0ef(0x316)]();})()[_0x514541(0x2f4)](()=>_0x514541(0x21c))[_0x514541(0x310)](_0x10ff85=>{const _0x3a244a=_0x514541;return logger[_0x3a244a(0x2f6)](_0x10030c[_0x3a244a(0x1fa)](_0x10030c[_0x3a244a(0x203)],util[_0x3a244a(0x30c)](_0x10ff85))),_0x10030c[_0x3a244a(0x234)];}),_0x142069=new Promise(_0x4b8665=>{const _0x3e758c=_0x514541;_0x461e4f=_0x10030c[_0x3e758c(0x2a2)](setTimeout,()=>_0x4b8665(_0x3e758c(0x286)),_0x30988b),_0x461e4f[_0x3e758c(0x2d0)]&&_0x461e4f[_0x3e758c(0x2d0)]();}),_0x148dfd=await Promise[_0x514541(0x28a)]([_0xb54a5e,_0x142069]);_0x10030c['JorEo'](clearTimeout,_0x461e4f),_0x10030c[_0x514541(0x21f)](_0x148dfd,_0x10030c[_0x514541(0x251)])&&(logger[_0x514541(0x2f5)](_0x10030c[_0x514541(0x1fa)](_0x10030c[_0x514541(0x24e)](_0x10030c[_0x514541(0x2ae)],_0x30988b),_0x10030c[_0x514541(0x2e5)])),process[_0x514541(0x22e)](process[_0x514541(0x22b)]||0x0));}[a122_0x3f9d6a(0x300)](){const _0x156d67=a122_0x3f9d6a,_0x1d8386={'YcksO':function(_0x556939,_0x361a45){return _0x556939===_0x361a45;},'opUeC':'Calling\x20Build\x20Stop\x20from\x20ExitHandler','IjwHA':function(_0x5416f1,_0x39c455){return _0x5416f1>_0x39c455;},'ODdsj':function(_0x1fd7ed,_0x6271d1){return _0x1fd7ed>_0x6271d1;},'fQhJD':function(_0x365b00,_0x4da03e){return _0x365b00(_0x4da03e);},'vxfQt':function(_0x4b844d){return _0x4b844d();},'gttnU':_0x156d67(0x2c3)};let _0xd82de4=0x0;return async()=>{const _0x1b29ec=_0x156d67;_0xd82de4++;if(_0x1d8386[_0x1b29ec(0x2eb)](_0xd82de4,0x1)){helper[_0x1b29ec(0x2f0)](this[_0x1b29ec(0x1f1)])&&await this[_0x1b29ec(0x271)]();try{logger[_0x1b29ec(0x2f6)](_0x1d8386[_0x1b29ec(0x290)]),await TestHubHandler[_0x1b29ec(0x316)](_0xd82de4),await ClientTroubleShootingService[_0x1b29ec(0x2d4)](),await BrowserstackCLI[_0x1b29ec(0x2d3)]()[_0x1b29ec(0x316)]('1');}catch(_0x6f74ce){logger[_0x1b29ec(0x2f6)](_0x1b29ec(0x2e8)+util[_0x1b29ec(0x30c)](_0x6f74ce));}PerformanceTester[_0x1b29ec(0x236)](PerformanceEvents[_0x1b29ec(0x2a7)]);if(PerformanceTester[_0x1b29ec(0x1ed)]()){const {measures:_0x48d1fe,errors:_0x356376}=await PerformanceTester['finalize'](),_0x3eefb5={};if(_0x48d1fe&&_0x1d8386[_0x1b29ec(0x315)](_0x48d1fe[_0x1b29ec(0x264)],0x0)||_0x356376&&_0x1d8386[_0x1b29ec(0x202)](_0x356376[_0x1b29ec(0x264)],0x0)){const _0x309f6c={};_0x309f6c[_0x1b29ec(0x1f2)]=_0x48d1fe,_0x309f6c[_0x1b29ec(0x1f8)]=_0x356376,Object[_0x1b29ec(0x2fa)](_0x3eefb5,_0x309f6c);}try{const _0x46de71=await helper[_0x1b29ec(0x28e)](_0x3eefb5,this[_0x1b29ec(0x20f)]);logger['debug'](_0x1b29ec(0x21a)+_0x1d8386[_0x1b29ec(0x2fe)](getEdsInstrumentationAPIUrl,'')+_0x1b29ec(0x293)+_0x46de71[_0x1b29ec(0x208)]);}catch(_0x113659){logger[_0x1b29ec(0x2f6)](_0x1b29ec(0x294)+_0x1d8386[_0x1b29ec(0x2fe)](getEdsInstrumentationAPIUrl,'')+_0x1b29ec(0x2bc)+util[_0x1b29ec(0x30c)](_0x113659));}try{fs['writeFileSync'](path[_0x1b29ec(0x212)](_0x1d8386[_0x1b29ec(0x2e3)](getLogDir),_0x1d8386[_0x1b29ec(0x268)]),JSON[_0x1b29ec(0x245)](_0x3eefb5));}catch(_0x294896){logger['debug'](_0x1b29ec(0x2f9)+_0x294896);}}}logger&&logger[_0x1b29ec(0x277)](),fileLogger&&fileLogger['close']();};}}exports[a122_0x3f9d6a(0x2c9)]=BrowserStackSetup;function a122_0x31b8(){const _0x1d7d6a=['setUpHubUrl','ldlRw','getAccessKey','unref','path','aiHeal:tcgAuth','getInstance','reportFinalDetectionState','ats-repeater','QSqfU','../bin/utils/constants','isTrue','getCentralUser','XvVyQ','../bin/utils/apiUtilityMethods','./performance/performance-tester','1644950rfyCix','pCVUt','requireSeleniumWebdriverCheck','TCG_DOWN','proxy','NvRWT','vxfQt','Percy\x20stopped','OCvPN','Percy\x20started\x20successfully','getLocalIdentifier','Error\x20in\x20sending\x20testhub\x20stop:\x20','dAoxF','Local\x20binary\x20started\x20successfully','YcksO','SIGABRT','isRunning','BrowserstackHealing.init\x20method\x20timed\x20out','TCG_URL','checkStopLocalBinaryOnExit','./caCertHelper','false','true','then','warn','debug','SIGTERM','stopLocalBinary','Error\x20in\x20writing\x20events\x20to\x20file\x20','assign','GHqKg','Something\x20went\x20wrong.\x20Disabling\x20healing\x20for\x20this\x20session.\x20Please\x20try\x20again\x20later.','./setKeepAlive','fQhJD','rtkzk','exitHandler','./logger','readConfig','__isPlaywrightInstalled','isAuthenticated','aGdYG','AI_PROXY_FAILURE','toString','urEWl','YdtBY','mTnFZ','isTurboScaleSession','format','status','BROWSERSTACK_PERCY','SIGHUP','catch','captureError','fireFunnelTestEvent','../bin/utils/clientTroubleshootingService','measureWrapper','IjwHA','stop','EbAbR','integrations','isEnabled','BROWSERSTACK_TURBOSCALE','custom-repeater','sanitizeCaps','framework','measures','iHrht','No\x20config\x20provided.','adlKm','setHandlePWError','info','exceptions','envConfig','yCECx','1204YMejOs','reportProcessInterruptionSituation','initialize','Error\x20occured\x20while\x20stopping\x20percy','zQped','gvHMr','compareVersions','ODdsj','MVeQI','XyhZw','win32','ms;\x20forcing\x20exit','turboScaleUrl','statusCode','setupBrowserstackLocal','intExitHandler','TCG_AUTH_TIMEOUT','forceLocal','FFTbv','KKKDj','config','4.5.0','ropeQ','join','parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','LGrmd','iSHzY','Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20','?caps=','EeuYz','oFuYs','Data\x20sent\x20successfully\x20to\x20','BVZoJ','completed','bPVmM','12MqNoHA','EIjeq','SyjuZ','NncST','setCLICaps','platforms','localIdentifier','configPath','vYUCB','OKyqr','__isPuppeteerInstalled','Shutdown\x20triggered\x20by\x20','getFinalCaps','exitCode','turboScaleOptions','PkmBf','exit','TCG_AUTH_FAILURE','error','handled','url','fileLogger','rSkSU','Please\x20upgrade\x20Browserstack\x20SDK\x20to\x20the\x20latest\x20version\x20to\x20use\x20the\x20self-healing\x20feature.','end','5312gsjLdZ','percy','unhandledErrors','Signal\x20shutdown\x20timed\x20out\x20after\x20','ZUfTS','normalizeTestReportingEnvVars','unhandledRejection','isTrialGrid','bind','uWAsO','setupTCGAuth','KlXpW','Could\x20not\x20start\x20percy,\x20check\x20percy\x20logs\x20for\x20info.','qSKhJ','stringify','FRAMEWORK','isHealingEnabled','sTUGl','uuid','init','SDKTestAttempted','fJyNs','cliConfig','qJUuz','selfHeal','./testhub/testhubHandler','bQVQE','PHMho','turboScale','proxyConfig','BMydz','cancel','./utilities','rpVka','./timeoutPromise','AI_INIT_SUCCESSFUL','userName\x20or\x20accessKey\x20is\x20not\x20defined','./performance/constants','message','setBrowserstackInfraFromConfig','setEnvCaps','NoOlz','Error\x20in\x20setting\x20up\x20tcg\x20authconfig.\x20Error:\x20','195606tADNtA','validateSkipAppOverride','length','beforeExit','browserstackLocal','JDBZy','gttnU','HUB\x20URL\x20SET\x20TO\x20TurboScale\x20HUB\x20-\x20','AI_INIT_FAILURE','handleExceptions','Ckmqb','Error\x20in\x20percy\x20setup\x20','browserStackLocalOptions','includes','YlbVc','stopBrowserstackLocal','Local\x20binary\x20not\x20started\x20as\x20skipBinaryInitialisation\x20is\x20enabled','dAqAD','./percy/utils','../../package.json','push','close','getPackageVersion','setSmartTestSelectionFeatureBranchesConfig','codeceptjs','env','allocateHub','getTurboScaleGridDetails','startPercy','setupKeepAlive','BrowserstackHealingInitFailed','tcg\x20config\x20setup\x20successful.','constructor','uGAHt','vDixj','Error\x20occured\x20while\x20stopping\x20local\x20binary','timed-out','proxyUrl','isUndefined','hubUrl','race','mKyNt','qyIRR','killSignal','sendToEDS','generateLocalIdentifier','opUeC','sdkRunId','preInitialize','\x20with\x20response\x20','Failed\x20to\x20send\x20data\x20to\x20','1497RWfFck','skipSessionStatus','winstonLogger','AxXok','AUTOLOGCAPTURE_NOTIFICATION','shdGS','XHHUR','split','version','SIGINT','central_scanner','oSVDa','3966kxlhWC','CIdad','CwJcB','setupPercy','UPGRADE_REQUIRED','bCMej','SDK_CLEANUP','../ai-sdk-node/bundle','THmmr','skipBinaryInitialisation','7118384COowOX','localOptions','2iecYrE','BKixF','KBDdM','204257NGkLri','platform','uncaughtException','CqNBT','HUB_MANAGEMENT','bstackConfig','LTS\x20session\x20enabled\x20for\x20this\x20run.\x20SDK\x20run\x20id:\x20','icwAo','xCMJa','tbErG','isBrowserstackInfra','XhPbm','\x20with\x20error\x20','20|17|18|22|16|11|21|24|7|3|14|0|4|13|23|6|5|10|8|15|25|12|26|9|1|19|2','startMonitoring','playwright','getUserName','Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','testContextOptions','events.json','skipSessionName','ZYihV','20WgYJnH','../bin/v2/browserstackCLI','playwrightUrl','default','setProxySettings','SIGBREAK','11016302SeUmlv'];a122_0x31b8=function(){return _0x1d7d6a;};return a122_0x31b8();}
|
|
1
|
+
const a122_0x37bb55=a122_0x3f74;function a122_0x5ce4(){const _0x40d101=['46QmGTDL','YoCWx','eElMx','../ai-sdk-node/bundle','stringify','dyzmQ','1465764VCKzwh','uncaughtException','Error\x20occured\x20while\x20stopping\x20percy','tziVp','UPGRADE_REQUIRED','kJuRL','BPlNY','YsZUQ','ncymL','2987915xmoOIv','LTS\x20session\x20enabled\x20for\x20this\x20run.\x20SDK\x20run\x20id:\x20','events.json','11lkVnhR','1098anxPoc','8854lOUKTz','zgdmw','getPackageVersion','useW3C','SCllF','setupTcgConfigFile','fcDkk','getUserName','xbzKk','ofpnd','setupKeepAlive','finalize','BrowserstackHealingInitFailed','exceptions','proxy','SIGINT','forceLocal','testContextOptions','userName\x20or\x20accessKey\x20is\x20not\x20defined','SIGHUP','exit','BROWSERSTACK_PERCY','Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','KFQsn','FkMhy','Could\x20not\x20start\x20percy,\x20check\x20percy\x20logs\x20for\x20info.','QmWCj','SDKTestAttempted','getProxyConfigForTcg','../bin/utils/constants','Local\x20binary\x20not\x20started\x20as\x20skipBinaryInitialisation\x20is\x20enabled','init','UGoUn','DZRUT','JPNqp','setCredentialsFromYmlConfig','Cygxe','spsUc','Error\x20occured\x20while\x20stopping\x20local\x20binary','percy','ZxRcf','setHandlePWError','GYdQw','DtKNf','Percy\x20started\x20successfully','localOptions','zRpkL','Error\x20in\x20percy\x20setup\x20','fireFunnelTestEvent','winstonLogger','No\x20config\x20provided.','BrowserstackHealing.init','info','reportFinalDetectionState','disableAutoCaptureLogs','./caCertHelper','message','parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','FRAMEWORK','unhandledErrors','cawZo','split','ciGHH','true','TCG_AUTH_TIMEOUT','OCkEU','SQEYv','cliConfig','exitCode','setBrowserstackInfraFromConfig','configPath','6OZhZKZ','handled','playwrightUrl','toString','then','./logger','./testhub/utils','mHjIZ','qiAgh','getCentralUser','length','selenium-webdriver','getFinalCaps','Healing\x20is\x20not\x20enabled\x20for\x20your\x20group,\x20please\x20contact\x20the\x20admin','7|12|21|17|4|8|5|1|3|25|22|15|11|20|6|14|19|9|2|0|26|18|13|16|23|10|24','Authentication\x20Failed.\x20Disabling\x20Healing\x20for\x20this\x20session.','accessKey','isHealingEnabled','isTrue','readConfig','turboScaleGridDetails','allocateHub','SmZTv','xCMHS','startMonitoring','isEnabled','Tqffo','playwright','stopPercy','env','cGrPm','end','codeceptjs','AI_INIT_SUCCESSFUL','Data\x20sent\x20successfully\x20to\x20','reportProcessInterruptionSituation','\x20with\x20response\x20','browserStackLocalOptions','SIGABRT','Calling\x20Build\x20Stop\x20from\x20ExitHandler','GhJtk','error','framework','preInitialize','TCG_DOWN','./setKeepAlive','__isPlaywrightInstalled','../bin/v2/browserstackCLI','DIARR','INVALID_INIT_RESP_WITH_USER_IMPACT','lTgOj','5356666WIWKZz','race','Signal\x20shutdown\x20did\x20not\x20complete\x20cleanly:\x20','giPRu','11931670GZxvdU','Signal\x20shutdown\x20timed\x20out\x20after\x20','HUB\x20URL\x20SET\x20TO\x20TurboScale\x20HUB\x20-\x20','completed','getLocalIdentifier','IwwvG','assign','push','Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20','kiJlG','setLogDir','writeFileSync','hubUrl','setupTCGAuth','win32','warn','errorMessage','VxtLd','../bin/utils/apiUtilityMethods','lZaVz','Something\x20went\x20wrong.\x20Disabling\x20healing\x20for\x20this\x20session.\x20Please\x20try\x20again\x20later.','TCG_AUTH_FAILURE','../hubAllocationMethods','captureError','proxyUrl','MHvEz','SIGBREAK','getTurboScaleGridDetails','BNBUH','bstackConfig','ApKti','setSmartTestSelectionFeatureBranchesConfig','AI_INIT_FAILURE','Error\x20in\x20writing\x20events\x20to\x20file\x20','beforeExit','nKxLW','getLocalConfig','EKYAY','sdkRunId','heaaK','__isPuppeteerInstalled','YUJiL','normalizeTestReportingEnvVars','SDK\x20run\x20started\x20with\x20id:\x20','./testhub/testhubHandler','CInEA','toLowerCase','948748qyOCDr','stop','?caps=','../bin/utils/clientTroubleshootingService','tHnVA','includes','generateLocalIdentifier','parallelsPerPlatform','AUTOLOGCAPTURE_NOTIFICATION','isUndefined','config','getHubUrl','./performance/performance-tester','fileLogger','statusCode','platforms','integrations','isRunning','format','unhandledRejection','startPercy','Failed\x20to\x20send\x20data\x20to\x20','join','JzcOl','ZNJxQ','exitHandler','platform','isNotUndefined','tHejP','localIdentifier','isAuthenticated','checkStopLocalBinaryOnExit','uuid','lVGAY','kWpfx','setupBrowserstackLocal','fJaaN','BrowserstackHealing.init\x20method\x20timed\x20out','version','central_scanner','constructor','4.5.0','killSignal','initialize','nVCcS','selfHeal','YFCPC','Please\x20upgrade\x20Browserstack\x20SDK\x20to\x20the\x20latest\x20version\x20to\x20use\x20the\x20self-healing\x20feature.','SIGQUIT','BxqVx','turboScaleUrl','status','LNYUn','exghj','envConfig','WNNQB','false','debug','TCG_URL','requireSeleniumWebdriverCheck','isBrowserstackInfra','unref','ats-repeater','SDK_CLEANUP','handleExceptions','setLogLevel','ZeLnT','browserstackLocal','bind','skipSessionStatus','stopBrowserstackLocal','timed-out','jCpTQ','vhYDO','TZmuH','measureWrapper','cancel','stopLocalBinary','aDABd','setupCaCertificate','skipBinaryInitialisation','turboScaleOptions','close','getConfigPath','skipSessionName','setupPercy','Kqkxf','path','setUpHubUrl','intExitHandler','nGAjY','getInstance','catch','43176hwaXZz','isTurboScaleSession'];a122_0x5ce4=function(){return _0x40d101;};return a122_0x5ce4();}(function(_0x51e2bf,_0xaa7a2f){const _0x176584=a122_0x3f74,_0x8a3a62=_0x51e2bf();while(!![]){try{const _0x18ddfc=parseInt(_0x176584(0x174))/0x1*(-parseInt(_0x176584(0x188))/0x2)+-parseInt(_0x176584(0x1cf))/0x3*(parseInt(_0x176584(0x235))/0x4)+parseInt(_0x176584(0x183))/0x5+parseInt(_0x176584(0x17a))/0x6+parseInt(_0x176584(0x202))/0x7+-parseInt(_0x176584(0x172))/0x8*(-parseInt(_0x176584(0x187))/0x9)+parseInt(_0x176584(0x206))/0xa*(-parseInt(_0x176584(0x186))/0xb);if(_0x18ddfc===_0xaa7a2f)break;else _0x8a3a62['push'](_0x8a3a62['shift']());}catch(_0xfbf123){_0x8a3a62['push'](_0x8a3a62['shift']());}}}(a122_0x5ce4,0x6047e));function a122_0x3f74(_0x468f42,_0x1ee4a7){const _0x5ce4e8=a122_0x5ce4();return a122_0x3f74=function(_0x3f742f,_0x2d8c70){_0x3f742f=_0x3f742f-0x156;let _0x2c5bc8=_0x5ce4e8[_0x3f742f];return _0x2c5bc8;},a122_0x3f74(_0x468f42,_0x1ee4a7);}const util=require('util'),os=require('os'),path=require(a122_0x37bb55(0x16c)),{v4:uuidv4}=require(a122_0x37bb55(0x255)),fs=require('fs'),constants=require(a122_0x37bb55(0x1a5)),logger=require(a122_0x37bb55(0x1d4))[a122_0x37bb55(0x1b9)],fileLogger=require(a122_0x37bb55(0x1d4))[a122_0x37bb55(0x242)],{getLogDir}=require(a122_0x37bb55(0x1d4)),helper=require('./helper'),utilities=require('./utilities'),percyHelper=require('./percy/utils'),hubAllocator=require(a122_0x37bb55(0x21c)),PerformanceTester=require(a122_0x37bb55(0x241)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents}=require('./performance/constants'),{setPercyFlag}=require(a122_0x37bb55(0x1d5)),TestHubHandler=require(a122_0x37bb55(0x232)),timeoutPromise=require('./timeoutPromise'),BrowserstackCLI=require(a122_0x37bb55(0x1fe)),LoadTestModule=require('../bin/v2/modules/loadTestModule'),{getEdsInstrumentationAPIUrl}=require(a122_0x37bb55(0x218)),ClientTroubleShootingService=require(a122_0x37bb55(0x238));class BrowserStackSetup{constructor(_0x11a847,_0x45a0e3){const _0x3d5bfa=a122_0x37bb55,_0x2746f7={'MHvEz':_0x3d5bfa(0x1dd),'cGrPm':_0x3d5bfa(0x1ba),'YhZah':function(_0x5b8040){return _0x5b8040();},'Cygxe':function(_0x22d147,_0x1fc950){return _0x22d147(_0x1fc950);},'LNYUn':_0x3d5bfa(0x1bf)},_0x205d19=_0x2746f7[_0x3d5bfa(0x21f)][_0x3d5bfa(0x1c5)]('|');let _0x5665f6=0x0;while(!![]){switch(_0x205d19[_0x5665f6++]){case'0':this[_0x3d5bfa(0x23f)]['testContextOptions'][_0x3d5bfa(0x15a)]=!helper['isBrowserstackInfra']()||helper[_0x3d5bfa(0x1e1)](this[_0x3d5bfa(0x23f)][_0x3d5bfa(0x199)][_0x3d5bfa(0x15a)]);continue;case'1':this[_0x3d5bfa(0x1cb)]=helper['setCLICaps'](_0x11a847);continue;case'2':helper[_0x3d5bfa(0x1ab)](this[_0x3d5bfa(0x23f)]);continue;case'3':this[_0x3d5bfa(0x23f)]['platforms']=this[_0x3d5bfa(0x23f)]['platforms']||[];continue;case'4':this[_0x3d5bfa(0x1af)]=null;continue;case'5':this[_0x3d5bfa(0x23f)]=helper[_0x3d5bfa(0x1e2)](this[_0x3d5bfa(0x1ce)]);continue;case'6':if(helper[_0x3d5bfa(0x23e)](this[_0x3d5bfa(0x23f)]))throw new Error(_0x2746f7[_0x3d5bfa(0x1ed)]);continue;case'7':this[_0x3d5bfa(0x1c3)]=[];continue;case'8':this[_0x3d5bfa(0x1ce)]=helper[_0x3d5bfa(0x168)](_0x11a847);continue;case'9':helper[_0x3d5bfa(0x1cd)](this[_0x3d5bfa(0x23f)],this[_0x3d5bfa(0x1cb)]);continue;case'10':PerformanceTester[_0x3d5bfa(0x1e7)]();continue;case'11':this['framework']=_0x45a0e3;continue;case'12':helper[_0x3d5bfa(0x230)]();continue;case'13':helper[_0x3d5bfa(0x225)](this[_0x3d5bfa(0x23f)],this[_0x3d5bfa(0x1cb)],this['envConfig']);continue;case'14':if(this['config'][_0x3d5bfa(0x1f8)])throw new Error(this[_0x3d5bfa(0x23f)][_0x3d5bfa(0x1f8)]);continue;case'15':this[_0x3d5bfa(0x22c)]=_0x2746f7['YhZah'](uuidv4);continue;case'16':helper[_0x3d5bfa(0x210)](this[_0x3d5bfa(0x23f)]);continue;case'17':this[_0x3d5bfa(0x158)]=null;continue;case'18':helper[_0x3d5bfa(0x1db)](this['config'],this[_0x3d5bfa(0x1cb)],this['envConfig']);continue;case'19':helper['validateSkipAppOverride'](this[_0x3d5bfa(0x23f)],this[_0x3d5bfa(0x1f9)]);continue;case'20':global[_0x3d5bfa(0x1f9)]=_0x45a0e3;continue;case'21':this[_0x3d5bfa(0x26b)]=helper['setEnvCaps']();continue;case'22':this[_0x3d5bfa(0x216)]={};continue;case'23':helper[_0x3d5bfa(0x156)](this[_0x3d5bfa(0x23f)],this[_0x3d5bfa(0x1cb)],this['envConfig']);continue;case'24':try{_0x2746f7[_0x3d5bfa(0x1ac)](require,_0x2746f7[_0x3d5bfa(0x269)])[_0x3d5bfa(0x164)](this[_0x3d5bfa(0x23f)],logger);}catch(_0x241dde){}continue;case'25':this[_0x3d5bfa(0x23f)][_0x3d5bfa(0x199)]=this[_0x3d5bfa(0x23f)][_0x3d5bfa(0x199)]||{};continue;case'26':this[_0x3d5bfa(0x23f)][_0x3d5bfa(0x199)]['skipSessionName']=!helper[_0x3d5bfa(0x271)]()||helper['isTrue'](this[_0x3d5bfa(0x23f)]['testContextOptions'][_0x3d5bfa(0x169)]);continue;}break;}}[a122_0x37bb55(0x1fa)](_0x4b7e25){const _0x4c345a=a122_0x37bb55,_0x4d3437={'GhJtk':_0x4c345a(0x19a),'VxtLd':function(_0x3963d3,_0x2df06c){return _0x3963d3===_0x2df06c;},'YFCPC':_0x4c345a(0x245),'nGAjY':_0x4c345a(0x1a3),'rdfgt':function(_0x394528,_0x30dfe7){return _0x394528<_0x30dfe7;},'eElMx':function(_0x380c12,_0x33ed02){return _0x380c12(_0x33ed02);},'TZmuH':_0x4c345a(0x1da),'cawZo':_0x4c345a(0x25e),'zRpkL':_0x4c345a(0x19e),'SQEYv':_0x4c345a(0x1c1),'aDABd':'SIGTERM','gmabl':_0x4c345a(0x197),'BPlNY':_0x4c345a(0x19b),'lZaVz':function(_0x581648,_0x52fe54){return _0x581648!==_0x52fe54;},'BNBUH':_0x4c345a(0x214),'kiJlG':_0x4c345a(0x1f5),'nVCcS':_0x4c345a(0x265),'fJaaN':_0x4c345a(0x220),'jJWhE':_0x4c345a(0x228)},_0x41272a=this[_0x4c345a(0x1f9)];global[_0x4c345a(0x23f)]=this[_0x4c345a(0x23f)],helper['sanitizeCaps'](this[_0x4c345a(0x23f)]),this[_0x4c345a(0x25f)]=null,global[_0x4c345a(0x22c)]=this[_0x4c345a(0x22c)],logger[_0x4c345a(0x1bc)](_0x4c345a(0x231)+this[_0x4c345a(0x22c)]),!this['config'][_0x4c345a(0x1f4)]&&(this[_0x4c345a(0x23f)][_0x4c345a(0x1f4)]=this[_0x4c345a(0x23f)][_0x4c345a(0x1b5)]||{});if(helper[_0x4c345a(0x23e)](helper[_0x4c345a(0x18f)](this['config']))||helper['isUndefined'](helper['getAccessKey'](this[_0x4c345a(0x23f)])))throw new Error(_0x4d3437[_0x4c345a(0x1f7)]);helper[_0x4c345a(0x22a)](this[_0x4c345a(0x23f)])&&helper[_0x4c345a(0x23e)](helper[_0x4c345a(0x20a)](this[_0x4c345a(0x23f)]))&&(!helper[_0x4c345a(0x23e)](this['config']['browserStackLocalOptions'])&&_0x4d3437['VxtLd'](this[_0x4c345a(0x23f)][_0x4c345a(0x1f4)][_0x4c345a(0x25d)],Object)?!helper[_0x4c345a(0x1e1)](this['config'][_0x4c345a(0x1f4)]['skipBinaryInitialisation'])&&(this[_0x4c345a(0x23f)][_0x4c345a(0x1f4)][_0x4c345a(0x252)]=helper['generateLocalIdentifier']()):this[_0x4c345a(0x23f)][_0x4c345a(0x1f4)]={'localIdentifier':helper[_0x4c345a(0x23b)]()});this['config'][_0x4c345a(0x1f4)][_0x4c345a(0x165)]=helper['isTrue'](this[_0x4c345a(0x23f)][_0x4c345a(0x1f4)]['skipBinaryInitialisation']),helper[_0x4c345a(0x1b1)](this[_0x4c345a(0x23f)]);if(_0x4d3437[_0x4c345a(0x217)](_0x41272a,_0x4d3437[_0x4c345a(0x263)]))return;this[_0x4c345a(0x275)]();process[_0x4c345a(0x1ec)]['BROWSERSTACK_TURBOSCALE']&&(this[_0x4c345a(0x23f)]['turboScale']=helper[_0x4c345a(0x1e1)](process['env']['BROWSERSTACK_TURBOSCALE']),this[_0x4c345a(0x23f)]['turboScaleOptions']=this[_0x4c345a(0x23f)][_0x4c345a(0x166)]||{});helper['isTurboScaleSession'](this[_0x4c345a(0x23f)])&&(process[_0x4c345a(0x1ec)]['BROWSERSTACK_TURBOSCALE']=!![]);LoadTestModule['isLTSSession'](this['config'])&&logger[_0x4c345a(0x26e)](_0x4c345a(0x184)+this['sdkRunId']);if(!helper[_0x4c345a(0x271)]()){try{process['env'][_0x4c345a(0x1c2)]=_0x41272a,utilities['fireFunnelTestEvent'](_0x4d3437[_0x4c345a(0x16f)],{},this[_0x4c345a(0x23f)],this[_0x4c345a(0x1f9)]);}catch(_0x9f9b89){logger[_0x4c345a(0x26e)]('Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20'+_0x9f9b89);}return;}if(helper[_0x4c345a(0x270)](_0x41272a)){if(global[_0x4c345a(0x1fd)]||global[_0x4c345a(0x22e)])return;_0x4d3437['rdfgt'](_0x4d3437[_0x4c345a(0x176)](parseInt,helper['getPackageVersion'](_0x4d3437[_0x4c345a(0x15f)])),0x3)&&(this[_0x4c345a(0x23f)][_0x4c345a(0x18b)]=![]),_0x4d3437[_0x4c345a(0x217)](helper['compareVersions'](helper[_0x4c345a(0x18a)](_0x4d3437[_0x4c345a(0x15f)]),_0x4d3437[_0x4c345a(0x1c4)]),0x1)&&(this[_0x4c345a(0x23f)]['useW3C']=!![]);}(helper[_0x4c345a(0x23e)](this[_0x4c345a(0x23f)][_0x4c345a(0x244)])||helper[_0x4c345a(0x23e)](this[_0x4c345a(0x23f)]['platforms'][_0x4c345a(0x1d9)]))&&(helper['isUndefined'](this['config'][_0x4c345a(0x23c)])?logger[_0x4c345a(0x1bc)](_0x4d3437[_0x4c345a(0x1b6)]):logger[_0x4c345a(0x215)](_0x4d3437[_0x4c345a(0x1ca)]),this[_0x4c345a(0x23f)][_0x4c345a(0x244)]=[]);!this[_0x4c345a(0x23f)][_0x4c345a(0x199)]&&(this[_0x4c345a(0x23f)][_0x4c345a(0x199)]={});try{process['env'][_0x4c345a(0x1c2)]=_0x4b7e25['_'][0x0],utilities[_0x4c345a(0x1b8)](_0x4d3437[_0x4c345a(0x16f)],{},this['config'],this[_0x4c345a(0x1f9)]);}catch(_0x4c2d0a){logger[_0x4c345a(0x26e)](_0x4c345a(0x20e)+_0x4c2d0a);}!this[_0x4c345a(0x23f)][_0x4c345a(0x1be)]&&logger[_0x4c345a(0x1bc)](constants[_0x4c345a(0x23d)]),this[_0x4c345a(0x16e)]=this[_0x4c345a(0x16e)][_0x4c345a(0x159)](this),process['on'](_0x4d3437[_0x4c345a(0x163)],this[_0x4c345a(0x16e)]),process['on'](_0x4d3437['gmabl'],this[_0x4c345a(0x16e)]),process['on'](_0x4d3437[_0x4c345a(0x180)],this[_0x4c345a(0x16e)]),_0x4d3437[_0x4c345a(0x219)](process['platform'],_0x4d3437[_0x4c345a(0x222)])?(process['on'](_0x4d3437[_0x4c345a(0x20f)],this[_0x4c345a(0x16e)]),process['on'](_0x4d3437[_0x4c345a(0x261)],this[_0x4c345a(0x16e)])):process['on'](_0x4d3437[_0x4c345a(0x259)],this[_0x4c345a(0x16e)]),process['on'](_0x4d3437['jJWhE'],this['exitHandler']());}async[a122_0x37bb55(0x260)](_0x398b33){const _0x529bf5=a122_0x37bb55,_0x4e03f={'GYdQw':_0x529bf5(0x273),'hSfwq':'custom-repeater','JPNqp':_0x529bf5(0x1c7),'QmWCj':function(_0x2f451f,_0xba0da6){return _0x2f451f===_0xba0da6;},'BxqVx':_0x529bf5(0x1ea),'KFQsn':function(_0x7ab16d,_0x50abab){return _0x7ab16d+_0x50abab;},'ApKti':_0x529bf5(0x237),'tHnVA':function(_0x15dc5f,_0x24a822){return _0x15dc5f(_0x24a822);},'vhYDO':_0x529bf5(0x1ef)};this[_0x529bf5(0x1fa)](_0x398b33);if(helper[_0x529bf5(0x173)](this[_0x529bf5(0x23f)])){const _0x3c2058=await helper[_0x529bf5(0x221)](this[_0x529bf5(0x23f)]);this[_0x529bf5(0x23f)][_0x529bf5(0x1e3)]=_0x3c2058,_0x3c2058['isTrialGrid']&&helper[_0x529bf5(0x250)](this[_0x529bf5(0x23f)][_0x529bf5(0x158)])&&helper[_0x529bf5(0x1e1)](this[_0x529bf5(0x23f)][_0x529bf5(0x158)])&&(this[_0x529bf5(0x23f)][_0x529bf5(0x1f4)][_0x529bf5(0x252)]=_0x4e03f[_0x529bf5(0x1b2)],this[_0x529bf5(0x23f)]['browserStackLocalOptions'][_0x4e03f['hSfwq']]=_0x3c2058['customRepeaters'][_0x529bf5(0x24b)](','),this[_0x529bf5(0x23f)]['browserStackLocalOptions'][_0x529bf5(0x198)]=_0x4e03f[_0x529bf5(0x1aa)]),this['config'][_0x529bf5(0x267)]=_0x3c2058['url'],this[_0x529bf5(0x1f9)]&&_0x4e03f[_0x529bf5(0x1a2)](this[_0x529bf5(0x1f9)][_0x529bf5(0x234)](),_0x4e03f['BxqVx'])?this['config'][_0x529bf5(0x267)]=_0x4e03f[_0x529bf5(0x19f)](_0x3c2058[_0x529bf5(0x1d1)],_0x4e03f[_0x529bf5(0x224)]):constants[_0x529bf5(0x212)]=helper[_0x529bf5(0x240)](this[_0x529bf5(0x23f)]),logger[_0x529bf5(0x26e)](_0x529bf5(0x208)+constants[_0x529bf5(0x212)]);}helper['setProxySettings'](this[_0x529bf5(0x23f)]),this['setupKeepAlive'](),_0x4e03f[_0x529bf5(0x239)](setPercyFlag,this),![_0x4e03f[_0x529bf5(0x15e)],_0x4e03f[_0x529bf5(0x266)]][_0x529bf5(0x23a)](this['framework'])&&!helper[_0x529bf5(0x173)](this[_0x529bf5(0x23f)])&&!helper[_0x529bf5(0x1d8)]()[_0x529bf5(0x25c)]&&await this[_0x529bf5(0x16d)]();}async[a122_0x37bb55(0x16a)](){const _0x217e51=a122_0x37bb55,_0x692075={};_0x692075[_0x217e51(0x18e)]=function(_0x970563,_0x282ed2){return _0x970563===_0x282ed2;},_0x692075[_0x217e51(0x205)]=_0x217e51(0x26d),_0x692075[_0x217e51(0x1ff)]=_0x217e51(0x1a1),_0x692075[_0x217e51(0x20b)]=_0x217e51(0x1b4),_0x692075[_0x217e51(0x175)]=_0x217e51(0x1c7),_0x692075[_0x217e51(0x16b)]=_0x217e51(0x228);const _0x33c33a=_0x692075;if(helper['isTrue'](this[_0x217e51(0x23f)][_0x217e51(0x1af)])&&(!this['percy']||!this[_0x217e51(0x1af)][_0x217e51(0x246)]()))try{this['percy']=await percyHelper[_0x217e51(0x249)](this[_0x217e51(0x23f)]);if(!this['percy']){process[_0x217e51(0x1ec)][_0x217e51(0x19d)]=_0x33c33a[_0x217e51(0x205)];throw new Error(_0x33c33a[_0x217e51(0x1ff)]);}logger[_0x217e51(0x1bc)](_0x33c33a[_0x217e51(0x20b)]),process['env'][_0x217e51(0x19d)]=_0x33c33a['YoCWx'];let _0x4105c0=0x0;const _0x2c97dd=async()=>{const _0x25680c=_0x217e51;_0x4105c0++,_0x33c33a[_0x25680c(0x18e)](_0x4105c0,0x1)&&await this[_0x25680c(0x1eb)]();};process['on'](_0x33c33a[_0x217e51(0x16b)],_0x2c97dd);}catch(_0x2c4194){process[_0x217e51(0x1ec)]['BROWSERSTACK_PERCY']=_0x33c33a[_0x217e51(0x205)],logger['debug'](_0x217e51(0x1b7)+_0x2c4194);throw new Error(_0x2c4194[_0x217e51(0x1d2)]());}}async[a122_0x37bb55(0x1eb)](){const _0x27e2ad=a122_0x37bb55,_0x244052={};_0x244052[_0x27e2ad(0x1a9)]='Percy\x20stopped',_0x244052[_0x27e2ad(0x26a)]=_0x27e2ad(0x17c);const _0x240fd5=_0x244052;if(this[_0x27e2ad(0x1af)]&&this[_0x27e2ad(0x1af)]['isRunning']())try{await percyHelper[_0x27e2ad(0x1eb)](this[_0x27e2ad(0x1af)]),logger[_0x27e2ad(0x1bc)](_0x240fd5[_0x27e2ad(0x1a9)]);}catch(_0x1ef24d){logger['error'](_0x240fd5[_0x27e2ad(0x26a)],_0x1ef24d[_0x27e2ad(0x1c0)]);}}async[a122_0x37bb55(0x258)](){const _0x4fc6e9=a122_0x37bb55,_0x304d81={};_0x304d81[_0x4fc6e9(0x22f)]=_0x4fc6e9(0x1a6),_0x304d81[_0x4fc6e9(0x191)]='Local\x20binary\x20started\x20successfully';const _0x4a25f6=_0x304d81;if(helper[_0x4fc6e9(0x271)]()&&helper[_0x4fc6e9(0x1e1)](this[_0x4fc6e9(0x23f)][_0x4fc6e9(0x158)])&&(!this[_0x4fc6e9(0x158)]||!this[_0x4fc6e9(0x158)][_0x4fc6e9(0x246)]()))try{if(this[_0x4fc6e9(0x23f)][_0x4fc6e9(0x1f4)][_0x4fc6e9(0x165)]){logger[_0x4fc6e9(0x26e)](_0x4a25f6['YUJiL']);return;}this[_0x4fc6e9(0x158)]=await helper['startLocalBinary'](this['config']),logger[_0x4fc6e9(0x1bc)](_0x4a25f6[_0x4fc6e9(0x191)]);}catch(_0x48d6b7){logger[_0x4fc6e9(0x26e)](_0x48d6b7);throw new Error(_0x48d6b7[_0x4fc6e9(0x1d2)]());}}async['stopBrowserstackLocal'](){const _0x41dc6a=a122_0x37bb55,_0x5efcf8={};_0x5efcf8[_0x41dc6a(0x22d)]='Local\x20binary\x20stopped',_0x5efcf8[_0x41dc6a(0x251)]=_0x41dc6a(0x1ae);const _0x4a54da=_0x5efcf8;if(this[_0x41dc6a(0x158)]&&this[_0x41dc6a(0x158)]['isRunning']())try{await helper[_0x41dc6a(0x162)](this['browserstackLocal']),logger[_0x41dc6a(0x1bc)](_0x4a54da[_0x41dc6a(0x22d)]);}catch(_0x311913){logger[_0x41dc6a(0x1f8)](_0x4a54da['tHejP'],_0x311913['message']);}}async[a122_0x37bb55(0x16d)](){const _0x44e352=a122_0x37bb55;return PerformanceTester[_0x44e352(0x160)](PerformanceAutEvents['HUB_MANAGEMENT'],async()=>{const _0x3d6a9d=_0x44e352;await hubAllocator[_0x3d6a9d(0x1e4)](this[_0x3d6a9d(0x23f)]);})();}async[a122_0x37bb55(0x213)](){const _0x4857ac=a122_0x37bb55,_0x1533b6={'sHHMf':function(_0x32e795,_0x557c84){return _0x32e795(_0x557c84);},'dajFW':_0x4857ac(0x177),'lVGAY':function(_0x18054d,_0x3e0683,_0x48bbb2,_0xe8064b,_0x46095e,_0x195681,_0x5c49aa){return _0x18054d(_0x3e0683,_0x48bbb2,_0xe8064b,_0x46095e,_0x195681,_0x5c49aa);},'EKYAY':_0x4857ac(0x25a),'DtKNf':_0x4857ac(0x194),'zXtYU':function(_0x3626d1,_0x2dcf65){return _0x3626d1(_0x2dcf65);},'ZxRcf':'../../package.json','ciGHH':_0x4857ac(0x1bb),'SmZTv':function(_0x35e436,_0x2fb348){return _0x35e436(_0x2fb348);},'ZeLnT':function(_0x4c6aae,_0x4208d8){return _0x4c6aae===_0x4208d8;},'OCkEU':_0x4857ac(0x1c7),'yhbGH':function(_0x56b4ba,_0xca65e7){return _0x56b4ba===_0xca65e7;},'IFRbT':function(_0x241061,_0x175874){return _0x241061===_0x175874;},'FkMhy':function(_0x400a14,_0x1c8960){return _0x400a14===_0x1c8960;},'akulx':_0x4857ac(0x264),'UGoUn':_0x4857ac(0x21a),'GgLZX':_0x4857ac(0x1de),'veteG':_0x4857ac(0x1dc),'xbzKk':function(_0x3539b3,_0x4ae143){return _0x3539b3>=_0x4ae143;},'lTgOj':function(_0xa34666,_0x116645){return _0xa34666<_0x116645;},'dyzmQ':'tcg\x20config\x20setup\x20successful.','Tqffo':'aiHeal:tcgAuth','TVLzH':function(_0x2bd8ad){return _0x2bd8ad();}},_0x476072=PerformanceTester[_0x4857ac(0x160)](_0x1533b6[_0x4857ac(0x1e9)],async()=>{const _0xfdd6d1=_0x4857ac;try{const _0x438836=new Date(),_0x40fdd9=helper[_0xfdd6d1(0x1a4)](this[_0xfdd6d1(0x23f)]),_0x129667=_0x1533b6['sHHMf'](require,path['join'](__dirname,_0x1533b6['dajFW'])),_0x28a9d0=_0x1533b6[_0xfdd6d1(0x256)](timeoutPromise,constants[_0xfdd6d1(0x1c8)],_0x1533b6[_0xfdd6d1(0x22b)],_0x1533b6[_0xfdd6d1(0x1b3)],_0x438836,this['config'],this[_0xfdd6d1(0x1f9)]),_0x2e2e72={'tcgUrl':constants[_0xfdd6d1(0x26f)],'sdkVersion':_0x1533b6['zXtYU'](require,_0x1533b6['ZxRcf'])[_0xfdd6d1(0x25b)],'methodUsed':_0x1533b6[_0xfdd6d1(0x1c6)],'proxyConfig':_0x40fdd9,'os':os['platform']()};if(_0x40fdd9&&_0x40fdd9[_0xfdd6d1(0x21e)]){utilities[_0xfdd6d1(0x1b8)](constants['AI_PROXY_FAILURE'],_0x2e2e72,this['config'],this[_0xfdd6d1(0x1f9)]),_0x28a9d0[_0xfdd6d1(0x161)]();return;}const _0x3d9b2e={};_0x3d9b2e[_0xfdd6d1(0x196)]=_0x40fdd9;const _0xb10d9e=await Promise[_0xfdd6d1(0x203)]([_0x129667[_0xfdd6d1(0x1a7)](this[_0xfdd6d1(0x23f)][_0xfdd6d1(0x1df)],this[_0xfdd6d1(0x23f)]['userName'],constants['TCG_URL'],_0x1533b6[_0xfdd6d1(0x1e5)](require,_0x1533b6[_0xfdd6d1(0x1b0)])[_0xfdd6d1(0x25b)],_0x3d9b2e)[_0xfdd6d1(0x1d3)](_0x570135=>{const _0x16ae75=_0xfdd6d1;return _0x28a9d0[_0x16ae75(0x161)](),_0x570135;}),_0x28a9d0]);_0xb10d9e['isHealingEnabled']=_0x1533b6[_0xfdd6d1(0x157)](_0xb10d9e[_0xfdd6d1(0x1e0)],_0x1533b6[_0xfdd6d1(0x1c9)])||_0x1533b6['yhbGH'](_0xb10d9e[_0xfdd6d1(0x1e0)],!![]);const _0x3e00fb=_0x1533b6['IFRbT'](this[_0xfdd6d1(0x23f)][_0xfdd6d1(0x262)],!![])||_0x1533b6['IFRbT'](this[_0xfdd6d1(0x23f)][_0xfdd6d1(0x262)],_0x1533b6[_0xfdd6d1(0x1c9)]);if(_0x1533b6[_0xfdd6d1(0x1a0)](_0xb10d9e['message'],constants[_0xfdd6d1(0x17e)])&&_0x3e00fb)logger[_0xfdd6d1(0x1bc)](_0x1533b6['akulx']);else{if(!_0xb10d9e['isAuthenticated']&&_0x1533b6['yhbGH'](_0xb10d9e[_0xfdd6d1(0x268)],0x1f7)&&_0x3e00fb)logger[_0xfdd6d1(0x1bc)](_0x1533b6[_0xfdd6d1(0x1a8)]),utilities['fireFunnelTestEvent'](constants[_0xfdd6d1(0x1fb)],_0x2e2e72,this[_0xfdd6d1(0x23f)],this['framework']);else{if(!_0xb10d9e[_0xfdd6d1(0x253)]&&_0x3e00fb){logger[_0xfdd6d1(0x1bc)](_0x1533b6['GgLZX']);const _0x1fd219={'tcgUrl':constants[_0xfdd6d1(0x26f)],'sdkVersion':_0x1533b6['sHHMf'](require,_0x1533b6[_0xfdd6d1(0x1b0)])['version'],'methodUsed':_0x1533b6[_0xfdd6d1(0x1c6)],'proxyConfig':_0x40fdd9,'os':os[_0xfdd6d1(0x24f)]()};utilities[_0xfdd6d1(0x1b8)](constants[_0xfdd6d1(0x21b)],_0x1fd219,this[_0xfdd6d1(0x23f)],this[_0xfdd6d1(0x1f9)]);}else{if(_0xb10d9e[_0xfdd6d1(0x253)]&&!_0xb10d9e[_0xfdd6d1(0x1e0)]&&_0x3e00fb)logger[_0xfdd6d1(0x1bc)](_0x1533b6['veteG']);else{if(_0x1533b6['xbzKk'](_0xb10d9e[_0xfdd6d1(0x268)],0xc8)&&_0x1533b6[_0xfdd6d1(0x201)](_0xb10d9e[_0xfdd6d1(0x268)],0x12c))utilities[_0xfdd6d1(0x1b8)](constants[_0xfdd6d1(0x1f0)],_0x2e2e72,this['config'],this[_0xfdd6d1(0x1f9)]);else{if(_0x1533b6[_0xfdd6d1(0x190)](_0xb10d9e[_0xfdd6d1(0x268)],0x190))_0x2e2e72[_0xfdd6d1(0x268)]=_0xb10d9e[_0xfdd6d1(0x268)],utilities['fireFunnelTestEvent'](constants[_0xfdd6d1(0x226)],_0x2e2e72,this[_0xfdd6d1(0x23f)],this['framework']);else!_0xb10d9e[_0xfdd6d1(0x268)]&&utilities[_0xfdd6d1(0x1b8)](constants[_0xfdd6d1(0x200)],_0x2e2e72,this[_0xfdd6d1(0x23f)],this[_0xfdd6d1(0x1f9)]);}}}}}if(_0xb10d9e[_0xfdd6d1(0x253)]&&_0xb10d9e['isHealingEnabled']){const _0x5b7405={};_0x5b7405['tcgAuthConfig']=_0xb10d9e;const _0x44b469=_0x5b7405;_0x40fdd9&&(_0x44b469['proxyConfig']=_0x40fdd9),_0x44b469[_0xfdd6d1(0x1f9)]=this['framework'],_0x44b469[_0xfdd6d1(0x223)]=this[_0xfdd6d1(0x23f)],helper[_0xfdd6d1(0x18d)](_0x44b469),logger['debug'](_0x1533b6[_0xfdd6d1(0x179)]);}}catch(_0x2b374e){logger[_0xfdd6d1(0x26e)]('Error\x20in\x20setting\x20up\x20tcg\x20authconfig.\x20Error:\x20'+(_0x2b374e[_0xfdd6d1(0x1c0)]?_0x2b374e[_0xfdd6d1(0x1c0)]:''));}});await _0x1533b6['TVLzH'](_0x476072);}[a122_0x37bb55(0x192)](){const _0x556517=a122_0x37bb55,_0xbe0100={'xCMHS':function(_0x757e3f,_0x5c37cc){return _0x757e3f(_0x5c37cc);},'dDfOS':_0x556517(0x1fc)};_0xbe0100[_0x556517(0x1e6)](require,_0xbe0100['dDfOS'])();}[a122_0x37bb55(0x275)](){const _0x6f773e=a122_0x37bb55,_0x47e6d9={};_0x47e6d9[_0x6f773e(0x15d)]='2|4|3|0|1',_0x47e6d9[_0x6f773e(0x189)]=_0x6f773e(0x248),_0x47e6d9['YsZUQ']=_0x6f773e(0x17b);const _0x324800=_0x47e6d9,_0xfc4058=_0x5a2881=>{const _0x106126=_0x6f773e,_0x1db9b1=_0x324800[_0x106126(0x15d)]['split']('|');let _0x69372b=0x0;while(!![]){switch(_0x1db9b1[_0x69372b++]){case'0':PerformanceTester[_0x106126(0x21d)](_0x5a2881);continue;case'1':ClientTroubleShootingService[_0x106126(0x1bd)]();continue;case'2':logger['error'](_0x5a2881[_0x106126(0x1c0)]);continue;case'3':this['unhandledErrors'][_0x106126(0x20d)](util[_0x106126(0x247)]('%j',_0x5a2881));continue;case'4':logger[_0x106126(0x26e)](util['format'](_0x5a2881));continue;}break;}};process['on'](_0x324800[_0x6f773e(0x189)],_0xfc4058),process['on'](_0x324800[_0x6f773e(0x181)],_0xfc4058);}async['intExitHandler'](_0x1a8ee5){const _0x134a16=a122_0x37bb55,_0x75f8b1={'nKxLW':function(_0x2f69f9,_0x353eb8){return _0x2f69f9+_0x353eb8;},'qaZkJ':_0x134a16(0x204),'ncymL':_0x134a16(0x209),'CInEA':function(_0x34b5da,_0x169d8f,_0xd6cbd1){return _0x34b5da(_0x169d8f,_0xd6cbd1);},'SCllF':_0x134a16(0x1d0),'sSMdt':function(_0x15b826,_0x58114d){return _0x15b826+_0x58114d;},'kWpfx':'Shutdown\x20triggered\x20by\x20','mHjIZ':function(_0x384f43,_0x5a5671){return _0x384f43(_0x5a5671);},'CipaV':function(_0x62cb60,_0x3c582c){return _0x62cb60===_0x3c582c;},'ZNJxQ':_0x134a16(0x15c),'spsUc':function(_0x5e22b6,_0x439e49){return _0x5e22b6+_0x439e49;},'kJuRL':_0x134a16(0x207),'qiAgh':'ms;\x20forcing\x20exit'};if(this[_0x75f8b1[_0x134a16(0x229)](_0x75f8b1[_0x134a16(0x18c)],_0x1a8ee5)])return;this[_0x75f8b1['nKxLW'](_0x75f8b1['SCllF'],_0x1a8ee5)]=!![],logger['info'](_0x75f8b1['sSMdt'](_0x75f8b1[_0x134a16(0x257)],_0x1a8ee5)),this[_0x134a16(0x25f)]=_0x1a8ee5;const _0x3523aa=0x7530;let _0x18b2e9;const _0x273433=(async()=>{const _0x273d5f=_0x134a16;await ClientTroubleShootingService[_0x273d5f(0x1f2)](_0x1a8ee5),await TestHubHandler[_0x273d5f(0x236)](_0x1a8ee5),await ClientTroubleShootingService[_0x273d5f(0x1bd)](),await BrowserstackCLI[_0x273d5f(0x170)]()[_0x273d5f(0x236)]();})()[_0x134a16(0x1d3)](()=>_0x134a16(0x209))[_0x134a16(0x171)](_0x1182f5=>{const _0x1e1e16=_0x134a16;return logger[_0x1e1e16(0x26e)](_0x75f8b1['nKxLW'](_0x75f8b1['qaZkJ'],util[_0x1e1e16(0x247)](_0x1182f5))),_0x75f8b1[_0x1e1e16(0x182)];}),_0x19038f=new Promise(_0x263824=>{const _0x2bc6ca=_0x134a16;_0x18b2e9=_0x75f8b1[_0x2bc6ca(0x233)](setTimeout,()=>_0x263824(_0x2bc6ca(0x15c)),_0x3523aa),_0x18b2e9[_0x2bc6ca(0x272)]&&_0x18b2e9['unref']();}),_0x79a3a8=await Promise[_0x134a16(0x203)]([_0x273433,_0x19038f]);_0x75f8b1[_0x134a16(0x1d6)](clearTimeout,_0x18b2e9),_0x75f8b1['CipaV'](_0x79a3a8,_0x75f8b1[_0x134a16(0x24d)])&&(logger[_0x134a16(0x215)](_0x75f8b1[_0x134a16(0x1ad)](_0x75f8b1['sSMdt'](_0x75f8b1[_0x134a16(0x17f)],_0x3523aa),_0x75f8b1[_0x134a16(0x1d7)])),process[_0x134a16(0x19c)](process[_0x134a16(0x1cc)]||0x0));}[a122_0x37bb55(0x24e)](){const _0xdbe033=a122_0x37bb55,_0x326258={'RkNFX':function(_0x237d1c,_0x4f9a9e){return _0x237d1c===_0x4f9a9e;},'yNrzS':_0xdbe033(0x1f6),'WNNQB':function(_0x1210cd,_0x3d6352){return _0x1210cd>_0x3d6352;},'tziVp':function(_0x3741a9,_0x5e6fcc){return _0x3741a9(_0x5e6fcc);},'hOZyJ':function(_0x53198e){return _0x53198e();},'JzcOl':_0xdbe033(0x185)};let _0x11caa7=0x0;return async()=>{const _0x29df11=_0xdbe033;_0x11caa7++;if(_0x326258['RkNFX'](_0x11caa7,0x1)){helper[_0x29df11(0x254)](this[_0x29df11(0x1f9)])&&await this[_0x29df11(0x15b)]();try{logger[_0x29df11(0x26e)](_0x326258['yNrzS']),await TestHubHandler[_0x29df11(0x236)](_0x11caa7),await ClientTroubleShootingService[_0x29df11(0x1bd)](),await BrowserstackCLI[_0x29df11(0x170)]()[_0x29df11(0x236)]('1');}catch(_0x488499){logger[_0x29df11(0x26e)]('Error\x20in\x20sending\x20testhub\x20stop:\x20'+util[_0x29df11(0x247)](_0x488499));}PerformanceTester[_0x29df11(0x1ee)](PerformanceEvents[_0x29df11(0x274)]);if(PerformanceTester[_0x29df11(0x1e8)]()){const {measures:_0x17b58c,errors:_0xb4b790}=await PerformanceTester[_0x29df11(0x193)](),_0x48698f={};if(_0x17b58c&&_0x326258[_0x29df11(0x26c)](_0x17b58c[_0x29df11(0x1d9)],0x0)||_0xb4b790&&_0x326258[_0x29df11(0x26c)](_0xb4b790[_0x29df11(0x1d9)],0x0)){const _0x4b90b0={};_0x4b90b0['measures']=_0x17b58c,_0x4b90b0[_0x29df11(0x195)]=_0xb4b790,Object[_0x29df11(0x20c)](_0x48698f,_0x4b90b0);}try{const _0x457479=await helper['sendToEDS'](_0x48698f,this[_0x29df11(0x23f)]);logger[_0x29df11(0x26e)](_0x29df11(0x1f1)+_0x326258[_0x29df11(0x17d)](getEdsInstrumentationAPIUrl,'')+_0x29df11(0x1f3)+_0x457479[_0x29df11(0x243)]);}catch(_0x608182){logger[_0x29df11(0x26e)](_0x29df11(0x24a)+_0x326258[_0x29df11(0x17d)](getEdsInstrumentationAPIUrl,'')+'\x20with\x20error\x20'+util[_0x29df11(0x247)](_0x608182));}try{fs[_0x29df11(0x211)](path[_0x29df11(0x24b)](_0x326258['hOZyJ'](getLogDir),_0x326258[_0x29df11(0x24c)]),JSON[_0x29df11(0x178)](_0x48698f));}catch(_0x16ffd8){logger[_0x29df11(0x26e)](_0x29df11(0x227)+_0x16ffd8);}}}logger&&logger[_0x29df11(0x167)](),fileLogger&&fileLogger[_0x29df11(0x167)]();};}}exports['default']=BrowserStackSetup;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a123_0x3a42a4=a123_0x340b;(function(_0x51d889,_0x41a539){const _0x554320=a123_0x340b,_0x3ebc3d=_0x51d889();while(!![]){try{const _0x4c261b=parseInt(_0x554320(0x20d))/0x1*(parseInt(_0x554320(0x2bd))/0x2)+parseInt(_0x554320(0x26d))/0x3+-parseInt(_0x554320(0x292))/0x4+parseInt(_0x554320(0x25d))/0x5+parseInt(_0x554320(0x239))/0x6+-parseInt(_0x554320(0x249))/0x7+-parseInt(_0x554320(0x271))/0x8;if(_0x4c261b===_0x41a539)break;else _0x3ebc3d['push'](_0x3ebc3d['shift']());}catch(_0x28ac28){_0x3ebc3d['push'](_0x3ebc3d['shift']());}}}(a123_0x525b,0xc373a));const util=require(a123_0x3a42a4(0x218)),logger=require('../logger')['winstonLogger'],accessibilityHelper=require(a123_0x3a42a4(0x22a)),globals=require(a123_0x3a42a4(0x279)),scripts=require(a123_0x3a42a4(0x265)),PerformanceTester=require('../performance/performance-tester'),{A11Y_EVENTS:PerformanceA11yEvents}=require(a123_0x3a42a4(0x25a)),BrowserstackCLI=require(a123_0x3a42a4(0x1fd));let playwrightA11yHelper=null;try{playwrightA11yHelper=require(a123_0x3a42a4(0x1f7));}catch(a123_0x3a2353){logger[a123_0x3a42a4(0x2c0)](a123_0x3a42a4(0x291));}function a123_0x340b(_0x5d66eb,_0x14e279){const _0x525b6d=a123_0x525b();return a123_0x340b=function(_0x340b5c,_0x11e3d9){_0x340b5c=_0x340b5c-0x1f2;let _0x32657c=_0x525b6d[_0x340b5c];return _0x32657c;},a123_0x340b(_0x5d66eb,_0x14e279);}const a123_0x38a805={};function a123_0x525b(){const _0x27fad8=['message','TGLvd','resolveMobileThTestRunUuid',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary\x20with\x20retry.','prAgS','swkEN','fulfilled','Unknown\x20error\x20during\x20comprehensive\x20accessibility\x20scan','sPZfp','updateRetryConfig','Accessibility\x20results\x20retrieved\x20successfully\x20on\x20attempt\x20','gSkog','performScan','env','isPlaywright','\x20completed\x20successfully.','\x20failed\x20(','wRrdM','Failed\x20to\x20set\x20Playwright\x20script\x20timeout:\x20','Playwright\x20accessibility\x20helper\x20not\x20available','2768088jFBLvC','getAccessibilityModule','accessibilityPlatform','HjxGT','CNiBc','timeouts','aIPxr','maxRetries','LzonO','kACiA','performComprehensiveAccessibilityScanWithRetry','saveTestResults','meHjP','jabUx','ojBcp','mRoWl','undefined','zagnZ','unknown','goto','accessibilityConfig','NxYOZ','getRetryConfig','isRunning','allSettled','ydlGE','Operation\x20timed\x20out\x20after\x20','eJzyq','GwPlo','getAccessibilityResultsSummary',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20with\x20retry.','Failed\x20to\x20retrieve\x20accessibility\x20results\x20(','getSession','BTiiZ','kKYAO','Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20','__workerDetails','ckjZm','AQEtH','aJzVd','getGlobal','All\x20accessibility\x20results\x20save\x20attempts\x20failed\x20(','currentTest','2635956gqFRsU','url','isAccessibilityAutomationSession','debug','kuWoa','rejected',').\x20Last\x20error:\x20','MsPVP','max','Hyczx','constructor','Accessibility\x20results\x20save\x20attempt\x20','../../bin/playwright/accessibility-helper','Accessibility\x20results\x20retrieval\x20attempt\x20','setSeleniumScriptTimeout','capabilitiesList','lUJRL','Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20','../../bin/v2/browserstackCLI','Failed\x20to\x20retrieve\x20accessibility\x20summary\x20(','Cannot\x20set\x20script\x20timeout:\x20not\x20a\x20Selenium\x20WebDriver','evaluate','qShNK','Accessibility\x20results\x20summary\x20retrieved\x20successfully\x20on\x20attempt\x20','getAccessibilityResultsWithRetry','mhAxK','EHTPU','performScanWithRetry','executeAsyncScript','Unknown\x20driver/page\x20type:\x20','status','Selenium\x20WebDriver\x20timeout\x20API\x20not\x20available,\x20skipping\x20timeout\x20setting','UYzvS','naNvY','1eDmUlt','bjVid','CaeNa','qKNnh','uRIWH','reason','is_mobile_session','Set\x20Playwright\x20page\x20default\x20timeout\x20to\x20','NwyIQ','OQRbY','name','util','warn','All\x20accessibility\x20results\x20summary\x20retrieval\x20attempts\x20failed\x20(','HYdsj','Selenium\x20WebDriver\x20manage()\x20method\x20not\x20available,\x20skipping\x20timeout\x20setting','nNNCN','setPlaywrightScriptTimeout','getInstance','Unknown\x20error','playwright-page','YYrmZ','getCapabilities','setScriptTimeout','ZYBYL','MIpuj','Accessibility\x20scan\x20attempt\x20','scanSucceeded','isAccessibilityPlatform','./helper','isSeleniumDriver','getId','measureWrapper','Accessibility\x20retry\x20configuration\x20updated:\x20','):\x20','function','WebDriver','XIHWL','Jwwwy','[Accessibility]\x20Scan\x20skipped\x20-\x20scanning\x20is\x20currently\x20disabled\x20(partial\x20scan\x20mode)','XIylG','ms\x20using\x20setTimeouts\x20API','UjJBi','\x20for\x20method:\x20','2074818arQLbn','results','NVCGR','ms\x20using\x20setScriptTimeout\x20API',')\x20with\x20error:\x20',',\x20cannot\x20perform\x20scan\x20with\x20retry.','scannerProcessingTimeout','zvXOi','gyHGK','WKEbO','isMobilePlatform','DSeIH','defaultTimeoutMs','bVqKQ','TkYoC','stringify','54726rXcuYS','playwright-codecept-driver','Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20','setDefaultTimeout',').\x20Error:\x20','error','timeoutMs','\x20failed\x20for\x20method:\x20','Skipping\x20timeout\x20setting\x20for\x20','CCObK','KkPDd','phqMy','bstackA11yScanOptions','dzfcN','JENuA','dKkRG','setTimeouts','../performance/constants','KSsoM','hgnOl','4680825LgXLCY','Comprehensive\x20accessibility\x20scan\x20failed\x20(','getAccessibilityResults','manage','bstackA11yShouldScan','assign','saveAccessibilityResultsWithRetry','browserstackSessionName','./scripts','GMLBw','browserStackEvaluate','getAccessibilityResultsSummaryWithRetry','nIssC','\x20-\x20not\x20applicable',',\x20cannot\x20save\x20accessibility\x20results\x20with\x20retry.','info','2971815AlYAAc','cAovm','driverType','pTvNN','16721128dnNIzY','value','options','Page','summary','fSKNa','RcpzA','type','../globals','getCurrentUrl','mmRGw','uraab','mHTLB'];a123_0x525b=function(){return _0x27fad8;};return a123_0x525b();}a123_0x38a805[a123_0x3a42a4(0x299)]=0x1,a123_0x38a805[a123_0x3a42a4(0x24f)]=0x7530,a123_0x38a805['defaultTimeoutMs']=0x7530;const RETRY_CONFIG=a123_0x38a805,setConfigTimeout=(_0x394557,_0x18081f=null)=>{const _0x3489d1=a123_0x3a42a4,_0x4da1a9={'UjJBi':function(_0x167d0d,_0x132126){return _0x167d0d===_0x132126;},'GMLBw':_0x3489d1(0x23f),'qKNnh':function(_0x2e0bda,_0x3a6a69){return _0x2e0bda*_0x3a6a69;},'UYzvS':function(_0x4c8411,_0xd961d){return _0x4c8411(_0xd961d);},'LzonO':function(_0x18c60f,_0x222011){return _0x18c60f*_0x222011;}};if(BrowserstackCLI[_0x3489d1(0x21f)]()[_0x3489d1(0x2a9)]()&&BrowserstackCLI[_0x3489d1(0x21f)]()[_0x3489d1(0x293)]()){const _0x32703a=BrowserstackCLI[_0x3489d1(0x21f)]()[_0x3489d1(0x293)]()[_0x3489d1(0x2a6)],_0x241f76=_0x32703a[_0x3489d1(0x273)][_0x3489d1(0x1fa)]||[];for(const _0x286e5b of _0x241f76){_0x4da1a9[_0x3489d1(0x237)](_0x286e5b[_0x3489d1(0x217)],_0x4da1a9[_0x3489d1(0x266)])&&_0x4da1a9[_0x3489d1(0x237)](_0x18081f,null)&&(_0x394557['timeoutMs']=_0x4da1a9[_0x3489d1(0x210)](_0x4da1a9[_0x3489d1(0x20b)](parseInt,_0x286e5b[_0x3489d1(0x272)]),0x3e8));}}else process[_0x3489d1(0x28b)]['BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT']&&(_0x394557[_0x3489d1(0x24f)]=_0x4da1a9[_0x3489d1(0x29a)](_0x4da1a9[_0x3489d1(0x20b)](parseInt,process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT']),0x3e8));},detectDriverType=_0x1f0255=>{const _0x1b2c6a=a123_0x3a42a4,_0x1a5e46={};_0x1a5e46[_0x1b2c6a(0x2b4)]=_0x1b2c6a(0x2a4),_0x1a5e46[_0x1b2c6a(0x27f)]=function(_0xb5d2b2,_0x4eec47){return _0xb5d2b2===_0x4eec47;},_0x1a5e46['zagnZ']=_0x1b2c6a(0x230),_0x1a5e46[_0x1b2c6a(0x256)]=_0x1b2c6a(0x221),_0x1a5e46['DSeIH']=function(_0x33c818,_0xcb2da8){return _0x33c818===_0xcb2da8;},_0x1a5e46['meHjP']='selenium-webdriver',_0x1a5e46['HYdsj']=_0x1b2c6a(0x274),_0x1a5e46[_0x1b2c6a(0x25c)]=_0x1b2c6a(0x231),_0x1a5e46[_0x1b2c6a(0x226)]=function(_0x8bae69,_0x19ce9f){return _0x8bae69===_0x19ce9f;},_0x1a5e46[_0x1b2c6a(0x27b)]='Playwright',_0x1a5e46['CIkly']=_0x1b2c6a(0x24a),_0x1a5e46['uraab']=function(_0x4e9fdf,_0x36e833){return _0x4e9fdf||_0x36e833;},_0x1a5e46[_0x1b2c6a(0x216)]=_0x1b2c6a(0x2a2);const _0x5907be=_0x1a5e46;if(!_0x1f0255){const _0xd48a7b={};return _0xd48a7b[_0x1b2c6a(0x28c)]=![],_0xd48a7b[_0x1b2c6a(0x278)]=_0x5907be[_0x1b2c6a(0x2b4)],_0xd48a7b;}if(_0x5907be[_0x1b2c6a(0x27f)](typeof _0x1f0255[_0x1b2c6a(0x200)],_0x5907be[_0x1b2c6a(0x2a3)])&&_0x5907be['TGLvd'](typeof _0x1f0255['url'],_0x5907be[_0x1b2c6a(0x2a3)])&&_0x5907be['TGLvd'](typeof _0x1f0255[_0x1b2c6a(0x2a5)],_0x5907be[_0x1b2c6a(0x2a3)])){const _0x243ccb={};return _0x243ccb[_0x1b2c6a(0x28c)]=!![],_0x243ccb[_0x1b2c6a(0x278)]=_0x5907be['dzfcN'],_0x243ccb;}if(_0x5907be['TGLvd'](typeof _0x1f0255[_0x1b2c6a(0x207)],_0x5907be[_0x1b2c6a(0x2a3)])&&_0x5907be[_0x1b2c6a(0x244)](typeof _0x1f0255[_0x1b2c6a(0x223)],_0x5907be[_0x1b2c6a(0x2a3)])){const _0x4e06c2={};return _0x4e06c2[_0x1b2c6a(0x28c)]=![],_0x4e06c2[_0x1b2c6a(0x278)]=_0x5907be[_0x1b2c6a(0x29e)],_0x4e06c2;}const _0x10c269=_0x1f0255[_0x1b2c6a(0x1f5)]?.[_0x1b2c6a(0x217)];if(_0x5907be[_0x1b2c6a(0x27f)](_0x10c269,_0x5907be[_0x1b2c6a(0x21b)])){const _0x518192={};return _0x518192[_0x1b2c6a(0x28c)]=!![],_0x518192['type']=_0x5907be[_0x1b2c6a(0x256)],_0x518192;}if(_0x5907be['DSeIH'](_0x10c269,_0x5907be[_0x1b2c6a(0x25c)])){const _0x5af6e5={};return _0x5af6e5['isPlaywright']=![],_0x5af6e5['type']=_0x5907be[_0x1b2c6a(0x29e)],_0x5af6e5;}if(_0x5907be[_0x1b2c6a(0x226)](_0x10c269,_0x5907be[_0x1b2c6a(0x27b)])){const _0x160ed1={};return _0x160ed1['isPlaywright']=!![],_0x160ed1['type']=_0x5907be['CIkly'],_0x160ed1;}logger[_0x1b2c6a(0x219)](_0x1b2c6a(0x208)+_0x5907be[_0x1b2c6a(0x27c)](_0x10c269,_0x5907be[_0x1b2c6a(0x216)]));const _0x43587f={};return _0x43587f[_0x1b2c6a(0x28c)]=![],_0x43587f[_0x1b2c6a(0x278)]=_0x5907be[_0x1b2c6a(0x2b4)],_0x43587f;},withTimeout=(_0x398b00,_0xd4fe4c)=>{const _0x30cbba=a123_0x3a42a4;return Promise['race']([_0x398b00,new Promise((_0x51050c,_0x2bbb49)=>setTimeout(()=>_0x2bbb49(new Error(_0x30cbba(0x2ac)+_0xd4fe4c+'ms')),_0xd4fe4c))]);};exports[a123_0x3a42a4(0x206)]=async(_0x5077fd,_0x44d57b=null,_0x7b9224=null,_0x9ad3ab=![],_0x29c7ef=null)=>{const _0x2e753c=a123_0x3a42a4,_0x74249={'qShNK':function(_0x14b149,_0x88908e){return _0x14b149&&_0x88908e;},'uRIWH':function(_0x593719,_0x1ac1ef,_0x3f2043){return _0x593719(_0x1ac1ef,_0x3f2043);},'mHTLB':function(_0xb62cd7,_0x1cfa43){return _0xb62cd7===_0x1cfa43;},'lNDCE':'playwright-codecept-driver','jhYQT':function(_0x470f2c,_0xf15153){return _0x470f2c(_0xf15153);},'kuWoa':function(_0xdde4a8,_0x1a4da9){return _0xdde4a8||_0x1a4da9;},'AQEtH':function(_0xee79a0,_0x3ef719){return _0xee79a0!==_0x3ef719;},'KkPDd':'isAccessibilityPlatform','swkEN':_0x2e753c(0x261),'jabUx':function(_0x20c737,_0x2a6a70){return _0x20c737===_0x2a6a70;},'ZYBYL':_0x2e753c(0x234),'pTvNN':'unknown_method','cAovm':function(_0x2e7eec,_0x4a0cb1){return _0x2e7eec===_0x4a0cb1;},'Jwwwy':'function','CNiBc':function(_0xb0e64,_0x1630e9){return _0xb0e64===_0x1630e9;},'RcpzA':function(_0x2ab08b,_0x4cfbc4){return _0x2ab08b<=_0x4cfbc4;},'XIHWL':function(_0x488be7,_0x520010){return _0x488be7+_0x520010;},'KSsoM':_0x2e753c(0x220)},{isPlaywright:_0x4fb768,type:_0x9281f8}=_0x74249['jhYQT'](detectDriverType,_0x5077fd),_0x2e2a90=_0x9ad3ab?_0x74249[_0x2e753c(0x2c1)](_0x29c7ef,{}):global[_0x2e753c(0x255)]||{},_0x2c5f9d=_0x4fb768?global[_0x2e753c(0x294)]&&(_0x9ad3ab||_0x74249['AQEtH'](global['bstackA11yShouldScan'],![])):accessibilityHelper[_0x2e753c(0x2bf)]()&&globals[_0x2e753c(0x2ba)](_0x74249[_0x2e753c(0x253)])&&(_0x9ad3ab||_0x74249[_0x2e753c(0x2b8)](globals['getGlobal'](_0x74249[_0x2e753c(0x283)]),![]));if(!_0x2c5f9d)return _0x4fb768&&global[_0x2e753c(0x294)]&&_0x74249[_0x2e753c(0x27d)](global[_0x2e753c(0x261)],![])||!_0x4fb768&&globals[_0x2e753c(0x2ba)](_0x74249[_0x2e753c(0x253)])&&_0x74249[_0x2e753c(0x29f)](globals[_0x2e753c(0x2ba)](_0x74249[_0x2e753c(0x283)]),![])?logger[_0x2e753c(0x2c0)](_0x74249[_0x2e753c(0x225)]):logger['warn'](_0x2e753c(0x2b5)+_0x9281f8+_0x2e753c(0x23e)),![];const _0x428711=_0x44d57b||global[_0x2e753c(0x264)]||_0x74249[_0x2e753c(0x270)];let _0x4f64a5=null;const _0xcfdcaa={'testhub_btcer_uuid':global[_0x2e753c(0x2b6)]?.[_0x2e753c(0x2bc)]?.['id'],'url':_0x74249[_0x2e753c(0x26e)](typeof _0x5077fd[_0x2e753c(0x2be)],_0x74249['Jwwwy'])?await _0x5077fd[_0x2e753c(0x2be)]():_0x74249[_0x2e753c(0x26e)](typeof _0x5077fd[_0x2e753c(0x27a)],_0x74249['Jwwwy'])?await _0x5077fd[_0x2e753c(0x27a)]():'','automate_session_id':_0x74249[_0x2e753c(0x296)](typeof _0x5077fd[_0x2e753c(0x2b2)],_0x74249[_0x2e753c(0x233)])?(await _0x5077fd['getSession']())[_0x2e753c(0x22c)]():''};for(let _0x4fa888=0x1;_0x74249[_0x2e753c(0x277)](_0x4fa888,_0x74249[_0x2e753c(0x232)](RETRY_CONFIG['maxRetries'],0x1));_0x4fa888++){try{return logger[_0x2e753c(0x2c0)](_0x2e753c(0x227)+_0x4fa888+'/'+_0x74249[_0x2e753c(0x232)](RETRY_CONFIG[_0x2e753c(0x299)],0x1)+_0x2e753c(0x238)+_0x428711+'\x20('+_0x9281f8+')'),await PerformanceTester[_0x2e753c(0x22d)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x8962f=_0x2e753c;let _0x1c8ba6;if(_0x74249[_0x8962f(0x201)](_0x4fb768,playwrightA11yHelper)){_0x74249[_0x8962f(0x211)](setConfigTimeout,RETRY_CONFIG,null),await exports['setPlaywrightScriptTimeout'](_0x5077fd,RETRY_CONFIG[_0x8962f(0x24f)]);let _0x13fc95=_0x5077fd;_0x74249[_0x8962f(0x27d)](_0x9281f8,_0x74249['lNDCE'])&&(_0x13fc95=_0x5077fd['page']);const _0x5db9bf=global[_0x8962f(0x243)]?{'is_mobile_session':!![],'thTestRunUuid':accessibilityHelper[_0x8962f(0x280)]()}:{};_0x1c8ba6=await _0x74249[_0x8962f(0x211)](withTimeout,playwrightA11yHelper[_0x8962f(0x28a)](_0x13fc95,_0x428711,_0x2e2a90,_0x5db9bf),RETRY_CONFIG[_0x8962f(0x24f)]),await exports[_0x8962f(0x21e)](_0x5077fd,RETRY_CONFIG[_0x8962f(0x245)]);}else await exports['setSeleniumScriptTimeout'](_0x5077fd,RETRY_CONFIG[_0x8962f(0x24f)]),_0x1c8ba6=await _0x74249[_0x8962f(0x211)](withTimeout,accessibilityHelper[_0x8962f(0x28a)](_0x5077fd,_0x428711,_0x9ad3ab,_0x2e2a90),RETRY_CONFIG[_0x8962f(0x24f)]),await exports[_0x8962f(0x1f9)](_0x5077fd,RETRY_CONFIG['defaultTimeoutMs']);logger[_0x8962f(0x2c0)]('Scan\x20attempt\x20'+_0x4fa888+_0x8962f(0x28d));},{'command':_0x428711,..._0xcfdcaa})(),logger[_0x2e753c(0x26c)]('Accessibility\x20scan\x20succeeded\x20on\x20attempt\x20'+_0x4fa888+'.'),!![];}catch(_0x5d4a40){_0x4f64a5=_0x5d4a40,logger[_0x2e753c(0x2c0)](_0x2e753c(0x227)+_0x4fa888+_0x2e753c(0x250)+_0x428711+'\x20('+_0x9281f8+').\x20Error:\x20'+_0x5d4a40[_0x2e753c(0x27e)]);}}return logger[_0x2e753c(0x24e)]('All\x20accessibility\x20scan\x20attempts\x20failed\x20for\x20method:\x20'+_0x428711+'\x20('+_0x9281f8+_0x2e753c(0x23d)+(_0x4f64a5?.[_0x2e753c(0x27e)]||_0x74249[_0x2e753c(0x25b)])),![];},exports[a123_0x3a42a4(0x203)]=async(_0x190b4c,_0x42992d)=>{const _0x379d88=a123_0x3a42a4,_0x4aa34b={'lUJRL':function(_0x12e8b0,_0x134c50){return _0x12e8b0(_0x134c50);},'XIylG':'isAccessibilityPlatform','dKkRG':function(_0x271c45,_0x51322e){return _0x271c45<=_0x51322e;},'NVCGR':function(_0x11b805,_0xff8323){return _0x11b805+_0xff8323;},'gyHGK':function(_0xf90767,_0x420d40){return _0xf90767+_0x420d40;},'nIssC':function(_0x2ed7f0,_0x530657){return _0x2ed7f0&&_0x530657;},'eJzyq':function(_0x21499b,_0x1190d9,_0xf7419e){return _0x21499b(_0x1190d9,_0xf7419e);},'nOlzd':'Unknown\x20error'},{isPlaywright:_0x5beb80,type:_0x1812a9}=_0x4aa34b[_0x379d88(0x1fb)](detectDriverType,_0x190b4c),_0x422055=_0x5beb80?_0x42992d[_0x379d88(0x294)]:accessibilityHelper[_0x379d88(0x2bf)]()&&globals['getGlobal'](_0x4aa34b[_0x379d88(0x235)]);if(!_0x422055)return logger[_0x379d88(0x219)](_0x379d88(0x2b5)+_0x1812a9+_0x379d88(0x2b0)),[];let _0x2661ce=null;for(let _0x15af7d=0x1;_0x4aa34b[_0x379d88(0x258)](_0x15af7d,_0x4aa34b[_0x379d88(0x23b)](RETRY_CONFIG[_0x379d88(0x299)],0x1));_0x15af7d++){try{logger['debug'](_0x379d88(0x1f8)+_0x15af7d+'/'+_0x4aa34b[_0x379d88(0x241)](RETRY_CONFIG[_0x379d88(0x299)],0x1)+'\x20('+_0x1812a9+')');let _0x607435;return _0x4aa34b[_0x379d88(0x269)](_0x5beb80,playwrightA11yHelper)?(_0x4aa34b[_0x379d88(0x2ad)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x379d88(0x21e)](_0x190b4c,RETRY_CONFIG[_0x379d88(0x24f)]),_0x607435=await _0x4aa34b['eJzyq'](withTimeout,playwrightA11yHelper[_0x379d88(0x25f)](_0x190b4c),RETRY_CONFIG['timeoutMs']),await exports[_0x379d88(0x21e)](_0x190b4c,RETRY_CONFIG[_0x379d88(0x245)])):(await exports['setSeleniumScriptTimeout'](_0x190b4c,RETRY_CONFIG[_0x379d88(0x24f)]),_0x607435=await _0x4aa34b[_0x379d88(0x2ad)](withTimeout,accessibilityHelper['getAccessibilityResults'](_0x190b4c,_0x42992d),RETRY_CONFIG[_0x379d88(0x24f)]),await exports['setSeleniumScriptTimeout'](_0x190b4c,RETRY_CONFIG['defaultTimeoutMs'])),logger['info'](_0x379d88(0x288)+_0x15af7d+'\x20('+_0x1812a9+')'),_0x607435;}catch(_0x32bdc2){_0x2661ce=_0x32bdc2,logger[_0x379d88(0x219)](_0x379d88(0x1f8)+_0x15af7d+_0x379d88(0x28e)+_0x1812a9+_0x379d88(0x24d)+_0x32bdc2['message']);}}return logger['error']('All\x20accessibility\x20results\x20retrieval\x20attempts\x20failed\x20('+_0x1812a9+').\x20Last\x20error:\x20'+(_0x2661ce?.[_0x379d88(0x27e)]||_0x4aa34b['nOlzd'])),[];},exports['getAccessibilityResultsSummaryWithRetry']=async(_0x28fee2,_0x5db3ab)=>{const _0x44368b=a123_0x3a42a4,_0x3604f4={'VWftq':function(_0x26a51c,_0x505941){return _0x26a51c(_0x505941);},'NwyIQ':'isAccessibilityPlatform','bVqKQ':function(_0x2f650a,_0x1d8c01){return _0x2f650a<=_0x1d8c01;},'ojBcp':function(_0x5553d3,_0x2e0a5b){return _0x5553d3+_0x2e0a5b;},'naNvY':function(_0x1b39ca,_0x518b08){return _0x1b39ca+_0x518b08;},'ydlGE':function(_0x158b7e,_0x5c8eb8){return _0x158b7e&&_0x5c8eb8;},'CaeNa':function(_0x28a946,_0x4e2e80,_0x33d02e){return _0x28a946(_0x4e2e80,_0x33d02e);},'MsPVP':'Unknown\x20error'},{isPlaywright:_0x2355a2,type:_0x2f7774}=_0x3604f4['VWftq'](detectDriverType,_0x28fee2),_0x35cfa7=_0x2355a2?_0x5db3ab[_0x44368b(0x294)]:accessibilityHelper[_0x44368b(0x2bf)]()&&globals[_0x44368b(0x2ba)](_0x3604f4[_0x44368b(0x215)]);if(!_0x35cfa7)return logger['warn']('Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20'+_0x2f7774+_0x44368b(0x281)),{};let _0x1defb3=null;for(let _0x3df174=0x1;_0x3604f4[_0x44368b(0x246)](_0x3df174,_0x3604f4[_0x44368b(0x2a0)](RETRY_CONFIG[_0x44368b(0x299)],0x1));_0x3df174++){try{logger[_0x44368b(0x2c0)](_0x44368b(0x24b)+_0x3df174+'/'+_0x3604f4[_0x44368b(0x20c)](RETRY_CONFIG[_0x44368b(0x299)],0x1)+'\x20('+_0x2f7774+')');let _0xe42e64;return _0x3604f4[_0x44368b(0x2ab)](_0x2355a2,playwrightA11yHelper)?(_0x3604f4[_0x44368b(0x20f)](setConfigTimeout,RETRY_CONFIG,null),await exports['setPlaywrightScriptTimeout'](_0x28fee2,RETRY_CONFIG[_0x44368b(0x24f)]),_0xe42e64=await _0x3604f4[_0x44368b(0x20f)](withTimeout,playwrightA11yHelper[_0x44368b(0x2af)](_0x28fee2),RETRY_CONFIG['timeoutMs']),await exports[_0x44368b(0x21e)](_0x28fee2,RETRY_CONFIG[_0x44368b(0x245)])):(await exports['setSeleniumScriptTimeout'](_0x28fee2,RETRY_CONFIG['timeoutMs']),_0xe42e64=await _0x3604f4[_0x44368b(0x20f)](withTimeout,accessibilityHelper[_0x44368b(0x2af)](_0x28fee2,_0x5db3ab),RETRY_CONFIG['timeoutMs']),await exports[_0x44368b(0x1f9)](_0x28fee2,RETRY_CONFIG['defaultTimeoutMs'])),logger[_0x44368b(0x26c)](_0x44368b(0x202)+_0x3df174+'\x20('+_0x2f7774+')'),_0xe42e64;}catch(_0x37ae27){_0x1defb3=_0x37ae27,logger[_0x44368b(0x219)](_0x44368b(0x24b)+_0x3df174+_0x44368b(0x28e)+_0x2f7774+_0x44368b(0x24d)+_0x37ae27[_0x44368b(0x27e)]);}}return logger[_0x44368b(0x24e)](_0x44368b(0x21a)+_0x2f7774+_0x44368b(0x2c3)+(_0x1defb3?.['message']||_0x3604f4[_0x44368b(0x1f2)])),{};},exports[a123_0x3a42a4(0x29c)]=async(_0xacd1e7,_0x1e5a8f,_0x1cee89=null)=>{const _0x1af5c0=a123_0x3a42a4,_0x5e54b6={'bjVid':function(_0x1afe39,_0x1483fd){return _0x1afe39(_0x1483fd);},'sPZfp':function(_0x501666,_0x34c971){return _0x501666===_0x34c971;},'aJzVd':_0x1af5c0(0x284),'GwPlo':function(_0x412223,_0x3b7675){return _0x412223===_0x3b7675;},'phqMy':_0x1af5c0(0x2c2),'kACiA':function(_0x134b4c,_0x17e2b3){return _0x134b4c===_0x17e2b3;},'prAgS':_0x1af5c0(0x285)},{isPlaywright:_0x1fd23e,type:_0x3e12a2}=_0x5e54b6[_0x1af5c0(0x20e)](detectDriverType,_0xacd1e7),_0xba8520={};_0xba8520['scanSucceeded']=![],_0xba8520[_0x1af5c0(0x23a)]=[],_0xba8520['summary']={},_0xba8520['error']=null,_0xba8520[_0x1af5c0(0x26f)]=_0x3e12a2;const _0xd55994=_0xba8520;try{_0xd55994[_0x1af5c0(0x228)]=await exports[_0x1af5c0(0x206)](_0xacd1e7,_0x1cee89);if(_0xd55994['scanSucceeded']){const [_0xe8cb1e,_0x4a1827]=await Promise[_0x1af5c0(0x2aa)]([exports[_0x1af5c0(0x203)](_0xacd1e7,_0x1e5a8f),exports[_0x1af5c0(0x268)](_0xacd1e7,_0x1e5a8f)]);_0xd55994['results']=_0x5e54b6[_0x1af5c0(0x286)](_0xe8cb1e['status'],_0x5e54b6[_0x1af5c0(0x2b9)])?_0xe8cb1e[_0x1af5c0(0x272)]:[],_0xd55994[_0x1af5c0(0x275)]=_0x5e54b6[_0x1af5c0(0x2ae)](_0x4a1827[_0x1af5c0(0x209)],_0x5e54b6[_0x1af5c0(0x2b9)])?_0x4a1827[_0x1af5c0(0x272)]:{},_0x5e54b6[_0x1af5c0(0x286)](_0xe8cb1e[_0x1af5c0(0x209)],_0x5e54b6[_0x1af5c0(0x254)])&&logger['warn'](_0x1af5c0(0x2b1)+_0x3e12a2+_0x1af5c0(0x22f)+_0xe8cb1e[_0x1af5c0(0x212)]?.[_0x1af5c0(0x27e)]),_0x5e54b6[_0x1af5c0(0x29b)](_0x4a1827['status'],_0x5e54b6[_0x1af5c0(0x254)])&&logger[_0x1af5c0(0x219)](_0x1af5c0(0x1fe)+_0x3e12a2+'):\x20'+_0x4a1827[_0x1af5c0(0x212)]?.[_0x1af5c0(0x27e)]);}}catch(_0x41da4a){_0xd55994['error']=_0x41da4a[_0x1af5c0(0x27e)]||_0x5e54b6[_0x1af5c0(0x282)],logger[_0x1af5c0(0x24e)](_0x1af5c0(0x25e)+_0x3e12a2+_0x1af5c0(0x22f)+_0xd55994[_0x1af5c0(0x24e)]);}return _0xd55994;},exports[a123_0x3a42a4(0x287)]=_0x20c8a1=>{const _0x1521e3=a123_0x3a42a4,_0x3f0b02={};_0x3f0b02[_0x1521e3(0x257)]=function(_0x857ff4,_0x32f1a4){return _0x857ff4!==_0x32f1a4;};const _0x56c924=_0x3f0b02;_0x56c924[_0x1521e3(0x257)](_0x20c8a1[_0x1521e3(0x299)],undefined)&&(RETRY_CONFIG['maxRetries']=Math['max'](0x0,_0x20c8a1[_0x1521e3(0x299)])),_0x56c924[_0x1521e3(0x257)](_0x20c8a1[_0x1521e3(0x24f)],undefined)&&(RETRY_CONFIG[_0x1521e3(0x24f)]=Math[_0x1521e3(0x1f3)](0x3e8,_0x20c8a1[_0x1521e3(0x24f)])),logger[_0x1521e3(0x2c0)](_0x1521e3(0x22e)+JSON[_0x1521e3(0x248)](RETRY_CONFIG));},exports[a123_0x3a42a4(0x2a8)]=()=>{const _0x3fda81={...RETRY_CONFIG};return _0x3fda81;},exports['isPlaywrightPage']=_0x4e7cdd=>{const _0x3540dc=a123_0x3a42a4,_0x264adf={'BTiiZ':function(_0x3191ad,_0x5f4cbf){return _0x3191ad(_0x5f4cbf);}};return _0x264adf[_0x3540dc(0x2b3)](detectDriverType,_0x4e7cdd)['isPlaywright'];},exports[a123_0x3a42a4(0x22b)]=_0x127cf1=>{const _0x1c3f35=a123_0x3a42a4,_0x5627b6={'wRrdM':function(_0x148afd,_0x12a12f){return _0x148afd(_0x12a12f);},'YYrmZ':function(_0x53d282,_0x214cfa){return _0x53d282===_0x214cfa;},'qrTIl':'selenium-webdriver'},{isPlaywright:_0x4987fd,type:_0x3f2426}=_0x5627b6[_0x1c3f35(0x28f)](detectDriverType,_0x127cf1);return!_0x4987fd&&_0x5627b6[_0x1c3f35(0x222)](_0x3f2426,_0x5627b6['qrTIl']);},exports['setPlaywrightScriptTimeout']=async(_0x5ccc42,_0x37ecef=null)=>{const _0x3d180f=a123_0x3a42a4,_0x5b484e={'nNNCN':function(_0x229366,_0x1c85b2){return _0x229366(_0x1c85b2);},'EHTPU':function(_0x5115a4,_0x2dbc48){return _0x5115a4===_0x2dbc48;},'aIPxr':_0x3d180f(0x230)},{isPlaywright:_0x57e685,type:_0x21bf60}=_0x5b484e[_0x3d180f(0x21d)](detectDriverType,_0x5ccc42);if(!_0x57e685)return logger[_0x3d180f(0x2c0)](_0x3d180f(0x251)+_0x21bf60+_0x3d180f(0x26a)),!![];const _0x73c2d9=_0x37ecef||RETRY_CONFIG['defaultTimeoutMs'];try{return _0x5ccc42&&_0x5b484e[_0x3d180f(0x205)](typeof _0x5ccc42[_0x3d180f(0x24c)],_0x5b484e[_0x3d180f(0x298)])&&(await _0x5ccc42[_0x3d180f(0x24c)](_0x73c2d9),logger[_0x3d180f(0x2c0)](_0x3d180f(0x214)+_0x73c2d9+'ms')),!![];}catch(_0x4b97ed){return logger[_0x3d180f(0x219)](_0x3d180f(0x290)+_0x4b97ed[_0x3d180f(0x27e)]),![];}},exports['setSeleniumScriptTimeout']=async(_0x4b5c80,_0x4b9e3d=null)=>{const _0x55762e=a123_0x3a42a4,_0x18280d={};_0x18280d[_0x55762e(0x252)]=_0x55762e(0x1ff),_0x18280d[_0x55762e(0x247)]=function(_0x1a7a6e,_0x57f2e6){return _0x1a7a6e===_0x57f2e6;},_0x18280d['mRoWl']=_0x55762e(0x230),_0x18280d[_0x55762e(0x204)]=function(_0x8a1da4,_0x44e83a){return _0x8a1da4===_0x44e83a;},_0x18280d[_0x55762e(0x2a7)]=_0x55762e(0x20a),_0x18280d[_0x55762e(0x276)]=_0x55762e(0x21c);const _0x5e4f8c=_0x18280d;if(!exports[_0x55762e(0x22b)](_0x4b5c80))return logger[_0x55762e(0x219)](_0x5e4f8c[_0x55762e(0x252)]),![];const _0x28ae81=_0x4b9e3d||RETRY_CONFIG['defaultTimeoutMs'];try{if(_0x4b5c80&&_0x5e4f8c[_0x55762e(0x247)](typeof _0x4b5c80[_0x55762e(0x260)],_0x5e4f8c[_0x55762e(0x2a1)])){const _0x2614bf=_0x4b5c80[_0x55762e(0x260)]();if(_0x2614bf&&_0x5e4f8c[_0x55762e(0x247)](typeof _0x2614bf[_0x55762e(0x297)],_0x5e4f8c[_0x55762e(0x2a1)]))await _0x2614bf['timeouts']()[_0x55762e(0x224)](_0x28ae81),logger['debug'](_0x55762e(0x1fc)+_0x28ae81+'ms\x20using\x20timeouts()\x20API');else{if(_0x2614bf&&_0x5e4f8c[_0x55762e(0x247)](typeof _0x2614bf['setTimeouts'],_0x5e4f8c[_0x55762e(0x2a1)])){const _0x5d7851={};_0x5d7851['script']=_0x28ae81,await _0x2614bf[_0x55762e(0x259)](_0x5d7851),logger[_0x55762e(0x2c0)](_0x55762e(0x1fc)+_0x28ae81+_0x55762e(0x236));}else{if(_0x2614bf&&_0x5e4f8c[_0x55762e(0x204)](typeof _0x2614bf[_0x55762e(0x224)],_0x5e4f8c[_0x55762e(0x2a1)]))await _0x2614bf['setScriptTimeout'](_0x28ae81),logger[_0x55762e(0x2c0)](_0x55762e(0x1fc)+_0x28ae81+_0x55762e(0x23c));else return logger[_0x55762e(0x2c0)](_0x5e4f8c['NxYOZ']),!![];}}}else return logger[_0x55762e(0x2c0)](_0x5e4f8c[_0x55762e(0x276)]),!![];return!![];}catch(_0x489efd){return logger[_0x55762e(0x219)]('Failed\x20to\x20set\x20Selenium\x20script\x20timeout:\x20'+_0x489efd[_0x55762e(0x27e)]),![];}},exports[a123_0x3a42a4(0x263)]=async(_0xfe306e,_0x1fdae5)=>{const _0x4caf6a=a123_0x3a42a4,_0x28a05f={'gSkog':function(_0x240221,_0x5ae3b3){return _0x240221(_0x5ae3b3);},'MlQmW':_0x4caf6a(0x229),'HjxGT':function(_0x55ded5,_0x3ca6fe){return _0x55ded5<=_0x3ca6fe;},'zvXOi':function(_0x7cd023,_0x24a52a){return _0x7cd023+_0x24a52a;},'WuWch':function(_0x117822,_0x19d3c8){return _0x117822+_0x19d3c8;},'keDRb':function(_0x37ab3f,_0xf6013){return _0x37ab3f&&_0xf6013;},'Ojjki':function(_0x207bb8,_0x38d376,_0x14e066){return _0x207bb8(_0x38d376,_0x14e066);},'xkgQl':function(_0x195e7b,_0x5de8e7,_0x563d26){return _0x195e7b(_0x5de8e7,_0x563d26);},'WKEbO':_0x4caf6a(0x243),'Hyczx':function(_0x3fa86c,_0x3b55b5,_0x36a6c4){return _0x3fa86c(_0x3b55b5,_0x36a6c4);},'ckjZm':_0x4caf6a(0x220)},{isPlaywright:_0x3f339c,type:_0x18e5cd}=_0x28a05f[_0x4caf6a(0x289)](detectDriverType,_0xfe306e),_0x2231fe=_0x3f339c?global[_0x4caf6a(0x294)]:accessibilityHelper[_0x4caf6a(0x2bf)]()&&globals[_0x4caf6a(0x2ba)](_0x28a05f['MlQmW']);if(!_0x2231fe)return logger[_0x4caf6a(0x219)](_0x4caf6a(0x2b5)+_0x18e5cd+_0x4caf6a(0x26b)),![];let _0x576838=null;for(let _0x632dbc=0x1;_0x28a05f[_0x4caf6a(0x295)](_0x632dbc,_0x28a05f[_0x4caf6a(0x240)](RETRY_CONFIG['maxRetries'],0x1));_0x632dbc++){try{logger[_0x4caf6a(0x2c0)]('Accessibility\x20results\x20save\x20attempt\x20'+_0x632dbc+'/'+_0x28a05f['WuWch'](RETRY_CONFIG[_0x4caf6a(0x299)],0x1)+'\x20('+_0x18e5cd+')');if(_0x28a05f['keDRb'](_0x3f339c,playwrightA11yHelper)){_0x28a05f['Ojjki'](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x4caf6a(0x21e)](_0xfe306e,RETRY_CONFIG[_0x4caf6a(0x24f)]);const _0x27e5c1={};_0x27e5c1['is_mobile_session']=!![];const _0x31c32d=global[_0x4caf6a(0x243)]?Object[_0x4caf6a(0x262)]({},_0x1fdae5,_0x27e5c1):_0x1fdae5;await _0x28a05f['xkgQl'](withTimeout,playwrightA11yHelper[_0x4caf6a(0x267)](_0xfe306e,scripts[_0x4caf6a(0x29d)],_0x31c32d),RETRY_CONFIG[_0x4caf6a(0x24f)]),await exports[_0x4caf6a(0x21e)](_0xfe306e,RETRY_CONFIG[_0x4caf6a(0x245)]);}else{await exports['setSeleniumScriptTimeout'](_0xfe306e,RETRY_CONFIG['timeoutMs']);const _0x2b9a4e={};_0x2b9a4e[_0x4caf6a(0x213)]=!![];const _0x25f689=globals['getGlobal'](_0x28a05f[_0x4caf6a(0x242)])?Object['assign']({},_0x1fdae5,_0x2b9a4e):_0x1fdae5;await _0x28a05f[_0x4caf6a(0x1f4)](withTimeout,_0xfe306e['executeAsyncScript'](scripts[_0x4caf6a(0x29d)],_0x25f689),RETRY_CONFIG[_0x4caf6a(0x24f)]),await exports[_0x4caf6a(0x1f9)](_0xfe306e,RETRY_CONFIG[_0x4caf6a(0x245)]);}return logger[_0x4caf6a(0x26c)]('Accessibility\x20results\x20saved\x20successfully\x20on\x20attempt\x20'+_0x632dbc+'\x20('+_0x18e5cd+')'),!![];}catch(_0x50d7bc){_0x576838=_0x50d7bc,logger[_0x4caf6a(0x219)](_0x4caf6a(0x1f6)+_0x632dbc+_0x4caf6a(0x28e)+_0x18e5cd+_0x4caf6a(0x24d)+_0x50d7bc[_0x4caf6a(0x27e)]);}}return logger[_0x4caf6a(0x24e)](_0x4caf6a(0x2bb)+_0x18e5cd+_0x4caf6a(0x2c3)+(_0x576838?.[_0x4caf6a(0x27e)]||_0x28a05f[_0x4caf6a(0x2b7)])),![];};
|
|
1
|
+
function a123_0x1b3e(){const _0x6801e3=['saveTestResults','../../bin/v2/browserstackCLI','100330kyIWfU','manage','6765484mAJdfX','1578896UZPWxL','../globals','isPlaywrightPage','page','selenium-webdriver','QnZRi','Accessibility\x20scan\x20attempt\x20','YSTXk','isAccessibilityPlatform','timeoutMs','value','\x20for\x20method:\x20','yMsIW','updateRetryConfig','warn','../performance/constants','EoNZZ','esMWN','Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20','jwuTp','Onmoy','FlDQN','XhMti','TOxfb','undefined','status','187733wFornh','xiLSy','Failed\x20to\x20retrieve\x20accessibility\x20summary\x20(','lNSNR','scannerProcessingTimeout','race','setDefaultTimeout','rejected','ms\x20using\x20timeouts()\x20API',')\x20with\x20error:\x20','type','uDUEp','MPjvC','iwQeZ','XCbYW','Accessibility\x20results\x20save\x20attempt\x20','riZbb','tjCFi','nvVvC','results','stringify','jXPsU','getInstance','60fSxrCe','function','HEhHA','Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20','getGlobal','url','performScan','performComprehensiveAccessibilityScanWithRetry',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20with\x20retry.','Accessibility\x20scan\x20succeeded\x20on\x20attempt\x20','Unknown\x20error','wqabB','getId','isAccessibilityAutomationSession','timeouts','[Accessibility]\x20Scan\x20skipped\x20-\x20scanning\x20is\x20currently\x20disabled\x20(partial\x20scan\x20mode)','Selenium\x20WebDriver\x20timeout\x20API\x20not\x20available,\x20skipping\x20timeout\x20setting','LwKGA','Unknown\x20driver/page\x20type:\x20','options','error','edpwC','iCkkG','DFBII','):\x20','BDreG','browserStackEvaluate','OEXoD',',\x20cannot\x20save\x20accessibility\x20results\x20with\x20retry.','mYFvG','max','vJLfQ','All\x20accessibility\x20scan\x20attempts\x20failed\x20for\x20method:\x20','IvvBD','IeAtF','nMERq','allSettled','UHtFU','DohPA','unknown_method','aPehB','info','uKpyq','KQROs','BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT','__workerDetails',').\x20Last\x20error:\x20','59017rSSFiH','Operation\x20timed\x20out\x20after\x20','Scan\x20attempt\x20','driverType','getSession','vTeji','../performance/performance-tester','Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20','setPlaywrightScriptTimeout','Accessibility\x20retry\x20configuration\x20updated:\x20','setTimeouts','IyabC','winstonLogger','Failed\x20to\x20set\x20Selenium\x20script\x20timeout:\x20','PLjEi','ms\x20using\x20setScriptTimeout\x20API','name','RfZIz','goto','debug','Comprehensive\x20accessibility\x20scan\x20failed\x20(','summary','468FwgWzA','executeAsyncScript','36TkcAEU','TZrnK','Selenium\x20WebDriver\x20manage()\x20method\x20not\x20available,\x20skipping\x20timeout\x20setting','getAccessibilityResults','scanSucceeded','getCurrentUrl','\x20failed\x20(','browserstackSessionName','bLFhb','getRetryConfig','6ElIuUe','NNMGG','maxRetries','sfnmn','./scripts','aXmMw','All\x20accessibility\x20results\x20summary\x20retrieval\x20attempts\x20failed\x20(','sOVbW','getAccessibilityResultsSummary','accessibilityPlatform','RrEGI','TPSYe','rUKZE','reason','FZSSk','uDCPT','isPlaywright','wFHHC','EsunJ','Unknown\x20error\x20during\x20comprehensive\x20accessibility\x20scan','TlwHr','Set\x20Playwright\x20page\x20default\x20timeout\x20to\x20','scfOy','assign','bstackA11yScanOptions','UrMlg','DUiMz','unknown','setSeleniumScriptTimeout','playwright-codecept-driver','getAccessibilityResultsSummaryWithRetry','Rbfwo','mtXjR','util','lJsaD','Failed\x20to\x20retrieve\x20accessibility\x20results\x20(','229820EXaxHq','5492FygLOL','AluLw','FJSnF','CVNcC','\x20-\x20not\x20applicable','env','bstackA11yShouldScan','PERFORM_SCAN',',\x20cannot\x20perform\x20scan\x20with\x20retry.','setScriptTimeout','message','jLOeL','performScanWithRetry','dIibl','MSKfG','IAajj','defaultTimeoutMs','getCapabilities',').\x20Error:\x20','saveAccessibilityResultsWithRetry','Failed\x20to\x20set\x20Playwright\x20script\x20timeout:\x20','getAccessibilityModule','currentTest','pAFIH','getAccessibilityResultsWithRetry','HjkxM','Accessibility\x20results\x20retrieval\x20attempt\x20'];a123_0x1b3e=function(){return _0x6801e3;};return a123_0x1b3e();}const a123_0x41f6a5=a123_0x5159;(function(_0x405ce8,_0x1f81e0){const _0x2187e0=a123_0x5159,_0x202b02=_0x405ce8();while(!![]){try{const _0x36fa00=parseInt(_0x2187e0(0x178))/0x1*(parseInt(_0x2187e0(0x19a))/0x2)+parseInt(_0x2187e0(0x18e))/0x3*(parseInt(_0x2187e0(0x1bf))/0x4)+-parseInt(_0x2187e0(0x115))/0x5*(-parseInt(_0x2187e0(0x149))/0x6)+parseInt(_0x2187e0(0x132))/0x7+parseInt(_0x2187e0(0x118))/0x8+-parseInt(_0x2187e0(0x190))/0x9*(parseInt(_0x2187e0(0x1be))/0xa)+-parseInt(_0x2187e0(0x117))/0xb;if(_0x36fa00===_0x1f81e0)break;else _0x202b02['push'](_0x202b02['shift']());}catch(_0x12166e){_0x202b02['push'](_0x202b02['shift']());}}}(a123_0x1b3e,0x1aa34));const util=require(a123_0x41f6a5(0x1bb)),logger=require('../logger')[a123_0x41f6a5(0x184)],accessibilityHelper=require('./helper'),globals=require(a123_0x41f6a5(0x119)),scripts=require(a123_0x41f6a5(0x19e)),PerformanceTester=require(a123_0x41f6a5(0x17e)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a123_0x41f6a5(0x127)),BrowserstackCLI=require(a123_0x41f6a5(0x114));let playwrightA11yHelper=null;try{playwrightA11yHelper=require('../../bin/playwright/accessibility-helper');}catch(a123_0x52bfc8){logger[a123_0x41f6a5(0x18b)]('Playwright\x20accessibility\x20helper\x20not\x20available');}const a123_0x5e249b={};a123_0x5e249b[a123_0x41f6a5(0x19c)]=0x1,a123_0x5e249b['timeoutMs']=0x7530,a123_0x5e249b['defaultTimeoutMs']=0x7530;const RETRY_CONFIG=a123_0x5e249b,setConfigTimeout=(_0x5230dd,_0x38b581=null)=>{const _0x16006a=a123_0x41f6a5,_0x10b279={'IvvBD':function(_0x42eadb,_0x2bd5d1){return _0x42eadb===_0x2bd5d1;},'yMsIW':_0x16006a(0x136),'uDUEp':function(_0x208329,_0x3a83bd){return _0x208329===_0x3a83bd;},'duHMO':function(_0x1bb024,_0x10a603){return _0x1bb024*_0x10a603;},'Onmoy':function(_0x4dcdae,_0x19a4af){return _0x4dcdae(_0x19a4af);}};if(BrowserstackCLI['getInstance']()['isRunning']()&&BrowserstackCLI[_0x16006a(0x148)]()['getAccessibilityModule']()){const _0x1efc6d=BrowserstackCLI['getInstance']()[_0x16006a(0x10d)]()['accessibilityConfig'],_0x9489fc=_0x1efc6d[_0x16006a(0x15c)]['capabilitiesList']||[];for(const _0x1cd479 of _0x9489fc){_0x10b279[_0x16006a(0x16a)](_0x1cd479[_0x16006a(0x188)],_0x10b279[_0x16006a(0x124)])&&_0x10b279[_0x16006a(0x13d)](_0x38b581,null)&&(_0x5230dd[_0x16006a(0x121)]=_0x10b279['duHMO'](_0x10b279[_0x16006a(0x12c)](parseInt,_0x1cd479[_0x16006a(0x122)]),0x3e8));}}else process['env'][_0x16006a(0x175)]&&(_0x5230dd[_0x16006a(0x121)]=_0x10b279['duHMO'](_0x10b279[_0x16006a(0x12c)](parseInt,process[_0x16006a(0x1c4)][_0x16006a(0x175)]),0x3e8));},detectDriverType=_0x2cd6a8=>{const _0x432105=a123_0x41f6a5,_0x13d217={};_0x13d217[_0x432105(0x1c0)]=_0x432105(0x1b5),_0x13d217[_0x432105(0x173)]=function(_0x19136e,_0x5c96f3){return _0x19136e===_0x5c96f3;},_0x13d217[_0x432105(0x162)]=_0x432105(0x14a),_0x13d217['UHtFU']=function(_0x4b5fc9,_0x186e78){return _0x4b5fc9===_0x186e78;},_0x13d217[_0x432105(0x135)]='playwright-page',_0x13d217[_0x432105(0x166)]=function(_0x323716,_0x5ae240){return _0x323716===_0x5ae240;},_0x13d217[_0x432105(0x111)]=_0x432105(0x11c),_0x13d217['EoNZZ']='Page',_0x13d217[_0x432105(0x11d)]='WebDriver',_0x13d217[_0x432105(0x183)]='Playwright',_0x13d217[_0x432105(0x129)]=_0x432105(0x1b7),_0x13d217[_0x432105(0x19d)]=function(_0x173a68,_0x466b5a){return _0x173a68||_0x466b5a;},_0x13d217[_0x432105(0x12e)]=_0x432105(0x130);const _0x1dfc42=_0x13d217;if(!_0x2cd6a8){const _0x49f8cb={};return _0x49f8cb[_0x432105(0x1aa)]=![],_0x49f8cb[_0x432105(0x13c)]=_0x1dfc42[_0x432105(0x1c0)],_0x49f8cb;}if(_0x1dfc42[_0x432105(0x173)](typeof _0x2cd6a8['evaluate'],_0x1dfc42[_0x432105(0x162)])&&_0x1dfc42[_0x432105(0x173)](typeof _0x2cd6a8[_0x432105(0x14e)],_0x1dfc42[_0x432105(0x162)])&&_0x1dfc42[_0x432105(0x16e)](typeof _0x2cd6a8[_0x432105(0x18a)],_0x1dfc42[_0x432105(0x162)])){const _0x2f207d={};return _0x2f207d[_0x432105(0x1aa)]=!![],_0x2f207d[_0x432105(0x13c)]=_0x1dfc42[_0x432105(0x135)],_0x2f207d;}if(_0x1dfc42[_0x432105(0x166)](typeof _0x2cd6a8[_0x432105(0x18f)],_0x1dfc42['BDreG'])&&_0x1dfc42[_0x432105(0x16e)](typeof _0x2cd6a8[_0x432105(0x109)],_0x1dfc42['BDreG'])){const _0x40c95a={};return _0x40c95a['isPlaywright']=![],_0x40c95a[_0x432105(0x13c)]=_0x1dfc42[_0x432105(0x111)],_0x40c95a;}const _0x5675c7=_0x2cd6a8['constructor']?.[_0x432105(0x188)];if(_0x1dfc42[_0x432105(0x16e)](_0x5675c7,_0x1dfc42[_0x432105(0x128)])){const _0x5e9829={};return _0x5e9829[_0x432105(0x1aa)]=!![],_0x5e9829[_0x432105(0x13c)]=_0x1dfc42[_0x432105(0x135)],_0x5e9829;}if(_0x1dfc42[_0x432105(0x166)](_0x5675c7,_0x1dfc42[_0x432105(0x11d)])){const _0x344251={};return _0x344251[_0x432105(0x1aa)]=![],_0x344251[_0x432105(0x13c)]=_0x1dfc42[_0x432105(0x111)],_0x344251;}if(_0x1dfc42[_0x432105(0x16e)](_0x5675c7,_0x1dfc42[_0x432105(0x183)])){const _0x307476={};return _0x307476[_0x432105(0x1aa)]=!![],_0x307476[_0x432105(0x13c)]=_0x1dfc42['esMWN'],_0x307476;}logger[_0x432105(0x126)](_0x432105(0x15b)+_0x1dfc42[_0x432105(0x19d)](_0x5675c7,_0x1dfc42[_0x432105(0x12e)]));const _0x47e244={};return _0x47e244[_0x432105(0x1aa)]=![],_0x47e244['type']=_0x1dfc42[_0x432105(0x1c0)],_0x47e244;},withTimeout=(_0x16bf1d,_0x95ba24)=>{const _0x142cfa=a123_0x41f6a5;return Promise[_0x142cfa(0x137)]([_0x16bf1d,new Promise((_0x13e0be,_0x974bf4)=>setTimeout(()=>_0x974bf4(new Error(_0x142cfa(0x179)+_0x95ba24+'ms')),_0x95ba24))]);};function a123_0x5159(_0x286982,_0x21b0be){const _0x1b3ef4=a123_0x1b3e();return a123_0x5159=function(_0x515913,_0x8941e4){_0x515913=_0x515913-0xff;let _0x1f4122=_0x1b3ef4[_0x515913];return _0x1f4122;},a123_0x5159(_0x286982,_0x21b0be);}exports[a123_0x41f6a5(0x104)]=async(_0x166c28,_0x2119ad=null,_0x14369a=null,_0x196606=![],_0x4aed19=null)=>{const _0x280d3c=a123_0x41f6a5,_0x3b9be3={'NNMGG':function(_0x1a4cdf,_0x5dac5c){return _0x1a4cdf&&_0x5dac5c;},'jwuTp':function(_0x1d110f,_0x37a485,_0x195a38){return _0x1d110f(_0x37a485,_0x195a38);},'rUKZE':function(_0x5a91ef,_0x3b6f99){return _0x5a91ef===_0x3b6f99;},'IAajj':'playwright-codecept-driver','TPSYe':function(_0x355685,_0x525944,_0x589a79){return _0x355685(_0x525944,_0x589a79);},'uDCPT':function(_0x4d645b,_0x39a411){return _0x4d645b(_0x39a411);},'pfgRY':function(_0x74fb6d,_0x4b71a2){return _0x74fb6d||_0x4b71a2;},'EWhph':function(_0xc09e41,_0x5d6eb0){return _0xc09e41!==_0x5d6eb0;},'EsunJ':_0x280d3c(0x120),'AZnlh':function(_0x4e1ee0,_0x510283){return _0x4e1ee0!==_0x510283;},'aPehB':'bstackA11yShouldScan','vTeji':function(_0x111d83,_0x352cd8){return _0x111d83===_0x352cd8;},'TZrnK':_0x280d3c(0x158),'wFHHC':_0x280d3c(0x170),'DUiMz':function(_0x5c53b0,_0x4217a4){return _0x5c53b0===_0x4217a4;},'vJLfQ':_0x280d3c(0x14a),'KQROs':function(_0x28ea8c,_0x791f97){return _0x28ea8c<=_0x791f97;},'MPjvC':function(_0x41ea66,_0x4f680e){return _0x41ea66+_0x4f680e;},'TYycZ':_0x280d3c(0x153)},{isPlaywright:_0x155d2d,type:_0x958067}=_0x3b9be3[_0x280d3c(0x1a9)](detectDriverType,_0x166c28),_0x28744a=_0x196606?_0x3b9be3['pfgRY'](_0x4aed19,{}):global[_0x280d3c(0x1b2)]||{},_0x463599=_0x155d2d?global[_0x280d3c(0x1a3)]&&(_0x196606||_0x3b9be3['EWhph'](global['bstackA11yShouldScan'],![])):accessibilityHelper[_0x280d3c(0x156)]()&&globals[_0x280d3c(0x14d)](_0x3b9be3[_0x280d3c(0x1ac)])&&(_0x196606||_0x3b9be3['AZnlh'](globals['getGlobal'](_0x3b9be3[_0x280d3c(0x171)]),![]));if(!_0x463599)return _0x155d2d&&global['accessibilityPlatform']&&_0x3b9be3[_0x280d3c(0x17d)](global[_0x280d3c(0x1c5)],![])||!_0x155d2d&&globals[_0x280d3c(0x14d)](_0x3b9be3[_0x280d3c(0x1ac)])&&_0x3b9be3[_0x280d3c(0x17d)](globals[_0x280d3c(0x14d)](_0x3b9be3[_0x280d3c(0x171)]),![])?logger[_0x280d3c(0x18b)](_0x3b9be3[_0x280d3c(0x191)]):logger[_0x280d3c(0x126)](_0x280d3c(0x17f)+_0x958067+_0x280d3c(0x100)),![];const _0x1c16c2=_0x2119ad||global[_0x280d3c(0x197)]||_0x3b9be3[_0x280d3c(0x1ab)];let _0x1420e6=null;const _0x1eb482={'testhub_btcer_uuid':global[_0x280d3c(0x176)]?.[_0x280d3c(0x10e)]?.['id'],'url':_0x3b9be3[_0x280d3c(0x1b4)](typeof _0x166c28[_0x280d3c(0x14e)],_0x3b9be3[_0x280d3c(0x168)])?await _0x166c28['url']():_0x3b9be3[_0x280d3c(0x1b4)](typeof _0x166c28[_0x280d3c(0x195)],_0x3b9be3['vJLfQ'])?await _0x166c28['getCurrentUrl']():'','automate_session_id':_0x3b9be3['vTeji'](typeof _0x166c28[_0x280d3c(0x17c)],_0x3b9be3[_0x280d3c(0x168)])?(await _0x166c28['getSession']())[_0x280d3c(0x155)]():''};for(let _0x4fee36=0x1;_0x3b9be3[_0x280d3c(0x174)](_0x4fee36,_0x3b9be3['MPjvC'](RETRY_CONFIG[_0x280d3c(0x19c)],0x1));_0x4fee36++){try{return logger[_0x280d3c(0x18b)](_0x280d3c(0x11e)+_0x4fee36+'/'+_0x3b9be3[_0x280d3c(0x13e)](RETRY_CONFIG[_0x280d3c(0x19c)],0x1)+_0x280d3c(0x123)+_0x1c16c2+'\x20('+_0x958067+')'),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x280d3c(0xff)],async()=>{const _0x124d8f=_0x280d3c;let _0x4a7b7e;if(_0x3b9be3[_0x124d8f(0x19b)](_0x155d2d,playwrightA11yHelper)){_0x3b9be3['jwuTp'](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x124d8f(0x180)](_0x166c28,RETRY_CONFIG[_0x124d8f(0x121)]);let _0x40865d=_0x166c28;_0x3b9be3[_0x124d8f(0x1a6)](_0x958067,_0x3b9be3[_0x124d8f(0x107)])&&(_0x40865d=_0x166c28[_0x124d8f(0x11b)]);const _0x5f482a=global['isMobilePlatform']?{'is_mobile_session':!![],'thTestRunUuid':accessibilityHelper['resolveMobileThTestRunUuid']()}:{};_0x4a7b7e=await _0x3b9be3[_0x124d8f(0x1a5)](withTimeout,playwrightA11yHelper[_0x124d8f(0x14f)](_0x40865d,_0x1c16c2,_0x28744a,_0x5f482a),RETRY_CONFIG['timeoutMs']),await exports[_0x124d8f(0x180)](_0x166c28,RETRY_CONFIG['defaultTimeoutMs']);}else await exports[_0x124d8f(0x1b6)](_0x166c28,RETRY_CONFIG[_0x124d8f(0x121)]),_0x4a7b7e=await _0x3b9be3[_0x124d8f(0x12b)](withTimeout,accessibilityHelper['performScan'](_0x166c28,_0x1c16c2,_0x196606,_0x28744a),RETRY_CONFIG[_0x124d8f(0x121)]),await exports[_0x124d8f(0x1b6)](_0x166c28,RETRY_CONFIG[_0x124d8f(0x108)]);logger['debug'](_0x124d8f(0x17a)+_0x4fee36+'\x20completed\x20successfully.');},{'command':_0x1c16c2,..._0x1eb482})(),logger[_0x280d3c(0x172)](_0x280d3c(0x152)+_0x4fee36+'.'),!![];}catch(_0x19c28e){_0x1420e6=_0x19c28e,logger['debug'](_0x280d3c(0x11e)+_0x4fee36+'\x20failed\x20for\x20method:\x20'+_0x1c16c2+'\x20('+_0x958067+_0x280d3c(0x10a)+_0x19c28e[_0x280d3c(0x102)]);}}return logger[_0x280d3c(0x15d)](_0x280d3c(0x169)+_0x1c16c2+'\x20('+_0x958067+_0x280d3c(0x13b)+(_0x1420e6?.['message']||_0x3b9be3['TYycZ'])),![];},exports[a123_0x41f6a5(0x110)]=async(_0x28527f,_0x2cad65)=>{const _0x56a802=a123_0x41f6a5,_0x502f75={'iDOKG':function(_0x117617,_0x5722a3){return _0x117617(_0x5722a3);},'TOxfb':'isAccessibilityPlatform','CVNcC':function(_0x2fffd0,_0x2978b5){return _0x2fffd0<=_0x2978b5;},'XCbYW':function(_0x4fb189,_0x567440){return _0x4fb189+_0x567440;},'nMERq':function(_0x555ab7,_0x56fcd5){return _0x555ab7+_0x56fcd5;},'MSKfG':function(_0x35f16d,_0x25f3d1){return _0x35f16d&&_0x25f3d1;},'OEXoD':function(_0x5b2816,_0x5b1fb6,_0xf97f06){return _0x5b2816(_0x5b1fb6,_0xf97f06);},'FZSSk':function(_0x3ee6b8,_0x25d05a,_0xa534e1){return _0x3ee6b8(_0x25d05a,_0xa534e1);},'IeAtF':_0x56a802(0x153)},{isPlaywright:_0x2ad737,type:_0xf6c5bc}=_0x502f75['iDOKG'](detectDriverType,_0x28527f),_0x263317=_0x2ad737?_0x2cad65[_0x56a802(0x1a3)]:accessibilityHelper[_0x56a802(0x156)]()&&globals['getGlobal'](_0x502f75[_0x56a802(0x12f)]);if(!_0x263317)return logger['warn'](_0x56a802(0x17f)+_0xf6c5bc+_0x56a802(0x151)),[];let _0x2defd6=null;for(let _0x1bd047=0x1;_0x502f75[_0x56a802(0x1c2)](_0x1bd047,_0x502f75[_0x56a802(0x140)](RETRY_CONFIG['maxRetries'],0x1));_0x1bd047++){try{logger[_0x56a802(0x18b)]('Accessibility\x20results\x20retrieval\x20attempt\x20'+_0x1bd047+'/'+_0x502f75[_0x56a802(0x16c)](RETRY_CONFIG['maxRetries'],0x1)+'\x20('+_0xf6c5bc+')');let _0x27422b;return _0x502f75[_0x56a802(0x106)](_0x2ad737,playwrightA11yHelper)?(_0x502f75[_0x56a802(0x164)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x56a802(0x180)](_0x28527f,RETRY_CONFIG[_0x56a802(0x121)]),_0x27422b=await _0x502f75[_0x56a802(0x1a8)](withTimeout,playwrightA11yHelper[_0x56a802(0x193)](_0x28527f),RETRY_CONFIG['timeoutMs']),await exports[_0x56a802(0x180)](_0x28527f,RETRY_CONFIG['defaultTimeoutMs'])):(await exports[_0x56a802(0x1b6)](_0x28527f,RETRY_CONFIG[_0x56a802(0x121)]),_0x27422b=await _0x502f75[_0x56a802(0x1a8)](withTimeout,accessibilityHelper[_0x56a802(0x193)](_0x28527f,_0x2cad65),RETRY_CONFIG['timeoutMs']),await exports['setSeleniumScriptTimeout'](_0x28527f,RETRY_CONFIG[_0x56a802(0x108)])),logger[_0x56a802(0x172)]('Accessibility\x20results\x20retrieved\x20successfully\x20on\x20attempt\x20'+_0x1bd047+'\x20('+_0xf6c5bc+')'),_0x27422b;}catch(_0x43e02e){_0x2defd6=_0x43e02e,logger['warn'](_0x56a802(0x112)+_0x1bd047+_0x56a802(0x196)+_0xf6c5bc+').\x20Error:\x20'+_0x43e02e[_0x56a802(0x102)]);}}return logger[_0x56a802(0x15d)]('All\x20accessibility\x20results\x20retrieval\x20attempts\x20failed\x20('+_0xf6c5bc+_0x56a802(0x177)+(_0x2defd6?.['message']||_0x502f75[_0x56a802(0x16b)])),[];},exports['getAccessibilityResultsSummaryWithRetry']=async(_0x7005a2,_0x378282)=>{const _0x142eac=a123_0x41f6a5,_0x4b8d0e={'xvcYG':function(_0x3f01fc,_0x1f73b2){return _0x3f01fc(_0x1f73b2);},'iwQeZ':_0x142eac(0x120),'DGNbj':function(_0x56ce7f,_0x182618){return _0x56ce7f<=_0x182618;},'RfZIz':function(_0x3128ae,_0x43b45f){return _0x3128ae+_0x43b45f;},'jXPsU':function(_0x156fb9,_0x26d6cb){return _0x156fb9&&_0x26d6cb;},'riZbb':function(_0x55c153,_0x3fe98a,_0x55cb16){return _0x55c153(_0x3fe98a,_0x55cb16);},'HEhHA':function(_0x35284a,_0x4cf8da,_0x43bd58){return _0x35284a(_0x4cf8da,_0x43bd58);},'scfOy':'Unknown\x20error'},{isPlaywright:_0x5da784,type:_0x1fbd92}=_0x4b8d0e['xvcYG'](detectDriverType,_0x7005a2),_0x2ce418=_0x5da784?_0x378282[_0x142eac(0x1a3)]:accessibilityHelper['isAccessibilityAutomationSession']()&&globals[_0x142eac(0x14d)](_0x4b8d0e[_0x142eac(0x13f)]);if(!_0x2ce418)return logger[_0x142eac(0x126)](_0x142eac(0x17f)+_0x1fbd92+',\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary\x20with\x20retry.'),{};let _0x21e78a=null;for(let _0x27bac8=0x1;_0x4b8d0e['DGNbj'](_0x27bac8,_0x4b8d0e[_0x142eac(0x189)](RETRY_CONFIG[_0x142eac(0x19c)],0x1));_0x27bac8++){try{logger['debug']('Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20'+_0x27bac8+'/'+_0x4b8d0e['RfZIz'](RETRY_CONFIG[_0x142eac(0x19c)],0x1)+'\x20('+_0x1fbd92+')');let _0x547a1d;return _0x4b8d0e[_0x142eac(0x147)](_0x5da784,playwrightA11yHelper)?(_0x4b8d0e[_0x142eac(0x142)](setConfigTimeout,RETRY_CONFIG,null),await exports['setPlaywrightScriptTimeout'](_0x7005a2,RETRY_CONFIG['timeoutMs']),_0x547a1d=await _0x4b8d0e[_0x142eac(0x14b)](withTimeout,playwrightA11yHelper[_0x142eac(0x1a2)](_0x7005a2),RETRY_CONFIG['timeoutMs']),await exports[_0x142eac(0x180)](_0x7005a2,RETRY_CONFIG['defaultTimeoutMs'])):(await exports[_0x142eac(0x1b6)](_0x7005a2,RETRY_CONFIG['timeoutMs']),_0x547a1d=await _0x4b8d0e[_0x142eac(0x142)](withTimeout,accessibilityHelper[_0x142eac(0x1a2)](_0x7005a2,_0x378282),RETRY_CONFIG[_0x142eac(0x121)]),await exports[_0x142eac(0x1b6)](_0x7005a2,RETRY_CONFIG['defaultTimeoutMs'])),logger['info']('Accessibility\x20results\x20summary\x20retrieved\x20successfully\x20on\x20attempt\x20'+_0x27bac8+'\x20('+_0x1fbd92+')'),_0x547a1d;}catch(_0x2f97b3){_0x21e78a=_0x2f97b3,logger[_0x142eac(0x126)](_0x142eac(0x14c)+_0x27bac8+'\x20failed\x20('+_0x1fbd92+_0x142eac(0x10a)+_0x2f97b3[_0x142eac(0x102)]);}}return logger['error'](_0x142eac(0x1a0)+_0x1fbd92+_0x142eac(0x177)+(_0x21e78a?.['message']||_0x4b8d0e[_0x142eac(0x1b0)])),{};},exports[a123_0x41f6a5(0x150)]=async(_0x587ba1,_0x31c7dd,_0x492cd3=null)=>{const _0x9d0980=a123_0x41f6a5,_0x49674d={'mmyAj':function(_0x45da41,_0x2f39bb){return _0x45da41(_0x2f39bb);},'RrEGI':function(_0x27c168,_0x4c58d4){return _0x27c168===_0x4c58d4;},'jLOeL':'fulfilled','FJSnF':function(_0x333017,_0x92b344){return _0x333017===_0x92b344;},'FlDQN':function(_0x16cd10,_0x252dbf){return _0x16cd10===_0x252dbf;},'sOVbW':_0x9d0980(0x139),'bLFhb':function(_0xa0231e,_0x3101d1){return _0xa0231e===_0x3101d1;},'kbLMN':_0x9d0980(0x1ad)},{isPlaywright:_0x17dbcd,type:_0x1775a0}=_0x49674d['mmyAj'](detectDriverType,_0x587ba1),_0x41588b={};_0x41588b[_0x9d0980(0x194)]=![],_0x41588b[_0x9d0980(0x145)]=[],_0x41588b['summary']={},_0x41588b[_0x9d0980(0x15d)]=null,_0x41588b[_0x9d0980(0x17b)]=_0x1775a0;const _0x145b82=_0x41588b;try{_0x145b82[_0x9d0980(0x194)]=await exports[_0x9d0980(0x104)](_0x587ba1,_0x492cd3);if(_0x145b82[_0x9d0980(0x194)]){const [_0x3b15e7,_0x2fed08]=await Promise[_0x9d0980(0x16d)]([exports[_0x9d0980(0x110)](_0x587ba1,_0x31c7dd),exports[_0x9d0980(0x1b8)](_0x587ba1,_0x31c7dd)]);_0x145b82[_0x9d0980(0x145)]=_0x49674d[_0x9d0980(0x1a4)](_0x3b15e7['status'],_0x49674d[_0x9d0980(0x103)])?_0x3b15e7[_0x9d0980(0x122)]:[],_0x145b82[_0x9d0980(0x18d)]=_0x49674d[_0x9d0980(0x1c1)](_0x2fed08['status'],_0x49674d[_0x9d0980(0x103)])?_0x2fed08[_0x9d0980(0x122)]:{},_0x49674d[_0x9d0980(0x12d)](_0x3b15e7[_0x9d0980(0x131)],_0x49674d['sOVbW'])&&logger[_0x9d0980(0x126)](_0x9d0980(0x1bd)+_0x1775a0+_0x9d0980(0x161)+_0x3b15e7['reason']?.[_0x9d0980(0x102)]),_0x49674d[_0x9d0980(0x198)](_0x2fed08[_0x9d0980(0x131)],_0x49674d[_0x9d0980(0x1a1)])&&logger[_0x9d0980(0x126)](_0x9d0980(0x134)+_0x1775a0+'):\x20'+_0x2fed08[_0x9d0980(0x1a7)]?.[_0x9d0980(0x102)]);}}catch(_0x293ff2){_0x145b82[_0x9d0980(0x15d)]=_0x293ff2[_0x9d0980(0x102)]||_0x49674d['kbLMN'],logger['error'](_0x9d0980(0x18c)+_0x1775a0+_0x9d0980(0x161)+_0x145b82[_0x9d0980(0x15d)]);}return _0x145b82;},exports[a123_0x41f6a5(0x125)]=_0x557d0a=>{const _0x53b44f=a123_0x41f6a5,_0x27e60e={};_0x27e60e[_0x53b44f(0x1b3)]=function(_0x55d478,_0x53af2d){return _0x55d478!==_0x53af2d;};const _0x23567f=_0x27e60e;_0x23567f[_0x53b44f(0x1b3)](_0x557d0a[_0x53b44f(0x19c)],undefined)&&(RETRY_CONFIG[_0x53b44f(0x19c)]=Math[_0x53b44f(0x167)](0x0,_0x557d0a[_0x53b44f(0x19c)])),_0x23567f[_0x53b44f(0x1b3)](_0x557d0a[_0x53b44f(0x121)],undefined)&&(RETRY_CONFIG[_0x53b44f(0x121)]=Math[_0x53b44f(0x167)](0x3e8,_0x557d0a['timeoutMs'])),logger[_0x53b44f(0x18b)](_0x53b44f(0x181)+JSON[_0x53b44f(0x146)](RETRY_CONFIG));},exports[a123_0x41f6a5(0x199)]=()=>{const _0x361011={...RETRY_CONFIG};return _0x361011;},exports[a123_0x41f6a5(0x11a)]=_0x5d1fbb=>{const _0x5d8e6d=a123_0x41f6a5,_0x220ea8={'TlwHr':function(_0x360377,_0x20bdb6){return _0x360377(_0x20bdb6);}};return _0x220ea8[_0x5d8e6d(0x1ae)](detectDriverType,_0x5d1fbb)[_0x5d8e6d(0x1aa)];},exports['isSeleniumDriver']=_0x31a840=>{const _0x576b06=a123_0x41f6a5,_0x5455fc={'jvUbd':function(_0x2a22c7,_0x133a2b){return _0x2a22c7(_0x133a2b);},'xiLSy':function(_0x303057,_0x4b2347){return _0x303057===_0x4b2347;},'agARN':'selenium-webdriver'},{isPlaywright:_0x506263,type:_0x416b27}=_0x5455fc['jvUbd'](detectDriverType,_0x31a840);return!_0x506263&&_0x5455fc[_0x576b06(0x133)](_0x416b27,_0x5455fc['agARN']);},exports[a123_0x41f6a5(0x180)]=async(_0x30472e,_0x5da684=null)=>{const _0x14643b=a123_0x41f6a5,_0x3e8ac2={'YSTXk':function(_0x30034a,_0x3a36c8){return _0x30034a(_0x3a36c8);},'LwKGA':function(_0x4da509,_0x2ec0e0){return _0x4da509===_0x2ec0e0;},'nvVvC':'function'},{isPlaywright:_0x20faaa,type:_0x45f738}=_0x3e8ac2[_0x14643b(0x11f)](detectDriverType,_0x30472e);if(!_0x20faaa)return logger[_0x14643b(0x18b)]('Skipping\x20timeout\x20setting\x20for\x20'+_0x45f738+_0x14643b(0x1c3)),!![];const _0x5d6715=_0x5da684||RETRY_CONFIG[_0x14643b(0x108)];try{return _0x30472e&&_0x3e8ac2[_0x14643b(0x15a)](typeof _0x30472e[_0x14643b(0x138)],_0x3e8ac2[_0x14643b(0x144)])&&(await _0x30472e[_0x14643b(0x138)](_0x5d6715),logger[_0x14643b(0x18b)](_0x14643b(0x1af)+_0x5d6715+'ms')),!![];}catch(_0x4a23e5){return logger[_0x14643b(0x126)](_0x14643b(0x10c)+_0x4a23e5[_0x14643b(0x102)]),![];}},exports[a123_0x41f6a5(0x1b6)]=async(_0x4278ed,_0x56f3ac=null)=>{const _0x511767=a123_0x41f6a5,_0x2035e1={};_0x2035e1['mtXjR']='Cannot\x20set\x20script\x20timeout:\x20not\x20a\x20Selenium\x20WebDriver',_0x2035e1[_0x511767(0x154)]=function(_0x17bf55,_0x54350c){return _0x17bf55===_0x54350c;},_0x2035e1[_0x511767(0x19f)]=_0x511767(0x14a),_0x2035e1[_0x511767(0x160)]=function(_0x366be5,_0x17cfc3){return _0x366be5===_0x17cfc3;},_0x2035e1[_0x511767(0x1bc)]=function(_0x195a79,_0x1f2dce){return _0x195a79===_0x1f2dce;},_0x2035e1[_0x511767(0x10f)]=_0x511767(0x159),_0x2035e1[_0x511767(0x1b9)]=_0x511767(0x192);const _0x30469e=_0x2035e1;if(!exports['isSeleniumDriver'](_0x4278ed))return logger[_0x511767(0x126)](_0x30469e[_0x511767(0x1ba)]),![];const _0xf58fce=_0x56f3ac||RETRY_CONFIG[_0x511767(0x108)];try{if(_0x4278ed&&_0x30469e[_0x511767(0x154)](typeof _0x4278ed[_0x511767(0x116)],_0x30469e[_0x511767(0x19f)])){const _0x5bb935=_0x4278ed[_0x511767(0x116)]();if(_0x5bb935&&_0x30469e[_0x511767(0x154)](typeof _0x5bb935[_0x511767(0x157)],_0x30469e[_0x511767(0x19f)]))await _0x5bb935[_0x511767(0x157)]()[_0x511767(0x101)](_0xf58fce),logger[_0x511767(0x18b)](_0x511767(0x12a)+_0xf58fce+_0x511767(0x13a));else{if(_0x5bb935&&_0x30469e[_0x511767(0x160)](typeof _0x5bb935[_0x511767(0x182)],_0x30469e[_0x511767(0x19f)])){const _0x11a26c={};_0x11a26c['script']=_0xf58fce,await _0x5bb935[_0x511767(0x182)](_0x11a26c),logger['debug'](_0x511767(0x12a)+_0xf58fce+'ms\x20using\x20setTimeouts\x20API');}else{if(_0x5bb935&&_0x30469e[_0x511767(0x1bc)](typeof _0x5bb935['setScriptTimeout'],_0x30469e[_0x511767(0x19f)]))await _0x5bb935[_0x511767(0x101)](_0xf58fce),logger['debug'](_0x511767(0x12a)+_0xf58fce+_0x511767(0x187));else return logger[_0x511767(0x18b)](_0x30469e[_0x511767(0x10f)]),!![];}}}else return logger[_0x511767(0x18b)](_0x30469e[_0x511767(0x1b9)]),!![];return!![];}catch(_0xa84f3c){return logger[_0x511767(0x126)](_0x511767(0x185)+_0xa84f3c['message']),![];}},exports[a123_0x41f6a5(0x10b)]=async(_0x286a5c,_0x1b289e)=>{const _0x50f383=a123_0x41f6a5,_0x3e2073={'dIibl':function(_0x5f581d,_0x23e30a){return _0x5f581d(_0x23e30a);},'tjCFi':_0x50f383(0x120),'sOpMP':function(_0x56696d,_0x2351c2){return _0x56696d<=_0x2351c2;},'iCkkG':function(_0x58013b,_0x113064){return _0x58013b+_0x113064;},'Ngudq':function(_0x23d1b1,_0x1e387c){return _0x23d1b1+_0x1e387c;},'PLjEi':function(_0xe8e184,_0x3e3034){return _0xe8e184&&_0x3e3034;},'sweJf':function(_0x3071e6,_0xbde4be,_0x5a2aa4){return _0x3071e6(_0xbde4be,_0x5a2aa4);},'DohPA':function(_0x36b3ee,_0x13ae65,_0x481199){return _0x36b3ee(_0x13ae65,_0x481199);},'hyeGL':'isMobilePlatform','edpwC':_0x50f383(0x153)},{isPlaywright:_0x370556,type:_0xa370a8}=_0x3e2073[_0x50f383(0x105)](detectDriverType,_0x286a5c),_0x48d198=_0x370556?global[_0x50f383(0x1a3)]:accessibilityHelper[_0x50f383(0x156)]()&&globals[_0x50f383(0x14d)](_0x3e2073[_0x50f383(0x143)]);if(!_0x48d198)return logger[_0x50f383(0x126)]('Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20'+_0xa370a8+_0x50f383(0x165)),![];let _0x4f4d76=null;for(let _0x3bb040=0x1;_0x3e2073['sOpMP'](_0x3bb040,_0x3e2073[_0x50f383(0x15f)](RETRY_CONFIG[_0x50f383(0x19c)],0x1));_0x3bb040++){try{logger[_0x50f383(0x18b)](_0x50f383(0x141)+_0x3bb040+'/'+_0x3e2073['Ngudq'](RETRY_CONFIG[_0x50f383(0x19c)],0x1)+'\x20('+_0xa370a8+')');if(_0x3e2073[_0x50f383(0x186)](_0x370556,playwrightA11yHelper)){_0x3e2073['sweJf'](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x50f383(0x180)](_0x286a5c,RETRY_CONFIG[_0x50f383(0x121)]);const _0x3511ae={};_0x3511ae['is_mobile_session']=!![];const _0x56c762=global['isMobilePlatform']?Object[_0x50f383(0x1b1)]({},_0x1b289e,_0x3511ae):_0x1b289e;await _0x3e2073[_0x50f383(0x16f)](withTimeout,playwrightA11yHelper[_0x50f383(0x163)](_0x286a5c,scripts[_0x50f383(0x113)],_0x56c762),RETRY_CONFIG['timeoutMs']),await exports[_0x50f383(0x180)](_0x286a5c,RETRY_CONFIG[_0x50f383(0x108)]);}else{await exports[_0x50f383(0x1b6)](_0x286a5c,RETRY_CONFIG[_0x50f383(0x121)]);const _0x4f5309={};_0x4f5309['is_mobile_session']=!![];const _0x3925d7=globals[_0x50f383(0x14d)](_0x3e2073['hyeGL'])?Object['assign']({},_0x1b289e,_0x4f5309):_0x1b289e;await _0x3e2073[_0x50f383(0x16f)](withTimeout,_0x286a5c['executeAsyncScript'](scripts[_0x50f383(0x113)],_0x3925d7),RETRY_CONFIG[_0x50f383(0x121)]),await exports[_0x50f383(0x1b6)](_0x286a5c,RETRY_CONFIG[_0x50f383(0x108)]);}return logger[_0x50f383(0x172)]('Accessibility\x20results\x20saved\x20successfully\x20on\x20attempt\x20'+_0x3bb040+'\x20('+_0xa370a8+')'),!![];}catch(_0x462e2e){_0x4f4d76=_0x462e2e,logger[_0x50f383(0x126)]('Accessibility\x20results\x20save\x20attempt\x20'+_0x3bb040+'\x20failed\x20('+_0xa370a8+_0x50f383(0x10a)+_0x462e2e[_0x50f383(0x102)]);}}return logger[_0x50f383(0x15d)]('All\x20accessibility\x20results\x20save\x20attempts\x20failed\x20('+_0xa370a8+_0x50f383(0x177)+(_0x4f4d76?.[_0x50f383(0x102)]||_0x3e2073[_0x50f383(0x15e)])),![];};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
function a124_0x12e1(){var _0x19636e=['4918UrRCNB','ChromeForTesting','4457196uNEKqg','display_name','min_version_non_browserstack','141','API_URL','https://accessibility.browserstack.com/api','requires_chrome_options_check','ACCESSIBILITY_SUPPORTED_BROWSERS','MINIMUM_CHROMEFORTESTING_VERSION','252ZVPCLK','min_version_browserstack','18.4','MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY','2364150KfKIdJ','chromium','17176DvFSEH','110xfTDqb','chromefortesting','7vZAwNJ','13116fRjMhD','Chrome','MINIMUM_SAFARI_VERSION','8kbnUJz','Safari','370425mVzxml','MINIMUM_BROWSER_VERSION_ACCESSIBILITY','1463SsUpnS','486075cJKORR'];a124_0x12e1=function(){return _0x19636e;};return a124_0x12e1();}var a124_0x1651c9=a124_0x5a5d;function a124_0x5a5d(_0x4409c6,_0x20ed96){var _0x12e126=a124_0x12e1();return a124_0x5a5d=function(_0x5a5dfc,_0x10c1ce){_0x5a5dfc=_0x5a5dfc-0x13f;var _0x190fe4=_0x12e126[_0x5a5dfc];return _0x190fe4;},a124_0x5a5d(_0x4409c6,_0x20ed96);}(function(_0x35efb7,_0x241c5c){var _0x158852=a124_0x5a5d,_0x18e0e8=_0x35efb7();while(!![]){try{var _0x5d0bcd=-parseInt(_0x158852(0x154))/0x1*(parseInt(_0x158852(0x140))/0x2)+-parseInt(_0x158852(0x13f))/0x3+parseInt(_0x158852(0x151))/0x4*(parseInt(_0x158852(0x152))/0x5)+-parseInt(_0x158852(0x155))/0x6*(-parseInt(_0x158852(0x15c))/0x7)+-parseInt(_0x158852(0x158))/0x8*(parseInt(_0x158852(0x142))/0x9)+-parseInt(_0x158852(0x14f))/0xa+parseInt(_0x158852(0x15a))/0xb*(parseInt(_0x158852(0x14b))/0xc);if(_0x5d0bcd===_0x241c5c)break;else _0x18e0e8['push'](_0x18e0e8['shift']());}catch(_0x56fd01){_0x18e0e8['push'](_0x18e0e8['shift']());}}}(a124_0x12e1,0x54de4),exports[a124_0x1651c9(0x146)]=a124_0x1651c9(0x147),exports[a124_0x1651c9(0x15b)]='94',exports[a124_0x1651c9(0x14e)]='100',exports[a124_0x1651c9(0x14a)]=a124_0x1651c9(0x145),exports[a124_0x1651c9(0x157)]=a124_0x1651c9(0x14d));var a124_0x1a4c41={};a124_0x1a4c41[a124_0x1651c9(0x143)]=a124_0x1651c9(0x156),a124_0x1a4c41[a124_0x1651c9(0x14c)]=0x5e,a124_0x1a4c41[a124_0x1651c9(0x144)]=0x64,a124_0x1a4c41[a124_0x1651c9(0x148)]=!![];var a124_0x46ecf0={};a124_0x46ecf0[a124_0x1651c9(0x143)]=a124_0x1651c9(0x156),a124_0x46ecf0['min_version_browserstack']=0x5e,a124_0x46ecf0[a124_0x1651c9(0x144)]=0x64,a124_0x46ecf0['requires_chrome_options_check']=!![];var a124_0x1bc8bc={};a124_0x1bc8bc[a124_0x1651c9(0x143)]=a124_0x1651c9(0x156),a124_0x1bc8bc[a124_0x1651c9(0x14c)]=0x5e,a124_0x1bc8bc[a124_0x1651c9(0x144)]=0x64,a124_0x1bc8bc[a124_0x1651c9(0x148)]=!![];var a124_0x4deb2c={};a124_0x4deb2c[a124_0x1651c9(0x143)]=a124_0x1651c9(0x141),a124_0x4deb2c[a124_0x1651c9(0x14c)]=0x8d,a124_0x4deb2c[a124_0x1651c9(0x144)]=0x8d,a124_0x4deb2c[a124_0x1651c9(0x148)]=!![];var a124_0x2e69ca={};a124_0x2e69ca['display_name']=a124_0x1651c9(0x159),a124_0x2e69ca['min_version_browserstack']=18.4,a124_0x2e69ca[a124_0x1651c9(0x144)]=18.4,a124_0x2e69ca['requires_chrome_options_check']=![];var a124_0x2b0e55={};a124_0x2b0e55['chrome']=a124_0x1a4c41,a124_0x2b0e55[a124_0x1651c9(0x150)]=a124_0x46ecf0,a124_0x2b0e55['playwright-chromium']=a124_0x1bc8bc,a124_0x2b0e55[a124_0x1651c9(0x153)]=a124_0x4deb2c,a124_0x2b0e55['safari']=a124_0x2e69ca,exports[a124_0x1651c9(0x149)]=a124_0x2b0e55;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a125_0x2395d1=a125_0x181b;(function(_0x48c118,_0x5c1757){const _0xe5d08e=a125_0x181b,_0x148309=_0x48c118();while(!![]){try{const _0x2a86c5=parseInt(_0xe5d08e(0x1c9))/0x1+parseInt(_0xe5d08e(0x21b))/0x2*(parseInt(_0xe5d08e(0x21c))/0x3)+parseInt(_0xe5d08e(0x1c4))/0x4+parseInt(_0xe5d08e(0x18b))/0x5+parseInt(_0xe5d08e(0x1f6))/0x6*(parseInt(_0xe5d08e(0x1e6))/0x7)+parseInt(_0xe5d08e(0x1ad))/0x8*(parseInt(_0xe5d08e(0x224))/0x9)+-parseInt(_0xe5d08e(0x1ec))/0xa;if(_0x2a86c5===_0x5c1757)break;else _0x148309['push'](_0x148309['shift']());}catch(_0x13ac2f){_0x148309['push'](_0x148309['shift']());}}}(a125_0x5cbb,0xde75a));const path=require(a125_0x2395d1(0x1fc)),util=require(a125_0x2395d1(0x19a)),bsSetupHelper=require(a125_0x2395d1(0x235)),logger=require(a125_0x2395d1(0x17c))[a125_0x2395d1(0x256)],{API_URL,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY,ACCESSIBILITY_SUPPORTED_BROWSERS}=require(a125_0x2395d1(0x209)),PerformanceTester=require(a125_0x2395d1(0x1a1)),scripts=require(a125_0x2395d1(0x24b)),globals=require('../globals'),{A11Y_EVENTS:PerformanceA11yEvents}=require(a125_0x2395d1(0x243));exports[a125_0x2395d1(0x1d2)]=async _0x288659=>{const _0x4f281d=a125_0x2395d1,_0x3271d6={};_0x3271d6[_0x4f281d(0x22a)]=function(_0x32312f,_0x2eeec9){return _0x32312f===_0x2eeec9;},_0x3271d6[_0x4f281d(0x187)]='browserstack';const _0x652c97=_0x3271d6;let _0xd80aa7={};try{const _0x5d0b9a=await _0x288659[_0x4f281d(0x22e)]();_0xd80aa7={'os_name':_0x5d0b9a['getPlatform'](),'os_version':bsSetupHelper[_0x4f281d(0x13d)](_0x652c97[_0x4f281d(0x22a)](global['__cloud_provider___'],_0x652c97[_0x4f281d(0x187)])),'browser_name':_0x5d0b9a['getBrowserName'](),'browser_version':_0x5d0b9a[_0x4f281d(0x1ef)]()};}catch(_0x20da43){logger['debug'](_0x4f281d(0x1a3)+_0x20da43);}return _0xd80aa7;},exports[a125_0x2395d1(0x1cc)]=()=>{const _0x357848=a125_0x2395d1,_0x461549={};_0x461549[_0x357848(0x1f5)]=function(_0x1526cf,_0x4217b4){return _0x1526cf===_0x4217b4;},_0x461549[_0x357848(0x155)]=_0x357848(0x20f),_0x461549[_0x357848(0x1ab)]=function(_0x29be5f,_0x1fe5cd){return _0x29be5f>_0x1fe5cd;},_0x461549[_0x357848(0x199)]=function(_0xb8360a,_0x3eef90){return _0xb8360a!==_0x3eef90;},_0x461549[_0x357848(0x25b)]=_0x357848(0x1d3),_0x461549[_0x357848(0x139)]=function(_0x54e786,_0x26b096){return _0x54e786&&_0x26b096;};const _0x25deeb=_0x461549;try{const _0x6ec4b3=bsSetupHelper['isTrue'](process[_0x357848(0x1b5)][_0x357848(0x12e)])||bsSetupHelper['isTrue'](process[_0x357848(0x1b5)][_0x357848(0x23b)]),_0x5c9703=_0x25deeb[_0x357848(0x1f5)](typeof process['env'][_0x357848(0x24f)],_0x25deeb[_0x357848(0x155)])&&_0x25deeb[_0x357848(0x1ab)](process['env']['BS_A11Y_JWT'][_0x357848(0x246)],0x0)&&_0x25deeb[_0x357848(0x199)](process[_0x357848(0x1b5)]['BS_A11Y_JWT'],_0x25deeb['sFdVf']);return _0x25deeb[_0x357848(0x139)](_0x6ec4b3,_0x5c9703);}catch(_0x427cae){logger[_0x357848(0x1b9)](_0x357848(0x166)+_0x427cae);}return![];};function a125_0x5cbb(){const _0x4be87b=['resolveMobileThTestRunUuid','HKDzP','zbEQO','setNonBstackInfraCapabilitiesOnCaps','mRXAx','sXNTE','pQPOj','forEach','dlBjS','shouldScanTestForAccessibility','min_version_browserstack','VFovi','Options','Invalid\x20request:\x20','buildName','goDVi','getUserName','No\x20accessibility\x20results\x20were\x20found.','application/json','scannerVersion','warn','KkjOw','yXOSI','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).','cZlfD','Not\x20a\x20Accessibility\x20Session','dbSpf','global.__workerDetails\x20exists\x20but\x20.currentTest\x20is\x20undefined\x20—\x20scan\x20fired\x20outside\x20a\x20test\x20body\x20(before/beforeAll\x20hook,\x20or\x20between\x20tests).','Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20','playwright','ZKDCu','executeAsyncScript','cyOLP','Error\x20while\x20adding\x20Non-Bstack\x20capabilities:\x20','MWuCj','createAccessibilityTestRun','Exception\x20while\x20checking\x20for\x20legacy\x20headless\x20mode:\x20','TcdOB','PGExs','format','RcZpg','hEpxo','getAgentVersion','getAccessibilityResultsSummary','some','HdVOv','is_mobile_session','CbIiR','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','PUT','../logger','iPefC','assign','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20','chrome','DxEsY','isUndefined','getAccessibilityResults:\x20Mobile\x20session\x20detected,\x20args:\x20','--headless=','\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.','fZKtc','PMktd','deviceName','a11y:stop','XwQnu','8177660eKdDxT','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.','script','uLRYO','startsWith','includes','accessibility','getGitMetaData','pass','AvOrZ','getAccessibilityResults','getMobileA11yCapabilities','isTrue','Session\x20is\x20identified\x20as\x20mobile\x20accessibility\x20platform\x20(Android\x20+\x20Chrome)','trjzy','util','map','version','xZIan','OczvJ','getAccessibilityResultsSummary:\x20Mobile\x20session\x20detected,\x20args:\x20','isArray','../performance/performance-tester','parseA11yJwtPayload','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','a11y:start','get','CAPABILITY_KEY','message','bstackA11yScanOptions','EVqYz','Phrep','TZNvK','POST','1168FqcnTP','oZOPS','Unable\x20to\x20mirror\x20accessibility\x20chrome\x20options\x20into\x20builder\x20options:\x20','PQWIA','getResultsSummary','nurqy','scKRL','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','env','EokfJ','capabilities_','HHYNH','debug','Mobile\x20Accessibility\x20Automation\x20is\x20not\x20enabled\x20for\x20your\x20account.\x20Accessibility\x20scans\x20will\x20be\x20skipped\x20on\x20mobile\x20sessions.\x20Contact\x20BrowserStack\x20to\x20enable\x20mobile\x20accessibility\x20scanning.','getAccessKey','split','getBrowserA11yConfig','yodnY','tYWbk','isMobileAccessibilitySession','info','add','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','3837480faqLvs','Performed\x20scan\x20with\x20result:\x20','body','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token','YWqRj','1221926ONRTBK','auth','oBBIQ','isAccessibilityAutomationSession','isMobileAccessibilityPlatform','ChromeExtension','data','nodeRequest','FTvwz','fetchPlatformDetails','null','bsqbr','status','getTestFrameworkDetails','setNonBstackInfraCapabilities','platforms','performScan','filter','getPackageVersion','AdBbS','edBnz','undefined','GET_RESULTS','aATbq','isAccessibilityPlatform','nonBstackPlatformValidation','YcbGO','SUKkM','aEqdq','7AmVCyN','error','executeScript','Error\x20checking\x20mobile\x20accessibility\x20session:\x20','bdLiC','NBLAj','71997020OhdKZd','chromeOptions','mpzUY','getBrowserVersion','seVbt','Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20','parse','Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20','GdlEE','TXDNo','6343566NEhjvj','mjpYc','[Accessibility]\x20Selenium\x20performScan\x20payload:\x20','Mrkxp','lrGtw','includeTagsInTestingScope','path','ThBSZ','Aydhi','stringify','aXgoL','No\x20accessibility\x20summary\x20was\x20found.','ONntE','Build\x20creation\x20had\x20failed.','selenium-webdriver','umfrS','browserVersion','Authorization','response','./constants','RxmZj','excludeTagsInTestingScope','stack','HYkgd','true','string','getGlobal','MOBILE_SCANNING_DISABLED_WARNING','Content-Type','compareVersions','ctVqm','kAKku','test_runs/stop','checkAccessibilityPlatformConfig','toISOString','Performing\x20scan\x20before\x20getting\x20results','args','2iyBuTK','5331297hvlrLr','join','Evjpj','keys','SaSJa','isBrowserStackCommandExecutor','set','user','89982mLoFpp','bstack:options','EQByz','chromeOptions_','BROWSERSTACK_TURBOSCALE','Error\x20while\x20adding\x20Non-Bstack\x20capabilities\x20to\x20caps:\x20','fTjjH','QVegG','getBrowserDisplayName','WOCCt','getCapabilities','goog:chromeOptions','function','WMXww',']\x20but\x20thTestRunUuid\x20is\x20','measureWrapper','Gwigi','../helper','bstackA11yShouldScan','replace','hRxVm','platform','DOiLV','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','Btagy','JiSxO','TOPcp','requireModule','parseFromJson','isMobileScanningEnabledForGroup','trim','../performance/constants','javascript','getResults','length','options_','nestedKeyValue','Uggds','false','./scripts','--headless','pWKJC','oJhjX','BS_A11Y_JWT','toLowerCase','mirrorChromeOptionsIntoBuilder','requiresChromeOptionsValidation','android','UAUUk','mdLeg','winstonLogger','basename','hasLegacyHeadlessArg','zHimh','Invalid\x20configuration\x20passed.','sFdVf','buildDescription','statusText','mYkdJ','kBork','BROWSERSTACK_TEST_ACCESSIBILITY_YML','base64','isBrowserstackInfra','Mobile\x20Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser.','toString','Error\x20checking\x20if\x20mobile\x20accessibility\x20platform:\x20','getHostInfo','KqoYZ','bDUvq','PERFORM_SCAN','--headless=new','UOMZK','uVfca','browserstackSessionName','method','getPlatformVersion','cNsjq','WYmag','vrwKa','sLIwv','PHgwF','isVersionSupported','getMinVersionForBrowser','Performing\x20scan\x20before\x20getting\x20results\x20summary','xUlip','MXLlv','JCyum','gMgtS'];a125_0x5cbb=function(){return _0x4be87b;};return a125_0x5cbb();}const isLegacyHeadlessArg=_0x2972ad=>typeof _0x2972ad==='string'&&(_0x2972ad===a125_0x2395d1(0x24c)||_0x2972ad[a125_0x2395d1(0x18f)](a125_0x2395d1(0x184))&&_0x2972ad!==a125_0x2395d1(0x138));exports['hasLegacyHeadlessArg']=_0x49eac6=>{const _0x313ac9=a125_0x2395d1,_0x4c1d5b={};_0x4c1d5b['acKdS']='selenium-webdriver/chrome.js',_0x4c1d5b[_0x313ac9(0x1dd)]=_0x313ac9(0x204),_0x4c1d5b['cNsjq']=function(_0x7bb95a,_0x186968){return _0x7bb95a===_0x186968;},_0x4c1d5b['GdlEE']=_0x313ac9(0x230),_0x4c1d5b[_0x313ac9(0x259)]=_0x313ac9(0x22f),_0x4c1d5b['mstmp']=_0x313ac9(0x225),_0x4c1d5b[_0x313ac9(0x13f)]=_0x313ac9(0x1ed),_0x4c1d5b['PHgwF']=_0x313ac9(0x21a);const _0x484291=_0x4c1d5b;try{let _0x1d60b4;try{_0x1d60b4=bsSetupHelper[_0x313ac9(0x23f)](_0x484291['acKdS'],_0x484291[_0x313ac9(0x1dd)]);}catch(_0x4c2b65){return![];}const _0xa4f7b0=new _0x1d60b4[(_0x313ac9(0x156))](_0x49eac6[_0x313ac9(0x227)]),_0x4b6776=_0xa4f7b0[_0x313ac9(0x247)]&&_0xa4f7b0[_0x313ac9(0x247)]['args']||_0x484291[_0x313ac9(0x13e)](typeof _0xa4f7b0['get'],_0x484291[_0x313ac9(0x1f4)])&&_0xa4f7b0[_0x313ac9(0x1a5)](_0x484291[_0x313ac9(0x259)])&&_0xa4f7b0[_0x313ac9(0x1a5)](_0x484291[_0x313ac9(0x259)])[_0x313ac9(0x21a)]||bsSetupHelper[_0x313ac9(0x248)](_0x49eac6[_0x313ac9(0x1b7)],[_0x484291['mstmp'],_0x484291['WYmag'],_0x484291[_0x313ac9(0x142)]])||bsSetupHelper['nestedKeyValue'](_0x49eac6[_0x313ac9(0x1b7)],[_0x484291[_0x313ac9(0x13f)],_0x484291[_0x313ac9(0x142)]])||[];if((Array[_0x313ac9(0x1a0)](_0x4b6776)?_0x4b6776:[])[_0x313ac9(0x176)](isLegacyHeadlessArg))return!![];const _0x563508=_0x49eac6[_0x313ac9(0x1b7)]||{},_0x3cc615=bsSetupHelper['nestedKeyValue'](_0x563508,[_0x484291[_0x313ac9(0x259)]])||{},_0x7262a0=bsSetupHelper[_0x313ac9(0x248)](_0x3cc615,[_0x484291['PHgwF']])||[];return(Array[_0x313ac9(0x1a0)](_0x7262a0)?_0x7262a0:[])[_0x313ac9(0x176)](isLegacyHeadlessArg);}catch(_0x52946c){return logger[_0x313ac9(0x1b9)](_0x313ac9(0x16e)+util[_0x313ac9(0x171)](_0x52946c)),![];}},exports[a125_0x2395d1(0x1e2)]=(_0x3cd1ee,_0x501fe6)=>{const _0x4a3ed7=a125_0x2395d1,_0x40a009={'PQWIA':'browserName','KkjOw':function(_0x3d71bf,_0x5b0272){return _0x3d71bf(_0x5b0272);},'HHYNH':_0x4a3ed7(0x206),'dbSpf':function(_0x3fdf06,_0x50585c){return _0x3fdf06(_0x50585c);},'UAUUk':_0x4a3ed7(0x19c),'HKDzP':_0x4a3ed7(0x225),'LqJfy':function(_0x4c9f3d,_0x4587f4){return _0x4c9f3d(_0x4587f4);},'HYkgd':_0x4a3ed7(0x188),'MWwyn':'device','bsqbr':_0x4a3ed7(0x17a),'QVegG':'Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','SaSJa':function(_0x9c8f61,_0x1a8c2e){return _0x9c8f61===_0x1a8c2e;},'sXNTE':_0x4a3ed7(0x180),'Phrep':function(_0x3be0aa,_0x15879f){return _0x3be0aa>=_0x15879f;}},_0x4b87eb=_0x3cd1ee[_0x4a3ed7(0x1a5)](_0x40a009[_0x4a3ed7(0x1b0)]),_0xfbe284=_0x40a009[_0x4a3ed7(0x15f)](parseFloat,_0x3cd1ee[_0x4a3ed7(0x1a5)](_0x40a009[_0x4a3ed7(0x1b8)]))||_0x40a009[_0x4a3ed7(0x164)](parseFloat,_0x3cd1ee['get'](_0x40a009[_0x4a3ed7(0x254)])),_0x576bfb=_0x3cd1ee[_0x4a3ed7(0x1a5)](_0x40a009[_0x4a3ed7(0x14b)])||{},_0x4a92bd=_0x40a009['LqJfy'](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY),_0x1b4634=_0x576bfb[_0x40a009[_0x4a3ed7(0x20d)]]||_0x3cd1ee[_0x4a3ed7(0x1a5)](_0x40a009['MWwyn'])||![];if(_0x1b4634)return logger[_0x4a3ed7(0x15e)](_0x40a009[_0x4a3ed7(0x1d4)]),![];if(exports[_0x4a3ed7(0x258)](_0x501fe6))return logger[_0x4a3ed7(0x15e)](_0x40a009[_0x4a3ed7(0x22b)]),![];if(_0x40a009[_0x4a3ed7(0x220)](_0x4b87eb[_0x4a3ed7(0x250)](),_0x40a009[_0x4a3ed7(0x14f)])&&_0x40a009[_0x4a3ed7(0x1aa)](_0xfbe284,_0x4a92bd))return!![];return logger[_0x4a3ed7(0x15e)]('Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20'+MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY+'.'),![];};function a125_0x181b(_0x5d52ee,_0x3c8731){const _0x5cbb63=a125_0x5cbb();return a125_0x181b=function(_0x181bd9,_0x47f251){_0x181bd9=_0x181bd9-0x12d;let _0x2f0c26=_0x5cbb63[_0x181bd9];return _0x2f0c26;},a125_0x181b(_0x5d52ee,_0x3c8731);}const mergeChromeOptionsPreservingArrays=(_0x3aaf39,_0x15eda3)=>{const _0x5fab40=a125_0x2395d1,_0x279809={};_0x279809[_0x5fab40(0x20a)]=function(_0x388081,_0x4fb827){return _0x388081!==_0x4fb827;},_0x279809[_0x5fab40(0x16f)]='string',_0x279809[_0x5fab40(0x152)]=function(_0x357532,_0xdc3aae){return _0x357532===_0xdc3aae;},_0x279809['scKRL']='object',_0x279809[_0x5fab40(0x23e)]=function(_0xb347bb,_0x1a978f){return _0xb347bb===_0x1a978f;};const _0x1b3d1e=_0x279809,_0x104559=_0x3aaf39&&_0x1b3d1e[_0x5fab40(0x152)](typeof _0x3aaf39,_0x1b3d1e[_0x5fab40(0x1b3)])?_0x3aaf39:{},_0x2fd621=_0x15eda3&&_0x1b3d1e[_0x5fab40(0x23e)](typeof _0x15eda3,_0x1b3d1e[_0x5fab40(0x1b3)])?_0x15eda3:{},_0x2879a1=Object['assign']({},_0x104559,_0x2fd621);return Object[_0x5fab40(0x21f)](_0x2fd621)['forEach'](_0x20d896=>{const _0x55116f=_0x5fab40,_0x16191b={'AOteX':function(_0x276dab,_0x2e8c46){return _0x1b3d1e['RxmZj'](_0x276dab,_0x2e8c46);},'ChsOJ':_0x1b3d1e[_0x55116f(0x16f)]};if(Array[_0x55116f(0x1a0)](_0x2fd621[_0x20d896])||Array[_0x55116f(0x1a0)](_0x104559[_0x20d896])){const _0x5348ff=Array['isArray'](_0x104559[_0x20d896])?_0x104559[_0x20d896]:[],_0x46684b=Array[_0x55116f(0x1a0)](_0x2fd621[_0x20d896])?_0x2fd621[_0x20d896]:[],_0x36a751=new Set();_0x2879a1[_0x20d896]=_0x5348ff['concat'](_0x46684b)[_0x55116f(0x1da)](_0x1f27e4=>{const _0xb3a6dd=_0x55116f;if(_0x16191b['AOteX'](typeof _0x1f27e4,_0x16191b['ChsOJ']))return!![];if(_0x36a751['has'](_0x1f27e4))return![];return _0x36a751[_0xb3a6dd(0x1c2)](_0x1f27e4),!![];});}}),_0x2879a1;};exports[a125_0x2395d1(0x251)]=(_0x13526d,_0x3b701b)=>{const _0x276bdb=a125_0x2395d1,_0x15d06a={'PGExs':function(_0x545d3a,_0x39b138){return _0x545d3a!==_0x39b138;},'hEpxo':'function','pWKJC':function(_0xe962df,_0x1a368a){return _0xe962df!==_0x1a368a;},'GRaGp':_0x276bdb(0x22f),'cyOLP':function(_0x59c995,_0x35e6da,_0x1d1d72){return _0x59c995(_0x35e6da,_0x1d1d72);},'ctVqm':function(_0xa826ba,_0x348821){return _0xa826ba||_0x348821;},'hRxVm':function(_0x5f3cb5,_0x19eb47){return _0x5f3cb5+_0x19eb47;},'MXLlv':_0x276bdb(0x1af)};try{const _0x3ce525=_0x13526d&&_0x13526d[_0x276bdb(0x227)];if(!_0x3ce525||_0x15d06a[_0x276bdb(0x170)](typeof _0x3ce525[_0x276bdb(0x1a5)],_0x15d06a[_0x276bdb(0x173)])||_0x15d06a[_0x276bdb(0x24d)](typeof _0x3ce525[_0x276bdb(0x222)],_0x15d06a[_0x276bdb(0x173)]))return;const _0x4881fc=_0x3ce525[_0x276bdb(0x1a6)]||_0x15d06a['GRaGp'],_0x42a807=_0x3ce525[_0x276bdb(0x1a5)](_0x4881fc)||{},_0x5a29de=_0x15d06a[_0x276bdb(0x16a)](mergeChromeOptionsPreservingArrays,_0x42a807,_0x15d06a[_0x276bdb(0x214)](_0x3b701b,{}));_0x3ce525[_0x276bdb(0x222)](_0x4881fc,_0x5a29de);}catch(_0x3dd0c9){logger[_0x276bdb(0x1b9)](_0x15d06a[_0x276bdb(0x238)](_0x15d06a[_0x276bdb(0x147)],util['format'](_0x3dd0c9)));}},exports[a125_0x2395d1(0x1d7)]=(_0x3549f5,_0xe74696=!![])=>{const _0x3fee6f=a125_0x2395d1,_0x13f80c={'OwnGy':function(_0x2e66a4,_0x51de8c){return _0x2e66a4===_0x51de8c;},'EQByz':_0x3fee6f(0x1ed),'xZIan':_0x3fee6f(0x22f),'Mrkxp':function(_0x4bbd35,_0x54d7ef,_0x4c3cec){return _0x4bbd35(_0x54d7ef,_0x4c3cec);},'XwQnu':function(_0x65f292,_0x24d902){return _0x65f292||_0x24d902;},'OtSaW':_0x3fee6f(0x163)},_0xc72841=scripts[_0x3fee6f(0x1ce)];try{const _0x3be8a3=bsSetupHelper[_0x3fee6f(0x197)](process[_0x3fee6f(0x1b5)][_0x3fee6f(0x12e)])||bsSetupHelper[_0x3fee6f(0x197)](process[_0x3fee6f(0x1b5)][_0x3fee6f(0x23b)]);if((!bsSetupHelper[_0x3fee6f(0x130)]()||process['env'][_0x3fee6f(0x228)])&&_0x3be8a3){const _0x33fd8e=_0x3549f5['getCapabilities'](),_0x48db29=_0x13f80c['OwnGy'](_0xe74696,![])?_0x13f80c[_0x3fee6f(0x226)]:_0x13f80c[_0x3fee6f(0x19d)],_0x145847=_0x33fd8e['get'](_0x48db29)||_0x33fd8e['get'](_0x13f80c[_0x3fee6f(0x19d)])||{},_0x1ffd5d=_0x13f80c[_0x3fee6f(0x1f9)](mergeChromeOptionsPreservingArrays,_0x145847,_0x13f80c[_0x3fee6f(0x18a)](_0xc72841,{}));_0x33fd8e[_0x3fee6f(0x222)](_0x48db29,_0x1ffd5d),exports[_0x3fee6f(0x251)](_0x3549f5,_0x1ffd5d);}else logger[_0x3fee6f(0x15e)](_0x13f80c['OtSaW']);}catch(_0x51ba5f){logger[_0x3fee6f(0x1e7)](_0x3fee6f(0x16b)+_0x51ba5f);}},exports[a125_0x2395d1(0x14d)]=_0x17d0d8=>{const _0xc0c6e2=a125_0x2395d1,_0x1bc3ed={};_0x1bc3ed[_0xc0c6e2(0x146)]=function(_0x362c02,_0x2d9fad){return _0x362c02||_0x2d9fad;},_0x1bc3ed['JiSxO']=_0xc0c6e2(0x22f);const _0x482c87=_0x1bc3ed;_0x17d0d8=_0x482c87[_0xc0c6e2(0x146)](_0x17d0d8,{});const _0x182d65=scripts[_0xc0c6e2(0x1ce)];try{const _0x4b0a95=bsSetupHelper[_0xc0c6e2(0x197)](process[_0xc0c6e2(0x1b5)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'])||bsSetupHelper[_0xc0c6e2(0x197)](process[_0xc0c6e2(0x1b5)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']);if((!bsSetupHelper[_0xc0c6e2(0x130)]()||process['env']['BROWSERSTACK_TURBOSCALE'])&&_0x4b0a95){const _0x4d6a06=_0x17d0d8[_0x482c87[_0xc0c6e2(0x23d)]]||{};bsSetupHelper['mergeDeep'](_0x4d6a06,_0x182d65),_0x17d0d8[_0x482c87[_0xc0c6e2(0x23d)]]=_0x4d6a06;}}catch(_0x492383){logger[_0xc0c6e2(0x1e7)](_0xc0c6e2(0x229)+_0x492383);}return _0x17d0d8;},exports[a125_0x2395d1(0x153)]=(_0x1a9af0=null,_0x4efb3b=!![],_0xdc9403=[])=>{const _0x5f4304=a125_0x2395d1,_0x2d10e3={};_0x2d10e3['zSkSz']=function(_0x4fedd3,_0x54bad0){return _0x4fedd3==_0x54bad0;},_0x2d10e3[_0x5f4304(0x141)]=function(_0x549ce9,_0x51ee17){return _0x549ce9>_0x51ee17;},_0x2d10e3[_0x5f4304(0x1fa)]=function(_0x5b97ed,_0x390865){return _0x5b97ed===_0x390865;},_0x2d10e3[_0x5f4304(0x234)]=function(_0x2027de,_0x259efc){return _0x2027de&&_0x259efc;};const _0x50dc41=_0x2d10e3;if(_0x50dc41['zSkSz'](process['env'][_0x5f4304(0x1b4)],null))return!![];try{const _0x39655c=JSON['parse'](process[_0x5f4304(0x1b5)][_0x5f4304(0x1b4)]),_0xf47293=Array[_0x5f4304(0x1a0)](_0x39655c[_0x5f4304(0x1fb)])?_0x39655c[_0x5f4304(0x1fb)]:[],_0x40dbca=Array[_0x5f4304(0x1a0)](_0x39655c[_0x5f4304(0x20b)])?_0x39655c['excludeTagsInTestingScope']:[],_0x511f6a=_0x49cabf=>typeof _0x49cabf===_0x5f4304(0x20f)?_0x49cabf[_0x5f4304(0x237)](/^@/,'')['toLowerCase']()[_0x5f4304(0x242)]():_0x49cabf;if(bsSetupHelper[_0x5f4304(0x182)](_0x1a9af0)){if(_0x50dc41['sLIwv'](_0xdc9403[_0x5f4304(0x246)],0x0)){const _0x1ad8b3=_0xdc9403[_0x5f4304(0x19b)](_0x511f6a),_0x35b8fd=_0x40dbca[_0x5f4304(0x176)](_0xb77fa2=>_0x1ad8b3[_0x5f4304(0x190)](_0x511f6a(_0xb77fa2))),_0x22b303=_0x50dc41[_0x5f4304(0x1fa)](_0xf47293[_0x5f4304(0x246)],0x0)||_0xf47293[_0x5f4304(0x176)](_0x392cfd=>_0x1ad8b3[_0x5f4304(0x190)](_0x511f6a(_0x392cfd)));return _0x50dc41[_0x5f4304(0x234)](!_0x35b8fd,_0x22b303);}return!![];}let _0x197fab;_0x4efb3b?_0x197fab=_0x1a9af0[_0x5f4304(0x21d)]('/'):_0x197fab=_0x1a9af0;const _0x4443d4=_0x40dbca[_0x5f4304(0x176)](_0x1e2e40=>_0x197fab[_0x5f4304(0x250)]()[_0x5f4304(0x190)](_0x511f6a(_0x1e2e40)['toLowerCase']())),_0x141449=_0x50dc41[_0x5f4304(0x1fa)](_0xf47293[_0x5f4304(0x246)],0x0)||_0xf47293[_0x5f4304(0x176)](_0x1fc2da=>_0x197fab[_0x5f4304(0x250)]()['includes'](_0x511f6a(_0x1fc2da)[_0x5f4304(0x250)]()));return _0x50dc41['Gwigi'](!_0x4443d4,_0x141449);}catch(_0x5cce45){logger['debug']('Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20'+util['format'](_0x5cce45));}return![];},exports[a125_0x2395d1(0x217)]=_0x23ef72=>{const _0x42af02=a125_0x2395d1;let _0x53326e=![];try{_0x23ef72[_0x42af02(0x1d8)][_0x42af02(0x151)](_0x1abfe3=>{const _0x293d56=_0x42af02;if(bsSetupHelper['isTrue'](_0x1abfe3[_0x293d56(0x191)]))return _0x53326e=!![],!![];});}catch(_0x535d9c){logger['debug'](_0x42af02(0x1f3)+_0x535d9c);}return _0x53326e||bsSetupHelper[_0x42af02(0x197)](_0x23ef72['accessibility']);},exports[a125_0x2395d1(0x16d)]=PerformanceTester[a125_0x2395d1(0x233)](a125_0x2395d1(0x1a4),async function(_0xb778d0,_0x4f8507){const _0x3933b7=a125_0x2395d1,_0x14ba0c={};_0x14ba0c[_0x3933b7(0x21e)]=_0x3933b7(0x1c7),_0x14ba0c[_0x3933b7(0x25e)]=_0x3933b7(0x167),_0x14ba0c[_0x3933b7(0x215)]=_0x3933b7(0x244),_0x14ba0c[_0x3933b7(0x13a)]=_0x3933b7(0x15c),_0x14ba0c[_0x3933b7(0x1e3)]=_0x3933b7(0x1ac),_0x14ba0c[_0x3933b7(0x16c)]='v2/test_runs',_0x14ba0c[_0x3933b7(0x194)]=function(_0x37d128,_0x15ba00){return _0x37d128===_0x15ba00;},_0x14ba0c['hAmsP']=_0x3933b7(0x25a),_0x14ba0c[_0x3933b7(0x1ea)]=_0x3933b7(0x24a);const _0x32f4ac=_0x14ba0c,_0x18404a=bsSetupHelper[_0x3933b7(0x15a)](_0xb778d0),_0x1b834c=bsSetupHelper[_0x3933b7(0x1bb)](_0xb778d0);if(bsSetupHelper[_0x3933b7(0x182)](_0x18404a)||bsSetupHelper[_0x3933b7(0x182)](_0x1b834c))return logger[_0x3933b7(0x1e7)](_0x32f4ac[_0x3933b7(0x21e)]),[null,null];try{let _0x18d8ce;bsSetupHelper[_0x3933b7(0x182)](process['env'][_0x3933b7(0x1b4)])?_0x18d8ce={}:_0x18d8ce=JSON[_0x3933b7(0x1f2)](process[_0x3933b7(0x1b5)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']);const {name:_0x76369c,version:_0x22ab7e}=bsSetupHelper[_0x3933b7(0x1d6)](_0xb778d0,_0x4f8507),_0x1696fd={'projectName':_0xb778d0['projectName'],'buildName':_0xb778d0[_0x3933b7(0x158)]||path[_0x3933b7(0x257)](path['resolve'](process['cwd']())),'startTime':new Date()[_0x3933b7(0x218)](),'description':_0xb778d0[_0x3933b7(0x25c)]||'','source':{'frameworkName':_0x4f8507['includes'](_0x32f4ac[_0x3933b7(0x25e)])?_0x32f4ac[_0x3933b7(0x25e)]:_0x4f8507,'frameworkVersion':bsSetupHelper[_0x3933b7(0x1db)](_0x4f8507),'sdkVersion':bsSetupHelper[_0x3933b7(0x174)](),'language':_0x32f4ac[_0x3933b7(0x215)],'testFramework':_0x76369c,'testFrameworkVersion':_0x22ab7e},'settings':_0x18d8ce,'versionControl':await bsSetupHelper[_0x3933b7(0x192)](),'ciInfo':bsSetupHelper['getCiInfo'](),'hostInfo':bsSetupHelper[_0x3933b7(0x134)](),'browserstackAutomation':bsSetupHelper[_0x3933b7(0x130)]()},_0x546334={};_0x546334[_0x3933b7(0x223)]=_0x18404a,_0x546334[_0x3933b7(0x193)]=_0x1b834c;const _0x18c750={};_0x18c750[_0x3933b7(0x212)]=_0x32f4ac['uVfca'];const _0x3609f0={};_0x3609f0[_0x3933b7(0x1ca)]=_0x546334,_0x3609f0['headers']=_0x18c750;const _0x39ab47=_0x3609f0,_0x4fae89={};_0x4fae89[_0x3933b7(0x1c6)]=_0x1696fd,_0x4fae89['json']=!![];const _0x36a3e9=Object['assign'](_0x39ab47,_0x4fae89),_0x3267a7=await bsSetupHelper[_0x3933b7(0x1d0)](_0x32f4ac[_0x3933b7(0x1e3)],_0x32f4ac[_0x3933b7(0x16c)],_0x36a3e9,_0xb778d0,API_URL);let _0x3d8f97=process[_0x3933b7(0x1b5)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'];return _0x3d8f97?_0x3d8f97=JSON[_0x3933b7(0x1f2)](process[_0x3933b7(0x1b5)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']):_0x3d8f97={},scripts[_0x3933b7(0x240)](_0x3267a7[_0x3933b7(0x1cf)][_0x3933b7(0x1cf)]),scripts['toJson'](),_0x3d8f97[_0x3933b7(0x15d)]=_0x3267a7[_0x3933b7(0x1cf)][_0x3933b7(0x1cf)]['scannerVersion'],process[_0x3933b7(0x1b5)][_0x3933b7(0x1b4)]=JSON[_0x3933b7(0x1ff)](_0x3d8f97),[_0x3267a7[_0x3933b7(0x1cf)][_0x3933b7(0x1cf)]['accessibilityToken'],_0x3267a7[_0x3933b7(0x1cf)][_0x3933b7(0x1cf)]['id']];}catch(_0x58d580){if(_0x58d580['response'])logger['error'](_0x3933b7(0x1c3)+_0x58d580[_0x3933b7(0x208)][_0x3933b7(0x1d5)]+'\x20'+_0x58d580['response'][_0x3933b7(0x25d)]+'\x20'+JSON['stringify'](_0x58d580[_0x3933b7(0x208)][_0x3933b7(0x1cf)]));else{if(_0x32f4ac[_0x3933b7(0x194)](_0x58d580['message'],_0x32f4ac['hAmsP'])){logger[_0x3933b7(0x1e7)]('Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20'+(_0x58d580['message']||_0x58d580[_0x3933b7(0x20c)]));for(const _0x539c28 of _0x58d580['errors']){logger[_0x3933b7(0x1e7)](_0x539c28[_0x3933b7(0x1a7)]);}process[_0x3933b7(0x1b5)][_0x3933b7(0x12e)]=_0x32f4ac[_0x3933b7(0x1ea)],process[_0x3933b7(0x1b5)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x32f4ac['bdLiC'];}else logger[_0x3933b7(0x1e7)](_0x3933b7(0x1c3)+(_0x58d580[_0x3933b7(0x1a7)]||_0x58d580[_0x3933b7(0x20c)]));}return[null,null];}}),exports['stopAccessibilityTestRun']=PerformanceTester[a125_0x2395d1(0x233)](a125_0x2395d1(0x189),async function(_0x203873){const _0x66b064=a125_0x2395d1,_0x5d2240={};_0x5d2240[_0x66b064(0x135)]=function(_0x228495,_0x5d283b){return _0x228495!==_0x5d283b;},_0x5d2240[_0x66b064(0x1e0)]=_0x66b064(0x20f),_0x5d2240['mdLeg']=_0x66b064(0x1e7),_0x5d2240[_0x66b064(0x162)]=_0x66b064(0x203),_0x5d2240[_0x66b064(0x14c)]=_0x66b064(0x15c),_0x5d2240[_0x66b064(0x1f0)]=_0x66b064(0x17b),_0x5d2240[_0x66b064(0x172)]=_0x66b064(0x216),_0x5d2240['AdBbS']=function(_0x399503,_0x3a4cd3){return _0x399503+_0x3a4cd3;},_0x5d2240['aEqdq']=_0x66b064(0x157),_0x5d2240[_0x66b064(0x1b6)]='success';const _0x15f852=_0x5d2240;if(bsSetupHelper[_0x66b064(0x182)](process['env']['BS_A11Y_JWT'])||_0x15f852[_0x66b064(0x135)](typeof process[_0x66b064(0x1b5)][_0x66b064(0x24f)],_0x15f852[_0x66b064(0x1e0)])){const _0x19901e={};return _0x19901e[_0x66b064(0x1d5)]=_0x15f852[_0x66b064(0x255)],_0x19901e[_0x66b064(0x1a7)]=_0x15f852[_0x66b064(0x162)],_0x19901e;}const _0x33c1b5={'endTime':new Date()[_0x66b064(0x218)]()},_0x1fe44a={};_0x1fe44a[_0x66b064(0x207)]='Bearer\x20'+process['env']['BS_A11Y_JWT'],_0x1fe44a[_0x66b064(0x212)]=_0x15f852['zbEQO'];const _0x3584bb={};_0x3584bb['headers']=_0x1fe44a;const _0x1992ea=_0x3584bb,_0x223144={};_0x223144[_0x66b064(0x1c6)]=_0x33c1b5,_0x223144['auth']=null,_0x223144['json']=!![];const _0x1b91eb=Object[_0x66b064(0x17e)](_0x1992ea,_0x223144);try{const _0x484e3b=await bsSetupHelper[_0x66b064(0x1d0)](_0x15f852[_0x66b064(0x1f0)],_0x15f852[_0x66b064(0x172)],_0x1b91eb,_0x203873,API_URL);if(_0x484e3b['data']['error'])throw new Error(_0x15f852[_0x66b064(0x1dc)](_0x15f852[_0x66b064(0x1e5)],_0x484e3b['data']['error']));else{logger[_0x66b064(0x1c1)](_0x66b064(0x17f)+new Date()['toISOString']());const _0x3cbea1={};return _0x3cbea1['status']=_0x15f852[_0x66b064(0x1b6)],_0x3cbea1['message']='',_0x3cbea1;}}catch(_0x3b21ee){_0x3b21ee[_0x66b064(0x208)]?logger['error'](_0x66b064(0x1f1)+_0x3b21ee[_0x66b064(0x208)][_0x66b064(0x1d5)]+'\x20'+_0x3b21ee[_0x66b064(0x208)][_0x66b064(0x25d)]+'\x20'+JSON[_0x66b064(0x1ff)](_0x3b21ee[_0x66b064(0x208)][_0x66b064(0x1cf)])):logger[_0x66b064(0x1e7)]('Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20'+(_0x3b21ee[_0x66b064(0x1a7)]||util[_0x66b064(0x171)](_0x3b21ee)));const _0x103ba4={};return _0x103ba4[_0x66b064(0x1d5)]=_0x15f852['mdLeg'],_0x103ba4['message']=_0x3b21ee[_0x66b064(0x1a7)]||(_0x3b21ee[_0x66b064(0x208)]?_0x3b21ee[_0x66b064(0x208)][_0x66b064(0x1d5)]+':'+_0x3b21ee['response']['statusText']:_0x3b21ee),_0x103ba4;}}),exports['performScan']=async(_0x2ad1f3,_0x3d9771=null,_0x522f3f=![],_0x329199=null)=>{const _0x635be4=a125_0x2395d1,_0x4cb813={};_0x4cb813[_0x635be4(0x177)]=_0x635be4(0x1e1),_0x4cb813['DOiLV']=_0x635be4(0x236),_0x4cb813[_0x635be4(0x23c)]=_0x635be4(0x18c),_0x4cb813[_0x635be4(0x1fd)]=function(_0x4b9f36,_0x4d59a0){return _0x4b9f36||_0x4d59a0;},_0x4cb813[_0x635be4(0x1ee)]=_0x635be4(0x1a8),_0x4cb813[_0x635be4(0x1bf)]='performScan:\x20Mobile\x20capabilities\x20added\x20to\x20scan\x20arguments';const _0x2c2177=_0x4cb813;if(!this[_0x635be4(0x1cc)]()||!globals[_0x635be4(0x210)](_0x2c2177[_0x635be4(0x177)])||!_0x522f3f&&!globals[_0x635be4(0x210)](_0x2c2177[_0x635be4(0x23a)])){logger[_0x635be4(0x15e)](_0x2c2177[_0x635be4(0x23c)]);return;}const _0x5c6c6a=_0x522f3f?_0x2c2177['ThBSZ'](_0x329199,{}):globals[_0x635be4(0x210)](_0x2c2177[_0x635be4(0x1ee)])||{},_0x4c0ece={};_0x4c0ece[_0x635be4(0x13c)]=_0x3d9771||global['browserstackSessionName'];const _0x416606=Object[_0x635be4(0x17e)]({},_0x5c6c6a,_0x4c0ece);await this[_0x635be4(0x1c0)](_0x2ad1f3)&&(Object['assign'](_0x416606,this[_0x635be4(0x196)](),{'thTestRunUuid':this['resolveMobileThTestRunUuid']()}),logger['debug'](_0x2c2177[_0x635be4(0x1bf)]));logger[_0x635be4(0x1b9)](_0x635be4(0x1f8)+util['format']('%j',_0x416606));const _0x503773={};return _0x503773['command']=_0x3d9771,await PerformanceTester[_0x635be4(0x233)](PerformanceA11yEvents[_0x635be4(0x137)],async()=>{const _0x40455c=_0x635be4;try{await _0x2ad1f3['wait'](()=>_0x2ad1f3[_0x40455c(0x1e8)]('return\x20document.readyState\x20===\x20\x22complete\x22'),0x1388);}catch(_0x363d5c){}const _0xf88ba2=util[_0x40455c(0x171)](await _0x2ad1f3[_0x40455c(0x169)](scripts[_0x40455c(0x1d9)],_0x416606));return logger[_0x40455c(0x1b9)](_0x40455c(0x1c5)+_0xf88ba2),_0xf88ba2;},_0x503773)();},exports[a125_0x2395d1(0x195)]=async(_0x325157,_0x1643f0)=>{const _0x365c45=a125_0x2395d1,_0x518272={};_0x518272['ONntE']=_0x365c45(0x219),_0x518272['oBBIQ']=_0x365c45(0x1e1),_0x518272['sSaHR']='bstackA11yShouldScan',_0x518272['oZOPS']='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.',_0x518272[_0x365c45(0x205)]=_0x365c45(0x195),_0x518272[_0x365c45(0x1eb)]=_0x365c45(0x15b);const _0x55b7ac=_0x518272;if(!this['isAccessibilityAutomationSession']()||!globals['getGlobal'](_0x55b7ac[_0x365c45(0x1cb)])||!globals[_0x365c45(0x210)](_0x55b7ac['sSaHR']))return logger[_0x365c45(0x15e)](_0x55b7ac[_0x365c45(0x1ae)]),[];try{const _0x4f9109=await this[_0x365c45(0x1c0)](_0x325157),_0x450718=_0x4f9109?Object[_0x365c45(0x17e)]({},this[_0x365c45(0x196)](),{'thTestRunUuid':this[_0x365c45(0x14a)]()}):{};return _0x4f9109&&logger[_0x365c45(0x1b9)](_0x365c45(0x183)+util['format']('%j',_0x450718)),await PerformanceTester[_0x365c45(0x233)](PerformanceA11yEvents[_0x365c45(0x137)],async()=>{const _0x4956e7=_0x365c45;logger['debug'](_0x55b7ac[_0x4956e7(0x202)]);const _0x3f79ec={};_0x3f79ec['method']=_0x1643f0[_0x4956e7(0x13b)];const _0x416d99=Object[_0x4956e7(0x17e)](_0x3f79ec,_0x450718);logger[_0x4956e7(0x1b9)](util[_0x4956e7(0x171)](await _0x325157[_0x4956e7(0x169)](scripts[_0x4956e7(0x1d9)],_0x416d99)));},{'command':_0x55b7ac['umfrS']})(),await PerformanceTester[_0x365c45(0x233)](PerformanceA11yEvents[_0x365c45(0x1df)],async()=>{const _0x3b7591=_0x365c45,_0x34a479=_0x4f9109?await _0x325157[_0x3b7591(0x169)](scripts['getResults'],_0x450718):await _0x325157[_0x3b7591(0x169)](scripts[_0x3b7591(0x245)]);return _0x34a479;})();}catch{return logger[_0x365c45(0x1e7)](_0x55b7ac[_0x365c45(0x1eb)]),[];}},exports['getAccessibilityResultsSummary']=async(_0x3d22ba,_0x16e287)=>{const _0x35200c=a125_0x2395d1,_0x398d44={};_0x398d44[_0x35200c(0x168)]=_0x35200c(0x145),_0x398d44[_0x35200c(0x181)]='isAccessibilityPlatform',_0x398d44[_0x35200c(0x200)]=_0x35200c(0x236),_0x398d44[_0x35200c(0x150)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.',_0x398d44[_0x35200c(0x17d)]=_0x35200c(0x175),_0x398d44[_0x35200c(0x179)]=_0x35200c(0x201);const _0xdce92=_0x398d44;if(!this[_0x35200c(0x1cc)]()||!globals[_0x35200c(0x210)](_0xdce92[_0x35200c(0x181)])||!globals[_0x35200c(0x210)](_0xdce92[_0x35200c(0x200)]))return logger[_0x35200c(0x15e)](_0xdce92[_0x35200c(0x150)]),{};try{const _0x27bcbb=await this[_0x35200c(0x1c0)](_0x3d22ba),_0x523b5f=_0x27bcbb?Object[_0x35200c(0x17e)]({},this[_0x35200c(0x196)](),{'thTestRunUuid':this['resolveMobileThTestRunUuid']()}):{};return _0x27bcbb&&logger['debug'](_0x35200c(0x19f)+util['format']('%j',_0x523b5f)),await PerformanceTester[_0x35200c(0x233)](PerformanceA11yEvents[_0x35200c(0x137)],async()=>{const _0x4c2b24=_0x35200c;logger[_0x4c2b24(0x1b9)](_0xdce92[_0x4c2b24(0x168)]);const _0xa57748={};_0xa57748['method']=_0x16e287[_0x4c2b24(0x13b)];const _0x5d1f76=Object['assign'](_0xa57748,_0x523b5f);logger['debug'](util['format'](await _0x3d22ba[_0x4c2b24(0x169)](scripts['performScan'],_0x5d1f76)));},{'command':_0xdce92[_0x35200c(0x17d)]})(),await PerformanceTester[_0x35200c(0x233)](PerformanceA11yEvents['GET_RESULTS_SUMMARY'],async()=>{const _0x2871bc=_0x35200c,_0xcdc91d=_0x27bcbb?await _0x3d22ba[_0x2871bc(0x169)](scripts[_0x2871bc(0x1b1)],_0x523b5f):await _0x3d22ba[_0x2871bc(0x169)](scripts['getResultsSummary']);return _0xcdc91d;})();}catch{return logger[_0x35200c(0x1e7)](_0xdce92[_0x35200c(0x179)]),{};}},exports[a125_0x2395d1(0x1cd)]=(_0x1784dc,_0xef5a06=![])=>{const _0x38d615=a125_0x2395d1,_0x4ef98c={'JCyum':function(_0x48a67b,_0x13f59b){return _0x48a67b(_0x13f59b);},'ltIXw':function(_0x1c03e1,_0x5c73dd){return _0x1c03e1(_0x5c73dd);},'TVEXY':'platformName','fZKtc':function(_0x3748cc,_0x245370){return _0x3748cc(_0x245370);},'EVqYz':_0x38d615(0x239),'sKcFc':function(_0x1e1f15,_0x5b338e){return _0x1e1f15!==_0x5b338e;},'goDVi':_0x38d615(0x253),'YWqRj':function(_0xf9b70b,_0x251028){return _0xf9b70b(_0x251028);},'yodnY':function(_0x53f6fd,_0xccee0c){return _0x53f6fd(_0xccee0c);},'vrwKa':'browserName','weWXM':_0x38d615(0x180),'oJhjX':_0x38d615(0x131),'Aydhi':_0x38d615(0x198)};try{if(!_0x1784dc)return![];const _0x519020=_0x3ebadc=>typeof _0x1784dc['get']===_0x38d615(0x230)?_0x1784dc[_0x38d615(0x1a5)](_0x3ebadc):_0x1784dc[_0x3ebadc],_0x37c5a8=_0x4ef98c[_0x38d615(0x148)](String,_0x4ef98c['ltIXw'](_0x519020,_0x4ef98c['TVEXY'])||_0x4ef98c[_0x38d615(0x186)](_0x519020,_0x4ef98c[_0x38d615(0x1a9)])||'')['toLowerCase']();if(_0x4ef98c['sKcFc'](_0x37c5a8,_0x4ef98c[_0x38d615(0x159)]))return![];const _0x572284=_0x4ef98c[_0x38d615(0x1c8)](String,_0x4ef98c[_0x38d615(0x1be)](_0x519020,_0x4ef98c[_0x38d615(0x140)])||'')[_0x38d615(0x250)]();if(!_0x572284[_0x38d615(0x190)](_0x4ef98c['weWXM']))return _0xef5a06&&logger['warn'](_0x4ef98c[_0x38d615(0x24e)]),![];return logger[_0x38d615(0x1b9)](_0x4ef98c[_0x38d615(0x1fe)]),!![];}catch(_0xef9ef){return logger[_0x38d615(0x1b9)](_0x38d615(0x133)+_0xef9ef),![];}},exports[a125_0x2395d1(0x1c0)]=async _0x596efe=>{const _0x16a1fa=a125_0x2395d1;try{const _0x98b626=await _0x596efe[_0x16a1fa(0x22e)]();return exports[_0x16a1fa(0x1cd)](_0x98b626);}catch(_0x82b0ef){return logger['debug'](_0x16a1fa(0x1e9)+_0x82b0ef),![];}},exports[a125_0x2395d1(0x196)]=()=>{const _0x3115aa=a125_0x2395d1,_0x482a44={};return _0x482a44[_0x3115aa(0x178)]=!![],_0x482a44;},exports[a125_0x2395d1(0x14a)]=()=>{const _0x194f98=a125_0x2395d1,_0x29580c={};_0x29580c[_0x194f98(0x249)]=function(_0x5145d3,_0x3b9b56){return _0x5145d3===_0x3b9b56;},_0x29580c['FTvwz']=_0x194f98(0x20f),_0x29580c[_0x194f98(0x1f7)]=function(_0x1337dc,_0x17148a){return _0x1337dc>_0x17148a;},_0x29580c[_0x194f98(0x231)]=_0x194f98(0x161),_0x29580c['yXOSI']=_0x194f98(0x165),_0x29580c[_0x194f98(0x18e)]=function(_0x16cbb9,_0x51e301){return _0x16cbb9===_0x51e301;},_0x29580c[_0x194f98(0x1e4)]=_0x194f98(0x1de);const _0x5e70ae=_0x29580c,_0x288ffe=global['__workerDetails'],_0x137cac=_0x288ffe&&_0x288ffe['currentTest'],_0x4df891=_0x137cac&&_0x137cac['thTestRunUuid'];if(_0x5e70ae[_0x194f98(0x249)](typeof _0x4df891,_0x5e70ae[_0x194f98(0x1d1)])&&_0x5e70ae[_0x194f98(0x1f7)](_0x4df891[_0x194f98(0x246)],0x0))return _0x4df891;let _0x419e8b;if(!_0x288ffe)_0x419e8b=_0x5e70ae[_0x194f98(0x231)];else!_0x137cac?_0x419e8b=_0x5e70ae[_0x194f98(0x160)]:_0x419e8b='global.__workerDetails.currentTest\x20exists\x20with\x20keys\x20['+Object['keys'](_0x137cac)['join'](',\x20')+_0x194f98(0x232)+(_0x5e70ae[_0x194f98(0x18e)](_0x4df891,undefined)?_0x5e70ae[_0x194f98(0x1e4)]:'\x22'+_0x4df891+'\x22')+'.\x20The\x20framework\x20setup\x20hook\x20is\x20not\x20writing\x20thTestRunUuid\x20onto\x20currentTest.';return logger[_0x194f98(0x15e)]('[Accessibility]\x20Mobile\x20scan\x20requested\x20but\x20thTestRunUuid\x20not\x20resolvable:\x20'+_0x419e8b+_0x194f98(0x185)),'';},exports[a125_0x2395d1(0x221)]=_0x2913ed=>{const _0x1f71a0=a125_0x2395d1,_0x3ba5b3={};_0x3ba5b3[_0x1f71a0(0x136)]=function(_0x3e8a4c,_0x41c4f0){return _0x3e8a4c===_0x41c4f0;},_0x3ba5b3[_0x1f71a0(0x14e)]=_0x1f71a0(0x20f),_0x3ba5b3[_0x1f71a0(0x19e)]='browserstack_executor';const _0x324ac8=_0x3ba5b3;if(_0x2913ed&&_0x2913ed[_0x1f71a0(0x18d)]&&_0x324ac8[_0x1f71a0(0x136)](typeof _0x2913ed[_0x1f71a0(0x18d)],_0x324ac8[_0x1f71a0(0x14e)]))return _0x2913ed[_0x1f71a0(0x18d)][_0x1f71a0(0x190)](_0x324ac8[_0x1f71a0(0x19e)]);return![];},exports[a125_0x2395d1(0x211)]=a125_0x2395d1(0x1ba),exports[a125_0x2395d1(0x241)]=()=>process[a125_0x2395d1(0x1b5)]['BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP']===a125_0x2395d1(0x20e),exports['isBrowserSupportedForAccessibility']=_0x38ddb7=>{const _0x39c7d8=a125_0x2395d1,_0x9c79a9={};_0x9c79a9[_0x39c7d8(0x12d)]=function(_0x1e1822,_0x2aaf4d){return _0x1e1822 in _0x2aaf4d;};const _0x5717f5=_0x9c79a9;if(bsSetupHelper[_0x39c7d8(0x182)](_0x38ddb7))return![];const _0x15dfd2=_0x38ddb7[_0x39c7d8(0x250)]();return _0x5717f5['kBork'](_0x15dfd2,ACCESSIBILITY_SUPPORTED_BROWSERS);},exports[a125_0x2395d1(0x1bd)]=_0x30e43c=>{const _0x51240e=a125_0x2395d1;if(bsSetupHelper[_0x51240e(0x182)](_0x30e43c))return null;const _0x4df965=_0x30e43c[_0x51240e(0x250)]();return ACCESSIBILITY_SUPPORTED_BROWSERS[_0x4df965]||null;},exports[a125_0x2395d1(0x144)]=(_0x1bd54d,_0x5a08a7)=>{const _0x1d42da=a125_0x2395d1,_0x306834=this['getBrowserA11yConfig'](_0x1bd54d);if(!_0x306834)return null;if(_0x5a08a7)return _0x306834[_0x1d42da(0x154)];return _0x306834['min_version_non_browserstack'];},exports[a125_0x2395d1(0x22c)]=_0x5c57e4=>{const _0x41cd00=a125_0x2395d1,_0x2a272b=this[_0x41cd00(0x1bd)](_0x5c57e4);return _0x2a272b?_0x2a272b['display_name']:_0x5c57e4;},exports[a125_0x2395d1(0x252)]=_0xff1bdb=>{const _0x1102c2=a125_0x2395d1,_0x5a9880=this[_0x1102c2(0x1bd)](_0xff1bdb);return _0x5a9880?_0x5a9880['requires_chrome_options_check']:![];},exports[a125_0x2395d1(0x143)]=(_0xb27b68,_0x32dc2)=>{const _0x4ffdcc=a125_0x2395d1,_0x35f194={'gMgtS':function(_0x236cf9,_0x3697b6){return _0x236cf9(_0x3697b6);},'eveNv':function(_0x42350c,_0x3b1909){return _0x42350c>=_0x3b1909;}};if(bsSetupHelper['isUndefined'](_0xb27b68)||bsSetupHelper[_0x4ffdcc(0x182)](_0x32dc2))return![];const _0x59abc1=bsSetupHelper[_0x4ffdcc(0x213)](_0x35f194[_0x4ffdcc(0x149)](String,_0xb27b68),_0x35f194[_0x4ffdcc(0x149)](String,_0x32dc2));return _0x35f194['eveNv'](_0x59abc1,0x0);},exports[a125_0x2395d1(0x1a2)]=_0x4a639d=>{const _0x5e0b12=a125_0x2395d1,_0x167589={};_0x167589[_0x5e0b12(0x22d)]=function(_0x1487af,_0x221971){return _0x1487af!==_0x221971;},_0x167589['nurqy']=_0x5e0b12(0x20f),_0x167589['DrRkT']=_0x5e0b12(0x12f);const _0x52c94f=_0x167589;if(!_0x4a639d||_0x52c94f[_0x5e0b12(0x22d)](typeof _0x4a639d,_0x52c94f[_0x5e0b12(0x1b2)]))return null;try{return JSON[_0x5e0b12(0x1f2)](Buffer['from'](_0x4a639d[_0x5e0b12(0x1bc)]('.')[0x1],_0x52c94f['DrRkT'])[_0x5e0b12(0x132)]());}catch{return null;}};
|
|
1
|
+
const a125_0x54c3ae=a125_0x4cbc;(function(_0x2281fb,_0x3fc112){const _0x241bf3=a125_0x4cbc,_0x244f4b=_0x2281fb();while(!![]){try{const _0xf6b3ec=-parseInt(_0x241bf3(0x1bc))/0x1+parseInt(_0x241bf3(0x1e7))/0x2*(-parseInt(_0x241bf3(0x22e))/0x3)+-parseInt(_0x241bf3(0x1b7))/0x4+-parseInt(_0x241bf3(0x217))/0x5*(-parseInt(_0x241bf3(0x1f2))/0x6)+parseInt(_0x241bf3(0x26e))/0x7+parseInt(_0x241bf3(0x2b9))/0x8*(-parseInt(_0x241bf3(0x281))/0x9)+parseInt(_0x241bf3(0x2c3))/0xa;if(_0xf6b3ec===_0x3fc112)break;else _0x244f4b['push'](_0x244f4b['shift']());}catch(_0x16a4ca){_0x244f4b['push'](_0x244f4b['shift']());}}}(a125_0x5ccf,0x5d2c6));function a125_0x5ccf(){const _0xe243d6=['sOOKU','a11y:stop','GQzYw','./constants','isMobileAccessibilitySession','GMWqc','path','lNZQv','../performance/performance-tester','function','IwvGV','options_','getAccessibilityResults','basename','VUpoH','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20','QbQLt','isAccessibilityAutomationSession','createAccessibilityTestRun','join','./scripts','toJson','setNonBstackInfraCapabilitiesOnCaps','PLPkR','setNonBstackInfraCapabilities','platform','Invalid\x20configuration\x20passed.','Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20','parse','ZnyDq','isUndefined','scyYL','winstonLogger','BXALx','tmgmy','IWKnq','global.__workerDetails.currentTest\x20exists\x20with\x20keys\x20[','getBrowserName','Bearer\x20','eHoyy','toISOString','performScan','Unable\x20to\x20mirror\x20accessibility\x20chrome\x20options\x20into\x20builder\x20options:\x20','toString','v2/test_runs','../globals','assign','Content-Type','glGRu','rBAPo','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.','16DMKllI','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','KZhfR','resolveMobileThTestRunUuid','browserstackSessionName','iRhzf','playwright','isBrowserStackCommandExecutor','toLowerCase','user','6017840rPRRyV','mergeDeep','ZIGGW','LdnsX','getBrowserVersion','executeAsyncScript','PQDMc','return\x20document.readyState\x20===\x20\x22complete\x22','stopAccessibilityTestRun','chromeOptions_','jAIWt','accessibility','isTrue','getResults','getAccessibilityResultsSummary:\x20Mobile\x20session\x20detected,\x20args:\x20','resolve','getGlobal','zsOEo','CRJMT','getMinVersionForBrowser','min_version_non_browserstack','requiresChromeOptionsValidation',']\x20but\x20thTestRunUuid\x20is\x20','min_version_browserstack','sNxSu','response','xNvAV','wnHNz','uRkhW','getPlatform','imRbr','body','statusText','chromeOptions','excludeTagsInTestingScope','string','script','VRKcF','browserstack_executor','pyOmN','getAccessibilityResultsSummary','No\x20accessibility\x20results\x20were\x20found.','XTprj','util','set','331348FhCTUb','deviceName','browserVersion','WWyPy','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).','588952bYEPbI','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','BROWSERSTACK_TEST_ACCESSIBILITY_YML','errors','BUFpr','currentTest','FpArt','json','svJjL','Authorization','ZioYM','checkAccessibilityPlatformConfig','mBEOk','data','isMobileAccessibilityPlatform','null','error','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','isBrowserSupportedForAccessibility','ITYHg','xaNFt','some','xnvdf','oRvPC','add','map','__workerDetails','HbkdE','browserstack','debug','mJxqK','getBrowserA11yConfig','buildName','goog:chromeOptions','includes','Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20','chrome','Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20','getPackageVersion','YCCYl','bstack:options','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','isAccessibilityPlatform','67366QrxUTH','warn','hasLegacyHeadlessArg','MOBILE_SCANNING_DISABLED_WARNING','WFvcu','mirrorChromeOptionsIntoBuilder','getPlatformVersion','jYdso','No\x20accessibility\x20summary\x20was\x20found.','Hldvb','gwOqm','2532NWAnSi','length','performScan:\x20Mobile\x20capabilities\x20added\x20to\x20scan\x20arguments','CAPABILITY_KEY','xhMRW','global.__workerDetails\x20exists\x20but\x20.currentTest\x20is\x20undefined\x20—\x20scan\x20fired\x20outside\x20a\x20test\x20body\x20(before/beforeAll\x20hook,\x20or\x20between\x20tests).','IjXhH','getUserName','[Accessibility]\x20Mobile\x20scan\x20requested\x20but\x20thTestRunUuid\x20not\x20resolvable:\x20','gJUec','method','stringify','scannerVersion','VhWbh','uKTsl','auth','object','../performance/constants','QnxEI','esliW','keys','version','status','PERFORM_SCAN','jZHmG','CJLro','javascript','Ppzkt','format','ChromeExtension','ksqjE','Build\x20creation\x20had\x20failed.','EBmlI','YgIUJ','device','bstackA11yScanOptions','lfBDY','8690qmYIYv','getResultsSummary','application/json','RRdVr','eXclN','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','gUzas','OTbCI','YYmsH','getAccessKey','stack','nSKji','buildDescription','true','Invalid\x20request:\x20','lsWNF','nonBstackPlatformValidation','parseA11yJwtPayload','Error\x20while\x20adding\x20Non-Bstack\x20capabilities:\x20','aoIgd','selenium-webdriver/chrome.js','BS_A11Y_JWT','startsWith','15HBNXwY','AOFGb','platformName','args','MQfhY','Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20','platforms','Error\x20checking\x20if\x20mobile\x20accessibility\x20platform:\x20','getCapabilities','--headless=','OMpxP','ylTQP','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','Mobile\x20Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser.','KAKnF','IaRsj','bstackA11yShouldScan','has','mjDcz','EqMUr','BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP','Aqyct','includeTagsInTestingScope','euTvO','is_mobile_session','Options','drVtU','ftSJv','info','display_name','getAccessibilityResults:\x20Mobile\x20session\x20detected,\x20args:\x20','__cloud_provider___','capabilities_','gAWlg','jkUUS','measureWrapper','getMobileA11yCapabilities','WWuSK','BROWSERSTACK_TURBOSCALE','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','nodeRequest','from','LKSJC','WTyEK','getCiInfo','selenium-webdriver','forEach','fetchPlatformDetails','OFfxK','headers','kkXDO','../logger','uTaQi','env','ysMBH','NqAwT','nestedKeyValue','DbPnL','requireModule','KZmEk','trPuB','LnxDO','JaIDU','TQZbh','831936UdHEHE','browserName','.\x20The\x20framework\x20setup\x20hook\x20is\x20not\x20writing\x20thTestRunUuid\x20onto\x20currentTest.','POST','KXORk','filter','qbVKy','isBrowserstackInfra','test_runs/stop','message','dlDbb','NwPpJ','--headless','zhXKL','kzWyH','yzfPV','RrPEU','OTFha','isArray','1045017yZyKnT','parseFromJson','get'];a125_0x5ccf=function(){return _0xe243d6;};return a125_0x5ccf();}const path=require(a125_0x54c3ae(0x28a)),util=require(a125_0x54c3ae(0x1b5)),bsSetupHelper=require('../helper'),logger=require(a125_0x54c3ae(0x261))[a125_0x54c3ae(0x2a4)],{API_URL,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY,ACCESSIBILITY_SUPPORTED_BROWSERS}=require(a125_0x54c3ae(0x287)),PerformanceTester=require(a125_0x54c3ae(0x28c)),scripts=require(a125_0x54c3ae(0x298)),globals=require(a125_0x54c3ae(0x2b1)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a125_0x54c3ae(0x203));exports[a125_0x54c3ae(0x25d)]=async _0x4b58a2=>{const _0x5e1de8=a125_0x54c3ae,_0x26d58b={};_0x26d58b[_0x5e1de8(0x1b1)]=function(_0x5214cd,_0x30ea3e){return _0x5214cd===_0x30ea3e;},_0x26d58b['hqFpY']=_0x5e1de8(0x1d8);const _0x29cb4e=_0x26d58b;let _0x279b2b={};try{const _0x2abb42=await _0x4b58a2[_0x5e1de8(0x236)]();_0x279b2b={'os_name':_0x2abb42[_0x5e1de8(0x1a7)](),'os_version':bsSetupHelper[_0x5e1de8(0x1ed)](_0x29cb4e[_0x5e1de8(0x1b1)](global[_0x5e1de8(0x24d)],_0x29cb4e['hqFpY'])),'browser_name':_0x2abb42[_0x5e1de8(0x2a9)](),'browser_version':_0x2abb42[_0x5e1de8(0x2c7)]()};}catch(_0x47f137){logger[_0x5e1de8(0x1d9)](_0x5e1de8(0x255)+_0x47f137);}return _0x279b2b;},exports[a125_0x54c3ae(0x295)]=()=>{const _0x57e628=a125_0x54c3ae,_0x129090={};_0x129090[_0x57e628(0x1f0)]=function(_0x349903,_0x44194f){return _0x349903===_0x44194f;},_0x129090['gAWlg']=_0x57e628(0x1ad),_0x129090[_0x57e628(0x210)]=function(_0x208eb1,_0x39264a){return _0x208eb1>_0x39264a;},_0x129090[_0x57e628(0x2a5)]=function(_0x798167,_0x14a5e4){return _0x798167!==_0x14a5e4;},_0x129090['HbkdE']=_0x57e628(0x1cb),_0x129090[_0x57e628(0x250)]=function(_0x2b6993,_0x567a99){return _0x2b6993&&_0x567a99;};const _0x4a6e8c=_0x129090;try{const _0x2f8a11=bsSetupHelper['isTrue'](process[_0x57e628(0x263)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'])||bsSetupHelper[_0x57e628(0x196)](process[_0x57e628(0x263)][_0x57e628(0x1e5)]),_0x501853=_0x4a6e8c[_0x57e628(0x1f0)](typeof process['env'][_0x57e628(0x22c)],_0x4a6e8c[_0x57e628(0x24f)])&&_0x4a6e8c[_0x57e628(0x210)](process['env']['BS_A11Y_JWT'][_0x57e628(0x1f3)],0x0)&&_0x4a6e8c[_0x57e628(0x2a5)](process[_0x57e628(0x263)][_0x57e628(0x22c)],_0x4a6e8c[_0x57e628(0x1d7)]);return _0x4a6e8c[_0x57e628(0x250)](_0x2f8a11,_0x501853);}catch(_0x2e0a70){logger[_0x57e628(0x1d9)](_0x57e628(0x29f)+_0x2e0a70);}return![];};function a125_0x4cbc(_0x2ffe3c,_0x4a52ae){const _0x5ccf9e=a125_0x5ccf();return a125_0x4cbc=function(_0x4cbcf7,_0x3d0ecd){_0x4cbcf7=_0x4cbcf7-0x190;let _0x194a4d=_0x5ccf9e[_0x4cbcf7];return _0x194a4d;},a125_0x4cbc(_0x2ffe3c,_0x4a52ae);}const isLegacyHeadlessArg=_0x4c21c6=>typeof _0x4c21c6===a125_0x54c3ae(0x1ad)&&(_0x4c21c6===a125_0x54c3ae(0x27a)||_0x4c21c6[a125_0x54c3ae(0x22d)](a125_0x54c3ae(0x237))&&_0x4c21c6!=='--headless=new');exports[a125_0x54c3ae(0x1e9)]=_0x4268b1=>{const _0x315641=a125_0x54c3ae,_0x31cf7e={};_0x31cf7e['yzfPV']=_0x315641(0x22b),_0x31cf7e[_0x315641(0x21e)]=_0x315641(0x25b),_0x31cf7e[_0x315641(0x2bb)]=function(_0x19c8c9,_0x25dc8b){return _0x19c8c9===_0x25dc8b;},_0x31cf7e[_0x315641(0x294)]=_0x315641(0x28d),_0x31cf7e[_0x315641(0x240)]=_0x315641(0x1dd),_0x31cf7e[_0x315641(0x26c)]=_0x315641(0x1e4),_0x31cf7e[_0x315641(0x1d2)]=_0x315641(0x1ab),_0x31cf7e['YgIUJ']=_0x315641(0x231);const _0x1c067d=_0x31cf7e;try{let _0x1cb76c;try{_0x1cb76c=bsSetupHelper[_0x315641(0x268)](_0x1c067d[_0x315641(0x27d)],_0x1c067d[_0x315641(0x21e)]);}catch(_0x240387){return![];}const _0x388b8d=new _0x1cb76c[(_0x315641(0x247))](_0x4268b1[_0x315641(0x193)]),_0x169ef9=_0x388b8d[_0x315641(0x28f)]&&_0x388b8d[_0x315641(0x28f)][_0x315641(0x231)]||_0x1c067d['KZhfR'](typeof _0x388b8d[_0x315641(0x283)],_0x1c067d[_0x315641(0x294)])&&_0x388b8d[_0x315641(0x283)](_0x1c067d[_0x315641(0x240)])&&_0x388b8d['get'](_0x1c067d[_0x315641(0x240)])[_0x315641(0x231)]||bsSetupHelper['nestedKeyValue'](_0x4268b1[_0x315641(0x24e)],[_0x1c067d[_0x315641(0x26c)],_0x1c067d[_0x315641(0x1d2)],_0x1c067d['YgIUJ']])||bsSetupHelper[_0x315641(0x266)](_0x4268b1[_0x315641(0x24e)],[_0x1c067d[_0x315641(0x1d2)],_0x1c067d[_0x315641(0x213)]])||[];if((Array[_0x315641(0x280)](_0x169ef9)?_0x169ef9:[])['some'](isLegacyHeadlessArg))return!![];const _0x2ca0e2=_0x4268b1[_0x315641(0x24e)]||{},_0xe1a31e=bsSetupHelper[_0x315641(0x266)](_0x2ca0e2,[_0x1c067d['mjDcz']])||{},_0x3175f7=bsSetupHelper[_0x315641(0x266)](_0xe1a31e,[_0x1c067d['YgIUJ']])||[];return(Array[_0x315641(0x280)](_0x3175f7)?_0x3175f7:[])[_0x315641(0x1d1)](isLegacyHeadlessArg);}catch(_0x31a657){return logger['debug']('Exception\x20while\x20checking\x20for\x20legacy\x20headless\x20mode:\x20'+util[_0x315641(0x20e)](_0x31a657)),![];}},exports[a125_0x54c3ae(0x227)]=(_0x1bd424,_0x2c33f5)=>{const _0x5ec74b=a125_0x54c3ae,_0x262c19={'mBEOk':_0x5ec74b(0x26f),'YbHoz':function(_0x21928e,_0x4b0a20){return _0x21928e(_0x4b0a20);},'dlDbb':_0x5ec74b(0x1b9),'ZIGGW':function(_0x15ee6c,_0x1c685d){return _0x15ee6c(_0x1c685d);},'PLPkR':_0x5ec74b(0x207),'LnxDO':_0x5ec74b(0x1e4),'jYdso':_0x5ec74b(0x1b8),'iRhzf':_0x5ec74b(0x214),'Ppzkt':_0x5ec74b(0x21c),'xImaW':_0x5ec74b(0x2ba),'aijLL':function(_0x2f1efe,_0x4fbf78){return _0x2f1efe===_0x4fbf78;},'VUpoH':_0x5ec74b(0x1e0),'XTprj':function(_0x5782b7,_0x1fa7c1){return _0x5782b7>=_0x1fa7c1;}},_0x5b7640=_0x1bd424[_0x5ec74b(0x283)](_0x262c19[_0x5ec74b(0x1c8)]),_0x37b226=_0x262c19['YbHoz'](parseFloat,_0x1bd424[_0x5ec74b(0x283)](_0x262c19[_0x5ec74b(0x278)]))||_0x262c19[_0x5ec74b(0x2c5)](parseFloat,_0x1bd424[_0x5ec74b(0x283)](_0x262c19[_0x5ec74b(0x29b)])),_0x380256=_0x1bd424[_0x5ec74b(0x283)](_0x262c19[_0x5ec74b(0x26b)])||{},_0x554141=_0x262c19['ZIGGW'](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY),_0x1bb7c3=_0x380256[_0x262c19[_0x5ec74b(0x1ee)]]||_0x1bd424[_0x5ec74b(0x283)](_0x262c19[_0x5ec74b(0x2be)])||![];if(_0x1bb7c3)return logger[_0x5ec74b(0x1e8)](_0x262c19[_0x5ec74b(0x20d)]),![];if(exports[_0x5ec74b(0x1e9)](_0x2c33f5))return logger[_0x5ec74b(0x1e8)](_0x262c19['xImaW']),![];if(_0x262c19['aijLL'](_0x5b7640['toLowerCase'](),_0x262c19[_0x5ec74b(0x292)])&&_0x262c19[_0x5ec74b(0x1b4)](_0x37b226,_0x554141))return!![];return logger['warn'](_0x5ec74b(0x293)+MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY+'.'),![];};const mergeChromeOptionsPreservingArrays=(_0x16e246,_0x5c95bf)=>{const _0x48eda4=a125_0x54c3ae,_0x278c68={};_0x278c68[_0x48eda4(0x27e)]=function(_0x21bf72,_0x34dbc4){return _0x21bf72!==_0x34dbc4;},_0x278c68[_0x48eda4(0x21b)]=_0x48eda4(0x1ad),_0x278c68[_0x48eda4(0x1ff)]=function(_0x3991fb,_0x157fce){return _0x3991fb===_0x157fce;},_0x278c68[_0x48eda4(0x2c6)]=_0x48eda4(0x202),_0x278c68[_0x48eda4(0x21d)]=function(_0x3c1a8f,_0x26bacd){return _0x3c1a8f===_0x26bacd;};const _0x194255=_0x278c68,_0x3ac62f=_0x16e246&&_0x194255[_0x48eda4(0x1ff)](typeof _0x16e246,_0x194255[_0x48eda4(0x2c6)])?_0x16e246:{},_0x14e776=_0x5c95bf&&_0x194255['gUzas'](typeof _0x5c95bf,_0x194255['LdnsX'])?_0x5c95bf:{},_0x293cda=Object[_0x48eda4(0x2b2)]({},_0x3ac62f,_0x14e776);return Object[_0x48eda4(0x206)](_0x14e776)[_0x48eda4(0x25c)](_0x13dfea=>{const _0x28cfe9=_0x48eda4,_0x5a00bd={'HcldV':function(_0x1c55da,_0x42c2df){const _0x2a96e9=a125_0x4cbc;return _0x194255[_0x2a96e9(0x27e)](_0x1c55da,_0x42c2df);},'TQZbh':_0x194255[_0x28cfe9(0x21b)]};if(Array[_0x28cfe9(0x280)](_0x14e776[_0x13dfea])||Array[_0x28cfe9(0x280)](_0x3ac62f[_0x13dfea])){const _0x29c6ff=Array[_0x28cfe9(0x280)](_0x3ac62f[_0x13dfea])?_0x3ac62f[_0x13dfea]:[],_0x4316d8=Array['isArray'](_0x14e776[_0x13dfea])?_0x14e776[_0x13dfea]:[],_0x4ee12c=new Set();_0x293cda[_0x13dfea]=_0x29c6ff['concat'](_0x4316d8)[_0x28cfe9(0x273)](_0x2a6bb4=>{const _0x453983=_0x28cfe9;if(_0x5a00bd['HcldV'](typeof _0x2a6bb4,_0x5a00bd[_0x453983(0x26d)]))return!![];if(_0x4ee12c[_0x453983(0x23f)](_0x2a6bb4))return![];return _0x4ee12c[_0x453983(0x1d4)](_0x2a6bb4),!![];});}}),_0x293cda;};exports[a125_0x54c3ae(0x1ec)]=(_0xd743c2,_0x491e7f)=>{const _0x2daf35=a125_0x54c3ae,_0x357ab6={'jwbuX':function(_0x2533a7,_0x2a9270){return _0x2533a7!==_0x2a9270;},'IjXhH':_0x2daf35(0x28d),'DbPnL':function(_0x5a8868,_0x4c594f){return _0x5a8868!==_0x4c594f;},'mJxqK':_0x2daf35(0x1dd),'IWKnq':function(_0x49207f,_0x5ab673,_0xe71ce0){return _0x49207f(_0x5ab673,_0xe71ce0);},'xhMRW':function(_0x30acc7,_0x20c727){return _0x30acc7||_0x20c727;},'UTTGd':function(_0x54c6a6,_0x13f835){return _0x54c6a6+_0x13f835;},'kkXDO':_0x2daf35(0x2ae)};try{const _0x4d890a=_0xd743c2&&_0xd743c2[_0x2daf35(0x193)];if(!_0x4d890a||_0x357ab6['jwbuX'](typeof _0x4d890a['get'],_0x357ab6[_0x2daf35(0x1f8)])||_0x357ab6[_0x2daf35(0x267)](typeof _0x4d890a['set'],_0x357ab6['IjXhH']))return;const _0x30adaf=_0x4d890a[_0x2daf35(0x1f5)]||_0x357ab6[_0x2daf35(0x1da)],_0x5d3728=_0x4d890a[_0x2daf35(0x283)](_0x30adaf)||{},_0x26d426=_0x357ab6[_0x2daf35(0x2a7)](mergeChromeOptionsPreservingArrays,_0x5d3728,_0x357ab6[_0x2daf35(0x1f6)](_0x491e7f,{}));_0x4d890a['set'](_0x30adaf,_0x26d426);}catch(_0x2c0a63){logger[_0x2daf35(0x1d9)](_0x357ab6['UTTGd'](_0x357ab6[_0x2daf35(0x260)],util[_0x2daf35(0x20e)](_0x2c0a63)));}},exports[a125_0x54c3ae(0x29c)]=(_0x161ac3,_0x4128af=!![])=>{const _0x2e2f4b=a125_0x54c3ae,_0x3973dd={'lNZQv':function(_0x3e3c86,_0x2e4adc){return _0x3e3c86===_0x2e4adc;},'drVtU':_0x2e2f4b(0x1ab),'OFfxK':_0x2e2f4b(0x1dd),'ysMBH':function(_0x5c6bfc,_0x1dc93a,_0x4adcdc){return _0x5c6bfc(_0x1dc93a,_0x4adcdc);},'rBAPo':function(_0x1ea525,_0x10ad50){return _0x1ea525||_0x10ad50;},'OMpxP':'Not\x20a\x20Accessibility\x20Session'},_0x436f12=scripts[_0x2e2f4b(0x20f)];try{const _0x5363f4=bsSetupHelper['isTrue'](process[_0x2e2f4b(0x263)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'])||bsSetupHelper[_0x2e2f4b(0x196)](process[_0x2e2f4b(0x263)][_0x2e2f4b(0x1e5)]);if((!bsSetupHelper[_0x2e2f4b(0x275)]()||process[_0x2e2f4b(0x263)][_0x2e2f4b(0x254)])&&_0x5363f4){const _0x37ddcc=_0x161ac3['getCapabilities'](),_0x26b974=_0x3973dd[_0x2e2f4b(0x28b)](_0x4128af,![])?_0x3973dd[_0x2e2f4b(0x248)]:_0x3973dd[_0x2e2f4b(0x25e)],_0x503488=_0x37ddcc[_0x2e2f4b(0x283)](_0x26b974)||_0x37ddcc['get'](_0x3973dd[_0x2e2f4b(0x25e)])||{},_0xa5d0cb=_0x3973dd[_0x2e2f4b(0x264)](mergeChromeOptionsPreservingArrays,_0x503488,_0x3973dd[_0x2e2f4b(0x2b5)](_0x436f12,{}));_0x37ddcc[_0x2e2f4b(0x1b6)](_0x26b974,_0xa5d0cb),exports[_0x2e2f4b(0x1ec)](_0x161ac3,_0xa5d0cb);}else logger[_0x2e2f4b(0x1e8)](_0x3973dd[_0x2e2f4b(0x238)]);}catch(_0x52701e){logger[_0x2e2f4b(0x1cc)](_0x2e2f4b(0x229)+_0x52701e);}},exports[a125_0x54c3ae(0x29a)]=_0x34b671=>{const _0xc8804f=a125_0x54c3ae,_0x54bf21={};_0x54bf21[_0xc8804f(0x249)]=function(_0x1274d6,_0x1fbeaf){return _0x1274d6||_0x1fbeaf;},_0x54bf21[_0xc8804f(0x21f)]='goog:chromeOptions';const _0x23046f=_0x54bf21;_0x34b671=_0x23046f[_0xc8804f(0x249)](_0x34b671,{});const _0x2a2454=scripts[_0xc8804f(0x20f)];try{const _0x41348a=bsSetupHelper['isTrue'](process[_0xc8804f(0x263)][_0xc8804f(0x1be)])||bsSetupHelper[_0xc8804f(0x196)](process[_0xc8804f(0x263)][_0xc8804f(0x1e5)]);if((!bsSetupHelper[_0xc8804f(0x275)]()||process[_0xc8804f(0x263)][_0xc8804f(0x254)])&&_0x41348a){const _0x2e59f5=_0x34b671[_0x23046f[_0xc8804f(0x21f)]]||{};bsSetupHelper[_0xc8804f(0x2c4)](_0x2e59f5,_0x2a2454),_0x34b671[_0x23046f[_0xc8804f(0x21f)]]=_0x2e59f5;}}catch(_0x5c54ed){logger[_0xc8804f(0x1cc)]('Error\x20while\x20adding\x20Non-Bstack\x20capabilities\x20to\x20caps:\x20'+_0x5c54ed);}return _0x34b671;},exports['shouldScanTestForAccessibility']=(_0x11cf3a=null,_0x10803c=!![],_0x2f5022=[])=>{const _0x28b1e6=a125_0x54c3ae,_0x551ef2={};_0x551ef2[_0x28b1e6(0x1e3)]=function(_0x226dc1,_0x426d6f){return _0x226dc1==_0x426d6f;},_0x551ef2['jAIWt']=function(_0x247334,_0x31ef05){return _0x247334>_0x31ef05;},_0x551ef2[_0x28b1e6(0x1d3)]=function(_0x4578e9,_0x537c69){return _0x4578e9===_0x537c69;},_0x551ef2['Aqyct']=function(_0x1ff155,_0x12e53b){return _0x1ff155&&_0x12e53b;},_0x551ef2[_0x28b1e6(0x241)]=function(_0x85c00c,_0x14f86f){return _0x85c00c===_0x14f86f;};const _0x55e70b=_0x551ef2;if(_0x55e70b[_0x28b1e6(0x1e3)](process[_0x28b1e6(0x263)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'],null))return!![];try{const _0x1a7146=JSON[_0x28b1e6(0x2a0)](process[_0x28b1e6(0x263)][_0x28b1e6(0x1bd)]),_0x16db1c=Array[_0x28b1e6(0x280)](_0x1a7146[_0x28b1e6(0x244)])?_0x1a7146[_0x28b1e6(0x244)]:[],_0x366026=Array['isArray'](_0x1a7146[_0x28b1e6(0x1ac)])?_0x1a7146['excludeTagsInTestingScope']:[],_0xdab845=_0x4a917b=>typeof _0x4a917b===_0x28b1e6(0x1ad)?_0x4a917b['replace'](/^@/,'')['toLowerCase']()['trim']():_0x4a917b;if(bsSetupHelper[_0x28b1e6(0x2a2)](_0x11cf3a)){if(_0x55e70b[_0x28b1e6(0x194)](_0x2f5022['length'],0x0)){const _0x43ec34=_0x2f5022[_0x28b1e6(0x1d5)](_0xdab845),_0x331f59=_0x366026[_0x28b1e6(0x1d1)](_0x481dc6=>_0x43ec34[_0x28b1e6(0x1de)](_0xdab845(_0x481dc6))),_0x272127=_0x55e70b['oRvPC'](_0x16db1c[_0x28b1e6(0x1f3)],0x0)||_0x16db1c[_0x28b1e6(0x1d1)](_0x50f31b=>_0x43ec34[_0x28b1e6(0x1de)](_0xdab845(_0x50f31b)));return _0x55e70b[_0x28b1e6(0x243)](!_0x331f59,_0x272127);}return!![];}let _0x51a5f3;_0x10803c?_0x51a5f3=_0x11cf3a['join']('/'):_0x51a5f3=_0x11cf3a;const _0xc8bfb1=_0x366026[_0x28b1e6(0x1d1)](_0xa1b8da=>_0x51a5f3[_0x28b1e6(0x2c1)]()[_0x28b1e6(0x1de)](_0xdab845(_0xa1b8da)['toLowerCase']())),_0xeafa7d=_0x55e70b['EqMUr'](_0x16db1c[_0x28b1e6(0x1f3)],0x0)||_0x16db1c[_0x28b1e6(0x1d1)](_0x43bada=>_0x51a5f3[_0x28b1e6(0x2c1)]()[_0x28b1e6(0x1de)](_0xdab845(_0x43bada)['toLowerCase']()));return _0x55e70b[_0x28b1e6(0x243)](!_0xc8bfb1,_0xeafa7d);}catch(_0x470e4c){logger[_0x28b1e6(0x1d9)](_0x28b1e6(0x233)+util[_0x28b1e6(0x20e)](_0x470e4c));}return![];},exports[a125_0x54c3ae(0x1c7)]=_0x1bb396=>{const _0xbb8ac0=a125_0x54c3ae;let _0x320a9d=![];try{_0x1bb396[_0xbb8ac0(0x234)][_0xbb8ac0(0x25c)](_0x31823b=>{const _0x4c83f7=_0xbb8ac0;if(bsSetupHelper['isTrue'](_0x31823b[_0x4c83f7(0x195)]))return _0x320a9d=!![],!![];});}catch(_0x44c5db){logger[_0xbb8ac0(0x1d9)](_0xbb8ac0(0x1e1)+_0x44c5db);}return _0x320a9d||bsSetupHelper[_0xbb8ac0(0x196)](_0x1bb396['accessibility']);},exports[a125_0x54c3ae(0x296)]=PerformanceTester[a125_0x54c3ae(0x251)]('a11y:start',async function(_0xf1f5cb,_0x5cabbe){const _0x3d7fa2=a125_0x54c3ae,_0x110d10={};_0x110d10[_0x3d7fa2(0x200)]='Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token',_0x110d10[_0x3d7fa2(0x26a)]=_0x3d7fa2(0x2bf),_0x110d10['QnxEI']=_0x3d7fa2(0x20c),_0x110d10[_0x3d7fa2(0x286)]='application/json',_0x110d10['PQDMc']=_0x3d7fa2(0x271),_0x110d10[_0x3d7fa2(0x23d)]=_0x3d7fa2(0x2b0),_0x110d10[_0x3d7fa2(0x205)]=function(_0x43e70f,_0x32831f){return _0x43e70f===_0x32831f;},_0x110d10[_0x3d7fa2(0x222)]=_0x3d7fa2(0x29e),_0x110d10[_0x3d7fa2(0x1c6)]='false';const _0x18c02e=_0x110d10,_0x5535d0=bsSetupHelper[_0x3d7fa2(0x1f9)](_0xf1f5cb),_0x3ec668=bsSetupHelper[_0x3d7fa2(0x220)](_0xf1f5cb);if(bsSetupHelper[_0x3d7fa2(0x2a2)](_0x5535d0)||bsSetupHelper[_0x3d7fa2(0x2a2)](_0x3ec668))return logger[_0x3d7fa2(0x1cc)](_0x18c02e['uKTsl']),[null,null];try{let _0xac417f;bsSetupHelper['isUndefined'](process[_0x3d7fa2(0x263)][_0x3d7fa2(0x1bd)])?_0xac417f={}:_0xac417f=JSON['parse'](process[_0x3d7fa2(0x263)][_0x3d7fa2(0x1bd)]);const {name:_0x142329,version:_0x396ca3}=bsSetupHelper['getTestFrameworkDetails'](_0xf1f5cb,_0x5cabbe),_0x1d213f={'projectName':_0xf1f5cb['projectName'],'buildName':_0xf1f5cb[_0x3d7fa2(0x1dc)]||path[_0x3d7fa2(0x291)](path[_0x3d7fa2(0x199)](process['cwd']())),'startTime':new Date()['toISOString'](),'description':_0xf1f5cb[_0x3d7fa2(0x223)]||'','source':{'frameworkName':_0x5cabbe[_0x3d7fa2(0x1de)](_0x18c02e[_0x3d7fa2(0x26a)])?_0x18c02e[_0x3d7fa2(0x26a)]:_0x5cabbe,'frameworkVersion':bsSetupHelper[_0x3d7fa2(0x1e2)](_0x5cabbe),'sdkVersion':bsSetupHelper['getAgentVersion'](),'language':_0x18c02e[_0x3d7fa2(0x204)],'testFramework':_0x142329,'testFrameworkVersion':_0x396ca3},'settings':_0xac417f,'versionControl':await bsSetupHelper['getGitMetaData'](),'ciInfo':bsSetupHelper[_0x3d7fa2(0x25a)](),'hostInfo':bsSetupHelper['getHostInfo'](),'browserstackAutomation':bsSetupHelper[_0x3d7fa2(0x275)]()},_0x45967a={};_0x45967a[_0x3d7fa2(0x2c2)]=_0x5535d0,_0x45967a['pass']=_0x3ec668;const _0x32a9eb={};_0x32a9eb['Content-Type']=_0x18c02e['GQzYw'];const _0x3e7c67={};_0x3e7c67[_0x3d7fa2(0x201)]=_0x45967a,_0x3e7c67[_0x3d7fa2(0x25f)]=_0x32a9eb;const _0x2fffbf=_0x3e7c67,_0x3b5bc1={};_0x3b5bc1['body']=_0x1d213f,_0x3b5bc1[_0x3d7fa2(0x1c3)]=!![];const _0xb9a924=Object[_0x3d7fa2(0x2b2)](_0x2fffbf,_0x3b5bc1),_0x40f362=await bsSetupHelper[_0x3d7fa2(0x256)](_0x18c02e[_0x3d7fa2(0x190)],_0x18c02e[_0x3d7fa2(0x23d)],_0xb9a924,_0xf1f5cb,API_URL);let _0x4e654d=process[_0x3d7fa2(0x263)][_0x3d7fa2(0x1bd)];return _0x4e654d?_0x4e654d=JSON[_0x3d7fa2(0x2a0)](process[_0x3d7fa2(0x263)][_0x3d7fa2(0x1bd)]):_0x4e654d={},scripts[_0x3d7fa2(0x282)](_0x40f362[_0x3d7fa2(0x1c9)][_0x3d7fa2(0x1c9)]),scripts[_0x3d7fa2(0x299)](),_0x4e654d[_0x3d7fa2(0x1fe)]=_0x40f362[_0x3d7fa2(0x1c9)][_0x3d7fa2(0x1c9)][_0x3d7fa2(0x1fe)],process['env'][_0x3d7fa2(0x1bd)]=JSON[_0x3d7fa2(0x1fd)](_0x4e654d),[_0x40f362['data'][_0x3d7fa2(0x1c9)]['accessibilityToken'],_0x40f362[_0x3d7fa2(0x1c9)][_0x3d7fa2(0x1c9)]['id']];}catch(_0x141c7d){if(_0x141c7d[_0x3d7fa2(0x1a3)])logger[_0x3d7fa2(0x1cc)](_0x3d7fa2(0x23a)+_0x141c7d[_0x3d7fa2(0x1a3)][_0x3d7fa2(0x208)]+'\x20'+_0x141c7d['response'][_0x3d7fa2(0x1aa)]+'\x20'+JSON[_0x3d7fa2(0x1fd)](_0x141c7d[_0x3d7fa2(0x1a3)]['data']));else{if(_0x18c02e[_0x3d7fa2(0x205)](_0x141c7d[_0x3d7fa2(0x277)],_0x18c02e[_0x3d7fa2(0x222)])){logger[_0x3d7fa2(0x1cc)](_0x3d7fa2(0x23a)+(_0x141c7d['message']||_0x141c7d['stack']));for(const _0x34806b of _0x141c7d[_0x3d7fa2(0x1bf)]){logger[_0x3d7fa2(0x1cc)](_0x34806b[_0x3d7fa2(0x277)]);}process[_0x3d7fa2(0x263)][_0x3d7fa2(0x1be)]=_0x18c02e['ZioYM'],process['env'][_0x3d7fa2(0x1e5)]=_0x18c02e[_0x3d7fa2(0x1c6)];}else logger[_0x3d7fa2(0x1cc)](_0x3d7fa2(0x23a)+(_0x141c7d[_0x3d7fa2(0x277)]||_0x141c7d[_0x3d7fa2(0x221)]));}return[null,null];}}),exports[a125_0x54c3ae(0x192)]=PerformanceTester['measureWrapper'](a125_0x54c3ae(0x285),async function(_0x3fffaf){const _0x27d8e3=a125_0x54c3ae,_0x2eb836={};_0x2eb836[_0x27d8e3(0x27c)]=function(_0x5c14e5,_0x1e4e76){return _0x5c14e5!==_0x1e4e76;},_0x2eb836[_0x27d8e3(0x1c0)]='string',_0x2eb836[_0x27d8e3(0x19c)]=_0x27d8e3(0x1cc),_0x2eb836[_0x27d8e3(0x1a8)]=_0x27d8e3(0x211),_0x2eb836[_0x27d8e3(0x259)]=_0x27d8e3(0x219),_0x2eb836[_0x27d8e3(0x22f)]='PUT',_0x2eb836[_0x27d8e3(0x1a6)]=_0x27d8e3(0x276),_0x2eb836[_0x27d8e3(0x1a5)]=function(_0x2b3a0e,_0xfb2e9d){return _0x2b3a0e+_0xfb2e9d;},_0x2eb836[_0x27d8e3(0x2ab)]=_0x27d8e3(0x225),_0x2eb836[_0x27d8e3(0x216)]='success';const _0x461734=_0x2eb836;if(bsSetupHelper[_0x27d8e3(0x2a2)](process[_0x27d8e3(0x263)][_0x27d8e3(0x22c)])||_0x461734[_0x27d8e3(0x27c)](typeof process[_0x27d8e3(0x263)][_0x27d8e3(0x22c)],_0x461734[_0x27d8e3(0x1c0)])){const _0xb4eb20={};return _0xb4eb20['status']=_0x461734[_0x27d8e3(0x19c)],_0xb4eb20[_0x27d8e3(0x277)]=_0x461734['imRbr'],_0xb4eb20;}const _0x31f04f={'endTime':new Date()[_0x27d8e3(0x2ac)]()},_0x4b6893={};_0x4b6893[_0x27d8e3(0x1c5)]=_0x27d8e3(0x2aa)+process[_0x27d8e3(0x263)][_0x27d8e3(0x22c)],_0x4b6893[_0x27d8e3(0x2b3)]=_0x461734[_0x27d8e3(0x259)];const _0x58e051={};_0x58e051[_0x27d8e3(0x25f)]=_0x4b6893;const _0x53cecf=_0x58e051,_0x4d94e={};_0x4d94e[_0x27d8e3(0x1a9)]=_0x31f04f,_0x4d94e[_0x27d8e3(0x201)]=null,_0x4d94e[_0x27d8e3(0x1c3)]=!![];const _0x45d33d=Object['assign'](_0x53cecf,_0x4d94e);try{const _0xb9cfb5=await bsSetupHelper['nodeRequest'](_0x461734['AOFGb'],_0x461734[_0x27d8e3(0x1a6)],_0x45d33d,_0x3fffaf,API_URL);if(_0xb9cfb5[_0x27d8e3(0x1c9)][_0x27d8e3(0x1cc)])throw new Error(_0x461734[_0x27d8e3(0x1a5)](_0x461734['eHoyy'],_0xb9cfb5[_0x27d8e3(0x1c9)][_0x27d8e3(0x1cc)]));else{logger[_0x27d8e3(0x24a)](_0x27d8e3(0x2b7)+new Date()[_0x27d8e3(0x2ac)]());const _0xf0c37e={};return _0xf0c37e[_0x27d8e3(0x208)]=_0x461734[_0x27d8e3(0x216)],_0xf0c37e[_0x27d8e3(0x277)]='',_0xf0c37e;}}catch(_0x5cccc6){_0x5cccc6[_0x27d8e3(0x1a3)]?logger[_0x27d8e3(0x1cc)](_0x27d8e3(0x1df)+_0x5cccc6[_0x27d8e3(0x1a3)][_0x27d8e3(0x208)]+'\x20'+_0x5cccc6[_0x27d8e3(0x1a3)][_0x27d8e3(0x1aa)]+'\x20'+JSON['stringify'](_0x5cccc6['response'][_0x27d8e3(0x1c9)])):logger[_0x27d8e3(0x1cc)](_0x27d8e3(0x1df)+(_0x5cccc6[_0x27d8e3(0x277)]||util[_0x27d8e3(0x20e)](_0x5cccc6)));const _0x50deb0={};return _0x50deb0[_0x27d8e3(0x208)]=_0x461734[_0x27d8e3(0x19c)],_0x50deb0[_0x27d8e3(0x277)]=_0x5cccc6['message']||(_0x5cccc6[_0x27d8e3(0x1a3)]?_0x5cccc6[_0x27d8e3(0x1a3)][_0x27d8e3(0x208)]+':'+_0x5cccc6['response'][_0x27d8e3(0x1aa)]:_0x5cccc6),_0x50deb0;}}),exports[a125_0x54c3ae(0x2ad)]=async(_0x911af8,_0x39b8ad=null,_0x4dc147=![],_0x3a590d=null)=>{const _0x4be856=a125_0x54c3ae,_0x4e7cd4={};_0x4e7cd4['KZmEk']=_0x4be856(0x1e6),_0x4e7cd4['TOvOl']=_0x4be856(0x23e),_0x4e7cd4[_0x4be856(0x27f)]=_0x4be856(0x2b8),_0x4e7cd4[_0x4be856(0x27b)]=function(_0x6e173f,_0x2b7ec8){return _0x6e173f||_0x2b7ec8;},_0x4e7cd4[_0x4be856(0x262)]=_0x4be856(0x215),_0x4e7cd4['jZHmG']=_0x4be856(0x1f4);const _0xe8161a=_0x4e7cd4;if(!this[_0x4be856(0x295)]()||!globals[_0x4be856(0x19a)](_0xe8161a[_0x4be856(0x269)])||!_0x4dc147&&!globals[_0x4be856(0x19a)](_0xe8161a['TOvOl'])){logger['warn'](_0xe8161a[_0x4be856(0x27f)]);return;}const _0x4492af=_0x4dc147?_0xe8161a[_0x4be856(0x27b)](_0x3a590d,{}):globals[_0x4be856(0x19a)](_0xe8161a[_0x4be856(0x262)])||{},_0x10a9df={};_0x10a9df[_0x4be856(0x1fc)]=_0x39b8ad||global[_0x4be856(0x2bd)];const _0x13944d=Object[_0x4be856(0x2b2)]({},_0x4492af,_0x10a9df);await this[_0x4be856(0x288)](_0x911af8)&&(Object[_0x4be856(0x2b2)](_0x13944d,this['getMobileA11yCapabilities'](),{'thTestRunUuid':this[_0x4be856(0x2bc)]()}),logger[_0x4be856(0x1d9)](_0xe8161a[_0x4be856(0x20a)]));logger[_0x4be856(0x1d9)]('[Accessibility]\x20Selenium\x20performScan\x20payload:\x20'+util[_0x4be856(0x20e)]('%j',_0x13944d));const _0x4597c1={};return _0x4597c1['command']=_0x39b8ad,await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x4be856(0x209)],async()=>{const _0x151d8e=_0x4be856;try{await _0x911af8['wait'](()=>_0x911af8['executeScript'](_0x151d8e(0x191)),0x1388);}catch(_0x569edb){}const _0x5a7c4e=util[_0x151d8e(0x20e)](await _0x911af8['executeAsyncScript'](scripts[_0x151d8e(0x2ad)],_0x13944d));return logger[_0x151d8e(0x1d9)]('Performed\x20scan\x20with\x20result:\x20'+_0x5a7c4e),_0x5a7c4e;},_0x4597c1)();},exports[a125_0x54c3ae(0x290)]=async(_0x27deb8,_0xf63127)=>{const _0x22f4aa=a125_0x54c3ae,_0x38374d={};_0x38374d[_0x22f4aa(0x284)]='Performing\x20scan\x20before\x20getting\x20results',_0x38374d[_0x22f4aa(0x289)]=_0x22f4aa(0x1e6),_0x38374d[_0x22f4aa(0x1a4)]=_0x22f4aa(0x23e),_0x38374d[_0x22f4aa(0x2a1)]=_0x22f4aa(0x2b6),_0x38374d['xaNFt']=_0x22f4aa(0x290),_0x38374d[_0x22f4aa(0x2a3)]=_0x22f4aa(0x1b3);const _0x34237c=_0x38374d;if(!this[_0x22f4aa(0x295)]()||!globals['getGlobal'](_0x34237c['GMWqc'])||!globals['getGlobal'](_0x34237c[_0x22f4aa(0x1a4)]))return logger[_0x22f4aa(0x1e8)](_0x34237c[_0x22f4aa(0x2a1)]),[];try{const _0x278fac=await this['isMobileAccessibilitySession'](_0x27deb8),_0x2030de=_0x278fac?Object[_0x22f4aa(0x2b2)]({},this[_0x22f4aa(0x252)](),{'thTestRunUuid':this[_0x22f4aa(0x2bc)]()}):{};return _0x278fac&&logger[_0x22f4aa(0x1d9)](_0x22f4aa(0x24c)+util[_0x22f4aa(0x20e)]('%j',_0x2030de)),await PerformanceTester[_0x22f4aa(0x251)](PerformanceA11yEvents[_0x22f4aa(0x209)],async()=>{const _0x46d721=_0x22f4aa;logger[_0x46d721(0x1d9)](_0x34237c['sOOKU']);const _0x5673ad={};_0x5673ad[_0x46d721(0x1fc)]=_0xf63127[_0x46d721(0x2bd)];const _0x5d261a=Object[_0x46d721(0x2b2)](_0x5673ad,_0x2030de);logger['debug'](util[_0x46d721(0x20e)](await _0x27deb8['executeAsyncScript'](scripts['performScan'],_0x5d261a)));},{'command':_0x34237c[_0x22f4aa(0x1d0)]})(),await PerformanceTester[_0x22f4aa(0x251)](PerformanceA11yEvents['GET_RESULTS'],async()=>{const _0x114ed1=_0x22f4aa,_0x3bb24f=_0x278fac?await _0x27deb8[_0x114ed1(0x2c8)](scripts[_0x114ed1(0x197)],_0x2030de):await _0x27deb8[_0x114ed1(0x2c8)](scripts[_0x114ed1(0x197)]);return _0x3bb24f;})();}catch{return logger[_0x22f4aa(0x1cc)](_0x34237c['scyYL']),[];}},exports[a125_0x54c3ae(0x1b2)]=async(_0x5844b0,_0x435e6e)=>{const _0x735028=a125_0x54c3ae,_0x36139b={};_0x36139b['hcZpd']='Performing\x20scan\x20before\x20getting\x20results\x20summary',_0x36139b['WWuSK']=_0x735028(0x1e6),_0x36139b['gJUec']=_0x735028(0x23e),_0x36139b[_0x735028(0x279)]=_0x735028(0x1cd),_0x36139b[_0x735028(0x265)]=_0x735028(0x1b2),_0x36139b['lsWNF']=_0x735028(0x1ef);const _0x317caa=_0x36139b;if(!this[_0x735028(0x295)]()||!globals[_0x735028(0x19a)](_0x317caa[_0x735028(0x253)])||!globals[_0x735028(0x19a)](_0x317caa[_0x735028(0x1fb)]))return logger[_0x735028(0x1e8)](_0x317caa[_0x735028(0x279)]),{};try{const _0x29518a=await this[_0x735028(0x288)](_0x5844b0),_0xa8c8d8=_0x29518a?Object[_0x735028(0x2b2)]({},this[_0x735028(0x252)](),{'thTestRunUuid':this[_0x735028(0x2bc)]()}):{};return _0x29518a&&logger[_0x735028(0x1d9)](_0x735028(0x198)+util[_0x735028(0x20e)]('%j',_0xa8c8d8)),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x735028(0x209)],async()=>{const _0x47c659=_0x735028;logger[_0x47c659(0x1d9)](_0x317caa['hcZpd']);const _0x398833={};_0x398833['method']=_0x435e6e[_0x47c659(0x2bd)];const _0x200ec9=Object[_0x47c659(0x2b2)](_0x398833,_0xa8c8d8);logger[_0x47c659(0x1d9)](util[_0x47c659(0x20e)](await _0x5844b0['executeAsyncScript'](scripts['performScan'],_0x200ec9)));},{'command':_0x317caa[_0x735028(0x265)]})(),await PerformanceTester[_0x735028(0x251)](PerformanceA11yEvents['GET_RESULTS_SUMMARY'],async()=>{const _0x4b9552=_0x735028,_0x1c84ad=_0x29518a?await _0x5844b0['executeAsyncScript'](scripts['getResultsSummary'],_0xa8c8d8):await _0x5844b0[_0x4b9552(0x2c8)](scripts[_0x4b9552(0x218)]);return _0x1c84ad;})();}catch{return logger[_0x735028(0x1cc)](_0x317caa[_0x735028(0x226)]),{};}},exports['isMobileAccessibilityPlatform']=(_0x53e05c,_0x489bb8=![])=>{const _0x474a91=a125_0x54c3ae,_0x40ad6f={'fwnpr':function(_0x5ad3c4,_0xb2be86){return _0x5ad3c4(_0xb2be86);},'svJjL':function(_0x5a08ed,_0xf74efe){return _0x5a08ed(_0xf74efe);},'KAKnF':_0x474a91(0x230),'FpArt':_0x474a91(0x29d),'wcAJy':function(_0x5a5c4a,_0x55eb63){return _0x5a5c4a!==_0x55eb63;},'jFiyJ':'android','glGRu':_0x474a91(0x26f),'tmgmy':_0x474a91(0x1e0),'ylTQP':_0x474a91(0x23b),'IwvGV':'Session\x20is\x20identified\x20as\x20mobile\x20accessibility\x20platform\x20(Android\x20+\x20Chrome)'};try{if(!_0x53e05c)return![];const _0x216974=_0x1ec417=>typeof _0x53e05c[_0x474a91(0x283)]===_0x474a91(0x28d)?_0x53e05c['get'](_0x1ec417):_0x53e05c[_0x1ec417],_0xe0107b=_0x40ad6f['fwnpr'](String,_0x40ad6f['svJjL'](_0x216974,_0x40ad6f[_0x474a91(0x23c)])||_0x40ad6f['svJjL'](_0x216974,_0x40ad6f[_0x474a91(0x1c2)])||'')[_0x474a91(0x2c1)]();if(_0x40ad6f['wcAJy'](_0xe0107b,_0x40ad6f['jFiyJ']))return![];const _0x41c2ea=_0x40ad6f['fwnpr'](String,_0x40ad6f[_0x474a91(0x1c4)](_0x216974,_0x40ad6f[_0x474a91(0x2b4)])||'')[_0x474a91(0x2c1)]();if(!_0x41c2ea[_0x474a91(0x1de)](_0x40ad6f[_0x474a91(0x2a6)]))return _0x489bb8&&logger[_0x474a91(0x1e8)](_0x40ad6f[_0x474a91(0x239)]),![];return logger[_0x474a91(0x1d9)](_0x40ad6f[_0x474a91(0x28e)]),!![];}catch(_0x50a860){return logger[_0x474a91(0x1d9)](_0x474a91(0x235)+_0x50a860),![];}},exports[a125_0x54c3ae(0x288)]=async _0x2dec84=>{const _0x5488d8=a125_0x54c3ae;try{const _0x38efb1=await _0x2dec84[_0x5488d8(0x236)]();return exports[_0x5488d8(0x1ca)](_0x38efb1);}catch(_0x4b42c9){return logger['debug']('Error\x20checking\x20mobile\x20accessibility\x20session:\x20'+_0x4b42c9),![];}},exports[a125_0x54c3ae(0x252)]=()=>{const _0x8bccd0=a125_0x54c3ae,_0x24dfa7={};return _0x24dfa7[_0x8bccd0(0x246)]=!![],_0x24dfa7;},exports['resolveMobileThTestRunUuid']=()=>{const _0x5302ad=a125_0x54c3ae,_0x6a4040={};_0x6a4040[_0x5302ad(0x274)]=function(_0x57a581,_0x3805ea){return _0x57a581===_0x3805ea;},_0x6a4040[_0x5302ad(0x21a)]=_0x5302ad(0x1ad),_0x6a4040[_0x5302ad(0x232)]=function(_0xb98b62,_0x3c3678){return _0xb98b62>_0x3c3678;},_0x6a4040['aoIgd']=_0x5302ad(0x1bb),_0x6a4040[_0x5302ad(0x1cf)]=_0x5302ad(0x1f7),_0x6a4040['CJLro']='undefined';const _0x37d340=_0x6a4040,_0x1bfc5b=global[_0x5302ad(0x1d6)],_0x4335b3=_0x1bfc5b&&_0x1bfc5b[_0x5302ad(0x1c1)],_0x5d0211=_0x4335b3&&_0x4335b3['thTestRunUuid'];if(_0x37d340[_0x5302ad(0x274)](typeof _0x5d0211,_0x37d340[_0x5302ad(0x21a)])&&_0x37d340[_0x5302ad(0x232)](_0x5d0211['length'],0x0))return _0x5d0211;let _0x2f52d3;if(!_0x1bfc5b)_0x2f52d3=_0x37d340[_0x5302ad(0x22a)];else!_0x4335b3?_0x2f52d3=_0x37d340[_0x5302ad(0x1cf)]:_0x2f52d3=_0x5302ad(0x2a8)+Object['keys'](_0x4335b3)[_0x5302ad(0x297)](',\x20')+_0x5302ad(0x1a0)+(_0x37d340[_0x5302ad(0x274)](_0x5d0211,undefined)?_0x37d340[_0x5302ad(0x20b)]:'\x22'+_0x5d0211+'\x22')+_0x5302ad(0x270);return logger['warn'](_0x5302ad(0x1fa)+_0x2f52d3+'\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[a125_0x54c3ae(0x2c0)]=_0x3ae0a8=>{const _0x3b9249=a125_0x54c3ae,_0x5f2477={};_0x5f2477[_0x3b9249(0x258)]=function(_0x547999,_0x438163){return _0x547999===_0x438163;},_0x5f2477[_0x3b9249(0x212)]=_0x3b9249(0x1ad),_0x5f2477[_0x3b9249(0x1ba)]=_0x3b9249(0x1b0);const _0x5b0b28=_0x5f2477;if(_0x3ae0a8&&_0x3ae0a8['script']&&_0x5b0b28['LKSJC'](typeof _0x3ae0a8[_0x3b9249(0x1ae)],_0x5b0b28[_0x3b9249(0x212)]))return _0x3ae0a8[_0x3b9249(0x1ae)][_0x3b9249(0x1de)](_0x5b0b28['WWyPy']);return![];},exports[a125_0x54c3ae(0x1ea)]='Mobile\x20Accessibility\x20Automation\x20is\x20not\x20enabled\x20for\x20your\x20account.\x20Accessibility\x20scans\x20will\x20be\x20skipped\x20on\x20mobile\x20sessions.\x20Contact\x20BrowserStack\x20to\x20enable\x20mobile\x20accessibility\x20scanning.',exports['isMobileScanningEnabledForGroup']=()=>process[a125_0x54c3ae(0x263)][a125_0x54c3ae(0x242)]===a125_0x54c3ae(0x224),exports[a125_0x54c3ae(0x1ce)]=_0x373543=>{const _0x2ec720=a125_0x54c3ae,_0x28a55c={};_0x28a55c[_0x2ec720(0x1eb)]=function(_0x3039e2,_0x2efd30){return _0x3039e2 in _0x2efd30;};const _0x3bab96=_0x28a55c;if(bsSetupHelper[_0x2ec720(0x2a2)](_0x373543))return![];const _0x3a868b=_0x373543[_0x2ec720(0x2c1)]();return _0x3bab96[_0x2ec720(0x1eb)](_0x3a868b,ACCESSIBILITY_SUPPORTED_BROWSERS);},exports[a125_0x54c3ae(0x1db)]=_0x37c6bc=>{const _0x5290bc=a125_0x54c3ae;if(bsSetupHelper['isUndefined'](_0x37c6bc))return null;const _0x2ef74a=_0x37c6bc[_0x5290bc(0x2c1)]();return ACCESSIBILITY_SUPPORTED_BROWSERS[_0x2ef74a]||null;},exports[a125_0x54c3ae(0x19d)]=(_0x3f0c1f,_0x58d3a7)=>{const _0x5bcc71=a125_0x54c3ae,_0x34253d=this[_0x5bcc71(0x1db)](_0x3f0c1f);if(!_0x34253d)return null;if(_0x58d3a7)return _0x34253d[_0x5bcc71(0x1a1)];return _0x34253d[_0x5bcc71(0x19e)];},exports['getBrowserDisplayName']=_0xf17186=>{const _0x286b11=a125_0x54c3ae,_0x5b52b2=this[_0x286b11(0x1db)](_0xf17186);return _0x5b52b2?_0x5b52b2[_0x286b11(0x24b)]:_0xf17186;},exports[a125_0x54c3ae(0x19f)]=_0x5085c3=>{const _0x296a85=a125_0x54c3ae,_0x10c8e5=this[_0x296a85(0x1db)](_0x5085c3);return _0x10c8e5?_0x10c8e5['requires_chrome_options_check']:![];},exports['isVersionSupported']=(_0x369d88,_0x576b64)=>{const _0x22f38b=a125_0x54c3ae,_0xc271e={'VRKcF':function(_0x270609,_0x5e8767){return _0x270609(_0x5e8767);},'KXORk':function(_0x3bcf1a,_0x3b80cb){return _0x3bcf1a(_0x3b80cb);},'euTvO':function(_0x1d9508,_0x1c2fc5){return _0x1d9508>=_0x1c2fc5;}};if(bsSetupHelper[_0x22f38b(0x2a2)](_0x369d88)||bsSetupHelper[_0x22f38b(0x2a2)](_0x576b64))return![];const _0x1c8adf=bsSetupHelper['compareVersions'](_0xc271e[_0x22f38b(0x1af)](String,_0x369d88),_0xc271e[_0x22f38b(0x272)](String,_0x576b64));return _0xc271e[_0x22f38b(0x245)](_0x1c8adf,0x0);},exports[a125_0x54c3ae(0x228)]=_0x1a7d10=>{const _0x3dddcb=a125_0x54c3ae,_0x59c4be={};_0x59c4be[_0x3dddcb(0x1f1)]=function(_0x34ee72,_0x572ccd){return _0x34ee72!==_0x572ccd;},_0x59c4be[_0x3dddcb(0x19b)]='string',_0x59c4be[_0x3dddcb(0x1a2)]='base64';const _0x31a78b=_0x59c4be;if(!_0x1a7d10||_0x31a78b[_0x3dddcb(0x1f1)](typeof _0x1a7d10,_0x31a78b[_0x3dddcb(0x19b)]))return null;try{return JSON[_0x3dddcb(0x2a0)](Buffer[_0x3dddcb(0x257)](_0x1a7d10['split']('.')[0x1],_0x31a78b[_0x3dddcb(0x1a2)])[_0x3dddcb(0x2af)]());}catch{return null;}};
|