browserstack-node-sdk 1.57.0 → 1.57.2
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 -3
- 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
|
-
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
|
+
const a106_0x27deff=a106_0x3af9;(function(_0x9f6ee2,_0x29958d){const _0x5200df=a106_0x3af9,_0x24e252=_0x9f6ee2();while(!![]){try{const _0x4b3c67=-parseInt(_0x5200df(0x8e))/0x1*(parseInt(_0x5200df(0x139))/0x2)+parseInt(_0x5200df(0x11a))/0x3*(parseInt(_0x5200df(0x110))/0x4)+parseInt(_0x5200df(0x113))/0x5+-parseInt(_0x5200df(0xaa))/0x6+parseInt(_0x5200df(0xf8))/0x7+-parseInt(_0x5200df(0xb3))/0x8*(parseInt(_0x5200df(0x8d))/0x9)+parseInt(_0x5200df(0x14d))/0xa*(parseInt(_0x5200df(0x13e))/0xb);if(_0x4b3c67===_0x29958d)break;else _0x24e252['push'](_0x24e252['shift']());}catch(_0x3a06b4){_0x24e252['push'](_0x24e252['shift']());}}}(a106_0x44be,0x2159d));const util=require(a106_0x27deff(0xac)),logger=require(a106_0x27deff(0xe7))[a106_0x27deff(0xff)],accessibilityHelper=require('./helper'),globals=require(a106_0x27deff(0xf2)),scripts=require(a106_0x27deff(0x10f)),PerformanceTester=require('../performance/performance-tester'),{A11Y_EVENTS:PerformanceA11yEvents}=require(a106_0x27deff(0x82)),BrowserstackCLI=require(a106_0x27deff(0xd2));let playwrightA11yHelper=null;try{playwrightA11yHelper=require('../../bin/playwright/accessibility-helper');}catch(a106_0x1eaae9){logger['debug'](a106_0x27deff(0xe1));}function a106_0x44be(){const _0x583ca1=['isSeleniumDriver','reason','../performance/constants','PERFORM_SCAN','QaVUJ','Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20','OSVcR','Page','gjyvn','\x20failed\x20for\x20method:\x20','uobdJ','bstackA11yShouldScan','\x20-\x20not\x20applicable','18ngvCmK','65622HhrrRD','capabilitiesList','IHiBd','Accessibility\x20scan\x20attempt\x20','JMvdc','script','jeVPK','setSeleniumScriptTimeout',').\x20Last\x20error:\x20','Cannot\x20set\x20script\x20timeout:\x20not\x20a\x20Selenium\x20WebDriver','QxHOI','uBUVv','results','ms\x20using\x20setTimeouts\x20API','manage','vAUAO','Scan\x20attempt\x20','RHgTM','iuYbb','Haodu','fulfilled','race','maxRetries','Accessibility\x20results\x20summary\x20retrieved\x20successfully\x20on\x20attempt\x20',',\x20cannot\x20save\x20accessibility\x20results\x20with\x20retry.','isAccessibilityPlatform','[Accessibility]\x20Scan\x20skipped\x20-\x20scanning\x20is\x20currently\x20disabled\x20(partial\x20scan\x20mode)','Qcqxr','1591260WLWzvk','fFxcj','util','NJfwR','setScriptTimeout','playwright-codecept-driver','isAccessibilityAutomationSession','getAccessibilityResultsSummaryWithRetry','browserstackSessionName','1086728lMUTXK','sbbTz','type','UBUgM','Unknown\x20driver/page\x20type:\x20','Selenium\x20WebDriver\x20manage()\x20method\x20not\x20available,\x20skipping\x20timeout\x20setting','getSession','allSettled','Skipping\x20timeout\x20setting\x20for\x20','message','kfhkm','fZzYs','iIyKf','ebBnx','All\x20accessibility\x20scan\x20attempts\x20failed\x20for\x20method:\x20','ybMhj','Accessibility\x20scan\x20succeeded\x20on\x20attempt\x20',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20with\x20retry.','getAccessibilityResultsSummary','isMobilePlatform','driverType','env','izFRt','bTJEJ','setPlaywrightScriptTimeout','bstackA11yScanOptions','Failed\x20to\x20retrieve\x20accessibility\x20results\x20(','constructor','Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20','All\x20accessibility\x20results\x20save\x20attempts\x20failed\x20(','Accessibility\x20retry\x20configuration\x20updated:\x20','../../bin/v2/browserstackCLI',',\x20cannot\x20perform\x20scan\x20with\x20retry.','getAccessibilityResults','scanSucceeded','DJjka','setTimeouts','):\x20','All\x20accessibility\x20results\x20retrieval\x20attempts\x20failed\x20(','RTZkh','Selenium\x20WebDriver\x20timeout\x20API\x20not\x20available,\x20skipping\x20timeout\x20setting','isRunning','getGlobal','EWiBo','timeoutMs','Accessibility\x20results\x20save\x20attempt\x20','Playwright\x20accessibility\x20helper\x20not\x20available','YzvfZ','Failed\x20to\x20set\x20Selenium\x20script\x20timeout:\x20','setDefaultTimeout','ms\x20using\x20timeouts()\x20API','undefined','../logger','Xfgpc','ms\x20using\x20setScriptTimeout\x20API','unknown','BNXdo','error','unknown_method','defaultTimeoutMs','summary','WebDriver','timeouts','../globals','url','VWAgX','executeAsyncScript','max','evaluate','374192XwQJUa','assign','getCapabilities','oCkZE','Operation\x20timed\x20out\x20after\x20','saveAccessibilityResultsWithRetry','value','winstonLogger','getCurrentUrl','rjDxE','wjLcr','rRbtr','HBuBm','wfhlK','currentTest','Accessibility\x20results\x20retrieval\x20attempt\x20','page','saQRk','izuGi','Failed\x20to\x20retrieve\x20accessibility\x20summary\x20(','dcRbV','accessibilityPlatform','NPOeq','./scripts','4SKwnmM','info','Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20','1311450nMgtNb','WfCSK','isPlaywright','Unknown\x20error','pvUKY','debug','FVeMl','374517IdxyIt','UIQrS','wbgUR','WbdSr','\x20failed\x20(','IhWau','qDovu','getAccessibilityModule','name','PyVbc','performScan','yrHgB','enJvS','JXhcf','eQTwd','getInstance','selenium-webdriver','pcHNJ','vDfrH',')\x20with\x20error:\x20','GfZaj','Unknown\x20error\x20during\x20comprehensive\x20accessibility\x20scan','\x20completed\x20successfully.','stringify','ywEIv','Accessibility\x20results\x20retrieved\x20successfully\x20on\x20attempt\x20','DSfme',').\x20Error:\x20','XtorI','Playwright','warn','2pFnsig','isPlaywrightPage','AMLrK','BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT','tHovD','26917xIgxRi','Set\x20Playwright\x20page\x20default\x20timeout\x20to\x20','cNClS','Comprehensive\x20accessibility\x20scan\x20failed\x20(','\x20for\x20method:\x20','hXoIu','function','MAHOD','status','goto','fxlFD','Kgpgj','WEdUP','UNQXy','ZDJdL','1220Ythwax','scannerProcessingTimeout','jWKSx','Failed\x20to\x20set\x20Playwright\x20script\x20timeout:\x20','VFrSZ','bxctP',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary\x20with\x20retry.','getRetryConfig','UGIrT'];a106_0x44be=function(){return _0x583ca1;};return a106_0x44be();}const a106_0x1ccc2a={};a106_0x1ccc2a['maxRetries']=0x1,a106_0x1ccc2a[a106_0x27deff(0xdf)]=0x7530,a106_0x1ccc2a['defaultTimeoutMs']=0x7530;function a106_0x3af9(_0x1f0380,_0x32085a){const _0x44be2c=a106_0x44be();return a106_0x3af9=function(_0x3af927,_0x52cfbe){_0x3af927=_0x3af927-0x82;let _0x13a8bf=_0x44be2c[_0x3af927];return _0x13a8bf;},a106_0x3af9(_0x1f0380,_0x32085a);}const RETRY_CONFIG=a106_0x1ccc2a,setConfigTimeout=(_0x36d3bb,_0x38ebd1=null)=>{const _0x26daaa=a106_0x27deff,_0x5be7a9={'sbbTz':function(_0x1dcff6,_0xc63a76){return _0x1dcff6===_0xc63a76;},'NPOeq':_0x26daaa(0x14e),'UGIrT':function(_0x251dec,_0x3d9375){return _0x251dec*_0x3d9375;},'vDfrH':function(_0x4563bb,_0x5a2687){return _0x4563bb(_0x5a2687);},'VFrSZ':function(_0xac3bee,_0x4bd30a){return _0xac3bee(_0x4bd30a);}};if(BrowserstackCLI['getInstance']()[_0x26daaa(0xdc)]()&&BrowserstackCLI['getInstance']()[_0x26daaa(0x121)]()){const _0x3b53f0=BrowserstackCLI[_0x26daaa(0x129)]()[_0x26daaa(0x121)]()['accessibilityConfig'],_0x58607e=_0x3b53f0['options'][_0x26daaa(0x8f)]||[];for(const _0x86216b of _0x58607e){_0x5be7a9[_0x26daaa(0xb4)](_0x86216b[_0x26daaa(0x122)],_0x5be7a9[_0x26daaa(0x10e)])&&_0x5be7a9[_0x26daaa(0xb4)](_0x38ebd1,null)&&(_0x36d3bb[_0x26daaa(0xdf)]=_0x5be7a9[_0x26daaa(0x155)](_0x5be7a9[_0x26daaa(0x12c)](parseInt,_0x86216b[_0x26daaa(0xfe)]),0x3e8));}}else process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT']&&(_0x36d3bb[_0x26daaa(0xdf)]=_0x5be7a9[_0x26daaa(0x155)](_0x5be7a9[_0x26daaa(0x151)](parseInt,process[_0x26daaa(0xc8)][_0x26daaa(0x13c)]),0x3e8));},detectDriverType=_0x42c42a=>{const _0x53ff6b=a106_0x27deff,_0x18dd93={};_0x18dd93[_0x53ff6b(0x11f)]=_0x53ff6b(0xea),_0x18dd93[_0x53ff6b(0xde)]=function(_0x81b0d5,_0x528f93){return _0x81b0d5===_0x528f93;},_0x18dd93[_0x53ff6b(0x14a)]=_0x53ff6b(0x144),_0x18dd93[_0x53ff6b(0x149)]='playwright-page',_0x18dd93['JMvdc']='selenium-webdriver',_0x18dd93[_0x53ff6b(0x12b)]=function(_0x2d063e,_0xa7535d){return _0x2d063e===_0xa7535d;},_0x18dd93[_0x53ff6b(0x148)]=_0x53ff6b(0x87),_0x18dd93['Xfgpc']=_0x53ff6b(0xf0),_0x18dd93['Haodu']=_0x53ff6b(0x137),_0x18dd93[_0x53ff6b(0xeb)]='playwright-codecept-driver',_0x18dd93['QuVdG']=function(_0x6ba378,_0x164ef6){return _0x6ba378||_0x164ef6;},_0x18dd93[_0x53ff6b(0x90)]=_0x53ff6b(0xe6);const _0x439151=_0x18dd93;if(!_0x42c42a){const _0xc78409={};return _0xc78409[_0x53ff6b(0x115)]=![],_0xc78409[_0x53ff6b(0xb5)]=_0x439151[_0x53ff6b(0x11f)],_0xc78409;}if(_0x439151['EWiBo'](typeof _0x42c42a[_0x53ff6b(0xf7)],_0x439151[_0x53ff6b(0x14a)])&&_0x439151[_0x53ff6b(0xde)](typeof _0x42c42a['url'],_0x439151['WEdUP'])&&_0x439151[_0x53ff6b(0xde)](typeof _0x42c42a[_0x53ff6b(0x147)],_0x439151[_0x53ff6b(0x14a)])){const _0x401319={};return _0x401319[_0x53ff6b(0x115)]=!![],_0x401319['type']=_0x439151[_0x53ff6b(0x149)],_0x401319;}if(_0x439151[_0x53ff6b(0xde)](typeof _0x42c42a[_0x53ff6b(0xf5)],_0x439151['WEdUP'])&&_0x439151['EWiBo'](typeof _0x42c42a[_0x53ff6b(0xfa)],_0x439151[_0x53ff6b(0x14a)])){const _0x15eef7={};return _0x15eef7[_0x53ff6b(0x115)]=![],_0x15eef7['type']=_0x439151[_0x53ff6b(0x92)],_0x15eef7;}const _0xd4d983=_0x42c42a[_0x53ff6b(0xce)]?.[_0x53ff6b(0x122)];if(_0x439151['pcHNJ'](_0xd4d983,_0x439151['fxlFD'])){const _0x52a95b={};return _0x52a95b[_0x53ff6b(0x115)]=!![],_0x52a95b[_0x53ff6b(0xb5)]=_0x439151[_0x53ff6b(0x149)],_0x52a95b;}if(_0x439151[_0x53ff6b(0xde)](_0xd4d983,_0x439151[_0x53ff6b(0xe8)])){const _0x213c80={};return _0x213c80['isPlaywright']=![],_0x213c80[_0x53ff6b(0xb5)]=_0x439151[_0x53ff6b(0x92)],_0x213c80;}if(_0x439151[_0x53ff6b(0x12b)](_0xd4d983,_0x439151[_0x53ff6b(0xa1)])){const _0x2b4c0d={};return _0x2b4c0d[_0x53ff6b(0x115)]=!![],_0x2b4c0d[_0x53ff6b(0xb5)]=_0x439151[_0x53ff6b(0xeb)],_0x2b4c0d;}logger['warn'](_0x53ff6b(0xb7)+_0x439151['QuVdG'](_0xd4d983,_0x439151[_0x53ff6b(0x90)]));const _0x9135f7={};return _0x9135f7[_0x53ff6b(0x115)]=![],_0x9135f7['type']=_0x439151['IhWau'],_0x9135f7;},withTimeout=(_0x60a0f9,_0x3f4266)=>{const _0x2f8f77=a106_0x27deff;return Promise[_0x2f8f77(0xa3)]([_0x60a0f9,new Promise((_0xea904a,_0x1d25fe)=>setTimeout(()=>_0x1d25fe(new Error(_0x2f8f77(0xfc)+_0x3f4266+'ms')),_0x3f4266))]);};exports['performScanWithRetry']=async(_0x15c26c,_0x40d67d=null,_0x20414a=null,_0x31417f=![],_0x532e2d=null)=>{const _0x29a8c2=a106_0x27deff,_0x3bb718={'HBuBm':function(_0x461579,_0x13cd41){return _0x461579&&_0x13cd41;},'JXhcf':function(_0x233354,_0x21df80,_0x529cf5){return _0x233354(_0x21df80,_0x529cf5);},'fFxcj':function(_0x314b73,_0x2809af){return _0x314b73===_0x2809af;},'oCkZE':_0x29a8c2(0xaf),'cNClS':function(_0x3f5f8b,_0x1280dd,_0x418f98){return _0x3f5f8b(_0x1280dd,_0x418f98);},'uobdJ':function(_0x5db604,_0x29a6c6,_0x59ecd4){return _0x5db604(_0x29a6c6,_0x59ecd4);},'MAHOD':function(_0x543df0,_0x10d6a3){return _0x543df0(_0x10d6a3);},'jWKSx':function(_0x1acf46,_0x5e34e5){return _0x1acf46||_0x5e34e5;},'enJvS':function(_0x3b56da,_0x303744){return _0x3b56da!==_0x303744;},'wjLcr':'isAccessibilityPlatform','FVeMl':'bstackA11yShouldScan','iuYbb':_0x29a8c2(0xa8),'RHgTM':_0x29a8c2(0xed),'izuGi':_0x29a8c2(0x144),'iIyKf':function(_0x912cc2,_0x1c50f1){return _0x912cc2===_0x1c50f1;},'gjyvn':function(_0x1a137c,_0x339b21){return _0x1a137c===_0x339b21;},'ebBnx':function(_0x1997f1,_0xe9d96e){return _0x1997f1<=_0xe9d96e;},'eQTwd':function(_0x423a33,_0x583d41){return _0x423a33+_0x583d41;},'bxctP':function(_0x264ad4,_0xbf3af1){return _0x264ad4+_0xbf3af1;},'UIQrS':_0x29a8c2(0x116)},{isPlaywright:_0x3178a1,type:_0xc49715}=_0x3bb718[_0x29a8c2(0x145)](detectDriverType,_0x15c26c),_0x57debc=_0x31417f?_0x3bb718[_0x29a8c2(0x14f)](_0x532e2d,{}):global[_0x29a8c2(0xcc)]||{},_0x5a4df3=_0x3178a1?global[_0x29a8c2(0x10d)]&&(_0x31417f||_0x3bb718[_0x29a8c2(0x126)](global[_0x29a8c2(0x8b)],![])):accessibilityHelper[_0x29a8c2(0xb0)]()&&globals[_0x29a8c2(0xdd)](_0x3bb718[_0x29a8c2(0x102)])&&(_0x31417f||_0x3bb718[_0x29a8c2(0x126)](globals[_0x29a8c2(0xdd)](_0x3bb718['FVeMl']),![]));if(!_0x5a4df3)return _0x3178a1&&global[_0x29a8c2(0x10d)]&&_0x3bb718[_0x29a8c2(0xab)](global[_0x29a8c2(0x8b)],![])||!_0x3178a1&&globals[_0x29a8c2(0xdd)](_0x3bb718[_0x29a8c2(0x102)])&&_0x3bb718[_0x29a8c2(0xab)](globals[_0x29a8c2(0xdd)](_0x3bb718[_0x29a8c2(0x119)]),![])?logger[_0x29a8c2(0x118)](_0x3bb718[_0x29a8c2(0xa0)]):logger[_0x29a8c2(0x138)](_0x29a8c2(0xcf)+_0xc49715+_0x29a8c2(0xd3)),![];const _0x4c55eb=_0x40d67d||global[_0x29a8c2(0xb2)]||_0x3bb718[_0x29a8c2(0x9f)];let _0x2b8606=null;const _0x2f8428={'testhub_btcer_uuid':global['__workerDetails']?.[_0x29a8c2(0x106)]?.['id'],'url':_0x3bb718[_0x29a8c2(0xab)](typeof _0x15c26c['url'],_0x3bb718[_0x29a8c2(0x10a)])?await _0x15c26c[_0x29a8c2(0xf3)]():_0x3bb718[_0x29a8c2(0xbf)](typeof _0x15c26c[_0x29a8c2(0x100)],_0x3bb718[_0x29a8c2(0x10a)])?await _0x15c26c[_0x29a8c2(0x100)]():'','automate_session_id':_0x3bb718[_0x29a8c2(0x88)](typeof _0x15c26c[_0x29a8c2(0xb9)],_0x3bb718[_0x29a8c2(0x10a)])?(await _0x15c26c['getSession']())['getId']():''};for(let _0x42a743=0x1;_0x3bb718[_0x29a8c2(0xc0)](_0x42a743,_0x3bb718[_0x29a8c2(0x128)](RETRY_CONFIG[_0x29a8c2(0xa4)],0x1));_0x42a743++){try{return logger[_0x29a8c2(0x118)](_0x29a8c2(0x91)+_0x42a743+'/'+_0x3bb718[_0x29a8c2(0x152)](RETRY_CONFIG[_0x29a8c2(0xa4)],0x1)+_0x29a8c2(0x142)+_0x4c55eb+'\x20('+_0xc49715+')'),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x29a8c2(0x83)],async()=>{const _0x5ae946=_0x29a8c2;let _0x23268b;if(_0x3bb718[_0x5ae946(0x104)](_0x3178a1,playwrightA11yHelper)){_0x3bb718[_0x5ae946(0x127)](setConfigTimeout,RETRY_CONFIG,null),await exports['setPlaywrightScriptTimeout'](_0x15c26c,RETRY_CONFIG[_0x5ae946(0xdf)]);let _0x3d7480=_0x15c26c;_0x3bb718[_0x5ae946(0xab)](_0xc49715,_0x3bb718[_0x5ae946(0xfb)])&&(_0x3d7480=_0x15c26c[_0x5ae946(0x108)]);const _0x5cc3da=global[_0x5ae946(0xc6)]?{'is_mobile_session':!![],'thTestRunUuid':accessibilityHelper['resolveMobileThTestRunUuid']()}:{};_0x23268b=await _0x3bb718[_0x5ae946(0x140)](withTimeout,playwrightA11yHelper[_0x5ae946(0x124)](_0x3d7480,_0x4c55eb,_0x57debc,_0x5cc3da),RETRY_CONFIG[_0x5ae946(0xdf)]),await exports[_0x5ae946(0xcb)](_0x15c26c,RETRY_CONFIG[_0x5ae946(0xee)]);}else await exports['setSeleniumScriptTimeout'](_0x15c26c,RETRY_CONFIG[_0x5ae946(0xdf)]),_0x23268b=await _0x3bb718[_0x5ae946(0x8a)](withTimeout,accessibilityHelper[_0x5ae946(0x124)](_0x15c26c,_0x4c55eb,_0x31417f,_0x57debc),RETRY_CONFIG[_0x5ae946(0xdf)]),await exports[_0x5ae946(0x95)](_0x15c26c,RETRY_CONFIG[_0x5ae946(0xee)]);logger[_0x5ae946(0x118)](_0x5ae946(0x9e)+_0x42a743+_0x5ae946(0x130));},{'command':_0x4c55eb,..._0x2f8428})(),logger[_0x29a8c2(0x111)](_0x29a8c2(0xc3)+_0x42a743+'.'),!![];}catch(_0x7e7f91){_0x2b8606=_0x7e7f91,logger['debug'](_0x29a8c2(0x91)+_0x42a743+_0x29a8c2(0x89)+_0x4c55eb+'\x20('+_0xc49715+_0x29a8c2(0x135)+_0x7e7f91[_0x29a8c2(0xbc)]);}}return logger[_0x29a8c2(0xec)](_0x29a8c2(0xc1)+_0x4c55eb+'\x20('+_0xc49715+_0x29a8c2(0x12d)+(_0x2b8606?.[_0x29a8c2(0xbc)]||_0x3bb718[_0x29a8c2(0x11b)])),![];},exports['getAccessibilityResultsWithRetry']=async(_0x3bf809,_0x93f55c)=>{const _0x4342f2=a106_0x27deff,_0x215697={'rjDxE':function(_0x1e83f1,_0x2d0ebf){return _0x1e83f1(_0x2d0ebf);},'wbgUR':_0x4342f2(0xa7),'DJjka':function(_0x4f1216,_0x4573be){return _0x4f1216<=_0x4573be;},'XrLTH':function(_0x1c4235,_0x50d461){return _0x1c4235+_0x50d461;},'kfhkm':function(_0x27610c,_0x44f2eb){return _0x27610c+_0x44f2eb;},'pvUKY':function(_0x5045ac,_0x1260d0){return _0x5045ac&&_0x1260d0;},'saQRk':function(_0x35c1b3,_0xa1be9a,_0xbfde3d){return _0x35c1b3(_0xa1be9a,_0xbfde3d);},'NrvVy':function(_0x33debb,_0x447489,_0x17543f){return _0x33debb(_0x447489,_0x17543f);},'ZDJdL':_0x4342f2(0x116)},{isPlaywright:_0x258566,type:_0x509a2b}=_0x215697[_0x4342f2(0x101)](detectDriverType,_0x3bf809),_0x16d1af=_0x258566?_0x93f55c[_0x4342f2(0x10d)]:accessibilityHelper['isAccessibilityAutomationSession']()&&globals[_0x4342f2(0xdd)](_0x215697[_0x4342f2(0x11c)]);if(!_0x16d1af)return logger[_0x4342f2(0x138)](_0x4342f2(0xcf)+_0x509a2b+_0x4342f2(0xc4)),[];let _0x5aee1b=null;for(let _0x2b5d50=0x1;_0x215697[_0x4342f2(0xd6)](_0x2b5d50,_0x215697['XrLTH'](RETRY_CONFIG[_0x4342f2(0xa4)],0x1));_0x2b5d50++){try{logger[_0x4342f2(0x118)](_0x4342f2(0x107)+_0x2b5d50+'/'+_0x215697[_0x4342f2(0xbd)](RETRY_CONFIG['maxRetries'],0x1)+'\x20('+_0x509a2b+')');let _0x2d6849;return _0x215697[_0x4342f2(0x117)](_0x258566,playwrightA11yHelper)?(_0x215697[_0x4342f2(0x109)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x4342f2(0xcb)](_0x3bf809,RETRY_CONFIG[_0x4342f2(0xdf)]),_0x2d6849=await _0x215697[_0x4342f2(0x109)](withTimeout,playwrightA11yHelper[_0x4342f2(0xd4)](_0x3bf809),RETRY_CONFIG[_0x4342f2(0xdf)]),await exports['setPlaywrightScriptTimeout'](_0x3bf809,RETRY_CONFIG[_0x4342f2(0xee)])):(await exports[_0x4342f2(0x95)](_0x3bf809,RETRY_CONFIG[_0x4342f2(0xdf)]),_0x2d6849=await _0x215697['NrvVy'](withTimeout,accessibilityHelper['getAccessibilityResults'](_0x3bf809,_0x93f55c),RETRY_CONFIG[_0x4342f2(0xdf)]),await exports['setSeleniumScriptTimeout'](_0x3bf809,RETRY_CONFIG[_0x4342f2(0xee)])),logger[_0x4342f2(0x111)](_0x4342f2(0x133)+_0x2b5d50+'\x20('+_0x509a2b+')'),_0x2d6849;}catch(_0x1a7bd2){_0x5aee1b=_0x1a7bd2,logger[_0x4342f2(0x138)]('Accessibility\x20results\x20retrieval\x20attempt\x20'+_0x2b5d50+_0x4342f2(0x11e)+_0x509a2b+_0x4342f2(0x135)+_0x1a7bd2[_0x4342f2(0xbc)]);}}return logger[_0x4342f2(0xec)](_0x4342f2(0xd9)+_0x509a2b+_0x4342f2(0x96)+(_0x5aee1b?.[_0x4342f2(0xbc)]||_0x215697[_0x4342f2(0x14c)])),[];},exports[a106_0x27deff(0xb1)]=async(_0xf3d2cd,_0x31a916)=>{const _0x4a5631=a106_0x27deff,_0x416cf4={'UBUgM':function(_0x5b1195,_0x2d10d4){return _0x5b1195(_0x2d10d4);},'XtorI':_0x4a5631(0xa7),'NJfwR':function(_0x341dfd,_0x427960){return _0x341dfd<=_0x427960;},'AMLrK':function(_0x5e554c,_0x428e41){return _0x5e554c+_0x428e41;},'Qcqxr':function(_0x4f0c6c,_0x485435){return _0x4f0c6c&&_0x485435;},'PyVbc':function(_0x115878,_0x28a209,_0x3558d7){return _0x115878(_0x28a209,_0x3558d7);},'YzvfZ':function(_0x501c21,_0x1bc8b8,_0x23f065){return _0x501c21(_0x1bc8b8,_0x23f065);},'XprQB':_0x4a5631(0x116)},{isPlaywright:_0x4e1049,type:_0x2a8c40}=_0x416cf4[_0x4a5631(0xb6)](detectDriverType,_0xf3d2cd),_0x3eaffe=_0x4e1049?_0x31a916[_0x4a5631(0x10d)]:accessibilityHelper[_0x4a5631(0xb0)]()&&globals[_0x4a5631(0xdd)](_0x416cf4[_0x4a5631(0x136)]);if(!_0x3eaffe)return logger[_0x4a5631(0x138)]('Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20'+_0x2a8c40+_0x4a5631(0x153)),{};let _0x15e825=null;for(let _0x449fe2=0x1;_0x416cf4[_0x4a5631(0xad)](_0x449fe2,_0x416cf4[_0x4a5631(0x13b)](RETRY_CONFIG[_0x4a5631(0xa4)],0x1));_0x449fe2++){try{logger[_0x4a5631(0x118)](_0x4a5631(0x112)+_0x449fe2+'/'+_0x416cf4['AMLrK'](RETRY_CONFIG[_0x4a5631(0xa4)],0x1)+'\x20('+_0x2a8c40+')');let _0x309cae;return _0x416cf4[_0x4a5631(0xa9)](_0x4e1049,playwrightA11yHelper)?(_0x416cf4[_0x4a5631(0x123)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x4a5631(0xcb)](_0xf3d2cd,RETRY_CONFIG['timeoutMs']),_0x309cae=await _0x416cf4[_0x4a5631(0xe2)](withTimeout,playwrightA11yHelper[_0x4a5631(0xc5)](_0xf3d2cd),RETRY_CONFIG[_0x4a5631(0xdf)]),await exports[_0x4a5631(0xcb)](_0xf3d2cd,RETRY_CONFIG[_0x4a5631(0xee)])):(await exports['setSeleniumScriptTimeout'](_0xf3d2cd,RETRY_CONFIG[_0x4a5631(0xdf)]),_0x309cae=await _0x416cf4['YzvfZ'](withTimeout,accessibilityHelper[_0x4a5631(0xc5)](_0xf3d2cd,_0x31a916),RETRY_CONFIG[_0x4a5631(0xdf)]),await exports[_0x4a5631(0x95)](_0xf3d2cd,RETRY_CONFIG[_0x4a5631(0xee)])),logger[_0x4a5631(0x111)](_0x4a5631(0xa5)+_0x449fe2+'\x20('+_0x2a8c40+')'),_0x309cae;}catch(_0x40f31b){_0x15e825=_0x40f31b,logger[_0x4a5631(0x138)]('Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20'+_0x449fe2+_0x4a5631(0x11e)+_0x2a8c40+').\x20Error:\x20'+_0x40f31b[_0x4a5631(0xbc)]);}}return logger[_0x4a5631(0xec)]('All\x20accessibility\x20results\x20summary\x20retrieval\x20attempts\x20failed\x20('+_0x2a8c40+_0x4a5631(0x96)+(_0x15e825?.['message']||_0x416cf4['XprQB'])),{};},exports['performComprehensiveAccessibilityScanWithRetry']=async(_0x1eb611,_0x188f8f,_0x11591d=null)=>{const _0x7b3c32=a106_0x27deff,_0x2d0b5d={'hXoIu':function(_0x878326,_0x371ce9){return _0x878326(_0x371ce9);},'UNQXy':function(_0x28967b,_0x21aad5){return _0x28967b===_0x21aad5;},'dcRbV':_0x7b3c32(0xa2),'vAUAO':function(_0x25efb1,_0x2126fd){return _0x25efb1===_0x2126fd;},'ywEIv':'rejected','KDEdu':_0x7b3c32(0x12f)},{isPlaywright:_0x299994,type:_0x51542b}=_0x2d0b5d[_0x7b3c32(0x143)](detectDriverType,_0x1eb611),_0x575303={};_0x575303[_0x7b3c32(0xd5)]=![],_0x575303[_0x7b3c32(0x9a)]=[],_0x575303[_0x7b3c32(0xef)]={},_0x575303[_0x7b3c32(0xec)]=null,_0x575303[_0x7b3c32(0xc7)]=_0x51542b;const _0x562a5e=_0x575303;try{_0x562a5e[_0x7b3c32(0xd5)]=await exports['performScanWithRetry'](_0x1eb611,_0x11591d);if(_0x562a5e[_0x7b3c32(0xd5)]){const [_0x5b9285,_0x242c7c]=await Promise[_0x7b3c32(0xba)]([exports['getAccessibilityResultsWithRetry'](_0x1eb611,_0x188f8f),exports[_0x7b3c32(0xb1)](_0x1eb611,_0x188f8f)]);_0x562a5e['results']=_0x2d0b5d[_0x7b3c32(0x14b)](_0x5b9285[_0x7b3c32(0x146)],_0x2d0b5d['dcRbV'])?_0x5b9285[_0x7b3c32(0xfe)]:[],_0x562a5e[_0x7b3c32(0xef)]=_0x2d0b5d['UNQXy'](_0x242c7c['status'],_0x2d0b5d[_0x7b3c32(0x10c)])?_0x242c7c['value']:{},_0x2d0b5d[_0x7b3c32(0x9d)](_0x5b9285[_0x7b3c32(0x146)],_0x2d0b5d[_0x7b3c32(0x132)])&&logger[_0x7b3c32(0x138)](_0x7b3c32(0xcd)+_0x51542b+_0x7b3c32(0xd8)+_0x5b9285[_0x7b3c32(0x157)]?.[_0x7b3c32(0xbc)]),_0x2d0b5d[_0x7b3c32(0x14b)](_0x242c7c[_0x7b3c32(0x146)],_0x2d0b5d[_0x7b3c32(0x132)])&&logger[_0x7b3c32(0x138)](_0x7b3c32(0x10b)+_0x51542b+'):\x20'+_0x242c7c[_0x7b3c32(0x157)]?.[_0x7b3c32(0xbc)]);}}catch(_0x5ab777){_0x562a5e[_0x7b3c32(0xec)]=_0x5ab777[_0x7b3c32(0xbc)]||_0x2d0b5d['KDEdu'],logger[_0x7b3c32(0xec)](_0x7b3c32(0x141)+_0x51542b+_0x7b3c32(0xd8)+_0x562a5e['error']);}return _0x562a5e;},exports['updateRetryConfig']=_0x4a4d76=>{const _0x8e4426=a106_0x27deff,_0x1ebc01={};_0x1ebc01[_0x8e4426(0xbe)]=function(_0x5cf13c,_0x1e6a1d){return _0x5cf13c!==_0x1e6a1d;};const _0x517d43=_0x1ebc01;_0x517d43[_0x8e4426(0xbe)](_0x4a4d76['maxRetries'],undefined)&&(RETRY_CONFIG[_0x8e4426(0xa4)]=Math[_0x8e4426(0xf6)](0x0,_0x4a4d76['maxRetries'])),_0x517d43['fZzYs'](_0x4a4d76[_0x8e4426(0xdf)],undefined)&&(RETRY_CONFIG['timeoutMs']=Math[_0x8e4426(0xf6)](0x3e8,_0x4a4d76[_0x8e4426(0xdf)])),logger['debug'](_0x8e4426(0xd1)+JSON[_0x8e4426(0x131)](RETRY_CONFIG));},exports[a106_0x27deff(0x154)]=()=>{const _0x4c4082={...RETRY_CONFIG};return _0x4c4082;},exports[a106_0x27deff(0x13a)]=_0x285399=>{const _0x3978bb=a106_0x27deff,_0x38d1f4={'VWAgX':function(_0x3ff7ad,_0x459e0b){return _0x3ff7ad(_0x459e0b);}};return _0x38d1f4[_0x3978bb(0xf4)](detectDriverType,_0x285399)[_0x3978bb(0x115)];},exports[a106_0x27deff(0x156)]=_0x87936b=>{const _0x49c143=a106_0x27deff,_0x3c1745={'wfhlK':function(_0x391e1e,_0xfebf90){return _0x391e1e(_0xfebf90);},'izFRt':function(_0x4318d2,_0x1a7c9a){return _0x4318d2===_0x1a7c9a;},'jeVPK':_0x49c143(0x12a)},{isPlaywright:_0x4cc40b,type:_0x28261a}=_0x3c1745[_0x49c143(0x105)](detectDriverType,_0x87936b);return!_0x4cc40b&&_0x3c1745[_0x49c143(0xc9)](_0x28261a,_0x3c1745[_0x49c143(0x94)]);},exports[a106_0x27deff(0xcb)]=async(_0x1e4b68,_0x132aaa=null)=>{const _0x1acb04=a106_0x27deff,_0x2100b1={'DSfme':function(_0x44b7ca,_0x3a1706){return _0x44b7ca(_0x3a1706);},'ybMhj':function(_0x1b3305,_0x1556e0){return _0x1b3305===_0x1556e0;},'uOGLN':_0x1acb04(0x144)},{isPlaywright:_0x436be9,type:_0x4815f7}=_0x2100b1[_0x1acb04(0x134)](detectDriverType,_0x1e4b68);if(!_0x436be9)return logger[_0x1acb04(0x118)](_0x1acb04(0xbb)+_0x4815f7+_0x1acb04(0x8c)),!![];const _0x55b51f=_0x132aaa||RETRY_CONFIG['defaultTimeoutMs'];try{return _0x1e4b68&&_0x2100b1[_0x1acb04(0xc2)](typeof _0x1e4b68[_0x1acb04(0xe4)],_0x2100b1['uOGLN'])&&(await _0x1e4b68[_0x1acb04(0xe4)](_0x55b51f),logger[_0x1acb04(0x118)](_0x1acb04(0x13f)+_0x55b51f+'ms')),!![];}catch(_0x578f3f){return logger[_0x1acb04(0x138)](_0x1acb04(0x150)+_0x578f3f['message']),![];}},exports[a106_0x27deff(0x95)]=async(_0x3b25e4,_0xbf6e7=null)=>{const _0x1b451f=a106_0x27deff,_0x291542={};_0x291542[_0x1b451f(0x13d)]=_0x1b451f(0x97),_0x291542['QxHOI']=function(_0xe7040,_0x281b63){return _0xe7040===_0x281b63;},_0x291542[_0x1b451f(0x86)]=_0x1b451f(0x144),_0x291542['GfZaj']=function(_0x59c310,_0x49d621){return _0x59c310===_0x49d621;},_0x291542[_0x1b451f(0x11d)]=_0x1b451f(0xdb),_0x291542[_0x1b451f(0xca)]=_0x1b451f(0xb8);const _0x3dbd62=_0x291542;if(!exports[_0x1b451f(0x156)](_0x3b25e4))return logger[_0x1b451f(0x138)](_0x3dbd62[_0x1b451f(0x13d)]),![];const _0x33681f=_0xbf6e7||RETRY_CONFIG[_0x1b451f(0xee)];try{if(_0x3b25e4&&_0x3dbd62['QxHOI'](typeof _0x3b25e4[_0x1b451f(0x9c)],_0x3dbd62[_0x1b451f(0x86)])){const _0x403aa4=_0x3b25e4[_0x1b451f(0x9c)]();if(_0x403aa4&&_0x3dbd62[_0x1b451f(0x12e)](typeof _0x403aa4[_0x1b451f(0xf1)],_0x3dbd62[_0x1b451f(0x86)]))await _0x403aa4[_0x1b451f(0xf1)]()[_0x1b451f(0xae)](_0x33681f),logger[_0x1b451f(0x118)](_0x1b451f(0x85)+_0x33681f+_0x1b451f(0xe5));else{if(_0x403aa4&&_0x3dbd62[_0x1b451f(0x98)](typeof _0x403aa4[_0x1b451f(0xd7)],_0x3dbd62[_0x1b451f(0x86)])){const _0x56d8e8={};_0x56d8e8[_0x1b451f(0x93)]=_0x33681f,await _0x403aa4['setTimeouts'](_0x56d8e8),logger[_0x1b451f(0x118)](_0x1b451f(0x85)+_0x33681f+_0x1b451f(0x9b));}else{if(_0x403aa4&&_0x3dbd62['GfZaj'](typeof _0x403aa4[_0x1b451f(0xae)],_0x3dbd62[_0x1b451f(0x86)]))await _0x403aa4[_0x1b451f(0xae)](_0x33681f),logger[_0x1b451f(0x118)](_0x1b451f(0x85)+_0x33681f+_0x1b451f(0xe9));else return logger['debug'](_0x3dbd62[_0x1b451f(0x11d)]),!![];}}}else return logger['debug'](_0x3dbd62[_0x1b451f(0xca)]),!![];return!![];}catch(_0xa85ba7){return logger[_0x1b451f(0x138)](_0x1b451f(0xe3)+_0xa85ba7[_0x1b451f(0xbc)]),![];}},exports[a106_0x27deff(0xfd)]=async(_0x48d68b,_0x361146)=>{const _0x2e5b07=a106_0x27deff,_0x4d3133={'yrHgB':function(_0x34d448,_0x4ce4b1){return _0x34d448(_0x4ce4b1);},'WfCSK':_0x2e5b07(0xa7),'rRbtr':function(_0x2c1322,_0x2169ec){return _0x2c1322<=_0x2169ec;},'qDovu':function(_0x167ebc,_0x3fe188){return _0x167ebc+_0x3fe188;},'RTZkh':function(_0x40a326,_0x6d1b50){return _0x40a326+_0x6d1b50;},'CimNC':function(_0x22bf76,_0x4a726d){return _0x22bf76&&_0x4a726d;},'JzDJr':function(_0x590092,_0x44e1a3,_0x84c6a9){return _0x590092(_0x44e1a3,_0x84c6a9);},'QaVUJ':function(_0x28aa12,_0x5ca4cb,_0x4a23db){return _0x28aa12(_0x5ca4cb,_0x4a23db);},'uBUVv':_0x2e5b07(0xc6),'nYUhI':_0x2e5b07(0x116)},{isPlaywright:_0x4dc59e,type:_0x311f67}=_0x4d3133[_0x2e5b07(0x125)](detectDriverType,_0x48d68b),_0x5a2271=_0x4dc59e?global[_0x2e5b07(0x10d)]:accessibilityHelper['isAccessibilityAutomationSession']()&&globals[_0x2e5b07(0xdd)](_0x4d3133[_0x2e5b07(0x114)]);if(!_0x5a2271)return logger[_0x2e5b07(0x138)]('Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20'+_0x311f67+_0x2e5b07(0xa6)),![];let _0x550e7a=null;for(let _0x37272e=0x1;_0x4d3133[_0x2e5b07(0x103)](_0x37272e,_0x4d3133[_0x2e5b07(0x120)](RETRY_CONFIG[_0x2e5b07(0xa4)],0x1));_0x37272e++){try{logger[_0x2e5b07(0x118)](_0x2e5b07(0xe0)+_0x37272e+'/'+_0x4d3133[_0x2e5b07(0xda)](RETRY_CONFIG[_0x2e5b07(0xa4)],0x1)+'\x20('+_0x311f67+')');if(_0x4d3133['CimNC'](_0x4dc59e,playwrightA11yHelper)){_0x4d3133['JzDJr'](setConfigTimeout,RETRY_CONFIG,null),await exports['setPlaywrightScriptTimeout'](_0x48d68b,RETRY_CONFIG[_0x2e5b07(0xdf)]);const _0x153c36={};_0x153c36['is_mobile_session']=!![];const _0x3e604e=global[_0x2e5b07(0xc6)]?Object[_0x2e5b07(0xf9)]({},_0x361146,_0x153c36):_0x361146;await _0x4d3133[_0x2e5b07(0x84)](withTimeout,playwrightA11yHelper['browserStackEvaluate'](_0x48d68b,scripts['saveTestResults'],_0x3e604e),RETRY_CONFIG['timeoutMs']),await exports[_0x2e5b07(0xcb)](_0x48d68b,RETRY_CONFIG[_0x2e5b07(0xee)]);}else{await exports[_0x2e5b07(0x95)](_0x48d68b,RETRY_CONFIG[_0x2e5b07(0xdf)]);const _0x225ff7={};_0x225ff7['is_mobile_session']=!![];const _0x45ac9d=globals['getGlobal'](_0x4d3133[_0x2e5b07(0x99)])?Object[_0x2e5b07(0xf9)]({},_0x361146,_0x225ff7):_0x361146;await _0x4d3133['JzDJr'](withTimeout,_0x48d68b[_0x2e5b07(0xf5)](scripts['saveTestResults'],_0x45ac9d),RETRY_CONFIG[_0x2e5b07(0xdf)]),await exports[_0x2e5b07(0x95)](_0x48d68b,RETRY_CONFIG[_0x2e5b07(0xee)]);}return logger[_0x2e5b07(0x111)]('Accessibility\x20results\x20saved\x20successfully\x20on\x20attempt\x20'+_0x37272e+'\x20('+_0x311f67+')'),!![];}catch(_0x392ae9){_0x550e7a=_0x392ae9,logger[_0x2e5b07(0x138)](_0x2e5b07(0xe0)+_0x37272e+_0x2e5b07(0x11e)+_0x311f67+').\x20Error:\x20'+_0x392ae9[_0x2e5b07(0xbc)]);}}return logger[_0x2e5b07(0xec)](_0x2e5b07(0xd0)+_0x311f67+_0x2e5b07(0x96)+(_0x550e7a?.[_0x2e5b07(0xbc)]||_0x4d3133['nYUhI'])),![];};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var a107_0x23cf56=a107_0x429d;(function(_0x266c7d,_0x357bbf){var _0x2a9bc8=a107_0x429d,_0x169af0=_0x266c7d();while(!![]){try{var _0x4b7825=-parseInt(_0x2a9bc8(0xcc))/0x1*(-parseInt(_0x2a9bc8(0xc2))/0x2)+parseInt(_0x2a9bc8(0xce))/0x3+-parseInt(_0x2a9bc8(0xc0))/0x4*(-parseInt(_0x2a9bc8(0xd5))/0x5)+-parseInt(_0x2a9bc8(0xd0))/0x6*(parseInt(_0x2a9bc8(0xd3))/0x7)+-parseInt(_0x2a9bc8(0xd4))/0x8+-parseInt(_0x2a9bc8(0xca))/0x9+-parseInt(_0x2a9bc8(0xd1))/0xa*(-parseInt(_0x2a9bc8(0xcd))/0xb);if(_0x4b7825===_0x357bbf)break;else _0x169af0['push'](_0x169af0['shift']());}catch(_0x518b3a){_0x169af0['push'](_0x169af0['shift']());}}}(a107_0x411c,0xc1e31),exports[a107_0x23cf56(0xc7)]='https://accessibility.browserstack.com/api',exports['MINIMUM_BROWSER_VERSION_ACCESSIBILITY']='94',exports['MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY']=a107_0x23cf56(0xc6),exports[a107_0x23cf56(0xc3)]=a107_0x23cf56(0xc4),exports['MINIMUM_SAFARI_VERSION']='18.4');var a107_0x18257d={};a107_0x18257d[a107_0x23cf56(0xc1)]=a107_0x23cf56(0xd7),a107_0x18257d[a107_0x23cf56(0xc5)]=0x5e,a107_0x18257d[a107_0x23cf56(0xc9)]=0x64,a107_0x18257d[a107_0x23cf56(0xbf)]=!![];var a107_0x24f51f={};a107_0x24f51f[a107_0x23cf56(0xc1)]=a107_0x23cf56(0xd7),a107_0x24f51f[a107_0x23cf56(0xc5)]=0x5e,a107_0x24f51f['min_version_non_browserstack']=0x64,a107_0x24f51f[a107_0x23cf56(0xbf)]=!![];var a107_0x978283={};a107_0x978283['display_name']=a107_0x23cf56(0xd7),a107_0x978283[a107_0x23cf56(0xc5)]=0x5e,a107_0x978283['min_version_non_browserstack']=0x64,a107_0x978283[a107_0x23cf56(0xbf)]=!![];var a107_0x2b432c={};a107_0x2b432c[a107_0x23cf56(0xc1)]=a107_0x23cf56(0xcf),a107_0x2b432c['min_version_browserstack']=0x8d,a107_0x2b432c[a107_0x23cf56(0xc9)]=0x8d,a107_0x2b432c[a107_0x23cf56(0xbf)]=!![];var a107_0x41f127={};a107_0x41f127[a107_0x23cf56(0xc1)]='Safari',a107_0x41f127['min_version_browserstack']=18.4,a107_0x41f127[a107_0x23cf56(0xc9)]=18.4,a107_0x41f127[a107_0x23cf56(0xbf)]=![];function a107_0x411c(){var _0x4186bd=['986151qnNfHZ','ChromeForTesting','66yCxeds','79870vKwWSS','chrome','747362MOcmdX','6453664jlgfIj','4740865nTkcFc','chromefortesting','Chrome','requires_chrome_options_check','4LeuCqb','display_name','8cAfUvF','MINIMUM_CHROMEFORTESTING_VERSION','141','min_version_browserstack','100','API_URL','ACCESSIBILITY_SUPPORTED_BROWSERS','min_version_non_browserstack','5687766JcleOr','safari','251053qZAspL','1551oTNPQO'];a107_0x411c=function(){return _0x4186bd;};return a107_0x411c();}var a107_0xcecf01={};function a107_0x429d(_0x1d45c4,_0x496f5e){var _0x411ce0=a107_0x411c();return a107_0x429d=function(_0x429d48,_0x555ff8){_0x429d48=_0x429d48-0xbf;var _0x697564=_0x411ce0[_0x429d48];return _0x697564;},a107_0x429d(_0x1d45c4,_0x496f5e);}a107_0xcecf01[a107_0x23cf56(0xd2)]=a107_0x18257d,a107_0xcecf01['chromium']=a107_0x24f51f,a107_0xcecf01['playwright-chromium']=a107_0x978283,a107_0xcecf01[a107_0x23cf56(0xd6)]=a107_0x2b432c,a107_0xcecf01[a107_0x23cf56(0xcb)]=a107_0x41f127,exports[a107_0x23cf56(0xc8)]=a107_0xcecf01;
|
|
@@ -1 +1 @@
|
|
|
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
|
+
const a108_0x3bb529=a108_0x438a;function a108_0x438a(_0x1343de,_0x224a4d){const _0x9748e3=a108_0x9748();return a108_0x438a=function(_0x438abe,_0x4b4389){_0x438abe=_0x438abe-0xdd;let _0x2d52a6=_0x9748e3[_0x438abe];return _0x2d52a6;},a108_0x438a(_0x1343de,_0x224a4d);}(function(_0x3016cb,_0xb1875a){const _0x1c9199=a108_0x438a,_0x41b916=_0x3016cb();while(!![]){try{const _0x8c1e1c=-parseInt(_0x1c9199(0x1a1))/0x1*(-parseInt(_0x1c9199(0xe2))/0x2)+-parseInt(_0x1c9199(0x1e9))/0x3+parseInt(_0x1c9199(0x1db))/0x4*(-parseInt(_0x1c9199(0x167))/0x5)+parseInt(_0x1c9199(0x122))/0x6+-parseInt(_0x1c9199(0x1a6))/0x7+-parseInt(_0x1c9199(0x116))/0x8*(-parseInt(_0x1c9199(0x1d2))/0x9)+parseInt(_0x1c9199(0x10d))/0xa*(-parseInt(_0x1c9199(0x11a))/0xb);if(_0x8c1e1c===_0xb1875a)break;else _0x41b916['push'](_0x41b916['shift']());}catch(_0x210f3b){_0x41b916['push'](_0x41b916['shift']());}}}(a108_0x9748,0x19f0a));const path=require(a108_0x3bb529(0x1e2)),util=require(a108_0x3bb529(0x1cc)),bsSetupHelper=require(a108_0x3bb529(0xfb)),logger=require(a108_0x3bb529(0xe9))[a108_0x3bb529(0x147)],{API_URL,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY,ACCESSIBILITY_SUPPORTED_BROWSERS}=require(a108_0x3bb529(0x10c)),PerformanceTester=require(a108_0x3bb529(0x12b)),scripts=require(a108_0x3bb529(0x17e)),globals=require('../globals'),{A11Y_EVENTS:PerformanceA11yEvents}=require('../performance/constants');exports[a108_0x3bb529(0x15d)]=async _0x3d78f0=>{const _0x203e1c=a108_0x3bb529,_0x5309b5={};_0x5309b5[_0x203e1c(0x1dd)]=function(_0x2bcf20,_0x131fda){return _0x2bcf20===_0x131fda;},_0x5309b5['BdRYS']='browserstack';const _0x57badf=_0x5309b5;let _0x45f9a8={};try{const _0x51c0aa=await _0x3d78f0['getCapabilities']();_0x45f9a8={'os_name':_0x51c0aa[_0x203e1c(0x1da)](),'os_version':bsSetupHelper[_0x203e1c(0x1bb)](_0x57badf[_0x203e1c(0x1dd)](global[_0x203e1c(0x141)],_0x57badf['BdRYS'])),'browser_name':_0x51c0aa['getBrowserName'](),'browser_version':_0x51c0aa[_0x203e1c(0xf0)]()};}catch(_0x1d00b5){logger['debug'](_0x203e1c(0x11e)+_0x1d00b5);}return _0x45f9a8;},exports[a108_0x3bb529(0x1a5)]=()=>{const _0x46eeda=a108_0x3bb529,_0x544146={};_0x544146['uWBIG']=function(_0x45c296,_0x2ecf2b){return _0x45c296===_0x2ecf2b;},_0x544146[_0x46eeda(0x184)]='string',_0x544146[_0x46eeda(0x1eb)]=function(_0x10f869,_0xe476d0){return _0x10f869>_0xe476d0;},_0x544146[_0x46eeda(0x14d)]=function(_0x4d61d9,_0xa41fe6){return _0x4d61d9!==_0xa41fe6;},_0x544146['IWIBL']=_0x46eeda(0x18d),_0x544146[_0x46eeda(0x1d6)]=function(_0x43d79d,_0x55e8f3){return _0x43d79d&&_0x55e8f3;};const _0x29e5c7=_0x544146;try{const _0x426f1e=bsSetupHelper[_0x46eeda(0x1b6)](process['env'][_0x46eeda(0x15c)])||bsSetupHelper[_0x46eeda(0x1b6)](process['env'][_0x46eeda(0xec)]),_0x10f284=_0x29e5c7[_0x46eeda(0x192)](typeof process[_0x46eeda(0x1d8)][_0x46eeda(0x173)],_0x29e5c7[_0x46eeda(0x184)])&&_0x29e5c7[_0x46eeda(0x1eb)](process[_0x46eeda(0x1d8)][_0x46eeda(0x173)][_0x46eeda(0x1e0)],0x0)&&_0x29e5c7[_0x46eeda(0x14d)](process[_0x46eeda(0x1d8)]['BS_A11Y_JWT'],_0x29e5c7[_0x46eeda(0x1aa)]);return _0x29e5c7[_0x46eeda(0x1d6)](_0x426f1e,_0x10f284);}catch(_0x5308e0){logger[_0x46eeda(0x114)](_0x46eeda(0x107)+_0x5308e0);}return![];},exports[a108_0x3bb529(0x1c6)]=(_0x422c5c,_0x3592fd)=>{const _0x38a233=a108_0x3bb529,_0x519b2b={'iJjdn':'browserName','XGXYm':function(_0x37492b,_0xc32241){return _0x37492b(_0xc32241);},'UOcld':_0x38a233(0x1ec),'ffkHD':function(_0x42988c,_0x435371){return _0x42988c(_0x435371);},'SqATp':_0x38a233(0xe5),'vAszz':'bstack:options','LGobX':function(_0x3a197a,_0x2ebb94){return _0x3a197a(_0x2ebb94);},'Ibhax':_0x38a233(0x16d),'uqsHe':_0x38a233(0x19a),'whoPK':_0x38a233(0x1e1),'sqptQ':_0x38a233(0xf3),'fEjad':_0x38a233(0x18f),'SWilj':_0x38a233(0x1bd),'WCJxE':_0x38a233(0x117),'LGNEN':_0x38a233(0x12d),'BSOTU':_0x38a233(0x1c1),'sMddr':_0x38a233(0x1e8),'AEXIU':function(_0x257d72,_0x139b56){return _0x257d72===_0x139b56;},'hxzOZ':_0x38a233(0x149),'kKqtm':function(_0x289e45,_0x4f8fda){return _0x289e45>=_0x4f8fda;}},_0x3a3c8e=_0x422c5c['get'](_0x519b2b[_0x38a233(0x1ad)]),_0x5622fc=_0x519b2b[_0x38a233(0x109)](parseFloat,_0x422c5c[_0x38a233(0x1cb)](_0x519b2b['UOcld']))||_0x519b2b[_0x38a233(0x1ca)](parseFloat,_0x422c5c[_0x38a233(0x1cb)](_0x519b2b[_0x38a233(0x100)])),_0x255242=_0x422c5c[_0x38a233(0x1cb)](_0x519b2b[_0x38a233(0x145)])||{},_0x172518=_0x519b2b[_0x38a233(0x1f4)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY),_0x4a4d68=_0x255242[_0x519b2b['Ibhax']]||_0x422c5c[_0x38a233(0x1cb)](_0x519b2b[_0x38a233(0x10e)])||![];if(_0x4a4d68)return logger[_0x38a233(0x17d)](_0x519b2b[_0x38a233(0xf4)]),![];let _0x361f15;try{_0x361f15=bsSetupHelper[_0x38a233(0x17f)](_0x519b2b['sqptQ'],_0x519b2b[_0x38a233(0x164)]);}catch(_0x20da1d){return![];}const _0x40a6ec=new _0x361f15[(_0x38a233(0x1c3))](_0x3592fd[_0x38a233(0x118)]),_0x288c7d=bsSetupHelper[_0x38a233(0x136)](_0x40a6ec,[_0x519b2b[_0x38a233(0xe7)],_0x519b2b[_0x38a233(0x13b)]])||bsSetupHelper[_0x38a233(0x136)](_0x3592fd['capabilities_'],[_0x519b2b[_0x38a233(0x145)],_0x519b2b[_0x38a233(0x1e4)],_0x519b2b[_0x38a233(0x13b)]])||bsSetupHelper[_0x38a233(0x136)](_0x3592fd[_0x38a233(0x1ef)],[_0x519b2b[_0x38a233(0x1e4)],_0x519b2b[_0x38a233(0x13b)]])||[],_0x302b40=Array[_0x38a233(0x16f)](_0x288c7d)?_0x288c7d:[];if(_0x302b40[_0x38a233(0x189)](_0x45a9fb=>typeof _0x45a9fb===_0x38a233(0x180)&&(_0x45a9fb===_0x38a233(0x101)||_0x45a9fb[_0x38a233(0x1c5)]('--headless=')&&_0x45a9fb!==_0x38a233(0x124))))return logger['warn'](_0x519b2b[_0x38a233(0x176)]),![];const _0x515704=_0x3592fd[_0x38a233(0x1ef)]||{},_0x2e985e=bsSetupHelper['nestedKeyValue'](_0x515704,[_0x519b2b[_0x38a233(0x1be)]])||{},_0x3cac5a=bsSetupHelper[_0x38a233(0x136)](_0x2e985e,[_0x519b2b['WCJxE']])||[],_0x47f17b=Array[_0x38a233(0x16f)](_0x3cac5a)?_0x3cac5a:[];if(_0x47f17b[_0x38a233(0x189)](_0x1f1acd=>typeof _0x1f1acd===_0x38a233(0x180)&&(_0x1f1acd===_0x38a233(0x101)||_0x1f1acd[_0x38a233(0x1c5)](_0x38a233(0x16e))&&_0x1f1acd!=='--headless=new')))return logger[_0x38a233(0x17d)](_0x519b2b[_0x38a233(0x176)]),![];if(_0x519b2b[_0x38a233(0x159)](_0x3a3c8e[_0x38a233(0x19c)](),_0x519b2b[_0x38a233(0x1c2)])&&_0x519b2b['kKqtm'](_0x5622fc,_0x172518))return!![];return logger['warn'](_0x38a233(0x13d)+MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY+'.'),![];},exports[a108_0x3bb529(0x134)]=_0x126472=>{const _0x5d3699=a108_0x3bb529,_0x2750a4={};_0x2750a4[_0x5d3699(0x187)]=_0x5d3699(0x1e8),_0x2750a4['yyhMe']=function(_0x40f2ba,_0x3d6b56){return _0x40f2ba||_0x3d6b56;},_0x2750a4[_0x5d3699(0x1b9)]=_0x5d3699(0x14b);const _0x588d46=_0x2750a4,_0x5cfd48=scripts[_0x5d3699(0x177)];try{const _0x47771d=bsSetupHelper['isTrue'](process['env'][_0x5d3699(0x15c)])||bsSetupHelper[_0x5d3699(0x1b6)](process['env'][_0x5d3699(0xec)]);if((!bsSetupHelper[_0x5d3699(0x15b)]()||process[_0x5d3699(0x1d8)][_0x5d3699(0x158)])&&_0x47771d){const _0x58e684=_0x126472[_0x5d3699(0x13f)](),_0x574612=_0x58e684['get'](_0x588d46[_0x5d3699(0x187)]),_0x4af3fd=_0x588d46[_0x5d3699(0x1c0)](_0x574612,{});bsSetupHelper[_0x5d3699(0x14a)](_0x4af3fd,_0x5cfd48),_0x126472[_0x5d3699(0x13f)]()['set'](_0x588d46[_0x5d3699(0x187)],_0x4af3fd);}else logger[_0x5d3699(0x17d)](_0x588d46[_0x5d3699(0x1b9)]);}catch(_0x5f02f3){logger[_0x5d3699(0x1f2)](_0x5d3699(0x1ce)+_0x5f02f3);}},exports[a108_0x3bb529(0x125)]=(_0x15dc02=null,_0x236f7a=!![],_0x4247bc=[])=>{const _0x185c30=a108_0x3bb529,_0x4c8f6e={};_0x4c8f6e[_0x185c30(0x138)]=function(_0x510046,_0x23e2ee){return _0x510046==_0x23e2ee;},_0x4c8f6e[_0x185c30(0x1bf)]=function(_0x5a9160,_0x39d9fa){return _0x5a9160>_0x39d9fa;},_0x4c8f6e['SSuTH']=function(_0x36aef5,_0x2c7078){return _0x36aef5===_0x2c7078;},_0x4c8f6e[_0x185c30(0x133)]=function(_0x305422,_0x445e99){return _0x305422&&_0x445e99;},_0x4c8f6e['XfIVc']=function(_0x32cb10,_0x45ffc9){return _0x32cb10===_0x45ffc9;};const _0x30380c=_0x4c8f6e;if(_0x30380c[_0x185c30(0x138)](process[_0x185c30(0x1d8)][_0x185c30(0x1b5)],null))return!![];try{const _0x1cddc5=JSON[_0x185c30(0x1bc)](process[_0x185c30(0x1d8)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']),_0xceebb3=Array[_0x185c30(0x16f)](_0x1cddc5[_0x185c30(0x12e)])?_0x1cddc5[_0x185c30(0x12e)]:[],_0x164a12=Array['isArray'](_0x1cddc5[_0x185c30(0x171)])?_0x1cddc5[_0x185c30(0x171)]:[],_0x4b3ac9=_0x14e594=>typeof _0x14e594===_0x185c30(0x180)?_0x14e594[_0x185c30(0x1f0)](/^@/,'')[_0x185c30(0x19c)]()[_0x185c30(0x12f)]():_0x14e594;if(bsSetupHelper['isUndefined'](_0x15dc02)){if(_0x30380c[_0x185c30(0x1bf)](_0x4247bc[_0x185c30(0x1e0)],0x0)){const _0x204927=_0x4247bc[_0x185c30(0x146)](_0x4b3ac9),_0x2c03c6=_0x164a12[_0x185c30(0x189)](_0x5237af=>_0x204927[_0x185c30(0x111)](_0x4b3ac9(_0x5237af))),_0x3c9b59=_0x30380c[_0x185c30(0x150)](_0xceebb3[_0x185c30(0x1e0)],0x0)||_0xceebb3[_0x185c30(0x189)](_0x1f2082=>_0x204927[_0x185c30(0x111)](_0x4b3ac9(_0x1f2082)));return _0x30380c[_0x185c30(0x133)](!_0x2c03c6,_0x3c9b59);}return!![];}let _0x42e56c;_0x236f7a?_0x42e56c=_0x15dc02[_0x185c30(0xfe)]('/'):_0x42e56c=_0x15dc02;const _0x16f48d=_0x164a12[_0x185c30(0x189)](_0x36124e=>_0x42e56c[_0x185c30(0x19c)]()[_0x185c30(0x111)](_0x4b3ac9(_0x36124e)[_0x185c30(0x19c)]())),_0x6f0040=_0x30380c['XfIVc'](_0xceebb3['length'],0x0)||_0xceebb3['some'](_0x563009=>_0x42e56c[_0x185c30(0x19c)]()['includes'](_0x4b3ac9(_0x563009)['toLowerCase']()));return _0x30380c[_0x185c30(0x133)](!_0x16f48d,_0x6f0040);}catch(_0x38537d){logger['debug']('Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20'+util['format'](_0x38537d));}return![];},exports['checkAccessibilityPlatformConfig']=_0x9052e5=>{const _0x3d64f7=a108_0x3bb529;let _0x288f11=![];try{_0x9052e5[_0x3d64f7(0x17b)]['forEach'](_0x9719a2=>{const _0x4a1bb5=_0x3d64f7;if(bsSetupHelper[_0x4a1bb5(0x1b6)](_0x9719a2[_0x4a1bb5(0x143)]))return _0x288f11=!![],!![];});}catch(_0x450ec){logger[_0x3d64f7(0x114)]('Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20'+_0x450ec);}return _0x288f11||bsSetupHelper['isTrue'](_0x9052e5['accessibility']);},exports['createAccessibilityTestRun']=PerformanceTester['measureWrapper'](a108_0x3bb529(0x196),async function(_0x969d2f,_0x58e3fb){const _0x17ec10=a108_0x3bb529,_0x580060={};_0x580060['lHDZr']='Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token',_0x580060[_0x17ec10(0x18b)]=_0x17ec10(0x1ee),_0x580060['iADfc']='javascript',_0x580060[_0x17ec10(0xdf)]=_0x17ec10(0x1cd),_0x580060['JhJmv']='POST',_0x580060[_0x17ec10(0x154)]='v2/test_runs',_0x580060[_0x17ec10(0x110)]=function(_0x2c9dac,_0x87171c){return _0x2c9dac===_0x87171c;},_0x580060['ogeUh']=_0x17ec10(0xe1),_0x580060[_0x17ec10(0x103)]=_0x17ec10(0x17c);const _0x47ea93=_0x580060,_0x96b09f=bsSetupHelper[_0x17ec10(0x13e)](_0x969d2f),_0x745272=bsSetupHelper['getAccessKey'](_0x969d2f);if(bsSetupHelper[_0x17ec10(0x14e)](_0x96b09f)||bsSetupHelper[_0x17ec10(0x14e)](_0x745272))return logger['error'](_0x47ea93[_0x17ec10(0xf1)]),[null,null];try{let _0x237746;bsSetupHelper['isUndefined'](process[_0x17ec10(0x1d8)][_0x17ec10(0x1b5)])?_0x237746={}:_0x237746=JSON['parse'](process['env'][_0x17ec10(0x1b5)]);const {name:_0x3bea72,version:_0x3bc913}=bsSetupHelper[_0x17ec10(0x183)](_0x969d2f,_0x58e3fb),_0xf23889={'projectName':_0x969d2f[_0x17ec10(0x153)],'buildName':_0x969d2f[_0x17ec10(0x1d7)]||path['basename'](path[_0x17ec10(0x1b0)](process['cwd']())),'startTime':new Date()[_0x17ec10(0x14c)](),'description':_0x969d2f[_0x17ec10(0x1b8)]||'','source':{'frameworkName':_0x58e3fb[_0x17ec10(0x111)](_0x47ea93['JPwpY'])?_0x47ea93['JPwpY']:_0x58e3fb,'frameworkVersion':bsSetupHelper['getPackageVersion'](_0x58e3fb),'sdkVersion':bsSetupHelper[_0x17ec10(0x1d0)](),'language':_0x47ea93[_0x17ec10(0x155)],'testFramework':_0x3bea72,'testFrameworkVersion':_0x3bc913},'settings':_0x237746,'versionControl':await bsSetupHelper['getGitMetaData'](),'ciInfo':bsSetupHelper[_0x17ec10(0x19e)](),'hostInfo':bsSetupHelper[_0x17ec10(0x120)](),'browserstackAutomation':bsSetupHelper[_0x17ec10(0x15b)]()},_0x10f346={};_0x10f346[_0x17ec10(0x1b1)]=_0x96b09f,_0x10f346[_0x17ec10(0x161)]=_0x745272;const _0x1ec102={};_0x1ec102[_0x17ec10(0x14f)]=_0x47ea93[_0x17ec10(0xdf)];const _0x343fcb={};_0x343fcb[_0x17ec10(0x198)]=_0x10f346,_0x343fcb['headers']=_0x1ec102;const _0xc8924=_0x343fcb,_0x24cc38={};_0x24cc38['body']=_0xf23889,_0x24cc38[_0x17ec10(0x1de)]=!![];const _0x5db874=Object[_0x17ec10(0x1f3)](_0xc8924,_0x24cc38),_0x5df61a=await bsSetupHelper[_0x17ec10(0x16a)](_0x47ea93[_0x17ec10(0xf5)],_0x47ea93[_0x17ec10(0x154)],_0x5db874,_0x969d2f,API_URL);let _0x1c3ea3=process[_0x17ec10(0x1d8)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'];return _0x1c3ea3?_0x1c3ea3=JSON[_0x17ec10(0x1bc)](process[_0x17ec10(0x1d8)][_0x17ec10(0x1b5)]):_0x1c3ea3={},scripts['parseFromJson'](_0x5df61a[_0x17ec10(0xff)][_0x17ec10(0xff)]),scripts[_0x17ec10(0x1ea)](),_0x1c3ea3[_0x17ec10(0x160)]=_0x5df61a[_0x17ec10(0xff)][_0x17ec10(0xff)][_0x17ec10(0x160)],process['env'][_0x17ec10(0x1b5)]=JSON['stringify'](_0x1c3ea3),[_0x5df61a['data']['data'][_0x17ec10(0x1ed)],_0x5df61a[_0x17ec10(0xff)][_0x17ec10(0xff)]['id']];}catch(_0x3e33e6){if(_0x3e33e6[_0x17ec10(0x1df)])logger[_0x17ec10(0x1f2)]('Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20'+_0x3e33e6[_0x17ec10(0x1df)][_0x17ec10(0x168)]+'\x20'+_0x3e33e6[_0x17ec10(0x1df)]['statusText']+'\x20'+JSON['stringify'](_0x3e33e6[_0x17ec10(0x1df)]['data']));else{if(_0x47ea93[_0x17ec10(0x110)](_0x3e33e6[_0x17ec10(0x108)],_0x47ea93[_0x17ec10(0x1a4)])){logger['error'](_0x17ec10(0x142)+(_0x3e33e6['message']||_0x3e33e6[_0x17ec10(0x140)]));for(const _0x1b83bf of _0x3e33e6[_0x17ec10(0x13a)]){logger[_0x17ec10(0x1f2)](_0x1b83bf[_0x17ec10(0x108)]);}process[_0x17ec10(0x1d8)][_0x17ec10(0x15c)]=_0x47ea93[_0x17ec10(0x103)],process[_0x17ec10(0x1d8)][_0x17ec10(0xec)]=_0x47ea93[_0x17ec10(0x103)];}else logger[_0x17ec10(0x1f2)](_0x17ec10(0x142)+(_0x3e33e6[_0x17ec10(0x108)]||_0x3e33e6['stack']));}return[null,null];}}),exports['stopAccessibilityTestRun']=PerformanceTester[a108_0x3bb529(0x1e6)](a108_0x3bb529(0xf8),async function(_0x231ef2){const _0x101bb1=a108_0x3bb529,_0x5be755={};_0x5be755[_0x101bb1(0x127)]=function(_0x288d28,_0x335089){return _0x288d28!==_0x335089;},_0x5be755['Piypt']=_0x101bb1(0x180),_0x5be755[_0x101bb1(0x151)]='error',_0x5be755[_0x101bb1(0xfa)]=_0x101bb1(0x144),_0x5be755[_0x101bb1(0x105)]=_0x101bb1(0x1cd),_0x5be755['whnLl']='PUT',_0x5be755[_0x101bb1(0x112)]=_0x101bb1(0x18c),_0x5be755[_0x101bb1(0x11c)]=function(_0x1bc32d,_0x4b6fab){return _0x1bc32d+_0x4b6fab;},_0x5be755[_0x101bb1(0x15e)]='Invalid\x20request:\x20',_0x5be755[_0x101bb1(0x1dc)]=_0x101bb1(0xfc);const _0x3801a3=_0x5be755;if(bsSetupHelper['isUndefined'](process[_0x101bb1(0x1d8)][_0x101bb1(0x173)])||_0x3801a3[_0x101bb1(0x127)](typeof process[_0x101bb1(0x1d8)][_0x101bb1(0x173)],_0x3801a3[_0x101bb1(0x193)])){const _0x47a0c0={};return _0x47a0c0[_0x101bb1(0x168)]=_0x3801a3[_0x101bb1(0x151)],_0x47a0c0[_0x101bb1(0x108)]=_0x3801a3[_0x101bb1(0xfa)],_0x47a0c0;}const _0x4a1d9e={'endTime':new Date()[_0x101bb1(0x14c)]()},_0x2ee9f8={};_0x2ee9f8[_0x101bb1(0x181)]='Bearer\x20'+process['env'][_0x101bb1(0x173)],_0x2ee9f8['Content-Type']=_0x3801a3[_0x101bb1(0x105)];const _0x28f953={};_0x28f953['headers']=_0x2ee9f8;const _0x55afaa=_0x28f953,_0x160c78={};_0x160c78[_0x101bb1(0x157)]=_0x4a1d9e,_0x160c78[_0x101bb1(0x198)]=null,_0x160c78[_0x101bb1(0x1de)]=!![];const _0x518c6d=Object['assign'](_0x55afaa,_0x160c78);try{const _0x166445=await bsSetupHelper[_0x101bb1(0x16a)](_0x3801a3[_0x101bb1(0x135)],_0x3801a3[_0x101bb1(0x112)],_0x518c6d,_0x231ef2,API_URL);if(_0x166445[_0x101bb1(0xff)][_0x101bb1(0x1f2)])throw new Error(_0x3801a3['Fwxoi'](_0x3801a3[_0x101bb1(0x15e)],_0x166445['data']['error']));else{logger[_0x101bb1(0x10b)](_0x101bb1(0x126)+new Date()[_0x101bb1(0x14c)]());const _0x3fe142={};return _0x3fe142[_0x101bb1(0x168)]=_0x3801a3[_0x101bb1(0x1dc)],_0x3fe142[_0x101bb1(0x108)]='',_0x3fe142;}}catch(_0x1dfe7f){_0x1dfe7f['response']?logger[_0x101bb1(0x1f2)](_0x101bb1(0x17a)+_0x1dfe7f[_0x101bb1(0x1df)][_0x101bb1(0x168)]+'\x20'+_0x1dfe7f[_0x101bb1(0x1df)][_0x101bb1(0x18e)]+'\x20'+JSON[_0x101bb1(0x174)](_0x1dfe7f['response']['data'])):logger[_0x101bb1(0x1f2)](_0x101bb1(0x17a)+(_0x1dfe7f[_0x101bb1(0x108)]||util[_0x101bb1(0xea)](_0x1dfe7f)));const _0x310271={};return _0x310271[_0x101bb1(0x168)]=_0x3801a3[_0x101bb1(0x151)],_0x310271['message']=_0x1dfe7f[_0x101bb1(0x108)]||(_0x1dfe7f[_0x101bb1(0x1df)]?_0x1dfe7f[_0x101bb1(0x1df)][_0x101bb1(0x168)]+':'+_0x1dfe7f[_0x101bb1(0x1df)][_0x101bb1(0x18e)]:_0x1dfe7f),_0x310271;}}),exports[a108_0x3bb529(0x11d)]=async(_0x41f27e,_0x1ebd15=null,_0x350134=![],_0x5d604a=null)=>{const _0x2f55d3=a108_0x3bb529,_0x16d87d={};_0x16d87d[_0x2f55d3(0x10f)]=_0x2f55d3(0x19b),_0x16d87d[_0x2f55d3(0x162)]=_0x2f55d3(0x1ba),_0x16d87d[_0x2f55d3(0x170)]=_0x2f55d3(0x169),_0x16d87d[_0x2f55d3(0x1a9)]=function(_0x2b3edd,_0xbd4112){return _0x2b3edd||_0xbd4112;},_0x16d87d['wmcpG']=_0x2f55d3(0x1ac),_0x16d87d[_0x2f55d3(0x1b7)]=_0x2f55d3(0x182);const _0x43e3da=_0x16d87d;if(!this[_0x2f55d3(0x1a5)]()||!globals[_0x2f55d3(0x166)](_0x43e3da[_0x2f55d3(0x10f)])||!_0x350134&&!globals[_0x2f55d3(0x166)](_0x43e3da['xbETa'])){logger['warn'](_0x43e3da['IBCEM']);return;}const _0x53f3d0=_0x350134?_0x43e3da[_0x2f55d3(0x1a9)](_0x5d604a,{}):globals[_0x2f55d3(0x166)](_0x43e3da['wmcpG'])||{},_0x2b3d03={};_0x2b3d03['method']=_0x1ebd15||global['browserstackSessionName'];const _0x424242=Object['assign']({},_0x53f3d0,_0x2b3d03);await this['isMobileAccessibilitySession'](_0x41f27e)&&(Object[_0x2f55d3(0x1f3)](_0x424242,this[_0x2f55d3(0xf6)](),{'thTestRunUuid':this[_0x2f55d3(0x137)]()}),logger[_0x2f55d3(0x114)](_0x43e3da[_0x2f55d3(0x1b7)]));logger[_0x2f55d3(0x114)]('[Accessibility]\x20Selenium\x20performScan\x20payload:\x20'+util[_0x2f55d3(0xea)]('%j',_0x424242));const _0x4c287f={};return _0x4c287f['command']=_0x1ebd15,await PerformanceTester[_0x2f55d3(0x1e6)](PerformanceA11yEvents[_0x2f55d3(0x104)],async()=>{const _0x396e0c=_0x2f55d3;try{await _0x41f27e['wait'](()=>_0x41f27e[_0x396e0c(0x106)]('return\x20document.readyState\x20===\x20\x22complete\x22'),0x1388);}catch(_0x3e0355){}const _0x41d842=util[_0x396e0c(0xea)](await _0x41f27e[_0x396e0c(0x139)](scripts[_0x396e0c(0x11d)],_0x424242));return logger[_0x396e0c(0x114)](_0x396e0c(0x18a)+_0x41d842),_0x41d842;},_0x4c287f)();},exports[a108_0x3bb529(0x15a)]=async(_0x125b57,_0xbc0ab6)=>{const _0x25ffcf=a108_0x3bb529,_0x519f15={};_0x519f15['vOqGS']=_0x25ffcf(0xed),_0x519f15[_0x25ffcf(0x11b)]=_0x25ffcf(0x19b),_0x519f15[_0x25ffcf(0x148)]=_0x25ffcf(0x1ba),_0x519f15[_0x25ffcf(0x1b3)]=_0x25ffcf(0xf2),_0x519f15['brpxh']=_0x25ffcf(0x15a),_0x519f15[_0x25ffcf(0x156)]=_0x25ffcf(0x115);const _0x730e9=_0x519f15;if(!this[_0x25ffcf(0x1a5)]()||!globals[_0x25ffcf(0x166)](_0x730e9[_0x25ffcf(0x11b)])||!globals['getGlobal'](_0x730e9[_0x25ffcf(0x148)]))return logger[_0x25ffcf(0x17d)](_0x730e9[_0x25ffcf(0x1b3)]),[];try{const _0x2af05e=await this[_0x25ffcf(0x1a2)](_0x125b57),_0x367040=_0x2af05e?Object[_0x25ffcf(0x1f3)]({},this['getMobileA11yCapabilities'](),{'thTestRunUuid':this[_0x25ffcf(0x137)]()}):{};return _0x2af05e&&logger[_0x25ffcf(0x114)]('getAccessibilityResults:\x20Mobile\x20session\x20detected,\x20args:\x20'+util['format']('%j',_0x367040)),await PerformanceTester[_0x25ffcf(0x1e6)](PerformanceA11yEvents[_0x25ffcf(0x104)],async()=>{const _0xccc7be=_0x25ffcf;logger[_0xccc7be(0x114)](_0x730e9[_0xccc7be(0x16b)]);const _0xbef36a={};_0xbef36a[_0xccc7be(0xe6)]=_0xbc0ab6['browserstackSessionName'];const _0x50ff83=Object[_0xccc7be(0x1f3)](_0xbef36a,_0x367040);logger['debug'](util[_0xccc7be(0xea)](await _0x125b57[_0xccc7be(0x139)](scripts['performScan'],_0x50ff83)));},{'command':_0x730e9[_0x25ffcf(0x165)]})(),await PerformanceTester[_0x25ffcf(0x1e6)](PerformanceA11yEvents[_0x25ffcf(0xde)],async()=>{const _0x5141ac=_0x25ffcf,_0x742660=_0x2af05e?await _0x125b57[_0x5141ac(0x139)](scripts[_0x5141ac(0x121)],_0x367040):await _0x125b57[_0x5141ac(0x139)](scripts[_0x5141ac(0x121)]);return _0x742660;})();}catch{return logger[_0x25ffcf(0x1f2)](_0x730e9['QHQHN']),[];}},exports[a108_0x3bb529(0x1d1)]=async(_0x12182c,_0x3190f9)=>{const _0xc350=a108_0x3bb529,_0x288132={};_0x288132['BIdnX']='Performing\x20scan\x20before\x20getting\x20results\x20summary',_0x288132[_0xc350(0x1e7)]=_0xc350(0x19b),_0x288132[_0xc350(0x10a)]='bstackA11yShouldScan',_0x288132['LbqrO']='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.',_0x288132[_0xc350(0x172)]=_0xc350(0x1d1),_0x288132['JlIbT']=_0xc350(0x1c4);const _0x39cd0d=_0x288132;if(!this[_0xc350(0x1a5)]()||!globals['getGlobal'](_0x39cd0d[_0xc350(0x1e7)])||!globals[_0xc350(0x166)](_0x39cd0d['KoWjR']))return logger[_0xc350(0x17d)](_0x39cd0d[_0xc350(0x1d9)]),{};try{const _0x3bad9a=await this[_0xc350(0x1a2)](_0x12182c),_0x40ffe9=_0x3bad9a?Object[_0xc350(0x1f3)]({},this['getMobileA11yCapabilities'](),{'thTestRunUuid':this[_0xc350(0x137)]()}):{};return _0x3bad9a&&logger[_0xc350(0x114)](_0xc350(0x1e5)+util[_0xc350(0xea)]('%j',_0x40ffe9)),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0xc350(0x104)],async()=>{const _0x2e52d9=_0xc350;logger['debug'](_0x39cd0d[_0x2e52d9(0xef)]);const _0xcb7aed={};_0xcb7aed[_0x2e52d9(0xe6)]=_0x3190f9[_0x2e52d9(0x15f)];const _0x2b66fd=Object[_0x2e52d9(0x1f3)](_0xcb7aed,_0x40ffe9);logger[_0x2e52d9(0x114)](util['format'](await _0x12182c['executeAsyncScript'](scripts[_0x2e52d9(0x11d)],_0x2b66fd)));},{'command':_0x39cd0d[_0xc350(0x172)]})(),await PerformanceTester[_0xc350(0x1e6)](PerformanceA11yEvents[_0xc350(0xfd)],async()=>{const _0x2c7ef6=_0xc350,_0xb606eb=_0x3bad9a?await _0x12182c[_0x2c7ef6(0x139)](scripts[_0x2c7ef6(0x1b4)],_0x40ffe9):await _0x12182c[_0x2c7ef6(0x139)](scripts[_0x2c7ef6(0x1b4)]);return _0xb606eb;})();}catch{return logger[_0xc350(0x1f2)](_0x39cd0d[_0xc350(0x13c)]),{};}},exports[a108_0x3bb529(0x102)]=(_0x753845,_0x2a9f1c=![])=>{const _0x45d902=a108_0x3bb529,_0x50c4a9={'FlVIc':function(_0x9aac46,_0x337be0){return _0x9aac46(_0x337be0);},'LnlLD':function(_0x3d61d1,_0x45034c){return _0x3d61d1(_0x45034c);},'bMmRi':_0x45d902(0x19d),'Uzxrc':function(_0x3daeef,_0x57e36e){return _0x3daeef!==_0x57e36e;},'FLPih':_0x45d902(0x16c),'PjjlS':function(_0x537c17,_0x44b11f){return _0x537c17(_0x44b11f);},'fGrPg':_0x45d902(0x12c),'KOoUX':_0x45d902(0x149),'GRhFY':_0x45d902(0x195),'siWQi':_0x45d902(0x11f)};try{if(!_0x753845)return![];const _0x3d4586=_0x8bf4c4=>typeof _0x753845[_0x45d902(0x1cb)]===_0x45d902(0x190)?_0x753845[_0x45d902(0x1cb)](_0x8bf4c4):_0x753845[_0x8bf4c4],_0x3d3a69=_0x50c4a9[_0x45d902(0x163)](String,_0x50c4a9[_0x45d902(0x119)](_0x3d4586,_0x50c4a9[_0x45d902(0x1c7)])||'')['toLowerCase']();if(_0x50c4a9['Uzxrc'](_0x3d3a69,_0x50c4a9[_0x45d902(0x1d4)]))return![];const _0x1084ac=_0x50c4a9[_0x45d902(0x119)](String,_0x50c4a9['PjjlS'](_0x3d4586,_0x50c4a9[_0x45d902(0x191)])||'')['toLowerCase']();if(!_0x1084ac['includes'](_0x50c4a9[_0x45d902(0x131)]))return _0x2a9f1c&&logger[_0x45d902(0x17d)](_0x50c4a9[_0x45d902(0x1c9)]),![];return logger[_0x45d902(0x114)](_0x50c4a9[_0x45d902(0x1d5)]),!![];}catch(_0x3b5c6a){return logger[_0x45d902(0x114)](_0x45d902(0x1cf)+_0x3b5c6a),![];}},exports['isMobileAccessibilitySession']=async _0x3376ba=>{const _0x3eec24=a108_0x3bb529;try{const _0x30101c=await _0x3376ba[_0x3eec24(0x13f)]();return exports[_0x3eec24(0x102)](_0x30101c);}catch(_0x1a7b9b){return logger[_0x3eec24(0x114)]('Error\x20checking\x20mobile\x20accessibility\x20session:\x20'+_0x1a7b9b),![];}},exports['getMobileA11yCapabilities']=()=>{const _0x102031=a108_0x3bb529,_0x1b406a={};return _0x1b406a[_0x102031(0x197)]=!![],_0x1b406a;},exports[a108_0x3bb529(0x137)]=()=>{const _0x458871=a108_0x3bb529,_0x57e554={};_0x57e554[_0x458871(0x186)]=function(_0x27c09f,_0x33031e){return _0x27c09f===_0x33031e;},_0x57e554[_0x458871(0xdd)]=_0x458871(0x180),_0x57e554[_0x458871(0xf7)]=function(_0x2422fe,_0x5cda94){return _0x2422fe>_0x5cda94;},_0x57e554[_0x458871(0x1d3)]=_0x458871(0x1ab),_0x57e554['PFqYh']=_0x458871(0x123),_0x57e554['RiSTW']='undefined';const _0xf0514f=_0x57e554,_0x142eea=global['__workerDetails'],_0x2b0935=_0x142eea&&_0x142eea[_0x458871(0x128)],_0x4320f6=_0x2b0935&&_0x2b0935[_0x458871(0x19f)];if(_0xf0514f[_0x458871(0x186)](typeof _0x4320f6,_0xf0514f['TgMvI'])&&_0xf0514f[_0x458871(0xf7)](_0x4320f6[_0x458871(0x1e0)],0x0))return _0x4320f6;let _0x113fee;if(!_0x142eea)_0x113fee=_0xf0514f[_0x458871(0x1d3)];else!_0x2b0935?_0x113fee=_0xf0514f[_0x458871(0x1c8)]:_0x113fee=_0x458871(0xe8)+Object[_0x458871(0x113)](_0x2b0935)[_0x458871(0xfe)](',\x20')+_0x458871(0x1a3)+(_0xf0514f[_0x458871(0x186)](_0x4320f6,undefined)?_0xf0514f[_0x458871(0x175)]:'\x22'+_0x4320f6+'\x22')+_0x458871(0x178);return logger[_0x458871(0x17d)](_0x458871(0x1ae)+_0x113fee+_0x458871(0x130)),'';},exports['isBrowserStackCommandExecutor']=_0x2bac7d=>{const _0x59198f=a108_0x3bb529,_0x484b04={};_0x484b04[_0x59198f(0x1f1)]=function(_0x193039,_0x4fe7ee){return _0x193039===_0x4fe7ee;},_0x484b04['gJSRv']='string',_0x484b04[_0x59198f(0xe0)]='browserstack_executor';const _0x1efeb9=_0x484b04;if(_0x2bac7d&&_0x2bac7d['script']&&_0x1efeb9[_0x59198f(0x1f1)](typeof _0x2bac7d['script'],_0x1efeb9[_0x59198f(0xee)]))return _0x2bac7d[_0x59198f(0x179)][_0x59198f(0x111)](_0x1efeb9[_0x59198f(0xe0)]);return![];},exports['MOBILE_SCANNING_DISABLED_WARNING']=a108_0x3bb529(0x1af),exports['isMobileScanningEnabledForGroup']=()=>process[a108_0x3bb529(0x1d8)][a108_0x3bb529(0x194)]===a108_0x3bb529(0x152),exports[a108_0x3bb529(0xe4)]=_0x1fb12b=>{const _0x118665=a108_0x3bb529,_0x42cbd6={};_0x42cbd6[_0x118665(0x12a)]=function(_0x1a7ddf,_0x3f916b){return _0x1a7ddf in _0x3f916b;};const _0x5632cd=_0x42cbd6;if(bsSetupHelper['isUndefined'](_0x1fb12b))return![];const _0x5075d8=_0x1fb12b[_0x118665(0x19c)]();return _0x5632cd['hlKLg'](_0x5075d8,ACCESSIBILITY_SUPPORTED_BROWSERS);},exports[a108_0x3bb529(0xf9)]=_0x48c133=>{const _0x305320=a108_0x3bb529;if(bsSetupHelper[_0x305320(0x14e)](_0x48c133))return null;const _0x31a0ce=_0x48c133[_0x305320(0x19c)]();return ACCESSIBILITY_SUPPORTED_BROWSERS[_0x31a0ce]||null;},exports['getMinVersionForBrowser']=(_0x59f8aa,_0x238f80)=>{const _0xbfc322=a108_0x3bb529,_0x3a400d=this[_0xbfc322(0xf9)](_0x59f8aa);if(!_0x3a400d)return null;if(_0x238f80)return _0x3a400d[_0xbfc322(0x1a8)];return _0x3a400d['min_version_non_browserstack'];},exports[a108_0x3bb529(0x1a7)]=_0x39bf32=>{const _0x37b664=a108_0x3bb529,_0x32f40d=this[_0x37b664(0xf9)](_0x39bf32);return _0x32f40d?_0x32f40d[_0x37b664(0x199)]:_0x39bf32;},exports[a108_0x3bb529(0x1b2)]=_0x4225d9=>{const _0x385e1c=a108_0x3bb529,_0xdc6f5b=this[_0x385e1c(0xf9)](_0x4225d9);return _0xdc6f5b?_0xdc6f5b['requires_chrome_options_check']:![];},exports[a108_0x3bb529(0xeb)]=(_0x1c90ee,_0x96e4c3)=>{const _0x3716d2=a108_0x3bb529,_0x193ba5={'EsqQm':function(_0x29597b,_0x11d8ee){return _0x29597b(_0x11d8ee);},'hJCtb':function(_0x26cdfa,_0x35db13){return _0x26cdfa>=_0x35db13;}};if(bsSetupHelper[_0x3716d2(0x14e)](_0x1c90ee)||bsSetupHelper[_0x3716d2(0x14e)](_0x96e4c3))return![];const _0x225860=bsSetupHelper['compareVersions'](_0x193ba5[_0x3716d2(0x188)](String,_0x1c90ee),_0x193ba5['EsqQm'](String,_0x96e4c3));return _0x193ba5[_0x3716d2(0x185)](_0x225860,0x0);},exports[a108_0x3bb529(0xe3)]=_0xfaac69=>{const _0x37d4fb=a108_0x3bb529,_0x2ccfa8={};_0x2ccfa8[_0x37d4fb(0x1a0)]=function(_0x8dc139,_0x16cd40){return _0x8dc139!==_0x16cd40;},_0x2ccfa8[_0x37d4fb(0x1e3)]=_0x37d4fb(0x180),_0x2ccfa8[_0x37d4fb(0x132)]='base64';const _0x4330f3=_0x2ccfa8;if(!_0xfaac69||_0x4330f3[_0x37d4fb(0x1a0)](typeof _0xfaac69,_0x4330f3[_0x37d4fb(0x1e3)]))return null;try{return JSON[_0x37d4fb(0x1bc)](Buffer[_0x37d4fb(0x129)](_0xfaac69['split']('.')[0x1],_0x4330f3[_0x37d4fb(0x132)])['toString']());}catch{return null;}};function a108_0x9748(){const _0x23bbd6=['projectName','Lsbub','iADfc','QHQHN','body','BROWSERSTACK_TURBOSCALE','AEXIU','getAccessibilityResults','isBrowserstackInfra','BROWSERSTACK_TEST_ACCESSIBILITY_YML','fetchPlatformDetails','TKiVj','browserstackSessionName','scannerVersion','pass','xbETa','FlVIc','fEjad','brpxh','getGlobal','55JQfaVs','status','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.','nodeRequest','vOqGS','android','deviceName','--headless=','isArray','IBCEM','excludeTagsInTestingScope','EpHmm','BS_A11Y_JWT','stringify','RiSTW','BSOTU','ChromeExtension','.\x20The\x20framework\x20setup\x20hook\x20is\x20not\x20writing\x20thTestRunUuid\x20onto\x20currentTest.','script','Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20','platforms','false','warn','./scripts','requireModule','string','Authorization','performScan:\x20Mobile\x20capabilities\x20added\x20to\x20scan\x20arguments','getTestFrameworkDetails','Kxgcr','hJCtb','bupXX','GShmp','EsqQm','some','Performed\x20scan\x20with\x20result:\x20','JPwpY','test_runs/stop','null','statusText','selenium-webdriver','function','fGrPg','uWBIG','Piypt','BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP','Mobile\x20Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser.','a11y:start','is_mobile_session','auth','display_name','device','isAccessibilityPlatform','toLowerCase','platformName','getCiInfo','thTestRunUuid','UdEms','80267IQCJNs','isMobileAccessibilitySession',']\x20but\x20thTestRunUuid\x20is\x20','ogeUh','isAccessibilityAutomationSession','482524fQtjaw','getBrowserDisplayName','min_version_browserstack','tyBGN','IWIBL','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).','bstackA11yScanOptions','iJjdn','[Accessibility]\x20Mobile\x20scan\x20requested\x20but\x20thTestRunUuid\x20not\x20resolvable:\x20','Mobile\x20Accessibility\x20Automation\x20is\x20not\x20enabled\x20for\x20your\x20account.\x20Accessibility\x20scans\x20will\x20be\x20skipped\x20on\x20mobile\x20sessions.\x20Contact\x20BrowserStack\x20to\x20enable\x20mobile\x20accessibility\x20scanning.','resolve','user','requiresChromeOptionsValidation','gHpgH','getResultsSummary','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','isTrue','ZBeCO','buildDescription','kCexC','bstackA11yShouldScan','getPlatformVersion','parse','options_','sMddr','PNmCb','yyhMe','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','hxzOZ','Options','No\x20accessibility\x20summary\x20was\x20found.','startsWith','nonBstackPlatformValidation','bMmRi','PFqYh','GRhFY','ffkHD','get','util','application/json','Error\x20while\x20adding\x20Non-Bstack\x20capabilities:\x20','Error\x20checking\x20if\x20mobile\x20accessibility\x20platform:\x20','getAgentVersion','getAccessibilityResultsSummary','747027FfpZtN','lQtvh','FLPih','siWQi','uZTbb','buildName','env','LbqrO','getPlatform','6420lbKiWS','BlZpx','AOkFm','json','response','length','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','path','DkAEM','LGNEN','getAccessibilityResultsSummary:\x20Mobile\x20session\x20detected,\x20args:\x20','measureWrapper','SIPVp','goog:chromeOptions','35652vnCgIy','toJson','umFTZ','browserVersion','accessibilityToken','playwright','capabilities_','replace','YXrYl','error','assign','LGobX','TgMvI','GET_RESULTS','ccIoP','SlnIm','Invalid\x20configuration\x20passed.','2DsiAjR','parseA11yJwtPayload','isBrowserSupportedForAccessibility','version','method','SWilj','global.__workerDetails.currentTest\x20exists\x20with\x20keys\x20[','../logger','format','isVersionSupported','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','Performing\x20scan\x20before\x20getting\x20results','gJSRv','BIdnX','getBrowserVersion','lHDZr','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','selenium-webdriver/chrome.js','whoPK','JhJmv','getMobileA11yCapabilities','iTYuC','a11y:stop','getBrowserA11yConfig','zuaev','../helper','success','GET_RESULTS_SUMMARY','join','data','SqATp','--headless','isMobileAccessibilityPlatform','bkzfw','PERFORM_SCAN','BBLFr','executeScript','Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20','message','XGXYm','KoWjR','info','./constants','10fYYQvh','uqsHe','GqTLH','rfxWc','includes','oExRu','keys','debug','No\x20accessibility\x20results\x20were\x20found.','16IItMBa','args','chromeOptions_','LnlLD','466114vNxzLQ','CikML','Fwxoi','performScan','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','Session\x20is\x20identified\x20as\x20mobile\x20accessibility\x20platform\x20(Android\x20+\x20Chrome)','getHostInfo','getResults','4932hRLCVS','global.__workerDetails\x20exists\x20but\x20.currentTest\x20is\x20undefined\x20—\x20scan\x20fired\x20outside\x20a\x20test\x20body\x20(before/beforeAll\x20hook,\x20or\x20between\x20tests).','--headless=new','shouldScanTestForAccessibility','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20','agyrO','currentTest','from','hlKLg','../performance/performance-tester','browserName','chromeOptions','includeTagsInTestingScope','trim','\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.','KOoUX','ubsjC','RSMvk','setNonBstackInfraCapabilities','whnLl','nestedKeyValue','resolveMobileThTestRunUuid','Nizlv','executeAsyncScript','errors','WCJxE','JlIbT','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20','getUserName','getCapabilities','stack','__cloud_provider___','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','accessibility','Build\x20creation\x20had\x20failed.','vAszz','map','winstonLogger','HGnpV','chrome','mergeDeep','Not\x20a\x20Accessibility\x20Session','toISOString','LdZpR','isUndefined','Content-Type','SSuTH','PByVb','true'];a108_0x9748=function(){return _0x23bbd6;};return a108_0x9748();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a109_0x3fd2(){const _0x1dd0fb=['commands','path','ChromeExtension','OtDwy','toLowerCase','commandsToWrap','vYpMI','findIndex','getLibrary','.browserstack','40441820UmeDPu','CqcVa','parseFromJson','296CbxIIE','exports','shouldWrapCommand','1633509Xgdnol','getResults','debug','performScan','nonBStackInfraA11yChromeOptions','getMethod','wxTeQ','map','kRrQN','2353188IHRgcz','homedir','length','FlkDl','791739jUNXzy','commandsPath','getResultsSummary','Exception\x20in\x20browserstack\x20accessibility\x20automation\x20with\x20error:\x20','getModule','scan','fromJson','existsSync','winstonLogger','stringify','join','saveResults','20725nanOjv','6796810yuFxds','4bcESnm','name','mkOzO','3|4|2|5|1|0|6','writeFileSync','220318hAnkex','scripts','20GzhaaY','split','toJson','../../helpers/logger','browserstackFolderPath','getName','qtgTX','RbBuW','commands.json','saveTestResults','gkxxG','../helper','mkdirSync','getCommand','mSdVh'];a109_0x3fd2=function(){return _0x1dd0fb;};return a109_0x3fd2();}const a109_0x2dd418=a109_0x8e03;function a109_0x8e03(_0x72ed3f,_0x554786){const _0x3fd2e3=a109_0x3fd2();return a109_0x8e03=function(_0x8e03cf,_0x43327f){_0x8e03cf=_0x8e03cf-0x14d;let _0x54604a=_0x3fd2e3[_0x8e03cf];return _0x54604a;},a109_0x8e03(_0x72ed3f,_0x554786);}(function(_0x47c32d,_0x1826df){const _0x11e603=a109_0x8e03,_0x366c0f=_0x47c32d();while(!![]){try{const _0x51e2b2=-parseInt(_0x11e603(0x17f))/0x1*(-parseInt(_0x11e603(0x188))/0x2)+parseInt(_0x11e603(0x166))/0x3*(-parseInt(_0x11e603(0x181))/0x4)+-parseInt(_0x11e603(0x180))/0x5+-parseInt(_0x11e603(0x16f))/0x6+parseInt(_0x11e603(0x186))/0x7*(-parseInt(_0x11e603(0x163))/0x8)+-parseInt(_0x11e603(0x173))/0x9+parseInt(_0x11e603(0x160))/0xa;if(_0x51e2b2===_0x1826df)break;else _0x366c0f['push'](_0x366c0f['shift']());}catch(_0x22cb81){_0x366c0f['push'](_0x366c0f['shift']());}}}(a109_0x3fd2,0xab98c));const path=require(a109_0x2dd418(0x157)),fs=require('fs'),logger=require(a109_0x2dd418(0x18b))[a109_0x2dd418(0x17b)],helper=require(a109_0x2dd418(0x152));class Scripts{constructor(){const _0xd0a46d=a109_0x2dd418,_0x3614cd={};_0x3614cd[_0xd0a46d(0x155)]=_0xd0a46d(0x184),_0x3614cd[_0xd0a46d(0x151)]=_0xd0a46d(0x14f),_0x3614cd[_0xd0a46d(0x159)]=_0xd0a46d(0x15f);const _0x19dc4d=_0x3614cd,_0x26249d=_0x19dc4d[_0xd0a46d(0x155)][_0xd0a46d(0x189)]('|');let _0x4f1880=0x0;while(!![]){switch(_0x26249d[_0x4f1880++]){case'0':this[_0xd0a46d(0x174)]=path[_0xd0a46d(0x17d)](this[_0xd0a46d(0x18c)],_0x19dc4d[_0xd0a46d(0x151)]);continue;case'1':this[_0xd0a46d(0x18c)]=path['join'](helper[_0xd0a46d(0x170)](),_0x19dc4d['OtDwy']);continue;case'2':this[_0xd0a46d(0x175)]=null;continue;case'3':this[_0xd0a46d(0x169)]=null;continue;case'4':this['getResults']=null;continue;case'5':this[_0xd0a46d(0x150)]=null;continue;case'6':this[_0xd0a46d(0x179)]();continue;}break;}}[a109_0x2dd418(0x162)](_0x22535c){const _0x4baaae=a109_0x2dd418;_0x22535c['scripts']&&(this[_0x4baaae(0x169)]=_0x22535c[_0x4baaae(0x187)][_0x4baaae(0x178)],this['getResults']=_0x22535c['scripts'][_0x4baaae(0x167)],this[_0x4baaae(0x175)]=_0x22535c['scripts']['getResultsSummary'],this[_0x4baaae(0x150)]=_0x22535c[_0x4baaae(0x187)][_0x4baaae(0x17e)]),this[_0x4baaae(0x15b)]=_0x22535c[_0x4baaae(0x156)],this[_0x4baaae(0x158)]=_0x22535c[_0x4baaae(0x16a)];}['parseFromProto'](_0x133778,_0x1e7552){const _0x1dd52a=a109_0x2dd418,_0x504389={};_0x504389[_0x1dd52a(0x14e)]=function(_0xf338c4,_0x46b913){return _0xf338c4>_0x46b913;},_0x504389[_0x1dd52a(0x15c)]=function(_0xd9b27b,_0x5354db){return _0xd9b27b===_0x5354db;},_0x504389[_0x1dd52a(0x161)]=_0x1dd52a(0x178),_0x504389['Wfirt']=_0x1dd52a(0x167),_0x504389['kRrQN']=_0x1dd52a(0x175),_0x504389[_0x1dd52a(0x172)]=function(_0x38c125,_0xd38fdf){return _0x38c125===_0xd38fdf;},_0x504389[_0x1dd52a(0x16c)]=_0x1dd52a(0x17e);const _0x3a0064=_0x504389;if(_0x133778&&_0x3a0064['RbBuW'](_0x133778[_0x1dd52a(0x171)],0x0))for(const _0x4b47d9 of _0x133778){if(_0x3a0064[_0x1dd52a(0x15c)](_0x4b47d9[_0x1dd52a(0x18d)](),_0x3a0064['CqcVa']))this[_0x1dd52a(0x169)]=_0x4b47d9['getCommand']();else{if(_0x3a0064['vYpMI'](_0x4b47d9[_0x1dd52a(0x18d)](),_0x3a0064['Wfirt']))this[_0x1dd52a(0x167)]=_0x4b47d9[_0x1dd52a(0x154)]();else{if(_0x3a0064[_0x1dd52a(0x15c)](_0x4b47d9[_0x1dd52a(0x18d)](),_0x3a0064[_0x1dd52a(0x16e)]))this[_0x1dd52a(0x175)]=_0x4b47d9[_0x1dd52a(0x154)]();else _0x3a0064[_0x1dd52a(0x172)](_0x4b47d9[_0x1dd52a(0x18d)](),_0x3a0064[_0x1dd52a(0x16c)])&&(this[_0x1dd52a(0x150)]=_0x4b47d9[_0x1dd52a(0x154)]());}}}_0x1e7552&&_0x3a0064['RbBuW'](_0x1e7552[_0x1dd52a(0x171)],0x0)&&(this[_0x1dd52a(0x15b)]=_0x1e7552[_0x1dd52a(0x16d)](_0x20eb46=>{const _0x191ac9=_0x1dd52a;return{'name':_0x20eb46[_0x191ac9(0x18d)](),'method':_0x20eb46[_0x191ac9(0x16b)](),'library':_0x20eb46[_0x191ac9(0x15e)](),'module':_0x20eb46[_0x191ac9(0x177)](),'class':_0x20eb46['getClass']()};}));}[a109_0x2dd418(0x165)](_0x363536){const _0x5985a8=a109_0x2dd418,_0x3f4577={};_0x3f4577['mkOzO']=function(_0x39a9f7,_0x1f774d){return _0x39a9f7!==_0x1f774d;};const _0x2e9dda=_0x3f4577;try{return _0x2e9dda[_0x5985a8(0x183)](this[_0x5985a8(0x15b)][_0x5985a8(0x15d)](_0x195609=>_0x195609[_0x5985a8(0x182)]['toLowerCase']()===_0x363536[_0x5985a8(0x15a)]()),-0x1);}catch(_0x4edd67){logger[_0x5985a8(0x168)](_0x5985a8(0x176)+_0x4edd67);}return![];}[a109_0x2dd418(0x18a)](){const _0x39ce33=a109_0x2dd418;!fs[_0x39ce33(0x17a)](this[_0x39ce33(0x18c)])&&fs[_0x39ce33(0x153)](this[_0x39ce33(0x18c)]),fs[_0x39ce33(0x185)](this[_0x39ce33(0x174)],JSON[_0x39ce33(0x17c)]({'scripts':{'scan':this[_0x39ce33(0x169)],'getResults':this[_0x39ce33(0x167)],'getResultsSummary':this[_0x39ce33(0x175)],'saveResults':this['saveTestResults']},'commands':this['commandsToWrap'],'nonBStackInfraA11yChromeOptions':this[_0x39ce33(0x158)]}));}[a109_0x2dd418(0x179)](){const _0x5209a5=a109_0x2dd418,_0x240295={'qtgTX':function(_0x42cf3b,_0x3ccf8d){return _0x42cf3b(_0x3ccf8d);}};fs[_0x5209a5(0x17a)](this[_0x5209a5(0x174)])&&this[_0x5209a5(0x162)](_0x240295[_0x5209a5(0x14d)](require,this['commandsPath']));}}module[a109_0x2dd418(0x164)]=new Scripts();
|
|
@@ -1 +1 @@
|
|
|
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
|
+
const a110_0x2c6681=a110_0x48a6;(function(_0x3cec65,_0x5c2c4c){const _0x4d3846=a110_0x48a6,_0x37fe74=_0x3cec65();while(!![]){try{const _0x59e488=-parseInt(_0x4d3846(0x18b))/0x1*(parseInt(_0x4d3846(0x19e))/0x2)+parseInt(_0x4d3846(0x133))/0x3+-parseInt(_0x4d3846(0x137))/0x4+-parseInt(_0x4d3846(0x12c))/0x5*(parseInt(_0x4d3846(0x172))/0x6)+-parseInt(_0x4d3846(0x189))/0x7*(-parseInt(_0x4d3846(0x12b))/0x8)+parseInt(_0x4d3846(0x149))/0x9*(-parseInt(_0x4d3846(0x175))/0xa)+parseInt(_0x4d3846(0x153))/0xb;if(_0x59e488===_0x5c2c4c)break;else _0x37fe74['push'](_0x37fe74['shift']());}catch(_0x2fdfac){_0x37fe74['push'](_0x37fe74['shift']());}}}(a110_0x48a0,0x547b6));const path=require(a110_0x2c6681(0x164)),{commandRepository}=require(a110_0x2c6681(0x183)),constants=require('../../bin/utils/constants'),logger=require(a110_0x2c6681(0x184))['winstonLogger'],globals=require(a110_0x2c6681(0x151)),timeoutPromise=require('../../helpers/timeoutPromise'),isUndefinedOrNull=_0xaeb8=>_0xaeb8===undefined||_0xaeb8===null||_0xaeb8==='',isNotUndefinedOrNull=_0x55df18=>!isUndefinedOrNull(_0x55df18),isString=_0x4ca6f9=>isNotUndefinedOrNull(_0x4ca6f9)&&typeof _0x4ca6f9==='string';class AiSdkWrapper{constructor(){const _0x5ec0a7=a110_0x2c6681,_0x3e2ddf={'TnYqA':function(_0x36e4b7,_0x3c585f){return _0x36e4b7(_0x3c585f);},'NDuFL':_0x5ec0a7(0x15a)};this[_0x5ec0a7(0x16f)]=undefined;try{this[_0x5ec0a7(0x16f)]=_0x3e2ddf[_0x5ec0a7(0x16c)](require,path[_0x5ec0a7(0x173)](__dirname,_0x3e2ddf[_0x5ec0a7(0x12e)]));}catch(_0x47300d){logger[_0x5ec0a7(0x142)](_0x5ec0a7(0x12f)+(_0x47300d&&_0x47300d['message']?_0x47300d[_0x5ec0a7(0x13d)]:''));}}[a110_0x2c6681(0x17a)](_0x2ced64){const _0x12f1c0=a110_0x2c6681,_0x1247ca={};_0x1247ca['dVWvN']=_0x12f1c0(0x14c),_0x1247ca[_0x12f1c0(0x18f)]=function(_0x5d3b1e,_0x46534d){return _0x5d3b1e===_0x46534d;},_0x1247ca['ehoCp']=_0x12f1c0(0x17f),_0x1247ca[_0x12f1c0(0x198)]=_0x12f1c0(0x13c),_0x1247ca[_0x12f1c0(0x159)]=_0x12f1c0(0x160),_0x1247ca['vKpnl']=_0x12f1c0(0x190),_0x1247ca['HRVLa']=function(_0x10638d,_0x13de59){return _0x10638d===_0x13de59;},_0x1247ca['MmDfe']=_0x12f1c0(0x170);const _0x44efa3=_0x1247ca;try{const _0xfd6bcd=this[_0x12f1c0(0x16f)][_0x12f1c0(0x188)](Object['fromEntries'](_0x2ced64[_0x12f1c0(0x143)]()[_0x12f1c0(0x162)]));console['log'](_0x44efa3['dVWvN'],_0xfd6bcd);if(_0x44efa3[_0x12f1c0(0x18f)](_0xfd6bcd?.['browserName']?.[_0x12f1c0(0x1a5)](),_0x44efa3[_0x12f1c0(0x1a2)]))_0x2ced64['chromeOptions_']=_0xfd6bcd;else{if(_0x44efa3['YrDAD'](_0xfd6bcd?.[_0x12f1c0(0x194)]?.[_0x12f1c0(0x1a5)](),_0x44efa3[_0x12f1c0(0x198)]))_0x2ced64[_0x12f1c0(0x16b)]=_0xfd6bcd;else{if(_0x44efa3[_0x12f1c0(0x18f)](_0xfd6bcd?.[_0x12f1c0(0x194)]?.[_0x12f1c0(0x1a5)](),_0x44efa3['gBpMR']))_0x2ced64[_0x12f1c0(0x13e)]=_0xfd6bcd;else{if(_0x44efa3[_0x12f1c0(0x18f)](_0xfd6bcd?.[_0x12f1c0(0x194)]?.[_0x12f1c0(0x1a5)](),_0x44efa3[_0x12f1c0(0x169)])||_0x44efa3[_0x12f1c0(0x168)](_0xfd6bcd?.['browserName']?.[_0x12f1c0(0x1a5)](),_0x44efa3[_0x12f1c0(0x176)]))_0x2ced64['edgeOptions_']=_0xfd6bcd;else _0x44efa3[_0x12f1c0(0x168)](_0xfd6bcd?.[_0x12f1c0(0x194)]?.[_0x12f1c0(0x1a5)](),'ie')&&(_0x2ced64[_0x12f1c0(0x15d)]=_0xfd6bcd);}}}Object[_0x12f1c0(0x14e)](_0xfd6bcd)[_0x12f1c0(0x1a1)](_0x2b6b28=>{const _0x34de91=_0x12f1c0,_0x12d3cb=_0x2ced64[_0x34de91(0x157)]['get'](_0x2b6b28);_0x2ced64[_0x34de91(0x157)][_0x34de91(0x1a0)](_0x2b6b28,_0xfd6bcd[_0x2b6b28]);});}catch(_0x3f9dd5){logger[_0x12f1c0(0x142)](_0x12f1c0(0x15c)+(_0x3f9dd5&&_0x3f9dd5[_0x12f1c0(0x13d)]?_0x3f9dd5[_0x12f1c0(0x13d)]:''));}}async[a110_0x2c6681(0x14a)](_0x5b9c58){const _0x4a45a2=a110_0x2c6681,_0x3fc409={'huuIs':function(_0x16d0d7,_0x26e7d3,_0x34bab2,_0x452723,_0x908b96,_0x55806f,_0x42879c){return _0x16d0d7(_0x26e7d3,_0x34bab2,_0x452723,_0x908b96,_0x55806f,_0x42879c);},'naICb':_0x4a45a2(0x14d),'oqGEY':'BrowserstackHealingSetTcgTokenFailed','TGafg':_0x4a45a2(0x15b)},_0x170166=new Date(),_0xdd21de=_0x3fc409[_0x4a45a2(0x1a7)](timeoutPromise,constants[_0x4a45a2(0x174)],_0x3fc409[_0x4a45a2(0x14f)],_0x3fc409[_0x4a45a2(0x19b)],_0x170166,this[_0x4a45a2(0x145)],this[_0x4a45a2(0x16d)]);await Promise['race']([this[_0x4a45a2(0x16f)][_0x4a45a2(0x19c)](_0x5b9c58,globals[_0x4a45a2(0x182)](_0x3fc409[_0x4a45a2(0x185)]),constants['TCG_URL'])[_0x4a45a2(0x196)](()=>{const _0x25abeb=_0x4a45a2;_0xdd21de[_0x25abeb(0x180)]();}),_0xdd21de]);}async[a110_0x2c6681(0x18c)](_0x50b6fa,_0x443d91,_0x4c0ff8,_0x2b4830){const _0x1743c5=a110_0x2c6681,_0x98ca70={'NrjgF':function(_0x59cf86,_0x4edc25){return _0x59cf86===_0x4edc25;},'UdTsA':function(_0x26b758,_0x4b9a11){return _0x26b758===_0x4b9a11;},'ITfKx':function(_0x31d3f9,_0x4e3dd5){return _0x31d3f9(_0x4e3dd5);},'LgXYH':function(_0x97543e,_0x571b4d){return _0x97543e(_0x571b4d);},'rPaMe':function(_0x36fd5d,_0x27acb5){return _0x36fd5d(_0x27acb5);},'zWObk':function(_0x4686f7,_0x3f280b){return _0x4686f7(_0x3f280b);},'AmXqh':function(_0x4a68c4,_0x36c1c1){return _0x4a68c4(_0x36c1c1);},'RfaoY':_0x1743c5(0x1a6),'gdBtr':function(_0x447c39,_0x42f858){return _0x447c39(_0x42f858);},'sQmUu':_0x1743c5(0x158),'ILwpq':_0x1743c5(0x19d),'blXGu':'aiHeal_isGroupAIEnabled','frYcv':function(_0x486282,_0x20c459,_0xf9c922,_0x1ed45b,_0x18f7a5,_0x4befb8,_0x39d368){return _0x486282(_0x20c459,_0xf9c922,_0x1ed45b,_0x18f7a5,_0x4befb8,_0x39d368);},'pywDq':'BrowserstackHealing.logData\x20method\x20timed\x20out','oqiIt':'BrowserstackHealingLogDataFailed','hVblj':_0x1743c5(0x15e),'CUvqa':_0x1743c5(0x16e)},_0x446dbb=(await _0x443d91[_0x1743c5(0x19f)]())[_0x1743c5(0x129)]();let _0x521482='';if(commandRepository[_0x1743c5(0x16a)]()&&_0x98ca70[_0x1743c5(0x1a8)](_0x2b4830,![])||_0x98ca70[_0x1743c5(0x166)](_0x2b4830,!![])){const _0x86ca61=_0x98ca70[_0x1743c5(0x197)](isNotUndefinedOrNull,_0x4c0ff8[_0x1743c5(0x155)][_0x1743c5(0x152)])&&_0x98ca70[_0x1743c5(0x179)](isString,_0x4c0ff8[_0x1743c5(0x155)][_0x1743c5(0x152)])?_0x4c0ff8[_0x1743c5(0x155)]['using']['replace'](/'/g,'\x5c\x27')[_0x1743c5(0x146)](/"/g,'\x5c\x22'):'',_0x4128aa=_0x98ca70[_0x1743c5(0x179)](isNotUndefinedOrNull,_0x4c0ff8['parameters_'][_0x1743c5(0x152)])&&_0x98ca70['ITfKx'](isString,_0x4c0ff8['parameters_']['value'])?_0x4c0ff8[_0x1743c5(0x155)][_0x1743c5(0x13f)][_0x1743c5(0x146)](/'/g,'\x5c\x27')['replace'](/"/g,'\x5c\x22'):'',_0x25dd71=_0x98ca70[_0x1743c5(0x18d)](isNotUndefinedOrNull,commandRepository['getProjectName']())&&_0x98ca70[_0x1743c5(0x179)](isString,commandRepository[_0x1743c5(0x195)]())?commandRepository[_0x1743c5(0x195)]()[_0x1743c5(0x146)](/'/g,'\x5c\x27')[_0x1743c5(0x146)](/"/g,'\x5c\x22'):'';let _0x1c7bce=_0x98ca70[_0x1743c5(0x1a3)](isNotUndefinedOrNull,global[_0x1743c5(0x136)])&&_0x98ca70[_0x1743c5(0x18d)](isString,global[_0x1743c5(0x136)])?global[_0x1743c5(0x136)][_0x1743c5(0x146)](/'/g,'\x5c\x27')[_0x1743c5(0x146)](/"/g,'\x5c\x22'):'';!_0x1c7bce&&(_0x1c7bce=_0x98ca70[_0x1743c5(0x197)](isNotUndefinedOrNull,commandRepository[_0x1743c5(0x12a)]())&&_0x98ca70['AmXqh'](isString,commandRepository[_0x1743c5(0x12a)]())?commandRepository[_0x1743c5(0x12a)]()['replace'](/'/g,'\x5c\x27')[_0x1743c5(0x146)](/"/g,'\x5c\x22'):'');let _0x37997a=_0x1743c5(0x181)+constants[_0x1743c5(0x15f)]+_0x1743c5(0x193)+constants['TCG_REGION']+_0x1743c5(0x139)+constants[_0x1743c5(0x132)][_0x1743c5(0x177)](_0x98ca70[_0x1743c5(0x199)])[0x1]+_0x1743c5(0x138);_0x37997a=_0x98ca70[_0x1743c5(0x17b)](isNotUndefinedOrNull,_0x37997a)&&_0x98ca70['gdBtr'](isString,_0x37997a)?_0x37997a['replace'](/'/g,'\x5c\x27')['replace'](/"/g,'\x5c\x22'):'';const _0x468f36=commandRepository[_0x1743c5(0x19a)](_0x446dbb),_0x12b5d9=globals['getGlobal'](_0x98ca70['sQmUu']),_0x1eb2ef=globals[_0x1743c5(0x182)](_0x98ca70[_0x1743c5(0x192)]),_0x4c7014=globals[_0x1743c5(0x182)](_0x98ca70[_0x1743c5(0x171)]),_0x19895f=![],_0x32204a=new Date();if(_0x2b4830){const _0x590a1d=_0x98ca70[_0x1743c5(0x165)](timeoutPromise,constants[_0x1743c5(0x147)],_0x98ca70['pywDq'],_0x98ca70[_0x1743c5(0x148)],_0x32204a,this[_0x1743c5(0x145)],this[_0x1743c5(0x16d)]);_0x521482=await Promise[_0x1743c5(0x150)]([this[_0x1743c5(0x16f)][_0x1743c5(0x187)](_0x86ca61,_0x4128aa,_0x25dd71,_0x1c7bce,_0x1eb2ef,_0x446dbb,_0x468f36,_0x37997a)['then'](_0x3b7ca0=>{return _0x590a1d['cancel'](),_0x3b7ca0;}),_0x590a1d]);}else{if(commandRepository[_0x1743c5(0x16a)]()){const _0x5676a5=_0x98ca70[_0x1743c5(0x165)](timeoutPromise,constants[_0x1743c5(0x1a4)],_0x98ca70['hVblj'],_0x98ca70[_0x1743c5(0x17c)],_0x32204a,this['config'],this[_0x1743c5(0x16d)]);_0x521482=await Promise[_0x1743c5(0x150)]([this[_0x1743c5(0x16f)][_0x1743c5(0x144)](_0x86ca61,_0x4128aa,_0x25dd71,_0x1c7bce,_0x12b5d9,_0x1eb2ef,_0x446dbb,_0x468f36,_0x19895f,_0x4c7014,_0x37997a)[_0x1743c5(0x196)](_0x1212ff=>{const _0x1e3304=_0x1743c5;return _0x5676a5[_0x1e3304(0x180)](),_0x1212ff;}),_0x5676a5]);}}_0x521482&&await _0x443d91[_0x1743c5(0x18a)](_0x521482);}}async[a110_0x2c6681(0x130)](_0xd01421,_0x556a4e,_0x13304e){const _0x3ac5e7=a110_0x2c6681;try{await this['_handleEvent'](_0xd01421,_0x556a4e,_0x13304e,!![]);}catch(_0x435139){return logger[_0x3ac5e7(0x142)](_0x3ac5e7(0x191)+(_0x435139&&_0x435139['message']?_0x435139[_0x3ac5e7(0x13d)]:'')),![];}return!![];}async['handleFailure'](_0x10a716,_0x35c537,_0x419143){const _0x373539=a110_0x2c6681,_0x4fa4b3={'yxdOD':function(_0x5ac07b,_0x4cd449,_0x49ba56,_0x2f0b83,_0x2e1a8e,_0x149e86,_0xe2724a){return _0x5ac07b(_0x4cd449,_0x49ba56,_0x2f0b83,_0x2e1a8e,_0x149e86,_0xe2724a);},'izjYo':_0x373539(0x12d),'RGYGj':_0x373539(0x14b),'DEZdO':_0x373539(0x15b)};try{await this['_handleEvent'](_0x10a716,_0x35c537,_0x419143,![]);const _0x12c07b=(await _0x35c537[_0x373539(0x19f)]())[_0x373539(0x129)](),_0x1c59ea=new Date(),_0x1e966a=_0x4fa4b3[_0x373539(0x154)](timeoutPromise,constants[_0x373539(0x141)],_0x4fa4b3['izjYo'],_0x4fa4b3[_0x373539(0x17d)],_0x1c59ea,this[_0x373539(0x145)],this[_0x373539(0x16d)]),_0x2c0e7e=await Promise['race']([this[_0x373539(0x16f)][_0x373539(0x134)](constants['TCG_URL'],_0x12c07b,globals[_0x373539(0x182)](_0x4fa4b3[_0x373539(0x18e)]))[_0x373539(0x196)](_0x2a729f=>{const _0x565e3b=_0x373539;return _0x1e966a[_0x565e3b(0x180)](),_0x2a729f;}),_0x1e966a]);if(_0x2c0e7e&&_0x2c0e7e[_0x373539(0x17e)]&&_0x2c0e7e[_0x373539(0x13f)]){const _0x2f5928={};return _0x2f5928['locatorType']=_0x2c0e7e[_0x373539(0x17e)],_0x2f5928[_0x373539(0x161)]=_0x2c0e7e['value'],_0x2f5928[_0x373539(0x131)]=!![],_0x2f5928;}const _0x13973f={};return _0x13973f[_0x373539(0x167)]=_0x419143[_0x373539(0x155)][_0x373539(0x152)],_0x13973f[_0x373539(0x161)]=_0x2c0e7e['value'],_0x13973f[_0x373539(0x131)]=!![],_0x13973f;}catch(_0x47eae4){return logger[_0x373539(0x140)](_0x373539(0x178)+(_0x47eae4&&_0x47eae4['message']?_0x47eae4[_0x373539(0x13d)]:'')),logger[_0x373539(0x135)](_0x373539(0x186)+_0x419143[_0x373539(0x13b)]+_0x373539(0x163)),_0x419143;}}}function a110_0x48a0(){const _0x1ce682=['setToken','aiHeal_groupId','762082ytTKBu','getSession','set','forEach','ehoCp','zWObk','HEALING_FAILURE_TIMEOUT','toLowerCase','s://','huuIs','NrjgF','getId','getTestName','80iDswjj','124195ncEHEc','BrowserstackHealing.pollResult\x20method\x20timed\x20out','NDuFL','Unable\x20to\x20load\x20healing\x20module,\x20error:\x20','handleSuccess','aiHealing','TCG_URL','1455948IkUldV','pollResult','info','browserstackSessionName','2217896ePSxlF','\x22}}}','\x22:\x20{\x22endpoint\x22:\x20\x22','freeze','name_','firefox','message','safariOptions_','value','debug','POLL_HEALING_RESULT_TIMEOUT','error','getCapabilities','healFailure','config','replace','HEALING_LOG_DATA_TIMEOUT','oqiIt','18PFaRVw','setTcgToken','BrowserstackHealingPollResultFailed','newCapabilities','BrowserstackHealing.setToken\x20method\x20timed\x20out','keys','naICb','race','../globals','using','14914746lPkJMy','yxdOD','parameters_','aiSdkWrapper','capabilities_','aiHeal_userId','gBpMR','../../ai-sdk-node/bundle','aiHeal_sessionToken','Error\x20in\x20initialising\x20healing\x20capabilities\x20,\x20error:\x20','ieOptions_','BrowserstackHealing.healFailure\x20method\x20timed\x20out','TCG_REGION','safari','locatorValue','map_','\x20command','path','frYcv','UdTsA','locatorType','HRVLa','vKpnl','isSelfHealEnabled','firefoxOptions_','TnYqA','framework','BrowserstackHealingHealFailureFailed','BrowserstackHealing','microsoftedge','blXGu','54LiyLIk','join','SET_TCG_TOKEN_TIMEOUT','2238340YVbfmX','MmDfe','split','Error\x20in\x20(healing)\x20handling\x20failure\x20event.\x20ERROR:\x20','LgXYH','initializeHealingCapabilities','gdBtr','CUvqa','RGYGj','selector','chrome','cancel','{\x22region\x22:\x20\x22','getGlobal','./autoHealHelper','../logger','TGafg','Healing\x20Failed,\x20Browserstack\x20AI\x20could\x20not\x20heal\x20the\x20','logData','initializeCapabilities','78099pKBdNg','executeScript','1esZaDN','_handleEvent','rPaMe','DEZdO','YrDAD','edge','Error\x20in\x20(healing)\x20success\x20event.\x20ERROR:\x20','ILwpq','\x22,\x20\x22tcgUrls\x22:\x20{\x22','browserName','getProjectName','then','ITfKx','VLBbQ','RfaoY','getCommands','oqGEY'];a110_0x48a0=function(){return _0x1ce682;};return a110_0x48a0();}function a110_0x48a6(_0x107811,_0x38ef3f){const _0x48a09f=a110_0x48a0();return a110_0x48a6=function(_0x48a6ec,_0xef56e){_0x48a6ec=_0x48a6ec-0x129;let _0x4567ae=_0x48a09f[_0x48a6ec];return _0x4567ae;},a110_0x48a6(_0x107811,_0x38ef3f);}exports[a110_0x2c6681(0x156)]=Object[a110_0x2c6681(0x13a)](new AiSdkWrapper());
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a111_0x11ef48=a111_0x51ab;function a111_0x20d5(){const _0x1c7b2d=['2668825BOOCek','zKADU','710731wTDlie','setTcgTokenStatus','tRafB','2289196mbkptT','6ZbWDdv','getConfig','commands','isSelfHealEnabled','pushCommand','getTestName','240042igltby','setFramework','isTcgTokenSet','No\x20commands\x20found\x20for\x20session:\x20','join','KxkTV','debug','getTcgTokenStatus','stringify','map','getGlobal','xZHfH','getProjectName','4217264rUWtdK','winstonLogger','aiSessionTimeStamp','504735FuVuet','setAiSessionTimeStamp','now','aiHeal_isHealingEnabled','umquS','JNkKA','127017ofSmlL','projectName','ugkKO','userName','testName','_pushCommand','framework','true','rgcCC','authInfo','selfHeal','getFramework','setAuthInfo','18AKwedC','setProjectNameForHealingContext','split','250btChlm','KqVYu','config','../logger','method'];a111_0x20d5=function(){return _0x1c7b2d;};return a111_0x20d5();}(function(_0x3d764d,_0x27f0d5){const _0x476331=a111_0x51ab,_0x2d244f=_0x3d764d();while(!![]){try{const _0x496ea0=parseInt(_0x476331(0x1a1))/0x1+parseInt(_0x476331(0x191))/0x2*(parseInt(_0x476331(0x18b))/0x3)+parseInt(_0x476331(0x18a))/0x4+-parseInt(_0x476331(0x185))/0x5+-parseInt(_0x476331(0x17d))/0x6*(parseInt(_0x476331(0x187))/0x7)+-parseInt(_0x476331(0x19e))/0x8+parseInt(_0x476331(0x1a7))/0x9*(parseInt(_0x476331(0x180))/0xa);if(_0x496ea0===_0x27f0d5)break;else _0x2d244f['push'](_0x2d244f['shift']());}catch(_0x3be333){_0x2d244f['push'](_0x2d244f['shift']());}}}(a111_0x20d5,0x4a4fb));function a111_0x51ab(_0x3d5ecc,_0x44a371){const _0x20d59c=a111_0x20d5();return a111_0x51ab=function(_0x51ab90,_0x51a9b1){_0x51ab90=_0x51ab90-0x172;let _0x50c548=_0x20d59c[_0x51ab90];return _0x50c548;},a111_0x51ab(_0x3d5ecc,_0x44a371);}const calculateTimeDiff=_0x3fcf8b=>Date['now']()-_0x3fcf8b,logger=require(a111_0x11ef48(0x183))[a111_0x11ef48(0x19f)],globals=require('../globals');class HealingCommandRepo{constructor(){const _0x403856=a111_0x11ef48,_0x5d28cb={};_0x5d28cb[_0x403856(0x181)]='5|1|2|3|0|4';const _0x5a6aa7=_0x5d28cb,_0x7787ae=_0x5a6aa7[_0x403856(0x181)][_0x403856(0x17f)]('|');let _0x218cc0=0x0;while(!![]){switch(_0x7787ae[_0x218cc0++]){case'0':this[_0x403856(0x179)]={};continue;case'1':this[_0x403856(0x1a0)]={};continue;case'2':this[_0x403856(0x1a8)]='';continue;case'3':this[_0x403856(0x174)]='';continue;case'4':this[_0x403856(0x193)]=![];continue;case'5':this[_0x403856(0x18d)]={};continue;}break;}}['_pushCommand'](_0x20bcd2,_0x3758b3){const _0x544a54=a111_0x11ef48,_0x5f5547={};_0x5f5547[_0x544a54(0x178)]=function(_0x2d1f45,_0x41c9a6){return _0x2d1f45 in _0x41c9a6;};const _0x9b8028=_0x5f5547;!_0x9b8028[_0x544a54(0x178)](_0x20bcd2,this[_0x544a54(0x18d)])&&(this[_0x544a54(0x18d)][_0x20bcd2]=[]),this['commands'][_0x20bcd2]['push'](_0x3758b3);}[a111_0x11ef48(0x18f)](_0x45b7ec,_0x2db9ad){const _0x278429=a111_0x11ef48,_0x3a8080={'tRafB':function(_0x26c78f,_0x10f707){return _0x26c78f(_0x10f707);}},_0x5a8971=_0x2db9ad[_0x278429(0x184)],_0x117b7d=_0x2db9ad['path'][_0x278429(0x17f)](_0x45b7ec)[0x1],_0x22a996=this[_0x278429(0x1a0)][_0x45b7ec],_0x33d772={'k':_0x5a8971+':'+_0x117b7d,'t':_0x3a8080[_0x278429(0x189)](calculateTimeDiff,_0x22a996)};this[_0x278429(0x175)](_0x45b7ec,_0x33d772);}[a111_0x11ef48(0x1a2)](_0x2e2dca){const _0x2111bf=a111_0x11ef48;this['aiSessionTimeStamp'][_0x2e2dca]=Date[_0x2111bf(0x1a3)]();}['setAuthInfo'](_0x4e1e26,_0x2c89a3){const _0x20a7b5=a111_0x11ef48;this[_0x20a7b5(0x179)][_0x20a7b5(0x173)]=_0x4e1e26,this['authInfo']['accessKey']=_0x2c89a3;}['getAuthInfo'](){const _0x923611=a111_0x11ef48;return this[_0x923611(0x179)];}[a111_0x11ef48(0x17e)](_0x3236d4){const _0xd42d56=a111_0x11ef48;this[_0xd42d56(0x1a8)]=_0x3236d4;}['setTestNameForHealingContext'](_0x3cb4e4){const _0x49b40e=a111_0x11ef48;this[_0x49b40e(0x174)]=_0x3cb4e4;}['setConfig'](_0x59b292){const _0x2faa23=a111_0x11ef48;this[_0x2faa23(0x182)]=_0x59b292,this[_0x2faa23(0x17e)](_0x59b292['projectName']),this[_0x2faa23(0x17c)](_0x59b292[_0x2faa23(0x173)],_0x59b292['accessKey']);}[a111_0x11ef48(0x192)](_0x111a5e){const _0x1fe5f4=a111_0x11ef48;this[_0x1fe5f4(0x176)]=_0x111a5e;}[a111_0x11ef48(0x188)](_0x30994e){const _0x1c44dd=a111_0x11ef48;this[_0x1c44dd(0x193)]=_0x30994e;}[a111_0x11ef48(0x18c)](){const _0x4524a9=a111_0x11ef48;return this[_0x4524a9(0x182)];}[a111_0x11ef48(0x17b)](){const _0x4bcb00=a111_0x11ef48;return this[_0x4bcb00(0x176)];}[a111_0x11ef48(0x19d)](){return this['projectName'];}[a111_0x11ef48(0x190)](){return this['testName'];}['getCommands'](_0x36528c){const _0x173f13=a111_0x11ef48,_0x1ad6be={};_0x1ad6be[_0x173f13(0x1a6)]='aiHeal_isAuthenticated',_0x1ad6be[_0x173f13(0x172)]=_0x173f13(0x1a4),_0x1ad6be[_0x173f13(0x19c)]=function(_0x21ab92,_0x9a420b){return _0x21ab92===_0x9a420b;},_0x1ad6be[_0x173f13(0x1a5)]=function(_0x5bc9ae,_0x2eb9bf){return _0x5bc9ae+_0x2eb9bf;},_0x1ad6be['zKADU']=_0x173f13(0x194);const _0x13367a=_0x1ad6be,_0x146df3=this[_0x173f13(0x18d)][_0x36528c];this[_0x173f13(0x18d)][_0x36528c]=[];if(globals['getGlobal'](_0x13367a[_0x173f13(0x1a6)])&&globals[_0x173f13(0x19b)](_0x13367a[_0x173f13(0x172)])&&!_0x146df3||_0x13367a[_0x173f13(0x19c)](_0x146df3['length'],0x0))return logger[_0x173f13(0x197)](_0x13367a['umquS'](_0x13367a[_0x173f13(0x186)],_0x36528c)),'';return _0x146df3[_0x173f13(0x19a)](_0x41a3a0=>JSON[_0x173f13(0x199)](_0x41a3a0))[_0x173f13(0x195)](',');}[a111_0x11ef48(0x18e)](){const _0x2c5f03=a111_0x11ef48,_0x52a4fc={};_0x52a4fc[_0x2c5f03(0x196)]=function(_0x9069d9,_0x5d8feb){return _0x9069d9===_0x5d8feb;},_0x52a4fc['wtWaY']=_0x2c5f03(0x177);const _0x21f830=_0x52a4fc;let _0x35ff39=![];return this['getConfig']()&&(_0x21f830[_0x2c5f03(0x196)](this[_0x2c5f03(0x18c)]()[_0x2c5f03(0x17a)],!![])||_0x21f830['KxkTV'](this[_0x2c5f03(0x18c)]()['selfHeal'],_0x21f830['wtWaY']))&&(_0x35ff39=!![]),_0x35ff39;}[a111_0x11ef48(0x198)](){const _0x2e06c2=a111_0x11ef48;return this[_0x2e06c2(0x193)];}}exports['commandRepository']=new HealingCommandRepo();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a112_0x28de57=a112_0x1f54;function a112_0x1f54(_0x4b0967,_0x42a4f7){const _0x5f5806=a112_0x5f58();return a112_0x1f54=function(_0x1f542e,_0x5ae2a9){_0x1f542e=_0x1f542e-0x1cb;let _0x5051d8=_0x5f5806[_0x1f542e];return _0x5051d8;},a112_0x1f54(_0x4b0967,_0x42a4f7);}function a112_0x5f58(){const _0x598aa7=['https://grid-devhst.bsstag.com/dashboard/builds','5928KMbXsm','prod','632bhDrDw','28jJJeHc','20hdNSkY','3408185mTRcej','6645414VwcOxA','2647704AhIbJz','staging','5ucykJY','stag','preprod','https://grid-preprod.bsstag.com/dashboard/builds','5881869rUGYeq','BUILDS_DASHBOARD_URL','2373824QcuoVQ','27834dzucnf','https://grid.browserstack.com/dashboard/builds','54zKflsU','env','pre-prod','exports'];a112_0x5f58=function(){return _0x598aa7;};return a112_0x5f58();}(function(_0x24d151,_0x324a0b){const _0x3559de=a112_0x1f54,_0x4af940=_0x24d151();while(!![]){try{const _0x4d7486=-parseInt(_0x3559de(0x1cd))/0x1*(parseInt(_0x3559de(0x1cf))/0x2)+-parseInt(_0x3559de(0x1d4))/0x3*(-parseInt(_0x3559de(0x1d6))/0x4)+-parseInt(_0x3559de(0x1dd))/0x5*(-parseInt(_0x3559de(0x1da))/0x6)+-parseInt(_0x3559de(0x1d7))/0x7*(parseInt(_0x3559de(0x1cc))/0x8)+parseInt(_0x3559de(0x1e1))/0x9+-parseInt(_0x3559de(0x1d8))/0xa*(-parseInt(_0x3559de(0x1d9))/0xb)+parseInt(_0x3559de(0x1db))/0xc;if(_0x4d7486===_0x324a0b)break;else _0x4af940['push'](_0x4af940['shift']());}catch(_0x467200){_0x4af940['push'](_0x4af940['shift']());}}}(a112_0x5f58,0xee160));const a112_0x3a19ff={};a112_0x3a19ff[a112_0x28de57(0x1cb)]=a112_0x28de57(0x1ce),a112_0x3a19ff['API_ENDPOINT']='automate-turboscale/v1',module[a112_0x28de57(0x1d2)]=a112_0x3a19ff;const _env=(process[a112_0x28de57(0x1d0)]['BROWSERSTACK_ENV']||a112_0x28de57(0x1d5))['toLowerCase']();if(_env===a112_0x28de57(0x1dc)||_env===a112_0x28de57(0x1de))module[a112_0x28de57(0x1d2)]['BUILDS_DASHBOARD_URL']=a112_0x28de57(0x1d3);else(_env===a112_0x28de57(0x1df)||_env===a112_0x28de57(0x1d1))&&(module['exports'][a112_0x28de57(0x1cb)]=a112_0x28de57(0x1e0));
|