browserstack-node-sdk 1.55.6 → 1.56.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 +64 -0
- package/generated/sdk-messages_pb.js +512 -0
- package/generated/sdk_grpc_pb.d.ts +5 -0
- package/generated/sdk_grpc_pb.js +33 -0
- package/package.json +3 -2
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.js +1 -0
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/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_0x431f7e=a106_0x538a;function a106_0x82d3(){const _0x2bda91=['ZjUlV','yzkUB','khRvZ','LbNZG','YtOpz','640tSdTkn','zKxZQ','Failed\x20to\x20set\x20Playwright\x20script\x20timeout:\x20','sHNDR','currentTest','nWeQG','accessibilityPlatform','getAccessibilityModule','getRetryConfig','Moeri','Accessibility\x20scan\x20attempt\x20','567284mwvaon','gwSss','kvkQn','../performance/constants','isPlaywright','rejected',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20with\x20retry.','isSeleniumDriver','race','ATTZQ','BUwiv','hCiti','BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT','getAccessibilityResultsSummaryWithRetry','ibeiO','Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20','../../bin/v2/browserstackCLI','results','env','accessibilityConfig','Accessibility\x20results\x20save\x20attempt\x20','value','BKfeP','Accessibility\x20results\x20retrieval\x20attempt\x20','jvIIS','getCurrentUrl','ms\x20using\x20setTimeouts\x20API','All\x20accessibility\x20results\x20summary\x20retrieval\x20attempts\x20failed\x20(','reason','LpYWr','ArtNR','playwright-codecept-driver','util','bstackA11yShouldScan','timeoutMs','Accessibility\x20retry\x20configuration\x20updated:\x20','18EsJVIz','browserstackSessionName','aTFji','Unknown\x20error','8964xqNyOj','zuyCo','Comprehensive\x20accessibility\x20scan\x20failed\x20(','KHDfG','FvmTS','isRunning','TkcHV','nnubz','\x20failed\x20(','mjtfS','saveAccessibilityResultsWithRetry','PetTh','driverType','type','riJlN','setSeleniumScriptTimeout','MlvCv','WAULw','goto','updateRetryConfig','UobEl','__workerDetails','getAccessibilityResults','performScan',').\x20Last\x20error:\x20','10SnWOxf','MrvqT','ms\x20using\x20timeouts()\x20API','bXGDo','\x20-\x20not\x20applicable','):\x20','setPlaywrightScriptTimeout','All\x20accessibility\x20scan\x20attempts\x20failed\x20for\x20method:\x20','playwright-page','isPlaywrightPage','27498647ZJzhnx','defaultTimeoutMs','isAccessibilityPlatform','fulfilled','Failed\x20to\x20retrieve\x20accessibility\x20summary\x20(','93icWpUe','Cannot\x20set\x20script\x20timeout:\x20not\x20a\x20Selenium\x20WebDriver','NITbw','winstonLogger','getCapabilities','UGkEI','Accessibility\x20results\x20retrieved\x20successfully\x20on\x20attempt\x20','Unknown\x20error\x20during\x20comprehensive\x20accessibility\x20scan','is_mobile_session','uqlvN','wHByG','qvFHx','swrRM','resolveMobileThTestRunUuid','UWERC','\x20completed\x20successfully.','max','Esnng','xXJMq','STckw','Accessibility\x20results\x20summary\x20retrieved\x20successfully\x20on\x20attempt\x20','FIVzt','TELIq','getGlobal','getAccessibilityResultsSummary','koRSQ','Operation\x20timed\x20out\x20after\x20','Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20','eBCgp','Unknown\x20driver/page\x20type:\x20','vrdYC','ms\x20using\x20setScriptTimeout\x20API','error','../performance/performance-tester','tNxGW','constructor','setScriptTimeout','CSwmY','unHRc','getInstance','Failed\x20to\x20set\x20Selenium\x20script\x20timeout:\x20','message','\x20for\x20method:\x20','BugRT','isAccessibilityAutomationSession','tycke','Scan\x20attempt\x20',').\x20Error:\x20','zPfuk','getSession','PNGwh','../globals','function','isMobilePlatform','timeouts',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary\x20with\x20retry.','Page','tpHYm','122704NpiemN','yzWXF','measureWrapper','DhLJO',')\x20with\x20error:\x20','[Accessibility]\x20Scan\x20skipped\x20-\x20scanning\x20is\x20currently\x20disabled\x20(partial\x20scan\x20mode)','name','script','maxRetries','stringify','Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20','5005854lOsGrE','selenium-webdriver','performScanWithRetry','warn','Skipping\x20timeout\x20setting\x20for\x20','saveTestResults','assign','Playwright','info','\x20failed\x20for\x20method:\x20','../logger','xFrQj','195967XpMxUF','summary','executeAsyncScript','FvGWb','manage','status','page','setDefaultTimeout','Accessibility\x20scan\x20succeeded\x20on\x20attempt\x20','PERFORM_SCAN','unknown','debug','rdsAs','YjFMR','OauBQ','Set\x20Playwright\x20page\x20default\x20timeout\x20to\x20','1240315JoTMtW','eACkg','Accessibility\x20results\x20saved\x20successfully\x20on\x20attempt\x20','hQAQS','url','getAccessibilityResultsWithRetry','scanSucceeded','CZdDf','./helper','AvFBO','kRiyV','McoEl','tqNui'];a106_0x82d3=function(){return _0x2bda91;};return a106_0x82d3();}(function(_0x4005bf,_0x52e39e){const _0x190855=a106_0x538a,_0x2f01ae=_0x4005bf();while(!![]){try{const _0x4d44b6=parseInt(_0x190855(0x145))/0x1+parseInt(_0x190855(0x172))/0x2+-parseInt(_0x190855(0xf4))/0x3*(parseInt(_0x190855(0x12e))/0x4)+parseInt(_0x190855(0x155))/0x5*(-parseInt(_0x190855(0xc8))/0x6)+-parseInt(_0x190855(0x139))/0x7+-parseInt(_0x190855(0x167))/0x8*(parseInt(_0x190855(0xcc))/0x9)+parseInt(_0x190855(0xe5))/0xa*(parseInt(_0x190855(0xef))/0xb);if(_0x4d44b6===_0x52e39e)break;else _0x2f01ae['push'](_0x2f01ae['shift']());}catch(_0x2d3cba){_0x2f01ae['push'](_0x2f01ae['shift']());}}}(a106_0x82d3,0x77843));const util=require(a106_0x431f7e(0xc4)),logger=require(a106_0x431f7e(0x143))[a106_0x431f7e(0xf7)],accessibilityHelper=require(a106_0x431f7e(0x15d)),globals=require(a106_0x431f7e(0x127)),scripts=require('./scripts'),PerformanceTester=require(a106_0x431f7e(0x115)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a106_0x431f7e(0x175)),BrowserstackCLI=require(a106_0x431f7e(0xb4));let playwrightA11yHelper=null;try{playwrightA11yHelper=require('../../bin/playwright/accessibility-helper');}catch(a106_0x11b71a){logger[a106_0x431f7e(0x150)]('Playwright\x20accessibility\x20helper\x20not\x20available');}const a106_0x3bb8cb={};function a106_0x538a(_0x20f7d3,_0x17ae46){const _0x82d315=a106_0x82d3();return a106_0x538a=function(_0x538a19,_0x39fefe){_0x538a19=_0x538a19-0xac;let _0x539b76=_0x82d315[_0x538a19];return _0x539b76;},a106_0x538a(_0x20f7d3,_0x17ae46);}a106_0x3bb8cb[a106_0x431f7e(0x136)]=0x1,a106_0x3bb8cb[a106_0x431f7e(0xc6)]=0x7530,a106_0x3bb8cb[a106_0x431f7e(0xf0)]=0x7530;const RETRY_CONFIG=a106_0x3bb8cb,setConfigTimeout=(_0x417ea,_0x21656a=null)=>{const _0x4c81de=a106_0x431f7e,_0x25e8cb={'STckw':function(_0x46d536,_0x4d5eb9){return _0x46d536===_0x4d5eb9;},'inLWq':'scannerProcessingTimeout','WAULw':function(_0x1bbc24,_0x5343e6){return _0x1bbc24*_0x5343e6;},'vrdYC':function(_0x161d45,_0x1ad7c1){return _0x161d45(_0x1ad7c1);}};if(BrowserstackCLI[_0x4c81de(0x11b)]()[_0x4c81de(0xd1)]()&&BrowserstackCLI[_0x4c81de(0x11b)]()[_0x4c81de(0x16e)]()){const _0x50fd51=BrowserstackCLI[_0x4c81de(0x11b)]()[_0x4c81de(0x16e)]()[_0x4c81de(0xb7)],_0x582f0c=_0x50fd51['options']['capabilitiesList']||[];for(const _0x10b623 of _0x582f0c){_0x25e8cb[_0x4c81de(0x107)](_0x10b623['name'],_0x25e8cb['inLWq'])&&_0x25e8cb[_0x4c81de(0x107)](_0x21656a,null)&&(_0x417ea[_0x4c81de(0xc6)]=_0x25e8cb[_0x4c81de(0xdd)](_0x25e8cb[_0x4c81de(0x112)](parseInt,_0x10b623['value']),0x3e8));}}else process[_0x4c81de(0xb6)][_0x4c81de(0xb0)]&&(_0x417ea[_0x4c81de(0xc6)]=_0x25e8cb['WAULw'](_0x25e8cb[_0x4c81de(0x112)](parseInt,process[_0x4c81de(0xb6)][_0x4c81de(0xb0)]),0x3e8));},detectDriverType=_0x37dc7a=>{const _0x2f3088=a106_0x431f7e,_0x29d4d7={};_0x29d4d7[_0x2f3088(0x126)]=_0x2f3088(0x14f),_0x29d4d7[_0x2f3088(0xb2)]=function(_0x1286a6,_0x555ce0){return _0x1286a6===_0x555ce0;},_0x29d4d7[_0x2f3088(0xae)]=_0x2f3088(0x128),_0x29d4d7['rdsAs']=function(_0x49d542,_0x44247e){return _0x49d542===_0x44247e;},_0x29d4d7['xFrQj']=function(_0x580b0f,_0x3a5c28){return _0x580b0f===_0x3a5c28;},_0x29d4d7[_0x2f3088(0xaf)]=_0x2f3088(0xed),_0x29d4d7[_0x2f3088(0x124)]=_0x2f3088(0x13a),_0x29d4d7['UpHNk']=_0x2f3088(0x12c),_0x29d4d7['FvGWb']=function(_0x4e3cb6,_0x45efaa){return _0x4e3cb6===_0x45efaa;},_0x29d4d7[_0x2f3088(0x12f)]='WebDriver',_0x29d4d7['qsqEL']=_0x2f3088(0x140),_0x29d4d7['unHRc']=_0x2f3088(0xc3),_0x29d4d7[_0x2f3088(0x152)]=function(_0xe79f6b,_0x11133c){return _0xe79f6b||_0x11133c;},_0x29d4d7['EZhhS']='undefined';const _0x499a44=_0x29d4d7;if(!_0x37dc7a){const _0x1c2dc4={};return _0x1c2dc4[_0x2f3088(0x176)]=![],_0x1c2dc4['type']=_0x499a44[_0x2f3088(0x126)],_0x1c2dc4;}if(_0x499a44[_0x2f3088(0xb2)](typeof _0x37dc7a['evaluate'],_0x499a44[_0x2f3088(0xae)])&&_0x499a44['rdsAs'](typeof _0x37dc7a['url'],_0x499a44[_0x2f3088(0xae)])&&_0x499a44[_0x2f3088(0x144)](typeof _0x37dc7a[_0x2f3088(0xde)],_0x499a44[_0x2f3088(0xae)])){const _0x50933f={};return _0x50933f[_0x2f3088(0x176)]=!![],_0x50933f[_0x2f3088(0xd9)]=_0x499a44[_0x2f3088(0xaf)],_0x50933f;}if(_0x499a44['rdsAs'](typeof _0x37dc7a[_0x2f3088(0x147)],_0x499a44['BUwiv'])&&_0x499a44[_0x2f3088(0xb2)](typeof _0x37dc7a[_0x2f3088(0xf8)],_0x499a44[_0x2f3088(0xae)])){const _0x6e185a={};return _0x6e185a[_0x2f3088(0x176)]=![],_0x6e185a['type']=_0x499a44['zPfuk'],_0x6e185a;}const _0xe6e5a5=_0x37dc7a[_0x2f3088(0x117)]?.[_0x2f3088(0x134)];if(_0x499a44['xFrQj'](_0xe6e5a5,_0x499a44['UpHNk'])){const _0x520d0e={};return _0x520d0e['isPlaywright']=!![],_0x520d0e[_0x2f3088(0xd9)]=_0x499a44['hCiti'],_0x520d0e;}if(_0x499a44[_0x2f3088(0x148)](_0xe6e5a5,_0x499a44[_0x2f3088(0x12f)])){const _0x50f03f={};return _0x50f03f[_0x2f3088(0x176)]=![],_0x50f03f[_0x2f3088(0xd9)]=_0x499a44['zPfuk'],_0x50f03f;}if(_0x499a44[_0x2f3088(0x151)](_0xe6e5a5,_0x499a44['qsqEL'])){const _0x791f91={};return _0x791f91[_0x2f3088(0x176)]=!![],_0x791f91[_0x2f3088(0xd9)]=_0x499a44[_0x2f3088(0x11a)],_0x791f91;}logger['warn'](_0x2f3088(0x111)+_0x499a44[_0x2f3088(0x152)](_0xe6e5a5,_0x499a44['EZhhS']));const _0xa5a287={};return _0xa5a287[_0x2f3088(0x176)]=![],_0xa5a287[_0x2f3088(0xd9)]=_0x499a44[_0x2f3088(0x126)],_0xa5a287;},withTimeout=(_0x2ea6a3,_0x3b7e33)=>{const _0xffea0c=a106_0x431f7e;return Promise[_0xffea0c(0xac)]([_0x2ea6a3,new Promise((_0x35661f,_0x26ca4a)=>setTimeout(()=>_0x26ca4a(new Error(_0xffea0c(0x10e)+_0x3b7e33+'ms')),_0x3b7e33))]);};exports['performScanWithRetry']=async(_0x1b836e,_0x33909e=null,_0x59a096=null,_0x27c600=![],_0x547bde=null)=>{const _0x2bb562=a106_0x431f7e,_0x56c8d3={'MrvqT':function(_0x4b6431,_0x54039d){return _0x4b6431&&_0x54039d;},'eBCgp':function(_0x3e3282,_0x1ce04b,_0x4e30c5){return _0x3e3282(_0x1ce04b,_0x4e30c5);},'UobEl':function(_0x2feac4,_0x495547){return _0x2feac4===_0x495547;},'McoEl':_0x2bb562(0xc3),'yzkUB':function(_0x4e5e77,_0x4e18dd){return _0x4e5e77(_0x4e18dd);},'nWeQG':function(_0x3f0429,_0x299134){return _0x3f0429||_0x299134;},'tqNui':function(_0x58fc30,_0x1006fe){return _0x58fc30!==_0x1006fe;},'sHNDR':_0x2bb562(0xf1),'tNxGW':function(_0x23cfb7,_0x4b44b6){return _0x23cfb7!==_0x4b44b6;},'xXJMq':_0x2bb562(0xc5),'FIVzt':_0x2bb562(0x133),'KHDfG':'unknown_method','aTFji':'function','NITbw':function(_0x5e52bc,_0x191408){return _0x5e52bc===_0x191408;},'qvFHx':function(_0x1fddd0,_0x148ee5){return _0x1fddd0<=_0x148ee5;},'CZdDf':function(_0x354d40,_0x5b01e4){return _0x354d40+_0x5b01e4;},'dzaTO':_0x2bb562(0xcb)},{isPlaywright:_0x6970eb,type:_0x312a0a}=_0x56c8d3[_0x2bb562(0x163)](detectDriverType,_0x1b836e),_0x3bb762=_0x27c600?_0x56c8d3[_0x2bb562(0x16c)](_0x547bde,{}):global['bstackA11yScanOptions']||{},_0x43775e=_0x6970eb?global[_0x2bb562(0x16d)]&&(_0x27c600||_0x56c8d3[_0x2bb562(0x161)](global[_0x2bb562(0xc5)],![])):accessibilityHelper[_0x2bb562(0x120)]()&&globals[_0x2bb562(0x10b)](_0x56c8d3[_0x2bb562(0x16a)])&&(_0x27c600||_0x56c8d3[_0x2bb562(0x116)](globals[_0x2bb562(0x10b)](_0x56c8d3[_0x2bb562(0x106)]),![]));if(!_0x43775e)return _0x6970eb&&global[_0x2bb562(0x16d)]&&_0x56c8d3[_0x2bb562(0xe0)](global[_0x2bb562(0xc5)],![])||!_0x6970eb&&globals['getGlobal'](_0x56c8d3['sHNDR'])&&_0x56c8d3['UobEl'](globals[_0x2bb562(0x10b)](_0x56c8d3[_0x2bb562(0x106)]),![])?logger['debug'](_0x56c8d3[_0x2bb562(0x109)]):logger[_0x2bb562(0x13c)](_0x2bb562(0x138)+_0x312a0a+',\x20cannot\x20perform\x20scan\x20with\x20retry.'),![];const _0x32c7c1=_0x33909e||global[_0x2bb562(0xc9)]||_0x56c8d3[_0x2bb562(0xcf)];let _0x2ffb05=null;const _0x51a251={'testhub_btcer_uuid':global[_0x2bb562(0xe1)]?.[_0x2bb562(0x16b)]?.['id'],'url':_0x56c8d3[_0x2bb562(0xe0)](typeof _0x1b836e[_0x2bb562(0x159)],_0x56c8d3[_0x2bb562(0xca)])?await _0x1b836e[_0x2bb562(0x159)]():_0x56c8d3[_0x2bb562(0xf6)](typeof _0x1b836e[_0x2bb562(0xbd)],_0x56c8d3[_0x2bb562(0xca)])?await _0x1b836e[_0x2bb562(0xbd)]():'','automate_session_id':_0x56c8d3['NITbw'](typeof _0x1b836e[_0x2bb562(0x125)],_0x56c8d3[_0x2bb562(0xca)])?(await _0x1b836e[_0x2bb562(0x125)]())['getId']():''};for(let _0x98f606=0x1;_0x56c8d3[_0x2bb562(0xff)](_0x98f606,_0x56c8d3[_0x2bb562(0x15c)](RETRY_CONFIG[_0x2bb562(0x136)],0x1));_0x98f606++){try{return logger['debug'](_0x2bb562(0x171)+_0x98f606+'/'+_0x56c8d3[_0x2bb562(0x15c)](RETRY_CONFIG[_0x2bb562(0x136)],0x1)+_0x2bb562(0x11e)+_0x32c7c1+'\x20('+_0x312a0a+')'),await PerformanceTester[_0x2bb562(0x130)](PerformanceA11yEvents[_0x2bb562(0x14e)],async()=>{const _0x4c2117=_0x2bb562;let _0x926a32;if(_0x56c8d3[_0x4c2117(0xe6)](_0x6970eb,playwrightA11yHelper)){_0x56c8d3['eBCgp'](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x4c2117(0xeb)](_0x1b836e,RETRY_CONFIG[_0x4c2117(0xc6)]);let _0x5e86d4=_0x1b836e;_0x56c8d3[_0x4c2117(0xe0)](_0x312a0a,_0x56c8d3[_0x4c2117(0x160)])&&(_0x5e86d4=_0x1b836e[_0x4c2117(0x14b)]);const _0x360ed0=global[_0x4c2117(0x129)]?{'is_mobile_session':!![],'thTestRunUuid':accessibilityHelper[_0x4c2117(0x101)]()}:{};_0x926a32=await _0x56c8d3[_0x4c2117(0x110)](withTimeout,playwrightA11yHelper[_0x4c2117(0xe3)](_0x5e86d4,_0x32c7c1,_0x3bb762,_0x360ed0),RETRY_CONFIG[_0x4c2117(0xc6)]),await exports[_0x4c2117(0xeb)](_0x1b836e,RETRY_CONFIG[_0x4c2117(0xf0)]);}else await exports[_0x4c2117(0xdb)](_0x1b836e,RETRY_CONFIG[_0x4c2117(0xc6)]),_0x926a32=await _0x56c8d3['eBCgp'](withTimeout,accessibilityHelper[_0x4c2117(0xe3)](_0x1b836e,_0x32c7c1,_0x27c600,_0x3bb762),RETRY_CONFIG[_0x4c2117(0xc6)]),await exports[_0x4c2117(0xdb)](_0x1b836e,RETRY_CONFIG[_0x4c2117(0xf0)]);logger[_0x4c2117(0x150)](_0x4c2117(0x122)+_0x98f606+_0x4c2117(0x103));},{'command':_0x32c7c1,..._0x51a251})(),logger[_0x2bb562(0x141)](_0x2bb562(0x14d)+_0x98f606+'.'),!![];}catch(_0x4795e3){_0x2ffb05=_0x4795e3,logger['debug'](_0x2bb562(0x171)+_0x98f606+_0x2bb562(0x142)+_0x32c7c1+'\x20('+_0x312a0a+_0x2bb562(0x123)+_0x4795e3['message']);}}return logger[_0x2bb562(0x114)](_0x2bb562(0xec)+_0x32c7c1+'\x20('+_0x312a0a+_0x2bb562(0x132)+(_0x2ffb05?.[_0x2bb562(0x11d)]||_0x56c8d3['dzaTO'])),![];},exports[a106_0x431f7e(0x15a)]=async(_0x3d4a14,_0x3df2f7)=>{const _0x3bb3f0=a106_0x431f7e,_0x2fa839={'TXwuR':function(_0x1bbd6c,_0x15281e){return _0x1bbd6c(_0x15281e);},'swrRM':_0x3bb3f0(0xf1),'PetTh':function(_0x5e0cff,_0x310104){return _0x5e0cff<=_0x310104;},'tycke':function(_0x2474c8,_0x3ef2fb){return _0x2474c8+_0x3ef2fb;},'CSwmY':function(_0x316d59,_0xf31427){return _0x316d59&&_0xf31427;},'XeJiw':function(_0x56bbcc,_0x5a39ce,_0x4a92b3){return _0x56bbcc(_0x5a39ce,_0x4a92b3);},'YtOpz':function(_0x20952d,_0x2fe243,_0x147f4e){return _0x20952d(_0x2fe243,_0x147f4e);},'SPETz':function(_0x2d3eee,_0x1ba820,_0x64ff81){return _0x2d3eee(_0x1ba820,_0x64ff81);},'AvFBO':_0x3bb3f0(0xcb)},{isPlaywright:_0xf8eeb,type:_0x3dfd92}=_0x2fa839['TXwuR'](detectDriverType,_0x3d4a14),_0x2c5eab=_0xf8eeb?_0x3df2f7[_0x3bb3f0(0x16d)]:accessibilityHelper[_0x3bb3f0(0x120)]()&&globals[_0x3bb3f0(0x10b)](_0x2fa839[_0x3bb3f0(0x100)]);if(!_0x2c5eab)return logger[_0x3bb3f0(0x13c)](_0x3bb3f0(0x138)+_0x3dfd92+_0x3bb3f0(0x178)),[];let _0x471986=null;for(let _0x5f1fc8=0x1;_0x2fa839[_0x3bb3f0(0xd7)](_0x5f1fc8,_0x2fa839[_0x3bb3f0(0x121)](RETRY_CONFIG['maxRetries'],0x1));_0x5f1fc8++){try{logger[_0x3bb3f0(0x150)](_0x3bb3f0(0xbb)+_0x5f1fc8+'/'+_0x2fa839[_0x3bb3f0(0x121)](RETRY_CONFIG['maxRetries'],0x1)+'\x20('+_0x3dfd92+')');let _0x5ba21c;return _0x2fa839[_0x3bb3f0(0x119)](_0xf8eeb,playwrightA11yHelper)?(_0x2fa839['XeJiw'](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x3bb3f0(0xeb)](_0x3d4a14,RETRY_CONFIG[_0x3bb3f0(0xc6)]),_0x5ba21c=await _0x2fa839[_0x3bb3f0(0x166)](withTimeout,playwrightA11yHelper['getAccessibilityResults'](_0x3d4a14),RETRY_CONFIG['timeoutMs']),await exports['setPlaywrightScriptTimeout'](_0x3d4a14,RETRY_CONFIG[_0x3bb3f0(0xf0)])):(await exports['setSeleniumScriptTimeout'](_0x3d4a14,RETRY_CONFIG[_0x3bb3f0(0xc6)]),_0x5ba21c=await _0x2fa839['SPETz'](withTimeout,accessibilityHelper[_0x3bb3f0(0xe2)](_0x3d4a14,_0x3df2f7),RETRY_CONFIG[_0x3bb3f0(0xc6)]),await exports[_0x3bb3f0(0xdb)](_0x3d4a14,RETRY_CONFIG[_0x3bb3f0(0xf0)])),logger[_0x3bb3f0(0x141)](_0x3bb3f0(0xfa)+_0x5f1fc8+'\x20('+_0x3dfd92+')'),_0x5ba21c;}catch(_0x43fda1){_0x471986=_0x43fda1,logger[_0x3bb3f0(0x13c)]('Accessibility\x20results\x20retrieval\x20attempt\x20'+_0x5f1fc8+_0x3bb3f0(0xd4)+_0x3dfd92+_0x3bb3f0(0x123)+_0x43fda1[_0x3bb3f0(0x11d)]);}}return logger[_0x3bb3f0(0x114)]('All\x20accessibility\x20results\x20retrieval\x20attempts\x20failed\x20('+_0x3dfd92+').\x20Last\x20error:\x20'+(_0x471986?.[_0x3bb3f0(0x11d)]||_0x2fa839[_0x3bb3f0(0x15e)])),[];},exports[a106_0x431f7e(0xb1)]=async(_0x277c3f,_0x3d14a6)=>{const _0x2c60a3=a106_0x431f7e,_0x50488a={'koRSQ':function(_0x440759,_0x11145a){return _0x440759(_0x11145a);},'mjtfS':_0x2c60a3(0xf1),'UGkEI':function(_0x91bc68,_0x5cd6d5){return _0x91bc68<=_0x5cd6d5;},'Moeri':function(_0x49374d,_0x405529){return _0x49374d+_0x405529;},'BugRT':function(_0x5c3b60,_0x270efb){return _0x5c3b60+_0x270efb;},'ATTZQ':function(_0x13a701,_0x2602e1){return _0x13a701&&_0x2602e1;},'kvkQn':function(_0x5ac394,_0x335433,_0xf2f99){return _0x5ac394(_0x335433,_0xf2f99);},'zKxZQ':function(_0x7d44fc,_0x4229a1,_0x5df915){return _0x7d44fc(_0x4229a1,_0x5df915);},'TbtFS':function(_0x28fdbe,_0x23baac,_0x30dcfc){return _0x28fdbe(_0x23baac,_0x30dcfc);},'Esnng':_0x2c60a3(0xcb)},{isPlaywright:_0x11a0bd,type:_0x1c5a16}=_0x50488a[_0x2c60a3(0x10d)](detectDriverType,_0x277c3f),_0x4c452b=_0x11a0bd?_0x3d14a6[_0x2c60a3(0x16d)]:accessibilityHelper[_0x2c60a3(0x120)]()&&globals[_0x2c60a3(0x10b)](_0x50488a[_0x2c60a3(0xd5)]);if(!_0x4c452b)return logger[_0x2c60a3(0x13c)](_0x2c60a3(0x138)+_0x1c5a16+_0x2c60a3(0x12b)),{};let _0x218545=null;for(let _0x2633ec=0x1;_0x50488a[_0x2c60a3(0xf9)](_0x2633ec,_0x50488a[_0x2c60a3(0x170)](RETRY_CONFIG[_0x2c60a3(0x136)],0x1));_0x2633ec++){try{logger['debug'](_0x2c60a3(0x10f)+_0x2633ec+'/'+_0x50488a[_0x2c60a3(0x11f)](RETRY_CONFIG[_0x2c60a3(0x136)],0x1)+'\x20('+_0x1c5a16+')');let _0x4e7df4;return _0x50488a[_0x2c60a3(0xad)](_0x11a0bd,playwrightA11yHelper)?(_0x50488a[_0x2c60a3(0x174)](setConfigTimeout,RETRY_CONFIG,null),await exports['setPlaywrightScriptTimeout'](_0x277c3f,RETRY_CONFIG[_0x2c60a3(0xc6)]),_0x4e7df4=await _0x50488a[_0x2c60a3(0x168)](withTimeout,playwrightA11yHelper[_0x2c60a3(0x10c)](_0x277c3f),RETRY_CONFIG[_0x2c60a3(0xc6)]),await exports['setPlaywrightScriptTimeout'](_0x277c3f,RETRY_CONFIG[_0x2c60a3(0xf0)])):(await exports[_0x2c60a3(0xdb)](_0x277c3f,RETRY_CONFIG[_0x2c60a3(0xc6)]),_0x4e7df4=await _0x50488a['TbtFS'](withTimeout,accessibilityHelper[_0x2c60a3(0x10c)](_0x277c3f,_0x3d14a6),RETRY_CONFIG['timeoutMs']),await exports[_0x2c60a3(0xdb)](_0x277c3f,RETRY_CONFIG[_0x2c60a3(0xf0)])),logger[_0x2c60a3(0x141)](_0x2c60a3(0x108)+_0x2633ec+'\x20('+_0x1c5a16+')'),_0x4e7df4;}catch(_0x55bd62){_0x218545=_0x55bd62,logger[_0x2c60a3(0x13c)](_0x2c60a3(0x10f)+_0x2633ec+_0x2c60a3(0xd4)+_0x1c5a16+_0x2c60a3(0x123)+_0x55bd62[_0x2c60a3(0x11d)]);}}return logger[_0x2c60a3(0x114)](_0x2c60a3(0xbf)+_0x1c5a16+_0x2c60a3(0xe4)+(_0x218545?.[_0x2c60a3(0x11d)]||_0x50488a[_0x2c60a3(0x105)])),{};},exports['performComprehensiveAccessibilityScanWithRetry']=async(_0x6ac00f,_0x186c8b,_0x28b86d=null)=>{const _0x297c49=a106_0x431f7e,_0x3869b9={'BKfeP':function(_0x3aeb9d,_0x465558){return _0x3aeb9d(_0x465558);},'ArtNR':function(_0x44dd40,_0x4857cf){return _0x44dd40===_0x4857cf;},'wHByG':_0x297c49(0xf2),'ZjUlV':function(_0xfaf6aa,_0x40512e){return _0xfaf6aa===_0x40512e;},'eACkg':_0x297c49(0x177),'aVeKh':_0x297c49(0xfb)},{isPlaywright:_0x249624,type:_0x29bc0d}=_0x3869b9[_0x297c49(0xba)](detectDriverType,_0x6ac00f),_0x76827e={};_0x76827e[_0x297c49(0x15b)]=![],_0x76827e[_0x297c49(0xb5)]=[],_0x76827e[_0x297c49(0x146)]={},_0x76827e[_0x297c49(0x114)]=null,_0x76827e[_0x297c49(0xd8)]=_0x29bc0d;const _0x273dad=_0x76827e;try{_0x273dad['scanSucceeded']=await exports[_0x297c49(0x13b)](_0x6ac00f,_0x28b86d);if(_0x273dad[_0x297c49(0x15b)]){const [_0x82556,_0x288f40]=await Promise['allSettled']([exports[_0x297c49(0x15a)](_0x6ac00f,_0x186c8b),exports[_0x297c49(0xb1)](_0x6ac00f,_0x186c8b)]);_0x273dad['results']=_0x3869b9[_0x297c49(0xc2)](_0x82556[_0x297c49(0x14a)],_0x3869b9['wHByG'])?_0x82556[_0x297c49(0xb9)]:[],_0x273dad[_0x297c49(0x146)]=_0x3869b9[_0x297c49(0xc2)](_0x288f40[_0x297c49(0x14a)],_0x3869b9[_0x297c49(0xfe)])?_0x288f40[_0x297c49(0xb9)]:{},_0x3869b9[_0x297c49(0x162)](_0x82556[_0x297c49(0x14a)],_0x3869b9['eACkg'])&&logger['warn']('Failed\x20to\x20retrieve\x20accessibility\x20results\x20('+_0x29bc0d+_0x297c49(0xea)+_0x82556[_0x297c49(0xc0)]?.[_0x297c49(0x11d)]),_0x3869b9[_0x297c49(0xc2)](_0x288f40[_0x297c49(0x14a)],_0x3869b9[_0x297c49(0x156)])&&logger[_0x297c49(0x13c)](_0x297c49(0xf3)+_0x29bc0d+_0x297c49(0xea)+_0x288f40['reason']?.[_0x297c49(0x11d)]);}}catch(_0x623c60){_0x273dad['error']=_0x623c60[_0x297c49(0x11d)]||_0x3869b9['aVeKh'],logger[_0x297c49(0x114)](_0x297c49(0xce)+_0x29bc0d+_0x297c49(0xea)+_0x273dad[_0x297c49(0x114)]);}return _0x273dad;},exports[a106_0x431f7e(0xdf)]=_0x4fcf8d=>{const _0x3e4920=a106_0x431f7e,_0x4c9c2e={};_0x4c9c2e['jvIIS']=function(_0x59b725,_0x51daee){return _0x59b725!==_0x51daee;};const _0x58e13b=_0x4c9c2e;_0x58e13b['jvIIS'](_0x4fcf8d[_0x3e4920(0x136)],undefined)&&(RETRY_CONFIG[_0x3e4920(0x136)]=Math[_0x3e4920(0x104)](0x0,_0x4fcf8d[_0x3e4920(0x136)])),_0x58e13b[_0x3e4920(0xbc)](_0x4fcf8d[_0x3e4920(0xc6)],undefined)&&(RETRY_CONFIG[_0x3e4920(0xc6)]=Math['max'](0x3e8,_0x4fcf8d[_0x3e4920(0xc6)])),logger['debug'](_0x3e4920(0xc7)+JSON[_0x3e4920(0x137)](RETRY_CONFIG));},exports[a106_0x431f7e(0x16f)]=()=>{const _0x3aef1b={...RETRY_CONFIG};return _0x3aef1b;},exports[a106_0x431f7e(0xee)]=_0x104c2b=>{const _0x31af0f={'cgLfC':function(_0x5cd61a,_0x2d2943){return _0x5cd61a(_0x2d2943);}};return _0x31af0f['cgLfC'](detectDriverType,_0x104c2b)['isPlaywright'];},exports['isSeleniumDriver']=_0x1f9a9d=>{const _0x44f401=a106_0x431f7e,_0x25fd33={'khRvZ':function(_0x276a04,_0x2fcd5e){return _0x276a04(_0x2fcd5e);},'AxrbV':function(_0x1095c9,_0x3f19a6){return _0x1095c9===_0x3f19a6;},'tpHYm':'selenium-webdriver'},{isPlaywright:_0x28cd6c,type:_0x52b71a}=_0x25fd33[_0x44f401(0x164)](detectDriverType,_0x1f9a9d);return!_0x28cd6c&&_0x25fd33['AxrbV'](_0x52b71a,_0x25fd33[_0x44f401(0x12d)]);},exports[a106_0x431f7e(0xeb)]=async(_0x3ac76e,_0x3c6dad=null)=>{const _0x5665f7=a106_0x431f7e,_0x20a33f={'OauBQ':function(_0x4bdc65,_0x5c0b9f){return _0x4bdc65(_0x5c0b9f);},'YDIHo':function(_0x3cfb4c,_0x206abb){return _0x3cfb4c===_0x206abb;},'UWERC':_0x5665f7(0x128)},{isPlaywright:_0x32b03d,type:_0x4b650a}=_0x20a33f[_0x5665f7(0x153)](detectDriverType,_0x3ac76e);if(!_0x32b03d)return logger['debug'](_0x5665f7(0x13d)+_0x4b650a+_0x5665f7(0xe9)),!![];const _0x297f77=_0x3c6dad||RETRY_CONFIG['defaultTimeoutMs'];try{return _0x3ac76e&&_0x20a33f['YDIHo'](typeof _0x3ac76e[_0x5665f7(0x14c)],_0x20a33f[_0x5665f7(0x102)])&&(await _0x3ac76e['setDefaultTimeout'](_0x297f77),logger[_0x5665f7(0x150)](_0x5665f7(0x154)+_0x297f77+'ms')),!![];}catch(_0x2a616c){return logger[_0x5665f7(0x13c)](_0x5665f7(0x169)+_0x2a616c[_0x5665f7(0x11d)]),![];}},exports[a106_0x431f7e(0xdb)]=async(_0x2b1f0b,_0x2c3e1a=null)=>{const _0x41100b=a106_0x431f7e,_0x64fcf8={};_0x64fcf8[_0x41100b(0xcd)]=_0x41100b(0xf5),_0x64fcf8[_0x41100b(0xd3)]=function(_0x1f5fb3,_0x17db93){return _0x1f5fb3===_0x17db93;},_0x64fcf8[_0x41100b(0xda)]=_0x41100b(0x128),_0x64fcf8['bXGDo']=function(_0x98fec7,_0x3c91ae){return _0x98fec7===_0x3c91ae;},_0x64fcf8[_0x41100b(0x165)]='Selenium\x20WebDriver\x20timeout\x20API\x20not\x20available,\x20skipping\x20timeout\x20setting',_0x64fcf8[_0x41100b(0xd2)]='Selenium\x20WebDriver\x20manage()\x20method\x20not\x20available,\x20skipping\x20timeout\x20setting';const _0x45b419=_0x64fcf8;if(!exports[_0x41100b(0x179)](_0x2b1f0b))return logger[_0x41100b(0x13c)](_0x45b419[_0x41100b(0xcd)]),![];const _0x5ac385=_0x2c3e1a||RETRY_CONFIG[_0x41100b(0xf0)];try{if(_0x2b1f0b&&_0x45b419[_0x41100b(0xd3)](typeof _0x2b1f0b['manage'],_0x45b419['riJlN'])){const _0x174ad2=_0x2b1f0b[_0x41100b(0x149)]();if(_0x174ad2&&_0x45b419[_0x41100b(0xe8)](typeof _0x174ad2[_0x41100b(0x12a)],_0x45b419[_0x41100b(0xda)]))await _0x174ad2[_0x41100b(0x12a)]()[_0x41100b(0x118)](_0x5ac385),logger['debug']('Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20'+_0x5ac385+_0x41100b(0xe7));else{if(_0x174ad2&&_0x45b419[_0x41100b(0xe8)](typeof _0x174ad2['setTimeouts'],_0x45b419['riJlN'])){const _0x3934d7={};_0x3934d7[_0x41100b(0x135)]=_0x5ac385,await _0x174ad2['setTimeouts'](_0x3934d7),logger[_0x41100b(0x150)]('Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20'+_0x5ac385+_0x41100b(0xbe));}else{if(_0x174ad2&&_0x45b419[_0x41100b(0xd3)](typeof _0x174ad2[_0x41100b(0x118)],_0x45b419[_0x41100b(0xda)]))await _0x174ad2[_0x41100b(0x118)](_0x5ac385),logger[_0x41100b(0x150)](_0x41100b(0xb3)+_0x5ac385+_0x41100b(0x113));else return logger[_0x41100b(0x150)](_0x45b419[_0x41100b(0x165)]),!![];}}}else return logger['debug'](_0x45b419['TkcHV']),!![];return!![];}catch(_0x36e0be){return logger[_0x41100b(0x13c)](_0x41100b(0x11c)+_0x36e0be['message']),![];}},exports[a106_0x431f7e(0xd6)]=async(_0x261a31,_0x3478f9)=>{const _0x3bfc4a=a106_0x431f7e,_0x122411={'hQAQS':function(_0x44355b,_0x382c05){return _0x44355b(_0x382c05);},'gwSss':_0x3bfc4a(0xf1),'FvmTS':function(_0x5e3419,_0x15b751){return _0x5e3419<=_0x15b751;},'DhLJO':function(_0x1cbc1d,_0x2e1d07){return _0x1cbc1d+_0x2e1d07;},'zlPLu':function(_0x5f3e66,_0x109992){return _0x5f3e66+_0x109992;},'kRiyV':function(_0x5f415d,_0x4a2065){return _0x5f415d&&_0x4a2065;},'MlvCv':function(_0x83531e,_0x4e24a6,_0x6a6ceb){return _0x83531e(_0x4e24a6,_0x6a6ceb);},'LpYWr':'isMobilePlatform','TELIq':function(_0x1911ad,_0x1f9317,_0x3384a8){return _0x1911ad(_0x1f9317,_0x3384a8);},'uqlvN':'Unknown\x20error'},{isPlaywright:_0x2edbea,type:_0x14858d}=_0x122411[_0x3bfc4a(0x158)](detectDriverType,_0x261a31),_0xd18429=_0x2edbea?global[_0x3bfc4a(0x16d)]:accessibilityHelper[_0x3bfc4a(0x120)]()&&globals[_0x3bfc4a(0x10b)](_0x122411[_0x3bfc4a(0x173)]);if(!_0xd18429)return logger[_0x3bfc4a(0x13c)]('Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20'+_0x14858d+',\x20cannot\x20save\x20accessibility\x20results\x20with\x20retry.'),![];let _0x38bf96=null;for(let _0x3e0228=0x1;_0x122411[_0x3bfc4a(0xd0)](_0x3e0228,_0x122411[_0x3bfc4a(0x131)](RETRY_CONFIG[_0x3bfc4a(0x136)],0x1));_0x3e0228++){try{logger[_0x3bfc4a(0x150)](_0x3bfc4a(0xb8)+_0x3e0228+'/'+_0x122411['zlPLu'](RETRY_CONFIG[_0x3bfc4a(0x136)],0x1)+'\x20('+_0x14858d+')');if(_0x122411[_0x3bfc4a(0x15f)](_0x2edbea,playwrightA11yHelper)){_0x122411[_0x3bfc4a(0xdc)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x3bfc4a(0xeb)](_0x261a31,RETRY_CONFIG['timeoutMs']);const _0x224d29={};_0x224d29[_0x3bfc4a(0xfc)]=!![];const _0x5f2522=global[_0x3bfc4a(0x129)]?Object['assign']({},_0x3478f9,_0x224d29):_0x3478f9;await _0x122411[_0x3bfc4a(0xdc)](withTimeout,playwrightA11yHelper['browserStackEvaluate'](_0x261a31,scripts['saveTestResults'],_0x5f2522),RETRY_CONFIG['timeoutMs']),await exports[_0x3bfc4a(0xeb)](_0x261a31,RETRY_CONFIG[_0x3bfc4a(0xf0)]);}else{await exports[_0x3bfc4a(0xdb)](_0x261a31,RETRY_CONFIG[_0x3bfc4a(0xc6)]);const _0x1b5827={};_0x1b5827['is_mobile_session']=!![];const _0x3f51b5=globals['getGlobal'](_0x122411[_0x3bfc4a(0xc1)])?Object[_0x3bfc4a(0x13f)]({},_0x3478f9,_0x1b5827):_0x3478f9;await _0x122411[_0x3bfc4a(0x10a)](withTimeout,_0x261a31[_0x3bfc4a(0x147)](scripts[_0x3bfc4a(0x13e)],_0x3f51b5),RETRY_CONFIG[_0x3bfc4a(0xc6)]),await exports[_0x3bfc4a(0xdb)](_0x261a31,RETRY_CONFIG[_0x3bfc4a(0xf0)]);}return logger[_0x3bfc4a(0x141)](_0x3bfc4a(0x157)+_0x3e0228+'\x20('+_0x14858d+')'),!![];}catch(_0x1f7d2d){_0x38bf96=_0x1f7d2d,logger[_0x3bfc4a(0x13c)](_0x3bfc4a(0xb8)+_0x3e0228+_0x3bfc4a(0xd4)+_0x14858d+_0x3bfc4a(0x123)+_0x1f7d2d[_0x3bfc4a(0x11d)]);}}return logger[_0x3bfc4a(0x114)]('All\x20accessibility\x20results\x20save\x20attempts\x20failed\x20('+_0x14858d+_0x3bfc4a(0xe4)+(_0x38bf96?.[_0x3bfc4a(0x11d)]||_0x122411[_0x3bfc4a(0xfd)])),![];};
|
|
1
|
+
const a106_0x108359=a106_0x2ad0;(function(_0x5abdff,_0x2def4a){const _0x3202dd=a106_0x2ad0,_0x3c191a=_0x5abdff();while(!![]){try{const _0xf525f=parseInt(_0x3202dd(0x23b))/0x1+-parseInt(_0x3202dd(0x207))/0x2*(parseInt(_0x3202dd(0x1a2))/0x3)+-parseInt(_0x3202dd(0x1a4))/0x4+-parseInt(_0x3202dd(0x1f9))/0x5+parseInt(_0x3202dd(0x244))/0x6+-parseInt(_0x3202dd(0x23c))/0x7*(-parseInt(_0x3202dd(0x1f8))/0x8)+parseInt(_0x3202dd(0x257))/0x9;if(_0xf525f===_0x2def4a)break;else _0x3c191a['push'](_0x3c191a['shift']());}catch(_0x3fd381){_0x3c191a['push'](_0x3c191a['shift']());}}}(a106_0x2c5e,0x6448d));const util=require(a106_0x108359(0x251)),logger=require('../logger')[a106_0x108359(0x1b0)],accessibilityHelper=require('./helper'),globals=require(a106_0x108359(0x1ef)),scripts=require(a106_0x108359(0x24a)),PerformanceTester=require('../performance/performance-tester'),{A11Y_EVENTS:PerformanceA11yEvents}=require(a106_0x108359(0x1a0)),BrowserstackCLI=require(a106_0x108359(0x1db));let playwrightA11yHelper=null;function a106_0x2ad0(_0x1f411e,_0x357d3a){const _0x2c5ecd=a106_0x2c5e();return a106_0x2ad0=function(_0x2ad0c4,_0x1b618a){_0x2ad0c4=_0x2ad0c4-0x190;let _0x4b8e49=_0x2c5ecd[_0x2ad0c4];return _0x4b8e49;},a106_0x2ad0(_0x1f411e,_0x357d3a);}try{playwrightA11yHelper=require(a106_0x108359(0x226));}catch(a106_0x12d8e4){logger[a106_0x108359(0x217)]('Playwright\x20accessibility\x20helper\x20not\x20available');}const a106_0x2f6e5e={};a106_0x2f6e5e[a106_0x108359(0x24e)]=0x1,a106_0x2f6e5e[a106_0x108359(0x1b8)]=0x7530,a106_0x2f6e5e[a106_0x108359(0x1b7)]=0x7530;const RETRY_CONFIG=a106_0x2f6e5e,setConfigTimeout=(_0x252fde,_0x467d6b=null)=>{const _0x5ce47a=a106_0x108359,_0x1d4c80={'ILmhf':function(_0x59a230,_0x170c8b){return _0x59a230===_0x170c8b;},'faTQf':_0x5ce47a(0x19d),'EtfAX':function(_0x55ee25,_0x530c26){return _0x55ee25===_0x530c26;},'AJJuA':function(_0x34ce74,_0xf0db43){return _0x34ce74*_0xf0db43;},'xoAoz':function(_0x49f305,_0x43b4af){return _0x49f305(_0x43b4af);},'JKKeh':function(_0x41e525,_0x1a58ed){return _0x41e525*_0x1a58ed;}};if(BrowserstackCLI[_0x5ce47a(0x1f2)]()[_0x5ce47a(0x1e6)]()&&BrowserstackCLI[_0x5ce47a(0x1f2)]()[_0x5ce47a(0x1b3)]()){const _0x46d208=BrowserstackCLI[_0x5ce47a(0x1f2)]()[_0x5ce47a(0x1b3)]()[_0x5ce47a(0x1f1)],_0x4c0416=_0x46d208[_0x5ce47a(0x1b9)][_0x5ce47a(0x1e3)]||[];for(const _0xc07a73 of _0x4c0416){_0x1d4c80[_0x5ce47a(0x1dd)](_0xc07a73[_0x5ce47a(0x1e8)],_0x1d4c80[_0x5ce47a(0x238)])&&_0x1d4c80[_0x5ce47a(0x1eb)](_0x467d6b,null)&&(_0x252fde[_0x5ce47a(0x1b8)]=_0x1d4c80[_0x5ce47a(0x1e5)](_0x1d4c80['xoAoz'](parseInt,_0xc07a73[_0x5ce47a(0x21d)]),0x3e8));}}else process['env'][_0x5ce47a(0x23f)]&&(_0x252fde[_0x5ce47a(0x1b8)]=_0x1d4c80[_0x5ce47a(0x199)](_0x1d4c80['xoAoz'](parseInt,process[_0x5ce47a(0x1ae)][_0x5ce47a(0x23f)]),0x3e8));},detectDriverType=_0x5c3bcc=>{const _0x1d228c=a106_0x108359,_0x40a474={};_0x40a474['xFGvT']=_0x1d228c(0x1ec),_0x40a474[_0x1d228c(0x19b)]=function(_0x7b6c82,_0x4860f5){return _0x7b6c82===_0x4860f5;},_0x40a474[_0x1d228c(0x254)]=_0x1d228c(0x1d6),_0x40a474[_0x1d228c(0x1c6)]=function(_0x1d3302,_0x1e8411){return _0x1d3302===_0x1e8411;},_0x40a474[_0x1d228c(0x25b)]=function(_0x361802,_0x56dad8){return _0x361802===_0x56dad8;},_0x40a474[_0x1d228c(0x1be)]=_0x1d228c(0x1fc),_0x40a474[_0x1d228c(0x233)]=function(_0xdef823,_0x3c68f8){return _0xdef823===_0x3c68f8;},_0x40a474[_0x1d228c(0x23d)]=_0x1d228c(0x1f6),_0x40a474[_0x1d228c(0x237)]=function(_0x15e874,_0x534383){return _0x15e874===_0x534383;},_0x40a474[_0x1d228c(0x1b2)]=_0x1d228c(0x22b),_0x40a474[_0x1d228c(0x198)]=_0x1d228c(0x1c4),_0x40a474[_0x1d228c(0x208)]=_0x1d228c(0x259),_0x40a474['TUYxx']=_0x1d228c(0x241),_0x40a474[_0x1d228c(0x1e2)]=function(_0x433b1a,_0x309c94){return _0x433b1a||_0x309c94;},_0x40a474[_0x1d228c(0x1ba)]=_0x1d228c(0x246);const _0x80d158=_0x40a474;if(!_0x5c3bcc){const _0x5ad578={};return _0x5ad578['isPlaywright']=![],_0x5ad578[_0x1d228c(0x22a)]=_0x80d158['xFGvT'],_0x5ad578;}if(_0x80d158[_0x1d228c(0x19b)](typeof _0x5c3bcc['evaluate'],_0x80d158['MjCyi'])&&_0x80d158[_0x1d228c(0x1c6)](typeof _0x5c3bcc[_0x1d228c(0x1df)],_0x80d158[_0x1d228c(0x254)])&&_0x80d158[_0x1d228c(0x25b)](typeof _0x5c3bcc[_0x1d228c(0x1dc)],_0x80d158[_0x1d228c(0x254)])){const _0x31c099={};return _0x31c099[_0x1d228c(0x222)]=!![],_0x31c099['type']=_0x80d158[_0x1d228c(0x1be)],_0x31c099;}if(_0x80d158[_0x1d228c(0x19b)](typeof _0x5c3bcc[_0x1d228c(0x24b)],_0x80d158[_0x1d228c(0x254)])&&_0x80d158[_0x1d228c(0x233)](typeof _0x5c3bcc['getCapabilities'],_0x80d158['MjCyi'])){const _0x2e1d99={};return _0x2e1d99['isPlaywright']=![],_0x2e1d99[_0x1d228c(0x22a)]=_0x80d158[_0x1d228c(0x23d)],_0x2e1d99;}const _0x35d29b=_0x5c3bcc[_0x1d228c(0x220)]?.['name'];if(_0x80d158[_0x1d228c(0x237)](_0x35d29b,_0x80d158['yptYx'])){const _0x1a956d={};return _0x1a956d[_0x1d228c(0x222)]=!![],_0x1a956d[_0x1d228c(0x22a)]=_0x80d158[_0x1d228c(0x1be)],_0x1a956d;}if(_0x80d158[_0x1d228c(0x1c6)](_0x35d29b,_0x80d158['gLVBq'])){const _0xce0b8f={};return _0xce0b8f[_0x1d228c(0x222)]=![],_0xce0b8f[_0x1d228c(0x22a)]=_0x80d158[_0x1d228c(0x23d)],_0xce0b8f;}if(_0x80d158[_0x1d228c(0x25b)](_0x35d29b,_0x80d158['zWmIs'])){const _0x13f4bf={};return _0x13f4bf[_0x1d228c(0x222)]=!![],_0x13f4bf['type']=_0x80d158['TUYxx'],_0x13f4bf;}logger['warn'](_0x1d228c(0x204)+_0x80d158[_0x1d228c(0x1e2)](_0x35d29b,_0x80d158[_0x1d228c(0x1ba)]));const _0x5d57a7={};return _0x5d57a7['isPlaywright']=![],_0x5d57a7[_0x1d228c(0x22a)]=_0x80d158[_0x1d228c(0x212)],_0x5d57a7;},withTimeout=(_0x54704c,_0x4d6ab6)=>{const _0x131d3=a106_0x108359;return Promise[_0x131d3(0x20d)]([_0x54704c,new Promise((_0x4d6340,_0x5db84f)=>setTimeout(()=>_0x5db84f(new Error(_0x131d3(0x223)+_0x4d6ab6+'ms')),_0x4d6ab6))]);};function a106_0x2c5e(){const _0x2447dc=['function','getCurrentUrl','isMobilePlatform','accessibilityPlatform','qahsl','../../bin/v2/browserstackCLI','goto','ILmhf','ms\x20using\x20timeouts()\x20API','url','Wrdup','setDefaultTimeout','jFAYZ','capabilitiesList','saveTestResults','AJJuA','isRunning','PERFORM_SCAN','name','Set\x20Playwright\x20page\x20default\x20timeout\x20to\x20','IMRtw','EtfAX','unknown','ms\x20using\x20setScriptTimeout\x20API','Accessibility\x20results\x20retrieval\x20attempt\x20','../globals','Comprehensive\x20accessibility\x20scan\x20failed\x20(','accessibilityConfig','getInstance','TkBtb','uepvS','ZIsVS','selenium-webdriver','getAccessibilityResultsSummaryWithRetry','1852112cmysLJ','3880900hIZWEL','currentTest',').\x20Error:\x20','playwright-page','stringify','results','\x20-\x20not\x20applicable','max','message','SsPkT','isAccessibilityPlatform','Unknown\x20driver/page\x20type:\x20','Selenium\x20WebDriver\x20manage()\x20method\x20not\x20available,\x20skipping\x20timeout\x20setting','LSfiq','12cpfbmT','zWmIs','JEDSB','cajSb','uUhpk','isPlaywrightPage','race','timeouts','unknown_method','fhRlp','getAccessibilityResults','xFGvT','measureWrapper','ssFRD','Scan\x20attempt\x20','page','debug','PkHaH','driverType','pCJgv','All\x20accessibility\x20results\x20summary\x20retrieval\x20attempts\x20failed\x20(','zgmZX','value','\x20for\x20method:\x20','Selenium\x20WebDriver\x20timeout\x20API\x20not\x20available,\x20skipping\x20timeout\x20setting','constructor','script','isPlaywright','Operation\x20timed\x20out\x20after\x20','info','KOFdX','../../bin/playwright/accessibility-helper','getRetryConfig','woVWi','setPlaywrightScriptTimeout','type','Page','LUSEl','qYMtz','jYAmM','raWWf','cnahX','All\x20accessibility\x20results\x20retrieval\x20attempts\x20failed\x20(','status','Cekeo','dVJys',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20with\x20retry.','getAccessibilityResultsSummary','INMUF','faTQf','FKmgi','ykAjZ','358966mJNMFW','7rgHSmO','npyEq','xFXri','BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT','is_mobile_session','playwright-codecept-driver',')\x20with\x20error:\x20','ms\x20using\x20setTimeouts\x20API','2924832BBpNhw','setScriptTimeout','undefined','bstackA11yShouldScan','\x20failed\x20for\x20method:\x20','browserstackSessionName','./scripts','executeAsyncScript','isAccessibilityAutomationSession','setSeleniumScriptTimeout','maxRetries','mwaHt','ShDib','util','XDRYi','setTimeouts','MjCyi','vInlp','YwhnG','7534944ivOrWF','HiMdJ','Playwright','Accessibility\x20scan\x20attempt\x20','DggdQ','Failed\x20to\x20retrieve\x20accessibility\x20results\x20(','UhQvo','getGlobal','tiPKx','getAccessibilityResultsWithRetry','rejected','manage','Accessibility\x20results\x20summary\x20retrieved\x20successfully\x20on\x20attempt\x20','warn','Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20','Unknown\x20error','performComprehensiveAccessibilityScanWithRetry','LTssr','HjDGx','gLVBq','JKKeh','assign','bOzeg','Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20','scannerProcessingTimeout','getId','scanSucceeded','../performance/constants','Unknown\x20error\x20during\x20comprehensive\x20accessibility\x20scan','354831kKkDTe','):\x20','74244ETsQVx','getSession','allSettled','lLPSx','Skipping\x20timeout\x20setting\x20for\x20','KYkNN','error','eSLPs','browserStackEvaluate','AWEhy','env','\x20failed\x20(','winstonLogger','RzkaY','yptYx','getAccessibilityModule','performScanWithRetry','performScan',').\x20Last\x20error:\x20','defaultTimeoutMs','timeoutMs','options','TRNuF','jjRYm','All\x20accessibility\x20scan\x20attempts\x20failed\x20for\x20method:\x20','rcdka','nqcDa','Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20','ckJSH','IKbeb','gTfej','oeDkK','WebDriver','iEyRu','FrlXB','Rvinw','Accessibility\x20results\x20save\x20attempt\x20','fOVmc','All\x20accessibility\x20results\x20save\x20attempts\x20failed\x20(',',\x20cannot\x20save\x20accessibility\x20results\x20with\x20retry.','Accessibility\x20results\x20saved\x20successfully\x20on\x20attempt\x20','fWzCx','ypMmk','resolveMobileThTestRunUuid','[Accessibility]\x20Scan\x20skipped\x20-\x20scanning\x20is\x20currently\x20disabled\x20(partial\x20scan\x20mode)',',\x20cannot\x20perform\x20scan\x20with\x20retry.','reason','Cannot\x20set\x20script\x20timeout:\x20not\x20a\x20Selenium\x20WebDriver','Failed\x20to\x20set\x20Selenium\x20script\x20timeout:\x20','Accessibility\x20results\x20retrieved\x20successfully\x20on\x20attempt\x20'];a106_0x2c5e=function(){return _0x2447dc;};return a106_0x2c5e();}exports['performScanWithRetry']=async(_0x1c7f82,_0x19552e=null,_0x463945=null,_0xb017fd=![],_0x190841=null)=>{const _0x29bafd=a106_0x108359,_0x33657e={'ssFRD':function(_0x1d1a46,_0x151fa2){return _0x1d1a46&&_0x151fa2;},'rcdka':function(_0x3661a6,_0x4e679d,_0x463abe){return _0x3661a6(_0x4e679d,_0x463abe);},'PkHaH':function(_0x43056e,_0x3b8996){return _0x43056e===_0x3b8996;},'fhRlp':_0x29bafd(0x241),'iaWcO':function(_0x392fa6,_0x53c51e,_0x219a0f){return _0x392fa6(_0x53c51e,_0x219a0f);},'cajSb':function(_0xaafd25,_0x21eb2d){return _0xaafd25(_0x21eb2d);},'JSnGo':function(_0x3aca8b,_0x4a5633){return _0x3aca8b||_0x4a5633;},'Rvinw':function(_0x3574eb,_0x6b9f3){return _0x3574eb!==_0x6b9f3;},'mwaHt':_0x29bafd(0x203),'TkBtb':function(_0x374978,_0x33231e){return _0x374978!==_0x33231e;},'HiMdJ':_0x29bafd(0x247),'eSLPs':function(_0x2794b0,_0x5f4b04){return _0x2794b0===_0x5f4b04;},'eweCB':function(_0x1340ab,_0x584f4c){return _0x1340ab===_0x584f4c;},'XDRYi':_0x29bafd(0x1d0),'fWzCx':_0x29bafd(0x20f),'ckJSH':_0x29bafd(0x1d6),'ShDib':function(_0x385d6b,_0x164699){return _0x385d6b===_0x164699;},'qtDDR':function(_0xb62fa0,_0x187bdd){return _0xb62fa0===_0x187bdd;},'zjKCs':function(_0x1af8bf,_0x3a3928){return _0x1af8bf<=_0x3a3928;},'SahKW':function(_0x30f3ca,_0xd71a52){return _0x30f3ca+_0xd71a52;},'DjoyW':function(_0x510683,_0x193c14){return _0x510683+_0x193c14;},'pCJgv':_0x29bafd(0x194)},{isPlaywright:_0x1c25f9,type:_0x38635b}=_0x33657e[_0x29bafd(0x20a)](detectDriverType,_0x1c7f82),_0x1049c4=_0xb017fd?_0x33657e['JSnGo'](_0x190841,{}):global['bstackA11yScanOptions']||{},_0x266546=_0x1c25f9?global['accessibilityPlatform']&&(_0xb017fd||_0x33657e[_0x29bafd(0x1c7)](global[_0x29bafd(0x247)],![])):accessibilityHelper[_0x29bafd(0x24c)]()&&globals['getGlobal'](_0x33657e[_0x29bafd(0x24f)])&&(_0xb017fd||_0x33657e[_0x29bafd(0x1f3)](globals[_0x29bafd(0x25e)](_0x33657e[_0x29bafd(0x258)]),![]));if(!_0x266546)return _0x1c25f9&&global[_0x29bafd(0x1d9)]&&_0x33657e[_0x29bafd(0x1ab)](global[_0x29bafd(0x247)],![])||!_0x1c25f9&&globals[_0x29bafd(0x25e)](_0x33657e['mwaHt'])&&_0x33657e['eweCB'](globals['getGlobal'](_0x33657e[_0x29bafd(0x258)]),![])?logger['debug'](_0x33657e[_0x29bafd(0x252)]):logger[_0x29bafd(0x192)](_0x29bafd(0x19c)+_0x38635b+_0x29bafd(0x1d1)),![];const _0x4a1e2a=_0x19552e||global[_0x29bafd(0x249)]||_0x33657e[_0x29bafd(0x1cd)];let _0x194c69=null;const _0x33be31={'testhub_btcer_uuid':global['__workerDetails']?.[_0x29bafd(0x1fa)]?.['id'],'url':_0x33657e[_0x29bafd(0x218)](typeof _0x1c7f82[_0x29bafd(0x1df)],_0x33657e['ckJSH'])?await _0x1c7f82[_0x29bafd(0x1df)]():_0x33657e[_0x29bafd(0x250)](typeof _0x1c7f82[_0x29bafd(0x1d7)],_0x33657e[_0x29bafd(0x1c0)])?await _0x1c7f82[_0x29bafd(0x1d7)]():'','automate_session_id':_0x33657e['qtDDR'](typeof _0x1c7f82[_0x29bafd(0x1a5)],_0x33657e[_0x29bafd(0x1c0)])?(await _0x1c7f82['getSession']())[_0x29bafd(0x19e)]():''};for(let _0x4899fd=0x1;_0x33657e['zjKCs'](_0x4899fd,_0x33657e['SahKW'](RETRY_CONFIG[_0x29bafd(0x24e)],0x1));_0x4899fd++){try{return logger[_0x29bafd(0x217)](_0x29bafd(0x25a)+_0x4899fd+'/'+_0x33657e['DjoyW'](RETRY_CONFIG[_0x29bafd(0x24e)],0x1)+_0x29bafd(0x21e)+_0x4a1e2a+'\x20('+_0x38635b+')'),await PerformanceTester[_0x29bafd(0x213)](PerformanceA11yEvents[_0x29bafd(0x1e7)],async()=>{const _0x51eda2=_0x29bafd;let _0x7fbcf3;if(_0x33657e[_0x51eda2(0x214)](_0x1c25f9,playwrightA11yHelper)){_0x33657e[_0x51eda2(0x1bd)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x51eda2(0x229)](_0x1c7f82,RETRY_CONFIG[_0x51eda2(0x1b8)]);let _0x27067c=_0x1c7f82;_0x33657e[_0x51eda2(0x218)](_0x38635b,_0x33657e[_0x51eda2(0x210)])&&(_0x27067c=_0x1c7f82[_0x51eda2(0x216)]);const _0x5542bf=global[_0x51eda2(0x1d8)]?{'is_mobile_session':!![],'thTestRunUuid':accessibilityHelper[_0x51eda2(0x1cf)]()}:{};_0x7fbcf3=await _0x33657e['iaWcO'](withTimeout,playwrightA11yHelper[_0x51eda2(0x1b5)](_0x27067c,_0x4a1e2a,_0x1049c4,_0x5542bf),RETRY_CONFIG[_0x51eda2(0x1b8)]),await exports['setPlaywrightScriptTimeout'](_0x1c7f82,RETRY_CONFIG['defaultTimeoutMs']);}else await exports[_0x51eda2(0x24d)](_0x1c7f82,RETRY_CONFIG[_0x51eda2(0x1b8)]),_0x7fbcf3=await _0x33657e['iaWcO'](withTimeout,accessibilityHelper[_0x51eda2(0x1b5)](_0x1c7f82,_0x4a1e2a,_0xb017fd,_0x1049c4),RETRY_CONFIG['timeoutMs']),await exports[_0x51eda2(0x24d)](_0x1c7f82,RETRY_CONFIG[_0x51eda2(0x1b7)]);logger[_0x51eda2(0x217)](_0x51eda2(0x215)+_0x4899fd+'\x20completed\x20successfully.');},{'command':_0x4a1e2a,..._0x33be31})(),logger[_0x29bafd(0x224)]('Accessibility\x20scan\x20succeeded\x20on\x20attempt\x20'+_0x4899fd+'.'),!![];}catch(_0x1401ba){_0x194c69=_0x1401ba,logger['debug'](_0x29bafd(0x25a)+_0x4899fd+_0x29bafd(0x248)+_0x4a1e2a+'\x20('+_0x38635b+').\x20Error:\x20'+_0x1401ba[_0x29bafd(0x201)]);}}return logger[_0x29bafd(0x1aa)](_0x29bafd(0x1bc)+_0x4a1e2a+'\x20('+_0x38635b+_0x29bafd(0x242)+(_0x194c69?.['message']||_0x33657e[_0x29bafd(0x21a)])),![];},exports[a106_0x108359(0x260)]=async(_0x200924,_0x43e3fe)=>{const _0x2b9cf6=a106_0x108359,_0x2f83f1={'BtwXN':function(_0x511fdb,_0x1f3b36){return _0x511fdb(_0x1f3b36);},'iEyRu':_0x2b9cf6(0x203),'xFXri':function(_0x13d237,_0x105ee3){return _0x13d237<=_0x105ee3;},'oeDkK':function(_0x4c8160,_0x249167){return _0x4c8160+_0x249167;},'ewjFk':function(_0x272a70,_0x1dbbac){return _0x272a70+_0x1dbbac;},'ykAjZ':function(_0x44b3f8,_0x176f1e){return _0x44b3f8&&_0x176f1e;},'EvvGe':function(_0x4b12c0,_0x3ca29f,_0x81ea02){return _0x4b12c0(_0x3ca29f,_0x81ea02);},'TBYiO':function(_0x53f1c0,_0x21ecc0,_0x2d4a52){return _0x53f1c0(_0x21ecc0,_0x2d4a52);},'HjDGx':function(_0x1cd25b,_0x57f472,_0x350a49){return _0x1cd25b(_0x57f472,_0x350a49);},'LSfiq':_0x2b9cf6(0x194)},{isPlaywright:_0x374379,type:_0x35555f}=_0x2f83f1['BtwXN'](detectDriverType,_0x200924),_0x21ba68=_0x374379?_0x43e3fe['accessibilityPlatform']:accessibilityHelper[_0x2b9cf6(0x24c)]()&&globals['getGlobal'](_0x2f83f1[_0x2b9cf6(0x1c5)]);if(!_0x21ba68)return logger[_0x2b9cf6(0x192)](_0x2b9cf6(0x19c)+_0x35555f+_0x2b9cf6(0x235)),[];let _0x136a8e=null;for(let _0x387977=0x1;_0x2f83f1[_0x2b9cf6(0x23e)](_0x387977,_0x2f83f1[_0x2b9cf6(0x1c3)](RETRY_CONFIG[_0x2b9cf6(0x24e)],0x1));_0x387977++){try{logger[_0x2b9cf6(0x217)]('Accessibility\x20results\x20retrieval\x20attempt\x20'+_0x387977+'/'+_0x2f83f1['ewjFk'](RETRY_CONFIG['maxRetries'],0x1)+'\x20('+_0x35555f+')');let _0x7e8813;return _0x2f83f1[_0x2b9cf6(0x23a)](_0x374379,playwrightA11yHelper)?(_0x2f83f1['EvvGe'](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x2b9cf6(0x229)](_0x200924,RETRY_CONFIG[_0x2b9cf6(0x1b8)]),_0x7e8813=await _0x2f83f1['TBYiO'](withTimeout,playwrightA11yHelper['getAccessibilityResults'](_0x200924),RETRY_CONFIG[_0x2b9cf6(0x1b8)]),await exports['setPlaywrightScriptTimeout'](_0x200924,RETRY_CONFIG['defaultTimeoutMs'])):(await exports[_0x2b9cf6(0x24d)](_0x200924,RETRY_CONFIG[_0x2b9cf6(0x1b8)]),_0x7e8813=await _0x2f83f1[_0x2b9cf6(0x197)](withTimeout,accessibilityHelper[_0x2b9cf6(0x211)](_0x200924,_0x43e3fe),RETRY_CONFIG[_0x2b9cf6(0x1b8)]),await exports[_0x2b9cf6(0x24d)](_0x200924,RETRY_CONFIG[_0x2b9cf6(0x1b7)])),logger[_0x2b9cf6(0x224)](_0x2b9cf6(0x1d5)+_0x387977+'\x20('+_0x35555f+')'),_0x7e8813;}catch(_0x2ea6cf){_0x136a8e=_0x2ea6cf,logger[_0x2b9cf6(0x192)](_0x2b9cf6(0x1ee)+_0x387977+_0x2b9cf6(0x1af)+_0x35555f+_0x2b9cf6(0x1fb)+_0x2ea6cf[_0x2b9cf6(0x201)]);}}return logger[_0x2b9cf6(0x1aa)](_0x2b9cf6(0x231)+_0x35555f+').\x20Last\x20error:\x20'+(_0x136a8e?.['message']||_0x2f83f1[_0x2b9cf6(0x206)])),[];},exports[a106_0x108359(0x1f7)]=async(_0x5e7a8c,_0x3a9b6c)=>{const _0x295cc1=a106_0x108359,_0x2b335f={'Tfehm':function(_0x27c1bf,_0x572b91){return _0x27c1bf(_0x572b91);},'jYAmM':'isAccessibilityPlatform','vInlp':function(_0x19d0cd,_0x30f9c2){return _0x19d0cd<=_0x30f9c2;},'ypMmk':function(_0xa94b30,_0xdcf1bf){return _0xa94b30+_0xdcf1bf;},'UhQvo':function(_0x3cae28,_0x333e5a){return _0x3cae28+_0x333e5a;},'ZIsVS':function(_0x73caf3,_0x3fe8db){return _0x73caf3&&_0x3fe8db;},'ZIFRV':function(_0x56a629,_0x22edcf,_0x798628){return _0x56a629(_0x22edcf,_0x798628);},'qahsl':function(_0x75fe99,_0x2e80d9,_0x45037e){return _0x75fe99(_0x2e80d9,_0x45037e);},'tYRur':'Unknown\x20error'},{isPlaywright:_0x82de71,type:_0x29fe0f}=_0x2b335f['Tfehm'](detectDriverType,_0x5e7a8c),_0x574d89=_0x82de71?_0x3a9b6c['accessibilityPlatform']:accessibilityHelper['isAccessibilityAutomationSession']()&&globals[_0x295cc1(0x25e)](_0x2b335f[_0x295cc1(0x22e)]);if(!_0x574d89)return logger['warn'](_0x295cc1(0x19c)+_0x29fe0f+',\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary\x20with\x20retry.'),{};let _0x2b3d87=null;for(let _0x136e77=0x1;_0x2b335f[_0x295cc1(0x255)](_0x136e77,_0x2b335f[_0x295cc1(0x1ce)](RETRY_CONFIG['maxRetries'],0x1));_0x136e77++){try{logger[_0x295cc1(0x217)](_0x295cc1(0x193)+_0x136e77+'/'+_0x2b335f[_0x295cc1(0x25d)](RETRY_CONFIG[_0x295cc1(0x24e)],0x1)+'\x20('+_0x29fe0f+')');let _0x55ea2a;return _0x2b335f[_0x295cc1(0x1f5)](_0x82de71,playwrightA11yHelper)?(_0x2b335f['ZIFRV'](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x295cc1(0x229)](_0x5e7a8c,RETRY_CONFIG[_0x295cc1(0x1b8)]),_0x55ea2a=await _0x2b335f['ZIFRV'](withTimeout,playwrightA11yHelper[_0x295cc1(0x236)](_0x5e7a8c),RETRY_CONFIG[_0x295cc1(0x1b8)]),await exports[_0x295cc1(0x229)](_0x5e7a8c,RETRY_CONFIG['defaultTimeoutMs'])):(await exports[_0x295cc1(0x24d)](_0x5e7a8c,RETRY_CONFIG[_0x295cc1(0x1b8)]),_0x55ea2a=await _0x2b335f[_0x295cc1(0x1da)](withTimeout,accessibilityHelper[_0x295cc1(0x236)](_0x5e7a8c,_0x3a9b6c),RETRY_CONFIG[_0x295cc1(0x1b8)]),await exports[_0x295cc1(0x24d)](_0x5e7a8c,RETRY_CONFIG[_0x295cc1(0x1b7)])),logger[_0x295cc1(0x224)](_0x295cc1(0x191)+_0x136e77+'\x20('+_0x29fe0f+')'),_0x55ea2a;}catch(_0xb21c5b){_0x2b3d87=_0xb21c5b,logger[_0x295cc1(0x192)]('Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20'+_0x136e77+_0x295cc1(0x1af)+_0x29fe0f+').\x20Error:\x20'+_0xb21c5b['message']);}}return logger[_0x295cc1(0x1aa)](_0x295cc1(0x21b)+_0x29fe0f+_0x295cc1(0x1b6)+(_0x2b3d87?.[_0x295cc1(0x201)]||_0x2b335f['tYRur'])),{};},exports[a106_0x108359(0x195)]=async(_0xf1d564,_0x3b1ac6,_0x51eb7f=null)=>{const _0x554977=a106_0x108359,_0x5d1414={'LTssr':function(_0x225fba,_0x580825){return _0x225fba(_0x580825);},'Wrdup':function(_0x146462,_0x47b7bf){return _0x146462===_0x47b7bf;},'gTfej':'fulfilled','raWWf':function(_0x1c0beb,_0x3fd69e){return _0x1c0beb===_0x3fd69e;},'SsPkT':_0x554977(0x261),'YwhnG':function(_0x57c8,_0x4897e7){return _0x57c8===_0x4897e7;},'liddD':_0x554977(0x1a1)},{isPlaywright:_0x32fac9,type:_0x59e2d9}=_0x5d1414[_0x554977(0x196)](detectDriverType,_0xf1d564),_0x39a7b2={};_0x39a7b2[_0x554977(0x19f)]=![],_0x39a7b2[_0x554977(0x1fe)]=[],_0x39a7b2['summary']={},_0x39a7b2[_0x554977(0x1aa)]=null,_0x39a7b2[_0x554977(0x219)]=_0x59e2d9;const _0x4a2b19=_0x39a7b2;try{_0x4a2b19[_0x554977(0x19f)]=await exports[_0x554977(0x1b4)](_0xf1d564,_0x51eb7f);if(_0x4a2b19['scanSucceeded']){const [_0x1e6ef6,_0x33d11c]=await Promise[_0x554977(0x1a6)]([exports[_0x554977(0x260)](_0xf1d564,_0x3b1ac6),exports[_0x554977(0x1f7)](_0xf1d564,_0x3b1ac6)]);_0x4a2b19['results']=_0x5d1414[_0x554977(0x1e0)](_0x1e6ef6[_0x554977(0x232)],_0x5d1414[_0x554977(0x1c2)])?_0x1e6ef6[_0x554977(0x21d)]:[],_0x4a2b19['summary']=_0x5d1414[_0x554977(0x22f)](_0x33d11c['status'],_0x5d1414[_0x554977(0x1c2)])?_0x33d11c[_0x554977(0x21d)]:{},_0x5d1414[_0x554977(0x22f)](_0x1e6ef6[_0x554977(0x232)],_0x5d1414[_0x554977(0x202)])&&logger['warn'](_0x554977(0x25c)+_0x59e2d9+'):\x20'+_0x1e6ef6['reason']?.[_0x554977(0x201)]),_0x5d1414[_0x554977(0x256)](_0x33d11c[_0x554977(0x232)],_0x5d1414[_0x554977(0x202)])&&logger['warn']('Failed\x20to\x20retrieve\x20accessibility\x20summary\x20('+_0x59e2d9+'):\x20'+_0x33d11c[_0x554977(0x1d2)]?.[_0x554977(0x201)]);}}catch(_0x2dc502){_0x4a2b19[_0x554977(0x1aa)]=_0x2dc502['message']||_0x5d1414['liddD'],logger[_0x554977(0x1aa)](_0x554977(0x1f0)+_0x59e2d9+_0x554977(0x1a3)+_0x4a2b19[_0x554977(0x1aa)]);}return _0x4a2b19;},exports['updateRetryConfig']=_0x565256=>{const _0x5e58b5=a106_0x108359,_0x590a27={};_0x590a27[_0x5e58b5(0x1b1)]=function(_0x114e29,_0x525446){return _0x114e29!==_0x525446;};const _0x5455e5=_0x590a27;_0x5455e5[_0x5e58b5(0x1b1)](_0x565256[_0x5e58b5(0x24e)],undefined)&&(RETRY_CONFIG[_0x5e58b5(0x24e)]=Math[_0x5e58b5(0x200)](0x0,_0x565256[_0x5e58b5(0x24e)])),_0x5455e5[_0x5e58b5(0x1b1)](_0x565256[_0x5e58b5(0x1b8)],undefined)&&(RETRY_CONFIG[_0x5e58b5(0x1b8)]=Math[_0x5e58b5(0x200)](0x3e8,_0x565256[_0x5e58b5(0x1b8)])),logger[_0x5e58b5(0x217)]('Accessibility\x20retry\x20configuration\x20updated:\x20'+JSON[_0x5e58b5(0x1fd)](RETRY_CONFIG));},exports[a106_0x108359(0x227)]=()=>{const _0x38f718={...RETRY_CONFIG};return _0x38f718;},exports[a106_0x108359(0x20c)]=_0x56b39f=>{const _0x4332dc=a106_0x108359,_0x424ce9={'LUSEl':function(_0x24eb8c,_0x30a1f6){return _0x24eb8c(_0x30a1f6);}};return _0x424ce9[_0x4332dc(0x22c)](detectDriverType,_0x56b39f)['isPlaywright'];},exports['isSeleniumDriver']=_0x19ae73=>{const _0x103813=a106_0x108359,_0x537d1f={'JEDSB':function(_0x4b1102,_0x18ca5f){return _0x4b1102(_0x18ca5f);},'uUhpk':function(_0x35a8a5,_0x1268ab){return _0x35a8a5===_0x1268ab;},'KYkNN':'selenium-webdriver'},{isPlaywright:_0xd27282,type:_0xd351e0}=_0x537d1f[_0x103813(0x209)](detectDriverType,_0x19ae73);return!_0xd27282&&_0x537d1f[_0x103813(0x20b)](_0xd351e0,_0x537d1f[_0x103813(0x1a9)]);},exports[a106_0x108359(0x229)]=async(_0x5336f1,_0x853cca=null)=>{const _0x3ece4d=a106_0x108359,_0x4cc12b={'FKmgi':function(_0x458dcd,_0x100580){return _0x458dcd(_0x100580);},'fOVmc':function(_0x2f7853,_0xc99939){return _0x2f7853===_0xc99939;},'syGGc':_0x3ece4d(0x1d6)},{isPlaywright:_0x51aea8,type:_0x17d426}=_0x4cc12b[_0x3ece4d(0x239)](detectDriverType,_0x5336f1);if(!_0x51aea8)return logger['debug'](_0x3ece4d(0x1a8)+_0x17d426+_0x3ece4d(0x1ff)),!![];const _0x431b10=_0x853cca||RETRY_CONFIG[_0x3ece4d(0x1b7)];try{return _0x5336f1&&_0x4cc12b[_0x3ece4d(0x1c9)](typeof _0x5336f1[_0x3ece4d(0x1e1)],_0x4cc12b['syGGc'])&&(await _0x5336f1[_0x3ece4d(0x1e1)](_0x431b10),logger[_0x3ece4d(0x217)](_0x3ece4d(0x1e9)+_0x431b10+'ms')),!![];}catch(_0x3599a4){return logger[_0x3ece4d(0x192)]('Failed\x20to\x20set\x20Playwright\x20script\x20timeout:\x20'+_0x3599a4['message']),![];}},exports[a106_0x108359(0x24d)]=async(_0x1bd9e3,_0x371180=null)=>{const _0x4c4c8e=a106_0x108359,_0x1172a5={};_0x1172a5[_0x4c4c8e(0x22d)]=_0x4c4c8e(0x1d3),_0x1172a5['AWEhy']=function(_0x35bdaa,_0x18895f){return _0x35bdaa===_0x18895f;},_0x1172a5[_0x4c4c8e(0x1ea)]=_0x4c4c8e(0x1d6),_0x1172a5[_0x4c4c8e(0x1f4)]=function(_0x3c2678,_0x39e9a5){return _0x3c2678===_0x39e9a5;},_0x1172a5[_0x4c4c8e(0x228)]=function(_0x27837c,_0x21716c){return _0x27837c===_0x21716c;},_0x1172a5['tiPKx']=_0x4c4c8e(0x21f),_0x1172a5[_0x4c4c8e(0x1a7)]=_0x4c4c8e(0x205);const _0x50f603=_0x1172a5;if(!exports['isSeleniumDriver'](_0x1bd9e3))return logger[_0x4c4c8e(0x192)](_0x50f603[_0x4c4c8e(0x22d)]),![];const _0x15e2e6=_0x371180||RETRY_CONFIG['defaultTimeoutMs'];try{if(_0x1bd9e3&&_0x50f603[_0x4c4c8e(0x1ad)](typeof _0x1bd9e3[_0x4c4c8e(0x190)],_0x50f603['IMRtw'])){const _0x5b6c6e=_0x1bd9e3['manage']();if(_0x5b6c6e&&_0x50f603['AWEhy'](typeof _0x5b6c6e[_0x4c4c8e(0x20e)],_0x50f603[_0x4c4c8e(0x1ea)]))await _0x5b6c6e[_0x4c4c8e(0x20e)]()[_0x4c4c8e(0x245)](_0x15e2e6),logger[_0x4c4c8e(0x217)](_0x4c4c8e(0x1bf)+_0x15e2e6+_0x4c4c8e(0x1de));else{if(_0x5b6c6e&&_0x50f603[_0x4c4c8e(0x1f4)](typeof _0x5b6c6e[_0x4c4c8e(0x253)],_0x50f603[_0x4c4c8e(0x1ea)])){const _0x175604={};_0x175604[_0x4c4c8e(0x221)]=_0x15e2e6,await _0x5b6c6e[_0x4c4c8e(0x253)](_0x175604),logger['debug'](_0x4c4c8e(0x1bf)+_0x15e2e6+_0x4c4c8e(0x243));}else{if(_0x5b6c6e&&_0x50f603[_0x4c4c8e(0x228)](typeof _0x5b6c6e[_0x4c4c8e(0x245)],_0x50f603[_0x4c4c8e(0x1ea)]))await _0x5b6c6e[_0x4c4c8e(0x245)](_0x15e2e6),logger['debug'](_0x4c4c8e(0x1bf)+_0x15e2e6+_0x4c4c8e(0x1ed));else return logger['debug'](_0x50f603[_0x4c4c8e(0x25f)]),!![];}}}else return logger[_0x4c4c8e(0x217)](_0x50f603['lLPSx']),!![];return!![];}catch(_0x2742b1){return logger[_0x4c4c8e(0x192)](_0x4c4c8e(0x1d4)+_0x2742b1[_0x4c4c8e(0x201)]),![];}},exports['saveAccessibilityResultsWithRetry']=async(_0x385b98,_0x33b608)=>{const _0x193246=a106_0x108359,_0x523299={'IKbeb':function(_0x16902e,_0x55573f){return _0x16902e(_0x55573f);},'zgmZX':_0x193246(0x203),'kLdLx':function(_0x55b22a,_0x3e302d){return _0x55b22a<=_0x3e302d;},'cnahX':function(_0xaa2a60,_0x41e694){return _0xaa2a60+_0x41e694;},'sZafW':function(_0x17bcf5,_0x322659){return _0x17bcf5&&_0x322659;},'dVJys':function(_0x2e88f3,_0x105ab6,_0x40ba4f){return _0x2e88f3(_0x105ab6,_0x40ba4f);},'jjRYm':_0x193246(0x1d8),'KOFdX':_0x193246(0x194)},{isPlaywright:_0x3491d1,type:_0x1739d5}=_0x523299[_0x193246(0x1c1)](detectDriverType,_0x385b98),_0x2c35d5=_0x3491d1?global[_0x193246(0x1d9)]:accessibilityHelper[_0x193246(0x24c)]()&&globals[_0x193246(0x25e)](_0x523299[_0x193246(0x21c)]);if(!_0x2c35d5)return logger[_0x193246(0x192)](_0x193246(0x19c)+_0x1739d5+_0x193246(0x1cb)),![];let _0x229fb6=null;for(let _0x416ddb=0x1;_0x523299['kLdLx'](_0x416ddb,_0x523299[_0x193246(0x230)](RETRY_CONFIG[_0x193246(0x24e)],0x1));_0x416ddb++){try{logger[_0x193246(0x217)](_0x193246(0x1c8)+_0x416ddb+'/'+_0x523299[_0x193246(0x230)](RETRY_CONFIG[_0x193246(0x24e)],0x1)+'\x20('+_0x1739d5+')');if(_0x523299['sZafW'](_0x3491d1,playwrightA11yHelper)){_0x523299[_0x193246(0x234)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x193246(0x229)](_0x385b98,RETRY_CONFIG[_0x193246(0x1b8)]);const _0x17b2f6={};_0x17b2f6[_0x193246(0x240)]=!![];const _0x362734=global[_0x193246(0x1d8)]?Object[_0x193246(0x19a)]({},_0x33b608,_0x17b2f6):_0x33b608;await _0x523299[_0x193246(0x234)](withTimeout,playwrightA11yHelper[_0x193246(0x1ac)](_0x385b98,scripts[_0x193246(0x1e4)],_0x362734),RETRY_CONFIG[_0x193246(0x1b8)]),await exports['setPlaywrightScriptTimeout'](_0x385b98,RETRY_CONFIG['defaultTimeoutMs']);}else{await exports[_0x193246(0x24d)](_0x385b98,RETRY_CONFIG[_0x193246(0x1b8)]);const _0x3e6c75={};_0x3e6c75[_0x193246(0x240)]=!![];const _0x57578c=globals[_0x193246(0x25e)](_0x523299[_0x193246(0x1bb)])?Object['assign']({},_0x33b608,_0x3e6c75):_0x33b608;await _0x523299['dVJys'](withTimeout,_0x385b98[_0x193246(0x24b)](scripts[_0x193246(0x1e4)],_0x57578c),RETRY_CONFIG[_0x193246(0x1b8)]),await exports[_0x193246(0x24d)](_0x385b98,RETRY_CONFIG['defaultTimeoutMs']);}return logger[_0x193246(0x224)](_0x193246(0x1cc)+_0x416ddb+'\x20('+_0x1739d5+')'),!![];}catch(_0x1c1aa4){_0x229fb6=_0x1c1aa4,logger[_0x193246(0x192)](_0x193246(0x1c8)+_0x416ddb+_0x193246(0x1af)+_0x1739d5+').\x20Error:\x20'+_0x1c1aa4['message']);}}return logger[_0x193246(0x1aa)](_0x193246(0x1ca)+_0x1739d5+_0x193246(0x1b6)+(_0x229fb6?.['message']||_0x523299[_0x193246(0x225)])),![];};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a107_0x586af8=a107_0xf57c;function a107_0xf57c(_0x3e032e,_0x12b003){var _0x57a3da=a107_0x57a3();return a107_0xf57c=function(_0xf57c4d,_0x7e745f){_0xf57c4d=_0xf57c4d-0x17a;var _0x44ca57=_0x57a3da[_0xf57c4d];return _0x44ca57;},a107_0xf57c(_0x3e032e,_0x12b003);}(function(_0x40a55b,_0x15ddf5){var _0x2b36f6=a107_0xf57c,_0x34d55a=_0x40a55b();while(!![]){try{var _0xbac76b=parseInt(_0x2b36f6(0x185))/0x1+-parseInt(_0x2b36f6(0x18c))/0x2*(-parseInt(_0x2b36f6(0x17e))/0x3)+-parseInt(_0x2b36f6(0x182))/0x4+parseInt(_0x2b36f6(0x17a))/0x5*(-parseInt(_0x2b36f6(0x17b))/0x6)+parseInt(_0x2b36f6(0x18a))/0x7+-parseInt(_0x2b36f6(0x18b))/0x8*(parseInt(_0x2b36f6(0x190))/0x9)+-parseInt(_0x2b36f6(0x192))/0xa*(-parseInt(_0x2b36f6(0x186))/0xb);if(_0xbac76b===_0x15ddf5)break;else _0x34d55a['push'](_0x34d55a['shift']());}catch(_0x56afcd){_0x34d55a['push'](_0x34d55a['shift']());}}}(a107_0x57a3,0x7de0a),exports[a107_0x586af8(0x18f)]=a107_0x586af8(0x181),exports[a107_0x586af8(0x18e)]='94',exports['MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY']='100',exports[a107_0x586af8(0x17f)]=a107_0x586af8(0x194),exports[a107_0x586af8(0x189)]=a107_0x586af8(0x187));var a107_0x2080d2={};a107_0x2080d2[a107_0x586af8(0x17c)]=a107_0x586af8(0x18d),a107_0x2080d2['min_version_browserstack']=0x5e,a107_0x2080d2[a107_0x586af8(0x184)]=0x64,a107_0x2080d2[a107_0x586af8(0x17d)]=!![];var a107_0x34fa6a={};function a107_0x57a3(){var _0x5e9804=['2422892bBfOTg','ChromeForTesting','min_version_non_browserstack','813049yRLIGE','11LixWqq','18.4','min_version_browserstack','MINIMUM_SAFARI_VERSION','3385522oUWUzb','2874056iUUuWu','27298wEXAfr','Chrome','MINIMUM_BROWSER_VERSION_ACCESSIBILITY','API_URL','18KxZLAR','playwright-chromium','12955160GuVxcb','safari','141','chromium','740725sTOdeo','36prSzDx','display_name','requires_chrome_options_check','30iyzTxM','MINIMUM_CHROMEFORTESTING_VERSION','ACCESSIBILITY_SUPPORTED_BROWSERS','https://accessibility.browserstack.com/api'];a107_0x57a3=function(){return _0x5e9804;};return a107_0x57a3();}a107_0x34fa6a[a107_0x586af8(0x17c)]=a107_0x586af8(0x18d),a107_0x34fa6a[a107_0x586af8(0x188)]=0x5e,a107_0x34fa6a[a107_0x586af8(0x184)]=0x64,a107_0x34fa6a[a107_0x586af8(0x17d)]=!![];var a107_0x394a02={};a107_0x394a02[a107_0x586af8(0x17c)]='Chrome',a107_0x394a02[a107_0x586af8(0x188)]=0x5e,a107_0x394a02[a107_0x586af8(0x184)]=0x64,a107_0x394a02[a107_0x586af8(0x17d)]=!![];var a107_0x4b6b96={};a107_0x4b6b96[a107_0x586af8(0x17c)]=a107_0x586af8(0x183),a107_0x4b6b96['min_version_browserstack']=0x8d,a107_0x4b6b96[a107_0x586af8(0x184)]=0x8d,a107_0x4b6b96['requires_chrome_options_check']=!![];var a107_0x1e7ecf={};a107_0x1e7ecf[a107_0x586af8(0x17c)]='Safari',a107_0x1e7ecf[a107_0x586af8(0x188)]=18.4,a107_0x1e7ecf['min_version_non_browserstack']=18.4,a107_0x1e7ecf[a107_0x586af8(0x17d)]=![];var a107_0x3b691a={};a107_0x3b691a['chrome']=a107_0x2080d2,a107_0x3b691a[a107_0x586af8(0x195)]=a107_0x34fa6a,a107_0x3b691a[a107_0x586af8(0x191)]=a107_0x394a02,a107_0x3b691a['chromefortesting']=a107_0x4b6b96,a107_0x3b691a[a107_0x586af8(0x193)]=a107_0x1e7ecf,exports[a107_0x586af8(0x180)]=a107_0x3b691a;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a108_0x4d581a=a108_0x2f04;function a108_0x2f04(_0xad11,_0x4068ed){const _0x3e18bb=a108_0x3e18();return a108_0x2f04=function(_0x2f04da,_0x7e1959){_0x2f04da=_0x2f04da-0x12f;let _0x156a70=_0x3e18bb[_0x2f04da];return _0x156a70;},a108_0x2f04(_0xad11,_0x4068ed);}(function(_0x30808e,_0x102af9){const _0x5a1959=a108_0x2f04,_0x102445=_0x30808e();while(!![]){try{const _0x395495=parseInt(_0x5a1959(0x150))/0x1*(-parseInt(_0x5a1959(0x173))/0x2)+-parseInt(_0x5a1959(0x1e0))/0x3*(-parseInt(_0x5a1959(0x196))/0x4)+-parseInt(_0x5a1959(0x18b))/0x5+parseInt(_0x5a1959(0x18a))/0x6+parseInt(_0x5a1959(0x1d7))/0x7*(parseInt(_0x5a1959(0x217))/0x8)+parseInt(_0x5a1959(0x20f))/0x9+-parseInt(_0x5a1959(0x159))/0xa*(parseInt(_0x5a1959(0x165))/0xb);if(_0x395495===_0x102af9)break;else _0x102445['push'](_0x102445['shift']());}catch(_0x1e64f3){_0x102445['push'](_0x102445['shift']());}}}(a108_0x3e18,0x8d929));const path=require(a108_0x4d581a(0x1fa)),util=require('util'),bsSetupHelper=require('../helper'),logger=require(a108_0x4d581a(0x1f7))[a108_0x4d581a(0x221)],{API_URL,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY,ACCESSIBILITY_SUPPORTED_BROWSERS}=require('./constants'),PerformanceTester=require(a108_0x4d581a(0x1ce)),scripts=require(a108_0x4d581a(0x136)),globals=require('../globals'),{A11Y_EVENTS:PerformanceA11yEvents}=require('../performance/constants');exports[a108_0x4d581a(0x19c)]=async _0x13e748=>{const _0x1d1881=a108_0x4d581a,_0x336ea3={};_0x336ea3[_0x1d1881(0x1e8)]=function(_0x412aa6,_0x49e994){return _0x412aa6===_0x49e994;},_0x336ea3[_0x1d1881(0x130)]=_0x1d1881(0x180);const _0x584b87=_0x336ea3;let _0x5bf9aa={};try{const _0xda3796=await _0x13e748['getCapabilities']();_0x5bf9aa={'os_name':_0xda3796['getPlatform'](),'os_version':bsSetupHelper[_0x1d1881(0x211)](_0x584b87[_0x1d1881(0x1e8)](global[_0x1d1881(0x243)],_0x584b87[_0x1d1881(0x130)])),'browser_name':_0xda3796[_0x1d1881(0x1a8)](),'browser_version':_0xda3796['getBrowserVersion']()};}catch(_0x5e9b5f){logger[_0x1d1881(0x170)](_0x1d1881(0x168)+_0x5e9b5f);}return _0x5bf9aa;},exports[a108_0x4d581a(0x15f)]=()=>{const _0x267c2c=a108_0x4d581a,_0x1258ae={};_0x1258ae[_0x267c2c(0x1c3)]=function(_0x27b868,_0x4f570d){return _0x27b868===_0x4f570d;},_0x1258ae['SrcSQ']=_0x267c2c(0x186),_0x1258ae[_0x267c2c(0x139)]=function(_0x454f59,_0xd46fdf){return _0x454f59>_0xd46fdf;},_0x1258ae[_0x267c2c(0x1f0)]=function(_0x2967bb,_0x155a71){return _0x2967bb!==_0x155a71;},_0x1258ae['NlzDi']=_0x267c2c(0x13d),_0x1258ae[_0x267c2c(0x16a)]=function(_0x2ae3c7,_0x272c3c){return _0x2ae3c7&&_0x272c3c;};const _0x4fcda2=_0x1258ae;try{const _0x530128=bsSetupHelper[_0x267c2c(0x1bc)](process[_0x267c2c(0x17a)][_0x267c2c(0x23a)])||bsSetupHelper[_0x267c2c(0x1bc)](process[_0x267c2c(0x17a)][_0x267c2c(0x240)]),_0x567983=_0x4fcda2['UtfDN'](typeof process[_0x267c2c(0x17a)][_0x267c2c(0x1a7)],_0x4fcda2[_0x267c2c(0x1e6)])&&_0x4fcda2[_0x267c2c(0x139)](process[_0x267c2c(0x17a)][_0x267c2c(0x1a7)][_0x267c2c(0x14a)],0x0)&&_0x4fcda2[_0x267c2c(0x1f0)](process['env']['BS_A11Y_JWT'],_0x4fcda2['NlzDi']);return _0x4fcda2[_0x267c2c(0x16a)](_0x530128,_0x567983);}catch(_0x270000){logger[_0x267c2c(0x170)](_0x267c2c(0x22e)+_0x270000);}return![];},exports[a108_0x4d581a(0x209)]=(_0x5effec,_0x1a4012)=>{const _0x135fb7=a108_0x4d581a,_0x584a75={'cLRGu':'browserName','qdmIl':function(_0x20fb00,_0x5ed33e){return _0x20fb00(_0x5ed33e);},'nuZcb':_0x135fb7(0x166),'EQlPC':function(_0x524bd5,_0x5e9473){return _0x524bd5(_0x5e9473);},'oQVgw':'version','rZqTZ':_0x135fb7(0x1d0),'qlcqX':_0x135fb7(0x137),'JvmsR':_0x135fb7(0x22f),'cbQjD':_0x135fb7(0x1f9),'RvbCY':'selenium-webdriver/chrome.js','erOTX':_0x135fb7(0x1dc),'PcpeA':_0x135fb7(0x1b0),'oGGCW':_0x135fb7(0x22c),'TnziH':'chromeOptions','calkG':_0x135fb7(0x174),'qsMoH':_0x135fb7(0x1df),'zwHPS':function(_0x9ba1fd,_0x162a44){return _0x9ba1fd===_0x162a44;},'yoeSz':_0x135fb7(0x1d1),'Vilas':function(_0x45d331,_0x582050){return _0x45d331>=_0x582050;}},_0xb41366=_0x5effec[_0x135fb7(0x218)](_0x584a75[_0x135fb7(0x1e9)]),_0x87e1c=_0x584a75[_0x135fb7(0x14b)](parseFloat,_0x5effec[_0x135fb7(0x218)](_0x584a75[_0x135fb7(0x1b4)]))||_0x584a75[_0x135fb7(0x149)](parseFloat,_0x5effec[_0x135fb7(0x218)](_0x584a75[_0x135fb7(0x142)])),_0x27698c=_0x5effec[_0x135fb7(0x218)](_0x584a75['rZqTZ'])||{},_0x4a1c60=_0x584a75[_0x135fb7(0x14b)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY),_0x3e72ec=_0x27698c[_0x584a75[_0x135fb7(0x22d)]]||_0x5effec[_0x135fb7(0x218)](_0x584a75[_0x135fb7(0x154)])||![];if(_0x3e72ec)return logger[_0x135fb7(0x1ae)](_0x584a75[_0x135fb7(0x21d)]),![];let _0x4f488e;try{_0x4f488e=bsSetupHelper[_0x135fb7(0x151)](_0x584a75[_0x135fb7(0x1e2)],_0x584a75[_0x135fb7(0x175)]);}catch(_0x22053f){return![];}const _0x4c975e=new _0x4f488e['Options'](_0x1a4012[_0x135fb7(0x15a)]),_0x18c569=bsSetupHelper[_0x135fb7(0x1ca)](_0x4c975e,[_0x584a75['PcpeA'],_0x584a75[_0x135fb7(0x147)]])||bsSetupHelper[_0x135fb7(0x1ca)](_0x1a4012[_0x135fb7(0x19d)],[_0x584a75['rZqTZ'],_0x584a75[_0x135fb7(0x152)],_0x584a75[_0x135fb7(0x147)]])||bsSetupHelper[_0x135fb7(0x1ca)](_0x1a4012['capabilities_'],[_0x584a75[_0x135fb7(0x152)],_0x584a75[_0x135fb7(0x147)]])||[],_0x1cc388=Array[_0x135fb7(0x233)](_0x18c569)?_0x18c569:[];if(_0x1cc388['some'](_0x595f4b=>typeof _0x595f4b===_0x135fb7(0x186)&&(_0x595f4b==='--headless'||_0x595f4b[_0x135fb7(0x135)](_0x135fb7(0x1eb))&&_0x595f4b!==_0x135fb7(0x1a3))))return logger[_0x135fb7(0x1ae)](_0x584a75[_0x135fb7(0x246)]),![];const _0xc4cfb8=_0x1a4012[_0x135fb7(0x19d)]||{},_0x4e4644=bsSetupHelper[_0x135fb7(0x1ca)](_0xc4cfb8,[_0x584a75[_0x135fb7(0x16d)]])||{},_0x2eaed0=bsSetupHelper[_0x135fb7(0x1ca)](_0x4e4644,[_0x584a75[_0x135fb7(0x147)]])||[],_0x125c92=Array['isArray'](_0x2eaed0)?_0x2eaed0:[];if(_0x125c92[_0x135fb7(0x143)](_0xc18793=>typeof _0xc18793===_0x135fb7(0x186)&&(_0xc18793===_0x135fb7(0x14f)||_0xc18793['startsWith']('--headless=')&&_0xc18793!==_0x135fb7(0x1a3))))return logger[_0x135fb7(0x1ae)](_0x584a75[_0x135fb7(0x246)]),![];if(_0x584a75[_0x135fb7(0x138)](_0xb41366[_0x135fb7(0x14d)](),_0x584a75[_0x135fb7(0x1c0)])&&_0x584a75[_0x135fb7(0x1a4)](_0x87e1c,_0x4a1c60))return!![];return logger[_0x135fb7(0x1ae)](_0x135fb7(0x202)+MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY+'.'),![];},exports[a108_0x4d581a(0x232)]=_0x58ed6b=>{const _0x3229fc=a108_0x4d581a,_0x4a674d={};_0x4a674d[_0x3229fc(0x12f)]=_0x3229fc(0x1df),_0x4a674d[_0x3229fc(0x157)]=function(_0xc3ab94,_0x279774){return _0xc3ab94||_0x279774;},_0x4a674d['jwADr']=_0x3229fc(0x148);const _0x3f3232=_0x4a674d,_0x4115b4=scripts[_0x3229fc(0x241)];try{const _0x2e490a=bsSetupHelper[_0x3229fc(0x1bc)](process[_0x3229fc(0x17a)][_0x3229fc(0x23a)])||bsSetupHelper[_0x3229fc(0x1bc)](process[_0x3229fc(0x17a)][_0x3229fc(0x240)]);if((!bsSetupHelper['isBrowserstackInfra']()||process[_0x3229fc(0x17a)]['BROWSERSTACK_TURBOSCALE'])&&_0x2e490a){const _0x2a95e5=_0x58ed6b[_0x3229fc(0x1ac)](),_0x4fdd35=_0x2a95e5[_0x3229fc(0x218)](_0x3f3232['oWSGH']),_0xc27711=_0x3f3232[_0x3229fc(0x157)](_0x4fdd35,{});bsSetupHelper[_0x3229fc(0x225)](_0xc27711,_0x4115b4),_0x58ed6b['getCapabilities']()['set'](_0x3f3232[_0x3229fc(0x12f)],_0xc27711);}else logger[_0x3229fc(0x1ae)](_0x3f3232['jwADr']);}catch(_0x3bd6d0){logger[_0x3229fc(0x1c1)](_0x3229fc(0x1a1)+_0x3bd6d0);}},exports['shouldScanTestForAccessibility']=(_0x23f870=null,_0x5e6322=!![],_0x54bb92=[])=>{const _0x153c94=a108_0x4d581a,_0x4b470b={};_0x4b470b[_0x153c94(0x19a)]=function(_0x584b08,_0x415648){return _0x584b08==_0x415648;},_0x4b470b['nlZVq']=function(_0x473bdc,_0x23f599){return _0x473bdc>_0x23f599;},_0x4b470b[_0x153c94(0x1e5)]=function(_0x141291,_0x18d4c2){return _0x141291===_0x18d4c2;},_0x4b470b[_0x153c94(0x215)]=function(_0x178e5e,_0x218eb1){return _0x178e5e&&_0x218eb1;};const _0x18ed09=_0x4b470b;if(_0x18ed09['XKrwf'](process[_0x153c94(0x17a)][_0x153c94(0x1c5)],null))return!![];try{const _0x897791=JSON[_0x153c94(0x16e)](process[_0x153c94(0x17a)][_0x153c94(0x1c5)]),_0x4f4caf=Array[_0x153c94(0x233)](_0x897791['includeTagsInTestingScope'])?_0x897791[_0x153c94(0x161)]:[],_0x45a92d=Array[_0x153c94(0x233)](_0x897791[_0x153c94(0x229)])?_0x897791[_0x153c94(0x229)]:[],_0x5c6452=_0x486e0f=>typeof _0x486e0f===_0x153c94(0x186)?_0x486e0f[_0x153c94(0x167)](/^@/,'')['toLowerCase']()[_0x153c94(0x1d6)]():_0x486e0f;if(bsSetupHelper['isUndefined'](_0x23f870)){if(_0x18ed09['nlZVq'](_0x54bb92[_0x153c94(0x14a)],0x0)){const _0x9899d2=_0x54bb92[_0x153c94(0x206)](_0x5c6452),_0x47ae0b=_0x45a92d[_0x153c94(0x143)](_0x4edec7=>_0x9899d2[_0x153c94(0x23e)](_0x5c6452(_0x4edec7))),_0x562dc7=_0x18ed09[_0x153c94(0x1e5)](_0x4f4caf[_0x153c94(0x14a)],0x0)||_0x4f4caf[_0x153c94(0x143)](_0x56419c=>_0x9899d2[_0x153c94(0x23e)](_0x5c6452(_0x56419c)));return _0x18ed09['PGMkZ'](!_0x47ae0b,_0x562dc7);}return!![];}let _0x16daff;_0x5e6322?_0x16daff=_0x23f870[_0x153c94(0x20e)]('/'):_0x16daff=_0x23f870;const _0x50fa09=_0x45a92d[_0x153c94(0x143)](_0x4d8ae6=>_0x16daff[_0x153c94(0x14d)]()['includes'](_0x5c6452(_0x4d8ae6)[_0x153c94(0x14d)]())),_0x26cc7f=_0x18ed09['AaCVD'](_0x4f4caf[_0x153c94(0x14a)],0x0)||_0x4f4caf['some'](_0x4b5755=>_0x16daff[_0x153c94(0x14d)]()[_0x153c94(0x23e)](_0x5c6452(_0x4b5755)[_0x153c94(0x14d)]()));return _0x18ed09[_0x153c94(0x215)](!_0x50fa09,_0x26cc7f);}catch(_0x1fa6d7){logger[_0x153c94(0x170)](_0x153c94(0x13a)+util[_0x153c94(0x228)](_0x1fa6d7));}return![];},exports[a108_0x4d581a(0x220)]=_0x1dd5fd=>{const _0x186e7=a108_0x4d581a;let _0x13d6ad=![];try{_0x1dd5fd['platforms']['forEach'](_0x179a79=>{if(bsSetupHelper['isTrue'](_0x179a79['accessibility']))return _0x13d6ad=!![],!![];});}catch(_0x5d7e67){logger['debug'](_0x186e7(0x1bf)+_0x5d7e67);}return _0x13d6ad||bsSetupHelper[_0x186e7(0x1bc)](_0x1dd5fd[_0x186e7(0x153)]);},exports[a108_0x4d581a(0x236)]=PerformanceTester[a108_0x4d581a(0x179)]('a11y:start',async function(_0x170c16,_0x3bd5d0){const _0x223123=a108_0x4d581a,_0x1e4caa={};_0x1e4caa[_0x223123(0x13f)]=_0x223123(0x22b),_0x1e4caa['ENaNF']='playwright',_0x1e4caa[_0x223123(0x227)]=_0x223123(0x1fe),_0x1e4caa[_0x223123(0x1a5)]='application/json',_0x1e4caa['BSvxT']=_0x223123(0x19f),_0x1e4caa['pMLvg']=_0x223123(0x1cb),_0x1e4caa[_0x223123(0x1aa)]=function(_0xb78fdb,_0x195367){return _0xb78fdb===_0x195367;},_0x1e4caa['jsxzN']=_0x223123(0x15b),_0x1e4caa[_0x223123(0x20d)]=_0x223123(0x248);const _0x38e50d=_0x1e4caa,_0x18f1da=bsSetupHelper[_0x223123(0x146)](_0x170c16),_0x124245=bsSetupHelper[_0x223123(0x1e3)](_0x170c16);if(bsSetupHelper[_0x223123(0x1cc)](_0x18f1da)||bsSetupHelper[_0x223123(0x1cc)](_0x124245))return logger['error'](_0x38e50d[_0x223123(0x13f)]),[null,null];try{let _0x3eb408;bsSetupHelper[_0x223123(0x1cc)](process[_0x223123(0x17a)][_0x223123(0x1c5)])?_0x3eb408={}:_0x3eb408=JSON['parse'](process[_0x223123(0x17a)][_0x223123(0x1c5)]);const {name:_0x435111,version:_0x4239d5}=bsSetupHelper['getTestFrameworkDetails'](_0x170c16,_0x3bd5d0),_0x3fc97c={'projectName':_0x170c16[_0x223123(0x1ed)],'buildName':_0x170c16[_0x223123(0x197)]||path['basename'](path[_0x223123(0x1ad)](process['cwd']())),'startTime':new Date()[_0x223123(0x198)](),'description':_0x170c16[_0x223123(0x1a9)]||'','source':{'frameworkName':_0x3bd5d0[_0x223123(0x23e)](_0x38e50d[_0x223123(0x23b)])?_0x38e50d[_0x223123(0x23b)]:_0x3bd5d0,'frameworkVersion':bsSetupHelper['getPackageVersion'](_0x3bd5d0),'sdkVersion':bsSetupHelper[_0x223123(0x155)](),'language':_0x38e50d[_0x223123(0x227)],'testFramework':_0x435111,'testFrameworkVersion':_0x4239d5},'settings':_0x3eb408,'versionControl':await bsSetupHelper[_0x223123(0x1b8)](),'ciInfo':bsSetupHelper[_0x223123(0x1af)](),'hostInfo':bsSetupHelper[_0x223123(0x189)](),'browserstackAutomation':bsSetupHelper[_0x223123(0x222)]()},_0x56eed9={};_0x56eed9['user']=_0x18f1da,_0x56eed9[_0x223123(0x15e)]=_0x124245;const _0x1c15cb={};_0x1c15cb[_0x223123(0x238)]=_0x38e50d[_0x223123(0x1a5)];const _0xda8084={};_0xda8084[_0x223123(0x162)]=_0x56eed9,_0xda8084[_0x223123(0x245)]=_0x1c15cb;const _0x21a797=_0xda8084,_0x27f2c9={};_0x27f2c9[_0x223123(0x244)]=_0x3fc97c,_0x27f2c9[_0x223123(0x1cd)]=!![];const _0x56d7aa=Object[_0x223123(0x231)](_0x21a797,_0x27f2c9),_0x1ec54b=await bsSetupHelper[_0x223123(0x13e)](_0x38e50d['BSvxT'],_0x38e50d[_0x223123(0x18d)],_0x56d7aa,_0x170c16,API_URL);let _0x5d5ef2=process[_0x223123(0x17a)][_0x223123(0x1c5)];return _0x5d5ef2?_0x5d5ef2=JSON[_0x223123(0x16e)](process[_0x223123(0x17a)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']):_0x5d5ef2={},scripts[_0x223123(0x1be)](_0x1ec54b[_0x223123(0x1ef)][_0x223123(0x1ef)]),scripts['toJson'](),_0x5d5ef2[_0x223123(0x1bb)]=_0x1ec54b['data'][_0x223123(0x1ef)]['scannerVersion'],process[_0x223123(0x17a)][_0x223123(0x1c5)]=JSON[_0x223123(0x1fb)](_0x5d5ef2),[_0x1ec54b[_0x223123(0x1ef)][_0x223123(0x1ef)][_0x223123(0x193)],_0x1ec54b[_0x223123(0x1ef)][_0x223123(0x1ef)]['id']];}catch(_0x14da1c){if(_0x14da1c['response'])logger[_0x223123(0x1c1)]('Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20'+_0x14da1c[_0x223123(0x247)][_0x223123(0x17d)]+'\x20'+_0x14da1c[_0x223123(0x247)][_0x223123(0x235)]+'\x20'+JSON[_0x223123(0x1fb)](_0x14da1c[_0x223123(0x247)]['data']));else{if(_0x38e50d['euUwQ'](_0x14da1c['message'],_0x38e50d[_0x223123(0x219)])){logger[_0x223123(0x1c1)](_0x223123(0x199)+(_0x14da1c[_0x223123(0x176)]||_0x14da1c[_0x223123(0x1c6)]));for(const _0x40c976 of _0x14da1c[_0x223123(0x22a)]){logger[_0x223123(0x1c1)](_0x40c976[_0x223123(0x176)]);}process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x38e50d[_0x223123(0x20d)],process[_0x223123(0x17a)][_0x223123(0x240)]=_0x38e50d[_0x223123(0x20d)];}else logger[_0x223123(0x1c1)](_0x223123(0x199)+(_0x14da1c['message']||_0x14da1c[_0x223123(0x1c6)]));}return[null,null];}}),exports['stopAccessibilityTestRun']=PerformanceTester[a108_0x4d581a(0x179)](a108_0x4d581a(0x1a6),async function(_0x4a17b0){const _0x13d02e=a108_0x4d581a,_0x260848={};_0x260848['efnLy']=function(_0x307162,_0x1e9b90){return _0x307162!==_0x1e9b90;},_0x260848[_0x13d02e(0x15c)]='string',_0x260848[_0x13d02e(0x1b6)]=_0x13d02e(0x1c1),_0x260848[_0x13d02e(0x1bd)]=_0x13d02e(0x156),_0x260848[_0x13d02e(0x212)]=_0x13d02e(0x1ee),_0x260848[_0x13d02e(0x21c)]=_0x13d02e(0x230),_0x260848[_0x13d02e(0x17b)]=_0x13d02e(0x1db),_0x260848[_0x13d02e(0x192)]=function(_0x1ecb29,_0x7df35d){return _0x1ecb29+_0x7df35d;},_0x260848[_0x13d02e(0x216)]=_0x13d02e(0x14e),_0x260848[_0x13d02e(0x187)]=_0x13d02e(0x1c4);const _0x121b71=_0x260848;if(bsSetupHelper['isUndefined'](process['env'][_0x13d02e(0x1a7)])||_0x121b71['efnLy'](typeof process[_0x13d02e(0x17a)][_0x13d02e(0x1a7)],_0x121b71[_0x13d02e(0x15c)])){const _0x227f01={};return _0x227f01[_0x13d02e(0x17d)]=_0x121b71[_0x13d02e(0x1b6)],_0x227f01[_0x13d02e(0x176)]=_0x121b71['AKdRz'],_0x227f01;}const _0x52ffcd={'endTime':new Date()['toISOString']()},_0x6b31d8={};_0x6b31d8[_0x13d02e(0x1f2)]='Bearer\x20'+process[_0x13d02e(0x17a)][_0x13d02e(0x1a7)],_0x6b31d8[_0x13d02e(0x238)]=_0x121b71[_0x13d02e(0x212)];const _0x24e1c3={};_0x24e1c3[_0x13d02e(0x245)]=_0x6b31d8;const _0x408c0b=_0x24e1c3,_0x609399={};_0x609399[_0x13d02e(0x244)]=_0x52ffcd,_0x609399['auth']=null,_0x609399[_0x13d02e(0x1cd)]=!![];const _0x163286=Object[_0x13d02e(0x231)](_0x408c0b,_0x609399);try{const _0x14a3a2=await bsSetupHelper['nodeRequest'](_0x121b71[_0x13d02e(0x21c)],_0x121b71[_0x13d02e(0x17b)],_0x163286,_0x4a17b0,API_URL);if(_0x14a3a2[_0x13d02e(0x1ef)]['error'])throw new Error(_0x121b71['MUpsR'](_0x121b71[_0x13d02e(0x216)],_0x14a3a2[_0x13d02e(0x1ef)]['error']));else{logger[_0x13d02e(0x1c8)](_0x13d02e(0x1ea)+new Date()['toISOString']());const _0x4d4c3a={};return _0x4d4c3a[_0x13d02e(0x17d)]=_0x121b71[_0x13d02e(0x187)],_0x4d4c3a['message']='',_0x4d4c3a;}}catch(_0x106d17){_0x106d17[_0x13d02e(0x247)]?logger[_0x13d02e(0x1c1)]('Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20'+_0x106d17[_0x13d02e(0x247)][_0x13d02e(0x17d)]+'\x20'+_0x106d17[_0x13d02e(0x247)]['statusText']+'\x20'+JSON[_0x13d02e(0x1fb)](_0x106d17[_0x13d02e(0x247)]['data'])):logger[_0x13d02e(0x1c1)]('Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20'+(_0x106d17['message']||util[_0x13d02e(0x228)](_0x106d17)));const _0x2d7b4c={};return _0x2d7b4c[_0x13d02e(0x17d)]=_0x121b71[_0x13d02e(0x1b6)],_0x2d7b4c[_0x13d02e(0x176)]=_0x106d17[_0x13d02e(0x176)]||(_0x106d17[_0x13d02e(0x247)]?_0x106d17['response'][_0x13d02e(0x17d)]+':'+_0x106d17[_0x13d02e(0x247)]['statusText']:_0x106d17),_0x2d7b4c;}}),exports['performScan']=async(_0x2e227a,_0x3cf7f3=null,_0x1ce9cb=![],_0x24985f=null)=>{const _0x1b8490=a108_0x4d581a,_0x34a174={};_0x34a174['dkwQr']=_0x1b8490(0x1fd),_0x34a174['ulVSl']=_0x1b8490(0x1a2),_0x34a174['hMCcI']=_0x1b8490(0x1ff),_0x34a174[_0x1b8490(0x132)]=function(_0x5355ac,_0x241043){return _0x5355ac||_0x241043;},_0x34a174[_0x1b8490(0x1f6)]='bstackA11yScanOptions',_0x34a174['djkND']=_0x1b8490(0x191);const _0x124db0=_0x34a174;if(!this['isAccessibilityAutomationSession']()||!globals[_0x1b8490(0x1c7)](_0x124db0[_0x1b8490(0x1e7)])||!_0x1ce9cb&&!globals[_0x1b8490(0x1c7)](_0x124db0[_0x1b8490(0x1d2)])){logger[_0x1b8490(0x1ae)](_0x124db0[_0x1b8490(0x1e4)]);return;}const _0x167f0f=_0x1ce9cb?_0x124db0[_0x1b8490(0x132)](_0x24985f,{}):globals[_0x1b8490(0x1c7)](_0x124db0[_0x1b8490(0x1f6)])||{},_0x39a920={};_0x39a920[_0x1b8490(0x17f)]=_0x3cf7f3||global[_0x1b8490(0x1b7)];const _0x37845e=Object[_0x1b8490(0x231)]({},_0x167f0f,_0x39a920);await this[_0x1b8490(0x19b)](_0x2e227a)&&(Object[_0x1b8490(0x231)](_0x37845e,this[_0x1b8490(0x13c)](),{'thTestRunUuid':this[_0x1b8490(0x205)]()}),logger[_0x1b8490(0x170)](_0x124db0['djkND']));logger[_0x1b8490(0x170)](_0x1b8490(0x210)+util['format']('%j',_0x37845e));const _0x2a9df4={};return _0x2a9df4[_0x1b8490(0x200)]=_0x3cf7f3,await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x1b8490(0x18f)],async()=>{const _0x59b81b=_0x1b8490;try{await _0x2e227a[_0x59b81b(0x21f)](()=>_0x2e227a[_0x59b81b(0x21e)]('return\x20document.readyState\x20===\x20\x22complete\x22'),0x1388);}catch(_0x36ea5c){}const _0x4f9ca0=util['format'](await _0x2e227a[_0x59b81b(0x214)](scripts[_0x59b81b(0x160)],_0x37845e));return logger[_0x59b81b(0x170)](_0x59b81b(0x226)+_0x4f9ca0),_0x4f9ca0;},_0x2a9df4)();},exports[a108_0x4d581a(0x23c)]=async(_0x238eda,_0x10a678)=>{const _0x34437e=a108_0x4d581a,_0x2f7b2a={};_0x2f7b2a[_0x34437e(0x1c2)]=_0x34437e(0x1dd),_0x2f7b2a['ObSke']='isAccessibilityPlatform',_0x2f7b2a[_0x34437e(0x1f5)]=_0x34437e(0x1a2),_0x2f7b2a['IIEgs']=_0x34437e(0x1f3),_0x2f7b2a[_0x34437e(0x1d8)]=_0x34437e(0x23c),_0x2f7b2a[_0x34437e(0x207)]=_0x34437e(0x23f);const _0x215411=_0x2f7b2a;if(!this[_0x34437e(0x15f)]()||!globals[_0x34437e(0x1c7)](_0x215411[_0x34437e(0x1b1)])||!globals['getGlobal'](_0x215411[_0x34437e(0x1f5)]))return logger[_0x34437e(0x1ae)](_0x215411[_0x34437e(0x16f)]),[];try{const _0x477fd4=await this[_0x34437e(0x19b)](_0x238eda),_0x36d093=_0x477fd4?Object[_0x34437e(0x231)]({},this['getMobileA11yCapabilities'](),{'thTestRunUuid':this[_0x34437e(0x205)]()}):{};return _0x477fd4&&logger[_0x34437e(0x170)](_0x34437e(0x177)+util['format']('%j',_0x36d093)),await PerformanceTester[_0x34437e(0x179)](PerformanceA11yEvents[_0x34437e(0x18f)],async()=>{const _0x24d95e=_0x34437e;logger['debug'](_0x215411['oWUFh']);const _0x2aafc8={};_0x2aafc8['method']=_0x10a678['browserstackSessionName'];const _0x31df29=Object[_0x24d95e(0x231)](_0x2aafc8,_0x36d093);logger[_0x24d95e(0x170)](util[_0x24d95e(0x228)](await _0x238eda[_0x24d95e(0x214)](scripts[_0x24d95e(0x160)],_0x31df29)));},{'command':_0x215411[_0x34437e(0x1d8)]})(),await PerformanceTester[_0x34437e(0x179)](PerformanceA11yEvents[_0x34437e(0x172)],async()=>{const _0x41b9d1=_0x34437e,_0x793c49=_0x477fd4?await _0x238eda[_0x41b9d1(0x214)](scripts[_0x41b9d1(0x24b)],_0x36d093):await _0x238eda[_0x41b9d1(0x214)](scripts[_0x41b9d1(0x24b)]);return _0x793c49;})();}catch{return logger[_0x34437e(0x1c1)](_0x215411[_0x34437e(0x207)]),[];}},exports[a108_0x4d581a(0x204)]=async(_0x45e078,_0x3f39c8)=>{const _0x1c43d7=a108_0x4d581a,_0x31837c={};_0x31837c[_0x1c43d7(0x1e1)]=_0x1c43d7(0x1cf),_0x31837c[_0x1c43d7(0x178)]=_0x1c43d7(0x1fd),_0x31837c[_0x1c43d7(0x171)]=_0x1c43d7(0x1a2),_0x31837c[_0x1c43d7(0x1ba)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.',_0x31837c[_0x1c43d7(0x242)]='getAccessibilityResultsSummary',_0x31837c[_0x1c43d7(0x17c)]=_0x1c43d7(0x194);const _0x39f758=_0x31837c;if(!this[_0x1c43d7(0x15f)]()||!globals['getGlobal'](_0x39f758[_0x1c43d7(0x178)])||!globals[_0x1c43d7(0x1c7)](_0x39f758['GRhmg']))return logger[_0x1c43d7(0x1ae)](_0x39f758[_0x1c43d7(0x1ba)]),{};try{const _0xe582e7=await this[_0x1c43d7(0x19b)](_0x45e078),_0x1a01a6=_0xe582e7?Object[_0x1c43d7(0x231)]({},this[_0x1c43d7(0x13c)](),{'thTestRunUuid':this[_0x1c43d7(0x205)]()}):{};return _0xe582e7&&logger[_0x1c43d7(0x170)](_0x1c43d7(0x184)+util[_0x1c43d7(0x228)]('%j',_0x1a01a6)),await PerformanceTester[_0x1c43d7(0x179)](PerformanceA11yEvents[_0x1c43d7(0x18f)],async()=>{const _0x26caea=_0x1c43d7;logger[_0x26caea(0x170)](_0x39f758[_0x26caea(0x1e1)]);const _0x3b1cee={};_0x3b1cee['method']=_0x3f39c8[_0x26caea(0x1b7)];const _0xe174c2=Object[_0x26caea(0x231)](_0x3b1cee,_0x1a01a6);logger['debug'](util[_0x26caea(0x228)](await _0x45e078[_0x26caea(0x214)](scripts[_0x26caea(0x160)],_0xe174c2)));},{'command':_0x39f758[_0x1c43d7(0x242)]})(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents['GET_RESULTS_SUMMARY'],async()=>{const _0x52118d=_0x1c43d7,_0xe184e5=_0xe582e7?await _0x45e078['executeAsyncScript'](scripts[_0x52118d(0x140)],_0x1a01a6):await _0x45e078[_0x52118d(0x214)](scripts[_0x52118d(0x140)]);return _0xe184e5;})();}catch{return logger[_0x1c43d7(0x1c1)](_0x39f758[_0x1c43d7(0x17c)]),{};}},exports[a108_0x4d581a(0x21a)]=(_0x11e08c,_0x1f2bb7=![])=>{const _0x384560=a108_0x4d581a,_0x11a586={'fLouS':function(_0x3fc53b,_0x4ef9d0){return _0x3fc53b(_0x4ef9d0);},'rZOkA':function(_0x38ab07,_0x140b9b){return _0x38ab07(_0x140b9b);},'GIFeq':_0x384560(0x188),'bGJqc':function(_0x4bc85c,_0x32706d){return _0x4bc85c!==_0x32706d;},'hxyJF':_0x384560(0x181),'rjbyk':function(_0x2b7c6a,_0xd8415c){return _0x2b7c6a(_0xd8415c);},'Sfvhr':'browserName','tyXkD':_0x384560(0x1d1),'hnFYg':'Mobile\x20Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser.','sKQEv':_0x384560(0x190)};try{if(!_0x11e08c)return![];const _0x2b5fe7=_0x4d20c9=>typeof _0x11e08c[_0x384560(0x218)]===_0x384560(0x1a0)?_0x11e08c[_0x384560(0x218)](_0x4d20c9):_0x11e08c[_0x4d20c9],_0x55d265=_0x11a586[_0x384560(0x144)](String,_0x11a586[_0x384560(0x24a)](_0x2b5fe7,_0x11a586[_0x384560(0x17e)])||'')[_0x384560(0x14d)]();if(_0x11a586[_0x384560(0x1ec)](_0x55d265,_0x11a586[_0x384560(0x169)]))return![];const _0x23c87f=_0x11a586['rjbyk'](String,_0x11a586[_0x384560(0x144)](_0x2b5fe7,_0x11a586['Sfvhr'])||'')[_0x384560(0x14d)]();if(!_0x23c87f['includes'](_0x11a586[_0x384560(0x203)]))return _0x1f2bb7&&logger[_0x384560(0x1ae)](_0x11a586[_0x384560(0x18c)]),![];return logger['debug'](_0x11a586[_0x384560(0x16c)]),!![];}catch(_0x5b7294){return logger[_0x384560(0x170)](_0x384560(0x141)+_0x5b7294),![];}},exports['isMobileAccessibilitySession']=async _0x24519d=>{const _0x4c04d0=a108_0x4d581a;try{const _0x29d50d=await _0x24519d['getCapabilities']();return exports[_0x4c04d0(0x21a)](_0x29d50d);}catch(_0x4dbca4){return logger[_0x4c04d0(0x170)](_0x4c04d0(0x15d)+_0x4dbca4),![];}},exports[a108_0x4d581a(0x13c)]=()=>{const _0x232989=a108_0x4d581a,_0xa05947={};return _0xa05947[_0x232989(0x21b)]=!![],_0xa05947;},exports[a108_0x4d581a(0x205)]=()=>{const _0x30cc1e=a108_0x4d581a,_0x3a1d54={};_0x3a1d54['dVVsI']=function(_0x195b7d,_0x2e56e4){return _0x195b7d===_0x2e56e4;},_0x3a1d54[_0x30cc1e(0x23d)]=_0x30cc1e(0x186),_0x3a1d54['YTPzo']=function(_0x4f1b03,_0x5a7180){return _0x4f1b03>_0x5a7180;},_0x3a1d54[_0x30cc1e(0x1b9)]=_0x30cc1e(0x13b),_0x3a1d54[_0x30cc1e(0x1de)]=_0x30cc1e(0x1f1),_0x3a1d54[_0x30cc1e(0x1d9)]=_0x30cc1e(0x14c);const _0x40c029=_0x3a1d54,_0x5ca0c9=global['__workerDetails'],_0x1625c4=_0x5ca0c9&&_0x5ca0c9[_0x30cc1e(0x1da)],_0x4e4832=_0x1625c4&&_0x1625c4[_0x30cc1e(0x239)];if(_0x40c029[_0x30cc1e(0x182)](typeof _0x4e4832,_0x40c029['aLesI'])&&_0x40c029[_0x30cc1e(0x20b)](_0x4e4832['length'],0x0))return _0x4e4832;let _0x549b27;if(!_0x5ca0c9)_0x549b27=_0x40c029[_0x30cc1e(0x1b9)];else!_0x1625c4?_0x549b27=_0x40c029[_0x30cc1e(0x1de)]:_0x549b27='global.__workerDetails.currentTest\x20exists\x20with\x20keys\x20['+Object['keys'](_0x1625c4)[_0x30cc1e(0x20e)](',\x20')+_0x30cc1e(0x1d5)+(_0x40c029[_0x30cc1e(0x182)](_0x4e4832,undefined)?_0x40c029[_0x30cc1e(0x1d9)]:'\x22'+_0x4e4832+'\x22')+_0x30cc1e(0x133);return logger[_0x30cc1e(0x1ae)](_0x30cc1e(0x224)+_0x549b27+_0x30cc1e(0x1fc)),'';},exports[a108_0x4d581a(0x213)]=_0x112853=>{const _0x54e343=a108_0x4d581a,_0x137a98={};_0x137a98[_0x54e343(0x18e)]=function(_0x32a98f,_0x29dd1b){return _0x32a98f===_0x29dd1b;},_0x137a98[_0x54e343(0x1b2)]=_0x54e343(0x186),_0x137a98[_0x54e343(0x20a)]=_0x54e343(0x131);const _0x7e1192=_0x137a98;if(_0x112853&&_0x112853[_0x54e343(0x145)]&&_0x7e1192['cGADw'](typeof _0x112853[_0x54e343(0x145)],_0x7e1192[_0x54e343(0x1b2)]))return _0x112853['script'][_0x54e343(0x23e)](_0x7e1192[_0x54e343(0x20a)]);return![];},exports[a108_0x4d581a(0x134)]=a108_0x4d581a(0x1d4),exports[a108_0x4d581a(0x201)]=()=>process[a108_0x4d581a(0x17a)][a108_0x4d581a(0x164)]===a108_0x4d581a(0x1b5),exports[a108_0x4d581a(0x195)]=_0x1cc6c8=>{const _0x3fc576=a108_0x4d581a,_0x5dbf9d={};_0x5dbf9d[_0x3fc576(0x234)]=function(_0x2981f4,_0x47fffa){return _0x2981f4 in _0x47fffa;};const _0x557acb=_0x5dbf9d;if(bsSetupHelper['isUndefined'](_0x1cc6c8))return![];const _0x68f8f=_0x1cc6c8[_0x3fc576(0x14d)]();return _0x557acb[_0x3fc576(0x234)](_0x68f8f,ACCESSIBILITY_SUPPORTED_BROWSERS);},exports[a108_0x4d581a(0x1f8)]=_0x6bff44=>{const _0x1ac32a=a108_0x4d581a;if(bsSetupHelper[_0x1ac32a(0x1cc)](_0x6bff44))return null;const _0x48f958=_0x6bff44[_0x1ac32a(0x14d)]();return ACCESSIBILITY_SUPPORTED_BROWSERS[_0x48f958]||null;},exports['getMinVersionForBrowser']=(_0x53fb68,_0x17fdf3)=>{const _0x1f7537=a108_0x4d581a,_0x252088=this[_0x1f7537(0x1f8)](_0x53fb68);if(!_0x252088)return null;if(_0x17fdf3)return _0x252088[_0x1f7537(0x1f4)];return _0x252088[_0x1f7537(0x208)];},exports[a108_0x4d581a(0x237)]=_0x14a3ef=>{const _0x17732e=a108_0x4d581a,_0xfa36c2=this[_0x17732e(0x1f8)](_0x14a3ef);return _0xfa36c2?_0xfa36c2[_0x17732e(0x20c)]:_0x14a3ef;},exports[a108_0x4d581a(0x163)]=_0x312383=>{const _0x49c984=a108_0x4d581a,_0x30715a=this['getBrowserA11yConfig'](_0x312383);return _0x30715a?_0x30715a[_0x49c984(0x1c9)]:![];},exports[a108_0x4d581a(0x19e)]=(_0x34e974,_0x1433f0)=>{const _0xad1ce6=a108_0x4d581a,_0x1d301a={'vMzoB':function(_0x3f1515,_0x28667d){return _0x3f1515(_0x28667d);},'NDODR':function(_0x554bb3,_0x57d410){return _0x554bb3(_0x57d410);},'bqAbA':function(_0x580bec,_0x5c3649){return _0x580bec>=_0x5c3649;}};if(bsSetupHelper[_0xad1ce6(0x1cc)](_0x34e974)||bsSetupHelper[_0xad1ce6(0x1cc)](_0x1433f0))return![];const _0x16ae97=bsSetupHelper[_0xad1ce6(0x16b)](_0x1d301a['vMzoB'](String,_0x34e974),_0x1d301a[_0xad1ce6(0x249)](String,_0x1433f0));return _0x1d301a[_0xad1ce6(0x158)](_0x16ae97,0x0);},exports[a108_0x4d581a(0x185)]=_0x649e86=>{const _0x2a6036=a108_0x4d581a,_0x513d91={};_0x513d91['tQHym']=function(_0x433c97,_0x3bc232){return _0x433c97!==_0x3bc232;},_0x513d91['KeSln']='string',_0x513d91['uWIVk']=_0x2a6036(0x183);const _0x1d0ff2=_0x513d91;if(!_0x649e86||_0x1d0ff2['tQHym'](typeof _0x649e86,_0x1d0ff2[_0x2a6036(0x1d3)]))return null;try{return JSON[_0x2a6036(0x16e)](Buffer['from'](_0x649e86[_0x2a6036(0x1b3)]('.')[0x1],_0x1d0ff2[_0x2a6036(0x1ab)])[_0x2a6036(0x223)]());}catch{return null;}};function a108_0x3e18(){const _0x19e952=['nuZcb','true','lYnKH','browserstackSessionName','getGitMetaData','NgmxH','BfHiC','scannerVersion','isTrue','AKdRz','parseFromJson','Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20','yoeSz','error','oWUFh','UtfDN','success','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','stack','getGlobal','info','requires_chrome_options_check','nestedKeyValue','v2/test_runs','isUndefined','json','../performance/performance-tester','Performing\x20scan\x20before\x20getting\x20results\x20summary','bstack:options','chrome','ulVSl','KeSln','Mobile\x20Accessibility\x20Automation\x20is\x20not\x20enabled\x20for\x20your\x20account.\x20Accessibility\x20scans\x20will\x20be\x20skipped\x20on\x20mobile\x20sessions.\x20Contact\x20BrowserStack\x20to\x20enable\x20mobile\x20accessibility\x20scanning.',']\x20but\x20thTestRunUuid\x20is\x20','trim','4501VTsJtI','tKBbW','htsrY','currentTest','test_runs/stop','selenium-webdriver','Performing\x20scan\x20before\x20getting\x20results','IvlHI','goog:chromeOptions','101319FdYzui','apvMP','RvbCY','getAccessKey','hMCcI','AaCVD','SrcSQ','dkwQr','UZdki','cLRGu','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20','--headless=','bGJqc','projectName','application/json','data','nDoEb','global.__workerDetails\x20exists\x20but\x20.currentTest\x20is\x20undefined\x20—\x20scan\x20fired\x20outside\x20a\x20test\x20body\x20(before/beforeAll\x20hook,\x20or\x20between\x20tests).','Authorization','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','min_version_browserstack','GIMxv','OCjCZ','../logger','getBrowserA11yConfig','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','path','stringify','\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.','isAccessibilityPlatform','javascript','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.','command','isMobileScanningEnabledForGroup','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20','tyXkD','getAccessibilityResultsSummary','resolveMobileThTestRunUuid','map','SwAfD','min_version_non_browserstack','nonBstackPlatformValidation','SknWs','YTPzo','display_name','oWvOQ','join','1279566lYkOBy','[Accessibility]\x20Selenium\x20performScan\x20payload:\x20','getPlatformVersion','KvpKE','isBrowserStackCommandExecutor','executeAsyncScript','PGMkZ','itnaH','6464ceYPTV','get','jsxzN','isMobileAccessibilityPlatform','is_mobile_session','pSSLo','cbQjD','executeScript','wait','checkAccessibilityPlatformConfig','winstonLogger','isBrowserstackInfra','toString','[Accessibility]\x20Mobile\x20scan\x20requested\x20but\x20thTestRunUuid\x20not\x20resolvable:\x20','mergeDeep','Performed\x20scan\x20with\x20result:\x20','EjBIy','format','excludeTagsInTestingScope','errors','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token','args','qlcqX','Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20','device','PUT','assign','setNonBstackInfraCapabilities','isArray','RuVJH','statusText','createAccessibilityTestRun','getBrowserDisplayName','Content-Type','thTestRunUuid','BROWSERSTACK_TEST_ACCESSIBILITY_YML','ENaNF','getAccessibilityResults','aLesI','includes','No\x20accessibility\x20results\x20were\x20found.','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','ChromeExtension','sMVBX','__cloud_provider___','body','headers','calkG','response','false','NDODR','rZOkA','getResults','oWSGH','YiMzm','browserstack_executor','VBwDX','.\x20The\x20framework\x20setup\x20hook\x20is\x20not\x20writing\x20thTestRunUuid\x20onto\x20currentTest.','MOBILE_SCANNING_DISABLED_WARNING','startsWith','./scripts','deviceName','zwHPS','QhMHo','Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20','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).','getMobileA11yCapabilities','null','nodeRequest','ZJTzM','getResultsSummary','Error\x20checking\x20if\x20mobile\x20accessibility\x20platform:\x20','oQVgw','some','fLouS','script','getUserName','oGGCW','Not\x20a\x20Accessibility\x20Session','EQlPC','length','qdmIl','undefined','toLowerCase','Invalid\x20request:\x20','--headless','207721xLUPZe','requireModule','TnziH','accessibility','JvmsR','getAgentVersion','Build\x20creation\x20had\x20failed.','ParHw','bqAbA','636860UjjleS','chromeOptions_','Invalid\x20configuration\x20passed.','Bwhqz','Error\x20checking\x20mobile\x20accessibility\x20session:\x20','pass','isAccessibilityAutomationSession','performScan','includeTagsInTestingScope','auth','requiresChromeOptionsValidation','BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP','66ATTppe','browserVersion','replace','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','hxyJF','wyGDQ','compareVersions','sKQEv','qsMoH','parse','IIEgs','debug','GRhmg','GET_RESULTS','10icyuBz','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','erOTX','message','getAccessibilityResults:\x20Mobile\x20session\x20detected,\x20args:\x20','UEssV','measureWrapper','env','NbcDD','qiLSp','status','GIFeq','method','browserstack','android','dVVsI','base64','getAccessibilityResultsSummary:\x20Mobile\x20session\x20detected,\x20args:\x20','parseA11yJwtPayload','string','bHLdm','platformName','getHostInfo','5864196rBruJn','387655ptscNN','hnFYg','pMLvg','cGADw','PERFORM_SCAN','Session\x20is\x20identified\x20as\x20mobile\x20accessibility\x20platform\x20(Android\x20+\x20Chrome)','performScan:\x20Mobile\x20capabilities\x20added\x20to\x20scan\x20arguments','MUpsR','accessibilityToken','No\x20accessibility\x20summary\x20was\x20found.','isBrowserSupportedForAccessibility','52mmoFOf','buildName','toISOString','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','XKrwf','isMobileAccessibilitySession','fetchPlatformDetails','capabilities_','isVersionSupported','POST','function','Error\x20while\x20adding\x20Non-Bstack\x20capabilities:\x20','bstackA11yShouldScan','--headless=new','Vilas','DJzqL','a11y:stop','BS_A11Y_JWT','getBrowserName','buildDescription','euUwQ','uWIVk','getCapabilities','resolve','warn','getCiInfo','options_','ObSke','nddsx','split'];a108_0x3e18=function(){return _0x19e952;};return a108_0x3e18();}
|
|
1
|
+
const a108_0xa8061b=a108_0x3969;(function(_0x5c6018,_0x4c91f5){const _0x16bcaa=a108_0x3969,_0x4d1a9b=_0x5c6018();while(!![]){try{const _0x4de657=-parseInt(_0x16bcaa(0x194))/0x1+parseInt(_0x16bcaa(0x125))/0x2*(-parseInt(_0x16bcaa(0x1cb))/0x3)+parseInt(_0x16bcaa(0x104))/0x4+-parseInt(_0x16bcaa(0x190))/0x5+-parseInt(_0x16bcaa(0x1a1))/0x6+-parseInt(_0x16bcaa(0x105))/0x7+parseInt(_0x16bcaa(0x114))/0x8*(parseInt(_0x16bcaa(0x14f))/0x9);if(_0x4de657===_0x4c91f5)break;else _0x4d1a9b['push'](_0x4d1a9b['shift']());}catch(_0x292f80){_0x4d1a9b['push'](_0x4d1a9b['shift']());}}}(a108_0x2d3a,0xefe27));const path=require(a108_0xa8061b(0x164)),util=require('util'),bsSetupHelper=require(a108_0xa8061b(0x1e5)),logger=require(a108_0xa8061b(0x111))[a108_0xa8061b(0x17a)],{API_URL,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY,ACCESSIBILITY_SUPPORTED_BROWSERS}=require(a108_0xa8061b(0x1d4)),PerformanceTester=require(a108_0xa8061b(0x12a)),scripts=require(a108_0xa8061b(0x17c)),globals=require(a108_0xa8061b(0x181)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a108_0xa8061b(0x1c0));function a108_0x3969(_0x6c34ee,_0x4cb6f7){const _0x2d3a24=a108_0x2d3a();return a108_0x3969=function(_0x3969a4,_0x58b00b){_0x3969a4=_0x3969a4-0xe9;let _0x5cae7c=_0x2d3a24[_0x3969a4];return _0x5cae7c;},a108_0x3969(_0x6c34ee,_0x4cb6f7);}exports['fetchPlatformDetails']=async _0x1e53d0=>{const _0x175725=a108_0xa8061b,_0x2514eb={};_0x2514eb[_0x175725(0x133)]=function(_0x2e487e,_0x5584c4){return _0x2e487e===_0x5584c4;},_0x2514eb['nWZSc']=_0x175725(0x130);const _0x547a37=_0x2514eb;let _0x4ae527={};try{const _0x1134ec=await _0x1e53d0[_0x175725(0x134)]();_0x4ae527={'os_name':_0x1134ec['getPlatform'](),'os_version':bsSetupHelper[_0x175725(0x1b0)](_0x547a37['Elqbs'](global[_0x175725(0x200)],_0x547a37['nWZSc'])),'browser_name':_0x1134ec[_0x175725(0x109)](),'browser_version':_0x1134ec['getBrowserVersion']()};}catch(_0x4991a3){logger[_0x175725(0x1ca)](_0x175725(0x13c)+_0x4991a3);}return _0x4ae527;},exports['isAccessibilityAutomationSession']=()=>{const _0x1152a4=a108_0xa8061b,_0x2187cb={};_0x2187cb['AFidY']=function(_0x3cba61,_0x963d83){return _0x3cba61===_0x963d83;},_0x2187cb['xZWJG']=_0x1152a4(0xf0),_0x2187cb[_0x1152a4(0x202)]=function(_0x3d9439,_0x4ade16){return _0x3d9439>_0x4ade16;},_0x2187cb['evLyD']=function(_0x5f3b56,_0xb94500){return _0x5f3b56!==_0xb94500;},_0x2187cb[_0x1152a4(0x163)]=_0x1152a4(0x1a8),_0x2187cb[_0x1152a4(0x12f)]=function(_0x23ae09,_0x4f82d4){return _0x23ae09&&_0x4f82d4;};const _0x58c507=_0x2187cb;try{const _0x12ec03=bsSetupHelper[_0x1152a4(0x206)](process[_0x1152a4(0x19a)][_0x1152a4(0x18f)])||bsSetupHelper['isTrue'](process[_0x1152a4(0x19a)][_0x1152a4(0x19c)]),_0x225058=_0x58c507['AFidY'](typeof process[_0x1152a4(0x19a)][_0x1152a4(0x176)],_0x58c507[_0x1152a4(0x1c6)])&&_0x58c507['bhtRV'](process['env'][_0x1152a4(0x176)][_0x1152a4(0x1e4)],0x0)&&_0x58c507[_0x1152a4(0x1bd)](process['env'][_0x1152a4(0x176)],_0x58c507[_0x1152a4(0x163)]);return _0x58c507[_0x1152a4(0x12f)](_0x12ec03,_0x225058);}catch(_0x19697b){logger[_0x1152a4(0x1ca)](_0x1152a4(0x149)+_0x19697b);}return![];},exports[a108_0xa8061b(0x17d)]=(_0x541cef,_0x550edf)=>{const _0x5adc1a=a108_0xa8061b,_0x500b8d={'FNXUG':'browserName','jTOQS':function(_0x5be808,_0x3bbf8e){return _0x5be808(_0x3bbf8e);},'ZGVyB':_0x5adc1a(0xe9),'rTBXl':function(_0x5e3f3b,_0x5d64aa){return _0x5e3f3b(_0x5d64aa);},'gKxmo':_0x5adc1a(0x1c3),'YRqqx':_0x5adc1a(0x1f3),'ZuHLl':_0x5adc1a(0x1fb),'ZKyWM':'device','ckbSH':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','pRRAS':_0x5adc1a(0x188),'iSOug':'selenium-webdriver','rmZhT':'options_','mAAjG':_0x5adc1a(0x1ee),'abzCk':_0x5adc1a(0x1d6),'sRJEL':'Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','ALgTm':_0x5adc1a(0x18d),'jwsFk':function(_0x516e67,_0x14d634){return _0x516e67===_0x14d634;},'HLrgb':_0x5adc1a(0x13d),'tHliW':function(_0x9405e5,_0x29757b){return _0x9405e5>=_0x29757b;}},_0x1e6a9f=_0x541cef[_0x5adc1a(0x203)](_0x500b8d[_0x5adc1a(0x153)]),_0x2c2351=_0x500b8d[_0x5adc1a(0x189)](parseFloat,_0x541cef['get'](_0x500b8d[_0x5adc1a(0x1b9)]))||_0x500b8d[_0x5adc1a(0x11b)](parseFloat,_0x541cef[_0x5adc1a(0x203)](_0x500b8d[_0x5adc1a(0x1cf)])),_0x25e5d7=_0x541cef[_0x5adc1a(0x203)](_0x500b8d[_0x5adc1a(0x128)])||{},_0x2c3a2b=_0x500b8d[_0x5adc1a(0x189)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY),_0x30608c=_0x25e5d7[_0x500b8d[_0x5adc1a(0x13e)]]||_0x541cef[_0x5adc1a(0x203)](_0x500b8d['ZKyWM'])||![];if(_0x30608c)return logger[_0x5adc1a(0x122)](_0x500b8d[_0x5adc1a(0x17f)]),![];let _0x1602d8;try{_0x1602d8=bsSetupHelper[_0x5adc1a(0x178)](_0x500b8d[_0x5adc1a(0x18e)],_0x500b8d[_0x5adc1a(0x165)]);}catch(_0x54785e){return![];}const _0x34eabf=new _0x1602d8['Options'](_0x550edf['chromeOptions_']),_0xb022c3=bsSetupHelper[_0x5adc1a(0x1a2)](_0x34eabf,[_0x500b8d[_0x5adc1a(0x182)],_0x500b8d[_0x5adc1a(0x192)]])||bsSetupHelper[_0x5adc1a(0x1a2)](_0x550edf[_0x5adc1a(0x171)],[_0x500b8d[_0x5adc1a(0x128)],_0x500b8d[_0x5adc1a(0x1e9)],_0x500b8d[_0x5adc1a(0x192)]])||bsSetupHelper[_0x5adc1a(0x1a2)](_0x550edf[_0x5adc1a(0x171)],[_0x500b8d[_0x5adc1a(0x1e9)],_0x500b8d[_0x5adc1a(0x192)]])||[],_0x37b77d=Array['isArray'](_0xb022c3)?_0xb022c3:[];if(_0x37b77d[_0x5adc1a(0x14a)](_0x13b72a=>typeof _0x13b72a==='string'&&(_0x13b72a==='--headless'||_0x13b72a['startsWith'](_0x5adc1a(0x162))&&_0x13b72a!=='--headless=new')))return logger[_0x5adc1a(0x122)](_0x500b8d[_0x5adc1a(0x1ea)]),![];const _0x175658=_0x550edf['capabilities_']||{},_0x44c1d2=bsSetupHelper[_0x5adc1a(0x1a2)](_0x175658,[_0x500b8d[_0x5adc1a(0xfc)]])||{},_0x5bed21=bsSetupHelper[_0x5adc1a(0x1a2)](_0x44c1d2,[_0x500b8d[_0x5adc1a(0x192)]])||[],_0x18ecd6=Array[_0x5adc1a(0xfa)](_0x5bed21)?_0x5bed21:[];if(_0x18ecd6[_0x5adc1a(0x14a)](_0xfc6017=>typeof _0xfc6017==='string'&&(_0xfc6017===_0x5adc1a(0x1bf)||_0xfc6017['startsWith'](_0x5adc1a(0x162))&&_0xfc6017!=='--headless=new')))return logger[_0x5adc1a(0x122)](_0x500b8d[_0x5adc1a(0x1ea)]),![];if(_0x500b8d[_0x5adc1a(0x118)](_0x1e6a9f['toLowerCase'](),_0x500b8d[_0x5adc1a(0x15a)])&&_0x500b8d[_0x5adc1a(0x172)](_0x2c2351,_0x2c3a2b))return!![];return logger[_0x5adc1a(0x122)](_0x5adc1a(0x1ac)+MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY+'.'),![];},exports[a108_0xa8061b(0x1e7)]=_0x4e1471=>{const _0x5438b5=a108_0xa8061b,_0x1a17d6={};_0x1a17d6['BQNPa']=_0x5438b5(0x18d),_0x1a17d6[_0x5438b5(0x166)]=function(_0x30cab1,_0x45820b){return _0x30cab1||_0x45820b;},_0x1a17d6[_0x5438b5(0x204)]=_0x5438b5(0x14b);const _0x5326cf=_0x1a17d6,_0x4a75e0=scripts['ChromeExtension'];try{const _0x24f814=bsSetupHelper['isTrue'](process[_0x5438b5(0x19a)][_0x5438b5(0x18f)])||bsSetupHelper[_0x5438b5(0x206)](process[_0x5438b5(0x19a)][_0x5438b5(0x19c)]);if((!bsSetupHelper[_0x5438b5(0x1c8)]()||process['env'][_0x5438b5(0x1dd)])&&_0x24f814){const _0x1ec7e3=_0x4e1471['getCapabilities'](),_0x11ee02=_0x1ec7e3[_0x5438b5(0x203)](_0x5326cf[_0x5438b5(0x141)]),_0x6521a6=_0x5326cf[_0x5438b5(0x166)](_0x11ee02,{});bsSetupHelper['mergeDeep'](_0x6521a6,_0x4a75e0),_0x4e1471[_0x5438b5(0x134)]()[_0x5438b5(0x156)](_0x5326cf['BQNPa'],_0x6521a6);}else logger[_0x5438b5(0x122)](_0x5326cf[_0x5438b5(0x204)]);}catch(_0x467cef){logger[_0x5438b5(0xf5)](_0x5438b5(0x16c)+_0x467cef);}},exports[a108_0xa8061b(0x183)]=(_0x25b943=null,_0x5ade8f=!![],_0x143199=[])=>{const _0x9a5580=a108_0xa8061b,_0x244807={};_0x244807[_0x9a5580(0x1ae)]=function(_0x551718,_0x23b0ef){return _0x551718==_0x23b0ef;},_0x244807[_0x9a5580(0x15d)]=function(_0xd0e50c,_0x32fd4c){return _0xd0e50c>_0x32fd4c;},_0x244807[_0x9a5580(0x126)]=function(_0x374f95,_0x15b046){return _0x374f95===_0x15b046;},_0x244807[_0x9a5580(0x132)]=function(_0x246e55,_0x3680b5){return _0x246e55&&_0x3680b5;},_0x244807[_0x9a5580(0x1af)]=function(_0x3363e3,_0x4fae6a){return _0x3363e3&&_0x4fae6a;};const _0x137488=_0x244807;if(_0x137488['iNkoX'](process[_0x9a5580(0x19a)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'],null))return!![];try{const _0x459a72=JSON[_0x9a5580(0x124)](process['env'][_0x9a5580(0x1a4)]),_0xdce74d=Array[_0x9a5580(0xfa)](_0x459a72['includeTagsInTestingScope'])?_0x459a72['includeTagsInTestingScope']:[],_0x332859=Array[_0x9a5580(0xfa)](_0x459a72[_0x9a5580(0x135)])?_0x459a72[_0x9a5580(0x135)]:[],_0x1ce4db=_0x1b8ee7=>typeof _0x1b8ee7===_0x9a5580(0xf0)?_0x1b8ee7[_0x9a5580(0x139)](/^@/,'')[_0x9a5580(0x160)]()[_0x9a5580(0x1aa)]():_0x1b8ee7;if(bsSetupHelper[_0x9a5580(0x1c1)](_0x25b943)){if(_0x137488[_0x9a5580(0x15d)](_0x143199['length'],0x0)){const _0x8280d3=_0x143199[_0x9a5580(0x100)](_0x1ce4db),_0x26f014=_0x332859[_0x9a5580(0x14a)](_0x49fde4=>_0x8280d3[_0x9a5580(0xfb)](_0x1ce4db(_0x49fde4))),_0x11ae7a=_0x137488[_0x9a5580(0x126)](_0xdce74d[_0x9a5580(0x1e4)],0x0)||_0xdce74d[_0x9a5580(0x14a)](_0x4a5f56=>_0x8280d3['includes'](_0x1ce4db(_0x4a5f56)));return _0x137488[_0x9a5580(0x132)](!_0x26f014,_0x11ae7a);}return!![];}let _0x5cc75d;_0x5ade8f?_0x5cc75d=_0x25b943[_0x9a5580(0x152)]('/'):_0x5cc75d=_0x25b943;const _0x31b646=_0x332859[_0x9a5580(0x14a)](_0x10d7e3=>_0x5cc75d[_0x9a5580(0x160)]()[_0x9a5580(0xfb)](_0x1ce4db(_0x10d7e3)[_0x9a5580(0x160)]())),_0x5508c2=_0x137488[_0x9a5580(0x126)](_0xdce74d['length'],0x0)||_0xdce74d['some'](_0x2c625c=>_0x5cc75d[_0x9a5580(0x160)]()[_0x9a5580(0xfb)](_0x1ce4db(_0x2c625c)[_0x9a5580(0x160)]()));return _0x137488[_0x9a5580(0x1af)](!_0x31b646,_0x5508c2);}catch(_0x13cded){logger['debug'](_0x9a5580(0x1df)+util[_0x9a5580(0x14c)](_0x13cded));}return![];},exports[a108_0xa8061b(0x15f)]=_0x12d473=>{const _0x376515=a108_0xa8061b;let _0x5c15f6=![];try{_0x12d473[_0x376515(0x167)]['forEach'](_0x20811b=>{const _0x435779=_0x376515;if(bsSetupHelper[_0x435779(0x206)](_0x20811b[_0x435779(0x1f4)]))return _0x5c15f6=!![],!![];});}catch(_0x394fd0){logger[_0x376515(0x1ca)](_0x376515(0x1a0)+_0x394fd0);}return _0x5c15f6||bsSetupHelper[_0x376515(0x206)](_0x12d473[_0x376515(0x1f4)]);},exports[a108_0xa8061b(0x1ff)]=PerformanceTester[a108_0xa8061b(0x1d5)](a108_0xa8061b(0x1d1),async function(_0x32fe55,_0xdd9cbd){const _0x577a92=a108_0xa8061b,_0x281b12={};_0x281b12[_0x577a92(0x1cd)]=_0x577a92(0xf4),_0x281b12['OZmTY']='playwright',_0x281b12[_0x577a92(0x173)]=_0x577a92(0x113),_0x281b12[_0x577a92(0x1ed)]='application/json',_0x281b12[_0x577a92(0x117)]='POST',_0x281b12[_0x577a92(0x1a5)]=_0x577a92(0x1fc),_0x281b12['uVvrs']=function(_0x40cba8,_0x5b8b1e){return _0x40cba8===_0x5b8b1e;},_0x281b12[_0x577a92(0x19b)]='Invalid\x20configuration\x20passed.',_0x281b12['SITDP']='false';const _0x2d5ac0=_0x281b12,_0x474b15=bsSetupHelper[_0x577a92(0x115)](_0x32fe55),_0x1f8eab=bsSetupHelper[_0x577a92(0x145)](_0x32fe55);if(bsSetupHelper[_0x577a92(0x1c1)](_0x474b15)||bsSetupHelper[_0x577a92(0x1c1)](_0x1f8eab))return logger[_0x577a92(0xf5)](_0x2d5ac0[_0x577a92(0x1cd)]),[null,null];try{let _0x33d8df;bsSetupHelper[_0x577a92(0x1c1)](process[_0x577a92(0x19a)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])?_0x33d8df={}:_0x33d8df=JSON['parse'](process['env'][_0x577a92(0x1a4)]);const {name:_0x4683a3,version:_0xda1b7e}=bsSetupHelper[_0x577a92(0x179)](_0x32fe55,_0xdd9cbd),_0x2efbbd={'projectName':_0x32fe55[_0x577a92(0x169)],'buildName':_0x32fe55[_0x577a92(0x1b3)]||path[_0x577a92(0x11f)](path['resolve'](process[_0x577a92(0x1d9)]())),'startTime':new Date()[_0x577a92(0x136)](),'description':_0x32fe55[_0x577a92(0x11e)]||'','source':{'frameworkName':_0xdd9cbd['includes'](_0x2d5ac0[_0x577a92(0x158)])?_0x2d5ac0[_0x577a92(0x158)]:_0xdd9cbd,'frameworkVersion':bsSetupHelper[_0x577a92(0x10e)](_0xdd9cbd),'sdkVersion':bsSetupHelper[_0x577a92(0xf6)](),'language':_0x2d5ac0[_0x577a92(0x173)],'testFramework':_0x4683a3,'testFrameworkVersion':_0xda1b7e},'settings':_0x33d8df,'versionControl':await bsSetupHelper['getGitMetaData'](),'ciInfo':bsSetupHelper[_0x577a92(0x144)](),'hostInfo':bsSetupHelper[_0x577a92(0x121)](),'browserstackAutomation':bsSetupHelper['isBrowserstackInfra']()},_0x273f36={};_0x273f36[_0x577a92(0x140)]=_0x474b15,_0x273f36[_0x577a92(0xef)]=_0x1f8eab;const _0x4d29ab={};_0x4d29ab['Content-Type']=_0x2d5ac0[_0x577a92(0x1ed)];const _0x3801f2={};_0x3801f2['auth']=_0x273f36,_0x3801f2[_0x577a92(0x1d7)]=_0x4d29ab;const _0x4489a2=_0x3801f2,_0x8ab5c1={};_0x8ab5c1[_0x577a92(0x1c4)]=_0x2efbbd,_0x8ab5c1['json']=!![];const _0xe4cb66=Object['assign'](_0x4489a2,_0x8ab5c1),_0x261752=await bsSetupHelper['nodeRequest'](_0x2d5ac0[_0x577a92(0x117)],_0x2d5ac0[_0x577a92(0x1a5)],_0xe4cb66,_0x32fe55,API_URL);let _0x1b227b=process[_0x577a92(0x19a)][_0x577a92(0x1a4)];return _0x1b227b?_0x1b227b=JSON[_0x577a92(0x124)](process[_0x577a92(0x19a)][_0x577a92(0x1a4)]):_0x1b227b={},scripts[_0x577a92(0x18c)](_0x261752[_0x577a92(0x102)][_0x577a92(0x102)]),scripts[_0x577a92(0x159)](),_0x1b227b['scannerVersion']=_0x261752[_0x577a92(0x102)][_0x577a92(0x102)][_0x577a92(0x201)],process[_0x577a92(0x19a)][_0x577a92(0x1a4)]=JSON[_0x577a92(0x1e0)](_0x1b227b),[_0x261752[_0x577a92(0x102)][_0x577a92(0x102)]['accessibilityToken'],_0x261752[_0x577a92(0x102)][_0x577a92(0x102)]['id']];}catch(_0x293826){if(_0x293826[_0x577a92(0x1c9)])logger[_0x577a92(0xf5)](_0x577a92(0x16a)+_0x293826[_0x577a92(0x1c9)][_0x577a92(0x1ad)]+'\x20'+_0x293826[_0x577a92(0x1c9)][_0x577a92(0x1a7)]+'\x20'+JSON['stringify'](_0x293826[_0x577a92(0x1c9)][_0x577a92(0x102)]));else{if(_0x2d5ac0[_0x577a92(0x1ba)](_0x293826['message'],_0x2d5ac0[_0x577a92(0x19b)])){logger[_0x577a92(0xf5)](_0x577a92(0x16a)+(_0x293826[_0x577a92(0x11d)]||_0x293826[_0x577a92(0x191)]));for(const _0x1b133a of _0x293826[_0x577a92(0x1f5)]){logger[_0x577a92(0xf5)](_0x1b133a[_0x577a92(0x11d)]);}process['env'][_0x577a92(0x18f)]=_0x2d5ac0[_0x577a92(0x1e8)],process['env'][_0x577a92(0x19c)]=_0x2d5ac0[_0x577a92(0x1e8)];}else logger['error'](_0x577a92(0x16a)+(_0x293826[_0x577a92(0x11d)]||_0x293826[_0x577a92(0x191)]));}return[null,null];}}),exports[a108_0xa8061b(0x187)]=PerformanceTester[a108_0xa8061b(0x1d5)](a108_0xa8061b(0x1f2),async function(_0x44d097){const _0x4f603c=a108_0xa8061b,_0x2192e4={};_0x2192e4[_0x4f603c(0x12c)]=function(_0x340e94,_0x23a9dd){return _0x340e94!==_0x23a9dd;},_0x2192e4['AvhCz']=_0x4f603c(0xf0),_0x2192e4['kKoAi']=_0x4f603c(0xf5),_0x2192e4[_0x4f603c(0x1a9)]=_0x4f603c(0x15e),_0x2192e4[_0x4f603c(0x207)]='application/json',_0x2192e4[_0x4f603c(0x137)]=_0x4f603c(0x1db),_0x2192e4['ZjpyN']=_0x4f603c(0x19f),_0x2192e4[_0x4f603c(0x155)]=function(_0x339666,_0x1a145d){return _0x339666+_0x1a145d;},_0x2192e4[_0x4f603c(0x15c)]='Invalid\x20request:\x20',_0x2192e4[_0x4f603c(0x129)]=_0x4f603c(0x16e);const _0x28c884=_0x2192e4;if(bsSetupHelper[_0x4f603c(0x1c1)](process['env'][_0x4f603c(0x176)])||_0x28c884['oJqEE'](typeof process[_0x4f603c(0x19a)][_0x4f603c(0x176)],_0x28c884[_0x4f603c(0x14d)])){const _0x52b4d2={};return _0x52b4d2['status']=_0x28c884[_0x4f603c(0x11a)],_0x52b4d2[_0x4f603c(0x11d)]=_0x28c884[_0x4f603c(0x1a9)],_0x52b4d2;}const _0x55e4c7={'endTime':new Date()[_0x4f603c(0x136)]()},_0x5ddbc5={};_0x5ddbc5[_0x4f603c(0x17b)]=_0x4f603c(0x157)+process[_0x4f603c(0x19a)][_0x4f603c(0x176)],_0x5ddbc5[_0x4f603c(0x123)]=_0x28c884[_0x4f603c(0x207)];const _0x538466={};_0x538466['headers']=_0x5ddbc5;const _0x395bd4=_0x538466,_0x567043={};_0x567043[_0x4f603c(0x1c4)]=_0x55e4c7,_0x567043[_0x4f603c(0x168)]=null,_0x567043[_0x4f603c(0x1be)]=!![];const _0x1d8e8d=Object[_0x4f603c(0x120)](_0x395bd4,_0x567043);try{const _0x2207bd=await bsSetupHelper[_0x4f603c(0x143)](_0x28c884['tPDTh'],_0x28c884[_0x4f603c(0xfe)],_0x1d8e8d,_0x44d097,API_URL);if(_0x2207bd[_0x4f603c(0x102)][_0x4f603c(0xf5)])throw new Error(_0x28c884[_0x4f603c(0x155)](_0x28c884[_0x4f603c(0x15c)],_0x2207bd[_0x4f603c(0x102)][_0x4f603c(0xf5)]));else{logger['info'](_0x4f603c(0x1e2)+new Date()[_0x4f603c(0x136)]());const _0x4c9afd={};return _0x4c9afd[_0x4f603c(0x1ad)]=_0x28c884['WxYYG'],_0x4c9afd[_0x4f603c(0x11d)]='',_0x4c9afd;}}catch(_0x4f24a1){_0x4f24a1['response']?logger[_0x4f603c(0xf5)](_0x4f603c(0x106)+_0x4f24a1[_0x4f603c(0x1c9)][_0x4f603c(0x1ad)]+'\x20'+_0x4f24a1['response']['statusText']+'\x20'+JSON['stringify'](_0x4f24a1['response']['data'])):logger[_0x4f603c(0xf5)](_0x4f603c(0x106)+(_0x4f24a1['message']||util[_0x4f603c(0x14c)](_0x4f24a1)));const _0x278945={};return _0x278945[_0x4f603c(0x1ad)]=_0x28c884['kKoAi'],_0x278945[_0x4f603c(0x11d)]=_0x4f24a1[_0x4f603c(0x11d)]||(_0x4f24a1[_0x4f603c(0x1c9)]?_0x4f24a1[_0x4f603c(0x1c9)][_0x4f603c(0x1ad)]+':'+_0x4f24a1[_0x4f603c(0x1c9)][_0x4f603c(0x1a7)]:_0x4f24a1),_0x278945;}}),exports[a108_0xa8061b(0x147)]=async(_0xb2a5f9,_0x455315=null,_0x12b5ea=![],_0x187f49=null)=>{const _0x12d9c3=a108_0xa8061b,_0x2cc3c9={};_0x2cc3c9[_0x12d9c3(0x185)]=_0x12d9c3(0x1d3),_0x2cc3c9[_0x12d9c3(0x1b5)]=_0x12d9c3(0xff),_0x2cc3c9['SREJY']='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.',_0x2cc3c9[_0x12d9c3(0x138)]=function(_0x4464bd,_0x239408){return _0x4464bd||_0x239408;},_0x2cc3c9['dsYja']=_0x12d9c3(0x1e6),_0x2cc3c9[_0x12d9c3(0x1b4)]=_0x12d9c3(0x16d);const _0x2be58c=_0x2cc3c9;if(!this[_0x12d9c3(0xec)]()||!globals[_0x12d9c3(0x18b)](_0x2be58c['XggCQ'])||!_0x12b5ea&&!globals['getGlobal'](_0x2be58c[_0x12d9c3(0x1b5)])){logger[_0x12d9c3(0x122)](_0x2be58c[_0x12d9c3(0xf8)]);return;}const _0x20fd6f=_0x12b5ea?_0x2be58c[_0x12d9c3(0x138)](_0x187f49,{}):globals['getGlobal'](_0x2be58c[_0x12d9c3(0x1fe)])||{},_0x2993b9={};_0x2993b9[_0x12d9c3(0x19e)]=_0x455315||global['browserstackSessionName'];const _0x1b77cc=Object[_0x12d9c3(0x120)]({},_0x20fd6f,_0x2993b9);await this[_0x12d9c3(0x199)](_0xb2a5f9)&&(Object[_0x12d9c3(0x120)](_0x1b77cc,this[_0x12d9c3(0x1b8)](),{'thTestRunUuid':this['resolveMobileThTestRunUuid']()}),logger['debug'](_0x2be58c[_0x12d9c3(0x1b4)]));logger['debug']('[Accessibility]\x20Selenium\x20performScan\x20payload:\x20'+util[_0x12d9c3(0x14c)]('%j',_0x1b77cc));const _0x416f4e={};return _0x416f4e[_0x12d9c3(0x10d)]=_0x455315,await PerformanceTester[_0x12d9c3(0x1d5)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x1cd060=_0x12d9c3;try{await _0xb2a5f9[_0x1cd060(0x1b1)](()=>_0xb2a5f9[_0x1cd060(0x1d0)]('return\x20document.readyState\x20===\x20\x22complete\x22'),0x1388);}catch(_0x1c1164){}const _0x18d5eb=util['format'](await _0xb2a5f9[_0x1cd060(0xf7)](scripts[_0x1cd060(0x147)],_0x1b77cc));return logger[_0x1cd060(0x1ca)](_0x1cd060(0x1c2)+_0x18d5eb),_0x18d5eb;},_0x416f4e)();},exports[a108_0xa8061b(0x1da)]=async(_0x283c3a,_0x28b6a4)=>{const _0x532b2c=a108_0xa8061b,_0x35fcfa={};_0x35fcfa[_0x532b2c(0x196)]=_0x532b2c(0x103),_0x35fcfa['DAjhi']=_0x532b2c(0x1d3),_0x35fcfa[_0x532b2c(0x116)]=_0x532b2c(0xff),_0x35fcfa[_0x532b2c(0x193)]=_0x532b2c(0x107),_0x35fcfa['VDXYv']=_0x532b2c(0x1da),_0x35fcfa[_0x532b2c(0x1a6)]=_0x532b2c(0x10c);const _0x36b9e5=_0x35fcfa;if(!this['isAccessibilityAutomationSession']()||!globals['getGlobal'](_0x36b9e5[_0x532b2c(0x1d2)])||!globals[_0x532b2c(0x18b)](_0x36b9e5[_0x532b2c(0x116)]))return logger[_0x532b2c(0x122)](_0x36b9e5['ogNJG']),[];try{const _0x231ba6=await this[_0x532b2c(0x199)](_0x283c3a),_0x1dc2b1=_0x231ba6?Object[_0x532b2c(0x120)]({},this['getMobileA11yCapabilities'](),{'thTestRunUuid':this[_0x532b2c(0x1dc)]()}):{};return _0x231ba6&&logger[_0x532b2c(0x1ca)](_0x532b2c(0x205)+util[_0x532b2c(0x14c)]('%j',_0x1dc2b1)),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x532b2c(0x197)],async()=>{const _0x3c33ed=_0x532b2c;logger[_0x3c33ed(0x1ca)](_0x36b9e5[_0x3c33ed(0x196)]);const _0x5e3bb8={};_0x5e3bb8[_0x3c33ed(0x19e)]=_0x28b6a4[_0x3c33ed(0x12e)];const _0x48f378=Object['assign'](_0x5e3bb8,_0x1dc2b1);logger['debug'](util['format'](await _0x283c3a['executeAsyncScript'](scripts[_0x3c33ed(0x147)],_0x48f378)));},{'command':_0x36b9e5[_0x532b2c(0x195)]})(),await PerformanceTester[_0x532b2c(0x1d5)](PerformanceA11yEvents['GET_RESULTS'],async()=>{const _0x6afb0e=_0x532b2c,_0x1b28bf=_0x231ba6?await _0x283c3a[_0x6afb0e(0xf7)](scripts['getResults'],_0x1dc2b1):await _0x283c3a[_0x6afb0e(0xf7)](scripts[_0x6afb0e(0x16b)]);return _0x1b28bf;})();}catch{return logger[_0x532b2c(0xf5)](_0x36b9e5[_0x532b2c(0x1a6)]),[];}},exports[a108_0xa8061b(0x180)]=async(_0x33ecab,_0x330ad8)=>{const _0x58e606=a108_0xa8061b,_0x5758a2={};_0x5758a2[_0x58e606(0x146)]=_0x58e606(0x186),_0x5758a2['TVFJH']=_0x58e606(0x1d3),_0x5758a2[_0x58e606(0x12d)]=_0x58e606(0xff),_0x5758a2[_0x58e606(0x19d)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.',_0x5758a2[_0x58e606(0x184)]=_0x58e606(0x180),_0x5758a2[_0x58e606(0x10f)]='No\x20accessibility\x20summary\x20was\x20found.';const _0x5d22f2=_0x5758a2;if(!this[_0x58e606(0xec)]()||!globals[_0x58e606(0x18b)](_0x5d22f2[_0x58e606(0x1de)])||!globals['getGlobal'](_0x5d22f2[_0x58e606(0x12d)]))return logger[_0x58e606(0x122)](_0x5d22f2[_0x58e606(0x19d)]),{};try{const _0x48b973=await this[_0x58e606(0x199)](_0x33ecab),_0xe52154=_0x48b973?Object[_0x58e606(0x120)]({},this[_0x58e606(0x1b8)](),{'thTestRunUuid':this[_0x58e606(0x1dc)]()}):{};return _0x48b973&&logger[_0x58e606(0x1ca)](_0x58e606(0xee)+util[_0x58e606(0x14c)]('%j',_0xe52154)),await PerformanceTester[_0x58e606(0x1d5)](PerformanceA11yEvents[_0x58e606(0x197)],async()=>{const _0x5d1e4e=_0x58e606;logger[_0x5d1e4e(0x1ca)](_0x5d22f2[_0x5d1e4e(0x146)]);const _0x554c6a={};_0x554c6a[_0x5d1e4e(0x19e)]=_0x330ad8[_0x5d1e4e(0x12e)];const _0x24b585=Object[_0x5d1e4e(0x120)](_0x554c6a,_0xe52154);logger['debug'](util[_0x5d1e4e(0x14c)](await _0x33ecab[_0x5d1e4e(0xf7)](scripts['performScan'],_0x24b585)));},{'command':_0x5d22f2['jVfiS']})(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x58e606(0x1ef)],async()=>{const _0x176575=_0x58e606,_0x54c2d3=_0x48b973?await _0x33ecab[_0x176575(0xf7)](scripts[_0x176575(0x1b7)],_0xe52154):await _0x33ecab[_0x176575(0xf7)](scripts['getResultsSummary']);return _0x54c2d3;})();}catch{return logger[_0x58e606(0xf5)](_0x5d22f2[_0x58e606(0x10f)]),{};}},exports['isMobileAccessibilityPlatform']=(_0x594060,_0x577249=![])=>{const _0x41e67d=a108_0xa8061b,_0x4dd4ab={'RIDPA':function(_0x313c66,_0x3ba6f3){return _0x313c66(_0x3ba6f3);},'fgDfj':_0x41e67d(0x13b),'FKHdO':function(_0x191a5b,_0x12ffe1){return _0x191a5b!==_0x12ffe1;},'XTpKF':_0x41e67d(0x10b),'YrsnF':function(_0x63091,_0x3e0aee){return _0x63091(_0x3e0aee);},'yJthJ':_0x41e67d(0x108),'YaViQ':_0x41e67d(0x13d),'mugRx':_0x41e67d(0x16f),'kOOVw':_0x41e67d(0x1bb)};try{if(!_0x594060)return![];const _0x1345e1=_0x579b82=>typeof _0x594060['get']===_0x41e67d(0x142)?_0x594060['get'](_0x579b82):_0x594060[_0x579b82],_0x3eeb9e=_0x4dd4ab['RIDPA'](String,_0x4dd4ab[_0x41e67d(0x1fa)](_0x1345e1,_0x4dd4ab[_0x41e67d(0xf1)])||'')['toLowerCase']();if(_0x4dd4ab['FKHdO'](_0x3eeb9e,_0x4dd4ab[_0x41e67d(0x174)]))return![];const _0x511e09=_0x4dd4ab[_0x41e67d(0x151)](String,_0x4dd4ab[_0x41e67d(0x1fa)](_0x1345e1,_0x4dd4ab[_0x41e67d(0x14e)])||'')[_0x41e67d(0x160)]();if(!_0x511e09['includes'](_0x4dd4ab['YaViQ']))return _0x577249&&logger[_0x41e67d(0x122)](_0x4dd4ab[_0x41e67d(0x1f0)]),![];return logger[_0x41e67d(0x1ca)](_0x4dd4ab[_0x41e67d(0x1ec)]),!![];}catch(_0x42ff14){return logger[_0x41e67d(0x1ca)](_0x41e67d(0x1ce)+_0x42ff14),![];}},exports[a108_0xa8061b(0x199)]=async _0x462527=>{const _0x1a34f5=a108_0xa8061b;try{const _0x4f2bd8=await _0x462527[_0x1a34f5(0x134)]();return exports[_0x1a34f5(0x1f6)](_0x4f2bd8);}catch(_0x3a99d8){return logger['debug'](_0x1a34f5(0x1ab)+_0x3a99d8),![];}},exports[a108_0xa8061b(0x1b8)]=()=>{const _0x1335de=a108_0xa8061b,_0x377606={};return _0x377606[_0x1335de(0x10a)]=!![],_0x377606;},exports[a108_0xa8061b(0x1dc)]=()=>{const _0x30acfe=a108_0xa8061b,_0x2e2182={};_0x2e2182['KZCPm']=function(_0x31eedc,_0x43d415){return _0x31eedc===_0x43d415;},_0x2e2182[_0x30acfe(0x11c)]=_0x30acfe(0xf0),_0x2e2182[_0x30acfe(0xed)]=function(_0x3194d7,_0x4949e3){return _0x3194d7>_0x4949e3;},_0x2e2182[_0x30acfe(0x1f1)]=_0x30acfe(0x1b6),_0x2e2182[_0x30acfe(0x177)]=_0x30acfe(0x13f),_0x2e2182[_0x30acfe(0xea)]=_0x30acfe(0x150);const _0x153f8c=_0x2e2182,_0xdd7f8e=global[_0x30acfe(0x1c5)],_0x1bd8f1=_0xdd7f8e&&_0xdd7f8e[_0x30acfe(0x18a)],_0x5e37a9=_0x1bd8f1&&_0x1bd8f1['thTestRunUuid'];if(_0x153f8c[_0x30acfe(0x208)](typeof _0x5e37a9,_0x153f8c[_0x30acfe(0x11c)])&&_0x153f8c['Kxldp'](_0x5e37a9[_0x30acfe(0x1e4)],0x0))return _0x5e37a9;let _0x39efad;if(!_0xdd7f8e)_0x39efad=_0x153f8c[_0x30acfe(0x1f1)];else!_0x1bd8f1?_0x39efad=_0x153f8c[_0x30acfe(0x177)]:_0x39efad=_0x30acfe(0x148)+Object['keys'](_0x1bd8f1)[_0x30acfe(0x152)](',\x20')+']\x20but\x20thTestRunUuid\x20is\x20'+(_0x153f8c[_0x30acfe(0x208)](_0x5e37a9,undefined)?_0x153f8c[_0x30acfe(0xea)]:'\x22'+_0x5e37a9+'\x22')+_0x30acfe(0xf9);return logger['warn'](_0x30acfe(0x1c7)+_0x39efad+'\x20The\x20on-device\x20scan\x20will\x20POST\x20to\x20/api/test_cases/save_intermediate_results\x20with\x20an\x20empty\x20th_test_run_uuid\x20and\x20fail\x20validation\x20(HTTP\x20422).\x20Fix\x20the\x20framework\x20setup\x20hook\x20that\x20should\x20pre-populate\x20global.__workerDetails.currentTest.thTestRunUuid.'),'';},exports[a108_0xa8061b(0x13a)]=_0x2d2325=>{const _0x44dee6=a108_0xa8061b,_0x15aa36={};_0x15aa36[_0x44dee6(0x1cc)]=function(_0x5e04c6,_0x3eb086){return _0x5e04c6===_0x3eb086;},_0x15aa36[_0x44dee6(0x110)]='string',_0x15aa36[_0x44dee6(0x1eb)]=_0x44dee6(0x154);const _0x2064e2=_0x15aa36;if(_0x2d2325&&_0x2d2325['script']&&_0x2064e2[_0x44dee6(0x1cc)](typeof _0x2d2325[_0x44dee6(0x12b)],_0x2064e2[_0x44dee6(0x110)]))return _0x2d2325[_0x44dee6(0x12b)][_0x44dee6(0xfb)](_0x2064e2['RODrz']);return![];},exports[a108_0xa8061b(0x1bc)]=a108_0xa8061b(0xf2),exports[a108_0xa8061b(0x1f7)]=()=>process['env']['BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP']===a108_0xa8061b(0x119),exports[a108_0xa8061b(0xfd)]=_0x214e81=>{const _0x25ac33=a108_0xa8061b,_0x3c2aae={};_0x3c2aae[_0x25ac33(0x1d8)]=function(_0x2553b5,_0x2122aa){return _0x2553b5 in _0x2122aa;};const _0x5c6ad5=_0x3c2aae;if(bsSetupHelper[_0x25ac33(0x1c1)](_0x214e81))return![];const _0xa629b5=_0x214e81['toLowerCase']();return _0x5c6ad5[_0x25ac33(0x1d8)](_0xa629b5,ACCESSIBILITY_SUPPORTED_BROWSERS);},exports['getBrowserA11yConfig']=_0x43a74c=>{if(bsSetupHelper['isUndefined'](_0x43a74c))return null;const _0x40f361=_0x43a74c['toLowerCase']();return ACCESSIBILITY_SUPPORTED_BROWSERS[_0x40f361]||null;},exports[a108_0xa8061b(0x1b2)]=(_0x36ee73,_0x341f50)=>{const _0x464613=a108_0xa8061b,_0x43cab5=this[_0x464613(0x1a3)](_0x36ee73);if(!_0x43cab5)return null;if(_0x341f50)return _0x43cab5[_0x464613(0x198)];return _0x43cab5[_0x464613(0xf3)];},exports[a108_0xa8061b(0x161)]=_0x296ed1=>{const _0x19fb07=a108_0xa8061b,_0x1e06b2=this[_0x19fb07(0x1a3)](_0x296ed1);return _0x1e06b2?_0x1e06b2[_0x19fb07(0x15b)]:_0x296ed1;},exports['requiresChromeOptionsValidation']=_0x34660c=>{const _0x11fd1b=a108_0xa8061b,_0x407070=this[_0x11fd1b(0x1a3)](_0x34660c);return _0x407070?_0x407070['requires_chrome_options_check']:![];},exports[a108_0xa8061b(0x1fd)]=(_0x5e4bcf,_0x2f7f23)=>{const _0x5b5da3=a108_0xa8061b,_0x5f3d28={'sTgui':function(_0x5ac577,_0x3b572e){return _0x5ac577(_0x3b572e);},'sJMeB':function(_0x2a5c31,_0x34484f){return _0x2a5c31(_0x34484f);},'HdFLQ':function(_0x5813b9,_0xad8c3e){return _0x5813b9>=_0xad8c3e;}};if(bsSetupHelper[_0x5b5da3(0x1c1)](_0x5e4bcf)||bsSetupHelper[_0x5b5da3(0x1c1)](_0x2f7f23))return![];const _0x504aaf=bsSetupHelper[_0x5b5da3(0x17e)](_0x5f3d28[_0x5b5da3(0x1e3)](String,_0x5e4bcf),_0x5f3d28[_0x5b5da3(0xeb)](String,_0x2f7f23));return _0x5f3d28[_0x5b5da3(0x112)](_0x504aaf,0x0);},exports[a108_0xa8061b(0x127)]=_0x39152d=>{const _0x5b40d9=a108_0xa8061b,_0xde045d={};_0xde045d[_0x5b40d9(0x1f8)]=function(_0x113abd,_0x226080){return _0x113abd!==_0x226080;},_0xde045d['dMpKy']=_0x5b40d9(0xf0),_0xde045d[_0x5b40d9(0x170)]=_0x5b40d9(0x1e1);const _0x5445c4=_0xde045d;if(!_0x39152d||_0x5445c4[_0x5b40d9(0x1f8)](typeof _0x39152d,_0x5445c4[_0x5b40d9(0x131)]))return null;try{return JSON['parse'](Buffer[_0x5b40d9(0x175)](_0x39152d[_0x5b40d9(0x101)]('.')[0x1],_0x5445c4[_0x5b40d9(0x170)])[_0x5b40d9(0x1f9)]());}catch{return null;}};function a108_0x2d3a(){const _0x597815=['mugRx','JxEYK','a11y:stop','bstack:options','accessibility','errors','isMobileAccessibilityPlatform','isMobileScanningEnabledForGroup','PoZzR','toString','RIDPA','deviceName','v2/test_runs','isVersionSupported','dsYja','createAccessibilityTestRun','__cloud_provider___','scannerVersion','bhtRV','get','cJJQZ','getAccessibilityResults:\x20Mobile\x20session\x20detected,\x20args:\x20','isTrue','wAYRl','KZCPm','browserVersion','aFNJa','sJMeB','isAccessibilityAutomationSession','Kxldp','getAccessibilityResultsSummary:\x20Mobile\x20session\x20detected,\x20args:\x20','pass','string','fgDfj','Mobile\x20Accessibility\x20Automation\x20is\x20not\x20enabled\x20for\x20your\x20account.\x20Accessibility\x20scans\x20will\x20be\x20skipped\x20on\x20mobile\x20sessions.\x20Contact\x20BrowserStack\x20to\x20enable\x20mobile\x20accessibility\x20scanning.','min_version_non_browserstack','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token','error','getAgentVersion','executeAsyncScript','SREJY','.\x20The\x20framework\x20setup\x20hook\x20is\x20not\x20writing\x20thTestRunUuid\x20onto\x20currentTest.','isArray','includes','ALgTm','isBrowserSupportedForAccessibility','ZjpyN','bstackA11yShouldScan','map','split','data','Performing\x20scan\x20before\x20getting\x20results','3654212CMKSTh','2213043yRrWIP','Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','browserName','getBrowserName','is_mobile_session','android','No\x20accessibility\x20results\x20were\x20found.','command','getPackageVersion','rOaIk','xeiwf','../logger','HdFLQ','javascript','8XdYojY','getUserName','uSOSq','BCymR','jwsFk','true','kKoAi','rTBXl','uHlIM','message','buildDescription','basename','assign','getHostInfo','warn','Content-Type','parse','2009378IUNRWE','OzZpu','parseA11yJwtPayload','YRqqx','WxYYG','../performance/performance-tester','script','oJqEE','vpYIH','browserstackSessionName','wtndQ','browserstack','dMpKy','GDNAg','Elqbs','getCapabilities','excludeTagsInTestingScope','toISOString','tPDTh','QeJuA','replace','isBrowserStackCommandExecutor','platformName','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','chrome','ZuHLl','global.__workerDetails\x20exists\x20but\x20.currentTest\x20is\x20undefined\x20—\x20scan\x20fired\x20outside\x20a\x20test\x20body\x20(before/beforeAll\x20hook,\x20or\x20between\x20tests).','user','BQNPa','function','nodeRequest','getCiInfo','getAccessKey','kzWXq','performScan','global.__workerDetails.currentTest\x20exists\x20with\x20keys\x20[','Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20','some','Not\x20a\x20Accessibility\x20Session','format','AvhCz','yJthJ','29382786bdwkXj','undefined','YrsnF','join','FNXUG','browserstack_executor','IVcaK','set','Bearer\x20','OZmTY','toJson','HLrgb','display_name','iCffn','wdFRa','Build\x20creation\x20had\x20failed.','checkAccessibilityPlatformConfig','toLowerCase','getBrowserDisplayName','--headless=','uRERF','path','iSOug','BQzin','platforms','auth','projectName','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','getResults','Error\x20while\x20adding\x20Non-Bstack\x20capabilities:\x20','performScan:\x20Mobile\x20capabilities\x20added\x20to\x20scan\x20arguments','success','Mobile\x20Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser.','pNcqo','capabilities_','tHliW','LVsnL','XTpKF','from','BS_A11Y_JWT','pLpoU','requireModule','getTestFrameworkDetails','winstonLogger','Authorization','./scripts','nonBstackPlatformValidation','compareVersions','ckbSH','getAccessibilityResultsSummary','../globals','rmZhT','shouldScanTestForAccessibility','jVfiS','XggCQ','Performing\x20scan\x20before\x20getting\x20results\x20summary','stopAccessibilityTestRun','selenium-webdriver/chrome.js','jTOQS','currentTest','getGlobal','parseFromJson','goog:chromeOptions','pRRAS','BROWSERSTACK_TEST_ACCESSIBILITY_YML','933255kPDvmc','stack','mAAjG','ogNJG','646069smbKDS','VDXYv','pyqpm','PERFORM_SCAN','min_version_browserstack','isMobileAccessibilitySession','env','hvTOj','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','eduVs','method','test_runs/stop','Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20','6253092ePtBtp','nestedKeyValue','getBrowserA11yConfig','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','EHopH','zqwuI','statusText','null','MeZAY','trim','Error\x20checking\x20mobile\x20accessibility\x20session:\x20','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20','status','iNkoX','lNWpD','getPlatformVersion','wait','getMinVersionForBrowser','buildName','pqshX','AHJsC','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).','getResultsSummary','getMobileA11yCapabilities','ZGVyB','uVvrs','Session\x20is\x20identified\x20as\x20mobile\x20accessibility\x20platform\x20(Android\x20+\x20Chrome)','MOBILE_SCANNING_DISABLED_WARNING','evLyD','json','--headless','../performance/constants','isUndefined','Performed\x20scan\x20with\x20result:\x20','version','body','__workerDetails','xZWJG','[Accessibility]\x20Mobile\x20scan\x20requested\x20but\x20thTestRunUuid\x20not\x20resolvable:\x20','isBrowserstackInfra','response','debug','3iEhkXN','bbJfe','owgiP','Error\x20checking\x20if\x20mobile\x20accessibility\x20platform:\x20','gKxmo','executeScript','a11y:start','DAjhi','isAccessibilityPlatform','./constants','measureWrapper','chromeOptions','headers','bvSqG','cwd','getAccessibilityResults','PUT','resolveMobileThTestRunUuid','BROWSERSTACK_TURBOSCALE','TVFJH','Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20','stringify','base64','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20','sTgui','length','../helper','bstackA11yScanOptions','setNonBstackInfraCapabilities','SITDP','abzCk','sRJEL','RODrz','kOOVw','GrEwi','args','GET_RESULTS_SUMMARY'];a108_0x2d3a=function(){return _0x597815;};return a108_0x2d3a();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a109_0x525fb8=a109_0x443c;function a109_0x443c(_0x286c95,_0x49c398){const _0x3fe19d=a109_0x3fe1();return a109_0x443c=function(_0x443ce1,_0x1f9006){_0x443ce1=_0x443ce1-0xb2;let _0x43662d=_0x3fe19d[_0x443ce1];return _0x43662d;},a109_0x443c(_0x286c95,_0x49c398);}(function(_0x14b251,_0x45b30b){const _0x2c8866=a109_0x443c,_0x386a6d=_0x14b251();while(!![]){try{const _0x443954=-parseInt(_0x2c8866(0xbf))/0x1*(parseInt(_0x2c8866(0xdc))/0x2)+parseInt(_0x2c8866(0xe6))/0x3+-parseInt(_0x2c8866(0xdb))/0x4+parseInt(_0x2c8866(0xd9))/0x5+parseInt(_0x2c8866(0xbe))/0x6+-parseInt(_0x2c8866(0xe5))/0x7+parseInt(_0x2c8866(0xb8))/0x8*(parseInt(_0x2c8866(0xc1))/0x9);if(_0x443954===_0x45b30b)break;else _0x386a6d['push'](_0x386a6d['shift']());}catch(_0xe2255f){_0x386a6d['push'](_0x386a6d['shift']());}}}(a109_0x3fe1,0xe3c0d));const path=require(a109_0x525fb8(0xe1)),fs=require('fs'),logger=require(a109_0x525fb8(0xba))['winstonLogger'],helper=require(a109_0x525fb8(0xec));function a109_0x3fe1(){const _0x591b16=['Exception\x20in\x20browserstack\x20accessibility\x20automation\x20with\x20error:\x20','getName','toJson','EGkgf','TzKia','getModule','toLowerCase','8vKABXk','map','../../helpers/logger','commandsToWrap','writeFileSync','join','6334788VatpHl','576061FNLZLZ','name','3874509bwDydD','fLKkp','mkdirSync','saveTestResults','saveResults','getResults','.browserstack','RwKWq','exports','existsSync','browserstackFolderPath','shouldWrapCommand','scripts','getClass','performScan','getLibrary','split','HHssq','RRkdS','SwoiL','scan','findIndex','getResultsSummary','XouXR','8961970HWYbLp','getCommand','2315960uYjUvL','2oPAOwO','nonBStackInfraA11yChromeOptions','length','parseFromJson','commandsPath','path','5|1|6|4|3|2|0','SZxKy','ChromeExtension','10955350PChHlt','1122855AXmPNF','getMethod','stringify','TrGOO','homedir','jLMqT','../helper','fromJson'];a109_0x3fe1=function(){return _0x591b16;};return a109_0x3fe1();}class Scripts{constructor(){const _0x3e45de=a109_0x525fb8,_0x5b90fe={};_0x5b90fe[_0x3e45de(0xc8)]=_0x3e45de(0xe2),_0x5b90fe['UcuXb']='commands.json',_0x5b90fe[_0x3e45de(0xd2)]=_0x3e45de(0xc7);const _0x44fbc5=_0x5b90fe,_0x8c50d2=_0x44fbc5[_0x3e45de(0xc8)][_0x3e45de(0xd1)]('|');let _0x1cda16=0x0;while(!![]){switch(_0x8c50d2[_0x1cda16++]){case'0':this[_0x3e45de(0xed)]();continue;case'1':this[_0x3e45de(0xc6)]=null;continue;case'2':this['commandsPath']=path[_0x3e45de(0xbd)](this[_0x3e45de(0xcb)],_0x44fbc5['UcuXb']);continue;case'3':this[_0x3e45de(0xcb)]=path[_0x3e45de(0xbd)](helper[_0x3e45de(0xea)](),_0x44fbc5[_0x3e45de(0xd2)]);continue;case'4':this[_0x3e45de(0xc4)]=null;continue;case'5':this[_0x3e45de(0xcf)]=null;continue;case'6':this[_0x3e45de(0xd7)]=null;continue;}break;}}[a109_0x525fb8(0xdf)](_0x331a09){const _0x77a08f=a109_0x525fb8;_0x331a09[_0x77a08f(0xcd)]&&(this[_0x77a08f(0xcf)]=_0x331a09['scripts']['scan'],this[_0x77a08f(0xc6)]=_0x331a09['scripts']['getResults'],this['getResultsSummary']=_0x331a09[_0x77a08f(0xcd)]['getResultsSummary'],this[_0x77a08f(0xc4)]=_0x331a09['scripts'][_0x77a08f(0xc5)]),this[_0x77a08f(0xbb)]=_0x331a09['commands'],this[_0x77a08f(0xe4)]=_0x331a09[_0x77a08f(0xdd)];}['parseFromProto'](_0x27aad7,_0x340a57){const _0x28b263=a109_0x525fb8,_0x1d8122={};_0x1d8122['TzKia']=function(_0x164bad,_0x3fbd3e){return _0x164bad>_0x3fbd3e;},_0x1d8122[_0x28b263(0xd3)]=function(_0x10401c,_0x23d1e0){return _0x10401c===_0x23d1e0;},_0x1d8122[_0x28b263(0xe3)]=_0x28b263(0xd5),_0x1d8122[_0x28b263(0xeb)]=function(_0x711258,_0x138532){return _0x711258===_0x138532;},_0x1d8122['fLKkp']=_0x28b263(0xc6),_0x1d8122[_0x28b263(0xe9)]=_0x28b263(0xd7),_0x1d8122[_0x28b263(0xd8)]=function(_0x4bee3b,_0x28d097){return _0x4bee3b===_0x28d097;},_0x1d8122['EGkgf']=_0x28b263(0xc5);const _0x2d65c5=_0x1d8122;if(_0x27aad7&&_0x2d65c5['TzKia'](_0x27aad7[_0x28b263(0xde)],0x0))for(const _0x2d74ee of _0x27aad7){if(_0x2d65c5[_0x28b263(0xd3)](_0x2d74ee[_0x28b263(0xb2)](),_0x2d65c5[_0x28b263(0xe3)]))this[_0x28b263(0xcf)]=_0x2d74ee['getCommand']();else{if(_0x2d65c5[_0x28b263(0xeb)](_0x2d74ee[_0x28b263(0xb2)](),_0x2d65c5[_0x28b263(0xc2)]))this['getResults']=_0x2d74ee[_0x28b263(0xda)]();else{if(_0x2d65c5[_0x28b263(0xd3)](_0x2d74ee[_0x28b263(0xb2)](),_0x2d65c5[_0x28b263(0xe9)]))this[_0x28b263(0xd7)]=_0x2d74ee[_0x28b263(0xda)]();else _0x2d65c5['XouXR'](_0x2d74ee[_0x28b263(0xb2)](),_0x2d65c5[_0x28b263(0xb4)])&&(this[_0x28b263(0xc4)]=_0x2d74ee[_0x28b263(0xda)]());}}}_0x340a57&&_0x2d65c5[_0x28b263(0xb5)](_0x340a57[_0x28b263(0xde)],0x0)&&(this[_0x28b263(0xbb)]=_0x340a57[_0x28b263(0xb9)](_0x568972=>{const _0x45ffc3=_0x28b263;return{'name':_0x568972['getName'](),'method':_0x568972[_0x45ffc3(0xe7)](),'library':_0x568972[_0x45ffc3(0xd0)](),'module':_0x568972[_0x45ffc3(0xb6)](),'class':_0x568972[_0x45ffc3(0xce)]()};}));}[a109_0x525fb8(0xcc)](_0x18fb75){const _0x107390=a109_0x525fb8,_0x2d0620={};_0x2d0620[_0x107390(0xd4)]=function(_0x4a56d7,_0x21b0ee){return _0x4a56d7!==_0x21b0ee;};const _0x10071b=_0x2d0620;try{return _0x10071b[_0x107390(0xd4)](this[_0x107390(0xbb)][_0x107390(0xd6)](_0x854848=>_0x854848[_0x107390(0xc0)][_0x107390(0xb7)]()===_0x18fb75['toLowerCase']()),-0x1);}catch(_0x3721c9){logger['debug'](_0x107390(0xee)+_0x3721c9);}return![];}[a109_0x525fb8(0xb3)](){const _0x30399d=a109_0x525fb8;!fs[_0x30399d(0xca)](this[_0x30399d(0xcb)])&&fs[_0x30399d(0xc3)](this[_0x30399d(0xcb)]),fs[_0x30399d(0xbc)](this[_0x30399d(0xe0)],JSON[_0x30399d(0xe8)]({'scripts':{'scan':this['performScan'],'getResults':this[_0x30399d(0xc6)],'getResultsSummary':this[_0x30399d(0xd7)],'saveResults':this[_0x30399d(0xc4)]},'commands':this[_0x30399d(0xbb)],'nonBStackInfraA11yChromeOptions':this[_0x30399d(0xe4)]}));}[a109_0x525fb8(0xed)](){const _0xdf7c48=a109_0x525fb8,_0x1961bb={'exTdn':function(_0x4fa20f,_0x3e86b8){return _0x4fa20f(_0x3e86b8);}};fs['existsSync'](this[_0xdf7c48(0xe0)])&&this[_0xdf7c48(0xdf)](_0x1961bb['exTdn'](require,this[_0xdf7c48(0xe0)]));}}module[a109_0x525fb8(0xc9)]=new Scripts();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a110_0x27ef79=a110_0x14c6;(function(_0x19fcde,_0x3c9024){const _0x5d825a=a110_0x14c6,_0x4e6a35=_0x19fcde();while(!![]){try{const _0xb73264=parseInt(_0x5d825a(0x16b))/0x1*(parseInt(_0x5d825a(0x195))/0x2)+parseInt(_0x5d825a(0x19e))/0x3*(-parseInt(_0x5d825a(0x14d))/0x4)+parseInt(_0x5d825a(0x19c))/0x5*(-parseInt(_0x5d825a(0x144))/0x6)+parseInt(_0x5d825a(0x135))/0x7+-parseInt(_0x5d825a(0x136))/0x8+parseInt(_0x5d825a(0x18a))/0x9*(-parseInt(_0x5d825a(0x178))/0xa)+parseInt(_0x5d825a(0x17e))/0xb*(-parseInt(_0x5d825a(0x190))/0xc);if(_0xb73264===_0x3c9024)break;else _0x4e6a35['push'](_0x4e6a35['shift']());}catch(_0x5621d2){_0x4e6a35['push'](_0x4e6a35['shift']());}}}(a110_0x4510,0xe8aa0));function a110_0x14c6(_0x5705e0,_0x4276ce){const _0x45105d=a110_0x4510();return a110_0x14c6=function(_0x14c6a3,_0x48087d){_0x14c6a3=_0x14c6a3-0x129;let _0x80bc3e=_0x45105d[_0x14c6a3];return _0x80bc3e;},a110_0x14c6(_0x5705e0,_0x4276ce);}const path=require(a110_0x27ef79(0x182)),{commandRepository}=require(a110_0x27ef79(0x137)),constants=require(a110_0x27ef79(0x197)),logger=require('../logger')['winstonLogger'],globals=require('../globals'),timeoutPromise=require(a110_0x27ef79(0x185)),isUndefinedOrNull=_0x589c2b=>_0x589c2b===undefined||_0x589c2b===null||_0x589c2b==='',isNotUndefinedOrNull=_0x555ef0=>!isUndefinedOrNull(_0x555ef0),isString=_0x5ae522=>isNotUndefinedOrNull(_0x5ae522)&&typeof _0x5ae522==='string';class AiSdkWrapper{constructor(){const _0x2eb833=a110_0x27ef79,_0x300a1f={'ILyyu':function(_0x42544d,_0x5686dd){return _0x42544d(_0x5686dd);},'Hjrua':_0x2eb833(0x15e)};this[_0x2eb833(0x14b)]=undefined;try{this[_0x2eb833(0x14b)]=_0x300a1f[_0x2eb833(0x12f)](require,path[_0x2eb833(0x19b)](__dirname,_0x300a1f[_0x2eb833(0x186)]));}catch(_0x398ffe){logger[_0x2eb833(0x145)](_0x2eb833(0x179)+(_0x398ffe&&_0x398ffe[_0x2eb833(0x155)]?_0x398ffe[_0x2eb833(0x155)]:''));}}[a110_0x27ef79(0x13b)](_0x48a30c){const _0x563ec8=a110_0x27ef79,_0x321985={};_0x321985[_0x563ec8(0x164)]=_0x563ec8(0x156),_0x321985[_0x563ec8(0x16a)]=function(_0x46d850,_0x30f0e9){return _0x46d850===_0x30f0e9;},_0x321985[_0x563ec8(0x16c)]=_0x563ec8(0x16f),_0x321985[_0x563ec8(0x18c)]=_0x563ec8(0x13e),_0x321985[_0x563ec8(0x158)]='safari',_0x321985[_0x563ec8(0x17c)]='edge',_0x321985[_0x563ec8(0x13a)]=function(_0x569a10,_0xdffe72){return _0x569a10===_0xdffe72;},_0x321985[_0x563ec8(0x193)]='microsoftedge',_0x321985[_0x563ec8(0x171)]=function(_0x226f34,_0x5247ab){return _0x226f34===_0x5247ab;};const _0x24544d=_0x321985;try{const _0xadecf6=this[_0x563ec8(0x14b)][_0x563ec8(0x176)](Object[_0x563ec8(0x160)](_0x48a30c['getCapabilities']()[_0x563ec8(0x138)]));console['log'](_0x24544d['KDpfJ'],_0xadecf6);if(_0x24544d[_0x563ec8(0x16a)](_0xadecf6?.[_0x563ec8(0x142)]?.[_0x563ec8(0x140)](),_0x24544d[_0x563ec8(0x16c)]))_0x48a30c[_0x563ec8(0x165)]=_0xadecf6;else{if(_0x24544d[_0x563ec8(0x16a)](_0xadecf6?.[_0x563ec8(0x142)]?.[_0x563ec8(0x140)](),_0x24544d[_0x563ec8(0x18c)]))_0x48a30c[_0x563ec8(0x169)]=_0xadecf6;else{if(_0x24544d[_0x563ec8(0x16a)](_0xadecf6?.['browserName']?.[_0x563ec8(0x140)](),_0x24544d[_0x563ec8(0x158)]))_0x48a30c['safariOptions_']=_0xadecf6;else{if(_0x24544d[_0x563ec8(0x16a)](_0xadecf6?.[_0x563ec8(0x142)]?.[_0x563ec8(0x140)](),_0x24544d[_0x563ec8(0x17c)])||_0x24544d['ZqShq'](_0xadecf6?.[_0x563ec8(0x142)]?.[_0x563ec8(0x140)](),_0x24544d[_0x563ec8(0x193)]))_0x48a30c[_0x563ec8(0x175)]=_0xadecf6;else _0x24544d[_0x563ec8(0x171)](_0xadecf6?.[_0x563ec8(0x142)]?.['toLowerCase'](),'ie')&&(_0x48a30c[_0x563ec8(0x129)]=_0xadecf6);}}}Object['keys'](_0xadecf6)['forEach'](_0x56ad66=>{const _0x3ac90a=_0x563ec8,_0x2a53fe=_0x48a30c[_0x3ac90a(0x168)][_0x3ac90a(0x161)](_0x56ad66);_0x48a30c[_0x3ac90a(0x168)][_0x3ac90a(0x132)](_0x56ad66,_0xadecf6[_0x56ad66]);});}catch(_0x26b6ba){logger[_0x563ec8(0x145)]('Error\x20in\x20initialising\x20healing\x20capabilities\x20,\x20error:\x20'+(_0x26b6ba&&_0x26b6ba['message']?_0x26b6ba[_0x563ec8(0x155)]:''));}}async['setTcgToken'](_0xd4c51a){const _0x437da1=a110_0x27ef79,_0x39477e={'GoGdF':function(_0xcd1d86,_0x2acb1e,_0x4d2503,_0x2c38a2,_0x24141d,_0x1859a9,_0x223da2){return _0xcd1d86(_0x2acb1e,_0x4d2503,_0x2c38a2,_0x24141d,_0x1859a9,_0x223da2);},'ZkLiG':_0x437da1(0x188),'gUoXS':_0x437da1(0x167),'dnblr':_0x437da1(0x15f)},_0x2c4051=new Date(),_0x5565e2=_0x39477e[_0x437da1(0x15b)](timeoutPromise,constants[_0x437da1(0x139)],_0x39477e[_0x437da1(0x183)],_0x39477e[_0x437da1(0x18f)],_0x2c4051,this['config'],this[_0x437da1(0x19d)]);await Promise[_0x437da1(0x14a)]([this[_0x437da1(0x14b)][_0x437da1(0x12d)](_0xd4c51a,globals[_0x437da1(0x181)](_0x39477e[_0x437da1(0x13d)]),constants[_0x437da1(0x141)])[_0x437da1(0x14c)](()=>{const _0x897568=_0x437da1;_0x5565e2[_0x897568(0x189)]();}),_0x5565e2]);}async[a110_0x27ef79(0x12c)](_0x1db76c,_0x20257b,_0x473f3f,_0x43b45e){const _0x195085=a110_0x27ef79,_0x2fb3d6={'rQneK':function(_0x309e17,_0x1a42a5){return _0x309e17===_0x1a42a5;},'FuYbZ':function(_0xfcb18a,_0x33064f){return _0xfcb18a(_0x33064f);},'YIsac':function(_0x2adab6,_0x38bfcf){return _0x2adab6(_0x38bfcf);},'Jvfiy':function(_0x17345b,_0x2aabbf){return _0x17345b(_0x2aabbf);},'DfAsB':function(_0x5d7405,_0x53a2da){return _0x5d7405(_0x53a2da);},'SFQCT':function(_0x1c6253,_0x45d8e8){return _0x1c6253(_0x45d8e8);},'HOrGm':function(_0x2ee140,_0x411141){return _0x2ee140(_0x411141);},'kCaSc':function(_0x38d9dd,_0x4594e7){return _0x38d9dd(_0x4594e7);},'xSCWZ':function(_0x1ac472,_0x3fef44){return _0x1ac472(_0x3fef44);},'KIgDM':'s://','CIVrB':function(_0xda6c5f,_0x5d1440){return _0xda6c5f(_0x5d1440);},'jwRCn':_0x195085(0x157),'WWlvh':'aiHeal_groupId','cDgxo':'aiHeal_isGroupAIEnabled','KNHtj':function(_0x5c7712,_0x28fbcb,_0x4f171c,_0x50893b,_0x5a1529,_0x203981,_0x2aa626){return _0x5c7712(_0x28fbcb,_0x4f171c,_0x50893b,_0x5a1529,_0x203981,_0x2aa626);},'CXwCl':'BrowserstackHealing.logData\x20method\x20timed\x20out','anWmS':_0x195085(0x153),'ohaEB':function(_0x56413e,_0x1b4569,_0x23849f,_0x14c134,_0x3f677b,_0x2a3acc,_0x1bec7e){return _0x56413e(_0x1b4569,_0x23849f,_0x14c134,_0x3f677b,_0x2a3acc,_0x1bec7e);},'yDiFP':_0x195085(0x198),'BgwMR':_0x195085(0x14e)},_0xed48f9=(await _0x20257b[_0x195085(0x17a)]())['getId']();let _0xab333='';if(commandRepository['isSelfHealEnabled']()&&_0x2fb3d6['rQneK'](_0x43b45e,![])||_0x2fb3d6[_0x195085(0x162)](_0x43b45e,!![])){const _0x5f1831=_0x2fb3d6[_0x195085(0x192)](isNotUndefinedOrNull,_0x473f3f[_0x195085(0x180)][_0x195085(0x18d)])&&_0x2fb3d6[_0x195085(0x19a)](isString,_0x473f3f[_0x195085(0x180)][_0x195085(0x18d)])?_0x473f3f[_0x195085(0x180)][_0x195085(0x18d)][_0x195085(0x17d)](/'/g,'\x5c\x27')['replace'](/"/g,'\x5c\x22'):'',_0x48999f=_0x2fb3d6['FuYbZ'](isNotUndefinedOrNull,_0x473f3f[_0x195085(0x180)][_0x195085(0x18d)])&&_0x2fb3d6[_0x195085(0x133)](isString,_0x473f3f[_0x195085(0x180)][_0x195085(0x154)])?_0x473f3f[_0x195085(0x180)][_0x195085(0x154)][_0x195085(0x17d)](/'/g,'\x5c\x27')[_0x195085(0x17d)](/"/g,'\x5c\x22'):'',_0x4ee2e2=_0x2fb3d6['DfAsB'](isNotUndefinedOrNull,commandRepository[_0x195085(0x16e)]())&&_0x2fb3d6['SFQCT'](isString,commandRepository[_0x195085(0x16e)]())?commandRepository[_0x195085(0x16e)]()['replace'](/'/g,'\x5c\x27')[_0x195085(0x17d)](/"/g,'\x5c\x22'):'';let _0x4ae786=_0x2fb3d6[_0x195085(0x148)](isNotUndefinedOrNull,global[_0x195085(0x12a)])&&_0x2fb3d6[_0x195085(0x15a)](isString,global[_0x195085(0x12a)])?global[_0x195085(0x12a)][_0x195085(0x17d)](/'/g,'\x5c\x27')[_0x195085(0x17d)](/"/g,'\x5c\x22'):'';!_0x4ae786&&(_0x4ae786=_0x2fb3d6[_0x195085(0x177)](isNotUndefinedOrNull,commandRepository['getTestName']())&&_0x2fb3d6[_0x195085(0x184)](isString,commandRepository[_0x195085(0x170)]())?commandRepository['getTestName']()[_0x195085(0x17d)](/'/g,'\x5c\x27')[_0x195085(0x17d)](/"/g,'\x5c\x22'):'');let _0x364294=_0x195085(0x150)+constants[_0x195085(0x130)]+_0x195085(0x196)+constants['TCG_REGION']+_0x195085(0x18b)+constants[_0x195085(0x141)]['split'](_0x2fb3d6['KIgDM'])[0x1]+'\x22}}}';_0x364294=_0x2fb3d6['CIVrB'](isNotUndefinedOrNull,_0x364294)&&_0x2fb3d6[_0x195085(0x177)](isString,_0x364294)?_0x364294['replace'](/'/g,'\x5c\x27')[_0x195085(0x17d)](/"/g,'\x5c\x22'):'';const _0x3770a4=commandRepository[_0x195085(0x17f)](_0xed48f9),_0x485d6a=globals[_0x195085(0x181)](_0x2fb3d6['jwRCn']),_0x1f524a=globals[_0x195085(0x181)](_0x2fb3d6['WWlvh']),_0x2bae3e=globals[_0x195085(0x181)](_0x2fb3d6['cDgxo']),_0x5f0021=![],_0x1e4766=new Date();if(_0x43b45e){const _0x46ee3d=_0x2fb3d6['KNHtj'](timeoutPromise,constants[_0x195085(0x173)],_0x2fb3d6[_0x195085(0x172)],_0x2fb3d6[_0x195085(0x166)],_0x1e4766,this[_0x195085(0x13f)],this[_0x195085(0x19d)]);_0xab333=await Promise[_0x195085(0x14a)]([this[_0x195085(0x14b)][_0x195085(0x199)](_0x5f1831,_0x48999f,_0x4ee2e2,_0x4ae786,_0x1f524a,_0xed48f9,_0x3770a4,_0x364294)[_0x195085(0x14c)](_0x20b62f=>{const _0x342091=_0x195085;return _0x46ee3d[_0x342091(0x189)](),_0x20b62f;}),_0x46ee3d]);}else{if(commandRepository[_0x195085(0x131)]()){const _0x11ea2d=_0x2fb3d6['ohaEB'](timeoutPromise,constants[_0x195085(0x134)],_0x2fb3d6[_0x195085(0x151)],_0x2fb3d6[_0x195085(0x14f)],_0x1e4766,this['config'],this[_0x195085(0x19d)]);_0xab333=await Promise['race']([this['BrowserstackHealing'][_0x195085(0x17b)](_0x5f1831,_0x48999f,_0x4ee2e2,_0x4ae786,_0x485d6a,_0x1f524a,_0xed48f9,_0x3770a4,_0x5f0021,_0x2bae3e,_0x364294)['then'](_0x524e7b=>{return _0x11ea2d['cancel'](),_0x524e7b;}),_0x11ea2d]);}}_0xab333&&await _0x20257b[_0x195085(0x12b)](_0xab333);}}async[a110_0x27ef79(0x13c)](_0x22dcff,_0x439fa3,_0x544c9b){const _0x3c5768=a110_0x27ef79;try{await this[_0x3c5768(0x12c)](_0x22dcff,_0x439fa3,_0x544c9b,!![]);}catch(_0x400f9f){return logger[_0x3c5768(0x145)](_0x3c5768(0x147)+(_0x400f9f&&_0x400f9f[_0x3c5768(0x155)]?_0x400f9f[_0x3c5768(0x155)]:'')),![];}return!![];}async[a110_0x27ef79(0x191)](_0x196372,_0x4817d6,_0x3daf1a){const _0x4e2663=a110_0x27ef79,_0x22ce52={'TdCZH':function(_0x5d5f27,_0x335324,_0x5af1c5,_0x5e0b32,_0x40cb03,_0x207193,_0x5e5080){return _0x5d5f27(_0x335324,_0x5af1c5,_0x5e0b32,_0x40cb03,_0x207193,_0x5e5080);},'cEzcc':_0x4e2663(0x152),'LQWAt':_0x4e2663(0x143),'csBCL':'aiHeal_sessionToken'};try{await this[_0x4e2663(0x12c)](_0x196372,_0x4817d6,_0x3daf1a,![]);const _0x4e7aab=(await _0x4817d6['getSession']())['getId'](),_0x1db8ec=new Date(),_0x1be197=_0x22ce52[_0x4e2663(0x16d)](timeoutPromise,constants[_0x4e2663(0x15d)],_0x22ce52['cEzcc'],_0x22ce52[_0x4e2663(0x163)],_0x1db8ec,this[_0x4e2663(0x13f)],this[_0x4e2663(0x19d)]),_0xe53c61=await Promise[_0x4e2663(0x14a)]([this['BrowserstackHealing']['pollResult'](constants[_0x4e2663(0x141)],_0x4e7aab,globals[_0x4e2663(0x181)](_0x22ce52['csBCL']))[_0x4e2663(0x14c)](_0x48f2ff=>{const _0x327b86=_0x4e2663;return _0x1be197[_0x327b86(0x189)](),_0x48f2ff;}),_0x1be197]);if(_0xe53c61&&_0xe53c61[_0x4e2663(0x174)]&&_0xe53c61['value']){const _0x2e2441={};return _0x2e2441[_0x4e2663(0x15c)]=_0xe53c61[_0x4e2663(0x174)],_0x2e2441[_0x4e2663(0x187)]=_0xe53c61['value'],_0x2e2441[_0x4e2663(0x159)]=!![],_0x2e2441;}const _0x27c0d4={};return _0x27c0d4[_0x4e2663(0x15c)]=_0x3daf1a[_0x4e2663(0x180)]['using'],_0x27c0d4[_0x4e2663(0x187)]=_0xe53c61['value'],_0x27c0d4['aiHealing']=!![],_0x27c0d4;}catch(_0x244b33){return logger[_0x4e2663(0x149)]('Error\x20in\x20(healing)\x20handling\x20failure\x20event.\x20ERROR:\x20'+(_0x244b33&&_0x244b33[_0x4e2663(0x155)]?_0x244b33['message']:'')),logger[_0x4e2663(0x194)]('Healing\x20Failed,\x20Browserstack\x20AI\x20could\x20not\x20heal\x20the\x20'+_0x3daf1a['name_']+_0x4e2663(0x146)),_0x3daf1a;}}}function a110_0x4510(){const _0x5d788a=['freeze','ILyyu','TCG_REGION','isSelfHealEnabled','set','Jvfiy','HEALING_FAILURE_TIMEOUT','12179020bbPRnY','361168xCkPUG','./autoHealHelper','map_','SET_TCG_TOKEN_TIMEOUT','ZqShq','initializeHealingCapabilities','handleSuccess','dnblr','firefox','config','toLowerCase','TCG_URL','browserName','BrowserstackHealingPollResultFailed','234fAAwVD','error','\x20command','Error\x20in\x20(healing)\x20success\x20event.\x20ERROR:\x20','HOrGm','debug','race','BrowserstackHealing','then','8pgDzQo','BrowserstackHealingHealFailureFailed','BgwMR','{\x22region\x22:\x20\x22','yDiFP','BrowserstackHealing.pollResult\x20method\x20timed\x20out','BrowserstackHealingLogDataFailed','value','message','newCapabilities','aiHeal_userId','YjwnB','aiHealing','DfAsB','GoGdF','locatorType','POLL_HEALING_RESULT_TIMEOUT','../../ai-sdk-node/bundle','aiHeal_sessionToken','fromEntries','get','rQneK','LQWAt','KDpfJ','chromeOptions_','anWmS','BrowserstackHealingSetTcgTokenFailed','capabilities_','firefoxOptions_','sCeHh','148UmNaPD','yaxtO','TdCZH','getProjectName','chrome','getTestName','kLmeV','CXwCl','HEALING_LOG_DATA_TIMEOUT','selector','edgeOptions_','initializeCapabilities','kCaSc','70gUevrH','Unable\x20to\x20load\x20healing\x20module,\x20error:\x20','getSession','healFailure','bWRhH','replace','807532uBzkWm','getCommands','parameters_','getGlobal','path','ZkLiG','xSCWZ','../../helpers/timeoutPromise','Hjrua','locatorValue','BrowserstackHealing.setToken\x20method\x20timed\x20out','cancel','97101FbWaEj','\x22:\x20{\x22endpoint\x22:\x20\x22','GwmDc','using','aiSdkWrapper','gUoXS','168DPGjpu','handleFailure','FuYbZ','uvRdR','info','20962ddgXNq','\x22,\x20\x22tcgUrls\x22:\x20{\x22','../../bin/utils/constants','BrowserstackHealing.healFailure\x20method\x20timed\x20out','logData','YIsac','join','59435ZJsXUL','framework','1089039ZJgpyz','ieOptions_','browserstackSessionName','executeScript','_handleEvent','setToken'];a110_0x4510=function(){return _0x5d788a;};return a110_0x4510();}exports[a110_0x27ef79(0x18e)]=Object[a110_0x27ef79(0x12e)](new AiSdkWrapper());
|
|
1
|
+
function a110_0x566e(){const _0x23f278=['split','BrowserstackHealingSetTcgTokenFailed','set','TCG_URL','VGOUl','aiHeal_groupId','kWSdH','xjHBD','getCapabilities','map_','./autoHealHelper','isSelfHealEnabled','getId','zirQn','replace','executeScript','browserName','pollResult','safariOptions_','Error\x20in\x20initialising\x20healing\x20capabilities\x20,\x20error:\x20','microsoftedge','{\x22region\x22:\x20\x22','297sabmNA','aOwNa','HEALING_LOG_DATA_TIMEOUT','FuzFh','config','7qjgXgs','../../ai-sdk-node/bundle','HDrhh','BrowserstackHealing.setToken\x20method\x20timed\x20out','ABFxd','ieOptions_','gnKNv','freeze','getCommands','setToken','using','Error\x20in\x20(healing)\x20success\x20event.\x20ERROR:\x20','BrowserstackHealing','../logger','../../helpers/timeoutPromise','uyQqo','9110uTAhhf','1438360XGtuxN','BrowserstackHealingHealFailureFailed','_handleEvent','595875cVHnWM','error','edge','\x22,\x20\x22tcgUrls\x22:\x20{\x22','firefox','toLowerCase','jutDS','\x20command','then','cancel','aiHealing','../globals','log','osJkc','JJjct','Qcpmg','EzKIr','zIonW','HEALING_FAILURE_TIMEOUT','logData','safari','getSession','eJTHJ','message','getGlobal','browserstackSessionName','framework','vbWPo','parameters_','Healing\x20Failed,\x20Browserstack\x20AI\x20could\x20not\x20heal\x20the\x20','s://','LYNXF','Error\x20in\x20(healing)\x20handling\x20failure\x20event.\x20ERROR:\x20','GSNRX','UwdzH','keys','locatorValue','path','firefoxOptions_','49SIxUWl','DfZiJ','Unable\x20to\x20load\x20healing\x20module,\x20error:\x20','string','debug','lrOfk','1419Rxrjix','healFailure','edgeOptions_','YDaUV','284FLePXQ','TCG_REGION','race','shGQY','chrome','capabilities_','179532nvUOCN','lAffh','get','aiHeal_isGroupAIEnabled','xPQze','BrowserstackHealingLogDataFailed','CNlJD','selector','../../bin/utils/constants','getTestName','zGGuV','xGPUS','HAaaJ','78992QRKTbc','SET_TCG_TOKEN_TIMEOUT','value','forEach','BrowserstackHealing.logData\x20method\x20timed\x20out','getProjectName','dqtXz','\x22}}}','IITJF','locatorType','fromEntries','PyucD','2747770stctmh','join'];a110_0x566e=function(){return _0x23f278;};return a110_0x566e();}const a110_0x121733=a110_0x3cca;(function(_0x16bfcf,_0x48b843){const _0x34a3ed=a110_0x3cca,_0x222480=_0x16bfcf();while(!![]){try{const _0x32b97c=parseInt(_0x34a3ed(0x238))/0x1*(parseInt(_0x34a3ed(0x20d))/0x2)+-parseInt(_0x34a3ed(0x23e))/0x3*(-parseInt(_0x34a3ed(0x242))/0x4)+-parseInt(_0x34a3ed(0x211))/0x5+-parseInt(_0x34a3ed(0x248))/0x6*(parseInt(_0x34a3ed(0x1fd))/0x7)+parseInt(_0x34a3ed(0x255))/0x8*(-parseInt(_0x34a3ed(0x1f8))/0x9)+parseInt(_0x34a3ed(0x261))/0xa+parseInt(_0x34a3ed(0x20e))/0xb;if(_0x32b97c===_0x48b843)break;else _0x222480['push'](_0x222480['shift']());}catch(_0x4490b5){_0x222480['push'](_0x222480['shift']());}}}(a110_0x566e,0x2dbf0));function a110_0x3cca(_0x36cc3a,_0x884e9a){const _0x566e0e=a110_0x566e();return a110_0x3cca=function(_0x3ccaa2,_0x2c3f04){_0x3ccaa2=_0x3ccaa2-0x1f0;let _0x4a31b7=_0x566e0e[_0x3ccaa2];return _0x4a31b7;},a110_0x3cca(_0x36cc3a,_0x884e9a);}const path=require(a110_0x121733(0x236)),{commandRepository}=require(a110_0x121733(0x26d)),constants=require(a110_0x121733(0x250)),logger=require(a110_0x121733(0x20a))['winstonLogger'],globals=require(a110_0x121733(0x21c)),timeoutPromise=require(a110_0x121733(0x20b)),isUndefinedOrNull=_0x16773e=>_0x16773e===undefined||_0x16773e===null||_0x16773e==='',isNotUndefinedOrNull=_0x327db3=>!isUndefinedOrNull(_0x327db3),isString=_0x507e0c=>isNotUndefinedOrNull(_0x507e0c)&&typeof _0x507e0c===a110_0x121733(0x23b);class AiSdkWrapper{constructor(){const _0x405dd7=a110_0x121733,_0xc0e7cd={'xPQze':function(_0x276f1f,_0x48a93b){return _0x276f1f(_0x48a93b);},'VGOUl':_0x405dd7(0x1fe)};this[_0x405dd7(0x209)]=undefined;try{this['BrowserstackHealing']=_0xc0e7cd[_0x405dd7(0x24c)](require,path[_0x405dd7(0x262)](__dirname,_0xc0e7cd[_0x405dd7(0x267)]));}catch(_0x283960){logger[_0x405dd7(0x212)](_0x405dd7(0x23a)+(_0x283960&&_0x283960[_0x405dd7(0x228)]?_0x283960[_0x405dd7(0x228)]:''));}}['initializeHealingCapabilities'](_0x39a2b1){const _0x1088c1=a110_0x121733,_0x1271c9={};_0x1271c9['gnKNv']='newCapabilities',_0x1271c9[_0x1088c1(0x233)]=function(_0x20106b,_0xdc9cac){return _0x20106b===_0xdc9cac;},_0x1271c9[_0x1088c1(0x227)]=_0x1088c1(0x246),_0x1271c9[_0x1088c1(0x26a)]=_0x1088c1(0x215),_0x1271c9[_0x1088c1(0x22c)]=function(_0x599407,_0x443be6){return _0x599407===_0x443be6;},_0x1271c9['osJkc']=_0x1088c1(0x225),_0x1271c9[_0x1088c1(0x24e)]=_0x1088c1(0x213),_0x1271c9['HAaaJ']=_0x1088c1(0x1f6),_0x1271c9[_0x1088c1(0x21f)]=function(_0x2ef6e7,_0x1c81dd){return _0x2ef6e7===_0x1c81dd;};const _0x520b4e=_0x1271c9;try{const _0x2eb4e4=this['BrowserstackHealing']['initializeCapabilities'](Object[_0x1088c1(0x25f)](_0x39a2b1[_0x1088c1(0x26b)]()[_0x1088c1(0x26c)]));console[_0x1088c1(0x21d)](_0x520b4e[_0x1088c1(0x203)],_0x2eb4e4);if(_0x520b4e[_0x1088c1(0x233)](_0x2eb4e4?.[_0x1088c1(0x1f2)]?.[_0x1088c1(0x216)](),_0x520b4e[_0x1088c1(0x227)]))_0x39a2b1['chromeOptions_']=_0x2eb4e4;else{if(_0x520b4e['UwdzH'](_0x2eb4e4?.[_0x1088c1(0x1f2)]?.['toLowerCase'](),_0x520b4e[_0x1088c1(0x26a)]))_0x39a2b1[_0x1088c1(0x237)]=_0x2eb4e4;else{if(_0x520b4e['vbWPo'](_0x2eb4e4?.[_0x1088c1(0x1f2)]?.[_0x1088c1(0x216)](),_0x520b4e[_0x1088c1(0x21e)]))_0x39a2b1[_0x1088c1(0x1f4)]=_0x2eb4e4;else{if(_0x520b4e['vbWPo'](_0x2eb4e4?.[_0x1088c1(0x1f2)]?.[_0x1088c1(0x216)](),_0x520b4e[_0x1088c1(0x24e)])||_0x520b4e['vbWPo'](_0x2eb4e4?.[_0x1088c1(0x1f2)]?.[_0x1088c1(0x216)](),_0x520b4e[_0x1088c1(0x254)]))_0x39a2b1[_0x1088c1(0x240)]=_0x2eb4e4;else _0x520b4e['JJjct'](_0x2eb4e4?.['browserName']?.[_0x1088c1(0x216)](),'ie')&&(_0x39a2b1[_0x1088c1(0x202)]=_0x2eb4e4);}}}Object[_0x1088c1(0x234)](_0x2eb4e4)[_0x1088c1(0x258)](_0x72404f=>{const _0x5e39a0=_0x1088c1,_0x28c2f4=_0x39a2b1['capabilities_'][_0x5e39a0(0x24a)](_0x72404f);_0x39a2b1[_0x5e39a0(0x247)][_0x5e39a0(0x265)](_0x72404f,_0x2eb4e4[_0x72404f]);});}catch(_0x2ce6e0){logger[_0x1088c1(0x212)](_0x1088c1(0x1f5)+(_0x2ce6e0&&_0x2ce6e0[_0x1088c1(0x228)]?_0x2ce6e0[_0x1088c1(0x228)]:''));}}async['setTcgToken'](_0x5149b4){const _0x45c46b=a110_0x121733,_0x3d26be={'zGGuV':function(_0x266553,_0x11ca1d,_0x16879b,_0x347895,_0x167503,_0x1c9b25,_0x509c8e){return _0x266553(_0x11ca1d,_0x16879b,_0x347895,_0x167503,_0x1c9b25,_0x509c8e);},'zirQn':_0x45c46b(0x200),'EdIco':_0x45c46b(0x264),'dqtXz':'aiHeal_sessionToken'},_0x28a542=new Date(),_0x544d36=_0x3d26be[_0x45c46b(0x252)](timeoutPromise,constants[_0x45c46b(0x256)],_0x3d26be[_0x45c46b(0x270)],_0x3d26be['EdIco'],_0x28a542,this['config'],this[_0x45c46b(0x22b)]);await Promise['race']([this['BrowserstackHealing'][_0x45c46b(0x206)](_0x5149b4,globals['getGlobal'](_0x3d26be[_0x45c46b(0x25b)]),constants['TCG_URL'])[_0x45c46b(0x219)](()=>{_0x544d36['cancel']();}),_0x544d36]);}async[a110_0x121733(0x210)](_0x50b732,_0x2813ae,_0x21462e,_0x26f8eb){const _0x5f3a61=a110_0x121733,_0x37232d={'GSNRX':function(_0xf82df0,_0x221bf5){return _0xf82df0===_0x221bf5;},'ABFxd':function(_0x5b0989,_0x3bb08a){return _0x5b0989(_0x3bb08a);},'IITJF':function(_0x354fdc,_0x2fce32){return _0x354fdc(_0x2fce32);},'xGPUS':function(_0x1f7867,_0x3e5b6c){return _0x1f7867(_0x3e5b6c);},'HDrhh':function(_0x418bda,_0x1a5d7f){return _0x418bda(_0x1a5d7f);},'EzKIr':function(_0x7de846,_0x400f27){return _0x7de846(_0x400f27);},'lAffh':function(_0x5768ab,_0x1613f3){return _0x5768ab(_0x1613f3);},'kfgOA':function(_0x56ed21,_0x2e5f2d){return _0x56ed21(_0x2e5f2d);},'zIonW':function(_0x44d40f,_0x124bc1){return _0x44d40f(_0x124bc1);},'kWSdH':_0x5f3a61(0x22f),'lrOfk':function(_0x376863,_0x59698f){return _0x376863(_0x59698f);},'LYNXF':function(_0x513242,_0x2b6c41){return _0x513242(_0x2b6c41);},'FuzFh':'aiHeal_userId','uyQqo':_0x5f3a61(0x268),'Qcpmg':_0x5f3a61(0x24b),'Imwpv':function(_0x1c839f,_0x2fc531,_0x103a5f,_0x2c81e0,_0x2dbfdd,_0x28cc54,_0x29b071){return _0x1c839f(_0x2fc531,_0x103a5f,_0x2c81e0,_0x2dbfdd,_0x28cc54,_0x29b071);},'ySqbY':_0x5f3a61(0x259),'YDaUV':_0x5f3a61(0x24d),'aOwNa':function(_0x33c9a2,_0x51af60,_0x1b08fe,_0xae8bb5,_0x116149,_0x3fcafd,_0xe7a06b){return _0x33c9a2(_0x51af60,_0x1b08fe,_0xae8bb5,_0x116149,_0x3fcafd,_0xe7a06b);},'ILNNh':'BrowserstackHealing.healFailure\x20method\x20timed\x20out','jutDS':_0x5f3a61(0x20f)},_0x3c79ad=(await _0x2813ae[_0x5f3a61(0x226)]())[_0x5f3a61(0x26f)]();let _0x31e076='';if(commandRepository[_0x5f3a61(0x26e)]()&&_0x37232d[_0x5f3a61(0x232)](_0x26f8eb,![])||_0x37232d[_0x5f3a61(0x232)](_0x26f8eb,!![])){const _0x8f4d5b=_0x37232d[_0x5f3a61(0x201)](isNotUndefinedOrNull,_0x21462e['parameters_'][_0x5f3a61(0x207)])&&_0x37232d['IITJF'](isString,_0x21462e[_0x5f3a61(0x22d)][_0x5f3a61(0x207)])?_0x21462e[_0x5f3a61(0x22d)]['using'][_0x5f3a61(0x1f0)](/'/g,'\x5c\x27')[_0x5f3a61(0x1f0)](/"/g,'\x5c\x22'):'',_0x16e60d=_0x37232d[_0x5f3a61(0x253)](isNotUndefinedOrNull,_0x21462e[_0x5f3a61(0x22d)][_0x5f3a61(0x207)])&&_0x37232d['HDrhh'](isString,_0x21462e['parameters_'][_0x5f3a61(0x257)])?_0x21462e['parameters_'][_0x5f3a61(0x257)][_0x5f3a61(0x1f0)](/'/g,'\x5c\x27')['replace'](/"/g,'\x5c\x22'):'',_0x27a9a4=_0x37232d[_0x5f3a61(0x25d)](isNotUndefinedOrNull,commandRepository[_0x5f3a61(0x25a)]())&&_0x37232d[_0x5f3a61(0x221)](isString,commandRepository['getProjectName']())?commandRepository['getProjectName']()[_0x5f3a61(0x1f0)](/'/g,'\x5c\x27')[_0x5f3a61(0x1f0)](/"/g,'\x5c\x22'):'';let _0x3664a9=_0x37232d[_0x5f3a61(0x249)](isNotUndefinedOrNull,global[_0x5f3a61(0x22a)])&&_0x37232d['kfgOA'](isString,global['browserstackSessionName'])?global[_0x5f3a61(0x22a)]['replace'](/'/g,'\x5c\x27')['replace'](/"/g,'\x5c\x22'):'';!_0x3664a9&&(_0x3664a9=_0x37232d[_0x5f3a61(0x222)](isNotUndefinedOrNull,commandRepository[_0x5f3a61(0x251)]())&&_0x37232d[_0x5f3a61(0x1ff)](isString,commandRepository[_0x5f3a61(0x251)]())?commandRepository[_0x5f3a61(0x251)]()['replace'](/'/g,'\x5c\x27')[_0x5f3a61(0x1f0)](/"/g,'\x5c\x22'):'');let _0x4390c0=_0x5f3a61(0x1f7)+constants[_0x5f3a61(0x243)]+_0x5f3a61(0x214)+constants[_0x5f3a61(0x243)]+'\x22:\x20{\x22endpoint\x22:\x20\x22'+constants[_0x5f3a61(0x266)][_0x5f3a61(0x263)](_0x37232d[_0x5f3a61(0x269)])[0x1]+_0x5f3a61(0x25c);_0x4390c0=_0x37232d[_0x5f3a61(0x23d)](isNotUndefinedOrNull,_0x4390c0)&&_0x37232d[_0x5f3a61(0x230)](isString,_0x4390c0)?_0x4390c0[_0x5f3a61(0x1f0)](/'/g,'\x5c\x27')[_0x5f3a61(0x1f0)](/"/g,'\x5c\x22'):'';const _0xc554cd=commandRepository[_0x5f3a61(0x205)](_0x3c79ad),_0x484f3d=globals[_0x5f3a61(0x229)](_0x37232d[_0x5f3a61(0x1fb)]),_0x80660d=globals[_0x5f3a61(0x229)](_0x37232d[_0x5f3a61(0x20c)]),_0x1d649f=globals['getGlobal'](_0x37232d[_0x5f3a61(0x220)]),_0x1c1736=![],_0x14a544=new Date();if(_0x26f8eb){const _0x53b974=_0x37232d['Imwpv'](timeoutPromise,constants[_0x5f3a61(0x1fa)],_0x37232d['ySqbY'],_0x37232d[_0x5f3a61(0x241)],_0x14a544,this['config'],this[_0x5f3a61(0x22b)]);_0x31e076=await Promise['race']([this['BrowserstackHealing'][_0x5f3a61(0x224)](_0x8f4d5b,_0x16e60d,_0x27a9a4,_0x3664a9,_0x80660d,_0x3c79ad,_0xc554cd,_0x4390c0)[_0x5f3a61(0x219)](_0x5d1023=>{const _0x31d0df=_0x5f3a61;return _0x53b974[_0x31d0df(0x21a)](),_0x5d1023;}),_0x53b974]);}else{if(commandRepository[_0x5f3a61(0x26e)]()){const _0x445e4d=_0x37232d[_0x5f3a61(0x1f9)](timeoutPromise,constants[_0x5f3a61(0x223)],_0x37232d['ILNNh'],_0x37232d[_0x5f3a61(0x217)],_0x14a544,this['config'],this['framework']);_0x31e076=await Promise[_0x5f3a61(0x244)]([this[_0x5f3a61(0x209)][_0x5f3a61(0x23f)](_0x8f4d5b,_0x16e60d,_0x27a9a4,_0x3664a9,_0x484f3d,_0x80660d,_0x3c79ad,_0xc554cd,_0x1c1736,_0x1d649f,_0x4390c0)['then'](_0x50e097=>{const _0x16c999=_0x5f3a61;return _0x445e4d[_0x16c999(0x21a)](),_0x50e097;}),_0x445e4d]);}}_0x31e076&&await _0x2813ae[_0x5f3a61(0x1f1)](_0x31e076);}}async['handleSuccess'](_0x105338,_0x30f2d7,_0x5262a8){const _0x5a4ab7=a110_0x121733;try{await this[_0x5a4ab7(0x210)](_0x105338,_0x30f2d7,_0x5262a8,!![]);}catch(_0x217ca7){return logger[_0x5a4ab7(0x212)](_0x5a4ab7(0x208)+(_0x217ca7&&_0x217ca7['message']?_0x217ca7[_0x5a4ab7(0x228)]:'')),![];}return!![];}async['handleFailure'](_0x36457c,_0x4bf29b,_0x26d968){const _0x2b55dd=a110_0x121733,_0x5b6108={'DfZiJ':function(_0x15dde1,_0x49f1a7,_0x4f1a16,_0x3a07b4,_0x298824,_0x522fd2,_0x1ef17f){return _0x15dde1(_0x49f1a7,_0x4f1a16,_0x3a07b4,_0x298824,_0x522fd2,_0x1ef17f);},'shGQY':'BrowserstackHealing.pollResult\x20method\x20timed\x20out','oCAUh':'BrowserstackHealingPollResultFailed','PyucD':'aiHeal_sessionToken'};try{await this[_0x2b55dd(0x210)](_0x36457c,_0x4bf29b,_0x26d968,![]);const _0x2d5624=(await _0x4bf29b[_0x2b55dd(0x226)]())[_0x2b55dd(0x26f)](),_0x349361=new Date(),_0x2b01f3=_0x5b6108[_0x2b55dd(0x239)](timeoutPromise,constants['POLL_HEALING_RESULT_TIMEOUT'],_0x5b6108[_0x2b55dd(0x245)],_0x5b6108['oCAUh'],_0x349361,this[_0x2b55dd(0x1fc)],this[_0x2b55dd(0x22b)]),_0xcf2bb2=await Promise[_0x2b55dd(0x244)]([this[_0x2b55dd(0x209)][_0x2b55dd(0x1f3)](constants[_0x2b55dd(0x266)],_0x2d5624,globals[_0x2b55dd(0x229)](_0x5b6108[_0x2b55dd(0x260)]))[_0x2b55dd(0x219)](_0x24e7eb=>{const _0x24b8c9=_0x2b55dd;return _0x2b01f3[_0x24b8c9(0x21a)](),_0x24e7eb;}),_0x2b01f3]);if(_0xcf2bb2&&_0xcf2bb2['selector']&&_0xcf2bb2[_0x2b55dd(0x257)]){const _0x17b51b={};return _0x17b51b[_0x2b55dd(0x25e)]=_0xcf2bb2[_0x2b55dd(0x24f)],_0x17b51b[_0x2b55dd(0x235)]=_0xcf2bb2[_0x2b55dd(0x257)],_0x17b51b['aiHealing']=!![],_0x17b51b;}const _0xfaeb3d={};return _0xfaeb3d[_0x2b55dd(0x25e)]=_0x26d968[_0x2b55dd(0x22d)][_0x2b55dd(0x207)],_0xfaeb3d[_0x2b55dd(0x235)]=_0xcf2bb2[_0x2b55dd(0x257)],_0xfaeb3d[_0x2b55dd(0x21b)]=!![],_0xfaeb3d;}catch(_0x516172){return logger[_0x2b55dd(0x23c)](_0x2b55dd(0x231)+(_0x516172&&_0x516172[_0x2b55dd(0x228)]?_0x516172['message']:'')),logger['info'](_0x2b55dd(0x22e)+_0x26d968['name_']+_0x2b55dd(0x218)),_0x26d968;}}}exports['aiSdkWrapper']=Object[a110_0x121733(0x204)](new AiSdkWrapper());
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a111_0x24c326=a111_0x5de2;(function(_0x530468,_0x45a1b6){const _0x285073=a111_0x5de2,_0x18d5c3=_0x530468();while(!![]){try{const _0x37cede=parseInt(_0x285073(0x18c))/0x1+parseInt(_0x285073(0x183))/0x2*(-parseInt(_0x285073(0x15c))/0x3)+parseInt(_0x285073(0x156))/0x4*(parseInt(_0x285073(0x151))/0x5)+parseInt(_0x285073(0x16d))/0x6*(parseInt(_0x285073(0x173))/0x7)+parseInt(_0x285073(0x185))/0x8*(-parseInt(_0x285073(0x171))/0x9)+parseInt(_0x285073(0x17b))/0xa+-parseInt(_0x285073(0x150))/0xb;if(_0x37cede===_0x45a1b6)break;else _0x18d5c3['push'](_0x18d5c3['shift']());}catch(_0x1adc70){_0x18d5c3['push'](_0x18d5c3['shift']());}}}(a111_0x1643,0x8a574));function a111_0x5de2(_0x1048b4,_0x3ffaaa){const _0x1643c6=a111_0x1643();return a111_0x5de2=function(_0x5de28f,_0x54172a){_0x5de28f=_0x5de28f-0x14f;let _0x4bea2e=_0x1643c6[_0x5de28f];return _0x4bea2e;},a111_0x5de2(_0x1048b4,_0x3ffaaa);}const calculateTimeDiff=_0x32219b=>Date[a111_0x24c326(0x16a)]()-_0x32219b,logger=require(a111_0x24c326(0x17c))[a111_0x24c326(0x167)],globals=require(a111_0x24c326(0x187));function a111_0x1643(){const _0x123a2f=['true','KKPbi','getConfig','No\x20commands\x20found\x20for\x20session:\x20','config','winstonLogger','setAiSessionTimeStamp','testName','now','authInfo','dtmpH','4074iZnute','framework','length','MeEcZ','1503aAreaz','userName','7098GyzufM','nHwzG','selfHeal','ntUaY','IDlOQ','setTestNameForHealingContext','_pushCommand','setProjectNameForHealingContext','7390630ospcQI','../logger','aiHeal_isAuthenticated','getTestName','hhpov','join','qKeio','aiSessionTimeStamp','4DtZIpi','stringify','2008UeTsva','setFramework','../globals','aiHeal_isHealingEnabled','4|3|2|5|0|1','EOyIK','method','1079705jOOfcS','getGlobal','24885509YMVQSR','1287525ojKiDm','qVBGm','projectName','split','SWiWc','8bJzSEo','accessKey','getProjectName','commandRepository','isSelfHealEnabled','setAuthInfo','227106QtZKYt','isTcgTokenSet','commands','push','pushCommand','setConfig'];a111_0x1643=function(){return _0x123a2f;};return a111_0x1643();}class HealingCommandRepo{constructor(){const _0x46a8fa=a111_0x24c326,_0x27de2a={};_0x27de2a[_0x46a8fa(0x16c)]=_0x46a8fa(0x189);const _0x522466=_0x27de2a,_0x2d1a7b=_0x522466[_0x46a8fa(0x16c)][_0x46a8fa(0x154)]('|');let _0x5bb681=0x0;while(!![]){switch(_0x2d1a7b[_0x5bb681++]){case'0':this[_0x46a8fa(0x16b)]={};continue;case'1':this[_0x46a8fa(0x15d)]=![];continue;case'2':this[_0x46a8fa(0x153)]='';continue;case'3':this['aiSessionTimeStamp']={};continue;case'4':this[_0x46a8fa(0x15e)]={};continue;case'5':this[_0x46a8fa(0x169)]='';continue;}break;}}[a111_0x24c326(0x179)](_0x20a31d,_0x23179e){const _0x372bda=a111_0x24c326,_0x3ec87c={};_0x3ec87c[_0x372bda(0x163)]=function(_0x936fc,_0x697281){return _0x936fc in _0x697281;};const _0x43406d=_0x3ec87c;!_0x43406d[_0x372bda(0x163)](_0x20a31d,this[_0x372bda(0x15e)])&&(this[_0x372bda(0x15e)][_0x20a31d]=[]),this[_0x372bda(0x15e)][_0x20a31d][_0x372bda(0x15f)](_0x23179e);}[a111_0x24c326(0x160)](_0x53fc95,_0x5dc7fe){const _0x2ab1c8=a111_0x24c326,_0x495267={'hhpov':function(_0x49124f,_0x2b363f){return _0x49124f(_0x2b363f);}},_0x56526b=_0x5dc7fe[_0x2ab1c8(0x18b)],_0x3ed4b5=_0x5dc7fe['path']['split'](_0x53fc95)[0x1],_0x51453f=this[_0x2ab1c8(0x182)][_0x53fc95],_0xf64c09={'k':_0x56526b+':'+_0x3ed4b5,'t':_0x495267[_0x2ab1c8(0x17f)](calculateTimeDiff,_0x51453f)};this[_0x2ab1c8(0x179)](_0x53fc95,_0xf64c09);}[a111_0x24c326(0x168)](_0x577320){this['aiSessionTimeStamp'][_0x577320]=Date['now']();}[a111_0x24c326(0x15b)](_0x2661db,_0x55a724){const _0x223ef2=a111_0x24c326;this[_0x223ef2(0x16b)][_0x223ef2(0x172)]=_0x2661db,this[_0x223ef2(0x16b)][_0x223ef2(0x157)]=_0x55a724;}['getAuthInfo'](){const _0x248ac5=a111_0x24c326;return this[_0x248ac5(0x16b)];}[a111_0x24c326(0x17a)](_0x589fc9){const _0x42047a=a111_0x24c326;this[_0x42047a(0x153)]=_0x589fc9;}[a111_0x24c326(0x178)](_0x12006e){const _0x4f4b47=a111_0x24c326;this[_0x4f4b47(0x169)]=_0x12006e;}[a111_0x24c326(0x161)](_0x10e5aa){const _0x584617=a111_0x24c326;this[_0x584617(0x166)]=_0x10e5aa,this[_0x584617(0x17a)](_0x10e5aa[_0x584617(0x153)]),this[_0x584617(0x15b)](_0x10e5aa[_0x584617(0x172)],_0x10e5aa[_0x584617(0x157)]);}[a111_0x24c326(0x186)](_0x185748){this['framework']=_0x185748;}['setTcgTokenStatus'](_0xcbc760){this['isTcgTokenSet']=_0xcbc760;}[a111_0x24c326(0x164)](){return this['config'];}['getFramework'](){const _0x56a7f0=a111_0x24c326;return this[_0x56a7f0(0x16e)];}[a111_0x24c326(0x158)](){const _0x2e689e=a111_0x24c326;return this[_0x2e689e(0x153)];}[a111_0x24c326(0x17e)](){return this['testName'];}['getCommands'](_0xe5b24a){const _0x30c30b=a111_0x24c326,_0x15ba2e={};_0x15ba2e[_0x30c30b(0x155)]=_0x30c30b(0x17d),_0x15ba2e[_0x30c30b(0x176)]=_0x30c30b(0x188),_0x15ba2e['qVBGm']=function(_0x2c33e7,_0x146ae8){return _0x2c33e7===_0x146ae8;},_0x15ba2e[_0x30c30b(0x181)]=function(_0x2d92ab,_0x253745){return _0x2d92ab+_0x253745;},_0x15ba2e[_0x30c30b(0x18a)]=_0x30c30b(0x165);const _0x6a160a=_0x15ba2e,_0x90c141=this[_0x30c30b(0x15e)][_0xe5b24a];this['commands'][_0xe5b24a]=[];if(globals[_0x30c30b(0x14f)](_0x6a160a[_0x30c30b(0x155)])&&globals[_0x30c30b(0x14f)](_0x6a160a[_0x30c30b(0x176)])&&!_0x90c141||_0x6a160a[_0x30c30b(0x152)](_0x90c141[_0x30c30b(0x16f)],0x0))return logger['debug'](_0x6a160a[_0x30c30b(0x181)](_0x6a160a[_0x30c30b(0x18a)],_0xe5b24a)),'';return _0x90c141['map'](_0x1362f3=>JSON[_0x30c30b(0x184)](_0x1362f3))[_0x30c30b(0x180)](',');}[a111_0x24c326(0x15a)](){const _0x2b1449=a111_0x24c326,_0x45d51f={};_0x45d51f[_0x2b1449(0x170)]=function(_0x3b2e12,_0x34bdaa){return _0x3b2e12===_0x34bdaa;},_0x45d51f['IDlOQ']=function(_0x4d1033,_0xb0d436){return _0x4d1033===_0xb0d436;},_0x45d51f[_0x2b1449(0x174)]=_0x2b1449(0x162);const _0xba8168=_0x45d51f;let _0x42c9f4=![];return this['getConfig']()&&(_0xba8168[_0x2b1449(0x170)](this[_0x2b1449(0x164)]()[_0x2b1449(0x175)],!![])||_0xba8168[_0x2b1449(0x177)](this[_0x2b1449(0x164)]()[_0x2b1449(0x175)],_0xba8168[_0x2b1449(0x174)]))&&(_0x42c9f4=!![]),_0x42c9f4;}['getTcgTokenStatus'](){const _0x4fdda2=a111_0x24c326;return this[_0x4fdda2(0x15d)];}}exports[a111_0x24c326(0x159)]=new HealingCommandRepo();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a112_0x3b9c(_0x24d52e,_0x4bebf5){const _0x2f5af2=a112_0x2f5a();return a112_0x3b9c=function(_0x3b9cc2,_0x18925c){_0x3b9cc2=_0x3b9cc2-0xa4;let _0x4d1863=_0x2f5af2[_0x3b9cc2];return _0x4d1863;},a112_0x3b9c(_0x24d52e,_0x4bebf5);}const a112_0x391611=a112_0x3b9c;(function(_0x144e6d,_0x2b9bc7){const _0x500ce5=a112_0x3b9c,_0x190f9b=_0x144e6d();while(!![]){try{const _0x1c6c0f=-parseInt(_0x500ce5(0xab))/0x1+parseInt(_0x500ce5(0xb2))/0x2+parseInt(_0x500ce5(0xa8))/0x3+-parseInt(_0x500ce5(0xa5))/0x4*(-parseInt(_0x500ce5(0xb1))/0x5)+-parseInt(_0x500ce5(0xb6))/0x6+-parseInt(_0x500ce5(0xa7))/0x7+-parseInt(_0x500ce5(0xac))/0x8*(-parseInt(_0x500ce5(0xa4))/0x9);if(_0x1c6c0f===_0x2b9bc7)break;else _0x190f9b['push'](_0x190f9b['shift']());}catch(_0x77965){_0x190f9b['push'](_0x190f9b['shift']());}}}(a112_0x2f5a,0x1a646));const a112_0x318314={};a112_0x318314[a112_0x391611(0xad)]=a112_0x391611(0xa6),a112_0x318314[a112_0x391611(0xaa)]='automate-turboscale/v1',module['exports']=a112_0x318314;const _env=(process['env']['BROWSERSTACK_ENV']||'prod')[a112_0x391611(0xae)]();function a112_0x2f5a(){const _0x3524f6=['preprod','API_ENDPOINT','70659XPdiaX','4192LKcefm','BUILDS_DASHBOARD_URL','toLowerCase','https://grid-preprod.bsstag.com/dashboard/builds','https://grid-devhst.bsstag.com/dashboard/builds','37760IeUbGk','51630xAQavQ','exports','stag','staging','972132DzbtqO','pre-prod','198ZQmWXz','76WsQbDZ','https://grid.browserstack.com/dashboard/builds','317002hOhFVk','615714yBNNvL'];a112_0x2f5a=function(){return _0x3524f6;};return a112_0x2f5a();}if(_env===a112_0x391611(0xb5)||_env===a112_0x391611(0xb4))module[a112_0x391611(0xb3)][a112_0x391611(0xad)]=a112_0x391611(0xb0);else(_env===a112_0x391611(0xa9)||_env===a112_0x391611(0xb7))&&(module[a112_0x391611(0xb3)][a112_0x391611(0xad)]=a112_0x391611(0xaf));
|