browserstack-node-sdk 1.63.5 → 1.64.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -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/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/testcafe/a11y-runner.js +1 -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/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/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/driverInitErrorReporter.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
function a172_0x49be(_0x5644d5,_0x398fab){const _0x2c2373=a172_0x2c23();return a172_0x49be=function(_0x49bef1,_0x1dfa50){_0x49bef1=_0x49bef1-0x12c;let _0x423230=_0x2c2373[_0x49bef1];return _0x423230;},a172_0x49be(_0x5644d5,_0x398fab);}const a172_0xfc9f04=a172_0x49be;(function(_0x4b3edd,_0x3d1c68){const _0x5e8351=a172_0x49be,_0x19df80=_0x4b3edd();while(!![]){try{const _0xd30d7f=parseInt(_0x5e8351(0x1e9))/0x1+parseInt(_0x5e8351(0x1b6))/0x2+-parseInt(_0x5e8351(0x1f5))/0x3+-parseInt(_0x5e8351(0x12d))/0x4+parseInt(_0x5e8351(0x1f0))/0x5+-parseInt(_0x5e8351(0x184))/0x6+parseInt(_0x5e8351(0x12f))/0x7;if(_0xd30d7f===_0x3d1c68)break;else _0x19df80['push'](_0x19df80['shift']());}catch(_0x451e30){_0x19df80['push'](_0x19df80['shift']());}}}(a172_0x2c23,0x2f9a4));const bsSetupHelper=require(a172_0xfc9f04(0x1b7)),LoadTestModule=require('../../bin/v2/modules/loadTestModule'),{isTestObservabilitySession,getFrameworkVersion}=require('../test-observability/utils'),accessibilityHelper=require(a172_0xfc9f04(0x1df)),logger=require('../logger')[a172_0xfc9f04(0x203)],{nestedKeyValue}=require(a172_0xfc9f04(0x156)),scripts=require(a172_0xfc9f04(0x1ed)),globals=require(a172_0xfc9f04(0x1b3)),testHubConstants=require(a172_0xfc9f04(0x1b0)),PWTestDetails=require(a172_0xfc9f04(0x1ba)),JestTestDetails=require('../../bin/jest/test-observability/test-details.js'),{FRAMEWORKS}=require('../test-observability/constants.js'),{isTurboScaleSession}=require(a172_0xfc9f04(0x13e)),OrchestrationUtils=require(a172_0xfc9f04(0x1c4)),constants=require(a172_0xfc9f04(0x1d2));let testData={};function a172_0x2c23(){const _0x23e784=['szonl','skipCDPConnectOverride','debug','1106901KobiQk','isUndefined','commands','BROWSERSTACK_TESTHUB_UUID','scopes','logBuildError','eBeIB','lkgVF','../../bin/jasmine/testRunMap.js','XElTP','parseFromJson','OBSERVABILITY','Zcnhd','sr_automation','winstonLogger','value','name','description','zkVyA','kJnSG','jZdJd','QnQQk','cgHDT','1322676PUcCMS','goog:chromeOptions','2457294pXaVDE','ixGYj','checkAccessibilityPlatformConfig','[ACCESSIBILITY]\x20skip_cdp_connect_override\x20is\x20true,\x20skipping\x20CDP\x20connect\x20override','moDwT','BS_TESTOPS_JWT','Otrgp','titlePath','toUpperCase','parse','join','false','BS_TESTOPS_BUILD_COMPLETED','BBoyw','appendTesthubParams','../ats/helper','BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP','fNvNT','Unable\x20to\x20resolve\x20test\x20plan\x20id:\x20','gVRGC','platforms','VGKCi','parseA11yJwtPayload','length','accessibilityPlatform','CBTSessionCreated','uFemI','BROWSERSTACK_TESTHUB_UUID:\x20','fTqIW','TestRunStarted','getTestPlanId','4|0|3|2|1','mlLRC','isRunning','JEST','SkcOt','testManagementOptions','bTQPS','error','../helper.js','CPflK','ERROR','getCentralUser','hgwlJ','capabilities','CUCUMBER','cHKNU','soVRF','fKszy','BS_TESTOPS_BUILD_HASHED_ID','handleErrorForObservability','trim','isAppAutomateSession','getCurrentTestData','jiDvf','PeNOZ','keys','javascript','BROWSERSTACK_ACCESSIBILITY','EzVgP','isAccessibilityPlatform','oHPwo','setCurrentTestData','JASMINE','lWqVq','success','build_hashed_id','isPercyBuild','BROWSERSTACK_TEST_PLAN_ID','nonBStackInfraA11yChromeOptions','CZBBv','udgUs','HgMdm','HookRunStarted','TEST_MANAGEMENT_TEST_PLAN_ID_ARG','password','options','vuOQO','BROWSERSTACK_SR_AUTOMATION','CREDENTIALS_FOR_CRASH_REPORTING','BROWSERSTACK_TESTHUB_JWT','BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE','testPlanId','oNyFV','wwYJD','269964dqAdrU','accessibility','tags','yefDL','yLdio',']\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','EWUIo','LogCreated','isTrue','BAsHp','username','assign','null','NlJMa','isBrowserstackInfra','test_run','xrykY','dgGJL','KXYBM','CODECEPT','DWqjY','key','fMckS','TUHgh','HbCnC','UhFdS','getAccessibilityPlatformValidation','DvVds','BROWSERSTACK_PERCY','env','true','argv','getBuildStartData','GdgSg','shouldProcessEventForTesthub','sNrXT','getFrameworkDetails','setPercyFlag','setAccessibilityVariables','AwITw','jwt','YXLMo','errors','pVVKE','./constants.js','PLAYWRIGHT','slice','../globals.js','stringify','isLTSSession','80662PsXTvt','../helper','isAccessibilityEnabled','handleErrorForAccessibility','../../bin/playwright/reporter/test-details.js','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','bstackA11yShouldScan','getGlobal','1|5|4|2|0|3','eOxzH','jvcXM','QaTET','uuid','SwIcn','../test-orchestration/orchestrationUtils.js','forEach','uflnr','[ACCESSIBILITY]\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','includes','percy','ENV_VAR','rUGbT','getAccessibilityValueFromYml','shouldScanTestForAccessibility','string','YnDra','UMczm','startsWith','../../bin/utils/constants.js','aMkEC','product_map','isTurboScaleSession','BuNFn','command','message','ZVwgz','MOCHA','SEzeZ','RXXfw','split','DEPRECATED','../accessibility-automation/helper','TEST_REPORTING_ANALYTICS','get','PrEfg','setTestData','BROWSERSTACK_TEST_ACCESSIBILITY_YML','getTestFrameworkDetails','MuOzp','fbIbA','getTestOrchestrationBuildStartData','238779cFMWEd','observability','yVbAm','HookRunFinished','../accessibility-automation/scripts.js','nbNgq','vcFyJ','1547290wwmCVF','BS_TESTOPS_ALLOW_SCREENSHOTS'];a172_0x2c23=function(){return _0x23e784;};return a172_0x2c23();}exports['getProductMap']=_0x4269af=>{const _0x401d1c=a172_0xfc9f04,_0x918545={'sNrXT':function(_0x5bf0fd){return _0x5bf0fd();},'VGKCi':function(_0x1114cf,_0x2307dd){return _0x1114cf===_0x2307dd;},'tKWVN':_0x401d1c(0x1a2)};let _0x32d6ea=![],_0x6684f4=![];if(bsSetupHelper[_0x401d1c(0x192)]()&&bsSetupHelper[_0x401d1c(0x163)](_0x4269af))_0x6684f4=!![];else bsSetupHelper[_0x401d1c(0x192)]()&&(_0x32d6ea=!![]);return Object[_0x401d1c(0x18f)]({'observability':_0x918545[_0x401d1c(0x1a7)](isTestObservabilitySession),'accessibility':exports[_0x401d1c(0x1b8)](_0x4269af),'percy':_0x4269af['percy']||![],'sr_automation':_0x918545[_0x401d1c(0x144)](process['env'][_0x401d1c(0x17d)],_0x918545['tKWVN'])||_0x4269af[_0x401d1c(0x202)]||![],'automate':_0x32d6ea,'app_automate':_0x6684f4,'turboscale':bsSetupHelper['isTurboScaleSession'](_0x4269af),'lts':LoadTestModule['isLTSSession'](_0x4269af)},bsSetupHelper[_0x401d1c(0x159)]());},exports[a172_0xfc9f04(0x1a8)]=(_0x3ef8c1,_0x139193)=>{const _0x25ddbc=a172_0xfc9f04,_0x549cd3={'xrykY':function(_0x42dfcd,_0x11c42f){return _0x42dfcd(_0x11c42f);},'XElTP':_0x25ddbc(0x168)},_0x431add={'frameworkName':_0x139193,'frameworkVersion':_0x549cd3[_0x25ddbc(0x194)](getFrameworkVersion,_0x139193),'sdkVersion':bsSetupHelper['getAgentVersion'](),'language':_0x549cd3[_0x25ddbc(0x1fe)],'testFramework':bsSetupHelper[_0x25ddbc(0x1e5)](_0x3ef8c1,_0x139193)};return process['env']['FRAMEWORK_DETAILS']=JSON[_0x25ddbc(0x1b4)](_0x431add),_0x431add;},exports[a172_0xfc9f04(0x1a9)]=_0x3c1080=>{const _0x40b4af=a172_0xfc9f04,_0x2b6982={};_0x2b6982[_0x40b4af(0x14b)]=_0x40b4af(0x13a),_0x2b6982[_0x40b4af(0x1db)]=_0x40b4af(0x1a2);const _0x5c082f=_0x2b6982;process[_0x40b4af(0x1a1)][_0x40b4af(0x1a0)]=_0x5c082f['fTqIW'],bsSetupHelper[_0x40b4af(0x18c)](_0x3c1080['config'][_0x40b4af(0x1c9)])&&(!_0x3c1080['percy']||!_0x3c1080[_0x40b4af(0x1c9)][_0x40b4af(0x150)]())&&(process['env'][_0x40b4af(0x1a0)]=_0x5c082f[_0x40b4af(0x1db)]);},exports[a172_0xfc9f04(0x172)]=()=>{const _0x3f1163=a172_0xfc9f04;return bsSetupHelper['isTrue'](process[_0x3f1163(0x1a1)][_0x3f1163(0x1a0)]);},exports['isAccessibilityEnabled']=(_0xf509e4={})=>{const _0x599339=a172_0xfc9f04,_0x4ceb97={};_0x4ceb97[_0x599339(0x15e)]=function(_0x443b54,_0x1c62b4){return _0x443b54!==_0x1c62b4;},_0x4ceb97[_0x599339(0x1a5)]=function(_0x14e1f8,_0x4f550e){return _0x14e1f8===_0x4f550e;},_0x4ceb97[_0x599339(0x19b)]=_0x599339(0x1a2),_0x4ceb97[_0x599339(0x1f2)]=function(_0x113ecf,_0x1c8eb3){return _0x113ecf>_0x1c8eb3;},_0x4ceb97[_0x599339(0x208)]=function(_0x38b2a6,_0x41fb0f){return _0x38b2a6===_0x41fb0f;};const _0x492312=_0x4ceb97;if(_0x492312[_0x599339(0x15e)](process[_0x599339(0x1a1)]['BROWSERSTACK_ACCESSIBILITY'],undefined))return bsSetupHelper[_0x599339(0x18c)](process[_0x599339(0x1a1)][_0x599339(0x169)]);let _0x55e8c4=_0x492312[_0x599339(0x1a5)](process[_0x599339(0x1a1)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'],_0x492312['TUHgh']);return _0x492312[_0x599339(0x1f2)](Object['keys'](_0xf509e4)[_0x599339(0x146)],0x0)&&(process['env'][_0x599339(0x1bb)]=accessibilityHelper[_0x599339(0x131)](_0xf509e4)),_0x55e8c4=_0x55e8c4||_0x492312['kJnSG'](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM'],_0x492312[_0x599339(0x19b)]),_0x55e8c4;},exports['setTestObservabilityVariables']=(_0x23d260,_0x48acb0)=>{const _0x3f95d3=a172_0xfc9f04,_0x129617={'Otrgp':function(_0xba03f){return _0xba03f();},'DWqjY':_0x3f95d3(0x1be),'jvcXM':_0x3f95d3(0x1a2),'PeNOZ':function(_0x51f433,_0x57ad27,_0x566a48){return _0x51f433(_0x57ad27,_0x566a48);},'hgwlJ':_0x3f95d3(0x1ea),'ZVwgz':_0x3f95d3(0x17b)};if(!_0x23d260||!_0x23d260['observability'])return exports['handleErrorForObservability'](),[null,null,null];if(!_0x23d260['observability'][_0x3f95d3(0x170)])return exports[_0x3f95d3(0x161)](_0x23d260[_0x3f95d3(0x1ea)]),[null,null,null];if(_0x129617[_0x3f95d3(0x135)](isTestObservabilitySession)){const _0x499561=_0x129617[_0x3f95d3(0x198)]['split']('|');let _0x281ed5=0x0;while(!![]){switch(_0x499561[_0x281ed5++]){case'0':logger[_0x3f95d3(0x1f4)]('['+constants[_0x3f95d3(0x1e0)]+_0x3f95d3(0x189)+_0x23d260[_0x3f95d3(0x171)]);continue;case'1':process[_0x3f95d3(0x1a1)][_0x3f95d3(0x13b)]=_0x129617[_0x3f95d3(0x1c0)];continue;case'2':_0x129617[_0x3f95d3(0x166)](nestedKeyValue,_0x23d260,[_0x129617[_0x3f95d3(0x15a)],_0x129617[_0x3f95d3(0x1d9)]])&&(process[_0x3f95d3(0x1a1)][_0x3f95d3(0x1f1)]=_0x23d260[_0x3f95d3(0x1ea)][_0x3f95d3(0x17b)]['allow_screenshots']['toString']());continue;case'3':return[_0x23d260[_0x3f95d3(0x1ac)],_0x23d260[_0x3f95d3(0x171)],process['env'][_0x3f95d3(0x1f1)]];case'4':_0x23d260['build_hashed_id']&&(process[_0x3f95d3(0x1a1)]['BS_TESTOPS_BUILD_HASHED_ID']=_0x23d260[_0x3f95d3(0x171)]);continue;case'5':if(_0x23d260['jwt']){process['env'][_0x3f95d3(0x134)]=_0x23d260[_0x3f95d3(0x1ac)];const _0x144ac6={};_0x144ac6[_0x3f95d3(0x18e)]=_0x48acb0[_0x3f95d3(0x18e)],_0x144ac6[_0x3f95d3(0x17a)]=_0x48acb0[_0x3f95d3(0x17a)],process[_0x3f95d3(0x1a1)][_0x3f95d3(0x17e)]=JSON[_0x3f95d3(0x1b4)](_0x144ac6);}continue;}break;}}return[null,null,null];},exports[a172_0xfc9f04(0x1aa)]=_0xf0d5da=>{const _0xa359b6=a172_0xfc9f04,_0x1e1f00={'fNvNT':function(_0x2557be,_0x2dc1e9,_0x14fb47){return _0x2557be(_0x2dc1e9,_0x14fb47);},'KXYBM':'accessibility','jiDvf':_0xa359b6(0x17b),'UCHMZ':function(_0x19d6c2,_0x49aae2,_0x24c2ae,_0x23d9d9){return _0x19d6c2(_0x49aae2,_0x24c2ae,_0x23d9d9);},'pVVKE':_0xa359b6(0x205),'cHKNU':_0xa359b6(0x204),'pzjMI':function(_0x2f164d,_0x43e61a,_0x494f43,_0x91de23){return _0x2f164d(_0x43e61a,_0x494f43,_0x91de23);},'MuOzp':_0xa359b6(0x1d7),'rZqWh':_0xa359b6(0x1f7),'Zcnhd':function(_0x16d993,_0x54eb80,_0x342bc7,_0x3b6f45){return _0x16d993(_0x54eb80,_0x342bc7,_0x3b6f45);},'lkgVF':_0xa359b6(0x174),'EzVgP':_0xa359b6(0x12e),'jZdJd':function(_0x38e75a,_0xe7d40d){return _0x38e75a(_0xe7d40d);},'vuOQO':function(_0x2bafe2,_0x48bca7){return _0x2bafe2===_0x48bca7;},'FDToC':function(_0x5012d1,_0x44fd3a){return _0x5012d1===_0x44fd3a;},'bTQPS':_0xa359b6(0x1a2),'Qtxhq':_0xa359b6(0x132)};if(!_0xf0d5da[_0xa359b6(0x185)])return exports[_0xa359b6(0x1b9)](),[null,null];if(!_0xf0d5da[_0xa359b6(0x185)][_0xa359b6(0x170)])return exports[_0xa359b6(0x1b9)](_0xf0d5da[_0xa359b6(0x185)]),[null,null];if(_0x1e1f00[_0xa359b6(0x140)](nestedKeyValue,_0xf0d5da,[_0x1e1f00[_0xa359b6(0x196)],_0x1e1f00[_0xa359b6(0x165)]])){const {accessibilityToken:_0x52cb36,scannerVersion:_0x4c54a1,scannerProcessingTimeout:_0xdd5706,isMobileScanningEnabledForGroup:_0x473902}=_0x1e1f00['UCHMZ'](jsonifyAccessibilityArray,_0xf0d5da[_0xa359b6(0x185)][_0xa359b6(0x17b)]['capabilities'],_0x1e1f00[_0xa359b6(0x1af)],_0x1e1f00[_0xa359b6(0x15d)]),_0x51fa94={'scripts':_0x1e1f00['pzjMI'](jsonifyAccessibilityArray,_0xf0d5da[_0xa359b6(0x185)]['options']['scripts'],_0x1e1f00['pVVKE'],_0x1e1f00[_0xa359b6(0x1e6)])};_0x51fa94[_0x1e1f00['rZqWh']]=_0xf0d5da[_0xa359b6(0x185)][_0xa359b6(0x17b)]['commandsToWrap']['commands'];const _0x5456f0=_0x1e1f00[_0xa359b6(0x201)](jsonifyAccessibilityArray,_0xf0d5da[_0xa359b6(0x185)][_0xa359b6(0x17b)][_0xa359b6(0x15b)],_0x1e1f00[_0xa359b6(0x1af)],_0x1e1f00[_0xa359b6(0x15d)]);_0x51fa94[_0x1e1f00[_0xa359b6(0x1fc)]]=_0x5456f0[_0x1e1f00[_0xa359b6(0x16a)]],scripts[_0xa359b6(0x1ff)](_0x51fa94),scripts['toJson']();let _0x3e6d63=process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'];_0x3e6d63=!!_0x3e6d63?JSON[_0xa359b6(0x138)](_0x3e6d63):{},_0x3e6d63['scannerVersion']=_0x4c54a1,process[_0xa359b6(0x1a1)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0xa359b6(0x1b4)](_0x3e6d63),process[_0xa359b6(0x1a1)]['BS_A11Y_JWT']=_0x52cb36,process['env'][_0xa359b6(0x13f)]=_0x1e1f00[_0xa359b6(0x209)](String,_0x1e1f00[_0xa359b6(0x17c)](_0x473902,!![])||_0x1e1f00['FDToC'](_0x473902,_0x1e1f00[_0xa359b6(0x154)])),logger[_0xa359b6(0x1f4)](_0xa359b6(0x1c7)+_0xf0d5da[_0xa359b6(0x171)]);const _0x543e4e=accessibilityHelper[_0xa359b6(0x145)](_0x52cb36);return _0x543e4e&&bsSetupHelper[_0xa359b6(0x18c)](_0x543e4e[_0xa359b6(0x1f3)])&&(process['env'][_0xa359b6(0x180)]=!![],logger[_0xa359b6(0x1f4)](_0x1e1f00['Qtxhq'])),[_0x52cb36,_0xf0d5da[_0xa359b6(0x171)],_0xdd5706];}return[null,null];},exports[a172_0xfc9f04(0x161)]=_0x5f5606=>{const _0x42c293=a172_0xfc9f04,_0x2d003f={};_0x2d003f[_0x42c293(0x182)]='2|6|3|4|1|0|5',_0x2d003f['BuNFn']=_0x42c293(0x190),_0x2d003f[_0x42c293(0x1cf)]=_0x42c293(0x13a);const _0x517ab9=_0x2d003f,_0x1dc233=_0x517ab9[_0x42c293(0x182)][_0x42c293(0x1dd)]('|');let _0x767392=0x0;while(!![]){switch(_0x1dc233[_0x767392++]){case'0':process[_0x42c293(0x1a1)]['BS_TESTOPS_ALLOW_SCREENSHOTS']=_0x517ab9[_0x42c293(0x1d6)];continue;case'1':process['env'][_0x42c293(0x160)]=_0x517ab9[_0x42c293(0x1d6)];continue;case'2':process[_0x42c293(0x1a1)]['BROWSERSTACK_TESTHUB_UUID']=_0x517ab9[_0x42c293(0x1d6)];continue;case'3':process[_0x42c293(0x1a1)]['BS_TESTOPS_BUILD_COMPLETED']=_0x517ab9[_0x42c293(0x1cf)];continue;case'4':process[_0x42c293(0x1a1)]['BS_TESTOPS_JWT']=_0x517ab9[_0x42c293(0x1d6)];continue;case'5':exports[_0x42c293(0x1fa)](_0x5f5606,testHubConstants[_0x42c293(0x200)]);continue;case'6':process['env'][_0x42c293(0x17f)]=_0x517ab9[_0x42c293(0x1d6)];continue;}break;}},exports['handleErrorForAccessibility']=_0x53c35f=>{const _0x1d0f6e=a172_0xfc9f04,_0x33ca17={};_0x33ca17[_0x1d0f6e(0x20a)]=_0x1d0f6e(0x14e),_0x33ca17['EWUIo']=_0x1d0f6e(0x190),_0x33ca17[_0x1d0f6e(0x18d)]=_0x1d0f6e(0x13a);const _0x25b471=_0x33ca17,_0x4c96fd=_0x25b471[_0x1d0f6e(0x20a)][_0x1d0f6e(0x1dd)]('|');let _0x42c616=0x0;while(!![]){switch(_0x4c96fd[_0x42c616++]){case'0':process[_0x1d0f6e(0x1a1)][_0x1d0f6e(0x17f)]=_0x25b471[_0x1d0f6e(0x18a)];continue;case'1':exports[_0x1d0f6e(0x1fa)](_0x53c35f,testHubConstants['ACCESSIBILITY']);continue;case'2':process[_0x1d0f6e(0x1a1)][_0x1d0f6e(0x1bb)]=_0x25b471[_0x1d0f6e(0x18d)];continue;case'3':process['env'][_0x1d0f6e(0x1e4)]=_0x25b471['BAsHp'];continue;case'4':process['env'][_0x1d0f6e(0x1f8)]=_0x25b471['EWUIo'];continue;}break;}},exports['logBuildError']=(_0x2b5d50,_0x53723b='')=>{const _0x568112=a172_0xfc9f04,_0x5952ca={};_0x5952ca[_0x568112(0x1c1)]=function(_0x4fe4e7,_0x5e3c94){return _0x4fe4e7===_0x5e3c94;};const _0x14aa56=_0x5952ca;if(_0x14aa56[_0x568112(0x1c1)](_0x2b5d50,undefined)){logger[_0x568112(0x155)](_0x53723b[_0x568112(0x137)]()+'\x20Build\x20creation\x20failed');return;}for(const _0x15b886 of _0x2b5d50[_0x568112(0x1ae)]){const _0x589317=_0x15b886[_0x568112(0x199)],_0x862cae=_0x15b886[_0x568112(0x1d8)];if(_0x862cae)switch(_0x589317){case testHubConstants[_0x568112(0x158)]['INVALID_CREDENTIALS']:logger[_0x568112(0x155)](_0x862cae);break;case testHubConstants[_0x568112(0x158)]['ACCESS_DENIED']:logger['info'](_0x862cae);break;case testHubConstants[_0x568112(0x158)][_0x568112(0x1de)]:logger['error'](_0x862cae);break;default:logger[_0x568112(0x155)](_0x862cae);}}};const jsonifyAccessibilityArray=(_0x4845aa,_0x1fe514,_0xe7b0cf)=>{const _0x2ba66c=a172_0xfc9f04,_0x520c8e={};return _0x4845aa[_0x2ba66c(0x1c5)](_0x46959a=>{_0x520c8e[_0x46959a[_0x1fe514]]=_0x46959a[_0xe7b0cf];}),_0x520c8e;};exports['setTestHubCommonMetaInfo']=_0xe58b9a=>{const _0x1cbe21=a172_0xfc9f04;_0xe58b9a[_0x1cbe21(0x1ac)]&&(process[_0x1cbe21(0x1a1)][_0x1cbe21(0x17f)]=_0xe58b9a[_0x1cbe21(0x1ac)]);_0xe58b9a[_0x1cbe21(0x171)]&&(process[_0x1cbe21(0x1a1)]['BROWSERSTACK_TESTHUB_UUID']=_0xe58b9a[_0x1cbe21(0x171)],logger[_0x1cbe21(0x1f4)](_0x1cbe21(0x14a)+_0xe58b9a[_0x1cbe21(0x171)]));;},exports[a172_0xfc9f04(0x1a6)]=(_0x2f81d1='',_0x577486='')=>{const _0xbdf6ac=a172_0xfc9f04,_0x11d6d1={'YXLMo':function(_0x412de3){return _0x412de3();},'vcFyJ':function(_0x2c1c4a,_0x477778){return _0x2c1c4a===_0x477778;},'oHPwo':'uploadEventData','AwITw':_0xbdf6ac(0x18b),'SwIcn':_0xbdf6ac(0x148),'CMZHP':_0xbdf6ac(0x178),'BJxuo':_0xbdf6ac(0x1ec)};if(exports[_0xbdf6ac(0x172)]()&&!exports[_0xbdf6ac(0x1b8)]()&&!_0x11d6d1[_0xbdf6ac(0x1ad)](isTestObservabilitySession)){if(_0x11d6d1[_0xbdf6ac(0x1ef)](_0x577486,_0x11d6d1[_0xbdf6ac(0x16c)]))return![];if([_0x11d6d1[_0xbdf6ac(0x1ab)],_0x11d6d1[_0xbdf6ac(0x1c3)]][_0xbdf6ac(0x1c8)](_0x2f81d1))return![];return!![];}if(exports[_0xbdf6ac(0x1b8)]()&&!_0x11d6d1[_0xbdf6ac(0x1ad)](isTestObservabilitySession)){if([_0x11d6d1['CMZHP'],_0x11d6d1['BJxuo'],_0x11d6d1['AwITw']][_0xbdf6ac(0x1c8)](_0x2f81d1))return![];return!![];}return exports['isAccessibilityEnabled']()||_0x11d6d1[_0xbdf6ac(0x1ad)](isTestObservabilitySession)||exports[_0xbdf6ac(0x172)]();},exports[a172_0xfc9f04(0x13d)]=(_0x3a4a1c,_0x6a3991,_0x527173='',_0x3e4ddc)=>{const _0x3d4df3=a172_0xfc9f04,_0x2f964e={'eOxzH':_0x3d4df3(0x178),'yLdio':_0x3d4df3(0x1ec),'wwYJD':function(_0x359732,_0x5d7725){return _0x359732===_0x5d7725;},'nbNgq':_0x3d4df3(0x1bc),'UhFdS':_0x3d4df3(0x16b),'zkVyA':'accessibility','jUfJw':function(_0xb019cc,_0x532faa){return _0xb019cc&&_0x532faa;},'cgHDT':function(_0x3add65,_0x21fbe0){return _0x3add65===_0x21fbe0;},'RXXfw':function(_0x453c78,_0xc8e8dc){return _0x453c78+_0xc8e8dc;},'mlLRC':function(_0x4a8175,_0x19ff02){return _0x4a8175+_0x19ff02;},'bDUBn':function(_0x1d51fc,_0x2413ff){return _0x1d51fc&&_0x2413ff;},'DvVds':function(_0x41dfe0,_0x2afe71){return _0x41dfe0===_0x2afe71;},'yefDL':function(_0x51c0f0,_0x5d28e3){return _0x51c0f0(_0x5d28e3);},'rUGbT':_0x3d4df3(0x1fd),'BBoyw':function(_0x45de83,_0xa1b48c){return _0x45de83+_0xa1b48c;},'riKgF':function(_0xbbb9d5,_0x963674){return _0xbbb9d5&&_0x963674;},'moDwT':function(_0x12d431,_0x3bf0a3){return _0x12d431===_0x3bf0a3;},'ixGYj':function(_0x118eeb,_0x8985b7){return _0x118eeb===_0x8985b7;},'CZBBv':_0x3d4df3(0x14c),'HbCnC':function(_0x130105,_0x11a830){return _0x130105&&_0x11a830;},'lWqVq':function(_0x506ba7,_0x58a928){return _0x506ba7===_0x58a928;},'CPflK':function(_0x2d0f05,_0x2d2a69){return _0x2d0f05&&_0x2d2a69;},'Oskod':_0x3d4df3(0x1d4)};if(![_0x2f964e[_0x3d4df3(0x1bf)],_0x2f964e[_0x3d4df3(0x188)]][_0x3d4df3(0x1c8)](_0x6a3991)&&exports['isAccessibilityEnabled']()){const _0xfec1b6={};if(_0x2f964e[_0x3d4df3(0x183)](_0x3e4ddc,FRAMEWORKS[_0x3d4df3(0x1da)])){const _0x21e4d6=globals[_0x3d4df3(0x1bd)](_0x2f964e['nbNgq'])||accessibilityHelper[_0x3d4df3(0x1cd)](_0x527173['titlePath'](),!![]),_0x106ac1=globals[_0x3d4df3(0x1bd)](_0x2f964e[_0x3d4df3(0x19d)]);_0xfec1b6[_0x2f964e[_0x3d4df3(0x207)]]=_0x2f964e['jUfJw'](_0x106ac1,_0x21e4d6);}if(_0x2f964e[_0x3d4df3(0x12c)](_0x3e4ddc,FRAMEWORKS[_0x3d4df3(0x151)])){const _0x174ede=_0x2f964e[_0x3d4df3(0x1dc)](_0x2f964e['mlLRC'](_0x3a4a1c[_0x3d4df3(0x1f9)]['join']('\x20'),'\x20'),_0x527173['name']),_0x49c8ef=globals[_0x3d4df3(0x1bd)](_0x2f964e[_0x3d4df3(0x1ee)])||accessibilityHelper['shouldScanTestForAccessibility'](_0x174ede,![]),_0x21613a=browserStackGlobals['isAccessibilityPlatform'];_0xfec1b6[_0x2f964e[_0x3d4df3(0x207)]]=_0x2f964e['bDUBn'](_0x21613a,_0x49c8ef);}if(_0x2f964e[_0x3d4df3(0x19f)](_0x3e4ddc,FRAMEWORKS[_0x3d4df3(0x16e)])){const _0x4dee9c=_0x2f964e[_0x3d4df3(0x187)](require,_0x2f964e[_0x3d4df3(0x1cb)]),_0x4174bf=_0x527173&&_0x4dee9c[_0x3d4df3(0x1e1)](_0x527173['id'])||_0x3a4a1c[_0x3d4df3(0x1c2)];_0x4174bf&&(_0x3a4a1c[_0x3d4df3(0x1c2)]=_0x4174bf);const _0x47adab=_0x2f964e[_0x3d4df3(0x14f)](_0x2f964e[_0x3d4df3(0x13c)](_0x3a4a1c[_0x3d4df3(0x1f9)][_0x3d4df3(0x139)]('\x20'),'\x20'),_0x527173[_0x3d4df3(0x206)]||_0x3a4a1c['name']),_0x504f16=globals[_0x3d4df3(0x1bd)](_0x2f964e['nbNgq'])||accessibilityHelper[_0x3d4df3(0x1cd)](_0x47adab,![]),_0x63e91f=globals[_0x3d4df3(0x1bd)](_0x2f964e[_0x3d4df3(0x19d)]);_0xfec1b6[_0x2f964e[_0x3d4df3(0x207)]]=_0x2f964e['riKgF'](_0x63e91f,_0x504f16);}if(_0x2f964e[_0x3d4df3(0x133)](_0x3e4ddc,FRAMEWORKS[_0x3d4df3(0x1b1)])){if(_0x2f964e[_0x3d4df3(0x130)](_0x6a3991,_0x2f964e[_0x3d4df3(0x175)]))return;_0xfec1b6[_0x2f964e[_0x3d4df3(0x207)]]=PWTestDetails[_0x3d4df3(0x19e)](_0x3a4a1c['uuid']);}if(_0x2f964e['ixGYj'](_0x3e4ddc,FRAMEWORKS[_0x3d4df3(0x197)])){const _0x52f341=accessibilityHelper['shouldScanTestForAccessibility'](_0x527173[_0x3d4df3(0x136)](),!![]),_0x2183ea=global[_0x3d4df3(0x147)];_0xfec1b6[_0x2f964e[_0x3d4df3(0x207)]]=_0x2f964e[_0x3d4df3(0x19c)](_0x2183ea,_0x52f341);}if(_0x2f964e[_0x3d4df3(0x16f)](_0x3e4ddc,FRAMEWORKS[_0x3d4df3(0x15c)])){const _0x584b65=accessibilityHelper[_0x3d4df3(0x1cd)](null,![],_0x3a4a1c[_0x3d4df3(0x186)]),_0x542973=globals[_0x3d4df3(0x1bd)](_0x2f964e[_0x3d4df3(0x19d)]);_0xfec1b6[_0x2f964e[_0x3d4df3(0x207)]]=_0x2f964e[_0x3d4df3(0x157)](_0x542973,_0x584b65);}_0x3a4a1c[_0x2f964e['Oskod']]=_0xfec1b6;}},exports[a172_0xfc9f04(0x164)]=_0x5e74f4=>{const _0x120c87=a172_0xfc9f04,_0x53f2dd={};_0x53f2dd['dgGJL']=function(_0x13f68b,_0x41ef3e){return _0x13f68b>_0x41ef3e;};const _0x2b1a96=_0x53f2dd;let _0x4a16ea={};if(_0x2b1a96['dgGJL'](Object['keys'](testData)['length'],0x0))return testData;_0x4a16ea=JestTestDetails['getTestData']();if(_0x2b1a96[_0x120c87(0x195)](Object[_0x120c87(0x167)](_0x4a16ea)['length'],0x0))return _0x4a16ea;return _0x4a16ea;},exports[a172_0xfc9f04(0x16d)]=(_0x35512d,_0x27bb32={})=>{const _0x6c74fd=a172_0xfc9f04;if(bsSetupHelper[_0x6c74fd(0x1f6)](_0x27bb32[_0x6c74fd(0x193)]))return;switch(_0x35512d){case FRAMEWORKS[_0x6c74fd(0x1da)]:testData=_0x27bb32[_0x6c74fd(0x193)];break;case FRAMEWORKS[_0x6c74fd(0x151)]:JestTestDetails[_0x6c74fd(0x1e3)](_0x27bb32[_0x6c74fd(0x193)]);break;case FRAMEWORKS['JASMINE']:testData=_0x27bb32['test_run'];break;default:break;}},exports[a172_0xfc9f04(0x1cc)]=_0xbe50b5=>{const _0xcfcb33=a172_0xfc9f04,_0x1c51a5={};_0x1c51a5[_0xcfcb33(0x177)]=function(_0x1566bc,_0x25b967){return _0x1566bc!==_0x25b967;},_0x1c51a5[_0xcfcb33(0x1fb)]=function(_0x335eff,_0x136989){return _0x335eff!==_0x136989;},_0x1c51a5[_0xcfcb33(0x152)]=function(_0x2b044c,_0x233174){return _0x2b044c!==_0x233174;};const _0x9b488b=_0x1c51a5;if(_0x9b488b['HgMdm'](_0xbe50b5[_0xcfcb33(0x185)],null)&&_0x9b488b[_0xcfcb33(0x177)](_0xbe50b5[_0xcfcb33(0x185)],undefined))return _0xbe50b5['accessibility'];let _0x18eba4=![],_0x2c036b=![];if(_0xbe50b5[_0xcfcb33(0x143)])for(const _0x667201 of _0xbe50b5[_0xcfcb33(0x143)]){_0x9b488b[_0xcfcb33(0x1fb)](_0x667201[_0xcfcb33(0x185)],null)&&_0x9b488b[_0xcfcb33(0x152)](_0x667201[_0xcfcb33(0x185)],undefined)&&(_0x18eba4=_0x18eba4||bsSetupHelper[_0xcfcb33(0x18c)](_0x667201[_0xcfcb33(0x185)]),_0x2c036b=!![]);}if(_0x2c036b)return _0x18eba4;return null;},exports[a172_0xfc9f04(0x1e8)]=_0x11b3bd=>{const _0x4fcb25=a172_0xfc9f04;if(!_0x11b3bd)return{};const _0x350d32=new OrchestrationUtils(_0x11b3bd);return _0x350d32[_0x4fcb25(0x1a4)]();},exports['getProductMapForBuildStartCall']=_0x481dae=>{const _0x496bf8=a172_0xfc9f04,_0x4b97fd={'PrEfg':function(_0x27443d){return _0x27443d();},'NlJMa':function(_0x45c1c6,_0x2f16ad){return _0x45c1c6===_0x2f16ad;},'uFemI':_0x496bf8(0x1a2)};let _0x434ccf=![],_0x45a494=![];if(bsSetupHelper[_0x496bf8(0x192)]()&&bsSetupHelper[_0x496bf8(0x163)](_0x481dae))_0x45a494=!![];else bsSetupHelper[_0x496bf8(0x192)]()&&(_0x434ccf=!![]);return Object[_0x496bf8(0x18f)]({'observability':_0x4b97fd[_0x496bf8(0x1e2)](isTestObservabilitySession),'accessibility':exports['getAccessibilityValueFromYml'](_0x481dae),'percy':_0x481dae[_0x496bf8(0x1c9)]||![],'sr_automation':_0x4b97fd[_0x496bf8(0x191)](process['env'][_0x496bf8(0x17d)],_0x4b97fd[_0x496bf8(0x149)])||_0x481dae['sr_automation']||![],'automate':_0x434ccf,'app_automate':_0x45a494,'turboscale':bsSetupHelper[_0x496bf8(0x1d5)](_0x481dae),'lts':LoadTestModule[_0x496bf8(0x1b5)](_0x481dae)},bsSetupHelper['getCentralUser']());};const normalizeTestPlanId=_0x3e7048=>{const _0x596a36=a172_0xfc9f04,_0x560e13={};_0x560e13['fbIbA']=function(_0x384963,_0x48a4ce){return _0x384963!==_0x48a4ce;},_0x560e13[_0x596a36(0x1c6)]=_0x596a36(0x1ce),_0x560e13[_0x596a36(0x19a)]=function(_0x20bd86,_0x386281){return _0x20bd86>_0x386281;};const _0x28ca2f=_0x560e13;if(_0x28ca2f[_0x596a36(0x1e7)](typeof _0x3e7048,_0x28ca2f[_0x596a36(0x1c6)]))return undefined;const _0x2065ba=_0x3e7048[_0x596a36(0x162)]();return _0x28ca2f[_0x596a36(0x19a)](_0x2065ba[_0x596a36(0x146)],0x0)?_0x2065ba:undefined;},readTestPlanIdFromCliArgs=(_0x348fdc=process[a172_0xfc9f04(0x1a3)])=>{const _0x5933d2=a172_0xfc9f04,_0x45804b={};_0x45804b[_0x5933d2(0x1d0)]=function(_0x59a545,_0x2d0185){return _0x59a545<_0x2d0185;},_0x45804b[_0x5933d2(0x1d3)]=function(_0x11a09b,_0x3d6642){return _0x11a09b===_0x3d6642;},_0x45804b['gVRGC']=function(_0x1e5bda,_0x327d83){return _0x1e5bda+_0x327d83;};const _0x33bb66=_0x45804b,_0x2db342='--'+testHubConstants[_0x5933d2(0x179)];for(let _0x14d17e=0x0;_0x33bb66[_0x5933d2(0x1d0)](_0x14d17e,_0x348fdc[_0x5933d2(0x146)]);_0x14d17e+=0x1){const _0x4c80e2=_0x348fdc[_0x14d17e];if(_0x33bb66[_0x5933d2(0x1d3)](_0x4c80e2,_0x2db342)){const _0x37174d=_0x348fdc[_0x33bb66[_0x5933d2(0x142)](_0x14d17e,0x1)];if(!_0x37174d||_0x37174d[_0x5933d2(0x1d1)]('--'))return undefined;return _0x37174d;}if(_0x4c80e2[_0x5933d2(0x1d1)](_0x2db342+'='))return _0x4c80e2[_0x5933d2(0x1b2)](_0x33bb66['gVRGC'](_0x2db342[_0x5933d2(0x146)],0x1))||undefined;}return undefined;},readTestPlanIdFromConfig=(_0x2f1016={})=>{const _0x2e066f=a172_0xfc9f04,_0x3367c8={'fKszy':function(_0x25917f,_0x154924){return _0x25917f(_0x154924);}};return _0x3367c8[_0x2e066f(0x15f)](normalizeTestPlanId,_0x2f1016&&_0x2f1016[_0x2e066f(0x153)]&&_0x2f1016[_0x2e066f(0x153)][_0x2e066f(0x181)]);};exports[a172_0xfc9f04(0x14d)]=(_0x1712d6={},_0x4a7bbb=process['argv'],_0x29d365=process['env'])=>{const _0x118035=a172_0xfc9f04,_0x231601={'udgUs':function(_0x1d4efe,_0x4418cd){return _0x1d4efe(_0x4418cd);},'yVbAm':function(_0x129ab0,_0x4ea00c){return _0x129ab0(_0x4ea00c);},'VAJpz':function(_0x721e5a,_0x3343e5){return _0x721e5a(_0x3343e5);}};try{const _0x26ae4a=_0x231601[_0x118035(0x176)](normalizeTestPlanId,_0x231601[_0x118035(0x1eb)](readTestPlanIdFromCliArgs,_0x4a7bbb));if(_0x26ae4a)return _0x26ae4a;const _0xa42eca=_0x231601[_0x118035(0x176)](normalizeTestPlanId,_0x29d365&&_0x29d365[testHubConstants[_0x118035(0x1ca)][_0x118035(0x173)]]);if(_0xa42eca)return _0xa42eca;return _0x231601['VAJpz'](readTestPlanIdFromConfig,_0x1712d6);}catch(_0x4f41e0){return logger[_0x118035(0x1f4)](_0x118035(0x141)+(_0x4f41e0&&_0x4f41e0['message']?_0x4f41e0[_0x118035(0x1d8)]:_0x4f41e0)),undefined;}};
|
|
1
|
+
const a172_0x3f6817=a172_0x4dc4;(function(_0x559352,_0x3866c8){const _0x48f925=a172_0x4dc4,_0x29c2b7=_0x559352();while(!![]){try{const _0x5a82d0=-parseInt(_0x48f925(0x155))/0x1+parseInt(_0x48f925(0x15a))/0x2*(parseInt(_0x48f925(0x171))/0x3)+-parseInt(_0x48f925(0x19b))/0x4*(parseInt(_0x48f925(0x164))/0x5)+-parseInt(_0x48f925(0x149))/0x6+parseInt(_0x48f925(0x106))/0x7*(-parseInt(_0x48f925(0x1b7))/0x8)+parseInt(_0x48f925(0x174))/0x9*(-parseInt(_0x48f925(0x17b))/0xa)+parseInt(_0x48f925(0x176))/0xb;if(_0x5a82d0===_0x3866c8)break;else _0x29c2b7['push'](_0x29c2b7['shift']());}catch(_0x47d0f1){_0x29c2b7['push'](_0x29c2b7['shift']());}}}(a172_0x3f6a,0xcfb92));const bsSetupHelper=require(a172_0x3f6817(0x198)),LoadTestModule=require('../../bin/v2/modules/loadTestModule'),{isTestObservabilitySession,getFrameworkVersion}=require(a172_0x3f6817(0x100)),accessibilityHelper=require(a172_0x3f6817(0x107)),logger=require('../logger')[a172_0x3f6817(0x1be)],{nestedKeyValue}=require(a172_0x3f6817(0x1c4)),scripts=require('../accessibility-automation/scripts.js'),globals=require('../globals.js'),testHubConstants=require(a172_0x3f6817(0x1a2)),PWTestDetails=require(a172_0x3f6817(0x1bf)),JestTestDetails=require('../../bin/jest/test-observability/test-details.js'),{FRAMEWORKS}=require(a172_0x3f6817(0x16c)),{isTurboScaleSession}=require(a172_0x3f6817(0x158)),OrchestrationUtils=require('../test-orchestration/orchestrationUtils.js'),constants=require(a172_0x3f6817(0x18d));function a172_0x4dc4(_0x5b994d,_0x121d78){const _0x3f6ad2=a172_0x3f6a();return a172_0x4dc4=function(_0x4dc46d,_0x993b){_0x4dc46d=_0x4dc46d-0xf9;let _0xa1bf46=_0x3f6ad2[_0x4dc46d];return _0xa1bf46;},a172_0x4dc4(_0x5b994d,_0x121d78);}let testData={};exports[a172_0x3f6817(0x10f)]=_0x2899b9=>{const _0x39510d=a172_0x3f6817,_0x3e15fa={'zjloC':function(_0x37c44a){return _0x37c44a();},'WgBHp':function(_0x573390,_0x2ff1b5){return _0x573390===_0x2ff1b5;},'xrYvG':_0x39510d(0x13c)};let _0x401536=![],_0x2943f4=![];if(bsSetupHelper[_0x39510d(0x138)]()&&bsSetupHelper[_0x39510d(0x165)](_0x2899b9))_0x2943f4=!![];else bsSetupHelper[_0x39510d(0x138)]()&&(_0x401536=!![]);return Object[_0x39510d(0x19a)]({'observability':_0x3e15fa[_0x39510d(0x180)](isTestObservabilitySession),'accessibility':exports[_0x39510d(0x160)](_0x2899b9),'percy':_0x2899b9[_0x39510d(0x10e)]||![],'sr_automation':_0x3e15fa['WgBHp'](process[_0x39510d(0x1b2)][_0x39510d(0x111)],_0x3e15fa[_0x39510d(0x1bc)])||_0x2899b9[_0x39510d(0x192)]||![],'automate':_0x401536,'app_automate':_0x2943f4,'turboscale':bsSetupHelper['isTurboScaleSession'](_0x2899b9),'lts':LoadTestModule['isLTSSession'](_0x2899b9)},bsSetupHelper[_0x39510d(0x1c2)]());},exports[a172_0x3f6817(0x15d)]=(_0x2b8a20,_0xd72a33)=>{const _0x568431=a172_0x3f6817,_0x84fd2c={'VJrUX':function(_0x30891b,_0x57659b){return _0x30891b(_0x57659b);},'Voudu':_0x568431(0x1ad)},_0x450592={'frameworkName':_0xd72a33,'frameworkVersion':_0x84fd2c[_0x568431(0x18c)](getFrameworkVersion,_0xd72a33),'sdkVersion':bsSetupHelper[_0x568431(0x163)](),'language':_0x84fd2c[_0x568431(0xfb)],'testFramework':bsSetupHelper[_0x568431(0x19c)](_0x2b8a20,_0xd72a33)};return process[_0x568431(0x1b2)][_0x568431(0x11f)]=JSON[_0x568431(0x12b)](_0x450592),_0x450592;},exports[a172_0x3f6817(0x104)]=_0x1505a8=>{const _0x33de9f=a172_0x3f6817,_0x30fc55={};_0x30fc55['YkeTf']=_0x33de9f(0x1b0),_0x30fc55['uTBCq']=_0x33de9f(0x13c);const _0x41d3c8=_0x30fc55;process['env']['BROWSERSTACK_PERCY']=_0x41d3c8[_0x33de9f(0x121)],bsSetupHelper['isTrue'](_0x1505a8['config']['percy'])&&(!_0x1505a8[_0x33de9f(0x10e)]||!_0x1505a8['percy']['isRunning']())&&(process[_0x33de9f(0x1b2)]['BROWSERSTACK_PERCY']=_0x41d3c8['uTBCq']);},exports[a172_0x3f6817(0x15e)]=()=>{const _0x58f201=a172_0x3f6817;return bsSetupHelper[_0x58f201(0x16b)](process[_0x58f201(0x1b2)][_0x58f201(0x102)]);},exports[a172_0x3f6817(0x160)]=(_0x4ab9d4={})=>{const _0x21e071=a172_0x3f6817,_0x44bf6b={};_0x44bf6b['vsjjc']=function(_0x1c182b,_0x3c07fa){return _0x1c182b!==_0x3c07fa;},_0x44bf6b[_0x21e071(0x168)]=function(_0x15a5d7,_0x50b128){return _0x15a5d7===_0x50b128;},_0x44bf6b[_0x21e071(0x11c)]=_0x21e071(0x13c),_0x44bf6b[_0x21e071(0x1c1)]=function(_0x296ef2,_0x584928){return _0x296ef2>_0x584928;},_0x44bf6b[_0x21e071(0x1bd)]=function(_0x34db50,_0x102411){return _0x34db50===_0x102411;};const _0x5268a9=_0x44bf6b;if(_0x5268a9[_0x21e071(0x1cb)](process[_0x21e071(0x1b2)]['BROWSERSTACK_ACCESSIBILITY'],undefined))return bsSetupHelper[_0x21e071(0x16b)](process['env'][_0x21e071(0x10c)]);let _0x1dfae9=_0x5268a9['GjNIs'](process[_0x21e071(0x1b2)][_0x21e071(0x129)],_0x5268a9[_0x21e071(0x11c)]);return _0x5268a9['WatkR'](Object['keys'](_0x4ab9d4)[_0x21e071(0x1c5)],0x0)&&(process[_0x21e071(0x1b2)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=accessibilityHelper[_0x21e071(0x152)](_0x4ab9d4)),_0x1dfae9=_0x1dfae9||_0x5268a9[_0x21e071(0x1bd)](process[_0x21e071(0x1b2)][_0x21e071(0x1b3)],_0x5268a9[_0x21e071(0x11c)]),_0x1dfae9;},exports[a172_0x3f6817(0x113)]=(_0x17b773,_0x3a3d1f)=>{const _0x521807=a172_0x3f6817,_0x39d781={'BuaxI':function(_0x47509c){return _0x47509c();},'nhHxs':_0x521807(0x134),'cPnwi':function(_0x49b371,_0x4d04b9,_0x1af577){return _0x49b371(_0x4d04b9,_0x1af577);},'XiVfL':_0x521807(0x127),'iVVrx':_0x521807(0x147),'nEkiD':_0x521807(0x13c)};if(!_0x17b773||!_0x17b773[_0x521807(0x127)])return exports['handleErrorForObservability'](),[null,null,null];if(!_0x17b773[_0x521807(0x127)][_0x521807(0x12a)])return exports[_0x521807(0x1b8)](_0x17b773[_0x521807(0x127)]),[null,null,null];if(_0x39d781[_0x521807(0x119)](isTestObservabilitySession)){const _0x59d6d0=_0x39d781['nhHxs'][_0x521807(0x172)]('|');let _0x4867c9=0x0;while(!![]){switch(_0x59d6d0[_0x4867c9++]){case'0':if(_0x17b773[_0x521807(0x15c)]){process['env']['BS_TESTOPS_JWT']=_0x17b773[_0x521807(0x15c)];const _0x35ec23={};_0x35ec23[_0x521807(0x1a8)]=_0x3a3d1f[_0x521807(0x1a8)],_0x35ec23[_0x521807(0x1d8)]=_0x3a3d1f[_0x521807(0x1d8)],process[_0x521807(0x1b2)][_0x521807(0x1b9)]=JSON['stringify'](_0x35ec23);}continue;case'1':_0x17b773[_0x521807(0x1cd)]&&(process[_0x521807(0x1b2)]['BS_TESTOPS_BUILD_HASHED_ID']=_0x17b773[_0x521807(0x1cd)]);continue;case'2':_0x39d781[_0x521807(0x145)](nestedKeyValue,_0x17b773,[_0x39d781[_0x521807(0x1c8)],_0x39d781[_0x521807(0x11b)]])&&(process[_0x521807(0x1b2)][_0x521807(0x166)]=_0x17b773[_0x521807(0x127)][_0x521807(0x147)][_0x521807(0x16d)][_0x521807(0x1c7)]());continue;case'3':process['env'][_0x521807(0x137)]=_0x39d781['nEkiD'];continue;case'4':logger[_0x521807(0x1a3)]('['+constants['TEST_REPORTING_ANALYTICS']+_0x521807(0x132)+_0x17b773[_0x521807(0x1cd)]);continue;case'5':return[_0x17b773['jwt'],_0x17b773[_0x521807(0x1cd)],process['env'][_0x521807(0x166)]];}break;}}return[null,null,null];},exports[a172_0x3f6817(0x1a7)]=_0x1f2c5b=>{const _0x5c20b8=a172_0x3f6817,_0x3cef25={'lpUwZ':function(_0x2985f1,_0x50353e,_0x4ef246){return _0x2985f1(_0x50353e,_0x4ef246);},'RcUos':_0x5c20b8(0x1a5),'vjlYV':_0x5c20b8(0x147),'MZvnF':function(_0xbbb20e,_0x3371be,_0x2c6b65,_0x5971f0){return _0xbbb20e(_0x3371be,_0x2c6b65,_0x5971f0);},'dupAD':_0x5c20b8(0x13d),'COxnS':_0x5c20b8(0x14c),'LiOuu':function(_0x219e3e,_0x2de02b,_0x1bb553,_0x3f0113){return _0x219e3e(_0x2de02b,_0x1bb553,_0x3f0113);},'FqJPL':_0x5c20b8(0x1a0),'PGAjJ':_0x5c20b8(0x193),'IYGcB':_0x5c20b8(0x16a),'VKPhu':_0x5c20b8(0x167),'cQCPT':function(_0x47c92b,_0x13ac12){return _0x47c92b(_0x13ac12);},'UGdej':function(_0x5a648e,_0x3bedfc){return _0x5a648e===_0x3bedfc;},'qpZUE':function(_0x4279b2,_0x1396c3){return _0x4279b2===_0x1396c3;},'MkTcA':_0x5c20b8(0x13c),'cWtTX':_0x5c20b8(0x1d1)};if(!_0x1f2c5b[_0x5c20b8(0x1a5)])return exports[_0x5c20b8(0x120)](),[null,null];if(!_0x1f2c5b[_0x5c20b8(0x1a5)][_0x5c20b8(0x12a)])return exports[_0x5c20b8(0x120)](_0x1f2c5b[_0x5c20b8(0x1a5)]),[null,null];if(_0x3cef25[_0x5c20b8(0x182)](nestedKeyValue,_0x1f2c5b,[_0x3cef25[_0x5c20b8(0x139)],_0x3cef25[_0x5c20b8(0x116)]])){const {accessibilityToken:_0x402810,scannerVersion:_0x47fec0,scannerProcessingTimeout:_0x95969c,isMobileScanningEnabledForGroup:_0x3c0921}=_0x3cef25[_0x5c20b8(0x10d)](jsonifyAccessibilityArray,_0x1f2c5b[_0x5c20b8(0x1a5)][_0x5c20b8(0x147)][_0x5c20b8(0x133)],_0x3cef25[_0x5c20b8(0x1b6)],_0x3cef25[_0x5c20b8(0x101)]),_0x564552={'scripts':_0x3cef25[_0x5c20b8(0x142)](jsonifyAccessibilityArray,_0x1f2c5b[_0x5c20b8(0x1a5)]['options'][_0x5c20b8(0x162)],_0x3cef25[_0x5c20b8(0x1b6)],_0x3cef25['FqJPL'])};_0x564552[_0x3cef25[_0x5c20b8(0x189)]]=_0x1f2c5b['accessibility'][_0x5c20b8(0x147)]['commandsToWrap']['commands'];const _0xc9aa46=_0x3cef25[_0x5c20b8(0x142)](jsonifyAccessibilityArray,_0x1f2c5b[_0x5c20b8(0x1a5)][_0x5c20b8(0x147)]['capabilities'],_0x3cef25[_0x5c20b8(0x1b6)],_0x3cef25[_0x5c20b8(0x101)]);_0x564552[_0x3cef25['IYGcB']]=_0xc9aa46[_0x3cef25[_0x5c20b8(0xfd)]],scripts[_0x5c20b8(0x12f)](_0x564552),scripts[_0x5c20b8(0x1ae)]();let _0x3d90ef=process['env'][_0x5c20b8(0x151)];_0x3d90ef=!!_0x3d90ef?JSON[_0x5c20b8(0x112)](_0x3d90ef):{},_0x3d90ef[_0x5c20b8(0x1d0)]=_0x47fec0,process[_0x5c20b8(0x1b2)][_0x5c20b8(0x151)]=JSON[_0x5c20b8(0x12b)](_0x3d90ef),process[_0x5c20b8(0x1b2)][_0x5c20b8(0x175)]=_0x402810,process[_0x5c20b8(0x1b2)][_0x5c20b8(0x144)]=_0x3cef25['cQCPT'](String,_0x3cef25['UGdej'](_0x3c0921,!![])||_0x3cef25[_0x5c20b8(0x18a)](_0x3c0921,_0x3cef25[_0x5c20b8(0x169)])),logger['debug'](_0x5c20b8(0x1aa)+_0x1f2c5b[_0x5c20b8(0x1cd)]);const _0x1423ad=accessibilityHelper[_0x5c20b8(0x150)](_0x402810);return _0x1423ad&&bsSetupHelper[_0x5c20b8(0x16b)](_0x1423ad['skipCDPConnectOverride'])&&(process[_0x5c20b8(0x1b2)][_0x5c20b8(0x1ca)]=!![],logger[_0x5c20b8(0x1a3)](_0x3cef25['cWtTX'])),[_0x402810,_0x1f2c5b[_0x5c20b8(0x1cd)],_0x95969c];}return[null,null];},exports[a172_0x3f6817(0x1b8)]=_0x23aebc=>{const _0x13962f=a172_0x3f6817,_0x2a6334={};_0x2a6334[_0x13962f(0x196)]=_0x13962f(0x157),_0x2a6334[_0x13962f(0x128)]=_0x13962f(0x173),_0x2a6334[_0x13962f(0x18e)]='false';const _0xb33bef=_0x2a6334,_0x5c556a=_0xb33bef['dfYVd'][_0x13962f(0x172)]('|');let _0xfc9c47=0x0;while(!![]){switch(_0x5c556a[_0xfc9c47++]){case'0':process[_0x13962f(0x1b2)][_0x13962f(0x166)]=_0xb33bef[_0x13962f(0x128)];continue;case'1':process['env']['BS_TESTOPS_BUILD_COMPLETED']=_0xb33bef['iRJzM'];continue;case'2':exports[_0x13962f(0x1d3)](_0x23aebc,testHubConstants['OBSERVABILITY']);continue;case'3':process[_0x13962f(0x1b2)]['BROWSERSTACK_TESTHUB_JWT']=_0xb33bef[_0x13962f(0x128)];continue;case'4':process[_0x13962f(0x1b2)][_0x13962f(0x10a)]=_0xb33bef[_0x13962f(0x128)];continue;case'5':process['env'][_0x13962f(0x124)]=_0xb33bef['hRYrq'];continue;case'6':process[_0x13962f(0x1b2)]['BS_TESTOPS_BUILD_HASHED_ID']=_0xb33bef[_0x13962f(0x128)];continue;}break;}},exports[a172_0x3f6817(0x120)]=_0x4c2a11=>{const _0x14e548=a172_0x3f6817,_0x191abf={};_0x191abf[_0x14e548(0x1bb)]=_0x14e548(0x1c6),_0x191abf[_0x14e548(0x14d)]=_0x14e548(0x1b0),_0x191abf[_0x14e548(0x1c0)]=_0x14e548(0x173);const _0x284737=_0x191abf,_0xe1922=_0x284737[_0x14e548(0x1bb)]['split']('|');let _0x5a9486=0x0;while(!![]){switch(_0xe1922[_0x5a9486++]){case'0':process[_0x14e548(0x1b2)][_0x14e548(0x129)]=_0x284737['zIMNe'];continue;case'1':process[_0x14e548(0x1b2)][_0x14e548(0x170)]=_0x284737[_0x14e548(0x1c0)];continue;case'2':exports[_0x14e548(0x1d3)](_0x4c2a11,testHubConstants[_0x14e548(0x122)]);continue;case'3':process[_0x14e548(0x1b2)][_0x14e548(0x124)]=_0x284737[_0x14e548(0x1c0)];continue;case'4':process[_0x14e548(0x1b2)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x284737[_0x14e548(0x14d)];continue;}break;}},exports[a172_0x3f6817(0x1d3)]=(_0xfffb43,_0x5bc1b3='')=>{const _0x234e03=a172_0x3f6817,_0x416f4a={};_0x416f4a[_0x234e03(0x159)]=function(_0x4a8a8a,_0x5e59ba){return _0x4a8a8a===_0x5e59ba;};const _0xa5f882=_0x416f4a;if(_0xa5f882['mbuLp'](_0xfffb43,undefined)){logger['error'](_0x5bc1b3[_0x234e03(0x13f)]()+'\x20Build\x20creation\x20failed');return;}for(const _0xc279d0 of _0xfffb43['errors']){const _0x283f3a=_0xc279d0[_0x234e03(0x178)],_0x367076=_0xc279d0['message'];if(_0x367076)switch(_0x283f3a){case testHubConstants[_0x234e03(0x123)][_0x234e03(0xfc)]:logger['error'](_0x367076);break;case testHubConstants[_0x234e03(0x123)]['ACCESS_DENIED']:logger[_0x234e03(0x140)](_0x367076);break;case testHubConstants['ERROR'][_0x234e03(0x194)]:logger[_0x234e03(0x15f)](_0x367076);break;default:logger[_0x234e03(0x15f)](_0x367076);}}};const jsonifyAccessibilityArray=(_0x206630,_0x699d6d,_0x458372)=>{const _0x1016cf=a172_0x3f6817,_0x10f7c4={};return _0x206630[_0x1016cf(0x1ce)](_0x4ca564=>{_0x10f7c4[_0x4ca564[_0x699d6d]]=_0x4ca564[_0x458372];}),_0x10f7c4;};function a172_0x3f6a(){const _0x2a0f98=['build_hashed_id','forEach','setTestData','scannerVersion','[ACCESSIBILITY]\x20skip_cdp_connect_override\x20is\x20true,\x20skipping\x20CDP\x20connect\x20override','shouldScanTestForAccessibility','logBuildError','VNXTz','get','tags','CblNE','password','getAccessibilityPlatformValidation','HMWIc','getTestPlanId','Voudu','INVALID_CREDENTIALS','VKPhu','../../bin/jasmine/testRunMap.js','gnQcv','../test-observability/utils','COxnS','BROWSERSTACK_PERCY','titlePath','setPercyFlag','bGuSk','8911JJhdMk','../accessibility-automation/helper','TGQII','PztKP','BS_TESTOPS_JWT','cItPm','BROWSERSTACK_ACCESSIBILITY','MZvnF','percy','getProductMap','testManagementOptions','BROWSERSTACK_SR_AUTOMATION','parse','setTestObservabilityVariables','argv','uGmOU','vjlYV','platforms','getProductMapForBuildStartCall','BuaxI','JASMINE','iVVrx','ziivb','HookRunFinished','EdKlc','FRAMEWORK_DETAILS','handleErrorForAccessibility','YkeTf','ACCESSIBILITY','ERROR','BROWSERSTACK_TESTHUB_UUID','TEST_MANAGEMENT_TEST_PLAN_ID_ARG','egSBF','observability','hRYrq','BROWSERSTACK_TEST_ACCESSIBILITY_YML','success','stringify','oSMxl','eBonV','upDGf','parseFromJson','HookRunStarted','uploadEventData',']\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','capabilities','3|0|1|2|4|5','JwiPP','qOmRM','BS_TESTOPS_BUILD_COMPLETED','isBrowserstackInfra','RcUos','TestRunStarted','yBTIR','true','name','isTurboScaleSession','toUpperCase','info','uYZHh','LiOuu','hRXmc','BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP','cPnwi','getTestData','options','uuid','8791980JbjPnP','LogCreated','scopes','value','zIMNe','trim','vrhEW','parseA11yJwtPayload','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','checkAccessibilityPlatformConfig','setCurrentTestData','keys','323360zAOBYd','hYVsZ','5|3|1|4|6|0|2','../ats/helper','mbuLp','83880YTCRdc','ENV_VAR','jwt','getFrameworkDetails','isPercyBuild','error','isAccessibilityEnabled','slice','scripts','getAgentVersion','30035iqyozN','isAppAutomateSession','BS_TESTOPS_ALLOW_SCREENSHOTS','goog:chromeOptions','GjNIs','MkTcA','nonBStackInfraA11yChromeOptions','isTrue','../test-observability/constants.js','allow_screenshots','hMGMm','accessibilityPlatform','BROWSERSTACK_TESTHUB_JWT','18vEybXm','split','null','27WMhdJH','BS_A11Y_JWT','59639217cGEJZe','MOCHA','key','VsqYx','isLTSSession','4424410MxXbZN','startsWith','RXrOt','JEST','waEkg','zjloC','MqcSH','lpUwZ','setTestHubCommonMetaInfo','getTestOrchestrationBuildStartData','sXofH','getCurrentTestData','getGlobal','AgUeu','PGAjJ','qpZUE','join','VJrUX','../../bin/utils/constants.js','iRJzM','gqaor','BsoXx','gBDYp','sr_automation','commands','DEPRECATED','CODECEPT','dfYVd','message','../helper','JEogR','assign','504GXhrBi','getTestFrameworkDetails','oiQWY','getAccessibilityValueFromYml','EJErI','command','rBEfy','./constants.js','debug','product_map','accessibility','includes','setAccessibilityVariables','username','CUCUMBER','[ACCESSIBILITY]\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','string','isAccessibilityPlatform','javascript','toJson','bstackA11yShouldScan','false','description','env','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','getBuildStartData','IPCyX','dupAD','5968noNhuK','handleErrorForObservability','CREDENTIALS_FOR_CRASH_REPORTING','LRAfi','COerM','xrYvG','KXzYo','winstonLogger','../../bin/playwright/reporter/test-details.js','nYQpS','WatkR','getCentralUser','BROWSERSTACK_TESTHUB_UUID:\x20','../helper.js','length','3|1|0|4|2','toString','XiVfL','KdbBB','BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE','vsjjc','test_run'];a172_0x3f6a=function(){return _0x2a0f98;};return a172_0x3f6a();}exports[a172_0x3f6817(0x183)]=_0x25845a=>{const _0x353705=a172_0x3f6817;_0x25845a[_0x353705(0x15c)]&&(process[_0x353705(0x1b2)][_0x353705(0x170)]=_0x25845a['jwt']);_0x25845a[_0x353705(0x1cd)]&&(process[_0x353705(0x1b2)][_0x353705(0x124)]=_0x25845a[_0x353705(0x1cd)],logger['debug'](_0x353705(0x1c3)+_0x25845a[_0x353705(0x1cd)]));;},exports['shouldProcessEventForTesthub']=(_0x85041a='',_0x172a57='')=>{const _0x29f80e=a172_0x3f6817,_0x21a29f={'gBDYp':function(_0x1b803d){return _0x1b803d();},'MqcSH':function(_0xf8b4de,_0x3333ad){return _0xf8b4de===_0x3333ad;},'JwiPP':_0x29f80e(0x131),'PztKP':_0x29f80e(0x14a),'hRXmc':'CBTSessionCreated','VpsTI':_0x29f80e(0x130),'VsqYx':_0x29f80e(0x11d),'uGmOU':function(_0x73df30){return _0x73df30();}};if(exports[_0x29f80e(0x15e)]()&&!exports[_0x29f80e(0x160)]()&&!_0x21a29f[_0x29f80e(0x191)](isTestObservabilitySession)){if(_0x21a29f[_0x29f80e(0x181)](_0x172a57,_0x21a29f[_0x29f80e(0x135)]))return![];if([_0x21a29f[_0x29f80e(0x109)],_0x21a29f[_0x29f80e(0x143)]][_0x29f80e(0x1a6)](_0x85041a))return![];return!![];}if(exports['isAccessibilityEnabled']()&&!_0x21a29f[_0x29f80e(0x191)](isTestObservabilitySession)){if([_0x21a29f['VpsTI'],_0x21a29f[_0x29f80e(0x179)],_0x21a29f['PztKP']][_0x29f80e(0x1a6)](_0x85041a))return![];return!![];}return exports[_0x29f80e(0x160)]()||_0x21a29f[_0x29f80e(0x115)](isTestObservabilitySession)||exports[_0x29f80e(0x15e)]();},exports['appendTesthubParams']=(_0x192931,_0x26e848,_0x25f17b='',_0x4d5981)=>{const _0x36a053=a172_0x3f6817,_0x2a2c56={'yBTIR':_0x36a053(0x130),'hYVsZ':_0x36a053(0x11d),'gnQcv':function(_0x1fe32d,_0xa48adf){return _0x1fe32d===_0xa48adf;},'RXrOt':_0x36a053(0x1af),'EJErI':_0x36a053(0x1ac),'gqaor':_0x36a053(0x1a5),'VNXTz':function(_0x2f77b6,_0x459139){return _0x2f77b6&&_0x459139;},'JEogR':function(_0x5f0996,_0x19206f){return _0x5f0996+_0x19206f;},'sXofH':function(_0x43b246,_0x1fc8da){return _0x43b246(_0x1fc8da);},'IPCyX':_0x36a053(0xfe),'rBEfy':function(_0x19e7d8,_0x2fce07){return _0x19e7d8&&_0x2fce07;},'ocjJG':function(_0xadb0dd,_0x285fdc){return _0xadb0dd===_0x285fdc;},'LRAfi':function(_0x449969,_0xf12d52){return _0x449969===_0xf12d52;},'cItPm':_0x36a053(0x13a),'KdbBB':function(_0x563a1e,_0x2cbdf8){return _0x563a1e===_0x2cbdf8;},'HMWIc':function(_0x3d40aa,_0x1b10dc){return _0x3d40aa&&_0x1b10dc;},'HNJsJ':_0x36a053(0x1a4)};if(![_0x2a2c56[_0x36a053(0x13b)],_0x2a2c56[_0x36a053(0x156)]]['includes'](_0x26e848)&&exports[_0x36a053(0x160)]()){const _0x195cad={};if(_0x2a2c56[_0x36a053(0xff)](_0x4d5981,FRAMEWORKS['MOCHA'])){const _0x275e10=globals[_0x36a053(0x187)](_0x2a2c56[_0x36a053(0x17d)])||accessibilityHelper[_0x36a053(0x1d2)](_0x25f17b[_0x36a053(0x103)](),!![]),_0x2b4665=globals[_0x36a053(0x187)](_0x2a2c56[_0x36a053(0x19f)]);_0x195cad[_0x2a2c56[_0x36a053(0x18f)]]=_0x2a2c56[_0x36a053(0x1d4)](_0x2b4665,_0x275e10);}if(_0x2a2c56[_0x36a053(0xff)](_0x4d5981,FRAMEWORKS[_0x36a053(0x17e)])){const _0xd0ce0a=_0x2a2c56['JEogR'](_0x2a2c56[_0x36a053(0x199)](_0x192931[_0x36a053(0x14b)]['join']('\x20'),'\x20'),_0x25f17b[_0x36a053(0x13d)]),_0x113798=globals[_0x36a053(0x187)](_0x2a2c56['RXrOt'])||accessibilityHelper[_0x36a053(0x1d2)](_0xd0ce0a,![]),_0x57c597=browserStackGlobals[_0x36a053(0x1ac)];_0x195cad[_0x2a2c56[_0x36a053(0x18f)]]=_0x2a2c56['VNXTz'](_0x57c597,_0x113798);}if(_0x2a2c56['gnQcv'](_0x4d5981,FRAMEWORKS[_0x36a053(0x11a)])){const _0x2865a2=_0x2a2c56[_0x36a053(0x185)](require,_0x2a2c56[_0x36a053(0x1b5)]),_0x5cdaa7=_0x25f17b&&_0x2865a2[_0x36a053(0x1d5)](_0x25f17b['id'])||_0x192931[_0x36a053(0x148)];_0x5cdaa7&&(_0x192931[_0x36a053(0x148)]=_0x5cdaa7);const _0x243915=_0x2a2c56[_0x36a053(0x199)](_0x2a2c56[_0x36a053(0x199)](_0x192931['scopes'][_0x36a053(0x18b)]('\x20'),'\x20'),_0x25f17b[_0x36a053(0x1b1)]||_0x192931[_0x36a053(0x13d)]),_0x5f0abb=globals[_0x36a053(0x187)](_0x2a2c56[_0x36a053(0x17d)])||accessibilityHelper[_0x36a053(0x1d2)](_0x243915,![]),_0x365db0=globals[_0x36a053(0x187)](_0x2a2c56[_0x36a053(0x19f)]);_0x195cad[_0x2a2c56[_0x36a053(0x18f)]]=_0x2a2c56[_0x36a053(0x1a1)](_0x365db0,_0x5f0abb);}if(_0x2a2c56['ocjJG'](_0x4d5981,FRAMEWORKS['PLAYWRIGHT'])){if(_0x2a2c56[_0x36a053(0x1ba)](_0x26e848,_0x2a2c56[_0x36a053(0x10b)]))return;_0x195cad[_0x2a2c56[_0x36a053(0x18f)]]=PWTestDetails[_0x36a053(0x1d9)](_0x192931[_0x36a053(0x148)]);}if(_0x2a2c56[_0x36a053(0x1c9)](_0x4d5981,FRAMEWORKS[_0x36a053(0x195)])){const _0x2271b9=accessibilityHelper[_0x36a053(0x1d2)](_0x25f17b[_0x36a053(0x103)](),!![]),_0x500f09=global[_0x36a053(0x16f)];_0x195cad[_0x2a2c56[_0x36a053(0x18f)]]=_0x2a2c56['HMWIc'](_0x500f09,_0x2271b9);}if(_0x2a2c56['KdbBB'](_0x4d5981,FRAMEWORKS[_0x36a053(0x1a9)])){const _0x549b17=accessibilityHelper['shouldScanTestForAccessibility'](null,![],_0x192931[_0x36a053(0x1d6)]),_0x2a4bca=globals[_0x36a053(0x187)](_0x2a2c56[_0x36a053(0x19f)]);_0x195cad[_0x2a2c56[_0x36a053(0x18f)]]=_0x2a2c56[_0x36a053(0xf9)](_0x2a4bca,_0x549b17);}_0x192931[_0x2a2c56['HNJsJ']]=_0x195cad;}},exports[a172_0x3f6817(0x186)]=_0x33af77=>{const _0x120147=a172_0x3f6817,_0x3a46ef={};_0x3a46ef[_0x120147(0x12e)]=function(_0xafc3c,_0x541807){return _0xafc3c>_0x541807;};const _0x28ca06=_0x3a46ef;let _0x641e15={};if(_0x28ca06['upDGf'](Object[_0x120147(0x154)](testData)[_0x120147(0x1c5)],0x0))return testData;_0x641e15=JestTestDetails[_0x120147(0x146)]();if(_0x28ca06['upDGf'](Object[_0x120147(0x154)](_0x641e15)[_0x120147(0x1c5)],0x0))return _0x641e15;return _0x641e15;},exports[a172_0x3f6817(0x153)]=(_0x1c8901,_0x4de145={})=>{const _0x1063bf=a172_0x3f6817;if(bsSetupHelper['isUndefined'](_0x4de145[_0x1063bf(0x1cc)]))return;switch(_0x1c8901){case FRAMEWORKS[_0x1063bf(0x177)]:testData=_0x4de145[_0x1063bf(0x1cc)];break;case FRAMEWORKS[_0x1063bf(0x17e)]:JestTestDetails[_0x1063bf(0x1cf)](_0x4de145[_0x1063bf(0x1cc)]);break;case FRAMEWORKS[_0x1063bf(0x11a)]:testData=_0x4de145['test_run'];break;default:break;}},exports[a172_0x3f6817(0x19e)]=_0x5dfe07=>{const _0x168bd0=a172_0x3f6817,_0x38f82e={};_0x38f82e[_0x168bd0(0x19d)]=function(_0x3fb3e9,_0x4faef7){return _0x3fb3e9!==_0x4faef7;},_0x38f82e['uYZHh']=function(_0x2bc6e1,_0x26683d){return _0x2bc6e1!==_0x26683d;},_0x38f82e[_0x168bd0(0x14f)]=function(_0x29b067,_0x5b9754){return _0x29b067!==_0x5b9754;};const _0x1ca329=_0x38f82e;if(_0x1ca329[_0x168bd0(0x19d)](_0x5dfe07[_0x168bd0(0x1a5)],null)&&_0x1ca329[_0x168bd0(0x141)](_0x5dfe07['accessibility'],undefined))return _0x5dfe07['accessibility'];let _0x2bc051=![],_0x526b38=![];if(_0x5dfe07[_0x168bd0(0x117)])for(const _0x52186f of _0x5dfe07[_0x168bd0(0x117)]){_0x1ca329['oiQWY'](_0x52186f[_0x168bd0(0x1a5)],null)&&_0x1ca329[_0x168bd0(0x14f)](_0x52186f[_0x168bd0(0x1a5)],undefined)&&(_0x2bc051=_0x2bc051||bsSetupHelper[_0x168bd0(0x16b)](_0x52186f[_0x168bd0(0x1a5)]),_0x526b38=!![]);}if(_0x526b38)return _0x2bc051;return null;},exports[a172_0x3f6817(0x184)]=_0x499b88=>{const _0x290937=a172_0x3f6817;if(!_0x499b88)return{};const _0x3fe640=new OrchestrationUtils(_0x499b88);return _0x3fe640[_0x290937(0x1b4)]();},exports[a172_0x3f6817(0x118)]=_0x2c2ef5=>{const _0x3ee9af=a172_0x3f6817,_0x7ca176={'BsoXx':function(_0xda7ad9){return _0xda7ad9();},'TGQII':function(_0x3f5de1,_0x470fb8){return _0x3f5de1===_0x470fb8;},'egSBF':'true'};let _0x37f092=![],_0x1485db=![];if(bsSetupHelper[_0x3ee9af(0x138)]()&&bsSetupHelper[_0x3ee9af(0x165)](_0x2c2ef5))_0x1485db=!![];else bsSetupHelper[_0x3ee9af(0x138)]()&&(_0x37f092=!![]);return Object[_0x3ee9af(0x19a)]({'observability':_0x7ca176[_0x3ee9af(0x190)](isTestObservabilitySession),'accessibility':exports[_0x3ee9af(0x19e)](_0x2c2ef5),'percy':_0x2c2ef5[_0x3ee9af(0x10e)]||![],'sr_automation':_0x7ca176[_0x3ee9af(0x108)](process['env'][_0x3ee9af(0x111)],_0x7ca176[_0x3ee9af(0x126)])||_0x2c2ef5[_0x3ee9af(0x192)]||![],'automate':_0x37f092,'app_automate':_0x1485db,'turboscale':bsSetupHelper[_0x3ee9af(0x13e)](_0x2c2ef5),'lts':LoadTestModule[_0x3ee9af(0x17a)](_0x2c2ef5)},bsSetupHelper[_0x3ee9af(0x1c2)]());};const normalizeTestPlanId=_0x152745=>{const _0x1ca2b7=a172_0x3f6817,_0x2ac284={};_0x2ac284[_0x1ca2b7(0x136)]=function(_0x5ecad9,_0x320856){return _0x5ecad9!==_0x320856;},_0x2ac284[_0x1ca2b7(0x12c)]=_0x1ca2b7(0x1ab),_0x2ac284['hMGMm']=function(_0x3a114a,_0x35f930){return _0x3a114a>_0x35f930;};const _0x4f3b74=_0x2ac284;if(_0x4f3b74['qOmRM'](typeof _0x152745,_0x4f3b74['oSMxl']))return undefined;const _0x3397ee=_0x152745[_0x1ca2b7(0x14e)]();return _0x4f3b74[_0x1ca2b7(0x16e)](_0x3397ee[_0x1ca2b7(0x1c5)],0x0)?_0x3397ee:undefined;},readTestPlanIdFromCliArgs=(_0x57b1f8=process['argv'])=>{const _0x2755f1=a172_0x3f6817,_0x443dc1={};_0x443dc1['AgUeu']=function(_0x5ecb38,_0x44eb07){return _0x5ecb38<_0x44eb07;},_0x443dc1[_0x2755f1(0x12d)]=function(_0x175ddf,_0x350d51){return _0x175ddf===_0x350d51;},_0x443dc1[_0x2755f1(0x1d7)]=function(_0x1e22cd,_0x261f95){return _0x1e22cd+_0x261f95;},_0x443dc1[_0x2755f1(0x17f)]=function(_0x4bba0c,_0x3fcd33){return _0x4bba0c+_0x3fcd33;};const _0x10cde1=_0x443dc1,_0x5470f1='--'+testHubConstants[_0x2755f1(0x125)];for(let _0x5ec732=0x0;_0x10cde1[_0x2755f1(0x188)](_0x5ec732,_0x57b1f8['length']);_0x5ec732+=0x1){const _0x69b140=_0x57b1f8[_0x5ec732];if(_0x10cde1['eBonV'](_0x69b140,_0x5470f1)){const _0x511b31=_0x57b1f8[_0x10cde1[_0x2755f1(0x1d7)](_0x5ec732,0x1)];if(!_0x511b31||_0x511b31[_0x2755f1(0x17c)]('--'))return undefined;return _0x511b31;}if(_0x69b140[_0x2755f1(0x17c)](_0x5470f1+'='))return _0x69b140[_0x2755f1(0x161)](_0x10cde1['waEkg'](_0x5470f1[_0x2755f1(0x1c5)],0x1))||undefined;}return undefined;},readTestPlanIdFromConfig=(_0x910d38={})=>{const _0x1791c7=a172_0x3f6817,_0x43a891={'bOJux':function(_0x5d3fb4,_0x279c97){return _0x5d3fb4(_0x279c97);}};return _0x43a891['bOJux'](normalizeTestPlanId,_0x910d38&&_0x910d38['testManagementOptions']&&_0x910d38[_0x1791c7(0x110)]['testPlanId']);};exports[a172_0x3f6817(0xfa)]=(_0xca297e={},_0x3735a6=process[a172_0x3f6817(0x114)],_0x210756=process['env'])=>{const _0x329bc2=a172_0x3f6817,_0x82fcbf={'bGuSk':function(_0x2d48ff,_0x1ec292){return _0x2d48ff(_0x1ec292);},'EdKlc':function(_0x409867,_0x2b1f3b){return _0x409867(_0x2b1f3b);}};try{const _0x2f9868=_0x82fcbf[_0x329bc2(0x105)](normalizeTestPlanId,_0x82fcbf[_0x329bc2(0x105)](readTestPlanIdFromCliArgs,_0x3735a6));if(_0x2f9868)return _0x2f9868;const _0x16c7f5=_0x82fcbf[_0x329bc2(0x11e)](normalizeTestPlanId,_0x210756&&_0x210756[testHubConstants[_0x329bc2(0x15b)]['BROWSERSTACK_TEST_PLAN_ID']]);if(_0x16c7f5)return _0x16c7f5;return _0x82fcbf[_0x329bc2(0x11e)](readTestPlanIdFromConfig,_0xca297e);}catch(_0x173c50){return logger[_0x329bc2(0x1a3)]('Unable\x20to\x20resolve\x20test\x20plan\x20id:\x20'+(_0x173c50&&_0x173c50[_0x329bc2(0x197)]?_0x173c50[_0x329bc2(0x197)]:_0x173c50)),undefined;}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a173_0x1ce470=a173_0x329c;function a173_0x2003(){const _0x125d2d=['9kAJJMA','64366lRKbJk','fireFunnelTestEvent','exports','2169928TyecoE','2329467OkjLlo','11vqOfyK','5415560jBpCGa','830806VWdYGn','457992UYRtJh','12rxzcyB','cancel','666ANjUCX','zCEfD','./utilities','20780oIpZbb','busAM'];a173_0x2003=function(){return _0x125d2d;};return a173_0x2003();}(function(_0x10418b,_0x18dbad){const _0x154773=a173_0x329c,_0x26e005=_0x10418b();while(!![]){try{const _0x15dd09=parseInt(_0x154773(0x9f))/0x1+parseInt(_0x154773(0x98))/0x2*(parseInt(_0x154773(0xa1))/0x3)+-parseInt(_0x154773(0xa0))/0x4+parseInt(_0x154773(0xa6))/0x5*(-parseInt(_0x154773(0xa3))/0x6)+parseInt(_0x154773(0x9c))/0x7+parseInt(_0x154773(0x9b))/0x8*(parseInt(_0x154773(0x97))/0x9)+parseInt(_0x154773(0x9e))/0xa*(-parseInt(_0x154773(0x9d))/0xb);if(_0x15dd09===_0x18dbad)break;else _0x26e005['push'](_0x26e005['shift']());}catch(_0x55a16d){_0x26e005['push'](_0x26e005['shift']());}}}(a173_0x2003,0x6ceee));const utilities=require(a173_0x1ce470(0xa5));function a173_0x329c(_0x3b1549,_0x25e14d){const _0x200345=a173_0x2003();return a173_0x329c=function(_0x329cd3,_0x3a9f0f){_0x329cd3=_0x329cd3-0x97;let _0x26b1e4=_0x200345[_0x329cd3];return _0x26b1e4;},a173_0x329c(_0x3b1549,_0x25e14d);}module[a173_0x1ce470(0x9a)]=(_0x3a2891,_0x1e64b3,_0x5e3770,_0x1f6946,_0x4d8d64,_0x33731a)=>{const _0xeae094=a173_0x1ce470,_0x53b856={'azGDK':function(_0x87f6a,_0x22abb1){return _0x87f6a-_0x22abb1;},'busAM':function(_0x25c59c,_0x3003da){return _0x25c59c(_0x3003da);},'zCEfD':function(_0x163a13,_0x134216,_0x4d08dd){return _0x163a13(_0x134216,_0x4d08dd);}};let _0x5d863f,_0x14e753=![];const _0x4b7ae1=new Promise((_0xb35f50,_0x4e326b)=>{const _0x4c8738=a173_0x329c;_0x5d863f=_0x53b856[_0x4c8738(0xa4)](setTimeout,()=>{const _0x3ef863=_0x4c8738;if(!_0x14e753){const _0x80b79e={'status':''+_0x1e64b3,'timeTaken':_0x53b856['azGDK'](new Date(),_0x1f6946)};utilities[_0x3ef863(0x99)](_0x5e3770,_0x80b79e,_0x4d8d64,_0x33731a),_0x53b856[_0x3ef863(0xa7)](_0x4e326b,new Error(_0x1e64b3));}},_0x3a2891);});return _0x4b7ae1[_0xeae094(0xa2)]=()=>{const _0x810da5=_0xeae094;_0x14e753=!![],_0x53b856[_0x810da5(0xa7)](clearTimeout,_0x5d863f);},_0x4b7ae1;};
|
package/src/helpers/utilities.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function a174_0x1896(_0x229712,_0x2452f5){const _0x5a2389=a174_0x5a23();return a174_0x1896=function(_0x189607,_0x23e017){_0x189607=_0x189607-0x121;let _0x414f53=_0x5a2389[_0x189607];return _0x414f53;},a174_0x1896(_0x229712,_0x2452f5);}const a174_0x341712=a174_0x1896;(function(_0x527a38,_0x41a299){const _0x4d6eb2=a174_0x1896,_0x55319a=_0x527a38();while(!![]){try{const _0xb6f90f=parseInt(_0x4d6eb2(0x135))/0x1+parseInt(_0x4d6eb2(0x123))/0x2*(parseInt(_0x4d6eb2(0x19f))/0x3)+-parseInt(_0x4d6eb2(0x187))/0x4*(parseInt(_0x4d6eb2(0x19d))/0x5)+-parseInt(_0x4d6eb2(0x199))/0x6+parseInt(_0x4d6eb2(0x177))/0x7*(parseInt(_0x4d6eb2(0x167))/0x8)+-parseInt(_0x4d6eb2(0x18b))/0x9+parseInt(_0x4d6eb2(0x181))/0xa;if(_0xb6f90f===_0x41a299)break;else _0x55319a['push'](_0x55319a['shift']());}catch(_0x3fa07b){_0x55319a['push'](_0x55319a['shift']());}}}(a174_0x5a23,0x1e7ee));const os=require('os'),util=require(a174_0x341712(0x12d)),fs=require('fs'),{getProductMap}=require(a174_0x341712(0x189)),logger=require(a174_0x341712(0x194))[a174_0x341712(0x159)],constants=require('../bin/utils/constants'),testHubConstants=require(a174_0x341712(0x14d)),{getTransformPath}=require(a174_0x341712(0x18c)),{FUNNEL_INSTRUMENTATION_API_URL}=require('../bin/utils/constants'),{generateCIArtifacts,printNudgeLocalNotSetError}=require('./helper'),PerformanceTester=require(a174_0x341712(0x170)),globals=require('./globals'),helper=require(a174_0x341712(0x1ab)),{isTestObservabilitySession}=require(a174_0x341712(0x1a2));let unhandledErrors='';function a174_0x5a23(){const _0x105dc9=['sanitizeBrowserStackConfig','application/json','./performance/performance-tester','xGOLm','ENV_VAR','gNWBs','isModifiable','source','toRfu','283388AJOaQE','trim','hostname','getOptimalHubUrl','reduce','unknown','errorMessage','Tgexp','config','codeceptjs','2736240gPtcDm','Firing\x20SDK\x20event\x20for\x20funnel\x20data:\x20','notifyUpdate','null','iIqDQ','hmXij','28HYELiz','QhMKV','./testhub/utils','POST','1540098PihgUR','../bin/playwright/reporter/pwUtils','killSignal','QDmgX','getPackageVersion','forEach','browserStackConfig','accessSync','Directory\x20','./logger','Something\x20went\x20wrong\x20in\x20Final\x20Execution\x20step\x20:\x20','isAppAutomateSession','buildName','ZdCJS','60648FqVNxD','[REDACTED]','\x20has\x20now\x20read/write/execute\x20permissions.','stringify','173760wLPtyL','sdkRunId','3jVnvmA','fireFunnelTestEvent','isBrowserstackInfra','./test-observability/utils','OoxoD','KnfOa','bNNzX','APP_AUTOMATE_PRODUCTS','X_OK','finalExecution','API\x20Event\x20','CbINj','./helper','user_killed','tests','getAccessKey','split','seleniumVersion','prAhU','RavDN','every','SDK\x20run\x20ended\x20for\x20id:\x20','SDKTestSuccessful','browserVersion','257118fBmPmD','apply','stopPercy','framework','length','Oxxyp','isTurboScaleSession','oKBeh','values','getNodeAgent','util','IVFCP','SDiMP','getTurboScaleSessionsList','qQyhk','body','W_OK','name','66253IGRCvi','chmodSync','getGlobal','MYZAy','event_properties','type','YEbRZ','APP_AUTOMATE','version','nodejs','getStackTraceAsString','content-type','sendLogs','info','constants','Failed\x20to\x20set\x20directory\x20access:\x20','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','undefined','nodeRequest','Error\x20in\x20getting\x20framework\x20version\x20to\x20:\x20','format','getTestFrameworkDetails',',\x20testhub\x20id:\x20','replace','../helpers/testhub/constants','lfpwU','FqYmG','deviceName','object','hxODa','error','requirePWModule','getUserName','playwrightVersion','klqWp','\x20:\x20','winstonLogger','assign','debug','browser','BROWSERSTACK_TESTHUB_UUID','AUTOMATE_PRODUCTS','PofAD','stack','toString','BGQeI','qPOvn','_hubAllocationData','_buildHashedId','Error\x20while\x20parsing\x20tests\x20errors,\x20Exception:\x20','16bSeLGS','getSessionsList','env','Playwright','Error\x20in\x20firing\x20request\x20to\x20','all','keys'];a174_0x5a23=function(){return _0x105dc9;};return a174_0x5a23();}exports['fireFunnelTestEvent']=async(_0x5ac0ea,_0x4ded14={},_0x42fe52,_0x13ead9,_0x5438d7=![])=>{const _0x5294e1=a174_0x341712,_0x3d4ff7={'qPOvn':function(_0x13646b,_0x54b18f){return _0x13646b===_0x54b18f;},'gNWBs':_0x5294e1(0x151),'IVFCP':function(_0x72044c,_0x1c4bca){return _0x72044c>_0x1c4bca;},'ZdCJS':_0x5294e1(0x1ad),'PofAD':function(_0x1b7ff6){return _0x1b7ff6();},'hxODa':function(_0x26cee0,_0x210077){return _0x26cee0==_0x210077;},'BGQeI':_0x5294e1(0x184),'YEbRZ':_0x5294e1(0x146),'IgufK':_0x5294e1(0x180),'WAmJr':function(_0x34c189,_0x39643d){return _0x34c189!==_0x39643d;},'lfpwU':_0x5294e1(0x16a),'FqYmG':function(_0x4238fe,_0x3aa20a){return _0x4238fe===_0x3aa20a;},'prAhU':_0x5294e1(0x153),'qQyhk':function(_0x5a6e23,_0x2852c0){return _0x5a6e23>_0x2852c0;},'IfOAd':function(_0x53df53,_0x5da1e4){return _0x53df53+_0x5da1e4;},'klqWp':_0x5294e1(0x166),'bNNzX':_0x5294e1(0x165),'SDiMP':function(_0x2b922c,_0x5a100f){return _0x2b922c(_0x5a100f);},'SNTfX':function(_0x3623c5,_0x48459f){return _0x3623c5(_0x48459f);},'toRfu':_0x5294e1(0x17c),'IXHjG':_0x5294e1(0x13e),'QhMKV':_0x5294e1(0x121),'Tgexp':function(_0x534152){return _0x534152();},'mMWnD':'selenium-webdriver','WRYFt':_0x5294e1(0x16f),'oKBeh':_0x5294e1(0x19a),'CbINj':_0x5294e1(0x18a)};let _0x469634=[];if(helper['isBrowserstackInfra']()&&_0x3d4ff7[_0x5294e1(0x15f)](isTestObservabilitySession))_0x469634=helper[_0x5294e1(0x196)](_0x42fe52)?constants[_0x5294e1(0x1a6)]:constants[_0x5294e1(0x15e)];else{if(_0x3d4ff7['PofAD'](isTestObservabilitySession))_0x469634=constants[_0x5294e1(0x145)];else helper[_0x5294e1(0x1a1)]()&&(_0x469634=helper[_0x5294e1(0x196)](_0x42fe52)?constants[_0x5294e1(0x13c)]:constants['AUTOMATE']);}let _0x5c4ad8=_0x42fe52['buildIdentifier'];if(_0x3d4ff7[_0x5294e1(0x152)](_0x5c4ad8,null))_0x5c4ad8=_0x3d4ff7[_0x5294e1(0x162)];else _0x3d4ff7[_0x5294e1(0x163)](_0x5c4ad8,undefined)&&(_0x5c4ad8=_0x3d4ff7[_0x5294e1(0x13b)]);unhandledErrors&&_0x3d4ff7[_0x5294e1(0x12e)](unhandledErrors[_0x5294e1(0x127)],0x0)&&(_0x4ded14['globalException']=unhandledErrors);global['sdkRunId']&&(_0x4ded14[_0x5294e1(0x19e)]=global['sdkRunId']);try{if(_0x4ded14[_0x5294e1(0x153)]){if(_0x3d4ff7[_0x5294e1(0x163)](_0x13ead9,_0x3d4ff7['IgufK'])&&_0x3d4ff7[_0x5294e1(0x12e)](_0x4ded14[_0x5294e1(0x153)]['length'],0x0)){const _0x2cc8ac={};_0x2cc8ac['os']='',_0x2cc8ac['osVersion']='',_0x2cc8ac[_0x5294e1(0x15c)]='',_0x2cc8ac[_0x5294e1(0x122)]='';const _0x467272=_0x2cc8ac;let _0x5b273e={};const _0x2f65c5=_0x4ded14['error'];_0x5b273e=_0x2f65c5[_0x5294e1(0x17b)]((_0x56c1b5,_0x177630)=>{for(const _0x509c7b in _0x177630){_0x56c1b5[_0x509c7b]=_0x177630[_0x509c7b];}return _0x56c1b5;},{});const _0x4eda18={};_0x4eda18[_0x5294e1(0x1ad)]=_0x5b273e,_0x4ded14['error']=[Object[_0x5294e1(0x15a)]({},_0x467272,_0x4eda18)];}else{let _0x27d03b=0x0;const _0x822700=_0x3d4ff7['WAmJr'](_0x13ead9,_0x3d4ff7[_0x5294e1(0x14e)])?JSON['parse'](_0x4ded14[_0x5294e1(0x153)]):_0x4ded14['error'],_0x88b4d9=Object[_0x5294e1(0x12b)](_0x822700);_0x88b4d9['forEach'](_0x5ad24b=>{const _0x1ebd8e=_0x5294e1;if(_0x3d4ff7[_0x1ebd8e(0x163)](typeof _0x5ad24b,_0x3d4ff7[_0x1ebd8e(0x173)])){const _0x2c1033=Object[_0x1ebd8e(0x12b)](_0x5ad24b);!_0x2c1033[_0x1ebd8e(0x1b3)](_0x4608d4=>_0x4608d4===null||_0x4608d4===undefined||_0x4608d4==='')&&(_0x27d03b+=0x1);}});if(_0x3d4ff7[_0x5294e1(0x14f)](_0x27d03b,0x0))delete _0x4ded14[_0x3d4ff7[_0x5294e1(0x1b1)]];else{const _0x160a28=[];Object[_0x5294e1(0x16d)](_0x822700)[_0x5294e1(0x190)](_0x161cc7=>{const _0x83a3e2=_0x5294e1,_0x9d09e1={'QDmgX':function(_0x361780,_0x57d236){const _0x58867b=a174_0x1896;return _0x3d4ff7[_0x58867b(0x12e)](_0x361780,_0x57d236);}},[_0x1f3a1b,_0x139367,_0x351272,_0xa28c6a]=_0x161cc7[_0x83a3e2(0x1af)](',\x20');let _0x5ea0cd={};if(!_0xa28c6a){const _0x1f3b7d={};_0x1f3b7d[_0x83a3e2(0x150)]=_0x1f3a1b,_0x1f3b7d['osVersion']=_0x139367,_0x1f3b7d['browser']=_0x351272,_0x5ea0cd=_0x1f3b7d;}else{const _0x18d0af={};_0x18d0af['os']=_0x1f3a1b,_0x18d0af['osVersion']=_0x139367,_0x18d0af[_0x83a3e2(0x15c)]=_0x351272,_0x18d0af['browserVersion']=_0xa28c6a,_0x5ea0cd=_0x18d0af;}const _0x123d96={},_0x1473aa=_0x822700[_0x161cc7];Object['keys'](_0x1473aa)[_0x83a3e2(0x190)](_0x399300=>{const _0x5a11d7=_0x83a3e2;_0x9d09e1[_0x5a11d7(0x18e)](_0x1473aa[_0x399300][_0x5a11d7(0x127)],0x0)&&(_0x123d96[_0x399300]=_0x1473aa[_0x399300]);}),_0x3d4ff7[_0x83a3e2(0x12e)](Object[_0x83a3e2(0x16d)](_0x123d96)[_0x83a3e2(0x127)],0x0)&&(_0x5ea0cd[_0x3d4ff7[_0x83a3e2(0x198)]]=_0x123d96,_0x160a28['push'](_0x5ea0cd));}),_0x3d4ff7[_0x5294e1(0x131)](_0x160a28['length'],0x0)?_0x4ded14[_0x5294e1(0x153)]=_0x160a28:delete _0x4ded14[_0x3d4ff7[_0x5294e1(0x1b1)]];}}}}catch(_0x19af8b){delete _0x4ded14[_0x3d4ff7[_0x5294e1(0x1b1)]],logger[_0x5294e1(0x15b)](_0x3d4ff7['IfOAd'](_0x3d4ff7[_0x5294e1(0x157)],_0x19af8b));}const _0x3b5850=helper[_0x5294e1(0x14a)](_0x42fe52,_0x42fe52[_0x5294e1(0x126)]),_0xf10c9e={'userName':helper[_0x5294e1(0x155)](_0x42fe52),'accessKey':helper['getAccessKey'](_0x42fe52),'event_type':_0x5ac0ea,'detectedFramework':_0x13ead9,'buildHashedId':globals[_0x5294e1(0x137)](_0x3d4ff7[_0x5294e1(0x1a5)]),'optimalHubUrl':helper[_0x5294e1(0x17a)](),'event_properties':{'testhub_uuid':process[_0x5294e1(0x169)][testHubConstants[_0x5294e1(0x172)]['BROWSERSTACK_TESTHUB_UUID']]||'','sdkRunId':global[_0x5294e1(0x19e)],'product_map':_0x3d4ff7[_0x5294e1(0x12f)](getProductMap,_0x42fe52),'productMap':_0x3d4ff7['SNTfX'](getProductMap,_0x42fe52),'language_framework':_0x42fe52[_0x5294e1(0x175)]||_0x3d4ff7[_0x5294e1(0x176)],'referrer':helper[_0x5294e1(0x12c)](_0x13ead9),'framework':_0x42fe52['framework'],'frameworkVersion':helper['getFrameworkVersion'](_0x13ead9),'automationFramework':_0x3b5850[_0x5294e1(0x134)],'automationFrameworkVersion':_0x3b5850[_0x5294e1(0x13d)],'language':_0x3d4ff7['IXHjG'],'languageVersion':process['version'],'product':_0x469634,'buildName':_0x42fe52[_0x5294e1(0x197)]||_0x3d4ff7[_0x5294e1(0x13b)],'buildIdentifier':_0x5c4ad8,'os':os[_0x5294e1(0x13a)]()||_0x3d4ff7[_0x5294e1(0x176)],'hostname':os[_0x5294e1(0x179)]()||_0x3d4ff7[_0x5294e1(0x176)],..._0x4ded14,'isCLIEnabled':_0x5438d7}};try{_0x3d4ff7['qPOvn'](_0x5ac0ea,_0x3d4ff7[_0x5294e1(0x188)])&&(_0xf10c9e[_0x5294e1(0x139)][_0x5294e1(0x191)]=helper[_0x5294e1(0x16e)](_0x42fe52)),_0x3d4ff7['FqYmG'](_0x13ead9,_0x3d4ff7[_0x5294e1(0x14e)])?_0xf10c9e[_0x5294e1(0x139)][_0x5294e1(0x156)]=helper[_0x5294e1(0x154)][_0x5294e1(0x124)](null,_0x3d4ff7[_0x5294e1(0x17e)](getTransformPath),!![]):_0xf10c9e['event_properties'][_0x5294e1(0x1b0)]=helper[_0x5294e1(0x18f)](_0x3d4ff7['mMWnD']);}catch(_0x401c11){logger[_0x5294e1(0x15b)](_0x5294e1(0x148)+_0x401c11);}const _0x22bc7c={};_0x22bc7c[_0x5294e1(0x140)]=_0x3d4ff7['WRYFt'];const _0x11a3a5={'headers':_0x22bc7c,'body':_0xf10c9e,'auth':{'user':helper[_0x5294e1(0x155)](_0x42fe52),'pass':helper[_0x5294e1(0x1ae)](_0x42fe52)},'json':!![]};logger['debug'](_0x5294e1(0x182)+JSON[_0x5294e1(0x19c)](_0x11a3a5[_0x5294e1(0x132)])[_0x5294e1(0x14c)](new RegExp(helper[_0x5294e1(0x155)](_0x42fe52),'g'),_0x3d4ff7[_0x5294e1(0x12a)])[_0x5294e1(0x14c)](new RegExp(helper['getAccessKey'](_0x42fe52),'g'),_0x3d4ff7[_0x5294e1(0x12a)]));try{const _0x38779c=await helper[_0x5294e1(0x147)](_0x3d4ff7[_0x5294e1(0x1aa)],FUNNEL_INSTRUMENTATION_API_URL,_0x11a3a5,_0x42fe52);logger[_0x5294e1(0x15b)](_0x5294e1(0x1a9)+_0x5ac0ea+'\x20response\x20-\x20'+util[_0x5294e1(0x149)]('%j',_0x38779c));}catch(_0xc22427){logger[_0x5294e1(0x15b)](_0x5294e1(0x16b)+FUNNEL_INSTRUMENTATION_API_URL+_0x5294e1(0x158)+util[_0x5294e1(0x149)](_0xc22427));}},exports[a174_0x341712(0x1a8)]=async(_0x54542f,_0x203e1c=![])=>{const _0x31f369=a174_0x341712,_0x167203={'xGOLm':function(_0x9d2594){return _0x9d2594();},'RavDN':_0x31f369(0x164),'hmXij':'finishedMetadata','EOrrb':_0x31f369(0x1ac),'Oxxyp':_0x31f369(0x121),'iIqDQ':function(_0x450638,_0x4d1545,_0x342b3c){return _0x450638(_0x4d1545,_0x342b3c);},'KnfOa':function(_0x1bf443,_0x33a32d){return _0x1bf443+_0x33a32d;},'OMeGQ':_0x31f369(0x195)};try{await _0x54542f[_0x31f369(0x125)](),_0x167203[_0x31f369(0x171)](printNudgeLocalNotSetError);const _0x5539fd={};_0x5539fd[_0x31f369(0x153)]=_0x54542f[_0x31f369(0x17d)]?_0x54542f[_0x31f369(0x17d)]:'{}';const _0x8e8711=_0x5539fd,_0x4f66a0=Object[_0x31f369(0x15a)]({},_0x8e8711),_0x2cd840=globals['getGlobal'](_0x167203[_0x31f369(0x1b2)]);_0x2cd840&&(_0x4f66a0['hubAllocation']=_0x2cd840);!!_0x54542f['killSignal']&&(_0x4f66a0[_0x167203[_0x31f369(0x186)]]={'reason':_0x167203['EOrrb'],'signal':_0x54542f[_0x31f369(0x18d)]});unhandledErrors=_0x54542f['unhandledErrors']['join']('\x0a');let _0x233331,_0x719fb4,_0x4df035;helper[_0x31f369(0x129)](_0x54542f[_0x31f369(0x17f)])?([_0x233331,_0x719fb4]=await helper['getTurboScaleBuildLink'](_0x54542f[_0x31f369(0x17f)]),[_0x4df035]=await Promise[_0x31f369(0x16c)]([helper[_0x31f369(0x130)](_0x233331,_0x54542f[_0x31f369(0x17f)]),exports[_0x31f369(0x1a0)](_0x167203[_0x31f369(0x128)],_0x4f66a0,_0x54542f[_0x31f369(0x17f)],_0x54542f[_0x31f369(0x126)],_0x203e1c)])):([_0x233331,_0x719fb4]=await helper['getBuildLink'](_0x54542f['config']),[_0x4df035]=await Promise[_0x31f369(0x16c)]([helper[_0x31f369(0x168)](_0x233331,_0x54542f['config']),exports['fireFunnelTestEvent'](_0x167203[_0x31f369(0x128)],_0x4f66a0,_0x54542f[_0x31f369(0x17f)],_0x54542f[_0x31f369(0x126)],_0x203e1c)])),_0x4df035&&await _0x167203[_0x31f369(0x185)](generateCIArtifacts,_0x4df035,_0x719fb4),logger[_0x31f369(0x142)](_0x31f369(0x1b4)+_0x54542f[_0x31f369(0x19e)]+_0x31f369(0x14b)+process[_0x31f369(0x169)][_0x31f369(0x15d)]),await helper[_0x31f369(0x141)](_0x54542f['config']);}catch(_0x1eef8b){logger['debug'](_0x167203[_0x31f369(0x1a4)](_0x167203['OMeGQ'],_0x1eef8b));}helper[_0x31f369(0x183)]();},exports[a174_0x341712(0x13f)]=_0x4911d5=>{const _0x1aaaca=a174_0x341712,_0x3d4414={'nkrhM':function(_0x53d183,_0x85a2d3){return _0x53d183 instanceof _0x85a2d3;},'MYZAy':function(_0x5e7a27,_0x256a1f){return _0x5e7a27(_0x256a1f);}};try{if(_0x3d4414['nkrhM'](_0x4911d5,Error))return _0x4911d5[_0x1aaaca(0x160)]||_0x4911d5[_0x1aaaca(0x161)]();return _0x3d4414[_0x1aaaca(0x138)](String,_0x4911d5);}catch(_0x3cdbbf){return _0x4911d5?_0x4911d5[_0x1aaaca(0x161)]():'';}},exports['isNullOrEmpty']=_0x592324=>{const _0x4612d3=a174_0x341712,_0x548887={};_0x548887[_0x4612d3(0x1a3)]=function(_0x462b01,_0x3daa51){return _0x462b01===_0x3daa51;};const _0xa6c367=_0x548887;return!_0x592324||_0xa6c367[_0x4612d3(0x1a3)](_0x592324[_0x4612d3(0x178)](),'');},exports[a174_0x341712(0x174)]=_0xad57de=>{const _0x31c750=a174_0x341712,_0x3de32c={};_0x3de32c['YlYdc']=function(_0xe08f3a,_0x5c1a8){return _0xe08f3a|_0x5c1a8;};const _0xdccdd2=_0x3de32c;try{return fs[_0x31c750(0x192)](_0xad57de,_0xdccdd2['YlYdc'](fs[_0x31c750(0x143)][_0x31c750(0x133)],fs[_0x31c750(0x143)][_0x31c750(0x1a7)])),!![];}catch(_0x413b4c){return![];}},exports['setReadWriteExecuteAccess']=_0x1190a8=>{const _0x43f810=a174_0x341712;try{fs[_0x43f810(0x136)](_0x1190a8,0x1ff),logger['debug'](_0x43f810(0x193)+_0x1190a8+_0x43f810(0x19b));}catch(_0x242fe2){logger[_0x43f810(0x153)](_0x43f810(0x144)+exports['getStackTraceAsString'](_0x242fe2));}};
|
|
1
|
+
const a174_0x45b3d8=a174_0x3b6f;(function(_0x1d1546,_0x647f1a){const _0x596ede=a174_0x3b6f,_0x3e9905=_0x1d1546();while(!![]){try{const _0x496563=-parseInt(_0x596ede(0x1ba))/0x1+-parseInt(_0x596ede(0x183))/0x2*(-parseInt(_0x596ede(0x1d4))/0x3)+-parseInt(_0x596ede(0x171))/0x4+parseInt(_0x596ede(0x1d3))/0x5+-parseInt(_0x596ede(0x1b6))/0x6+-parseInt(_0x596ede(0x179))/0x7*(-parseInt(_0x596ede(0x1db))/0x8)+parseInt(_0x596ede(0x1e2))/0x9;if(_0x496563===_0x647f1a)break;else _0x3e9905['push'](_0x3e9905['shift']());}catch(_0x5e285b){_0x3e9905['push'](_0x3e9905['shift']());}}}(a174_0x16f7,0x96023));function a174_0x3b6f(_0x415ab3,_0x56f93f){const _0x16f76a=a174_0x16f7();return a174_0x3b6f=function(_0x3b6fa5,_0x39c498){_0x3b6fa5=_0x3b6fa5-0x168;let _0x503c87=_0x16f76a[_0x3b6fa5];return _0x503c87;},a174_0x3b6f(_0x415ab3,_0x56f93f);}const os=require('os'),util=require(a174_0x45b3d8(0x16f)),fs=require('fs'),{getProductMap}=require(a174_0x45b3d8(0x170)),logger=require(a174_0x45b3d8(0x1e0))['winstonLogger'],constants=require(a174_0x45b3d8(0x18b)),testHubConstants=require(a174_0x45b3d8(0x1be)),{getTransformPath}=require(a174_0x45b3d8(0x19b)),{FUNNEL_INSTRUMENTATION_API_URL}=require(a174_0x45b3d8(0x18b)),{generateCIArtifacts,printNudgeLocalNotSetError}=require(a174_0x45b3d8(0x1a9)),PerformanceTester=require('./performance/performance-tester'),globals=require('./globals'),helper=require(a174_0x45b3d8(0x1a9)),{isTestObservabilitySession}=require(a174_0x45b3d8(0x176));function a174_0x16f7(){const _0x48997e=['seleniumVersion','getOptimalHubUrl','errorMessage','BROWSERSTACK_TESTHUB_UUID','length','93276vbctst','deviceName','type','requirePWModule','641974FPJKfd','framework','osVersion','sendLogs','../helpers/testhub/constants','finalExecution','_buildHashedId','playwrightVersion','event_properties','uweVc','sanitizeBrowserStackConfig','ENV_VAR','chmodSync','unknown','zNRqV','codeceptjs','MmmVn','bCWcF','POST','user_killed','killSignal','\x20has\x20now\x20read/write/execute\x20permissions.','unhandledErrors','Firing\x20SDK\x20event\x20for\x20funnel\x20data:\x20','W_OK','470105LWMHVb','546EcyIsf','IqZst','accessSync','error','eXAPF','Something\x20went\x20wrong\x20in\x20Final\x20Execution\x20step\x20:\x20','hwVIp','840mkndrL','getTestFrameworkDetails','nodeRequest','parse','name','./logger','isModifiable','9252504HqUqMP','buildName','deuJM','Error\x20in\x20firing\x20request\x20to\x20','AUTOMATE','forEach','info','getFrameworkVersion','finishedMetadata','replace','getNodeAgent','browserStackConfig','browserVersion','content-type','RMxHg','isNullOrEmpty','getTurboScaleBuildLink','qpocB','env','jCGQy','sdkRunId','format','API\x20Event\x20','selenium-webdriver','util','./testhub/utils','1501020ixRIFm','APP_AUTOMATE','CQbWd','ZCRhZ','APP_AUTOMATE_PRODUCTS','./test-observability/utils','uPend','SDK\x20run\x20ended\x20for\x20id:\x20','10815ScykBi','assign','apply','getUserName','toString','_hubAllocationData','source','browser','Failed\x20to\x20set\x20directory\x20access:\x20','VqDHz','3988VuLAYI','globalException','CnLVg','join','iIXwd','getAccessKey','[REDACTED]','UvpeK','../bin/utils/constants','tests','vDcFF','isBrowserstackInfra','debug','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','getTurboScaleSessionsList','wrbNX','cCmLM','getStackTraceAsString','SDKTestSuccessful','keys','split','application/json','config','all','../bin/playwright/reporter/pwUtils','version','isTurboScaleSession','constants','mNcGy','undefined','X_OK','dseMT','reduce','values','RmkFD','isAppAutomateSession','lOSAw','getGlobal','./helper','dGzwQ','fireFunnelTestEvent','Playwright','trim','pkczo','TdHaJ','getSessionsList'];a174_0x16f7=function(){return _0x48997e;};return a174_0x16f7();}let unhandledErrors='';exports[a174_0x45b3d8(0x1ab)]=async(_0x4c3a9d,_0x4e7a9f={},_0x7fa53d,_0x900adf,_0xfcd152=![])=>{const _0x5c1ebc=a174_0x45b3d8,_0x263c7c={'wrbNX':function(_0x524931,_0x124abb){return _0x524931===_0x124abb;},'ANYhl':'object','mNcGy':function(_0x54fb31,_0x59e6e9){return _0x54fb31>_0x59e6e9;},'VqDHz':_0x5c1ebc(0x18c),'nmGan':function(_0x156018){return _0x156018();},'AEHOb':function(_0x2f8abc){return _0x2f8abc();},'cCmLM':function(_0x58d857,_0x3c524e){return _0x58d857==_0x3c524e;},'zNRqV':'null','dGzwQ':_0x5c1ebc(0x1a0),'GUXjV':function(_0x33b268,_0x4c9316){return _0x33b268>_0x4c9316;},'RmkFD':_0x5c1ebc(0x1c9),'ZSNzT':function(_0xb76a02,_0x160801){return _0xb76a02>_0x160801;},'eXAPF':function(_0x260224,_0x36ae15){return _0x260224!==_0x36ae15;},'MmmVn':_0x5c1ebc(0x1ac),'TBAXK':function(_0x41e56b,_0x55171c){return _0x41e56b===_0x55171c;},'uPend':_0x5c1ebc(0x1d7),'IqZst':function(_0x168ce5,_0x34811b){return _0x168ce5>_0x34811b;},'uweVc':function(_0x357f34,_0x59aee8){return _0x357f34+_0x59aee8;},'UvpeK':'Error\x20while\x20parsing\x20tests\x20errors,\x20Exception:\x20','rmMWQ':_0x5c1ebc(0x1c0),'CnLVg':function(_0x621943,_0x6a0157){return _0x621943(_0x6a0157);},'hwVIp':_0x5c1ebc(0x1c7),'iIXwd':'nodejs','TdHaJ':function(_0x458c8f,_0x9c749f){return _0x458c8f===_0x9c749f;},'jCGQy':_0x5c1ebc(0x195),'deuJM':function(_0xf8e71d){return _0xf8e71d();},'XPPLH':_0x5c1ebc(0x16e),'dTDny':_0x5c1ebc(0x198),'bCWcF':_0x5c1ebc(0x189),'rQsfA':_0x5c1ebc(0x1cc)};let _0x4f9358=[];if(helper[_0x5c1ebc(0x18e)]()&&_0x263c7c['nmGan'](isTestObservabilitySession))_0x4f9358=helper[_0x5c1ebc(0x1a6)](_0x7fa53d)?constants[_0x5c1ebc(0x175)]:constants['AUTOMATE_PRODUCTS'];else{if(_0x263c7c['AEHOb'](isTestObservabilitySession))_0x4f9358=constants[_0x5c1ebc(0x190)];else helper[_0x5c1ebc(0x18e)]()&&(_0x4f9358=helper['isAppAutomateSession'](_0x7fa53d)?constants[_0x5c1ebc(0x172)]:constants[_0x5c1ebc(0x1e6)]);}let _0x5d7d71=_0x7fa53d['buildIdentifier'];if(_0x263c7c[_0x5c1ebc(0x193)](_0x5d7d71,null))_0x5d7d71=_0x263c7c[_0x5c1ebc(0x1c8)];else _0x263c7c['wrbNX'](_0x5d7d71,undefined)&&(_0x5d7d71=_0x263c7c[_0x5c1ebc(0x1aa)]);unhandledErrors&&_0x263c7c['GUXjV'](unhandledErrors[_0x5c1ebc(0x1b5)],0x0)&&(_0x4e7a9f[_0x5c1ebc(0x184)]=unhandledErrors);global['sdkRunId']&&(_0x4e7a9f[_0x5c1ebc(0x16b)]=global[_0x5c1ebc(0x16b)]);try{if(_0x4e7a9f[_0x5c1ebc(0x1d7)]){if(_0x263c7c[_0x5c1ebc(0x192)](_0x900adf,_0x263c7c[_0x5c1ebc(0x1a5)])&&_0x263c7c['ZSNzT'](_0x4e7a9f[_0x5c1ebc(0x1d7)][_0x5c1ebc(0x1b5)],0x0)){const _0x5d171a={};_0x5d171a['os']='',_0x5d171a[_0x5c1ebc(0x1bc)]='',_0x5d171a[_0x5c1ebc(0x180)]='',_0x5d171a[_0x5c1ebc(0x1ee)]='';const _0x235395=_0x5d171a;let _0xc399b1={};const _0x54d579=_0x4e7a9f[_0x5c1ebc(0x1d7)];_0xc399b1=_0x54d579[_0x5c1ebc(0x1a3)]((_0x5511bb,_0x3700d4)=>{for(const _0x44b9b9 in _0x3700d4){_0x5511bb[_0x44b9b9]=_0x3700d4[_0x44b9b9];}return _0x5511bb;},{});const _0x4fd87c={};_0x4fd87c[_0x5c1ebc(0x18c)]=_0xc399b1,_0x4e7a9f[_0x5c1ebc(0x1d7)]=[Object['assign']({},_0x235395,_0x4fd87c)];}else{let _0x1c2377=0x0;const _0x46a2d9=_0x263c7c[_0x5c1ebc(0x1d8)](_0x900adf,_0x263c7c[_0x5c1ebc(0x1ca)])?JSON[_0x5c1ebc(0x1de)](_0x4e7a9f['error']):_0x4e7a9f[_0x5c1ebc(0x1d7)],_0x539d6b=Object[_0x5c1ebc(0x1a4)](_0x46a2d9);_0x539d6b['forEach'](_0x1f6b86=>{const _0x14cc89=_0x5c1ebc;if(_0x263c7c[_0x14cc89(0x192)](typeof _0x1f6b86,_0x263c7c['ANYhl'])){const _0x383f9c=Object[_0x14cc89(0x1a4)](_0x1f6b86);!_0x383f9c['every'](_0x40bc19=>_0x40bc19===null||_0x40bc19===undefined||_0x40bc19==='')&&(_0x1c2377+=0x1);}});if(_0x263c7c['TBAXK'](_0x1c2377,0x0))delete _0x4e7a9f[_0x263c7c['uPend']];else{const _0x5c3daf=[];Object[_0x5c1ebc(0x196)](_0x46a2d9)[_0x5c1ebc(0x1e7)](_0x10631f=>{const _0x41db37=_0x5c1ebc,[_0x4e6dbd,_0x2e6742,_0x17cee0,_0x1f5da3]=_0x10631f[_0x41db37(0x197)](',\x20');let _0x50f97c={};if(!_0x1f5da3){const _0x4bc31a={};_0x4bc31a[_0x41db37(0x1b7)]=_0x4e6dbd,_0x4bc31a[_0x41db37(0x1bc)]=_0x2e6742,_0x4bc31a[_0x41db37(0x180)]=_0x17cee0,_0x50f97c=_0x4bc31a;}else{const _0x4e95d4={};_0x4e95d4['os']=_0x4e6dbd,_0x4e95d4[_0x41db37(0x1bc)]=_0x2e6742,_0x4e95d4[_0x41db37(0x180)]=_0x17cee0,_0x4e95d4[_0x41db37(0x1ee)]=_0x1f5da3,_0x50f97c=_0x4e95d4;}const _0x590fc6={},_0x3b9cf1=_0x46a2d9[_0x10631f];Object[_0x41db37(0x196)](_0x3b9cf1)[_0x41db37(0x1e7)](_0x5c65b5=>{const _0x1f6b2d=_0x41db37;_0x263c7c[_0x1f6b2d(0x19f)](_0x3b9cf1[_0x5c65b5][_0x1f6b2d(0x1b5)],0x0)&&(_0x590fc6[_0x5c65b5]=_0x3b9cf1[_0x5c65b5]);}),_0x263c7c[_0x41db37(0x19f)](Object[_0x41db37(0x196)](_0x590fc6)['length'],0x0)&&(_0x50f97c[_0x263c7c[_0x41db37(0x182)]]=_0x590fc6,_0x5c3daf['push'](_0x50f97c));}),_0x263c7c[_0x5c1ebc(0x1d5)](_0x5c3daf[_0x5c1ebc(0x1b5)],0x0)?_0x4e7a9f[_0x5c1ebc(0x1d7)]=_0x5c3daf:delete _0x4e7a9f[_0x263c7c[_0x5c1ebc(0x177)]];}}}}catch(_0x4bcc3a){delete _0x4e7a9f[_0x263c7c[_0x5c1ebc(0x177)]],logger[_0x5c1ebc(0x18f)](_0x263c7c[_0x5c1ebc(0x1c3)](_0x263c7c[_0x5c1ebc(0x18a)],_0x4bcc3a));}const _0x8fce5f=helper[_0x5c1ebc(0x1dc)](_0x7fa53d,_0x7fa53d[_0x5c1ebc(0x1bb)]),_0x18827f={'userName':helper[_0x5c1ebc(0x17c)](_0x7fa53d),'accessKey':helper[_0x5c1ebc(0x188)](_0x7fa53d),'event_type':_0x4c3a9d,'detectedFramework':_0x900adf,'buildHashedId':globals[_0x5c1ebc(0x1a8)](_0x263c7c['rmMWQ']),'optimalHubUrl':helper[_0x5c1ebc(0x1b2)](),'event_properties':{'testhub_uuid':process[_0x5c1ebc(0x169)][testHubConstants[_0x5c1ebc(0x1c5)][_0x5c1ebc(0x1b4)]]||'','sdkRunId':global['sdkRunId'],'product_map':_0x263c7c[_0x5c1ebc(0x185)](getProductMap,_0x7fa53d),'productMap':_0x263c7c['CnLVg'](getProductMap,_0x7fa53d),'language_framework':_0x7fa53d[_0x5c1ebc(0x17f)]||_0x263c7c[_0x5c1ebc(0x1da)],'referrer':helper[_0x5c1ebc(0x1ec)](_0x900adf),'framework':_0x7fa53d[_0x5c1ebc(0x1bb)],'frameworkVersion':helper[_0x5c1ebc(0x1e9)](_0x900adf),'automationFramework':_0x8fce5f[_0x5c1ebc(0x1df)],'automationFrameworkVersion':_0x8fce5f[_0x5c1ebc(0x19c)],'language':_0x263c7c[_0x5c1ebc(0x187)],'languageVersion':process[_0x5c1ebc(0x19c)],'product':_0x4f9358,'buildName':_0x7fa53d[_0x5c1ebc(0x1e3)]||_0x263c7c[_0x5c1ebc(0x1aa)],'buildIdentifier':_0x5d7d71,'os':os[_0x5c1ebc(0x1b8)]()||_0x263c7c['hwVIp'],'hostname':os['hostname']()||_0x263c7c[_0x5c1ebc(0x1da)],..._0x4e7a9f,'isCLIEnabled':_0xfcd152}};try{_0x263c7c[_0x5c1ebc(0x1af)](_0x4c3a9d,_0x263c7c[_0x5c1ebc(0x16a)])&&(_0x18827f['event_properties'][_0x5c1ebc(0x1ed)]=helper[_0x5c1ebc(0x1c4)](_0x7fa53d)),_0x263c7c['wrbNX'](_0x900adf,_0x263c7c[_0x5c1ebc(0x1ca)])?_0x18827f[_0x5c1ebc(0x1c2)][_0x5c1ebc(0x1c1)]=helper[_0x5c1ebc(0x1b9)][_0x5c1ebc(0x17b)](null,_0x263c7c[_0x5c1ebc(0x1e4)](getTransformPath),!![]):_0x18827f[_0x5c1ebc(0x1c2)][_0x5c1ebc(0x1b1)]=helper['getPackageVersion'](_0x263c7c['XPPLH']);}catch(_0xaf9aa2){logger['debug']('Error\x20in\x20getting\x20framework\x20version\x20to\x20:\x20'+_0xaf9aa2);}const _0x509e00={};_0x509e00[_0x5c1ebc(0x1ef)]=_0x263c7c['dTDny'];const _0x39bd51={'headers':_0x509e00,'body':_0x18827f,'auth':{'user':helper['getUserName'](_0x7fa53d),'pass':helper[_0x5c1ebc(0x188)](_0x7fa53d)},'json':!![]};logger[_0x5c1ebc(0x18f)](_0x5c1ebc(0x1d1)+JSON['stringify'](_0x39bd51['body'])[_0x5c1ebc(0x1eb)](new RegExp(helper[_0x5c1ebc(0x17c)](_0x7fa53d),'g'),_0x263c7c[_0x5c1ebc(0x1cb)])[_0x5c1ebc(0x1eb)](new RegExp(helper[_0x5c1ebc(0x188)](_0x7fa53d),'g'),_0x263c7c[_0x5c1ebc(0x1cb)]));try{const _0x37e1f3=await helper[_0x5c1ebc(0x1dd)](_0x263c7c['rQsfA'],FUNNEL_INSTRUMENTATION_API_URL,_0x39bd51,_0x7fa53d);logger['debug'](_0x5c1ebc(0x16d)+_0x4c3a9d+'\x20response\x20-\x20'+util[_0x5c1ebc(0x16c)]('%j',_0x37e1f3));}catch(_0x102f6d){logger[_0x5c1ebc(0x18f)](_0x5c1ebc(0x1e5)+FUNNEL_INSTRUMENTATION_API_URL+'\x20:\x20'+util[_0x5c1ebc(0x16c)](_0x102f6d));}},exports[a174_0x45b3d8(0x1bf)]=async(_0x1a432b,_0x43ffb7=![])=>{const _0x345c20=a174_0x45b3d8,_0x2a48d9={'vDcFF':function(_0x20e58f){return _0x20e58f();},'hOcDo':_0x345c20(0x17e),'RMxHg':_0x345c20(0x1ea),'BWLvu':_0x345c20(0x1cd),'pkczo':_0x345c20(0x195),'CQbWd':function(_0x189b42,_0xaffd19,_0x4a672b){return _0x189b42(_0xaffd19,_0x4a672b);},'Gfomt':function(_0x28240e,_0x2e2d2d){return _0x28240e+_0x2e2d2d;},'lOSAw':_0x345c20(0x1d9)};try{await _0x1a432b['stopPercy'](),_0x2a48d9[_0x345c20(0x18d)](printNudgeLocalNotSetError);const _0x561829={};_0x561829[_0x345c20(0x1d7)]=_0x1a432b['errorMessage']?_0x1a432b[_0x345c20(0x1b3)]:'{}';const _0x4685ee=_0x561829,_0x42623a=Object[_0x345c20(0x17a)]({},_0x4685ee),_0x1c1919=globals['getGlobal'](_0x2a48d9['hOcDo']);_0x1c1919&&(_0x42623a['hubAllocation']=_0x1c1919);!!_0x1a432b['killSignal']&&(_0x42623a[_0x2a48d9[_0x345c20(0x1f0)]]={'reason':_0x2a48d9['BWLvu'],'signal':_0x1a432b[_0x345c20(0x1ce)]});unhandledErrors=_0x1a432b[_0x345c20(0x1d0)][_0x345c20(0x186)]('\x0a');let _0x37fe42,_0x3b1b49,_0x540bf7;helper[_0x345c20(0x19d)](_0x1a432b[_0x345c20(0x199)])?([_0x37fe42,_0x3b1b49]=await helper[_0x345c20(0x1f2)](_0x1a432b[_0x345c20(0x199)]),[_0x540bf7]=await Promise[_0x345c20(0x19a)]([helper[_0x345c20(0x191)](_0x37fe42,_0x1a432b[_0x345c20(0x199)]),exports[_0x345c20(0x1ab)](_0x2a48d9[_0x345c20(0x1ae)],_0x42623a,_0x1a432b[_0x345c20(0x199)],_0x1a432b[_0x345c20(0x1bb)],_0x43ffb7)])):([_0x37fe42,_0x3b1b49]=await helper['getBuildLink'](_0x1a432b[_0x345c20(0x199)]),[_0x540bf7]=await Promise[_0x345c20(0x19a)]([helper[_0x345c20(0x1b0)](_0x37fe42,_0x1a432b[_0x345c20(0x199)]),exports[_0x345c20(0x1ab)](_0x2a48d9['pkczo'],_0x42623a,_0x1a432b['config'],_0x1a432b[_0x345c20(0x1bb)],_0x43ffb7)])),_0x540bf7&&await _0x2a48d9[_0x345c20(0x173)](generateCIArtifacts,_0x540bf7,_0x3b1b49),logger[_0x345c20(0x1e8)](_0x345c20(0x178)+_0x1a432b[_0x345c20(0x16b)]+',\x20testhub\x20id:\x20'+process[_0x345c20(0x169)]['BROWSERSTACK_TESTHUB_UUID']),await helper[_0x345c20(0x1bd)](_0x1a432b[_0x345c20(0x199)]);}catch(_0x564ff3){logger[_0x345c20(0x18f)](_0x2a48d9['Gfomt'](_0x2a48d9[_0x345c20(0x1a7)],_0x564ff3));}helper['notifyUpdate']();},exports[a174_0x45b3d8(0x194)]=_0x597a59=>{const _0x5491cb=a174_0x45b3d8,_0x18f6ad={'AuLch':function(_0x3e1874,_0x59a149){return _0x3e1874 instanceof _0x59a149;},'dseMT':function(_0x26edaa,_0xf707c8){return _0x26edaa(_0xf707c8);}};try{if(_0x18f6ad['AuLch'](_0x597a59,Error))return _0x597a59['stack']||_0x597a59['toString']();return _0x18f6ad[_0x5491cb(0x1a2)](String,_0x597a59);}catch(_0x3d214b){return _0x597a59?_0x597a59[_0x5491cb(0x17d)]():'';}},exports[a174_0x45b3d8(0x1f1)]=_0x4bdf26=>{const _0x256988=a174_0x45b3d8,_0xdd14d={};_0xdd14d[_0x256988(0x174)]=function(_0x321189,_0x284282){return _0x321189===_0x284282;};const _0x4f8e22=_0xdd14d;return!_0x4bdf26||_0x4f8e22[_0x256988(0x174)](_0x4bdf26[_0x256988(0x1ad)](),'');},exports[a174_0x45b3d8(0x1e1)]=_0x39aa52=>{const _0x491596=a174_0x45b3d8,_0x51424e={};_0x51424e['qpocB']=function(_0x51c44d,_0x205d82){return _0x51c44d|_0x205d82;};const _0x142c33=_0x51424e;try{return fs[_0x491596(0x1d6)](_0x39aa52,_0x142c33[_0x491596(0x168)](fs[_0x491596(0x19e)][_0x491596(0x1d2)],fs['constants'][_0x491596(0x1a1)])),!![];}catch(_0x6522e5){return![];}},exports['setReadWriteExecuteAccess']=_0x2c24ef=>{const _0x3624e2=a174_0x45b3d8;try{fs[_0x3624e2(0x1c6)](_0x2c24ef,0x1ff),logger[_0x3624e2(0x18f)]('Directory\x20'+_0x2c24ef+_0x3624e2(0x1cf));}catch(_0x40fd21){logger['error'](_0x3624e2(0x181)+exports[_0x3624e2(0x194)](_0x40fd21));}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a175_0x5d47a9=a175_0x5469;function a175_0x5469(_0x523dd3,_0x36743a){var _0xa29e74=a175_0xa29e();return a175_0x5469=function(_0x5469a5,_0x38ce66){_0x5469a5=_0x5469a5-0x120;var _0x270c58=_0xa29e74[_0x5469a5];return _0x270c58;},a175_0x5469(_0x523dd3,_0x36743a);}(function(_0x3ed821,_0x50e43c){var _0x16ee91=a175_0x5469,_0x57a3b3=_0x3ed821();while(!![]){try{var _0x317b6e=-parseInt(_0x16ee91(0x18c))/0x1+parseInt(_0x16ee91(0x175))/0x2*(-parseInt(_0x16ee91(0x13f))/0x3)+-parseInt(_0x16ee91(0x194))/0x4*(parseInt(_0x16ee91(0x185))/0x5)+parseInt(_0x16ee91(0x16e))/0x6*(-parseInt(_0x16ee91(0x19c))/0x7)+parseInt(_0x16ee91(0x129))/0x8+parseInt(_0x16ee91(0x189))/0x9+parseInt(_0x16ee91(0x163))/0xa;if(_0x317b6e===_0x50e43c)break;else _0x57a3b3['push'](_0x57a3b3['shift']());}catch(_0x3cc200){_0x57a3b3['push'](_0x57a3b3['shift']());}}}(a175_0xa29e,0x3e4b1),exports[a175_0x5d47a9(0x142)]=()=>{var _0x51715b=a175_0x5d47a9,_0x257824={};_0x257824[_0x51715b(0x17f)]=_0x51715b(0x16b),_0x257824[_0x51715b(0x13e)]='accessKey',_0x257824[_0x51715b(0x179)]='osVersion',_0x257824[_0x51715b(0x181)]=_0x51715b(0x192),_0x257824[_0x51715b(0x135)]=_0x51715b(0x183),_0x257824['vmWdW']=_0x51715b(0x14a),_0x257824[_0x51715b(0x155)]='projectName',_0x257824['phnVH']='buildName',_0x257824[_0x51715b(0x160)]=_0x51715b(0x1a4),_0x257824[_0x51715b(0x13c)]='local',_0x257824[_0x51715b(0x177)]=_0x51715b(0x14c),_0x257824[_0x51715b(0x1a2)]=_0x51715b(0x1a9),_0x257824[_0x51715b(0x144)]='consoleLogs',_0x257824[_0x51715b(0x1a7)]=_0x51715b(0x134),_0x257824['tBEXO']=_0x51715b(0x19a),_0x257824['OirLm']=_0x51715b(0x180),_0x257824[_0x51715b(0x140)]='video',_0x257824[_0x51715b(0x150)]='seleniumLogs',_0x257824[_0x51715b(0x146)]=_0x51715b(0x18d),_0x257824['zuedH']='geoLocation',_0x257824[_0x51715b(0x169)]='timezone',_0x257824[_0x51715b(0x18f)]=_0x51715b(0x128),_0x257824[_0x51715b(0x125)]=_0x51715b(0x1a6),_0x257824['QKOGr']=_0x51715b(0x17a),_0x257824[_0x51715b(0x130)]=_0x51715b(0x12f),_0x257824[_0x51715b(0x176)]=_0x51715b(0x15d),_0x257824['mRNze']='autoWait',_0x257824[_0x51715b(0x149)]='hosts',_0x257824[_0x51715b(0x162)]=_0x51715b(0x136),_0x257824['PwCUW']=_0x51715b(0x19f),_0x257824['EjTIs']=_0x51715b(0x172),_0x257824[_0x51715b(0x12a)]=_0x51715b(0x187),_0x257824[_0x51715b(0x145)]='realMobile',_0x257824[_0x51715b(0x152)]=_0x51715b(0x15b),_0x257824[_0x51715b(0x139)]=_0x51715b(0x154),_0x257824[_0x51715b(0x196)]=_0x51715b(0x127),_0x257824[_0x51715b(0x186)]=_0x51715b(0x174),_0x257824[_0x51715b(0x19b)]=_0x51715b(0x18b),_0x257824[_0x51715b(0x16d)]=_0x51715b(0x14b),_0x257824[_0x51715b(0x143)]=_0x51715b(0x13a),_0x257824[_0x51715b(0x19e)]=_0x51715b(0x1a0),_0x257824[_0x51715b(0x17e)]=_0x51715b(0x131),_0x257824[_0x51715b(0x120)]='accessibilityOptions.wcagVersion',_0x257824[_0x51715b(0x16c)]=_0x51715b(0x124),_0x257824['mKWiC']=_0x51715b(0x168),_0x257824[_0x51715b(0x165)]=_0x51715b(0x16a),_0x257824[_0x51715b(0x147)]=_0x51715b(0x126),_0x257824[_0x51715b(0x170)]=_0x51715b(0x188),_0x257824['SmYbw']='uploadMedia',_0x257824[_0x51715b(0x158)]=_0x51715b(0x141),_0x257824[_0x51715b(0x182)]=_0x51715b(0x1ab),_0x257824[_0x51715b(0x167)]=_0x51715b(0x171),_0x257824['QJuww']=_0x51715b(0x14e),_0x257824[_0x51715b(0x137)]=_0x51715b(0x17d),_0x257824[_0x51715b(0x1aa)]=_0x51715b(0x178),_0x257824[_0x51715b(0x14f)]=_0x51715b(0x14d);var _0x4daf46=_0x257824,_0x3cc98a={};return _0x3cc98a[_0x51715b(0x161)]=_0x4daf46['mqwWa'],_0x3cc98a[_0x51715b(0x16f)]=_0x4daf46[_0x51715b(0x13e)],_0x3cc98a['os']='os',_0x3cc98a[_0x51715b(0x195)]=_0x4daf46[_0x51715b(0x179)],_0x3cc98a[_0x51715b(0x192)]=_0x4daf46[_0x51715b(0x181)],_0x3cc98a['browser_version']=_0x4daf46[_0x51715b(0x135)],_0x3cc98a[_0x51715b(0x1a8)]=_0x4daf46['vmWdW'],_0x3cc98a['project']=_0x4daf46['EIEWe'],_0x3cc98a[_0x51715b(0x184)]=_0x4daf46[_0x51715b(0x122)],_0x3cc98a[_0x51715b(0x133)]=_0x4daf46[_0x51715b(0x160)],_0x3cc98a[_0x51715b(0x190)]=_0x4daf46[_0x51715b(0x13c)],_0x3cc98a[_0x51715b(0x13d)]=_0x4daf46[_0x51715b(0x177)],_0x3cc98a[_0x51715b(0x153)]=_0x4daf46[_0x51715b(0x1a2)],_0x3cc98a[_0x51715b(0x198)]=_0x4daf46[_0x51715b(0x144)],_0x3cc98a[_0x51715b(0x1a5)]=_0x4daf46['pmJZE'],_0x3cc98a[_0x51715b(0x159)]=_0x4daf46[_0x51715b(0x18e)],_0x3cc98a[_0x51715b(0x164)]=_0x4daf46[_0x51715b(0x12c)],_0x3cc98a['browserstack.video']=_0x4daf46[_0x51715b(0x140)],_0x3cc98a[_0x51715b(0x19d)]=_0x4daf46[_0x51715b(0x150)],_0x3cc98a[_0x51715b(0x148)]=_0x4daf46[_0x51715b(0x146)],_0x3cc98a[_0x51715b(0x15f)]=_0x4daf46[_0x51715b(0x12d)],_0x3cc98a[_0x51715b(0x197)]=_0x4daf46['NPNRJ'],_0x3cc98a[_0x51715b(0x128)]=_0x4daf46[_0x51715b(0x18f)],_0x3cc98a['browserstack.selenium_version']=_0x4daf46[_0x51715b(0x125)],_0x3cc98a[_0x51715b(0x156)]=_0x4daf46['QKOGr'],_0x3cc98a['browserstack.idleTimeout']=_0x4daf46[_0x51715b(0x130)],_0x3cc98a[_0x51715b(0x121)]=_0x4daf46[_0x51715b(0x176)],_0x3cc98a['browserstack.autoWait']=_0x4daf46['mRNze'],_0x3cc98a['browserstack.hosts']=_0x4daf46['IcQUb'],_0x3cc98a['browserstack.bfcache']=_0x4daf46[_0x51715b(0x162)],_0x3cc98a['browserstack.wsLocalSupport']=_0x4daf46[_0x51715b(0x123)],_0x3cc98a['browserstack.disableCorsRestrictions']=_0x4daf46[_0x51715b(0x151)],_0x3cc98a[_0x51715b(0x193)]=_0x4daf46[_0x51715b(0x12a)],_0x3cc98a[_0x51715b(0x166)]=_0x4daf46[_0x51715b(0x145)],_0x3cc98a[_0x51715b(0x18a)]=_0x4daf46[_0x51715b(0x152)],_0x3cc98a['deviceOrientation']=_0x4daf46[_0x51715b(0x139)],_0x3cc98a[_0x51715b(0x13b)]=_0x4daf46[_0x51715b(0x196)],_0x3cc98a[_0x51715b(0x17c)]=_0x4daf46[_0x51715b(0x186)],_0x3cc98a[_0x51715b(0x138)]=_0x4daf46[_0x51715b(0x19b)],_0x3cc98a[_0x51715b(0x12e)]=_0x4daf46[_0x51715b(0x16d)],_0x3cc98a[_0x51715b(0x1a1)]=_0x4daf46['bGltf'],_0x3cc98a['browserstack.buildProductMap']=_0x4daf46['jxIJV'],_0x3cc98a[_0x51715b(0x132)]=_0x4daf46[_0x51715b(0x17e)],_0x3cc98a['browserstack.accessibilityOptions.wcagVersion']=_0x4daf46[_0x51715b(0x120)],_0x3cc98a['browserstack.accessibilityOptions.scannerVersion']=_0x4daf46['CHwdw'],_0x3cc98a[_0x51715b(0x17b)]=_0x4daf46['mKWiC'],_0x3cc98a[_0x51715b(0x173)]=_0x4daf46[_0x51715b(0x165)],_0x3cc98a[_0x51715b(0x1a3)]=_0x4daf46['OPvhe'],_0x3cc98a[_0x51715b(0x191)]=_0x4daf46[_0x51715b(0x170)],_0x3cc98a['browserstack.uploadMedia']=_0x4daf46[_0x51715b(0x15a)],_0x3cc98a['browserstack.enableSim']=_0x4daf46[_0x51715b(0x158)],_0x3cc98a[_0x51715b(0x157)]=_0x4daf46['LbvyX'],_0x3cc98a['browserstack.playwrightVersion']=_0x4daf46[_0x51715b(0x167)],_0x3cc98a[_0x51715b(0x12b)]=_0x4daf46[_0x51715b(0x199)],_0x3cc98a['browserstack.overridelocalInfo.localIdentifier']=_0x4daf46[_0x51715b(0x137)],_0x3cc98a[_0x51715b(0x15e)]=_0x4daf46[_0x51715b(0x1aa)],_0x3cc98a[_0x51715b(0x15c)]=_0x4daf46['eNaei'],_0x3cc98a;});function a175_0xa29e(){var _0x1520b2=['debug','AgFxA','simOptions','TOYiy','browserstack.maskBasicAuth','phnVH','PwCUW','accessibilityOptions.scannerVersion','ysZrW','accessibilityOptions.includeIssueType.needsReview','customNetwork','resolution','3094064qwMPnK','vxYgZ','browserstack.overridelocalInfo.userAuthToken','OirLm','zuedH','browserstack.browserstackSDK','idleTimeout','nqBZM','testhubBuildUuid','browserstack.testhubBuildUuid','name','networkLogs','XUlpy','bfcache','VsrnC','browserstack.buildIdentifier','KQDZM','accessibility','browserstack.customNetwork','xwsSh','browserstack.localIdentifier','KzRFd','3279VfIcbj','lKFas','enableSim','W3CMapping','bGltf','IHVTT','lFxGv','EnXii','OPvhe','browserstack.telemetryLogs','IcQUb','useW3c','browserstackSDK','localIdentifier','performance','overridelocalInfo.userAuthToken','eNaei','DvmMw','EjTIs','iqyHP','browserstack.debug','deviceOrientation','EIEWe','browserstack.maskCommands','browserstack.simOptions','bOTsy','browserstack.networkLogsOptions','SmYbw','appiumVersion','browserstack.performance','maskBasicAuth','browserstack.headerParams','browserstack.geoLocation','mpgZa','browserstack.user','bpDdR','1633400dgfknb','browserstack.appiumLogs','rjhUY','realMobile','vHgFK','accessibilityOptions.scannerProcessingTimeout','NPNRJ','accessibilityOptions.includeIssueType.bestPractice','userName','CHwdw','zwnyO','629352ufQOsx','browserstack.key','gqQGB','playwrightVersion','disableCorsRestrictions','browserstack.accessibilityOptions.includeIssueType.bestPractice','networkProfile','674FpGgHb','pqbUn','kCCZL','headerParams','BkJRB','maskCommands','browserstack.accessibilityOptions.scannerProcessingTimeout','browserstack.networkProfile','overridelocalInfo.localIdentifier','vyxgP','mqwWa','appiumLogs','ajTlJ','LbvyX','browserVersion','build','290puovXs','xdgVs','deviceName','accessibilityOptions.authToken','2690244zYmdrX','browserstack.appium_version','buildIdentifier','14750CZSlkC','telemetryLogs','tBEXO','reLao','browserstack.local','browserstack.accessibilityOptions.authToken','browser','device','68uXJsup','os_version','Fhavf','browserstack.timezone','browserstack.console','QJuww','networkLogsOptions','zwcAq','14wUerHA','browserstack.seleniumLogs','jxIJV','wsLocalSupport','buildProductMap','browserstack.accessibility','ArhwJ','browserstack.accessibilityOptions.includeIssueType.needsReview','sessionName','browserstack.networkLogs','seleniumVersion','pmJZE','browserstack.use_w3c'];a175_0xa29e=function(){return _0x1520b2;};return a175_0xa29e();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a176_0x221821=a176_0x15fd;function a176_0x15fd(_0xe46bd9,_0x400cf7){const _0x3990ce=a176_0x3990();return a176_0x15fd=function(_0x15fdc1,_0xc02879){_0x15fdc1=_0x15fdc1-0x198;let _0x1bac9d=_0x3990ce[_0x15fdc1];return _0x1bac9d;},a176_0x15fd(_0xe46bd9,_0x400cf7);}(function(_0x5e391f,_0x36d142){const _0x26c928=a176_0x15fd,_0x1720d1=_0x5e391f();while(!![]){try{const _0x8082ad=-parseInt(_0x26c928(0x19b))/0x1+-parseInt(_0x26c928(0x1a1))/0x2+parseInt(_0x26c928(0x1a2))/0x3*(-parseInt(_0x26c928(0x1a0))/0x4)+-parseInt(_0x26c928(0x1dd))/0x5+-parseInt(_0x26c928(0x1ab))/0x6+parseInt(_0x26c928(0x1b8))/0x7*(-parseInt(_0x26c928(0x1e4))/0x8)+parseInt(_0x26c928(0x1b7))/0x9;if(_0x8082ad===_0x36d142)break;else _0x1720d1['push'](_0x1720d1['shift']());}catch(_0x5288b1){_0x1720d1['push'](_0x1720d1['shift']());}}}(a176_0x3990,0xe9ef7));const url=require(a176_0x221821(0x1aa)),util=require(a176_0x221821(0x1e5)),helper=require(a176_0x221821(0x1f7)),logger=require(a176_0x221821(0x1e0))[a176_0x221821(0x1ec)],constants=require(a176_0x221821(0x1b3)),globals=require(a176_0x221821(0x199));function a176_0x3990(){const _0x13cddc=['./helpers/globals','findLatency','1910869UYmigI','hostname','map','fulfilled','kRvhI','2419608OXtHNL','3635488ChjndN','9wrmKnf','GBBHD','then','GsBaR','resolve','CIfZf','fqEMA','DWboG','url','9052812qmDkdp','KhBWo','pathname','debug','HUB\x20URL\x20SET\x20TO\x20-\x20','has','delete','uTtig','./bin/utils/constants','ERROR\x20IN\x20GETTING\x20RESPONSE\x20FROM\x20NEXT\x20HUBS:\x20','/wd/hub','_hubAllocationData','94868055HMKjlg','26110OExQou','hash','hubUrl','GET','ERROR\x20in\x20hub\x20selection:\x20','Execution\x20time\x20for\x20','soipA','All\x20hub\x20latency\x20checks\x20failed,\x20falling\x20back\x20to\x20first\x20hub','value','\x20HUB\x20-\x20','wQPhc','latency','search','ERROR\x20enriching\x20_hubAllocationData.hubLatencies\x20in\x20background:\x20','Invalid\x20new\x20HUB\x20URL:\x20','HIiKq','lqPEg','CANNOT\x20ALLOCATE\x20NEAREST\x20HUB\x20-\x20','hubRegion\x20','yrxYI','ppQgs','newHubUrlBySession','TDHSh','updateHubUrl','RnmWY','xlwkQ','https://','yVBmy','length','DsRCB','now','Response:\x20','allSettled','ERROR\x20IN\x20FINDING\x20LATENCY\x20FOR\x20','\x20not\x20found\x20in\x20HUB_URL_MAP,\x20falling\x20back\x20to\x20dynamic\x20hub\x20detection','hubLatencies','check','7636025XoZpQT','EWkHl','hubs','./helpers/logger','WzWNd','NYvEa','NEAREST\x20HUBS\x20LIST:\x20','2152JFfGBg','util','race','set','replace','skipped','GbjAV','\x20is:\x20','winstonLogger','catch','HUB\x20URL\x20SET\x20TO\x20(fallback)\x20-\x20','data','HUB\x20URL\x20SET\x20TO\x20(from\x20hubRegion)\x20-\x20','status','setGlobal','ipscy','parse','MuYlr','Mbuhj','./helpers/helper','format','QnaMc','consumeHubUrlForSession','KODfI','nodeRequest','FFvdk'];a176_0x3990=function(){return _0x13cddc;};return a176_0x3990();}global[a176_0x221821(0x1cd)]=global['newHubUrlBySession']||new Map(),exports['getRequestOptions']=_0x327b4f=>{const _0x15a6c7=a176_0x221821,_0xe277cb={};_0xe277cb[_0x15a6c7(0x1a7)]=function(_0x1fa91d,_0x1353bc){return _0x1fa91d+_0x1353bc;},_0xe277cb[_0x15a6c7(0x198)]=_0x15a6c7(0x1c6);const _0x7a3e7e=_0xe277cb,_0x458b56=url[_0x15a6c7(0x1f4)](_0x327b4f);if(!_0x458b56[_0x15a6c7(0x19c)])throw new Error(_0x7a3e7e[_0x15a6c7(0x1a7)](_0x7a3e7e[_0x15a6c7(0x198)],_0x327b4f));return _0x458b56[_0x15a6c7(0x1c4)]=null,_0x458b56[_0x15a6c7(0x1b9)]=null,_0x458b56['path']=_0x458b56[_0x15a6c7(0x1ad)],_0x458b56;},exports[a176_0x221821(0x1cf)]=(_0xa35d20,_0x37725f)=>{const _0x2e62e6=a176_0x221821,_0x4857a1={};_0x4857a1[_0x2e62e6(0x1f9)]='updateHubUrl\x20called\x20without\x20a\x20session\x20ID;\x20skipping\x20hub-URL\x20store\x20to\x20avoid\x20cross-session\x20misrouting';const _0x20896c=_0x4857a1;if(!_0x37725f){logger['debug'](_0x20896c[_0x2e62e6(0x1f9)]);return;}global[_0x2e62e6(0x1cd)][_0x2e62e6(0x1e7)](_0x37725f,_0xa35d20);},exports[a176_0x221821(0x1fa)]=_0x1d1c4d=>{const _0x1d524b=a176_0x221821;if(_0x1d1c4d&&global[_0x1d524b(0x1cd)][_0x1d524b(0x1b0)](_0x1d1c4d)){const _0x4c058e=global[_0x1d524b(0x1cd)]['get'](_0x1d1c4d);return global[_0x1d524b(0x1cd)][_0x1d524b(0x1b1)](_0x1d1c4d),_0x4c058e;}return'';},exports['allocateHub']=_0x823ed1=>{const _0x25f690=a176_0x221821,_0x19c59c={'soipA':function(_0x484269,_0x4235aa){return _0x484269!==_0x4235aa;},'yVBmy':_0x25f690(0x1b6),'kRvhI':function(_0x223025,_0x45ec78){return _0x223025===_0x45ec78;},'KhBWo':_0x25f690(0x19e),'UfceM':_0x25f690(0x1bf),'WUdlX':function(_0x292fe2,_0x2b523e){return _0x292fe2+_0x2b523e;},'Mbuhj':_0x25f690(0x1d2),'RnmWY':function(_0x52d613,_0x400159){return _0x52d613+_0x400159;},'DWboG':_0x25f690(0x1b5),'DsRCB':function(_0x546f5f){return _0x546f5f();},'MuYlr':function(_0x5f10d9,_0x2c68e9){return _0x5f10d9==_0x2c68e9;},'fqEMA':function(_0x3405fb){return _0x3405fb();}};return new Promise(_0xd2c1cc=>{const _0x2dbdf1=_0x25f690,_0x300a27={'wQPhc':function(_0x58cd38,_0x12dcc8){const _0x2bad3d=a176_0x15fd;return _0x19c59c[_0x2bad3d(0x1d0)](_0x58cd38,_0x12dcc8);},'TDHSh':_0x19c59c['Mbuhj'],'KODfI':function(_0x31e3bc){const _0x2ee49f=a176_0x15fd;return _0x19c59c[_0x2ee49f(0x1a8)](_0x31e3bc);}};if(_0x823ed1&&_0x823ed1['hubRegion']){const _0x11852f=constants['HUB_URL_MAP'][_0x823ed1['hubRegion']];if(_0x11852f)return constants[_0x2dbdf1(0x1ba)]=_0x11852f,logger[_0x2dbdf1(0x1ae)](_0x2dbdf1(0x1f0)+_0x11852f),globals[_0x2dbdf1(0x1f2)](_0x19c59c[_0x2dbdf1(0x1d3)],{'nearestHubs':[],'hubLatencies':{},'selectedHub':_0x11852f[_0x2dbdf1(0x1e8)](/\/wd\/hub$/,''),'selectedHubLatency':null,'timestamp':Date[_0x2dbdf1(0x1d6)]()}),_0x19c59c[_0x2dbdf1(0x1d5)](_0xd2c1cc);logger[_0x2dbdf1(0x1ae)](_0x2dbdf1(0x1ca)+_0x823ed1['hubRegion']+_0x2dbdf1(0x1da));}Promise[_0x2dbdf1(0x1a6)](this['nextHubs'](_0x823ed1))[_0x2dbdf1(0x1a4)](_0x11ad3a=>{const _0x2846f6=_0x2dbdf1,_0x104acc={'GBBHD':function(_0x7143dd,_0x226721){const _0x3a4fe0=a176_0x15fd;return _0x19c59c[_0x3a4fe0(0x1be)](_0x7143dd,_0x226721);},'ipscy':_0x19c59c[_0x2846f6(0x1d3)],'uTtig':function(_0x43b561,_0x48df7b){const _0x2b3878=_0x2846f6;return _0x19c59c[_0x2b3878(0x19f)](_0x43b561,_0x48df7b);},'xlwkQ':_0x19c59c[_0x2846f6(0x1ac)],'fPkha':_0x19c59c['UfceM'],'MhQkn':function(_0xfa45c,_0xa46a4d){return _0x19c59c['WUdlX'](_0xfa45c,_0xa46a4d);},'pFRii':_0x19c59c[_0x2846f6(0x1f6)],'lqPEg':function(_0x599f9e,_0x229d67){return _0x19c59c['RnmWY'](_0x599f9e,_0x229d67);},'WzWNd':_0x19c59c[_0x2846f6(0x1a9)],'ppQgs':function(_0x26df71){const _0x49ccb0=_0x2846f6;return _0x19c59c[_0x49ccb0(0x1d5)](_0x26df71);},'PvkQK':function(_0x56c50e,_0xa4b290){const _0x55df44=_0x2846f6;return _0x19c59c[_0x55df44(0x1d0)](_0x56c50e,_0xa4b290);},'VgtBX':function(_0x3584a9){return _0x19c59c['DsRCB'](_0x3584a9);}};logger['debug'](_0x2846f6(0x1e3)+util['format']('%j',_0x11ad3a));if(_0x19c59c[_0x2846f6(0x1f5)](_0x11ad3a,null)||_0x19c59c[_0x2846f6(0x19f)](_0x11ad3a[_0x2846f6(0x1d4)],0x0))return _0x19c59c[_0x2846f6(0x1d5)](_0xd2c1cc);const _0x392003=_0x11ad3a[_0x2846f6(0x19d)](_0x2a7382=>{const _0x543190=_0x2846f6,_0x11736a=_0x300a27[_0x543190(0x1c2)](_0x300a27[_0x543190(0x1ce)],_0x2a7382);return this[_0x543190(0x19a)](_0x823ed1,_0x11736a)[_0x543190(0x1a4)](_0x591348=>{const _0x32d2ec=_0x543190;if(_0x591348&&_0x591348[_0x32d2ec(0x1ba)]&&_0x104acc[_0x32d2ec(0x1a3)](_0x591348['latency'],undefined)){const _0x13efd5={};return _0x13efd5[_0x32d2ec(0x1ba)]=_0x591348['hubUrl'],_0x13efd5['latency']=_0x591348[_0x32d2ec(0x1c3)],_0x13efd5['ok']=!![],_0x13efd5;}const _0xd632be={};return _0xd632be[_0x32d2ec(0x1ba)]=_0x11736a,_0xd632be[_0x32d2ec(0x1c3)]=null,_0xd632be['ok']=![],_0xd632be;})[_0x543190(0x1ed)](()=>({'hubUrl':_0x11736a,'latency':null,'ok':![]}));});Promise[_0x2846f6(0x1e6)](_0x392003[_0x2846f6(0x19d)](_0x24a3b0=>_0x24a3b0[_0x2846f6(0x1a4)](_0x2d2339=>_0x2d2339['ok']?_0x2d2339:null)))[_0x2846f6(0x1a4)](_0x2fc5c0=>{if(_0x2fc5c0)return _0x2fc5c0;return Promise['all'](_0x392003)['then'](()=>null);})[_0x2846f6(0x1a4)](_0x2d3c79=>{const _0x4de1af=_0x2846f6;if(!_0x2d3c79){logger['debug'](_0x104acc['fPkha']);const _0x4002e3=_0x104acc['MhQkn'](_0x104acc['pFRii'],_0x11ad3a[0x0]);return globals[_0x4de1af(0x1f2)](_0x104acc[_0x4de1af(0x1f3)],{'nearestHubs':_0x11ad3a[_0x4de1af(0x19d)](_0x350cc1=>_0x4de1af(0x1d2)+_0x350cc1),'hubLatencies':{},'selectedHub':_0x4002e3,'selectedHubLatency':null,'fallback':!![],'timestamp':Date['now']()}),constants[_0x4de1af(0x1ba)]=_0x104acc[_0x4de1af(0x1c8)](_0x4002e3,_0x104acc[_0x4de1af(0x1e1)]),logger[_0x4de1af(0x1ae)](_0x4de1af(0x1ee)+_0x4002e3),_0x104acc[_0x4de1af(0x1cc)](_0xd2c1cc);}const _0x9eba8d={[_0x2d3c79['hubUrl']]:_0x2d3c79[_0x4de1af(0x1c3)]},_0x3ed402={'nearestHubs':_0x11ad3a['map'](_0x9e159b=>_0x4de1af(0x1d2)+_0x9e159b),'hubLatencies':_0x9eba8d,'selectedHub':_0x2d3c79['hubUrl'],'selectedHubLatency':_0x2d3c79[_0x4de1af(0x1c3)],'timestamp':Date[_0x4de1af(0x1d6)]()};globals[_0x4de1af(0x1f2)](_0x104acc[_0x4de1af(0x1f3)],_0x3ed402),constants['hubUrl']=_0x104acc['PvkQK'](_0x2d3c79[_0x4de1af(0x1ba)],_0x104acc['WzWNd']),logger['debug'](_0x4de1af(0x1af)+_0x2d3c79[_0x4de1af(0x1ba)]),_0x104acc['VgtBX'](_0xd2c1cc),Promise[_0x4de1af(0x1d8)](_0x392003)[_0x4de1af(0x1a4)](_0xf3f751=>{const _0x180dd4=_0x4de1af;try{const _0x1b35ca=globals['getGlobal'](_0x104acc[_0x180dd4(0x1f3)]);if(!_0x1b35ca||_0x1b35ca[_0x180dd4(0x1e9)])return;const _0x513465={};for(const _0x5d9cf3 of _0xf3f751){_0x104acc[_0x180dd4(0x1b2)](_0x5d9cf3[_0x180dd4(0x1f1)],_0x104acc[_0x180dd4(0x1d1)])&&_0x5d9cf3['value']&&_0x5d9cf3['value']['ok']&&(_0x513465[_0x5d9cf3[_0x180dd4(0x1c0)]['hubUrl']]=_0x5d9cf3['value'][_0x180dd4(0x1c3)]);}_0x1b35ca[_0x180dd4(0x1db)]=_0x513465;}catch(_0x58334f){logger[_0x180dd4(0x1ae)](_0x180dd4(0x1c5)+_0x58334f);}})[_0x4de1af(0x1ed)](_0x46830f=>{logger['debug']('ERROR\x20in\x20background\x20hub\x20enrichment:\x20'+_0x46830f);});})[_0x2846f6(0x1ed)](_0x33ccdb=>{const _0x46eac4=_0x2846f6;logger[_0x46eac4(0x1ae)](_0x46eac4(0x1bc)+_0x33ccdb),_0x300a27[_0x46eac4(0x1fb)](_0xd2c1cc);});})['catch'](_0x3fa73e=>{const _0x1479b3=_0x2dbdf1;logger[_0x1479b3(0x1ae)](_0x1479b3(0x1c9)+_0x3fa73e),_0x300a27[_0x1479b3(0x1fb)](_0xd2c1cc);});});},exports['findLatency']=async(_0x4ac382,_0x344a53)=>{const _0x1bb9e3=a176_0x221821,_0x44ff08={};_0x44ff08[_0x1bb9e3(0x1e2)]=_0x1bb9e3(0x1bb),_0x44ff08['HIiKq']=_0x1bb9e3(0x1dc),_0x44ff08[_0x1bb9e3(0x1ea)]=function(_0x335006,_0x46a5f0){return _0x335006-_0x46a5f0;};const _0x3ee434=_0x44ff08;try{const _0xf05a13=new Date();await helper[_0x1bb9e3(0x1fc)](_0x3ee434[_0x1bb9e3(0x1e2)],_0x3ee434[_0x1bb9e3(0x1c7)],{},_0x4ac382,_0x344a53,0x1388);const _0x28d29b=_0x3ee434[_0x1bb9e3(0x1ea)](new Date(),_0xf05a13);logger['debug'](_0x1bb9e3(0x1bd)+_0x344a53+_0x1bb9e3(0x1eb)+_0x28d29b+'ms');const _0x272502={};return _0x272502['hubUrl']=_0x344a53,_0x272502[_0x1bb9e3(0x1c3)]=_0x28d29b,_0x272502;}catch(_0xa74c0b){return logger[_0x1bb9e3(0x1ae)](_0x1bb9e3(0x1d9)+_0x344a53+_0x1bb9e3(0x1c1)+_0xa74c0b),{};}},exports['nextHubs']=async _0x1c3fbd=>{const _0x47dac2=a176_0x221821,_0x339ed0={'yrxYI':function(_0x4d5462,_0x1a7ad6){return _0x4d5462(_0x1a7ad6);},'GsBaR':_0x47dac2(0x1b3),'EWkHl':_0x47dac2(0x1b5),'PvNvZ':'GET','VcNqd':'next_hubs'};try{const _0x4eeda6=_0x339ed0[_0x47dac2(0x1cb)](require,_0x339ed0[_0x47dac2(0x1a5)])['hubUrl'][_0x47dac2(0x1e8)](_0x339ed0[_0x47dac2(0x1de)],''),_0x5f03be=await helper[_0x47dac2(0x1fc)](_0x339ed0['PvNvZ'],_0x339ed0['VcNqd'],{},_0x1c3fbd,_0x4eeda6,0x1388),_0x5b6753=_0x5f03be[_0x47dac2(0x1ef)];return logger['debug'](_0x47dac2(0x1d7)+util[_0x47dac2(0x1f8)]('%j',_0x5b6753)),_0x5b6753[_0x47dac2(0x1df)];}catch(_0x2b49fb){logger[_0x47dac2(0x1ae)](_0x47dac2(0x1b4)+_0x2b49fb);}return null;};
|
|
1
|
+
const a176_0x46f3b0=a176_0x4a57;(function(_0xbd9134,_0x57406e){const _0xdbd4b2=a176_0x4a57,_0x564126=_0xbd9134();while(!![]){try{const _0x50306d=parseInt(_0xdbd4b2(0x15f))/0x1+parseInt(_0xdbd4b2(0x17a))/0x2+-parseInt(_0xdbd4b2(0x14b))/0x3+parseInt(_0xdbd4b2(0x17b))/0x4*(-parseInt(_0xdbd4b2(0x174))/0x5)+-parseInt(_0xdbd4b2(0x147))/0x6+-parseInt(_0xdbd4b2(0x195))/0x7*(parseInt(_0xdbd4b2(0x1a3))/0x8)+parseInt(_0xdbd4b2(0x160))/0x9*(parseInt(_0xdbd4b2(0x184))/0xa);if(_0x50306d===_0x57406e)break;else _0x564126['push'](_0x564126['shift']());}catch(_0x59352b){_0x564126['push'](_0x564126['shift']());}}}(a176_0x440c,0x587fb));const url=require(a176_0x46f3b0(0x16a)),util=require(a176_0x46f3b0(0x14f)),helper=require(a176_0x46f3b0(0x16f)),logger=require('./helpers/logger')['winstonLogger'],constants=require(a176_0x46f3b0(0x140)),globals=require(a176_0x46f3b0(0x173));global['newHubUrlBySession']=global['newHubUrlBySession']||new Map(),exports['getRequestOptions']=_0x289a30=>{const _0x1de199=a176_0x46f3b0,_0x2fb5d3={};_0x2fb5d3[_0x1de199(0x161)]=function(_0x34e760,_0x385cf0){return _0x34e760+_0x385cf0;},_0x2fb5d3[_0x1de199(0x158)]='Invalid\x20new\x20HUB\x20URL:\x20';const _0x2ae0f5=_0x2fb5d3,_0x2022f2=url[_0x1de199(0x16b)](_0x289a30);if(!_0x2022f2[_0x1de199(0x15a)])throw new Error(_0x2ae0f5[_0x1de199(0x161)](_0x2ae0f5[_0x1de199(0x158)],_0x289a30));return _0x2022f2[_0x1de199(0x175)]=null,_0x2022f2[_0x1de199(0x13f)]=null,_0x2022f2[_0x1de199(0x170)]=_0x2022f2[_0x1de199(0x176)],_0x2022f2;},exports[a176_0x46f3b0(0x150)]=(_0x4e1a3d,_0x2c299d)=>{const _0x47b169=a176_0x46f3b0,_0x51dcd1={};_0x51dcd1[_0x47b169(0x189)]=_0x47b169(0x13b);const _0x3b3648=_0x51dcd1;if(!_0x2c299d){logger[_0x47b169(0x13c)](_0x3b3648['VMeCT']);return;}global[_0x47b169(0x177)][_0x47b169(0x197)](_0x2c299d,_0x4e1a3d);},exports[a176_0x46f3b0(0x15d)]=_0x52c91e=>{const _0x41a8fd=a176_0x46f3b0;if(_0x52c91e&&global[_0x41a8fd(0x177)][_0x41a8fd(0x1a1)](_0x52c91e)){const _0x2b5c0d=global[_0x41a8fd(0x177)][_0x41a8fd(0x19c)](_0x52c91e);return global[_0x41a8fd(0x177)][_0x41a8fd(0x18c)](_0x52c91e),_0x2b5c0d;}return'';},exports['allocateHub']=_0x63c18d=>{const _0x2f53e9=a176_0x46f3b0,_0x3a5a3e={'dXuqD':function(_0xabd1c7,_0x115eb0){return _0xabd1c7!==_0x115eb0;},'XtmDM':function(_0x2a2c3b,_0x5c7e8e){return _0x2a2c3b+_0x5c7e8e;},'wdHJe':'https://','KsCpO':_0x2f53e9(0x187),'NcEaT':function(_0x17b6b3,_0x35f31f){return _0x17b6b3===_0x35f31f;},'Xogei':_0x2f53e9(0x155),'iximA':_0x2f53e9(0x18f),'WZWNv':function(_0x3825a3,_0x2d630e){return _0x3825a3+_0x2d630e;},'muxHv':_0x2f53e9(0x162),'ZLYui':function(_0x18413d){return _0x18413d();},'LdhtE':function(_0x16cdc9,_0x1fa731){return _0x16cdc9+_0x1fa731;},'WcTzi':function(_0x4c8c15){return _0x4c8c15();},'NXFLp':function(_0x34c54f,_0x30cd41){return _0x34c54f==_0x30cd41;},'puHsx':function(_0x2df37a,_0x145d8e){return _0x2df37a===_0x145d8e;}};return new Promise(_0x3b3adb=>{const _0x5ac75e=_0x2f53e9,_0x235120={'YTzMB':function(_0x3a1047,_0x451888){const _0x2eae68=a176_0x4a57;return _0x3a5a3e[_0x2eae68(0x191)](_0x3a1047,_0x451888);},'OylVV':function(_0x4946db,_0x5b1da8){const _0x36cd57=a176_0x4a57;return _0x3a5a3e[_0x36cd57(0x190)](_0x4946db,_0x5b1da8);},'bmvEn':_0x3a5a3e[_0x5ac75e(0x167)],'YicEa':_0x3a5a3e[_0x5ac75e(0x169)],'wKTCt':function(_0x5accc2,_0x593fdc){return _0x3a5a3e['NcEaT'](_0x5accc2,_0x593fdc);},'rurMI':_0x3a5a3e[_0x5ac75e(0x163)],'oQpqh':_0x3a5a3e['iximA'],'jCCys':function(_0x4d54c4,_0x2a44e4){const _0x59f638=_0x5ac75e;return _0x3a5a3e[_0x59f638(0x199)](_0x4d54c4,_0x2a44e4);},'oBdlw':function(_0x3afec7,_0x2a5ba6){return _0x3a5a3e['XtmDM'](_0x3afec7,_0x2a5ba6);},'bFrFB':_0x3a5a3e[_0x5ac75e(0x14a)],'naVLX':function(_0x14b763){const _0x38bace=_0x5ac75e;return _0x3a5a3e[_0x38bace(0x172)](_0x14b763);},'fUKvd':function(_0x437549,_0x632536){const _0x4ec7cd=_0x5ac75e;return _0x3a5a3e[_0x4ec7cd(0x153)](_0x437549,_0x632536);},'OJkJq':function(_0xff71b3){const _0x2f3794=_0x5ac75e;return _0x3a5a3e[_0x2f3794(0x182)](_0xff71b3);},'oxhsX':function(_0x56b6be,_0x5e810f){const _0x253085=_0x5ac75e;return _0x3a5a3e[_0x253085(0x15e)](_0x56b6be,_0x5e810f);},'AEDAq':function(_0x2604a3,_0x59abae){const _0x9e8650=_0x5ac75e;return _0x3a5a3e[_0x9e8650(0x15c)](_0x2604a3,_0x59abae);}};if(_0x63c18d&&_0x63c18d['hubRegion']){const _0x45d146=constants['HUB_URL_MAP'][_0x63c18d['hubRegion']];if(_0x45d146)return constants[_0x5ac75e(0x168)]=_0x45d146,logger[_0x5ac75e(0x13c)](_0x5ac75e(0x19e)+_0x45d146),globals[_0x5ac75e(0x166)](_0x3a5a3e[_0x5ac75e(0x169)],{'nearestHubs':[],'hubLatencies':{},'selectedHub':_0x45d146['replace'](/\/wd\/hub$/,''),'selectedHubLatency':null,'timestamp':Date['now']()}),_0x3a5a3e[_0x5ac75e(0x172)](_0x3b3adb);logger['debug']('hubRegion\x20'+_0x63c18d[_0x5ac75e(0x143)]+_0x5ac75e(0x17e));}Promise[_0x5ac75e(0x19b)](this[_0x5ac75e(0x1a6)](_0x63c18d))['then'](_0x9c6006=>{const _0x2a8180=_0x5ac75e,_0x17acaa={'gsKcj':function(_0x3011d5){return _0x235120['naVLX'](_0x3011d5);}};logger[_0x2a8180(0x13c)](_0x2a8180(0x14d)+util[_0x2a8180(0x178)]('%j',_0x9c6006));if(_0x235120[_0x2a8180(0x194)](_0x9c6006,null)||_0x235120['AEDAq'](_0x9c6006[_0x2a8180(0x1a5)],0x0))return _0x235120[_0x2a8180(0x14c)](_0x3b3adb);const _0x2f64cc=_0x9c6006[_0x2a8180(0x186)](_0xf1c5ff=>{const _0x51c030=_0x2a8180,_0x5dea15={'TizZj':function(_0x4b876c,_0x3515cf){const _0xed258b=a176_0x4a57;return _0x235120[_0xed258b(0x16e)](_0x4b876c,_0x3515cf);}},_0xdfeed3=_0x235120[_0x51c030(0x196)](_0x235120[_0x51c030(0x188)],_0xf1c5ff);return this[_0x51c030(0x16c)](_0x63c18d,_0xdfeed3)[_0x51c030(0x1a0)](_0xa12782=>{const _0x1666bf=_0x51c030;if(_0xa12782&&_0xa12782[_0x1666bf(0x168)]&&_0x5dea15[_0x1666bf(0x193)](_0xa12782['latency'],undefined)){const _0x2fd1a5={};return _0x2fd1a5[_0x1666bf(0x168)]=_0xa12782[_0x1666bf(0x168)],_0x2fd1a5[_0x1666bf(0x19a)]=_0xa12782['latency'],_0x2fd1a5['ok']=!![],_0x2fd1a5;}const _0x3761da={};return _0x3761da[_0x1666bf(0x168)]=_0xdfeed3,_0x3761da[_0x1666bf(0x19a)]=null,_0x3761da['ok']=![],_0x3761da;})[_0x51c030(0x17f)](()=>({'hubUrl':_0xdfeed3,'latency':null,'ok':![]}));});Promise[_0x2a8180(0x13e)](_0x2f64cc[_0x2a8180(0x186)](_0x402f84=>_0x402f84[_0x2a8180(0x1a0)](_0x21f6ca=>_0x21f6ca['ok']?_0x21f6ca:null)))[_0x2a8180(0x1a0)](_0x357879=>{const _0x815817=_0x2a8180;if(_0x357879)return _0x357879;return Promise[_0x815817(0x181)](_0x2f64cc)[_0x815817(0x1a0)](()=>null);})[_0x2a8180(0x1a0)](_0x318dce=>{const _0x51229a=_0x2a8180,_0x14fbbf={'AmzzY':_0x235120[_0x51229a(0x18e)],'HkBac':function(_0x4ce1d1,_0x1b9e98){const _0x212ad9=_0x51229a;return _0x235120[_0x212ad9(0x148)](_0x4ce1d1,_0x1b9e98);},'ThcKf':_0x235120[_0x51229a(0x159)]};if(!_0x318dce){logger[_0x51229a(0x13c)](_0x235120['oQpqh']);const _0x13949d=_0x235120[_0x51229a(0x164)](_0x235120[_0x51229a(0x188)],_0x9c6006[0x0]);return globals[_0x51229a(0x166)](_0x235120['YicEa'],{'nearestHubs':_0x9c6006[_0x51229a(0x186)](_0x3dff13=>'https://'+_0x3dff13),'hubLatencies':{},'selectedHub':_0x13949d,'selectedHubLatency':null,'fallback':!![],'timestamp':Date['now']()}),constants['hubUrl']=_0x235120['oBdlw'](_0x13949d,_0x235120[_0x51229a(0x156)]),logger[_0x51229a(0x13c)](_0x51229a(0x185)+_0x13949d),_0x235120[_0x51229a(0x14c)](_0x3b3adb);}const _0x2666e4={[_0x318dce[_0x51229a(0x168)]]:_0x318dce[_0x51229a(0x19a)]},_0x151491={'nearestHubs':_0x9c6006[_0x51229a(0x186)](_0x4ee940=>_0x51229a(0x144)+_0x4ee940),'hubLatencies':_0x2666e4,'selectedHub':_0x318dce['hubUrl'],'selectedHubLatency':_0x318dce['latency'],'timestamp':Date['now']()};globals['setGlobal'](_0x235120[_0x51229a(0x18e)],_0x151491),constants[_0x51229a(0x168)]=_0x235120[_0x51229a(0x15b)](_0x318dce['hubUrl'],_0x235120['bFrFB']),logger[_0x51229a(0x13c)]('HUB\x20URL\x20SET\x20TO\x20-\x20'+_0x318dce['hubUrl']),_0x235120[_0x51229a(0x1a2)](_0x3b3adb),Promise[_0x51229a(0x179)](_0x2f64cc)['then'](_0x9f1a15=>{const _0x1b2ebe=_0x51229a;try{const _0x263f5e=globals[_0x1b2ebe(0x151)](_0x14fbbf[_0x1b2ebe(0x180)]);if(!_0x263f5e||_0x263f5e[_0x1b2ebe(0x13d)])return;const _0x5dde5b={};for(const _0x2b382b of _0x9f1a15){_0x14fbbf[_0x1b2ebe(0x157)](_0x2b382b[_0x1b2ebe(0x13a)],_0x14fbbf['ThcKf'])&&_0x2b382b[_0x1b2ebe(0x149)]&&_0x2b382b[_0x1b2ebe(0x149)]['ok']&&(_0x5dde5b[_0x2b382b[_0x1b2ebe(0x149)][_0x1b2ebe(0x168)]]=_0x2b382b['value'][_0x1b2ebe(0x19a)]);}_0x263f5e[_0x1b2ebe(0x141)]=_0x5dde5b;}catch(_0xd0c1bf){logger[_0x1b2ebe(0x13c)]('ERROR\x20enriching\x20_hubAllocationData.hubLatencies\x20in\x20background:\x20'+_0xd0c1bf);}})[_0x51229a(0x17f)](_0x4bcec5=>{const _0x4ac4b3=_0x51229a;logger['debug'](_0x4ac4b3(0x18b)+_0x4bcec5);});})['catch'](_0x180c3d=>{const _0x3be22e=_0x2a8180;logger[_0x3be22e(0x13c)](_0x3be22e(0x16d)+_0x180c3d),_0x17acaa[_0x3be22e(0x192)](_0x3b3adb);});})[_0x5ac75e(0x17f)](_0x2d751c=>{const _0x9dd3f9=_0x5ac75e;logger[_0x9dd3f9(0x13c)]('CANNOT\x20ALLOCATE\x20NEAREST\x20HUB\x20-\x20'+_0x2d751c),_0x235120['OJkJq'](_0x3b3adb);});});},exports[a176_0x46f3b0(0x16c)]=async(_0x544420,_0x1e02b0)=>{const _0xf002ad=a176_0x46f3b0,_0x3f67d9={};_0x3f67d9[_0xf002ad(0x152)]=_0xf002ad(0x17d),_0x3f67d9[_0xf002ad(0x171)]='check',_0x3f67d9[_0xf002ad(0x1a4)]=function(_0x4ca7c1,_0x26ca95){return _0x4ca7c1-_0x26ca95;};const _0x1645da=_0x3f67d9;try{const _0x5c7564=new Date();await helper['nodeRequest'](_0x1645da[_0xf002ad(0x152)],_0x1645da[_0xf002ad(0x171)],{},_0x544420,_0x1e02b0,0x1388);const _0x4e4b01=_0x1645da[_0xf002ad(0x1a4)](new Date(),_0x5c7564);logger[_0xf002ad(0x13c)](_0xf002ad(0x142)+_0x1e02b0+_0xf002ad(0x14e)+_0x4e4b01+'ms');const _0x27f5cf={};return _0x27f5cf['hubUrl']=_0x1e02b0,_0x27f5cf[_0xf002ad(0x19a)]=_0x4e4b01,_0x27f5cf;}catch(_0x207a5c){return logger[_0xf002ad(0x13c)](_0xf002ad(0x154)+_0x1e02b0+_0xf002ad(0x17c)+_0x207a5c),{};}},exports[a176_0x46f3b0(0x1a6)]=async _0x2da3e2=>{const _0x274cce=a176_0x46f3b0,_0x4cc316={'opYkJ':function(_0x3dfec6,_0x5d74c4){return _0x3dfec6(_0x5d74c4);},'eyKYZ':_0x274cce(0x140),'LhReq':_0x274cce(0x162),'BBVRE':_0x274cce(0x17d),'ipVbD':_0x274cce(0x19f)};try{const _0x587cab=_0x4cc316[_0x274cce(0x18d)](require,_0x4cc316[_0x274cce(0x165)])['hubUrl'][_0x274cce(0x198)](_0x4cc316[_0x274cce(0x19d)],''),_0x5501b5=await helper[_0x274cce(0x145)](_0x4cc316[_0x274cce(0x146)],_0x4cc316['ipVbD'],{},_0x2da3e2,_0x587cab,0x1388),_0x3b65fb=_0x5501b5['data'];return logger[_0x274cce(0x13c)]('Response:\x20'+util[_0x274cce(0x178)]('%j',_0x3b65fb)),_0x3b65fb[_0x274cce(0x183)];}catch(_0x19f594){logger[_0x274cce(0x13c)](_0x274cce(0x18a)+_0x19f594);}return null;};function a176_0x4a57(_0x4884f7,_0x1d20e4){const _0x440ce0=a176_0x440c();return a176_0x4a57=function(_0x4a57e2,_0x52290c){_0x4a57e2=_0x4a57e2-0x13a;let _0xaac6e6=_0x440ce0[_0x4a57e2];return _0xaac6e6;},a176_0x4a57(_0x4884f7,_0x1d20e4);}function a176_0x440c(){const _0x52f7da=['./helpers/helper','path','qBgYa','ZLYui','./helpers/globals','215JsOJnc','search','pathname','newHubUrlBySession','format','allSettled','333684OFwYhQ','12088lQVfhq','\x20HUB\x20-\x20','GET','\x20not\x20found\x20in\x20HUB_URL_MAP,\x20falling\x20back\x20to\x20dynamic\x20hub\x20detection','catch','AmzzY','all','WcTzi','hubs','590Lcsvfn','HUB\x20URL\x20SET\x20TO\x20(fallback)\x20-\x20','map','_hubAllocationData','bmvEn','VMeCT','ERROR\x20IN\x20GETTING\x20RESPONSE\x20FROM\x20NEXT\x20HUBS:\x20','ERROR\x20in\x20background\x20hub\x20enrichment:\x20','delete','opYkJ','YicEa','All\x20hub\x20latency\x20checks\x20failed,\x20falling\x20back\x20to\x20first\x20hub','XtmDM','dXuqD','gsKcj','TizZj','oxhsX','1904gBDqIL','OylVV','set','replace','WZWNv','latency','resolve','get','LhReq','HUB\x20URL\x20SET\x20TO\x20(from\x20hubRegion)\x20-\x20','next_hubs','then','has','OJkJq','8264uYckAd','rTKYi','length','nextHubs','status','updateHubUrl\x20called\x20without\x20a\x20session\x20ID;\x20skipping\x20hub-URL\x20store\x20to\x20avoid\x20cross-session\x20misrouting','debug','skipped','race','hash','./bin/utils/constants','hubLatencies','Execution\x20time\x20for\x20','hubRegion','https://','nodeRequest','BBVRE','3870672PRwjhn','wKTCt','value','muxHv','1132905pZCgkt','naVLX','NEAREST\x20HUBS\x20LIST:\x20','\x20is:\x20','util','updateHubUrl','getGlobal','RacGW','LdhtE','ERROR\x20IN\x20FINDING\x20LATENCY\x20FOR\x20','fulfilled','bFrFB','HkBac','FgKsf','rurMI','hostname','fUKvd','puHsx','consumeHubUrlForSession','NXFLp','31126BvjQwU','243792PngZat','bolsm','/wd/hub','Xogei','jCCys','eyKYZ','setGlobal','wdHJe','hubUrl','KsCpO','url','parse','findLatency','ERROR\x20in\x20hub\x20selection:\x20','YTzMB'];a176_0x440c=function(){return _0x52f7da;};return a176_0x440c();}
|