browserstack-node-sdk 1.47.3 → 1.48.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/generated/sdk-messages-accessibility_pb.d.ts +6 -0
- package/generated/sdk-messages-accessibility_pb.js +49 -1
- package/generated/sdk-messages_pb.d.ts +12 -0
- package/generated/sdk-messages_pb.js +98 -2
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
function a94_0x1ad9(_0x43b0a2,_0x7534c0){const _0x215b7e=a94_0x215b();return a94_0x1ad9=function(_0x1ad956,_0x178c95){_0x1ad956=_0x1ad956-0xbb;let _0x5872bc=_0x215b7e[_0x1ad956];return _0x5872bc;},a94_0x1ad9(_0x43b0a2,_0x7534c0);}const a94_0x30ca4e=a94_0x1ad9;(function(_0x1b3ee7,_0x5ac195){const _0x4173cc=a94_0x1ad9,_0x55a972=_0x1b3ee7();while(!![]){try{const _0x5891ef=-parseInt(_0x4173cc(0xf7))/0x1+-parseInt(_0x4173cc(0x180))/0x2+parseInt(_0x4173cc(0x108))/0x3+-parseInt(_0x4173cc(0x1b9))/0x4+-parseInt(_0x4173cc(0x1ac))/0x5+-parseInt(_0x4173cc(0x104))/0x6+-parseInt(_0x4173cc(0xc8))/0x7*(-parseInt(_0x4173cc(0x186))/0x8);if(_0x5891ef===_0x5ac195)break;else _0x55a972['push'](_0x55a972['shift']());}catch(_0x3e4409){_0x55a972['push'](_0x55a972['shift']());}}}(a94_0x215b,0x29783));const util=require(a94_0x30ca4e(0x101)),os=require('os'),path=require(a94_0x30ca4e(0xf0)),{v4:uuidv4}=require('uuid'),fs=require('fs'),constants=require(a94_0x30ca4e(0x1a6)),logger=require('./logger')['winstonLogger'],fileLogger=require(a94_0x30ca4e(0x132))[a94_0x30ca4e(0x196)],{getLogDir}=require('./logger'),helper=require('./helper'),utilities=require(a94_0x30ca4e(0x158)),percyHelper=require(a94_0x30ca4e(0xe4)),hubAllocator=require(a94_0x30ca4e(0x1a4)),PerformanceTester=require(a94_0x30ca4e(0x127)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents}=require(a94_0x30ca4e(0x15b)),{setPercyFlag}=require(a94_0x30ca4e(0x1a8)),TestHubHandler=require(a94_0x30ca4e(0x18e)),timeoutPromise=require('./timeoutPromise'),BrowserstackCLI=require(a94_0x30ca4e(0x166)),LoadTestModule=require(a94_0x30ca4e(0xcf)),{getEdsInstrumentationAPIUrl}=require('../bin/utils/apiUtilityMethods'),ClientTroubleShootingService=require(a94_0x30ca4e(0x11f));class BrowserStackSetup{constructor(_0x246161,_0x2752e2){const _0x34d596=a94_0x30ca4e,_0x564847={'FkvqV':'8|11|4|5|6|13|18|21|19|2|0|14|12|22|10|15|3|9|23|16|1|7|17|20','qaddE':_0x34d596(0x16c),'AppOe':function(_0x3013e6){return _0x3013e6();}},_0x560e14=_0x564847[_0x34d596(0x163)][_0x34d596(0x162)]('|');let _0x5a1492=0x0;while(!![]){switch(_0x560e14[_0x5a1492++]){case'0':this[_0x34d596(0xbb)]={};continue;case'1':helper[_0x34d596(0xec)](this[_0x34d596(0x16e)],this[_0x34d596(0xc7)],this[_0x34d596(0x1b0)]);continue;case'2':this[_0x34d596(0x16e)][_0x34d596(0x116)]=this[_0x34d596(0x16e)][_0x34d596(0x116)]||{};continue;case'3':helper[_0x34d596(0xdd)](this[_0x34d596(0x16e)],this[_0x34d596(0xc7)]);continue;case'4':this['envConfig']=helper[_0x34d596(0x1be)]();continue;case'5':this[_0x34d596(0x1b5)]=null;continue;case'6':this['percy']=null;continue;case'7':helper[_0x34d596(0xe8)](this[_0x34d596(0x16e)]);continue;case'8':this[_0x34d596(0xd4)]=[];continue;case'9':helper[_0x34d596(0x11a)](this[_0x34d596(0x16e)]);continue;case'10':if(helper['isUndefined'](this[_0x34d596(0x16e)]))throw new Error(_0x564847[_0x34d596(0xc5)]);continue;case'11':helper[_0x34d596(0x15d)]();continue;case'12':this['framework']=_0x2752e2;continue;case'13':this[_0x34d596(0x12f)]=helper['getConfigPath'](_0x246161);continue;case'14':this['sdkRunId']=_0x564847[_0x34d596(0x12e)](uuidv4);continue;case'15':if(this['config'][_0x34d596(0xbc)])throw new Error(this['config'][_0x34d596(0xbc)]);continue;case'16':this[_0x34d596(0x16e)][_0x34d596(0x116)]['skipSessionName']=!helper[_0x34d596(0x19b)]()||helper['isTrue'](this[_0x34d596(0x16e)]['testContextOptions'][_0x34d596(0x191)]);continue;case'17':helper[_0x34d596(0x15c)](this[_0x34d596(0x16e)],this['cliConfig'],this[_0x34d596(0x1b0)]);continue;case'18':this['config']=helper['readConfig'](this[_0x34d596(0x12f)]);continue;case'19':this[_0x34d596(0x16e)]['platforms']=this[_0x34d596(0x16e)][_0x34d596(0xdc)]||[];continue;case'20':PerformanceTester['startMonitoring']();continue;case'21':this[_0x34d596(0xc7)]=helper[_0x34d596(0x105)](_0x246161);continue;case'22':global[_0x34d596(0x16b)]=_0x2752e2;continue;case'23':this[_0x34d596(0x16e)][_0x34d596(0x116)][_0x34d596(0x13e)]=!helper[_0x34d596(0x19b)]()||helper[_0x34d596(0x109)](this[_0x34d596(0x16e)]['testContextOptions'][_0x34d596(0x13e)]);continue;}break;}}[a94_0x30ca4e(0x13a)](_0x1638c3){const _0x5cd04f=a94_0x30ca4e,_0x576293={'rhbaC':'userName\x20or\x20accessKey\x20is\x20not\x20defined','XtPib':function(_0x2e2661,_0x194e02){return _0x2e2661===_0x194e02;},'kUtTu':function(_0x3a3305,_0x373992){return _0x3a3305===_0x373992;},'UXtRa':'integrations','EmPyG':_0x5cd04f(0x1b6),'FzQpJ':function(_0x3df352,_0x153cc9){return _0x3df352<_0x153cc9;},'DMAkU':function(_0x1c3194,_0x543f21){return _0x1c3194(_0x543f21);},'TrTFA':_0x5cd04f(0x135),'UAMDX':_0x5cd04f(0xfd),'IhPmO':_0x5cd04f(0x17c),'rTbJb':_0x5cd04f(0x1bc),'ncGln':'SIGTERM','SDcYC':'SIGINT','usnQh':'SIGHUP','Oyczs':function(_0x20ba16,_0x248bcb){return _0x20ba16!==_0x248bcb;},'nYlKL':'win32','ealic':_0x5cd04f(0x120),'oPkEI':_0x5cd04f(0x1a2),'bOyZI':'SIGBREAK','KrfEU':'beforeExit'},_0x5e3263=this['framework'];global[_0x5cd04f(0x16e)]=this[_0x5cd04f(0x16e)],helper['sanitizeCaps'](this[_0x5cd04f(0x16e)]),this[_0x5cd04f(0xe0)]=null,global[_0x5cd04f(0x103)]=this[_0x5cd04f(0x103)],logger[_0x5cd04f(0xf6)](_0x5cd04f(0x185)+this[_0x5cd04f(0x103)]),!this[_0x5cd04f(0x16e)][_0x5cd04f(0x171)]&&(this['config'][_0x5cd04f(0x171)]=this[_0x5cd04f(0x16e)][_0x5cd04f(0x187)]||{});if(helper['isUndefined'](helper['getUserName'](this[_0x5cd04f(0x16e)]))||helper[_0x5cd04f(0x11b)](helper[_0x5cd04f(0x10a)](this[_0x5cd04f(0x16e)])))throw new Error(_0x576293[_0x5cd04f(0x15f)]);helper[_0x5cd04f(0x174)](this[_0x5cd04f(0x16e)])&&helper[_0x5cd04f(0x11b)](helper[_0x5cd04f(0x157)](this[_0x5cd04f(0x16e)]))&&(!helper['isUndefined'](this[_0x5cd04f(0x16e)][_0x5cd04f(0x171)])&&_0x576293[_0x5cd04f(0x14a)](this['config'][_0x5cd04f(0x171)][_0x5cd04f(0xe5)],Object)?!helper[_0x5cd04f(0x109)](this['config'][_0x5cd04f(0x171)][_0x5cd04f(0xd8)])&&(this[_0x5cd04f(0x16e)][_0x5cd04f(0x171)][_0x5cd04f(0x147)]=helper[_0x5cd04f(0x1aa)]()):this[_0x5cd04f(0x16e)][_0x5cd04f(0x171)]={'localIdentifier':helper[_0x5cd04f(0x1aa)]()});this[_0x5cd04f(0x16e)]['browserStackLocalOptions'][_0x5cd04f(0xd8)]=helper[_0x5cd04f(0x109)](this[_0x5cd04f(0x16e)][_0x5cd04f(0x171)]['skipBinaryInitialisation']),helper[_0x5cd04f(0xd6)](this[_0x5cd04f(0x16e)]);if(_0x576293['kUtTu'](_0x5e3263,_0x576293[_0x5cd04f(0xe7)]))return;this[_0x5cd04f(0xfc)]();process[_0x5cd04f(0xbe)][_0x5cd04f(0xff)]&&(this[_0x5cd04f(0x16e)][_0x5cd04f(0x139)]=helper[_0x5cd04f(0x109)](process[_0x5cd04f(0xbe)][_0x5cd04f(0xff)]),this[_0x5cd04f(0x16e)]['turboScaleOptions']=this[_0x5cd04f(0x16e)][_0x5cd04f(0x153)]||{});helper[_0x5cd04f(0x193)](this[_0x5cd04f(0x16e)])&&(process['env'][_0x5cd04f(0xff)]=!![]);LoadTestModule['isLTSSession'](this[_0x5cd04f(0x16e)])&&logger['debug']('LTS\x20session\x20enabled\x20for\x20this\x20run.\x20SDK\x20run\x20id:\x20'+this[_0x5cd04f(0x103)]);if(!helper[_0x5cd04f(0x19b)]()){try{process[_0x5cd04f(0xbe)][_0x5cd04f(0x15a)]=_0x5e3263,utilities['fireFunnelTestEvent'](_0x576293[_0x5cd04f(0xc9)],{},this[_0x5cd04f(0x16e)],this[_0x5cd04f(0x16b)]);}catch(_0x569f50){logger['debug'](_0x5cd04f(0xc6)+_0x569f50);}return;}if(helper[_0x5cd04f(0x1ad)](_0x5e3263)){if(global['__isPlaywrightInstalled'])return;_0x576293[_0x5cd04f(0xf2)](_0x576293[_0x5cd04f(0x159)](parseInt,helper[_0x5cd04f(0x1b7)](_0x576293['TrTFA'])),0x3)&&(this[_0x5cd04f(0x16e)][_0x5cd04f(0xe9)]=![]),_0x576293[_0x5cd04f(0x14a)](helper[_0x5cd04f(0x141)](helper[_0x5cd04f(0x1b7)](_0x576293['TrTFA']),_0x576293[_0x5cd04f(0x14c)]),0x1)&&(this[_0x5cd04f(0x16e)][_0x5cd04f(0xe9)]=!![]);}(helper['isUndefined'](this['config'][_0x5cd04f(0xdc)])||helper[_0x5cd04f(0x11b)](this['config'][_0x5cd04f(0xdc)][_0x5cd04f(0x167)]))&&(helper[_0x5cd04f(0x11b)](this[_0x5cd04f(0x16e)][_0x5cd04f(0x16a)])?logger['info'](_0x576293['IhPmO']):logger[_0x5cd04f(0x143)](_0x576293[_0x5cd04f(0x197)]),this[_0x5cd04f(0x16e)][_0x5cd04f(0xdc)]=[]);!this['config'][_0x5cd04f(0x116)]&&(this[_0x5cd04f(0x16e)][_0x5cd04f(0x116)]={});try{process[_0x5cd04f(0xbe)]['FRAMEWORK']=_0x1638c3['_'][0x0],utilities[_0x5cd04f(0x182)](_0x576293['EmPyG'],{},this[_0x5cd04f(0x16e)],this[_0x5cd04f(0x16b)]);}catch(_0x1f414c){logger['debug'](_0x5cd04f(0xc6)+_0x1f414c);}!this[_0x5cd04f(0x16e)][_0x5cd04f(0xd7)]&&logger[_0x5cd04f(0xf6)](constants[_0x5cd04f(0x136)]),this[_0x5cd04f(0x115)]=this['intExitHandler']['bind'](this),process['on'](_0x576293[_0x5cd04f(0xd2)],this[_0x5cd04f(0x115)]),process['on'](_0x576293[_0x5cd04f(0x1b1)],this[_0x5cd04f(0x115)]),process['on'](_0x576293['usnQh'],this['intExitHandler']),_0x576293[_0x5cd04f(0x16f)](process[_0x5cd04f(0x112)],_0x576293[_0x5cd04f(0x119)])?(process['on'](_0x576293[_0x5cd04f(0xd5)],this['intExitHandler']),process['on'](_0x576293['oPkEI'],this[_0x5cd04f(0x115)])):process['on'](_0x576293[_0x5cd04f(0xc1)],this[_0x5cd04f(0x115)]),process['on'](_0x576293[_0x5cd04f(0xde)],this[_0x5cd04f(0x12a)]());}async[a94_0x30ca4e(0x18c)](_0x261171){const _0xd404be=a94_0x30ca4e,_0x26c986={'YWdkG':'ats-repeater','rxcPq':'custom-repeater','JGUHr':_0xd404be(0xcd),'VXKCn':function(_0x3a6409,_0xc8971d){return _0x3a6409===_0xc8971d;},'vnSnS':_0xd404be(0xcb),'Enhbc':function(_0xa7a230,_0x4f3efe){return _0xa7a230+_0x4f3efe;},'eNYmy':_0xd404be(0x130),'ObPti':function(_0x248830,_0x1b4b9c){return _0x248830(_0x1b4b9c);},'mSEYv':_0xd404be(0x11e)};this[_0xd404be(0x13a)](_0x261171);if(helper[_0xd404be(0x193)](this[_0xd404be(0x16e)])){const _0x429d29=await helper[_0xd404be(0xc3)](this['config']);this['config']['turboScaleGridDetails']=_0x429d29,_0x429d29['isTrialGrid']&&helper['isNotUndefined'](this[_0xd404be(0x16e)][_0xd404be(0x1b5)])&&helper[_0xd404be(0x109)](this['config'][_0xd404be(0x1b5)])&&(this[_0xd404be(0x16e)]['browserStackLocalOptions'][_0xd404be(0x147)]=_0x26c986[_0xd404be(0x1a1)],this[_0xd404be(0x16e)][_0xd404be(0x171)][_0x26c986[_0xd404be(0x144)]]=_0x429d29[_0xd404be(0x150)][_0xd404be(0x1ab)](','),this[_0xd404be(0x16e)][_0xd404be(0x171)][_0xd404be(0x17a)]=_0x26c986[_0xd404be(0x137)]),this[_0xd404be(0x16e)][_0xd404be(0x111)]=_0x429d29[_0xd404be(0x18b)],this[_0xd404be(0x16b)]&&_0x26c986[_0xd404be(0xf8)](this['framework'][_0xd404be(0x18a)](),_0x26c986[_0xd404be(0x138)])?this['config']['turboScaleUrl']=_0x26c986['Enhbc'](_0x429d29[_0xd404be(0x19e)],_0x26c986['eNYmy']):constants[_0xd404be(0x160)]=helper['getHubUrl'](this[_0xd404be(0x16e)]),logger['debug'](_0xd404be(0x172)+constants[_0xd404be(0x160)]);}helper[_0xd404be(0xca)](this['config']),this['setupKeepAlive'](),_0x26c986['ObPti'](setPercyFlag,this),await this['setupBrowserstackLocal'](),![_0x26c986[_0xd404be(0xfe)],_0x26c986['vnSnS']][_0xd404be(0xea)](this[_0xd404be(0x16b)])&&!helper[_0xd404be(0x193)](this[_0xd404be(0x16e)])&&!helper[_0xd404be(0x179)]()[_0xd404be(0x1bd)]&&await this[_0xd404be(0xe6)]();}async[a94_0x30ca4e(0x107)](){const _0x381df3=a94_0x30ca4e,_0xaea02f={};_0xaea02f['Fndwb']=function(_0x50f268,_0x8a4906){return _0x50f268===_0x8a4906;},_0xaea02f[_0x381df3(0x149)]='false',_0xaea02f[_0x381df3(0x1a5)]='Could\x20not\x20start\x20percy,\x20check\x20percy\x20logs\x20for\x20info.',_0xaea02f[_0x381df3(0x1af)]=_0x381df3(0xf5),_0xaea02f[_0x381df3(0x1bb)]='true',_0xaea02f['CQETs']=_0x381df3(0x131);const _0x455e29=_0xaea02f;if(helper[_0x381df3(0x109)](this[_0x381df3(0x16e)][_0x381df3(0xd3)])&&(!this['percy']||!this['percy'][_0x381df3(0xd1)]()))try{this[_0x381df3(0xd3)]=await percyHelper[_0x381df3(0x165)](this[_0x381df3(0x16e)]);if(!this['percy']){process[_0x381df3(0xbe)][_0x381df3(0x190)]=_0x455e29[_0x381df3(0x149)];throw new Error(_0x455e29['eHhgH']);}logger[_0x381df3(0xf6)](_0x455e29['NEAvv']),process[_0x381df3(0xbe)]['BROWSERSTACK_PERCY']=_0x455e29[_0x381df3(0x1bb)];let _0x41f84e=0x0;const _0x264f05=async()=>{const _0x3c3d3c=_0x381df3;_0x41f84e++,_0x455e29['Fndwb'](_0x41f84e,0x1)&&await this[_0x3c3d3c(0x170)]();};process['on'](_0x455e29['CQETs'],_0x264f05);}catch(_0x4a117a){process[_0x381df3(0xbe)][_0x381df3(0x190)]=_0x455e29[_0x381df3(0x149)],logger['debug'](_0x381df3(0x10f)+_0x4a117a);throw new Error(_0x4a117a[_0x381df3(0x146)]());}}async[a94_0x30ca4e(0x170)](){const _0x1731f7=a94_0x30ca4e,_0x3c7b4c={};_0x3c7b4c[_0x1731f7(0x1b8)]=_0x1731f7(0xfb),_0x3c7b4c['AWxjo']=_0x1731f7(0xe2);const _0x281d33=_0x3c7b4c;if(this[_0x1731f7(0xd3)]&&this[_0x1731f7(0xd3)][_0x1731f7(0xd1)]())try{await percyHelper[_0x1731f7(0x170)](this[_0x1731f7(0xd3)]),logger[_0x1731f7(0xf6)](_0x281d33[_0x1731f7(0x1b8)]);}catch(_0x14b688){logger[_0x1731f7(0xbc)](_0x281d33['AWxjo'],_0x14b688[_0x1731f7(0x195)]);}}async[a94_0x30ca4e(0x181)](){const _0x2c8d67=a94_0x30ca4e,_0x3808e1={};_0x3808e1[_0x2c8d67(0x126)]='Local\x20binary\x20not\x20started\x20as\x20skipBinaryInitialisation\x20is\x20enabled',_0x3808e1[_0x2c8d67(0x1a0)]=_0x2c8d67(0x14e);const _0x422d08=_0x3808e1;if(helper['isBrowserstackInfra']()&&helper[_0x2c8d67(0x109)](this[_0x2c8d67(0x16e)][_0x2c8d67(0x1b5)])&&(!this[_0x2c8d67(0x1b5)]||!this[_0x2c8d67(0x1b5)][_0x2c8d67(0xd1)]()))try{if(this[_0x2c8d67(0x16e)][_0x2c8d67(0x171)]['skipBinaryInitialisation']){logger['debug'](_0x422d08[_0x2c8d67(0x126)]);return;}this[_0x2c8d67(0x1b5)]=await helper[_0x2c8d67(0x110)](this[_0x2c8d67(0x16e)]),logger['info'](_0x422d08['TPdFo']);}catch(_0x54a96b){logger[_0x2c8d67(0x10d)](_0x54a96b);throw new Error(_0x54a96b[_0x2c8d67(0x146)]());}}async[a94_0x30ca4e(0x10b)](){const _0x390446=a94_0x30ca4e,_0x529c69={};_0x529c69['RSnld']=_0x390446(0x17e),_0x529c69[_0x390446(0x15e)]='Error\x20occured\x20while\x20stopping\x20local\x20binary';const _0x34b82b=_0x529c69;if(this[_0x390446(0x1b5)]&&this['browserstackLocal'][_0x390446(0xd1)]())try{await helper['stopLocalBinary'](this[_0x390446(0x1b5)]),logger[_0x390446(0xf6)](_0x34b82b[_0x390446(0x161)]);}catch(_0x37bfee){logger[_0x390446(0xbc)](_0x34b82b[_0x390446(0x15e)],_0x37bfee[_0x390446(0x195)]);}}async['setUpHubUrl'](){const _0x440cb2=a94_0x30ca4e;return PerformanceTester[_0x440cb2(0x164)](PerformanceAutEvents[_0x440cb2(0x154)],async()=>{await hubAllocator['allocateHub'](this['config']);})();}async[a94_0x30ca4e(0x18d)](){const _0x7d8c21=a94_0x30ca4e,_0x5b61b5={'vueBD':function(_0x2d20d9,_0x3a1c0e){return _0x2d20d9(_0x3a1c0e);},'QsCHQ':_0x7d8c21(0x152),'URldk':function(_0x6ca411,_0x84663c,_0x519ec7,_0x3031a6,_0x426204,_0x5e11b1,_0x41f5de){return _0x6ca411(_0x84663c,_0x519ec7,_0x3031a6,_0x426204,_0x5e11b1,_0x41f5de);},'mqpjh':'BrowserstackHealing.init\x20method\x20timed\x20out','JERlH':_0x7d8c21(0x124),'kMfpc':function(_0x38dba2,_0x5eb650){return _0x38dba2(_0x5eb650);},'cMnHv':_0x7d8c21(0x175),'padfk':_0x7d8c21(0x118),'UwzCL':function(_0x5ea894,_0x5556de){return _0x5ea894(_0x5556de);},'xzdXD':function(_0x62f800,_0x5dc313){return _0x62f800===_0x5dc313;},'relme':'true','PQMws':function(_0x3a15e2,_0x3d53b6){return _0x3a15e2===_0x3d53b6;},'NShcf':function(_0x4cf8b5,_0x31346e){return _0x4cf8b5===_0x31346e;},'MLmCi':function(_0x518031,_0x136942){return _0x518031===_0x136942;},'jvmvV':_0x7d8c21(0x140),'NWgee':_0x7d8c21(0xf4),'cqUNM':_0x7d8c21(0x188),'fmDDt':_0x7d8c21(0x18f),'ZdIsz':function(_0x1ca91a,_0x1726b6){return _0x1ca91a>=_0x1726b6;},'uhGYm':function(_0x30ed57,_0x18677d){return _0x30ed57<_0x18677d;},'xuybz':function(_0x32f4a8,_0x127f0c){return _0x32f4a8>=_0x127f0c;},'oiBHD':_0x7d8c21(0x17f),'vYsTw':_0x7d8c21(0xee),'EzQmj':function(_0x59237f){return _0x59237f();}},_0x2857e2=PerformanceTester[_0x7d8c21(0x164)](_0x5b61b5[_0x7d8c21(0xf1)],async()=>{const _0x4b12ec=_0x7d8c21;try{const _0xe1b539=new Date(),_0x23ce05=helper[_0x4b12ec(0x183)](this[_0x4b12ec(0x16e)]),_0x2a17b6=_0x5b61b5[_0x4b12ec(0x19d)](require,path[_0x4b12ec(0x1ab)](__dirname,_0x5b61b5['QsCHQ'])),_0x4ffee8=_0x5b61b5[_0x4b12ec(0x19f)](timeoutPromise,constants[_0x4b12ec(0x1b4)],_0x5b61b5[_0x4b12ec(0x1b3)],_0x5b61b5[_0x4b12ec(0x123)],_0xe1b539,this[_0x4b12ec(0x16e)],this['framework']),_0x19e56f={'tcgUrl':constants['TCG_URL'],'sdkVersion':_0x5b61b5['kMfpc'](require,_0x5b61b5[_0x4b12ec(0x12b)])[_0x4b12ec(0xcc)],'methodUsed':_0x5b61b5['padfk'],'proxyConfig':_0x23ce05,'os':os[_0x4b12ec(0x112)]()};if(_0x23ce05&&_0x23ce05[_0x4b12ec(0x13d)]){utilities['fireFunnelTestEvent'](constants['AI_PROXY_FAILURE'],_0x19e56f,this[_0x4b12ec(0x16e)],this[_0x4b12ec(0x16b)]);return;}const _0x271f55={};_0x271f55[_0x4b12ec(0x14b)]=_0x23ce05;const _0x21cb80=await Promise[_0x4b12ec(0x11d)]([_0x2a17b6[_0x4b12ec(0x1ae)](this[_0x4b12ec(0x16e)][_0x4b12ec(0x10c)],this[_0x4b12ec(0x16e)]['userName'],constants[_0x4b12ec(0x13c)],_0x5b61b5['UwzCL'](require,_0x5b61b5['cMnHv'])[_0x4b12ec(0xcc)],_0x271f55)[_0x4b12ec(0x155)](_0x54ad48=>{return _0x4ffee8['cancel'](),_0x54ad48;}),_0x4ffee8]);_0x21cb80[_0x4b12ec(0xef)]=_0x5b61b5[_0x4b12ec(0x14d)](_0x21cb80[_0x4b12ec(0xef)],_0x5b61b5[_0x4b12ec(0xe3)])||_0x5b61b5[_0x4b12ec(0x192)](_0x21cb80['isHealingEnabled'],!![]);const _0x134b28=_0x5b61b5[_0x4b12ec(0x14d)](this[_0x4b12ec(0x16e)][_0x4b12ec(0xbf)],!![])||_0x5b61b5[_0x4b12ec(0xda)](this['config'][_0x4b12ec(0xbf)],_0x5b61b5[_0x4b12ec(0xe3)]);if(_0x5b61b5[_0x4b12ec(0x142)](_0x21cb80[_0x4b12ec(0x195)],constants[_0x4b12ec(0xeb)])&&_0x134b28)logger['info'](_0x5b61b5[_0x4b12ec(0x173)]);else{if(!_0x21cb80[_0x4b12ec(0xc0)]&&_0x5b61b5[_0x4b12ec(0xda)](_0x21cb80['status'],0x1f7)&&_0x134b28)logger['info'](_0x5b61b5['NWgee']),utilities['fireFunnelTestEvent'](constants[_0x4b12ec(0x11c)],_0x19e56f,this[_0x4b12ec(0x16e)],this[_0x4b12ec(0x16b)]);else{if(!_0x21cb80['isAuthenticated']&&_0x134b28){logger[_0x4b12ec(0xf6)](_0x5b61b5[_0x4b12ec(0x125)]);const _0x2cb096={'tcgUrl':constants[_0x4b12ec(0x13c)],'sdkVersion':_0x5b61b5[_0x4b12ec(0x122)](require,_0x5b61b5[_0x4b12ec(0x12b)])[_0x4b12ec(0xcc)],'methodUsed':_0x5b61b5[_0x4b12ec(0x1c0)],'proxyConfig':_0x23ce05,'os':os[_0x4b12ec(0x112)]()};utilities[_0x4b12ec(0x182)](constants['TCG_AUTH_FAILURE'],_0x2cb096,this[_0x4b12ec(0x16e)],this[_0x4b12ec(0x16b)]);}else{if(_0x21cb80['isAuthenticated']&&!_0x21cb80['isHealingEnabled']&&_0x134b28)logger[_0x4b12ec(0xf6)](_0x5b61b5[_0x4b12ec(0x10e)]);else{if(_0x5b61b5[_0x4b12ec(0x13b)](_0x21cb80['status'],0xc8)&&_0x5b61b5[_0x4b12ec(0xd9)](_0x21cb80['status'],0x12c))utilities['fireFunnelTestEvent'](constants[_0x4b12ec(0x17b)],_0x19e56f,this[_0x4b12ec(0x16e)],this[_0x4b12ec(0x16b)]);else{if(_0x5b61b5[_0x4b12ec(0xbd)](_0x21cb80[_0x4b12ec(0x189)],0x190))_0x19e56f['status']=_0x21cb80['status'],utilities[_0x4b12ec(0x182)](constants[_0x4b12ec(0xdb)],_0x19e56f,this['config'],this['framework']);else!_0x21cb80[_0x4b12ec(0x189)]&&utilities[_0x4b12ec(0x182)](constants['INVALID_INIT_RESP_WITH_USER_IMPACT'],_0x19e56f,this[_0x4b12ec(0x16e)],this[_0x4b12ec(0x16b)]);}}}}}if(_0x21cb80[_0x4b12ec(0xc0)]&&_0x21cb80[_0x4b12ec(0xef)]){const _0x2f1b8c={};_0x2f1b8c['tcgAuthConfig']=_0x21cb80;const _0x14416d=_0x2f1b8c;_0x23ce05&&(_0x14416d[_0x4b12ec(0x151)]=_0x23ce05),_0x14416d[_0x4b12ec(0x16b)]=this[_0x4b12ec(0x16b)],_0x14416d[_0x4b12ec(0x19a)]=this[_0x4b12ec(0x16e)],helper['setupTcgConfigFile'](_0x14416d),logger[_0x4b12ec(0x10d)](_0x5b61b5[_0x4b12ec(0x128)]);}}catch(_0x4ab957){logger[_0x4b12ec(0x10d)](_0x4b12ec(0x12c)+(_0x4ab957['message']?_0x4ab957[_0x4b12ec(0x195)]:''));}});await _0x5b61b5[_0x7d8c21(0x178)](_0x2857e2);}[a94_0x30ca4e(0xd0)](){const _0x286f3e=a94_0x30ca4e,_0xbe4068={'IjZtu':function(_0x58eb3f,_0x5ed196){return _0x58eb3f(_0x5ed196);},'yAZbh':'./setKeepAlive'};_0xbe4068['IjZtu'](require,_0xbe4068[_0x286f3e(0x134)])();}['handleExceptions'](){const _0x8051f6=a94_0x30ca4e,_0x2c4974={};_0x2c4974[_0x8051f6(0x148)]=_0x8051f6(0x1a3),_0x2c4974[_0x8051f6(0x1bf)]=_0x8051f6(0x184),_0x2c4974['AjVyb']=_0x8051f6(0x129);const _0x49a8da=_0x2c4974,_0x6c2df1=_0x1be069=>{const _0x106221=_0x8051f6,_0x45eafd=_0x49a8da[_0x106221(0x148)]['split']('|');let _0x470096=0x0;while(!![]){switch(_0x45eafd[_0x470096++]){case'0':this['unhandledErrors'][_0x106221(0x1ba)](util[_0x106221(0x14f)]('%j',_0x1be069));continue;case'1':ClientTroubleShootingService[_0x106221(0x106)]();continue;case'2':logger[_0x106221(0x10d)](util[_0x106221(0x14f)](_0x1be069));continue;case'3':logger[_0x106221(0xbc)](_0x1be069['message']);continue;case'4':PerformanceTester[_0x106221(0x117)](_0x1be069);continue;}break;}};process['on'](_0x49a8da[_0x8051f6(0x1bf)],_0x6c2df1),process['on'](_0x49a8da[_0x8051f6(0x12d)],_0x6c2df1);}async['intExitHandler'](_0x43281d){const _0x3b4572=a94_0x30ca4e,_0x34a71f={};_0x34a71f[_0x3b4572(0xf3)]=_0x3b4572(0x114),_0x34a71f[_0x3b4572(0xed)]=function(_0x32f4c4,_0x13cb5e){return _0x32f4c4+_0x13cb5e;},_0x34a71f[_0x3b4572(0x198)]='handled',_0x34a71f['MYTMx']=function(_0x27bf7b,_0x4e64ec){return _0x27bf7b+_0x4e64ec;},_0x34a71f['CRMRd']=_0x3b4572(0x145);const _0x1ab5a5=_0x34a71f,_0x3eaa6e=_0x1ab5a5[_0x3b4572(0xf3)]['split']('|');let _0xc8dc3f=0x0;while(!![]){switch(_0x3eaa6e[_0xc8dc3f++]){case'0':await TestHubHandler['stop'](_0x43281d);continue;case'1':this[_0x3b4572(0xe0)]=_0x43281d;continue;case'2':await ClientTroubleShootingService[_0x3b4572(0x1b2)](_0x43281d);continue;case'3':await BrowserstackCLI[_0x3b4572(0x177)]()['stop']();continue;case'4':await ClientTroubleShootingService[_0x3b4572(0x106)]();continue;case'5':this[_0x1ab5a5['savhZ'](_0x1ab5a5[_0x3b4572(0x198)],_0x43281d)]=!![];continue;case'6':if(this[_0x1ab5a5[_0x3b4572(0x13f)](_0x1ab5a5[_0x3b4572(0x198)],_0x43281d)])return;continue;case'7':logger['info'](_0x1ab5a5[_0x3b4572(0x13f)](_0x1ab5a5['CRMRd'],_0x43281d));continue;}break;}}[a94_0x30ca4e(0x12a)](){const _0x1dc09b=a94_0x30ca4e,_0x5e84b4={'NnLwp':function(_0x135a7a,_0x5c3f16){return _0x135a7a===_0x5c3f16;},'swyYl':_0x1dc09b(0x19c),'edKev':function(_0x5a14d6,_0x126688){return _0x5a14d6>_0x126688;},'HchwZ':function(_0x2f30a0,_0x192bea){return _0x2f30a0(_0x192bea);},'hdrIC':function(_0x19e817){return _0x19e817();},'oQrzL':_0x1dc09b(0x199)};let _0x477100=0x0;return async()=>{const _0x3a3ae5=_0x1dc09b;_0x477100++;if(_0x5e84b4[_0x3a3ae5(0xfa)](_0x477100,0x1)){helper[_0x3a3ae5(0x133)](this[_0x3a3ae5(0x16b)])&&await this['stopBrowserstackLocal']();try{logger[_0x3a3ae5(0x10d)](_0x5e84b4[_0x3a3ae5(0x17d)]),await TestHubHandler['stop'](_0x477100),await ClientTroubleShootingService[_0x3a3ae5(0x106)](),await BrowserstackCLI['getInstance']()[_0x3a3ae5(0x176)]('1');}catch(_0xd61895){logger[_0x3a3ae5(0x10d)]('Error\x20in\x20sending\x20testhub\x20stop:\x20'+util[_0x3a3ae5(0x14f)](_0xd61895));}PerformanceTester['end'](PerformanceEvents[_0x3a3ae5(0xf9)]);if(PerformanceTester[_0x3a3ae5(0x113)]()){const {measures:_0x1b7096,errors:_0x5ed408}=await PerformanceTester[_0x3a3ae5(0x156)](),_0x4e3e4e={};if(_0x1b7096&&_0x5e84b4[_0x3a3ae5(0x1a7)](_0x1b7096['length'],0x0)||_0x5ed408&&_0x5e84b4[_0x3a3ae5(0x1a7)](_0x5ed408[_0x3a3ae5(0x167)],0x0)){const _0x153c6f={};_0x153c6f[_0x3a3ae5(0xc2)]=_0x1b7096,_0x153c6f['exceptions']=_0x5ed408,Object[_0x3a3ae5(0xe1)](_0x4e3e4e,_0x153c6f);}try{const _0x3748a9=await helper[_0x3a3ae5(0xdf)](_0x4e3e4e,this['config']);logger['debug'](_0x3a3ae5(0x102)+_0x5e84b4[_0x3a3ae5(0xc4)](getEdsInstrumentationAPIUrl,'')+_0x3a3ae5(0x100)+_0x3748a9[_0x3a3ae5(0x194)]);}catch(_0x1d39fa){logger[_0x3a3ae5(0x10d)](_0x3a3ae5(0xce)+_0x5e84b4[_0x3a3ae5(0xc4)](getEdsInstrumentationAPIUrl,'')+_0x3a3ae5(0x168)+util['format'](_0x1d39fa));}try{fs[_0x3a3ae5(0x121)](path[_0x3a3ae5(0x1ab)](_0x5e84b4[_0x3a3ae5(0x1a9)](getLogDir),_0x5e84b4[_0x3a3ae5(0x169)]),JSON[_0x3a3ae5(0x16d)](_0x4e3e4e));}catch(_0x17734a){logger[_0x3a3ae5(0x10d)]('Error\x20in\x20writing\x20events\x20to\x20file\x20'+_0x17734a);}}}logger&&logger['close'](),fileLogger&&fileLogger['close']();};}}function a94_0x215b(){const _0x5ea7ef=['startPercy','../bin/v2/browserstackCLI','length','\x20with\x20error\x20','oQrzL','parallelsPerPlatform','framework','No\x20config\x20provided.','stringify','config','Oyczs','stopPercy','browserStackLocalOptions','HUB\x20URL\x20SET\x20TO\x20TurboScale\x20HUB\x20-\x20','jvmvV','getLocalConfig','../../package.json','stop','getInstance','EzQmj','getCentralUser','forceLocal','AI_INIT_SUCCESSFUL','Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','swyYl','Local\x20binary\x20stopped','tcg\x20config\x20setup\x20successful.','257522OZXsHz','setupBrowserstackLocal','fireFunnelTestEvent','getProxyConfigForTcg','unhandledRejection','SDK\x20run\x20started\x20with\x20id:\x20','2248xjAkZz','localOptions','Authentication\x20Failed.\x20Disabling\x20Healing\x20for\x20this\x20session.','status','toLowerCase','url','initialize','setupTCGAuth','./testhub/testhubHandler','Healing\x20is\x20not\x20enabled\x20for\x20your\x20group,\x20please\x20contact\x20the\x20admin','BROWSERSTACK_PERCY','skipSessionName','PQMws','isTurboScaleSession','statusCode','message','fileLogger','rTbJb','tHsvy','events.json','bstackConfig','isBrowserstackInfra','Calling\x20Build\x20Stop\x20from\x20ExitHandler','vueBD','playwrightUrl','URldk','TPdFo','YWdkG','SIGQUIT','3|2|0|4|1','../hubAllocationMethods','eHhgH','../bin/utils/constants','edKev','./testhub/utils','hdrIC','generateLocalIdentifier','join','1566170bBZLxk','requireSeleniumWebdriverCheck','init','NEAvv','envConfig','SDcYC','reportProcessInterruptionSituation','mqpjh','TCG_AUTH_TIMEOUT','browserstackLocal','SDKTestAttempted','getPackageVersion','jOmWm','1076220ZPPGgd','push','qYLkP','parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','central_scanner','setEnvCaps','zpAVT','padfk','errorMessage','error','xuybz','env','selfHeal','isAuthenticated','bOyZI','measures','getTurboScaleGridDetails','HchwZ','qaddE','Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20','cliConfig','28469bJWrOS','EmPyG','setProxySettings','playwright','version','true','Failed\x20to\x20send\x20data\x20to\x20','../bin/v2/modules/loadTestModule','setupKeepAlive','isRunning','ncGln','percy','unhandledErrors','ealic','setHandlePWError','disableAutoCaptureLogs','skipBinaryInitialisation','uhGYm','NShcf','AI_INIT_FAILURE','platforms','setBrowserstackInfraFromConfig','KrfEU','sendToEDS','killSignal','assign','Error\x20occured\x20while\x20stopping\x20percy','relme','./percy/utils','constructor','setUpHubUrl','UXtRa','setLogDir','useW3C','includes','UPGRADE_REQUIRED','getFinalCaps','savhZ','aiHeal:tcgAuth','isHealingEnabled','path','vYsTw','FzQpJ','TYjCQ','Something\x20went\x20wrong.\x20Disabling\x20healing\x20for\x20this\x20session.\x20Please\x20try\x20again\x20later.','Percy\x20started\x20successfully','info','181346xnaxcb','VXKCn','SDK_CLEANUP','NnLwp','Percy\x20stopped','handleExceptions','4.5.0','mSEYv','BROWSERSTACK_TURBOSCALE','\x20with\x20response\x20','util','Data\x20sent\x20successfully\x20to\x20','sdkRunId','514968UUivbM','setCLICaps','reportFinalDetectionState','setupPercy','15768wWgnXi','isTrue','getAccessKey','stopBrowserstackLocal','accessKey','debug','fmDDt','Error\x20in\x20percy\x20setup\x20','startLocalBinary','turboScaleUrl','platform','isEnabled','6|5|7|1|2|0|4|3','intExitHandler','testContextOptions','captureError','BrowserstackHealing.init','nYlKL','setCredentialsFromYmlConfig','isUndefined','TCG_DOWN','race','codeceptjs','../bin/utils/clientTroubleshootingService','SIGABRT','writeFileSync','UwzCL','JERlH','BrowserstackHealingInitFailed','cqUNM','jRCnD','./performance/performance-tester','oiBHD','uncaughtException','exitHandler','cMnHv','Error\x20in\x20setting\x20up\x20tcg\x20authconfig.\x20Error:\x20','AjVyb','AppOe','configPath','?caps=','beforeExit','./logger','checkStopLocalBinaryOnExit','yAZbh','selenium-webdriver','AUTOLOGCAPTURE_NOTIFICATION','JGUHr','vnSnS','turboScale','preInitialize','ZdIsz','TCG_URL','proxyUrl','skipSessionStatus','MYTMx','Please\x20upgrade\x20Browserstack\x20SDK\x20to\x20the\x20latest\x20version\x20to\x20use\x20the\x20self-healing\x20feature.','compareVersions','MLmCi','warn','rxcPq','Shutdown\x20triggered\x20by\x20','toString','localIdentifier','qXyCu','ScEAE','XtPib','proxy','UAMDX','xzdXD','Local\x20binary\x20started\x20successfully','format','customRepeaters','proxyConfig','../ai-sdk-node/bundle','turboScaleOptions','HUB_MANAGEMENT','then','finalize','getLocalIdentifier','./utilities','DMAkU','FRAMEWORK','./performance/constants','setLogLevel','normalizeTestReportingEnvVars','XPbqq','rhbaC','hubUrl','RSnld','split','FkvqV','measureWrapper'];a94_0x215b=function(){return _0x5ea7ef;};return a94_0x215b();}exports['default']=BrowserStackSetup;
|
|
1
|
+
const a94_0x2d6f19=a94_0x2f5f;(function(_0x436cb6,_0x1f8555){const _0x39b318=a94_0x2f5f,_0x1491ff=_0x436cb6();while(!![]){try{const _0x10d423=parseInt(_0x39b318(0xaa))/0x1+parseInt(_0x39b318(0xe4))/0x2+parseInt(_0x39b318(0x9f))/0x3+-parseInt(_0x39b318(0xc8))/0x4+parseInt(_0x39b318(0xfe))/0x5+-parseInt(_0x39b318(0xce))/0x6*(parseInt(_0x39b318(0xde))/0x7)+parseInt(_0x39b318(0x10b))/0x8;if(_0x10d423===_0x1f8555)break;else _0x1491ff['push'](_0x1491ff['shift']());}catch(_0x2287be){_0x1491ff['push'](_0x1491ff['shift']());}}}(a94_0x5d4b,0xace2c));const util=require('util'),os=require('os'),path=require(a94_0x2d6f19(0xec)),{v4:uuidv4}=require(a94_0x2d6f19(0x15c)),fs=require('fs'),constants=require('../bin/utils/constants'),logger=require('./logger')[a94_0x2d6f19(0x95)],fileLogger=require('./logger')['fileLogger'],{getLogDir}=require('./logger'),helper=require(a94_0x2d6f19(0xa5)),utilities=require(a94_0x2d6f19(0xd5)),percyHelper=require(a94_0x2d6f19(0xfb)),hubAllocator=require(a94_0x2d6f19(0x168)),PerformanceTester=require(a94_0x2d6f19(0x17c)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents}=require(a94_0x2d6f19(0x16e)),{setPercyFlag}=require(a94_0x2d6f19(0xcc)),TestHubHandler=require('./testhub/testhubHandler'),timeoutPromise=require(a94_0x2d6f19(0x140)),BrowserstackCLI=require(a94_0x2d6f19(0x154)),LoadTestModule=require(a94_0x2d6f19(0x133)),{getEdsInstrumentationAPIUrl}=require('../bin/utils/apiUtilityMethods'),ClientTroubleShootingService=require('../bin/utils/clientTroubleshootingService');class BrowserStackSetup{constructor(_0x5dccc1,_0x5bd206){const _0x14eaf3=a94_0x2d6f19,_0x88f189={'mpMqW':_0x14eaf3(0x12f),'nKzQv':function(_0x10f975){return _0x10f975();},'EcLTu':_0x14eaf3(0x15d)},_0x3a087c=_0x88f189[_0x14eaf3(0x17e)][_0x14eaf3(0x97)]('|');let _0x4688d9=0x0;while(!![]){switch(_0x3a087c[_0x4688d9++]){case'0':global[_0x14eaf3(0xa8)]=_0x5bd206;continue;case'1':this[_0x14eaf3(0x115)]={};continue;case'2':this[_0x14eaf3(0x143)]=_0x88f189[_0x14eaf3(0x170)](uuidv4);continue;case'3':this['unhandledErrors']=[];continue;case'4':this[_0x14eaf3(0xd3)]=helper['readConfig'](this['configPath']);continue;case'5':this[_0x14eaf3(0xd3)][_0x14eaf3(0xd7)]=this['config']['platforms']||[];continue;case'6':PerformanceTester[_0x14eaf3(0xf3)]();continue;case'7':helper[_0x14eaf3(0x13e)](this[_0x14eaf3(0xd3)],this[_0x14eaf3(0x101)],this['envConfig']);continue;case'8':this[_0x14eaf3(0x101)]=helper[_0x14eaf3(0xf0)](_0x5dccc1);continue;case'9':this[_0x14eaf3(0xd3)][_0x14eaf3(0xf1)][_0x14eaf3(0x10c)]=!helper[_0x14eaf3(0x91)]()||helper[_0x14eaf3(0x84)](this['config'][_0x14eaf3(0xf1)][_0x14eaf3(0x10c)]);continue;case'10':helper['setLogDir'](this[_0x14eaf3(0xd3)]);continue;case'11':this['framework']=_0x5bd206;continue;case'12':helper[_0x14eaf3(0x141)](this['config']);continue;case'13':helper[_0x14eaf3(0xf4)](this[_0x14eaf3(0xd3)],this[_0x14eaf3(0x101)]);continue;case'14':this[_0x14eaf3(0xd3)][_0x14eaf3(0xf1)]=this[_0x14eaf3(0xd3)][_0x14eaf3(0xf1)]||{};continue;case'15':this[_0x14eaf3(0xd3)][_0x14eaf3(0xf1)][_0x14eaf3(0x11f)]=!helper[_0x14eaf3(0x91)]()||helper[_0x14eaf3(0x84)](this[_0x14eaf3(0xd3)][_0x14eaf3(0xf1)][_0x14eaf3(0x11f)]);continue;case'16':this[_0x14eaf3(0x83)]=null;continue;case'17':this[_0x14eaf3(0x14b)]=helper['setEnvCaps']();continue;case'18':if(helper['isUndefined'](this[_0x14eaf3(0xd3)]))throw new Error(_0x88f189[_0x14eaf3(0x93)]);continue;case'19':if(this['config'][_0x14eaf3(0x150)])throw new Error(this['config'][_0x14eaf3(0x150)]);continue;case'20':this['configPath']=helper[_0x14eaf3(0xb1)](_0x5dccc1);continue;case'21':this[_0x14eaf3(0x109)]=null;continue;case'22':helper[_0x14eaf3(0x11d)]();continue;case'23':helper[_0x14eaf3(0x14c)](this[_0x14eaf3(0xd3)],this[_0x14eaf3(0x101)],this[_0x14eaf3(0x14b)]);continue;}break;}}['preInitialize'](_0x4b0ec5){const _0x200677=a94_0x2d6f19,_0x32d0f9={'pSMmI':'userName\x20or\x20accessKey\x20is\x20not\x20defined','ordBa':function(_0x2a9712,_0x566c34){return _0x2a9712===_0x566c34;},'CVlNf':function(_0x1c5a37,_0x2e180c){return _0x1c5a37===_0x2e180c;},'GdIlB':_0x200677(0xa0),'MAZmW':_0x200677(0xcd),'qacdk':function(_0x20cb5e,_0x2bd4fd){return _0x20cb5e<_0x2bd4fd;},'PHtmn':function(_0x5276ac,_0x3bd456){return _0x5276ac(_0x3bd456);},'KfkZq':_0x200677(0xbc),'zGBIm':_0x200677(0x149),'RBwRO':_0x200677(0xd4),'OTVKK':'parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','itAfs':_0x200677(0xc3),'IJaes':_0x200677(0x8b),'vUTgh':_0x200677(0x82),'SjbnQ':function(_0x15c7f9,_0x28adb6){return _0x15c7f9!==_0x28adb6;},'zFwVN':_0x200677(0xdf),'XZpxG':_0x200677(0x10d),'oEaCW':'SIGQUIT','kgKvt':_0x200677(0xea),'VFKhp':_0x200677(0x14d)},_0x4930ce=this['framework'];global[_0x200677(0xd3)]=this[_0x200677(0xd3)],helper[_0x200677(0x16c)](this[_0x200677(0xd3)]),this['killSignal']=null,global[_0x200677(0x143)]=this['sdkRunId'],logger[_0x200677(0xcb)](_0x200677(0x14f)+this[_0x200677(0x143)]),!this[_0x200677(0xd3)][_0x200677(0x138)]&&(this[_0x200677(0xd3)][_0x200677(0x138)]=this['config'][_0x200677(0x9b)]||{});if(helper[_0x200677(0x117)](helper['getUserName'](this[_0x200677(0xd3)]))||helper['isUndefined'](helper[_0x200677(0x139)](this[_0x200677(0xd3)])))throw new Error(_0x32d0f9[_0x200677(0xba)]);helper[_0x200677(0xff)](this[_0x200677(0xd3)])&&helper[_0x200677(0x117)](helper[_0x200677(0x156)](this[_0x200677(0xd3)]))&&(!helper[_0x200677(0x117)](this[_0x200677(0xd3)][_0x200677(0x138)])&&_0x32d0f9[_0x200677(0x14e)](this[_0x200677(0xd3)][_0x200677(0x138)]['constructor'],Object)?!helper[_0x200677(0x84)](this[_0x200677(0xd3)]['browserStackLocalOptions'][_0x200677(0x80)])&&(this[_0x200677(0xd3)]['browserStackLocalOptions'][_0x200677(0x147)]=helper['generateLocalIdentifier']()):this[_0x200677(0xd3)][_0x200677(0x138)]={'localIdentifier':helper[_0x200677(0x13f)]()});this[_0x200677(0xd3)][_0x200677(0x138)][_0x200677(0x80)]=helper[_0x200677(0x84)](this['config'][_0x200677(0x138)][_0x200677(0x80)]),helper['setHandlePWError'](this[_0x200677(0xd3)]);if(_0x32d0f9[_0x200677(0x8a)](_0x4930ce,_0x32d0f9['GdIlB']))return;this[_0x200677(0x145)]();process['env'][_0x200677(0xe2)]&&(this[_0x200677(0xd3)]['turboScale']=helper[_0x200677(0x84)](process[_0x200677(0x134)][_0x200677(0xe2)]),this[_0x200677(0xd3)][_0x200677(0xeb)]=this[_0x200677(0xd3)][_0x200677(0xeb)]||{});helper[_0x200677(0x164)](this[_0x200677(0xd3)])&&(process[_0x200677(0x134)][_0x200677(0xe2)]=!![]);LoadTestModule[_0x200677(0x7b)](this[_0x200677(0xd3)])&&logger[_0x200677(0xd6)]('LTS\x20session\x20enabled\x20for\x20this\x20run.\x20SDK\x20run\x20id:\x20'+this[_0x200677(0x143)]);if(!helper['isBrowserstackInfra']()){try{process[_0x200677(0x134)][_0x200677(0x17a)]=_0x4930ce,utilities[_0x200677(0x158)](_0x32d0f9['MAZmW'],{},this[_0x200677(0xd3)],this['framework']);}catch(_0xfec8c6){logger['debug'](_0x200677(0xda)+_0xfec8c6);}return;}if(helper[_0x200677(0xf2)](_0x4930ce)){if(global[_0x200677(0x11c)])return;_0x32d0f9[_0x200677(0x113)](_0x32d0f9[_0x200677(0x127)](parseInt,helper['getPackageVersion'](_0x32d0f9[_0x200677(0x155)])),0x3)&&(this[_0x200677(0xd3)]['useW3C']=![]),_0x32d0f9[_0x200677(0x8a)](helper[_0x200677(0x9c)](helper[_0x200677(0x161)](_0x32d0f9[_0x200677(0x155)]),_0x32d0f9[_0x200677(0x7f)]),0x1)&&(this['config'][_0x200677(0xbf)]=!![]);}(helper[_0x200677(0x117)](this[_0x200677(0xd3)][_0x200677(0xd7)])||helper[_0x200677(0x117)](this[_0x200677(0xd3)][_0x200677(0xd7)][_0x200677(0x77)]))&&(helper[_0x200677(0x117)](this['config'][_0x200677(0xb5)])?logger[_0x200677(0xcb)](_0x32d0f9['RBwRO']):logger[_0x200677(0x11a)](_0x32d0f9[_0x200677(0xe8)]),this[_0x200677(0xd3)]['platforms']=[]);!this[_0x200677(0xd3)]['testContextOptions']&&(this[_0x200677(0xd3)][_0x200677(0xf1)]={});try{process[_0x200677(0x134)]['FRAMEWORK']=_0x4b0ec5['_'][0x0],utilities[_0x200677(0x158)](_0x32d0f9['MAZmW'],{},this[_0x200677(0xd3)],this['framework']);}catch(_0x31ade0){logger[_0x200677(0xd6)](_0x200677(0xda)+_0x31ade0);}!this['config']['disableAutoCaptureLogs']&&logger[_0x200677(0xcb)](constants['AUTOLOGCAPTURE_NOTIFICATION']),this[_0x200677(0x12a)]=this[_0x200677(0x12a)][_0x200677(0xe5)](this),process['on'](_0x32d0f9[_0x200677(0x100)],this['intExitHandler']),process['on'](_0x32d0f9['IJaes'],this['intExitHandler']),process['on'](_0x32d0f9[_0x200677(0x157)],this[_0x200677(0x12a)]),_0x32d0f9[_0x200677(0x17d)](process[_0x200677(0x7d)],_0x32d0f9['zFwVN'])?(process['on'](_0x32d0f9[_0x200677(0xbd)],this[_0x200677(0x12a)]),process['on'](_0x32d0f9[_0x200677(0x178)],this[_0x200677(0x12a)])):process['on'](_0x32d0f9[_0x200677(0xa4)],this[_0x200677(0x12a)]),process['on'](_0x32d0f9[_0x200677(0x112)],this[_0x200677(0xae)]());}async[a94_0x2d6f19(0x174)](_0x23b629){const _0x3cad9e=a94_0x2d6f19,_0x53e536={'zPIap':_0x3cad9e(0x12b),'OgfAy':_0x3cad9e(0xd9),'nNMxe':_0x3cad9e(0x10a),'wBaLZ':function(_0x4d945a,_0x3edad4){return _0x4d945a===_0x3edad4;},'wWZSO':'playwright','wTYRL':function(_0x2b0c44,_0x5061e5){return _0x2b0c44+_0x5061e5;},'ElUvE':_0x3cad9e(0x153),'FYSja':function(_0x2bcc9d,_0x58d18d){return _0x2bcc9d(_0x58d18d);},'jSQrF':_0x3cad9e(0x11e)};this[_0x3cad9e(0x78)](_0x23b629);if(helper[_0x3cad9e(0x164)](this[_0x3cad9e(0xd3)])){const _0xc73f86=await helper['getTurboScaleGridDetails'](this['config']);this[_0x3cad9e(0xd3)][_0x3cad9e(0x81)]=_0xc73f86,_0xc73f86[_0x3cad9e(0x148)]&&helper[_0x3cad9e(0xdc)](this[_0x3cad9e(0xd3)][_0x3cad9e(0x83)])&&helper['isTrue'](this[_0x3cad9e(0xd3)][_0x3cad9e(0x83)])&&(this['config'][_0x3cad9e(0x138)]['localIdentifier']=_0x53e536[_0x3cad9e(0xfa)],this[_0x3cad9e(0xd3)][_0x3cad9e(0x138)][_0x53e536['OgfAy']]=_0xc73f86[_0x3cad9e(0x151)]['join'](','),this[_0x3cad9e(0xd3)][_0x3cad9e(0x138)][_0x3cad9e(0xf8)]=_0x53e536[_0x3cad9e(0xc6)]),this[_0x3cad9e(0xd3)][_0x3cad9e(0x171)]=_0xc73f86[_0x3cad9e(0xd8)],this[_0x3cad9e(0xa8)]&&_0x53e536[_0x3cad9e(0x12e)](this['framework'][_0x3cad9e(0xa1)](),_0x53e536[_0x3cad9e(0xb4)])?this[_0x3cad9e(0xd3)]['turboScaleUrl']=_0x53e536[_0x3cad9e(0x165)](_0xc73f86[_0x3cad9e(0x129)],_0x53e536[_0x3cad9e(0x9e)]):constants['hubUrl']=helper[_0x3cad9e(0xdd)](this['config']),logger[_0x3cad9e(0xd6)](_0x3cad9e(0x107)+constants['hubUrl']);}helper[_0x3cad9e(0xee)](this[_0x3cad9e(0xd3)]),this[_0x3cad9e(0xe3)](),_0x53e536[_0x3cad9e(0x13b)](setPercyFlag,this),await this[_0x3cad9e(0x8e)](),![_0x53e536[_0x3cad9e(0x16d)],_0x53e536[_0x3cad9e(0xb4)]][_0x3cad9e(0x96)](this['framework'])&&!helper['isTurboScaleSession'](this[_0x3cad9e(0xd3)])&&!helper['getCentralUser']()['central_scanner']&&await this[_0x3cad9e(0xa9)]();}async[a94_0x2d6f19(0x173)](){const _0x1d9f84=a94_0x2d6f19,_0xfc9df7={};_0xfc9df7[_0x1d9f84(0x105)]=function(_0x3daed7,_0xdf41e7){return _0x3daed7===_0xdf41e7;},_0xfc9df7[_0x1d9f84(0xa2)]=_0x1d9f84(0x126),_0xfc9df7[_0x1d9f84(0x12d)]=_0x1d9f84(0x166),_0xfc9df7[_0x1d9f84(0xc2)]=_0x1d9f84(0x103),_0xfc9df7['qsRNs']='true',_0xfc9df7['mgNwk']=_0x1d9f84(0x14d);const _0x2bf808=_0xfc9df7;if(helper[_0x1d9f84(0x84)](this['config'][_0x1d9f84(0x109)])&&(!this['percy']||!this[_0x1d9f84(0x109)][_0x1d9f84(0x163)]()))try{this[_0x1d9f84(0x109)]=await percyHelper[_0x1d9f84(0xc7)](this[_0x1d9f84(0xd3)]);if(!this['percy']){process['env'][_0x1d9f84(0xbb)]=_0x2bf808[_0x1d9f84(0xa2)];throw new Error(_0x2bf808[_0x1d9f84(0x12d)]);}logger[_0x1d9f84(0xcb)](_0x2bf808['LgXeT']),process[_0x1d9f84(0x134)]['BROWSERSTACK_PERCY']=_0x2bf808[_0x1d9f84(0x111)];let _0x658fcd=0x0;const _0x3bca41=async()=>{const _0x32ab74=_0x1d9f84;_0x658fcd++,_0x2bf808[_0x32ab74(0x105)](_0x658fcd,0x1)&&await this[_0x32ab74(0xb7)]();};process['on'](_0x2bf808[_0x1d9f84(0x124)],_0x3bca41);}catch(_0x1885e7){process[_0x1d9f84(0x134)][_0x1d9f84(0xbb)]=_0x2bf808[_0x1d9f84(0xa2)],logger['debug'](_0x1d9f84(0xad)+_0x1885e7);throw new Error(_0x1885e7['toString']());}}async[a94_0x2d6f19(0xb7)](){const _0x2772f5=a94_0x2d6f19,_0x8ac1f={};_0x8ac1f['kwHOP']='Percy\x20stopped',_0x8ac1f[_0x2772f5(0x16f)]=_0x2772f5(0xb8);const _0x3783b3=_0x8ac1f;if(this['percy']&&this[_0x2772f5(0x109)][_0x2772f5(0x163)]())try{await percyHelper[_0x2772f5(0xb7)](this[_0x2772f5(0x109)]),logger[_0x2772f5(0xcb)](_0x3783b3[_0x2772f5(0x142)]);}catch(_0x252690){logger[_0x2772f5(0x150)](_0x3783b3[_0x2772f5(0x16f)],_0x252690[_0x2772f5(0x92)]);}}async[a94_0x2d6f19(0x8e)](){const _0x44471e=a94_0x2d6f19,_0x3beaa0={};_0x3beaa0[_0x44471e(0x169)]='Local\x20binary\x20not\x20started\x20as\x20skipBinaryInitialisation\x20is\x20enabled',_0x3beaa0['FuspK']=_0x44471e(0x13d);const _0x1c52c2=_0x3beaa0;if(helper[_0x44471e(0x91)]()&&helper['isTrue'](this['config'][_0x44471e(0x83)])&&(!this[_0x44471e(0x83)]||!this[_0x44471e(0x83)][_0x44471e(0x163)]()))try{if(this[_0x44471e(0xd3)][_0x44471e(0x138)][_0x44471e(0x80)]){logger[_0x44471e(0xd6)](_0x1c52c2[_0x44471e(0x169)]);return;}this[_0x44471e(0x83)]=await helper['startLocalBinary'](this[_0x44471e(0xd3)]),logger['info'](_0x1c52c2[_0x44471e(0x94)]);}catch(_0x3cb40d){logger[_0x44471e(0xd6)](_0x3cb40d);throw new Error(_0x3cb40d[_0x44471e(0x15b)]());}}async[a94_0x2d6f19(0xb3)](){const _0x1af183=a94_0x2d6f19,_0x386b12={};_0x386b12['scSpE']='Local\x20binary\x20stopped',_0x386b12['hBKsM']=_0x1af183(0xe1);const _0x26ed1b=_0x386b12;if(this[_0x1af183(0x83)]&&this[_0x1af183(0x83)][_0x1af183(0x163)]())try{await helper[_0x1af183(0x135)](this[_0x1af183(0x83)]),logger['info'](_0x26ed1b[_0x1af183(0xac)]);}catch(_0x137eb9){logger['error'](_0x26ed1b[_0x1af183(0xbe)],_0x137eb9[_0x1af183(0x92)]);}}async[a94_0x2d6f19(0xa9)](){const _0x1ae68b=a94_0x2d6f19;return PerformanceTester[_0x1ae68b(0xcf)](PerformanceAutEvents['HUB_MANAGEMENT'],async()=>{const _0x7cbb93=_0x1ae68b;await hubAllocator['allocateHub'](this[_0x7cbb93(0xd3)]);})();}async[a94_0x2d6f19(0x85)](){const _0x35d742=a94_0x2d6f19,_0x5c0833={'dKZtZ':function(_0x20afba,_0x3cb2f7){return _0x20afba(_0x3cb2f7);},'advtk':'../ai-sdk-node/bundle','zRhrl':function(_0x100474,_0xdfd75c,_0x233276,_0x528f94,_0x5495f8,_0x527354,_0x3c3b90){return _0x100474(_0xdfd75c,_0x233276,_0x528f94,_0x5495f8,_0x527354,_0x3c3b90);},'fGceo':'BrowserstackHealing.init\x20method\x20timed\x20out','TaVEO':_0x35d742(0xc9),'LETxs':function(_0x544b6b,_0x341d82){return _0x544b6b(_0x341d82);},'beACD':_0x35d742(0x8c),'wsklp':'BrowserstackHealing.init','lRhCy':function(_0x150a63,_0x7ee69f){return _0x150a63(_0x7ee69f);},'ihUii':function(_0x2da70a,_0x232ddb){return _0x2da70a===_0x232ddb;},'TGtXq':'true','IlYjd':function(_0x63e089,_0x429320){return _0x63e089===_0x429320;},'LkUQU':function(_0x231515,_0x19244d){return _0x231515===_0x19244d;},'rJrlC':function(_0x5f3ff8,_0x3a2bac){return _0x5f3ff8===_0x3a2bac;},'RDgGC':_0x35d742(0x99),'bCJlJ':_0x35d742(0x122),'VdTuM':_0x35d742(0x128),'cPgfS':function(_0x344aaf,_0x525dd0){return _0x344aaf(_0x525dd0);},'Bawos':_0x35d742(0x104),'xEJfM':function(_0x1cbfdb,_0x5e323f){return _0x1cbfdb>=_0x5e323f;},'jqOdX':function(_0x5f1414,_0x4e43a9){return _0x5f1414<_0x4e43a9;},'VEkEp':function(_0x4b403f,_0x13d9dc){return _0x4b403f>=_0x13d9dc;},'qlghT':'tcg\x20config\x20setup\x20successful.','iJjfp':_0x35d742(0x125),'BuTfh':function(_0x3f6ade){return _0x3f6ade();}},_0x309db8=PerformanceTester[_0x35d742(0xcf)](_0x5c0833[_0x35d742(0x8d)],async()=>{const _0x3dd78f=_0x35d742;try{const _0x100753=new Date(),_0x27b876=helper['getProxyConfigForTcg'](this['config']),_0x493fd1=_0x5c0833[_0x3dd78f(0x79)](require,path[_0x3dd78f(0x17b)](__dirname,_0x5c0833[_0x3dd78f(0x98)])),_0x58ace6=_0x5c0833['zRhrl'](timeoutPromise,constants[_0x3dd78f(0x87)],_0x5c0833[_0x3dd78f(0x177)],_0x5c0833[_0x3dd78f(0xa3)],_0x100753,this[_0x3dd78f(0xd3)],this[_0x3dd78f(0xa8)]),_0x3b7792={'tcgUrl':constants[_0x3dd78f(0x7e)],'sdkVersion':_0x5c0833[_0x3dd78f(0x137)](require,_0x5c0833['beACD'])[_0x3dd78f(0x179)],'methodUsed':_0x5c0833[_0x3dd78f(0x9d)],'proxyConfig':_0x27b876,'os':os[_0x3dd78f(0x7d)]()};if(_0x27b876&&_0x27b876['proxyUrl']){utilities[_0x3dd78f(0x158)](constants['AI_PROXY_FAILURE'],_0x3b7792,this['config'],this['framework']);return;}const _0x26a2db={};_0x26a2db[_0x3dd78f(0x89)]=_0x27b876;const _0x18a0e0=await Promise[_0x3dd78f(0x13c)]([_0x493fd1[_0x3dd78f(0x11b)](this[_0x3dd78f(0xd3)][_0x3dd78f(0x15f)],this[_0x3dd78f(0xd3)]['userName'],constants[_0x3dd78f(0x7e)],_0x5c0833[_0x3dd78f(0xf5)](require,_0x5c0833[_0x3dd78f(0xd2)])[_0x3dd78f(0x179)],_0x26a2db)['then'](_0x424258=>{return _0x58ace6['cancel'](),_0x424258;}),_0x58ace6]);_0x18a0e0[_0x3dd78f(0x110)]=_0x5c0833[_0x3dd78f(0xb2)](_0x18a0e0[_0x3dd78f(0x110)],_0x5c0833['TGtXq'])||_0x5c0833['IlYjd'](_0x18a0e0[_0x3dd78f(0x110)],!![]);const _0x3409ec=_0x5c0833[_0x3dd78f(0xb2)](this[_0x3dd78f(0xd3)]['selfHeal'],!![])||_0x5c0833['LkUQU'](this[_0x3dd78f(0xd3)][_0x3dd78f(0x162)],_0x5c0833[_0x3dd78f(0x106)]);if(_0x5c0833[_0x3dd78f(0x13a)](_0x18a0e0[_0x3dd78f(0x92)],constants[_0x3dd78f(0x152)])&&_0x3409ec)logger['info'](_0x5c0833[_0x3dd78f(0xf9)]);else{if(!_0x18a0e0[_0x3dd78f(0x8f)]&&_0x5c0833['IlYjd'](_0x18a0e0[_0x3dd78f(0xc0)],0x1f7)&&_0x3409ec)logger['info'](_0x5c0833[_0x3dd78f(0x12c)]),utilities[_0x3dd78f(0x158)](constants[_0x3dd78f(0x131)],_0x3b7792,this[_0x3dd78f(0xd3)],this[_0x3dd78f(0xa8)]);else{if(!_0x18a0e0[_0x3dd78f(0x8f)]&&_0x3409ec){logger['info'](_0x5c0833[_0x3dd78f(0x176)]);const _0x3e0f57={'tcgUrl':constants['TCG_URL'],'sdkVersion':_0x5c0833['cPgfS'](require,_0x5c0833[_0x3dd78f(0xd2)])[_0x3dd78f(0x179)],'methodUsed':_0x5c0833[_0x3dd78f(0x9d)],'proxyConfig':_0x27b876,'os':os[_0x3dd78f(0x7d)]()};utilities[_0x3dd78f(0x158)](constants[_0x3dd78f(0xaf)],_0x3e0f57,this[_0x3dd78f(0xd3)],this[_0x3dd78f(0xa8)]);}else{if(_0x18a0e0[_0x3dd78f(0x8f)]&&!_0x18a0e0['isHealingEnabled']&&_0x3409ec)logger['info'](_0x5c0833[_0x3dd78f(0x7a)]);else{if(_0x5c0833['xEJfM'](_0x18a0e0[_0x3dd78f(0xc0)],0xc8)&&_0x5c0833[_0x3dd78f(0xca)](_0x18a0e0[_0x3dd78f(0xc0)],0x12c))utilities[_0x3dd78f(0x158)](constants[_0x3dd78f(0x88)],_0x3b7792,this[_0x3dd78f(0xd3)],this['framework']);else{if(_0x5c0833[_0x3dd78f(0xfc)](_0x18a0e0[_0x3dd78f(0xc0)],0x190))_0x3b7792[_0x3dd78f(0xc0)]=_0x18a0e0[_0x3dd78f(0xc0)],utilities[_0x3dd78f(0x158)](constants[_0x3dd78f(0x90)],_0x3b7792,this[_0x3dd78f(0xd3)],this[_0x3dd78f(0xa8)]);else!_0x18a0e0[_0x3dd78f(0xc0)]&&utilities[_0x3dd78f(0x158)](constants[_0x3dd78f(0x116)],_0x3b7792,this['config'],this[_0x3dd78f(0xa8)]);}}}}}if(_0x18a0e0[_0x3dd78f(0x8f)]&&_0x18a0e0['isHealingEnabled']){const _0x352513={};_0x352513['tcgAuthConfig']=_0x18a0e0;const _0x280c68=_0x352513;_0x27b876&&(_0x280c68['proxyConfig']=_0x27b876),_0x280c68['framework']=this['framework'],_0x280c68['bstackConfig']=this['config'],helper['setupTcgConfigFile'](_0x280c68),logger[_0x3dd78f(0xd6)](_0x5c0833[_0x3dd78f(0x123)]);}}catch(_0x3d6a77){logger[_0x3dd78f(0xd6)](_0x3dd78f(0x114)+(_0x3d6a77[_0x3dd78f(0x92)]?_0x3d6a77[_0x3dd78f(0x92)]:''));}});await _0x5c0833[_0x35d742(0xe7)](_0x309db8);}[a94_0x2d6f19(0xe3)](){const _0x35117f=a94_0x2d6f19,_0xec50a={'TCmIL':function(_0x574fdd,_0x5aeecc){return _0x574fdd(_0x5aeecc);},'jYluG':_0x35117f(0xdb)};_0xec50a['TCmIL'](require,_0xec50a['jYluG'])();}[a94_0x2d6f19(0x145)](){const _0x5af941=a94_0x2d6f19,_0x1d87e1={};_0x1d87e1[_0x5af941(0x159)]=_0x5af941(0x16a),_0x1d87e1['jyJJc']=_0x5af941(0x17f),_0x1d87e1[_0x5af941(0xa7)]=_0x5af941(0xe9);const _0x4f58b8=_0x1d87e1,_0x4815de=_0xfd1cde=>{const _0xc366b3=_0x5af941,_0x411928=_0x4f58b8['mCZwg'][_0xc366b3(0x97)]('|');let _0x4a2246=0x0;while(!![]){switch(_0x411928[_0x4a2246++]){case'0':logger[_0xc366b3(0xd6)](util[_0xc366b3(0x15a)](_0xfd1cde));continue;case'1':this['unhandledErrors'][_0xc366b3(0xe6)](util[_0xc366b3(0x15a)]('%j',_0xfd1cde));continue;case'2':ClientTroubleShootingService[_0xc366b3(0x108)]();continue;case'3':logger[_0xc366b3(0x150)](_0xfd1cde[_0xc366b3(0x92)]);continue;case'4':PerformanceTester[_0xc366b3(0xa6)](_0xfd1cde);continue;}break;}};process['on'](_0x4f58b8[_0x5af941(0xab)],_0x4815de),process['on'](_0x4f58b8[_0x5af941(0xa7)],_0x4815de);}async['intExitHandler'](_0x4a03e0){const _0x53d9bf=a94_0x2d6f19,_0x20ff75={};_0x20ff75[_0x53d9bf(0x7c)]=_0x53d9bf(0x136),_0x20ff75[_0x53d9bf(0x175)]=function(_0x4c08f3,_0x1b4890){return _0x4c08f3+_0x1b4890;},_0x20ff75[_0x53d9bf(0x130)]=_0x53d9bf(0x132),_0x20ff75['JMUxr']=function(_0x523bd1,_0x5cf9b5){return _0x523bd1+_0x5cf9b5;},_0x20ff75[_0x53d9bf(0xd1)]=_0x53d9bf(0xc5),_0x20ff75[_0x53d9bf(0x144)]=function(_0x4ad92d,_0x1372a8){return _0x4ad92d+_0x1372a8;};const _0x13e408=_0x20ff75,_0xdc3a37=_0x13e408[_0x53d9bf(0x7c)]['split']('|');let _0x54d604=0x0;while(!![]){switch(_0xdc3a37[_0x54d604++]){case'0':if(this[_0x13e408[_0x53d9bf(0x175)](_0x13e408['DERlc'],_0x4a03e0)])return;continue;case'1':await TestHubHandler[_0x53d9bf(0x172)](_0x4a03e0);continue;case'2':logger[_0x53d9bf(0xcb)](_0x13e408[_0x53d9bf(0x14a)](_0x13e408[_0x53d9bf(0xd1)],_0x4a03e0));continue;case'3':this[_0x13e408[_0x53d9bf(0x144)](_0x13e408[_0x53d9bf(0x130)],_0x4a03e0)]=!![];continue;case'4':this['killSignal']=_0x4a03e0;continue;case'5':await ClientTroubleShootingService[_0x53d9bf(0x167)](_0x4a03e0);continue;case'6':await ClientTroubleShootingService[_0x53d9bf(0x108)]();continue;case'7':await BrowserstackCLI[_0x53d9bf(0xb9)]()['stop']();continue;}break;}}['exitHandler'](){const _0x307ab2=a94_0x2d6f19,_0x5cc1a0={'vLJhB':function(_0x17adda,_0x4d458d){return _0x17adda===_0x4d458d;},'dlpHG':_0x307ab2(0x146),'hbHAi':function(_0x177cf2,_0x5dba1b){return _0x177cf2>_0x5dba1b;},'goXEF':function(_0x407e15,_0x539d4a){return _0x407e15(_0x539d4a);},'tRqun':function(_0x53a44c){return _0x53a44c();},'rYOwt':_0x307ab2(0x120)};let _0x5238ff=0x0;return async()=>{const _0x1f21b2=_0x307ab2;_0x5238ff++;if(_0x5cc1a0[_0x1f21b2(0xef)](_0x5238ff,0x1)){helper['checkStopLocalBinaryOnExit'](this[_0x1f21b2(0xa8)])&&await this[_0x1f21b2(0xb3)]();try{logger['debug'](_0x5cc1a0[_0x1f21b2(0x9a)]),await TestHubHandler[_0x1f21b2(0x172)](_0x5238ff),await ClientTroubleShootingService[_0x1f21b2(0x108)](),await BrowserstackCLI[_0x1f21b2(0xb9)]()['stop']('1');}catch(_0x45146a){logger[_0x1f21b2(0xd6)](_0x1f21b2(0xed)+util['format'](_0x45146a));}PerformanceTester[_0x1f21b2(0xf6)](PerformanceEvents[_0x1f21b2(0xc4)]);if(PerformanceTester[_0x1f21b2(0x118)]()){const {measures:_0x2e6594,errors:_0x2a5243}=await PerformanceTester[_0x1f21b2(0x119)](),_0x4c1121={};if(_0x2e6594&&_0x5cc1a0['hbHAi'](_0x2e6594[_0x1f21b2(0x77)],0x0)||_0x2a5243&&_0x5cc1a0['hbHAi'](_0x2a5243[_0x1f21b2(0x77)],0x0)){const _0x3b3be7={};_0x3b3be7[_0x1f21b2(0xfd)]=_0x2e6594,_0x3b3be7[_0x1f21b2(0xb0)]=_0x2a5243,Object[_0x1f21b2(0xe0)](_0x4c1121,_0x3b3be7);}try{const _0x426139=await helper[_0x1f21b2(0x86)](_0x4c1121,this[_0x1f21b2(0xd3)]);logger[_0x1f21b2(0xd6)](_0x1f21b2(0xd0)+_0x5cc1a0[_0x1f21b2(0x102)](getEdsInstrumentationAPIUrl,'')+_0x1f21b2(0xc1)+_0x426139[_0x1f21b2(0xb6)]);}catch(_0x4f9107){logger[_0x1f21b2(0xd6)](_0x1f21b2(0x10f)+_0x5cc1a0[_0x1f21b2(0x102)](getEdsInstrumentationAPIUrl,'')+_0x1f21b2(0x16b)+util[_0x1f21b2(0x15a)](_0x4f9107));}try{fs['writeFileSync'](path[_0x1f21b2(0x17b)](_0x5cc1a0[_0x1f21b2(0x121)](getLogDir),_0x5cc1a0[_0x1f21b2(0x160)]),JSON['stringify'](_0x4c1121));}catch(_0x37935c){logger[_0x1f21b2(0xd6)](_0x1f21b2(0xf7)+_0x37935c);}}}logger&&logger['close'](),fileLogger&&fileLogger[_0x1f21b2(0x15e)]();};}}function a94_0x2f5f(_0x3d7414,_0x1c0378){const _0x5d4bf5=a94_0x5d4b();return a94_0x2f5f=function(_0x2f5fcb,_0x4afecb){_0x2f5fcb=_0x2f5fcb-0x77;let _0xb8cdbe=_0x5d4bf5[_0x2f5fcb];return _0xb8cdbe;},a94_0x2f5f(_0x3d7414,_0x1c0378);}function a94_0x5d4b(){const _0x20c5ed=['RDgGC','zPIap','./percy/utils','VEkEp','measures','1230160vFtThK','getLocalConfig','itAfs','cliConfig','goXEF','Percy\x20started\x20successfully','Healing\x20is\x20not\x20enabled\x20for\x20your\x20group,\x20please\x20contact\x20the\x20admin','rSfjs','TGtXq','HUB\x20URL\x20SET\x20TO\x20TurboScale\x20HUB\x20-\x20','reportFinalDetectionState','percy','true','907840sIjIIz','skipSessionStatus','SIGABRT','default','Failed\x20to\x20send\x20data\x20to\x20','isHealingEnabled','qsRNs','VFKhp','qacdk','Error\x20in\x20setting\x20up\x20tcg\x20authconfig.\x20Error:\x20','errorMessage','INVALID_INIT_RESP_WITH_USER_IMPACT','isUndefined','isEnabled','finalize','warn','init','__isPlaywrightInstalled','normalizeTestReportingEnvVars','codeceptjs','skipSessionName','events.json','tRqun','Something\x20went\x20wrong.\x20Disabling\x20healing\x20for\x20this\x20session.\x20Please\x20try\x20again\x20later.','qlghT','mgNwk','aiHeal:tcgAuth','false','PHtmn','Authentication\x20Failed.\x20Disabling\x20Healing\x20for\x20this\x20session.','playwrightUrl','intExitHandler','ats-repeater','bCJlJ','UMRVk','wBaLZ','3|22|17|16|21|20|4|8|5|14|1|2|11|0|18|19|13|12|9|15|23|10|7|6','DERlc','TCG_DOWN','handled','../bin/v2/modules/loadTestModule','env','stopLocalBinary','0|3|2|4|5|1|6|7','LETxs','browserStackLocalOptions','getAccessKey','rJrlC','FYSja','race','Local\x20binary\x20started\x20successfully','setLogLevel','generateLocalIdentifier','./timeoutPromise','setCredentialsFromYmlConfig','kwHOP','sdkRunId','pLvxd','handleExceptions','Calling\x20Build\x20Stop\x20from\x20ExitHandler','localIdentifier','isTrialGrid','4.5.0','JMUxr','envConfig','getFinalCaps','beforeExit','ordBa','SDK\x20run\x20started\x20with\x20id:\x20','error','customRepeaters','UPGRADE_REQUIRED','?caps=','../bin/v2/browserstackCLI','KfkZq','getLocalIdentifier','vUTgh','fireFunnelTestEvent','mCZwg','format','toString','uuid','No\x20config\x20provided.','close','accessKey','rYOwt','getPackageVersion','selfHeal','isRunning','isTurboScaleSession','wTYRL','Could\x20not\x20start\x20percy,\x20check\x20percy\x20logs\x20for\x20info.','reportProcessInterruptionSituation','../hubAllocationMethods','cGoji','3|0|1|4|2','\x20with\x20error\x20','sanitizeCaps','jSQrF','./performance/constants','PcSRt','nKzQv','turboScaleUrl','stop','setupPercy','initialize','zHqpp','VdTuM','fGceo','oEaCW','version','FRAMEWORK','join','./performance/performance-tester','SjbnQ','mpMqW','unhandledRejection','length','preInitialize','dKZtZ','Bawos','isLTSSession','QdeDY','platform','TCG_URL','zGBIm','skipBinaryInitialisation','turboScaleGridDetails','SIGHUP','browserstackLocal','isTrue','setupTCGAuth','sendToEDS','TCG_AUTH_TIMEOUT','AI_INIT_SUCCESSFUL','proxy','CVlNf','SIGINT','../../package.json','iJjfp','setupBrowserstackLocal','isAuthenticated','AI_INIT_FAILURE','isBrowserstackInfra','message','EcLTu','FuspK','winstonLogger','includes','split','advtk','Please\x20upgrade\x20Browserstack\x20SDK\x20to\x20the\x20latest\x20version\x20to\x20use\x20the\x20self-healing\x20feature.','dlpHG','localOptions','compareVersions','wsklp','ElUvE','2310453KgItOw','integrations','toLowerCase','SrxSO','TaVEO','kgKvt','./helper','captureError','iYQVy','framework','setUpHubUrl','657269qyDCyG','jyJJc','scSpE','Error\x20in\x20percy\x20setup\x20','exitHandler','TCG_AUTH_FAILURE','exceptions','getConfigPath','ihUii','stopBrowserstackLocal','wWZSO','parallelsPerPlatform','statusCode','stopPercy','Error\x20occured\x20while\x20stopping\x20percy','getInstance','pSMmI','BROWSERSTACK_PERCY','selenium-webdriver','XZpxG','hBKsM','useW3C','status','\x20with\x20response\x20','LgXeT','SIGTERM','SDK_CLEANUP','Shutdown\x20triggered\x20by\x20','nNMxe','startPercy','3176420BDyony','BrowserstackHealingInitFailed','jqOdX','info','./testhub/utils','SDKTestAttempted','450vCmlTM','measureWrapper','Data\x20sent\x20successfully\x20to\x20','nJiDZ','beACD','config','Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','./utilities','debug','platforms','url','custom-repeater','Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20','./setKeepAlive','isNotUndefined','getHubUrl','51443bZFPHE','win32','assign','Error\x20occured\x20while\x20stopping\x20local\x20binary','BROWSERSTACK_TURBOSCALE','setupKeepAlive','532976DCMsCT','bind','push','BuTfh','OTVKK','uncaughtException','SIGBREAK','turboScaleOptions','path','Error\x20in\x20sending\x20testhub\x20stop:\x20','setProxySettings','vLJhB','setCLICaps','testContextOptions','requireSeleniumWebdriverCheck','startMonitoring','setBrowserstackInfraFromConfig','lRhCy','end','Error\x20in\x20writing\x20events\x20to\x20file\x20','forceLocal'];a94_0x5d4b=function(){return _0x20c5ed;};return a94_0x5d4b();}exports[a94_0x2d6f19(0x10e)]=BrowserStackSetup;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a95_0x5edacd=a95_0x3a10;(function(_0x47c19f,_0x72ff19){const _0x82b933=a95_0x3a10,_0xebcbb3=_0x47c19f();while(!![]){try{const _0x5938c6=parseInt(_0x82b933(0x147))/0x1+parseInt(_0x82b933(0x127))/0x2*(-parseInt(_0x82b933(0x1bf))/0x3)+-parseInt(_0x82b933(0x15b))/0x4*(parseInt(_0x82b933(0x15f))/0x5)+-parseInt(_0x82b933(0x1d0))/0x6*(-parseInt(_0x82b933(0x128))/0x7)+parseInt(_0x82b933(0x169))/0x8*(parseInt(_0x82b933(0x172))/0x9)+parseInt(_0x82b933(0x1d2))/0xa+parseInt(_0x82b933(0x124))/0xb;if(_0x5938c6===_0x72ff19)break;else _0xebcbb3['push'](_0xebcbb3['shift']());}catch(_0x54f6ee){_0xebcbb3['push'](_0xebcbb3['shift']());}}}(a95_0x42cd,0x5d370));const util=require(a95_0x5edacd(0x194)),logger=require(a95_0x5edacd(0x1d1))['winstonLogger'],accessibilityHelper=require(a95_0x5edacd(0x1aa)),globals=require(a95_0x5edacd(0x148)),scripts=require(a95_0x5edacd(0x1de)),PerformanceTester=require(a95_0x5edacd(0x149)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a95_0x5edacd(0x129)),BrowserstackCLI=require(a95_0x5edacd(0x1dc));let playwrightA11yHelper=null;try{playwrightA11yHelper=require(a95_0x5edacd(0x170));}catch(a95_0x3a1e8c){logger['debug'](a95_0x5edacd(0x13b));}const a95_0x119793={};a95_0x119793[a95_0x5edacd(0x146)]=0x1,a95_0x119793[a95_0x5edacd(0x156)]=0x7530,a95_0x119793[a95_0x5edacd(0x12e)]=0x7530;function a95_0x42cd(){const _0x69a975=['xsPTF','FKAyl','vzjiI','ifeZQ','isRunning','race','function','uJCZT','util','rXLXw','TRzHW','selenium-webdriver','isPlaywright','undefined','isAccessibilityPlatform','ms\x20using\x20setTimeouts\x20API','WebDriver','GLNWA','__workerDetails','getCurrentUrl','xYalX','PxgWn','type','rAaoa','lEFDY','Cannot\x20set\x20script\x20timeout:\x20not\x20a\x20Selenium\x20WebDriver','uWLKv','results','WPcIp','scannerProcessingTimeout','./helper','bfZnx','Scan\x20attempt\x20','manage','Selenium\x20WebDriver\x20manage()\x20method\x20not\x20available,\x20skipping\x20timeout\x20setting','Accessibility\x20retry\x20configuration\x20updated:\x20','evaluate','PXFCT','Set\x20Playwright\x20page\x20default\x20timeout\x20to\x20','wNYyB','error','Failed\x20to\x20set\x20Playwright\x20script\x20timeout:\x20','mchDP',',\x20cannot\x20save\x20accessibility\x20results\x20with\x20retry.','JlPzs','vzkju','getGlobal','page','Jtdzv','url','playwright-page','755172fIIArI','value','bstackA11yShouldScan','isAccessibilityAutomationSession','ZCTfT',',\x20cannot\x20perform\x20scan\x20with\x20retry.','QBwFf','BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT','Skipping\x20timeout\x20setting\x20for\x20','Failed\x20to\x20retrieve\x20accessibility\x20results\x20(','reason','debug','DGXhA','getAccessibilityResultsWithRetry','gwYzr','status','performScanWithRetry','62022TyNvmS','../logger','2794360hsZCGs','driverType','getCapabilities','Failed\x20to\x20retrieve\x20accessibility\x20summary\x20(','rIcvj',').\x20Last\x20error:\x20','Selenium\x20WebDriver\x20timeout\x20API\x20not\x20available,\x20skipping\x20timeout\x20setting','setPlaywrightScriptTimeout','AHTPy',').\x20Error:\x20','../../bin/v2/browserstackCLI','EbqSP','./scripts','PpJuS','vrKvg','getRetryConfig','setDefaultTimeout','goto','dzZgb','Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20','cXDjH','ijrPh','constructor','1641332gJzncv','name','JrlUX','4eCgHAq','7ZOyyzJ','../performance/constants','getAccessibilityResults','NXnlg','performScan','LuWzZ','defaultTimeoutMs','SHIcw','getInstance','HXJcf','Bfblh','currentTest','script','executeAsyncScript','Accessibility\x20scan\x20attempt\x20','saveTestResults','setTimeouts','jyYoe','STnNb','Playwright\x20accessibility\x20helper\x20not\x20available','MRqtb','UUxGq','uqKse','scanSucceeded','Comprehensive\x20accessibility\x20scan\x20failed\x20(','allSettled','message','PsCWa','All\x20accessibility\x20results\x20save\x20attempts\x20failed\x20(','updateRetryConfig','maxRetries','439032ZMSrJN','../globals','../performance/performance-tester','Ltfmf','kSjZl','info','warn','browserstackSessionName','XrpkC','HpRaW','fulfilled','ARDvV',')\x20with\x20error:\x20','performComprehensiveAccessibilityScanWithRetry','):\x20','timeoutMs','SyGIj','stringify','summary','saveAccessibilityResultsWithRetry','133028JbKQLJ','Accessibility\x20results\x20retrieval\x20attempt\x20','AEjSc','ciifk','15gjxXOj','accessibilityPlatform','NHygh','ziCce','sgoOQ','getSession','dbZYj','VnCRy','setScriptTimeout','All\x20accessibility\x20results\x20summary\x20retrieval\x20attempts\x20failed\x20(','14760IBVGmw','options','Accessibility\x20results\x20save\x20attempt\x20','measureWrapper','Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20','Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20','timeouts','../../bin/playwright/accessibility-helper','FxECN','522AKKwUE',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary\x20with\x20retry.','capabilitiesList','ikHaq','HZKmT','setSeleniumScriptTimeout','Failed\x20to\x20set\x20Selenium\x20script\x20timeout:\x20','Accessibility\x20results\x20summary\x20retrieved\x20successfully\x20on\x20attempt\x20','USgog','xjbYJ','WyKYR','max','Unknown\x20error','env','LEvOM','kpGCG','KINbN','\x20for\x20method:\x20','aQbYR','\x20failed\x20(','getAccessibilityModule','Page','All\x20accessibility\x20results\x20retrieval\x20attempts\x20failed\x20(','All\x20accessibility\x20scan\x20attempts\x20failed\x20for\x20method:\x20','getAccessibilityResultsSummary','TNInx'];a95_0x42cd=function(){return _0x69a975;};return a95_0x42cd();}function a95_0x3a10(_0x524867,_0x1a8e4e){const _0x42cd28=a95_0x42cd();return a95_0x3a10=function(_0x3a105f,_0x47854b){_0x3a105f=_0x3a105f-0x11e;let _0x462e0d=_0x42cd28[_0x3a105f];return _0x462e0d;},a95_0x3a10(_0x524867,_0x1a8e4e);}const RETRY_CONFIG=a95_0x119793,setConfigTimeout=(_0x4ceeca,_0x2e9377=null)=>{const _0x55c14f=a95_0x5edacd,_0x4ce337={'HZKmT':function(_0x2075e1,_0x21d6ac){return _0x2075e1===_0x21d6ac;},'ziCce':_0x55c14f(0x1a9),'PsCWa':function(_0x428446,_0x38abae){return _0x428446*_0x38abae;},'dzZgb':function(_0x1890f2,_0x386290){return _0x1890f2(_0x386290);}};if(BrowserstackCLI[_0x55c14f(0x130)]()[_0x55c14f(0x190)]()&&BrowserstackCLI[_0x55c14f(0x130)]()[_0x55c14f(0x186)]()){const _0x1265d7=BrowserstackCLI[_0x55c14f(0x130)]()[_0x55c14f(0x186)]()['accessibilityConfig'],_0x1c48c0=_0x1265d7[_0x55c14f(0x16a)][_0x55c14f(0x174)]||[];for(const _0x14483b of _0x1c48c0){_0x4ce337[_0x55c14f(0x176)](_0x14483b[_0x55c14f(0x125)],_0x4ce337[_0x55c14f(0x162)])&&_0x4ce337[_0x55c14f(0x176)](_0x2e9377,null)&&(_0x4ceeca[_0x55c14f(0x156)]=_0x4ce337['PsCWa'](_0x4ce337[_0x55c14f(0x11f)](parseInt,_0x14483b[_0x55c14f(0x1c0)]),0x3e8));}}else process['env'][_0x55c14f(0x1c6)]&&(_0x4ceeca[_0x55c14f(0x156)]=_0x4ce337[_0x55c14f(0x143)](_0x4ce337['dzZgb'](parseInt,process[_0x55c14f(0x17f)]['BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT']),0x3e8));},detectDriverType=_0x193651=>{const _0x4410e0=a95_0x5edacd,_0x2e1323={};_0x2e1323[_0x4410e0(0x13e)]='unknown',_0x2e1323[_0x4410e0(0x18c)]=function(_0x570918,_0x584fd5){return _0x570918===_0x584fd5;},_0x2e1323[_0x4410e0(0x15d)]=_0x4410e0(0x192),_0x2e1323[_0x4410e0(0x171)]=function(_0x4e1962,_0xbd3556){return _0x4e1962===_0xbd3556;},_0x2e1323[_0x4410e0(0x1cd)]=function(_0x12ec2c,_0x5a7518){return _0x12ec2c===_0x5a7518;},_0x2e1323[_0x4410e0(0x18d)]=_0x4410e0(0x1be),_0x2e1323['LDDGs']=function(_0x3ea606,_0x1bf41d){return _0x3ea606===_0x1bf41d;},_0x2e1323[_0x4410e0(0x17a)]=function(_0x4bbc6f,_0x2f586b){return _0x4bbc6f===_0x2f586b;},_0x2e1323[_0x4410e0(0x161)]=_0x4410e0(0x197),_0x2e1323[_0x4410e0(0x14a)]=function(_0x4353db,_0x332b5e){return _0x4353db===_0x332b5e;},_0x2e1323[_0x4410e0(0x1a6)]=_0x4410e0(0x187),_0x2e1323[_0x4410e0(0x184)]=_0x4410e0(0x19c),_0x2e1323[_0x4410e0(0x132)]=function(_0x12fd36,_0x2408e5){return _0x12fd36===_0x2408e5;},_0x2e1323[_0x4410e0(0x1cb)]='Playwright',_0x2e1323[_0x4410e0(0x1b3)]='playwright-codecept-driver',_0x2e1323[_0x4410e0(0x1da)]=function(_0x17e590,_0x5c89ba){return _0x17e590||_0x5c89ba;},_0x2e1323[_0x4410e0(0x1a1)]=_0x4410e0(0x199);const _0x18b391=_0x2e1323;if(!_0x193651){const _0x26cb86={};return _0x26cb86[_0x4410e0(0x198)]=![],_0x26cb86['type']=_0x18b391[_0x4410e0(0x13e)],_0x26cb86;}if(_0x18b391[_0x4410e0(0x18c)](typeof _0x193651[_0x4410e0(0x1b0)],_0x18b391[_0x4410e0(0x15d)])&&_0x18b391[_0x4410e0(0x171)](typeof _0x193651[_0x4410e0(0x1bd)],_0x18b391[_0x4410e0(0x15d)])&&_0x18b391[_0x4410e0(0x1cd)](typeof _0x193651[_0x4410e0(0x11e)],_0x18b391[_0x4410e0(0x15d)])){const _0x3df2e0={};return _0x3df2e0[_0x4410e0(0x198)]=!![],_0x3df2e0[_0x4410e0(0x1a2)]=_0x18b391['FKAyl'],_0x3df2e0;}if(_0x18b391['LDDGs'](typeof _0x193651[_0x4410e0(0x135)],_0x18b391[_0x4410e0(0x15d)])&&_0x18b391['USgog'](typeof _0x193651[_0x4410e0(0x1d4)],_0x18b391[_0x4410e0(0x15d)])){const _0x1c12a1={};return _0x1c12a1[_0x4410e0(0x198)]=![],_0x1c12a1[_0x4410e0(0x1a2)]=_0x18b391[_0x4410e0(0x161)],_0x1c12a1;}const _0x3986bd=_0x193651[_0x4410e0(0x123)]?.[_0x4410e0(0x125)];if(_0x18b391[_0x4410e0(0x14a)](_0x3986bd,_0x18b391[_0x4410e0(0x1a6)])){const _0x34fdff={};return _0x34fdff[_0x4410e0(0x198)]=!![],_0x34fdff[_0x4410e0(0x1a2)]=_0x18b391[_0x4410e0(0x18d)],_0x34fdff;}if(_0x18b391[_0x4410e0(0x1cd)](_0x3986bd,_0x18b391[_0x4410e0(0x184)])){const _0x380644={};return _0x380644[_0x4410e0(0x198)]=![],_0x380644['type']=_0x18b391[_0x4410e0(0x161)],_0x380644;}if(_0x18b391[_0x4410e0(0x132)](_0x3986bd,_0x18b391['DGXhA'])){const _0x46bfb4={};return _0x46bfb4['isPlaywright']=!![],_0x46bfb4[_0x4410e0(0x1a2)]=_0x18b391[_0x4410e0(0x1b3)],_0x46bfb4;}logger[_0x4410e0(0x14d)]('Unknown\x20driver/page\x20type:\x20'+_0x18b391[_0x4410e0(0x1da)](_0x3986bd,_0x18b391[_0x4410e0(0x1a1)]));const _0x351e41={};return _0x351e41[_0x4410e0(0x198)]=![],_0x351e41[_0x4410e0(0x1a2)]=_0x18b391[_0x4410e0(0x13e)],_0x351e41;},withTimeout=(_0x44254d,_0xa11697)=>{const _0x51b64b=a95_0x5edacd;return Promise[_0x51b64b(0x191)]([_0x44254d,new Promise((_0x417cc7,_0x17429c)=>setTimeout(()=>_0x17429c(new Error('Operation\x20timed\x20out\x20after\x20'+_0xa11697+'ms')),_0xa11697))]);};exports[a95_0x5edacd(0x1cf)]=async(_0x3d628b,_0x16aefc=null,_0x354cb7=null)=>{const _0x3769d2=a95_0x5edacd,_0x1a68ce={'ifeZQ':function(_0x3a215c,_0x50e25d){return _0x3a215c&&_0x50e25d;},'PXFCT':function(_0x2f3a60,_0x48f070,_0x2971c3){return _0x2f3a60(_0x48f070,_0x2971c3);},'mchDP':function(_0x3343b8,_0x1e41d3){return _0x3343b8===_0x1e41d3;},'NXnlg':'playwright-codecept-driver','kSjZl':function(_0x59b654,_0x12deff,_0x4ae7e1){return _0x59b654(_0x12deff,_0x4ae7e1);},'XrpkC':function(_0x59548a,_0x4ffe6a){return _0x59548a(_0x4ffe6a);},'LEvOM':'isAccessibilityPlatform','uJCZT':_0x3769d2(0x1c1),'pAGCk':'unknown_method','jyYoe':function(_0x93aa44,_0x405e90){return _0x93aa44===_0x405e90;},'SyGIj':_0x3769d2(0x192),'ARDvV':function(_0x5a33a4,_0x11b3c3){return _0x5a33a4===_0x11b3c3;},'zdvWM':function(_0x10f390,_0x5c524a){return _0x10f390===_0x5c524a;},'vrKvg':function(_0x595834,_0x9e5c1e){return _0x595834<=_0x9e5c1e;},'cXDjH':function(_0x330dd9,_0x27b275){return _0x330dd9+_0x27b275;},'bfpSp':'Unknown\x20error'},{isPlaywright:_0x2d6c37,type:_0x43fe17}=_0x1a68ce[_0x3769d2(0x14f)](detectDriverType,_0x3d628b),_0x54643f=_0x2d6c37?global[_0x3769d2(0x160)]:accessibilityHelper[_0x3769d2(0x1c2)]()&&globals['getGlobal'](_0x1a68ce[_0x3769d2(0x180)])&&globals[_0x3769d2(0x1ba)](_0x1a68ce[_0x3769d2(0x193)]);if(!_0x54643f)return logger['warn'](_0x3769d2(0x16e)+_0x43fe17+_0x3769d2(0x1c4)),![];const _0x5a18c9=_0x16aefc||global[_0x3769d2(0x14e)]||_0x1a68ce['pAGCk'];let _0x1ab811=null;const _0x1883d0={'testhub_btcer_uuid':global[_0x3769d2(0x19e)]?.[_0x3769d2(0x133)]?.['id'],'url':_0x1a68ce[_0x3769d2(0x139)](typeof _0x3d628b[_0x3769d2(0x1bd)],_0x1a68ce[_0x3769d2(0x157)])?await _0x3d628b[_0x3769d2(0x1bd)]():_0x1a68ce[_0x3769d2(0x152)](typeof _0x3d628b[_0x3769d2(0x19f)],_0x1a68ce['SyGIj'])?await _0x3d628b['getCurrentUrl']():'','automate_session_id':_0x1a68ce['zdvWM'](typeof _0x3d628b[_0x3769d2(0x164)],_0x1a68ce[_0x3769d2(0x157)])?(await _0x3d628b[_0x3769d2(0x164)]())['getId']():''};for(let _0x311123=0x1;_0x1a68ce[_0x3769d2(0x1e0)](_0x311123,_0x1a68ce['cXDjH'](RETRY_CONFIG[_0x3769d2(0x146)],0x1));_0x311123++){try{return logger[_0x3769d2(0x1ca)](_0x3769d2(0x136)+_0x311123+'/'+_0x1a68ce[_0x3769d2(0x121)](RETRY_CONFIG[_0x3769d2(0x146)],0x1)+_0x3769d2(0x183)+_0x5a18c9+'\x20('+_0x43fe17+')'),await PerformanceTester[_0x3769d2(0x16c)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x25c2d3=_0x3769d2;let _0x5b785d;if(_0x1a68ce[_0x25c2d3(0x18f)](_0x2d6c37,playwrightA11yHelper)){_0x1a68ce[_0x25c2d3(0x1b1)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x25c2d3(0x1d9)](_0x3d628b,RETRY_CONFIG[_0x25c2d3(0x156)]);let _0x420818=_0x3d628b;_0x1a68ce[_0x25c2d3(0x1b6)](_0x43fe17,_0x1a68ce[_0x25c2d3(0x12b)])&&(_0x420818=_0x3d628b[_0x25c2d3(0x1bb)]),_0x5b785d=await _0x1a68ce[_0x25c2d3(0x1b1)](withTimeout,playwrightA11yHelper[_0x25c2d3(0x12c)](_0x420818,_0x5a18c9),RETRY_CONFIG[_0x25c2d3(0x156)]),await exports[_0x25c2d3(0x1d9)](_0x3d628b,RETRY_CONFIG[_0x25c2d3(0x12e)]);}else await exports['setSeleniumScriptTimeout'](_0x3d628b,RETRY_CONFIG['timeoutMs']),_0x5b785d=await _0x1a68ce[_0x25c2d3(0x14b)](withTimeout,accessibilityHelper[_0x25c2d3(0x12c)](_0x3d628b,_0x5a18c9),RETRY_CONFIG[_0x25c2d3(0x156)]),await exports[_0x25c2d3(0x177)](_0x3d628b,RETRY_CONFIG['defaultTimeoutMs']);logger[_0x25c2d3(0x1ca)](_0x25c2d3(0x1ac)+_0x311123+'\x20completed\x20successfully.');},{'command':_0x5a18c9,..._0x1883d0})(),logger['info']('Accessibility\x20scan\x20succeeded\x20on\x20attempt\x20'+_0x311123+'.'),!![];}catch(_0x58f16e){_0x1ab811=_0x58f16e,logger[_0x3769d2(0x1ca)](_0x3769d2(0x136)+_0x311123+'\x20failed\x20for\x20method:\x20'+_0x5a18c9+'\x20('+_0x43fe17+_0x3769d2(0x1db)+_0x58f16e['message']);}}return logger[_0x3769d2(0x1b4)](_0x3769d2(0x189)+_0x5a18c9+'\x20('+_0x43fe17+_0x3769d2(0x153)+(_0x1ab811?.[_0x3769d2(0x142)]||_0x1a68ce['bfpSp'])),![];},exports[a95_0x5edacd(0x1cc)]=async(_0x1d114a,_0xbcfd5a)=>{const _0x102604=a95_0x5edacd,_0xc14ff7={'Nmmgg':function(_0x4ce7bb,_0x4bc0d1){return _0x4ce7bb(_0x4bc0d1);},'gPxad':'isAccessibilityPlatform','STnNb':_0x102604(0x1c1),'WyKYR':function(_0x22bbfa,_0x31185d){return _0x22bbfa<=_0x31185d;},'VnCRy':function(_0x2a0eab,_0x3a8c0c){return _0x2a0eab+_0x3a8c0c;},'KINbN':function(_0x3b4810,_0x1e17bd){return _0x3b4810+_0x1e17bd;},'ciifk':function(_0x136e79,_0x3b71d2){return _0x136e79&&_0x3b71d2;},'rIcvj':function(_0x57d4ca,_0x2ee45b,_0x71069b){return _0x57d4ca(_0x2ee45b,_0x71069b);},'ikHaq':function(_0x39ab0e,_0x3c8090,_0x3dd554){return _0x39ab0e(_0x3c8090,_0x3dd554);},'WPcIp':_0x102604(0x17e)},{isPlaywright:_0x1c5acb,type:_0x3388b8}=_0xc14ff7['Nmmgg'](detectDriverType,_0x1d114a),_0x49846c=_0x1c5acb?_0xbcfd5a['accessibilityPlatform']:accessibilityHelper['isAccessibilityAutomationSession']()&&globals['getGlobal'](_0xc14ff7['gPxad'])&&globals[_0x102604(0x1ba)](_0xc14ff7[_0x102604(0x13a)]);if(!_0x49846c)return logger[_0x102604(0x14d)](_0x102604(0x16e)+_0x3388b8+',\x20cannot\x20retrieve\x20Accessibility\x20results\x20with\x20retry.'),[];let _0x13ef29=null;for(let _0x2aeca1=0x1;_0xc14ff7[_0x102604(0x17c)](_0x2aeca1,_0xc14ff7[_0x102604(0x166)](RETRY_CONFIG[_0x102604(0x146)],0x1));_0x2aeca1++){try{logger['debug']('Accessibility\x20results\x20retrieval\x20attempt\x20'+_0x2aeca1+'/'+_0xc14ff7[_0x102604(0x182)](RETRY_CONFIG[_0x102604(0x146)],0x1)+'\x20('+_0x3388b8+')');let _0x673742;return _0xc14ff7[_0x102604(0x15e)](_0x1c5acb,playwrightA11yHelper)?(_0xc14ff7[_0x102604(0x1d6)](setConfigTimeout,RETRY_CONFIG,null),await exports['setPlaywrightScriptTimeout'](_0x1d114a,RETRY_CONFIG['timeoutMs']),_0x673742=await _0xc14ff7['ikHaq'](withTimeout,playwrightA11yHelper[_0x102604(0x12a)](_0x1d114a),RETRY_CONFIG[_0x102604(0x156)]),await exports[_0x102604(0x1d9)](_0x1d114a,RETRY_CONFIG['defaultTimeoutMs'])):(await exports[_0x102604(0x177)](_0x1d114a,RETRY_CONFIG[_0x102604(0x156)]),_0x673742=await _0xc14ff7[_0x102604(0x175)](withTimeout,accessibilityHelper[_0x102604(0x12a)](_0x1d114a,_0xbcfd5a),RETRY_CONFIG[_0x102604(0x156)]),await exports[_0x102604(0x177)](_0x1d114a,RETRY_CONFIG[_0x102604(0x12e)])),logger['info']('Accessibility\x20results\x20retrieved\x20successfully\x20on\x20attempt\x20'+_0x2aeca1+'\x20('+_0x3388b8+')'),_0x673742;}catch(_0x30f2e7){_0x13ef29=_0x30f2e7,logger[_0x102604(0x14d)](_0x102604(0x15c)+_0x2aeca1+_0x102604(0x185)+_0x3388b8+_0x102604(0x1db)+_0x30f2e7[_0x102604(0x142)]);}}return logger[_0x102604(0x1b4)](_0x102604(0x188)+_0x3388b8+_0x102604(0x1d7)+(_0x13ef29?.['message']||_0xc14ff7[_0x102604(0x1a8)])),[];},exports['getAccessibilityResultsSummaryWithRetry']=async(_0xf7af9e,_0x35da25)=>{const _0x3a2d7d=a95_0x5edacd,_0x2f7945={'vzjiI':function(_0x22446c,_0x598c59){return _0x22446c(_0x598c59);},'jKixE':_0x3a2d7d(0x19a),'VcLxn':_0x3a2d7d(0x1c1),'ijrPh':function(_0x59dc17,_0x300daf){return _0x59dc17<=_0x300daf;},'xYalX':function(_0x48f94c,_0x56ead6){return _0x48f94c+_0x56ead6;},'LuWzZ':function(_0x4bd577,_0x360ca5){return _0x4bd577&&_0x360ca5;},'PpJuS':function(_0x3f238c,_0x50db5e,_0x223f36){return _0x3f238c(_0x50db5e,_0x223f36);},'ZCTfT':_0x3a2d7d(0x17e)},{isPlaywright:_0x5c84b7,type:_0x358d99}=_0x2f7945[_0x3a2d7d(0x18e)](detectDriverType,_0xf7af9e),_0x9a2b37=_0x5c84b7?_0x35da25['accessibilityPlatform']:accessibilityHelper['isAccessibilityAutomationSession']()&&globals[_0x3a2d7d(0x1ba)](_0x2f7945['jKixE'])&&globals[_0x3a2d7d(0x1ba)](_0x2f7945['VcLxn']);if(!_0x9a2b37)return logger[_0x3a2d7d(0x14d)](_0x3a2d7d(0x16e)+_0x358d99+_0x3a2d7d(0x173)),{};let _0x4e73c3=null;for(let _0x4cb0a3=0x1;_0x2f7945[_0x3a2d7d(0x122)](_0x4cb0a3,_0x2f7945[_0x3a2d7d(0x1a0)](RETRY_CONFIG[_0x3a2d7d(0x146)],0x1));_0x4cb0a3++){try{logger['debug'](_0x3a2d7d(0x16d)+_0x4cb0a3+'/'+_0x2f7945[_0x3a2d7d(0x1a0)](RETRY_CONFIG[_0x3a2d7d(0x146)],0x1)+'\x20('+_0x358d99+')');let _0x2b3af9;return _0x2f7945[_0x3a2d7d(0x12d)](_0x5c84b7,playwrightA11yHelper)?(_0x2f7945[_0x3a2d7d(0x1df)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x3a2d7d(0x1d9)](_0xf7af9e,RETRY_CONFIG[_0x3a2d7d(0x156)]),_0x2b3af9=await _0x2f7945[_0x3a2d7d(0x1df)](withTimeout,playwrightA11yHelper[_0x3a2d7d(0x18a)](_0xf7af9e),RETRY_CONFIG[_0x3a2d7d(0x156)]),await exports[_0x3a2d7d(0x1d9)](_0xf7af9e,RETRY_CONFIG[_0x3a2d7d(0x12e)])):(await exports[_0x3a2d7d(0x177)](_0xf7af9e,RETRY_CONFIG[_0x3a2d7d(0x156)]),_0x2b3af9=await _0x2f7945[_0x3a2d7d(0x1df)](withTimeout,accessibilityHelper[_0x3a2d7d(0x18a)](_0xf7af9e,_0x35da25),RETRY_CONFIG['timeoutMs']),await exports[_0x3a2d7d(0x177)](_0xf7af9e,RETRY_CONFIG[_0x3a2d7d(0x12e)])),logger[_0x3a2d7d(0x14c)](_0x3a2d7d(0x179)+_0x4cb0a3+'\x20('+_0x358d99+')'),_0x2b3af9;}catch(_0x20ab9e){_0x4e73c3=_0x20ab9e,logger[_0x3a2d7d(0x14d)]('Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20'+_0x4cb0a3+_0x3a2d7d(0x185)+_0x358d99+_0x3a2d7d(0x1db)+_0x20ab9e[_0x3a2d7d(0x142)]);}}return logger['error'](_0x3a2d7d(0x168)+_0x358d99+_0x3a2d7d(0x1d7)+(_0x4e73c3?.['message']||_0x2f7945[_0x3a2d7d(0x1c3)])),{};},exports[a95_0x5edacd(0x154)]=async(_0x995235,_0x38efad,_0x1b1700=null)=>{const _0x1e746d=a95_0x5edacd,_0x3cbccc={'QBwFf':function(_0x2d3df7,_0x4fd30a){return _0x2d3df7(_0x4fd30a);},'xjbYJ':function(_0x247af4,_0x31d017){return _0x247af4===_0x31d017;},'vzkju':_0x1e746d(0x151),'UUxGq':function(_0x40d2c9,_0x4f359c){return _0x40d2c9===_0x4f359c;},'xVSaI':function(_0x149ddb,_0x9e303d){return _0x149ddb===_0x9e303d;},'sgoOQ':'rejected','JlPzs':function(_0x15b5af,_0x319dad){return _0x15b5af===_0x319dad;},'ivHZg':'Unknown\x20error\x20during\x20comprehensive\x20accessibility\x20scan'},{isPlaywright:_0x510d1a,type:_0x524ede}=_0x3cbccc[_0x1e746d(0x1c5)](detectDriverType,_0x995235),_0x722b50={};_0x722b50['scanSucceeded']=![],_0x722b50['results']=[],_0x722b50[_0x1e746d(0x159)]={},_0x722b50['error']=null,_0x722b50[_0x1e746d(0x1d3)]=_0x524ede;const _0x313187=_0x722b50;try{_0x313187[_0x1e746d(0x13f)]=await exports['performScanWithRetry'](_0x995235,_0x1b1700);if(_0x313187['scanSucceeded']){const [_0x2ec93b,_0x4e0e1d]=await Promise[_0x1e746d(0x141)]([exports[_0x1e746d(0x1cc)](_0x995235,_0x38efad),exports['getAccessibilityResultsSummaryWithRetry'](_0x995235,_0x38efad)]);_0x313187[_0x1e746d(0x1a7)]=_0x3cbccc[_0x1e746d(0x17b)](_0x2ec93b[_0x1e746d(0x1ce)],_0x3cbccc[_0x1e746d(0x1b9)])?_0x2ec93b[_0x1e746d(0x1c0)]:[],_0x313187['summary']=_0x3cbccc[_0x1e746d(0x13d)](_0x4e0e1d[_0x1e746d(0x1ce)],_0x3cbccc[_0x1e746d(0x1b9)])?_0x4e0e1d['value']:{},_0x3cbccc['xVSaI'](_0x2ec93b[_0x1e746d(0x1ce)],_0x3cbccc[_0x1e746d(0x163)])&&logger[_0x1e746d(0x14d)](_0x1e746d(0x1c8)+_0x524ede+_0x1e746d(0x155)+_0x2ec93b[_0x1e746d(0x1c9)]?.[_0x1e746d(0x142)]),_0x3cbccc[_0x1e746d(0x1b8)](_0x4e0e1d['status'],_0x3cbccc['sgoOQ'])&&logger[_0x1e746d(0x14d)](_0x1e746d(0x1d5)+_0x524ede+_0x1e746d(0x155)+_0x4e0e1d[_0x1e746d(0x1c9)]?.[_0x1e746d(0x142)]);}}catch(_0x4552bc){_0x313187[_0x1e746d(0x1b4)]=_0x4552bc['message']||_0x3cbccc['ivHZg'],logger[_0x1e746d(0x1b4)](_0x1e746d(0x140)+_0x524ede+_0x1e746d(0x155)+_0x313187[_0x1e746d(0x1b4)]);}return _0x313187;},exports[a95_0x5edacd(0x145)]=_0x1e609f=>{const _0x34b221=a95_0x5edacd,_0x40491c={};_0x40491c['GLNWA']=function(_0x22b1db,_0x376ee2){return _0x22b1db!==_0x376ee2;};const _0x562d0b=_0x40491c;_0x562d0b['GLNWA'](_0x1e609f[_0x34b221(0x146)],undefined)&&(RETRY_CONFIG[_0x34b221(0x146)]=Math[_0x34b221(0x17d)](0x0,_0x1e609f['maxRetries'])),_0x562d0b[_0x34b221(0x19d)](_0x1e609f['timeoutMs'],undefined)&&(RETRY_CONFIG[_0x34b221(0x156)]=Math['max'](0x3e8,_0x1e609f['timeoutMs'])),logger[_0x34b221(0x1ca)](_0x34b221(0x1af)+JSON[_0x34b221(0x158)](RETRY_CONFIG));},exports[a95_0x5edacd(0x1e1)]=()=>{const _0x1f3188={...RETRY_CONFIG};return _0x1f3188;},exports['isPlaywrightPage']=_0x4fd404=>{const _0x86b08a=a95_0x5edacd,_0x2e81c9={'SHIcw':function(_0x5d0cef,_0x3fcbc6){return _0x5d0cef(_0x3fcbc6);}};return _0x2e81c9[_0x86b08a(0x12f)](detectDriverType,_0x4fd404)[_0x86b08a(0x198)];},exports['isSeleniumDriver']=_0x13d15f=>{const _0x1c5058=a95_0x5edacd,_0x5961e4={'lEFDY':function(_0x311393,_0x2c0b90){return _0x311393(_0x2c0b90);},'dbZYj':function(_0x549601,_0xa2e475){return _0x549601===_0xa2e475;},'bfZnx':_0x1c5058(0x197)},{isPlaywright:_0x5d718e,type:_0x32bbe8}=_0x5961e4[_0x1c5058(0x1a4)](detectDriverType,_0x13d15f);return!_0x5d718e&&_0x5961e4[_0x1c5058(0x165)](_0x32bbe8,_0x5961e4[_0x1c5058(0x1ab)]);},exports[a95_0x5edacd(0x1d9)]=async(_0x3b4884,_0x5f5b50=null)=>{const _0x3a07f0=a95_0x5edacd,_0x150e4d={'mjtbe':function(_0xa23cc8,_0x446ba6){return _0xa23cc8(_0x446ba6);},'FaJYr':function(_0x13772c,_0x3436d5){return _0x13772c===_0x3436d5;},'JrlUX':_0x3a07f0(0x192)},{isPlaywright:_0x5eaf4d,type:_0x28214e}=_0x150e4d['mjtbe'](detectDriverType,_0x3b4884);if(!_0x5eaf4d)return logger['debug'](_0x3a07f0(0x1c7)+_0x28214e+'\x20-\x20not\x20applicable'),!![];const _0x412d45=_0x5f5b50||RETRY_CONFIG[_0x3a07f0(0x12e)];try{return _0x3b4884&&_0x150e4d['FaJYr'](typeof _0x3b4884[_0x3a07f0(0x1e2)],_0x150e4d[_0x3a07f0(0x126)])&&(await _0x3b4884['setDefaultTimeout'](_0x412d45),logger[_0x3a07f0(0x1ca)](_0x3a07f0(0x1b2)+_0x412d45+'ms')),!![];}catch(_0x13bdd4){return logger['warn'](_0x3a07f0(0x1b5)+_0x13bdd4[_0x3a07f0(0x142)]),![];}},exports[a95_0x5edacd(0x177)]=async(_0xdf3f84,_0x532095=null)=>{const _0x34b0f9=a95_0x5edacd,_0x10677f={};_0x10677f[_0x34b0f9(0x131)]=_0x34b0f9(0x1a5),_0x10677f['rAaoa']=function(_0x58536d,_0x276913){return _0x58536d===_0x276913;},_0x10677f['TNInx']=_0x34b0f9(0x192),_0x10677f[_0x34b0f9(0x150)]=_0x34b0f9(0x1d8),_0x10677f[_0x34b0f9(0x195)]=_0x34b0f9(0x1ae);const _0x100fd7=_0x10677f;if(!exports['isSeleniumDriver'](_0xdf3f84))return logger[_0x34b0f9(0x14d)](_0x100fd7[_0x34b0f9(0x131)]),![];const _0x97009=_0x532095||RETRY_CONFIG[_0x34b0f9(0x12e)];try{if(_0xdf3f84&&_0x100fd7['rAaoa'](typeof _0xdf3f84[_0x34b0f9(0x1ad)],_0x100fd7['TNInx'])){const _0x166699=_0xdf3f84[_0x34b0f9(0x1ad)]();if(_0x166699&&_0x100fd7['rAaoa'](typeof _0x166699[_0x34b0f9(0x16f)],_0x100fd7['TNInx']))await _0x166699[_0x34b0f9(0x16f)]()[_0x34b0f9(0x167)](_0x97009),logger['debug']('Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20'+_0x97009+'ms\x20using\x20timeouts()\x20API');else{if(_0x166699&&_0x100fd7['rAaoa'](typeof _0x166699[_0x34b0f9(0x138)],_0x100fd7[_0x34b0f9(0x18b)])){const _0x576532={};_0x576532[_0x34b0f9(0x134)]=_0x97009,await _0x166699[_0x34b0f9(0x138)](_0x576532),logger[_0x34b0f9(0x1ca)](_0x34b0f9(0x120)+_0x97009+_0x34b0f9(0x19b));}else{if(_0x166699&&_0x100fd7[_0x34b0f9(0x1a3)](typeof _0x166699['setScriptTimeout'],_0x100fd7[_0x34b0f9(0x18b)]))await _0x166699[_0x34b0f9(0x167)](_0x97009),logger[_0x34b0f9(0x1ca)](_0x34b0f9(0x120)+_0x97009+'ms\x20using\x20setScriptTimeout\x20API');else return logger['debug'](_0x100fd7[_0x34b0f9(0x150)]),!![];}}}else return logger[_0x34b0f9(0x1ca)](_0x100fd7[_0x34b0f9(0x195)]),!![];return!![];}catch(_0x170b49){return logger[_0x34b0f9(0x14d)](_0x34b0f9(0x178)+_0x170b49[_0x34b0f9(0x142)]),![];}},exports[a95_0x5edacd(0x15a)]=async(_0x5b7d2d,_0x2dc2bc)=>{const _0x1def53=a95_0x5edacd,_0x464c35={'EbqSP':function(_0x34d7b9,_0x35eca9){return _0x34d7b9(_0x35eca9);},'kpGCG':_0x1def53(0x19a),'zHcDG':_0x1def53(0x1c1),'Jtdzv':function(_0x978fd7,_0x74e568){return _0x978fd7<=_0x74e568;},'TRzHW':function(_0xd0eb5e,_0x10c838){return _0xd0eb5e+_0x10c838;},'nJwfU':function(_0x3c6734,_0x4cf973){return _0x3c6734&&_0x4cf973;},'MRqtb':function(_0x5bdcf2,_0x1df63b,_0x47ac80){return _0x5bdcf2(_0x1df63b,_0x47ac80);},'CVrcA':'Unknown\x20error'},{isPlaywright:_0x243cb1,type:_0x4950db}=_0x464c35[_0x1def53(0x1dd)](detectDriverType,_0x5b7d2d),_0x209203=_0x243cb1?global[_0x1def53(0x160)]:accessibilityHelper[_0x1def53(0x1c2)]()&&globals[_0x1def53(0x1ba)](_0x464c35[_0x1def53(0x181)])&&globals['getGlobal'](_0x464c35['zHcDG']);if(!_0x209203)return logger['warn'](_0x1def53(0x16e)+_0x4950db+_0x1def53(0x1b7)),![];let _0x380968=null;for(let _0xec8bdd=0x1;_0x464c35[_0x1def53(0x1bc)](_0xec8bdd,_0x464c35[_0x1def53(0x196)](RETRY_CONFIG['maxRetries'],0x1));_0xec8bdd++){try{return logger[_0x1def53(0x1ca)]('Accessibility\x20results\x20save\x20attempt\x20'+_0xec8bdd+'/'+_0x464c35[_0x1def53(0x196)](RETRY_CONFIG['maxRetries'],0x1)+'\x20('+_0x4950db+')'),_0x464c35['nJwfU'](_0x243cb1,playwrightA11yHelper)?(_0x464c35[_0x1def53(0x13c)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x1def53(0x1d9)](_0x5b7d2d,RETRY_CONFIG[_0x1def53(0x156)]),await _0x464c35['MRqtb'](withTimeout,playwrightA11yHelper['browserStackEvaluate'](_0x5b7d2d,scripts[_0x1def53(0x137)],_0x2dc2bc),RETRY_CONFIG[_0x1def53(0x156)]),await exports['setPlaywrightScriptTimeout'](_0x5b7d2d,RETRY_CONFIG[_0x1def53(0x12e)])):(await exports[_0x1def53(0x177)](_0x5b7d2d,RETRY_CONFIG[_0x1def53(0x156)]),await _0x464c35[_0x1def53(0x13c)](withTimeout,_0x5b7d2d[_0x1def53(0x135)](scripts['saveTestResults'],_0x2dc2bc),RETRY_CONFIG[_0x1def53(0x156)]),await exports['setSeleniumScriptTimeout'](_0x5b7d2d,RETRY_CONFIG[_0x1def53(0x12e)])),logger[_0x1def53(0x14c)]('Accessibility\x20results\x20saved\x20successfully\x20on\x20attempt\x20'+_0xec8bdd+'\x20('+_0x4950db+')'),!![];}catch(_0x2611a3){_0x380968=_0x2611a3,logger[_0x1def53(0x14d)](_0x1def53(0x16b)+_0xec8bdd+'\x20failed\x20('+_0x4950db+_0x1def53(0x1db)+_0x2611a3[_0x1def53(0x142)]);}}return logger[_0x1def53(0x1b4)](_0x1def53(0x144)+_0x4950db+').\x20Last\x20error:\x20'+(_0x380968?.[_0x1def53(0x142)]||_0x464c35['CVrcA'])),![];};
|
|
1
|
+
const a95_0x11ff01=a95_0x4720;(function(_0xe5a3de,_0x2c9c68){const _0x4a3d35=a95_0x4720,_0x2c2005=_0xe5a3de();while(!![]){try{const _0x4b9565=-parseInt(_0x4a3d35(0x138))/0x1*(-parseInt(_0x4a3d35(0x145))/0x2)+-parseInt(_0x4a3d35(0xe3))/0x3*(parseInt(_0x4a3d35(0x16e))/0x4)+parseInt(_0x4a3d35(0x140))/0x5*(-parseInt(_0x4a3d35(0x17a))/0x6)+parseInt(_0x4a3d35(0x11c))/0x7+-parseInt(_0x4a3d35(0x160))/0x8*(parseInt(_0x4a3d35(0x14d))/0x9)+-parseInt(_0x4a3d35(0x11f))/0xa+parseInt(_0x4a3d35(0x14b))/0xb;if(_0x4b9565===_0x2c9c68)break;else _0x2c2005['push'](_0x2c2005['shift']());}catch(_0x5b0619){_0x2c2005['push'](_0x2c2005['shift']());}}}(a95_0x3221,0x79255));const util=require(a95_0x11ff01(0xd1)),logger=require('../logger')[a95_0x11ff01(0x115)],accessibilityHelper=require('./helper'),globals=require(a95_0x11ff01(0x134)),scripts=require('./scripts'),PerformanceTester=require(a95_0x11ff01(0x144)),{A11Y_EVENTS:PerformanceA11yEvents}=require('../performance/constants'),BrowserstackCLI=require(a95_0x11ff01(0xf8));let playwrightA11yHelper=null;try{playwrightA11yHelper=require(a95_0x11ff01(0x120));}catch(a95_0x8b8190){logger[a95_0x11ff01(0x16d)]('Playwright\x20accessibility\x20helper\x20not\x20available');}function a95_0x4720(_0x43eeda,_0x55d122){const _0x3221c9=a95_0x3221();return a95_0x4720=function(_0x47203f,_0x209293){_0x47203f=_0x47203f-0xb2;let _0x355e68=_0x3221c9[_0x47203f];return _0x355e68;},a95_0x4720(_0x43eeda,_0x55d122);}function a95_0x3221(){const _0x3f4fe6=['measureWrapper','warn','fjDAR','5201063rZYtWG','DkYEb','eOcHi','9237480EaumlN','../../bin/playwright/accessibility-helper','Unknown\x20driver/page\x20type:\x20','executeAsyncScript','EiJFt','MqQob','Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20','yMTLm','UMRWg','info','setSeleniumScriptTimeout','All\x20accessibility\x20results\x20save\x20attempts\x20failed\x20(','allSettled','setTimeouts','bWONL','Accessibility\x20results\x20summary\x20retrieved\x20successfully\x20on\x20attempt\x20','uXGZO','nUTwt','Accessibility\x20results\x20retrieved\x20successfully\x20on\x20attempt\x20','isRunning','options','../globals','AJWxl','getAccessibilityResultsSummary','fxRBc','894061whvpgC','isSeleniumDriver','ioaiC','BivLW','getAccessibilityResultsWithRetry','rYvmx','DiadA','LcWeh','375405NaNqgU','kMmlu','BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT','ojhuG','../performance/performance-tester','2AxKzOo','xSbJQ','defaultTimeoutMs','stringify','Accessibility\x20results\x20retrieval\x20attempt\x20','tdnXL','7244237EhiLVd','eDToF','45288Gdvbjm','value','accessibilityConfig','results','fCLWb','playwright-codecept-driver','updateRetryConfig','wKbhX','zOjoR','evaluate','url','ms\x20using\x20timeouts()\x20API','setPlaywrightScriptTimeout','EZlYK','scannerProcessingTimeout','performComprehensiveAccessibilityScanWithRetry','max','Accessibility\x20scan\x20succeeded\x20on\x20attempt\x20','OSYPD','8zCADVV','gOzVk','RnTFS','race','Playwright','MiiWN',',\x20cannot\x20save\x20accessibility\x20results\x20with\x20retry.','selenium-webdriver','NyYeQ','undefined','WDwLY','Msruo','getGlobal','debug','3182252zssNGE','reason',').\x20Last\x20error:\x20','HrSnA','timeouts','IDYhQ','env','Selenium\x20WebDriver\x20timeout\x20API\x20not\x20available,\x20skipping\x20timeout\x20setting','fmTnV','zSjxG','Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20','scanSucceeded','6WzfKDc','Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20','YuYVB','manage','PERFORM_SCAN','name','Unknown\x20error','Accessibility\x20results\x20saved\x20successfully\x20on\x20attempt\x20','WLbRS','getAccessibilityResultsSummaryWithRetry','timeoutMs','setDefaultTimeout','Page','FLwkZ','dJHWy','qsfir','Failed\x20to\x20set\x20Selenium\x20script\x20timeout:\x20',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary\x20with\x20retry.','page',').\x20Error:\x20','isAccessibilityPlatform','Operation\x20timed\x20out\x20after\x20',')\x20with\x20error:\x20','getAccessibilityModule','getAccessibilityResults','QYGEC','bSelM','maxRetries','LFDRK','saveTestResults','zqGkT','ikdmp','DYVjU','\x20-\x20not\x20applicable','gkAqt','saveAccessibilityResultsWithRetry','Accessibility\x20results\x20save\x20attempt\x20','util','Selenium\x20WebDriver\x20manage()\x20method\x20not\x20available,\x20skipping\x20timeout\x20setting','vEIAq','script','pcWIO','qnEEr','accessibilityPlatform','KUVnP','XdDFU','):\x20','bstackA11yShouldScan','getCurrentUrl','setScriptTimeout','capabilitiesList','ePgXE','driverType','npymP','\x20failed\x20for\x20method:\x20','3degLPc','qEpXR','summary','getRetryConfig','iLCnl','isAccessibilityAutomationSession','type','error','Set\x20Playwright\x20page\x20default\x20timeout\x20to\x20','LYZDk','__workerDetails','TPSWS','function','browserStackEvaluate','zYQnl','getInstance','Accessibility\x20scan\x20attempt\x20','unknown_method','IoUQi','getId','ClXst','../../bin/v2/browserstackCLI','bbotQ','All\x20accessibility\x20results\x20summary\x20retrieval\x20attempts\x20failed\x20(','browserstackSessionName','SYyOz','performScanWithRetry','zTqnN','pCjHe','Accessibility\x20retry\x20configuration\x20updated:\x20','Failed\x20to\x20retrieve\x20accessibility\x20results\x20(','getSession','Comprehensive\x20accessibility\x20scan\x20failed\x20(','unknown','isPlaywright','zPdQi','fulfilled','hNNZy','EReNy','Failed\x20to\x20retrieve\x20accessibility\x20summary\x20(','cXCji','YYtSu','aJaeX','status','dVJxZ','message','Unknown\x20error\x20during\x20comprehensive\x20accessibility\x20scan','\x20failed\x20(','qCXvR','WebDriver','winstonLogger','zIwIb','All\x20accessibility\x20results\x20retrieval\x20attempts\x20failed\x20(','Cannot\x20set\x20script\x20timeout:\x20not\x20a\x20Selenium\x20WebDriver'];a95_0x3221=function(){return _0x3f4fe6;};return a95_0x3221();}const a95_0x4377b7={};a95_0x4377b7['maxRetries']=0x1,a95_0x4377b7['timeoutMs']=0x7530,a95_0x4377b7[a95_0x11ff01(0x147)]=0x7530;const RETRY_CONFIG=a95_0x4377b7,setConfigTimeout=(_0xaf9bb4,_0x1a1b7b=null)=>{const _0x352ed5=a95_0x11ff01,_0x148e49={'zqGkT':function(_0x6ce27c,_0x544f29){return _0x6ce27c===_0x544f29;},'eDToF':_0x352ed5(0x15b),'DiadA':function(_0x42cb16,_0xfcc234){return _0x42cb16*_0xfcc234;},'dJHWy':function(_0x52dfaa,_0x2f89b6){return _0x52dfaa(_0x2f89b6);},'EZlYK':function(_0x23bfb7,_0x3a3907){return _0x23bfb7*_0x3a3907;}};if(BrowserstackCLI['getInstance']()[_0x352ed5(0x132)]()&&BrowserstackCLI[_0x352ed5(0xf2)]()[_0x352ed5(0xc3)]()){const _0x59c0cc=BrowserstackCLI[_0x352ed5(0xf2)]()['getAccessibilityModule']()[_0x352ed5(0x14f)],_0x45a1a2=_0x59c0cc[_0x352ed5(0x133)][_0x352ed5(0xde)]||[];for(const _0x1340d0 of _0x45a1a2){_0x148e49[_0x352ed5(0xca)](_0x1340d0['name'],_0x148e49[_0x352ed5(0x14c)])&&_0x148e49[_0x352ed5(0xca)](_0x1a1b7b,null)&&(_0xaf9bb4['timeoutMs']=_0x148e49[_0x352ed5(0x13e)](_0x148e49[_0x352ed5(0xba)](parseInt,_0x1340d0[_0x352ed5(0x14e)]),0x3e8));}}else process['env'][_0x352ed5(0x142)]&&(_0xaf9bb4['timeoutMs']=_0x148e49[_0x352ed5(0x15a)](_0x148e49[_0x352ed5(0xba)](parseInt,process[_0x352ed5(0x174)]['BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT']),0x3e8));},detectDriverType=_0x285937=>{const _0x5753a3=a95_0x11ff01,_0x3b3a9f={};_0x3b3a9f[_0x5753a3(0xce)]=_0x5753a3(0x104),_0x3b3a9f['TPSWS']=function(_0x86b6ca,_0x2c35db){return _0x86b6ca===_0x2c35db;},_0x3b3a9f[_0x5753a3(0xcb)]='function',_0x3b3a9f[_0x5753a3(0x123)]=function(_0x2255be,_0x183d86){return _0x2255be===_0x183d86;},_0x3b3a9f[_0x5753a3(0x176)]='playwright-page',_0x3b3a9f[_0x5753a3(0x154)]=_0x5753a3(0x167),_0x3b3a9f[_0x5753a3(0xf7)]=function(_0xab5359,_0x51db24){return _0xab5359===_0x51db24;},_0x3b3a9f[_0x5753a3(0x135)]=_0x5753a3(0xb8),_0x3b3a9f['LYZDk']=function(_0x47a1ed,_0x585f36){return _0x47a1ed===_0x585f36;},_0x3b3a9f[_0x5753a3(0x11b)]=_0x5753a3(0x114),_0x3b3a9f[_0x5753a3(0x10f)]=function(_0x1783f7,_0x29ed18){return _0x1783f7===_0x29ed18;},_0x3b3a9f[_0x5753a3(0x113)]=_0x5753a3(0x164),_0x3b3a9f[_0x5753a3(0xf5)]='playwright-codecept-driver',_0x3b3a9f[_0x5753a3(0xfe)]=function(_0x22c66a,_0x315767){return _0x22c66a||_0x315767;},_0x3b3a9f['nUTwt']=_0x5753a3(0x169);const _0x4e6558=_0x3b3a9f;if(!_0x285937){const _0x36e077={};return _0x36e077[_0x5753a3(0x105)]=![],_0x36e077[_0x5753a3(0xe9)]=_0x4e6558[_0x5753a3(0xce)],_0x36e077;}if(_0x4e6558[_0x5753a3(0xee)](typeof _0x285937[_0x5753a3(0x156)],_0x4e6558['ikdmp'])&&_0x4e6558['EiJFt'](typeof _0x285937[_0x5753a3(0x157)],_0x4e6558['ikdmp'])&&_0x4e6558[_0x5753a3(0xee)](typeof _0x285937['goto'],_0x4e6558[_0x5753a3(0xcb)])){const _0x4992f7={};return _0x4992f7[_0x5753a3(0x105)]=!![],_0x4992f7['type']=_0x4e6558[_0x5753a3(0x176)],_0x4992f7;}if(_0x4e6558['TPSWS'](typeof _0x285937[_0x5753a3(0x122)],_0x4e6558['ikdmp'])&&_0x4e6558[_0x5753a3(0xee)](typeof _0x285937['getCapabilities'],_0x4e6558[_0x5753a3(0xcb)])){const _0x3c95b7={};return _0x3c95b7['isPlaywright']=![],_0x3c95b7['type']=_0x4e6558[_0x5753a3(0x154)],_0x3c95b7;}const _0x3852e9=_0x285937['constructor']?.[_0x5753a3(0x17f)];if(_0x4e6558['ClXst'](_0x3852e9,_0x4e6558[_0x5753a3(0x135)])){const _0xcb9226={};return _0xcb9226[_0x5753a3(0x105)]=!![],_0xcb9226[_0x5753a3(0xe9)]=_0x4e6558[_0x5753a3(0x176)],_0xcb9226;}if(_0x4e6558[_0x5753a3(0xec)](_0x3852e9,_0x4e6558[_0x5753a3(0x11b)])){const _0xfd2a03={};return _0xfd2a03[_0x5753a3(0x105)]=![],_0xfd2a03['type']=_0x4e6558['wKbhX'],_0xfd2a03;}if(_0x4e6558[_0x5753a3(0x10f)](_0x3852e9,_0x4e6558[_0x5753a3(0x113)])){const _0x497881={};return _0x497881['isPlaywright']=!![],_0x497881[_0x5753a3(0xe9)]=_0x4e6558[_0x5753a3(0xf5)],_0x497881;}logger['warn'](_0x5753a3(0x121)+_0x4e6558[_0x5753a3(0xfe)](_0x3852e9,_0x4e6558[_0x5753a3(0x130)]));const _0x37f38f={};return _0x37f38f[_0x5753a3(0x105)]=![],_0x37f38f[_0x5753a3(0xe9)]=_0x4e6558[_0x5753a3(0xce)],_0x37f38f;},withTimeout=(_0x38b45d,_0x2884e4)=>{const _0x5f5c48=a95_0x11ff01;return Promise[_0x5f5c48(0x163)]([_0x38b45d,new Promise((_0xac468,_0x441eb9)=>setTimeout(()=>_0x441eb9(new Error(_0x5f5c48(0xc1)+_0x2884e4+'ms')),_0x2884e4))]);};exports[a95_0x11ff01(0xfd)]=async(_0x163d09,_0x2995fd=null,_0x451c1d=null)=>{const _0x165504=a95_0x11ff01,_0x279c6b={'fxRBc':function(_0x4dc116,_0x2eee18){return _0x4dc116&&_0x2eee18;},'DYVjU':function(_0x309511,_0x51bf7a,_0x2b3099){return _0x309511(_0x51bf7a,_0x2b3099);},'ioaiC':function(_0x413b02,_0x30a8fa){return _0x413b02===_0x30a8fa;},'bSelM':_0x165504(0x152),'EALfU':function(_0x21bfdf,_0x79981d,_0x899710){return _0x21bfdf(_0x79981d,_0x899710);},'kgTWe':function(_0x21f438,_0x308179){return _0x21f438(_0x308179);},'pcWIO':'isAccessibilityPlatform','HfnnE':'bstackA11yShouldScan','gOzVk':_0x165504(0xf4),'RnTFS':function(_0x1143fe,_0x4a011e){return _0x1143fe===_0x4a011e;},'rYvmx':'function','kMmlu':function(_0x456502,_0x28eb6a){return _0x456502===_0x28eb6a;},'zYQnl':function(_0x3a4ade,_0x462089){return _0x3a4ade<=_0x462089;},'ePgXE':function(_0xeaa0f8,_0x20c460){return _0xeaa0f8+_0x20c460;},'KUVnP':function(_0x51bf1b,_0x1a5c0b){return _0x51bf1b+_0x1a5c0b;},'HrSnA':_0x165504(0xb2)},{isPlaywright:_0x365c0f,type:_0x22ddeb}=_0x279c6b['kgTWe'](detectDriverType,_0x163d09),_0x315e9a=_0x365c0f?global[_0x165504(0xd7)]:accessibilityHelper[_0x165504(0xe8)]()&&globals[_0x165504(0x16c)](_0x279c6b[_0x165504(0xd5)])&&globals[_0x165504(0x16c)](_0x279c6b['HfnnE']);if(!_0x315e9a)return logger[_0x165504(0x11a)](_0x165504(0x125)+_0x22ddeb+',\x20cannot\x20perform\x20scan\x20with\x20retry.'),![];const _0x532ba9=_0x2995fd||global[_0x165504(0xfb)]||_0x279c6b[_0x165504(0x161)];let _0x2b304d=null;const _0x362daf={'testhub_btcer_uuid':global[_0x165504(0xed)]?.['currentTest']?.['id'],'url':_0x279c6b[_0x165504(0x162)](typeof _0x163d09[_0x165504(0x157)],_0x279c6b[_0x165504(0x13d)])?await _0x163d09[_0x165504(0x157)]():_0x279c6b[_0x165504(0x13a)](typeof _0x163d09[_0x165504(0xdc)],_0x279c6b[_0x165504(0x13d)])?await _0x163d09['getCurrentUrl']():'','automate_session_id':_0x279c6b[_0x165504(0x141)](typeof _0x163d09[_0x165504(0x102)],_0x279c6b['rYvmx'])?(await _0x163d09['getSession']())[_0x165504(0xf6)]():''};for(let _0x546708=0x1;_0x279c6b[_0x165504(0xf1)](_0x546708,_0x279c6b[_0x165504(0xdf)](RETRY_CONFIG['maxRetries'],0x1));_0x546708++){try{return logger[_0x165504(0x16d)](_0x165504(0xf3)+_0x546708+'/'+_0x279c6b[_0x165504(0xd8)](RETRY_CONFIG['maxRetries'],0x1)+'\x20for\x20method:\x20'+_0x532ba9+'\x20('+_0x22ddeb+')'),await PerformanceTester[_0x165504(0x119)](PerformanceA11yEvents[_0x165504(0x17e)],async()=>{const _0x2dcbd1=_0x165504;let _0x53d08c;if(_0x279c6b[_0x2dcbd1(0x137)](_0x365c0f,playwrightA11yHelper)){_0x279c6b['DYVjU'](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x2dcbd1(0x159)](_0x163d09,RETRY_CONFIG[_0x2dcbd1(0xb6)]);let _0xcc6510=_0x163d09;_0x279c6b[_0x2dcbd1(0x13a)](_0x22ddeb,_0x279c6b[_0x2dcbd1(0xc6)])&&(_0xcc6510=_0x163d09[_0x2dcbd1(0xbe)]),_0x53d08c=await _0x279c6b[_0x2dcbd1(0xcc)](withTimeout,playwrightA11yHelper['performScan'](_0xcc6510,_0x532ba9),RETRY_CONFIG[_0x2dcbd1(0xb6)]),await exports[_0x2dcbd1(0x159)](_0x163d09,RETRY_CONFIG[_0x2dcbd1(0x147)]);}else await exports[_0x2dcbd1(0x129)](_0x163d09,RETRY_CONFIG['timeoutMs']),_0x53d08c=await _0x279c6b['EALfU'](withTimeout,accessibilityHelper['performScan'](_0x163d09,_0x532ba9),RETRY_CONFIG[_0x2dcbd1(0xb6)]),await exports[_0x2dcbd1(0x129)](_0x163d09,RETRY_CONFIG['defaultTimeoutMs']);logger[_0x2dcbd1(0x16d)]('Scan\x20attempt\x20'+_0x546708+'\x20completed\x20successfully.');},{'command':_0x532ba9,..._0x362daf})(),logger[_0x165504(0x128)](_0x165504(0x15e)+_0x546708+'.'),!![];}catch(_0x3c439d){_0x2b304d=_0x3c439d,logger[_0x165504(0x16d)](_0x165504(0xf3)+_0x546708+_0x165504(0xe2)+_0x532ba9+'\x20('+_0x22ddeb+').\x20Error:\x20'+_0x3c439d['message']);}}return logger['error']('All\x20accessibility\x20scan\x20attempts\x20failed\x20for\x20method:\x20'+_0x532ba9+'\x20('+_0x22ddeb+_0x165504(0xc2)+(_0x2b304d?.[_0x165504(0x110)]||_0x279c6b[_0x165504(0x171)])),![];},exports['getAccessibilityResultsWithRetry']=async(_0x1db7d4,_0x12d78c)=>{const _0x3f54cd=a95_0x11ff01,_0x2828fe={'eTtmJ':function(_0x5dd912,_0x1e54df){return _0x5dd912(_0x1e54df);},'LFDRK':_0x3f54cd(0xc0),'NyYeQ':_0x3f54cd(0xdb),'aJaeX':function(_0x21e3a9,_0x2245d1){return _0x21e3a9<=_0x2245d1;},'LcWeh':function(_0x470864,_0x3ea952){return _0x470864+_0x3ea952;},'eOcHi':function(_0x2fdbc2,_0x250215){return _0x2fdbc2&&_0x250215;},'XdDFU':function(_0x3897a7,_0x598cc6,_0x2f232f){return _0x3897a7(_0x598cc6,_0x2f232f);},'bbotQ':function(_0x54c242,_0x23a62b,_0x5e04c7){return _0x54c242(_0x23a62b,_0x5e04c7);},'luHzb':function(_0x55f10b,_0x39a921,_0x1ed92d){return _0x55f10b(_0x39a921,_0x1ed92d);},'IDYhQ':_0x3f54cd(0xb2)},{isPlaywright:_0x20726a,type:_0x506a11}=_0x2828fe['eTtmJ'](detectDriverType,_0x1db7d4),_0x24e6a6=_0x20726a?_0x12d78c[_0x3f54cd(0xd7)]:accessibilityHelper['isAccessibilityAutomationSession']()&&globals[_0x3f54cd(0x16c)](_0x2828fe[_0x3f54cd(0xc8)])&&globals['getGlobal'](_0x2828fe[_0x3f54cd(0x168)]);if(!_0x24e6a6)return logger[_0x3f54cd(0x11a)](_0x3f54cd(0x125)+_0x506a11+',\x20cannot\x20retrieve\x20Accessibility\x20results\x20with\x20retry.'),[];let _0x5239fe=null;for(let _0x2a14e5=0x1;_0x2828fe[_0x3f54cd(0x10d)](_0x2a14e5,_0x2828fe['LcWeh'](RETRY_CONFIG['maxRetries'],0x1));_0x2a14e5++){try{logger['debug'](_0x3f54cd(0x149)+_0x2a14e5+'/'+_0x2828fe[_0x3f54cd(0x13f)](RETRY_CONFIG[_0x3f54cd(0xc7)],0x1)+'\x20('+_0x506a11+')');let _0x598809;return _0x2828fe[_0x3f54cd(0x11e)](_0x20726a,playwrightA11yHelper)?(_0x2828fe[_0x3f54cd(0xd9)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x3f54cd(0x159)](_0x1db7d4,RETRY_CONFIG[_0x3f54cd(0xb6)]),_0x598809=await _0x2828fe[_0x3f54cd(0xf9)](withTimeout,playwrightA11yHelper[_0x3f54cd(0xc4)](_0x1db7d4),RETRY_CONFIG['timeoutMs']),await exports[_0x3f54cd(0x159)](_0x1db7d4,RETRY_CONFIG[_0x3f54cd(0x147)])):(await exports[_0x3f54cd(0x129)](_0x1db7d4,RETRY_CONFIG['timeoutMs']),_0x598809=await _0x2828fe['luHzb'](withTimeout,accessibilityHelper[_0x3f54cd(0xc4)](_0x1db7d4,_0x12d78c),RETRY_CONFIG[_0x3f54cd(0xb6)]),await exports[_0x3f54cd(0x129)](_0x1db7d4,RETRY_CONFIG[_0x3f54cd(0x147)])),logger[_0x3f54cd(0x128)](_0x3f54cd(0x131)+_0x2a14e5+'\x20('+_0x506a11+')'),_0x598809;}catch(_0x2433a4){_0x5239fe=_0x2433a4,logger[_0x3f54cd(0x11a)](_0x3f54cd(0x149)+_0x2a14e5+_0x3f54cd(0x112)+_0x506a11+').\x20Error:\x20'+_0x2433a4[_0x3f54cd(0x110)]);}}return logger[_0x3f54cd(0xea)](_0x3f54cd(0x117)+_0x506a11+_0x3f54cd(0x170)+(_0x5239fe?.[_0x3f54cd(0x110)]||_0x2828fe[_0x3f54cd(0x173)])),[];},exports[a95_0x11ff01(0xb5)]=async(_0x1c2b7c,_0x50c9c7)=>{const _0x4523ce=a95_0x11ff01,_0x4387a0={'cXCji':function(_0x360e8d,_0x5aacbe){return _0x360e8d(_0x5aacbe);},'FLwkZ':_0x4523ce(0xc0),'bamMb':_0x4523ce(0xdb),'qsfir':function(_0x1ee812,_0x37ee34){return _0x1ee812<=_0x37ee34;},'zSjxG':function(_0xb1b85e,_0x563889){return _0xb1b85e+_0x563889;},'BivLW':function(_0x5affee,_0x562edf){return _0x5affee&&_0x562edf;},'zPdQi':function(_0xca118a,_0x1e1b4e,_0x5a0c74){return _0xca118a(_0x1e1b4e,_0x5a0c74);},'zOjoR':function(_0x3dc8a3,_0x209e8d,_0x255c30){return _0x3dc8a3(_0x209e8d,_0x255c30);},'qEpXR':'Unknown\x20error'},{isPlaywright:_0x31bac6,type:_0x3d9c35}=_0x4387a0[_0x4523ce(0x10b)](detectDriverType,_0x1c2b7c),_0x1c5bdc=_0x31bac6?_0x50c9c7['accessibilityPlatform']:accessibilityHelper[_0x4523ce(0xe8)]()&&globals[_0x4523ce(0x16c)](_0x4387a0[_0x4523ce(0xb9)])&&globals[_0x4523ce(0x16c)](_0x4387a0['bamMb']);if(!_0x1c5bdc)return logger[_0x4523ce(0x11a)](_0x4523ce(0x125)+_0x3d9c35+_0x4523ce(0xbd)),{};let _0x2a5924=null;for(let _0x25f9cc=0x1;_0x4387a0[_0x4523ce(0xbb)](_0x25f9cc,_0x4387a0[_0x4523ce(0x177)](RETRY_CONFIG[_0x4523ce(0xc7)],0x1));_0x25f9cc++){try{logger[_0x4523ce(0x16d)](_0x4523ce(0x17b)+_0x25f9cc+'/'+_0x4387a0[_0x4523ce(0x177)](RETRY_CONFIG[_0x4523ce(0xc7)],0x1)+'\x20('+_0x3d9c35+')');let _0xfc5d0c;return _0x4387a0[_0x4523ce(0x13b)](_0x31bac6,playwrightA11yHelper)?(_0x4387a0[_0x4523ce(0x106)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x4523ce(0x159)](_0x1c2b7c,RETRY_CONFIG[_0x4523ce(0xb6)]),_0xfc5d0c=await _0x4387a0[_0x4523ce(0x106)](withTimeout,playwrightA11yHelper[_0x4523ce(0x136)](_0x1c2b7c),RETRY_CONFIG['timeoutMs']),await exports['setPlaywrightScriptTimeout'](_0x1c2b7c,RETRY_CONFIG[_0x4523ce(0x147)])):(await exports[_0x4523ce(0x129)](_0x1c2b7c,RETRY_CONFIG[_0x4523ce(0xb6)]),_0xfc5d0c=await _0x4387a0[_0x4523ce(0x155)](withTimeout,accessibilityHelper[_0x4523ce(0x136)](_0x1c2b7c,_0x50c9c7),RETRY_CONFIG[_0x4523ce(0xb6)]),await exports[_0x4523ce(0x129)](_0x1c2b7c,RETRY_CONFIG['defaultTimeoutMs'])),logger[_0x4523ce(0x128)](_0x4523ce(0x12e)+_0x25f9cc+'\x20('+_0x3d9c35+')'),_0xfc5d0c;}catch(_0xfdabac){_0x2a5924=_0xfdabac,logger[_0x4523ce(0x11a)](_0x4523ce(0x17b)+_0x25f9cc+_0x4523ce(0x112)+_0x3d9c35+_0x4523ce(0xbf)+_0xfdabac[_0x4523ce(0x110)]);}}return logger[_0x4523ce(0xea)](_0x4523ce(0xfa)+_0x3d9c35+_0x4523ce(0x170)+(_0x2a5924?.[_0x4523ce(0x110)]||_0x4387a0[_0x4523ce(0xe4)])),{};},exports[a95_0x11ff01(0x15c)]=async(_0x264694,_0x1077f9,_0x308d9c=null)=>{const _0x30716c=a95_0x11ff01,_0x2d8594={'zIwIb':function(_0x3550ce,_0x2e0cff){return _0x3550ce(_0x2e0cff);},'ojhuG':function(_0x2cd453,_0x3f9431){return _0x2cd453===_0x3f9431;},'EReNy':_0x30716c(0x107),'tdnXL':function(_0x2c9afc,_0x3567da){return _0x2c9afc===_0x3567da;},'YuYVB':function(_0x48db82,_0x2e3904){return _0x48db82===_0x2e3904;},'KRPIR':'rejected','wHeNn':function(_0x2b0d8d,_0x5e1a3a){return _0x2b0d8d===_0x5e1a3a;},'WdZlO':_0x30716c(0x111)},{isPlaywright:_0x2911f2,type:_0x41d276}=_0x2d8594[_0x30716c(0x116)](detectDriverType,_0x264694),_0x1a15d4={};_0x1a15d4[_0x30716c(0x179)]=![],_0x1a15d4[_0x30716c(0x150)]=[],_0x1a15d4[_0x30716c(0xe5)]={},_0x1a15d4[_0x30716c(0xea)]=null,_0x1a15d4[_0x30716c(0xe0)]=_0x41d276;const _0x458875=_0x1a15d4;try{_0x458875['scanSucceeded']=await exports['performScanWithRetry'](_0x264694,_0x308d9c);if(_0x458875['scanSucceeded']){const [_0x2b6b77,_0x4af00b]=await Promise[_0x30716c(0x12b)]([exports[_0x30716c(0x13c)](_0x264694,_0x1077f9),exports[_0x30716c(0xb5)](_0x264694,_0x1077f9)]);_0x458875[_0x30716c(0x150)]=_0x2d8594[_0x30716c(0x143)](_0x2b6b77[_0x30716c(0x10e)],_0x2d8594[_0x30716c(0x109)])?_0x2b6b77[_0x30716c(0x14e)]:[],_0x458875[_0x30716c(0xe5)]=_0x2d8594[_0x30716c(0x14a)](_0x4af00b[_0x30716c(0x10e)],_0x2d8594[_0x30716c(0x109)])?_0x4af00b['value']:{},_0x2d8594[_0x30716c(0x17c)](_0x2b6b77['status'],_0x2d8594['KRPIR'])&&logger['warn'](_0x30716c(0x101)+_0x41d276+_0x30716c(0xda)+_0x2b6b77[_0x30716c(0x16f)]?.[_0x30716c(0x110)]),_0x2d8594['wHeNn'](_0x4af00b[_0x30716c(0x10e)],_0x2d8594['KRPIR'])&&logger[_0x30716c(0x11a)](_0x30716c(0x10a)+_0x41d276+_0x30716c(0xda)+_0x4af00b['reason']?.['message']);}}catch(_0x13182a){_0x458875[_0x30716c(0xea)]=_0x13182a['message']||_0x2d8594['WdZlO'],logger['error'](_0x30716c(0x103)+_0x41d276+_0x30716c(0xda)+_0x458875[_0x30716c(0xea)]);}return _0x458875;},exports[a95_0x11ff01(0x153)]=_0x21fdf0=>{const _0x47f714=a95_0x11ff01,_0x137307={};_0x137307[_0x47f714(0x108)]=function(_0x4672fb,_0x41310f){return _0x4672fb!==_0x41310f;};const _0x10344e=_0x137307;_0x10344e[_0x47f714(0x108)](_0x21fdf0['maxRetries'],undefined)&&(RETRY_CONFIG[_0x47f714(0xc7)]=Math[_0x47f714(0x15d)](0x0,_0x21fdf0['maxRetries'])),_0x10344e[_0x47f714(0x108)](_0x21fdf0[_0x47f714(0xb6)],undefined)&&(RETRY_CONFIG[_0x47f714(0xb6)]=Math['max'](0x3e8,_0x21fdf0['timeoutMs'])),logger[_0x47f714(0x16d)](_0x47f714(0x100)+JSON[_0x47f714(0x148)](RETRY_CONFIG));},exports[a95_0x11ff01(0xe6)]=()=>{const _0x36065d={...RETRY_CONFIG};return _0x36065d;},exports['isPlaywrightPage']=_0x4d10f1=>{const _0x27281b=a95_0x11ff01,_0x1ae132={'bWONL':function(_0xd069d6,_0x4a9816){return _0xd069d6(_0x4a9816);}};return _0x1ae132[_0x27281b(0x12d)](detectDriverType,_0x4d10f1)[_0x27281b(0x105)];},exports[a95_0x11ff01(0x139)]=_0x5eaf22=>{const _0x571d65=a95_0x11ff01,_0x57351a={'WLbRS':function(_0x449703,_0x2a3054){return _0x449703(_0x2a3054);},'MqQob':function(_0x4d871c,_0x48d11d){return _0x4d871c===_0x48d11d;},'yMTLm':'selenium-webdriver'},{isPlaywright:_0x5829c9,type:_0x2266cf}=_0x57351a[_0x571d65(0xb4)](detectDriverType,_0x5eaf22);return!_0x5829c9&&_0x57351a[_0x571d65(0x124)](_0x2266cf,_0x57351a[_0x571d65(0x126)]);},exports[a95_0x11ff01(0x159)]=async(_0x1f0e14,_0x190af8=null)=>{const _0x20a96a=a95_0x11ff01,_0x307e4a={'TQzNr':function(_0x375526,_0xf42e3d){return _0x375526(_0xf42e3d);},'iLCnl':function(_0x52a938,_0x53a42d){return _0x52a938===_0x53a42d;},'vEIAq':_0x20a96a(0xef)},{isPlaywright:_0x21593b,type:_0x22ca22}=_0x307e4a['TQzNr'](detectDriverType,_0x1f0e14);if(!_0x21593b)return logger[_0x20a96a(0x16d)]('Skipping\x20timeout\x20setting\x20for\x20'+_0x22ca22+_0x20a96a(0xcd)),!![];const _0x5c3a15=_0x190af8||RETRY_CONFIG['defaultTimeoutMs'];try{return _0x1f0e14&&_0x307e4a[_0x20a96a(0xe7)](typeof _0x1f0e14[_0x20a96a(0xb7)],_0x307e4a[_0x20a96a(0xd3)])&&(await _0x1f0e14[_0x20a96a(0xb7)](_0x5c3a15),logger[_0x20a96a(0x16d)](_0x20a96a(0xeb)+_0x5c3a15+'ms')),!![];}catch(_0x370609){return logger[_0x20a96a(0x11a)]('Failed\x20to\x20set\x20Playwright\x20script\x20timeout:\x20'+_0x370609['message']),![];}},exports[a95_0x11ff01(0x129)]=async(_0x4902b4,_0xef1fba=null)=>{const _0x5c7d41=a95_0x11ff01,_0x3f246e={};_0x3f246e[_0x5c7d41(0xd6)]=_0x5c7d41(0x118),_0x3f246e['YYtSu']=function(_0xc16628,_0x32d4e5){return _0xc16628===_0x32d4e5;},_0x3f246e['SYyOz']=_0x5c7d41(0xef),_0x3f246e[_0x5c7d41(0x165)]=function(_0x3bd450,_0x34d62e){return _0x3bd450===_0x34d62e;},_0x3f246e[_0x5c7d41(0x16b)]=function(_0x29da6e,_0x45d611){return _0x29da6e===_0x45d611;},_0x3f246e['QYGEC']=_0x5c7d41(0x175),_0x3f246e['WDwLY']=_0x5c7d41(0xd2);const _0x5a988e=_0x3f246e;if(!exports[_0x5c7d41(0x139)](_0x4902b4))return logger[_0x5c7d41(0x11a)](_0x5a988e['qnEEr']),![];const _0x2b51d0=_0xef1fba||RETRY_CONFIG[_0x5c7d41(0x147)];try{if(_0x4902b4&&_0x5a988e[_0x5c7d41(0x10c)](typeof _0x4902b4[_0x5c7d41(0x17d)],_0x5a988e[_0x5c7d41(0xfc)])){const _0x324ad6=_0x4902b4['manage']();if(_0x324ad6&&_0x5a988e[_0x5c7d41(0x10c)](typeof _0x324ad6[_0x5c7d41(0x172)],_0x5a988e['SYyOz']))await _0x324ad6[_0x5c7d41(0x172)]()[_0x5c7d41(0xdd)](_0x2b51d0),logger[_0x5c7d41(0x16d)](_0x5c7d41(0x178)+_0x2b51d0+_0x5c7d41(0x158));else{if(_0x324ad6&&_0x5a988e[_0x5c7d41(0x165)](typeof _0x324ad6[_0x5c7d41(0x12c)],_0x5a988e[_0x5c7d41(0xfc)])){const _0x597690={};_0x597690[_0x5c7d41(0xd4)]=_0x2b51d0,await _0x324ad6[_0x5c7d41(0x12c)](_0x597690),logger[_0x5c7d41(0x16d)](_0x5c7d41(0x178)+_0x2b51d0+'ms\x20using\x20setTimeouts\x20API');}else{if(_0x324ad6&&_0x5a988e[_0x5c7d41(0x16b)](typeof _0x324ad6[_0x5c7d41(0xdd)],_0x5a988e[_0x5c7d41(0xfc)]))await _0x324ad6[_0x5c7d41(0xdd)](_0x2b51d0),logger[_0x5c7d41(0x16d)](_0x5c7d41(0x178)+_0x2b51d0+'ms\x20using\x20setScriptTimeout\x20API');else return logger['debug'](_0x5a988e[_0x5c7d41(0xc5)]),!![];}}}else return logger['debug'](_0x5a988e[_0x5c7d41(0x16a)]),!![];return!![];}catch(_0x2a1d34){return logger[_0x5c7d41(0x11a)](_0x5c7d41(0xbc)+_0x2a1d34['message']),![];}},exports[a95_0x11ff01(0xcf)]=async(_0x3cca62,_0x15dcec)=>{const _0x3d7ff2=a95_0x11ff01,_0x32dc37={'xSbJQ':function(_0x5f1357,_0x1e53f1){return _0x5f1357(_0x1e53f1);},'UMRWg':'isAccessibilityPlatform','DkYEb':'bstackA11yShouldScan','fCLWb':function(_0x4dcd1a,_0x3b6c2c){return _0x4dcd1a<=_0x3b6c2c;},'npymP':function(_0x4065d6,_0xa1f63b){return _0x4065d6+_0xa1f63b;},'itAEj':function(_0x3cb57f,_0x9ba0a4){return _0x3cb57f&&_0x9ba0a4;},'uXGZO':function(_0x234673,_0x27780c,_0x5d03c4){return _0x234673(_0x27780c,_0x5d03c4);},'pCjHe':function(_0x2adee8,_0x28eb71,_0x47ef79){return _0x2adee8(_0x28eb71,_0x47ef79);},'OSYPD':_0x3d7ff2(0xb2)},{isPlaywright:_0x589739,type:_0x3bfb70}=_0x32dc37[_0x3d7ff2(0x146)](detectDriverType,_0x3cca62),_0x1d6161=_0x589739?global[_0x3d7ff2(0xd7)]:accessibilityHelper[_0x3d7ff2(0xe8)]()&&globals[_0x3d7ff2(0x16c)](_0x32dc37[_0x3d7ff2(0x127)])&&globals['getGlobal'](_0x32dc37[_0x3d7ff2(0x11d)]);if(!_0x1d6161)return logger[_0x3d7ff2(0x11a)](_0x3d7ff2(0x125)+_0x3bfb70+_0x3d7ff2(0x166)),![];let _0x21b406=null;for(let _0x3fd8ca=0x1;_0x32dc37[_0x3d7ff2(0x151)](_0x3fd8ca,_0x32dc37[_0x3d7ff2(0xe1)](RETRY_CONFIG[_0x3d7ff2(0xc7)],0x1));_0x3fd8ca++){try{return logger[_0x3d7ff2(0x16d)](_0x3d7ff2(0xd0)+_0x3fd8ca+'/'+_0x32dc37[_0x3d7ff2(0xe1)](RETRY_CONFIG['maxRetries'],0x1)+'\x20('+_0x3bfb70+')'),_0x32dc37['itAEj'](_0x589739,playwrightA11yHelper)?(_0x32dc37['uXGZO'](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x3d7ff2(0x159)](_0x3cca62,RETRY_CONFIG['timeoutMs']),await _0x32dc37[_0x3d7ff2(0x12f)](withTimeout,playwrightA11yHelper[_0x3d7ff2(0xf0)](_0x3cca62,scripts['saveTestResults'],_0x15dcec),RETRY_CONFIG[_0x3d7ff2(0xb6)]),await exports[_0x3d7ff2(0x159)](_0x3cca62,RETRY_CONFIG[_0x3d7ff2(0x147)])):(await exports[_0x3d7ff2(0x129)](_0x3cca62,RETRY_CONFIG[_0x3d7ff2(0xb6)]),await _0x32dc37[_0x3d7ff2(0xff)](withTimeout,_0x3cca62['executeAsyncScript'](scripts[_0x3d7ff2(0xc9)],_0x15dcec),RETRY_CONFIG['timeoutMs']),await exports[_0x3d7ff2(0x129)](_0x3cca62,RETRY_CONFIG[_0x3d7ff2(0x147)])),logger[_0x3d7ff2(0x128)](_0x3d7ff2(0xb3)+_0x3fd8ca+'\x20('+_0x3bfb70+')'),!![];}catch(_0x54a467){_0x21b406=_0x54a467,logger[_0x3d7ff2(0x11a)]('Accessibility\x20results\x20save\x20attempt\x20'+_0x3fd8ca+'\x20failed\x20('+_0x3bfb70+_0x3d7ff2(0xbf)+_0x54a467[_0x3d7ff2(0x110)]);}}return logger[_0x3d7ff2(0xea)](_0x3d7ff2(0x12a)+_0x3bfb70+_0x3d7ff2(0x170)+(_0x21b406?.['message']||_0x32dc37[_0x3d7ff2(0x15f)])),![];};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a96_0x260221=a96_0x30c4;function a96_0x572c(){var _0x106dbc=['6IJGXbM','1195716zyiSGs','381SbytvR','MINIMUM_BROWSER_VERSION_ACCESSIBILITY','4754064GjAWfY','100','4111902SfLaQd','https://accessibility.browserstack.com/api','289870KSCagx','10ZHmoBC','MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY','22210yIYraJ','167574BeRZfR','API_URL','1399110XNQTaQ'];a96_0x572c=function(){return _0x106dbc;};return a96_0x572c();}function a96_0x30c4(_0xf9cac6,_0x984583){var _0x572cd5=a96_0x572c();return a96_0x30c4=function(_0x30c465,_0x54f375){_0x30c465=_0x30c465-0x135;var _0xccd109=_0x572cd5[_0x30c465];return _0xccd109;},a96_0x30c4(_0xf9cac6,_0x984583);}(function(_0x4e03b5,_0x167757){var _0x58bb41=a96_0x30c4,_0x62f3ff=_0x4e03b5();while(!![]){try{var _0x1fbfb8=-parseInt(_0x58bb41(0x13d))/0x1+-parseInt(_0x58bb41(0x13c))/0x2*(-parseInt(_0x58bb41(0x142))/0x3)+parseInt(_0x58bb41(0x141))/0x4+parseInt(_0x58bb41(0x13f))/0x5+parseInt(_0x58bb41(0x140))/0x6*(-parseInt(_0x58bb41(0x139))/0x7)+-parseInt(_0x58bb41(0x135))/0x8+parseInt(_0x58bb41(0x137))/0x9*(-parseInt(_0x58bb41(0x13a))/0xa);if(_0x1fbfb8===_0x167757)break;else _0x62f3ff['push'](_0x62f3ff['shift']());}catch(_0x194e44){_0x62f3ff['push'](_0x62f3ff['shift']());}}}(a96_0x572c,0xb1f86),exports[a96_0x260221(0x13e)]=a96_0x260221(0x138),exports[a96_0x260221(0x143)]='94',exports[a96_0x260221(0x13b)]=a96_0x260221(0x136));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a97_0x433752=a97_0x5a70;function a97_0x32f9(){const _0x21cbfe=['headers','GET_RESULTS_SUMMARY','isBrowserstackInfra','HcIwh','OzMKp','method','browserVersion','join','Ejwrh','null','Authorization','getHostInfo','requireModule','./scripts','response','info','chromeOptions','false','goog:chromeOptions','blewg','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','getResults','GfSNr','Not\x20a\x20Accessibility\x20Session','869879gAQKqx','basename','uVSph','path','JvAHg','NqQwX','projectName','isAccessibilityPlatform','BROWSERSTACK_TURBOSCALE','GDYKA','getTestFrameworkDetails','device','GwJZd','MCeSo','EgwIQ','uNtPD','BgrCQ','args','getCiInfo','PXcjd','LjURa','nOsxe','javascript','wGCeU','env','MdWtQ','PUT','options_','a11y:stop','VdxTr','SQldU','selenium-webdriver/chrome.js','HBpFG','includeTagsInTestingScope','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','CFCcQ','Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20','toJson','getBrowserName','version','body','KUMJd','sLQTt','browserstackSessionName','get','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token','../performance/constants','mvOCw','Invalid\x20configuration\x20passed.','length','Content-Type','dapfD','playwright','getUserName','ucrwl','Options','mFOtn','auth','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.','3ewTjDY','debug','isTrue','lAXaT','vfwzJ','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','yHXML','isUndefined','tbuZN','chZPS','ChromeExtension','accessibility','browserstack','1199580lHCWSZ','336950JKHpTG','bstack:options','PnUKK','getGitMetaData','setNonBstackInfraCapabilities','122410QhTZTj','resolve','data','measureWrapper','getBrowserVersion','Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20','oOnpU','stringify','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','checkAccessibilityPlatformConfig','getCapabilities','browserstack_executor','rUcMT','status','16JvPuvL','WeuMQ','nonBstackPlatformValidation','KZbFR','lmaAs','platforms','BS_A11Y_JWT','xreoy','XvStH','warn','963tSYssi','getPlatformVersion','adynM','Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20','../globals','capabilities_','Invalid\x20request:\x20','getGlobal','isAccessibilityAutomationSession','nestedKeyValue','cOGXe','../helper','eMBxI','toISOString','2046944oUVycY','format','errors','nodeRequest','Build\x20creation\x20had\x20failed.','selenium-webdriver','mergeDeep','CHXMU','chrome','excludeTagsInTestingScope','UnMON','../logger','IMZmU','Performed\x20scan\x20with\x20result:\x20','MGpjt','qVsIf','LXHhu','Error\x20while\x20adding\x20Non-Bstack\x20capabilities:\x20','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','some','MToZI','./constants','PdwBn','Qfqna','__cloud_provider___','--headless','Performing\x20scan\x20before\x20getting\x20results','parse','POST','includes','test_runs/stop','script','ZrrHL','chromeOptions_','BROWSERSTACK_TEST_ACCESSIBILITY_YML','jBBgG','LOtaZ','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','rWhKG','ywVAU','isBrowserStackCommandExecutor','error','bstackA11yShouldScan','Performing\x20scan\x20before\x20getting\x20results\x20summary','deviceName','../performance/performance-tester','isArray','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','getResultsSummary','1932556DefDbu','message','getAccessibilityResults','executeAsyncScript','JGquM','getPlatform','pass','scannerVersion','string','GET_RESULTS','SapXc','json','ybNbk','UCLzO','946169RoVCke','getAgentVersion','statusText','buildDescription','createAccessibilityTestRun','performScan','stack','getAccessibilityResultsSummary','PERFORM_SCAN','NyXqa','assign','parseFromJson','POJQu','yYJfu','Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20','shouldScanTestForAccessibility','VXCan','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.'];a97_0x32f9=function(){return _0x21cbfe;};return a97_0x32f9();}(function(_0x1bbe1a,_0x59634d){const _0x265243=a97_0x5a70,_0x3e016f=_0x1bbe1a();while(!![]){try{const _0x38af5e=parseInt(_0x265243(0x180))/0x1+-parseInt(_0x265243(0x148))/0x2*(parseInt(_0x265243(0xde))/0x3)+-parseInt(_0x265243(0x117))/0x4+-parseInt(_0x265243(0xec))/0x5+parseInt(_0x265243(0xeb))/0x6+-parseInt(_0x265243(0x156))/0x7*(parseInt(_0x265243(0xff))/0x8)+-parseInt(_0x265243(0x109))/0x9*(-parseInt(_0x265243(0xf1))/0xa);if(_0x38af5e===_0x59634d)break;else _0x3e016f['push'](_0x3e016f['shift']());}catch(_0x29cc73){_0x3e016f['push'](_0x3e016f['shift']());}}}(a97_0x32f9,0x89a92));const path=require(a97_0x433752(0x183)),util=require('util'),bsSetupHelper=require(a97_0x433752(0x114)),logger=require(a97_0x433752(0x122))['winstonLogger'],{API_URL,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require(a97_0x433752(0x12c)),PerformanceTester=require(a97_0x433752(0x144)),scripts=require(a97_0x433752(0x175)),globals=require(a97_0x433752(0x10d)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a97_0x433752(0xd1));function a97_0x5a70(_0x1cf03f,_0x187374){const _0x32f920=a97_0x32f9();return a97_0x5a70=function(_0x5a7047,_0x5e0575){_0x5a7047=_0x5a7047-0xb6;let _0x2441b0=_0x32f920[_0x5a7047];return _0x2441b0;},a97_0x5a70(_0x1cf03f,_0x187374);}exports['fetchPlatformDetails']=async _0xc66837=>{const _0xad5f95=a97_0x433752,_0x256008={};_0x256008[_0xad5f95(0xe7)]=function(_0x367a7d,_0x510620){return _0x367a7d===_0x510620;},_0x256008[_0xad5f95(0xd6)]=_0xad5f95(0xea);const _0x32dfc5=_0x256008;let _0x4e1daa={};try{const _0x22a3a9=await _0xc66837[_0xad5f95(0xfb)]();_0x4e1daa={'os_name':_0x22a3a9[_0xad5f95(0x14d)](),'os_version':bsSetupHelper[_0xad5f95(0x10a)](_0x32dfc5['chZPS'](global[_0xad5f95(0x12f)],_0x32dfc5[_0xad5f95(0xd6)])),'browser_name':_0x22a3a9[_0xad5f95(0xc9)](),'browser_version':_0x22a3a9[_0xad5f95(0xf5)]()};}catch(_0x3f7ff4){logger['debug'](_0xad5f95(0x17c)+_0x3f7ff4);}return _0x4e1daa;},exports[a97_0x433752(0x111)]=()=>{const _0x23b680=a97_0x433752,_0x459bda={};_0x459bda[_0x23b680(0x115)]=function(_0x1f5b26,_0x5bba83){return _0x1f5b26===_0x5bba83;},_0x459bda[_0x23b680(0xe1)]=_0x23b680(0x150),_0x459bda['NqQwX']=function(_0x1045a5,_0x476dc9){return _0x1045a5>_0x476dc9;},_0x459bda['DeTxS']=function(_0x2203fb,_0x51ac1b){return _0x2203fb!==_0x51ac1b;},_0x459bda[_0x23b680(0xee)]=_0x23b680(0x171),_0x459bda[_0x23b680(0xb7)]=function(_0x256889,_0x51e64e){return _0x256889&&_0x51e64e;};const _0x1092bb=_0x459bda;try{const _0x44347c=bsSetupHelper[_0x23b680(0xe0)](process['env'][_0x23b680(0x139)])||bsSetupHelper[_0x23b680(0xe0)](process[_0x23b680(0xbb)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']),_0x1bb1aa=_0x1092bb[_0x23b680(0x115)](typeof process['env']['BS_A11Y_JWT'],_0x1092bb[_0x23b680(0xe1)])&&_0x1092bb[_0x23b680(0x185)](process[_0x23b680(0xbb)]['BS_A11Y_JWT'][_0x23b680(0xd4)],0x0)&&_0x1092bb['DeTxS'](process[_0x23b680(0xbb)]['BS_A11Y_JWT'],_0x1092bb['PnUKK']);return _0x1092bb['LjURa'](_0x44347c,_0x1bb1aa);}catch(_0x3ea409){logger['debug'](_0x23b680(0xf6)+_0x3ea409);}return![];},exports[a97_0x433752(0x101)]=(_0xacb186,_0x8fec30)=>{const _0x5296be=a97_0x433752,_0x3b2620={'qVsIf':'browserName','rUcMT':function(_0x1ef58e,_0x1a2101){return _0x1ef58e(_0x1a2101);},'VXCan':_0x5296be(0x16e),'xreoy':_0x5296be(0xca),'GwJZd':_0x5296be(0xed),'wGCeU':_0x5296be(0x143),'WEDrN':_0x5296be(0x18b),'uNtPD':_0x5296be(0x146),'xkDFk':_0x5296be(0xc2),'LXHhu':_0x5296be(0x11c),'CHXMU':_0x5296be(0xbe),'MGpjt':_0x5296be(0x191),'PdwBn':_0x5296be(0x178),'NyXqa':_0x5296be(0x130),'CFCcQ':_0x5296be(0x129),'vfwzJ':_0x5296be(0x17a),'MToZI':function(_0x3d5af5,_0x44e116){return _0x3d5af5===_0x44e116;},'EgwIQ':_0x5296be(0x11f),'UnMON':function(_0xa54def,_0x8c639f){return _0xa54def>=_0x8c639f;}},_0xca2fe6=_0xacb186[_0x5296be(0xcf)](_0x3b2620[_0x5296be(0x126)]),_0x3966b8=_0x3b2620['rUcMT'](parseFloat,_0xacb186[_0x5296be(0xcf)](_0x3b2620[_0x5296be(0x166)]))||_0x3b2620[_0x5296be(0xfd)](parseFloat,_0xacb186[_0x5296be(0xcf)](_0x3b2620[_0x5296be(0x106)])),_0x2e60e1=_0xacb186[_0x5296be(0xcf)](_0x3b2620['GwJZd'])||{},_0x332983=_0x3b2620[_0x5296be(0xfd)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY),_0x4e8129=_0x2e60e1[_0x3b2620[_0x5296be(0xba)]]||_0xacb186[_0x5296be(0xcf)](_0x3b2620['WEDrN'])||![];if(_0x4e8129)return logger[_0x5296be(0x108)](_0x3b2620[_0x5296be(0x18f)]),![];let _0x10a983;try{_0x10a983=bsSetupHelper[_0x5296be(0x174)](_0x3b2620['xkDFk'],_0x3b2620[_0x5296be(0x127)]);}catch(_0x286665){return![];}const _0x56da0b=new _0x10a983[(_0x5296be(0xda))](_0x8fec30[_0x5296be(0x138)]),_0x24785c=bsSetupHelper[_0x5296be(0x112)](_0x56da0b,[_0x3b2620[_0x5296be(0x11e)],_0x3b2620[_0x5296be(0x125)]])||bsSetupHelper[_0x5296be(0x112)](_0x8fec30[_0x5296be(0x10e)],[_0x3b2620[_0x5296be(0x18c)],_0x3b2620['PdwBn'],_0x3b2620[_0x5296be(0x125)]])||bsSetupHelper['nestedKeyValue'](_0x8fec30[_0x5296be(0x10e)],[_0x3b2620[_0x5296be(0x12d)],_0x3b2620[_0x5296be(0x125)]])||[];if(_0x24785c[_0x5296be(0x134)](_0x3b2620[_0x5296be(0x15f)]))return logger[_0x5296be(0x108)](_0x3b2620['CFCcQ']),![];const _0x1df96c=_0x8fec30[_0x5296be(0x10e)]||{},_0x175929=bsSetupHelper[_0x5296be(0x112)](_0x1df96c,[_0x3b2620[_0x5296be(0xe2)]])||{},_0x4fb54b=bsSetupHelper[_0x5296be(0x112)](_0x175929,[_0x3b2620[_0x5296be(0x125)]])||[];if(_0x4fb54b[_0x5296be(0x134)](_0x3b2620['NyXqa']))return logger[_0x5296be(0x108)](_0x3b2620[_0x5296be(0xc6)]),![];if(_0x3b2620[_0x5296be(0x12b)](_0xca2fe6['toLowerCase'](),_0x3b2620[_0x5296be(0x18e)])&&_0x3b2620[_0x5296be(0x121)](_0x3966b8,_0x332983))return!![];return logger[_0x5296be(0x108)]('Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20'+MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY+'.'),![];},exports[a97_0x433752(0xf0)]=_0x4b8fd1=>{const _0x248f54=a97_0x433752,_0x5ee170={};_0x5ee170[_0x248f54(0x107)]=_0x248f54(0x17a),_0x5ee170[_0x248f54(0x12e)]=function(_0x3f38ed,_0x21de2c){return _0x3f38ed||_0x21de2c;},_0x5ee170[_0x248f54(0x16c)]=_0x248f54(0x17f);const _0x268b60=_0x5ee170,_0x5c2c40=scripts[_0x248f54(0xe8)];try{const _0x27101b=bsSetupHelper[_0x248f54(0xe0)](process[_0x248f54(0xbb)][_0x248f54(0x139)])||bsSetupHelper[_0x248f54(0xe0)](process[_0x248f54(0xbb)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']);if((!bsSetupHelper[_0x248f54(0x16a)]()||process[_0x248f54(0xbb)][_0x248f54(0x188)])&&_0x27101b){const _0x51339a=_0x4b8fd1['getCapabilities'](),_0xf2a77f=_0x51339a[_0x248f54(0xcf)](_0x268b60[_0x248f54(0x107)]),_0x2304f7=_0x268b60[_0x248f54(0x12e)](_0xf2a77f,{});bsSetupHelper[_0x248f54(0x11d)](_0x2304f7,_0x5c2c40),_0x4b8fd1[_0x248f54(0xfb)]()['set'](_0x268b60[_0x248f54(0x107)],_0x2304f7);}else logger[_0x248f54(0x108)](_0x268b60[_0x248f54(0x16c)]);}catch(_0x1f9055){logger[_0x248f54(0x140)](_0x248f54(0x128)+_0x1f9055);}},exports[a97_0x433752(0x165)]=(_0x554373=null,_0x44981a=!![],_0x377a0a=[])=>{const _0x5a2f78=a97_0x433752,_0x56c3b0={};_0x56c3b0[_0x5a2f78(0xc3)]=function(_0x44b401,_0x3ad8b0){return _0x44b401==_0x3ad8b0;},_0x56c3b0[_0x5a2f78(0xe6)]=function(_0x457871,_0x2ae5a3){return _0x457871>_0x2ae5a3;},_0x56c3b0[_0x5a2f78(0xbc)]=function(_0x4e869d,_0x41a22a){return _0x4e869d===_0x41a22a;},_0x56c3b0['GDYKA']=function(_0xcb10ea,_0x12922e){return _0xcb10ea&&_0x12922e;},_0x56c3b0[_0x5a2f78(0xe4)]=function(_0x2f2d87,_0x57fceb){return _0x2f2d87===_0x57fceb;},_0x56c3b0['IMZmU']=function(_0x355dff,_0x529b7b){return _0x355dff&&_0x529b7b;};const _0x2bc667=_0x56c3b0;if(_0x2bc667[_0x5a2f78(0xc3)](process[_0x5a2f78(0xbb)][_0x5a2f78(0x13c)],null))return!![];try{const _0x2ef8ca=JSON[_0x5a2f78(0x132)](process[_0x5a2f78(0xbb)][_0x5a2f78(0x13c)]),_0x5e5924=Array['isArray'](_0x2ef8ca['includeTagsInTestingScope'])?_0x2ef8ca[_0x5a2f78(0xc4)]:[],_0x723b87=Array[_0x5a2f78(0x145)](_0x2ef8ca['excludeTagsInTestingScope'])?_0x2ef8ca[_0x5a2f78(0x120)]:[];if(bsSetupHelper['isUndefined'](_0x554373)){if(_0x2bc667[_0x5a2f78(0xe6)](_0x377a0a['length'],0x0)){const _0x2ea64c=_0x723b87[_0x5a2f78(0x12a)](_0x4e6a49=>_0x377a0a[_0x5a2f78(0x134)](_0x4e6a49)),_0x298ec1=_0x2bc667[_0x5a2f78(0xbc)](_0x5e5924['length'],0x0)||_0x5e5924[_0x5a2f78(0x12a)](_0x169d40=>_0x377a0a[_0x5a2f78(0x134)](_0x169d40));return _0x2bc667[_0x5a2f78(0x189)](!_0x2ea64c,_0x298ec1);}return!![];}let _0x39ca27;_0x44981a?_0x39ca27=_0x554373[_0x5a2f78(0x16f)]('/'):_0x39ca27=_0x554373;const _0x4099ae=_0x723b87[_0x5a2f78(0x12a)](_0xd28e9c=>_0x39ca27[_0x5a2f78(0x134)](_0xd28e9c)),_0xb7b781=_0x2bc667['yHXML'](_0x5e5924[_0x5a2f78(0xd4)],0x0)||_0x5e5924['some'](_0x483d32=>_0x39ca27[_0x5a2f78(0x134)](_0x483d32));return _0x2bc667[_0x5a2f78(0x123)](!_0x4099ae,_0xb7b781);}catch(_0x606eae){logger[_0x5a2f78(0xdf)](_0x5a2f78(0x10c)+util[_0x5a2f78(0x118)](_0x606eae));}return![];},exports[a97_0x433752(0xfa)]=_0x5026fc=>{const _0xb1e2d6=a97_0x433752;let _0x542d31=![];try{_0x5026fc[_0xb1e2d6(0x104)]['forEach'](_0x29dfab=>{const _0xf09d89=_0xb1e2d6;if(bsSetupHelper[_0xf09d89(0xe0)](_0x29dfab[_0xf09d89(0xe9)]))return _0x542d31=!![],!![];});}catch(_0x5124b7){logger[_0xb1e2d6(0xdf)](_0xb1e2d6(0x164)+_0x5124b7);}return _0x542d31||bsSetupHelper['isTrue'](_0x5026fc[_0xb1e2d6(0xe9)]);},exports[a97_0x433752(0x15a)]=PerformanceTester[a97_0x433752(0xf4)]('a11y:start',async function(_0x46eb75,_0x2391e7){const _0x1f483f=a97_0x433752,_0x5915eb={};_0x5915eb['jBBgG']=_0x1f483f(0xd0),_0x5915eb['UCLzO']=_0x1f483f(0xd7),_0x5915eb[_0x1f483f(0x184)]=_0x1f483f(0xb9),_0x5915eb['Ejwrh']='application/json',_0x5915eb[_0x1f483f(0x182)]=_0x1f483f(0x133),_0x5915eb[_0x1f483f(0x10b)]='v2/test_runs',_0x5915eb['KZbFR']=function(_0x91f27a,_0x4f8bbf){return _0x91f27a===_0x4f8bbf;},_0x5915eb[_0x1f483f(0xf7)]=_0x1f483f(0xd3),_0x5915eb[_0x1f483f(0x190)]=_0x1f483f(0x179);const _0x21d90e=_0x5915eb,_0xfa78e9=bsSetupHelper[_0x1f483f(0xd8)](_0x46eb75),_0x3e6398=bsSetupHelper['getAccessKey'](_0x46eb75);if(bsSetupHelper[_0x1f483f(0xe5)](_0xfa78e9)||bsSetupHelper['isUndefined'](_0x3e6398))return logger['error'](_0x21d90e[_0x1f483f(0x13a)]),[null,null];try{let _0x506fce;bsSetupHelper['isUndefined'](process[_0x1f483f(0xbb)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])?_0x506fce={}:_0x506fce=JSON[_0x1f483f(0x132)](process[_0x1f483f(0xbb)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']);const {name:_0x5db0b2,version:_0x5df7dd}=bsSetupHelper[_0x1f483f(0x18a)](_0x46eb75,_0x2391e7),_0x603e6f={'projectName':_0x46eb75[_0x1f483f(0x186)],'buildName':_0x46eb75['buildName']||path[_0x1f483f(0x181)](path[_0x1f483f(0xf2)](process['cwd']())),'startTime':new Date()[_0x1f483f(0x116)](),'description':_0x46eb75[_0x1f483f(0x159)]||'','source':{'frameworkName':_0x2391e7['includes'](_0x21d90e[_0x1f483f(0x155)])?_0x21d90e[_0x1f483f(0x155)]:_0x2391e7,'frameworkVersion':bsSetupHelper['getPackageVersion'](_0x2391e7),'sdkVersion':bsSetupHelper[_0x1f483f(0x157)](),'language':_0x21d90e['JvAHg'],'testFramework':_0x5db0b2,'testFrameworkVersion':_0x5df7dd},'settings':_0x506fce,'versionControl':await bsSetupHelper[_0x1f483f(0xef)](),'ciInfo':bsSetupHelper[_0x1f483f(0x192)](),'hostInfo':bsSetupHelper[_0x1f483f(0x173)](),'browserstackAutomation':bsSetupHelper['isBrowserstackInfra']()},_0x23d855={};_0x23d855['user']=_0xfa78e9,_0x23d855[_0x1f483f(0x14e)]=_0x3e6398;const _0x22612d={};_0x22612d[_0x1f483f(0xd5)]=_0x21d90e[_0x1f483f(0x170)];const _0x580f46={};_0x580f46[_0x1f483f(0xdc)]=_0x23d855,_0x580f46[_0x1f483f(0x168)]=_0x22612d;const _0x2d8364=_0x580f46,_0x3a8605={};_0x3a8605['body']=_0x603e6f,_0x3a8605[_0x1f483f(0x153)]=!![];const _0x4a13ed=Object[_0x1f483f(0x160)](_0x2d8364,_0x3a8605),_0x3c19e0=await bsSetupHelper[_0x1f483f(0x11a)](_0x21d90e[_0x1f483f(0x182)],_0x21d90e[_0x1f483f(0x10b)],_0x4a13ed,_0x46eb75,API_URL);let _0x1c1e4f=process[_0x1f483f(0xbb)][_0x1f483f(0x13c)];return _0x1c1e4f?_0x1c1e4f=JSON[_0x1f483f(0x132)](process[_0x1f483f(0xbb)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']):_0x1c1e4f={},scripts[_0x1f483f(0x161)](_0x3c19e0['data']['data']),scripts[_0x1f483f(0xc8)](),_0x1c1e4f[_0x1f483f(0x14f)]=_0x3c19e0['data'][_0x1f483f(0xf3)][_0x1f483f(0x14f)],process[_0x1f483f(0xbb)][_0x1f483f(0x13c)]=JSON[_0x1f483f(0xf8)](_0x1c1e4f),[_0x3c19e0[_0x1f483f(0xf3)][_0x1f483f(0xf3)]['accessibilityToken'],_0x3c19e0['data'][_0x1f483f(0xf3)]['id']];}catch(_0x309e63){if(_0x309e63[_0x1f483f(0x176)])logger[_0x1f483f(0x140)](_0x1f483f(0xc5)+_0x309e63['response'][_0x1f483f(0xfe)]+'\x20'+_0x309e63[_0x1f483f(0x176)][_0x1f483f(0x158)]+'\x20'+JSON[_0x1f483f(0xf8)](_0x309e63['response'][_0x1f483f(0xf3)]));else{if(_0x21d90e[_0x1f483f(0x102)](_0x309e63[_0x1f483f(0x149)],_0x21d90e[_0x1f483f(0xf7)])){logger['error']('Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20'+(_0x309e63[_0x1f483f(0x149)]||_0x309e63[_0x1f483f(0x15c)]));for(const _0x12dffb of _0x309e63[_0x1f483f(0x119)]){logger['error'](_0x12dffb[_0x1f483f(0x149)]);}process[_0x1f483f(0xbb)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x21d90e[_0x1f483f(0x190)],process[_0x1f483f(0xbb)][_0x1f483f(0xf9)]=_0x21d90e[_0x1f483f(0x190)];}else logger[_0x1f483f(0x140)]('Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20'+(_0x309e63[_0x1f483f(0x149)]||_0x309e63[_0x1f483f(0x15c)]));}return[null,null];}}),exports['stopAccessibilityTestRun']=PerformanceTester[a97_0x433752(0xf4)](a97_0x433752(0xbf),async function(_0x3fe27e){const _0xa0b31f=a97_0x433752,_0x5d5a32={};_0x5d5a32[_0xa0b31f(0x13b)]=function(_0x3f1706,_0x341152){return _0x3f1706!==_0x341152;},_0x5d5a32[_0xa0b31f(0x17b)]=_0xa0b31f(0x150),_0x5d5a32[_0xa0b31f(0xd2)]=_0xa0b31f(0x140),_0x5d5a32[_0xa0b31f(0x113)]=_0xa0b31f(0x11b),_0x5d5a32[_0xa0b31f(0x162)]='application/json',_0x5d5a32[_0xa0b31f(0x152)]=_0xa0b31f(0xbd),_0x5d5a32['HcIwh']=_0xa0b31f(0x135),_0x5d5a32['ZrrHL']=function(_0x5f22bb,_0xf07ff4){return _0x5f22bb+_0xf07ff4;},_0x5d5a32[_0xa0b31f(0xc1)]=_0xa0b31f(0x10f),_0x5d5a32['EwhiO']='success';const _0x352d8c=_0x5d5a32;if(bsSetupHelper[_0xa0b31f(0xe5)](process[_0xa0b31f(0xbb)][_0xa0b31f(0x105)])||_0x352d8c['LOtaZ'](typeof process[_0xa0b31f(0xbb)][_0xa0b31f(0x105)],_0x352d8c['blewg'])){const _0x50a779={};return _0x50a779[_0xa0b31f(0xfe)]=_0x352d8c[_0xa0b31f(0xd2)],_0x50a779[_0xa0b31f(0x149)]=_0x352d8c[_0xa0b31f(0x113)],_0x50a779;}const _0x173cc9={'endTime':new Date()[_0xa0b31f(0x116)]()},_0x2f6177={};_0x2f6177[_0xa0b31f(0x172)]='Bearer\x20'+process[_0xa0b31f(0xbb)][_0xa0b31f(0x105)],_0x2f6177[_0xa0b31f(0xd5)]=_0x352d8c[_0xa0b31f(0x162)];const _0x53f341={};_0x53f341[_0xa0b31f(0x168)]=_0x2f6177;const _0x241165=_0x53f341,_0x4a431c={};_0x4a431c[_0xa0b31f(0xcb)]=_0x173cc9,_0x4a431c[_0xa0b31f(0xdc)]=null,_0x4a431c[_0xa0b31f(0x153)]=!![];const _0x41c25e=Object[_0xa0b31f(0x160)](_0x241165,_0x4a431c);try{const _0x2cee51=await bsSetupHelper[_0xa0b31f(0x11a)](_0x352d8c['SapXc'],_0x352d8c[_0xa0b31f(0x16b)],_0x41c25e,_0x3fe27e,API_URL);if(_0x2cee51[_0xa0b31f(0xf3)][_0xa0b31f(0x140)])throw new Error(_0x352d8c[_0xa0b31f(0x137)](_0x352d8c[_0xa0b31f(0xc1)],_0x2cee51[_0xa0b31f(0xf3)][_0xa0b31f(0x140)]));else{logger[_0xa0b31f(0x177)]('BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20'+new Date()[_0xa0b31f(0x116)]());const _0x121d02={};return _0x121d02['status']=_0x352d8c['EwhiO'],_0x121d02['message']='',_0x121d02;}}catch(_0x13ad0c){_0x13ad0c[_0xa0b31f(0x176)]?logger['error'](_0xa0b31f(0xc7)+_0x13ad0c[_0xa0b31f(0x176)][_0xa0b31f(0xfe)]+'\x20'+_0x13ad0c['response']['statusText']+'\x20'+JSON[_0xa0b31f(0xf8)](_0x13ad0c[_0xa0b31f(0x176)]['data'])):logger[_0xa0b31f(0x140)](_0xa0b31f(0xc7)+(_0x13ad0c[_0xa0b31f(0x149)]||util[_0xa0b31f(0x118)](_0x13ad0c)));const _0x53a11c={};return _0x53a11c['status']=_0x352d8c[_0xa0b31f(0xd2)],_0x53a11c[_0xa0b31f(0x149)]=_0x13ad0c['message']||(_0x13ad0c[_0xa0b31f(0x176)]?_0x13ad0c[_0xa0b31f(0x176)]['status']+':'+_0x13ad0c[_0xa0b31f(0x176)][_0xa0b31f(0x158)]:_0x13ad0c),_0x53a11c;}}),exports[a97_0x433752(0x15b)]=async(_0x41e414,_0x39cd5a=null)=>{const _0x5ce9ea=a97_0x433752,_0x385c13={};_0x385c13[_0x5ce9ea(0x163)]=_0x5ce9ea(0x187),_0x385c13['mFOtn']='bstackA11yShouldScan',_0x385c13[_0x5ce9ea(0x14c)]=_0x5ce9ea(0xdd);const _0xcb1c86=_0x385c13;if(!this['isAccessibilityAutomationSession']()||!globals[_0x5ce9ea(0x110)](_0xcb1c86[_0x5ce9ea(0x163)])||!globals[_0x5ce9ea(0x110)](_0xcb1c86[_0x5ce9ea(0xdb)])){logger[_0x5ce9ea(0x108)](_0xcb1c86[_0x5ce9ea(0x14c)]);return;}return await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x5ce9ea(0x15e)],async()=>{const _0x4272e9=_0x5ce9ea,_0x1e78b0={};_0x1e78b0[_0x4272e9(0x16d)]=_0x39cd5a||global[_0x4272e9(0xce)];const _0x522a60=util['format'](await _0x41e414[_0x4272e9(0x14b)](scripts[_0x4272e9(0x15b)],_0x1e78b0));return logger[_0x4272e9(0xdf)](_0x4272e9(0x124)+_0x522a60),_0x522a60;},{'command':_0x39cd5a})();},exports['getAccessibilityResults']=async(_0x4864ff,_0x874119)=>{const _0x38c8ae=a97_0x433752,_0x47f7cb={};_0x47f7cb['nIPmP']=_0x38c8ae(0x131),_0x47f7cb[_0x38c8ae(0x154)]=_0x38c8ae(0x187),_0x47f7cb[_0x38c8ae(0xcc)]='bstackA11yShouldScan',_0x47f7cb[_0x38c8ae(0xb6)]=_0x38c8ae(0xe3),_0x47f7cb[_0x38c8ae(0x18d)]=_0x38c8ae(0x14a),_0x47f7cb['CRiMU']='No\x20accessibility\x20results\x20were\x20found.';const _0x3498dc=_0x47f7cb;if(!this[_0x38c8ae(0x111)]()||!globals[_0x38c8ae(0x110)](_0x3498dc['ybNbk'])||!globals[_0x38c8ae(0x110)](_0x3498dc[_0x38c8ae(0xcc)]))return logger[_0x38c8ae(0x108)](_0x3498dc[_0x38c8ae(0xb6)]),[];try{return await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x38c8ae(0x15e)],async()=>{const _0x19d244=_0x38c8ae;logger[_0x19d244(0xdf)](_0x3498dc['nIPmP']);const _0x5de74a={};_0x5de74a['method']=_0x874119['browserstackSessionName'],logger['debug'](util[_0x19d244(0x118)](await _0x4864ff[_0x19d244(0x14b)](scripts[_0x19d244(0x15b)],_0x5de74a)));},{'command':_0x3498dc[_0x38c8ae(0x18d)]})(),await PerformanceTester[_0x38c8ae(0xf4)](PerformanceA11yEvents[_0x38c8ae(0x151)],async()=>{const _0x565aa5=_0x38c8ae,_0x111498=await _0x4864ff['executeAsyncScript'](scripts[_0x565aa5(0x17d)]);return _0x111498;})();}catch{return logger[_0x38c8ae(0x140)](_0x3498dc['CRiMU']),[];}},exports[a97_0x433752(0x15d)]=async(_0x2d9922,_0x33349d)=>{const _0x52188a=a97_0x433752,_0x2935bc={};_0x2935bc[_0x52188a(0x13d)]=_0x52188a(0x142),_0x2935bc['sLQTt']=_0x52188a(0x187),_0x2935bc['lmaAs']=_0x52188a(0x141),_0x2935bc['ywVAU']=_0x52188a(0x167),_0x2935bc[_0x52188a(0x17e)]='getAccessibilityResultsSummary',_0x2935bc[_0x52188a(0xc0)]='No\x20accessibility\x20summary\x20was\x20found.';const _0x4ee24a=_0x2935bc;if(!this[_0x52188a(0x111)]()||!globals[_0x52188a(0x110)](_0x4ee24a[_0x52188a(0xcd)])||!globals[_0x52188a(0x110)](_0x4ee24a[_0x52188a(0x103)]))return logger[_0x52188a(0x108)](_0x4ee24a[_0x52188a(0x13e)]),{};try{return await PerformanceTester[_0x52188a(0xf4)](PerformanceA11yEvents[_0x52188a(0x15e)],async()=>{const _0x51103b=_0x52188a;logger[_0x51103b(0xdf)](_0x4ee24a[_0x51103b(0x13d)]);const _0x4115db={};_0x4115db['method']=_0x33349d[_0x51103b(0xce)],logger['debug'](util[_0x51103b(0x118)](await _0x2d9922['executeAsyncScript'](scripts[_0x51103b(0x15b)],_0x4115db)));},{'command':_0x4ee24a['GfSNr']})(),await PerformanceTester[_0x52188a(0xf4)](PerformanceA11yEvents[_0x52188a(0x169)],async()=>{const _0xa0b637=_0x52188a,_0x521abf=await _0x2d9922[_0xa0b637(0x14b)](scripts[_0xa0b637(0x147)]);return _0x521abf;})();}catch{return logger[_0x52188a(0x140)](_0x4ee24a[_0x52188a(0xc0)]),{};}},exports[a97_0x433752(0x13f)]=_0x3b144a=>{const _0x2d8e42=a97_0x433752,_0x5e65b5={};_0x5e65b5[_0x2d8e42(0xd9)]=function(_0x341829,_0x43abb7){return _0x341829===_0x43abb7;},_0x5e65b5[_0x2d8e42(0xb8)]=_0x2d8e42(0x150),_0x5e65b5[_0x2d8e42(0x100)]=_0x2d8e42(0xfc);const _0x23d930=_0x5e65b5;if(_0x3b144a&&_0x3b144a[_0x2d8e42(0x136)]&&_0x23d930['ucrwl'](typeof _0x3b144a['script'],_0x23d930['nOsxe']))return _0x3b144a[_0x2d8e42(0x136)][_0x2d8e42(0x134)](_0x23d930[_0x2d8e42(0x100)]);return![];};
|
|
1
|
+
const a97_0x2079a9=a97_0x18d1;function a97_0x18d1(_0x3b5f58,_0x195b56){const _0x4fad6b=a97_0x4fad();return a97_0x18d1=function(_0x18d10d,_0x3a3086){_0x18d10d=_0x18d10d-0x1d3;let _0x16bb5d=_0x4fad6b[_0x18d10d];return _0x16bb5d;},a97_0x18d1(_0x3b5f58,_0x195b56);}function a97_0x4fad(){const _0x43d0a3=['13jdtxtY','selenium-webdriver/chrome.js','GET_RESULTS','SzVpM','isAccessibilityAutomationSession','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','kaNXA','nestedKeyValue','KtoIw','xkBeJ','Bearer\x20','tskvE','goog:chromeOptions','UVMpJ','getHostInfo','headers','xpPeI','./constants','1082ENbStB','toJson','xHKxT','auth','KrQKU','args','checkAccessibilityPlatformConfig','join','resolve','getResultsSummary','response','GIYaZ','27hJwrcS','Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20','ezvXS','scannerVersion','getPackageVersion','Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20','1610364hWwEOe','NzoVn','BROWSERSTACK_TURBOSCALE','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','excludeTagsInTestingScope','ethYT','length','nonBstackPlatformValidation','oZVdP','619267JZYMBM','4726312KxhzAq','some','FYidA','test_runs/stop','Performing\x20scan\x20before\x20getting\x20results','__cloud_provider___','EdcOH','chromeOptions_','getBrowserName','GET_RESULTS_SUMMARY','qgQbt','data','getAccessibilityResultsSummary','Performing\x20scan\x20before\x20getting\x20results\x20summary','HMFHM','qgwfG','ACbGf','browserName','getCiInfo','ZmMdp','format','HcXdf','CSAkX','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','getGlobal','MeQsK','a11y:start','YADMr','Yeemi','body','isBrowserstackInfra','getTestFrameworkDetails','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','40YdThio','platforms','ipKvN','includes','fetchPlatformDetails','kaXlU','aMhSl','get','Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20','Cydjd','Authorization','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','buildDescription','FjZEP','Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20','../globals','winstonLogger','parse','eMoVH','path','stack','No\x20accessibility\x20summary\x20was\x20found.','mergeDeep','status','POST','getAccessKey','802IpsPGZ','isTrue','method','projectName','browserstack','performScan','success','cUeYt','bstackA11yShouldScan','RnvSF','asSDe','NycSG','toISOString','error','9gqgEuE','measureWrapper','MSPdd','string','parseFromJson','SkLnk','application/json','../performance/performance-tester','deviceName','XZMNa','isArray','statusText','shouldScanTestForAccessibility','getAccessibilityResults','browserVersion','PERFORM_SCAN','BROWSERSTACK_TEST_ACCESSIBILITY_YML','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token','nodeRequest','POcro','ChromeExtension','executeAsyncScript','script','ekvwl','getCapabilities','EuXpy','stringify','version','browserstackSessionName','WrTKX','QYtBN','getGitMetaData','Not\x20a\x20Accessibility\x20Session','getResults','No\x20accessibility\x20results\x20were\x20found.','bstack:options','../performance/constants','stopAccessibilityTestRun','VanhB','setNonBstackInfraCapabilities','set','javascript','110Afwryw','createAccessibilityTestRun','message','38384LULGxU','util','debug','getAgentVersion','PkwTG','xLVUT','getPlatform','Teckw','tIvSb','vvOSt','--headless','dnjXt','cwd','info','BS_A11Y_JWT','56448FnyrCJ','josuY','../helper','warn','mEeRb','isUndefined','Options','GRKSg','false','9753732rexHIq','Build\x20creation\x20had\x20failed.','TjyPs','kjMpp','env','json','assign','selenium-webdriver','toLowerCase','Error\x20while\x20adding\x20Non-Bstack\x20capabilities:\x20','mLBIT','OHtER','basename','forEach','Invalid\x20configuration\x20passed.','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','isAccessibilityPlatform','capabilities_'];a97_0x4fad=function(){return _0x43d0a3;};return a97_0x4fad();}(function(_0x1f92eb,_0x10fd98){const _0x4a4a8e=a97_0x18d1,_0x9eb7f=_0x1f92eb();while(!![]){try{const _0x37b442=-parseInt(_0x4a4a8e(0x222))/0x1*(-parseInt(_0x4a4a8e(0x279))/0x2)+parseInt(_0x4a4a8e(0x22e))/0x3*(parseInt(_0x4a4a8e(0x1e6))/0x4)+parseInt(_0x4a4a8e(0x25f))/0x5*(parseInt(_0x4a4a8e(0x1f5))/0x6)+parseInt(_0x4a4a8e(0x234))/0x7+-parseInt(_0x4a4a8e(0x23e))/0x8*(parseInt(_0x4a4a8e(0x287))/0x9)+parseInt(_0x4a4a8e(0x1e3))/0xa*(-parseInt(_0x4a4a8e(0x23d))/0xb)+parseInt(_0x4a4a8e(0x1fe))/0xc*(parseInt(_0x4a4a8e(0x210))/0xd);if(_0x37b442===_0x10fd98)break;else _0x9eb7f['push'](_0x9eb7f['shift']());}catch(_0xa053cb){_0x9eb7f['push'](_0x9eb7f['shift']());}}}(a97_0x4fad,0x6891d));const path=require(a97_0x2079a9(0x272)),util=require(a97_0x2079a9(0x1e7)),bsSetupHelper=require(a97_0x2079a9(0x1f7)),logger=require('../logger')[a97_0x2079a9(0x26f)],{API_URL,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require(a97_0x2079a9(0x221)),PerformanceTester=require(a97_0x2079a9(0x28e)),scripts=require('./scripts'),globals=require(a97_0x2079a9(0x26e)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a97_0x2079a9(0x1dd));exports[a97_0x2079a9(0x263)]=async _0x4cd6e0=>{const _0x84f31b=a97_0x2079a9,_0x22325d={};_0x22325d[_0x84f31b(0x1d7)]=function(_0x5dea20,_0x5ab45d){return _0x5dea20===_0x5ab45d;},_0x22325d[_0x84f31b(0x240)]=_0x84f31b(0x27d);const _0x4c0904=_0x22325d;let _0x5c0d10={};try{const _0x39ccf6=await _0x4cd6e0[_0x84f31b(0x29f)]();_0x5c0d10={'os_name':_0x39ccf6[_0x84f31b(0x1ec)](),'os_version':bsSetupHelper['getPlatformVersion'](_0x4c0904[_0x84f31b(0x1d7)](global[_0x84f31b(0x243)],_0x4c0904[_0x84f31b(0x240)])),'browser_name':_0x39ccf6[_0x84f31b(0x246)](),'browser_version':_0x39ccf6['getBrowserVersion']()};}catch(_0x47df4f){logger['debug']('Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20'+_0x47df4f);}return _0x5c0d10;},exports[a97_0x2079a9(0x214)]=()=>{const _0x36313d=a97_0x2079a9,_0x264a60={};_0x264a60[_0x36313d(0x1eb)]=function(_0x51b827,_0x49dcdb){return _0x51b827===_0x49dcdb;},_0x264a60[_0x36313d(0x200)]=_0x36313d(0x28a),_0x264a60[_0x36313d(0x28c)]=function(_0x210ace,_0x2568a2){return _0x210ace>_0x2568a2;},_0x264a60[_0x36313d(0x1d6)]=function(_0x42f446,_0x536ce6){return _0x42f446!==_0x536ce6;},_0x264a60[_0x36313d(0x259)]='null',_0x264a60[_0x36313d(0x208)]=function(_0x31c7cd,_0x4f536e){return _0x31c7cd&&_0x4f536e;};const _0x438bbb=_0x264a60;try{const _0x44aa1e=bsSetupHelper['isTrue'](process[_0x36313d(0x202)][_0x36313d(0x297)])||bsSetupHelper[_0x36313d(0x27a)](process[_0x36313d(0x202)][_0x36313d(0x20d)]),_0x1a2419=_0x438bbb[_0x36313d(0x1eb)](typeof process[_0x36313d(0x202)][_0x36313d(0x1f4)],_0x438bbb[_0x36313d(0x200)])&&_0x438bbb[_0x36313d(0x28c)](process[_0x36313d(0x202)][_0x36313d(0x1f4)][_0x36313d(0x23a)],0x0)&&_0x438bbb[_0x36313d(0x1d6)](process[_0x36313d(0x202)]['BS_A11Y_JWT'],_0x438bbb[_0x36313d(0x259)]);return _0x438bbb[_0x36313d(0x208)](_0x44aa1e,_0x1a2419);}catch(_0xf1ff1e){logger[_0x36313d(0x1e8)](_0x36313d(0x22f)+_0xf1ff1e);}return![];},exports[a97_0x2079a9(0x23b)]=(_0x3fee32,_0x4a5e92)=>{const _0x4bcb9a=a97_0x2079a9,_0x4bcdeb={'vvOSt':_0x4bcb9a(0x24f),'tuqta':function(_0x2b2e21,_0x2f22f3){return _0x2b2e21(_0x2f22f3);},'Cydjd':_0x4bcb9a(0x295),'ipKvN':_0x4bcb9a(0x1d4),'ACbGf':_0x4bcb9a(0x1dc),'OHtER':function(_0x485a53,_0x326a57){return _0x485a53(_0x326a57);},'uvwQf':_0x4bcb9a(0x28f),'TbWFD':'device','RnvSF':_0x4bcb9a(0x255),'RKvie':_0x4bcb9a(0x211),'tskvE':_0x4bcb9a(0x205),'GRKSg':'options_','qgQbt':_0x4bcb9a(0x227),'myXxi':'chromeOptions','KtoIw':_0x4bcb9a(0x1f0),'xkBeJ':_0x4bcb9a(0x26a),'aAmzb':_0x4bcb9a(0x21c),'NycSG':function(_0x5037ed,_0x7bcc3f){return _0x5037ed===_0x7bcc3f;},'DebgK':'chrome','jyYMu':function(_0xbedb4,_0x3b3dce){return _0xbedb4>=_0x3b3dce;}},_0x566f44=_0x3fee32[_0x4bcb9a(0x266)](_0x4bcdeb[_0x4bcb9a(0x1ef)]),_0x41329e=_0x4bcdeb['tuqta'](parseFloat,_0x3fee32['get'](_0x4bcdeb[_0x4bcb9a(0x268)]))||_0x4bcdeb['tuqta'](parseFloat,_0x3fee32[_0x4bcb9a(0x266)](_0x4bcdeb[_0x4bcb9a(0x261)])),_0xfe083f=_0x3fee32['get'](_0x4bcdeb[_0x4bcb9a(0x24e)])||{},_0x559e0a=_0x4bcdeb[_0x4bcb9a(0x209)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY),_0x307bdf=_0xfe083f[_0x4bcdeb['uvwQf']]||_0x3fee32['get'](_0x4bcdeb['TbWFD'])||![];if(_0x307bdf)return logger[_0x4bcb9a(0x1f8)](_0x4bcdeb[_0x4bcb9a(0x282)]),![];let _0x55b802;try{_0x55b802=bsSetupHelper['requireModule'](_0x4bcdeb['RKvie'],_0x4bcdeb[_0x4bcb9a(0x21b)]);}catch(_0x24b560){return![];}const _0x500db2=new _0x55b802[(_0x4bcb9a(0x1fb))](_0x4a5e92[_0x4bcb9a(0x245)]),_0xa7346c=bsSetupHelper[_0x4bcb9a(0x217)](_0x500db2,[_0x4bcdeb[_0x4bcb9a(0x1fc)],_0x4bcdeb[_0x4bcb9a(0x248)]])||bsSetupHelper['nestedKeyValue'](_0x4a5e92[_0x4bcb9a(0x20f)],[_0x4bcdeb[_0x4bcb9a(0x24e)],_0x4bcdeb['myXxi'],_0x4bcdeb[_0x4bcb9a(0x248)]])||bsSetupHelper[_0x4bcb9a(0x217)](_0x4a5e92[_0x4bcb9a(0x20f)],[_0x4bcdeb['myXxi'],_0x4bcdeb[_0x4bcb9a(0x248)]])||[];if(_0xa7346c[_0x4bcb9a(0x262)](_0x4bcdeb[_0x4bcb9a(0x218)]))return logger['warn'](_0x4bcdeb[_0x4bcb9a(0x219)]),![];const _0x2e7bbb=_0x4a5e92[_0x4bcb9a(0x20f)]||{},_0x14e679=bsSetupHelper[_0x4bcb9a(0x217)](_0x2e7bbb,[_0x4bcdeb['aAmzb']])||{},_0x1b09a3=bsSetupHelper[_0x4bcb9a(0x217)](_0x14e679,[_0x4bcdeb[_0x4bcb9a(0x248)]])||[];if(_0x1b09a3[_0x4bcb9a(0x262)](_0x4bcdeb[_0x4bcb9a(0x218)]))return logger[_0x4bcb9a(0x1f8)](_0x4bcdeb['xkBeJ']),![];if(_0x4bcdeb[_0x4bcb9a(0x284)](_0x566f44[_0x4bcb9a(0x206)](),_0x4bcdeb['DebgK'])&&_0x4bcdeb['jyYMu'](_0x41329e,_0x559e0a))return!![];return logger[_0x4bcb9a(0x1f8)]('Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20'+MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY+'.'),![];},exports[a97_0x2079a9(0x1e0)]=_0x41a6d3=>{const _0x54b1f2=a97_0x2079a9,_0x72dc16={};_0x72dc16['QVwge']=_0x54b1f2(0x21c),_0x72dc16['qFXjD']=function(_0x2ebbc1,_0x17b9f5){return _0x2ebbc1||_0x17b9f5;},_0x72dc16[_0x54b1f2(0x239)]=_0x54b1f2(0x1d9);const _0x4b9610=_0x72dc16,_0x495005=scripts[_0x54b1f2(0x29b)];try{const _0x166ba0=bsSetupHelper[_0x54b1f2(0x27a)](process[_0x54b1f2(0x202)][_0x54b1f2(0x297)])||bsSetupHelper[_0x54b1f2(0x27a)](process[_0x54b1f2(0x202)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']);if((!bsSetupHelper[_0x54b1f2(0x25c)]()||process[_0x54b1f2(0x202)][_0x54b1f2(0x236)])&&_0x166ba0){const _0x25fde4=_0x41a6d3[_0x54b1f2(0x29f)](),_0x385fb0=_0x25fde4[_0x54b1f2(0x266)](_0x4b9610['QVwge']),_0x58648d=_0x4b9610['qFXjD'](_0x385fb0,{});bsSetupHelper[_0x54b1f2(0x275)](_0x58648d,_0x495005),_0x41a6d3[_0x54b1f2(0x29f)]()[_0x54b1f2(0x1e1)](_0x4b9610['QVwge'],_0x58648d);}else logger['warn'](_0x4b9610[_0x54b1f2(0x239)]);}catch(_0x11ce9d){logger['error'](_0x54b1f2(0x207)+_0x11ce9d);}},exports[a97_0x2079a9(0x293)]=(_0x1fa5d1=null,_0x54840d=!![],_0x3ec07d=[])=>{const _0x200990=a97_0x2079a9,_0x13cdca={};_0x13cdca['aMhSl']=function(_0x2b555d,_0x34ab96){return _0x2b555d==_0x34ab96;},_0x13cdca['WyPam']=function(_0x147ded,_0x5c6543){return _0x147ded>_0x5c6543;},_0x13cdca[_0x200990(0x251)]=function(_0x15f176,_0x4eca55){return _0x15f176===_0x4eca55;},_0x13cdca[_0x200990(0x29e)]=function(_0x52518a,_0x30b136){return _0x52518a&&_0x30b136;},_0x13cdca['oObdX']=function(_0x5166d7,_0x393570){return _0x5166d7===_0x393570;};const _0x4de1ae=_0x13cdca;if(_0x4de1ae[_0x200990(0x265)](process[_0x200990(0x202)][_0x200990(0x25e)],null))return!![];try{const _0x64a76f=JSON['parse'](process['env'][_0x200990(0x25e)]),_0x15f1e4=Array['isArray'](_0x64a76f['includeTagsInTestingScope'])?_0x64a76f['includeTagsInTestingScope']:[],_0x44a8fc=Array[_0x200990(0x291)](_0x64a76f['excludeTagsInTestingScope'])?_0x64a76f[_0x200990(0x238)]:[];if(bsSetupHelper['isUndefined'](_0x1fa5d1)){if(_0x4de1ae['WyPam'](_0x3ec07d['length'],0x0)){const _0x273e9a=_0x44a8fc[_0x200990(0x23f)](_0x468adb=>_0x3ec07d[_0x200990(0x262)](_0x468adb)),_0x4f4965=_0x4de1ae['ZmMdp'](_0x15f1e4['length'],0x0)||_0x15f1e4[_0x200990(0x23f)](_0x4ad885=>_0x3ec07d[_0x200990(0x262)](_0x4ad885));return _0x4de1ae[_0x200990(0x29e)](!_0x273e9a,_0x4f4965);}return!![];}let _0xa93aa;_0x54840d?_0xa93aa=_0x1fa5d1[_0x200990(0x229)]('/'):_0xa93aa=_0x1fa5d1;const _0x79ed30=_0x44a8fc[_0x200990(0x23f)](_0xe2ac45=>_0xa93aa[_0x200990(0x262)](_0xe2ac45)),_0x367b61=_0x4de1ae['oObdX'](_0x15f1e4['length'],0x0)||_0x15f1e4[_0x200990(0x23f)](_0x46a841=>_0xa93aa[_0x200990(0x262)](_0x46a841));return _0x4de1ae[_0x200990(0x29e)](!_0x79ed30,_0x367b61);}catch(_0x310212){logger['debug'](_0x200990(0x233)+util['format'](_0x310212));}return![];},exports[a97_0x2079a9(0x228)]=_0x521d45=>{const _0x42bddc=a97_0x2079a9;let _0x5ace47=![];try{_0x521d45[_0x42bddc(0x260)][_0x42bddc(0x20b)](_0x4cd55d=>{if(bsSetupHelper['isTrue'](_0x4cd55d['accessibility']))return _0x5ace47=!![],!![];});}catch(_0x4abdd5){logger[_0x42bddc(0x1e8)](_0x42bddc(0x26d)+_0x4abdd5);}return _0x5ace47||bsSetupHelper[_0x42bddc(0x27a)](_0x521d45['accessibility']);},exports[a97_0x2079a9(0x1e4)]=PerformanceTester['measureWrapper'](a97_0x2079a9(0x258),async function(_0x2a463a,_0x32c205){const _0x4a8027=a97_0x2079a9,_0x51edf3={};_0x51edf3['XZMNa']=_0x4a8027(0x298),_0x51edf3['xHKxT']='playwright',_0x51edf3[_0x4a8027(0x289)]=_0x4a8027(0x1e2),_0x51edf3[_0x4a8027(0x25a)]='application/json',_0x51edf3[_0x4a8027(0x1f9)]=_0x4a8027(0x277),_0x51edf3['xpPeI']='v2/test_runs',_0x51edf3[_0x4a8027(0x271)]=function(_0x21d6b0,_0x1dac4c){return _0x21d6b0===_0x1dac4c;},_0x51edf3[_0x4a8027(0x201)]=_0x4a8027(0x20c),_0x51edf3['josuY']=_0x4a8027(0x1fd);const _0x2bf29a=_0x51edf3,_0x54f0dd=bsSetupHelper['getUserName'](_0x2a463a),_0x249464=bsSetupHelper[_0x4a8027(0x278)](_0x2a463a);if(bsSetupHelper[_0x4a8027(0x1fa)](_0x54f0dd)||bsSetupHelper['isUndefined'](_0x249464))return logger['error'](_0x2bf29a[_0x4a8027(0x290)]),[null,null];try{let _0x397a89;bsSetupHelper['isUndefined'](process[_0x4a8027(0x202)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])?_0x397a89={}:_0x397a89=JSON['parse'](process[_0x4a8027(0x202)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']);const {name:_0x493402,version:_0xad6a5c}=bsSetupHelper[_0x4a8027(0x25d)](_0x2a463a,_0x32c205),_0x3f3d65={'projectName':_0x2a463a[_0x4a8027(0x27c)],'buildName':_0x2a463a['buildName']||path[_0x4a8027(0x20a)](path[_0x4a8027(0x22a)](process[_0x4a8027(0x1f2)]())),'startTime':new Date()[_0x4a8027(0x285)](),'description':_0x2a463a[_0x4a8027(0x26b)]||'','source':{'frameworkName':_0x32c205[_0x4a8027(0x262)](_0x2bf29a[_0x4a8027(0x224)])?_0x2bf29a['xHKxT']:_0x32c205,'frameworkVersion':bsSetupHelper[_0x4a8027(0x232)](_0x32c205),'sdkVersion':bsSetupHelper[_0x4a8027(0x1e9)](),'language':_0x2bf29a[_0x4a8027(0x289)],'testFramework':_0x493402,'testFrameworkVersion':_0xad6a5c},'settings':_0x397a89,'versionControl':await bsSetupHelper[_0x4a8027(0x1d8)](),'ciInfo':bsSetupHelper[_0x4a8027(0x250)](),'hostInfo':bsSetupHelper[_0x4a8027(0x21e)](),'browserstackAutomation':bsSetupHelper[_0x4a8027(0x25c)]()},_0x2255fe={};_0x2255fe['user']=_0x54f0dd,_0x2255fe['pass']=_0x249464;const _0x194f49={};_0x194f49['Content-Type']=_0x2bf29a[_0x4a8027(0x25a)];const _0x35f6c6={};_0x35f6c6[_0x4a8027(0x225)]=_0x2255fe,_0x35f6c6['headers']=_0x194f49;const _0x1d607e=_0x35f6c6,_0x13d05a={};_0x13d05a[_0x4a8027(0x25b)]=_0x3f3d65,_0x13d05a[_0x4a8027(0x203)]=!![];const _0x29aa82=Object[_0x4a8027(0x204)](_0x1d607e,_0x13d05a),_0x148eff=await bsSetupHelper['nodeRequest'](_0x2bf29a[_0x4a8027(0x1f9)],_0x2bf29a[_0x4a8027(0x220)],_0x29aa82,_0x2a463a,API_URL);let _0x5d3233=process[_0x4a8027(0x202)][_0x4a8027(0x25e)];return _0x5d3233?_0x5d3233=JSON[_0x4a8027(0x270)](process[_0x4a8027(0x202)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']):_0x5d3233={},scripts[_0x4a8027(0x28b)](_0x148eff[_0x4a8027(0x249)][_0x4a8027(0x249)]),scripts[_0x4a8027(0x223)](),_0x5d3233[_0x4a8027(0x231)]=_0x148eff[_0x4a8027(0x249)][_0x4a8027(0x249)]['scannerVersion'],process['env'][_0x4a8027(0x25e)]=JSON[_0x4a8027(0x1d3)](_0x5d3233),[_0x148eff[_0x4a8027(0x249)][_0x4a8027(0x249)]['accessibilityToken'],_0x148eff['data'][_0x4a8027(0x249)]['id']];}catch(_0x4eba2e){if(_0x4eba2e[_0x4a8027(0x22c)])logger[_0x4a8027(0x286)]('Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20'+_0x4eba2e[_0x4a8027(0x22c)]['status']+'\x20'+_0x4eba2e[_0x4a8027(0x22c)][_0x4a8027(0x292)]+'\x20'+JSON['stringify'](_0x4eba2e['response']['data']));else{if(_0x2bf29a[_0x4a8027(0x271)](_0x4eba2e[_0x4a8027(0x1e5)],_0x2bf29a[_0x4a8027(0x201)])){logger[_0x4a8027(0x286)](_0x4a8027(0x237)+(_0x4eba2e['message']||_0x4eba2e['stack']));for(const _0x3a3adf of _0x4eba2e['errors']){logger[_0x4a8027(0x286)](_0x3a3adf['message']);}process['env'][_0x4a8027(0x297)]=_0x2bf29a[_0x4a8027(0x1f6)],process[_0x4a8027(0x202)][_0x4a8027(0x20d)]=_0x2bf29a[_0x4a8027(0x1f6)];}else logger[_0x4a8027(0x286)](_0x4a8027(0x237)+(_0x4eba2e['message']||_0x4eba2e[_0x4a8027(0x273)]));}return[null,null];}}),exports[a97_0x2079a9(0x1de)]=PerformanceTester['measureWrapper']('a11y:stop',async function(_0x4bd6ab){const _0x19768e=a97_0x2079a9,_0x20b33f={};_0x20b33f[_0x19768e(0x213)]=function(_0x492594,_0x461a2c){return _0x492594!==_0x461a2c;},_0x20b33f[_0x19768e(0x29a)]=_0x19768e(0x28a),_0x20b33f['Teckw']=_0x19768e(0x286),_0x20b33f[_0x19768e(0x21d)]=_0x19768e(0x1ff),_0x20b33f['HcXdf']=_0x19768e(0x28d),_0x20b33f[_0x19768e(0x23c)]='PUT',_0x20b33f['dnjXt']=_0x19768e(0x241),_0x20b33f['RmVrL']=function(_0x308ded,_0x570f67){return _0x308ded+_0x570f67;},_0x20b33f[_0x19768e(0x216)]='Invalid\x20request:\x20',_0x20b33f[_0x19768e(0x22d)]=_0x19768e(0x27f);const _0x40d1ed=_0x20b33f;if(bsSetupHelper[_0x19768e(0x1fa)](process['env']['BS_A11Y_JWT'])||_0x40d1ed[_0x19768e(0x213)](typeof process[_0x19768e(0x202)]['BS_A11Y_JWT'],_0x40d1ed[_0x19768e(0x29a)])){const _0x4634bf={};return _0x4634bf[_0x19768e(0x276)]=_0x40d1ed[_0x19768e(0x1ed)],_0x4634bf['message']=_0x40d1ed['UVMpJ'],_0x4634bf;}const _0x1f1740={'endTime':new Date()[_0x19768e(0x285)]()},_0x2244ba={};_0x2244ba[_0x19768e(0x269)]=_0x19768e(0x21a)+process[_0x19768e(0x202)][_0x19768e(0x1f4)],_0x2244ba['Content-Type']=_0x40d1ed[_0x19768e(0x253)];const _0x452974={};_0x452974[_0x19768e(0x21f)]=_0x2244ba;const _0x3b66c4=_0x452974,_0x4f36c1={};_0x4f36c1[_0x19768e(0x25b)]=_0x1f1740,_0x4f36c1[_0x19768e(0x225)]=null,_0x4f36c1[_0x19768e(0x203)]=!![];const _0x245dd1=Object['assign'](_0x3b66c4,_0x4f36c1);try{const _0x5956f6=await bsSetupHelper[_0x19768e(0x299)](_0x40d1ed[_0x19768e(0x23c)],_0x40d1ed[_0x19768e(0x1f1)],_0x245dd1,_0x4bd6ab,API_URL);if(_0x5956f6[_0x19768e(0x249)][_0x19768e(0x286)])throw new Error(_0x40d1ed['RmVrL'](_0x40d1ed[_0x19768e(0x216)],_0x5956f6[_0x19768e(0x249)]['error']));else{logger[_0x19768e(0x1f3)]('BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20'+new Date()['toISOString']());const _0x56497f={};return _0x56497f['status']=_0x40d1ed['GIYaZ'],_0x56497f['message']='',_0x56497f;}}catch(_0x7e4475){_0x7e4475['response']?logger[_0x19768e(0x286)](_0x19768e(0x267)+_0x7e4475[_0x19768e(0x22c)][_0x19768e(0x276)]+'\x20'+_0x7e4475[_0x19768e(0x22c)][_0x19768e(0x292)]+'\x20'+JSON['stringify'](_0x7e4475[_0x19768e(0x22c)][_0x19768e(0x249)])):logger['error'](_0x19768e(0x267)+(_0x7e4475[_0x19768e(0x1e5)]||util[_0x19768e(0x252)](_0x7e4475)));const _0x65ff99={};return _0x65ff99[_0x19768e(0x276)]=_0x40d1ed[_0x19768e(0x1ed)],_0x65ff99[_0x19768e(0x1e5)]=_0x7e4475[_0x19768e(0x1e5)]||(_0x7e4475[_0x19768e(0x22c)]?_0x7e4475[_0x19768e(0x22c)][_0x19768e(0x276)]+':'+_0x7e4475['response']['statusText']:_0x7e4475),_0x65ff99;}}),exports[a97_0x2079a9(0x27e)]=async(_0x35e3df,_0x2d4c6f=null)=>{const _0x2febfa=a97_0x2079a9,_0x3996a7={};_0x3996a7[_0x2febfa(0x226)]='isAccessibilityPlatform',_0x3996a7[_0x2febfa(0x280)]=_0x2febfa(0x281),_0x3996a7[_0x2febfa(0x1ee)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.';const _0x52f0d5=_0x3996a7;if(!this['isAccessibilityAutomationSession']()||!globals[_0x2febfa(0x256)](_0x52f0d5['KrQKU'])||!globals['getGlobal'](_0x52f0d5[_0x2febfa(0x280)])){logger['warn'](_0x52f0d5['tIvSb']);return;}return await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x2febfa(0x296)],async()=>{const _0x360f17=_0x2febfa,_0x55f4a0={};_0x55f4a0[_0x360f17(0x27b)]=_0x2d4c6f||global[_0x360f17(0x1d5)];const _0x35fc09=util['format'](await _0x35e3df[_0x360f17(0x29c)](scripts['performScan'],_0x55f4a0));return logger[_0x360f17(0x1e8)]('Performed\x20scan\x20with\x20result:\x20'+_0x35fc09),_0x35fc09;},{'command':_0x2d4c6f})();},exports[a97_0x2079a9(0x294)]=async(_0x286192,_0x4aabea)=>{const _0x39bc15=a97_0x2079a9,_0x39fb64={};_0x39fb64[_0x39bc15(0x283)]=_0x39bc15(0x242),_0x39fb64[_0x39bc15(0x230)]='isAccessibilityPlatform',_0x39fb64[_0x39bc15(0x26c)]=_0x39bc15(0x281),_0x39fb64['CSAkX']=_0x39bc15(0x215),_0x39fb64[_0x39bc15(0x24c)]=_0x39bc15(0x294),_0x39fb64['qAJsv']=_0x39bc15(0x1db);const _0x202766=_0x39fb64;if(!this['isAccessibilityAutomationSession']()||!globals[_0x39bc15(0x256)](_0x202766[_0x39bc15(0x230)])||!globals[_0x39bc15(0x256)](_0x202766['FjZEP']))return logger[_0x39bc15(0x1f8)](_0x202766[_0x39bc15(0x254)]),[];try{return await PerformanceTester['measureWrapper'](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x2c16e2=_0x39bc15;logger[_0x2c16e2(0x1e8)](_0x202766[_0x2c16e2(0x283)]);const _0x1133d2={};_0x1133d2['method']=_0x4aabea[_0x2c16e2(0x1d5)],logger[_0x2c16e2(0x1e8)](util[_0x2c16e2(0x252)](await _0x286192['executeAsyncScript'](scripts[_0x2c16e2(0x27e)],_0x1133d2)));},{'command':_0x202766[_0x39bc15(0x24c)]})(),await PerformanceTester[_0x39bc15(0x288)](PerformanceA11yEvents[_0x39bc15(0x212)],async()=>{const _0x13ed7a=_0x39bc15,_0x2ec878=await _0x286192[_0x13ed7a(0x29c)](scripts[_0x13ed7a(0x1da)]);return _0x2ec878;})();}catch{return logger[_0x39bc15(0x286)](_0x202766['qAJsv']),[];}},exports['getAccessibilityResultsSummary']=async(_0x120e6a,_0x49d4b6)=>{const _0x53de57=a97_0x2079a9,_0x1b3b9d={};_0x1b3b9d[_0x53de57(0x264)]=_0x53de57(0x24b),_0x1b3b9d['iovpj']=_0x53de57(0x20e),_0x1b3b9d[_0x53de57(0x24d)]='bstackA11yShouldScan',_0x1b3b9d[_0x53de57(0x1ea)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.',_0x1b3b9d['EuXpy']=_0x53de57(0x24a),_0x1b3b9d[_0x53de57(0x235)]=_0x53de57(0x274);const _0x39f00d=_0x1b3b9d;if(!this[_0x53de57(0x214)]()||!globals[_0x53de57(0x256)](_0x39f00d['iovpj'])||!globals[_0x53de57(0x256)](_0x39f00d[_0x53de57(0x24d)]))return logger[_0x53de57(0x1f8)](_0x39f00d[_0x53de57(0x1ea)]),{};try{return await PerformanceTester[_0x53de57(0x288)](PerformanceA11yEvents[_0x53de57(0x296)],async()=>{const _0x2212dd=_0x53de57;logger[_0x2212dd(0x1e8)](_0x39f00d[_0x2212dd(0x264)]);const _0x45a180={};_0x45a180[_0x2212dd(0x27b)]=_0x49d4b6[_0x2212dd(0x1d5)],logger['debug'](util['format'](await _0x120e6a[_0x2212dd(0x29c)](scripts[_0x2212dd(0x27e)],_0x45a180)));},{'command':_0x39f00d[_0x53de57(0x2a0)]})(),await PerformanceTester[_0x53de57(0x288)](PerformanceA11yEvents[_0x53de57(0x247)],async()=>{const _0x3ef1ee=_0x53de57,_0x9f0f9f=await _0x120e6a[_0x3ef1ee(0x29c)](scripts[_0x3ef1ee(0x22b)]);return _0x9f0f9f;})();}catch{return logger[_0x53de57(0x286)](_0x39f00d[_0x53de57(0x235)]),{};}},exports['isBrowserStackCommandExecutor']=_0x367664=>{const _0x505e5f=a97_0x2079a9,_0xf11921={};_0xf11921[_0x505e5f(0x257)]=function(_0x4b158d,_0x4ac721){return _0x4b158d===_0x4ac721;},_0xf11921[_0x505e5f(0x1df)]=_0x505e5f(0x28a),_0xf11921[_0x505e5f(0x244)]='browserstack_executor';const _0x100086=_0xf11921;if(_0x367664&&_0x367664[_0x505e5f(0x29d)]&&_0x100086[_0x505e5f(0x257)](typeof _0x367664['script'],_0x100086['VanhB']))return _0x367664[_0x505e5f(0x29d)][_0x505e5f(0x262)](_0x100086[_0x505e5f(0x244)]);return![];};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a98_0x3bfe21=a98_0x29e0;(function(_0x42a6c7,_0x12b5a6){const _0x3f5c17=a98_0x29e0,_0x295db8=_0x42a6c7();while(!![]){try{const _0x282b80=parseInt(_0x3f5c17(0x97))/0x1+-parseInt(_0x3f5c17(0x98))/0x2+-parseInt(_0x3f5c17(0x78))/0x3*(-parseInt(_0x3f5c17(0xb1))/0x4)+-parseInt(_0x3f5c17(0xa8))/0x5*(parseInt(_0x3f5c17(0x91))/0x6)+parseInt(_0x3f5c17(0x89))/0x7*(-parseInt(_0x3f5c17(0xad))/0x8)+parseInt(_0x3f5c17(0x9b))/0x9+parseInt(_0x3f5c17(0x85))/0xa;if(_0x282b80===_0x12b5a6)break;else _0x295db8['push'](_0x295db8['shift']());}catch(_0x5172d0){_0x295db8['push'](_0x295db8['shift']());}}}(a98_0x335f,0x91723));const path=require('path'),fs=require('fs'),logger=require(a98_0x3bfe21(0x92))[a98_0x3bfe21(0x79)],helper=require(a98_0x3bfe21(0x75));function a98_0x335f(){const _0x2f1586=['XxRDr','length','shouldWrapCommand','performScan','getResultsSummary','PaZWT','nonBStackInfraA11yChromeOptions','getMethod','VdfMA','join','12990680odopLD','HUVvn','QJpyO','1|4|6|0|3|2|5','173278ajODvs','map','commandsToWrap','getClass','WMurc','scripts','parseFromJson','saveTestResults','924KPUEPt','../../helpers/logger','existsSync','browserstackFolderPath','name','xzndh','370621YKdqtO','2267224mMpaTV','split','stringify','3316293vtEJGP','getResults','homedir','toJson','commands','.browserstack','getLibrary','toLowerCase','WeOrO','ChromeExtension','TuXMH','findIndex','fromJson','13555NelfDX','saveResults','getName','QyJBo','getCommand','344tAPwra','parseFromProto','ceZvl','scan','670348VTLksT','Exception\x20in\x20browserstack\x20accessibility\x20automation\x20with\x20error:\x20','CTbzY','RsWmQ','../helper','nUyhv','Nthsi','21usamZC','winstonLogger','commandsPath'];a98_0x335f=function(){return _0x2f1586;};return a98_0x335f();}function a98_0x29e0(_0x456724,_0x96e307){const _0x335f3a=a98_0x335f();return a98_0x29e0=function(_0x29e0be,_0x18cb7f){_0x29e0be=_0x29e0be-0x74;let _0x5a9191=_0x335f3a[_0x29e0be];return _0x5a9191;},a98_0x29e0(_0x456724,_0x96e307);}class Scripts{constructor(){const _0x46647e=a98_0x3bfe21,_0x2d6a1d={};_0x2d6a1d[_0x46647e(0x76)]=_0x46647e(0x88),_0x2d6a1d['QJpyO']='commands.json',_0x2d6a1d['WeOrO']=_0x46647e(0xa0);const _0x17cb60=_0x2d6a1d,_0x48cd45=_0x17cb60[_0x46647e(0x76)][_0x46647e(0x99)]('|');let _0x58b1f1=0x0;while(!![]){switch(_0x48cd45[_0x58b1f1++]){case'0':this[_0x46647e(0x90)]=null;continue;case'1':this[_0x46647e(0x7e)]=null;continue;case'2':this['commandsPath']=path[_0x46647e(0x84)](this['browserstackFolderPath'],_0x17cb60[_0x46647e(0x87)]);continue;case'3':this['browserstackFolderPath']=path[_0x46647e(0x84)](helper[_0x46647e(0x9d)](),_0x17cb60[_0x46647e(0xa3)]);continue;case'4':this[_0x46647e(0x9c)]=null;continue;case'5':this[_0x46647e(0xa7)]();continue;case'6':this[_0x46647e(0x7f)]=null;continue;}break;}}[a98_0x3bfe21(0x8f)](_0x4f1fdc){const _0x5c6e0a=a98_0x3bfe21;_0x4f1fdc[_0x5c6e0a(0x8e)]&&(this['performScan']=_0x4f1fdc['scripts'][_0x5c6e0a(0xb0)],this[_0x5c6e0a(0x9c)]=_0x4f1fdc[_0x5c6e0a(0x8e)]['getResults'],this[_0x5c6e0a(0x7f)]=_0x4f1fdc[_0x5c6e0a(0x8e)]['getResultsSummary'],this[_0x5c6e0a(0x90)]=_0x4f1fdc[_0x5c6e0a(0x8e)][_0x5c6e0a(0xa9)]),this[_0x5c6e0a(0x8b)]=_0x4f1fdc[_0x5c6e0a(0x9f)],this[_0x5c6e0a(0xa4)]=_0x4f1fdc[_0x5c6e0a(0x81)];}[a98_0x3bfe21(0xae)](_0x325766,_0x3ce6eb){const _0x781ce0=a98_0x3bfe21,_0x40705e={};_0x40705e[_0x781ce0(0x96)]=function(_0x35b9f8,_0x5aa554){return _0x35b9f8>_0x5aa554;},_0x40705e[_0x781ce0(0x8d)]=function(_0x161216,_0x3b43a0){return _0x161216===_0x3b43a0;},_0x40705e[_0x781ce0(0xaf)]='scan',_0x40705e[_0x781ce0(0x77)]=function(_0x50cb6e,_0x3d304c){return _0x50cb6e===_0x3d304c;},_0x40705e[_0x781ce0(0x83)]=_0x781ce0(0x9c),_0x40705e[_0x781ce0(0xab)]=function(_0x23f6f6,_0x9bf01f){return _0x23f6f6===_0x9bf01f;},_0x40705e[_0x781ce0(0x86)]='getResultsSummary',_0x40705e[_0x781ce0(0x7b)]=function(_0x988f7c,_0x48db9e){return _0x988f7c===_0x48db9e;},_0x40705e[_0x781ce0(0xb3)]='saveResults',_0x40705e[_0x781ce0(0x74)]=function(_0x1990a1,_0x5093da){return _0x1990a1>_0x5093da;};const _0x2e376e=_0x40705e;if(_0x325766&&_0x2e376e[_0x781ce0(0x96)](_0x325766[_0x781ce0(0x7c)],0x0))for(const _0x3ce650 of _0x325766){if(_0x2e376e[_0x781ce0(0x8d)](_0x3ce650[_0x781ce0(0xaa)](),_0x2e376e[_0x781ce0(0xaf)]))this[_0x781ce0(0x7e)]=_0x3ce650[_0x781ce0(0xac)]();else{if(_0x2e376e[_0x781ce0(0x77)](_0x3ce650['getName'](),_0x2e376e[_0x781ce0(0x83)]))this[_0x781ce0(0x9c)]=_0x3ce650[_0x781ce0(0xac)]();else{if(_0x2e376e['QyJBo'](_0x3ce650[_0x781ce0(0xaa)](),_0x2e376e['HUVvn']))this[_0x781ce0(0x7f)]=_0x3ce650['getCommand']();else _0x2e376e[_0x781ce0(0x7b)](_0x3ce650[_0x781ce0(0xaa)](),_0x2e376e['CTbzY'])&&(this[_0x781ce0(0x90)]=_0x3ce650[_0x781ce0(0xac)]());}}}_0x3ce6eb&&_0x2e376e[_0x781ce0(0x74)](_0x3ce6eb['length'],0x0)&&(this[_0x781ce0(0x8b)]=_0x3ce6eb[_0x781ce0(0x8a)](_0x26035d=>{const _0x1d8727=_0x781ce0;return{'name':_0x26035d['getName'](),'method':_0x26035d[_0x1d8727(0x82)](),'library':_0x26035d[_0x1d8727(0xa1)](),'module':_0x26035d['getModule'](),'class':_0x26035d[_0x1d8727(0x8c)]()};}));}[a98_0x3bfe21(0x7d)](_0x382e1f){const _0x34cb6c=a98_0x3bfe21,_0xc060e0={};_0xc060e0[_0x34cb6c(0xa5)]=function(_0x7f70bc,_0x2b6a01){return _0x7f70bc!==_0x2b6a01;};const _0x329889=_0xc060e0;try{return _0x329889['TuXMH'](this[_0x34cb6c(0x8b)][_0x34cb6c(0xa6)](_0x5bd85a=>_0x5bd85a[_0x34cb6c(0x95)][_0x34cb6c(0xa2)]()===_0x382e1f[_0x34cb6c(0xa2)]()),-0x1);}catch(_0x29ff46){logger['debug'](_0x34cb6c(0xb2)+_0x29ff46);}return![];}[a98_0x3bfe21(0x9e)](){const _0x167166=a98_0x3bfe21;!fs[_0x167166(0x93)](this[_0x167166(0x94)])&&fs['mkdirSync'](this[_0x167166(0x94)]),fs['writeFileSync'](this[_0x167166(0x7a)],JSON[_0x167166(0x9a)]({'scripts':{'scan':this[_0x167166(0x7e)],'getResults':this[_0x167166(0x9c)],'getResultsSummary':this['getResultsSummary'],'saveResults':this['saveTestResults']},'commands':this[_0x167166(0x8b)],'nonBStackInfraA11yChromeOptions':this[_0x167166(0xa4)]}));}[a98_0x3bfe21(0xa7)](){const _0x41d6dc=a98_0x3bfe21,_0x25dcdf={'PaZWT':function(_0x283d3d,_0x6245e3){return _0x283d3d(_0x6245e3);}};fs[_0x41d6dc(0x93)](this['commandsPath'])&&this['parseFromJson'](_0x25dcdf[_0x41d6dc(0x80)](require,this[_0x41d6dc(0x7a)]));}}module['exports']=new Scripts();
|