browserstack-node-sdk 1.57.2 → 1.58.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/generated/sdk-messages_pb.d.ts +376 -36
- package/generated/sdk-messages_pb.js +2955 -279
- package/generated/sdk_grpc_pb.d.ts +5 -0
- package/generated/sdk_grpc_pb.js +51 -0
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -0
- package/src/bin/jasmine/command.js +2 -0
- package/src/bin/jasmine/test.setup.js +1 -0
- package/src/bin/jasmine/testRunMap.js +1 -0
- 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/testcafe/a11y-runner.js +1 -0
- package/src/bin/testcafe/command.js +2 -0
- package/src/bin/testcafe/reporter/index.js +1 -0
- package/src/bin/testcafe/reporter/tcUtils.js +1 -0
- package/src/bin/testcafe/session-registry.js +1 -0
- package/src/bin/testcafe/stdout-interceptor.js +1 -0
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -0
- package/src/bin/testcafe/w3c-driver.js +1 -0
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -0
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -0
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -0
- 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_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
|
+
const a121_0x4cb90f=a121_0x335d;(function(_0x13b3e5,_0xbc084){const _0x39d2f5=a121_0x335d,_0x52ca7a=_0x13b3e5();while(!![]){try{const _0xd0c5b=parseInt(_0x39d2f5(0x182))/0x1+-parseInt(_0x39d2f5(0xd3))/0x2*(-parseInt(_0x39d2f5(0xff))/0x3)+-parseInt(_0x39d2f5(0x105))/0x4*(-parseInt(_0x39d2f5(0xf2))/0x5)+parseInt(_0x39d2f5(0x16b))/0x6*(-parseInt(_0x39d2f5(0x14a))/0x7)+parseInt(_0x39d2f5(0x14c))/0x8*(parseInt(_0x39d2f5(0xce))/0x9)+-parseInt(_0x39d2f5(0x198))/0xa+-parseInt(_0x39d2f5(0x101))/0xb;if(_0xd0c5b===_0xbc084)break;else _0x52ca7a['push'](_0x52ca7a['shift']());}catch(_0x5cd81b){_0x52ca7a['push'](_0x52ca7a['shift']());}}}(a121_0x3493,0xe117d));const util=require(a121_0x4cb90f(0x189)),logger=require(a121_0x4cb90f(0xe3))['winstonLogger'],accessibilityHelper=require(a121_0x4cb90f(0x193)),globals=require(a121_0x4cb90f(0x122)),scripts=require(a121_0x4cb90f(0x194)),PerformanceTester=require(a121_0x4cb90f(0x126)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a121_0x4cb90f(0x11a)),BrowserstackCLI=require(a121_0x4cb90f(0x128));let playwrightA11yHelper=null;try{playwrightA11yHelper=require(a121_0x4cb90f(0x170));}catch(a121_0x422ce6){logger[a121_0x4cb90f(0x160)](a121_0x4cb90f(0x16e));}const a121_0x4ca216={};a121_0x4ca216['maxRetries']=0x1,a121_0x4ca216['timeoutMs']=0x7530,a121_0x4ca216['defaultTimeoutMs']=0x7530;function a121_0x335d(_0x156554,_0x132da2){const _0x349380=a121_0x3493();return a121_0x335d=function(_0x335db5,_0x437f5d){_0x335db5=_0x335db5-0xca;let _0x5969b0=_0x349380[_0x335db5];return _0x5969b0;},a121_0x335d(_0x156554,_0x132da2);}function a121_0x3493(){const _0x535cbe=['qIyYY','Operation\x20timed\x20out\x20after\x20','../logger','jBskJ','isAccessibilityAutomationSession','YBSFN','Comprehensive\x20accessibility\x20scan\x20failed\x20(','accessibilityConfig','oaako','eUyYt','MeXAx','JJYkK','fAgOR','JtbbO','\x20failed\x20for\x20method:\x20','scUPt','wdCDm','38365bSZzIR','bstackA11yShouldScan','defaultTimeoutMs','Accessibility\x20retry\x20configuration\x20updated:\x20','warn','Page','browserstackSessionName','Failed\x20to\x20set\x20Playwright\x20script\x20timeout:\x20','jyGmp','sdlrH','__workerDetails','Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20','CQvpo','27882gUwfGI','isSeleniumDriver','13144989tWUiIS','LSdOk','executeAsyncScript','constructor','16xuZXKe','SzlwN','YsKGj','CaAVh','VoLeO',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20with\x20retry.','UFohL','setPlaywrightScriptTimeout','eKWtg','All\x20accessibility\x20results\x20save\x20attempts\x20failed\x20(',',\x20cannot\x20perform\x20scan\x20with\x20retry.','rYIhx','eIlWk','reason','setSeleniumScriptTimeout','Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20','isRunning','setScriptTimeout','Accessibility\x20scan\x20attempt\x20','race','getAccessibilityResultsSummary','../performance/constants','Selenium\x20WebDriver\x20timeout\x20API\x20not\x20available,\x20skipping\x20timeout\x20setting','aXWqj','info','getAccessibilityModule','All\x20accessibility\x20scan\x20attempts\x20failed\x20for\x20method:\x20','getId',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary\x20with\x20retry.','../globals','env','JAVOq','Playwright','../performance/performance-tester','DcVtU','../../bin/v2/browserstackCLI','Accessibility\x20results\x20saved\x20successfully\x20on\x20attempt\x20','isAccessibilityPlatform','capabilitiesList','zbSib','options','vaDWx','IKKQK','Lrhlz','timeoutMs','UDnaH','getAccessibilityResults',').\x20Error:\x20','SmTPZ','ABPeR','error','CpuzA','rrMfD','SRJZN','ms\x20using\x20timeouts()\x20API','zqrQP','KjLYt','Eqodg','accessibilityPlatform','name','FuGOo','HdatU','ylLrK','DRcoS','vOaTr','allSettled',',\x20cannot\x20save\x20accessibility\x20results\x20with\x20retry.','zoBih','cQlqJ','39914WROvEE','status','8LVzxKw','LKEKf','message','setTimeouts','yiJDE','WKyfd','Failed\x20to\x20retrieve\x20accessibility\x20summary\x20(','getAccessibilityResultsWithRetry','ms\x20using\x20setTimeouts\x20API','goto','FcjEY','saveTestResults','currentTest','max','Accessibility\x20results\x20summary\x20retrieved\x20successfully\x20on\x20attempt\x20','All\x20accessibility\x20results\x20retrieval\x20attempts\x20failed\x20(','wtUeB','getCapabilities','Failed\x20to\x20retrieve\x20accessibility\x20results\x20(','[Accessibility]\x20Scan\x20skipped\x20-\x20scanning\x20is\x20currently\x20disabled\x20(partial\x20scan\x20mode)','debug','isPlaywright',')\x20with\x20error:\x20','xKlZd','ydxMX','Scan\x20attempt\x20','uaJBs','Skipping\x20timeout\x20setting\x20for\x20','getRetryConfig','isMobilePlatform','Unknown\x20error\x20during\x20comprehensive\x20accessibility\x20scan','102ojqLoW','fCdEn','script','Playwright\x20accessibility\x20helper\x20not\x20available','performScan','../../bin/playwright/accessibility-helper','scanSucceeded','ZOPLe','maxRetries','RMVfP','):\x20','ALCwi','performScanWithRetry','Accessibility\x20results\x20retrieved\x20successfully\x20on\x20attempt\x20','Unknown\x20driver/page\x20type:\x20','manage','isPlaywrightPage','getCurrentUrl','Unknown\x20error','unknown','playwright-codecept-driver','function','JqUEo','1698026AdwuIa','getGlobal','Accessibility\x20results\x20save\x20attempt\x20','value','setDefaultTimeout','pDLBn','xVfii','util','\x20failed\x20(','playwright-page','JUADV','BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT','GFWEb','VZpCU','fulfilled','TamND','Accessibility\x20results\x20retrieval\x20attempt\x20','./helper','./scripts','Set\x20Playwright\x20page\x20default\x20timeout\x20to\x20','results','ms\x20using\x20setScriptTimeout\x20API','18050310uFiWpm','stringify','qbtJE','rYRbe','url','16095159hkuLQW','getAccessibilityResultsSummaryWithRetry','bstackA11yScanOptions','gCChk','Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20','108HXHlLj',').\x20Last\x20error:\x20','\x20completed\x20successfully.','timeouts','saveAccessibilityResultsWithRetry','UMStm','getInstance','type','TRGTd','summary','rPBlM','PERFORM_SCAN','assign','faHoe'];a121_0x3493=function(){return _0x535cbe;};return a121_0x3493();}const RETRY_CONFIG=a121_0x4ca216,setConfigTimeout=(_0x3c6a24,_0x213f1c=null)=>{const _0x518db4=a121_0x4cb90f,_0x254b83={'SRJZN':function(_0x2b6ea9,_0x4baed8){return _0x2b6ea9===_0x4baed8;},'FuGOo':'scannerProcessingTimeout','WMxSk':function(_0x149a8a,_0x2860df){return _0x149a8a*_0x2860df;},'UMStm':function(_0x5f5282,_0x492754){return _0x5f5282(_0x492754);},'WKyfd':function(_0x2c5032,_0x570a1d){return _0x2c5032*_0x570a1d;},'xKlZd':function(_0x4ef7bf,_0x28d98c){return _0x4ef7bf(_0x28d98c);}};if(BrowserstackCLI['getInstance']()[_0x518db4(0x115)]()&&BrowserstackCLI[_0x518db4(0xd9)]()[_0x518db4(0x11e)]()){const _0x461df3=BrowserstackCLI[_0x518db4(0xd9)]()['getAccessibilityModule']()[_0x518db4(0xe8)],_0x26828e=_0x461df3[_0x518db4(0x12d)][_0x518db4(0x12b)]||[];for(const _0x4a50d9 of _0x26828e){_0x254b83[_0x518db4(0x13a)](_0x4a50d9[_0x518db4(0x140)],_0x254b83[_0x518db4(0x141)])&&_0x254b83[_0x518db4(0x13a)](_0x213f1c,null)&&(_0x3c6a24[_0x518db4(0x131)]=_0x254b83['WMxSk'](_0x254b83[_0x518db4(0xd8)](parseInt,_0x4a50d9[_0x518db4(0x185)]),0x3e8));}}else process[_0x518db4(0x123)][_0x518db4(0x18d)]&&(_0x3c6a24[_0x518db4(0x131)]=_0x254b83[_0x518db4(0x151)](_0x254b83[_0x518db4(0x163)](parseInt,process['env'][_0x518db4(0x18d)]),0x3e8));},detectDriverType=_0x48cece=>{const _0x2306a9=a121_0x4cb90f,_0x4403d9={};_0x4403d9[_0x2306a9(0x109)]=_0x2306a9(0x17e),_0x4403d9['vOaTr']=function(_0x14ff85,_0x4b5376){return _0x14ff85===_0x4b5376;},_0x4403d9[_0x2306a9(0x164)]='function',_0x4403d9[_0x2306a9(0x110)]=function(_0x4c6c59,_0x2541e5){return _0x4c6c59===_0x2541e5;},_0x4403d9[_0x2306a9(0x127)]=_0x2306a9(0x18b),_0x4403d9['DRcoS']='selenium-webdriver',_0x4403d9[_0x2306a9(0x13c)]=function(_0x4d1cb3,_0x2e5232){return _0x4d1cb3===_0x2e5232;},_0x4403d9[_0x2306a9(0x142)]=_0x2306a9(0xf7),_0x4403d9['scUPt']='WebDriver',_0x4403d9[_0x2306a9(0xcc)]=function(_0x4114e1,_0x584e36){return _0x4114e1===_0x584e36;},_0x4403d9['pDLBn']=_0x2306a9(0x125),_0x4403d9[_0x2306a9(0xcb)]=_0x2306a9(0x17f),_0x4403d9[_0x2306a9(0xf1)]=function(_0x3ddf7b,_0x538866){return _0x3ddf7b||_0x538866;},_0x4403d9[_0x2306a9(0xfe)]='undefined';const _0x4737ef=_0x4403d9;if(!_0x48cece){const _0xb205c7={};return _0xb205c7['isPlaywright']=![],_0xb205c7[_0x2306a9(0xda)]=_0x4737ef['VoLeO'],_0xb205c7;}if(_0x4737ef[_0x2306a9(0x145)](typeof _0x48cece['evaluate'],_0x4737ef[_0x2306a9(0x164)])&&_0x4737ef[_0x2306a9(0x145)](typeof _0x48cece[_0x2306a9(0xcd)],_0x4737ef[_0x2306a9(0x164)])&&_0x4737ef[_0x2306a9(0x110)](typeof _0x48cece[_0x2306a9(0x155)],_0x4737ef['ydxMX'])){const _0x10b404={};return _0x10b404[_0x2306a9(0x161)]=!![],_0x10b404[_0x2306a9(0xda)]=_0x4737ef['DcVtU'],_0x10b404;}if(_0x4737ef[_0x2306a9(0x145)](typeof _0x48cece['executeAsyncScript'],_0x4737ef['ydxMX'])&&_0x4737ef[_0x2306a9(0x110)](typeof _0x48cece[_0x2306a9(0x15d)],_0x4737ef[_0x2306a9(0x164)])){const _0x5df6fe={};return _0x5df6fe[_0x2306a9(0x161)]=![],_0x5df6fe['type']=_0x4737ef[_0x2306a9(0x144)],_0x5df6fe;}const _0x5e180d=_0x48cece[_0x2306a9(0x104)]?.['name'];if(_0x4737ef[_0x2306a9(0x13c)](_0x5e180d,_0x4737ef[_0x2306a9(0x142)])){const _0x59adcc={};return _0x59adcc['isPlaywright']=!![],_0x59adcc[_0x2306a9(0xda)]=_0x4737ef[_0x2306a9(0x127)],_0x59adcc;}if(_0x4737ef[_0x2306a9(0x13c)](_0x5e180d,_0x4737ef[_0x2306a9(0xf0)])){const _0x5ed5cd={};return _0x5ed5cd['isPlaywright']=![],_0x5ed5cd['type']=_0x4737ef[_0x2306a9(0x144)],_0x5ed5cd;}if(_0x4737ef['rYRbe'](_0x5e180d,_0x4737ef[_0x2306a9(0x187)])){const _0x2e0295={};return _0x2e0295['isPlaywright']=!![],_0x2e0295[_0x2306a9(0xda)]=_0x4737ef[_0x2306a9(0xcb)],_0x2e0295;}logger['warn'](_0x2306a9(0x179)+_0x4737ef[_0x2306a9(0xf1)](_0x5e180d,_0x4737ef[_0x2306a9(0xfe)]));const _0x2c51b2={};return _0x2c51b2['isPlaywright']=![],_0x2c51b2[_0x2306a9(0xda)]=_0x4737ef[_0x2306a9(0x109)],_0x2c51b2;},withTimeout=(_0x1bc06b,_0x5b2c74)=>{const _0x391463=a121_0x4cb90f;return Promise[_0x391463(0x118)]([_0x1bc06b,new Promise((_0x23e9fb,_0x598cd1)=>setTimeout(()=>_0x598cd1(new Error(_0x391463(0xe2)+_0x5b2c74+'ms')),_0x5b2c74))]);};exports[a121_0x4cb90f(0x177)]=async(_0x4f085d,_0x36f9cd=null,_0x30f24d=null,_0x5ad04b=![],_0x2cf987=null)=>{const _0x418b10=a121_0x4cb90f,_0xdd3a99={'MiwFk':function(_0x5c3d4b,_0x2cb582){return _0x5c3d4b&&_0x2cb582;},'SmTPZ':function(_0x258b78,_0x27e7a2,_0x30aa6c){return _0x258b78(_0x27e7a2,_0x30aa6c);},'sdlrH':function(_0x3a5381,_0x42e878){return _0x3a5381===_0x42e878;},'UFohL':_0x418b10(0x17f),'zbSib':function(_0x469e06,_0x2b5a08,_0x50338e){return _0x469e06(_0x2b5a08,_0x50338e);},'TrLtH':function(_0x43e522,_0x32f9ca,_0x488dbf){return _0x43e522(_0x32f9ca,_0x488dbf);},'ubfKa':function(_0x368a8a,_0x448ba3){return _0x368a8a(_0x448ba3);},'CpuzA':function(_0x34c827,_0x122944){return _0x34c827||_0x122944;},'Eqodg':function(_0x239a35,_0x5551e3){return _0x239a35!==_0x5551e3;},'LSdOk':_0x418b10(0x12a),'EbQGq':_0x418b10(0xf3),'zoBih':function(_0xeffe73,_0x12f1ad){return _0xeffe73===_0x12f1ad;},'qIyYY':_0x418b10(0x15f),'wtUeB':'unknown_method','uaJBs':_0x418b10(0x180),'xVfii':function(_0x386617,_0x3ea2e7){return _0x386617===_0x3ea2e7;},'JAVOq':function(_0xcc2048,_0x57fcd1){return _0xcc2048<=_0x57fcd1;},'Lrhlz':function(_0x17deda,_0x11ed85){return _0x17deda+_0x11ed85;},'fCdEn':_0x418b10(0x17d)},{isPlaywright:_0x4a404f,type:_0xabe124}=_0xdd3a99['ubfKa'](detectDriverType,_0x4f085d),_0x117af4=_0x5ad04b?_0xdd3a99[_0x418b10(0x138)](_0x2cf987,{}):global[_0x418b10(0xd0)]||{},_0x50ca00=_0x4a404f?global[_0x418b10(0x13f)]&&(_0x5ad04b||_0xdd3a99[_0x418b10(0x13e)](global['bstackA11yShouldScan'],![])):accessibilityHelper['isAccessibilityAutomationSession']()&&globals[_0x418b10(0x183)](_0xdd3a99['LSdOk'])&&(_0x5ad04b||_0xdd3a99[_0x418b10(0x13e)](globals[_0x418b10(0x183)](_0xdd3a99['EbQGq']),![]));if(!_0x50ca00)return _0x4a404f&&global[_0x418b10(0x13f)]&&_0xdd3a99[_0x418b10(0xfb)](global[_0x418b10(0xf3)],![])||!_0x4a404f&&globals[_0x418b10(0x183)](_0xdd3a99[_0x418b10(0x102)])&&_0xdd3a99[_0x418b10(0x148)](globals['getGlobal'](_0xdd3a99['EbQGq']),![])?logger[_0x418b10(0x160)](_0xdd3a99[_0x418b10(0xe1)]):logger[_0x418b10(0xf6)]('Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20'+_0xabe124+_0x418b10(0x10f)),![];const _0x5ecff8=_0x36f9cd||global[_0x418b10(0xf8)]||_0xdd3a99[_0x418b10(0x15c)];let _0x2fdb8a=null;const _0x5be21d={'testhub_btcer_uuid':global[_0x418b10(0xfc)]?.[_0x418b10(0x158)]?.['id'],'url':_0xdd3a99[_0x418b10(0xfb)](typeof _0x4f085d[_0x418b10(0xcd)],_0xdd3a99[_0x418b10(0x166)])?await _0x4f085d['url']():_0xdd3a99[_0x418b10(0x188)](typeof _0x4f085d['getCurrentUrl'],_0xdd3a99['uaJBs'])?await _0x4f085d[_0x418b10(0x17c)]():'','automate_session_id':_0xdd3a99[_0x418b10(0x188)](typeof _0x4f085d['getSession'],_0xdd3a99[_0x418b10(0x166)])?(await _0x4f085d['getSession']())[_0x418b10(0x120)]():''};for(let _0x1a41f3=0x1;_0xdd3a99[_0x418b10(0x124)](_0x1a41f3,_0xdd3a99[_0x418b10(0x130)](RETRY_CONFIG[_0x418b10(0x173)],0x1));_0x1a41f3++){try{return logger[_0x418b10(0x160)](_0x418b10(0x117)+_0x1a41f3+'/'+_0xdd3a99[_0x418b10(0x130)](RETRY_CONFIG[_0x418b10(0x173)],0x1)+'\x20for\x20method:\x20'+_0x5ecff8+'\x20('+_0xabe124+')'),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x418b10(0xde)],async()=>{const _0x2fc89f=_0x418b10;let _0x2f3fa7;if(_0xdd3a99['MiwFk'](_0x4a404f,playwrightA11yHelper)){_0xdd3a99[_0x2fc89f(0x135)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x2fc89f(0x10c)](_0x4f085d,RETRY_CONFIG[_0x2fc89f(0x131)]);let _0x2b4038=_0x4f085d;_0xdd3a99[_0x2fc89f(0xfb)](_0xabe124,_0xdd3a99[_0x2fc89f(0x10b)])&&(_0x2b4038=_0x4f085d['page']);const _0x1d1cd2=global[_0x2fc89f(0x169)]?{'is_mobile_session':!![],'thTestRunUuid':accessibilityHelper['resolveMobileThTestRunUuid']()}:{};_0x2f3fa7=await _0xdd3a99[_0x2fc89f(0x12c)](withTimeout,playwrightA11yHelper[_0x2fc89f(0x16f)](_0x2b4038,_0x5ecff8,_0x117af4,_0x1d1cd2),RETRY_CONFIG['timeoutMs']),await exports['setPlaywrightScriptTimeout'](_0x4f085d,RETRY_CONFIG[_0x2fc89f(0xf4)]);}else await exports[_0x2fc89f(0x113)](_0x4f085d,RETRY_CONFIG[_0x2fc89f(0x131)]),_0x2f3fa7=await _0xdd3a99['TrLtH'](withTimeout,accessibilityHelper[_0x2fc89f(0x16f)](_0x4f085d,_0x5ecff8,_0x5ad04b,_0x117af4),RETRY_CONFIG['timeoutMs']),await exports['setSeleniumScriptTimeout'](_0x4f085d,RETRY_CONFIG[_0x2fc89f(0xf4)]);logger[_0x2fc89f(0x160)](_0x2fc89f(0x165)+_0x1a41f3+_0x2fc89f(0xd5));},{'command':_0x5ecff8,..._0x5be21d})(),logger[_0x418b10(0x11d)]('Accessibility\x20scan\x20succeeded\x20on\x20attempt\x20'+_0x1a41f3+'.'),!![];}catch(_0x43d6cd){_0x2fdb8a=_0x43d6cd,logger[_0x418b10(0x160)](_0x418b10(0x117)+_0x1a41f3+_0x418b10(0xef)+_0x5ecff8+'\x20('+_0xabe124+_0x418b10(0x134)+_0x43d6cd['message']);}}return logger[_0x418b10(0x137)](_0x418b10(0x11f)+_0x5ecff8+'\x20('+_0xabe124+_0x418b10(0x162)+(_0x2fdb8a?.[_0x418b10(0x14e)]||_0xdd3a99[_0x418b10(0x16c)])),![];},exports[a121_0x4cb90f(0x153)]=async(_0x3fac90,_0x4b60ab)=>{const _0x4f7344=a121_0x4cb90f,_0x3bf609={'TamND':function(_0x37b020,_0x7db1a8){return _0x37b020(_0x7db1a8);},'JJYkK':_0x4f7344(0x12a),'OjFRL':function(_0x58a83e,_0x50ee8c){return _0x58a83e<=_0x50ee8c;},'ALCwi':function(_0x1fb1b3,_0xb957e4){return _0x1fb1b3+_0xb957e4;},'vaDWx':function(_0x579ad7,_0xbd2205){return _0x579ad7+_0xbd2205;},'ZwSKJ':function(_0x5d8fea,_0x2b1982){return _0x5d8fea&&_0x2b1982;},'cQlqJ':function(_0x14d31e,_0x27fba8,_0x53e7a7){return _0x14d31e(_0x27fba8,_0x53e7a7);},'hdBIs':_0x4f7344(0x17d)},{isPlaywright:_0x54f4ec,type:_0x38737b}=_0x3bf609[_0x4f7344(0x191)](detectDriverType,_0x3fac90),_0x24b27a=_0x54f4ec?_0x4b60ab['accessibilityPlatform']:accessibilityHelper[_0x4f7344(0xe5)]()&&globals[_0x4f7344(0x183)](_0x3bf609[_0x4f7344(0xec)]);if(!_0x24b27a)return logger['warn'](_0x4f7344(0x114)+_0x38737b+_0x4f7344(0x10a)),[];let _0x2b1064=null;for(let _0x396dd3=0x1;_0x3bf609['OjFRL'](_0x396dd3,_0x3bf609[_0x4f7344(0x176)](RETRY_CONFIG['maxRetries'],0x1));_0x396dd3++){try{logger['debug'](_0x4f7344(0x192)+_0x396dd3+'/'+_0x3bf609[_0x4f7344(0x12e)](RETRY_CONFIG[_0x4f7344(0x173)],0x1)+'\x20('+_0x38737b+')');let _0x38d12;return _0x3bf609['ZwSKJ'](_0x54f4ec,playwrightA11yHelper)?(_0x3bf609['cQlqJ'](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x4f7344(0x10c)](_0x3fac90,RETRY_CONFIG[_0x4f7344(0x131)]),_0x38d12=await _0x3bf609[_0x4f7344(0x149)](withTimeout,playwrightA11yHelper[_0x4f7344(0x133)](_0x3fac90),RETRY_CONFIG[_0x4f7344(0x131)]),await exports[_0x4f7344(0x10c)](_0x3fac90,RETRY_CONFIG['defaultTimeoutMs'])):(await exports[_0x4f7344(0x113)](_0x3fac90,RETRY_CONFIG[_0x4f7344(0x131)]),_0x38d12=await _0x3bf609[_0x4f7344(0x149)](withTimeout,accessibilityHelper[_0x4f7344(0x133)](_0x3fac90,_0x4b60ab),RETRY_CONFIG[_0x4f7344(0x131)]),await exports[_0x4f7344(0x113)](_0x3fac90,RETRY_CONFIG[_0x4f7344(0xf4)])),logger['info'](_0x4f7344(0x178)+_0x396dd3+'\x20('+_0x38737b+')'),_0x38d12;}catch(_0x3a4222){_0x2b1064=_0x3a4222,logger[_0x4f7344(0xf6)](_0x4f7344(0x192)+_0x396dd3+'\x20failed\x20('+_0x38737b+').\x20Error:\x20'+_0x3a4222[_0x4f7344(0x14e)]);}}return logger[_0x4f7344(0x137)](_0x4f7344(0x15b)+_0x38737b+_0x4f7344(0xd4)+(_0x2b1064?.[_0x4f7344(0x14e)]||_0x3bf609['hdBIs'])),[];},exports['getAccessibilityResultsSummaryWithRetry']=async(_0x172899,_0x3ac033)=>{const _0x5b9878=a121_0x4cb90f,_0x1369be={'jBskJ':function(_0x11fbbb,_0x1af632){return _0x11fbbb(_0x1af632);},'rPBlM':_0x5b9878(0x12a),'eUyYt':function(_0x238358,_0x4ff8e3){return _0x238358<=_0x4ff8e3;},'LgFLm':function(_0x4b152f,_0x107a18){return _0x4b152f+_0x107a18;},'KjLYt':function(_0x15b41e,_0x4dcfc2){return _0x15b41e&&_0x4dcfc2;},'faHoe':function(_0x564ebe,_0x1d31d7,_0xc47181){return _0x564ebe(_0x1d31d7,_0xc47181);},'oaako':_0x5b9878(0x17d)},{isPlaywright:_0x482123,type:_0x551c44}=_0x1369be[_0x5b9878(0xe4)](detectDriverType,_0x172899),_0x483226=_0x482123?_0x3ac033[_0x5b9878(0x13f)]:accessibilityHelper[_0x5b9878(0xe5)]()&&globals['getGlobal'](_0x1369be[_0x5b9878(0xdd)]);if(!_0x483226)return logger[_0x5b9878(0xf6)](_0x5b9878(0x114)+_0x551c44+_0x5b9878(0x121)),{};let _0xd7fe1b=null;for(let _0x4b9dc4=0x1;_0x1369be[_0x5b9878(0xea)](_0x4b9dc4,_0x1369be['LgFLm'](RETRY_CONFIG[_0x5b9878(0x173)],0x1));_0x4b9dc4++){try{logger[_0x5b9878(0x160)](_0x5b9878(0xfd)+_0x4b9dc4+'/'+_0x1369be['LgFLm'](RETRY_CONFIG[_0x5b9878(0x173)],0x1)+'\x20('+_0x551c44+')');let _0x30271d;return _0x1369be[_0x5b9878(0x13d)](_0x482123,playwrightA11yHelper)?(_0x1369be[_0x5b9878(0xe0)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x5b9878(0x10c)](_0x172899,RETRY_CONFIG[_0x5b9878(0x131)]),_0x30271d=await _0x1369be[_0x5b9878(0xe0)](withTimeout,playwrightA11yHelper[_0x5b9878(0x119)](_0x172899),RETRY_CONFIG[_0x5b9878(0x131)]),await exports[_0x5b9878(0x10c)](_0x172899,RETRY_CONFIG[_0x5b9878(0xf4)])):(await exports[_0x5b9878(0x113)](_0x172899,RETRY_CONFIG[_0x5b9878(0x131)]),_0x30271d=await _0x1369be[_0x5b9878(0xe0)](withTimeout,accessibilityHelper[_0x5b9878(0x119)](_0x172899,_0x3ac033),RETRY_CONFIG[_0x5b9878(0x131)]),await exports['setSeleniumScriptTimeout'](_0x172899,RETRY_CONFIG[_0x5b9878(0xf4)])),logger[_0x5b9878(0x11d)](_0x5b9878(0x15a)+_0x4b9dc4+'\x20('+_0x551c44+')'),_0x30271d;}catch(_0x19d909){_0xd7fe1b=_0x19d909,logger['warn'](_0x5b9878(0xfd)+_0x4b9dc4+_0x5b9878(0x18a)+_0x551c44+_0x5b9878(0x134)+_0x19d909[_0x5b9878(0x14e)]);}}return logger[_0x5b9878(0x137)]('All\x20accessibility\x20results\x20summary\x20retrieval\x20attempts\x20failed\x20('+_0x551c44+_0x5b9878(0xd4)+(_0xd7fe1b?.[_0x5b9878(0x14e)]||_0x1369be[_0x5b9878(0xe9)])),{};},exports['performComprehensiveAccessibilityScanWithRetry']=async(_0x25227a,_0x11bef9,_0x52f8dc=null)=>{const _0x2f9c08=a121_0x4cb90f,_0x39674d={'aXWqj':function(_0x3ee943,_0x15dc73){return _0x3ee943(_0x15dc73);},'CaAVh':function(_0x205cae,_0x4dd776){return _0x205cae===_0x4dd776;},'jyGmp':_0x2f9c08(0x190),'YBSFN':function(_0x1c8b39,_0x2e5307){return _0x1c8b39===_0x2e5307;},'YsKGj':'rejected','ABPeR':function(_0x436a1f,_0x34f459){return _0x436a1f===_0x34f459;},'LKEKf':_0x2f9c08(0x16a)},{isPlaywright:_0x2da5b4,type:_0x37aa63}=_0x39674d[_0x2f9c08(0x11c)](detectDriverType,_0x25227a),_0x1ec312={};_0x1ec312['scanSucceeded']=![],_0x1ec312[_0x2f9c08(0x196)]=[],_0x1ec312[_0x2f9c08(0xdc)]={},_0x1ec312['error']=null,_0x1ec312['driverType']=_0x37aa63;const _0x48cb04=_0x1ec312;try{_0x48cb04[_0x2f9c08(0x171)]=await exports[_0x2f9c08(0x177)](_0x25227a,_0x52f8dc);if(_0x48cb04[_0x2f9c08(0x171)]){const [_0x159915,_0x4603ef]=await Promise[_0x2f9c08(0x146)]([exports['getAccessibilityResultsWithRetry'](_0x25227a,_0x11bef9),exports[_0x2f9c08(0xcf)](_0x25227a,_0x11bef9)]);_0x48cb04[_0x2f9c08(0x196)]=_0x39674d[_0x2f9c08(0x108)](_0x159915['status'],_0x39674d[_0x2f9c08(0xfa)])?_0x159915[_0x2f9c08(0x185)]:[],_0x48cb04['summary']=_0x39674d[_0x2f9c08(0xe6)](_0x4603ef[_0x2f9c08(0x14b)],_0x39674d[_0x2f9c08(0xfa)])?_0x4603ef['value']:{},_0x39674d[_0x2f9c08(0xe6)](_0x159915[_0x2f9c08(0x14b)],_0x39674d[_0x2f9c08(0x107)])&&logger[_0x2f9c08(0xf6)](_0x2f9c08(0x15e)+_0x37aa63+'):\x20'+_0x159915[_0x2f9c08(0x112)]?.['message']),_0x39674d[_0x2f9c08(0x136)](_0x4603ef['status'],_0x39674d['YsKGj'])&&logger[_0x2f9c08(0xf6)](_0x2f9c08(0x152)+_0x37aa63+_0x2f9c08(0x175)+_0x4603ef[_0x2f9c08(0x112)]?.[_0x2f9c08(0x14e)]);}}catch(_0x1a8d1b){_0x48cb04[_0x2f9c08(0x137)]=_0x1a8d1b[_0x2f9c08(0x14e)]||_0x39674d[_0x2f9c08(0x14d)],logger['error'](_0x2f9c08(0xe7)+_0x37aa63+'):\x20'+_0x48cb04[_0x2f9c08(0x137)]);}return _0x48cb04;},exports['updateRetryConfig']=_0x4f771c=>{const _0xb30d06=a121_0x4cb90f,_0x3ef91f={};_0x3ef91f[_0xb30d06(0x143)]=function(_0x5b9d61,_0x347151){return _0x5b9d61!==_0x347151;};const _0x50d278=_0x3ef91f;_0x50d278[_0xb30d06(0x143)](_0x4f771c[_0xb30d06(0x173)],undefined)&&(RETRY_CONFIG[_0xb30d06(0x173)]=Math['max'](0x0,_0x4f771c['maxRetries'])),_0x50d278[_0xb30d06(0x143)](_0x4f771c[_0xb30d06(0x131)],undefined)&&(RETRY_CONFIG[_0xb30d06(0x131)]=Math[_0xb30d06(0x159)](0x3e8,_0x4f771c['timeoutMs'])),logger['debug'](_0xb30d06(0xf5)+JSON[_0xb30d06(0xca)](RETRY_CONFIG));},exports[a121_0x4cb90f(0x168)]=()=>{const _0x39da82={...RETRY_CONFIG};return _0x39da82;},exports[a121_0x4cb90f(0x17b)]=_0x1ea63a=>{const _0x2a4031=a121_0x4cb90f,_0x1943e5={'eKWtg':function(_0x561bef,_0x1fe365){return _0x561bef(_0x1fe365);}};return _0x1943e5[_0x2a4031(0x10d)](detectDriverType,_0x1ea63a)[_0x2a4031(0x161)];},exports[a121_0x4cb90f(0x100)]=_0x29805b=>{const _0x3c0fa0=a121_0x4cb90f,_0x41e1a2={'UBTEo':function(_0x38f1c7,_0x5c4084){return _0x38f1c7(_0x5c4084);},'eIlWk':function(_0x3c7632,_0xcfc49){return _0x3c7632===_0xcfc49;},'IKKQK':'selenium-webdriver'},{isPlaywright:_0x467852,type:_0xde58d}=_0x41e1a2['UBTEo'](detectDriverType,_0x29805b);return!_0x467852&&_0x41e1a2[_0x3c0fa0(0x111)](_0xde58d,_0x41e1a2[_0x3c0fa0(0x12f)]);},exports['setPlaywrightScriptTimeout']=async(_0xcfd197,_0x476f26=null)=>{const _0x36e89f=a121_0x4cb90f,_0x6167e0={'fAgOR':function(_0xad20e2,_0x5c24cf){return _0xad20e2(_0x5c24cf);},'JtbbO':function(_0x484a62,_0x2afd05){return _0x484a62===_0x2afd05;},'ZOPLe':_0x36e89f(0x180)},{isPlaywright:_0x2adbe5,type:_0x52dca6}=_0x6167e0[_0x36e89f(0xed)](detectDriverType,_0xcfd197);if(!_0x2adbe5)return logger[_0x36e89f(0x160)](_0x36e89f(0x167)+_0x52dca6+'\x20-\x20not\x20applicable'),!![];const _0x2e8b73=_0x476f26||RETRY_CONFIG['defaultTimeoutMs'];try{return _0xcfd197&&_0x6167e0[_0x36e89f(0xee)](typeof _0xcfd197['setDefaultTimeout'],_0x6167e0[_0x36e89f(0x172)])&&(await _0xcfd197[_0x36e89f(0x186)](_0x2e8b73),logger[_0x36e89f(0x160)](_0x36e89f(0x195)+_0x2e8b73+'ms')),!![];}catch(_0x5b6504){return logger['warn'](_0x36e89f(0xf9)+_0x5b6504[_0x36e89f(0x14e)]),![];}},exports[a121_0x4cb90f(0x113)]=async(_0x31659d,_0xa64f6b=null)=>{const _0x44a46b=a121_0x4cb90f,_0x28b4a7={};_0x28b4a7['YSnec']='Cannot\x20set\x20script\x20timeout:\x20not\x20a\x20Selenium\x20WebDriver',_0x28b4a7[_0x44a46b(0x18c)]=function(_0x162351,_0xa5193b){return _0x162351===_0xa5193b;},_0x28b4a7[_0x44a46b(0x139)]=_0x44a46b(0x180),_0x28b4a7[_0x44a46b(0x132)]=function(_0x44e405,_0x57e0db){return _0x44e405===_0x57e0db;},_0x28b4a7[_0x44a46b(0x156)]=function(_0x536f17,_0x5fc524){return _0x536f17===_0x5fc524;},_0x28b4a7[_0x44a46b(0xeb)]=_0x44a46b(0x11b),_0x28b4a7[_0x44a46b(0x174)]='Selenium\x20WebDriver\x20manage()\x20method\x20not\x20available,\x20skipping\x20timeout\x20setting';const _0x4b4f66=_0x28b4a7;if(!exports[_0x44a46b(0x100)](_0x31659d))return logger[_0x44a46b(0xf6)](_0x4b4f66['YSnec']),![];const _0x2db8a1=_0xa64f6b||RETRY_CONFIG[_0x44a46b(0xf4)];try{if(_0x31659d&&_0x4b4f66[_0x44a46b(0x18c)](typeof _0x31659d['manage'],_0x4b4f66['rrMfD'])){const _0x3bd302=_0x31659d[_0x44a46b(0x17a)]();if(_0x3bd302&&_0x4b4f66[_0x44a46b(0x132)](typeof _0x3bd302[_0x44a46b(0xd6)],_0x4b4f66['rrMfD']))await _0x3bd302[_0x44a46b(0xd6)]()[_0x44a46b(0x116)](_0x2db8a1),logger[_0x44a46b(0x160)]('Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20'+_0x2db8a1+_0x44a46b(0x13b));else{if(_0x3bd302&&_0x4b4f66['JUADV'](typeof _0x3bd302[_0x44a46b(0x14f)],_0x4b4f66['rrMfD'])){const _0x1f2e6a={};_0x1f2e6a[_0x44a46b(0x16d)]=_0x2db8a1,await _0x3bd302[_0x44a46b(0x14f)](_0x1f2e6a),logger[_0x44a46b(0x160)]('Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20'+_0x2db8a1+_0x44a46b(0x154));}else{if(_0x3bd302&&_0x4b4f66['FcjEY'](typeof _0x3bd302['setScriptTimeout'],_0x4b4f66[_0x44a46b(0x139)]))await _0x3bd302[_0x44a46b(0x116)](_0x2db8a1),logger['debug'](_0x44a46b(0xd2)+_0x2db8a1+_0x44a46b(0x197));else return logger[_0x44a46b(0x160)](_0x4b4f66[_0x44a46b(0xeb)]),!![];}}}else return logger[_0x44a46b(0x160)](_0x4b4f66[_0x44a46b(0x174)]),!![];return!![];}catch(_0x257b22){return logger['warn']('Failed\x20to\x20set\x20Selenium\x20script\x20timeout:\x20'+_0x257b22[_0x44a46b(0x14e)]),![];}},exports[a121_0x4cb90f(0xd7)]=async(_0x1018ce,_0x23c8ca)=>{const _0x3935b4=a121_0x4cb90f,_0x4e9c52={'SSmno':function(_0x1b3180,_0x2884e2){return _0x1b3180(_0x2884e2);},'agrAo':_0x3935b4(0x12a),'icyWt':function(_0xf2a619,_0x2a14fd){return _0xf2a619<=_0x2a14fd;},'SzlwN':function(_0x269830,_0x1ef79f){return _0x269830+_0x1ef79f;},'GFWEb':function(_0x4e3519,_0x43af09){return _0x4e3519+_0x43af09;},'yiJDE':function(_0x6b29e3,_0x11b54d){return _0x6b29e3&&_0x11b54d;},'JqUEo':function(_0x2f6ddc,_0x477300,_0x3c327c){return _0x2f6ddc(_0x477300,_0x3c327c);},'gCChk':'isMobilePlatform','TRGTd':function(_0xe0d971,_0xf668a7,_0x38e123){return _0xe0d971(_0xf668a7,_0x38e123);},'VZpCU':'Unknown\x20error'},{isPlaywright:_0x15fba1,type:_0x1222a5}=_0x4e9c52['SSmno'](detectDriverType,_0x1018ce),_0x2edcaa=_0x15fba1?global['accessibilityPlatform']:accessibilityHelper[_0x3935b4(0xe5)]()&&globals[_0x3935b4(0x183)](_0x4e9c52['agrAo']);if(!_0x2edcaa)return logger['warn'](_0x3935b4(0x114)+_0x1222a5+_0x3935b4(0x147)),![];let _0x322178=null;for(let _0x4c25d1=0x1;_0x4e9c52['icyWt'](_0x4c25d1,_0x4e9c52[_0x3935b4(0x106)](RETRY_CONFIG[_0x3935b4(0x173)],0x1));_0x4c25d1++){try{logger[_0x3935b4(0x160)](_0x3935b4(0x184)+_0x4c25d1+'/'+_0x4e9c52[_0x3935b4(0x18e)](RETRY_CONFIG[_0x3935b4(0x173)],0x1)+'\x20('+_0x1222a5+')');if(_0x4e9c52[_0x3935b4(0x150)](_0x15fba1,playwrightA11yHelper)){_0x4e9c52[_0x3935b4(0x181)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x3935b4(0x10c)](_0x1018ce,RETRY_CONFIG['timeoutMs']);const _0x11eda0={};_0x11eda0['is_mobile_session']=!![];const _0x169807=global[_0x3935b4(0x169)]?Object[_0x3935b4(0xdf)]({},_0x23c8ca,_0x11eda0):_0x23c8ca;await _0x4e9c52[_0x3935b4(0x181)](withTimeout,playwrightA11yHelper['browserStackEvaluate'](_0x1018ce,scripts[_0x3935b4(0x157)],_0x169807),RETRY_CONFIG[_0x3935b4(0x131)]),await exports[_0x3935b4(0x10c)](_0x1018ce,RETRY_CONFIG['defaultTimeoutMs']);}else{await exports[_0x3935b4(0x113)](_0x1018ce,RETRY_CONFIG[_0x3935b4(0x131)]);const _0x501117={};_0x501117['is_mobile_session']=!![];const _0x36df8e=globals[_0x3935b4(0x183)](_0x4e9c52[_0x3935b4(0xd1)])?Object[_0x3935b4(0xdf)]({},_0x23c8ca,_0x501117):_0x23c8ca;await _0x4e9c52[_0x3935b4(0xdb)](withTimeout,_0x1018ce[_0x3935b4(0x103)](scripts['saveTestResults'],_0x36df8e),RETRY_CONFIG[_0x3935b4(0x131)]),await exports[_0x3935b4(0x113)](_0x1018ce,RETRY_CONFIG['defaultTimeoutMs']);}return logger[_0x3935b4(0x11d)](_0x3935b4(0x129)+_0x4c25d1+'\x20('+_0x1222a5+')'),!![];}catch(_0x395661){_0x322178=_0x395661,logger[_0x3935b4(0xf6)]('Accessibility\x20results\x20save\x20attempt\x20'+_0x4c25d1+_0x3935b4(0x18a)+_0x1222a5+_0x3935b4(0x134)+_0x395661['message']);}}return logger['error'](_0x3935b4(0x10e)+_0x1222a5+_0x3935b4(0xd4)+(_0x322178?.[_0x3935b4(0x14e)]||_0x4e9c52[_0x3935b4(0x18f)])),![];};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a122_0x55dbc6=a122_0x5e02;(function(_0x2ef816,_0x16f848){var _0x5bdb13=a122_0x5e02,_0x398a0d=_0x2ef816();while(!![]){try{var _0x3f9604=parseInt(_0x5bdb13(0x1f4))/0x1+parseInt(_0x5bdb13(0x1f2))/0x2+-parseInt(_0x5bdb13(0x1f6))/0x3*(parseInt(_0x5bdb13(0x202))/0x4)+-parseInt(_0x5bdb13(0x1e8))/0x5*(-parseInt(_0x5bdb13(0x1f9))/0x6)+parseInt(_0x5bdb13(0x1fa))/0x7+parseInt(_0x5bdb13(0x1f5))/0x8*(parseInt(_0x5bdb13(0x1f7))/0x9)+-parseInt(_0x5bdb13(0x1ea))/0xa;if(_0x3f9604===_0x16f848)break;else _0x398a0d['push'](_0x398a0d['shift']());}catch(_0x3c84bc){_0x398a0d['push'](_0x398a0d['shift']());}}}(a122_0x3788,0xba099),exports[a122_0x55dbc6(0x1ef)]='https://accessibility.browserstack.com/api',exports[a122_0x55dbc6(0x1ee)]='94',exports[a122_0x55dbc6(0x1fc)]=a122_0x55dbc6(0x1f8),exports[a122_0x55dbc6(0x201)]=a122_0x55dbc6(0x1fd),exports[a122_0x55dbc6(0x1f0)]=a122_0x55dbc6(0x1fe));var a122_0x4b7b67={};a122_0x4b7b67[a122_0x55dbc6(0x1eb)]=a122_0x55dbc6(0x1ff),a122_0x4b7b67[a122_0x55dbc6(0x1fb)]=0x5e,a122_0x4b7b67['min_version_non_browserstack']=0x64,a122_0x4b7b67[a122_0x55dbc6(0x1f1)]=!![];var a122_0x51412d={};a122_0x51412d[a122_0x55dbc6(0x1eb)]='Chrome',a122_0x51412d[a122_0x55dbc6(0x1fb)]=0x5e,a122_0x51412d['min_version_non_browserstack']=0x64,a122_0x51412d[a122_0x55dbc6(0x1f1)]=!![];var a122_0x2e5061={};a122_0x2e5061[a122_0x55dbc6(0x1eb)]=a122_0x55dbc6(0x1ff),a122_0x2e5061[a122_0x55dbc6(0x1fb)]=0x5e,a122_0x2e5061[a122_0x55dbc6(0x1ed)]=0x64,a122_0x2e5061[a122_0x55dbc6(0x1f1)]=!![];var a122_0x2b67d9={};a122_0x2b67d9['display_name']=a122_0x55dbc6(0x1e9),a122_0x2b67d9['min_version_browserstack']=0x8d,a122_0x2b67d9['min_version_non_browserstack']=0x8d,a122_0x2b67d9[a122_0x55dbc6(0x1f1)]=!![];var a122_0x23fe32={};function a122_0x3788(){var _0x2d233b=['MINIMUM_CHROMEFORTESTING_VERSION','4RyrATl','144510fkXbGW','ChromeForTesting','14146090hlpXlF','display_name','ACCESSIBILITY_SUPPORTED_BROWSERS','min_version_non_browserstack','MINIMUM_BROWSER_VERSION_ACCESSIBILITY','API_URL','MINIMUM_SAFARI_VERSION','requires_chrome_options_check','842340sOJUja','safari','288950csIIob','596056fTBIvf','3051879aEaXTd','171TMECia','100','114DhVPVo','3633140WZpGWR','min_version_browserstack','MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY','141','18.4','Chrome','playwright-chromium'];a122_0x3788=function(){return _0x2d233b;};return a122_0x3788();}a122_0x23fe32['display_name']='Safari',a122_0x23fe32[a122_0x55dbc6(0x1fb)]=18.4,a122_0x23fe32[a122_0x55dbc6(0x1ed)]=18.4,a122_0x23fe32[a122_0x55dbc6(0x1f1)]=![];var a122_0x1b86bb={};function a122_0x5e02(_0x337ead,_0x2e3820){var _0x378886=a122_0x3788();return a122_0x5e02=function(_0x5e0215,_0x3ce640){_0x5e0215=_0x5e0215-0x1e8;var _0x25dde3=_0x378886[_0x5e0215];return _0x25dde3;},a122_0x5e02(_0x337ead,_0x2e3820);}a122_0x1b86bb['chrome']=a122_0x4b7b67,a122_0x1b86bb['chromium']=a122_0x51412d,a122_0x1b86bb[a122_0x55dbc6(0x200)]=a122_0x2e5061,a122_0x1b86bb['chromefortesting']=a122_0x2b67d9,a122_0x1b86bb[a122_0x55dbc6(0x1f3)]=a122_0x23fe32,exports[a122_0x55dbc6(0x1ec)]=a122_0x1b86bb;
|
|
@@ -1 +1 @@
|
|
|
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
|
+
const a123_0xe70183=a123_0x55a1;(function(_0x3db078,_0x289225){const _0x63a078=a123_0x55a1,_0x3abf51=_0x3db078();while(!![]){try{const _0x2ec18f=parseInt(_0x63a078(0x1f1))/0x1+parseInt(_0x63a078(0x1e4))/0x2*(-parseInt(_0x63a078(0x19c))/0x3)+-parseInt(_0x63a078(0x178))/0x4*(-parseInt(_0x63a078(0x1f0))/0x5)+-parseInt(_0x63a078(0x153))/0x6*(-parseInt(_0x63a078(0x241))/0x7)+-parseInt(_0x63a078(0x20f))/0x8+parseInt(_0x63a078(0x238))/0x9*(-parseInt(_0x63a078(0x175))/0xa)+parseInt(_0x63a078(0x21b))/0xb;if(_0x2ec18f===_0x289225)break;else _0x3abf51['push'](_0x3abf51['shift']());}catch(_0x177437){_0x3abf51['push'](_0x3abf51['shift']());}}}(a123_0x8936,0xde407));function a123_0x8936(){const _0xeea536=['AXVxM','global.__workerDetails\x20exists\x20but\x20.currentTest\x20is\x20undefined\x20—\x20scan\x20fired\x20outside\x20a\x20test\x20body\x20(before/beforeAll\x20hook,\x20or\x20between\x20tests).','sHsNF','WrmKX','checkAccessibilityPlatformConfig','browserVersion','abutt','map','qFQCx','trim','Error\x20checking\x20mobile\x20accessibility\x20session:\x20','statusText','json','DpdxC','MGRQm','v2/test_runs','pQnCI','BROWSERSTACK_TEST_ACCESSIBILITY_YML','error','IiMnO','performScan:\x20Mobile\x20capabilities\x20added\x20to\x20scan\x20arguments','length','KFzfl','resolveMobileThTestRunUuid','AUuvf','--headless=new','10538HAXOYh','stopAccessibilityTestRun','toJson','function','executeAsyncScript','--headless','RJpCJ','status','TOZcD','SEgGq','get','android','18095gNUyQQ','1106030okcyPG','--headless=','createAccessibilityTestRun','false','mRNRn','Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20','rHndw','scannerVersion','browserName','javascript','platformName','../globals','ohmrS','POST','Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20','global.__workerDetails.currentTest\x20exists\x20with\x20keys\x20[','includes','CJNiZ','script','Performing\x20scan\x20before\x20getting\x20results\x20summary','[Accessibility]\x20Mobile\x20scan\x20requested\x20but\x20thTestRunUuid\x20not\x20resolvable:\x20','rpTll','PERFORM_SCAN','isAccessibilityAutomationSession','nodeRequest','avXHo','debug','response','parseA11yJwtPayload','OqMYS','2037472zyZDPf','goog:chromeOptions','a11y:start','DlGQf','measureWrapper','platforms','warn','No\x20accessibility\x20summary\x20was\x20found.','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','parse','device','requireModule','3969372kVAaSC','toLowerCase','nrbws','fetchPlatformDetails','test_runs/stop','thTestRunUuid','WaYcw','hKQWc','Mobile\x20Accessibility\x20Automation\x20is\x20not\x20enabled\x20for\x20your\x20account.\x20Accessibility\x20scans\x20will\x20be\x20skipped\x20on\x20mobile\x20sessions.\x20Contact\x20BrowserStack\x20to\x20enable\x20mobile\x20accessibility\x20scanning.','auth','setNonBstackInfraCapabilities','jCFEE','application/json','getBrowserVersion','user','Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20','isTrue','\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.','hVkYP','getBrowserA11yConfig','XJzfW','replace','isMobileScanningEnabledForGroup','pass','getBrowserName','Performing\x20scan\x20before\x20getting\x20results','getPlatform','bstackA11yScanOptions','BS_A11Y_JWT','63lqydyL','info','path','join','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','browserstack','IHfCj','startsWith','getAccessibilityResultsSummary:\x20Mobile\x20session\x20detected,\x20args:\x20','39319iZfJUr','GsDqh','Options','undefined','keys','PUT','getCapabilities','Invalid\x20configuration\x20passed.','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).','Content-Type','base64','selenium-webdriver','getAccessibilityResultsSummary','giBBQ','requires_chrome_options_check','./scripts','TgilT','GET_RESULTS_SUMMARY','getAccessibilityResults','bhFrm','khldx','nestedKeyValue','MDZGZ','FUGEK','UKrnU','isAccessibilityPlatform','bKZVs','wqfdz','getPackageVersion','GET_RESULTS','MXKyQ','.\x20The\x20framework\x20setup\x20hook\x20is\x20not\x20writing\x20thTestRunUuid\x20onto\x20currentTest.','stack','Build\x20creation\x20had\x20failed.','buildName','Not\x20a\x20Accessibility\x20Session','from','null','NUSGP','wait','YQoOD','60TVBxtw','assign','requiresChromeOptionsValidation','isBrowserstackInfra','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','SmmrT','lQDYV','AEVtd','command','Cslwt','headers','true','min_version_non_browserstack','__cloud_provider___','KNdBT','toString','isBrowserStackCommandExecutor','AXQKD','GLOBz','performScan','getUserName','isBrowserSupportedForAccessibility','UXFWf','getCiInfo','OGtzI','MOBILE_SCANNING_DISABLED_WARNING','message','Error\x20checking\x20if\x20mobile\x20accessibility\x20platform:\x20','gCoMi','resolve','CMOXD','winstonLogger','GIqjV','ChromeExtension','452190teOKtj','LYugU','env','1148fEttTx','getTestFrameworkDetails','GdlfA','Mobile\x20Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser.','currentTest','../performance/performance-tester','stringify','WiFVD','QlZKx','accessibilityToken','executeScript','tmPTm','toISOString','NBNuN','some','browserstackSessionName','isUndefined','getResultsSummary','getGitMetaData','nonBstackPlatformValidation','BROWSERSTACK_TURBOSCALE','Performed\x20scan\x20with\x20result:\x20','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','a11y:stop','getMinVersionForBrowser','method','Error\x20while\x20adding\x20Non-Bstack\x20capabilities:\x20','SddRH','uaQGZ','is_mobile_session','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','buildDescription','No\x20accessibility\x20results\x20were\x20found.','isMobileAccessibilityPlatform','oVVmW','capabilities_','615ILfoTI','getMobileA11yCapabilities','data','LJORy','cwd','string','format','OsSAI','PjHNr','../performance/constants','wTPEW','chromeOptions_','aTLHk','Gfqdr','BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP','isArray',']\x20but\x20thTestRunUuid\x20is\x20','kaGDx','jXVYT','isMobileAccessibilitySession','LNYyU','set','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','oqIWM','compareVersions','ntcMZ','projectName','Authorization','getGlobal','../logger','jJHAj','WVQlY','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token','ZrOim','uLrHx','getAccessKey','bstack:options','OtwSp','HgdUA','yVDgG','playwright','bstackA11yShouldScan','JUhQT','getBrowserDisplayName','fLsER','deviceName'];a123_0x8936=function(){return _0xeea536;};return a123_0x8936();}function a123_0x55a1(_0x437ea6,_0x34895d){const _0x8936d7=a123_0x8936();return a123_0x55a1=function(_0x55a172,_0x199f73){_0x55a172=_0x55a172-0x135;let _0x29c9bc=_0x8936d7[_0x55a172];return _0x29c9bc;},a123_0x55a1(_0x437ea6,_0x34895d);}const path=require(a123_0xe70183(0x23a)),util=require('util'),bsSetupHelper=require('../helper'),logger=require(a123_0xe70183(0x1b9))[a123_0xe70183(0x172)],{API_URL,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY,ACCESSIBILITY_SUPPORTED_BROWSERS}=require('./constants'),PerformanceTester=require(a123_0xe70183(0x17d)),scripts=require(a123_0xe70183(0x139)),globals=require(a123_0xe70183(0x1fc)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a123_0xe70183(0x1a5));exports[a123_0xe70183(0x21e)]=async _0xf47897=>{const _0x4e7762=a123_0xe70183,_0x1fb2f0={};_0x1fb2f0[_0x4e7762(0x144)]=function(_0x957e7f,_0x171e17){return _0x957e7f===_0x171e17;},_0x1fb2f0[_0x4e7762(0x19f)]=_0x4e7762(0x23d);const _0x110f6f=_0x1fb2f0;let _0x3e641e={};try{const _0x249ed0=await _0xf47897[_0x4e7762(0x247)]();_0x3e641e={'os_name':_0x249ed0[_0x4e7762(0x235)](),'os_version':bsSetupHelper['getPlatformVersion'](_0x110f6f[_0x4e7762(0x144)](global[_0x4e7762(0x160)],_0x110f6f['LJORy'])),'browser_name':_0x249ed0[_0x4e7762(0x233)](),'browser_version':_0x249ed0[_0x4e7762(0x228)]()};}catch(_0x6335b8){logger[_0x4e7762(0x20b)](_0x4e7762(0x23c)+_0x6335b8);}return _0x3e641e;},exports['isAccessibilityAutomationSession']=()=>{const _0x15e739=a123_0xe70183,_0x58c03e={};_0x58c03e[_0x15e739(0x194)]=function(_0x2dd0ce,_0x71d83){return _0x2dd0ce===_0x71d83;},_0x58c03e[_0x15e739(0x150)]=_0x15e739(0x1a1),_0x58c03e['oVVmW']=function(_0x311f87,_0x208fe0){return _0x311f87>_0x208fe0;},_0x58c03e[_0x15e739(0x148)]=function(_0x258b75,_0x162bb5){return _0x258b75!==_0x162bb5;},_0x58c03e['fLsER']=_0x15e739(0x14f),_0x58c03e['QlZKx']=function(_0x1e5a69,_0x23a2b6){return _0x1e5a69&&_0x23a2b6;};const _0x7c1fc6=_0x58c03e;try{const _0x4e7d99=bsSetupHelper[_0x15e739(0x22b)](process[_0x15e739(0x177)][_0x15e739(0x1db)])||bsSetupHelper[_0x15e739(0x22b)](process[_0x15e739(0x177)][_0x15e739(0x1b2)]),_0x229c53=_0x7c1fc6[_0x15e739(0x194)](typeof process[_0x15e739(0x177)][_0x15e739(0x237)],_0x7c1fc6[_0x15e739(0x150)])&&_0x7c1fc6[_0x15e739(0x19a)](process[_0x15e739(0x177)][_0x15e739(0x237)][_0x15e739(0x1df)],0x0)&&_0x7c1fc6['MXKyQ'](process[_0x15e739(0x177)][_0x15e739(0x237)],_0x7c1fc6[_0x15e739(0x1c8)]);return _0x7c1fc6[_0x15e739(0x180)](_0x4e7d99,_0x229c53);}catch(_0x392c29){logger[_0x15e739(0x20b)](_0x15e739(0x1ff)+_0x392c29);}return![];},exports[a123_0xe70183(0x18b)]=(_0x38b684,_0x2f2b53)=>{const _0x693451=a123_0xe70183,_0x41dc20={'YDQxI':_0x693451(0x1f9),'BSRFZ':function(_0x20372d,_0x575574){return _0x20372d(_0x575574);},'OqMYS':_0x693451(0x1cf),'PKaQQ':function(_0x29479f,_0x1514ba){return _0x29479f(_0x1514ba);},'IlJCX':'version','GsDqh':_0x693451(0x1c0),'YQoOD':function(_0x2402fb,_0x200f33){return _0x2402fb(_0x200f33);},'GIqjV':_0x693451(0x1c9),'LYugU':_0x693451(0x219),'YRFxa':_0x693451(0x196),'WaYcw':'selenium-webdriver/chrome.js','MDZGZ':_0x693451(0x135),'oqIWM':'options_','nrbws':'args','LNYyU':'chromeOptions','TOZcD':'Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','aTLHk':_0x693451(0x210),'FVRik':function(_0x2bfbbb,_0x59a02a){return _0x2bfbbb===_0x59a02a;},'jbQSJ':'chrome','OGtzI':function(_0x462312,_0x89aeef){return _0x462312>=_0x89aeef;}},_0x18d566=_0x38b684['get'](_0x41dc20['YDQxI']),_0x3f64d6=_0x41dc20['BSRFZ'](parseFloat,_0x38b684[_0x693451(0x1ee)](_0x41dc20[_0x693451(0x20e)]))||_0x41dc20['PKaQQ'](parseFloat,_0x38b684[_0x693451(0x1ee)](_0x41dc20['IlJCX'])),_0x3dba48=_0x38b684['get'](_0x41dc20[_0x693451(0x242)])||{},_0x5076b0=_0x41dc20[_0x693451(0x152)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY),_0xfe8ffb=_0x3dba48[_0x41dc20[_0x693451(0x173)]]||_0x38b684['get'](_0x41dc20[_0x693451(0x176)])||![];if(_0xfe8ffb)return logger['warn'](_0x41dc20['YRFxa']),![];let _0x2c2a0d;try{_0x2c2a0d=bsSetupHelper[_0x693451(0x21a)](_0x41dc20[_0x693451(0x221)],_0x41dc20[_0x693451(0x140)]);}catch(_0x1653af){return![];}const _0x50bf9c=new _0x2c2a0d[(_0x693451(0x243))](_0x2f2b53[_0x693451(0x1a7)]),_0x4cf3d1=bsSetupHelper[_0x693451(0x13f)](_0x50bf9c,[_0x41dc20[_0x693451(0x1b3)],_0x41dc20[_0x693451(0x21d)]])||bsSetupHelper[_0x693451(0x13f)](_0x2f2b53['capabilities_'],[_0x41dc20['GsDqh'],_0x41dc20[_0x693451(0x1b0)],_0x41dc20[_0x693451(0x21d)]])||bsSetupHelper['nestedKeyValue'](_0x2f2b53['capabilities_'],[_0x41dc20[_0x693451(0x1b0)],_0x41dc20[_0x693451(0x21d)]])||[],_0x26cc7f=Array['isArray'](_0x4cf3d1)?_0x4cf3d1:[];if(_0x26cc7f[_0x693451(0x186)](_0x2b777a=>typeof _0x2b777a===_0x693451(0x1a1)&&(_0x2b777a==='--headless'||_0x2b777a[_0x693451(0x23f)](_0x693451(0x1f2))&&_0x2b777a!=='--headless=new')))return logger[_0x693451(0x215)](_0x41dc20[_0x693451(0x1ec)]),![];const _0x510efc=_0x2f2b53[_0x693451(0x19b)]||{},_0x531716=bsSetupHelper[_0x693451(0x13f)](_0x510efc,[_0x41dc20[_0x693451(0x1a8)]])||{},_0x4b5c79=bsSetupHelper[_0x693451(0x13f)](_0x531716,[_0x41dc20[_0x693451(0x21d)]])||[],_0x2729e7=Array['isArray'](_0x4b5c79)?_0x4b5c79:[];if(_0x2729e7[_0x693451(0x186)](_0x271737=>typeof _0x271737===_0x693451(0x1a1)&&(_0x271737===_0x693451(0x1e9)||_0x271737[_0x693451(0x23f)](_0x693451(0x1f2))&&_0x271737!==_0x693451(0x1e3))))return logger[_0x693451(0x215)](_0x41dc20[_0x693451(0x1ec)]),![];if(_0x41dc20['FVRik'](_0x18d566[_0x693451(0x21c)](),_0x41dc20['jbQSJ'])&&_0x41dc20[_0x693451(0x16b)](_0x3f64d6,_0x5076b0))return!![];return logger[_0x693451(0x215)]('Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20'+MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY+'.'),![];},exports[a123_0xe70183(0x225)]=_0x22c0e2=>{const _0x9be149=a123_0xe70183,_0x2e0cb9={};_0x2e0cb9[_0x9be149(0x1b5)]=_0x9be149(0x210),_0x2e0cb9[_0x9be149(0x158)]=function(_0x3bd34a,_0x5c1910){return _0x3bd34a||_0x5c1910;},_0x2e0cb9[_0x9be149(0x1d0)]=_0x9be149(0x14d);const _0x23e0c9=_0x2e0cb9,_0x75d93=scripts[_0x9be149(0x174)];try{const _0x4d1334=bsSetupHelper[_0x9be149(0x22b)](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML'])||bsSetupHelper['isTrue'](process[_0x9be149(0x177)][_0x9be149(0x1b2)]);if((!bsSetupHelper['isBrowserstackInfra']()||process[_0x9be149(0x177)][_0x9be149(0x18c)])&&_0x4d1334){const _0x42fcdb=_0x22c0e2[_0x9be149(0x247)](),_0x3f848a=_0x42fcdb['get'](_0x23e0c9[_0x9be149(0x1b5)]),_0x434d94=_0x23e0c9['SmmrT'](_0x3f848a,{});bsSetupHelper['mergeDeep'](_0x434d94,_0x75d93),_0x22c0e2['getCapabilities']()[_0x9be149(0x1b1)](_0x23e0c9['ntcMZ'],_0x434d94);}else logger[_0x9be149(0x215)](_0x23e0c9['abutt']);}catch(_0x26e4af){logger[_0x9be149(0x1dc)](_0x9be149(0x192)+_0x26e4af);}},exports['shouldScanTestForAccessibility']=(_0x304ce3=null,_0x561e8e=!![],_0x159345=[])=>{const _0x178e49=a123_0xe70183,_0x15ac8d={};_0x15ac8d[_0x178e49(0x1a4)]=function(_0x2b2aad,_0x342a55){return _0x2b2aad==_0x342a55;},_0x15ac8d['pfBVq']=function(_0x42f314,_0x1f5564){return _0x42f314>_0x1f5564;},_0x15ac8d[_0x178e49(0x137)]=function(_0x3cb6df,_0x586d9a){return _0x3cb6df===_0x586d9a;},_0x15ac8d[_0x178e49(0x1a9)]=function(_0xc3c674,_0x1814ab){return _0xc3c674&&_0x1814ab;};const _0x3e3807=_0x15ac8d;if(_0x3e3807[_0x178e49(0x1a4)](process[_0x178e49(0x177)][_0x178e49(0x157)],null))return!![];try{const _0x5c1367=JSON[_0x178e49(0x218)](process['env'][_0x178e49(0x157)]),_0x22c638=Array[_0x178e49(0x1ab)](_0x5c1367['includeTagsInTestingScope'])?_0x5c1367['includeTagsInTestingScope']:[],_0x4b1505=Array[_0x178e49(0x1ab)](_0x5c1367['excludeTagsInTestingScope'])?_0x5c1367['excludeTagsInTestingScope']:[],_0x5aa389=_0x51137a=>typeof _0x51137a===_0x178e49(0x1a1)?_0x51137a[_0x178e49(0x230)](/^@/,'')[_0x178e49(0x21c)]()[_0x178e49(0x1d3)]():_0x51137a;if(bsSetupHelper['isUndefined'](_0x304ce3)){if(_0x3e3807['pfBVq'](_0x159345[_0x178e49(0x1df)],0x0)){const _0x473aca=_0x159345[_0x178e49(0x1d1)](_0x5aa389),_0x2ebe10=_0x4b1505[_0x178e49(0x186)](_0x902b2e=>_0x473aca['includes'](_0x5aa389(_0x902b2e))),_0x153be4=_0x3e3807[_0x178e49(0x137)](_0x22c638[_0x178e49(0x1df)],0x0)||_0x22c638[_0x178e49(0x186)](_0x3323ac=>_0x473aca[_0x178e49(0x201)](_0x5aa389(_0x3323ac)));return _0x3e3807[_0x178e49(0x1a9)](!_0x2ebe10,_0x153be4);}return!![];}let _0x1bf72f;_0x561e8e?_0x1bf72f=_0x304ce3[_0x178e49(0x23b)]('/'):_0x1bf72f=_0x304ce3;const _0x697833=_0x4b1505[_0x178e49(0x186)](_0x895a3=>_0x1bf72f['toLowerCase']()[_0x178e49(0x201)](_0x5aa389(_0x895a3)[_0x178e49(0x21c)]())),_0x26ac4a=_0x3e3807[_0x178e49(0x137)](_0x22c638[_0x178e49(0x1df)],0x0)||_0x22c638[_0x178e49(0x186)](_0x393cfd=>_0x1bf72f['toLowerCase']()[_0x178e49(0x201)](_0x5aa389(_0x393cfd)[_0x178e49(0x21c)]()));return _0x3e3807[_0x178e49(0x1a9)](!_0x697833,_0x26ac4a);}catch(_0x1f0568){logger[_0x178e49(0x20b)](_0x178e49(0x1f6)+util[_0x178e49(0x1a2)](_0x1f0568));}return![];},exports[a123_0xe70183(0x1ce)]=_0x208099=>{const _0x4bcc17=a123_0xe70183;let _0x2b0ab4=![];try{_0x208099[_0x4bcc17(0x214)]['forEach'](_0x704a2d=>{const _0x175d7d=_0x4bcc17;if(bsSetupHelper[_0x175d7d(0x22b)](_0x704a2d['accessibility']))return _0x2b0ab4=!![],!![];});}catch(_0xddf05e){logger[_0x4bcc17(0x20b)]('Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20'+_0xddf05e);}return _0x2b0ab4||bsSetupHelper['isTrue'](_0x208099['accessibility']);},exports[a123_0xe70183(0x1f3)]=PerformanceTester[a123_0xe70183(0x213)](a123_0xe70183(0x211),async function(_0x34ad04,_0x5eb27f){const _0x54c065=a123_0xe70183,_0x27b15b={};_0x27b15b[_0x54c065(0x212)]=_0x54c065(0x1bc),_0x27b15b['GLOBz']=_0x54c065(0x1c4),_0x27b15b[_0x54c065(0x1be)]=_0x54c065(0x1fa),_0x27b15b[_0x54c065(0x1ea)]=_0x54c065(0x227),_0x27b15b[_0x54c065(0x1dd)]=_0x54c065(0x1fe),_0x27b15b['jCFEE']=_0x54c065(0x1d9),_0x27b15b['ZrOim']=function(_0x371b57,_0x2e2dea){return _0x371b57===_0x2e2dea;},_0x27b15b[_0x54c065(0x206)]=_0x54c065(0x248),_0x27b15b[_0x54c065(0x183)]=_0x54c065(0x1f4);const _0x1b61e=_0x27b15b,_0x5b4ba1=bsSetupHelper[_0x54c065(0x167)](_0x34ad04),_0x15e0e3=bsSetupHelper[_0x54c065(0x1bf)](_0x34ad04);if(bsSetupHelper[_0x54c065(0x188)](_0x5b4ba1)||bsSetupHelper[_0x54c065(0x188)](_0x15e0e3))return logger[_0x54c065(0x1dc)](_0x1b61e['DlGQf']),[null,null];try{let _0x1dfac2;bsSetupHelper[_0x54c065(0x188)](process[_0x54c065(0x177)][_0x54c065(0x157)])?_0x1dfac2={}:_0x1dfac2=JSON[_0x54c065(0x218)](process[_0x54c065(0x177)][_0x54c065(0x157)]);const {name:_0xc87790,version:_0xb9a514}=bsSetupHelper[_0x54c065(0x179)](_0x34ad04,_0x5eb27f),_0x2eb925={'projectName':_0x34ad04[_0x54c065(0x1b6)],'buildName':_0x34ad04[_0x54c065(0x14c)]||path['basename'](path[_0x54c065(0x170)](process[_0x54c065(0x1a0)]())),'startTime':new Date()['toISOString'](),'description':_0x34ad04[_0x54c065(0x197)]||'','source':{'frameworkName':_0x5eb27f[_0x54c065(0x201)](_0x1b61e[_0x54c065(0x165)])?_0x1b61e[_0x54c065(0x165)]:_0x5eb27f,'frameworkVersion':bsSetupHelper[_0x54c065(0x146)](_0x5eb27f),'sdkVersion':bsSetupHelper['getAgentVersion'](),'language':_0x1b61e[_0x54c065(0x1be)],'testFramework':_0xc87790,'testFrameworkVersion':_0xb9a514},'settings':_0x1dfac2,'versionControl':await bsSetupHelper[_0x54c065(0x18a)](),'ciInfo':bsSetupHelper[_0x54c065(0x16a)](),'hostInfo':bsSetupHelper['getHostInfo'](),'browserstackAutomation':bsSetupHelper[_0x54c065(0x156)]()},_0x491191={};_0x491191[_0x54c065(0x229)]=_0x5b4ba1,_0x491191[_0x54c065(0x232)]=_0x15e0e3;const _0x5a15b2={};_0x5a15b2[_0x54c065(0x24a)]=_0x1b61e[_0x54c065(0x1ea)];const _0x1a7299={};_0x1a7299['auth']=_0x491191,_0x1a7299[_0x54c065(0x15d)]=_0x5a15b2;const _0xf0dc00=_0x1a7299,_0x521e06={};_0x521e06['body']=_0x2eb925,_0x521e06[_0x54c065(0x1d6)]=!![];const _0x906e6d=Object[_0x54c065(0x154)](_0xf0dc00,_0x521e06),_0x4e6cfb=await bsSetupHelper[_0x54c065(0x209)](_0x1b61e[_0x54c065(0x1dd)],_0x1b61e[_0x54c065(0x226)],_0x906e6d,_0x34ad04,API_URL);let _0x47eade=process[_0x54c065(0x177)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'];return _0x47eade?_0x47eade=JSON[_0x54c065(0x218)](process[_0x54c065(0x177)][_0x54c065(0x157)]):_0x47eade={},scripts['parseFromJson'](_0x4e6cfb[_0x54c065(0x19e)][_0x54c065(0x19e)]),scripts[_0x54c065(0x1e6)](),_0x47eade[_0x54c065(0x1f8)]=_0x4e6cfb[_0x54c065(0x19e)]['data'][_0x54c065(0x1f8)],process['env'][_0x54c065(0x157)]=JSON[_0x54c065(0x17e)](_0x47eade),[_0x4e6cfb[_0x54c065(0x19e)]['data'][_0x54c065(0x181)],_0x4e6cfb['data'][_0x54c065(0x19e)]['id']];}catch(_0x13164d){if(_0x13164d['response'])logger[_0x54c065(0x1dc)](_0x54c065(0x18e)+_0x13164d[_0x54c065(0x20c)][_0x54c065(0x1eb)]+'\x20'+_0x13164d[_0x54c065(0x20c)][_0x54c065(0x1d5)]+'\x20'+JSON[_0x54c065(0x17e)](_0x13164d[_0x54c065(0x20c)]['data']));else{if(_0x1b61e[_0x54c065(0x1bd)](_0x13164d[_0x54c065(0x16d)],_0x1b61e[_0x54c065(0x206)])){logger[_0x54c065(0x1dc)]('Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20'+(_0x13164d['message']||_0x13164d['stack']));for(const _0x54a146 of _0x13164d['errors']){logger['error'](_0x54a146[_0x54c065(0x16d)]);}process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x1b61e[_0x54c065(0x183)],process[_0x54c065(0x177)][_0x54c065(0x1b2)]=_0x1b61e[_0x54c065(0x183)];}else logger['error'](_0x54c065(0x18e)+(_0x13164d[_0x54c065(0x16d)]||_0x13164d[_0x54c065(0x14a)]));}return[null,null];}}),exports[a123_0xe70183(0x1e5)]=PerformanceTester['measureWrapper'](a123_0xe70183(0x18f),async function(_0x57535b){const _0x132afe=a123_0xe70183,_0x183006={};_0x183006[_0x132afe(0x1e0)]=function(_0xd0e75e,_0x4c786d){return _0xd0e75e!==_0x4c786d;},_0x183006[_0x132afe(0x1bb)]=_0x132afe(0x1a1),_0x183006[_0x132afe(0x1ba)]='error',_0x183006[_0x132afe(0x1e2)]=_0x132afe(0x14b),_0x183006['wTPEW']='application/json',_0x183006[_0x132afe(0x164)]=_0x132afe(0x246),_0x183006['yiRpt']=_0x132afe(0x21f),_0x183006[_0x132afe(0x161)]=function(_0x3554a8,_0x43f95a){return _0x3554a8+_0x43f95a;},_0x183006[_0x132afe(0x1fd)]='Invalid\x20request:\x20',_0x183006[_0x132afe(0x222)]='success';const _0x4fe407=_0x183006;if(bsSetupHelper[_0x132afe(0x188)](process[_0x132afe(0x177)][_0x132afe(0x237)])||_0x4fe407[_0x132afe(0x1e0)](typeof process[_0x132afe(0x177)][_0x132afe(0x237)],_0x4fe407['WVQlY'])){const _0x584c21={};return _0x584c21[_0x132afe(0x1eb)]=_0x4fe407[_0x132afe(0x1ba)],_0x584c21[_0x132afe(0x16d)]=_0x4fe407[_0x132afe(0x1e2)],_0x584c21;}const _0x5f0f3e={'endTime':new Date()[_0x132afe(0x184)]()},_0x5a4555={};_0x5a4555[_0x132afe(0x1b7)]='Bearer\x20'+process[_0x132afe(0x177)][_0x132afe(0x237)],_0x5a4555['Content-Type']=_0x4fe407[_0x132afe(0x1a6)];const _0xa6e3ff={};_0xa6e3ff[_0x132afe(0x15d)]=_0x5a4555;const _0x1d5359=_0xa6e3ff,_0x938ddc={};_0x938ddc['body']=_0x5f0f3e,_0x938ddc[_0x132afe(0x224)]=null,_0x938ddc[_0x132afe(0x1d6)]=!![];const _0x50c644=Object[_0x132afe(0x154)](_0x1d5359,_0x938ddc);try{const _0x35b10c=await bsSetupHelper[_0x132afe(0x209)](_0x4fe407[_0x132afe(0x164)],_0x4fe407['yiRpt'],_0x50c644,_0x57535b,API_URL);if(_0x35b10c[_0x132afe(0x19e)]['error'])throw new Error(_0x4fe407[_0x132afe(0x161)](_0x4fe407[_0x132afe(0x1fd)],_0x35b10c['data']['error']));else{logger[_0x132afe(0x239)]('BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20'+new Date()[_0x132afe(0x184)]());const _0x261d90={};return _0x261d90[_0x132afe(0x1eb)]=_0x4fe407[_0x132afe(0x222)],_0x261d90[_0x132afe(0x16d)]='',_0x261d90;}}catch(_0x41cc8b){_0x41cc8b[_0x132afe(0x20c)]?logger[_0x132afe(0x1dc)](_0x132afe(0x22a)+_0x41cc8b[_0x132afe(0x20c)]['status']+'\x20'+_0x41cc8b[_0x132afe(0x20c)]['statusText']+'\x20'+JSON[_0x132afe(0x17e)](_0x41cc8b['response'][_0x132afe(0x19e)])):logger[_0x132afe(0x1dc)](_0x132afe(0x22a)+(_0x41cc8b['message']||util[_0x132afe(0x1a2)](_0x41cc8b)));const _0x5a0b65={};return _0x5a0b65['status']=_0x4fe407[_0x132afe(0x1ba)],_0x5a0b65[_0x132afe(0x16d)]=_0x41cc8b['message']||(_0x41cc8b[_0x132afe(0x20c)]?_0x41cc8b[_0x132afe(0x20c)]['status']+':'+_0x41cc8b[_0x132afe(0x20c)][_0x132afe(0x1d5)]:_0x41cc8b),_0x5a0b65;}}),exports[a123_0xe70183(0x166)]=async(_0x3a5c63,_0x4525a7=null,_0x38e214=![],_0x3e5fd3=null)=>{const _0x1eaed6=a123_0xe70183,_0x4c4e73={};_0x4c4e73[_0x1eaed6(0x1da)]=_0x1eaed6(0x143),_0x4c4e73[_0x1eaed6(0x171)]=_0x1eaed6(0x1c5),_0x4c4e73[_0x1eaed6(0x1ca)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.',_0x4c4e73[_0x1eaed6(0x23e)]=function(_0x47491a,_0x48ac51){return _0x47491a||_0x48ac51;},_0x4c4e73[_0x1eaed6(0x1c1)]=_0x1eaed6(0x236),_0x4c4e73[_0x1eaed6(0x202)]=_0x1eaed6(0x1de);const _0x49cf7a=_0x4c4e73;if(!this[_0x1eaed6(0x208)]()||!globals['getGlobal'](_0x49cf7a['pQnCI'])||!_0x38e214&&!globals[_0x1eaed6(0x1b8)](_0x49cf7a[_0x1eaed6(0x171)])){logger['warn'](_0x49cf7a[_0x1eaed6(0x1ca)]);return;}const _0xc4260b=_0x38e214?_0x49cf7a['IHfCj'](_0x3e5fd3,{}):globals[_0x1eaed6(0x1b8)](_0x49cf7a[_0x1eaed6(0x1c1)])||{},_0x530da4={};_0x530da4[_0x1eaed6(0x191)]=_0x4525a7||global[_0x1eaed6(0x187)];const _0x1c7e33=Object[_0x1eaed6(0x154)]({},_0xc4260b,_0x530da4);await this[_0x1eaed6(0x1af)](_0x3a5c63)&&(Object[_0x1eaed6(0x154)](_0x1c7e33,this['getMobileA11yCapabilities'](),{'thTestRunUuid':this[_0x1eaed6(0x1e1)]()}),logger['debug'](_0x49cf7a[_0x1eaed6(0x202)]));logger['debug']('[Accessibility]\x20Selenium\x20performScan\x20payload:\x20'+util[_0x1eaed6(0x1a2)]('%j',_0x1c7e33));const _0x45d830={};return _0x45d830[_0x1eaed6(0x15b)]=_0x4525a7,await PerformanceTester[_0x1eaed6(0x213)](PerformanceA11yEvents[_0x1eaed6(0x207)],async()=>{const _0x436594=_0x1eaed6;try{await _0x3a5c63[_0x436594(0x151)](()=>_0x3a5c63[_0x436594(0x182)]('return\x20document.readyState\x20===\x20\x22complete\x22'),0x1388);}catch(_0x46f4a4){}const _0x33562c=util['format'](await _0x3a5c63[_0x436594(0x1e8)](scripts['performScan'],_0x1c7e33));return logger[_0x436594(0x20b)](_0x436594(0x18d)+_0x33562c),_0x33562c;},_0x45d830)();},exports[a123_0xe70183(0x13c)]=async(_0x2e8a7f,_0x41b501)=>{const _0x5892e1=a123_0xe70183,_0x4ccd5b={};_0x4ccd5b[_0x5892e1(0x142)]=_0x5892e1(0x234),_0x4ccd5b[_0x5892e1(0x1f5)]=_0x5892e1(0x143),_0x4ccd5b[_0x5892e1(0x1c2)]=_0x5892e1(0x1c5),_0x4ccd5b[_0x5892e1(0x1d8)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.',_0x4ccd5b[_0x5892e1(0x15a)]='getAccessibilityResults',_0x4ccd5b[_0x5892e1(0x20a)]=_0x5892e1(0x198);const _0x19e200=_0x4ccd5b;if(!this[_0x5892e1(0x208)]()||!globals[_0x5892e1(0x1b8)](_0x19e200['mRNRn'])||!globals[_0x5892e1(0x1b8)](_0x19e200[_0x5892e1(0x1c2)]))return logger[_0x5892e1(0x215)](_0x19e200['MGRQm']),[];try{const _0x32b06e=await this[_0x5892e1(0x1af)](_0x2e8a7f),_0x4bbab8=_0x32b06e?Object[_0x5892e1(0x154)]({},this[_0x5892e1(0x19d)](),{'thTestRunUuid':this['resolveMobileThTestRunUuid']()}):{};return _0x32b06e&&logger[_0x5892e1(0x20b)]('getAccessibilityResults:\x20Mobile\x20session\x20detected,\x20args:\x20'+util['format']('%j',_0x4bbab8)),await PerformanceTester[_0x5892e1(0x213)](PerformanceA11yEvents[_0x5892e1(0x207)],async()=>{const _0x453053=_0x5892e1;logger[_0x453053(0x20b)](_0x19e200[_0x453053(0x142)]);const _0x3e94e7={};_0x3e94e7[_0x453053(0x191)]=_0x41b501[_0x453053(0x187)];const _0x3d9dea=Object[_0x453053(0x154)](_0x3e94e7,_0x4bbab8);logger['debug'](util[_0x453053(0x1a2)](await _0x2e8a7f['executeAsyncScript'](scripts['performScan'],_0x3d9dea)));},{'command':_0x19e200[_0x5892e1(0x15a)]})(),await PerformanceTester[_0x5892e1(0x213)](PerformanceA11yEvents[_0x5892e1(0x147)],async()=>{const _0x4ce6d7=_0x5892e1,_0x319d1f=_0x32b06e?await _0x2e8a7f['executeAsyncScript'](scripts['getResults'],_0x4bbab8):await _0x2e8a7f[_0x4ce6d7(0x1e8)](scripts['getResults']);return _0x319d1f;})();}catch{return logger['error'](_0x19e200['avXHo']),[];}},exports['getAccessibilityResultsSummary']=async(_0x5a9c1e,_0x5e748e)=>{const _0x11657d=a123_0xe70183,_0x3e060c={};_0x3e060c[_0x11657d(0x22f)]=_0x11657d(0x204),_0x3e060c[_0x11657d(0x1cc)]=_0x11657d(0x143),_0x3e060c[_0x11657d(0x17f)]=_0x11657d(0x1c5),_0x3e060c[_0x11657d(0x1cd)]=_0x11657d(0x217),_0x3e060c[_0x11657d(0x185)]=_0x11657d(0x136),_0x3e060c['FEmEH']=_0x11657d(0x216);const _0x49d697=_0x3e060c;if(!this[_0x11657d(0x208)]()||!globals[_0x11657d(0x1b8)](_0x49d697[_0x11657d(0x1cc)])||!globals[_0x11657d(0x1b8)](_0x49d697[_0x11657d(0x17f)]))return logger['warn'](_0x49d697['WrmKX']),{};try{const _0x3f8997=await this[_0x11657d(0x1af)](_0x5a9c1e),_0x4740ee=_0x3f8997?Object['assign']({},this[_0x11657d(0x19d)](),{'thTestRunUuid':this[_0x11657d(0x1e1)]()}):{};return _0x3f8997&&logger['debug'](_0x11657d(0x240)+util['format']('%j',_0x4740ee)),await PerformanceTester[_0x11657d(0x213)](PerformanceA11yEvents[_0x11657d(0x207)],async()=>{const _0xefcf57=_0x11657d;logger[_0xefcf57(0x20b)](_0x49d697[_0xefcf57(0x22f)]);const _0x2f0d6d={};_0x2f0d6d[_0xefcf57(0x191)]=_0x5e748e[_0xefcf57(0x187)];const _0x53a429=Object[_0xefcf57(0x154)](_0x2f0d6d,_0x4740ee);logger['debug'](util[_0xefcf57(0x1a2)](await _0x5a9c1e[_0xefcf57(0x1e8)](scripts[_0xefcf57(0x166)],_0x53a429)));},{'command':_0x49d697['NBNuN']})(),await PerformanceTester[_0x11657d(0x213)](PerformanceA11yEvents[_0x11657d(0x13b)],async()=>{const _0xa9625e=_0x11657d,_0xe95615=_0x3f8997?await _0x5a9c1e[_0xa9625e(0x1e8)](scripts[_0xa9625e(0x189)],_0x4740ee):await _0x5a9c1e[_0xa9625e(0x1e8)](scripts[_0xa9625e(0x189)]);return _0xe95615;})();}catch{return logger['error'](_0x49d697['FEmEH']),{};}},exports[a123_0xe70183(0x199)]=(_0x43c2be,_0x4163bd=![])=>{const _0x20c491=a123_0xe70183,_0x44e765={'FUGEK':function(_0x539157,_0x3de64d){return _0x539157(_0x3de64d);},'JUhQT':function(_0x49c922,_0x12c4fd){return _0x49c922(_0x12c4fd);},'mTyNu':_0x20c491(0x1fb),'lQDYV':function(_0x339f3c,_0x24da15){return _0x339f3c!==_0x24da15;},'UzNbg':_0x20c491(0x1ef),'UXFWf':function(_0x57db2a,_0x5caf59){return _0x57db2a(_0x5caf59);},'qFQCx':function(_0x256b5a,_0x21e2cd){return _0x256b5a(_0x21e2cd);},'TjcPC':_0x20c491(0x1f9),'OsSAI':'chrome','yLFzV':_0x20c491(0x17b),'TgilT':'Session\x20is\x20identified\x20as\x20mobile\x20accessibility\x20platform\x20(Android\x20+\x20Chrome)'};try{if(!_0x43c2be)return![];const _0x24c0e1=_0x4eb2ca=>typeof _0x43c2be[_0x20c491(0x1ee)]===_0x20c491(0x1e7)?_0x43c2be[_0x20c491(0x1ee)](_0x4eb2ca):_0x43c2be[_0x4eb2ca],_0x4d24c6=_0x44e765[_0x20c491(0x141)](String,_0x44e765[_0x20c491(0x1c6)](_0x24c0e1,_0x44e765['mTyNu'])||'')['toLowerCase']();if(_0x44e765[_0x20c491(0x159)](_0x4d24c6,_0x44e765['UzNbg']))return![];const _0x1c55e6=_0x44e765[_0x20c491(0x169)](String,_0x44e765[_0x20c491(0x1d2)](_0x24c0e1,_0x44e765['TjcPC'])||'')[_0x20c491(0x21c)]();if(!_0x1c55e6[_0x20c491(0x201)](_0x44e765[_0x20c491(0x1a3)]))return _0x4163bd&&logger['warn'](_0x44e765['yLFzV']),![];return logger['debug'](_0x44e765[_0x20c491(0x13a)]),!![];}catch(_0x4881e7){return logger['debug'](_0x20c491(0x16e)+_0x4881e7),![];}},exports[a123_0xe70183(0x1af)]=async _0x724a4d=>{const _0x4f6298=a123_0xe70183;try{const _0x3ebe42=await _0x724a4d[_0x4f6298(0x247)]();return exports['isMobileAccessibilityPlatform'](_0x3ebe42);}catch(_0xe19e89){return logger[_0x4f6298(0x20b)](_0x4f6298(0x1d4)+_0xe19e89),![];}},exports[a123_0xe70183(0x19d)]=()=>{const _0x26ccb6=a123_0xe70183,_0x4a47b4={};return _0x4a47b4[_0x26ccb6(0x195)]=!![],_0x4a47b4;},exports[a123_0xe70183(0x1e1)]=()=>{const _0x3e3c0f=a123_0xe70183,_0x4fa886={};_0x4fa886[_0x3e3c0f(0x13d)]=function(_0x278ebb,_0x1c445e){return _0x278ebb===_0x1c445e;},_0x4fa886[_0x3e3c0f(0x1f7)]=_0x3e3c0f(0x1a1),_0x4fa886['kaGDx']=function(_0x1e7a6a,_0x2cb027){return _0x1e7a6a>_0x2cb027;},_0x4fa886[_0x3e3c0f(0x1d7)]=_0x3e3c0f(0x249),_0x4fa886['xtqeA']=_0x3e3c0f(0x1cb),_0x4fa886[_0x3e3c0f(0x145)]=_0x3e3c0f(0x244);const _0x356df0=_0x4fa886,_0x5a0f0e=global['__workerDetails'],_0x13ac62=_0x5a0f0e&&_0x5a0f0e[_0x3e3c0f(0x17c)],_0xe0314d=_0x13ac62&&_0x13ac62[_0x3e3c0f(0x220)];if(_0x356df0[_0x3e3c0f(0x13d)](typeof _0xe0314d,_0x356df0[_0x3e3c0f(0x1f7)])&&_0x356df0[_0x3e3c0f(0x1ad)](_0xe0314d[_0x3e3c0f(0x1df)],0x0))return _0xe0314d;let _0x1155fe;if(!_0x5a0f0e)_0x1155fe=_0x356df0[_0x3e3c0f(0x1d7)];else!_0x13ac62?_0x1155fe=_0x356df0['xtqeA']:_0x1155fe=_0x3e3c0f(0x200)+Object[_0x3e3c0f(0x245)](_0x13ac62)['join'](',\x20')+_0x3e3c0f(0x1ac)+(_0x356df0[_0x3e3c0f(0x13d)](_0xe0314d,undefined)?_0x356df0[_0x3e3c0f(0x145)]:'\x22'+_0xe0314d+'\x22')+_0x3e3c0f(0x149);return logger[_0x3e3c0f(0x215)](_0x3e3c0f(0x205)+_0x1155fe+_0x3e3c0f(0x22c)),'';},exports[a123_0xe70183(0x163)]=_0x4c9bc8=>{const _0x3d5f9e=a123_0xe70183,_0x30d1bd={};_0x30d1bd[_0x3d5f9e(0x1ed)]=function(_0x124101,_0x2710f2){return _0x124101===_0x2710f2;},_0x30d1bd[_0x3d5f9e(0x22d)]='string',_0x30d1bd['gCoMi']='browserstack_executor';const _0x2600b1=_0x30d1bd;if(_0x4c9bc8&&_0x4c9bc8['script']&&_0x2600b1[_0x3d5f9e(0x1ed)](typeof _0x4c9bc8[_0x3d5f9e(0x203)],_0x2600b1[_0x3d5f9e(0x22d)]))return _0x4c9bc8[_0x3d5f9e(0x203)][_0x3d5f9e(0x201)](_0x2600b1[_0x3d5f9e(0x16f)]);return![];},exports[a123_0xe70183(0x16c)]=a123_0xe70183(0x223),exports[a123_0xe70183(0x231)]=()=>process['env'][a123_0xe70183(0x1aa)]===a123_0xe70183(0x15e),exports[a123_0xe70183(0x168)]=_0x36b925=>{const _0x3c528a=a123_0xe70183,_0xad8b15={};_0xad8b15[_0x3c528a(0x193)]=function(_0x396de4,_0x4e9f71){return _0x396de4 in _0x4e9f71;};const _0x439155=_0xad8b15;if(bsSetupHelper['isUndefined'](_0x36b925))return![];const _0x5a053a=_0x36b925[_0x3c528a(0x21c)]();return _0x439155['SddRH'](_0x5a053a,ACCESSIBILITY_SUPPORTED_BROWSERS);},exports[a123_0xe70183(0x22e)]=_0x21ed07=>{const _0x146067=a123_0xe70183;if(bsSetupHelper[_0x146067(0x188)](_0x21ed07))return null;const _0x2ab42c=_0x21ed07[_0x146067(0x21c)]();return ACCESSIBILITY_SUPPORTED_BROWSERS[_0x2ab42c]||null;},exports[a123_0xe70183(0x190)]=(_0x2a77d9,_0x5960e1)=>{const _0x4316da=a123_0xe70183,_0x3e90f2=this[_0x4316da(0x22e)](_0x2a77d9);if(!_0x3e90f2)return null;if(_0x5960e1)return _0x3e90f2['min_version_browserstack'];return _0x3e90f2[_0x4316da(0x15f)];},exports[a123_0xe70183(0x1c7)]=_0x298071=>{const _0x11ce3a=a123_0xe70183,_0x2f0bc1=this[_0x11ce3a(0x22e)](_0x298071);return _0x2f0bc1?_0x2f0bc1['display_name']:_0x298071;},exports[a123_0xe70183(0x155)]=_0x593d67=>{const _0x5ddb41=a123_0xe70183,_0x22e7b1=this[_0x5ddb41(0x22e)](_0x593d67);return _0x22e7b1?_0x22e7b1[_0x5ddb41(0x138)]:![];},exports['isVersionSupported']=(_0x21a7b8,_0x57f267)=>{const _0x29019e=a123_0xe70183,_0x272490={'GdlfA':function(_0x2c1a42,_0x256ae0){return _0x2c1a42(_0x256ae0);},'Cslwt':function(_0x1f9448,_0x24d4d6){return _0x1f9448>=_0x24d4d6;}};if(bsSetupHelper['isUndefined'](_0x21a7b8)||bsSetupHelper[_0x29019e(0x188)](_0x57f267))return![];const _0x5e33e5=bsSetupHelper[_0x29019e(0x1b4)](_0x272490['GdlfA'](String,_0x21a7b8),_0x272490[_0x29019e(0x17a)](String,_0x57f267));return _0x272490[_0x29019e(0x15c)](_0x5e33e5,0x0);},exports[a123_0xe70183(0x20d)]=_0x2fe329=>{const _0x212400=a123_0xe70183,_0x48a345={};_0x48a345[_0x212400(0x1ae)]=function(_0x312f1a,_0x36afd6){return _0x312f1a!==_0x36afd6;},_0x48a345[_0x212400(0x13e)]=_0x212400(0x1a1),_0x48a345[_0x212400(0x1c3)]=_0x212400(0x24b);const _0x213590=_0x48a345;if(!_0x2fe329||_0x213590[_0x212400(0x1ae)](typeof _0x2fe329,_0x213590[_0x212400(0x13e)]))return null;try{return JSON['parse'](Buffer[_0x212400(0x14e)](_0x2fe329['split']('.')[0x1],_0x213590[_0x212400(0x1c3)])[_0x212400(0x162)]());}catch{return null;}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a124_0x43fa19=a124_0x4737;function a124_0xb514(){const _0x305717=['1615230sVKQwf','DCdPb','IcJTH','1710JmprLC','17931GSvTNJ','479510IDJXQY','2462826zzaLge','exports','toLowerCase','1654947WncSvY','saveTestResults','ceFHY','getMethod','getCommand','parseFromProto','existsSync','shouldWrapCommand','fromJson','getModule','commandsToWrap','pvOcW','toJson','getName','getResults','6|0|1|3|2|4|5','Cfunx','50jdzazh','getResultsSummary','aqjIF','mkdirSync','commands.json','parseFromJson','split','path','performScan','scripts','engHC','ChromeExtension','commandsPath','2760224tGUddL','CRZmA','TjiTW','browserstackFolderPath','21843EyjLjS','pLVBq','Exception\x20in\x20browserstack\x20accessibility\x20automation\x20with\x20error:\x20','Rxrcd','join','scan','HxLsv','map','36pniMIc','ncckh','findIndex','stringify','KedIE','homedir','.browserstack','name','saveResults','getLibrary','debug','length','commands'];a124_0xb514=function(){return _0x305717;};return a124_0xb514();}(function(_0x2137f4,_0x48ef0f){const _0x5b771d=a124_0x4737,_0x17ef15=_0x2137f4();while(!![]){try{const _0x5f9669=parseInt(_0x5b771d(0xed))/0x1*(parseInt(_0x5b771d(0x103))/0x2)+parseInt(_0x5b771d(0xe9))/0x3+parseInt(_0x5b771d(0xdc))/0x4*(parseInt(_0x5b771d(0xee))/0x5)+-parseInt(_0x5b771d(0xef))/0x6+-parseInt(_0x5b771d(0xf2))/0x7+-parseInt(_0x5b771d(0xd0))/0x8+parseInt(_0x5b771d(0xd4))/0x9*(-parseInt(_0x5b771d(0xec))/0xa);if(_0x5f9669===_0x48ef0f)break;else _0x17ef15['push'](_0x17ef15['shift']());}catch(_0x335572){_0x17ef15['push'](_0x17ef15['shift']());}}}(a124_0xb514,0x6c1f2));const path=require(a124_0x43fa19(0x10a)),fs=require('fs'),logger=require('../../helpers/logger')['winstonLogger'],helper=require('../helper');function a124_0x4737(_0x3bea5c,_0x50c737){const _0xb5140f=a124_0xb514();return a124_0x4737=function(_0x4737fc,_0xa944a6){_0x4737fc=_0x4737fc-0xcd;let _0x4a6e58=_0xb5140f[_0x4737fc];return _0x4a6e58;},a124_0x4737(_0x3bea5c,_0x50c737);}class Scripts{constructor(){const _0x2e6f5f=a124_0x43fa19,_0x207010={};_0x207010[_0x2e6f5f(0xd7)]=_0x2e6f5f(0x101),_0x207010[_0x2e6f5f(0x105)]=_0x2e6f5f(0xe2),_0x207010['HxLsv']=_0x2e6f5f(0x107);const _0x2bb3de=_0x207010,_0x2a020c=_0x2bb3de['Rxrcd'][_0x2e6f5f(0x109)]('|');let _0x33a987=0x0;while(!![]){switch(_0x2a020c[_0x33a987++]){case'0':this[_0x2e6f5f(0x100)]=null;continue;case'1':this[_0x2e6f5f(0x104)]=null;continue;case'2':this['browserstackFolderPath']=path[_0x2e6f5f(0xd8)](helper[_0x2e6f5f(0xe1)](),_0x2bb3de[_0x2e6f5f(0x105)]);continue;case'3':this[_0x2e6f5f(0xf3)]=null;continue;case'4':this[_0x2e6f5f(0xcf)]=path[_0x2e6f5f(0xd8)](this['browserstackFolderPath'],_0x2bb3de[_0x2e6f5f(0xda)]);continue;case'5':this[_0x2e6f5f(0xfa)]();continue;case'6':this['performScan']=null;continue;}break;}}[a124_0x43fa19(0x108)](_0x1e6f28){const _0x3ceb3c=a124_0x43fa19;_0x1e6f28['scripts']&&(this[_0x3ceb3c(0x10b)]=_0x1e6f28['scripts'][_0x3ceb3c(0xd9)],this[_0x3ceb3c(0x100)]=_0x1e6f28[_0x3ceb3c(0x10c)][_0x3ceb3c(0x100)],this[_0x3ceb3c(0x104)]=_0x1e6f28[_0x3ceb3c(0x10c)][_0x3ceb3c(0x104)],this[_0x3ceb3c(0xf3)]=_0x1e6f28[_0x3ceb3c(0x10c)]['saveResults']),this[_0x3ceb3c(0xfc)]=_0x1e6f28[_0x3ceb3c(0xe8)],this[_0x3ceb3c(0xce)]=_0x1e6f28['nonBStackInfraA11yChromeOptions'];}[a124_0x43fa19(0xf7)](_0x29c266,_0x115c8d){const _0x4e824a=a124_0x43fa19,_0x1ea2c1={};_0x1ea2c1['TjiTW']=function(_0x11bfb0,_0xcb459){return _0x11bfb0>_0xcb459;},_0x1ea2c1[_0x4e824a(0xeb)]=function(_0x346106,_0x528c8e){return _0x346106===_0x528c8e;},_0x1ea2c1[_0x4e824a(0xd1)]=_0x4e824a(0xd9),_0x1ea2c1[_0x4e824a(0xdd)]=function(_0x5cd04f,_0x272613){return _0x5cd04f===_0x272613;},_0x1ea2c1[_0x4e824a(0xd5)]=_0x4e824a(0x100),_0x1ea2c1[_0x4e824a(0xcd)]=function(_0x37654a,_0x5a51cf){return _0x37654a===_0x5a51cf;},_0x1ea2c1[_0x4e824a(0xfd)]=_0x4e824a(0x104),_0x1ea2c1[_0x4e824a(0xe0)]=_0x4e824a(0xe4),_0x1ea2c1[_0x4e824a(0xf4)]=function(_0x1a3510,_0x4de8b5){return _0x1a3510>_0x4de8b5;};const _0x1e22ca=_0x1ea2c1;if(_0x29c266&&_0x1e22ca[_0x4e824a(0xd2)](_0x29c266[_0x4e824a(0xe7)],0x0))for(const _0x3caf42 of _0x29c266){if(_0x1e22ca[_0x4e824a(0xeb)](_0x3caf42[_0x4e824a(0xff)](),_0x1e22ca['CRZmA']))this[_0x4e824a(0x10b)]=_0x3caf42[_0x4e824a(0xf6)]();else{if(_0x1e22ca[_0x4e824a(0xdd)](_0x3caf42[_0x4e824a(0xff)](),_0x1e22ca[_0x4e824a(0xd5)]))this['getResults']=_0x3caf42[_0x4e824a(0xf6)]();else{if(_0x1e22ca[_0x4e824a(0xcd)](_0x3caf42[_0x4e824a(0xff)](),_0x1e22ca[_0x4e824a(0xfd)]))this[_0x4e824a(0x104)]=_0x3caf42[_0x4e824a(0xf6)]();else _0x1e22ca[_0x4e824a(0xdd)](_0x3caf42[_0x4e824a(0xff)](),_0x1e22ca[_0x4e824a(0xe0)])&&(this[_0x4e824a(0xf3)]=_0x3caf42['getCommand']());}}}_0x115c8d&&_0x1e22ca['ceFHY'](_0x115c8d['length'],0x0)&&(this['commandsToWrap']=_0x115c8d[_0x4e824a(0xdb)](_0x31886e=>{const _0x355459=_0x4e824a;return{'name':_0x31886e[_0x355459(0xff)](),'method':_0x31886e[_0x355459(0xf5)](),'library':_0x31886e[_0x355459(0xe5)](),'module':_0x31886e[_0x355459(0xfb)](),'class':_0x31886e['getClass']()};}));}[a124_0x43fa19(0xf9)](_0xbd6da7){const _0x40a43a=a124_0x43fa19,_0x3948f5={};_0x3948f5['Cfunx']=function(_0x5e7956,_0x276b2d){return _0x5e7956!==_0x276b2d;};const _0x2f0c17=_0x3948f5;try{return _0x2f0c17[_0x40a43a(0x102)](this['commandsToWrap'][_0x40a43a(0xde)](_0x33e311=>_0x33e311[_0x40a43a(0xe3)][_0x40a43a(0xf1)]()===_0xbd6da7[_0x40a43a(0xf1)]()),-0x1);}catch(_0x13746b){logger[_0x40a43a(0xe6)](_0x40a43a(0xd6)+_0x13746b);}return![];}[a124_0x43fa19(0xfe)](){const _0x17e67b=a124_0x43fa19;!fs[_0x17e67b(0xf8)](this[_0x17e67b(0xd3)])&&fs[_0x17e67b(0x106)](this['browserstackFolderPath']),fs['writeFileSync'](this['commandsPath'],JSON[_0x17e67b(0xdf)]({'scripts':{'scan':this[_0x17e67b(0x10b)],'getResults':this['getResults'],'getResultsSummary':this['getResultsSummary'],'saveResults':this[_0x17e67b(0xf3)]},'commands':this['commandsToWrap'],'nonBStackInfraA11yChromeOptions':this[_0x17e67b(0xce)]}));}[a124_0x43fa19(0xfa)](){const _0x51ff7a=a124_0x43fa19,_0x4f210e={'DCdPb':function(_0x43f895,_0x3bb814){return _0x43f895(_0x3bb814);}};fs[_0x51ff7a(0xf8)](this['commandsPath'])&&this[_0x51ff7a(0x108)](_0x4f210e[_0x51ff7a(0xea)](require,this[_0x51ff7a(0xcf)]));}}module[a124_0x43fa19(0xf0)]=new Scripts();
|
|
@@ -1 +1 @@
|
|
|
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
|
+
const a125_0x48c925=a125_0xe383;function a125_0xe383(_0xbf0429,_0x291d2f){const _0x587e46=a125_0x587e();return a125_0xe383=function(_0xe383c7,_0x10a8e0){_0xe383c7=_0xe383c7-0x6a;let _0x77f2ac=_0x587e46[_0xe383c7];return _0x77f2ac;},a125_0xe383(_0xbf0429,_0x291d2f);}(function(_0x83c45,_0x3b517c){const _0x4ce48d=a125_0xe383,_0x7e52b9=_0x83c45();while(!![]){try{const _0x26f18a=-parseInt(_0x4ce48d(0x7b))/0x1+parseInt(_0x4ce48d(0xb5))/0x2*(parseInt(_0x4ce48d(0xd0))/0x3)+-parseInt(_0x4ce48d(0x96))/0x4*(parseInt(_0x4ce48d(0xd5))/0x5)+parseInt(_0x4ce48d(0xe1))/0x6+-parseInt(_0x4ce48d(0x97))/0x7+-parseInt(_0x4ce48d(0xad))/0x8+parseInt(_0x4ce48d(0xa9))/0x9;if(_0x26f18a===_0x3b517c)break;else _0x7e52b9['push'](_0x7e52b9['shift']());}catch(_0x5c9da7){_0x7e52b9['push'](_0x7e52b9['shift']());}}}(a125_0x587e,0x5149a));function a125_0x587e(){const _0x2c6438=['rDLhT','../globals','aiHeal_sessionToken','RPUEA','TCG_REGION','Healing\x20Failed,\x20Browserstack\x20AI\x20could\x20not\x20heal\x20the\x20','locatorValue','9LFGfFu','log','path','../../bin/utils/constants','OBDml','565MnSCdd','chrome','name_','value','isSelfHealEnabled','healFailure','zlsKG','newCapabilities','UxPwh','edge','getCommands','logData','609456SSYZXM','firefoxOptions_','../logger','edgeOptions_','race','ieOptions_','safari','aiHealing','BrowserstackHealingLogDataFailed','chromeOptions_','DewcV','../../ai-sdk-node/bundle','executeScript','Unable\x20to\x20load\x20healing\x20module,\x20error:\x20','aiHeal_userId','getProjectName','debug','fXePc','aiHeal_groupId','selector','223571yLuiOl','locatorType','framework','TEYBv','config','setToken','string','xedku','VYcGW','getId','BrowserstackHealing.logData\x20method\x20timed\x20out','xSjhT','handleFailure','fromEntries','MLQlQ','toLowerCase','parameters_','uIgnU','SET_TCG_TOKEN_TIMEOUT','KtRsH','using','Error\x20in\x20(healing)\x20handling\x20failure\x20event.\x20ERROR:\x20','set','cancel','map_','HEALING_FAILURE_TIMEOUT','microsoftedge','16852TmvRkt','3601563DQwYfy','ShWFM','Jmnax','ifUzt','message','BrowserstackHealingPollResultFailed','TCG_URL','winstonLogger','uhSjs','BFOpb','firefox','{\x22region\x22:\x20\x22','oQilJ','\x22}}}','./autoHealHelper','HEALING_LOG_DATA_TIMEOUT','tUSVI','BrowserstackHealing','17447625rFDjKI','browserstackSessionName','../../helpers/timeoutPromise','_handleEvent','4840200dyCQbU','browserName','error','BasCH','BrowserstackHealingHealFailureFailed','Error\x20in\x20initialising\x20healing\x20capabilities\x20,\x20error:\x20','split','\x20command','74618CzUZuP','get','iPssw','vimcK','info','keys','getCapabilities','replace','getTestName','getGlobal','pollResult','JvDtQ','freeze','getSession','RcifY','GfqOO','IEkud','wThUp','then','s://'];a125_0x587e=function(){return _0x2c6438;};return a125_0x587e();}const path=require(a125_0x48c925(0xd2)),{commandRepository}=require(a125_0x48c925(0xa5)),constants=require(a125_0x48c925(0xd3)),logger=require(a125_0x48c925(0xe3))[a125_0x48c925(0x9e)],globals=require(a125_0x48c925(0xca)),timeoutPromise=require(a125_0x48c925(0xab)),isUndefinedOrNull=_0x3542aa=>_0x3542aa===undefined||_0x3542aa===null||_0x3542aa==='',isNotUndefinedOrNull=_0x2cfc21=>!isUndefinedOrNull(_0x2cfc21),isString=_0x8e9931=>isNotUndefinedOrNull(_0x8e9931)&&typeof _0x8e9931===a125_0x48c925(0x81);class AiSdkWrapper{constructor(){const _0x4223a9=a125_0x48c925,_0x1b31f8={'cpkoI':function(_0xde4e33,_0x2bda4a){return _0xde4e33(_0x2bda4a);},'lZmIv':_0x4223a9(0x72)};this[_0x4223a9(0xa8)]=undefined;try{this[_0x4223a9(0xa8)]=_0x1b31f8['cpkoI'](require,path['join'](__dirname,_0x1b31f8['lZmIv']));}catch(_0x3f4ad1){logger[_0x4223a9(0xaf)](_0x4223a9(0x74)+(_0x3f4ad1&&_0x3f4ad1['message']?_0x3f4ad1[_0x4223a9(0x9b)]:''));}}['initializeHealingCapabilities'](_0x23df7b){const _0x2e3daa=a125_0x48c925,_0x2afce5={};_0x2afce5['ShWFM']=_0x2e3daa(0xdc),_0x2afce5[_0x2e3daa(0xa3)]=function(_0x17f435,_0x3e3a5e){return _0x17f435===_0x3e3a5e;},_0x2afce5[_0x2e3daa(0xc4)]=_0x2e3daa(0xd6),_0x2afce5[_0x2e3daa(0xa7)]=function(_0x43961f,_0x3bb3a3){return _0x43961f===_0x3bb3a3;},_0x2afce5['UxPwh']=_0x2e3daa(0xa1),_0x2afce5[_0x2e3daa(0x7e)]=function(_0x53699a,_0x353f04){return _0x53699a===_0x353f04;},_0x2afce5[_0x2e3daa(0x89)]=_0x2e3daa(0x6d),_0x2afce5[_0x2e3daa(0x99)]=_0x2e3daa(0xde),_0x2afce5['BasCH']=function(_0xdfc93d,_0x59b71b){return _0xdfc93d===_0x59b71b;},_0x2afce5[_0x2e3daa(0x78)]=_0x2e3daa(0x95);const _0x50dbb9=_0x2afce5;try{const _0x4aef7f=this[_0x2e3daa(0xa8)]['initializeCapabilities'](Object[_0x2e3daa(0x88)](_0x23df7b[_0x2e3daa(0xbb)]()[_0x2e3daa(0x93)]));console[_0x2e3daa(0xd1)](_0x50dbb9[_0x2e3daa(0x98)],_0x4aef7f);if(_0x50dbb9[_0x2e3daa(0xa3)](_0x4aef7f?.[_0x2e3daa(0xae)]?.[_0x2e3daa(0x8a)](),_0x50dbb9['GfqOO']))_0x23df7b[_0x2e3daa(0x70)]=_0x4aef7f;else{if(_0x50dbb9[_0x2e3daa(0xa7)](_0x4aef7f?.[_0x2e3daa(0xae)]?.[_0x2e3daa(0x8a)](),_0x50dbb9[_0x2e3daa(0xdd)]))_0x23df7b[_0x2e3daa(0xe2)]=_0x4aef7f;else{if(_0x50dbb9[_0x2e3daa(0x7e)](_0x4aef7f?.[_0x2e3daa(0xae)]?.[_0x2e3daa(0x8a)](),_0x50dbb9['MLQlQ']))_0x23df7b['safariOptions_']=_0x4aef7f;else{if(_0x50dbb9[_0x2e3daa(0xa3)](_0x4aef7f?.[_0x2e3daa(0xae)]?.[_0x2e3daa(0x8a)](),_0x50dbb9['Jmnax'])||_0x50dbb9[_0x2e3daa(0xb0)](_0x4aef7f?.[_0x2e3daa(0xae)]?.['toLowerCase'](),_0x50dbb9['fXePc']))_0x23df7b[_0x2e3daa(0x6a)]=_0x4aef7f;else _0x50dbb9[_0x2e3daa(0x7e)](_0x4aef7f?.[_0x2e3daa(0xae)]?.[_0x2e3daa(0x8a)](),'ie')&&(_0x23df7b[_0x2e3daa(0x6c)]=_0x4aef7f);}}}Object[_0x2e3daa(0xba)](_0x4aef7f)['forEach'](_0x198b76=>{const _0x56fad6=_0x2e3daa,_0x53599e=_0x23df7b['capabilities_'][_0x56fad6(0xb6)](_0x198b76);_0x23df7b['capabilities_'][_0x56fad6(0x91)](_0x198b76,_0x4aef7f[_0x198b76]);});}catch(_0x20a6c3){logger[_0x2e3daa(0xaf)](_0x2e3daa(0xb2)+(_0x20a6c3&&_0x20a6c3[_0x2e3daa(0x9b)]?_0x20a6c3[_0x2e3daa(0x9b)]:''));}}async['setTcgToken'](_0x4b1d02){const _0x3e286b=a125_0x48c925,_0x2b0d23={'vimcK':function(_0x444cc2,_0x5ca149,_0x436e3b,_0xde5102,_0x5ad153,_0x3dbc5c,_0x5af682){return _0x444cc2(_0x5ca149,_0x436e3b,_0xde5102,_0x5ad153,_0x3dbc5c,_0x5af682);},'KlMyB':'BrowserstackHealing.setToken\x20method\x20timed\x20out','iGmXh':'BrowserstackHealingSetTcgTokenFailed','xSjhT':_0x3e286b(0xcb)},_0x96d0a0=new Date(),_0x4cc00d=_0x2b0d23[_0x3e286b(0xb8)](timeoutPromise,constants[_0x3e286b(0x8d)],_0x2b0d23['KlMyB'],_0x2b0d23['iGmXh'],_0x96d0a0,this[_0x3e286b(0x7f)],this[_0x3e286b(0x7d)]);await Promise[_0x3e286b(0x6b)]([this[_0x3e286b(0xa8)][_0x3e286b(0x80)](_0x4b1d02,globals[_0x3e286b(0xbe)](_0x2b0d23[_0x3e286b(0x86)]),constants[_0x3e286b(0x9d)])[_0x3e286b(0xc7)](()=>{const _0x5eb047=_0x3e286b;_0x4cc00d[_0x5eb047(0x92)]();}),_0x4cc00d]);}async[a125_0x48c925(0xac)](_0x2ae1b5,_0x1d1dd3,_0x313b55,_0x980c34){const _0x27dd49=a125_0x48c925,_0x4baee7={'RPUEA':function(_0x1a9e3a,_0x24f34f){return _0x1a9e3a===_0x24f34f;},'KtRsH':function(_0x5a7bfe,_0x479210){return _0x5a7bfe(_0x479210);},'IEkud':function(_0x4d7225,_0x166afb){return _0x4d7225(_0x166afb);},'OBDml':function(_0x1a5bc3,_0x27fd0b){return _0x1a5bc3(_0x27fd0b);},'VYcGW':function(_0x14c1c6,_0x51698a){return _0x14c1c6(_0x51698a);},'dnLyq':_0x27dd49(0xc8),'rDLhT':function(_0x3281c5,_0x45833e){return _0x3281c5(_0x45833e);},'gtHQs':function(_0x44264e,_0x32ca53){return _0x44264e(_0x32ca53);},'RcifY':_0x27dd49(0x75),'zlsKG':_0x27dd49(0x79),'jvduU':'aiHeal_isGroupAIEnabled','uIgnU':function(_0x261805,_0x4567e2,_0x368f01,_0x3e31aa,_0x4fb9a5,_0x3794e9,_0x105773){return _0x261805(_0x4567e2,_0x368f01,_0x3e31aa,_0x4fb9a5,_0x3794e9,_0x105773);},'uhSjs':_0x27dd49(0x85),'JvDtQ':_0x27dd49(0x6f),'wThUp':function(_0x3e9d8b,_0x3d4478,_0x4361f1,_0x5b6adc,_0x17c03f,_0x31f422,_0x527c4f){return _0x3e9d8b(_0x3d4478,_0x4361f1,_0x5b6adc,_0x17c03f,_0x31f422,_0x527c4f);},'iPssw':'BrowserstackHealing.healFailure\x20method\x20timed\x20out','xedku':_0x27dd49(0xb1)},_0x53d69d=(await _0x1d1dd3[_0x27dd49(0xc2)]())['getId']();let _0x24bd56='';if(commandRepository[_0x27dd49(0xd9)]()&&_0x4baee7[_0x27dd49(0xcc)](_0x980c34,![])||_0x4baee7[_0x27dd49(0xcc)](_0x980c34,!![])){const _0x15b337=_0x4baee7[_0x27dd49(0x8e)](isNotUndefinedOrNull,_0x313b55['parameters_']['using'])&&_0x4baee7[_0x27dd49(0x8e)](isString,_0x313b55[_0x27dd49(0x8b)][_0x27dd49(0x8f)])?_0x313b55[_0x27dd49(0x8b)][_0x27dd49(0x8f)][_0x27dd49(0xbc)](/'/g,'\x5c\x27')['replace'](/"/g,'\x5c\x22'):'',_0x5e724a=_0x4baee7['KtRsH'](isNotUndefinedOrNull,_0x313b55['parameters_'][_0x27dd49(0x8f)])&&_0x4baee7[_0x27dd49(0x8e)](isString,_0x313b55[_0x27dd49(0x8b)][_0x27dd49(0xd8)])?_0x313b55[_0x27dd49(0x8b)][_0x27dd49(0xd8)][_0x27dd49(0xbc)](/'/g,'\x5c\x27')[_0x27dd49(0xbc)](/"/g,'\x5c\x22'):'',_0x220079=_0x4baee7[_0x27dd49(0x8e)](isNotUndefinedOrNull,commandRepository['getProjectName']())&&_0x4baee7[_0x27dd49(0xc5)](isString,commandRepository[_0x27dd49(0x76)]())?commandRepository[_0x27dd49(0x76)]()[_0x27dd49(0xbc)](/'/g,'\x5c\x27')[_0x27dd49(0xbc)](/"/g,'\x5c\x22'):'';let _0x201203=_0x4baee7[_0x27dd49(0xd4)](isNotUndefinedOrNull,global['browserstackSessionName'])&&_0x4baee7['IEkud'](isString,global['browserstackSessionName'])?global[_0x27dd49(0xaa)][_0x27dd49(0xbc)](/'/g,'\x5c\x27')[_0x27dd49(0xbc)](/"/g,'\x5c\x22'):'';!_0x201203&&(_0x201203=_0x4baee7[_0x27dd49(0x83)](isNotUndefinedOrNull,commandRepository['getTestName']())&&_0x4baee7[_0x27dd49(0x83)](isString,commandRepository[_0x27dd49(0xbd)]())?commandRepository[_0x27dd49(0xbd)]()['replace'](/'/g,'\x5c\x27')['replace'](/"/g,'\x5c\x22'):'');let _0x157ab7=_0x27dd49(0xa2)+constants[_0x27dd49(0xcd)]+'\x22,\x20\x22tcgUrls\x22:\x20{\x22'+constants[_0x27dd49(0xcd)]+'\x22:\x20{\x22endpoint\x22:\x20\x22'+constants[_0x27dd49(0x9d)][_0x27dd49(0xb3)](_0x4baee7['dnLyq'])[0x1]+_0x27dd49(0xa4);_0x157ab7=_0x4baee7[_0x27dd49(0xc9)](isNotUndefinedOrNull,_0x157ab7)&&_0x4baee7['gtHQs'](isString,_0x157ab7)?_0x157ab7['replace'](/'/g,'\x5c\x27')[_0x27dd49(0xbc)](/"/g,'\x5c\x22'):'';const _0x4eb517=commandRepository[_0x27dd49(0xdf)](_0x53d69d),_0x392aa9=globals[_0x27dd49(0xbe)](_0x4baee7[_0x27dd49(0xc3)]),_0x96af17=globals[_0x27dd49(0xbe)](_0x4baee7[_0x27dd49(0xdb)]),_0x4fb0aa=globals['getGlobal'](_0x4baee7['jvduU']),_0x5c1a52=![],_0x5e5aa8=new Date();if(_0x980c34){const _0x23b0de=_0x4baee7[_0x27dd49(0x8c)](timeoutPromise,constants[_0x27dd49(0xa6)],_0x4baee7[_0x27dd49(0x9f)],_0x4baee7[_0x27dd49(0xc0)],_0x5e5aa8,this[_0x27dd49(0x7f)],this[_0x27dd49(0x7d)]);_0x24bd56=await Promise[_0x27dd49(0x6b)]([this['BrowserstackHealing'][_0x27dd49(0xe0)](_0x15b337,_0x5e724a,_0x220079,_0x201203,_0x96af17,_0x53d69d,_0x4eb517,_0x157ab7)[_0x27dd49(0xc7)](_0x50eab0=>{const _0x40e534=_0x27dd49;return _0x23b0de[_0x40e534(0x92)](),_0x50eab0;}),_0x23b0de]);}else{if(commandRepository['isSelfHealEnabled']()){const _0x29f0c4=_0x4baee7[_0x27dd49(0xc6)](timeoutPromise,constants[_0x27dd49(0x94)],_0x4baee7[_0x27dd49(0xb7)],_0x4baee7[_0x27dd49(0x82)],_0x5e5aa8,this['config'],this['framework']);_0x24bd56=await Promise[_0x27dd49(0x6b)]([this[_0x27dd49(0xa8)][_0x27dd49(0xda)](_0x15b337,_0x5e724a,_0x220079,_0x201203,_0x392aa9,_0x96af17,_0x53d69d,_0x4eb517,_0x5c1a52,_0x4fb0aa,_0x157ab7)[_0x27dd49(0xc7)](_0x13254c=>{const _0x45a256=_0x27dd49;return _0x29f0c4[_0x45a256(0x92)](),_0x13254c;}),_0x29f0c4]);}}_0x24bd56&&await _0x1d1dd3[_0x27dd49(0x73)](_0x24bd56);}}async['handleSuccess'](_0x2eac21,_0x4929cd,_0xc7cdd0){const _0x553b8b=a125_0x48c925;try{await this[_0x553b8b(0xac)](_0x2eac21,_0x4929cd,_0xc7cdd0,!![]);}catch(_0x220d93){return logger[_0x553b8b(0xaf)]('Error\x20in\x20(healing)\x20success\x20event.\x20ERROR:\x20'+(_0x220d93&&_0x220d93[_0x553b8b(0x9b)]?_0x220d93[_0x553b8b(0x9b)]:'')),![];}return!![];}async[a125_0x48c925(0x87)](_0x110917,_0x57b391,_0x11773e){const _0x4f3480=a125_0x48c925,_0x21453f={'BFOpb':function(_0x440854,_0x462fce,_0x3ade09,_0x366044,_0x578bf2,_0x163d3b,_0x50332c){return _0x440854(_0x462fce,_0x3ade09,_0x366044,_0x578bf2,_0x163d3b,_0x50332c);},'ifUzt':'BrowserstackHealing.pollResult\x20method\x20timed\x20out','DewcV':_0x4f3480(0x9c),'IZRcN':_0x4f3480(0xcb)};try{await this['_handleEvent'](_0x110917,_0x57b391,_0x11773e,![]);const _0x4cb34b=(await _0x57b391[_0x4f3480(0xc2)]())[_0x4f3480(0x84)](),_0x46ccaa=new Date(),_0x333157=_0x21453f[_0x4f3480(0xa0)](timeoutPromise,constants['POLL_HEALING_RESULT_TIMEOUT'],_0x21453f[_0x4f3480(0x9a)],_0x21453f[_0x4f3480(0x71)],_0x46ccaa,this['config'],this[_0x4f3480(0x7d)]),_0x22f5cc=await Promise[_0x4f3480(0x6b)]([this[_0x4f3480(0xa8)][_0x4f3480(0xbf)](constants[_0x4f3480(0x9d)],_0x4cb34b,globals[_0x4f3480(0xbe)](_0x21453f['IZRcN']))[_0x4f3480(0xc7)](_0x5e637d=>{const _0x43ed12=_0x4f3480;return _0x333157[_0x43ed12(0x92)](),_0x5e637d;}),_0x333157]);if(_0x22f5cc&&_0x22f5cc['selector']&&_0x22f5cc['value']){const _0x27fb3a={};return _0x27fb3a[_0x4f3480(0x7c)]=_0x22f5cc[_0x4f3480(0x7a)],_0x27fb3a[_0x4f3480(0xcf)]=_0x22f5cc[_0x4f3480(0xd8)],_0x27fb3a[_0x4f3480(0x6e)]=!![],_0x27fb3a;}const _0x4e681c={};return _0x4e681c[_0x4f3480(0x7c)]=_0x11773e[_0x4f3480(0x8b)][_0x4f3480(0x8f)],_0x4e681c[_0x4f3480(0xcf)]=_0x22f5cc[_0x4f3480(0xd8)],_0x4e681c[_0x4f3480(0x6e)]=!![],_0x4e681c;}catch(_0x3a1131){return logger[_0x4f3480(0x77)](_0x4f3480(0x90)+(_0x3a1131&&_0x3a1131[_0x4f3480(0x9b)]?_0x3a1131[_0x4f3480(0x9b)]:'')),logger[_0x4f3480(0xb9)](_0x4f3480(0xce)+_0x11773e[_0x4f3480(0xd7)]+_0x4f3480(0xb4)),_0x11773e;}}}exports['aiSdkWrapper']=Object[a125_0x48c925(0xc1)](new AiSdkWrapper());
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a126_0x495b12=a126_0x547d;(function(_0x1072f9,_0xdd0e89){const _0x96df7=a126_0x547d,_0x142f35=_0x1072f9();while(!![]){try{const _0x304515=-parseInt(_0x96df7(0x7e))/0x1+-parseInt(_0x96df7(0x91))/0x2*(parseInt(_0x96df7(0x89))/0x3)+parseInt(_0x96df7(0x8e))/0x4*(-parseInt(_0x96df7(0x80))/0x5)+-parseInt(_0x96df7(0xa2))/0x6*(-parseInt(_0x96df7(0x99))/0x7)+parseInt(_0x96df7(0x92))/0x8+-parseInt(_0x96df7(0x9f))/0x9*(parseInt(_0x96df7(0x7c))/0xa)+parseInt(_0x96df7(0x98))/0xb*(parseInt(_0x96df7(0xa3))/0xc);if(_0x304515===_0xdd0e89)break;else _0x142f35['push'](_0x142f35['shift']());}catch(_0x4588b1){_0x142f35['push'](_0x142f35['shift']());}}}(a126_0x48d1,0x3cdd2));function a126_0x547d(_0x18cb49,_0x15176e){const _0x48d187=a126_0x48d1();return a126_0x547d=function(_0x547de5,_0x56f1e6){_0x547de5=_0x547de5-0x6e;let _0x17543a=_0x48d187[_0x547de5];return _0x17543a;},a126_0x547d(_0x18cb49,_0x15176e);}const calculateTimeDiff=_0x3ba16e=>Date[a126_0x495b12(0x97)]()-_0x3ba16e,logger=require(a126_0x495b12(0x8b))[a126_0x495b12(0x95)],globals=require('../globals');class HealingCommandRepo{constructor(){const _0x1c1956=a126_0x495b12,_0x5c74fe={};_0x5c74fe[_0x1c1956(0x83)]=_0x1c1956(0x78);const _0x157f14=_0x5c74fe,_0x474915=_0x157f14[_0x1c1956(0x83)]['split']('|');let _0xa0ce82=0x0;while(!![]){switch(_0x474915[_0xa0ce82++]){case'0':this[_0x1c1956(0xa6)]='';continue;case'1':this['projectName']='';continue;case'2':this[_0x1c1956(0x9a)]={};continue;case'3':this[_0x1c1956(0x7b)]={};continue;case'4':this[_0x1c1956(0x79)]={};continue;case'5':this[_0x1c1956(0x81)]=![];continue;}break;}}[a126_0x495b12(0x74)](_0x1b9b74,_0x1e5e99){const _0xcba41a=a126_0x495b12,_0x27da95={};_0x27da95['venJJ']=function(_0x4fe63c,_0x40688f){return _0x4fe63c in _0x40688f;};const _0x3162aa=_0x27da95;!_0x3162aa[_0xcba41a(0x72)](_0x1b9b74,this[_0xcba41a(0x79)])&&(this[_0xcba41a(0x79)][_0x1b9b74]=[]),this['commands'][_0x1b9b74]['push'](_0x1e5e99);}[a126_0x495b12(0x75)](_0x55eb54,_0x1bada7){const _0x1d58f5=a126_0x495b12,_0x1f4fe3={'DFATm':function(_0x8b29eb,_0x15ad62){return _0x8b29eb(_0x15ad62);}},_0x2cdac9=_0x1bada7[_0x1d58f5(0x87)],_0x597ddf=_0x1bada7[_0x1d58f5(0xa7)][_0x1d58f5(0xa9)](_0x55eb54)[0x1],_0x54c097=this['aiSessionTimeStamp'][_0x55eb54],_0x5b1bf8={'k':_0x2cdac9+':'+_0x597ddf,'t':_0x1f4fe3[_0x1d58f5(0x7d)](calculateTimeDiff,_0x54c097)};this[_0x1d58f5(0x74)](_0x55eb54,_0x5b1bf8);}[a126_0x495b12(0x76)](_0x163715){const _0x478b66=a126_0x495b12;this['aiSessionTimeStamp'][_0x163715]=Date[_0x478b66(0x97)]();}['setAuthInfo'](_0x439fec,_0x4fe37f){const _0x353c67=a126_0x495b12;this['authInfo'][_0x353c67(0x6f)]=_0x439fec,this[_0x353c67(0x9a)]['accessKey']=_0x4fe37f;}[a126_0x495b12(0x9e)](){return this['authInfo'];}[a126_0x495b12(0x9c)](_0xa5b28b){const _0x125b44=a126_0x495b12;this[_0x125b44(0x6e)]=_0xa5b28b;}[a126_0x495b12(0x8a)](_0x18462e){const _0x35d807=a126_0x495b12;this[_0x35d807(0xa6)]=_0x18462e;}[a126_0x495b12(0x93)](_0x29a965){const _0x2df41a=a126_0x495b12;this[_0x2df41a(0x8d)]=_0x29a965,this[_0x2df41a(0x9c)](_0x29a965[_0x2df41a(0x6e)]),this['setAuthInfo'](_0x29a965[_0x2df41a(0x6f)],_0x29a965['accessKey']);}['setFramework'](_0x24e1aa){const _0x10216e=a126_0x495b12;this[_0x10216e(0xa4)]=_0x24e1aa;}['setTcgTokenStatus'](_0x18acb4){const _0x3b3ea2=a126_0x495b12;this[_0x3b3ea2(0x81)]=_0x18acb4;}[a126_0x495b12(0x8c)](){const _0x2d2231=a126_0x495b12;return this[_0x2d2231(0x8d)];}[a126_0x495b12(0x86)](){const _0x3f7798=a126_0x495b12;return this[_0x3f7798(0xa4)];}[a126_0x495b12(0x73)](){const _0x20ecff=a126_0x495b12;return this[_0x20ecff(0x6e)];}[a126_0x495b12(0x77)](){const _0x1698b3=a126_0x495b12;return this[_0x1698b3(0xa6)];}[a126_0x495b12(0x7f)](_0x17c718){const _0x4f958f=a126_0x495b12,_0x3e9505={};_0x3e9505[_0x4f958f(0x82)]=_0x4f958f(0xa5),_0x3e9505[_0x4f958f(0x9d)]=_0x4f958f(0x85),_0x3e9505[_0x4f958f(0x8f)]=function(_0x19a3c3,_0x568df2){return _0x19a3c3===_0x568df2;},_0x3e9505[_0x4f958f(0xa8)]=function(_0x561529,_0x4e8ce0){return _0x561529+_0x4e8ce0;},_0x3e9505[_0x4f958f(0xa0)]=_0x4f958f(0x94);const _0x37496c=_0x3e9505,_0x4d61f2=this['commands'][_0x17c718];this[_0x4f958f(0x79)][_0x17c718]=[];if(globals[_0x4f958f(0xa1)](_0x37496c[_0x4f958f(0x82)])&&globals[_0x4f958f(0xa1)](_0x37496c[_0x4f958f(0x9d)])&&!_0x4d61f2||_0x37496c[_0x4f958f(0x8f)](_0x4d61f2[_0x4f958f(0x71)],0x0))return logger[_0x4f958f(0x9b)](_0x37496c[_0x4f958f(0xa8)](_0x37496c[_0x4f958f(0xa0)],_0x17c718)),'';return _0x4d61f2['map'](_0x23f300=>JSON[_0x4f958f(0x70)](_0x23f300))['join'](',');}[a126_0x495b12(0x84)](){const _0x138ab9=a126_0x495b12,_0xb9972e={};_0xb9972e[_0x138ab9(0x7a)]=function(_0x36be7b,_0x29a17e){return _0x36be7b===_0x29a17e;},_0xb9972e[_0x138ab9(0x96)]=_0x138ab9(0x88);const _0x5dbd3c=_0xb9972e;let _0x2c43bf=![];return this[_0x138ab9(0x8c)]()&&(_0x5dbd3c[_0x138ab9(0x7a)](this[_0x138ab9(0x8c)]()['selfHeal'],!![])||_0x5dbd3c[_0x138ab9(0x7a)](this[_0x138ab9(0x8c)]()['selfHeal'],_0x5dbd3c[_0x138ab9(0x96)]))&&(_0x2c43bf=!![]),_0x2c43bf;}[a126_0x495b12(0x90)](){const _0x5d899d=a126_0x495b12;return this[_0x5d899d(0x81)];}}exports['commandRepository']=new HealingCommandRepo();function a126_0x48d1(){const _0x3cd68d=['path','onLaF','split','projectName','userName','stringify','length','venJJ','getProjectName','_pushCommand','pushCommand','setAiSessionTimeStamp','getTestName','4|3|1|0|2|5','commands','rjpls','aiSessionTimeStamp','110wHsTuB','DFATm','439982sGUBHG','getCommands','1632515GgnNOR','isTcgTokenSet','NTHBm','HodKS','isSelfHealEnabled','aiHeal_isHealingEnabled','getFramework','method','true','3dzIRVZ','setTestNameForHealingContext','../logger','getConfig','config','4ZJJLDm','UHWGa','getTcgTokenStatus','747170xUnXDX','1909864KPQltM','setConfig','No\x20commands\x20found\x20for\x20session:\x20','winstonLogger','yzRAM','now','7366161erNLon','140686LxRBoA','authInfo','debug','setProjectNameForHealingContext','thtme','getAuthInfo','236583nThETX','MzCkr','getGlobal','30spVezO','24oYiTIw','framework','aiHeal_isAuthenticated','testName'];a126_0x48d1=function(){return _0x3cd68d;};return a126_0x48d1();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a127_0x138f4c=a127_0x4e9a;function a127_0x2035(){const _0x580233=['https://grid.browserstack.com/dashboard/builds','toLowerCase','exports','4smQZZd','staging','12732776onUTBz','prod','API_ENDPOINT','stag','22350762ujThes','BUILDS_DASHBOARD_URL','https://grid-devhst.bsstag.com/dashboard/builds','10TIGBNj','pre-prod','791665NVwLPN','5885420sCjATz','BROWSERSTACK_ENV','automate-turboscale/v1','preprod','11492243BEPDyC','188eCJlZX','9797688ZoVmPo','64761bWCmPS'];a127_0x2035=function(){return _0x580233;};return a127_0x2035();}(function(_0xa62362,_0x4047de){const _0x538ce8=a127_0x4e9a,_0x20893b=_0xa62362();while(!![]){try{const _0x2cc07e=parseInt(_0x538ce8(0xf2))/0x1*(parseInt(_0x538ce8(0xfe))/0x2)+parseInt(_0x538ce8(0xfa))/0x3*(-parseInt(_0x538ce8(0xf8))/0x4)+parseInt(_0x538ce8(0xf3))/0x5+parseInt(_0x538ce8(0xf9))/0x6+parseInt(_0x538ce8(0xf7))/0x7+-parseInt(_0x538ce8(0xe9))/0x8+parseInt(_0x538ce8(0xed))/0x9*(-parseInt(_0x538ce8(0xf0))/0xa);if(_0x2cc07e===_0x4047de)break;else _0x20893b['push'](_0x20893b['shift']());}catch(_0xa00634){_0x20893b['push'](_0x20893b['shift']());}}}(a127_0x2035,0xe6d63));const a127_0x10c255={};a127_0x10c255[a127_0x138f4c(0xee)]=a127_0x138f4c(0xfb),a127_0x10c255[a127_0x138f4c(0xeb)]=a127_0x138f4c(0xf5),module[a127_0x138f4c(0xfd)]=a127_0x10c255;function a127_0x4e9a(_0x558885,_0x236b66){const _0x203577=a127_0x2035();return a127_0x4e9a=function(_0x4e9a40,_0x3661ce){_0x4e9a40=_0x4e9a40-0xe8;let _0x276809=_0x203577[_0x4e9a40];return _0x276809;},a127_0x4e9a(_0x558885,_0x236b66);}const _env=(process['env'][a127_0x138f4c(0xf4)]||a127_0x138f4c(0xea))[a127_0x138f4c(0xfc)]();if(_env===a127_0x138f4c(0xe8)||_env===a127_0x138f4c(0xec))module[a127_0x138f4c(0xfd)][a127_0x138f4c(0xee)]=a127_0x138f4c(0xef);else(_env===a127_0x138f4c(0xf6)||_env===a127_0x138f4c(0xf1))&&(module[a127_0x138f4c(0xfd)][a127_0x138f4c(0xee)]='https://grid-preprod.bsstag.com/dashboard/builds');
|