browserstack-node-sdk 1.54.2 → 1.55.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +3 -3
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +2 -0
- package/src/bin/newman/helper.js +1 -0
- package/src/bin/newman/reporter/index.js +1 -0
- package/src/bin/newman/scriptRunner.js +2 -0
- 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 -0
- 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/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/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
function a103_0x47dc(_0x2dc814,_0x4e79bf){const _0x30ed35=a103_0x30ed();return a103_0x47dc=function(_0x47dcef,_0x3769e3){_0x47dcef=_0x47dcef-0x19f;let _0x47fd0c=_0x30ed35[_0x47dcef];return _0x47fd0c;},a103_0x47dc(_0x2dc814,_0x4e79bf);}function a103_0x30ed(){const _0x5ab5b3=['undefined','parse','NwbgW','getCapabilities','getResults','createAccessibilityTestRun','debug','5010995MFfcEp','bstackA11yShouldScan','GFNTE','version','parseA11yJwtPayload','WgmVp','qHheY','json','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','ZIIyT','toLowerCase','javascript','isMobileAccessibilitySession','Error\x20while\x20adding\x20Non-Bstack\x20capabilities:\x20','buildDescription','platformName','toISOString','Invalid\x20configuration\x20passed.','GLxbp','nwJXf','Not\x20a\x20Accessibility\x20Session','requiresChromeOptionsValidation','NPxMc','getAccessibilityResultsSummary','getPackageVersion','DeKJf','9592pguFAA','get','Performing\x20scan\x20before\x20getting\x20results','capabilities_','ChromeExtension','browserstackSessionName','display_name','min_version_browserstack','selenium-webdriver','success','error','yzACV','isBrowserStackCommandExecutor','split','getResultsSummary','true','--headless','wait','trim','[Accessibility]\x20Selenium\x20performScan\x20payload:\x20','keys','browserstack','performScan','pejts','statusText','device','map','dLWPT','MNYsU','getBrowserVersion','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','Content-Type','IyVcD','fetchPlatformDetails','script','executeScript','getMinVersionForBrowser','chrome','bARtK','Performed\x20scan\x20with\x20result:\x20','FpLWo','executeAsyncScript','yPgQW','getBrowserA11yConfig','stringify','6lwelWD','getMobileA11yCapabilities','false','vvtUl','a11y:start','ftrAm','ebvmx','info','Mobile\x20Accessibility\x20Automation\x20is\x20not\x20enabled\x20for\x20your\x20account.\x20Accessibility\x20scans\x20will\x20be\x20skipped\x20on\x20mobile\x20sessions.\x20Contact\x20BrowserStack\x20to\x20enable\x20mobile\x20accessibility\x20scanning.','getBrowserDisplayName','performScan:\x20Mobile\x20capabilities\x20added\x20to\x20scan\x20arguments','ovsmr','status','DSQER','measureWrapper','--headless=new','./scripts','xwEBd','KXojs','--headless=','currentTest','BROWSERSTACK_TURBOSCALE','MoBdy','application/json','selenium-webdriver/chrome.js','No\x20accessibility\x20summary\x20was\x20found.','AxhxN','format','oENeF','global.__workerDetails\x20exists\x20but\x20.currentTest\x20is\x20undefined\x20—\x20scan\x20fired\x20outside\x20a\x20test\x20body\x20(before/beforeAll\x20hook,\x20or\x20between\x20tests).','method','browserVersion','BROWSERSTACK_TEST_ACCESSIBILITY_YML','UYfec','atRQz','phWMR','OYYDQ','playwright','CAkcU','excludeTagsInTestingScope','data','auth','getAccessKey','isBrowserstackInfra','thTestRunUuid','.\x20The\x20framework\x20setup\x20hook\x20is\x20not\x20writing\x20thTestRunUuid\x20onto\x20currentTest.','getCiInfo','HwHAy','Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20','pIvPz','cuGpL','includeTagsInTestingScope','message','Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20','MOBILE_SCANNING_DISABLED_WARNING','isArray','LEzmb','IdNcX','tzwTm','fPWPL','176VISMJP','QEdtr','requires_chrome_options_check','join','bstackA11yScanOptions','some','PUT','response','toString','user','LmvWU','forEach','getGitMetaData','chromeOptions_','getPlatform','YGloe','min_version_non_browserstack','replace','body','657gTtPra','oVdSm','miiEt','getAccessibilityResults:\x20Mobile\x20session\x20detected,\x20args:\x20','VHiPm','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','isUndefined','tsFPb','Options','khZvR','AkhWb','cwd','BS_A11Y_JWT','mYXVS','path','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20','isMobileScanningEnabledForGroup','resolveMobileThTestRunUuid','mbInl','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','base64','xqPdh','Invalid\x20request:\x20','iGWdM','command','KNEuz','test_runs/stop','noCzK','4sClQkS','mergeDeep','getUserName','GET_RESULTS_SUMMARY','includes','resolve','Error\x20checking\x20mobile\x20accessibility\x20session:\x20','bstack:options','nestedKeyValue','options_','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token','v2/test_runs','BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP','XiODl','browserstack_executor','Mobile\x20Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser.','GET_RESULTS','winstonLogger','from','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','parseFromJson','gnycT','2530284TppDnp','browserName','XThSf','gLrAE','is_mobile_session','basename','4790982DyghcN','isMobileAccessibilityPlatform','projectName','aJGGK','isAccessibilityPlatform','HTNoR','Authorization','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','1029150HUhLIl','LUBnK','warn','shouldScanTestForAccessibility','isBrowserSupportedForAccessibility','UQoKX','string','stack','accessibilityToken','../performance/performance-tester','toJson','kLQYA','qMVaV','DwJUf','yOSUq','android','bvxAI','386892rXQhUY','nodeRequest',']\x20but\x20thTestRunUuid\x20is\x20','../performance/constants','No\x20accessibility\x20results\x20were\x20found.','FqzzD','env','util','oyeje','Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20','MLjGO','getBrowserName','XiGPj','assign','MPgGr','WTLXK','isTrue','ktmOb','JUDJA','292913KxBolU','hBGcQ','ZoCZz','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20','HltZg','dxZxw','goog:chromeOptions','hrpkI','KVEmK','fVfhv','FKFtk','requireModule','buildName','checkAccessibilityPlatformConfig','length','CtotD','mRktF','startsWith','getGlobal','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).','null','headers','RpcLL','OFhAV','OtGLC','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.','function','PERFORM_SCAN','stopAccessibilityTestRun','nonBstackPlatformValidation','args','__cloud_provider___','getAccessibilityResults','MhwWy','getHostInfo','errors','isAccessibilityAutomationSession','isVersionSupported'];a103_0x30ed=function(){return _0x5ab5b3;};return a103_0x30ed();}const a103_0x42e760=a103_0x47dc;(function(_0x397f82,_0xbe6578){const _0x51cb8b=a103_0x47dc,_0xd072d8=_0x397f82();while(!![]){try{const _0x5bd1f5=-parseInt(_0x51cb8b(0x231))/0x1*(parseInt(_0x51cb8b(0x1e9))/0x2)+-parseInt(_0x51cb8b(0x1ff))/0x3+-parseInt(_0x51cb8b(0x21e))/0x4+parseInt(_0x51cb8b(0x25e))/0x5*(parseInt(_0x51cb8b(0x2a5))/0x6)+-parseInt(_0x51cb8b(0x205))/0x7+-parseInt(_0x51cb8b(0x278))/0x8*(-parseInt(_0x51cb8b(0x1cd))/0x9)+parseInt(_0x51cb8b(0x20d))/0xa*(parseInt(_0x51cb8b(0x1ba))/0xb);if(_0x5bd1f5===_0xbe6578)break;else _0xd072d8['push'](_0xd072d8['shift']());}catch(_0x3212db){_0xd072d8['push'](_0xd072d8['shift']());}}}(a103_0x30ed,0x8068b));const path=require(a103_0x42e760(0x1db)),util=require(a103_0x42e760(0x225)),bsSetupHelper=require('../helper'),logger=require('../logger')[a103_0x42e760(0x1fa)],{API_URL,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY,ACCESSIBILITY_SUPPORTED_BROWSERS}=require('./constants'),PerformanceTester=require(a103_0x42e760(0x216)),scripts=require(a103_0x42e760(0x2b5)),globals=require('../globals'),{A11Y_EVENTS:PerformanceA11yEvents}=require(a103_0x42e760(0x221));exports[a103_0x42e760(0x299)]=async _0x34ec59=>{const _0x17ef43=a103_0x42e760,_0x148cee={};_0x148cee['KNEuz']=function(_0x489419,_0x204b0c){return _0x489419===_0x204b0c;},_0x148cee[_0x17ef43(0x1a0)]=_0x17ef43(0x28d);const _0x14a936=_0x148cee;let _0x525925={};try{const _0x12feb9=await _0x34ec59[_0x17ef43(0x25a)]();_0x525925={'os_name':_0x12feb9[_0x17ef43(0x1c8)](),'os_version':bsSetupHelper['getPlatformVersion'](_0x14a936[_0x17ef43(0x1e6)](global[_0x17ef43(0x250)],_0x14a936[_0x17ef43(0x1a0)])),'browser_name':_0x12feb9[_0x17ef43(0x229)](),'browser_version':_0x12feb9[_0x17ef43(0x295)]()};}catch(_0x5055e9){logger['debug'](_0x17ef43(0x1fc)+_0x5055e9);}return _0x525925;},exports[a103_0x42e760(0x255)]=()=>{const _0x56694e=a103_0x42e760,_0x120f74={};_0x120f74[_0x56694e(0x1a4)]=function(_0x4ac31f,_0x548dd8){return _0x4ac31f===_0x548dd8;},_0x120f74[_0x56694e(0x1d4)]=_0x56694e(0x213),_0x120f74['yOSUq']=function(_0x524f0b,_0x206de5){return _0x524f0b>_0x206de5;},_0x120f74[_0x56694e(0x238)]=function(_0x56400a,_0x4ab750){return _0x56400a!==_0x4ab750;},_0x120f74[_0x56694e(0x202)]=_0x56694e(0x245),_0x120f74[_0x56694e(0x233)]=function(_0xb908ec,_0x4d091b){return _0xb908ec&&_0x4d091b;};const _0x1b3894=_0x120f74;try{const _0x15960c=bsSetupHelper['isTrue'](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML'])||bsSetupHelper['isTrue'](process[_0x56694e(0x224)][_0x56694e(0x266)]),_0x2b44a4=_0x1b3894[_0x56694e(0x1a4)](typeof process[_0x56694e(0x224)][_0x56694e(0x1d9)],_0x1b3894[_0x56694e(0x1d4)])&&_0x1b3894[_0x56694e(0x21b)](process['env']['BS_A11Y_JWT'][_0x56694e(0x23f)],0x0)&&_0x1b3894['hrpkI'](process['env']['BS_A11Y_JWT'],_0x1b3894['gLrAE']);return _0x1b3894[_0x56694e(0x233)](_0x15960c,_0x2b44a4);}catch(_0x554271){logger[_0x56694e(0x25d)](_0x56694e(0x227)+_0x554271);}return![];},exports[a103_0x42e760(0x24e)]=(_0x1d70f6,_0x385149)=>{const _0x56ebca=a103_0x42e760,_0x10e982={'iGWdM':_0x56ebca(0x200),'vvtUl':function(_0x2521e2,_0x160eb8){return _0x2521e2(_0x160eb8);},'aJGGK':_0x56ebca(0x2c4),'dLWPT':_0x56ebca(0x261),'ebvmx':_0x56ebca(0x1f0),'mbInl':'deviceName','FKFtk':_0x56ebca(0x291),'XiGPj':_0x56ebca(0x1d2),'noCzK':_0x56ebca(0x2bd),'hIpNI':_0x56ebca(0x280),'MoBdy':_0x56ebca(0x1f2),'DwJUf':_0x56ebca(0x24f),'HTNoR':'chromeOptions','WgmVp':'Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','bvxAI':_0x56ebca(0x237),'yPgQW':function(_0x2c9e0e,_0x4ab244){return _0x2c9e0e===_0x4ab244;},'AkhWb':_0x56ebca(0x29d),'IuMBG':function(_0x56ddd9,_0x10c813){return _0x56ddd9>=_0x10c813;}},_0x51db1a=_0x1d70f6[_0x56ebca(0x279)](_0x10e982[_0x56ebca(0x1e4)]),_0x347a03=_0x10e982[_0x56ebca(0x2a8)](parseFloat,_0x1d70f6[_0x56ebca(0x279)](_0x10e982[_0x56ebca(0x208)]))||_0x10e982['vvtUl'](parseFloat,_0x1d70f6['get'](_0x10e982[_0x56ebca(0x293)])),_0x355d26=_0x1d70f6['get'](_0x10e982[_0x56ebca(0x2ab)])||{},_0x1a28d3=_0x10e982[_0x56ebca(0x2a8)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY),_0xd9956d=_0x355d26[_0x10e982[_0x56ebca(0x1df)]]||_0x1d70f6[_0x56ebca(0x279)](_0x10e982[_0x56ebca(0x23b)])||![];if(_0xd9956d)return logger[_0x56ebca(0x20f)](_0x10e982[_0x56ebca(0x22a)]),![];let _0x407522;try{_0x407522=bsSetupHelper[_0x56ebca(0x23c)](_0x10e982[_0x56ebca(0x1e8)],_0x10e982['hIpNI']);}catch(_0x19ee0b){return![];}const _0x25b564=new _0x407522[(_0x56ebca(0x1d5))](_0x385149[_0x56ebca(0x1c7)]),_0xb6c168=bsSetupHelper[_0x56ebca(0x1f1)](_0x25b564,[_0x10e982[_0x56ebca(0x2bb)],_0x10e982[_0x56ebca(0x21a)]])||bsSetupHelper[_0x56ebca(0x1f1)](_0x385149[_0x56ebca(0x27b)],[_0x10e982[_0x56ebca(0x2ab)],_0x10e982[_0x56ebca(0x20a)],_0x10e982[_0x56ebca(0x21a)]])||bsSetupHelper[_0x56ebca(0x1f1)](_0x385149[_0x56ebca(0x27b)],[_0x10e982[_0x56ebca(0x20a)],_0x10e982[_0x56ebca(0x21a)]])||[],_0x4c93e6=Array[_0x56ebca(0x1b5)](_0xb6c168)?_0xb6c168:[];if(_0x4c93e6[_0x56ebca(0x1bf)](_0x49b3d2=>typeof _0x49b3d2===_0x56ebca(0x213)&&(_0x49b3d2===_0x56ebca(0x288)||_0x49b3d2[_0x56ebca(0x242)](_0x56ebca(0x2b8))&&_0x49b3d2!==_0x56ebca(0x2b4))))return logger[_0x56ebca(0x20f)](_0x10e982['WgmVp']),![];const _0x572daf=_0x385149['capabilities_']||{},_0x1a6ca3=bsSetupHelper[_0x56ebca(0x1f1)](_0x572daf,[_0x10e982[_0x56ebca(0x21d)]])||{},_0x28c5f1=bsSetupHelper[_0x56ebca(0x1f1)](_0x1a6ca3,[_0x10e982[_0x56ebca(0x21a)]])||[],_0x206c58=Array['isArray'](_0x28c5f1)?_0x28c5f1:[];if(_0x206c58['some'](_0x4b9691=>typeof _0x4b9691===_0x56ebca(0x213)&&(_0x4b9691===_0x56ebca(0x288)||_0x4b9691[_0x56ebca(0x242)](_0x56ebca(0x2b8))&&_0x4b9691!==_0x56ebca(0x2b4))))return logger[_0x56ebca(0x20f)](_0x10e982[_0x56ebca(0x263)]),![];if(_0x10e982[_0x56ebca(0x2a2)](_0x51db1a['toLowerCase'](),_0x10e982[_0x56ebca(0x1d7)])&&_0x10e982['IuMBG'](_0x347a03,_0x1a28d3))return!![];return logger[_0x56ebca(0x20f)](_0x56ebca(0x234)+MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY+'.'),![];},exports['setNonBstackInfraCapabilities']=_0x1b416e=>{const _0x47a70b=a103_0x42e760,_0x481c12={};_0x481c12['ovsmr']=_0x47a70b(0x237),_0x481c12['oENeF']=function(_0x207cdd,_0x1cd385){return _0x207cdd||_0x1cd385;},_0x481c12[_0x47a70b(0x1e2)]=_0x47a70b(0x272);const _0x1c9b5a=_0x481c12,_0x7fceee=scripts[_0x47a70b(0x27c)];try{const _0x5c080a=bsSetupHelper[_0x47a70b(0x22e)](process[_0x47a70b(0x224)][_0x47a70b(0x2c5)])||bsSetupHelper[_0x47a70b(0x22e)](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']);if((!bsSetupHelper[_0x47a70b(0x1a9)]()||process['env'][_0x47a70b(0x2ba)])&&_0x5c080a){const _0x354db7=_0x1b416e['getCapabilities'](),_0xecb953=_0x354db7[_0x47a70b(0x279)](_0x1c9b5a['ovsmr']),_0x5bb467=_0x1c9b5a[_0x47a70b(0x2c1)](_0xecb953,{});bsSetupHelper[_0x47a70b(0x1ea)](_0x5bb467,_0x7fceee),_0x1b416e['getCapabilities']()['set'](_0x1c9b5a[_0x47a70b(0x2b0)],_0x5bb467);}else logger[_0x47a70b(0x20f)](_0x1c9b5a['xqPdh']);}catch(_0xff8ef3){logger[_0x47a70b(0x282)](_0x47a70b(0x26b)+_0xff8ef3);}},exports[a103_0x42e760(0x210)]=(_0x16ee4f=null,_0x14310e=!![],_0x2408f8=[])=>{const _0x265eae=a103_0x42e760,_0x4c9b91={};_0x4c9b91[_0x265eae(0x230)]=function(_0x2ad003,_0x547150){return _0x2ad003==_0x547150;},_0x4c9b91[_0x265eae(0x271)]=function(_0x6fd11,_0x25a968){return _0x6fd11>_0x25a968;},_0x4c9b91[_0x265eae(0x260)]=function(_0x57ac7d,_0x41fdda){return _0x57ac7d===_0x41fdda;},_0x4c9b91[_0x265eae(0x19f)]=function(_0x4b1bda,_0xcb87ac){return _0x4b1bda&&_0xcb87ac;},_0x4c9b91[_0x265eae(0x22c)]=function(_0x8b0b2c,_0x248afb){return _0x8b0b2c&&_0x248afb;};const _0xe7b41e=_0x4c9b91;if(_0xe7b41e[_0x265eae(0x230)](process[_0x265eae(0x224)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'],null))return!![];try{const _0x450d78=JSON[_0x265eae(0x258)](process[_0x265eae(0x224)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']),_0x565003=Array[_0x265eae(0x1b5)](_0x450d78[_0x265eae(0x1b1)])?_0x450d78[_0x265eae(0x1b1)]:[],_0x295969=Array[_0x265eae(0x1b5)](_0x450d78[_0x265eae(0x1a5)])?_0x450d78[_0x265eae(0x1a5)]:[],_0x17d5d8=_0x5541df=>typeof _0x5541df==='string'?_0x5541df[_0x265eae(0x1cb)](/^@/,'')['toLowerCase']()[_0x265eae(0x28a)]():_0x5541df;if(bsSetupHelper[_0x265eae(0x1d3)](_0x16ee4f)){if(_0xe7b41e[_0x265eae(0x271)](_0x2408f8[_0x265eae(0x23f)],0x0)){const _0x5382aa=_0x2408f8[_0x265eae(0x292)](_0x17d5d8),_0x5864a7=_0x295969[_0x265eae(0x1bf)](_0x54b758=>_0x5382aa[_0x265eae(0x1ed)](_0x17d5d8(_0x54b758))),_0x692aa9=_0xe7b41e[_0x265eae(0x260)](_0x565003[_0x265eae(0x23f)],0x0)||_0x565003[_0x265eae(0x1bf)](_0x286868=>_0x5382aa[_0x265eae(0x1ed)](_0x17d5d8(_0x286868)));return _0xe7b41e[_0x265eae(0x19f)](!_0x5864a7,_0x692aa9);}return!![];}let _0x937d95;_0x14310e?_0x937d95=_0x16ee4f[_0x265eae(0x1bd)]('/'):_0x937d95=_0x16ee4f;const _0x3b3c6f=_0x295969[_0x265eae(0x1bf)](_0x567e5c=>_0x937d95[_0x265eae(0x268)]()['includes'](_0x17d5d8(_0x567e5c)['toLowerCase']())),_0x572970=_0xe7b41e['GFNTE'](_0x565003[_0x265eae(0x23f)],0x0)||_0x565003[_0x265eae(0x1bf)](_0x1fe9ae=>_0x937d95[_0x265eae(0x268)]()['includes'](_0x17d5d8(_0x1fe9ae)['toLowerCase']()));return _0xe7b41e[_0x265eae(0x22c)](!_0x3b3c6f,_0x572970);}catch(_0x26a979){logger[_0x265eae(0x25d)](_0x265eae(0x1ae)+util['format'](_0x26a979));}return![];},exports[a103_0x42e760(0x23e)]=_0x4bc62c=>{const _0x12f30c=a103_0x42e760;let _0x1a47ea=![];try{_0x4bc62c['platforms'][_0x12f30c(0x1c5)](_0x3549fb=>{if(bsSetupHelper['isTrue'](_0x3549fb['accessibility']))return _0x1a47ea=!![],!![];});}catch(_0x306135){logger[_0x12f30c(0x25d)]('Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20'+_0x306135);}return _0x1a47ea||bsSetupHelper[_0x12f30c(0x22e)](_0x4bc62c['accessibility']);},exports[a103_0x42e760(0x25c)]=PerformanceTester['measureWrapper'](a103_0x42e760(0x2a9),async function(_0x366862,_0x1d0b56){const _0x4220a7=a103_0x42e760,_0x450485={};_0x450485['tgxWj']=_0x4220a7(0x1f3),_0x450485[_0x4220a7(0x264)]=_0x4220a7(0x1a3),_0x450485['IdNcX']=_0x4220a7(0x269),_0x450485[_0x4220a7(0x274)]=_0x4220a7(0x2bc),_0x450485[_0x4220a7(0x235)]='POST',_0x450485[_0x4220a7(0x1b9)]=_0x4220a7(0x1f4),_0x450485[_0x4220a7(0x1b0)]=function(_0x142592,_0x2a1e49){return _0x142592===_0x2a1e49;},_0x450485['IyVcD']=_0x4220a7(0x26f),_0x450485[_0x4220a7(0x1d6)]=_0x4220a7(0x2a7);const _0x56e232=_0x450485,_0x36a694=bsSetupHelper[_0x4220a7(0x1eb)](_0x366862),_0x5128c7=bsSetupHelper[_0x4220a7(0x1a8)](_0x366862);if(bsSetupHelper['isUndefined'](_0x36a694)||bsSetupHelper[_0x4220a7(0x1d3)](_0x5128c7))return logger['error'](_0x56e232['tgxWj']),[null,null];try{let _0x450daf;bsSetupHelper[_0x4220a7(0x1d3)](process[_0x4220a7(0x224)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])?_0x450daf={}:_0x450daf=JSON[_0x4220a7(0x258)](process[_0x4220a7(0x224)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']);const {name:_0x297f5f,version:_0x461e17}=bsSetupHelper['getTestFrameworkDetails'](_0x366862,_0x1d0b56),_0x32de27={'projectName':_0x366862[_0x4220a7(0x207)],'buildName':_0x366862[_0x4220a7(0x23d)]||path[_0x4220a7(0x204)](path[_0x4220a7(0x1ee)](process[_0x4220a7(0x1d8)]())),'startTime':new Date()[_0x4220a7(0x26e)](),'description':_0x366862[_0x4220a7(0x26c)]||'','source':{'frameworkName':_0x1d0b56[_0x4220a7(0x1ed)](_0x56e232[_0x4220a7(0x264)])?_0x56e232[_0x4220a7(0x264)]:_0x1d0b56,'frameworkVersion':bsSetupHelper[_0x4220a7(0x276)](_0x1d0b56),'sdkVersion':bsSetupHelper['getAgentVersion'](),'language':_0x56e232[_0x4220a7(0x1b7)],'testFramework':_0x297f5f,'testFrameworkVersion':_0x461e17},'settings':_0x450daf,'versionControl':await bsSetupHelper[_0x4220a7(0x1c6)](),'ciInfo':bsSetupHelper[_0x4220a7(0x1ac)](),'hostInfo':bsSetupHelper[_0x4220a7(0x253)](),'browserstackAutomation':bsSetupHelper[_0x4220a7(0x1a9)]()},_0x3d5f6f={};_0x3d5f6f[_0x4220a7(0x1c3)]=_0x36a694,_0x3d5f6f['pass']=_0x5128c7;const _0x5b5a5e={};_0x5b5a5e[_0x4220a7(0x297)]=_0x56e232[_0x4220a7(0x274)];const _0x562412={};_0x562412[_0x4220a7(0x1a7)]=_0x3d5f6f,_0x562412['headers']=_0x5b5a5e;const _0x5139d7=_0x562412,_0xe73ce5={};_0xe73ce5[_0x4220a7(0x1cc)]=_0x32de27,_0xe73ce5[_0x4220a7(0x265)]=!![];const _0x274729=Object[_0x4220a7(0x22b)](_0x5139d7,_0xe73ce5),_0x53ac20=await bsSetupHelper['nodeRequest'](_0x56e232[_0x4220a7(0x235)],_0x56e232['fPWPL'],_0x274729,_0x366862,API_URL);let _0x495b0d=process[_0x4220a7(0x224)][_0x4220a7(0x1e0)];return _0x495b0d?_0x495b0d=JSON[_0x4220a7(0x258)](process[_0x4220a7(0x224)][_0x4220a7(0x1e0)]):_0x495b0d={},scripts[_0x4220a7(0x1fd)](_0x53ac20[_0x4220a7(0x1a6)][_0x4220a7(0x1a6)]),scripts[_0x4220a7(0x217)](),_0x495b0d['scannerVersion']=_0x53ac20[_0x4220a7(0x1a6)][_0x4220a7(0x1a6)]['scannerVersion'],process[_0x4220a7(0x224)][_0x4220a7(0x1e0)]=JSON[_0x4220a7(0x2a4)](_0x495b0d),[_0x53ac20['data'][_0x4220a7(0x1a6)][_0x4220a7(0x215)],_0x53ac20[_0x4220a7(0x1a6)]['data']['id']];}catch(_0x19513f){if(_0x19513f['response'])logger[_0x4220a7(0x282)](_0x4220a7(0x20c)+_0x19513f[_0x4220a7(0x1c1)][_0x4220a7(0x2b1)]+'\x20'+_0x19513f[_0x4220a7(0x1c1)][_0x4220a7(0x290)]+'\x20'+JSON[_0x4220a7(0x2a4)](_0x19513f[_0x4220a7(0x1c1)][_0x4220a7(0x1a6)]));else{if(_0x56e232['cuGpL'](_0x19513f[_0x4220a7(0x1b2)],_0x56e232[_0x4220a7(0x298)])){logger[_0x4220a7(0x282)](_0x4220a7(0x20c)+(_0x19513f[_0x4220a7(0x1b2)]||_0x19513f[_0x4220a7(0x214)]));for(const _0x35f508 of _0x19513f[_0x4220a7(0x254)]){logger['error'](_0x35f508[_0x4220a7(0x1b2)]);}process[_0x4220a7(0x224)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x56e232[_0x4220a7(0x1d6)],process[_0x4220a7(0x224)][_0x4220a7(0x266)]=_0x56e232[_0x4220a7(0x1d6)];}else logger[_0x4220a7(0x282)](_0x4220a7(0x20c)+(_0x19513f['message']||_0x19513f[_0x4220a7(0x214)]));}return[null,null];}}),exports[a103_0x42e760(0x24d)]=PerformanceTester[a103_0x42e760(0x2b3)]('a11y:stop',async function(_0x1265f9){const _0xdd67ac=a103_0x42e760,_0x303c3d={};_0x303c3d[_0xdd67ac(0x2bf)]=function(_0x172f0a,_0x45a701){return _0x172f0a!==_0x45a701;},_0x303c3d[_0xdd67ac(0x2a0)]=_0xdd67ac(0x213),_0x303c3d[_0xdd67ac(0x248)]=_0xdd67ac(0x282),_0x303c3d[_0xdd67ac(0x2aa)]='Build\x20creation\x20had\x20failed.',_0x303c3d['YGloe']='application/json',_0x303c3d['tzwTm']=_0xdd67ac(0x1c0),_0x303c3d[_0xdd67ac(0x1ce)]=_0xdd67ac(0x1e7),_0x303c3d[_0xdd67ac(0x267)]=function(_0x3f5c00,_0x4125cd){return _0x3f5c00+_0x4125cd;},_0x303c3d[_0xdd67ac(0x277)]=_0xdd67ac(0x1e3),_0x303c3d[_0xdd67ac(0x29e)]=_0xdd67ac(0x281);const _0x327f78=_0x303c3d;if(bsSetupHelper['isUndefined'](process[_0xdd67ac(0x224)][_0xdd67ac(0x1d9)])||_0x327f78[_0xdd67ac(0x2bf)](typeof process['env'][_0xdd67ac(0x1d9)],_0x327f78[_0xdd67ac(0x2a0)])){const _0x247112={};return _0x247112['status']=_0x327f78[_0xdd67ac(0x248)],_0x247112[_0xdd67ac(0x1b2)]=_0x327f78[_0xdd67ac(0x2aa)],_0x247112;}const _0x16a17d={'endTime':new Date()[_0xdd67ac(0x26e)]()},_0x45faf8={};_0x45faf8[_0xdd67ac(0x20b)]='Bearer\x20'+process[_0xdd67ac(0x224)][_0xdd67ac(0x1d9)],_0x45faf8[_0xdd67ac(0x297)]=_0x327f78[_0xdd67ac(0x1c9)];const _0x38a1c1={};_0x38a1c1[_0xdd67ac(0x246)]=_0x45faf8;const _0x5a4813=_0x38a1c1,_0x180a00={};_0x180a00[_0xdd67ac(0x1cc)]=_0x16a17d,_0x180a00[_0xdd67ac(0x1a7)]=null,_0x180a00['json']=!![];const _0x5ccca4=Object['assign'](_0x5a4813,_0x180a00);try{const _0x32f7d9=await bsSetupHelper[_0xdd67ac(0x21f)](_0x327f78[_0xdd67ac(0x1b8)],_0x327f78[_0xdd67ac(0x1ce)],_0x5ccca4,_0x1265f9,API_URL);if(_0x32f7d9[_0xdd67ac(0x1a6)][_0xdd67ac(0x282)])throw new Error(_0x327f78[_0xdd67ac(0x267)](_0x327f78[_0xdd67ac(0x277)],_0x32f7d9['data'][_0xdd67ac(0x282)]));else{logger[_0xdd67ac(0x2ac)](_0xdd67ac(0x1dc)+new Date()[_0xdd67ac(0x26e)]());const _0x3c064d={};return _0x3c064d['status']=_0x327f78['bARtK'],_0x3c064d[_0xdd67ac(0x1b2)]='',_0x3c064d;}}catch(_0x25a675){_0x25a675['response']?logger['error'](_0xdd67ac(0x1b3)+_0x25a675['response'][_0xdd67ac(0x2b1)]+'\x20'+_0x25a675[_0xdd67ac(0x1c1)][_0xdd67ac(0x290)]+'\x20'+JSON['stringify'](_0x25a675[_0xdd67ac(0x1c1)]['data'])):logger[_0xdd67ac(0x282)]('Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20'+(_0x25a675[_0xdd67ac(0x1b2)]||util[_0xdd67ac(0x2c0)](_0x25a675)));const _0x29576f={};return _0x29576f['status']=_0x327f78[_0xdd67ac(0x248)],_0x29576f['message']=_0x25a675[_0xdd67ac(0x1b2)]||(_0x25a675[_0xdd67ac(0x1c1)]?_0x25a675[_0xdd67ac(0x1c1)][_0xdd67ac(0x2b1)]+':'+_0x25a675[_0xdd67ac(0x1c1)][_0xdd67ac(0x290)]:_0x25a675),_0x29576f;}}),exports[a103_0x42e760(0x28e)]=async(_0x55a215,_0x517f16=null,_0x464dd3=![],_0x1a2c2e=null)=>{const _0x4d8f0f=a103_0x42e760,_0x5c3b63={};_0x5c3b63[_0x4d8f0f(0x1fe)]=_0x4d8f0f(0x209),_0x5c3b63[_0x4d8f0f(0x22d)]='bstackA11yShouldScan',_0x5c3b63[_0x4d8f0f(0x294)]=_0x4d8f0f(0x24a),_0x5c3b63['zCeuC']=function(_0x2b7f79,_0xcb78c4){return _0x2b7f79||_0xcb78c4;},_0x5c3b63[_0x4d8f0f(0x23a)]=_0x4d8f0f(0x1be),_0x5c3b63[_0x4d8f0f(0x1f6)]=_0x4d8f0f(0x2af);const _0x169a75=_0x5c3b63;if(!this['isAccessibilityAutomationSession']()||!globals[_0x4d8f0f(0x243)](_0x169a75['gnycT'])||!_0x464dd3&&!globals['getGlobal'](_0x169a75['WTLXK'])){logger['warn'](_0x169a75[_0x4d8f0f(0x294)]);return;}const _0x3f064f=_0x464dd3?_0x169a75['zCeuC'](_0x1a2c2e,{}):globals[_0x4d8f0f(0x243)](_0x169a75['fVfhv'])||{},_0x22ea93={};_0x22ea93[_0x4d8f0f(0x2c3)]=_0x517f16||global[_0x4d8f0f(0x27d)];const _0x4e6da3=Object[_0x4d8f0f(0x22b)]({},_0x3f064f,_0x22ea93);await this[_0x4d8f0f(0x26a)](_0x55a215)&&(Object[_0x4d8f0f(0x22b)](_0x4e6da3,this['getMobileA11yCapabilities'](),{'thTestRunUuid':this[_0x4d8f0f(0x1de)]()}),logger[_0x4d8f0f(0x25d)](_0x169a75['XiODl']));logger[_0x4d8f0f(0x25d)](_0x4d8f0f(0x28b)+util[_0x4d8f0f(0x2c0)]('%j',_0x4e6da3));const _0x50560e={};return _0x50560e[_0x4d8f0f(0x1e5)]=_0x517f16,await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x4d8f0f(0x24c)],async()=>{const _0x504eb3=_0x4d8f0f;try{await _0x55a215[_0x504eb3(0x289)](()=>_0x55a215[_0x504eb3(0x29b)]('return\x20document.readyState\x20===\x20\x22complete\x22'),0x1388);}catch(_0x280754){}const _0x3178a4=util[_0x504eb3(0x2c0)](await _0x55a215[_0x504eb3(0x2a1)](scripts[_0x504eb3(0x28e)],_0x4e6da3));return logger[_0x504eb3(0x25d)](_0x504eb3(0x29f)+_0x3178a4),_0x3178a4;},_0x50560e)();},exports['getAccessibilityResults']=async(_0xc87ee0,_0x1f05cf)=>{const _0x333751=a103_0x42e760,_0xaded84={};_0xaded84[_0x333751(0x212)]=_0x333751(0x27a),_0xaded84['DSQER']=_0x333751(0x209),_0xaded84[_0x333751(0x28f)]=_0x333751(0x25f),_0xaded84['XThSf']=_0x333751(0x296),_0xaded84['JgNMc']=_0x333751(0x251),_0xaded84['tSrBk']=_0x333751(0x222);const _0x245b0a=_0xaded84;if(!this[_0x333751(0x255)]()||!globals[_0x333751(0x243)](_0x245b0a[_0x333751(0x2b2)])||!globals[_0x333751(0x243)](_0x245b0a[_0x333751(0x28f)]))return logger['warn'](_0x245b0a[_0x333751(0x201)]),[];try{const _0x3933fb=await this[_0x333751(0x26a)](_0xc87ee0),_0x1709a7=_0x3933fb?Object[_0x333751(0x22b)]({},this['getMobileA11yCapabilities'](),{'thTestRunUuid':this['resolveMobileThTestRunUuid']()}):{};return _0x3933fb&&logger['debug'](_0x333751(0x1d0)+util['format']('%j',_0x1709a7)),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x333751(0x24c)],async()=>{const _0x2ed051=_0x333751;logger[_0x2ed051(0x25d)](_0x245b0a[_0x2ed051(0x212)]);const _0x2909c2={};_0x2909c2[_0x2ed051(0x2c3)]=_0x1f05cf[_0x2ed051(0x27d)];const _0x321b52=Object[_0x2ed051(0x22b)](_0x2909c2,_0x1709a7);logger['debug'](util['format'](await _0xc87ee0[_0x2ed051(0x2a1)](scripts[_0x2ed051(0x28e)],_0x321b52)));},{'command':_0x245b0a['JgNMc']})(),await PerformanceTester[_0x333751(0x2b3)](PerformanceA11yEvents[_0x333751(0x1f9)],async()=>{const _0x298114=_0x333751,_0x187d6f=_0x3933fb?await _0xc87ee0[_0x298114(0x2a1)](scripts[_0x298114(0x25b)],_0x1709a7):await _0xc87ee0['executeAsyncScript'](scripts[_0x298114(0x25b)]);return _0x187d6f;})();}catch{return logger[_0x333751(0x282)](_0x245b0a['tSrBk']),[];}},exports[a103_0x42e760(0x275)]=async(_0x49f6b4,_0x1c55f5)=>{const _0x569f9f=a103_0x42e760,_0x26a599={};_0x26a599[_0x569f9f(0x2b7)]='Performing\x20scan\x20before\x20getting\x20results\x20summary',_0x26a599[_0x569f9f(0x241)]=_0x569f9f(0x209),_0x26a599[_0x569f9f(0x239)]=_0x569f9f(0x25f),_0x26a599['OYYDQ']='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.',_0x26a599[_0x569f9f(0x20e)]=_0x569f9f(0x275),_0x26a599[_0x569f9f(0x228)]=_0x569f9f(0x2be);const _0x4e0b7f=_0x26a599;if(!this[_0x569f9f(0x255)]()||!globals['getGlobal'](_0x4e0b7f['mRktF'])||!globals['getGlobal'](_0x4e0b7f[_0x569f9f(0x239)]))return logger['warn'](_0x4e0b7f[_0x569f9f(0x1a2)]),{};try{const _0xa597a7=await this[_0x569f9f(0x26a)](_0x49f6b4),_0x216591=_0xa597a7?Object[_0x569f9f(0x22b)]({},this[_0x569f9f(0x2a6)](),{'thTestRunUuid':this[_0x569f9f(0x1de)]()}):{};return _0xa597a7&&logger['debug']('getAccessibilityResultsSummary:\x20Mobile\x20session\x20detected,\x20args:\x20'+util[_0x569f9f(0x2c0)]('%j',_0x216591)),await PerformanceTester[_0x569f9f(0x2b3)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x11ca5e=_0x569f9f;logger[_0x11ca5e(0x25d)](_0x4e0b7f[_0x11ca5e(0x2b7)]);const _0x4c0e90={};_0x4c0e90[_0x11ca5e(0x2c3)]=_0x1c55f5[_0x11ca5e(0x27d)];const _0x3fa7f2=Object['assign'](_0x4c0e90,_0x216591);logger['debug'](util[_0x11ca5e(0x2c0)](await _0x49f6b4[_0x11ca5e(0x2a1)](scripts[_0x11ca5e(0x28e)],_0x3fa7f2)));},{'command':_0x4e0b7f[_0x569f9f(0x20e)]})(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x569f9f(0x1ec)],async()=>{const _0x58aa3a=_0x569f9f,_0x406dcd=_0xa597a7?await _0x49f6b4[_0x58aa3a(0x2a1)](scripts['getResultsSummary'],_0x216591):await _0x49f6b4[_0x58aa3a(0x2a1)](scripts[_0x58aa3a(0x286)]);return _0x406dcd;})();}catch{return logger['error'](_0x4e0b7f[_0x569f9f(0x228)]),{};}},exports[a103_0x42e760(0x206)]=(_0x328379,_0x35e7f8=![])=>{const _0x28bc3c=a103_0x42e760,_0x285873={'ktmOb':function(_0x4a1635,_0x4984f3){return _0x4a1635(_0x4984f3);},'FqzzD':function(_0x5c41d4,_0x1ec915){return _0x5c41d4(_0x1ec915);},'pVEPU':_0x28bc3c(0x26d),'hXhIh':function(_0x4ba36c,_0x552eb3){return _0x4ba36c!==_0x552eb3;},'miiEt':_0x28bc3c(0x21c),'xwEBd':function(_0xb0621,_0x9f1089){return _0xb0621(_0x9f1089);},'RpcLL':function(_0x53ee63,_0x24e955){return _0x53ee63(_0x24e955);},'hBGcQ':'browserName','dxZxw':_0x28bc3c(0x29d),'oyeje':_0x28bc3c(0x1f8),'HTAhg':'Session\x20is\x20identified\x20as\x20mobile\x20accessibility\x20platform\x20(Android\x20+\x20Chrome)'};try{if(!_0x328379)return![];const _0xb38c62=_0x4ec700=>typeof _0x328379['get']===_0x28bc3c(0x24b)?_0x328379['get'](_0x4ec700):_0x328379[_0x4ec700],_0x4b4c95=_0x285873[_0x28bc3c(0x22f)](String,_0x285873[_0x28bc3c(0x223)](_0xb38c62,_0x285873['pVEPU'])||'')[_0x28bc3c(0x268)]();if(_0x285873['hXhIh'](_0x4b4c95,_0x285873[_0x28bc3c(0x1cf)]))return![];const _0x3e2a53=_0x285873[_0x28bc3c(0x2b6)](String,_0x285873[_0x28bc3c(0x247)](_0xb38c62,_0x285873[_0x28bc3c(0x232)])||'')[_0x28bc3c(0x268)]();if(!_0x3e2a53[_0x28bc3c(0x1ed)](_0x285873[_0x28bc3c(0x236)]))return _0x35e7f8&&logger[_0x28bc3c(0x20f)](_0x285873[_0x28bc3c(0x226)]),![];return logger['debug'](_0x285873['HTAhg']),!![];}catch(_0x392476){return logger[_0x28bc3c(0x25d)]('Error\x20checking\x20if\x20mobile\x20accessibility\x20platform:\x20'+_0x392476),![];}},exports[a103_0x42e760(0x26a)]=async _0x4459ff=>{const _0x158132=a103_0x42e760;try{const _0x1f3dfd=await _0x4459ff[_0x158132(0x25a)]();return exports['isMobileAccessibilityPlatform'](_0x1f3dfd);}catch(_0x459c7c){return logger[_0x158132(0x25d)](_0x158132(0x1ef)+_0x459c7c),![];}},exports[a103_0x42e760(0x2a6)]=()=>{const _0x36eb92=a103_0x42e760,_0x224eb3={};return _0x224eb3[_0x36eb92(0x203)]=!![],_0x224eb3;},exports[a103_0x42e760(0x1de)]=()=>{const _0x51b216=a103_0x42e760,_0x4ed0fa={};_0x4ed0fa[_0x51b216(0x1c4)]=function(_0x1c36e1,_0x18f7c3){return _0x1c36e1===_0x18f7c3;},_0x4ed0fa[_0x51b216(0x1bb)]=_0x51b216(0x213),_0x4ed0fa[_0x51b216(0x1da)]=function(_0x3140e6,_0x1fa127){return _0x3140e6>_0x1fa127;},_0x4ed0fa[_0x51b216(0x1b6)]=_0x51b216(0x244),_0x4ed0fa[_0x51b216(0x252)]=_0x51b216(0x2c2),_0x4ed0fa[_0x51b216(0x259)]=function(_0x2ba6a9,_0x3d77e1){return _0x2ba6a9===_0x3d77e1;},_0x4ed0fa[_0x51b216(0x270)]=_0x51b216(0x257);const _0x2b91ca=_0x4ed0fa,_0x50207c=global['__workerDetails'],_0x3a8200=_0x50207c&&_0x50207c[_0x51b216(0x2b9)],_0x15becb=_0x3a8200&&_0x3a8200[_0x51b216(0x1aa)];if(_0x2b91ca[_0x51b216(0x1c4)](typeof _0x15becb,_0x2b91ca[_0x51b216(0x1bb)])&&_0x2b91ca[_0x51b216(0x1da)](_0x15becb[_0x51b216(0x23f)],0x0))return _0x15becb;let _0x3df4be;if(!_0x50207c)_0x3df4be=_0x2b91ca[_0x51b216(0x1b6)];else!_0x3a8200?_0x3df4be=_0x2b91ca[_0x51b216(0x252)]:_0x3df4be='global.__workerDetails.currentTest\x20exists\x20with\x20keys\x20['+Object[_0x51b216(0x28c)](_0x3a8200)[_0x51b216(0x1bd)](',\x20')+_0x51b216(0x220)+(_0x2b91ca[_0x51b216(0x259)](_0x15becb,undefined)?_0x2b91ca['GLxbp']:'\x22'+_0x15becb+'\x22')+_0x51b216(0x1ab);return logger[_0x51b216(0x20f)]('[Accessibility]\x20Mobile\x20scan\x20requested\x20but\x20thTestRunUuid\x20not\x20resolvable:\x20'+_0x3df4be+'\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[a103_0x42e760(0x284)]=_0x5801ed=>{const _0x3f6477=a103_0x42e760,_0x18f4e9={};_0x18f4e9['ZsqDj']=function(_0xc3e3ae,_0x2ecb06){return _0xc3e3ae===_0x2ecb06;},_0x18f4e9['phWMR']=_0x3f6477(0x213),_0x18f4e9[_0x3f6477(0x1d1)]=_0x3f6477(0x1f7);const _0x55218f=_0x18f4e9;if(_0x5801ed&&_0x5801ed['script']&&_0x55218f['ZsqDj'](typeof _0x5801ed[_0x3f6477(0x29a)],_0x55218f[_0x3f6477(0x1a1)]))return _0x5801ed[_0x3f6477(0x29a)][_0x3f6477(0x1ed)](_0x55218f[_0x3f6477(0x1d1)]);return![];},exports[a103_0x42e760(0x1b4)]=a103_0x42e760(0x2ad),exports[a103_0x42e760(0x1dd)]=()=>process[a103_0x42e760(0x224)][a103_0x42e760(0x1f5)]===a103_0x42e760(0x287),exports[a103_0x42e760(0x211)]=_0x4981b7=>{const _0x2cb57e=a103_0x42e760,_0x4235d1={};_0x4235d1[_0x2cb57e(0x219)]=function(_0x44009c,_0x577275){return _0x44009c in _0x577275;};const _0x297a9b=_0x4235d1;if(bsSetupHelper[_0x2cb57e(0x1d3)](_0x4981b7))return![];const _0x11c5b2=_0x4981b7[_0x2cb57e(0x268)]();return _0x297a9b[_0x2cb57e(0x219)](_0x11c5b2,ACCESSIBILITY_SUPPORTED_BROWSERS);},exports[a103_0x42e760(0x2a3)]=_0x59f15f=>{const _0x11a224=a103_0x42e760;if(bsSetupHelper[_0x11a224(0x1d3)](_0x59f15f))return null;const _0x4f4eb4=_0x59f15f[_0x11a224(0x268)]();return ACCESSIBILITY_SUPPORTED_BROWSERS[_0x4f4eb4]||null;},exports[a103_0x42e760(0x29c)]=(_0x493462,_0x5bbad3)=>{const _0x27a0be=a103_0x42e760,_0x166bf7=this[_0x27a0be(0x2a3)](_0x493462);if(!_0x166bf7)return null;if(_0x5bbad3)return _0x166bf7[_0x27a0be(0x27f)];return _0x166bf7[_0x27a0be(0x1ca)];},exports[a103_0x42e760(0x2ae)]=_0x2254a8=>{const _0x2b3611=a103_0x42e760,_0x3302de=this[_0x2b3611(0x2a3)](_0x2254a8);return _0x3302de?_0x3302de[_0x2b3611(0x27e)]:_0x2254a8;},exports[a103_0x42e760(0x273)]=_0x5811ef=>{const _0xbbb7ef=a103_0x42e760,_0x1df2c3=this[_0xbbb7ef(0x2a3)](_0x5811ef);return _0x1df2c3?_0x1df2c3[_0xbbb7ef(0x1bc)]:![];},exports[a103_0x42e760(0x256)]=(_0x48e327,_0x1a9a15)=>{const _0x43cab2=a103_0x42e760,_0xba4209={'OtGLC':function(_0x1e8dae,_0x1a644e){return _0x1e8dae(_0x1a644e);},'kLQYA':function(_0x43dc40,_0x5012f2){return _0x43dc40(_0x5012f2);},'pIvPz':function(_0x44c6c1,_0x4ae02c){return _0x44c6c1>=_0x4ae02c;}};if(bsSetupHelper['isUndefined'](_0x48e327)||bsSetupHelper['isUndefined'](_0x1a9a15))return![];const _0x346c36=bsSetupHelper['compareVersions'](_0xba4209[_0x43cab2(0x249)](String,_0x48e327),_0xba4209[_0x43cab2(0x218)](String,_0x1a9a15));return _0xba4209[_0x43cab2(0x1af)](_0x346c36,0x0);},exports[a103_0x42e760(0x262)]=_0x53e085=>{const _0x4d4560=a103_0x42e760,_0x310b5c={};_0x310b5c[_0x4d4560(0x1ad)]=function(_0x94ba33,_0x440adf){return _0x94ba33!==_0x440adf;},_0x310b5c[_0x4d4560(0x283)]=_0x4d4560(0x213),_0x310b5c[_0x4d4560(0x240)]=_0x4d4560(0x1e1);const _0xed0c2e=_0x310b5c;if(!_0x53e085||_0xed0c2e[_0x4d4560(0x1ad)](typeof _0x53e085,_0xed0c2e[_0x4d4560(0x283)]))return null;try{return JSON[_0x4d4560(0x258)](Buffer[_0x4d4560(0x1fb)](_0x53e085[_0x4d4560(0x285)]('.')[0x1],_0xed0c2e[_0x4d4560(0x240)])[_0x4d4560(0x1c2)]());}catch{return null;}};
|
|
1
|
+
const a108_0x1ddc9e=a108_0x169f;(function(_0x29c9bf,_0x4251cf){const _0x2c1b84=a108_0x169f,_0x3cda78=_0x29c9bf();while(!![]){try{const _0x31bed3=parseInt(_0x2c1b84(0x17a))/0x1*(-parseInt(_0x2c1b84(0x102))/0x2)+-parseInt(_0x2c1b84(0xac))/0x3+parseInt(_0x2c1b84(0x157))/0x4+parseInt(_0x2c1b84(0xea))/0x5+parseInt(_0x2c1b84(0x192))/0x6*(parseInt(_0x2c1b84(0xa6))/0x7)+parseInt(_0x2c1b84(0x119))/0x8+-parseInt(_0x2c1b84(0x17f))/0x9;if(_0x31bed3===_0x4251cf)break;else _0x3cda78['push'](_0x3cda78['shift']());}catch(_0x234fdb){_0x3cda78['push'](_0x3cda78['shift']());}}}(a108_0x2015,0xa9e09));function a108_0x2015(){const _0x4551b3=['NkkJH','isMobileAccessibilitySession','set','BS_A11Y_JWT','yfSvP','irHgJ','parseA11yJwtPayload','global.__workerDetails\x20exists\x20but\x20.currentTest\x20is\x20undefined\x20—\x20scan\x20fired\x20outside\x20a\x20test\x20body\x20(before/beforeAll\x20hook,\x20or\x20between\x20tests).','aKHyL','--headless=','rKhLf','bstackA11yShouldScan','getAccessKey','brJLd','javascript','pjiwN','LGvDS','getHostInfo','MtDIT','includeTagsInTestingScope','Options','--headless=new','device','null','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','dCuDw','script','fetchPlatformDetails','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token','accessibilityToken','11AROkzq','ppHQN','ZljkI','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20','ayNlO','14317776IWSklN','getPackageVersion','isMobileScanningEnabledForGroup','aoVoj','buildDescription','selenium-webdriver','getGlobal','auth','aRUFH','EvZfT','statusText','stack','response','RGuvk','etQSV','join','isTrue','resolveMobileThTestRunUuid','mVkid','11130rARlQz','PGjbK','ksEGC','command','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20','XLWmj','application/json','parse','getAccessibilityResults','isUndefined','return\x20document.readyState\x20===\x20\x22complete\x22','mDPIc','true','headers','string','measureWrapper','getBrowserName','wDFns','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','currentTest','ipRmR','isVersionSupported','GET_RESULTS','isAccessibilityAutomationSession','fPqqh','requiresChromeOptionsValidation','body','getResultsSummary','trim','split','v2/test_runs','lHxqd','./scripts','xWaii','QkfBV','jvAzM','4074SCdduO','toLowerCase','KJPUT','chromeOptions','UPSfn','lFopT','857319aSMgTS','BROWSERSTACK_TURBOSCALE','parseFromJson','isBrowserstackInfra','No\x20accessibility\x20summary\x20was\x20found.','requires_chrome_options_check','get','PERFORM_SCAN','--headless','json','chrome','toString','hwmGH','global.__workerDetails.currentTest\x20exists\x20with\x20keys\x20[','message','cvPXK','checkAccessibilityPlatformConfig','\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.','getAccessibilityResults:\x20Mobile\x20session\x20detected,\x20args:\x20','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','isBrowserSupportedForAccessibility','getResults','function','a11y:start','XhnIq','OYHrX','performScan','bstMb','aVUDm','executeAsyncScript','includes','toJson','nodeRequest','playwright','stringify','getAccessibilityResultsSummary:\x20Mobile\x20session\x20detected,\x20args:\x20','success',']\x20but\x20thTestRunUuid\x20is\x20','Bearer\x20','getPlatform','mergeDeep','resolve','XzTjB','vdQBb','Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20','ZwiFu','false','VCyDU','status','DgzKp','forEach','executeScript','getPlatformVersion','startsWith','kSgSq','JhdLt','KxRnt','CnPtm','capabilities_','Xjwjl','test_runs/stop','chromeOptions_','3042610mLCGgb','getMinVersionForBrowser','warn','getCapabilities','info','data','error','LEALm','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.','getBrowserA11yConfig','Error\x20while\x20adding\x20Non-Bstack\x20capabilities:\x20','TsXXb','TMfUM','path','platformName','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','base64','from','basename','UcrKl','browserName','TUjxx','debug','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','112116TJhafg','Session\x20is\x20identified\x20as\x20mobile\x20accessibility\x20platform\x20(Android\x20+\x20Chrome)','bPoMH','Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20','pass','UQZig','Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20','No\x20accessibility\x20results\x20were\x20found.','version','MOBILE_SCANNING_DISABLED_WARNING','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).','excludeTagsInTestingScope','map','YREVA','hnnyB','isArray','toISOString','BROWSERSTACK_TEST_ACCESSIBILITY_YML','BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP','deviceName','format','cuStT','./constants','6710104yugbmZ','browserstackSessionName','Build\x20creation\x20had\x20failed.','../logger','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','a11y:stop','getGitMetaData','length','getAgentVersion','IozOw','getCiInfo','Authorization','thTestRunUuid','accessibility','FIzOO','UUFEf','compareVersions','ChromeExtension','WFofg','Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20','assign','Mobile\x20Accessibility\x20Automation\x20is\x20not\x20enabled\x20for\x20your\x20account.\x20Accessibility\x20scans\x20will\x20be\x20skipped\x20on\x20mobile\x20sessions.\x20Contact\x20BrowserStack\x20to\x20enable\x20mobile\x20accessibility\x20scanning.','gfNKA','../performance/performance-tester','some','undefined','browserVersion','iiErc','replace','qqnsv','isMobileAccessibilityPlatform','GET_RESULTS_SUMMARY','BpcJD','Content-Type','tlYLZ','Performing\x20scan\x20before\x20getting\x20results','selenium-webdriver/chrome.js','getTestFrameworkDetails','UbllU','isAccessibilityPlatform','getBrowserVersion','eaTAe','ohwLG','bsYnO','method','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','options_','gjbdC','nestedKeyValue','LFxqA','scannerVersion','env','user','isBrowserStackCommandExecutor','stopAccessibilityTestRun','eRLJA','LfowV','nAXcU','pXWEc','getMobileA11yCapabilities','rFITO','goog:chromeOptions','2648788dTNFms','TBwKZ','PKUjY','is_mobile_session','HXCzZ'];a108_0x2015=function(){return _0x4551b3;};return a108_0x2015();}const path=require(a108_0x1ddc9e(0xf7)),util=require('util'),bsSetupHelper=require('../helper'),logger=require(a108_0x1ddc9e(0x11c))['winstonLogger'],{API_URL,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY,ACCESSIBILITY_SUPPORTED_BROWSERS}=require(a108_0x1ddc9e(0x118)),PerformanceTester=require(a108_0x1ddc9e(0x130)),scripts=require(a108_0x1ddc9e(0xa2)),globals=require('../globals'),{A11Y_EVENTS:PerformanceA11yEvents}=require('../performance/constants');function a108_0x169f(_0x4cf190,_0x56ef7b){const _0x2015b=a108_0x2015();return a108_0x169f=function(_0x169fd7,_0x2702d2){_0x169fd7=_0x169fd7-0x92;let _0x324b15=_0x2015b[_0x169fd7];return _0x324b15;},a108_0x169f(_0x4cf190,_0x56ef7b);}exports[a108_0x1ddc9e(0x177)]=async _0x4b4678=>{const _0x2ba040=a108_0x1ddc9e,_0x68cf17={};_0x68cf17['TsXXb']=function(_0x3340a2,_0x4294b5){return _0x3340a2===_0x4294b5;},_0x68cf17[_0x2ba040(0x18d)]='browserstack';const _0x5bbe69=_0x68cf17;let _0x40a496={};try{const _0x4c8631=await _0x4b4678[_0x2ba040(0xed)]();_0x40a496={'os_name':_0x4c8631[_0x2ba040(0xd3)](),'os_version':bsSetupHelper[_0x2ba040(0xe0)](_0x5bbe69[_0x2ba040(0xf5)](global['__cloud_provider___'],_0x5bbe69[_0x2ba040(0x18d)])),'browser_name':_0x4c8631[_0x2ba040(0x92)](),'browser_version':_0x4c8631[_0x2ba040(0x141)]()};}catch(_0x11d040){logger[_0x2ba040(0x100)]('Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20'+_0x11d040);}return _0x40a496;},exports[a108_0x1ddc9e(0x99)]=()=>{const _0x48efdb=a108_0x1ddc9e,_0xa2668e={};_0xa2668e[_0x48efdb(0x191)]=function(_0x38d6c1,_0x5e5b41){return _0x38d6c1===_0x5e5b41;},_0xa2668e[_0x48efdb(0x10f)]=_0x48efdb(0x1a0),_0xa2668e[_0x48efdb(0xaa)]=function(_0x2a11ee,_0x248b51){return _0x2a11ee>_0x248b51;},_0xa2668e[_0x48efdb(0x93)]=function(_0x571983,_0x579144){return _0x571983!==_0x579144;},_0xa2668e['vdQBb']=_0x48efdb(0x173),_0xa2668e[_0x48efdb(0x9a)]=function(_0x4cb61c,_0x55cb08){return _0x4cb61c&&_0x55cb08;};const _0x865e79=_0xa2668e;try{const _0x1ffdf0=bsSetupHelper[_0x48efdb(0x18f)](process[_0x48efdb(0x14c)][_0x48efdb(0x113)])||bsSetupHelper[_0x48efdb(0x18f)](process[_0x48efdb(0x14c)][_0x48efdb(0x11d)]),_0x35be24=_0x865e79[_0x48efdb(0x191)](typeof process[_0x48efdb(0x14c)]['BS_A11Y_JWT'],_0x865e79[_0x48efdb(0x10f)])&&_0x865e79[_0x48efdb(0xaa)](process[_0x48efdb(0x14c)]['BS_A11Y_JWT'][_0x48efdb(0x120)],0x0)&&_0x865e79['wDFns'](process[_0x48efdb(0x14c)][_0x48efdb(0x15f)],_0x865e79[_0x48efdb(0xd7)]);return _0x865e79[_0x48efdb(0x9a)](_0x1ffdf0,_0x35be24);}catch(_0x56e818){logger['debug'](_0x48efdb(0x12c)+_0x56e818);}return![];},exports['nonBstackPlatformValidation']=(_0x50bbc9,_0x5464b6)=>{const _0x817126=a108_0x1ddc9e,_0x54c881={'cxaHR':_0x817126(0xfe),'LEALm':function(_0x3d4fdf,_0x192f94){return _0x3d4fdf(_0x192f94);},'TMfUM':_0x817126(0x133),'BpcJD':_0x817126(0x10a),'eRLJA':'bstack:options','dqXyc':function(_0x41d32d,_0x480b0b){return _0x41d32d(_0x480b0b);},'KxRnt':_0x817126(0x115),'WFofg':_0x817126(0x172),'UbllU':_0x817126(0x174),'OKTxw':_0x817126(0x13d),'bPoMH':_0x817126(0x184),'XcfEv':_0x817126(0x147),'JhdLt':'args','aoVoj':_0x817126(0xa9),'aVUDm':_0x817126(0xf9),'PKUjY':_0x817126(0x156),'SONKB':function(_0x5a7486,_0xc40be5){return _0x5a7486===_0xc40be5;},'mDPIc':_0x817126(0xb6),'brJLd':function(_0x53bcb7,_0x10b526){return _0x53bcb7>=_0x10b526;}},_0xf8ba27=_0x50bbc9[_0x817126(0xb2)](_0x54c881['cxaHR']),_0x3e354e=_0x54c881[_0x817126(0xf1)](parseFloat,_0x50bbc9[_0x817126(0xb2)](_0x54c881[_0x817126(0xf6)]))||_0x54c881[_0x817126(0xf1)](parseFloat,_0x50bbc9[_0x817126(0xb2)](_0x54c881[_0x817126(0x139)])),_0x52afdf=_0x50bbc9[_0x817126(0xb2)](_0x54c881[_0x817126(0x150)])||{},_0x3782bf=_0x54c881['dqXyc'](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY),_0x731ef=_0x52afdf[_0x54c881[_0x817126(0xe4)]]||_0x50bbc9[_0x817126(0xb2)](_0x54c881[_0x817126(0x12b)])||![];if(_0x731ef)return logger[_0x817126(0xec)](_0x54c881[_0x817126(0x13f)]),![];let _0x12b210;try{_0x12b210=bsSetupHelper['requireModule'](_0x54c881['OKTxw'],_0x54c881[_0x817126(0x104)]);}catch(_0x2afdb8){return![];}const _0x738b86=new _0x12b210[(_0x817126(0x170))](_0x5464b6[_0x817126(0xe9)]),_0x47b032=bsSetupHelper[_0x817126(0x149)](_0x738b86,[_0x54c881['XcfEv'],_0x54c881[_0x817126(0xe3)]])||bsSetupHelper[_0x817126(0x149)](_0x5464b6[_0x817126(0xe6)],[_0x54c881[_0x817126(0x150)],_0x54c881[_0x817126(0x182)],_0x54c881[_0x817126(0xe3)]])||bsSetupHelper['nestedKeyValue'](_0x5464b6[_0x817126(0xe6)],[_0x54c881[_0x817126(0x182)],_0x54c881[_0x817126(0xe3)]])||[],_0x9301bf=Array[_0x817126(0x111)](_0x47b032)?_0x47b032:[];if(_0x9301bf[_0x817126(0x131)](_0x2dc094=>typeof _0x2dc094===_0x817126(0x1a0)&&(_0x2dc094===_0x817126(0xb4)||_0x2dc094[_0x817126(0xe1)](_0x817126(0x165))&&_0x2dc094!==_0x817126(0x171))))return logger['warn'](_0x54c881[_0x817126(0xc8)]),![];const _0x410138=_0x5464b6[_0x817126(0xe6)]||{},_0x160f4f=bsSetupHelper['nestedKeyValue'](_0x410138,[_0x54c881[_0x817126(0x159)]])||{},_0x1498da=bsSetupHelper[_0x817126(0x149)](_0x160f4f,[_0x54c881[_0x817126(0xe3)]])||[],_0x5b71d2=Array[_0x817126(0x111)](_0x1498da)?_0x1498da:[];if(_0x5b71d2[_0x817126(0x131)](_0x70cb7c=>typeof _0x70cb7c===_0x817126(0x1a0)&&(_0x70cb7c==='--headless'||_0x70cb7c['startsWith'](_0x817126(0x165))&&_0x70cb7c!==_0x817126(0x171))))return logger[_0x817126(0xec)](_0x54c881['aVUDm']),![];if(_0x54c881['SONKB'](_0xf8ba27[_0x817126(0xa7)](),_0x54c881[_0x817126(0x19d)])&&_0x54c881[_0x817126(0x169)](_0x3e354e,_0x3782bf))return!![];return logger[_0x817126(0xec)](_0x817126(0x17d)+MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY+'.'),![];},exports['setNonBstackInfraCapabilities']=_0xda8de2=>{const _0x3a865d=a108_0x1ddc9e,_0x25aaee={};_0x25aaee[_0x3a865d(0xfd)]=_0x3a865d(0x156),_0x25aaee[_0x3a865d(0x15b)]=function(_0x3c276b,_0x140ce3){return _0x3c276b||_0x140ce3;},_0x25aaee[_0x3a865d(0x17e)]='Not\x20a\x20Accessibility\x20Session';const _0x43d381=_0x25aaee,_0x1b552c=scripts[_0x3a865d(0x12a)];try{const _0x4cfbe1=bsSetupHelper[_0x3a865d(0x18f)](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML'])||bsSetupHelper[_0x3a865d(0x18f)](process[_0x3a865d(0x14c)][_0x3a865d(0x11d)]);if((!bsSetupHelper[_0x3a865d(0xaf)]()||process[_0x3a865d(0x14c)][_0x3a865d(0xad)])&&_0x4cfbe1){const _0x20e042=_0xda8de2[_0x3a865d(0xed)](),_0x186767=_0x20e042['get'](_0x43d381[_0x3a865d(0xfd)]),_0x5657e9=_0x43d381[_0x3a865d(0x15b)](_0x186767,{});bsSetupHelper[_0x3a865d(0xd4)](_0x5657e9,_0x1b552c),_0xda8de2[_0x3a865d(0xed)]()[_0x3a865d(0x15e)](_0x43d381['UcrKl'],_0x5657e9);}else logger[_0x3a865d(0xec)](_0x43d381['ayNlO']);}catch(_0x1671af){logger[_0x3a865d(0xf0)](_0x3a865d(0xf4)+_0x1671af);}},exports['shouldScanTestForAccessibility']=(_0x15ab25=null,_0x4f3d6c=!![],_0x226100=[])=>{const _0x5df000=a108_0x1ddc9e,_0xcefed9={};_0xcefed9[_0x5df000(0x17c)]=function(_0xf125e7,_0x427b47){return _0xf125e7==_0x427b47;},_0xcefed9[_0x5df000(0x134)]=function(_0x11bd51,_0x4f324c){return _0x11bd51>_0x4f324c;},_0xcefed9[_0x5df000(0x164)]=function(_0x38f835,_0x32cc27){return _0x38f835===_0x32cc27;},_0xcefed9[_0x5df000(0xa4)]=function(_0x5e5fcb,_0x5cefc5){return _0x5e5fcb&&_0x5cefc5;},_0xcefed9[_0x5df000(0x151)]=function(_0xd446f2,_0x231a94){return _0xd446f2&&_0x231a94;};const _0x12b002=_0xcefed9;if(_0x12b002['ZljkI'](process[_0x5df000(0x14c)][_0x5df000(0xbf)],null))return!![];try{const _0x5d2d49=JSON['parse'](process[_0x5df000(0x14c)][_0x5df000(0xbf)]),_0x411e12=Array[_0x5df000(0x111)](_0x5d2d49['includeTagsInTestingScope'])?_0x5d2d49[_0x5df000(0x16f)]:[],_0x129f6d=Array['isArray'](_0x5d2d49['excludeTagsInTestingScope'])?_0x5d2d49[_0x5df000(0x10d)]:[],_0x5b0dc3=_0x571e86=>typeof _0x571e86===_0x5df000(0x1a0)?_0x571e86[_0x5df000(0x135)](/^@/,'')['toLowerCase']()[_0x5df000(0x9e)]():_0x571e86;if(bsSetupHelper['isUndefined'](_0x15ab25)){if(_0x12b002['iiErc'](_0x226100[_0x5df000(0x120)],0x0)){const _0x194744=_0x226100[_0x5df000(0x10e)](_0x5b0dc3),_0x3ca11c=_0x129f6d[_0x5df000(0x131)](_0x1d6ff6=>_0x194744[_0x5df000(0xca)](_0x5b0dc3(_0x1d6ff6))),_0x479fb5=_0x12b002[_0x5df000(0x164)](_0x411e12[_0x5df000(0x120)],0x0)||_0x411e12[_0x5df000(0x131)](_0x3110da=>_0x194744[_0x5df000(0xca)](_0x5b0dc3(_0x3110da)));return _0x12b002[_0x5df000(0xa4)](!_0x3ca11c,_0x479fb5);}return!![];}let _0x4c4c2b;_0x4f3d6c?_0x4c4c2b=_0x15ab25[_0x5df000(0x18e)]('/'):_0x4c4c2b=_0x15ab25;const _0x11a9e7=_0x129f6d['some'](_0x7aa50e=>_0x4c4c2b['toLowerCase']()[_0x5df000(0xca)](_0x5b0dc3(_0x7aa50e)[_0x5df000(0xa7)]())),_0x277ad9=_0x12b002[_0x5df000(0x164)](_0x411e12['length'],0x0)||_0x411e12['some'](_0xd6e168=>_0x4c4c2b[_0x5df000(0xa7)]()[_0x5df000(0xca)](_0x5b0dc3(_0xd6e168)[_0x5df000(0xa7)]()));return _0x12b002[_0x5df000(0x151)](!_0x11a9e7,_0x277ad9);}catch(_0x436cdf){logger[_0x5df000(0x100)](_0x5df000(0xd8)+util[_0x5df000(0x116)](_0x436cdf));}return![];},exports[a108_0x1ddc9e(0xbc)]=_0xb8cf0c=>{const _0x201fe9=a108_0x1ddc9e;let _0x456c92=![];try{_0xb8cf0c['platforms'][_0x201fe9(0xde)](_0x14bfd2=>{const _0x4cc149=_0x201fe9;if(bsSetupHelper[_0x4cc149(0x18f)](_0x14bfd2[_0x4cc149(0x126)]))return _0x456c92=!![],!![];});}catch(_0x63b452){logger[_0x201fe9(0x100)](_0x201fe9(0x108)+_0x63b452);}return _0x456c92||bsSetupHelper[_0x201fe9(0x18f)](_0xb8cf0c['accessibility']);},exports['createAccessibilityTestRun']=PerformanceTester['measureWrapper'](a108_0x1ddc9e(0xc3),async function(_0x5ecc60,_0x5754c9){const _0x4f8776=a108_0x1ddc9e,_0x599f82={};_0x599f82[_0x4f8776(0x96)]=_0x4f8776(0x178),_0x599f82[_0x4f8776(0x110)]=_0x4f8776(0xcd),_0x599f82[_0x4f8776(0x117)]=_0x4f8776(0x16a),_0x599f82[_0x4f8776(0x128)]='application/json',_0x599f82[_0x4f8776(0x166)]='POST',_0x599f82['pjiwN']=_0x4f8776(0xa0),_0x599f82['gwViA']=function(_0x1c0d86,_0x23a67a){return _0x1c0d86===_0x23a67a;},_0x599f82[_0x4f8776(0x152)]='Invalid\x20configuration\x20passed.',_0x599f82['PGjbK']=_0x4f8776(0xda);const _0x5551d9=_0x599f82,_0x27dc8b=bsSetupHelper['getUserName'](_0x5ecc60),_0x43f939=bsSetupHelper[_0x4f8776(0x168)](_0x5ecc60);if(bsSetupHelper[_0x4f8776(0x19b)](_0x27dc8b)||bsSetupHelper[_0x4f8776(0x19b)](_0x43f939))return logger[_0x4f8776(0xf0)](_0x5551d9[_0x4f8776(0x96)]),[null,null];try{let _0x265e75;bsSetupHelper[_0x4f8776(0x19b)](process[_0x4f8776(0x14c)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])?_0x265e75={}:_0x265e75=JSON[_0x4f8776(0x199)](process[_0x4f8776(0x14c)][_0x4f8776(0xbf)]);const {name:_0x44d76c,version:_0x3e0883}=bsSetupHelper[_0x4f8776(0x13e)](_0x5ecc60,_0x5754c9),_0x240395={'projectName':_0x5ecc60['projectName'],'buildName':_0x5ecc60['buildName']||path[_0x4f8776(0xfc)](path[_0x4f8776(0xd5)](process['cwd']())),'startTime':new Date()[_0x4f8776(0x112)](),'description':_0x5ecc60[_0x4f8776(0x183)]||'','source':{'frameworkName':_0x5754c9[_0x4f8776(0xca)](_0x5551d9[_0x4f8776(0x110)])?_0x5551d9[_0x4f8776(0x110)]:_0x5754c9,'frameworkVersion':bsSetupHelper[_0x4f8776(0x180)](_0x5754c9),'sdkVersion':bsSetupHelper[_0x4f8776(0x121)](),'language':_0x5551d9[_0x4f8776(0x117)],'testFramework':_0x44d76c,'testFrameworkVersion':_0x3e0883},'settings':_0x265e75,'versionControl':await bsSetupHelper[_0x4f8776(0x11f)](),'ciInfo':bsSetupHelper[_0x4f8776(0x123)](),'hostInfo':bsSetupHelper[_0x4f8776(0x16d)](),'browserstackAutomation':bsSetupHelper[_0x4f8776(0xaf)]()},_0x51c504={};_0x51c504[_0x4f8776(0x14d)]=_0x27dc8b,_0x51c504[_0x4f8776(0x106)]=_0x43f939;const _0x1e00fb={};_0x1e00fb[_0x4f8776(0x13a)]=_0x5551d9['UUFEf'];const _0x485997={};_0x485997[_0x4f8776(0x186)]=_0x51c504,_0x485997[_0x4f8776(0x19f)]=_0x1e00fb;const _0x50653f=_0x485997,_0x3a8c11={};_0x3a8c11[_0x4f8776(0x9c)]=_0x240395,_0x3a8c11[_0x4f8776(0xb5)]=!![];const _0x3a75a5=Object[_0x4f8776(0x12d)](_0x50653f,_0x3a8c11),_0x1a5e22=await bsSetupHelper[_0x4f8776(0xcc)](_0x5551d9[_0x4f8776(0x166)],_0x5551d9[_0x4f8776(0x16b)],_0x3a75a5,_0x5ecc60,API_URL);let _0x16b2aa=process[_0x4f8776(0x14c)][_0x4f8776(0xbf)];return _0x16b2aa?_0x16b2aa=JSON[_0x4f8776(0x199)](process[_0x4f8776(0x14c)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']):_0x16b2aa={},scripts[_0x4f8776(0xae)](_0x1a5e22[_0x4f8776(0xef)]['data']),scripts[_0x4f8776(0xcb)](),_0x16b2aa[_0x4f8776(0x14b)]=_0x1a5e22[_0x4f8776(0xef)][_0x4f8776(0xef)][_0x4f8776(0x14b)],process[_0x4f8776(0x14c)][_0x4f8776(0xbf)]=JSON[_0x4f8776(0xce)](_0x16b2aa),[_0x1a5e22[_0x4f8776(0xef)][_0x4f8776(0xef)][_0x4f8776(0x179)],_0x1a5e22[_0x4f8776(0xef)][_0x4f8776(0xef)]['id']];}catch(_0x2a22d1){if(_0x2a22d1[_0x4f8776(0x18b)])logger['error'](_0x4f8776(0x101)+_0x2a22d1[_0x4f8776(0x18b)][_0x4f8776(0xdc)]+'\x20'+_0x2a22d1['response']['statusText']+'\x20'+JSON[_0x4f8776(0xce)](_0x2a22d1['response']['data']));else{if(_0x5551d9['gwViA'](_0x2a22d1[_0x4f8776(0xba)],_0x5551d9[_0x4f8776(0x152)])){logger[_0x4f8776(0xf0)](_0x4f8776(0x101)+(_0x2a22d1[_0x4f8776(0xba)]||_0x2a22d1['stack']));for(const _0xd392 of _0x2a22d1['errors']){logger[_0x4f8776(0xf0)](_0xd392[_0x4f8776(0xba)]);}process[_0x4f8776(0x14c)][_0x4f8776(0x113)]=_0x5551d9['PGjbK'],process['env'][_0x4f8776(0x11d)]=_0x5551d9[_0x4f8776(0x193)];}else logger[_0x4f8776(0xf0)]('Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20'+(_0x2a22d1[_0x4f8776(0xba)]||_0x2a22d1[_0x4f8776(0x18a)]));}return[null,null];}}),exports[a108_0x1ddc9e(0x14f)]=PerformanceTester['measureWrapper'](a108_0x1ddc9e(0x11e),async function(_0x5ee0d8){const _0x56c542=a108_0x1ddc9e,_0xa813c5={};_0xa813c5[_0x56c542(0xff)]=function(_0x329507,_0x394f9e){return _0x329507!==_0x394f9e;},_0xa813c5['lHxqd']='string',_0xa813c5[_0x56c542(0xb8)]=_0x56c542(0xf0),_0xa813c5[_0x56c542(0x16e)]=_0x56c542(0x11b),_0xa813c5[_0x56c542(0x17b)]=_0x56c542(0x198),_0xa813c5[_0x56c542(0x194)]='PUT',_0xa813c5['PevjV']=_0x56c542(0xe8),_0xa813c5[_0x56c542(0xd6)]=function(_0xb8b01c,_0x564b61){return _0xb8b01c+_0x564b61;},_0xa813c5[_0x56c542(0xc4)]='Invalid\x20request:\x20',_0xa813c5[_0x56c542(0xc5)]=_0x56c542(0xd0);const _0x1bfe1e=_0xa813c5;if(bsSetupHelper[_0x56c542(0x19b)](process['env'][_0x56c542(0x15f)])||_0x1bfe1e[_0x56c542(0xff)](typeof process[_0x56c542(0x14c)][_0x56c542(0x15f)],_0x1bfe1e[_0x56c542(0xa1)])){const _0x41142c={};return _0x41142c['status']=_0x1bfe1e[_0x56c542(0xb8)],_0x41142c[_0x56c542(0xba)]=_0x1bfe1e[_0x56c542(0x16e)],_0x41142c;}const _0x589ae8={'endTime':new Date()[_0x56c542(0x112)]()},_0x36d7e3={};_0x36d7e3[_0x56c542(0x124)]=_0x56c542(0xd2)+process[_0x56c542(0x14c)][_0x56c542(0x15f)],_0x36d7e3[_0x56c542(0x13a)]=_0x1bfe1e['ppHQN'];const _0x5944c4={};_0x5944c4[_0x56c542(0x19f)]=_0x36d7e3;const _0xb4a480=_0x5944c4,_0x212ba7={};_0x212ba7[_0x56c542(0x9c)]=_0x589ae8,_0x212ba7[_0x56c542(0x186)]=null,_0x212ba7[_0x56c542(0xb5)]=!![];const _0x47a1d2=Object[_0x56c542(0x12d)](_0xb4a480,_0x212ba7);try{const _0x3fd71=await bsSetupHelper['nodeRequest'](_0x1bfe1e[_0x56c542(0x194)],_0x1bfe1e['PevjV'],_0x47a1d2,_0x5ee0d8,API_URL);if(_0x3fd71['data'][_0x56c542(0xf0)])throw new Error(_0x1bfe1e['XzTjB'](_0x1bfe1e[_0x56c542(0xc4)],_0x3fd71[_0x56c542(0xef)]['error']));else{logger[_0x56c542(0xee)](_0x56c542(0x196)+new Date()[_0x56c542(0x112)]());const _0x5e0957={};return _0x5e0957[_0x56c542(0xdc)]=_0x1bfe1e[_0x56c542(0xc5)],_0x5e0957[_0x56c542(0xba)]='',_0x5e0957;}}catch(_0x367f47){_0x367f47[_0x56c542(0x18b)]?logger['error']('Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20'+_0x367f47[_0x56c542(0x18b)]['status']+'\x20'+_0x367f47['response'][_0x56c542(0x189)]+'\x20'+JSON['stringify'](_0x367f47[_0x56c542(0x18b)][_0x56c542(0xef)])):logger[_0x56c542(0xf0)](_0x56c542(0x105)+(_0x367f47[_0x56c542(0xba)]||util['format'](_0x367f47)));const _0x24fb9d={};return _0x24fb9d[_0x56c542(0xdc)]=_0x1bfe1e[_0x56c542(0xb8)],_0x24fb9d[_0x56c542(0xba)]=_0x367f47[_0x56c542(0xba)]||(_0x367f47[_0x56c542(0x18b)]?_0x367f47[_0x56c542(0x18b)][_0x56c542(0xdc)]+':'+_0x367f47[_0x56c542(0x18b)]['statusText']:_0x367f47),_0x24fb9d;}}),exports[a108_0x1ddc9e(0xc6)]=async(_0x1314a8,_0x2f52e8=null,_0x400910=![],_0x3c9d4a=null)=>{const _0x35db62=a108_0x1ddc9e,_0x3adfda={};_0x3adfda['LGvDS']='isAccessibilityPlatform',_0x3adfda[_0x35db62(0xab)]=_0x35db62(0x167),_0x3adfda['eaTAe']=_0x35db62(0xf2),_0x3adfda[_0x35db62(0xbb)]=function(_0x48f397,_0x2053a0){return _0x48f397||_0x2053a0;},_0x3adfda[_0x35db62(0x14a)]='bstackA11yScanOptions',_0x3adfda[_0x35db62(0x107)]='performScan:\x20Mobile\x20capabilities\x20added\x20to\x20scan\x20arguments';const _0x34808f=_0x3adfda;if(!this[_0x35db62(0x99)]()||!globals['getGlobal'](_0x34808f[_0x35db62(0x16c)])||!_0x400910&&!globals[_0x35db62(0x185)](_0x34808f[_0x35db62(0xab)])){logger[_0x35db62(0xec)](_0x34808f[_0x35db62(0x142)]);return;}const _0x1c2dbf=_0x400910?_0x34808f[_0x35db62(0xbb)](_0x3c9d4a,{}):globals[_0x35db62(0x185)](_0x34808f['LFxqA'])||{},_0x307565={};_0x307565[_0x35db62(0x145)]=_0x2f52e8||global[_0x35db62(0x11a)];const _0x4b208c=Object[_0x35db62(0x12d)]({},_0x1c2dbf,_0x307565);await this['isMobileAccessibilitySession'](_0x1314a8)&&(Object[_0x35db62(0x12d)](_0x4b208c,this[_0x35db62(0x154)](),{'thTestRunUuid':this['resolveMobileThTestRunUuid']()}),logger['debug'](_0x34808f[_0x35db62(0x107)]));logger[_0x35db62(0x100)]('[Accessibility]\x20Selenium\x20performScan\x20payload:\x20'+util[_0x35db62(0x116)]('%j',_0x4b208c));const _0x2b7b8c={};return _0x2b7b8c[_0x35db62(0x195)]=_0x2f52e8,await PerformanceTester[_0x35db62(0x1a1)](PerformanceA11yEvents[_0x35db62(0xb3)],async()=>{const _0x1837cb=_0x35db62;try{await _0x1314a8['wait'](()=>_0x1314a8[_0x1837cb(0xdf)](_0x1837cb(0x19c)),0x1388);}catch(_0x2c91a3){}const _0x284a19=util[_0x1837cb(0x116)](await _0x1314a8['executeAsyncScript'](scripts['performScan'],_0x4b208c));return logger[_0x1837cb(0x100)]('Performed\x20scan\x20with\x20result:\x20'+_0x284a19),_0x284a19;},_0x2b7b8c)();},exports['getAccessibilityResults']=async(_0xe63dc4,_0x1b7102)=>{const _0x47eddf=a108_0x1ddc9e,_0x51c326={};_0x51c326[_0x47eddf(0xdd)]=_0x47eddf(0x13c),_0x51c326[_0x47eddf(0x155)]=_0x47eddf(0x140),_0x51c326['XQLnu']=_0x47eddf(0x167),_0x51c326[_0x47eddf(0x122)]=_0x47eddf(0x94),_0x51c326[_0x47eddf(0xa3)]=_0x47eddf(0x19a),_0x51c326[_0x47eddf(0xe2)]=_0x47eddf(0x109);const _0x3a5aa4=_0x51c326;if(!this[_0x47eddf(0x99)]()||!globals['getGlobal'](_0x3a5aa4[_0x47eddf(0x155)])||!globals[_0x47eddf(0x185)](_0x3a5aa4['XQLnu']))return logger[_0x47eddf(0xec)](_0x3a5aa4['IozOw']),[];try{const _0x2fe1d4=await this[_0x47eddf(0x15d)](_0xe63dc4),_0x48818d=_0x2fe1d4?Object['assign']({},this[_0x47eddf(0x154)](),{'thTestRunUuid':this[_0x47eddf(0x190)]()}):{};return _0x2fe1d4&&logger[_0x47eddf(0x100)](_0x47eddf(0xbe)+util[_0x47eddf(0x116)]('%j',_0x48818d)),await PerformanceTester[_0x47eddf(0x1a1)](PerformanceA11yEvents[_0x47eddf(0xb3)],async()=>{const _0x12174e=_0x47eddf;logger[_0x12174e(0x100)](_0x3a5aa4[_0x12174e(0xdd)]);const _0x31414e={};_0x31414e[_0x12174e(0x145)]=_0x1b7102[_0x12174e(0x11a)];const _0x148bea=Object['assign'](_0x31414e,_0x48818d);logger['debug'](util[_0x12174e(0x116)](await _0xe63dc4[_0x12174e(0xc9)](scripts[_0x12174e(0xc6)],_0x148bea)));},{'command':_0x3a5aa4[_0x47eddf(0xa3)]})(),await PerformanceTester[_0x47eddf(0x1a1)](PerformanceA11yEvents[_0x47eddf(0x98)],async()=>{const _0x4381e1=_0x47eddf,_0x10e212=_0x2fe1d4?await _0xe63dc4['executeAsyncScript'](scripts[_0x4381e1(0xc1)],_0x48818d):await _0xe63dc4[_0x4381e1(0xc9)](scripts[_0x4381e1(0xc1)]);return _0x10e212;})();}catch{return logger[_0x47eddf(0xf0)](_0x3a5aa4[_0x47eddf(0xe2)]),[];}},exports['getAccessibilityResultsSummary']=async(_0x32f373,_0x12975d)=>{const _0x30460f=a108_0x1ddc9e,_0x4a6116={};_0x4a6116[_0x30460f(0x18c)]='Performing\x20scan\x20before\x20getting\x20results\x20summary',_0x4a6116['qqnsv']='isAccessibilityPlatform',_0x4a6116[_0x30460f(0x161)]='bstackA11yShouldScan',_0x4a6116[_0x30460f(0xd9)]=_0x30460f(0x146),_0x4a6116['kIEvC']='getAccessibilityResultsSummary',_0x4a6116[_0x30460f(0xa5)]=_0x30460f(0xb0);const _0x2a04c0=_0x4a6116;if(!this['isAccessibilityAutomationSession']()||!globals['getGlobal'](_0x2a04c0[_0x30460f(0x136)])||!globals[_0x30460f(0x185)](_0x2a04c0[_0x30460f(0x161)]))return logger[_0x30460f(0xec)](_0x2a04c0[_0x30460f(0xd9)]),{};try{const _0x16d5c5=await this[_0x30460f(0x15d)](_0x32f373),_0x1ac773=_0x16d5c5?Object[_0x30460f(0x12d)]({},this[_0x30460f(0x154)](),{'thTestRunUuid':this[_0x30460f(0x190)]()}):{};return _0x16d5c5&&logger['debug'](_0x30460f(0xcf)+util['format']('%j',_0x1ac773)),await PerformanceTester[_0x30460f(0x1a1)](PerformanceA11yEvents[_0x30460f(0xb3)],async()=>{const _0x28a013=_0x30460f;logger[_0x28a013(0x100)](_0x2a04c0[_0x28a013(0x18c)]);const _0x1ea877={};_0x1ea877[_0x28a013(0x145)]=_0x12975d[_0x28a013(0x11a)];const _0x5787d2=Object[_0x28a013(0x12d)](_0x1ea877,_0x1ac773);logger['debug'](util[_0x28a013(0x116)](await _0x32f373[_0x28a013(0xc9)](scripts['performScan'],_0x5787d2)));},{'command':_0x2a04c0['kIEvC']})(),await PerformanceTester[_0x30460f(0x1a1)](PerformanceA11yEvents[_0x30460f(0x138)],async()=>{const _0x546938=_0x30460f,_0x2f1768=_0x16d5c5?await _0x32f373[_0x546938(0xc9)](scripts[_0x546938(0x9d)],_0x1ac773):await _0x32f373[_0x546938(0xc9)](scripts['getResultsSummary']);return _0x2f1768;})();}catch{return logger['error'](_0x2a04c0['jvAzM']),{};}},exports['isMobileAccessibilityPlatform']=(_0x301a70,_0x3a01e5=![])=>{const _0x2e6813=a108_0x1ddc9e,_0x5c275c={'VCyDU':function(_0xc4117e,_0x1aafb3){return _0xc4117e(_0x1aafb3);},'EvZfT':_0x2e6813(0xf8),'pXWEc':function(_0x1d4a9c,_0x2b641f){return _0x1d4a9c!==_0x2b641f;},'dCuDw':'android','gjbdC':_0x2e6813(0xfe),'NkkJH':_0x2e6813(0xb6),'FGGje':'Mobile\x20Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser.','nxmRY':_0x2e6813(0x103)};try{if(!_0x301a70)return![];const _0x2eb5ea=_0x3e8a34=>typeof _0x301a70[_0x2e6813(0xb2)]===_0x2e6813(0xc2)?_0x301a70[_0x2e6813(0xb2)](_0x3e8a34):_0x301a70[_0x3e8a34],_0x53b3d6=_0x5c275c[_0x2e6813(0xdb)](String,_0x5c275c['VCyDU'](_0x2eb5ea,_0x5c275c[_0x2e6813(0x188)])||'')[_0x2e6813(0xa7)]();if(_0x5c275c[_0x2e6813(0x153)](_0x53b3d6,_0x5c275c[_0x2e6813(0x175)]))return![];const _0x4f7fa6=_0x5c275c[_0x2e6813(0xdb)](String,_0x5c275c[_0x2e6813(0xdb)](_0x2eb5ea,_0x5c275c[_0x2e6813(0x148)])||'')['toLowerCase']();if(!_0x4f7fa6[_0x2e6813(0xca)](_0x5c275c[_0x2e6813(0x15c)]))return _0x3a01e5&&logger['warn'](_0x5c275c['FGGje']),![];return logger[_0x2e6813(0x100)](_0x5c275c['nxmRY']),!![];}catch(_0x236b0b){return logger[_0x2e6813(0x100)]('Error\x20checking\x20if\x20mobile\x20accessibility\x20platform:\x20'+_0x236b0b),![];}},exports['isMobileAccessibilitySession']=async _0x5b397a=>{const _0x383361=a108_0x1ddc9e;try{const _0x547451=await _0x5b397a[_0x383361(0xed)]();return exports[_0x383361(0x137)](_0x547451);}catch(_0x143593){return logger[_0x383361(0x100)]('Error\x20checking\x20mobile\x20accessibility\x20session:\x20'+_0x143593),![];}},exports['getMobileA11yCapabilities']=()=>{const _0x364bdb=a108_0x1ddc9e,_0x45a5dc={};return _0x45a5dc[_0x364bdb(0x15a)]=!![],_0x45a5dc;},exports[a108_0x1ddc9e(0x190)]=()=>{const _0x4ddee0=a108_0x1ddc9e,_0x382768={};_0x382768[_0x4ddee0(0xe7)]=function(_0x3abf10,_0x2ee956){return _0x3abf10===_0x2ee956;},_0x382768['IeeTJ']=_0x4ddee0(0x1a0),_0x382768[_0x4ddee0(0x158)]=function(_0xa02c2c,_0xd855c9){return _0xa02c2c>_0xd855c9;},_0x382768['tlYLZ']=_0x4ddee0(0x10c),_0x382768[_0x4ddee0(0x197)]=_0x4ddee0(0x163),_0x382768[_0x4ddee0(0xa8)]=_0x4ddee0(0x132);const _0x5cb2f8=_0x382768,_0x14abeb=global['__workerDetails'],_0x5bbee8=_0x14abeb&&_0x14abeb[_0x4ddee0(0x95)],_0x26fb43=_0x5bbee8&&_0x5bbee8[_0x4ddee0(0x125)];if(_0x5cb2f8['Xjwjl'](typeof _0x26fb43,_0x5cb2f8['IeeTJ'])&&_0x5cb2f8[_0x4ddee0(0x158)](_0x26fb43[_0x4ddee0(0x120)],0x0))return _0x26fb43;let _0x412bd7;if(!_0x14abeb)_0x412bd7=_0x5cb2f8[_0x4ddee0(0x13b)];else!_0x5bbee8?_0x412bd7=_0x5cb2f8[_0x4ddee0(0x197)]:_0x412bd7=_0x4ddee0(0xb9)+Object['keys'](_0x5bbee8)['join'](',\x20')+_0x4ddee0(0xd1)+(_0x5cb2f8[_0x4ddee0(0xe7)](_0x26fb43,undefined)?_0x5cb2f8[_0x4ddee0(0xa8)]:'\x22'+_0x26fb43+'\x22')+'.\x20The\x20framework\x20setup\x20hook\x20is\x20not\x20writing\x20thTestRunUuid\x20onto\x20currentTest.';return logger[_0x4ddee0(0xec)]('[Accessibility]\x20Mobile\x20scan\x20requested\x20but\x20thTestRunUuid\x20not\x20resolvable:\x20'+_0x412bd7+_0x4ddee0(0xbd)),'';},exports[a108_0x1ddc9e(0x14e)]=_0x5b3da3=>{const _0x9c7863=a108_0x1ddc9e,_0x589dac={};_0x589dac[_0x9c7863(0x127)]=function(_0x23f180,_0x3d42a9){return _0x23f180===_0x3d42a9;},_0x589dac[_0x9c7863(0x187)]='string',_0x589dac[_0x9c7863(0xe5)]='browserstack_executor';const _0x51b085=_0x589dac;if(_0x5b3da3&&_0x5b3da3[_0x9c7863(0x176)]&&_0x51b085[_0x9c7863(0x127)](typeof _0x5b3da3[_0x9c7863(0x176)],_0x51b085['aRUFH']))return _0x5b3da3['script'][_0x9c7863(0xca)](_0x51b085[_0x9c7863(0xe5)]);return![];},exports[a108_0x1ddc9e(0x10b)]=a108_0x1ddc9e(0x12e),exports[a108_0x1ddc9e(0x181)]=()=>process[a108_0x1ddc9e(0x14c)][a108_0x1ddc9e(0x114)]===a108_0x1ddc9e(0x19e),exports[a108_0x1ddc9e(0xc0)]=_0x2b533f=>{const _0x82edec=a108_0x1ddc9e,_0x17adcf={};_0x17adcf['yfSvP']=function(_0xb3a351,_0xe3b465){return _0xb3a351 in _0xe3b465;};const _0x3f2c34=_0x17adcf;if(bsSetupHelper[_0x82edec(0x19b)](_0x2b533f))return![];const _0x9a359d=_0x2b533f['toLowerCase']();return _0x3f2c34[_0x82edec(0x160)](_0x9a359d,ACCESSIBILITY_SUPPORTED_BROWSERS);},exports[a108_0x1ddc9e(0xf3)]=_0x111e15=>{const _0x2f9f51=a108_0x1ddc9e;if(bsSetupHelper[_0x2f9f51(0x19b)](_0x111e15))return null;const _0x336491=_0x111e15['toLowerCase']();return ACCESSIBILITY_SUPPORTED_BROWSERS[_0x336491]||null;},exports[a108_0x1ddc9e(0xeb)]=(_0x4c0bc1,_0x48e4db)=>{const _0x57e2bc=this['getBrowserA11yConfig'](_0x4c0bc1);if(!_0x57e2bc)return null;if(_0x48e4db)return _0x57e2bc['min_version_browserstack'];return _0x57e2bc['min_version_non_browserstack'];},exports['getBrowserDisplayName']=_0x2dd4bf=>{const _0x611491=a108_0x1ddc9e,_0x46d92c=this[_0x611491(0xf3)](_0x2dd4bf);return _0x46d92c?_0x46d92c['display_name']:_0x2dd4bf;},exports[a108_0x1ddc9e(0x9b)]=_0x3ade9f=>{const _0x21924a=a108_0x1ddc9e,_0x38ee6a=this[_0x21924a(0xf3)](_0x3ade9f);return _0x38ee6a?_0x38ee6a[_0x21924a(0xb1)]:![];},exports[a108_0x1ddc9e(0x97)]=(_0x58663e,_0x2ac6f6)=>{const _0x314a65=a108_0x1ddc9e,_0xf7afd5={'HgKQk':function(_0x407216,_0x13abe8){return _0x407216(_0x13abe8);},'bstMb':function(_0x52e756,_0x21ab07){return _0x52e756>=_0x21ab07;}};if(bsSetupHelper[_0x314a65(0x19b)](_0x58663e)||bsSetupHelper[_0x314a65(0x19b)](_0x2ac6f6))return![];const _0x41fc98=bsSetupHelper[_0x314a65(0x129)](_0xf7afd5['HgKQk'](String,_0x58663e),_0xf7afd5['HgKQk'](String,_0x2ac6f6));return _0xf7afd5[_0x314a65(0xc7)](_0x41fc98,0x0);},exports[a108_0x1ddc9e(0x162)]=_0x3c9fcb=>{const _0x15c14a=a108_0x1ddc9e,_0x4c9536={};_0x4c9536[_0x15c14a(0x143)]=function(_0x13ef13,_0x545f9f){return _0x13ef13!==_0x545f9f;},_0x4c9536[_0x15c14a(0x144)]='string',_0x4c9536[_0x15c14a(0x12f)]=_0x15c14a(0xfa);const _0x537941=_0x4c9536;if(!_0x3c9fcb||_0x537941[_0x15c14a(0x143)](typeof _0x3c9fcb,_0x537941[_0x15c14a(0x144)]))return null;try{return JSON[_0x15c14a(0x199)](Buffer[_0x15c14a(0xfb)](_0x3c9fcb[_0x15c14a(0x9f)]('.')[0x1],_0x537941[_0x15c14a(0x12f)])[_0x15c14a(0xb7)]());}catch{return null;}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a109_0x24fe4c=a109_0x2109;function a109_0x2109(_0x14df6d,_0x47820d){const _0x3856d6=a109_0x3856();return a109_0x2109=function(_0x2109a3,_0xdff045){_0x2109a3=_0x2109a3-0x81;let _0x46b12e=_0x3856d6[_0x2109a3];return _0x46b12e;},a109_0x2109(_0x14df6d,_0x47820d);}(function(_0x12c8bc,_0x6813c4){const _0x1045a0=a109_0x2109,_0x1fc183=_0x12c8bc();while(!![]){try{const _0x3b7705=-parseInt(_0x1045a0(0x8d))/0x1+-parseInt(_0x1045a0(0x87))/0x2*(parseInt(_0x1045a0(0xae))/0x3)+-parseInt(_0x1045a0(0x91))/0x4+-parseInt(_0x1045a0(0x94))/0x5*(-parseInt(_0x1045a0(0xaa))/0x6)+-parseInt(_0x1045a0(0xab))/0x7*(parseInt(_0x1045a0(0xba))/0x8)+-parseInt(_0x1045a0(0x82))/0x9+parseInt(_0x1045a0(0x96))/0xa;if(_0x3b7705===_0x6813c4)break;else _0x1fc183['push'](_0x1fc183['shift']());}catch(_0x44c9ca){_0x1fc183['push'](_0x1fc183['shift']());}}}(a109_0x3856,0x398c3));const path=require(a109_0x24fe4c(0xa1)),fs=require('fs'),logger=require(a109_0x24fe4c(0x8f))[a109_0x24fe4c(0xa8)],helper=require('../helper');class Scripts{constructor(){const _0xbc1d9a=a109_0x24fe4c,_0x32ff2d={};_0x32ff2d[_0xbc1d9a(0xb5)]='5|4|0|1|2|6|3',_0x32ff2d['jxWwz']=_0xbc1d9a(0xac),_0x32ff2d[_0xbc1d9a(0xb8)]='commands.json';const _0x46c2a1=_0x32ff2d,_0x5e6742=_0x46c2a1[_0xbc1d9a(0xb5)][_0xbc1d9a(0x99)]('|');let _0x2fed58=0x0;while(!![]){switch(_0x5e6742[_0x2fed58++]){case'0':this[_0xbc1d9a(0x85)]=null;continue;case'1':this[_0xbc1d9a(0x9b)]=null;continue;case'2':this['browserstackFolderPath']=path['join'](helper['homedir'](),_0x46c2a1[_0xbc1d9a(0x89)]);continue;case'3':this[_0xbc1d9a(0xbb)]();continue;case'4':this[_0xbc1d9a(0xa2)]=null;continue;case'5':this[_0xbc1d9a(0xa5)]=null;continue;case'6':this[_0xbc1d9a(0x97)]=path[_0xbc1d9a(0xb6)](this[_0xbc1d9a(0xa9)],_0x46c2a1['BcKdl']);continue;}break;}}[a109_0x24fe4c(0x9f)](_0xe52eaf){const _0x371ef0=a109_0x24fe4c;_0xe52eaf[_0x371ef0(0x88)]&&(this[_0x371ef0(0xa5)]=_0xe52eaf[_0x371ef0(0x88)][_0x371ef0(0xa4)],this[_0x371ef0(0xa2)]=_0xe52eaf['scripts']['getResults'],this[_0x371ef0(0x85)]=_0xe52eaf[_0x371ef0(0x88)]['getResultsSummary'],this[_0x371ef0(0x9b)]=_0xe52eaf[_0x371ef0(0x88)][_0x371ef0(0xb7)]),this[_0x371ef0(0x8c)]=_0xe52eaf[_0x371ef0(0x83)],this[_0x371ef0(0xb0)]=_0xe52eaf[_0x371ef0(0x98)];}[a109_0x24fe4c(0xb4)](_0x12d2ce,_0x36b6ed){const _0x5aadb7=a109_0x24fe4c,_0x2914fa={};_0x2914fa[_0x5aadb7(0x9c)]=function(_0x398f69,_0x4965ed){return _0x398f69>_0x4965ed;},_0x2914fa[_0x5aadb7(0xaf)]=function(_0x1e7b05,_0x375ef8){return _0x1e7b05===_0x375ef8;},_0x2914fa[_0x5aadb7(0x8a)]=_0x5aadb7(0xa4),_0x2914fa[_0x5aadb7(0x9a)]=_0x5aadb7(0xa2),_0x2914fa[_0x5aadb7(0xa0)]=function(_0x4ffaec,_0xc091cf){return _0x4ffaec===_0xc091cf;},_0x2914fa[_0x5aadb7(0x86)]=_0x5aadb7(0x85),_0x2914fa[_0x5aadb7(0xb3)]=_0x5aadb7(0xb7);const _0x45e4d3=_0x2914fa;if(_0x12d2ce&&_0x45e4d3[_0x5aadb7(0x9c)](_0x12d2ce[_0x5aadb7(0x81)],0x0))for(const _0x470549 of _0x12d2ce){if(_0x45e4d3[_0x5aadb7(0xaf)](_0x470549['getName'](),_0x45e4d3[_0x5aadb7(0x8a)]))this[_0x5aadb7(0xa5)]=_0x470549[_0x5aadb7(0xa6)]();else{if(_0x45e4d3[_0x5aadb7(0xaf)](_0x470549[_0x5aadb7(0x9d)](),_0x45e4d3['AXHaf']))this['getResults']=_0x470549[_0x5aadb7(0xa6)]();else{if(_0x45e4d3[_0x5aadb7(0xa0)](_0x470549['getName'](),_0x45e4d3[_0x5aadb7(0x86)]))this['getResultsSummary']=_0x470549[_0x5aadb7(0xa6)]();else _0x45e4d3[_0x5aadb7(0xaf)](_0x470549[_0x5aadb7(0x9d)](),_0x45e4d3['qnJxf'])&&(this[_0x5aadb7(0x9b)]=_0x470549['getCommand']());}}}_0x36b6ed&&_0x45e4d3[_0x5aadb7(0x9c)](_0x36b6ed[_0x5aadb7(0x81)],0x0)&&(this[_0x5aadb7(0x8c)]=_0x36b6ed['map'](_0x1da3ec=>{const _0xa83425=_0x5aadb7;return{'name':_0x1da3ec[_0xa83425(0x9d)](),'method':_0x1da3ec[_0xa83425(0x90)](),'library':_0x1da3ec[_0xa83425(0xb9)](),'module':_0x1da3ec['getModule'](),'class':_0x1da3ec[_0xa83425(0x84)]()};}));}[a109_0x24fe4c(0xa3)](_0xf47213){const _0x4305ae=a109_0x24fe4c,_0x2e5672={};_0x2e5672['VnKgL']=function(_0x1c54d6,_0x25bb4c){return _0x1c54d6!==_0x25bb4c;};const _0x50121f=_0x2e5672;try{return _0x50121f[_0x4305ae(0x9e)](this[_0x4305ae(0x8c)]['findIndex'](_0xdec0f1=>_0xdec0f1[_0x4305ae(0x8e)]['toLowerCase']()===_0xf47213[_0x4305ae(0x92)]()),-0x1);}catch(_0x2092c7){logger[_0x4305ae(0x95)](_0x4305ae(0xa7)+_0x2092c7);}return![];}[a109_0x24fe4c(0xb1)](){const _0x3d1461=a109_0x24fe4c;!fs[_0x3d1461(0x8b)](this[_0x3d1461(0xa9)])&&fs[_0x3d1461(0x93)](this[_0x3d1461(0xa9)]),fs[_0x3d1461(0xb2)](this[_0x3d1461(0x97)],JSON[_0x3d1461(0xad)]({'scripts':{'scan':this[_0x3d1461(0xa5)],'getResults':this['getResults'],'getResultsSummary':this[_0x3d1461(0x85)],'saveResults':this[_0x3d1461(0x9b)]},'commands':this[_0x3d1461(0x8c)],'nonBStackInfraA11yChromeOptions':this[_0x3d1461(0xb0)]}));}[a109_0x24fe4c(0xbb)](){const _0x51d007=a109_0x24fe4c,_0x5622a9={'bVeyQ':function(_0x1e8786,_0x476d53){return _0x1e8786(_0x476d53);}};fs[_0x51d007(0x8b)](this[_0x51d007(0x97)])&&this[_0x51d007(0x9f)](_0x5622a9['bVeyQ'](require,this[_0x51d007(0x97)]));}}module['exports']=new Scripts();function a109_0x3856(){const _0x2e7e54=['length','4154769taTLjc','commands','getClass','getResultsSummary','ZdfFo','2TRwVAF','scripts','jxWwz','ggBwf','existsSync','commandsToWrap','285124NlLZQC','name','../../helpers/logger','getMethod','241256WZqpne','toLowerCase','mkdirSync','51045NnWJCz','debug','16403680hYAoIx','commandsPath','nonBStackInfraA11yChromeOptions','split','AXHaf','saveTestResults','swSLK','getName','VnKgL','parseFromJson','kMaKO','path','getResults','shouldWrapCommand','scan','performScan','getCommand','Exception\x20in\x20browserstack\x20accessibility\x20automation\x20with\x20error:\x20','winstonLogger','browserstackFolderPath','60fOfOcf','98qUHZGE','.browserstack','stringify','1258278LYJYCo','RjGuP','ChromeExtension','toJson','writeFileSync','qnJxf','parseFromProto','WfUfz','join','saveResults','BcKdl','getLibrary','160136QmGkZA','fromJson'];a109_0x3856=function(){return _0x2e7e54;};return a109_0x3856();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a105_0x1ff564=a105_0x51eb;function a105_0x5e17(){const _0x4e27bd=['729382EhIgli','BrowserstackHealing','aiHeal_sessionToken','logData','HmFbF','TCG_REGION','getGlobal','ObUEA','chromeOptions_','string','forEach','Healing\x20Failed,\x20Browserstack\x20AI\x20could\x20not\x20heal\x20the\x20','safariOptions_','../../bin/utils/constants','210cYmacj','aiHeal_userId','MlRTm','then','name_','../../ai-sdk-node/bundle','HEALING_LOG_DATA_TIMEOUT','157640dkrWZs','debug','uyhJI','config','oqKBY','BrowserstackHealingSetTcgTokenFailed','HEALING_FAILURE_TIMEOUT','\x22:\x20{\x22endpoint\x22:\x20\x22','Unable\x20to\x20load\x20healing\x20module,\x20error:\x20','BrowserstackHealing.setToken\x20method\x20timed\x20out','getId','1jZanAZ','POLL_HEALING_RESULT_TIMEOUT','XrKTO','iyHGy','ggOIV','aiSdkWrapper','s://','YbEhG','getCommands','executeScript','70049ZdfbBU','split','FPAbq','pIolb','YznbI','parameters_','TCG_URL','ieOptions_','toLowerCase','IEPEr','5228470lalcqU','race','Pdsko','../globals','isSelfHealEnabled','message','handleFailure','pBkhQ','browserstackSessionName','../../helpers/timeoutPromise','initializeHealingCapabilities','aiHeal_groupId','Qhfjt','11774943ReAsLv','aiHealing','error','\x22}}}','using','edgeOptions_','locatorType','getSession','setToken','hgnrh','27olXmvB','handleSuccess','log','edge','replace','cCBLY','locatorValue','pollResult','getTestName','BrowserstackHealingPollResultFailed','UWDxM','MUcmy','\x22,\x20\x22tcgUrls\x22:\x20{\x22','initializeCapabilities','_handleEvent','cancel','healFailure','safari','browserName','getCapabilities','map_','17390930HuegkN','AJqQL','chrome','BrowserstackHealing.pollResult\x20method\x20timed\x20out','getProjectName','capabilities_','byHMp','microsoftedge','787992MLhePN','BrowserstackHealingHealFailureFailed','SET_TCG_TOKEN_TIMEOUT','LHfHb','etDOb','freeze','set','framework','UudBC','./autoHealHelper','firefoxOptions_','gHBlz','Error\x20in\x20initialising\x20healing\x20capabilities\x20,\x20error:\x20','hsxsS','get','value','firefox','bUrxV'];a105_0x5e17=function(){return _0x4e27bd;};return a105_0x5e17();}(function(_0x16b90b,_0x6a63ff){const _0x2c5b05=a105_0x51eb,_0x3a9bce=_0x16b90b();while(!![]){try{const _0xa0cff6=-parseInt(_0x2c5b05(0xe9))/0x1*(-parseInt(_0x2c5b05(0x143))/0x2)+parseInt(_0x2c5b05(0x114))/0x3*(parseInt(_0x2c5b05(0x131))/0x4)+-parseInt(_0x2c5b05(0xfd))/0x5+parseInt(_0x2c5b05(0xd7))/0x6*(parseInt(_0x2c5b05(0xf3))/0x7)+-parseInt(_0x2c5b05(0xde))/0x8+parseInt(_0x2c5b05(0x10a))/0x9+-parseInt(_0x2c5b05(0x129))/0xa;if(_0xa0cff6===_0x6a63ff)break;else _0x3a9bce['push'](_0x3a9bce['shift']());}catch(_0x4d83a1){_0x3a9bce['push'](_0x3a9bce['shift']());}}}(a105_0x5e17,0xf2209));const path=require('path'),{commandRepository}=require(a105_0x1ff564(0x13a)),constants=require(a105_0x1ff564(0x150)),logger=require('../logger')['winstonLogger'],globals=require(a105_0x1ff564(0x100)),timeoutPromise=require(a105_0x1ff564(0x106)),isUndefinedOrNull=_0x254897=>_0x254897===undefined||_0x254897===null||_0x254897==='',isNotUndefinedOrNull=_0x18f0eb=>!isUndefinedOrNull(_0x18f0eb),isString=_0x29600b=>isNotUndefinedOrNull(_0x29600b)&&typeof _0x29600b===a105_0x1ff564(0x14c);function a105_0x51eb(_0x48ac95,_0x47754d){const _0x5e175c=a105_0x5e17();return a105_0x51eb=function(_0x51ebbc,_0x4fc0ee){_0x51ebbc=_0x51ebbc-0xd7;let _0x97d184=_0x5e175c[_0x51ebbc];return _0x97d184;},a105_0x51eb(_0x48ac95,_0x47754d);}class AiSdkWrapper{constructor(){const _0x1b21cb=a105_0x1ff564,_0x243317={'oqKBY':function(_0x852d04,_0x2f96d0){return _0x852d04(_0x2f96d0);},'MUcmy':_0x1b21cb(0xdc)};this[_0x1b21cb(0x144)]=undefined;try{this[_0x1b21cb(0x144)]=_0x243317[_0x1b21cb(0xe2)](require,path['join'](__dirname,_0x243317[_0x1b21cb(0x11f)]));}catch(_0x24b93d){logger[_0x1b21cb(0x10c)](_0x1b21cb(0xe6)+(_0x24b93d&&_0x24b93d[_0x1b21cb(0x102)]?_0x24b93d[_0x1b21cb(0x102)]:''));}}[a105_0x1ff564(0x107)](_0x15f684){const _0x5dd1e4=a105_0x1ff564,_0x59097b={};_0x59097b[_0x5dd1e4(0xfc)]='newCapabilities',_0x59097b[_0x5dd1e4(0xff)]=function(_0x5d15ce,_0x28132f){return _0x5d15ce===_0x28132f;},_0x59097b['LHfHb']=_0x5dd1e4(0x12b),_0x59097b[_0x5dd1e4(0xf0)]=function(_0x1fa481,_0x242834){return _0x1fa481===_0x242834;},_0x59097b[_0x5dd1e4(0x13e)]=_0x5dd1e4(0x141),_0x59097b[_0x5dd1e4(0xeb)]=_0x5dd1e4(0x125),_0x59097b[_0x5dd1e4(0x12a)]=function(_0x5571f8,_0x5432c9){return _0x5571f8===_0x5432c9;},_0x59097b[_0x5dd1e4(0xd9)]=_0x5dd1e4(0x117),_0x59097b['UWDxM']=function(_0x17f5ae,_0x2620bb){return _0x17f5ae===_0x2620bb;},_0x59097b['Qhfjt']=_0x5dd1e4(0x130);const _0x2acd16=_0x59097b;try{const _0x14d73b=this['BrowserstackHealing'][_0x5dd1e4(0x121)](Object['fromEntries'](_0x15f684[_0x5dd1e4(0x127)]()[_0x5dd1e4(0x128)]));console[_0x5dd1e4(0x116)](_0x2acd16[_0x5dd1e4(0xfc)],_0x14d73b);if(_0x2acd16[_0x5dd1e4(0xff)](_0x14d73b?.[_0x5dd1e4(0x126)]?.[_0x5dd1e4(0xfb)](),_0x2acd16[_0x5dd1e4(0x134)]))_0x15f684[_0x5dd1e4(0x14b)]=_0x14d73b;else{if(_0x2acd16[_0x5dd1e4(0xf0)](_0x14d73b?.[_0x5dd1e4(0x126)]?.[_0x5dd1e4(0xfb)](),_0x2acd16[_0x5dd1e4(0x13e)]))_0x15f684[_0x5dd1e4(0x13b)]=_0x14d73b;else{if(_0x2acd16[_0x5dd1e4(0xf0)](_0x14d73b?.[_0x5dd1e4(0x126)]?.[_0x5dd1e4(0xfb)](),_0x2acd16[_0x5dd1e4(0xeb)]))_0x15f684[_0x5dd1e4(0x14f)]=_0x14d73b;else{if(_0x2acd16['AJqQL'](_0x14d73b?.[_0x5dd1e4(0x126)]?.['toLowerCase'](),_0x2acd16[_0x5dd1e4(0xd9)])||_0x2acd16[_0x5dd1e4(0x11e)](_0x14d73b?.[_0x5dd1e4(0x126)]?.[_0x5dd1e4(0xfb)](),_0x2acd16[_0x5dd1e4(0x109)]))_0x15f684[_0x5dd1e4(0x10f)]=_0x14d73b;else _0x2acd16[_0x5dd1e4(0xf0)](_0x14d73b?.['browserName']?.[_0x5dd1e4(0xfb)](),'ie')&&(_0x15f684[_0x5dd1e4(0xfa)]=_0x14d73b);}}}Object['keys'](_0x14d73b)[_0x5dd1e4(0x14d)](_0x5d6389=>{const _0x4fb351=_0x5dd1e4,_0x555854=_0x15f684[_0x4fb351(0x12e)][_0x4fb351(0x13f)](_0x5d6389);_0x15f684['capabilities_'][_0x4fb351(0x137)](_0x5d6389,_0x14d73b[_0x5d6389]);});}catch(_0x5947de){logger[_0x5dd1e4(0x10c)](_0x5dd1e4(0x13d)+(_0x5947de&&_0x5947de['message']?_0x5947de[_0x5dd1e4(0x102)]:''));}}async['setTcgToken'](_0x2abe30){const _0x12bd7a=a105_0x1ff564,_0x28bf81={'lEHEd':function(_0x4a1328,_0x23623d,_0x3f0094,_0x171288,_0x1dfbcd,_0x4969c2,_0x13eedc){return _0x4a1328(_0x23623d,_0x3f0094,_0x171288,_0x1dfbcd,_0x4969c2,_0x13eedc);},'cCBLY':_0x12bd7a(0xe7),'pIolb':_0x12bd7a(0xe3),'HKqZg':_0x12bd7a(0x145)},_0x36353e=new Date(),_0x2a0386=_0x28bf81['lEHEd'](timeoutPromise,constants[_0x12bd7a(0x133)],_0x28bf81[_0x12bd7a(0x119)],_0x28bf81[_0x12bd7a(0xf6)],_0x36353e,this['config'],this[_0x12bd7a(0x138)]);await Promise['race']([this[_0x12bd7a(0x144)][_0x12bd7a(0x112)](_0x2abe30,globals[_0x12bd7a(0x149)](_0x28bf81['HKqZg']),constants[_0x12bd7a(0xf9)])[_0x12bd7a(0xda)](()=>{const _0xcd6ce3=_0x12bd7a;_0x2a0386[_0xcd6ce3(0x123)]();}),_0x2a0386]);}async[a105_0x1ff564(0x122)](_0x5d8078,_0x26a061,_0x460a8a,_0x1573df){const _0x1dd7e3=a105_0x1ff564,_0xc6c57e={'etDOb':function(_0x28f850,_0x5645f4){return _0x28f850===_0x5645f4;},'uyhJI':function(_0x4454cc,_0x385242){return _0x4454cc(_0x385242);},'ObUEA':function(_0x766263,_0x197ba9){return _0x766263(_0x197ba9);},'YznbI':function(_0x4372c8,_0x2b0d98){return _0x4372c8(_0x2b0d98);},'HmFbF':function(_0x4e632f,_0xec9cd5){return _0x4e632f(_0xec9cd5);},'QMDNF':function(_0x308b12,_0x3c1b1b){return _0x308b12(_0x3c1b1b);},'bUrxV':function(_0x190ab8,_0x5187ff){return _0x190ab8(_0x5187ff);},'pBkhQ':function(_0x7b7e5c,_0x37b3f1){return _0x7b7e5c(_0x37b3f1);},'byHMp':_0x1dd7e3(0xef),'PhYBr':_0x1dd7e3(0xd8),'QdOzu':_0x1dd7e3(0x108),'iWNTb':'aiHeal_isGroupAIEnabled','lvDnJ':function(_0x58708b,_0x1d4a85,_0x51ef8a,_0xe8d561,_0x4105a8,_0x47a6d4,_0x2bba72){return _0x58708b(_0x1d4a85,_0x51ef8a,_0xe8d561,_0x4105a8,_0x47a6d4,_0x2bba72);},'iyHGy':'BrowserstackHealing.logData\x20method\x20timed\x20out','NQcTH':'BrowserstackHealingLogDataFailed','gHBlz':function(_0xe5c175,_0x2ca539,_0x30ce35,_0x5722c2,_0x248d97,_0x5a0fff,_0x47a704){return _0xe5c175(_0x2ca539,_0x30ce35,_0x5722c2,_0x248d97,_0x5a0fff,_0x47a704);},'UudBC':'BrowserstackHealing.healFailure\x20method\x20timed\x20out','ggOIV':_0x1dd7e3(0x132)},_0x1bf021=(await _0x26a061[_0x1dd7e3(0x111)]())[_0x1dd7e3(0xe8)]();let _0x1cd3fe='';if(commandRepository[_0x1dd7e3(0x101)]()&&_0xc6c57e[_0x1dd7e3(0x135)](_0x1573df,![])||_0xc6c57e[_0x1dd7e3(0x135)](_0x1573df,!![])){const _0x1cf6c3=_0xc6c57e['uyhJI'](isNotUndefinedOrNull,_0x460a8a[_0x1dd7e3(0xf8)][_0x1dd7e3(0x10e)])&&_0xc6c57e[_0x1dd7e3(0x14a)](isString,_0x460a8a[_0x1dd7e3(0xf8)][_0x1dd7e3(0x10e)])?_0x460a8a[_0x1dd7e3(0xf8)][_0x1dd7e3(0x10e)][_0x1dd7e3(0x118)](/'/g,'\x5c\x27')[_0x1dd7e3(0x118)](/"/g,'\x5c\x22'):'',_0x38311e=_0xc6c57e[_0x1dd7e3(0xf7)](isNotUndefinedOrNull,_0x460a8a[_0x1dd7e3(0xf8)][_0x1dd7e3(0x10e)])&&_0xc6c57e['YznbI'](isString,_0x460a8a[_0x1dd7e3(0xf8)][_0x1dd7e3(0x140)])?_0x460a8a[_0x1dd7e3(0xf8)]['value']['replace'](/'/g,'\x5c\x27')[_0x1dd7e3(0x118)](/"/g,'\x5c\x22'):'',_0xb0138a=_0xc6c57e[_0x1dd7e3(0x14a)](isNotUndefinedOrNull,commandRepository[_0x1dd7e3(0x12d)]())&&_0xc6c57e[_0x1dd7e3(0x147)](isString,commandRepository[_0x1dd7e3(0x12d)]())?commandRepository[_0x1dd7e3(0x12d)]()[_0x1dd7e3(0x118)](/'/g,'\x5c\x27')[_0x1dd7e3(0x118)](/"/g,'\x5c\x22'):'';let _0x230e6f=_0xc6c57e['QMDNF'](isNotUndefinedOrNull,global['browserstackSessionName'])&&_0xc6c57e[_0x1dd7e3(0x142)](isString,global[_0x1dd7e3(0x105)])?global['browserstackSessionName']['replace'](/'/g,'\x5c\x27')[_0x1dd7e3(0x118)](/"/g,'\x5c\x22'):'';!_0x230e6f&&(_0x230e6f=_0xc6c57e[_0x1dd7e3(0x104)](isNotUndefinedOrNull,commandRepository[_0x1dd7e3(0x11c)]())&&_0xc6c57e[_0x1dd7e3(0xe0)](isString,commandRepository[_0x1dd7e3(0x11c)]())?commandRepository[_0x1dd7e3(0x11c)]()[_0x1dd7e3(0x118)](/'/g,'\x5c\x27')[_0x1dd7e3(0x118)](/"/g,'\x5c\x22'):'');let _0x2f2c90='{\x22region\x22:\x20\x22'+constants[_0x1dd7e3(0x148)]+_0x1dd7e3(0x120)+constants[_0x1dd7e3(0x148)]+_0x1dd7e3(0xe5)+constants['TCG_URL'][_0x1dd7e3(0xf4)](_0xc6c57e[_0x1dd7e3(0x12f)])[0x1]+_0x1dd7e3(0x10d);_0x2f2c90=_0xc6c57e[_0x1dd7e3(0x104)](isNotUndefinedOrNull,_0x2f2c90)&&_0xc6c57e[_0x1dd7e3(0x14a)](isString,_0x2f2c90)?_0x2f2c90[_0x1dd7e3(0x118)](/'/g,'\x5c\x27')[_0x1dd7e3(0x118)](/"/g,'\x5c\x22'):'';const _0x593ef9=commandRepository[_0x1dd7e3(0xf1)](_0x1bf021),_0x14825c=globals[_0x1dd7e3(0x149)](_0xc6c57e['PhYBr']),_0x5dd917=globals[_0x1dd7e3(0x149)](_0xc6c57e['QdOzu']),_0xac829c=globals[_0x1dd7e3(0x149)](_0xc6c57e['iWNTb']),_0x3f4af1=![],_0x5b4017=new Date();if(_0x1573df){const _0x2b64fd=_0xc6c57e['lvDnJ'](timeoutPromise,constants[_0x1dd7e3(0xdd)],_0xc6c57e[_0x1dd7e3(0xec)],_0xc6c57e['NQcTH'],_0x5b4017,this[_0x1dd7e3(0xe1)],this[_0x1dd7e3(0x138)]);_0x1cd3fe=await Promise[_0x1dd7e3(0xfe)]([this[_0x1dd7e3(0x144)][_0x1dd7e3(0x146)](_0x1cf6c3,_0x38311e,_0xb0138a,_0x230e6f,_0x5dd917,_0x1bf021,_0x593ef9,_0x2f2c90)[_0x1dd7e3(0xda)](_0x2cfad3=>{return _0x2b64fd['cancel'](),_0x2cfad3;}),_0x2b64fd]);}else{if(commandRepository[_0x1dd7e3(0x101)]()){const _0x53b6e8=_0xc6c57e[_0x1dd7e3(0x13c)](timeoutPromise,constants[_0x1dd7e3(0xe4)],_0xc6c57e[_0x1dd7e3(0x139)],_0xc6c57e[_0x1dd7e3(0xed)],_0x5b4017,this[_0x1dd7e3(0xe1)],this['framework']);_0x1cd3fe=await Promise[_0x1dd7e3(0xfe)]([this[_0x1dd7e3(0x144)][_0x1dd7e3(0x124)](_0x1cf6c3,_0x38311e,_0xb0138a,_0x230e6f,_0x14825c,_0x5dd917,_0x1bf021,_0x593ef9,_0x3f4af1,_0xac829c,_0x2f2c90)['then'](_0x39f9b7=>{const _0x476f5d=_0x1dd7e3;return _0x53b6e8[_0x476f5d(0x123)](),_0x39f9b7;}),_0x53b6e8]);}}_0x1cd3fe&&await _0x26a061[_0x1dd7e3(0xf2)](_0x1cd3fe);}}async[a105_0x1ff564(0x115)](_0x506c18,_0xb9850f,_0x317a51){const _0x379e08=a105_0x1ff564;try{await this[_0x379e08(0x122)](_0x506c18,_0xb9850f,_0x317a51,!![]);}catch(_0xb3fcee){return logger[_0x379e08(0x10c)]('Error\x20in\x20(healing)\x20success\x20event.\x20ERROR:\x20'+(_0xb3fcee&&_0xb3fcee['message']?_0xb3fcee[_0x379e08(0x102)]:'')),![];}return!![];}async[a105_0x1ff564(0x103)](_0x1afa17,_0x54e494,_0x1483ec){const _0x5a7f99=a105_0x1ff564,_0x26c96b={'FPAbq':function(_0x1d5e72,_0x34ce7b,_0x2f5e6c,_0xcd16aa,_0x518438,_0xca6369,_0x49cf54){return _0x1d5e72(_0x34ce7b,_0x2f5e6c,_0xcd16aa,_0x518438,_0xca6369,_0x49cf54);},'jKpFe':_0x5a7f99(0x12c),'bxoSX':_0x5a7f99(0x11d),'hgnrh':'aiHeal_sessionToken'};try{await this[_0x5a7f99(0x122)](_0x1afa17,_0x54e494,_0x1483ec,![]);const _0x4136f1=(await _0x54e494[_0x5a7f99(0x111)]())[_0x5a7f99(0xe8)](),_0x5eccbc=new Date(),_0x4f39a2=_0x26c96b[_0x5a7f99(0xf5)](timeoutPromise,constants[_0x5a7f99(0xea)],_0x26c96b['jKpFe'],_0x26c96b['bxoSX'],_0x5eccbc,this[_0x5a7f99(0xe1)],this[_0x5a7f99(0x138)]),_0x434d45=await Promise[_0x5a7f99(0xfe)]([this[_0x5a7f99(0x144)][_0x5a7f99(0x11b)](constants[_0x5a7f99(0xf9)],_0x4136f1,globals['getGlobal'](_0x26c96b[_0x5a7f99(0x113)]))[_0x5a7f99(0xda)](_0x5123b8=>{return _0x4f39a2['cancel'](),_0x5123b8;}),_0x4f39a2]);if(_0x434d45&&_0x434d45['selector']&&_0x434d45[_0x5a7f99(0x140)]){const _0x4fdbce={};return _0x4fdbce[_0x5a7f99(0x110)]=_0x434d45['selector'],_0x4fdbce[_0x5a7f99(0x11a)]=_0x434d45[_0x5a7f99(0x140)],_0x4fdbce[_0x5a7f99(0x10b)]=!![],_0x4fdbce;}const _0x50879d={};return _0x50879d[_0x5a7f99(0x110)]=_0x1483ec[_0x5a7f99(0xf8)][_0x5a7f99(0x10e)],_0x50879d[_0x5a7f99(0x11a)]=_0x434d45[_0x5a7f99(0x140)],_0x50879d['aiHealing']=!![],_0x50879d;}catch(_0x1082e8){return logger[_0x5a7f99(0xdf)]('Error\x20in\x20(healing)\x20handling\x20failure\x20event.\x20ERROR:\x20'+(_0x1082e8&&_0x1082e8['message']?_0x1082e8[_0x5a7f99(0x102)]:'')),logger['info'](_0x5a7f99(0x14e)+_0x1483ec[_0x5a7f99(0xdb)]+'\x20command'),_0x1483ec;}}}exports[a105_0x1ff564(0xee)]=Object[a105_0x1ff564(0x136)](new AiSdkWrapper());
|
|
1
|
+
const a110_0xd11c6f=a110_0x2154;function a110_0x3888(){const _0x48b5a5=['YrpEW','../../bin/utils/constants','HEALING_FAILURE_TIMEOUT','get','healFailure','../../helpers/timeoutPromise','mEOAZ','edgeOptions_','debug','TCG_REGION','locatorType','keys','chromeOptions_','BrowserstackHealing.pollResult\x20method\x20timed\x20out','\x22}}}','abHmp','ieOptions_','miZTi','ydHrl','SET_TCG_TOKEN_TIMEOUT','replace','2507245RHCoIS','ZgsOj','MZgyK','rKpHC','AyGJV','Healing\x20Failed,\x20Browserstack\x20AI\x20could\x20not\x20heal\x20the\x20','levFp','TfCKa','MtKvS','winstonLogger','race','capabilities_','pollResult','ZLlXt','oSoSS','{\x22region\x22:\x20\x22','freeze','ATBIZ','setTcgToken','handleSuccess','join','532564EThkaE','\x22:\x20{\x22endpoint\x22:\x20\x22','FJWOm','735637QPGJel','IsEMY','firefoxOptions_','swXIG','2241174aalRha','parameters_','toLowerCase','executeScript','selector','message','cancel','error','getProjectName','initializeHealingCapabilities','HEALING_LOG_DATA_TIMEOUT','value','FJqfL','42MwiOAB','../globals','BrowserstackHealing.logData\x20method\x20timed\x20out','chrome','naiCA','../../ai-sdk-node/bundle','_handleEvent','browserName','TCG_URL','split','fromEntries','handleFailure','tNEJI','using','aiHeal_groupId','config','newCapabilities','Error\x20in\x20(healing)\x20handling\x20failure\x20event.\x20ERROR:\x20','6aNQnBx','BrowserstackHealingLogDataFailed','locatorValue','name_','AqKQB','lTimO','6251240AJMaAN','log','BrowserstackHealing','1505324mydrSz','POLL_HEALING_RESULT_TIMEOUT','setToken','Unable\x20to\x20load\x20healing\x20module,\x20error:\x20','firefox','set','BrowserstackHealingSetTcgTokenFailed','aiHeal_userId','aVpRo','string','map_','framework','36160875PhbwKq','safari','aGtYe','getSession','aiHealing','browserstackSessionName','aIJbC','tICok','getId','getCommands','BrowserstackHealing.healFailure\x20method\x20timed\x20out','logData','getGlobal','Oemfp','MDgHL','Error\x20in\x20initialising\x20healing\x20capabilities\x20,\x20error:\x20','safariOptions_','aiSdkWrapper','NZicm','then','HqJRa','\x20command','ysscU','aiHeal_sessionToken','microsoftedge','getTestName','isSelfHealEnabled','./autoHealHelper','vUnkS','BrowserstackHealingPollResultFailed'];a110_0x3888=function(){return _0x48b5a5;};return a110_0x3888();}(function(_0x45cf5c,_0x53e25f){const _0x351166=a110_0x2154,_0x3307d1=_0x45cf5c();while(!![]){try{const _0xcd88cd=parseInt(_0x351166(0x1df))/0x1+-parseInt(_0x351166(0x1e6))/0x2+-parseInt(_0x351166(0x205))/0x3*(parseInt(_0x351166(0x20e))/0x4)+-parseInt(_0x351166(0x1ca))/0x5+parseInt(_0x351166(0x1f3))/0x6*(-parseInt(_0x351166(0x1e2))/0x7)+-parseInt(_0x351166(0x20b))/0x8+parseInt(_0x351166(0x21a))/0x9;if(_0xcd88cd===_0x53e25f)break;else _0x3307d1['push'](_0x3307d1['shift']());}catch(_0x4e682c){_0x3307d1['push'](_0x3307d1['shift']());}}}(a110_0x3888,0xa0d0b));const path=require('path'),{commandRepository}=require(a110_0xd11c6f(0x1b2)),constants=require(a110_0xd11c6f(0x1b6)),logger=require('../logger')[a110_0xd11c6f(0x1d3)],globals=require(a110_0xd11c6f(0x1f4)),timeoutPromise=require(a110_0xd11c6f(0x1ba)),isUndefinedOrNull=_0x150a41=>_0x150a41===undefined||_0x150a41===null||_0x150a41==='',isNotUndefinedOrNull=_0x1eae9d=>!isUndefinedOrNull(_0x1eae9d),isString=_0x361b46=>isNotUndefinedOrNull(_0x361b46)&&typeof _0x361b46===a110_0xd11c6f(0x217);function a110_0x2154(_0x275cbc,_0x5c8fef){const _0x388837=a110_0x3888();return a110_0x2154=function(_0x21549c,_0x1fcadf){_0x21549c=_0x21549c-0x1af;let _0x1af939=_0x388837[_0x21549c];return _0x1af939;},a110_0x2154(_0x275cbc,_0x5c8fef);}class AiSdkWrapper{constructor(){const _0x4e42e9=a110_0xd11c6f,_0x33ae42={'HlEwE':function(_0x4002ed,_0x4e325c){return _0x4002ed(_0x4e325c);},'levFp':_0x4e42e9(0x1f8)};this['BrowserstackHealing']=undefined;try{this[_0x4e42e9(0x20d)]=_0x33ae42['HlEwE'](require,path[_0x4e42e9(0x1de)](__dirname,_0x33ae42[_0x4e42e9(0x1d0)]));}catch(_0x3b092b){logger[_0x4e42e9(0x1ed)](_0x4e42e9(0x211)+(_0x3b092b&&_0x3b092b[_0x4e42e9(0x1eb)]?_0x3b092b['message']:''));}}[a110_0xd11c6f(0x1ef)](_0x3686e8){const _0x3acab5=a110_0xd11c6f,_0x57ace2={};_0x57ace2['miZTi']=_0x3acab5(0x203),_0x57ace2[_0x3acab5(0x1ce)]=function(_0x259ba5,_0x583ecd){return _0x259ba5===_0x583ecd;},_0x57ace2['NZicm']=_0x3acab5(0x1f6),_0x57ace2['aIJbC']=_0x3acab5(0x212),_0x57ace2[_0x3acab5(0x1bb)]=function(_0x3dc9d0,_0x50e8dd){return _0x3dc9d0===_0x50e8dd;},_0x57ace2[_0x3acab5(0x1b3)]=_0x3acab5(0x21b),_0x57ace2[_0x3acab5(0x20a)]=function(_0x53cb51,_0xba983f){return _0x53cb51===_0xba983f;},_0x57ace2['ydHrl']='edge',_0x57ace2[_0x3acab5(0x1d8)]=_0x3acab5(0x1af),_0x57ace2[_0x3acab5(0x230)]=function(_0x169dbe,_0x232c44){return _0x169dbe===_0x232c44;};const _0x19dafb=_0x57ace2;try{const _0x2fc6b5=this['BrowserstackHealing']['initializeCapabilities'](Object[_0x3acab5(0x1fd)](_0x3686e8['getCapabilities']()[_0x3acab5(0x218)]));console[_0x3acab5(0x20c)](_0x19dafb[_0x3acab5(0x1c6)],_0x2fc6b5);if(_0x19dafb[_0x3acab5(0x1ce)](_0x2fc6b5?.[_0x3acab5(0x1fa)]?.[_0x3acab5(0x1e8)](),_0x19dafb[_0x3acab5(0x22c)]))_0x3686e8[_0x3acab5(0x1c1)]=_0x2fc6b5;else{if(_0x19dafb[_0x3acab5(0x1ce)](_0x2fc6b5?.[_0x3acab5(0x1fa)]?.['toLowerCase'](),_0x19dafb[_0x3acab5(0x220)]))_0x3686e8[_0x3acab5(0x1e4)]=_0x2fc6b5;else{if(_0x19dafb[_0x3acab5(0x1bb)](_0x2fc6b5?.['browserName']?.[_0x3acab5(0x1e8)](),_0x19dafb[_0x3acab5(0x1b3)]))_0x3686e8[_0x3acab5(0x22a)]=_0x2fc6b5;else{if(_0x19dafb[_0x3acab5(0x20a)](_0x2fc6b5?.[_0x3acab5(0x1fa)]?.[_0x3acab5(0x1e8)](),_0x19dafb[_0x3acab5(0x1c7)])||_0x19dafb['lTimO'](_0x2fc6b5?.[_0x3acab5(0x1fa)]?.[_0x3acab5(0x1e8)](),_0x19dafb['oSoSS']))_0x3686e8[_0x3acab5(0x1bc)]=_0x2fc6b5;else _0x19dafb[_0x3acab5(0x230)](_0x2fc6b5?.[_0x3acab5(0x1fa)]?.[_0x3acab5(0x1e8)](),'ie')&&(_0x3686e8[_0x3acab5(0x1c5)]=_0x2fc6b5);}}}Object[_0x3acab5(0x1c0)](_0x2fc6b5)['forEach'](_0x35fadd=>{const _0x27d967=_0x3acab5,_0x5e2388=_0x3686e8[_0x27d967(0x1d5)][_0x27d967(0x1b8)](_0x35fadd);_0x3686e8['capabilities_'][_0x27d967(0x213)](_0x35fadd,_0x2fc6b5[_0x35fadd]);});}catch(_0x43f343){logger[_0x3acab5(0x1ed)](_0x3acab5(0x229)+(_0x43f343&&_0x43f343[_0x3acab5(0x1eb)]?_0x43f343[_0x3acab5(0x1eb)]:''));}}async[a110_0xd11c6f(0x1dc)](_0xe2ec7a){const _0x14ff7c=a110_0xd11c6f,_0x24b178={'tICok':function(_0x1fd435,_0x2bc3e3,_0x45fcbf,_0x23e880,_0x294480,_0x12b9b6,_0x5a0b9a){return _0x1fd435(_0x2bc3e3,_0x45fcbf,_0x23e880,_0x294480,_0x12b9b6,_0x5a0b9a);},'qCsBl':'BrowserstackHealing.setToken\x20method\x20timed\x20out','aGtYe':_0x14ff7c(0x214),'ATBIZ':_0x14ff7c(0x231)},_0xa2d98e=new Date(),_0x35373d=_0x24b178[_0x14ff7c(0x221)](timeoutPromise,constants[_0x14ff7c(0x1c8)],_0x24b178['qCsBl'],_0x24b178[_0x14ff7c(0x21c)],_0xa2d98e,this[_0x14ff7c(0x202)],this[_0x14ff7c(0x219)]);await Promise[_0x14ff7c(0x1d4)]([this[_0x14ff7c(0x20d)][_0x14ff7c(0x210)](_0xe2ec7a,globals[_0x14ff7c(0x226)](_0x24b178[_0x14ff7c(0x1db)]),constants[_0x14ff7c(0x1fb)])[_0x14ff7c(0x22d)](()=>{_0x35373d['cancel']();}),_0x35373d]);}async[a110_0xd11c6f(0x1f9)](_0xbe3de2,_0x5c6b96,_0x224419,_0xb02a86){const _0x1df163=a110_0xd11c6f,_0x40ad11={'rKpHC':function(_0x332e9b,_0x4ac623){return _0x332e9b===_0x4ac623;},'Oemfp':function(_0x56bdba,_0x555fe0){return _0x56bdba===_0x555fe0;},'IsEMY':function(_0x370507,_0x5ddac7){return _0x370507(_0x5ddac7);},'MZgyK':function(_0x148224,_0x340664){return _0x148224(_0x340664);},'ZLlXt':function(_0x5713e5,_0x19819d){return _0x5713e5(_0x19819d);},'AqKQB':function(_0x3245a2,_0x21635f){return _0x3245a2(_0x21635f);},'YrpEW':function(_0x15f435,_0x1446b3){return _0x15f435(_0x1446b3);},'IIlFT':function(_0x111f66,_0x22c0b6){return _0x111f66(_0x22c0b6);},'suHmZ':function(_0x132f1c,_0x1ef369){return _0x132f1c(_0x1ef369);},'HqJRa':function(_0x591c1d,_0x1fe05d){return _0x591c1d(_0x1fe05d);},'FJWOm':'s://','ZgsOj':function(_0x112b37,_0x4f4927){return _0x112b37(_0x4f4927);},'oRnow':_0x1df163(0x215),'MDgHL':_0x1df163(0x201),'RePTz':'aiHeal_isGroupAIEnabled','tNEJI':function(_0x3c4fc7,_0x2a514e,_0x1b1d10,_0x4a77ec,_0x5ea23f,_0x2d4bc1,_0x8d6596){return _0x3c4fc7(_0x2a514e,_0x1b1d10,_0x4a77ec,_0x5ea23f,_0x2d4bc1,_0x8d6596);},'MtKvS':_0x1df163(0x1f5),'spDJs':_0x1df163(0x206),'aVpRo':_0x1df163(0x224),'swXIG':'BrowserstackHealingHealFailureFailed'},_0x4be71e=(await _0x5c6b96['getSession']())[_0x1df163(0x222)]();let _0x3934c7='';if(commandRepository['isSelfHealEnabled']()&&_0x40ad11[_0x1df163(0x1cd)](_0xb02a86,![])||_0x40ad11[_0x1df163(0x227)](_0xb02a86,!![])){const _0x1eb63f=_0x40ad11[_0x1df163(0x1e3)](isNotUndefinedOrNull,_0x224419[_0x1df163(0x1e7)]['using'])&&_0x40ad11[_0x1df163(0x1cc)](isString,_0x224419[_0x1df163(0x1e7)][_0x1df163(0x200)])?_0x224419[_0x1df163(0x1e7)]['using']['replace'](/'/g,'\x5c\x27')[_0x1df163(0x1c9)](/"/g,'\x5c\x22'):'',_0x430ed1=_0x40ad11[_0x1df163(0x1d7)](isNotUndefinedOrNull,_0x224419[_0x1df163(0x1e7)][_0x1df163(0x200)])&&_0x40ad11[_0x1df163(0x209)](isString,_0x224419[_0x1df163(0x1e7)][_0x1df163(0x1f1)])?_0x224419[_0x1df163(0x1e7)][_0x1df163(0x1f1)]['replace'](/'/g,'\x5c\x27')['replace'](/"/g,'\x5c\x22'):'',_0x3ffb31=_0x40ad11[_0x1df163(0x1b5)](isNotUndefinedOrNull,commandRepository['getProjectName']())&&_0x40ad11['IIlFT'](isString,commandRepository[_0x1df163(0x1ee)]())?commandRepository[_0x1df163(0x1ee)]()['replace'](/'/g,'\x5c\x27')[_0x1df163(0x1c9)](/"/g,'\x5c\x22'):'';let _0x5916bc=_0x40ad11[_0x1df163(0x1d7)](isNotUndefinedOrNull,global['browserstackSessionName'])&&_0x40ad11[_0x1df163(0x1b5)](isString,global[_0x1df163(0x21f)])?global[_0x1df163(0x21f)][_0x1df163(0x1c9)](/'/g,'\x5c\x27')['replace'](/"/g,'\x5c\x22'):'';!_0x5916bc&&(_0x5916bc=_0x40ad11['suHmZ'](isNotUndefinedOrNull,commandRepository[_0x1df163(0x1b0)]())&&_0x40ad11[_0x1df163(0x22e)](isString,commandRepository[_0x1df163(0x1b0)]())?commandRepository[_0x1df163(0x1b0)]()[_0x1df163(0x1c9)](/'/g,'\x5c\x27')['replace'](/"/g,'\x5c\x22'):'');let _0x2f29b6=_0x1df163(0x1d9)+constants[_0x1df163(0x1be)]+'\x22,\x20\x22tcgUrls\x22:\x20{\x22'+constants[_0x1df163(0x1be)]+_0x1df163(0x1e0)+constants['TCG_URL'][_0x1df163(0x1fc)](_0x40ad11[_0x1df163(0x1e1)])[0x1]+_0x1df163(0x1c3);_0x2f29b6=_0x40ad11[_0x1df163(0x1cb)](isNotUndefinedOrNull,_0x2f29b6)&&_0x40ad11[_0x1df163(0x1e3)](isString,_0x2f29b6)?_0x2f29b6['replace'](/'/g,'\x5c\x27')[_0x1df163(0x1c9)](/"/g,'\x5c\x22'):'';const _0x44d98e=commandRepository[_0x1df163(0x223)](_0x4be71e),_0x35f40c=globals[_0x1df163(0x226)](_0x40ad11['oRnow']),_0x52af41=globals[_0x1df163(0x226)](_0x40ad11[_0x1df163(0x228)]),_0x37d975=globals[_0x1df163(0x226)](_0x40ad11['RePTz']),_0x9bff13=![],_0x456754=new Date();if(_0xb02a86){const _0x5cac8d=_0x40ad11[_0x1df163(0x1ff)](timeoutPromise,constants[_0x1df163(0x1f0)],_0x40ad11[_0x1df163(0x1d2)],_0x40ad11['spDJs'],_0x456754,this[_0x1df163(0x202)],this[_0x1df163(0x219)]);_0x3934c7=await Promise['race']([this[_0x1df163(0x20d)][_0x1df163(0x225)](_0x1eb63f,_0x430ed1,_0x3ffb31,_0x5916bc,_0x52af41,_0x4be71e,_0x44d98e,_0x2f29b6)[_0x1df163(0x22d)](_0x1ad85c=>{const _0x548b27=_0x1df163;return _0x5cac8d[_0x548b27(0x1ec)](),_0x1ad85c;}),_0x5cac8d]);}else{if(commandRepository[_0x1df163(0x1b1)]()){const _0x5c90f4=_0x40ad11[_0x1df163(0x1ff)](timeoutPromise,constants[_0x1df163(0x1b7)],_0x40ad11[_0x1df163(0x216)],_0x40ad11[_0x1df163(0x1e5)],_0x456754,this[_0x1df163(0x202)],this[_0x1df163(0x219)]);_0x3934c7=await Promise[_0x1df163(0x1d4)]([this[_0x1df163(0x20d)][_0x1df163(0x1b9)](_0x1eb63f,_0x430ed1,_0x3ffb31,_0x5916bc,_0x35f40c,_0x52af41,_0x4be71e,_0x44d98e,_0x9bff13,_0x37d975,_0x2f29b6)[_0x1df163(0x22d)](_0x57906c=>{const _0x498738=_0x1df163;return _0x5c90f4[_0x498738(0x1ec)](),_0x57906c;}),_0x5c90f4]);}}_0x3934c7&&await _0x5c6b96[_0x1df163(0x1e9)](_0x3934c7);}}async[a110_0xd11c6f(0x1dd)](_0x465ad0,_0x59cc5d,_0x40c9a6){const _0x21c7c8=a110_0xd11c6f;try{await this[_0x21c7c8(0x1f9)](_0x465ad0,_0x59cc5d,_0x40c9a6,!![]);}catch(_0x8ed379){return logger[_0x21c7c8(0x1ed)]('Error\x20in\x20(healing)\x20success\x20event.\x20ERROR:\x20'+(_0x8ed379&&_0x8ed379['message']?_0x8ed379[_0x21c7c8(0x1eb)]:'')),![];}return!![];}async[a110_0xd11c6f(0x1fe)](_0x525da6,_0x445982,_0x359318){const _0x59990d=a110_0xd11c6f,_0x34ee48={'abHmp':function(_0x459c6f,_0x3e0d55,_0x3bcb37,_0x3496b0,_0x509518,_0x3a252a,_0x1af8af){return _0x459c6f(_0x3e0d55,_0x3bcb37,_0x3496b0,_0x509518,_0x3a252a,_0x1af8af);},'naiCA':_0x59990d(0x1c2),'TfCKa':_0x59990d(0x1b4),'FJqfL':'aiHeal_sessionToken'};try{await this[_0x59990d(0x1f9)](_0x525da6,_0x445982,_0x359318,![]);const _0x534d14=(await _0x445982[_0x59990d(0x21d)]())['getId'](),_0x57d0f9=new Date(),_0x33fe6b=_0x34ee48[_0x59990d(0x1c4)](timeoutPromise,constants[_0x59990d(0x20f)],_0x34ee48[_0x59990d(0x1f7)],_0x34ee48[_0x59990d(0x1d1)],_0x57d0f9,this[_0x59990d(0x202)],this[_0x59990d(0x219)]),_0x6d299=await Promise[_0x59990d(0x1d4)]([this['BrowserstackHealing'][_0x59990d(0x1d6)](constants[_0x59990d(0x1fb)],_0x534d14,globals[_0x59990d(0x226)](_0x34ee48[_0x59990d(0x1f2)]))[_0x59990d(0x22d)](_0x18482b=>{const _0x1ecc35=_0x59990d;return _0x33fe6b[_0x1ecc35(0x1ec)](),_0x18482b;}),_0x33fe6b]);if(_0x6d299&&_0x6d299[_0x59990d(0x1ea)]&&_0x6d299[_0x59990d(0x1f1)]){const _0x4c190a={};return _0x4c190a[_0x59990d(0x1bf)]=_0x6d299[_0x59990d(0x1ea)],_0x4c190a[_0x59990d(0x207)]=_0x6d299[_0x59990d(0x1f1)],_0x4c190a[_0x59990d(0x21e)]=!![],_0x4c190a;}const _0x341a97={};return _0x341a97[_0x59990d(0x1bf)]=_0x359318[_0x59990d(0x1e7)][_0x59990d(0x200)],_0x341a97[_0x59990d(0x207)]=_0x6d299[_0x59990d(0x1f1)],_0x341a97[_0x59990d(0x21e)]=!![],_0x341a97;}catch(_0x15f7f2){return logger[_0x59990d(0x1bd)](_0x59990d(0x204)+(_0x15f7f2&&_0x15f7f2['message']?_0x15f7f2[_0x59990d(0x1eb)]:'')),logger['info'](_0x59990d(0x1cf)+_0x359318[_0x59990d(0x208)]+_0x59990d(0x22f)),_0x359318;}}}exports[a110_0xd11c6f(0x22b)]=Object[a110_0xd11c6f(0x1da)](new AiSdkWrapper());
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a111_0x31de64=a111_0x5eba;(function(_0x30174d,_0x38b116){const _0x4f3a1=a111_0x5eba,_0x384139=_0x30174d();while(!![]){try{const _0x2dd290=-parseInt(_0x4f3a1(0x165))/0x1+parseInt(_0x4f3a1(0x161))/0x2*(parseInt(_0x4f3a1(0x159))/0x3)+parseInt(_0x4f3a1(0x170))/0x4+-parseInt(_0x4f3a1(0x174))/0x5+-parseInt(_0x4f3a1(0x157))/0x6+-parseInt(_0x4f3a1(0x172))/0x7*(parseInt(_0x4f3a1(0x17d))/0x8)+parseInt(_0x4f3a1(0x185))/0x9;if(_0x2dd290===_0x38b116)break;else _0x384139['push'](_0x384139['shift']());}catch(_0x2bb7a1){_0x384139['push'](_0x384139['shift']());}}}(a111_0x41e0,0x7224a));const calculateTimeDiff=_0x18ef08=>Date['now']()-_0x18ef08,logger=require(a111_0x31de64(0x152))[a111_0x31de64(0x15c)],globals=require('../globals');function a111_0x41e0(){const _0x1bafa7=['true','DarsS','authInfo','setProjectNameForHealingContext','getCommands','accessKey','7633017QFAkkG','framework','HnQBB','config','isSelfHealEnabled','aiHeal_isAuthenticated','../logger','Olovn','LGmxR','split','pushCommand','803304iimdsB','stringify','83142dHoSaz','push','getGlobal','winstonLogger','map','userName','getFramework','setAuthInfo','66bUpxEq','getConfig','commands','No\x20commands\x20found\x20for\x20session:\x20','916296AplqCm','projectName','aiHeal_isHealingEnabled','isTcgTokenSet','_pushCommand','getAuthInfo','aiSessionTimeStamp','jxxXZ','setAiSessionTimeStamp','now','setConfig','1215232RihdlY','ZJXGw','330883clAMrX','lZUhX','2271175fEJgHA','setTestNameForHealingContext','ZUNzh','setFramework','getProjectName','sfuuN','testName','iHEOQ','getTestName','16uQiFpo','selfHeal'];a111_0x41e0=function(){return _0x1bafa7;};return a111_0x41e0();}class HealingCommandRepo{constructor(){const _0x345b08=a111_0x31de64,_0x466d20={};_0x466d20['sfuuN']='0|2|4|3|1|5';const _0x50244f=_0x466d20,_0x536ab2=_0x50244f[_0x345b08(0x179)][_0x345b08(0x155)]('|');let _0x36e726=0x0;while(!![]){switch(_0x536ab2[_0x36e726++]){case'0':this['commands']={};continue;case'1':this[_0x345b08(0x181)]={};continue;case'2':this[_0x345b08(0x16b)]={};continue;case'3':this[_0x345b08(0x17a)]='';continue;case'4':this[_0x345b08(0x166)]='';continue;case'5':this[_0x345b08(0x168)]=![];continue;}break;}}[a111_0x31de64(0x169)](_0xef340a,_0x20ce39){const _0x2bb59a=a111_0x31de64,_0x6aa460={};_0x6aa460[_0x2bb59a(0x173)]=function(_0x195a3b,_0x375f76){return _0x195a3b in _0x375f76;};const _0x1b4067=_0x6aa460;!_0x1b4067['lZUhX'](_0xef340a,this['commands'])&&(this[_0x2bb59a(0x163)][_0xef340a]=[]),this['commands'][_0xef340a][_0x2bb59a(0x15a)](_0x20ce39);}[a111_0x31de64(0x156)](_0x4018c8,_0x16d9a4){const _0x88765f=a111_0x31de64,_0x47191b={'ZUNzh':function(_0x191575,_0x547043){return _0x191575(_0x547043);}},_0x270676=_0x16d9a4['method'],_0x12e7f3=_0x16d9a4['path'][_0x88765f(0x155)](_0x4018c8)[0x1],_0x1f4ea0=this[_0x88765f(0x16b)][_0x4018c8],_0x186c6a={'k':_0x270676+':'+_0x12e7f3,'t':_0x47191b[_0x88765f(0x176)](calculateTimeDiff,_0x1f4ea0)};this[_0x88765f(0x169)](_0x4018c8,_0x186c6a);}[a111_0x31de64(0x16d)](_0x12bdae){const _0x3efecd=a111_0x31de64;this['aiSessionTimeStamp'][_0x12bdae]=Date[_0x3efecd(0x16e)]();}[a111_0x31de64(0x160)](_0x50ec63,_0x170106){const _0x1e6e58=a111_0x31de64;this['authInfo']['userName']=_0x50ec63,this['authInfo'][_0x1e6e58(0x184)]=_0x170106;}[a111_0x31de64(0x16a)](){const _0x188ac8=a111_0x31de64;return this[_0x188ac8(0x181)];}['setProjectNameForHealingContext'](_0x285e59){const _0x3d7e67=a111_0x31de64;this[_0x3d7e67(0x166)]=_0x285e59;}[a111_0x31de64(0x175)](_0xf959d6){const _0x12eca0=a111_0x31de64;this[_0x12eca0(0x17a)]=_0xf959d6;}[a111_0x31de64(0x16f)](_0xcacefb){const _0x183d0f=a111_0x31de64;this[_0x183d0f(0x14f)]=_0xcacefb,this[_0x183d0f(0x182)](_0xcacefb[_0x183d0f(0x166)]),this['setAuthInfo'](_0xcacefb[_0x183d0f(0x15e)],_0xcacefb[_0x183d0f(0x184)]);}[a111_0x31de64(0x177)](_0x4df37d){const _0x3f55ce=a111_0x31de64;this[_0x3f55ce(0x186)]=_0x4df37d;}['setTcgTokenStatus'](_0x83fd18){const _0x2cab22=a111_0x31de64;this[_0x2cab22(0x168)]=_0x83fd18;}[a111_0x31de64(0x162)](){const _0x32d5ce=a111_0x31de64;return this[_0x32d5ce(0x14f)];}[a111_0x31de64(0x15f)](){return this['framework'];}[a111_0x31de64(0x178)](){const _0x589abb=a111_0x31de64;return this[_0x589abb(0x166)];}[a111_0x31de64(0x17c)](){const _0x1c00b1=a111_0x31de64;return this[_0x1c00b1(0x17a)];}[a111_0x31de64(0x183)](_0x446103){const _0x48616c=a111_0x31de64,_0x35266d={};_0x35266d[_0x48616c(0x171)]=_0x48616c(0x151),_0x35266d[_0x48616c(0x180)]=_0x48616c(0x167),_0x35266d[_0x48616c(0x153)]=function(_0x5daf4d,_0x3f272e){return _0x5daf4d===_0x3f272e;},_0x35266d[_0x48616c(0x16c)]=function(_0x41c1da,_0x137b52){return _0x41c1da+_0x137b52;},_0x35266d[_0x48616c(0x14e)]=_0x48616c(0x164);const _0x40d025=_0x35266d,_0x28b334=this[_0x48616c(0x163)][_0x446103];this['commands'][_0x446103]=[];if(globals[_0x48616c(0x15b)](_0x40d025[_0x48616c(0x171)])&&globals[_0x48616c(0x15b)](_0x40d025[_0x48616c(0x180)])&&!_0x28b334||_0x40d025[_0x48616c(0x153)](_0x28b334['length'],0x0))return logger['debug'](_0x40d025[_0x48616c(0x16c)](_0x40d025[_0x48616c(0x14e)],_0x446103)),'';return _0x28b334[_0x48616c(0x15d)](_0x3dcd74=>JSON[_0x48616c(0x158)](_0x3dcd74))['join'](',');}[a111_0x31de64(0x150)](){const _0x4effcd=a111_0x31de64,_0x59ce31={};_0x59ce31[_0x4effcd(0x17b)]=function(_0x57fdb3,_0x5404cb){return _0x57fdb3===_0x5404cb;},_0x59ce31[_0x4effcd(0x154)]=_0x4effcd(0x17f);const _0x3b596f=_0x59ce31;let _0x3877ba=![];return this['getConfig']()&&(_0x3b596f[_0x4effcd(0x17b)](this[_0x4effcd(0x162)]()[_0x4effcd(0x17e)],!![])||_0x3b596f[_0x4effcd(0x17b)](this['getConfig']()['selfHeal'],_0x3b596f[_0x4effcd(0x154)]))&&(_0x3877ba=!![]),_0x3877ba;}['getTcgTokenStatus'](){return this['isTcgTokenSet'];}}function a111_0x5eba(_0x53ee1c,_0xc61626){const _0x41e024=a111_0x41e0();return a111_0x5eba=function(_0x5eba0b,_0x591a15){_0x5eba0b=_0x5eba0b-0x14e;let _0x129b9d=_0x41e024[_0x5eba0b];return _0x129b9d;},a111_0x5eba(_0x53ee1c,_0xc61626);}exports['commandRepository']=new HealingCommandRepo();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a112_0x500f(){const _0x4407ef=['automate-turboscale/v1','API_ENDPOINT','1881oUYCYg','3004348yNAujo','BUILDS_DASHBOARD_URL','270eQMssX','5PKmrDF','8068orQnnw','preprod','2981988fAVILn','staging','stag','3224242VcFnLq','50mrHYxl','2874159OzpHeP','exports','18Hxslob','https://grid.browserstack.com/dashboard/builds','BROWSERSTACK_ENV','108336Moxopw','https://grid-preprod.bsstag.com/dashboard/builds','https://grid-devhst.bsstag.com/dashboard/builds','3992576THzmZj','env'];a112_0x500f=function(){return _0x4407ef;};return a112_0x500f();}const a112_0x1d198a=a112_0x4416;(function(_0x74086f,_0xeb6dc8){const _0x18f1bd=a112_0x4416,_0x49a376=_0x74086f();while(!![]){try{const _0x143d0d=-parseInt(_0x18f1bd(0x1e2))/0x1*(parseInt(_0x18f1bd(0x1e0))/0x2)+-parseInt(_0x18f1bd(0x1e4))/0x3+parseInt(_0x18f1bd(0x1de))/0x4*(parseInt(_0x18f1bd(0x1e1))/0x5)+-parseInt(_0x18f1bd(0x1d3))/0x6*(parseInt(_0x18f1bd(0x1e7))/0x7)+parseInt(_0x18f1bd(0x1d9))/0x8+parseInt(_0x18f1bd(0x1e9))/0x9*(parseInt(_0x18f1bd(0x1e8))/0xa)+-parseInt(_0x18f1bd(0x1dd))/0xb*(-parseInt(_0x18f1bd(0x1d6))/0xc);if(_0x143d0d===_0xeb6dc8)break;else _0x49a376['push'](_0x49a376['shift']());}catch(_0x2768b5){_0x49a376['push'](_0x49a376['shift']());}}}(a112_0x500f,0xe200c));const a112_0x537f58={};a112_0x537f58[a112_0x1d198a(0x1df)]=a112_0x1d198a(0x1d4),a112_0x537f58[a112_0x1d198a(0x1dc)]=a112_0x1d198a(0x1db),module['exports']=a112_0x537f58;const _env=(process[a112_0x1d198a(0x1da)][a112_0x1d198a(0x1d5)]||'prod')['toLowerCase']();function a112_0x4416(_0x1db39e,_0x2a80e4){const _0x500f29=a112_0x500f();return a112_0x4416=function(_0x4416aa,_0x3ded96){_0x4416aa=_0x4416aa-0x1d3;let _0x2b3002=_0x500f29[_0x4416aa];return _0x2b3002;},a112_0x4416(_0x1db39e,_0x2a80e4);}if(_env===a112_0x1d198a(0x1e5)||_env===a112_0x1d198a(0x1e6))module[a112_0x1d198a(0x1ea)][a112_0x1d198a(0x1df)]=a112_0x1d198a(0x1d8);else(_env===a112_0x1d198a(0x1e3)||_env==='pre-prod')&&(module[a112_0x1d198a(0x1ea)][a112_0x1d198a(0x1df)]=a112_0x1d198a(0x1d7));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a113_0xec371a=a113_0x8dc2;function a113_0x8dc2(_0x3e12e8,_0x1d805e){const _0x216dcc=a113_0x216d();return a113_0x8dc2=function(_0x8dc205,_0x5004b3){_0x8dc205=_0x8dc205-0x147;let _0x20f3cd=_0x216dcc[_0x8dc205];return _0x20f3cd;},a113_0x8dc2(_0x3e12e8,_0x1d805e);}(function(_0x1d6a5b,_0x2feaed){const _0x42713a=a113_0x8dc2,_0xf927ad=_0x1d6a5b();while(!![]){try{const _0x4be7ca=parseInt(_0x42713a(0x14a))/0x1+-parseInt(_0x42713a(0x154))/0x2+parseInt(_0x42713a(0x15a))/0x3*(-parseInt(_0x42713a(0x14f))/0x4)+-parseInt(_0x42713a(0x151))/0x5+-parseInt(_0x42713a(0x15d))/0x6+-parseInt(_0x42713a(0x156))/0x7*(-parseInt(_0x42713a(0x158))/0x8)+-parseInt(_0x42713a(0x147))/0x9*(-parseInt(_0x42713a(0x15e))/0xa);if(_0x4be7ca===_0x2feaed)break;else _0xf927ad['push'](_0xf927ad['shift']());}catch(_0x5b41a8){_0xf927ad['push'](_0xf927ad['shift']());}}}(a113_0x216d,0x55964));const constants=require(a113_0xec371a(0x163));exports[a113_0xec371a(0x148)]=()=>{const _0x42a60f=a113_0xec371a;if(!constants[_0x42a60f(0x161)][_0x42a60f(0x157)])return{};return constants[_0x42a60f(0x161)][_0x42a60f(0x157)];},exports['getTurboScaleGridName']=_0x4f8b8a=>{const _0x57ffa6=a113_0xec371a,_0x37be5a={};_0x37be5a[_0x57ffa6(0x152)]=_0x57ffa6(0x14b);const _0x222c0a=_0x37be5a;if(_0x4f8b8a[_0x57ffa6(0x14c)]&&_0x4f8b8a['turboScaleOptions']['gridName'])return _0x4f8b8a[_0x57ffa6(0x14c)][_0x57ffa6(0x150)];if(process[_0x57ffa6(0x159)][_0x57ffa6(0x155)])return process[_0x57ffa6(0x159)][_0x57ffa6(0x155)];return _0x222c0a['offLW'];},exports[a113_0xec371a(0x14e)]=_0x131b8b=>{const _0x3cdf29=a113_0xec371a,_0x519bf0={};_0x519bf0['tsSUz']=function(_0x39390a,_0x2daef3){return _0x39390a===_0x2daef3;},_0x519bf0[_0x3cdf29(0x15b)]='true';const _0x6cb467=_0x519bf0;return _0x131b8b&&_0x131b8b['turboScale']&&_0x6cb467[_0x3cdf29(0x14d)](_0x131b8b['turboScale']['toString']()['toLowerCase'](),_0x6cb467[_0x3cdf29(0x15b)]);},exports['getTurboScaleCaps']=(_0x405988,_0x41ee2f,_0x19eae9)=>{const _0x2187b6=a113_0xec371a,_0x22b48e={};_0x22b48e['joAHm']=_0x2187b6(0x160);const _0x4c92c7=_0x22b48e,_0x312b71={};_0x312b71[_0x2187b6(0x15c)]=_0x4c92c7['joAHm'];_0x405988[_0x2187b6(0x153)]&&(_0x312b71['buildTags']=Array[_0x2187b6(0x149)](_0x405988[_0x2187b6(0x153)])?_0x405988[_0x2187b6(0x153)]:_0x405988[_0x2187b6(0x153)]['split'](','));if(process['env']['BROWSERSTACK_BUILD_TAGS'])try{_0x312b71[_0x2187b6(0x153)]=process[_0x2187b6(0x159)][_0x2187b6(0x164)][_0x2187b6(0x162)](',');}catch{_0x312b71[_0x2187b6(0x153)]=process[_0x2187b6(0x159)][_0x2187b6(0x164)];}return _0x405988['buildPriority']&&(_0x312b71[_0x2187b6(0x15c)]=_0x405988[_0x2187b6(0x15c)]),process[_0x2187b6(0x159)][_0x2187b6(0x15f)]&&(_0x312b71[_0x2187b6(0x15c)]=process[_0x2187b6(0x159)]['BROWSERSTACK_BUILD_PRIORITY']),_0x312b71;};function a113_0x216d(){const _0x444394=['getTurboScaleOptions','isArray','463251xUsjPJ','NO_GRID_NAME_PASSED','turboScaleOptions','tsSUz','isTurboScaleSession','4PtsiwJ','gridName','2007115knqcDy','offLW','buildTags','973728ONQnya','BROWSERSTACK_TURBOSCALE_GRID_NAME','4055114rjwRVo','options','8ihiwzs','env','1053111uhqoOW','KCTpA','buildPriority','3820818VKBkAO','710qPiwnx','BROWSERSTACK_BUILD_PRIORITY','medium','TURBOSCALE_OPTIONS','split','../../bin/utils/constants','BROWSERSTACK_BUILD_TAGS','150102CnSHFW'];a113_0x216d=function(){return _0x444394;};return a113_0x216d();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var a109_0x3b5398=a109_0x2304;(function(_0x1309fb,_0x434d33){var _0x366341=a109_0x2304,_0x1a95ac=_0x1309fb();while(!![]){try{var _0x4b1dfb=parseInt(_0x366341(0x1c7))/0x1+-parseInt(_0x366341(0x1f7))/0x2+-parseInt(_0x366341(0x1cc))/0x3+-parseInt(_0x366341(0x1f6))/0x4+parseInt(_0x366341(0x23a))/0x5+-parseInt(_0x366341(0x206))/0x6+parseInt(_0x366341(0x1ea))/0x7*(parseInt(_0x366341(0x21f))/0x8);if(_0x4b1dfb===_0x434d33)break;else _0x1a95ac['push'](_0x1a95ac['shift']());}catch(_0x4b3a76){_0x1a95ac['push'](_0x1a95ac['shift']());}}}(a109_0x3a1a,0x95dee),exports[a109_0x3b5398(0x190)]=()=>{var _0x39fdce=a109_0x3b5398,_0x55c9f3={};_0x55c9f3[_0x39fdce(0x1b3)]='browserstack.user_name',_0x55c9f3[_0x39fdce(0x18f)]=_0x39fdce(0x187),_0x55c9f3[_0x39fdce(0x1b4)]=_0x39fdce(0x1bb),_0x55c9f3[_0x39fdce(0x1fc)]=_0x39fdce(0x1c3),_0x55c9f3[_0x39fdce(0x213)]='browserstack.buildName',_0x55c9f3[_0x39fdce(0x233)]=_0x39fdce(0x207),_0x55c9f3[_0x39fdce(0x1f5)]=_0x39fdce(0x18d),_0x55c9f3['eJPtH']=_0x39fdce(0x20e),_0x55c9f3[_0x39fdce(0x204)]='browserstack.parallelsPerPlatform',_0x55c9f3[_0x39fdce(0x194)]='browserstack.local',_0x55c9f3[_0x39fdce(0x245)]=_0x39fdce(0x23d),_0x55c9f3[_0x39fdce(0x1b5)]='browserstack.rerunTests',_0x55c9f3[_0x39fdce(0x1eb)]=_0x39fdce(0x248),_0x55c9f3['szooy']=_0x39fdce(0x1d2),_0x55c9f3[_0x39fdce(0x19c)]=_0x39fdce(0x237),_0x55c9f3[_0x39fdce(0x1c4)]=_0x39fdce(0x1d0),_0x55c9f3[_0x39fdce(0x231)]=_0x39fdce(0x1af),_0x55c9f3['Fsrga']='browserstackConfigFile',_0x55c9f3[_0x39fdce(0x229)]=_0x39fdce(0x232),_0x55c9f3[_0x39fdce(0x227)]=_0x39fdce(0x1ec),_0x55c9f3[_0x39fdce(0x1fb)]=_0x39fdce(0x1cb),_0x55c9f3[_0x39fdce(0x1da)]=_0x39fdce(0x20f),_0x55c9f3[_0x39fdce(0x19a)]=_0x39fdce(0x219);var _0x3ca878=_0x55c9f3,_0x7b239a={};return _0x7b239a[_0x39fdce(0x23e)]=[_0x3ca878[_0x39fdce(0x1b3)],_0x3ca878[_0x39fdce(0x18f)]],_0x7b239a['accessKey']=[_0x3ca878[_0x39fdce(0x1b4)],_0x3ca878[_0x39fdce(0x1fc)]],_0x7b239a['buildName']=[_0x3ca878[_0x39fdce(0x213)]],_0x7b239a['projectName']=[_0x3ca878['iglNR']],_0x7b239a['buildIdentifier']=[_0x3ca878[_0x39fdce(0x1f5)]],_0x7b239a['parallelsPerPlatform']=[_0x3ca878[_0x39fdce(0x1e7)],_0x3ca878[_0x39fdce(0x204)]],_0x7b239a[_0x39fdce(0x1c8)]=[_0x3ca878[_0x39fdce(0x194)]],_0x7b239a[_0x39fdce(0x224)]=[_0x3ca878['HmHgX']],_0x7b239a[_0x39fdce(0x21c)]=[_0x3ca878[_0x39fdce(0x1b5)]],_0x7b239a[_0x39fdce(0x19b)]=[_0x3ca878['AwDyo']],_0x7b239a[_0x39fdce(0x1df)]=[_0x3ca878[_0x39fdce(0x1cd)]],_0x7b239a['automation']=[_0x3ca878[_0x39fdce(0x19c)]],_0x7b239a['logDir']=[_0x3ca878[_0x39fdce(0x1c4)]],_0x7b239a[_0x39fdce(0x1f0)]=[_0x3ca878[_0x39fdce(0x231)],_0x3ca878[_0x39fdce(0x1e3)]],_0x7b239a[_0x39fdce(0x200)]=[_0x3ca878[_0x39fdce(0x229)]],_0x7b239a[_0x39fdce(0x1a4)]=[_0x3ca878[_0x39fdce(0x227)]],_0x7b239a[_0x39fdce(0x208)]=[_0x3ca878[_0x39fdce(0x1fb)]],_0x7b239a[_0x39fdce(0x249)]=[_0x3ca878['egPcv']],_0x7b239a['skipFlakyandFailed']=[_0x3ca878[_0x39fdce(0x19a)]],_0x7b239a;},exports['EnvCapsMapping']=()=>{var _0x873c8d=a109_0x3b5398,_0x5d0207={};_0x5d0207[_0x873c8d(0x228)]=_0x873c8d(0x1b1),_0x5d0207[_0x873c8d(0x20d)]=_0x873c8d(0x1f8),_0x5d0207['tVuhN']=_0x873c8d(0x21d),_0x5d0207[_0x873c8d(0x241)]=_0x873c8d(0x1d8),_0x5d0207[_0x873c8d(0x22c)]=_0x873c8d(0x243),_0x5d0207['dFTlY']=_0x873c8d(0x212),_0x5d0207['KLAGX']=_0x873c8d(0x23c),_0x5d0207[_0x873c8d(0x1ee)]=_0x873c8d(0x191),_0x5d0207[_0x873c8d(0x1a7)]=_0x873c8d(0x1e8),_0x5d0207['hDJCn']=_0x873c8d(0x1c2),_0x5d0207[_0x873c8d(0x225)]=_0x873c8d(0x1bf),_0x5d0207[_0x873c8d(0x239)]='BROWSERSTACK_APP',_0x5d0207[_0x873c8d(0x1ff)]=_0x873c8d(0x197),_0x5d0207['PEWrO']=_0x873c8d(0x1e6),_0x5d0207[_0x873c8d(0x1ef)]=_0x873c8d(0x247),_0x5d0207[_0x873c8d(0x20c)]=_0x873c8d(0x1c0);var _0x1b7350=_0x5d0207,_0x365678={};return _0x365678[_0x873c8d(0x23e)]=[_0x1b7350['KumBB'],_0x1b7350[_0x873c8d(0x20d)]],_0x365678[_0x873c8d(0x1b6)]=[_0x1b7350['tVuhN']],_0x365678[_0x873c8d(0x234)]=[_0x1b7350[_0x873c8d(0x241)]],_0x365678['projectName']=[_0x1b7350[_0x873c8d(0x22c)]],_0x365678[_0x873c8d(0x22f)]=[_0x1b7350['dFTlY']],_0x365678[_0x873c8d(0x1c1)]=[_0x1b7350[_0x873c8d(0x223)]],_0x365678[_0x873c8d(0x1c8)]=[_0x1b7350[_0x873c8d(0x1ee)]],_0x365678[_0x873c8d(0x224)]=[_0x1b7350[_0x873c8d(0x1a7)]],_0x365678[_0x873c8d(0x21c)]=[_0x1b7350[_0x873c8d(0x1a5)]],_0x365678[_0x873c8d(0x19b)]=[_0x1b7350['HcgfD'],_0x1b7350[_0x873c8d(0x239)]],_0x365678[_0x873c8d(0x1df)]=[_0x1b7350['oscvU'],_0x1b7350[_0x873c8d(0x253)]],_0x365678[_0x873c8d(0x22e)]=[_0x1b7350[_0x873c8d(0x1ef)]],_0x365678[_0x873c8d(0x24a)]=[_0x1b7350[_0x873c8d(0x1ef)]],_0x365678[_0x873c8d(0x1d1)]=[_0x1b7350['veOQo']],_0x365678;},exports[a109_0x3b5398(0x1d4)]=()=>[a109_0x3b5398(0x1b0),a109_0x3b5398(0x1de),a109_0x3b5398(0x1a8),a109_0x3b5398(0x23f),a109_0x3b5398(0x19b),a109_0x3b5398(0x218),'language',a109_0x3b5398(0x1e5),'orientation',a109_0x3b5398(0x1fa),a109_0x3b5398(0x19f),'fullReset','clearSystemFiles',a109_0x3b5398(0x1aa),a109_0x3b5398(0x1c5),a109_0x3b5398(0x220),'printPageSourceOnFindFailure',a109_0x3b5398(0x1d6),'appPackage',a109_0x3b5398(0x24d),a109_0x3b5398(0x1ab),'appWaitDuration',a109_0x3b5398(0x235),'allowTestPackages',a109_0x3b5398(0x216),a109_0x3b5398(0x192),a109_0x3b5398(0x238),a109_0x3b5398(0x244),a109_0x3b5398(0x24b),a109_0x3b5398(0x203),a109_0x3b5398(0x1f2),a109_0x3b5398(0x209),a109_0x3b5398(0x222),a109_0x3b5398(0x189),a109_0x3b5398(0x21a),'useKeystore','keystorePath',a109_0x3b5398(0x1e0),a109_0x3b5398(0x1e4),a109_0x3b5398(0x24c),a109_0x3b5398(0x1e9),'chromedriverArgs',a109_0x3b5398(0x1fd),a109_0x3b5398(0x205),a109_0x3b5398(0x211),a109_0x3b5398(0x21b),a109_0x3b5398(0x201),'chromedriverDisableBuildCheck',a109_0x3b5398(0x1b8),a109_0x3b5398(0x214),a109_0x3b5398(0x22d),a109_0x3b5398(0x1ba),a109_0x3b5398(0x1db),'dontStopAppOnReset',a109_0x3b5398(0x1d7),a109_0x3b5398(0x236),'noSign','ignoreUnimportantViews','disableAndroidWatchers',a109_0x3b5398(0x1bc),a109_0x3b5398(0x1cf),'nativeWebScreenshot','androidScreenshotPath',a109_0x3b5398(0x188),a109_0x3b5398(0x24f),a109_0x3b5398(0x1d3),a109_0x3b5398(0x195),a109_0x3b5398(0x1ca),'skipDeviceInitialization',a109_0x3b5398(0x230),a109_0x3b5398(0x1bd),'systemPort','remoteAdbHost',a109_0x3b5398(0x1fe),a109_0x3b5398(0x242),'unlockKey',a109_0x3b5398(0x1ac),a109_0x3b5398(0x22a),a109_0x3b5398(0x1e2),a109_0x3b5398(0x23b),a109_0x3b5398(0x1d9),'enforceAppInstall',a109_0x3b5398(0x1a0),a109_0x3b5398(0x21e),'enableWebviewDetailsCollection','remoteAppsCacheLimit',a109_0x3b5398(0x251),a109_0x3b5398(0x19e),a109_0x3b5398(0x210),'locationServicesEnabled',a109_0x3b5398(0x246),a109_0x3b5398(0x1ad),a109_0x3b5398(0x19d),a109_0x3b5398(0x226),a109_0x3b5398(0x250),a109_0x3b5398(0x193),a109_0x3b5398(0x20a),a109_0x3b5398(0x217),a109_0x3b5398(0x1f4),a109_0x3b5398(0x198),'localizableStringsDir',a109_0x3b5398(0x1a9),a109_0x3b5398(0x240),a109_0x3b5398(0x254),a109_0x3b5398(0x1b2),a109_0x3b5398(0x1be),'screenshotWaitTimeout',a109_0x3b5398(0x1ce),'enableAsyncExecuteFromHttps',a109_0x3b5398(0x196),'webkitDebugProxyPort','fullContextList',a109_0x3b5398(0x1b9),a109_0x3b5398(0x202),a109_0x3b5398(0x18c),a109_0x3b5398(0x1dc),'tapWithShortPressDuration',a109_0x3b5398(0x1c9),a109_0x3b5398(0x1ed),a109_0x3b5398(0x18e),'iosInstallPause',a109_0x3b5398(0x1d5),'keychainPassword',a109_0x3b5398(0x1f3),a109_0x3b5398(0x22b),a109_0x3b5398(0x1a6),a109_0x3b5398(0x1e1),a109_0x3b5398(0x20b),a109_0x3b5398(0x1a3),a109_0x3b5398(0x18b),a109_0x3b5398(0x252),a109_0x3b5398(0x24e),a109_0x3b5398(0x221),'resetOnSessionStartOnly',a109_0x3b5398(0x1dd),a109_0x3b5398(0x1ae),'wdaStartupRetryInterval','connectHardwareKeyboard',a109_0x3b5398(0x1b7),a109_0x3b5398(0x1a2),a109_0x3b5398(0x215),a109_0x3b5398(0x18a),'startIWDP',a109_0x3b5398(0x1a1),a109_0x3b5398(0x1f9),a109_0x3b5398(0x199),a109_0x3b5398(0x1f1),'logcatFilterSpecs',a109_0x3b5398(0x1c6)]);function a109_0x2304(_0x17ee5c,_0x5c8ed2){var _0x3a1a84=a109_0x3a1a();return a109_0x2304=function(_0x230407,_0x418993){_0x230407=_0x230407-0x187;var _0x4a806a=_0x3a1a84[_0x230407];return _0x4a806a;},a109_0x2304(_0x17ee5c,_0x5c8ed2);}function a109_0x3a1a(){var _0x43ce75=['CLICapsMapping','BROWSERSTACK_LOCAL','androidCoverageEndIntent','safariInitialUrl','GgYWJ','adbExecTimeout','skipLogCapture','BROWSERSTACK_OBSERVABILITY_DEBUG','keepKeyChains','mockLocationApp','LdJJW','app','CVbcX','autoDismissAlerts','bundleId','noReset','ensureWebviewsHavePages','allowTouchIdEnroll','simpleIsVisibleCheck','wdaLaunchTimeout','abortBuildOnFailure','hDJCn','webDriverAgentUrl','WbNYb','deviceName','processArguments','eventTimings','appWaitPackage','autoLaunch','autoAcceptAlerts','wdaStartupRetries','browserstack.config','automationName','BROWSERSTACK_USERNAME','sendKeyStrategy','YTXGu','JeBta','yzcHA','accessKey','maxTypingFrequency','autoWebviewTimeout','waitForAppScript','intentFlags','browserstack.access_key','chromeOptions','androidNaturalOrientation','webkitResponseTimeout','BROWSERSTACK_APP_ID','BROWSERSTACK_LOG_DIR','parallelsPerPlatform','BROWSERSTACK_RERUN_TESTS','browserstack.accessKey','JFzdm','enablePerformanceLogging','allowDelayAdb','173093xGoPkN','browserstackLocal','scaleFactor','localeScript','browserstack.testOrchestration.runPreviouslyFailedFirst','3272958XGAZXg','szooy','remoteDebugProxy','recreateChromeDriverSessions','browserstack.logDir','logDir','browserstack.logLevel','isHeadless','AppiumCaps','xcodeConfigFile','appActivity','unicodeKeyboard','BROWSERSTACK_BUILD_NAME','buildToolsVersion','egPcv','optionalIntentArguments','customSSLCert','commandTimeouts','platformVersion','logLevel','keystorePassword','keychainPath','uninstallOtherPackages','Fsrga','keyAlias','locale','BROWSERSTACK_TEST_REPORTING_DEBUG','eJPtH','BROWSERSTACK_LOCAL_IDENTIFIER','chromedriverExecutable','1068984oQuTti','AwDyo','browserstack.testOrchestration.abortBuildOnFailure','wdaLocalPort','qlRKd','xrpUa','browserstackConfigFile','logcatFormat','androidInstallPath','usePrebuiltWDA','safariOpenLinksInBackground','pVgOE','3161680jJOtrt','252990cxPXUA','BROWSERSTACK_USER_NAME','ignoreHiddenApiPolicyError','autoWebview','oIeFK','ezbsa','chromedriverExecutableDir','skipUnlock','oscvU','retryTestsOnFailure','chromedriverPorts','webviewConnectRetries','androidInstallTimeout','JHfYH','chromedriverChromeMappingFile','6368628wxhysE','browserstack.projectName','runPreviouslyFailedFirst','avd','safariAllowPopups','useNewWDA','veOQo','ZsWNV','browserstack.ppp','browserstack.testOrchestration.rerunPreviouslyFailed','launchTimeout','chromedriverUseSystemExecutable','BROWSERSTACK_BUILD_IDENTIFIER','TgjoV','intentAction','useCarthageSsl','androidCoverage','safariIgnoreFraudWarning','udid','browserstack.testOrchestration.skipFlakyandFailed','avdArgs','chromedriverPort','rerunTests','BROWSERSTACK_ACCESS_KEY','webviewDevtoolsPort','128kvINJK','otherApps','updatedWDABundleId','avdLaunchTimeout','KLAGX','localIdentifier','HcgfD','nativeInstrumentsLib','EEHri','KumBB','HwOLt','skipLogcatCapture','preventWDAAttachments','lstNv','intentCategory','automation','buildIdentifier','autoGrantPermissions','dPaKf','browserstack.testOrchestration.retryTestsOnFailure','iglNR','buildName','deviceReadyTimeout','resetKeyboard','browserstack.automation','androidDeviceReadyTimeout','MTVhX','5333620DKSgrb','disableWindowAnimation','BROWSERSTACK_PARALLELS_PER_PLATFORM','browserstack.localIdentifier','userName','newCommandTimeout','interKeyDelay','FGlvh','unlockType','BROWSERSTACK_PROJECT_NAME','adbPort','HmHgX','locationServicesAuthorized','BROWSERSTACK_AUTOMATION','browserstack.app','rerunPreviouslyFailed','browserstackAutomation','androidDeviceSocket','keyPassword','appWaitActivity','xcodeSigningId','gpsEnabled','nativeWebTap','calendarFormat','xcodeOrgId','PEWrO','showIOSLog','browserstack.userName','networkSpeed','avdReadyTimeout','shouldUseSingletonTestManager','wdaConnectionTimeout','appName','browserstack.buildIdentifier','showXcodeLog','EbEgK'];a109_0x3a1a=function(){return _0x43ce75;};return a109_0x3a1a();}
|
|
1
|
+
function a114_0x13aa(_0x1b0a8c,_0x110eb9){var _0x133ef9=a114_0x133e();return a114_0x13aa=function(_0x13aa95,_0x588112){_0x13aa95=_0x13aa95-0x83;var _0x51e336=_0x133ef9[_0x13aa95];return _0x51e336;},a114_0x13aa(_0x1b0a8c,_0x110eb9);}var a114_0x3f473c=a114_0x13aa;function a114_0x133e(){var _0x325f1a=['browserstack.testOrchestration.retryTestsOnFailure','webkitResponseTimeout','VFkql','showIOSLog','buildIdentifier','remoteAppsCacheLimit','logcatFormat','wdaLocalPort','chromedriverPorts','locationServicesAuthorized','browserstack.buildIdentifier','wdaStartupRetries','autoWebview','userName','isHeadless','waitForAppScript','UuRZr','adbPort','simpleIsVisibleCheck','browserstack.testOrchestration.skipFlakyandFailed','androidDeviceReadyTimeout','ensureWebviewsHavePages','2986863XnsIrb','optionalIntentArguments','nativeInstrumentsLib','KHDLx','app','skipFlakyandFailed','nativeWebTap','avd','appWaitDuration','4187830pkwPFa','avdReadyTimeout','unicodeKeyboard','WOSoH','wdaConnectionTimeout','RWSlR','FkqvT','eBOqi','preventWDAAttachments','autoGrantPermissions','skipDeviceInitialization','gHDPa','keyAlias','appWaitPackage','showXcodeLog','ignoreHiddenApiPolicyError','customSSLCert','commandTimeouts','nXAbh','5498152BAmxrR','BROWSERSTACK_LOG_DIR','9jBviLq','androidDeviceSocket','disableWindowAnimation','nFADj','eventTimings','safariInitialUrl','kwbUP','otherApps','runPreviouslyFailedFirst','localeScript','nativeWebScreenshot','localizableStringsDir','unlockKey','mdDVO','logDir','3NrsqLY','XirBM','language','tapWithShortPressDuration','bundleId','xcodeOrgId','launchTimeout','browserstack.testOrchestration.rerunPreviouslyFailed','remoteAdbHost','deviceName','sendKeyStrategy','lHWKp','scaleFactor','keychainPath','chromedriverUseSystemExecutable','BROWSERSTACK_TEST_REPORTING_DEBUG','browserstack.userName','wdaStartupRetryInterval','browserstack.automation','xcodeSigningId','JRVIk','browserstackConfigFile','browserstack.testOrchestration.runPreviouslyFailedFirst','fullContextList','intentAction','browserstack.projectName','96306DNQzGx','browserstack.accessKey','iosInstallPause','logLevel','BROWSERSTACK_BUILD_NAME','systemPort','localIdentifier','enforceAppInstall','YIQrz','rerunPreviouslyFailed','safariIgnoreFraudWarning','webkitDebugProxyPort','remoteDebugProxy','intentCategory','enablePerformanceLogging','interKeyDelay','disableAndroidWatchers','browserstack.access_key','keystorePath','BROWSERSTACK_RERUN_TESTS','3114000OmLwyG','keychainPassword','androidScreenshotPath','chromeOptions','xpAzc','tBzWn','autoDismissAlerts','sjBiQ','fvhVD','allowTouchIdEnroll','vwYKr','chromedriverPort','fJgfQ','useKeystore','BROWSERSTACK_PROJECT_NAME','BROWSERSTACK_BUILD_IDENTIFIER','tyqsC','screenshotWaitTimeout','useNewWDA','projectName','browserstack.logDir','bsiTj','mMysQ','BROWSERSTACK_LOCAL_IDENTIFIER','maxTypingFrequency','browserstack.app','IuQPF','accessKey','noReset','gpjdm','BROWSERSTACK_APP_ID','buildToolsVersion','recreateChromeDriverSessions','browserstack.local','chromedriverChromeMappingFile','logcatFilterSpecs','BROWSERSTACK_LOCAL','CLICapsMapping','ymMGM','xcodeConfigFile','FrVfc','resetOnSessionStartOnly','lJoUc','webviewDevtoolsPort','browserstackLocal','ceSUl','autoWebviewTimeout','buildName','keyPassword','usePrebuiltWDA','noSign','platformVersion','resetKeyboard','udid','androidCoverage','newCommandTimeout','browserstack.user_name','networkSpeed','skipLogCapture','unlockType','updatedWDABundleId','XPWYu','allowDelayAdb','browserstack.buildName','uninstallOtherPackages','fullReset','IYqHT','printPageSourceOnFindFailure','appName','processArguments','XIJBW','wdaLaunchTimeout','dFTNX','gpsEnabled','parallelsPerPlatform','dontStopAppOnReset','mockLocationApp','calendarFormat','AppiumCaps','avdLaunchTimeout','rpCiP','enableAsyncExecuteFromHttps','15ZwWfem','automation','ignoreUnimportantViews','browserstack.testOrchestration.abortBuildOnFailure','androidInstallPath','BROWSERSTACK_APP','fPjhl','3442588wrfDdN','10zyRUyK','keystorePassword','startIWDP','DjCoD','browserstackAutomation','2149154qfEJgX','retryTestsOnFailure','chromedriverArgs','abortBuildOnFailure'];a114_0x133e=function(){return _0x325f1a;};return a114_0x133e();}(function(_0x4f8af2,_0x3349db){var _0x572eb5=a114_0x13aa,_0x18b4f2=_0x4f8af2();while(!![]){try{var _0x36b91e=parseInt(_0x572eb5(0x123))/0x1*(parseInt(_0x572eb5(0xbd))/0x2)+parseInt(_0x572eb5(0xa3))/0x3*(parseInt(_0x572eb5(0x12a))/0x4)+parseInt(_0x572eb5(0x153))/0x5+-parseInt(_0x572eb5(0xd1))/0x6+-parseInt(_0x572eb5(0x130))/0x7+parseInt(_0x572eb5(0x92))/0x8*(-parseInt(_0x572eb5(0x94))/0x9)+parseInt(_0x572eb5(0x12b))/0xa*(-parseInt(_0x572eb5(0x14a))/0xb);if(_0x36b91e===_0x3349db)break;else _0x18b4f2['push'](_0x18b4f2['shift']());}catch(_0x46d1f6){_0x18b4f2['push'](_0x18b4f2['shift']());}}}(a114_0x133e,0x9b324),exports[a114_0x3f473c(0xf6)]=()=>{var _0x4e64b9=a114_0x3f473c,_0x11b59c={};_0x11b59c[_0x4e64b9(0xe7)]=_0x4e64b9(0x109),_0x11b59c['XPWYu']=_0x4e64b9(0xb3),_0x11b59c[_0x4e64b9(0x85)]=_0x4e64b9(0xce),_0x11b59c[_0x4e64b9(0xe6)]=_0x4e64b9(0xbe),_0x11b59c['mdDVO']=_0x4e64b9(0x110),_0x11b59c[_0x4e64b9(0xa4)]=_0x4e64b9(0xbc),_0x11b59c[_0x4e64b9(0xfe)]=_0x4e64b9(0x13e),_0x11b59c[_0x4e64b9(0xdd)]='browserstack.ppp',_0x11b59c['eBOqi']='browserstack.parallelsPerPlatform',_0x11b59c[_0x4e64b9(0xd8)]=_0x4e64b9(0xf2),_0x11b59c[_0x4e64b9(0x84)]='browserstack.localIdentifier',_0x11b59c[_0x4e64b9(0x119)]='browserstack.rerunTests',_0x11b59c[_0x4e64b9(0xf9)]=_0x4e64b9(0xea),_0x11b59c[_0x4e64b9(0x97)]='browserstack.logLevel',_0x11b59c[_0x4e64b9(0xd9)]=_0x4e64b9(0xb5),_0x11b59c[_0x4e64b9(0x136)]=_0x4e64b9(0xe5),_0x11b59c[_0x4e64b9(0x121)]='browserstack.config',_0x11b59c[_0x4e64b9(0x12e)]='browserstackConfigFile',_0x11b59c['GVkZJ']=_0x4e64b9(0x134),_0x11b59c[_0x4e64b9(0xfb)]=_0x4e64b9(0x126),_0x11b59c[_0x4e64b9(0x8a)]=_0x4e64b9(0xb9),_0x11b59c[_0x4e64b9(0xf7)]=_0x4e64b9(0xaa),_0x11b59c['gpjdm']=_0x4e64b9(0x147);var _0x3280fb=_0x11b59c,_0x5c8303={};return _0x5c8303[_0x4e64b9(0x141)]=[_0x3280fb[_0x4e64b9(0xe7)],_0x3280fb[_0x4e64b9(0x10e)]],_0x5c8303[_0x4e64b9(0xec)]=[_0x3280fb['FkqvT'],_0x3280fb[_0x4e64b9(0xe6)]],_0x5c8303[_0x4e64b9(0x100)]=[_0x3280fb[_0x4e64b9(0xa1)]],_0x5c8303[_0x4e64b9(0xe4)]=[_0x3280fb[_0x4e64b9(0xa4)]],_0x5c8303['buildIdentifier']=[_0x3280fb['ceSUl']],_0x5c8303[_0x4e64b9(0x11b)]=[_0x3280fb[_0x4e64b9(0xdd)],_0x3280fb[_0x4e64b9(0x86)]],_0x5c8303[_0x4e64b9(0xfd)]=[_0x3280fb[_0x4e64b9(0xd8)]],_0x5c8303[_0x4e64b9(0xc3)]=[_0x3280fb[_0x4e64b9(0x84)]],_0x5c8303['rerunTests']=[_0x3280fb['dFTNX']],_0x5c8303[_0x4e64b9(0x14e)]=[_0x3280fb['FrVfc']],_0x5c8303['logLevel']=[_0x3280fb[_0x4e64b9(0x97)]],_0x5c8303[_0x4e64b9(0x124)]=[_0x3280fb[_0x4e64b9(0xd9)]],_0x5c8303[_0x4e64b9(0xa2)]=[_0x3280fb[_0x4e64b9(0x136)]],_0x5c8303[_0x4e64b9(0xb8)]=[_0x3280fb[_0x4e64b9(0x121)],_0x3280fb[_0x4e64b9(0x12e)]],_0x5c8303[_0x4e64b9(0x131)]=[_0x3280fb['GVkZJ']],_0x5c8303[_0x4e64b9(0x133)]=[_0x3280fb[_0x4e64b9(0xfb)]],_0x5c8303[_0x4e64b9(0x9c)]=[_0x3280fb[_0x4e64b9(0x8a)]],_0x5c8303[_0x4e64b9(0xc6)]=[_0x3280fb[_0x4e64b9(0xf7)]],_0x5c8303[_0x4e64b9(0x14f)]=[_0x3280fb[_0x4e64b9(0xee)]],_0x5c8303;},exports['EnvCapsMapping']=()=>{var _0x33a39a=a114_0x3f473c,_0x17fe5e={};_0x17fe5e[_0x33a39a(0xd6)]='BROWSERSTACK_USERNAME',_0x17fe5e[_0x33a39a(0xb7)]='BROWSERSTACK_USER_NAME',_0x17fe5e[_0x33a39a(0x9a)]='BROWSERSTACK_ACCESS_KEY',_0x17fe5e[_0x33a39a(0x14d)]=_0x33a39a(0xc1),_0x17fe5e[_0x33a39a(0xae)]=_0x33a39a(0xdf),_0x17fe5e[_0x33a39a(0xeb)]=_0x33a39a(0xe0),_0x17fe5e['XIJBW']='BROWSERSTACK_PARALLELS_PER_PLATFORM',_0x17fe5e[_0x33a39a(0xc5)]=_0x33a39a(0xf5),_0x17fe5e['xpAzc']=_0x33a39a(0xe8),_0x17fe5e[_0x33a39a(0xe1)]=_0x33a39a(0xd0),_0x17fe5e['IYqHT']=_0x33a39a(0xef),_0x17fe5e[_0x33a39a(0x156)]=_0x33a39a(0x128),_0x17fe5e[_0x33a39a(0x91)]='BROWSERSTACK_OBSERVABILITY_DEBUG',_0x17fe5e[_0x33a39a(0x129)]=_0x33a39a(0xb2),_0x17fe5e[_0x33a39a(0x144)]='BROWSERSTACK_AUTOMATION',_0x17fe5e[_0x33a39a(0xdb)]=_0x33a39a(0x93);var _0xb2731d=_0x17fe5e,_0x5e24a1={};return _0x5e24a1[_0x33a39a(0x141)]=[_0xb2731d['tBzWn'],_0xb2731d['JRVIk']],_0x5e24a1[_0x33a39a(0xec)]=[_0xb2731d[_0x33a39a(0x9a)]],_0x5e24a1[_0x33a39a(0x100)]=[_0xb2731d[_0x33a39a(0x14d)]],_0x5e24a1[_0x33a39a(0xe4)]=[_0xb2731d['lHWKp']],_0x5e24a1[_0x33a39a(0x138)]=[_0xb2731d['IuQPF']],_0x5e24a1[_0x33a39a(0x11b)]=[_0xb2731d[_0x33a39a(0x117)]],_0x5e24a1['browserstackLocal']=[_0xb2731d[_0x33a39a(0xc5)]],_0x5e24a1[_0x33a39a(0xc3)]=[_0xb2731d[_0x33a39a(0xd5)]],_0x5e24a1['rerunTests']=[_0xb2731d[_0x33a39a(0xe1)]],_0x5e24a1[_0x33a39a(0x14e)]=[_0xb2731d[_0x33a39a(0x113)],_0xb2731d[_0x33a39a(0x156)]],_0x5e24a1[_0x33a39a(0xc0)]=[_0xb2731d['nXAbh'],_0xb2731d[_0x33a39a(0x129)]],_0x5e24a1['automation']=[_0xb2731d[_0x33a39a(0x144)]],_0x5e24a1[_0x33a39a(0x12f)]=[_0xb2731d[_0x33a39a(0x144)]],_0x5e24a1['logDir']=[_0xb2731d[_0x33a39a(0xdb)]],_0x5e24a1;},exports[a114_0x3f473c(0x11f)]=()=>['automationName',a114_0x3f473c(0x104),a114_0x3f473c(0xac),a114_0x3f473c(0x108),a114_0x3f473c(0x14e),a114_0x3f473c(0x106),a114_0x3f473c(0xa5),'locale','orientation',a114_0x3f473c(0x140),a114_0x3f473c(0xed),a114_0x3f473c(0x112),'clearSystemFiles',a114_0x3f473c(0x98),a114_0x3f473c(0xcb),a114_0x3f473c(0x9b),a114_0x3f473c(0x114),'appActivity','appPackage','appWaitActivity',a114_0x3f473c(0x8c),a114_0x3f473c(0x152),'deviceReadyTimeout','allowTestPackages',a114_0x3f473c(0x107),'androidCoverageEndIntent',a114_0x3f473c(0x148),a114_0x3f473c(0x145),a114_0x3f473c(0x95),'androidInstallTimeout',a114_0x3f473c(0x127),a114_0x3f473c(0x151),a114_0x3f473c(0x120),a114_0x3f473c(0x154),'avdArgs',a114_0x3f473c(0xde),a114_0x3f473c(0xcf),a114_0x3f473c(0x12c),a114_0x3f473c(0x8b),a114_0x3f473c(0x101),'chromedriverExecutable',a114_0x3f473c(0x132),'chromedriverExecutableDir',a114_0x3f473c(0xf3),a114_0x3f473c(0xb1),a114_0x3f473c(0xdc),a114_0x3f473c(0x13c),'chromedriverDisableBuildCheck',a114_0x3f473c(0xff),a114_0x3f473c(0xbb),a114_0x3f473c(0xca),'intentFlags',a114_0x3f473c(0x14b),a114_0x3f473c(0x11c),a114_0x3f473c(0x155),a114_0x3f473c(0x105),a114_0x3f473c(0x103),a114_0x3f473c(0x125),a114_0x3f473c(0xcd),a114_0x3f473c(0xd4),a114_0x3f473c(0xf1),a114_0x3f473c(0x9e),a114_0x3f473c(0xd3),a114_0x3f473c(0x10a),a114_0x3f473c(0x11a),a114_0x3f473c(0x142),'adbExecTimeout',a114_0x3f473c(0x9d),a114_0x3f473c(0x89),a114_0x3f473c(0x88),'androidNaturalOrientation',a114_0x3f473c(0xc2),a114_0x3f473c(0xab),'skipUnlock',a114_0x3f473c(0x10c),a114_0x3f473c(0xa0),'autoLaunch','skipLogcatCapture',a114_0x3f473c(0x111),a114_0x3f473c(0x96),a114_0x3f473c(0xf0),a114_0x3f473c(0xc4),a114_0x3f473c(0x149),a114_0x3f473c(0xfc),'enableWebviewDetailsCollection',a114_0x3f473c(0x139),a114_0x3f473c(0x11e),a114_0x3f473c(0xa7),a114_0x3f473c(0xa9),'locationServicesEnabled',a114_0x3f473c(0x13d),'autoAcceptAlerts',a114_0x3f473c(0xd7),a114_0x3f473c(0x14c),a114_0x3f473c(0x150),a114_0x3f473c(0x99),'safariAllowPopups',a114_0x3f473c(0xc7),'safariOpenLinksInBackground','keepKeyChains',a114_0x3f473c(0x9f),a114_0x3f473c(0x116),a114_0x3f473c(0xcc),a114_0x3f473c(0x137),a114_0x3f473c(0xad),a114_0x3f473c(0x135),a114_0x3f473c(0xe2),a114_0x3f473c(0xc9),a114_0x3f473c(0x122),a114_0x3f473c(0x10b),a114_0x3f473c(0xc8),a114_0x3f473c(0xba),a114_0x3f473c(0x143),'webviewConnectRetries',a114_0x3f473c(0x115),a114_0x3f473c(0x8f),a114_0x3f473c(0xa6),a114_0x3f473c(0xaf),a114_0x3f473c(0x13b),a114_0x3f473c(0x8d),a114_0x3f473c(0xbf),a114_0x3f473c(0xf8),a114_0x3f473c(0xd2),a114_0x3f473c(0x102),a114_0x3f473c(0x87),'webDriverAgentUrl',a114_0x3f473c(0xb0),a114_0x3f473c(0xe3),a114_0x3f473c(0x118),a114_0x3f473c(0x83),a114_0x3f473c(0xa8),a114_0x3f473c(0xb6),a114_0x3f473c(0x10d),a114_0x3f473c(0xfa),a114_0x3f473c(0x90),a114_0x3f473c(0x13f),a114_0x3f473c(0xb4),'connectHardwareKeyboard',a114_0x3f473c(0xe9),a114_0x3f473c(0x146),'useCarthageSsl','shouldUseSingletonTestManager',a114_0x3f473c(0x12d),a114_0x3f473c(0xda),a114_0x3f473c(0x8e),a114_0x3f473c(0x11d),a114_0x3f473c(0x13a),a114_0x3f473c(0xf4),a114_0x3f473c(0x10f)]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
var a115_0xb14a42=a115_0x2ec9;function a115_0x2763(){var _0x19ca51=['978ZWelwL','https://hub-use-only.browserstack.com/wd/hub','8UobjHV','4COeEkQ','16630wSOyFL','6849900WVvaoC','BROWSERSTACK_GRR_US_HUB_URL','8946252acdvLH','1349043OPCoHl','16905uAqwFS','103622dRLPPW','933222eVldNU'];a115_0x2763=function(){return _0x19ca51;};return a115_0x2763();}function a115_0x2ec9(_0x519f86,_0xdd303f){var _0x2763e3=a115_0x2763();return a115_0x2ec9=function(_0x2ec927,_0x11bda1){_0x2ec927=_0x2ec927-0x1ef;var _0x5ecb59=_0x2763e3[_0x2ec927];return _0x5ecb59;},a115_0x2ec9(_0x519f86,_0xdd303f);}(function(_0x190785,_0x414c39){var _0xc7c429=a115_0x2ec9,_0x1026ca=_0x190785();while(!![]){try{var _0x2b89b2=parseInt(_0xc7c429(0x1f0))/0x1+parseInt(_0xc7c429(0x1f1))/0x2+parseInt(_0xc7c429(0x1fa))/0x3*(parseInt(_0xc7c429(0x1f5))/0x4)+parseInt(_0xc7c429(0x1f6))/0x5*(-parseInt(_0xc7c429(0x1f2))/0x6)+parseInt(_0xc7c429(0x1ef))/0x7*(-parseInt(_0xc7c429(0x1f4))/0x8)+parseInt(_0xc7c429(0x1f9))/0x9+-parseInt(_0xc7c429(0x1f7))/0xa;if(_0x2b89b2===_0x414c39)break;else _0x1026ca['push'](_0x1026ca['shift']());}catch(_0x31675d){_0x1026ca['push'](_0x1026ca['shift']());}}}(a115_0x2763,0xbf80f),exports[a115_0xb14a42(0x1f8)]=a115_0xb14a42(0x1f3));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a116_0x1846(_0x54cb07,_0x3dd19f){var _0x3dfdf4=a116_0x3dfd();return a116_0x1846=function(_0x1846f6,_0x3a71be){_0x1846f6=_0x1846f6-0x6a;var _0x147068=_0x3dfdf4[_0x1846f6];return _0x147068;},a116_0x1846(_0x54cb07,_0x3dd19f);}(function(_0x1fc2a8,_0x26fbf9){var _0xdff2e7=a116_0x1846,_0x3b5f59=_0x1fc2a8();while(!![]){try{var _0x122fe0=parseInt(_0xdff2e7(0x72))/0x1*(parseInt(_0xdff2e7(0x6d))/0x2)+-parseInt(_0xdff2e7(0x70))/0x3+parseInt(_0xdff2e7(0x76))/0x4+parseInt(_0xdff2e7(0x77))/0x5+parseInt(_0xdff2e7(0x6a))/0x6+-parseInt(_0xdff2e7(0x74))/0x7+-parseInt(_0xdff2e7(0x6e))/0x8;if(_0x122fe0===_0x26fbf9)break;else _0x3b5f59['push'](_0x3b5f59['shift']());}catch(_0x4915a9){_0x3b5f59['push'](_0x3b5f59['shift']());}}}(a116_0x3dfd,0x9a6e8),exports['setCentralScannerData']=(_0x7fbfe3,_0x2c3251,_0x490b47)=>{var _0x32efe5=a116_0x1846,_0x12f27b={'PZMVD':function(_0x52ee2d,_0x2024b7){return _0x52ee2d(_0x2024b7);},'gywMk':function(_0x44eb62,_0x189e37){return _0x44eb62||_0x189e37;}};_0x7fbfe3[_0x32efe5(0x75)]={'http_code':_0x12f27b['PZMVD'](String,_0x2c3251)||null,'redirect_url':_0x12f27b['gywMk'](_0x490b47,null),'token':process[_0x32efe5(0x71)][_0x32efe5(0x6f)]||null},process[_0x32efe5(0x71)][_0x32efe5(0x6c)]&&(_0x7fbfe3['central_scanner_log'][_0x32efe5(0x73)]=JSON[_0x32efe5(0x6b)](process[_0x32efe5(0x71)][_0x32efe5(0x6c)])||null);});function a116_0x3dfd(){var _0x530f1e=['BROWSERSTACK_CENTRAL_SCANNER_JWT','413514RGFNXk','env','7423PddGbI','a11y_scanner','6092807wGNIUI','central_scanner_log','1059228tGaQGD','1231355bfxpZO','3209250qFzREV','parse','A11Y_SCAN_RESULT','226xlmFgn','1951688ngRlhW'];a116_0x3dfd=function(){return _0x530f1e;};return a116_0x3dfd();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a117_0x253368=a117_0x234b;function a117_0x3beb(){const _0x3718f4=['36530JDTSps','2583704OAvhuQ','debug','createClassLogger','9984630hjmyiB','1010491DWhIAr','error','7uwTOFF','9VIysQw','3xEygZi','613784HFPGQt','51199488IJcJur','warn','2fkstRo','210qDuDMz','winstonLogger','exports','12759362RoVrSm','./logger.js','info'];a117_0x3beb=function(){return _0x3718f4;};return a117_0x3beb();}(function(_0x507dae,_0x1add01){const _0x20d3fe=a117_0x234b,_0x4c3aa3=_0x507dae();while(!![]){try{const _0x1f2a07=parseInt(_0x20d3fe(0xc9))/0x1*(-parseInt(_0x20d3fe(0xbd))/0x2)+parseInt(_0x20d3fe(0xb9))/0x3*(parseInt(_0x20d3fe(0xba))/0x4)+-parseInt(_0x20d3fe(0xc4))/0x5*(parseInt(_0x20d3fe(0xbe))/0x6)+parseInt(_0x20d3fe(0xcb))/0x7*(-parseInt(_0x20d3fe(0xc5))/0x8)+parseInt(_0x20d3fe(0xb8))/0x9*(-parseInt(_0x20d3fe(0xc8))/0xa)+-parseInt(_0x20d3fe(0xc1))/0xb+parseInt(_0x20d3fe(0xbb))/0xc;if(_0x1f2a07===_0x1add01)break;else _0x4c3aa3['push'](_0x4c3aa3['shift']());}catch(_0x140c9a){_0x4c3aa3['push'](_0x4c3aa3['shift']());}}}(a117_0x3beb,0xa42f5));const logger=require(a117_0x253368(0xc2))[a117_0x253368(0xbf)];function createClassLogger(_0x496352){const _0x1e252d=a117_0x253368;return{'info':(_0x53cdb5,..._0xd58dc1)=>logger[_0x1e252d(0xc3)]('['+_0x496352+']\x20'+_0x53cdb5,..._0xd58dc1),'debug':(_0x419939,..._0x11352d)=>logger[_0x1e252d(0xc6)]('['+_0x496352+']\x20'+_0x419939,..._0x11352d),'warn':(_0x5e2e56,..._0x18a41c)=>logger[_0x1e252d(0xbc)]('['+_0x496352+']\x20'+_0x5e2e56,..._0x18a41c),'error':(_0x3664af,..._0x42e981)=>logger[_0x1e252d(0xca)]('['+_0x496352+']\x20'+_0x3664af,..._0x42e981),'verbose':(_0x1ac0ac,..._0x33c4b5)=>logger['verbose']('['+_0x496352+']\x20'+_0x1ac0ac,..._0x33c4b5)};}const a117_0x5647bd={};function a117_0x234b(_0x1ad22d,_0x47d245){const _0x3bebbb=a117_0x3beb();return a117_0x234b=function(_0x234b72,_0x1c10c1){_0x234b72=_0x234b72-0xb8;let _0x7cda0b=_0x3bebbb[_0x234b72];return _0x7cda0b;},a117_0x234b(_0x1ad22d,_0x47d245);}a117_0x5647bd[a117_0x253368(0xc7)]=createClassLogger,module[a117_0x253368(0xc0)]=a117_0x5647bd;
|
package/src/helpers/globals.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var a118_0x57b25c=a118_0xc96d;(function(_0x444852,_0x1299fd){var _0x499395=a118_0xc96d,_0x3f13c9=_0x444852();while(!![]){try{var _0x2d2778=parseInt(_0x499395(0x167))/0x1+parseInt(_0x499395(0x16c))/0x2*(-parseInt(_0x499395(0x172))/0x3)+-parseInt(_0x499395(0x170))/0x4*(-parseInt(_0x499395(0x168))/0x5)+parseInt(_0x499395(0x16f))/0x6+parseInt(_0x499395(0x169))/0x7+parseInt(_0x499395(0x171))/0x8+-parseInt(_0x499395(0x173))/0x9;if(_0x2d2778===_0x1299fd)break;else _0x3f13c9['push'](_0x3f13c9['shift']());}catch(_0x2b71c3){_0x3f13c9['push'](_0x3f13c9['shift']());}}}(a118_0x22c3,0x3a167));class Global{static [a118_0x57b25c(0x16a)];constructor(){var _0x27f333=a118_0x57b25c;if(Global[_0x27f333(0x16a)])return Global[_0x27f333(0x16a)];this[_0x27f333(0x16e)]=global,Global[_0x27f333(0x16a)]=this;}[a118_0x57b25c(0x16d)](_0x284ccc,_0x3cc59b){var _0x35f5b0=a118_0x57b25c;this[_0x35f5b0(0x16e)][_0x284ccc]=_0x3cc59b;}[a118_0x57b25c(0x166)](_0x3b07a5){var _0x386e68=a118_0x57b25c;return this[_0x386e68(0x16e)][_0x3b07a5];}}function a118_0xc96d(_0xd3561a,_0x1d6d33){var _0x22c345=a118_0x22c3();return a118_0xc96d=function(_0xc96d1e,_0x8a10e){_0xc96d1e=_0xc96d1e-0x166;var _0x3bd4f8=_0x22c345[_0xc96d1e];return _0x3bd4f8;},a118_0xc96d(_0xd3561a,_0x1d6d33);}module[a118_0x57b25c(0x16b)]=new Global();function a118_0x22c3(){var _0x27512c=['766566mxIAsV','989412zEEBhE','734984KJUWqS','12HZyFgi','739206aTwLoE','getGlobal','51604bHUhYx','5NHviFk','1427370YRarCp','__instance','exports','201220xGJPmP','setGlobal','browserStackGlobals'];a118_0x22c3=function(){return _0x27512c;};return a118_0x22c3();}
|