browserstack-node-sdk 1.56.2 → 1.57.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +3 -2
- 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/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/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/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/driverInitErrorReporter.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
function a106_0x28a2(){const _0x1d7d79=['Ybfbg','jmhQt','FxOLP','options','ObuPu','XSAvJ','\x20failed\x20(','winstonLogger','TQNnk','../performance/performance-tester','fulfilled','Accessibility\x20results\x20retrieval\x20attempt\x20','TUxFo','getAccessibilityResultsSummaryWithRetry','1240256kWVBqX','Page','QlvGm','warn','MoQLp','Accessibility\x20results\x20summary\x20retrieved\x20successfully\x20on\x20attempt\x20','guUYE','CSyWk','ZFWGq','bQruf','ms\x20using\x20timeouts()\x20API','debug','isAccessibilityAutomationSession','JQuUX','Jtuhb','name','saveTestResults','undefined','NQMXI','setTimeouts','pqqgY','reason','type','assign','is_mobile_session','Huetc','SqoIz','xVlYs','wFmzZ','GcGlL','UuifF','script','url',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20with\x20retry.','Cannot\x20set\x20script\x20timeout:\x20not\x20a\x20Selenium\x20WebDriver','adcXC','CedOO','GrWVR','dxgui','browserstackSessionName','276726YBkDmy','sHQJa','bgBrh','setScriptTimeout','duQjB','Accessibility\x20retry\x20configuration\x20updated:\x20','Accessibility\x20results\x20saved\x20successfully\x20on\x20attempt\x20','manage','WEQzC','getInstance','212118KhSlCZ','SZJrl','maxRetries','DBpwz','isAccessibilityPlatform','AmrKq','selenium-webdriver','wdwaN','34870hxzitB','setSeleniumScriptTimeout','GgbZc','getAccessibilityModule','race','10200dyPqNK','max','accessibilityConfig','Failed\x20to\x20retrieve\x20accessibility\x20results\x20(','IPirB','performScan','getAccessibilityResults','bRFyH','tugkV','Lzlaw','All\x20accessibility\x20scan\x20attempts\x20failed\x20for\x20method:\x20','stringify','YOmOw','OrpWk','gXIqo','pyhLN','bstackA11yScanOptions','Comprehensive\x20accessibility\x20scan\x20failed\x20(','FIVvj','Set\x20Playwright\x20page\x20default\x20timeout\x20to\x20','vFakE','Failed\x20to\x20retrieve\x20accessibility\x20summary\x20(','BkxJL','playwright-codecept-driver','executeAsyncScript','GsFzQ','getCapabilities','108CbWIJk','isPlaywright','defaultTimeoutMs','Scan\x20attempt\x20','summary','getAccessibilityResultsWithRetry','FiyDC','Operation\x20timed\x20out\x20after\x20','function','./scripts','goto','Selenium\x20WebDriver\x20manage()\x20method\x20not\x20available,\x20skipping\x20timeout\x20setting','page','isPlaywrightPage','All\x20accessibility\x20results\x20summary\x20retrieval\x20attempts\x20failed\x20(','lPuzM','Accessibility\x20scan\x20attempt\x20','Accessibility\x20results\x20save\x20attempt\x20','EvuYL','getCurrentUrl','bstackA11yShouldScan','util','unknown','UqboY','aCOOs','Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20','620193fMRczw',').\x20Error:\x20','\x20failed\x20for\x20method:\x20','FBxDG','BbfHv','KqbYD','xwKiD','Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20','results','wHUDv','tfSEh','rejected','allSettled','Failed\x20to\x20set\x20Playwright\x20script\x20timeout:\x20','gvKnA','FzTmG','SuiPl','WbGNm','scanSucceeded','MXktE','getGlobal','GmIaK','accessibilityPlatform','getSession','Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20','info','):\x20','playwright-page','../performance/constants','getAccessibilityResultsSummary','BxWsm','resolveMobileThTestRunUuid','Failed\x20to\x20set\x20Selenium\x20script\x20timeout:\x20',').\x20Last\x20error:\x20','nBXlO','kmRQd','Unknown\x20error\x20during\x20comprehensive\x20accessibility\x20scan','xrhsn','constructor','\x20completed\x20successfully.','error','scannerProcessingTimeout','fhKXO','isSeleniumDriver','693203lJNbGq','\x20-\x20not\x20applicable','isMobilePlatform','DLjWv','BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT','All\x20accessibility\x20results\x20save\x20attempts\x20failed\x20(','ms\x20using\x20setTimeouts\x20API','../globals','isRunning','setPlaywrightScriptTimeout','value','Accessibility\x20scan\x20succeeded\x20on\x20attempt\x20','Accessibility\x20results\x20retrieved\x20successfully\x20on\x20attempt\x20','TdOAq','ms\x20using\x20setScriptTimeout\x20API',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary\x20with\x20retry.','timeoutMs','env','[Accessibility]\x20Scan\x20skipped\x20-\x20scanning\x20is\x20currently\x20disabled\x20(partial\x20scan\x20mode)','timeouts','zYUTx','message','status','evaluate','uLCzX','ayBOv','Unknown\x20error','All\x20accessibility\x20results\x20retrieval\x20attempts\x20failed\x20(','performScanWithRetry'];a106_0x28a2=function(){return _0x1d7d79;};return a106_0x28a2();}const a106_0x41077f=a106_0xa598;(function(_0x249f6d,_0x43d441){const _0x4204eb=a106_0xa598,_0x5be1a2=_0x249f6d();while(!![]){try{const _0x4cee3f=parseInt(_0x4204eb(0x20f))/0x1+parseInt(_0x4204eb(0x1fd))/0x2+parseInt(_0x4204eb(0x17e))/0x3+parseInt(_0x4204eb(0x22f))/0x4*(parseInt(_0x4204eb(0x214))/0x5)+-parseInt(_0x4204eb(0x207))/0x6+-parseInt(_0x4204eb(0x1aa))/0x7+-parseInt(_0x4204eb(0x1d5))/0x8;if(_0x4cee3f===_0x43d441)break;else _0x5be1a2['push'](_0x5be1a2['shift']());}catch(_0x51eb55){_0x5be1a2['push'](_0x5be1a2['shift']());}}}(a106_0x28a2,0x238de));const util=require(a106_0x41077f(0x244)),logger=require('../logger')[a106_0x41077f(0x1ce)],accessibilityHelper=require('./helper'),globals=require(a106_0x41077f(0x1b1)),scripts=require(a106_0x41077f(0x238)),PerformanceTester=require(a106_0x41077f(0x1d0)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a106_0x41077f(0x19a)),BrowserstackCLI=require('../../bin/v2/browserstackCLI');let playwrightA11yHelper=null;function a106_0xa598(_0x22f54b,_0x46b89f){const _0x28a23c=a106_0x28a2();return a106_0xa598=function(_0xa59862,_0x3451e1){_0xa59862=_0xa59862-0x17e;let _0x1a8d4b=_0x28a23c[_0xa59862];return _0x1a8d4b;},a106_0xa598(_0x22f54b,_0x46b89f);}try{playwrightA11yHelper=require('../../bin/playwright/accessibility-helper');}catch(a106_0x53650d){logger['debug']('Playwright\x20accessibility\x20helper\x20not\x20available');}const a106_0x3a7817={};a106_0x3a7817['maxRetries']=0x1,a106_0x3a7817[a106_0x41077f(0x1ba)]=0x7530,a106_0x3a7817[a106_0x41077f(0x231)]=0x7530;const RETRY_CONFIG=a106_0x3a7817,setConfigTimeout=(_0x526a98,_0x13a67f=null)=>{const _0x10594d=a106_0x41077f,_0x28ec19={'UuifF':function(_0x201305,_0x9981a4){return _0x201305===_0x9981a4;},'bRFyH':_0x10594d(0x1a7),'YOmOw':function(_0x3b5920,_0x39c39d){return _0x3b5920*_0x39c39d;},'FzTmG':function(_0x1bb862,_0x456a8d){return _0x1bb862(_0x456a8d);},'QlvGm':function(_0x3d8b9d,_0xb44bb){return _0x3d8b9d*_0xb44bb;},'ObuPu':function(_0x5c6a4e,_0x4ba663){return _0x5c6a4e(_0x4ba663);}};if(BrowserstackCLI[_0x10594d(0x206)]()[_0x10594d(0x1b2)]()&&BrowserstackCLI[_0x10594d(0x206)]()[_0x10594d(0x212)]()){const _0x30ab77=BrowserstackCLI[_0x10594d(0x206)]()[_0x10594d(0x212)]()[_0x10594d(0x216)],_0x28db12=_0x30ab77[_0x10594d(0x1ca)]['capabilitiesList']||[];for(const _0xc5978f of _0x28db12){_0x28ec19[_0x10594d(0x1f3)](_0xc5978f[_0x10594d(0x1e4)],_0x28ec19[_0x10594d(0x21b)])&&_0x28ec19[_0x10594d(0x1f3)](_0x13a67f,null)&&(_0x526a98[_0x10594d(0x1ba)]=_0x28ec19[_0x10594d(0x220)](_0x28ec19[_0x10594d(0x18d)](parseInt,_0xc5978f['value']),0x3e8));}}else process['env'][_0x10594d(0x1ae)]&&(_0x526a98['timeoutMs']=_0x28ec19[_0x10594d(0x1d7)](_0x28ec19[_0x10594d(0x1cb)](parseInt,process[_0x10594d(0x1bb)][_0x10594d(0x1ae)]),0x3e8));},detectDriverType=_0x19f762=>{const _0x4a06d0=a106_0x41077f,_0x58d7aa={};_0x58d7aa['MXktE']=_0x4a06d0(0x245),_0x58d7aa[_0x4a06d0(0x228)]=function(_0x21cac0,_0x3d4211){return _0x21cac0===_0x3d4211;},_0x58d7aa[_0x4a06d0(0x201)]=_0x4a06d0(0x237),_0x58d7aa['XSAvJ']=function(_0x5de051,_0x1db301){return _0x5de051===_0x1db301;},_0x58d7aa[_0x4a06d0(0x1c8)]=_0x4a06d0(0x199),_0x58d7aa[_0x4a06d0(0x223)]=_0x4a06d0(0x20d),_0x58d7aa[_0x4a06d0(0x184)]=_0x4a06d0(0x1d6),_0x58d7aa[_0x4a06d0(0x246)]='WebDriver',_0x58d7aa[_0x4a06d0(0x1db)]=function(_0x148949,_0x2d8f08){return _0x148949===_0x2d8f08;},_0x58d7aa['uLCzX']='Playwright',_0x58d7aa[_0x4a06d0(0x235)]='playwright-codecept-driver',_0x58d7aa['IPirB']=function(_0x604018,_0x4d911b){return _0x604018||_0x4d911b;},_0x58d7aa[_0x4a06d0(0x1e2)]=_0x4a06d0(0x1e6);const _0x6487e6=_0x58d7aa;if(!_0x19f762){const _0x166eae={};return _0x166eae[_0x4a06d0(0x230)]=![],_0x166eae[_0x4a06d0(0x1eb)]=_0x6487e6[_0x4a06d0(0x191)],_0x166eae;}if(_0x6487e6[_0x4a06d0(0x228)](typeof _0x19f762[_0x4a06d0(0x1c1)],_0x6487e6['duQjB'])&&_0x6487e6['XSAvJ'](typeof _0x19f762['url'],_0x6487e6['duQjB'])&&_0x6487e6['XSAvJ'](typeof _0x19f762[_0x4a06d0(0x239)],_0x6487e6[_0x4a06d0(0x201)])){const _0x2f1da4={};return _0x2f1da4[_0x4a06d0(0x230)]=!![],_0x2f1da4[_0x4a06d0(0x1eb)]=_0x6487e6[_0x4a06d0(0x1c8)],_0x2f1da4;}if(_0x6487e6['vFakE'](typeof _0x19f762[_0x4a06d0(0x22c)],_0x6487e6[_0x4a06d0(0x201)])&&_0x6487e6[_0x4a06d0(0x1cc)](typeof _0x19f762[_0x4a06d0(0x22e)],_0x6487e6[_0x4a06d0(0x201)])){const _0x1b72ba={};return _0x1b72ba[_0x4a06d0(0x230)]=![],_0x1b72ba[_0x4a06d0(0x1eb)]=_0x6487e6[_0x4a06d0(0x223)],_0x1b72ba;}const _0x5caad2=_0x19f762[_0x4a06d0(0x1a4)]?.[_0x4a06d0(0x1e4)];if(_0x6487e6[_0x4a06d0(0x1cc)](_0x5caad2,_0x6487e6['xwKiD'])){const _0x1eccc2={};return _0x1eccc2['isPlaywright']=!![],_0x1eccc2['type']=_0x6487e6['jmhQt'],_0x1eccc2;}if(_0x6487e6[_0x4a06d0(0x1cc)](_0x5caad2,_0x6487e6['UqboY'])){const _0x1f2294={};return _0x1f2294['isPlaywright']=![],_0x1f2294[_0x4a06d0(0x1eb)]=_0x6487e6[_0x4a06d0(0x223)],_0x1f2294;}if(_0x6487e6['guUYE'](_0x5caad2,_0x6487e6[_0x4a06d0(0x1c2)])){const _0x553fe2={};return _0x553fe2[_0x4a06d0(0x230)]=!![],_0x553fe2[_0x4a06d0(0x1eb)]=_0x6487e6[_0x4a06d0(0x235)],_0x553fe2;}logger['warn']('Unknown\x20driver/page\x20type:\x20'+_0x6487e6[_0x4a06d0(0x218)](_0x5caad2,_0x6487e6['JQuUX']));const _0x579c0e={};return _0x579c0e[_0x4a06d0(0x230)]=![],_0x579c0e['type']=_0x6487e6['MXktE'],_0x579c0e;},withTimeout=(_0x227cf2,_0x21c666)=>{const _0x5eaf83=a106_0x41077f;return Promise[_0x5eaf83(0x213)]([_0x227cf2,new Promise((_0x2f0ff5,_0x49fd30)=>setTimeout(()=>_0x49fd30(new Error(_0x5eaf83(0x236)+_0x21c666+'ms')),_0x21c666))]);};exports[a106_0x41077f(0x1c6)]=async(_0x17c22f,_0x2c3a52=null,_0x1ffe3e=null,_0x5d9c88=![],_0x5198b1=null)=>{const _0x4e03b0=a106_0x41077f,_0x19a925={'JFZDx':function(_0x68b5c4,_0x47cdae){return _0x68b5c4&&_0x47cdae;},'TUxFo':function(_0x58ed33,_0x2dba4a,_0x59d637){return _0x58ed33(_0x2dba4a,_0x59d637);},'ZFWGq':function(_0x56dabe,_0x4895d5){return _0x56dabe===_0x4895d5;},'FIVvj':_0x4e03b0(0x22b),'xrhsn':function(_0x4c9f93,_0x4138e5){return _0x4c9f93(_0x4138e5);},'tugkV':function(_0x207e70,_0x1bf299){return _0x207e70||_0x1bf299;},'lPuzM':function(_0x2ac2bc,_0x2db1b1){return _0x2ac2bc!==_0x2db1b1;},'MoQLp':'isAccessibilityPlatform','xVlYs':_0x4e03b0(0x243),'CSyWk':function(_0x2dece6,_0x1e0a03){return _0x2dece6===_0x1e0a03;},'OrpWk':function(_0x41b0b6,_0x1b9491){return _0x41b0b6===_0x1b9491;},'adcXC':_0x4e03b0(0x1bc),'Lzlaw':'unknown_method','GmIaK':function(_0x189963,_0x106354){return _0x189963===_0x106354;},'wdwaN':_0x4e03b0(0x237),'SqoIz':function(_0x32b33e,_0x52c2f9){return _0x32b33e===_0x52c2f9;},'wFmzZ':function(_0x58eb1a,_0x2444bb){return _0x58eb1a===_0x2444bb;},'mNfkJ':function(_0x5412e5,_0x156f59){return _0x5412e5<=_0x156f59;},'ENCpF':function(_0x43ef4a,_0x4a3ffa){return _0x43ef4a+_0x4a3ffa;},'qXVvq':function(_0x594aec,_0x2f2a6e){return _0x594aec+_0x2f2a6e;},'zYUTx':_0x4e03b0(0x1c4)},{isPlaywright:_0xc19b75,type:_0x45532e}=_0x19a925[_0x4e03b0(0x1a3)](detectDriverType,_0x17c22f),_0xfb0216=_0x5d9c88?_0x19a925[_0x4e03b0(0x21c)](_0x5198b1,{}):global[_0x4e03b0(0x224)]||{},_0xa54b41=_0xc19b75?global[_0x4e03b0(0x194)]&&(_0x5d9c88||_0x19a925['lPuzM'](global[_0x4e03b0(0x243)],![])):accessibilityHelper['isAccessibilityAutomationSession']()&&globals[_0x4e03b0(0x192)](_0x19a925[_0x4e03b0(0x1d9)])&&(_0x5d9c88||_0x19a925[_0x4e03b0(0x23e)](globals[_0x4e03b0(0x192)](_0x19a925[_0x4e03b0(0x1f0)]),![]));if(!_0xa54b41)return _0xc19b75&&global[_0x4e03b0(0x194)]&&_0x19a925[_0x4e03b0(0x1dc)](global[_0x4e03b0(0x243)],![])||!_0xc19b75&&globals['getGlobal'](_0x19a925[_0x4e03b0(0x1d9)])&&_0x19a925[_0x4e03b0(0x221)](globals[_0x4e03b0(0x192)](_0x19a925[_0x4e03b0(0x1f0)]),![])?logger[_0x4e03b0(0x1e0)](_0x19a925[_0x4e03b0(0x1f8)]):logger[_0x4e03b0(0x1d8)](_0x4e03b0(0x196)+_0x45532e+',\x20cannot\x20perform\x20scan\x20with\x20retry.'),![];const _0x367d20=_0x2c3a52||global[_0x4e03b0(0x1fc)]||_0x19a925[_0x4e03b0(0x21d)];let _0x543a1f=null;const _0x552550={'testhub_btcer_uuid':global['__workerDetails']?.['currentTest']?.['id'],'url':_0x19a925[_0x4e03b0(0x193)](typeof _0x17c22f[_0x4e03b0(0x1f5)],_0x19a925[_0x4e03b0(0x20e)])?await _0x17c22f[_0x4e03b0(0x1f5)]():_0x19a925[_0x4e03b0(0x1ef)](typeof _0x17c22f[_0x4e03b0(0x242)],_0x19a925[_0x4e03b0(0x20e)])?await _0x17c22f[_0x4e03b0(0x242)]():'','automate_session_id':_0x19a925[_0x4e03b0(0x1f1)](typeof _0x17c22f[_0x4e03b0(0x195)],_0x19a925[_0x4e03b0(0x20e)])?(await _0x17c22f['getSession']())['getId']():''};for(let _0x284282=0x1;_0x19a925['mNfkJ'](_0x284282,_0x19a925['ENCpF'](RETRY_CONFIG['maxRetries'],0x1));_0x284282++){try{return logger[_0x4e03b0(0x1e0)](_0x4e03b0(0x23f)+_0x284282+'/'+_0x19a925['qXVvq'](RETRY_CONFIG[_0x4e03b0(0x209)],0x1)+'\x20for\x20method:\x20'+_0x367d20+'\x20('+_0x45532e+')'),await PerformanceTester['measureWrapper'](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0xd38545=_0x4e03b0;let _0x122554;if(_0x19a925['JFZDx'](_0xc19b75,playwrightA11yHelper)){_0x19a925[_0xd38545(0x1d3)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0xd38545(0x1b3)](_0x17c22f,RETRY_CONFIG[_0xd38545(0x1ba)]);let _0x30b11a=_0x17c22f;_0x19a925[_0xd38545(0x1dd)](_0x45532e,_0x19a925[_0xd38545(0x226)])&&(_0x30b11a=_0x17c22f[_0xd38545(0x23b)]);const _0x3fded3=global[_0xd38545(0x1ac)]?{'is_mobile_session':!![],'thTestRunUuid':accessibilityHelper[_0xd38545(0x19d)]()}:{};_0x122554=await _0x19a925[_0xd38545(0x1d3)](withTimeout,playwrightA11yHelper[_0xd38545(0x219)](_0x30b11a,_0x367d20,_0xfb0216,_0x3fded3),RETRY_CONFIG[_0xd38545(0x1ba)]),await exports[_0xd38545(0x1b3)](_0x17c22f,RETRY_CONFIG[_0xd38545(0x231)]);}else await exports[_0xd38545(0x210)](_0x17c22f,RETRY_CONFIG['timeoutMs']),_0x122554=await _0x19a925[_0xd38545(0x1d3)](withTimeout,accessibilityHelper[_0xd38545(0x219)](_0x17c22f,_0x367d20,_0x5d9c88,_0xfb0216),RETRY_CONFIG['timeoutMs']),await exports['setSeleniumScriptTimeout'](_0x17c22f,RETRY_CONFIG[_0xd38545(0x231)]);logger[_0xd38545(0x1e0)](_0xd38545(0x232)+_0x284282+_0xd38545(0x1a5));},{'command':_0x367d20,..._0x552550})(),logger[_0x4e03b0(0x197)](_0x4e03b0(0x1b5)+_0x284282+'.'),!![];}catch(_0x3d2ec5){_0x543a1f=_0x3d2ec5,logger[_0x4e03b0(0x1e0)](_0x4e03b0(0x23f)+_0x284282+_0x4e03b0(0x180)+_0x367d20+'\x20('+_0x45532e+_0x4e03b0(0x17f)+_0x3d2ec5[_0x4e03b0(0x1bf)]);}}return logger['error'](_0x4e03b0(0x21e)+_0x367d20+'\x20('+_0x45532e+')\x20with\x20error:\x20'+(_0x543a1f?.[_0x4e03b0(0x1bf)]||_0x19a925[_0x4e03b0(0x1be)])),![];},exports['getAccessibilityResultsWithRetry']=async(_0x20eb5f,_0x455a4e)=>{const _0x3228ac=a106_0x41077f,_0x4284e5={'NQMXI':function(_0x51d62a,_0x59ee67){return _0x51d62a(_0x59ee67);},'RDOwI':_0x3228ac(0x20b),'wHUDv':function(_0x45ca19,_0x57c84e){return _0x45ca19<=_0x57c84e;},'gvKnA':function(_0x57c317,_0xd43a03){return _0x57c317+_0xd43a03;},'SuiPl':function(_0x4fabab,_0x54511a){return _0x4fabab&&_0x54511a;},'WEQzC':function(_0x305783,_0x186abf,_0x509adc){return _0x305783(_0x186abf,_0x509adc);},'GsFzQ':_0x3228ac(0x1c4)},{isPlaywright:_0x319c52,type:_0x7eb33a}=_0x4284e5[_0x3228ac(0x1e7)](detectDriverType,_0x20eb5f),_0xdf51b0=_0x319c52?_0x455a4e[_0x3228ac(0x194)]:accessibilityHelper['isAccessibilityAutomationSession']()&&globals[_0x3228ac(0x192)](_0x4284e5['RDOwI']);if(!_0xdf51b0)return logger[_0x3228ac(0x1d8)](_0x3228ac(0x196)+_0x7eb33a+_0x3228ac(0x1f6)),[];let _0x2e99c5=null;for(let _0x2f31b2=0x1;_0x4284e5[_0x3228ac(0x187)](_0x2f31b2,_0x4284e5[_0x3228ac(0x18c)](RETRY_CONFIG['maxRetries'],0x1));_0x2f31b2++){try{logger['debug'](_0x3228ac(0x1d2)+_0x2f31b2+'/'+_0x4284e5['gvKnA'](RETRY_CONFIG[_0x3228ac(0x209)],0x1)+'\x20('+_0x7eb33a+')');let _0x265523;return _0x4284e5[_0x3228ac(0x18e)](_0x319c52,playwrightA11yHelper)?(_0x4284e5[_0x3228ac(0x205)](setConfigTimeout,RETRY_CONFIG,null),await exports['setPlaywrightScriptTimeout'](_0x20eb5f,RETRY_CONFIG[_0x3228ac(0x1ba)]),_0x265523=await _0x4284e5[_0x3228ac(0x205)](withTimeout,playwrightA11yHelper[_0x3228ac(0x21a)](_0x20eb5f),RETRY_CONFIG[_0x3228ac(0x1ba)]),await exports['setPlaywrightScriptTimeout'](_0x20eb5f,RETRY_CONFIG['defaultTimeoutMs'])):(await exports[_0x3228ac(0x210)](_0x20eb5f,RETRY_CONFIG[_0x3228ac(0x1ba)]),_0x265523=await _0x4284e5[_0x3228ac(0x205)](withTimeout,accessibilityHelper[_0x3228ac(0x21a)](_0x20eb5f,_0x455a4e),RETRY_CONFIG['timeoutMs']),await exports[_0x3228ac(0x210)](_0x20eb5f,RETRY_CONFIG[_0x3228ac(0x231)])),logger[_0x3228ac(0x197)](_0x3228ac(0x1b6)+_0x2f31b2+'\x20('+_0x7eb33a+')'),_0x265523;}catch(_0x2015a0){_0x2e99c5=_0x2015a0,logger['warn'](_0x3228ac(0x1d2)+_0x2f31b2+_0x3228ac(0x1cd)+_0x7eb33a+').\x20Error:\x20'+_0x2015a0['message']);}}return logger[_0x3228ac(0x1a6)](_0x3228ac(0x1c5)+_0x7eb33a+').\x20Last\x20error:\x20'+(_0x2e99c5?.['message']||_0x4284e5[_0x3228ac(0x22d)])),[];},exports[a106_0x41077f(0x1d4)]=async(_0x575fe9,_0xd0dc36)=>{const _0xe64008=a106_0x41077f,_0x4a3998={'IfvWt':function(_0x1bad50,_0x20887c){return _0x1bad50(_0x20887c);},'INbmx':_0xe64008(0x20b),'KqbYD':function(_0x7b4b3d,_0x1925da){return _0x7b4b3d<=_0x1925da;},'TMeyJ':function(_0x384b58,_0x38bdb9){return _0x384b58+_0x38bdb9;},'pPGZz':function(_0x3f91e7,_0x4c1ba4){return _0x3f91e7+_0x4c1ba4;},'DLjWv':function(_0x2fa061,_0x41b361){return _0x2fa061&&_0x41b361;},'bgBrh':function(_0x3483f4,_0x47703e,_0x35b3f3){return _0x3483f4(_0x47703e,_0x35b3f3);},'FBxDG':function(_0xb86c96,_0xe58a23,_0x551963){return _0xb86c96(_0xe58a23,_0x551963);},'gXIqo':function(_0x567721,_0x414642,_0x2c79ad){return _0x567721(_0x414642,_0x2c79ad);},'SZJrl':_0xe64008(0x1c4)},{isPlaywright:_0x1a25e6,type:_0x4bad5f}=_0x4a3998['IfvWt'](detectDriverType,_0x575fe9),_0x57f141=_0x1a25e6?_0xd0dc36['accessibilityPlatform']:accessibilityHelper[_0xe64008(0x1e1)]()&&globals[_0xe64008(0x192)](_0x4a3998['INbmx']);if(!_0x57f141)return logger[_0xe64008(0x1d8)]('Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20'+_0x4bad5f+_0xe64008(0x1b9)),{};let _0x3c877d=null;for(let _0x344e49=0x1;_0x4a3998[_0xe64008(0x183)](_0x344e49,_0x4a3998['TMeyJ'](RETRY_CONFIG[_0xe64008(0x209)],0x1));_0x344e49++){try{logger['debug'](_0xe64008(0x248)+_0x344e49+'/'+_0x4a3998['pPGZz'](RETRY_CONFIG[_0xe64008(0x209)],0x1)+'\x20('+_0x4bad5f+')');let _0x2603f7;return _0x4a3998[_0xe64008(0x1ad)](_0x1a25e6,playwrightA11yHelper)?(_0x4a3998[_0xe64008(0x1ff)](setConfigTimeout,RETRY_CONFIG,null),await exports['setPlaywrightScriptTimeout'](_0x575fe9,RETRY_CONFIG[_0xe64008(0x1ba)]),_0x2603f7=await _0x4a3998[_0xe64008(0x181)](withTimeout,playwrightA11yHelper[_0xe64008(0x19b)](_0x575fe9),RETRY_CONFIG[_0xe64008(0x1ba)]),await exports[_0xe64008(0x1b3)](_0x575fe9,RETRY_CONFIG[_0xe64008(0x231)])):(await exports[_0xe64008(0x210)](_0x575fe9,RETRY_CONFIG[_0xe64008(0x1ba)]),_0x2603f7=await _0x4a3998[_0xe64008(0x222)](withTimeout,accessibilityHelper[_0xe64008(0x19b)](_0x575fe9,_0xd0dc36),RETRY_CONFIG[_0xe64008(0x1ba)]),await exports[_0xe64008(0x210)](_0x575fe9,RETRY_CONFIG[_0xe64008(0x231)])),logger[_0xe64008(0x197)](_0xe64008(0x1da)+_0x344e49+'\x20('+_0x4bad5f+')'),_0x2603f7;}catch(_0xe12a7a){_0x3c877d=_0xe12a7a,logger[_0xe64008(0x1d8)](_0xe64008(0x248)+_0x344e49+_0xe64008(0x1cd)+_0x4bad5f+_0xe64008(0x17f)+_0xe12a7a[_0xe64008(0x1bf)]);}}return logger[_0xe64008(0x1a6)](_0xe64008(0x23d)+_0x4bad5f+_0xe64008(0x19f)+(_0x3c877d?.['message']||_0x4a3998[_0xe64008(0x208)])),{};},exports['performComprehensiveAccessibilityScanWithRetry']=async(_0x8f54ce,_0x5b5eee,_0x2a719b=null)=>{const _0x447e06=a106_0x41077f,_0x270930={'tfSEh':function(_0x22664c,_0x548aa0){return _0x22664c(_0x548aa0);},'Huetc':function(_0x176037,_0x99a24e){return _0x176037===_0x99a24e;},'TQNnk':_0x447e06(0x1d1),'Ybfbg':function(_0x2730e9,_0x4bcdd2){return _0x2730e9===_0x4bcdd2;},'BkxJL':_0x447e06(0x189),'UvGDJ':function(_0x9b33fc,_0x51b147){return _0x9b33fc===_0x51b147;},'FKWbC':_0x447e06(0x1a2)},{isPlaywright:_0x2465e5,type:_0xfee8ba}=_0x270930[_0x447e06(0x188)](detectDriverType,_0x8f54ce),_0x29ccbf={};_0x29ccbf[_0x447e06(0x190)]=![],_0x29ccbf[_0x447e06(0x186)]=[],_0x29ccbf[_0x447e06(0x233)]={},_0x29ccbf[_0x447e06(0x1a6)]=null,_0x29ccbf['driverType']=_0xfee8ba;const _0x29d445=_0x29ccbf;try{_0x29d445[_0x447e06(0x190)]=await exports[_0x447e06(0x1c6)](_0x8f54ce,_0x2a719b);if(_0x29d445['scanSucceeded']){const [_0x1082ee,_0x4f16f7]=await Promise[_0x447e06(0x18a)]([exports[_0x447e06(0x234)](_0x8f54ce,_0x5b5eee),exports[_0x447e06(0x1d4)](_0x8f54ce,_0x5b5eee)]);_0x29d445[_0x447e06(0x186)]=_0x270930[_0x447e06(0x1ee)](_0x1082ee[_0x447e06(0x1c0)],_0x270930[_0x447e06(0x1cf)])?_0x1082ee['value']:[],_0x29d445['summary']=_0x270930[_0x447e06(0x1ee)](_0x4f16f7[_0x447e06(0x1c0)],_0x270930[_0x447e06(0x1cf)])?_0x4f16f7[_0x447e06(0x1b4)]:{},_0x270930[_0x447e06(0x1c7)](_0x1082ee['status'],_0x270930['BkxJL'])&&logger[_0x447e06(0x1d8)](_0x447e06(0x217)+_0xfee8ba+_0x447e06(0x198)+_0x1082ee[_0x447e06(0x1ea)]?.[_0x447e06(0x1bf)]),_0x270930['UvGDJ'](_0x4f16f7[_0x447e06(0x1c0)],_0x270930[_0x447e06(0x22a)])&&logger[_0x447e06(0x1d8)](_0x447e06(0x229)+_0xfee8ba+_0x447e06(0x198)+_0x4f16f7['reason']?.[_0x447e06(0x1bf)]);}}catch(_0xadc782){_0x29d445[_0x447e06(0x1a6)]=_0xadc782[_0x447e06(0x1bf)]||_0x270930['FKWbC'],logger[_0x447e06(0x1a6)](_0x447e06(0x225)+_0xfee8ba+_0x447e06(0x198)+_0x29d445[_0x447e06(0x1a6)]);}return _0x29d445;},exports['updateRetryConfig']=_0x4472b6=>{const _0x422e73=a106_0x41077f,_0x4bf6ce={};_0x4bf6ce[_0x422e73(0x1a0)]=function(_0x4ccd97,_0xb7b609){return _0x4ccd97!==_0xb7b609;},_0x4bf6ce[_0x422e73(0x1f2)]=function(_0x256031,_0x14f81b){return _0x256031!==_0x14f81b;};const _0x3a03b6=_0x4bf6ce;_0x3a03b6['nBXlO'](_0x4472b6['maxRetries'],undefined)&&(RETRY_CONFIG[_0x422e73(0x209)]=Math[_0x422e73(0x215)](0x0,_0x4472b6['maxRetries'])),_0x3a03b6['GcGlL'](_0x4472b6['timeoutMs'],undefined)&&(RETRY_CONFIG[_0x422e73(0x1ba)]=Math[_0x422e73(0x215)](0x3e8,_0x4472b6[_0x422e73(0x1ba)])),logger['debug'](_0x422e73(0x202)+JSON[_0x422e73(0x21f)](RETRY_CONFIG));},exports['getRetryConfig']=()=>{const _0xf6373e={...RETRY_CONFIG};return _0xf6373e;},exports[a106_0x41077f(0x23c)]=_0x1a3142=>{const _0x4ede6d=a106_0x41077f,_0x47004a={'fhKXO':function(_0x5aef03,_0x116f04){return _0x5aef03(_0x116f04);}};return _0x47004a[_0x4ede6d(0x1a8)](detectDriverType,_0x1a3142)[_0x4ede6d(0x230)];},exports[a106_0x41077f(0x1a9)]=_0x3c72d4=>{const _0x2ceaee=a106_0x41077f,_0x1face4={'WbGNm':function(_0x42aae8,_0x236bfe){return _0x42aae8(_0x236bfe);},'GrWVR':function(_0x5221e5,_0x4633ea){return _0x5221e5===_0x4633ea;},'ayBOv':_0x2ceaee(0x20d)},{isPlaywright:_0x3a4f9e,type:_0x55217b}=_0x1face4[_0x2ceaee(0x18f)](detectDriverType,_0x3c72d4);return!_0x3a4f9e&&_0x1face4[_0x2ceaee(0x1fa)](_0x55217b,_0x1face4[_0x2ceaee(0x1c3)]);},exports['setPlaywrightScriptTimeout']=async(_0x5776df,_0x2a0458=null)=>{const _0x45b939=a106_0x41077f,_0x339eda={'YHpjm':function(_0x2f7031,_0x36d68a){return _0x2f7031(_0x36d68a);},'bQruf':function(_0x32c0cd,_0x2ee40e){return _0x32c0cd===_0x2ee40e;},'aCOOs':'function'},{isPlaywright:_0x3af5bc,type:_0x2d3096}=_0x339eda['YHpjm'](detectDriverType,_0x5776df);if(!_0x3af5bc)return logger[_0x45b939(0x1e0)]('Skipping\x20timeout\x20setting\x20for\x20'+_0x2d3096+_0x45b939(0x1ab)),!![];const _0x4d1272=_0x2a0458||RETRY_CONFIG[_0x45b939(0x231)];try{return _0x5776df&&_0x339eda[_0x45b939(0x1de)](typeof _0x5776df['setDefaultTimeout'],_0x339eda[_0x45b939(0x247)])&&(await _0x5776df['setDefaultTimeout'](_0x4d1272),logger[_0x45b939(0x1e0)](_0x45b939(0x227)+_0x4d1272+'ms')),!![];}catch(_0x60a92c){return logger[_0x45b939(0x1d8)](_0x45b939(0x18b)+_0x60a92c[_0x45b939(0x1bf)]),![];}},exports['setSeleniumScriptTimeout']=async(_0x1eb941,_0x3372ec=null)=>{const _0x2f820f=a106_0x41077f,_0x14bc02={};_0x14bc02['kmRQd']=_0x2f820f(0x1f7),_0x14bc02['CedOO']=function(_0xf4858a,_0x60833f){return _0xf4858a===_0x60833f;},_0x14bc02[_0x2f820f(0x241)]=_0x2f820f(0x237),_0x14bc02[_0x2f820f(0x1c9)]=function(_0x48ed61,_0x5ee9d6){return _0x48ed61===_0x5ee9d6;},_0x14bc02[_0x2f820f(0x182)]=function(_0x106a14,_0xef872d){return _0x106a14===_0xef872d;},_0x14bc02[_0x2f820f(0x1e3)]='Selenium\x20WebDriver\x20timeout\x20API\x20not\x20available,\x20skipping\x20timeout\x20setting',_0x14bc02[_0x2f820f(0x20a)]=_0x2f820f(0x23a);const _0x5963ae=_0x14bc02;if(!exports[_0x2f820f(0x1a9)](_0x1eb941))return logger[_0x2f820f(0x1d8)](_0x5963ae[_0x2f820f(0x1a1)]),![];const _0x869b76=_0x3372ec||RETRY_CONFIG[_0x2f820f(0x231)];try{if(_0x1eb941&&_0x5963ae['CedOO'](typeof _0x1eb941['manage'],_0x5963ae[_0x2f820f(0x241)])){const _0x43e653=_0x1eb941[_0x2f820f(0x204)]();if(_0x43e653&&_0x5963ae[_0x2f820f(0x1c9)](typeof _0x43e653[_0x2f820f(0x1bd)],_0x5963ae[_0x2f820f(0x241)]))await _0x43e653['timeouts']()[_0x2f820f(0x200)](_0x869b76),logger[_0x2f820f(0x1e0)](_0x2f820f(0x185)+_0x869b76+_0x2f820f(0x1df));else{if(_0x43e653&&_0x5963ae[_0x2f820f(0x1f9)](typeof _0x43e653['setTimeouts'],_0x5963ae[_0x2f820f(0x241)])){const _0x41881e={};_0x41881e[_0x2f820f(0x1f4)]=_0x869b76,await _0x43e653[_0x2f820f(0x1e8)](_0x41881e),logger[_0x2f820f(0x1e0)]('Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20'+_0x869b76+_0x2f820f(0x1b0));}else{if(_0x43e653&&_0x5963ae['BbfHv'](typeof _0x43e653[_0x2f820f(0x200)],_0x5963ae[_0x2f820f(0x241)]))await _0x43e653[_0x2f820f(0x200)](_0x869b76),logger[_0x2f820f(0x1e0)]('Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20'+_0x869b76+_0x2f820f(0x1b8));else return logger[_0x2f820f(0x1e0)](_0x5963ae[_0x2f820f(0x1e3)]),!![];}}}else return logger[_0x2f820f(0x1e0)](_0x5963ae[_0x2f820f(0x20a)]),!![];return!![];}catch(_0x359bc1){return logger['warn'](_0x2f820f(0x19e)+_0x359bc1['message']),![];}},exports['saveAccessibilityResultsWithRetry']=async(_0x2dec31,_0x3069b2)=>{const _0x3006e9=a106_0x41077f,_0x2d0b3e={'AmrKq':function(_0x1a5b93,_0x4385f0){return _0x1a5b93(_0x4385f0);},'GgbZc':'isAccessibilityPlatform','BxWsm':function(_0x263a74,_0x57f411){return _0x263a74<=_0x57f411;},'kxSCp':function(_0x1b7a0a,_0x31cae6){return _0x1b7a0a+_0x31cae6;},'pqqgY':function(_0x50809b,_0x15b8be){return _0x50809b+_0x15b8be;},'sHQJa':function(_0x29f882,_0x2c75a9){return _0x29f882&&_0x2c75a9;},'dxgui':function(_0x2d6b2b,_0xda9ad9,_0x38760a){return _0x2d6b2b(_0xda9ad9,_0x38760a);},'TdOAq':_0x3006e9(0x1ac),'hlvhz':_0x3006e9(0x1c4)},{isPlaywright:_0x1c6cc8,type:_0x4f6858}=_0x2d0b3e[_0x3006e9(0x20c)](detectDriverType,_0x2dec31),_0x59d8fc=_0x1c6cc8?global[_0x3006e9(0x194)]:accessibilityHelper[_0x3006e9(0x1e1)]()&&globals[_0x3006e9(0x192)](_0x2d0b3e[_0x3006e9(0x211)]);if(!_0x59d8fc)return logger[_0x3006e9(0x1d8)](_0x3006e9(0x196)+_0x4f6858+',\x20cannot\x20save\x20accessibility\x20results\x20with\x20retry.'),![];let _0x122fdc=null;for(let _0x31d5fc=0x1;_0x2d0b3e[_0x3006e9(0x19c)](_0x31d5fc,_0x2d0b3e['kxSCp'](RETRY_CONFIG[_0x3006e9(0x209)],0x1));_0x31d5fc++){try{logger[_0x3006e9(0x1e0)](_0x3006e9(0x240)+_0x31d5fc+'/'+_0x2d0b3e[_0x3006e9(0x1e9)](RETRY_CONFIG[_0x3006e9(0x209)],0x1)+'\x20('+_0x4f6858+')');if(_0x2d0b3e[_0x3006e9(0x1fe)](_0x1c6cc8,playwrightA11yHelper)){_0x2d0b3e[_0x3006e9(0x1fb)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x3006e9(0x1b3)](_0x2dec31,RETRY_CONFIG['timeoutMs']);const _0x32fc0d={};_0x32fc0d[_0x3006e9(0x1ed)]=!![];const _0x4cbabf=global[_0x3006e9(0x1ac)]?Object[_0x3006e9(0x1ec)]({},_0x3069b2,_0x32fc0d):_0x3069b2;await _0x2d0b3e['dxgui'](withTimeout,playwrightA11yHelper['browserStackEvaluate'](_0x2dec31,scripts[_0x3006e9(0x1e5)],_0x4cbabf),RETRY_CONFIG[_0x3006e9(0x1ba)]),await exports[_0x3006e9(0x1b3)](_0x2dec31,RETRY_CONFIG[_0x3006e9(0x231)]);}else{await exports[_0x3006e9(0x210)](_0x2dec31,RETRY_CONFIG[_0x3006e9(0x1ba)]);const _0x1fbcf5={};_0x1fbcf5[_0x3006e9(0x1ed)]=!![];const _0x53932b=globals[_0x3006e9(0x192)](_0x2d0b3e[_0x3006e9(0x1b7)])?Object[_0x3006e9(0x1ec)]({},_0x3069b2,_0x1fbcf5):_0x3069b2;await _0x2d0b3e[_0x3006e9(0x1fb)](withTimeout,_0x2dec31[_0x3006e9(0x22c)](scripts[_0x3006e9(0x1e5)],_0x53932b),RETRY_CONFIG[_0x3006e9(0x1ba)]),await exports['setSeleniumScriptTimeout'](_0x2dec31,RETRY_CONFIG[_0x3006e9(0x231)]);}return logger[_0x3006e9(0x197)](_0x3006e9(0x203)+_0x31d5fc+'\x20('+_0x4f6858+')'),!![];}catch(_0x266f73){_0x122fdc=_0x266f73,logger['warn'](_0x3006e9(0x240)+_0x31d5fc+_0x3006e9(0x1cd)+_0x4f6858+_0x3006e9(0x17f)+_0x266f73[_0x3006e9(0x1bf)]);}}return logger[_0x3006e9(0x1a6)](_0x3006e9(0x1af)+_0x4f6858+_0x3006e9(0x19f)+(_0x122fdc?.[_0x3006e9(0x1bf)]||_0x2d0b3e['hlvhz'])),![];};
|
|
1
|
+
const a106_0x27eab2=a106_0xaa23;(function(_0x3f373b,_0x2bcb14){const _0x1f8d02=a106_0xaa23,_0x5f2944=_0x3f373b();while(!![]){try{const _0x277aa5=parseInt(_0x1f8d02(0x8b))/0x1+-parseInt(_0x1f8d02(0xf4))/0x2*(parseInt(_0x1f8d02(0x131))/0x3)+-parseInt(_0x1f8d02(0x103))/0x4*(parseInt(_0x1f8d02(0x10c))/0x5)+-parseInt(_0x1f8d02(0xba))/0x6*(parseInt(_0x1f8d02(0x6d))/0x7)+-parseInt(_0x1f8d02(0xee))/0x8+parseInt(_0x1f8d02(0x7c))/0x9*(parseInt(_0x1f8d02(0x113))/0xa)+parseInt(_0x1f8d02(0x9e))/0xb*(parseInt(_0x1f8d02(0xb7))/0xc);if(_0x277aa5===_0x2bcb14)break;else _0x5f2944['push'](_0x5f2944['shift']());}catch(_0x23fac6){_0x5f2944['push'](_0x5f2944['shift']());}}}(a106_0x768f,0xab42a));const util=require('util'),logger=require(a106_0x27eab2(0xb5))[a106_0x27eab2(0x10f)],accessibilityHelper=require('./helper'),globals=require(a106_0x27eab2(0xe9)),scripts=require(a106_0x27eab2(0xfd)),PerformanceTester=require(a106_0x27eab2(0x75)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a106_0x27eab2(0xd1)),BrowserstackCLI=require(a106_0x27eab2(0x93));let playwrightA11yHelper=null;function a106_0x768f(){const _0x16e556=['defaultTimeoutMs','rexDb','setSeleniumScriptTimeout','Accessibility\x20results\x20retrieved\x20successfully\x20on\x20attempt\x20','url','getAccessibilityResultsWithRetry','140126Aanqce','isAccessibilityPlatform','KrHdH','Failed\x20to\x20retrieve\x20accessibility\x20results\x20(','updateRetryConfig','Failed\x20to\x20retrieve\x20accessibility\x20summary\x20(','LQAQs','DoOdQ','../performance/performance-tester','BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT','value','PNbVU','SxoJG','Atldm','executeAsyncScript','14391vXfzVf','OrFjX','Unknown\x20driver/page\x20type:\x20','isMobilePlatform','BmPxn','evaluate','fulfilled','setScriptTimeout','MBsZv','function','getRetryConfig','Unknown\x20error\x20during\x20comprehensive\x20accessibility\x20scan','isSeleniumDriver','SzKZr','\x20failed\x20for\x20method:\x20','1327462ucFbWh','getGlobal','ms\x20using\x20setScriptTimeout\x20API','ankRi','dCzRt','capabilitiesList','Accessibility\x20scan\x20succeeded\x20on\x20attempt\x20',').\x20Error:\x20','../../bin/v2/browserstackCLI','getCurrentUrl','performComprehensiveAccessibilityScanWithRetry','UtAKd','HEKLe','YEcqN','eFZSP','AoGdn','):\x20','Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20','YkBHI','11ePQkJW','Unknown\x20error','KoEou','EQRsW','fZvYo','JLyST','Skipping\x20timeout\x20setting\x20for\x20','hWQBG','\x20completed\x20successfully.','sMXwl','WHjvj','Accessibility\x20results\x20save\x20attempt\x20','eIygt','hqlDv','hnRxR',').\x20Last\x20error:\x20','setTimeouts','goto','results','isPlaywrightPage','VOfpH','timeoutMs','stringify','../logger','Accessibility\x20results\x20retrieval\x20attempt\x20','21957816VDHUMP','playwright-codecept-driver','Accessibility\x20retry\x20configuration\x20updated:\x20','204ATGSsD','XoIYu','Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20','rejected','All\x20accessibility\x20results\x20retrieval\x20attempts\x20failed\x20(','isAccessibilityAutomationSession','vOtXc','rUKUI','env','isPlaywright','RVpRD','Playwright\x20accessibility\x20helper\x20not\x20available','qLKzj','xsNMm','uBgzc','hGrKc',')\x20with\x20error:\x20','__workerDetails','ZFxiu','accessibilityPlatform','type','debug','playwright-page','../performance/constants','All\x20accessibility\x20scan\x20attempts\x20failed\x20for\x20method:\x20','max','HzHEp','Selenium\x20WebDriver\x20timeout\x20API\x20not\x20available,\x20skipping\x20timeout\x20setting','getAccessibilityResults','UjiSl','manage','summary','message','performScan','NqdIq','getSession','VZgVy','page','hutIf','MkoMS','\x20for\x20method:\x20','browserStackEvaluate','Mqsgq','error','bstackA11yShouldScan','info','accessibilityConfig','../globals','Set\x20Playwright\x20page\x20default\x20timeout\x20to\x20','assign','is_mobile_session','BnQZh','4292048RWiQJD','Comprehensive\x20accessibility\x20scan\x20failed\x20(',',\x20cannot\x20save\x20accessibility\x20results\x20with\x20retry.','\x20-\x20not\x20applicable','options','Playwright','392044xveUVs','gnSdp','../../bin/playwright/accessibility-helper','PERFORM_SCAN','unknown','XJUzz','cTdln','tHJPX','\x20failed\x20(','./scripts','Scan\x20attempt\x20','zEAOq','bstackA11yScanOptions','timeouts','Operation\x20timed\x20out\x20after\x20','4LdxwLT','status','LfyUq','All\x20accessibility\x20results\x20summary\x20retrieval\x20attempts\x20failed\x20(','allSettled','OOpNR','resolveMobileThTestRunUuid','WGdfi','reason','3386095KYroXq',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20with\x20retry.','measureWrapper','winstonLogger','getAccessibilityModule','setDefaultTimeout','performScanWithRetry','5070HCaZCf','VDeeK','sdKFN','AoOBj','VJIoT','tvWFP','Selenium\x20WebDriver\x20manage()\x20method\x20not\x20available,\x20skipping\x20timeout\x20setting','Accessibility\x20results\x20summary\x20retrieved\x20successfully\x20on\x20attempt\x20','WebDriver','browserstackSessionName','getInstance','name','setPlaywrightScriptTimeout','maxRetries','lTkOP','OTsRH','GBIxT','HxEjH','saveTestResults','selenium-webdriver','DoDaj','sJKkB','PnIMa','constructor',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary\x20with\x20retry.','scanSucceeded','warn','undefined','getAccessibilityResultsSummary','DZqBN','21pSfRyv','driverType'];a106_0x768f=function(){return _0x16e556;};return a106_0x768f();}try{playwrightA11yHelper=require(a106_0x27eab2(0xf6));}catch(a106_0x66c7ab){logger[a106_0x27eab2(0xcf)](a106_0x27eab2(0xc5));}const a106_0x57743b={};a106_0x57743b[a106_0x27eab2(0x120)]=0x1,a106_0x57743b[a106_0x27eab2(0xb3)]=0x7530,a106_0x57743b['defaultTimeoutMs']=0x7530;function a106_0xaa23(_0x4c8e5c,_0x15285c){const _0x768fae=a106_0x768f();return a106_0xaa23=function(_0xaa2302,_0x45c779){_0xaa2302=_0xaa2302-0x66;let _0x1e0031=_0x768fae[_0xaa2302];return _0x1e0031;},a106_0xaa23(_0x4c8e5c,_0x15285c);}const RETRY_CONFIG=a106_0x57743b,setConfigTimeout=(_0xaf3d3c,_0x3e6afb=null)=>{const _0x2fd911=a106_0x27eab2,_0x5339cc={'ankRi':function(_0x1e80f6,_0x2c278b){return _0x1e80f6===_0x2c278b;},'qLKzj':'scannerProcessingTimeout','DZqBN':function(_0x5c2ec7,_0x2471a4){return _0x5c2ec7*_0x2471a4;},'LQAQs':function(_0xf11ecc,_0x3d5d4d){return _0xf11ecc(_0x3d5d4d);}};if(BrowserstackCLI[_0x2fd911(0x11d)]()['isRunning']()&&BrowserstackCLI[_0x2fd911(0x11d)]()['getAccessibilityModule']()){const _0x5daa3b=BrowserstackCLI[_0x2fd911(0x11d)]()[_0x2fd911(0x110)]()[_0x2fd911(0xe8)],_0x29477a=_0x5daa3b[_0x2fd911(0xf2)][_0x2fd911(0x90)]||[];for(const _0x24fdad of _0x29477a){_0x5339cc[_0x2fd911(0x8e)](_0x24fdad['name'],_0x5339cc[_0x2fd911(0xc6)])&&_0x5339cc['ankRi'](_0x3e6afb,null)&&(_0xaf3d3c[_0x2fd911(0xb3)]=_0x5339cc['DZqBN'](_0x5339cc[_0x2fd911(0x73)](parseInt,_0x24fdad['value']),0x3e8));}}else process[_0x2fd911(0xc2)]['BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT']&&(_0xaf3d3c['timeoutMs']=_0x5339cc[_0x2fd911(0x130)](_0x5339cc[_0x2fd911(0x73)](parseInt,process[_0x2fd911(0xc2)][_0x2fd911(0x76)]),0x3e8));},detectDriverType=_0x2f923e=>{const _0x35486d=a106_0x27eab2,_0x4a48aa={};_0x4a48aa[_0x35486d(0xac)]=_0x35486d(0xf8),_0x4a48aa[_0x35486d(0xcc)]=function(_0x7a3414,_0x4239b8){return _0x7a3414===_0x4239b8;},_0x4a48aa[_0x35486d(0xe0)]=_0x35486d(0x85),_0x4a48aa[_0x35486d(0x89)]=_0x35486d(0xd0),_0x4a48aa[_0x35486d(0xc7)]=_0x35486d(0x126),_0x4a48aa[_0x35486d(0xa8)]=function(_0x165017,_0x1ab74d){return _0x165017===_0x1ab74d;},_0x4a48aa[_0x35486d(0xd7)]='Page',_0x4a48aa[_0x35486d(0xf5)]=_0x35486d(0x11b),_0x4a48aa[_0x35486d(0x9d)]=_0x35486d(0xf3),_0x4a48aa[_0x35486d(0x114)]=_0x35486d(0xb8),_0x4a48aa[_0x35486d(0xa3)]=function(_0x788d66,_0x543dce){return _0x788d66||_0x543dce;},_0x4a48aa[_0x35486d(0x78)]=_0x35486d(0x12e);const _0x59cf3a=_0x4a48aa;if(!_0x2f923e){const _0x43fff4={};return _0x43fff4[_0x35486d(0xc3)]=![],_0x43fff4[_0x35486d(0xce)]=_0x59cf3a[_0x35486d(0xac)],_0x43fff4;}if(_0x59cf3a[_0x35486d(0xcc)](typeof _0x2f923e[_0x35486d(0x81)],_0x59cf3a['hutIf'])&&_0x59cf3a['ZFxiu'](typeof _0x2f923e[_0x35486d(0x6b)],_0x59cf3a[_0x35486d(0xe0)])&&_0x59cf3a['ZFxiu'](typeof _0x2f923e[_0x35486d(0xaf)],_0x59cf3a[_0x35486d(0xe0)])){const _0x3232b4={};return _0x3232b4[_0x35486d(0xc3)]=!![],_0x3232b4[_0x35486d(0xce)]=_0x59cf3a[_0x35486d(0x89)],_0x3232b4;}if(_0x59cf3a[_0x35486d(0xcc)](typeof _0x2f923e[_0x35486d(0x7b)],_0x59cf3a['hutIf'])&&_0x59cf3a[_0x35486d(0xcc)](typeof _0x2f923e['getCapabilities'],_0x59cf3a[_0x35486d(0xe0)])){const _0x5547a5={};return _0x5547a5[_0x35486d(0xc3)]=![],_0x5547a5[_0x35486d(0xce)]=_0x59cf3a[_0x35486d(0xc7)],_0x5547a5;}const _0x132287=_0x2f923e[_0x35486d(0x12a)]?.[_0x35486d(0x11e)];if(_0x59cf3a[_0x35486d(0xa8)](_0x132287,_0x59cf3a[_0x35486d(0xd7)])){const _0x5d5ff={};return _0x5d5ff[_0x35486d(0xc3)]=!![],_0x5d5ff[_0x35486d(0xce)]=_0x59cf3a['SzKZr'],_0x5d5ff;}if(_0x59cf3a[_0x35486d(0xa8)](_0x132287,_0x59cf3a[_0x35486d(0xf5)])){const _0x5ede61={};return _0x5ede61[_0x35486d(0xc3)]=![],_0x5ede61[_0x35486d(0xce)]=_0x59cf3a[_0x35486d(0xc7)],_0x5ede61;}if(_0x59cf3a[_0x35486d(0xa8)](_0x132287,_0x59cf3a[_0x35486d(0x9d)])){const _0x59220d={};return _0x59220d[_0x35486d(0xc3)]=!![],_0x59220d[_0x35486d(0xce)]=_0x59cf3a[_0x35486d(0x114)],_0x59220d;}logger[_0x35486d(0x12d)](_0x35486d(0x7e)+_0x59cf3a[_0x35486d(0xa3)](_0x132287,_0x59cf3a[_0x35486d(0x78)]));const _0x5a4d98={};return _0x5a4d98['isPlaywright']=![],_0x5a4d98[_0x35486d(0xce)]=_0x59cf3a[_0x35486d(0xac)],_0x5a4d98;},withTimeout=(_0x2fbd4c,_0x5c25d8)=>{const _0x20deb8=a106_0x27eab2;return Promise['race']([_0x2fbd4c,new Promise((_0x29a2b2,_0x29552c)=>setTimeout(()=>_0x29552c(new Error(_0x20deb8(0x102)+_0x5c25d8+'ms')),_0x5c25d8))]);};exports[a106_0x27eab2(0x112)]=async(_0x491671,_0x2757e5=null,_0x1b136e=null,_0x1359c8=![],_0x4e6253=null)=>{const _0xa98691=a106_0x27eab2,_0x34ba55={'QfGBp':function(_0x4484dd,_0x2d81ea){return _0x4484dd&&_0x2d81ea;},'dCzRt':function(_0x4971ca,_0xd3974a,_0x13a8c0){return _0x4971ca(_0xd3974a,_0x13a8c0);},'hWQBG':function(_0x2c2b66,_0x5925d0){return _0x2c2b66===_0x5925d0;},'MkoMS':_0xa98691(0xb8),'AoOBj':function(_0x11ef8d,_0x5b0449,_0x36c0fa){return _0x11ef8d(_0x5b0449,_0x36c0fa);},'HaHLw':function(_0x5b7f10,_0xec017){return _0x5b7f10(_0xec017);},'aocpW':function(_0x28c3cb,_0x3f21ec){return _0x28c3cb||_0x3f21ec;},'HEKLe':function(_0x254ccc,_0x3acab0){return _0x254ccc!==_0x3acab0;},'hqlDv':_0xa98691(0x6e),'vOtXc':_0xa98691(0xe6),'gmaJb':'[Accessibility]\x20Scan\x20skipped\x20-\x20scanning\x20is\x20currently\x20disabled\x20(partial\x20scan\x20mode)','lslnd':'unknown_method','Atldm':function(_0x13d1d4,_0x101ba4){return _0x13d1d4===_0x101ba4;},'NqdIq':_0xa98691(0x85),'cTdln':function(_0x236707,_0x27b087){return _0x236707===_0x27b087;},'BmPxn':function(_0x223dda,_0x41ac56){return _0x223dda<=_0x41ac56;},'fZvYo':function(_0x27ef06,_0x463315){return _0x27ef06+_0x463315;},'GbNyO':function(_0x9f0568,_0x50409a){return _0x9f0568+_0x50409a;},'XoIYu':_0xa98691(0x9f)},{isPlaywright:_0x499a0c,type:_0x2b68c0}=_0x34ba55['HaHLw'](detectDriverType,_0x491671),_0xe6db65=_0x1359c8?_0x34ba55['aocpW'](_0x4e6253,{}):global[_0xa98691(0x100)]||{},_0x116b05=_0x499a0c?global[_0xa98691(0xcd)]&&(_0x1359c8||_0x34ba55[_0xa98691(0x97)](global[_0xa98691(0xe6)],![])):accessibilityHelper[_0xa98691(0xbf)]()&&globals[_0xa98691(0x8c)](_0x34ba55[_0xa98691(0xab)])&&(_0x1359c8||_0x34ba55['HEKLe'](globals[_0xa98691(0x8c)](_0x34ba55['vOtXc']),![]));if(!_0x116b05)return _0x499a0c&&global[_0xa98691(0xcd)]&&_0x34ba55['hWQBG'](global[_0xa98691(0xe6)],![])||!_0x499a0c&&globals[_0xa98691(0x8c)](_0x34ba55[_0xa98691(0xab)])&&_0x34ba55[_0xa98691(0xa5)](globals[_0xa98691(0x8c)](_0x34ba55[_0xa98691(0xc0)]),![])?logger[_0xa98691(0xcf)](_0x34ba55['gmaJb']):logger[_0xa98691(0x12d)](_0xa98691(0xbc)+_0x2b68c0+',\x20cannot\x20perform\x20scan\x20with\x20retry.'),![];const _0x286afe=_0x2757e5||global[_0xa98691(0x11c)]||_0x34ba55['lslnd'];let _0x208575=null;const _0x258469={'testhub_btcer_uuid':global[_0xa98691(0xcb)]?.['currentTest']?.['id'],'url':_0x34ba55[_0xa98691(0x7a)](typeof _0x491671['url'],_0x34ba55['NqdIq'])?await _0x491671[_0xa98691(0x6b)]():_0x34ba55[_0xa98691(0xa5)](typeof _0x491671[_0xa98691(0x94)],_0x34ba55[_0xa98691(0xdc)])?await _0x491671[_0xa98691(0x94)]():'','automate_session_id':_0x34ba55[_0xa98691(0xfa)](typeof _0x491671[_0xa98691(0xdd)],_0x34ba55[_0xa98691(0xdc)])?(await _0x491671['getSession']())['getId']():''};for(let _0x134f09=0x1;_0x34ba55[_0xa98691(0x80)](_0x134f09,_0x34ba55[_0xa98691(0xa2)](RETRY_CONFIG[_0xa98691(0x120)],0x1));_0x134f09++){try{return logger[_0xa98691(0xcf)]('Accessibility\x20scan\x20attempt\x20'+_0x134f09+'/'+_0x34ba55['GbNyO'](RETRY_CONFIG[_0xa98691(0x120)],0x1)+_0xa98691(0xe2)+_0x286afe+'\x20('+_0x2b68c0+')'),await PerformanceTester[_0xa98691(0x10e)](PerformanceA11yEvents[_0xa98691(0xf7)],async()=>{const _0x3ba7e2=_0xa98691;let _0x198f0a;if(_0x34ba55['QfGBp'](_0x499a0c,playwrightA11yHelper)){_0x34ba55['dCzRt'](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x3ba7e2(0x11f)](_0x491671,RETRY_CONFIG[_0x3ba7e2(0xb3)]);let _0x11ba67=_0x491671;_0x34ba55['hWQBG'](_0x2b68c0,_0x34ba55[_0x3ba7e2(0xe1)])&&(_0x11ba67=_0x491671[_0x3ba7e2(0xdf)]);const _0x3be948=global[_0x3ba7e2(0x7f)]?{'is_mobile_session':!![],'thTestRunUuid':accessibilityHelper[_0x3ba7e2(0x109)]()}:{};_0x198f0a=await _0x34ba55[_0x3ba7e2(0x116)](withTimeout,playwrightA11yHelper[_0x3ba7e2(0xdb)](_0x11ba67,_0x286afe,_0xe6db65,_0x3be948),RETRY_CONFIG['timeoutMs']),await exports[_0x3ba7e2(0x11f)](_0x491671,RETRY_CONFIG[_0x3ba7e2(0x67)]);}else await exports['setSeleniumScriptTimeout'](_0x491671,RETRY_CONFIG[_0x3ba7e2(0xb3)]),_0x198f0a=await _0x34ba55[_0x3ba7e2(0x8f)](withTimeout,accessibilityHelper[_0x3ba7e2(0xdb)](_0x491671,_0x286afe,_0x1359c8,_0xe6db65),RETRY_CONFIG[_0x3ba7e2(0xb3)]),await exports[_0x3ba7e2(0x69)](_0x491671,RETRY_CONFIG[_0x3ba7e2(0x67)]);logger[_0x3ba7e2(0xcf)](_0x3ba7e2(0xfe)+_0x134f09+_0x3ba7e2(0xa6));},{'command':_0x286afe,..._0x258469})(),logger['info'](_0xa98691(0x91)+_0x134f09+'.'),!![];}catch(_0xc51fa0){_0x208575=_0xc51fa0,logger['debug']('Accessibility\x20scan\x20attempt\x20'+_0x134f09+_0xa98691(0x8a)+_0x286afe+'\x20('+_0x2b68c0+_0xa98691(0x92)+_0xc51fa0[_0xa98691(0xda)]);}}return logger[_0xa98691(0xe5)](_0xa98691(0xd2)+_0x286afe+'\x20('+_0x2b68c0+_0xa98691(0xca)+(_0x208575?.[_0xa98691(0xda)]||_0x34ba55[_0xa98691(0xbb)])),![];},exports[a106_0x27eab2(0x6c)]=async(_0x2a960a,_0xb0f6b5)=>{const _0x665f8e=a106_0x27eab2,_0x239e75={'SxoJG':function(_0x41ab50,_0x48fec6){return _0x41ab50(_0x48fec6);},'RVpRD':_0x665f8e(0x6e),'KoEou':function(_0x346560,_0x1d200b){return _0x346560<=_0x1d200b;},'DQoWj':function(_0x1b0f93,_0x1d06fd){return _0x1b0f93+_0x1d06fd;},'rexDb':function(_0x542f96,_0x18f44f){return _0x542f96+_0x18f44f;},'uBgzc':function(_0x14744d,_0x3c62fa){return _0x14744d&&_0x3c62fa;},'AoGdn':function(_0x57499e,_0x15e6fc,_0x204cab){return _0x57499e(_0x15e6fc,_0x204cab);},'zOjfn':function(_0x37da4d,_0x4d046a,_0x1139a6){return _0x37da4d(_0x4d046a,_0x1139a6);},'XJUzz':function(_0x199742,_0x23c7f6,_0x1c6bd8){return _0x199742(_0x23c7f6,_0x1c6bd8);},'YEcqN':_0x665f8e(0x9f)},{isPlaywright:_0x529cb5,type:_0x394f82}=_0x239e75[_0x665f8e(0x79)](detectDriverType,_0x2a960a),_0x14dd03=_0x529cb5?_0xb0f6b5[_0x665f8e(0xcd)]:accessibilityHelper[_0x665f8e(0xbf)]()&&globals['getGlobal'](_0x239e75[_0x665f8e(0xc4)]);if(!_0x14dd03)return logger[_0x665f8e(0x12d)](_0x665f8e(0xbc)+_0x394f82+_0x665f8e(0x10d)),[];let _0x3cd423=null;for(let _0x653b38=0x1;_0x239e75[_0x665f8e(0xa0)](_0x653b38,_0x239e75['DQoWj'](RETRY_CONFIG[_0x665f8e(0x120)],0x1));_0x653b38++){try{logger[_0x665f8e(0xcf)](_0x665f8e(0xb6)+_0x653b38+'/'+_0x239e75[_0x665f8e(0x68)](RETRY_CONFIG['maxRetries'],0x1)+'\x20('+_0x394f82+')');let _0x370ae8;return _0x239e75[_0x665f8e(0xc8)](_0x529cb5,playwrightA11yHelper)?(_0x239e75[_0x665f8e(0x9a)](setConfigTimeout,RETRY_CONFIG,null),await exports['setPlaywrightScriptTimeout'](_0x2a960a,RETRY_CONFIG[_0x665f8e(0xb3)]),_0x370ae8=await _0x239e75['zOjfn'](withTimeout,playwrightA11yHelper[_0x665f8e(0xd6)](_0x2a960a),RETRY_CONFIG[_0x665f8e(0xb3)]),await exports['setPlaywrightScriptTimeout'](_0x2a960a,RETRY_CONFIG['defaultTimeoutMs'])):(await exports[_0x665f8e(0x69)](_0x2a960a,RETRY_CONFIG[_0x665f8e(0xb3)]),_0x370ae8=await _0x239e75[_0x665f8e(0xf9)](withTimeout,accessibilityHelper[_0x665f8e(0xd6)](_0x2a960a,_0xb0f6b5),RETRY_CONFIG['timeoutMs']),await exports[_0x665f8e(0x69)](_0x2a960a,RETRY_CONFIG[_0x665f8e(0x67)])),logger[_0x665f8e(0xe7)](_0x665f8e(0x6a)+_0x653b38+'\x20('+_0x394f82+')'),_0x370ae8;}catch(_0x2ba6e2){_0x3cd423=_0x2ba6e2,logger[_0x665f8e(0x12d)]('Accessibility\x20results\x20retrieval\x20attempt\x20'+_0x653b38+_0x665f8e(0xfc)+_0x394f82+').\x20Error:\x20'+_0x2ba6e2[_0x665f8e(0xda)]);}}return logger[_0x665f8e(0xe5)](_0x665f8e(0xbe)+_0x394f82+_0x665f8e(0xad)+(_0x3cd423?.['message']||_0x239e75[_0x665f8e(0x98)])),[];},exports['getAccessibilityResultsSummaryWithRetry']=async(_0x2c7d99,_0xdfc586)=>{const _0x6dda36=a106_0x27eab2,_0x4458e2={'MBsZv':function(_0x59c21f,_0x5d8f89){return _0x59c21f(_0x5d8f89);},'UtAKd':_0x6dda36(0x6e),'sdKFN':function(_0x117562,_0x2624a0){return _0x117562<=_0x2624a0;},'VOfpH':function(_0x1b2028,_0x3efa63){return _0x1b2028+_0x3efa63;},'VJIoT':function(_0x4231b9,_0x410d1d){return _0x4231b9+_0x410d1d;},'Mqsgq':function(_0x3954cb,_0x43370a){return _0x3954cb&&_0x43370a;},'yALBh':function(_0x3b17bd,_0x2bdf6f,_0x2d7a12){return _0x3b17bd(_0x2bdf6f,_0x2d7a12);},'ovocp':function(_0x344913,_0x4ea6df,_0x50b9d3){return _0x344913(_0x4ea6df,_0x50b9d3);},'WGdfi':function(_0x4022d0,_0x2097fb,_0x588a2){return _0x4022d0(_0x2097fb,_0x588a2);},'UtRIV':_0x6dda36(0x9f)},{isPlaywright:_0x36fee4,type:_0x53ac7a}=_0x4458e2[_0x6dda36(0x84)](detectDriverType,_0x2c7d99),_0x167e3b=_0x36fee4?_0xdfc586[_0x6dda36(0xcd)]:accessibilityHelper[_0x6dda36(0xbf)]()&&globals[_0x6dda36(0x8c)](_0x4458e2[_0x6dda36(0x96)]);if(!_0x167e3b)return logger[_0x6dda36(0x12d)](_0x6dda36(0xbc)+_0x53ac7a+_0x6dda36(0x12b)),{};let _0x1f1746=null;for(let _0x491b66=0x1;_0x4458e2[_0x6dda36(0x115)](_0x491b66,_0x4458e2[_0x6dda36(0xb2)](RETRY_CONFIG['maxRetries'],0x1));_0x491b66++){try{logger[_0x6dda36(0xcf)]('Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20'+_0x491b66+'/'+_0x4458e2[_0x6dda36(0x117)](RETRY_CONFIG[_0x6dda36(0x120)],0x1)+'\x20('+_0x53ac7a+')');let _0x360ad3;return _0x4458e2[_0x6dda36(0xe4)](_0x36fee4,playwrightA11yHelper)?(_0x4458e2['yALBh'](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x6dda36(0x11f)](_0x2c7d99,RETRY_CONFIG['timeoutMs']),_0x360ad3=await _0x4458e2['ovocp'](withTimeout,playwrightA11yHelper[_0x6dda36(0x12f)](_0x2c7d99),RETRY_CONFIG[_0x6dda36(0xb3)]),await exports[_0x6dda36(0x11f)](_0x2c7d99,RETRY_CONFIG['defaultTimeoutMs'])):(await exports[_0x6dda36(0x69)](_0x2c7d99,RETRY_CONFIG[_0x6dda36(0xb3)]),_0x360ad3=await _0x4458e2[_0x6dda36(0x10a)](withTimeout,accessibilityHelper['getAccessibilityResultsSummary'](_0x2c7d99,_0xdfc586),RETRY_CONFIG[_0x6dda36(0xb3)]),await exports[_0x6dda36(0x69)](_0x2c7d99,RETRY_CONFIG[_0x6dda36(0x67)])),logger['info'](_0x6dda36(0x11a)+_0x491b66+'\x20('+_0x53ac7a+')'),_0x360ad3;}catch(_0x12e4c2){_0x1f1746=_0x12e4c2,logger[_0x6dda36(0x12d)]('Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20'+_0x491b66+'\x20failed\x20('+_0x53ac7a+_0x6dda36(0x92)+_0x12e4c2[_0x6dda36(0xda)]);}}return logger[_0x6dda36(0xe5)](_0x6dda36(0x106)+_0x53ac7a+_0x6dda36(0xad)+(_0x1f1746?.[_0x6dda36(0xda)]||_0x4458e2['UtRIV'])),{};},exports[a106_0x27eab2(0x95)]=async(_0x4c933e,_0x50e84c,_0x11b60a=null)=>{const _0x40a739=a106_0x27eab2,_0x3c3224={'EQRsW':function(_0x227e1d,_0x10991b){return _0x227e1d(_0x10991b);},'PnIMa':function(_0x43f76b,_0x1dd77d){return _0x43f76b===_0x1dd77d;},'OrFjX':_0x40a739(0x82),'tZEiL':function(_0x5d76d6,_0xed5706){return _0x5d76d6===_0xed5706;},'VZgVy':_0x40a739(0xbd),'tuYcQ':function(_0x353fc9,_0x37e621){return _0x353fc9===_0x37e621;},'OOpNR':_0x40a739(0x87)},{isPlaywright:_0x435b0e,type:_0x1f3487}=_0x3c3224[_0x40a739(0xa1)](detectDriverType,_0x4c933e),_0x132373={};_0x132373[_0x40a739(0x12c)]=![],_0x132373[_0x40a739(0xb0)]=[],_0x132373['summary']={},_0x132373[_0x40a739(0xe5)]=null,_0x132373[_0x40a739(0x66)]=_0x1f3487;const _0x15248d=_0x132373;try{_0x15248d[_0x40a739(0x12c)]=await exports[_0x40a739(0x112)](_0x4c933e,_0x11b60a);if(_0x15248d[_0x40a739(0x12c)]){const [_0x1e8102,_0x4a125a]=await Promise[_0x40a739(0x107)]([exports['getAccessibilityResultsWithRetry'](_0x4c933e,_0x50e84c),exports['getAccessibilityResultsSummaryWithRetry'](_0x4c933e,_0x50e84c)]);_0x15248d[_0x40a739(0xb0)]=_0x3c3224[_0x40a739(0x129)](_0x1e8102[_0x40a739(0x104)],_0x3c3224[_0x40a739(0x7d)])?_0x1e8102[_0x40a739(0x77)]:[],_0x15248d[_0x40a739(0xd9)]=_0x3c3224['tZEiL'](_0x4a125a[_0x40a739(0x104)],_0x3c3224[_0x40a739(0x7d)])?_0x4a125a[_0x40a739(0x77)]:{},_0x3c3224[_0x40a739(0x129)](_0x1e8102['status'],_0x3c3224[_0x40a739(0xde)])&&logger[_0x40a739(0x12d)](_0x40a739(0x70)+_0x1f3487+_0x40a739(0x9b)+_0x1e8102[_0x40a739(0x10b)]?.[_0x40a739(0xda)]),_0x3c3224['tuYcQ'](_0x4a125a[_0x40a739(0x104)],_0x3c3224['VZgVy'])&&logger['warn'](_0x40a739(0x72)+_0x1f3487+'):\x20'+_0x4a125a[_0x40a739(0x10b)]?.[_0x40a739(0xda)]);}}catch(_0xb4463){_0x15248d[_0x40a739(0xe5)]=_0xb4463[_0x40a739(0xda)]||_0x3c3224[_0x40a739(0x108)],logger[_0x40a739(0xe5)](_0x40a739(0xef)+_0x1f3487+_0x40a739(0x9b)+_0x15248d[_0x40a739(0xe5)]);}return _0x15248d;},exports[a106_0x27eab2(0x71)]=_0x2075a5=>{const _0xa9c917=a106_0x27eab2,_0x31779b={};_0x31779b['zEAOq']=function(_0x462c8a,_0x2f1aa5){return _0x462c8a!==_0x2f1aa5;},_0x31779b['sMXwl']=function(_0x2a7d09,_0x6d1fa2){return _0x2a7d09!==_0x6d1fa2;};const _0x38af15=_0x31779b;_0x38af15[_0xa9c917(0xff)](_0x2075a5[_0xa9c917(0x120)],undefined)&&(RETRY_CONFIG[_0xa9c917(0x120)]=Math['max'](0x0,_0x2075a5['maxRetries'])),_0x38af15[_0xa9c917(0xa7)](_0x2075a5[_0xa9c917(0xb3)],undefined)&&(RETRY_CONFIG[_0xa9c917(0xb3)]=Math[_0xa9c917(0xd3)](0x3e8,_0x2075a5['timeoutMs'])),logger[_0xa9c917(0xcf)](_0xa9c917(0xb9)+JSON[_0xa9c917(0xb4)](RETRY_CONFIG));},exports[a106_0x27eab2(0x86)]=()=>{const _0x520ca7={...RETRY_CONFIG};return _0x520ca7;},exports[a106_0x27eab2(0xb1)]=_0x490485=>{const _0x8afdcf=a106_0x27eab2,_0x2cf7ac={'BnQZh':function(_0x31329f,_0x3c5f3f){return _0x31329f(_0x3c5f3f);}};return _0x2cf7ac[_0x8afdcf(0xed)](detectDriverType,_0x490485)[_0x8afdcf(0xc3)];},exports[a106_0x27eab2(0x88)]=_0x5dfd09=>{const _0x3b0e9b=a106_0x27eab2,_0x1ff953={'uJMYB':function(_0x23739a,_0x5b4002){return _0x23739a(_0x5b4002);},'sJKkB':function(_0x3f3847,_0x1c80f7){return _0x3f3847===_0x1c80f7;},'OpIAN':_0x3b0e9b(0x126)},{isPlaywright:_0x3db1f0,type:_0x20ca83}=_0x1ff953['uJMYB'](detectDriverType,_0x5dfd09);return!_0x3db1f0&&_0x1ff953[_0x3b0e9b(0x128)](_0x20ca83,_0x1ff953['OpIAN']);},exports[a106_0x27eab2(0x11f)]=async(_0x31043e,_0x2aef9e=null)=>{const _0x5ebcb5=a106_0x27eab2,_0x4aace7={'THYsp':function(_0x29896d,_0x26ef4d){return _0x29896d(_0x26ef4d);},'eFZSP':function(_0x5a9908,_0x2c2396){return _0x5a9908===_0x2c2396;},'ckzMf':_0x5ebcb5(0x85)},{isPlaywright:_0x565eb2,type:_0x52dda5}=_0x4aace7['THYsp'](detectDriverType,_0x31043e);if(!_0x565eb2)return logger['debug'](_0x5ebcb5(0xa4)+_0x52dda5+_0x5ebcb5(0xf1)),!![];const _0x94f98=_0x2aef9e||RETRY_CONFIG[_0x5ebcb5(0x67)];try{return _0x31043e&&_0x4aace7[_0x5ebcb5(0x99)](typeof _0x31043e[_0x5ebcb5(0x111)],_0x4aace7['ckzMf'])&&(await _0x31043e[_0x5ebcb5(0x111)](_0x94f98),logger['debug'](_0x5ebcb5(0xea)+_0x94f98+'ms')),!![];}catch(_0x5d122c){return logger[_0x5ebcb5(0x12d)]('Failed\x20to\x20set\x20Playwright\x20script\x20timeout:\x20'+_0x5d122c['message']),![];}},exports[a106_0x27eab2(0x69)]=async(_0x4267a,_0x43612e=null)=>{const _0x16a807=a106_0x27eab2,_0x5f1a16={};_0x5f1a16['LfyUq']='Cannot\x20set\x20script\x20timeout:\x20not\x20a\x20Selenium\x20WebDriver',_0x5f1a16['hGrKc']=function(_0x15cf4a,_0x28a364){return _0x15cf4a===_0x28a364;},_0x5f1a16[_0x16a807(0x124)]=_0x16a807(0x85),_0x5f1a16['uhmSr']=function(_0x325a65,_0x2b629d){return _0x325a65===_0x2b629d;},_0x5f1a16[_0x16a807(0xd4)]=function(_0x2ef09e,_0x494860){return _0x2ef09e===_0x494860;},_0x5f1a16[_0x16a807(0x122)]=_0x16a807(0xd5),_0x5f1a16[_0x16a807(0xc1)]=_0x16a807(0x119);const _0x455330=_0x5f1a16;if(!exports[_0x16a807(0x88)](_0x4267a))return logger[_0x16a807(0x12d)](_0x455330[_0x16a807(0x105)]),![];const _0x2bbe0d=_0x43612e||RETRY_CONFIG['defaultTimeoutMs'];try{if(_0x4267a&&_0x455330['hGrKc'](typeof _0x4267a[_0x16a807(0xd8)],_0x455330['HxEjH'])){const _0x3422f6=_0x4267a['manage']();if(_0x3422f6&&_0x455330[_0x16a807(0xc9)](typeof _0x3422f6[_0x16a807(0x101)],_0x455330[_0x16a807(0x124)]))await _0x3422f6['timeouts']()[_0x16a807(0x83)](_0x2bbe0d),logger[_0x16a807(0xcf)](_0x16a807(0x9c)+_0x2bbe0d+'ms\x20using\x20timeouts()\x20API');else{if(_0x3422f6&&_0x455330['uhmSr'](typeof _0x3422f6[_0x16a807(0xae)],_0x455330['HxEjH'])){const _0x3e8347={};_0x3e8347['script']=_0x2bbe0d,await _0x3422f6[_0x16a807(0xae)](_0x3e8347),logger[_0x16a807(0xcf)](_0x16a807(0x9c)+_0x2bbe0d+'ms\x20using\x20setTimeouts\x20API');}else{if(_0x3422f6&&_0x455330['HzHEp'](typeof _0x3422f6[_0x16a807(0x83)],_0x455330[_0x16a807(0x124)]))await _0x3422f6[_0x16a807(0x83)](_0x2bbe0d),logger[_0x16a807(0xcf)](_0x16a807(0x9c)+_0x2bbe0d+_0x16a807(0x8d));else return logger[_0x16a807(0xcf)](_0x455330[_0x16a807(0x122)]),!![];}}}else return logger['debug'](_0x455330['rUKUI']),!![];return!![];}catch(_0x3e91e6){return logger['warn']('Failed\x20to\x20set\x20Selenium\x20script\x20timeout:\x20'+_0x3e91e6[_0x16a807(0xda)]),![];}},exports['saveAccessibilityResultsWithRetry']=async(_0x44268f,_0x2eb706)=>{const _0xa6531d=a106_0x27eab2,_0xc84247={'GBIxT':function(_0x397e68,_0x5a2670){return _0x397e68(_0x5a2670);},'tvWFP':'isAccessibilityPlatform','pUEZt':function(_0x5f0d9b,_0x26827c){return _0x5f0d9b<=_0x26827c;},'DoDaj':function(_0x46fcb2,_0x51c05c){return _0x46fcb2+_0x51c05c;},'lTkOP':function(_0x427cb8,_0xff709e){return _0x427cb8+_0xff709e;},'tHJPX':function(_0x3cd873,_0x3b3592){return _0x3cd873&&_0x3b3592;},'eIygt':function(_0x313f8f,_0xd23f89,_0x5a8bcb){return _0x313f8f(_0xd23f89,_0x5a8bcb);},'DoOdQ':function(_0x4fbbca,_0x75ec30,_0x5b9bd3){return _0x4fbbca(_0x75ec30,_0x5b9bd3);},'LZGAz':_0xa6531d(0x7f),'KrHdH':_0xa6531d(0x9f)},{isPlaywright:_0x3636f8,type:_0x23a41e}=_0xc84247[_0xa6531d(0x123)](detectDriverType,_0x44268f),_0x3ebd68=_0x3636f8?global[_0xa6531d(0xcd)]:accessibilityHelper[_0xa6531d(0xbf)]()&&globals[_0xa6531d(0x8c)](_0xc84247[_0xa6531d(0x118)]);if(!_0x3ebd68)return logger['warn'](_0xa6531d(0xbc)+_0x23a41e+_0xa6531d(0xf0)),![];let _0x4f0643=null;for(let _0x4ef7d7=0x1;_0xc84247['pUEZt'](_0x4ef7d7,_0xc84247[_0xa6531d(0x127)](RETRY_CONFIG['maxRetries'],0x1));_0x4ef7d7++){try{logger[_0xa6531d(0xcf)](_0xa6531d(0xa9)+_0x4ef7d7+'/'+_0xc84247[_0xa6531d(0x121)](RETRY_CONFIG['maxRetries'],0x1)+'\x20('+_0x23a41e+')');if(_0xc84247[_0xa6531d(0xfb)](_0x3636f8,playwrightA11yHelper)){_0xc84247[_0xa6531d(0xaa)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0xa6531d(0x11f)](_0x44268f,RETRY_CONFIG[_0xa6531d(0xb3)]);const _0x4f6905={};_0x4f6905[_0xa6531d(0xec)]=!![];const _0x466450=global[_0xa6531d(0x7f)]?Object[_0xa6531d(0xeb)]({},_0x2eb706,_0x4f6905):_0x2eb706;await _0xc84247[_0xa6531d(0x74)](withTimeout,playwrightA11yHelper[_0xa6531d(0xe3)](_0x44268f,scripts[_0xa6531d(0x125)],_0x466450),RETRY_CONFIG['timeoutMs']),await exports[_0xa6531d(0x11f)](_0x44268f,RETRY_CONFIG[_0xa6531d(0x67)]);}else{await exports[_0xa6531d(0x69)](_0x44268f,RETRY_CONFIG['timeoutMs']);const _0x1ad6c4={};_0x1ad6c4[_0xa6531d(0xec)]=!![];const _0x39a45d=globals[_0xa6531d(0x8c)](_0xc84247['LZGAz'])?Object['assign']({},_0x2eb706,_0x1ad6c4):_0x2eb706;await _0xc84247['DoOdQ'](withTimeout,_0x44268f[_0xa6531d(0x7b)](scripts[_0xa6531d(0x125)],_0x39a45d),RETRY_CONFIG[_0xa6531d(0xb3)]),await exports[_0xa6531d(0x69)](_0x44268f,RETRY_CONFIG[_0xa6531d(0x67)]);}return logger[_0xa6531d(0xe7)]('Accessibility\x20results\x20saved\x20successfully\x20on\x20attempt\x20'+_0x4ef7d7+'\x20('+_0x23a41e+')'),!![];}catch(_0x1bca05){_0x4f0643=_0x1bca05,logger[_0xa6531d(0x12d)](_0xa6531d(0xa9)+_0x4ef7d7+_0xa6531d(0xfc)+_0x23a41e+').\x20Error:\x20'+_0x1bca05[_0xa6531d(0xda)]);}}return logger['error']('All\x20accessibility\x20results\x20save\x20attempts\x20failed\x20('+_0x23a41e+_0xa6531d(0xad)+(_0x4f0643?.[_0xa6531d(0xda)]||_0xc84247[_0xa6531d(0x6f)])),![];};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a107_0x48cc(){var _0x337e07=['requires_chrome_options_check','min_version_browserstack','2221875MFpwIe','MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY','9786436IXsLWk','ChromeForTesting','9322660nZSMLO','339717HhurJj','MINIMUM_CHROMEFORTESTING_VERSION','335332LetMvb','18.4','141','9uuHTJM','https://accessibility.browserstack.com/api','15vOTPFM','chrome','min_version_non_browserstack','chromium','2tiTjcR','54dHvIuZ','40521hbtSmU','API_URL','MINIMUM_BROWSER_VERSION_ACCESSIBILITY','100','MINIMUM_SAFARI_VERSION','Chrome','display_name','chromefortesting','7876688CXiqXq'];a107_0x48cc=function(){return _0x337e07;};return a107_0x48cc();}var a107_0x3533d8=a107_0x4730;(function(_0x341958,_0x77c80a){var _0x5d9d63=a107_0x4730,_0x4f5165=_0x341958();while(!![]){try{var _0x5f59bf=-parseInt(_0x5d9d63(0x1ca))/0x1*(-parseInt(_0x5d9d63(0x1c8))/0x2)+parseInt(_0x5d9d63(0x1c4))/0x3*(parseInt(_0x5d9d63(0x1bf))/0x4)+-parseInt(_0x5d9d63(0x1b8))/0x5+-parseInt(_0x5d9d63(0x1c9))/0x6*(parseInt(_0x5d9d63(0x1bd))/0x7)+parseInt(_0x5d9d63(0x1b5))/0x8*(parseInt(_0x5d9d63(0x1c2))/0x9)+-parseInt(_0x5d9d63(0x1bc))/0xa+parseInt(_0x5d9d63(0x1ba))/0xb;if(_0x5f59bf===_0x77c80a)break;else _0x4f5165['push'](_0x4f5165['shift']());}catch(_0x32fb97){_0x4f5165['push'](_0x4f5165['shift']());}}}(a107_0x48cc,0x7f150),exports[a107_0x3533d8(0x1cb)]=a107_0x3533d8(0x1c3),exports[a107_0x3533d8(0x1cc)]='94',exports[a107_0x3533d8(0x1b9)]=a107_0x3533d8(0x1cd),exports[a107_0x3533d8(0x1be)]=a107_0x3533d8(0x1c1),exports[a107_0x3533d8(0x1ce)]=a107_0x3533d8(0x1c0));var a107_0x4f9274={};a107_0x4f9274[a107_0x3533d8(0x1d0)]=a107_0x3533d8(0x1cf),a107_0x4f9274['min_version_browserstack']=0x5e,a107_0x4f9274['min_version_non_browserstack']=0x64,a107_0x4f9274['requires_chrome_options_check']=!![];function a107_0x4730(_0x44e1d6,_0x189d64){var _0x48ccc3=a107_0x48cc();return a107_0x4730=function(_0x473083,_0x17c13f){_0x473083=_0x473083-0x1b4;var _0x386f46=_0x48ccc3[_0x473083];return _0x386f46;},a107_0x4730(_0x44e1d6,_0x189d64);}var a107_0x5c15ed={};a107_0x5c15ed['display_name']=a107_0x3533d8(0x1cf),a107_0x5c15ed[a107_0x3533d8(0x1b7)]=0x5e,a107_0x5c15ed[a107_0x3533d8(0x1c6)]=0x64,a107_0x5c15ed[a107_0x3533d8(0x1b6)]=!![];var a107_0x5cb365={};a107_0x5cb365[a107_0x3533d8(0x1d0)]='Chrome',a107_0x5cb365['min_version_browserstack']=0x5e,a107_0x5cb365['min_version_non_browserstack']=0x64,a107_0x5cb365[a107_0x3533d8(0x1b6)]=!![];var a107_0x34ff00={};a107_0x34ff00[a107_0x3533d8(0x1d0)]=a107_0x3533d8(0x1bb),a107_0x34ff00[a107_0x3533d8(0x1b7)]=0x8d,a107_0x34ff00[a107_0x3533d8(0x1c6)]=0x8d,a107_0x34ff00['requires_chrome_options_check']=!![];var a107_0x5a546d={};a107_0x5a546d['display_name']='Safari',a107_0x5a546d[a107_0x3533d8(0x1b7)]=18.4,a107_0x5a546d['min_version_non_browserstack']=18.4,a107_0x5a546d[a107_0x3533d8(0x1b6)]=![];var a107_0x4bd24b={};a107_0x4bd24b[a107_0x3533d8(0x1c5)]=a107_0x4f9274,a107_0x4bd24b[a107_0x3533d8(0x1c7)]=a107_0x5c15ed,a107_0x4bd24b['playwright-chromium']=a107_0x5cb365,a107_0x4bd24b[a107_0x3533d8(0x1b4)]=a107_0x34ff00,a107_0x4bd24b['safari']=a107_0x5a546d,exports['ACCESSIBILITY_SUPPORTED_BROWSERS']=a107_0x4bd24b;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a108_0x48cf73=a108_0x527c;(function(_0x18acde,_0x1a8fea){const _0x8f8546=a108_0x527c,_0xaabaa2=_0x18acde();while(!![]){try{const _0x21f6aa=-parseInt(_0x8f8546(0x20b))/0x1*(-parseInt(_0x8f8546(0x1db))/0x2)+-parseInt(_0x8f8546(0x1cd))/0x3+-parseInt(_0x8f8546(0x232))/0x4*(parseInt(_0x8f8546(0x248))/0x5)+parseInt(_0x8f8546(0x1f6))/0x6+parseInt(_0x8f8546(0x1fd))/0x7*(parseInt(_0x8f8546(0x26c))/0x8)+-parseInt(_0x8f8546(0x1dd))/0x9*(parseInt(_0x8f8546(0x24f))/0xa)+parseInt(_0x8f8546(0x230))/0xb;if(_0x21f6aa===_0x1a8fea)break;else _0xaabaa2['push'](_0xaabaa2['shift']());}catch(_0xfca97b){_0xaabaa2['push'](_0xaabaa2['shift']());}}}(a108_0x2b37,0xe2a27));function a108_0x527c(_0x4facef,_0x1f9d26){const _0x2b3797=a108_0x2b37();return a108_0x527c=function(_0x527cba,_0x547fc3){_0x527cba=_0x527cba-0x1b8;let _0x1aeac5=_0x2b3797[_0x527cba];return _0x1aeac5;},a108_0x527c(_0x4facef,_0x1f9d26);}const path=require(a108_0x48cf73(0x1e6)),util=require('util'),bsSetupHelper=require(a108_0x48cf73(0x237)),logger=require('../logger')['winstonLogger'],{API_URL,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY,ACCESSIBILITY_SUPPORTED_BROWSERS}=require(a108_0x48cf73(0x21a)),PerformanceTester=require(a108_0x48cf73(0x2b7)),scripts=require(a108_0x48cf73(0x200)),globals=require('../globals'),{A11Y_EVENTS:PerformanceA11yEvents}=require(a108_0x48cf73(0x1d9));function a108_0x2b37(){const _0x37fce0=['Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token','No\x20accessibility\x20summary\x20was\x20found.','currentTest','createAccessibilityTestRun','URWsc','nodeRequest','Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20','5060580qeBTKE','zqMiL','startsWith','getPlatformVersion','debug','tiJJd','xcNUL','BS_A11Y_JWT','user','v2/test_runs','true','POST','../performance/constants','SIQry','70rBBwIF','projectName','6425829FJEClS','isMobileAccessibilityPlatform','Not\x20a\x20Accessibility\x20Session','env','isAccessibilityPlatform','success','pBisQ','statusText','KDGnk','path','getBrowserDisplayName','measureWrapper','No\x20accessibility\x20results\x20were\x20found.','get','stringify','min_version_non_browserstack','getAgentVersion','getCapabilities','Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20','[Accessibility]\x20Mobile\x20scan\x20requested\x20but\x20thTestRunUuid\x20not\x20resolvable:\x20','eyCxG','message','errors','bstack:options','parse','2210082HtrlxO','mjYwc','parseFromJson','nestedKeyValue','getMobileA11yCapabilities','performScan:\x20Mobile\x20capabilities\x20added\x20to\x20scan\x20arguments','isVersionSupported','5035856qhEjaz','status','RbCja','./scripts','isBrowserStackCommandExecutor','join','GET_RESULTS_SUMMARY','ypqpz','RGAAM','ryYoZ','getBrowserA11yConfig','toISOString','IahJJ','sOWHJ','50129rpBtgn','excludeTagsInTestingScope','a11y:start','pass','display_name','qiicE','BHZnG','lQlxn','UTftG','thTestRunUuid','getAccessKey','EGFOM','scannerVersion','capabilities_','shouldScanTestForAccessibility','./constants','browserName','bDqND','global.__workerDetails\x20is\x20undefined\x20—\x20no\x20test-framework\x20setup\x20hook\x20has\x20initialized\x20it\x20yet.\x20A\x20scan\x20is\x20likely\x20firing\x20before\x20the\x20test\x20started\x20(e.g.\x20from\x20a\x20before/beforeAll\x20hook\x20or\x20from\x20plain\x20Selenium\x20with\x20no\x20test\x20framework).','nPuep','getBrowserVersion','min_version_browserstack','RhmvX','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','application/json','getBrowserName','checkAccessibilityPlatformConfig','getGlobal','QtFvZ','Bearer\x20','QesAk','return\x20document.readyState\x20===\x20\x22complete\x22','requires_chrome_options_check','isTrue','executeScript','zJaDc','LEZXI','22359546BurLKK','function','1516mvdbhp','--headless=new','GOBNG','script','xIloW','../helper','browserstack_executor','global.__workerDetails.currentTest\x20exists\x20with\x20keys\x20[','bvYwI','poVkq','requireModule','qCGTf','stopAccessibilityTestRun','bkNHn','aNqCX','device','bstackA11yShouldScan','Build\x20creation\x20had\x20failed.','Error\x20checking\x20if\x20mobile\x20accessibility\x20platform:\x20','yxPQq','ImQqs','error','20465XOHMtx','selenium-webdriver','headers','KfQVV','Content-Type','compareVersions','idMAQ','20TlCtzO','Oieul','wait','format','woDus','OjeGi','map','NzPjW','tYkqv','isUndefined','getHostInfo','\x20The\x20on-device\x20scan\x20will\x20POST\x20to\x20/api/test_cases/save_intermediate_results\x20with\x20an\x20empty\x20th_test_run_uuid\x20and\x20fail\x20validation\x20(HTTP\x20422).\x20Fix\x20the\x20framework\x20setup\x20hook\x20that\x20should\x20pre-populate\x20global.__workerDetails.currentTest.thTestRunUuid.','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','base64','MOBILE_SCANNING_DISABLED_WARNING','BROWSERSTACK_TURBOSCALE','BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP','rbIdT','.\x20The\x20framework\x20setup\x20hook\x20is\x20not\x20writing\x20thTestRunUuid\x20onto\x20currentTest.','warn','data','ApHJB','null','buildName','false','resolveMobileThTestRunUuid','assign','VHoul','XnuDe','16AlfrTX','Invalid\x20configuration\x20passed.','FgXmF','Error\x20checking\x20mobile\x20accessibility\x20session:\x20','nqgMA','Performing\x20scan\x20before\x20getting\x20results\x20summary','split','chrome','playwright','LTPRl','executeAsyncScript','nYgvM','PERFORM_SCAN','requiresChromeOptionsValidation','getAccessibilityResultsSummary:\x20Mobile\x20session\x20detected,\x20args:\x20','LhfKX','version','Mobile\x20Accessibility\x20Automation\x20is\x20not\x20enabled\x20for\x20your\x20account.\x20Accessibility\x20scans\x20will\x20be\x20skipped\x20on\x20mobile\x20sessions.\x20Contact\x20BrowserStack\x20to\x20enable\x20mobile\x20accessibility\x20scanning.','nonBstackPlatformValidation','global.__workerDetails\x20exists\x20but\x20.currentTest\x20is\x20undefined\x20—\x20scan\x20fired\x20outside\x20a\x20test\x20body\x20(before/beforeAll\x20hook,\x20or\x20between\x20tests).','mergeDeep','hAWrB','trim','json','Mobile\x20Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser.','ZmIiX','getGitMetaData','oaMkY','isMobileAccessibilitySession','selenium-webdriver/chrome.js','getTestFrameworkDetails','is_mobile_session','a11y:stop','browserstackSessionName','gYrrS','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','fQaDX','NTBvc','Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20','getResults','--headless','oxoBl','getMinVersionForBrowser','BROWSERSTACK_TEST_ACCESSIBILITY_YML','Performed\x20scan\x20with\x20result:\x20','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20','includeTagsInTestingScope','lURpM','fVqMC','getCiInfo','SXWGb','Performing\x20scan\x20before\x20getting\x20results','jZZkf','vbDNj','getAccessibilityResults','getAccessibilityResultsSummary','options_','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','culjI','isArray','browserstack','android','auth','HHVFa','odwTZ','kSraW','platforms','bhfsw','--headless=','string','resolve','AGtjZ','KxvXl','eexOk','ZrtKX','../performance/performance-tester','response','[Accessibility]\x20Selenium\x20performScan\x20payload:\x20','fetchPlatformDetails','DXgEK','chromeOptions','GdzYU','toLowerCase','enhBO','FlPok','aFOCk','Lcbmm','stack','accessibility','CfZbS','zMvlN','Invalid\x20request:\x20','goog:chromeOptions','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','performScan','setNonBstackInfraCapabilities','some','length','includes','cwd','getAccessibilityResults:\x20Mobile\x20session\x20detected,\x20args:\x20','method','annyk','qqzPT','forEach','isAccessibilityAutomationSession','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20','info','isBrowserstackInfra','body',']\x20but\x20thTestRunUuid\x20is\x20','PUT','chromeOptions_'];a108_0x2b37=function(){return _0x37fce0;};return a108_0x2b37();}exports[a108_0x48cf73(0x2ba)]=async _0x409801=>{const _0x5091bb=a108_0x48cf73,_0x4bf175={};_0x4bf175[_0x5091bb(0x236)]=function(_0x20dc12,_0x5e670e){return _0x20dc12===_0x5e670e;},_0x4bf175[_0x5091bb(0x2c2)]=_0x5091bb(0x2a8);const _0x5ee176=_0x4bf175;let _0x485627={};try{const _0x1443db=await _0x409801['getCapabilities']();_0x485627={'os_name':_0x1443db['getPlatform'](),'os_version':bsSetupHelper[_0x5091bb(0x1d0)](_0x5ee176[_0x5091bb(0x236)](global['__cloud_provider___'],_0x5ee176[_0x5091bb(0x2c2)])),'browser_name':_0x1443db[_0x5091bb(0x224)](),'browser_version':_0x1443db[_0x5091bb(0x21f)]()};}catch(_0x1993e6){logger[_0x5091bb(0x1d1)]('Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20'+_0x1993e6);}return _0x485627;},exports['isAccessibilityAutomationSession']=()=>{const _0x18cf74=a108_0x48cf73,_0x3133fe={};_0x3133fe['RTxoj']=function(_0x21530d,_0x2f2e6f){return _0x21530d===_0x2f2e6f;},_0x3133fe[_0x18cf74(0x257)]='string',_0x3133fe[_0x18cf74(0x229)]=function(_0x35c664,_0x390790){return _0x35c664>_0x390790;},_0x3133fe['LJvZl']=function(_0x5f41ef,_0x5db3a3){return _0x5f41ef!==_0x5db3a3;},_0x3133fe[_0x18cf74(0x21e)]=_0x18cf74(0x265),_0x3133fe[_0x18cf74(0x2c1)]=function(_0x58d78b,_0x3ec0d0){return _0x58d78b&&_0x3ec0d0;};const _0x3727be=_0x3133fe;try{const _0x206553=bsSetupHelper['isTrue'](process[_0x18cf74(0x1e0)][_0x18cf74(0x297)])||bsSetupHelper[_0x18cf74(0x22c)](process['env'][_0x18cf74(0x222)]),_0x30da39=_0x3727be['RTxoj'](typeof process[_0x18cf74(0x1e0)][_0x18cf74(0x1d4)],_0x3727be[_0x18cf74(0x257)])&&_0x3727be['QesAk'](process[_0x18cf74(0x1e0)][_0x18cf74(0x1d4)][_0x18cf74(0x2cd)],0x0)&&_0x3727be['LJvZl'](process[_0x18cf74(0x1e0)][_0x18cf74(0x1d4)],_0x3727be[_0x18cf74(0x21e)]);return _0x3727be[_0x18cf74(0x2c1)](_0x206553,_0x30da39);}catch(_0x23230d){logger['debug']('Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20'+_0x23230d);}return![];},exports[a108_0x48cf73(0x27e)]=(_0x3b2a92,_0x2741ff)=>{const _0x892561=a108_0x48cf73,_0x527716={'ypqpz':_0x892561(0x21b),'sOWHJ':function(_0x2c1c0d,_0xdc8eb3){return _0x2c1c0d(_0xdc8eb3);},'LTPRl':'browserVersion','NgmJs':_0x892561(0x27c),'jZZkf':_0x892561(0x1f4),'annyk':'deviceName','mjYwc':_0x892561(0x241),'RhmvX':_0x892561(0x2c9),'rbIdT':_0x892561(0x289),'Kjefa':_0x892561(0x249),'QjFnE':_0x892561(0x2a4),'odwTZ':'args','Oieul':_0x892561(0x2bc),'oxoBl':'Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','pBisQ':_0x892561(0x2c8),'qqzPT':function(_0x29bbc4,_0x3ca73e){return _0x29bbc4===_0x3ca73e;},'nqgMA':_0x892561(0x273),'YVHBC':function(_0xd3103a,_0x3ae144){return _0xd3103a>=_0x3ae144;}},_0x430381=_0x3b2a92[_0x892561(0x1ea)](_0x527716[_0x892561(0x204)]),_0x308499=_0x527716['sOWHJ'](parseFloat,_0x3b2a92[_0x892561(0x1ea)](_0x527716[_0x892561(0x275)]))||_0x527716['sOWHJ'](parseFloat,_0x3b2a92[_0x892561(0x1ea)](_0x527716['NgmJs'])),_0xb2f5e8=_0x3b2a92[_0x892561(0x1ea)](_0x527716[_0x892561(0x2a0)])||{},_0x5d43e4=_0x527716[_0x892561(0x20a)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY),_0x518b3a=_0xb2f5e8[_0x527716[_0x892561(0x1bb)]]||_0x3b2a92[_0x892561(0x1ea)](_0x527716[_0x892561(0x1f7)])||![];if(_0x518b3a)return logger[_0x892561(0x262)](_0x527716[_0x892561(0x221)]),![];let _0x42dd26;try{_0x42dd26=bsSetupHelper[_0x892561(0x23c)](_0x527716[_0x892561(0x260)],_0x527716['Kjefa']);}catch(_0x1b839d){return![];}const _0x439836=new _0x42dd26['Options'](_0x2741ff[_0x892561(0x1c5)]),_0x58a733=bsSetupHelper[_0x892561(0x1f9)](_0x439836,[_0x527716['QjFnE'],_0x527716[_0x892561(0x2ac)]])||bsSetupHelper[_0x892561(0x1f9)](_0x2741ff[_0x892561(0x218)],[_0x527716[_0x892561(0x2a0)],_0x527716[_0x892561(0x250)],_0x527716[_0x892561(0x2ac)]])||bsSetupHelper[_0x892561(0x1f9)](_0x2741ff[_0x892561(0x218)],[_0x527716[_0x892561(0x250)],_0x527716[_0x892561(0x2ac)]])||[],_0x303258=Array[_0x892561(0x2a7)](_0x58a733)?_0x58a733:[];if(_0x303258[_0x892561(0x2cc)](_0xe81c46=>typeof _0xe81c46===_0x892561(0x2b1)&&(_0xe81c46===_0x892561(0x294)||_0xe81c46[_0x892561(0x1cf)]('--headless=')&&_0xe81c46!==_0x892561(0x233))))return logger[_0x892561(0x262)](_0x527716[_0x892561(0x295)]),![];const _0x4c9f59=_0x2741ff[_0x892561(0x218)]||{},_0x304b80=bsSetupHelper[_0x892561(0x1f9)](_0x4c9f59,[_0x527716[_0x892561(0x1e3)]])||{},_0x4985d5=bsSetupHelper[_0x892561(0x1f9)](_0x304b80,[_0x527716['odwTZ']])||[],_0x200c5c=Array[_0x892561(0x2a7)](_0x4985d5)?_0x4985d5:[];if(_0x200c5c[_0x892561(0x2cc)](_0x4236a1=>typeof _0x4236a1===_0x892561(0x2b1)&&(_0x4236a1===_0x892561(0x294)||_0x4236a1[_0x892561(0x1cf)](_0x892561(0x2b0))&&_0x4236a1!==_0x892561(0x233))))return logger[_0x892561(0x262)](_0x527716[_0x892561(0x295)]),![];if(_0x527716[_0x892561(0x1bc)](_0x430381[_0x892561(0x2be)](),_0x527716[_0x892561(0x270)])&&_0x527716['YVHBC'](_0x308499,_0x5d43e4))return!![];return logger[_0x892561(0x262)](_0x892561(0x1bf)+MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY+'.'),![];},exports[a108_0x48cf73(0x2cb)]=_0x456940=>{const _0x1ab8dc=a108_0x48cf73,_0x3e749b={};_0x3e749b[_0x1ab8dc(0x256)]='goog:chromeOptions',_0x3e749b[_0x1ab8dc(0x29b)]=function(_0x54a40b,_0x5a2676){return _0x54a40b||_0x5a2676;},_0x3e749b[_0x1ab8dc(0x287)]=_0x1ab8dc(0x1df);const _0x17f642=_0x3e749b,_0x41d93d=scripts['ChromeExtension'];try{const _0x2bb975=bsSetupHelper[_0x1ab8dc(0x22c)](process[_0x1ab8dc(0x1e0)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'])||bsSetupHelper['isTrue'](process[_0x1ab8dc(0x1e0)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']);if((!bsSetupHelper[_0x1ab8dc(0x1c1)]()||process['env'][_0x1ab8dc(0x25e)])&&_0x2bb975){const _0x12182a=_0x456940[_0x1ab8dc(0x1ee)](),_0x1a3553=_0x12182a[_0x1ab8dc(0x1ea)](_0x17f642[_0x1ab8dc(0x256)]),_0x4f3bda=_0x17f642[_0x1ab8dc(0x29b)](_0x1a3553,{});bsSetupHelper[_0x1ab8dc(0x280)](_0x4f3bda,_0x41d93d),_0x456940[_0x1ab8dc(0x1ee)]()['set'](_0x17f642[_0x1ab8dc(0x256)],_0x4f3bda);}else logger[_0x1ab8dc(0x262)](_0x17f642[_0x1ab8dc(0x287)]);}catch(_0x2e6a9b){logger[_0x1ab8dc(0x247)]('Error\x20while\x20adding\x20Non-Bstack\x20capabilities:\x20'+_0x2e6a9b);}},exports[a108_0x48cf73(0x219)]=(_0x2b3362=null,_0x53c76b=!![],_0x14ab64=[])=>{const _0xb08991=a108_0x48cf73,_0x26b138={};_0x26b138[_0xb08991(0x29e)]=function(_0x134d29,_0x533190){return _0x134d29==_0x533190;},_0x26b138[_0xb08991(0x2ab)]=function(_0x21377d,_0x1eb6d5){return _0x21377d>_0x1eb6d5;},_0x26b138['lQlxn']=function(_0x4edec1,_0x84cb3){return _0x4edec1===_0x84cb3;},_0x26b138[_0xb08991(0x211)]=function(_0x302920,_0x729b7f){return _0x302920&&_0x729b7f;};const _0x7393e6=_0x26b138;if(_0x7393e6[_0xb08991(0x29e)](process['env'][_0xb08991(0x2a5)],null))return!![];try{const _0x1b8aeb=JSON['parse'](process[_0xb08991(0x1e0)][_0xb08991(0x2a5)]),_0x50c0e9=Array[_0xb08991(0x2a7)](_0x1b8aeb['includeTagsInTestingScope'])?_0x1b8aeb[_0xb08991(0x29a)]:[],_0x15c3c3=Array[_0xb08991(0x2a7)](_0x1b8aeb[_0xb08991(0x20c)])?_0x1b8aeb[_0xb08991(0x20c)]:[],_0x183b51=_0x4985e9=>typeof _0x4985e9===_0xb08991(0x2b1)?_0x4985e9['replace'](/^@/,'')['toLowerCase']()[_0xb08991(0x282)]():_0x4985e9;if(bsSetupHelper[_0xb08991(0x258)](_0x2b3362)){if(_0x7393e6[_0xb08991(0x2ab)](_0x14ab64[_0xb08991(0x2cd)],0x0)){const _0x1afbd4=_0x14ab64[_0xb08991(0x255)](_0x183b51),_0x36399b=_0x15c3c3[_0xb08991(0x2cc)](_0x1a792c=>_0x1afbd4['includes'](_0x183b51(_0x1a792c))),_0x4f47a0=_0x7393e6[_0xb08991(0x212)](_0x50c0e9['length'],0x0)||_0x50c0e9[_0xb08991(0x2cc)](_0x1dc15f=>_0x1afbd4['includes'](_0x183b51(_0x1dc15f)));return _0x7393e6[_0xb08991(0x211)](!_0x36399b,_0x4f47a0);}return!![];}let _0x13c384;_0x53c76b?_0x13c384=_0x2b3362[_0xb08991(0x202)]('/'):_0x13c384=_0x2b3362;const _0x20bc60=_0x15c3c3[_0xb08991(0x2cc)](_0x4f682f=>_0x13c384[_0xb08991(0x2be)]()[_0xb08991(0x2ce)](_0x183b51(_0x4f682f)['toLowerCase']())),_0x1dfa9a=_0x7393e6['lQlxn'](_0x50c0e9['length'],0x0)||_0x50c0e9['some'](_0x582346=>_0x13c384['toLowerCase']()['includes'](_0x183b51(_0x582346)['toLowerCase']()));return _0x7393e6[_0xb08991(0x211)](!_0x20bc60,_0x1dfa9a);}catch(_0x2f1192){logger[_0xb08991(0x1d1)](_0xb08991(0x292)+util[_0xb08991(0x252)](_0x2f1192));}return![];},exports[a108_0x48cf73(0x225)]=_0xdb1337=>{const _0x3e3e32=a108_0x48cf73;let _0x250f35=![];try{_0xdb1337[_0x3e3e32(0x2ae)][_0x3e3e32(0x1bd)](_0x1d90f2=>{const _0x483885=_0x3e3e32;if(bsSetupHelper['isTrue'](_0x1d90f2[_0x483885(0x2c4)]))return _0x250f35=!![],!![];});}catch(_0x185823){logger[_0x3e3e32(0x1d1)](_0x3e3e32(0x1ef)+_0x185823);}return _0x250f35||bsSetupHelper[_0x3e3e32(0x22c)](_0xdb1337[_0x3e3e32(0x2c4)]);},exports[a108_0x48cf73(0x1c9)]=PerformanceTester['measureWrapper'](a108_0x48cf73(0x20d),async function(_0x5bd1b5,_0x1f94c6){const _0x38c2e4=a108_0x48cf73,_0x304610={};_0x304610[_0x38c2e4(0x2ad)]=_0x38c2e4(0x1c6),_0x304610[_0x38c2e4(0x2b6)]=_0x38c2e4(0x274),_0x304610[_0x38c2e4(0x216)]='javascript',_0x304610[_0x38c2e4(0x2bb)]=_0x38c2e4(0x223),_0x304610[_0x38c2e4(0x206)]=_0x38c2e4(0x1d8),_0x304610[_0x38c2e4(0x1d2)]=_0x38c2e4(0x1d6),_0x304610[_0x38c2e4(0x2b5)]=function(_0x19d03f,_0x42ca1e){return _0x19d03f===_0x42ca1e;},_0x304610[_0x38c2e4(0x213)]=_0x38c2e4(0x26d),_0x304610[_0x38c2e4(0x22e)]=_0x38c2e4(0x267);const _0x4e5228=_0x304610,_0x4e117d=bsSetupHelper['getUserName'](_0x5bd1b5),_0x5deccd=bsSetupHelper[_0x38c2e4(0x215)](_0x5bd1b5);if(bsSetupHelper[_0x38c2e4(0x258)](_0x4e117d)||bsSetupHelper[_0x38c2e4(0x258)](_0x5deccd))return logger[_0x38c2e4(0x247)](_0x4e5228[_0x38c2e4(0x2ad)]),[null,null];try{let _0x1eb3a6;bsSetupHelper[_0x38c2e4(0x258)](process[_0x38c2e4(0x1e0)][_0x38c2e4(0x2a5)])?_0x1eb3a6={}:_0x1eb3a6=JSON[_0x38c2e4(0x1f5)](process[_0x38c2e4(0x1e0)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']);const {name:_0x2bc971,version:_0x1ad1f9}=bsSetupHelper[_0x38c2e4(0x28a)](_0x5bd1b5,_0x1f94c6),_0x1d3e17={'projectName':_0x5bd1b5[_0x38c2e4(0x1dc)],'buildName':_0x5bd1b5[_0x38c2e4(0x266)]||path['basename'](path[_0x38c2e4(0x2b2)](process[_0x38c2e4(0x1b8)]())),'startTime':new Date()[_0x38c2e4(0x208)](),'description':_0x5bd1b5['buildDescription']||'','source':{'frameworkName':_0x1f94c6['includes'](_0x4e5228[_0x38c2e4(0x2b6)])?_0x4e5228[_0x38c2e4(0x2b6)]:_0x1f94c6,'frameworkVersion':bsSetupHelper['getPackageVersion'](_0x1f94c6),'sdkVersion':bsSetupHelper[_0x38c2e4(0x1ed)](),'language':_0x4e5228[_0x38c2e4(0x216)],'testFramework':_0x2bc971,'testFrameworkVersion':_0x1ad1f9},'settings':_0x1eb3a6,'versionControl':await bsSetupHelper[_0x38c2e4(0x286)](),'ciInfo':bsSetupHelper[_0x38c2e4(0x29d)](),'hostInfo':bsSetupHelper[_0x38c2e4(0x259)](),'browserstackAutomation':bsSetupHelper[_0x38c2e4(0x1c1)]()},_0x393101={};_0x393101[_0x38c2e4(0x1d5)]=_0x4e117d,_0x393101[_0x38c2e4(0x20e)]=_0x5deccd;const _0x543dd0={};_0x543dd0['Content-Type']=_0x4e5228[_0x38c2e4(0x2bb)];const _0x318deb={};_0x318deb[_0x38c2e4(0x2aa)]=_0x393101,_0x318deb[_0x38c2e4(0x24a)]=_0x543dd0;const _0x1f28b8=_0x318deb,_0x1a34f2={};_0x1a34f2['body']=_0x1d3e17,_0x1a34f2[_0x38c2e4(0x283)]=!![];const _0x579a76=Object[_0x38c2e4(0x269)](_0x1f28b8,_0x1a34f2),_0x15f2f7=await bsSetupHelper[_0x38c2e4(0x1cb)](_0x4e5228[_0x38c2e4(0x206)],_0x4e5228[_0x38c2e4(0x1d2)],_0x579a76,_0x5bd1b5,API_URL);let _0x49e945=process[_0x38c2e4(0x1e0)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'];return _0x49e945?_0x49e945=JSON[_0x38c2e4(0x1f5)](process[_0x38c2e4(0x1e0)][_0x38c2e4(0x2a5)]):_0x49e945={},scripts[_0x38c2e4(0x1f8)](_0x15f2f7[_0x38c2e4(0x263)][_0x38c2e4(0x263)]),scripts['toJson'](),_0x49e945['scannerVersion']=_0x15f2f7[_0x38c2e4(0x263)][_0x38c2e4(0x263)][_0x38c2e4(0x217)],process[_0x38c2e4(0x1e0)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x38c2e4(0x1eb)](_0x49e945),[_0x15f2f7[_0x38c2e4(0x263)][_0x38c2e4(0x263)]['accessibilityToken'],_0x15f2f7[_0x38c2e4(0x263)][_0x38c2e4(0x263)]['id']];}catch(_0x402da1){if(_0x402da1[_0x38c2e4(0x2b8)])logger[_0x38c2e4(0x247)](_0x38c2e4(0x25b)+_0x402da1[_0x38c2e4(0x2b8)][_0x38c2e4(0x1fe)]+'\x20'+_0x402da1[_0x38c2e4(0x2b8)][_0x38c2e4(0x1e4)]+'\x20'+JSON[_0x38c2e4(0x1eb)](_0x402da1[_0x38c2e4(0x2b8)][_0x38c2e4(0x263)]));else{if(_0x4e5228[_0x38c2e4(0x2b5)](_0x402da1['message'],_0x4e5228[_0x38c2e4(0x213)])){logger['error']('Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20'+(_0x402da1[_0x38c2e4(0x1f2)]||_0x402da1['stack']));for(const _0x2d26b9 of _0x402da1[_0x38c2e4(0x1f3)]){logger[_0x38c2e4(0x247)](_0x2d26b9[_0x38c2e4(0x1f2)]);}process[_0x38c2e4(0x1e0)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x4e5228[_0x38c2e4(0x22e)],process[_0x38c2e4(0x1e0)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x4e5228[_0x38c2e4(0x22e)];}else logger['error']('Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20'+(_0x402da1[_0x38c2e4(0x1f2)]||_0x402da1[_0x38c2e4(0x2c3)]));}return[null,null];}}),exports[a108_0x48cf73(0x23e)]=PerformanceTester[a108_0x48cf73(0x1e8)](a108_0x48cf73(0x28c),async function(_0x151be0){const _0x684f77=a108_0x48cf73,_0x24cf51={};_0x24cf51[_0x684f77(0x2c0)]=function(_0x43b508,_0x1c2a69){return _0x43b508!==_0x1c2a69;},_0x24cf51[_0x684f77(0x29c)]=_0x684f77(0x2b1),_0x24cf51[_0x684f77(0x1ca)]=_0x684f77(0x247),_0x24cf51[_0x684f77(0x2b3)]=_0x684f77(0x243),_0x24cf51[_0x684f77(0x1e5)]=_0x684f77(0x223),_0x24cf51['qCGTf']=_0x684f77(0x1c4),_0x24cf51[_0x684f77(0x26b)]='test_runs/stop',_0x24cf51[_0x684f77(0x1da)]=function(_0x354707,_0x4fbbb2){return _0x354707+_0x4fbbb2;},_0x24cf51[_0x684f77(0x205)]=_0x684f77(0x2c7),_0x24cf51[_0x684f77(0x264)]=_0x684f77(0x1e2);const _0x4d3924=_0x24cf51;if(bsSetupHelper[_0x684f77(0x258)](process[_0x684f77(0x1e0)][_0x684f77(0x1d4)])||_0x4d3924[_0x684f77(0x2c0)](typeof process[_0x684f77(0x1e0)][_0x684f77(0x1d4)],_0x4d3924[_0x684f77(0x29c)])){const _0x80cc6b={};return _0x80cc6b[_0x684f77(0x1fe)]=_0x4d3924['URWsc'],_0x80cc6b[_0x684f77(0x1f2)]=_0x4d3924['AGtjZ'],_0x80cc6b;}const _0x3f00ad={'endTime':new Date()[_0x684f77(0x208)]()},_0x2627e4={};_0x2627e4['Authorization']=_0x684f77(0x228)+process[_0x684f77(0x1e0)]['BS_A11Y_JWT'],_0x2627e4[_0x684f77(0x24c)]=_0x4d3924[_0x684f77(0x1e5)];const _0x2b0f86={};_0x2b0f86['headers']=_0x2627e4;const _0x5b9a78=_0x2b0f86,_0x466544={};_0x466544[_0x684f77(0x1c2)]=_0x3f00ad,_0x466544[_0x684f77(0x2aa)]=null,_0x466544[_0x684f77(0x283)]=!![];const _0x143852=Object[_0x684f77(0x269)](_0x5b9a78,_0x466544);try{const _0x324e15=await bsSetupHelper[_0x684f77(0x1cb)](_0x4d3924[_0x684f77(0x23d)],_0x4d3924['XnuDe'],_0x143852,_0x151be0,API_URL);if(_0x324e15[_0x684f77(0x263)][_0x684f77(0x247)])throw new Error(_0x4d3924[_0x684f77(0x1da)](_0x4d3924[_0x684f77(0x205)],_0x324e15[_0x684f77(0x263)]['error']));else{logger[_0x684f77(0x1c0)](_0x684f77(0x299)+new Date()[_0x684f77(0x208)]());const _0x1e897f={};return _0x1e897f[_0x684f77(0x1fe)]=_0x4d3924['ApHJB'],_0x1e897f[_0x684f77(0x1f2)]='',_0x1e897f;}}catch(_0x5a1393){_0x5a1393[_0x684f77(0x2b8)]?logger['error']('Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20'+_0x5a1393[_0x684f77(0x2b8)][_0x684f77(0x1fe)]+'\x20'+_0x5a1393[_0x684f77(0x2b8)][_0x684f77(0x1e4)]+'\x20'+JSON[_0x684f77(0x1eb)](_0x5a1393[_0x684f77(0x2b8)][_0x684f77(0x263)])):logger[_0x684f77(0x247)](_0x684f77(0x1cc)+(_0x5a1393['message']||util[_0x684f77(0x252)](_0x5a1393)));const _0x47cb11={};return _0x47cb11[_0x684f77(0x1fe)]=_0x4d3924['URWsc'],_0x47cb11[_0x684f77(0x1f2)]=_0x5a1393[_0x684f77(0x1f2)]||(_0x5a1393[_0x684f77(0x2b8)]?_0x5a1393[_0x684f77(0x2b8)]['status']+':'+_0x5a1393[_0x684f77(0x2b8)]['statusText']:_0x5a1393),_0x47cb11;}}),exports[a108_0x48cf73(0x2ca)]=async(_0x368393,_0x262aca=null,_0x55ed5c=![],_0xa0d643=null)=>{const _0x1ab872=a108_0x48cf73,_0x4fd68d={};_0x4fd68d[_0x1ab872(0x2c5)]=_0x1ab872(0x1e1),_0x4fd68d[_0x1ab872(0x254)]=_0x1ab872(0x242),_0x4fd68d[_0x1ab872(0x1f1)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.',_0x4fd68d[_0x1ab872(0x253)]=function(_0x523c50,_0x210152){return _0x523c50||_0x210152;},_0x4fd68d[_0x1ab872(0x23b)]='bstackA11yScanOptions',_0x4fd68d[_0x1ab872(0x285)]=_0x1ab872(0x1fb);const _0x2bef4e=_0x4fd68d;if(!this['isAccessibilityAutomationSession']()||!globals[_0x1ab872(0x226)](_0x2bef4e[_0x1ab872(0x2c5)])||!_0x55ed5c&&!globals[_0x1ab872(0x226)](_0x2bef4e[_0x1ab872(0x254)])){logger[_0x1ab872(0x262)](_0x2bef4e[_0x1ab872(0x1f1)]);return;}const _0x42151d=_0x55ed5c?_0x2bef4e[_0x1ab872(0x253)](_0xa0d643,{}):globals[_0x1ab872(0x226)](_0x2bef4e['poVkq'])||{},_0x1df3f9={};_0x1df3f9[_0x1ab872(0x1ba)]=_0x262aca||global[_0x1ab872(0x28d)];const _0x5a8ea7=Object[_0x1ab872(0x269)]({},_0x42151d,_0x1df3f9);await this[_0x1ab872(0x288)](_0x368393)&&(Object[_0x1ab872(0x269)](_0x5a8ea7,this['getMobileA11yCapabilities'](),{'thTestRunUuid':this[_0x1ab872(0x268)]()}),logger[_0x1ab872(0x1d1)](_0x2bef4e['ZmIiX']));logger['debug'](_0x1ab872(0x2b9)+util[_0x1ab872(0x252)]('%j',_0x5a8ea7));const _0x32348f={};return _0x32348f['command']=_0x262aca,await PerformanceTester[_0x1ab872(0x1e8)](PerformanceA11yEvents[_0x1ab872(0x278)],async()=>{const _0x4bc711=_0x1ab872;try{await _0x368393[_0x4bc711(0x251)](()=>_0x368393[_0x4bc711(0x22d)](_0x4bc711(0x22a)),0x1388);}catch(_0x315212){}const _0x1622d6=util[_0x4bc711(0x252)](await _0x368393[_0x4bc711(0x276)](scripts[_0x4bc711(0x2ca)],_0x5a8ea7));return logger[_0x4bc711(0x1d1)](_0x4bc711(0x298)+_0x1622d6),_0x1622d6;},_0x32348f)();},exports['getAccessibilityResults']=async(_0x5157b,_0x35dd73)=>{const _0x5e682e=a108_0x48cf73,_0x3e67de={};_0x3e67de[_0x5e682e(0x23f)]=_0x5e682e(0x29f),_0x3e67de['WRrZm']='isAccessibilityPlatform',_0x3e67de['GdzYU']=_0x5e682e(0x242),_0x3e67de['hAWrB']=_0x5e682e(0x28f),_0x3e67de[_0x5e682e(0x23a)]=_0x5e682e(0x2a2),_0x3e67de[_0x5e682e(0x290)]=_0x5e682e(0x1e9);const _0x29f21c=_0x3e67de;if(!this[_0x5e682e(0x1be)]()||!globals[_0x5e682e(0x226)](_0x29f21c['WRrZm'])||!globals[_0x5e682e(0x226)](_0x29f21c[_0x5e682e(0x2bd)]))return logger[_0x5e682e(0x262)](_0x29f21c[_0x5e682e(0x281)]),[];try{const _0x196434=await this[_0x5e682e(0x288)](_0x5157b),_0x4ba69c=_0x196434?Object[_0x5e682e(0x269)]({},this[_0x5e682e(0x1fa)](),{'thTestRunUuid':this[_0x5e682e(0x268)]()}):{};return _0x196434&&logger[_0x5e682e(0x1d1)](_0x5e682e(0x1b9)+util['format']('%j',_0x4ba69c)),await PerformanceTester[_0x5e682e(0x1e8)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x14d54a=_0x5e682e;logger[_0x14d54a(0x1d1)](_0x29f21c[_0x14d54a(0x23f)]);const _0x917800={};_0x917800[_0x14d54a(0x1ba)]=_0x35dd73[_0x14d54a(0x28d)];const _0x20d9b6=Object[_0x14d54a(0x269)](_0x917800,_0x4ba69c);logger['debug'](util['format'](await _0x5157b[_0x14d54a(0x276)](scripts[_0x14d54a(0x2ca)],_0x20d9b6)));},{'command':_0x29f21c[_0x5e682e(0x23a)]})(),await PerformanceTester[_0x5e682e(0x1e8)](PerformanceA11yEvents['GET_RESULTS'],async()=>{const _0x1334b0=_0x5e682e,_0x12dca0=_0x196434?await _0x5157b[_0x1334b0(0x276)](scripts['getResults'],_0x4ba69c):await _0x5157b[_0x1334b0(0x276)](scripts[_0x1334b0(0x293)]);return _0x12dca0;})();}catch{return logger[_0x5e682e(0x247)](_0x29f21c[_0x5e682e(0x290)]),[];}},exports['getAccessibilityResultsSummary']=async(_0x46e0b6,_0x1b8bba)=>{const _0x1fd06e=a108_0x48cf73,_0x37a35c={};_0x37a35c[_0x1fd06e(0x2b4)]=_0x1fd06e(0x271),_0x37a35c['NTBvc']=_0x1fd06e(0x1e1),_0x37a35c[_0x1fd06e(0x227)]=_0x1fd06e(0x242),_0x37a35c[_0x1fd06e(0x2bf)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.',_0x37a35c[_0x1fd06e(0x240)]=_0x1fd06e(0x2a3),_0x37a35c[_0x1fd06e(0x210)]=_0x1fd06e(0x1c7);const _0x322382=_0x37a35c;if(!this[_0x1fd06e(0x1be)]()||!globals[_0x1fd06e(0x226)](_0x322382[_0x1fd06e(0x291)])||!globals[_0x1fd06e(0x226)](_0x322382[_0x1fd06e(0x227)]))return logger[_0x1fd06e(0x262)](_0x322382[_0x1fd06e(0x2bf)]),{};try{const _0x28070c=await this[_0x1fd06e(0x288)](_0x46e0b6),_0x23866e=_0x28070c?Object[_0x1fd06e(0x269)]({},this[_0x1fd06e(0x1fa)](),{'thTestRunUuid':this['resolveMobileThTestRunUuid']()}):{};return _0x28070c&&logger['debug'](_0x1fd06e(0x27a)+util['format']('%j',_0x23866e)),await PerformanceTester['measureWrapper'](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x281e4f=_0x1fd06e;logger[_0x281e4f(0x1d1)](_0x322382[_0x281e4f(0x2b4)]);const _0x531447={};_0x531447['method']=_0x1b8bba[_0x281e4f(0x28d)];const _0x5dbc8f=Object['assign'](_0x531447,_0x23866e);logger[_0x281e4f(0x1d1)](util[_0x281e4f(0x252)](await _0x46e0b6[_0x281e4f(0x276)](scripts[_0x281e4f(0x2ca)],_0x5dbc8f)));},{'command':_0x322382[_0x1fd06e(0x240)]})(),await PerformanceTester[_0x1fd06e(0x1e8)](PerformanceA11yEvents[_0x1fd06e(0x203)],async()=>{const _0x3e4678=_0x1fd06e,_0x96fc5a=_0x28070c?await _0x46e0b6[_0x3e4678(0x276)](scripts['getResultsSummary'],_0x23866e):await _0x46e0b6[_0x3e4678(0x276)](scripts['getResultsSummary']);return _0x96fc5a;})();}catch{return logger[_0x1fd06e(0x247)](_0x322382[_0x1fd06e(0x210)]),{};}},exports[a108_0x48cf73(0x1de)]=(_0x2f9685,_0x392128=![])=>{const _0xc8295d=a108_0x48cf73,_0x5a2162={'LhfKX':function(_0x265b35,_0x4617e8){return _0x265b35(_0x4617e8);},'IahJJ':'platformName','RfyIA':function(_0x4c7e90,_0x366421){return _0x4c7e90!==_0x366421;},'zMvlN':_0xc8295d(0x2a9),'ImQqs':function(_0x42dd49,_0x353fc2){return _0x42dd49(_0x353fc2);},'idMAQ':_0xc8295d(0x21b),'KfQVV':_0xc8295d(0x273),'nqHUr':_0xc8295d(0x284),'VHoul':'Session\x20is\x20identified\x20as\x20mobile\x20accessibility\x20platform\x20(Android\x20+\x20Chrome)'};try{if(!_0x2f9685)return![];const _0x1bed66=_0x517fc3=>typeof _0x2f9685['get']===_0xc8295d(0x231)?_0x2f9685[_0xc8295d(0x1ea)](_0x517fc3):_0x2f9685[_0x517fc3],_0x533ea6=_0x5a2162[_0xc8295d(0x27b)](String,_0x5a2162[_0xc8295d(0x27b)](_0x1bed66,_0x5a2162[_0xc8295d(0x209)])||'')['toLowerCase']();if(_0x5a2162['RfyIA'](_0x533ea6,_0x5a2162[_0xc8295d(0x2c6)]))return![];const _0x30cc6c=_0x5a2162[_0xc8295d(0x246)](String,_0x5a2162[_0xc8295d(0x246)](_0x1bed66,_0x5a2162[_0xc8295d(0x24e)])||'')['toLowerCase']();if(!_0x30cc6c[_0xc8295d(0x2ce)](_0x5a2162[_0xc8295d(0x24b)]))return _0x392128&&logger['warn'](_0x5a2162['nqHUr']),![];return logger[_0xc8295d(0x1d1)](_0x5a2162[_0xc8295d(0x26a)]),!![];}catch(_0x43b035){return logger[_0xc8295d(0x1d1)](_0xc8295d(0x244)+_0x43b035),![];}},exports[a108_0x48cf73(0x288)]=async _0x425083=>{const _0x247381=a108_0x48cf73;try{const _0x37f637=await _0x425083[_0x247381(0x1ee)]();return exports[_0x247381(0x1de)](_0x37f637);}catch(_0x1938c0){return logger[_0x247381(0x1d1)](_0x247381(0x26f)+_0x1938c0),![];}},exports[a108_0x48cf73(0x1fa)]=()=>{const _0x19f8bb=a108_0x48cf73,_0x17bab8={};return _0x17bab8[_0x19f8bb(0x28b)]=!![],_0x17bab8;},exports['resolveMobileThTestRunUuid']=()=>{const _0x25d5d5=a108_0x48cf73,_0x59164d={};_0x59164d['GOBNG']=function(_0x3369aa,_0x50316f){return _0x3369aa===_0x50316f;},_0x59164d[_0x25d5d5(0x1ce)]=_0x25d5d5(0x2b1),_0x59164d['dbUhb']=function(_0x18aae9,_0x7ed47b){return _0x18aae9>_0x7ed47b;},_0x59164d['pWFjW']=_0x25d5d5(0x21d),_0x59164d['RbCja']=_0x25d5d5(0x27f),_0x59164d[_0x25d5d5(0x21c)]=function(_0x4e4fe7,_0x50dd0a){return _0x4e4fe7===_0x50dd0a;},_0x59164d[_0x25d5d5(0x28e)]='undefined';const _0x43265f=_0x59164d,_0x2990ad=global['__workerDetails'],_0x49f47b=_0x2990ad&&_0x2990ad[_0x25d5d5(0x1c8)],_0x50f0ee=_0x49f47b&&_0x49f47b[_0x25d5d5(0x214)];if(_0x43265f[_0x25d5d5(0x234)](typeof _0x50f0ee,_0x43265f[_0x25d5d5(0x1ce)])&&_0x43265f['dbUhb'](_0x50f0ee[_0x25d5d5(0x2cd)],0x0))return _0x50f0ee;let _0x576f89;if(!_0x2990ad)_0x576f89=_0x43265f['pWFjW'];else!_0x49f47b?_0x576f89=_0x43265f[_0x25d5d5(0x1ff)]:_0x576f89=_0x25d5d5(0x239)+Object['keys'](_0x49f47b)[_0x25d5d5(0x202)](',\x20')+_0x25d5d5(0x1c3)+(_0x43265f[_0x25d5d5(0x21c)](_0x50f0ee,undefined)?_0x43265f[_0x25d5d5(0x28e)]:'\x22'+_0x50f0ee+'\x22')+_0x25d5d5(0x261);return logger[_0x25d5d5(0x262)](_0x25d5d5(0x1f0)+_0x576f89+_0x25d5d5(0x25a)),'';},exports[a108_0x48cf73(0x201)]=_0x249bad=>{const _0x8cd632=a108_0x48cf73,_0xc6a943={};_0xc6a943[_0x8cd632(0x2af)]=function(_0x3bd7b6,_0x320ce8){return _0x3bd7b6===_0x320ce8;},_0xc6a943[_0x8cd632(0x277)]=_0x8cd632(0x2b1),_0xc6a943[_0x8cd632(0x2a1)]=_0x8cd632(0x238);const _0x2f8511=_0xc6a943;if(_0x249bad&&_0x249bad[_0x8cd632(0x235)]&&_0x2f8511['bhfsw'](typeof _0x249bad[_0x8cd632(0x235)],_0x2f8511['nYgvM']))return _0x249bad[_0x8cd632(0x235)][_0x8cd632(0x2ce)](_0x2f8511[_0x8cd632(0x2a1)]);return![];},exports[a108_0x48cf73(0x25d)]=a108_0x48cf73(0x27d),exports['isMobileScanningEnabledForGroup']=()=>process[a108_0x48cf73(0x1e0)][a108_0x48cf73(0x25f)]===a108_0x48cf73(0x1d7),exports['isBrowserSupportedForAccessibility']=_0x3e96a1=>{const _0x15359a=a108_0x48cf73,_0x53085e={};_0x53085e[_0x15359a(0x26e)]=function(_0x584597,_0x364186){return _0x584597 in _0x364186;};const _0x56024f=_0x53085e;if(bsSetupHelper['isUndefined'](_0x3e96a1))return![];const _0x36f711=_0x3e96a1[_0x15359a(0x2be)]();return _0x56024f['FgXmF'](_0x36f711,ACCESSIBILITY_SUPPORTED_BROWSERS);},exports[a108_0x48cf73(0x207)]=_0x4f9084=>{const _0x500d3a=a108_0x48cf73;if(bsSetupHelper[_0x500d3a(0x258)](_0x4f9084))return null;const _0x544c7d=_0x4f9084[_0x500d3a(0x2be)]();return ACCESSIBILITY_SUPPORTED_BROWSERS[_0x544c7d]||null;},exports[a108_0x48cf73(0x296)]=(_0x2220a4,_0x4b5d85)=>{const _0x5e6f70=a108_0x48cf73,_0x347f33=this[_0x5e6f70(0x207)](_0x2220a4);if(!_0x347f33)return null;if(_0x4b5d85)return _0x347f33[_0x5e6f70(0x220)];return _0x347f33[_0x5e6f70(0x1ec)];},exports[a108_0x48cf73(0x1e7)]=_0x162bbc=>{const _0x3e860e=a108_0x48cf73,_0x1d0105=this['getBrowserA11yConfig'](_0x162bbc);return _0x1d0105?_0x1d0105[_0x3e860e(0x20f)]:_0x162bbc;},exports[a108_0x48cf73(0x279)]=_0x4a1daa=>{const _0x5cc825=a108_0x48cf73,_0xb2e7b5=this[_0x5cc825(0x207)](_0x4a1daa);return _0xb2e7b5?_0xb2e7b5[_0x5cc825(0x22b)]:![];},exports[a108_0x48cf73(0x1fc)]=(_0x532544,_0x310407)=>{const _0x448013=a108_0x48cf73,_0x1f6634={'yxPQq':function(_0x206532,_0x590050){return _0x206532(_0x590050);},'kWmXQ':function(_0xb4ed37,_0x3740d9){return _0xb4ed37>=_0x3740d9;}};if(bsSetupHelper[_0x448013(0x258)](_0x532544)||bsSetupHelper[_0x448013(0x258)](_0x310407))return![];const _0x115bcb=bsSetupHelper[_0x448013(0x24d)](_0x1f6634[_0x448013(0x245)](String,_0x532544),_0x1f6634[_0x448013(0x245)](String,_0x310407));return _0x1f6634['kWmXQ'](_0x115bcb,0x0);},exports['parseA11yJwtPayload']=_0x2beb33=>{const _0x561288=a108_0x48cf73,_0x24b04f={};_0x24b04f['culjI']=function(_0x40da47,_0x5a9d3c){return _0x40da47!==_0x5a9d3c;},_0x24b04f[_0x561288(0x1d3)]=_0x561288(0x2b1),_0x24b04f[_0x561288(0x22f)]=_0x561288(0x25c);const _0x1881ab=_0x24b04f;if(!_0x2beb33||_0x1881ab[_0x561288(0x2a6)](typeof _0x2beb33,_0x1881ab[_0x561288(0x1d3)]))return null;try{return JSON['parse'](Buffer['from'](_0x2beb33[_0x561288(0x272)]('.')[0x1],_0x1881ab['LEZXI'])['toString']());}catch{return null;}};
|
|
1
|
+
function a108_0xcff6(){const _0x1427d3=['oKsOa','env','yzjJV','ZnHTC','getResults','__workerDetails','STCbH','getResultsSummary','isVersionSupported','isBrowserStackCommandExecutor','getGitMetaData','XCFxo','xXhWI','Mobile\x20Accessibility\x20Automation\x20is\x20not\x20enabled\x20for\x20your\x20account.\x20Accessibility\x20scans\x20will\x20be\x20skipped\x20on\x20mobile\x20sessions.\x20Contact\x20BrowserStack\x20to\x20enable\x20mobile\x20accessibility\x20scanning.','performScan','performScan:\x20Mobile\x20capabilities\x20added\x20to\x20scan\x20arguments','AhkIB','lFSHR','status','errors','getAccessibilityResultsSummary:\x20Mobile\x20session\x20detected,\x20args:\x20','107mRsdhW','deviceName','getAccessibilityResultsSummary','shouldScanTestForAccessibility','OoZgY','pass','226816WWPyod','resolve','baGOH','script','LPxSD','NXPhq','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20','toString','nxsXT','isTrue','bIAxe','success','nestedKeyValue','yeibl','SJAJF','zjxvi','browserstack','isMobileAccessibilitySession','some','isAccessibilityAutomationSession','isMobileAccessibilityPlatform','Bearer\x20','requires_chrome_options_check','getBrowserName','isBrowserstackInfra','selenium-webdriver','\x20The\x20on-device\x20scan\x20will\x20POST\x20to\x20/api/test_cases/save_intermediate_results\x20with\x20an\x20empty\x20th_test_run_uuid\x20and\x20fail\x20validation\x20(HTTP\x20422).\x20Fix\x20the\x20framework\x20setup\x20hook\x20that\x20should\x20pre-populate\x20global.__workerDetails.currentTest.thTestRunUuid.','isArray','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token','getPackageVersion','zAUly','bstackA11yScanOptions','response','from','user','toISOString','EGoeT','Authorization','info','headers','DfhjG','hDRKh','getGlobal','null','vFOjs','LwCCD','getAccessibilityResults:\x20Mobile\x20session\x20detected,\x20args:\x20','options_','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20','android','v2/test_runs','HFpOn','measureWrapper','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','toLowerCase','browserstack_executor','requireModule','WYvJW','fgXOu','map','join','PERFORM_SCAN','string','executeAsyncScript','pPxiT','UaXsS','pzJPa','isUndefined','bstack:options','format','application/json','set','Performed\x20scan\x20with\x20result:\x20','browserName','cwd','Xkrtp','includes','gCUsT','Performing\x20scan\x20before\x20getting\x20results','playwright','144zvCOAN','bstackA11yShouldScan','Build\x20creation\x20had\x20failed.','currentTest','gKTDU','includeTagsInTestingScope','true','MwyoG','aywrp','getAccessibilityResults','getTestFrameworkDetails','command','egdML','869288NOQNhE','error','PkJBF','lLovm','GzjoX','platforms','--headless=new','vfTVY','OsRdk','false','getPlatformVersion','getBrowserVersion','GET_RESULTS_SUMMARY','2454342MFbfkm','Options','get','Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20','args','No\x20accessibility\x20summary\x20was\x20found.','accessibilityToken','message','Session\x20is\x20identified\x20as\x20mobile\x20accessibility\x20platform\x20(Android\x20+\x20Chrome)','getUserName','Performing\x20scan\x20before\x20getting\x20results\x20summary','NimTP','chrome','getCapabilities','path','GJKNG','LcvgB','min_version_browserstack','LYOkG','POST','YpQAy','version','zbXDb','./scripts','ViUhh','[Accessibility]\x20Mobile\x20scan\x20requested\x20but\x20thTestRunUuid\x20not\x20resolvable:\x20','min_version_non_browserstack','../globals','Not\x20a\x20Accessibility\x20Session','excludeTagsInTestingScope','warn','buildDescription','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','No\x20accessibility\x20results\x20were\x20found.','nonBstackPlatformValidation','qqzjF','forEach','test_runs/stop','accessibility','../performance/performance-tester','length','bLlpL','ScMgv','IEsXN','is_mobile_session','isAccessibilityPlatform','util','Mobile\x20Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser.','gMrzJ','WrLUx','Error\x20while\x20adding\x20Non-Bstack\x20capabilities:\x20','Ihqaz','EkrMr','statusText','method','wuJgX','data','a11y:stop','Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20','startsWith','isMobileScanningEnabledForGroup','YpVTc','display_name','ZsHTc','CUgpT','--headless=','--headless','isBrowserSupportedForAccessibility','a11y:start','javascript','RUODz','GET_RESULTS','Error\x20checking\x20if\x20mobile\x20accessibility\x20platform:\x20','global.__workerDetails.currentTest\x20exists\x20with\x20keys\x20[','Dnscr','parseA11yJwtPayload','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','sjWVR','assign','aOOTg','function','compareVersions','4849374FpPdhr','MOBILE_SCANNING_DISABLED_WARNING','getMobileA11yCapabilities','1140ZPrXDf','3002005syDqaN','thTestRunUuid','JbuUR','kaIlV','yhAtf','FaMJh','fetchPlatformDetails','ADway','DhdoB','XjmpD','parse','LDTIt','requiresChromeOptionsValidation','resolveMobileThTestRunUuid','IYkQg','DaSgs','browserstackSessionName','wsFpt','return\x20document.readyState\x20===\x20\x22complete\x22','sgCze','SeSdd','executeScript','DYbjy','getPlatform','split','wait','checkAccessibilityPlatformConfig','Content-Type','stack','PUT','auth','lLQwJ','goog:chromeOptions','2186YXFdfc','mergeDeep','Invalid\x20request:\x20','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.','vlTSY','capabilities_','trim','Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20','debug','getBrowserDisplayName','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','basename','lkGUh','replace','keys','platformName','165781NmRwky','4vBtIFa','getBrowserA11yConfig','BROWSERSTACK_TEST_ACCESSIBILITY_YML','ircow','SvbPY','xIbFJ','stringify','BS_A11Y_JWT','getMinVersionForBrowser','nodeRequest','buildName'];a108_0xcff6=function(){return _0x1427d3;};return a108_0xcff6();}const a108_0x480c3d=a108_0x4edc;(function(_0x1f7abf,_0x4e0df5){const _0x1064e7=a108_0x4edc,_0x518323=_0x1f7abf();while(!![]){try{const _0x13fe0c=-parseInt(_0x1064e7(0x184))/0x1*(parseInt(_0x1064e7(0x152))/0x2)+-parseInt(_0x1064e7(0x1f4))/0x3+-parseInt(_0x1064e7(0x164))/0x4*(parseInt(_0x1064e7(0x24b))/0x5)+parseInt(_0x1064e7(0x247))/0x6+-parseInt(_0x1064e7(0x1e7))/0x7+parseInt(_0x1064e7(0x18a))/0x8*(-parseInt(_0x1064e7(0x1da))/0x9)+-parseInt(_0x1064e7(0x24a))/0xa*(-parseInt(_0x1064e7(0x163))/0xb);if(_0x13fe0c===_0x4e0df5)break;else _0x518323['push'](_0x518323['shift']());}catch(_0x43a4cd){_0x518323['push'](_0x518323['shift']());}}}(a108_0xcff6,0x64d71));const path=require(a108_0x480c3d(0x202)),util=require(a108_0x480c3d(0x223)),bsSetupHelper=require('../helper'),logger=require('../logger')['winstonLogger'],{API_URL,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY,ACCESSIBILITY_SUPPORTED_BROWSERS}=require('./constants'),PerformanceTester=require(a108_0x480c3d(0x21c)),scripts=require(a108_0x480c3d(0x20b)),globals=require(a108_0x480c3d(0x20f)),{A11Y_EVENTS:PerformanceA11yEvents}=require('../performance/constants');function a108_0x4edc(_0x36f580,_0x33bb91){const _0xcff6aa=a108_0xcff6();return a108_0x4edc=function(_0x4edcc1,_0x5cf810){_0x4edcc1=_0x4edcc1-0x142;let _0x8ed70b=_0xcff6aa[_0x4edcc1];return _0x8ed70b;},a108_0x4edc(_0x36f580,_0x33bb91);}exports[a108_0x480c3d(0x251)]=async _0x2f8557=>{const _0x4dac38=a108_0x480c3d,_0x34828b={};_0x34828b[_0x4dac38(0x1a8)]=function(_0x3d0731,_0xb4eba){return _0x3d0731===_0xb4eba;},_0x34828b[_0x4dac38(0x1ee)]=_0x4dac38(0x19a);const _0x51e385=_0x34828b;let _0x501341={};try{const _0x1e2b00=await _0x2f8557[_0x4dac38(0x201)]();_0x501341={'os_name':_0x1e2b00[_0x4dac38(0x148)](),'os_version':bsSetupHelper[_0x4dac38(0x1f1)](_0x51e385['zAUly'](global['__cloud_provider___'],_0x51e385[_0x4dac38(0x1ee)])),'browser_name':_0x1e2b00[_0x4dac38(0x1a1)](),'browser_version':_0x1e2b00[_0x4dac38(0x1f2)]()};}catch(_0x321a70){logger['debug']('Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20'+_0x321a70);}return _0x501341;},exports[a108_0x480c3d(0x19d)]=()=>{const _0x33f8a5=a108_0x480c3d,_0x1b0173={};_0x1b0173[_0x33f8a5(0x22c)]=function(_0x32dda0,_0x4bbff9){return _0x32dda0===_0x4bbff9;},_0x1b0173['uGGns']='string',_0x1b0173[_0x33f8a5(0x1d5)]=function(_0x591005,_0x19e086){return _0x591005>_0x19e086;},_0x1b0173['MwyoG']=function(_0x4b0adb,_0x39d199){return _0x4b0adb!==_0x39d199;},_0x1b0173['ScMgv']=_0x33f8a5(0x1b5),_0x1b0173[_0x33f8a5(0x23b)]=function(_0x4326fb,_0x1e4e31){return _0x4326fb&&_0x1e4e31;};const _0x5671a8=_0x1b0173;try{const _0x5bae9c=bsSetupHelper[_0x33f8a5(0x193)](process[_0x33f8a5(0x170)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'])||bsSetupHelper[_0x33f8a5(0x193)](process[_0x33f8a5(0x170)][_0x33f8a5(0x1bf)]),_0x156879=_0x5671a8[_0x33f8a5(0x22c)](typeof process['env'][_0x33f8a5(0x16b)],_0x5671a8['uGGns'])&&_0x5671a8[_0x33f8a5(0x1d5)](process[_0x33f8a5(0x170)]['BS_A11Y_JWT'][_0x33f8a5(0x21d)],0x0)&&_0x5671a8[_0x33f8a5(0x1e1)](process[_0x33f8a5(0x170)][_0x33f8a5(0x16b)],_0x5671a8[_0x33f8a5(0x21f)]);return _0x5671a8[_0x33f8a5(0x23b)](_0x5bae9c,_0x156879);}catch(_0x203887){logger[_0x33f8a5(0x15b)](_0x33f8a5(0x22f)+_0x203887);}return![];},exports[a108_0x480c3d(0x217)]=(_0x2f827c,_0xacc163)=>{const _0x105b81=a108_0x480c3d,_0x1ecff5={'OsRdk':_0x105b81(0x1d3),'sgCze':function(_0x14c6da,_0x1c9663){return _0x14c6da(_0x1c9663);},'zbXDb':'browserVersion','LYOkG':_0x105b81(0x209),'pzJPa':_0x105b81(0x1ce),'ZnHTC':function(_0x1da13f,_0x38098a){return _0x1da13f(_0x38098a);},'vlTSY':_0x105b81(0x185),'ZsHTc':'device','wtZSw':_0x105b81(0x214),'Ihqaz':'selenium-webdriver/chrome.js','yeibl':_0x105b81(0x1a3),'LPxSD':_0x105b81(0x1b9),'aywrp':_0x105b81(0x1f8),'uVgvN':'chromeOptions','LwCCD':'Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','CUgpT':_0x105b81(0x151),'Tjzbp':function(_0x36ce55,_0x3d2e3a){return _0x36ce55===_0x3d2e3a;},'OjoZS':_0x105b81(0x200),'sHJSW':function(_0x3937e7,_0xcd7fc4){return _0x3937e7>=_0xcd7fc4;}},_0x5e8bfb=_0x2f827c[_0x105b81(0x1f6)](_0x1ecff5[_0x105b81(0x1ef)]),_0x537682=_0x1ecff5[_0x105b81(0x144)](parseFloat,_0x2f827c['get'](_0x1ecff5[_0x105b81(0x20a)]))||_0x1ecff5[_0x105b81(0x144)](parseFloat,_0x2f827c[_0x105b81(0x1f6)](_0x1ecff5[_0x105b81(0x206)])),_0x3b011e=_0x2f827c['get'](_0x1ecff5[_0x105b81(0x1cc)])||{},_0x31905f=_0x1ecff5[_0x105b81(0x172)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY),_0x1c58be=_0x3b011e[_0x1ecff5[_0x105b81(0x157)]]||_0x2f827c[_0x105b81(0x1f6)](_0x1ecff5[_0x105b81(0x234)])||![];if(_0x1c58be)return logger[_0x105b81(0x212)](_0x1ecff5['wtZSw']),![];let _0x3eae5f;try{_0x3eae5f=bsSetupHelper[_0x105b81(0x1c2)](_0x1ecff5[_0x105b81(0x228)],_0x1ecff5[_0x105b81(0x197)]);}catch(_0x59e14b){return![];}const _0x298555=new _0x3eae5f[(_0x105b81(0x1f5))](_0xacc163['chromeOptions_']),_0x51010a=bsSetupHelper[_0x105b81(0x196)](_0x298555,[_0x1ecff5[_0x105b81(0x18e)],_0x1ecff5[_0x105b81(0x1e2)]])||bsSetupHelper['nestedKeyValue'](_0xacc163['capabilities_'],[_0x1ecff5['pzJPa'],_0x1ecff5['uVgvN'],_0x1ecff5['aywrp']])||bsSetupHelper[_0x105b81(0x196)](_0xacc163[_0x105b81(0x158)],[_0x1ecff5['uVgvN'],_0x1ecff5[_0x105b81(0x1e2)]])||[],_0x15851e=Array[_0x105b81(0x1a5)](_0x51010a)?_0x51010a:[];if(_0x15851e[_0x105b81(0x19c)](_0x9258c8=>typeof _0x9258c8==='string'&&(_0x9258c8===_0x105b81(0x237)||_0x9258c8[_0x105b81(0x230)](_0x105b81(0x236))&&_0x9258c8!=='--headless=new')))return logger['warn'](_0x1ecff5[_0x105b81(0x1b7)]),![];const _0x1264b9=_0xacc163[_0x105b81(0x158)]||{},_0x4b13f0=bsSetupHelper['nestedKeyValue'](_0x1264b9,[_0x1ecff5[_0x105b81(0x235)]])||{},_0x527d58=bsSetupHelper[_0x105b81(0x196)](_0x4b13f0,[_0x1ecff5[_0x105b81(0x1e2)]])||[],_0x3b03e9=Array[_0x105b81(0x1a5)](_0x527d58)?_0x527d58:[];if(_0x3b03e9[_0x105b81(0x19c)](_0x229375=>typeof _0x229375==='string'&&(_0x229375===_0x105b81(0x237)||_0x229375[_0x105b81(0x230)]('--headless=')&&_0x229375!==_0x105b81(0x1ed))))return logger[_0x105b81(0x212)](_0x1ecff5[_0x105b81(0x1b7)]),![];if(_0x1ecff5['Tjzbp'](_0x5e8bfb['toLowerCase'](),_0x1ecff5['OjoZS'])&&_0x1ecff5['sHJSW'](_0x537682,_0x31905f))return!![];return logger['warn'](_0x105b81(0x190)+MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY+'.'),![];},exports['setNonBstackInfraCapabilities']=_0x20e692=>{const _0x5f23bd=a108_0x480c3d,_0x39888b={};_0x39888b[_0x5f23bd(0x203)]=_0x5f23bd(0x151),_0x39888b['oKsOa']=function(_0xd5bc89,_0x17f122){return _0xd5bc89||_0x17f122;},_0x39888b['mafni']=_0x5f23bd(0x210);const _0x259100=_0x39888b,_0x54cc2e=scripts['ChromeExtension'];try{const _0x32d372=bsSetupHelper[_0x5f23bd(0x193)](process[_0x5f23bd(0x170)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'])||bsSetupHelper[_0x5f23bd(0x193)](process[_0x5f23bd(0x170)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']);if((!bsSetupHelper['isBrowserstackInfra']()||process[_0x5f23bd(0x170)]['BROWSERSTACK_TURBOSCALE'])&&_0x32d372){const _0x12ca19=_0x20e692[_0x5f23bd(0x201)](),_0x4b5667=_0x12ca19[_0x5f23bd(0x1f6)](_0x259100[_0x5f23bd(0x203)]),_0x4493f1=_0x259100[_0x5f23bd(0x16f)](_0x4b5667,{});bsSetupHelper[_0x5f23bd(0x153)](_0x4493f1,_0x54cc2e),_0x20e692[_0x5f23bd(0x201)]()[_0x5f23bd(0x1d1)](_0x259100['GJKNG'],_0x4493f1);}else logger[_0x5f23bd(0x212)](_0x259100['mafni']);}catch(_0x5a57cb){logger[_0x5f23bd(0x1e8)](_0x5f23bd(0x227)+_0x5a57cb);}},exports[a108_0x480c3d(0x187)]=(_0x1f6fa1=null,_0x3639a0=!![],_0x380ec3=[])=>{const _0x3336ea=a108_0x480c3d,_0x37b8a3={};_0x37b8a3['zjxvi']=function(_0x557e0d,_0x39ffb2){return _0x557e0d==_0x39ffb2;},_0x37b8a3[_0x3336ea(0x253)]=function(_0x18cccc,_0x24c40a){return _0x18cccc>_0x24c40a;},_0x37b8a3[_0x3336ea(0x1b2)]=function(_0x1ebc35,_0x5afd99){return _0x1ebc35===_0x5afd99;},_0x37b8a3[_0x3336ea(0x168)]=function(_0x1087f2,_0x1ec354){return _0x1087f2&&_0x1ec354;},_0x37b8a3[_0x3336ea(0x1c4)]=function(_0x315404,_0x514fe3){return _0x315404&&_0x514fe3;};const _0x20e94f=_0x37b8a3;if(_0x20e94f[_0x3336ea(0x199)](process[_0x3336ea(0x170)][_0x3336ea(0x15d)],null))return!![];try{const _0x22292a=JSON[_0x3336ea(0x255)](process[_0x3336ea(0x170)][_0x3336ea(0x15d)]),_0xf0a141=Array[_0x3336ea(0x1a5)](_0x22292a['includeTagsInTestingScope'])?_0x22292a[_0x3336ea(0x1df)]:[],_0x240d2a=Array[_0x3336ea(0x1a5)](_0x22292a[_0x3336ea(0x211)])?_0x22292a[_0x3336ea(0x211)]:[],_0x517b5f=_0x5875f7=>typeof _0x5875f7==='string'?_0x5875f7[_0x3336ea(0x160)](/^@/,'')[_0x3336ea(0x1c0)]()[_0x3336ea(0x159)]():_0x5875f7;if(bsSetupHelper[_0x3336ea(0x1cd)](_0x1f6fa1)){if(_0x20e94f['DhdoB'](_0x380ec3[_0x3336ea(0x21d)],0x0)){const _0x22f5ca=_0x380ec3[_0x3336ea(0x1c5)](_0x517b5f),_0x2ebd26=_0x240d2a[_0x3336ea(0x19c)](_0x376faf=>_0x22f5ca[_0x3336ea(0x1d6)](_0x517b5f(_0x376faf))),_0x4dbf32=_0x20e94f[_0x3336ea(0x1b2)](_0xf0a141[_0x3336ea(0x21d)],0x0)||_0xf0a141[_0x3336ea(0x19c)](_0x8d5f42=>_0x22f5ca[_0x3336ea(0x1d6)](_0x517b5f(_0x8d5f42)));return _0x20e94f[_0x3336ea(0x168)](!_0x2ebd26,_0x4dbf32);}return!![];}let _0x4a4aa4;_0x3639a0?_0x4a4aa4=_0x1f6fa1[_0x3336ea(0x1c6)]('/'):_0x4a4aa4=_0x1f6fa1;const _0x56b63d=_0x240d2a[_0x3336ea(0x19c)](_0x1f6033=>_0x4a4aa4[_0x3336ea(0x1c0)]()[_0x3336ea(0x1d6)](_0x517b5f(_0x1f6033)[_0x3336ea(0x1c0)]())),_0x29166e=_0x20e94f[_0x3336ea(0x1b2)](_0xf0a141[_0x3336ea(0x21d)],0x0)||_0xf0a141[_0x3336ea(0x19c)](_0x372676=>_0x4a4aa4[_0x3336ea(0x1c0)]()[_0x3336ea(0x1d6)](_0x517b5f(_0x372676)[_0x3336ea(0x1c0)]()));return _0x20e94f[_0x3336ea(0x1c4)](!_0x56b63d,_0x29166e);}catch(_0x431b88){logger[_0x3336ea(0x15b)]('Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20'+util[_0x3336ea(0x1cf)](_0x431b88));}return![];},exports[a108_0x480c3d(0x14b)]=_0x2bc2fb=>{const _0x2c8e73=a108_0x480c3d;let _0x5503c0=![];try{_0x2bc2fb[_0x2c8e73(0x1ec)][_0x2c8e73(0x219)](_0x58d170=>{const _0x40f829=_0x2c8e73;if(bsSetupHelper['isTrue'](_0x58d170[_0x40f829(0x21b)]))return _0x5503c0=!![],!![];});}catch(_0x94fbe7){logger['debug'](_0x2c8e73(0x15a)+_0x94fbe7);}return _0x5503c0||bsSetupHelper[_0x2c8e73(0x193)](_0x2bc2fb[_0x2c8e73(0x21b)]);},exports['createAccessibilityTestRun']=PerformanceTester[a108_0x480c3d(0x1be)](a108_0x480c3d(0x239),async function(_0x44e54b,_0x527ffd){const _0xb83128=a108_0x480c3d,_0x4dd844={};_0x4dd844[_0xb83128(0x1d7)]=_0xb83128(0x1a6),_0x4dd844[_0xb83128(0x254)]=_0xb83128(0x1d9),_0x4dd844[_0xb83128(0x1ea)]=_0xb83128(0x23a),_0x4dd844[_0xb83128(0x21e)]=_0xb83128(0x1d0),_0x4dd844[_0xb83128(0x1e9)]=_0xb83128(0x207),_0x4dd844[_0xb83128(0x24f)]=_0xb83128(0x1bc),_0x4dd844[_0xb83128(0x1eb)]=function(_0x76d349,_0x104231){return _0x76d349===_0x104231;},_0x4dd844[_0xb83128(0x1ae)]='Invalid\x20configuration\x20passed.',_0x4dd844[_0xb83128(0x18f)]=_0xb83128(0x1f0);const _0xaa89cb=_0x4dd844,_0x291417=bsSetupHelper[_0xb83128(0x1fd)](_0x44e54b),_0x2b9539=bsSetupHelper['getAccessKey'](_0x44e54b);if(bsSetupHelper[_0xb83128(0x1cd)](_0x291417)||bsSetupHelper[_0xb83128(0x1cd)](_0x2b9539))return logger[_0xb83128(0x1e8)](_0xaa89cb['gCUsT']),[null,null];try{let _0x11d6e5;bsSetupHelper[_0xb83128(0x1cd)](process[_0xb83128(0x170)][_0xb83128(0x15d)])?_0x11d6e5={}:_0x11d6e5=JSON[_0xb83128(0x255)](process[_0xb83128(0x170)][_0xb83128(0x15d)]);const {name:_0x22d4e2,version:_0x2444c8}=bsSetupHelper[_0xb83128(0x1e4)](_0x44e54b,_0x527ffd),_0x54fdbe={'projectName':_0x44e54b['projectName'],'buildName':_0x44e54b[_0xb83128(0x16e)]||path[_0xb83128(0x15e)](path[_0xb83128(0x18b)](process[_0xb83128(0x1d4)]())),'startTime':new Date()[_0xb83128(0x1ad)](),'description':_0x44e54b[_0xb83128(0x213)]||'','source':{'frameworkName':_0x527ffd['includes'](_0xaa89cb[_0xb83128(0x254)])?_0xaa89cb[_0xb83128(0x254)]:_0x527ffd,'frameworkVersion':bsSetupHelper[_0xb83128(0x1a7)](_0x527ffd),'sdkVersion':bsSetupHelper['getAgentVersion'](),'language':_0xaa89cb[_0xb83128(0x1ea)],'testFramework':_0x22d4e2,'testFrameworkVersion':_0x2444c8},'settings':_0x11d6e5,'versionControl':await bsSetupHelper[_0xb83128(0x179)](),'ciInfo':bsSetupHelper['getCiInfo'](),'hostInfo':bsSetupHelper['getHostInfo'](),'browserstackAutomation':bsSetupHelper[_0xb83128(0x1a2)]()},_0x5a7daa={};_0x5a7daa[_0xb83128(0x1ac)]=_0x291417,_0x5a7daa[_0xb83128(0x189)]=_0x2b9539;const _0x3b430f={};_0x3b430f[_0xb83128(0x14c)]=_0xaa89cb['bLlpL'];const _0x5e96e0={};_0x5e96e0[_0xb83128(0x14f)]=_0x5a7daa,_0x5e96e0[_0xb83128(0x1b1)]=_0x3b430f;const _0x29e5c4=_0x5e96e0,_0x2d4664={};_0x2d4664['body']=_0x54fdbe,_0x2d4664['json']=!![];const _0x29869b=Object[_0xb83128(0x243)](_0x29e5c4,_0x2d4664),_0x496e4a=await bsSetupHelper[_0xb83128(0x16d)](_0xaa89cb[_0xb83128(0x1e9)],_0xaa89cb[_0xb83128(0x24f)],_0x29869b,_0x44e54b,API_URL);let _0x254f13=process[_0xb83128(0x170)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'];return _0x254f13?_0x254f13=JSON[_0xb83128(0x255)](process[_0xb83128(0x170)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']):_0x254f13={},scripts['parseFromJson'](_0x496e4a[_0xb83128(0x22d)][_0xb83128(0x22d)]),scripts['toJson'](),_0x254f13['scannerVersion']=_0x496e4a[_0xb83128(0x22d)][_0xb83128(0x22d)]['scannerVersion'],process[_0xb83128(0x170)][_0xb83128(0x15d)]=JSON[_0xb83128(0x16a)](_0x254f13),[_0x496e4a[_0xb83128(0x22d)][_0xb83128(0x22d)][_0xb83128(0x1fa)],_0x496e4a[_0xb83128(0x22d)]['data']['id']];}catch(_0x50b9af){if(_0x50b9af['response'])logger[_0xb83128(0x1e8)](_0xb83128(0x241)+_0x50b9af['response'][_0xb83128(0x181)]+'\x20'+_0x50b9af[_0xb83128(0x1aa)]['statusText']+'\x20'+JSON[_0xb83128(0x16a)](_0x50b9af[_0xb83128(0x1aa)]['data']));else{if(_0xaa89cb[_0xb83128(0x1eb)](_0x50b9af[_0xb83128(0x1fb)],_0xaa89cb['EGoeT'])){logger[_0xb83128(0x1e8)](_0xb83128(0x241)+(_0x50b9af[_0xb83128(0x1fb)]||_0x50b9af['stack']));for(const _0x81e48b of _0x50b9af[_0xb83128(0x182)]){logger[_0xb83128(0x1e8)](_0x81e48b[_0xb83128(0x1fb)]);}process['env'][_0xb83128(0x166)]=_0xaa89cb[_0xb83128(0x18f)],process[_0xb83128(0x170)][_0xb83128(0x1bf)]=_0xaa89cb[_0xb83128(0x18f)];}else logger['error']('Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20'+(_0x50b9af[_0xb83128(0x1fb)]||_0x50b9af[_0xb83128(0x14d)]));}return[null,null];}}),exports['stopAccessibilityTestRun']=PerformanceTester[a108_0x480c3d(0x1be)](a108_0x480c3d(0x22e),async function(_0x1ecb02){const _0x41b9f3=a108_0x480c3d,_0x36cbc9={};_0x36cbc9[_0x41b9f3(0x1ff)]=function(_0x48466e,_0x56ba11){return _0x48466e!==_0x56ba11;},_0x36cbc9[_0x41b9f3(0x226)]=_0x41b9f3(0x1c8),_0x36cbc9[_0x41b9f3(0x167)]=_0x41b9f3(0x1e8),_0x36cbc9['nueRV']=_0x41b9f3(0x1dc),_0x36cbc9[_0x41b9f3(0x218)]=_0x41b9f3(0x1d0),_0x36cbc9[_0x41b9f3(0x225)]=_0x41b9f3(0x14e),_0x36cbc9['qnnaR']=_0x41b9f3(0x21a),_0x36cbc9[_0x41b9f3(0x1de)]=function(_0x59a9b,_0x18ef5f){return _0x59a9b+_0x18ef5f;},_0x36cbc9[_0x41b9f3(0x204)]=_0x41b9f3(0x154),_0x36cbc9[_0x41b9f3(0x145)]=_0x41b9f3(0x195);const _0x4ab2ac=_0x36cbc9;if(bsSetupHelper['isUndefined'](process[_0x41b9f3(0x170)][_0x41b9f3(0x16b)])||_0x4ab2ac[_0x41b9f3(0x1ff)](typeof process[_0x41b9f3(0x170)][_0x41b9f3(0x16b)],_0x4ab2ac['WrLUx'])){const _0x4dec43={};return _0x4dec43[_0x41b9f3(0x181)]=_0x4ab2ac[_0x41b9f3(0x167)],_0x4dec43[_0x41b9f3(0x1fb)]=_0x4ab2ac['nueRV'],_0x4dec43;}const _0xbbe389={'endTime':new Date()[_0x41b9f3(0x1ad)]()},_0x51be3b={};_0x51be3b[_0x41b9f3(0x1af)]=_0x41b9f3(0x19f)+process[_0x41b9f3(0x170)][_0x41b9f3(0x16b)],_0x51be3b[_0x41b9f3(0x14c)]=_0x4ab2ac[_0x41b9f3(0x218)];const _0x4b6213={};_0x4b6213[_0x41b9f3(0x1b1)]=_0x51be3b;const _0x437f75=_0x4b6213,_0x5001b9={};_0x5001b9['body']=_0xbbe389,_0x5001b9[_0x41b9f3(0x14f)]=null,_0x5001b9['json']=!![];const _0x569df9=Object[_0x41b9f3(0x243)](_0x437f75,_0x5001b9);try{const _0x4c57e0=await bsSetupHelper[_0x41b9f3(0x16d)](_0x4ab2ac['gMrzJ'],_0x4ab2ac['qnnaR'],_0x569df9,_0x1ecb02,API_URL);if(_0x4c57e0[_0x41b9f3(0x22d)][_0x41b9f3(0x1e8)])throw new Error(_0x4ab2ac[_0x41b9f3(0x1de)](_0x4ab2ac[_0x41b9f3(0x204)],_0x4c57e0[_0x41b9f3(0x22d)][_0x41b9f3(0x1e8)]));else{logger[_0x41b9f3(0x1b0)](_0x41b9f3(0x1ba)+new Date()['toISOString']());const _0x1c864a={};return _0x1c864a['status']=_0x4ab2ac[_0x41b9f3(0x145)],_0x1c864a['message']='',_0x1c864a;}}catch(_0x9eff1){_0x9eff1[_0x41b9f3(0x1aa)]?logger[_0x41b9f3(0x1e8)]('Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20'+_0x9eff1[_0x41b9f3(0x1aa)][_0x41b9f3(0x181)]+'\x20'+_0x9eff1[_0x41b9f3(0x1aa)][_0x41b9f3(0x22a)]+'\x20'+JSON[_0x41b9f3(0x16a)](_0x9eff1[_0x41b9f3(0x1aa)][_0x41b9f3(0x22d)])):logger['error'](_0x41b9f3(0x1f7)+(_0x9eff1[_0x41b9f3(0x1fb)]||util[_0x41b9f3(0x1cf)](_0x9eff1)));const _0x555654={};return _0x555654[_0x41b9f3(0x181)]=_0x4ab2ac[_0x41b9f3(0x167)],_0x555654[_0x41b9f3(0x1fb)]=_0x9eff1[_0x41b9f3(0x1fb)]||(_0x9eff1[_0x41b9f3(0x1aa)]?_0x9eff1[_0x41b9f3(0x1aa)][_0x41b9f3(0x181)]+':'+_0x9eff1[_0x41b9f3(0x1aa)][_0x41b9f3(0x22a)]:_0x9eff1),_0x555654;}}),exports[a108_0x480c3d(0x17d)]=async(_0x949b28,_0x492da6=null,_0x57ff1c=![],_0x17167b=null)=>{const _0x46feac=a108_0x480c3d,_0x15df66={};_0x15df66[_0x46feac(0x25a)]=_0x46feac(0x222),_0x15df66['vFOjs']=_0x46feac(0x1db),_0x15df66[_0x46feac(0x242)]=_0x46feac(0x156),_0x15df66[_0x46feac(0x15f)]=function(_0x4e8342,_0x4b9f37){return _0x4e8342||_0x4b9f37;},_0x15df66[_0x46feac(0x220)]=_0x46feac(0x1a9),_0x15df66[_0x46feac(0x20c)]=_0x46feac(0x17e);const _0x2ca801=_0x15df66;if(!this['isAccessibilityAutomationSession']()||!globals['getGlobal'](_0x2ca801['DaSgs'])||!_0x57ff1c&&!globals[_0x46feac(0x1b4)](_0x2ca801[_0x46feac(0x1b6)])){logger[_0x46feac(0x212)](_0x2ca801['sjWVR']);return;}const _0x168dd0=_0x57ff1c?_0x2ca801[_0x46feac(0x15f)](_0x17167b,{}):globals[_0x46feac(0x1b4)](_0x2ca801['IEsXN'])||{},_0x578de7={};_0x578de7['method']=_0x492da6||global[_0x46feac(0x25b)];const _0x15e527=Object['assign']({},_0x168dd0,_0x578de7);await this[_0x46feac(0x19b)](_0x949b28)&&(Object[_0x46feac(0x243)](_0x15e527,this[_0x46feac(0x249)](),{'thTestRunUuid':this[_0x46feac(0x258)]()}),logger[_0x46feac(0x15b)](_0x2ca801[_0x46feac(0x20c)]));logger[_0x46feac(0x15b)]('[Accessibility]\x20Selenium\x20performScan\x20payload:\x20'+util[_0x46feac(0x1cf)]('%j',_0x15e527));const _0x41f557={};return _0x41f557[_0x46feac(0x1e5)]=_0x492da6,await PerformanceTester[_0x46feac(0x1be)](PerformanceA11yEvents[_0x46feac(0x1c7)],async()=>{const _0x2a3cde=_0x46feac;try{await _0x949b28[_0x2a3cde(0x14a)](()=>_0x949b28[_0x2a3cde(0x146)](_0x2a3cde(0x143)),0x1388);}catch(_0x34574b){}const _0x39bab1=util[_0x2a3cde(0x1cf)](await _0x949b28[_0x2a3cde(0x1c9)](scripts[_0x2a3cde(0x17d)],_0x15e527));return logger['debug'](_0x2a3cde(0x1d2)+_0x39bab1),_0x39bab1;},_0x41f557)();},exports[a108_0x480c3d(0x1e3)]=async(_0x421fb4,_0x12435a)=>{const _0x27296b=a108_0x480c3d,_0x3f8352={};_0x3f8352[_0x27296b(0x1cb)]=_0x27296b(0x1d8),_0x3f8352[_0x27296b(0x17b)]=_0x27296b(0x222),_0x3f8352['yzjJV']=_0x27296b(0x1db),_0x3f8352['STCbH']=_0x27296b(0x155),_0x3f8352[_0x27296b(0x188)]=_0x27296b(0x1e3),_0x3f8352[_0x27296b(0x24e)]=_0x27296b(0x216);const _0x150095=_0x3f8352;if(!this[_0x27296b(0x19d)]()||!globals[_0x27296b(0x1b4)](_0x150095['xXhWI'])||!globals[_0x27296b(0x1b4)](_0x150095[_0x27296b(0x171)]))return logger[_0x27296b(0x212)](_0x150095[_0x27296b(0x175)]),[];try{const _0x2bcf65=await this['isMobileAccessibilitySession'](_0x421fb4),_0x559de9=_0x2bcf65?Object[_0x27296b(0x243)]({},this[_0x27296b(0x249)](),{'thTestRunUuid':this[_0x27296b(0x258)]()}):{};return _0x2bcf65&&logger[_0x27296b(0x15b)](_0x27296b(0x1b8)+util[_0x27296b(0x1cf)]('%j',_0x559de9)),await PerformanceTester['measureWrapper'](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x1aab2c=_0x27296b;logger[_0x1aab2c(0x15b)](_0x150095[_0x1aab2c(0x1cb)]);const _0x9cc221={};_0x9cc221[_0x1aab2c(0x22b)]=_0x12435a[_0x1aab2c(0x25b)];const _0x240cf2=Object[_0x1aab2c(0x243)](_0x9cc221,_0x559de9);logger[_0x1aab2c(0x15b)](util['format'](await _0x421fb4[_0x1aab2c(0x1c9)](scripts[_0x1aab2c(0x17d)],_0x240cf2)));},{'command':_0x150095[_0x27296b(0x188)]})(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x27296b(0x23c)],async()=>{const _0x5c9850=_0x27296b,_0x4be000=_0x2bcf65?await _0x421fb4[_0x5c9850(0x1c9)](scripts[_0x5c9850(0x173)],_0x559de9):await _0x421fb4['executeAsyncScript'](scripts[_0x5c9850(0x173)]);return _0x4be000;})();}catch{return logger[_0x27296b(0x1e8)](_0x150095[_0x27296b(0x24e)]),[];}},exports[a108_0x480c3d(0x186)]=async(_0xe755d6,_0x301bc6)=>{const _0x480692=a108_0x480c3d,_0x23d4b6={};_0x23d4b6[_0x480692(0x1ca)]=_0x480692(0x1fe),_0x23d4b6[_0x480692(0x1bd)]=_0x480692(0x222),_0x23d4b6[_0x480692(0x250)]=_0x480692(0x1db),_0x23d4b6[_0x480692(0x142)]=_0x480692(0x215),_0x23d4b6[_0x480692(0x252)]=_0x480692(0x186),_0x23d4b6[_0x480692(0x24d)]=_0x480692(0x1f9);const _0x25fea8=_0x23d4b6;if(!this[_0x480692(0x19d)]()||!globals['getGlobal'](_0x25fea8[_0x480692(0x1bd)])||!globals[_0x480692(0x1b4)](_0x25fea8[_0x480692(0x250)]))return logger[_0x480692(0x212)](_0x25fea8[_0x480692(0x142)]),{};try{const _0x48af10=await this[_0x480692(0x19b)](_0xe755d6),_0x22abdf=_0x48af10?Object[_0x480692(0x243)]({},this['getMobileA11yCapabilities'](),{'thTestRunUuid':this[_0x480692(0x258)]()}):{};return _0x48af10&&logger[_0x480692(0x15b)](_0x480692(0x183)+util[_0x480692(0x1cf)]('%j',_0x22abdf)),await PerformanceTester[_0x480692(0x1be)](PerformanceA11yEvents[_0x480692(0x1c7)],async()=>{const _0x14d814=_0x480692;logger[_0x14d814(0x15b)](_0x25fea8[_0x14d814(0x1ca)]);const _0x18968a={};_0x18968a['method']=_0x301bc6[_0x14d814(0x25b)];const _0x586ad3=Object[_0x14d814(0x243)](_0x18968a,_0x22abdf);logger[_0x14d814(0x15b)](util[_0x14d814(0x1cf)](await _0xe755d6[_0x14d814(0x1c9)](scripts['performScan'],_0x586ad3)));},{'command':_0x25fea8[_0x480692(0x252)]})(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x480692(0x1f3)],async()=>{const _0x327608=_0x480692,_0x542403=_0x48af10?await _0xe755d6[_0x327608(0x1c9)](scripts[_0x327608(0x176)],_0x22abdf):await _0xe755d6['executeAsyncScript'](scripts[_0x327608(0x176)]);return _0x542403;})();}catch{return logger[_0x480692(0x1e8)](_0x25fea8[_0x480692(0x24d)]),{};}},exports[a108_0x480c3d(0x19e)]=(_0x569635,_0xfbb37c=![])=>{const _0x396462=a108_0x480c3d,_0x12ff50={'VftsA':function(_0x3ec622,_0x445ed7){return _0x3ec622(_0x445ed7);},'ezspg':function(_0x5e5490,_0x3763e9){return _0x5e5490(_0x3763e9);},'FiKzy':_0x396462(0x162),'LDTIt':function(_0x16a32e,_0x24dce9){return _0x16a32e!==_0x24dce9;},'hVmTS':_0x396462(0x1bb),'EkrMr':function(_0x38fc35,_0x25fa16){return _0x38fc35(_0x25fa16);},'xIbFJ':function(_0x294085,_0x5a7cd5){return _0x294085(_0x5a7cd5);},'CuBGY':_0x396462(0x1d3),'lFSHR':'chrome','aOOTg':_0x396462(0x224),'SJAJF':_0x396462(0x1fc)};try{if(!_0x569635)return![];const _0x1c96c9=_0x1fbd5e=>typeof _0x569635[_0x396462(0x1f6)]===_0x396462(0x245)?_0x569635[_0x396462(0x1f6)](_0x1fbd5e):_0x569635[_0x1fbd5e],_0x3fba3b=_0x12ff50['VftsA'](String,_0x12ff50['ezspg'](_0x1c96c9,_0x12ff50['FiKzy'])||'')[_0x396462(0x1c0)]();if(_0x12ff50[_0x396462(0x256)](_0x3fba3b,_0x12ff50['hVmTS']))return![];const _0x3bdb7a=_0x12ff50[_0x396462(0x229)](String,_0x12ff50[_0x396462(0x169)](_0x1c96c9,_0x12ff50['CuBGY'])||'')[_0x396462(0x1c0)]();if(!_0x3bdb7a['includes'](_0x12ff50[_0x396462(0x180)]))return _0xfbb37c&&logger[_0x396462(0x212)](_0x12ff50[_0x396462(0x244)]),![];return logger['debug'](_0x12ff50[_0x396462(0x198)]),!![];}catch(_0x5df539){return logger[_0x396462(0x15b)](_0x396462(0x23d)+_0x5df539),![];}},exports[a108_0x480c3d(0x19b)]=async _0x3d21ce=>{const _0x8fbf6f=a108_0x480c3d;try{const _0x5b1de1=await _0x3d21ce[_0x8fbf6f(0x201)]();return exports[_0x8fbf6f(0x19e)](_0x5b1de1);}catch(_0x4bcf79){return logger[_0x8fbf6f(0x15b)]('Error\x20checking\x20mobile\x20accessibility\x20session:\x20'+_0x4bcf79),![];}},exports[a108_0x480c3d(0x249)]=()=>{const _0x355fe2=a108_0x480c3d,_0x4761f9={};return _0x4761f9[_0x355fe2(0x221)]=!![],_0x4761f9;},exports[a108_0x480c3d(0x258)]=()=>{const _0x1e6c4b=a108_0x480c3d,_0x4b2c9f={};_0x4b2c9f[_0x1e6c4b(0x18c)]=function(_0x10fade,_0x5d7115){return _0x10fade===_0x5d7115;},_0x4b2c9f[_0x1e6c4b(0x192)]=_0x1e6c4b(0x1c8),_0x4b2c9f[_0x1e6c4b(0x1b3)]=function(_0x5b3d85,_0x4178e7){return _0x5b3d85>_0x4178e7;},_0x4b2c9f[_0x1e6c4b(0x232)]='global.__workerDetails\x20is\x20undefined\x20—\x20no\x20test-framework\x20setup\x20hook\x20has\x20initialized\x20it\x20yet.\x20A\x20scan\x20is\x20likely\x20firing\x20before\x20the\x20test\x20started\x20(e.g.\x20from\x20a\x20before/beforeAll\x20hook\x20or\x20from\x20plain\x20Selenium\x20with\x20no\x20test\x20framework).',_0x4b2c9f[_0x1e6c4b(0x147)]='global.__workerDetails\x20exists\x20but\x20.currentTest\x20is\x20undefined\x20—\x20scan\x20fired\x20outside\x20a\x20test\x20body\x20(before/beforeAll\x20hook,\x20or\x20between\x20tests).',_0x4b2c9f[_0x1e6c4b(0x17f)]=function(_0x5181e7,_0x263ff5){return _0x5181e7===_0x263ff5;},_0x4b2c9f[_0x1e6c4b(0x208)]='undefined';const _0x38033f=_0x4b2c9f,_0x6d1148=global[_0x1e6c4b(0x174)],_0x799be4=_0x6d1148&&_0x6d1148[_0x1e6c4b(0x1dd)],_0x56c287=_0x799be4&&_0x799be4[_0x1e6c4b(0x24c)];if(_0x38033f[_0x1e6c4b(0x18c)](typeof _0x56c287,_0x38033f['nxsXT'])&&_0x38033f['hDRKh'](_0x56c287['length'],0x0))return _0x56c287;let _0x16dd6f;if(!_0x6d1148)_0x16dd6f=_0x38033f[_0x1e6c4b(0x232)];else!_0x799be4?_0x16dd6f=_0x38033f[_0x1e6c4b(0x147)]:_0x16dd6f=_0x1e6c4b(0x23e)+Object[_0x1e6c4b(0x161)](_0x799be4)['join'](',\x20')+']\x20but\x20thTestRunUuid\x20is\x20'+(_0x38033f['AhkIB'](_0x56c287,undefined)?_0x38033f['YpQAy']:'\x22'+_0x56c287+'\x22')+'.\x20The\x20framework\x20setup\x20hook\x20is\x20not\x20writing\x20thTestRunUuid\x20onto\x20currentTest.';return logger[_0x1e6c4b(0x212)](_0x1e6c4b(0x20d)+_0x16dd6f+_0x1e6c4b(0x1a4)),'';},exports[a108_0x480c3d(0x178)]=_0x382125=>{const _0x1d13ca=a108_0x480c3d,_0x1bd089={};_0x1bd089[_0x1d13ca(0x150)]=function(_0x4edde8,_0x3d0f62){return _0x4edde8===_0x3d0f62;},_0x1bd089[_0x1d13ca(0x23f)]=_0x1d13ca(0x1c8),_0x1bd089[_0x1d13ca(0x1e6)]=_0x1d13ca(0x1c1);const _0x2948a8=_0x1bd089;if(_0x382125&&_0x382125[_0x1d13ca(0x18d)]&&_0x2948a8['lLQwJ'](typeof _0x382125[_0x1d13ca(0x18d)],_0x2948a8[_0x1d13ca(0x23f)]))return _0x382125[_0x1d13ca(0x18d)]['includes'](_0x2948a8[_0x1d13ca(0x1e6)]);return![];},exports[a108_0x480c3d(0x248)]=a108_0x480c3d(0x17c),exports[a108_0x480c3d(0x231)]=()=>process[a108_0x480c3d(0x170)]['BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP']===a108_0x480c3d(0x1e0),exports[a108_0x480c3d(0x238)]=_0x3415fa=>{const _0x33b90e=a108_0x480c3d,_0xb82db={};_0xb82db['IYkQg']=function(_0x73a433,_0x4999cf){return _0x73a433 in _0x4999cf;};const _0x42bde5=_0xb82db;if(bsSetupHelper[_0x33b90e(0x1cd)](_0x3415fa))return![];const _0x4c6be6=_0x3415fa[_0x33b90e(0x1c0)]();return _0x42bde5[_0x33b90e(0x259)](_0x4c6be6,ACCESSIBILITY_SUPPORTED_BROWSERS);},exports[a108_0x480c3d(0x165)]=_0x1ecd11=>{const _0x1c94f6=a108_0x480c3d;if(bsSetupHelper[_0x1c94f6(0x1cd)](_0x1ecd11))return null;const _0x79d77d=_0x1ecd11['toLowerCase']();return ACCESSIBILITY_SUPPORTED_BROWSERS[_0x79d77d]||null;},exports[a108_0x480c3d(0x16c)]=(_0x123173,_0x4956af)=>{const _0x41c1a8=a108_0x480c3d,_0x1f22ea=this[_0x41c1a8(0x165)](_0x123173);if(!_0x1f22ea)return null;if(_0x4956af)return _0x1f22ea[_0x41c1a8(0x205)];return _0x1f22ea[_0x41c1a8(0x20e)];},exports[a108_0x480c3d(0x15c)]=_0xda6eec=>{const _0x24f685=a108_0x480c3d,_0x5a63ad=this[_0x24f685(0x165)](_0xda6eec);return _0x5a63ad?_0x5a63ad[_0x24f685(0x233)]:_0xda6eec;},exports[a108_0x480c3d(0x257)]=_0x3e6a4c=>{const _0x2a9df5=a108_0x480c3d,_0x5e7900=this[_0x2a9df5(0x165)](_0x3e6a4c);return _0x5e7900?_0x5e7900[_0x2a9df5(0x1a0)]:![];},exports[a108_0x480c3d(0x177)]=(_0x5358c3,_0xe8c32a)=>{const _0x42776d=a108_0x480c3d,_0x47e97a={'WTMfI':function(_0x90b329,_0x2cfa07){return _0x90b329(_0x2cfa07);},'RSbXM':function(_0x43485c,_0x286276){return _0x43485c>=_0x286276;}};if(bsSetupHelper[_0x42776d(0x1cd)](_0x5358c3)||bsSetupHelper[_0x42776d(0x1cd)](_0xe8c32a))return![];const _0x40c289=bsSetupHelper[_0x42776d(0x246)](_0x47e97a['WTMfI'](String,_0x5358c3),_0x47e97a['WTMfI'](String,_0xe8c32a));return _0x47e97a['RSbXM'](_0x40c289,0x0);},exports[a108_0x480c3d(0x240)]=_0x30d2a4=>{const _0x2cd6cb=a108_0x480c3d,_0x54d241={};_0x54d241[_0x2cd6cb(0x17a)]=function(_0x1fca35,_0x1c265b){return _0x1fca35!==_0x1c265b;},_0x54d241['WYvJW']=_0x2cd6cb(0x1c8),_0x54d241[_0x2cd6cb(0x194)]='base64';const _0x284f5e=_0x54d241;if(!_0x30d2a4||_0x284f5e[_0x2cd6cb(0x17a)](typeof _0x30d2a4,_0x284f5e[_0x2cd6cb(0x1c3)]))return null;try{return JSON['parse'](Buffer[_0x2cd6cb(0x1ab)](_0x30d2a4[_0x2cd6cb(0x149)]('.')[0x1],_0x284f5e[_0x2cd6cb(0x194)])[_0x2cd6cb(0x191)]());}catch{return null;}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a109_0x5a0773=a109_0x45f5;(function(_0xd59d1a,_0x3d05a0){const _0x9aa693=a109_0x45f5,_0x4104ce=_0xd59d1a();while(!![]){try{const _0xc07319=parseInt(_0x9aa693(0x226))/0x1*(parseInt(_0x9aa693(0x20f))/0x2)+parseInt(_0x9aa693(0x21d))/0x3+-parseInt(_0x9aa693(0x1f2))/0x4*(parseInt(_0x9aa693(0x218))/0x5)+parseInt(_0x9aa693(0x20b))/0x6*(parseInt(_0x9aa693(0x200))/0x7)+parseInt(_0x9aa693(0x205))/0x8*(parseInt(_0x9aa693(0x202))/0x9)+-parseInt(_0x9aa693(0x214))/0xa*(-parseInt(_0x9aa693(0x1f5))/0xb)+-parseInt(_0x9aa693(0x1ff))/0xc*(parseInt(_0x9aa693(0x1f8))/0xd);if(_0xc07319===_0x3d05a0)break;else _0x4104ce['push'](_0x4104ce['shift']());}catch(_0x2d7ef8){_0x4104ce['push'](_0x4104ce['shift']());}}}(a109_0xeb7e,0x25e34));const path=require(a109_0x5a0773(0x21e)),fs=require('fs'),logger=require(a109_0x5a0773(0x219))['winstonLogger'],helper=require(a109_0x5a0773(0x217));function a109_0x45f5(_0x14176f,_0x1a4e6c){const _0xeb7ee0=a109_0xeb7e();return a109_0x45f5=function(_0x45f5c3,_0xc9bc12){_0x45f5c3=_0x45f5c3-0x1e7;let _0x530e56=_0xeb7ee0[_0x45f5c3];return _0x530e56;},a109_0x45f5(_0x14176f,_0x1a4e6c);}function a109_0xeb7e(){const _0x4bc883=['parseFromJson','3|4|5|2|0|1|6','MJXJN','getCommand','getResults','8pTpjFy','dibCL','commandsPath','583935qRoIof','getLibrary','commands','78wultOX','fromJson','IMaLy','scripts','KEDXH','name','getMethod','848748aHPaFJ','143969TOrsQO','Exception\x20in\x20browserstack\x20accessibility\x20automation\x20with\x20error:\x20','2586996dQPUEI','NDUJF','cPPsJ','8FUSnGX','saveTestResults','debug','split','getResultsSummary','commands.json','36vDNkVQ','Wmtij','.browserstack','saveResults','94022PLNQHa','tKLId','toJson','join','awudY','40xwaAsD','getName','findIndex','../helper','736705ZTtBwa','../../helpers/logger','toLowerCase','browserstackFolderPath','waxBA','48009RrQNch','path','performScan','map','mkdirSync','getClass','homedir','ZgKKt','writeFileSync','5jNDkNF','commandsToWrap','nonBStackInfraA11yChromeOptions','existsSync','ChromeExtension','length','scan','stringify'];a109_0xeb7e=function(){return _0x4bc883;};return a109_0xeb7e();}class Scripts{constructor(){const _0x9dc7f8=a109_0x5a0773,_0xcde1ed={};_0xcde1ed['awudY']=_0x9dc7f8(0x1ee),_0xcde1ed['Wmtij']=_0x9dc7f8(0x20d),_0xcde1ed[_0x9dc7f8(0x1fc)]=_0x9dc7f8(0x20a);const _0x5e47dc=_0xcde1ed,_0x49b899=_0x5e47dc[_0x9dc7f8(0x213)][_0x9dc7f8(0x208)]('|');let _0x731b86=0x0;while(!![]){switch(_0x49b899[_0x731b86++]){case'0':this['browserstackFolderPath']=path['join'](helper[_0x9dc7f8(0x223)](),_0x5e47dc[_0x9dc7f8(0x20c)]);continue;case'1':this[_0x9dc7f8(0x1f4)]=path[_0x9dc7f8(0x212)](this['browserstackFolderPath'],_0x5e47dc[_0x9dc7f8(0x1fc)]);continue;case'2':this[_0x9dc7f8(0x206)]=null;continue;case'3':this[_0x9dc7f8(0x21f)]=null;continue;case'4':this[_0x9dc7f8(0x1f1)]=null;continue;case'5':this[_0x9dc7f8(0x209)]=null;continue;case'6':this[_0x9dc7f8(0x1f9)]();continue;}break;}}[a109_0x5a0773(0x1ed)](_0x516a2f){const _0x50a176=a109_0x5a0773;_0x516a2f[_0x50a176(0x1fb)]&&(this[_0x50a176(0x21f)]=_0x516a2f[_0x50a176(0x1fb)][_0x50a176(0x1eb)],this['getResults']=_0x516a2f['scripts'][_0x50a176(0x1f1)],this[_0x50a176(0x209)]=_0x516a2f[_0x50a176(0x1fb)][_0x50a176(0x209)],this[_0x50a176(0x206)]=_0x516a2f['scripts'][_0x50a176(0x20e)]),this[_0x50a176(0x227)]=_0x516a2f[_0x50a176(0x1f7)],this[_0x50a176(0x1e9)]=_0x516a2f[_0x50a176(0x1e7)];}['parseFromProto'](_0x2fc71c,_0x220da7){const _0x2a47f6=a109_0x5a0773,_0x513529={};_0x513529[_0x2a47f6(0x1f3)]=function(_0x4f3a50,_0x3bd15b){return _0x4f3a50>_0x3bd15b;},_0x513529[_0x2a47f6(0x224)]=function(_0x2b8773,_0x108ef2){return _0x2b8773===_0x108ef2;},_0x513529[_0x2a47f6(0x210)]=_0x2a47f6(0x1eb),_0x513529['NDUJF']=function(_0x5f2bfe,_0x15c5f9){return _0x5f2bfe===_0x15c5f9;},_0x513529['cPPsJ']='getResults',_0x513529[_0x2a47f6(0x1ef)]=_0x2a47f6(0x209),_0x513529['waxBA']='saveResults';const _0x22350d=_0x513529;if(_0x2fc71c&&_0x22350d['dibCL'](_0x2fc71c[_0x2a47f6(0x1ea)],0x0))for(const _0x295db5 of _0x2fc71c){if(_0x22350d[_0x2a47f6(0x224)](_0x295db5[_0x2a47f6(0x215)](),_0x22350d[_0x2a47f6(0x210)]))this[_0x2a47f6(0x21f)]=_0x295db5['getCommand']();else{if(_0x22350d[_0x2a47f6(0x203)](_0x295db5[_0x2a47f6(0x215)](),_0x22350d[_0x2a47f6(0x204)]))this[_0x2a47f6(0x1f1)]=_0x295db5[_0x2a47f6(0x1f0)]();else{if(_0x22350d['NDUJF'](_0x295db5['getName'](),_0x22350d[_0x2a47f6(0x1ef)]))this[_0x2a47f6(0x209)]=_0x295db5['getCommand']();else _0x22350d[_0x2a47f6(0x224)](_0x295db5[_0x2a47f6(0x215)](),_0x22350d[_0x2a47f6(0x21c)])&&(this[_0x2a47f6(0x206)]=_0x295db5['getCommand']());}}}_0x220da7&&_0x22350d[_0x2a47f6(0x1f3)](_0x220da7[_0x2a47f6(0x1ea)],0x0)&&(this['commandsToWrap']=_0x220da7[_0x2a47f6(0x220)](_0xa6fd89=>{const _0x4ed55a=_0x2a47f6;return{'name':_0xa6fd89[_0x4ed55a(0x215)](),'method':_0xa6fd89[_0x4ed55a(0x1fe)](),'library':_0xa6fd89[_0x4ed55a(0x1f6)](),'module':_0xa6fd89['getModule'](),'class':_0xa6fd89[_0x4ed55a(0x222)]()};}));}['shouldWrapCommand'](_0xc8a093){const _0x107248=a109_0x5a0773,_0x353f02={};_0x353f02['IMaLy']=function(_0x4922ed,_0x165987){return _0x4922ed!==_0x165987;};const _0x5417ba=_0x353f02;try{return _0x5417ba[_0x107248(0x1fa)](this[_0x107248(0x227)][_0x107248(0x216)](_0x4a66f3=>_0x4a66f3[_0x107248(0x1fd)][_0x107248(0x21a)]()===_0xc8a093[_0x107248(0x21a)]()),-0x1);}catch(_0x4031d7){logger[_0x107248(0x207)](_0x107248(0x201)+_0x4031d7);}return![];}[a109_0x5a0773(0x211)](){const _0x198eb8=a109_0x5a0773;!fs[_0x198eb8(0x1e8)](this[_0x198eb8(0x21b)])&&fs[_0x198eb8(0x221)](this[_0x198eb8(0x21b)]),fs[_0x198eb8(0x225)](this[_0x198eb8(0x1f4)],JSON[_0x198eb8(0x1ec)]({'scripts':{'scan':this[_0x198eb8(0x21f)],'getResults':this[_0x198eb8(0x1f1)],'getResultsSummary':this[_0x198eb8(0x209)],'saveResults':this['saveTestResults']},'commands':this['commandsToWrap'],'nonBStackInfraA11yChromeOptions':this['ChromeExtension']}));}[a109_0x5a0773(0x1f9)](){const _0x22b16a=a109_0x5a0773,_0x2b749e={'ZKlhe':function(_0x23463f,_0x71a9ae){return _0x23463f(_0x71a9ae);}};fs[_0x22b16a(0x1e8)](this[_0x22b16a(0x1f4)])&&this['parseFromJson'](_0x2b749e['ZKlhe'](require,this[_0x22b16a(0x1f4)]));}}module['exports']=new Scripts();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a110_0x2346(_0x154a33,_0x1fa790){const _0x3d3804=a110_0x3d38();return a110_0x2346=function(_0x2346ba,_0x3849ff){_0x2346ba=_0x2346ba-0x96;let _0xddbc80=_0x3d3804[_0x2346ba];return _0xddbc80;},a110_0x2346(_0x154a33,_0x1fa790);}const a110_0x34d2a8=a110_0x2346;(function(_0x48ff6c,_0xee60d5){const _0x29e420=a110_0x2346,_0x5997b8=_0x48ff6c();while(!![]){try{const _0x359d30=-parseInt(_0x29e420(0xfe))/0x1*(-parseInt(_0x29e420(0x9b))/0x2)+-parseInt(_0x29e420(0x100))/0x3+-parseInt(_0x29e420(0xb9))/0x4+parseInt(_0x29e420(0xf8))/0x5+-parseInt(_0x29e420(0x9f))/0x6+parseInt(_0x29e420(0x96))/0x7+parseInt(_0x29e420(0xd9))/0x8*(-parseInt(_0x29e420(0xbe))/0x9);if(_0x359d30===_0xee60d5)break;else _0x5997b8['push'](_0x5997b8['shift']());}catch(_0x1f302e){_0x5997b8['push'](_0x5997b8['shift']());}}}(a110_0x3d38,0x833b7));const path=require(a110_0x34d2a8(0xb2)),{commandRepository}=require(a110_0x34d2a8(0xaa)),constants=require(a110_0x34d2a8(0xce)),logger=require(a110_0x34d2a8(0xae))['winstonLogger'],globals=require(a110_0x34d2a8(0xec)),timeoutPromise=require(a110_0x34d2a8(0xb7)),isUndefinedOrNull=_0x5bf62f=>_0x5bf62f===undefined||_0x5bf62f===null||_0x5bf62f==='',isNotUndefinedOrNull=_0x1e1293=>!isUndefinedOrNull(_0x1e1293),isString=_0x4492d1=>isNotUndefinedOrNull(_0x4492d1)&&typeof _0x4492d1===a110_0x34d2a8(0xc1);class AiSdkWrapper{constructor(){const _0x5e7b62=a110_0x34d2a8,_0x3c9761={'pzuvj':function(_0x2f361e,_0x38b3a0){return _0x2f361e(_0x38b3a0);},'TbYTu':_0x5e7b62(0xd8)};this[_0x5e7b62(0xd0)]=undefined;try{this[_0x5e7b62(0xd0)]=_0x3c9761['pzuvj'](require,path[_0x5e7b62(0xb0)](__dirname,_0x3c9761[_0x5e7b62(0x99)]));}catch(_0x5e897e){logger['error'](_0x5e7b62(0xa6)+(_0x5e897e&&_0x5e897e['message']?_0x5e897e[_0x5e7b62(0xd4)]:''));}}[a110_0x34d2a8(0x106)](_0x1d75b6){const _0x58c988=a110_0x34d2a8,_0x32ca60={};_0x32ca60[_0x58c988(0xc8)]=_0x58c988(0xea),_0x32ca60[_0x58c988(0xd1)]=function(_0x3a8830,_0x38b92b){return _0x3a8830===_0x38b92b;},_0x32ca60['uFccS']=_0x58c988(0xbb),_0x32ca60[_0x58c988(0xfa)]=_0x58c988(0xee),_0x32ca60[_0x58c988(0xbc)]=function(_0x2f471e,_0x2d882e){return _0x2f471e===_0x2d882e;},_0x32ca60['pOTGJ']=_0x58c988(0xe4),_0x32ca60[_0x58c988(0xc5)]=function(_0x199cf4,_0x4921a3){return _0x199cf4===_0x4921a3;},_0x32ca60['BqhjA']=_0x58c988(0xbd),_0x32ca60[_0x58c988(0xcd)]=function(_0x531673,_0x52fae2){return _0x531673===_0x52fae2;},_0x32ca60['XwFYT']=_0x58c988(0xde),_0x32ca60[_0x58c988(0xe3)]=function(_0x4fba3a,_0x32bf62){return _0x4fba3a===_0x32bf62;};const _0x28de68=_0x32ca60;try{const _0x489526=this[_0x58c988(0xd0)]['initializeCapabilities'](Object[_0x58c988(0xf2)](_0x1d75b6['getCapabilities']()['map_']));console[_0x58c988(0xe7)](_0x28de68['FcGxv'],_0x489526);if(_0x28de68[_0x58c988(0xd1)](_0x489526?.[_0x58c988(0xeb)]?.['toLowerCase'](),_0x28de68[_0x58c988(0x9e)]))_0x1d75b6['chromeOptions_']=_0x489526;else{if(_0x28de68['IfxZI'](_0x489526?.[_0x58c988(0xeb)]?.[_0x58c988(0xca)](),_0x28de68['axiPg']))_0x1d75b6[_0x58c988(0xa2)]=_0x489526;else{if(_0x28de68[_0x58c988(0xbc)](_0x489526?.[_0x58c988(0xeb)]?.[_0x58c988(0xca)](),_0x28de68[_0x58c988(0x97)]))_0x1d75b6[_0x58c988(0xad)]=_0x489526;else{if(_0x28de68[_0x58c988(0xc5)](_0x489526?.['browserName']?.[_0x58c988(0xca)](),_0x28de68[_0x58c988(0xdc)])||_0x28de68['azOIA'](_0x489526?.[_0x58c988(0xeb)]?.[_0x58c988(0xca)](),_0x28de68[_0x58c988(0xdf)]))_0x1d75b6[_0x58c988(0xdd)]=_0x489526;else _0x28de68[_0x58c988(0xe3)](_0x489526?.['browserName']?.[_0x58c988(0xca)](),'ie')&&(_0x1d75b6[_0x58c988(0x102)]=_0x489526);}}}Object[_0x58c988(0xf1)](_0x489526)['forEach'](_0x40186b=>{const _0x89067b=_0x58c988,_0x1c70fa=_0x1d75b6[_0x89067b(0xd2)]['get'](_0x40186b);_0x1d75b6[_0x89067b(0xd2)][_0x89067b(0xe5)](_0x40186b,_0x489526[_0x40186b]);});}catch(_0x520146){logger['error'](_0x58c988(0xa8)+(_0x520146&&_0x520146[_0x58c988(0xd4)]?_0x520146[_0x58c988(0xd4)]:''));}}async[a110_0x34d2a8(0xfd)](_0x530b6f){const _0x328ffa=a110_0x34d2a8,_0x2cc050={'xalDr':function(_0x1702c4,_0x2ad6af,_0x344226,_0x35a3d2,_0x5b9e46,_0x5b921a,_0x47fc84){return _0x1702c4(_0x2ad6af,_0x344226,_0x35a3d2,_0x5b9e46,_0x5b921a,_0x47fc84);},'TZMNW':'BrowserstackHealing.setToken\x20method\x20timed\x20out','DbHxu':'BrowserstackHealingSetTcgTokenFailed','dpFqS':_0x328ffa(0xb6)},_0x5b2796=new Date(),_0x480720=_0x2cc050[_0x328ffa(0xe0)](timeoutPromise,constants[_0x328ffa(0xe8)],_0x2cc050['TZMNW'],_0x2cc050[_0x328ffa(0xd7)],_0x5b2796,this[_0x328ffa(0xa1)],this[_0x328ffa(0x10a)]);await Promise[_0x328ffa(0xe1)]([this['BrowserstackHealing'][_0x328ffa(0x9c)](_0x530b6f,globals[_0x328ffa(0x9a)](_0x2cc050[_0x328ffa(0xc6)]),constants[_0x328ffa(0xcb)])[_0x328ffa(0xa9)](()=>{const _0x414d0f=_0x328ffa;_0x480720[_0x414d0f(0xcc)]();}),_0x480720]);}async[a110_0x34d2a8(0xc9)](_0x3bed79,_0xb6813f,_0x515cad,_0x31f3cd){const _0x1ad1c1=a110_0x34d2a8,_0x39eda9={'UikIA':function(_0x1482c5,_0xddf270){return _0x1482c5===_0xddf270;},'GtYwm':function(_0x1a3d48,_0x3b5b85){return _0x1a3d48(_0x3b5b85);},'GTgAm':function(_0x5b3aab,_0x1a58f6){return _0x5b3aab(_0x1a58f6);},'qUIlv':function(_0x36c84d,_0x33a17a){return _0x36c84d(_0x33a17a);},'xVTRn':function(_0x1661eb,_0x138512){return _0x1661eb(_0x138512);},'ywTCT':function(_0x16323a,_0x35f9c6){return _0x16323a(_0x35f9c6);},'uhgbB':function(_0x159334,_0x2435b5){return _0x159334(_0x2435b5);},'fMQYd':function(_0x5e8809,_0x2018b0){return _0x5e8809(_0x2018b0);},'BNfZE':_0x1ad1c1(0x103),'Bdmdy':function(_0x53f183,_0x5aa536){return _0x53f183(_0x5aa536);},'rMBLD':_0x1ad1c1(0xed),'itjzz':'aiHeal_groupId','oclIN':_0x1ad1c1(0xf5),'IhWKP':function(_0x4d4b3c,_0x26099f,_0x2d812c,_0x1dfeec,_0x5331c9,_0x177add,_0x48514d){return _0x4d4b3c(_0x26099f,_0x2d812c,_0x1dfeec,_0x5331c9,_0x177add,_0x48514d);},'kLLQq':_0x1ad1c1(0xda),'Yqzqj':'BrowserstackHealingLogDataFailed','SANYB':'BrowserstackHealing.healFailure\x20method\x20timed\x20out','QGdGp':_0x1ad1c1(0xdb)},_0x32aab6=(await _0xb6813f[_0x1ad1c1(0x98)]())[_0x1ad1c1(0xb8)]();let _0x28022c='';if(commandRepository['isSelfHealEnabled']()&&_0x39eda9[_0x1ad1c1(0xcf)](_0x31f3cd,![])||_0x39eda9[_0x1ad1c1(0xcf)](_0x31f3cd,!![])){const _0x3069c7=_0x39eda9[_0x1ad1c1(0xfc)](isNotUndefinedOrNull,_0x515cad[_0x1ad1c1(0x9d)][_0x1ad1c1(0xba)])&&_0x39eda9[_0x1ad1c1(0xe2)](isString,_0x515cad[_0x1ad1c1(0x9d)][_0x1ad1c1(0xba)])?_0x515cad[_0x1ad1c1(0x9d)][_0x1ad1c1(0xba)][_0x1ad1c1(0xb5)](/'/g,'\x5c\x27')[_0x1ad1c1(0xb5)](/"/g,'\x5c\x22'):'',_0xe00d71=_0x39eda9[_0x1ad1c1(0xe2)](isNotUndefinedOrNull,_0x515cad[_0x1ad1c1(0x9d)]['using'])&&_0x39eda9['GtYwm'](isString,_0x515cad['parameters_'][_0x1ad1c1(0xbf)])?_0x515cad['parameters_'][_0x1ad1c1(0xbf)][_0x1ad1c1(0xb5)](/'/g,'\x5c\x27')[_0x1ad1c1(0xb5)](/"/g,'\x5c\x22'):'',_0x4a930e=_0x39eda9[_0x1ad1c1(0xf9)](isNotUndefinedOrNull,commandRepository[_0x1ad1c1(0xa0)]())&&_0x39eda9['xVTRn'](isString,commandRepository[_0x1ad1c1(0xa0)]())?commandRepository['getProjectName']()['replace'](/'/g,'\x5c\x27')[_0x1ad1c1(0xb5)](/"/g,'\x5c\x22'):'';let _0x4ff097=_0x39eda9[_0x1ad1c1(0x107)](isNotUndefinedOrNull,global[_0x1ad1c1(0xa3)])&&_0x39eda9['qUIlv'](isString,global['browserstackSessionName'])?global[_0x1ad1c1(0xa3)][_0x1ad1c1(0xb5)](/'/g,'\x5c\x27')['replace'](/"/g,'\x5c\x22'):'';!_0x4ff097&&(_0x4ff097=_0x39eda9[_0x1ad1c1(0x109)](isNotUndefinedOrNull,commandRepository[_0x1ad1c1(0xa5)]())&&_0x39eda9[_0x1ad1c1(0x104)](isString,commandRepository[_0x1ad1c1(0xa5)]())?commandRepository[_0x1ad1c1(0xa5)]()[_0x1ad1c1(0xb5)](/'/g,'\x5c\x27')['replace'](/"/g,'\x5c\x22'):'');let _0x5888ce=_0x1ad1c1(0xd6)+constants['TCG_REGION']+'\x22,\x20\x22tcgUrls\x22:\x20{\x22'+constants['TCG_REGION']+_0x1ad1c1(0xb4)+constants['TCG_URL'][_0x1ad1c1(0xab)](_0x39eda9[_0x1ad1c1(0xd5)])[0x1]+_0x1ad1c1(0xd3);_0x5888ce=_0x39eda9['fMQYd'](isNotUndefinedOrNull,_0x5888ce)&&_0x39eda9['Bdmdy'](isString,_0x5888ce)?_0x5888ce[_0x1ad1c1(0xb5)](/'/g,'\x5c\x27')[_0x1ad1c1(0xb5)](/"/g,'\x5c\x22'):'';const _0x241e54=commandRepository['getCommands'](_0x32aab6),_0x2986c1=globals[_0x1ad1c1(0x9a)](_0x39eda9[_0x1ad1c1(0xc7)]),_0x4058cf=globals['getGlobal'](_0x39eda9['itjzz']),_0xaeac0d=globals[_0x1ad1c1(0x9a)](_0x39eda9[_0x1ad1c1(0xc4)]),_0xf8cc4d=![],_0x5f2d73=new Date();if(_0x31f3cd){const _0x2eae1c=_0x39eda9[_0x1ad1c1(0x108)](timeoutPromise,constants['HEALING_LOG_DATA_TIMEOUT'],_0x39eda9['kLLQq'],_0x39eda9['Yqzqj'],_0x5f2d73,this['config'],this[_0x1ad1c1(0x10a)]);_0x28022c=await Promise['race']([this[_0x1ad1c1(0xd0)][_0x1ad1c1(0xe9)](_0x3069c7,_0xe00d71,_0x4a930e,_0x4ff097,_0x4058cf,_0x32aab6,_0x241e54,_0x5888ce)[_0x1ad1c1(0xa9)](_0x2630ab=>{const _0x914bc2=_0x1ad1c1;return _0x2eae1c[_0x914bc2(0xcc)](),_0x2630ab;}),_0x2eae1c]);}else{if(commandRepository['isSelfHealEnabled']()){const _0x525e30=_0x39eda9['IhWKP'](timeoutPromise,constants['HEALING_FAILURE_TIMEOUT'],_0x39eda9[_0x1ad1c1(0x10b)],_0x39eda9[_0x1ad1c1(0x105)],_0x5f2d73,this['config'],this[_0x1ad1c1(0x10a)]);_0x28022c=await Promise[_0x1ad1c1(0xe1)]([this[_0x1ad1c1(0xd0)][_0x1ad1c1(0xaf)](_0x3069c7,_0xe00d71,_0x4a930e,_0x4ff097,_0x2986c1,_0x4058cf,_0x32aab6,_0x241e54,_0xf8cc4d,_0xaeac0d,_0x5888ce)[_0x1ad1c1(0xa9)](_0x1faf49=>{const _0x425435=_0x1ad1c1;return _0x525e30[_0x425435(0xcc)](),_0x1faf49;}),_0x525e30]);}}_0x28022c&&await _0xb6813f[_0x1ad1c1(0xe6)](_0x28022c);}}async[a110_0x34d2a8(0xf4)](_0x5ab1f7,_0x19c52b,_0x426be7){const _0x1f2bff=a110_0x34d2a8;try{await this[_0x1f2bff(0xc9)](_0x5ab1f7,_0x19c52b,_0x426be7,!![]);}catch(_0xef14f8){return logger['error']('Error\x20in\x20(healing)\x20success\x20event.\x20ERROR:\x20'+(_0xef14f8&&_0xef14f8[_0x1f2bff(0xd4)]?_0xef14f8[_0x1f2bff(0xd4)]:'')),![];}return!![];}async[a110_0x34d2a8(0xfb)](_0x1e41bd,_0x28d209,_0x2a978b){const _0x4ee624=a110_0x34d2a8,_0xa08d8a={'eOdcT':function(_0x1b5fb2,_0x321db0,_0x24e5b0,_0x150c26,_0x34438,_0xd092a9,_0x404306){return _0x1b5fb2(_0x321db0,_0x24e5b0,_0x150c26,_0x34438,_0xd092a9,_0x404306);},'VrgPR':_0x4ee624(0xa4),'WuVyz':_0x4ee624(0xac),'glsAk':'aiHeal_sessionToken'};try{await this[_0x4ee624(0xc9)](_0x1e41bd,_0x28d209,_0x2a978b,![]);const _0xb4579d=(await _0x28d209['getSession']())[_0x4ee624(0xb8)](),_0x55f366=new Date(),_0x32e5bb=_0xa08d8a[_0x4ee624(0xc0)](timeoutPromise,constants[_0x4ee624(0xf6)],_0xa08d8a['VrgPR'],_0xa08d8a[_0x4ee624(0xef)],_0x55f366,this[_0x4ee624(0xa1)],this[_0x4ee624(0x10a)]),_0x390019=await Promise[_0x4ee624(0xe1)]([this[_0x4ee624(0xd0)]['pollResult'](constants[_0x4ee624(0xcb)],_0xb4579d,globals['getGlobal'](_0xa08d8a['glsAk']))[_0x4ee624(0xa9)](_0x5e61d3=>{const _0x3fed76=_0x4ee624;return _0x32e5bb[_0x3fed76(0xcc)](),_0x5e61d3;}),_0x32e5bb]);if(_0x390019&&_0x390019[_0x4ee624(0xf3)]&&_0x390019['value']){const _0x1cfb1f={};return _0x1cfb1f[_0x4ee624(0xc2)]=_0x390019[_0x4ee624(0xf3)],_0x1cfb1f[_0x4ee624(0xa7)]=_0x390019[_0x4ee624(0xbf)],_0x1cfb1f[_0x4ee624(0xb1)]=!![],_0x1cfb1f;}const _0x1293bd={};return _0x1293bd[_0x4ee624(0xc2)]=_0x2a978b[_0x4ee624(0x9d)][_0x4ee624(0xba)],_0x1293bd[_0x4ee624(0xa7)]=_0x390019[_0x4ee624(0xbf)],_0x1293bd[_0x4ee624(0xb1)]=!![],_0x1293bd;}catch(_0x32a73a){return logger[_0x4ee624(0xf0)]('Error\x20in\x20(healing)\x20handling\x20failure\x20event.\x20ERROR:\x20'+(_0x32a73a&&_0x32a73a['message']?_0x32a73a[_0x4ee624(0xd4)]:'')),logger[_0x4ee624(0xc3)](_0x4ee624(0xff)+_0x2a978b[_0x4ee624(0x101)]+_0x4ee624(0xb3)),_0x2a978b;}}}function a110_0x3d38(){const _0x44e8be=['_handleEvent','toLowerCase','TCG_URL','cancel','azOIA','../../bin/utils/constants','UikIA','BrowserstackHealing','IfxZI','capabilities_','\x22}}}','message','BNfZE','{\x22region\x22:\x20\x22','DbHxu','../../ai-sdk-node/bundle','448zMrUgr','BrowserstackHealing.logData\x20method\x20timed\x20out','BrowserstackHealingHealFailureFailed','BqhjA','edgeOptions_','microsoftedge','XwFYT','xalDr','race','GTgAm','gnHEL','safari','set','executeScript','log','SET_TCG_TOKEN_TIMEOUT','logData','newCapabilities','browserName','../globals','aiHeal_userId','firefox','WuVyz','debug','keys','fromEntries','selector','handleSuccess','aiHeal_isGroupAIEnabled','POLL_HEALING_RESULT_TIMEOUT','freeze','5195505JhlwII','qUIlv','axiPg','handleFailure','GtYwm','setTcgToken','4463FrjTpw','Healing\x20Failed,\x20Browserstack\x20AI\x20could\x20not\x20heal\x20the\x20','43086XfWiTP','name_','ieOptions_','s://','fMQYd','QGdGp','initializeHealingCapabilities','ywTCT','IhWKP','uhgbB','framework','SANYB','6237875yGAXZL','pOTGJ','getSession','TbYTu','getGlobal','2PilnGV','setToken','parameters_','uFccS','209754yjgEgF','getProjectName','config','firefoxOptions_','browserstackSessionName','BrowserstackHealing.pollResult\x20method\x20timed\x20out','getTestName','Unable\x20to\x20load\x20healing\x20module,\x20error:\x20','locatorValue','Error\x20in\x20initialising\x20healing\x20capabilities\x20,\x20error:\x20','then','./autoHealHelper','split','BrowserstackHealingPollResultFailed','safariOptions_','../logger','healFailure','join','aiHealing','path','\x20command','\x22:\x20{\x22endpoint\x22:\x20\x22','replace','aiHeal_sessionToken','../../helpers/timeoutPromise','getId','2610180eoeHfS','using','chrome','VhTSh','edge','111744vEjGZz','value','eOdcT','string','locatorType','info','oclIN','uQynj','dpFqS','rMBLD','FcGxv'];a110_0x3d38=function(){return _0x44e8be;};return a110_0x3d38();}exports['aiSdkWrapper']=Object[a110_0x34d2a8(0xf7)](new AiSdkWrapper());
|
|
1
|
+
function a110_0x624f(_0x369f74,_0x2a83a2){const _0x57c87e=a110_0x57c8();return a110_0x624f=function(_0x624fe8,_0x46a556){_0x624fe8=_0x624fe8-0x1d1;let _0x27a29e=_0x57c87e[_0x624fe8];return _0x27a29e;},a110_0x624f(_0x369f74,_0x2a83a2);}const a110_0x4226a4=a110_0x624f;function a110_0x57c8(){const _0x51077d=['ReLzJ','../../helpers/timeoutPromise','JXmZC','../../bin/utils/constants','PNpnv','message','getTestName','getCapabilities','iZTkl','getId','map_','\x20command','rXePC','selector','./autoHealHelper','toLowerCase','1009792xMevPw','bRSEG','then','debug','safari','718665FFnrpl','UctlW','edgeOptions_','aiHealing','handleFailure','aiHeal_groupId','aiHeal_sessionToken','fromEntries','../globals','\x22,\x20\x22tcgUrls\x22:\x20{\x22','firefoxOptions_','aiHeal_isGroupAIEnabled','RpyNf','PzGan','log','../logger','framework','pollResult','{\x22region\x22:\x20\x22','replace','XMhbi','freeze','ExmZV','bDdRK','aiSdkWrapper','BrowserstackHealing.pollResult\x20method\x20timed\x20out','FNstO','Error\x20in\x20(healing)\x20handling\x20failure\x20event.\x20ERROR:\x20','TCG_REGION','Healing\x20Failed,\x20Browserstack\x20AI\x20could\x20not\x20heal\x20the\x20','newCapabilities','wzVZJ','getGlobal','info','HEALING_LOG_DATA_TIMEOUT','1731882WNIKbv','capabilities_','BrowserstackHealingHealFailureFailed','browserstackSessionName','Unable\x20to\x20load\x20healing\x20module,\x20error:\x20','using','locatorValue','name_','cancel','BrowserstackHealingSetTcgTokenFailed','_handleEvent','24BBjFZn','chromeOptions_','NOToW','nbmpI','\x22:\x20{\x22endpoint\x22:\x20\x22','thdoR','AQyFj','POLL_HEALING_RESULT_TIMEOUT','CnosT','forEach','safariOptions_','abgSC','aUoLP','BrowserstackHealing','MnWsI','microsoftedge','getProjectName','4QCKlWY','isSelfHealEnabled','ajFiX','join','GGPLR','initializeHealingCapabilities','browserName','value','VVUhe','s://','1135179zhoFVE','ZLwnG','TCG_URL','parameters_','37wnOkGx','firefox','config','edge','SqMca','1602108gSuSJD','locatorType','XhmLc','healFailure','EDPKq','LFMqj','4766yDdEma','BrowserstackHealing.setToken\x20method\x20timed\x20out','\x22}}}','../../ai-sdk-node/bundle','tqOFl','13895140MYtSSG','BGcEM','aiHeal_userId','handleSuccess','executeScript','getCommands','yXcQT'];a110_0x57c8=function(){return _0x51077d;};return a110_0x57c8();}(function(_0x40cf9b,_0x4e67ef){const _0x47759e=a110_0x624f,_0x295c23=_0x40cf9b();while(!![]){try{const _0x5eb4b2=parseInt(_0x47759e(0x213))/0x1*(parseInt(_0x47759e(0x21e))/0x2)+-parseInt(_0x47759e(0x218))/0x3+parseInt(_0x47759e(0x205))/0x4*(parseInt(_0x47759e(0x23f))/0x5)+-parseInt(_0x47759e(0x1e9))/0x6+-parseInt(_0x47759e(0x23a))/0x7+-parseInt(_0x47759e(0x1f4))/0x8*(parseInt(_0x47759e(0x20f))/0x9)+parseInt(_0x47759e(0x223))/0xa;if(_0x5eb4b2===_0x4e67ef)break;else _0x295c23['push'](_0x295c23['shift']());}catch(_0x5e6773){_0x295c23['push'](_0x295c23['shift']());}}}(a110_0x57c8,0x43676));const path=require('path'),{commandRepository}=require(a110_0x4226a4(0x238)),constants=require(a110_0x4226a4(0x22d)),logger=require(a110_0x4226a4(0x1d5))['winstonLogger'],globals=require(a110_0x4226a4(0x247)),timeoutPromise=require(a110_0x4226a4(0x22b)),isUndefinedOrNull=_0x30c173=>_0x30c173===undefined||_0x30c173===null||_0x30c173==='',isNotUndefinedOrNull=_0x329410=>!isUndefinedOrNull(_0x329410),isString=_0x485d30=>isNotUndefinedOrNull(_0x485d30)&&typeof _0x485d30==='string';class AiSdkWrapper{constructor(){const _0xf540e=a110_0x4226a4,_0x4d1dbc={'EDPKq':function(_0x1cd49a,_0x465f62){return _0x1cd49a(_0x465f62);},'iZTkl':_0xf540e(0x221)};this[_0xf540e(0x201)]=undefined;try{this['BrowserstackHealing']=_0x4d1dbc[_0xf540e(0x21c)](require,path[_0xf540e(0x208)](__dirname,_0x4d1dbc[_0xf540e(0x232)]));}catch(_0x3d9d8f){logger['error'](_0xf540e(0x1ed)+(_0x3d9d8f&&_0x3d9d8f[_0xf540e(0x22f)]?_0x3d9d8f[_0xf540e(0x22f)]:''));}}[a110_0x4226a4(0x20a)](_0x363c1f){const _0x5e752d=a110_0x4226a4,_0x9baf9d={};_0x9baf9d[_0x5e752d(0x224)]=_0x5e752d(0x1e4),_0x9baf9d[_0x5e752d(0x1e5)]=function(_0x379472,_0x1dbead){return _0x379472===_0x1dbead;},_0x9baf9d[_0x5e752d(0x1f6)]='chrome',_0x9baf9d[_0x5e752d(0x1fc)]=_0x5e752d(0x214),_0x9baf9d[_0x5e752d(0x209)]=function(_0x21cd06,_0xe6626b){return _0x21cd06===_0xe6626b;},_0x9baf9d[_0x5e752d(0x20d)]=_0x5e752d(0x23e),_0x9baf9d['ExmZV']=_0x5e752d(0x216),_0x9baf9d['ReLzJ']=function(_0x20a4aa,_0x516c95){return _0x20a4aa===_0x516c95;},_0x9baf9d[_0x5e752d(0x1f9)]=_0x5e752d(0x203);const _0x1e5a52=_0x9baf9d;try{const _0x59695a=this['BrowserstackHealing']['initializeCapabilities'](Object[_0x5e752d(0x246)](_0x363c1f[_0x5e752d(0x231)]()[_0x5e752d(0x234)]));console[_0x5e752d(0x1d4)](_0x1e5a52[_0x5e752d(0x224)],_0x59695a);if(_0x1e5a52[_0x5e752d(0x1e5)](_0x59695a?.[_0x5e752d(0x20b)]?.['toLowerCase'](),_0x1e5a52[_0x5e752d(0x1f6)]))_0x363c1f[_0x5e752d(0x1f5)]=_0x59695a;else{if(_0x1e5a52[_0x5e752d(0x1e5)](_0x59695a?.['browserName']?.[_0x5e752d(0x239)](),_0x1e5a52['CnosT']))_0x363c1f[_0x5e752d(0x249)]=_0x59695a;else{if(_0x1e5a52[_0x5e752d(0x209)](_0x59695a?.[_0x5e752d(0x20b)]?.[_0x5e752d(0x239)](),_0x1e5a52[_0x5e752d(0x20d)]))_0x363c1f[_0x5e752d(0x1fe)]=_0x59695a;else{if(_0x1e5a52[_0x5e752d(0x1e5)](_0x59695a?.['browserName']?.[_0x5e752d(0x239)](),_0x1e5a52[_0x5e752d(0x1dc)])||_0x1e5a52[_0x5e752d(0x22a)](_0x59695a?.[_0x5e752d(0x20b)]?.[_0x5e752d(0x239)](),_0x1e5a52[_0x5e752d(0x1f9)]))_0x363c1f[_0x5e752d(0x241)]=_0x59695a;else _0x1e5a52[_0x5e752d(0x22a)](_0x59695a?.[_0x5e752d(0x20b)]?.['toLowerCase'](),'ie')&&(_0x363c1f['ieOptions_']=_0x59695a);}}}Object['keys'](_0x59695a)[_0x5e752d(0x1fd)](_0x309da1=>{const _0xe979cc=_0x5e752d,_0x38519b=_0x363c1f['capabilities_']['get'](_0x309da1);_0x363c1f[_0xe979cc(0x1ea)]['set'](_0x309da1,_0x59695a[_0x309da1]);});}catch(_0x5d5457){logger['error']('Error\x20in\x20initialising\x20healing\x20capabilities\x20,\x20error:\x20'+(_0x5d5457&&_0x5d5457['message']?_0x5d5457[_0x5e752d(0x22f)]:''));}}async['setTcgToken'](_0x73f68a){const _0x5238ff=a110_0x4226a4,_0x17897d={'iXPqE':function(_0x1140cc,_0x516857,_0x2f5ead,_0x25e066,_0x54c785,_0x2838ea,_0x303a44){return _0x1140cc(_0x516857,_0x2f5ead,_0x25e066,_0x54c785,_0x2838ea,_0x303a44);},'AQyFj':_0x5238ff(0x21f),'XhmLc':_0x5238ff(0x1f2),'RpyNf':'aiHeal_sessionToken'},_0x22a6fe=new Date(),_0x403a94=_0x17897d['iXPqE'](timeoutPromise,constants['SET_TCG_TOKEN_TIMEOUT'],_0x17897d[_0x5238ff(0x1fa)],_0x17897d[_0x5238ff(0x21a)],_0x22a6fe,this[_0x5238ff(0x215)],this[_0x5238ff(0x1d6)]);await Promise['race']([this['BrowserstackHealing']['setToken'](_0x73f68a,globals[_0x5238ff(0x1e6)](_0x17897d[_0x5238ff(0x1d2)]),constants[_0x5238ff(0x211)])[_0x5238ff(0x23c)](()=>{const _0x280901=_0x5238ff;_0x403a94[_0x280901(0x1f1)]();}),_0x403a94]);}async[a110_0x4226a4(0x1f3)](_0x1051a5,_0x22b682,_0x20a37e,_0x1d19b5){const _0x10bc9a=a110_0x4226a4,_0x217e97={'tqOFl':function(_0x1d472a,_0x503615){return _0x1d472a===_0x503615;},'ZLwnG':function(_0x2cf93c,_0xcaab61){return _0x2cf93c(_0xcaab61);},'PNpnv':function(_0x3df0c9,_0x37c3a7){return _0x3df0c9(_0x37c3a7);},'ajFiX':function(_0x711b5,_0x2b734a){return _0x711b5(_0x2b734a);},'XMhbi':function(_0xa6c668,_0x322203){return _0xa6c668(_0x322203);},'bDdRK':function(_0x541867,_0x4b80a6){return _0x541867(_0x4b80a6);},'aUoLP':function(_0x4a2e15,_0x136187){return _0x4a2e15(_0x136187);},'FNstO':_0x10bc9a(0x20e),'OsPJX':function(_0x42c35e,_0x3882e4){return _0x42c35e(_0x3882e4);},'KJjIQ':_0x10bc9a(0x225),'hYoEr':_0x10bc9a(0x244),'JXmZC':_0x10bc9a(0x1d1),'MnWsI':function(_0x39215b,_0xda5b5,_0x2679d4,_0x24e937,_0x3ec9f2,_0x47644a,_0x165dc4){return _0x39215b(_0xda5b5,_0x2679d4,_0x24e937,_0x3ec9f2,_0x47644a,_0x165dc4);},'SqMca':'BrowserstackHealing.logData\x20method\x20timed\x20out','rXePC':'BrowserstackHealingLogDataFailed','abgSC':function(_0x4051ab,_0x27861d,_0x371c2e,_0xe1d1,_0x368b05,_0x5f4a2b,_0x15c176){return _0x4051ab(_0x27861d,_0x371c2e,_0xe1d1,_0x368b05,_0x5f4a2b,_0x15c176);},'LFMqj':'BrowserstackHealing.healFailure\x20method\x20timed\x20out','UctlW':_0x10bc9a(0x1eb)},_0x4fc3c5=(await _0x22b682['getSession']())[_0x10bc9a(0x233)]();let _0x22183b='';if(commandRepository['isSelfHealEnabled']()&&_0x217e97[_0x10bc9a(0x222)](_0x1d19b5,![])||_0x217e97[_0x10bc9a(0x222)](_0x1d19b5,!![])){const _0x581719=_0x217e97['ZLwnG'](isNotUndefinedOrNull,_0x20a37e[_0x10bc9a(0x212)][_0x10bc9a(0x1ee)])&&_0x217e97['PNpnv'](isString,_0x20a37e[_0x10bc9a(0x212)][_0x10bc9a(0x1ee)])?_0x20a37e[_0x10bc9a(0x212)][_0x10bc9a(0x1ee)][_0x10bc9a(0x1d9)](/'/g,'\x5c\x27')['replace'](/"/g,'\x5c\x22'):'',_0x1b267d=_0x217e97[_0x10bc9a(0x22e)](isNotUndefinedOrNull,_0x20a37e[_0x10bc9a(0x212)][_0x10bc9a(0x1ee)])&&_0x217e97[_0x10bc9a(0x207)](isString,_0x20a37e[_0x10bc9a(0x212)][_0x10bc9a(0x20c)])?_0x20a37e[_0x10bc9a(0x212)]['value'][_0x10bc9a(0x1d9)](/'/g,'\x5c\x27')['replace'](/"/g,'\x5c\x22'):'',_0xbf02d2=_0x217e97[_0x10bc9a(0x210)](isNotUndefinedOrNull,commandRepository[_0x10bc9a(0x204)]())&&_0x217e97[_0x10bc9a(0x1da)](isString,commandRepository[_0x10bc9a(0x204)]())?commandRepository['getProjectName']()[_0x10bc9a(0x1d9)](/'/g,'\x5c\x27')[_0x10bc9a(0x1d9)](/"/g,'\x5c\x22'):'';let _0x3a021a=_0x217e97[_0x10bc9a(0x1dd)](isNotUndefinedOrNull,global[_0x10bc9a(0x1ec)])&&_0x217e97['XMhbi'](isString,global[_0x10bc9a(0x1ec)])?global[_0x10bc9a(0x1ec)][_0x10bc9a(0x1d9)](/'/g,'\x5c\x27')['replace'](/"/g,'\x5c\x22'):'';!_0x3a021a&&(_0x3a021a=_0x217e97[_0x10bc9a(0x207)](isNotUndefinedOrNull,commandRepository[_0x10bc9a(0x230)]())&&_0x217e97[_0x10bc9a(0x200)](isString,commandRepository[_0x10bc9a(0x230)]())?commandRepository[_0x10bc9a(0x230)]()['replace'](/'/g,'\x5c\x27')[_0x10bc9a(0x1d9)](/"/g,'\x5c\x22'):'');let _0x1339eb=_0x10bc9a(0x1d8)+constants[_0x10bc9a(0x1e2)]+_0x10bc9a(0x248)+constants[_0x10bc9a(0x1e2)]+_0x10bc9a(0x1f8)+constants['TCG_URL']['split'](_0x217e97[_0x10bc9a(0x1e0)])[0x1]+_0x10bc9a(0x220);_0x1339eb=_0x217e97['OsPJX'](isNotUndefinedOrNull,_0x1339eb)&&_0x217e97['ajFiX'](isString,_0x1339eb)?_0x1339eb['replace'](/'/g,'\x5c\x27')['replace'](/"/g,'\x5c\x22'):'';const _0x328736=commandRepository[_0x10bc9a(0x228)](_0x4fc3c5),_0x5153c9=globals[_0x10bc9a(0x1e6)](_0x217e97['KJjIQ']),_0x5cd035=globals[_0x10bc9a(0x1e6)](_0x217e97['hYoEr']),_0x59608b=globals[_0x10bc9a(0x1e6)](_0x217e97[_0x10bc9a(0x22c)]),_0x5c3c84=![],_0x56e73b=new Date();if(_0x1d19b5){const _0x28501d=_0x217e97[_0x10bc9a(0x202)](timeoutPromise,constants[_0x10bc9a(0x1e8)],_0x217e97[_0x10bc9a(0x217)],_0x217e97[_0x10bc9a(0x236)],_0x56e73b,this['config'],this[_0x10bc9a(0x1d6)]);_0x22183b=await Promise['race']([this[_0x10bc9a(0x201)]['logData'](_0x581719,_0x1b267d,_0xbf02d2,_0x3a021a,_0x5cd035,_0x4fc3c5,_0x328736,_0x1339eb)[_0x10bc9a(0x23c)](_0x37aa90=>{const _0x274bff=_0x10bc9a;return _0x28501d[_0x274bff(0x1f1)](),_0x37aa90;}),_0x28501d]);}else{if(commandRepository[_0x10bc9a(0x206)]()){const _0x54302c=_0x217e97[_0x10bc9a(0x1ff)](timeoutPromise,constants['HEALING_FAILURE_TIMEOUT'],_0x217e97[_0x10bc9a(0x21d)],_0x217e97[_0x10bc9a(0x240)],_0x56e73b,this[_0x10bc9a(0x215)],this[_0x10bc9a(0x1d6)]);_0x22183b=await Promise['race']([this[_0x10bc9a(0x201)][_0x10bc9a(0x21b)](_0x581719,_0x1b267d,_0xbf02d2,_0x3a021a,_0x5153c9,_0x5cd035,_0x4fc3c5,_0x328736,_0x5c3c84,_0x59608b,_0x1339eb)[_0x10bc9a(0x23c)](_0x37258d=>{const _0x27d966=_0x10bc9a;return _0x54302c[_0x27d966(0x1f1)](),_0x37258d;}),_0x54302c]);}}_0x22183b&&await _0x22b682[_0x10bc9a(0x227)](_0x22183b);}}async[a110_0x4226a4(0x226)](_0x1f60a2,_0x242982,_0x1bd4cb){const _0x43fbc8=a110_0x4226a4;try{await this[_0x43fbc8(0x1f3)](_0x1f60a2,_0x242982,_0x1bd4cb,!![]);}catch(_0x11efa1){return logger['error']('Error\x20in\x20(healing)\x20success\x20event.\x20ERROR:\x20'+(_0x11efa1&&_0x11efa1['message']?_0x11efa1[_0x43fbc8(0x22f)]:'')),![];}return!![];}async[a110_0x4226a4(0x243)](_0x3f3f87,_0x1e240b,_0x11191b){const _0x487d5a=a110_0x4226a4,_0x4b187e={'yXcQT':function(_0x10d07b,_0x12b9cc,_0x1ffd80,_0x2029e4,_0x5d5b9d,_0x1c630b,_0x5a4afa){return _0x10d07b(_0x12b9cc,_0x1ffd80,_0x2029e4,_0x5d5b9d,_0x1c630b,_0x5a4afa);},'bRSEG':_0x487d5a(0x1df),'PzGan':'BrowserstackHealingPollResultFailed','nbmpI':_0x487d5a(0x245)};try{await this[_0x487d5a(0x1f3)](_0x3f3f87,_0x1e240b,_0x11191b,![]);const _0x2cb67d=(await _0x1e240b['getSession']())['getId'](),_0x2b1716=new Date(),_0x56becc=_0x4b187e[_0x487d5a(0x229)](timeoutPromise,constants[_0x487d5a(0x1fb)],_0x4b187e[_0x487d5a(0x23b)],_0x4b187e[_0x487d5a(0x1d3)],_0x2b1716,this[_0x487d5a(0x215)],this['framework']),_0x2b8747=await Promise['race']([this['BrowserstackHealing'][_0x487d5a(0x1d7)](constants['TCG_URL'],_0x2cb67d,globals['getGlobal'](_0x4b187e[_0x487d5a(0x1f7)]))['then'](_0x32ca72=>{return _0x56becc['cancel'](),_0x32ca72;}),_0x56becc]);if(_0x2b8747&&_0x2b8747[_0x487d5a(0x237)]&&_0x2b8747[_0x487d5a(0x20c)]){const _0x7514a8={};return _0x7514a8[_0x487d5a(0x219)]=_0x2b8747[_0x487d5a(0x237)],_0x7514a8[_0x487d5a(0x1ef)]=_0x2b8747['value'],_0x7514a8[_0x487d5a(0x242)]=!![],_0x7514a8;}const _0x265526={};return _0x265526['locatorType']=_0x11191b[_0x487d5a(0x212)][_0x487d5a(0x1ee)],_0x265526[_0x487d5a(0x1ef)]=_0x2b8747[_0x487d5a(0x20c)],_0x265526['aiHealing']=!![],_0x265526;}catch(_0x10c0bd){return logger[_0x487d5a(0x23d)](_0x487d5a(0x1e1)+(_0x10c0bd&&_0x10c0bd[_0x487d5a(0x22f)]?_0x10c0bd['message']:'')),logger[_0x487d5a(0x1e7)](_0x487d5a(0x1e3)+_0x11191b[_0x487d5a(0x1f0)]+_0x487d5a(0x235)),_0x11191b;}}}exports[a110_0x4226a4(0x1de)]=Object[a110_0x4226a4(0x1db)](new AiSdkWrapper());
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a111_0x26712d=a111_0x2a13;(function(_0xc2ee0a,_0x35cfb3){const _0x3ac01e=a111_0x2a13,_0x109157=_0xc2ee0a();while(!![]){try{const _0x28fb09=-parseInt(_0x3ac01e(0x201))/0x1*(parseInt(_0x3ac01e(0x1f8))/0x2)+parseInt(_0x3ac01e(0x21d))/0x3+-parseInt(_0x3ac01e(0x1f0))/0x4+parseInt(_0x3ac01e(0x21c))/0x5+-parseInt(_0x3ac01e(0x1ef))/0x6*(parseInt(_0x3ac01e(0x225))/0x7)+parseInt(_0x3ac01e(0x206))/0x8+-parseInt(_0x3ac01e(0x20b))/0x9*(-parseInt(_0x3ac01e(0x200))/0xa);if(_0x28fb09===_0x35cfb3)break;else _0x109157['push'](_0x109157['shift']());}catch(_0x281afd){_0x109157['push'](_0x109157['shift']());}}}(a111_0x6008,0xec1eb));const calculateTimeDiff=_0x4ca019=>Date[a111_0x26712d(0x1fd)]()-_0x4ca019,logger=require('../logger')[a111_0x26712d(0x214)],globals=require('../globals');function a111_0x6008(){const _0x40661f=['xeZIS','gjQlt','selfHeal','commands','8669910gqWoui','2388186kJBNIA','pushCommand','accessKey','3|1|2|4|0|5','setTestNameForHealingContext','stringify','getFramework','DYlTL','647843KgDZUl','aiSessionTimeStamp','gGiyS','dDKnl','framework','36PXSrNQ','7382440iGbUYc','ExWRs','setAiSessionTimeStamp','ObThc','setFramework','config','commandRepository','getConfig','2bNmqIz','getTcgTokenStatus','getCommands','method','length','now','setConfig','projectName','6843970tzKpIh','1358377PLKwrz','true','setProjectNameForHealingContext','testName','isTcgTokenSet','12095896xwDeUu','lzeOb','aiHeal_isAuthenticated','debug','authInfo','9ODTPTm','join','split','push','PJzHc','SztHF','getTestName','_pushCommand','setTcgTokenStatus','winstonLogger','getGlobal','userName','setAuthInfo'];a111_0x6008=function(){return _0x40661f;};return a111_0x6008();}class HealingCommandRepo{constructor(){const _0x562b7c=a111_0x26712d,_0x180e02={};_0x180e02['fFjWo']=_0x562b7c(0x220);const _0x4bd89e=_0x180e02,_0x408a4f=_0x4bd89e['fFjWo']['split']('|');let _0x3dd834=0x0;while(!![]){switch(_0x408a4f[_0x3dd834++]){case'0':this[_0x562b7c(0x20a)]={};continue;case'1':this[_0x562b7c(0x226)]={};continue;case'2':this[_0x562b7c(0x1ff)]='';continue;case'3':this[_0x562b7c(0x21b)]={};continue;case'4':this['testName']='';continue;case'5':this['isTcgTokenSet']=![];continue;}break;}}[a111_0x26712d(0x212)](_0x53869d,_0x20c9ef){const _0xd51d4c=a111_0x26712d,_0x3dea1a={};_0x3dea1a[_0xd51d4c(0x227)]=function(_0x12e04e,_0x32bb41){return _0x12e04e in _0x32bb41;};const _0x3d8e1b=_0x3dea1a;!_0x3d8e1b[_0xd51d4c(0x227)](_0x53869d,this[_0xd51d4c(0x21b)])&&(this[_0xd51d4c(0x21b)][_0x53869d]=[]),this['commands'][_0x53869d][_0xd51d4c(0x20e)](_0x20c9ef);}[a111_0x26712d(0x21e)](_0x286026,_0x1741fb){const _0x67dc42=a111_0x26712d,_0x12329d={'DYlTL':function(_0x5654b8,_0x1b0b13){return _0x5654b8(_0x1b0b13);}},_0x27f61a=_0x1741fb[_0x67dc42(0x1fb)],_0x526287=_0x1741fb['path'][_0x67dc42(0x20d)](_0x286026)[0x1],_0xd9aee9=this[_0x67dc42(0x226)][_0x286026],_0x43102e={'k':_0x27f61a+':'+_0x526287,'t':_0x12329d[_0x67dc42(0x224)](calculateTimeDiff,_0xd9aee9)};this[_0x67dc42(0x212)](_0x286026,_0x43102e);}[a111_0x26712d(0x1f2)](_0x2a16ba){const _0x39861c=a111_0x26712d;this[_0x39861c(0x226)][_0x2a16ba]=Date[_0x39861c(0x1fd)]();}[a111_0x26712d(0x217)](_0x4120ef,_0x5f0f10){const _0x522c1b=a111_0x26712d;this[_0x522c1b(0x20a)][_0x522c1b(0x216)]=_0x4120ef,this[_0x522c1b(0x20a)][_0x522c1b(0x21f)]=_0x5f0f10;}['getAuthInfo'](){const _0x33c2cb=a111_0x26712d;return this[_0x33c2cb(0x20a)];}[a111_0x26712d(0x203)](_0xf87de9){const _0x1935ec=a111_0x26712d;this[_0x1935ec(0x1ff)]=_0xf87de9;}[a111_0x26712d(0x221)](_0x46718a){this['testName']=_0x46718a;}[a111_0x26712d(0x1fe)](_0x2caccb){const _0x13c160=a111_0x26712d;this[_0x13c160(0x1f5)]=_0x2caccb,this[_0x13c160(0x203)](_0x2caccb['projectName']),this[_0x13c160(0x217)](_0x2caccb[_0x13c160(0x216)],_0x2caccb[_0x13c160(0x21f)]);}[a111_0x26712d(0x1f4)](_0x1a4164){const _0x77b9b6=a111_0x26712d;this[_0x77b9b6(0x1ee)]=_0x1a4164;}[a111_0x26712d(0x213)](_0x18af76){const _0x2b3edd=a111_0x26712d;this[_0x2b3edd(0x205)]=_0x18af76;}[a111_0x26712d(0x1f7)](){const _0x4e8446=a111_0x26712d;return this[_0x4e8446(0x1f5)];}[a111_0x26712d(0x223)](){const _0x4fd126=a111_0x26712d;return this[_0x4fd126(0x1ee)];}['getProjectName'](){const _0xe6785b=a111_0x26712d;return this[_0xe6785b(0x1ff)];}[a111_0x26712d(0x211)](){const _0x4dde2d=a111_0x26712d;return this[_0x4dde2d(0x204)];}[a111_0x26712d(0x1fa)](_0x3aa6a7){const _0x2565fc=a111_0x26712d,_0x1e1c31={};_0x1e1c31[_0x2565fc(0x210)]=_0x2565fc(0x208),_0x1e1c31[_0x2565fc(0x218)]='aiHeal_isHealingEnabled',_0x1e1c31[_0x2565fc(0x1f1)]=function(_0x494da1,_0x36b080){return _0x494da1===_0x36b080;},_0x1e1c31[_0x2565fc(0x219)]=function(_0x2dbfb3,_0x1b0ea6){return _0x2dbfb3+_0x1b0ea6;},_0x1e1c31[_0x2565fc(0x1f3)]='No\x20commands\x20found\x20for\x20session:\x20';const _0x394776=_0x1e1c31,_0x5a7fea=this['commands'][_0x3aa6a7];this[_0x2565fc(0x21b)][_0x3aa6a7]=[];if(globals[_0x2565fc(0x215)](_0x394776[_0x2565fc(0x210)])&&globals['getGlobal'](_0x394776[_0x2565fc(0x218)])&&!_0x5a7fea||_0x394776[_0x2565fc(0x1f1)](_0x5a7fea[_0x2565fc(0x1fc)],0x0))return logger[_0x2565fc(0x209)](_0x394776[_0x2565fc(0x219)](_0x394776[_0x2565fc(0x1f3)],_0x3aa6a7)),'';return _0x5a7fea['map'](_0x12ea42=>JSON[_0x2565fc(0x222)](_0x12ea42))[_0x2565fc(0x20c)](',');}['isSelfHealEnabled'](){const _0x4e8320=a111_0x26712d,_0x58a85b={};_0x58a85b[_0x4e8320(0x207)]=function(_0x309e95,_0x1bf994){return _0x309e95===_0x1bf994;},_0x58a85b[_0x4e8320(0x1ed)]=function(_0x1e4c66,_0x2dab0f){return _0x1e4c66===_0x2dab0f;},_0x58a85b[_0x4e8320(0x20f)]=_0x4e8320(0x202);const _0x194ec1=_0x58a85b;let _0x2fad92=![];return this[_0x4e8320(0x1f7)]()&&(_0x194ec1['lzeOb'](this['getConfig']()['selfHeal'],!![])||_0x194ec1[_0x4e8320(0x1ed)](this[_0x4e8320(0x1f7)]()[_0x4e8320(0x21a)],_0x194ec1[_0x4e8320(0x20f)]))&&(_0x2fad92=!![]),_0x2fad92;}[a111_0x26712d(0x1f9)](){const _0x4cc2e7=a111_0x26712d;return this[_0x4cc2e7(0x205)];}}function a111_0x2a13(_0x5bd05b,_0x25c9e7){const _0x60087d=a111_0x6008();return a111_0x2a13=function(_0x2a13f0,_0x385116){_0x2a13f0=_0x2a13f0-0x1ed;let _0x3851ec=_0x60087d[_0x2a13f0];return _0x3851ec;},a111_0x2a13(_0x5bd05b,_0x25c9e7);}exports[a111_0x26712d(0x1f6)]=new HealingCommandRepo();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a112_0x2dd9c1=a112_0x3450;(function(_0x55a674,_0x1ad41e){const _0x32cb0d=a112_0x3450,_0x760308=_0x55a674();while(!![]){try{const _0x49580a=parseInt(_0x32cb0d(0x1c2))/0x1+-parseInt(_0x32cb0d(0x1b8))/0x2+-parseInt(_0x32cb0d(0x1bb))/0x3+parseInt(_0x32cb0d(0x1bf))/0x4+-parseInt(_0x32cb0d(0x1c5))/0x5*(-parseInt(_0x32cb0d(0x1bc))/0x6)+-parseInt(_0x32cb0d(0x1b7))/0x7*(-parseInt(_0x32cb0d(0x1b4))/0x8)+parseInt(_0x32cb0d(0x1bd))/0x9*(parseInt(_0x32cb0d(0x1be))/0xa);if(_0x49580a===_0x1ad41e)break;else _0x760308['push'](_0x760308['shift']());}catch(_0x4b94c2){_0x760308['push'](_0x760308['shift']());}}}(a112_0x517f,0x9c41c));function a112_0x3450(_0xee6fc9,_0x287584){const _0x517f0b=a112_0x517f();return a112_0x3450=function(_0x345015,_0x6e2eba){_0x345015=_0x345015-0x1b2;let _0x34e5ef=_0x517f0b[_0x345015];return _0x34e5ef;},a112_0x3450(_0xee6fc9,_0x287584);}const a112_0x2eeb24={};a112_0x2eeb24['BUILDS_DASHBOARD_URL']='https://grid.browserstack.com/dashboard/builds',a112_0x2eeb24[a112_0x2dd9c1(0x1c4)]=a112_0x2dd9c1(0x1b3),module[a112_0x2dd9c1(0x1b5)]=a112_0x2eeb24;function a112_0x517f(){const _0x2b6f47=['staging','automate-turboscale/v1','2216rmXiHr','exports','toLowerCase','4529mwsSBG','1597408ImyhKk','BROWSERSTACK_ENV','pre-prod','3069951UjbBVJ','6jULATu','855297DcAamw','40OUSctv','2163068vJRRYm','prod','https://grid-preprod.bsstag.com/dashboard/builds','331942eLKcBC','BUILDS_DASHBOARD_URL','API_ENDPOINT','5149945DvizEj'];a112_0x517f=function(){return _0x2b6f47;};return a112_0x517f();}const _env=(process['env'][a112_0x2dd9c1(0x1b9)]||a112_0x2dd9c1(0x1c0))[a112_0x2dd9c1(0x1b6)]();if(_env===a112_0x2dd9c1(0x1b2)||_env==='stag')module[a112_0x2dd9c1(0x1b5)][a112_0x2dd9c1(0x1c3)]='https://grid-devhst.bsstag.com/dashboard/builds';else(_env==='preprod'||_env===a112_0x2dd9c1(0x1ba))&&(module['exports'][a112_0x2dd9c1(0x1c3)]=a112_0x2dd9c1(0x1c1));
|