browserstack-node-sdk 1.55.5 → 1.55.7
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 +40 -0
- package/generated/sdk-messages_pb.js +322 -2
- package/package.json +2 -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_0xa92895=a106_0x35ae;function a106_0x3ca0(){const _0x4cc482=['ZIEph','goto','max','2424426ZLfMAb','WikxB','11947864YvRVPO','11535818QZwevN','All\x20accessibility\x20results\x20save\x20attempts\x20failed\x20(','Selenium\x20WebDriver\x20timeout\x20API\x20not\x20available,\x20skipping\x20timeout\x20setting','LgLvV','okYUR','selenium-webdriver','LTWNs','kzACT','Selenium\x20WebDriver\x20manage()\x20method\x20not\x20available,\x20skipping\x20timeout\x20setting','XxaeD','getAccessibilityResultsWithRetry','Rayzk','performScanWithRetry','RrdhR','HXPng','PVWAS','winstonLogger','bstackA11yShouldScan','timeoutMs','ms\x20using\x20setScriptTimeout\x20API','20NgaLYc','Accessibility\x20results\x20save\x20attempt\x20','maxRetries','SqFlV','driverType','wzXaK','url','getCurrentUrl','10jblCFV','value','WebDriver','All\x20accessibility\x20scan\x20attempts\x20failed\x20for\x20method:\x20','NhBff','accessibilityPlatform','5375000vMvlDx','updateRetryConfig','NKEnr','setTimeouts','vNBSP','info','isPlaywright','getSession','6550rahAKV','726xpUsyE','OEOGG','Accessibility\x20scan\x20attempt\x20','ygCJL','):\x20','GpEEx','LxzpI','Accessibility\x20results\x20retrieval\x20attempt\x20','util','status','gFLFg','getAccessibilityResults','\x20completed\x20successfully.','Unknown\x20error','defaultTimeoutMs','Playwright\x20accessibility\x20helper\x20not\x20available','setDefaultTimeout','ndaFA','kvnfv','executeAsyncScript','setSeleniumScriptTimeout','getRetryConfig','Set\x20Playwright\x20page\x20default\x20timeout\x20to\x20','cMCPR','lOack','performComprehensiveAccessibilityScanWithRetry','browserStackEvaluate','env',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary\x20with\x20retry.','Failed\x20to\x20retrieve\x20accessibility\x20results\x20(','bRsnu','../logger','getId','Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20','type','Accessibility\x20results\x20summary\x20retrieved\x20successfully\x20on\x20attempt\x20','./helper','All\x20accessibility\x20results\x20summary\x20retrieval\x20attempts\x20failed\x20(','yeLrF','setScriptTimeout','cuUgz','LnChg','Nttjp','14103485lSkogS','nWxCZ','assign','eIiNZ','ECEcI','[Accessibility]\x20Scan\x20skipped\x20-\x20scanning\x20is\x20currently\x20disabled\x20(partial\x20scan\x20mode)','eCyCv',').\x20Error:\x20',',\x20cannot\x20save\x20accessibility\x20results\x20with\x20retry.','summary','Unknown\x20driver/page\x20type:\x20','rejected','debug','nwoef','Operation\x20timed\x20out\x20after\x20','capabilitiesList','getGlobal','setPlaywrightScriptTimeout','CiCBV','ffVYK','isRunning','uyvcR','getAccessibilityModule','race','Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20','Failed\x20to\x20set\x20Selenium\x20script\x20timeout:\x20','efaTU','qHUUT','xDOFC','KsKqE','../performance/constants','warn','qXfGW','GVZzF','options','UZfjw','tvfhi','iRFRa','hsROC','CUYvg','getCapabilities','page','Skipping\x20timeout\x20setting\x20for\x20','reason','allSettled','EIFdY','manage','Playwright','ZAizX','saveAccessibilityResultsWithRetry','bstackA11yScanOptions','Scan\x20attempt\x20',').\x20Last\x20error:\x20','unknown','BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT','RoQVO','1647823oekivy','bxoRi','Failed\x20to\x20set\x20Playwright\x20script\x20timeout:\x20','unknown_method','isMobilePlatform','FKAED','__workerDetails','zuvAK','9eTdsWy','Accessibility\x20results\x20retrieved\x20successfully\x20on\x20attempt\x20','getAccessibilityResultsSummaryWithRetry','timeouts','BmMxT','Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20','kXkFq','isSeleniumDriver','dvUQt','name','getInstance','performScan','isAccessibilityPlatform','results','eXvBy','scannerProcessingTimeout','isPlaywrightPage','NJvFO','DHRyk',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20with\x20retry.','QOdIg','\x20failed\x20(','\x20failed\x20for\x20method:\x20','Accessibility\x20retry\x20configuration\x20updated:\x20','rOYkI','sxopQ','PERFORM_SCAN','browserstackSessionName','error',')\x20with\x20error:\x20','isAccessibilityAutomationSession','xdwBL','message','currentTest','is_mobile_session','wELDK','../../bin/playwright/accessibility-helper','LqbEn','DQYSA','scanSucceeded','function','Cannot\x20set\x20script\x20timeout:\x20not\x20a\x20Selenium\x20WebDriver','GkyOT','xGkFd','evaluate','Unknown\x20error\x20during\x20comprehensive\x20accessibility\x20scan'];a106_0x3ca0=function(){return _0x4cc482;};return a106_0x3ca0();}(function(_0x4d10eb,_0x275278){const _0x5ed3a4=a106_0x35ae,_0x1bab77=_0x4d10eb();while(!![]){try{const _0x4c3f78=-parseInt(_0x5ed3a4(0x144))/0x1+-parseInt(_0x5ed3a4(0x1aa))/0x2*(-parseInt(_0x5ed3a4(0x1ab))/0x3)+-parseInt(_0x5ed3a4(0x1a2))/0x4+parseInt(_0x5ed3a4(0x194))/0x5*(parseInt(_0x5ed3a4(0x17d))/0x6)+parseInt(_0x5ed3a4(0x180))/0x7+parseInt(_0x5ed3a4(0x17f))/0x8*(-parseInt(_0x5ed3a4(0x14c))/0x9)+-parseInt(_0x5ed3a4(0x19c))/0xa*(-parseInt(_0x5ed3a4(0x1d6))/0xb);if(_0x4c3f78===_0x275278)break;else _0x1bab77['push'](_0x1bab77['shift']());}catch(_0x123677){_0x1bab77['push'](_0x1bab77['shift']());}}}(a106_0x3ca0,0xd077f));const util=require(a106_0xa92895(0x1b3)),logger=require(a106_0xa92895(0x1ca))[a106_0xa92895(0x190)],accessibilityHelper=require(a106_0xa92895(0x1cf)),globals=require('../globals'),scripts=require('./scripts'),PerformanceTester=require('../performance/performance-tester'),{A11Y_EVENTS:PerformanceA11yEvents}=require(a106_0xa92895(0x12a)),BrowserstackCLI=require('../../bin/v2/browserstackCLI');function a106_0x35ae(_0x3cf8f9,_0x503fab){const _0x3ca09c=a106_0x3ca0();return a106_0x35ae=function(_0x35ae41,_0x538499){_0x35ae41=_0x35ae41-0x120;let _0x2de16c=_0x3ca09c[_0x35ae41];return _0x2de16c;},a106_0x35ae(_0x3cf8f9,_0x503fab);}let playwrightA11yHelper=null;try{playwrightA11yHelper=require(a106_0xa92895(0x170));}catch(a106_0x5e2120){logger[a106_0xa92895(0x1e2)](a106_0xa92895(0x1ba));}const a106_0x528684={};a106_0x528684[a106_0xa92895(0x196)]=0x1,a106_0x528684['timeoutMs']=0x7530,a106_0x528684['defaultTimeoutMs']=0x7530;const RETRY_CONFIG=a106_0x528684,setConfigTimeout=(_0x3b9bc0,_0x47de0f=null)=>{const _0x4fedf5=a106_0xa92895,_0xb62d23={'ECEcI':function(_0x210588,_0x1a0098){return _0x210588===_0x1a0098;},'GVZzF':_0x4fedf5(0x15b),'vNBSP':function(_0x487469,_0x129c51){return _0x487469*_0x129c51;},'KsKqE':function(_0x4fa07a,_0x3f0557){return _0x4fa07a(_0x3f0557);},'UZfjw':function(_0x519afa,_0x17b655){return _0x519afa*_0x17b655;},'Nttjp':function(_0x3f71b1,_0x274025){return _0x3f71b1(_0x274025);}};if(BrowserstackCLI[_0x4fedf5(0x156)]()[_0x4fedf5(0x120)]()&&BrowserstackCLI[_0x4fedf5(0x156)]()[_0x4fedf5(0x122)]()){const _0x3dee0f=BrowserstackCLI[_0x4fedf5(0x156)]()[_0x4fedf5(0x122)]()['accessibilityConfig'],_0x453c72=_0x3dee0f[_0x4fedf5(0x12e)][_0x4fedf5(0x1e5)]||[];for(const _0x54d890 of _0x453c72){_0xb62d23[_0x4fedf5(0x1da)](_0x54d890['name'],_0xb62d23[_0x4fedf5(0x12d)])&&_0xb62d23[_0x4fedf5(0x1da)](_0x47de0f,null)&&(_0x3b9bc0[_0x4fedf5(0x192)]=_0xb62d23[_0x4fedf5(0x1a6)](_0xb62d23[_0x4fedf5(0x129)](parseInt,_0x54d890['value']),0x3e8));}}else process[_0x4fedf5(0x1c6)][_0x4fedf5(0x142)]&&(_0x3b9bc0[_0x4fedf5(0x192)]=_0xb62d23[_0x4fedf5(0x12f)](_0xb62d23[_0x4fedf5(0x1d5)](parseInt,process[_0x4fedf5(0x1c6)][_0x4fedf5(0x142)]),0x3e8));},detectDriverType=_0x349da8=>{const _0x264a05=a106_0xa92895,_0x1cead9={};_0x1cead9[_0x264a05(0x128)]=_0x264a05(0x141),_0x1cead9[_0x264a05(0x130)]=function(_0x5bc0cc,_0x2a8633){return _0x5bc0cc===_0x2a8633;},_0x1cead9[_0x264a05(0x186)]='function',_0x1cead9[_0x264a05(0x1e3)]='playwright-page',_0x1cead9[_0x264a05(0x183)]=_0x264a05(0x185),_0x1cead9[_0x264a05(0x132)]=function(_0x52a5e6,_0x34f107){return _0x52a5e6===_0x34f107;},_0x1cead9[_0x264a05(0x1b0)]='Page',_0x1cead9[_0x264a05(0x1b5)]=_0x264a05(0x19e),_0x1cead9[_0x264a05(0x18b)]=_0x264a05(0x13b),_0x1cead9[_0x264a05(0x172)]='playwright-codecept-driver',_0x1cead9['zuvAK']=function(_0x33daf9,_0x5b0192){return _0x33daf9||_0x5b0192;},_0x1cead9[_0x264a05(0x1b1)]='undefined';const _0x54391f=_0x1cead9;if(!_0x349da8){const _0x1c71af={};return _0x1c71af[_0x264a05(0x1a8)]=![],_0x1c71af[_0x264a05(0x1cd)]=_0x54391f[_0x264a05(0x128)],_0x1c71af;}if(_0x54391f[_0x264a05(0x130)](typeof _0x349da8[_0x264a05(0x178)],_0x54391f[_0x264a05(0x186)])&&_0x54391f[_0x264a05(0x130)](typeof _0x349da8[_0x264a05(0x19a)],_0x54391f[_0x264a05(0x186)])&&_0x54391f[_0x264a05(0x130)](typeof _0x349da8[_0x264a05(0x17b)],_0x54391f[_0x264a05(0x186)])){const _0x4ae59e={};return _0x4ae59e['isPlaywright']=!![],_0x4ae59e[_0x264a05(0x1cd)]=_0x54391f[_0x264a05(0x1e3)],_0x4ae59e;}if(_0x54391f[_0x264a05(0x130)](typeof _0x349da8[_0x264a05(0x1be)],_0x54391f[_0x264a05(0x186)])&&_0x54391f[_0x264a05(0x130)](typeof _0x349da8[_0x264a05(0x134)],_0x54391f[_0x264a05(0x186)])){const _0x531a6f={};return _0x531a6f[_0x264a05(0x1a8)]=![],_0x531a6f[_0x264a05(0x1cd)]=_0x54391f[_0x264a05(0x183)],_0x531a6f;}const _0x1e758=_0x349da8['constructor']?.[_0x264a05(0x155)];if(_0x54391f[_0x264a05(0x132)](_0x1e758,_0x54391f['GpEEx'])){const _0x50186d={};return _0x50186d[_0x264a05(0x1a8)]=!![],_0x50186d[_0x264a05(0x1cd)]=_0x54391f['nwoef'],_0x50186d;}if(_0x54391f['hsROC'](_0x1e758,_0x54391f[_0x264a05(0x1b5)])){const _0x230482={};return _0x230482[_0x264a05(0x1a8)]=![],_0x230482[_0x264a05(0x1cd)]=_0x54391f[_0x264a05(0x183)],_0x230482;}if(_0x54391f['hsROC'](_0x1e758,_0x54391f[_0x264a05(0x18b)])){const _0xab4520={};return _0xab4520['isPlaywright']=!![],_0xab4520['type']=_0x54391f[_0x264a05(0x172)],_0xab4520;}logger['warn'](_0x264a05(0x1e0)+_0x54391f[_0x264a05(0x14b)](_0x1e758,_0x54391f[_0x264a05(0x1b1)]));const _0x507e56={};return _0x507e56[_0x264a05(0x1a8)]=![],_0x507e56[_0x264a05(0x1cd)]=_0x54391f['xDOFC'],_0x507e56;},withTimeout=(_0x211969,_0x2cd26e)=>{const _0x4531db=a106_0xa92895;return Promise[_0x4531db(0x123)]([_0x211969,new Promise((_0xa57457,_0xd26c1)=>setTimeout(()=>_0xd26c1(new Error(_0x4531db(0x1e4)+_0x2cd26e+'ms')),_0x2cd26e))]);};exports[a106_0xa92895(0x18c)]=async(_0x5cb47f,_0x3cce03=null,_0x463a72=null,_0xfa8a71=![],_0x5d88c4=null)=>{const _0x14c601=a106_0xa92895,_0x595604={'cMCPR':function(_0x56da43,_0x264dc1){return _0x56da43&&_0x264dc1;},'ZAizX':function(_0x3760d6,_0x108931,_0x4fa579){return _0x3760d6(_0x108931,_0x4fa579);},'iRFRa':function(_0x262a12,_0x405ee7){return _0x262a12===_0x405ee7;},'yeLrF':'playwright-codecept-driver','HXPng':function(_0x42ed2a,_0x4b8b4b,_0x28a5db){return _0x42ed2a(_0x4b8b4b,_0x28a5db);},'nWxCZ':function(_0x345562,_0x3d6926){return _0x345562(_0x3d6926);},'ygCJL':function(_0x3279e7,_0x370f54){return _0x3279e7||_0x370f54;},'XxaeD':function(_0x3e86aa,_0x2e7de8){return _0x3e86aa!==_0x2e7de8;},'dvUQt':_0x14c601(0x158),'kXkFq':'bstackA11yShouldScan','DTPCc':_0x14c601(0x1db),'eIiNZ':_0x14c601(0x147),'LqbEn':_0x14c601(0x174),'omOQD':function(_0x569a6f,_0x4f991e){return _0x569a6f<=_0x4f991e;},'xGkFd':function(_0x3bcf6a,_0x319176){return _0x3bcf6a+_0x319176;},'XJydt':function(_0xf70343,_0x42caa2){return _0xf70343+_0x42caa2;},'OwcIc':_0x14c601(0x1b8)},{isPlaywright:_0x1da504,type:_0x2ce952}=_0x595604[_0x14c601(0x1d7)](detectDriverType,_0x5cb47f),_0x8859ef=_0xfa8a71?_0x595604[_0x14c601(0x1ae)](_0x5d88c4,{}):global[_0x14c601(0x13e)]||{},_0x2f6676=_0x1da504?global[_0x14c601(0x1a1)]&&(_0xfa8a71||_0x595604[_0x14c601(0x189)](global[_0x14c601(0x191)],![])):accessibilityHelper[_0x14c601(0x16a)]()&&globals[_0x14c601(0x1e6)](_0x595604[_0x14c601(0x154)])&&(_0xfa8a71||_0x595604[_0x14c601(0x189)](globals['getGlobal'](_0x595604[_0x14c601(0x152)]),![]));if(!_0x2f6676)return _0x1da504&&global[_0x14c601(0x1a1)]&&_0x595604[_0x14c601(0x131)](global[_0x14c601(0x191)],![])||!_0x1da504&&globals[_0x14c601(0x1e6)](_0x595604[_0x14c601(0x154)])&&_0x595604[_0x14c601(0x131)](globals[_0x14c601(0x1e6)](_0x595604[_0x14c601(0x152)]),![])?logger[_0x14c601(0x1e2)](_0x595604['DTPCc']):logger['warn']('Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20'+_0x2ce952+',\x20cannot\x20perform\x20scan\x20with\x20retry.'),![];const _0x3f7ac9=_0x3cce03||global[_0x14c601(0x167)]||_0x595604[_0x14c601(0x1d9)];let _0x16ac93=null;const _0x292136={'testhub_btcer_uuid':global[_0x14c601(0x14a)]?.[_0x14c601(0x16d)]?.['id'],'url':_0x595604[_0x14c601(0x131)](typeof _0x5cb47f[_0x14c601(0x19a)],_0x595604[_0x14c601(0x171)])?await _0x5cb47f['url']():_0x595604['iRFRa'](typeof _0x5cb47f[_0x14c601(0x19b)],_0x595604['LqbEn'])?await _0x5cb47f[_0x14c601(0x19b)]():'','automate_session_id':_0x595604[_0x14c601(0x131)](typeof _0x5cb47f[_0x14c601(0x1a9)],_0x595604[_0x14c601(0x171)])?(await _0x5cb47f[_0x14c601(0x1a9)]())[_0x14c601(0x1cb)]():''};for(let _0x46a51a=0x1;_0x595604['omOQD'](_0x46a51a,_0x595604[_0x14c601(0x177)](RETRY_CONFIG[_0x14c601(0x196)],0x1));_0x46a51a++){try{return logger[_0x14c601(0x1e2)](_0x14c601(0x1ad)+_0x46a51a+'/'+_0x595604['XJydt'](RETRY_CONFIG[_0x14c601(0x196)],0x1)+'\x20for\x20method:\x20'+_0x3f7ac9+'\x20('+_0x2ce952+')'),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x14c601(0x166)],async()=>{const _0x3a0e78=_0x14c601;let _0xfcc96d;if(_0x595604[_0x3a0e78(0x1c2)](_0x1da504,playwrightA11yHelper)){_0x595604[_0x3a0e78(0x13c)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x3a0e78(0x1e7)](_0x5cb47f,RETRY_CONFIG[_0x3a0e78(0x192)]);let _0x4c39b2=_0x5cb47f;_0x595604['iRFRa'](_0x2ce952,_0x595604[_0x3a0e78(0x1d1)])&&(_0x4c39b2=_0x5cb47f[_0x3a0e78(0x135)]);const _0x41dbff=global['isMobilePlatform']?{'is_mobile_session':!![],'thTestRunUuid':accessibilityHelper['resolveMobileThTestRunUuid']()}:{};_0xfcc96d=await _0x595604[_0x3a0e78(0x18e)](withTimeout,playwrightA11yHelper[_0x3a0e78(0x157)](_0x4c39b2,_0x3f7ac9,_0x8859ef,_0x41dbff),RETRY_CONFIG[_0x3a0e78(0x192)]),await exports[_0x3a0e78(0x1e7)](_0x5cb47f,RETRY_CONFIG[_0x3a0e78(0x1b9)]);}else await exports['setSeleniumScriptTimeout'](_0x5cb47f,RETRY_CONFIG[_0x3a0e78(0x192)]),_0xfcc96d=await _0x595604[_0x3a0e78(0x18e)](withTimeout,accessibilityHelper['performScan'](_0x5cb47f,_0x3f7ac9,_0xfa8a71,_0x8859ef),RETRY_CONFIG[_0x3a0e78(0x192)]),await exports[_0x3a0e78(0x1bf)](_0x5cb47f,RETRY_CONFIG[_0x3a0e78(0x1b9)]);logger['debug'](_0x3a0e78(0x13f)+_0x46a51a+_0x3a0e78(0x1b7));},{'command':_0x3f7ac9,..._0x292136})(),logger[_0x14c601(0x1a7)]('Accessibility\x20scan\x20succeeded\x20on\x20attempt\x20'+_0x46a51a+'.'),!![];}catch(_0x382831){_0x16ac93=_0x382831,logger[_0x14c601(0x1e2)]('Accessibility\x20scan\x20attempt\x20'+_0x46a51a+_0x14c601(0x162)+_0x3f7ac9+'\x20('+_0x2ce952+').\x20Error:\x20'+_0x382831[_0x14c601(0x16c)]);}}return logger[_0x14c601(0x168)](_0x14c601(0x19f)+_0x3f7ac9+'\x20('+_0x2ce952+_0x14c601(0x169)+(_0x16ac93?.['message']||_0x595604['OwcIc'])),![];},exports[a106_0xa92895(0x18a)]=async(_0x377ec7,_0x4978c5)=>{const _0x533a0d=a106_0xa92895,_0x2ceca2={'QDfuA':function(_0x22d9d7,_0x3fa67a){return _0x22d9d7(_0x3fa67a);},'bxoRi':_0x533a0d(0x158),'eCyCv':function(_0x1cd79e,_0x1e6abe){return _0x1cd79e<=_0x1e6abe;},'GkyOT':function(_0x157318,_0x487df2){return _0x157318+_0x487df2;},'wzXaK':function(_0x32f90c,_0x17db0d){return _0x32f90c+_0x17db0d;},'RoQVO':function(_0x3830a1,_0x1e5d89){return _0x3830a1&&_0x1e5d89;},'bRsnu':function(_0x3fd708,_0x4a3593,_0x3670d6){return _0x3fd708(_0x4a3593,_0x3670d6);},'xdwBL':_0x533a0d(0x1b8)},{isPlaywright:_0x4b057c,type:_0x27c4d9}=_0x2ceca2['QDfuA'](detectDriverType,_0x377ec7),_0x5ee22a=_0x4b057c?_0x4978c5[_0x533a0d(0x1a1)]:accessibilityHelper['isAccessibilityAutomationSession']()&&globals[_0x533a0d(0x1e6)](_0x2ceca2[_0x533a0d(0x145)]);if(!_0x5ee22a)return logger[_0x533a0d(0x12b)](_0x533a0d(0x1cc)+_0x27c4d9+_0x533a0d(0x15f)),[];let _0x30d3b8=null;for(let _0x5380d4=0x1;_0x2ceca2[_0x533a0d(0x1dc)](_0x5380d4,_0x2ceca2[_0x533a0d(0x176)](RETRY_CONFIG[_0x533a0d(0x196)],0x1));_0x5380d4++){try{logger['debug'](_0x533a0d(0x1b2)+_0x5380d4+'/'+_0x2ceca2[_0x533a0d(0x199)](RETRY_CONFIG['maxRetries'],0x1)+'\x20('+_0x27c4d9+')');let _0x45c222;return _0x2ceca2[_0x533a0d(0x143)](_0x4b057c,playwrightA11yHelper)?(_0x2ceca2[_0x533a0d(0x1c9)](setConfigTimeout,RETRY_CONFIG,null),await exports['setPlaywrightScriptTimeout'](_0x377ec7,RETRY_CONFIG[_0x533a0d(0x192)]),_0x45c222=await _0x2ceca2[_0x533a0d(0x1c9)](withTimeout,playwrightA11yHelper[_0x533a0d(0x1b6)](_0x377ec7),RETRY_CONFIG['timeoutMs']),await exports['setPlaywrightScriptTimeout'](_0x377ec7,RETRY_CONFIG[_0x533a0d(0x1b9)])):(await exports['setSeleniumScriptTimeout'](_0x377ec7,RETRY_CONFIG[_0x533a0d(0x192)]),_0x45c222=await _0x2ceca2[_0x533a0d(0x1c9)](withTimeout,accessibilityHelper[_0x533a0d(0x1b6)](_0x377ec7,_0x4978c5),RETRY_CONFIG[_0x533a0d(0x192)]),await exports['setSeleniumScriptTimeout'](_0x377ec7,RETRY_CONFIG[_0x533a0d(0x1b9)])),logger['info'](_0x533a0d(0x14d)+_0x5380d4+'\x20('+_0x27c4d9+')'),_0x45c222;}catch(_0x3c5a7c){_0x30d3b8=_0x3c5a7c,logger[_0x533a0d(0x12b)](_0x533a0d(0x1b2)+_0x5380d4+'\x20failed\x20('+_0x27c4d9+_0x533a0d(0x1dd)+_0x3c5a7c['message']);}}return logger[_0x533a0d(0x168)]('All\x20accessibility\x20results\x20retrieval\x20attempts\x20failed\x20('+_0x27c4d9+_0x533a0d(0x140)+(_0x30d3b8?.[_0x533a0d(0x16c)]||_0x2ceca2[_0x533a0d(0x16b)])),[];},exports[a106_0xa92895(0x14e)]=async(_0x42ea93,_0x487446)=>{const _0x1166df=a106_0xa92895,_0x5ca052={'FKAED':function(_0x55e4bd,_0x42222a){return _0x55e4bd(_0x42222a);},'EDlhz':_0x1166df(0x158),'wQJqs':function(_0x3188d8,_0x1ad30f){return _0x3188d8<=_0x1ad30f;},'WikxB':function(_0x2a3654,_0x473d35){return _0x2a3654+_0x473d35;},'rtwJI':function(_0x409afd,_0x28bbda){return _0x409afd&&_0x28bbda;},'sxopQ':function(_0x5710a8,_0x9d5284,_0x1c236e){return _0x5710a8(_0x9d5284,_0x1c236e);},'qHUUT':function(_0x5a30a5,_0x4ad134,_0x5802a2){return _0x5a30a5(_0x4ad134,_0x5802a2);},'qrhvC':_0x1166df(0x1b8)},{isPlaywright:_0x2ea3c0,type:_0xc680b5}=_0x5ca052[_0x1166df(0x149)](detectDriverType,_0x42ea93),_0x21b583=_0x2ea3c0?_0x487446['accessibilityPlatform']:accessibilityHelper['isAccessibilityAutomationSession']()&&globals['getGlobal'](_0x5ca052['EDlhz']);if(!_0x21b583)return logger[_0x1166df(0x12b)](_0x1166df(0x1cc)+_0xc680b5+_0x1166df(0x1c7)),{};let _0x5d5c61=null;for(let _0x1853bf=0x1;_0x5ca052['wQJqs'](_0x1853bf,_0x5ca052[_0x1166df(0x17e)](RETRY_CONFIG[_0x1166df(0x196)],0x1));_0x1853bf++){try{logger[_0x1166df(0x1e2)](_0x1166df(0x151)+_0x1853bf+'/'+_0x5ca052[_0x1166df(0x17e)](RETRY_CONFIG[_0x1166df(0x196)],0x1)+'\x20('+_0xc680b5+')');let _0x29bcdd;return _0x5ca052['rtwJI'](_0x2ea3c0,playwrightA11yHelper)?(_0x5ca052['sxopQ'](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x1166df(0x1e7)](_0x42ea93,RETRY_CONFIG[_0x1166df(0x192)]),_0x29bcdd=await _0x5ca052[_0x1166df(0x165)](withTimeout,playwrightA11yHelper['getAccessibilityResultsSummary'](_0x42ea93),RETRY_CONFIG[_0x1166df(0x192)]),await exports[_0x1166df(0x1e7)](_0x42ea93,RETRY_CONFIG[_0x1166df(0x1b9)])):(await exports[_0x1166df(0x1bf)](_0x42ea93,RETRY_CONFIG['timeoutMs']),_0x29bcdd=await _0x5ca052[_0x1166df(0x127)](withTimeout,accessibilityHelper['getAccessibilityResultsSummary'](_0x42ea93,_0x487446),RETRY_CONFIG[_0x1166df(0x192)]),await exports[_0x1166df(0x1bf)](_0x42ea93,RETRY_CONFIG[_0x1166df(0x1b9)])),logger['info'](_0x1166df(0x1ce)+_0x1853bf+'\x20('+_0xc680b5+')'),_0x29bcdd;}catch(_0x2a9a9f){_0x5d5c61=_0x2a9a9f,logger[_0x1166df(0x12b)](_0x1166df(0x151)+_0x1853bf+_0x1166df(0x161)+_0xc680b5+').\x20Error:\x20'+_0x2a9a9f['message']);}}return logger[_0x1166df(0x168)](_0x1166df(0x1d0)+_0xc680b5+_0x1166df(0x140)+(_0x5d5c61?.['message']||_0x5ca052['qrhvC'])),{};},exports[a106_0xa92895(0x1c4)]=async(_0x37cc49,_0x24be72,_0x4736d7=null)=>{const _0x395333=a106_0xa92895,_0x155a2c={'OEOGG':function(_0x1d2ca2,_0x3062ad){return _0x1d2ca2(_0x3062ad);},'SqFlV':function(_0x212cff,_0x1b11f5){return _0x212cff===_0x1b11f5;},'XqWAt':'fulfilled','eXvBy':_0x395333(0x1e1),'GsubV':function(_0x29f9c8,_0x2fcc4f){return _0x29f9c8===_0x2fcc4f;},'wELDK':_0x395333(0x179)},{isPlaywright:_0x776bc7,type:_0x35e23b}=_0x155a2c[_0x395333(0x1ac)](detectDriverType,_0x37cc49),_0x1ba45e={};_0x1ba45e[_0x395333(0x173)]=![],_0x1ba45e[_0x395333(0x159)]=[],_0x1ba45e[_0x395333(0x1df)]={},_0x1ba45e[_0x395333(0x168)]=null,_0x1ba45e[_0x395333(0x198)]=_0x35e23b;const _0x445fed=_0x1ba45e;try{_0x445fed[_0x395333(0x173)]=await exports['performScanWithRetry'](_0x37cc49,_0x4736d7);if(_0x445fed[_0x395333(0x173)]){const [_0x47aeaa,_0x4aff8a]=await Promise[_0x395333(0x138)]([exports[_0x395333(0x18a)](_0x37cc49,_0x24be72),exports[_0x395333(0x14e)](_0x37cc49,_0x24be72)]);_0x445fed['results']=_0x155a2c[_0x395333(0x197)](_0x47aeaa['status'],_0x155a2c['XqWAt'])?_0x47aeaa[_0x395333(0x19d)]:[],_0x445fed[_0x395333(0x1df)]=_0x155a2c[_0x395333(0x197)](_0x4aff8a[_0x395333(0x1b4)],_0x155a2c['XqWAt'])?_0x4aff8a[_0x395333(0x19d)]:{},_0x155a2c[_0x395333(0x197)](_0x47aeaa[_0x395333(0x1b4)],_0x155a2c[_0x395333(0x15a)])&&logger['warn'](_0x395333(0x1c8)+_0x35e23b+_0x395333(0x1af)+_0x47aeaa[_0x395333(0x137)]?.['message']),_0x155a2c['GsubV'](_0x4aff8a['status'],_0x155a2c[_0x395333(0x15a)])&&logger[_0x395333(0x12b)]('Failed\x20to\x20retrieve\x20accessibility\x20summary\x20('+_0x35e23b+_0x395333(0x1af)+_0x4aff8a['reason']?.[_0x395333(0x16c)]);}}catch(_0x253fc0){_0x445fed['error']=_0x253fc0[_0x395333(0x16c)]||_0x155a2c[_0x395333(0x16f)],logger[_0x395333(0x168)]('Comprehensive\x20accessibility\x20scan\x20failed\x20('+_0x35e23b+'):\x20'+_0x445fed[_0x395333(0x168)]);}return _0x445fed;},exports[a106_0xa92895(0x1a3)]=_0x304054=>{const _0xd29335=a106_0xa92895,_0x4f4a9a={};_0x4f4a9a[_0xd29335(0x18f)]=function(_0x831e2a,_0x27ab1c){return _0x831e2a!==_0x27ab1c;},_0x4f4a9a['QOdIg']=function(_0x49397b,_0x2dea17){return _0x49397b!==_0x2dea17;};const _0x3dba27=_0x4f4a9a;_0x3dba27[_0xd29335(0x18f)](_0x304054[_0xd29335(0x196)],undefined)&&(RETRY_CONFIG[_0xd29335(0x196)]=Math[_0xd29335(0x17c)](0x0,_0x304054[_0xd29335(0x196)])),_0x3dba27[_0xd29335(0x160)](_0x304054[_0xd29335(0x192)],undefined)&&(RETRY_CONFIG['timeoutMs']=Math[_0xd29335(0x17c)](0x3e8,_0x304054[_0xd29335(0x192)])),logger[_0xd29335(0x1e2)](_0xd29335(0x163)+JSON['stringify'](RETRY_CONFIG));},exports[a106_0xa92895(0x1c0)]=()=>{const _0x2702d3={...RETRY_CONFIG};return _0x2702d3;},exports[a106_0xa92895(0x15c)]=_0x2c8745=>{const _0x8698fd=a106_0xa92895,_0x554d11={'efaTU':function(_0xdbbf13,_0x4b3786){return _0xdbbf13(_0x4b3786);}};return _0x554d11[_0x8698fd(0x126)](detectDriverType,_0x2c8745)[_0x8698fd(0x1a8)];},exports[a106_0xa92895(0x153)]=_0x2ac0af=>{const _0x4aa8f5=a106_0xa92895,_0x4b5b9f={'uyvcR':function(_0x21b514,_0x3f2ef4){return _0x21b514(_0x3f2ef4);},'cuUgz':function(_0x5c88ee,_0x514260){return _0x5c88ee===_0x514260;},'NhBff':_0x4aa8f5(0x185)},{isPlaywright:_0x158a57,type:_0x47e524}=_0x4b5b9f[_0x4aa8f5(0x121)](detectDriverType,_0x2ac0af);return!_0x158a57&&_0x4b5b9f[_0x4aa8f5(0x1d3)](_0x47e524,_0x4b5b9f[_0x4aa8f5(0x1a0)]);},exports[a106_0xa92895(0x1e7)]=async(_0x210530,_0x50f37e=null)=>{const _0x37e9cd=a106_0xa92895,_0x98f018={'LnChg':function(_0x36aabb,_0x41b774){return _0x36aabb(_0x41b774);},'RrdhR':function(_0x546d47,_0x1b3b43){return _0x546d47===_0x1b3b43;},'lOack':_0x37e9cd(0x174)},{isPlaywright:_0x20fcb9,type:_0x235d23}=_0x98f018[_0x37e9cd(0x1d4)](detectDriverType,_0x210530);if(!_0x20fcb9)return logger[_0x37e9cd(0x1e2)](_0x37e9cd(0x136)+_0x235d23+'\x20-\x20not\x20applicable'),!![];const _0x464308=_0x50f37e||RETRY_CONFIG[_0x37e9cd(0x1b9)];try{return _0x210530&&_0x98f018[_0x37e9cd(0x18d)](typeof _0x210530[_0x37e9cd(0x1bb)],_0x98f018[_0x37e9cd(0x1c3)])&&(await _0x210530['setDefaultTimeout'](_0x464308),logger[_0x37e9cd(0x1e2)](_0x37e9cd(0x1c1)+_0x464308+'ms')),!![];}catch(_0x38a3ea){return logger[_0x37e9cd(0x12b)](_0x37e9cd(0x146)+_0x38a3ea[_0x37e9cd(0x16c)]),![];}},exports[a106_0xa92895(0x1bf)]=async(_0x22a8a3,_0x2a5a33=null)=>{const _0x5cc91b=a106_0xa92895,_0x1a5cbf={};_0x1a5cbf[_0x5cc91b(0x17a)]=_0x5cc91b(0x175),_0x1a5cbf['kzACT']=function(_0x2df586,_0x3a9d88){return _0x2df586===_0x3a9d88;},_0x1a5cbf['CiCBV']='function',_0x1a5cbf[_0x5cc91b(0x164)]=function(_0x56c043,_0x3ef7d6){return _0x56c043===_0x3ef7d6;},_0x1a5cbf[_0x5cc91b(0x12c)]=function(_0x41e613,_0x51275){return _0x41e613===_0x51275;},_0x1a5cbf['fHfpe']=_0x5cc91b(0x182),_0x1a5cbf['CUYvg']=_0x5cc91b(0x188);const _0x4eec13=_0x1a5cbf;if(!exports['isSeleniumDriver'](_0x22a8a3))return logger[_0x5cc91b(0x12b)](_0x4eec13[_0x5cc91b(0x17a)]),![];const _0x43850e=_0x2a5a33||RETRY_CONFIG['defaultTimeoutMs'];try{if(_0x22a8a3&&_0x4eec13[_0x5cc91b(0x187)](typeof _0x22a8a3[_0x5cc91b(0x13a)],_0x4eec13[_0x5cc91b(0x1e8)])){const _0x2f8bd4=_0x22a8a3['manage']();if(_0x2f8bd4&&_0x4eec13[_0x5cc91b(0x187)](typeof _0x2f8bd4[_0x5cc91b(0x14f)],_0x4eec13[_0x5cc91b(0x1e8)]))await _0x2f8bd4['timeouts']()[_0x5cc91b(0x1d2)](_0x43850e),logger[_0x5cc91b(0x1e2)]('Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20'+_0x43850e+'ms\x20using\x20timeouts()\x20API');else{if(_0x2f8bd4&&_0x4eec13[_0x5cc91b(0x164)](typeof _0x2f8bd4['setTimeouts'],_0x4eec13[_0x5cc91b(0x1e8)])){const _0x449328={};_0x449328['script']=_0x43850e,await _0x2f8bd4[_0x5cc91b(0x1a5)](_0x449328),logger[_0x5cc91b(0x1e2)](_0x5cc91b(0x124)+_0x43850e+'ms\x20using\x20setTimeouts\x20API');}else{if(_0x2f8bd4&&_0x4eec13[_0x5cc91b(0x12c)](typeof _0x2f8bd4[_0x5cc91b(0x1d2)],_0x4eec13[_0x5cc91b(0x1e8)]))await _0x2f8bd4[_0x5cc91b(0x1d2)](_0x43850e),logger[_0x5cc91b(0x1e2)](_0x5cc91b(0x124)+_0x43850e+_0x5cc91b(0x193));else return logger[_0x5cc91b(0x1e2)](_0x4eec13['fHfpe']),!![];}}}else return logger[_0x5cc91b(0x1e2)](_0x4eec13[_0x5cc91b(0x133)]),!![];return!![];}catch(_0x239430){return logger['warn'](_0x5cc91b(0x125)+_0x239430['message']),![];}},exports[a106_0xa92895(0x13d)]=async(_0x367f73,_0xb78eec)=>{const _0x19ac6e=a106_0xa92895,_0x1dce47={'ffVYK':function(_0x1283fa,_0x53fb9b){return _0x1283fa(_0x53fb9b);},'ndaFA':_0x19ac6e(0x158),'qBCmJ':function(_0x21a7f9,_0x5b28f7){return _0x21a7f9<=_0x5b28f7;},'EIFdY':function(_0x3ed9a5,_0x639d01){return _0x3ed9a5+_0x639d01;},'NJvFO':function(_0x4b82dd,_0x478260){return _0x4b82dd+_0x478260;},'DHRyk':function(_0x12f11d,_0x557648){return _0x12f11d&&_0x557648;},'BmMxT':function(_0x49515c,_0x472643,_0x16a64d){return _0x49515c(_0x472643,_0x16a64d);},'kvnfv':function(_0x394973,_0x1b39b5,_0xd8bfca){return _0x394973(_0x1b39b5,_0xd8bfca);},'imcca':_0x19ac6e(0x148),'okYUR':function(_0x586436,_0x589593,_0x3a67a9){return _0x586436(_0x589593,_0x3a67a9);},'NKEnr':'Unknown\x20error'},{isPlaywright:_0x296798,type:_0x2e1572}=_0x1dce47[_0x19ac6e(0x1e9)](detectDriverType,_0x367f73),_0xb00f02=_0x296798?global[_0x19ac6e(0x1a1)]:accessibilityHelper[_0x19ac6e(0x16a)]()&&globals[_0x19ac6e(0x1e6)](_0x1dce47[_0x19ac6e(0x1bc)]);if(!_0xb00f02)return logger[_0x19ac6e(0x12b)](_0x19ac6e(0x1cc)+_0x2e1572+_0x19ac6e(0x1de)),![];let _0x4d4e85=null;for(let _0x5724c3=0x1;_0x1dce47['qBCmJ'](_0x5724c3,_0x1dce47[_0x19ac6e(0x139)](RETRY_CONFIG[_0x19ac6e(0x196)],0x1));_0x5724c3++){try{logger[_0x19ac6e(0x1e2)]('Accessibility\x20results\x20save\x20attempt\x20'+_0x5724c3+'/'+_0x1dce47[_0x19ac6e(0x15d)](RETRY_CONFIG[_0x19ac6e(0x196)],0x1)+'\x20('+_0x2e1572+')');if(_0x1dce47[_0x19ac6e(0x15e)](_0x296798,playwrightA11yHelper)){_0x1dce47[_0x19ac6e(0x150)](setConfigTimeout,RETRY_CONFIG,null),await exports['setPlaywrightScriptTimeout'](_0x367f73,RETRY_CONFIG[_0x19ac6e(0x192)]);const _0x595e2e={};_0x595e2e[_0x19ac6e(0x16e)]=!![];const _0x57c979=global[_0x19ac6e(0x148)]?Object[_0x19ac6e(0x1d8)]({},_0xb78eec,_0x595e2e):_0xb78eec;await _0x1dce47[_0x19ac6e(0x1bd)](withTimeout,playwrightA11yHelper[_0x19ac6e(0x1c5)](_0x367f73,scripts['saveTestResults'],_0x57c979),RETRY_CONFIG[_0x19ac6e(0x192)]),await exports['setPlaywrightScriptTimeout'](_0x367f73,RETRY_CONFIG[_0x19ac6e(0x1b9)]);}else{await exports['setSeleniumScriptTimeout'](_0x367f73,RETRY_CONFIG[_0x19ac6e(0x192)]);const _0x2c3916={};_0x2c3916[_0x19ac6e(0x16e)]=!![];const _0x41e284=globals[_0x19ac6e(0x1e6)](_0x1dce47['imcca'])?Object[_0x19ac6e(0x1d8)]({},_0xb78eec,_0x2c3916):_0xb78eec;await _0x1dce47[_0x19ac6e(0x184)](withTimeout,_0x367f73['executeAsyncScript'](scripts['saveTestResults'],_0x41e284),RETRY_CONFIG[_0x19ac6e(0x192)]),await exports[_0x19ac6e(0x1bf)](_0x367f73,RETRY_CONFIG[_0x19ac6e(0x1b9)]);}return logger[_0x19ac6e(0x1a7)]('Accessibility\x20results\x20saved\x20successfully\x20on\x20attempt\x20'+_0x5724c3+'\x20('+_0x2e1572+')'),!![];}catch(_0x15ddfb){_0x4d4e85=_0x15ddfb,logger['warn'](_0x19ac6e(0x195)+_0x5724c3+_0x19ac6e(0x161)+_0x2e1572+').\x20Error:\x20'+_0x15ddfb[_0x19ac6e(0x16c)]);}}return logger[_0x19ac6e(0x168)](_0x19ac6e(0x181)+_0x2e1572+').\x20Last\x20error:\x20'+(_0x4d4e85?.[_0x19ac6e(0x16c)]||_0x1dce47[_0x19ac6e(0x1a4)])),![];};
|
|
1
|
+
const a106_0x1f263e=a106_0x2db0;(function(_0x4bac42,_0x19dc68){const _0xb659f0=a106_0x2db0,_0x33c684=_0x4bac42();while(!![]){try{const _0x5d6dab=parseInt(_0xb659f0(0x13b))/0x1+-parseInt(_0xb659f0(0x19d))/0x2+parseInt(_0xb659f0(0x152))/0x3+-parseInt(_0xb659f0(0x1b5))/0x4+-parseInt(_0xb659f0(0x150))/0x5*(-parseInt(_0xb659f0(0x1d4))/0x6)+-parseInt(_0xb659f0(0x171))/0x7*(-parseInt(_0xb659f0(0x1d9))/0x8)+-parseInt(_0xb659f0(0x17f))/0x9;if(_0x5d6dab===_0x19dc68)break;else _0x33c684['push'](_0x33c684['shift']());}catch(_0x4955d1){_0x33c684['push'](_0x33c684['shift']());}}}(a106_0x4425,0xa9c7c));const util=require(a106_0x1f263e(0x155)),logger=require(a106_0x1f263e(0x13a))['winstonLogger'],accessibilityHelper=require(a106_0x1f263e(0x192)),globals=require(a106_0x1f263e(0x1ac)),scripts=require(a106_0x1f263e(0x12c)),PerformanceTester=require(a106_0x1f263e(0x14f)),{A11Y_EVENTS:PerformanceA11yEvents}=require('../performance/constants'),BrowserstackCLI=require(a106_0x1f263e(0x186));let playwrightA11yHelper=null;function a106_0x2db0(_0x54db9c,_0x513339){const _0x44258e=a106_0x4425();return a106_0x2db0=function(_0x2db0ca,_0x1d1d78){_0x2db0ca=_0x2db0ca-0x122;let _0x2066d8=_0x44258e[_0x2db0ca];return _0x2066d8;},a106_0x2db0(_0x54db9c,_0x513339);}function a106_0x4425(){const _0x51acb4=['playwright-codecept-driver','Accessibility\x20results\x20retrieval\x20attempt\x20','function','nfULW','ThEEe','QTFQK','Failed\x20to\x20retrieve\x20accessibility\x20results\x20(','options','LWYKd','wixcL','getRetryConfig','Page',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20with\x20retry.','8708967bgCOIU','constructor','JJDDo','rbZkZ','Failed\x20to\x20set\x20Selenium\x20script\x20timeout:\x20','unknown','Failed\x20to\x20set\x20Playwright\x20script\x20timeout:\x20','../../bin/v2/browserstackCLI','unknown_method','corBS','kKFEB','getAccessibilityResultsSummaryWithRetry','browserstackSessionName','getId','status','pIZnd',',\x20cannot\x20perform\x20scan\x20with\x20retry.','goto','setScriptTimeout','./helper','bstackA11yShouldScan','Playwright\x20accessibility\x20helper\x20not\x20available','saveAccessibilityResultsWithRetry','getCurrentUrl','Accessibility\x20results\x20saved\x20successfully\x20on\x20attempt\x20','hGiLQ','isAccessibilityPlatform','isAccessibilityAutomationSession','getInstance','reason','2456114pgGbzO','HuegR','isMobilePlatform','ms\x20using\x20timeouts()\x20API','SQlNm','accessibilityConfig','alNZC','YngbW','TKzna','kBUMY','hIaAB','Accessibility\x20scan\x20attempt\x20','APYiE',',\x20cannot\x20save\x20accessibility\x20results\x20with\x20retry.','env','../globals','rCqqM','WCEul','Failed\x20to\x20retrieve\x20accessibility\x20summary\x20(','setTimeouts','IwXfF','message','\x20failed\x20for\x20method:\x20','saveTestResults','2640320OYVojj','sRiTo','ZqNVE','cZhQk','hpjWQ','summary','ygtKD','isPlaywrightPage','AkwiF','eRtir','nGeLb','getSession','../../bin/playwright/accessibility-helper','WruWa','UeVsi','hizBZ','getCapabilities','All\x20accessibility\x20scan\x20attempts\x20failed\x20for\x20method:\x20','getAccessibilityModule','yAxNG','Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20','EqRUJ','setPlaywrightScriptTimeout','mGPPp','url','EIepS','PERFORM_SCAN','Lilwi','timeouts','resolveMobileThTestRunUuid','yeeag','6IULERD','performScanWithRetry','USIgx','skBFK','updateRetryConfig','40VsgxFW','Selenium\x20WebDriver\x20timeout\x20API\x20not\x20available,\x20skipping\x20timeout\x20setting','undefined','allSettled','max','Cannot\x20set\x20script\x20timeout:\x20not\x20a\x20Selenium\x20WebDriver','tiLZa','VGDFp','maxRetries','rYUdm','bstackA11yScanOptions','\x20failed\x20(','Unknown\x20driver/page\x20type:\x20','selenium-webdriver','):\x20','debug','scanSucceeded','script','IHgNr','UBBwI','getGlobal','All\x20accessibility\x20results\x20save\x20attempts\x20failed\x20(','stringify','results','[Accessibility]\x20Scan\x20skipped\x20-\x20scanning\x20is\x20currently\x20disabled\x20(partial\x20scan\x20mode)','OcoUe','measureWrapper','setDefaultTimeout','is_mobile_session','./scripts','Accessibility\x20results\x20summary\x20retrieved\x20successfully\x20on\x20attempt\x20','Playwright','ms\x20using\x20setScriptTimeout\x20API','KvnQo','isSeleniumDriver','race','timeoutMs','FSDDQ','BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT','\x20completed\x20successfully.','yjKVn','Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20','Comprehensive\x20accessibility\x20scan\x20failed\x20(','../logger','203540FVtLZE','xeRNT','EMdOn','info','ZIrfL','NCcwi','warn','isPlaywright','rflxo','assign','eZqgw','error','getAccessibilityResults','All\x20accessibility\x20results\x20summary\x20retrieval\x20attempts\x20failed\x20(','Set\x20Playwright\x20page\x20default\x20timeout\x20to\x20','getAccessibilityResultsSummary','uSUbq','value','GfDAD','isRunning','../performance/performance-tester','4283700PLFDGv','playwright-page','3561255fRDVpK','rTkAR','ZzHQW','util','setSeleniumScriptTimeout','bTpqA','rmDAi','Accessibility\x20results\x20retrieved\x20successfully\x20on\x20attempt\x20',').\x20Last\x20error:\x20','Jmipd','accessibilityPlatform','Unknown\x20error','oNgpw','Skipping\x20timeout\x20setting\x20for\x20','WjRiD','CuZTO','defaultTimeoutMs','getAccessibilityResultsWithRetry','capabilitiesList','fQafP','DFoxb','type',').\x20Error:\x20','rejected','diEPu','gumiD','Accessibility\x20results\x20save\x20attempt\x20','afFrP','\x20for\x20method:\x20','executeAsyncScript','TboqI','1825397kCqZdg'];a106_0x4425=function(){return _0x51acb4;};return a106_0x4425();}try{playwrightA11yHelper=require(a106_0x1f263e(0x1c1));}catch(a106_0x52409d){logger[a106_0x1f263e(0x1e8)](a106_0x1f263e(0x194));}const a106_0x665afb={};a106_0x665afb['maxRetries']=0x1,a106_0x665afb['timeoutMs']=0x7530,a106_0x665afb[a106_0x1f263e(0x162)]=0x7530;const RETRY_CONFIG=a106_0x665afb,setConfigTimeout=(_0x288d45,_0x197106=null)=>{const _0x4a8b5d=a106_0x1f263e,_0x222dc3={'hkmvn':function(_0x4d8fe2,_0x4b129a){return _0x4d8fe2===_0x4b129a;},'oNgpw':'scannerProcessingTimeout','IwXfF':function(_0x447922,_0x54ded7){return _0x447922*_0x54ded7;},'kBUMY':function(_0x1c55a2,_0x59937b){return _0x1c55a2(_0x59937b);}};if(BrowserstackCLI[_0x4a8b5d(0x19b)]()[_0x4a8b5d(0x14e)]()&&BrowserstackCLI[_0x4a8b5d(0x19b)]()[_0x4a8b5d(0x1c7)]()){const _0x5ca7eb=BrowserstackCLI[_0x4a8b5d(0x19b)]()[_0x4a8b5d(0x1c7)]()[_0x4a8b5d(0x1a2)],_0x20f897=_0x5ca7eb[_0x4a8b5d(0x179)][_0x4a8b5d(0x164)]||[];for(const _0x2c5091 of _0x20f897){_0x222dc3['hkmvn'](_0x2c5091['name'],_0x222dc3[_0x4a8b5d(0x15e)])&&_0x222dc3['hkmvn'](_0x197106,null)&&(_0x288d45[_0x4a8b5d(0x133)]=_0x222dc3[_0x4a8b5d(0x1b1)](_0x222dc3[_0x4a8b5d(0x1a6)](parseInt,_0x2c5091[_0x4a8b5d(0x14c)]),0x3e8));}}else process[_0x4a8b5d(0x1ab)][_0x4a8b5d(0x135)]&&(_0x288d45['timeoutMs']=_0x222dc3[_0x4a8b5d(0x1b1)](_0x222dc3['kBUMY'](parseInt,process['env'][_0x4a8b5d(0x135)]),0x3e8));},detectDriverType=_0x5957fc=>{const _0x33f095=a106_0x1f263e,_0x8593fd={};_0x8593fd['CuZTO']=_0x33f095(0x184),_0x8593fd[_0x33f095(0x137)]=function(_0xec28e0,_0x51b7af){return _0xec28e0===_0x51b7af;},_0x8593fd[_0x33f095(0x143)]=_0x33f095(0x174),_0x8593fd['DmOST']=function(_0x1e96c0,_0x42d267){return _0x1e96c0===_0x42d267;},_0x8593fd['UBBwI']=function(_0x37e97b,_0x328f78){return _0x37e97b===_0x328f78;},_0x8593fd[_0x33f095(0x19e)]=_0x33f095(0x151),_0x8593fd['AkwiF']=function(_0x33e09f,_0x61dea6){return _0x33e09f===_0x61dea6;},_0x8593fd['skBFK']=_0x33f095(0x1e6),_0x8593fd[_0x33f095(0x1c8)]=function(_0xac247c,_0x34cc10){return _0xac247c===_0x34cc10;},_0x8593fd[_0x33f095(0x177)]=_0x33f095(0x17d),_0x8593fd[_0x33f095(0x13f)]=function(_0x5e615f,_0x2361b1){return _0x5e615f===_0x2361b1;},_0x8593fd[_0x33f095(0x13d)]='WebDriver',_0x8593fd[_0x33f095(0x1ca)]=function(_0x513bb6,_0x56c9e9){return _0x513bb6===_0x56c9e9;},_0x8593fd['pRYEW']=_0x33f095(0x12e),_0x8593fd[_0x33f095(0x154)]=_0x33f095(0x172),_0x8593fd[_0x33f095(0x1ce)]=function(_0x1f37a0,_0x5053d5){return _0x1f37a0||_0x5053d5;},_0x8593fd[_0x33f095(0x1c3)]=_0x33f095(0x1db);const _0x49ecd1=_0x8593fd;if(!_0x5957fc){const _0x185b25={};return _0x185b25[_0x33f095(0x142)]=![],_0x185b25['type']=_0x49ecd1[_0x33f095(0x161)],_0x185b25;}if(_0x49ecd1[_0x33f095(0x137)](typeof _0x5957fc['evaluate'],_0x49ecd1[_0x33f095(0x143)])&&_0x49ecd1['DmOST'](typeof _0x5957fc[_0x33f095(0x1cd)],_0x49ecd1[_0x33f095(0x143)])&&_0x49ecd1[_0x33f095(0x122)](typeof _0x5957fc[_0x33f095(0x190)],_0x49ecd1[_0x33f095(0x143)])){const _0xeb483b={};return _0xeb483b['isPlaywright']=!![],_0xeb483b[_0x33f095(0x167)]=_0x49ecd1[_0x33f095(0x19e)],_0xeb483b;}if(_0x49ecd1[_0x33f095(0x122)](typeof _0x5957fc[_0x33f095(0x16f)],_0x49ecd1[_0x33f095(0x143)])&&_0x49ecd1[_0x33f095(0x1bd)](typeof _0x5957fc[_0x33f095(0x1c5)],_0x49ecd1[_0x33f095(0x143)])){const _0x548aee={};return _0x548aee['isPlaywright']=![],_0x548aee[_0x33f095(0x167)]=_0x49ecd1['skBFK'],_0x548aee;}const _0x422ca1=_0x5957fc[_0x33f095(0x180)]?.['name'];if(_0x49ecd1[_0x33f095(0x1c8)](_0x422ca1,_0x49ecd1[_0x33f095(0x177)])){const _0x15c16e={};return _0x15c16e[_0x33f095(0x142)]=!![],_0x15c16e['type']=_0x49ecd1['HuegR'],_0x15c16e;}if(_0x49ecd1[_0x33f095(0x13f)](_0x422ca1,_0x49ecd1['EMdOn'])){const _0x167ffa={};return _0x167ffa['isPlaywright']=![],_0x167ffa[_0x33f095(0x167)]=_0x49ecd1[_0x33f095(0x1d7)],_0x167ffa;}if(_0x49ecd1[_0x33f095(0x1ca)](_0x422ca1,_0x49ecd1['pRYEW'])){const _0x1c762a={};return _0x1c762a['isPlaywright']=!![],_0x1c762a[_0x33f095(0x167)]=_0x49ecd1[_0x33f095(0x154)],_0x1c762a;}logger[_0x33f095(0x141)](_0x33f095(0x1e5)+_0x49ecd1[_0x33f095(0x1ce)](_0x422ca1,_0x49ecd1[_0x33f095(0x1c3)]));const _0x4768d3={};return _0x4768d3['isPlaywright']=![],_0x4768d3[_0x33f095(0x167)]=_0x49ecd1[_0x33f095(0x161)],_0x4768d3;},withTimeout=(_0x11137b,_0x18d0af)=>{const _0x5315ff=a106_0x1f263e;return Promise[_0x5315ff(0x132)]([_0x11137b,new Promise((_0x2aed21,_0x361954)=>setTimeout(()=>_0x361954(new Error('Operation\x20timed\x20out\x20after\x20'+_0x18d0af+'ms')),_0x18d0af))]);};exports[a106_0x1f263e(0x1d5)]=async(_0x5641d7,_0x5ce888=null,_0x270bfd=null,_0x5efe13=![],_0x175ce2=null)=>{const _0x11ba5a=a106_0x1f263e,_0x18bf9a={'OcoUe':function(_0x2c0ae0,_0x5cf443){return _0x2c0ae0&&_0x5cf443;},'FSDDQ':function(_0x26c507,_0x218d16,_0x15a8a7){return _0x26c507(_0x218d16,_0x15a8a7);},'alNZC':function(_0x33eebd,_0x23cc23){return _0x33eebd===_0x23cc23;},'eSace':_0x11ba5a(0x172),'yeeag':function(_0x51fe77,_0x3f3bc0,_0xae4ec1){return _0x51fe77(_0x3f3bc0,_0xae4ec1);},'rTkAR':function(_0x13bbfb,_0x384497,_0x11c909){return _0x13bbfb(_0x384497,_0x11c909);},'Lilwi':function(_0x5e2759,_0x406807){return _0x5e2759(_0x406807);},'KvnQo':function(_0x2eee35,_0x19170c){return _0x2eee35||_0x19170c;},'xeRNT':function(_0x2c3bc5,_0x1c91eb){return _0x2c3bc5!==_0x1c91eb;},'ZqNVE':_0x11ba5a(0x199),'LWYKd':function(_0x410b8d,_0x79f3e6){return _0x410b8d!==_0x79f3e6;},'kKFEB':_0x11ba5a(0x193),'TboqI':function(_0x461eef,_0x2d0efb){return _0x461eef===_0x2d0efb;},'fQafP':_0x11ba5a(0x127),'LDHjm':_0x11ba5a(0x187),'nfULW':_0x11ba5a(0x174),'GfDAD':function(_0x2150f1,_0x2181be){return _0x2150f1===_0x2181be;},'AAEXP':function(_0x399e8d,_0x325db6){return _0x399e8d<=_0x325db6;},'MCxhD':function(_0x2b6f01,_0x1db5ab){return _0x2b6f01+_0x1db5ab;},'VGDFp':function(_0x385f60,_0x1d0925){return _0x385f60+_0x1d0925;},'nGeLb':_0x11ba5a(0x15d)},{isPlaywright:_0x4d46b7,type:_0x27cd29}=_0x18bf9a[_0x11ba5a(0x1d0)](detectDriverType,_0x5641d7),_0x582ae5=_0x5efe13?_0x18bf9a[_0x11ba5a(0x130)](_0x175ce2,{}):global[_0x11ba5a(0x1e3)]||{},_0x203644=_0x4d46b7?global[_0x11ba5a(0x15c)]&&(_0x5efe13||_0x18bf9a[_0x11ba5a(0x13c)](global[_0x11ba5a(0x193)],![])):accessibilityHelper['isAccessibilityAutomationSession']()&&globals[_0x11ba5a(0x123)](_0x18bf9a['ZqNVE'])&&(_0x5efe13||_0x18bf9a[_0x11ba5a(0x17a)](globals['getGlobal'](_0x18bf9a[_0x11ba5a(0x189)]),![]));if(!_0x203644)return _0x4d46b7&&global[_0x11ba5a(0x15c)]&&_0x18bf9a['alNZC'](global[_0x11ba5a(0x193)],![])||!_0x4d46b7&&globals['getGlobal'](_0x18bf9a[_0x11ba5a(0x1b7)])&&_0x18bf9a[_0x11ba5a(0x170)](globals[_0x11ba5a(0x123)](_0x18bf9a[_0x11ba5a(0x189)]),![])?logger['debug'](_0x18bf9a[_0x11ba5a(0x165)]):logger['warn']('Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20'+_0x27cd29+_0x11ba5a(0x18f)),![];const _0x961d18=_0x5ce888||global[_0x11ba5a(0x18b)]||_0x18bf9a['LDHjm'];let _0x48ca82=null;const _0x2e0db1={'testhub_btcer_uuid':global['__workerDetails']?.['currentTest']?.['id'],'url':_0x18bf9a[_0x11ba5a(0x170)](typeof _0x5641d7[_0x11ba5a(0x1cd)],_0x18bf9a[_0x11ba5a(0x175)])?await _0x5641d7['url']():_0x18bf9a[_0x11ba5a(0x14d)](typeof _0x5641d7[_0x11ba5a(0x196)],_0x18bf9a[_0x11ba5a(0x175)])?await _0x5641d7[_0x11ba5a(0x196)]():'','automate_session_id':_0x18bf9a[_0x11ba5a(0x14d)](typeof _0x5641d7[_0x11ba5a(0x1c0)],_0x18bf9a[_0x11ba5a(0x175)])?(await _0x5641d7[_0x11ba5a(0x1c0)]())[_0x11ba5a(0x18c)]():''};for(let _0x534dfc=0x1;_0x18bf9a['AAEXP'](_0x534dfc,_0x18bf9a['MCxhD'](RETRY_CONFIG[_0x11ba5a(0x1e1)],0x1));_0x534dfc++){try{return logger['debug'](_0x11ba5a(0x1a8)+_0x534dfc+'/'+_0x18bf9a[_0x11ba5a(0x1e0)](RETRY_CONFIG['maxRetries'],0x1)+_0x11ba5a(0x16e)+_0x961d18+'\x20('+_0x27cd29+')'),await PerformanceTester[_0x11ba5a(0x129)](PerformanceA11yEvents[_0x11ba5a(0x1cf)],async()=>{const _0x21c73e=_0x11ba5a;let _0x1f9281;if(_0x18bf9a[_0x21c73e(0x128)](_0x4d46b7,playwrightA11yHelper)){_0x18bf9a[_0x21c73e(0x134)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x21c73e(0x1cb)](_0x5641d7,RETRY_CONFIG[_0x21c73e(0x133)]);let _0x1b1c15=_0x5641d7;_0x18bf9a[_0x21c73e(0x1a3)](_0x27cd29,_0x18bf9a['eSace'])&&(_0x1b1c15=_0x5641d7['page']);const _0x58ec18=global['isMobilePlatform']?{'is_mobile_session':!![],'thTestRunUuid':accessibilityHelper[_0x21c73e(0x1d2)]()}:{};_0x1f9281=await _0x18bf9a[_0x21c73e(0x1d3)](withTimeout,playwrightA11yHelper['performScan'](_0x1b1c15,_0x961d18,_0x582ae5,_0x58ec18),RETRY_CONFIG[_0x21c73e(0x133)]),await exports[_0x21c73e(0x1cb)](_0x5641d7,RETRY_CONFIG[_0x21c73e(0x162)]);}else await exports[_0x21c73e(0x156)](_0x5641d7,RETRY_CONFIG[_0x21c73e(0x133)]),_0x1f9281=await _0x18bf9a[_0x21c73e(0x153)](withTimeout,accessibilityHelper['performScan'](_0x5641d7,_0x961d18,_0x5efe13,_0x582ae5),RETRY_CONFIG[_0x21c73e(0x133)]),await exports['setSeleniumScriptTimeout'](_0x5641d7,RETRY_CONFIG[_0x21c73e(0x162)]);logger[_0x21c73e(0x1e8)]('Scan\x20attempt\x20'+_0x534dfc+_0x21c73e(0x136));},{'command':_0x961d18,..._0x2e0db1})(),logger[_0x11ba5a(0x13e)]('Accessibility\x20scan\x20succeeded\x20on\x20attempt\x20'+_0x534dfc+'.'),!![];}catch(_0x4ef5f0){_0x48ca82=_0x4ef5f0,logger[_0x11ba5a(0x1e8)](_0x11ba5a(0x1a8)+_0x534dfc+_0x11ba5a(0x1b3)+_0x961d18+'\x20('+_0x27cd29+_0x11ba5a(0x168)+_0x4ef5f0[_0x11ba5a(0x1b2)]);}}return logger[_0x11ba5a(0x146)](_0x11ba5a(0x1c6)+_0x961d18+'\x20('+_0x27cd29+')\x20with\x20error:\x20'+(_0x48ca82?.['message']||_0x18bf9a[_0x11ba5a(0x1bf)])),![];},exports[a106_0x1f263e(0x163)]=async(_0x3ebead,_0x56e278)=>{const _0xbf25f3=a106_0x1f263e,_0x4be950={'qDMEV':function(_0xa4f8c,_0x526fe9){return _0xa4f8c(_0x526fe9);},'Jmipd':_0xbf25f3(0x199),'corBS':function(_0x37a0f2,_0x2c3934){return _0x37a0f2<=_0x2c3934;},'DFoxb':function(_0x5ce00e,_0x39d378){return _0x5ce00e+_0x39d378;},'WCEul':function(_0x23da2b,_0x4a757c){return _0x23da2b&&_0x4a757c;},'uSUbq':function(_0x247df2,_0xe24368,_0x3e0ab0){return _0x247df2(_0xe24368,_0x3e0ab0);},'ygtKD':function(_0x3eb9a4,_0x20ee54,_0x38f18a){return _0x3eb9a4(_0x20ee54,_0x38f18a);},'cZhQk':_0xbf25f3(0x15d)},{isPlaywright:_0xf58949,type:_0x52744a}=_0x4be950['qDMEV'](detectDriverType,_0x3ebead),_0x3c1218=_0xf58949?_0x56e278[_0xbf25f3(0x15c)]:accessibilityHelper[_0xbf25f3(0x19a)]()&&globals['getGlobal'](_0x4be950[_0xbf25f3(0x15b)]);if(!_0x3c1218)return logger[_0xbf25f3(0x141)](_0xbf25f3(0x138)+_0x52744a+_0xbf25f3(0x17e)),[];let _0x525d4e=null;for(let _0x1ab12e=0x1;_0x4be950[_0xbf25f3(0x188)](_0x1ab12e,_0x4be950[_0xbf25f3(0x166)](RETRY_CONFIG[_0xbf25f3(0x1e1)],0x1));_0x1ab12e++){try{logger[_0xbf25f3(0x1e8)](_0xbf25f3(0x173)+_0x1ab12e+'/'+_0x4be950['DFoxb'](RETRY_CONFIG[_0xbf25f3(0x1e1)],0x1)+'\x20('+_0x52744a+')');let _0x549461;return _0x4be950[_0xbf25f3(0x1ae)](_0xf58949,playwrightA11yHelper)?(_0x4be950[_0xbf25f3(0x14b)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0xbf25f3(0x1cb)](_0x3ebead,RETRY_CONFIG['timeoutMs']),_0x549461=await _0x4be950[_0xbf25f3(0x14b)](withTimeout,playwrightA11yHelper[_0xbf25f3(0x147)](_0x3ebead),RETRY_CONFIG[_0xbf25f3(0x133)]),await exports[_0xbf25f3(0x1cb)](_0x3ebead,RETRY_CONFIG['defaultTimeoutMs'])):(await exports[_0xbf25f3(0x156)](_0x3ebead,RETRY_CONFIG[_0xbf25f3(0x133)]),_0x549461=await _0x4be950[_0xbf25f3(0x1bb)](withTimeout,accessibilityHelper[_0xbf25f3(0x147)](_0x3ebead,_0x56e278),RETRY_CONFIG['timeoutMs']),await exports[_0xbf25f3(0x156)](_0x3ebead,RETRY_CONFIG['defaultTimeoutMs'])),logger['info'](_0xbf25f3(0x159)+_0x1ab12e+'\x20('+_0x52744a+')'),_0x549461;}catch(_0x3d0fb4){_0x525d4e=_0x3d0fb4,logger[_0xbf25f3(0x141)](_0xbf25f3(0x173)+_0x1ab12e+_0xbf25f3(0x1e4)+_0x52744a+_0xbf25f3(0x168)+_0x3d0fb4[_0xbf25f3(0x1b2)]);}}return logger[_0xbf25f3(0x146)]('All\x20accessibility\x20results\x20retrieval\x20attempts\x20failed\x20('+_0x52744a+_0xbf25f3(0x15a)+(_0x525d4e?.[_0xbf25f3(0x1b2)]||_0x4be950[_0xbf25f3(0x1b8)])),[];},exports[a106_0x1f263e(0x18a)]=async(_0x57fc97,_0x197047)=>{const _0x441704=a106_0x1f263e,_0x36a618={'SmlTM':function(_0x1bd953,_0x164ba9){return _0x1bd953(_0x164ba9);},'ovXEh':_0x441704(0x199),'wixcL':function(_0x4f1515,_0x34ef9e){return _0x4f1515<=_0x34ef9e;},'hGiLQ':function(_0x42c53e,_0x3f0022){return _0x42c53e+_0x3f0022;},'diEPu':function(_0x165790,_0x1a0e93){return _0x165790+_0x1a0e93;},'eZqgw':function(_0xdc86ba,_0x4ffd75){return _0xdc86ba&&_0x4ffd75;},'LFaQm':function(_0x598d8b,_0x493ac6,_0x47078c){return _0x598d8b(_0x493ac6,_0x47078c);},'SWSvP':function(_0x51c3db,_0x14f032,_0x307c90){return _0x51c3db(_0x14f032,_0x307c90);},'AyShi':function(_0x49680f,_0x4a800f,_0x3b78e9){return _0x49680f(_0x4a800f,_0x3b78e9);},'eRtir':_0x441704(0x15d)},{isPlaywright:_0x1114ef,type:_0xf81c4e}=_0x36a618['SmlTM'](detectDriverType,_0x57fc97),_0x21afc9=_0x1114ef?_0x197047[_0x441704(0x15c)]:accessibilityHelper['isAccessibilityAutomationSession']()&&globals[_0x441704(0x123)](_0x36a618['ovXEh']);if(!_0x21afc9)return logger[_0x441704(0x141)]('Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20'+_0xf81c4e+',\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary\x20with\x20retry.'),{};let _0x4a797a=null;for(let _0x30f564=0x1;_0x36a618[_0x441704(0x17b)](_0x30f564,_0x36a618[_0x441704(0x198)](RETRY_CONFIG[_0x441704(0x1e1)],0x1));_0x30f564++){try{logger[_0x441704(0x1e8)](_0x441704(0x1c9)+_0x30f564+'/'+_0x36a618[_0x441704(0x16a)](RETRY_CONFIG[_0x441704(0x1e1)],0x1)+'\x20('+_0xf81c4e+')');let _0x4b2729;return _0x36a618[_0x441704(0x145)](_0x1114ef,playwrightA11yHelper)?(_0x36a618['LFaQm'](setConfigTimeout,RETRY_CONFIG,null),await exports['setPlaywrightScriptTimeout'](_0x57fc97,RETRY_CONFIG['timeoutMs']),_0x4b2729=await _0x36a618['SWSvP'](withTimeout,playwrightA11yHelper[_0x441704(0x14a)](_0x57fc97),RETRY_CONFIG[_0x441704(0x133)]),await exports[_0x441704(0x1cb)](_0x57fc97,RETRY_CONFIG[_0x441704(0x162)])):(await exports[_0x441704(0x156)](_0x57fc97,RETRY_CONFIG['timeoutMs']),_0x4b2729=await _0x36a618['AyShi'](withTimeout,accessibilityHelper[_0x441704(0x14a)](_0x57fc97,_0x197047),RETRY_CONFIG[_0x441704(0x133)]),await exports[_0x441704(0x156)](_0x57fc97,RETRY_CONFIG[_0x441704(0x162)])),logger[_0x441704(0x13e)](_0x441704(0x12d)+_0x30f564+'\x20('+_0xf81c4e+')'),_0x4b2729;}catch(_0x4a4506){_0x4a797a=_0x4a4506,logger[_0x441704(0x141)]('Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20'+_0x30f564+_0x441704(0x1e4)+_0xf81c4e+_0x441704(0x168)+_0x4a4506['message']);}}return logger[_0x441704(0x146)](_0x441704(0x148)+_0xf81c4e+_0x441704(0x15a)+(_0x4a797a?.['message']||_0x36a618[_0x441704(0x1be)])),{};},exports['performComprehensiveAccessibilityScanWithRetry']=async(_0x1871ec,_0x3c7fca,_0x3bd567=null)=>{const _0xe9dfcf=a106_0x1f263e,_0x3c60dc={'rbZkZ':function(_0x189ef3,_0x3af24b){return _0x189ef3(_0x3af24b);},'hizBZ':function(_0x38bde0,_0x5a66dd){return _0x38bde0===_0x5a66dd;},'hIaAB':'fulfilled','SQlNm':_0xe9dfcf(0x169),'YngbW':function(_0x209fe4,_0x280ed7){return _0x209fe4===_0x280ed7;},'gqkTp':'Unknown\x20error\x20during\x20comprehensive\x20accessibility\x20scan'},{isPlaywright:_0x19b0e4,type:_0x3d1777}=_0x3c60dc[_0xe9dfcf(0x182)](detectDriverType,_0x1871ec),_0x4fca78={};_0x4fca78['scanSucceeded']=![],_0x4fca78[_0xe9dfcf(0x126)]=[],_0x4fca78[_0xe9dfcf(0x1ba)]={},_0x4fca78['error']=null,_0x4fca78['driverType']=_0x3d1777;const _0xb71d48=_0x4fca78;try{_0xb71d48[_0xe9dfcf(0x1e9)]=await exports[_0xe9dfcf(0x1d5)](_0x1871ec,_0x3bd567);if(_0xb71d48[_0xe9dfcf(0x1e9)]){const [_0x4e8dde,_0x465118]=await Promise[_0xe9dfcf(0x1dc)]([exports['getAccessibilityResultsWithRetry'](_0x1871ec,_0x3c7fca),exports[_0xe9dfcf(0x18a)](_0x1871ec,_0x3c7fca)]);_0xb71d48[_0xe9dfcf(0x126)]=_0x3c60dc[_0xe9dfcf(0x1c4)](_0x4e8dde[_0xe9dfcf(0x18d)],_0x3c60dc['hIaAB'])?_0x4e8dde[_0xe9dfcf(0x14c)]:[],_0xb71d48[_0xe9dfcf(0x1ba)]=_0x3c60dc[_0xe9dfcf(0x1c4)](_0x465118['status'],_0x3c60dc[_0xe9dfcf(0x1a7)])?_0x465118[_0xe9dfcf(0x14c)]:{},_0x3c60dc[_0xe9dfcf(0x1c4)](_0x4e8dde[_0xe9dfcf(0x18d)],_0x3c60dc[_0xe9dfcf(0x1a1)])&&logger[_0xe9dfcf(0x141)](_0xe9dfcf(0x178)+_0x3d1777+_0xe9dfcf(0x1e7)+_0x4e8dde[_0xe9dfcf(0x19c)]?.[_0xe9dfcf(0x1b2)]),_0x3c60dc[_0xe9dfcf(0x1a4)](_0x465118[_0xe9dfcf(0x18d)],_0x3c60dc['SQlNm'])&&logger[_0xe9dfcf(0x141)](_0xe9dfcf(0x1af)+_0x3d1777+_0xe9dfcf(0x1e7)+_0x465118[_0xe9dfcf(0x19c)]?.[_0xe9dfcf(0x1b2)]);}}catch(_0xea6839){_0xb71d48['error']=_0xea6839[_0xe9dfcf(0x1b2)]||_0x3c60dc['gqkTp'],logger['error'](_0xe9dfcf(0x139)+_0x3d1777+_0xe9dfcf(0x1e7)+_0xb71d48[_0xe9dfcf(0x146)]);}return _0xb71d48;},exports[a106_0x1f263e(0x1d8)]=_0xa98382=>{const _0x27f102=a106_0x1f263e,_0x35e7a8={};_0x35e7a8[_0x27f102(0x160)]=function(_0x5cfafc,_0xefbe9b){return _0x5cfafc!==_0xefbe9b;};const _0x55f762=_0x35e7a8;_0x55f762['WjRiD'](_0xa98382[_0x27f102(0x1e1)],undefined)&&(RETRY_CONFIG[_0x27f102(0x1e1)]=Math[_0x27f102(0x1dd)](0x0,_0xa98382[_0x27f102(0x1e1)])),_0x55f762['WjRiD'](_0xa98382['timeoutMs'],undefined)&&(RETRY_CONFIG['timeoutMs']=Math[_0x27f102(0x1dd)](0x3e8,_0xa98382[_0x27f102(0x133)])),logger[_0x27f102(0x1e8)]('Accessibility\x20retry\x20configuration\x20updated:\x20'+JSON[_0x27f102(0x125)](RETRY_CONFIG));},exports[a106_0x1f263e(0x17c)]=()=>{const _0x5af69e={...RETRY_CONFIG};return _0x5af69e;},exports[a106_0x1f263e(0x1bc)]=_0x433616=>{const _0xf1d369=a106_0x1f263e,_0xe06599={'XeBHi':function(_0x26f7b8,_0x577f0e){return _0x26f7b8(_0x577f0e);}};return _0xe06599['XeBHi'](detectDriverType,_0x433616)[_0xf1d369(0x142)];},exports[a106_0x1f263e(0x131)]=_0x381c5c=>{const _0x31411e=a106_0x1f263e,_0x1196f3={'pIZnd':function(_0x3bb735,_0x7b65a0){return _0x3bb735(_0x7b65a0);},'APYiE':function(_0x51b0ba,_0xfe32c8){return _0x51b0ba===_0xfe32c8;},'mGPPp':'selenium-webdriver'},{isPlaywright:_0x3ac12b,type:_0x51ad55}=_0x1196f3[_0x31411e(0x18e)](detectDriverType,_0x381c5c);return!_0x3ac12b&&_0x1196f3[_0x31411e(0x1a9)](_0x51ad55,_0x1196f3[_0x31411e(0x1cc)]);},exports[a106_0x1f263e(0x1cb)]=async(_0x477532,_0x1b481e=null)=>{const _0x2f508c=a106_0x1f263e,_0x3045ff={'rmDAi':function(_0x461b44,_0x13772e){return _0x461b44(_0x13772e);},'TKzna':function(_0x148184,_0x370ca9){return _0x148184===_0x370ca9;},'bTpqA':_0x2f508c(0x174)},{isPlaywright:_0x5c0930,type:_0x1854fb}=_0x3045ff[_0x2f508c(0x158)](detectDriverType,_0x477532);if(!_0x5c0930)return logger['debug'](_0x2f508c(0x15f)+_0x1854fb+'\x20-\x20not\x20applicable'),!![];const _0x2c27a1=_0x1b481e||RETRY_CONFIG['defaultTimeoutMs'];try{return _0x477532&&_0x3045ff[_0x2f508c(0x1a5)](typeof _0x477532['setDefaultTimeout'],_0x3045ff[_0x2f508c(0x157)])&&(await _0x477532[_0x2f508c(0x12a)](_0x2c27a1),logger[_0x2f508c(0x1e8)](_0x2f508c(0x149)+_0x2c27a1+'ms')),!![];}catch(_0x2008dc){return logger[_0x2f508c(0x141)](_0x2f508c(0x185)+_0x2008dc[_0x2f508c(0x1b2)]),![];}},exports[a106_0x1f263e(0x156)]=async(_0x1cd45d,_0x5a6b82=null)=>{const _0x1b83ca=a106_0x1f263e,_0x5f5cfb={};_0x5f5cfb[_0x1b83ca(0x1b6)]=_0x1b83ca(0x1de),_0x5f5cfb[_0x1b83ca(0x181)]=function(_0x59ab1d,_0x22cb39){return _0x59ab1d===_0x22cb39;},_0x5f5cfb[_0x1b83ca(0x1df)]=_0x1b83ca(0x174),_0x5f5cfb[_0x1b83ca(0x1d6)]=_0x1b83ca(0x1da),_0x5f5cfb[_0x1b83ca(0x16b)]='Selenium\x20WebDriver\x20manage()\x20method\x20not\x20available,\x20skipping\x20timeout\x20setting';const _0x213a9c=_0x5f5cfb;if(!exports[_0x1b83ca(0x131)](_0x1cd45d))return logger['warn'](_0x213a9c[_0x1b83ca(0x1b6)]),![];const _0x32a02d=_0x5a6b82||RETRY_CONFIG[_0x1b83ca(0x162)];try{if(_0x1cd45d&&_0x213a9c[_0x1b83ca(0x181)](typeof _0x1cd45d['manage'],_0x213a9c['tiLZa'])){const _0x58871e=_0x1cd45d['manage']();if(_0x58871e&&_0x213a9c[_0x1b83ca(0x181)](typeof _0x58871e[_0x1b83ca(0x1d1)],_0x213a9c[_0x1b83ca(0x1df)]))await _0x58871e['timeouts']()[_0x1b83ca(0x191)](_0x32a02d),logger[_0x1b83ca(0x1e8)]('Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20'+_0x32a02d+_0x1b83ca(0x1a0));else{if(_0x58871e&&_0x213a9c[_0x1b83ca(0x181)](typeof _0x58871e[_0x1b83ca(0x1b0)],_0x213a9c[_0x1b83ca(0x1df)])){const _0x5be206={};_0x5be206[_0x1b83ca(0x1ea)]=_0x32a02d,await _0x58871e[_0x1b83ca(0x1b0)](_0x5be206),logger[_0x1b83ca(0x1e8)]('Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20'+_0x32a02d+'ms\x20using\x20setTimeouts\x20API');}else{if(_0x58871e&&_0x213a9c['JJDDo'](typeof _0x58871e[_0x1b83ca(0x191)],_0x213a9c['tiLZa']))await _0x58871e[_0x1b83ca(0x191)](_0x32a02d),logger[_0x1b83ca(0x1e8)]('Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20'+_0x32a02d+_0x1b83ca(0x12f));else return logger[_0x1b83ca(0x1e8)](_0x213a9c['USIgx']),!![];}}}else return logger[_0x1b83ca(0x1e8)](_0x213a9c[_0x1b83ca(0x16b)]),!![];return!![];}catch(_0x47301e){return logger[_0x1b83ca(0x141)](_0x1b83ca(0x183)+_0x47301e[_0x1b83ca(0x1b2)]),![];}},exports[a106_0x1f263e(0x195)]=async(_0x2107bd,_0x55fac2)=>{const _0x42c67f=a106_0x1f263e,_0x36a1e2={'afFrP':function(_0x1ad697,_0x51ac9d){return _0x1ad697(_0x51ac9d);},'WruWa':_0x42c67f(0x199),'GjVqm':function(_0x527c68,_0x1b7421){return _0x527c68<=_0x1b7421;},'rYUdm':function(_0x55797d,_0x30fad3){return _0x55797d+_0x30fad3;},'IHgNr':function(_0x17e4a0,_0x5c7ae7){return _0x17e4a0+_0x5c7ae7;},'hpjWQ':function(_0x3bdee0,_0x333733){return _0x3bdee0&&_0x333733;},'rCqqM':function(_0x2c3f7a,_0x19e77d,_0x1d139c){return _0x2c3f7a(_0x19e77d,_0x1d139c);},'NCcwi':_0x42c67f(0x19f),'ThEEe':'Unknown\x20error'},{isPlaywright:_0x26c56d,type:_0x4c2dd1}=_0x36a1e2[_0x42c67f(0x16d)](detectDriverType,_0x2107bd),_0x5765da=_0x26c56d?global[_0x42c67f(0x15c)]:accessibilityHelper[_0x42c67f(0x19a)]()&&globals[_0x42c67f(0x123)](_0x36a1e2[_0x42c67f(0x1c2)]);if(!_0x5765da)return logger[_0x42c67f(0x141)](_0x42c67f(0x138)+_0x4c2dd1+_0x42c67f(0x1aa)),![];let _0x213955=null;for(let _0x13db3c=0x1;_0x36a1e2['GjVqm'](_0x13db3c,_0x36a1e2[_0x42c67f(0x1e2)](RETRY_CONFIG[_0x42c67f(0x1e1)],0x1));_0x13db3c++){try{logger[_0x42c67f(0x1e8)](_0x42c67f(0x16c)+_0x13db3c+'/'+_0x36a1e2[_0x42c67f(0x1eb)](RETRY_CONFIG[_0x42c67f(0x1e1)],0x1)+'\x20('+_0x4c2dd1+')');if(_0x36a1e2[_0x42c67f(0x1b9)](_0x26c56d,playwrightA11yHelper)){_0x36a1e2[_0x42c67f(0x1ad)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x42c67f(0x1cb)](_0x2107bd,RETRY_CONFIG[_0x42c67f(0x133)]);const _0x35d484={};_0x35d484[_0x42c67f(0x12b)]=!![];const _0x1aa9a2=global[_0x42c67f(0x19f)]?Object[_0x42c67f(0x144)]({},_0x55fac2,_0x35d484):_0x55fac2;await _0x36a1e2[_0x42c67f(0x1ad)](withTimeout,playwrightA11yHelper['browserStackEvaluate'](_0x2107bd,scripts[_0x42c67f(0x1b4)],_0x1aa9a2),RETRY_CONFIG[_0x42c67f(0x133)]),await exports[_0x42c67f(0x1cb)](_0x2107bd,RETRY_CONFIG[_0x42c67f(0x162)]);}else{await exports[_0x42c67f(0x156)](_0x2107bd,RETRY_CONFIG[_0x42c67f(0x133)]);const _0x39bd00={};_0x39bd00[_0x42c67f(0x12b)]=!![];const _0x2f1991=globals[_0x42c67f(0x123)](_0x36a1e2[_0x42c67f(0x140)])?Object[_0x42c67f(0x144)]({},_0x55fac2,_0x39bd00):_0x55fac2;await _0x36a1e2['rCqqM'](withTimeout,_0x2107bd[_0x42c67f(0x16f)](scripts[_0x42c67f(0x1b4)],_0x2f1991),RETRY_CONFIG[_0x42c67f(0x133)]),await exports[_0x42c67f(0x156)](_0x2107bd,RETRY_CONFIG[_0x42c67f(0x162)]);}return logger[_0x42c67f(0x13e)](_0x42c67f(0x197)+_0x13db3c+'\x20('+_0x4c2dd1+')'),!![];}catch(_0x19bf15){_0x213955=_0x19bf15,logger[_0x42c67f(0x141)]('Accessibility\x20results\x20save\x20attempt\x20'+_0x13db3c+_0x42c67f(0x1e4)+_0x4c2dd1+').\x20Error:\x20'+_0x19bf15['message']);}}return logger[_0x42c67f(0x146)](_0x42c67f(0x124)+_0x4c2dd1+').\x20Last\x20error:\x20'+(_0x213955?.[_0x42c67f(0x1b2)]||_0x36a1e2[_0x42c67f(0x176)])),![];};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a107_0x43041e=a107_0x405a;function a107_0xb66b(){var _0x1d0076=['30XatYWA','https://accessibility.browserstack.com/api','342509WXwlek','141','30399cRwYOm','API_URL','display_name','chromium','min_version_non_browserstack','min_version_browserstack','1393144NajTKK','Chrome','10brTorZ','Safari','1744443vBkTlG','requires_chrome_options_check','179106twsPVw','playwright-chromium','5387492wfEDVV','14BTaXyQ','safari','2WWLyAj','chromefortesting','MINIMUM_SAFARI_VERSION','ACCESSIBILITY_SUPPORTED_BROWSERS','1237788mYNfNA'];a107_0xb66b=function(){return _0x1d0076;};return a107_0xb66b();}(function(_0x5553a3,_0x22e771){var _0x37dc5f=a107_0x405a,_0x9f4800=_0x5553a3();while(!![]){try{var _0x52dc48=-parseInt(_0x37dc5f(0x193))/0x1+parseInt(_0x37dc5f(0x18c))/0x2*(parseInt(_0x37dc5f(0x195))/0x3)+-parseInt(_0x37dc5f(0x190))/0x4+-parseInt(_0x37dc5f(0x191))/0x5*(-parseInt(_0x37dc5f(0x1a1))/0x6)+-parseInt(_0x37dc5f(0x1a4))/0x7*(-parseInt(_0x37dc5f(0x19b))/0x8)+-parseInt(_0x37dc5f(0x19f))/0x9*(parseInt(_0x37dc5f(0x19d))/0xa)+parseInt(_0x37dc5f(0x1a3))/0xb;if(_0x52dc48===_0x22e771)break;else _0x9f4800['push'](_0x9f4800['shift']());}catch(_0x9e6c19){_0x9f4800['push'](_0x9f4800['shift']());}}}(a107_0xb66b,0x2c50a),exports[a107_0x43041e(0x196)]=a107_0x43041e(0x192),exports['MINIMUM_BROWSER_VERSION_ACCESSIBILITY']='94',exports['MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY']='100',exports['MINIMUM_CHROMEFORTESTING_VERSION']=a107_0x43041e(0x194),exports[a107_0x43041e(0x18e)]='18.4');function a107_0x405a(_0x189d33,_0x4d2a93){var _0xb66b27=a107_0xb66b();return a107_0x405a=function(_0x405aa9,_0xb2c914){_0x405aa9=_0x405aa9-0x18b;var _0x3a7bb4=_0xb66b27[_0x405aa9];return _0x3a7bb4;},a107_0x405a(_0x189d33,_0x4d2a93);}var a107_0x2974f3={};a107_0x2974f3[a107_0x43041e(0x197)]='Chrome',a107_0x2974f3['min_version_browserstack']=0x5e,a107_0x2974f3[a107_0x43041e(0x199)]=0x64,a107_0x2974f3[a107_0x43041e(0x1a0)]=!![];var a107_0x360783={};a107_0x360783[a107_0x43041e(0x197)]=a107_0x43041e(0x19c),a107_0x360783[a107_0x43041e(0x19a)]=0x5e,a107_0x360783['min_version_non_browserstack']=0x64,a107_0x360783[a107_0x43041e(0x1a0)]=!![];var a107_0x2fa802={};a107_0x2fa802['display_name']=a107_0x43041e(0x19c),a107_0x2fa802[a107_0x43041e(0x19a)]=0x5e,a107_0x2fa802[a107_0x43041e(0x199)]=0x64,a107_0x2fa802[a107_0x43041e(0x1a0)]=!![];var a107_0x31f989={};a107_0x31f989[a107_0x43041e(0x197)]='ChromeForTesting',a107_0x31f989[a107_0x43041e(0x19a)]=0x8d,a107_0x31f989['min_version_non_browserstack']=0x8d,a107_0x31f989[a107_0x43041e(0x1a0)]=!![];var a107_0x1f829a={};a107_0x1f829a[a107_0x43041e(0x197)]=a107_0x43041e(0x19e),a107_0x1f829a[a107_0x43041e(0x19a)]=18.4,a107_0x1f829a[a107_0x43041e(0x199)]=18.4,a107_0x1f829a[a107_0x43041e(0x1a0)]=![];var a107_0x2c8cea={};a107_0x2c8cea['chrome']=a107_0x2974f3,a107_0x2c8cea[a107_0x43041e(0x198)]=a107_0x360783,a107_0x2c8cea[a107_0x43041e(0x1a2)]=a107_0x2fa802,a107_0x2c8cea[a107_0x43041e(0x18d)]=a107_0x31f989,a107_0x2c8cea[a107_0x43041e(0x18b)]=a107_0x1f829a,exports[a107_0x43041e(0x18f)]=a107_0x2c8cea;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a108_0x5c1bf7=a108_0x24ae;(function(_0x5cb8ff,_0x1bd984){const _0x1fd300=a108_0x24ae,_0x5cccfa=_0x5cb8ff();while(!![]){try{const _0x10cdc0=parseInt(_0x1fd300(0x17d))/0x1+-parseInt(_0x1fd300(0x157))/0x2+-parseInt(_0x1fd300(0x16c))/0x3+-parseInt(_0x1fd300(0x11b))/0x4+parseInt(_0x1fd300(0x149))/0x5*(-parseInt(_0x1fd300(0x121))/0x6)+-parseInt(_0x1fd300(0x82))/0x7+parseInt(_0x1fd300(0x118))/0x8;if(_0x10cdc0===_0x1bd984)break;else _0x5cccfa['push'](_0x5cccfa['shift']());}catch(_0x4003ca){_0x5cccfa['push'](_0x5cccfa['shift']());}}}(a108_0x1fd4,0xe233f));function a108_0x1fd4(){const _0x1ec343=['BROWSERSTACK_TEST_ACCESSIBILITY_YML','RnkvF','mMMXw','global.__workerDetails\x20exists\x20but\x20.currentTest\x20is\x20undefined\x20—\x20scan\x20fired\x20outside\x20a\x20test\x20body\x20(before/beforeAll\x20hook,\x20or\x20between\x20tests).','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.','[Accessibility]\x20Mobile\x20scan\x20requested\x20but\x20thTestRunUuid\x20not\x20resolvable:\x20','FbMRc','getHostInfo','isAccessibilityPlatform','Bearer\x20','getAccessibilityResultsSummary:\x20Mobile\x20session\x20detected,\x20args:\x20','isBrowserSupportedForAccessibility','path','status','true','../globals','error','BwhZt','Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20','gVanV','GET_RESULTS_SUMMARY','eDjcN','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20','selenium-webdriver/chrome.js','buildName','compareVersions','getCiInfo','display_name','getAccessibilityResults','response','chromeOptions_','data','WNCVi','chrome','qgoor','patbG','performScan','browserName','getBrowserDisplayName','bstackA11yScanOptions','__workerDetails','toISOString','./scripts','startsWith','fetchPlatformDetails','requiresChromeOptionsValidation','test_runs/stop','cyaPQ','requireModule','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','toString','BS_A11Y_JWT','shouldScanTestForAccessibility','ISxZV','min_version_browserstack','nodeRequest','statusText','--headless','dPxue','stopAccessibilityTestRun','resolveMobileThTestRunUuid','Performing\x20scan\x20before\x20getting\x20results','WmMFa','warn','toLowerCase','../logger','join','browserstack','createAccessibilityTestRun','tmLBN','RpTgf','v2/test_runs','getTestFrameworkDetails','rwoVZ','--headless=','getUserName','Error\x20while\x20adding\x20Non-Bstack\x20capabilities:\x20','thTestRunUuid','kIAPK','rqRDM','vkCTW','cRQDF','ougdI','egLuI','android','bstack:options','bFQKY','stringify','message','a11y:start','VqTxP','nonBstackPlatformValidation','getAccessibilityResultsSummary','getAccessKey','parseFromJson','OziXN','global.__workerDetails.currentTest\x20exists\x20with\x20keys\x20[','parse','28778520kUFxsh','includeTagsInTestingScope','getBrowserA11yConfig','183316aveOHr','OdayH','Mobile\x20Accessibility\x20Automation\x20is\x20not\x20enabled\x20for\x20your\x20account.\x20Accessibility\x20scans\x20will\x20be\x20skipped\x20on\x20mobile\x20sessions.\x20Contact\x20BrowserStack\x20to\x20enable\x20mobile\x20accessibility\x20scanning.','Options','PERFORM_SCAN','getPlatform','1320YgZkXu','eJTGb','WCIqY','assign','ZxuMR','executeScript','isUndefined','NHDSG','winstonLogger','bstackA11yShouldScan','accessibilityToken','isBrowserstackInfra','excludeTagsInTestingScope','includes','length','wait','IHLFj','hgMWc','nestedKeyValue','accessibility','Performed\x20scan\x20with\x20result:\x20','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20','zgyfN','cMYLl','GURXb','iqVGT','__cloud_provider___','AjchP','browserstackSessionName','platforms','TMQzK','Mobile\x20Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser.','UwPGW','DZuiU','parseA11yJwtPayload','dtwMy','uPhZd','from','VrUMW','16015RFnEdZ','false','IYBkg','csQxs','resolve','Error\x20checking\x20mobile\x20accessibility\x20session:\x20','BRRnf','capabilities_','get','script','function','getGlobal','goog:chromeOptions','method','3086008xCBHQo','No\x20accessibility\x20results\x20were\x20found.','isTrue','checkAccessibilityPlatformConfig','QYsIa','Error\x20checking\x20if\x20mobile\x20accessibility\x20platform:\x20','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','keys','some','Session\x20is\x20identified\x20as\x20mobile\x20accessibility\x20platform\x20(Android\x20+\x20Chrome)','application/json','json','getMobileA11yCapabilities','env','jAdnJ','GlGxH','Performing\x20scan\x20before\x20getting\x20results\x20summary','mqqnD','nKBpg','isMobileAccessibilityPlatform','FAhXx','3845796KAvnPo','executeAsyncScript','No\x20accessibility\x20summary\x20was\x20found.','.\x20The\x20framework\x20setup\x20hook\x20is\x20not\x20writing\x20thTestRunUuid\x20onto\x20currentTest.','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','LneLj','body','SDbKN','../helper','LQBpl','DGjjt','lSKmr','Build\x20creation\x20had\x20failed.','sLDTg','Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20','toJson','WnRnO','1377335clKnhO','--headless=new','EWqYA','yfDAf','getBrowserName','dGBtR','MOBILE_SCANNING_DISABLED_WARNING','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','stSnY','yHMKD','getPackageVersion','Content-Type','return\x20document.readyState\x20===\x20\x22complete\x22','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','odLpO','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token','util','qkJvQ','../performance/performance-tester','Invalid\x20request:\x20','getMinVersionForBrowser','dUemI','browserVersion','isArray','isMobileAccessibilitySession','stack','measureWrapper','isBrowserStackCommandExecutor','getBrowserVersion','3308886TKVPlq','urKmR','cwd','buildDescription','GwgnS','qJyqG','is_mobile_session','../performance/constants','iHnhH','requires_chrome_options_check','Authorization','format','options_','ZCsao','debug','chromeOptions','getResults','gWntx','WVMAT','zxXhO','auth','./constants','YFMyk','OndrQ','ySCaO','min_version_non_browserstack','scannerVersion','IMhnv','javascript','isAccessibilityAutomationSession','UJYsA','getCapabilities','MpElR','bNhBL','projectName','jkeQh','UhNOf','Zbhtp','getAccessibilityResults:\x20Mobile\x20session\x20detected,\x20args:\x20','ghWew','TXFFm','a11y:stop','getResultsSummary','xmlMy','Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20','info','string','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','device','headers','getPlatformVersion','GET_RESULTS'];a108_0x1fd4=function(){return _0x1ec343;};return a108_0x1fd4();}function a108_0x24ae(_0x4fba29,_0x4e88ef){const _0x1fd41a=a108_0x1fd4();return a108_0x24ae=function(_0x24aee8,_0x499ada){_0x24aee8=_0x24aee8-0x82;let _0x278c3b=_0x1fd41a[_0x24aee8];return _0x278c3b;},a108_0x24ae(_0x4fba29,_0x4e88ef);}const path=require(a108_0x5c1bf7(0xc2)),util=require(a108_0x5c1bf7(0x18d)),bsSetupHelper=require(a108_0x5c1bf7(0x174)),logger=require(a108_0x5c1bf7(0xf7))[a108_0x5c1bf7(0x129)],{API_URL,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY,ACCESSIBILITY_SUPPORTED_BROWSERS}=require(a108_0x5c1bf7(0x97)),PerformanceTester=require(a108_0x5c1bf7(0x18f)),scripts=require(a108_0x5c1bf7(0xe0)),globals=require(a108_0x5c1bf7(0xc5)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a108_0x5c1bf7(0x89));exports[a108_0x5c1bf7(0xe2)]=async _0x4a5d75=>{const _0x10f163=a108_0x5c1bf7,_0x21d05b={};_0x21d05b[_0x10f163(0x8a)]=function(_0x137e41,_0x37ecdb){return _0x137e41===_0x37ecdb;},_0x21d05b[_0x10f163(0xeb)]=_0x10f163(0xf9);const _0x23c5fe=_0x21d05b;let _0x54073e={};try{const _0x8afe5a=await _0x4a5d75[_0x10f163(0xa1)]();_0x54073e={'os_name':_0x8afe5a[_0x10f163(0x120)](),'os_version':bsSetupHelper[_0x10f163(0xb4)](_0x23c5fe[_0x10f163(0x8a)](global[_0x10f163(0x13c)],_0x23c5fe[_0x10f163(0xeb)])),'browser_name':_0x8afe5a[_0x10f163(0x181)](),'browser_version':_0x8afe5a[_0x10f163(0x199)]()};}catch(_0x3b3ce6){logger[_0x10f163(0x90)](_0x10f163(0xb1)+_0x3b3ce6);}return _0x54073e;},exports['isAccessibilityAutomationSession']=()=>{const _0x569e77=a108_0x5c1bf7,_0x2e5982={};_0x2e5982[_0x569e77(0xb8)]=function(_0x350804,_0x4dc9b1){return _0x350804===_0x4dc9b1;},_0x2e5982['kIAPK']='string',_0x2e5982[_0x569e77(0x110)]=function(_0x3b76e4,_0xea3d1a){return _0x3b76e4>_0xea3d1a;},_0x2e5982['iqVGT']=function(_0x421869,_0x106186){return _0x421869!==_0x106186;},_0x2e5982[_0x569e77(0x93)]='null',_0x2e5982['qgoor']=function(_0x581def,_0x507e7a){return _0x581def&&_0x507e7a;};const _0x23bbd6=_0x2e5982;try{const _0x2c31fe=bsSetupHelper['isTrue'](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML'])||bsSetupHelper[_0x569e77(0x159)](process['env'][_0x569e77(0x18a)]),_0x37141c=_0x23bbd6[_0x569e77(0xb8)](typeof process[_0x569e77(0x164)][_0x569e77(0xe9)],_0x23bbd6[_0x569e77(0x104)])&&_0x23bbd6['VqTxP'](process['env'][_0x569e77(0xe9)]['length'],0x0)&&_0x23bbd6[_0x569e77(0x13b)](process[_0x569e77(0x164)][_0x569e77(0xe9)],_0x23bbd6[_0x569e77(0x93)]);return _0x23bbd6[_0x569e77(0xd8)](_0x2c31fe,_0x37141c);}catch(_0x4bfd6e){logger[_0x569e77(0x90)](_0x569e77(0xc8)+_0x4bfd6e);}return![];},exports[a108_0x5c1bf7(0x111)]=(_0x4cd4a4,_0x3dd950)=>{const _0x283b5d=a108_0x5c1bf7,_0x2c9121={'dtwMy':_0x283b5d(0xdb),'odLpO':function(_0x4e4369,_0x48572c){return _0x4e4369(_0x48572c);},'AjchP':_0x283b5d(0x193),'dPxue':'version','bFQKY':_0x283b5d(0x10b),'dGBtR':function(_0x3ea85e,_0x3b4617){return _0x3ea85e(_0x3b4617);},'urKmR':'deviceName','TMQzK':_0x283b5d(0xb2),'QKjiL':_0x283b5d(0x184),'QYsIa':_0x283b5d(0xcd),'eJTGb':'selenium-webdriver','ghWew':_0x283b5d(0x8e),'DGjjt':'args','EvgeU':_0x283b5d(0x91),'xmlMy':_0x283b5d(0xe7),'yrzYa':_0x283b5d(0x155),'XioAl':function(_0x570fa4,_0x3ee250){return _0x570fa4===_0x3ee250;},'WnRnO':_0x283b5d(0xd7),'bNhBL':function(_0x5bb885,_0x56ad25){return _0x5bb885>=_0x56ad25;}},_0x2739c4=_0x4cd4a4['get'](_0x2c9121[_0x283b5d(0x145)]),_0x3a4aeb=_0x2c9121[_0x283b5d(0x18b)](parseFloat,_0x4cd4a4['get'](_0x2c9121[_0x283b5d(0x13d)]))||_0x2c9121[_0x283b5d(0x18b)](parseFloat,_0x4cd4a4[_0x283b5d(0x151)](_0x2c9121[_0x283b5d(0xf0)])),_0x49a606=_0x4cd4a4['get'](_0x2c9121[_0x283b5d(0x10c)])||{},_0x37bf28=_0x2c9121[_0x283b5d(0x182)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY),_0x49530b=_0x49a606[_0x2c9121[_0x283b5d(0x83)]]||_0x4cd4a4[_0x283b5d(0x151)](_0x2c9121[_0x283b5d(0x140)])||![];if(_0x49530b)return logger[_0x283b5d(0xf5)](_0x2c9121['QKjiL']),![];let _0x5c2917;try{_0x5c2917=bsSetupHelper[_0x283b5d(0xe6)](_0x2c9121[_0x283b5d(0x15b)],_0x2c9121[_0x283b5d(0x122)]);}catch(_0x3bc450){return![];}const _0x6befd4=new _0x5c2917[(_0x283b5d(0x11e))](_0x3dd950[_0x283b5d(0xd4)]),_0x403224=bsSetupHelper[_0x283b5d(0x133)](_0x6befd4,[_0x2c9121[_0x283b5d(0xa9)],_0x2c9121['DGjjt']])||bsSetupHelper[_0x283b5d(0x133)](_0x3dd950[_0x283b5d(0x150)],[_0x2c9121[_0x283b5d(0x10c)],_0x2c9121['EvgeU'],_0x2c9121[_0x283b5d(0x176)]])||bsSetupHelper[_0x283b5d(0x133)](_0x3dd950[_0x283b5d(0x150)],[_0x2c9121['EvgeU'],_0x2c9121[_0x283b5d(0x176)]])||[],_0x219646=Array['isArray'](_0x403224)?_0x403224:[];if(_0x219646[_0x283b5d(0x15f)](_0x5325bb=>typeof _0x5325bb==='string'&&(_0x5325bb===_0x283b5d(0xef)||_0x5325bb[_0x283b5d(0xe1)]('--headless=')&&_0x5325bb!=='--headless=new')))return logger[_0x283b5d(0xf5)](_0x2c9121[_0x283b5d(0xad)]),![];const _0x1f75e1=_0x3dd950[_0x283b5d(0x150)]||{},_0x146b3e=bsSetupHelper[_0x283b5d(0x133)](_0x1f75e1,[_0x2c9121['yrzYa']])||{},_0xbed273=bsSetupHelper[_0x283b5d(0x133)](_0x146b3e,[_0x2c9121[_0x283b5d(0x176)]])||[],_0x24f2ac=Array[_0x283b5d(0x194)](_0xbed273)?_0xbed273:[];if(_0x24f2ac['some'](_0x3ecb5d=>typeof _0x3ecb5d===_0x283b5d(0xb0)&&(_0x3ecb5d===_0x283b5d(0xef)||_0x3ecb5d[_0x283b5d(0xe1)](_0x283b5d(0x100))&&_0x3ecb5d!==_0x283b5d(0x17e))))return logger[_0x283b5d(0xf5)](_0x2c9121[_0x283b5d(0xad)]),![];if(_0x2c9121['XioAl'](_0x2739c4[_0x283b5d(0xf6)](),_0x2c9121[_0x283b5d(0x17c)])&&_0x2c9121[_0x283b5d(0xa3)](_0x3a4aeb,_0x37bf28))return!![];return logger[_0x283b5d(0xf5)](_0x283b5d(0x137)+MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY+'.'),![];},exports['setNonBstackInfraCapabilities']=_0x5d2d7c=>{const _0x39896c=a108_0x5c1bf7,_0x4782b7={};_0x4782b7[_0x39896c(0x98)]=_0x39896c(0x155),_0x4782b7[_0x39896c(0x8f)]=function(_0x1ab3c8,_0x32adc7){return _0x1ab3c8||_0x32adc7;},_0x4782b7['VofAI']='Not\x20a\x20Accessibility\x20Session';const _0x578059=_0x4782b7,_0x4b8ef2=scripts['ChromeExtension'];try{const _0x5d418d=bsSetupHelper[_0x39896c(0x159)](process[_0x39896c(0x164)][_0x39896c(0xb6)])||bsSetupHelper[_0x39896c(0x159)](process[_0x39896c(0x164)][_0x39896c(0x18a)]);if((!bsSetupHelper[_0x39896c(0x12c)]()||process[_0x39896c(0x164)]['BROWSERSTACK_TURBOSCALE'])&&_0x5d418d){const _0x29eddc=_0x5d2d7c['getCapabilities'](),_0x57c199=_0x29eddc[_0x39896c(0x151)](_0x578059[_0x39896c(0x98)]),_0x4b213d=_0x578059[_0x39896c(0x8f)](_0x57c199,{});bsSetupHelper['mergeDeep'](_0x4b213d,_0x4b8ef2),_0x5d2d7c[_0x39896c(0xa1)]()['set'](_0x578059[_0x39896c(0x98)],_0x4b213d);}else logger[_0x39896c(0xf5)](_0x578059['VofAI']);}catch(_0x23cbdd){logger[_0x39896c(0xc6)](_0x39896c(0x102)+_0x23cbdd);}},exports[a108_0x5c1bf7(0xea)]=(_0x10b152=null,_0xa58124=!![],_0x13d420=[])=>{const _0x2a8d1e=a108_0x5c1bf7,_0x36d3d1={};_0x36d3d1[_0x2a8d1e(0x132)]=function(_0x4db070,_0x4dc165){return _0x4db070==_0x4dc165;},_0x36d3d1[_0x2a8d1e(0x138)]=function(_0x4b3589,_0x649192){return _0x4b3589>_0x649192;},_0x36d3d1[_0x2a8d1e(0x143)]=function(_0x2677df,_0x1d5a5e){return _0x2677df===_0x1d5a5e;},_0x36d3d1['dUemI']=function(_0x5843fa,_0x1106a0){return _0x5843fa&&_0x1106a0;};const _0x29e18a=_0x36d3d1;if(_0x29e18a['hgMWc'](process[_0x2a8d1e(0x164)][_0x2a8d1e(0x15d)],null))return!![];try{const _0xe3fccf=JSON[_0x2a8d1e(0x117)](process[_0x2a8d1e(0x164)][_0x2a8d1e(0x15d)]),_0x3ac775=Array[_0x2a8d1e(0x194)](_0xe3fccf[_0x2a8d1e(0x119)])?_0xe3fccf[_0x2a8d1e(0x119)]:[],_0x14a9ad=Array['isArray'](_0xe3fccf['excludeTagsInTestingScope'])?_0xe3fccf[_0x2a8d1e(0x12d)]:[],_0x16797a=_0x592718=>typeof _0x592718===_0x2a8d1e(0xb0)?_0x592718['replace'](/^@/,'')[_0x2a8d1e(0xf6)]()['trim']():_0x592718;if(bsSetupHelper[_0x2a8d1e(0x127)](_0x10b152)){if(_0x29e18a[_0x2a8d1e(0x138)](_0x13d420['length'],0x0)){const _0x415444=_0x13d420['map'](_0x16797a),_0x57dcff=_0x14a9ad[_0x2a8d1e(0x15f)](_0x3a621f=>_0x415444[_0x2a8d1e(0x12e)](_0x16797a(_0x3a621f))),_0x2397e7=_0x29e18a[_0x2a8d1e(0x143)](_0x3ac775['length'],0x0)||_0x3ac775['some'](_0x2fb91d=>_0x415444[_0x2a8d1e(0x12e)](_0x16797a(_0x2fb91d)));return _0x29e18a[_0x2a8d1e(0x192)](!_0x57dcff,_0x2397e7);}return!![];}let _0x4a1a95;_0xa58124?_0x4a1a95=_0x10b152[_0x2a8d1e(0xf8)]('/'):_0x4a1a95=_0x10b152;const _0x2f40c6=_0x14a9ad[_0x2a8d1e(0x15f)](_0x221c1c=>_0x4a1a95[_0x2a8d1e(0xf6)]()[_0x2a8d1e(0x12e)](_0x16797a(_0x221c1c)[_0x2a8d1e(0xf6)]())),_0x29787d=_0x29e18a[_0x2a8d1e(0x143)](_0x3ac775[_0x2a8d1e(0x12f)],0x0)||_0x3ac775[_0x2a8d1e(0x15f)](_0x4a261e=>_0x4a1a95[_0x2a8d1e(0xf6)]()[_0x2a8d1e(0x12e)](_0x16797a(_0x4a261e)[_0x2a8d1e(0xf6)]()));return _0x29e18a[_0x2a8d1e(0x192)](!_0x2f40c6,_0x29787d);}catch(_0x549232){logger[_0x2a8d1e(0x90)](_0x2a8d1e(0xae)+util['format'](_0x549232));}return![];},exports[a108_0x5c1bf7(0x15a)]=_0x40e781=>{const _0x51c597=a108_0x5c1bf7;let _0x2af0a0=![];try{_0x40e781[_0x51c597(0x13f)]['forEach'](_0x373c24=>{const _0x3041e0=_0x51c597;if(bsSetupHelper[_0x3041e0(0x159)](_0x373c24['accessibility']))return _0x2af0a0=!![],!![];});}catch(_0x3d43cb){logger['debug']('Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20'+_0x3d43cb);}return _0x2af0a0||bsSetupHelper[_0x51c597(0x159)](_0x40e781[_0x51c597(0x134)]);},exports[a108_0x5c1bf7(0xfa)]=PerformanceTester['measureWrapper'](a108_0x5c1bf7(0x10f),async function(_0x17734b,_0x2cd2b4){const _0x559889=a108_0x5c1bf7,_0x4260f4={};_0x4260f4[_0x559889(0xa5)]=_0x559889(0x18c),_0x4260f4['sLDTg']='playwright',_0x4260f4[_0x559889(0xaa)]=_0x559889(0x9e),_0x4260f4[_0x559889(0x142)]=_0x559889(0x161),_0x4260f4[_0x559889(0x180)]='POST',_0x4260f4['OndrQ']=_0x559889(0xfd),_0x4260f4[_0x559889(0x14c)]=function(_0x527e2c,_0xc1fea1){return _0x527e2c===_0xc1fea1;},_0x4260f4[_0x559889(0x169)]='Invalid\x20configuration\x20passed.',_0x4260f4[_0x559889(0xd9)]=_0x559889(0x14a);const _0x3f0439=_0x4260f4,_0x131a78=bsSetupHelper[_0x559889(0x101)](_0x17734b),_0x13e93c=bsSetupHelper[_0x559889(0x113)](_0x17734b);if(bsSetupHelper[_0x559889(0x127)](_0x131a78)||bsSetupHelper[_0x559889(0x127)](_0x13e93c))return logger[_0x559889(0xc6)](_0x3f0439[_0x559889(0xa5)]),[null,null];try{let _0x2c2a10;bsSetupHelper[_0x559889(0x127)](process[_0x559889(0x164)][_0x559889(0x15d)])?_0x2c2a10={}:_0x2c2a10=JSON[_0x559889(0x117)](process[_0x559889(0x164)][_0x559889(0x15d)]);const {name:_0xb70e9e,version:_0x17619e}=bsSetupHelper[_0x559889(0xfe)](_0x17734b,_0x2cd2b4),_0x50fd0b={'projectName':_0x17734b[_0x559889(0xa4)],'buildName':_0x17734b[_0x559889(0xce)]||path['basename'](path[_0x559889(0x14d)](process[_0x559889(0x84)]())),'startTime':new Date()[_0x559889(0xdf)](),'description':_0x17734b[_0x559889(0x85)]||'','source':{'frameworkName':_0x2cd2b4['includes'](_0x3f0439[_0x559889(0x179)])?_0x3f0439[_0x559889(0x179)]:_0x2cd2b4,'frameworkVersion':bsSetupHelper[_0x559889(0x187)](_0x2cd2b4),'sdkVersion':bsSetupHelper['getAgentVersion'](),'language':_0x3f0439[_0x559889(0xaa)],'testFramework':_0xb70e9e,'testFrameworkVersion':_0x17619e},'settings':_0x2c2a10,'versionControl':await bsSetupHelper['getGitMetaData'](),'ciInfo':bsSetupHelper[_0x559889(0xd0)](),'hostInfo':bsSetupHelper[_0x559889(0xbd)](),'browserstackAutomation':bsSetupHelper[_0x559889(0x12c)]()},_0x30804f={};_0x30804f['user']=_0x131a78,_0x30804f['pass']=_0x13e93c;const _0x30cd1b={};_0x30cd1b['Content-Type']=_0x3f0439[_0x559889(0x142)];const _0x2ef728={};_0x2ef728[_0x559889(0x96)]=_0x30804f,_0x2ef728[_0x559889(0xb3)]=_0x30cd1b;const _0x386246=_0x2ef728,_0x53162c={};_0x53162c[_0x559889(0x172)]=_0x50fd0b,_0x53162c[_0x559889(0x162)]=!![];const _0x4629b1=Object['assign'](_0x386246,_0x53162c),_0x5b000f=await bsSetupHelper[_0x559889(0xed)](_0x3f0439[_0x559889(0x180)],_0x3f0439[_0x559889(0x99)],_0x4629b1,_0x17734b,API_URL);let _0xcff4d6=process[_0x559889(0x164)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'];return _0xcff4d6?_0xcff4d6=JSON[_0x559889(0x117)](process[_0x559889(0x164)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']):_0xcff4d6={},scripts[_0x559889(0x114)](_0x5b000f[_0x559889(0xd5)]['data']),scripts[_0x559889(0x17b)](),_0xcff4d6[_0x559889(0x9c)]=_0x5b000f[_0x559889(0xd5)][_0x559889(0xd5)][_0x559889(0x9c)],process['env'][_0x559889(0x15d)]=JSON[_0x559889(0x10d)](_0xcff4d6),[_0x5b000f[_0x559889(0xd5)]['data'][_0x559889(0x12b)],_0x5b000f[_0x559889(0xd5)][_0x559889(0xd5)]['id']];}catch(_0x286765){if(_0x286765['response'])logger[_0x559889(0xc6)](_0x559889(0x170)+_0x286765[_0x559889(0xd3)][_0x559889(0xc3)]+'\x20'+_0x286765[_0x559889(0xd3)][_0x559889(0xee)]+'\x20'+JSON[_0x559889(0x10d)](_0x286765['response'][_0x559889(0xd5)]));else{if(_0x3f0439[_0x559889(0x14c)](_0x286765['message'],_0x3f0439[_0x559889(0x169)])){logger[_0x559889(0xc6)](_0x559889(0x170)+(_0x286765[_0x559889(0x10e)]||_0x286765[_0x559889(0x196)]));for(const _0x1cafca of _0x286765['errors']){logger['error'](_0x1cafca[_0x559889(0x10e)]);}process[_0x559889(0x164)][_0x559889(0xb6)]=_0x3f0439['patbG'],process[_0x559889(0x164)][_0x559889(0x18a)]=_0x3f0439[_0x559889(0xd9)];}else logger[_0x559889(0xc6)](_0x559889(0x170)+(_0x286765[_0x559889(0x10e)]||_0x286765[_0x559889(0x196)]));}return[null,null];}}),exports[a108_0x5c1bf7(0xf1)]=PerformanceTester[a108_0x5c1bf7(0x197)](a108_0x5c1bf7(0xab),async function(_0x48c49a){const _0x3891e5=a108_0x5c1bf7,_0x5b94cd={};_0x5b94cd[_0x3891e5(0x185)]=function(_0x5347ea,_0x165308){return _0x5347ea!==_0x165308;},_0x5b94cd[_0x3891e5(0x18e)]=_0x3891e5(0xb0),_0x5b94cd[_0x3891e5(0x168)]=_0x3891e5(0xc6),_0x5b94cd[_0x3891e5(0x87)]=_0x3891e5(0x178),_0x5b94cd[_0x3891e5(0xa7)]=_0x3891e5(0x161),_0x5b94cd[_0x3891e5(0xf4)]='PUT',_0x5b94cd['ougdI']=_0x3891e5(0xe4),_0x5b94cd[_0x3891e5(0x177)]=function(_0x39523c,_0x36bd7e){return _0x39523c+_0x36bd7e;},_0x5b94cd[_0x3891e5(0x17f)]=_0x3891e5(0x190),_0x5b94cd[_0x3891e5(0x95)]='success';const _0x6b368d=_0x5b94cd;if(bsSetupHelper[_0x3891e5(0x127)](process[_0x3891e5(0x164)][_0x3891e5(0xe9)])||_0x6b368d[_0x3891e5(0x185)](typeof process[_0x3891e5(0x164)]['BS_A11Y_JWT'],_0x6b368d['qkJvQ'])){const _0x2d731d={};return _0x2d731d['status']=_0x6b368d[_0x3891e5(0x168)],_0x2d731d['message']=_0x6b368d['qJyqG'],_0x2d731d;}const _0x37fffa={'endTime':new Date()[_0x3891e5(0xdf)]()},_0x5c4574={};_0x5c4574[_0x3891e5(0x8c)]=_0x3891e5(0xbf)+process['env']['BS_A11Y_JWT'],_0x5c4574[_0x3891e5(0x188)]=_0x6b368d['Zbhtp'];const _0x1126a9={};_0x1126a9['headers']=_0x5c4574;const _0x9d5b00=_0x1126a9,_0x2e6b75={};_0x2e6b75[_0x3891e5(0x172)]=_0x37fffa,_0x2e6b75['auth']=null,_0x2e6b75[_0x3891e5(0x162)]=!![];const _0x2a290f=Object['assign'](_0x9d5b00,_0x2e6b75);try{const _0x3d50f9=await bsSetupHelper[_0x3891e5(0xed)](_0x6b368d[_0x3891e5(0xf4)],_0x6b368d[_0x3891e5(0x108)],_0x2a290f,_0x48c49a,API_URL);if(_0x3d50f9[_0x3891e5(0xd5)][_0x3891e5(0xc6)])throw new Error(_0x6b368d[_0x3891e5(0x177)](_0x6b368d['EWqYA'],_0x3d50f9[_0x3891e5(0xd5)][_0x3891e5(0xc6)]));else{logger[_0x3891e5(0xaf)](_0x3891e5(0xcc)+new Date()[_0x3891e5(0xdf)]());const _0x447c1a={};return _0x447c1a[_0x3891e5(0xc3)]=_0x6b368d[_0x3891e5(0x95)],_0x447c1a['message']='',_0x447c1a;}}catch(_0x194b4b){_0x194b4b[_0x3891e5(0xd3)]?logger[_0x3891e5(0xc6)](_0x3891e5(0x17a)+_0x194b4b[_0x3891e5(0xd3)][_0x3891e5(0xc3)]+'\x20'+_0x194b4b[_0x3891e5(0xd3)][_0x3891e5(0xee)]+'\x20'+JSON[_0x3891e5(0x10d)](_0x194b4b['response']['data'])):logger[_0x3891e5(0xc6)](_0x3891e5(0x17a)+(_0x194b4b[_0x3891e5(0x10e)]||util['format'](_0x194b4b)));const _0x22106d={};return _0x22106d['status']=_0x6b368d['mqqnD'],_0x22106d[_0x3891e5(0x10e)]=_0x194b4b[_0x3891e5(0x10e)]||(_0x194b4b[_0x3891e5(0xd3)]?_0x194b4b[_0x3891e5(0xd3)][_0x3891e5(0xc3)]+':'+_0x194b4b[_0x3891e5(0xd3)][_0x3891e5(0xee)]:_0x194b4b),_0x22106d;}}),exports[a108_0x5c1bf7(0xda)]=async(_0x30360b,_0x546129=null,_0x30ec63=![],_0x2fe4b8=null)=>{const _0x586459=a108_0x5c1bf7,_0x39a245={};_0x39a245[_0x586459(0xc7)]=_0x586459(0xbe),_0x39a245[_0x586459(0xd6)]=_0x586459(0x12a),_0x39a245[_0x586459(0x146)]=_0x586459(0xba),_0x39a245[_0x586459(0x86)]=function(_0x5c4b53,_0x34d798){return _0x5c4b53||_0x34d798;},_0x39a245[_0x586459(0x125)]=_0x586459(0xdd),_0x39a245[_0x586459(0x171)]='performScan:\x20Mobile\x20capabilities\x20added\x20to\x20scan\x20arguments';const _0x5600d4=_0x39a245;if(!this[_0x586459(0x9f)]()||!globals['getGlobal'](_0x5600d4['BwhZt'])||!_0x30ec63&&!globals[_0x586459(0x154)](_0x5600d4['WNCVi'])){logger[_0x586459(0xf5)](_0x5600d4['uPhZd']);return;}const _0x467f27=_0x30ec63?_0x5600d4[_0x586459(0x86)](_0x2fe4b8,{}):globals[_0x586459(0x154)](_0x5600d4[_0x586459(0x125)])||{},_0x3d0f0b={};_0x3d0f0b[_0x586459(0x156)]=_0x546129||global[_0x586459(0x13e)];const _0xff5264=Object[_0x586459(0x124)]({},_0x467f27,_0x3d0f0b);await this[_0x586459(0x195)](_0x30360b)&&(Object[_0x586459(0x124)](_0xff5264,this['getMobileA11yCapabilities'](),{'thTestRunUuid':this[_0x586459(0xf2)]()}),logger[_0x586459(0x90)](_0x5600d4['LneLj']));logger[_0x586459(0x90)]('[Accessibility]\x20Selenium\x20performScan\x20payload:\x20'+util[_0x586459(0x8d)]('%j',_0xff5264));const _0x5280a4={};return _0x5280a4['command']=_0x546129,await PerformanceTester[_0x586459(0x197)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x259dd0=_0x586459;try{await _0x30360b[_0x259dd0(0x130)](()=>_0x30360b[_0x259dd0(0x126)](_0x259dd0(0x189)),0x1388);}catch(_0x221d49){}const _0x4ad5d3=util[_0x259dd0(0x8d)](await _0x30360b['executeAsyncScript'](scripts[_0x259dd0(0xda)],_0xff5264));return logger['debug'](_0x259dd0(0x135)+_0x4ad5d3),_0x4ad5d3;},_0x5280a4)();},exports[a108_0x5c1bf7(0xd2)]=async(_0x25c56e,_0x9cc5f9)=>{const _0x580644=a108_0x5c1bf7,_0x38494f={};_0x38494f['ySCaO']=_0x580644(0xf3),_0x38494f[_0x580644(0x115)]=_0x580644(0xbe),_0x38494f[_0x580644(0xc9)]=_0x580644(0x12a),_0x38494f[_0x580644(0x148)]=_0x580644(0x136),_0x38494f[_0x580644(0xe5)]=_0x580644(0xd2),_0x38494f[_0x580644(0x9d)]=_0x580644(0x158);const _0x44845e=_0x38494f;if(!this[_0x580644(0x9f)]()||!globals['getGlobal'](_0x44845e[_0x580644(0x115)])||!globals[_0x580644(0x154)](_0x44845e[_0x580644(0xc9)]))return logger[_0x580644(0xf5)](_0x44845e[_0x580644(0x148)]),[];try{const _0x29ceb1=await this[_0x580644(0x195)](_0x25c56e),_0x375528=_0x29ceb1?Object[_0x580644(0x124)]({},this['getMobileA11yCapabilities'](),{'thTestRunUuid':this[_0x580644(0xf2)]()}):{};return _0x29ceb1&&logger[_0x580644(0x90)](_0x580644(0xa8)+util[_0x580644(0x8d)]('%j',_0x375528)),await PerformanceTester['measureWrapper'](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x539bfd=_0x580644;logger[_0x539bfd(0x90)](_0x44845e[_0x539bfd(0x9a)]);const _0x3b00f9={};_0x3b00f9[_0x539bfd(0x156)]=_0x9cc5f9['browserstackSessionName'];const _0x3b223d=Object['assign'](_0x3b00f9,_0x375528);logger[_0x539bfd(0x90)](util[_0x539bfd(0x8d)](await _0x25c56e[_0x539bfd(0x16d)](scripts[_0x539bfd(0xda)],_0x3b223d)));},{'command':_0x44845e['cyaPQ']})(),await PerformanceTester[_0x580644(0x197)](PerformanceA11yEvents[_0x580644(0xb5)],async()=>{const _0x113b71=_0x580644,_0x463df1=_0x29ceb1?await _0x25c56e['executeAsyncScript'](scripts[_0x113b71(0x92)],_0x375528):await _0x25c56e[_0x113b71(0x16d)](scripts[_0x113b71(0x92)]);return _0x463df1;})();}catch{return logger['error'](_0x44845e[_0x580644(0x9d)]),[];}},exports['getAccessibilityResultsSummary']=async(_0x18bae1,_0x4e7bc0)=>{const _0xa589b4=a108_0x5c1bf7,_0x3d04f1={};_0x3d04f1[_0xa589b4(0xa2)]=_0xa589b4(0x167),_0x3d04f1[_0xa589b4(0x13a)]=_0xa589b4(0xbe),_0x3d04f1[_0xa589b4(0x14f)]=_0xa589b4(0x12a),_0x3d04f1['SQbzk']='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.',_0x3d04f1[_0xa589b4(0x123)]=_0xa589b4(0x112),_0x3d04f1[_0xa589b4(0x175)]=_0xa589b4(0x16e);const _0x4f90b2=_0x3d04f1;if(!this[_0xa589b4(0x9f)]()||!globals[_0xa589b4(0x154)](_0x4f90b2['GURXb'])||!globals['getGlobal'](_0x4f90b2[_0xa589b4(0x14f)]))return logger['warn'](_0x4f90b2['SQbzk']),{};try{const _0x5897f8=await this['isMobileAccessibilitySession'](_0x18bae1),_0x7b3a87=_0x5897f8?Object[_0xa589b4(0x124)]({},this[_0xa589b4(0x163)](),{'thTestRunUuid':this[_0xa589b4(0xf2)]()}):{};return _0x5897f8&&logger[_0xa589b4(0x90)](_0xa589b4(0xc0)+util[_0xa589b4(0x8d)]('%j',_0x7b3a87)),await PerformanceTester[_0xa589b4(0x197)](PerformanceA11yEvents[_0xa589b4(0x11f)],async()=>{const _0x5c0b2f=_0xa589b4;logger[_0x5c0b2f(0x90)](_0x4f90b2[_0x5c0b2f(0xa2)]);const _0x5afc30={};_0x5afc30[_0x5c0b2f(0x156)]=_0x4e7bc0[_0x5c0b2f(0x13e)];const _0x3f453a=Object['assign'](_0x5afc30,_0x7b3a87);logger[_0x5c0b2f(0x90)](util[_0x5c0b2f(0x8d)](await _0x18bae1[_0x5c0b2f(0x16d)](scripts['performScan'],_0x3f453a)));},{'command':_0x4f90b2[_0xa589b4(0x123)]})(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0xa589b4(0xca)],async()=>{const _0x2ccd7a=_0xa589b4,_0x20573a=_0x5897f8?await _0x18bae1[_0x2ccd7a(0x16d)](scripts[_0x2ccd7a(0xac)],_0x7b3a87):await _0x18bae1[_0x2ccd7a(0x16d)](scripts[_0x2ccd7a(0xac)]);return _0x20573a;})();}catch{return logger[_0xa589b4(0xc6)](_0x4f90b2[_0xa589b4(0x175)]),{};}},exports[a108_0x5c1bf7(0x16a)]=(_0x37d4c6,_0x570fc5=![])=>{const _0x4f8dcd=a108_0x5c1bf7,_0x231fbd={'NHDSG':function(_0x52f3e5,_0x455af8){return _0x52f3e5(_0x455af8);},'WVMAT':'platformName','OdayH':function(_0x3b4d98,_0x1dcec3){return _0x3b4d98!==_0x1dcec3;},'FAhXx':_0x4f8dcd(0x10a),'UhNOf':_0x4f8dcd(0xdb),'cMYLl':_0x4f8dcd(0xd7),'SDbKN':_0x4f8dcd(0x141),'YITmM':_0x4f8dcd(0x160)};try{if(!_0x37d4c6)return![];const _0x46fb77=_0x61e337=>typeof _0x37d4c6[_0x4f8dcd(0x151)]===_0x4f8dcd(0x153)?_0x37d4c6[_0x4f8dcd(0x151)](_0x61e337):_0x37d4c6[_0x61e337],_0x310bac=_0x231fbd['NHDSG'](String,_0x231fbd[_0x4f8dcd(0x128)](_0x46fb77,_0x231fbd[_0x4f8dcd(0x94)])||'')['toLowerCase']();if(_0x231fbd[_0x4f8dcd(0x11c)](_0x310bac,_0x231fbd[_0x4f8dcd(0x16b)]))return![];const _0xdb406b=_0x231fbd[_0x4f8dcd(0x128)](String,_0x231fbd[_0x4f8dcd(0x128)](_0x46fb77,_0x231fbd[_0x4f8dcd(0xa6)])||'')['toLowerCase']();if(!_0xdb406b[_0x4f8dcd(0x12e)](_0x231fbd[_0x4f8dcd(0x139)]))return _0x570fc5&&logger[_0x4f8dcd(0xf5)](_0x231fbd[_0x4f8dcd(0x173)]),![];return logger[_0x4f8dcd(0x90)](_0x231fbd['YITmM']),!![];}catch(_0x2cf3ba){return logger['debug'](_0x4f8dcd(0x15c)+_0x2cf3ba),![];}},exports[a108_0x5c1bf7(0x195)]=async _0x345a40=>{const _0x9fc3cb=a108_0x5c1bf7;try{const _0x53d868=await _0x345a40['getCapabilities']();return exports[_0x9fc3cb(0x16a)](_0x53d868);}catch(_0xaf8400){return logger[_0x9fc3cb(0x90)](_0x9fc3cb(0x14e)+_0xaf8400),![];}},exports[a108_0x5c1bf7(0x163)]=()=>{const _0x2029d0=a108_0x5c1bf7,_0xcb8035={};return _0xcb8035[_0x2029d0(0x88)]=!![],_0xcb8035;},exports['resolveMobileThTestRunUuid']=()=>{const _0xff6ed6=a108_0x5c1bf7,_0x2b6d54={};_0x2b6d54[_0xff6ed6(0x14b)]=function(_0x11760a,_0x35d0b0){return _0x11760a===_0x35d0b0;},_0x2b6d54['FbMRc']='string',_0x2b6d54[_0xff6ed6(0x106)]=function(_0x57b537,_0x5eac50){return _0x57b537>_0x5eac50;},_0x2b6d54[_0xff6ed6(0x131)]='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).',_0x2b6d54[_0xff6ed6(0xb7)]=_0xff6ed6(0xb9),_0x2b6d54['egLuI']='undefined';const _0x2caaa8=_0x2b6d54,_0x4b30f8=global[_0xff6ed6(0xde)],_0x3de5d9=_0x4b30f8&&_0x4b30f8['currentTest'],_0x30e430=_0x3de5d9&&_0x3de5d9[_0xff6ed6(0x103)];if(_0x2caaa8['IYBkg'](typeof _0x30e430,_0x2caaa8[_0xff6ed6(0xbc)])&&_0x2caaa8[_0xff6ed6(0x106)](_0x30e430[_0xff6ed6(0x12f)],0x0))return _0x30e430;let _0x440cef;if(!_0x4b30f8)_0x440cef=_0x2caaa8[_0xff6ed6(0x131)];else!_0x3de5d9?_0x440cef=_0x2caaa8[_0xff6ed6(0xb7)]:_0x440cef=_0xff6ed6(0x116)+Object[_0xff6ed6(0x15e)](_0x3de5d9)['join'](',\x20')+']\x20but\x20thTestRunUuid\x20is\x20'+(_0x2caaa8['IYBkg'](_0x30e430,undefined)?_0x2caaa8[_0xff6ed6(0x109)]:'\x22'+_0x30e430+'\x22')+_0xff6ed6(0x16f);return logger[_0xff6ed6(0xf5)](_0xff6ed6(0xbb)+_0x440cef+'\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_0x5c1bf7(0x198)]=_0x4032fb=>{const _0x52a95c=a108_0x5c1bf7,_0x4b0cc0={};_0x4b0cc0['rqRDM']=function(_0x552ac0,_0x5b09cf){return _0x552ac0===_0x5b09cf;},_0x4b0cc0[_0x52a95c(0xff)]=_0x52a95c(0xb0),_0x4b0cc0[_0x52a95c(0x186)]='browserstack_executor';const _0x59d46b=_0x4b0cc0;if(_0x4032fb&&_0x4032fb[_0x52a95c(0x152)]&&_0x59d46b[_0x52a95c(0x105)](typeof _0x4032fb[_0x52a95c(0x152)],_0x59d46b[_0x52a95c(0xff)]))return _0x4032fb[_0x52a95c(0x152)][_0x52a95c(0x12e)](_0x59d46b[_0x52a95c(0x186)]);return![];},exports[a108_0x5c1bf7(0x183)]=a108_0x5c1bf7(0x11d),exports['isMobileScanningEnabledForGroup']=()=>process['env']['BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP']===a108_0x5c1bf7(0xc4),exports[a108_0x5c1bf7(0xc1)]=_0x30de21=>{const _0x44bb3e=a108_0x5c1bf7,_0x180ecd={};_0x180ecd[_0x44bb3e(0x166)]=function(_0x4c3088,_0x19e6ae){return _0x4c3088 in _0x19e6ae;};const _0x58b396=_0x180ecd;if(bsSetupHelper[_0x44bb3e(0x127)](_0x30de21))return![];const _0x3bf70a=_0x30de21['toLowerCase']();return _0x58b396['GlGxH'](_0x3bf70a,ACCESSIBILITY_SUPPORTED_BROWSERS);},exports['getBrowserA11yConfig']=_0x146f97=>{const _0x27d7de=a108_0x5c1bf7;if(bsSetupHelper[_0x27d7de(0x127)](_0x146f97))return null;const _0x93f077=_0x146f97[_0x27d7de(0xf6)]();return ACCESSIBILITY_SUPPORTED_BROWSERS[_0x93f077]||null;},exports[a108_0x5c1bf7(0x191)]=(_0x4eeb03,_0x569a84)=>{const _0x4f1982=a108_0x5c1bf7,_0x13fcb0=this[_0x4f1982(0x11a)](_0x4eeb03);if(!_0x13fcb0)return null;if(_0x569a84)return _0x13fcb0[_0x4f1982(0xec)];return _0x13fcb0[_0x4f1982(0x9b)];},exports[a108_0x5c1bf7(0xdc)]=_0x229fa5=>{const _0x4705b9=a108_0x5c1bf7,_0x48d7d3=this[_0x4705b9(0x11a)](_0x229fa5);return _0x48d7d3?_0x48d7d3[_0x4705b9(0xd1)]:_0x229fa5;},exports[a108_0x5c1bf7(0xe3)]=_0xfb78d1=>{const _0x2db65b=a108_0x5c1bf7,_0x5f2804=this[_0x2db65b(0x11a)](_0xfb78d1);return _0x5f2804?_0x5f2804[_0x2db65b(0x8b)]:![];},exports['isVersionSupported']=(_0xe4e0ce,_0x2dc9b9)=>{const _0x444842=a108_0x5c1bf7,_0x2714f6={'jAdnJ':function(_0x39ef28,_0x29e840){return _0x39ef28(_0x29e840);},'cRQDF':function(_0x225327,_0x402ccc){return _0x225327(_0x402ccc);},'RpTgf':function(_0x1a231a,_0x77bcc3){return _0x1a231a>=_0x77bcc3;}};if(bsSetupHelper[_0x444842(0x127)](_0xe4e0ce)||bsSetupHelper[_0x444842(0x127)](_0x2dc9b9))return![];const _0x2da7c1=bsSetupHelper[_0x444842(0xcf)](_0x2714f6[_0x444842(0x165)](String,_0xe4e0ce),_0x2714f6[_0x444842(0x107)](String,_0x2dc9b9));return _0x2714f6[_0x444842(0xfc)](_0x2da7c1,0x0);},exports[a108_0x5c1bf7(0x144)]=_0x590fec=>{const _0x3b3b15=a108_0x5c1bf7,_0x2ef332={};_0x2ef332['UJYsA']=function(_0x197863,_0x2ce2d2){return _0x197863!==_0x2ce2d2;},_0x2ef332['tmLBN']='string',_0x2ef332[_0x3b3b15(0xcb)]='base64';const _0x402ddc=_0x2ef332;if(!_0x590fec||_0x402ddc[_0x3b3b15(0xa0)](typeof _0x590fec,_0x402ddc[_0x3b3b15(0xfb)]))return null;try{return JSON['parse'](Buffer[_0x3b3b15(0x147)](_0x590fec['split']('.')[0x1],_0x402ddc['eDjcN'])[_0x3b3b15(0xe8)]());}catch{return null;}};
|
|
1
|
+
function a108_0x5abc(){const _0x556d6b=['chromeOptions_','playwright','mpGhA','set','scannerVersion','isBrowserstackInfra','VfOwB','resolveMobileThTestRunUuid','MlpRz','startsWith','accessibilityToken','toLowerCase','goog:chromeOptions','MOBILE_SCANNING_DISABLED_WARNING','util','glbIz','bkrOA','./constants','WyGCg','BS_A11Y_JWT','success','nestedKeyValue','VEjmo','includes','CEyhb','display_name','browserstack_executor','pEIUw','accessibility','toISOString','BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP','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).','udFaX','GET_RESULTS_SUMMARY','PUT','Options','pass','BROWSERSTACK_TURBOSCALE','message','UXMrW','pwIyy','Build\x20creation\x20had\x20failed.','SwNCN','buildDescription','basename','eIjbN','rBFRp','gaMcr','XROAo','platforms','PkZiy','includeTagsInTestingScope','isBrowserSupportedForAccessibility','Error\x20checking\x20mobile\x20accessibility\x20session:\x20','format','fRAHo','measureWrapper','uQIbt','winstonLogger','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','1571640QqiOJl','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','true','getMobileA11yCapabilities','getAccessibilityResults:\x20Mobile\x20session\x20detected,\x20args:\x20','compareVersions','command','Performing\x20scan\x20before\x20getting\x20results\x20summary','Lmyvp','getAccessibilityResults','getResultsSummary','assign','[Accessibility]\x20Mobile\x20scan\x20requested\x20but\x20thTestRunUuid\x20not\x20resolvable:\x20','from','excludeTagsInTestingScope','getCapabilities','isUndefined',']\x20but\x20thTestRunUuid\x20is\x20','Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20','20IDmLoJ','errors','executeAsyncScript','./scripts','currentTest','browserstackSessionName','function','vOggU','olETM','isMobileAccessibilitySession','map','hYZta','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','4644mxvreu','getHostInfo','Bearer\x20','undefined','options_','a11y:start','requires_chrome_options_check','chrome','../performance/constants','browserVersion','opYmV','MfTwe','debug','DcxfS','ChromeExtension','sVECt','buildName','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20','OGEZl','SkalA','isMobileAccessibilityPlatform','replace','PLRxb','WAaJj','71411oYbBXF','v2/test_runs','bstack:options','getPlatform','requireModule','KXlxt','RzQax','gLEWi','ucwIi','zqeDC','get','[Accessibility]\x20Selenium\x20performScan\x20payload:\x20','cZpms','NxxlH','../performance/performance-tester','--headless','../globals','setNonBstackInfraCapabilities','vdzCW','application/json','method','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','fQXgZ','yqfBD','base64','wHMsv','min_version_browserstack','ghQPD','Authorization','POST','bLUEY','parseA11yJwtPayload','stringify','wVnQZ','CBopB','1888YlnWBg','cDCFy','Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20','dSxvf','Invalid\x20configuration\x20passed.','getAccessibilityResultsSummary','Error\x20checking\x20if\x20mobile\x20accessibility\x20platform:\x20','forEach','aOLws','a11y:stop','bVgzS','Content-Type','executeScript','global.__workerDetails\x20exists\x20but\x20.currentTest\x20is\x20undefined\x20—\x20scan\x20fired\x20outside\x20a\x20test\x20body\x20(before/beforeAll\x20hook,\x20or\x20between\x20tests).','SHVvg','jekjC','getAccessKey','nodeRequest','performScan','cXIeY','getResults','KGNXH','headers','wait','Session\x20is\x20identified\x20as\x20mobile\x20accessibility\x20platform\x20(Android\x20+\x20Chrome)','Performed\x20scan\x20with\x20result:\x20','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token','performScan:\x20Mobile\x20capabilities\x20added\x20to\x20scan\x20arguments','__workerDetails','BVWWR','auth','device','GET_RESULTS','min_version_non_browserstack','return\x20document.readyState\x20===\x20\x22complete\x22','AxPDy','LuJXo','rcqdF','FrJSL','qGsKi','isAccessibilityAutomationSession','selenium-webdriver/chrome.js','getGlobal','isMobileScanningEnabledForGroup','rUiOG','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','dkVwn','stack','--headless=','capabilities_','csYfQ','AApIA','srbkV','parseFromJson','isVersionSupported','EiTcd','isAccessibilityPlatform','bjcqk','Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20','thTestRunUuid','createAccessibilityTestRun','RiaaD','CyzqL','parse','../logger','../helper','\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.','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.','nUyWG','Mobile\x20Accessibility\x20Automation\x20is\x20not\x20enabled\x20for\x20your\x20account.\x20Accessibility\x20scans\x20will\x20be\x20skipped\x20on\x20mobile\x20sessions.\x20Contact\x20BrowserStack\x20to\x20enable\x20mobile\x20accessibility\x20scanning.','keys','fetchPlatformDetails','toString','KdtWn','cwd','274341DaXtQv','zkwph','TUNZV','Error\x20while\x20adding\x20Non-Bstack\x20capabilities:\x20','.\x20The\x20framework\x20setup\x20hook\x20is\x20not\x20writing\x20thTestRunUuid\x20onto\x20currentTest.','statusText','Ixnwh','427506rfhiJE','--headless=new','getBrowserA11yConfig','tlZya','Performing\x20scan\x20before\x20getting\x20results','ZlzrN','status','uiurz','string','LTwaj','BROWSERSTACK_TEST_ACCESSIBILITY_YML','Invalid\x20request:\x20','error','nwtrc','getBrowserName','split','EksmN','is_mobile_session','info','IdTHD','4BptkdV','getMinVersionForBrowser','data','PoZQU','response','VUxWt','zsARM','RLdFU','getUserName','bstackA11yShouldScan','isArray','cmrIC','env','pKpeb','trim','XeavT','2669130jVaRdZ','length','some','script','browserstack','No\x20accessibility\x20results\x20were\x20found.','body','isBrowserStackCommandExecutor','EZSTB','GDtPZ','Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20','json','ISxSM','Not\x20a\x20Accessibility\x20Session','browserName','frBTX','72460MObDZF','isTrue','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','args','warn','getPlatformVersion','javascript'];a108_0x5abc=function(){return _0x556d6b;};return a108_0x5abc();}const a108_0x519cc1=a108_0x1723;function a108_0x1723(_0x2adf63,_0x392278){const _0x5abc4b=a108_0x5abc();return a108_0x1723=function(_0x172312,_0x31e4c0){_0x172312=_0x172312-0x134;let _0x464115=_0x5abc4b[_0x172312];return _0x464115;},a108_0x1723(_0x2adf63,_0x392278);}(function(_0x29fd1f,_0x5b693e){const _0x299c5a=a108_0x1723,_0x15690f=_0x29fd1f();while(!![]){try{const _0x5951b9=parseInt(_0x299c5a(0x20d))/0x1*(-parseInt(_0x299c5a(0x172))/0x2)+parseInt(_0x299c5a(0x157))/0x3+-parseInt(_0x299c5a(0x192))/0x4*(-parseInt(_0x299c5a(0x1e8))/0x5)+-parseInt(_0x299c5a(0x15e))/0x6+-parseInt(_0x299c5a(0x1d5))/0x7+parseInt(_0x299c5a(0x230))/0x8*(parseInt(_0x299c5a(0x1f5))/0x9)+parseInt(_0x299c5a(0x182))/0xa;if(_0x5951b9===_0x5b693e)break;else _0x15690f['push'](_0x15690f['shift']());}catch(_0x298f3e){_0x15690f['push'](_0x15690f['shift']());}}}(a108_0x5abc,0x1bd53));const path=require('path'),util=require(a108_0x519cc1(0x1a7)),bsSetupHelper=require(a108_0x519cc1(0x14d)),logger=require(a108_0x519cc1(0x14c))[a108_0x519cc1(0x1d3)],{API_URL,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY,ACCESSIBILITY_SUPPORTED_BROWSERS}=require(a108_0x519cc1(0x1aa)),PerformanceTester=require(a108_0x519cc1(0x21b)),scripts=require(a108_0x519cc1(0x1eb)),globals=require(a108_0x519cc1(0x21d)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a108_0x519cc1(0x1fd));exports[a108_0x519cc1(0x153)]=async _0x4fec80=>{const _0x1ba88d=a108_0x519cc1,_0x464654={};_0x464654[_0x1ba88d(0x21a)]=function(_0x4d5a28,_0x5b6f79){return _0x4d5a28===_0x5b6f79;},_0x464654[_0x1ba88d(0x1c3)]=_0x1ba88d(0x186);const _0x533722=_0x464654;let _0x3b3688={};try{const _0x4a54f6=await _0x4fec80['getCapabilities']();_0x3b3688={'os_name':_0x4a54f6[_0x1ba88d(0x210)](),'os_version':bsSetupHelper[_0x1ba88d(0x197)](_0x533722['NxxlH'](global['__cloud_provider___'],_0x533722['SwNCN'])),'browser_name':_0x4a54f6[_0x1ba88d(0x16c)](),'browser_version':_0x4a54f6['getBrowserVersion']()};}catch(_0x45a323){logger['debug'](_0x1ba88d(0x139)+_0x45a323);}return _0x3b3688;},exports[a108_0x519cc1(0x134)]=()=>{const _0x2bcc33=a108_0x519cc1,_0x59919b={};_0x59919b[_0x2bcc33(0x143)]=function(_0x2e3be5,_0x5de95e){return _0x2e3be5===_0x5de95e;},_0x59919b[_0x2bcc33(0x212)]='string',_0x59919b[_0x2bcc33(0x223)]=function(_0x553e29,_0x4ef117){return _0x553e29>_0x4ef117;},_0x59919b[_0x2bcc33(0x233)]=function(_0x35d318,_0x462c51){return _0x35d318!==_0x462c51;},_0x59919b[_0x2bcc33(0x149)]='null',_0x59919b[_0x2bcc33(0x16e)]=function(_0x1f1aec,_0x3729cd){return _0x1f1aec&&_0x3729cd;};const _0xc08b08=_0x59919b;try{const _0x4364a2=bsSetupHelper['isTrue'](process[_0x2bcc33(0x17e)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'])||bsSetupHelper['isTrue'](process[_0x2bcc33(0x17e)][_0x2bcc33(0x1d4)]),_0x52a8fe=_0xc08b08[_0x2bcc33(0x143)](typeof process[_0x2bcc33(0x17e)][_0x2bcc33(0x1ac)],_0xc08b08['KXlxt'])&&_0xc08b08[_0x2bcc33(0x223)](process[_0x2bcc33(0x17e)][_0x2bcc33(0x1ac)][_0x2bcc33(0x183)],0x0)&&_0xc08b08[_0x2bcc33(0x233)](process[_0x2bcc33(0x17e)][_0x2bcc33(0x1ac)],_0xc08b08['RiaaD']);return _0xc08b08[_0x2bcc33(0x16e)](_0x4364a2,_0x52a8fe);}catch(_0x1745e4){logger[_0x2bcc33(0x201)](_0x2bcc33(0x18c)+_0x1745e4);}return![];},exports['nonBstackPlatformValidation']=(_0x3a863a,_0x5a1dff)=>{const _0x3d92c8=a108_0x519cc1,_0x11b954={'uPrCH':_0x3d92c8(0x190),'wVnQZ':function(_0x104366,_0x248f7a){return _0x104366(_0x248f7a);},'MfTwe':_0x3d92c8(0x1fe),'VEjmo':'version','gLEWi':_0x3d92c8(0x20f),'OGEZl':function(_0x2b8674,_0x1dfe7f){return _0x2b8674(_0x1dfe7f);},'SHVvg':'deviceName','yqfBD':_0x3d92c8(0x24f),'zsARM':_0x3d92c8(0x1d6),'mlZiO':_0x3d92c8(0x135),'pEIUw':'selenium-webdriver','CyzqL':_0x3d92c8(0x1f9),'udFaX':_0x3d92c8(0x195),'frBTX':'chromeOptions','XeavT':'Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','ZlzrN':_0x3d92c8(0x1a5),'FrJSL':function(_0x1caf60,_0x1c6d14){return _0x1caf60===_0x1c6d14;},'PoZQU':_0x3d92c8(0x1fc),'zkwph':function(_0x5c4603,_0xa32936){return _0x5c4603>=_0xa32936;}},_0x2ae14f=_0x3a863a['get'](_0x11b954['uPrCH']),_0x38df3c=_0x11b954[_0x3d92c8(0x22e)](parseFloat,_0x3a863a[_0x3d92c8(0x217)](_0x11b954[_0x3d92c8(0x200)]))||_0x11b954[_0x3d92c8(0x22e)](parseFloat,_0x3a863a[_0x3d92c8(0x217)](_0x11b954[_0x3d92c8(0x1af)])),_0x3d970f=_0x3a863a[_0x3d92c8(0x217)](_0x11b954[_0x3d92c8(0x214)])||{},_0x141863=_0x11b954[_0x3d92c8(0x207)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY),_0x50c5ce=_0x3d970f[_0x11b954[_0x3d92c8(0x23e)]]||_0x3a863a[_0x3d92c8(0x217)](_0x11b954[_0x3d92c8(0x224)])||![];if(_0x50c5ce)return logger[_0x3d92c8(0x196)](_0x11b954[_0x3d92c8(0x178)]),![];let _0x2e664d;try{_0x2e664d=bsSetupHelper[_0x3d92c8(0x211)](_0x11b954['mlZiO'],_0x11b954[_0x3d92c8(0x1b4)]);}catch(_0x2f78df){return![];}const _0x269b2f=new _0x2e664d[(_0x3d92c8(0x1bc))](_0x5a1dff[_0x3d92c8(0x199)]),_0x43555f=bsSetupHelper['nestedKeyValue'](_0x269b2f,[_0x11b954[_0x3d92c8(0x14a)],_0x11b954[_0x3d92c8(0x1b9)]])||bsSetupHelper['nestedKeyValue'](_0x5a1dff[_0x3d92c8(0x13d)],[_0x11b954[_0x3d92c8(0x214)],_0x11b954[_0x3d92c8(0x191)],_0x11b954['udFaX']])||bsSetupHelper[_0x3d92c8(0x1ae)](_0x5a1dff[_0x3d92c8(0x13d)],[_0x11b954['frBTX'],_0x11b954[_0x3d92c8(0x1b9)]])||[],_0x30222c=Array['isArray'](_0x43555f)?_0x43555f:[];if(_0x30222c[_0x3d92c8(0x184)](_0x5dde48=>typeof _0x5dde48==='string'&&(_0x5dde48===_0x3d92c8(0x21c)||_0x5dde48['startsWith'](_0x3d92c8(0x13c))&&_0x5dde48!==_0x3d92c8(0x15f))))return logger['warn'](_0x11b954[_0x3d92c8(0x181)]),![];const _0x5c479d=_0x5a1dff['capabilities_']||{},_0x297b18=bsSetupHelper['nestedKeyValue'](_0x5c479d,[_0x11b954[_0x3d92c8(0x163)]])||{},_0x2fba42=bsSetupHelper['nestedKeyValue'](_0x297b18,[_0x11b954[_0x3d92c8(0x1b9)]])||[],_0x58428b=Array[_0x3d92c8(0x17c)](_0x2fba42)?_0x2fba42:[];if(_0x58428b['some'](_0x17d2b6=>typeof _0x17d2b6===_0x3d92c8(0x166)&&(_0x17d2b6===_0x3d92c8(0x21c)||_0x17d2b6[_0x3d92c8(0x1a2)](_0x3d92c8(0x13c))&&_0x17d2b6!=='--headless=new')))return logger['warn'](_0x11b954[_0x3d92c8(0x181)]),![];if(_0x11b954[_0x3d92c8(0x256)](_0x2ae14f['toLowerCase'](),_0x11b954[_0x3d92c8(0x175)])&&_0x11b954[_0x3d92c8(0x158)](_0x38df3c,_0x141863))return!![];return logger[_0x3d92c8(0x196)]('Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20'+MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY+'.'),![];},exports[a108_0x519cc1(0x21e)]=_0x194840=>{const _0x2b4579=a108_0x519cc1,_0x3f236b={};_0x3f236b[_0x2b4579(0x213)]=_0x2b4579(0x1a5),_0x3f236b['xrqct']=function(_0x34cd7d,_0x430e36){return _0x34cd7d||_0x430e36;},_0x3f236b[_0x2b4579(0x177)]=_0x2b4579(0x18f);const _0x56ea21=_0x3f236b,_0x31913b=scripts[_0x2b4579(0x203)];try{const _0x563607=bsSetupHelper[_0x2b4579(0x193)](process[_0x2b4579(0x17e)][_0x2b4579(0x168)])||bsSetupHelper[_0x2b4579(0x193)](process[_0x2b4579(0x17e)][_0x2b4579(0x1d4)]);if((!bsSetupHelper[_0x2b4579(0x19e)]()||process[_0x2b4579(0x17e)][_0x2b4579(0x1be)])&&_0x563607){const _0x509027=_0x194840['getCapabilities'](),_0x535cc0=_0x509027[_0x2b4579(0x217)](_0x56ea21[_0x2b4579(0x213)]),_0x525291=_0x56ea21['xrqct'](_0x535cc0,{});bsSetupHelper['mergeDeep'](_0x525291,_0x31913b),_0x194840['getCapabilities']()[_0x2b4579(0x19c)](_0x56ea21[_0x2b4579(0x213)],_0x525291);}else logger[_0x2b4579(0x196)](_0x56ea21[_0x2b4579(0x177)]);}catch(_0x1dfbee){logger['error'](_0x2b4579(0x15a)+_0x1dfbee);}},exports['shouldScanTestForAccessibility']=(_0x326028=null,_0x24724e=!![],_0x3b8eaf=[])=>{const _0x5edb03=a108_0x519cc1,_0x30cbfc={};_0x30cbfc['cZpms']=function(_0x478d06,_0x43b5cc){return _0x478d06==_0x43b5cc;},_0x30cbfc[_0x5edb03(0x22b)]=function(_0x55b74b,_0x321421){return _0x55b74b>_0x321421;},_0x30cbfc['LTwaj']=function(_0x5d9e7e,_0x1928b0){return _0x5d9e7e===_0x1928b0;},_0x30cbfc[_0x5edb03(0x138)]=function(_0x372e7c,_0x58c2f1){return _0x372e7c&&_0x58c2f1;},_0x30cbfc[_0x5edb03(0x19f)]=function(_0x3bd5a8,_0x3910db){return _0x3bd5a8===_0x3910db;};const _0xf825eb=_0x30cbfc;if(_0xf825eb[_0x5edb03(0x219)](process[_0x5edb03(0x17e)][_0x5edb03(0x222)],null))return!![];try{const _0x3dc2bc=JSON[_0x5edb03(0x14b)](process[_0x5edb03(0x17e)][_0x5edb03(0x222)]),_0x516482=Array[_0x5edb03(0x17c)](_0x3dc2bc[_0x5edb03(0x1cc)])?_0x3dc2bc['includeTagsInTestingScope']:[],_0x560537=Array[_0x5edb03(0x17c)](_0x3dc2bc['excludeTagsInTestingScope'])?_0x3dc2bc[_0x5edb03(0x1e3)]:[],_0x309563=_0x35b9f1=>typeof _0x35b9f1==='string'?_0x35b9f1[_0x5edb03(0x20a)](/^@/,'')[_0x5edb03(0x1a4)]()[_0x5edb03(0x180)]():_0x35b9f1;if(bsSetupHelper[_0x5edb03(0x1e5)](_0x326028)){if(_0xf825eb[_0x5edb03(0x22b)](_0x3b8eaf[_0x5edb03(0x183)],0x0)){const _0x31d23f=_0x3b8eaf[_0x5edb03(0x1f2)](_0x309563),_0x45409e=_0x560537['some'](_0x5d9b0b=>_0x31d23f[_0x5edb03(0x1b0)](_0x309563(_0x5d9b0b))),_0x1ed648=_0xf825eb[_0x5edb03(0x167)](_0x516482[_0x5edb03(0x183)],0x0)||_0x516482[_0x5edb03(0x184)](_0x3673dc=>_0x31d23f[_0x5edb03(0x1b0)](_0x309563(_0x3673dc)));return _0xf825eb[_0x5edb03(0x138)](!_0x45409e,_0x1ed648);}return!![];}let _0x1edb2b;_0x24724e?_0x1edb2b=_0x326028['join']('/'):_0x1edb2b=_0x326028;const _0x432a9b=_0x560537[_0x5edb03(0x184)](_0x57c8aa=>_0x1edb2b['toLowerCase']()['includes'](_0x309563(_0x57c8aa)['toLowerCase']())),_0x46efdf=_0xf825eb['VfOwB'](_0x516482[_0x5edb03(0x183)],0x0)||_0x516482['some'](_0x57bcf4=>_0x1edb2b[_0x5edb03(0x1a4)]()[_0x5edb03(0x1b0)](_0x309563(_0x57bcf4)[_0x5edb03(0x1a4)]()));return _0xf825eb[_0x5edb03(0x138)](!_0x432a9b,_0x46efdf);}catch(_0x390c2b){logger[_0x5edb03(0x201)](_0x5edb03(0x146)+util[_0x5edb03(0x1cf)](_0x390c2b));}return![];},exports['checkAccessibilityPlatformConfig']=_0x2d051=>{const _0x30f0ee=a108_0x519cc1;let _0x33b804=![];try{_0x2d051[_0x30f0ee(0x1ca)][_0x30f0ee(0x237)](_0x143344=>{const _0xd65267=_0x30f0ee;if(bsSetupHelper[_0xd65267(0x193)](_0x143344[_0xd65267(0x1b5)]))return _0x33b804=!![],!![];});}catch(_0xc946db){logger['debug'](_0x30f0ee(0x232)+_0xc946db);}return _0x33b804||bsSetupHelper[_0x30f0ee(0x193)](_0x2d051[_0x30f0ee(0x1b5)]);},exports[a108_0x519cc1(0x148)]=PerformanceTester[a108_0x519cc1(0x1d1)](a108_0x519cc1(0x1fa),async function(_0xbcb2bd,_0x550ce2){const _0x32a342=a108_0x519cc1,_0x1fa710={};_0x1fa710[_0x32a342(0x257)]=_0x32a342(0x24a),_0x1fa710[_0x32a342(0x1c9)]=_0x32a342(0x19a),_0x1fa710[_0x32a342(0x22f)]=_0x32a342(0x198),_0x1fa710['bjcqk']=_0x32a342(0x220),_0x1fa710[_0x32a342(0x23f)]=_0x32a342(0x22a),_0x1fa710['WAaJj']=_0x32a342(0x20e),_0x1fa710['opYmV']=function(_0x5281b2,_0xc396db){return _0x5281b2===_0xc396db;},_0x1fa710[_0x32a342(0x231)]=_0x32a342(0x234),_0x1fa710[_0x32a342(0x155)]='false';const _0x392147=_0x1fa710,_0x776a38=bsSetupHelper[_0x32a342(0x17a)](_0xbcb2bd),_0x1be714=bsSetupHelper[_0x32a342(0x240)](_0xbcb2bd);if(bsSetupHelper['isUndefined'](_0x776a38)||bsSetupHelper[_0x32a342(0x1e5)](_0x1be714))return logger[_0x32a342(0x16a)](_0x392147[_0x32a342(0x257)]),[null,null];try{let _0x8e50be;bsSetupHelper['isUndefined'](process[_0x32a342(0x17e)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])?_0x8e50be={}:_0x8e50be=JSON[_0x32a342(0x14b)](process[_0x32a342(0x17e)][_0x32a342(0x222)]);const {name:_0x62a1c2,version:_0xfdc831}=bsSetupHelper['getTestFrameworkDetails'](_0xbcb2bd,_0x550ce2),_0x2da778={'projectName':_0xbcb2bd['projectName'],'buildName':_0xbcb2bd[_0x32a342(0x205)]||path[_0x32a342(0x1c5)](path['resolve'](process[_0x32a342(0x156)]())),'startTime':new Date()[_0x32a342(0x1b6)](),'description':_0xbcb2bd[_0x32a342(0x1c4)]||'','source':{'frameworkName':_0x550ce2[_0x32a342(0x1b0)](_0x392147[_0x32a342(0x1c9)])?_0x392147[_0x32a342(0x1c9)]:_0x550ce2,'frameworkVersion':bsSetupHelper['getPackageVersion'](_0x550ce2),'sdkVersion':bsSetupHelper['getAgentVersion'](),'language':_0x392147[_0x32a342(0x22f)],'testFramework':_0x62a1c2,'testFrameworkVersion':_0xfdc831},'settings':_0x8e50be,'versionControl':await bsSetupHelper['getGitMetaData'](),'ciInfo':bsSetupHelper['getCiInfo'](),'hostInfo':bsSetupHelper[_0x32a342(0x1f6)](),'browserstackAutomation':bsSetupHelper['isBrowserstackInfra']()},_0x57626d={};_0x57626d['user']=_0x776a38,_0x57626d[_0x32a342(0x1bd)]=_0x1be714;const _0x3f0463={};_0x3f0463['Content-Type']=_0x392147[_0x32a342(0x145)];const _0x29a630={};_0x29a630[_0x32a342(0x24e)]=_0x57626d,_0x29a630[_0x32a342(0x246)]=_0x3f0463;const _0x425c8c=_0x29a630,_0x1837a6={};_0x1837a6[_0x32a342(0x188)]=_0x2da778,_0x1837a6[_0x32a342(0x18d)]=!![];const _0x4ed31c=Object[_0x32a342(0x1e0)](_0x425c8c,_0x1837a6),_0x1a4ac0=await bsSetupHelper[_0x32a342(0x241)](_0x392147[_0x32a342(0x23f)],_0x392147[_0x32a342(0x20c)],_0x4ed31c,_0xbcb2bd,API_URL);let _0x57e24a=process[_0x32a342(0x17e)][_0x32a342(0x222)];return _0x57e24a?_0x57e24a=JSON['parse'](process[_0x32a342(0x17e)][_0x32a342(0x222)]):_0x57e24a={},scripts[_0x32a342(0x141)](_0x1a4ac0[_0x32a342(0x174)][_0x32a342(0x174)]),scripts['toJson'](),_0x57e24a[_0x32a342(0x19d)]=_0x1a4ac0['data']['data'][_0x32a342(0x19d)],process['env'][_0x32a342(0x222)]=JSON[_0x32a342(0x22d)](_0x57e24a),[_0x1a4ac0[_0x32a342(0x174)][_0x32a342(0x174)][_0x32a342(0x1a3)],_0x1a4ac0[_0x32a342(0x174)][_0x32a342(0x174)]['id']];}catch(_0x5114f4){if(_0x5114f4[_0x32a342(0x176)])logger[_0x32a342(0x16a)](_0x32a342(0x194)+_0x5114f4[_0x32a342(0x176)][_0x32a342(0x164)]+'\x20'+_0x5114f4['response']['statusText']+'\x20'+JSON[_0x32a342(0x22d)](_0x5114f4[_0x32a342(0x176)][_0x32a342(0x174)]));else{if(_0x392147[_0x32a342(0x1ff)](_0x5114f4[_0x32a342(0x1bf)],_0x392147['cDCFy'])){logger[_0x32a342(0x16a)](_0x32a342(0x194)+(_0x5114f4[_0x32a342(0x1bf)]||_0x5114f4['stack']));for(const _0xda33b of _0x5114f4[_0x32a342(0x1e9)]){logger[_0x32a342(0x16a)](_0xda33b[_0x32a342(0x1bf)]);}process[_0x32a342(0x17e)][_0x32a342(0x168)]=_0x392147[_0x32a342(0x155)],process[_0x32a342(0x17e)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x392147[_0x32a342(0x155)];}else logger[_0x32a342(0x16a)](_0x32a342(0x194)+(_0x5114f4['message']||_0x5114f4[_0x32a342(0x13b)]));}return[null,null];}}),exports['stopAccessibilityTestRun']=PerformanceTester['measureWrapper'](a108_0x519cc1(0x239),async function(_0x2a8d02){const _0x560688=a108_0x519cc1,_0x46d068={};_0x46d068['rcqdF']=function(_0x38c7de,_0x46f33f){return _0x38c7de!==_0x46f33f;},_0x46d068[_0x560688(0x1d2)]='string',_0x46d068[_0x560688(0x253)]='error',_0x46d068[_0x560688(0x165)]=_0x560688(0x1c2),_0x46d068[_0x560688(0x13e)]=_0x560688(0x220),_0x46d068['AApIA']=_0x560688(0x1bb),_0x46d068[_0x560688(0x202)]='test_runs/stop',_0x46d068[_0x560688(0x226)]=function(_0x113cf2,_0x55dc0c){return _0x113cf2+_0x55dc0c;},_0x46d068['YShis']=_0x560688(0x169),_0x46d068[_0x560688(0x18a)]=_0x560688(0x1ad);const _0x2740c5=_0x46d068;if(bsSetupHelper[_0x560688(0x1e5)](process['env'][_0x560688(0x1ac)])||_0x2740c5[_0x560688(0x255)](typeof process[_0x560688(0x17e)][_0x560688(0x1ac)],_0x2740c5[_0x560688(0x1d2)])){const _0x4957fb={};return _0x4957fb[_0x560688(0x164)]=_0x2740c5[_0x560688(0x253)],_0x4957fb[_0x560688(0x1bf)]=_0x2740c5[_0x560688(0x165)],_0x4957fb;}const _0x47a37d={'endTime':new Date()['toISOString']()},_0x4c2a90={};_0x4c2a90[_0x560688(0x229)]=_0x560688(0x1f7)+process[_0x560688(0x17e)][_0x560688(0x1ac)],_0x4c2a90[_0x560688(0x23b)]=_0x2740c5[_0x560688(0x13e)];const _0x296e08={};_0x296e08[_0x560688(0x246)]=_0x4c2a90;const _0x116c41=_0x296e08,_0x52d9f7={};_0x52d9f7['body']=_0x47a37d,_0x52d9f7['auth']=null,_0x52d9f7['json']=!![];const _0x20496e=Object[_0x560688(0x1e0)](_0x116c41,_0x52d9f7);try{const _0x5ad843=await bsSetupHelper[_0x560688(0x241)](_0x2740c5[_0x560688(0x13f)],_0x2740c5['DcxfS'],_0x20496e,_0x2a8d02,API_URL);if(_0x5ad843[_0x560688(0x174)][_0x560688(0x16a)])throw new Error(_0x2740c5['wHMsv'](_0x2740c5['YShis'],_0x5ad843[_0x560688(0x174)][_0x560688(0x16a)]));else{logger[_0x560688(0x170)](_0x560688(0x206)+new Date()['toISOString']());const _0x1c33ad={};return _0x1c33ad[_0x560688(0x164)]=_0x2740c5[_0x560688(0x18a)],_0x1c33ad[_0x560688(0x1bf)]='',_0x1c33ad;}}catch(_0x2765e2){_0x2765e2[_0x560688(0x176)]?logger[_0x560688(0x16a)](_0x560688(0x1e7)+_0x2765e2[_0x560688(0x176)][_0x560688(0x164)]+'\x20'+_0x2765e2[_0x560688(0x176)][_0x560688(0x15c)]+'\x20'+JSON[_0x560688(0x22d)](_0x2765e2['response']['data'])):logger['error'](_0x560688(0x1e7)+(_0x2765e2[_0x560688(0x1bf)]||util[_0x560688(0x1cf)](_0x2765e2)));const _0x3ad73f={};return _0x3ad73f[_0x560688(0x164)]=_0x2740c5[_0x560688(0x253)],_0x3ad73f[_0x560688(0x1bf)]=_0x2765e2['message']||(_0x2765e2['response']?_0x2765e2[_0x560688(0x176)]['status']+':'+_0x2765e2['response'][_0x560688(0x15c)]:_0x2765e2),_0x3ad73f;}}),exports[a108_0x519cc1(0x242)]=async(_0x258b8f,_0x40a8d5=null,_0x3c5593=![],_0x3e5ff4=null)=>{const _0x33a290=a108_0x519cc1,_0x383541={};_0x383541[_0x33a290(0x204)]=_0x33a290(0x144),_0x383541[_0x33a290(0x228)]='bstackA11yShouldScan',_0x383541[_0x33a290(0x208)]=_0x33a290(0x14f),_0x383541[_0x33a290(0x1ef)]=function(_0x562ac1,_0x729a95){return _0x562ac1||_0x729a95;},_0x383541['gaMcr']='bstackA11yScanOptions',_0x383541[_0x33a290(0x16b)]=_0x33a290(0x24b);const _0x320212=_0x383541;if(!this[_0x33a290(0x134)]()||!globals[_0x33a290(0x136)](_0x320212[_0x33a290(0x204)])||!_0x3c5593&&!globals[_0x33a290(0x136)](_0x320212[_0x33a290(0x228)])){logger['warn'](_0x320212[_0x33a290(0x208)]);return;}const _0x1473e7=_0x3c5593?_0x320212['vOggU'](_0x3e5ff4,{}):globals[_0x33a290(0x136)](_0x320212[_0x33a290(0x1c8)])||{},_0x5c7210={};_0x5c7210[_0x33a290(0x221)]=_0x40a8d5||global['browserstackSessionName'];const _0x50ada3=Object[_0x33a290(0x1e0)]({},_0x1473e7,_0x5c7210);await this[_0x33a290(0x1f1)](_0x258b8f)&&(Object['assign'](_0x50ada3,this[_0x33a290(0x1d8)](),{'thTestRunUuid':this[_0x33a290(0x1a0)]()}),logger[_0x33a290(0x201)](_0x320212['nwtrc']));logger['debug'](_0x33a290(0x218)+util[_0x33a290(0x1cf)]('%j',_0x50ada3));const _0x26aedd={};return _0x26aedd[_0x33a290(0x1db)]=_0x40a8d5,await PerformanceTester[_0x33a290(0x1d1)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x28b745=_0x33a290;try{await _0x258b8f[_0x28b745(0x247)](()=>_0x258b8f[_0x28b745(0x23c)](_0x28b745(0x252)),0x1388);}catch(_0x3682a9){}const _0x29ae8e=util['format'](await _0x258b8f[_0x28b745(0x1ea)](scripts['performScan'],_0x50ada3));return logger[_0x28b745(0x201)](_0x28b745(0x249)+_0x29ae8e),_0x29ae8e;},_0x26aedd)();},exports[a108_0x519cc1(0x1de)]=async(_0xafdf83,_0x1ec26f)=>{const _0x10b38e=a108_0x519cc1,_0x4d2bd1={};_0x4d2bd1[_0x10b38e(0x15d)]=_0x10b38e(0x162),_0x4d2bd1[_0x10b38e(0x20b)]=_0x10b38e(0x144),_0x4d2bd1['BVWWR']=_0x10b38e(0x17b),_0x4d2bd1[_0x10b38e(0x254)]=_0x10b38e(0x1f4),_0x4d2bd1[_0x10b38e(0x171)]=_0x10b38e(0x1de),_0x4d2bd1[_0x10b38e(0x17f)]=_0x10b38e(0x187);const _0x4efed3=_0x4d2bd1;if(!this[_0x10b38e(0x134)]()||!globals[_0x10b38e(0x136)](_0x4efed3[_0x10b38e(0x20b)])||!globals[_0x10b38e(0x136)](_0x4efed3[_0x10b38e(0x24d)]))return logger[_0x10b38e(0x196)](_0x4efed3['LuJXo']),[];try{const _0xe5b22e=await this[_0x10b38e(0x1f1)](_0xafdf83),_0x20dd6e=_0xe5b22e?Object[_0x10b38e(0x1e0)]({},this[_0x10b38e(0x1d8)](),{'thTestRunUuid':this['resolveMobileThTestRunUuid']()}):{};return _0xe5b22e&&logger[_0x10b38e(0x201)](_0x10b38e(0x1d9)+util[_0x10b38e(0x1cf)]('%j',_0x20dd6e)),await PerformanceTester[_0x10b38e(0x1d1)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x3a4f46=_0x10b38e;logger[_0x3a4f46(0x201)](_0x4efed3[_0x3a4f46(0x15d)]);const _0x4ba2d6={};_0x4ba2d6[_0x3a4f46(0x221)]=_0x1ec26f[_0x3a4f46(0x1ed)];const _0x5a1484=Object[_0x3a4f46(0x1e0)](_0x4ba2d6,_0x20dd6e);logger[_0x3a4f46(0x201)](util[_0x3a4f46(0x1cf)](await _0xafdf83['executeAsyncScript'](scripts[_0x3a4f46(0x242)],_0x5a1484)));},{'command':_0x4efed3[_0x10b38e(0x171)]})(),await PerformanceTester[_0x10b38e(0x1d1)](PerformanceA11yEvents[_0x10b38e(0x250)],async()=>{const _0x523954=_0x10b38e,_0x55a932=_0xe5b22e?await _0xafdf83[_0x523954(0x1ea)](scripts[_0x523954(0x244)],_0x20dd6e):await _0xafdf83[_0x523954(0x1ea)](scripts[_0x523954(0x244)]);return _0x55a932;})();}catch{return logger['error'](_0x4efed3[_0x10b38e(0x17f)]),[];}},exports[a108_0x519cc1(0x235)]=async(_0x17f858,_0x3ea72a)=>{const _0x25ae40=a108_0x519cc1,_0x1c4c13={};_0x1c4c13['oLvnE']=_0x25ae40(0x1dc),_0x1c4c13[_0x25ae40(0x179)]='isAccessibilityPlatform',_0x1c4c13[_0x25ae40(0x159)]=_0x25ae40(0x17b),_0x1c4c13[_0x25ae40(0x216)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.',_0x1c4c13['olETM']=_0x25ae40(0x235),_0x1c4c13[_0x25ae40(0x1c7)]='No\x20accessibility\x20summary\x20was\x20found.';const _0x1d4382=_0x1c4c13;if(!this[_0x25ae40(0x134)]()||!globals[_0x25ae40(0x136)](_0x1d4382['RLdFU'])||!globals['getGlobal'](_0x1d4382[_0x25ae40(0x159)]))return logger['warn'](_0x1d4382[_0x25ae40(0x216)]),{};try{const _0x1b93c2=await this[_0x25ae40(0x1f1)](_0x17f858),_0x4655cd=_0x1b93c2?Object[_0x25ae40(0x1e0)]({},this['getMobileA11yCapabilities'](),{'thTestRunUuid':this['resolveMobileThTestRunUuid']()}):{};return _0x1b93c2&&logger['debug']('getAccessibilityResultsSummary:\x20Mobile\x20session\x20detected,\x20args:\x20'+util[_0x25ae40(0x1cf)]('%j',_0x4655cd)),await PerformanceTester[_0x25ae40(0x1d1)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x4ee4b7=_0x25ae40;logger['debug'](_0x1d4382['oLvnE']);const _0x451f11={};_0x451f11['method']=_0x3ea72a[_0x4ee4b7(0x1ed)];const _0x4a1676=Object[_0x4ee4b7(0x1e0)](_0x451f11,_0x4655cd);logger['debug'](util[_0x4ee4b7(0x1cf)](await _0x17f858[_0x4ee4b7(0x1ea)](scripts[_0x4ee4b7(0x242)],_0x4a1676)));},{'command':_0x1d4382[_0x25ae40(0x1f0)]})(),await PerformanceTester[_0x25ae40(0x1d1)](PerformanceA11yEvents[_0x25ae40(0x1ba)],async()=>{const _0x140591=_0x25ae40,_0x53e949=_0x1b93c2?await _0x17f858['executeAsyncScript'](scripts[_0x140591(0x1df)],_0x4655cd):await _0x17f858[_0x140591(0x1ea)](scripts[_0x140591(0x1df)]);return _0x53e949;})();}catch{return logger[_0x25ae40(0x16a)](_0x1d4382[_0x25ae40(0x1c7)]),{};}},exports['isMobileAccessibilityPlatform']=(_0xf00fa7,_0x89288d=![])=>{const _0x3c9865=a108_0x519cc1,_0x4ae261={'cXIeY':function(_0x2805e0,_0x304f7b){return _0x2805e0(_0x304f7b);},'GDtPZ':function(_0x5683f7,_0x1d08a9){return _0x5683f7(_0x1d08a9);},'ucwIi':'platformName','aOLws':function(_0x3d3465,_0x5b4efc){return _0x3d3465!==_0x5b4efc;},'KGNXH':'android','vdzCW':function(_0x396b59,_0x50daca){return _0x396b59(_0x50daca);},'eIjbN':function(_0x4b1b25,_0x5a715b){return _0x4b1b25(_0x5a715b);},'cmrIC':_0x3c9865(0x190),'CEyhb':_0x3c9865(0x1fc),'bkrOA':'Mobile\x20Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser.','PkZiy':_0x3c9865(0x248)};try{if(!_0xf00fa7)return![];const _0x52b223=_0x36b30f=>typeof _0xf00fa7[_0x3c9865(0x217)]===_0x3c9865(0x1ee)?_0xf00fa7[_0x3c9865(0x217)](_0x36b30f):_0xf00fa7[_0x36b30f],_0x113b16=_0x4ae261[_0x3c9865(0x243)](String,_0x4ae261[_0x3c9865(0x18b)](_0x52b223,_0x4ae261[_0x3c9865(0x215)])||'')[_0x3c9865(0x1a4)]();if(_0x4ae261[_0x3c9865(0x238)](_0x113b16,_0x4ae261[_0x3c9865(0x245)]))return![];const _0x3aecc0=_0x4ae261[_0x3c9865(0x21f)](String,_0x4ae261[_0x3c9865(0x1c6)](_0x52b223,_0x4ae261[_0x3c9865(0x17d)])||'')['toLowerCase']();if(!_0x3aecc0[_0x3c9865(0x1b0)](_0x4ae261[_0x3c9865(0x1b1)]))return _0x89288d&&logger[_0x3c9865(0x196)](_0x4ae261[_0x3c9865(0x1a9)]),![];return logger[_0x3c9865(0x201)](_0x4ae261[_0x3c9865(0x1cb)]),!![];}catch(_0x462750){return logger[_0x3c9865(0x201)](_0x3c9865(0x236)+_0x462750),![];}},exports[a108_0x519cc1(0x1f1)]=async _0x3c31f3=>{const _0x3db9a6=a108_0x519cc1;try{const _0x5a1c51=await _0x3c31f3[_0x3db9a6(0x1e4)]();return exports[_0x3db9a6(0x209)](_0x5a1c51);}catch(_0x322fa0){return logger['debug'](_0x3db9a6(0x1ce)+_0x322fa0),![];}},exports['getMobileA11yCapabilities']=()=>{const _0x47a493=a108_0x519cc1,_0x27e2fe={};return _0x27e2fe[_0x47a493(0x16f)]=!![],_0x27e2fe;},exports[a108_0x519cc1(0x1a0)]=()=>{const _0x467d5a=a108_0x519cc1,_0x7d2553={};_0x7d2553[_0x467d5a(0x1a8)]=function(_0x2a0a13,_0x137e16){return _0x2a0a13===_0x137e16;},_0x7d2553[_0x467d5a(0x1ab)]=_0x467d5a(0x166),_0x7d2553[_0x467d5a(0x1f3)]=function(_0x36d1cd,_0x127709){return _0x36d1cd>_0x127709;},_0x7d2553[_0x467d5a(0x150)]=_0x467d5a(0x1b8),_0x7d2553[_0x467d5a(0x18e)]=_0x467d5a(0x23d),_0x7d2553[_0x467d5a(0x13a)]=_0x467d5a(0x1f8);const _0x54b5c1=_0x7d2553,_0x366c5f=global[_0x467d5a(0x24c)],_0x3862ce=_0x366c5f&&_0x366c5f[_0x467d5a(0x1ec)],_0x23770a=_0x3862ce&&_0x3862ce[_0x467d5a(0x147)];if(_0x54b5c1['glbIz'](typeof _0x23770a,_0x54b5c1['WyGCg'])&&_0x54b5c1[_0x467d5a(0x1f3)](_0x23770a['length'],0x0))return _0x23770a;let _0x3d0814;if(!_0x366c5f)_0x3d0814=_0x54b5c1[_0x467d5a(0x150)];else!_0x3862ce?_0x3d0814=_0x54b5c1[_0x467d5a(0x18e)]:_0x3d0814='global.__workerDetails.currentTest\x20exists\x20with\x20keys\x20['+Object[_0x467d5a(0x152)](_0x3862ce)['join'](',\x20')+_0x467d5a(0x1e6)+(_0x54b5c1[_0x467d5a(0x1a8)](_0x23770a,undefined)?_0x54b5c1['dkVwn']:'\x22'+_0x23770a+'\x22')+_0x467d5a(0x15b);return logger[_0x467d5a(0x196)](_0x467d5a(0x1e1)+_0x3d0814+_0x467d5a(0x14e)),'';},exports[a108_0x519cc1(0x189)]=_0x340ac7=>{const _0x1a3456=a108_0x519cc1,_0x260548={};_0x260548[_0x1a3456(0x1dd)]=function(_0x4462d0,_0x5105a4){return _0x4462d0===_0x5105a4;},_0x260548[_0x1a3456(0x1c1)]=_0x1a3456(0x166),_0x260548[_0x1a3456(0x140)]=_0x1a3456(0x1b3);const _0xef7b6d=_0x260548;if(_0x340ac7&&_0x340ac7[_0x1a3456(0x185)]&&_0xef7b6d[_0x1a3456(0x1dd)](typeof _0x340ac7[_0x1a3456(0x185)],_0xef7b6d['pwIyy']))return _0x340ac7['script'][_0x1a3456(0x1b0)](_0xef7b6d[_0x1a3456(0x140)]);return![];},exports[a108_0x519cc1(0x1a6)]=a108_0x519cc1(0x151),exports[a108_0x519cc1(0x137)]=()=>process[a108_0x519cc1(0x17e)][a108_0x519cc1(0x1b7)]===a108_0x519cc1(0x1d7),exports[a108_0x519cc1(0x1cd)]=_0x197489=>{const _0x2c8bd6=a108_0x519cc1,_0x48ba14={};_0x48ba14[_0x2c8bd6(0x1a1)]=function(_0x406865,_0x1398a7){return _0x406865 in _0x1398a7;};const _0x3a56df=_0x48ba14;if(bsSetupHelper[_0x2c8bd6(0x1e5)](_0x197489))return![];const _0x1080df=_0x197489['toLowerCase']();return _0x3a56df[_0x2c8bd6(0x1a1)](_0x1080df,ACCESSIBILITY_SUPPORTED_BROWSERS);},exports[a108_0x519cc1(0x160)]=_0x1f8ac5=>{const _0x13d4bb=a108_0x519cc1;if(bsSetupHelper['isUndefined'](_0x1f8ac5))return null;const _0x4dd624=_0x1f8ac5[_0x13d4bb(0x1a4)]();return ACCESSIBILITY_SUPPORTED_BROWSERS[_0x4dd624]||null;},exports[a108_0x519cc1(0x173)]=(_0x35f99d,_0x17f2cc)=>{const _0x5caee1=a108_0x519cc1,_0xd98737=this[_0x5caee1(0x160)](_0x35f99d);if(!_0xd98737)return null;if(_0x17f2cc)return _0xd98737[_0x5caee1(0x227)];return _0xd98737[_0x5caee1(0x251)];},exports['getBrowserDisplayName']=_0x340fd7=>{const _0x49391b=a108_0x519cc1,_0x4aacab=this[_0x49391b(0x160)](_0x340fd7);return _0x4aacab?_0x4aacab[_0x49391b(0x1b2)]:_0x340fd7;},exports['requiresChromeOptionsValidation']=_0x139e9a=>{const _0x21c2f5=a108_0x519cc1,_0x8b33b6=this[_0x21c2f5(0x160)](_0x139e9a);return _0x8b33b6?_0x8b33b6[_0x21c2f5(0x1fb)]:![];},exports[a108_0x519cc1(0x142)]=(_0x4e7a7f,_0x27454c)=>{const _0x118de6=a108_0x519cc1,_0x2dd109={'bVgzS':function(_0x242c44,_0x28d57f){return _0x242c44(_0x28d57f);},'mpGhA':function(_0x477eb3,_0x56b253){return _0x477eb3>=_0x56b253;}};if(bsSetupHelper[_0x118de6(0x1e5)](_0x4e7a7f)||bsSetupHelper[_0x118de6(0x1e5)](_0x27454c))return![];const _0x2280e2=bsSetupHelper[_0x118de6(0x1da)](_0x2dd109[_0x118de6(0x23a)](String,_0x4e7a7f),_0x2dd109[_0x118de6(0x23a)](String,_0x27454c));return _0x2dd109[_0x118de6(0x19b)](_0x2280e2,0x0);},exports[a108_0x519cc1(0x22c)]=_0x420039=>{const _0xe6b5e8=a108_0x519cc1,_0x3b17e0={};_0x3b17e0[_0xe6b5e8(0x1d0)]=function(_0x55ae9a,_0x3eb1cc){return _0x55ae9a!==_0x3eb1cc;},_0x3b17e0[_0xe6b5e8(0x161)]=_0xe6b5e8(0x166),_0x3b17e0['UXMrW']=_0xe6b5e8(0x225);const _0x5c1551=_0x3b17e0;if(!_0x420039||_0x5c1551[_0xe6b5e8(0x1d0)](typeof _0x420039,_0x5c1551[_0xe6b5e8(0x161)]))return null;try{return JSON['parse'](Buffer[_0xe6b5e8(0x1e2)](_0x420039[_0xe6b5e8(0x16d)]('.')[0x1],_0x5c1551[_0xe6b5e8(0x1c0)])[_0xe6b5e8(0x154)]());}catch{return null;}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a109_0x58353d=a109_0x5050;(function(_0x504bf2,_0x1467a5){const _0xb7e59f=a109_0x5050,_0x54fde9=_0x504bf2();while(!![]){try{const _0x5b72d9=-parseInt(_0xb7e59f(0x6d))/0x1+-parseInt(_0xb7e59f(0x91))/0x2+parseInt(_0xb7e59f(0x84))/0x3*(-parseInt(_0xb7e59f(0xa0))/0x4)+-parseInt(_0xb7e59f(0x78))/0x5*(-parseInt(_0xb7e59f(0x9e))/0x6)+parseInt(_0xb7e59f(0x81))/0x7+parseInt(_0xb7e59f(0x90))/0x8*(-parseInt(_0xb7e59f(0x80))/0x9)+parseInt(_0xb7e59f(0x8b))/0xa;if(_0x5b72d9===_0x1467a5)break;else _0x54fde9['push'](_0x54fde9['shift']());}catch(_0xfee82d){_0x54fde9['push'](_0x54fde9['shift']());}}}(a109_0x362d,0x80916));function a109_0x5050(_0x4672bb,_0x438077){const _0x362d9f=a109_0x362d();return a109_0x5050=function(_0x505010,_0x1229b6){_0x505010=_0x505010-0x66;let _0x1c82a5=_0x362d9f[_0x505010];return _0x1c82a5;},a109_0x5050(_0x4672bb,_0x438077);}function a109_0x362d(){const _0x1807ba=['getClass','kPAyK','parseFromProto','nonBStackInfraA11yChromeOptions','6070QgHXQA','getResults','toJson','YvYCf','shouldWrapCommand','getCommand','smEdf','ChromeExtension','435879GxmRZr','2604889fcfYMo','browserstackFolderPath','toLowerCase','18RpjLrX','cLfRj','pwKmV','../../helpers/logger','gxhUL','fromJson','getModule','20515580BOsoVH','map','winstonLogger','name','Exception\x20in\x20browserstack\x20accessibility\x20automation\x20with\x20error:\x20','56xmuick','2033282BPclql','4|1|6|5|3|0|2','exports','getResultsSummary','SIrdY','TPdeA','commands','join','split','AykoC','debug','existsSync','length','2022LWpdlR','getLibrary','102028pTtTEc','parseFromJson','stringify','commandsPath','commandsToWrap','saveTestResults','scripts','BhEJX','.browserstack','EFFmb','getName','mkdirSync','797489WixbOc','../helper','scan','oQYhC','writeFileSync','performScan','getMethod'];a109_0x362d=function(){return _0x1807ba;};return a109_0x362d();}const path=require('path'),fs=require('fs'),logger=require(a109_0x58353d(0x87))[a109_0x58353d(0x8d)],helper=require(a109_0x58353d(0x6e));class Scripts{constructor(){const _0x406ef7=a109_0x58353d,_0x293c54={};_0x293c54['smEdf']=_0x406ef7(0x92),_0x293c54[_0x406ef7(0x96)]='commands.json',_0x293c54['cLfRj']=_0x406ef7(0x69);const _0xef2450=_0x293c54,_0x14c3bb=_0xef2450[_0x406ef7(0x7e)][_0x406ef7(0x99)]('|');let _0x373942=0x0;while(!![]){switch(_0x14c3bb[_0x373942++]){case'0':this[_0x406ef7(0xa3)]=path['join'](this['browserstackFolderPath'],_0xef2450[_0x406ef7(0x96)]);continue;case'1':this['getResults']=null;continue;case'2':this[_0x406ef7(0x89)]();continue;case'3':this[_0x406ef7(0x82)]=path[_0x406ef7(0x98)](helper['homedir'](),_0xef2450[_0x406ef7(0x85)]);continue;case'4':this[_0x406ef7(0x72)]=null;continue;case'5':this[_0x406ef7(0x66)]=null;continue;case'6':this[_0x406ef7(0x94)]=null;continue;}break;}}[a109_0x58353d(0xa1)](_0x14f703){const _0x24373b=a109_0x58353d;_0x14f703[_0x24373b(0x67)]&&(this['performScan']=_0x14f703[_0x24373b(0x67)][_0x24373b(0x6f)],this[_0x24373b(0x79)]=_0x14f703[_0x24373b(0x67)][_0x24373b(0x79)],this[_0x24373b(0x94)]=_0x14f703[_0x24373b(0x67)][_0x24373b(0x94)],this[_0x24373b(0x66)]=_0x14f703[_0x24373b(0x67)]['saveResults']),this['commandsToWrap']=_0x14f703[_0x24373b(0x97)],this[_0x24373b(0x7f)]=_0x14f703[_0x24373b(0x77)];}[a109_0x58353d(0x76)](_0x51c6d5,_0x5c068b){const _0x258eac=a109_0x58353d,_0x3e4de9={};_0x3e4de9[_0x258eac(0x75)]=function(_0x4249d1,_0x1bb515){return _0x4249d1>_0x1bb515;},_0x3e4de9[_0x258eac(0x6a)]=function(_0x21ba1a,_0x3b2539){return _0x21ba1a===_0x3b2539;},_0x3e4de9[_0x258eac(0x70)]=_0x258eac(0x6f),_0x3e4de9['YvYCf']=_0x258eac(0x79),_0x3e4de9[_0x258eac(0x68)]='getResultsSummary',_0x3e4de9[_0x258eac(0x95)]='saveResults',_0x3e4de9[_0x258eac(0x88)]=function(_0x2e9918,_0x2a7e89){return _0x2e9918>_0x2a7e89;};const _0x24eb19=_0x3e4de9;if(_0x51c6d5&&_0x24eb19[_0x258eac(0x75)](_0x51c6d5[_0x258eac(0x9d)],0x0))for(const _0x5dd296 of _0x51c6d5){if(_0x24eb19[_0x258eac(0x6a)](_0x5dd296[_0x258eac(0x6b)](),_0x24eb19[_0x258eac(0x70)]))this[_0x258eac(0x72)]=_0x5dd296['getCommand']();else{if(_0x24eb19['EFFmb'](_0x5dd296[_0x258eac(0x6b)](),_0x24eb19[_0x258eac(0x7b)]))this[_0x258eac(0x79)]=_0x5dd296[_0x258eac(0x7d)]();else{if(_0x24eb19[_0x258eac(0x6a)](_0x5dd296[_0x258eac(0x6b)](),_0x24eb19[_0x258eac(0x68)]))this[_0x258eac(0x94)]=_0x5dd296[_0x258eac(0x7d)]();else _0x24eb19[_0x258eac(0x6a)](_0x5dd296[_0x258eac(0x6b)](),_0x24eb19[_0x258eac(0x95)])&&(this['saveTestResults']=_0x5dd296[_0x258eac(0x7d)]());}}}_0x5c068b&&_0x24eb19[_0x258eac(0x88)](_0x5c068b['length'],0x0)&&(this['commandsToWrap']=_0x5c068b[_0x258eac(0x8c)](_0x2156e0=>{const _0x5335c1=_0x258eac;return{'name':_0x2156e0[_0x5335c1(0x6b)](),'method':_0x2156e0[_0x5335c1(0x73)](),'library':_0x2156e0[_0x5335c1(0x9f)](),'module':_0x2156e0[_0x5335c1(0x8a)](),'class':_0x2156e0[_0x5335c1(0x74)]()};}));}[a109_0x58353d(0x7c)](_0x28e2a6){const _0xe8edda=a109_0x58353d,_0x1a398d={};_0x1a398d[_0xe8edda(0x86)]=function(_0x35a024,_0xc2a5fa){return _0x35a024!==_0xc2a5fa;};const _0x27f9ae=_0x1a398d;try{return _0x27f9ae[_0xe8edda(0x86)](this['commandsToWrap']['findIndex'](_0xd981db=>_0xd981db[_0xe8edda(0x8e)][_0xe8edda(0x83)]()===_0x28e2a6['toLowerCase']()),-0x1);}catch(_0x3eb9b5){logger[_0xe8edda(0x9b)](_0xe8edda(0x8f)+_0x3eb9b5);}return![];}[a109_0x58353d(0x7a)](){const _0x3dea35=a109_0x58353d;!fs['existsSync'](this[_0x3dea35(0x82)])&&fs[_0x3dea35(0x6c)](this['browserstackFolderPath']),fs[_0x3dea35(0x71)](this[_0x3dea35(0xa3)],JSON[_0x3dea35(0xa2)]({'scripts':{'scan':this[_0x3dea35(0x72)],'getResults':this[_0x3dea35(0x79)],'getResultsSummary':this[_0x3dea35(0x94)],'saveResults':this[_0x3dea35(0x66)]},'commands':this[_0x3dea35(0xa4)],'nonBStackInfraA11yChromeOptions':this[_0x3dea35(0x7f)]}));}[a109_0x58353d(0x89)](){const _0x35b516=a109_0x58353d,_0x4fa3eb={'AykoC':function(_0x383dee,_0x4a7334){return _0x383dee(_0x4a7334);}};fs[_0x35b516(0x9c)](this[_0x35b516(0xa3)])&&this['parseFromJson'](_0x4fa3eb[_0x35b516(0x9a)](require,this['commandsPath']));}}module[a109_0x58353d(0x93)]=new Scripts();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a110_0x3b4142=a110_0x5594;(function(_0xda9ba1,_0x4ba7fe){const _0x4fdedc=a110_0x5594,_0x66c6e=_0xda9ba1();while(!![]){try{const _0x495045=parseInt(_0x4fdedc(0x100))/0x1*(parseInt(_0x4fdedc(0xd1))/0x2)+parseInt(_0x4fdedc(0x11e))/0x3+-parseInt(_0x4fdedc(0xc6))/0x4*(parseInt(_0x4fdedc(0x13d))/0x5)+-parseInt(_0x4fdedc(0xf3))/0x6+parseInt(_0x4fdedc(0x10d))/0x7+-parseInt(_0x4fdedc(0x10c))/0x8+-parseInt(_0x4fdedc(0xea))/0x9*(-parseInt(_0x4fdedc(0xf5))/0xa);if(_0x495045===_0x4ba7fe)break;else _0x66c6e['push'](_0x66c6e['shift']());}catch(_0x1d21fa){_0x66c6e['push'](_0x66c6e['shift']());}}}(a110_0x32d5,0xbf2b0));const path=require('path'),{commandRepository}=require('./autoHealHelper'),constants=require(a110_0x3b4142(0xee)),logger=require(a110_0x3b4142(0xf4))[a110_0x3b4142(0x118)],globals=require('../globals'),timeoutPromise=require(a110_0x3b4142(0xe3)),isUndefinedOrNull=_0x286ded=>_0x286ded===undefined||_0x286ded===null||_0x286ded==='',isNotUndefinedOrNull=_0xddd243=>!isUndefinedOrNull(_0xddd243),isString=_0x31d36e=>isNotUndefinedOrNull(_0x31d36e)&&typeof _0x31d36e===a110_0x3b4142(0x137);function a110_0x32d5(){const _0xa63765=['aiHeal_userId','\x22,\x20\x22tcgUrls\x22:\x20{\x22','error','microsoftedge','newCapabilities','AzZXY','SET_TCG_TOKEN_TIMEOUT','dxCjT','\x22:\x20{\x22endpoint\x22:\x20\x22','split','4nUDyec','KydlR','HEALING_LOG_DATA_TIMEOUT','then','IzrWB','\x20command','BrowserstackHealing.setToken\x20method\x20timed\x20out','isSelfHealEnabled','locatorType','Daqxe','TCG_REGION','getSession','yJemp','BrowserstackHealingLogDataFailed','anmHf','qRKPk','pollResult','value','../../helpers/timeoutPromise','race','POLL_HEALING_RESULT_TIMEOUT','locatorValue','cancel','message','logData','738DTXFxa','mjtdp','BrowserstackHealing.pollResult\x20method\x20timed\x20out','aiHeal_groupId','../../bin/utils/constants','executeScript','aiHeal_sessionToken','log','join','5455620rUKhQg','../logger','152970xqTohw','framework','selector','s://','freeze','aiHeal_isGroupAIEnabled','JWpjK','setTcgToken','parameters_','TDLzW','replace','627148LocqFY','browserName','getProjectName','info','BrowserstackHealingPollResultFailed','dGNcJ','set','config','wnqrH','FiAJi','fromEntries','SvdPS','11065568aozSrj','6640417NEentn','map_','aiSdkWrapper','edge','capabilities_','BrowserstackHealingHealFailureFailed','{\x22region\x22:\x20\x22','../../ai-sdk-node/bundle','_handleEvent','BrowserstackHealing','Error\x20in\x20(healing)\x20handling\x20failure\x20event.\x20ERROR:\x20','winstonLogger','ZhWXF','\x22}}}','aiHealing','getGlobal','HEALING_FAILURE_TIMEOUT','3423558zfUypy','initializeHealingCapabilities','firefoxOptions_','getTestName','chrome','keys','Error\x20in\x20initialising\x20healing\x20capabilities\x20,\x20error:\x20','safariOptions_','zMIqi','getCapabilities','BrowserstackHealing.healFailure\x20method\x20timed\x20out','toLowerCase','BOSIk','iyRgs','forEach','TCG_URL','SDeXw','KBopH','aMbgQ','handleFailure','lEoVn','using','mjfsr','name_','CIwCm','string','browserstackSessionName','getId','ieOptions_','KHnJA','Ekdqn','335oTINQS','BrowserstackHealingSetTcgTokenFailed','qjhdf','BrowserstackHealing.logData\x20method\x20timed\x20out','90924xxIYFo'];a110_0x32d5=function(){return _0xa63765;};return a110_0x32d5();}function a110_0x5594(_0x1c8ee1,_0x1316af){const _0x32d56f=a110_0x32d5();return a110_0x5594=function(_0x559476,_0x5aa448){_0x559476=_0x559476-0xc6;let _0x353a57=_0x32d56f[_0x559476];return _0x353a57;},a110_0x5594(_0x1c8ee1,_0x1316af);}class AiSdkWrapper{constructor(){const _0x21887c=a110_0x3b4142,_0x428cd3={'iyRgs':function(_0x4a05ce,_0x3bb5db){return _0x4a05ce(_0x3bb5db);},'IzrWB':_0x21887c(0x114)};this[_0x21887c(0x116)]=undefined;try{this[_0x21887c(0x116)]=_0x428cd3[_0x21887c(0x12b)](require,path[_0x21887c(0xf2)](__dirname,_0x428cd3[_0x21887c(0xd5)]));}catch(_0x3ba651){logger[_0x21887c(0xc9)]('Unable\x20to\x20load\x20healing\x20module,\x20error:\x20'+(_0x3ba651&&_0x3ba651[_0x21887c(0xe8)]?_0x3ba651[_0x21887c(0xe8)]:''));}}[a110_0x3b4142(0x11f)](_0x34b667){const _0x3f8779=a110_0x3b4142,_0x1e6c08={};_0x1e6c08[_0x3f8779(0x108)]=_0x3f8779(0xcb),_0x1e6c08[_0x3f8779(0xd2)]=function(_0x228dff,_0x367e5b){return _0x228dff===_0x367e5b;},_0x1e6c08[_0x3f8779(0xcc)]=_0x3f8779(0x122),_0x1e6c08[_0x3f8779(0x126)]='firefox',_0x1e6c08[_0x3f8779(0x130)]='safari',_0x1e6c08['TDLzW']=_0x3f8779(0x110),_0x1e6c08[_0x3f8779(0x132)]=function(_0x22991b,_0x145a60){return _0x22991b===_0x145a60;},_0x1e6c08[_0x3f8779(0x13c)]=_0x3f8779(0xca);const _0x62394f=_0x1e6c08;try{const _0x46fc02=this['BrowserstackHealing']['initializeCapabilities'](Object[_0x3f8779(0x10a)](_0x34b667[_0x3f8779(0x127)]()[_0x3f8779(0x10e)]));console[_0x3f8779(0xf1)](_0x62394f[_0x3f8779(0x108)],_0x46fc02);if(_0x62394f[_0x3f8779(0xd2)](_0x46fc02?.[_0x3f8779(0x101)]?.['toLowerCase'](),_0x62394f[_0x3f8779(0xcc)]))_0x34b667['chromeOptions_']=_0x46fc02;else{if(_0x62394f[_0x3f8779(0xd2)](_0x46fc02?.[_0x3f8779(0x101)]?.[_0x3f8779(0x129)](),_0x62394f[_0x3f8779(0x126)]))_0x34b667[_0x3f8779(0x120)]=_0x46fc02;else{if(_0x62394f[_0x3f8779(0xd2)](_0x46fc02?.[_0x3f8779(0x101)]?.[_0x3f8779(0x129)](),_0x62394f[_0x3f8779(0x130)]))_0x34b667[_0x3f8779(0x125)]=_0x46fc02;else{if(_0x62394f['KydlR'](_0x46fc02?.[_0x3f8779(0x101)]?.[_0x3f8779(0x129)](),_0x62394f[_0x3f8779(0xfe)])||_0x62394f[_0x3f8779(0x132)](_0x46fc02?.[_0x3f8779(0x101)]?.[_0x3f8779(0x129)](),_0x62394f[_0x3f8779(0x13c)]))_0x34b667['edgeOptions_']=_0x46fc02;else _0x62394f[_0x3f8779(0x132)](_0x46fc02?.[_0x3f8779(0x101)]?.[_0x3f8779(0x129)](),'ie')&&(_0x34b667[_0x3f8779(0x13a)]=_0x46fc02);}}}Object[_0x3f8779(0x123)](_0x46fc02)[_0x3f8779(0x12c)](_0x52b66a=>{const _0x5ce0c0=_0x3f8779,_0x28833b=_0x34b667[_0x5ce0c0(0x111)]['get'](_0x52b66a);_0x34b667[_0x5ce0c0(0x111)][_0x5ce0c0(0x106)](_0x52b66a,_0x46fc02[_0x52b66a]);});}catch(_0x53404c){logger[_0x3f8779(0xc9)](_0x3f8779(0x124)+(_0x53404c&&_0x53404c[_0x3f8779(0xe8)]?_0x53404c[_0x3f8779(0xe8)]:''));}}async[a110_0x3b4142(0xfc)](_0x43d8e9){const _0x2781e6=a110_0x3b4142,_0x1fd96e={'rIfen':function(_0x4500a3,_0x2a983b,_0x1d29f7,_0x5a7611,_0x490a67,_0x40c112,_0x18402d){return _0x4500a3(_0x2a983b,_0x1d29f7,_0x5a7611,_0x490a67,_0x40c112,_0x18402d);},'FiAJi':_0x2781e6(0xd7),'qRKPk':_0x2781e6(0x13e),'SwgYx':_0x2781e6(0xf0)},_0x4ce103=new Date(),_0x4855ee=_0x1fd96e['rIfen'](timeoutPromise,constants[_0x2781e6(0xcd)],_0x1fd96e[_0x2781e6(0x109)],_0x1fd96e[_0x2781e6(0xe0)],_0x4ce103,this['config'],this[_0x2781e6(0xf6)]);await Promise[_0x2781e6(0xe4)]([this[_0x2781e6(0x116)]['setToken'](_0x43d8e9,globals[_0x2781e6(0x11c)](_0x1fd96e['SwgYx']),constants[_0x2781e6(0x12d)])[_0x2781e6(0xd4)](()=>{const _0xb7b4=_0x2781e6;_0x4855ee[_0xb7b4(0xe7)]();}),_0x4855ee]);}async[a110_0x3b4142(0x115)](_0x50967e,_0x12b560,_0x545d20,_0x1633f1){const _0x2a6ea8=a110_0x3b4142,_0x4017cf={'BOSIk':function(_0x1b427b,_0x43d051){return _0x1b427b===_0x43d051;},'KHnJA':function(_0x1c04f1,_0x1ecad2){return _0x1c04f1(_0x1ecad2);},'FreHd':function(_0x176be8,_0x4aa61d){return _0x176be8(_0x4aa61d);},'BnDjs':function(_0x1ea525,_0x5cc6d8){return _0x1ea525(_0x5cc6d8);},'dGNcJ':function(_0x156c11,_0x23d8f4){return _0x156c11(_0x23d8f4);},'SDeXw':function(_0x2424de,_0x1ccee7){return _0x2424de(_0x1ccee7);},'JWpjK':function(_0xf1df49,_0x4c577c){return _0xf1df49(_0x4c577c);},'yJemp':_0x2a6ea8(0xf8),'SvdPS':function(_0x2c1e84,_0x530344){return _0x2c1e84(_0x530344);},'mjfsr':function(_0x304f36,_0x7aa136){return _0x304f36(_0x7aa136);},'ZhWXF':_0x2a6ea8(0xc7),'IEpim':_0x2a6ea8(0xed),'Daqxe':_0x2a6ea8(0xfa),'mjtdp':function(_0x23d28a,_0x4f65a7,_0x5f4658,_0x79e294,_0xbf5ad3,_0x35ac57,_0x486bf1){return _0x23d28a(_0x4f65a7,_0x5f4658,_0x79e294,_0xbf5ad3,_0x35ac57,_0x486bf1);},'KBopH':_0x2a6ea8(0x140),'dxCjT':_0x2a6ea8(0xde),'tOeAQ':_0x2a6ea8(0x128),'QaDpz':_0x2a6ea8(0x112)},_0x507575=(await _0x12b560[_0x2a6ea8(0xdc)]())[_0x2a6ea8(0x139)]();let _0xe74f43='';if(commandRepository[_0x2a6ea8(0xd8)]()&&_0x4017cf[_0x2a6ea8(0x12a)](_0x1633f1,![])||_0x4017cf[_0x2a6ea8(0x12a)](_0x1633f1,!![])){const _0x4f5940=_0x4017cf[_0x2a6ea8(0x13b)](isNotUndefinedOrNull,_0x545d20['parameters_'][_0x2a6ea8(0x133)])&&_0x4017cf['FreHd'](isString,_0x545d20[_0x2a6ea8(0xfd)]['using'])?_0x545d20['parameters_']['using']['replace'](/'/g,'\x5c\x27')['replace'](/"/g,'\x5c\x22'):'',_0x3dac8b=_0x4017cf['BnDjs'](isNotUndefinedOrNull,_0x545d20[_0x2a6ea8(0xfd)][_0x2a6ea8(0x133)])&&_0x4017cf[_0x2a6ea8(0x105)](isString,_0x545d20[_0x2a6ea8(0xfd)][_0x2a6ea8(0xe2)])?_0x545d20[_0x2a6ea8(0xfd)][_0x2a6ea8(0xe2)][_0x2a6ea8(0xff)](/'/g,'\x5c\x27')[_0x2a6ea8(0xff)](/"/g,'\x5c\x22'):'',_0x49116f=_0x4017cf[_0x2a6ea8(0x105)](isNotUndefinedOrNull,commandRepository[_0x2a6ea8(0x102)]())&&_0x4017cf[_0x2a6ea8(0x105)](isString,commandRepository['getProjectName']())?commandRepository[_0x2a6ea8(0x102)]()[_0x2a6ea8(0xff)](/'/g,'\x5c\x27')[_0x2a6ea8(0xff)](/"/g,'\x5c\x22'):'';let _0x4cbf86=_0x4017cf['BnDjs'](isNotUndefinedOrNull,global['browserstackSessionName'])&&_0x4017cf[_0x2a6ea8(0x12e)](isString,global[_0x2a6ea8(0x138)])?global[_0x2a6ea8(0x138)]['replace'](/'/g,'\x5c\x27')['replace'](/"/g,'\x5c\x22'):'';!_0x4cbf86&&(_0x4cbf86=_0x4017cf[_0x2a6ea8(0xfb)](isNotUndefinedOrNull,commandRepository[_0x2a6ea8(0x121)]())&&_0x4017cf['BnDjs'](isString,commandRepository[_0x2a6ea8(0x121)]())?commandRepository[_0x2a6ea8(0x121)]()['replace'](/'/g,'\x5c\x27')[_0x2a6ea8(0xff)](/"/g,'\x5c\x22'):'');let _0x1765df=_0x2a6ea8(0x113)+constants[_0x2a6ea8(0xdb)]+_0x2a6ea8(0xc8)+constants['TCG_REGION']+_0x2a6ea8(0xcf)+constants[_0x2a6ea8(0x12d)][_0x2a6ea8(0xd0)](_0x4017cf[_0x2a6ea8(0xdd)])[0x1]+_0x2a6ea8(0x11a);_0x1765df=_0x4017cf[_0x2a6ea8(0x10b)](isNotUndefinedOrNull,_0x1765df)&&_0x4017cf[_0x2a6ea8(0x134)](isString,_0x1765df)?_0x1765df[_0x2a6ea8(0xff)](/'/g,'\x5c\x27')[_0x2a6ea8(0xff)](/"/g,'\x5c\x22'):'';const _0x3a83ac=commandRepository['getCommands'](_0x507575),_0xa54035=globals[_0x2a6ea8(0x11c)](_0x4017cf[_0x2a6ea8(0x119)]),_0x58f53e=globals[_0x2a6ea8(0x11c)](_0x4017cf['IEpim']),_0x2441f8=globals['getGlobal'](_0x4017cf[_0x2a6ea8(0xda)]),_0x35135b=![],_0x554947=new Date();if(_0x1633f1){const _0x1bd1ee=_0x4017cf['mjtdp'](timeoutPromise,constants[_0x2a6ea8(0xd3)],_0x4017cf[_0x2a6ea8(0x12f)],_0x4017cf[_0x2a6ea8(0xce)],_0x554947,this[_0x2a6ea8(0x107)],this[_0x2a6ea8(0xf6)]);_0xe74f43=await Promise[_0x2a6ea8(0xe4)]([this['BrowserstackHealing'][_0x2a6ea8(0xe9)](_0x4f5940,_0x3dac8b,_0x49116f,_0x4cbf86,_0x58f53e,_0x507575,_0x3a83ac,_0x1765df)['then'](_0x1b8ddf=>{const _0x1426e7=_0x2a6ea8;return _0x1bd1ee[_0x1426e7(0xe7)](),_0x1b8ddf;}),_0x1bd1ee]);}else{if(commandRepository[_0x2a6ea8(0xd8)]()){const _0x357330=_0x4017cf[_0x2a6ea8(0xeb)](timeoutPromise,constants[_0x2a6ea8(0x11d)],_0x4017cf['tOeAQ'],_0x4017cf['QaDpz'],_0x554947,this[_0x2a6ea8(0x107)],this[_0x2a6ea8(0xf6)]);_0xe74f43=await Promise[_0x2a6ea8(0xe4)]([this[_0x2a6ea8(0x116)]['healFailure'](_0x4f5940,_0x3dac8b,_0x49116f,_0x4cbf86,_0xa54035,_0x58f53e,_0x507575,_0x3a83ac,_0x35135b,_0x2441f8,_0x1765df)[_0x2a6ea8(0xd4)](_0x17b85a=>{const _0x1e1bcf=_0x2a6ea8;return _0x357330[_0x1e1bcf(0xe7)](),_0x17b85a;}),_0x357330]);}}_0xe74f43&&await _0x12b560[_0x2a6ea8(0xef)](_0xe74f43);}}async['handleSuccess'](_0x43173b,_0xcb3765,_0x4c8163){const _0x243c76=a110_0x3b4142;try{await this[_0x243c76(0x115)](_0x43173b,_0xcb3765,_0x4c8163,!![]);}catch(_0x4d87a5){return logger[_0x243c76(0xc9)]('Error\x20in\x20(healing)\x20success\x20event.\x20ERROR:\x20'+(_0x4d87a5&&_0x4d87a5[_0x243c76(0xe8)]?_0x4d87a5[_0x243c76(0xe8)]:'')),![];}return!![];}async[a110_0x3b4142(0x131)](_0x47b37b,_0x2232fa,_0x21df61){const _0x288ed4=a110_0x3b4142,_0x515183={'anmHf':function(_0x517066,_0x51a16c,_0xcc6fdd,_0x368f9a,_0x28e018,_0x563ae0,_0x38d14a){return _0x517066(_0x51a16c,_0xcc6fdd,_0x368f9a,_0x28e018,_0x563ae0,_0x38d14a);},'qjhdf':_0x288ed4(0xec),'CIwCm':_0x288ed4(0x104),'JxMMe':_0x288ed4(0xf0)};try{await this[_0x288ed4(0x115)](_0x47b37b,_0x2232fa,_0x21df61,![]);const _0x36cf80=(await _0x2232fa[_0x288ed4(0xdc)]())['getId'](),_0x48a607=new Date(),_0x4a84fa=_0x515183[_0x288ed4(0xdf)](timeoutPromise,constants[_0x288ed4(0xe5)],_0x515183[_0x288ed4(0x13f)],_0x515183[_0x288ed4(0x136)],_0x48a607,this[_0x288ed4(0x107)],this[_0x288ed4(0xf6)]),_0x12b19f=await Promise[_0x288ed4(0xe4)]([this[_0x288ed4(0x116)][_0x288ed4(0xe1)](constants[_0x288ed4(0x12d)],_0x36cf80,globals[_0x288ed4(0x11c)](_0x515183['JxMMe']))[_0x288ed4(0xd4)](_0x5e0b1d=>{const _0x32cabb=_0x288ed4;return _0x4a84fa[_0x32cabb(0xe7)](),_0x5e0b1d;}),_0x4a84fa]);if(_0x12b19f&&_0x12b19f[_0x288ed4(0xf7)]&&_0x12b19f['value']){const _0x2fb6df={};return _0x2fb6df[_0x288ed4(0xd9)]=_0x12b19f[_0x288ed4(0xf7)],_0x2fb6df[_0x288ed4(0xe6)]=_0x12b19f[_0x288ed4(0xe2)],_0x2fb6df[_0x288ed4(0x11b)]=!![],_0x2fb6df;}const _0x331c69={};return _0x331c69[_0x288ed4(0xd9)]=_0x21df61[_0x288ed4(0xfd)][_0x288ed4(0x133)],_0x331c69[_0x288ed4(0xe6)]=_0x12b19f[_0x288ed4(0xe2)],_0x331c69[_0x288ed4(0x11b)]=!![],_0x331c69;}catch(_0x2b1478){return logger['debug'](_0x288ed4(0x117)+(_0x2b1478&&_0x2b1478[_0x288ed4(0xe8)]?_0x2b1478['message']:'')),logger[_0x288ed4(0x103)]('Healing\x20Failed,\x20Browserstack\x20AI\x20could\x20not\x20heal\x20the\x20'+_0x21df61[_0x288ed4(0x135)]+_0x288ed4(0xd6)),_0x21df61;}}}exports[a110_0x3b4142(0x10f)]=Object[a110_0x3b4142(0xf9)](new AiSdkWrapper());
|
|
1
|
+
function a110_0x4e01(){const _0x20d8c1=['BrowserstackHealing.healFailure\x20method\x20timed\x20out','browserName','fumyX','using','getCommands','get','HfenB','newCapabilities','840vmdLko','kWYZx','GRUyP','aiHeal_sessionToken','aiHealing','ocCjT','16664polrRb','566634GhGYsJ','\x22,\x20\x22tcgUrls\x22:\x20{\x22','getTestName','BrowserstackHealingLogDataFailed','join','firefox','path','nYMRE','parameters_','chrome','../../ai-sdk-node/bundle','1665624YOzjXz','info','microsoftedge','log','sDgqC','edgeOptions_','RVBPg','PfRAN','dRvFt','../../helpers/timeoutPromise','dXXnG','GkVGt','handleFailure','\x22:\x20{\x22endpoint\x22:\x20\x22','aiHeal_isGroupAIEnabled','map_','\x22}}}','capabilities_','UPdbQ','jaxzW','fromEntries','rOhiF','SET_TCG_TOKEN_TIMEOUT','../globals','forEach','HEALING_LOG_DATA_TIMEOUT','BrowserstackHealing.pollResult\x20method\x20timed\x20out','FnAcf','initializeCapabilities','Error\x20in\x20(healing)\x20success\x20event.\x20ERROR:\x20','firefoxOptions_','TCG_REGION','4yiRksj','toLowerCase','gZFfH','getProjectName','cancel','safariOptions_','pkXhT','BrowserstackHealing','TCG_URL','winstonLogger','MhCDi','config','Healing\x20Failed,\x20Browserstack\x20AI\x20could\x20not\x20heal\x20the\x20','then','split','../logger','xryUN','POLL_HEALING_RESULT_TIMEOUT','ieOptions_','getCapabilities','isSelfHealEnabled','value','Error\x20in\x20(healing)\x20handling\x20failure\x20event.\x20ERROR:\x20','handleSuccess','866805TpIbXN','pollResult','bPFrr','894681tIUtca','message','selector','EoBHc','lZJCT','nTyKA','getId','getSession','BrowserstackHealing.setToken\x20method\x20timed\x20out','xEORW','BrowserstackHealing.logData\x20method\x20timed\x20out','locatorType','BrowserstackHealingPollResultFailed','GBXtP','sVndp','set','locatorValue','framework','race','Unable\x20to\x20load\x20healing\x20module,\x20error:\x20','safari','initializeHealingCapabilities','36267XGjrZQ','zNrka','string','qibiq','IxilC','logData','executeScript','keys','browserstackSessionName','freeze','aiHeal_userId','\x20command','PTvxl','122777iPJQyk','yYvbs','VqItb','debug','70tWZtET','aiSdkWrapper','edge','getGlobal','replace','error','itavH','_handleEvent','BrowserstackHealingSetTcgTokenFailed','../../bin/utils/constants'];a110_0x4e01=function(){return _0x20d8c1;};return a110_0x4e01();}const a110_0x11a97a=a110_0x5277;(function(_0x112b5b,_0x12b89e){const _0x19a01e=a110_0x5277,_0x101f87=_0x112b5b();while(!![]){try{const _0x134caa=-parseInt(_0x19a01e(0x146))/0x1+parseInt(_0x19a01e(0x163))/0x2+parseInt(_0x19a01e(0x1bf))/0x3+parseInt(_0x19a01e(0x18e))/0x4*(-parseInt(_0x19a01e(0x1a6))/0x5)+-parseInt(_0x19a01e(0x16e))/0x6+parseInt(_0x19a01e(0x15c))/0x7*(-parseInt(_0x19a01e(0x162))/0x8)+-parseInt(_0x19a01e(0x1a9))/0x9*(-parseInt(_0x19a01e(0x14a))/0xa);if(_0x134caa===_0x12b89e)break;else _0x101f87['push'](_0x101f87['shift']());}catch(_0x1384f6){_0x101f87['push'](_0x101f87['shift']());}}}(a110_0x4e01,0x28e8f));const path=require(a110_0x11a97a(0x169)),{commandRepository}=require('./autoHealHelper'),constants=require(a110_0x11a97a(0x153)),logger=require(a110_0x11a97a(0x19d))[a110_0x11a97a(0x197)],globals=require(a110_0x11a97a(0x185)),timeoutPromise=require(a110_0x11a97a(0x177)),isUndefinedOrNull=_0x1828de=>_0x1828de===undefined||_0x1828de===null||_0x1828de==='',isNotUndefinedOrNull=_0x18eb21=>!isUndefinedOrNull(_0x18eb21),isString=_0x45cfcd=>isNotUndefinedOrNull(_0x45cfcd)&&typeof _0x45cfcd===a110_0x11a97a(0x1c1);function a110_0x5277(_0xcdb96d,_0x11fe98){const _0x4e0132=a110_0x4e01();return a110_0x5277=function(_0x5277ce,_0x1d7b40){_0x5277ce=_0x5277ce-0x13d;let _0x4f963e=_0x4e0132[_0x5277ce];return _0x4f963e;},a110_0x5277(_0xcdb96d,_0x11fe98);}class AiSdkWrapper{constructor(){const _0xa8ce22=a110_0x11a97a,_0x1b49c3={'bPFrr':function(_0x4b4797,_0x11dbd8){return _0x4b4797(_0x11dbd8);},'nTyKA':_0xa8ce22(0x16d)};this['BrowserstackHealing']=undefined;try{this[_0xa8ce22(0x195)]=_0x1b49c3[_0xa8ce22(0x1a8)](require,path[_0xa8ce22(0x167)](__dirname,_0x1b49c3[_0xa8ce22(0x1ae)]));}catch(_0x3d4fbc){logger['error'](_0xa8ce22(0x1bc)+(_0x3d4fbc&&_0x3d4fbc[_0xa8ce22(0x1aa)]?_0x3d4fbc[_0xa8ce22(0x1aa)]:''));}}[a110_0x11a97a(0x1be)](_0x445342){const _0x57556f=a110_0x11a97a,_0x37a2cc={};_0x37a2cc[_0x57556f(0x1c0)]=_0x57556f(0x15b),_0x37a2cc[_0x57556f(0x15d)]=function(_0x23b3e4,_0x118f5f){return _0x23b3e4===_0x118f5f;},_0x37a2cc[_0x57556f(0x150)]=_0x57556f(0x16c),_0x37a2cc['pkXhT']=function(_0x23f615,_0x502faa){return _0x23f615===_0x502faa;},_0x37a2cc[_0x57556f(0x1c2)]=_0x57556f(0x168),_0x37a2cc[_0x57556f(0x174)]=function(_0x755fcf,_0x566a0b){return _0x755fcf===_0x566a0b;},_0x37a2cc[_0x57556f(0x176)]=_0x57556f(0x1bd),_0x37a2cc[_0x57556f(0x1ac)]=_0x57556f(0x14c),_0x37a2cc[_0x57556f(0x172)]=function(_0x35534f,_0x562dff){return _0x35534f===_0x562dff;},_0x37a2cc[_0x57556f(0x156)]=_0x57556f(0x170),_0x37a2cc['HiXiG']=function(_0x53c159,_0x4ca826){return _0x53c159===_0x4ca826;};const _0x58aedf=_0x37a2cc;try{const _0x37d65d=this['BrowserstackHealing'][_0x57556f(0x18a)](Object[_0x57556f(0x182)](_0x445342[_0x57556f(0x1a1)]()[_0x57556f(0x17d)]));console[_0x57556f(0x171)](_0x58aedf[_0x57556f(0x1c0)],_0x37d65d);if(_0x58aedf[_0x57556f(0x15d)](_0x37d65d?.[_0x57556f(0x155)]?.[_0x57556f(0x18f)](),_0x58aedf[_0x57556f(0x150)]))_0x445342['chromeOptions_']=_0x37d65d;else{if(_0x58aedf[_0x57556f(0x194)](_0x37d65d?.[_0x57556f(0x155)]?.[_0x57556f(0x18f)](),_0x58aedf['qibiq']))_0x445342[_0x57556f(0x18c)]=_0x37d65d;else{if(_0x58aedf[_0x57556f(0x174)](_0x37d65d?.[_0x57556f(0x155)]?.[_0x57556f(0x18f)](),_0x58aedf[_0x57556f(0x176)]))_0x445342[_0x57556f(0x193)]=_0x37d65d;else{if(_0x58aedf[_0x57556f(0x194)](_0x37d65d?.[_0x57556f(0x155)]?.['toLowerCase'](),_0x58aedf[_0x57556f(0x1ac)])||_0x58aedf['sDgqC'](_0x37d65d?.[_0x57556f(0x155)]?.['toLowerCase'](),_0x58aedf[_0x57556f(0x156)]))_0x445342[_0x57556f(0x173)]=_0x37d65d;else _0x58aedf['HiXiG'](_0x37d65d?.[_0x57556f(0x155)]?.[_0x57556f(0x18f)](),'ie')&&(_0x445342[_0x57556f(0x1a0)]=_0x37d65d);}}}Object[_0x57556f(0x140)](_0x37d65d)[_0x57556f(0x186)](_0x5dbdec=>{const _0x31e986=_0x57556f,_0x59ad4b=_0x445342[_0x31e986(0x17f)][_0x31e986(0x159)](_0x5dbdec);_0x445342[_0x31e986(0x17f)][_0x31e986(0x1b8)](_0x5dbdec,_0x37d65d[_0x5dbdec]);});}catch(_0x47a755){logger[_0x57556f(0x14f)]('Error\x20in\x20initialising\x20healing\x20capabilities\x20,\x20error:\x20'+(_0x47a755&&_0x47a755[_0x57556f(0x1aa)]?_0x47a755[_0x57556f(0x1aa)]:''));}}async['setTcgToken'](_0xaff489){const _0x36a374=a110_0x11a97a,_0x1af9fa={'dXXnG':function(_0x3e8742,_0x2137c9,_0x399c0b,_0x5ae5d4,_0xb3d0c7,_0x5777ce,_0x5d3dd0){return _0x3e8742(_0x2137c9,_0x399c0b,_0x5ae5d4,_0xb3d0c7,_0x5777ce,_0x5d3dd0);},'ocCjT':_0x36a374(0x1b1),'sVndp':_0x36a374(0x152),'rOhiF':_0x36a374(0x15f)},_0x32d5df=new Date(),_0x38c597=_0x1af9fa[_0x36a374(0x178)](timeoutPromise,constants[_0x36a374(0x184)],_0x1af9fa[_0x36a374(0x161)],_0x1af9fa[_0x36a374(0x1b7)],_0x32d5df,this[_0x36a374(0x199)],this[_0x36a374(0x1ba)]);await Promise[_0x36a374(0x1bb)]([this[_0x36a374(0x195)]['setToken'](_0xaff489,globals[_0x36a374(0x14d)](_0x1af9fa[_0x36a374(0x183)]),constants[_0x36a374(0x196)])['then'](()=>{const _0x4487c4=_0x36a374;_0x38c597[_0x4487c4(0x192)]();}),_0x38c597]);}async[a110_0x11a97a(0x151)](_0x39f163,_0x1306a2,_0x46e2e9,_0x5d9fa5){const _0x1fbc6f=a110_0x11a97a,_0x1190fc={'OfpFA':function(_0x4c14db,_0x2e90ae){return _0x4c14db===_0x2e90ae;},'PTsPC':function(_0x7dbf17,_0x412bf2){return _0x7dbf17===_0x412bf2;},'UPdbQ':function(_0xda8387,_0x2625bc){return _0xda8387(_0x2625bc);},'PTvxl':function(_0x4c5574,_0x47e2cf){return _0x4c5574(_0x47e2cf);},'xEORW':function(_0x587d90,_0x50287c){return _0x587d90(_0x50287c);},'HfenB':function(_0x2c64cc,_0x1399f4){return _0x2c64cc(_0x1399f4);},'MhCDi':function(_0x3d4410,_0x191c38){return _0x3d4410(_0x191c38);},'FnAcf':'s://','PfRAN':function(_0x3205d6,_0x8fbb91){return _0x3205d6(_0x8fbb91);},'GkVGt':_0x1fbc6f(0x143),'jaxzW':'aiHeal_groupId','IxilC':_0x1fbc6f(0x17c),'gZFfH':function(_0x5e51c4,_0x107e69,_0x364b78,_0x1a911f,_0x1a89de,_0xb4e19a,_0x1abc7e){return _0x5e51c4(_0x107e69,_0x364b78,_0x1a911f,_0x1a89de,_0xb4e19a,_0x1abc7e);},'GRUyP':_0x1fbc6f(0x1b3),'GBXtP':_0x1fbc6f(0x166),'VqItb':function(_0x591989,_0x4b8f2b,_0x59cabc,_0x203539,_0x66d1e3,_0x555512,_0x16f319){return _0x591989(_0x4b8f2b,_0x59cabc,_0x203539,_0x66d1e3,_0x555512,_0x16f319);},'lZJCT':_0x1fbc6f(0x154),'ylOxb':'BrowserstackHealingHealFailureFailed'},_0x375e50=(await _0x1306a2[_0x1fbc6f(0x1b0)]())[_0x1fbc6f(0x1af)]();let _0x52fd86='';if(commandRepository[_0x1fbc6f(0x1a2)]()&&_0x1190fc['OfpFA'](_0x5d9fa5,![])||_0x1190fc['PTsPC'](_0x5d9fa5,!![])){const _0xb6d46d=_0x1190fc['UPdbQ'](isNotUndefinedOrNull,_0x46e2e9[_0x1fbc6f(0x16b)][_0x1fbc6f(0x157)])&&_0x1190fc['UPdbQ'](isString,_0x46e2e9[_0x1fbc6f(0x16b)][_0x1fbc6f(0x157)])?_0x46e2e9[_0x1fbc6f(0x16b)]['using'][_0x1fbc6f(0x14e)](/'/g,'\x5c\x27')[_0x1fbc6f(0x14e)](/"/g,'\x5c\x22'):'',_0x5ddfc0=_0x1190fc[_0x1fbc6f(0x145)](isNotUndefinedOrNull,_0x46e2e9['parameters_'][_0x1fbc6f(0x157)])&&_0x1190fc[_0x1fbc6f(0x145)](isString,_0x46e2e9[_0x1fbc6f(0x16b)][_0x1fbc6f(0x1a3)])?_0x46e2e9[_0x1fbc6f(0x16b)]['value']['replace'](/'/g,'\x5c\x27')[_0x1fbc6f(0x14e)](/"/g,'\x5c\x22'):'',_0x2237e2=_0x1190fc[_0x1fbc6f(0x1b2)](isNotUndefinedOrNull,commandRepository[_0x1fbc6f(0x191)]())&&_0x1190fc[_0x1fbc6f(0x1b2)](isString,commandRepository[_0x1fbc6f(0x191)]())?commandRepository[_0x1fbc6f(0x191)]()[_0x1fbc6f(0x14e)](/'/g,'\x5c\x27')[_0x1fbc6f(0x14e)](/"/g,'\x5c\x22'):'';let _0x590201=_0x1190fc[_0x1fbc6f(0x15a)](isNotUndefinedOrNull,global[_0x1fbc6f(0x141)])&&_0x1190fc[_0x1fbc6f(0x180)](isString,global[_0x1fbc6f(0x141)])?global[_0x1fbc6f(0x141)]['replace'](/'/g,'\x5c\x27')['replace'](/"/g,'\x5c\x22'):'';!_0x590201&&(_0x590201=_0x1190fc['MhCDi'](isNotUndefinedOrNull,commandRepository[_0x1fbc6f(0x165)]())&&_0x1190fc[_0x1fbc6f(0x198)](isString,commandRepository[_0x1fbc6f(0x165)]())?commandRepository['getTestName']()[_0x1fbc6f(0x14e)](/'/g,'\x5c\x27')[_0x1fbc6f(0x14e)](/"/g,'\x5c\x22'):'');let _0x3e5ec8='{\x22region\x22:\x20\x22'+constants[_0x1fbc6f(0x18d)]+_0x1fbc6f(0x164)+constants['TCG_REGION']+_0x1fbc6f(0x17b)+constants[_0x1fbc6f(0x196)][_0x1fbc6f(0x19c)](_0x1190fc[_0x1fbc6f(0x189)])[0x1]+_0x1fbc6f(0x17e);_0x3e5ec8=_0x1190fc['PTvxl'](isNotUndefinedOrNull,_0x3e5ec8)&&_0x1190fc[_0x1fbc6f(0x175)](isString,_0x3e5ec8)?_0x3e5ec8['replace'](/'/g,'\x5c\x27')[_0x1fbc6f(0x14e)](/"/g,'\x5c\x22'):'';const _0x245f2b=commandRepository[_0x1fbc6f(0x158)](_0x375e50),_0x2e9733=globals[_0x1fbc6f(0x14d)](_0x1190fc[_0x1fbc6f(0x179)]),_0x271a16=globals[_0x1fbc6f(0x14d)](_0x1190fc[_0x1fbc6f(0x181)]),_0x12ec78=globals['getGlobal'](_0x1190fc[_0x1fbc6f(0x13d)]),_0x4b0c89=![],_0x18d825=new Date();if(_0x5d9fa5){const _0x4fec23=_0x1190fc[_0x1fbc6f(0x190)](timeoutPromise,constants[_0x1fbc6f(0x187)],_0x1190fc[_0x1fbc6f(0x15e)],_0x1190fc[_0x1fbc6f(0x1b6)],_0x18d825,this['config'],this[_0x1fbc6f(0x1ba)]);_0x52fd86=await Promise[_0x1fbc6f(0x1bb)]([this[_0x1fbc6f(0x195)][_0x1fbc6f(0x13e)](_0xb6d46d,_0x5ddfc0,_0x2237e2,_0x590201,_0x271a16,_0x375e50,_0x245f2b,_0x3e5ec8)[_0x1fbc6f(0x19b)](_0x536355=>{const _0x42908d=_0x1fbc6f;return _0x4fec23[_0x42908d(0x192)](),_0x536355;}),_0x4fec23]);}else{if(commandRepository['isSelfHealEnabled']()){const _0x21bdfc=_0x1190fc[_0x1fbc6f(0x148)](timeoutPromise,constants['HEALING_FAILURE_TIMEOUT'],_0x1190fc[_0x1fbc6f(0x1ad)],_0x1190fc['ylOxb'],_0x18d825,this['config'],this[_0x1fbc6f(0x1ba)]);_0x52fd86=await Promise[_0x1fbc6f(0x1bb)]([this['BrowserstackHealing']['healFailure'](_0xb6d46d,_0x5ddfc0,_0x2237e2,_0x590201,_0x2e9733,_0x271a16,_0x375e50,_0x245f2b,_0x4b0c89,_0x12ec78,_0x3e5ec8)[_0x1fbc6f(0x19b)](_0x3aa772=>{const _0x3c7bd9=_0x1fbc6f;return _0x21bdfc[_0x3c7bd9(0x192)](),_0x3aa772;}),_0x21bdfc]);}}_0x52fd86&&await _0x1306a2[_0x1fbc6f(0x13f)](_0x52fd86);}}async[a110_0x11a97a(0x1a5)](_0x51e2c2,_0x376f62,_0x3223fc){const _0x21f0bc=a110_0x11a97a;try{await this[_0x21f0bc(0x151)](_0x51e2c2,_0x376f62,_0x3223fc,!![]);}catch(_0x51830d){return logger['error'](_0x21f0bc(0x18b)+(_0x51830d&&_0x51830d[_0x21f0bc(0x1aa)]?_0x51830d[_0x21f0bc(0x1aa)]:'')),![];}return!![];}async[a110_0x11a97a(0x17a)](_0x40886a,_0x2a7bcd,_0x546444){const _0xa22ece=a110_0x11a97a,_0x9975cf={'yYvbs':function(_0x4a0780,_0x28c838,_0x448117,_0x36da11,_0x34d0ad,_0x70cb8a,_0x599d9e){return _0x4a0780(_0x28c838,_0x448117,_0x36da11,_0x34d0ad,_0x70cb8a,_0x599d9e);},'nYMRE':_0xa22ece(0x188),'xryUN':_0xa22ece(0x1b5),'pezjd':_0xa22ece(0x15f)};try{await this[_0xa22ece(0x151)](_0x40886a,_0x2a7bcd,_0x546444,![]);const _0x5b7871=(await _0x2a7bcd[_0xa22ece(0x1b0)]())['getId'](),_0x32cfa2=new Date(),_0x41d61a=_0x9975cf[_0xa22ece(0x147)](timeoutPromise,constants[_0xa22ece(0x19f)],_0x9975cf[_0xa22ece(0x16a)],_0x9975cf[_0xa22ece(0x19e)],_0x32cfa2,this[_0xa22ece(0x199)],this[_0xa22ece(0x1ba)]),_0x4476e2=await Promise[_0xa22ece(0x1bb)]([this[_0xa22ece(0x195)][_0xa22ece(0x1a7)](constants[_0xa22ece(0x196)],_0x5b7871,globals['getGlobal'](_0x9975cf['pezjd']))[_0xa22ece(0x19b)](_0x18aa03=>{const _0x54ccb7=_0xa22ece;return _0x41d61a[_0x54ccb7(0x192)](),_0x18aa03;}),_0x41d61a]);if(_0x4476e2&&_0x4476e2[_0xa22ece(0x1ab)]&&_0x4476e2['value']){const _0x5f4544={};return _0x5f4544[_0xa22ece(0x1b4)]=_0x4476e2[_0xa22ece(0x1ab)],_0x5f4544['locatorValue']=_0x4476e2[_0xa22ece(0x1a3)],_0x5f4544[_0xa22ece(0x160)]=!![],_0x5f4544;}const _0x5d7f6a={};return _0x5d7f6a[_0xa22ece(0x1b4)]=_0x546444['parameters_'][_0xa22ece(0x157)],_0x5d7f6a[_0xa22ece(0x1b9)]=_0x4476e2['value'],_0x5d7f6a[_0xa22ece(0x160)]=!![],_0x5d7f6a;}catch(_0x23a633){return logger[_0xa22ece(0x149)](_0xa22ece(0x1a4)+(_0x23a633&&_0x23a633['message']?_0x23a633[_0xa22ece(0x1aa)]:'')),logger[_0xa22ece(0x16f)](_0xa22ece(0x19a)+_0x546444['name_']+_0xa22ece(0x144)),_0x546444;}}}exports[a110_0x11a97a(0x14b)]=Object[a110_0x11a97a(0x142)](new AiSdkWrapper());
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a111_0x2ee701=a111_0x1fb9;(function(_0x5adfa0,_0x12ec38){const _0x506aa0=a111_0x1fb9,_0x3afce7=_0x5adfa0();while(!![]){try{const _0x1ed4fb=-parseInt(_0x506aa0(0x13b))/0x1+parseInt(_0x506aa0(0x145))/0x2+-parseInt(_0x506aa0(0x112))/0x3*(-parseInt(_0x506aa0(0x142))/0x4)+-parseInt(_0x506aa0(0x118))/0x5*(parseInt(_0x506aa0(0x138))/0x6)+-parseInt(_0x506aa0(0x10d))/0x7+-parseInt(_0x506aa0(0x141))/0x8*(-parseInt(_0x506aa0(0x11f))/0x9)+parseInt(_0x506aa0(0x146))/0xa*(parseInt(_0x506aa0(0x139))/0xb);if(_0x1ed4fb===_0x12ec38)break;else _0x3afce7['push'](_0x3afce7['shift']());}catch(_0x53cf37){_0x3afce7['push'](_0x3afce7['shift']());}}}(a111_0x2d30,0xb46f4));function a111_0x1fb9(_0x11a4df,_0x3cf67b){const _0x2d3009=a111_0x2d30();return a111_0x1fb9=function(_0x1fb9ea,_0x4f506c){_0x1fb9ea=_0x1fb9ea-0x10b;let _0x50f11b=_0x2d3009[_0x1fb9ea];return _0x50f11b;},a111_0x1fb9(_0x11a4df,_0x3cf67b);}const calculateTimeDiff=_0x209293=>Date[a111_0x2ee701(0x137)]()-_0x209293,logger=require(a111_0x2ee701(0x13c))[a111_0x2ee701(0x11b)],globals=require(a111_0x2ee701(0x144));class HealingCommandRepo{constructor(){const _0x4e9103=a111_0x2ee701,_0x5819ad={};_0x5819ad[_0x4e9103(0x12f)]='2|4|3|1|0|5';const _0x482002=_0x5819ad,_0x4ac858=_0x482002[_0x4e9103(0x12f)][_0x4e9103(0x13e)]('|');let _0x500944=0x0;while(!![]){switch(_0x4ac858[_0x500944++]){case'0':this[_0x4e9103(0x126)]={};continue;case'1':this[_0x4e9103(0x143)]='';continue;case'2':this[_0x4e9103(0x133)]={};continue;case'3':this[_0x4e9103(0x136)]='';continue;case'4':this['aiSessionTimeStamp']={};continue;case'5':this['isTcgTokenSet']=![];continue;}break;}}['_pushCommand'](_0x2dd555,_0x2ee939){const _0x51e77b=a111_0x2ee701,_0x4e9d8b={};_0x4e9d8b[_0x51e77b(0x11e)]=function(_0x14d559,_0x2a36e0){return _0x14d559 in _0x2a36e0;};const _0x5c7186=_0x4e9d8b;!_0x5c7186['LrDEf'](_0x2dd555,this[_0x51e77b(0x133)])&&(this[_0x51e77b(0x133)][_0x2dd555]=[]),this[_0x51e77b(0x133)][_0x2dd555][_0x51e77b(0x11c)](_0x2ee939);}[a111_0x2ee701(0x123)](_0x235a5d,_0x17f395){const _0x13fae0=a111_0x2ee701,_0x497710={'omkhV':function(_0x346a5e,_0x22a4d4){return _0x346a5e(_0x22a4d4);}},_0x17bcb2=_0x17f395[_0x13fae0(0x113)],_0x3e1495=_0x17f395[_0x13fae0(0x122)]['split'](_0x235a5d)[0x1],_0x13bd01=this['aiSessionTimeStamp'][_0x235a5d],_0x2c641d={'k':_0x17bcb2+':'+_0x3e1495,'t':_0x497710[_0x13fae0(0x125)](calculateTimeDiff,_0x13bd01)};this[_0x13fae0(0x130)](_0x235a5d,_0x2c641d);}[a111_0x2ee701(0x124)](_0x6ba73b){const _0x2f0d38=a111_0x2ee701;this[_0x2f0d38(0x132)][_0x6ba73b]=Date[_0x2f0d38(0x137)]();}[a111_0x2ee701(0x10f)](_0x561b23,_0xfb2a3a){const _0x459a50=a111_0x2ee701;this[_0x459a50(0x126)][_0x459a50(0x10e)]=_0x561b23,this[_0x459a50(0x126)][_0x459a50(0x12d)]=_0xfb2a3a;}[a111_0x2ee701(0x128)](){return this['authInfo'];}[a111_0x2ee701(0x11a)](_0x597f13){const _0x457958=a111_0x2ee701;this[_0x457958(0x136)]=_0x597f13;}[a111_0x2ee701(0x13f)](_0x4d3d25){const _0x496a61=a111_0x2ee701;this[_0x496a61(0x143)]=_0x4d3d25;}[a111_0x2ee701(0x116)](_0x2d08c1){const _0x38c639=a111_0x2ee701;this['config']=_0x2d08c1,this[_0x38c639(0x11a)](_0x2d08c1[_0x38c639(0x136)]),this[_0x38c639(0x10f)](_0x2d08c1[_0x38c639(0x10e)],_0x2d08c1[_0x38c639(0x12d)]);}['setFramework'](_0x40f3e7){const _0x57f564=a111_0x2ee701;this[_0x57f564(0x121)]=_0x40f3e7;}[a111_0x2ee701(0x12a)](_0x1bb041){const _0x1523e1=a111_0x2ee701;this[_0x1523e1(0x10b)]=_0x1bb041;}[a111_0x2ee701(0x12c)](){return this['config'];}['getFramework'](){return this['framework'];}[a111_0x2ee701(0x119)](){const _0x15037b=a111_0x2ee701;return this[_0x15037b(0x136)];}[a111_0x2ee701(0x110)](){const _0x20b57d=a111_0x2ee701;return this[_0x20b57d(0x143)];}[a111_0x2ee701(0x131)](_0x1d774f){const _0x53eb24=a111_0x2ee701,_0x4f6d48={};_0x4f6d48['iIANT']=_0x53eb24(0x129),_0x4f6d48[_0x53eb24(0x134)]=_0x53eb24(0x12e),_0x4f6d48[_0x53eb24(0x114)]=function(_0x579d51,_0x4dd753){return _0x579d51===_0x4dd753;},_0x4f6d48[_0x53eb24(0x115)]=function(_0x2676a6,_0x1cbad1){return _0x2676a6+_0x1cbad1;},_0x4f6d48[_0x53eb24(0x127)]=_0x53eb24(0x135);const _0x1040a5=_0x4f6d48,_0x15dc39=this[_0x53eb24(0x133)][_0x1d774f];this['commands'][_0x1d774f]=[];if(globals[_0x53eb24(0x120)](_0x1040a5[_0x53eb24(0x10c)])&&globals[_0x53eb24(0x120)](_0x1040a5[_0x53eb24(0x134)])&&!_0x15dc39||_0x1040a5['Wkfaa'](_0x15dc39[_0x53eb24(0x148)],0x0))return logger['debug'](_0x1040a5[_0x53eb24(0x115)](_0x1040a5[_0x53eb24(0x127)],_0x1d774f)),'';return _0x15dc39['map'](_0x4dfe61=>JSON[_0x53eb24(0x111)](_0x4dfe61))[_0x53eb24(0x13d)](',');}['isSelfHealEnabled'](){const _0x2fee42=a111_0x2ee701,_0x31849a={};_0x31849a[_0x2fee42(0x147)]=function(_0x3b0ba6,_0x4b1f6a){return _0x3b0ba6===_0x4b1f6a;},_0x31849a[_0x2fee42(0x12b)]=function(_0x44e8a4,_0x1b021e){return _0x44e8a4===_0x1b021e;},_0x31849a[_0x2fee42(0x13a)]=_0x2fee42(0x11d);const _0x25a589=_0x31849a;let _0x394894=![];return this['getConfig']()&&(_0x25a589['xSZQz'](this[_0x2fee42(0x12c)]()[_0x2fee42(0x117)],!![])||_0x25a589[_0x2fee42(0x12b)](this[_0x2fee42(0x12c)]()[_0x2fee42(0x117)],_0x25a589[_0x2fee42(0x13a)]))&&(_0x394894=!![]),_0x394894;}[a111_0x2ee701(0x140)](){const _0x423622=a111_0x2ee701;return this[_0x423622(0x10b)];}}exports['commandRepository']=new HealingCommandRepo();function a111_0x2d30(){const _0x6b7706=['KUWmv','1100630CuVNxr','../logger','join','split','setTestNameForHealingContext','getTcgTokenStatus','6562984YueHnC','87684iEjhff','testName','../globals','2810622tGDXDu','84460IppSCQ','xSZQz','length','isTcgTokenSet','iIANT','8673700UwuXpM','userName','setAuthInfo','getTestName','stringify','81FILbMr','method','Wkfaa','UauOZ','setConfig','selfHeal','5oRCJml','getProjectName','setProjectNameForHealingContext','winstonLogger','push','true','LrDEf','9PRnFeg','getGlobal','framework','path','pushCommand','setAiSessionTimeStamp','omkhV','authInfo','sTpcl','getAuthInfo','aiHeal_isAuthenticated','setTcgTokenStatus','vPgDJ','getConfig','accessKey','aiHeal_isHealingEnabled','sYGpx','_pushCommand','getCommands','aiSessionTimeStamp','commands','QSMUd','No\x20commands\x20found\x20for\x20session:\x20','projectName','now','7756950WVqHLA','2024dEcryL'];a111_0x2d30=function(){return _0x6b7706;};return a111_0x2d30();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a112_0x3334(_0x205252,_0x379ac6){const _0x236c85=a112_0x236c();return a112_0x3334=function(_0x333439,_0x4a3423){_0x333439=_0x333439-0x153;let _0x446152=_0x236c85[_0x333439];return _0x446152;},a112_0x3334(_0x205252,_0x379ac6);}const a112_0x36e96b=a112_0x3334;(function(_0xf66868,_0x2ec864){const _0x2db838=a112_0x3334,_0x46f376=_0xf66868();while(!![]){try{const _0x161e4a=parseInt(_0x2db838(0x15d))/0x1*(-parseInt(_0x2db838(0x162))/0x2)+-parseInt(_0x2db838(0x166))/0x3*(parseInt(_0x2db838(0x160))/0x4)+parseInt(_0x2db838(0x164))/0x5+-parseInt(_0x2db838(0x15f))/0x6*(-parseInt(_0x2db838(0x167))/0x7)+parseInt(_0x2db838(0x153))/0x8*(parseInt(_0x2db838(0x15e))/0x9)+-parseInt(_0x2db838(0x155))/0xa+parseInt(_0x2db838(0x161))/0xb;if(_0x161e4a===_0x2ec864)break;else _0x46f376['push'](_0x46f376['shift']());}catch(_0x1a1c6c){_0x46f376['push'](_0x46f376['shift']());}}}(a112_0x236c,0x8d738));const a112_0x3bc495={};function a112_0x236c(){const _0x111330=['44514jHxzjH','140364PnVUEL','136sBWGUu','576004elkVHB','4Lamtvc','BUILDS_DASHBOARD_URL','3300230brJgXc','exports','4179eKXpHN','203dDfcTU','preprod','296wYXOoY','staging','6852040iAFoDa','toLowerCase','automate-turboscale/v1','stag','https://grid-preprod.bsstag.com/dashboard/builds','BROWSERSTACK_ENV','API_ENDPOINT','prod','130944bgBKaY'];a112_0x236c=function(){return _0x111330;};return a112_0x236c();}a112_0x3bc495['BUILDS_DASHBOARD_URL']='https://grid.browserstack.com/dashboard/builds',a112_0x3bc495[a112_0x36e96b(0x15b)]=a112_0x36e96b(0x157),module[a112_0x36e96b(0x165)]=a112_0x3bc495;const _env=(process['env'][a112_0x36e96b(0x15a)]||a112_0x36e96b(0x15c))[a112_0x36e96b(0x156)]();if(_env===a112_0x36e96b(0x154)||_env===a112_0x36e96b(0x158))module['exports'][a112_0x36e96b(0x163)]='https://grid-devhst.bsstag.com/dashboard/builds';else(_env===a112_0x36e96b(0x168)||_env==='pre-prod')&&(module[a112_0x36e96b(0x165)]['BUILDS_DASHBOARD_URL']=a112_0x36e96b(0x159));
|