browserstack-node-sdk 1.65.5 → 1.65.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.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/loadErrors.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/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/node-generic/client.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/reporterArgs.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/nodeGenericTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.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/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/sdkErrorHandler.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/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/driverInitErrorReporter.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a171_0x1474a2=a171_0x1697;(function(_0x81738c,_0x88dac3){const _0x4fe5bb=a171_0x1697,_0x262041=_0x81738c();while(!![]){try{const _0xb839ba=-parseInt(_0x4fe5bb(0x147))/0x1+parseInt(_0x4fe5bb(0x150))/0x2*(-parseInt(_0x4fe5bb(0x17f))/0x3)+-parseInt(_0x4fe5bb(0x1e2))/0x4*(-parseInt(_0x4fe5bb(0x144))/0x5)+parseInt(_0x4fe5bb(0x136))/0x6+-parseInt(_0x4fe5bb(0x195))/0x7*(parseInt(_0x4fe5bb(0x1e8))/0x8)+-parseInt(_0x4fe5bb(0x154))/0x9*(-parseInt(_0x4fe5bb(0x1fb))/0xa)+-parseInt(_0x4fe5bb(0x202))/0xb*(parseInt(_0x4fe5bb(0x18b))/0xc);if(_0xb839ba===_0x88dac3)break;else _0x262041['push'](_0x262041['shift']());}catch(_0x42538f){_0x262041['push'](_0x262041['shift']());}}}(a171_0x34f4,0xbb256));const bsSetupHelper=require(a171_0x1474a2(0x1dc)),LoadTestModule=require(a171_0x1474a2(0x140)),{isTestObservabilitySession,getFrameworkVersion}=require(a171_0x1474a2(0x180)),accessibilityHelper=require(a171_0x1474a2(0x1b9)),logger=require(a171_0x1474a2(0x152))['winstonLogger'],{nestedKeyValue}=require('../helper.js'),scripts=require('../accessibility-automation/scripts.js'),globals=require(a171_0x1474a2(0x16c)),testHubConstants=require(a171_0x1474a2(0x123)),PWTestDetails=require(a171_0x1474a2(0x1f7)),JestTestDetails=require(a171_0x1474a2(0x173)),{FRAMEWORKS}=require(a171_0x1474a2(0x1e6)),{isTurboScaleSession}=require(a171_0x1474a2(0x142)),OrchestrationUtils=require('../test-orchestration/orchestrationUtils.js'),constants=require(a171_0x1474a2(0x1fe));let testData={};function a171_0x34f4(){const _0x42df06=['getBuildStartData','bstackA11yShouldScan','AuBCq','../../bin/playwright/reporter/test-details.js','false','EocsM','GpmQo','10mOxrZy','QtAhT','LJOjs','../../bin/utils/constants.js','BROWSERSTACK_TESTHUB_JWT','NZsVn','vCsVl','77waoOSw','BROWSERSTACK_TEST_PLAN_ID','VmhkY','argv','checkAccessibilityPlatformConfig','isBrowserstackInfra','./constants.js','JwYfg','handleErrorForObservability','commands','build_hashed_id','Hywyc','getAgentVersion','vRvsS','username','yIoHy','aZlKE','get','IKDLH','getTestFrameworkDetails','setPercyFlag','stringify','ItwqI','CODECEPT','UZvkV','8643618zPNdtu','XAHFT','hRYtI','BROWSERSTACK_TEST_ACCESSIBILITY_YML','uBCFu','BROWSERSTACK_PRODUCT_MAP','tags','name','errors','yPiIf','../../bin/v2/modules/loadTestModule','success','../ats/helper','dUTUn','472345eKzFux','JEST','product_map','86884uLXOUh','BROWSERSTACK_TESTHUB_UUID','\x20Build\x20creation\x20failed',']\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','capabilities','MOCHA','BROWSERSTACK_SR_AUTOMATION','setTestHubCommonMetaInfo','getTestPlanId','1174lzsdiL','IuYlY','../logger','jTNxb','8245170hXFwJK','kMhrp','setAccessibilityVariables','password','CUCUMBER','sdaWo','cwiFg','sr_automation','zOgQE','keys','WJVRq','commandsToWrap','shouldScanTestForAccessibility','getAccessibilityValueFromYml','dfGks','isUndefined','qFtqT','getTestData','SgxFB','hxxkE','handleErrorForAccessibility','command','percy','BS_TESTOPS_BUILD_HASHED_ID','../globals.js','WNVXh','INVALID_CREDENTIALS','mvLXa','ACCESSIBILITY','UVpDo','scripts','../../bin/jest/test-observability/test-details.js','rWwxo','message','SXRTo','TEST_MANAGEMENT_TEST_PLAN_ID_ARG','Iojyg','ENV_VAR','TestRunStarted','value','BS_TESTOPS_BUILD_COMPLETED','BROWSERSTACK_TESTHUB_UUID:\x20','BS_A11Y_JWT','2541EhjmSS','../test-observability/utils','isLTSSession','NXKJp','SuafS','lNgaU','logBuildError','NmzeX','kyZfx','McfaK','TVRUp','cHklG','3087876cLxoTJ','trim','assign','getFrameworkDetails','true','includes','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','isAccessibilityEnabled','isAccessibilityPlatform','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','28OajZrW','setTestData','bWgTS','string','azVLa','nonBStackInfraA11yChromeOptions','0|5|4|2|6|3|1','ZOIJs','DEPRECATED','testManagementOptions','LogCreated','ERROR','fkxST','toUpperCase','error','isTurboScaleSession','lqanM','HookRunStarted','scopes','SqBju','[ACCESSIBILITY]\x20skip_cdp_connect_override\x20is\x20true,\x20skipping\x20CDP\x20connect\x20override','GlJcP','AGpWA','rkOFe','setCurrentTestData','uploadEventData','description','UHAFM','startsWith','Pbsxr','BS_TESTOPS_ALLOW_SCREENSHOTS','accessibilityPlatform','getProductMap','HlIbQ','1|4|2|0|3','join','../accessibility-automation/helper','parse','env','BROWSERSTACK_ACCESSIBILITY','../../bin/jasmine/testRunMap.js','Failed\x20to\x20parse\x20BROWSERSTACK_PRODUCT_MAP\x20env\x20var:\x20','titlePath','VUgup','accessibility','HookRunFinished','parseFromJson','isPercyBuild','isAppAutomateSession','sbTGq','kKhdX','options','FRAMEWORK_DETAILS','key','test_run','OYerN','toJson','scannerVersion','shouldProcessEventForTesthub','jwt','QNQgC','BS_TESTOPS_JWT','CREDENTIALS_FOR_CRASH_REPORTING','uuid','length','sKXZW','getProductMapForBuildStartCall','CBTSessionCreated','CAfEI','observability','[ACCESSIBILITY]\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','../helper','JASMINE','allow_screenshots','XEzOf','yoJjq','debug','60lassWD','goog:chromeOptions','config','JFIxD','../test-observability/constants.js','isTrue','1243768FPYCCs','split','BROWSERSTACK_PERCY','platforms','hxXkp','oFtGj','null','OBSERVABILITY','Uvkjb','PLAYWRIGHT','getGlobal','getTestOrchestrationBuildStartData'];a171_0x34f4=function(){return _0x42df06;};return a171_0x34f4();}exports[a171_0x1474a2(0x1b5)]=_0x33c103=>{const _0x53574b=a171_0x1474a2,_0xfcb3b1={'sBpqn':function(_0x1dc0c9){return _0x1dc0c9();},'GlJcP':function(_0x23a162,_0x593ce1){return _0x23a162===_0x593ce1;},'GpmQo':_0x53574b(0x18f)};let _0x480b0f=![],_0x4b7ea1=![];if(bsSetupHelper['isBrowserstackInfra']()&&bsSetupHelper['isAppAutomateSession'](_0x33c103))_0x4b7ea1=!![];else bsSetupHelper[_0x53574b(0x122)]()&&(_0x480b0f=!![]);return Object[_0x53574b(0x18d)]({'observability':_0xfcb3b1['sBpqn'](isTestObservabilitySession),'accessibility':exports[_0x53574b(0x192)](_0x33c103),'percy':_0x33c103['percy']||![],'sr_automation':_0xfcb3b1[_0x53574b(0x1aa)](process[_0x53574b(0x1bb)][_0x53574b(0x14d)],_0xfcb3b1[_0x53574b(0x1fa)])||_0x33c103[_0x53574b(0x15b)]||![],'automate':_0x480b0f,'app_automate':_0x4b7ea1,'turboscale':bsSetupHelper['isTurboScaleSession'](_0x33c103),'lts':LoadTestModule[_0x53574b(0x181)](_0x33c103)},bsSetupHelper['getCentralUser']());},exports[a171_0x1474a2(0x18e)]=(_0x2e3165,_0x237f15)=>{const _0x19190=a171_0x1474a2,_0x212685={'sdaWo':function(_0x5da815,_0x1bc628){return _0x5da815(_0x1bc628);},'EYQYB':'javascript'},_0x48d220={'frameworkName':_0x237f15,'frameworkVersion':_0x212685[_0x19190(0x159)](getFrameworkVersion,_0x237f15),'sdkVersion':bsSetupHelper[_0x19190(0x129)](),'language':_0x212685['EYQYB'],'testFramework':bsSetupHelper[_0x19190(0x130)](_0x2e3165,_0x237f15)};return process[_0x19190(0x1bb)][_0x19190(0x1c9)]=JSON[_0x19190(0x132)](_0x48d220),_0x48d220;},exports[a171_0x1474a2(0x131)]=_0xf46b6c=>{const _0x4fe4cd=a171_0x1474a2,_0x10601f={};_0x10601f['cHklG']='false',_0x10601f[_0x4fe4cd(0x1e0)]=_0x4fe4cd(0x18f);const _0xd1eb41=_0x10601f;process['env']['BROWSERSTACK_PERCY']=_0xd1eb41[_0x4fe4cd(0x18a)],bsSetupHelper['isTrue'](_0xf46b6c[_0x4fe4cd(0x1e4)][_0x4fe4cd(0x16a)])&&(!_0xf46b6c[_0x4fe4cd(0x16a)]||!_0xf46b6c[_0x4fe4cd(0x16a)]['isRunning']())&&(process['env'][_0x4fe4cd(0x1ea)]=_0xd1eb41[_0x4fe4cd(0x1e0)]);},exports['isPercyBuild']=()=>{const _0x1b8969=a171_0x1474a2;return bsSetupHelper['isTrue'](process['env'][_0x1b8969(0x1ea)]);},exports[a171_0x1474a2(0x192)]=(_0x23ebda={})=>{const _0x251097=a171_0x1474a2,_0x4f4470={};_0x4f4470[_0x251097(0x1c6)]=function(_0x461ec1,_0x2d2158){return _0x461ec1!==_0x2d2158;},_0x4f4470['mvLXa']=function(_0x5eac01,_0x5991b1){return _0x5eac01===_0x5991b1;},_0x4f4470['Uvkjb']='true',_0x4f4470[_0x251097(0x189)]=function(_0x440aa,_0xcd493a){return _0x440aa>_0xcd493a;},_0x4f4470[_0x251097(0x15e)]=function(_0x1138ca,_0x28bffe){return _0x1138ca===_0x28bffe;};const _0x29ffe7=_0x4f4470;if(_0x29ffe7[_0x251097(0x1c6)](process['env'][_0x251097(0x1bc)],undefined))return bsSetupHelper[_0x251097(0x1e7)](process[_0x251097(0x1bb)]['BROWSERSTACK_ACCESSIBILITY']);let _0x112f09=_0x29ffe7[_0x251097(0x16f)](process[_0x251097(0x1bb)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'],_0x29ffe7[_0x251097(0x1f0)]);return _0x29ffe7[_0x251097(0x189)](Object[_0x251097(0x15d)](_0x23ebda)[_0x251097(0x1d5)],0x0)&&(process[_0x251097(0x1bb)][_0x251097(0x194)]=accessibilityHelper[_0x251097(0x121)](_0x23ebda)),_0x112f09=_0x112f09||_0x29ffe7['WJVRq'](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM'],_0x29ffe7[_0x251097(0x1f0)]),_0x112f09;},exports['setTestObservabilityVariables']=(_0x53b18b,_0x249e96)=>{const _0x303cbf=a171_0x1474a2,_0x146234={'hpDtw':function(_0x240d70){return _0x240d70();},'OpfQR':'3|0|4|2|5|1','yPiIf':function(_0x288651,_0x2cc879,_0x44e0dd){return _0x288651(_0x2cc879,_0x44e0dd);},'EBaKe':_0x303cbf(0x1da),'cwiFg':_0x303cbf(0x1c8),'aZlKE':_0x303cbf(0x18f)};if(!_0x53b18b||!_0x53b18b[_0x303cbf(0x1da)])return exports[_0x303cbf(0x125)](),[null,null,null];if(!_0x53b18b[_0x303cbf(0x1da)][_0x303cbf(0x141)])return exports['handleErrorForObservability'](_0x53b18b[_0x303cbf(0x1da)]),[null,null,null];if(_0x146234['hpDtw'](isTestObservabilitySession)){const _0x2aefdc=_0x146234['OpfQR'][_0x303cbf(0x1e9)]('|');let _0x53bdf4=0x0;while(!![]){switch(_0x2aefdc[_0x53bdf4++]){case'0':if(_0x53b18b[_0x303cbf(0x1d0)]){process[_0x303cbf(0x1bb)]['BS_TESTOPS_JWT']=_0x53b18b[_0x303cbf(0x1d0)];const _0x6ccbf9={};_0x6ccbf9[_0x303cbf(0x12b)]=_0x249e96[_0x303cbf(0x12b)],_0x6ccbf9[_0x303cbf(0x157)]=_0x249e96[_0x303cbf(0x157)],process[_0x303cbf(0x1bb)][_0x303cbf(0x1d3)]=JSON[_0x303cbf(0x132)](_0x6ccbf9);}continue;case'1':return[_0x53b18b['jwt'],_0x53b18b[_0x303cbf(0x127)],process[_0x303cbf(0x1bb)][_0x303cbf(0x1b3)]];case'2':_0x146234[_0x303cbf(0x13f)](nestedKeyValue,_0x53b18b,[_0x146234['EBaKe'],_0x146234[_0x303cbf(0x15a)]])&&(process['env'][_0x303cbf(0x1b3)]=_0x53b18b[_0x303cbf(0x1da)][_0x303cbf(0x1c8)][_0x303cbf(0x1de)]['toString']());continue;case'3':process[_0x303cbf(0x1bb)][_0x303cbf(0x17c)]=_0x146234[_0x303cbf(0x12d)];continue;case'4':_0x53b18b[_0x303cbf(0x127)]&&(process[_0x303cbf(0x1bb)][_0x303cbf(0x16b)]=_0x53b18b[_0x303cbf(0x127)]);continue;case'5':logger[_0x303cbf(0x1e1)]('['+constants['TEST_REPORTING_ANALYTICS']+_0x303cbf(0x14a)+_0x53b18b['build_hashed_id']);continue;}break;}}return[null,null,null];},exports[a171_0x1474a2(0x156)]=_0xb42428=>{const _0x49ae16=a171_0x1474a2,_0x56409f={'XETtL':function(_0x16f9c7,_0x5ba9e4,_0x41bcf5){return _0x16f9c7(_0x5ba9e4,_0x41bcf5);},'EocsM':'accessibility','vRvsS':_0x49ae16(0x1c8),'jTNxb':function(_0x4ddad1,_0x530c9a,_0x58e1e4,_0x3590a4){return _0x4ddad1(_0x530c9a,_0x58e1e4,_0x3590a4);},'kKhdX':_0x49ae16(0x13d),'QtAhT':_0x49ae16(0x17b),'HlIbQ':function(_0x41f00c,_0x75230f,_0x58dd2b,_0x4b42e6){return _0x41f00c(_0x75230f,_0x58dd2b,_0x4b42e6);},'VUgup':_0x49ae16(0x169),'QNQgC':_0x49ae16(0x126),'uBCFu':function(_0x1b6cb3,_0x1cf246,_0x28c4dc,_0x9c3a98){return _0x1b6cb3(_0x1cf246,_0x28c4dc,_0x9c3a98);},'JFIxD':_0x49ae16(0x19a),'ajjxS':_0x49ae16(0x1e3),'rkOFe':function(_0x49649a,_0x26033a){return _0x49649a(_0x26033a);},'NXKJp':function(_0x4a82b0,_0x29fa41){return _0x4a82b0===_0x29fa41;},'CAfEI':'true','NmzeX':_0x49ae16(0x1a9)};if(!_0xb42428[_0x49ae16(0x1c1)])return exports[_0x49ae16(0x168)](),[null,null];if(!_0xb42428[_0x49ae16(0x1c1)][_0x49ae16(0x141)])return exports[_0x49ae16(0x168)](_0xb42428['accessibility']),[null,null];if(_0x56409f['XETtL'](nestedKeyValue,_0xb42428,[_0x56409f[_0x49ae16(0x1f9)],_0x56409f[_0x49ae16(0x12a)]])){const {accessibilityToken:_0x20bb03,scannerVersion:_0x4762f8,scannerProcessingTimeout:_0x1e4543,isMobileScanningEnabledForGroup:_0x2f86a8}=_0x56409f[_0x49ae16(0x153)](jsonifyAccessibilityArray,_0xb42428[_0x49ae16(0x1c1)][_0x49ae16(0x1c8)][_0x49ae16(0x14b)],_0x56409f[_0x49ae16(0x1c7)],_0x56409f['QtAhT']),_0x4c1c3f={'scripts':_0x56409f[_0x49ae16(0x1b6)](jsonifyAccessibilityArray,_0xb42428[_0x49ae16(0x1c1)][_0x49ae16(0x1c8)][_0x49ae16(0x172)],_0x56409f['kKhdX'],_0x56409f[_0x49ae16(0x1c0)])};_0x4c1c3f[_0x56409f[_0x49ae16(0x1d1)]]=_0xb42428[_0x49ae16(0x1c1)][_0x49ae16(0x1c8)][_0x49ae16(0x15f)][_0x49ae16(0x126)];const _0x6dd938=_0x56409f[_0x49ae16(0x13a)](jsonifyAccessibilityArray,_0xb42428[_0x49ae16(0x1c1)][_0x49ae16(0x1c8)][_0x49ae16(0x14b)],_0x56409f[_0x49ae16(0x1c7)],_0x56409f[_0x49ae16(0x1fc)]);_0x4c1c3f[_0x56409f[_0x49ae16(0x1e5)]]=_0x6dd938[_0x56409f['ajjxS']],scripts[_0x49ae16(0x1c3)](_0x4c1c3f),scripts[_0x49ae16(0x1cd)]();let _0x3e9162=process[_0x49ae16(0x1bb)][_0x49ae16(0x191)];_0x3e9162=!!_0x3e9162?JSON[_0x49ae16(0x1ba)](_0x3e9162):{},_0x3e9162[_0x49ae16(0x1ce)]=_0x4762f8,process[_0x49ae16(0x1bb)][_0x49ae16(0x191)]=JSON[_0x49ae16(0x132)](_0x3e9162),process[_0x49ae16(0x1bb)][_0x49ae16(0x17e)]=_0x20bb03,process['env']['BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP']=_0x56409f[_0x49ae16(0x1ac)](String,_0x56409f[_0x49ae16(0x182)](_0x2f86a8,!![])||_0x56409f[_0x49ae16(0x182)](_0x2f86a8,_0x56409f[_0x49ae16(0x1d9)])),logger[_0x49ae16(0x1e1)](_0x49ae16(0x1db)+_0xb42428[_0x49ae16(0x127)]);const _0x22c5a7=accessibilityHelper['parseA11yJwtPayload'](_0x20bb03);return _0x22c5a7&&bsSetupHelper[_0x49ae16(0x1e7)](_0x22c5a7['skipCDPConnectOverride'])&&(process[_0x49ae16(0x1bb)]['BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE']=!![],logger['debug'](_0x56409f[_0x49ae16(0x186)])),[_0x20bb03,_0xb42428[_0x49ae16(0x127)],_0x1e4543];}return[null,null];},exports['handleErrorForObservability']=_0x42381d=>{const _0x5ebb83=a171_0x1474a2,_0x4db3bb={};_0x4db3bb['hxxkE']=_0x5ebb83(0x19b),_0x4db3bb[_0x5ebb83(0x143)]=_0x5ebb83(0x1ee),_0x4db3bb[_0x5ebb83(0x1ab)]=_0x5ebb83(0x1f8);const _0x27aa5d=_0x4db3bb,_0x2cb9be=_0x27aa5d[_0x5ebb83(0x167)][_0x5ebb83(0x1e9)]('|');let _0x207b47=0x0;while(!![]){switch(_0x2cb9be[_0x207b47++]){case'0':process[_0x5ebb83(0x1bb)][_0x5ebb83(0x148)]=_0x27aa5d[_0x5ebb83(0x143)];continue;case'1':exports['logBuildError'](_0x42381d,testHubConstants[_0x5ebb83(0x1ef)]);continue;case'2':process[_0x5ebb83(0x1bb)][_0x5ebb83(0x1d2)]=_0x27aa5d['dUTUn'];continue;case'3':process[_0x5ebb83(0x1bb)][_0x5ebb83(0x1b3)]=_0x27aa5d[_0x5ebb83(0x143)];continue;case'4':process[_0x5ebb83(0x1bb)]['BS_TESTOPS_BUILD_COMPLETED']=_0x27aa5d[_0x5ebb83(0x1ab)];continue;case'5':process[_0x5ebb83(0x1bb)][_0x5ebb83(0x1ff)]=_0x27aa5d[_0x5ebb83(0x143)];continue;case'6':process[_0x5ebb83(0x1bb)]['BS_TESTOPS_BUILD_HASHED_ID']=_0x27aa5d[_0x5ebb83(0x143)];continue;}break;}},exports[a171_0x1474a2(0x168)]=_0x4e2024=>{const _0x17d2ed=a171_0x1474a2,_0x1035fd={};_0x1035fd[_0x17d2ed(0x197)]=_0x17d2ed(0x1b7),_0x1035fd['hRYtI']=_0x17d2ed(0x1f8),_0x1035fd[_0x17d2ed(0x1df)]=_0x17d2ed(0x1ee);const _0x4ddcfc=_0x1035fd,_0x4e79c5=_0x4ddcfc[_0x17d2ed(0x197)][_0x17d2ed(0x1e9)]('|');let _0x446992=0x0;while(!![]){switch(_0x4e79c5[_0x446992++]){case'0':process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x4ddcfc[_0x17d2ed(0x138)];continue;case'1':process['env'][_0x17d2ed(0x148)]=_0x4ddcfc[_0x17d2ed(0x1df)];continue;case'2':process[_0x17d2ed(0x1bb)][_0x17d2ed(0x139)]=_0x4ddcfc[_0x17d2ed(0x138)];continue;case'3':exports[_0x17d2ed(0x185)](_0x4e2024,testHubConstants[_0x17d2ed(0x170)]);continue;case'4':process['env'][_0x17d2ed(0x1ff)]=_0x4ddcfc['XEzOf'];continue;}break;}},exports['logBuildError']=(_0x2cbe34,_0x38c50f='')=>{const _0x5c1adc=a171_0x1474a2,_0x4ed83a={};_0x4ed83a[_0x5c1adc(0x201)]=function(_0x3e9955,_0xa7a88a){return _0x3e9955===_0xa7a88a;};const _0x17001c=_0x4ed83a;if(_0x17001c[_0x5c1adc(0x201)](_0x2cbe34,undefined)){logger[_0x5c1adc(0x1a3)](_0x38c50f[_0x5c1adc(0x1a2)]()+_0x5c1adc(0x149));return;}for(const _0x6553a9 of _0x2cbe34[_0x5c1adc(0x13e)]){const _0x1cea7b=_0x6553a9[_0x5c1adc(0x1ca)],_0x38a817=_0x6553a9['message'];if(_0x38a817)switch(_0x1cea7b){case testHubConstants[_0x5c1adc(0x1a0)][_0x5c1adc(0x16e)]:logger[_0x5c1adc(0x1a3)](_0x38a817);break;case testHubConstants['ERROR']['ACCESS_DENIED']:logger['info'](_0x38a817);break;case testHubConstants[_0x5c1adc(0x1a0)][_0x5c1adc(0x19d)]:logger[_0x5c1adc(0x1a3)](_0x38a817);break;default:logger['error'](_0x38a817);}}};const jsonifyAccessibilityArray=(_0x4de85d,_0x934db3,_0xd44a52)=>{const _0x226bc2={};return _0x4de85d['forEach'](_0x41630e=>{_0x226bc2[_0x41630e[_0x934db3]]=_0x41630e[_0xd44a52];}),_0x226bc2;};exports[a171_0x1474a2(0x14e)]=_0x300cc3=>{const _0x232096=a171_0x1474a2;_0x300cc3[_0x232096(0x1d0)]&&(process['env'][_0x232096(0x1ff)]=_0x300cc3[_0x232096(0x1d0)]);_0x300cc3[_0x232096(0x127)]&&(process[_0x232096(0x1bb)][_0x232096(0x148)]=_0x300cc3[_0x232096(0x127)],logger['debug'](_0x232096(0x17d)+_0x300cc3[_0x232096(0x127)]));;},exports[a171_0x1474a2(0x1cf)]=(_0x576a1e='',_0x54d692='')=>{const _0x43e8c4=a171_0x1474a2,_0x5345f1={'LJOjs':function(_0x2c2bc7){return _0x2c2bc7();},'SgxFB':function(_0x16d118,_0x28613d){return _0x16d118===_0x28613d;},'lqanM':_0x43e8c4(0x1ae),'kXMBH':_0x43e8c4(0x19f),'SqBju':_0x43e8c4(0x1d8),'yIoHy':_0x43e8c4(0x1a6),'UHAFM':_0x43e8c4(0x1c2)};if(exports[_0x43e8c4(0x1c4)]()&&!exports[_0x43e8c4(0x192)]()&&!_0x5345f1[_0x43e8c4(0x1fd)](isTestObservabilitySession)){if(_0x5345f1[_0x43e8c4(0x166)](_0x54d692,_0x5345f1[_0x43e8c4(0x1a5)]))return![];if([_0x5345f1['kXMBH'],_0x5345f1[_0x43e8c4(0x1a8)]]['includes'](_0x576a1e))return![];return!![];}if(exports['isAccessibilityEnabled']()&&!_0x5345f1[_0x43e8c4(0x1fd)](isTestObservabilitySession)){if([_0x5345f1[_0x43e8c4(0x12c)],_0x5345f1[_0x43e8c4(0x1b0)],_0x5345f1['kXMBH']][_0x43e8c4(0x190)](_0x576a1e))return![];return!![];}return exports['isAccessibilityEnabled']()||_0x5345f1[_0x43e8c4(0x1fd)](isTestObservabilitySession)||exports[_0x43e8c4(0x1c4)]();},exports['appendTesthubParams']=(_0x4b4a29,_0x3a2b68,_0x5f1f83='',_0x3dd5a7)=>{const _0x3d5807=a171_0x1474a2,_0x13ce65={'OYerN':_0x3d5807(0x1a6),'ItwqI':_0x3d5807(0x1c2),'AuBCq':function(_0xe40487,_0x2bcbdd){return _0xe40487===_0x2bcbdd;},'UZvkV':_0x3d5807(0x1f5),'azVLa':_0x3d5807(0x193),'IKDLH':_0x3d5807(0x1c1),'dfGks':function(_0xcd7b83,_0x48b9ab){return _0xcd7b83&&_0x48b9ab;},'VmhkY':function(_0x6ceae8,_0x34df50){return _0x6ceae8+_0x34df50;},'zQPhv':function(_0xccfaa1,_0x50c538){return _0xccfaa1+_0x50c538;},'NZsVn':function(_0x5c6aff,_0x43c872){return _0x5c6aff&&_0x43c872;},'sKXZW':function(_0x3e9e4b,_0xd94a4f){return _0x3e9e4b===_0xd94a4f;},'Hywyc':function(_0x2a3950,_0x5be1ea){return _0x2a3950(_0x5be1ea);},'YnRPB':_0x3d5807(0x1bd),'UVpDo':function(_0x86151f,_0x4d9b0c){return _0x86151f&&_0x4d9b0c;},'sDosZ':function(_0x1a9b3f,_0x4f4e52){return _0x1a9b3f!==_0x4f4e52;},'Pbsxr':_0x3d5807(0x17a),'CLWcr':function(_0x3374f3,_0x346b26){return _0x3374f3&&_0x346b26;},'zOgQE':_0x3d5807(0x146)};if([_0x13ce65[_0x3d5807(0x1cc)],_0x13ce65[_0x3d5807(0x133)]]['includes'](_0x3a2b68))return;let _0xca35b0={};try{process[_0x3d5807(0x1bb)][_0x3d5807(0x13b)]&&(_0xca35b0=JSON[_0x3d5807(0x1ba)](process[_0x3d5807(0x1bb)][_0x3d5807(0x13b)])||{});}catch(_0xfc0f5a){logger[_0x3d5807(0x1e1)](_0x3d5807(0x1be)+_0xfc0f5a),_0xca35b0={};}if(exports['isAccessibilityEnabled']()){if(_0x13ce65[_0x3d5807(0x1f6)](_0x3dd5a7,FRAMEWORKS[_0x3d5807(0x14c)])){const _0x34fa8e=globals[_0x3d5807(0x1f2)](_0x13ce65[_0x3d5807(0x135)])||accessibilityHelper[_0x3d5807(0x160)](_0x5f1f83['titlePath'](),!![]),_0x1bb381=globals[_0x3d5807(0x1f2)](_0x13ce65[_0x3d5807(0x199)]);_0xca35b0[_0x13ce65[_0x3d5807(0x12f)]]=_0x13ce65[_0x3d5807(0x162)](_0x1bb381,_0x34fa8e);}if(_0x13ce65[_0x3d5807(0x1f6)](_0x3dd5a7,FRAMEWORKS[_0x3d5807(0x145)])){const _0x42f56e=_0x13ce65['VmhkY'](_0x13ce65['zQPhv'](_0x4b4a29[_0x3d5807(0x1a7)][_0x3d5807(0x1b8)]('\x20'),'\x20'),_0x5f1f83[_0x3d5807(0x13d)]),_0x94a237=globals[_0x3d5807(0x1f2)](_0x13ce65[_0x3d5807(0x135)])||accessibilityHelper['shouldScanTestForAccessibility'](_0x42f56e,![]),_0x1ea6c5=browserStackGlobals[_0x3d5807(0x193)];_0xca35b0[_0x13ce65['IKDLH']]=_0x13ce65[_0x3d5807(0x200)](_0x1ea6c5,_0x94a237);}if(_0x13ce65[_0x3d5807(0x1d6)](_0x3dd5a7,FRAMEWORKS[_0x3d5807(0x1dd)])){const _0x4f36e8=_0x13ce65[_0x3d5807(0x128)](require,_0x13ce65['YnRPB']),_0x2af77b=_0x5f1f83&&_0x4f36e8[_0x3d5807(0x12e)](_0x5f1f83['id'])||_0x4b4a29[_0x3d5807(0x1d4)];_0x2af77b&&(_0x4b4a29[_0x3d5807(0x1d4)]=_0x2af77b);const _0x350aa7=_0x13ce65[_0x3d5807(0x204)](_0x13ce65[_0x3d5807(0x204)](_0x4b4a29[_0x3d5807(0x1a7)][_0x3d5807(0x1b8)]('\x20'),'\x20'),_0x5f1f83[_0x3d5807(0x1af)]||_0x4b4a29[_0x3d5807(0x13d)]),_0x25f1dc=globals['getGlobal'](_0x13ce65[_0x3d5807(0x135)])||accessibilityHelper['shouldScanTestForAccessibility'](_0x350aa7,![]),_0x38ac80=globals[_0x3d5807(0x1f2)](_0x13ce65[_0x3d5807(0x199)]);_0xca35b0[_0x13ce65['IKDLH']]=_0x13ce65[_0x3d5807(0x171)](_0x38ac80,_0x25f1dc);}_0x13ce65['AuBCq'](_0x3dd5a7,FRAMEWORKS[_0x3d5807(0x1f1)])&&_0x13ce65['sDosZ'](_0x3a2b68,_0x13ce65[_0x3d5807(0x1b2)])&&(_0xca35b0[_0x13ce65[_0x3d5807(0x12f)]]=PWTestDetails['getAccessibilityPlatformValidation'](_0x4b4a29[_0x3d5807(0x1d4)]));if(_0x13ce65['sKXZW'](_0x3dd5a7,FRAMEWORKS[_0x3d5807(0x134)])){const _0x19b106=accessibilityHelper['shouldScanTestForAccessibility'](_0x5f1f83[_0x3d5807(0x1bf)](),!![]),_0x5871d5=global[_0x3d5807(0x1b4)];_0xca35b0[_0x13ce65[_0x3d5807(0x12f)]]=_0x13ce65[_0x3d5807(0x162)](_0x5871d5,_0x19b106);}if(_0x13ce65[_0x3d5807(0x1f6)](_0x3dd5a7,FRAMEWORKS[_0x3d5807(0x158)])){const _0x352859=accessibilityHelper['shouldScanTestForAccessibility'](null,![],_0x4b4a29[_0x3d5807(0x13c)]),_0x2d43d1=globals[_0x3d5807(0x1f2)](_0x13ce65[_0x3d5807(0x199)]);_0xca35b0[_0x13ce65[_0x3d5807(0x12f)]]=_0x13ce65['CLWcr'](_0x2d43d1,_0x352859);}}_0x4b4a29[_0x13ce65[_0x3d5807(0x15c)]]=_0xca35b0;},exports['getCurrentTestData']=_0x1d5d6b=>{const _0x250207=a171_0x1474a2,_0x3bddd2={};_0x3bddd2[_0x250207(0x178)]=function(_0x16f80f,_0x4973db){return _0x16f80f>_0x4973db;},_0x3bddd2[_0x250207(0x164)]=function(_0x2b10fa,_0xfc3b1f){return _0x2b10fa>_0xfc3b1f;};const _0x154002=_0x3bddd2;let _0x35a820={};if(_0x154002[_0x250207(0x178)](Object[_0x250207(0x15d)](testData)[_0x250207(0x1d5)],0x0))return testData;_0x35a820=JestTestDetails[_0x250207(0x165)]();if(_0x154002['qFtqT'](Object[_0x250207(0x15d)](_0x35a820)['length'],0x0))return _0x35a820;return _0x35a820;},exports[a171_0x1474a2(0x1ad)]=(_0x6d5102,_0x13a0fc={})=>{const _0xd23c01=a171_0x1474a2;if(bsSetupHelper[_0xd23c01(0x163)](_0x13a0fc[_0xd23c01(0x1cb)]))return;switch(_0x6d5102){case FRAMEWORKS['MOCHA']:testData=_0x13a0fc['test_run'];break;case FRAMEWORKS[_0xd23c01(0x145)]:JestTestDetails[_0xd23c01(0x196)](_0x13a0fc[_0xd23c01(0x1cb)]);break;case FRAMEWORKS[_0xd23c01(0x1dd)]:testData=_0x13a0fc['test_run'];break;default:break;}},exports[a171_0x1474a2(0x161)]=_0x207322=>{const _0x226a73=a171_0x1474a2,_0x212a95={};_0x212a95[_0x226a73(0x184)]=function(_0x2d937e,_0x1a18a2){return _0x2d937e!==_0x1a18a2;},_0x212a95[_0x226a73(0x176)]=function(_0x4577cc,_0x585a23){return _0x4577cc!==_0x585a23;},_0x212a95[_0x226a73(0x137)]=function(_0x411d54,_0x2f89c2){return _0x411d54!==_0x2f89c2;};const _0x41dbd0=_0x212a95;if(_0x41dbd0[_0x226a73(0x184)](_0x207322['accessibility'],null)&&_0x41dbd0['SXRTo'](_0x207322[_0x226a73(0x1c1)],undefined))return _0x207322[_0x226a73(0x1c1)];let _0x3f0f80=![],_0x19ce2a=![];if(_0x207322[_0x226a73(0x1eb)])for(const _0x351f09 of _0x207322[_0x226a73(0x1eb)]){_0x41dbd0[_0x226a73(0x184)](_0x351f09['accessibility'],null)&&_0x41dbd0[_0x226a73(0x137)](_0x351f09[_0x226a73(0x1c1)],undefined)&&(_0x3f0f80=_0x3f0f80||bsSetupHelper['isTrue'](_0x351f09[_0x226a73(0x1c1)]),_0x19ce2a=!![]);}if(_0x19ce2a)return _0x3f0f80;return null;},exports[a171_0x1474a2(0x1f3)]=_0xb5e1ec=>{const _0x348b8f=a171_0x1474a2;if(!_0xb5e1ec)return{};const _0x124fbe=new OrchestrationUtils(_0xb5e1ec);return _0x124fbe[_0x348b8f(0x1f4)]();},exports[a171_0x1474a2(0x1d7)]=_0x4f918f=>{const _0x53a2cc=a171_0x1474a2,_0x447b36={'JwYfg':function(_0x209a99){return _0x209a99();},'kMhrp':function(_0x580831,_0x56c281){return _0x580831===_0x56c281;},'fkxST':_0x53a2cc(0x18f)};let _0x452e6a=![],_0x3d7c54=![];if(bsSetupHelper['isBrowserstackInfra']()&&bsSetupHelper[_0x53a2cc(0x1c5)](_0x4f918f))_0x3d7c54=!![];else bsSetupHelper['isBrowserstackInfra']()&&(_0x452e6a=!![]);return Object[_0x53a2cc(0x18d)]({'observability':_0x447b36[_0x53a2cc(0x124)](isTestObservabilitySession),'accessibility':exports['getAccessibilityValueFromYml'](_0x4f918f),'percy':_0x4f918f['percy']||![],'sr_automation':_0x447b36[_0x53a2cc(0x155)](process[_0x53a2cc(0x1bb)][_0x53a2cc(0x14d)],_0x447b36[_0x53a2cc(0x1a1)])||_0x4f918f[_0x53a2cc(0x15b)]||![],'automate':_0x452e6a,'app_automate':_0x3d7c54,'turboscale':bsSetupHelper[_0x53a2cc(0x1a4)](_0x4f918f),'lts':LoadTestModule['isLTSSession'](_0x4f918f)},bsSetupHelper['getCentralUser']());};function a171_0x1697(_0x5d7304,_0x4f3408){const _0x34f46e=a171_0x34f4();return a171_0x1697=function(_0x1697d7,_0x1eada5){_0x1697d7=_0x1697d7-0x120;let _0xdf5b8b=_0x34f46e[_0x1697d7];return _0xdf5b8b;},a171_0x1697(_0x5d7304,_0x4f3408);}const normalizeTestPlanId=_0xe3eadb=>{const _0x2b4788=a171_0x1474a2,_0x29d1ef={};_0x29d1ef[_0x2b4788(0x174)]=function(_0xf2e2b8,_0x192ace){return _0xf2e2b8!==_0x192ace;},_0x29d1ef['oFtGj']=_0x2b4788(0x198),_0x29d1ef[_0x2b4788(0x151)]=function(_0x85c780,_0x2570e3){return _0x85c780>_0x2570e3;};const _0x49cdec=_0x29d1ef;if(_0x49cdec[_0x2b4788(0x174)](typeof _0xe3eadb,_0x49cdec[_0x2b4788(0x1ed)]))return undefined;const _0xef83b=_0xe3eadb[_0x2b4788(0x18c)]();return _0x49cdec[_0x2b4788(0x151)](_0xef83b[_0x2b4788(0x1d5)],0x0)?_0xef83b:undefined;},readTestPlanIdFromCliArgs=(_0x4c3082=process[a171_0x1474a2(0x120)])=>{const _0xe363a3=a171_0x1474a2,_0x52472c={};_0x52472c[_0xe363a3(0x1ec)]=function(_0x1ef4ad,_0x28744a){return _0x1ef4ad<_0x28744a;},_0x52472c[_0xe363a3(0x183)]=function(_0x52d611,_0x3f7170){return _0x52d611===_0x3f7170;},_0x52472c[_0xe363a3(0x16d)]=function(_0x1d2ccd,_0x552cb5){return _0x1d2ccd+_0x552cb5;};const _0x5b20c4=_0x52472c,_0x5d2776='--'+testHubConstants[_0xe363a3(0x177)];for(let _0x3092e8=0x0;_0x5b20c4[_0xe363a3(0x1ec)](_0x3092e8,_0x4c3082[_0xe363a3(0x1d5)]);_0x3092e8+=0x1){const _0x9c3d7=_0x4c3082[_0x3092e8];if(_0x5b20c4[_0xe363a3(0x183)](_0x9c3d7,_0x5d2776)){const _0x5e1eaa=_0x4c3082[_0x5b20c4[_0xe363a3(0x16d)](_0x3092e8,0x1)];if(!_0x5e1eaa||_0x5e1eaa[_0xe363a3(0x1b1)]('--'))return undefined;return _0x5e1eaa;}if(_0x9c3d7['startsWith'](_0x5d2776+'='))return _0x9c3d7['slice'](_0x5b20c4['WNVXh'](_0x5d2776['length'],0x1))||undefined;}return undefined;},readTestPlanIdFromConfig=(_0x5dda9d={})=>{const _0x555f13=a171_0x1474a2,_0x57132b={'kyZfx':function(_0x1bbe4c,_0x2eb05f){return _0x1bbe4c(_0x2eb05f);}};return _0x57132b[_0x555f13(0x187)](normalizeTestPlanId,_0x5dda9d&&_0x5dda9d[_0x555f13(0x19e)]&&_0x5dda9d[_0x555f13(0x19e)]['testPlanId']);};exports[a171_0x1474a2(0x14f)]=(_0x256c14={},_0x180ed9=process[a171_0x1474a2(0x120)],_0x50daf1=process[a171_0x1474a2(0x1bb)])=>{const _0x4e9ab1=a171_0x1474a2,_0x318cfd={'ZOIJs':function(_0x47e1bd,_0x2b7b22){return _0x47e1bd(_0x2b7b22);},'McfaK':function(_0x5914f7,_0xaa2272){return _0x5914f7(_0xaa2272);}};try{const _0x258de0=_0x318cfd['ZOIJs'](normalizeTestPlanId,_0x318cfd[_0x4e9ab1(0x188)](readTestPlanIdFromCliArgs,_0x180ed9));if(_0x258de0)return _0x258de0;const _0x59026c=_0x318cfd[_0x4e9ab1(0x19c)](normalizeTestPlanId,_0x50daf1&&_0x50daf1[testHubConstants[_0x4e9ab1(0x179)][_0x4e9ab1(0x203)]]);if(_0x59026c)return _0x59026c;return _0x318cfd[_0x4e9ab1(0x188)](readTestPlanIdFromConfig,_0x256c14);}catch(_0x5ae1f4){return logger[_0x4e9ab1(0x1e1)]('Unable\x20to\x20resolve\x20test\x20plan\x20id:\x20'+(_0x5ae1f4&&_0x5ae1f4['message']?_0x5ae1f4[_0x4e9ab1(0x175)]:_0x5ae1f4)),undefined;}};
|
|
1
|
+
const a171_0xabd3f5=a171_0x52e2;(function(_0x52912c,_0x199c92){const _0x554d9f=a171_0x52e2,_0x9e9936=_0x52912c();while(!![]){try{const _0x42a75f=-parseInt(_0x554d9f(0x213))/0x1+parseInt(_0x554d9f(0x21c))/0x2+-parseInt(_0x554d9f(0x1eb))/0x3*(-parseInt(_0x554d9f(0x24f))/0x4)+parseInt(_0x554d9f(0x1bc))/0x5*(parseInt(_0x554d9f(0x1e2))/0x6)+parseInt(_0x554d9f(0x284))/0x7+parseInt(_0x554d9f(0x1bb))/0x8*(parseInt(_0x554d9f(0x22c))/0x9)+-parseInt(_0x554d9f(0x1c2))/0xa;if(_0x42a75f===_0x199c92)break;else _0x9e9936['push'](_0x9e9936['shift']());}catch(_0x1ebe69){_0x9e9936['push'](_0x9e9936['shift']());}}}(a171_0x5204,0x2d7d9));const bsSetupHelper=require(a171_0xabd3f5(0x245)),LoadTestModule=require('../../bin/v2/modules/loadTestModule'),{isTestObservabilitySession,getFrameworkVersion}=require(a171_0xabd3f5(0x261)),accessibilityHelper=require(a171_0xabd3f5(0x262)),logger=require('../logger')['winstonLogger'],{nestedKeyValue}=require('../helper.js'),scripts=require('../accessibility-automation/scripts.js'),globals=require(a171_0xabd3f5(0x1d5)),testHubConstants=require(a171_0xabd3f5(0x257)),PWTestDetails=require(a171_0xabd3f5(0x272)),JestTestDetails=require('../../bin/jest/test-observability/test-details.js'),{FRAMEWORKS}=require(a171_0xabd3f5(0x20d)),{isTurboScaleSession}=require(a171_0xabd3f5(0x248)),OrchestrationUtils=require(a171_0xabd3f5(0x221)),constants=require('../../bin/utils/constants.js');let testData={};exports['getProductMap']=_0x175aa2=>{const _0x41288a=a171_0xabd3f5,_0x4fde44={'culPU':function(_0x2c2441){return _0x2c2441();},'bfeaS':function(_0x5af3b4,_0x4e8df9){return _0x5af3b4===_0x4e8df9;},'jemGI':_0x41288a(0x1f4)};let _0x1ad374=![],_0x3edd4d=![];if(bsSetupHelper['isBrowserstackInfra']()&&bsSetupHelper[_0x41288a(0x21b)](_0x175aa2))_0x3edd4d=!![];else bsSetupHelper[_0x41288a(0x1ca)]()&&(_0x1ad374=!![]);return Object[_0x41288a(0x25d)]({'observability':_0x4fde44[_0x41288a(0x1e1)](isTestObservabilitySession),'accessibility':exports[_0x41288a(0x1aa)](_0x175aa2),'percy':_0x175aa2[_0x41288a(0x253)]||![],'sr_automation':_0x4fde44[_0x41288a(0x249)](process['env'][_0x41288a(0x1d3)],_0x4fde44[_0x41288a(0x21d)])||_0x175aa2[_0x41288a(0x1ce)]||![],'automate':_0x1ad374,'app_automate':_0x3edd4d,'turboscale':bsSetupHelper[_0x41288a(0x250)](_0x175aa2),'lts':LoadTestModule[_0x41288a(0x266)](_0x175aa2)},bsSetupHelper[_0x41288a(0x26d)]());},exports[a171_0xabd3f5(0x234)]=(_0x4217fc,_0x4ecc2c)=>{const _0x27438a=a171_0xabd3f5,_0x5ae90c={'AEGHM':function(_0x9e46dc,_0x4ef873){return _0x9e46dc(_0x4ef873);},'wJjkH':_0x27438a(0x268)},_0x30bf8d={'frameworkName':_0x4ecc2c,'frameworkVersion':_0x5ae90c[_0x27438a(0x1db)](getFrameworkVersion,_0x4ecc2c),'sdkVersion':bsSetupHelper[_0x27438a(0x27d)](),'language':_0x5ae90c[_0x27438a(0x1ee)],'testFramework':bsSetupHelper['getTestFrameworkDetails'](_0x4217fc,_0x4ecc2c)};return process[_0x27438a(0x233)][_0x27438a(0x228)]=JSON['stringify'](_0x30bf8d),_0x30bf8d;},exports[a171_0xabd3f5(0x210)]=_0x58a467=>{const _0x579efd=a171_0xabd3f5,_0x788f2b={};_0x788f2b[_0x579efd(0x1b9)]=_0x579efd(0x1fb),_0x788f2b[_0x579efd(0x24b)]=_0x579efd(0x1f4);const _0x46d032=_0x788f2b;process[_0x579efd(0x233)][_0x579efd(0x265)]=_0x46d032['kvbbt'],bsSetupHelper[_0x579efd(0x231)](_0x58a467[_0x579efd(0x1d1)]['percy'])&&(!_0x58a467['percy']||!_0x58a467[_0x579efd(0x253)][_0x579efd(0x215)]())&&(process[_0x579efd(0x233)][_0x579efd(0x265)]=_0x46d032['JwmzM']);},exports[a171_0xabd3f5(0x1ed)]=()=>{const _0x59a1f3=a171_0xabd3f5;return bsSetupHelper['isTrue'](process[_0x59a1f3(0x233)][_0x59a1f3(0x265)]);},exports[a171_0xabd3f5(0x1aa)]=(_0x30e99b={})=>{const _0x54ea84=a171_0xabd3f5,_0x5b1252={};_0x5b1252[_0x54ea84(0x25f)]=function(_0x11a7ff,_0x4a8efa){return _0x11a7ff!==_0x4a8efa;},_0x5b1252['LdnPv']=function(_0xf48673,_0x35988c){return _0xf48673===_0x35988c;},_0x5b1252['HDrAE']=_0x54ea84(0x1f4),_0x5b1252[_0x54ea84(0x1b6)]=function(_0x362c20,_0x41ab61){return _0x362c20>_0x41ab61;};const _0x733bd7=_0x5b1252;if(_0x733bd7[_0x54ea84(0x25f)](process[_0x54ea84(0x233)][_0x54ea84(0x1d8)],undefined))return bsSetupHelper['isTrue'](process[_0x54ea84(0x233)][_0x54ea84(0x1d8)]);let _0x200588=_0x733bd7[_0x54ea84(0x1ba)](process[_0x54ea84(0x233)][_0x54ea84(0x235)],_0x733bd7['HDrAE']);return _0x733bd7['FGMhL'](Object[_0x54ea84(0x20b)](_0x30e99b)[_0x54ea84(0x271)],0x0)&&(process[_0x54ea84(0x233)][_0x54ea84(0x26b)]=accessibilityHelper[_0x54ea84(0x1be)](_0x30e99b)),_0x200588=_0x200588||_0x733bd7[_0x54ea84(0x1ba)](process[_0x54ea84(0x233)][_0x54ea84(0x26b)],_0x733bd7[_0x54ea84(0x1ea)]),_0x200588;},exports[a171_0xabd3f5(0x276)]=(_0xd9fe93,_0x45d832)=>{const _0x33a67e=a171_0xabd3f5,_0x18fa19={'xRCWG':function(_0x2b0de5){return _0x2b0de5();},'uZQSA':_0x33a67e(0x1b3),'aTTRL':function(_0x2592da,_0x1e9c4b,_0x2b774c){return _0x2592da(_0x1e9c4b,_0x2b774c);},'EEGwi':_0x33a67e(0x1da),'IOjnb':_0x33a67e(0x1f5),'vUKIp':_0x33a67e(0x1f4)};if(!_0xd9fe93||!_0xd9fe93[_0x33a67e(0x1da)])return exports[_0x33a67e(0x1bd)](),[null,null,null];if(!_0xd9fe93[_0x33a67e(0x1da)]['success'])return exports[_0x33a67e(0x1bd)](_0xd9fe93[_0x33a67e(0x1da)]),[null,null,null];if(_0x18fa19['xRCWG'](isTestObservabilitySession)){const _0x1fe27e=_0x18fa19[_0x33a67e(0x258)][_0x33a67e(0x227)]('|');let _0x2800e3=0x0;while(!![]){switch(_0x1fe27e[_0x2800e3++]){case'0':_0xd9fe93[_0x33a67e(0x27e)]&&(process[_0x33a67e(0x233)]['BS_TESTOPS_BUILD_HASHED_ID']=_0xd9fe93[_0x33a67e(0x27e)]);continue;case'1':_0x18fa19[_0x33a67e(0x27f)](nestedKeyValue,_0xd9fe93,[_0x18fa19[_0x33a67e(0x200)],_0x18fa19[_0x33a67e(0x1ef)]])&&(process[_0x33a67e(0x233)][_0x33a67e(0x286)]=_0xd9fe93['observability']['options'][_0x33a67e(0x238)]['toString']());continue;case'2':process[_0x33a67e(0x233)]['BS_TESTOPS_BUILD_COMPLETED']=_0x18fa19[_0x33a67e(0x21f)];continue;case'3':return[_0xd9fe93[_0x33a67e(0x264)],_0xd9fe93[_0x33a67e(0x27e)],process[_0x33a67e(0x233)]['BS_TESTOPS_ALLOW_SCREENSHOTS']];case'4':if(_0xd9fe93[_0x33a67e(0x264)]){process['env'][_0x33a67e(0x225)]=_0xd9fe93[_0x33a67e(0x264)];const _0xa33741={};_0xa33741[_0x33a67e(0x1fc)]=_0x45d832[_0x33a67e(0x1fc)],_0xa33741[_0x33a67e(0x270)]=_0x45d832[_0x33a67e(0x270)],process[_0x33a67e(0x233)][_0x33a67e(0x24e)]=JSON[_0x33a67e(0x247)](_0xa33741);}continue;case'5':logger[_0x33a67e(0x1b2)]('['+constants['TEST_REPORTING_ANALYTICS']+']\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20'+_0xd9fe93['build_hashed_id']);continue;}break;}}return[null,null,null];},exports['setAccessibilityVariables']=_0x4e950b=>{const _0x5aa8d5=a171_0xabd3f5,_0xf2750e={'jcToN':function(_0x3e4cba,_0x36e9f0,_0x1276d2){return _0x3e4cba(_0x36e9f0,_0x1276d2);},'QnhPG':_0x5aa8d5(0x25a),'NdmyB':_0x5aa8d5(0x1f5),'YzCMx':function(_0x3cc407,_0x48a928,_0x31b208,_0x57212d){return _0x3cc407(_0x48a928,_0x31b208,_0x57212d);},'ivzfu':_0x5aa8d5(0x26c),'czFZr':_0x5aa8d5(0x27b),'hgvOA':function(_0x5d3b3c,_0x312bec,_0x723a49,_0x5a7c80){return _0x5d3b3c(_0x312bec,_0x723a49,_0x5a7c80);},'oFmXa':'command','fVBDW':_0x5aa8d5(0x208),'pBSwp':function(_0xaba59b,_0x316fff,_0x4f093a,_0x236948){return _0xaba59b(_0x316fff,_0x4f093a,_0x236948);},'DCFPu':'nonBStackInfraA11yChromeOptions','FcXor':_0x5aa8d5(0x278),'lNurq':function(_0x390a39,_0x5cbac7){return _0x390a39(_0x5cbac7);},'aUsaK':function(_0x30d53e,_0x5904f3){return _0x30d53e===_0x5904f3;},'kdbZo':function(_0x6ac3b8,_0x55a9da){return _0x6ac3b8===_0x55a9da;},'wwmDg':'true','ePrEm':_0x5aa8d5(0x1f3)};if(!_0x4e950b['accessibility'])return exports['handleErrorForAccessibility'](),[null,null];if(!_0x4e950b[_0x5aa8d5(0x25a)][_0x5aa8d5(0x223)])return exports['handleErrorForAccessibility'](_0x4e950b[_0x5aa8d5(0x25a)]),[null,null];if(_0xf2750e[_0x5aa8d5(0x263)](nestedKeyValue,_0x4e950b,[_0xf2750e['QnhPG'],_0xf2750e['NdmyB']])){const {accessibilityToken:_0xd01114,scannerVersion:_0x5d5a68,scannerProcessingTimeout:_0x1aa38a,isMobileScanningEnabledForGroup:_0x5a9b56}=_0xf2750e[_0x5aa8d5(0x274)](jsonifyAccessibilityArray,_0x4e950b[_0x5aa8d5(0x25a)][_0x5aa8d5(0x1f5)]['capabilities'],_0xf2750e[_0x5aa8d5(0x1cd)],_0xf2750e[_0x5aa8d5(0x27a)]),_0x7f0af2={'scripts':_0xf2750e['hgvOA'](jsonifyAccessibilityArray,_0x4e950b[_0x5aa8d5(0x25a)][_0x5aa8d5(0x1f5)]['scripts'],_0xf2750e[_0x5aa8d5(0x1cd)],_0xf2750e['oFmXa'])};_0x7f0af2[_0xf2750e[_0x5aa8d5(0x254)]]=_0x4e950b['accessibility'][_0x5aa8d5(0x1f5)][_0x5aa8d5(0x220)][_0x5aa8d5(0x208)];const _0x4a85b7=_0xf2750e['pBSwp'](jsonifyAccessibilityArray,_0x4e950b[_0x5aa8d5(0x25a)][_0x5aa8d5(0x1f5)][_0x5aa8d5(0x1f6)],_0xf2750e['ivzfu'],_0xf2750e[_0x5aa8d5(0x27a)]);_0x7f0af2[_0xf2750e[_0x5aa8d5(0x1c5)]]=_0x4a85b7[_0xf2750e[_0x5aa8d5(0x1af)]],scripts['parseFromJson'](_0x7f0af2),scripts['toJson']();let _0x5c4a01=process['env'][_0x5aa8d5(0x1f7)];_0x5c4a01=!!_0x5c4a01?JSON[_0x5aa8d5(0x252)](_0x5c4a01):{},_0x5c4a01[_0x5aa8d5(0x1bf)]=_0x5d5a68,process[_0x5aa8d5(0x233)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON['stringify'](_0x5c4a01),process[_0x5aa8d5(0x233)]['BS_A11Y_JWT']=_0xd01114,process[_0x5aa8d5(0x233)][_0x5aa8d5(0x277)]=_0xf2750e[_0x5aa8d5(0x283)](String,_0xf2750e[_0x5aa8d5(0x1e7)](_0x5a9b56,!![])||_0xf2750e[_0x5aa8d5(0x1d2)](_0x5a9b56,_0xf2750e['wwmDg'])),logger[_0x5aa8d5(0x1b2)](_0x5aa8d5(0x218)+_0x4e950b[_0x5aa8d5(0x27e)]);const _0x204732=accessibilityHelper['parseA11yJwtPayload'](_0xd01114);return _0x204732&&bsSetupHelper[_0x5aa8d5(0x231)](_0x204732[_0x5aa8d5(0x1de)])&&(process[_0x5aa8d5(0x233)][_0x5aa8d5(0x282)]=!![],logger[_0x5aa8d5(0x1b2)](_0xf2750e[_0x5aa8d5(0x1fe)])),[_0xd01114,_0x4e950b['build_hashed_id'],_0x1aa38a];}return[null,null];},exports[a171_0xabd3f5(0x1bd)]=_0x58f3bc=>{const _0x42aa4a=a171_0xabd3f5,_0xe4467a={};_0xe4467a[_0x42aa4a(0x206)]=_0x42aa4a(0x1b0),_0xe4467a[_0x42aa4a(0x26a)]='null',_0xe4467a[_0x42aa4a(0x25e)]=_0x42aa4a(0x1fb);const _0x423148=_0xe4467a,_0x31c33a=_0x423148['reRMT']['split']('|');let _0x5c5805=0x0;while(!![]){switch(_0x31c33a[_0x5c5805++]){case'0':exports[_0x42aa4a(0x26f)](_0x58f3bc,testHubConstants[_0x42aa4a(0x242)]);continue;case'1':process[_0x42aa4a(0x233)][_0x42aa4a(0x1f8)]=_0x423148['gNUGI'];continue;case'2':process[_0x42aa4a(0x233)][_0x42aa4a(0x260)]=_0x423148[_0x42aa4a(0x25e)];continue;case'3':process[_0x42aa4a(0x233)][_0x42aa4a(0x286)]=_0x423148[_0x42aa4a(0x26a)];continue;case'4':process['env'][_0x42aa4a(0x1ae)]=_0x423148[_0x42aa4a(0x26a)];continue;case'5':process['env'][_0x42aa4a(0x211)]=_0x423148[_0x42aa4a(0x26a)];continue;case'6':process['env']['BS_TESTOPS_JWT']=_0x423148['gNUGI'];continue;}break;}},exports['handleErrorForAccessibility']=_0x405e65=>{const _0x369659=a171_0xabd3f5,_0x1e3b08={};_0x1e3b08['SWnbD']=_0x369659(0x267),_0x1e3b08['EnWfu']=_0x369659(0x1fb),_0x1e3b08[_0x369659(0x243)]='null';const _0x2aa538=_0x1e3b08,_0x2b2829=_0x2aa538[_0x369659(0x22e)]['split']('|');let _0x187239=0x0;while(!![]){switch(_0x2b2829[_0x187239++]){case'0':process[_0x369659(0x233)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x2aa538[_0x369659(0x1c9)];continue;case'1':process[_0x369659(0x233)][_0x369659(0x1f8)]=_0x2aa538[_0x369659(0x243)];continue;case'2':process['env']['BROWSERSTACK_TESTHUB_UUID']=_0x2aa538[_0x369659(0x243)];continue;case'3':exports[_0x369659(0x26f)](_0x405e65,testHubConstants[_0x369659(0x239)]);continue;case'4':process['env'][_0x369659(0x235)]=_0x2aa538[_0x369659(0x1c9)];continue;}break;}},exports[a171_0xabd3f5(0x26f)]=(_0x47904a,_0x30aba3='')=>{const _0x584a2e=a171_0xabd3f5,_0x8284b7={};_0x8284b7[_0x584a2e(0x24a)]=function(_0x18cd56,_0x3a2d94){return _0x18cd56===_0x3a2d94;};const _0x4fa74a=_0x8284b7;if(_0x4fa74a[_0x584a2e(0x24a)](_0x47904a,undefined)){logger[_0x584a2e(0x1d4)](_0x30aba3[_0x584a2e(0x1f1)]()+_0x584a2e(0x1c8));return;}for(const _0x4a1bfb of _0x47904a['errors']){const _0x24e910=_0x4a1bfb['key'],_0x36c271=_0x4a1bfb[_0x584a2e(0x1e6)];if(_0x36c271)switch(_0x24e910){case testHubConstants[_0x584a2e(0x1c7)][_0x584a2e(0x1b4)]:logger['error'](_0x36c271);break;case testHubConstants[_0x584a2e(0x1c7)][_0x584a2e(0x21e)]:logger[_0x584a2e(0x216)](_0x36c271);break;case testHubConstants[_0x584a2e(0x1c7)][_0x584a2e(0x237)]:logger['error'](_0x36c271);break;default:logger[_0x584a2e(0x1d4)](_0x36c271);}}};const jsonifyAccessibilityArray=(_0x454540,_0x137d61,_0x225a83)=>{const _0x45432b={};return _0x454540['forEach'](_0x10491b=>{_0x45432b[_0x10491b[_0x137d61]]=_0x10491b[_0x225a83];}),_0x45432b;};exports[a171_0xabd3f5(0x1b5)]=_0x57ef2a=>{const _0x10c355=a171_0xabd3f5;_0x57ef2a[_0x10c355(0x264)]&&(process[_0x10c355(0x233)][_0x10c355(0x1f8)]=_0x57ef2a[_0x10c355(0x264)]);_0x57ef2a['build_hashed_id']&&(process[_0x10c355(0x233)][_0x10c355(0x211)]=_0x57ef2a[_0x10c355(0x27e)],logger[_0x10c355(0x1b2)](_0x10c355(0x1fd)+_0x57ef2a['build_hashed_id']));;},exports['shouldProcessEventForTesthub']=(_0x43b12f='',_0x15f3a5='')=>{const _0x1a3262=a171_0xabd3f5,_0x9564a5={'kRvEH':function(_0x446429){return _0x446429();},'SekDd':function(_0x55ea58,_0x53f7bf){return _0x55ea58===_0x53f7bf;},'QJFHU':_0x1a3262(0x285),'wDLhY':_0x1a3262(0x240),'gbmkU':_0x1a3262(0x212),'bLNXH':function(_0x3ef1f8){return _0x3ef1f8();},'DmSsI':_0x1a3262(0x1e9),'jknfL':_0x1a3262(0x1d9)};if(exports['isPercyBuild']()&&!exports['isAccessibilityEnabled']()&&!_0x9564a5[_0x1a3262(0x281)](isTestObservabilitySession)){if(_0x9564a5[_0x1a3262(0x273)](_0x15f3a5,_0x9564a5[_0x1a3262(0x1b7)]))return![];if([_0x9564a5[_0x1a3262(0x24c)],_0x9564a5[_0x1a3262(0x246)]][_0x1a3262(0x1ac)](_0x43b12f))return![];return!![];}if(exports[_0x1a3262(0x1aa)]()&&!_0x9564a5[_0x1a3262(0x1e4)](isTestObservabilitySession)){if([_0x9564a5[_0x1a3262(0x280)],_0x9564a5[_0x1a3262(0x1ab)],_0x9564a5['wDLhY']][_0x1a3262(0x1ac)](_0x43b12f))return![];return!![];}return exports['isAccessibilityEnabled']()||_0x9564a5[_0x1a3262(0x281)](isTestObservabilitySession)||exports[_0x1a3262(0x1ed)]();},exports[a171_0xabd3f5(0x232)]=(_0x116a98,_0x408614,_0x2f9514='',_0x522bb6)=>{const _0xe53a7b=a171_0xabd3f5,_0x55263c={'QxpJs':_0xe53a7b(0x1e9),'dvUHe':_0xe53a7b(0x1d9),'Rcvqw':function(_0x468129,_0x213265){return _0x468129===_0x213265;},'dgeUW':_0xe53a7b(0x21a),'fmBDb':_0xe53a7b(0x27c),'dHGsq':_0xe53a7b(0x25a),'ymwWv':function(_0x2a6919,_0x2963b6){return _0x2a6919&&_0x2963b6;},'iLCqm':function(_0x28211d,_0x1e001f){return _0x28211d===_0x1e001f;},'qWoTV':function(_0x323617,_0x139953){return _0x323617+_0x139953;},'iNHAU':function(_0x1c4809,_0x3e009a){return _0x1c4809+_0x3e009a;},'NNVAf':function(_0x29cc60,_0x41ba8b){return _0x29cc60===_0x41ba8b;},'NzrcP':function(_0x1f63e5,_0x522ef0){return _0x1f63e5(_0x522ef0);},'IeWQH':_0xe53a7b(0x1f0),'FZlCR':function(_0x17d702,_0x15ddb5){return _0x17d702===_0x15ddb5;},'WtzLT':function(_0x7c08fa,_0x2e2823){return _0x7c08fa!==_0x2e2823;},'XQupl':'TestRunStarted','Zkxxx':function(_0x41237c,_0x2ba769){return _0x41237c===_0x2ba769;},'XUyIA':function(_0x5b9875,_0x5f52ec){return _0x5b9875&&_0x5f52ec;},'GFamk':function(_0x27d030,_0xddef76){return _0x27d030===_0xddef76;},'ZoLFe':function(_0x13b35b,_0x34ae74){return _0x13b35b&&_0x34ae74;},'mCMGm':_0xe53a7b(0x23b)};if([_0x55263c[_0xe53a7b(0x26e)],_0x55263c[_0xe53a7b(0x255)]][_0xe53a7b(0x1ac)](_0x408614))return;let _0x2c4ad7={};try{process[_0xe53a7b(0x233)][_0xe53a7b(0x201)]&&(_0x2c4ad7=JSON[_0xe53a7b(0x252)](process[_0xe53a7b(0x233)][_0xe53a7b(0x201)])||{});}catch(_0x8be255){logger[_0xe53a7b(0x1b2)](_0xe53a7b(0x1d0)+_0x8be255),_0x2c4ad7={};}if(exports['isAccessibilityEnabled']()){if(_0x55263c[_0xe53a7b(0x25c)](_0x522bb6,FRAMEWORKS[_0xe53a7b(0x259)])){const _0x2df4f4=globals[_0xe53a7b(0x23e)](_0x55263c[_0xe53a7b(0x20e)])||accessibilityHelper[_0xe53a7b(0x1dc)](_0x2f9514[_0xe53a7b(0x24d)](),!![]),_0xc5c8da=globals[_0xe53a7b(0x23e)](_0x55263c[_0xe53a7b(0x23f)]);_0x2c4ad7[_0x55263c[_0xe53a7b(0x25b)]]=_0x55263c[_0xe53a7b(0x1f2)](_0xc5c8da,_0x2df4f4);}if(_0x55263c[_0xe53a7b(0x207)](_0x522bb6,FRAMEWORKS[_0xe53a7b(0x1c6)])){const _0x1999d2=_0x55263c[_0xe53a7b(0x20a)](_0x55263c[_0xe53a7b(0x205)](_0x116a98[_0xe53a7b(0x1ad)][_0xe53a7b(0x1cf)]('\x20'),'\x20'),_0x2f9514[_0xe53a7b(0x26c)]),_0x3a060d=globals[_0xe53a7b(0x23e)](_0x55263c[_0xe53a7b(0x20e)])||accessibilityHelper[_0xe53a7b(0x1dc)](_0x1999d2,![]),_0x12a20f=browserStackGlobals[_0xe53a7b(0x27c)];_0x2c4ad7[_0x55263c['dHGsq']]=_0x55263c[_0xe53a7b(0x1f2)](_0x12a20f,_0x3a060d);}if(_0x55263c['NNVAf'](_0x522bb6,FRAMEWORKS[_0xe53a7b(0x214)])){const _0x23c9c4=_0x55263c['NzrcP'](require,_0x55263c[_0xe53a7b(0x203)]),_0x1d3555=_0x2f9514&&_0x23c9c4[_0xe53a7b(0x217)](_0x2f9514['id'])||_0x116a98[_0xe53a7b(0x20c)];_0x1d3555&&(_0x116a98[_0xe53a7b(0x20c)]=_0x1d3555);const _0x4b8fca=_0x55263c[_0xe53a7b(0x20a)](_0x55263c[_0xe53a7b(0x20a)](_0x116a98[_0xe53a7b(0x1ad)][_0xe53a7b(0x1cf)]('\x20'),'\x20'),_0x2f9514[_0xe53a7b(0x1cb)]||_0x116a98[_0xe53a7b(0x26c)]),_0x330f74=globals[_0xe53a7b(0x23e)](_0x55263c[_0xe53a7b(0x20e)])||accessibilityHelper[_0xe53a7b(0x1dc)](_0x4b8fca,![]),_0x1a801a=globals[_0xe53a7b(0x23e)](_0x55263c[_0xe53a7b(0x23f)]);_0x2c4ad7[_0x55263c[_0xe53a7b(0x25b)]]=_0x55263c[_0xe53a7b(0x1f2)](_0x1a801a,_0x330f74);}_0x55263c[_0xe53a7b(0x1a9)](_0x522bb6,FRAMEWORKS[_0xe53a7b(0x222)])&&_0x55263c['WtzLT'](_0x408614,_0x55263c[_0xe53a7b(0x22b)])&&(_0x2c4ad7[_0x55263c[_0xe53a7b(0x25b)]]=PWTestDetails[_0xe53a7b(0x1e5)](_0x116a98[_0xe53a7b(0x20c)]));if(_0x55263c['Zkxxx'](_0x522bb6,FRAMEWORKS['CODECEPT'])){const _0x436cb1=accessibilityHelper[_0xe53a7b(0x1dc)](_0x2f9514[_0xe53a7b(0x24d)](),!![]),_0x315336=global[_0xe53a7b(0x244)];_0x2c4ad7[_0x55263c[_0xe53a7b(0x25b)]]=_0x55263c[_0xe53a7b(0x1c0)](_0x315336,_0x436cb1);}if(_0x55263c[_0xe53a7b(0x23d)](_0x522bb6,FRAMEWORKS[_0xe53a7b(0x241)])){const _0x479104=accessibilityHelper['shouldScanTestForAccessibility'](null,![],_0x116a98[_0xe53a7b(0x1e8)]),_0x4f8913=globals[_0xe53a7b(0x23e)](_0x55263c[_0xe53a7b(0x23f)]);_0x2c4ad7[_0x55263c[_0xe53a7b(0x25b)]]=_0x55263c[_0xe53a7b(0x22a)](_0x4f8913,_0x479104);}}_0x116a98[_0x55263c['mCMGm']]=_0x2c4ad7;},exports[a171_0xabd3f5(0x275)]=_0x8dd651=>{const _0xbc9567=a171_0xabd3f5,_0x2042a2={};_0x2042a2['XYdxs']=function(_0x50be02,_0x107f26){return _0x50be02>_0x107f26;};const _0x498d77=_0x2042a2;let _0x22bdab={};if(_0x498d77[_0xbc9567(0x1e3)](Object[_0xbc9567(0x20b)](testData)[_0xbc9567(0x271)],0x0))return testData;_0x22bdab=JestTestDetails[_0xbc9567(0x229)]();if(_0x498d77[_0xbc9567(0x1e3)](Object[_0xbc9567(0x20b)](_0x22bdab)[_0xbc9567(0x271)],0x0))return _0x22bdab;return _0x22bdab;},exports[a171_0xabd3f5(0x1df)]=(_0x57f94a,_0x43275d={})=>{const _0x5209cf=a171_0xabd3f5;if(bsSetupHelper[_0x5209cf(0x23a)](_0x43275d[_0x5209cf(0x23c)]))return;switch(_0x57f94a){case FRAMEWORKS['MOCHA']:testData=_0x43275d[_0x5209cf(0x23c)];break;case FRAMEWORKS[_0x5209cf(0x1c6)]:JestTestDetails['setTestData'](_0x43275d[_0x5209cf(0x23c)]);break;case FRAMEWORKS['JASMINE']:testData=_0x43275d[_0x5209cf(0x23c)];break;default:break;}},exports['getAccessibilityValueFromYml']=_0x26ddbb=>{const _0x6181f4=a171_0xabd3f5,_0x421f5d={};_0x421f5d[_0x6181f4(0x279)]=function(_0x59d699,_0x4684d3){return _0x59d699!==_0x4684d3;},_0x421f5d['fxbYI']=function(_0x5dfe53,_0x3aae5d){return _0x5dfe53!==_0x3aae5d;};const _0x43d29d=_0x421f5d;if(_0x43d29d[_0x6181f4(0x279)](_0x26ddbb[_0x6181f4(0x25a)],null)&&_0x43d29d[_0x6181f4(0x279)](_0x26ddbb['accessibility'],undefined))return _0x26ddbb[_0x6181f4(0x25a)];let _0xbfb236=![],_0x597a08=![];if(_0x26ddbb[_0x6181f4(0x251)])for(const _0x58d618 of _0x26ddbb[_0x6181f4(0x251)]){_0x43d29d[_0x6181f4(0x279)](_0x58d618[_0x6181f4(0x25a)],null)&&_0x43d29d[_0x6181f4(0x1b1)](_0x58d618[_0x6181f4(0x25a)],undefined)&&(_0xbfb236=_0xbfb236||bsSetupHelper[_0x6181f4(0x231)](_0x58d618[_0x6181f4(0x25a)]),_0x597a08=!![]);}if(_0x597a08)return _0xbfb236;return null;},exports[a171_0xabd3f5(0x209)]=_0x27d102=>{const _0x200488=a171_0xabd3f5;if(!_0x27d102)return{};const _0x59ec40=new OrchestrationUtils(_0x27d102);return _0x59ec40[_0x200488(0x1e0)]();},exports[a171_0xabd3f5(0x202)]=_0x4b9121=>{const _0x39395c=a171_0xabd3f5,_0x1eb574={'UUDEH':function(_0xe086ae){return _0xe086ae();},'xfVFZ':function(_0x429a1b,_0x235192){return _0x429a1b===_0x235192;},'SUzqA':_0x39395c(0x1f4)};let _0xd4f62e=![],_0x9508ca=![];if(bsSetupHelper[_0x39395c(0x1ca)]()&&bsSetupHelper['isAppAutomateSession'](_0x4b9121))_0x9508ca=!![];else bsSetupHelper['isBrowserstackInfra']()&&(_0xd4f62e=!![]);return Object[_0x39395c(0x25d)]({'observability':_0x1eb574[_0x39395c(0x1ec)](isTestObservabilitySession),'accessibility':exports[_0x39395c(0x219)](_0x4b9121),'percy':_0x4b9121[_0x39395c(0x253)]||![],'sr_automation':_0x1eb574[_0x39395c(0x22d)](process['env'][_0x39395c(0x1d3)],_0x1eb574[_0x39395c(0x269)])||_0x4b9121[_0x39395c(0x1ce)]||![],'automate':_0xd4f62e,'app_automate':_0x9508ca,'turboscale':bsSetupHelper[_0x39395c(0x250)](_0x4b9121),'lts':LoadTestModule[_0x39395c(0x266)](_0x4b9121)},bsSetupHelper[_0x39395c(0x26d)]());};function a171_0x52e2(_0x210c30,_0x161d35){const _0x5204f7=a171_0x5204();return a171_0x52e2=function(_0x52e2a8,_0x418157){_0x52e2a8=_0x52e2a8-0x1a9;let _0x379317=_0x5204f7[_0x52e2a8];return _0x379317;},a171_0x52e2(_0x210c30,_0x161d35);}function a171_0x5204(){const _0x27f8c6=['FcXor','5|1|2|6|4|3|0','fxbYI','debug','2|4|0|1|5|3','INVALID_CREDENTIALS','setTestHubCommonMetaInfo','FGMhL','QJFHU','OrFye','kvbbt','LdnPv','71440DZTonb','6935QRBLkR','handleErrorForObservability','checkAccessibilityPlatformConfig','scannerVersion','XUyIA','TEST_MANAGEMENT_TEST_PLAN_ID_ARG','4137010OsMxMo','trim','ENV_VAR','DCFPu','JEST','ERROR','\x20Build\x20creation\x20failed','EnWfu','isBrowserstackInfra','description','UyTNr','ivzfu','sr_automation','join','Failed\x20to\x20parse\x20BROWSERSTACK_PRODUCT_MAP\x20env\x20var:\x20','config','kdbZo','BROWSERSTACK_SR_AUTOMATION','error','../globals.js','jMSaq','LOvph','BROWSERSTACK_ACCESSIBILITY','HookRunFinished','observability','AEGHM','shouldScanTestForAccessibility','FIcLw','skipCDPConnectOverride','setCurrentTestData','getBuildStartData','culPU','204gERKXQ','XYdxs','bLNXH','getAccessibilityPlatformValidation','message','aUsaK','tags','HookRunStarted','HDrAE','333uWPgeo','UUDEH','isPercyBuild','wJjkH','IOjnb','../../bin/jasmine/testRunMap.js','toUpperCase','ymwWv','[ACCESSIBILITY]\x20skip_cdp_connect_override\x20is\x20true,\x20skipping\x20CDP\x20connect\x20override','true','options','capabilities','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','BROWSERSTACK_TESTHUB_JWT','jVdkb','rhMQu','false','username','BROWSERSTACK_TESTHUB_UUID:\x20','ePrEm','slice','EEGwi','BROWSERSTACK_PRODUCT_MAP','getProductMapForBuildStartCall','IeWQH','testPlanId','iNHAU','reRMT','iLCqm','commands','getTestOrchestrationBuildStartData','qWoTV','keys','uuid','../test-observability/constants.js','dgeUW','SVQWf','setPercyFlag','BROWSERSTACK_TESTHUB_UUID','CBTSessionCreated','240070uerpIT','JASMINE','isRunning','info','get','[ACCESSIBILITY]\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','getAccessibilityValueFromYml','bstackA11yShouldScan','isAppAutomateSession','219444dNUsml','jemGI','ACCESS_DENIED','vUKIp','commandsToWrap','../test-orchestration/orchestrationUtils.js','PLAYWRIGHT','success','testManagementOptions','BS_TESTOPS_JWT','ZmBMa','split','FRAMEWORK_DETAILS','getTestData','ZoLFe','XQupl','333JlIzvy','xfVFZ','SWnbD','string','argv','isTrue','appendTesthubParams','env','getFrameworkDetails','BROWSERSTACK_TEST_ACCESSIBILITY_YML','BROWSERSTACK_TEST_PLAN_ID','DEPRECATED','allow_screenshots','ACCESSIBILITY','isUndefined','product_map','test_run','GFamk','getGlobal','fmBDb','LogCreated','CUCUMBER','OBSERVABILITY','QJLjq','accessibilityPlatform','../helper','gbmkU','stringify','../ats/helper','bfeaS','fxWBr','JwmzM','wDLhY','titlePath','CREDENTIALS_FOR_CRASH_REPORTING','1560dONHST','isTurboScaleSession','platforms','parse','percy','fVBDW','dvUHe','startsWith','./constants.js','uZQSA','MOCHA','accessibility','dHGsq','Rcvqw','assign','fccsU','plNWM','BS_TESTOPS_BUILD_COMPLETED','../test-observability/utils','../accessibility-automation/helper','jcToN','jwt','BROWSERSTACK_PERCY','isLTSSession','2|1|4|0|3','javascript','SUzqA','gNUGI','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','name','getCentralUser','QxpJs','logBuildError','password','length','../../bin/playwright/reporter/test-details.js','SekDd','YzCMx','getCurrentTestData','setTestObservabilityVariables','BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP','goog:chromeOptions','fFeFo','czFZr','value','isAccessibilityPlatform','getAgentVersion','build_hashed_id','aTTRL','DmSsI','kRvEH','BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE','lNurq','2166640rYOIfR','uploadEventData','BS_TESTOPS_ALLOW_SCREENSHOTS','FZlCR','isAccessibilityEnabled','jknfL','includes','scopes','BS_TESTOPS_BUILD_HASHED_ID'];a171_0x5204=function(){return _0x27f8c6;};return a171_0x5204();}const normalizeTestPlanId=_0x1ae9a8=>{const _0x496f7a=a171_0xabd3f5,_0x42db85={};_0x42db85[_0x496f7a(0x1d6)]=function(_0x8538d3,_0x43b5e5){return _0x8538d3!==_0x43b5e5;},_0x42db85[_0x496f7a(0x1fa)]=_0x496f7a(0x22f),_0x42db85[_0x496f7a(0x1b8)]=function(_0x1b110b,_0x361875){return _0x1b110b>_0x361875;};const _0x332b4b=_0x42db85;if(_0x332b4b[_0x496f7a(0x1d6)](typeof _0x1ae9a8,_0x332b4b[_0x496f7a(0x1fa)]))return undefined;const _0x38cae4=_0x1ae9a8[_0x496f7a(0x1c3)]();return _0x332b4b[_0x496f7a(0x1b8)](_0x38cae4[_0x496f7a(0x271)],0x0)?_0x38cae4:undefined;},readTestPlanIdFromCliArgs=(_0x2f3e39=process['argv'])=>{const _0x14f53b=a171_0xabd3f5,_0xa7f7c6={};_0xa7f7c6['ZmBMa']=function(_0x52e4e5,_0x5bbc4e){return _0x52e4e5<_0x5bbc4e;},_0xa7f7c6[_0x14f53b(0x1cc)]=function(_0x4767d1,_0x292f13){return _0x4767d1===_0x292f13;},_0xa7f7c6[_0x14f53b(0x20f)]=function(_0x1deff6,_0x45456e){return _0x1deff6+_0x45456e;},_0xa7f7c6[_0x14f53b(0x1f9)]=function(_0x2c3b62,_0x5e32f7){return _0x2c3b62+_0x5e32f7;};const _0x4e6ebe=_0xa7f7c6,_0x242958='--'+testHubConstants[_0x14f53b(0x1c1)];for(let _0xbb812a=0x0;_0x4e6ebe[_0x14f53b(0x226)](_0xbb812a,_0x2f3e39[_0x14f53b(0x271)]);_0xbb812a+=0x1){const _0x3f8d7b=_0x2f3e39[_0xbb812a];if(_0x4e6ebe['UyTNr'](_0x3f8d7b,_0x242958)){const _0x366454=_0x2f3e39[_0x4e6ebe[_0x14f53b(0x20f)](_0xbb812a,0x1)];if(!_0x366454||_0x366454[_0x14f53b(0x256)]('--'))return undefined;return _0x366454;}if(_0x3f8d7b['startsWith'](_0x242958+'='))return _0x3f8d7b[_0x14f53b(0x1ff)](_0x4e6ebe[_0x14f53b(0x1f9)](_0x242958[_0x14f53b(0x271)],0x1))||undefined;}return undefined;},readTestPlanIdFromConfig=(_0x23c024={})=>{const _0x3085dd=a171_0xabd3f5,_0x551836={'LOvph':function(_0x54bcff,_0x4411b6){return _0x54bcff(_0x4411b6);}};return _0x551836[_0x3085dd(0x1d7)](normalizeTestPlanId,_0x23c024&&_0x23c024[_0x3085dd(0x224)]&&_0x23c024['testManagementOptions'][_0x3085dd(0x204)]);};exports['getTestPlanId']=(_0x45b3b2={},_0x2f44cf=process[a171_0xabd3f5(0x230)],_0x9bff49=process[a171_0xabd3f5(0x233)])=>{const _0xc7e22=a171_0xabd3f5,_0x462df8={'eauRD':function(_0x1bfed8,_0x173b9f){return _0x1bfed8(_0x173b9f);},'FIcLw':function(_0x2a55f6,_0xf37be5){return _0x2a55f6(_0xf37be5);}};try{const _0x3dbe3f=_0x462df8['eauRD'](normalizeTestPlanId,_0x462df8[_0xc7e22(0x1dd)](readTestPlanIdFromCliArgs,_0x2f44cf));if(_0x3dbe3f)return _0x3dbe3f;const _0x146d8d=_0x462df8['eauRD'](normalizeTestPlanId,_0x9bff49&&_0x9bff49[testHubConstants[_0xc7e22(0x1c4)][_0xc7e22(0x236)]]);if(_0x146d8d)return _0x146d8d;return _0x462df8[_0xc7e22(0x1dd)](readTestPlanIdFromConfig,_0x45b3b2);}catch(_0x5e9250){return logger[_0xc7e22(0x1b2)]('Unable\x20to\x20resolve\x20test\x20plan\x20id:\x20'+(_0x5e9250&&_0x5e9250[_0xc7e22(0x1e6)]?_0x5e9250[_0xc7e22(0x1e6)]:_0x5e9250)),undefined;}};
|
package/src/helpers/utilities.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a172_0x1a2199=a172_0x5761;function a172_0x5e30(){const _0x1044f5=['values','name','X_OK','chmodSync','./logger','rLCYG','NTVDo','Something\x20went\x20wrong\x20in\x20Final\x20Execution\x20step\x20:\x20','isNullOrEmpty','[REDACTED]','stringify','application/json','browser','event_properties','errorMessage','API\x20Event\x20','push','codeceptjs','playwrightVersion','3330135hzMVFW','browserVersion','ukxRN','error','getAccessKey','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','eEjWB','419LTWIuJ','getPackageVersion','\x20has\x20now\x20read/write/execute\x20permissions.','rPBol','setReadWriteExecuteAccess','stopPercy','isModifiable','buildIdentifier','rwDNw','nodeRequest','Playwright','keys','SUZIX','aozqk','671077wyAksh','isBrowserstackInfra','util','kISap','assign','1964936DSNKgg','isAppAutomateSession','620553pyqeGb','../bin/utils/constants','AUTOMATE','getOptimalHubUrl','3723290AASZAm','framework','getNodeAgent','getSessionsList','4rxuarq','Failed\x20to\x20set\x20directory\x20access:\x20','hubAllocation','txTgo','version','deviceName','trim','getGlobal','UWLYV','getBuildLink','osVersion','sanitizeBrowserStackConfig','RdMbO','./helper','getFrameworkVersion','finalExecution','APP_AUTOMATE_PRODUCTS','mXrrB','sdkRunId','requirePWModule','yhHhs','isTurboScaleSession','Error\x20in\x20getting\x20framework\x20version\x20to\x20:\x20','source','body','10WMUUFl','selenium-webdriver','ghESU','debug','Error\x20in\x20firing\x20request\x20to\x20','AUTOMATE_PRODUCTS','getUserName','SDK\x20run\x20ended\x20for\x20id:\x20','notifyUpdate','killSignal','info','every','wNFfB','ENV_VAR','getTurboScaleSessionsList','buildName','tests','forEach','DAgqV','546dZgEkI','toString','./test-observability/utils','seleniumVersion','nodejs','split','FBdPr','../helpers/testhub/constants','BROWSERSTACK_TESTHUB_UUID','Error\x20while\x20parsing\x20tests\x20errors,\x20Exception:\x20','constants','QOvft','JBUsf','finishedMetadata','accessSync','\x20response\x20-\x20','LUHrq','browserStackConfig','all','IAkcK','POST','kKYYc','./globals','lfxxq','unhandledErrors','nluTw','wOQvf','format','SDKTestSuccessful','getTurboScaleBuildLink','stack','object','FSYfG','BjlAG','yazHY','./performance/performance-tester','finalExecutionRan','XYGos','user_killed','trVMG','4808VQkJTV','APP_AUTOMATE','LsaFV','bOxbv','41682NRwvFJ','content-type','getStackTraceAsString','Firing\x20SDK\x20event\x20for\x20funnel\x20data:\x20','W_OK','eSnwQ','replace','config','lOJkL','fireFunnelTestEvent','tQACT','168LzgBrm','Nyfzz','\x20:\x20','getTestFrameworkDetails','unknown','length','_buildHashedId','env'];a172_0x5e30=function(){return _0x1044f5;};return a172_0x5e30();}(function(_0x2fb729,_0x38698e){const _0x4e9bbd=a172_0x5761,_0x31598c=_0x2fb729();while(!![]){try{const _0x2736b3=-parseInt(_0x4e9bbd(0x93))/0x1*(parseInt(_0x4e9bbd(0x104))/0x2)+parseInt(_0x4e9bbd(0xa8))/0x3*(parseInt(_0x4e9bbd(0xb0))/0x4)+parseInt(_0x4e9bbd(0xac))/0x5+-parseInt(_0x4e9bbd(0x108))/0x6*(-parseInt(_0x4e9bbd(0xdc))/0x7)+-parseInt(_0x4e9bbd(0xa6))/0x8+parseInt(_0x4e9bbd(0x8c))/0x9*(-parseInt(_0x4e9bbd(0xc9))/0xa)+-parseInt(_0x4e9bbd(0xa1))/0xb*(-parseInt(_0x4e9bbd(0x113))/0xc);if(_0x2736b3===_0x38698e)break;else _0x31598c['push'](_0x31598c['shift']());}catch(_0x251c4e){_0x31598c['push'](_0x31598c['shift']());}}}(a172_0x5e30,0xb0e55));const os=require('os'),util=require(a172_0x1a2199(0xa3)),fs=require('fs'),{getProductMap}=require('./testhub/utils'),logger=require(a172_0x1a2199(0x11f))['winstonLogger'],constants=require('../bin/utils/constants'),testHubConstants=require(a172_0x1a2199(0xe3)),{getTransformPath}=require('../bin/playwright/reporter/pwUtils'),{FUNNEL_INSTRUMENTATION_API_URL}=require(a172_0x1a2199(0xa9)),{generateCIArtifacts,printNudgeLocalNotSetError}=require('./helper'),PerformanceTester=require(a172_0x1a2199(0xff)),globals=require(a172_0x1a2199(0xf2)),helper=require(a172_0x1a2199(0xbd)),{isTestObservabilitySession}=require(a172_0x1a2199(0xde));function a172_0x5761(_0x48e19a,_0x516fc3){const _0x5e30b7=a172_0x5e30();return a172_0x5761=function(_0x576164,_0x3f04d9){_0x576164=_0x576164-0x82;let _0x58f061=_0x5e30b7[_0x576164];return _0x58f061;},a172_0x5761(_0x48e19a,_0x516fc3);}let unhandledErrors='';exports['fireFunnelTestEvent']=async(_0x445cea,_0x671dd6={},_0x38670e,_0x2d182e,_0x271014=![])=>{const _0x55947a=a172_0x1a2199,_0x333810={'eSnwQ':function(_0x549adf,_0x227741){return _0x549adf===_0x227741;},'yazHY':_0x55947a(0xfb),'rwDNw':function(_0x3e9734,_0x60416){return _0x3e9734>_0x60416;},'JBUsf':_0x55947a(0xd9),'xfOan':function(_0x360b40){return _0x360b40();},'XYGos':function(_0x1a937c,_0x30a4b4){return _0x1a937c==_0x30a4b4;},'bOxbv':'null','QOvft':'undefined','ghESU':function(_0x47b2fa,_0x2d1801){return _0x47b2fa>_0x2d1801;},'FBdPr':_0x55947a(0x8a),'UWLYV':function(_0x431e40,_0x4fca69){return _0x431e40!==_0x4fca69;},'FSYfG':_0x55947a(0x9d),'MOXMA':function(_0x359e04,_0x49187f){return _0x359e04===_0x49187f;},'wOQvf':_0x55947a(0x8f),'mXrrB':function(_0x1d361d,_0x2c9d43){return _0x1d361d>_0x2c9d43;},'aozqk':function(_0x1d86a6,_0x193b22){return _0x1d86a6+_0x193b22;},'DAgqV':_0x55947a(0xe5),'zEpBz':_0x55947a(0x119),'wNFfB':function(_0x309837,_0x5103c2){return _0x309837(_0x5103c2);},'RdMbO':function(_0x549642,_0xd40af3){return _0x549642(_0xd40af3);},'rPBol':_0x55947a(0x117),'BjlAG':_0x55947a(0xe0),'IAkcK':_0x55947a(0xf8),'ukxRN':function(_0x292a39,_0x15e9c8){return _0x292a39===_0x15e9c8;},'trVMG':function(_0x1aa8ce){return _0x1aa8ce();},'kISap':_0x55947a(0xca),'kKYYc':_0x55947a(0x84),'lfxxq':_0x55947a(0x82),'nluTw':_0x55947a(0xf0)};let _0x4ad0bd=[];if(helper[_0x55947a(0xa2)]()&&_0x333810['xfOan'](isTestObservabilitySession))_0x4ad0bd=helper[_0x55947a(0xa7)](_0x38670e)?constants[_0x55947a(0xc0)]:constants[_0x55947a(0xce)];else{if(_0x333810['xfOan'](isTestObservabilitySession))_0x4ad0bd=constants[_0x55947a(0x91)];else helper[_0x55947a(0xa2)]()&&(_0x4ad0bd=helper[_0x55947a(0xa7)](_0x38670e)?constants[_0x55947a(0x105)]:constants[_0x55947a(0xaa)]);}let _0x1200ed=_0x38670e[_0x55947a(0x9a)];if(_0x333810[_0x55947a(0x101)](_0x1200ed,null))_0x1200ed=_0x333810[_0x55947a(0x107)];else _0x333810['eSnwQ'](_0x1200ed,undefined)&&(_0x1200ed=_0x333810[_0x55947a(0xe7)]);unhandledErrors&&_0x333810[_0x55947a(0xcb)](unhandledErrors[_0x55947a(0x118)],0x0)&&(_0x671dd6['globalException']=unhandledErrors);global[_0x55947a(0xc2)]&&(_0x671dd6['sdkRunId']=global[_0x55947a(0xc2)]);try{if(_0x671dd6['error']){if(_0x333810[_0x55947a(0x10d)](_0x2d182e,_0x333810[_0x55947a(0xe2)])&&_0x333810[_0x55947a(0x9b)](_0x671dd6[_0x55947a(0x8f)][_0x55947a(0x118)],0x0)){const _0x38727a={};_0x38727a['os']='',_0x38727a[_0x55947a(0xba)]='',_0x38727a[_0x55947a(0x85)]='',_0x38727a[_0x55947a(0x8d)]='';const _0x143474=_0x38727a;let _0x25ce8f={};const _0x2848b1=_0x671dd6[_0x55947a(0x8f)];_0x25ce8f=_0x2848b1['reduce']((_0x4b7a8c,_0x292c4e)=>{for(const _0x37b647 in _0x292c4e){_0x4b7a8c[_0x37b647]=_0x292c4e[_0x37b647];}return _0x4b7a8c;},{});const _0x435203={};_0x435203[_0x55947a(0xd9)]=_0x25ce8f,_0x671dd6[_0x55947a(0x8f)]=[Object[_0x55947a(0xa5)]({},_0x143474,_0x435203)];}else{let _0x252b30=0x0;const _0x333328=_0x333810[_0x55947a(0xb8)](_0x2d182e,_0x333810[_0x55947a(0xfc)])?JSON['parse'](_0x671dd6['error']):_0x671dd6[_0x55947a(0x8f)],_0x14851b=Object['values'](_0x333328);_0x14851b[_0x55947a(0xda)](_0x2865dd=>{const _0x1a2c5f=_0x55947a;if(_0x333810[_0x1a2c5f(0x10d)](typeof _0x2865dd,_0x333810[_0x1a2c5f(0xfe)])){const _0x47990a=Object[_0x1a2c5f(0x11b)](_0x2865dd);!_0x47990a[_0x1a2c5f(0xd4)](_0x58c19e=>_0x58c19e===null||_0x58c19e===undefined||_0x58c19e==='')&&(_0x252b30+=0x1);}});if(_0x333810['MOXMA'](_0x252b30,0x0))delete _0x671dd6[_0x333810[_0x55947a(0xf6)]];else{const _0xf3fcae=[];Object[_0x55947a(0x9e)](_0x333328)[_0x55947a(0xda)](_0x36cbcb=>{const _0x29f00e=_0x55947a,[_0x8b59a2,_0x4aabca,_0x3df252,_0x273cac]=_0x36cbcb[_0x29f00e(0xe1)](',\x20');let _0x3cda99={};if(!_0x273cac){const _0x3fe7ae={};_0x3fe7ae[_0x29f00e(0xb5)]=_0x8b59a2,_0x3fe7ae['osVersion']=_0x4aabca,_0x3fe7ae['browser']=_0x3df252,_0x3cda99=_0x3fe7ae;}else{const _0x27ce0f={};_0x27ce0f['os']=_0x8b59a2,_0x27ce0f['osVersion']=_0x4aabca,_0x27ce0f[_0x29f00e(0x85)]=_0x3df252,_0x27ce0f[_0x29f00e(0x8d)]=_0x273cac,_0x3cda99=_0x27ce0f;}const _0x353d6f={},_0x5a59bb=_0x333328[_0x36cbcb];Object[_0x29f00e(0x9e)](_0x5a59bb)[_0x29f00e(0xda)](_0x56916d=>{const _0x39050f=_0x29f00e;_0x333810[_0x39050f(0x9b)](_0x5a59bb[_0x56916d]['length'],0x0)&&(_0x353d6f[_0x56916d]=_0x5a59bb[_0x56916d]);}),_0x333810[_0x29f00e(0x9b)](Object[_0x29f00e(0x9e)](_0x353d6f)['length'],0x0)&&(_0x3cda99[_0x333810[_0x29f00e(0xe8)]]=_0x353d6f,_0xf3fcae[_0x29f00e(0x89)](_0x3cda99));}),_0x333810[_0x55947a(0xc1)](_0xf3fcae[_0x55947a(0x118)],0x0)?_0x671dd6['error']=_0xf3fcae:delete _0x671dd6[_0x333810[_0x55947a(0xf6)]];}}}}catch(_0x54b3b0){delete _0x671dd6[_0x333810[_0x55947a(0xf6)]],logger[_0x55947a(0xcc)](_0x333810[_0x55947a(0xa0)](_0x333810[_0x55947a(0xdb)],_0x54b3b0));}const _0x456483=helper[_0x55947a(0x116)](_0x38670e,_0x38670e[_0x55947a(0xad)]),_0x592b58={'userName':helper[_0x55947a(0xcf)](_0x38670e),'accessKey':helper['getAccessKey'](_0x38670e),'event_type':_0x445cea,'detectedFramework':_0x2d182e,'buildHashedId':globals[_0x55947a(0xb7)](_0x333810['zEpBz']),'optimalHubUrl':helper[_0x55947a(0xab)](),'event_properties':{'testhub_uuid':process[_0x55947a(0x11a)][testHubConstants[_0x55947a(0xd6)][_0x55947a(0xe4)]]||'','sdkRunId':global[_0x55947a(0xc2)],'product_map':_0x333810[_0x55947a(0xd5)](getProductMap,_0x38670e),'productMap':_0x333810[_0x55947a(0xbc)](getProductMap,_0x38670e),'language_framework':_0x38670e[_0x55947a(0xc7)]||_0x333810[_0x55947a(0x96)],'referrer':helper[_0x55947a(0xae)](_0x2d182e),'framework':_0x38670e[_0x55947a(0xad)],'frameworkVersion':helper[_0x55947a(0xbe)](_0x2d182e),'automationFramework':_0x456483[_0x55947a(0x11c)],'automationFrameworkVersion':_0x456483['version'],'language':_0x333810[_0x55947a(0xfd)],'languageVersion':process[_0x55947a(0xb4)],'product':_0x4ad0bd,'buildName':_0x38670e[_0x55947a(0xd8)]||_0x333810['QOvft'],'buildIdentifier':_0x1200ed,'os':os['type']()||_0x333810[_0x55947a(0x96)],'hostname':os['hostname']()||_0x333810[_0x55947a(0x96)],..._0x671dd6,'isCLIEnabled':_0x271014}};try{_0x333810[_0x55947a(0x10d)](_0x445cea,_0x333810[_0x55947a(0xef)])&&(_0x592b58[_0x55947a(0x86)][_0x55947a(0xed)]=helper[_0x55947a(0xbb)](_0x38670e)),_0x333810[_0x55947a(0x8e)](_0x2d182e,_0x333810[_0x55947a(0xfc)])?_0x592b58[_0x55947a(0x86)][_0x55947a(0x8b)]=helper[_0x55947a(0xc3)]['apply'](null,_0x333810[_0x55947a(0x103)](getTransformPath),!![]):_0x592b58['event_properties'][_0x55947a(0xdf)]=helper[_0x55947a(0x94)](_0x333810[_0x55947a(0xa4)]);}catch(_0x25f260){logger['debug'](_0x55947a(0xc6)+_0x25f260);}const _0x5e2f4b={};_0x5e2f4b[_0x55947a(0x109)]=_0x333810[_0x55947a(0xf1)];const _0x3723e2={'headers':_0x5e2f4b,'body':_0x592b58,'auth':{'user':helper[_0x55947a(0xcf)](_0x38670e),'pass':helper[_0x55947a(0x90)](_0x38670e)},'json':!![]};logger[_0x55947a(0xcc)](_0x55947a(0x10b)+JSON[_0x55947a(0x83)](_0x3723e2[_0x55947a(0xc8)])[_0x55947a(0x10e)](new RegExp(helper['getUserName'](_0x38670e),'g'),_0x333810[_0x55947a(0xf3)])[_0x55947a(0x10e)](new RegExp(helper['getAccessKey'](_0x38670e),'g'),_0x333810['lfxxq']));try{const _0x88c32e=await helper[_0x55947a(0x9c)](_0x333810[_0x55947a(0xf5)],FUNNEL_INSTRUMENTATION_API_URL,_0x3723e2,_0x38670e);logger[_0x55947a(0xcc)](_0x55947a(0x88)+_0x445cea+_0x55947a(0xeb)+util[_0x55947a(0xf7)]('%j',_0x88c32e));}catch(_0x5cd1c3){logger['debug'](_0x55947a(0xcd)+FUNNEL_INSTRUMENTATION_API_URL+_0x55947a(0x115)+util[_0x55947a(0xf7)](_0x5cd1c3));}},exports[a172_0x1a2199(0xbf)]=async(_0x142473,_0x5534f6=![])=>{const _0x52bb70=a172_0x1a2199,_0x5a130c={'rLCYG':function(_0x3246de){return _0x3246de();},'LsaFV':'_hubAllocationData','Nyfzz':_0x52bb70(0xe9),'NTVDo':_0x52bb70(0x102),'yhHhs':_0x52bb70(0xf8),'txTgo':function(_0x519f55,_0x142851,_0x49136c){return _0x519f55(_0x142851,_0x49136c);},'LUHrq':function(_0x59a90f,_0x47f905){return _0x59a90f+_0x47f905;},'lOJkL':_0x52bb70(0x122)};if(_0x142473[_0x52bb70(0x100)])return;_0x142473[_0x52bb70(0x100)]=!![];try{await _0x142473[_0x52bb70(0x98)](),_0x5a130c[_0x52bb70(0x120)](printNudgeLocalNotSetError);const _0x5c1fd5={};_0x5c1fd5['error']=_0x142473['errorMessage']?_0x142473[_0x52bb70(0x87)]:'{}';const _0x373ea0=_0x5c1fd5,_0x114d8c=Object[_0x52bb70(0xa5)]({},_0x373ea0),_0xbc43e=globals[_0x52bb70(0xb7)](_0x5a130c[_0x52bb70(0x106)]);_0xbc43e&&(_0x114d8c[_0x52bb70(0xb2)]=_0xbc43e);!!_0x142473[_0x52bb70(0xd2)]&&(_0x114d8c[_0x5a130c[_0x52bb70(0x114)]]={'reason':_0x5a130c[_0x52bb70(0x121)],'signal':_0x142473[_0x52bb70(0xd2)]});unhandledErrors=_0x142473[_0x52bb70(0xf4)]['join']('\x0a');let _0x302e24,_0x11d069,_0x7132b7;helper[_0x52bb70(0xc5)](_0x142473[_0x52bb70(0x10f)])?([_0x302e24,_0x11d069]=await helper[_0x52bb70(0xf9)](_0x142473[_0x52bb70(0x10f)]),[_0x7132b7]=await Promise['all']([helper[_0x52bb70(0xd7)](_0x302e24,_0x142473[_0x52bb70(0x10f)]),exports[_0x52bb70(0x111)](_0x5a130c[_0x52bb70(0xc4)],_0x114d8c,_0x142473[_0x52bb70(0x10f)],_0x142473[_0x52bb70(0xad)],_0x5534f6)])):([_0x302e24,_0x11d069]=await helper[_0x52bb70(0xb9)](_0x142473[_0x52bb70(0x10f)]),[_0x7132b7]=await Promise[_0x52bb70(0xee)]([helper[_0x52bb70(0xaf)](_0x302e24,_0x142473[_0x52bb70(0x10f)]),exports[_0x52bb70(0x111)](_0x5a130c['yhHhs'],_0x114d8c,_0x142473[_0x52bb70(0x10f)],_0x142473[_0x52bb70(0xad)],_0x5534f6)])),_0x7132b7&&await _0x5a130c[_0x52bb70(0xb3)](generateCIArtifacts,_0x7132b7,_0x11d069),logger[_0x52bb70(0xd3)](_0x52bb70(0xd0)+_0x142473[_0x52bb70(0xc2)]+',\x20testhub\x20id:\x20'+process[_0x52bb70(0x11a)][_0x52bb70(0xe4)]),await helper['sendLogs'](_0x142473['config']);}catch(_0x39b9a3){logger[_0x52bb70(0xcc)](_0x5a130c[_0x52bb70(0xec)](_0x5a130c[_0x52bb70(0x110)],_0x39b9a3));}helper[_0x52bb70(0xd1)]();},exports[a172_0x1a2199(0x10a)]=_0x4db9f6=>{const _0x22a4d9=a172_0x1a2199,_0x5d93c2={'SUZIX':function(_0x5553f1,_0x574397){return _0x5553f1 instanceof _0x574397;},'Pdijo':function(_0x21416e,_0x5c8dd4){return _0x21416e(_0x5c8dd4);}};try{if(_0x5d93c2[_0x22a4d9(0x9f)](_0x4db9f6,Error))return _0x4db9f6[_0x22a4d9(0xfa)]||_0x4db9f6[_0x22a4d9(0xdd)]();return _0x5d93c2['Pdijo'](String,_0x4db9f6);}catch(_0x419c95){return _0x4db9f6?_0x4db9f6[_0x22a4d9(0xdd)]():'';}},exports[a172_0x1a2199(0x123)]=_0x41d2cd=>{const _0x1759e0=a172_0x1a2199,_0x5bea39={};_0x5bea39[_0x1759e0(0x112)]=function(_0x4fece8,_0xb05477){return _0x4fece8===_0xb05477;};const _0xcaae30=_0x5bea39;return!_0x41d2cd||_0xcaae30[_0x1759e0(0x112)](_0x41d2cd[_0x1759e0(0xb6)](),'');},exports[a172_0x1a2199(0x99)]=_0x28ad7d=>{const _0xe3de8b=a172_0x1a2199,_0x58761a={};_0x58761a[_0xe3de8b(0x92)]=function(_0x47aa7e,_0x214a61){return _0x47aa7e|_0x214a61;};const _0x58550f=_0x58761a;try{return fs[_0xe3de8b(0xea)](_0x28ad7d,_0x58550f['eEjWB'](fs[_0xe3de8b(0xe6)][_0xe3de8b(0x10c)],fs[_0xe3de8b(0xe6)][_0xe3de8b(0x11d)])),!![];}catch(_0x4ccef0){return![];}},exports[a172_0x1a2199(0x97)]=_0x1b259d=>{const _0x41a73f=a172_0x1a2199;try{fs[_0x41a73f(0x11e)](_0x1b259d,0x1ff),logger[_0x41a73f(0xcc)]('Directory\x20'+_0x1b259d+_0x41a73f(0x95));}catch(_0x31b094){logger['error'](_0x41a73f(0xb1)+exports[_0x41a73f(0x10a)](_0x31b094));}};
|
|
1
|
+
function a172_0x49e7(_0x29ed9e,_0x5d9f44){const _0x4cf50b=a172_0x4cf5();return a172_0x49e7=function(_0x49e73b,_0x1503b5){_0x49e73b=_0x49e73b-0x1bd;let _0x26252b=_0x4cf50b[_0x49e73b];return _0x26252b;},a172_0x49e7(_0x29ed9e,_0x5d9f44);}const a172_0x3ff077=a172_0x49e7;(function(_0x4b0167,_0x422290){const _0xd08850=a172_0x49e7,_0x4450fd=_0x4b0167();while(!![]){try{const _0x4ace31=parseInt(_0xd08850(0x206))/0x1+parseInt(_0xd08850(0x1f1))/0x2*(-parseInt(_0xd08850(0x1e7))/0x3)+parseInt(_0xd08850(0x20e))/0x4*(-parseInt(_0xd08850(0x1d7))/0x5)+-parseInt(_0xd08850(0x1d2))/0x6+parseInt(_0xd08850(0x1e5))/0x7+parseInt(_0xd08850(0x240))/0x8+-parseInt(_0xd08850(0x23a))/0x9;if(_0x4ace31===_0x422290)break;else _0x4450fd['push'](_0x4450fd['shift']());}catch(_0x526a5c){_0x4450fd['push'](_0x4450fd['shift']());}}}(a172_0x4cf5,0xaec06));const os=require('os'),util=require(a172_0x3ff077(0x246)),fs=require('fs'),{getProductMap}=require('./testhub/utils'),logger=require(a172_0x3ff077(0x1c1))[a172_0x3ff077(0x1c2)],constants=require(a172_0x3ff077(0x21d)),testHubConstants=require(a172_0x3ff077(0x221)),{getTransformPath}=require(a172_0x3ff077(0x21b)),{FUNNEL_INSTRUMENTATION_API_URL}=require(a172_0x3ff077(0x21d)),{generateCIArtifacts,printNudgeLocalNotSetError}=require(a172_0x3ff077(0x1e9)),PerformanceTester=require(a172_0x3ff077(0x1dc)),globals=require(a172_0x3ff077(0x1dd)),helper=require('./helper'),{isTestObservabilitySession}=require(a172_0x3ff077(0x23c));let unhandledErrors='';exports[a172_0x3ff077(0x24d)]=async(_0x51191e,_0x2c3804={},_0x34e5a7,_0x4d82e2,_0x45ca25=![])=>{const _0x13d17e=a172_0x3ff077,_0xcef691={'sBqPd':function(_0x3baa46,_0x19d4c7){return _0x3baa46===_0x19d4c7;},'KoyMi':_0x13d17e(0x234),'kprzz':function(_0x27dc7f,_0x3e0528){return _0x27dc7f>_0x3e0528;},'JQURr':function(_0x5d3bd5,_0x505cda){return _0x5d3bd5>_0x505cda;},'ZMUdO':_0x13d17e(0x1de),'JmmfR':function(_0x1590f4){return _0x1590f4();},'QjaBk':function(_0x503a27,_0xc717db){return _0x503a27==_0xc717db;},'naSzt':_0x13d17e(0x242),'zMfHe':function(_0x445a90,_0x2b4908){return _0x445a90===_0x2b4908;},'ZLibX':'undefined','DwOcL':function(_0x42f483,_0xe891ad){return _0x42f483>_0xe891ad;},'Icnnl':'codeceptjs','AIMTV':function(_0x3f0f1e,_0x51032c){return _0x3f0f1e!==_0x51032c;},'Hirlo':'Playwright','FIwXF':'error','aTRbY':function(_0x38eb9e,_0x1abbee){return _0x38eb9e+_0x1abbee;},'uAtTl':_0x13d17e(0x1f2),'OKutg':_0x13d17e(0x202),'JkSCb':function(_0x76324e,_0xac76eb){return _0x76324e(_0xac76eb);},'rgaZW':function(_0x2ed879,_0x33f7dd){return _0x2ed879(_0x33f7dd);},'CYQBT':_0x13d17e(0x1f8),'yBcpx':'nodejs','ruvgK':function(_0x5e0746,_0x47e954){return _0x5e0746===_0x47e954;},'sYrng':_0x13d17e(0x1fb),'ExZdC':function(_0x4ab8c4){return _0x4ab8c4();},'jYnLh':'selenium-webdriver','OnlQz':_0x13d17e(0x228),'SMnca':_0x13d17e(0x243),'NIidD':_0x13d17e(0x1cc)};let _0x565159=[];if(helper[_0x13d17e(0x1fd)]()&&_0xcef691[_0x13d17e(0x1e8)](isTestObservabilitySession))_0x565159=helper['isAppAutomateSession'](_0x34e5a7)?constants[_0x13d17e(0x233)]:constants[_0x13d17e(0x22a)];else{if(_0xcef691[_0x13d17e(0x1e8)](isTestObservabilitySession))_0x565159=constants[_0x13d17e(0x215)];else helper[_0x13d17e(0x1fd)]()&&(_0x565159=helper[_0x13d17e(0x22f)](_0x34e5a7)?constants[_0x13d17e(0x20f)]:constants[_0x13d17e(0x203)]);}let _0x3566fe=_0x34e5a7['buildIdentifier'];if(_0xcef691[_0x13d17e(0x205)](_0x3566fe,null))_0x3566fe=_0xcef691[_0x13d17e(0x1c9)];else _0xcef691[_0x13d17e(0x224)](_0x3566fe,undefined)&&(_0x3566fe=_0xcef691['ZLibX']);unhandledErrors&&_0xcef691[_0x13d17e(0x1f7)](unhandledErrors[_0x13d17e(0x232)],0x0)&&(_0x2c3804[_0x13d17e(0x20a)]=unhandledErrors);global[_0x13d17e(0x1f0)]&&(_0x2c3804[_0x13d17e(0x1f0)]=global[_0x13d17e(0x1f0)]);try{if(_0x2c3804[_0x13d17e(0x211)]){if(_0xcef691[_0x13d17e(0x1e6)](_0x4d82e2,_0xcef691[_0x13d17e(0x1d3)])&&_0xcef691[_0x13d17e(0x21c)](_0x2c3804[_0x13d17e(0x211)]['length'],0x0)){const _0x1ac802={};_0x1ac802['os']='',_0x1ac802[_0x13d17e(0x1f6)]='',_0x1ac802[_0x13d17e(0x200)]='',_0x1ac802[_0x13d17e(0x1e3)]='';const _0x3c44a1=_0x1ac802;let _0x31e666={};const _0x30fc0e=_0x2c3804['error'];_0x31e666=_0x30fc0e[_0x13d17e(0x1c3)]((_0x13915c,_0x2ebe98)=>{for(const _0x226b54 in _0x2ebe98){_0x13915c[_0x226b54]=_0x2ebe98[_0x226b54];}return _0x13915c;},{});const _0x340aa9={};_0x340aa9[_0x13d17e(0x1de)]=_0x31e666,_0x2c3804['error']=[Object[_0x13d17e(0x218)]({},_0x3c44a1,_0x340aa9)];}else{let _0x3f3d2e=0x0;const _0x5a86f6=_0xcef691[_0x13d17e(0x1e2)](_0x4d82e2,_0xcef691[_0x13d17e(0x1f3)])?JSON['parse'](_0x2c3804[_0x13d17e(0x211)]):_0x2c3804[_0x13d17e(0x211)],_0x15a871=Object[_0x13d17e(0x1e1)](_0x5a86f6);_0x15a871[_0x13d17e(0x235)](_0x37b3d6=>{const _0x1c25bc=_0x13d17e;if(_0xcef691[_0x1c25bc(0x1e6)](typeof _0x37b3d6,_0xcef691['KoyMi'])){const _0x416ebb=Object[_0x1c25bc(0x1e1)](_0x37b3d6);!_0x416ebb[_0x1c25bc(0x1cb)](_0x37ba09=>_0x37ba09===null||_0x37ba09===undefined||_0x37ba09==='')&&(_0x3f3d2e+=0x1);}});if(_0xcef691[_0x13d17e(0x1e6)](_0x3f3d2e,0x0))delete _0x2c3804[_0xcef691[_0x13d17e(0x1e0)]];else{const _0x386daa=[];Object[_0x13d17e(0x24a)](_0x5a86f6)[_0x13d17e(0x235)](_0x5c410a=>{const _0xfb72af=_0x13d17e,_0x39b632={'DUNeH':function(_0x2fc0de,_0x55033a){return _0xcef691['kprzz'](_0x2fc0de,_0x55033a);}},[_0xf42146,_0x437724,_0x51d415,_0x5bd629]=_0x5c410a[_0xfb72af(0x230)](',\x20');let _0x582ace={};if(!_0x5bd629){const _0x2a04f6={};_0x2a04f6[_0xfb72af(0x1ec)]=_0xf42146,_0x2a04f6[_0xfb72af(0x1f6)]=_0x437724,_0x2a04f6[_0xfb72af(0x200)]=_0x51d415,_0x582ace=_0x2a04f6;}else{const _0x1b927b={};_0x1b927b['os']=_0xf42146,_0x1b927b[_0xfb72af(0x1f6)]=_0x437724,_0x1b927b[_0xfb72af(0x200)]=_0x51d415,_0x1b927b[_0xfb72af(0x1e3)]=_0x5bd629,_0x582ace=_0x1b927b;}const _0x15635e={},_0x50568d=_0x5a86f6[_0x5c410a];Object[_0xfb72af(0x24a)](_0x50568d)[_0xfb72af(0x235)](_0x1aef90=>{const _0x4f5381=_0xfb72af;_0x39b632['DUNeH'](_0x50568d[_0x1aef90][_0x4f5381(0x232)],0x0)&&(_0x15635e[_0x1aef90]=_0x50568d[_0x1aef90]);}),_0xcef691[_0xfb72af(0x21c)](Object[_0xfb72af(0x24a)](_0x15635e)['length'],0x0)&&(_0x582ace[_0xcef691['ZMUdO']]=_0x15635e,_0x386daa[_0xfb72af(0x1bf)](_0x582ace));}),_0xcef691[_0x13d17e(0x21c)](_0x386daa[_0x13d17e(0x232)],0x0)?_0x2c3804[_0x13d17e(0x211)]=_0x386daa:delete _0x2c3804[_0xcef691[_0x13d17e(0x1e0)]];}}}}catch(_0x161107){delete _0x2c3804[_0xcef691[_0x13d17e(0x1e0)]],logger[_0x13d17e(0x1c6)](_0xcef691[_0x13d17e(0x1c8)](_0xcef691['uAtTl'],_0x161107));}const _0x3f1157=helper[_0x13d17e(0x214)](_0x34e5a7,_0x34e5a7[_0x13d17e(0x217)]),_0x108268={'userName':helper[_0x13d17e(0x249)](_0x34e5a7),'accessKey':helper[_0x13d17e(0x1d6)](_0x34e5a7),'event_type':_0x51191e,'detectedFramework':_0x4d82e2,'buildHashedId':globals['getGlobal'](_0xcef691[_0x13d17e(0x219)]),'optimalHubUrl':helper[_0x13d17e(0x207)](),'event_properties':{'testhub_uuid':process['env'][testHubConstants[_0x13d17e(0x1bd)][_0x13d17e(0x1fc)]]||'','sdkRunId':global[_0x13d17e(0x1f0)],'product_map':_0xcef691[_0x13d17e(0x22e)](getProductMap,_0x34e5a7),'productMap':_0xcef691['rgaZW'](getProductMap,_0x34e5a7),'language_framework':_0x34e5a7[_0x13d17e(0x244)]||_0xcef691[_0x13d17e(0x1c4)],'referrer':helper[_0x13d17e(0x216)](_0x4d82e2),'framework':_0x34e5a7['framework'],'frameworkVersion':helper['getFrameworkVersion'](_0x4d82e2),'automationFramework':_0x3f1157[_0x13d17e(0x226)],'automationFrameworkVersion':_0x3f1157[_0x13d17e(0x223)],'language':_0xcef691[_0x13d17e(0x22b)],'languageVersion':process[_0x13d17e(0x223)],'product':_0x565159,'buildName':_0x34e5a7[_0x13d17e(0x247)]||_0xcef691[_0x13d17e(0x225)],'buildIdentifier':_0x3566fe,'os':os[_0x13d17e(0x1ce)]()||_0xcef691['CYQBT'],'hostname':os['hostname']()||_0xcef691[_0x13d17e(0x1c4)],..._0x2c3804,'isCLIEnabled':_0x45ca25}};try{_0xcef691[_0x13d17e(0x212)](_0x51191e,_0xcef691['sYrng'])&&(_0x108268['event_properties'][_0x13d17e(0x22c)]=helper[_0x13d17e(0x1fa)](_0x34e5a7)),_0xcef691[_0x13d17e(0x212)](_0x4d82e2,_0xcef691[_0x13d17e(0x1f3)])?_0x108268[_0x13d17e(0x238)][_0x13d17e(0x213)]=helper[_0x13d17e(0x231)]['apply'](null,_0xcef691['ExZdC'](getTransformPath),!![]):_0x108268[_0x13d17e(0x238)]['seleniumVersion']=helper[_0x13d17e(0x1ea)](_0xcef691[_0x13d17e(0x23b)]);}catch(_0x2468e7){logger[_0x13d17e(0x1c6)](_0x13d17e(0x1cd)+_0x2468e7);}const _0x2a35f1={};_0x2a35f1[_0x13d17e(0x210)]=_0xcef691['OnlQz'];const _0x3ca67d={'headers':_0x2a35f1,'body':_0x108268,'auth':{'user':helper[_0x13d17e(0x249)](_0x34e5a7),'pass':helper[_0x13d17e(0x1d6)](_0x34e5a7)},'json':!![]};logger['debug'](_0x13d17e(0x20c)+JSON['stringify'](_0x3ca67d[_0x13d17e(0x245)])[_0x13d17e(0x220)](new RegExp(helper[_0x13d17e(0x249)](_0x34e5a7),'g'),_0xcef691[_0x13d17e(0x24b)])[_0x13d17e(0x220)](new RegExp(helper[_0x13d17e(0x1d6)](_0x34e5a7),'g'),_0xcef691[_0x13d17e(0x24b)]));try{const _0x2d3c5a=await helper[_0x13d17e(0x1f4)](_0xcef691[_0x13d17e(0x1eb)],FUNNEL_INSTRUMENTATION_API_URL,_0x3ca67d,_0x34e5a7);logger[_0x13d17e(0x1c6)]('API\x20Event\x20'+_0x51191e+_0x13d17e(0x209)+util[_0x13d17e(0x201)]('%j',_0x2d3c5a));}catch(_0x219f54){logger[_0x13d17e(0x1c6)](_0x13d17e(0x229)+FUNNEL_INSTRUMENTATION_API_URL+_0x13d17e(0x23d)+util[_0x13d17e(0x201)](_0x219f54));}},exports[a172_0x3ff077(0x237)]=async(_0x8cbecb,_0x3d1b76=![])=>{const _0x12132f=a172_0x3ff077,_0x13b0f6={'lTIty':function(_0x7d882e){return _0x7d882e();},'cIIec':_0x12132f(0x236),'JTMJi':_0x12132f(0x1d4),'TGlkU':_0x12132f(0x1fe),'NSlVM':_0x12132f(0x1fb),'OnKqe':function(_0x1c3202,_0x54ef34,_0x1a5ac7){return _0x1c3202(_0x54ef34,_0x1a5ac7);},'zZQKE':function(_0x3512b3,_0x3cca35){return _0x3512b3+_0x3cca35;},'RrEFn':'Something\x20went\x20wrong\x20in\x20Final\x20Execution\x20step\x20:\x20'};if(_0x8cbecb['finalExecutionRan'])return;_0x8cbecb[_0x12132f(0x1c0)]=!![];try{await _0x8cbecb['stopPercy'](),_0x13b0f6[_0x12132f(0x23e)](printNudgeLocalNotSetError);const _0x198c2e={};_0x198c2e['error']=_0x8cbecb[_0x12132f(0x1c7)]?_0x8cbecb[_0x12132f(0x1c7)]:'{}';const _0x1f95b0=_0x198c2e,_0x168809=Object[_0x12132f(0x218)]({},_0x1f95b0),_0x295ede=globals[_0x12132f(0x1ef)](_0x13b0f6[_0x12132f(0x1ed)]);_0x295ede&&(_0x168809[_0x12132f(0x208)]=_0x295ede);!!_0x8cbecb[_0x12132f(0x1ca)]&&(_0x168809[_0x13b0f6[_0x12132f(0x21e)]]={'reason':_0x13b0f6['TGlkU'],'signal':_0x8cbecb['killSignal']});unhandledErrors=_0x8cbecb[_0x12132f(0x20d)][_0x12132f(0x21f)]('\x0a');let _0x4bfd50,_0x376572,_0x494221;helper['isTurboScaleSession'](_0x8cbecb[_0x12132f(0x1db)])?([_0x4bfd50,_0x376572]=await helper['getTurboScaleBuildLink'](_0x8cbecb[_0x12132f(0x1db)]),[_0x494221]=await Promise['all']([helper[_0x12132f(0x20b)](_0x4bfd50,_0x8cbecb[_0x12132f(0x1db)]),exports[_0x12132f(0x24d)](_0x13b0f6['NSlVM'],_0x168809,_0x8cbecb[_0x12132f(0x1db)],_0x8cbecb[_0x12132f(0x217)],_0x3d1b76)])):([_0x4bfd50,_0x376572]=await helper[_0x12132f(0x1d1)](_0x8cbecb[_0x12132f(0x1db)]),[_0x494221]=await Promise[_0x12132f(0x1ff)]([helper[_0x12132f(0x1be)](_0x4bfd50,_0x8cbecb[_0x12132f(0x1db)]),exports[_0x12132f(0x24d)](_0x13b0f6[_0x12132f(0x1d9)],_0x168809,_0x8cbecb[_0x12132f(0x1db)],_0x8cbecb['framework'],_0x3d1b76)])),_0x494221&&await _0x13b0f6[_0x12132f(0x1cf)](generateCIArtifacts,_0x494221,_0x376572),logger[_0x12132f(0x204)](_0x12132f(0x24c)+_0x8cbecb[_0x12132f(0x1f0)]+',\x20testhub\x20id:\x20'+process[_0x12132f(0x239)][_0x12132f(0x1fc)]),await helper['sendLogs'](_0x8cbecb['config']);}catch(_0x40192e){logger[_0x12132f(0x1c6)](_0x13b0f6[_0x12132f(0x1df)](_0x13b0f6[_0x12132f(0x241)],_0x40192e));}helper['notifyUpdate']();},exports[a172_0x3ff077(0x23f)]=_0x322417=>{const _0x51752c=a172_0x3ff077,_0x8d6226={'aJnsT':function(_0x93ace9,_0xfa5361){return _0x93ace9 instanceof _0xfa5361;},'dUXxL':function(_0x2dc08e,_0x384a53){return _0x2dc08e(_0x384a53);}};try{if(_0x8d6226['aJnsT'](_0x322417,Error))return _0x322417[_0x51752c(0x1ee)]||_0x322417[_0x51752c(0x21a)]();return _0x8d6226[_0x51752c(0x1f5)](String,_0x322417);}catch(_0x443069){return _0x322417?_0x322417[_0x51752c(0x21a)]():'';}},exports['isNullOrEmpty']=_0x545a56=>{const _0x381cfe=a172_0x3ff077,_0x2a6283={};_0x2a6283[_0x381cfe(0x1e4)]=function(_0x41792b,_0x3aac9e){return _0x41792b===_0x3aac9e;};const _0x322790=_0x2a6283;return!_0x545a56||_0x322790['JMqyI'](_0x545a56[_0x381cfe(0x1d5)](),'');},exports[a172_0x3ff077(0x22d)]=_0x3a153d=>{const _0x41e872=a172_0x3ff077,_0x10edd9={};_0x10edd9[_0x41e872(0x1d8)]=function(_0x9e9d09,_0x43e1ac){return _0x9e9d09|_0x43e1ac;};const _0x34ba42=_0x10edd9;try{return fs[_0x41e872(0x1da)](_0x3a153d,_0x34ba42['EqxYD'](fs['constants'][_0x41e872(0x1f9)],fs[_0x41e872(0x227)]['X_OK'])),!![];}catch(_0x5f1e50){return![];}},exports[a172_0x3ff077(0x1c5)]=_0x132eee=>{const _0x21f03a=a172_0x3ff077;try{fs[_0x21f03a(0x1d0)](_0x132eee,0x1ff),logger['debug']('Directory\x20'+_0x132eee+_0x21f03a(0x248));}catch(_0x2f4782){logger['error'](_0x21f03a(0x222)+exports[_0x21f03a(0x23f)](_0x2f4782));}};function a172_0x4cf5(){const _0x9efbfd=['EqxYD','NSlVM','accessSync','config','./performance/performance-tester','./globals','tests','zZQKE','FIwXF','values','AIMTV','browserVersion','JMqyI','3485020YvBKsB','sBqPd','19401qIBjVC','JmmfR','./helper','getPackageVersion','NIidD','deviceName','cIIec','stack','getGlobal','sdkRunId','394CNgNsI','Error\x20while\x20parsing\x20tests\x20errors,\x20Exception:\x20','Hirlo','nodeRequest','dUXxL','osVersion','DwOcL','unknown','W_OK','sanitizeBrowserStackConfig','SDKTestSuccessful','BROWSERSTACK_TESTHUB_UUID','isBrowserstackInfra','user_killed','all','browser','format','_buildHashedId','AUTOMATE','info','QjaBk','1104359QszhRl','getOptimalHubUrl','hubAllocation','\x20response\x20-\x20','globalException','getTurboScaleSessionsList','Firing\x20SDK\x20event\x20for\x20funnel\x20data:\x20','unhandledErrors','21260mrabsO','APP_AUTOMATE','content-type','error','ruvgK','playwrightVersion','getTestFrameworkDetails','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','getNodeAgent','framework','assign','OKutg','toString','../bin/playwright/reporter/pwUtils','JQURr','../bin/utils/constants','JTMJi','join','replace','../helpers/testhub/constants','Failed\x20to\x20set\x20directory\x20access:\x20','version','zMfHe','ZLibX','name','constants','application/json','Error\x20in\x20firing\x20request\x20to\x20','AUTOMATE_PRODUCTS','yBcpx','browserStackConfig','isModifiable','JkSCb','isAppAutomateSession','split','requirePWModule','length','APP_AUTOMATE_PRODUCTS','object','forEach','_hubAllocationData','finalExecution','event_properties','env','2554200WmVTUK','jYnLh','./test-observability/utils','\x20:\x20','lTIty','getStackTraceAsString','9093072NNHOIu','RrEFn','null','[REDACTED]','source','body','util','buildName','\x20has\x20now\x20read/write/execute\x20permissions.','getUserName','keys','SMnca','SDK\x20run\x20ended\x20for\x20id:\x20','fireFunnelTestEvent','ENV_VAR','getSessionsList','push','finalExecutionRan','./logger','winstonLogger','reduce','CYQBT','setReadWriteExecuteAccess','debug','errorMessage','aTRbY','naSzt','killSignal','every','POST','Error\x20in\x20getting\x20framework\x20version\x20to\x20:\x20','type','OnKqe','chmodSync','getBuildLink','1675482tUwxam','Icnnl','finishedMetadata','trim','getAccessKey','175GzLvVc'];a172_0x4cf5=function(){return _0x9efbfd;};return a172_0x4cf5();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
function a173_0x49e1(_0x27208b,_0x5f1a53){var _0xca9a92=a173_0xca9a();return a173_0x49e1=function(_0x49e110,_0x4ff00f){_0x49e110=_0x49e110-0x151;var _0x4256b4=_0xca9a92[_0x49e110];return _0x4256b4;},a173_0x49e1(_0x27208b,_0x5f1a53);}var a173_0x56adb2=a173_0x49e1;function a173_0xca9a(){var _0x49f138=['browserVersion','browserstack.local','accessibilityOptions.includeIssueType.bestPractice','enableSim','networkProfile','pkGMN','userName','Tlzvq','consoleLogs','xDdPP','geoLocation','maskBasicAuth','lOOtg','accessibilityOptions.scannerProcessingTimeout','iXQSD','accessibilityOptions.includeIssueType.needsReview','name','local','timezone','browserstack.buildProductMap','tAQIf','browserstack.debug','1753767oOuIIB','YUtXF','simOptions','projectName','deviceName','browserstack.networkProfile','20RlbMEH','debug','REgIS','YEHdH','veTRs','516685GGBZgz','browser','maskCommands','browserstack.headerParams','sCWpU','JRXKm','networkLogs','WaczG','fOQEs','localIdentifier','disableCorsRestrictions','ARrJC','10090040HsBETm','browserstack.networkLogs','Doztt','browserstack.overridelocalInfo.userAuthToken','overridelocalInfo.userAuthToken','iBARw','browserstack.hosts','browserstack.accessibilityOptions.includeIssueType.bestPractice','ZVKJa','wsLocalSupport','ZLBvA','W3CMapping','telemetryLogs','device','os_version','buildName','seleniumVersion','browserstack.disableCorsRestrictions','CSnhq','QtjaB','uxBAj','etyko','buildProductMap','bfcache','sessionName','accessKey','WCJbX','headerParams','browserstackSDK','performance','browserstack.accessibilityOptions.scannerProcessingTimeout','browserstack.performance','browserstack.telemetryLogs','BNYHe','VbAfU','AZGeg','browserstack.localIdentifier','browserstack.console','browserstack.selenium_version','HsAjU','hosts','browserstack.testhubBuildUuid','tCnDk','enXqR','LjSyF','video','browserstack.accessibilityOptions.wcagVersion','overridelocalInfo.localIdentifier','CDwDi','browserstack.accessibilityOptions.includeIssueType.needsReview','2862464gXdDMv','gTbuW','browserstack.use_w3c','5825622lvqLeJ','72NNfLzf','buildIdentifier','accessibilityOptions.authToken','539226ElkWUs','useW3c','PFSpt','browserstack.accessibility','oGhUO','idleTimeout','browserstack.seleniumLogs','hioiy','BKzGg','browserstack.user','rVpyL','ugEBS','OZeCn','autoWait','realMobile','2471974CLVtfL','accessibilityOptions.wcagVersion','pYKql','1KhBWTE','deviceOrientation','khvqX','appiumVersion','MOppv','browserstack.customNetwork','ENKJK','pufcp','testhubBuildUuid','7PUViQe','browserstack.browserstackSDK','OalDF','qkDxY','ApRrU','CxSlu','browserstack.playwrightVersion','resolution','voGot','browserstack.maskCommands','browserstack.wsLocalSupport','playwrightVersion','networkLogsOptions','EkIjL','browserstack.bfcache','browserstack.appiumLogs','EuxTe','browser_version','customNetwork'];a173_0xca9a=function(){return _0x49f138;};return a173_0xca9a();}(function(_0x4f98de,_0x11f294){var _0x2e0677=a173_0x49e1,_0x3a600f=_0x4f98de();while(!![]){try{var _0x21f3b0=parseInt(_0x2e0677(0x193))/0x1*(parseInt(_0x2e0677(0x190))/0x2)+-parseInt(_0x2e0677(0x181))/0x3*(parseInt(_0x2e0677(0x1cb))/0x4)+parseInt(_0x2e0677(0x1d0))/0x5+parseInt(_0x2e0677(0x17d))/0x6*(parseInt(_0x2e0677(0x19c))/0x7)+-parseInt(_0x2e0677(0x17e))/0x8*(parseInt(_0x2e0677(0x1c5))/0x9)+parseInt(_0x2e0677(0x1dc))/0xa+parseInt(_0x2e0677(0x17a))/0xb;if(_0x21f3b0===_0x11f294)break;else _0x3a600f['push'](_0x3a600f['shift']());}catch(_0x4e95ef){_0x3a600f['push'](_0x3a600f['shift']());}}}(a173_0xca9a,0xe2524),exports[a173_0x56adb2(0x153)]=()=>{var _0x3c00cf=a173_0x56adb2,_0x541f1b={};_0x541f1b[_0x3c00cf(0x1e1)]=_0x3c00cf(0x1b5),_0x541f1b['OalDF']=_0x3c00cf(0x161),_0x541f1b[_0x3c00cf(0x1a9)]='osVersion',_0x541f1b[_0x3c00cf(0x15a)]='browser',_0x541f1b[_0x3c00cf(0x185)]=_0x3c00cf(0x1af),_0x541f1b[_0x3c00cf(0x172)]=_0x3c00cf(0x182),_0x541f1b['veTRs']=_0x3c00cf(0x1c8),_0x541f1b[_0x3c00cf(0x1db)]=_0x3c00cf(0x157),_0x541f1b[_0x3c00cf(0x1ac)]=_0x3c00cf(0x160),_0x541f1b[_0x3c00cf(0x1b6)]=_0x3c00cf(0x1c0),_0x541f1b[_0x3c00cf(0x183)]=_0x3c00cf(0x1d9),_0x541f1b[_0x3c00cf(0x1c6)]=_0x3c00cf(0x1cc),_0x541f1b['riGbK']=_0x3c00cf(0x1b7),_0x541f1b[_0x3c00cf(0x16a)]=_0x3c00cf(0x1d6),_0x541f1b[_0x3c00cf(0x1e4)]=_0x3c00cf(0x1a8),_0x541f1b[_0x3c00cf(0x15c)]='appiumLogs',_0x541f1b[_0x3c00cf(0x18b)]=_0x3c00cf(0x175),_0x541f1b[_0x3c00cf(0x1a0)]='seleniumLogs',_0x541f1b[_0x3c00cf(0x1ce)]=_0x3c00cf(0x154),_0x541f1b[_0x3c00cf(0x18c)]=_0x3c00cf(0x1b9),_0x541f1b[_0x3c00cf(0x1bb)]=_0x3c00cf(0x1c1),_0x541f1b[_0x3c00cf(0x152)]=_0x3c00cf(0x1a3),_0x541f1b[_0x3c00cf(0x169)]=_0x3c00cf(0x158),_0x541f1b[_0x3c00cf(0x1d5)]=_0x3c00cf(0x1d2),_0x541f1b['BpgWu']=_0x3c00cf(0x186),_0x541f1b[_0x3c00cf(0x192)]=_0x3c00cf(0x1ba),_0x541f1b[_0x3c00cf(0x1cd)]=_0x3c00cf(0x18e),_0x541f1b[_0x3c00cf(0x189)]=_0x3c00cf(0x170),_0x541f1b[_0x3c00cf(0x19a)]=_0x3c00cf(0x15f),_0x541f1b['HsAjU']=_0x3c00cf(0x151),_0x541f1b[_0x3c00cf(0x1de)]=_0x3c00cf(0x1da),_0x541f1b[_0x3c00cf(0x1c3)]=_0x3c00cf(0x1c9),_0x541f1b[_0x3c00cf(0x162)]=_0x3c00cf(0x18f),_0x541f1b[_0x3c00cf(0x19f)]=_0x3c00cf(0x196),_0x541f1b[_0x3c00cf(0x1b4)]='deviceOrientation',_0x541f1b[_0x3c00cf(0x16b)]=_0x3c00cf(0x1ae),_0x541f1b[_0x3c00cf(0x15d)]=_0x3c00cf(0x1b3),_0x541f1b[_0x3c00cf(0x18d)]=_0x3c00cf(0x17f),_0x541f1b[_0x3c00cf(0x173)]=_0x3c00cf(0x164),_0x541f1b[_0x3c00cf(0x1a1)]='accessibility',_0x541f1b[_0x3c00cf(0x178)]=_0x3c00cf(0x15e),_0x541f1b[_0x3c00cf(0x199)]=_0x3c00cf(0x19b),_0x541f1b[_0x3c00cf(0x15b)]=_0x3c00cf(0x191),_0x541f1b['OAVCO']='accessibilityOptions.scannerVersion',_0x541f1b[_0x3c00cf(0x174)]=_0x3c00cf(0x1bc),_0x541f1b[_0x3c00cf(0x1b8)]=_0x3c00cf(0x1b1),_0x541f1b[_0x3c00cf(0x1bd)]=_0x3c00cf(0x1be),_0x541f1b[_0x3c00cf(0x1a4)]=_0x3c00cf(0x180),_0x541f1b['sCWpU']='uploadMedia',_0x541f1b['TohxF']=_0x3c00cf(0x1b2),_0x541f1b[_0x3c00cf(0x1d8)]=_0x3c00cf(0x1c7),_0x541f1b[_0x3c00cf(0x1d7)]=_0x3c00cf(0x1a7),_0x541f1b[_0x3c00cf(0x195)]=_0x3c00cf(0x1e0),_0x541f1b[_0x3c00cf(0x188)]=_0x3c00cf(0x177),_0x541f1b[_0x3c00cf(0x197)]=_0x3c00cf(0x163),_0x541f1b[_0x3c00cf(0x17b)]=_0x3c00cf(0x165);var _0x65ba00=_0x541f1b,_0x1e8c1f={};return _0x1e8c1f[_0x3c00cf(0x18a)]=_0x65ba00[_0x3c00cf(0x1e1)],_0x1e8c1f['browserstack.key']=_0x65ba00[_0x3c00cf(0x19e)],_0x1e8c1f['os']='os',_0x1e8c1f[_0x3c00cf(0x156)]=_0x65ba00[_0x3c00cf(0x1a9)],_0x1e8c1f[_0x3c00cf(0x1d1)]=_0x65ba00[_0x3c00cf(0x15a)],_0x1e8c1f[_0x3c00cf(0x1ad)]=_0x65ba00[_0x3c00cf(0x185)],_0x1e8c1f[_0x3c00cf(0x17c)]=_0x65ba00['tCnDk'],_0x1e8c1f['project']=_0x65ba00[_0x3c00cf(0x1cf)],_0x1e8c1f['build']=_0x65ba00['ARrJC'],_0x1e8c1f[_0x3c00cf(0x1bf)]=_0x65ba00[_0x3c00cf(0x1ac)],_0x1e8c1f[_0x3c00cf(0x1b0)]=_0x65ba00[_0x3c00cf(0x1b6)],_0x1e8c1f[_0x3c00cf(0x16c)]=_0x65ba00[_0x3c00cf(0x183)],_0x1e8c1f[_0x3c00cf(0x1c4)]=_0x65ba00['YUtXF'],_0x1e8c1f[_0x3c00cf(0x16d)]=_0x65ba00['riGbK'],_0x1e8c1f[_0x3c00cf(0x1dd)]=_0x65ba00[_0x3c00cf(0x16a)],_0x1e8c1f['browserstack.networkLogsOptions']=_0x65ba00[_0x3c00cf(0x1e4)],_0x1e8c1f[_0x3c00cf(0x1ab)]=_0x65ba00[_0x3c00cf(0x15c)],_0x1e8c1f['browserstack.video']=_0x65ba00[_0x3c00cf(0x18b)],_0x1e8c1f[_0x3c00cf(0x187)]=_0x65ba00['ApRrU'],_0x1e8c1f[_0x3c00cf(0x168)]=_0x65ba00[_0x3c00cf(0x1ce)],_0x1e8c1f['browserstack.geoLocation']=_0x65ba00[_0x3c00cf(0x18c)],_0x1e8c1f['browserstack.timezone']=_0x65ba00[_0x3c00cf(0x1bb)],_0x1e8c1f[_0x3c00cf(0x1a3)]=_0x65ba00[_0x3c00cf(0x152)],_0x1e8c1f[_0x3c00cf(0x16e)]=_0x65ba00[_0x3c00cf(0x169)],_0x1e8c1f[_0x3c00cf(0x1a5)]=_0x65ba00[_0x3c00cf(0x1d5)],_0x1e8c1f['browserstack.idleTimeout']=_0x65ba00['BpgWu'],_0x1e8c1f['browserstack.maskBasicAuth']=_0x65ba00['pYKql'],_0x1e8c1f['browserstack.autoWait']=_0x65ba00[_0x3c00cf(0x1cd)],_0x1e8c1f[_0x3c00cf(0x1e2)]=_0x65ba00['BKzGg'],_0x1e8c1f[_0x3c00cf(0x1aa)]=_0x65ba00['pufcp'],_0x1e8c1f[_0x3c00cf(0x1a6)]=_0x65ba00[_0x3c00cf(0x16f)],_0x1e8c1f[_0x3c00cf(0x159)]=_0x65ba00['Doztt'],_0x1e8c1f[_0x3c00cf(0x155)]=_0x65ba00[_0x3c00cf(0x1c3)],_0x1e8c1f['realMobile']=_0x65ba00['WCJbX'],_0x1e8c1f['browserstack.appium_version']=_0x65ba00[_0x3c00cf(0x19f)],_0x1e8c1f[_0x3c00cf(0x194)]=_0x65ba00['pkGMN'],_0x1e8c1f[_0x3c00cf(0x198)]=_0x65ba00[_0x3c00cf(0x16b)],_0x1e8c1f[_0x3c00cf(0x1ca)]=_0x65ba00[_0x3c00cf(0x15d)],_0x1e8c1f['browserstack.buildIdentifier']=_0x65ba00[_0x3c00cf(0x18d)],_0x1e8c1f[_0x3c00cf(0x19d)]=_0x65ba00[_0x3c00cf(0x173)],_0x1e8c1f[_0x3c00cf(0x184)]=_0x65ba00[_0x3c00cf(0x1a1)],_0x1e8c1f[_0x3c00cf(0x1c2)]=_0x65ba00[_0x3c00cf(0x178)],_0x1e8c1f[_0x3c00cf(0x171)]=_0x65ba00['ENKJK'],_0x1e8c1f[_0x3c00cf(0x176)]=_0x65ba00[_0x3c00cf(0x15b)],_0x1e8c1f['browserstack.accessibilityOptions.scannerVersion']=_0x65ba00['OAVCO'],_0x1e8c1f[_0x3c00cf(0x166)]=_0x65ba00[_0x3c00cf(0x174)],_0x1e8c1f[_0x3c00cf(0x1e3)]=_0x65ba00[_0x3c00cf(0x1b8)],_0x1e8c1f[_0x3c00cf(0x179)]=_0x65ba00[_0x3c00cf(0x1bd)],_0x1e8c1f['browserstack.accessibilityOptions.authToken']=_0x65ba00[_0x3c00cf(0x1a4)],_0x1e8c1f['browserstack.uploadMedia']=_0x65ba00[_0x3c00cf(0x1d4)],_0x1e8c1f['browserstack.enableSim']=_0x65ba00['TohxF'],_0x1e8c1f['browserstack.simOptions']=_0x65ba00[_0x3c00cf(0x1d8)],_0x1e8c1f[_0x3c00cf(0x1a2)]=_0x65ba00[_0x3c00cf(0x1d7)],_0x1e8c1f[_0x3c00cf(0x1df)]=_0x65ba00[_0x3c00cf(0x195)],_0x1e8c1f['browserstack.overridelocalInfo.localIdentifier']=_0x65ba00[_0x3c00cf(0x188)],_0x1e8c1f[_0x3c00cf(0x1d3)]=_0x65ba00[_0x3c00cf(0x197)],_0x1e8c1f[_0x3c00cf(0x167)]=_0x65ba00[_0x3c00cf(0x17b)],_0x1e8c1f;});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a174_0xbdf7ac=a174_0x49f9;function a174_0x2bac(){const _0x5c3269=['IVmvC','nodeRequest','hubUrl','\x20is:\x20','getGlobal','eMwmV','NQTgj','4578870McoQEb','1937VpljbE','lIxBv','debug','165pxjdbu','./helpers/globals','GyPWt','DqpKC','6hHlYHf','race','TlLdM','util','hostname','updateHubUrl\x20called\x20without\x20a\x20session\x20ID;\x20skipping\x20hub-URL\x20store\x20to\x20avoid\x20cross-session\x20misrouting','now','CANNOT\x20ALLOCATE\x20NEAREST\x20HUB\x20-\x20','bWEHm','resolve','has','4697864OZPInk','sFPRM','ivHHO','IZiao','get','replace','prLRU','GET','pathname','/wd/hub','allSettled','map','eGZWC','982bSCCHH','HxPUu','search','11295000NDNGUe','HUB\x20URL\x20SET\x20TO\x20-\x20','onJmG','9533531yZbyhN','JiaoA','omWWF','ERROR\x20IN\x20FINDING\x20LATENCY\x20FOR\x20','Execution\x20time\x20for\x20','KgXjs','parse','hubRegion','13419153vnBwuX','\x20not\x20found\x20in\x20HUB_URL_MAP,\x20falling\x20back\x20to\x20dynamic\x20hub\x20detection','hash','lzzZz','path','Response:\x20','delete','ERROR\x20in\x20background\x20hub\x20enrichment:\x20','value','./helpers/helper','https://','next_hubs','yPcWU','VoFIJ','latency','sJkFh','nODQR','rvWsc','data','url','QzgOa','Hqgeh','3923271dYuTlt','allocateHub','HUB\x20URL\x20SET\x20TO\x20(from\x20hubRegion)\x20-\x20','yfQkU','Invalid\x20new\x20HUB\x20URL:\x20','kJbvq','XvMyV','hsWks','hubLatencies','cmKRY','itHEI','./bin/utils/constants','\x20HUB\x20-\x20','setGlobal','then','GBoSZ','QPsuH','newHubUrlBySession','ERROR\x20IN\x20GETTING\x20RESPONSE\x20FROM\x20NEXT\x20HUBS:\x20','MbxsV','uYYFd','winstonLogger','fulfilled','KiXCL','5QNnaca','catch','all','findLatency','JEGce'];a174_0x2bac=function(){return _0x5c3269;};return a174_0x2bac();}(function(_0x1ee0f9,_0x15804f){const _0x2d8893=a174_0x49f9,_0x170348=_0x1ee0f9();while(!![]){try{const _0x46ad2b=-parseInt(_0x2d8893(0xbd))/0x1*(-parseInt(_0x2d8893(0xdc))/0x2)+parseInt(_0x2d8893(0x100))/0x3+-parseInt(_0x2d8893(0xcf))/0x4*(-parseInt(_0x2d8893(0xb0))/0x5)+parseInt(_0x2d8893(0xc4))/0x6*(parseInt(_0x2d8893(0xe2))/0x7)+parseInt(_0x2d8893(0xdf))/0x8+parseInt(_0x2d8893(0xea))/0x9+parseInt(_0x2d8893(0xbc))/0xa*(-parseInt(_0x2d8893(0xc0))/0xb);if(_0x46ad2b===_0x15804f)break;else _0x170348['push'](_0x170348['shift']());}catch(_0x3eb606){_0x170348['push'](_0x170348['shift']());}}}(a174_0x2bac,0xca972));function a174_0x49f9(_0x925056,_0x4652d3){const _0x2bac05=a174_0x2bac();return a174_0x49f9=function(_0x49f9fd,_0x322966){_0x49f9fd=_0x49f9fd-0xa4;let _0x23ae8a=_0x2bac05[_0x49f9fd];return _0x23ae8a;},a174_0x49f9(_0x925056,_0x4652d3);}const url=require(a174_0xbdf7ac(0xfd)),util=require(a174_0xbdf7ac(0xc7)),helper=require(a174_0xbdf7ac(0xf3)),logger=require('./helpers/logger')[a174_0xbdf7ac(0xad)],constants=require(a174_0xbdf7ac(0x10b)),globals=require(a174_0xbdf7ac(0xc1));global['newHubUrlBySession']=global[a174_0xbdf7ac(0xa9)]||new Map(),exports['getRequestOptions']=_0x14bb81=>{const _0x4a6dec=a174_0xbdf7ac,_0x2ff017={};_0x2ff017[_0x4a6dec(0xb5)]=function(_0x3c3c31,_0x38806d){return _0x3c3c31+_0x38806d;},_0x2ff017['sFPRM']=_0x4a6dec(0x104);const _0x33e663=_0x2ff017,_0x384b42=url[_0x4a6dec(0xe8)](_0x14bb81);if(!_0x384b42[_0x4a6dec(0xc8)])throw new Error(_0x33e663[_0x4a6dec(0xb5)](_0x33e663[_0x4a6dec(0xd0)],_0x14bb81));return _0x384b42[_0x4a6dec(0xde)]=null,_0x384b42[_0x4a6dec(0xec)]=null,_0x384b42[_0x4a6dec(0xee)]=_0x384b42[_0x4a6dec(0xd7)],_0x384b42;},exports['updateHubUrl']=(_0xfcd1cd,_0x4f1640)=>{const _0x1e7492=a174_0xbdf7ac,_0x249c1d={};_0x249c1d[_0x1e7492(0xcc)]=_0x1e7492(0xc9);const _0x2ebf2f=_0x249c1d;if(!_0x4f1640){logger[_0x1e7492(0xbf)](_0x2ebf2f[_0x1e7492(0xcc)]);return;}global['newHubUrlBySession']['set'](_0x4f1640,_0xfcd1cd);},exports['consumeHubUrlForSession']=_0x3e29f8=>{const _0x406a56=a174_0xbdf7ac;if(_0x3e29f8&&global[_0x406a56(0xa9)][_0x406a56(0xce)](_0x3e29f8)){const _0x507622=global[_0x406a56(0xa9)][_0x406a56(0xd3)](_0x3e29f8);return global['newHubUrlBySession'][_0x406a56(0xf0)](_0x3e29f8),_0x507622;}return'';},exports[a174_0xbdf7ac(0x101)]=_0x9d9970=>{const _0x443b4f=a174_0xbdf7ac,_0x4eb6f0={'DqpKC':function(_0x216b26){return _0x216b26();},'MbxsV':function(_0x387c0f,_0x17dbb7){return _0x387c0f!==_0x17dbb7;},'NQTgj':function(_0x2dcd53,_0x619f0a){return _0x2dcd53+_0x619f0a;},'CsNCb':_0x443b4f(0xf4),'JEGce':'_hubAllocationData','VBrmV':function(_0x91ff20,_0x2e7cc5){return _0x91ff20===_0x2e7cc5;},'onJmG':_0x443b4f(0xae),'hsWks':'All\x20hub\x20latency\x20checks\x20failed,\x20falling\x20back\x20to\x20first\x20hub','DwspA':_0x443b4f(0xd8),'JiaoA':function(_0x40376d,_0xd0fffa){return _0x40376d==_0xd0fffa;},'TlLdM':function(_0x47a3ad){return _0x47a3ad();}};return new Promise(_0x5b17c5=>{const _0x3343c3=_0x443b4f,_0x2ee930={'Hqgeh':function(_0xcf27c1){const _0x25f262=a174_0x49f9;return _0x4eb6f0[_0x25f262(0xc3)](_0xcf27c1);},'nODQR':function(_0x477402,_0xf0e207){const _0x284ed6=a174_0x49f9;return _0x4eb6f0[_0x284ed6(0xab)](_0x477402,_0xf0e207);},'lIxBv':function(_0x3ae500,_0x35ef74){const _0x4dc94b=a174_0x49f9;return _0x4eb6f0[_0x4dc94b(0xbb)](_0x3ae500,_0x35ef74);},'sJkFh':_0x4eb6f0['CsNCb'],'hjSRx':_0x4eb6f0[_0x3343c3(0xb4)],'kJbvq':function(_0x3a82a1,_0x5794ec){return _0x4eb6f0['VBrmV'](_0x3a82a1,_0x5794ec);},'uYYFd':_0x4eb6f0[_0x3343c3(0xe1)],'ivHHO':_0x4eb6f0[_0x3343c3(0x107)],'lzzZz':_0x4eb6f0['DwspA'],'GyPWt':function(_0x43cdc9){const _0x1af3fc=_0x3343c3;return _0x4eb6f0[_0x1af3fc(0xc3)](_0x43cdc9);},'eLzhP':function(_0x52ffca,_0x1d900b){const _0x183f29=_0x3343c3;return _0x4eb6f0[_0x183f29(0xe3)](_0x52ffca,_0x1d900b);},'KiXCL':function(_0x54805f){const _0x41e0c0=_0x3343c3;return _0x4eb6f0[_0x41e0c0(0xc3)](_0x54805f);}};if(_0x9d9970&&_0x9d9970[_0x3343c3(0xe9)]){const _0x4d519e=constants['HUB_URL_MAP'][_0x9d9970[_0x3343c3(0xe9)]];if(_0x4d519e)return constants['hubUrl']=_0x4d519e,logger[_0x3343c3(0xbf)](_0x3343c3(0x102)+_0x4d519e),globals[_0x3343c3(0xa5)](_0x4eb6f0[_0x3343c3(0xb4)],{'nearestHubs':[],'hubLatencies':{},'selectedHub':_0x4d519e[_0x3343c3(0xd4)](/\/wd\/hub$/,''),'selectedHubLatency':null,'timestamp':Date['now']()}),_0x4eb6f0[_0x3343c3(0xc6)](_0x5b17c5);logger[_0x3343c3(0xbf)]('hubRegion\x20'+_0x9d9970['hubRegion']+_0x3343c3(0xeb));}Promise[_0x3343c3(0xcd)](this['nextHubs'](_0x9d9970))[_0x3343c3(0xa6)](_0x5e0197=>{const _0xce81bd=_0x3343c3,_0x2d2ffa={'phBDL':function(_0x2fccda,_0x102aca){const _0x3dcf83=a174_0x49f9;return _0x2ee930[_0x3dcf83(0xfa)](_0x2fccda,_0x102aca);},'HxPUu':function(_0x422390,_0x5219ae){const _0x54a1f9=a174_0x49f9;return _0x2ee930[_0x54a1f9(0xbe)](_0x422390,_0x5219ae);},'AoZVX':_0x2ee930[_0xce81bd(0xf9)],'XvMyV':_0x2ee930['hjSRx'],'yPcWU':function(_0x32440d,_0x4a00ca){const _0x3029fb=_0xce81bd;return _0x2ee930[_0x3029fb(0x105)](_0x32440d,_0x4a00ca);},'eGZWC':_0x2ee930[_0xce81bd(0xac)],'itHEI':_0x2ee930[_0xce81bd(0xd1)],'QPsuH':function(_0x4384ed,_0x39b104){const _0x398c27=_0xce81bd;return _0x2ee930[_0x398c27(0xbe)](_0x4384ed,_0x39b104);},'IZiao':function(_0x55c606,_0x4dcc07){const _0x361da7=_0xce81bd;return _0x2ee930[_0x361da7(0xbe)](_0x55c606,_0x4dcc07);},'VoFIJ':_0x2ee930[_0xce81bd(0xed)],'KgXjs':function(_0x47a8f6){const _0x23b6c6=_0xce81bd;return _0x2ee930[_0x23b6c6(0xc2)](_0x47a8f6);}};logger[_0xce81bd(0xbf)]('NEAREST\x20HUBS\x20LIST:\x20'+util['format']('%j',_0x5e0197));if(_0x2ee930['eLzhP'](_0x5e0197,null)||_0x2ee930[_0xce81bd(0x105)](_0x5e0197['length'],0x0))return _0x2ee930[_0xce81bd(0xaf)](_0x5b17c5);const _0x503cda=_0x5e0197[_0xce81bd(0xda)](_0x275624=>{const _0x531b95=_0xce81bd,_0xf9dcd3=_0x2d2ffa[_0x531b95(0xdd)](_0x2d2ffa['AoZVX'],_0x275624);return this['findLatency'](_0x9d9970,_0xf9dcd3)[_0x531b95(0xa6)](_0x3fc914=>{const _0x1c5678=_0x531b95;if(_0x3fc914&&_0x3fc914['hubUrl']&&_0x2d2ffa['phBDL'](_0x3fc914['latency'],undefined)){const _0x5ef2b6={};return _0x5ef2b6['hubUrl']=_0x3fc914[_0x1c5678(0xb7)],_0x5ef2b6[_0x1c5678(0xf8)]=_0x3fc914['latency'],_0x5ef2b6['ok']=!![],_0x5ef2b6;}const _0x280cf0={};return _0x280cf0[_0x1c5678(0xb7)]=_0xf9dcd3,_0x280cf0[_0x1c5678(0xf8)]=null,_0x280cf0['ok']=![],_0x280cf0;})[_0x531b95(0xb1)](()=>({'hubUrl':_0xf9dcd3,'latency':null,'ok':![]}));});Promise[_0xce81bd(0xc5)](_0x503cda[_0xce81bd(0xda)](_0x54b360=>_0x54b360[_0xce81bd(0xa6)](_0x113aed=>_0x113aed['ok']?_0x113aed:null)))[_0xce81bd(0xa6)](_0x27dbc2=>{const _0x4a7efd=_0xce81bd;if(_0x27dbc2)return _0x27dbc2;return Promise[_0x4a7efd(0xb2)](_0x503cda)[_0x4a7efd(0xa6)](()=>null);})[_0xce81bd(0xa6)](_0x4fc8d7=>{const _0x9aad44=_0xce81bd,_0x59a53d={'eMwmV':_0x2d2ffa[_0x9aad44(0x106)],'NxDiU':function(_0x4bbbd9,_0x2c0622){const _0x4dd368=_0x9aad44;return _0x2d2ffa[_0x4dd368(0xf6)](_0x4bbbd9,_0x2c0622);},'QzgOa':_0x2d2ffa[_0x9aad44(0xdb)]};if(!_0x4fc8d7){logger[_0x9aad44(0xbf)](_0x2d2ffa[_0x9aad44(0x10a)]);const _0x2609ca=_0x2d2ffa[_0x9aad44(0xa8)](_0x2d2ffa['AoZVX'],_0x5e0197[0x0]);return globals['setGlobal'](_0x2d2ffa[_0x9aad44(0x106)],{'nearestHubs':_0x5e0197[_0x9aad44(0xda)](_0x6d7495=>_0x9aad44(0xf4)+_0x6d7495),'hubLatencies':{},'selectedHub':_0x2609ca,'selectedHubLatency':null,'fallback':!![],'timestamp':Date['now']()}),constants[_0x9aad44(0xb7)]=_0x2d2ffa[_0x9aad44(0xd2)](_0x2609ca,_0x2d2ffa[_0x9aad44(0xf7)]),logger['debug']('HUB\x20URL\x20SET\x20TO\x20(fallback)\x20-\x20'+_0x2609ca),_0x2d2ffa[_0x9aad44(0xe7)](_0x5b17c5);}const _0x4b35e7={[_0x4fc8d7[_0x9aad44(0xb7)]]:_0x4fc8d7[_0x9aad44(0xf8)]},_0x2b448a={'nearestHubs':_0x5e0197['map'](_0x169596=>_0x9aad44(0xf4)+_0x169596),'hubLatencies':_0x4b35e7,'selectedHub':_0x4fc8d7['hubUrl'],'selectedHubLatency':_0x4fc8d7['latency'],'timestamp':Date[_0x9aad44(0xca)]()};globals[_0x9aad44(0xa5)](_0x2d2ffa[_0x9aad44(0x106)],_0x2b448a),constants[_0x9aad44(0xb7)]=_0x2d2ffa[_0x9aad44(0xa8)](_0x4fc8d7['hubUrl'],_0x2d2ffa[_0x9aad44(0xf7)]),logger[_0x9aad44(0xbf)](_0x9aad44(0xe0)+_0x4fc8d7[_0x9aad44(0xb7)]),_0x2d2ffa[_0x9aad44(0xe7)](_0x5b17c5),Promise[_0x9aad44(0xd9)](_0x503cda)[_0x9aad44(0xa6)](_0x45f1f3=>{const _0x44cec4=_0x9aad44;try{const _0x35f713=globals[_0x44cec4(0xb9)](_0x59a53d[_0x44cec4(0xba)]);if(!_0x35f713||_0x35f713['skipped'])return;const _0x140b4d={};for(const _0x6a8547 of _0x45f1f3){_0x59a53d['NxDiU'](_0x6a8547['status'],_0x59a53d[_0x44cec4(0xfe)])&&_0x6a8547[_0x44cec4(0xf2)]&&_0x6a8547['value']['ok']&&(_0x140b4d[_0x6a8547[_0x44cec4(0xf2)][_0x44cec4(0xb7)]]=_0x6a8547[_0x44cec4(0xf2)][_0x44cec4(0xf8)]);}_0x35f713[_0x44cec4(0x108)]=_0x140b4d;}catch(_0x30444d){logger[_0x44cec4(0xbf)]('ERROR\x20enriching\x20_hubAllocationData.hubLatencies\x20in\x20background:\x20'+_0x30444d);}})['catch'](_0x24e5fa=>{const _0x138548=_0x9aad44;logger[_0x138548(0xbf)](_0x138548(0xf1)+_0x24e5fa);});})['catch'](_0x46defb=>{const _0x261f51=_0xce81bd;logger[_0x261f51(0xbf)]('ERROR\x20in\x20hub\x20selection:\x20'+_0x46defb),_0x2ee930[_0x261f51(0xff)](_0x5b17c5);});})[_0x3343c3(0xb1)](_0x5bee7b=>{const _0x5defbb=_0x3343c3;logger['debug'](_0x5defbb(0xcb)+_0x5bee7b),_0x4eb6f0[_0x5defbb(0xc3)](_0x5b17c5);});});},exports[a174_0xbdf7ac(0xb3)]=async(_0x2d9415,_0x1e7e5f)=>{const _0x25a0d8=a174_0xbdf7ac,_0x298299={};_0x298299[_0x25a0d8(0xe4)]=_0x25a0d8(0xd6),_0x298299[_0x25a0d8(0x103)]='check',_0x298299[_0x25a0d8(0xa7)]=function(_0x22777f,_0x1b6419){return _0x22777f-_0x1b6419;};const _0x3cdbb6=_0x298299;try{const _0x5bc683=new Date();await helper[_0x25a0d8(0xb6)](_0x3cdbb6[_0x25a0d8(0xe4)],_0x3cdbb6[_0x25a0d8(0x103)],{},_0x2d9415,_0x1e7e5f,0x1388);const _0x43fdd6=_0x3cdbb6['GBoSZ'](new Date(),_0x5bc683);logger['debug'](_0x25a0d8(0xe6)+_0x1e7e5f+_0x25a0d8(0xb8)+_0x43fdd6+'ms');const _0x47219e={};return _0x47219e['hubUrl']=_0x1e7e5f,_0x47219e[_0x25a0d8(0xf8)]=_0x43fdd6,_0x47219e;}catch(_0x4f6cf9){return logger[_0x25a0d8(0xbf)](_0x25a0d8(0xe5)+_0x1e7e5f+_0x25a0d8(0xa4)+_0x4f6cf9),{};}},exports['nextHubs']=async _0x2f7a62=>{const _0x28c17e=a174_0xbdf7ac,_0x2fe142={'ohyKG':function(_0x1344b3,_0x5b0c40){return _0x1344b3(_0x5b0c40);},'prLRU':_0x28c17e(0x10b),'rvWsc':_0x28c17e(0xd8),'NbhZH':'GET','cmKRY':_0x28c17e(0xf5)};try{const _0x3ca092=_0x2fe142['ohyKG'](require,_0x2fe142[_0x28c17e(0xd5)])[_0x28c17e(0xb7)]['replace'](_0x2fe142[_0x28c17e(0xfb)],''),_0xc875a=await helper[_0x28c17e(0xb6)](_0x2fe142['NbhZH'],_0x2fe142[_0x28c17e(0x109)],{},_0x2f7a62,_0x3ca092,0x1388),_0x107877=_0xc875a[_0x28c17e(0xfc)];return logger[_0x28c17e(0xbf)](_0x28c17e(0xef)+util['format']('%j',_0x107877)),_0x107877['hubs'];}catch(_0x2ae10a){logger['debug'](_0x28c17e(0xaa)+_0x2ae10a);}return null;};
|
|
1
|
+
function a174_0x1f70(_0x2e891b,_0x4ef095){const _0x34a138=a174_0x34a1();return a174_0x1f70=function(_0x1f70e9,_0x1472fe){_0x1f70e9=_0x1f70e9-0xd5;let _0x1a36f7=_0x34a138[_0x1f70e9];return _0x1a36f7;},a174_0x1f70(_0x2e891b,_0x4ef095);}const a174_0x1ed331=a174_0x1f70;(function(_0x3a9ebd,_0x2fc8d4){const _0x2793f8=a174_0x1f70,_0x514320=_0x3a9ebd();while(!![]){try{const _0x12c6b0=-parseInt(_0x2793f8(0xd5))/0x1*(parseInt(_0x2793f8(0x132))/0x2)+-parseInt(_0x2793f8(0xfe))/0x3*(parseInt(_0x2793f8(0x137))/0x4)+-parseInt(_0x2793f8(0xdf))/0x5+parseInt(_0x2793f8(0xe9))/0x6*(parseInt(_0x2793f8(0xde))/0x7)+-parseInt(_0x2793f8(0x117))/0x8+-parseInt(_0x2793f8(0x12c))/0x9*(parseInt(_0x2793f8(0xf5))/0xa)+-parseInt(_0x2793f8(0x12f))/0xb*(-parseInt(_0x2793f8(0x12e))/0xc);if(_0x12c6b0===_0x2fc8d4)break;else _0x514320['push'](_0x514320['shift']());}catch(_0x1dc52b){_0x514320['push'](_0x514320['shift']());}}}(a174_0x34a1,0x18df5));const url=require(a174_0x1ed331(0x112)),util=require(a174_0x1ed331(0xe2)),helper=require('./helpers/helper'),logger=require(a174_0x1ed331(0xfa))['winstonLogger'],constants=require(a174_0x1ed331(0x11a)),globals=require(a174_0x1ed331(0xe1));function a174_0x34a1(){const _0x4cb753=['6644957xTexTH','hubLatencies','HUB_URL_MAP','14006qgUvsR','cgxMC','xkIJQ','newHubUrlBySession','latency','4dwpFTv','UHvQW','ERROR\x20enriching\x20_hubAllocationData.hubLatencies\x20in\x20background:\x20','NpXuA','fsZrv','ySWKN','debug','xzfSO','22tbENhf','XJKTX','catch','hubUrl','now','ZEAeP','findLatency','zoVai','ERROR\x20in\x20background\x20hub\x20enrichment:\x20','81970fmuTvt','825955IfxngA','has','./helpers/globals','util','consumeHubUrlForSession','hash','XZMzO','parse','HUB\x20URL\x20SET\x20TO\x20(from\x20hubRegion)\x20-\x20','/wd/hub','30UUUsZG','path','bQAZm','QBufg','map','nodeRequest','yEepn','kndGY','delete','GET','PDqJC','then','135340GuYfcv','JfXBs','aELNj','OGKcQ','ERROR\x20in\x20hub\x20selection:\x20','./helpers/logger','getRequestOptions','\x20not\x20found\x20in\x20HUB_URL_MAP,\x20falling\x20back\x20to\x20dynamic\x20hub\x20detection','CANNOT\x20ALLOCATE\x20NEAREST\x20HUB\x20-\x20','214809tlXzIK','get','NEAREST\x20HUBS\x20LIST:\x20','replace','HUB\x20URL\x20SET\x20TO\x20-\x20','TJObI','race','nextHubs','format','yTgZM','hostname','All\x20hub\x20latency\x20checks\x20failed,\x20falling\x20back\x20to\x20first\x20hub','ZOxKe','yxBRm','pathname','lxeNw','updateHubUrl','gYUHL','Response:\x20','allSettled','url','hubRegion','value','Aqpdb','search','709568HqAmmH','mMhxb','BPTtf','./bin/utils/constants','QkkYv','\x20is:\x20','ERROR\x20IN\x20FINDING\x20LATENCY\x20FOR\x20','ngqJb','Invalid\x20new\x20HUB\x20URL:\x20','getGlobal','length','resolve','ERROR\x20IN\x20GETTING\x20RESPONSE\x20FROM\x20NEXT\x20HUBS:\x20','status','https://','SwUCk','updateHubUrl\x20called\x20without\x20a\x20session\x20ID;\x20skipping\x20hub-URL\x20store\x20to\x20avoid\x20cross-session\x20misrouting','YeqMF','setGlobal','all','OjreS','54HhxJfy','check','12tTgbUh'];a174_0x34a1=function(){return _0x4cb753;};return a174_0x34a1();}global[a174_0x1ed331(0x135)]=global['newHubUrlBySession']||new Map(),exports[a174_0x1ed331(0xfb)]=_0x2cc94e=>{const _0x20bb3c=a174_0x1ed331,_0x25ef4f={};_0x25ef4f[_0x20bb3c(0x138)]=function(_0x999237,_0x2964d1){return _0x999237+_0x2964d1;},_0x25ef4f['JfXBs']=_0x20bb3c(0x11f);const _0x17cdca=_0x25ef4f,_0x5537ff=url[_0x20bb3c(0xe6)](_0x2cc94e);if(!_0x5537ff[_0x20bb3c(0x108)])throw new Error(_0x17cdca[_0x20bb3c(0x138)](_0x17cdca[_0x20bb3c(0xf6)],_0x2cc94e));return _0x5537ff[_0x20bb3c(0x116)]=null,_0x5537ff[_0x20bb3c(0xe4)]=null,_0x5537ff[_0x20bb3c(0xea)]=_0x5537ff[_0x20bb3c(0x10c)],_0x5537ff;},exports[a174_0x1ed331(0x10e)]=(_0x449057,_0x4a643c)=>{const _0x3b17b4=a174_0x1ed331,_0x17a8d8={};_0x17a8d8['NpXuA']=_0x3b17b4(0x127);const _0x1366c2=_0x17a8d8;if(!_0x4a643c){logger[_0x3b17b4(0x13d)](_0x1366c2[_0x3b17b4(0x13a)]);return;}global['newHubUrlBySession']['set'](_0x4a643c,_0x449057);},exports[a174_0x1ed331(0xe3)]=_0x8bdca2=>{const _0x357b4a=a174_0x1ed331;if(_0x8bdca2&&global[_0x357b4a(0x135)][_0x357b4a(0xe0)](_0x8bdca2)){const _0xfd0b1c=global['newHubUrlBySession'][_0x357b4a(0xff)](_0x8bdca2);return global[_0x357b4a(0x135)][_0x357b4a(0xf1)](_0x8bdca2),_0xfd0b1c;}return'';},exports['allocateHub']=_0x38af08=>{const _0x16e68a=a174_0x1ed331,_0x461f57={'ySWKN':function(_0x28acc7){return _0x28acc7();},'yxBRm':function(_0x398e53,_0x1184dc){return _0x398e53!==_0x1184dc;},'gYUHL':function(_0x480c7e,_0xafe7b){return _0x480c7e+_0xafe7b;},'zoVai':'https://','PDqJC':'_hubAllocationData','lxpeT':function(_0x17216a,_0x23686c){return _0x17216a===_0x23686c;},'SwUCk':'fulfilled','OjreS':_0x16e68a(0x109),'lxeNw':_0x16e68a(0xe8),'Aqpdb':function(_0x3bb2e6,_0x3e9b99){return _0x3bb2e6==_0x3e9b99;},'EoeKx':function(_0x55d196){return _0x55d196();}};return new Promise(_0x238214=>{const _0x38c9e5=_0x16e68a,_0x26f71b={'ZOxKe':function(_0x3099eb,_0x507e7c){const _0x5bae70=a174_0x1f70;return _0x461f57[_0x5bae70(0x10b)](_0x3099eb,_0x507e7c);},'ZEAeP':function(_0x1f5b05,_0x594b77){const _0x20b212=a174_0x1f70;return _0x461f57[_0x20b212(0x10f)](_0x1f5b05,_0x594b77);},'mMhxb':_0x461f57[_0x38c9e5(0xdc)],'XZMzO':_0x461f57[_0x38c9e5(0xf3)],'xkIJQ':function(_0x1cab45,_0x1e622c){return _0x461f57['lxpeT'](_0x1cab45,_0x1e622c);},'fsZrv':_0x461f57[_0x38c9e5(0x126)],'bQAZm':_0x461f57[_0x38c9e5(0x12b)],'BPTtf':_0x461f57[_0x38c9e5(0x10d)],'yEepn':function(_0x14f16d){const _0x38ed62=_0x38c9e5;return _0x461f57[_0x38ed62(0x13c)](_0x14f16d);},'dGryv':function(_0x33c233,_0x5b2104){const _0x1cd51d=_0x38c9e5;return _0x461f57[_0x1cd51d(0x10f)](_0x33c233,_0x5b2104);},'OGKcQ':function(_0x6730ba){return _0x461f57['ySWKN'](_0x6730ba);},'eolLZ':function(_0x15c8cc,_0x383944){const _0x1ec725=_0x38c9e5;return _0x461f57[_0x1ec725(0x115)](_0x15c8cc,_0x383944);}};if(_0x38af08&&_0x38af08[_0x38c9e5(0x113)]){const _0x45930b=constants[_0x38c9e5(0x131)][_0x38af08['hubRegion']];if(_0x45930b)return constants[_0x38c9e5(0xd8)]=_0x45930b,logger[_0x38c9e5(0x13d)](_0x38c9e5(0xe7)+_0x45930b),globals[_0x38c9e5(0x129)](_0x461f57[_0x38c9e5(0xf3)],{'nearestHubs':[],'hubLatencies':{},'selectedHub':_0x45930b[_0x38c9e5(0x101)](/\/wd\/hub$/,''),'selectedHubLatency':null,'timestamp':Date[_0x38c9e5(0xd9)]()}),_0x461f57['EoeKx'](_0x238214);logger[_0x38c9e5(0x13d)]('hubRegion\x20'+_0x38af08[_0x38c9e5(0x113)]+_0x38c9e5(0xfc));}Promise[_0x38c9e5(0x122)](this[_0x38c9e5(0x105)](_0x38af08))['then'](_0x17518e=>{const _0x1dfb11=_0x38c9e5;logger[_0x1dfb11(0x13d)](_0x1dfb11(0x100)+util[_0x1dfb11(0x106)]('%j',_0x17518e));if(_0x26f71b['eolLZ'](_0x17518e,null)||_0x26f71b['xkIJQ'](_0x17518e[_0x1dfb11(0x121)],0x0))return _0x26f71b['yEepn'](_0x238214);const _0x4341e9=_0x17518e[_0x1dfb11(0xed)](_0x549ddf=>{const _0x10ba83=_0x1dfb11,_0x4da17b={'cgxMC':function(_0x1a2a2c,_0x164462){const _0x5989cd=a174_0x1f70;return _0x26f71b[_0x5989cd(0x10a)](_0x1a2a2c,_0x164462);}},_0x44d960=_0x26f71b['ZEAeP'](_0x26f71b['mMhxb'],_0x549ddf);return this[_0x10ba83(0xdb)](_0x38af08,_0x44d960)[_0x10ba83(0xf4)](_0x14ef86=>{const _0x927895=_0x10ba83;if(_0x14ef86&&_0x14ef86[_0x927895(0xd8)]&&_0x4da17b[_0x927895(0x133)](_0x14ef86[_0x927895(0x136)],undefined)){const _0x42d45a={};return _0x42d45a[_0x927895(0xd8)]=_0x14ef86['hubUrl'],_0x42d45a[_0x927895(0x136)]=_0x14ef86[_0x927895(0x136)],_0x42d45a['ok']=!![],_0x42d45a;}const _0x8c6789={};return _0x8c6789[_0x927895(0xd8)]=_0x44d960,_0x8c6789[_0x927895(0x136)]=null,_0x8c6789['ok']=![],_0x8c6789;})[_0x10ba83(0xd7)](()=>({'hubUrl':_0x44d960,'latency':null,'ok':![]}));});Promise[_0x1dfb11(0x104)](_0x4341e9['map'](_0x66c3b5=>_0x66c3b5['then'](_0x5a5540=>_0x5a5540['ok']?_0x5a5540:null)))[_0x1dfb11(0xf4)](_0x25280d=>{const _0x352e02=_0x1dfb11;if(_0x25280d)return _0x25280d;return Promise[_0x352e02(0x12a)](_0x4341e9)[_0x352e02(0xf4)](()=>null);})[_0x1dfb11(0xf4)](_0x15d048=>{const _0xaa1c66=_0x1dfb11,_0x4a0f25={'xzfSO':_0x26f71b[_0xaa1c66(0xe5)],'YeqMF':function(_0x29779e,_0x5001ad){const _0x7c2609=_0xaa1c66;return _0x26f71b[_0x7c2609(0x134)](_0x29779e,_0x5001ad);},'QBufg':_0x26f71b[_0xaa1c66(0x13b)]};if(!_0x15d048){logger[_0xaa1c66(0x13d)](_0x26f71b[_0xaa1c66(0xeb)]);const _0x4557a9=_0x26f71b[_0xaa1c66(0xda)](_0x26f71b[_0xaa1c66(0x118)],_0x17518e[0x0]);return globals[_0xaa1c66(0x129)](_0x26f71b[_0xaa1c66(0xe5)],{'nearestHubs':_0x17518e['map'](_0x44b430=>_0xaa1c66(0x125)+_0x44b430),'hubLatencies':{},'selectedHub':_0x4557a9,'selectedHubLatency':null,'fallback':!![],'timestamp':Date[_0xaa1c66(0xd9)]()}),constants[_0xaa1c66(0xd8)]=_0x26f71b['ZEAeP'](_0x4557a9,_0x26f71b[_0xaa1c66(0x119)]),logger['debug']('HUB\x20URL\x20SET\x20TO\x20(fallback)\x20-\x20'+_0x4557a9),_0x26f71b[_0xaa1c66(0xef)](_0x238214);}const _0x4260ad={[_0x15d048['hubUrl']]:_0x15d048['latency']},_0x1a3737={'nearestHubs':_0x17518e[_0xaa1c66(0xed)](_0xb2ff96=>'https://'+_0xb2ff96),'hubLatencies':_0x4260ad,'selectedHub':_0x15d048[_0xaa1c66(0xd8)],'selectedHubLatency':_0x15d048[_0xaa1c66(0x136)],'timestamp':Date[_0xaa1c66(0xd9)]()};globals['setGlobal'](_0x26f71b['XZMzO'],_0x1a3737),constants[_0xaa1c66(0xd8)]=_0x26f71b['dGryv'](_0x15d048['hubUrl'],_0x26f71b[_0xaa1c66(0x119)]),logger[_0xaa1c66(0x13d)](_0xaa1c66(0x102)+_0x15d048[_0xaa1c66(0xd8)]),_0x26f71b[_0xaa1c66(0xf8)](_0x238214),Promise[_0xaa1c66(0x111)](_0x4341e9)[_0xaa1c66(0xf4)](_0x55d391=>{const _0x39ef68=_0xaa1c66;try{const _0x248a60=globals[_0x39ef68(0x120)](_0x4a0f25[_0x39ef68(0x13e)]);if(!_0x248a60||_0x248a60['skipped'])return;const _0x2f4d59={};for(const _0x35e43a of _0x55d391){_0x4a0f25[_0x39ef68(0x128)](_0x35e43a[_0x39ef68(0x124)],_0x4a0f25[_0x39ef68(0xec)])&&_0x35e43a[_0x39ef68(0x114)]&&_0x35e43a[_0x39ef68(0x114)]['ok']&&(_0x2f4d59[_0x35e43a[_0x39ef68(0x114)][_0x39ef68(0xd8)]]=_0x35e43a[_0x39ef68(0x114)][_0x39ef68(0x136)]);}_0x248a60[_0x39ef68(0x130)]=_0x2f4d59;}catch(_0x33e84a){logger[_0x39ef68(0x13d)](_0x39ef68(0x139)+_0x33e84a);}})[_0xaa1c66(0xd7)](_0x235646=>{const _0x4d31c3=_0xaa1c66;logger[_0x4d31c3(0x13d)](_0x4d31c3(0xdd)+_0x235646);});})[_0x1dfb11(0xd7)](_0x2975ef=>{const _0x145b1d=_0x1dfb11;logger[_0x145b1d(0x13d)](_0x145b1d(0xf9)+_0x2975ef),_0x26f71b[_0x145b1d(0xef)](_0x238214);});})[_0x38c9e5(0xd7)](_0x514121=>{const _0x14b219=_0x38c9e5;logger['debug'](_0x14b219(0xfd)+_0x514121),_0x461f57['ySWKN'](_0x238214);});});},exports[a174_0x1ed331(0xdb)]=async(_0x497a94,_0x156f1d)=>{const _0x4784b0=a174_0x1ed331,_0xd9b03f={};_0xd9b03f['aELNj']=_0x4784b0(0xf2),_0xd9b03f[_0x4784b0(0x11e)]=_0x4784b0(0x12d),_0xd9b03f['kndGY']=function(_0x129f94,_0x3fb4e0){return _0x129f94-_0x3fb4e0;};const _0x52d4fd=_0xd9b03f;try{const _0x2135f4=new Date();await helper['nodeRequest'](_0x52d4fd[_0x4784b0(0xf7)],_0x52d4fd[_0x4784b0(0x11e)],{},_0x497a94,_0x156f1d,0x1388);const _0x209e82=_0x52d4fd[_0x4784b0(0xf0)](new Date(),_0x2135f4);logger[_0x4784b0(0x13d)]('Execution\x20time\x20for\x20'+_0x156f1d+_0x4784b0(0x11c)+_0x209e82+'ms');const _0x577c89={};return _0x577c89[_0x4784b0(0xd8)]=_0x156f1d,_0x577c89[_0x4784b0(0x136)]=_0x209e82,_0x577c89;}catch(_0x474051){return logger['debug'](_0x4784b0(0x11d)+_0x156f1d+'\x20HUB\x20-\x20'+_0x474051),{};}},exports[a174_0x1ed331(0x105)]=async _0xbf0f9c=>{const _0x1e2560=a174_0x1ed331,_0x4413f7={'nuqXq':function(_0x3bf8bb,_0x5eaf38){return _0x3bf8bb(_0x5eaf38);},'yTgZM':_0x1e2560(0x11a),'TJObI':'/wd/hub','XJKTX':'GET','QkkYv':'next_hubs'};try{const _0xa1e32d=_0x4413f7['nuqXq'](require,_0x4413f7[_0x1e2560(0x107)])[_0x1e2560(0xd8)][_0x1e2560(0x101)](_0x4413f7[_0x1e2560(0x103)],''),_0x24f96b=await helper[_0x1e2560(0xee)](_0x4413f7[_0x1e2560(0xd6)],_0x4413f7[_0x1e2560(0x11b)],{},_0xbf0f9c,_0xa1e32d,0x1388),_0x787704=_0x24f96b['data'];return logger[_0x1e2560(0x13d)](_0x1e2560(0x110)+util[_0x1e2560(0x106)]('%j',_0x787704)),_0x787704['hubs'];}catch(_0xf3f435){logger[_0x1e2560(0x13d)](_0x1e2560(0x123)+_0xf3f435);}return null;};
|